ato-water-lib 0.0.9 → 0.0.10

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,26 +1,34 @@
1
1
  import { NgModule } from '@angular/core';
2
2
  import { AtoWaterLibComponent } from './ato-water-lib.component';
3
3
  import { AtoFlowDiagramLibComponent } from './components/flow-diagram-lib/flow-diagram-lib.component';
4
+ import { AssetFlowComponent } from './components/asset-flow/asset-flow.component';
5
+ import { CommonModule } from '@angular/common';
4
6
  import * as i0 from "@angular/core";
5
7
  export class AtoWaterLibModule {
6
8
  }
7
9
  AtoWaterLibModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AtoWaterLibModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
8
10
  AtoWaterLibModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: AtoWaterLibModule, declarations: [AtoWaterLibComponent,
9
- AtoFlowDiagramLibComponent], exports: [AtoWaterLibComponent,
10
- AtoFlowDiagramLibComponent] });
11
- AtoWaterLibModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AtoWaterLibModule });
11
+ AtoFlowDiagramLibComponent,
12
+ AssetFlowComponent], imports: [CommonModule], exports: [AtoWaterLibComponent,
13
+ AtoFlowDiagramLibComponent,
14
+ AssetFlowComponent] });
15
+ AtoWaterLibModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AtoWaterLibModule, imports: [CommonModule] });
12
16
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AtoWaterLibModule, decorators: [{
13
17
  type: NgModule,
14
18
  args: [{
15
19
  declarations: [
16
20
  AtoWaterLibComponent,
17
- AtoFlowDiagramLibComponent
21
+ AtoFlowDiagramLibComponent,
22
+ AssetFlowComponent,
23
+ ],
24
+ imports: [
25
+ CommonModule
18
26
  ],
19
- imports: [],
20
27
  exports: [
21
28
  AtoWaterLibComponent,
22
- AtoFlowDiagramLibComponent
29
+ AtoFlowDiagramLibComponent,
30
+ AssetFlowComponent
23
31
  ]
24
32
  }]
25
33
  }] });
