@dyedurham/search-and-file-widget 2.0.84 → 2.0.85

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -56266,6 +56266,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
56266
56266
  TaskType2["Amendments"] = "Amendments";
56267
56267
  TaskType2["ChangeOfCompanyName"] = "Change of Company Name";
56268
56268
  TaskType2["ChangeOfAddress"] = "Change of Address";
56269
+ TaskType2["ChangeOfSharedAddress"] = "Change of Shared Address";
56269
56270
  TaskType2["ChangeOfPrincipals"] = "Change of Principals";
56270
56271
  TaskType2["RegistrationCompliance"] = "Registration Compliance";
56271
56272
  TaskType2["Continuance"] = "Continuance";
@@ -57884,7 +57885,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
57884
57885
 
57885
57886
  // src/app/utils/common.utils.ts
57886
57887
  function buildValidationError(httpStatus, r) {
57887
- const msgs = (r.Errors ?? r.errors ?? []).map((e) => e.ErrorMessage || e.Message || e.message || e.Code || JSON.stringify(e)).filter(Boolean);
57888
+ const msgs = (r.Errors ?? []).map((e) => e.ErrorMessage || e.Message || e.message || e.Code || JSON.stringify(e)).filter(Boolean);
57888
57889
  const status = r.Status ? String(r.Status) : "ValidationFailed";
57889
57890
  return new Error(msgs.length ? `eCore validation failed (HTTP ${httpStatus}, ${status}): ${msgs.join(" | ")}` : `eCore validation failed (HTTP ${httpStatus}, ${status}).`);
57890
57891
  }
@@ -57994,9 +57995,6 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
57994
57995
  function isPrincipalAffiliation2(affiliation) {
57995
57996
  return affiliation.kind === "PrincipalAffiliationV3";
57996
57997
  }
57997
- function getIndividualDirectors(affiliations) {
57998
- return affiliations.filter((a) => isPrincipalAffiliation2(a) && a.role?.role_name === "Director" && a._participant?.participant_type === "person");
57999
- }
58000
57998
  function getAddressComponent(address, componentName) {
58001
57999
  if (!address)
58002
58000
  return "";
@@ -58088,6 +58086,9 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
58088
58086
  function isChangeOfPrincipalsTask(task) {
58089
58087
  return task?._taskType === TaskType.ChangeOfPrincipals;
58090
58088
  }
58089
+ function isChangeOfAddressTask(task) {
58090
+ return task?._taskType === TaskType.ChangeOfSharedAddress || task?._taskType === TaskType.ChangeOfAddress;
58091
+ }
58091
58092
  function isBritishColumbiaTask(task) {
58092
58093
  return task.entity._compliance.home_jurisdiction === "British Columbia";
58093
58094
  }
@@ -58108,13 +58109,13 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
58108
58109
  function isAnnualReturnTask(task) {
58109
58110
  return task?._taskType === TaskType.AnnualCompliance;
58110
58111
  }
58111
- function getFilingProvider(task) {
58112
- return task && !isOntarioTask(task) ? "federal" : "obr";
58113
- }
58114
58112
  function getSearchOrFilingType(task) {
58115
58113
  if (!task) {
58116
58114
  return void 0;
58117
58115
  }
58116
+ if (isChangeOfAddressTask(task) && isBritishColumbiaTask(task)) {
58117
+ return "bcChangeOfOfficeAddresses";
58118
+ }
58118
58119
  const prefix = isOntarioTask(task) ? "ontario" : isBritishColumbiaTask(task) ? "bc" : "federal";
58119
58120
  if (isFormationTask2(task)) {
58120
58121
  return `${prefix}Incorporation`;
@@ -58129,7 +58130,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
58129
58130
  return `${prefix}AnnualReturn`;
58130
58131
  }
58131
58132
  if (isChangeOfPrincipalsTask(task)) {
58132
- return prefix === "bc" ? "bcChangeOfDirectors" : `${prefix}NoticeOfChangeOfDirectors`;
58133
+ return `${prefix}NoticeOfChangeOfDirectors`;
58133
58134
  }
58134
58135
  return void 0;
58135
58136
  }
@@ -58235,7 +58236,13 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
58235
58236
  return incorporator.type?.toLowerCase() === "entity" ? `${incorporator.signatory_first_name} ${incorporator.signatory_last_name} (${incorporator.signatory_title}, ${incorporator.incorporator_name})` : `${incorporator.firstName} ${incorporator.middleName} ${incorporator.lastName}`;
58236
58237
  }
58237
58238
  function getIndividualWithSignificantControl(affiliations) {
58238
- return affiliations.filter((a) => a.kind === "ShareholderAffiliationV3" && a._participant.participant_type === "person");
58239
+ return affiliations.filter((a) => {
58240
+ const isPerson = a._participant.participant_type === "person";
58241
+ const roleName = a.role?.role_name;
58242
+ const staticTitle = a.role?.static_title;
58243
+ const isSignificantControl = a.kind === "ShareholderAffiliationV3" || a.is_beneficial_owner || roleName === "Ultimate Beneficial Owner" || staticTitle === "Ultimate Beneficial Owner";
58244
+ return isPerson && isSignificantControl;
58245
+ });
58239
58246
  }
58240
58247
  function normalizeSupportingDocuments(value) {
58241
58248
  if (!Array.isArray(value)) {
@@ -61003,10 +61010,10 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
61003
61010
  this._inputElement.nativeElement.focus();
61004
61011
  }
61005
61012
  /** Creates the change event that will be emitted by the checkbox. */
61006
- _createChangeEvent(isChecked) {
61013
+ _createChangeEvent(isChecked2) {
61007
61014
  const event = new MatCheckboxChange();
61008
61015
  event.source = this;
61009
- event.checked = isChecked;
61016
+ event.checked = isChecked2;
61010
61017
  return event;
61011
61018
  }
61012
61019
  /** Gets the element on which to add the animation CSS classes. */
@@ -80562,7 +80569,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
80562
80569
  MatRadioButton,
80563
80570
  TranslatePipe,
80564
80571
  CheckboxListComponent
80565
- ], styles: ['\n\n[_nghost-%COMP%] {\n overflow: hidden;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] {\n display: grid;\n grid-template-columns: repeat(12, 1fr);\n column-gap: 16px;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .mat-mdc-select {\n display: flex;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .mdc-checkbox__background {\n border: 3px solid #6a6c6f;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .filling-form-fields-radio {\n display: flex;\n flex-direction: column;\n gap: 8px;\n padding-bottom: 8px;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .filling-form-fields-radio-group {\n display: flex;\n flex-wrap: wrap;\n column-gap: 24px;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .filling-form-fields-radio .mdc-form-field > label {\n padding-left: 0;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .mat-mdc-select-arrow-wrapper {\n display: none;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .suffix-container {\n display: flex;\n align-items: center;\n padding-right: 12px;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .mat-mdc-form-field-icon-suffix {\n display: flex;\n align-items: center;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .mat-mdc-form-field-icon-suffix .mat-icon {\n display: flex;\n align-items: center;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .arrow-icon {\n pointer-events: none;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .mat-mdc-form-field-infix {\n display: flex !important;\n font-size: 14px !important;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .mat-mdc-select-value-text {\n font-size: 14px !important;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .mat-mdc-select-value {\n font-size: 14px !important;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .mdc-label {\n font-size: 14px !important;\n}\n[_nghost-%COMP%] .filling-form-fields-checkbox[_ngcontent-%COMP%] {\n display: flex;\n flex-direction: column;\n justify-content: center;\n line-height: 2rem;\n}\n[_nghost-%COMP%] .filling-form-fields-checkbox[_ngcontent-%COMP%]:not(.last) {\n padding-bottom: 16px;\n}\n[_nghost-%COMP%] .filling-form-fields-checkbox-text[_ngcontent-%COMP%] {\n display: flex;\n align-items: center;\n gap: 8px;\n line-height: 20px;\n color: var(--filing-modal-color-grey);\n}\n[_nghost-%COMP%] .filling-form-fields-empty[_ngcontent-%COMP%] {\n width: 100%;\n height: 80px;\n}\n[_nghost-%COMP%] .filling-form-fields-item[_ngcontent-%COMP%] {\n --mat-sys-primary: #6b6f76;\n --mat-sys-primary-container: #e4e5e8;\n --mat-sys-surface-tint: #6b6f76;\n --mat-sys-outline: #c7c9cf;\n --mat-sys-outline-variant: #dfe1e6;\n --mdc-icon-button-state-layer-size: 36px;\n display: flex;\n flex-direction: column;\n gap: 4px;\n}\n[_nghost-%COMP%] .filling-form-fields-item.text-area[_ngcontent-%COMP%] .mat-mdc-text-field-wrapper {\n padding: 0 !important;\n}\n[_nghost-%COMP%] .filling-form-fields-item.text-area[_ngcontent-%COMP%] .mat-mdc-input-element {\n padding: 0 12px;\n min-height: 230px !important;\n max-height: 230px !important;\n}\n[_nghost-%COMP%] .filling-form-fields-item-text[_ngcontent-%COMP%] {\n font-size: 14px !important;\n}\n[_nghost-%COMP%] .filling-form-fields-item-text[_ngcontent-%COMP%]:not(.last) {\n padding-bottom: 16px;\n}\n[_nghost-%COMP%] .filling-form-fields-item-hint[_ngcontent-%COMP%] {\n display: flex;\n align-items: center;\n font-size: 12px;\n}\n[_nghost-%COMP%] .filling-form-fields-item.warning[_ngcontent-%COMP%] {\n --mdc-outlined-text-field-outline-color: #845400;\n --mdc-outlined-text-field-outline-width: 2px;\n --mat-sys-on-surface: #845400;\n color: #845400;\n padding-bottom: 16px;\n}\n[_nghost-%COMP%] .filling-form-fields-item-label[_ngcontent-%COMP%] {\n color: var(--filing-modal-color-grey);\n}\n[_nghost-%COMP%] .filling-form-fields-item-label.warning[_ngcontent-%COMP%] {\n color: #845400;\n}\n[_nghost-%COMP%] .filling-form-fields-item-info[_ngcontent-%COMP%] {\n position: relative;\n display: inline-flex;\n align-items: center;\n margin-left: 6px;\n vertical-align: middle;\n}\n[_nghost-%COMP%] .filling-form-fields-item-info[_ngcontent-%COMP%] .mat-icon[_ngcontent-%COMP%] {\n width: 18px;\n height: 18px;\n font-size: 18px;\n line-height: 18px;\n color: #0b70d9 !important;\n}\n[_nghost-%COMP%] .filling-form-fields-item-info[_ngcontent-%COMP%]:hover .filling-form-fields-item-info-tooltip[_ngcontent-%COMP%], \n[_nghost-%COMP%] .filling-form-fields-item-info[_ngcontent-%COMP%]:focus .filling-form-fields-item-info-tooltip[_ngcontent-%COMP%] {\n display: flex;\n}\n[_nghost-%COMP%] .filling-form-fields-item-info.dismissed[_ngcontent-%COMP%] .filling-form-fields-item-info-tooltip[_ngcontent-%COMP%] {\n display: none;\n}\n[_nghost-%COMP%] .filling-form-fields-item-info-tooltip[_ngcontent-%COMP%] {\n position: absolute;\n z-index: 10;\n top: -12px;\n left: 28px;\n display: none;\n width: 220px;\n flex-direction: column;\n gap: 8px;\n padding: 16px 18px;\n border: 1px solid #d8dbe1;\n border-radius: 8px;\n background: #f5f6f8;\n box-shadow: 0 2px 8px rgba(0, 0, 0, 0.24);\n color: #2f343b;\n line-height: 20px;\n white-space: normal;\n}\n[_nghost-%COMP%] .filling-form-fields-item-hint.warning[_ngcontent-%COMP%] {\n color: #845400;\n}\n[_nghost-%COMP%] .filling-form-fields-item-icon[_ngcontent-%COMP%] {\n font-size: 22px;\n line-height: 22px;\n height: 22px;\n width: 22px;\n}\n[_nghost-%COMP%] .filling-form-fields-item-icon.warning[_ngcontent-%COMP%] {\n color: #845400;\n}\n[_nghost-%COMP%] .filling-form-fields.submitted[_ngcontent-%COMP%] .mat-mdc-checkbox.ng-invalid .mdc-checkbox__background {\n border-color: #E22222 !important;\n}\n[_nghost-%COMP%] .filling-form-fields.submitted[_ngcontent-%COMP%] .mat-form-field-invalid {\n padding: 0 0 12px;\n}\n[_nghost-%COMP%] .filling-form-fields.submitted[_ngcontent-%COMP%] .mat-form-field-invalid .mdc-notched-outline__leading {\n border-color: #ff3e3e !important;\n}\n[_nghost-%COMP%] .filling-form-fields.submitted[_ngcontent-%COMP%] .mat-form-field-invalid .mdc-notched-outline__trailing {\n border-color: #E22222 !important;\n}\n[_nghost-%COMP%] .filling-form-fields.submitted[_ngcontent-%COMP%] .mat-form-field-invalid .mat-datepicker-toggle-default-icon {\n color: #E22222 !important;\n}\n[_nghost-%COMP%] .filling-form-fields.submitted[_ngcontent-%COMP%] .mat-form-field-invalid .mat-mdc-form-field-error-wrapper {\n padding: 0;\n}\n[_nghost-%COMP%] .filling-form-fields.submitted[_ngcontent-%COMP%] .mat-form-field-invalid .mat-mdc-form-field-error {\n color: #E22222 !important;\n font-size: 12px;\n font-family: "Open Sans";\n}\n[_nghost-%COMP%] .filling-form-fields.submitted[_ngcontent-%COMP%] .mat-form-field-invalid .mat-mdc-select-arrow {\n color: #E22222 !important;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%]:not(.submitted) .mat-icon {\n color: #4a4a4a !important;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%]:not(.submitted) .mdc-notched-outline__leading {\n border-color: #d6d6d6 !important;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%]:not(.submitted) .mdc-notched-outline__trailing {\n border-color: #d6d6d6 !important;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%]:not(.submitted) .mat-datepicker-toggle-default-icon {\n color: #4a4a4a !important;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%]:not(.submitted) .mat-mdc-form-field-error {\n display: none;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%]:not(.submitted) .mat-mdc-select-arrow {\n color: #d6d6d6 !important;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] {\n --mat-form-field-container-vertical-padding: 6px;\n --mat-form-field-container-height: 36px;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .mat-mdc-select-value {\n line-height: 18px;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] input, \n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] textarea {\n font-family: "Open Sans";\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .mat-mdc-select-value-text {\n font-family: "Open Sans";\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .mdc-text-field--disabled {\n background-color: #F5F5F5 !important;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .mdc-notched-outline__leading {\n border-width: 1px !important;\n border-color: #d6d6d6 !important;\n border-top-left-radius: 8px;\n border-bottom-left-radius: 8px;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .mdc-notched-outline__trailing {\n border-width: 1px !important;\n border-color: #d6d6d6 !important;\n border-top-right-radius: 8px;\n border-bottom-right-radius: 8px;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .mdc-icon-button .mat-icon {\n display: flex !important;\n align-items: center !important;\n justify-content: center !important;\n}\n[_nghost-%COMP%] .span-1[_ngcontent-%COMP%] {\n grid-column: span 1;\n}\n[_nghost-%COMP%] .span-2[_ngcontent-%COMP%] {\n grid-column: span 2;\n}\n[_nghost-%COMP%] .span-3[_ngcontent-%COMP%] {\n grid-column: span 3;\n}\n[_nghost-%COMP%] .span-4[_ngcontent-%COMP%] {\n grid-column: span 4;\n}\n[_nghost-%COMP%] .span-5[_ngcontent-%COMP%] {\n grid-column: span 5;\n}\n[_nghost-%COMP%] .span-6[_ngcontent-%COMP%] {\n grid-column: span 6;\n}\n[_nghost-%COMP%] .span-8[_ngcontent-%COMP%] {\n grid-column: span 8;\n}\n[_nghost-%COMP%] .span-12[_ngcontent-%COMP%] {\n grid-column: span 12;\n}\n[_nghost-%COMP%] .column-1[_ngcontent-%COMP%] {\n grid-column: 1/span 2;\n}\n[_nghost-%COMP%] .column-2[_ngcontent-%COMP%] {\n grid-column: 1/span 4;\n}\n[_nghost-%COMP%] .column-3[_ngcontent-%COMP%] {\n grid-column: 1/span 6;\n}\n[_nghost-%COMP%] .epl-readonly-field[_ngcontent-%COMP%] {\n display: flex;\n flex-direction: column;\n gap: 4px;\n}\n[_nghost-%COMP%] .beside-select[_ngcontent-%COMP%] {\n align-self: end;\n display: flex;\n align-items: center;\n min-height: 60px;\n margin: 0;\n}\n[_nghost-%COMP%] .spaced-text[_ngcontent-%COMP%] {\n margin: 8px 0;\n}\n[_nghost-%COMP%] .fee-warning[_ngcontent-%COMP%] {\n display: flex;\n align-items: center;\n gap: 8px;\n margin: 8px 0;\n padding: 8px 12px !important;\n border: 1px solid #f0d78c;\n border-radius: 4px;\n background-color: #fff8e1;\n color: #845400;\n font-size: 12px !important;\n}\n[_nghost-%COMP%] .fee-warning[_ngcontent-%COMP%]::before {\n content: "!";\n flex: none;\n width: 12px;\n height: 12px;\n border: 1px solid #845400;\n border-radius: 50%;\n font-size: 9px;\n font-weight: 700;\n line-height: 12px;\n text-align: center;\n}\n[_nghost-%COMP%] .epl-info-panel-field[_ngcontent-%COMP%] {\n container-type: inline-size;\n}\n[_nghost-%COMP%] input {\n font-size: 14px !important;\n color: var(--filing-modal-color-grey) !important;\n}\n[_nghost-%COMP%] .epl-readonly-value {\n display: flex;\n align-items: center;\n min-height: 36px;\n padding: 0 16px;\n border: 1px solid #F5F5F5;\n border-radius: 8px;\n background-color: #F5F5F5;\n overflow-wrap: anywhere;\n}\n[_nghost-%COMP%] .epl-info-panel {\n display: grid;\n grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr);\n column-gap: 16px;\n row-gap: 12px;\n padding: 12px;\n border-radius: 8px;\n background-color: #F5F5F5;\n}\n[_nghost-%COMP%] .epl-info-panel-item {\n display: flex;\n flex-direction: column;\n gap: 2px;\n}\n@container (max-width: 560px) {\n [_nghost-%COMP%] .epl-info-panel {\n grid-template-columns: minmax(0, 1fr);\n }\n}\n.filing-form-group-select-option[_ngcontent-%COMP%] {\n background: white !important;\n}\n.filing-form-group-select-option[_ngcontent-%COMP%] .mat-pseudo-checkbox-checked {\n background: transparent !important;\n}\n.filing-form-group-select-option[_ngcontent-%COMP%] .mdc-list-item__primary-text {\n font-family: "Open Sans";\n font-size: 14px !important;\n}\n/*# sourceMappingURL=filing-form-group.component.css.map */'], changeDetection: 0 });
80572
+ ], styles: ['\n\n[_nghost-%COMP%] {\n overflow: hidden;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] {\n display: grid;\n grid-template-columns: repeat(12, 1fr);\n column-gap: 16px;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .mat-mdc-select {\n display: flex;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .mdc-checkbox__background {\n border: 3px solid #6a6c6f;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .filling-form-fields-radio {\n display: flex;\n flex-direction: column;\n gap: 8px;\n padding-bottom: 8px;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .filling-form-fields-radio-group {\n display: flex;\n flex-wrap: wrap;\n column-gap: 24px;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .filling-form-fields-radio .mdc-form-field > label {\n padding-left: 0;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .mat-mdc-select-arrow-wrapper {\n display: none;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .suffix-container {\n display: flex;\n align-items: center;\n padding-right: 12px;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .mat-mdc-form-field-icon-suffix {\n display: flex;\n align-items: center;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .mat-mdc-form-field-icon-suffix .mat-icon {\n display: flex;\n align-items: center;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .arrow-icon {\n pointer-events: none;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .mat-mdc-form-field-infix {\n display: flex !important;\n font-size: 14px !important;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .mat-mdc-select-value-text {\n font-size: 14px !important;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .mat-mdc-select-value {\n font-size: 14px !important;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .mdc-label {\n font-size: 14px !important;\n}\n[_nghost-%COMP%] .filling-form-fields-checkbox[_ngcontent-%COMP%] {\n display: flex;\n flex-direction: column;\n justify-content: center;\n line-height: 2rem;\n}\n[_nghost-%COMP%] .filling-form-fields-checkbox[_ngcontent-%COMP%]:not(.last) {\n padding-bottom: 16px;\n}\n[_nghost-%COMP%] .filling-form-fields-checkbox-text[_ngcontent-%COMP%] {\n display: flex;\n align-items: center;\n gap: 8px;\n line-height: 20px;\n color: var(--filing-modal-color-grey);\n}\n[_nghost-%COMP%] .filling-form-fields-empty[_ngcontent-%COMP%] {\n width: 100%;\n height: 80px;\n}\n[_nghost-%COMP%] .filling-form-fields-item[_ngcontent-%COMP%] {\n --mat-sys-primary: #6b6f76;\n --mat-sys-primary-container: #e4e5e8;\n --mat-sys-surface-tint: #6b6f76;\n --mat-sys-outline: #c7c9cf;\n --mat-sys-outline-variant: #dfe1e6;\n --mdc-icon-button-state-layer-size: 36px;\n display: flex;\n flex-direction: column;\n gap: 4px;\n}\n[_nghost-%COMP%] .filling-form-fields-item.text-area[_ngcontent-%COMP%] .mat-mdc-text-field-wrapper {\n padding: 0 !important;\n}\n[_nghost-%COMP%] .filling-form-fields-item.text-area[_ngcontent-%COMP%] .mat-mdc-input-element {\n padding: 0 12px;\n min-height: 230px !important;\n max-height: 230px !important;\n}\n[_nghost-%COMP%] .filling-form-fields-item-text[_ngcontent-%COMP%] {\n font-size: 14px !important;\n}\n[_nghost-%COMP%] .filling-form-fields-item-text[_ngcontent-%COMP%]:not(.last) {\n padding-bottom: 16px;\n}\n[_nghost-%COMP%] .filling-form-fields-item-hint[_ngcontent-%COMP%] {\n display: flex;\n align-items: center;\n font-size: 12px;\n}\n[_nghost-%COMP%] .filling-form-fields-item.warning[_ngcontent-%COMP%] {\n --mdc-outlined-text-field-outline-color: #845400;\n --mdc-outlined-text-field-outline-width: 2px;\n --mat-sys-on-surface: #845400;\n color: #845400;\n padding-bottom: 16px;\n}\n[_nghost-%COMP%] .filling-form-fields-item-label[_ngcontent-%COMP%] {\n color: var(--filing-modal-color-grey);\n}\n[_nghost-%COMP%] .filling-form-fields-item-label.warning[_ngcontent-%COMP%] {\n color: #845400;\n}\n[_nghost-%COMP%] .filling-form-fields-item-info[_ngcontent-%COMP%] {\n position: relative;\n display: inline-flex;\n align-items: center;\n margin-left: 6px;\n vertical-align: middle;\n}\n[_nghost-%COMP%] .filling-form-fields-item-info[_ngcontent-%COMP%] .mat-icon[_ngcontent-%COMP%] {\n width: 18px;\n height: 18px;\n font-size: 18px;\n line-height: 18px;\n color: #0b70d9 !important;\n}\n[_nghost-%COMP%] .filling-form-fields-item-info[_ngcontent-%COMP%]:hover .filling-form-fields-item-info-tooltip[_ngcontent-%COMP%], \n[_nghost-%COMP%] .filling-form-fields-item-info[_ngcontent-%COMP%]:focus .filling-form-fields-item-info-tooltip[_ngcontent-%COMP%] {\n display: flex;\n}\n[_nghost-%COMP%] .filling-form-fields-item-info.dismissed[_ngcontent-%COMP%] .filling-form-fields-item-info-tooltip[_ngcontent-%COMP%] {\n display: none;\n}\n[_nghost-%COMP%] .filling-form-fields-item-info-tooltip[_ngcontent-%COMP%] {\n position: absolute;\n z-index: 10;\n top: -12px;\n left: 28px;\n display: none;\n width: 220px;\n flex-direction: column;\n gap: 8px;\n padding: 16px 18px;\n border: 1px solid #d8dbe1;\n border-radius: 8px;\n background: #f5f6f8;\n box-shadow: 0 2px 8px rgba(0, 0, 0, 0.24);\n color: #2f343b;\n line-height: 20px;\n white-space: normal;\n}\n[_nghost-%COMP%] .filling-form-fields-item-hint.warning[_ngcontent-%COMP%] {\n color: #845400;\n}\n[_nghost-%COMP%] .filling-form-fields-item-icon[_ngcontent-%COMP%] {\n font-size: 22px;\n line-height: 22px;\n height: 22px;\n width: 22px;\n}\n[_nghost-%COMP%] .filling-form-fields-item-icon.warning[_ngcontent-%COMP%] {\n color: #845400;\n}\n[_nghost-%COMP%] .filling-form-fields.submitted[_ngcontent-%COMP%] .mat-mdc-checkbox.ng-invalid .mdc-checkbox__background {\n border-color: #E22222 !important;\n}\n[_nghost-%COMP%] .filling-form-fields.submitted[_ngcontent-%COMP%] .mat-form-field-invalid {\n padding: 0 0 12px;\n}\n[_nghost-%COMP%] .filling-form-fields.submitted[_ngcontent-%COMP%] .mat-form-field-invalid .mdc-notched-outline__leading {\n border-color: #ff3e3e !important;\n}\n[_nghost-%COMP%] .filling-form-fields.submitted[_ngcontent-%COMP%] .mat-form-field-invalid .mdc-notched-outline__trailing {\n border-color: #E22222 !important;\n}\n[_nghost-%COMP%] .filling-form-fields.submitted[_ngcontent-%COMP%] .mat-form-field-invalid .mat-datepicker-toggle-default-icon {\n color: #E22222 !important;\n}\n[_nghost-%COMP%] .filling-form-fields.submitted[_ngcontent-%COMP%] .mat-form-field-invalid .mat-mdc-form-field-error-wrapper {\n padding: 0;\n}\n[_nghost-%COMP%] .filling-form-fields.submitted[_ngcontent-%COMP%] .mat-form-field-invalid .mat-mdc-form-field-error {\n color: #E22222 !important;\n font-size: 12px;\n font-family: "Open Sans";\n}\n[_nghost-%COMP%] .filling-form-fields.submitted[_ngcontent-%COMP%] .mat-form-field-invalid .mat-mdc-select-arrow {\n color: #E22222 !important;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%]:not(.submitted) .mat-icon {\n color: #4a4a4a !important;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%]:not(.submitted) .mdc-notched-outline__leading {\n border-color: #d6d6d6 !important;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%]:not(.submitted) .mdc-notched-outline__trailing {\n border-color: #d6d6d6 !important;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%]:not(.submitted) .mat-datepicker-toggle-default-icon {\n color: #4a4a4a !important;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%]:not(.submitted) .mat-mdc-form-field-error {\n display: none;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%]:not(.submitted) .mat-mdc-select-arrow {\n color: #d6d6d6 !important;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] {\n --mat-form-field-container-vertical-padding: 6px;\n --mat-form-field-container-height: 36px;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .mat-mdc-select-value {\n line-height: 18px;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] input, \n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] textarea {\n font-family: "Open Sans";\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .mat-mdc-select-value-text {\n font-family: "Open Sans";\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .mdc-text-field--disabled {\n background-color: #F5F5F5 !important;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .mdc-notched-outline__leading {\n border-width: 1px !important;\n border-color: #d6d6d6 !important;\n border-top-left-radius: 8px;\n border-bottom-left-radius: 8px;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .mdc-notched-outline__trailing {\n border-width: 1px !important;\n border-color: #d6d6d6 !important;\n border-top-right-radius: 8px;\n border-bottom-right-radius: 8px;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .mdc-icon-button .mat-icon {\n display: flex !important;\n align-items: center !important;\n justify-content: center !important;\n}\n[_nghost-%COMP%] .span-1[_ngcontent-%COMP%] {\n grid-column: span 1;\n}\n[_nghost-%COMP%] .span-2[_ngcontent-%COMP%] {\n grid-column: span 2;\n}\n[_nghost-%COMP%] .span-3[_ngcontent-%COMP%] {\n grid-column: span 3;\n}\n[_nghost-%COMP%] .span-4[_ngcontent-%COMP%] {\n grid-column: span 4;\n}\n[_nghost-%COMP%] .span-5[_ngcontent-%COMP%] {\n grid-column: span 5;\n}\n[_nghost-%COMP%] .span-6[_ngcontent-%COMP%] {\n grid-column: span 6;\n}\n[_nghost-%COMP%] .span-8[_ngcontent-%COMP%] {\n grid-column: span 8;\n}\n[_nghost-%COMP%] .span-12[_ngcontent-%COMP%] {\n grid-column: span 12;\n}\n[_nghost-%COMP%] .note-box[_ngcontent-%COMP%] {\n padding: 16px 24px;\n border: 1px solid #f0dea0;\n border-radius: 4px;\n background-color: #fdf9ee;\n color: #7a5d00;\n}\n[_nghost-%COMP%] .note-box[_ngcontent-%COMP%] .body-1-semibold {\n color: inherit;\n}\n[_nghost-%COMP%] .column-1[_ngcontent-%COMP%] {\n grid-column: 1/span 2;\n}\n[_nghost-%COMP%] .column-2[_ngcontent-%COMP%] {\n grid-column: 1/span 4;\n}\n[_nghost-%COMP%] .column-3[_ngcontent-%COMP%] {\n grid-column: 1/span 6;\n}\n[_nghost-%COMP%] .epl-readonly-field[_ngcontent-%COMP%] {\n display: flex;\n flex-direction: column;\n gap: 4px;\n}\n[_nghost-%COMP%] .beside-select[_ngcontent-%COMP%] {\n align-self: end;\n display: flex;\n align-items: center;\n min-height: 60px;\n margin: 0;\n}\n[_nghost-%COMP%] .spaced-text[_ngcontent-%COMP%] {\n margin: 8px 0;\n}\n[_nghost-%COMP%] .fee-warning[_ngcontent-%COMP%] {\n display: flex;\n align-items: center;\n gap: 8px;\n margin: 8px 0;\n padding: 8px 12px !important;\n border: 1px solid #f0d78c;\n border-radius: 4px;\n background-color: #fff8e1;\n color: #845400;\n font-size: 12px !important;\n}\n[_nghost-%COMP%] .fee-warning[_ngcontent-%COMP%]::before {\n content: "!";\n flex: none;\n width: 12px;\n height: 12px;\n border: 1px solid #845400;\n border-radius: 50%;\n font-size: 9px;\n font-weight: 700;\n line-height: 12px;\n text-align: center;\n}\n[_nghost-%COMP%] .epl-info-panel-field[_ngcontent-%COMP%] {\n container-type: inline-size;\n}\n[_nghost-%COMP%] input {\n font-size: 14px !important;\n color: var(--filing-modal-color-grey) !important;\n}\n[_nghost-%COMP%] .epl-readonly-value {\n display: flex;\n align-items: center;\n min-height: 36px;\n padding: 0 16px;\n border: 1px solid #F5F5F5;\n border-radius: 8px;\n background-color: #F5F5F5;\n overflow-wrap: anywhere;\n}\n[_nghost-%COMP%] .epl-info-panel {\n display: grid;\n grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr);\n column-gap: 16px;\n row-gap: 12px;\n padding: 12px;\n border-radius: 8px;\n background-color: #F5F5F5;\n}\n[_nghost-%COMP%] .epl-info-panel-item {\n display: flex;\n flex-direction: column;\n gap: 2px;\n}\n@container (max-width: 560px) {\n [_nghost-%COMP%] .epl-info-panel {\n grid-template-columns: minmax(0, 1fr);\n }\n}\n.filing-form-group-select-option[_ngcontent-%COMP%] {\n background: white !important;\n}\n.filing-form-group-select-option[_ngcontent-%COMP%] .mat-pseudo-checkbox-checked {\n background: transparent !important;\n}\n.filing-form-group-select-option[_ngcontent-%COMP%] .mdc-list-item__primary-text {\n font-family: "Open Sans";\n font-size: 14px !important;\n}\n/*# sourceMappingURL=filing-form-group.component.css.map */'], changeDetection: 0 });
80566
80573
  };
