@huntsman-cancer-institute/cod 16.0.1 → 17.0.1
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.
- package/cod.module.d.ts +30 -31
- package/components/attribute-absolute.component.d.ts +28 -28
- package/components/attribute-base.d.ts +135 -135
- package/components/attribute-container.component.d.ts +50 -50
- package/components/attribute-default.component.d.ts +20 -20
- package/components/attribute-edit.component.d.ts +15 -15
- package/components/attribute-flex.component.d.ts +25 -25
- package/date/date-util.d.ts +9 -9
- package/esm2022/cod.module.mjs +114 -119
- package/esm2022/components/attribute-absolute.component.mjs +104 -104
- package/esm2022/components/attribute-base.mjs +564 -564
- package/esm2022/components/attribute-container.component.mjs +155 -155
- package/esm2022/components/attribute-default.component.mjs +63 -63
- package/esm2022/components/attribute-edit.component.mjs +33 -33
- package/esm2022/components/attribute-flex.component.mjs +58 -58
- package/esm2022/date/date-util.mjs +59 -59
- package/esm2022/huntsman-cancer-institute-cod.mjs +4 -4
- package/esm2022/index.mjs +20 -21
- package/esm2022/model/attribute-choice.entity.mjs +1 -1
- package/esm2022/model/attribute-configuration.dto.mjs +1 -1
- package/esm2022/model/attribute-configuration.entity.mjs +1 -1
- package/esm2022/model/attribute-container.entity.mjs +1 -1
- package/esm2022/model/attribute-dictionary.entity.mjs +1 -1
- package/esm2022/model/attribute-long-text.entity.mjs +1 -1
- package/esm2022/model/attribute-value-grid-row.entity.mjs +1 -1
- package/esm2022/model/attribute-value-set.entity.mjs +1 -1
- package/esm2022/model/attribute-value.entity.mjs +2 -2
- package/esm2022/model/attribute.entity.mjs +1 -1
- package/esm2022/model/dictionary-entries.dto.mjs +2 -2
- package/esm2022/model/extractable-field-status.entity.mjs +1 -1
- package/esm2022/model/graphical-attribute.entity.mjs +1 -1
- package/esm2022/model/pre-eval.dto.mjs +2 -2
- package/esm2022/pipes/is-group-attribute.pipe.mjs +32 -32
- package/esm2022/services/attribute.service.mjs +1211 -1211
- package/fesm2022/huntsman-cancer-institute-cod.mjs +2289 -2542
- package/fesm2022/huntsman-cancer-institute-cod.mjs.map +1 -1
- package/index.d.ts +26 -27
- package/model/attribute-choice.entity.d.ts +16 -16
- package/model/attribute-configuration.dto.d.ts +13 -13
- package/model/attribute-configuration.entity.d.ts +12 -12
- package/model/attribute-container.entity.d.ts +9 -9
- package/model/attribute-dictionary.entity.d.ts +12 -12
- package/model/attribute-long-text.entity.d.ts +4 -4
- package/model/attribute-value-grid-row.entity.d.ts +7 -7
- package/model/attribute-value-set.entity.d.ts +11 -11
- package/model/attribute-value.entity.d.ts +28 -28
- package/model/attribute.entity.d.ts +26 -26
- package/model/dictionary-entries.dto.d.ts +6 -6
- package/model/extractable-field-status.entity.d.ts +8 -8
- package/model/graphical-attribute.entity.d.ts +13 -13
- package/model/pre-eval.dto.d.ts +5 -5
- package/package.json +16 -8
- package/pipes/is-group-attribute.pipe.d.ts +13 -13
- package/services/attribute.service.d.ts +263 -263
- package/components/attribute-configuration.component.d.ts +0 -52
- package/esm2022/components/attribute-configuration.component.mjs +0 -263
|
@@ -1,263 +0,0 @@
|
|
|
1
|
-
import { ChangeDetectorRef, Component, ContentChildren, ElementRef, Input, QueryList, Renderer2, ViewChild, ViewChildren, HostBinding } from "@angular/core";
|
|
2
|
-
import { Subject, Subscription } from "rxjs";
|
|
3
|
-
import { NgbAccordion, NgbModal, NgbPanel } from "@ng-bootstrap/ng-bootstrap";
|
|
4
|
-
import { AccordionNavComponent } from "@huntsman-cancer-institute/misc";
|
|
5
|
-
import { AttributeService } from "../services/attribute.service";
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
import * as i1 from "../services/attribute.service";
|
|
8
|
-
import * as i2 from "@ng-bootstrap/ng-bootstrap";
|
|
9
|
-
import * as i3 from "@angular/common";
|
|
10
|
-
import * as i4 from "@huntsman-cancer-institute/misc";
|
|
11
|
-
import * as i5 from "./attribute-absolute.component";
|
|
12
|
-
import * as i6 from "./attribute-flex.component";
|
|
13
|
-
import * as i7 from "./attribute-edit.component";
|
|
14
|
-
import * as i8 from "../pipes/is-group-attribute.pipe";
|
|
15
|
-
/**
|
|
16
|
-
* This component should be added on to any screen that displays an entity with an idAttributeValueSet. This configuration
|
|
17
|
-
* represents the parent of separate containers, which in turn contain attributes which display those values in the
|
|
18
|
-
* attributeValueSet.
|
|
19
|
-
*/
|
|
20
|
-
export class AttributeConfigurationComponent {
|
|
21
|
-
constructor(attributeService, elementRef, renderer, changeDetectorRef, modalService) {
|
|
22
|
-
this.attributeService = attributeService;
|
|
23
|
-
this.elementRef = elementRef;
|
|
24
|
-
this.renderer = renderer;
|
|
25
|
-
this.changeDetectorRef = changeDetectorRef;
|
|
26
|
-
this.modalService = modalService;
|
|
27
|
-
this.classList = "hci-attribute-configuration hci-cod d-flex flex-column flex-grow-1";
|
|
28
|
-
this.editInline = true;
|
|
29
|
-
this.editPopup = false;
|
|
30
|
-
this.editable = true;
|
|
31
|
-
this.loadingSubject = new Subject();
|
|
32
|
-
this.windowDimension = {};
|
|
33
|
-
this.subscriptions = new Subscription();
|
|
34
|
-
}
|
|
35
|
-
/**
|
|
36
|
-
* Upon init, subscribe to the configuration and value set.
|
|
37
|
-
*/
|
|
38
|
-
ngOnInit() {
|
|
39
|
-
if (!this.editable) {
|
|
40
|
-
this.editInline = false;
|
|
41
|
-
this.editPopup = false;
|
|
42
|
-
}
|
|
43
|
-
this.loadingSubject = this.attributeService.getLoadingSubject();
|
|
44
|
-
this.subscriptions.add(this.attributeService.getAttributeConfigurationSubject().subscribe((attributeConfiguration) => {
|
|
45
|
-
this.attributeConfiguration = attributeConfiguration;
|
|
46
|
-
this.attributeService.setAttributeValueSet(this.idAttributeValueSet, this.idParentObject);
|
|
47
|
-
}));
|
|
48
|
-
this.subscriptions.add(this.attributeService.attributeConfigurationDimensionSubject.subscribe((windowDimension) => {
|
|
49
|
-
this.windowDimension = windowDimension;
|
|
50
|
-
}));
|
|
51
|
-
this.subscriptions.add(this.attributeService.getAttributeValueSet().subscribe((attributeValueSet) => {
|
|
52
|
-
this.attributeValueSet = attributeValueSet;
|
|
53
|
-
if (this.attributeValueSet) {
|
|
54
|
-
this.attributeService.notifyAttributes();
|
|
55
|
-
}
|
|
56
|
-
}));
|
|
57
|
-
}
|
|
58
|
-
set boundData(value) {
|
|
59
|
-
this.attributeService.setBoundData(value);
|
|
60
|
-
}
|
|
61
|
-
ngOnDestroy() {
|
|
62
|
-
this.subscriptions.unsubscribe();
|
|
63
|
-
}
|
|
64
|
-
set accordion(accordion) {
|
|
65
|
-
if (accordion) {
|
|
66
|
-
accordion.panels.reset([this.cPanels.toArray(), this.vPanels.toArray()]);
|
|
67
|
-
accordion.ngAfterContentChecked();
|
|
68
|
-
if (this.accordionNav && !this.accordionNav.accordion) {
|
|
69
|
-
this.accordionNav.setAccordion(accordion);
|
|
70
|
-
}
|
|
71
|
-
this.changeDetectorRef.detectChanges();
|
|
72
|
-
}
|
|
73
|
-
}
|
|
74
|
-
ngOnChanges(changes) {
|
|
75
|
-
if (!this.editable) {
|
|
76
|
-
this.editInline = false;
|
|
77
|
-
this.editPopup = false;
|
|
78
|
-
}
|
|
79
|
-
if (changes["accordionNav"] && this.accordionNav && this.accordion) {
|
|
80
|
-
this.accordionNav.accordion = this.accordion;
|
|
81
|
-
this.accordionNav.panels = this.accordion.panels;
|
|
82
|
-
}
|
|
83
|
-
}
|
|
84
|
-
getAttributeService() {
|
|
85
|
-
return this.attributeService;
|
|
86
|
-
}
|
|
87
|
-
edit(modal, editContainer) {
|
|
88
|
-
this.editContainer = editContainer;
|
|
89
|
-
this.modalService.open(modal, { windowClass: "modal-lg" }).result.then((result) => {
|
|
90
|
-
if (result === "Save") {
|
|
91
|
-
this.attributeService.updateAttributeValueSet();
|
|
92
|
-
}
|
|
93
|
-
else if (result === "Cancel") {
|
|
94
|
-
this.attributeService.clearUpdatedAttributeValues();
|
|
95
|
-
}
|
|
96
|
-
}, (reason) => { });
|
|
97
|
-
}
|
|
98
|
-
post() {
|
|
99
|
-
this.attributeService.updateAttributeValueSet();
|
|
100
|
-
}
|
|
101
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AttributeConfigurationComponent, deps: [{ token: i1.AttributeService }, { token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i0.ChangeDetectorRef }, { token: i2.NgbModal }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
102
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: AttributeConfigurationComponent, selector: "hci-attribute-configuration", inputs: { idAttributeValueSet: "idAttributeValueSet", idParentObject: "idParentObject", accordionNav: "accordionNav", editInline: "editInline", editPopup: "editPopup", editable: "editable", boundData: "boundData" }, host: { properties: { "class": "this.classList" } }, queries: [{ propertyName: "cPanels", predicate: NgbPanel }], viewQueries: [{ propertyName: "accordion", first: true, predicate: NgbAccordion, descendants: true }, { propertyName: "vPanels", predicate: NgbPanel, descendants: true }], usesOnChanges: true, ngImport: i0, template: `
|
|
103
|
-
<hci-busy [busySubjects]="[loadingSubject]"></hci-busy>
|
|
104
|
-
|
|
105
|
-
<ng-container *ngIf="attributeConfiguration && attributeValueSet">
|
|
106
|
-
<ngb-accordion #accordion="ngbAccordion" class="y-auto">
|
|
107
|
-
<ng-content></ng-content>
|
|
108
|
-
<ng-container *ngFor="let attributeContainer of attributeConfiguration.attributeContainers">
|
|
109
|
-
<ngb-panel [id]="'id-attribute-container-' + attributeContainer.idAttributeContainer" [title]="attributeContainer.containerName">
|
|
110
|
-
<ng-template ngbPanelTitle>
|
|
111
|
-
<div *ngIf="editPopup" [id]="'id-attribute-container-' + attributeContainer.idAttributeContainer + '-header'"
|
|
112
|
-
class="d-flex flex-grow-1 attribute-container-header {{'sort-order-' + attributeContainer.sortOrder}}">
|
|
113
|
-
<div class="ml-auto mr-0" (click)="edit(editModal, attributeContainer)">
|
|
114
|
-
<i class="fas fa-pencil"></i>
|
|
115
|
-
</div>
|
|
116
|
-
</div>
|
|
117
|
-
</ng-template>
|
|
118
|
-
<ng-template ngbPanelContent>
|
|
119
|
-
<div class="attribute-container"
|
|
120
|
-
[class.col-md-12]="attributeContainer.isAutoLayout && attributeContainer.isAutoLayout === 'Y'"
|
|
121
|
-
[class.flex]="attributeContainer.isAutoLayout && attributeContainer.isAutoLayout === 'Y'"
|
|
122
|
-
[class.flex-wrap]="attributeContainer.isAutoLayout && attributeContainer.isAutoLayout === 'Y'"
|
|
123
|
-
[class.absolute]="!attributeContainer.isAutoLayout || attributeContainer.isAutoLayout === 'N'"
|
|
124
|
-
[class.x-auto]="!attributeContainer.isAutoLayout || attributeContainer.isAutoLayout === 'N'"
|
|
125
|
-
[style.height.px]="(!attributeContainer.isAutoLayout || attributeContainer.isAutoLayout === 'N') ? windowDimension.height : 'auto'">
|
|
126
|
-
<ng-container *ngFor="let attribute of attributeContainer.graphicalAttributes | isGroupAttribute: false">
|
|
127
|
-
<ng-container *ngIf="attributeContainer.isAutoLayout && attributeContainer.isAutoLayout === 'Y' && attribute.codeAttributeDataType !== 'LINE'">
|
|
128
|
-
<hci-attribute-flex [id]="'id-attribute-' + attribute.idAttribute"
|
|
129
|
-
[attribute]="attribute"
|
|
130
|
-
[editInline]="editInline"
|
|
131
|
-
[class.attribute]="true"
|
|
132
|
-
[class.col-4]="attribute.codeAttributeDataType !== 'GA' && attribute.codeAttributeDataType !== 'LINE'"
|
|
133
|
-
[class.col-12]="attribute.codeAttributeDataType === 'GA' || attribute.codeAttributeDataType === 'LINE'"></hci-attribute-flex>
|
|
134
|
-
</ng-container>
|
|
135
|
-
<ng-container *ngIf="!attributeContainer.isAutoLayout || attributeContainer.isAutoLayout === 'N'">
|
|
136
|
-
<hci-attribute-absolute [id]="'id-attribute-' + attribute.idAttribute"
|
|
137
|
-
[attribute]="attribute"
|
|
138
|
-
[editInline]="editInline"
|
|
139
|
-
[class.attribute]="true"></hci-attribute-absolute>
|
|
140
|
-
</ng-container>
|
|
141
|
-
</ng-container>
|
|
142
|
-
</div>
|
|
143
|
-
</ng-template>
|
|
144
|
-
</ngb-panel>
|
|
145
|
-
</ng-container>
|
|
146
|
-
</ngb-accordion>
|
|
147
|
-
</ng-container>
|
|
148
|
-
|
|
149
|
-
<ng-template #editModal let-close="close">
|
|
150
|
-
<div class="modal-header">
|
|
151
|
-
{{editContainer.containerName}}
|
|
152
|
-
</div>
|
|
153
|
-
<div class="modal-body d-flex flex-column hci-cod-edit">
|
|
154
|
-
<ng-container *ngFor="let attribute of editContainer.graphicalAttributes | isGroupAttribute: false">
|
|
155
|
-
<hci-attribute-edit [id]="'edit-id-attribute-' + attribute.idAttribute"
|
|
156
|
-
[attribute]="attribute"
|
|
157
|
-
class="attribute"></hci-attribute-edit>
|
|
158
|
-
</ng-container>
|
|
159
|
-
</div>
|
|
160
|
-
<div class="modal-footer">
|
|
161
|
-
<button class="btn btn-primary" (click)="close('Save')">Save</button>
|
|
162
|
-
<button class="btn btn-primary" (click)="close('Cancel')">Cancel</button>
|
|
163
|
-
</div>
|
|
164
|
-
</ng-template>
|
|
165
|
-
`, isInline: true, dependencies: [{ kind: "directive", type: i3.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i2.NgbAccordion, selector: "ngb-accordion", inputs: ["animation", "activeIds", "closeOthers", "destroyOnHide", "type"], outputs: ["panelChange", "shown", "hidden"], exportAs: ["ngbAccordion"] }, { kind: "directive", type: i2.NgbPanel, selector: "ngb-panel", inputs: ["disabled", "id", "title", "type", "cardClass"], outputs: ["shown", "hidden"] }, { kind: "directive", type: i2.NgbPanelTitle, selector: "ng-template[ngbPanelTitle]" }, { kind: "directive", type: i2.NgbPanelContent, selector: "ng-template[ngbPanelContent]" }, { kind: "component", type: i4.BusyComponent, selector: "hci-busy", inputs: ["busy", "busySubjects", "getBusySubjects", "parentSelector", "rootClass", "icon", "iconSize", "showIcon", "mxAuto", "myAuto", "text", "template", "config"] }, { kind: "component", type: i5.AttributeAbsoluteComponent, selector: "hci-attribute-absolute" }, { kind: "component", type: i6.AttributeFlexComponent, selector: "hci-attribute-flex" }, { kind: "component", type: i7.AttributeEditComponent, selector: "hci-attribute-edit" }, { kind: "pipe", type: i8.IsGroupAttributePipe, name: "isGroupAttribute" }] }); }
|
|
166
|
-
}
|
|
167
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AttributeConfigurationComponent, decorators: [{
|
|
168
|
-
type: Component,
|
|
169
|
-
args: [{
|
|
170
|
-
selector: "hci-attribute-configuration",
|
|
171
|
-
template: `
|
|
172
|
-
<hci-busy [busySubjects]="[loadingSubject]"></hci-busy>
|
|
173
|
-
|
|
174
|
-
<ng-container *ngIf="attributeConfiguration && attributeValueSet">
|
|
175
|
-
<ngb-accordion #accordion="ngbAccordion" class="y-auto">
|
|
176
|
-
<ng-content></ng-content>
|
|
177
|
-
<ng-container *ngFor="let attributeContainer of attributeConfiguration.attributeContainers">
|
|
178
|
-
<ngb-panel [id]="'id-attribute-container-' + attributeContainer.idAttributeContainer" [title]="attributeContainer.containerName">
|
|
179
|
-
<ng-template ngbPanelTitle>
|
|
180
|
-
<div *ngIf="editPopup" [id]="'id-attribute-container-' + attributeContainer.idAttributeContainer + '-header'"
|
|
181
|
-
class="d-flex flex-grow-1 attribute-container-header {{'sort-order-' + attributeContainer.sortOrder}}">
|
|
182
|
-
<div class="ml-auto mr-0" (click)="edit(editModal, attributeContainer)">
|
|
183
|
-
<i class="fas fa-pencil"></i>
|
|
184
|
-
</div>
|
|
185
|
-
</div>
|
|
186
|
-
</ng-template>
|
|
187
|
-
<ng-template ngbPanelContent>
|
|
188
|
-
<div class="attribute-container"
|
|
189
|
-
[class.col-md-12]="attributeContainer.isAutoLayout && attributeContainer.isAutoLayout === 'Y'"
|
|
190
|
-
[class.flex]="attributeContainer.isAutoLayout && attributeContainer.isAutoLayout === 'Y'"
|
|
191
|
-
[class.flex-wrap]="attributeContainer.isAutoLayout && attributeContainer.isAutoLayout === 'Y'"
|
|
192
|
-
[class.absolute]="!attributeContainer.isAutoLayout || attributeContainer.isAutoLayout === 'N'"
|
|
193
|
-
[class.x-auto]="!attributeContainer.isAutoLayout || attributeContainer.isAutoLayout === 'N'"
|
|
194
|
-
[style.height.px]="(!attributeContainer.isAutoLayout || attributeContainer.isAutoLayout === 'N') ? windowDimension.height : 'auto'">
|
|
195
|
-
<ng-container *ngFor="let attribute of attributeContainer.graphicalAttributes | isGroupAttribute: false">
|
|
196
|
-
<ng-container *ngIf="attributeContainer.isAutoLayout && attributeContainer.isAutoLayout === 'Y' && attribute.codeAttributeDataType !== 'LINE'">
|
|
197
|
-
<hci-attribute-flex [id]="'id-attribute-' + attribute.idAttribute"
|
|
198
|
-
[attribute]="attribute"
|
|
199
|
-
[editInline]="editInline"
|
|
200
|
-
[class.attribute]="true"
|
|
201
|
-
[class.col-4]="attribute.codeAttributeDataType !== 'GA' && attribute.codeAttributeDataType !== 'LINE'"
|
|
202
|
-
[class.col-12]="attribute.codeAttributeDataType === 'GA' || attribute.codeAttributeDataType === 'LINE'"></hci-attribute-flex>
|
|
203
|
-
</ng-container>
|
|
204
|
-
<ng-container *ngIf="!attributeContainer.isAutoLayout || attributeContainer.isAutoLayout === 'N'">
|
|
205
|
-
<hci-attribute-absolute [id]="'id-attribute-' + attribute.idAttribute"
|
|
206
|
-
[attribute]="attribute"
|
|
207
|
-
[editInline]="editInline"
|
|
208
|
-
[class.attribute]="true"></hci-attribute-absolute>
|
|
209
|
-
</ng-container>
|
|
210
|
-
</ng-container>
|
|
211
|
-
</div>
|
|
212
|
-
</ng-template>
|
|
213
|
-
</ngb-panel>
|
|
214
|
-
</ng-container>
|
|
215
|
-
</ngb-accordion>
|
|
216
|
-
</ng-container>
|
|
217
|
-
|
|
218
|
-
<ng-template #editModal let-close="close">
|
|
219
|
-
<div class="modal-header">
|
|
220
|
-
{{editContainer.containerName}}
|
|
221
|
-
</div>
|
|
222
|
-
<div class="modal-body d-flex flex-column hci-cod-edit">
|
|
223
|
-
<ng-container *ngFor="let attribute of editContainer.graphicalAttributes | isGroupAttribute: false">
|
|
224
|
-
<hci-attribute-edit [id]="'edit-id-attribute-' + attribute.idAttribute"
|
|
225
|
-
[attribute]="attribute"
|
|
226
|
-
class="attribute"></hci-attribute-edit>
|
|
227
|
-
</ng-container>
|
|
228
|
-
</div>
|
|
229
|
-
<div class="modal-footer">
|
|
230
|
-
<button class="btn btn-primary" (click)="close('Save')">Save</button>
|
|
231
|
-
<button class="btn btn-primary" (click)="close('Cancel')">Cancel</button>
|
|
232
|
-
</div>
|
|
233
|
-
</ng-template>
|
|
234
|
-
`
|
|
235
|
-
}]
|
|
236
|
-
}], ctorParameters: function () { return [{ type: i1.AttributeService }, { type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i0.ChangeDetectorRef }, { type: i2.NgbModal }]; }, propDecorators: { classList: [{
|
|
237
|
-
type: HostBinding,
|
|
238
|
-
args: ["class"]
|
|
239
|
-
}], idAttributeValueSet: [{
|
|
240
|
-
type: Input
|
|
241
|
-
}], idParentObject: [{
|
|
242
|
-
type: Input
|
|
243
|
-
}], accordionNav: [{
|
|
244
|
-
type: Input
|
|
245
|
-
}], editInline: [{
|
|
246
|
-
type: Input
|
|
247
|
-
}], editPopup: [{
|
|
248
|
-
type: Input
|
|
249
|
-
}], editable: [{
|
|
250
|
-
type: Input
|
|
251
|
-
}], vPanels: [{
|
|
252
|
-
type: ViewChildren,
|
|
253
|
-
args: [NgbPanel]
|
|
254
|
-
}], cPanels: [{
|
|
255
|
-
type: ContentChildren,
|
|
256
|
-
args: [NgbPanel]
|
|
257
|
-
}], boundData: [{
|
|
258
|
-
type: Input
|
|
259
|
-
}], accordion: [{
|
|
260
|
-
type: ViewChild,
|
|
261
|
-
args: [NgbAccordion, { static: false }]
|
|
262
|
-
}] }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cmlidXRlQ29udGFpbmVyLmlzQXV0b0xheW91dCA9PT0gJ1knICYmIGF0dHJpYnV0ZS5jb2RlQXR0cmlidXRlRGF0YVR5cGUgIT09ICdMSU5FJ1wiPlxyXG4gICAgICAgICAgICAgICAgICAgIDxoY2ktYXR0cmlidXRlLWZsZXggW2lkXT1cIidpZC1hdHRyaWJ1dGUtJyArIGF0dHJpYnV0ZS5pZEF0dHJpYnV0ZVwiXHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBbYXR0cmlidXRlXT1cImF0dHJpYnV0ZVwiXHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBbZWRpdElubGluZV09XCJlZGl0SW5saW5lXCJcclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIFtjbGFzcy5hdHRyaWJ1dGVdPVwidHJ1ZVwiXHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBbY2xhc3MuY29sLTRdPVwiYXR0cmlidXRlLmNvZGVBdHRyaWJ1dGVEYXRhVHlwZSAhPT0gJ0dBJyAmJiBhdHRyaWJ1dGUuY29kZUF0dHJpYnV0ZURhdGFUeXBlICE9PSAnTElORSdcIlxyXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgW2NsYXNzLmNvbC0xMl09XCJhdHRyaWJ1dGUuY29kZUF0dHJpYnV0ZURhdGFUeXBlID09PSAnR0EnIHx8IGF0dHJpYnV0ZS5jb2RlQXR0cmlidXRlRGF0YVR5cGUgPT09ICdMSU5FJ1wiPjwvaGNpLWF0dHJpYnV0ZS1mbGV4PlxyXG4gICAgICAgICAgICAgICAgICA8L25nLWNvbnRhaW5lcj5cclxuICAgICAgICAgICAgICAgICAgPG5nLWNvbnRhaW5lciAqbmdJZj1cIiFhdHRyaWJ1dGVDb250YWluZXIuaXNBdXRvTGF5b3V0IHx8IGF0dHJpYnV0ZUNvbnRhaW5lci5pc0F1dG9MYXlvdXQgPT09ICdOJ1wiPlxyXG4gICAgICAgICAgICAgICAgICAgIDxoY2ktYXR0cmlidXRlLWFic29sdXRlIFtpZF09XCInaWQtYXR0cmlidXRlLScgKyBhdHRyaWJ1dGUuaWRBdHRyaWJ1dGVcIlxyXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIFthdHRyaWJ1dGVdPVwiYXR0cmlidXRlXCJcclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBbZWRpdElubGluZV09XCJlZGl0SW5saW5lXCJcclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBbY2xhc3MuYXR0cmlidXRlXT1cInRydWVcIj48L2hjaS1hdHRyaWJ1dGUtYWJzb2x1dGU+XHJcbiAgICAgICAgICAgICAgICAgIDwvbmctY29udGFpbmVyPlxyXG4gICAgICAgICAgICAgICAgPC9uZy1jb250YWluZXI+XHJcbiAgICAgICAgICAgICAgPC9kaXY+XHJcbiAgICAgICAgICAgIDwvbmctdGVtcGxhdGU+XHJcbiAgICAgICAgICA8L25nYi1wYW5lbD5cclxuICAgICAgICA8L25nLWNvbnRhaW5lcj5cclxuICAgICAgPC9uZ2ItYWNjb3JkaW9uPlxyXG4gICAgPC9uZy1jb250YWluZXI+XHJcblxyXG4gICAgPG5nLXRlbXBsYXRlICNlZGl0TW9kYWwgbGV0LWNsb3NlPVwiY2xvc2VcIj5cclxuICAgICAgPGRpdiBjbGFzcz1cIm1vZGFsLWhlYWRlclwiPlxyXG4gICAgICAgIHt7ZWRpdENvbnRhaW5lci5jb250YWluZXJOYW1lfX1cclxuICAgICAgPC9kaXY+XHJcbiAgICAgIDxkaXYgY2xhc3M9XCJtb2RhbC1ib2R5IGQtZmxleCBmbGV4LWNvbHVtbiBoY2ktY29kLWVkaXRcIj5cclxuICAgICAgICA8bmctY29udGFpbmVyICpuZ0Zvcj1cImxldCBhdHRyaWJ1dGUgb2YgZWR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