26
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXRvLXdhdGVyLWxpYi5tb2R1bGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9wcm9qZWN0cy9hdG8td2F0ZXItbGliL3NyYy9saWIvYXRvLXdhdGVyLWxpYi5tb2R1bGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFFBQVEsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUN6QyxPQUFPLEVBQUUsb0JBQW9CLEVBQUUsTUFBTSwyQkFBMkIsQ0FBQztBQUNqRSxPQUFPLEVBQUUsMEJBQTBCLEVBQUUsTUFBTSwwREFBMEQsQ0FBQzs7QUFjdEcsTUFBTSxPQUFPLGlCQUFpQjs7K0dBQWpCLGlCQUFpQjtnSEFBakIsaUJBQWlCLGlCQVYxQixvQkFBb0I7UUFDcEIsMEJBQTBCLGFBSzFCLG9CQUFvQjtRQUNwQiwwQkFBMEI7Z0hBR2pCLGlCQUFpQjs0RkFBakIsaUJBQWlCO2tCQVo3QixRQUFRO21CQUFDO29CQUNSLFlBQVksRUFBRTt3QkFDWixvQkFBb0I7d0JBQ3BCLDBCQUEwQjtxQkFDM0I7b0JBQ0QsT0FBTyxFQUFFLEVBQ1I7b0JBQ0QsT0FBTyxFQUFFO3dCQUNQLG9CQUFvQjt3QkFDcEIsMEJBQTBCO3FCQUMzQjtpQkFDRiIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IE5nTW9kdWxlIH0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XG5pbXBvcnQgeyBBdG9XYXRlckxpYkNvbXBvbmVudCB9IGZyb20gJy4vYXR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ICBBc3NldEZsb3dDb21wb25lbnQsXG4gIF0sXG4gIGltcG9ydHM6IFtcbiAgICBDb21tb25Nb2R1bGVcbiAgXSxcbiAgZXhwb3J0czogW1xuICAgIEF0b1dhdGVyTGliQ29tcG9uZW50LFxuICAgIEF0b0Zsb3dEaWFncmFtTGliQ29tcG9uZW50LFxuICAgIEFzc2V0Rmxvd0NvbXBvbmVudFxuICBdXG59KVxuZXhwb3J0IGNsYXNzIEF0b1dhdGVyTGliTW9kdWxlIHsgfVxuIl19
@@ -0,0 +1,56 @@
1
+ import { Component, EventEmitter, Input, Output, ViewChild } from '@angular/core';
2
+ import * as go from 'gojs';
3
+ import { ATO_COMPONENTS_GROUP_DATA } from '../../constants/components-group-const';
4
+ import { AtoFlowDiagramLibComponent } from '../flow-diagram-lib/flow-diagram-lib.component';
5
+ import * as i0 from "@angular/core";
6
+ import * as i1 from "@angular/common";
7
+ import * as i2 from "../flow-diagram-lib/flow-diagram-lib.component";
8
+ export class AssetFlowComponent {
9
+ constructor() {
10
+ this.onClickParamOfTableEvent = new EventEmitter();
11
+ this.$ = go.GraphObject.make;
12
+ this.options = {
13
+ layout: this.$(go.LayeredDigraphLayout, {
14
+ // direction: 0,
15
+ }),
16
+ // isReadOnly: true,
17
+ };
18
+ this.flowData = {};
19
+ }
20
+ ngOnInit() {
21
+ // this.flowData = {
22
+ // ...ATO_COMPONENTS_GROUP_DATA[this.systemType],
23
+ // linkFromPortIdProperty: 'fromPort',
24
+ // linkToPortIdProperty: 'toPort',
25
+ // };
26
+ this.getDefaultFlowData();
27
+ }
28
+ onClickParamOfTable($event) {
29
+ this.onClickParamOfTableEvent.emit($event);
30
+ }
31
+ getDefaultFlowData() {
32
+ return {
33
+ ...ATO_COMPONENTS_GROUP_DATA[this.systemType],
34
+ linkFromPortIdProperty: 'fromPort',
35
+ linkToPortIdProperty: 'toPort',
36
+ };
37
+ }
38
+ }
39
+ AssetFlowComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AssetFlowComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
40
+ AssetFlowComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: AssetFlowComponent, selector: "ato-asset-flow", inputs: { selectedComponent: "selectedComponent", systemType: "systemType", flowData: "flowData" }, outputs: { onClickParamOfTableEvent: "onClickParamOfTableEvent" }, viewQueries: [{ propertyName: "gjFlowDiagramTemp", first: true, predicate: AtoFlowDiagramLibComponent, descendants: true }], ngImport: i0, template: "<div class=\"h-100\" style=\"height: 100%\">\n <!-- tqlSpin [spinning]=\"flowData === null\" [delay]=\"1000\" -->\n <ato-flow-diagram-lib\n *ngIf=\"flowData !== null\"\n #gjFlowDiagramTemp\n [data]=\"flowData\"\n [initialOptions]=\"options\"\n (onClikParamOfTable)=\"onClickParamOfTable($event)\"\n ></ato-flow-diagram-lib>\n</div>\n", styles: [""], dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i2.AtoFlowDiagramLibComponent, selector: "ato-flow-diagram-lib", inputs: ["showNotificationIcon", "data", "isLoading"] }] });
41
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AssetFlowComponent, decorators: [{
42
+ type: Component,
43
+ args: [{ selector: 'ato-asset-flow', template: "<div class=\"h-100\" style=\"height: 100%\">\n <!-- tqlSpin [spinning]=\"flowData === null\" [delay]=\"1000\" -->\n <ato-flow-diagram-lib\n *ngIf=\"flowData !== null\"\n #gjFlowDiagramTemp\n [data]=\"flowData\"\n [initialOptions]=\"options\"\n (onClikParamOfTable)=\"onClickParamOfTable($event)\"\n ></ato-flow-diagram-lib>\n</div>\n" }]
44
+ }], propDecorators: { gjFlowDiagramTemp: [{
45
+ type: ViewChild,
46
+ args: [AtoFlowDiagramLibComponent]
47
+ }], selectedComponent: [{
48
+ type: Input
49
+ }], systemType: [{
50
+ type: Input
51
+ }], onClickParamOfTableEvent: [{
52
+ type: Output
53
+ }], flowData: [{
54
+ type: Input
55
+ }] } });
56
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXNzZXQtZmxvdy5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9hdG8td2F0ZXItbGliL3NyYy9saWIvY29tcG9uZW50cy9hc3NldC1mbG93L2Fzc2V0LWZsb3cuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvYXRvLXdhdGVyLWxpYi9zcmMvbGliL2NvbXBvbmVudHMvYXNzZXQtZmxvdy9hc3NldC1mbG93LmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQUUsWUFBWSxFQUFFLEtBQUssRUFBVSxNQUFNLEVBQUUsU0FBUyxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQzFGLE9BQU8sS0FBSyxFQUFFLE1BQU0sTUFBTSxDQUFDO0FBQzNCLE9BQU8sRUFBRSx5QkFBeUIsRUFBRSxNQUFNLHdDQUF3QyxDQUFDO0FBRW5GLE9BQU8sRUFBRSwwQkFBMEIsRUFBRSxNQUFNLGdEQUFnRCxDQUFDOzs7O0FBTzVGLE1BQU0sT0FBTyxrQkFBa0I7SUFML0I7UUFTWSw2QkFBd0IsR0FBc0IsSUFBSSxZQUFZLEVBQU8sQ0FBQztRQUNoRixNQUFDLEdBQUcsRUFBRSxDQUFDLFdBQVcsQ0FBQyxJQUFJLENBQUM7UUFDeEIsWUFBTyxHQUFHO1lBQ04sTUFBTSxFQUFFLElBQUksQ0FBQyxDQUFDLENBQUMsRUFBRSxDQUFDLG9CQUFvQixFQUFFO1lBQ3BDLGdCQUFnQjthQUNuQixDQUF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4gICAgW2RhdGFdPVwiZmxvd0RhdGFcIlxuICAgIFtpbml0aWFsT3B0aW9uc109XCJvcHRpb25zXCJcbiAgICAob25DbGlrUGFyYW1PZlRhYmxlKT1cIm9uQ2xpY2tQYXJhbU9mVGFibGUoJGV2ZW50KVwiXG4gID48L2F0by1mbG93LWRpYWdyYW0tbGliPlxuPC9kaXY+XG4iXX0=
@@ -1,7 +1,7 @@
1
1
  import { Component, Input, ViewChild } from '@angular/core';