80567
80574
  (() => {
80568
80575
  (typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(FilingFormGroupComponent, [{
@@ -80816,7 +80823,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
80816
80823
  }\r
80817
80824
  </div>\r
80818
80825
  </section>\r
80819
- `, styles: ['/* src/app/components/form/filing-form-group/filing-form-group.component.scss */\n:host {\n overflow: hidden;\n}\n:host .filling-form-fields {\n display: grid;\n grid-template-columns: repeat(12, 1fr);\n column-gap: 16px;\n}\n:host .filling-form-fields ::ng-deep .mat-mdc-select {\n display: flex;\n}\n:host .filling-form-fields ::ng-deep .mdc-checkbox__background {\n border: 3px solid #6a6c6f;\n}\n:host .filling-form-fields ::ng-deep .filling-form-fields-radio {\n display: flex;\n flex-direction: column;\n gap: 8px;\n padding-bottom: 8px;\n}\n:host .filling-form-fields ::ng-deep .filling-form-fields-radio-group {\n display: flex;\n flex-wrap: wrap;\n column-gap: 24px;\n}\n:host .filling-form-fields ::ng-deep .filling-form-fields-radio .mdc-form-field > label {\n padding-left: 0;\n}\n:host .filling-form-fields ::ng-deep .mat-mdc-select-arrow-wrapper {\n display: none;\n}\n:host .filling-form-fields ::ng-deep .suffix-container {\n display: flex;\n align-items: center;\n padding-right: 12px;\n}\n:host .filling-form-fields ::ng-deep .mat-mdc-form-field-icon-suffix {\n display: flex;\n align-items: center;\n}\n:host .filling-form-fields ::ng-deep .mat-mdc-form-field-icon-suffix .mat-icon {\n display: flex;\n align-items: center;\n}\n:host .filling-form-fields ::ng-deep .arrow-icon {\n pointer-events: none;\n}\n:host .filling-form-fields ::ng-deep .mat-mdc-form-field-infix {\n display: flex !important;\n font-size: 14px !important;\n}\n:host .filling-form-fields ::ng-deep .mat-mdc-select-value-text {\n font-size: 14px !important;\n}\n:host .filling-form-fields ::ng-deep .mat-mdc-select-value {\n font-size: 14px !important;\n}\n:host .filling-form-fields ::ng-deep .mdc-label {\n font-size: 14px !important;\n}\n:host .filling-form-fields-checkbox {\n display: flex;\n flex-direction: column;\n justify-content: center;\n line-height: 2rem;\n}\n:host .filling-form-fields-checkbox:not(.last) {\n padding-bottom: 16px;\n}\n:host .filling-form-fields-checkbox-text {\n display: flex;\n align-items: center;\n gap: 8px;\n line-height: 20px;\n color: var(--filing-modal-color-grey);\n}\n:host .filling-form-fields-empty {\n width: 100%;\n height: 80px;\n}\n:host .filling-form-fields-item {\n --mat-sys-primary: #6b6f76;\n --mat-sys-primary-container: #e4e5e8;\n --mat-sys-surface-tint: #6b6f76;\n --mat-sys-outline: #c7c9cf;\n --mat-sys-outline-variant: #dfe1e6;\n --mdc-icon-button-state-layer-size: 36px;\n display: flex;\n flex-direction: column;\n gap: 4px;\n}\n:host .filling-form-fields-item.text-area ::ng-deep .mat-mdc-text-field-wrapper {\n padding: 0 !important;\n}\n:host .filling-form-fields-item.text-area ::ng-deep .mat-mdc-input-element {\n padding: 0 12px;\n min-height: 230px !important;\n max-height: 230px !important;\n}\n:host .filling-form-fields-item-text {\n font-size: 14px !important;\n}\n:host .filling-form-fields-item-text:not(.last) {\n padding-bottom: 16px;\n}\n:host .filling-form-fields-item-hint {\n display: flex;\n align-items: center;\n font-size: 12px;\n}\n:host .filling-form-fields-item.warning {\n --mdc-outlined-text-field-outline-color: #845400;\n --mdc-outlined-text-field-outline-width: 2px;\n --mat-sys-on-surface: #845400;\n color: #845400;\n padding-bottom: 16px;\n}\n:host .filling-form-fields-item-label {\n color: var(--filing-modal-color-grey);\n}\n:host .filling-form-fields-item-label.warning {\n color: #845400;\n}\n:host .filling-form-fields-item-info {\n position: relative;\n display: inline-flex;\n align-items: center;\n margin-left: 6px;\n vertical-align: middle;\n}\n:host .filling-form-fields-item-info .mat-icon {\n width: 18px;\n height: 18px;\n font-size: 18px;\n line-height: 18px;\n color: #0b70d9 !important;\n}\n:host .filling-form-fields-item-info:hover .filling-form-fields-item-info-tooltip,\n:host .filling-form-fields-item-info:focus .filling-form-fields-item-info-tooltip {\n display: flex;\n}\n:host .filling-form-fields-item-info.dismissed .filling-form-fields-item-info-tooltip {\n display: none;\n}\n:host .filling-form-fields-item-info-tooltip {\n position: absolute;\n z-index: 10;\n top: -12px;\n left: 28px;\n display: none;\n width: 220px;\n flex-direction: column;\n gap: 8px;\n padding: 16px 18px;\n border: 1px solid #d8dbe1;\n border-radius: 8px;\n background: #f5f6f8;\n box-shadow: 0 2px 8px rgba(0, 0, 0, 0.24);\n color: #2f343b;\n line-height: 20px;\n white-space: normal;\n}\n:host .filling-form-fields-item-hint.warning {\n color: #845400;\n}\n:host .filling-form-fields-item-icon {\n font-size: 22px;\n line-height: 22px;\n height: 22px;\n width: 22px;\n}\n:host .filling-form-fields-item-icon.warning {\n color: #845400;\n}\n:host .filling-form-fields.submitted ::ng-deep .mat-mdc-checkbox.ng-invalid .mdc-checkbox__background {\n border-color: #E22222 !important;\n}\n:host .filling-form-fields.submitted ::ng-deep .mat-form-field-invalid {\n padding: 0 0 12px;\n}\n:host .filling-form-fields.submitted ::ng-deep .mat-form-field-invalid .mdc-notched-outline__leading {\n border-color: #ff3e3e !important;\n}\n:host .filling-form-fields.submitted ::ng-deep .mat-form-field-invalid .mdc-notched-outline__trailing {\n border-color: #E22222 !important;\n}\n:host .filling-form-fields.submitted ::ng-deep .mat-form-field-invalid .mat-datepicker-toggle-default-icon {\n color: #E22222 !important;\n}\n:host .filling-form-fields.submitted ::ng-deep .mat-form-field-invalid .mat-mdc-form-field-error-wrapper {\n padding: 0;\n}\n:host .filling-form-fields.submitted ::ng-deep .mat-form-field-invalid .mat-mdc-form-field-error {\n color: #E22222 !important;\n font-size: 12px;\n font-family: "Open Sans";\n}\n:host .filling-form-fields.submitted ::ng-deep .mat-form-field-invalid .mat-mdc-select-arrow {\n color: #E22222 !important;\n}\n:host .filling-form-fields:not(.submitted) ::ng-deep .mat-icon {\n color: #4a4a4a !important;\n}\n:host .filling-form-fields:not(.submitted) ::ng-deep .mdc-notched-outline__leading {\n border-color: #d6d6d6 !important;\n}\n:host .filling-form-fields:not(.submitted) ::ng-deep .mdc-notched-outline__trailing {\n border-color: #d6d6d6 !important;\n}\n:host .filling-form-fields:not(.submitted) ::ng-deep .mat-datepicker-toggle-default-icon {\n color: #4a4a4a !important;\n}\n:host .filling-form-fields:not(.submitted) ::ng-deep .mat-mdc-form-field-error {\n display: none;\n}\n:host .filling-form-fields:not(.submitted) ::ng-deep .mat-mdc-select-arrow {\n color: #d6d6d6 !important;\n}\n:host .filling-form-fields ::ng-deep {\n --mat-form-field-container-vertical-padding: 6px;\n --mat-form-field-container-height: 36px;\n}\n:host .filling-form-fields ::ng-deep .mat-mdc-select-value {\n line-height: 18px;\n}\n:host .filling-form-fields ::ng-deep input,\n:host .filling-form-fields ::ng-deep textarea {\n font-family: "Open Sans";\n}\n:host .filling-form-fields ::ng-deep .mat-mdc-select-value-text {\n font-family: "Open Sans";\n}\n:host .filling-form-fields ::ng-deep .mdc-text-field--disabled {\n background-color: #F5F5F5 !important;\n}\n:host .filling-form-fields ::ng-deep .mdc-notched-outline__leading {\n border-width: 1px !important;\n border-color: #d6d6d6 !important;\n border-top-left-radius: 8px;\n border-bottom-left-radius: 8px;\n}\n:host .filling-form-fields ::ng-deep .mdc-notched-outline__trailing {\n border-width: 1px !important;\n border-color: #d6d6d6 !important;\n border-top-right-radius: 8px;\n border-bottom-right-radius: 8px;\n}\n:host .filling-form-fields ::ng-deep .mdc-icon-button .mat-icon {\n display: flex !important;\n align-items: center !important;\n justify-content: center !important;\n}\n:host .span-1 {\n grid-column: span 1;\n}\n:host .span-2 {\n grid-column: span 2;\n}\n:host .span-3 {\n grid-column: span 3;\n}\n:host .span-4 {\n grid-column: span 4;\n}\n:host .span-5 {\n grid-column: span 5;\n}\n:host .span-6 {\n grid-column: span 6;\n}\n:host .span-8 {\n grid-column: span 8;\n}\n:host .span-12 {\n grid-column: span 12;\n}\n:host .column-1 {\n grid-column: 1/span 2;\n}\n:host .column-2 {\n grid-column: 1/span 4;\n}\n:host .column-3 {\n grid-column: 1/span 6;\n}\n:host .epl-readonly-field {\n display: flex;\n flex-direction: column;\n gap: 4px;\n}\n:host .beside-select {\n align-self: end;\n display: flex;\n align-items: center;\n min-height: 60px;\n margin: 0;\n}\n:host .spaced-text {\n margin: 8px 0;\n}\n:host .fee-warning {\n display: flex;\n align-items: center;\n gap: 8px;\n margin: 8px 0;\n padding: 8px 12px !important;\n border: 1px solid #f0d78c;\n border-radius: 4px;\n background-color: #fff8e1;\n color: #845400;\n font-size: 12px !important;\n}\n:host .fee-warning::before {\n content: "!";\n flex: none;\n width: 12px;\n height: 12px;\n border: 1px solid #845400;\n border-radius: 50%;\n font-size: 9px;\n font-weight: 700;\n line-height: 12px;\n text-align: center;\n}\n:host .epl-info-panel-field {\n container-type: inline-size;\n}\n:host ::ng-deep input {\n font-size: 14px !important;\n color: var(--filing-modal-color-grey) !important;\n}\n:host ::ng-deep .epl-readonly-value {\n display: flex;\n align-items: center;\n min-height: 36px;\n padding: 0 16px;\n border: 1px solid #F5F5F5;\n border-radius: 8px;\n background-color: #F5F5F5;\n overflow-wrap: anywhere;\n}\n:host ::ng-deep .epl-info-panel {\n display: grid;\n grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr);\n column-gap: 16px;\n row-gap: 12px;\n padding: 12px;\n border-radius: 8px;\n background-color: #F5F5F5;\n}\n:host ::ng-deep .epl-info-panel-item {\n display: flex;\n flex-direction: column;\n gap: 2px;\n}\n@container (max-width: 560px) {\n :host ::ng-deep .epl-info-panel {\n grid-template-columns: minmax(0, 1fr);\n }\n}\n.filing-form-group-select-option {\n background: white !important;\n}\n.filing-form-group-select-option ::ng-deep .mat-pseudo-checkbox-checked {\n background: transparent !important;\n}\n.filing-form-group-select-option ::ng-deep .mdc-list-item__primary-text {\n font-family: "Open Sans";\n font-size: 14px !important;\n}\n/*# sourceMappingURL=filing-form-group.component.css.map */\n'] }]
80826
+ `, styles: ['/* src/app/components/form/filing-form-group/filing-form-group.component.scss */\n:host {\n overflow: hidden;\n}\n:host .filling-form-fields {\n display: grid;\n grid-template-columns: repeat(12, 1fr);\n column-gap: 16px;\n}\n:host .filling-form-fields ::ng-deep .mat-mdc-select {\n display: flex;\n}\n:host .filling-form-fields ::ng-deep .mdc-checkbox__background {\n border: 3px solid #6a6c6f;\n}\n:host .filling-form-fields ::ng-deep .filling-form-fields-radio {\n display: flex;\n flex-direction: column;\n gap: 8px;\n padding-bottom: 8px;\n}\n:host .filling-form-fields ::ng-deep .filling-form-fields-radio-group {\n display: flex;\n flex-wrap: wrap;\n column-gap: 24px;\n}\n:host .filling-form-fields ::ng-deep .filling-form-fields-radio .mdc-form-field > label {\n padding-left: 0;\n}\n:host .filling-form-fields ::ng-deep .mat-mdc-select-arrow-wrapper {\n display: none;\n}\n:host .filling-form-fields ::ng-deep .suffix-container {\n display: flex;\n align-items: center;\n padding-right: 12px;\n}\n:host .filling-form-fields ::ng-deep .mat-mdc-form-field-icon-suffix {\n display: flex;\n align-items: center;\n}\n:host .filling-form-fields ::ng-deep .mat-mdc-form-field-icon-suffix .mat-icon {\n display: flex;\n align-items: center;\n}\n:host .filling-form-fields ::ng-deep .arrow-icon {\n pointer-events: none;\n}\n:host .filling-form-fields ::ng-deep .mat-mdc-form-field-infix {\n display: flex !important;\n font-size: 14px !important;\n}\n:host .filling-form-fields ::ng-deep .mat-mdc-select-value-text {\n font-size: 14px !important;\n}\n:host .filling-form-fields ::ng-deep .mat-mdc-select-value {\n font-size: 14px !important;\n}\n:host .filling-form-fields ::ng-deep .mdc-label {\n font-size: 14px !important;\n}\n:host .filling-form-fields-checkbox {\n display: flex;\n flex-direction: column;\n justify-content: center;\n line-height: 2rem;\n}\n:host .filling-form-fields-checkbox:not(.last) {\n padding-bottom: 16px;\n}\n:host .filling-form-fields-checkbox-text {\n display: flex;\n align-items: center;\n gap: 8px;\n line-height: 20px;\n color: var(--filing-modal-color-grey);\n}\n:host .filling-form-fields-empty {\n width: 100%;\n height: 80px;\n}\n:host .filling-form-fields-item {\n --mat-sys-primary: #6b6f76;\n --mat-sys-primary-container: #e4e5e8;\n --mat-sys-surface-tint: #6b6f76;\n --mat-sys-outline: #c7c9cf;\n --mat-sys-outline-variant: #dfe1e6;\n --mdc-icon-button-state-layer-size: 36px;\n display: flex;\n flex-direction: column;\n gap: 4px;\n}\n:host .filling-form-fields-item.text-area ::ng-deep .mat-mdc-text-field-wrapper {\n padding: 0 !important;\n}\n:host .filling-form-fields-item.text-area ::ng-deep .mat-mdc-input-element {\n padding: 0 12px;\n min-height: 230px !important;\n max-height: 230px !important;\n}\n:host .filling-form-fields-item-text {\n font-size: 14px !important;\n}\n:host .filling-form-fields-item-text:not(.last) {\n padding-bottom: 16px;\n}\n:host .filling-form-fields-item-hint {\n display: flex;\n align-items: center;\n font-size: 12px;\n}\n:host .filling-form-fields-item.warning {\n --mdc-outlined-text-field-outline-color: #845400;\n --mdc-outlined-text-field-outline-width: 2px;\n --mat-sys-on-surface: #845400;\n color: #845400;\n padding-bottom: 16px;\n}\n:host .filling-form-fields-item-label {\n color: var(--filing-modal-color-grey);\n}\n:host .filling-form-fields-item-label.warning {\n color: #845400;\n}\n:host .filling-form-fields-item-info {\n position: relative;\n display: inline-flex;\n align-items: center;\n margin-left: 6px;\n vertical-align: middle;\n}\n:host .filling-form-fields-item-info .mat-icon {\n width: 18px;\n height: 18px;\n font-size: 18px;\n line-height: 18px;\n color: #0b70d9 !important;\n}\n:host .filling-form-fields-item-info:hover .filling-form-fields-item-info-tooltip,\n:host .filling-form-fields-item-info:focus .filling-form-fields-item-info-tooltip {\n display: flex;\n}\n:host .filling-form-fields-item-info.dismissed .filling-form-fields-item-info-tooltip {\n display: none;\n}\n:host .filling-form-fields-item-info-tooltip {\n position: absolute;\n z-index: 10;\n top: -12px;\n left: 28px;\n display: none;\n width: 220px;\n flex-direction: column;\n gap: 8px;\n padding: 16px 18px;\n border: 1px solid #d8dbe1;\n border-radius: 8px;\n background: #f5f6f8;\n box-shadow: 0 2px 8px rgba(0, 0, 0, 0.24);\n color: #2f343b;\n line-height: 20px;\n white-space: normal;\n}\n:host .filling-form-fields-item-hint.warning {\n color: #845400;\n}\n:host .filling-form-fields-item-icon {\n font-size: 22px;\n line-height: 22px;\n height: 22px;\n width: 22px;\n}\n:host .filling-form-fields-item-icon.warning {\n color: #845400;\n}\n:host .filling-form-fields.submitted ::ng-deep .mat-mdc-checkbox.ng-invalid .mdc-checkbox__background {\n border-color: #E22222 !important;\n}\n:host .filling-form-fields.submitted ::ng-deep .mat-form-field-invalid {\n padding: 0 0 12px;\n}\n:host .filling-form-fields.submitted ::ng-deep .mat-form-field-invalid .mdc-notched-outline__leading {\n border-color: #ff3e3e !important;\n}\n:host .filling-form-fields.submitted ::ng-deep .mat-form-field-invalid .mdc-notched-outline__trailing {\n border-color: #E22222 !important;\n}\n:host .filling-form-fields.submitted ::ng-deep .mat-form-field-invalid .mat-datepicker-toggle-default-icon {\n color: #E22222 !important;\n}\n:host .filling-form-fields.submitted ::ng-deep .mat-form-field-invalid .mat-mdc-form-field-error-wrapper {\n padding: 0;\n}\n:host .filling-form-fields.submitted ::ng-deep .mat-form-field-invalid .mat-mdc-form-field-error {\n color: #E22222 !important;\n font-size: 12px;\n font-family: "Open Sans";\n}\n:host .filling-form-fields.submitted ::ng-deep .mat-form-field-invalid .mat-mdc-select-arrow {\n color: #E22222 !important;\n}\n:host .filling-form-fields:not(.submitted) ::ng-deep .mat-icon {\n color: #4a4a4a !important;\n}\n:host .filling-form-fields:not(.submitted) ::ng-deep .mdc-notched-outline__leading {\n border-color: #d6d6d6 !important;\n}\n:host .filling-form-fields:not(.submitted) ::ng-deep .mdc-notched-outline__trailing {\n border-color: #d6d6d6 !important;\n}\n:host .filling-form-fields:not(.submitted) ::ng-deep .mat-datepicker-toggle-default-icon {\n color: #4a4a4a !important;\n}\n:host .filling-form-fields:not(.submitted) ::ng-deep .mat-mdc-form-field-error {\n display: none;\n}\n:host .filling-form-fields:not(.submitted) ::ng-deep .mat-mdc-select-arrow {\n color: #d6d6d6 !important;\n}\n:host .filling-form-fields ::ng-deep {\n --mat-form-field-container-vertical-padding: 6px;\n --mat-form-field-container-height: 36px;\n}\n:host .filling-form-fields ::ng-deep .mat-mdc-select-value {\n line-height: 18px;\n}\n:host .filling-form-fields ::ng-deep input,\n:host .filling-form-fields ::ng-deep textarea {\n font-family: "Open Sans";\n}\n:host .filling-form-fields ::ng-deep .mat-mdc-select-value-text {\n font-family: "Open Sans";\n}\n:host .filling-form-fields ::ng-deep .mdc-text-field--disabled {\n background-color: #F5F5F5 !important;\n}\n:host .filling-form-fields ::ng-deep .mdc-notched-outline__leading {\n border-width: 1px !important;\n border-color: #d6d6d6 !important;\n border-top-left-radius: 8px;\n border-bottom-left-radius: 8px;\n}\n:host .filling-form-fields ::ng-deep .mdc-notched-outline__trailing {\n border-width: 1px !important;\n border-color: #d6d6d6 !important;\n border-top-right-radius: 8px;\n border-bottom-right-radius: 8px;\n}\n:host .filling-form-fields ::ng-deep .mdc-icon-button .mat-icon {\n display: flex !important;\n align-items: center !important;\n justify-content: center !important;\n}\n:host .span-1 {\n grid-column: span 1;\n}\n:host .span-2 {\n grid-column: span 2;\n}\n:host .span-3 {\n grid-column: span 3;\n}\n:host .span-4 {\n grid-column: span 4;\n}\n:host .span-5 {\n grid-column: span 5;\n}\n:host .span-6 {\n grid-column: span 6;\n}\n:host .span-8 {\n grid-column: span 8;\n}\n:host .span-12 {\n grid-column: span 12;\n}\n:host .note-box {\n padding: 16px 24px;\n border: 1px solid #f0dea0;\n border-radius: 4px;\n background-color: #fdf9ee;\n color: #7a5d00;\n}\n:host .note-box ::ng-deep .body-1-semibold {\n color: inherit;\n}\n:host .column-1 {\n grid-column: 1/span 2;\n}\n:host .column-2 {\n grid-column: 1/span 4;\n}\n:host .column-3 {\n grid-column: 1/span 6;\n}\n:host .epl-readonly-field {\n display: flex;\n flex-direction: column;\n gap: 4px;\n}\n:host .beside-select {\n align-self: end;\n display: flex;\n align-items: center;\n min-height: 60px;\n margin: 0;\n}\n:host .spaced-text {\n margin: 8px 0;\n}\n:host .fee-warning {\n display: flex;\n align-items: center;\n gap: 8px;\n margin: 8px 0;\n padding: 8px 12px !important;\n border: 1px solid #f0d78c;\n border-radius: 4px;\n background-color: #fff8e1;\n color: #845400;\n font-size: 12px !important;\n}\n:host .fee-warning::before {\n content: "!";\n flex: none;\n width: 12px;\n height: 12px;\n border: 1px solid #845400;\n border-radius: 50%;\n font-size: 9px;\n font-weight: 700;\n line-height: 12px;\n text-align: center;\n}\n:host .epl-info-panel-field {\n container-type: inline-size;\n}\n:host ::ng-deep input {\n font-size: 14px !important;\n color: var(--filing-modal-color-grey) !important;\n}\n:host ::ng-deep .epl-readonly-value {\n display: flex;\n align-items: center;\n min-height: 36px;\n padding: 0 16px;\n border: 1px solid #F5F5F5;\n border-radius: 8px;\n background-color: #F5F5F5;\n overflow-wrap: anywhere;\n}\n:host ::ng-deep .epl-info-panel {\n display: grid;\n grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr);\n column-gap: 16px;\n row-gap: 12px;\n padding: 12px;\n border-radius: 8px;\n background-color: #F5F5F5;\n}\n:host ::ng-deep .epl-info-panel-item {\n display: flex;\n flex-direction: column;\n gap: 2px;\n}\n@container (max-width: 560px) {\n :host ::ng-deep .epl-info-panel {\n grid-template-columns: minmax(0, 1fr);\n }\n}\n.filing-form-group-select-option {\n background: white !important;\n}\n.filing-form-group-select-option ::ng-deep .mat-pseudo-checkbox-checked {\n background: transparent !important;\n}\n.filing-form-group-select-option ::ng-deep .mdc-list-item__primary-text {\n font-family: "Open Sans";\n font-size: 14px !important;\n}\n/*# sourceMappingURL=filing-form-group.component.css.map */\n'] }]
80820
80827
  }], () => [], { dismissOpenTooltip: [{
80821
80828
  type: HostListener,
80822
80829
  args: ["document:keydown.escape"]
@@ -81306,12 +81313,16 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
81306
81313
  federalUpdateMaintainInitialDelta = signal(null);
81307
81314
  bcChangeOfDirectorsInitialDelta = signal(null);
81308
81315
  bcFormationInitialDelta = signal(null);
81316
+ bcChangeOfOfficeAddressesInitialDelta = signal(null);
81309
81317
  setFormationInitialDelta(delta) {
81310
81318
  this.formationInitialDelta.set(delta);
81311
81319
  }
81312
81320
  setBCFormationInitialDelta(delta) {
81313
81321
  this.bcFormationInitialDelta.set(delta);
81314
81322
  }
81323
+ setBCChangeOfOfficeAddressesInitialDelta(delta) {
81324
+ this.bcChangeOfOfficeAddressesInitialDelta.set(delta);
81325
+ }
81315
81326
  setInitialReturnInitialDelta(delta) {
81316
81327
  this.initialReturnInitialDelta.set(delta);
81317
81328
  }
@@ -81331,6 +81342,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
81331
81342
  this.federalUpdateMaintainInitialDelta.set(null);
81332
81343
  this.bcChangeOfDirectorsInitialDelta.set(null);
81333
81344
  this.bcFormationInitialDelta.set(null);
81345
+ this.bcChangeOfOfficeAddressesInitialDelta.set(null);
81334
81346
  }
81335
81347
  static \u0275fac = function DeltaStateService_Factory(__ngFactoryType__) {
81336
81348
  return new (__ngFactoryType__ || _DeltaStateService)();
@@ -84138,7 +84150,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
84138
84150
  });
84139
84151
 
84140
84152
  // src/app/constants/BritishColumbiaConstants.ts
84141
- var BCNameType, BCNameTypeLabel, BC_NUMBERED_NAME_PREVIEW, BCNotificationMethod, BCNotificationMethodLabel, BC_NOTIFICATION_METHOD_OPTIONS, BC_CHANGE_OF_DIRECTORS_FILING_FEE, BCAnnualReportReminder, BCAnnualReportReminderLabel, BC_ANNUAL_REPORT_REMINDER_OPTIONS, BC_DEFAULT_COUNTRY, BC_FUTURE_EFFECTIVE_DATE_FEE, BC_PASSWORD_MIN_LENGTH, BC_PASSWORD_MAX_LENGTH, BC_PASSWORD_PATTERN, BC_COMPANY_EMAIL_MAX_LENGTH, BC_CANADIAN_POSTAL_PATTERN, BC_NAME_RESERVATION_MAX_LENGTH, BC_NAME_RESERVATION_PATTERN, BC_COMPLETING_PARTY_COUNTRY_OPTIONS;
84153
+ var BCNameType, BCNameTypeLabel, BC_NUMBERED_NAME_PREVIEW, BCNotificationMethod, BCNotificationMethodLabel, BC_NOTIFICATION_METHOD_OPTIONS, BC_CHANGE_OF_DIRECTORS_FILING_FEE, BCAnnualReportReminder, BCAnnualReportReminderLabel, BC_ANNUAL_REPORT_REMINDER_OPTIONS, BC_DEFAULT_PROVINCE_STATE, BC_DEFAULT_COUNTRY, BC_FUTURE_EFFECTIVE_DATE_FEE, BC_PASSWORD_MIN_LENGTH, BC_PASSWORD_MAX_LENGTH, BC_PASSWORD_PATTERN, BC_COMPANY_EMAIL_MAX_LENGTH, BC_CANADIAN_POSTAL_PATTERN, BC_NAME_RESERVATION_MAX_LENGTH, BC_NAME_RESERVATION_PATTERN, BC_COMPLETING_PARTY_COUNTRY_OPTIONS;
84142
84154
  var init_BritishColumbiaConstants = __esm({
84143
84155
  "src/app/constants/BritishColumbiaConstants.ts"() {
84144
84156
  init_app_enums();
@@ -84172,7 +84184,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
84172
84184
  };
84173
84185
  BC_ANNUAL_REPORT_REMINDER_OPTIONS = Object.values(BCAnnualReportReminder).map((value) => ({ value, label: BCAnnualReportReminderLabel[value] }));
84174
84186
  Object.values(CANProvinces).map((province) => ({ value: province, label: province }));
84175
- CANProvinces.BritishColumbia;
84187
+ BC_DEFAULT_PROVINCE_STATE = CANProvinces.BritishColumbia;
84176
84188
  BC_DEFAULT_COUNTRY = "Canada";
84177
84189
  BC_FUTURE_EFFECTIVE_DATE_FEE = "$100";
84178
84190
  BC_PASSWORD_MIN_LENGTH = 8;
@@ -84191,7 +84203,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
84191
84203
  });
84192
84204
 
84193
84205
  // src/app/enums/british-columbia-form.enums.ts
84194
- var BCChangeOfDirectorsFormControls, BCChangeOfDirectorsFormGroups, BCFormationFormControls, BCFormationFormGroups;
84206
+ var BCChangeOfDirectorsFormControls, BCChangeOfDirectorsFormGroups, BCFormationFormControls, BCChangeOfOfficeAddressesFormControls, BCChangeOfOfficeAddressesFormGroups, BCFormationFormGroups;
84195
84207
  var init_british_columbia_form_enums = __esm({
84196
84208
  "src/app/enums/british-columbia-form.enums.ts"() {
84197
84209
  (function(BCChangeOfDirectorsFormControls2) {
@@ -84256,6 +84268,32 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
84256
84268
  BCFormationFormControls2["HasConfirmedCompletion"] = "hasConfirmedCompletion";
84257
84269
  BCFormationFormControls2["HasRequiredDocuments"] = "hasRequiredDocuments";
84258
84270
  })(BCFormationFormControls || (BCFormationFormControls = {}));
84271
+ (function(BCChangeOfOfficeAddressesFormControls2) {
84272
+ BCChangeOfOfficeAddressesFormControls2["ClientMatterNumber"] = "ClientMatterNumber";
84273
+ BCChangeOfOfficeAddressesFormControls2["DocketNumber"] = "docketNumber";
84274
+ BCChangeOfOfficeAddressesFormControls2["CorporationName"] = "corporationName";
84275
+ BCChangeOfOfficeAddressesFormControls2["IncorporationNumber"] = "incorporationNumber";
84276
+ BCChangeOfOfficeAddressesFormControls2["CompanyEmail"] = "companyEmail";
84277
+ BCChangeOfOfficeAddressesFormControls2["CompanyPassword"] = "companyPassword";
84278
+ BCChangeOfOfficeAddressesFormControls2["CurrentMailingAddress"] = "currentMailingAddress";
84279
+ BCChangeOfOfficeAddressesFormControls2["CurrentDeliveryAddress"] = "currentDeliveryAddress";
84280
+ BCChangeOfOfficeAddressesFormControls2["NewMailingAddress"] = "newMailingAddress";
84281
+ BCChangeOfOfficeAddressesFormControls2["NewDeliveryAddress"] = "newDeliveryAddress";
84282
+ BCChangeOfOfficeAddressesFormControls2["DeliverySameAsMailing"] = "deliverySameAsMailing";
84283
+ BCChangeOfOfficeAddressesFormControls2["SameAsRegisteredOffice"] = "sameAsRegisteredOffice";
84284
+ BCChangeOfOfficeAddressesFormControls2["AddressLine1"] = "addressLine1";
84285
+ BCChangeOfOfficeAddressesFormControls2["AddressLine2"] = "addressLine2";
84286
+ BCChangeOfOfficeAddressesFormControls2["City"] = "city";
84287
+ BCChangeOfOfficeAddressesFormControls2["PostalCode"] = "postalCode";
84288
+ BCChangeOfOfficeAddressesFormControls2["Province"] = "province";
84289
+ BCChangeOfOfficeAddressesFormControls2["Country"] = "country";
84290
+ })(BCChangeOfOfficeAddressesFormControls || (BCChangeOfOfficeAddressesFormControls = {}));
84291
+ (function(BCChangeOfOfficeAddressesFormGroups2) {
84292
+ BCChangeOfOfficeAddressesFormGroups2["ReferenceNumbers"] = "Reference Numbers";
84293
+ BCChangeOfOfficeAddressesFormGroups2["CorporationDetails"] = "Corporation Details";
84294
+ BCChangeOfOfficeAddressesFormGroups2["RegisteredOfficeAddress"] = "Registered Office Address";
84295
+ BCChangeOfOfficeAddressesFormGroups2["RecordsOfficeAddress"] = "Records Office Address";
84296
+ })(BCChangeOfOfficeAddressesFormGroups || (BCChangeOfOfficeAddressesFormGroups = {}));
84259
84297
  (function(BCFormationFormGroups2) {
84260
84298
  BCFormationFormGroups2["ReferenceNumbers"] = "Reference Numbers";
84261
84299
  BCFormationFormGroups2["CorporationDetails"] = "Corporation Details";
@@ -84330,7 +84368,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
84330
84368
  }
84331
84369
  const password = request.password ?? "";
84332
84370
  if (password.length < BC_PASSWORD_MIN_LENGTH || password.length > BC_PASSWORD_MAX_LENGTH || !/^[A-Za-z0-9]+$/.test(password)) {
84333
- issues.push(`The company password (taken from the entity's registry ID) must be ${BC_PASSWORD_MIN_LENGTH} to ${BC_PASSWORD_MAX_LENGTH} letters or digits only. Update the registry ID in Athennian.`);
84371
+ issues.push(`Company Password must be ${BC_PASSWORD_MIN_LENGTH} to ${BC_PASSWORD_MAX_LENGTH} letters or digits only. Enter it in Corporation Details.`);
84334
84372
  }
84335
84373
  return issues;
84336
84374
  }
@@ -84722,10 +84760,14 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
84722
84760
  // Prefilled from the entity's Business Email when Athennian has one; otherwise the user
84723
84761
  // enters it here (the API requires it).
84724
84762
  [BCFormationFormControls.CompanyEmail]: new FormControl(deltaData?.companyEmail ?? companyEmail, [Validators.required, Validators.email, Validators.maxLength(BC_COMPANY_EMAIL_MAX_LENGTH)]),
84725
- // Not shown on screen: taken from the registry ID when it satisfies the BC password rule
84726
- // (otherwise empty). No validators here, as the user cannot fix it; the payload pre-flight
84727
- // check (`findBCRequestIssues`) reports an unusable value.
84728
- [BCFormationFormControls.CompanyPassword]: new FormControl(deltaData?.password ?? this.suggestPassword(task.entity._profile.registry_id)),
84763
+ // The registry ID is only a suggestion: it is used when it already satisfies the BC
84764
+ // password rule, otherwise the field starts empty for the user to fill in.
84765
+ [BCFormationFormControls.CompanyPassword]: new FormControl(deltaData?.password ?? this.suggestPassword(task.entity._profile.registry_id), [
84766
+ Validators.required,
84767
+ Validators.minLength(BC_PASSWORD_MIN_LENGTH),
84768
+ Validators.maxLength(BC_PASSWORD_MAX_LENGTH),
84769
+ Validators.pattern(BC_PASSWORD_PATTERN)
84770
+ ]),
84729
84771
  [BCFormationFormControls.UsesNameTranslation]: new FormControl(usesNameTranslation),
84730
84772
  [BCFormationFormControls.NameTranslations]: new FormArray(translationRows)
84731
84773
  });
@@ -84827,15 +84869,6 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
84827
84869
  })
84828
84870
  });
84829
84871
  }
84830
- /**
84831
- * Company Email dropdown options: the task's `emailOptions` (distinct addresses), plus the
84832
- * current value when it is not among them (a saved or fallback-prefilled address).
84833
- */
84834
- static buildCompanyEmailOptions(task, currentValue) {
84835
- const emails = (task?.entity.emailOptions ?? []).map((option) => option.value?.trim());
84836
- const current = currentValue?.trim();
84837
- return [...new Set([...emails, current].filter((email) => Boolean(email)))].map((email) => ({ label: email, value: email }));
84838
- }
84839
84872
  static suggestPassword(registryId) {
84840
84873
  const value = registryId?.trim() ?? "";
84841
84874
  return value.length >= BC_PASSWORD_MIN_LENGTH && value.length <= BC_PASSWORD_MAX_LENGTH && BC_PASSWORD_PATTERN.test(value) ? value : "";
@@ -85002,14 +85035,133 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
85002
85035
  }
85003
85036
  });
85004
85037
 
