@hmcts/media-viewer 2.7.16 → 2.8.2

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.
Files changed (112) hide show
  1. package/bundles/hmcts-media-viewer.umd.js +7406 -4728
  2. package/bundles/hmcts-media-viewer.umd.js.map +1 -1
  3. package/bundles/hmcts-media-viewer.umd.min.js +16 -1
  4. package/bundles/hmcts-media-viewer.umd.min.js.map +1 -1
  5. package/esm2015/hmcts-media-viewer.js +60 -78
  6. package/esm2015/lib/annotations/annotation-set/annotation-create/highlight-create/highlight-create.service.js +2 -2
  7. package/esm2015/lib/annotations/annotation-set/annotation-view/rectangle/rectangle.component.js +2 -2
  8. package/esm2015/lib/annotations/annotation-set/metadata-layer/metadata-layer.component.js +2 -2
  9. package/esm2015/lib/annotations/comment-set/comment-set-header/comment-set-header.component.js +2 -2
  10. package/esm2015/lib/annotations/comment-set/comment-set.component.js +3 -3
  11. package/esm2015/lib/annotations/comments-summary/comments-summary.component.js +2 -2
  12. package/esm2015/lib/annotations/services/tags/tags.services.js +3 -3
  13. package/esm2015/lib/icp/icp-update.service.js +3 -3
  14. package/esm2015/lib/media-viewer.component.js +12 -10
  15. package/esm2015/lib/print.service.js +1 -1
  16. package/esm2015/lib/shared/gov-uk-error-message/gov-uk-error-message.component.js +3 -2
  17. package/esm2015/lib/shared/gov-uk-label/gov-uk-label.component.js +3 -2
  18. package/esm2015/lib/shared/util/services/number.helper.service.js +4 -3
  19. package/esm2015/lib/store/effects/annotation.effects.js +7 -7
  20. package/esm2015/lib/store/effects/bookmarks.effects.js +11 -11
  21. package/esm2015/lib/store/effects/document.effects.js +7 -7
  22. package/esm2015/lib/store/effects/icp.effects.js +5 -5
  23. package/esm2015/lib/store/effects/redaction.effects.js +11 -11
  24. package/esm2015/lib/store/reducers/annotations.reducer.js +19 -19
  25. package/esm2015/lib/store/reducers/bookmarks.reducer.js +10 -10
  26. package/esm2015/lib/store/reducers/document.reducer.js +12 -12
  27. package/esm2015/lib/store/reducers/icp.reducer.js +7 -7
  28. package/esm2015/lib/store/reducers/redaction.reducer.js +11 -11
  29. package/esm2015/lib/store/reducers/tags.reducer.js +8 -8
  30. package/esm2015/lib/store/selectors/annotation.selectors.js +3 -3
  31. package/esm2015/lib/store/store-utils.js +10 -10
  32. package/esm2015/lib/toolbar/toolbar-button-visibility.service.js +1 -1
  33. package/esm2015/lib/toolbar/toolbar-event.service.js +1 -1
  34. package/esm2015/lib/viewers/image-viewer/image-viewer.component.js +3 -3
  35. package/esm2015/lib/viewers/pdf-viewer/pdf-js/pdf-js-wrapper.js +2 -2
  36. package/esm2015/lib/viewers/pdf-viewer/pdf-js/pdf-js-wrapper.provider.js +1 -1
  37. package/esm2015/lib/viewers/pdf-viewer/pdf-viewer.component.js +4 -4
  38. package/esm2015/lib/viewers/pdf-viewer/side-bar/bookmarks/bookmarks.component.js +5 -5
  39. package/esm2015/lib/viewers/pdf-viewer/side-bar/side-bar.component.js +2 -2
  40. package/esm2015/lib/viewers/viewer-event.service.js +1 -1
  41. package/esm2015/lib/viewers/viewer-util.service.js +1 -1
  42. package/esm2015/public_api.js +19 -1
  43. package/esm5/hmcts-media-viewer.js +60 -78
  44. package/esm5/lib/annotations/annotation-set/annotation-create/box-highlight-create/box-highlight-create.component.js +3 -3
  45. package/esm5/lib/annotations/annotation-set/annotation-create/highlight-create/highlight-create.directive.js +3 -3
  46. package/esm5/lib/annotations/annotation-set/annotation-create/highlight-create/highlight-create.service.js +3 -3
  47. package/esm5/lib/annotations/annotation-set/annotation-view/annotation-view.component.js +4 -4
  48. package/esm5/lib/annotations/annotation-set/annotation-view/rectangle/rectangle.component.js +5 -5
  49. package/esm5/lib/annotations/annotation-set/ctx-toolbar/ctx-toolbar.component.js +3 -3
  50. package/esm5/lib/annotations/annotation-set/metadata-layer/metadata-layer.component.js +3 -3
  51. package/esm5/lib/annotations/comment-set/comment/comment.component.js +3 -3
  52. package/esm5/lib/annotations/comment-set/comment-navigate/comments-navigate.component.js +4 -4
  53. package/esm5/lib/annotations/comment-set/comment-set-header/comment-set-header.component.js +5 -5
  54. package/esm5/lib/annotations/comment-set/comment-set.component.js +4 -4
  55. package/esm5/lib/annotations/comments-summary/comments-summary.component.js +4 -4
  56. package/esm5/lib/annotations/pipes/date/date.pipe.js +3 -3
  57. package/esm5/lib/annotations/services/annotation-api/annotation-api.service.js +3 -3
  58. package/esm5/lib/annotations/services/tags/tags.services.js +5 -5
  59. package/esm5/lib/icp/icp-update.service.js +4 -4
  60. package/esm5/lib/media-viewer.component.js +13 -11
  61. package/esm5/lib/print.service.js +1 -1
  62. package/esm5/lib/redaction/components/redaction.component.js +3 -3
  63. package/esm5/lib/shared/util/services/number.helper.service.js +1 -1
  64. package/esm5/lib/store/bookmarks-store-utils.js +4 -4
  65. package/esm5/lib/store/effects/annotation.effects.js +7 -7
  66. package/esm5/lib/store/effects/bookmarks.effects.js +13 -13
  67. package/esm5/lib/store/effects/document.effects.js +7 -7
  68. package/esm5/lib/store/effects/icp.effects.js +5 -5
  69. package/esm5/lib/store/effects/redaction.effects.js +11 -11
  70. package/esm5/lib/store/reducers/annotations.reducer.js +25 -25
  71. package/esm5/lib/store/reducers/bookmarks.reducer.js +14 -14
  72. package/esm5/lib/store/reducers/document.reducer.js +13 -13
  73. package/esm5/lib/store/reducers/icp.reducer.js +8 -8
  74. package/esm5/lib/store/reducers/redaction.reducer.js +15 -15
  75. package/esm5/lib/store/reducers/tags.reducer.js +14 -14
  76. package/esm5/lib/store/selectors/annotation.selectors.js +4 -4
  77. package/esm5/lib/store/store-utils.js +12 -12
  78. package/esm5/lib/toolbar/main-toolbar/main-toolbar.component.js +3 -3
  79. package/esm5/lib/toolbar/search-bar/search-bar.component.js +3 -3
  80. package/esm5/lib/toolbar/toolbar-button-visibility.service.js +1 -1
  81. package/esm5/lib/toolbar/toolbar-event.service.js +1 -1
  82. package/esm5/lib/viewers/image-viewer/image-viewer.component.js +5 -5
  83. package/esm5/lib/viewers/pdf-viewer/pdf-js/pdf-js-wrapper.js +5 -5
  84. package/esm5/lib/viewers/pdf-viewer/pdf-js/pdf-js-wrapper.provider.js +1 -1
  85. package/esm5/lib/viewers/pdf-viewer/pdf-viewer.component.js +7 -7
  86. package/esm5/lib/viewers/pdf-viewer/side-bar/bookmarks/bookmarks.component.js +7 -7
  87. package/esm5/lib/viewers/pdf-viewer/side-bar/side-bar.component.js +3 -3
  88. package/esm5/lib/viewers/unsupported-viewer/unsupported-viewer.component.js +3 -3
  89. package/esm5/lib/viewers/viewer-event.service.js +1 -1
  90. package/esm5/lib/viewers/viewer-util.service.js +1 -1
  91. package/esm5/public_api.js +19 -1
  92. package/fesm2015/hmcts-media-viewer.js +2624 -184
  93. package/fesm2015/hmcts-media-viewer.js.map +1 -1
  94. package/fesm5/hmcts-media-viewer.js +2581 -146
  95. package/fesm5/hmcts-media-viewer.js.map +1 -1
  96. package/hmcts-media-viewer-v2.8.2.tgz +0 -0
  97. package/hmcts-media-viewer.d.ts +63 -81
  98. package/hmcts-media-viewer.metadata.json +1 -1
  99. package/lib/annotations/annotation-set/ctx-toolbar/ctx-toolbar.component.d.ts +3 -3
  100. package/lib/annotations/comment-set/comment-set-header/comment-set-header.component.d.ts +1 -1
  101. package/lib/media-viewer.component.d.ts +1 -0
  102. package/lib/store/selectors/annotation.selectors.d.ts +3 -3
  103. package/lib/store/selectors/redaction.selectors.d.ts +1 -1
  104. package/lib/store/selectors/tag.selectors.d.ts +1 -1
  105. package/lib/toolbar/icp-event.service.d.ts +4 -4
  106. package/lib/toolbar/toolbar-event.service.d.ts +5 -5
  107. package/lib/viewers/image-viewer/image-viewer.component.d.ts +1 -1
  108. package/lib/viewers/pdf-viewer/side-bar/outline-item/outline-item.component.d.ts +1 -1
  109. package/lib/viewers/viewer-event.service.d.ts +1 -1
  110. package/package.json +7 -10
  111. package/public_api.d.ts +18 -0
  112. package/hmcts-media-viewer-v2.7.16.tgz +0 -0
@@ -1,27 +1,27 @@
1
+ import { Injectable, ɵɵdefineInjectable, ɵɵinject, EventEmitter, Component, ViewEncapsulation, Output, Input, ViewChild, ElementRef, ChangeDetectorRef, HostListener, NgModule, ViewChildren, Directive, Pipe } from '@angular/core';
2
+ import { CommonModule, DatePipe } from '@angular/common';
3
+ import { FormsModule, FormGroup, FormControl, FormBuilder, ReactiveFormsModule } from '@angular/forms';
4
+ import { HttpClient, HttpClientModule } from '@angular/common/http';
5
+ import { __spread, __awaiter, __generator, __assign, __read, __values, __extends, __decorate, __metadata } from 'tslib';
6
+ import { BehaviorSubject, Subject, asyncScheduler, combineLatest, Observable, of } from 'rxjs';
7
+ import { tap, throttleTime, filter, map, catchError, take, distinctUntilChanged, auditTime, switchMap, exhaustMap, withLatestFrom } from 'rxjs/operators';
8
+ import { createFeatureSelector, createSelector, select, Store, StoreModule } from '@ngrx/store';
1
9
  import { PDFLinkService, EventBus, PDFFindController, PDFViewer, DownloadManager } from 'pdfjs-dist/web/pdf_viewer';
2
10
  import { GlobalWorkerOptions, getDocument } from 'pdfjs-dist';
3
11
  import 'pdfjs-dist/build/pdf.worker';
4
12
  import uuid from 'uuid/v4';
13
+ import moment from 'moment-timezone';
5
14
  import 'hammerjs';
6
15
  import { ConnectionPositionPair, OverlayModule } from '@angular/cdk/overlay';
16
+ import { RouterModule } from '@angular/router';
7
17
  import { A11yModule } from '@angular/cdk/a11y';
8
- import { NgxDatatableModule } from '@swimlane/ngx-datatable';
9
- import moment from 'moment-timezone';
10
- import { CommonModule, DatePipe } from '@angular/common';
11
- import { FormsModule, FormBuilder, FormControl, FormGroup, ReactiveFormsModule } from '@angular/forms';
18
+ import { MutableDivModule } from 'mutable-div';
12
19
  import { TagInputModule } from 'ngx-chips';
13
- import { RouterModule } from '@angular/router';
20
+ import { NgxDatatableModule } from '@swimlane/ngx-datatable';
21
+ import uuid$1, { v4 } from 'uuid';
22
+ import { ofType, Actions, Effect, EffectsModule } from '@ngrx/effects';
14
23
  import socketio from 'socket.io-client/dist/socket.io.js';
15
- import { HttpClient, HttpClientModule } from '@angular/common/http';
16
- import { Actions, Effect, ofType, EffectsModule } from '@ngrx/effects';
17
- import { BehaviorSubject, Subject, asyncScheduler, combineLatest, Observable, of } from 'rxjs';
18
- import { MutableDivModule } from 'mutable-div';
19
24
  import { TreeModule } from 'angular-tree-component';
20
- import { filter, tap, throttleTime, catchError, map, take, distinctUntilChanged, auditTime, exhaustMap, switchMap, withLatestFrom } from 'rxjs/operators';
21
- import { __assign, __awaiter, __generator, __spread, __values, __read, __extends, __decorate, __metadata } from 'tslib';
22
- import uuid$1, { v4 } from 'uuid';
23
- import { createFeatureSelector, createSelector, select, Store, StoreModule } from '@ngrx/store';
24
- import { Injectable, Component, NgModule, Input, Directive, ElementRef, HostListener, EventEmitter, Output, ViewEncapsulation, ViewChild, Pipe, ChangeDetectorRef, ɵɵdefineInjectable, ɵɵinject, ViewChildren } from '@angular/core';
25
25
 
26
26
  /**
27
27
  * @fileoverview added by tsickle
@@ -392,6 +392,78 @@ var PdfJsWrapper = /** @class */ (function () {
392
392
  };
393
393
  return PdfJsWrapper;
394
394
  }());
395
+ if (false) {
396
+ /**
397
+ * @type {?}
398
+ * @private
399
+ */
400
+ PdfJsWrapper.prototype.zoomValue;
401
+ /**
402
+ * @type {?}
403
+ * @private
404
+ */
405
+ PdfJsWrapper.prototype.documentTitle;
406
+ /**
407
+ * @type {?}
408
+ * @private
409
+ */
410
+ PdfJsWrapper.prototype.documentOutline;
411
+ /**
412
+ * @type {?}
413
+ * @private
414
+ */
415
+ PdfJsWrapper.prototype.pdfViewer;
416
+ /**
417
+ * @type {?}
418
+ * @private
419
+ */
420
+ PdfJsWrapper.prototype.downloadManager;
421
+ /**
422
+ * @type {?}
423
+ * @private
424
+ */
425
+ PdfJsWrapper.prototype.toolbarEvents;
426
+ /** @type {?} */
427
+ PdfJsWrapper.prototype.documentLoadInit;
428
+ /** @type {?} */
429
+ PdfJsWrapper.prototype.documentLoadProgress;
430
+ /** @type {?} */
431
+ PdfJsWrapper.prototype.documentLoaded;
432
+ /** @type {?} */
433
+ PdfJsWrapper.prototype.outlineLoaded;
434
+ /** @type {?} */
435
+ PdfJsWrapper.prototype.documentLoadFailed;
436
+ /** @type {?} */
437
+ PdfJsWrapper.prototype.pageRendered;
438
+ /** @type {?} */
439
+ PdfJsWrapper.prototype.positionUpdated;
440
+ }
441
+ /**
442
+ * @record
443
+ */
444
+ function DocumentLoadProgress() { }
445
+ if (false) {
446
+ /** @type {?} */
447
+ DocumentLoadProgress.prototype.loaded;
448
+ /** @type {?} */
449
+ DocumentLoadProgress.prototype.total;
450
+ }
451
+ /**
452
+ * @record
453
+ */
454
+ function PageEvent() { }
455
+ if (false) {
456
+ /** @type {?} */
457
+ PageEvent.prototype.div;
458
+ /** @type {?} */
459
+ PageEvent.prototype.scale;
460
+ /** @type {?} */
461
+ PageEvent.prototype.rotation;
462
+ /** @type {?} */
463
+ PageEvent.prototype.id;
464
+ /** @type {?} */
465
+ PageEvent.prototype.viewportScale;
466
+ }
395
467
 