2
2
  import _ from 'lodash';
3
3
  import { AtoDefaultGojsEditor } from '../../models/default-gojs-editor.model';
4
- import { GojsEditorModel } from '../../models/gojs-editor.model';
4
+ import { AtoGojsEditorModel } from '../../models/gojs-editor.model';
5
5
  import * as i0 from "@angular/core";
6
6
  export class AtoFlowDiagramLibComponent extends AtoDefaultGojsEditor {
7
7
  set data(v) {
@@ -43,7 +43,7 @@ export class AtoFlowDiagramLibComponent extends AtoDefaultGojsEditor {
43
43
  });
44
44
  }
45
45
  // setTimeout(() => {
46
- this.editor = new GojsEditorModel({
46
+ this.editor = new AtoGojsEditorModel({
47
47
  class: 'go.GraphLinksModel',
48
48
  nodeCategoryProperty: 'type',
49
49
  ...this.data,
@@ -54,10 +54,10 @@ export class AtoFlowDiagramLibComponent extends AtoDefaultGojsEditor {
54
54
  }
55
55
  }
56
56
  AtoFlowDiagramLibComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AtoFlowDiagramLibComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
57
- AtoFlowDiagramLibComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: AtoFlowDiagramLibComponent, selector: "ato-flow-diagram-lib", inputs: { showNotificationIcon: "showNotificationIcon", data: "data", isLoading: "isLoading" }, viewQueries: [{ propertyName: "myDiagramDivTemp", first: true, predicate: ["myDiagramDivTemp"], descendants: true }], usesInheritance: true, ngImport: i0, template: "<!-- <div tqlSpin [spinning]=\"data === null || !!isLoading\" class=\"w-100 h-100 gj-flow-diagram-wrapper\">\n <div class=\"w-100 h-100 d-flex\">\n <button\n id=\"actionMenuId\"\n class=\"invisible-btn\"\n mat-button\n [matMenuTriggerFor]=\"menu\"\n #menuTrigger=\"matMenuTrigger\"\n ></button>\n <mat-menu #menu=\"matMenu\">\n <button mat-menu-item *ngFor=\"let item of actions\" (click)=\"item?.onClick($event)\">\n <div class=\"d-flex flex-gap-2\">\n <div><i class=\"{{ item?.iconClassName }}\"></i></div>\n <div>{{ item?.name }}</div>\n </div>\n </button>\n </mat-menu>\n\n <div #myDiagramDivTemp [id]=\"myDiagramDiv\" class=\"flex-grow-1\"></div>\n <div *ngIf=\"initialOptions?.isReadOnly && !data?.nodeDataArray?.length\" class=\"empty-data\">\n <nz-empty nzNotFoundImage=\"simple\"></nz-empty>\n </div>\n </div>\n</div> -->\n<div style=\"height: 100%\" #myDiagramDivTemp [id]=\"myDiagramDiv\" class=\"flex-grow-1\"></div>\n", styles: [""] });
57
+ AtoFlowDiagramLibComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: AtoFlowDiagramLibComponent, selector: "ato-flow-diagram-lib", inputs: { showNotificationIcon: "showNotificationIcon", data: "data", isLoading: "isLoading" }, viewQueries: [{ propertyName: "myDiagramDivTemp", first: true, predicate: ["myDiagramDivTemp"], descendants: true }], usesInheritance: true, ngImport: i0, template: "<div class=\"w-100 h-100 gj-flow-diagram-wrapper\" style=\"height: 100%\">\n <!-- tqlSpin [spinning]=\"data === null || !!isLoading\" -->\n <div class=\"w-100 h-100 d-flex\" style=\"height: 100%\">\n <!-- <button\n id=\"actionMenuId\"\n class=\"invisible-btn\"\n mat-button\n [matMenuTriggerFor]=\"menu\"\n #menuTrigger=\"matMenuTrigger\"\n ></button>\n <mat-menu #menu=\"matMenu\">\n <button mat-menu-item *ngFor=\"let item of actions\" (click)=\"item?.onClick($event)\">\n <div class=\"d-flex flex-gap-2\">\n <div><i class=\"{{ item?.iconClassName }}\"></i></div>\n <div>{{ item?.name }}</div>\n </div>\n </button>\n </mat-menu> -->\n\n <div #myDiagramDivTemp [id]=\"myDiagramDiv\" class=\"flex-grow-1\" style=\"height: 100%\"></div>\n <!-- <div *ngIf=\"initialOptions?.isReadOnly && !data?.nodeDataArray?.length\" class=\"empty-data\">\n <nz-empty nzNotFoundImage=\"simple\"></nz-empty>\n </div> -->\n </div>\n</div>\n", styles: [""] });
58
58
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AtoFlowDiagramLibComponent, decorators: [{
59
59
  type: Component,
60
- args: [{ selector: 'ato-flow-diagram-lib', template: "<!-- <div tqlSpin [spinning]=\"data === null || !!isLoading\" class=\"w-100 h-100 gj-flow-diagram-wrapper\">\n <div class=\"w-100 h-100 d-flex\">\n <button\n id=\"actionMenuId\"\n class=\"invisible-btn\"\n mat-button\n [matMenuTriggerFor]=\"menu\"\n #menuTrigger=\"matMenuTrigger\"\n ></button>\n <mat-menu #menu=\"matMenu\">\n <button mat-menu-item *ngFor=\"let item of actions\" (click)=\"item?.onClick($event)\">\n <div class=\"d-flex flex-gap-2\">\n <div><i class=\"{{ item?.iconClassName }}\"></i></div>\n <div>{{ item?.name }}</div>\n </div>\n </button>\n </mat-menu>\n\n <div #myDiagramDivTemp [id]=\"myDiagramDiv\" class=\"flex-grow-1\"></div>\n <div *ngIf=\"initialOptions?.isReadOnly && !data?.nodeDataArray?.length\" class=\"empty-data\">\n <nz-empty nzNotFoundImage=\"simple\"></nz-empty>\n </div>\n </div>\n</div> -->\n<div style=\"height: 100%\" #myDiagramDivTemp [id]=\"myDiagramDiv\" class=\"flex-grow-1\"></div>\n" }]
60
+ args: [{ selector: 'ato-flow-diagram-lib', template: "<div class=\"w-100 h-100 gj-flow-diagram-wrapper\" style=\"height: 100%\">\n <!-- tqlSpin [spinning]=\"data === null || !!isLoading\" -->\n <div class=\"w-100 h-100 d-flex\" style=\"height: 100%\">\n <!-- <button\n id=\"actionMenuId\"\n class=\"invisible-btn\"\n mat-button\n [matMenuTriggerFor]=\"menu\"\n #menuTrigger=\"matMenuTrigger\"\n ></button>\n <mat-menu #menu=\"matMenu\">\n <button mat-menu-item *ngFor=\"let item of actions\" (click)=\"item?.onClick($event)\">\n <div class=\"d-flex flex-gap-2\">\n <div><i class=\"{{ item?.iconClassName }}\"></i></div>\n <div>{{ item?.name }}</div>\n </div>\n </button>\n </mat-menu> -->\n\n <div #myDiagramDivTemp [id]=\"myDiagramDiv\" class=\"flex-grow-1\" style=\"height: 100%\"></div>\n <!-- <div *ngIf=\"initialOptions?.isReadOnly && !data?.nodeDataArray?.length\" class=\"empty-data\">\n <nz-empty nzNotFoundImage=\"simple\"></nz-empty>\n </div> -->\n </div>\n</div>\n" }]
61
61
  }], ctorParameters: function () { return []; }, propDecorators: { myDiagramDivTemp: [{
62
62
  type: ViewChild,
63
63
  args: ['myDiagramDivTemp']
@@ -68,4 +68,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
68
68
  }], isLoading: [{
69
69
  type: Input
70
70
  }] } });