85038
+ // src/app/helpers/british-columbia/change-of-office-addresses/british-columbia-change-of-office-addresses-form.helper.ts
85039
+ var Controls2, EDITABLE_ADDRESS_CONTROLS, BritishColumbiaChangeOfOfficeAddressesFormHelper;
85040
+ var init_british_columbia_change_of_office_addresses_form_helper = __esm({
85041
+ "src/app/helpers/british-columbia/change-of-office-addresses/british-columbia-change-of-office-addresses-form.helper.ts"() {
85042
+ init_forms();
85043
+ init_common_models();
85044
+ init_british_columbia_form_enums();
85045
+ init_BritishColumbiaConstants();
85046
+ init_british_columbia_formation_form_helper();
85047
+ Controls2 = BCChangeOfOfficeAddressesFormControls;
85048
+ EDITABLE_ADDRESS_CONTROLS = [
85049
+ Controls2.AddressLine1,
85050
+ Controls2.AddressLine2,
85051
+ Controls2.City,
85052
+ Controls2.PostalCode
85053
+ ];
85054
+ BritishColumbiaChangeOfOfficeAddressesFormHelper = class {
85055
+ static generateConfig(task, _translateFn) {
85056
+ const affiliations = task.entity.affiliations ?? [];
85057
+ const delta = task.deltaData;
85058
+ const format = BritishColumbiaFormationFormHelper.formatFullAddress;
85059
+ const pick = BritishColumbiaFormationFormHelper.pickAddress;
85060
+ const registeredOffice = BritishColumbiaFormationFormHelper.findSharedAddressAffiliation(affiliations, AddressTitle2.REGISTERED_OFFICE);
85061
+ const recordsOffice = BritishColumbiaFormationFormHelper.findSharedAddressAffiliation(affiliations, AddressTitle2.RECORDS_OFFICE);
85062
+ const companyEmail = this.resolveCompanyEmail(task);
85063
+ const config2 = {};
85064
+ config2[BCChangeOfOfficeAddressesFormGroups.ReferenceNumbers] = this.generateReferenceNumbersFormGroup(delta?.referenceNumbers, task.entity._profile.client_matter_number);
85065
+ config2[BCChangeOfOfficeAddressesFormGroups.CorporationDetails] = new FormGroup({
85066
+ [Controls2.CorporationName]: this.readOnly(task.entity._profile.name),
85067
+ [Controls2.IncorporationNumber]: this.readOnly(task.entity._profile.corp_number),
85068
+ // Prefilled from the entity's Business Email when Athennian has one; otherwise (or to
85069
+ // correct it) the user enters it here, as in the BC Incorporation Application.
85070
+ [Controls2.CompanyEmail]: new FormControl(delta?.companyEmail ?? companyEmail, [
85071
+ Validators.required,
85072
+ Validators.email,
85073
+ Validators.maxLength(BC_COMPANY_EMAIL_MAX_LENGTH)
85074
+ ]),
85075
+ // The company's BC access code, required to order the registry's current data. Restored from
85076
+ // the saved draft, with the same rules as in the BC Incorporation (8-15 letters or digits).
85077
+ [Controls2.CompanyPassword]: new FormControl(delta?.companyPassword ?? "", [
85078
+ Validators.required,
85079
+ Validators.minLength(BC_PASSWORD_MIN_LENGTH),
85080
+ Validators.maxLength(BC_PASSWORD_MAX_LENGTH),
85081
+ Validators.pattern(BC_PASSWORD_PATTERN)
85082
+ ])
85083
+ });
85084
+ const regDeliverySame = delta?.registeredOffice?.deliverySameAsMailing ?? true;
85085
+ config2[BCChangeOfOfficeAddressesFormGroups.RegisteredOfficeAddress] = new FormGroup({
85086
+ [Controls2.CurrentMailingAddress]: this.readOnly(format(pick(registeredOffice?.addresses, "Mailing"))),
85087
+ [Controls2.CurrentDeliveryAddress]: this.readOnly(format(pick(registeredOffice?.addresses, "Delivery"))),
85088
+ [Controls2.NewMailingAddress]: this.createOfficeAddressFormGroup(delta?.registeredOffice?.mailingAddress, true),
85089
+ [Controls2.DeliverySameAsMailing]: new FormControl(regDeliverySame),
85090
+ [Controls2.NewDeliveryAddress]: this.createOfficeAddressFormGroup(delta?.registeredOffice?.deliveryAddress, !regDeliverySame)
85091
+ });
85092
+ const recSameAsRegistered = delta?.recordsOffice?.sameAsRegisteredOffice ?? true;
85093
+ const recDeliverySame = delta?.recordsOffice?.deliverySameAsMailing ?? true;
85094
+ config2[BCChangeOfOfficeAddressesFormGroups.RecordsOfficeAddress] = new FormGroup({
85095
+ [Controls2.CurrentMailingAddress]: this.readOnly(format(pick(recordsOffice?.addresses, "Mailing"))),
85096
+ [Controls2.CurrentDeliveryAddress]: this.readOnly(format(pick(recordsOffice?.addresses, "Delivery"))),
85097
+ [Controls2.SameAsRegisteredOffice]: new FormControl(recSameAsRegistered),
85098
+ [Controls2.NewMailingAddress]: this.createOfficeAddressFormGroup(delta?.recordsOffice?.mailingAddress, !recSameAsRegistered),
85099
+ [Controls2.DeliverySameAsMailing]: new FormControl(recDeliverySame),
85100
+ [Controls2.NewDeliveryAddress]: this.createOfficeAddressFormGroup(delta?.recordsOffice?.deliveryAddress, !recSameAsRegistered && !recDeliverySame)
85101
+ });
85102
+ return config2;
85103
+ }
85104
+ /**
85105
+ * The company's email, looked up the same way as in the BC Incorporation Application: the
85106
+ * entity's email options, then the Registered Office's Business Email, then the entity's own,
85107
+ * then any other address of the entity (e.g. a Head Office).
85108
+ */
85109
+ static resolveCompanyEmail(task) {
85110
+ const affiliations = task.entity.affiliations ?? [];
85111
+ const registeredOffice = BritishColumbiaFormationFormHelper.findSharedAddressAffiliation(affiliations, AddressTitle2.REGISTERED_OFFICE);
85112
+ return task.entity.emailOptions?.[0]?.value ?? registeredOffice?.addresses?.[0]?.communications?.find((c) => c.type === "Business Email")?.value ?? task.entity.communications?.find((c) => c.type === "Business Email")?.value ?? task.entity.addresses?.flatMap((a) => a.communications ?? []).find((c) => c.type === "Business Email")?.value ?? "";
85113
+ }
85114
+ /**
85115
+ * Address Line 1*, Address Line 2, City*, Postal Code*, Province (BC), Country (Canada).
85116
+ * Province and Country are always disabled; the rest follow `enabled`.
85117
+ */
85118
+ static createOfficeAddressFormGroup(delta, enabled = true) {
85119
+ const group2 = new FormGroup({
85120
+ [Controls2.AddressLine1]: new FormControl(delta?.addressLine1 ?? "", Validators.required),
85121
+ [Controls2.AddressLine2]: new FormControl(delta?.addressLine2 ?? ""),
85122
+ [Controls2.City]: new FormControl(delta?.city ?? "", Validators.required),
85123
+ [Controls2.PostalCode]: new FormControl(delta?.postalCode ?? "", Validators.required),
85124
+ [Controls2.Province]: this.readOnly(delta?.province ?? BC_DEFAULT_PROVINCE_STATE),
85125
+ [Controls2.Country]: this.readOnly(delta?.country ?? BC_DEFAULT_COUNTRY)
85126
+ });
85127
+ this.setOfficeAddressEnabled(group2, enabled);
85128
+ return group2;
85129
+ }
85130
+ /** Enables or disables the editable controls of an address grid (used by "Same as…" checkboxes). */
85131
+ static setOfficeAddressEnabled(group2, enabled) {
85132
+ if (!group2) {
85133
+ return;
85134
+ }
85135
+ EDITABLE_ADDRESS_CONTROLS.forEach((name) => {
85136
+ const control = group2.get(name);
85137
+ enabled ? control?.enable({ emitEvent: false }) : control?.disable({ emitEvent: false });
85138
+ });
85139
+ group2.updateValueAndValidity({ emitEvent: false });
85140
+ }
85141
+ static generateReferenceNumbersFormGroup(deltaData, clientMatterNumber) {
85142
+ return new FormGroup({
85143
+ [Controls2.ClientMatterNumber]: new FormControl(
85144
+ // `||`, not `??`: a draft saved with the field empty stores '' and must not hide the entity's number.
85145
+ deltaData?.referenceNumber || clientMatterNumber || ""
85146
+ ),
85147
+ [Controls2.DocketNumber]: new FormControl(deltaData?.docketNumber ?? "")
85148
+ });
85149
+ }
85150
+ static readOnly(value) {
85151
+ return new FormControl({ value: value ?? "", disabled: true });
85152
+ }
85153
+ };
85154
+ }
85155
+ });
85156
+
85005
85157
  // src/app/constants/ui/british-columbia-change-of-directors-form.constants.ts