396
468
  /**
397
469
  * @fileoverview added by tsickle
@@ -458,6 +530,7 @@ function () {
458
530
  });
459
531
 
460
532
  var icpEvents = /*#__PURE__*/Object.freeze({
533
+ __proto__: null,
461
534
  enabled: enabled,
462
535
  sessionLaunch: sessionLaunch,
463
536
  becomingPresenter: becomingPresenter,
@@ -477,6 +550,34 @@ var icpEvents = /*#__PURE__*/Object.freeze({
477
550
  * @fileoverview added by tsickle
478
551
  * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
479
552
  */
553
+ /**
554
+ * @record
555
+ */
556
+ function SearchOperation() { }
557
+ if (false) {
558
+ /** @type {?} */
559
+ SearchOperation.prototype.searchTerm;
560
+ /** @type {?} */
561
+ SearchOperation.prototype.highlightAll;
562
+ /** @type {?} */
563
+ SearchOperation.prototype.matchCase;
564
+ /** @type {?} */
565
+ SearchOperation.prototype.wholeWord;
566
+ /** @type {?} */
567
+ SearchOperation.prototype.previous;
568
+ /** @type {?} */
569
+ SearchOperation.prototype.reset;
570
+ }
571
+ /**
572
+ * @record
573
+ */
574
+ function SearchResultsCount() { }
575
+ if (false) {
576
+ /** @type {?} */
577
+ SearchResultsCount.prototype.current;
578
+ /** @type {?} */
579
+ SearchResultsCount.prototype.total;
580
+ }
480
581
  var ToolbarEventService = /** @class */ (function () {
481
582
  function ToolbarEventService() {
482
583
  this.highlightModeSubject = new BehaviorSubject(false);
@@ -800,9 +901,61 @@ var ToolbarEventService = /** @class */ (function () {
800
901
  ToolbarEventService.decorators = [
801
902
  { type: Injectable, args: [{ providedIn: 'root' },] }
802
903
  ];
803
- /** @nocollapse */ ToolbarEventService.ngInjectableDef = ɵɵdefineInjectable({ factory: function ToolbarEventService_Factory() { return new ToolbarEventService(); }, token: ToolbarEventService, providedIn: "root" });
904
+ /** @nocollapse */ ToolbarEventService.ɵprov = ɵɵdefineInjectable({ factory: function ToolbarEventService_Factory() { return new ToolbarEventService(); }, token: ToolbarEventService, providedIn: "root" });
804
905
  return ToolbarEventService;
805
906
  }());
907
+ if (false) {
908
+ /** @type {?} */
909
+ ToolbarEventService.prototype.highlightModeSubject;
910
+ /** @type {?} */
911
+ ToolbarEventService.prototype.drawModeSubject;
912
+ /** @type {?} */
913
+ ToolbarEventService.prototype.rotateSubject;
914
+ /** @type {?} */
915
+ ToolbarEventService.prototype.searchSubject;
916
+ /** @type {?} */
917
+ ToolbarEventService.prototype.searchResultsCountSubject;
918
+ /** @type {?} */
919
+ ToolbarEventService.prototype.zoomSubject;
920
+ /** @type {?} */
921
+ ToolbarEventService.prototype.stepZoomSubject;
922
+ /** @type {?} */
923
+ ToolbarEventService.prototype.zoomValueSubject;
924
+ /** @type {?} */
925
+ ToolbarEventService.prototype.pageCountSubject;
926
+ /** @type {?} */
927
+ ToolbarEventService.prototype.printSubject;
928
+ /** @type {?} */
929
+ ToolbarEventService.prototype.downloadSubject;
930
+ /** @type {?} */
931
+ ToolbarEventService.prototype.setCurrentPageSubject;
932
+ /** @type {?} */
933
+ ToolbarEventService.prototype.setCurrentPageInputValueSubject;
934
+ /** @type {?} */
935
+ ToolbarEventService.prototype.changePageByDeltaSubject;
936
+ /** @type {?} */
937
+ ToolbarEventService.prototype.showCommentSummary;
938
+ /** @type {?} */
939
+ ToolbarEventService.prototype.grabNDrag;
940
+ /** @type {?} */
941
+ ToolbarEventService.prototype.saveRotationSubject;
942
+ /** @type {?} */
943
+ ToolbarEventService.prototype.redactionMode;
944
+ /** @type {?} */
945
+ ToolbarEventService.prototype.redactionPreview;
946
+ /** @type {?} */
947
+ ToolbarEventService.prototype.applyRedactToDocument;
948
+ /** @type {?} */
949
+ ToolbarEventService.prototype.clearAllRedactMarkers;
950
+ /** @type {?} */
951
+ ToolbarEventService.prototype.sidebarOpen;
952
+ /** @type {?} */
953
+ ToolbarEventService.prototype.searchBarHidden;
954
+ /** @type {?} */
955
+ ToolbarEventService.prototype.commentsPanelVisible;
956
+ /** @type {?} */
957
+ ToolbarEventService.prototype.icp;
958
+ }
806
959
 
807
960
  /**
808
961
  * @fileoverview added by tsickle
@@ -857,9 +1010,31 @@ var PdfJsWrapperFactory = /** @class */ (function () {
857
1010
  PdfJsWrapperFactory.ctorParameters = function () { return [
858
1011
  { type: ToolbarEventService }
859
1012
  ]; };
860
- /** @nocollapse */ PdfJsWrapperFactory.ngInjectableDef = ɵɵdefineInjectable({ factory: function PdfJsWrapperFactory_Factory() { return new PdfJsWrapperFactory(ɵɵinject(ToolbarEventService)); }, token: PdfJsWrapperFactory, providedIn: "root" });
1013
+ /** @nocollapse */ PdfJsWrapperFactory.ɵprov = ɵɵdefineInjectable({ factory: function PdfJsWrapperFactory_Factory() { return new PdfJsWrapperFactory(ɵɵinject(ToolbarEventService)); }, token: PdfJsWrapperFactory, providedIn: "root" });
861
1014
  return PdfJsWrapperFactory;
862
1015
  }());
1016
+ if (false) {
1017
+ /**
1018
+ * @type {?}
1019
+ * @private
1020
+ */
1021
+ PdfJsWrapperFactory.prototype.linkService;
1022
+ /**
1023
+ * @type {?}
1024
+ * @private
1025
+ */
1026
+ PdfJsWrapperFactory.prototype.eventBus;
1027
+ /**
1028
+ * @type {?}
1029
+ * @private
1030
+ */
1031
+ PdfJsWrapperFactory.prototype.pdfJsWrapper;
1032
+ /**
1033
+ * @type {?}
1034
+ * @private
1035
+ */
1036
+ PdfJsWrapperFactory.prototype.toolbarEvents;
1037
+ }
863
1038
 
864
1039
  /**
865
1040
  * @fileoverview added by tsickle
@@ -907,7 +1082,7 @@ var PrintService = /** @class */ (function () {
907
1082
  providedIn: 'root'
908
1083
  },] }
909
1084
  ];
910
- /** @nocollapse */ PrintService.ngInjectableDef = ɵɵdefineInjectable({ factory: function PrintService_Factory() { return new PrintService(); }, token: PrintService, providedIn: "root" });
1085
+ /** @nocollapse */ PrintService.ɵprov = ɵɵdefineInjectable({ factory: function PrintService_Factory() { return new PrintService(); }, token: PrintService, providedIn: "root" });
911
1086
  return PrintService;
912
1087
  }());
913
1088
 
@@ -921,6 +1096,16 @@ var ResponseType = {
921
1096
  FAILURE: 'FAILURE',
922
1097
  UNSUPPORTED: 'UNSUPPORTED',
923
1098
  };
1099
+ /**
1100
+ * @record
1101
+ */
1102
+ function ExceptionDetail() { }
1103
+ if (false) {
1104
+ /** @type {?|undefined} */
1105
+ ExceptionDetail.prototype.httpResponseCode;
1106
+ /** @type {?|undefined} */
1107
+ ExceptionDetail.prototype.message;
1108
+ }
924
1109
  var ViewerException = /** @class */ (function () {
925
1110
  function ViewerException(exceptionType, detail) {
926
1111
  this.exceptionType = exceptionType;
@@ -928,6 +1113,12 @@ var ViewerException = /** @class */ (function () {
928
1113
  }
929
1114
  return ViewerException;
930
1115
  }());
1116
+ if (false) {
1117
+ /** @type {?} */
1118
+ ViewerException.prototype.exceptionType;
1119
+ /** @type {?} */
1120
+ ViewerException.prototype.detail;
1121
+ }
931
1122
 
932
1123
  /**
933
1124
  * @fileoverview added by tsickle
@@ -989,9 +1180,43 @@ var ToolbarButtonVisibilityService = /** @class */ (function () {
989
1180
  ToolbarButtonVisibilityService.decorators = [
990
1181
  { type: Injectable, args: [{ providedIn: 'root' },] }
991
1182
  ];
992
- /** @nocollapse */ ToolbarButtonVisibilityService.ngInjectableDef = ɵɵdefineInjectable({ factory: function ToolbarButtonVisibilityService_Factory() { return new ToolbarButtonVisibilityService(); }, token: ToolbarButtonVisibilityService, providedIn: "root" });
1183
+ /** @nocollapse */ ToolbarButtonVisibilityService.ɵprov = ɵɵdefineInjectable({ factory: function ToolbarButtonVisibilityService_Factory() { return new ToolbarButtonVisibilityService(); }, token: ToolbarButtonVisibilityService, providedIn: "root" });
993
1184
  return ToolbarButtonVisibilityService;
994
1185
  }());
1186
+ if (false) {
1187
+ /** @type {?} */
1188
+ ToolbarButtonVisibilityService.prototype.showPrint;
1189
+ /** @type {?} */
1190
+ ToolbarButtonVisibilityService.prototype.showDownload;
1191
+ /** @type {?} */
1192
+ ToolbarButtonVisibilityService.prototype.showNavigation;
1193
+ /** @type {?} */
1194
+ ToolbarButtonVisibilityService.prototype.showZoom;
1195
+ /** @type {?} */
1196
+ ToolbarButtonVisibilityService.prototype.showRotate;
1197
+ /** @type {?} */
1198
+ ToolbarButtonVisibilityService.prototype.showPresentationMode;
1199
+ /** @type {?} */
1200
+ ToolbarButtonVisibilityService.prototype.showRedact;
1201
+ /** @type {?} */
1202
+ ToolbarButtonVisibilityService.prototype.showOpenFile;
1203
+ /** @type {?} */
1204
+ ToolbarButtonVisibilityService.prototype.showBookmark;
1205
+ /** @type {?} */
1206
+ ToolbarButtonVisibilityService.prototype.showHighlightButton;
1207
+ /** @type {?} */
1208
+ ToolbarButtonVisibilityService.prototype.showDrawButton;
1209
+ /** @type {?} */
1210
+ ToolbarButtonVisibilityService.prototype.showSearchBar;
1211
+ /** @type {?} */
1212
+ ToolbarButtonVisibilityService.prototype.showSidebar;
1213
+ /** @type {?} */
1214
+ ToolbarButtonVisibilityService.prototype.showCommentSummary;
1215
+ /** @type {?} */
1216
+ ToolbarButtonVisibilityService.prototype.showGrabNDragButton;
1217
+ /** @type {?} */
1218
+ ToolbarButtonVisibilityService.prototype.showSaveRotationButton;
1219
+ }
995
1220
  /**
996
1221
  * Default toolbar state for the PDF viewer
997
1222
  * @type {?}
@@ -1075,6 +1300,12 @@ var SetDocumentId = /** @class */ (function () {
1075
1300
  }
1076
1301
  return SetDocumentId;
1077
1302
  }());
1303
+ if (false) {
1304
+ /** @type {?} */
1305
+ SetDocumentId.prototype.type;
1306
+ /** @type {?} */
1307
+ SetDocumentId.prototype.payload;
1308
+ }
1078
1309
  var AddPages = /** @class */ (function () {
1079
1310
  function AddPages(payload) {
1080
1311
  this.payload = payload;
@@ -1082,6 +1313,12 @@ var AddPages = /** @class */ (function () {
1082
1313
  }
1083
1314
  return AddPages;
1084
1315
  }());
1316
+ if (false) {
1317
+ /** @type {?} */
1318
+ AddPages.prototype.type;
1319
+ /** @type {?} */
1320
+ AddPages.prototype.payload;
1321
+ }
1085
1322
  var PdfPositionUpdate = /** @class */ (function () {
1086
1323
  function PdfPositionUpdate(payload) {
1087
1324
  this.payload = payload;
@@ -1089,6 +1326,12 @@ var PdfPositionUpdate = /** @class */ (function () {
1089
1326
  }
1090
1327
  return PdfPositionUpdate;
1091
1328
  }());
1329
+ if (false) {
1330
+ /** @type {?} */
1331
+ PdfPositionUpdate.prototype.type;
1332
+ /** @type {?} */
1333
+ PdfPositionUpdate.prototype.payload;
1334
+ }
1092
1335
  var Convert = /** @class */ (function () {
1093
1336
  function Convert(payload) {
1094
1337
  this.payload = payload;
@@ -1096,6 +1339,12 @@ var Convert = /** @class */ (function () {
1096
1339
  }
1097
1340
  return Convert;
1098
1341
  }());
1342
+ if (false) {
1343
+ /** @type {?} */
1344
+ Convert.prototype.type;
1345
+ /** @type {?} */
1346
+ Convert.prototype.payload;
1347
+ }
1099
1348
  var ConvertSuccess = /** @class */ (function () {
1100
1349
  function ConvertSuccess(payload) {
1101
1350
  this.payload = payload;
@@ -1103,6 +1352,12 @@ var ConvertSuccess = /** @class */ (function () {
1103
1352
  }
1104
1353
  return ConvertSuccess;
1105
1354
  }());
1355
+ if (false) {
1356
+ /** @type {?} */
1357
+ ConvertSuccess.prototype.type;
1358
+ /** @type {?} */
1359
+ ConvertSuccess.prototype.payload;
1360
+ }
1106
1361
  var ConvertFailure = /** @class */ (function () {
1107
1362
  function ConvertFailure(payload) {
1108
1363
  this.payload = payload;
@@ -1110,12 +1365,22 @@ var ConvertFailure = /** @class */ (function () {
1110
1365
  }
1111
1366
  return ConvertFailure;
1112
1367
  }());
1368
+ if (false) {
1369
+ /** @type {?} */
1370
+ ConvertFailure.prototype.type;
1371
+ /** @type {?} */
1372
+ ConvertFailure.prototype.payload;
1373
+ }
1113
1374
  var ClearConvertDocUrl = /** @class */ (function () {
1114
1375
  function ClearConvertDocUrl() {
1115
1376
  this.type = CLEAR_CONVERT_DOC_URL;
1116
1377
  }
1117
1378
  return ClearConvertDocUrl;
1118
1379
  }());
1380
+ if (false) {
1381
+ /** @type {?} */
1382
+ ClearConvertDocUrl.prototype.type;
1383
+ }
1119
1384
  var LoadRotation = /** @class */ (function () {
1120
1385
  function LoadRotation(payload) {
1121
1386
  this.payload = payload;
@@ -1123,6 +1388,12 @@ var LoadRotation = /** @class */ (function () {
1123
1388
  }
1124
1389
  return LoadRotation;
1125
1390
  }());
1391
+ if (false) {
1392
+ /** @type {?} */
1393
+ LoadRotation.prototype.type;
1394
+ /** @type {?} */
1395
+ LoadRotation.prototype.payload;
1396
+ }
1126
1397
  var LoadRotationSuccess = /** @class */ (function () {
1127
1398
  function LoadRotationSuccess(payload) {
1128
1399
  this.payload = payload;
@@ -1130,6 +1401,12 @@ var LoadRotationSuccess = /** @class */ (function () {
1130
1401
  }
1131
1402
  return LoadRotationSuccess;
1132
1403
  }());
1404
+ if (false) {
1405
+ /** @type {?} */
1406
+ LoadRotationSuccess.prototype.type;
1407
+ /** @type {?} */
1408
+ LoadRotationSuccess.prototype.payload;
1409
+ }
1133
1410
  var LoadRotationFailure = /** @class */ (function () {
1134
1411
  function LoadRotationFailure(payload) {
1135
1412
  this.payload = payload;
@@ -1137,6 +1414,12 @@ var LoadRotationFailure = /** @class */ (function () {
1137
1414
  }
1138
1415
  return LoadRotationFailure;
1139
1416
  }());
1417
+ if (false) {
1418
+ /** @type {?} */
1419
+ LoadRotationFailure.prototype.type;
1420
+ /** @type {?} */
1421
+ LoadRotationFailure.prototype.payload;
1422
+ }
1140
1423
  var SaveRotation = /** @class */ (function () {
1141
1424
  function SaveRotation(payload) {
1142
1425
  this.payload = payload;
@@ -1144,6 +1427,12 @@ var SaveRotation = /** @class */ (function () {
1144
1427
  }
1145
1428
  return SaveRotation;
1146
1429
  }());
1430
+ if (false) {
1431
+ /** @type {?} */
1432
+ SaveRotation.prototype.type;
1433
+ /** @type {?} */
1434
+ SaveRotation.prototype.payload;
1435
+ }
1147
1436
  var SaveRotationSuccess = /** @class */ (function () {
1148
1437
  function SaveRotationSuccess(payload) {
1149
1438
  this.payload = payload;
@@ -1151,6 +1440,12 @@ var SaveRotationSuccess = /** @class */ (function () {
1151
1440
  }
1152
1441
  return SaveRotationSuccess;
1153
1442
  }());
1443
+ if (false) {
1444
+ /** @type {?} */
1445
+ SaveRotationSuccess.prototype.type;
1446
+ /** @type {?} */
1447
+ SaveRotationSuccess.prototype.payload;
1448
+ }
1154
1449
  var SaveRotationFailure = /** @class */ (function () {
1155
1450
  function SaveRotationFailure(payload) {
1156
1451
  this.payload = payload;
@@ -1158,15 +1453,36 @@ var SaveRotationFailure = /** @class */ (function () {
1158
1453
  }
1159
1454
  return SaveRotationFailure;
1160
1455
  }());
1456
+ if (false) {
1457
+ /** @type {?} */
1458
+ SaveRotationFailure.prototype.type;
1459
+ /** @type {?} */
1460
+ SaveRotationFailure.prototype.payload;
1461
+ }
1161
1462
 
1162
1463
  /**
1163
1464
  * @fileoverview added by tsickle
1164
1465
  * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
1165
1466
  */
1166
1467
  /** @type {?} */
1468
+ var UPDATE_TAGS = '[Tags] Update Tags';
1469
+ /** @type {?} */
1167
1470
  var ADD_FILTER_TAGS = '[Tags] Add Filter Tags';
1168
1471
  /** @type {?} */
1169
1472
  var CLEAR_FILTER_TAGS = '[Tags] Clear Filter Tags';
1473
+ var UpdateTags = /** @class */ (function () {
1474
+ function UpdateTags(payload) {
1475
+ this.payload = payload;
1476
+ this.type = UPDATE_TAGS;
1477
+ }
1478
+ return UpdateTags;
1479
+ }());
1480
+ if (false) {
1481
+ /** @type {?} */
1482
+ UpdateTags.prototype.type;
1483
+ /** @type {?} */
1484
+ UpdateTags.prototype.payload;
1485
+ }
1170
1486
  var AddFilterTags = /** @class */ (function () {
1171
1487
  function AddFilterTags(payload) {
1172
1488
  this.payload = payload;
@@ -1174,12 +1490,22 @@ var AddFilterTags = /** @class */ (function () {
1174
1490
  }
1175
1491
  return AddFilterTags;
1176
1492
  }());
1493
+ if (false) {
1494
+ /** @type {?} */
1495
+ AddFilterTags.prototype.type;
1496
+ /** @type {?} */
1497
+ AddFilterTags.prototype.payload;
1498
+ }
1177
1499
  var ClearFilterTags = /** @class */ (function () {
1178
1500
  function ClearFilterTags() {
1179
1501
  this.type = CLEAR_FILTER_TAGS;
1180
1502
  }
1181
1503
  return ClearFilterTags;
1182
1504
  }());
1505
+ if (false) {
1506
+ /** @type {?} */
1507
+ ClearFilterTags.prototype.type;
1508
+ }
1183
1509
 
1184
1510
  /**
1185
1511
  * @fileoverview added by tsickle
@@ -1208,6 +1534,12 @@ var SetCaseId = /** @class */ (function () {
1208
1534
  }
1209
1535
  return SetCaseId;
1210
1536
  }());
1537
+ if (false) {
1538
+ /** @type {?} */
1539
+ SetCaseId.prototype.type;
1540
+ /** @type {?} */
1541
+ SetCaseId.prototype.payload;
1542
+ }
1211
1543
  var LoadIcpSession = /** @class */ (function () {
1212
1544
  function LoadIcpSession(payload) {
1213
1545
  this.payload = payload;
@@ -1215,6 +1547,12 @@ var LoadIcpSession = /** @class */ (function () {
1215
1547
  }
1216
1548
  return LoadIcpSession;
1217
1549
  }());
1550
+ if (false) {
1551
+ /** @type {?} */
1552
+ LoadIcpSession.prototype.type;
1553
+ /** @type {?} */
1554
+ LoadIcpSession.prototype.payload;
1555
+ }
1218
1556
  var LoadIcpSessionFailure = /** @class */ (function () {
1219
1557
  function LoadIcpSessionFailure(payload) {
1220
1558
  this.payload = payload;
@@ -1222,6 +1560,12 @@ var LoadIcpSessionFailure = /** @class */ (function () {
1222
1560
  }
1223
1561
  return LoadIcpSessionFailure;
1224
1562
  }());
1563
+ if (false) {
1564
+ /** @type {?} */
1565
+ LoadIcpSessionFailure.prototype.type;
1566
+ /** @type {?} */
1567
+ LoadIcpSessionFailure.prototype.payload;
1568
+ }
1225
1569
  var JoinIcpSocketSession = /** @class */ (function () {
1226
1570
  function JoinIcpSocketSession(payload) {
1227
1571
  this.payload = payload;
@@ -1229,6 +1573,12 @@ var JoinIcpSocketSession = /** @class */ (function () {
1229
1573
  }
1230
1574
  return JoinIcpSocketSession;
1231
1575
  }());
1576
+ if (false) {
1577
+ /** @type {?} */
1578
+ JoinIcpSocketSession.prototype.type;
1579
+ /** @type {?} */
1580
+ JoinIcpSocketSession.prototype.payload;
1581
+ }
1232
1582
  var IcpSocketSessionJoined = /** @class */ (function () {
1233
1583
  function IcpSocketSessionJoined(payload) {
1234
1584
  this.payload = payload;
@@ -1236,12 +1586,22 @@ var IcpSocketSessionJoined = /** @class */ (function () {
1236
1586
  }
1237
1587
  return IcpSocketSessionJoined;
1238
1588
  }());
1589
+ if (false) {
1590
+ /** @type {?} */
1591
+ IcpSocketSessionJoined.prototype.type;
1592
+ /** @type {?} */
1593
+ IcpSocketSessionJoined.prototype.payload;
1594
+ }
1239
1595
  var LeaveIcpSocketSession = /** @class */ (function () {
1240
1596
  function LeaveIcpSocketSession() {
1241
1597
  this.type = LEAVE_ICP_SOCKET_SESSION;
1242
1598
  }
1243
1599
  return LeaveIcpSocketSession;
1244
1600
  }());
1601
+ if (false) {
1602
+ /** @type {?} */
1603
+ LeaveIcpSocketSession.prototype.type;
1604
+ }
1245
1605
  var IcpPresenterUpdated = /** @class */ (function () {
1246
1606
  function IcpPresenterUpdated(payload) {
1247
1607
  this.payload = payload;
@@ -1249,6 +1609,12 @@ var IcpPresenterUpdated = /** @class */ (function () {
1249
1609
  }
1250
1610
  return IcpPresenterUpdated;
1251
1611
  }());
1612
+ if (false) {
1613
+ /** @type {?} */
1614
+ IcpPresenterUpdated.prototype.type;
1615
+ /** @type {?} */
1616
+ IcpPresenterUpdated.prototype.payload;
1617
+ }
1252
1618
  var IcpParticipantListUpdated = /** @class */ (function () {
1253
1619
  function IcpParticipantListUpdated(payload) {
1254
1620
  this.payload = payload;
@@ -1256,11 +1622,71 @@ var IcpParticipantListUpdated = /** @class */ (function () {
1256
1622
  }
1257
1623
  return IcpParticipantListUpdated;
1258
1624
  }());
1625
+ if (false) {
1626
+ /** @type {?} */
1627
+ IcpParticipantListUpdated.prototype.type;
1628
+ /** @type {?} */
1629
+ IcpParticipantListUpdated.prototype.payload;
1630
+ }
1259
1631
 
1260
1632
  /**
1261
1633
  * @fileoverview added by tsickle
1262
1634
  * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
1263
1635
  */
1636
+ /**
1637
+ * @record
1638
+ */
1639
+ function DocumentState() { }
1640
+ if (false) {
1641
+ /** @type {?} */
1642
+ DocumentState.prototype.convertedDocument;
1643
+ /** @type {?} */
1644
+ DocumentState.prototype.documentId;
1645
+ /** @type {?} */
1646
+ DocumentState.prototype.pdfPosition;
1647
+ /** @type {?} */
1648
+ DocumentState.prototype.pages;
1649
+ /** @type {?} */
1650
+ DocumentState.prototype.hasDifferentPageSize;
1651
+ /** @type {?} */
1652
+ DocumentState.prototype.rotation;
1653
+ /** @type {?} */
1654
+ DocumentState.prototype.rotationLoaded;
1655
+ /** @type {?} */
1656
+ DocumentState.prototype.loaded;
1657
+ /** @type {?} */
1658
+ DocumentState.prototype.loading;
1659
+ }
1660
+ /**
1661
+ * @record
1662
+ */
1663
+ function DocumentPages() { }
1664
+ if (false) {
1665
+ /** @type {?} */
1666
+ DocumentPages.prototype.numberOfPages;
1667
+ /** @type {?} */
1668
+ DocumentPages.prototype.styles;
1669
+ /** @type {?} */
1670
+ DocumentPages.prototype.scaleRotation;
1671
+ /** @type {?} */
1672
+ DocumentPages.prototype.viewportScale;
1673
+ }
1674
+ /**
1675
+ * @record
1676
+ */
1677
+ function PdfPosition() { }
1678
+ if (false) {
1679
+ /** @type {?} */
1680
+ PdfPosition.prototype.pageNumber;
1681
+ /** @type {?} */
1682
+ PdfPosition.prototype.scale;
1683
+ /** @type {?} */
1684
+ PdfPosition.prototype.top;
1685
+ /** @type {?} */
1686
+ PdfPosition.prototype.left;
1687
+ /** @type {?} */
1688
+ PdfPosition.prototype.rotation;
1689
+ }
1264
1690
  /** @type {?} */
1265
1691
  var initialDocumentState = {
1266
1692
  convertedDocument: undefined,
@@ -1287,7 +1713,7 @@ function docReducer(state, action) {
1287
1713
  url: action.payload,
1288
1714
  error: undefined
1289
1715
  };
1290
- return __assign({}, state, { convertedDocument: convertedDocument });
1716
+ return __assign(__assign({}, state), { convertedDocument: convertedDocument });
1291
1717
  }
1292
1718
  case CONVERT_FAIL: {
1293
1719
  /** @type {?} */
@@ -1295,35 +1721,35 @@ function docReducer(state, action) {
1295
1721
  url: undefined,
1296
1722
  error: action.payload
1297
1723
  };
1298
- return __assign({}, state, { convertedDocument: convertedDocument });
1724
+ return __assign(__assign({}, state), { convertedDocument: convertedDocument });
1299
1725
  }
1300
1726
  case CLEAR_CONVERT_DOC_URL: {
1301
1727
  /** @type {?} */
1302
1728
  var convertedDocument = undefined;
1303
- return __assign({}, state, { convertedDocument: convertedDocument });
1729
+ return __assign(__assign({}, state), { convertedDocument: convertedDocument });
1304
1730
  }
1305
1731
  case LOAD_ROTATION: {
1306
- return __assign({}, state, { rotationLoaded: false });
1732
+ return __assign(__assign({}, state), { rotationLoaded: false });
1307
1733
  }
1308
1734
  case LOAD_ROTATION_SUCCESS: {
1309
1735
  /** @type {?} */
1310
1736
  var metadata = action.payload;
1311
1737
  /** @type {?} */
1312
1738
  var rotation = metadata ? metadata.rotationAngle : 0;
1313
- return __assign({}, state, { rotation: rotation, rotationLoaded: true });
1739
+ return __assign(__assign({}, state), { rotation: rotation, rotationLoaded: true });
1314
1740
  }
1315
1741
  case LOAD_ROTATION_FAIL: {
1316
- return __assign({}, state, { rotation: 0, rotationLoaded: true });
1742
+ return __assign(__assign({}, state), { rotation: 0, rotationLoaded: true });
1317
1743
  }
1318
1744
  case SAVE_ROTATION_SUCCESS: {
1319
1745
  /** @type {?} */
1320
1746
  var metadata = action.payload;
1321
1747
  /** @type {?} */
1322
1748
  var rotation = metadata.rotationAngle;
1323
- return __assign({}, state, { rotation: rotation });
1749
+ return __assign(__assign({}, state), { rotation: rotation });
1324
1750
  }
1325
1751
  case SET_DOCUMENT_ID: {
1326
- return __assign({}, state, { documentId: action.payload });
1752
+ return __assign(__assign({}, state), { documentId: action.payload });
1327
1753
  }
1328
1754
  case ADD_PAGES: {
1329
1755
  /** @type {?} */
@@ -1367,15 +1793,15 @@ function docReducer(state, action) {
1367
1793
  scaleRotation: scaleRotation,
1368
1794
  viewportScale: page.viewportScale
1369
1795
  };
1370
- pages_1 = __assign({}, pages_1, (_a = {}, _a[page.id] = p, _a));
1796
+ pages_1 = __assign(__assign({}, pages_1), (_a = {}, _a[page.id] = p, _a));
1371
1797
  }));
1372
- return __assign({}, state, { pages: pages_1,
1798
+ return __assign(__assign({}, state), { pages: pages_1,
1373
1799
  hasDifferentPageSize: hasDifferentPageSize_1 });
1374
1800
  }
1375
1801
  case POSITION_UPDATED: {
1376
1802
  /** @type {?} */
1377
1803
  var pdfPosition = action.payload;
1378
- return __assign({}, state, { pdfPosition: pdfPosition });
1804
+ return __assign(__assign({}, state), { pdfPosition: pdfPosition });
1379
1805
  }
1380
1806
  }
1381
1807
  return state;
@@ -1462,6 +1888,12 @@ var LoadAnnotationSet = /** @class */ (function () {
1462
1888
  }
1463
1889
  return LoadAnnotationSet;
1464
1890
  }());
1891
+ if (false) {
1892
+ /** @type {?} */
1893
+ LoadAnnotationSet.prototype.type;
1894
+ /** @type {?} */
1895
+ LoadAnnotationSet.prototype.payload;
1896
+ }
1465
1897
  var LoadAnnotationSetSucess = /** @class */ (function () {
1466
1898
  function LoadAnnotationSetSucess(payload) {
1467
1899
  this.payload = payload;
@@ -1469,6 +1901,12 @@ var LoadAnnotationSetSucess = /** @class */ (function () {
1469
1901
  }
1470
1902
  return LoadAnnotationSetSucess;
1471
1903
  }());
1904
+ if (false) {
1905
+ /** @type {?} */
1906
+ LoadAnnotationSetSucess.prototype.type;
1907
+ /** @type {?} */
1908
+ LoadAnnotationSetSucess.prototype.payload;
1909
+ }
1472
1910
  var LoadAnnotationSetFail = /** @class */ (function () {
1473
1911
  function LoadAnnotationSetFail(payload) {
1474
1912
  this.payload = payload;
@@ -1476,6 +1914,12 @@ var LoadAnnotationSetFail = /** @class */ (function () {
1476
1914
  }
1477
1915
  return LoadAnnotationSetFail;
1478
1916
  }());
1917
+ if (false) {
1918
+ /** @type {?} */
1919
+ LoadAnnotationSetFail.prototype.type;
1920
+ /** @type {?} */
1921
+ LoadAnnotationSetFail.prototype.payload;
1922
+ }
1479
1923
  var SaveAnnotation = /** @class */ (function () {
1480
1924
  function SaveAnnotation(payload) {
1481
1925
  this.payload = payload;
@@ -1483,6 +1927,12 @@ var SaveAnnotation = /** @class */ (function () {
1483
1927
  }
1484
1928
  return SaveAnnotation;
1485
1929
  }());
1930
+ if (false) {
1931
+ /** @type {?} */
1932
+ SaveAnnotation.prototype.type;
1933
+ /** @type {?} */
1934
+ SaveAnnotation.prototype.payload;
1935
+ }
1486
1936
  var SaveAnnotationSuccess = /** @class */ (function () {
1487
1937
  function SaveAnnotationSuccess(payload) {
1488
1938
  this.payload = payload;
@@ -1490,6 +1940,12 @@ var SaveAnnotationSuccess = /** @class */ (function () {
1490
1940
  }
1491
1941
  return SaveAnnotationSuccess;
1492
1942
  }());
1943
+ if (false) {
1944
+ /** @type {?} */
1945
+ SaveAnnotationSuccess.prototype.type;
1946
+ /** @type {?} */
1947
+ SaveAnnotationSuccess.prototype.payload;
1948
+ }
1493
1949
  var SaveAnnotationFail = /** @class */ (function () {
1494
1950
  function SaveAnnotationFail(payload) {
1495
1951
  this.payload = payload;
@@ -1497,6 +1953,12 @@ var SaveAnnotationFail = /** @class */ (function () {
1497
1953
  }
1498
1954
  return SaveAnnotationFail;
1499
1955
  }());
1956
+ if (false) {
1957
+ /** @type {?} */
1958
+ SaveAnnotationFail.prototype.type;
1959
+ /** @type {?} */
1960
+ SaveAnnotationFail.prototype.payload;
1961
+ }
1500
1962
  var AddOrEditComment = /** @class */ (function () {
1501
1963
  function AddOrEditComment(payload) {
1502
1964
  this.payload = payload;
@@ -1504,6 +1966,12 @@ var AddOrEditComment = /** @class */ (function () {
1504
1966
  }
1505
1967
  return AddOrEditComment;
1506
1968
  }());
1969
+ if (false) {
1970
+ /** @type {?} */
1971
+ AddOrEditComment.prototype.type;
1972
+ /** @type {?} */
1973
+ AddOrEditComment.prototype.payload;
1974
+ }
1507
1975
  var DeleteAnnotation = /** @class */ (function () {
1508
1976
  function DeleteAnnotation(payload) {
1509
1977
  this.payload = payload;
@@ -1511,6 +1979,12 @@ var DeleteAnnotation = /** @class */ (function () {
1511
1979
  }
1512
1980
  return DeleteAnnotation;
1513
1981
  }());
1982
+ if (false) {
1983
+ /** @type {?} */
1984
+ DeleteAnnotation.prototype.type;
1985
+ /** @type {?} */
1986
+ DeleteAnnotation.prototype.payload;
1987
+ }
1514
1988
  var DeleteAnnotationSuccess = /** @class */ (function () {
1515
1989
  function DeleteAnnotationSuccess(payload) {
1516
1990
  this.payload = payload;
@@ -1518,6 +1992,12 @@ var DeleteAnnotationSuccess = /** @class */ (function () {
1518
1992
  }
1519
1993
  return DeleteAnnotationSuccess;
1520
1994
  }());
1995
+ if (false) {
1996
+ /** @type {?} */
1997
+ DeleteAnnotationSuccess.prototype.type;
1998
+ /** @type {?} */
1999
+ DeleteAnnotationSuccess.prototype.payload;
2000
+ }
1521
2001
  var DeleteAnnotationFail = /** @class */ (function () {
1522
2002
  function DeleteAnnotationFail(payload) {
1523
2003
  this.payload = payload;
@@ -1525,6 +2005,12 @@ var DeleteAnnotationFail = /** @class */ (function () {
1525
2005
  }
1526
2006
  return DeleteAnnotationFail;
1527
2007
  }());
2008
+ if (false) {
2009
+ /** @type {?} */
2010
+ DeleteAnnotationFail.prototype.type;
2011
+ /** @type {?} */
2012
+ DeleteAnnotationFail.prototype.payload;
2013
+ }
1528
2014
  var SelectedAnnotation = /** @class */ (function () {
1529
2015
  function SelectedAnnotation(payload) {
1530
2016
  this.payload = payload;
@@ -1532,6 +2018,12 @@ var SelectedAnnotation = /** @class */ (function () {
1532
2018
  }
1533
2019
  return SelectedAnnotation;
1534
2020
  }());
2021
+ if (false) {
2022
+ /** @type {?} */
2023
+ SelectedAnnotation.prototype.type;
2024
+ /** @type {?} */
2025
+ SelectedAnnotation.prototype.payload;
2026
+ }
1535
2027
  var SearchComment = /** @class */ (function () {
1536
2028
  function SearchComment(payload) {
1537
2029
  this.payload = payload;
@@ -1539,6 +2031,12 @@ var SearchComment = /** @class */ (function () {
1539
2031
  }
1540
2032
  return SearchComment;
1541
2033
  }());
2034
+ if (false) {
2035
+ /** @type {?} */
2036
+ SearchComment.prototype.type;
2037
+ /** @type {?} */
2038
+ SearchComment.prototype.payload;
2039
+ }
1542
2040
  var ApplyCommentSymmaryFilter = /** @class */ (function () {
1543
2041
  function ApplyCommentSymmaryFilter(payload) {
1544
2042
  this.payload = payload;
@@ -1546,12 +2044,22 @@ var ApplyCommentSymmaryFilter = /** @class */ (function () {
1546
2044
  }
1547
2045
  return ApplyCommentSymmaryFilter;
1548
2046
  }());
2047
+ if (false) {
2048
+ /** @type {?} */
2049
+ ApplyCommentSymmaryFilter.prototype.type;
2050
+ /** @type {?} */
2051
+ ApplyCommentSymmaryFilter.prototype.payload;
2052
+ }
1549
2053
  var ClearCommentSummaryFilters = /** @class */ (function () {
1550
2054
  function ClearCommentSummaryFilters() {
1551
2055
  this.type = CLEAR_COMMENT_SUMMARY_FILTER;
1552
2056
  }
1553
2057
  return ClearCommentSummaryFilters;
1554
2058
  }());
2059
+ if (false) {
2060
+ /** @type {?} */
2061
+ ClearCommentSummaryFilters.prototype.type;
2062
+ }
1555
2063
 
1556
2064
  /**
1557
2065
  * @fileoverview added by tsickle
@@ -1609,8 +2117,8 @@ StoreUtils = /** @class */ (function () {
1609
2117
  var _a;
1610
2118
  if (annotation.comments.length) {
1611
2119
  /** @type {?} */
1612
- var comment = __assign({}, annotation.comments[0] || '', { tags: __spread(annotation.tags || []) });
1613
- return __assign({}, commentEntities, (_a = {}, _a[annotation.id] = comment, _a));
2120
+ var comment = __assign(__assign({}, annotation.comments[0] || ''), { tags: __spread(annotation.tags || []) });
2121
+ return __assign(__assign({}, commentEntities), (_a = {}, _a[annotation.id] = comment, _a));
1614
2122
  }
1615
2123
  return __assign({}, commentEntities);
1616
2124
  }), {});
@@ -1644,7 +2152,7 @@ StoreUtils = /** @class */ (function () {
1644
2152
  * @return {?}
1645
2153
  */
1646
2154
  function (tagEntitiy, tagItem) {
1647
- return __assign({}, tagEntitiy, tagItem);
2155
+ return __assign(__assign({}, tagEntitiy), tagItem);
1648
2156
  }), {});
1649
2157
  return this.genNameEnt(annotations, groupedByName);
1650
2158
  };
@@ -1688,9 +2196,9 @@ StoreUtils = /** @class */ (function () {
1688
2196
  */
1689
2197
  function (obj, anno) {
1690
2198
  var _a;
1691
- return (__assign({}, obj, (_a = {}, _a[anno] = anno, _a)));
2199
+ return (__assign(__assign({}, obj), (_a = {}, _a[anno] = anno, _a)));
1692
2200
  }), {});
1693
- return __assign({}, tagNameEnt, (_a = {}, _a[key] = readyAnno, _a));
2201
+ return __assign(__assign({}, tagNameEnt), (_a = {}, _a[key] = readyAnno, _a));
1694
2202
  }), {});
1695
2203
  };
1696
2204
  /**
@@ -1710,9 +2218,9 @@ StoreUtils = /** @class */ (function () {
1710
2218
  function (annoEntities, annotation) {
1711
2219
  var _a;
1712
2220
  /** @type {?} */
1713
- var annot = __assign({}, annotation, { positionTop: annotation.rectangles[0].y // todo remove this
2221
+ var annot = __assign(__assign({}, annotation), { positionTop: annotation.rectangles[0].y // todo remove this
1714
2222
  });
1715
- return __assign({}, annoEntities, (_a = {}, _a[annotation.id] = annot, _a));
2223
+ return __assign(__assign({}, annoEntities), (_a = {}, _a[annotation.id] = annot, _a));
1716
2224
  }), {});
1717
2225
  };
1718
2226
  /**
@@ -1731,7 +2239,7 @@ StoreUtils = /** @class */ (function () {
1731
2239
  */
1732
2240
  function (redactEntities, redaction) {
1733
2241
  var _a;
1734
- return __assign({}, redactEntities, (_a = {}, _a[redaction.redactionId] = redaction, _a));
2242
+ return __assign(__assign({}, redactEntities), (_a = {}, _a[redaction.redactionId] = redaction, _a));
1735
2243
  }), {});
1736
2244
  };
1737
2245
  /**
@@ -1749,7 +2257,7 @@ StoreUtils = /** @class */ (function () {
1749
2257
  * @return {?}
1750
2258
  */
1751
2259
  function (object, key) {
1752
- object[key] = __assign({}, ent[key], { editable: false, selected: false });
2260
+ object[key] = __assign(__assign({}, ent[key]), { editable: false, selected: false });
1753
2261
  return object;
1754
2262
  }), {});
1755
2263
  };
@@ -1790,16 +2298,16 @@ StoreUtils = /** @class */ (function () {
1790
2298
  * @param {?} filter
1791
2299
  * @return {?}
1792
2300
  */
1793
- function (filter$$1) {
2301
+ function (filter) {
1794
2302
  /** @type {?} */
1795
- var label = filters.tagFilters[filter$$1];
2303
+ var label = filters.tagFilters[filter];
1796
2304
  if (label) {
1797
2305
  return comment.tags.forEach((/**
1798
2306
  * @param {?} tag
1799
2307
  * @return {?}
1800
2308
  */
1801
2309
  function (tag) {
1802
- if (tag.name === filter$$1 && !hasTagFilter) {
2310
+ if (tag.name === filter && !hasTagFilter) {
1803
2311
  hasTagFilter = true;
1804
2312
  }
1805
2313
  }));
@@ -1845,6 +2353,30 @@ StoreUtils = /** @class */ (function () {
1845
2353
  * @fileoverview added by tsickle
1846
2354
  * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
1847
2355
  */
2356
+ /**
2357
+ * @record
2358
+ */
2359
+ function AnnotationSetState() { }
2360
+ if (false) {
2361
+ /** @type {?} */
2362
+ AnnotationSetState.prototype.annotationSet;
2363
+ /** @type {?} */
2364
+ AnnotationSetState.prototype.annotationEntities;
2365
+ /** @type {?} */
2366
+ AnnotationSetState.prototype.annotationPageEntities;
2367
+ /** @type {?} */
2368
+ AnnotationSetState.prototype.commentEntities;
2369
+ /** @type {?} */
2370
+ AnnotationSetState.prototype.selectedAnnotation;
2371
+ /** @type {?} */
2372
+ AnnotationSetState.prototype.commentSearchQueries;
2373
+ /** @type {?} */
2374
+ AnnotationSetState.prototype.commentSummaryFilters;
2375
+ /** @type {?} */
2376
+ AnnotationSetState.prototype.loaded;
2377
+ /** @type {?} */
2378
+ AnnotationSetState.prototype.loading;
2379
+ }
1848
2380
  /** @type {?} */
1849
2381
  var initialState = {
1850
2382
  annotationSet: {},
@@ -1868,20 +2400,20 @@ function reducer(state, action) {
1868
2400
  switch (action.type) {
1869
2401
  case LOAD_ANNOTATION_SET: {
1870
2402
  /** @type {?} */
1871
- var annotationSet = __assign({}, state.annotationSet, { documentId: action.payload });
1872
- return __assign({}, initialState, { annotationSet: annotationSet, loading: true });
2403
+ var annotationSet = __assign(__assign({}, state.annotationSet), { documentId: action.payload });
2404
+ return __assign(__assign({}, initialState), { annotationSet: annotationSet, loading: true });
1873
2405
  }
1874
2406
  case LOAD_ANNOTATION_SET_SUCCESS:
1875
2407
  case LOAD_ANNOTATION_SET_FAIL: {
1876
2408
  /** @type {?} */
1877
- var annotationSet = action.payload.status === 200 ? action.payload.body : __assign({}, state.annotationSet, { annotations: [], id: uuid() });
2409
+ var annotationSet = action.payload.status === 200 ? action.payload.body : __assign(__assign({}, state.annotationSet), { annotations: [], id: uuid() });
1878
2410
  /** @type {?} */
1879
2411
  var annotationEntities = StoreUtils.generateAnnotationEntities(annotationSet.annotations);
1880
2412
  /** @type {?} */
1881
2413
  var annotationPageEntities = StoreUtils.groupByKeyEntities(annotationSet.annotations, 'page');
1882
2414
  /** @type {?} */
1883
2415
  var commentEntities = StoreUtils.generateCommentsEntities(annotationSet.annotations);
1884
- return __assign({}, state, { annotationSet: annotationSet,
2416
+ return __assign(__assign({}, state), { annotationSet: annotationSet,
1885
2417
  annotationEntities: annotationEntities,
1886
2418
  annotationPageEntities: annotationPageEntities,
1887
2419
  commentEntities: commentEntities, loading: false, loaded: true });
@@ -1890,7 +2422,7 @@ function reducer(state, action) {
1890
2422
  /** @type {?} */
1891
2423
  var anno = action.payload;
1892
2424
  /** @type {?} */
1893
- var annEntities_1 = __assign({}, state.annotationEntities, (_a = {}, _a[anno.id] = anno, _a));
2425
+ var annEntities_1 = __assign(__assign({}, state.annotationEntities), (_a = {}, _a[anno.id] = anno, _a));
1894
2426
  /** @type {?} */
1895
2427
  var annotArray = Object.keys(annEntities_1).map((/**
1896
2428
  * @param {?} key
@@ -1904,8 +2436,8 @@ function reducer(state, action) {
1904
2436
  /** @type {?} */
1905
2437
  var commentEntities = StoreUtils.generateCommentsEntities(annotArray);
1906
2438
  /** @type {?} */
1907
- var selectedAnnotation = __assign({}, state.selectedAnnotation, { annotationId: anno.id, editable: false });
1908
- return __assign({}, state, { annotationEntities: annotationEntities,
2439
+ var selectedAnnotation = __assign(__assign({}, state.selectedAnnotation), { annotationId: anno.id, editable: false });
2440
+ return __assign(__assign({}, state), { annotationEntities: annotationEntities,
1909
2441
  annotationPageEntities: annotationPageEntities,
1910
2442
  commentEntities: commentEntities,
1911
2443
  selectedAnnotation: selectedAnnotation, loading: false, loaded: true });
@@ -1925,13 +2457,13 @@ function reducer(state, action) {
1925
2457
  */
1926
2458
  function (anno) { return anno.id !== id_1; })));
1927
2459
  /** @type {?} */
1928
- var annotationPageEntities = __assign({}, state.annotationPageEntities, (_b = {}, _b[page] = pageAnnotationsRemoved, _b));
2460
+ var annotationPageEntities = __assign(__assign({}, state.annotationPageEntities), (_b = {}, _b[page] = pageAnnotationsRemoved, _b));
1929
2461
  /** @type {?} */
1930
2462
  var commentEntities = __assign({}, state.commentEntities);
1931
2463
  if (state.commentEntities[id_1]) {
1932
2464
  delete commentEntities[id_1];
1933
2465
  }
1934
- return __assign({}, state, { annotationEntities: annotationEntities,
2466
+ return __assign(__assign({}, state), { annotationEntities: annotationEntities,
1935
2467
  annotationPageEntities: annotationPageEntities,
1936
2468
  commentEntities: commentEntities });
1937
2469
  }
@@ -1941,26 +2473,26 @@ function reducer(state, action) {
1941
2473
  _c[action.payload.annotationId] = action.payload,
1942
2474
  _c);
1943
2475
  /** @type {?} */
1944
- var comments = __assign({}, state.commentEntities, comment);
1945
- return __assign({}, state, { commentEntities: comments });
2476
+ var comments = __assign(__assign({}, state.commentEntities), comment);
2477
+ return __assign(__assign({}, state), { commentEntities: comments });
1946
2478
  }
1947
2479
  case SELECT_ANNOTATION: {
1948
2480
  /** @type {?} */
1949
2481
  var payload = action.payload;
1950
2482
  /** @type {?} */
1951
- var commentEntity = __assign({}, state.commentEntities[payload.annotationId], { editable: payload.editable, selected: payload.selected });
2483
+ var commentEntity = __assign(__assign({}, state.commentEntities[payload.annotationId]), { editable: payload.editable, selected: payload.selected });
1952
2484
  /** @type {?} */
1953
2485
  var resetCommentEntSelect = StoreUtils.resetCommentEntSelect(__assign({}, state.commentEntities));
1954
2486
  /** @type {?} */
1955
- var commentEntities = payload.annotationId && state.commentEntities[payload.annotationId] ? __assign({}, resetCommentEntSelect, (_d = {}, _d[payload.annotationId] = commentEntity, _d)) : __assign({}, resetCommentEntSelect);
1956
- return __assign({}, state, { commentEntities: commentEntities, selectedAnnotation: action.payload });
2487
+ var commentEntities = payload.annotationId && state.commentEntities[payload.annotationId] ? __assign(__assign({}, resetCommentEntSelect), (_d = {}, _d[payload.annotationId] = commentEntity, _d)) : __assign({}, resetCommentEntSelect);
2488
+ return __assign(__assign({}, state), { commentEntities: commentEntities, selectedAnnotation: action.payload });
1957
2489
  }
1958
2490
  case SEARCH_COMMENT: {
1959
2491
  /** @type {?} */
1960
- var commentSearchQueries = __assign({}, state.commentSearchQueries, { commentSearch: action.payload });
2492
+ var commentSearchQueries = __assign(__assign({}, state.commentSearchQueries), { commentSearch: action.payload });
1961
2493
  /** @type {?} */
1962
2494
  var commentEntities = StoreUtils.resetCommentEntSelect(__assign({}, state.commentEntities));
1963
- return __assign({}, state, { commentEntities: commentEntities,
2495
+ return __assign(__assign({}, state), { commentEntities: commentEntities,
1964
2496
  commentSearchQueries: commentSearchQueries });
1965
2497
  }
1966
2498
  case APPLY_COMMENT_SUMMARY_FILTER: {
@@ -1978,8 +2510,8 @@ function reducer(state, action) {
1978
2510
  * @param {?} filter
1979
2511
  * @return {?}
1980
2512
  */
1981
- function (filter$$1) {
1982
- if (payload_1.tagFilters[filter$$1] && !isFiltered) {
2513
+ function (filter) {
2514
+ if (payload_1.tagFilters[filter] && !isFiltered) {
1983
2515
  isFiltered = true;
1984
2516
  }
1985
2517
  }));
@@ -1993,10 +2525,10 @@ function reducer(state, action) {
1993
2525
  hasFilter: hasFilter,
1994
2526
  filters: payload_1
1995
2527
  };
1996
- return __assign({}, state, { commentSummaryFilters: commentSummaryFilters });
2528
+ return __assign(__assign({}, state), { commentSummaryFilters: commentSummaryFilters });
1997
2529
  }
1998
2530
  case CLEAR_COMMENT_SUMMARY_FILTER: {
1999
- return __assign({}, state, { commentSummaryFilters: __assign({}, initialState.commentSummaryFilters) });
2531
+ return __assign(__assign({}, state), { commentSummaryFilters: __assign({}, initialState.commentSummaryFilters) });
2000
2532
  }
2001
2533
  }
2002
2534
  return state;
@@ -2048,6 +2580,24 @@ function (state) { return state.commentSummaryFilters; });
2048
2580
  * @fileoverview added by tsickle
2049
2581
  * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
2050
2582
  */
2583
+ /**
2584
+ * @record
2585
+ */
2586
+ function TagsState() { }
2587
+ if (false) {
2588
+ /** @type {?} */
2589
+ TagsState.prototype.tagNameEnt;
2590
+ /** @type {?} */
2591
+ TagsState.prototype.filteredComments;
2592
+ /** @type {?} */
2593
+ TagsState.prototype.filteredPageEntities;
2594
+ /** @type {?} */
2595
+ TagsState.prototype.annotations;
2596
+ /** @type {?} */
2597
+ TagsState.prototype.formFilterState;
2598
+ /** @type {?} */
2599
+ TagsState.prototype.filters;
2600
+ }
2051
2601
  /** @type {?} */
2052
2602
  var initialTagState = {
2053
2603
  tagNameEnt: {},
@@ -2066,14 +2616,14 @@ function tagsReducer(state, action) {
2066
2616
  if (state === void 0) { state = initialTagState; }
2067
2617
  switch (action.type) {
2068
2618
  case LOAD_ANNOTATION_SET: {
2069
- return __assign({}, state, initialTagState);
2619
+ return __assign(__assign({}, state), initialTagState);
2070
2620
  }
2071
2621
  case LOAD_ANNOTATION_SET_SUCCESS: {
2072
2622
  /** @type {?} */
2073
2623
  var annotations = action.payload.body.annotations;
2074
2624
  /** @type {?} */
2075
2625
  var tagNameEnt = StoreUtils.genTagNameEntities(annotations);
2076
- return __assign({}, state, { tagNameEnt: tagNameEnt,
2626
+ return __assign(__assign({}, state), { tagNameEnt: tagNameEnt,
2077
2627
  annotations: annotations });
2078
2628
  }
2079
2629
  case SAVE_ANNOTATION_SUCCESS: {
@@ -2089,7 +2639,7 @@ function tagsReducer(state, action) {
2089
2639
  var annotations = __spread(anno, [payload_1]);
2090
2640
  /** @type {?} */
2091
2641
  var tagNameEnt = StoreUtils.genTagNameEntities(annotations);
2092
- return __assign({}, state, { annotations: annotations,
2642
+ return __assign(__assign({}, state), { annotations: annotations,
2093
2643
  tagNameEnt: tagNameEnt });
2094
2644
  }
2095
2645
  case DELETE_ANNOTATION_SUCCESS: {
@@ -2108,7 +2658,7 @@ function tagsReducer(state, action) {
2108
2658
  /** @type {?} */
2109
2659
  var filteredComments = __assign({}, state.filteredComments);
2110
2660
  delete filteredComments[id_1];
2111
- return __assign({}, state, { annotations: annotations,
2661
+ return __assign(__assign({}, state), { annotations: annotations,
2112
2662
  tagNameEnt: tagNameEnt,
2113
2663
  filteredComments: filteredComments,
2114
2664
  filteredPageEntities: filteredPageEntities, filters: [] });
@@ -2132,7 +2682,7 @@ function tagsReducer(state, action) {
2132
2682
  * @return {?}
2133
2683
  */
2134
2684
  function (obj, f) {
2135
- return __assign({}, obj, state.tagNameEnt[f]);
2685
+ return __assign(__assign({}, obj), state.tagNameEnt[f]);
2136
2686
  }), {});
2137
2687
  /** @type {?} */
2138
2688
  var annotations = Object.keys(filteredComments).map((/**
@@ -2146,12 +2696,12 @@ function tagsReducer(state, action) {
2146
2696
  function (a) { return a.id === key; }))[0]; }));
2147
2697
  /** @type {?} */
2148
2698
  var filteredPageEntities = StoreUtils.groupByKeyEntities(annotations, 'page');
2149
- return __assign({}, state, { filters: filters,
2699
+ return __assign(__assign({}, state), { filters: filters,
2150
2700
  filteredComments: filteredComments,
2151
2701
  filteredPageEntities: filteredPageEntities });
2152
2702
  }
2153
2703
  case CLEAR_FILTER_TAGS: {
2154
- return __assign({}, state, { filters: [], filteredComments: {}, filteredPageEntities: {} });
2704
+ return __assign(__assign({}, state), { filters: [], filteredComments: {}, filteredPageEntities: {} });
2155
2705
  }
2156
2706
  }
2157
2707
  return state;
@@ -2221,6 +2771,10 @@ var LoadBookmarks = /** @class */ (function () {
2221
2771
  }
2222
2772
  return LoadBookmarks;
2223
2773
  }());
2774
+ if (false) {
2775
+ /** @type {?} */
2776
+ LoadBookmarks.prototype.type;
2777
+ }
2224
2778
  var LoadBookmarksSuccess = /** @class */ (function () {
2225
2779
  function LoadBookmarksSuccess(payload) {
2226
2780
  this.payload = payload;
@@ -2228,6 +2782,12 @@ var LoadBookmarksSuccess = /** @class */ (function () {
2228
2782
  }
2229
2783
  return LoadBookmarksSuccess;
2230
2784
  }());
2785
+ if (false) {
2786
+ /** @type {?} */
2787
+ LoadBookmarksSuccess.prototype.type;
2788
+ /** @type {?} */
2789
+ LoadBookmarksSuccess.prototype.payload;
2790
+ }
2231
2791
  var LoadBookmarksFailure = /** @class */ (function () {
2232
2792
  function LoadBookmarksFailure(payload) {
2233
2793
  this.payload = payload;
@@ -2235,6 +2795,12 @@ var LoadBookmarksFailure = /** @class */ (function () {
2235
2795
  }
2236
2796
  return LoadBookmarksFailure;
2237
2797
  }());
2798
+ if (false) {
2799
+ /** @type {?} */
2800
+ LoadBookmarksFailure.prototype.type;
2801
+ /** @type {?} */
2802
+ LoadBookmarksFailure.prototype.payload;
2803
+ }
2238
2804
  var CreateBookmark = /** @class */ (function () {
2239
2805
  function CreateBookmark(payload) {
2240
2806
  this.payload = payload;
@@ -2242,6 +2808,12 @@ var CreateBookmark = /** @class */ (function () {
2242
2808
  }
2243
2809
  return CreateBookmark;
2244
2810
  }());
2811
+ if (false) {
2812
+ /** @type {?} */
2813
+ CreateBookmark.prototype.type;
2814
+ /** @type {?} */
2815
+ CreateBookmark.prototype.payload;
2816
+ }
2245
2817
  var CreateBookmarkSuccess = /** @class */ (function () {
2246
2818
  function CreateBookmarkSuccess(payload) {
2247
2819
  this.payload = payload;
@@ -2249,6 +2821,12 @@ var CreateBookmarkSuccess = /** @class */ (function () {
2249
2821
  }
2250
2822
  return CreateBookmarkSuccess;
2251
2823
  }());
2824
+ if (false) {
2825
+ /** @type {?} */
2826
+ CreateBookmarkSuccess.prototype.type;
2827
+ /** @type {?} */
2828
+ CreateBookmarkSuccess.prototype.payload;
2829
+ }
2252
2830
  var CreateBookmarkFailure = /** @class */ (function () {
2253
2831
  function CreateBookmarkFailure(payload) {
2254
2832
  this.payload = payload;
@@ -2256,6 +2834,12 @@ var CreateBookmarkFailure = /** @class */ (function () {
2256
2834
  }
2257
2835
  return CreateBookmarkFailure;
2258
2836
  }());
2837
+ if (false) {
2838
+ /** @type {?} */
2839
+ CreateBookmarkFailure.prototype.type;
2840
+ /** @type {?} */
2841
+ CreateBookmarkFailure.prototype.payload;
2842
+ }
2259
2843
  var DeleteBookmark = /** @class */ (function () {
2260
2844
  function DeleteBookmark(payload) {
2261
2845
  this.payload = payload;
@@ -2263,6 +2847,12 @@ var DeleteBookmark = /** @class */ (function () {
2263
2847
  }
2264
2848
  return DeleteBookmark;
2265
2849
  }());
2850
+ if (false) {
2851
+ /** @type {?} */
2852
+ DeleteBookmark.prototype.type;
2853
+ /** @type {?} */
2854
+ DeleteBookmark.prototype.payload;
2855
+ }
2266
2856
  var DeleteBookmarkSuccess = /** @class */ (function () {
2267
2857
  function DeleteBookmarkSuccess(payload) {
2268
2858
  this.payload = payload;
@@ -2270,6 +2860,12 @@ var DeleteBookmarkSuccess = /** @class */ (function () {
2270
2860
  }
2271
2861
  return DeleteBookmarkSuccess;
2272
2862
  }());
2863
+ if (false) {
2864
+ /** @type {?} */
2865
+ DeleteBookmarkSuccess.prototype.type;
2866
+ /** @type {?} */
2867
+ DeleteBookmarkSuccess.prototype.payload;
2868
+ }
2273
2869
  var DeleteBookmarkFailure = /** @class */ (function () {
2274
2870
  function DeleteBookmarkFailure(payload) {
2275
2871
  this.payload = payload;
@@ -2277,6 +2873,12 @@ var DeleteBookmarkFailure = /** @class */ (function () {
2277
2873
  }
2278
2874
  return DeleteBookmarkFailure;
2279
2875
  }());
2876
+ if (false) {
2877
+ /** @type {?} */
2878
+ DeleteBookmarkFailure.prototype.type;
2879
+ /** @type {?} */
2880
+ DeleteBookmarkFailure.prototype.payload;
2881
+ }
2280
2882
  var MoveBookmark = /** @class */ (function () {
2281
2883
  function MoveBookmark(payload) {
2282
2884
  this.payload = payload;
@@ -2284,6 +2886,12 @@ var MoveBookmark = /** @class */ (function () {
2284
2886
  }
2285
2887
  return MoveBookmark;
2286
2888
  }());
2889
+ if (false) {
2890
+ /** @type {?} */
2891
+ MoveBookmark.prototype.type;
2892
+ /** @type {?} */
2893
+ MoveBookmark.prototype.payload;
2894
+ }
2287
2895
  var MoveBookmarkSuccess = /** @class */ (function () {
2288
2896
  function MoveBookmarkSuccess(payload) {
2289
2897
  this.payload = payload;
@@ -2291,6 +2899,12 @@ var MoveBookmarkSuccess = /** @class */ (function () {
2291
2899
  }
2292
2900
  return MoveBookmarkSuccess;
2293
2901
  }());
2902
+ if (false) {
2903
+ /** @type {?} */
2904
+ MoveBookmarkSuccess.prototype.type;
2905
+ /** @type {?} */
2906
+ MoveBookmarkSuccess.prototype.payload;
2907
+ }
2294
2908
  var MoveBookmarkFailure = /** @class */ (function () {
2295
2909
  function MoveBookmarkFailure(payload) {
2296
2910
  this.payload = payload;
@@ -2298,6 +2912,12 @@ var MoveBookmarkFailure = /** @class */ (function () {
2298
2912
  }
2299
2913
  return MoveBookmarkFailure;
2300
2914
  }());
2915
+ if (false) {
2916
+ /** @type {?} */
2917
+ MoveBookmarkFailure.prototype.type;
2918
+ /** @type {?} */
2919
+ MoveBookmarkFailure.prototype.payload;
2920
+ }
2301
2921
  var UpdateBookmark = /** @class */ (function () {
2302
2922
  function UpdateBookmark(payload) {
2303
2923
  this.payload = payload;
@@ -2305,6 +2925,12 @@ var UpdateBookmark = /** @class */ (function () {
2305
2925
  }
2306
2926
  return UpdateBookmark;
2307
2927
  }());
2928
+ if (false) {
2929
+ /** @type {?} */
2930
+ UpdateBookmark.prototype.type;
2931
+ /** @type {?} */
2932
+ UpdateBookmark.prototype.payload;
2933
+ }
2308
2934
  var UpdateBookmarkSuccess = /** @class */ (function () {
2309
2935
  function UpdateBookmarkSuccess(payload) {
2310
2936
  this.payload = payload;
@@ -2312,6 +2938,12 @@ var UpdateBookmarkSuccess = /** @class */ (function () {
2312
2938
  }
2313
2939
  return UpdateBookmarkSuccess;
2314
2940
  }());
2941
+ if (false) {
2942
+ /** @type {?} */
2943
+ UpdateBookmarkSuccess.prototype.type;
2944
+ /** @type {?} */
2945
+ UpdateBookmarkSuccess.prototype.payload;
2946
+ }
2315
2947
  var UpdateBookmarkFailure = /** @class */ (function () {
2316
2948
  function UpdateBookmarkFailure(payload) {
2317
2949
  this.payload = payload;
@@ -2319,6 +2951,12 @@ var UpdateBookmarkFailure = /** @class */ (function () {
2319
2951
  }
2320
2952
  return UpdateBookmarkFailure;
2321
2953
  }());
2954
+ if (false) {
2955
+ /** @type {?} */
2956
+ UpdateBookmarkFailure.prototype.type;
2957
+ /** @type {?} */
2958
+ UpdateBookmarkFailure.prototype.payload;
2959
+ }
2322
2960
 
2323
2961
  /**
2324
2962
  * @fileoverview added by tsickle
@@ -2395,6 +3033,7 @@ function (entities) {
2395
3033
  _loop_1(index);
2396
3034
  }
2397
3035
  });
3036
+ var ɵ0 = indexEntities;
2398
3037
  /** @type {?} */
2399
3038
  var generateBookmarkNodes = (/**
2400
3039
  * @param {?} entities
@@ -2431,6 +3070,24 @@ function (entities) {
2431
3070
  * @fileoverview added by tsickle
2432
3071
  * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
2433
3072
  */
3073
+ /**
3074
+ * @record
3075
+ */
3076
+ function BookmarksState() { }
3077
+ if (false) {
3078
+ /** @type {?} */
3079
+ BookmarksState.prototype.bookmarks;
3080
+ /** @type {?} */
3081
+ BookmarksState.prototype.bookmarkEntities;
3082
+ /** @type {?} */
3083
+ BookmarksState.prototype.bookmarkPageEntities;
3084
+ /** @type {?} */
3085
+ BookmarksState.prototype.editableBookmark;
3086
+ /** @type {?} */
3087
+ BookmarksState.prototype.loaded;
3088
+ /** @type {?} */
3089
+ BookmarksState.prototype.loading;
3090
+ }
2434
3091
  /** @type {?} */
2435
3092
  var initialBookmarksState = {
2436
3093
  bookmarks: [],
@@ -2450,7 +3107,7 @@ function bookmarksReducer(state, action) {
2450
3107
  if (state === void 0) { state = initialBookmarksState; }
2451
3108
  switch (action.type) {
2452
3109
  case LOAD_BOOKMARKS: {
2453
- return __assign({}, state, { loading: true });
3110
+ return __assign(__assign({}, state), { loading: true });
2454
3111
  }
2455
3112
  case LOAD_BOOKMARKS_SUCCESS:
2456
3113
  case LOAD_BOOKMARKS_FAIL: {
@@ -2460,7 +3117,7 @@ function bookmarksReducer(state, action) {
2460
3117
  var bookmarkEntities = generateBookmarkEntities(bookmarks);
2461
3118
  /** @type {?} */
2462
3119
  var bookmarkPageEntities = StoreUtils.groupByKeyEntities(bookmarks, 'pageNumber');
2463
- return __assign({}, state, { bookmarks: bookmarks,
3120
+ return __assign(__assign({}, state), { bookmarks: bookmarks,
2464
3121
  bookmarkEntities: bookmarkEntities,
2465
3122
  bookmarkPageEntities: bookmarkPageEntities, loaded: true });
2466
3123
  }
@@ -2468,7 +3125,7 @@ function bookmarksReducer(state, action) {
2468
3125
  /** @type {?} */
2469
3126
  var bookmark = action.payload;
2470
3127
  /** @type {?} */
2471
- var bookmarkEntities_1 = __assign({}, state.bookmarkEntities, (_a = {}, _a[bookmark.id] = bookmark, _a));
3128
+ var bookmarkEntities_1 = __assign(__assign({}, state.bookmarkEntities), (_a = {}, _a[bookmark.id] = bookmark, _a));
2472
3129
  /** @type {?} */
2473
3130
  var bookmarkArray = Object.keys(bookmarkEntities_1).map((/**
2474
3131
  * @param {?} key
@@ -2479,7 +3136,7 @@ function bookmarksReducer(state, action) {
2479
3136
  var bookmarkPageEntities = StoreUtils.groupByKeyEntities(bookmarkArray, 'pageNumber');
2480
3137
  /** @type {?} */
2481
3138
  var editableBookmark = bookmark.id;
2482
- return __assign({}, state, { bookmarkEntities: bookmarkEntities_1,
3139
+ return __assign(__assign({}, state), { bookmarkEntities: bookmarkEntities_1,
2483
3140
  editableBookmark: editableBookmark,
2484
3141
  bookmarkPageEntities: bookmarkPageEntities, loading: false, loaded: true });
2485
3142
  }
@@ -2487,8 +3144,8 @@ function bookmarksReducer(state, action) {
2487
3144
  /** @type {?} */
2488
3145
  var movedBookmarks = generateBookmarkEntities(action.payload);
2489
3146
  /** @type {?} */
2490
- var bookmarkEntities = __assign({}, state.bookmarkEntities, movedBookmarks);
2491
- return __assign({}, state, { bookmarkEntities: bookmarkEntities, loading: false, loaded: true });
3147
+ var bookmarkEntities = __assign(__assign({}, state.bookmarkEntities), movedBookmarks);
3148
+ return __assign(__assign({}, state), { bookmarkEntities: bookmarkEntities, loading: false, loaded: true });
2492
3149
  }
2493
3150
  case DELETE_BOOKMARK_SUCCESS: {
2494
3151
  /** @type {?} */
@@ -2525,14 +3182,14 @@ function bookmarksReducer(state, action) {
2525
3182
  */
2526
3183
  function (bookmarkId) { return bmrkIds.includes(bookmarkId); }));
2527
3184
  }));
2528
- return __assign({}, state, { bookmarkEntities: bookmarkEntities_2,
3185
+ return __assign(__assign({}, state), { bookmarkEntities: bookmarkEntities_2,
2529
3186
  bookmarkPageEntities: bookmarkPageEntities_1, loading: false, loaded: true });
2530
3187
  }
2531
3188
  case UPDATE_BOOKMARK_SUCCESS: {
2532
3189
  /** @type {?} */
2533
3190
  var bookmark = action.payload;
2534
3191
  /** @type {?} */
2535
- var bookmarkEntities_3 = __assign({}, state.bookmarkEntities, (_b = {}, _b[bookmark.id] = __assign({}, bookmark), _b));
3192
+ var bookmarkEntities_3 = __assign(__assign({}, state.bookmarkEntities), (_b = {}, _b[bookmark.id] = __assign({}, bookmark), _b));
2536
3193
  /** @type {?} */
2537
3194
  var bookmarkArray = Object.keys(bookmarkEntities_3).map((/**
2538
3195
  * @param {?} key
@@ -2543,7 +3200,7 @@ function bookmarksReducer(state, action) {
2543
3200
  var bookmarkPageEntities = StoreUtils.groupByKeyEntities(bookmarkArray, 'pageNumber');
2544
3201
  /** @type {?} */
2545
3202
  var editableBookmark = undefined;
2546
- return __assign({}, state, { bookmarkEntities: bookmarkEntities_3,
3203
+ return __assign(__assign({}, state), { bookmarkEntities: bookmarkEntities_3,
2547
3204
  editableBookmark: editableBookmark,
2548
3205
  bookmarkPageEntities: bookmarkPageEntities, loading: false, loaded: true });
2549
3206
  }
@@ -2551,6 +3208,12 @@ function bookmarksReducer(state, action) {
2551
3208
  return state;
2552
3209
  }
2553
3210
  /** @type {?} */
3211
+ var getBookmarks = (/**
3212
+ * @param {?} state
3213
+ * @return {?}
3214
+ */
3215
+ function (state) { return state.bookmarks; });
3216
+ /** @type {?} */
2554
3217
  var getBookmarkEnts = (/**
2555
3218
  * @param {?} state
2556
3219
  * @return {?}
@@ -2612,6 +3275,12 @@ var LoadRedactions = /** @class */ (function () {
2612
3275
  }
2613
3276
  return LoadRedactions;
2614
3277
  }());
3278
+ if (false) {
3279
+ /** @type {?} */
3280
+ LoadRedactions.prototype.type;
3281
+ /** @type {?} */
3282
+ LoadRedactions.prototype.payload;
3283
+ }
2615
3284
  var LoadRedactionSuccess = /** @class */ (function () {
2616
3285
  function LoadRedactionSuccess(payload) {
2617
3286
  this.payload = payload;
@@ -2619,6 +3288,12 @@ var LoadRedactionSuccess = /** @class */ (function () {
2619
3288
  }
2620
3289
  return LoadRedactionSuccess;
2621
3290
  }());
3291
+ if (false) {
3292
+ /** @type {?} */
3293
+ LoadRedactionSuccess.prototype.type;
3294
+ /** @type {?} */
3295
+ LoadRedactionSuccess.prototype.payload;
3296
+ }
2622
3297
  var LoadRedactionFailure = /** @class */ (function () {
2623
3298
  function LoadRedactionFailure(payload) {
2624
3299
  this.payload = payload;
@@ -2626,6 +3301,12 @@ var LoadRedactionFailure = /** @class */ (function () {
2626
3301
  }
2627
3302
  return LoadRedactionFailure;
2628
3303
  }());
3304
+ if (false) {
3305
+ /** @type {?} */
3306
+ LoadRedactionFailure.prototype.type;
3307
+ /** @type {?} */
3308
+ LoadRedactionFailure.prototype.payload;
3309
+ }
2629
3310
  var SaveRedaction = /** @class */ (function () {
2630
3311
  function SaveRedaction(payload) {
2631
3312
  this.payload = payload;
@@ -2633,6 +3314,12 @@ var SaveRedaction = /** @class */ (function () {
2633
3314
  }
2634
3315
  return SaveRedaction;
2635
3316
  }());
3317
+ if (false) {
3318
+ /** @type {?} */
3319
+ SaveRedaction.prototype.type;
3320
+ /** @type {?} */
3321
+ SaveRedaction.prototype.payload;
3322
+ }
2636
3323
  var SaveRedactionSuccess = /** @class */ (function () {
2637
3324
  function SaveRedactionSuccess(payload) {
2638
3325
  this.payload = payload;
@@ -2640,6 +3327,12 @@ var SaveRedactionSuccess = /** @class */ (function () {
2640
3327
  }
2641
3328
  return SaveRedactionSuccess;
2642
3329
  }());
3330
+ if (false) {
3331
+ /** @type {?} */
3332
+ SaveRedactionSuccess.prototype.type;
3333
+ /** @type {?} */
3334
+ SaveRedactionSuccess.prototype.payload;
3335
+ }
2643
3336
  var SaveRedactionFailure = /** @class */ (function () {
2644
3337
  function SaveRedactionFailure(payload) {
2645
3338
  this.payload = payload;
@@ -2647,6 +3340,12 @@ var SaveRedactionFailure = /** @class */ (function () {
2647
3340
  }
2648
3341
  return SaveRedactionFailure;
2649
3342
  }());
3343
+ if (false) {
3344
+ /** @type {?} */
3345
+ SaveRedactionFailure.prototype.type;
3346
+ /** @type {?} */
3347
+ SaveRedactionFailure.prototype.payload;
3348
+ }
2650
3349
  var DeleteRedaction = /** @class */ (function () {
2651
3350
  function DeleteRedaction(payload) {
2652
3351
  this.payload = payload;
@@ -2654,6 +3353,12 @@ var DeleteRedaction = /** @class */ (function () {
2654
3353
  }
2655
3354
  return DeleteRedaction;
2656
3355
  }());
3356
+ if (false) {
3357
+ /** @type {?} */
3358
+ DeleteRedaction.prototype.type;
3359
+ /** @type {?} */
3360
+ DeleteRedaction.prototype.payload;
3361
+ }
2657
3362
  var DeleteRedactionSuccess = /** @class */ (function () {
2658
3363
  function DeleteRedactionSuccess(payload) {
2659
3364
  this.payload = payload;
@@ -2661,6 +3366,12 @@ var DeleteRedactionSuccess = /** @class */ (function () {
2661
3366
  }
2662
3367
  return DeleteRedactionSuccess;
2663
3368
  }());
3369
+ if (false) {
3370
+ /** @type {?} */
3371
+ DeleteRedactionSuccess.prototype.type;
3372
+ /** @type {?} */
3373
+ DeleteRedactionSuccess.prototype.payload;
3374
+ }
2664
3375
  var DeleteRedactionFailure = /** @class */ (function () {
2665
3376
  function DeleteRedactionFailure(payload) {
2666
3377
  this.payload = payload;
@@ -2668,6 +3379,12 @@ var DeleteRedactionFailure = /** @class */ (function () {
2668
3379
  }
2669
3380
  return DeleteRedactionFailure;
2670
3381
  }());
3382
+ if (false) {
3383
+ /** @type {?} */
3384
+ DeleteRedactionFailure.prototype.type;
3385
+ /** @type {?} */
3386
+ DeleteRedactionFailure.prototype.payload;
3387
+ }
2671
3388
  var SelectRedaction = /** @class */ (function () {
2672
3389
  function SelectRedaction(payload) {
2673
3390
  this.payload = payload;
@@ -2675,6 +3392,12 @@ var SelectRedaction = /** @class */ (function () {
2675
3392
  }
2676
3393
  return SelectRedaction;
2677
3394
  }());
3395
+ if (false) {
3396
+ /** @type {?} */
3397
+ SelectRedaction.prototype.type;
3398
+ /** @type {?} */
3399
+ SelectRedaction.prototype.payload;
3400
+ }
2678
3401
  var Redact = /** @class */ (function () {
2679
3402
  function Redact(payload) {
2680
3403
  this.payload = payload;
@@ -2682,6 +3405,12 @@ var Redact = /** @class */ (function () {
2682
3405
  }
2683
3406
  return Redact;
2684
3407
  }());
3408
+ if (false) {
3409
+ /** @type {?} */
3410
+ Redact.prototype.type;
3411
+ /** @type {?} */
3412
+ Redact.prototype.payload;
3413
+ }
2685
3414
  var RedactSuccess = /** @class */ (function () {
2686
3415
  function RedactSuccess(payload) {
2687
3416
  this.payload = payload;
@@ -2689,6 +3418,12 @@ var RedactSuccess = /** @class */ (function () {
2689
3418
  }
2690
3419
  return RedactSuccess;
2691
3420
  }());
3421
+ if (false) {
3422
+ /** @type {?} */
3423
+ RedactSuccess.prototype.type;
3424
+ /** @type {?} */
3425
+ RedactSuccess.prototype.payload;
3426
+ }
2692
3427
  var RedactFailure = /** @class */ (function () {
2693
3428
  function RedactFailure(payload) {
2694
3429
  this.payload = payload;
@@ -2696,12 +3431,22 @@ var RedactFailure = /** @class */ (function () {
2696
3431
  }
2697
3432
  return RedactFailure;
2698
3433
  }());
3434
+ if (false) {
3435
+ /** @type {?} */
3436
+ RedactFailure.prototype.type;
3437
+ /** @type {?} */
3438
+ RedactFailure.prototype.payload;
3439
+ }
2699
3440
  var ResetRedactedDocument = /** @class */ (function () {
2700
3441
  function ResetRedactedDocument() {
2701
3442
  this.type = RESET_REDACTED_DOCUMENT;
2702
3443
  }
2703
3444
  return ResetRedactedDocument;
2704
3445
  }());
3446
+ if (false) {
3447
+ /** @type {?} */
3448
+ ResetRedactedDocument.prototype.type;
3449
+ }
2705
3450
  var UnmarkAll = /** @class */ (function () {
2706
3451
  function UnmarkAll(payload) {
2707
3452
  this.payload = payload;
@@ -2709,17 +3454,43 @@ var UnmarkAll = /** @class */ (function () {
2709
3454
  }
2710
3455
  return UnmarkAll;
2711
3456
  }());
3457
+ if (false) {
3458
+ /** @type {?} */
3459
+ UnmarkAll.prototype.type;
3460
+ /** @type {?} */
3461
+ UnmarkAll.prototype.payload;
3462
+ }
2712
3463
  var UnmarkAllSuccess = /** @class */ (function () {
2713
3464
  function UnmarkAllSuccess() {
2714
3465
  this.type = UNMARK_ALL_SUCCESS;
2715
3466
  }
2716
3467
  return UnmarkAllSuccess;
2717
3468
  }());
3469
+ if (false) {
3470
+ /** @type {?} */
3471
+ UnmarkAllSuccess.prototype.type;
3472
+ }
2718
3473
 
2719
3474
  /**
2720
3475
  * @fileoverview added by tsickle
2721
3476
  * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
2722
3477
  */
3478
+ /**
3479
+ * @record
3480
+ */
3481
+ function RedactionState() { }
3482
+ if (false) {
3483
+ /** @type {?} */
3484
+ RedactionState.prototype.redactionEntities;
3485
+ /** @type {?} */
3486
+ RedactionState.prototype.redactionPageEntities;
3487
+ /** @type {?} */
3488
+ RedactionState.prototype.selectedRedaction;
3489
+ /** @type {?} */
3490
+ RedactionState.prototype.redactedDocumentInfo;
3491
+ /** @type {?} */
3492
+ RedactionState.prototype.documentId;
3493
+ }
2723
3494
  /** @type {?} */
2724
3495
  var initialRedactionState = {
2725
3496
  redactionEntities: {},
@@ -2738,7 +3509,7 @@ function redactionReducer(state, action) {
2738
3509
  if (state === void 0) { state = initialRedactionState; }
2739
3510
  switch (action.type) {
2740
3511
  case LOAD_REDACTIONS: {
2741
- return __assign({}, state, initialRedactionState);
3512
+ return __assign(__assign({}, state), initialRedactionState);
2742
3513
  }
2743
3514
  case LOAD_REDACTION_SUCCESS: {
2744
3515
  /** @type {?} */
@@ -2748,7 +3519,7 @@ function redactionReducer(state, action) {
2748
3519
  var redactionEntities = StoreUtils.generateRedactionEntities(payload);
2749
3520
  /** @type {?} */
2750
3521
  var redactionPageEntities = StoreUtils.groupByKeyEntities(payload, 'page');
2751
- return __assign({}, state, { redactionEntities: redactionEntities,
3522
+ return __assign(__assign({}, state), { redactionEntities: redactionEntities,
2752
3523
  redactionPageEntities: redactionPageEntities });
2753
3524
  }
2754
3525
  return __assign({}, state);
@@ -2756,7 +3527,7 @@ function redactionReducer(state, action) {
2756
3527
  case SAVE_REDACTION_SUCCESS: {
2757
3528
  var payload = action.payload;
2758
3529
  /** @type {?} */
2759
- var redactionEntities_1 = __assign({}, state.redactionEntities, (_a = {}, _a[payload.redactionId] = payload, _a));
3530
+ var redactionEntities_1 = __assign(__assign({}, state.redactionEntities), (_a = {}, _a[payload.redactionId] = payload, _a));
2760
3531
  /** @type {?} */
2761
3532
  var redactionArray = Object.keys(redactionEntities_1).map((/**
2762
3533
  * @param {?} key
@@ -2765,12 +3536,12 @@ function redactionReducer(state, action) {
2765
3536
  function (key) { return redactionEntities_1[key]; }));
2766
3537
  /** @type {?} */
2767
3538
  var redactionPageEntities = StoreUtils.groupByKeyEntities(redactionArray, 'page');
2768
- return __assign({}, state, { redactionEntities: redactionEntities_1,
3539
+ return __assign(__assign({}, state), { redactionEntities: redactionEntities_1,
2769
3540
  redactionPageEntities: redactionPageEntities });
2770
3541
  }
2771
3542
  case SELECT_REDACTION:
2772
3543
  case SELECT_ANNOTATION: {
2773
- return __assign({}, state, { selectedRedaction: action.payload });
3544
+ return __assign(__assign({}, state), { selectedRedaction: action.payload });
2774
3545
  }
2775
3546
  case DELETE_REDACTION_SUCCESS: {
2776
3547
  /** @type {?} */
@@ -2787,20 +3558,20 @@ function redactionReducer(state, action) {
2787
3558
  */
2788
3559
  function (redaction) { return redaction.redactionId !== id_1; })));
2789
3560
  /** @type {?} */
2790
- var redactionPageEntities = __assign({}, state.redactionPageEntities, (_b = {}, _b[page] = pageRedactionRemoved, _b));
2791
- return __assign({}, state, { redactionPageEntities: redactionPageEntities,
3561
+ var redactionPageEntities = __assign(__assign({}, state.redactionPageEntities), (_b = {}, _b[page] = pageRedactionRemoved, _b));
3562
+ return __assign(__assign({}, state), { redactionPageEntities: redactionPageEntities,
2792
3563
  redactionEntities: redactionEntities });
2793
3564
  }
2794
3565
  case REDACT_SUCCESS: {
2795
3566
  /** @type {?} */
2796
3567
  var redactedDocumentInfo = action.payload;
2797
- return __assign({}, state, initialRedactionState, { redactedDocumentInfo: redactedDocumentInfo });
3568
+ return __assign(__assign(__assign({}, state), initialRedactionState), { redactedDocumentInfo: redactedDocumentInfo });
2798
3569
  }
2799
3570
  case RESET_REDACTED_DOCUMENT: {
2800
- return __assign({}, state, { redactedDocumentInfo: undefined });
3571
+ return __assign(__assign({}, state), { redactedDocumentInfo: undefined });
2801
3572
  }
2802
3573
  case UNMARK_ALL_SUCCESS: {
2803
- return __assign({}, state, initialRedactionState);
3574
+ return __assign(__assign({}, state), initialRedactionState);
2804
3575
  }
2805
3576
  }
2806
3577
  return state;
@@ -2853,15 +3624,15 @@ function icpReducer(state, action) {
2853
3624
  /** @type {?} */
2854
3625
  var caseId = action.payload;
2855
3626
  /** @type {?} */
2856
- var session = __assign({}, state.session, { caseId: caseId });
2857
- return __assign({}, state, { session: session });
3627
+ var session = __assign(__assign({}, state.session), { caseId: caseId });
3628
+ return __assign(__assign({}, state), { session: session });
2858
3629
  }
2859
3630
  case ICP_SOCKET_SESSION_JOINED: {
2860
3631
  /** @type {?} */
2861
3632
  var session = action.payload.session;
2862
3633
  /** @type {?} */
2863
3634
  var participantInfo = action.payload.participantInfo;
2864
- return __assign({}, state, { session: session, client: participantInfo.client, presenter: participantInfo.presenter });
3635
+ return __assign(__assign({}, state), { session: session, client: participantInfo.client, presenter: participantInfo.presenter });
2865
3636
  }
2866
3637
  case ICP_PARTICIPANT_LIST_UPDATED: {
2867
3638
  /** @type {?} */
@@ -2873,15 +3644,15 @@ function icpReducer(state, action) {
2873
3644
  * @return {?}
2874
3645
  */
2875
3646
  function (id) { return ({ id: id, username: updatedParticipants_1[id] }); }));
2876
- return __assign({}, state, { participants: participants });
3647
+ return __assign(__assign({}, state), { participants: participants });
2877
3648
  }
2878
3649
  case ICP_PRESENTER_UPDATED: {
2879
3650
  /** @type {?} */
2880
3651
  var presenter = action.payload;
2881
- return __assign({}, state, { presenter: presenter });
3652
+ return __assign(__assign({}, state), { presenter: presenter });
2882
3653
  }
2883
3654
  case LEAVE_ICP_SOCKET_SESSION: {
2884
- return __assign({}, state, initialIcpSessionState);
3655
+ return __assign(__assign({}, state), initialIcpSessionState);
2885
3656
  }
2886
3657
  }
2887
3658
  return state;
@@ -2915,6 +3686,24 @@ function (state) { return state.participants; });
2915
3686
  * @fileoverview added by tsickle
2916
3687
  * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
2917
3688
  */
3689
+ /**
3690
+ * @record
3691
+ */
3692
+ function State() { }
3693
+ if (false) {
3694
+ /** @type {?} */
3695
+ State.prototype.document;
3696
+ /** @type {?} */
3697
+ State.prototype.annotations;
3698
+ /** @type {?} */
3699
+ State.prototype.tags;
3700
+ /** @type {?} */
3701
+ State.prototype.bookmarks;
3702
+ /** @type {?} */
3703
+ State.prototype.redactions;
3704
+ /** @type {?} */
3705
+ State.prototype.icp;
3706
+ }
2918
3707
  /** @type {?} */
2919
3708
  var reducers = {
2920
3709
  document: docReducer,
@@ -2964,6 +3753,16 @@ var rotationLoaded$1 = createSelector(getDocumentState, rotationLoaded);
2964
3753
  * @fileoverview added by tsickle
2965
3754
  * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
2966
3755
  */
3756
+ /**
3757
+ * @record
3758
+ */
3759
+ function Highlight() { }
3760
+ if (false) {
3761
+ /** @type {?} */
3762
+ Highlight.prototype.page;
3763
+ /** @type {?} */
3764
+ Highlight.prototype.rectangles;
3765
+ }
2967
3766
  var ViewerEventService = /** @class */ (function () {
2968
3767
  function ViewerEventService() {
2969
3768
  this.textHighlight = new Subject();
@@ -3018,9 +3817,19 @@ var ViewerEventService = /** @class */ (function () {
3018
3817
  ];
3019
3818
  /** @nocollapse */
3020
3819
  ViewerEventService.ctorParameters = function () { return []; };
3021
- /** @nocollapse */ ViewerEventService.ngInjectableDef = ɵɵdefineInjectable({ factory: function ViewerEventService_Factory() { return new ViewerEventService(); }, token: ViewerEventService, providedIn: "root" });
3820
+ /** @nocollapse */ ViewerEventService.ɵprov = ɵɵdefineInjectable({ factory: function ViewerEventService_Factory() { return new ViewerEventService(); }, token: ViewerEventService, providedIn: "root" });
3022
3821
  return ViewerEventService;
3023
3822
  }());
3823
+ if (false) {
3824
+ /** @type {?} */
3825
+ ViewerEventService.prototype.textHighlight;
3826
+ /** @type {?} */
3827
+ ViewerEventService.prototype.boxHighlight;
3828
+ /** @type {?} */
3829
+ ViewerEventService.prototype.ctxToolbarCleared;
3830
+ /** @type {?} */
3831
+ ViewerEventService.prototype.navigationEvent;
3832
+ }
3024
3833
 
3025
3834
  /**
3026
3835
  * @fileoverview added by tsickle
@@ -3486,6 +4295,106 @@ var PdfViewerComponent = /** @class */ (function () {
3486
4295
  };
3487
4296
  return PdfViewerComponent;
3488
4297
  }());
4298
+ if (false) {
4299
+ /** @type {?} */
4300
+ PdfViewerComponent.prototype.mediaLoadStatus;
4301
+ /** @type {?} */
4302
+ PdfViewerComponent.prototype.pdfViewerException;
4303
+ /** @type {?} */
4304
+ PdfViewerComponent.prototype.documentTitle;
4305
+ /** @type {?} */
4306
+ PdfViewerComponent.prototype.downloadUrl;
4307
+ /** @type {?} */
4308
+ PdfViewerComponent.prototype.url;
4309
+ /** @type {?} */
4310
+ PdfViewerComponent.prototype.downloadFileName;
4311
+ /** @type {?} */
4312
+ PdfViewerComponent.prototype.enableAnnotations;
4313
+ /** @type {?} */
4314
+ PdfViewerComponent.prototype.enableRedactions;
4315
+ /** @type {?} */
4316
+ PdfViewerComponent.prototype.enableICP;
4317
+ /** @type {?} */
4318
+ PdfViewerComponent.prototype.annotationSet;
4319
+ /** @type {?} */
4320
+ PdfViewerComponent.prototype.height;
4321
+ /** @type {?} */
4322
+ PdfViewerComponent.prototype.pageHeights;
4323
+ /** @type {?} */
4324
+ PdfViewerComponent.prototype.rotation;
4325
+ /** @type {?} */
4326
+ PdfViewerComponent.prototype.zoom;
4327
+ /** @type {?} */
4328
+ PdfViewerComponent.prototype.caseId;
4329
+ /** @type {?} */
4330
+ PdfViewerComponent.prototype.highlightMode;
4331
+ /** @type {?} */
4332
+ PdfViewerComponent.prototype.drawMode;
4333
+ /** @type {?} */
4334
+ PdfViewerComponent.prototype.documentOutline;
4335
+ /** @type {?} */
4336
+ PdfViewerComponent.prototype.loadingDocument;
4337
+ /** @type {?} */
4338
+ PdfViewerComponent.prototype.loadingDocumentProgress;
4339
+ /** @type {?} */
4340
+ PdfViewerComponent.prototype.errorMessage;
4341
+ /** @type {?} */
4342
+ PdfViewerComponent.prototype.hasDifferentPageSize;
4343
+ /** @type {?} */
4344
+ PdfViewerComponent.prototype.viewerContainer;
4345
+ /** @type {?} */
4346
+ PdfViewerComponent.prototype.pdfViewer;
4347
+ /**
4348
+ * @type {?}
4349
+ * @private
4350
+ */
4351
+ PdfViewerComponent.prototype.pdfWrapper;
4352
+ /**
4353
+ * @type {?}
4354
+ * @private
4355
+ */
4356
+ PdfViewerComponent.prototype.$subscription;
4357
+ /**
4358
+ * @type {?}
4359
+ * @private
4360
+ */
4361
+ PdfViewerComponent.prototype.viewerException;
4362
+ /** @type {?} */
4363
+ PdfViewerComponent.prototype.showCommentsPanel;
4364
+ /** @type {?} */
4365
+ PdfViewerComponent.prototype.showIcpParticipantsList;
4366
+ /** @type {?} */
4367
+ PdfViewerComponent.prototype.enableGrabNDrag;
4368
+ /**
4369
+ * @type {?}
4370
+ * @private
4371
+ */
4372
+ PdfViewerComponent.prototype.store;
4373
+ /**
4374
+ * @type {?}
4375
+ * @private
4376
+ */
4377
+ PdfViewerComponent.prototype.icpStore;
4378
+ /**
4379
+ * @type {?}
4380
+ * @private
4381
+ */
4382
+ PdfViewerComponent.prototype.pdfJsWrapperFactory;
4383
+ /**
4384
+ * @type {?}
4385
+ * @private
4386
+ */
4387
+ PdfViewerComponent.prototype.printService;
4388
+ /** @type {?} */
4389
+ PdfViewerComponent.prototype.toolbarEvents;
4390
+ /**
4391
+ * @type {?}
4392
+ * @private
4393
+ */
4394
+ PdfViewerComponent.prototype.viewerEvents;
4395
+ /** @type {?} */
4396
+ PdfViewerComponent.prototype.toolbarButtons;
4397
+ }
3489
4398
 
3490
4399
  /**
3491
4400
  * @fileoverview added by tsickle
@@ -3515,9 +4424,16 @@ var ViewerUtilService = /** @class */ (function () {
3515
4424
  ViewerUtilService.ctorParameters = function () { return [
3516
4425
  { type: HttpClient }
3517
4426
  ]; };
3518
- /** @nocollapse */ ViewerUtilService.ngInjectableDef = ɵɵdefineInjectable({ factory: function ViewerUtilService_Factory() { return new ViewerUtilService(ɵɵinject(HttpClient)); }, token: ViewerUtilService, providedIn: "root" });
4427
+ /** @nocollapse */ ViewerUtilService.ɵprov = ɵɵdefineInjectable({ factory: function ViewerUtilService_Factory() { return new ViewerUtilService(ɵɵinject(HttpClient)); }, token: ViewerUtilService, providedIn: "root" });
3519
4428
  return ViewerUtilService;
3520
4429
  }());
4430
+ if (false) {
4431
+ /**
4432
+ * @type {?}
4433
+ * @private
4434
+ */
4435
+ ViewerUtilService.prototype.http;
4436
+ }
3521
4437
 
3522
4438
  /**
3523
4439
  * @fileoverview added by tsickle
@@ -3840,6 +4756,76 @@ var ImageViewerComponent = /** @class */ (function () {
3840
4756
  };
3841
4757
  return ImageViewerComponent;
3842
4758
  }());
4759
+ if (false) {
4760
+ /** @type {?} */
4761
+ ImageViewerComponent.prototype.url;
4762
+ /** @type {?} */
4763
+ ImageViewerComponent.prototype.downloadFileName;
4764
+ /** @type {?} */
4765
+ ImageViewerComponent.prototype.enableAnnotations;
4766
+ /** @type {?} */
4767
+ ImageViewerComponent.prototype.annotationSet;
4768
+ /** @type {?} */
4769
+ ImageViewerComponent.prototype.height;
4770
+ /** @type {?} */
4771
+ ImageViewerComponent.prototype.mediaLoadStatus;
4772
+ /** @type {?} */
4773
+ ImageViewerComponent.prototype.imageViewerException;
4774
+ /** @type {?} */
4775
+ ImageViewerComponent.prototype.errorMessage;
4776
+ /** @type {?} */
4777
+ ImageViewerComponent.prototype.img;
4778
+ /** @type {?} */
4779
+ ImageViewerComponent.prototype.rotation;
4780
+ /** @type {?} */
4781
+ ImageViewerComponent.prototype.zoom;
4782
+ /**
4783
+ * @type {?}
4784
+ * @private
4785
+ */
4786
+ ImageViewerComponent.prototype.subscriptions;
4787
+ /**
4788
+ * @type {?}
4789
+ * @private
4790
+ */
4791
+ ImageViewerComponent.prototype.viewerException;
4792
+ /**
4793
+ * @type {?}
4794
+ * @private
4795
+ */
4796
+ ImageViewerComponent.prototype.response;
4797
+ /** @type {?} */
4798
+ ImageViewerComponent.prototype.showCommentsPanel;
4799
+ /** @type {?} */
4800
+ ImageViewerComponent.prototype.enableGrabNDrag;
4801
+ /** @type {?} */
4802
+ ImageViewerComponent.prototype.imageHeight;
4803
+ /** @type {?} */
4804
+ ImageViewerComponent.prototype.imageWidth;
4805
+ /** @type {?} */
4806
+ ImageViewerComponent.prototype.imageLeft;
4807
+ /** @type {?} */
4808
+ ImageViewerComponent.prototype.imageTop;
4809
+ /**
4810
+ * @type {?}
4811
+ * @private
4812
+ */
4813
+ ImageViewerComponent.prototype.store;
4814
+ /**
4815
+ * @type {?}
4816
+ * @private
4817
+ */
4818
+ ImageViewerComponent.prototype.printService;
4819
+ /**
4820
+ * @type {?}
4821
+ * @private
4822
+ */
4823
+ ImageViewerComponent.prototype.viewerUtilService;
4824
+ /** @type {?} */
4825
+ ImageViewerComponent.prototype.toolbarEvents;
4826
+ /** @type {?} */
4827
+ ImageViewerComponent.prototype.toolbarButtons;
4828
+ }
3843
4829
 
3844
4830
  /**
3845
4831
  * @fileoverview added by tsickle
@@ -3923,6 +4909,37 @@ var UnsupportedViewerComponent = /** @class */ (function () {
3923
4909
  };
3924
4910
  return UnsupportedViewerComponent;
3925
4911
  }());
4912
+ if (false) {
4913
+ /** @type {?} */
4914
+ UnsupportedViewerComponent.prototype.url;
4915
+ /** @type {?} */
4916
+ UnsupportedViewerComponent.prototype.downloadFileName;
4917
+ /** @type {?} */
4918
+ UnsupportedViewerComponent.prototype.typeException;
4919
+ /** @type {?} */
4920
+ UnsupportedViewerComponent.prototype.loadStatus;
4921
+ /** @type {?} */
4922
+ UnsupportedViewerComponent.prototype.unsupportedViewerException;
4923
+ /** @type {?} */
4924
+ UnsupportedViewerComponent.prototype.downloadLink;
4925
+ /**
4926
+ * @type {?}
4927
+ * @private
4928
+ */
4929
+ UnsupportedViewerComponent.prototype.subscriptions;
4930
+ /**
4931
+ * @type {?}
4932
+ * @private
4933
+ */
4934
+ UnsupportedViewerComponent.prototype.viewerException;
4935
+ /** @type {?} */
4936
+ UnsupportedViewerComponent.prototype.toolbarEvents;
4937
+ /**
4938
+ * @type {?}
4939
+ * @private
4940
+ */
4941
+ UnsupportedViewerComponent.prototype.viewerUtilService;
4942
+ }
3926
4943
 
3927
4944
  /**
3928
4945
  * @fileoverview added by tsickle
@@ -4087,6 +5104,25 @@ var AnnotationApiService = /** @class */ (function () {
4087
5104
  ]; };
4088
5105
  return AnnotationApiService;
4089
5106
  }());
5107
+ if (false) {
5108
+ /** @type {?} */
5109
+ AnnotationApiService.prototype.annotationApiUrl;
5110
+ /**
5111
+ * @type {?}
5112
+ * @private
5113
+ */
5114
+ AnnotationApiService.prototype.annotationSetBaseUrl;
5115
+ /**
5116
+ * @type {?}
5117
+ * @private
5118
+ */
5119
+ AnnotationApiService.prototype.annotationBaseUrl;
5120
+ /**
5121
+ * @type {?}
5122
+ * @private
5123
+ */
5124
+ AnnotationApiService.prototype.httpClient;
5125
+ }
4090
5126
 
4091
5127
  /**
4092
5128
  * @fileoverview added by tsickle
@@ -4203,6 +5239,12 @@ var CommentService = /** @class */ (function () {
4203
5239
  ];
4204
5240
  return CommentService;
4205
5241
  }());
5242
+ if (false) {
5243
+ /** @type {?} */
5244
+ CommentService.prototype.unsavedChanges;
5245
+ /** @type {?} */
5246
+ CommentService.prototype.commentSetComponent;
5247
+ }
4206
5248
 
4207
5249
  /**
4208
5250
  * @fileoverview added by tsickle
@@ -4273,7 +5315,7 @@ var ɵ2 = /**
4273
5315
  * @return {?}
4274
5316
  */
4275
5317
  function (entities, set) {
4276
- return __assign({}, set, { annotations: Object.keys(entities).map((/**
5318
+ return __assign(__assign({}, set), { annotations: Object.keys(entities).map((/**
4277
5319
  * @param {?} key
4278
5320
  * @return {?}
4279
5321
  */
@@ -4347,7 +5389,7 @@ function (commentEnts, pages, annoEnts, filtered) {
4347
5389
  function (key) {
4348
5390
  /** @type {?} */
4349
5391
  var page = annoEnts[key].page;
4350
- return __assign({}, commentEnts[key], { page: page,
5392
+ return __assign(__assign({}, commentEnts[key]), { page: page,
4351
5393
  pages: pages });
4352
5394
  }));
4353
5395
  }
@@ -4522,14 +5564,13 @@ var MediaViewerComponent = /** @class */ (function () {
4522
5564
  if (changes.url) {
4523
5565
  this.toolbarEvents.reset();
4524
5566
  this.commentService.resetCommentSet();
4525
- /** @type {?} */
4526
- var documentId = this.extractDMStoreDocId(this.url);
4527
- this.store.dispatch(new SetDocumentId(documentId));
5567
+ this.documentId = this.extractDMStoreDocId(this.url);
5568
+ this.store.dispatch(new SetDocumentId(this.documentId));
4528
5569
  if (this.enableAnnotations && !(this.multimediaContent || this.unsupportedContent)) {
4529
- this.store.dispatch(new LoadAnnotationSet(documentId));
5570
+ this.store.dispatch(new LoadAnnotationSet(this.documentId));
4530
5571
  }
4531
5572
  if (this.enableRedactions && !(this.multimediaContent || this.unsupportedContent)) {
4532
- this.store.dispatch(new LoadRedactions(documentId));
5573
+ this.store.dispatch(new LoadRedactions(this.documentId));
4533
5574
  }
4534
5575
  if (this.contentType === 'image') {
4535
5576
  this.documentTitle = null;
@@ -4601,16 +5642,16 @@ var MediaViewerComponent = /** @class */ (function () {
4601
5642
  */
4602
5643
  function () {
4603
5644
  if (this.contentType === CoreContentTypes.PDF || this.needsConverting()) {
4604
- this.toolbarButtons.setup(__assign({}, defaultPdfOptions, { showHighlightButton: this.enableAnnotations, showDrawButton: this.enableAnnotations }, this.toolbarButtonOverrides));
5645
+ this.toolbarButtons.setup(__assign(__assign(__assign({}, defaultPdfOptions), { showHighlightButton: this.enableAnnotations, showDrawButton: this.enableAnnotations }), this.toolbarButtonOverrides));
4605
5646
  }
4606
5647
  else if (this.contentType === CoreContentTypes.IMAGE) {
4607
- this.toolbarButtons.setup(__assign({}, defaultImageOptions, { showDrawButton: this.enableAnnotations }, this.toolbarButtonOverrides));
5648
+ this.toolbarButtons.setup(__assign(__assign(__assign({}, defaultImageOptions), { showDrawButton: this.enableAnnotations }), this.toolbarButtonOverrides));
4608
5649
  }
4609
5650
  else if (this.isMultimedia()) {
4610
- this.toolbarButtons.setup(__assign({}, defaultMultimediaOptions, this.toolbarButtonOverrides));
5651
+ this.toolbarButtons.setup(__assign(__assign({}, defaultMultimediaOptions), this.toolbarButtonOverrides));
4611
5652
  }
4612
5653
  else {
4613
- this.toolbarButtons.setup(__assign({}, defaultUnsupportedOptions, this.toolbarButtonOverrides));
5654
+ this.toolbarButtons.setup(__assign(__assign({}, defaultUnsupportedOptions), this.toolbarButtonOverrides));
4614
5655
  }
4615
5656
  };
4616
5657
  /**
@@ -4666,6 +5707,7 @@ var MediaViewerComponent = /** @class */ (function () {
4666
5707
  */
4667
5708
  function (url) {
4668
5709
  url = url.includes('/documents/') ? url.split('/documents/')[1] : url;
5710
+ url = url.includes('/documentsv2/') ? url.split('/documentsv2/')[1] : url;
4669
5711
  return url.replace('/binary', '');
4670
5712
  };
4671
5713
  /**
@@ -4716,6 +5758,105 @@ var MediaViewerComponent = /** @class */ (function () {
4716
5758
  };
4717
5759
  return MediaViewerComponent;
4718
5760
  }());
5761
+ if (false) {
5762
+ /** @type {?} */
5763
+ MediaViewerComponent.prototype.viewerRef;
5764
+ /** @type {?} */
5765
+ MediaViewerComponent.prototype.url;
5766
+ /** @type {?} */
5767
+ MediaViewerComponent.prototype.downloadFileName;
5768
+ /** @type {?} */
5769
+ MediaViewerComponent.prototype.contentType;
5770
+ /** @type {?} */
5771
+ MediaViewerComponent.prototype.showToolbar;
5772
+ /** @type {?} */
5773
+ MediaViewerComponent.prototype.toolbarButtonOverrides;
5774
+ /** @type {?} */
5775
+ MediaViewerComponent.prototype.height;
5776
+ /** @type {?} */
5777
+ MediaViewerComponent.prototype.viewerHeight;
5778
+ /** @type {?} */
5779
+ MediaViewerComponent.prototype.width;
5780
+ /** @type {?} */
5781
+ MediaViewerComponent.prototype.mediaLoadStatus;
5782
+ /** @type {?} */
5783
+ MediaViewerComponent.prototype.viewerException;
5784
+ /** @type {?} */
5785
+ MediaViewerComponent.prototype.toolbarEventsOutput;
5786
+ /** @type {?} */
5787
+ MediaViewerComponent.prototype.unsavedChanges;
5788
+ /** @type {?} */
5789
+ MediaViewerComponent.prototype.enableAnnotations;
5790
+ /** @type {?} */
5791
+ MediaViewerComponent.prototype.annotationApiUrl;
5792
+ /** @type {?} */
5793
+ MediaViewerComponent.prototype.enableRedactions;
5794
+ /** @type {?} */
5795
+ MediaViewerComponent.prototype.enableICP;
5796
+ /** @type {?} */
5797
+ MediaViewerComponent.prototype.multimediaPlayerEnabled;
5798
+ /** @type {?} */
5799
+ MediaViewerComponent.prototype.caseId;
5800
+ /** @type {?} */
5801
+ MediaViewerComponent.prototype.multimediaContent;
5802
+ /** @type {?} */
5803
+ MediaViewerComponent.prototype.convertibleContent;
5804
+ /** @type {?} */
5805
+ MediaViewerComponent.prototype.unsupportedContent;
5806
+ /** @type {?} */
5807
+ MediaViewerComponent.prototype.documentTitle;
5808
+ /** @type {?} */
5809
+ MediaViewerComponent.prototype.showCommentSummary;
5810
+ /** @type {?} */
5811
+ MediaViewerComponent.prototype.annotationSet$;
5812
+ /** @type {?} */
5813
+ MediaViewerComponent.prototype.hasScrollBar;
5814
+ /** @type {?} */
5815
+ MediaViewerComponent.prototype.typeException;
5816
+ /** @type {?} */
5817
+ MediaViewerComponent.prototype.hasDifferentPageSize$;
5818
+ /** @type {?} */
5819
+ MediaViewerComponent.prototype.documentId;
5820
+ /**
5821
+ * @type {?}
5822
+ * @private
5823
+ */
5824
+ MediaViewerComponent.prototype.$subscriptions;
5825
+ /**
5826
+ * @type {?}
5827
+ * @private
5828
+ */
5829
+ MediaViewerComponent.prototype.prevOffset;
5830
+ /**
5831
+ * @type {?}
5832
+ * @private
5833
+ */
5834
+ MediaViewerComponent.prototype.store;
5835
+ /** @type {?} */
5836
+ MediaViewerComponent.prototype.toolbarButtons;
5837
+ /** @type {?} */
5838
+ MediaViewerComponent.prototype.toolbarEvents;
5839
+ /**
5840
+ * @type {?}
5841
+ * @private
5842
+ */
5843
+ MediaViewerComponent.prototype.api;
5844
+ /**
5845
+ * @type {?}
5846
+ * @private
5847
+ */
5848
+ MediaViewerComponent.prototype.commentService;
5849
+ /**
5850
+ * @type {?}
5851
+ * @private
5852
+ */
5853
+ MediaViewerComponent.prototype.elRef;
5854
+ /**
5855
+ * @type {?}
5856
+ * @private
5857
+ */
5858
+ MediaViewerComponent.prototype.cdr;
5859
+ }
4719
5860
 
4720
5861
  /**
4721
5862
  * @fileoverview added by tsickle
@@ -4749,7 +5890,7 @@ var NumberHelperService = /** @class */ (function () {
4749
5890
  ];
4750
5891
  /** @nocollapse */
4751
5892
  NumberHelperService.ctorParameters = function () { return []; };
4752
- /** @nocollapse */ NumberHelperService.ngInjectableDef = ɵɵdefineInjectable({ factory: function NumberHelperService_Factory() { return new NumberHelperService(); }, token: NumberHelperService, providedIn: "root" });
5893
+ /** @nocollapse */ NumberHelperService.ɵprov = ɵɵdefineInjectable({ factory: function NumberHelperService_Factory() { return new NumberHelperService(); }, token: NumberHelperService, providedIn: "root" });
4753
5894
  return NumberHelperService;
4754
5895
  }());
4755
5896
 
@@ -5098,6 +6239,61 @@ var MainToolbarComponent = /** @class */ (function () {
5098
6239
  };
5099
6240
  return MainToolbarComponent;
5100
6241
  }());
6242
+ if (false) {
6243
+ /** @type {?} */
6244
+ MainToolbarComponent.prototype.enableAnnotations;
6245
+ /** @type {?} */
6246
+ MainToolbarComponent.prototype.enableRedactions;
6247
+ /** @type {?} */
6248
+ MainToolbarComponent.prototype.enableICP;
6249
+ /** @type {?} */
6250
+ MainToolbarComponent.prototype.contentType;
6251
+ /** @type {?} */
6252
+ MainToolbarComponent.prototype.zoomSelect;
6253
+ /** @type {?} */
6254
+ MainToolbarComponent.prototype.mvToolbarMain;
6255
+ /** @type {?} */
6256
+ MainToolbarComponent.prototype.mvMenuItems;
6257
+ /**
6258
+ * @type {?}
6259
+ * @private
6260
+ */
6261
+ MainToolbarComponent.prototype.subscriptions;
6262
+ /** @type {?} */
6263
+ MainToolbarComponent.prototype.icpEnabled;
6264
+ /** @type {?} */
6265
+ MainToolbarComponent.prototype.redactionEnabled;
6266
+ /** @type {?} */
6267
+ MainToolbarComponent.prototype.showCommentsPanel;
6268
+ /** @type {?} */
6269
+ MainToolbarComponent.prototype.pageNumber;
6270
+ /** @type {?} */
6271
+ MainToolbarComponent.prototype.pageCount;
6272
+ /** @type {?} */
6273
+ MainToolbarComponent.prototype.isDropdownMenuOpen;
6274
+ /** @type {?} */
6275
+ MainToolbarComponent.prototype.dropdownMenuPositions;
6276
+ /** @type {?} */
6277
+ MainToolbarComponent.prototype.zoomScales;
6278
+ /** @type {?} */
6279
+ MainToolbarComponent.prototype.allButtonsWidth;
6280
+ /** @type {?} */
6281
+ MainToolbarComponent.prototype.widthRequiredForBtn;
6282
+ /** @type {?} */
6283
+ MainToolbarComponent.prototype.toolbarEvents;
6284
+ /** @type {?} */
6285
+ MainToolbarComponent.prototype.toolbarButtons;
6286
+ /**
6287
+ * @type {?}
6288
+ * @private
6289
+ */
6290
+ MainToolbarComponent.prototype.cdr;
6291
+ /**
6292
+ * @type {?}
6293
+ * @private
6294
+ */
6295
+ MainToolbarComponent.prototype.numberHelper;
6296
+ }
5101
6297
 
5102
6298
  /**
5103
6299
  * @fileoverview added by tsickle
@@ -5292,6 +6488,33 @@ var SearchBarComponent = /** @class */ (function () {
5292
6488
  };
5293
6489
  return SearchBarComponent;
5294
6490
  }());
6491
+ if (false) {
6492
+ /** @type {?} */
6493
+ SearchBarComponent.prototype.findInput;
6494
+ /** @type {?} */
6495
+ SearchBarComponent.prototype.highlightAll;
6496
+ /** @type {?} */
6497
+ SearchBarComponent.prototype.matchCase;
6498
+ /** @type {?} */
6499
+ SearchBarComponent.prototype.wholeWord;
6500
+ /** @type {?} */
6501
+ SearchBarComponent.prototype.resultsText;
6502
+ /** @type {?} */
6503
+ SearchBarComponent.prototype.searchText;
6504
+ /** @type {?} */
6505
+ SearchBarComponent.prototype.resultCount;
6506
+ /**
6507
+ * @type {?}
6508
+ * @private
6509
+ */
6510
+ SearchBarComponent.prototype.subscriptions;
6511
+ /** @type {?} */
6512
+ SearchBarComponent.prototype.advancedSearchVisible;
6513
+ /** @type {?} */
6514
+ SearchBarComponent.prototype.toolbarButtons;
6515
+ /** @type {?} */
6516
+ SearchBarComponent.prototype.toolbarEvents;
6517
+ }
5295
6518
 
5296
6519
  /**
5297
6520
  * @fileoverview added by tsickle
@@ -5459,6 +6682,23 @@ var RedactionToolbarComponent = /** @class */ (function () {
5459
6682
  ]; };
5460
6683
  return RedactionToolbarComponent;
5461
6684
  }());
6685
+ if (false) {
6686
+ /** @type {?} */
6687
+ RedactionToolbarComponent.prototype.preview;
6688
+ /** @type {?} */
6689
+ RedactionToolbarComponent.prototype.hasRedactions;
6690
+ /** @type {?} */
6691
+ RedactionToolbarComponent.prototype.$subscription;
6692
+ /** @type {?} */
6693
+ RedactionToolbarComponent.prototype.toolbarEventService;
6694
+ /** @type {?} */
6695
+ RedactionToolbarComponent.prototype.toolbarButtons;
6696
+ /**
6697
+ * @type {?}
6698
+ * @private
6699
+ */
6700
+ RedactionToolbarComponent.prototype.store;
6701
+ }
5462
6702
 
5463
6703
  /**
5464
6704
  * @fileoverview added by tsickle
@@ -5525,7 +6765,7 @@ var IcpToolbarComponent = /** @class */ (function () {
5525
6765
  * @param {?} isPresenter
5526
6766
  * @return {?}
5527
6767
  */
5528
- function (isPresenter$$1) { return _this.isPresenter = isPresenter$$1; }));
6768
+ function (isPresenter) { return _this.isPresenter = isPresenter; }));
5529
6769
  this.$subscription.add(this.store.pipe(select(getPresenterName))
5530
6770
  .subscribe((/**
5531
6771
  * @param {?} name
@@ -5591,6 +6831,24 @@ var IcpToolbarComponent = /** @class */ (function () {
5591
6831
  ]; };
5592
6832
  return IcpToolbarComponent;
5593
6833
  }());
6834
+ if (false) {
6835
+ /** @type {?} */
6836
+ IcpToolbarComponent.prototype.presenterName;
6837
+ /** @type {?} */
6838
+ IcpToolbarComponent.prototype.isPresenter;
6839
+ /**
6840
+ * @type {?}
6841
+ * @private
6842
+ */
6843
+ IcpToolbarComponent.prototype.$subscription;
6844
+ /** @type {?} */
6845
+ IcpToolbarComponent.prototype.toolbarEventService;
6846
+ /**
6847
+ * @type {?}
6848
+ * @private
6849
+ */
6850
+ IcpToolbarComponent.prototype.store;
6851
+ }
5594
6852
 
5595
6853
  /**
5596
6854
  * @fileoverview added by tsickle
@@ -5764,6 +7022,38 @@ var AnnotationViewComponent = /** @class */ (function () {
5764
7022
  };
5765
7023
  return AnnotationViewComponent;
5766
7024
  }());
7025
+ if (false) {
7026
+ /** @type {?} */
7027
+ AnnotationViewComponent.prototype.anno;
7028
+ /** @type {?} */
7029
+ AnnotationViewComponent.prototype.selected;
7030
+ /** @type {?} */
7031
+ AnnotationViewComponent.prototype.zoom;
7032
+ /** @type {?} */
7033
+ AnnotationViewComponent.prototype.rotate;
7034
+ /** @type {?} */
7035
+ AnnotationViewComponent.prototype.pageHeight;
7036
+ /** @type {?} */
7037
+ AnnotationViewComponent.prototype.pageWidth;
7038
+ /** @type {?} */
7039
+ AnnotationViewComponent.prototype.update;
7040
+ /** @type {?} */
7041
+ AnnotationViewComponent.prototype.delete;
7042
+ /** @type {?} */
7043
+ AnnotationViewComponent.prototype.annotationClick;
7044
+ /** @type {?} */
7045
+ AnnotationViewComponent.prototype.container;
7046
+ /**
7047
+ * @type {?}
7048
+ * @private
7049
+ */
7050
+ AnnotationViewComponent.prototype.toolbarEvents;
7051
+ /**
7052
+ * @type {?}
7053
+ * @private
7054
+ */
7055
+ AnnotationViewComponent.prototype.store;
7056
+ }
5767
7057
 
5768
7058
  /**
5769
7059
  * @fileoverview added by tsickle
@@ -5841,6 +7131,32 @@ var AnnotationSetComponent = /** @class */ (function () {
5841
7131
  };
5842
7132
  return AnnotationSetComponent;
5843
7133
  }());
7134
+ if (false) {
7135
+ /** @type {?} */
7136
+ AnnotationSetComponent.prototype.page;
7137
+ /** @type {?} */
7138
+ AnnotationSetComponent.prototype.annotations;
7139
+ /** @type {?} */
7140
+ AnnotationSetComponent.prototype.zoom;
7141
+ /** @type {?} */
7142
+ AnnotationSetComponent.prototype.rotate;
7143
+ /** @type {?} */
7144
+ AnnotationSetComponent.prototype.pageHeight;
7145
+ /** @type {?} */
7146
+ AnnotationSetComponent.prototype.pageWidth;
7147
+ /** @type {?} */
7148
+ AnnotationSetComponent.prototype.selectedAnnotation$;
7149
+ /**
7150
+ * @type {?}
7151
+ * @private
7152
+ */
7153
+ AnnotationSetComponent.prototype.store;
7154
+ /**
7155
+ * @type {?}
7156
+ * @private
7157
+ */
7158
+ AnnotationSetComponent.prototype.commentService;
7159
+ }
5844
7160
 
5845
7161
  /**
5846
7162
  * @fileoverview added by tsickle
@@ -5869,7 +7185,7 @@ var HighlightCreateService = /** @class */ (function () {
5869
7185
  */
5870
7186
  function (anoSetDocId) {
5871
7187
  /** @type {?} */
5872
- var anno = __assign({ id: uuid$1(), color: 'FFFF00', comments: [], page: page, rectangles: rectangles, type: 'highlight' }, anoSetDocId, { createdBy: '', createdByDetails: undefined, createdDate: moment.utc().tz('Europe/London').toISOString(), lastModifiedBy: '', lastModifiedByDetails: undefined, lastModifiedDate: '', tags: [] });
7188
+ var anno = __assign(__assign({ id: uuid$1(), color: 'FFFF00', comments: [], page: page, rectangles: rectangles, type: 'highlight' }, anoSetDocId), { createdBy: '', createdByDetails: undefined, createdDate: moment.utc().tz('Europe/London').toISOString(), lastModifiedBy: '', lastModifiedByDetails: undefined, lastModifiedDate: '', tags: [] });
5873
7189
  _this.store.dispatch(new SaveAnnotation(anno));
5874
7190
  }));
5875
7191
  };
@@ -5944,6 +7260,18 @@ var HighlightCreateService = /** @class */ (function () {
5944
7260
  ]; };
5945
7261
  return HighlightCreateService;
5946
7262
  }());
7263
+ if (false) {
7264
+ /**
7265
+ * @type {?}
7266
+ * @private
7267
+ */
7268
+ HighlightCreateService.prototype.toolBarEvents;
7269
+ /**
7270
+ * @type {?}
7271
+ * @private
7272
+ */
7273
+ HighlightCreateService.prototype.store;
7274
+ }
5947
7275
 
5948
7276
  /**
5949
7277
  * @fileoverview added by tsickle
@@ -6067,7 +7395,7 @@ var RectangleComponent = /** @class */ (function () {
6067
7395
  /** @type {?} */
6068
7396
  var rectangle = this.highlightService
6069
7397
  .applyRotation(this.pageHeight, this.pageWidth, offsetHeight, offsetWidth, offsetTop, offsetLeft, this.rotate, this.zoom);
6070
- rectangle = __assign({}, this.annoRect, rectangle);
7398
+ rectangle = __assign(__assign({}, this.annoRect), rectangle);
6071
7399
  this.update.emit(__assign({}, rectangle));
6072
7400
  }
6073
7401
  };
@@ -6140,6 +7468,55 @@ var RectangleComponent = /** @class */ (function () {
6140
7468
  };
6141
7469
  return RectangleComponent;
6142
7470
  }());
7471
+ if (false) {
7472
+ /** @type {?} */
7473
+ RectangleComponent.prototype.color;
7474
+ /** @type {?} */
7475
+ RectangleComponent.prototype.zoom;
7476
+ /** @type {?} */
7477
+ RectangleComponent.prototype.rotate;
7478
+ /** @type {?} */
7479
+ RectangleComponent.prototype.editable;
7480
+ /** @type {?} */
7481
+ RectangleComponent.prototype.pageHeight;
7482
+ /** @type {?} */
7483
+ RectangleComponent.prototype.pageWidth;
7484
+ /** @type {?} */
7485
+ RectangleComponent.prototype.select;
7486
+ /** @type {?} */
7487
+ RectangleComponent.prototype.update;
7488
+ /** @type {?} */
7489
+ RectangleComponent.prototype.viewRect;
7490
+ /**
7491
+ * @type {?}
7492
+ * @private
7493
+ */
7494
+ RectangleComponent.prototype.subscriptions;
7495
+ /** @type {?} */
7496
+ RectangleComponent.prototype._selected;
7497
+ /** @type {?} */
7498
+ RectangleComponent.prototype.enableGrabNDrag;
7499
+ /** @type {?} */
7500
+ RectangleComponent.prototype.height;
7501
+ /** @type {?} */
7502
+ RectangleComponent.prototype.width;
7503
+ /** @type {?} */
7504
+ RectangleComponent.prototype.top;
7505
+ /** @type {?} */
7506
+ RectangleComponent.prototype.left;
7507
+ /** @type {?} */
7508
+ RectangleComponent.prototype._annoRect;
7509
+ /**
7510
+ * @type {?}
7511
+ * @private
7512
+ */
7513
+ RectangleComponent.prototype.toolbarEvents;
7514
+ /**
7515
+ * @type {?}
7516
+ * @private
7517
+ */
7518
+ RectangleComponent.prototype.highlightService;
7519
+ }
6143
7520
 
6144
7521
  /**
6145
7522
  * @fileoverview added by tsickle
@@ -6203,17 +7580,17 @@ var TagsServices = /** @class */ (function () {
6203
7580
  * @return {?}
6204
7581
  */
6205
7582
  function (items, annoId) {
6206
- var _this = this;
6207
7583
  var _a;
7584
+ var _this = this;
6208
7585
  /** @type {?} */
6209
7586
  var snakeCased = items.map((/**
6210
7587
  * @param {?} item
6211
7588
  * @return {?}
6212
7589
  */
6213
7590
  function (item) {
6214
- return __assign({}, item, { name: _this.snakeCase(item.name) });
7591
+ return __assign(__assign({}, item), { name: _this.snakeCase(item.name) });
6215
7592
  }));
6216
- this.tagItems = __assign({}, this.tagItems, (_a = {}, _a[annoId] = snakeCased, _a));
7593
+ this.tagItems = __assign(__assign({}, this.tagItems), (_a = {}, _a[annoId] = snakeCased, _a));
6217
7594
  };
6218
7595
  TagsServices.decorators = [
6219
7596
  { type: Injectable }
@@ -6224,6 +7601,20 @@ var TagsServices = /** @class */ (function () {
6224
7601
  ]; };
6225
7602
  return TagsServices;
6226
7603
  }());
7604
+ if (false) {
7605
+ /** @type {?} */
7606
+ TagsServices.prototype.tagItems;
7607
+ /**
7608
+ * @type {?}
7609
+ * @private
7610
+ */
7611
+ TagsServices.prototype.snakeCase;
7612
+ /**
7613
+ * @type {?}
7614
+ * @private
7615
+ */
7616
+ TagsServices.prototype.http;
7617
+ }
6227
7618
 
6228
7619
  /**
6229
7620
  * @fileoverview added by tsickle
@@ -6489,6 +7880,86 @@ var CommentComponent = /** @class */ (function () {
6489
7880
  };
6490
7881
  return CommentComponent;
6491
7882
  }());
7883
+ if (false) {
7884
+ /** @type {?} */
7885
+ CommentComponent.prototype.CHAR_LIMIT;
7886
+ /** @type {?} */
7887
+ CommentComponent.prototype.lastUpdate;
7888
+ /** @type {?} */
7889
+ CommentComponent.prototype.originalComment;
7890
+ /** @type {?} */
7891
+ CommentComponent.prototype.fullComment;
7892
+ /** @type {?} */
7893
+ CommentComponent.prototype.author;
7894
+ /** @type {?} */
7895
+ CommentComponent.prototype.createdBy;
7896
+ /** @type {?} */
7897
+ CommentComponent.prototype.editor;
7898
+ /** @type {?} */
7899
+ CommentComponent.prototype._comment;
7900
+ /** @type {?} */
7901
+ CommentComponent.prototype._editable;
7902
+ /** @type {?} */
7903
+ CommentComponent.prototype._rectangle;
7904
+ /** @type {?} */
7905
+ CommentComponent.prototype.totalPrevPagesHeight;
7906
+ /** @type {?} */
7907
+ CommentComponent.prototype.rectTop;
7908
+ /** @type {?} */
7909
+ CommentComponent.prototype.rectLeft;
7910
+ /** @type {?} */
7911
+ CommentComponent.prototype.pageHeight;
7912
+ /** @type {?} */
7913
+ CommentComponent.prototype.hasUnsavedChanges;
7914
+ /** @type {?} */
7915
+ CommentComponent.prototype.selected;
7916
+ /** @type {?} */
7917
+ CommentComponent.prototype.searchString;
7918
+ /** @type {?} */
7919
+ CommentComponent.prototype.tagItems;
7920
+ /** @type {?} */
7921
+ CommentComponent.prototype.commentClick;
7922
+ /** @type {?} */
7923
+ CommentComponent.prototype.renderComments;
7924
+ /** @type {?} */
7925
+ CommentComponent.prototype.delete;
7926
+ /** @type {?} */
7927
+ CommentComponent.prototype.updated;
7928
+ /** @type {?} */
7929
+ CommentComponent.prototype.changes;
7930
+ /** @type {?} */
7931
+ CommentComponent.prototype.rotate;
7932
+ /** @type {?} */
7933
+ CommentComponent.prototype.zoom;
7934
+ /** @type {?} */
7935
+ CommentComponent.prototype.index;
7936
+ /** @type {?} */
7937
+ CommentComponent.prototype.page;
7938
+ /** @type {?} */
7939
+ CommentComponent.prototype.form;
7940
+ /** @type {?} */
7941
+ CommentComponent.prototype.editableComment;
7942
+ /**
7943
+ * @type {?}
7944
+ * @private
7945
+ */
7946
+ CommentComponent.prototype.subscriptions;
7947
+ /**
7948
+ * @type {?}
7949
+ * @private
7950
+ */
7951
+ CommentComponent.prototype.store;
7952
+ /**
7953
+ * @type {?}
7954
+ * @private
7955
+ */
7956
+ CommentComponent.prototype.commentService;
7957
+ /**
7958
+ * @type {?}
7959
+ * @private
7960
+ */
7961
+ CommentComponent.prototype.tagsServices;
7962
+ }
6492
7963
 
6493
7964
  /**
6494
7965
  * @fileoverview added by tsickle
@@ -6664,6 +8135,44 @@ var CtxToolbarComponent = /** @class */ (function () {
6664
8135
  };
6665
8136
  return CtxToolbarComponent;
6666
8137
  }());
8138
+ if (false) {
8139
+ /** @type {?} */
8140
+ CtxToolbarComponent.prototype.defaultHeight;
8141
+ /** @type {?} */
8142
+ CtxToolbarComponent.prototype.defaultWidth;
8143
+ /** @type {?} */
8144
+ CtxToolbarComponent.prototype.zoom;
8145
+ /** @type {?} */
8146
+ CtxToolbarComponent.prototype.rotate;
8147
+ /** @type {?} */
8148
+ CtxToolbarComponent.prototype.pageHeight;
8149
+ /** @type {?} */
8150
+ CtxToolbarComponent.prototype.pageWidth;
8151
+ /** @type {?} */
8152
+ CtxToolbarComponent.prototype.canHighlight;
8153
+ /** @type {?} */
8154
+ CtxToolbarComponent.prototype.canBookmark;
8155
+ /** @type {?} */
8156
+ CtxToolbarComponent.prototype.canComment;
8157
+ /** @type {?} */
8158
+ CtxToolbarComponent.prototype.canDelete;
8159
+ /** @type {?} */
8160
+ CtxToolbarComponent.prototype.createHighlightEvent;
8161
+ /** @type {?} */
8162
+ CtxToolbarComponent.prototype.deleteHighlightEvent;
8163
+ /** @type {?} */
8164
+ CtxToolbarComponent.prototype.addOrEditCommentEvent;
8165
+ /** @type {?} */
8166
+ CtxToolbarComponent.prototype.createBookmarkEvent;
8167
+ /** @type {?} */
8168
+ CtxToolbarComponent.prototype.rectangle;
8169
+ /** @type {?} */
8170
+ CtxToolbarComponent.prototype._rectangles;
8171
+ /** @type {?} */
8172
+ CtxToolbarComponent.prototype.top;
8173
+ /** @type {?} */
8174
+ CtxToolbarComponent.prototype.left;
8175
+ }
6667
8176
 
6668
8177
  /**
6669
8178
  * @fileoverview added by tsickle
@@ -6940,7 +8449,7 @@ var CommentSetComponent = /** @class */ (function () {
6940
8449
  /** @type {?} */
6941
8450
  var comments = [];
6942
8451
  /** @type {?} */
6943
- var annot = __assign({}, annotation, { comments: comments });
8452
+ var annot = __assign(__assign({}, annotation), { comments: comments });
6944
8453
  this.onAnnotationUpdate(annot);
6945
8454
  this.redrawComments();
6946
8455
  };
@@ -6998,7 +8507,7 @@ var CommentSetComponent = /** @class */ (function () {
6998
8507
  /** @type {?} */
6999
8508
  var tags = payload.tags;
7000
8509
  /** @type {?} */
7001
- var annot = __assign({}, annotation, { comments: comments,
8510
+ var annot = __assign(__assign({}, annotation), { comments: comments,
7002
8511
  tags: tags });
7003
8512
  this.onAnnotationUpdate(annot);
7004
8513
  };
@@ -7070,6 +8579,61 @@ var CommentSetComponent = /** @class */ (function () {
7070
8579
  };
7071
8580
  return CommentSetComponent;
7072
8581
  }());
8582
+ if (false) {
8583
+ /** @type {?} */
8584
+ CommentSetComponent.prototype.annotationSet;
8585
+ /** @type {?} */
8586
+ CommentSetComponent.prototype.zoom;
8587
+ /** @type {?} */
8588
+ CommentSetComponent.prototype.rotate;
8589
+ /** @type {?} */
8590
+ CommentSetComponent.prototype.height;
8591
+ /** @type {?} */
8592
+ CommentSetComponent.prototype.pageHeights;
8593
+ /** @type {?} */
8594
+ CommentSetComponent.prototype.contentScrollTop;
8595
+ /** @type {?} */
8596
+ CommentSetComponent.prototype.comments;
8597
+ /** @type {?} */
8598
+ CommentSetComponent.prototype.tags;
8599
+ /**
8600
+ * @type {?}
8601
+ * @private
8602
+ */
8603
+ CommentSetComponent.prototype.subscriptions;
8604
+ /** @type {?} */
8605
+ CommentSetComponent.prototype.comments$;
8606
+ /** @type {?} */
8607
+ CommentSetComponent.prototype.annoEntities$;
8608
+ /** @type {?} */
8609
+ CommentSetComponent.prototype.container;
8610
+ /** @type {?} */
8611
+ CommentSetComponent.prototype.panel;
8612
+ /** @type {?} */
8613
+ CommentSetComponent.prototype.commentComponents;
8614
+ /** @type {?} */
8615
+ CommentSetComponent.prototype.showCommentsPanel;
8616
+ /**
8617
+ * @type {?}
8618
+ * @private
8619
+ */
8620
+ CommentSetComponent.prototype.store;
8621
+ /**
8622
+ * @type {?}
8623
+ * @private
8624
+ */
8625
+ CommentSetComponent.prototype.commentService;
8626
+ /**
8627
+ * @type {?}
8628
+ * @private
8629
+ */
8630
+ CommentSetComponent.prototype.renderService;
8631
+ /**
8632
+ * @type {?}
8633
+ * @private
8634
+ */
8635
+ CommentSetComponent.prototype.toolbarEvents;
8636
+ }
7073
8637
 
7074
8638
  /**
7075
8639
  * @fileoverview added by tsickle
@@ -7124,6 +8688,13 @@ var TextareaAutoExpandDirective = /** @class */ (function () {
7124
8688
  };
7125
8689
  return TextareaAutoExpandDirective;
7126
8690
  }());
8691
+ if (false) {
8692
+ /**
8693
+ * @type {?}
8694
+ * @private
8695
+ */
8696
+ TextareaAutoExpandDirective.prototype.el;
8697
+ }
7127
8698
 
7128
8699
  /**
7129
8700
  * @fileoverview added by tsickle
@@ -7233,7 +8804,7 @@ var CommentsSummaryComponent = /** @class */ (function () {
7233
8804
  /** @type {?} */
7234
8805
  var dateRangeTo = hasDateTo ?
7235
8806
  new Date(value.dateRangeTo.year, value.dateRangeTo.month - 1, value.dateRangeTo.day).getTime() : null;
7236
- this.store.dispatch(new ApplyCommentSymmaryFilter(__assign({}, value, { dateRangeFrom: dateRangeFrom, dateRangeTo: dateRangeTo })));
8807
+ this.store.dispatch(new ApplyCommentSymmaryFilter(__assign(__assign({}, value), { dateRangeFrom: dateRangeFrom, dateRangeTo: dateRangeTo })));
7237
8808
  };
7238
8809
  /**
7239
8810
  * @return {?}
@@ -7307,6 +8878,51 @@ var CommentsSummaryComponent = /** @class */ (function () {
7307
8878
  };
7308
8879
  return CommentsSummaryComponent;
7309
8880
  }());
8881
+ if (false) {
8882
+ /** @type {?} */
8883
+ CommentsSummaryComponent.prototype.title;
8884
+ /** @type {?} */
8885
+ CommentsSummaryComponent.prototype.contentType;
8886
+ /** @type {?} */
8887
+ CommentsSummaryComponent.prototype.container;
8888
+ /** @type {?} */
8889
+ CommentsSummaryComponent.prototype.commentsTable;
8890
+ /** @type {?} */
8891
+ CommentsSummaryComponent.prototype.comments$;
8892
+ /** @type {?} */
8893
+ CommentsSummaryComponent.prototype.filtersFg;
8894
+ /**
8895
+ * @type {?}
8896
+ * @private
8897
+ */
8898
+ CommentsSummaryComponent.prototype.$subscriptions;
8899
+ /** @type {?} */
8900
+ CommentsSummaryComponent.prototype.allTags$;
8901
+ /** @type {?} */
8902
+ CommentsSummaryComponent.prototype.showFilters;
8903
+ /** @type {?} */
8904
+ CommentsSummaryComponent.prototype.hasFilter;
8905
+ /**
8906
+ * @type {?}
8907
+ * @private
8908
+ */
8909
+ CommentsSummaryComponent.prototype.store;
8910
+ /**
8911
+ * @type {?}
8912
+ * @private
8913
+ */
8914
+ CommentsSummaryComponent.prototype.printService;
8915
+ /**
8916
+ * @type {?}
8917
+ * @private
8918
+ */
8919
+ CommentsSummaryComponent.prototype.toolbarEvents;
8920
+ /**
8921
+ * @type {?}
8922
+ * @private
8923
+ */
8924
+ CommentsSummaryComponent.prototype.fb;
8925
+ }
7310
8926
 
7311
8927
  /**
7312
8928
  * @fileoverview added by tsickle
@@ -7459,6 +9075,63 @@ var BoxHighlightCreateComponent = /** @class */ (function () {
7459
9075
  };
7460
9076
  return BoxHighlightCreateComponent;
7461
9077
  }());
9078
+ if (false) {
9079
+ /** @type {?} */
9080
+ BoxHighlightCreateComponent.prototype.page;
9081
+ /** @type {?} */
9082
+ BoxHighlightCreateComponent.prototype.pageHeight;
9083
+ /** @type {?} */
9084
+ BoxHighlightCreateComponent.prototype.pageWidth;
9085
+ /** @type {?} */
9086
+ BoxHighlightCreateComponent.prototype.rotate;
9087
+ /** @type {?} */
9088
+ BoxHighlightCreateComponent.prototype.zoom;
9089
+ /** @type {?} */
9090
+ BoxHighlightCreateComponent.prototype.container;
9091
+ /** @type {?} */
9092
+ BoxHighlightCreateComponent.prototype.saveSelection;
9093
+ /** @type {?} */
9094
+ BoxHighlightCreateComponent.prototype.highlight;
9095
+ /** @type {?} */
9096
+ BoxHighlightCreateComponent.prototype.drawStartX;
9097
+ /** @type {?} */
9098
+ BoxHighlightCreateComponent.prototype.drawStartY;
9099
+ /** @type {?} */
9100
+ BoxHighlightCreateComponent.prototype.top;
9101
+ /** @type {?} */
9102
+ BoxHighlightCreateComponent.prototype.left;
9103
+ /** @type {?} */
9104
+ BoxHighlightCreateComponent.prototype.height;
9105
+ /** @type {?} */
9106
+ BoxHighlightCreateComponent.prototype.width;
9107
+ /** @type {?} */
9108
+ BoxHighlightCreateComponent.prototype.display;
9109
+ /** @type {?} */
9110
+ BoxHighlightCreateComponent.prototype.drawMode;
9111
+ /** @type {?} */
9112
+ BoxHighlightCreateComponent.prototype.defaultHeight;
9113
+ /** @type {?} */
9114
+ BoxHighlightCreateComponent.prototype.defaultWidth;
9115
+ /** @type {?} */
9116
+ BoxHighlightCreateComponent.prototype.position;
9117
+ /** @type {?} */
9118
+ BoxHighlightCreateComponent.prototype.backgroundColor;
9119
+ /**
9120
+ * @type {?}
9121
+ * @private
9122
+ */
9123
+ BoxHighlightCreateComponent.prototype.subscriptions;
9124
+ /**
9125
+ * @type {?}
9126
+ * @private
9127
+ */
9128
+ BoxHighlightCreateComponent.prototype.toolbarEvents;
9129
+ /**
9130
+ * @type {?}
9131
+ * @private
9132
+ */
9133
+ BoxHighlightCreateComponent.prototype.highlightService;
9134
+ }
7462
9135
 
7463
9136
  /**
7464
9137
  * @fileoverview added by tsickle
@@ -7499,7 +9172,7 @@ var CommentSetHeaderComponent = /** @class */ (function () {
7499
9172
  * @return {?}
7500
9173
  */
7501
9174
  function (tab) {
7502
- return !_this.isFiltered && tab.label === 'filter' ? __assign({}, tab, { isFiltered: true }) : __assign({}, tab, { isFiltered: false });
9175
+ return !_this.isFiltered && tab.label === 'filter' ? __assign(__assign({}, tab), { isFiltered: true }) : __assign(__assign({}, tab), { isFiltered: false });
7503
9176
  }));
7504
9177
  }));
7505
9178
  };
@@ -7559,6 +9232,29 @@ var CommentSetHeaderComponent = /** @class */ (function () {
7559
9232
  };
7560
9233
  return CommentSetHeaderComponent;
7561
9234
  }());
9235
+ if (false) {
9236
+ /** @type {?} */
9237
+ CommentSetHeaderComponent.prototype.showCommentSummary;
9238
+ /** @type {?} */
9239
+ CommentSetHeaderComponent.prototype.showCommentSummaryDialog;
9240
+ /** @type {?} */
9241
+ CommentSetHeaderComponent.prototype.tabs;
9242
+ /** @type {?} */
9243
+ CommentSetHeaderComponent.prototype.tabSelected;
9244
+ /** @type {?} */
9245
+ CommentSetHeaderComponent.prototype.isFiltered;
9246
+ /** @type {?} */
9247
+ CommentSetHeaderComponent.prototype.navigationList;
9248
+ /** @type {?} */
9249
+ CommentSetHeaderComponent.prototype.$subscriptions;
9250
+ /**
9251
+ * @type {?}
9252
+ * @private
9253
+ */
9254
+ CommentSetHeaderComponent.prototype.store;
9255
+ /** @type {?} */
9256
+ CommentSetHeaderComponent.prototype.toolbarEvents;
9257
+ }
7562
9258
 
7563
9259
  /**
7564
9260
  * @fileoverview added by tsickle
@@ -7655,6 +9351,23 @@ var CommentSearchComponent = /** @class */ (function () {
7655
9351
  };
7656
9352
  return CommentSearchComponent;
7657
9353
  }());
9354
+ if (false) {
9355
+ /** @type {?} */
9356
+ CommentSearchComponent.prototype.annotations;
9357
+ /** @type {?} */
9358
+ CommentSearchComponent.prototype.searchInput;
9359
+ /** @type {?} */
9360
+ CommentSearchComponent.prototype.searchString;
9361
+ /** @type {?} */
9362
+ CommentSearchComponent.prototype.searchResults;
9363
+ /** @type {?} */
9364
+ CommentSearchComponent.prototype.searchIndex;
9365
+ /**
9366
+ * @type {?}
9367
+ * @private
9368
+ */
9369
+ CommentSearchComponent.prototype.store;
9370
+ }
7658
9371
 
7659
9372
  /**
7660
9373
  * @fileoverview added by tsickle
@@ -7742,6 +9455,15 @@ var TextHighlightDirective = /** @class */ (function () {
7742
9455
  };
7743
9456
  return TextHighlightDirective;
7744
9457
  }());
9458
+ if (false) {
9459
+ /** @type {?} */
9460
+ TextHighlightDirective.prototype.textToHighlight;
9461
+ /**
9462
+ * @type {?}
9463
+ * @private
9464
+ */
9465
+ TextHighlightDirective.prototype.element;
9466
+ }
7745
9467
 
7746
9468
  /**
7747
9469
  * @fileoverview added by tsickle
@@ -7830,6 +9552,27 @@ var TagsComponent = /** @class */ (function () {
7830
9552
  };
7831
9553
  return TagsComponent;
7832
9554
  }());
9555
+ if (false) {
9556
+ /** @type {?} */
9557
+ TagsComponent.prototype.tagItems;
9558
+ /** @type {?} */
9559
+ TagsComponent.prototype.userId;
9560
+ /** @type {?} */
9561
+ TagsComponent.prototype.editable;
9562
+ /** @type {?} */
9563
+ TagsComponent.prototype.annoId;
9564
+ /** @type {?} */
9565
+ TagsComponent.prototype.validators;
9566
+ /** @type {?} */
9567
+ TagsComponent.prototype.errorMessages;
9568
+ /** @type {?} */
9569
+ TagsComponent.prototype.requestAutocompleteItems;
9570
+ /**
9571
+ * @type {?}
9572
+ * @private
9573
+ */
9574
+ TagsComponent.prototype.tagsServices;
9575
+ }
7833
9576
 
7834
9577
  /**
7835
9578
  * @fileoverview added by tsickle
@@ -7981,6 +9724,23 @@ var CommentsNavigateComponent = /** @class */ (function () {
7981
9724
  };
7982
9725
  return CommentsNavigateComponent;
7983
9726
  }());
9727
+ if (false) {
9728
+ /** @type {?} */
9729
+ CommentsNavigateComponent.prototype.annotationList;
9730
+ /** @type {?} */
9731
+ CommentsNavigateComponent.prototype.autoSelect;
9732
+ /** @type {?} */
9733
+ CommentsNavigateComponent.prototype.navigationList;
9734
+ /** @type {?} */
9735
+ CommentsNavigateComponent.prototype.index;
9736
+ /**
9737
+ * @type {?}
9738
+ * @private
9739
+ */
9740
+ CommentsNavigateComponent.prototype.store;
9741
+ /** @type {?} */
9742
+ CommentsNavigateComponent.prototype.toolbarEvents;
9743
+ }
7984
9744
 
7985
9745
  /**
7986
9746
  * @fileoverview added by tsickle
@@ -8095,6 +9855,30 @@ var CommentFilterComponent = /** @class */ (function () {
8095
9855
  ]; };
8096
9856
  return CommentFilterComponent;
8097
9857
  }());
9858
+ if (false) {
9859
+ /** @type {?} */
9860
+ CommentFilterComponent.prototype.tagGroup;
9861
+ /** @type {?} */
9862
+ CommentFilterComponent.prototype.$subscriptions;
9863
+ /** @type {?} */
9864
+ CommentFilterComponent.prototype.filter$;
9865
+ /** @type {?} */
9866
+ CommentFilterComponent.prototype.allTags$;
9867
+ /** @type {?} */
9868
+ CommentFilterComponent.prototype.searchValue;
9869
+ /** @type {?} */
9870
+ CommentFilterComponent.prototype.isPreview;
9871
+ /**
9872
+ * @type {?}
9873
+ * @private
9874
+ */
9875
+ CommentFilterComponent.prototype.store;
9876
+ /**
9877
+ * @type {?}
9878
+ * @private
9879
+ */
9880
+ CommentFilterComponent.prototype.fb;
9881
+ }
8098
9882
 
8099
9883
  /**
8100
9884
  * @fileoverview added by tsickle
@@ -8254,6 +10038,18 @@ var BookmarksApiService = /** @class */ (function () {
8254
10038
  ]; };
8255
10039
  return BookmarksApiService;
8256
10040
  }());
10041
+ if (false) {
10042
+ /**
10043
+ * @type {?}
10044
+ * @private
10045
+ */
10046
+ BookmarksApiService.prototype.ANNOTATIONS_API;
10047
+ /**
10048
+ * @type {?}
10049
+ * @private
10050
+ */
10051
+ BookmarksApiService.prototype.httpClient;
10052
+ }
8257
10053
 
8258
10054
  /**
8259
10055
  * @fileoverview added by tsickle
@@ -8357,6 +10153,14 @@ var GovUkDateComponent = /** @class */ (function () {
8357
10153
  };
8358
10154
  return GovUkDateComponent;
8359
10155
  }());
10156
+ if (false) {
10157
+ /** @type {?} */
10158
+ GovUkDateComponent.prototype.config;
10159
+ /** @type {?} */
10160
+ GovUkDateComponent.prototype.errorMessage;
10161
+ /** @type {?} */
10162
+ GovUkDateComponent.prototype.formGroup;
10163
+ }
8360
10164
 
8361
10165
  /**
8362
10166
  * @fileoverview added by tsickle
@@ -8385,6 +10189,12 @@ var GovUkErrorMessageComponent = /** @class */ (function () {
8385
10189
  };
8386
10190
  return GovUkErrorMessageComponent;
8387
10191
  }());
10192
+ if (false) {
10193
+ /** @type {?} */
10194
+ GovUkErrorMessageComponent.prototype.config;
10195
+ /** @type {?} */
10196
+ GovUkErrorMessageComponent.prototype.errorMessage;
10197
+ }
8388
10198
 
8389
10199
  /**
8390
10200
  * @fileoverview added by tsickle
@@ -8458,6 +10268,14 @@ var GovUkFieldsetComponent = /** @class */ (function () {
8458
10268
  };
8459
10269
  return GovUkFieldsetComponent;
8460
10270
  }());
10271
+ if (false) {
10272
+ /** @type {?} */
10273
+ GovUkFieldsetComponent.prototype.config;
10274
+ /** @type {?} */
10275
+ GovUkFieldsetComponent.prototype.isHeading;
10276
+ /** @type {?} */
10277
+ GovUkFieldsetComponent.prototype.errorMessage;
10278
+ }
8461
10279
 
8462
10280
  /**
8463
10281
  * @fileoverview added by tsickle
@@ -8485,6 +10303,10 @@ var GovUkLabelComponent = /** @class */ (function () {
8485
10303
  };
8486
10304
  return GovUkLabelComponent;
8487
10305
  }());
10306
+ if (false) {
10307
+ /** @type {?} */
10308
+ GovUkLabelComponent.prototype.config;
10309
+ }
8488
10310
 
8489
10311
  /**
8490
10312
  * @fileoverview added by tsickle
@@ -8698,7 +10520,7 @@ var MetadataLayerComponent = /** @class */ (function () {
8698
10520
  function (bookmarkInfo) {
8699
10521
  /** @type {?} */
8700
10522
  var selection = window.getSelection().toString();
8701
- _this.store.dispatch(new CreateBookmark((/** @type {?} */ (__assign({}, bookmarkInfo, { name: selection.length > 0 ? selection.substr(0, 30) : 'new bookmark', id: uuid$1(), pageNumber: _this.highlightPage - 1, xCoordinate: rectangle.x, yCoordinate: rectangle.y })))));
10523
+ _this.store.dispatch(new CreateBookmark((/** @type {?} */ (__assign(__assign({}, bookmarkInfo), { name: selection.length > 0 ? selection.substr(0, 30) : 'new bookmark', id: uuid$1(), pageNumber: _this.highlightPage - 1, xCoordinate: rectangle.x, yCoordinate: rectangle.y })))));
8702
10524
  _this.toolbarEvents.toggleSideBar(true);
8703
10525
  _this.highlightService.resetHighlight();
8704
10526
  _this.rectangles = undefined;
@@ -8736,6 +10558,47 @@ var MetadataLayerComponent = /** @class */ (function () {
8736
10558
  };
8737
10559
  return MetadataLayerComponent;
8738
10560
  }());
10561
+ if (false) {
10562
+ /** @type {?} */
10563
+ MetadataLayerComponent.prototype.zoom;
10564
+ /** @type {?} */
10565
+ MetadataLayerComponent.prototype.rotate;
10566
+ /** @type {?} */
10567
+ MetadataLayerComponent.prototype.pages;
10568
+ /** @type {?} */
10569
+ MetadataLayerComponent.prototype.annoPages$;
10570
+ /** @type {?} */
10571
+ MetadataLayerComponent.prototype.drawMode;
10572
+ /** @type {?} */
10573
+ MetadataLayerComponent.prototype.highlightPage;
10574
+ /** @type {?} */
10575
+ MetadataLayerComponent.prototype.rectangles;
10576
+ /**
10577
+ * @type {?}
10578
+ * @private
10579
+ */
10580
+ MetadataLayerComponent.prototype.$subscriptions;
10581
+ /**
10582
+ * @type {?}
10583
+ * @private
10584
+ */
10585
+ MetadataLayerComponent.prototype.store;
10586
+ /**
10587
+ * @type {?}
10588
+ * @private
10589
+ */
10590
+ MetadataLayerComponent.prototype.highlightService;
10591
+ /**
10592
+ * @type {?}
10593
+ * @private
10594
+ */
10595
+ MetadataLayerComponent.prototype.toolbarEvents;
10596
+ /**
10597
+ * @type {?}
10598
+ * @private
10599
+ */
10600
+ MetadataLayerComponent.prototype.viewerEvents;
10601
+ }
8739
10602
 
8740
10603
  /**
8741
10604
  * @fileoverview added by tsickle
@@ -8888,6 +10751,24 @@ var GrabNDragDirective = /** @class */ (function () {
8888
10751
  };
8889
10752
  return GrabNDragDirective;
8890
10753
  }());
10754
+ if (false) {
10755
+ /** @type {?} */
10756
+ GrabNDragDirective.prototype.originalPosition;
10757
+ /**
10758
+ * @type {?}
10759
+ * @private
10760
+ */
10761
+ GrabNDragDirective.prototype.pointerDown;
10762
+ /** @type {?} */
10763
+ GrabNDragDirective.prototype.dragEnabled;
10764
+ /** @type {?} */
10765
+ GrabNDragDirective.prototype.dragX;
10766
+ /**
10767
+ * @type {?}
10768
+ * @private
10769
+ */
10770
+ GrabNDragDirective.prototype.el;
10771
+ }
8891
10772
 
8892
10773
  /**
8893
10774
  * @fileoverview added by tsickle
@@ -8974,7 +10855,7 @@ var SideBarComponent = /** @class */ (function () {
8974
10855
  * @return {?}
8975
10856
  */
8976
10857
  function (bookmarkInfo) {
8977
- _this.store.dispatch(new CreateBookmark((/** @type {?} */ (__assign({}, bookmarkInfo, { name: 'new bookmark', id: uuid$1() })))));
10858
+ _this.store.dispatch(new CreateBookmark((/** @type {?} */ (__assign(__assign({}, bookmarkInfo), { name: 'new bookmark', id: uuid$1() })))));
8978
10859
  }));
8979
10860
  };
8980
10861
  SideBarComponent.decorators = [
@@ -8997,6 +10878,34 @@ var SideBarComponent = /** @class */ (function () {
8997
10878
  };
8998
10879
  return SideBarComponent;
8999
10880
  }());
10881
+ if (false) {
10882
+ /** @type {?} */
10883
+ SideBarComponent.prototype.annotationsEnabled;
10884
+ /** @type {?} */
10885
+ SideBarComponent.prototype.outline;
10886
+ /** @type {?} */
10887
+ SideBarComponent.prototype.url;
10888
+ /** @type {?} */
10889
+ SideBarComponent.prototype.zoom;
10890
+ /** @type {?} */
10891
+ SideBarComponent.prototype.rotate;
10892
+ /** @type {?} */
10893
+ SideBarComponent.prototype.selectedView;
10894
+ /** @type {?} */
10895
+ SideBarComponent.prototype.bookmarkNodes$;
10896
+ /** @type {?} */
10897
+ SideBarComponent.prototype.$subscription;
10898
+ /**
10899
+ * @type {?}
10900
+ * @private
10901
+ */
10902
+ SideBarComponent.prototype.viewerEvents;
10903
+ /**
10904
+ * @type {?}
10905
+ * @private
10906
+ */
10907
+ SideBarComponent.prototype.store;
10908
+ }
9000
10909
 
9001
10910
  /**
9002
10911
  * @fileoverview added by tsickle
@@ -9049,6 +10958,14 @@ var OutlineItemComponent = /** @class */ (function () {
9049
10958
  };
9050
10959
  return OutlineItemComponent;
9051
10960
  }());
10961
+ if (false) {
10962
+ /** @type {?} */
10963
+ OutlineItemComponent.prototype.outline;
10964
+ /** @type {?} */
10965
+ OutlineItemComponent.prototype.navigationEvent;
10966
+ /** @type {?} */
10967
+ OutlineItemComponent.prototype.showOutlineItems;
10968
+ }
9052
10969
 
9053
10970
  /**
9054
10971
  * @fileoverview added by tsickle
@@ -9246,6 +11163,42 @@ var RedactionComponent = /** @class */ (function () {
9246
11163
  };
9247
11164
  return RedactionComponent;
9248
11165
  }());
11166
+ if (false) {
11167
+ /** @type {?} */
11168
+ RedactionComponent.prototype.zoom;
11169
+ /** @type {?} */
11170
+ RedactionComponent.prototype.rotate;
11171
+ /** @type {?} */
11172
+ RedactionComponent.prototype.redactionsPerPage$;
11173
+ /** @type {?} */
11174
+ RedactionComponent.prototype.selectedRedaction$;
11175
+ /** @type {?} */
11176
+ RedactionComponent.prototype.rectangles;
11177
+ /** @type {?} */
11178
+ RedactionComponent.prototype.drawMode;
11179
+ /** @type {?} */
11180
+ RedactionComponent.prototype.documentId;
11181
+ /**
11182
+ * @type {?}
11183
+ * @private
11184
+ */
11185
+ RedactionComponent.prototype.$subscription;
11186
+ /**
11187
+ * @type {?}
11188
+ * @private
11189
+ */
11190
+ RedactionComponent.prototype.store;
11191
+ /**
11192
+ * @type {?}
11193
+ * @private
11194
+ */
11195
+ RedactionComponent.prototype.viewerEvents;
11196
+ /**
11197
+ * @type {?}
11198
+ * @private
11199
+ */
11200
+ RedactionComponent.prototype.toolbarEvents;
11201
+ }
9249
11202
 
9250
11203
  /**
9251
11204
  * @fileoverview added by tsickle
@@ -9282,6 +11235,15 @@ var IcpSessionApiService = /** @class */ (function () {
9282
11235
  ]; };
9283
11236
  return IcpSessionApiService;
9284
11237
  }());
11238
+ if (false) {
11239
+ /** @type {?} */
11240
+ IcpSessionApiService.prototype.ICP_SESSION_API;
11241
+ /**
11242
+ * @type {?}
11243
+ * @private
11244
+ */
11245
+ IcpSessionApiService.prototype.httpClient;
11246
+ }
9285
11247
 
9286
11248
  /**
9287
11249
  * @fileoverview added by tsickle
@@ -9409,6 +11371,17 @@ var SocketService = /** @class */ (function () {
9409
11371
  SocketService.ctorParameters = function () { return []; };
9410
11372
  return SocketService;
9411
11373
  }());
11374
+ if (false) {
11375
+ /**
11376
+ * @type {?}
11377
+ * @private
11378
+ */
11379
+ SocketService.prototype.socket;
11380
+ /** @type {?} */
11381
+ SocketService.prototype.subscription;
11382
+ /** @type {?} */
11383
+ SocketService.prototype.connected$;
11384
+ }
9412
11385
 
9413
11386
  /**
9414
11387
  * @fileoverview added by tsickle
@@ -9440,7 +11413,7 @@ var IcpUpdateService = /** @class */ (function () {
9440
11413
  function (username, session) {
9441
11414
  this.session = session;
9442
11415
  this.socket.connect();
9443
- this.socket.join(__assign({}, this.session, { username: username }));
11416
+ this.socket.join(__assign(__assign({}, this.session), { username: username }));
9444
11417
  return this.socket.listen(this.SESSION_JOINED);
9445
11418
  };
9446
11419
  /**
@@ -9501,7 +11474,7 @@ var IcpUpdateService = /** @class */ (function () {
9501
11474
  * @return {?}
9502
11475
  */
9503
11476
  function (presenter) {
9504
- this.socket.emit(this.UPDATE_PRESENTER, __assign({}, this.session, { presenterId: presenter.id, presenterName: presenter.username }));
11477
+ this.socket.emit(this.UPDATE_PRESENTER, __assign(__assign({}, this.session), { presenterId: presenter.id, presenterName: presenter.username }));
9505
11478
  };
9506
11479
  /**
9507
11480
  * @return {?}
@@ -9531,18 +11504,45 @@ var IcpUpdateService = /** @class */ (function () {
9531
11504
  IcpUpdateService.prototype.screenUpdated = /**
9532
11505
  * @return {?}
9533
11506
  */
9534
- function () {
9535
- return this.socket.listen(this.SCREEN_UPDATED);
9536
- };
9537
- IcpUpdateService.decorators = [
9538
- { type: Injectable }
9539
- ];
9540
- /** @nocollapse */
9541
- IcpUpdateService.ctorParameters = function () { return [
9542
- { type: SocketService }
9543
- ]; };
9544
- return IcpUpdateService;
9545
- }());
11507
+ function () {
11508
+ return this.socket.listen(this.SCREEN_UPDATED);
11509
+ };
11510
+ IcpUpdateService.decorators = [
11511
+ { type: Injectable }
11512
+ ];
11513
+ /** @nocollapse */
11514
+ IcpUpdateService.ctorParameters = function () { return [
11515
+ { type: SocketService }
11516
+ ]; };
11517
+ return IcpUpdateService;
11518
+ }());
11519
+ if (false) {
11520
+ /** @type {?} */
11521
+ IcpUpdateService.prototype.SESSION_JOINED;
11522
+ /** @type {?} */
11523
+ IcpUpdateService.prototype.CLIENT_DISCONNECTED;
11524
+ /** @type {?} */
11525
+ IcpUpdateService.prototype.NEW_PARTICIPANT_JOINED;
11526
+ /** @type {?} */
11527
+ IcpUpdateService.prototype.REMOVE_PARTICIPANT;
11528
+ /** @type {?} */
11529
+ IcpUpdateService.prototype.PARTICIPANTS_UPDATED;
11530
+ /** @type {?} */
11531
+ IcpUpdateService.prototype.UPDATE_PRESENTER;
11532
+ /** @type {?} */
11533
+ IcpUpdateService.prototype.PRESENTER_UPDATED;
11534
+ /** @type {?} */
11535
+ IcpUpdateService.prototype.UPDATE_SCREEN;
11536
+ /** @type {?} */
11537
+ IcpUpdateService.prototype.SCREEN_UPDATED;
11538
+ /** @type {?} */
11539
+ IcpUpdateService.prototype.session;
11540
+ /**
11541
+ * @type {?}
11542
+ * @private
11543
+ */
11544
+ IcpUpdateService.prototype.socket;
11545
+ }
9546
11546
 
9547
11547
  /**
9548
11548
  * @fileoverview added by tsickle
@@ -9562,8 +11562,8 @@ var IcpPresenterService = /** @class */ (function () {
9562
11562
  * @param {?} isPresenter
9563
11563
  * @return {?}
9564
11564
  */
9565
- function (isPresenter$$1) {
9566
- if (isPresenter$$1) {
11565
+ function (isPresenter) {
11566
+ if (isPresenter) {
9567
11567
  this.subscribe();
9568
11568
  }
9569
11569
  else {
@@ -9646,6 +11646,31 @@ var IcpPresenterService = /** @class */ (function () {
9646
11646
  ]; };
9647
11647
  return IcpPresenterService;
9648
11648
  }());
11649
+ if (false) {
11650
+ /** @type {?} */
11651
+ IcpPresenterService.prototype.session;
11652
+ /** @type {?} */
11653
+ IcpPresenterService.prototype.presenter;
11654
+ /** @type {?} */
11655
+ IcpPresenterService.prototype.pdfPosition;
11656
+ /** @type {?} */
11657
+ IcpPresenterService.prototype.$subscription;
11658
+ /**
11659
+ * @type {?}
11660
+ * @private
11661
+ */
11662
+ IcpPresenterService.prototype.toolbarEvents;
11663
+ /**
11664
+ * @type {?}
11665
+ * @private
11666
+ */
11667
+ IcpPresenterService.prototype.socketService;
11668
+ /**
11669
+ * @type {?}
11670
+ * @private
11671
+ */
11672
+ IcpPresenterService.prototype.store;
11673
+ }
9649
11674
 
9650
11675
  /**
9651
11676
  * @fileoverview added by tsickle
@@ -9747,6 +11772,32 @@ var IcpFollowerService = /** @class */ (function () {
9747
11772
  ]; };
9748
11773
  return IcpFollowerService;
9749
11774
  }());
11775
+ if (false) {
11776
+ /** @type {?} */
11777
+ IcpFollowerService.prototype.session;
11778
+ /** @type {?} */
11779
+ IcpFollowerService.prototype.$subscription;
11780
+ /**
11781
+ * @type {?}
11782
+ * @private
11783
+ */
11784
+ IcpFollowerService.prototype.toolbarEvents;
11785
+ /**
11786
+ * @type {?}
11787
+ * @private
11788
+ */
11789
+ IcpFollowerService.prototype.viewerEvents;
11790
+ /**
11791
+ * @type {?}
11792
+ * @private
11793
+ */
11794
+ IcpFollowerService.prototype.socketService;
11795
+ /**
11796
+ * @type {?}
11797
+ * @private
11798
+ */
11799
+ IcpFollowerService.prototype.store;
11800
+ }
9750
11801
 
9751
11802
  /**
9752
11803
  * @fileoverview added by tsickle
@@ -9843,10 +11894,10 @@ var IcpService = /** @class */ (function () {
9843
11894
  * @param {?} isPresenter
9844
11895
  * @return {?}
9845
11896
  */
9846
- function (isPresenter$$1) {
9847
- _this.isPresenter = isPresenter$$1;
9848
- _this.presenterSubscriptions.update(isPresenter$$1);
9849
- _this.followerSubscriptions.update(!isPresenter$$1);
11897
+ function (isPresenter) {
11898
+ _this.isPresenter = isPresenter;
11899
+ _this.presenterSubscriptions.update(isPresenter);
11900
+ _this.followerSubscriptions.update(!isPresenter);
9850
11901
  })));
9851
11902
  this.sessionSubscription.add(this.socketService.clientDisconnected().subscribe((/**
9852
11903
  * @param {?} cli
@@ -9953,6 +12004,50 @@ var IcpService = /** @class */ (function () {
9953
12004
  ]; };
9954
12005
  return IcpService;
9955
12006
  }());
12007
+ if (false) {
12008
+ /** @type {?} */
12009
+ IcpService.prototype.caseId;
12010
+ /** @type {?} */
12011
+ IcpService.prototype.client;
12012
+ /** @type {?} */
12013
+ IcpService.prototype.presenter;
12014
+ /** @type {?} */
12015
+ IcpService.prototype.isPresenter;
12016
+ /** @type {?} */
12017
+ IcpService.prototype.subscription;
12018
+ /** @type {?} */
12019
+ IcpService.prototype.sessionSubscription;
12020
+ /**
12021
+ * @type {?}
12022
+ * @private
12023
+ */
12024
+ IcpService.prototype.toolbarEvents;
12025
+ /**
12026
+ * @type {?}
12027
+ * @private
12028
+ */
12029
+ IcpService.prototype.viewerEvents;
12030
+ /**
12031
+ * @type {?}
12032
+ * @private
12033
+ */
12034
+ IcpService.prototype.socketService;
12035
+ /**
12036
+ * @type {?}
12037
+ * @private
12038
+ */
12039
+ IcpService.prototype.presenterSubscriptions;
12040
+ /**
12041
+ * @type {?}
12042
+ * @private
12043
+ */
12044
+ IcpService.prototype.followerSubscriptions;
12045
+ /**
12046
+ * @type {?}
12047
+ * @private
12048
+ */
12049
+ IcpService.prototype.store;
12050
+ }
9956
12051
 
9957
12052
  /**
9958
12053
  * @fileoverview added by tsickle
@@ -10055,6 +12150,24 @@ var AnnotationEffects = /** @class */ (function () {
10055
12150
  ], AnnotationEffects.prototype, "deleteAnnotation$", void 0);
10056
12151
  return AnnotationEffects;
10057
12152
  }());
12153
+ if (false) {
12154
+ /** @type {?} */
12155
+ AnnotationEffects.prototype.loadAnnotation$;
12156
+ /** @type {?} */
12157
+ AnnotationEffects.prototype.postAnnotation$;
12158
+ /** @type {?} */
12159
+ AnnotationEffects.prototype.deleteAnnotation$;
12160
+ /**
12161
+ * @type {?}
12162
+ * @private
12163
+ */
12164
+ AnnotationEffects.prototype.actions$;
12165
+ /**
12166
+ * @type {?}
12167
+ * @private
12168
+ */
12169
+ AnnotationEffects.prototype.annotationApiService;
12170
+ }
10058
12171
 
10059
12172
  /**
10060
12173
  * @fileoverview added by tsickle
@@ -10211,6 +12324,33 @@ var BookmarksEffects = /** @class */ (function () {
10211
12324
  ], BookmarksEffects.prototype, "updateBookmark$", void 0);
10212
12325
  return BookmarksEffects;
10213
12326
  }());
12327
+ if (false) {
12328
+ /** @type {?} */
12329
+ BookmarksEffects.prototype.loadBookmarks$;
12330
+ /** @type {?} */
12331
+ BookmarksEffects.prototype.createBookmark$;
12332
+ /** @type {?} */
12333
+ BookmarksEffects.prototype.moveBookmark$;
12334
+ /** @type {?} */
12335
+ BookmarksEffects.prototype.deleteBookmark$;
12336
+ /** @type {?} */
12337
+ BookmarksEffects.prototype.updateBookmark$;
12338
+ /**
12339
+ * @type {?}
12340
+ * @private
12341
+ */
12342
+ BookmarksEffects.prototype.actions$;
12343
+ /**
12344
+ * @type {?}
12345
+ * @private
12346
+ */
12347
+ BookmarksEffects.prototype.store;
12348
+ /**
12349
+ * @type {?}
12350
+ * @private
12351
+ */
12352
+ BookmarksEffects.prototype.bookmarksApiService;
12353
+ }
10214
12354
 
10215
12355
  /**
10216
12356
  * @fileoverview added by tsickle
@@ -10323,6 +12463,23 @@ var RedactionApiService = /** @class */ (function () {
10323
12463
  ]; };
10324
12464
  return RedactionApiService;
10325
12465
  }());
12466
+ if (false) {
12467
+ /**
12468
+ * @type {?}
12469
+ * @private
12470
+ */
12471
+ RedactionApiService.prototype.markupsApiUrl;
12472
+ /**
12473
+ * @type {?}
12474
+ * @private
12475
+ */
12476
+ RedactionApiService.prototype.redactApiUrl;
12477
+ /**
12478
+ * @type {?}
12479
+ * @private
12480
+ */
12481
+ RedactionApiService.prototype.httpClient;
12482
+ }
10326
12483
 
10327
12484
  /**
10328
12485
  * @fileoverview added by tsickle
@@ -10483,6 +12640,28 @@ var RedactionEffects = /** @class */ (function () {
10483
12640
  ], RedactionEffects.prototype, "unmarkAll$", void 0);
10484
12641
  return RedactionEffects;
10485
12642
  }());
12643
+ if (false) {
12644
+ /** @type {?} */
12645
+ RedactionEffects.prototype.loadRedactions$;
12646
+ /** @type {?} */
12647
+ RedactionEffects.prototype.saveRedaction$;
12648
+ /** @type {?} */
12649
+ RedactionEffects.prototype.deleteRedaction$;
12650
+ /** @type {?} */
12651
+ RedactionEffects.prototype.redact$;
12652
+ /** @type {?} */
12653
+ RedactionEffects.prototype.unmarkAll$;
12654
+ /**
12655
+ * @type {?}
12656
+ * @private
12657
+ */
12658
+ RedactionEffects.prototype.actions$;
12659
+ /**
12660
+ * @type {?}
12661
+ * @private
12662
+ */
12663
+ RedactionEffects.prototype.redactionApiService;
12664
+ }
10486
12665
 
10487
12666
  /**
10488
12667
  * @fileoverview added by tsickle
@@ -10523,6 +12702,18 @@ var DocumentConversionApiService = /** @class */ (function () {
10523
12702
  ]; };
10524
12703
  return DocumentConversionApiService;
10525
12704
  }());
12705
+ if (false) {
12706
+ /**
12707
+ * @type {?}
12708
+ * @private
12709
+ */
12710
+ DocumentConversionApiService.prototype.documentConversionUrl;
12711
+ /**
12712
+ * @type {?}
12713
+ * @private
12714
+ */
12715
+ DocumentConversionApiService.prototype.httpClient;
12716
+ }
10526
12717
 
10527
12718
  /**
10528
12719
  * @fileoverview added by tsickle
@@ -10578,6 +12769,15 @@ var RotationApiService = /** @class */ (function () {
10578
12769
  ]; };
10579
12770
  return RotationApiService;
10580
12771
  }());
12772
+ if (false) {
12773
+ /** @type {?} */
12774
+ RotationApiService.prototype.rotationApiUrl;
12775
+ /**
12776
+ * @type {?}
12777
+ * @private
12778
+ */
12779
+ RotationApiService.prototype.httpClient;
12780
+ }
10581
12781
 
10582
12782
  /**
10583
12783
  * @fileoverview added by tsickle
@@ -10684,6 +12884,29 @@ var DocumentEffects = /** @class */ (function () {
10684
12884
  ], DocumentEffects.prototype, "saveRotation$", void 0);
10685
12885
  return DocumentEffects;
10686
12886
  }());
12887
+ if (false) {
12888
+ /** @type {?} */
12889
+ DocumentEffects.prototype.convert$;
12890
+ /** @type {?} */
12891
+ DocumentEffects.prototype.loadRotation$;
12892
+ /** @type {?} */
12893
+ DocumentEffects.prototype.saveRotation$;
12894
+ /**
12895
+ * @type {?}
12896
+ * @private
12897
+ */
12898
+ DocumentEffects.prototype.actions$;
12899
+ /**
12900
+ * @type {?}
12901
+ * @private
12902
+ */
12903
+ DocumentEffects.prototype.documentConversionService;
12904
+ /**
12905
+ * @type {?}
12906
+ * @private
12907
+ */
12908
+ DocumentEffects.prototype.rotationApiService;
12909
+ }
10687
12910
 
10688
12911
  /**
10689
12912
  * @fileoverview added by tsickle
@@ -10751,6 +12974,27 @@ var IcpEffects = /** @class */ (function () {
10751
12974
  ], IcpEffects.prototype, "joinIcpSocketSession$", void 0);
10752
12975
  return IcpEffects;
10753
12976
  }());
12977
+ if (false) {
12978
+ /** @type {?} */
12979
+ IcpEffects.prototype.loadIcpSession$;
12980
+ /** @type {?} */
12981
+ IcpEffects.prototype.joinIcpSocketSession$;
12982
+ /**
12983
+ * @type {?}
12984
+ * @private
12985
+ */
12986
+ IcpEffects.prototype.actions$;
12987
+ /**
12988
+ * @type {?}
12989
+ * @private
12990
+ */
12991
+ IcpEffects.prototype.icpApiService;
12992
+ /**
12993
+ * @type {?}
12994
+ * @private
12995
+ */
12996
+ IcpEffects.prototype.icpUpdateService;
12997
+ }
10754
12998
 
10755
12999
  /**
10756
13000
  * @fileoverview added by tsickle
@@ -10834,17 +13078,17 @@ var BookmarksComponent = /** @class */ (function () {
10834
13078
  function (_a) {
10835
13079
  var node = _a.node, from = _a.from, to = _a.to;
10836
13080
  /** @type {?} */
10837
- var movedBookmarks = [__assign({}, node, { previous: to.index > 0 ? to.parent.children[to.index - 1].id : undefined, parent: to.parent.documentId ? to.parent.id : undefined })];
13081
+ var movedBookmarks = [__assign(__assign({}, node), { previous: to.index > 0 ? to.parent.children[to.index - 1].id : undefined, parent: to.parent.documentId ? to.parent.id : undefined })];
10838
13082
  /** @type {?} */
10839
13083
  var fromNext = this.getSibling(from, from.index);
10840
13084
  fromNext = fromNext && fromNext.id === node.previous ? this.getSibling(from, from.index + 1) : fromNext;
10841
13085
  if (fromNext) {
10842
- movedBookmarks = __spread(movedBookmarks, [__assign({}, fromNext, { previous: node.previous })]);
13086
+ movedBookmarks = __spread(movedBookmarks, [__assign(__assign({}, fromNext), { previous: node.previous })]);
10843
13087
  }
10844
13088
  /** @type {?} */
10845
13089
  var toNext = this.getSibling(to, to.index + 1);
10846
13090
  if (toNext) {
10847
- movedBookmarks = __spread(movedBookmarks, [__assign({}, toNext, { previous: node.id })]);
13091
+ movedBookmarks = __spread(movedBookmarks, [__assign(__assign({}, toNext), { previous: node.id })]);
10848
13092
  }
10849
13093
  this.store.dispatch(new MoveBookmark(movedBookmarks));
10850
13094
  };
@@ -10881,7 +13125,7 @@ var BookmarksComponent = /** @class */ (function () {
10881
13125
  */
10882
13126
  function (bookmark, name) {
10883
13127
  /** @type {?} */
10884
- var editedBookmark = __assign({}, bookmark, { name: name });
13128
+ var editedBookmark = __assign(__assign({}, bookmark), { name: name });
10885
13129
  this.store.dispatch(new UpdateBookmark(editedBookmark));
10886
13130
  this.editableBookmark = undefined;
10887
13131
  };
@@ -10976,6 +13220,31 @@ var BookmarksComponent = /** @class */ (function () {
10976
13220
  };
10977
13221
  return BookmarksComponent;
10978
13222
  }());
13223
+ if (false) {
13224
+ /** @type {?} */
13225
+ BookmarksComponent.prototype.bookmarkNodes;
13226
+ /** @type {?} */
13227
+ BookmarksComponent.prototype.zoom;
13228
+ /** @type {?} */
13229
+ BookmarksComponent.prototype.rotate;
13230
+ /** @type {?} */
13231
+ BookmarksComponent.prototype.goToDestination;
13232
+ /** @type {?} */
13233
+ BookmarksComponent.prototype.pageLookup;
13234
+ /** @type {?} */
13235
+ BookmarksComponent.prototype.editableBookmark;
13236
+ /** @type {?} */
13237
+ BookmarksComponent.prototype.BOOKMARK_CHAR_LIMIT;
13238
+ /** @type {?} */
13239
+ BookmarksComponent.prototype.options;
13240
+ /** @type {?} */
13241
+ BookmarksComponent.prototype.$subscription;
13242
+ /**
13243
+ * @type {?}
13244
+ * @private
13245
+ */
13246
+ BookmarksComponent.prototype.store;
13247
+ }
10979
13248
 
10980
13249
  /**
10981
13250
  * @fileoverview added by tsickle
@@ -11105,6 +13374,38 @@ var ConvertibleContentViewerComponent = /** @class */ (function () {
11105
13374
  };
11106
13375
  return ConvertibleContentViewerComponent;
11107
13376
  }());
13377
+ if (false) {
13378
+ /** @type {?} */
13379
+ ConvertibleContentViewerComponent.prototype.originalUrl;
13380
+ /** @type {?} */
13381
+ ConvertibleContentViewerComponent.prototype.downloadFileName;
13382
+ /** @type {?} */
13383
+ ConvertibleContentViewerComponent.prototype.height;
13384
+ /** @type {?} */
13385
+ ConvertibleContentViewerComponent.prototype.enableAnnotations;
13386
+ /** @type {?} */
13387
+ ConvertibleContentViewerComponent.prototype.enableRedactions;
13388
+ /** @type {?} */
13389
+ ConvertibleContentViewerComponent.prototype.annotationSet;
13390
+ /** @type {?} */
13391
+ ConvertibleContentViewerComponent.prototype.mediaLoadStatus;
13392
+ /** @type {?} */
13393
+ ConvertibleContentViewerComponent.prototype.viewerException;
13394
+ /** @type {?} */
13395
+ ConvertibleContentViewerComponent.prototype.documentTitle;
13396
+ /**
13397
+ * @type {?}
13398
+ * @private
13399
+ */
13400
+ ConvertibleContentViewerComponent.prototype.$subscription;
13401
+ /** @type {?} */
13402
+ ConvertibleContentViewerComponent.prototype.convertedUrl;
13403
+ /**
13404
+ * @type {?}
13405
+ * @private
13406
+ */
13407
+ ConvertibleContentViewerComponent.prototype.store;
13408
+ }
11108
13409
 
11109
13410
  /**
11110
13411
  * @fileoverview added by tsickle
@@ -11145,6 +13446,13 @@ var ConfirmActionDialogComponent = /** @class */ (function () {
11145
13446
  ]; };
11146
13447
  return ConfirmActionDialogComponent;
11147
13448
  }());
13449
+ if (false) {
13450
+ /**
13451
+ * @type {?}
13452
+ * @private
13453
+ */
13454
+ ConfirmActionDialogComponent.prototype.toolbarEvents;
13455
+ }
11148
13456
 
11149
13457
  /**
11150
13458
  * @fileoverview added by tsickle
@@ -11179,6 +13487,23 @@ var BookmarkIconsComponent = /** @class */ (function () {
11179
13487
  };
11180
13488
  return BookmarkIconsComponent;
11181
13489
  }());
13490
+ if (false) {
13491
+ /** @type {?} */
13492
+ BookmarkIconsComponent.prototype.zoom;
13493
+ /** @type {?} */
13494
+ BookmarkIconsComponent.prototype.rotate;
13495
+ /** @type {?} */
13496
+ BookmarkIconsComponent.prototype.bookmarksPerPage$;
13497
+ /** @type {?} */
13498
+ BookmarkIconsComponent.prototype.bookmarks;
13499
+ /** @type {?} */
13500
+ BookmarkIconsComponent.prototype.documentId;
13501
+ /**
13502
+ * @type {?}
13503
+ * @private
13504
+ */
13505
+ BookmarkIconsComponent.prototype.store;
13506
+ }
11182
13507
 
11183
13508
  /**
11184
13509
  * @fileoverview added by tsickle
@@ -11306,6 +13631,33 @@ var RotationPersistDirective = /** @class */ (function () {
11306
13631
  };
11307
13632
  return RotationPersistDirective;
11308
13633
  }());
13634
+ if (false) {
13635
+ /** @type {?} */
13636
+ RotationPersistDirective.prototype.documentId;
13637
+ /** @type {?} */
13638
+ RotationPersistDirective.prototype.rotation;
13639
+ /** @type {?} */
13640
+ RotationPersistDirective.prototype.savedRotation;
13641
+ /** @type {?} */
13642
+ RotationPersistDirective.prototype.$subscriptions;
13643
+ /**
13644
+ * @type {?}
13645
+ * @private
13646
+ */
13647
+ RotationPersistDirective.prototype.el;
13648
+ /**
13649
+ * @type {?}
13650
+ * @private
13651
+ */
13652
+ RotationPersistDirective.prototype.store;
13653
+ /** @type {?} */
13654
+ RotationPersistDirective.prototype.toolbarButtons;
13655
+ /**
13656
+ * @type {?}
13657
+ * @private
13658
+ */
13659
+ RotationPersistDirective.prototype.toolbarEvents;
13660
+ }
11309
13661
 
11310
13662
  /**
11311
13663
  * @fileoverview added by tsickle
@@ -11356,6 +13708,28 @@ var ParticipantsListComponent = /** @class */ (function () {
11356
13708
  ]; };
11357
13709
  return ParticipantsListComponent;
11358
13710
  }());
13711
+ if (false) {
13712
+ /** @type {?} */
13713
+ ParticipantsListComponent.prototype.subscription;
13714
+ /** @type {?} */
13715
+ ParticipantsListComponent.prototype.participants$;
13716
+ /** @type {?} */
13717
+ ParticipantsListComponent.prototype.presenter$;
13718
+ /** @type {?} */
13719
+ ParticipantsListComponent.prototype.isPresenter$;
13720
+ /** @type {?} */
13721
+ ParticipantsListComponent.prototype.showParticipantsList;
13722
+ /**
13723
+ * @type {?}
13724
+ * @private
13725
+ */
13726
+ ParticipantsListComponent.prototype.toolbarEvents;
13727
+ /**
13728
+ * @type {?}
13729
+ * @private
13730
+ */
13731
+ ParticipantsListComponent.prototype.store;
13732
+ }
11359
13733
 
11360
13734
  /**
11361
13735
  * @fileoverview added by tsickle
@@ -11543,6 +13917,45 @@ var HighlightCreateDirective = /** @class */ (function () {
11543
13917
  };
11544
13918
  return HighlightCreateDirective;
11545
13919
  }());
13920
+ if (false) {
13921
+ /** @type {?} */
13922
+ HighlightCreateDirective.prototype.pageHeight;
13923
+ /** @type {?} */
13924
+ HighlightCreateDirective.prototype.pageWidth;
13925
+ /** @type {?} */
13926
+ HighlightCreateDirective.prototype.zoom;
13927
+ /** @type {?} */
13928
+ HighlightCreateDirective.prototype.rotate;
13929
+ /** @type {?} */
13930
+ HighlightCreateDirective.prototype.allPages;
13931
+ /** @type {?} */
13932
+ HighlightCreateDirective.prototype.$subscription;
13933
+ /**
13934
+ * @type {?}
13935
+ * @private
13936
+ */
13937
+ HighlightCreateDirective.prototype.element;
13938
+ /**
13939
+ * @type {?}
13940
+ * @private
13941
+ */
13942
+ HighlightCreateDirective.prototype.toolbarEvents;
13943
+ /**
13944
+ * @type {?}
13945
+ * @private
13946
+ */
13947
+ HighlightCreateDirective.prototype.viewerEvents;
13948
+ /**
13949
+ * @type {?}
13950
+ * @private
13951
+ */
13952
+ HighlightCreateDirective.prototype.highlightService;
13953
+ /**
13954
+ * @type {?}
13955
+ * @private
13956
+ */
13957
+ HighlightCreateDirective.prototype.store;
13958
+ }
11546
13959
 
11547
13960
  /**
11548
13961
  * @fileoverview added by tsickle
@@ -11641,6 +14054,29 @@ var MultimediaPlayerComponent = /** @class */ (function () {
11641
14054
  };
11642
14055
  return MultimediaPlayerComponent;
11643
14056
  }());
14057
+ if (false) {
14058
+ /** @type {?} */
14059
+ MultimediaPlayerComponent.prototype.url;
14060
+ /** @type {?} */
14061
+ MultimediaPlayerComponent.prototype.downloadFileName;
14062
+ /** @type {?} */
14063
+ MultimediaPlayerComponent.prototype.multimediaOn;
14064
+ /** @type {?} */
14065
+ MultimediaPlayerComponent.prototype.loadStatus;
14066
+ /** @type {?} */
14067
+ MultimediaPlayerComponent.prototype.downloadLink;
14068
+ /** @type {?} */
14069
+ MultimediaPlayerComponent.prototype.videoPlayer;
14070
+ /** @type {?} */
14071
+ MultimediaPlayerComponent.prototype.playbackMsg;
14072
+ /**
14073
+ * @type {?}
14074
+ * @private
14075
+ */
14076
+ MultimediaPlayerComponent.prototype.subscription;
14077
+ /** @type {?} */
14078
+ MultimediaPlayerComponent.prototype.toolbarEvents;
14079
+ }
11644
14080
 
11645
14081
  /**
11646
14082
  * @fileoverview added by tsickle
@@ -11720,6 +14156,5 @@ var MediaViewerModule = /** @class */ (function () {
11720
14156
  * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
11721
14157
  */
11722
14158
 
11723
- export { MediaViewerModule, ToolbarButtonVisibilityService, ToolbarEventService, ToolbarModule, AnnotationApiService, AnnotationsModule, ResponseType, ViewerException, reducer, initialState, getAnnoSet, getCommentEnts, getAnnoPageEnt, getAnnoEnt, getSelectedAnno, commentSearchQ, getSummaryFilters, getAnnotationsSetState, getAnnotationEntities, getSet, getDocumentIdSetId, getAnnotationSet, getSelectedAnnotation, getCommentEntities, getPageEntities, getComponentSearchQueries, getComponentSearchText, getCommentSummaryFilters, getAnnoPerPage, getCommentsArray, getCommentSummary, getFilteredAnnotations, LOAD_ANNOTATION_SET, LOAD_ANNOTATION_SET_SUCCESS, LOAD_ANNOTATION_SET_FAIL, SAVE_ANNOTATION, SAVE_ANNOTATION_SUCCESS, SAVE_ANNOTATION_FAIL, ADD_OR_EDIT_COMMENT, DELETE_ANNOTATION, DELETE_ANNOTATION_SUCCESS, DELETE_ANNOTATION_FAIL, SELECT_ANNOTATION, SEARCH_COMMENT, APPLY_COMMENT_SUMMARY_FILTER, CLEAR_COMMENT_SUMMARY_FILTER, LoadAnnotationSet, LoadAnnotationSetSucess, LoadAnnotationSetFail, SaveAnnotation, SaveAnnotationSuccess, SaveAnnotationFail, AddOrEditComment, DeleteAnnotation, DeleteAnnotationSuccess, DeleteAnnotationFail, SelectedAnnotation, SearchComment, ApplyCommentSymmaryFilter, ClearCommentSummaryFilters, AnnotationEffects, BoxHighlightCreateComponent as ɵbc, HighlightCreateDirective as ɵcw, HighlightCreateService as ɵz, AnnotationSetComponent as ɵbd, AnnotationViewComponent as ɵbb, RectangleComponent as ɵbf, CtxToolbarComponent as ɵbl, MetadataLayerComponent as ɵy, CommentsNavigateComponent as ɵbo, CommentFilterComponent as ɵbu, CommentSearchComponent as ɵbj, CommentSetHeaderComponent as ɵbi, CommentSetRenderService as ɵbn, CommentSetComponent as ɵbm, CommentComponent as ɵbg, CommentService as ɵbe, TextHighlightDirective as ɵbk, TextareaAutoExpandDirective as ɵbp, CommentsSummaryComponent as ɵbq, MomentDatePipe as ɵbt, FilterPipe as ɵbv, UnsnakePipe as ɵbw, BookmarksApiService as ɵbx, TagsServices as ɵbh, TagsComponent as ɵbs, BookmarkIconsComponent as ɵcz, ConfirmActionDialogComponent as ɵcx, IcpFollowerService as ɵdd, IcpPresenterService as ɵdc, IcpSessionApiService as ɵcg, IcpUpdateService as ɵch, IcpService as ɵdb, ParticipantsListComponent as ɵda, SocketService as ɵci, MediaViewerComponent as ɵcs, PrintService as ɵbr, RedactionComponent as ɵcy, RedactionApiService as ɵcb, GovUkDateComponent as ɵu, GovUkErrorMessageComponent as ɵv, GovUkFieldsetComponent as ɵw, GovUkLabelComponent as ɵx, SharedModule as ɵt, NumberHelperService as ɵc, BookmarksEffects as ɵbz, DocumentEffects as ɵcc, IcpEffects as ɵcf, effects as ɵby, RedactionEffects as ɵca, bookmarksReducer as ɵo, docReducer as ɵi, getDocPages as ɵj, icpReducer as ɵq, redactionReducer as ɵp, getMVState as ɵg, reducers as ɵf, getFilteredComments as ɵl, getFilteredPageEnt as ɵm, tagsReducer as ɵk, getDocumentState as ɵde, getPages as ɵdf, getFilteredPageEntities as ɵdi, getTagFiltered as ɵdh, getTagsRootState as ɵdg, IcpToolbarComponent as ɵr, MainToolbarComponent as ɵb, RedactionToolbarComponent as ɵd, SearchBarComponent as ɵa, ConvertibleContentViewerComponent as ɵct, DocumentConversionApiService as ɵcd, GrabNDragDirective as ɵcu, ImageViewerComponent as ɵco, MultimediaPlayerComponent as ɵcr, PdfJsWrapperFactory as ɵck, PdfViewerComponent as ɵcj, BookmarksComponent as ɵcm, OutlineItemComponent as ɵcn, SideBarComponent as ɵcl, RotationApiService as ɵce, RotationPersistDirective as ɵcv, UnsupportedViewerComponent as ɵcq, ViewerEventService as ɵba, ViewerUtilService as ɵcp };
11724
-
11725
- //# sourceMappingURL=hmcts-media-viewer.js.map
14159
+ export { ADD_OR_EDIT_COMMENT, APPLY_COMMENT_SUMMARY_FILTER, AddOrEditComment, AnnotationApiService, AnnotationEffects, AnnotationSetComponent, AnnotationViewComponent, AnnotationsModule, ApplyCommentSymmaryFilter, BoxHighlightCreateComponent, CLEAR_COMMENT_SUMMARY_FILTER, ClearCommentSummaryFilters, CommentFilterComponent, CommentSearchComponent, CommentSetComponent, CommentSetHeaderComponent, CommentsSummaryComponent, DELETE_ANNOTATION, DELETE_ANNOTATION_FAIL, DELETE_ANNOTATION_SUCCESS, DeleteAnnotation, DeleteAnnotationFail, DeleteAnnotationSuccess, FilterPipe, IcpToolbarComponent, LOAD_ANNOTATION_SET, LOAD_ANNOTATION_SET_FAIL, LOAD_ANNOTATION_SET_SUCCESS, LoadAnnotationSet, LoadAnnotationSetFail, LoadAnnotationSetSucess, MainToolbarComponent, MediaViewerComponent, MediaViewerModule, MetadataLayerComponent, MomentDatePipe, RedactionToolbarComponent, ResponseType, SAVE_ANNOTATION, SAVE_ANNOTATION_FAIL, SAVE_ANNOTATION_SUCCESS, SEARCH_COMMENT, SELECT_ANNOTATION, SaveAnnotation, SaveAnnotationFail, SaveAnnotationSuccess, SearchBarComponent, SearchComment, SelectedAnnotation, TagsComponent, ToolbarButtonVisibilityService, ToolbarEventService, ToolbarModule, UnsnakePipe, ViewerException, commentSearchQ, getAnnoEnt, getAnnoPageEnt, getAnnoPerPage, getAnnoSet, getAnnotationEntities, getAnnotationSet, getAnnotationsSetState, getCommentEntities, getCommentEnts, getCommentSummary, getCommentSummaryFilters, getCommentsArray, getComponentSearchQueries, getComponentSearchText, getDocumentIdSetId, getFilteredAnnotations, getPageEntities, getSelectedAnno, getSelectedAnnotation, getSet, getSummaryFilters, initialState, reducer, NumberHelperService as ɵa, TextHighlightDirective as ɵba, CtxToolbarComponent as ɵbb, CommentSetRenderService as ɵbc, CommentsNavigateComponent as ɵbd, TextareaAutoExpandDirective as ɵbe, PrintService as ɵbf, BookmarksApiService as ɵbg, effects as ɵbh, BookmarksEffects as ɵbi, RedactionEffects as ɵbj, RedactionApiService as ɵbk, DocumentEffects as ɵbl, DocumentConversionApiService as ɵbm, RotationApiService as ɵbn, IcpEffects as ɵbo, IcpSessionApiService as ɵbp, IcpUpdateService as ɵbq, SocketService as ɵbr, PdfViewerComponent as ɵbs, PdfJsWrapperFactory as ɵbt, SideBarComponent as ɵbu, BookmarksComponent as ɵbv, OutlineItemComponent as ɵbw, ImageViewerComponent as ɵbx, ViewerUtilService as ɵby, UnsupportedViewerComponent as ɵbz, reducers as ɵc, MultimediaPlayerComponent as ɵca, ConvertibleContentViewerComponent as ɵcb, GrabNDragDirective as ɵcc, RotationPersistDirective as ɵcd, HighlightCreateDirective as ɵce, ConfirmActionDialogComponent as ɵcf, RedactionComponent as ɵcg, BookmarkIconsComponent as ɵch, ParticipantsListComponent as ɵci, IcpService as ɵcj, IcpPresenterService as ɵck, IcpFollowerService as ɵcl, getDocumentState as ɵcm, getPages as ɵcn, getTagsRootState as ɵco, getTagFiltered as ɵcp, getFilteredPageEntities as ɵcq, getMVState as ɵd, docReducer as ɵf, getDocPages as ɵg, tagsReducer as ɵh, getFilteredComments as ɵi, getFilteredPageEnt as ɵj, bookmarksReducer as ɵl, redactionReducer as ɵm, icpReducer as ɵn, SharedModule as ɵp, GovUkDateComponent as ɵq, GovUkErrorMessageComponent as ɵr, GovUkFieldsetComponent as ɵs, GovUkLabelComponent as ɵt, HighlightCreateService as ɵu, ViewerEventService as ɵv, CommentService as ɵw, RectangleComponent as ɵx, CommentComponent as ɵy, TagsServices as ɵz };
14160
+ //# sourceMappingURL=hmcts-media-viewer.js.map