@csmart/ngc-smart-victim 1.14.32 → 1.14.34

Sign up to get free protection for your applications and to get access to all the features.
@@ -230,7 +230,7 @@ export class NgcSmartVictimComponent {
230
230
  duration: 3000,
231
231
  });
232
232
  //this.router.navigate(['/warrant '], { queryParams: { intake: 1 } });
233
- this.document.location.href = `${this.smartWarrantUrl}/warrant`;
233
+ this.document.location.href = `${this.smartWarrantUrl}/?offenderId=${this.offenderId}&routeTo=warrant`;
234
234
  });
235
235
  }
236
236
  goToCaseNote(victimId) {
@@ -306,4 +306,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
306
306
  type: ViewChild,
307
307
  args: [MatSort]
308
308
  }] } });
309
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic21hcnQtdmljdGltLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3Byb2plY3RzL25nYy1zbWFydC12aWN0aW0vc3JjL2xpYi9zbWFydC12aWN0aW0uY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vcHJvamVjdHMvbmdjLXNtYXJ0LXZpY3RpbS9zcmMvbGliL3NtYXJ0LXZpY3RpbS5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsUUFBUSxFQUFZLE1BQU0saUJBQWlCLENBQUM7QUFDckQsT0FBTyxFQUFFLFNBQVMsRUFBcUIsU0FBUyxFQUFFLEtBQUssRUFBeUIsTUFBTSxFQUFDLE1BQU0sZUFBZSxDQUFDO0FBQzdHLE9BQU8sRUFBRSxjQUFjLEVBQUMsTUFBTSxFQUFFLE1BQU0saUJBQWlCLENBQUM7QUFDeEQsT0FBTyxFQUFFLGtCQUFrQixFQUFDLE1BQU0seUJBQXlCLENBQUM7QUFDNUQsT0FBTyxFQUFFLE9BQU8sRUFBRSxNQUFNLHdCQUF3Q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vdGUgPSBcInRydWVcIjtcclxuICAgICAgICB0aGlzLnNob3dTYWZldHlQbGFuID0gXCJ0cnVlXCI7XHJcblxyXG4gICAgICAgIG15T2ZmZW5kZXJJZCA9IGRhdGEuc2VsZWN0ZWRPZmZlbmRlci5vZmZlbmRlcklkO1xyXG4gICAgICB9XHJcblxyXG4gICAgICBjb25zdCB2aWN0aW1MaXN0RmlsdGVyOiBWaWN0aW1MaXN0RmlsdGVyID0ge1xyXG4gICAgICAgIG9mZmVuZGVySWQ6IG15T2ZmZW5kZXJJZCxcclxuICAgICAgICBsYXN0TmFtZTogbnVsbCxcclxuICAgICAgICBmaXJzdE5hbWU6IG51bGwsXHJcbiAgICAgICAgcGRpZDogbnVsbCxcclxuICAgICAgICBiaXJ0aERhdGU6IG51bGwsXHJcbiAgICAgIH07XHJcblxyXG4gICAgICBjb25zb2xlLmxvZyhcInZpY3RpbUxpc3RGaWx0ZXIgaW4gc21hci12aWN0aW0gY29tcG9uZW5ldFwiKTtcclxuICAgICAgY29uc29sZS5sb2codmljdGltTGlzdEZpbHRlcik7XHJcblxyXG4gICAgICB0aGlzLnZpY3RpbVNlcnZpY2VcclxuICAgICAgICAuZ2V0VmljdGltTGlzdEJ5RmlsdGVyKHZpY3RpbUxpc3RGaWx0ZXIpXHJcbiAgICAgICAgLnN1YnNjcmliZSgoZGF0YTogVmljdGltW10pID0+IHtcclxuICAgICAgICAgIHRoaXMudmljdGltcyA9IGRhdGE7XHJcbiAgICAgICAgICB0aGlzLnZpY3RpbUxpc3REYXRhU291cmNlLmRhdGEgPSBkYXRhO1xyXG5cclxuICAgICAgICAgIGNvbnNvbGUubG9nKFwidmljdGltIGRhdGEgYXQgbGluZSAyNDVcIik7XHJcbiAgICAgICAgICBjb25zb2xlLmxvZyh0aGlzLnZpY3RpbXMpO1xyXG4gICAgICAgICAgY29uc29sZS5sb2coXCJzaG93TGlzdEZsYWdcIik7XHJcbiAgICAgICAgICBjb25zb2xlLmxvZyh0aGlzLnNob3dMaXN0RmxhZyk7XHJcbiAgICAgICAgICB0aGlzLnNob3dMaXN0RmxhZyA9IHRydWU7XHJcbiAgICAgICAgICBpZiAoZGF0YS5sZW5ndGggPT0gMCkge1xyXG4gICAgICAgICAgICB0aGlzLm1zZyA9IFwiTm8gUmVjb3JkIEZvdW5kIVwiO1xyXG4gICAgICAgICAgfVxyXG4gICAgICAgIH0pO1xyXG4gICAgfSBlbHNlIHtcclxuICAgICAgY29uc29sZS5sb2coXCJmaW5kIGZpbHRlclwiKTtcclxuICAgICAgY29uc29sZS5sb2codGhpcy52aWN0aW1MaXN0RmlsdGVyKTtcclxuXHJcbiAgICAgIGlmICh0aGlzLnNob3dMaXN0RmxhZyA9PT0gdHJ1ZSkge1xyXG4gICAgICAgIGlmICh0aGlzLnZpY3RpbUxpc3RGaWx0ZXIgIT0gbnVsbCkge1xyXG4gICAgICAgICAgdGhpcy52aWN0aW1TZXJ2aWNlXHJcbiAgICAgICAgICAgIC5nZXRWaWN0aW1MaXN0QnlGaWx0ZXIodGhpcy52aWN0aW1MaXN0RmlsdGVyKVxyXG4gICAgICAgICAgICAuc3Vic2NyaWJlKChkYXRhOiBWaWN0aW1bXSkgPT4ge1xyXG4gICAgICAgICAgICAgIHRoaXMudmljdGltcyA9IGRhdGE7XHJcbiAgICAgICAgICAgICAgdGhpcy52aWN0aW1MaXN0RGF0YVNvdXJjZS5kYXRhID0gZGF0YTtcclxuICAgICAgICAgICAgICBcclxuICAgICAgICAgICAgICBjb25zb2xlLmxvZyhcInZpY3RpbSBkYXRhIGF0IGxpbmUgMjc5XCIpO1xyXG4gICAgICAgICAgICAgIGNvbnNvbGUubG9nKGRhdGEpO1xyXG4gICAgICAgICAgICB9KTtcclxuICAgICAgICB9XHJcbiAgICAgIH1cclxuICAgIH1cclxuICB9XHJcbi8vIHBob25lIG51bWJlciBmb3JtYXQgb24gdGhlIHZpY3RpbSBsaXN0XHJcbiAgZm9ybWF0UGhvbmVOdW1iZXIocGhvbmVOdW1iZXJT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DApIHtcclxuICAgICAgICAgIHRoaXMuc2hvd0xpc3RGbGFnID0gdHJ1ZTtcclxuICAgICAgICAgIHRoaXMudmljdGltTGlzdERhdGFTb3VyY2UuZGF0YSA9IGRhdGE7XHJcblxyXG4gICAgICAgIH0gZWxzZSB7XHJcbiAgICAgICAgICB0aGlzLm1zZyA9IFwiTm8gcmVjb3JkIGZvdW5kIVwiO1xyXG4gICAgICAgIH1cclxuICAgICAgfSxcclxuICAgICAgKGVycikgPT4ge1xyXG4gICAgICAgIHRoaXMuZG9TcGluID0gIXRoaXMuZG9TcGluO1xyXG4gICAgICB9XHJcbiAgICApO1xyXG4gIH1cclxufVxyXG4iLCI8ZGl2ICpuZ0lmPVwic2hvd1NlYXJjaEZvcm1cIj5cclxuICAgIDxhcHAtdmljdGltLXNlYXJjaC1mb3JtXHJcbiAgICAob25TZWFyY2gpPVwiZ2V0VmljdGltTGlzdCgkZXZlbnQpXCI+XHJcbiAgICA8L2FwcC12aWN0aW0tc2VhcmNoLWZvcm0+XHJcbjwvZGl2PlxyXG5cclxuPGRpdiAqbmdJZj1cInNob3dEZXRhaWxcIj5cclxuICA8Y3NtYXJ0LXZpY3RpbS1kZXRhaWwgW3ZpY3RpbURldGFpbF09XCJ2aWN0aW1EZXRhaWxcIiBcclxuICAgICAgICAgICAgICAgICAgICAgICAgW3N0YWZmSWRdPVwic3RhZmZJZFwiXHJcbiAgICAgICAgICAgICAgICAgICAgICAgIFtvZmZlbmRlcklkXSA9XCJvZmZlbmRlcklkXCJcclxuICAgICAgICAgICAgICAgICAgICAgICAgW2lzSW50YWtlXT1cImlzSW50YWtlXCJcclxuICAgICAgICAgICAgICAgICAgICAgICAgKG9uU2F2ZSk9XCJzYXZlKCRldmVudClcIiBcclxuICAgICAgICAgICAgICAgICAgICAgICAgKG9uQ2FuY2VsKT1cImNhbmNlbCgpXCIgPlxyXG48L2NzbWFydC12aWN0aW0tZGV0YWlsPlxyXG48L2Rpdj5cclxuPGRpdiBjbGFzcz1c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GFTb3VyY2VdPVwidmljdGltTGlzdERhdGFTb3VyY2VcIiA+XHJcblxyXG4gICAgICAgICAgICAgICAgPG5nLWNvbnRhaW5lciBtYXRDb2x1bW5EZWY9XCJsYXN0TmFtZVwiPlxyXG4gICAgICAgICAgICAgICAgICAgIDxtYXQtaGVhZGVyLWNlbGwgKm1hdEhlYWRlckNlbGxEZWY+VmljdGltIExhc3QgTmFtZTwvbWF0LWhlYWRlci1jZWxsPlxyXG4gICAgICAgICAgICAgICAgICAgIDxtYXQtY2VsbCAqbWF0Q2VsbERlZj1cImxldCByb3dcIiA+IHt7cm93Lmxhc3ROYW1lfX0gIDwvbWF0LWNlbGw+XHJcbiAgICAgICAgICAgICAgICA8L25nLWNvbnRhaW5lcj5cclxuXHJcblxyXG4gICAgICAgICAgICAgICAgPG5nLWNvbnRhaW5lciBtYXRDb2x1bW5EZWY9XCJmaXJzdE5hbWVcIj5cclxuICAgICAgICAgICAgICAgICAgICAgICAgPG1hdC1oZWFkZXItY2VsbCAqbWF0SGVhZGVyQ2VsbERlZiA+VmljdGltIEZpcnN0IE5hbWU8L21hdC1oZWFkZXItY2VsbD5cclxuICAgICAgICAgICAgICAgICAgICAgICAgPG1hdC1jZWxsICptYXRDZWxsRGVmPVwibGV0IHJvd1wiID4ge3tyb3cuZmlyc3ROYW1lfX0gPC9tYXQtY2VsbD5cclxuICAgICAgICAgICAgICAgIDwvbmctY29udGFpbmVyPlxyXG4gICAgICAgICAgICAgICBcclxuICAgICAgICAgICAgICAgIDxkaXYgICpuZ0lmPVwic2hvd1JlbGF0aW9uc2hpcENvbHVtblwiPlxyXG4gICAgICAgICAgICAgICAgICAgIDxuZy1jb250YWluZXIgbWF0Q29sdW1uRGVmPVwicmVsYXRpb25zaGlwXCI+XHJcbiAgICAgICAgICAgICAgICAgICAgICAgIDxtYXQtaGVhZGVyLWNlbGwgKm1hdEhlYWRlckNlbGxEZWYgPlJlbGF0aW9uc2hpcCB0byBPZmZlbmRlcjwvbWF0LWhlYWRlci1jZWxsPlxyXG4gICAgICAgICAgICAgICAgICAgICAgICA8bWF0LWNlbGwgKm1hdENlbGxEZWY9XCJsZXQgcm93XCIgPiB7e3Jvdy5yZWxhdGlvbnNoaXB9fSA8L21hdC1jZWxsPlxyXG4gICAgICAgICAgICAgICAgICAgIDwvbmctY29udGFpbmVyPlxyXG4gICAgICAgICAgICAgICAgPC9kaXY+XHJcblxyXG4gICAgICAgICAgICAgICAgPGRpdiAgKm5nSWY9XCJzaG93T2ZmZW5kZXJQaG9uZUNvbHVtblwiPlxyXG4gICAgICAgICAgICAgICAgICAgIDxuZy1jb250YWluZXIgbWF0Q29sdW1uRGVmPVwiaG9tZVBob25lXCI+XHJcbiAgICAgICAgICAgICAgICAgICAgICAgIDxtYXQtaGVhZGVyLWNlbGwgKm1hdEhlYWRlckNlbGxEZWYgPlBob25lIE51bWJlcjwvbWF0LWhlYWRlci1jZWxsPlxyXG4gICAgICAgICAgICAgICAgICAgICAgICA8bWF0LWNlbGwgKm1hdENlbGxEZWY9XCJsZXQgcm93XCIgPiBcclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgSG9tZSBwaG9uZToge3tmb3JtYXRQaG9uZU51bWJlcihyb3cuaG9tZVBob25lKX19PGJyPiAgXHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgIENlbGwgUGhvbmU6IHt7Zm9ybWF0UGhvbmVOdW1iZXIocm93LmNlbGxQaG9uZSl9fTxicj5cclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgV29yayBQaG9uZToge3tmb3JtYXRQaG9uZU51bWJlcihyb3cud29ya1Bob25lKX19IFxyXG5cclxuICAgICAgICAgICAgICAgICAgICAgICAgPC9tYXQtY2VsbD5cclxuICAgICAgICAgICAgICAgICAgICA8L25nLWNvbnRhaW5lcj5cclxuICAgICAgICAgICAgICAgIDwvZGl2PlxyXG4gICAgICAgICAgICAgICAgXHJcbiAgICAgICAgICAgICAgICA8ZGl2ICAqbmdJZj1cInNob3dPZmZlbmRlck5hbWVDb2x1bW5cIj5cclxuICAgICAgICAgICAgICAgICAgICA8bmctY29udGFpbmVyIG1hdENvbHVtbkRlZj1cIm9mZmVuZGVyTmFtZVwiPlxyXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgPG1hdC1oZWFkZXItY2VsbCAqbWF0SGVhZGVyQ2VsbERlZj5PZmZlbmRlciBOYW1lPC9tYXQtaGVhZGVyLWNlbGw+XHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICA8bWF0LWNlbGwgKm1hdENlbGxEZWY9XCJsZXQgcm93XCIgPiB7e3Jvdy5vZmZlbmRlck5hbWV9fSA8L21hdC1jZWxsPlxyXG4gICAgICAgICAgICAgICAgICAgIDwvbmctY29udGFpbmVyPlxyXG4gICAgICAgICAgICAgICAgPC9kaXY+XHJcbiAgICAgICAgICAgICAgIFxyXG4gICAgICAgICAgICAgICA8bmctY29udGFpbmVyIG1hdENvbHVtbkRlZj1cInZpY3RpbUlkXCI+XHJcbiAgICAgICAgICAgICAgICAgIDxtYXQtaGVhZGVyLWNlbGwgKm1hdEhlYWRlckNlbGxEZWYgPjwvbWF0LWhlYWRlci1jZWxsPlxyXG4gICAgICAgICAgICAgICAgICAgIDxtYXQtY2VsbCAqbWF0Q2VsbERlZj1cImxldCByb3dcIiA+XHJcbiAgICAgICAgICAgICAgICAgICAgICAgIFxyXG4gICAgICAgICAgICAgICAgICAgICAgICA8IS0tIDxkaXYgICpuZ0lmPVwiYWNjZXNzQnlNb2R1bGVcIj5cclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIDxtYXQtY2hlY2tib3g+PC9tYXQtY2hlY2tib3g+XHJcbiAgICAgICAgICAgICAgICAgICAgICAgIDwvZGl2PiAtLT5cclxuICAgICAgICAgICAgICAgICAgICAgICAgXHJcbiAgICAgICAgICAgICAgICAgICAgICAgIDxkaXYgICpuZ0lmPVwic2hvd0VkaXRcIj5cclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIDxidXR0b24gY2xhc3M9XCJlZGl0LWJ0blwiICBtYXQtaWNvbi1idXR0b24gY29sb3I9XCJwcmltYXJ5XCIgIG1hdFRvb2x0aXA9XCJWaWV3L0VkaXQgVmljdGltXCJcclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBhY2Nlc3NDb250cm9sXHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgW2FjY2Vzc0NvbnRyb2xDb25maWddPVwidXBkYXRlQWNjZXNzQ29udHJvbENvbmZpZ1wiICBcclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAoY2xpY2spPVwiZWRpdFZpY3RpbURldGFpbChyb3cpXCI+XHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPGkgY2xhc3M9XCJtYXRlcmlhbC1pY29uc1wiPm1vZGVfZWRpdDwvaT5cclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIDwvYnV0dG9uPlxyXG4gICAgICAgICAgICAgICAgICAgICAgICA8L2Rpdj5cclxuXHJcbiAgICAgICAgICAgICAgICAgICAgICAgIFxyXG5cclxuICAgICAgICAgICAgICAgICAgICAgICAgJm5ic3A7Jm5ic3A7IFxyXG5cclxuICAgICAgICAgICAgICAgICAgICAgICAgPGRpdiAgKm5nSWY9XCJzaG93Q2FzZU5vdGVcIj5cclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIDxidXR0b24gdHlwZT1cImJ1dHRvblwiIG1hdFRvb2x0aXA9XCJDYXNlTm90ZVwiICBtYXQtcmFpc2VkLWJ1dHRvbiBjb2xvcj1cInByaW1hcnlcIiBcclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIGFjY2Vzc0NvbnRyb2xcclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIFthY2Nlc3NDb250cm9sQ29uZmlnXT1cInVwZGF0ZUFjY2Vzc0NvbnRyb2xDb25maWdcIiAgXHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAoY2xpY2spPVwiZ29Ub0Nhc2VOb3RlKHJvdy52aWN0aW1JZClcIj4gICAgICAgICAgICAgICAgICAgICAgICBcclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDxzcGFuIGNsYXNzPVwiZ2x5cGhpY29uIGdseXBoaWNvbi1wZW5jaWxcIiA+PC9zcGFuPiZuYnNwO0Nhc2UgTm90ZVxyXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgPC9idXR0b24+IFxyXG4gICAgICAgICAgICAgICAgICAgICAgICA8L2Rpdj5cclxuICAgICAgICAgICAgICAgICAgICAgICAgICZuYnNwOyZuYnNwO1xyXG4gICAgICAgICAgICAgICAgICAgICAgIFxyXG4gICAgICAgICAgICAgICAgICAgICAgICAgPGRpdiAgKm5nSWY9XCJzaG93U2FmZXR5UGxhblwiPlxyXG4gICAgICAgICAgICAgICAgICAgICAgICA8YnV0dG9uIHR5cGU9XCJidXR0b25cIiAgbWF0VG9vbHRpcD1cInNhZmV0eSBwbGFuXCIgbWF0LXJhaXNlZC1idXR0b24gY29sb3I9XCJwcmltYXJ5XCJcclxuICAgICAgICAgICAgICAgICAgICAgICAgIGFjY2Vzc0NvbnRyb2xcclxuICAgICAgICAgICAgICAgICAgICAgICAgIFthY2Nlc3NDb250cm9sQ29uZmlnXT1cInVwZGF0ZUFjY2Vzc0NvbnRyb2xDb25maWdcIiAgXHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAoY2xpY2spPVwiZ29Ub1NhZnR5UGxhbihyb3cudmljdGltSWQpXCI+ICAgICAgICAgICAgICAgICAgICAgICAgXHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPHNwYW4gY2xhc3M9XCJnbHlwaGljb24gZ2x5cGhpY29uLXBlbmNpbFwiID48L3NwYW4+Jm5ic3A7U2FmZXR5IFBsYW5cclxuICAgICAgICAgICAgICAgICAgICAgICAgPC9idXR0b24+XHJcbiAgICAgICAgICAgICAgICAgICAgICAgIDwvZGl2PlxyXG4gICAgICAgICAgICAgICAgICAgICAgICAmbmJzcDsmbmJzcDtcclxuICAgXHJcbiAgICAgICAgICAgICAgICAgICAgPC9tYXQtY2VsbD5cclxuICAgICAgICAgICAgICAgIDwvbmctY29udGFpbmVyPlxyXG5cclxuICAgICAgICAgICAgICAgIDxtYXQtaGVhZGVyLXJvdyAqbWF0SGVhZGVyUm93RGVmPVwiZGlzcGxheWVkQ29sdW1uc1wiIGNsYXNzPVwiZXhhbXBsZS1oZWFkZXItcm93XCI+PC9tYXQtaGVhZGVyLXJvdz5cclxuICAgICAgICAgICAgICAgIDxtYXQtcm93ICptYXRSb3dEZWY9XCJsZXQgcm93OyBjb2x1bW5zOiBkaXNwbGF5ZWRDb2x1bW5zXCIgY2xhc3M9XCJleGFtcGxlLXJvd1wiPjwvbWF0LXJvdz5cclxuICAgICAgICAgICAgICAgIDwvbWF0LXRhYmxlPlxyXG5cclxuICAgICAgICAgICAgICA8bWF0LXBhZ2luYXRvciAjcGFnaW5hdG9yIFtwYWdlU2l6ZV09XCIxMFwiIFtwYWdlU2l6ZU9wdGlvbnNdPVwiWzUsIDEwLCAyNSwgMTAwXVwiPjwvbWF0LXBhZ2luYXRvcj4gXHJcbiAgICAgICAgICA8L21hdC1jYXJkLWNvbnRlbnQ+XHJcbiAgICA8L21hdC1jYXJkPlxyXG4gICAgPC9kaXY+XHJcblxyXG4gICAgPGRpdj5cclxuICAgICAgICA8Yj57e21zZ319PC9iPlxyXG4gICAgPC9kaXY+XHJcbjwvZGl2PiJdfQ==
309
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic21hcnQtdmljdGltLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3Byb2plY3RzL25nYy1zbWFydC12aWN0aW0vc3JjL2xpYi9zbWFydC12aWN0aW0uY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vcHJvamVjdHMvbmdjLXNtYXJ0LXZpY3RpbS9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gICAgICAgLmdldFZpY3RpbUxpc3RCeUZpbHRlcih2aWN0aW1MaXN0RmlsdGVyKVxyXG4gICAgICAgIC5zdWJzY3JpYmUoKGRhdGE6IFZpY3RpbVtdKSA9PiB7XHJcbiAgICAgICAgICB0aGlzLnZpY3RpbXMgPSBkYXRhO1xyXG4gICAgICAgICAgdGhpcy52aWN0aW1MaXN0RGF0YVNvdXJjZS5kYXRhID0gZGF0YTtcclxuXHJcbiAgICAgICAgICBjb25zb2xlLmxvZyhcInZpY3RpbSBkYXRhIGF0IGxpbmUgMjQ1XCIpO1xyXG4gICAgICAgICAgY29uc29sZS5sb2codGhpcy52aWN0aW1zKTtcclxuICAgICAgICAgIGNvbnNvbGUubG9nKFwic2hvd0xpc3RGbGFnXCIpO1xyXG4gICAgICAgICAgY29uc29sZS5sb2codGhpcy5zaG93TGlzdEZsYWcpO1xyXG4gICAgICAgICAgdGhpcy5zaG93TGlzdEZsYWcgPSB0cnVlO1xyXG4gICAgICAgICAgaWYgKGRhdGEubGVuZ3RoID09IDApIHtcclxuICAgICAgICAgICAgdGhpcy5tc2cgPSBcIk5vIFJlY29yZCBGb3VuZCFcIjtcclxuICAgICAgICAgIH1cclxuICAgICAgICB9KTtcclxuICAgIH0gZWxzZSB7XHJcbiAgICAgIGNvbnNvbGUubG9nKFwiZmluZCBmaWx0ZXJcIik7XHJcbiAgICAgIGNvbnNvbGUubG9nKHRoaXMudmljdGltTGlzdEZpbHRlcik7XHJcblxyXG4gICAgICBpZiAodGhpcy5zaG93TGlzdEZsYWcgPT09IHRydWUpIHtcclxuICAgICAgICBpZiAodGhpcy52aWN0aW1MaXN0RmlsdGVyICE9IG51bGwpIHtcclxuICAgICAgICAgIHRoaXMudmljdGltU2VydmljZVxyXG4gICAgICAgICAgICAuZ2V0VmljdGltTGlzdEJ5RmlsdGVyKHRoaXMudmljdGltTGlzdEZpbHRlcilcclxuICAgICAgICAgICAgLnN1YnNjcmliZSgoZGF0YTogVmljdGltW10pID0+IHtcclx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IDxjc21hcnQtdmljdGltLWRldGFpbCBbdmljdGltRGV0YWlsXT1cInZpY3RpbURldGFpbFwiIFxyXG4gICAgICAgICAgICAgICAgICAgICAgICBbc3RhZmZJZF09XCJzdGFmZklkXCJcclxuICAgICAgICAgICAgICAgICAgICAgICAgW29mZmVuZGVySWRdID1cIm9mZmVuZGVySWRcIlxyXG4gICAgICAgICAgICAgICAgICAgICAgICBbaXNJbnRha2VdPVwiaXNJbnRha2VcIlxyXG4gICAgICAgICAgICAgICAgICAgICAgICAob25TYXZlKT1cInNhdmUoJGV2ZW50KVwiIFxyXG4gICAgICAgICAgICAgICAgICAgICAgICAob25DYW5jZWwpPVwiY2FuY2VsKClcIiA+XHJcbjwvY3NtYXJ0LXZpY3RpbS1kZXRhaWw+XHJcbjwvZGl2PlxyXG48ZGl2IGNsYXNzPVwibWFpbi1jb250YWluZXJcIj5cclxuICAgIFxyXG4gICAgPGRpdiBjbGFzcz1cImFkZC1hY3Rpb25cIiAqbmdJZj1cInNob3dBZGRcIj5cclxuICAgICAgICA8YnV0dG9uIG1hdC1yYWlzZWQtYnV0dG9uIGNvbG9yPVwicHJpbWFyeVwiIFxyXG4gICAgICAgICAgIGFjY2Vzc0NvbnRyb2xcclxuICAgICAgICAgIFthY2Nlc3NDb250cm9sQ29uZmlnXT1cImNyZWF0ZUFjY2Vzc0NvbnRyb2xDb25maWdcIiAgXHJcbiAgICAgICAgICAoY2xpY2spPVwiYWRkUmVjb3JkKClcIj5cclxuICAgICAgICAgIDxtYXQtaWNvbj5hZGQ8L21hdC1pY29uPlxyXG4gICAgICAgICAgQWRkIFZpY3RpbVxyXG4gICAgICAgIDwvYnV0dG9uPlxyXG4gICAgICAgICZuYnNwOyZuYnNwO1xyXG5cclxuICAgIDxkaXYgKm5nSWY9XCJpc0ludGFrZVwiPlxyXG4gICAgICAgIDxidXR0b24gXHJcbiAgICAgICAgbWF0LXJhaXNlZC1idXR0b24gXHJcbiAgICAgICAgY29sb3I9XCJwcmltYXJ5XCIgXHJcbiAgICAgICAgYWNjZXNzQ29udHJvbFxyXG4gICAgICAgIFthY2Nlc3NDb250cm9sQ29uZmlnXT1cInVwZGF0ZUFjY2Vzc0NvbnRyb2xDb25maWdcIiAgICAgICAgICBcclxuICAgICAgICAoY2xpY2spPVwic2F2ZUludGFrZSgpXCI+XHJcbiAgICAgICAgQ29udGludWVcclxuICAgICAgICA8L2J1dHRvbj4gXHJcbiAgICA8L2Rpdj5cclxuXHJcbiAgICA8L2Rpdj5cclxuICAgPGRpdiAqbmdJZj1cInNob3dMaXN0RmxhZ1wiPlxyXG4gICAgPG1hdC1jYXJkIGlkPVwiZGl2VmljdGltXCIgPlxyXG4gICAgICAgICAgPG1hdC1jYXJkLWNvbnRlbnQgPlxyXG4gICAgICAgICAgICA8bWF0LXRhYmxlICN0YWJsZSBbZGF0YVNvdXJjZV09XCJ2aWN0aW1MaXN0RGF0YVNvdXJjZVwiID5cclxuXHJcbiAgICAgICAgICAgICAgICA8bmctY29udGFpbmVyIG1hdENvbHVtbkRlZj1cImxhc3ROYW1lXCI+XHJcbiAgICAgICAgICAgICAgICAgICAgPG1hdC1oZWFkZXItY2VsbCAqbWF0SGVhZGVyQ2VsbERlZj5WaWN0aW0gTGFzdCBOYW1lPC9tYXQtaGVhZGVyLWNlbGw+XHJcbiAgICAgICAgICAgICAgICAgICAgPG1hdC1jZWxsICptYXRDZWxsRGVmPVwibGV0IHJvd1wiID4ge3tyb3cubGFzdE5hbWV9fSAgPC9tYXQtY2VsbD5cclxuICAgICAgICAgICAgICAgIDwvbmctY29udGFpbmVyPlxyXG5cclxuXHJcbiAgICAgICAgICAgICAgICA8bmctY29udGFpbmVyIG1hdENvbHVtbkRlZj1cImZpcnN0TmFtZVwiPlxyXG4gICAgICAgICAgICAgICAgICAgICAgICA8bWF0LWhlYWRlci1jZWxsICptYXRIZWFkZXJDZWxsRGVmID5WaWN0aW0gRmlyc3QgTmFtZTwvbWF0LWhlYWRlci1jZWxsPlxyXG4gICAgICAgICAgICAgICAgICAgICAgICA8bWF0LWNlbGwgKm1hdENlbGxEZWY9XCJsZXQgcm93XCIgPiB7e3Jvdy5maXJzdE5hbWV9fSA8L21hdC1jZWxsPlxyXG4gICAgICAgICAgICAgICAgPC9uZy1jb250YWluZXI+XHJcbiAgICAgICAgICAgICAgIFxyXG4gICAgICAgICAgICAgICAgPGRpdiAgKm5nSWY9XCJzaG93UmVsYXRpb25zaGlwQ29sdW1uXCI+XHJcbiAgICAgICAgICAgICAgICAgICAgPG5nLWNvbnRhaW5lciBtYXRDb2x1bW5EZWY9XCJyZWxhdGlvbnNoaXBcIj5cclxuICAgICAgICAgICAgICAgICAgICAgICAgPG1hdC1oZWFkZXItY2VsbCAqbWF0SGVhZGVyQ2VsbERlZiA+UmVsYXRpb25zaGlwIHRvIE9mZmVuZGVyPC9tYXQtaGVhZGVyLWNlbGw+XHJcbiAgICAgICAgICAgICAgICAgICAgICAgIDxtYXQtY2VsbCAqbWF0Q2VsbERlZj1cImxldCByb3dcIiA+IHt7cm93LnJlbGF0aW9uc2hpcH19IDwvbWF0LWNlbGw+XHJcbiAgICAgICAgICAgICAgICAgICAgPC9uZy1jb250YWluZXI+XHJcbiAgICAgICAgICAgICAgICA8L2Rpdj5cclxuXHJcbiAgICAgICAgICAgICAgICA8ZGl2ICAqbmdJZj1cInNob3dPZmZlbmRlclBob25lQ29sdW1uXCI+XHJcbiAgICAgICAgICAgICAgICAgICAgPG5nLWNvbnRhaW5lciBtYXRDb2x1bW5EZWY9XCJob21lUGhvbmVcIj5cclxuICAgICAgICAgICAgICAgICAgICAgICAgPG1hdC1oZWFkZXItY2VsbCAqbWF0SGVhZGVyQ2VsbERlZiA+UGhvbmUgTnVtYmVyPC9tYXQtaGVhZGVyLWNlbGw+XHJcbiAgICAgICAgICAgICAgICAgICAgICAgIDxtYXQtY2VsbCAqbWF0Q2VsbERlZj1cImxldCByb3dcIiA+IFxyXG4gICAgICAgICAgICAgICAgICAgICAgICAgICBIb21lIHBob25lOiB7e2Zvcm1hdFBob25lTnVtYmVyKHJvdy5ob21lUGhvbmUpfX08YnI+ICBcclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgQ2VsbCBQaG9uZToge3tmb3JtYXRQaG9uZU51bWJlcihyb3cuY2VsbFBob25lKX19PGJyPlxyXG4gICAgICAgICAgICAgICAgICAgICAgICAgICBXb3JrIFBob25lOiB7e2Zvcm1hdFBob25lTnVtYmVyKHJvdy53b3JrUGhvbmUpfX0gXHJcblxyXG4gICAgICAgICAgICAgICAgICAgICAgICA8L21hdC1jZWxsPlxyXG4gICAgICAgICAgICAgICAgICAgIDwvbmctY29udGFpbmVyPlxyXG4gICAgICAgICAgICAgICAgPC9kaXY+XHJcbiAgICAgICAgICAgICAgICBcclxuICAgICAgICAgICAgICAgIDxkaXYgICpuZ0lmPVwic2hvd09mZmVuZGVyTmFtZUNvbHVtblwiPlxyXG4gICAgICAgICAgICAgICAgICAgIDxuZy1jb250YWluZXIgbWF0Q29sdW1uRGVmPVwib2ZmZW5kZXJOYW1lXCI+XHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICA8bWF0LWhlYWRlci1jZWxsICptYXRIZWFkZXJDZWxsRGVmPk9mZmVuZGVyIE5hbWU8L21hdC1oZWFkZXItY2VsbD5cclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIDxtYXQtY2VsbCAqbWF0Q2VsbERlZj1cImxldCByb3dcIiA+IHt7cm93Lm9mZmVuZGVyTmFtZX19IDwvbWF0LWNlbGw+XHJcbiAgICAgICAgICAgICAgICAgICAgPC9uZy1jb250YWluZXI+XHJcbiAgICAgICAgICAgICAgICA8L2Rpdj5cclxuICAgICAgICAgICAgICAgXHJcbiAgICAgICAgICAgICAgIDxuZy1jb250YWluZXIgbWF0Q29sdW1uRGVmPVwidmljdGltSWRcIj5cclxuICAgICAgICAgICAgICAgICAgPG1hdC1oZWFkZXItY2VsbCAqbWF0SGVhZGVyQ2VsbERlZiA+PC9tYXQtaGVhZGVyLWNlbGw+XHJcbiAgICAgICAgICAgICAgICAgICAgPG1hdC1jZWxsICptYXRDZWxsRGVmPVwibGV0IHJvd1wiID5cclxuICAgICAgICAgICAgICAgICAgICAgICAgXHJcbiAgICAgICAgICAgICAgICAgICAgICAgIDwhLS0gPGRpdiAgKm5nSWY9XCJhY2Nlc3NCeU1vZHVsZVwiPlxyXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgPG1hdC1jaGVja2JveD48L21hdC1jaGVja2JveD5cclxuICAgICAgICAgICAgICAgICAgICAgICAgPC9kaXY+IC0tPlxyXG4gICAgICAgICAgICAgICAgICAgICAgICBcclxuICAgICAgICAgICAgICAgICAgICAgICAgPGRpdiAgKm5nSWY9XCJzaG93RWRpdFwiPlxyXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgPGJ1dHRvbiBjbGFzcz1cImVkaXQtYnRuXCIgIG1hdC1pY29uLWJ1dHRvbiBjb2xvcj1cInByaW1hcnlcIiAgbWF0VG9vbHRpcD1cIlZpZXcvRWRpdCBWaWN0aW1cIlxyXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGFjY2Vzc0NvbnRyb2xcclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBbYWNjZXNzQ29udHJvbENvbmZpZ109XCJ1cGRhdGVBY2Nlc3NDb250cm9sQ29uZmlnXCIgIFxyXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIChjbGljayk9XCJlZGl0VmljdGltRGV0YWlsKHJvdylcIj5cclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8aSBjbGFzcz1cIm1hdGVyaWFsLWljb25zXCI+bW9kZV9lZGl0PC9pPlxyXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgPC9idXR0b24+XHJcbiAgICAgICAgICAgICAgICAgICAgICAgIDwvZGl2PlxyXG5cclxuICAgICAgICAgICAgICAgICAgICAgICAgXHJcblxyXG4gICAgICAgICAgICAgICAgICAgICAgICAmbmJzcDsmbmJzcDsgXHJcblxyXG4gICAgICAgICAgICAgICAgICAgICAgICA8ZGl2ICAqbmdJZj1cInNob3dDYXNlTm90ZVwiPlxyXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgPGJ1dHRvbiB0eXBlPVwiYnV0dG9uXCIgbWF0VG9vbHRpcD1cIkNhc2VOb3RlXCIgIG1hdC1yYWlzZWQtYnV0dG9uIGNvbG9yPVwicHJpbWFyeVwiIFxyXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgYWNjZXNzQ29udHJvbFxyXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgW2FjY2Vzc0NvbnRyb2xDb25maWddPVwidXBkYXRlQWNjZXNzQ29udHJvbENvbmZpZ1wiICBcclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIChjbGljayk9XCJnb1RvQ2FzZU5vdGUocm93LnZpY3RpbUlkKVwiPiAgICAgICAgICAgICAgICAgICAgICAgIFxyXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPHNwYW4gY2xhc3M9XCJnbHlwaGljb24gZ2x5cGhpY29uLXBlbmNpbFwiID48L3NwYW4+Jm5ic3A7Q2FzZSBOb3RlXHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICA8L2J1dHRvbj4gXHJcbiAgICAgICAgICAgICAgICAgICAgICAgIDwvZGl2PlxyXG4gICAgICAgICAgICAgICAgICAgICAgICAgJm5ic3A7Jm5ic3A7XHJcbiAgICAgICAgICAgICAgICAgICAgICAgXHJcbiAgICAgICAgICAgICAgICAgICAgICAgICA8ZGl2ICAqbmdJZj1cInNob3dTYWZldHlQbGFuXCI+XHJcbiAgICAgICAgICAgICAgICAgICAgICAgIDxidXR0b24gdHlwZT1cImJ1dHRvblwiICBtYXRUb29sdGlwPVwic2FmZXR5IHBsYW5cIiBtYXQtcmFpc2VkLWJ1dHRvbiBjb2xvcj1cInByaW1hcnlcIlxyXG4gICAgICAgICAgICAgICAgICAgICAgICAgYWNjZXNzQ29udHJvbFxyXG4gICAgICAgICAgICAgICAgICAgICAgICAgW2FjY2Vzc0NvbnRyb2xDb25maWddPVwidXBkYXRlQWNjZXNzQ29udHJvbENvbmZpZ1wiICBcclxuICAgICAgICAgICAgICAgICAgICAgICAgIChjbGljayk9XCJnb1RvU2FmdHlQbGFuKHJvdy52aWN0aW1JZClcIj4gICAgICAgICAgICAgICAgICAgICAgICBcclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8c3BhbiBjbGFzcz1cImdseXBoaWNvbiBnbHlwaGljb24tcGVuY2lsXCIgPjwvc3Bhbj4mbmJzcDtTYWZldHkgUGxhblxyXG4gICAgICAgICAgICAgICAgICAgICAgICA8L2J1dHRvbj5cclxuICAgICAgICAgICAgICAgICAgICAgICAgPC9kaXY+XHJcbiAgICAgICAgICAgICAgICAgICAgICAgICZuYnNwOyZuYnNwO1xyXG4gICBcclxuICAgICAgICAgICAgICAgICAgICA8L21hdC1jZWxsPlxyXG4gICAgICAgICAgICAgICAgPC9uZy1jb250YWluZXI+XHJcblxyXG4gICAgICAgICAgICAgICAgPG1hdC1oZWFkZXItcm93ICptYXRIZWFkZXJSb3dEZWY9XCJkaXNwbGF5ZWRDb2x1bW5zXCIgY2xhc3M9XCJleGFtcGxlLWhlYWRlci1yb3dcIj48L21hdC1oZWFkZXItcm93PlxyXG4gICAgICAgICAgICAgICAgPG1hdC1yb3cgKm1hdFJvd0RlZj1cImxldCByb3c7IGNvbHVtbnM6IGRpc3BsYXllZENvbHVtbnNcIiBjbGFzcz1cImV4YW1wbGUtcm93XCI+PC9tYXQtcm93PlxyXG4gICAgICAgICAgICAgICAgPC9tYXQtdGFibGU+XHJcblxyXG4gICAgICAgICAgICAgIDxtYXQtcGFnaW5hdG9yICNwYWdpbmF0b3IgW3BhZ2VTaXplXT1cIjEwXCIgW3BhZ2VTaXplT3B0aW9uc109XCJbNSwgMTAsIDI1LCAxMDBdXCI+PC9tYXQtcGFnaW5hdG9yPiBcclxuICAgICAgICAgIDwvbWF0LWNhcmQtY29udGVudD5cclxuICAgIDwvbWF0LWNhcmQ+XHJcbiAgICA8L2Rpdj5cclxuXHJcbiAgICA8ZGl2PlxyXG4gICAgICAgIDxiPnt7bXNnfX08L2I+XHJcbiAgICA8L2Rpdj5cclxuPC9kaXY+Il19
@@ -846,7 +846,6 @@ class SmartVictimDetailComponent {
846
846
  victimWeaponUsesControl.setValue(weaponUsesData);
847
847
  const otherWeaponControl = this.victimForm.get('otherWeapon');
848
848
  otherWeaponControl.setValue(otherWeapon);
849
- //this.weaponUsesData = this.editVictim.victimWeaponUses;
850
849
  var drugUseData = [];
851
850
  var otherDrug = "";
852
851
  console.log('load this.editVictim.victimDrugUses');
@@ -983,9 +982,6 @@ class SmartVictimDetailComponent {
983
982
  console.log(this.staffId);
984
983
  console.log('show isIntake');
985
984
  console.log(this.isIntake);
986
- //this.victimDetail.guardianNoPhoneFlag = true;
987
- //this.victimForm.value.guardianNoPhoneFlag = true;
988
- //this.victimForm.get('guardianNoPhoneFlag').setValue(true);
989
985
  //required field
990
986
  const requiredImplementation = { get: function () {
991
987
  if (this._required) {
@@ -1106,26 +1102,16 @@ class SmartVictimDetailComponent {
1106
1102
  });
1107
1103
  }
1108
1104
  radioMinorChange($event) {
1109
- // const guardianLastNameControl = this.victimForm.get('guardianLastName');
1110
- //const guardianFirstNameControl = this.victimForm.get('guardianFirstName');
1111
1105
  if ($event.value === true) {
1112
1106
  this.guardianTabFlag = true;
1113
- // guardianLastNameControl.setValidators(Validators.required);
1114
- // guardianFirstNameControl.setValidators(Validators.required);
1115
- //this.victimForm.value.guardianNoPhoneFlag = true;
1116
1107
  }
1117
1108
  else {
1118
1109
  this.guardianTabFlag = false;
1119
- // guardianLastNameControl.clearValidators();
1120
- // guardianFirstNameControl.clearValidators();
1121
1110
  }
1122
- //guardianLastNameControl.updateValueAndValidity();
1123
- // guardianFirstNameControl.updateValueAndValidity();
1124
1111
  }
1125
1112
  radioAdvocateChange($event) {
1126
1113
  const advocateLastNameControl = this.victimForm.get('advocateLastName');
1127
1114
  const advocateFirstNameControl = this.victimForm.get('advocateFirstName');
1128
- // const advocateNoPhoneControl = this.victimForm.get('advocateNoPhoneFlag');
1129
1115
  if ($event.value === "YS") {
1130
1116
  this.advocateTabFlag = true;
1131
1117
  advocateLastNameControl.setValidators(Validators.required);
@@ -1201,11 +1187,7 @@ class SmartVictimDetailComponent {
1201
1187
  });
1202
1188
  const minorControl = this.victimForm.get('minorFlag');
1203
1189
  minorControl.setValue(true);
1204
- // const guardianLastNameControl = this.victimForm.get('guardianLastName');
1205
- // const guardianFirstNameControl = this.victimForm.get('guardianFirstName');
1206
1190
  this.guardianTabFlag = true;
1207
- // guardianLastNameControl.setValidators(Validators.required);
1208
- // guardianFirstNameControl.setValidators(Validators.required);
1209
1191
  }
1210
1192
  }
1211
1193
  checkOtherWeapon(WeaponUse) {
@@ -1356,6 +1338,12 @@ class SmartVictimDetailComponent {
1356
1338
  else {
1357
1339
  this.victimForm.value.advocateCellPhone = null;
1358
1340
  }
1341
+ if (this.advocateWorkPhoneControl.value) {
1342
+ this.victimForm.value.advocateWorkPhone = this.advocateWorkPhoneControl.value.replace(/[()\s-]/g, '');
1343
+ }
1344
+ else {
1345
+ this.victimForm.value.advocateWorkPhone = null;
1346
+ }
1359
1347
  if (this.emergencyContactPhoneControl.value) {
1360
1348
  this.victimForm.value.emergencyContactPhone = this.emergencyContactPhoneControl.value.replace(/[()\s-]/g, '');
1361
1349
  }
@@ -1599,8 +1587,6 @@ class SmartVictimDetailComponent {
1599
1587
  this.victimDetail.victimSupports.push(victimSupport);
1600
1588
  });
1601
1589
  this.victimDetail.victimDrugUses = [];
1602
- console.log('this.victimForm.value.victimDrugUses calculate');
1603
- console.log(this.victimForm.value.victimDrugUses);
1604
1590
  this.victimForm.value.victimDrugUses.forEach(element => {
1605
1591
  const victimDrugUse = {};
1606
1592
  victimDrugUse.drugTypeId = element;
@@ -1617,21 +1603,13 @@ class SmartVictimDetailComponent {
1617
1603
  victimDrugUse.modifiedBy = this.staffId;
1618
1604
  victimDrugUse.victimId = this.victimDetail.victimId;
1619
1605
  this.victimDetail.victimDrugUses.push(victimDrugUse);
1620
- console.log('this.victimForm.value.victimDrugUses after');
1621
- console.log(this.victimForm.value.victimDrugUses);
1622
1606
  });
1623
1607
  this.victimForm.value.victimDrugUses.filter(word => (!(word.drugTypeId === null && word.otherDrug === null)));
1624
- console.log('adjust this.victimForm.value.victimDrugUses ');
1625
- console.log(this.victimForm.value.victimDrugUses);
1626
1608
  this.victimDetail.victimWeaponUses = [];
1627
1609
  this.victimForm.value.victimWeaponUses.forEach(element => {
1628
1610
  const victimWeaponUse = {};
1629
1611
  victimWeaponUse.victimId = this.victimDetail.victimId;
1630
1612
  victimWeaponUse.weaponTypeId = element;
1631
- console.log('weapon element');
1632
- console.log(element);
1633
- console.log(this.victimForm.value.otherWeapon);
1634
- console.log(this.victimForm.value.victimWeaponUses);
1635
1613
  if (element == "OTHER") {
1636
1614
  victimWeaponUse.otherWeapon = this.victimForm.value.otherWeapon;
1637
1615
  }
@@ -1971,7 +1949,7 @@ class NgcSmartVictimComponent {
1971
1949
  duration: 3000,
1972
1950
  });
1973
1951
  //this.router.navigate(['/warrant '], { queryParams: { intake: 1 } });
1974
- this.document.location.href = `${this.smartWarrantUrl}/warrant`;
1952
+ this.document.location.href = `${this.smartWarrantUrl}/?offenderId=${this.offenderId}&routeTo=warrant`;
1975
1953
  });
1976
1954
  }
1977
1955
  goToCaseNote(victimId) {