85006
- var Controls2, labelledValue, readOnlyRow, directorsAddedOrDeleted, isNotifyByMail, BC_COD_DELTA_CARD_FORM_REFERENCE_NUMBERS_FIELDS, BC_COD_CARD_FORM_CORPORATION_DETAILS_FIELDS, BC_COD_DELTA_CARD_FORM_FILING_DETAILS_FIELDS, generateBCChangeOfDirectorsIntroFields, BC_COD_CARD_FORM_DIRECTORS_FIELDS, BC_COD_DELTA_CARD_FORM_ANNUAL_REPORT_REMINDER_FIELDS;
85158
+ var Controls3, labelledValue, readOnlyRow, directorsAddedOrDeleted, isNotifyByMail, BC_COD_DELTA_CARD_FORM_REFERENCE_NUMBERS_FIELDS, BC_COD_CARD_FORM_CORPORATION_DETAILS_FIELDS, BC_COD_DELTA_CARD_FORM_FILING_DETAILS_FIELDS, generateBCChangeOfDirectorsIntroFields, BC_COD_CARD_FORM_DIRECTORS_FIELDS, BC_COD_DELTA_CARD_FORM_ANNUAL_REPORT_REMINDER_FIELDS;
85007
85159
  var init_british_columbia_change_of_directors_form_constants = __esm({
85008
85160
  "src/app/constants/ui/british-columbia-change-of-directors-form.constants.ts"() {
85009
85161
  init_form_enums();
85010
85162
  init_british_columbia_form_enums();
85011
85163
  init_BritishColumbiaConstants();
85012
- Controls2 = BCChangeOfDirectorsFormControls;
85164
+ Controls3 = BCChangeOfDirectorsFormControls;
85013
85165
  labelledValue = (label, value, t) => `<span class="body-1-semibold">${t(label)}:</span> ${value || t("Not specified")}`;
85014
85166
  readOnlyRow = (label, control, className = "span-12") => ({
85015
85167
  type: FormType.Text,
@@ -85017,24 +85169,24 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
85017
85169
  class: className,
85018
85170
  dynamicLabel: (form, t) => labelledValue(label, form.get(control)?.value, t)
85019
85171
  });
85020
- directorsAddedOrDeleted = (form) => Boolean(form.get(Controls2.DirectorsAddedOrDeleted)?.value);
85021
- isNotifyByMail = (form) => form.get(Controls2.NotificationMethod)?.value === BCNotificationMethod.Mail;
85172
+ directorsAddedOrDeleted = (form) => Boolean(form.get(Controls3.DirectorsAddedOrDeleted)?.value);
85173
+ isNotifyByMail = (form) => form.get(Controls3.NotificationMethod)?.value === BCNotificationMethod.Mail;
85022
85174
  BC_COD_DELTA_CARD_FORM_REFERENCE_NUMBERS_FIELDS = [
85023
85175
  {
85024
85176
  type: FormType.Input,
85025
85177
  label: "Client/Matter Number",
85026
- formControlName: Controls2.ClientMatterNumber
85178
+ formControlName: Controls3.ClientMatterNumber
85027
85179
  },
85028
85180
  {
85029
85181
  type: FormType.Input,
85030
85182
  label: "Docket Number",
85031
- formControlName: Controls2.DocketNumber
85183
+ formControlName: Controls3.DocketNumber
85032
85184
  }
85033
85185
  ];
85034
85186
  BC_COD_CARD_FORM_CORPORATION_DETAILS_FIELDS = [
85035
- readOnlyRow("Corporation Name", Controls2.CorporationName),
85036
- readOnlyRow("Incorporation Number", Controls2.IncorporationNumber),
85037
- readOnlyRow("Company Email", Controls2.CompanyEmail)
85187
+ readOnlyRow("Corporation Name", Controls3.CorporationName),
85188
+ readOnlyRow("Incorporation Number", Controls3.IncorporationNumber),
85189
+ readOnlyRow("Company Email", Controls3.CompanyEmail)
85038
85190
  ];
85039
85191
  BC_COD_DELTA_CARD_FORM_FILING_DETAILS_FIELDS = [
85040
85192
  {
@@ -85046,24 +85198,24 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
85046
85198
  {
85047
85199
  type: FormType.Checkbox,
85048
85200
  label: "Directors will be added and/or deleted as part of this filing",
85049
- formControlName: Controls2.DirectorsAddedOrDeleted,
85201
+ formControlName: Controls3.DirectorsAddedOrDeleted,
85050
85202
  class: "span-12",
85051
85203
  onChange: (form) => {
85052
85204
  if (!directorsAddedOrDeleted(form)) {
85053
- form.get(Controls2.ChangeDate)?.setValue("", { emitEvent: false });
85205
+ form.get(Controls3.ChangeDate)?.setValue("", { emitEvent: false });
85054
85206
  }
85055
- form.get(Controls2.ChangeDate)?.updateValueAndValidity({ emitEvent: false });
85207
+ form.get(Controls3.ChangeDate)?.updateValueAndValidity({ emitEvent: false });
85056
85208
  }
85057
85209
  },
85058
85210
  {
85059
85211
  type: FormType.Date,
85060
85212
  label: "Date Directors were added or deleted",
85061
- formControlName: Controls2.ChangeDate,
85213
+ formControlName: Controls3.ChangeDate,
85062
85214
  required: true,
85063
85215
  isVisible: directorsAddedOrDeleted,
85064
85216
  class: "span-8"
85065
85217
  },
85066
- __spreadProps(__spreadValues({}, readOnlyRow("Filing Fee", Controls2.FilingFee, "span-4")), {
85218
+ __spreadProps(__spreadValues({}, readOnlyRow("Filing Fee", Controls3.FilingFee, "span-4")), {
85067
85219
  isVisible: directorsAddedOrDeleted
85068
85220
  }),
85069
85221
  {
@@ -85083,34 +85235,34 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
85083
85235
  }
85084
85236
  ];
85085
85237
  BC_COD_CARD_FORM_DIRECTORS_FIELDS = [
85086
- readOnlyRow("Mailing Address - Full Address", Controls2.MailingAddress),
85087
- readOnlyRow("Delivery Address - Full Address", Controls2.DeliveryAddress)
85238
+ readOnlyRow("Mailing Address - Full Address", Controls3.MailingAddress),
85239
+ readOnlyRow("Delivery Address - Full Address", Controls3.DeliveryAddress)
85088
85240
  ];
85089
85241
  [
85090
85242
  {
85091
85243
  type: FormType.Select,
85092
85244
  label: "Notification Method",
85093
- formControlName: Controls2.NotificationMethod,
85245
+ formControlName: Controls3.NotificationMethod,
85094
85246
  required: true,
85095
85247
  options: BC_NOTIFICATION_METHOD_OPTIONS,
85096
85248
  needTranslate: true,
85097
85249
  class: "span-6",
85098
- onChange: (form) => form.get(Controls2.NotificationEmail)?.updateValueAndValidity({ emitEvent: false })
85250
+ onChange: (form) => form.get(Controls3.NotificationEmail)?.updateValueAndValidity({ emitEvent: false })
85099
85251
  },
85100
85252
  {
85101
85253
  type: FormType.Input,
85102
85254
  label: "Notification Email",
85103
- formControlName: Controls2.NotificationEmail,
85255
+ formControlName: Controls3.NotificationEmail,
85104
85256
  required: true,
85105
85257
  isVisible: (form) => !isNotifyByMail(form),
85106
85258
  class: "column-3"
85107
85259
  },
85108
85260
  {
85109
85261
  type: FormType.Text,
85110
- formControlName: Controls2.NotificationMailingAddress,
85262
+ formControlName: Controls3.NotificationMailingAddress,
85111
85263
  class: "span-12",
85112
85264
  isVisible: isNotifyByMail,
85113
- dynamicLabel: (form, t) => `<span class="body-1-semibold">${t("Mailing Address")}:</span> ${t("defaults to Registered Office mailing address")} (${form.get(Controls2.NotificationMailingAddress)?.value || t("Not specified")})`
85265
+ dynamicLabel: (form, t) => `<span class="body-1-semibold">${t("Mailing Address")}:</span> ${t("defaults to Registered Office mailing address")} (${form.get(Controls3.NotificationMailingAddress)?.value || t("Not specified")})`
85114
85266
  }
85115
85267
  ];
85116
85268
  BC_COD_DELTA_CARD_FORM_ANNUAL_REPORT_REMINDER_FIELDS = [
@@ -85123,7 +85275,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
85123
85275
  {
85124
85276
  type: FormType.Select,
85125
85277
  label: "Annual Report Reminder",
85126
- formControlName: Controls2.AnnualReportReminder,
85278
+ formControlName: Controls3.AnnualReportReminder,
85127
85279
  required: true,
85128
85280
  options: BC_ANNUAL_REPORT_REMINDER_OPTIONS,
85129
85281
  needTranslate: true,
@@ -86146,15 +86298,27 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
86146
86298
  dynamicLabel: (_, t) => t("There is an additional fee of {{fee}} for an effective date in the future.").replace("{{fee}}", BC_FUTURE_EFFECTIVE_DATE_FEE)
86147
86299
  },
86148
86300
  {
86149
- // Options are filled per task from `task.entity.emailOptions` by the incorporation form.
86150
- type: FormType.Select,
86301
+ type: FormType.Input,
86302
+ inputType: "email",
86151
86303
  label: "Company Email",
86152
86304
  formControlName: BCFormationFormControls.CompanyEmail,
86153
86305
  required: true,
86154
- options: [],
86306
+ maxLength: BC_COMPANY_EMAIL_MAX_LENGTH,
86307
+ errorMessage: "Enter a valid email address",
86308
+ showRequiredMessage: true,
86309
+ class: "span-6"
86310
+ },
86311
+ {
86312
+ type: FormType.Input,
86313
+ inputType: "password",
86314
+ label: "Company Password",
86315
+ formControlName: BCFormationFormControls.CompanyPassword,
86316
+ required: true,
86317
+ maxLength: BC_PASSWORD_MAX_LENGTH,
86318
+ errorMessage: "Company Password must be 8 to 15 characters",
86319
+ showRequiredMessage: true,
86155
86320
  class: "span-6"
86156
86321
  }
86157
- // The company password is not shown: it is taken from the entity's registry ID.
86158
86322
  ];
86159
86323
  BC_FORMATION_DELTA_CARD_FORM_NAME_TRANSLATION_FIELDS = [
86160
86324
  {
@@ -86513,7 +86677,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
86513
86677
  const corporationDetails_r11 = \u0275\u0275readContextLet(6);
86514
86678
  \u0275\u0275property("isValid", ctx_r0.sectionValidity["corpDetails"] && ctx_r0.sectionValidity["nameTranslation"] && ctx_r0.areNameTranslationsValid())("isStatusIcon", ctx_r0.statusIcon())("title", ctx_r0.groups.CorporationDetails);
86515
86679
  \u0275\u0275advance(2);
86516
- \u0275\u0275property("isSubmitted", ctx_r0.isSubmitted())("form", corporationDetails_r11)("config", ctx_r0.corporationDetailsFields());
86680
+ \u0275\u0275property("isSubmitted", ctx_r0.isSubmitted())("form", corporationDetails_r11)("config", ctx_r0.corporationDetailsFields);
86517
86681
  \u0275\u0275advance(2);
86518
86682
  \u0275\u0275textInterpolate(\u0275\u0275pipeBind1(5, 11, "Name Translation"));
86519
86683
  \u0275\u0275advance(2);
@@ -86748,12 +86912,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
86748
86912
  groups = BCFormationFormGroups;
86749
86913
  controls = BCFormationFormControls;
86750
86914
  referenceNumbersFields = BC_FORMATION_DELTA_CARD_FORM_REFERENCE_NUMBERS_FIELDS;
86751
- /** Corporation Details fields, with the Company Email dropdown filled from the task. */
86752
- corporationDetailsFields = computed(() => {
86753
- const currentEmail = this.form().get(this.groups.CorporationDetails)?.get(this.controls.CompanyEmail)?.value;
86754
- const emailOptions = BritishColumbiaFormationFormHelper.buildCompanyEmailOptions(this.task(), currentEmail);
86755
- return BC_FORMATION_DELTA_CARD_FORM_CORPORATION_DETAILS_FIELDS.map((field) => field.formControlName === this.controls.CompanyEmail ? __spreadProps(__spreadValues({}, field), { options: emailOptions }) : field);
86756
- });
86915
+ corporationDetailsFields = BC_FORMATION_DELTA_CARD_FORM_CORPORATION_DETAILS_FIELDS;
86757
86916
  nameTranslationFields = BC_FORMATION_DELTA_CARD_FORM_NAME_TRANSLATION_FIELDS;
86758
86917
  nameTranslationRowFields = BC_FORMATION_DELTA_CARD_FORM_NAME_TRANSLATION_ROW_FIELDS;
86759
86918
  registeredOfficeFields = BC_FORMATION_CARD_FORM_REGISTERED_OFFICE_FIELDS;
@@ -86943,7 +87102,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
86943
87102
  <filing-form-group\r
86944
87103
  [isSubmitted]="isSubmitted()"\r
86945
87104
  [form]="corporationDetails"\r
86946
- [config]="corporationDetailsFields()"\r
87105
+ [config]="corporationDetailsFields"\r
86947
87106
  (visiblyValidChange)="onSectionValidChange('corpDetails', $event)"\r
86948
87107
  />\r
86949
87108
  \r
@@ -87364,11 +87523,924 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
87364
87523
  }
87365
87524
  });
87366
87525
 
87526
+ // src/app/constants/ui/british-columbia-change-of-office-addresses-form.constants.ts
87527
+ var Controls4, labelledValue3, readOnlyRow2, isChecked, addressGroup, BC_COA_DELTA_CARD_FORM_REFERENCE_NUMBERS_FIELDS, effectiveDateNote, BC_COA_CARD_FORM_CORPORATION_DETAILS_FIELDS, BC_COA_DELTA_CARD_FORM_CORPORATION_DETAILS_FIELDS, BC_COA_CARD_FORM_CURRENT_ADDRESSES_FIELDS, BC_COA_DELTA_CARD_FORM_OFFICE_ADDRESS_FIELDS, BC_COA_CARD_FORM_DELIVERY_ADDRESS_NOTE_FIELDS, BC_COA_DELTA_CARD_FORM_DELIVERY_SAME_AS_MAILING_FIELDS, BC_COA_DELTA_CARD_FORM_SAME_AS_REGISTERED_OFFICE_FIELDS;
87528
+ var init_british_columbia_change_of_office_addresses_form_constants = __esm({
87529
+ "src/app/constants/ui/british-columbia-change-of-office-addresses-form.constants.ts"() {
87530
+ init_form_enums();
87531
+ init_british_columbia_form_enums();
87532
+ init_BritishColumbiaConstants();
87533
+ init_british_columbia_change_of_office_addresses_form_helper();
87534
+ Controls4 = BCChangeOfOfficeAddressesFormControls;
87535
+ labelledValue3 = (label, value, t) => `<span class="body-1-semibold">${t(label)}:</span> ${value || t("Not specified")}`;
87536
+ readOnlyRow2 = (label, control, className = "span-12") => ({
87537
+ type: FormType.Text,
87538
+ formControlName: control,
87539
+ class: className,
87540
+ dynamicLabel: (form, t) => labelledValue3(label, form.get(control)?.value, t)
87541
+ });
87542
+ isChecked = (form, control) => Boolean(form.get(control)?.value);
87543
+ addressGroup = (form, control) => form.get(control);
87544
+ BC_COA_DELTA_CARD_FORM_REFERENCE_NUMBERS_FIELDS = [
87545
+ {
87546
+ type: FormType.Input,
87547
+ label: "Client/Matter Number",
87548
+ formControlName: Controls4.ClientMatterNumber
87549
+ },
87550
+ {
87551
+ type: FormType.Input,
87552
+ label: "Docket Number",
87553
+ formControlName: Controls4.DocketNumber
87554
+ }
87555
+ ];
87556
+ effectiveDateNote = {
87557
+ type: FormType.Text,
87558
+ formControlName: "",
87559
+ class: "span-12 note-box",
87560
+ dynamicLabel: (_, t) => `<span class="body-1-semibold">${t("Note")}:</span> ${t("The new addresses will take effect at the beginning of the day following the filing date. The registered and records offices must be located in British Columbia.")}`
87561
+ };
87562
+ BC_COA_CARD_FORM_CORPORATION_DETAILS_FIELDS = [
87563
+ readOnlyRow2("Corporation Name", Controls4.CorporationName),
87564
+ readOnlyRow2("Incorporation Number", Controls4.IncorporationNumber),
87565
+ readOnlyRow2("Company Email", Controls4.CompanyEmail),
87566
+ effectiveDateNote
87567
+ ];
87568
+ BC_COA_DELTA_CARD_FORM_CORPORATION_DETAILS_FIELDS = [
87569
+ readOnlyRow2("Corporation Name", Controls4.CorporationName),
87570
+ readOnlyRow2("Incorporation Number", Controls4.IncorporationNumber),
87571
+ {
87572
+ type: FormType.Input,
87573
+ inputType: "email",
87574
+ label: "Company Email",
87575
+ formControlName: Controls4.CompanyEmail,
87576
+ required: true,
87577
+ maxLength: BC_COMPANY_EMAIL_MAX_LENGTH,
87578
+ errorMessage: "Enter a valid email address",
87579
+ showRequiredMessage: true,
87580
+ class: "span-6"
87581
+ },
87582
+ {
87583
+ type: FormType.Input,
87584
+ inputType: "password",
87585
+ label: "Company Password",
87586
+ formControlName: Controls4.CompanyPassword,
87587
+ required: true,
87588
+ maxLength: BC_PASSWORD_MAX_LENGTH,
87589
+ errorMessage: "Company Password must be 8 to 15 characters",
87590
+ showRequiredMessage: true,
87591
+ class: "span-6"
87592
+ },
87593
+ effectiveDateNote
87594
+ ];
87595
+ BC_COA_CARD_FORM_CURRENT_ADDRESSES_FIELDS = [
87596
+ readOnlyRow2("Current Mailing Address", Controls4.CurrentMailingAddress),
87597
+ readOnlyRow2("Current Delivery Address", Controls4.CurrentDeliveryAddress)
87598
+ ];
87599
+ BC_COA_DELTA_CARD_FORM_OFFICE_ADDRESS_FIELDS = [
87600
+ {
87601
+ type: FormType.Input,
87602
+ label: "Address Line 1",
87603
+ formControlName: Controls4.AddressLine1,
87604
+ required: true,
87605
+ class: "span-6"
87606
+ },
87607
+ {
87608
+ type: FormType.Input,
87609
+ label: "Address Line 2",
87610
+ formControlName: Controls4.AddressLine2,
87611
+ class: "span-6"
87612
+ },
87613
+ {
87614
+ type: FormType.Input,
87615
+ label: "City",
87616
+ formControlName: Controls4.City,
87617
+ required: true,
87618
+ class: "span-6"
87619
+ },
87620
+ {
87621
+ type: FormType.Input,
87622
+ label: "Postal Code",
87623
+ formControlName: Controls4.PostalCode,
87624
+ required: true,
87625
+ class: "span-6"
87626
+ },
87627
+ {
87628
+ type: FormType.Input,
87629
+ label: "Province",
87630
+ formControlName: Controls4.Province,
87631
+ readonly: true,
87632
+ class: "span-6"
87633
+ },
87634
+ {
87635
+ type: FormType.Input,
87636
+ label: "Country",
87637
+ formControlName: Controls4.Country,
87638
+ readonly: true,
87639
+ class: "span-6"
87640
+ }
87641
+ ];
87642
+ BC_COA_CARD_FORM_DELIVERY_ADDRESS_NOTE_FIELDS = [
87643
+ {
87644
+ type: FormType.Text,
87645
+ formControlName: "",
87646
+ class: "span-12",
87647
+ dynamicLabel: (_, t) => t("The delivery address must be a physical location in British Columbia where documents can be delivered during statutory business hours. A post office box is not acceptable.")
87648
+ }
87649
+ ];
87650
+ BC_COA_DELTA_CARD_FORM_DELIVERY_SAME_AS_MAILING_FIELDS = [
87651
+ {
87652
+ type: FormType.Checkbox,
87653
+ label: "Same as Mailing Address",
87654
+ formControlName: Controls4.DeliverySameAsMailing,
87655
+ class: "span-12",
87656
+ onChange: (form) => BritishColumbiaChangeOfOfficeAddressesFormHelper.setOfficeAddressEnabled(addressGroup(form, Controls4.NewDeliveryAddress), !isChecked(form, Controls4.DeliverySameAsMailing))
87657
+ }
87658
+ ];
87659
+ BC_COA_DELTA_CARD_FORM_SAME_AS_REGISTERED_OFFICE_FIELDS = [
87660
+ {
87661
+ type: FormType.Checkbox,
87662
+ label: "Same as Registered Office",
87663
+ formControlName: Controls4.SameAsRegisteredOffice,
87664
+ class: "span-12",
87665
+ onChange: (form) => {
87666
+ const sameAsRegistered = isChecked(form, Controls4.SameAsRegisteredOffice);
87667
+ const deliverySame = isChecked(form, Controls4.DeliverySameAsMailing);
87668
+ BritishColumbiaChangeOfOfficeAddressesFormHelper.setOfficeAddressEnabled(addressGroup(form, Controls4.NewMailingAddress), !sameAsRegistered);
87669
+ BritishColumbiaChangeOfOfficeAddressesFormHelper.setOfficeAddressEnabled(addressGroup(form, Controls4.NewDeliveryAddress), !sameAsRegistered && !deliverySame);
87670
+ }
87671
+ }
87672
+ ];
87673
+ }
87674
+ });
87675
+
87676
+ // src/app/components/british-columbia/change-of-office-addresses/change-of-office-addresses-form/change-of-office-addresses-form.component.ts
87677
+ function BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_1_Template(rf, ctx) {
87678
+ if (rf & 1) {
87679
+ \u0275\u0275element(0, "alert", 1);
87680
+ }
87681
+ if (rf & 2) {
87682
+ const ctx_r0 = \u0275\u0275nextContext();
87683
+ \u0275\u0275property("type", ctx_r0.alertType.Info);
87684
+ }
87685
+ }
87686
+ function BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_2_Template(rf, ctx) {
87687
+ if (rf & 1) {
87688
+ \u0275\u0275element(0, "alert", 2);
87689
+ }
87690
+ if (rf & 2) {
87691
+ const ctx_r0 = \u0275\u0275nextContext();
87692
+ \u0275\u0275property("content", ctx_r0.errors());
87693
+ }
87694
+ }
87695
+ function BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_5_Template(rf, ctx) {
87696
+ if (rf & 1) {
87697
+ const _r2 = \u0275\u0275getCurrentView();
87698
+ \u0275\u0275elementStart(0, "expandable-card", 4)(1, "filing-form-group", 7);
87699
+ \u0275\u0275listener("visiblyValidChange", function BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_5_Template_filing_form_group_visiblyValidChange_1_listener($event) {
87700
+ \u0275\u0275restoreView(_r2);
87701
+ const ctx_r0 = \u0275\u0275nextContext();
87702
+ return \u0275\u0275resetView(ctx_r0.onSectionValidChange("refNumbers", $event));
87703
+ });
87704
+ \u0275\u0275elementEnd()();
87705
+ }
87706
+ if (rf & 2) {
87707
+ const ctx_r0 = \u0275\u0275nextContext();
87708
+ const referenceNumbers_r3 = \u0275\u0275readContextLet(4);
87709
+ \u0275\u0275property("title", ctx_r0.groups.ReferenceNumbers);
87710
+ \u0275\u0275advance();
87711
+ \u0275\u0275property("isSubmitted", ctx_r0.isSubmitted())("form", referenceNumbers_r3)("config", ctx_r0.referenceNumbersFields);
87712
+ }
87713
+ }
87714
+ function BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_7_Template(rf, ctx) {
87715
+ if (rf & 1) {
87716
+ const _r4 = \u0275\u0275getCurrentView();
87717
+ \u0275\u0275elementStart(0, "expandable-card", 5)(1, "filing-form-group", 7);
87718
+ \u0275\u0275listener("visiblyValidChange", function BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_7_Template_filing_form_group_visiblyValidChange_1_listener($event) {
87719
+ \u0275\u0275restoreView(_r4);
87720
+ const ctx_r0 = \u0275\u0275nextContext();
87721
+ return \u0275\u0275resetView(ctx_r0.onSectionValidChange("corporationDetails", $event));
87722
+ });
87723
+ \u0275\u0275elementEnd()();
87724
+ }
87725
+ if (rf & 2) {
87726
+ const ctx_r0 = \u0275\u0275nextContext();
87727
+ const corporationDetails_r5 = \u0275\u0275readContextLet(6);
87728
+ \u0275\u0275property("isStatusIcon", false)("title", ctx_r0.groups.CorporationDetails);
87729
+ \u0275\u0275advance();
87730
+ \u0275\u0275property("isSubmitted", ctx_r0.isSubmitted())("form", corporationDetails_r5)("config", ctx_r0.readonly() ? ctx_r0.corporationDetailsFields : ctx_r0.editableCorporationDetailsFields);
87731
+ }
87732
+ }
87733
+ function BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_9_Conditional_9_Template(rf, ctx) {
87734
+ if (rf & 1) {
87735
+ const _r7 = \u0275\u0275getCurrentView();
87736
+ \u0275\u0275elementStart(0, "filing-form-group", 7);
87737
+ \u0275\u0275listener("visiblyValidChange", function BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_9_Conditional_9_Template_filing_form_group_visiblyValidChange_0_listener() {
87738
+ \u0275\u0275restoreView(_r7);
87739
+ const ctx_r0 = \u0275\u0275nextContext(2);
87740
+ return \u0275\u0275resetView(ctx_r0.emitValidity());
87741
+ });
87742
+ \u0275\u0275elementEnd();
87743
+ }
87744
+ if (rf & 2) {
87745
+ \u0275\u0275nextContext();
87746
+ const registeredMailing_r8 = \u0275\u0275readContextLet(0);
87747
+ const ctx_r0 = \u0275\u0275nextContext();
87748
+ \u0275\u0275property("isSubmitted", ctx_r0.isSubmitted())("form", registeredMailing_r8)("config", ctx_r0.addressFields);
87749
+ }
87750
+ }
87751
+ function BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_9_Conditional_14_Template(rf, ctx) {
87752
+ if (rf & 1) {
87753
+ const _r9 = \u0275\u0275getCurrentView();
87754
+ \u0275\u0275element(0, "filing-form-group", 9);
87755
+ \u0275\u0275elementStart(1, "filing-form-group", 7);
87756
+ \u0275\u0275listener("visiblyValidChange", function BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_9_Conditional_14_Template_filing_form_group_visiblyValidChange_1_listener() {
87757
+ \u0275\u0275restoreView(_r9);
87758
+ const ctx_r0 = \u0275\u0275nextContext(2);
87759
+ return \u0275\u0275resetView(ctx_r0.emitValidity());
87760
+ });
87761
+ \u0275\u0275elementEnd();
87762
+ }
87763
+ if (rf & 2) {
87764
+ \u0275\u0275nextContext();
87765
+ const registeredDelivery_r10 = \u0275\u0275readContextLet(1);
87766
+ const ctx_r0 = \u0275\u0275nextContext();
87767
+ const registeredOffice_r11 = \u0275\u0275readContextLet(8);
87768
+ \u0275\u0275property("isSubmitted", ctx_r0.isSubmitted())("form", registeredOffice_r11)("config", ctx_r0.deliveryNoteFields);
87769
+ \u0275\u0275advance();
87770
+ \u0275\u0275property("isSubmitted", ctx_r0.isSubmitted())("form", registeredDelivery_r10)("config", ctx_r0.addressFields);
87771
+ }
87772
+ }
87773
+ function BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_9_Template(rf, ctx) {
87774
+ if (rf & 1) {
87775
+ const _r6 = \u0275\u0275getCurrentView();
87776
+ \u0275\u0275declareLet(0)(1)(2);
87777
+ \u0275\u0275elementStart(3, "expandable-card", 6)(4, "div", 8);
87778
+ \u0275\u0275element(5, "filing-form-group", 9);
87779
+ \u0275\u0275elementStart(6, "h4", 10);
87780
+ \u0275\u0275text(7);
87781
+ \u0275\u0275pipe(8, "translate");
87782
+ \u0275\u0275elementEnd();
87783
+ \u0275\u0275template(9, BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_9_Conditional_9_Template, 1, 3, "filing-form-group", 9);
87784
+ \u0275\u0275elementStart(10, "h4", 10);
87785
+ \u0275\u0275text(11);
87786
+ \u0275\u0275pipe(12, "translate");
87787
+ \u0275\u0275elementEnd();
87788
+ \u0275\u0275elementStart(13, "filing-form-group", 7);
87789
+ \u0275\u0275listener("visiblyValidChange", function BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_9_Template_filing_form_group_visiblyValidChange_13_listener() {
87790
+ \u0275\u0275restoreView(_r6);
87791
+ const ctx_r0 = \u0275\u0275nextContext();
87792
+ return \u0275\u0275resetView(ctx_r0.emitValidity());
87793
+ });
87794
+ \u0275\u0275elementEnd();
87795
+ \u0275\u0275template(14, BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_9_Conditional_14_Template, 2, 6);
87796
+ \u0275\u0275elementEnd()();
87797
+ }
87798
+ if (rf & 2) {
87799
+ const ctx_r0 = \u0275\u0275nextContext();
87800
+ const registeredOffice_r11 = \u0275\u0275readContextLet(8);
87801
+ const registeredMailing_r12 = \u0275\u0275storeLet(ctx_r0.getAddressGroup(registeredOffice_r11, ctx_r0.controls.NewMailingAddress));
87802
+ \u0275\u0275advance();
87803
+ const registeredDelivery_r13 = \u0275\u0275storeLet(ctx_r0.getAddressGroup(registeredOffice_r11, ctx_r0.controls.NewDeliveryAddress));
87804
+ const registeredDeliverySame_r14 = ctx_r0.isChecked(registeredOffice_r11, ctx_r0.controls.DeliverySameAsMailing);
87805
+ \u0275\u0275advance(2);
87806
+ \u0275\u0275property("isStatusIcon", !ctx_r0.readonly())("isValid", ctx_r0.isRegisteredOfficeValid())("title", ctx_r0.groups.RegisteredOfficeAddress);
87807
+ \u0275\u0275advance(2);
87808
+ \u0275\u0275property("isSubmitted", ctx_r0.isSubmitted())("form", registeredOffice_r11)("config", ctx_r0.currentAddressesFields);
87809
+ \u0275\u0275advance(2);
87810
+ \u0275\u0275textInterpolate(\u0275\u0275pipeBind1(8, 15, "New Mailing Address"));
87811
+ \u0275\u0275advance(2);
87812
+ \u0275\u0275conditional(registeredMailing_r12 ? 9 : -1);
87813
+ \u0275\u0275advance(2);
87814
+ \u0275\u0275textInterpolate(\u0275\u0275pipeBind1(12, 17, "New Delivery Address"));
87815
+ \u0275\u0275advance(2);
87816
+ \u0275\u0275property("isSubmitted", ctx_r0.isSubmitted())("form", registeredOffice_r11)("config", ctx_r0.deliverySameAsMailingFields);
87817
+ \u0275\u0275advance();
87818
+ \u0275\u0275conditional(!registeredDeliverySame_r14 && registeredDelivery_r13 ? 14 : -1);
87819
+ }
87820
+ }
87821
+ function BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_11_Conditional_8_Conditional_3_Template(rf, ctx) {
87822
+ if (rf & 1) {
87823
+ const _r17 = \u0275\u0275getCurrentView();
87824
+ \u0275\u0275elementStart(0, "filing-form-group", 7);
87825
+ \u0275\u0275listener("visiblyValidChange", function BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_11_Conditional_8_Conditional_3_Template_filing_form_group_visiblyValidChange_0_listener() {
87826
+ \u0275\u0275restoreView(_r17);
87827
+ const ctx_r0 = \u0275\u0275nextContext(3);
87828
+ return \u0275\u0275resetView(ctx_r0.emitValidity());
87829
+ });
87830
+ \u0275\u0275elementEnd();
87831
+ }
87832
+ if (rf & 2) {
87833
+ \u0275\u0275nextContext(2);
87834
+ const recordsMailing_r18 = \u0275\u0275readContextLet(0);
87835
+ const ctx_r0 = \u0275\u0275nextContext();
87836
+ \u0275\u0275property("isSubmitted", ctx_r0.isSubmitted())("form", recordsMailing_r18)("config", ctx_r0.addressFields);
87837
+ }
87838
+ }
87839
+ function BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_11_Conditional_8_Conditional_8_Template(rf, ctx) {
87840
+ if (rf & 1) {
87841
+ const _r19 = \u0275\u0275getCurrentView();
87842
+ \u0275\u0275elementStart(0, "filing-form-group", 7);
87843
+ \u0275\u0275listener("visiblyValidChange", function BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_11_Conditional_8_Conditional_8_Template_filing_form_group_visiblyValidChange_0_listener() {
87844
+ \u0275\u0275restoreView(_r19);
87845
+ const ctx_r0 = \u0275\u0275nextContext(3);
87846
+ return \u0275\u0275resetView(ctx_r0.emitValidity());
87847
+ });
87848
+ \u0275\u0275elementEnd();
87849
+ }
87850
+ if (rf & 2) {
87851
+ \u0275\u0275nextContext(2);
87852
+ const recordsDelivery_r20 = \u0275\u0275readContextLet(1);
87853
+ const ctx_r0 = \u0275\u0275nextContext();
87854
+ \u0275\u0275property("isSubmitted", ctx_r0.isSubmitted())("form", recordsDelivery_r20)("config", ctx_r0.addressFields);
87855
+ }
87856
+ }
87857
+ function BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_11_Conditional_8_Template(rf, ctx) {
87858
+ if (rf & 1) {
87859
+ const _r16 = \u0275\u0275getCurrentView();
87860
+ \u0275\u0275elementStart(0, "h4", 10);
87861
+ \u0275\u0275text(1);
87862
+ \u0275\u0275pipe(2, "translate");
87863
+ \u0275\u0275elementEnd();
87864
+ \u0275\u0275template(3, BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_11_Conditional_8_Conditional_3_Template, 1, 3, "filing-form-group", 9);
87865
+ \u0275\u0275elementStart(4, "h4", 10);
87866
+ \u0275\u0275text(5);
87867
+ \u0275\u0275pipe(6, "translate");
87868
+ \u0275\u0275elementEnd();
87869
+ \u0275\u0275elementStart(7, "filing-form-group", 7);
87870
+ \u0275\u0275listener("visiblyValidChange", function BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_11_Conditional_8_Template_filing_form_group_visiblyValidChange_7_listener() {
87871
+ \u0275\u0275restoreView(_r16);
87872
+ const ctx_r0 = \u0275\u0275nextContext(2);
87873
+ return \u0275\u0275resetView(ctx_r0.emitValidity());
87874
+ });
87875
+ \u0275\u0275elementEnd();
87876
+ \u0275\u0275template(8, BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_11_Conditional_8_Conditional_8_Template, 1, 3, "filing-form-group", 9);
87877
+ }
87878
+ if (rf & 2) {
87879
+ \u0275\u0275nextContext();
87880
+ const recordsMailing_r18 = \u0275\u0275readContextLet(0);
87881
+ const recordsDelivery_r20 = \u0275\u0275readContextLet(1);
87882
+ const recordsDeliverySame_r21 = \u0275\u0275readContextLet(3);
87883
+ const ctx_r0 = \u0275\u0275nextContext();
87884
+ const recordsOffice_r22 = \u0275\u0275readContextLet(10);
87885
+ \u0275\u0275advance();
87886
+ \u0275\u0275textInterpolate(\u0275\u0275pipeBind1(2, 7, "New Mailing Address"));
87887
+ \u0275\u0275advance(2);
87888
+ \u0275\u0275conditional(recordsMailing_r18 ? 3 : -1);
87889
+ \u0275\u0275advance(2);
87890
+ \u0275\u0275textInterpolate(\u0275\u0275pipeBind1(6, 9, "New Delivery Address"));
87891
+ \u0275\u0275advance(2);
87892
+ \u0275\u0275property("isSubmitted", ctx_r0.isSubmitted())("form", recordsOffice_r22)("config", ctx_r0.deliverySameAsMailingFields);
87893
+ \u0275\u0275advance();
87894
+ \u0275\u0275conditional(!recordsDeliverySame_r21 && recordsDelivery_r20 ? 8 : -1);
87895
+ }
87896
+ }
87897
+ function BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_11_Template(rf, ctx) {
87898
+ if (rf & 1) {
87899
+ const _r15 = \u0275\u0275getCurrentView();
87900
+ \u0275\u0275declareLet(0)(1)(2)(3);
87901
+ \u0275\u0275elementStart(4, "expandable-card", 6)(5, "div", 8);
87902
+ \u0275\u0275element(6, "filing-form-group", 9);
87903
+ \u0275\u0275elementStart(7, "filing-form-group", 7);
87904
+ \u0275\u0275listener("visiblyValidChange", function BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_11_Template_filing_form_group_visiblyValidChange_7_listener() {
87905
+ \u0275\u0275restoreView(_r15);
87906
+ const ctx_r0 = \u0275\u0275nextContext();
87907
+ return \u0275\u0275resetView(ctx_r0.emitValidity());
87908
+ });
87909
+ \u0275\u0275elementEnd();
87910
+ \u0275\u0275template(8, BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_11_Conditional_8_Template, 9, 11);
87911
+ \u0275\u0275elementEnd()();
87912
+ }
87913
+ if (rf & 2) {
87914
+ const ctx_r0 = \u0275\u0275nextContext();
87915
+ const recordsOffice_r22 = \u0275\u0275readContextLet(10);
87916
+ \u0275\u0275storeLet(ctx_r0.getAddressGroup(recordsOffice_r22, ctx_r0.controls.NewMailingAddress));
87917
+ \u0275\u0275advance();
87918
+ \u0275\u0275storeLet(ctx_r0.getAddressGroup(recordsOffice_r22, ctx_r0.controls.NewDeliveryAddress));
87919
+ const recordsSameAsRegistered_r23 = ctx_r0.isChecked(recordsOffice_r22, ctx_r0.controls.SameAsRegisteredOffice);
87920
+ \u0275\u0275advance(2);
87921
+ \u0275\u0275storeLet(ctx_r0.isChecked(recordsOffice_r22, ctx_r0.controls.DeliverySameAsMailing));
87922
+ \u0275\u0275advance();
87923
+ \u0275\u0275property("isStatusIcon", !ctx_r0.readonly())("isValid", ctx_r0.isRecordsOfficeValid())("title", ctx_r0.groups.RecordsOfficeAddress);
87924
+ \u0275\u0275advance(2);
87925
+ \u0275\u0275property("isSubmitted", ctx_r0.isSubmitted())("form", recordsOffice_r22)("config", ctx_r0.currentAddressesFields);
87926
+ \u0275\u0275advance();
87927
+ \u0275\u0275property("isSubmitted", ctx_r0.isSubmitted())("form", recordsOffice_r22)("config", ctx_r0.sameAsRegisteredOfficeFields);
87928
+ \u0275\u0275advance();
87929
+ \u0275\u0275conditional(!recordsSameAsRegistered_r23 ? 8 : -1);
87930
+ }
87931
+ }
87932
+ var BritishColumbiaChangeOfOfficeAddressesFormComponent;
87933
+ var init_change_of_office_addresses_form_component = __esm({
87934
+ "src/app/components/british-columbia/change-of-office-addresses/change-of-office-addresses-form/change-of-office-addresses-form.component.ts"() {
87935
+ init_core();
87936
+ init_ngx_translate_core();
87937
+ init_filing_form_group_component();
87938
+ init_alert_component();
87939
+ init_alert_enum();
87940
+ init_expandable_card_component();
87941
+ init_british_columbia_form_enums();
87942
+ init_british_columbia_change_of_office_addresses_form_constants();
87943
+ init_forms_utils();
87944
+ init_core();
87945
+ BritishColumbiaChangeOfOfficeAddressesFormComponent = class _BritishColumbiaChangeOfOfficeAddressesFormComponent {
87946
+ form = input.required();
87947
+ task = input();
87948
+ errors = input([]);
87949
+ isNote = input(false);
87950
+ isSubmitted = input(false);
87951
+ readonly = input(false);
87952
+ visiblyValidChange = output();
87953
+ alertType = AlertType;
87954
+ groups = BCChangeOfOfficeAddressesFormGroups;
87955
+ controls = BCChangeOfOfficeAddressesFormControls;
87956
+ referenceNumbersFields = BC_COA_DELTA_CARD_FORM_REFERENCE_NUMBERS_FIELDS;
87957
+ corporationDetailsFields = BC_COA_CARD_FORM_CORPORATION_DETAILS_FIELDS;
87958
+ editableCorporationDetailsFields = BC_COA_DELTA_CARD_FORM_CORPORATION_DETAILS_FIELDS;
87959
+ currentAddressesFields = BC_COA_CARD_FORM_CURRENT_ADDRESSES_FIELDS;
87960
+ addressFields = BC_COA_DELTA_CARD_FORM_OFFICE_ADDRESS_FIELDS;
87961
+ deliveryNoteFields = BC_COA_CARD_FORM_DELIVERY_ADDRESS_NOTE_FIELDS;
87962
+ deliverySameAsMailingFields = BC_COA_DELTA_CARD_FORM_DELIVERY_SAME_AS_MAILING_FIELDS;
87963
+ sameAsRegisteredOfficeFields = BC_COA_DELTA_CARD_FORM_SAME_AS_REGISTERED_OFFICE_FIELDS;
87964
+ sectionValidity = {};
87965
+ isVisiblyValid() {
87966
+ return Object.values(this.sectionValidity).every((v) => v) && this.isRegisteredOfficeValid() && this.isRecordsOfficeValid();
87967
+ }
87968
+ isRegisteredOfficeValid() {
87969
+ const office = this.getFormGroup(this.groups.RegisteredOfficeAddress);
87970
+ return this.isAddressValid(office, this.controls.NewMailingAddress) && this.isAddressValid(office, this.controls.NewDeliveryAddress);
87971
+ }
87972
+ isRecordsOfficeValid() {
87973
+ const office = this.getFormGroup(this.groups.RecordsOfficeAddress);
87974
+ return this.isAddressValid(office, this.controls.NewMailingAddress) && this.isAddressValid(office, this.controls.NewDeliveryAddress);
87975
+ }
87976
+ isChecked(office, control) {
87977
+ return Boolean(office?.get(control)?.value);
87978
+ }
87979
+ onSectionValidChange(section, valid) {
87980
+ this.sectionValidity = __spreadProps(__spreadValues({}, this.sectionValidity), { [section]: valid });
87981
+ this.emitValidity();
87982
+ }
87983
+ emitValidity() {
87984
+ this.visiblyValidChange.emit(this.isVisiblyValid());
87985
+ }
87986
+ getFormGroup(key) {
87987
+ return this.form().get(key) ?? null;
87988
+ }
87989
+ getAddressGroup(office, control) {
87990
+ return office?.get(control) ?? null;
87991
+ }
87992
+ isAddressValid(office, control) {
87993
+ const group2 = this.getAddressGroup(office, control);
87994
+ return !group2 || group2.disabled || isFormGroupVisiblyValid(group2, this.addressFields);
87995
+ }
87996
+ static \u0275fac = function BritishColumbiaChangeOfOfficeAddressesFormComponent_Factory(__ngFactoryType__) {
87997
+ return new (__ngFactoryType__ || _BritishColumbiaChangeOfOfficeAddressesFormComponent)();
87998
+ };
87999
+ static \u0275cmp = /* @__PURE__ */ \u0275\u0275defineComponent({ type: _BritishColumbiaChangeOfOfficeAddressesFormComponent, selectors: [["british-columbia-change-of-office-addresses-form"]], inputs: { form: [1, "form"], task: [1, "task"], errors: [1, "errors"], isNote: [1, "isNote"], isSubmitted: [1, "isSubmitted"], readonly: [1, "readonly"] }, outputs: { visiblyValidChange: "visiblyValidChange" }, decls: 12, vars: 10, consts: [[1, "change-of-office-addresses-form"], ["title", "Entity changed", "content", "A new draft needs to be generated as the Entity was changed since the last draft was produced.", 3, "type"], ["title", "The following issues need to be resolved before proceeding:", 3, "content"], [1, "change-of-office-addresses-form-content"], [3, "title"], [3, "isStatusIcon", "title"], [3, "isStatusIcon", "isValid", "title"], [3, "visiblyValidChange", "isSubmitted", "form", "config"], [1, "change-of-office-addresses-form-item"], [3, "isSubmitted", "form", "config"], [1, "change-of-office-addresses-form-item-title"]], template: function BritishColumbiaChangeOfOfficeAddressesFormComponent_Template(rf, ctx) {
88000
+ if (rf & 1) {
88001
+ \u0275\u0275elementStart(0, "div", 0);
88002
+ \u0275\u0275template(1, BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_1_Template, 1, 1, "alert", 1)(2, BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_2_Template, 1, 1, "alert", 2);
88003
+ \u0275\u0275elementStart(3, "div", 3);
88004
+ \u0275\u0275declareLet(4);
88005
+ \u0275\u0275template(5, BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_5_Template, 2, 4, "expandable-card", 4);
88006
+ \u0275\u0275declareLet(6);
88007
+ \u0275\u0275template(7, BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_7_Template, 2, 5, "expandable-card", 5);
88008
+ \u0275\u0275declareLet(8);
88009
+ \u0275\u0275template(9, BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_9_Template, 15, 19, "expandable-card", 6);
88010
+ \u0275\u0275declareLet(10);
88011
+ \u0275\u0275template(11, BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_11_Template, 9, 13, "expandable-card", 6);
88012
+ \u0275\u0275elementEnd()();
88013
+ }
88014
+ if (rf & 2) {
88015
+ \u0275\u0275advance();
88016
+ \u0275\u0275conditional(ctx.isNote() ? 1 : -1);
88017
+ \u0275\u0275advance();
88018
+ \u0275\u0275conditional(ctx.errors().length ? 2 : -1);
88019
+ \u0275\u0275advance(2);
88020
+ const referenceNumbers_r24 = \u0275\u0275storeLet(ctx.getFormGroup(ctx.groups.ReferenceNumbers));
88021
+ \u0275\u0275advance();
88022
+ \u0275\u0275conditional(referenceNumbers_r24 ? 5 : -1);
88023
+ \u0275\u0275advance();
88024
+ const corporationDetails_r25 = \u0275\u0275storeLet(ctx.getFormGroup(ctx.groups.CorporationDetails));
88025
+ \u0275\u0275advance();
88026
+ \u0275\u0275conditional(corporationDetails_r25 ? 7 : -1);
88027
+ \u0275\u0275advance();
88028
+ const registeredOffice_r26 = \u0275\u0275storeLet(ctx.getFormGroup(ctx.groups.RegisteredOfficeAddress));
88029
+ \u0275\u0275advance();
88030
+ \u0275\u0275conditional(registeredOffice_r26 ? 9 : -1);
88031
+ \u0275\u0275advance();
88032
+ const recordsOffice_r27 = \u0275\u0275storeLet(ctx.getFormGroup(ctx.groups.RecordsOfficeAddress));
88033
+ \u0275\u0275advance();
88034
+ \u0275\u0275conditional(recordsOffice_r27 ? 11 : -1);
88035
+ }
88036
+ }, dependencies: [FilingFormGroupComponent, AlertComponent, ExpandableCardComponent, TranslatePipe], styles: ["\n\n[_nghost-%COMP%] {\n display: flex;\n flex-direction: column;\n flex: 1;\n min-height: 0;\n}\n[_nghost-%COMP%] .change-of-office-addresses-form[_ngcontent-%COMP%] {\n display: flex;\n flex-direction: column;\n gap: 16px;\n height: 100%;\n}\n[_nghost-%COMP%] .change-of-office-addresses-form-content[_ngcontent-%COMP%] {\n display: flex;\n flex-direction: column;\n gap: 16px;\n flex: 1;\n overflow-y: auto;\n min-height: 0;\n}\n[_nghost-%COMP%] .change-of-office-addresses-form-item[_ngcontent-%COMP%] {\n display: flex;\n flex-direction: column;\n gap: 16px;\n}\n[_nghost-%COMP%] .change-of-office-addresses-form-item-title[_ngcontent-%COMP%] {\n color: var(--filing-modal-color-dark-blue);\n}\n/*# sourceMappingURL=change-of-office-addresses-form.component.css.map */"], changeDetection: 0 });
88037
+ };
88038
+ (() => {
88039
+ (typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(BritishColumbiaChangeOfOfficeAddressesFormComponent, [{
88040
+ type: Component,
88041
+ args: [{ standalone: true, selector: "british-columbia-change-of-office-addresses-form", changeDetection: ChangeDetectionStrategy.OnPush, imports: [FilingFormGroupComponent, AlertComponent, ExpandableCardComponent, TranslatePipe], template: `<div class="change-of-office-addresses-form">\r
88042
+ @if (isNote()) {\r
88043
+ <alert\r
88044
+ [type]="alertType.Info"\r
88045
+ title="Entity changed"\r
88046
+ content="A new draft needs to be generated as the Entity was changed since the last draft was produced."\r
88047
+ />\r
88048
+ }\r
88049
+ \r
88050
+ @if (errors().length) {\r
88051
+ <alert\r
88052
+ title="The following issues need to be resolved before proceeding:"\r
88053
+ [content]="errors()"\r
88054
+ />\r
88055
+ }\r
88056
+ \r
88057
+ <div class="change-of-office-addresses-form-content">\r
88058
+ @let referenceNumbers = getFormGroup(groups.ReferenceNumbers);\r
88059
+ \r
88060
+ @if (referenceNumbers) {\r
88061
+ <expandable-card [title]="groups.ReferenceNumbers">\r
88062
+ <filing-form-group\r
88063
+ [isSubmitted]="isSubmitted()"\r
88064
+ [form]="referenceNumbers"\r
88065
+ [config]="referenceNumbersFields"\r
88066
+ (visiblyValidChange)="onSectionValidChange('refNumbers', $event)"\r
88067
+ />\r
88068
+ </expandable-card>\r
88069
+ }\r
88070
+ \r
88071
+ @let corporationDetails = getFormGroup(groups.CorporationDetails);\r
88072
+ \r
88073
+ @if (corporationDetails) {\r
88074
+ <expandable-card [isStatusIcon]="false" [title]="groups.CorporationDetails">\r
88075
+ <filing-form-group\r
88076
+ [isSubmitted]="isSubmitted()"\r
88077
+ [form]="corporationDetails"\r
88078
+ [config]="readonly() ? corporationDetailsFields : editableCorporationDetailsFields"\r
88079
+ (visiblyValidChange)="onSectionValidChange('corporationDetails', $event)"\r
88080
+ />\r
88081
+ </expandable-card>\r
88082
+ }\r
88083
+ \r
88084
+ <!-- ===== REGISTERED OFFICE ADDRESS ===== -->\r
88085
+ @let registeredOffice = getFormGroup(groups.RegisteredOfficeAddress);\r
88086
+ \r
88087
+ @if (registeredOffice) {\r
88088
+ @let registeredMailing = getAddressGroup(registeredOffice, controls.NewMailingAddress);\r
88089
+ @let registeredDelivery = getAddressGroup(registeredOffice, controls.NewDeliveryAddress);\r
88090
+ @let registeredDeliverySame = isChecked(registeredOffice, controls.DeliverySameAsMailing);\r
88091
+ \r
88092
+ <expandable-card\r
88093
+ [isStatusIcon]="!readonly()"\r
88094
+ [isValid]="isRegisteredOfficeValid()"\r
88095
+ [title]="groups.RegisteredOfficeAddress"\r
88096
+ >\r
88097
+ <div class="change-of-office-addresses-form-item">\r
88098
+ <filing-form-group\r
88099
+ [isSubmitted]="isSubmitted()"\r
88100
+ [form]="registeredOffice"\r
88101
+ [config]="currentAddressesFields"\r
88102
+ />\r
88103
+ \r
88104
+ <h4 class="change-of-office-addresses-form-item-title">{{ 'New Mailing Address' | translate }}</h4>\r
88105
+ \r
88106
+ @if (registeredMailing) {\r
88107
+ <filing-form-group\r
88108
+ [isSubmitted]="isSubmitted()"\r
88109
+ [form]="registeredMailing"\r
88110
+ [config]="addressFields"\r
88111
+ (visiblyValidChange)="emitValidity()"\r
88112
+ />\r
88113
+ }\r
88114
+ \r
88115
+ <h4 class="change-of-office-addresses-form-item-title">{{ 'New Delivery Address' | translate }}</h4>\r
88116
+ \r
88117
+ <filing-form-group\r
88118
+ [isSubmitted]="isSubmitted()"\r
88119
+ [form]="registeredOffice"\r
88120
+ [config]="deliverySameAsMailingFields"\r
88121
+ (visiblyValidChange)="emitValidity()"\r
88122
+ />\r
88123
+ \r
88124
+ @if (!registeredDeliverySame && registeredDelivery) {\r
88125
+ <filing-form-group\r
88126
+ [isSubmitted]="isSubmitted()"\r
88127
+ [form]="registeredOffice"\r
88128
+ [config]="deliveryNoteFields"\r
88129
+ />\r
88130
+ <filing-form-group\r
88131
+ [isSubmitted]="isSubmitted()"\r
88132
+ [form]="registeredDelivery"\r
88133
+ [config]="addressFields"\r
88134
+ (visiblyValidChange)="emitValidity()"\r
88135
+ />\r
88136
+ }\r
88137
+ </div>\r
88138
+ </expandable-card>\r
88139
+ }\r
88140
+ \r
88141
+ <!-- ===== RECORDS OFFICE ADDRESS ===== -->\r
88142
+ @let recordsOffice = getFormGroup(groups.RecordsOfficeAddress);\r
88143
+ \r
88144
+ @if (recordsOffice) {\r
88145
+ @let recordsMailing = getAddressGroup(recordsOffice, controls.NewMailingAddress);\r
88146
+ @let recordsDelivery = getAddressGroup(recordsOffice, controls.NewDeliveryAddress);\r
88147
+ @let recordsSameAsRegistered = isChecked(recordsOffice, controls.SameAsRegisteredOffice);\r
88148
+ @let recordsDeliverySame = isChecked(recordsOffice, controls.DeliverySameAsMailing);\r
88149
+ \r
88150
+ <expandable-card\r
88151
+ [isStatusIcon]="!readonly()"\r
88152
+ [isValid]="isRecordsOfficeValid()"\r
88153
+ [title]="groups.RecordsOfficeAddress"\r
88154
+ >\r
88155
+ <div class="change-of-office-addresses-form-item">\r
88156
+ <filing-form-group\r
88157
+ [isSubmitted]="isSubmitted()"\r
88158
+ [form]="recordsOffice"\r
88159
+ [config]="currentAddressesFields"\r
88160
+ />\r
88161
+ \r
88162
+ <filing-form-group\r
88163
+ [isSubmitted]="isSubmitted()"\r
88164
+ [form]="recordsOffice"\r
88165
+ [config]="sameAsRegisteredOfficeFields"\r
88166
+ (visiblyValidChange)="emitValidity()"\r
88167
+ />\r
88168
+ \r
88169
+ @if (!recordsSameAsRegistered) {\r
88170
+ <h4 class="change-of-office-addresses-form-item-title">{{ 'New Mailing Address' | translate }}</h4>\r
88171
+ \r
88172
+ @if (recordsMailing) {\r
88173
+ <filing-form-group\r
88174
+ [isSubmitted]="isSubmitted()"\r
88175
+ [form]="recordsMailing"\r
88176
+ [config]="addressFields"\r
88177
+ (visiblyValidChange)="emitValidity()"\r
88178
+ />\r
88179
+ }\r
88180
+ \r
88181
+ <h4 class="change-of-office-addresses-form-item-title">{{ 'New Delivery Address' | translate }}</h4>\r
88182
+ \r
88183
+ <filing-form-group\r
88184
+ [isSubmitted]="isSubmitted()"\r
88185
+ [form]="recordsOffice"\r
88186
+ [config]="deliverySameAsMailingFields"\r
88187
+ (visiblyValidChange)="emitValidity()"\r
88188
+ />\r
88189
+ \r
88190
+ @if (!recordsDeliverySame && recordsDelivery) {\r
88191
+ <filing-form-group\r
88192
+ [isSubmitted]="isSubmitted()"\r
88193
+ [form]="recordsDelivery"\r
88194
+ [config]="addressFields"\r
88195
+ (visiblyValidChange)="emitValidity()"\r
88196
+ />\r
88197
+ }\r
88198
+ }\r
88199
+ </div>\r
88200
+ </expandable-card>\r
88201
+ }\r
88202
+ </div>\r
88203
+ </div>\r
88204
+ `, styles: ["/* src/app/components/british-columbia/change-of-office-addresses/change-of-office-addresses-form/change-of-office-addresses-form.component.scss */\n:host {\n display: flex;\n flex-direction: column;\n flex: 1;\n min-height: 0;\n}\n:host .change-of-office-addresses-form {\n display: flex;\n flex-direction: column;\n gap: 16px;\n height: 100%;\n}\n:host .change-of-office-addresses-form-content {\n display: flex;\n flex-direction: column;\n gap: 16px;\n flex: 1;\n overflow-y: auto;\n min-height: 0;\n}\n:host .change-of-office-addresses-form-item {\n display: flex;\n flex-direction: column;\n gap: 16px;\n}\n:host .change-of-office-addresses-form-item-title {\n color: var(--filing-modal-color-dark-blue);\n}\n/*# sourceMappingURL=change-of-office-addresses-form.component.css.map */\n"] }]
88205
+ }], null, null);
88206
+ })();
88207
+ (() => {
88208
+ (typeof ngDevMode === "undefined" || ngDevMode) && \u0275setClassDebugInfo(BritishColumbiaChangeOfOfficeAddressesFormComponent, { className: "BritishColumbiaChangeOfOfficeAddressesFormComponent", filePath: "src/app/components/british-columbia/change-of-office-addresses/change-of-office-addresses-form/change-of-office-addresses-form.component.ts", lineNumber: 44 });
88209
+ })();
88210
+ }
88211
+ });
88212
+
88213
+ // src/app/components/british-columbia/change-of-office-addresses/steps/delta/change-of-office-addresses-delta-form.component.ts
88214
+ var BritishColumbiaChangeOfOfficeAddressesDeltaFormComponent;
88215
+ var init_change_of_office_addresses_delta_form_component = __esm({
88216
+ "src/app/components/british-columbia/change-of-office-addresses/steps/delta/change-of-office-addresses-delta-form.component.ts"() {
88217
+ init_core();
88218
+ init_button();
88219
+ init_ngx_translate_core();
88220
+ init_common_utils();
88221
+ init_change_of_office_addresses_form_component();
88222
+ init_core();
88223
+ BritishColumbiaChangeOfOfficeAddressesDeltaFormComponent = class _BritishColumbiaChangeOfOfficeAddressesDeltaFormComponent {
88224
+ form = input.required();
88225
+ actionsDisabled = input(false);
88226
+ isNote = input(false);
88227
+ task = input();
88228
+ errors = input([]);
88229
+ close = output();
88230
+ save = output();
88231
+ validate = output();
88232
+ submitted = signal(false);
88233
+ visiblyValid = signal(true);
88234
+ clientErrors = signal([]);
88235
+ translate = inject(TranslateService);
88236
+ combinedErrors = computed(() => {
88237
+ const client = this.clientErrors();
88238
+ return client.length ? client : this.errors();
88239
+ });
88240
+ onVisiblyValidChange(valid) {
88241
+ this.visiblyValid.set(valid);
88242
+ }
88243
+ onValidate() {
88244
+ this.submitted.set(true);
88245
+ this.clientErrors.set([]);
88246
+ markFormGroupTouched(this.form());
88247
+ if (!this.visiblyValid()) {
88248
+ this.clientErrors.set([this.translate.instant("Some required fields aren't completed.")]);
88249
+ return;
88250
+ }
88251
+ this.validate.emit();
88252
+ }
88253
+ static \u0275fac = function BritishColumbiaChangeOfOfficeAddressesDeltaFormComponent_Factory(__ngFactoryType__) {
88254
+ return new (__ngFactoryType__ || _BritishColumbiaChangeOfOfficeAddressesDeltaFormComponent)();
88255
+ };
88256
+ static \u0275cmp = /* @__PURE__ */ \u0275\u0275defineComponent({ type: _BritishColumbiaChangeOfOfficeAddressesDeltaFormComponent, selectors: [["british-columbia-change-of-office-addresses-delta-form"]], inputs: { form: [1, "form"], actionsDisabled: [1, "actionsDisabled"], isNote: [1, "isNote"], task: [1, "task"], errors: [1, "errors"] }, outputs: { close: "close", save: "save", validate: "validate" }, decls: 15, vars: 18, consts: [[1, "change-of-office-addresses-delta-form"], [1, "change-of-office-addresses-delta-form-content", 3, "visiblyValidChange", "form", "task", "errors", "isNote", "isSubmitted", "readonly"], [1, "change-of-office-addresses-delta-form-actions"], ["mat-stroked-button", "", "mat-button", "", 3, "click", "disabled"], [1, "body-1-semibold"], ["color", "primary", "mat-flat-button", "", 1, "submit", 3, "click", "disabled"]], template: function BritishColumbiaChangeOfOfficeAddressesDeltaFormComponent_Template(rf, ctx) {
88257
+ if (rf & 1) {
88258
+ \u0275\u0275elementStart(0, "div", 0)(1, "british-columbia-change-of-office-addresses-form", 1);
88259
+ \u0275\u0275listener("visiblyValidChange", function BritishColumbiaChangeOfOfficeAddressesDeltaFormComponent_Template_british_columbia_change_of_office_addresses_form_visiblyValidChange_1_listener($event) {
88260
+ return ctx.onVisiblyValidChange($event);
88261
+ });
88262
+ \u0275\u0275elementEnd();
88263
+ \u0275\u0275elementStart(2, "div", 2)(3, "button", 3);
88264
+ \u0275\u0275listener("click", function BritishColumbiaChangeOfOfficeAddressesDeltaFormComponent_Template_button_click_3_listener() {
88265
+ return ctx.close.emit();
88266
+ });
88267
+ \u0275\u0275elementStart(4, "span", 4);
88268
+ \u0275\u0275text(5);
88269
+ \u0275\u0275pipe(6, "translate");
88270
+ \u0275\u0275elementEnd()();
88271
+ \u0275\u0275elementStart(7, "button", 3);
88272
+ \u0275\u0275listener("click", function BritishColumbiaChangeOfOfficeAddressesDeltaFormComponent_Template_button_click_7_listener() {
88273
+ return ctx.save.emit();
88274
+ });
88275
+ \u0275\u0275elementStart(8, "span", 4);
88276
+ \u0275\u0275text(9);
88277
+ \u0275\u0275pipe(10, "translate");
88278
+ \u0275\u0275elementEnd()();
88279
+ \u0275\u0275elementStart(11, "button", 5);
88280
+ \u0275\u0275listener("click", function BritishColumbiaChangeOfOfficeAddressesDeltaFormComponent_Template_button_click_11_listener() {
88281
+ return ctx.onValidate();
88282
+ });
88283
+ \u0275\u0275elementStart(12, "span", 4);
88284
+ \u0275\u0275text(13);
88285
+ \u0275\u0275pipe(14, "translate");
88286
+ \u0275\u0275elementEnd()()()();
88287
+ }
88288
+ if (rf & 2) {
88289
+ \u0275\u0275advance();
88290
+ \u0275\u0275property("form", ctx.form())("task", ctx.task())("errors", ctx.combinedErrors())("isNote", ctx.isNote())("isSubmitted", ctx.submitted())("readonly", false);
88291
+ \u0275\u0275advance(2);
88292
+ \u0275\u0275property("disabled", ctx.actionsDisabled());
88293
+ \u0275\u0275advance(2);
88294
+ \u0275\u0275textInterpolate(\u0275\u0275pipeBind1(6, 12, "Close"));
88295
+ \u0275\u0275advance(2);
88296
+ \u0275\u0275property("disabled", ctx.actionsDisabled());
88297
+ \u0275\u0275advance(2);
88298
+ \u0275\u0275textInterpolate(\u0275\u0275pipeBind1(10, 14, "Save Changes"));
88299
+ \u0275\u0275advance(2);
88300
+ \u0275\u0275property("disabled", ctx.actionsDisabled());
88301
+ \u0275\u0275advance(2);
88302
+ \u0275\u0275textInterpolate(\u0275\u0275pipeBind1(14, 16, "Validate & Generate Draft"));
88303
+ }
88304
+ }, dependencies: [MatButton, TranslatePipe, BritishColumbiaChangeOfOfficeAddressesFormComponent], styles: ["\n\n[_nghost-%COMP%] .change-of-office-addresses-delta-form[_ngcontent-%COMP%] {\n display: flex;\n flex-direction: column;\n gap: 16px;\n height: 100%;\n}\n[_nghost-%COMP%] .change-of-office-addresses-delta-form-content[_ngcontent-%COMP%] {\n flex: 1;\n min-height: 0;\n}\n[_nghost-%COMP%] .change-of-office-addresses-delta-form-actions[_ngcontent-%COMP%] {\n display: flex;\n justify-content: flex-end;\n align-items: center;\n gap: 8px;\n padding-top: 16px;\n}\n[_nghost-%COMP%] .change-of-office-addresses-delta-form-actions[_ngcontent-%COMP%] button[_ngcontent-%COMP%] {\n margin: 0;\n}\n[_nghost-%COMP%] .change-of-office-addresses-delta-form-actions[_ngcontent-%COMP%] .submit[_ngcontent-%COMP%] {\n padding-left: 30px;\n padding-right: 30px;\n}\n/*# sourceMappingURL=change-of-office-addresses-delta-form.component.css.map */"], changeDetection: 0 });
88305
+ };
88306
+ (() => {
88307
+ (typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(BritishColumbiaChangeOfOfficeAddressesDeltaFormComponent, [{
88308
+ type: Component,
88309
+ args: [{ standalone: true, selector: "british-columbia-change-of-office-addresses-delta-form", changeDetection: ChangeDetectionStrategy.OnPush, imports: [MatButton, TranslatePipe, BritishColumbiaChangeOfOfficeAddressesFormComponent], template: `<div class="change-of-office-addresses-delta-form">\r
88310
+ <british-columbia-change-of-office-addresses-form\r
88311
+ class="change-of-office-addresses-delta-form-content"\r
88312
+ [form]="form()"\r
88313
+ [task]="task()"\r
88314
+ [errors]="combinedErrors()"\r
88315
+ [isNote]="isNote()"\r
88316
+ [isSubmitted]="submitted()"\r
88317
+ [readonly]="false"\r
88318
+ (visiblyValidChange)="onVisiblyValidChange($event)"\r
88319
+ />\r
88320
+ \r
88321
+ <div class="change-of-office-addresses-delta-form-actions">\r
88322
+ <button [disabled]="actionsDisabled()" mat-stroked-button mat-button (click)="close.emit()">\r
88323
+ <span class="body-1-semibold">{{ 'Close' | translate }}</span>\r
88324
+ </button>\r
88325
+ <button (click)="save.emit()" [disabled]="actionsDisabled()" mat-stroked-button mat-button>\r
88326
+ <span class="body-1-semibold">{{ 'Save Changes' | translate }}</span>\r
88327
+ </button>\r
88328
+ <button\r
88329
+ class="submit"\r
88330
+ color="primary"\r
88331
+ mat-flat-button\r
88332
+ [disabled]="actionsDisabled()"\r
88333
+ (click)="onValidate()"\r
88334
+ >\r
88335
+ <span class="body-1-semibold">{{ 'Validate & Generate Draft' | translate }}</span>\r
88336
+ </button>\r
88337
+ </div>\r
88338
+ </div>\r
88339
+ `, styles: ["/* src/app/components/british-columbia/change-of-office-addresses/steps/delta/change-of-office-addresses-delta-form.component.scss */\n:host .change-of-office-addresses-delta-form {\n display: flex;\n flex-direction: column;\n gap: 16px;\n height: 100%;\n}\n:host .change-of-office-addresses-delta-form-content {\n flex: 1;\n min-height: 0;\n}\n:host .change-of-office-addresses-delta-form-actions {\n display: flex;\n justify-content: flex-end;\n align-items: center;\n gap: 8px;\n padding-top: 16px;\n}\n:host .change-of-office-addresses-delta-form-actions button {\n margin: 0;\n}\n:host .change-of-office-addresses-delta-form-actions .submit {\n padding-left: 30px;\n padding-right: 30px;\n}\n/*# sourceMappingURL=change-of-office-addresses-delta-form.component.css.map */\n"] }]
88340
+ }], null, null);
88341
+ })();
88342
+ (() => {
88343
+ (typeof ngDevMode === "undefined" || ngDevMode) && \u0275setClassDebugInfo(BritishColumbiaChangeOfOfficeAddressesDeltaFormComponent, { className: "BritishColumbiaChangeOfOfficeAddressesDeltaFormComponent", filePath: "src/app/components/british-columbia/change-of-office-addresses/steps/delta/change-of-office-addresses-delta-form.component.ts", lineNumber: 25 });
88344
+ })();
88345
+ }
88346
+ });
88347
+
88348
+ // src/app/components/british-columbia/change-of-office-addresses/steps/preview/change-of-office-addresses-preview-form.component.ts
88349
+ var BritishColumbiaChangeOfOfficeAddressesPreviewFormComponent;
88350
+ var init_change_of_office_addresses_preview_form_component = __esm({
88351
+ "src/app/components/british-columbia/change-of-office-addresses/steps/preview/change-of-office-addresses-preview-form.component.ts"() {
88352
+ init_core();
88353
+ init_button();
88354
+ init_ngx_translate_core();
88355
+ init_change_of_office_addresses_form_component();
88356
+ init_core();
88357
+ BritishColumbiaChangeOfOfficeAddressesPreviewFormComponent = class _BritishColumbiaChangeOfOfficeAddressesPreviewFormComponent {
88358
+ form = input.required();
88359
+ actionsDisabled = input(false);
88360
+ task = input();
88361
+ errors = input([]);
88362
+ close = output();
88363
+ file = output();
88364
+ static \u0275fac = function BritishColumbiaChangeOfOfficeAddressesPreviewFormComponent_Factory(__ngFactoryType__) {
88365
+ return new (__ngFactoryType__ || _BritishColumbiaChangeOfOfficeAddressesPreviewFormComponent)();
88366
+ };
88367
+ static \u0275cmp = /* @__PURE__ */ \u0275\u0275defineComponent({ type: _BritishColumbiaChangeOfOfficeAddressesPreviewFormComponent, selectors: [["british-columbia-change-of-office-addresses-preview-form"]], inputs: { form: [1, "form"], actionsDisabled: [1, "actionsDisabled"], task: [1, "task"], errors: [1, "errors"] }, outputs: { close: "close", file: "file" }, decls: 11, vars: 13, consts: [[1, "change-of-office-addresses-preview-form"], [1, "change-of-office-addresses-preview-form-content", 3, "form", "task", "errors", "isSubmitted", "readonly"], [1, "change-of-office-addresses-preview-form-actions"], ["mat-stroked-button", "", "mat-button", "", 3, "click", "disabled"], [1, "body-1-semibold"], ["color", "primary", "mat-flat-button", "", 1, "submit", 3, "click", "disabled"]], template: function BritishColumbiaChangeOfOfficeAddressesPreviewFormComponent_Template(rf, ctx) {
88368
+ if (rf & 1) {
88369
+ \u0275\u0275elementStart(0, "div", 0);
88370
+ \u0275\u0275element(1, "british-columbia-change-of-office-addresses-form", 1);
88371
+ \u0275\u0275elementStart(2, "div", 2)(3, "button", 3);
88372
+ \u0275\u0275listener("click", function BritishColumbiaChangeOfOfficeAddressesPreviewFormComponent_Template_button_click_3_listener() {
88373
+ return ctx.close.emit();
88374
+ });
88375
+ \u0275\u0275elementStart(4, "span", 4);
88376
+ \u0275\u0275text(5);
88377
+ \u0275\u0275pipe(6, "translate");
88378
+ \u0275\u0275elementEnd()();
88379
+ \u0275\u0275elementStart(7, "button", 5);
88380
+ \u0275\u0275listener("click", function BritishColumbiaChangeOfOfficeAddressesPreviewFormComponent_Template_button_click_7_listener() {
88381
+ return ctx.file.emit();
88382
+ });
88383
+ \u0275\u0275elementStart(8, "span", 4);
88384
+ \u0275\u0275text(9);
88385
+ \u0275\u0275pipe(10, "translate");
88386
+ \u0275\u0275elementEnd()()()();
88387
+ }
88388
+ if (rf & 2) {
88389
+ \u0275\u0275advance();
88390
+ \u0275\u0275property("form", ctx.form())("task", ctx.task())("errors", ctx.errors())("isSubmitted", false)("readonly", true);
88391
+ \u0275\u0275advance(2);
88392
+ \u0275\u0275property("disabled", ctx.actionsDisabled());
88393
+ \u0275\u0275advance(2);
88394
+ \u0275\u0275textInterpolate(\u0275\u0275pipeBind1(6, 9, "Close"));
88395
+ \u0275\u0275advance(2);
88396
+ \u0275\u0275property("disabled", ctx.actionsDisabled());
88397
+ \u0275\u0275advance(2);
88398
+ \u0275\u0275textInterpolate(\u0275\u0275pipeBind1(10, 11, "File"));
88399
+ }
88400
+ }, dependencies: [MatButton, TranslatePipe, BritishColumbiaChangeOfOfficeAddressesFormComponent], styles: ["\n\n[_nghost-%COMP%] .change-of-office-addresses-preview-form[_ngcontent-%COMP%] {\n display: flex;\n flex-direction: column;\n gap: 16px;\n height: 100%;\n}\n[_nghost-%COMP%] .change-of-office-addresses-preview-form-content[_ngcontent-%COMP%] {\n display: flex;\n flex-direction: column;\n gap: 16px;\n height: 100%;\n}\n[_nghost-%COMP%] .change-of-office-addresses-preview-form-actions[_ngcontent-%COMP%] {\n display: flex;\n justify-content: flex-end;\n align-items: center;\n gap: 8px;\n padding-top: 16px;\n}\n[_nghost-%COMP%] .change-of-office-addresses-preview-form-actions[_ngcontent-%COMP%] button[_ngcontent-%COMP%] {\n margin: 0;\n}\n/*# sourceMappingURL=change-of-office-addresses-preview-form.component.css.map */"], changeDetection: 0 });
88401
+ };
88402
+ (() => {
88403
+ (typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(BritishColumbiaChangeOfOfficeAddressesPreviewFormComponent, [{
88404
+ type: Component,
88405
+ args: [{ standalone: true, selector: "british-columbia-change-of-office-addresses-preview-form", changeDetection: ChangeDetectionStrategy.OnPush, imports: [MatButton, TranslatePipe, BritishColumbiaChangeOfOfficeAddressesFormComponent], template: `<div class="change-of-office-addresses-preview-form">\r
88406
+ <british-columbia-change-of-office-addresses-form\r
88407
+ class="change-of-office-addresses-preview-form-content"\r
88408
+ [form]="form()"\r
88409
+ [task]="task()"\r
88410
+ [errors]="errors()"\r
88411
+ [isSubmitted]="false"\r
88412
+ [readonly]="true"\r
88413
+ />\r
88414
+ \r
88415
+ <div class="change-of-office-addresses-preview-form-actions">\r
88416
+ <button [disabled]="actionsDisabled()" mat-stroked-button mat-button (click)="close.emit()">\r
88417
+ <span class="body-1-semibold">{{ 'Close' | translate }}</span>\r
88418
+ </button>\r
88419
+ <button\r
88420
+ class="submit"\r
88421
+ color="primary"\r
88422
+ mat-flat-button\r
88423
+ [disabled]="actionsDisabled()"\r
88424
+ (click)="file.emit()"\r
88425
+ >\r
88426
+ <span class="body-1-semibold">{{ 'File' | translate }}</span>\r
88427
+ </button>\r
88428
+ </div>\r
88429
+ </div>\r
88430
+ `, styles: ["/* src/app/components/british-columbia/change-of-office-addresses/steps/preview/change-of-office-addresses-preview-form.component.scss */\n:host .change-of-office-addresses-preview-form {\n display: flex;\n flex-direction: column;\n gap: 16px;\n height: 100%;\n}\n:host .change-of-office-addresses-preview-form-content {\n display: flex;\n flex-direction: column;\n gap: 16px;\n height: 100%;\n}\n:host .change-of-office-addresses-preview-form-actions {\n display: flex;\n justify-content: flex-end;\n align-items: center;\n gap: 8px;\n padding-top: 16px;\n}\n:host .change-of-office-addresses-preview-form-actions button {\n margin: 0;\n}\n/*# sourceMappingURL=change-of-office-addresses-preview-form.component.css.map */\n"] }]
88431
+ }], null, null);
88432
+ })();
88433
+ (() => {
88434
+ (typeof ngDevMode === "undefined" || ngDevMode) && \u0275setClassDebugInfo(BritishColumbiaChangeOfOfficeAddressesPreviewFormComponent, { className: "BritishColumbiaChangeOfOfficeAddressesPreviewFormComponent", filePath: "src/app/components/british-columbia/change-of-office-addresses/steps/preview/change-of-office-addresses-preview-form.component.ts", lineNumber: 21 });
88435
+ })();
88436
+ }
88437
+ });
88438
+
87367
88439
  // src/app/components/british-columbia/british-columbia.component.ts
87368
88440
  function BritishColumbiaComponent_Conditional_1_Conditional_0_Template(rf, ctx) {
87369
88441
  if (rf & 1) {
87370
88442
  const _r1 = \u0275\u0275getCurrentView();
87371
- \u0275\u0275elementStart(0, "british-columbia-change-of-directors-delta-form", 2);
88443
+ \u0275\u0275elementStart(0, "british-columbia-change-of-directors-delta-form", 3);
87372
88444
  \u0275\u0275listener("validate", function BritishColumbiaComponent_Conditional_1_Conditional_0_Template_british_columbia_change_of_directors_delta_form_validate_0_listener() {
87373
88445
  \u0275\u0275restoreView(_r1);
87374
88446
  const ctx_r1 = \u0275\u0275nextContext(2);
@@ -87393,7 +88465,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
87393
88465
  function BritishColumbiaComponent_Conditional_1_Conditional_1_Template(rf, ctx) {
87394
88466
  if (rf & 1) {
87395
88467
  const _r4 = \u0275\u0275getCurrentView();
87396
- \u0275\u0275elementStart(0, "british-columbia-change-of-directors-preview-form", 3);
88468
+ \u0275\u0275elementStart(0, "british-columbia-change-of-directors-preview-form", 4);
87397
88469
  \u0275\u0275listener("close", function BritishColumbiaComponent_Conditional_1_Conditional_1_Template_british_columbia_change_of_directors_preview_form_close_0_listener() {
87398
88470
  \u0275\u0275restoreView(_r4);
87399
88471
  const ctx_r1 = \u0275\u0275nextContext(2);
@@ -87401,7 +88473,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
87401
88473
  })("file", function BritishColumbiaComponent_Conditional_1_Conditional_1_Template_british_columbia_change_of_directors_preview_form_file_0_listener() {
87402
88474
  \u0275\u0275restoreView(_r4);
87403
88475
  const ctx_r1 = \u0275\u0275nextContext(2);
87404
- return \u0275\u0275resetView(ctx_r1.onChangeOfDirectorsSubmit());
88476
+ return \u0275\u0275resetView(ctx_r1.nextStep.emit());
87405
88477
  });
87406
88478
  \u0275\u0275elementEnd();
87407
88479
  }
@@ -87411,31 +88483,57 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
87411
88483
  \u0275\u0275property("task", taskData_r3)("form", ctx_r1.previewForm())("actionsDisabled", ctx_r1.actionsDisabled())("errors", ctx_r1.errors());
87412
88484
  }
87413
88485
  }
88486
+ function BritishColumbiaComponent_Conditional_1_Conditional_2_Template(rf, ctx) {
88487
+ if (rf & 1) {
88488
+ const _r5 = \u0275\u0275getCurrentView();
88489
+ \u0275\u0275elementStart(0, "terms-and-conditions", 5);
88490
+ \u0275\u0275listener("prev", function BritishColumbiaComponent_Conditional_1_Conditional_2_Template_terms_and_conditions_prev_0_listener() {
88491
+ \u0275\u0275restoreView(_r5);
88492
+ const ctx_r1 = \u0275\u0275nextContext(2);
88493
+ return \u0275\u0275resetView(ctx_r1.prevStep.emit());
88494
+ })("close", function BritishColumbiaComponent_Conditional_1_Conditional_2_Template_terms_and_conditions_close_0_listener() {
88495
+ \u0275\u0275restoreView(_r5);
88496
+ const ctx_r1 = \u0275\u0275nextContext(2);
88497
+ return \u0275\u0275resetView(ctx_r1.close.emit());
88498
+ })("confirm", function BritishColumbiaComponent_Conditional_1_Conditional_2_Template_terms_and_conditions_confirm_0_listener($event) {
88499
+ \u0275\u0275restoreView(_r5);
88500
+ const ctx_r1 = \u0275\u0275nextContext(2);
88501
+ return \u0275\u0275resetView(ctx_r1.onChangeOfDirectorsSubmit($event));
88502
+ });
88503
+ \u0275\u0275elementEnd();
88504
+ }
88505
+ if (rf & 2) {
88506
+ const ctx_r1 = \u0275\u0275nextContext(2);
88507
+ \u0275\u0275property("errors", ctx_r1.errors());
88508
+ }
88509
+ }
87414
88510
  function BritishColumbiaComponent_Conditional_1_Template(rf, ctx) {
87415
88511
  if (rf & 1) {
87416
- \u0275\u0275template(0, BritishColumbiaComponent_Conditional_1_Conditional_0_Template, 1, 5, "british-columbia-change-of-directors-delta-form", 0)(1, BritishColumbiaComponent_Conditional_1_Conditional_1_Template, 1, 4, "british-columbia-change-of-directors-preview-form", 1);
88512
+ \u0275\u0275template(0, BritishColumbiaComponent_Conditional_1_Conditional_0_Template, 1, 5, "british-columbia-change-of-directors-delta-form", 0)(1, BritishColumbiaComponent_Conditional_1_Conditional_1_Template, 1, 4, "british-columbia-change-of-directors-preview-form", 1)(2, BritishColumbiaComponent_Conditional_1_Conditional_2_Template, 1, 1, "terms-and-conditions", 2);
87417
88513
  }
87418
88514
  if (rf & 2) {
87419
88515
  const ctx_r1 = \u0275\u0275nextContext();
87420
88516
  \u0275\u0275conditional(ctx_r1.activeStep() === ctx_r1.steps.Validate ? 0 : -1);
87421
88517
  \u0275\u0275advance();
87422
88518
  \u0275\u0275conditional(ctx_r1.activeStep() === ctx_r1.steps.FilingPreview ? 1 : -1);
88519
+ \u0275\u0275advance();
88520
+ \u0275\u0275conditional(ctx_r1.activeStep() === ctx_r1.steps.TermsAndConditions ? 2 : -1);
87423
88521
  }
87424
88522
  }
87425
88523
  function BritishColumbiaComponent_Conditional_2_Conditional_0_Template(rf, ctx) {
87426
88524
  if (rf & 1) {
87427
- const _r5 = \u0275\u0275getCurrentView();
87428
- \u0275\u0275elementStart(0, "british-columbia-incorporation-delta-form", 6);
88525
+ const _r6 = \u0275\u0275getCurrentView();
88526
+ \u0275\u0275elementStart(0, "british-columbia-incorporation-delta-form", 8);
87429
88527
  \u0275\u0275listener("validate", function BritishColumbiaComponent_Conditional_2_Conditional_0_Template_british_columbia_incorporation_delta_form_validate_0_listener() {
87430
- \u0275\u0275restoreView(_r5);
88528
+ \u0275\u0275restoreView(_r6);
87431
88529
  const ctx_r1 = \u0275\u0275nextContext(2);
87432
88530
  return \u0275\u0275resetView(ctx_r1.onFormationValidate());
87433
88531
  })("close", function BritishColumbiaComponent_Conditional_2_Conditional_0_Template_british_columbia_incorporation_delta_form_close_0_listener() {
87434
- \u0275\u0275restoreView(_r5);
88532
+ \u0275\u0275restoreView(_r6);
87435
88533
  const ctx_r1 = \u0275\u0275nextContext(2);
87436
88534
  return \u0275\u0275resetView(ctx_r1.onClose());
87437
88535
  })("save", function BritishColumbiaComponent_Conditional_2_Conditional_0_Template_british_columbia_incorporation_delta_form_save_0_listener() {
87438
- \u0275\u0275restoreView(_r5);
88536
+ \u0275\u0275restoreView(_r6);
87439
88537
  const ctx_r1 = \u0275\u0275nextContext(2);
87440
88538
  return \u0275\u0275resetView(ctx_r1.onFormationSave());
87441
88539
  });
@@ -87449,14 +88547,14 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
87449
88547
  }
87450
88548
  function BritishColumbiaComponent_Conditional_2_Conditional_1_Template(rf, ctx) {
87451
88549
  if (rf & 1) {
87452
- const _r6 = \u0275\u0275getCurrentView();
87453
- \u0275\u0275elementStart(0, "british-columbia-incorporation-preview-form", 7);
88550
+ const _r7 = \u0275\u0275getCurrentView();
88551
+ \u0275\u0275elementStart(0, "british-columbia-incorporation-preview-form", 9);
87454
88552
  \u0275\u0275listener("next", function BritishColumbiaComponent_Conditional_2_Conditional_1_Template_british_columbia_incorporation_preview_form_next_0_listener() {
87455
- \u0275\u0275restoreView(_r6);
88553
+ \u0275\u0275restoreView(_r7);
87456
88554
  const ctx_r1 = \u0275\u0275nextContext(2);
87457
88555
  return \u0275\u0275resetView(ctx_r1.onFormationSubmit());
87458
88556
  })("close", function BritishColumbiaComponent_Conditional_2_Conditional_1_Template_british_columbia_incorporation_preview_form_close_0_listener() {
87459
- \u0275\u0275restoreView(_r6);
88557
+ \u0275\u0275restoreView(_r7);
87460
88558
  const ctx_r1 = \u0275\u0275nextContext(2);
87461
88559
  return \u0275\u0275resetView(ctx_r1.close.emit());
87462
88560
  });
@@ -87470,7 +88568,64 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
87470
88568
  }
87471
88569
  function BritishColumbiaComponent_Conditional_2_Template(rf, ctx) {
87472
88570
  if (rf & 1) {
87473
- \u0275\u0275template(0, BritishColumbiaComponent_Conditional_2_Conditional_0_Template, 1, 5, "british-columbia-incorporation-delta-form", 4)(1, BritishColumbiaComponent_Conditional_2_Conditional_1_Template, 1, 4, "british-columbia-incorporation-preview-form", 5);
88571
+ \u0275\u0275template(0, BritishColumbiaComponent_Conditional_2_Conditional_0_Template, 1, 5, "british-columbia-incorporation-delta-form", 6)(1, BritishColumbiaComponent_Conditional_2_Conditional_1_Template, 1, 4, "british-columbia-incorporation-preview-form", 7);
88572
+ }
88573
+ if (rf & 2) {
88574
+ const ctx_r1 = \u0275\u0275nextContext();
88575
+ \u0275\u0275conditional(ctx_r1.activeStep() === ctx_r1.steps.Validate ? 0 : -1);
88576
+ \u0275\u0275advance();
88577
+ \u0275\u0275conditional(ctx_r1.activeStep() === ctx_r1.steps.FilingPreview ? 1 : -1);
88578
+ }
88579
+ }
88580
+ function BritishColumbiaComponent_Conditional_3_Conditional_0_Template(rf, ctx) {
88581
+ if (rf & 1) {
88582
+ const _r8 = \u0275\u0275getCurrentView();
88583
+ \u0275\u0275elementStart(0, "british-columbia-change-of-office-addresses-delta-form", 3);
88584
+ \u0275\u0275listener("validate", function BritishColumbiaComponent_Conditional_3_Conditional_0_Template_british_columbia_change_of_office_addresses_delta_form_validate_0_listener() {
88585
+ \u0275\u0275restoreView(_r8);
88586
+ const ctx_r1 = \u0275\u0275nextContext(2);
88587
+ return \u0275\u0275resetView(ctx_r1.onChangeOfOfficeAddressesValidate());
88588
+ })("close", function BritishColumbiaComponent_Conditional_3_Conditional_0_Template_british_columbia_change_of_office_addresses_delta_form_close_0_listener() {
88589
+ \u0275\u0275restoreView(_r8);
88590
+ const ctx_r1 = \u0275\u0275nextContext(2);
88591
+ return \u0275\u0275resetView(ctx_r1.onClose());
88592
+ })("save", function BritishColumbiaComponent_Conditional_3_Conditional_0_Template_british_columbia_change_of_office_addresses_delta_form_save_0_listener() {
88593
+ \u0275\u0275restoreView(_r8);
88594
+ const ctx_r1 = \u0275\u0275nextContext(2);
88595
+ return \u0275\u0275resetView(ctx_r1.onChangeOfOfficeAddressesSave());
88596
+ });
88597
+ \u0275\u0275elementEnd();
88598
+ }
88599
+ if (rf & 2) {
88600
+ const ctx_r1 = \u0275\u0275nextContext(2);
88601
+ const taskData_r3 = \u0275\u0275readContextLet(0);
88602
+ \u0275\u0275property("task", taskData_r3)("form", ctx_r1.deltaForm())("actionsDisabled", ctx_r1.actionsDisabled())("errors", ctx_r1.errors())("isNote", ctx_r1.isNote());
88603
+ }
88604
+ }
88605
+ function BritishColumbiaComponent_Conditional_3_Conditional_1_Template(rf, ctx) {
88606
+ if (rf & 1) {
88607
+ const _r9 = \u0275\u0275getCurrentView();
88608
+ \u0275\u0275elementStart(0, "british-columbia-change-of-office-addresses-preview-form", 4);
88609
+ \u0275\u0275listener("close", function BritishColumbiaComponent_Conditional_3_Conditional_1_Template_british_columbia_change_of_office_addresses_preview_form_close_0_listener() {
88610
+ \u0275\u0275restoreView(_r9);
88611
+ const ctx_r1 = \u0275\u0275nextContext(2);
88612
+ return \u0275\u0275resetView(ctx_r1.close.emit());
88613
+ })("file", function BritishColumbiaComponent_Conditional_3_Conditional_1_Template_british_columbia_change_of_office_addresses_preview_form_file_0_listener() {
88614
+ \u0275\u0275restoreView(_r9);
88615
+ const ctx_r1 = \u0275\u0275nextContext(2);
88616
+ return \u0275\u0275resetView(ctx_r1.onChangeOfOfficeAddressesFile());
88617
+ });
88618
+ \u0275\u0275elementEnd();
88619
+ }
88620
+ if (rf & 2) {
88621
+ const ctx_r1 = \u0275\u0275nextContext(2);
88622
+ const taskData_r3 = \u0275\u0275readContextLet(0);
88623
+ \u0275\u0275property("task", taskData_r3)("form", ctx_r1.previewForm())("actionsDisabled", ctx_r1.actionsDisabled())("errors", ctx_r1.errors());
88624
+ }
88625
+ }
88626
+ function BritishColumbiaComponent_Conditional_3_Template(rf, ctx) {
88627
+ if (rf & 1) {
88628
+ \u0275\u0275template(0, BritishColumbiaComponent_Conditional_3_Conditional_0_Template, 1, 5, "british-columbia-change-of-office-addresses-delta-form", 0)(1, BritishColumbiaComponent_Conditional_3_Conditional_1_Template, 1, 4, "british-columbia-change-of-office-addresses-preview-form", 1);
87474
88629
  }
87475
88630
  if (rf & 2) {
87476
88631
  const ctx_r1 = \u0275\u0275nextContext();
@@ -87491,13 +88646,17 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
87491
88646
  init_british_columbia_form_enums();
87492
88647
  init_british_columbia_change_of_directors_form_helper();
87493
88648
  init_british_columbia_formation_form_helper();
88649
+ init_british_columbia_change_of_office_addresses_form_helper();
87494
88650
  init_delta_state_service();
87495
88651
  init_common_utils();
87496
88652
  init_confirm_modal_component();
88653
+ init_terms_and_conditions_component();
87497
88654
  init_change_of_directors_delta_form_component();
87498
88655
  init_change_of_directors_preview_form_component();
87499
88656
  init_british_columbia_incorporation_delta_form_component();
87500
88657
  init_british_columbia_incorporation_preview_form_component();
88658
+ init_change_of_office_addresses_delta_form_component();
88659
+ init_change_of_office_addresses_preview_form_component();
87501
88660
  init_core();
87502
88661
  BritishColumbiaComponent = class _BritishColumbiaComponent {
87503
88662
  task = input();
@@ -87515,12 +88674,17 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
87515
88674
  saveFormationDeltaData = output();
87516
88675
  nextStep = output();
87517
88676
  prevStep = output();
88677
+ // Change of Office Addresses outputs
88678
+ coaValidate = output();
88679
+ saveCoaDeltaData = output();
88680
+ coaSubmit = output();
87518
88681
  dialog = inject(MatDialog);
87519
88682
  deltaState = inject(DeltaStateService);
87520
88683
  translate = inject(TranslateService);
87521
88684
  steps = Step;
87522
88685
  isChangeOfDirectorsTask = isChangeOfPrincipalsTask;
87523
88686
  isFormationTask = isFormationTask2;
88687
+ isChangeOfOfficeAddressesTask = isChangeOfAddressTask;
87524
88688
  deltaForm = signal(new FormGroup({}));
87525
88689
  previewForm = signal(new FormGroup({}));
87526
88690
  constructor() {
@@ -87534,6 +88698,10 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
87534
88698
  this.deltaForm.set(new FormGroup(BritishColumbiaFormationFormHelper.generateConfig(task, (key) => this.translate.instant(key), untracked2(() => this.currentUser()))));
87535
88699
  this.deltaState.setBCFormationInitialDelta(this.generateFormationDeltaData());
87536
88700
  }
88701
+ if (task && isChangeOfAddressTask(task)) {
88702
+ this.deltaForm.set(new FormGroup(BritishColumbiaChangeOfOfficeAddressesFormHelper.generateConfig(task, (key) => this.translate.instant(key))));
88703
+ this.deltaState.setBCChangeOfOfficeAddressesInitialDelta(this.generateChangeOfOfficeAddressesDeltaData());
88704
+ }
87537
88705
  });
87538
88706
  effect(() => {
87539
88707
  const task = this.task();
@@ -87557,8 +88725,68 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
87557
88725
  this.nextStep.emit();
87558
88726
  }
87559
88727
  }
88728
+ if (task && isChangeOfAddressTask(task) && deltaData) {
88729
+ const form = new FormGroup(BritishColumbiaChangeOfOfficeAddressesFormHelper.generateConfig(task, (key) => this.translate.instant(key)));
88730
+ form.disable();
88731
+ this.previewForm.set(form);
88732
+ if (untracked2(() => this.activeStep()) === Step.Validate) {
88733
+ this.nextStep.emit();
88734
+ }
88735
+ }
87560
88736
  });
87561
88737
  }
88738
+ onChangeOfOfficeAddressesValidate() {
88739
+ markFormGroupTouched(this.deltaForm());
88740
+ this.coaValidate.emit(this.generateChangeOfOfficeAddressesDeltaData());
88741
+ }
88742
+ onChangeOfOfficeAddressesSave() {
88743
+ const delta = this.generateChangeOfOfficeAddressesDeltaData();
88744
+ this.deltaState.setBCChangeOfOfficeAddressesInitialDelta(delta);
88745
+ this.saveCoaDeltaData.emit(delta);
88746
+ }
88747
+ /** No certification step for this filing: "File" submits the staged draft directly. */
88748
+ onChangeOfOfficeAddressesFile() {
88749
+ this.coaSubmit.emit(this.generateChangeOfOfficeAddressesDeltaData());
88750
+ }
88751
+ generateChangeOfOfficeAddressesDeltaData() {
88752
+ const c = BCChangeOfOfficeAddressesFormControls;
88753
+ const formData = this.deltaForm().getRawValue();
88754
+ const refNumbers = formData[BCChangeOfOfficeAddressesFormGroups.ReferenceNumbers];
88755
+ const registered = formData[BCChangeOfOfficeAddressesFormGroups.RegisteredOfficeAddress];
88756
+ const records = formData[BCChangeOfOfficeAddressesFormGroups.RecordsOfficeAddress];
88757
+ const corporation = formData[BCChangeOfOfficeAddressesFormGroups.CorporationDetails];
88758
+ const toAddress = (src) => ({
88759
+ addressLine1: src?.[c.AddressLine1] ?? null,
88760
+ addressLine2: src?.[c.AddressLine2] ?? null,
88761
+ city: src?.[c.City] ?? null,
88762
+ postalCode: src?.[c.PostalCode] ?? null,
88763
+ province: src?.[c.Province] ?? null,
88764
+ country: src?.[c.Country] ?? null
88765
+ });
88766
+ const regDeliverySame = Boolean(registered?.[c.DeliverySameAsMailing]);
88767
+ const recSameAsRegistered = Boolean(records?.[c.SameAsRegisteredOffice]);
88768
+ const recDeliverySame = Boolean(records?.[c.DeliverySameAsMailing]);
88769
+ return {
88770
+ referenceNumbers: {
88771
+ referenceNumber: refNumbers?.[c.ClientMatterNumber] ?? null,
88772
+ docketNumber: refNumbers?.[c.DocketNumber] ?? null
88773
+ },
88774
+ // Both are saved with the draft, as in the BC Incorporation Application.
88775
+ companyEmail: corporation?.[c.CompanyEmail] ?? null,
88776
+ companyPassword: corporation?.[c.CompanyPassword] ?? null,
88777
+ registeredOffice: {
88778
+ mailingAddress: toAddress(registered?.[c.NewMailingAddress]),
88779
+ deliverySameAsMailing: regDeliverySame,
88780
+ deliveryAddress: regDeliverySame ? void 0 : toAddress(registered?.[c.NewDeliveryAddress])
88781
+ },
88782
+ recordsOffice: {
88783
+ sameAsRegisteredOffice: recSameAsRegistered,
88784
+ mailingAddress: recSameAsRegistered ? void 0 : toAddress(records?.[c.NewMailingAddress]),
88785
+ deliverySameAsMailing: recSameAsRegistered ? void 0 : recDeliverySame,
88786
+ deliveryAddress: recSameAsRegistered || recDeliverySame ? void 0 : toAddress(records?.[c.NewDeliveryAddress])
88787
+ }
88788
+ };
88789
+ }
87562
88790
  onChangeOfDirectorsValidate() {
87563
88791
  markFormGroupTouched(this.deltaForm());
87564
88792
  this.codValidate.emit(this.generateChangeOfDirectorsDeltaData());
@@ -87568,8 +88796,11 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
87568
88796
  this.deltaState.setBCChangeOfDirectorsInitialDelta(delta);
87569
88797
  this.saveCodDeltaData.emit(delta);
87570
88798
  }
87571
- onChangeOfDirectorsSubmit() {
87572
- this.codSubmit.emit();
88799
+ onChangeOfDirectorsSubmit(termsAndConditions) {
88800
+ this.codSubmit.emit(__spreadProps(__spreadValues({}, this.generateChangeOfDirectorsDeltaData()), {
88801
+ signatoryFirstName: termsAndConditions.firstName,
88802
+ signatoryLastName: termsAndConditions.lastName
88803
+ }));
87573
88804
  }
87574
88805
  onFormationValidate() {
87575
88806
  markFormGroupTouched(this.deltaForm());
@@ -87608,7 +88839,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
87608
88839
  annualReportReminder: reminder?.[c.AnnualReportReminder] ?? null
87609
88840
  };
87610
88841
  }
87611
- generateFormationDeltaData() {
88842
+ generateFormationDeltaData(termsAndConditions) {
87612
88843
  const formData = this.deltaForm().getRawValue();
87613
88844
  const refNumbers = formData[BCFormationFormGroups.ReferenceNumbers];
87614
88845
  const corpDetails = formData[BCFormationFormGroups.CorporationDetails];
@@ -87652,7 +88883,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
87652
88883
  }
87653
88884
  onClose() {
87654
88885
  const task = this.task();
87655
- const hasChanges = task && isFormationTask2(task) ? !deepEqual(this.deltaState.bcFormationInitialDelta(), this.generateFormationDeltaData()) : !deepEqual(this.deltaState.bcChangeOfDirectorsInitialDelta(), this.generateChangeOfDirectorsDeltaData());
88886
+ const hasChanges = task && isFormationTask2(task) ? !deepEqual(this.deltaState.bcFormationInitialDelta(), this.generateFormationDeltaData()) : task && isChangeOfAddressTask(task) ? !deepEqual(this.deltaState.bcChangeOfOfficeAddressesInitialDelta(), this.generateChangeOfOfficeAddressesDeltaData()) : !deepEqual(this.deltaState.bcChangeOfDirectorsInitialDelta(), this.generateChangeOfDirectorsDeltaData());
87656
88887
  if (!hasChanges) {
87657
88888
  this.close.emit();
87658
88889
  return;
@@ -87670,6 +88901,8 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
87670
88901
  if (val) {
87671
88902
  if (task && isFormationTask2(task)) {
87672
88903
  this.onFormationSave();
88904
+ } else if (task && isChangeOfAddressTask(task)) {
88905
+ this.onChangeOfOfficeAddressesSave();
87673
88906
  } else {
87674
88907
  this.onChangeOfDirectorsSave();
87675
88908
  }
@@ -87680,23 +88913,28 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
87680
88913
  static \u0275fac = function BritishColumbiaComponent_Factory(__ngFactoryType__) {
87681
88914
  return new (__ngFactoryType__ || _BritishColumbiaComponent)();
87682
88915
  };
87683
- static \u0275cmp = /* @__PURE__ */ \u0275\u0275defineComponent({ type: _BritishColumbiaComponent, selectors: [["british-columbia"]], inputs: { task: [1, "task"], currentUser: [1, "currentUser"], activeStep: [1, "activeStep"], isNote: [1, "isNote"], actionsDisabled: [1, "actionsDisabled"], errors: [1, "errors"] }, outputs: { close: "close", codValidate: "codValidate", saveCodDeltaData: "saveCodDeltaData", codSubmit: "codSubmit", formationValidate: "formationValidate", formationSubmit: "formationSubmit", saveFormationDeltaData: "saveFormationDeltaData", nextStep: "nextStep", prevStep: "prevStep" }, decls: 3, vars: 3, consts: [[3, "task", "form", "actionsDisabled", "errors", "isNote"], [3, "task", "form", "actionsDisabled", "errors"], [3, "validate", "close", "save", "task", "form", "actionsDisabled", "errors", "isNote"], [3, "close", "file", "task", "form", "actionsDisabled", "errors"], [3, "task", "errors", "isNote", "actionsDisabled", "form"], [3, "task", "form", "errors", "actionsDisabled"], [3, "validate", "close", "save", "task", "errors", "isNote", "actionsDisabled", "form"], [3, "next", "close", "task", "form", "errors", "actionsDisabled"]], template: function BritishColumbiaComponent_Template(rf, ctx) {
88916
+ static \u0275cmp = /* @__PURE__ */ \u0275\u0275defineComponent({ type: _BritishColumbiaComponent, selectors: [["british-columbia"]], inputs: { task: [1, "task"], currentUser: [1, "currentUser"], activeStep: [1, "activeStep"], isNote: [1, "isNote"], actionsDisabled: [1, "actionsDisabled"], errors: [1, "errors"] }, outputs: { close: "close", codValidate: "codValidate", saveCodDeltaData: "saveCodDeltaData", codSubmit: "codSubmit", formationValidate: "formationValidate", formationSubmit: "formationSubmit", saveFormationDeltaData: "saveFormationDeltaData", nextStep: "nextStep", prevStep: "prevStep", coaValidate: "coaValidate", saveCoaDeltaData: "saveCoaDeltaData", coaSubmit: "coaSubmit" }, decls: 4, vars: 4, consts: [[3, "task", "form", "actionsDisabled", "errors", "isNote"], [3, "task", "form", "actionsDisabled", "errors"], [3, "errors"], [3, "validate", "close", "save", "task", "form", "actionsDisabled", "errors", "isNote"], [3, "close", "file", "task", "form", "actionsDisabled", "errors"], [3, "prev", "close", "confirm", "errors"], [3, "task", "errors", "isNote", "actionsDisabled", "form"], [3, "task", "form", "errors", "actionsDisabled"], [3, "validate", "close", "save", "task", "errors", "isNote", "actionsDisabled", "form"], [3, "next", "close", "task", "form", "errors", "actionsDisabled"]], template: function BritishColumbiaComponent_Template(rf, ctx) {
87684
88917
  if (rf & 1) {
87685
88918
  \u0275\u0275declareLet(0);
87686
- \u0275\u0275template(1, BritishColumbiaComponent_Conditional_1_Template, 2, 2)(2, BritishColumbiaComponent_Conditional_2_Template, 2, 2);
88919
+ \u0275\u0275template(1, BritishColumbiaComponent_Conditional_1_Template, 3, 3)(2, BritishColumbiaComponent_Conditional_2_Template, 2, 2)(3, BritishColumbiaComponent_Conditional_3_Template, 2, 2);
87687
88920
  }
87688
88921
  if (rf & 2) {
87689
- const taskData_r7 = \u0275\u0275storeLet(ctx.task());
88922
+ const taskData_r10 = \u0275\u0275storeLet(ctx.task());
88923
+ \u0275\u0275advance();
88924
+ \u0275\u0275conditional(ctx.isChangeOfDirectorsTask(taskData_r10) ? 1 : -1);
87690
88925
  \u0275\u0275advance();
87691
- \u0275\u0275conditional(ctx.isChangeOfDirectorsTask(taskData_r7) ? 1 : -1);
88926
+ \u0275\u0275conditional(ctx.isFormationTask(taskData_r10) ? 2 : -1);
87692
88927
  \u0275\u0275advance();
87693
- \u0275\u0275conditional(ctx.isFormationTask(taskData_r7) ? 2 : -1);
88928
+ \u0275\u0275conditional(ctx.isChangeOfOfficeAddressesTask(taskData_r10) ? 3 : -1);
87694
88929
  }
87695
88930
  }, dependencies: [
87696
88931
  BritishColumbiaChangeOfDirectorsDeltaFormComponent,
87697
88932
  BritishColumbiaChangeOfDirectorsPreviewFormComponent,
87698
88933
  BritishColumbiaIncorporationDeltaFormComponent,
87699
- BritishColumbiaIncorporationPreviewFormComponent
88934
+ BritishColumbiaIncorporationPreviewFormComponent,
88935
+ BritishColumbiaChangeOfOfficeAddressesDeltaFormComponent,
88936
+ BritishColumbiaChangeOfOfficeAddressesPreviewFormComponent,
88937
+ TermsAndConditionsComponent
87700
88938
  ], styles: ["\n\n[_nghost-%COMP%] {\n display: contents;\n}\n/*# sourceMappingURL=british-columbia.component.css.map */"], changeDetection: 0 });
87701
88939
  };
87702
88940
  (() => {
@@ -87706,12 +88944,15 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
87706
88944
  BritishColumbiaChangeOfDirectorsDeltaFormComponent,
87707
88945
  BritishColumbiaChangeOfDirectorsPreviewFormComponent,
87708
88946
  BritishColumbiaIncorporationDeltaFormComponent,
87709
- BritishColumbiaIncorporationPreviewFormComponent
87710
- ], template: '@let taskData = this.task();\r\n\r\n@if (isChangeOfDirectorsTask(taskData)) {\r\n @if (activeStep() === steps.Validate) {\r\n <british-columbia-change-of-directors-delta-form\r\n [task]="taskData"\r\n [form]="deltaForm()"\r\n [actionsDisabled]="actionsDisabled()"\r\n [errors]="errors()"\r\n [isNote]="isNote()"\r\n (validate)="onChangeOfDirectorsValidate()"\r\n (close)="onClose()"\r\n (save)="onChangeOfDirectorsSave()"\r\n />\r\n }\r\n\r\n @if (activeStep() === steps.FilingPreview) {\r\n <british-columbia-change-of-directors-preview-form\r\n [task]="taskData"\r\n [form]="previewForm()"\r\n [actionsDisabled]="actionsDisabled()"\r\n [errors]="errors()"\r\n (close)="close.emit()"\r\n (file)="onChangeOfDirectorsSubmit()"\r\n />\r\n }\r\n}\r\n\r\n@if (isFormationTask(taskData)) {\r\n @if (activeStep() === steps.Validate) {\r\n <british-columbia-incorporation-delta-form\r\n [task]="taskData"\r\n [errors]="errors()"\r\n [isNote]="isNote()"\r\n [actionsDisabled]="actionsDisabled()"\r\n [form]="deltaForm()"\r\n (validate)="onFormationValidate()"\r\n (close)="onClose()"\r\n (save)="onFormationSave()"\r\n />\r\n }\r\n\r\n @if (activeStep() === steps.FilingPreview) {\r\n <british-columbia-incorporation-preview-form\r\n [task]="taskData"\r\n [form]="previewForm()"\r\n [errors]="errors()"\r\n [actionsDisabled]="actionsDisabled()"\r\n (next)="onFormationSubmit()"\r\n (close)="close.emit()"\r\n />\r\n }\r\n}\r\n', styles: ["/* src/app/components/british-columbia/british-columbia.component.scss */\n:host {\n display: contents;\n}\n/*# sourceMappingURL=british-columbia.component.css.map */\n"] }]
88947
+ BritishColumbiaIncorporationPreviewFormComponent,
88948
+ BritishColumbiaChangeOfOfficeAddressesDeltaFormComponent,
88949
+ BritishColumbiaChangeOfOfficeAddressesPreviewFormComponent,
88950
+ TermsAndConditionsComponent
88951
+ ], template: '@let taskData = this.task();\r\n\r\n@if (isChangeOfDirectorsTask(taskData)) {\r\n @if (activeStep() === steps.Validate) {\r\n <british-columbia-change-of-directors-delta-form\r\n [task]="taskData"\r\n [form]="deltaForm()"\r\n [actionsDisabled]="actionsDisabled()"\r\n [errors]="errors()"\r\n [isNote]="isNote()"\r\n (validate)="onChangeOfDirectorsValidate()"\r\n (close)="onClose()"\r\n (save)="onChangeOfDirectorsSave()"\r\n />\r\n }\r\n\r\n @if (activeStep() === steps.FilingPreview) {\r\n <british-columbia-change-of-directors-preview-form\r\n [task]="taskData"\r\n [form]="previewForm()"\r\n [actionsDisabled]="actionsDisabled()"\r\n [errors]="errors()"\r\n (close)="close.emit()"\r\n (file)="nextStep.emit()"\r\n />\r\n }\r\n\r\n @if (activeStep() === steps.TermsAndConditions) {\r\n <terms-and-conditions\r\n [errors]="errors()"\r\n (prev)="prevStep.emit()"\r\n (close)="close.emit()"\r\n (confirm)="onChangeOfDirectorsSubmit($event)"\r\n />\r\n }\r\n}\r\n\r\n@if (isFormationTask(taskData)) {\r\n @if (activeStep() === steps.Validate) {\r\n <british-columbia-incorporation-delta-form\r\n [task]="taskData"\r\n [errors]="errors()"\r\n [isNote]="isNote()"\r\n [actionsDisabled]="actionsDisabled()"\r\n [form]="deltaForm()"\r\n (validate)="onFormationValidate()"\r\n (close)="onClose()"\r\n (save)="onFormationSave()"\r\n />\r\n }\r\n\r\n @if (activeStep() === steps.FilingPreview) {\r\n <british-columbia-incorporation-preview-form\r\n [task]="taskData"\r\n [form]="previewForm()"\r\n [errors]="errors()"\r\n [actionsDisabled]="actionsDisabled()"\r\n (next)="onFormationSubmit()"\r\n (close)="close.emit()"\r\n />\r\n }\r\n}\r\n\r\n@if (isChangeOfOfficeAddressesTask(taskData)) {\r\n @if (activeStep() === steps.Validate) {\r\n <british-columbia-change-of-office-addresses-delta-form\r\n [task]="taskData"\r\n [form]="deltaForm()"\r\n [actionsDisabled]="actionsDisabled()"\r\n [errors]="errors()"\r\n [isNote]="isNote()"\r\n (validate)="onChangeOfOfficeAddressesValidate()"\r\n (close)="onClose()"\r\n (save)="onChangeOfOfficeAddressesSave()"\r\n />\r\n }\r\n\r\n @if (activeStep() === steps.FilingPreview) {\r\n <british-columbia-change-of-office-addresses-preview-form\r\n [task]="taskData"\r\n [form]="previewForm()"\r\n [actionsDisabled]="actionsDisabled()"\r\n [errors]="errors()"\r\n (close)="close.emit()"\r\n (file)="onChangeOfOfficeAddressesFile()"\r\n />\r\n }\r\n}\r\n', styles: ["/* src/app/components/british-columbia/british-columbia.component.scss */\n:host {\n display: contents;\n}\n/*# sourceMappingURL=british-columbia.component.css.map */\n"] }]
87711
88952
  }], () => [], null);
87712
88953
  })();
87713
88954
  (() => {
87714
- (typeof ngDevMode === "undefined" || ngDevMode) && \u0275setClassDebugInfo(BritishColumbiaComponent, { className: "BritishColumbiaComponent", filePath: "src/app/components/british-columbia/british-columbia.component.ts", lineNumber: 62 });
88955
+ (typeof ngDevMode === "undefined" || ngDevMode) && \u0275setClassDebugInfo(BritishColumbiaComponent, { className: "BritishColumbiaComponent", filePath: "src/app/components/british-columbia/british-columbia.component.ts", lineNumber: 75 });
87715
88956
  })();
87716
88957
  }
87717
88958
  });
@@ -89082,7 +90323,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
89082
90323
  const isNumberedCompany = ext._numbered_company;
89083
90324
  const config2 = {};
89084
90325
  const corporateName = delta?.corporateName;
89085
- const directors = getIndividualDirectors(task.entity.affiliations ?? []);
90326
+ const directors = (task.entity.affiliations ?? []).filter((a) => isPrincipalAffiliation2(a) && a.role?.role_name === "Director");
89086
90327
  if (directors.length) {
89087
90328
  const deltaDirectorsMap = delta?.directors;
89088
90329
  const directorGroups = directors.map((director) => {
@@ -89663,7 +90904,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
89663
90904
  }
89664
90905
  });
89665
90906
  effect(() => {
89666
- const directors = getIndividualDirectors(this.task()?.entity.affiliations ?? []);
90907
+ const directors = (this.task()?.entity.affiliations ?? []).filter((a) => isPrincipalAffiliation2(a) && a.role?.role_name === "Director") ?? [];
89667
90908
  const directorOptions = directors.map((director) => ({ label: getPersonName(director.participant), value: director.participant._id }));
89668
90909
  this.federalFormationFormInviteDirectorsToBeManagersControl = generateFederalFormationFormInviteDirectorsToBeManagersControl(directorOptions);
89669
90910
  });
@@ -89838,7 +91079,11 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
89838
91079
  exclusionReason.updateValueAndValidity({ emitEvent: false });
89839
91080
  }
89840
91081
  getSelectableIndividualsWithSignificantControl(affiliations) {
89841
- return getIndividualWithSignificantControl(affiliations);
91082
+ const significantControlAffiliations = getIndividualWithSignificantControl(affiliations);
91083
+ if (significantControlAffiliations.length) {
91084
+ return significantControlAffiliations;
91085
+ }
91086
+ return affiliations.filter((a) => isPrincipalAffiliation2(a) && a._participant.participant_type === "person" && !["Contact", "Agent", "Responsible"].includes(a.role?.role_name ?? ""));
89842
91087
  }
89843
91088
  getFormArray(key) {
89844
91089
  return this.form().get(key);
@@ -90187,7 +91432,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
90187
91432
  }], () => [], null);
90188
91433
  })();