71
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZmxvdy1kaWFncmFtLWxpYi5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9hdG8td2F0ZXItbGliL3NyYy9saWIvY29tcG9uZW50cy9mbG93LWRpYWdyYW0tbGliL2Zsb3ctZGlhZ3JhbS1saWIuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvYXRvLXdhdGVyLWxpYi9zcmMvbGliL2NvbXBvbmVudHMvZmxvdy1kaWFncmFtLWxpYi9mbG93LWRpYWdyYW0tbGliLmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOi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ICAgICAgICAvLyB9KSxcbiAgICAgICk7XG4gIH1cblxuXG5cblxuICBsb2FkRGlhZ3JhbSgpIHtcbiAgICAgIGlmICh0aGlzLmRhdGE/Lm5vZGVEYXRhQXJyYXk/Lmxlbmd0aCAmJiAhIXRoaXMuc2hvd05vdGlmaWNhdGlvbkljb24pIHtcbiAgICAgICAgICBfLm1hcCh0aGlzLmRhdGE/Lm5vZGVEYXRhQXJyYXksIChub2RlKSA9PiB7XG4gICAgICAgICAgICAgIC8vIGlmIChub2RlPy50eXBlID09PSBHb2pzRWRpdG9yTW9kZWwuRU5VTV9URU1QTEFURVMuVEVYVF9OT0RFKSB7XG4gICAgICAgICAgICAgIC8vICAgICBub2RlLnJlY29tbWVuZGF0aW9uID0gXy5zb21lKFxuICAgICAgICAgICAgICAvLyAgICAgICAgIHRoaXMuX1JlY29tbWVuZGF0aW9uc1NlcnZpY2UuYWN0aXZlUmVjb21tZW5kYXRpb25zJD8udmFsdWUsXG4gICAgICAgICAgICAgIC8vICAgICAgICAgKHgpID0+IHg/LkJveElkID09PSBub2RlPy5pZCxcbiAgICAgICAgICAgICAgLy8gICAgICk7XG4gICAgICAgICAgICAgIC8vICAgICAvLyBub2RlLmRpc2NvdmVyaWVzID0gISFfLmdldChcbiAgICAgICAgICAgICAgLy8gICAgIC8vICAgICB0aGlzLl9SZWNvbW1lbmRhdGlvbnNTZXJ2aWNlLmFjdGl2ZURpc2NvdmVyaWVzJD8udmFsdWUsXG4gICAgICAgICAgICAgIC8vICAgICAvLyAgICAgYCR7RU5VTV9LUElfTUVUUklDLlRPUE9MT0dZfS0ke25vZGU/LmlkfS4wYCxcbiAgICAgICAgICAgICAgLy8gICAgIC8vICAgICBudWxsLFxuICAgICAgICAgICAgICAvLyAgICAgLy8gKTtcbiAgICAgICAgICAgICAgLy8gfVxuICAgICAgICAgIH0pO1xuICAgICAgfVxuICAgICAgLy8gc2V0VGltZW91dCgoKSA9PiB7XG4gICAgICB0aGlzLmVkaXRvciA9IG5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LmZpbmROb2RlRm9yS2V5KHJzPy5rZXkpO1xuICAgICAgICAgIC8vICAgICAgICAgdGhpcy5teURpYWdyYW0ubW9kZWwuc2V0RGF0YVByb3BlcnR5KG5vZGU/LmRhdGEsICduYW1lJywgcnM/Lm5hbWUpO1xuICAgICAgICAgIC8vICAgICB9XG4gICAgICAgICAgLy8gfSksXG4gICAgICApO1xuICB9XG5cblxuXG5cbiAgbG9hZERpYWdyYW0oKSB7XG4gICAgICBpZiAodGhpcy5kYXRhPy5ub2RlRGF0YUFycmF5Py5sZW5ndGggJiYgISF0aGlzLnNob3dOb3RpZmljYXRpb25JY29uKSB7XG4gICAgICAgICAgXy5tYXAodGhpcy5kYXRhPy5ub2RlRGF0YUFycmF5LCAobm9kZSkgPT4ge1xuICAgICAgICAgICAgICAvLyBpZiAobm9kZT8udHlwZSA9PT0gR29qc0VkaXRvck1vZGVsLkVOVU1fVEVNUExBVEVTLlRFWFRfTk9ERSkge1xuICAgICAgICAgICAgICAvLyAgICAgbm9kZS5yZWNvbW1lbmRhdGlvbiA9IF8uc29tZShcbiAgICAgICAgICAgICAgLy8gICAgICAgICB0aGlzLl9SZWNvbW1lbmRhdGlvbnNTZXJ2aWNlLmFjdGl2ZVJlY29tbWVuZGF0aW9ucyQ/LnZhbHVlLFxuICAgICAgICAgICAgICAvLyAgICAgICAgICh4KSA9PiB4Py5Cb3hJZCA9PT0gbm9kZT8uaWQsXG4gICAgICAgICAgICAgIC8vICAgICApO1xuICAgICAgICAgICAgICAvLyAgICAgLy8gbm9kZS5kaXNjb3ZlcmllcyA9ICEhXy5nZXQoXG4gICAgICAgICAgICAgIC8vICAgICAvLyAgICAgdGhpcy5fUmVjb21tZW5kYXRpb25zU2VydmljZS5hY3RpdmVEaXNjb3ZlcmllcyQ/LnZhbHVlLFxuICAgICAgICAgICAgICAvLyAgICAgLy8gICAgIGAke0VOVU1fS1BJX01FVFJJQy5UT1BPTE9HWX0tJHtub2RlPy5pZH0uMGAsXG4gICAgICAgIC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