90189
91434
  (() => {
90190
- (typeof ngDevMode === "undefined" || ngDevMode) && \u0275setClassDebugInfo(FederalIncorporationFormComponent, { className: "FederalIncorporationFormComponent", filePath: "src/app/components/federal/incorporation/federal-incorporation-form/federal-incorporation-form.component.ts", lineNumber: 76 });
91435
+ (typeof ngDevMode === "undefined" || ngDevMode) && \u0275setClassDebugInfo(FederalIncorporationFormComponent, { className: "FederalIncorporationFormComponent", filePath: "src/app/components/federal/incorporation/federal-incorporation-form/federal-incorporation-form.component.ts", lineNumber: 75 });
90191
91436
  })();
90192
91437
  }
90193
91438
  });
@@ -92180,7 +93425,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
92180
93425
  searchOrFilingType,
92181
93426
  serviceOrderId,
92182
93427
  validatedOn: /* @__PURE__ */ new Date(),
92183
- provider: getFilingProvider(signature.task),
93428
+ provider: "obr",
92184
93429
  draftPdf: payload.ReceiptPdf,
92185
93430
  documentName: "Incorporation Receipt",
92186
93431
  documentType: "pdf"
@@ -92731,7 +93976,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
92731
93976
  const mailingAddressUid = deltaData.registeredOfficeAddress?.mailingAddressForCorrespondenceUid;
92732
93977
  const mailingAddress = useDifferentMailingAddress ? task.entity.addresses.find((address) => address.uid === mailingAddressUid) : void 0;
92733
93978
  const registeredOfficeAddress = findRegisteredOfficeAddress(task);
92734
- const directors = getIndividualDirectors(task.entity.affiliations);
93979
+ const directors = task.entity.affiliations.filter((aff) => aff.kind === "PrincipalAffiliationV3" && aff.role.role_name === DirectorRole.DIRECTOR);
92735
93980
  const incorporators = task._ext._incorporators ?? [];
92736
93981
  const requestedDate = task._ext._future_filing_date ? new Date(task._ext._future_filing_date).toISOString().split("T")[0] : (/* @__PURE__ */ new Date()).toISOString().split("T")[0];
92737
93982
  const officialBusinessEmail = registeredOfficeAddress?.communications?.find((c) => c.type === "Business Email")?.value;
@@ -93043,6 +94288,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
93043
94288
  }
93044
94289
  var init_federal_formation_mapper = __esm({
93045
94290
  "src/app/helpers/mappers/federal-formation.mapper.ts"() {
94291
+ init_ECoreInterfaces();
93046
94292
  init_transform_utils();
93047
94293
  init_address_utils();
93048
94294
  init_common_utils();
@@ -93930,47 +95176,6 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
93930
95176
  setConfig(config2) {
93931
95177
  this.config = config2;
93932
95178
  }
93933
- /**
93934
- * Orders the corporation's current data extract and waits until it is ready, returning the
93935
- * `currentDataServiceOrderId` that Validate Filing needs. The registry bot can take a while,
93936
- * so the extract is polled every `intervalMs` for up to `maxAttempts` times.
93937
- */
93938
- ensureCurrentDataExtract(_0, _1) {
93939
- return __async(this, arguments, function* (signature, order, opts = {}, { intervalMs = 3e3, maxAttempts = 40 } = {}) {
93940
- ensureAuthInputs(signature);
93941
- const fetchFn = opts.fetchImpl ?? fetch;
93942
- const dataExtractUrl = `${this.getOnbisOrigin()}/filings/ca/bc/data-extract`;
93943
- const orderResp = yield fetchWithJwtRetry(signature, () => postJson(fetchFn, signature.proxyApiUrl, signature.jwtToken, order, __spreadValues({
93944
- "x-target-url": `${dataExtractUrl}/order`
93945
- }, opts.headers ?? {})));
93946
- const ordered = yield this.readJson(orderResp, "BC current data extract order");
93947
- const orderId = ordered.currentDataServiceOrderId;
93948
- if (!orderResp.ok || !orderId || ordered.status === "failed") {
93949
- throw buildGenericError(orderResp.status, "BC current data extract order failed", __spreadProps(__spreadValues({}, ordered), {
93950
- errors: ordered.errors?.length ? ordered.errors : (ordered.additionalInformation ?? []).map((message) => ({ message }))
93951
- }));
93952
- }
93953
- for (let attempt = 0; attempt < maxAttempts; attempt++) {
93954
- const extractResp = yield fetchWithJwtRetry(signature, () => fetchFn(signature.proxyApiUrl, {
93955
- method: "GET",
93956
- headers: __spreadValues({
93957
- Authorization: `Bearer ${signature.jwtToken}`,
93958
- "x-target-url": `${dataExtractUrl}/${encodeURIComponent(orderId)}`
93959
- }, opts.headers ?? {})
93960
- }));
93961
- const extract = yield this.readJson(extractResp, "BC current data extract");
93962
- if (extractResp.ok && extract.status === "success") {
93963
- return orderId;
93964
- }
93965
- if (!extractResp.ok || extract.status === "failed" || extract.status === "sourceUnavailable") {
93966
- const reasons = extract.additionalInformation ?? [];
93967
- throw new Error(`BC current data extract ${extract.status ?? "failed"} (HTTP ${extractResp.status})${reasons.length ? `: ${reasons.join(" | ")}` : "."}`);
93968
- }
93969
- yield new Promise((resolve) => setTimeout(resolve, intervalMs));
93970
- }
93971
- throw new Error("BC current data extract is still processing. Please try again in a moment.");
93972
- });
93973
- }
93974
95179
  validate(_0, _1) {
93975
95180
  return __async(this, arguments, function* (signature, requestBody, opts = {}) {
93976
95181
  ensureAuthInputs(signature);
@@ -93988,12 +95193,8 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
93988
95193
  throw err2;
93989
95194
  }
93990
95195
  const payload = unwrapRequestResults(parsed.value);
93991
- if (resp.ok && !payload.Errors?.length && !payload["errors"]?.length) {
93992
- return __spreadProps(__spreadValues({}, payload), {
93993
- Status: payload.Status ?? payload["status"],
93994
- ServiceOrderId: payload.ServiceOrderId ?? payload["serviceOrderId"],
93995
- Draft: payload.Draft ?? payload["draft"]
93996
- });
95196
+ if (resp.ok && !payload.Errors?.length) {
95197
+ return payload;
93997
95198
  }
93998
95199
  const err = buildValidationError(resp.status, payload);
93999
95200
  err.validateResult = payload;
@@ -94053,16 +95254,6 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
94053
95254
  throw err;
94054
95255
  });
94055
95256
  }
94056
- readJson(resp, what) {
94057
- return __async(this, null, function* () {
94058
- const raw = yield resp.text();
94059
- const parsed = tryParseJson(raw);
94060
- if (!parsed.ok) {
94061
- throw new Error(`${what} returned ${resp.status} ${resp.statusText}: ${raw || "(empty response)"}`);
94062
- }
94063
- return unwrapRequestResults(parsed.value);
94064
- });
94065
- }
94066
95257
  getOnbisOrigin() {
94067
95258
  const filingUrl = this.config?.BCFiling;
94068
95259
  if (!filingUrl) {
@@ -94087,30 +95278,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
94087
95278
  });
94088
95279
 
94089
95280
  // src/app/helpers/mappers/british-columbia-change-of-directors.mapper.ts
94090
- function getBritishColumbiaAccessCode(task) {
94091
- return task.entity._profile.registry_id?.trim() ?? "";
94092
- }
94093
- function buildBritishColumbiaDataExtractOrder(task) {
94094
- const incorporationDate = toYyyyMmDd(task.entity._compliance.incorporation_date) ?? "";
94095
- const request = {
94096
- corporationNumber: task.entity._profile.corp_number?.trim() ?? "",
94097
- accessCodeOrPassword: getBritishColumbiaAccessCode(task),
94098
- incorporationDate: /^\d{4}-\d{2}-\d{2}$/.test(incorporationDate) ? incorporationDate : "",
94099
- filingType: "changeOfDirectorsFiling"
94100
- };
94101
- const issues = [];
94102
- if (!request.corporationNumber) {
94103
- issues.push("The corporation number is missing on the entity.");
94104
- }
94105
- if (!/^[A-Za-z0-9]+$/.test(request.accessCodeOrPassword)) {
94106
- issues.push("The company's BC Online access code or password is missing or contains characters other than letters and numbers.");
94107
- }
94108
- if (!request.incorporationDate) {
94109
- issues.push("The incorporation date is missing on the entity.");
94110
- }
94111
- return { request, issues };
94112
- }
94113
- function buildBritishColumbiaChangeOfDirectorsValidationRequest(task, deltaData, currentDataServiceOrderId) {
95281
+ function buildBritishColumbiaChangeOfDirectorsValidationRequest(task, deltaData) {
94114
95282
  const source = task.changeDirectors ?? task.deltaData?.changeDirectors ?? task.deltaData?.validatedData?.ChangeDirectors ?? task.deltaData?.validatedData?.filing;
94115
95283
  const incomingDirectors = (task.incomingAffiliations ?? []).filter(isDirectorAffiliation);
94116
95284
  const outgoingDirectors = (task.outgoingAffiliations ?? []).filter(isDirectorAffiliation);
@@ -94118,32 +95286,25 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
94118
95286
  const ceasedDirectors = [...source?.CeasedDirectors ?? [], ...source?.CeaseDirector ?? [], ...source?.ceaseDirectors ?? []];
94119
95287
  const editedDirectors = [...source?.EditedDirectors ?? [], ...source?.EditDirector ?? [], ...source?.editDirectors ?? []];
94120
95288
  const companyEmail = findCompanyEmail(task);
94121
- const addDirectors = (incomingDirectors.length ? incomingDirectors : addedDirectors).map((affiliation) => buildDirector(affiliation));
94122
- const ceaseDirectors = (outgoingDirectors.length ? outgoingDirectors : ceasedDirectors).map((affiliation) => buildCeasedDirector(affiliation));
94123
- return {
95289
+ const serviceOrderId = deltaData.serviceOrderId;
95290
+ return __spreadValues({
94124
95291
  filingType: "changeOfDirectorsFiling",
94125
- currentDataServiceOrderId,
94126
- filing: __spreadProps(__spreadValues({
94127
- corporationNumber: task.entity._profile.corp_number ?? "",
94128
- accessCodeOrPassword: getBritishColumbiaAccessCode(task),
95292
+ filing: {
94129
95293
  reference: deltaData.referenceNumbers.referenceNumber ?? null,
94130
- docket: deltaData.referenceNumbers.docketNumber ?? null
94131
- }, addDirectors.length || ceaseDirectors.length ? { effectiveDate: toYyyyMmDd(deltaData.filingDetails.changeDate) ?? toYyyyMmDd(/* @__PURE__ */ new Date()) } : {}), {
94132
- addDirectors,
94133
- ceaseDirectors,
95294
+ docket: deltaData.referenceNumbers.docketNumber ?? null,
95295
+ addOrDeleteDirectors: deltaData.filingDetails.directorsAddedOrDeleted,
95296
+ effectiveDate: toYyyyMmDd(deltaData.filingDetails.changeDate) ?? toYyyyMmDd(/* @__PURE__ */ new Date()),
95297
+ addDirectors: (incomingDirectors.length ? incomingDirectors : addedDirectors).map((affiliation) => buildDirector(affiliation)),
95298
+ ceaseDirectors: (outgoingDirectors.length ? outgoingDirectors : ceasedDirectors).map((affiliation) => buildDirector(affiliation)),
94134
95299
  editDirectors: editedDirectors.length ? editedDirectors.map((director) => buildDirector(director)) : [],
94135
95300
  companyEmail,
94136
95301
  isAnnualReportReminderRequired: deltaData.annualReportReminder === BCAnnualReportReminder.Yes
94137
- })
94138
- };
95302
+ }
95303
+ }, serviceOrderId ? { ServiceOrderId: serviceOrderId } : {});
94139
95304
  }
94140
95305
  function isDirectorAffiliation(affiliation) {
94141
95306
  return isPrincipalAffiliation2(affiliation) && affiliation.role?.role_name === "Director";
94142
95307
  }
94143
- function buildCeasedDirector(affiliation) {
94144
- const _a = buildDirector(affiliation), { isDeliveryAddressSameAsMailing: _omitted } = _a, director = __objRest(_a, ["isDeliveryAddressSameAsMailing"]);
94145
- return __spreadProps(__spreadValues({}, director), { deliveryAddress: director.deliveryAddress ?? director.mailingAddress });
94146
- }
94147
95308
  function buildDirector(affiliation) {
94148
95309
  if (affiliation?.PersonName || affiliation?.personName || affiliation?.firstName || affiliation?.FirstName) {
94149
95310
  const name = affiliation.PersonName ?? affiliation.personName ?? affiliation;
@@ -94152,7 +95313,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
94152
95313
  middleName: name.MiddleName ?? name.middleName ?? "",
94153
95314
  lastName: name.LastName ?? name.lastName ?? "",
94154
95315
  mailingAddress: affiliation.mailingAddress ?? affiliation.MailingAddress,
94155
- deliveryAddress: affiliation.isDeliveryAddressSameAsMailing ? void 0 : affiliation.deliveryAddress ?? affiliation.DeliveryAddress,
95316
+ deliveryAddress: affiliation.deliveryAddress ?? affiliation.DeliveryAddress,
94156
95317
  isDeliveryAddressSameAsMailing: affiliation.isDeliveryAddressSameAsMailing
94157
95318
  };
94158
95319
  }
@@ -94160,19 +95321,38 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
94160
95321
  const addresses = getAffiliationAddresses(affiliation);
94161
95322
  const mailingAddress = mapAddress4(BritishColumbiaFormationFormHelper.pickAddress(addresses, "Mailing"));
94162
95323
  const deliveryAddress = mapAddress4(BritishColumbiaFormationFormHelper.pickAddress(addresses, "Delivery"));
94163
- const isSameAsMailing = isDeliveryAddressSameAsMailing(addresses);
94164
95324
  return {
94165
95325
  firstName: profile.firstName ?? "",
94166
95326
  middleName: profile.middleName ?? "",
94167
95327
  lastName: profile.lastName ?? "",
94168
95328
  mailingAddress,
94169
- // The API rejects a delivery address when it is the same as the mailing address.
94170
- deliveryAddress: isSameAsMailing ? void 0 : deliveryAddress,
94171
- isDeliveryAddressSameAsMailing: isSameAsMailing
95329
+ deliveryAddress,
95330
+ isDeliveryAddressSameAsMailing: isDeliveryAddressSameAsMailing(addresses)
94172
95331
  };
94173
95332
  }
94174
95333
  function mapAddress4(address) {
94175
- return address ? mapAddress(address) : void 0;
95334
+ if (!address)
95335
+ return void 0;
95336
+ const raw = address;
95337
+ const postalAddress = raw.PostalAddress ?? raw.postalAddress;
95338
+ const source = postalAddress?.AddressCA ?? postalAddress?.AddressUS ?? postalAddress?.AddressINTL ?? raw;
95339
+ const streetNumber = address.components?.find((component) => component.name === "Street Number Only")?.value;
95340
+ const streetName = address.components?.find((component) => component.name === "Street Only")?.value;
95341
+ const suite = address.components?.find((component) => component.name === "Suite/Apartment")?.value;
95342
+ const streetAddress = [streetNumber, streetName].filter(Boolean).join(" ") || address.components?.find((component) => component.name === "Street Address")?.value || source.streetAddress || source.Address1 || raw.street || "";
95343
+ const country = source.country ?? source.CountryCodeName ?? raw.country ?? "";
95344
+ const postal = source.postalOrZipCode ?? source.PostCode ?? source.postalZip ?? raw.postal_zip ?? "";
95345
+ return {
95346
+ streetAddress: [streetAddress, suite].filter(Boolean).join(", "),
95347
+ city: source.city ?? source.CityTown ?? raw.city ?? "",
95348
+ provinceState: source.provinceState ?? source.RegionName ?? raw.province_state ?? "",
95349
+ country,
95350
+ postalOrZipCode: country === "CA" ? normalizeCanadianPostal(postal) : postal
95351
+ };
95352
+ }
95353
+ function normalizeCanadianPostal(value) {
95354
+ const compact = value.replace(/[\s-]+/g, "").toUpperCase();
95355
+ return /^[A-Z]\d[A-Z]\d[A-Z]\d$/.test(compact) ? `${compact.slice(0, 3)} ${compact.slice(3)}` : value;
94176
95356
  }
94177
95357
  function findCompanyEmail(task) {
94178
95358
  const affiliations = task.entity.affiliations ?? [];
@@ -94191,12 +95371,297 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
94191
95371
  "src/app/helpers/mappers/british-columbia-change-of-directors.mapper.ts"() {
94192
95372
  init_BritishColumbiaConstants();
94193
95373
  init_common_models();
94194
- init_british_columbia_formation_mapper();
94195
95374
  init_british_columbia_formation_form_helper();
94196
95375
  init_common_utils();
94197
95376
  }
94198
95377
  });
94199
95378
 
95379
+ // src/app/services/british-columbia/british-columbia-maintenance.service.ts
95380
+ var MAINTENANCE_FILING_PATH, TEMP_UAT_BC_FILING_URL2, DATA_EXTRACT_PATH, DEFAULT_EXTRACT_POLL, DEFAULT_RESULT_POLL, BritishColumbiaMaintenanceService;
95381
+ var init_british_columbia_maintenance_service = __esm({
95382
+ "src/app/services/british-columbia/british-columbia-maintenance.service.ts"() {
95383
+ init_core();
95384
+ init_common_utils();
95385
+ init_core();
95386
+ MAINTENANCE_FILING_PATH = "/filings/ca/bc/maintenance-filing";
95387
+ TEMP_UAT_BC_FILING_URL2 = "https://uat3-onbis.oncorp.com/eCoreBcApi/";
95388
+ DATA_EXTRACT_PATH = "/filings/ca/bc/data-extract";
95389
+ DEFAULT_EXTRACT_POLL = { intervalMs: 2e3, timeoutMs: 9e4 };
95390
+ DEFAULT_RESULT_POLL = { intervalMs: 3e3, timeoutMs: 12e4 };
95391
+ BritishColumbiaMaintenanceService = class _BritishColumbiaMaintenanceService {
95392
+ config;
95393
+ setConfig(config2) {
95394
+ this.config = config2;
95395
+ }
95396
+ /** Orders the registry's current data for the corporation; returns the extract's id. */
95397
+ orderCurrentDataExtract(_0, _1) {
95398
+ return __async(this, arguments, function* (signature, context2, opts = {}) {
95399
+ const { status, ok, body, raw } = yield this.send(signature, "POST", `${DATA_EXTRACT_PATH}/order`, {
95400
+ corporationNumber: context2.corporationNumber,
95401
+ accessCodeOrPassword: context2.accessCodeOrPassword,
95402
+ incorporationDate: context2.incorporationDate,
95403
+ filingType: "changeOfAddressFiling"
95404
+ }, opts);
95405
+ const id = body?.currentDataServiceOrderId ?? body?.CurrentDataServiceOrderId;
95406
+ if (!ok || !id || String(body?.status ?? "").toLowerCase() === "failed") {
95407
+ throw this.failure(status, "Ordering the current data from the registry failed", body, raw);
95408
+ }
95409
+ return String(id);
95410
+ });
95411
+ }
95412
+ /** Polls the extract until the registry has it ready (`success`). */
95413
+ waitForCurrentDataExtract(_0, _1) {
95414
+ return __async(this, arguments, function* (signature, extractId, opts = {}, poll = {}) {
95415
+ const { intervalMs, timeoutMs } = __spreadValues(__spreadValues({}, DEFAULT_EXTRACT_POLL), poll);
95416
+ const deadline = Date.now() + timeoutMs;
95417
+ for (; ; ) {
95418
+ const { status, ok, body, raw } = yield this.send(signature, "GET", `${DATA_EXTRACT_PATH}/${encodeURIComponent(extractId)}`, void 0, opts);
95419
+ const state2 = String(body?.status ?? "").toLowerCase();
95420
+ if (ok && state2 === "success") {
95421
+ return;
95422
+ }
95423
+ if (!ok || state2 === "failed" || state2 === "sourceunavailable") {
95424
+ throw this.failure(status, "Retrieving the current data from the registry failed", body, raw);
95425
+ }
95426
+ if (Date.now() >= deadline) {
95427
+ throw new Error("The registry has not returned the current data yet. Please try again in a moment.");
95428
+ }
95429
+ yield this.sleep(intervalMs);
95430
+ }
95431
+ });
95432
+ }
95433
+ /**
95434
+ * Validates the filing against the extract and returns the draft. `context` supplies the
95435
+ * corporation number and password; they are added here so they never become part of the
95436
+ * saved request used to detect Entity changes.
95437
+ */
95438
+ validate(_0, _1, _2, _3) {
95439
+ return __async(this, arguments, function* (signature, requestBody, extractId, context2, opts = {}) {
95440
+ const { status, ok, body, raw } = yield this.send(signature, "POST", MAINTENANCE_FILING_PATH, {
95441
+ currentDataServiceOrderId: extractId,
95442
+ filingType: requestBody.filingType,
95443
+ filing: __spreadProps(__spreadValues({}, requestBody.filing), {
95444
+ corporationNumber: context2.corporationNumber,
95445
+ accessCodeOrPassword: context2.accessCodeOrPassword
95446
+ })
95447
+ }, opts);
95448
+ if (body === null) {
95449
+ throw this.failure(status, "eCore validation failed", body, raw);
95450
+ }
95451
+ const result = this.normalize(unwrapRequestResults(body));
95452
+ if (ok && !this.hasFailed(result)) {
95453
+ return result;
95454
+ }
95455
+ const err = new Error(this.describeFailure(status, "eCore validation failed", result));
95456
+ err.validateResult = result;
95457
+ err.httpStatus = status;
95458
+ throw err;
95459
+ });
95460
+ }
95461
+ /**
95462
+ * Submits the staged filing, then waits for the registry's result. Resolves once the filing
95463
+ * is `success` (or its documents are pending); throws if it `failed`. If the registry is
95464
+ * still `processing` when the wait ends, the filing is already submitted, so it resolves
95465
+ * with `Status: 'Success'` and `Processing: true` rather than inviting a second submit.
95466
+ */
95467
+ submitAndWait(_0, _1) {
95468
+ return __async(this, arguments, function* (signature, serviceOrderId, opts = {}, poll = {}) {
95469
+ if (!serviceOrderId) {
95470
+ throw new Error("Missing serviceOrderId.");
95471
+ }
95472
+ const submitted = yield this.send(signature, "POST", `${MAINTENANCE_FILING_PATH}/${encodeURIComponent(serviceOrderId)}/submit`, void 0, opts);
95473
+ if (!submitted.ok || this.normalize(submitted.body).Status === "Failure") {
95474
+ const result = this.normalize(submitted.body);
95475
+ const err = new Error(this.describeFailure(submitted.status, "eCore submit failed", result));
95476
+ err.submitResult = result;
95477
+ err.httpStatus = submitted.status;
95478
+ throw err;
95479
+ }
95480
+ const { intervalMs, timeoutMs } = __spreadValues(__spreadValues({}, DEFAULT_RESULT_POLL), poll);
95481
+ const deadline = Date.now() + timeoutMs;
95482
+ let processing = true;
95483
+ let files;
95484
+ while (processing) {
95485
+ const { status, ok, body, raw } = yield this.send(signature, "GET", `${MAINTENANCE_FILING_PATH}/${encodeURIComponent(serviceOrderId)}`, void 0, opts);
95486
+ const state2 = String(body?.status ?? "").toLowerCase();
95487
+ if (ok && (state2 === "success" || state2 === "pendingdocuments")) {
95488
+ files = body?.files;
95489
+ processing = false;
95490
+ break;
95491
+ }
95492
+ if (!ok || state2 === "failed" || state2 === "sourceunavailable") {
95493
+ throw this.failure(status, "The registry could not complete the filing", body, raw);
95494
+ }
95495
+ if (Date.now() >= deadline) {
95496
+ break;
95497
+ }
95498
+ yield this.sleep(intervalMs);
95499
+ }
95500
+ signature.filingSubmitSuccess?.({ filedOn: /* @__PURE__ */ new Date(), serviceOrderId });
95501
+ return { Status: "Success", ServiceOrderId: serviceOrderId, Processing: processing, Files: files };
95502
+ });
95503
+ }
95504
+ getBaseUrl(env) {
95505
+ const baseUrl = this.config?.BCFiling || (env === "TEST" ? TEMP_UAT_BC_FILING_URL2 : void 0);
95506
+ if (!baseUrl) {
95507
+ throw new Error("BritishColumbiaMaintenanceService: missing EnvConfig.BCFiling.");
95508
+ }
95509
+ return baseUrl;
95510
+ }
95511
+ /** One call to the BC API through the proxy. `body` is `null` when the response isn't JSON. */
95512
+ send(signature, method, path, payload, opts) {
95513
+ return __async(this, null, function* () {
95514
+ ensureAuthInputs(signature);
95515
+ const fetchFn = opts.fetchImpl ?? fetch;
95516
+ const targetUrl = joinUrl(this.getBaseUrl(signature.env), path);
95517
+ const headers = __spreadValues({ "x-target-url": targetUrl }, opts.headers ?? {});
95518
+ const resp = yield fetchWithJwtRetry(signature, () => method === "POST" && payload !== void 0 ? postJson(fetchFn, signature.proxyApiUrl, signature.jwtToken, payload, headers) : fetchFn(signature.proxyApiUrl, {
95519
+ method,
95520
+ headers: __spreadValues({ Authorization: `Bearer ${signature.jwtToken}` }, headers)
95521
+ }));
95522
+ const raw = yield resp.text();
95523
+ const parsed = tryParseJson(raw);
95524
+ const body = parsed.ok ? unwrapRequestResults(parsed.value) : null;
95525
+ return { status: resp.status, ok: resp.ok, body, raw };
95526
+ });
95527
+ }
95528
+ failure(status, prefix, body, raw) {
95529
+ const result = body ? this.normalize(body) : void 0;
95530
+ const message = result ? this.describeFailure(status, prefix, result) : `${prefix} (HTTP ${status}): ${raw || "(empty response)"}`;
95531
+ const err = new Error(message);
95532
+ err.httpStatus = status;
95533
+ return err;
95534
+ }
95535
+ sleep(ms) {
95536
+ return new Promise((resolve) => setTimeout(resolve, ms));
95537
+ }
95538
+ /**
95539
+ * Maps a BC API body to the shared result shape. `status` becomes `Success` or `Failure`
95540
+ * (`failed` and any other non-success value are failures). When a failure carries no
95541
+ * `errors`, `additionalInformation` is used as the error messages.
95542
+ */
95543
+ normalize(body) {
95544
+ const rawErrors = body?.errors ?? body?.Errors ?? [];
95545
+ const errors = rawErrors.map((e) => ({
95546
+ Code: e?.code ?? e?.Code,
95547
+ Message: e?.message ?? e?.Message ?? e?.ErrorMessage
95548
+ }));
95549
+ const status = String(body?.status ?? body?.Status ?? "").toLowerCase();
95550
+ const succeeded = status === "success" || status === "alreadysubmitted";
95551
+ if (!succeeded && !errors.length) {
95552
+ const additional = body?.additionalInformation ?? [];
95553
+ errors.push(...additional.map((Message) => ({ Message })));
95554
+ }
95555
+ return {
95556
+ Status: succeeded ? "Success" : "Failure",
95557
+ ServiceOrderId: body?.serviceOrderId ?? body?.ServiceOrderId,
95558
+ Draft: body?.draft ?? body?.Draft,
95559
+ Errors: errors
95560
+ };
95561
+ }
95562
+ /** A body-level failure: the normalised status is `Failure` or errors were returned. */
95563
+ hasFailed(result) {
95564
+ return result.Status === "Failure" || Boolean(result.Errors?.length);
95565
+ }
95566
+ describeFailure(httpStatus, prefix, result) {
95567
+ const messages = (result.Errors ?? []).map((e) => e.Message || e.Code).filter(Boolean).join(" | ");
95568
+ return messages ? `${prefix} (HTTP ${httpStatus}): ${messages}` : `${prefix} (HTTP ${httpStatus}).`;
95569
+ }
95570
+ static \u0275fac = function BritishColumbiaMaintenanceService_Factory(__ngFactoryType__) {
95571
+ return new (__ngFactoryType__ || _BritishColumbiaMaintenanceService)();
95572
+ };
95573
+ static \u0275prov = /* @__PURE__ */ \u0275\u0275defineInjectable({ token: _BritishColumbiaMaintenanceService, factory: _BritishColumbiaMaintenanceService.\u0275fac, providedIn: "root" });
95574
+ };
95575
+ (() => {
95576
+ (typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(BritishColumbiaMaintenanceService, [{
95577
+ type: Injectable,
95578
+ args: [{
95579
+ providedIn: "root"
95580
+ }]
95581
+ }], null, null);
95582
+ })();
95583
+ }
95584
+ });
95585
+
95586
+ // src/app/helpers/mappers/british-columbia-change-of-office-addresses.mapper.ts
95587
+ function formatPostalCode(value) {
95588
+ const compact = clean(value).replace(/[\s-]+/g, "").toUpperCase();
95589
+ return compact.length === 6 ? `${compact.slice(0, 3)} ${compact.slice(3)}` : clean(value).toUpperCase();
95590
+ }
95591
+ function toEcoreAddress(address) {
95592
+ const line2 = clean(address?.addressLine2);
95593
+ return __spreadProps(__spreadValues({
95594
+ streetAddress: clean(address?.addressLine1)
95595
+ }, line2 ? { additionalStreetAddress: line2 } : {}), {
95596
+ city: clean(address?.city),
95597
+ provinceOrState: BC_PROVINCE_CODE,
95598
+ postalOrZipCode: formatPostalCode(address?.postalCode),
95599
+ country: CANADA_COUNTRY_CODE
95600
+ });
95601
+ }
95602
+ function buildBCChangeOfOfficeAddressesValidateRequest(task, deltaData) {
95603
+ const registered = deltaData.registeredOffice;
95604
+ const records = deltaData.recordsOffice;
95605
+ const registeredDeliverySame = Boolean(registered?.deliverySameAsMailing);
95606
+ const recordsSameAsRegistered = Boolean(records?.sameAsRegisteredOffice);
95607
+ const recordsDeliverySame = recordsSameAsRegistered ? registeredDeliverySame : Boolean(records?.deliverySameAsMailing);
95608
+ const recordsDeliveryAddress = recordsSameAsRegistered ? registered?.deliveryAddress : records?.deliveryAddress;
95609
+ const filing = {
95610
+ registeredOfficeMailingAddress: toEcoreAddress(registered?.mailingAddress),
95611
+ isRegisteredOfficeDeliveryAddressSameAsMailing: registeredDeliverySame,
95612
+ isRecordsOfficeMailingAddressSameAsRegisteredOfficeMailing: recordsSameAsRegistered,
95613
+ isRecordsOfficeDeliveryAddressSameAsRecordsOfficeMailing: recordsDeliverySame,
95614
+ // The email the user confirmed in the form; the entity's Business Email when none was saved.
95615
+ companyEmail: clean(deltaData.companyEmail) || BritishColumbiaChangeOfOfficeAddressesFormHelper.resolveCompanyEmail(task),
95616
+ // Not captured on this form; the reminder preference is not changed by an address filing.
95617
+ isAnnualReportReminderRequired: false
95618
+ };
95619
+ const reference = clean(deltaData.referenceNumbers?.referenceNumber);
95620
+ const docket = clean(deltaData.referenceNumbers?.docketNumber);
95621
+ if (reference) {
95622
+ filing.reference = reference;
95623
+ }
95624
+ if (docket) {
95625
+ filing.docket = docket;
95626
+ }
95627
+ if (!registeredDeliverySame) {
95628
+ filing.registeredOfficeDeliveryAddress = toEcoreAddress(registered?.deliveryAddress);
95629
+ }
95630
+ if (!recordsSameAsRegistered) {
95631
+ filing.recordsOfficeMailingAddress = toEcoreAddress(records?.mailingAddress);
95632
+ }
95633
+ if (!recordsDeliverySame) {
95634
+ filing.recordsOfficeDeliveryAddress = toEcoreAddress(recordsDeliveryAddress);
95635
+ }
95636
+ return { filingType: "changeOfAddressFiling", filing };
95637
+ }
95638
+ function findBCChangeOfOfficeAddressesRequestIssues(request, companyPassword) {
95639
+ const issues = [];
95640
+ const email = request.filing.companyEmail?.trim() ?? "";
95641
+ if (!email) {
95642
+ issues.push("Company Email is required. Enter it in Corporation Details.");
95643
+ } else if (email.length > BC_COMPANY_EMAIL_MAX_LENGTH) {
95644
+ issues.push(`Company Email must be ${BC_COMPANY_EMAIL_MAX_LENGTH} characters or fewer.`);
95645
+ } else if (!/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(email)) {
95646
+ issues.push("Company Email is not a valid email address. Correct it in Corporation Details.");
95647
+ }
95648
+ const password = companyPassword ?? "";
95649
+ if (password.length < BC_PASSWORD_MIN_LENGTH || password.length > BC_PASSWORD_MAX_LENGTH || !BC_PASSWORD_PATTERN.test(password)) {
95650
+ issues.push(`Company Password must be ${BC_PASSWORD_MIN_LENGTH} to ${BC_PASSWORD_MAX_LENGTH} letters or digits only. Enter it in Corporation Details.`);
95651
+ }
95652
+ return issues;
95653
+ }
95654
+ var BC_PROVINCE_CODE, CANADA_COUNTRY_CODE, clean;
95655
+ var init_british_columbia_change_of_office_addresses_mapper = __esm({
95656
+ "src/app/helpers/mappers/british-columbia-change-of-office-addresses.mapper.ts"() {
95657
+ init_BritishColumbiaConstants();
95658
+ init_british_columbia_change_of_office_addresses_form_helper();
95659
+ BC_PROVINCE_CODE = "BC";
95660
+ CANADA_COUNTRY_CODE = "CA";
95661
+ clean = (value) => (value ?? "").trim();
95662
+ }
95663
+ });
95664
+
94200
95665
  // src/app/components/filing/filing.component.ts
94201
95666
  function FilingComponent_Conditional_7_Template(rf, ctx) {
94202
95667
  if (rf & 1) {
@@ -94296,6 +95761,18 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
94296
95761
  \u0275\u0275restoreView(_r6);
94297
95762
  const ctx_r2 = \u0275\u0275nextContext(2);
94298
95763
  return \u0275\u0275resetView(ctx_r2.onBritishColumbiaChangeOfDirectorsSubmit());
95764
+ })("coaValidate", function FilingComponent_Conditional_10_Conditional_1_Template_british_columbia_coaValidate_0_listener($event) {
95765
+ \u0275\u0275restoreView(_r6);
95766
+ const ctx_r2 = \u0275\u0275nextContext(2);
95767
+ return \u0275\u0275resetView(ctx_r2.onBritishColumbiaChangeOfOfficeAddressesValidate($event));
95768
+ })("saveCoaDeltaData", function FilingComponent_Conditional_10_Conditional_1_Template_british_columbia_saveCoaDeltaData_0_listener($event) {
95769
+ \u0275\u0275restoreView(_r6);
95770
+ const ctx_r2 = \u0275\u0275nextContext(2);
95771
+ return \u0275\u0275resetView(ctx_r2.onBritishColumbiaChangeOfOfficeAddressesSave($event));
95772
+ })("coaSubmit", function FilingComponent_Conditional_10_Conditional_1_Template_british_columbia_coaSubmit_0_listener() {
95773
+ \u0275\u0275restoreView(_r6);
95774
+ const ctx_r2 = \u0275\u0275nextContext(2);
95775
+ return \u0275\u0275resetView(ctx_r2.onBritishColumbiaChangeOfOfficeAddressesSubmit());
94299
95776
  })("formationValidate", function FilingComponent_Conditional_10_Conditional_1_Template_british_columbia_formationValidate_0_listener($event) {
94300
95777
  \u0275\u0275restoreView(_r6);
94301
95778
  const ctx_r2 = \u0275\u0275nextContext(2);
@@ -94411,6 +95888,8 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
94411
95888
  init_delta_state_service();
94412
95889
  init_british_columbia_change_of_directors_service();
94413
95890
  init_british_columbia_change_of_directors_mapper();
95891
+ init_british_columbia_maintenance_service();
95892
+ init_british_columbia_change_of_office_addresses_mapper();
94414
95893
  init_core();
94415
95894
  init_button();
94416
95895
  FilingComponent = class _FilingComponent {
@@ -94467,6 +95946,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
94467
95946
  federalUpdateMaintainService = inject(FederalUpdateMaintainService);
94468
95947
  updateMaintainService = inject(OntarioUpdateMaintainService);
94469
95948
  britishColumbiaChangeOfDirectorsService = inject(BritishColumbiaChangeOfDirectorsService);
95949
+ bcMaintenanceService = inject(BritishColumbiaMaintenanceService);
94470
95950
  translate = inject(TranslateService);
94471
95951
  isEditButton = computed(() => {
94472
95952
  const task = this.task();
@@ -94508,6 +95988,9 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
94508
95988
  if (isChangeOfPrincipalsTask(task) && isBritishColumbiaTask(task)) {
94509
95989
  return "File British Columbia Notice of Change of Directors";
94510
95990
  }
95991
+ if (isChangeOfAddressTask(task) && isBritishColumbiaTask(task)) {
95992
+ return "File British Columbia Change of Office Addresses";
95993
+ }
94511
95994
  return "";
94512
95995
  });
94513
95996
  constructor() {
@@ -94520,6 +96003,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
94520
96003
  this.bcFormationService.setConfig(config2);
94521
96004
  this.federalUpdateMaintainService.setConfig(config2);
94522
96005
  this.britishColumbiaChangeOfDirectorsService.setConfig(config2);
96006
+ this.bcMaintenanceService.setConfig(config2);
94523
96007
  }
94524
96008
  });
94525
96009
  addStylesVariables();
@@ -94626,7 +96110,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
94626
96110
  searchOrFilingType,
94627
96111
  serviceOrderId: response["ServiceOrderId"] ?? "",
94628
96112
  validatedOn: /* @__PURE__ */ new Date(),
94629
- provider: getFilingProvider(signature.task),
96113
+ provider: "obr",
94630
96114
  draftPdf: response.Draft ?? "",
94631
96115
  documentName: this.validateOptions()?.documentName ?? "Incorporation Draft",
94632
96116
  documentType: "pdf"
@@ -94668,15 +96152,8 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
94668
96152
  try {
94669
96153
  this.isLoading.set(true);
94670
96154
  this.errors.set([]);
94671
- const options = this.validateOptions() ?? {};
94672
- const { request: extractOrder, issues } = buildBritishColumbiaDataExtractOrder(task);
94673
- if (issues.length) {
94674
- this.errors.set(issues);
94675
- return;
94676
- }
94677
- const currentDataServiceOrderId = yield this.britishColumbiaChangeOfDirectorsService.ensureCurrentDataExtract(signature, extractOrder, options);
94678
- const requestBody = buildBritishColumbiaChangeOfDirectorsValidationRequest(task, deltaData, currentDataServiceOrderId);
94679
- const response = yield this.britishColumbiaChangeOfDirectorsService.validate(signature, requestBody, options);
96155
+ const requestBody = buildBritishColumbiaChangeOfDirectorsValidationRequest(task, deltaData);
96156
+ const response = yield this.britishColumbiaChangeOfDirectorsService.validate(signature, requestBody, this.validateOptions() ?? {});
94680
96157
  if (this.hasResponseErrors(response))
94681
96158
  return;
94682
96159
  const serviceOrderId = response.ServiceOrderId ?? "";
@@ -94685,7 +96162,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
94685
96162
  searchOrFilingType: getSearchOrFilingType(task),
94686
96163
  serviceOrderId,
94687
96164
  validatedOn: /* @__PURE__ */ new Date(),
94688
- provider: "bcreg",
96165
+ provider: "obr",
94689
96166
  draftPdf: response.Draft,
94690
96167
  documentName: this.validateOptions()?.documentName ?? "BC Change of Directors Draft",
94691
96168
  documentType: "pdf"
@@ -94825,6 +96302,103 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
94825
96302
  }
94826
96303
  });
94827
96304
  }
96305
+ /**
96306
+ * British Columbia Change of Office Addresses "Validate & Generate Draft": sends the filing
96307
+ * to eCore, hands the draft PDF to the host, and saves the delta together with the
96308
+ * ServiceOrderId and the full request (`validatedData`) used to detect later Entity changes.
96309
+ */
96310
+ onBritishColumbiaChangeOfOfficeAddressesValidate(deltaData) {
96311
+ return __async(this, null, function* () {
96312
+ const task = this.task();
96313
+ const signature = this._signature();
96314
+ try {
96315
+ if (!task || !signature) {
96316
+ throw new Error("The filing is not ready yet. Please try again.");
96317
+ }
96318
+ const companyPassword = deltaData.companyPassword ?? "";
96319
+ const requestBody = buildBCChangeOfOfficeAddressesValidateRequest(task, deltaData);
96320
+ const issues = findBCChangeOfOfficeAddressesRequestIssues(requestBody, companyPassword);
96321
+ if (issues.length) {
96322
+ this.errors.set(issues);
96323
+ return;
96324
+ }
96325
+ const corporationNumber = task.entity._profile.corp_number;
96326
+ const incorporationDate = String(task.entity._compliance?.incorporation_date ?? "").slice(0, 10);
96327
+ if (!corporationNumber) {
96328
+ throw new Error("The entity has no Incorporation Number. Add it to the entity before filing.");
96329
+ }
96330
+ if (!/^\d{4}-\d{2}-\d{2}$/.test(incorporationDate)) {
96331
+ throw new Error("The entity has no incorporation date. Add it to the entity before filing.");
96332
+ }
96333
+ this.isLoading.set(true);
96334
+ this.errors.set([]);
96335
+ const opts = this.validateOptions() ?? {};
96336
+ const context2 = { corporationNumber, accessCodeOrPassword: companyPassword, incorporationDate };
96337
+ const extractId = yield this.bcMaintenanceService.orderCurrentDataExtract(signature, context2, opts);
96338
+ yield this.bcMaintenanceService.waitForCurrentDataExtract(signature, extractId, opts);
96339
+ const response = yield this.bcMaintenanceService.validate(signature, requestBody, extractId, context2, opts);
96340
+ if (this.hasResponseErrors(response))
96341
+ return;
96342
+ const serviceOrderId = response.ServiceOrderId ?? "";
96343
+ const draftPdf = response.Draft ?? "";
96344
+ const searchOrFilingType = getSearchOrFilingType(task);
96345
+ if (draftPdf && searchOrFilingType) {
96346
+ this.filingValidateSuccess.emit({
96347
+ searchOrFilingType,
96348
+ serviceOrderId,
96349
+ validatedOn: /* @__PURE__ */ new Date(),
96350
+ provider: "obr",
96351
+ draftPdf,
96352
+ documentName: this.validateOptions()?.documentName ?? "British Columbia Change of Office Addresses Draft",
96353
+ documentType: "pdf"
96354
+ });
96355
+ }
96356
+ this.deltaDataChange.emit(__spreadProps(__spreadValues({}, deltaData), {
96357
+ serviceOrderId,
96358
+ validatedData: JSON.parse(JSON.stringify(requestBody))
96359
+ }));
96360
+ this.close.emit();
96361
+ } catch (response) {
96362
+ this.handleCatchError(response);
96363
+ } finally {
96364
+ this.isLoading.set(false);
96365
+ }
96366
+ });
96367
+ }
96368
+ /**
96369
+ * British Columbia Change of Office Addresses save – propagates delta data to the host.
96370
+ */
96371
+ onBritishColumbiaChangeOfOfficeAddressesSave(deltaData) {
96372
+ const oldDeltaData = this.task()?.deltaData;
96373
+ if (oldDeltaData) {
96374
+ delete this.task()?.deltaData;
96375
+ }
96376
+ this.deltaDataChange.emit(deltaData);
96377
+ }
96378
+ /**
96379
+ * British Columbia Change of Office Addresses submit/file: submits the filing staged by
96380
+ * "Validate & Generate Draft" using the ServiceOrderId saved with the delta.
96381
+ */
96382
+ onBritishColumbiaChangeOfOfficeAddressesSubmit() {
96383
+ return __async(this, null, function* () {
96384
+ const signature = this._signature();
96385
+ const serviceOrderId = this.task()?.deltaData?.serviceOrderId;
96386
+ if (!signature || !serviceOrderId) {
96387
+ this.handleCatchError(new Error("Missing serviceOrderId. Generate a draft before filing."));
96388
+ return;
96389
+ }
96390
+ try {
96391
+ this.isLoading.set(true);
96392
+ this.errors.set([]);
96393
+ yield this.bcMaintenanceService.submitAndWait(signature, serviceOrderId, this.validateOptions() ?? {});
96394
+ this.close.emit();
96395
+ } catch (response) {
96396
+ this.handleCatchError(response);
96397
+ } finally {
96398
+ this.isLoading.set(false);
96399
+ }
96400
+ });
96401
+ }
94828
96402
  /**
94829
96403
  * Ontario Update/Maintain (IR / NOC / Annual Return) save – propagates delta data to the host.
94830
96404
  */
@@ -94880,7 +96454,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
94880
96454
  searchOrFilingType,
94881
96455
  serviceOrderId,
94882
96456
  validatedOn: /* @__PURE__ */ new Date(),
94883
- provider: getFilingProvider(task),
96457
+ provider: "obr",
94884
96458
  draftPdf,
94885
96459
  documentName: this.validateOptions()?.documentName ?? "Federal Draft",
94886
96460
  documentType: "pdf"
@@ -95093,7 +96667,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
95093
96667
  this.errors.set(this.parseError(errors));
95094
96668
  return;
95095
96669
  }
95096
- const fallbackMessage = parsed?.message || (typeof parsed === "string" ? parsed : "") || this.translate.instant("An unexpected error occurred. Please try again.");
96670
+ const fallbackMessage = (response instanceof Error ? response.message : "") || parsed?.message || (typeof parsed === "string" ? parsed : "") || this.translate.instant("An unexpected error occurred. Please try again.");
95097
96671
  this.errors.set([fallbackMessage]);
95098
96672
  }
95099
96673
  onClose() {
@@ -95160,6 +96734,8 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
95160
96734
  let initialDelta;
95161
96735
  if (isFormationTask2(task)) {
95162
96736
  initialDelta = isOntarioTask(task) ? this.deltaState.formationInitialDelta() : isBritishColumbiaTask(task) ? this.deltaState.bcFormationInitialDelta() : this.deltaState.federalFormationInitialDelta();
96737
+ } else if (isChangeOfAddressTask(task) && isBritishColumbiaTask(task)) {
96738
+ initialDelta = this.deltaState.bcChangeOfOfficeAddressesInitialDelta();
95163
96739
  } else if (isUpdateMaintain(task)) {
95164
96740
  initialDelta = isOntarioTask(task) ? this.deltaState.initialReturnInitialDelta() : this.deltaState.federalUpdateMaintainInitialDelta();
95165
96741
  } else if (isChangeOfPrincipalsTask(task) && isBritishColumbiaTask(task)) {
@@ -95193,6 +96769,9 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
95193
96769
  }
95194
96770
  return federalPayload;
95195
96771
  }
96772
+ if (isChangeOfAddressTask(task) && isBritishColumbiaTask(task)) {
96773
+ return buildBCChangeOfOfficeAddressesValidateRequest(task, deltaData);
96774
+ }
95196
96775
  if (isUpdateMaintain(task) && isOntarioTask(task)) {
95197
96776
  const serviceOrderId = deltaData?.serviceOrderId ?? this.serviceOrderId;
95198
96777
  if (!serviceOrderId) {
@@ -95221,7 +96800,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
95221
96800
  if (rf & 2) {
95222
96801
  \u0275\u0275styleProp("height", ctx.modalHeight());
95223
96802
  }
95224
- }, inputs: { env: [1, "env"], config: [1, "config"], language: [1, "language"], proxyApiUrl: [1, "proxyApiUrl"], jwtToken: [1, "jwtToken"], task: [1, "task"], currentUser: [1, "currentUser"], height: [1, "height"], validateOptions: [1, "validateOptions"], getDocumentBytes: [1, "getDocumentBytes"] }, outputs: { deltaDataChange: "deltaDataChange", filingValidateSuccess: "filingValidateSuccess", filingSubmitSuccess: "filingSubmitSuccess", close: "close" }, decls: 12, vars: 9, consts: [[1, "filing"], [1, "filing-title"], [1, "filing-title-text"], [1, "filing-title-action", 3, "click"], [1, "filing-header"], [1, "filing-content"], [1, "filing-content-loading"], ["mat-stroked-button", "", 3, "click", "disabled"], [3, "task", "activeStep", "isNote", "actionsDisabled", "errors", "prevData", "irValidationConfig"], [3, "task", "currentUser", "activeStep", "isNote", "actionsDisabled", "errors"], [3, "actionsDisabled", "isNote", "activeStep", "task", "errors"], [3, "close", "formationValidate", "saveFormationDeltaData", "formationSubmit", "nextStep", "prevStep", "irValidate", "saveIrDeltaData", "irSubmit", "task", "activeStep", "isNote", "actionsDisabled", "errors", "prevData", "irValidationConfig"], [3, "close", "nextStep", "prevStep", "codValidate", "saveCodDeltaData", "codSubmit", "formationValidate", "saveFormationDeltaData", "formationSubmit", "task", "currentUser", "activeStep", "isNote", "actionsDisabled", "errors"], [3, "close", "deltaDataChange", "file", "validate", "umSave", "umValidate", "umSubmit", "nextStep", "actionsDisabled", "isNote", "activeStep", "task", "errors"], [3, "diameter"]], template: function FilingComponent_Template(rf, ctx) {
96803
+ }, inputs: { env: [1, "env"], config: [1, "config"], language: [1, "language"], proxyApiUrl: [1, "proxyApiUrl"], jwtToken: [1, "jwtToken"], task: [1, "task"], currentUser: [1, "currentUser"], height: [1, "height"], validateOptions: [1, "validateOptions"], getDocumentBytes: [1, "getDocumentBytes"] }, outputs: { deltaDataChange: "deltaDataChange", filingValidateSuccess: "filingValidateSuccess", filingSubmitSuccess: "filingSubmitSuccess", close: "close" }, decls: 12, vars: 9, consts: [[1, "filing"], [1, "filing-title"], [1, "filing-title-text"], [1, "filing-title-action", 3, "click"], [1, "filing-header"], [1, "filing-content"], [1, "filing-content-loading"], ["mat-stroked-button", "", 3, "click", "disabled"], [3, "task", "activeStep", "isNote", "actionsDisabled", "errors", "prevData", "irValidationConfig"], [3, "task", "currentUser", "activeStep", "isNote", "actionsDisabled", "errors"], [3, "actionsDisabled", "isNote", "activeStep", "task", "errors"], [3, "close", "formationValidate", "saveFormationDeltaData", "formationSubmit", "nextStep", "prevStep", "irValidate", "saveIrDeltaData", "irSubmit", "task", "activeStep", "isNote", "actionsDisabled", "errors", "prevData", "irValidationConfig"], [3, "close", "nextStep", "prevStep", "codValidate", "saveCodDeltaData", "codSubmit", "coaValidate", "saveCoaDeltaData", "coaSubmit", "formationValidate", "saveFormationDeltaData", "formationSubmit", "task", "currentUser", "activeStep", "isNote", "actionsDisabled", "errors"], [3, "close", "deltaDataChange", "file", "validate", "umSave", "umValidate", "umSubmit", "nextStep", "actionsDisabled", "isNote", "activeStep", "task", "errors"], [3, "diameter"]], template: function FilingComponent_Template(rf, ctx) {
95225
96804
  if (rf & 1) {
95226
96805
  const _r1 = \u0275\u0275getCurrentView();
95227
96806
  \u0275\u0275elementStart(0, "div", 0)(1, "div", 1)(2, "h1", 2);
@@ -95330,6 +96909,9 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
95330
96909
  (codValidate)="onBritishColumbiaChangeOfDirectorsValidate($event)"\r
95331
96910
  (saveCodDeltaData)="onBritishColumbiaChangeOfDirectorsSave($event)"\r
95332
96911
  (codSubmit)="onBritishColumbiaChangeOfDirectorsSubmit()"\r
96912
+ (coaValidate)="onBritishColumbiaChangeOfOfficeAddressesValidate($event)"\r
96913
+ (saveCoaDeltaData)="onBritishColumbiaChangeOfOfficeAddressesSave($event)"\r
96914
+ (coaSubmit)="onBritishColumbiaChangeOfOfficeAddressesSubmit()"\r
95333
96915
  (formationValidate)="onBritishColumbiaFormationValidate($event)"\r
95334
96916
  (saveFormationDeltaData)="onBritishColumbiaFormationSave($event)"\r
95335
96917
  (formationSubmit)="onBritishColumbiaFormationSubmit()"\r
@@ -95359,12 +96941,11 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
95359
96941
  </div>\r
95360
96942
  }\r
95361
96943
  </div>\r
95362
- </div>\r
95363
- `, styles: ["/* src/app/components/filing/filing.component.scss */\n:host {\n display: flex;\n width: 100%;\n min-width: 0;\n min-height: 480px;\n box-sizing: border-box;\n overflow: hidden;\n}\n:host .filing {\n position: relative;\n width: 100%;\n min-width: 0;\n min-height: 0;\n height: 100%;\n display: flex;\n flex-direction: column;\n gap: 16px;\n box-sizing: border-box;\n background: #ffffff;\n}\n:host .filing-title {\n width: 100%;\n display: flex;\n align-items: center;\n justify-content: space-between;\n}\n:host .filing-title-text {\n color: #666666;\n}\n:host .filing-title-action {\n cursor: pointer;\n}\n:host .filing-header {\n display: flex;\n width: 100%;\n justify-content: flex-end;\n}\n:host .filing-content {\n min-height: 0;\n height: calc(100% - 44px);\n}\n:host .filing-content.edit {\n height: calc(100% - 95px);\n}\n:host .filing-content-loading {\n display: flex;\n align-items: center;\n justify-content: center;\n position: absolute;\n background: transparent;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n}\n.pointer {\n cursor: pointer;\n}\n/*# sourceMappingURL=filing.component.css.map */\n", '/* src/app/components/filing/typography.scss */\n:host {\n --filing-modal-color-grey: #444444;\n --filing-modal-color-dark-blue: #485673;\n --filing-modal-color-grey-mid: #A0A0A0;\n --filing-modal-color-light-blue: #3778E4;\n --filing-modal-color-black: #444444;\n}\nmat-icon {\n font-family: "Material Icons" !important;\n font-size: 20px;\n height: 20px;\n width: 20px;\n line-height: 20px;\n}\nh1 {\n font-size: 24px;\n line-height: 28px;\n font-weight: 700;\n font-family: "Open Sans";\n margin: 0;\n}\nh2 {\n font-size: 22px;\n line-height: 26px;\n font-weight: 600;\n font-family: "Open Sans";\n margin: 0;\n}\nh3 {\n font-size: 18px;\n font-weight: 600;\n font-family: "Open Sans";\n margin-top: 0;\n margin-bottom: 0;\n}\nh4 {\n font-size: 16px;\n line-height: 22px;\n font-weight: 600;\n font-family: "Open Sans";\n margin: 0;\n}\nh4 {\n font-size: 16px;\n line-height: 20px;\n font-weight: 600;\n font-family: "Open Sans";\n margin: 0;\n}\n.body-1-regular {\n line-height: 20px;\n font-size: 14px !important;\n font-weight: 400;\n font-family: "Open Sans";\n}\n.body-1-bold {\n line-height: 20px;\n font-size: 14px !important;\n font-weight: 700;\n font-family: "Open Sans";\n}\n.body-1-semibold {\n line-height: 20px;\n font-size: 14px !important;\n font-weight: 600;\n font-family: "Open Sans";\n}\n.body-2-regular {\n line-height: 20px;\n font-size: 12px !important;\n font-weight: 400;\n font-family: "Open Sans";\n}\n.body-2-bold {\n line-height: 20px;\n font-size: 12px !important;\n font-weight: 700;\n font-family: "Open Sans";\n}\n.body-3-regular {\n line-height: 20px;\n font-size: 16px !important;\n font-weight: 400;\n font-family: "Open Sans";\n}\n.body-4-regular {\n line-height: 18px;\n font-size: 18px !important;\n font-weight: 400;\n font-family: "Open Sans";\n}\n.body-4-bold {\n line-height: 20px;\n font-size: 20px !important;\n font-weight: 700;\n font-family: "Open Sans";\n}\nh1,\nh2,\nh3,\nh4,\nh5,\nh6,\np {\n margin: 0;\n}\n.black {\n color: var(--filing-modal-color-black);\n}\n.grey {\n color: var(--filing-modal-color-grey);\n}\n.dark-blue {\n color: var(--filing-modal-color-dark-blue);\n}\n.grey-mid {\n color: var(--filing-modal-color-grey-mid);\n}\n.light-blue {\n color: var(--filing-modal-color-light-blue);\n}\n/*# sourceMappingURL=typography.css.map */\n', '/* src/app/components/filing/material-theme.scss */\n.filling {\n height: 100%;\n overflow: hidden;\n}\n* {\n box-sizing: border-box;\n}\nh1,\nh2,\nh3,\nh4,\nh5,\nh6 {\n margin: 0;\n}\n.filling {\n margin: 0;\n font-family: "Helvetica Neue", sans-serif;\n}\n.filing {\n --app-font-family:\n -apple-system,\n BlinkMacSystemFont,\n "Helvetica Neue",\n Helvetica,\n Arial,\n sans-serif;\n --mat-sys-background: #faf9fd;\n --mat-sys-error: #ba1a1a;\n --mat-sys-error-container: #ffdad6;\n --mat-sys-inverse-on-surface: #f2f0f4;\n --mat-sys-inverse-primary: #abc7ff;\n --mat-sys-inverse-surface: #2f3033;\n --mat-sys-on-background: #1a1b1f;\n --mat-sys-on-error: #ffffff;\n --mat-sys-on-error-container: #93000a;\n --mat-sys-on-primary: #ffffff;\n --mat-sys-on-primary-container: #00458f;\n --mat-sys-on-primary-fixed: #001b3f;\n --mat-sys-on-primary-fixed-variant: #00458f;\n --mat-sys-on-secondary: #ffffff;\n --mat-sys-on-secondary-container: #3e4759;\n --mat-sys-on-secondary-fixed: #131c2b;\n --mat-sys-on-secondary-fixed-variant: #3e4759;\n --mat-sys-on-surface: #1a1b1f;\n --mat-sys-on-surface-variant: var(--filing-modal-color-grey);\n --mat-sys-on-tertiary: #ffffff;\n --mat-sys-on-tertiary-container: #0000ef;\n --mat-sys-on-tertiary-fixed: #00006e;\n --mat-sys-on-tertiary-fixed-variant: #0000ef;\n --mat-sys-outline: #74777f;\n --mat-sys-outline-variant: #c4c6d0;\n --mat-sys-primary: #3778e4;\n --mat-sys-primary-container: #d7e3ff;\n --mat-sys-primary-fixed: #d7e3ff;\n --mat-sys-primary-fixed-dim: #abc7ff;\n --mat-sys-scrim: #000000;\n --mat-sys-secondary: #565e71;\n --mat-sys-secondary-container: #dae2f9;\n --mat-sys-secondary-fixed: #dae2f9;\n --mat-sys-secondary-fixed-dim: #bec6dc;\n --mat-sys-shadow: #000000;\n --mat-sys-surface: #faf9fd;\n --mat-sys-surface-bright: #faf9fd;\n --mat-sys-surface-container: #efedf0;\n --mat-sys-surface-container-high: #e9e7eb;\n --mat-sys-surface-container-highest: #e3e2e6;\n --mat-sys-surface-container-low: #f4f3f6;\n --mat-sys-surface-container-lowest: #ffffff;\n --mat-sys-surface-dim: #dbd9dd;\n --mat-sys-surface-tint: #005cbb;\n --mat-sys-surface-variant: #e0e2ec;\n --mat-sys-tertiary: #343dff;\n --mat-sys-tertiary-container: #e0e0ff;\n --mat-sys-tertiary-fixed: #e0e0ff;\n --mat-sys-tertiary-fixed-dim: #bec2ff;\n --mat-sys-neutral-variant20: #2d3038;\n --mat-sys-neutral10: #1a1b1f;\n --mdc-filled-button-container-height: 35px;\n --mdc-outlined-button-container-height: 35px;\n --mdc-text-button-label-text-color: #808090;\n --mdc-filled-button-label-text-weight: 600;\n --mdc-text-button-label-text-weight: 600;\n --mdc-filled-button-container-shape: 4px;\n --mdc-outlined-button-outline-color: none;\n --mdc-outlined-button-container-shape: 6px;\n --mat-sys-level0:\n 0px 0px 0px 0px rgba(0, 0, 0, 0.2),\n 0px 0px 0px 0px rgba(0, 0, 0, 0.14),\n 0px 0px 0px 0px rgba(0, 0, 0, 0.12);\n --mat-sys-level1:\n 0px 2px 1px -1px rgba(0, 0, 0, 0.2),\n 0px 1px 1px 0px rgba(0, 0, 0, 0.14),\n 0px 1px 3px 0px rgba(0, 0, 0, 0.12);\n --mat-sys-level2:\n 0px 3px 3px -2px rgba(0, 0, 0, 0.2),\n 0px 3px 4px 0px rgba(0, 0, 0, 0.14),\n 0px 1px 8px 0px rgba(0, 0, 0, 0.12);\n --mat-sys-level3:\n 0px 3px 5px -1px rgba(0, 0, 0, 0.2),\n 0px 6px 10px 0px rgba(0, 0, 0, 0.14),\n 0px 1px 18px 0px rgba(0, 0, 0, 0.12);\n --mat-sys-level4:\n 0px 5px 5px -3px rgba(0, 0, 0, 0.2),\n 0px 8px 10px 1px rgba(0, 0, 0, 0.14),\n 0px 3px 14px 2px rgba(0, 0, 0, 0.12);\n --mat-sys-level5:\n 0px 7px 8px -4px rgba(0, 0, 0, 0.2),\n 0px 12px 17px 2px rgba(0, 0, 0, 0.14),\n 0px 5px 22px 4px rgba(0, 0, 0, 0.12);\n --mdc-outlined-button-label-text-size: 14px;\n --mdc-filled-button-label-text-size: 14px;\n --mdc-filled-text-field-label-text-size: 16px;\n --mat-sys-body-large: 400 1rem / 1.5rem var(--app-font-family);\n --mat-sys-body-large-font: var(--app-font-family);\n --mat-sys-body-large-line-height: 1.5rem;\n --mat-sys-body-large-size: 14px;\n --mat-sys-body-large-tracking: 0.031rem;\n --mat-sys-body-large-weight: 400;\n --mat-sys-body-medium: 400 0.875rem / 1.25rem var(--app-font-family);\n --mat-sys-body-medium-font: var(--app-font-family);\n --mat-sys-body-medium-line-height: 1.25rem;\n --mat-sys-body-medium-size: 0.875rem;\n --mat-sys-body-medium-tracking: 0.016rem;\n --mat-sys-body-medium-weight: 400;\n --mat-sys-body-small: 400 0.75rem / 1rem var(--app-font-family);\n --mat-sys-body-small-font: var(--app-font-family);\n --mat-sys-body-small-line-height: 1rem;\n --mat-sys-body-small-size: 0.75rem;\n --mat-sys-body-small-tracking: 0.025rem;\n --mat-sys-body-small-weight: 400;\n --mat-sys-display-large: 400 3.562rem / 4rem var(--app-font-family);\n --mat-sys-display-large-font: var(--app-font-family);\n --mat-sys-display-large-line-height: 4rem;\n --mat-sys-display-large-size: 3.562rem;\n --mat-sys-display-large-tracking: -0.016rem;\n --mat-sys-display-large-weight: 400;\n --mat-sys-display-medium: 400 2.812rem / 3.25rem var(--app-font-family);\n --mat-sys-display-medium-font: var(--app-font-family);\n --mat-sys-display-medium-line-height: 3.25rem;\n --mat-sys-display-medium-size: 2.812rem;\n --mat-sys-display-medium-tracking: 0;\n --mat-sys-display-medium-weight: 400;\n --mat-sys-display-small: 400 2.25rem / 2.75rem var(--app-font-family);\n --mat-sys-display-small-font: var(--app-font-family);\n --mat-sys-display-small-line-height: 2.75rem;\n --mat-sys-display-small-size: 2.25rem;\n --mat-sys-display-small-tracking: 0;\n --mat-sys-display-small-weight: 400;\n --mat-sys-headline-large: 400 2rem / 2.5rem var(--app-font-family);\n --mat-sys-headline-large-font: var(--app-font-family);\n --mat-sys-headline-large-line-height: 2.5rem;\n --mat-sys-headline-large-size: 2rem;\n --mat-sys-headline-large-tracking: 0;\n --mat-sys-headline-large-weight: 400;\n --mat-sys-headline-medium: 400 1.75rem / 2.25rem var(--app-font-family);\n --mat-sys-headline-medium-font: var(--app-font-family);\n --mat-sys-headline-medium-line-height: 2.25rem;\n --mat-sys-headline-medium-size: 1.75rem;\n --mat-sys-headline-medium-tracking: 0;\n --mat-sys-headline-medium-weight: 400;\n --mat-sys-headline-small: 400 1.5rem / 2rem var(--app-font-family);\n --mat-sys-headline-small-font: var(--app-font-family);\n --mat-sys-headline-small-line-height: 2rem;\n --mat-sys-headline-small-size: 1.5rem;\n --mat-sys-headline-small-tracking: 0;\n --mat-sys-headline-small-weight: 400;\n --mat-sys-label-large: 500 0.875rem / 1.25rem var(--app-font-family);\n --mat-sys-label-large-font: var(--app-font-family);\n --mat-sys-label-large-line-height: 1.25rem;\n --mat-sys-label-large-size: 0.875rem;\n --mat-sys-label-large-tracking: 0.006rem;\n --mat-sys-label-large-weight: 500;\n --mat-sys-label-large-weight-prominent: 700;\n --mat-sys-label-medium: 500 0.75rem / 1rem var(--app-font-family);\n --mat-sys-label-medium-font: var(--app-font-family);\n --mat-sys-label-medium-line-height: 1rem;\n --mat-sys-label-medium-size: 0.75rem;\n --mat-sys-label-medium-tracking: 0.031rem;\n --mat-sys-label-medium-weight: 500;\n --mat-sys-label-medium-weight-prominent: 700;\n --mat-sys-label-small: 500 0.688rem / 1rem var(--app-font-family);\n --mat-sys-label-small-font: var(--app-font-family);\n --mat-sys-label-small-line-height: 1rem;\n --mat-sys-label-small-size: 0.688rem;\n --mat-sys-label-small-tracking: 0.031rem;\n --mat-sys-label-small-weight: 500;\n --mat-sys-title-large: 400 1.375rem / 1.75rem var(--app-font-family);\n --mat-sys-title-large-font: var(--app-font-family);\n --mat-sys-title-large-line-height: 1.75rem;\n --mat-sys-title-large-size: 1.375rem;\n --mat-sys-title-large-tracking: 0;\n --mat-sys-title-large-weight: 400;\n --mat-sys-title-medium: 500 1rem / 1.5rem var(--app-font-family);\n --mat-sys-title-medium-font: var(--app-font-family);\n --mat-sys-title-medium-line-height: 1.5rem;\n --mat-sys-title-medium-size: 1rem;\n --mat-sys-title-medium-tracking: 0.009rem;\n --mat-sys-title-medium-weight: 500;\n --mat-sys-title-small: 500 0.875rem / 1.25rem var(--app-font-family);\n --mat-sys-title-small-font: var(--app-font-family);\n --mat-sys-title-small-line-height: 1.25rem;\n --mat-sys-title-small-size: 0.875rem;\n --mat-sys-title-small-tracking: 0.006rem;\n --mat-sys-title-small-weight: 500;\n --mat-sys-corner-extra-large: 28px;\n --mat-sys-corner-extra-large-top: 28px 28px 0 0;\n --mat-sys-corner-extra-small: 4px;\n --mat-sys-corner-extra-small-top: 4px 4px 0 0;\n --mat-sys-corner-full: 9999px;\n --mat-sys-corner-large: 16px;\n --mat-sys-corner-large-end: 0 16px 16px 0;\n --mat-sys-corner-large-start: 16px 0 0 16px;\n --mat-sys-corner-large-top: 16px 16px 0 0;\n --mat-sys-corner-medium: 12px;\n --mat-sys-corner-none: 0;\n --mat-sys-corner-small: 8px;\n --mat-sys-dragged-state-layer-opacity: 0.16;\n --mat-sys-focus-state-layer-opacity: 0.12;\n --mat-sys-hover-state-layer-opacity: 0.08;\n --mat-sys-pressed-state-layer-opacity: 0.12;\n}\n.filing .mat-primary .mat-pseudo-checkbox-checked,\n.filing .mat-primary .mat-pseudo-checkbox-indeterminate {\n background: transparent !important;\n}\n.filing .mat-mdc-checkbox[cardView] .mdc-checkbox {\n width: 24px;\n height: 24px;\n flex-basis: 24px;\n padding: 0;\n}\n.filing .mat-mdc-checkbox[cardView] .mdc-checkbox__background {\n width: 24px;\n height: 24px;\n border-radius: 6px;\n top: 0;\n left: 0;\n border: 3px solid var(--filing-modal-color-grey);\n}\n.filing .mat-mdc-checkbox[cardView] .mdc-checkbox__checkmark {\n height: 20px;\n width: 20px;\n font-size: 20px;\n top: 1px;\n left: 1px;\n}\n.filing .mat-mdc-checkbox[cardView] .mdc-checkbox__ripple,\n.filing .mat-mdc-checkbox[cardView] .mat-ripple {\n display: none;\n}\n.filing .mat-mdc-checkbox[cardView] .mdc-label {\n padding-left: 8px;\n}\n.filing .mat-mdc-checkbox[cardView] .mdc-button__label {\n line-height: 10px;\n}\n/*# sourceMappingURL=material-theme.css.map */\n'] }]
96944
+ </div>`, styles: ["/* src/app/components/filing/filing.component.scss */\n:host {\n display: flex;\n width: 100%;\n min-width: 0;\n min-height: 480px;\n box-sizing: border-box;\n overflow: hidden;\n}\n:host .filing {\n position: relative;\n width: 100%;\n min-width: 0;\n min-height: 0;\n height: 100%;\n display: flex;\n flex-direction: column;\n gap: 16px;\n box-sizing: border-box;\n background: #ffffff;\n}\n:host .filing-title {\n width: 100%;\n display: flex;\n align-items: center;\n justify-content: space-between;\n}\n:host .filing-title-text {\n color: #666666;\n}\n:host .filing-title-action {\n cursor: pointer;\n}\n:host .filing-header {\n display: flex;\n width: 100%;\n justify-content: flex-end;\n}\n:host .filing-content {\n min-height: 0;\n height: calc(100% - 44px);\n}\n:host .filing-content.edit {\n height: calc(100% - 95px);\n}\n:host .filing-content-loading {\n display: flex;\n align-items: center;\n justify-content: center;\n position: absolute;\n background: transparent;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n}\n.pointer {\n cursor: pointer;\n}\n/*# sourceMappingURL=filing.component.css.map */\n", '/* src/app/components/filing/typography.scss */\n:host {\n --filing-modal-color-grey: #444444;\n --filing-modal-color-dark-blue: #485673;\n --filing-modal-color-grey-mid: #A0A0A0;\n --filing-modal-color-light-blue: #3778E4;\n --filing-modal-color-black: #444444;\n}\nmat-icon {\n font-family: "Material Icons" !important;\n font-size: 20px;\n height: 20px;\n width: 20px;\n line-height: 20px;\n}\nh1 {\n font-size: 24px;\n line-height: 28px;\n font-weight: 700;\n font-family: "Open Sans";\n margin: 0;\n}\nh2 {\n font-size: 22px;\n line-height: 26px;\n font-weight: 600;\n font-family: "Open Sans";\n margin: 0;\n}\nh3 {\n font-size: 18px;\n font-weight: 600;\n font-family: "Open Sans";\n margin-top: 0;\n margin-bottom: 0;\n}\nh4 {\n font-size: 16px;\n line-height: 22px;\n font-weight: 600;\n font-family: "Open Sans";\n margin: 0;\n}\nh4 {\n font-size: 16px;\n line-height: 20px;\n font-weight: 600;\n font-family: "Open Sans";\n margin: 0;\n}\n.body-1-regular {\n line-height: 20px;\n font-size: 14px !important;\n font-weight: 400;\n font-family: "Open Sans";\n}\n.body-1-bold {\n line-height: 20px;\n font-size: 14px !important;\n font-weight: 700;\n font-family: "Open Sans";\n}\n.body-1-semibold {\n line-height: 20px;\n font-size: 14px !important;\n font-weight: 600;\n font-family: "Open Sans";\n}\n.body-2-regular {\n line-height: 20px;\n font-size: 12px !important;\n font-weight: 400;\n font-family: "Open Sans";\n}\n.body-2-bold {\n line-height: 20px;\n font-size: 12px !important;\n font-weight: 700;\n font-family: "Open Sans";\n}\n.body-3-regular {\n line-height: 20px;\n font-size: 16px !important;\n font-weight: 400;\n font-family: "Open Sans";\n}\n.body-4-regular {\n line-height: 18px;\n font-size: 18px !important;\n font-weight: 400;\n font-family: "Open Sans";\n}\n.body-4-bold {\n line-height: 20px;\n font-size: 20px !important;\n font-weight: 700;\n font-family: "Open Sans";\n}\nh1,\nh2,\nh3,\nh4,\nh5,\nh6,\np {\n margin: 0;\n}\n.black {\n color: var(--filing-modal-color-black);\n}\n.grey {\n color: var(--filing-modal-color-grey);\n}\n.dark-blue {\n color: var(--filing-modal-color-dark-blue);\n}\n.grey-mid {\n color: var(--filing-modal-color-grey-mid);\n}\n.light-blue {\n color: var(--filing-modal-color-light-blue);\n}\n/*# sourceMappingURL=typography.css.map */\n', '/* src/app/components/filing/material-theme.scss */\n.filling {\n height: 100%;\n overflow: hidden;\n}\n* {\n box-sizing: border-box;\n}\nh1,\nh2,\nh3,\nh4,\nh5,\nh6 {\n margin: 0;\n}\n.filling {\n margin: 0;\n font-family: "Helvetica Neue", sans-serif;\n}\n.filing {\n --app-font-family:\n -apple-system,\n BlinkMacSystemFont,\n "Helvetica Neue",\n Helvetica,\n Arial,\n sans-serif;\n --mat-sys-background: #faf9fd;\n --mat-sys-error: #ba1a1a;\n --mat-sys-error-container: #ffdad6;\n --mat-sys-inverse-on-surface: #f2f0f4;\n --mat-sys-inverse-primary: #abc7ff;\n --mat-sys-inverse-surface: #2f3033;\n --mat-sys-on-background: #1a1b1f;\n --mat-sys-on-error: #ffffff;\n --mat-sys-on-error-container: #93000a;\n --mat-sys-on-primary: #ffffff;\n --mat-sys-on-primary-container: #00458f;\n --mat-sys-on-primary-fixed: #001b3f;\n --mat-sys-on-primary-fixed-variant: #00458f;\n --mat-sys-on-secondary: #ffffff;\n --mat-sys-on-secondary-container: #3e4759;\n --mat-sys-on-secondary-fixed: #131c2b;\n --mat-sys-on-secondary-fixed-variant: #3e4759;\n --mat-sys-on-surface: #1a1b1f;\n --mat-sys-on-surface-variant: var(--filing-modal-color-grey);\n --mat-sys-on-tertiary: #ffffff;\n --mat-sys-on-tertiary-container: #0000ef;\n --mat-sys-on-tertiary-fixed: #00006e;\n --mat-sys-on-tertiary-fixed-variant: #0000ef;\n --mat-sys-outline: #74777f;\n --mat-sys-outline-variant: #c4c6d0;\n --mat-sys-primary: #3778e4;\n --mat-sys-primary-container: #d7e3ff;\n --mat-sys-primary-fixed: #d7e3ff;\n --mat-sys-primary-fixed-dim: #abc7ff;\n --mat-sys-scrim: #000000;\n --mat-sys-secondary: #565e71;\n --mat-sys-secondary-container: #dae2f9;\n --mat-sys-secondary-fixed: #dae2f9;\n --mat-sys-secondary-fixed-dim: #bec6dc;\n --mat-sys-shadow: #000000;\n --mat-sys-surface: #faf9fd;\n --mat-sys-surface-bright: #faf9fd;\n --mat-sys-surface-container: #efedf0;\n --mat-sys-surface-container-high: #e9e7eb;\n --mat-sys-surface-container-highest: #e3e2e6;\n --mat-sys-surface-container-low: #f4f3f6;\n --mat-sys-surface-container-lowest: #ffffff;\n --mat-sys-surface-dim: #dbd9dd;\n --mat-sys-surface-tint: #005cbb;\n --mat-sys-surface-variant: #e0e2ec;\n --mat-sys-tertiary: #343dff;\n --mat-sys-tertiary-container: #e0e0ff;\n --mat-sys-tertiary-fixed: #e0e0ff;\n --mat-sys-tertiary-fixed-dim: #bec2ff;\n --mat-sys-neutral-variant20: #2d3038;\n --mat-sys-neutral10: #1a1b1f;\n --mdc-filled-button-container-height: 35px;\n --mdc-outlined-button-container-height: 35px;\n --mdc-text-button-label-text-color: #808090;\n --mdc-filled-button-label-text-weight: 600;\n --mdc-text-button-label-text-weight: 600;\n --mdc-filled-button-container-shape: 4px;\n --mdc-outlined-button-outline-color: none;\n --mdc-outlined-button-container-shape: 6px;\n --mat-sys-level0:\n 0px 0px 0px 0px rgba(0, 0, 0, 0.2),\n 0px 0px 0px 0px rgba(0, 0, 0, 0.14),\n 0px 0px 0px 0px rgba(0, 0, 0, 0.12);\n --mat-sys-level1:\n 0px 2px 1px -1px rgba(0, 0, 0, 0.2),\n 0px 1px 1px 0px rgba(0, 0, 0, 0.14),\n 0px 1px 3px 0px rgba(0, 0, 0, 0.12);\n --mat-sys-level2:\n 0px 3px 3px -2px rgba(0, 0, 0, 0.2),\n 0px 3px 4px 0px rgba(0, 0, 0, 0.14),\n 0px 1px 8px 0px rgba(0, 0, 0, 0.12);\n --mat-sys-level3:\n 0px 3px 5px -1px rgba(0, 0, 0, 0.2),\n 0px 6px 10px 0px rgba(0, 0, 0, 0.14),\n 0px 1px 18px 0px rgba(0, 0, 0, 0.12);\n --mat-sys-level4:\n 0px 5px 5px -3px rgba(0, 0, 0, 0.2),\n 0px 8px 10px 1px rgba(0, 0, 0, 0.14),\n 0px 3px 14px 2px rgba(0, 0, 0, 0.12);\n --mat-sys-level5:\n 0px 7px 8px -4px rgba(0, 0, 0, 0.2),\n 0px 12px 17px 2px rgba(0, 0, 0, 0.14),\n 0px 5px 22px 4px rgba(0, 0, 0, 0.12);\n --mdc-outlined-button-label-text-size: 14px;\n --mdc-filled-button-label-text-size: 14px;\n --mdc-filled-text-field-label-text-size: 16px;\n --mat-sys-body-large: 400 1rem / 1.5rem var(--app-font-family);\n --mat-sys-body-large-font: var(--app-font-family);\n --mat-sys-body-large-line-height: 1.5rem;\n --mat-sys-body-large-size: 14px;\n --mat-sys-body-large-tracking: 0.031rem;\n --mat-sys-body-large-weight: 400;\n --mat-sys-body-medium: 400 0.875rem / 1.25rem var(--app-font-family);\n --mat-sys-body-medium-font: var(--app-font-family);\n --mat-sys-body-medium-line-height: 1.25rem;\n --mat-sys-body-medium-size: 0.875rem;\n --mat-sys-body-medium-tracking: 0.016rem;\n --mat-sys-body-medium-weight: 400;\n --mat-sys-body-small: 400 0.75rem / 1rem var(--app-font-family);\n --mat-sys-body-small-font: var(--app-font-family);\n --mat-sys-body-small-line-height: 1rem;\n --mat-sys-body-small-size: 0.75rem;\n --mat-sys-body-small-tracking: 0.025rem;\n --mat-sys-body-small-weight: 400;\n --mat-sys-display-large: 400 3.562rem / 4rem var(--app-font-family);\n --mat-sys-display-large-font: var(--app-font-family);\n --mat-sys-display-large-line-height: 4rem;\n --mat-sys-display-large-size: 3.562rem;\n --mat-sys-display-large-tracking: -0.016rem;\n --mat-sys-display-large-weight: 400;\n --mat-sys-display-medium: 400 2.812rem / 3.25rem var(--app-font-family);\n --mat-sys-display-medium-font: var(--app-font-family);\n --mat-sys-display-medium-line-height: 3.25rem;\n --mat-sys-display-medium-size: 2.812rem;\n --mat-sys-display-medium-tracking: 0;\n --mat-sys-display-medium-weight: 400;\n --mat-sys-display-small: 400 2.25rem / 2.75rem var(--app-font-family);\n --mat-sys-display-small-font: var(--app-font-family);\n --mat-sys-display-small-line-height: 2.75rem;\n --mat-sys-display-small-size: 2.25rem;\n --mat-sys-display-small-tracking: 0;\n --mat-sys-display-small-weight: 400;\n --mat-sys-headline-large: 400 2rem / 2.5rem var(--app-font-family);\n --mat-sys-headline-large-font: var(--app-font-family);\n --mat-sys-headline-large-line-height: 2.5rem;\n --mat-sys-headline-large-size: 2rem;\n --mat-sys-headline-large-tracking: 0;\n --mat-sys-headline-large-weight: 400;\n --mat-sys-headline-medium: 400 1.75rem / 2.25rem var(--app-font-family);\n --mat-sys-headline-medium-font: var(--app-font-family);\n --mat-sys-headline-medium-line-height: 2.25rem;\n --mat-sys-headline-medium-size: 1.75rem;\n --mat-sys-headline-medium-tracking: 0;\n --mat-sys-headline-medium-weight: 400;\n --mat-sys-headline-small: 400 1.5rem / 2rem var(--app-font-family);\n --mat-sys-headline-small-font: var(--app-font-family);\n --mat-sys-headline-small-line-height: 2rem;\n --mat-sys-headline-small-size: 1.5rem;\n --mat-sys-headline-small-tracking: 0;\n --mat-sys-headline-small-weight: 400;\n --mat-sys-label-large: 500 0.875rem / 1.25rem var(--app-font-family);\n --mat-sys-label-large-font: var(--app-font-family);\n --mat-sys-label-large-line-height: 1.25rem;\n --mat-sys-label-large-size: 0.875rem;\n --mat-sys-label-large-tracking: 0.006rem;\n --mat-sys-label-large-weight: 500;\n --mat-sys-label-large-weight-prominent: 700;\n --mat-sys-label-medium: 500 0.75rem / 1rem var(--app-font-family);\n --mat-sys-label-medium-font: var(--app-font-family);\n --mat-sys-label-medium-line-height: 1rem;\n --mat-sys-label-medium-size: 0.75rem;\n --mat-sys-label-medium-tracking: 0.031rem;\n --mat-sys-label-medium-weight: 500;\n --mat-sys-label-medium-weight-prominent: 700;\n --mat-sys-label-small: 500 0.688rem / 1rem var(--app-font-family);\n --mat-sys-label-small-font: var(--app-font-family);\n --mat-sys-label-small-line-height: 1rem;\n --mat-sys-label-small-size: 0.688rem;\n --mat-sys-label-small-tracking: 0.031rem;\n --mat-sys-label-small-weight: 500;\n --mat-sys-title-large: 400 1.375rem / 1.75rem var(--app-font-family);\n --mat-sys-title-large-font: var(--app-font-family);\n --mat-sys-title-large-line-height: 1.75rem;\n --mat-sys-title-large-size: 1.375rem;\n --mat-sys-title-large-tracking: 0;\n --mat-sys-title-large-weight: 400;\n --mat-sys-title-medium: 500 1rem / 1.5rem var(--app-font-family);\n --mat-sys-title-medium-font: var(--app-font-family);\n --mat-sys-title-medium-line-height: 1.5rem;\n --mat-sys-title-medium-size: 1rem;\n --mat-sys-title-medium-tracking: 0.009rem;\n --mat-sys-title-medium-weight: 500;\n --mat-sys-title-small: 500 0.875rem / 1.25rem var(--app-font-family);\n --mat-sys-title-small-font: var(--app-font-family);\n --mat-sys-title-small-line-height: 1.25rem;\n --mat-sys-title-small-size: 0.875rem;\n --mat-sys-title-small-tracking: 0.006rem;\n --mat-sys-title-small-weight: 500;\n --mat-sys-corner-extra-large: 28px;\n --mat-sys-corner-extra-large-top: 28px 28px 0 0;\n --mat-sys-corner-extra-small: 4px;\n --mat-sys-corner-extra-small-top: 4px 4px 0 0;\n --mat-sys-corner-full: 9999px;\n --mat-sys-corner-large: 16px;\n --mat-sys-corner-large-end: 0 16px 16px 0;\n --mat-sys-corner-large-start: 16px 0 0 16px;\n --mat-sys-corner-large-top: 16px 16px 0 0;\n --mat-sys-corner-medium: 12px;\n --mat-sys-corner-none: 0;\n --mat-sys-corner-small: 8px;\n --mat-sys-dragged-state-layer-opacity: 0.16;\n --mat-sys-focus-state-layer-opacity: 0.12;\n --mat-sys-hover-state-layer-opacity: 0.08;\n --mat-sys-pressed-state-layer-opacity: 0.12;\n}\n.filing .mat-primary .mat-pseudo-checkbox-checked,\n.filing .mat-primary .mat-pseudo-checkbox-indeterminate {\n background: transparent !important;\n}\n.filing .mat-mdc-checkbox[cardView] .mdc-checkbox {\n width: 24px;\n height: 24px;\n flex-basis: 24px;\n padding: 0;\n}\n.filing .mat-mdc-checkbox[cardView] .mdc-checkbox__background {\n width: 24px;\n height: 24px;\n border-radius: 6px;\n top: 0;\n left: 0;\n border: 3px solid var(--filing-modal-color-grey);\n}\n.filing .mat-mdc-checkbox[cardView] .mdc-checkbox__checkmark {\n height: 20px;\n width: 20px;\n font-size: 20px;\n top: 1px;\n left: 1px;\n}\n.filing .mat-mdc-checkbox[cardView] .mdc-checkbox__ripple,\n.filing .mat-mdc-checkbox[cardView] .mat-ripple {\n display: none;\n}\n.filing .mat-mdc-checkbox[cardView] .mdc-label {\n padding-left: 8px;\n}\n.filing .mat-mdc-checkbox[cardView] .mdc-button__label {\n line-height: 10px;\n}\n/*# sourceMappingURL=material-theme.css.map */\n'] }]
95364
96945
  }], () => [], null);
95365
96946
  })();
95366
96947
  (() => {
95367
- (typeof ngDevMode === "undefined" || ngDevMode) && \u0275setClassDebugInfo(FilingComponent, { className: "FilingComponent", filePath: "src/app/components/filing/filing.component.ts", lineNumber: 90 });
96948
+ (typeof ngDevMode === "undefined" || ngDevMode) && \u0275setClassDebugInfo(FilingComponent, { className: "FilingComponent", filePath: "src/app/components/filing/filing.component.ts", lineNumber: 93 });
95368
96949
  })();
95369
96950
  }
95370
96951
  });
@@ -100010,7 +101591,17 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
100010
101591
  Currency: "Currency",
100011
101592
  "Special Rights or Restrictions": "Special Rights or Restrictions",
100012
101593
  Unlimited: "Unlimited",
100013
- "Without Par Value": "Without Par Value"
101594
+ "Without Par Value": "Without Par Value",
101595
+ "File British Columbia Change of Office Addresses": "File British Columbia Change of Office Addresses",
101596
+ "Records Office Address": "Records Office Address",
101597
+ "The new addresses will take effect at the beginning of the day following the filing date. The registered and records offices must be located in British Columbia.": "The new addresses will take effect at the beginning of the day following the filing date. The registered and records offices must be located in British Columbia.",
101598
+ "Current Mailing Address": "Current Mailing Address",
101599
+ "Current Delivery Address": "Current Delivery Address",
101600
+ "New Mailing Address": "New Mailing Address",
101601
+ "New Delivery Address": "New Delivery Address",
101602
+ "Same as Mailing Address": "Same as Mailing Address",
101603
+ "Same as Registered Office": "Same as Registered Office",
101604
+ "The delivery address must be a physical location in British Columbia where documents can be delivered during statutory business hours. A post office box is not acceptable.": "The delivery address must be a physical location in British Columbia where documents can be delivered during statutory business hours. A post office box is not acceptable."
100014
101605
  };
100015
101606
  }
100016
101607
  });
@@ -100357,7 +101948,16 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
100357
101948
  Currency: "Devise",
100358
101949
  "Special Rights or Restrictions": "Droits ou restrictions sp\xE9ciaux",
100359
101950
  Unlimited: "Illimit\xE9",
100360
- "Without Par Value": "Sans valeur nominale"
101951
+ "Without Par Value": "Sans valeur nominale",
101952
+ "File British Columbia Change of Office Addresses": "D\xE9poser le changement d'adresses de bureaux de la Colombie-Britannique",
101953
+ "The new addresses will take effect at the beginning of the day following the filing date. The registered and records offices must be located in British Columbia.": "Les nouvelles adresses prendront effet au d\xE9but du jour suivant la date de d\xE9p\xF4t. Le si\xE8ge social et le bureau des registres doivent \xEAtre situ\xE9s en Colombie-Britannique.",
101954
+ "Current Mailing Address": "Adresse postale actuelle",
101955
+ "Current Delivery Address": "Adresse de livraison actuelle",
101956
+ "New Mailing Address": "Nouvelle adresse postale",
101957
+ "New Delivery Address": "Nouvelle adresse de livraison",
101958
+ "Same as Mailing Address": "Identique \xE0 l'adresse postale",
101959
+ "Same as Registered Office": "Identique au si\xE8ge social",
101960
+ "The delivery address must be a physical location in British Columbia where documents can be delivered during statutory business hours. A post office box is not acceptable.": "L'adresse de livraison doit \xEAtre un lieu physique en Colombie-Britannique o\xF9 des documents peuvent \xEAtre livr\xE9s pendant les heures d'ouverture l\xE9gales. Une case postale n'est pas accept\xE9e."
100361
101961
  };
100362
101962
  }
100363
101963
  });