ato-water-lib 0.0.90 → 0.0.91

Sign up to get free protection for your applications and to get access to all the features.
Files changed (45) hide show
  1. package/{esm2022 → esm2020}/lib/ato-water-lib.component.mjs +5 -5
  2. package/{esm2022 → esm2020}/lib/ato-water-lib.module.mjs +15 -15
  3. package/{esm2022 → esm2020}/lib/ato-water-lib.service.mjs +5 -5
  4. package/esm2020/lib/components/asset-flow/asset-flow.component.mjs +165 -0
  5. package/{esm2022 → esm2020}/lib/components/asset-params-view/asset-params-view.component.mjs +9 -7
  6. package/esm2020/lib/components/flow-diagram-lib/flow-diagram-lib.component.mjs +54 -0
  7. package/esm2020/lib/constants/components-group-const.mjs +3236 -0
  8. package/esm2020/lib/directive/ato-loading.directive.mjs +55 -0
  9. package/esm2020/lib/directive/ng-var.directive.mjs +31 -0
  10. package/esm2020/lib/models/default-gojs-editor.model.mjs +3578 -0
  11. package/esm2020/lib/models/gojs-data.model.mjs +6 -0
  12. package/esm2020/lib/models/gojs-editor.model.mjs +1811 -0
  13. package/esm2020/lib/services/utils/utils.service.mjs +133 -0
  14. package/fesm2015/ato-water-lib.mjs +9674 -0
  15. package/fesm2015/ato-water-lib.mjs.map +1 -0
  16. package/{fesm2022 → fesm2020}/ato-water-lib.mjs +1324 -385
  17. package/fesm2020/ato-water-lib.mjs.map +1 -0
  18. package/lib/components/asset-flow/asset-flow.component.d.ts +1 -1
  19. package/lib/components/asset-params-view/asset-params-view.component.d.ts +1 -1
  20. package/lib/components/flow-diagram-lib/flow-diagram-lib.component.d.ts +1 -1
  21. package/lib/constants/components-group-const.d.ts +454 -3
  22. package/lib/directive/ato-loading.directive.d.ts +1 -1
  23. package/lib/directive/ng-var.directive.d.ts +1 -1
  24. package/lib/models/default-gojs-editor.model.d.ts +2 -2
  25. package/lib/models/gojs-editor.model.d.ts +8 -4
  26. package/package.json +13 -7
  27. package/esm2022/lib/components/asset-flow/asset-flow.component.mjs +0 -174
  28. package/esm2022/lib/components/flow-diagram-lib/flow-diagram-lib.component.mjs +0 -55
  29. package/esm2022/lib/constants/components-group-const.mjs +0 -2291
  30. package/esm2022/lib/directive/ato-loading.directive.mjs +0 -59
  31. package/esm2022/lib/directive/ng-var.directive.mjs +0 -33
  32. package/esm2022/lib/models/default-gojs-editor.model.mjs +0 -3582
  33. package/esm2022/lib/models/gojs-data.model.mjs +0 -10
  34. package/esm2022/lib/models/gojs-editor.model.mjs +0 -1799
  35. package/esm2022/lib/services/utils/utils.service.mjs +0 -133
  36. package/fesm2022/ato-water-lib.mjs.map +0 -1
  37. /package/{esm2022 → esm2020}/ato-water-lib.mjs +0 -0
  38. /package/{esm2022 → esm2020}/lib/constants/applicable-prefixes-const.mjs +0 -0
  39. /package/{esm2022 → esm2020}/lib/constants/base64.const.mjs +0 -0
  40. /package/{esm2022 → esm2020}/lib/constants/icon-base64.const.mjs +0 -0
  41. /package/{esm2022 → esm2020}/lib/constants/key.const.mjs +0 -0
  42. /package/{esm2022 → esm2020}/lib/constants/plant.constant.mjs +0 -0
  43. /package/{esm2022 → esm2020}/lib/constants/value.const.mjs +0 -0
  44. /package/{esm2022 → esm2020}/lib/models/ato-asset-flow.model.mjs +0 -0
  45. /package/{esm2022 → esm2020}/public-api.mjs +0 -0
@@ -1,3582 +0,0 @@
1
- import { Directive, EventEmitter, Input, Output, ViewChild, } from '@angular/core';
2
- import { AtoGojsEditorModel } from './gojs-editor.model';
3
- import * as go from 'gojs';
4
- import _ from 'lodash';
5
- import moment from 'moment';
6
- import { GO_LICENSE_KEY } from '../constants/key.const';
7
- import { Subject } from 'rxjs';
8
- import { UtilsService } from '../services/utils/utils.service';
9
- import { ATO_ENUM_FLOW_DIRECTION, ATO_ECOMPONENT_PLANT_TYPE, NO_DATA, TEXT_UNKNOWN, VALUE_NA, } from '../constants/value.const';
10
- import { ATO_EPlantType } from '../constants/plant.constant';
11
- import { Subscription } from 'rxjs';
12
- import { ICONS_BASE64 } from '../constants/icon-base64.const';
13
- import * as i0 from "@angular/core";
14
- const ICON_ALERT = '/assets/images/icons/Station.svg';
15
- const ARROW = '/assets/images/icons/arrow.svg';
16
- const ARROW_GRAY = '/assets/images/icons/arrow-gray.svg';
17
- const RO_LINE_DIRTY = '/assets/images/icons/ro_line_dirty.svg';
18
- const OUTFLOW_LINE_DIRTY = '/assets/images/icons/outflow_line_dirty.png';
19
- export class AtoDefaultGojsEditor {
20
- _elRef;
21
- menuTrigger;
22
- linkValidation;
23
- actions = [];
24
- actionMenuId = 'actionMenuId';
25
- myDiagramDiv = this.constructor.name + '-' + moment().valueOf();
26
- myDiagram;
27
- $ = go.GraphObject.make;
28
- animationInterval;
29
- defaultScaleZoomToFit;
30
- _initialOptions = {
31
- 'toolManager.hoverDelay': 200,
32
- // 'draggingTool.isEnabled': false,
33
- // initialAutoScale: go.Diagram.UniformToFill,
34
- // autoScrollRegion: AtoGojsEditorModel.GRID_SIZE * 5,
35
- layout: this.$(go.LayeredDigraphLayout, { direction: 0 }),
36
- initialContentAlignment: go.Spot.Center,
37
- initialAutoScale: go.Diagram.Uniform,
38
- // contentAlignment: go.Spot.Center,
39
- // this.$(go.ForceDirectedLayout),
40
- 'undoManager.isEnabled': true, // enable undo & redo
41
- // "animationManager.isInitial": false,
42
- // "animationManager.isEnabled": false,
43
- // "draggingTool.isGridSnapEnabled": true
44
- dragSelectingTool: this.$(go.DragSelectingTool, { isPartialInclusion: true, delay: 50 }, {
45
- box: this.$(go.Part, // replace the magenta box with a red one
46
- { layerName: 'Tool', selectable: false }, this.$(go.Shape, {
47
- name: 'SHAPE',
48
- fill: 'rgba(255,0,0,0)',
49
- stroke: '#E95F47',
50
- strokeWidth: 2,
51
- })),
52
- }),
53
- 'linkingTool.linkValidation': this.checkLinkCondition.bind(this),
54
- 'draggingTool.doMouseMove': function () {
55
- // do the standard behavior by calling the super method
56
- go.DraggingTool.prototype.doMouseMove.call(this);
57
- // if dragging-out from the diagram is not allowed, and
58
- // if mouse is outside of viewport
59
- if (!this.diagram.allowDragOut &&
60
- !this.diagram.viewportBounds.containsPoint(this.diagram.lastInput.documentPoint)) {
61
- this.diagram.ensureBounds();
62
- const vp = this.diagram.lastInput.viewPoint;
63
- const dp = this.diagram.position.copy();
64
- if (vp.x < 0)
65
- dp.x -= 10;
66
- else if (vp.x > 0)
67
- dp.x += 10;
68
- if (vp.y < 0)
69
- dp.y -= 10;
70
- else if (vp.y > 0)
71
- dp.y += 10;
72
- this.diagram.position = dp; // scroll in the direction of the mouse
73
- }
74
- },
75
- // LayoutCompleted: () => {
76
- // this.myDiagram.zoomToFit();
77
- // this.defaultScaleZoomToFit = this.myDiagram.scale;
78
- // if (!this.initialOptions.isReadOnly) {
79
- // const sizeMargin = AtoGojsEditorModel.GRID_SIZE * 15;
80
- // this.myDiagram.padding = new go.Margin(sizeMargin);
81
- // }
82
- // },
83
- };
84
- checkLinkCondition(fromNode, fromPort, toNode, toPort, link) {
85
- if (this.linkValidation) {
86
- return this.linkValidation(fromNode, fromPort, toNode, toPort, link);
87
- }
88
- return true; // Mặc định cho trường hợp không có hàm linkValidation được truyền vào
89
- }
90
- set initialOptions(v) {
91
- this._initialOptions = _.merge(this._initialOptions, v);
92
- // _.extend(v, this._initialOptions);
93
- }
94
- get initialOptions() {
95
- return this._initialOptions;
96
- }
97
- _editor;
98
- set editor(v) {
99
- this._editor = v;
100
- if (v) {
101
- setTimeout(() => {
102
- this.initDiagram();
103
- }, 100);
104
- }
105
- }
106
- get editor() {
107
- return this._editor;
108
- }
109
- isShowNodeInfo = false;
110
- plantSatus;
111
- constructor(_elRef) {
112
- this._elRef = _elRef;
113
- go.Diagram.licenseKey = GO_LICENSE_KEY;
114
- }
115
- onModelChangeListenerEvent = new EventEmitter();
116
- onClickInfoButton = new EventEmitter();
117
- onOpenWizard = new EventEmitter();
118
- onOpenDetail = new EventEmitter();
119
- onOpenAssetParameter = new EventEmitter();
120
- onOpenInsightMapping = new EventEmitter();
121
- onHoverInfoButton = new EventEmitter();
122
- onHoverAlert = new EventEmitter();
123
- onDoubleClickNode = new EventEmitter();
124
- onOpenChangeIcon = new EventEmitter();
125
- // Click component
126
- onClickCompoent = new EventEmitter();
127
- callbackImageTopology = new EventEmitter();
128
- // Click param on ParamTable
129
- onClikParamOfTable = new EventEmitter();
130
- // Delete Node
131
- onDeleteNode = new EventEmitter();
132
- onUndo = new EventEmitter();
133
- // Rename
134
- onRename = new EventEmitter();
135
- isAddedModelChangedListeners;
136
- committedTransactionSubject = new Subject();
137
- // AddSub and UnSub
138
- _subscriptionList = new Subscription();
139
- ngOnDestroy() {
140
- this.unsubscribeAll();
141
- this.stopAnimation();
142
- // this.myDiagram?.clear();
143
- if (!!this.myDiagram?.div) {
144
- this.myDiagram.div = null;
145
- }
146
- if (this.myDiagram) {
147
- this.myDiagram.clear();
148
- }
149
- if (this.myDiagram != null && this.myDiagram.nodeTemplateMap != null) {
150
- this.myDiagram.nodeTemplateMap.clear();
151
- }
152
- if (this.myDiagram != null && this.myDiagram.groupTemplateMap != null) {
153
- this.myDiagram.groupTemplateMap.clear();
154
- }
155
- if (this.myDiagram != null && this.myDiagram.linkTemplate != null) {
156
- for (var key in this.myDiagram.linkTemplateMap.toArray()) {
157
- this.myDiagram.linkTemplateMap.remove(key);
158
- }
159
- }
160
- this.myDiagram = null;
161
- }
162
- addOrRemoveCompoentTemplate() {
163
- // Add Node and Node Group
164
- _.forEach(this.editor.data?.nodeDataArray, (node) => {
165
- this.addTemplate(node);
166
- });
167
- // Remove Node and Node Group
168
- _.forEach(this.myDiagram.nodeTemplateMap?.Hb, (temp) => {
169
- if (temp?.key &&
170
- !this.editor.data?.nodeDataArray?.some((node) => node?.type === temp?.key)) {
171
- this.myDiagram.nodeTemplateMap.remove(temp?.key);
172
- }
173
- });
174
- _.forEach(this.myDiagram.groupTemplateMap?.Hb, (temp) => {
175
- if (temp?.key &&
176
- !this.editor.data?.nodeDataArray?.some((node) => node?.type === temp?.key)) {
177
- this.myDiagram.groupTemplateMap.remove(temp?.key);
178
- }
179
- });
180
- }
181
- addTemplate(node) {
182
- this.addNodeTemplate(node);
183
- this.addGroupTemplate(node);
184
- }
185
- addGroupTemplate(node) {
186
- if (this.myDiagram.groupTemplateMap?.Hb?.[node?.type] || !node?.isGroup) {
187
- return;
188
- }
189
- // Group
190
- if (node?.type === AtoGojsEditorModel.ENUM_TEMPLATES.RO_WATER_TREATMENT) {
191
- this.makeGroupROPlantTemplate(AtoGojsEditorModel.NODE_TEMPLATES[node?.type].icon, AtoGojsEditorModel.NODE_TEMPLATES[node?.type].name);
192
- return;
193
- }
194
- if (node?.type === AtoGojsEditorModel.ENUM_TEMPLATES.BOILER) {
195
- this.makeGroupBoilerTemplate(AtoGojsEditorModel.NODE_TEMPLATES[node?.type].icon, AtoGojsEditorModel.NODE_TEMPLATES[node?.type].name);
196
- return;
197
- }
198
- if (node?.type === AtoGojsEditorModel.ENUM_TEMPLATES.COOLING_TOWER) {
199
- this.makeGroupCoolingTowerTemplate(AtoGojsEditorModel.NODE_TEMPLATES[node?.type].icon, AtoGojsEditorModel.NODE_TEMPLATES[node?.type].name);
200
- return;
201
- }
202
- if (node?.type === AtoGojsEditorModel.ENUM_TEMPLATES.ZONE) {
203
- this.makeGroupZoneTemplate();
204
- return;
205
- }
206
- if (node?.type === AtoGojsEditorModel.ENUM_TEMPLATES.PLANT_CELL &&
207
- node?.isGroup) {
208
- this.groupPlantCellTemplate(AtoGojsEditorModel.NODE_TEMPLATES[node?.type].icon, AtoGojsEditorModel.NODE_TEMPLATES[node?.type].name);
209
- return;
210
- }
211
- if (node?.type === AtoGojsEditorModel.ENUM_TEMPLATES.PLANT_CELL_INPUT_GROUP) {
212
- this.groupPCInputOrOutTemplate(AtoGojsEditorModel.NODE_TEMPLATES[node?.type].icon, AtoGojsEditorModel.NODE_TEMPLATES[node?.type].name, new go.Margin(0, 50, 0, 0));
213
- return;
214
- }
215
- if (node?.type === AtoGojsEditorModel.ENUM_TEMPLATES.PLANT_CELL_OUTPUT_GROUP) {
216
- this.groupPCInputOrOutTemplate(AtoGojsEditorModel.NODE_TEMPLATES[node?.type].icon, AtoGojsEditorModel.NODE_TEMPLATES[node?.type].name, new go.Margin(0, 0, 0, 50));
217
- return;
218
- }
219
- if (node?.type === AtoGojsEditorModel.ENUM_TEMPLATES.GROUP_BASIC_COMPONENT) {
220
- this.makeGroupBasicComponent(AtoGojsEditorModel.NODE_TEMPLATES[node?.type].icon, AtoGojsEditorModel.NODE_TEMPLATES[node?.type].name);
221
- return;
222
- }
223
- this.makeGroupTemplate(AtoGojsEditorModel.NODE_TEMPLATES[node?.type].icon, AtoGojsEditorModel.NODE_TEMPLATES[node?.type].name);
224
- }
225
- addNodeTemplate(node) {
226
- if (this.myDiagram.nodeTemplateMap?.Hb?.[node?.type] || node?.isGroup) {
227
- return;
228
- }
229
- // Not Group
230
- // Component Water Normal
231
- if (AtoGojsEditorModel.TYPE_TEMPLATE_WATER_NORMAL?.includes(node?.type) &&
232
- !node?.isGroup) {
233
- this.makeEntityTemplate(AtoGojsEditorModel.NODE_TEMPLATES[node?.type].icon ?? '', AtoGojsEditorModel.NODE_TEMPLATES[node?.type].name ?? '');
234
- }
235
- // Component Water Withdraw Or Discharge
236
- if (AtoGojsEditorModel.TYPE_TEMPLATE_WATER_WITHDRAW_OR_DISCHARGE?.includes(node?.type) &&
237
- !node?.isGroup) {
238
- this.makeEntityWithdrawOrDischarge(AtoGojsEditorModel.NODE_TEMPLATES[node?.type].icon ?? '', AtoGojsEditorModel.NODE_TEMPLATES[node?.type].name ?? '');
239
- }
240
- // Component Energy Normal
241
- if ((AtoGojsEditorModel.TYPE_TEMPLATE_ELECTRICITY?.includes(node?.type) ||
242
- AtoGojsEditorModel.TYPE_TEMPLATE_NATURAL_GAS?.includes(node?.type) ||
243
- AtoGojsEditorModel.TYPE_TEMPLATE_FUEL?.includes(node?.type) ||
244
- AtoGojsEditorModel.TYPE_TEMPLATE_STEAM?.includes(node?.type)) &&
245
- !node?.isGroup) {
246
- this.makeEntityTemplateEnergy(AtoGojsEditorModel.NODE_TEMPLATES[node?.type].icon ?? '', AtoGojsEditorModel.NODE_TEMPLATES[node?.type].name ?? '');
247
- }
248
- if (node?.type === AtoGojsEditorModel.ENUM_TEMPLATES.IMAGE_TEMPLATE) {
249
- this.makeImageTemplate();
250
- }
251
- if (node?.type === AtoGojsEditorModel.ENUM_TEMPLATES.PARAM_TABLE) {
252
- this.makeParamTable();
253
- }
254
- if (node?.type === AtoGojsEditorModel.ENUM_TEMPLATES.MASS_BALANCE) {
255
- this.makeMassBalance();
256
- }
257
- // Text Node
258
- if (node?.type === AtoGojsEditorModel.ENUM_TEMPLATES.TEXT_NODE) {
259
- this.makeTextTemplate();
260
- }
261
- // Value Node
262
- if (node?.type === AtoGojsEditorModel.ENUM_TEMPLATES.VALUE_NODE) {
263
- this.makeValueNodeTemplate();
264
- }
265
- // Value Node
266
- if (node?.type === AtoGojsEditorModel.ENUM_TEMPLATES.EMPTY) {
267
- this.makeEmptyNodeTemplate();
268
- }
269
- // Value Label
270
- if (node?.type === AtoGojsEditorModel.ENUM_TEMPLATES.VALUE_LABEL) {
271
- this.makeValueLabelTemplate();
272
- }
273
- // Label
274
- if (node?.type === AtoGojsEditorModel.ENUM_TEMPLATES.TEXT_LABEL) {
275
- this.makeTextLabelTemplate();
276
- }
277
- // Zone item
278
- if (node?.type === AtoGojsEditorModel.ENUM_TEMPLATES.ZONE_ENERGY_ITEM) {
279
- this.makeZoneItemTemplate();
280
- }
281
- // data box
282
- if (node?.type === AtoGojsEditorModel.ENUM_TEMPLATES.DATA_BOX) {
283
- this.makeDataBoxTemplate();
284
- }
285
- // Special template
286
- if (AtoGojsEditorModel.TYPE_TEMPLATE_SPECIAL?.includes(node?.type)) {
287
- this.makeSpecialTemplate(AtoGojsEditorModel.NODE_TEMPLATES[node?.type].icon, AtoGojsEditorModel.NODE_TEMPLATES[node?.type].name);
288
- }
289
- // Plant Cell
290
- if (node?.type === AtoGojsEditorModel.ENUM_TEMPLATES.PLANT_CELL &&
291
- !node?.isGroup) {
292
- this.plantCellTemplate(AtoGojsEditorModel.NODE_TEMPLATES[node?.type].icon, AtoGojsEditorModel.NODE_TEMPLATES[node?.type].name);
293
- }
294
- }
295
- initDiagram() {
296
- if (!!this.myDiagram?.div) {
297
- // this.myDiagram.div = null;
298
- if (this.initialOptions?.grid) {
299
- this.myDiagram['grid'] = this.initialOptions?.grid;
300
- }
301
- else {
302
- this.myDiagram['grid'] = this.$(go.Panel, 'Grid');
303
- }
304
- if (this.initialOptions?.LayoutCompleted) {
305
- this.myDiagram.addDiagramListener('LayoutCompleted', this.initialOptions?.LayoutCompleted);
306
- }
307
- if (this.initialOptions?.LinkReshaped) {
308
- this.myDiagram.addDiagramListener('LinkReshaped', this.initialOptions?.LinkReshaped);
309
- }
310
- if (this.initialOptions?.SelectionMoved) {
311
- this.myDiagram.addDiagramListener('SelectionMoved', this.initialOptions?.SelectionMoved);
312
- }
313
- if (this.initialOptions?.ChangedSelection) {
314
- this.myDiagram.addDiagramListener('ChangedSelection', this.initialOptions?.ChangedSelection);
315
- }
316
- this.myDiagram.dragSelectingTool = this.initialOptions?.dragSelectingTool;
317
- this.myDiagram.toolManager.draggingTool.isGridSnapEnabled =
318
- this.initialOptions?.['draggingTool.isGridSnapEnabled'] ?? false;
319
- if (this.myDiagram.toolManager &&
320
- this.myDiagram.toolManager.draggingTool) {
321
- if (this.initialOptions?.['draggingTool.gridSnapCellSize']) {
322
- this.myDiagram.toolManager.draggingTool.gridSnapCellSize =
323
- this.initialOptions?.['draggingTool.gridSnapCellSize'];
324
- }
325
- // if (this.initialOptions?.['draggingTool.isGridSnapEnabled']) {
326
- // this.myDiagram.toolManager.draggingTool.isGridSnapEnabled =
327
- // this.initialOptions?.['draggingTool.isGridSnapEnabled'];
328
- // }
329
- if (this.initialOptions?.['draggingTool.doMouseMove']) {
330
- this.myDiagram.toolManager.draggingTool.doMouseMove =
331
- this.initialOptions?.['draggingTool.doMouseMove'];
332
- }
333
- if (this.initialOptions?.['linkingTool.linkValidation']) {
334
- this.myDiagram.toolManager.linkingTool.linkValidation =
335
- this.initialOptions?.['linkingTool.linkValidation'];
336
- }
337
- }
338
- this.myDiagram.contentAlignment =
339
- this.initialOptions?.contentAlignment ?? go.Spot.Center;
340
- this.myDiagram.layout = this.initialOptions?.layout;
341
- // this.myDiagram.minViewportBounds = new go.Rect(0, 0, 1200, 1200);
342
- if (!!this.editor?.data) {
343
- this.addOrRemoveCompoentTemplate();
344
- this.myDiagram.model = go.Model.fromJson(this.editor.data);
345
- }
346
- return;
347
- }
348
- if (this.animationInterval) {
349
- clearInterval(this.animationInterval);
350
- }
351
- const diagramDiv = this._elRef.nativeElement?.getElementsByClassName(this.myDiagramDiv)?.[0];
352
- this.myDiagram = this.$(go.Diagram, diagramDiv, this.initialOptions);
353
- // this.myDiagram.initialPosition = new go.Point(0, 0);
354
- this.addOrRemoveCompoentTemplate();
355
- this.makeLinkTemplate();
356
- // animation
357
- this.startAnimation();
358
- setTimeout(() => {
359
- const self = this;
360
- // if (!this.isAddedModelChangedListeners) {
361
- this.isAddedModelChangedListeners = true;
362
- this.myDiagram.addModelChangedListener(function (e) {
363
- if (e.change === go.ChangedEvent.Remove &&
364
- e.propertyName === 'nodeDataArray') {
365
- const data = e.oldValue;
366
- self.onDeleteNode.emit(data);
367
- }
368
- if (e.isTransactionFinished) {
369
- self.committedTransactionSubject?.next(e);
370
- }
371
- });
372
- this.myDiagram.commandHandler.undo = function () {
373
- self.onUndo.emit();
374
- };
375
- });
376
- if (!!this.editor) {
377
- this.myDiagram.model = go.Model.fromJson(this.editor.data);
378
- }
379
- }
380
- initGroupTemplateEnergy() {
381
- // for water
382
- const { STORAGE, WATER_TREATMENT, DEMIN_WATER_TREATMENT,
383
- // RO_WATER_TREATMENT,
384
- PROCESS, WASTEWATER_TREATMENT, DAF_WASTEWATER_TREATMENT, ETP_WASTEWATER_TREATMENT, MBR_WASTEWATER_TREATMENT, ZLD_WASTEWATER_TREATMENT, COOLING_TOWER, BOILER, OTHER, LANDSCAPING_IRRIGATION, } = AtoGojsEditorModel.ENUM_TEMPLATES;
385
- const waterGroups = [
386
- STORAGE,
387
- WATER_TREATMENT,
388
- DEMIN_WATER_TREATMENT,
389
- // RO_WATER_TREATMENT,
390
- PROCESS,
391
- WASTEWATER_TREATMENT,
392
- DAF_WASTEWATER_TREATMENT,
393
- ETP_WASTEWATER_TREATMENT,
394
- MBR_WASTEWATER_TREATMENT,
395
- ZLD_WASTEWATER_TREATMENT,
396
- COOLING_TOWER,
397
- BOILER,
398
- OTHER,
399
- LANDSCAPING_IRRIGATION,
400
- ];
401
- waterGroups.map((e) => {
402
- if (!!AtoGojsEditorModel.NODE_TEMPLATES[e]) {
403
- this.makeGroupTemplate(AtoGojsEditorModel.NODE_TEMPLATES[e].icon, AtoGojsEditorModel.NODE_TEMPLATES[e].name);
404
- }
405
- });
406
- // electrical
407
- this.initElectricGroupTemplate();
408
- // Fuel
409
- this.initFuelGroupTemplate();
410
- // Gas
411
- this.initGasGroupTemplate();
412
- }
413
- initElectricDiagram() {
414
- const { GRID, DIESEL_GENERATORS, BATTERY_ENERGY_STORAGE, LIGHTING_SYSTEMS, LIGHTINGS, ELECTRIC_METERS, TRANSFORMERS, ELECTRIC_FLYWHEEL_ENERGY_STORAGE, PUMPED_HYDRO_STORAGE, THERMAL_ENERGY_STORAGE, SUPER_CAPACITOR_ENERGY_STORAGE, SWITCH_GEARS, PROCESS_CONTROL_AUTOMATION_SYSTEMS, PROCESS_EQUIPMENT_MACHINES, OFFICE_EQUIPMENT, POWER_DISTRIBUTION_CONTROL_SYSTEMS, POWER_DISTRIBUTION_SYSTEMS, NATURAL_GAS_GENERATORS, MOTOR_CONTROLS, VARIABLE_FREQUENCY_DRIVERS, ELECTRIC_HVAC, COMPRESSED_AIR_SYSTEMS, REFRIGERATION_COOLING_SYSTEMS, MATERIAL_HANDLING_EQUIPMENT, WIND_POWER, ELECTRIC_INDUSTRIAL_MOTORS, GROUNDING, } = AtoGojsEditorModel.ENUM_TEMPLATES;
415
- const ListItemsCreateEntityTemplate = [
416
- GRID,
417
- DIESEL_GENERATORS,
418
- BATTERY_ENERGY_STORAGE,
419
- LIGHTING_SYSTEMS,
420
- LIGHTINGS,
421
- ELECTRIC_METERS,
422
- TRANSFORMERS,
423
- ELECTRIC_FLYWHEEL_ENERGY_STORAGE,
424
- PUMPED_HYDRO_STORAGE,
425
- THERMAL_ENERGY_STORAGE,
426
- SUPER_CAPACITOR_ENERGY_STORAGE,
427
- SWITCH_GEARS,
428
- PROCESS_CONTROL_AUTOMATION_SYSTEMS,
429
- PROCESS_EQUIPMENT_MACHINES,
430
- OFFICE_EQUIPMENT,
431
- POWER_DISTRIBUTION_CONTROL_SYSTEMS,
432
- POWER_DISTRIBUTION_SYSTEMS,
433
- NATURAL_GAS_GENERATORS,
434
- MOTOR_CONTROLS,
435
- VARIABLE_FREQUENCY_DRIVERS,
436
- ELECTRIC_HVAC,
437
- COMPRESSED_AIR_SYSTEMS,
438
- REFRIGERATION_COOLING_SYSTEMS,
439
- MATERIAL_HANDLING_EQUIPMENT,
440
- WIND_POWER,
441
- ELECTRIC_INDUSTRIAL_MOTORS,
442
- GROUNDING,
443
- ];
444
- ListItemsCreateEntityTemplate.map((e) => {
445
- if (!!AtoGojsEditorModel.NODE_TEMPLATES[e]) {
446
- this.makeEntityTemplateEnergy(AtoGojsEditorModel.NODE_TEMPLATES[e].icon, AtoGojsEditorModel.NODE_TEMPLATES[e].name);
447
- }
448
- });
449
- }
450
- initElectricGroupTemplate() {
451
- const listItems = [
452
- AtoGojsEditorModel.NODE_TEMPLATES[AtoGojsEditorModel.ENUM_TEMPLATES.BATTERY_ENERGY_STORAGE],
453
- AtoGojsEditorModel.NODE_TEMPLATES[AtoGojsEditorModel.ENUM_TEMPLATES.TRANSFORMERS],
454
- AtoGojsEditorModel.NODE_TEMPLATES[AtoGojsEditorModel.ENUM_TEMPLATES.ELECTRIC_METERS],
455
- AtoGojsEditorModel.NODE_TEMPLATES[AtoGojsEditorModel.ENUM_TEMPLATES.LIGHTINGS],
456
- AtoGojsEditorModel.NODE_TEMPLATES[AtoGojsEditorModel.ENUM_TEMPLATES.POWER_DISTRIBUTION_SYSTEMS],
457
- AtoGojsEditorModel.NODE_TEMPLATES[AtoGojsEditorModel.ENUM_TEMPLATES.SWITCH_GEARS],
458
- AtoGojsEditorModel.NODE_TEMPLATES[AtoGojsEditorModel.ENUM_TEMPLATES.ELECTRIC_INDUSTRIAL_MOTORS],
459
- AtoGojsEditorModel.NODE_TEMPLATES[AtoGojsEditorModel.ENUM_TEMPLATES.GROUNDING],
460
- AtoGojsEditorModel.NODE_TEMPLATES[AtoGojsEditorModel.ENUM_TEMPLATES.MOTOR_CONTROLS],
461
- AtoGojsEditorModel.NODE_TEMPLATES[AtoGojsEditorModel.ENUM_TEMPLATES.LIGHTING_SYSTEMS],
462
- AtoGojsEditorModel.NODE_TEMPLATES[AtoGojsEditorModel.ENUM_TEMPLATES.ELECTRIC_HVAC],
463
- AtoGojsEditorModel.NODE_TEMPLATES[AtoGojsEditorModel.ENUM_TEMPLATES.REFRIGERATION_COOLING_SYSTEMS],
464
- AtoGojsEditorModel.NODE_TEMPLATES[AtoGojsEditorModel.ENUM_TEMPLATES.PROCESS_CONTROL_AUTOMATION_SYSTEMS],
465
- AtoGojsEditorModel.NODE_TEMPLATES[AtoGojsEditorModel.ENUM_TEMPLATES.OFFICE_EQUIPMENT],
466
- AtoGojsEditorModel.NODE_TEMPLATES[AtoGojsEditorModel.ENUM_TEMPLATES.COMPRESSED_AIR_SYSTEMS],
467
- AtoGojsEditorModel.NODE_TEMPLATES[AtoGojsEditorModel.ENUM_TEMPLATES.PROCESS_EQUIPMENT_MACHINES],
468
- AtoGojsEditorModel.NODE_TEMPLATES[AtoGojsEditorModel.ENUM_TEMPLATES.MATERIAL_HANDLING_EQUIPMENT],
469
- AtoGojsEditorModel.NODE_TEMPLATES[AtoGojsEditorModel.ENUM_TEMPLATES.POWER_DISTRIBUTION_CONTROL_SYSTEMS],
470
- AtoGojsEditorModel.NODE_TEMPLATES[AtoGojsEditorModel.ENUM_TEMPLATES.BATTERIES],
471
- AtoGojsEditorModel.NODE_TEMPLATES[AtoGojsEditorModel.ENUM_TEMPLATES.VARIABLE_FREQUENCY_DRIVERS],
472
- AtoGojsEditorModel.NODE_TEMPLATES[AtoGojsEditorModel.ENUM_TEMPLATES.ELECTRIC_FLYWHEEL_ENERGY_STORAGE],
473
- AtoGojsEditorModel.NODE_TEMPLATES[AtoGojsEditorModel.ENUM_TEMPLATES.PUMPED_HYDRO_STORAGE],
474
- AtoGojsEditorModel.NODE_TEMPLATES[AtoGojsEditorModel.ENUM_TEMPLATES.THERMAL_ENERGY_STORAGE],
475
- AtoGojsEditorModel.NODE_TEMPLATES[AtoGojsEditorModel.ENUM_TEMPLATES.SUPER_CAPACITOR_ENERGY_STORAGE],
476
- ];
477
- listItems.forEach((e) => {
478
- this.makeGroupTemplate(e?.icon, e.name);
479
- });
480
- }
481
- initFuelGroupTemplate() {
482
- const listItems = [
483
- AtoGojsEditorModel.NODE_TEMPLATES[AtoGojsEditorModel.ENUM_TEMPLATES.DIESEL_FUELS],
484
- AtoGojsEditorModel.NODE_TEMPLATES[AtoGojsEditorModel.ENUM_TEMPLATES.GASON_LINES],
485
- AtoGojsEditorModel.NODE_TEMPLATES[AtoGojsEditorModel.ENUM_TEMPLATES.BIODIESELS],
486
- AtoGojsEditorModel.NODE_TEMPLATES[AtoGojsEditorModel.ENUM_TEMPLATES.KEROSENSE],
487
- AtoGojsEditorModel.NODE_TEMPLATES[AtoGojsEditorModel.ENUM_TEMPLATES.PROPANES],
488
- AtoGojsEditorModel.NODE_TEMPLATES[AtoGojsEditorModel.ENUM_TEMPLATES.TANKER_TRUCKS],
489
- AtoGojsEditorModel.NODE_TEMPLATES[AtoGojsEditorModel.ENUM_TEMPLATES.PIPELINE],
490
- AtoGojsEditorModel.NODE_TEMPLATES[AtoGojsEditorModel.ENUM_TEMPLATES.INDUSTRIAL_BOILERS],
491
- AtoGojsEditorModel.NODE_TEMPLATES[AtoGojsEditorModel.ENUM_TEMPLATES.GENERATORS],
492
- AtoGojsEditorModel.NODE_TEMPLATES[AtoGojsEditorModel.ENUM_TEMPLATES.INDUSTRIAL_FURNACES],
493
- AtoGojsEditorModel.NODE_TEMPLATES[AtoGojsEditorModel.ENUM_TEMPLATES.INDUSTRIAL_OVENS],
494
- AtoGojsEditorModel.NODE_TEMPLATES[AtoGojsEditorModel.ENUM_TEMPLATES.INDUSTRIAL_VEHICLES_AND_EQUIPMENT],
495
- AtoGojsEditorModel.NODE_TEMPLATES[AtoGojsEditorModel.ENUM_TEMPLATES.FUEL_METERS],
496
- AtoGojsEditorModel.NODE_TEMPLATES[AtoGojsEditorModel.ENUM_TEMPLATES.FUEL_DISPENSERS],
497
- AtoGojsEditorModel.NODE_TEMPLATES[AtoGojsEditorModel.ENUM_TEMPLATES.FUEL_STRORAGE_TANKS],
498
- AtoGojsEditorModel.NODE_TEMPLATES[AtoGojsEditorModel.ENUM_TEMPLATES.ELECTRIC_HVAC],
499
- AtoGojsEditorModel.NODE_TEMPLATES[AtoGojsEditorModel.ENUM_TEMPLATES.FUEL_FILTRATIONS],
500
- AtoGojsEditorModel.NODE_TEMPLATES[AtoGojsEditorModel.ENUM_TEMPLATES.FUEL_MANAGEMENTS],
501
- ];
502
- this.makeGroupTemplate(AtoGojsEditorModel.NODE_TEMPLATES[AtoGojsEditorModel.ENUM_TEMPLATES.FUEL_DISPENSERS].icon, AtoGojsEditorModel.NODE_TEMPLATES[AtoGojsEditorModel.ENUM_TEMPLATES.FUEL_DISPENSERS].name);
503
- this.makeGroupTemplate(AtoGojsEditorModel.NODE_TEMPLATES[AtoGojsEditorModel.ENUM_TEMPLATES.FUEL_STRORAGE_TANKS].icon, AtoGojsEditorModel.NODE_TEMPLATES[AtoGojsEditorModel.ENUM_TEMPLATES.FUEL_STRORAGE_TANKS].name);
504
- this.makeGroupTemplate(AtoGojsEditorModel.NODE_TEMPLATES[AtoGojsEditorModel.ENUM_TEMPLATES.FUEL_FILTRATIONS].icon, AtoGojsEditorModel.NODE_TEMPLATES[AtoGojsEditorModel.ENUM_TEMPLATES.FUEL_FILTRATIONS].name);
505
- this.makeGroupTemplate(AtoGojsEditorModel.NODE_TEMPLATES[AtoGojsEditorModel.ENUM_TEMPLATES.FUEL_MANAGEMENTS].icon, AtoGojsEditorModel.NODE_TEMPLATES[AtoGojsEditorModel.ENUM_TEMPLATES.FUEL_MANAGEMENTS].name);
506
- listItems.forEach((e) => {
507
- this.makeGroupTemplate(e?.icon, e.name);
508
- });
509
- }
510
- initGasGroupTemplate() {
511
- const listItems = [
512
- AtoGojsEditorModel.NODE_TEMPLATES[AtoGojsEditorModel.ENUM_TEMPLATES.COMPRESSED_NATURAL_GAS_PIPELINE],
513
- AtoGojsEditorModel.NODE_TEMPLATES[AtoGojsEditorModel.ENUM_TEMPLATES.BOILERS_AND_HEATERS],
514
- AtoGojsEditorModel.NODE_TEMPLATES[AtoGojsEditorModel.ENUM_TEMPLATES.FURNACES],
515
- AtoGojsEditorModel.NODE_TEMPLATES[AtoGojsEditorModel.ENUM_TEMPLATES.POWER_GENERATION],
516
- AtoGojsEditorModel.NODE_TEMPLATES[AtoGojsEditorModel.ENUM_TEMPLATES.COGENERATION],
517
- AtoGojsEditorModel.NODE_TEMPLATES[AtoGojsEditorModel.ENUM_TEMPLATES.COMBINED_CYCLE_POWER_PLANTS],
518
- AtoGojsEditorModel.NODE_TEMPLATES[AtoGojsEditorModel.ENUM_TEMPLATES.FUEL_FOR_VEHICLES_AND_EQUIPMENT],
519
- AtoGojsEditorModel.NODE_TEMPLATES[AtoGojsEditorModel.ENUM_TEMPLATES.GAS_METERS],
520
- AtoGojsEditorModel.NODE_TEMPLATES[AtoGojsEditorModel.ENUM_TEMPLATES.BURNERS],
521
- AtoGojsEditorModel.NODE_TEMPLATES[AtoGojsEditorModel.ENUM_TEMPLATES.FLUE_GAS_ANALYZERS],
522
- AtoGojsEditorModel.NODE_TEMPLATES[AtoGojsEditorModel.ENUM_TEMPLATES.COMBUSTION_CONTROL_SYSTEMS],
523
- AtoGojsEditorModel.NODE_TEMPLATES[AtoGojsEditorModel.ENUM_TEMPLATES.GAS_STORAGE_TANKS],
524
- AtoGojsEditorModel.NODE_TEMPLATES[AtoGojsEditorModel.ENUM_TEMPLATES.GAS_PRESSURE_REGULATORS],
525
- ];
526
- this.makeGroupTemplate(AtoGojsEditorModel.NODE_TEMPLATES[AtoGojsEditorModel.ENUM_TEMPLATES.FUEL_DISPENSERS].icon, AtoGojsEditorModel.NODE_TEMPLATES[AtoGojsEditorModel.ENUM_TEMPLATES.FUEL_DISPENSERS].name);
527
- this.makeGroupTemplate(AtoGojsEditorModel.NODE_TEMPLATES[AtoGojsEditorModel.ENUM_TEMPLATES.FUEL_STRORAGE_TANKS].icon, AtoGojsEditorModel.NODE_TEMPLATES[AtoGojsEditorModel.ENUM_TEMPLATES.FUEL_STRORAGE_TANKS].name);
528
- this.makeGroupTemplate(AtoGojsEditorModel.NODE_TEMPLATES[AtoGojsEditorModel.ENUM_TEMPLATES.FUEL_FILTRATIONS].icon, AtoGojsEditorModel.NODE_TEMPLATES[AtoGojsEditorModel.ENUM_TEMPLATES.FUEL_FILTRATIONS].name);
529
- this.makeGroupTemplate(AtoGojsEditorModel.NODE_TEMPLATES[AtoGojsEditorModel.ENUM_TEMPLATES.FUEL_MANAGEMENTS].icon, AtoGojsEditorModel.NODE_TEMPLATES[AtoGojsEditorModel.ENUM_TEMPLATES.FUEL_MANAGEMENTS].name);
530
- listItems.forEach((e) => {
531
- this.makeGroupTemplate(e?.icon, e.name);
532
- });
533
- }
534
- initGasDiagram() {
535
- const { NATURAL_GAS_PIPELINES, LIQUEFIED_NATURAL_GAS, COMPRESSED_NATURAL_GAS_PIPELINE, COMPRESSED_NATURAL_GAS_PRODUCTION, BOILERS_AND_HEATERS, FURNACES, POWER_GENERATION, COGENERATION, COMBINED_CYCLE_POWER_PLANTS, FUEL_FOR_VEHICLES_AND_EQUIPMENT, GAS_METERS, BURNERS, FLUE_GAS_ANALYZERS, COMBUSTION_CONTROL_SYSTEMS, GAS_STORAGE_TANKS, GAS_PRESSURE_REGULATORS, NATURAL_GAS, } = AtoGojsEditorModel.ENUM_TEMPLATES;
536
- const ListItemsCreateEntityTemplate = [
537
- NATURAL_GAS_PIPELINES,
538
- LIQUEFIED_NATURAL_GAS,
539
- COMPRESSED_NATURAL_GAS_PIPELINE,
540
- COMPRESSED_NATURAL_GAS_PRODUCTION,
541
- BOILERS_AND_HEATERS,
542
- FURNACES,
543
- POWER_GENERATION,
544
- COGENERATION,
545
- COMBINED_CYCLE_POWER_PLANTS,
546
- FUEL_FOR_VEHICLES_AND_EQUIPMENT,
547
- GAS_METERS,
548
- BURNERS,
549
- FLUE_GAS_ANALYZERS,
550
- COMBUSTION_CONTROL_SYSTEMS,
551
- GAS_STORAGE_TANKS,
552
- GAS_PRESSURE_REGULATORS,
553
- NATURAL_GAS,
554
- ];
555
- ListItemsCreateEntityTemplate.map((e) => {
556
- if (!!AtoGojsEditorModel.NODE_TEMPLATES[e]) {
557
- this.makeEntityTemplateEnergy(AtoGojsEditorModel.NODE_TEMPLATES[e].icon, AtoGojsEditorModel.NODE_TEMPLATES[e].name);
558
- }
559
- });
560
- }
561
- initFuelDiagram() {
562
- const { DIESEL_FUELS, GASON_LINES, BIODIESELS, KEROSENSE, PROPANES, TANKER_TRUCKS, PIPELINE, INDUSTRIAL_BOILERS, GENERATORS, INDUSTRIAL_FURNACES, INDUSTRIAL_OVENS, INDUSTRIAL_VEHICLES_AND_EQUIPMENT, FUEL_METERS, FUEL_DISPENSERS, FUEL_STRORAGE_TANKS, FUEL_FILTRATIONS, FUEL_MANAGEMENTS, FUELS, } = AtoGojsEditorModel.ENUM_TEMPLATES;
563
- const ListItemsCreateEntityTemplate = [
564
- DIESEL_FUELS,
565
- GASON_LINES,
566
- BIODIESELS,
567
- KEROSENSE,
568
- PROPANES,
569
- TANKER_TRUCKS,
570
- PIPELINE,
571
- INDUSTRIAL_BOILERS,
572
- GENERATORS,
573
- INDUSTRIAL_FURNACES,
574
- INDUSTRIAL_OVENS,
575
- INDUSTRIAL_VEHICLES_AND_EQUIPMENT,
576
- FUEL_METERS,
577
- FUEL_DISPENSERS,
578
- FUEL_STRORAGE_TANKS,
579
- FUEL_FILTRATIONS,
580
- FUEL_MANAGEMENTS,
581
- FUELS,
582
- ];
583
- ListItemsCreateEntityTemplate.map((e) => {
584
- if (!!AtoGojsEditorModel.NODE_TEMPLATES[e]) {
585
- this.makeEntityTemplateEnergy(AtoGojsEditorModel.NODE_TEMPLATES[e].icon, AtoGojsEditorModel.NODE_TEMPLATES[e].name);
586
- }
587
- });
588
- }
589
- initSolarDiagram() {
590
- const { SOLAR_POWER, POWER_CONDITIONING_UNIT, BATTERIES: BATTERY, INVERTERS: INVERTER, } = AtoGojsEditorModel.ENUM_TEMPLATES;
591
- const ListItemsCreateEntityTemplate = [
592
- SOLAR_POWER,
593
- POWER_CONDITIONING_UNIT,
594
- BATTERY,
595
- INVERTER,
596
- ];
597
- ListItemsCreateEntityTemplate.map((e) => {
598
- if (!!AtoGojsEditorModel.NODE_TEMPLATES[e]) {
599
- this.makeEntityTemplateEnergy(AtoGojsEditorModel.NODE_TEMPLATES[e].icon, AtoGojsEditorModel.NODE_TEMPLATES[e].name);
600
- }
601
- });
602
- }
603
- initSteamDiagram() {
604
- const { VALUES, STEAM_TRAPS, PRESSURE_REGULATORS, SAFETY_VALUES_AND_EQUIPMENT, CONDENSATE_RETURN_SYSTEM, DEAERATORS, FEEDWATER_PUMPS, BLOWDOWN_TANKS, EXPANSION_TANKS, HEAT_EXCHANGERS, TURBINES, } = AtoGojsEditorModel.ENUM_TEMPLATES;
605
- const ListItemsCreateEntityTemplate = [
606
- VALUES,
607
- STEAM_TRAPS,
608
- PRESSURE_REGULATORS,
609
- SAFETY_VALUES_AND_EQUIPMENT,
610
- CONDENSATE_RETURN_SYSTEM,
611
- DEAERATORS,
612
- FEEDWATER_PUMPS,
613
- BLOWDOWN_TANKS,
614
- EXPANSION_TANKS,
615
- HEAT_EXCHANGERS,
616
- TURBINES,
617
- ];
618
- ListItemsCreateEntityTemplate.map((e) => {
619
- if (!!AtoGojsEditorModel.NODE_TEMPLATES[e]) {
620
- this.makeEntityTemplateEnergy(AtoGojsEditorModel.NODE_TEMPLATES[e].icon, AtoGojsEditorModel.NODE_TEMPLATES[e].name);
621
- }
622
- });
623
- }
624
- onModelChangeListener(e) {
625
- // this.onModelChangeListenerEvent.emit(e);
626
- }
627
- makeLinkTemplate() {
628
- const elements = [];
629
- // line
630
- elements.push(this.$(go.Shape, {
631
- isPanelMain: true,
632
- stroke: AtoGojsEditorModel.ENUM_COLORS.GRAY,
633
- strokeWidth: AtoGojsEditorModel.LINK_TEMPLATES[AtoGojsEditorModel.ENUM_LINK_TYPES.SIMPLE]?.strokeWidth,
634
- // strokeWidth: 0,
635
- }, new go.Binding('stroke', 'color'), new go.Binding('selectable', 'selectable'), new go.Binding('strokeWidth', 'type', (x) => AtoGojsEditorModel.LINK_TEMPLATES[x]?.strokeWidth)));
636
- // animation
637
- elements.push(this.$(go.Shape, {
638
- ...AtoGojsEditorModel.LINK_TEMPLATES[AtoGojsEditorModel.ENUM_LINK_TYPES.PIPE_ANIMATION]?.animation,
639
- visible: true,
640
- fill: 'transparent',
641
- }));
642
- elements.push(this.$(go.Panel, 'Vertical', {
643
- height: 38,
644
- // maxSize: new go.Size(NaN, 36),
645
- // width: 100,
646
- // minSize: new go.Size(100, 5), // Đặt kích thước tối thiểu là 100x50
647
- background: 'transparent',
648
- // layerName: 'BackgroundLayer',
649
- // alignment: go.Spot.Top,
650
- // alignmentFocus: go.Spot.Left,
651
- // margin: new go.Margin(0, 0, 50, 0),
652
- // selectable: false,
653
- }, new go.Binding('visible', 'textComponent', (x) => {
654
- return x ? true : false;
655
- }),
656
- // this.$(go.Shape, {
657
- // height: 30,
658
- // background: 'transparent',
659
- // fill: 'transparent',
660
- // // visible: false,
661
- // }),
662
- this.$(go.TextBlock, {
663
- // margin: new go.Margin(0, 0, 50, 0),
664
- stroke: '#444444',
665
- font: 'normal 10pt Arial',
666
- textAlign: 'left',
667
- background: 'transparent',
668
- // editable: false,
669
- // alignment: go.Spot.Center, // Đảm bảo văn bản nằm ở trung tâm của nút
670
- // alignmentFocus: go.Spot.Center, // Đảm bảo văn bản không bị dịch chuyển ra khỏi trung tâm
671
- wrap: go.TextBlock.WrapFit, // Chuyển dòng để văn bản không vượt ra ngoài
672
- // selectable: true,
673
- overflow: go.TextBlock.OverflowEllipsis,
674
- toolTip: this.$('ToolTip', this.$(go.TextBlock, {
675
- margin: 4,
676
- }, new go.Binding('text', 'textComponent'))),
677
- }, new go.Binding('text', 'textComponent'), new go.Binding('background', 'textComponent', (x) => x ? 'white' : 'transparent')
678
- // new go.Binding('margin', 'isFormat', (x) =>
679
- // x ? new go.Margin(5, 0, 5, 5) : new go.Margin(5, 5, 5, 5),
680
- // ),
681
- )));
682
- // arrow
683
- elements.push(this.$(go.Shape, // the "from" arrowhead
684
- {
685
- ...AtoGojsEditorModel.LINK_TEMPLATES[AtoGojsEditorModel.ENUM_LINK_TYPES.SIMPLE]?.arrow,
686
- }, new go.Binding('visible', 'type', (x) => ![
687
- AtoGojsEditorModel.ENUM_LINK_TYPES.PIPE_ANIMATION,
688
- AtoGojsEditorModel.ENUM_LINK_TYPES.PIPE,
689
- AtoGojsEditorModel.ENUM_LINK_TYPES.PIPE_HIDDEN,
690
- ].includes(x)), new go.Binding('fill', 'color'), new go.Binding('stroke', 'color')));
691
- // TODO fix link cannot selected inside group template
692
- this.myDiagram.linkTemplate = this.$(go.Link, go.Link.Orthogonal, {
693
- // layerName: 'Background', // link cannot select inside group template
694
- // curviness: 20,
695
- // corner: 5,
696
- routing: go.Link.AvoidsNodes,
697
- reshapable: true,
698
- resegmentable: true,
699
- relinkableFrom: true,
700
- relinkableTo: true,
701
- selectable: true,
702
- toShortLength: AtoGojsEditorModel.LINK_TEMPLATES[AtoGojsEditorModel.ENUM_LINK_TYPES.SIMPLE].toShortLength, // assume arrowhead at "to" end, need to avoid bad appearance when path is thick
703
- }, new go.Binding('layerName', '', (data) => {
704
- return data?.textComponent ? 'Background' : '';
705
- }), new go.Binding('zOrder', 'type', (x) => x === AtoGojsEditorModel.ENUM_LINK_TYPES.PIPE_ANIMATION ? 11 : 10), new go.Binding('toShortLength', 'type', (x) => AtoGojsEditorModel.LINK_TEMPLATES[x].toShortLength || 0), new go.Binding('selectable', 'selectable'), new go.Binding('visible', 'visible'),
706
- // make sure links come in from the proper direction and go out appropriately
707
- ...elements);
708
- }
709
- makeValueNodeTemplate(size = { w: 82, h: 36 }) {
710
- const self = this;
711
- const node = this.$(go.Node, 'Spot', {}, new go.Binding('location', 'loc', go.Point.parse).makeTwoWay(go.Point.stringify), this.$(go.Panel, 'Auto', { minSize: new go.Size(size.w, size.h) }, this.$(go.Shape, 'Rectangle', {
712
- fill: AtoGojsEditorModel.ENUM_COLORS.LIGHT_BLUE,
713
- stroke: 'transparent',
714
- }), this.$(go.Panel, 'Horizontal', this.$(go.TextBlock, {
715
- row: 2,
716
- font: 'bold 14px Arial',
717
- textAlign: 'center',
718
- stroke: AtoGojsEditorModel.ENUM_COLORS.CERULEAN,
719
- }, new go.Binding('editable', 'isEditable'), new go.Binding('text', 'shortenedNumber').makeTwoWay(), new go.Binding('stroke', 'color'), new go.Binding('margin', 'isFormat', (x) => x ? new go.Margin(5, 0, 5, 5) : new go.Margin(5, 5, 5, 5)), new go.Binding('visible', '', function (data) {
720
- return data.value !== VALUE_NA;
721
- })),
722
- // Icon Err when lack of value
723
- this.$(go.TextBlock, {
724
- margin: new go.Margin(10, 10, 10, 10),
725
- text: VALUE_NA, // Old version: TEXT_ERROR
726
- textAlign: 'center',
727
- font: 'bold 10pt sans-serif',
728
- stroke: AtoGojsEditorModel.ENUM_COLORS.SALMON,
729
- wrap: go.TextBlock.WrapFit,
730
- editable: false,
731
- isMultiline: false,
732
- }, new go.Binding('visible', '', function (data) {
733
- return data.value === VALUE_NA;
734
- })))));
735
- this.myDiagram.nodeTemplateMap.set(AtoGojsEditorModel.ENUM_TEMPLATES.VALUE_NODE, node);
736
- }
737
- makeEmptyNodeTemplate(size = { w: 0, h: 0 }) {
738
- const node = this.$(go.Node, 'Spot', {}, new go.Binding('location', 'loc', go.Point.parse).makeTwoWay(go.Point.stringify));
739
- this.myDiagram.nodeTemplateMap.set(AtoGojsEditorModel.ENUM_TEMPLATES.EMPTY, node);
740
- }
741
- makeValueLabelTemplate(size = { w: 82, h: 36 }) {
742
- const node = this.$(go.Node, 'Auto', {
743
- movable: false,
744
- }, new go.Binding('location', 'loc', go.Point.parse).makeTwoWay(go.Point.stringify), this.$(go.Panel, 'Auto', { minSize: new go.Size(size.w, size.h) }, this.$(go.Panel, 'Horizontal', {
745
- margin: new go.Margin(0, 10, 0, 10),
746
- }, this.$(go.TextBlock, {
747
- margin: new go.Margin(0, 5, 10, 0),
748
- textAlign: 'center',
749
- font: 'bold 15px sans-serif',
750
- wrap: go.TextBlock.WrapFit,
751
- stroke: AtoGojsEditorModel.ENUM_COLORS.CERULEAN,
752
- minSize: new go.Size(150, 30), // Set the width of the text block
753
- }, new go.Binding('stroke', 'color'), new go.Binding('text', 'data', (x) => {
754
- if (typeof x?.quantity !== 'number') {
755
- return '';
756
- }
757
- const formatted = UtilsService.convertPrefixesData({
758
- value: x?.quantity,
759
- unit: UtilsService.convertSpecialUnit(x?.unit),
760
- });
761
- let retValue = formatted.shortenedNumber +
762
- ' ' +
763
- formatted.unitPrefixes +
764
- UtilsService.convertSpecialUnit(x?.unit) ?? '';
765
- if (x?.percent) {
766
- retValue += ` (${x?.percent}%)`;
767
- }
768
- return retValue;
769
- }), new go.Binding('visible', 'data', (x) => typeof x?.quantity === 'number')))));
770
- this.myDiagram.nodeTemplateMap.set(AtoGojsEditorModel.ENUM_TEMPLATES.VALUE_LABEL, node);
771
- }
772
- makeTextLabelTemplate(size = { w: NaN, h: 20 }) {
773
- const node = this.$(go.Node, 'Auto', {
774
- movable: false,
775
- isSelected: false,
776
- }, new go.Binding('location', 'loc', go.Point.parse).makeTwoWay(go.Point.stringify), this.$(go.Panel, 'Auto', this.$(go.Panel, 'Horizontal', this.$(go.TextBlock, {
777
- margin: new go.Margin(0, 5, 10, 0),
778
- textAlign: 'center',
779
- font: 'bold 16px Arial',
780
- wrap: go.TextBlock.WrapFit,
781
- stroke: AtoGojsEditorModel.ENUM_COLORS.CERULEAN,
782
- }, new go.Binding('stroke', 'color'), new go.Binding('text', 'name'), new go.Binding('visible', 'visible')))));
783
- this.myDiagram.nodeTemplateMap.set(AtoGojsEditorModel.ENUM_TEMPLATES.TEXT_LABEL, node);
784
- }
785
- makeTextTemplate(size = {
786
- w: AtoGojsEditorModel.GRID_SIZE * 5,
787
- h: AtoGojsEditorModel.GRID_SIZE * 2,
788
- }) {
789
- const self = this;
790
- const contextMenu = this.$(go.Adornment, 'Vertical', this.$('ContextMenuButton', this.$(go.TextBlock, 'Option 1'), {
791
- click: function (e, obj) {
792
- alert('Option 1 clicked!');
793
- },
794
- }), this.$('ContextMenuButton', this.$(go.TextBlock, 'Option 2'), {
795
- click: function (e, obj) {
796
- alert('Option 2 clicked!');
797
- },
798
- })
799
- // ... add more options as needed ...
800
- );
801
- const node = this.$(go.Node, 'Spot', {
802
- // fromSpot: go.Spot.RightSide,
803
- // toSpot: go.Spot.LeftSide,
804
- locationSpot: go.Spot.Center,
805
- // selectionChanged: (e) => {
806
- // if (e?.data.onSelected) {
807
- // e?.data.onSelected(e?.data);
808
- // }
809
- // },
810
- // mouseHover: (e, obj) => {
811
- // const node = obj.part;
812
- // if ((obj as any).part?.ob?.value === VALUE_NA) {
813
- // self.onHoverInfoButton.emit({
814
- // left: e?.['Wr']?.x + 8,
815
- // top: e?.['Wr']?.y,
816
- // node: node,
817
- // });
818
- // }
819
- // },
820
- // mouseLeave: (e, obj) => {
821
- // if ((obj as any).part?.ob?.value === VALUE_NA) {
822
- // self.onHoverInfoButton.emit(null);
823
- // }
824
- // },
825
- click: (e, obj) => {
826
- const node = obj.part;
827
- if (node?.ob?.isTypeInflowOfPlantCell) {
828
- // obj?.data?.onSelected(node?.ob?.nodePlantCellParent);
829
- // self.onClickCompoent.emit({
830
- // left: e?.['Wr']?.x,
831
- // top: e?.['Wr']?.y,
832
- // node: {
833
- // ob: node?.ob?.nodePlantCellParent,
834
- // },
835
- // component: node?.ob?.nodePlantCellParent,
836
- // });
837
- return;
838
- }
839
- if (this._initialOptions?.isReadOnly) {
840
- this.isShowNodeInfo
841
- ? self.onClickInfoButton.emit({
842
- left: e?.['Wr']?.x,
843
- top: e?.['Wr']?.y,
844
- node: node,
845
- })
846
- : null;
847
- }
848
- },
849
- doubleClick: (e, obj) => {
850
- const node = obj.part;
851
- if (node?.ob?.isTypeInflowOfPlantCell &&
852
- !this._initialOptions?.isReadOnly) {
853
- // obj?.data?.onSelected(node?.ob?.nodePlantCellParent);
854
- // this.isShowNodeInfo
855
- // ? self.onDoubleClickNode.emit({
856
- // left: e?.['Wr']?.x,
857
- // top: e?.['Wr']?.y,
858
- // node: {
859
- // ob: node?.ob?.nodePlantCellParent,
860
- // },
861
- // })
862
- // : null;
863
- return;
864
- }
865
- if (!this._initialOptions?.isReadOnly) {
866
- this.isShowNodeInfo
867
- ? self.onClickInfoButton.emit({
868
- left: e?.['Wr']?.x,
869
- top: e?.['Wr']?.y,
870
- node: node,
871
- })
872
- : null;
873
- }
874
- },
875
- selectionAdornmentTemplate: this.$(go.Adornment, 'Spot', this.$(go.Panel, 'Auto',
876
- // { height: 62 },
877
- this.$(go.Shape, {
878
- fill: null,
879
- stroke: 'dodgerblue',
880
- strokeWidth: 4,
881
- }), this.$(go.Placeholder,
882
- // { padding: new go.Margin(8, 3, 0, 3) },
883
- new go.Binding('padding', '', (x) => {
884
- return x?.isTypeInflowOfPlantCell
885
- ? x?.flowOfPlantCell === ATO_ENUM_FLOW_DIRECTION.INFLOW
886
- ? new go.Margin(0, 0, 0, 20)
887
- : new go.Margin(0, 20, 0, 0)
888
- : null;
889
- })),
890
- // this.$(go.Placeholder, { padding: 3 }),
891
- new go.Binding('height', '', (x) => {
892
- return x?.isTypeInflowOfPlantCell ? x?.height + 10 : null;
893
- }), new go.Binding('width', '', (x) => {
894
- return x?.isTypeInflowOfPlantCell ? x?.width + 12 : null;
895
- })), this.$(go.Panel, 'Horizontal', { alignment: go.Spot.TopRight, alignmentFocus: go.Spot.Bottom },
896
- // more
897
- !this._initialOptions.isReadOnly
898
- ? this.generateActionGroup([
899
- AtoDefaultGojsEditor.ENUM_ACTIONS.RENAME,
900
- AtoDefaultGojsEditor.ENUM_ACTIONS.INSIGHT,
901
- AtoDefaultGojsEditor.ENUM_ACTIONS.OUTFLOW,
902
- AtoDefaultGojsEditor.ENUM_ACTIONS.DELETE,
903
- ])
904
- : {})),
905
- }, new go.Binding('visible', 'visible'), new go.Binding('fromSpot', 'fromSpot'), new go.Binding('toSpot', 'toSpot'), new go.Binding('movable', 'movable'), new go.Binding('selectable', 'selectable'), new go.Binding('location', 'loc', go.Point.parse).makeTwoWay(go.Point.stringify),
906
- // new go.Binding('alignment', 'alignment', function(loc) {
907
- // return new go.Spot(0, 0, loc.x, 0);
908
- // }).ofObject(),
909
- this.$(go.Panel, 'Auto', {
910
- toolTip: this.$('ToolTip', this.$(go.TextBlock, {
911
- margin: 2,
912
- }, new go.Binding('text', '', function (data) {
913
- if (!self._initialOptions.isReadOnly) {
914
- return data?.name ?? VALUE_NA;
915
- }
916
- if (data?.value === VALUE_NA || _.isNil(data?.value)) {
917
- return NO_DATA;
918
- // return TEXT_UNKNOWN;
919
- }
920
- return _.round(data?.value, 2).toFixed(2);
921
- }).makeTwoWay())),
922
- }, this.$(go.Panel, 'Table', this.arrowForPlantCell(size, ATO_ENUM_FLOW_DIRECTION.OUTFLOW), this.$(go.Panel, 'Auto',
923
- // { width: size.w, height: size.h },
924
- {
925
- // minSize: new go.Size(size.w, size.h),
926
- // maxSize: new go.Size(size.w, size.h),
927
- desiredSize: new go.Size(size.w, size.h),
928
- column: 1,
929
- row: 2,
930
- }, new go.Binding('width', 'width'), new go.Binding('height', 'height'), this.$(go.Shape, 'RoundedRectangle', {
931
- fill: AtoGojsEditorModel.ENUM_COLORS.LIGHT_BLUE,
932
- stroke: AtoGojsEditorModel.ENUM_COLORS.LINK_WATER,
933
- name: 'textNodeShape',
934
- }, new go.Binding('fill', 'fill'), new go.Binding('stroke', 'stroke')), this.$(go.Panel, 'Vertical', this.$(go.Panel, 'Horizontal', { alignment: go.Spot.Center },
935
- // Alert
936
- this.$(go.Panel, 'Auto', {
937
- margin: new go.Margin(0, 0, 0, 5),
938
- visible: false,
939
- }, new go.Binding('visible', 'recommendation'), this.$(go.Shape, 'Circle', {
940
- fill: '#E95F47',
941
- stroke: '#E95F47',
942
- width: 15,
943
- height: 15,
944
- }), this.$(go.TextBlock, {
945
- text: '\uf649',
946
- margin: new go.Margin(1.5, 0, 0, 0),
947
- font: '8px "Font Awesome 6 Pro"',
948
- stroke: '#fff',
949
- })), this._initialOptions.isReadOnly
950
- ? this.$(go.Panel, 'Position', {
951
- width: 18,
952
- height: 15,
953
- visible: false,
954
- alignment: go.Spot.Center,
955
- margin: new go.Margin(0, 0, 0, 5),
956
- mouseEnter: (e, obj) => {
957
- self.onHoverAlert.emit({
958
- left: e?.['Wr']?.x + 8,
959
- top: e?.['Wr']?.y,
960
- messageAlert: obj.part?.ob?.messageAlert,
961
- });
962
- },
963
- mouseLeave: (e, obj) => {
964
- self.onHoverAlert.emit(null);
965
- },
966
- }, new go.Binding('visible', 'alert'), this.$(go.Picture, ICON_ALERT, {
967
- alignment: go.Spot.Center,
968
- maxSize: new go.Size(30, 30),
969
- imageStretch: go.GraphObject.Uniform,
970
- }))
971
- : {}), this.$(go.Panel, 'Auto', this.$(go.TextBlock, {
972
- name: 'textBlockValue',
973
- row: 2,
974
- editable: false,
975
- desiredSize: new go.Size(size.w - 8, 18),
976
- font: 'bold 22px Arial',
977
- textAlign: 'center',
978
- stroke: AtoGojsEditorModel.ENUM_COLORS.GRAY,
979
- overflow: go.TextBlock.OverflowEllipsis,
980
- },
981
- // new go.Binding('editable', 'isEditable'),
982
- new go.Binding('angle', 'angle'), new go.Binding('margin', '', (data) => {
983
- if (data?.alert) {
984
- return new go.Margin(0, 0, 0, 0);
985
- }
986
- return new go.Margin(0, 0, 0, 0);
987
- }), new go.Binding('stroke', 'color'), new go.Binding('text', '', function (data) {
988
- return self.getTextDataBox(data);
989
- }).makeTwoWay(), new go.Binding('visible', '', (data) => !data?.isHiddenValue)))), this.makePort('T', go.Spot.Top, go.Spot.TopSide, false, true), this.makePort('L', go.Spot.Left, go.Spot.LeftSide, false, true), this.makePort('R', go.Spot.Right, go.Spot.RightSide, true, false), this.makePort('B', go.Spot.Bottom, go.Spot.BottomSide, true, false)), this.arrowForPlantCell(size, ATO_ENUM_FLOW_DIRECTION.INFLOW))));
990
- this.myDiagram.nodeTemplateMap.set(AtoGojsEditorModel.ENUM_TEMPLATES.TEXT_NODE, node);
991
- }
992
- arrowForPlantCell(size, flowDirection) {
993
- return this.$(go.Panel, 'Table', {
994
- height: size.h,
995
- }, new go.Binding('height', 'height'), new go.Binding('visible', '', (data) => data?.flowOfPlantCell === flowDirection), {
996
- column: flowDirection === ATO_ENUM_FLOW_DIRECTION.OUTFLOW ? 0 : 2,
997
- row: 2,
998
- }, new go.Binding('itemArray', 'dataLinkArray'), {
999
- itemTemplate: this.$(go.Panel, new go.Binding('row', 'indexRow'),
1000
- // new go.Binding('height', 'height'),
1001
- this.$(go.Picture, ARROW, {
1002
- alignment: go.Spot.Center,
1003
- maxSize: new go.Size(20, 40),
1004
- // imageStretch: go.GraphObject.Uniform,
1005
- }, new go.Binding('source', '', (data, panel) => {
1006
- // panel.part?.data?.id
1007
- return data?.isCreated ? panel?.$p : ARROW_GRAY;
1008
- }))),
1009
- });
1010
- }
1011
- getTextDataBox(data) {
1012
- if (data?.value === VALUE_NA) {
1013
- return TEXT_UNKNOWN;
1014
- }
1015
- return `${data?.shortenedNumber}${data?.unitPrefixes ? ' ' + data?.unitPrefixes : ''}`;
1016
- }
1017
- makeDataBoxTemplate(size = {
1018
- w: AtoGojsEditorModel.GRID_SIZE * 5,
1019
- h: AtoGojsEditorModel.GRID_SIZE * 5,
1020
- }) {
1021
- const self = this;
1022
- let node = this.$(go.Node, 'Spot', {
1023
- locationSpot: go.Spot.Center,
1024
- mouseOver: function (e, obj) { },
1025
- click: (e, obj) => {
1026
- if (obj?.data?.onSelected) {
1027
- obj?.data?.onSelected(obj?.data);
1028
- }
1029
- },
1030
- selectionChanged: (e) => {
1031
- if (!e.isSelected && e?.data?.onSelected) {
1032
- e?.data?.onSelected(null);
1033
- }
1034
- },
1035
- }, new go.Binding('location', 'loc', go.Point.parse).makeTwoWay(go.Point.stringify), this.$(go.Panel, 'Auto', this.$(go.Panel, 'Table', {
1036
- mouseHover: (e, obj) => {
1037
- if (obj.part?.ob?.value === VALUE_NA) {
1038
- self.onHoverInfoButton.emit({
1039
- left: e?.['Wr']?.x + 8,
1040
- top: e?.['Wr']?.y,
1041
- node: node,
1042
- });
1043
- }
1044
- },
1045
- mouseLeave: (e, obj) => {
1046
- if (obj.part?.ob?.value === VALUE_NA) {
1047
- self.onHoverInfoButton.emit(null);
1048
- }
1049
- },
1050
- }, this.$(go.Panel, 'Auto', { row: 0, stretch: go.GraphObject.Horizontal }, this.$(go.Shape, 'Rectangle', {
1051
- fill: AtoGojsEditorModel.ENUM_COLORS.LIGHT_BLUE,
1052
- stroke: AtoGojsEditorModel.ENUM_COLORS.RESOLUTION_BLUE,
1053
- }, new go.Binding('fill', 'color')), this.$(go.TextBlock, {
1054
- row: 0,
1055
- margin: new go.Margin(10, 10, 5, 10),
1056
- maxSize: new go.Size(size.w, NaN),
1057
- stroke: 'white',
1058
- font: 'normal 10pt Arial',
1059
- textAlign: 'center',
1060
- spacingBelow: 5,
1061
- }, new go.Binding('text', 'name').makeTwoWay())), this.$(go.Panel, 'Auto', { row: 1, stretch: go.GraphObject.Horizontal }, this.$(go.Shape, 'Rectangle', {
1062
- fill: AtoGojsEditorModel.ENUM_COLORS.LIGHT_BLUE,
1063
- stroke: AtoGojsEditorModel.ENUM_COLORS.RESOLUTION_BLUE,
1064
- }), this.$(go.Panel, 'Horizontal', this.$(go.TextBlock, {
1065
- row: 2,
1066
- // editable: true,
1067
- // maxSize: new go.Size(size.w - 10, 40),
1068
- // minSize: new go.Size(size.w - 10, size.h),
1069
- margin: new go.Margin(5, 0, 5, 5),
1070
- font: 'bold 12pt Arial',
1071
- textAlign: 'center',
1072
- stroke: AtoGojsEditorModel.ENUM_COLORS.GRAY,
1073
- }, new go.Binding('editable', 'isEditable'), new go.Binding('text', 'shortenedNumber').makeTwoWay(), new go.Binding('stroke', 'color'), new go.Binding('visible', '', function (data) {
1074
- return data.value !== VALUE_NA;
1075
- })), this.$(go.TextBlock, {
1076
- row: 2,
1077
- // editable: true,
1078
- // maxSize: new go.Size(size.w - 10, 40),
1079
- // minSize: new go.Size(size.w - 10, size.h),
1080
- margin: new go.Margin(5, 5, 5, 0),
1081
- font: 'bold 12pt Arial',
1082
- textAlign: 'center',
1083
- stroke: AtoGojsEditorModel.ENUM_COLORS.GRAY,
1084
- }, new go.Binding('visible', '', function (data) {
1085
- return data.value !== VALUE_NA;
1086
- }), new go.Binding('text', 'unitPrefixes'), new go.Binding('stroke', 'color')),
1087
- // Icon Err when lack of value
1088
- this.$(go.TextBlock, {
1089
- margin: new go.Margin(10, 10, 10, 10),
1090
- text: VALUE_NA, // Old version: TEXT_ERROR
1091
- textAlign: 'center',
1092
- font: 'bold 10pt sans-serif',
1093
- stroke: AtoGojsEditorModel.ENUM_COLORS.SALMON,
1094
- wrap: go.TextBlock.WrapFit,
1095
- editable: false,
1096
- isMultiline: false,
1097
- }, new go.Binding('visible', '', function (data) {
1098
- return data.value === VALUE_NA;
1099
- })))))), this.$(go.Panel, 'Vertical', {
1100
- alignment: go.Spot.Left,
1101
- alignmentFocus: new go.Spot(0, 0.5, 8, 0),
1102
- }), this.$(go.Panel, 'Vertical', {
1103
- alignment: go.Spot.Right,
1104
- alignmentFocus: new go.Spot(1, 0.5, -8, 0),
1105
- }),
1106
- // four named ports, one on each side:
1107
- this.makePort('T', go.Spot.Top, go.Spot.TopSide, false, true), this.makePort('L', go.Spot.Left, go.Spot.LeftSide, true, true), this.makePort('R', go.Spot.Right, go.Spot.RightSide, true, true), this.makePort('B', go.Spot.Bottom, go.Spot.BottomSide, true, false));
1108
- this.myDiagram.nodeTemplateMap.set(AtoGojsEditorModel.ENUM_TEMPLATES.DATA_BOX, node);
1109
- }
1110
- showPoint(loc) {
1111
- const docLoc = this.myDiagram.transformDocToView(loc);
1112
- }
1113
- makeEntityTemplate(icon, title, size = {
1114
- w: AtoGojsEditorModel.GRID_SIZE * 5,
1115
- h: AtoGojsEditorModel.GRID_SIZE * 5,
1116
- }) {
1117
- const self = this;
1118
- let node = this.$(go.Node, 'Spot', {
1119
- locationSpot: go.Spot.Center,
1120
- mouseOver: function (e, obj) {
1121
- // self.showPoint(obj?.part?.location);
1122
- },
1123
- click: (e, obj) => {
1124
- if (obj?.data?.onSelected) {
1125
- obj?.data?.onSelected(obj?.data);
1126
- self.onClickCompoent.emit({
1127
- left: e?.['Wr']?.x,
1128
- top: e?.['Wr']?.y,
1129
- node: node,
1130
- component: obj?.data,
1131
- });
1132
- }
1133
- },
1134
- selectionChanged: (e) => {
1135
- if (!e.isSelected && e?.data?.onSelected) {
1136
- e?.data?.onSelected(null);
1137
- }
1138
- },
1139
- selectionAdornmentTemplate: this._initialOptions.isReadOnly
1140
- ? null
1141
- : this.$(go.Adornment, 'Spot', {
1142
- shadowVisible: true,
1143
- shadowBlur: 6,
1144
- shadowOffset: new go.Point(0, 2),
1145
- shadowColor: '#00000029',
1146
- }, this.$(go.Panel, 'Auto', this.$(go.Shape, {
1147
- fill: null,
1148
- stroke: 'dodgerblue',
1149
- strokeWidth: 4,
1150
- }), this.$(go.Placeholder, { padding: 3 })), this.$(go.Panel, 'Horizontal', {
1151
- alignment: go.Spot.TopRight,
1152
- alignmentFocus: go.Spot.Bottom,
1153
- background: 'white',
1154
- },
1155
- // more
1156
- !this._initialOptions.isReadOnly
1157
- ? this.generateActionGroup([
1158
- AtoGojsEditorModel.NODE_TEMPLATES[AtoGojsEditorModel.ENUM_TEMPLATES.RO_WATER_TREATMENT].name,
1159
- AtoGojsEditorModel.NODE_TEMPLATES[AtoGojsEditorModel.ENUM_TEMPLATES.COOLING_TOWER].name,
1160
- AtoGojsEditorModel.NODE_TEMPLATES[AtoGojsEditorModel.ENUM_TEMPLATES.BOILER].name,
1161
- ].includes(title)
1162
- ? [
1163
- AtoDefaultGojsEditor.ENUM_ACTIONS.RENAME,
1164
- AtoDefaultGojsEditor.ENUM_ACTIONS.FLOW_DETAILS,
1165
- AtoDefaultGojsEditor.ENUM_ACTIONS.ASSET_PARAMETERS,
1166
- AtoDefaultGojsEditor.ENUM_ACTIONS.OUTFLOW,
1167
- AtoDefaultGojsEditor.ENUM_ACTIONS.DELETE,
1168
- ]
1169
- : [
1170
- AtoDefaultGojsEditor.ENUM_ACTIONS.RENAME,
1171
- AtoDefaultGojsEditor.ENUM_ACTIONS.DETAILS,
1172
- AtoDefaultGojsEditor.ENUM_ACTIONS.OUTFLOW,
1173
- AtoDefaultGojsEditor.ENUM_ACTIONS.DELETE,
1174
- ])
1175
- : {})),
1176
- },
1177
- // new go.Binding('location', 'loc', go.Point.parse),
1178
- new go.Binding('movable', 'movable'), new go.Binding('selectable', 'selectable'), new go.Binding('location', 'loc', go.Point.parse).makeTwoWay(go.Point.stringify), new go.Binding('visible', 'visible'), this.$(go.Panel, 'Auto', { width: size.w, height: size.h }, this.$(go.Shape, 'RoundedRectangle', {
1179
- fill: 'white',
1180
- stroke: AtoGojsEditorModel.ENUM_COLORS.LINK_WATER,
1181
- strokeWidth: 1,
1182
- // strokeDashArray: [5, 5],
1183
- }), this.$(go.Panel, 'Table', this.$(go.Picture, icon, {
1184
- row: 1,
1185
- alignment: go.Spot.Center,
1186
- desiredSize: new go.Size(size.w - 20, size.h - 50),
1187
- // maxSize: new go.Size(60, 60),
1188
- imageStretch: go.GraphObject.Uniform,
1189
- toolTip: this.$('ToolTip', this.$(go.TextBlock, {
1190
- margin: 4,
1191
- text: title,
1192
- })),
1193
- }), this.$(go.TextBlock, {
1194
- row: 2,
1195
- margin: new go.Margin(10, 0, 3, 0),
1196
- editable: true,
1197
- desiredSize: new go.Size(size.w - 20, 15),
1198
- stroke: '#000D42',
1199
- font: 'bold 10pt Arial',
1200
- textAlign: 'center',
1201
- // wrap: go.TextBlock.None,
1202
- overflow: go.TextBlock.OverflowEllipsis,
1203
- toolTip: this.$('ToolTip', this.$(go.TextBlock, { margin: 4 }, new go.Binding('text', 'name'))),
1204
- }, new go.Binding('text', 'name').makeTwoWay(), new go.Binding('editable', '', (data) => {
1205
- return !(AtoGojsEditorModel.TYPE_COMPONENT_WATER?.includes(data?.systemType) &&
1206
- data?.topologyType !== ATO_ECOMPONENT_PLANT_TYPE.WATER &&
1207
- data?.topologyType !==
1208
- ATO_ECOMPONENT_PLANT_TYPE.WATER_PLANT_CELL);
1209
- })))), this.$(go.Panel, 'Vertical', {
1210
- alignment: go.Spot.Left,
1211
- alignmentFocus: new go.Spot(0, 0.5, 8, 0),
1212
- }), this.$(go.Panel, 'Vertical', {
1213
- alignment: go.Spot.Right,
1214
- alignmentFocus: new go.Spot(1, 0.5, -8, 0),
1215
- }), this.makePort('T', go.Spot.Top, go.Spot.TopSide, false, true), this.makePort('L', go.Spot.Left, go.Spot.LeftSide, false, true), this.makePort('R', go.Spot.Right, go.Spot.RightSide, true, false), this.makePort('B', go.Spot.Bottom, go.Spot.BottomSide, true, false));
1216
- this.myDiagram.nodeTemplateMap.set(title, node);
1217
- }
1218
- makeEntityTemplateEnergy(icon, title, size = {
1219
- w: AtoGojsEditorModel.GRID_SIZE * 5,
1220
- h: AtoGojsEditorModel.GRID_SIZE * 5,
1221
- }) {
1222
- const self = this;
1223
- let node = this.$(go.Node, 'Spot', {
1224
- locationSpot: go.Spot.Center,
1225
- mouseOver: function (e, obj) {
1226
- // self.showPoint(obj?.part?.location);
1227
- },
1228
- click: (e, obj) => {
1229
- if (obj?.data?.onSelected) {
1230
- obj?.data?.onSelected(obj?.data);
1231
- }
1232
- },
1233
- selectionChanged: (e) => {
1234
- if (!e.isSelected && e?.data?.onSelected) {
1235
- e?.data?.onSelected(null);
1236
- }
1237
- },
1238
- selectionAdornmentTemplate: this._initialOptions.isReadOnly
1239
- ? null
1240
- : this.$(go.Adornment, 'Spot', {
1241
- shadowVisible: true,
1242
- shadowBlur: 6,
1243
- shadowOffset: new go.Point(0, 2),
1244
- shadowColor: '#00000029',
1245
- }, this.$(go.Panel, 'Auto', this.$(go.Shape, {
1246
- fill: null,
1247
- stroke: 'dodgerblue',
1248
- strokeWidth: 4,
1249
- }), this.$(go.Placeholder, { padding: 3 })), this.$(go.Panel, 'Horizontal', {
1250
- alignment: go.Spot.TopRight,
1251
- alignmentFocus: go.Spot.Bottom,
1252
- background: 'white',
1253
- },
1254
- // more
1255
- this.generateActionGroup([
1256
- AtoDefaultGojsEditor.ENUM_ACTIONS.RENAME,
1257
- AtoDefaultGojsEditor.ENUM_ACTIONS.DETAILS,
1258
- AtoDefaultGojsEditor.ENUM_ACTIONS.OUTFLOW,
1259
- AtoDefaultGojsEditor.ENUM_ACTIONS.DELETE,
1260
- ]))),
1261
- }, new go.Binding('visible', 'visible'), new go.Binding('movable', 'movable'), new go.Binding('selectable', 'selectable'), new go.Binding('location', 'loc', go.Point.parse).makeTwoWay(go.Point.stringify), this.$(go.Panel, 'Auto', { width: size.w, height: size.h }, this.$(go.Shape, 'RoundedRectangle', {
1262
- fill: 'white',
1263
- stroke: AtoGojsEditorModel.ENUM_COLORS.LINK_WATER,
1264
- // strokeDashArray: [5, 5],
1265
- }), this.$(go.Panel, 'Table', this.$(go.TextBlock, AtoGojsEditorModel.TEMPLATE_DUPLICATE[title] ?? title, {
1266
- row: 0,
1267
- margin: new go.Margin(3, 3, 10, 3),
1268
- maxSize: new go.Size(size.w - 20, 15),
1269
- stroke: '#444444',
1270
- font: 'normal 10pt Arial',
1271
- textAlign: 'center',
1272
- toolTip: this.$('ToolTip', this.$(go.TextBlock, {
1273
- margin: 4,
1274
- text: title,
1275
- })),
1276
- }), this.$(go.Picture, icon, {
1277
- row: 1,
1278
- alignment: go.Spot.Center,
1279
- desiredSize: new go.Size(size.w - 20, size.h - 65),
1280
- imageStretch: go.GraphObject.Uniform,
1281
- }), this.$(go.TextBlock, {
1282
- row: 2,
1283
- margin: new go.Margin(10, 3, 3, 3),
1284
- editable: true,
1285
- maxSize: new go.Size(size.w - 20, 15),
1286
- stroke: '#2C2C2C',
1287
- font: 'bold 10pt Arial',
1288
- textAlign: 'center',
1289
- // wrap: go.TextBlock.None,
1290
- overflow: go.TextBlock.OverflowEllipsis,
1291
- toolTip: this.$('ToolTip', this.$(go.TextBlock, {
1292
- margin: 4,
1293
- }, new go.Binding('text', 'name').makeTwoWay())),
1294
- }, new go.Binding('text', 'name').makeTwoWay()))), this.$(go.Panel, 'Vertical', {
1295
- alignment: go.Spot.Left,
1296
- alignmentFocus: new go.Spot(0, 0.5, 8, 0),
1297
- }), this.$(go.Panel, 'Vertical', {
1298
- alignment: go.Spot.Right,
1299
- alignmentFocus: new go.Spot(1, 0.5, -8, 0),
1300
- }),
1301
- // four named ports, one on each side:
1302
- this.makePort('T', go.Spot.Top, go.Spot.TopSide, false, true), this.makePort('L', go.Spot.Left, go.Spot.LeftSide, false, true), this.makePort('R', go.Spot.Right, go.Spot.RightSide, true, false), this.makePort('B', go.Spot.Bottom, go.Spot.BottomSide, true, false));
1303
- this.myDiagram.nodeTemplateMap.set(title, node);
1304
- }
1305
- // Plant Cell
1306
- plantCellTemplate(icon, title, size = {
1307
- w: 260,
1308
- h: AtoGojsEditorModel.PLANT_CELL_HEIGHT,
1309
- }) {
1310
- const self = this;
1311
- let node = this.$(go.Group, 'Spot', {
1312
- locationSpot: go.Spot.Center,
1313
- mouseOver: function (e, obj) {
1314
- // self.showPoint(obj?.part?.location);
1315
- },
1316
- mouseEnter: (e, obj) => {
1317
- // self.onHoverAlert.emit({
1318
- // left: e?.['Wr']?.x + 8,
1319
- // top: e?.['Wr']?.y,
1320
- // messageAlert: (obj as any).part?.ob?.messageAlert,
1321
- // });
1322
- const node = obj.part;
1323
- self.onHoverInfoButton.emit({
1324
- left: e?.['Wr']?.x + 8,
1325
- top: e?.['Wr']?.y,
1326
- node: node,
1327
- });
1328
- let shape = node?.findObject('SHAPE_KEY'); // Thay 'SHAPE_KEY' bằng khóa bạn đặt cho hình Shape
1329
- // debugger;
1330
- if (shape) {
1331
- shape.stroke = 'blue'; // Thay đổi màu stroke thành blue
1332
- }
1333
- },
1334
- mouseLeave: (e, obj) => {
1335
- self.onHoverInfoButton.emit(null);
1336
- // self.onHoverAlert.emit(null);
1337
- },
1338
- click: (e, obj) => {
1339
- if (obj?.data?.onSelected) {
1340
- obj?.data?.onSelected(obj?.data);
1341
- self.onClickCompoent.emit({
1342
- left: e?.['Wr']?.x,
1343
- top: e?.['Wr']?.y,
1344
- node: node,
1345
- component: obj?.data,
1346
- });
1347
- }
1348
- },
1349
- doubleClick: (e, obj) => {
1350
- if (!this._initialOptions?.isReadOnly) {
1351
- const node = obj.part;
1352
- this.isShowNodeInfo
1353
- ? self.onDoubleClickNode.emit({
1354
- left: e?.['Wr']?.x,
1355
- top: e?.['Wr']?.y,
1356
- node: node,
1357
- })
1358
- : null;
1359
- }
1360
- },
1361
- // Todo
1362
- selectionChanged: (e) => {
1363
- if (!e.isSelected && e?.data?.onSelected) {
1364
- e?.data?.onSelected(null);
1365
- }
1366
- },
1367
- selectionAdornmentTemplate: this._initialOptions.isReadOnly
1368
- ? null
1369
- : this.$(go.Adornment, 'Spot', {
1370
- shadowVisible: true,
1371
- shadowBlur: 6,
1372
- shadowOffset: new go.Point(0, 2),
1373
- shadowColor: '#00000029',
1374
- }, this.$(go.Panel, 'Auto', { width: 170 }, this.$(go.Shape, {
1375
- fill: null,
1376
- stroke: 'dodgerblue',
1377
- strokeWidth: 4,
1378
- }), this.$(go.Placeholder, { padding: 3 })), this.$(go.Panel, 'Horizontal', { alignment: go.Spot.TopRight, alignmentFocus: go.Spot.Bottom },
1379
- // more
1380
- this.generateActionGroup([
1381
- AtoDefaultGojsEditor.ENUM_ACTIONS.RENAME,
1382
- AtoDefaultGojsEditor.ENUM_ACTIONS.CHANGE_ICON,
1383
- AtoDefaultGojsEditor.ENUM_ACTIONS.ONLY_DETAILS,
1384
- // DefaultGojsEditor.ENUM_ACTIONS.OUTFLOW,
1385
- AtoDefaultGojsEditor.ENUM_ACTIONS.DELETE,
1386
- ])
1387
- // new go.Binding('visible', 'isNotAction', (x) => !x),
1388
- )
1389
- // this.$(
1390
- // go.Panel,
1391
- // 'Horizontal',
1392
- // { alignment: go.Spot.TopRight, alignmentFocus: go.Spot.Bottom },
1393
- // this.generateActionGroup([DefaultGojsEditor.ENUM_ACTIONS.ONLY_DETAILS]),
1394
- // new go.Binding('visible', '', (x) => {
1395
- // return x?.isOnlyDetails && !x?.isNotAction ? true : false;
1396
- // }),
1397
- // ),
1398
- ),
1399
- }, new go.Binding('location', 'loc', go.Point.parse).makeTwoWay(go.Point.stringify), this.$(go.Panel, 'Auto', { width: size.w, height: size.h },
1400
- // this.$(go.Shape, 'RoundedRectangle', {
1401
- // fill: 'white',
1402
- // stroke: AtoGojsEditorModel.ENUM_COLORS.LINK_WATER,
1403
- // // strokeDashArray: [5, 5],
1404
- // }),
1405
- // this.$(go.Placeholder, { padding: new go.Margin(0, 0, 0, 0), visible: false }),
1406
- this.$(go.Panel, 'Auto', {
1407
- alignmentFocus: go.Spot.Center,
1408
- margin: new go.Margin(0, 50, 0, 50),
1409
- }, this.$(go.Shape, 'RoundedRectangle', {
1410
- fill: 'white',
1411
- stroke: AtoGojsEditorModel.ENUM_COLORS.LINK_WATER,
1412
- strokeDashArray: [5, 5],
1413
- }), this.$(go.Panel, 'Table', this.$(go.TextBlock, title, {
1414
- row: 0,
1415
- margin: new go.Margin(3, 0, 10, 0),
1416
- desiredSize: new go.Size(size.w - 20, 15),
1417
- stroke: '#444444',
1418
- font: 'normal 10pt Arial',
1419
- textAlign: 'center',
1420
- toolTip: this.$('ToolTip', this.$(go.TextBlock, {
1421
- margin: 4,
1422
- text: title,
1423
- })),
1424
- }), this.$(go.Picture, icon, {
1425
- row: 1,
1426
- alignment: go.Spot.Center,
1427
- desiredSize: new go.Size(size.w - 20, size.h - 65),
1428
- imageStretch: go.GraphObject.Uniform,
1429
- }, new go.Binding('source', 'pathImage', (x) => x ??
1430
- AtoGojsEditorModel.NODE_TEMPLATES[AtoGojsEditorModel.ENUM_TEMPLATES.PLANT_CELL].icon)), this.$(go.TextBlock, {
1431
- row: 2,
1432
- margin: new go.Margin(10, 0, 3, 0),
1433
- editable: true,
1434
- desiredSize: new go.Size(size.w - 20, 15),
1435
- stroke: '#2C2C2C',
1436
- font: 'bold 10pt Arial',
1437
- textAlign: 'center',
1438
- // wrap: go.TextBlock.None,
1439
- overflow: go.TextBlock.OverflowEllipsis,
1440
- toolTip: this.$('ToolTip', this.$(go.TextBlock, {
1441
- margin: 4,
1442
- }, new go.Binding('text', 'name').makeTwoWay())),
1443
- }, new go.Binding('text', 'name').makeTwoWay())))), this.$(go.Panel, 'Vertical', {
1444
- alignment: go.Spot.Left,
1445
- alignmentFocus: new go.Spot(0, 0.5, 8, 0),
1446
- }), this.$(go.Panel, 'Vertical', {
1447
- alignment: go.Spot.Right,
1448
- alignmentFocus: new go.Spot(1, 0.5, -8, 0),
1449
- })
1450
- // this.makePort('T', go.Spot.Top, go.Spot.TopSide, false, true),
1451
- // this.makePort('L', go.Spot.Left, go.Spot.LeftSide, false, true),
1452
- // this.makePort('R', go.Spot.Right, go.Spot.RightSide, true, false),
1453
- // this.makePort('B', go.Spot.Bottom, go.Spot.BottomSide, true, false),
1454
- );
1455
- this.myDiagram.nodeTemplateMap.set(title, node);
1456
- }
1457
- makeEntityWithdrawOrDischarge(icon, title, size = {
1458
- w: AtoGojsEditorModel.GRID_SIZE * 5,
1459
- h: AtoGojsEditorModel.GRID_SIZE * 5,
1460
- }) {
1461
- const self = this;
1462
- let node = this.$(go.Node, 'Spot', {
1463
- locationSpot: go.Spot.Center,
1464
- mouseOver: function (e, obj) {
1465
- // self.showPoint(obj?.part?.location);
1466
- },
1467
- click: (e, obj) => {
1468
- if (obj?.data?.onSelected) {
1469
- obj?.data?.onSelected(obj?.data);
1470
- self.onClickCompoent.emit({
1471
- left: e?.['Wr']?.x,
1472
- top: e?.['Wr']?.y,
1473
- node: node,
1474
- component: obj?.data,
1475
- });
1476
- }
1477
- },
1478
- selectionChanged: (e) => {
1479
- if (!e.isSelected && e?.data?.onSelected) {
1480
- e?.data?.onSelected(null);
1481
- }
1482
- },
1483
- selectionAdornmentTemplate: this._initialOptions.isReadOnly
1484
- ? null
1485
- : this.$(go.Adornment, 'Spot', this.$(go.Panel, 'Auto', this.$(go.Shape, {
1486
- fill: null,
1487
- stroke: 'dodgerblue',
1488
- strokeWidth: 4,
1489
- }), this.$(go.Placeholder, { padding: 3 })), this.$(go.Panel, 'Horizontal', { alignment: go.Spot.TopRight, alignmentFocus: go.Spot.Bottom }, this.generateActionGroup([
1490
- AtoDefaultGojsEditor.ENUM_ACTIONS.RENAME,
1491
- AtoDefaultGojsEditor.ENUM_ACTIONS.DETAILS,
1492
- AtoDefaultGojsEditor.ENUM_ACTIONS.OUTFLOW,
1493
- AtoDefaultGojsEditor.ENUM_ACTIONS.DELETE,
1494
- ]))),
1495
- }, new go.Binding('visible', 'visible'), new go.Binding('movable', 'movable'), new go.Binding('selectable', 'selectable'), new go.Binding('location', 'loc', go.Point.parse).makeTwoWay(go.Point.stringify), this.$(go.Panel, 'Auto', { width: size.w, height: size.h }, this.$(go.Shape, 'RoundedRectangle', {
1496
- fill: 'white',
1497
- stroke: AtoGojsEditorModel.ENUM_COLORS.LINK_WATER,
1498
- // strokeDashArray: [5, 5],
1499
- }), this.$(go.Panel, 'Table',
1500
- // this.$(go.TextBlock, title, {
1501
- // row: 0,
1502
- // margin: new go.Margin(3, 3, 10, 3),
1503
- // maxSize: new go.Size(size.w - 20, NaN),
1504
- // stroke: '#444444',
1505
- // font: 'normal 10pt Arial',
1506
- // textAlign: 'center',
1507
- // }),
1508
- this.$(go.Picture, icon, {
1509
- row: 1,
1510
- alignment: go.Spot.Center,
1511
- desiredSize: new go.Size(size.w - 20, size.h - 50),
1512
- imageStretch: go.GraphObject.Uniform,
1513
- }), this.$(go.TextBlock, {
1514
- row: 2,
1515
- margin: new go.Margin(10, 0, 3, 0),
1516
- editable: true,
1517
- desiredSize: new go.Size(size.w - 20, 15),
1518
- stroke: '#000D42',
1519
- font: 'bold 10pt Arial',
1520
- textAlign: 'center',
1521
- // wrap: go.TextBlock.None,
1522
- overflow: go.TextBlock.OverflowEllipsis,
1523
- toolTip: this.$('ToolTip', this.$(go.TextBlock, {
1524
- margin: 4,
1525
- }, new go.Binding('text', 'name').makeTwoWay())),
1526
- }, new go.Binding('text', 'name').makeTwoWay()
1527
- // {
1528
- // // define a tooltip for each node that displays the color as text
1529
- // toolTip: this.$(
1530
- // 'ToolTip',
1531
- // this.$(go.TextBlock, { margin: 4 }, new go.Binding('text', 'name')),
1532
- // ), // end of Adornment
1533
- // },
1534
- ))), this.$(go.Panel, 'Vertical', {
1535
- alignment: go.Spot.Left,
1536
- alignmentFocus: new go.Spot(0, 0.5, 8, 0),
1537
- }), this.$(go.Panel, 'Vertical', {
1538
- alignment: go.Spot.Right,
1539
- alignmentFocus: new go.Spot(1, 0.5, -8, 0),
1540
- }),
1541
- // four named ports, one on each side:
1542
- this.makePort('T', go.Spot.Top, go.Spot.TopSide, false, true), this.makePort('L', go.Spot.Left, go.Spot.LeftSide, false, true), this.makePort('R', go.Spot.Right, go.Spot.RightSide, true, false), this.makePort('B', go.Spot.Bottom, go.Spot.BottomSide, true, false));
1543
- this.myDiagram.nodeTemplateMap.set(title, node);
1544
- }
1545
- editTextGroupZone(e, button) {
1546
- const nodeGroup = button.part.adornedPart;
1547
- const diagram = nodeGroup.diagram;
1548
- e.diagram.commandHandler.editTextBlock(nodeGroup.findObject('TEXTBLOCK'));
1549
- }
1550
- editText(e, button) {
1551
- const node = button.part.adornedPart;
1552
- e.diagram.commandHandler.editTextBlock(node.findObject('TEXTBLOCK'));
1553
- }
1554
- async dragNewNode(e, button) {
1555
- const tool = e.diagram.toolManager.draggingTool;
1556
- if (tool.isBeyondDragSize()) {
1557
- const data = button._dragData;
1558
- if (!data)
1559
- return;
1560
- e.diagram.startTransaction('button drag'); // see doDeactivate, below
1561
- const fromnode = button.part.adornedPart;
1562
- const diagram = fromnode.diagram;
1563
- const model = diagram.model;
1564
- const nodedata = {
1565
- ...model.copyNodeData(data),
1566
- key: UtilsService.generateUUID(),
1567
- };
1568
- model.addNodeData(nodedata);
1569
- const newnode = diagram.findNodeForData(nodedata);
1570
- const linkdata = model.copyLinkData({});
1571
- model.setFromKeyForLinkData(linkdata, model.getKeyForNodeData(fromnode.data));
1572
- model.setToKeyForLinkData(linkdata, model.getKeyForNodeData(newnode.data));
1573
- model.addLinkData(linkdata);
1574
- diagram.select(newnode);
1575
- // this.createNodeAndLink(data, button.part.adornedPart);
1576
- newnode.location = e.diagram.lastInput.documentPoint;
1577
- // don't commitTransaction here, but in tool.doDeactivate, after drag operation finished
1578
- // set tool.currentPart to a selected movable Part and then activate the DraggingTool
1579
- tool.currentPart = newnode;
1580
- e.diagram.currentTool = tool;
1581
- tool.doActivate();
1582
- }
1583
- }
1584
- addItemOnGroupZone(e, button) {
1585
- const data = button._dragData;
1586
- if (!data)
1587
- return;
1588
- e.diagram.startTransaction('Add Item On Group Zone');
1589
- const fromnode = button.part.adornedPart;
1590
- const dragData = button._dragData;
1591
- const diagram = fromnode.diagram;
1592
- const model = diagram.model;
1593
- const nodedata = model.copyNodeData(dragData);
1594
- model.addNodeData({
1595
- ...nodedata,
1596
- type: 'SubSystem',
1597
- name: '[Title...]',
1598
- nameItem: '[Name...]',
1599
- group: fromnode?.ob?.key,
1600
- });
1601
- e.diagram.commitTransaction('Add Item On Group Zone');
1602
- // const newnode = diagram.findNodeForData(nodedata);
1603
- // const linkdata = model.copyLinkData({});
1604
- // model.setFromKeyForLinkData(linkdata, model.getKeyForNodeData(fromnode.data));
1605
- // model.setToKeyForLinkData(linkdata, model.getKeyForNodeData(newnode.data));
1606
- // model.addLinkData(linkdata);
1607
- // diagram.select(newnode);
1608
- // newnode.location = new go.Point(fromnode.location.x + 200, fromnode.location.y);
1609
- // e.diagram.commitTransaction('Create Node and Link');
1610
- }
1611
- generateActionGroup(actions) {
1612
- const self = this;
1613
- return this.$('Button', {
1614
- click: function (e, obj) {
1615
- self.openActionMenu();
1616
- const filteredActions = _.filter(obj.part?.['ob']?.actions ?? actions, (action) => {
1617
- // Filter Insight button
1618
- if (action === AtoDefaultGojsEditor.ENUM_ACTIONS.INSIGHT) {
1619
- return !!obj.part?.['ob']?.id;
1620
- }
1621
- if (action === AtoDefaultGojsEditor.ENUM_ACTIONS.RENAME &&
1622
- obj.part?.['ob']?.type !==
1623
- AtoGojsEditorModel.ENUM_TEMPLATES.TEXT_NODE &&
1624
- AtoGojsEditorModel.TYPE_COMPONENT_WATER?.includes(obj.part?.['ob']?.systemType) &&
1625
- obj.part?.['ob']?.topologyType !==
1626
- ATO_ECOMPONENT_PLANT_TYPE.WATER &&
1627
- obj.part?.['ob']?.topologyType !==
1628
- ATO_ECOMPONENT_PLANT_TYPE.WATER_PLANT_CELL) {
1629
- return false;
1630
- }
1631
- if (action === AtoDefaultGojsEditor.ENUM_ACTIONS.OUTFLOW &&
1632
- self.plantSatus === ATO_EPlantType.BASIC_PLANT &&
1633
- obj.part?.data?.type ===
1634
- AtoGojsEditorModel.ENUM_TEMPLATES.TEXT_NODE) {
1635
- return false;
1636
- }
1637
- return true;
1638
- }).map((e) => {
1639
- if (ATO_ECOMPONENT_PLANT_TYPE.STEAM ===
1640
- obj.part?.['ob']?.topologyType &&
1641
- e === AtoDefaultGojsEditor.ENUM_ACTIONS.INSIGHT) {
1642
- return AtoDefaultGojsEditor.ENUM_ACTIONS.DATA_MAPPING;
1643
- }
1644
- if (e === AtoDefaultGojsEditor.ENUM_ACTIONS.FLOW_DETAILS &&
1645
- obj?.part?.['ob']?.systemType ===
1646
- AtoGojsEditorModel.ENUM_TYPES.COOLING_TOWER) {
1647
- return AtoDefaultGojsEditor.ENUM_ACTIONS.FLOW_DETAILS_AND_WIZARD;
1648
- }
1649
- return e;
1650
- });
1651
- self.actions = filteredActions.map((action) => {
1652
- let onClickFn = () => { };
1653
- switch (action) {
1654
- case AtoDefaultGojsEditor.ENUM_ACTIONS.INSIGHT:
1655
- case AtoDefaultGojsEditor.ENUM_ACTIONS.DATA_MAPPING:
1656
- onClickFn = () => {
1657
- self.onOpenInsightMapping.emit({
1658
- node: obj.part,
1659
- });
1660
- };
1661
- break;
1662
- case AtoDefaultGojsEditor.ENUM_ACTIONS.DETAILS:
1663
- case AtoDefaultGojsEditor.ENUM_ACTIONS.FLOW_DETAILS:
1664
- case AtoDefaultGojsEditor.ENUM_ACTIONS.FLOW_DETAILS_AND_WIZARD:
1665
- onClickFn = () => {
1666
- self.onOpenDetail.emit({
1667
- node: obj.part,
1668
- });
1669
- };
1670
- break;
1671
- case AtoDefaultGojsEditor.ENUM_ACTIONS.ONLY_DETAILS:
1672
- onClickFn = () => {
1673
- self.onOpenDetail.emit({
1674
- node: obj.part,
1675
- });
1676
- };
1677
- break;
1678
- case AtoDefaultGojsEditor.ENUM_ACTIONS.ASSET_PARAMETERS:
1679
- onClickFn = () => {
1680
- self.onOpenAssetParameter.emit({
1681
- node: obj.part,
1682
- });
1683
- };
1684
- break;
1685
- case AtoDefaultGojsEditor.ENUM_ACTIONS.RENAME:
1686
- onClickFn = () => {
1687
- if (obj.part?.data?.type ===
1688
- AtoGojsEditorModel.ENUM_TEMPLATES.TEXT_NODE) {
1689
- self.onRename.emit({
1690
- left: e?.['Wr']?.x - 50,
1691
- top: e?.['Wr']?.y,
1692
- ...obj.part?.data,
1693
- });
1694
- // LayoutService.setToolTipComponentDataStatic({
1695
- // component: RenameBoxComponent,
1696
- // data: {
1697
- // left: e?.['Wr']?.x - 50,
1698
- // top: e?.['Wr']?.y,
1699
- // ...obj.part?.data,
1700
- // },
1701
- // });
1702
- }
1703
- else {
1704
- self.editText(e, obj);
1705
- }
1706
- };
1707
- break;
1708
- case AtoDefaultGojsEditor.ENUM_ACTIONS.OUTFLOW:
1709
- onClickFn = () => {
1710
- self.clickNewNode(e, _.merge(obj, {
1711
- actionMove: self.dragNewNode, // defined below, to support dragging from the button
1712
- _dragData: {
1713
- ...{
1714
- type: AtoGojsEditorModel.ENUM_TEMPLATES.TEXT_NODE,
1715
- name: `${AtoGojsEditorModel.ACTION_RIGHT_MENU_GROUP.DATA_BOX}_${moment().valueOf()}`,
1716
- color: AtoGojsEditorModel.ENUM_COLORS.BLUE,
1717
- },
1718
- ...self.setProFOrNewNode(self),
1719
- },
1720
- }));
1721
- };
1722
- break;
1723
- case AtoDefaultGojsEditor.ENUM_ACTIONS.DELETE:
1724
- onClickFn = () => {
1725
- self.deleteNode(e);
1726
- };
1727
- break;
1728
- case AtoDefaultGojsEditor.ENUM_ACTIONS.CHANGE_ICON:
1729
- onClickFn = () => {
1730
- self.onOpenChangeIcon.emit({
1731
- node: obj.part,
1732
- });
1733
- };
1734
- break;
1735
- }
1736
- return {
1737
- ...AtoDefaultGojsEditor.ACTIONS[action],
1738
- onClick: () => {
1739
- onClickFn();
1740
- },
1741
- };
1742
- });
1743
- },
1744
- 'ButtonBorder.strokeWidth': 0,
1745
- 'ButtonBorder.fill': 'white',
1746
- },
1747
- // new go.Binding('visible', 'isNotDragNewNode', (x) => !x),
1748
- // new go.Binding('visible', 'isNotDelete', (x) => !x),
1749
- new go.Binding('visible', 'isNotAction', (x) => !x), this.$(go.TextBlock, {
1750
- margin: 4,
1751
- text: '\ue489',
1752
- font: '20px "Font Awesome 6 Pro"',
1753
- cursor: 'pointer',
1754
- }));
1755
- }
1756
- async setProFOrNewNode(self) {
1757
- if (self.plantSatus === ATO_EPlantType.BASIC_PLANT) {
1758
- return {
1759
- movable: false,
1760
- isNotAllowConnect: true,
1761
- };
1762
- }
1763
- return {};
1764
- }
1765
- async clickNewNode(e, button) {
1766
- const data = button._dragData;
1767
- if (!data)
1768
- return;
1769
- e.diagram.startTransaction('Create Node and Link');
1770
- const fromnode = button.part.adornedPart;
1771
- // this.createNodeAndLink(button._dragData, fromnode);
1772
- const dragData = button._dragData;
1773
- const diagram = fromnode.diagram;
1774
- const model = diagram.model;
1775
- const nodedata = {
1776
- ...model.copyNodeData(dragData),
1777
- key: UtilsService.generateUUID(),
1778
- };
1779
- model.addNodeData({
1780
- ...nodedata,
1781
- isEditable: true,
1782
- shortenedNumber: 0,
1783
- isFormat: false,
1784
- dataCollectionMethod: AtoGojsEditorModel.DATA_COLLECTION_METHOD.MANUAL,
1785
- color: AtoGojsEditorModel.COLOR_COLLECTION_METHOD[AtoGojsEditorModel.DATA_COLLECTION_METHOD.MANUAL].color,
1786
- group: fromnode?.ob?.group,
1787
- value: 0,
1788
- });
1789
- const newnode = diagram.findNodeForData(nodedata);
1790
- const linkdata = model.copyLinkData({});
1791
- model.setFromKeyForLinkData(linkdata, model.getKeyForNodeData(fromnode.data));
1792
- model.setToKeyForLinkData(linkdata, model.getKeyForNodeData(newnode.data));
1793
- model.addLinkData(linkdata);
1794
- diagram.select(newnode);
1795
- if (nodedata?.movable !== undefined && nodedata?.movable !== null) {
1796
- newnode.movable = nodedata?.movable;
1797
- }
1798
- newnode.location = new go.Point(fromnode.location.x + 160, fromnode.location.y +
1799
- this.findLocYFromnode(fromnode) * AtoDefaultGojsEditor.DISTANCE_2_OUTPUT);
1800
- e.diagram.commitTransaction('Create Node and Link');
1801
- }
1802
- findLocYFromnode(fromnode) {
1803
- // Find location auto right
1804
- const locYFromnode = fromnode.data?.loc?.split(' ')?.[1];
1805
- const locYAlreadyExist = [];
1806
- fromnode.findLinksOutOf().each(function (link) {
1807
- const targetNode = link.toNode;
1808
- if (targetNode) {
1809
- locYAlreadyExist.push(targetNode.data?.loc?.split(' ')?.[1] - locYFromnode);
1810
- }
1811
- });
1812
- let i = 0;
1813
- while (this.isEmptyYLoc(locYAlreadyExist, i) === null && i < 100) {
1814
- i++;
1815
- }
1816
- return this.isEmptyYLoc(locYAlreadyExist, i);
1817
- }
1818
- isEmptyYLoc(locYAlreadyExist, i) {
1819
- if (!_.some(locYAlreadyExist, (x) => x <
1820
- i * AtoDefaultGojsEditor.DISTANCE_2_OUTPUT +
1821
- AtoDefaultGojsEditor.DISTANCE_2_OUTPUT / 2 &&
1822
- x >
1823
- i * AtoDefaultGojsEditor.DISTANCE_2_OUTPUT -
1824
- AtoDefaultGojsEditor.DISTANCE_2_OUTPUT / 2)) {
1825
- return i;
1826
- }
1827
- if (!_.some(locYAlreadyExist, (x) => x <
1828
- -i * AtoDefaultGojsEditor.DISTANCE_2_OUTPUT +
1829
- AtoDefaultGojsEditor.DISTANCE_2_OUTPUT / 2 &&
1830
- x >
1831
- -i * AtoDefaultGojsEditor.DISTANCE_2_OUTPUT -
1832
- AtoDefaultGojsEditor.DISTANCE_2_OUTPUT / 2)) {
1833
- return -i;
1834
- }
1835
- return null;
1836
- }
1837
- createNewNode(newnode) {
1838
- this.addTemplate(newnode);
1839
- this.myDiagram.startTransaction('add group node');
1840
- this.myDiagram.model.addNodeData(newnode);
1841
- this.myDiagram.commitTransaction('add group node');
1842
- }
1843
- deleteNode(e) {
1844
- e.diagram.startTransaction('Delete group node');
1845
- e.diagram.removeParts(e.diagram.selection);
1846
- e.diagram.commitTransaction('Delete group node');
1847
- }
1848
- deleteNodeOnDiagram(e) {
1849
- e.startTransaction('Delete group node');
1850
- e.removeParts(e.selection);
1851
- e.commitTransaction('Delete group node');
1852
- }
1853
- insightNode(e) { }
1854
- drawLink(e, button) {
1855
- const node = button.part.adornedPart;
1856
- const tool = e.diagram.toolManager.linkingTool;
1857
- tool.startObject = node.port;
1858
- e.diagram.currentTool = tool;
1859
- tool.doActivate();
1860
- }
1861
- makePortGroup(name, align, spot, output, input) {
1862
- const horizontal = align.equals(go.Spot.Top) || align.equals(go.Spot.Bottom);
1863
- return this.$(go.Panel, 'Table', {
1864
- background: '#919CA5',
1865
- width: 40,
1866
- height: 40,
1867
- alignment: align,
1868
- stretch: horizontal
1869
- ? go.GraphObject.Horizontal
1870
- : go.GraphObject.Vertical,
1871
- portId: name,
1872
- fromSpot: spot,
1873
- fromLinkable: output,
1874
- toSpot: spot,
1875
- toLinkable: input,
1876
- cursor: this._initialOptions.isReadOnly ? '' : 'pointer',
1877
- alignmentFocus: go.Spot.Center, // tập trung vào trung tâm của Panel
1878
- // mouseEnter: this._initialOptions.isReadOnly
1879
- // ? null
1880
- // : (e, panel) => {
1881
- // const textBlock = (panel as any)?.findObject('textBlock') as go.TextBlock | null;
1882
- // if (textBlock) {
1883
- // // && output
1884
- // textBlock.visible = true;
1885
- // switch (name) {
1886
- // case 'B':
1887
- // case 'R': {
1888
- // panel.background = 'rgb(243 144 171)';
1889
- // break;
1890
- // }
1891
- // case 'T':
1892
- // case 'L': {
1893
- // panel.background = 'rgb(103,151,207)';
1894
- // break;
1895
- // }
1896
- // default: {
1897
- // panel.background = 'rgb(243 144 171)';
1898
- // }
1899
- // }
1900
- // }
1901
- // },
1902
- // mouseLeave: this._initialOptions.isReadOnly
1903
- // ? null
1904
- // : (e, panel) => {
1905
- // const textBlock = (panel as any).findObject('textBlock') as go.TextBlock | null;
1906
- // if (textBlock) {
1907
- // textBlock.visible = false; // Ẩn TextBlock khi rời khỏi Panel
1908
- // }
1909
- // panel.background = 'transparent';
1910
- // },
1911
- }, this.$(go.Shape, 'Ellipse', {
1912
- fill: 'white', // Background color of the circle
1913
- strokeWidth: 2,
1914
- stroke: '#919CA5', // Border color of the circle
1915
- width: 40, // Match the panel's width
1916
- height: 40, // Match the panel's height
1917
- })
1918
- // this.$(
1919
- // go.TextBlock,
1920
- // {
1921
- // name: 'textBlock',
1922
- // margin: 4,
1923
- // text: '\uf0da', // Mã Unicode tương ứng với fa-caret-left
1924
- // font: '900 12px "Font Awesome 6 Pro"',
1925
- // stroke: 'white', // Đặt màu chữ thành màu trắng
1926
- // cursor: 'pointer',
1927
- // visible: false,
1928
- // },
1929
- // new go.Binding('text', 'name', (_) => {
1930
- // switch (name) {
1931
- // case 'T':
1932
- // case 'B': {
1933
- // return '\uf0d7';
1934
- // }
1935
- // case 'L':
1936
- // case 'R': {
1937
- // return '\uf0da';
1938
- // }
1939
- // default: {
1940
- // return '\uf0d7';
1941
- // }
1942
- // }
1943
- // }),
1944
- // ),
1945
- );
1946
- }
1947
- makePort(name, align, spot, output, input) {
1948
- // if (this._initialOptions.isReadOnly) {
1949
- // return {};
1950
- // }
1951
- const horizontal = align.equals(go.Spot.Top) || align.equals(go.Spot.Bottom);
1952
- // const vertical = align.equals(go.Spot.Left) || align.equals(go.Spot.Right);
1953
- // the port is basically just a transparent rectangle that stretches along the side of the node,
1954
- // and becomes colored when the mouse passes over it
1955
- return this.$(go.Panel, 'Table', {
1956
- background: 'transparent',
1957
- width: horizontal ? NaN : 8,
1958
- height: !horizontal ? NaN : 8,
1959
- alignment: align,
1960
- stretch: horizontal
1961
- ? go.GraphObject.Horizontal
1962
- : go.GraphObject.Vertical,
1963
- portId: name,
1964
- fromSpot: spot,
1965
- fromLinkable: output,
1966
- toSpot: spot,
1967
- toLinkable: input,
1968
- cursor: this._initialOptions.isReadOnly ? '' : 'pointer',
1969
- alignmentFocus: go.Spot.Center, // tập trung vào trung tâm của Panel
1970
- mouseEnter: this._initialOptions.isReadOnly
1971
- ? null
1972
- : (e, panel) => {
1973
- const textBlock = panel?.findObject('textBlock');
1974
- if (textBlock) {
1975
- // && output
1976
- textBlock.visible = true;
1977
- switch (name) {
1978
- case 'B':
1979
- case 'R': {
1980
- panel.background = 'rgb(243 144 171)';
1981
- break;
1982
- }
1983
- case 'T':
1984
- case 'L': {
1985
- panel.background = 'rgb(103,151,207)';
1986
- break;
1987
- }
1988
- default: {
1989
- panel.background = 'rgb(243 144 171)';
1990
- }
1991
- }
1992
- }
1993
- },
1994
- mouseLeave: this._initialOptions.isReadOnly
1995
- ? null
1996
- : (e, panel) => {
1997
- const textBlock = panel.findObject('textBlock');
1998
- if (textBlock) {
1999
- textBlock.visible = false; // Ẩn TextBlock khi rời khỏi Panel
2000
- }
2001
- panel.background = 'transparent';
2002
- },
2003
- }, new go.Binding('visible', '', function (data) {
2004
- if (data?.isNotAllowConnect) {
2005
- return false;
2006
- }
2007
- if (data?.selectable === false && !data?.isAllowConnect) {
2008
- return false;
2009
- }
2010
- if (data?.flowOfPlantCell) {
2011
- if (data?.flowOfPlantCell === ATO_ENUM_FLOW_DIRECTION.INFLOW &&
2012
- name === 'L') {
2013
- return true;
2014
- }
2015
- if (data?.flowOfPlantCell === ATO_ENUM_FLOW_DIRECTION.OUTFLOW &&
2016
- name === 'R') {
2017
- return true;
2018
- }
2019
- return false;
2020
- }
2021
- switch (name) {
2022
- case 'B':
2023
- case 'R': {
2024
- return !data?.isNotSelectOutput;
2025
- }
2026
- case 'T':
2027
- case 'L': {
2028
- return !data?.isNotSelectInput;
2029
- }
2030
- default: {
2031
- return true;
2032
- }
2033
- }
2034
- }), this.$(go.TextBlock, {
2035
- name: 'textBlock',
2036
- margin: 4,
2037
- text: '\uf0da', // Mã Unicode tương ứng với fa-caret-left
2038
- font: '900 12px "Font Awesome 6 Pro"',
2039
- stroke: 'white', // Đặt màu chữ thành màu trắng
2040
- cursor: 'pointer',
2041
- visible: false,
2042
- }, new go.Binding('text', 'name', (_) => {
2043
- switch (name) {
2044
- case 'T':
2045
- case 'B': {
2046
- return '\uf0d7';
2047
- }
2048
- case 'L':
2049
- case 'R': {
2050
- return '\uf0da';
2051
- }
2052
- default: {
2053
- return '\uf0d7';
2054
- }
2055
- }
2056
- })));
2057
- // return this.$(go.Shape, {
2058
- // fill: 'transparent', // changed to a color in the mouseEnter event handler
2059
- // strokeWidth: 0, // no stroke
2060
- // width: horizontal ? NaN : 8, // if not stretching horizontally, just 8 wide
2061
- // height: !horizontal ? NaN : 8, // if not stretching vertically, just 8 tall
2062
- // alignment: align, // align the port on the main Shape
2063
- // stretch: horizontal ? go.GraphObject.Horizontal : go.GraphObject.Vertical,
2064
- // portId: name, // declare this object to be a "port"
2065
- // fromSpot: spot, // declare where links may connect at this port
2066
- // fromLinkable: output, // declare whether the user may draw links from here
2067
- // toSpot: spot, // declare where links may connect at this port
2068
- // toLinkable: input, // declare whether the user may draw links to here
2069
- // cursor: 'pointer', // show a different cursor to indicate potential link point
2070
- // mouseEnter: (e, port) => {
2071
- // // the PORT argument will be this Shape
2072
- // if (!e.diagram.isReadOnly && output) {
2073
- // port.fill = 'rgba(255,0,255,0.5)'
2074
- // };
2075
- // },
2076
- // mouseLeave: (e, port) => {
2077
- // return (port.fill = 'transparent');
2078
- // },
2079
- // });
2080
- }
2081
- makeGroupBasicComponent(icon, title, size = { w: 80, h: 80 }) {
2082
- let node = this.$(go.Group, 'Spot', {
2083
- // layout: this.$(go.LayeredDigraphLayout, { direction: 0 }),
2084
- alignment: go.Spot.Center,
2085
- layout: this.$(go.Layout),
2086
- movable: false,
2087
- selectable: false,
2088
- // movable: true,
2089
- // selectable: true,
2090
- dragComputation: (node, pt, gridpt) => {
2091
- pt.x =
2092
- Math.round(pt.x / AtoGojsEditorModel.BASIC_GRID_SIZE_WIDTH) *
2093
- AtoGojsEditorModel.BASIC_GRID_SIZE_WIDTH;
2094
- pt.y =
2095
- Math.round(pt.y / AtoGojsEditorModel.BASIC_GRID_SIZE_HEIGHT) *
2096
- AtoGojsEditorModel.BASIC_GRID_SIZE_HEIGHT;
2097
- return pt;
2098
- },
2099
- }, {
2100
- // minSize: new go.Size(AtoGojsEditorModel.BASIC_GRID_SIZE_WIDTH, AtoGojsEditorModel.BASIC_GRID_SIZE_HEIGHT),
2101
- minSize: new go.Size(1, 1),
2102
- maxSize: new go.Size(1, 1),
2103
- // minSize: new go.Size(100, 100),
2104
- }, new go.Binding('location', 'loc', go.Point.parse).makeTwoWay(go.Point.stringify), this.$(go.Panel, 'Auto', this.$(go.Shape, 'RoundedRectangle', {
2105
- fill: 'transparent',
2106
- stroke: 'transparent',
2107
- // stroke: AtoGojsEditorModel.ENUM_COLORS.RESOLUTION_BLUE,
2108
- strokeWidth: 2,
2109
- // strokeDashArray: [5, 5],
2110
- })
2111
- // this.$(go.Placeholder),
2112
- // this.$(go.Placeholder, { padding: new go.Margin(0, 0, 0, 0) }),
2113
- )
2114
- // this.$(go.TextBlock, title, {
2115
- // row: 0,
2116
- // margin: new go.Margin(0, 0, 0, 0),
2117
- // stroke: '#444444',
2118
- // font: 'normal 10pt Arial',
2119
- // textAlign: 'center',
2120
- // alignment: go.Spot.Left,
2121
- // },
2122
- // new go.Binding('text', 'key').makeTwoWay(),),
2123
- // this.$(
2124
- // go.Panel,
2125
- // 'Table',
2126
- // {
2127
- // alignment: go.Spot.TopLeft,
2128
- // alignmentFocus: new go.Spot(0, 0, -10, -10),
2129
- // // padding: new go.Margin(0, 0, 50, 0),
2130
- // },
2131
- // this.$(
2132
- // go.Panel,
2133
- // 'Horizontal',
2134
- // {
2135
- // row: 0,
2136
- // alignment: go.Spot.Left,
2137
- // },
2138
- // this.$(go.Picture, icon, {
2139
- // row: 0,
2140
- // // alignment: go.Spot.Center,
2141
- // alignment: go.Spot.Left,
2142
- // maxSize: new go.Size(40, 40),
2143
- // imageStretch: go.GraphObject.Uniform,
2144
- // }),
2145
- // this.$(
2146
- // go.Panel,
2147
- // 'Table',
2148
- // {
2149
- // column: 1,
2150
- // defaultAlignment: go.Spot.Left,
2151
- // alignmentFocus: new go.Spot(0, 0, 0, 20),
2152
- // },
2153
- // this.$(go.TextBlock, title, {
2154
- // row: 0,
2155
- // margin: new go.Margin(3, 3, 5, 10),
2156
- // // maxSize: new go.Size(size.w - 20, NaN),
2157
- // stroke: '#444444',
2158
- // font: 'normal 10pt Arial',
2159
- // textAlign: 'center',
2160
- // alignment: go.Spot.Left,
2161
- // }),
2162
- // this.$(
2163
- // go.TextBlock,
2164
- // {
2165
- // row: 1,
2166
- // margin: new go.Margin(0, 3, 3, 10),
2167
- // editable: true,
2168
- // // maxSize: new go.Size(size.w - 20, 40),
2169
- // stroke: '#000D42',
2170
- // font: 'bold 10pt Arial',
2171
- // textAlign: 'center',
2172
- // wrap: go.TextBlock.None,
2173
- // overflow: go.TextBlock.OverflowEllipsis,
2174
- // },
2175
- // new go.Binding('text', 'name').makeTwoWay(),
2176
- // {
2177
- // // define a tooltip for each node that displays the color as text
2178
- // toolTip: this.$(
2179
- // 'ToolTip',
2180
- // this.$(go.TextBlock, { margin: 4 }, new go.Binding('text', 'name')),
2181
- // ), // end of Adornment
2182
- // },
2183
- // ),
2184
- // ),
2185
- // ),
2186
- // ),
2187
- );
2188
- this.myDiagram.groupTemplateMap.set(title, node);
2189
- }
2190
- makeGroupTemplate(icon, title, size = { w: 80, h: 80 }) {
2191
- let node = this.$(go.Group, 'Spot', {
2192
- // // layout: this.$(go.ForceDirectedLayout , {
2193
- // // direction: 0,
2194
- // // setsPortSpots: false,
2195
- // // }),
2196
- // layout: this.$(go.LayeredDigraphLayout, {
2197
- // direction: 0,
2198
- // setsPortSpots: false,
2199
- // }),
2200
- layout: this.$(go.Layout),
2201
- // // // adornment when a group is selected
2202
- // // // selectionAdornmentTemplate: this.$(
2203
- // // // go.Adornment,
2204
- // // // 'Auto',
2205
- // // // this.$(go.Shape, 'Rectangle', { fill: null, stroke: 'dodgerblue', strokeWidth: 8 }),
2206
- // // // this.$(go.Placeholder),
2207
- // // // ),
2208
- },
2209
- // new go.Binding('layout', 'layout', (x) =>
2210
- // {
2211
- // return this.$(go.ForceDirectedLayout , {
2212
- // direction: 0,
2213
- // setsPortSpots: false,
2214
- // });
2215
- // }
2216
- // ),
2217
- {
2218
- minSize: new go.Size(400, 400),
2219
- },
2220
- // new go.Binding('location', 'loc', go.Point.parse).makeTwoWay(go.Point.stringify),
2221
- this.$(go.Panel, 'Auto', this.$(go.Shape, 'RoundedRectangle', {
2222
- fill: 'transparent',
2223
- stroke: AtoGojsEditorModel.ENUM_COLORS.RESOLUTION_BLUE,
2224
- strokeWidth: 2,
2225
- // strokeDashArray: [5, 5],
2226
- }), this.$(go.Placeholder, { padding: new go.Margin(60, 20, 20, 20) })),
2227
- // this.$(
2228
- // go.Panel,
2229
- // 'Table',
2230
- // {
2231
- // alignment: go.Spot.TopLeft,
2232
- // alignmentFocus: new go.Spot(0, 0, -10, -10),
2233
- // },
2234
- // this.$(go.TextBlock, title, {
2235
- // row: 0,
2236
- // margin: new go.Margin(3, 3, 5, 3),
2237
- // maxSize: new go.Size(size.w - 20, NaN),
2238
- // stroke: '#444444',
2239
- // font: 'normal 8pt Arial',
2240
- // textAlign: 'center',
2241
- // }),
2242
- // this.$(go.Picture, icon, {
2243
- // row: 1,
2244
- // alignment: go.Spot.Center,
2245
- // maxSize: new go.Size(40, 40),
2246
- // imageStretch: go.GraphObject.Uniform,
2247
- // }),
2248
- // this.$(
2249
- // go.TextBlock,
2250
- // {
2251
- // row: 2,
2252
- // margin: new go.Margin(10, 3, 3, 3),
2253
- // editable: true,
2254
- // maxSize: new go.Size(size.w - 20, 40),
2255
- // stroke: '#000D42',
2256
- // font: 'bold 8pt Arial',
2257
- // textAlign: 'center',
2258
- // wrap: go.TextBlock.None,
2259
- // overflow: go.TextBlock.OverflowEllipsis,
2260
- // },
2261
- // new go.Binding('text', 'name').makeTwoWay(),
2262
- // {
2263
- // // define a tooltip for each node that displays the color as text
2264
- // toolTip: this.$('ToolTip', this.$(go.TextBlock, { margin: 4 }, new go.Binding('text', 'name'))), // end of Adornment
2265
- // },
2266
- // ),
2267
- // // new go.Binding('location', 'loc', go.Point.parse).makeTwoWay(go.Point.stringify),
2268
- // ),
2269
- this.$(go.Panel, 'Table', {
2270
- alignment: go.Spot.TopLeft,
2271
- alignmentFocus: new go.Spot(0, 0, -10, -10),
2272
- // padding: new go.Margin(0, 0, 50, 0),
2273
- }, this.$(go.Panel, 'Horizontal', {
2274
- row: 0,
2275
- alignment: go.Spot.Left,
2276
- }, this.$(go.Picture, icon, {
2277
- row: 0,
2278
- // alignment: go.Spot.Center,
2279
- alignment: go.Spot.Left,
2280
- maxSize: new go.Size(40, 40),
2281
- imageStretch: go.GraphObject.Uniform,
2282
- }), this.$(go.Panel, 'Table', {
2283
- column: 1,
2284
- defaultAlignment: go.Spot.Left,
2285
- alignmentFocus: new go.Spot(0, 0, 0, 20),
2286
- }, this.$(go.TextBlock, AtoGojsEditorModel.TEMPLATE_DUPLICATE[title] ?? title, {
2287
- row: 0,
2288
- margin: new go.Margin(3, 3, 5, 10),
2289
- // maxSize: new go.Size(size.w - 20, NaN),
2290
- stroke: '#444444',
2291
- font: 'normal 10pt Arial',
2292
- textAlign: 'center',
2293
- alignment: go.Spot.Left,
2294
- }), this.$(go.TextBlock, {
2295
- row: 1,
2296
- margin: new go.Margin(0, 3, 3, 10),
2297
- editable: true,
2298
- // maxSize: new go.Size(size.w - 20, 40),
2299
- stroke: '#000D42',
2300
- font: 'bold 10pt Arial',
2301
- textAlign: 'center',
2302
- wrap: go.TextBlock.None,
2303
- overflow: go.TextBlock.OverflowEllipsis,
2304
- }, new go.Binding('text', 'name').makeTwoWay(), {
2305
- // define a tooltip for each node that displays the color as text
2306
- toolTip: this.$('ToolTip', this.$(go.TextBlock, { margin: 4 }, new go.Binding('text', 'name'))), // end of Adornment
2307
- })))));
2308
- this.myDiagram.groupTemplateMap.set(title, node);
2309
- }
2310
- makeImageTemplate() {
2311
- const node = this.$(go.Node, 'Spot', {
2312
- zOrder: 1,
2313
- }, new go.Binding('selectable', 'selectable'), this.$(go.Panel, 'Horizontal', {
2314
- row: 0,
2315
- alignment: go.Spot.Left,
2316
- }, new go.Binding('location', 'loc', go.Point.parse).makeTwoWay(go.Point.stringify), this.$(go.Picture, AtoGojsEditorModel.IMAGE_RO_WATER_TREATMENT_PATH, {
2317
- alignment: go.Spot.Center,
2318
- // maxSize: new go.Size(500, 500),
2319
- // imageStretch: go.GraphObject.Uniform,
2320
- // margin: new go.Margin(130, 0, 0, 0),
2321
- }, new go.Binding('margin', 'margin'), new go.Binding('width', 'width'), new go.Binding('height', 'height'), new go.Binding('source', '', (data) => {
2322
- return data?.source
2323
- ? data?.source
2324
- : AtoGojsEditorModel.IMAGE_RO_WATER_TREATMENT_PATH;
2325
- }))));
2326
- this.myDiagram.nodeTemplateMap.set(AtoGojsEditorModel.ENUM_TEMPLATES.IMAGE_TEMPLATE, node);
2327
- }
2328
- makeParamTable() {
2329
- const self = this;
2330
- const node = this.$(go.Part, 'Vertical',
2331
- // this.$(go.Shape, { fill: '#E6F0F7', stroke: '#0063A9', strokeWidth: 3, geometryString: 'M 5 0 L 95 0 Q 100 0 100 5 L 100 95 Q 100 100 95 100 L 5 100 Q 0 100 0 95 L 0 5 Q 0 0 5 0' }),
2332
- {
2333
- zOrder: 2,
2334
- // padding: new go.Margin(0, 0, 0, 200),
2335
- }, new go.Binding('padding', 'padding'), new go.Binding('selectable', 'selectable'), new go.Binding('location', 'loc', go.Point.parse).makeTwoWay(go.Point.stringify), new go.Binding('visible', '', (data) => {
2336
- return typeof data?.visible === 'boolean' ? data?.visible : true;
2337
- }),
2338
- // Header
2339
- this.$(go.Panel, 'Auto', {
2340
- stretch: go.GraphObject.Fill,
2341
- minSize: new go.Size(150, 27),
2342
- margin: new go.Margin(0, 0, -6, 0),
2343
- }, new go.Binding('visible', '', (data) => !!data?.title), this.$(go.Shape, 'RoundedRectangle', {
2344
- parameter1: 5,
2345
- }, new go.Binding('fill', '', (data) => {
2346
- return data?.color;
2347
- }), new go.Binding('stroke', '', (data) => {
2348
- return data?.color;
2349
- })), this.$(go.TextBlock, {
2350
- stroke: 'white',
2351
- margin: new go.Margin(0, 0, 0, 5),
2352
- stretch: go.GraphObject.Fill,
2353
- alignment: go.Spot.Left,
2354
- verticalAlignment: go.Spot.Center,
2355
- font: '14px sans-serif',
2356
- }, new go.Binding('text', 'title'))), this.$(go.Shape, 'Rectangle', {
2357
- height: 6,
2358
- margin: new go.Margin(0, 0, -6, 0),
2359
- stretch: go.GraphObject.Fill,
2360
- }, new go.Binding('fill', '', (data) => {
2361
- return data?.color;
2362
- }), new go.Binding('stroke', '', (data) => {
2363
- return data?.color;
2364
- }), new go.Binding('visible', '', (data) => !!data?.title)), this.$(go.Panel, 'Auto', this.$(go.Shape, 'RoundedRectangle', { fill: '#E6F0F7', stroke: '#0063A9', strokeWidth: 4, parameter1: 5 }, new go.Binding('fill', 'bgColor'), new go.Binding('stroke', 'borderTable')), this.$(go.Panel, 'Table',
2365
- // Set defaults for all rows and columns:
2366
- {
2367
- padding: 1.5,
2368
- defaultRowSeparatorStroke: '#0062A9',
2369
- defaultColumnSeparatorStroke: '#0062A9',
2370
- defaultSeparatorPadding: new go.Margin(5, 2, 5, 2),
2371
- }, new go.Binding('defaultRowSeparatorStroke', 'borderTable'), new go.Binding('defaultColumnSeparatorStroke', 'borderTable'),
2372
- // this.$(
2373
- // go.Panel,
2374
- // 'TableRow',
2375
- // { row: 0 },
2376
- // this.$(go.TextBlock, 'row 1 col 1', { column: 0, margin: 2 }),
2377
- // this.$(go.TextBlock, 'row 1 col 2', { column: 1, margin: 2 }),
2378
- // ),
2379
- // this.$(
2380
- // go.Panel,
2381
- // 'TableRow',
2382
- // { row: 1 },
2383
- // this.$(go.TextBlock, 'row 2 col 1', { column: 0, margin: 2 }),
2384
- // this.$(go.TextBlock, 'row 2 col 2', { column: 1, margin: 2 }),
2385
- // ),
2386
- // new go.Binding('itemArray', 'dataTable'),
2387
- new go.Binding('itemArray', '', function (data) {
2388
- return data.dataTable.filter((x) => x?.visible !== false);
2389
- }), {
2390
- // itemTemplate: this.$(
2391
- // go.Panel,
2392
- // new go.Binding('row', 'indexRow'),
2393
- // // new go.Binding('height', 'height'),
2394
- // this.$(
2395
- // go.Picture,
2396
- // ARROW,
2397
- // {
2398
- // alignment: go.Spot.Center,
2399
- // maxSize: new go.Size(20, 40),
2400
- // // imageStretch: go.GraphObject.Uniform,
2401
- // },
2402
- // new go.Binding('source', '', (data, panel) => {
2403
- // // panel.part?.data?.id
2404
- // return data?.isCreated ? panel?.$p : ARROW_GRAY;
2405
- // }),
2406
- // ),
2407
- // ),
2408
- itemTemplate: this.$(go.Panel, 'TableRow', {
2409
- cursor: 'pointer',
2410
- click: (e, obj) => {
2411
- if (obj.panel.part.data?.dataTable[obj.row]?.isEditable ===
2412
- false) {
2413
- return;
2414
- }
2415
- self.onClikParamOfTable.emit({
2416
- ...obj.panel.part.data?.dataTable[obj.row],
2417
- });
2418
- },
2419
- background: 'transparent',
2420
- }, this.$(go.TextBlock, '', {
2421
- column: 0,
2422
- margin: 2,
2423
- textAlign: 'left',
2424
- alignment: go.Spot.Left,
2425
- overflow: go.TextBlock.OverflowEllipsis,
2426
- toolTip: this.$('ToolTip', this.$(go.TextBlock, {
2427
- margin: 4,
2428
- }, new go.Binding('text', '', (data, panel) => {
2429
- return data?.name;
2430
- }))),
2431
- }, new go.Binding('text', '', (data, panel) => {
2432
- return data?.name;
2433
- }), new go.Binding('maxSize', '', (data, panel) => {
2434
- return data?.maxSizeNameParam ?? Infinity;
2435
- })), this.$(go.Panel, 'Table', {
2436
- column: 1,
2437
- margin: 2,
2438
- padding: 0,
2439
- defaultSeparatorPadding: new go.Margin(0, 0, 0, 0),
2440
- stretch: go.GraphObject.Fill,
2441
- }, new go.Binding('minSize', '', (data, panel) => {
2442
- // return panel.part?.data?.minSizeValue;
2443
- return new go.Size(panel.part?.data?.minSizeValue?.width, NaN);
2444
- }), this.$(go.TextBlock, '', {
2445
- column: 0,
2446
- margin: 0,
2447
- alignment: go.Spot.Left,
2448
- overflow: go.TextBlock.OverflowEllipsis,
2449
- cursor: 'pointer',
2450
- toolTip: this.$('ToolTip', this.$(go.TextBlock, {
2451
- margin: 4,
2452
- }, new go.Binding('text', '', (data, panel) => {
2453
- return `${!!this._initialOptions.isReadOnly
2454
- ? `${data?.tagName || ''} `
2455
- : ''}${data?.value}`;
2456
- }), new go.Binding('visible', '', (data) => {
2457
- if (!!this._initialOptions.isReadOnly &&
2458
- data?.tagName) {
2459
- return true;
2460
- }
2461
- return !!data?.value;
2462
- }))),
2463
- }, new go.Binding('text', '', (data, panel) => {
2464
- return data?.value;
2465
- }), new go.Binding('stroke', '', (data) => {
2466
- if (!this._initialOptions.isReadOnly) {
2467
- return 'transparent';
2468
- }
2469
- return data.color;
2470
- }), new go.Binding('maxSize', '', (data) => {
2471
- return new go.Size(data?.maxSizeValue || 190, 14);
2472
- }), new go.Binding('font', '', (data) => {
2473
- return data?.font;
2474
- })), this.$(go.Picture, {
2475
- alignment: go.Spot.Right,
2476
- column: 1,
2477
- margin: new go.Margin(0, 0, 0, 5),
2478
- source: ICONS_BASE64['uf044'],
2479
- cursor: 'pointer',
2480
- visible: false,
2481
- toolTip: this.$('ToolTip', this.$(go.TextBlock, {
2482
- margin: 4,
2483
- }, new go.Binding('text', '', (data, panel) => {
2484
- return data?.toolTipAction;
2485
- })), new go.Binding('visible', '', (data) => !!data?.toolTipAction)),
2486
- height: 14,
2487
- width: 14,
2488
- }, new go.Binding('visible', '', (data, panel) => {
2489
- return (!data?.isReadOnly && !this._initialOptions.isReadOnly);
2490
- }), new go.Binding('opacity', '', (data, panel) => {
2491
- return data?.isEditable === false ? 0.6 : 1;
2492
- })))),
2493
- }
2494
- // new go.Binding('text', 'name')
2495
- )));
2496
- this.myDiagram.nodeTemplateMap.set(AtoGojsEditorModel.ENUM_TEMPLATES.PARAM_TABLE, node);
2497
- }
2498
- makeMassBalance() {
2499
- const self = this;
2500
- const node = this.$(go.Part, 'Auto', {}, new go.Binding('location', 'loc', go.Point.parse).makeTwoWay(go.Point.stringify), new go.Binding('selectable', 'selectable'), this.$(go.Panel, 'Horizontal',
2501
- // Set defaults for all rows and columns:
2502
- {
2503
- padding: 4,
2504
- toolTip: this.$('ToolTip', this.$(go.TextBlock, {
2505
- margin: 4,
2506
- maxSize: new go.Size(450, 30),
2507
- }, new go.Binding('text', 'tooltip'))),
2508
- visible: this._initialOptions.isReadOnly,
2509
- }, this.$(go.TextBlock, '', {
2510
- margin: new go.Margin(0, 5, 0, 0),
2511
- text: 'Mass Balance:',
2512
- }, new go.Binding('font', 'font')), this.$(go.TextBlock, '', {
2513
- stroke: AtoGojsEditorModel.ENUM_COLORS.ALIZARIN,
2514
- }, new go.Binding('font', 'font'), new go.Binding('stroke', 'colorValue'), new go.Binding('text', '', (data, panel) => {
2515
- return data?.value;
2516
- }))));
2517
- this.myDiagram.nodeTemplateMap.set(AtoGojsEditorModel.ENUM_TEMPLATES.MASS_BALANCE, node);
2518
- }
2519
- makeGroupROPlantTemplate(icon, title, size = { w: 80, h: 80 }) {
2520
- let node = this.$(go.Group, 'Spot', {
2521
- layout: this.$(go.Layout),
2522
- }, {
2523
- // minSize: new go.Size(NaN, 600),
2524
- }, new go.Binding('selectable', 'selectable'), new go.Binding('location', 'loc', go.Point.parse).makeTwoWay(go.Point.stringify), this.$(go.Panel, 'Table', this.$(go.Panel, 'Auto', {
2525
- row: 0,
2526
- padding: new go.Margin(0, 0, 0, 0),
2527
- }, this.$(go.Shape, 'RoundedRectangle', {
2528
- name: 'SHAPE_KEY',
2529
- fill: '#FCFCFD',
2530
- stroke: AtoGojsEditorModel.ENUM_COLORS.RESOLUTION_BLUE,
2531
- strokeWidth: 2,
2532
- // strokeDashArray: [5, 5],
2533
- }), this.$(go.Placeholder, { padding: new go.Margin(15, 0, 0, 0) })), this.$(go.Picture, RO_LINE_DIRTY, {
2534
- row: 1,
2535
- }, new go.Binding('visible', '', (x) => {
2536
- return x?.isViewGeneral && x?.hasOutFlow ? true : false;
2537
- }))), this.$(go.Panel, 'Table', {
2538
- width: 0,
2539
- height: 0,
2540
- alignment: new go.Spot(0, 0, 0, 183),
2541
- alignmentFocus: go.Spot.Left,
2542
- // stretch: go.GraphObject.Vertical,
2543
- portId: 'Inflow',
2544
- cursor: this._initialOptions.isReadOnly ? '' : 'pointer',
2545
- // alignmentFocus: new go.Spot(0, 0, 0, 150),
2546
- fromSpot: go.Spot.Left,
2547
- toSpot: go.Spot.Left,
2548
- fromLinkable: true,
2549
- toLinkable: true,
2550
- }), this.$(go.Panel, 'Table', {
2551
- width: 0,
2552
- height: 0,
2553
- alignment: new go.Spot(0, 0, 970, 315),
2554
- alignmentFocus: go.Spot.Bottom,
2555
- portId: 'OutFlow_Clean',
2556
- cursor: this._initialOptions.isReadOnly ? '' : 'pointer',
2557
- fromSpot: go.Spot.Bottom,
2558
- toSpot: go.Spot.Bottom,
2559
- fromLinkable: true,
2560
- toLinkable: true,
2561
- }), this.$(go.Panel, 'Table', {
2562
- width: 0,
2563
- height: 0,
2564
- // alignment: new go.Spot(0, 0, 480, 525),
2565
- // alignment: new go.Spot(0, 0, 475, 552),
2566
- alignmentFocus: go.Spot.Bottom,
2567
- portId: 'OutFlow_Dirty',
2568
- cursor: this._initialOptions.isReadOnly ? '' : 'pointer',
2569
- fromSpot: go.Spot.Bottom,
2570
- toSpot: go.Spot.Bottom,
2571
- fromLinkable: true,
2572
- toLinkable: true,
2573
- }, new go.Binding('alignment', '', (x) => {
2574
- return x?.isViewGeneral && x?.hasOutFlow
2575
- ? new go.Spot(0, 0, 475, 552)
2576
- : new go.Spot(0, 0, 480, 525);
2577
- })));
2578
- this.myDiagram.groupTemplateMap.set(title, node);
2579
- }
2580
- makeGroupBoilerTemplate(icon, title, size = { w: 80, h: 80 }) {
2581
- let node = this.$(go.Group, 'Spot', {
2582
- selectable: false,
2583
- }, {
2584
- // minSize: new go.Size(NaN, 600),
2585
- }, new go.Binding('selectable', 'selectable'), this.$(go.Panel, 'Auto', {
2586
- padding: new go.Margin(0, 0, 0, 0),
2587
- }, this.$(go.Shape, 'RoundedRectangle', {
2588
- name: 'SHAPE_KEY',
2589
- fill: '#FCFCFD',
2590
- stroke: AtoGojsEditorModel.ENUM_COLORS.RESOLUTION_BLUE,
2591
- strokeWidth: 2,
2592
- }), this.$(go.Placeholder, new go.Binding('location', 'loc', go.Point.parse).makeTwoWay(go.Point.stringify), { padding: new go.Margin(0, 0, 0, 0) })), this.$(go.Panel, 'Spot', {
2593
- width: 0,
2594
- height: 0,
2595
- alignment: new go.Spot(0, 0.5, 0, 112),
2596
- alignmentFocus: go.Spot.Left,
2597
- portId: 'Inflow',
2598
- cursor: this._initialOptions.isReadOnly ? '' : 'pointer',
2599
- fromSpot: go.Spot.Left,
2600
- toSpot: go.Spot.Left,
2601
- fromLinkable: true,
2602
- toLinkable: true,
2603
- }), this.$(go.Panel, 'Spot', {
2604
- alignmentFocus: go.Spot.Top,
2605
- alignment: new go.Spot(1, 1, -215, 0),
2606
- }, this.$(go.Picture, OUTFLOW_LINE_DIRTY, {
2607
- width: 10,
2608
- height: 20,
2609
- }, new go.Binding('visible', '', (x) => {
2610
- return x?.isViewGeneral && x?.hasOutFlow ? true : false;
2611
- })), this.$(go.Panel, {
2612
- alignment: go.Spot.BottomLeft,
2613
- alignmentFocus: go.Spot.Top,
2614
- portId: 'OutFlow',
2615
- cursor: this._initialOptions.isReadOnly ? '' : 'pointer',
2616
- fromSpot: go.Spot.Bottom,
2617
- fromLinkable: true,
2618
- toLinkable: true,
2619
- })));
2620
- this.myDiagram.groupTemplateMap.set(title, node);
2621
- }
2622
- makeGroupCoolingTowerTemplate(icon, title, size = { w: 80, h: 80 }) {
2623
- let node = this.$(go.Group, 'Spot', {
2624
- selectable: false,
2625
- layout: this.$(go.Layout),
2626
- padding: new go.Margin(0, 30, 0, 0),
2627
- }, new go.Binding('location', 'loc', go.Point.parse).makeTwoWay(go.Point.stringify), this.$(go.Panel, 'Auto', {
2628
- row: 0,
2629
- padding: new go.Margin(0, 0, 0, 0),
2630
- }, this.$(go.Shape, 'RoundedRectangle', {
2631
- name: 'SHAPE_KEY',
2632
- fill: '#FCFCFD',
2633
- stroke: AtoGojsEditorModel.ENUM_COLORS.RESOLUTION_BLUE,
2634
- strokeWidth: 2,
2635
- strokeDashArray: [5, 5],
2636
- }), this.$(go.Placeholder, { padding: new go.Margin(0, 0, 0, 0) })), this.$(go.Panel, 'Table', {
2637
- width: 0,
2638
- height: 0,
2639
- alignment: new go.Spot(0, 0, 0, 533),
2640
- alignmentFocus: go.Spot.Bottom,
2641
- portId: 'Inflow',
2642
- cursor: this._initialOptions.isReadOnly ? '' : 'pointer',
2643
- fromSpot: go.Spot.Left,
2644
- toSpot: go.Spot.Left,
2645
- fromLinkable: true,
2646
- toLinkable: true,
2647
- }), this.$(go.Panel, 'Spot', {
2648
- alignmentFocus: go.Spot.Top,
2649
- alignment: new go.Spot(0.5, 1, 23, 0),
2650
- }, this.$(go.Picture, OUTFLOW_LINE_DIRTY, {
2651
- width: 10,
2652
- height: 20,
2653
- }, new go.Binding('visible', '', (x) => {
2654
- return x?.isViewGeneral && x?.hasOutFlow ? true : false;
2655
- })), this.$(go.Panel, {
2656
- alignment: new go.Spot(0, 0, 0, 18),
2657
- alignmentFocus: go.Spot.Top,
2658
- portId: 'OutFlow',
2659
- cursor: this._initialOptions.isReadOnly ? '' : 'pointer',
2660
- fromSpot: go.Spot.Center,
2661
- toSpot: go.Spot.Right,
2662
- fromLinkable: true,
2663
- toLinkable: true,
2664
- })));
2665
- this.myDiagram.groupTemplateMap.set(title, node);
2666
- }
2667
- groupPlantCellTemplate(icon, title, size = { w: 80, h: 80 }) {
2668
- const self = this;
2669
- let node = this.$(go.Group, 'Spot', {
2670
- // layout: this.$(go.Layout),
2671
- // layout: this.$(go.LayeredDigraphLayout, { direction: 0 }),
2672
- // isSubGraphExpanded: false,
2673
- // background: 'transparent',
2674
- // layerName: 'Foreground',
2675
- // wasSubGraphExpanded: false,
2676
- movable: false,
2677
- selectable: false,
2678
- avoidable: false,
2679
- // resizable: true,
2680
- // resizable: false,
2681
- // width: data?.ob?.minWith ?? 50,
2682
- // height: 500,
2683
- // isSubGraphExpanded: true, // ensure the group is always expanded
2684
- // computesBoundsAfterDrag: true,
2685
- // handlesDragDropForMembers: true, // handle drag-and-drop events for its member nodes
2686
- // maxSize: new go.Size(500, 500),
2687
- // minSize: new go.Size(500, 500),
2688
- // isSubGraphExpanded: true,
2689
- // layerName: DIAGRAM.LAYERS.BACKGROUND,
2690
- // mouseDrop: function (e, grp) {
2691
- // // disallow dropping anything onto an Adornment
2692
- // if (grp instanceof go.Adornment) return;
2693
- // },
2694
- // dragComputation: function (node, pt, gridPt) {
2695
- // let grp = node.containingGroup;
2696
- // if (grp !== null) {
2697
- // let rect = grp.actualBounds;
2698
- // pt.x = Math.max(rect.left, Math.min(pt.x, rect.right));
2699
- // pt.y = Math.max(rect.top, Math.min(pt.y, rect.bottom));
2700
- // }
2701
- // return pt;
2702
- // },
2703
- // dropComputation: function (node, pt, gridPt) {
2704
- // let grp = node.containingGroup;
2705
- // if (grp !== null) {
2706
- // let rect = grp.actualBounds;
2707
- // pt.x = Math.max(rect.left, Math.min(pt.x, rect.right));
2708
- // pt.y = Math.max(rect.top, Math.min(pt.y, rect.bottom));
2709
- // }
2710
- // return pt;
2711
- // },
2712
- // dragComputation: function (part, pt, gridpt) {
2713
- // // Get the current group's actual bounds
2714
- // const grp = part.containingGroup;
2715
- // if (grp) {
2716
- // const bnds = grp.actualBounds;
2717
- // const loc = part.location;
2718
- // // See if the part's new location would be out of bounds
2719
- // const newx = Math.max(bnds.x, Math.min(pt.x, bnds.right - part.actualBounds.width / 2));
2720
- // const newy = Math.max(bnds.y, Math.min(pt.y, bnds.bottom - part.actualBounds.height / 2));
2721
- // // Modify the result point to keep the Part inside the Group
2722
- // return new go.Point(newx, newy);
2723
- // }
2724
- // return pt;
2725
- // },
2726
- click: (e, obj) => {
2727
- self.myDiagram?.clearSelection();
2728
- },
2729
- }, {
2730
- // mouseDragEnter: (e, obj) => {
2731
- // },
2732
- // mouseDrop: (e, obj) => {
2733
- // },
2734
- // mouseEnter: (e, obj) => {
2735
- // const node = obj.part;
2736
- // self.onHoverInfoButton.emit({
2737
- // left: e?.['Wr']?.x + 8,
2738
- // top: e?.['Wr']?.y,
2739
- // node: node,
2740
- // });
2741
- // // let shape = (node as any)?.findObject('SHAPE_KEY');
2742
- // // if (shape) {
2743
- // // shape.stroke = 'blue';
2744
- // // }
2745
- // },
2746
- // mouseLeave: (e, obj) => {
2747
- // self.onHoverInfoButton.emit(null);
2748
- // // let shape = (node as any)?.findObject('SHAPE_KEY');
2749
- // // if (shape) {
2750
- // // shape.stroke = AtoGojsEditorModel.ENUM_COLORS.WHITE;
2751
- // // }
2752
- // },
2753
- }, new go.Binding('layout', '', function (data, node) {
2754
- // return data?.layoutValue === AtoGojsEditorModel.ENUM_LAYOUT_EDITOR.AUTO
2755
- // ? self.$(go.LayeredDigraphLayout, { direction: 0 })
2756
- // : node?.layout;
2757
- if (data?.layoutValue !== data?.layoutValueClone) {
2758
- data.layoutValueClone = data?.layoutValue;
2759
- return data?.layoutValue ===
2760
- AtoGojsEditorModel.ENUM_LAYOUT_EDITOR.AUTO
2761
- ? self.$(go.LayeredDigraphLayout, { direction: 0 })
2762
- : self.$(go.Layout);
2763
- }
2764
- else {
2765
- return node?.layout;
2766
- }
2767
- // : self.$(go.Layout);
2768
- // return data?.layout;
2769
- // return data?.previousLayout || self.$(go.LayeredDigraphLayout, { direction: 0 });
2770
- // return self.$(go.LayeredDigraphLayout, { direction: 0 });
2771
- }),
2772
- // new go.Binding('grid', 'grid'),
2773
- new go.Binding('selectable', 'selectable'),
2774
- // new go.Binding('width', '', function (data) {
2775
- // return data?.ob?.minWith ?? 50;
2776
- // }),
2777
- new go.Binding('minSize', '', function (data) {
2778
- return new go.Size(data?.ob?.minWith ?? 50, data?.ob?.minHeight ?? 50); // Customize minSize based on data
2779
- }).ofObject(),
2780
- // new go.Binding('width', '', function (data) {
2781
- // return data?.ob?.minWith ?? 50; // Customize minSize based on data
2782
- // }).ofObject(),
2783
- // new go.Binding('height', '', function (data) {
2784
- // return data?.ob?.minHeight ?? 50; // Customize minSize based on data
2785
- // }).ofObject(),
2786
- new go.Binding('location', 'loc', go.Point.parse).makeTwoWay(go.Point.stringify),
2787
- // new go.Binding('isSubGraphExpanded', 'expanded').makeTwoWay(),
2788
- this.$(go.Panel, 'Auto', {
2789
- padding: new go.Margin(0, 0, 0, 0),
2790
- // margin:new go.Margin(0, 50, 0, 50),
2791
- }, this.$(go.Shape, 'RoundedRectangle', {
2792
- name: 'SHAPE_KEY',
2793
- fill: 'transparent',
2794
- stroke: AtoGojsEditorModel.ENUM_COLORS.RESOLUTION_BLUE,
2795
- strokeWidth: 2,
2796
- strokeDashArray: [5, 5],
2797
- }), this.$(go.Placeholder, { padding: new go.Margin(0, 0, 0, 0) })));
2798
- // node.memberValidation = function (node, group) {
2799
- // if (!group) return true; // allow ungrouping
2800
- // const groupBounds = group.actualBounds;
2801
- // const nodeBounds = node.actualBounds;
2802
- // return groupBounds.containsRect(nodeBounds);
2803
- // };
2804
- this.myDiagram.groupTemplateMap.set(title, node);
2805
- }
2806
- groupPCInputOrOutTemplate(icon, title, padding) {
2807
- // let node = this.$(
2808
- // go.Group,
2809
- // 'Spot',
2810
- // {
2811
- // layout: this.$(go.Layout),
2812
- // movable: false,
2813
- // selectable: false,
2814
- // },
2815
- // // {
2816
- // // // minSize: new go.Size(500, 500),
2817
- // // movable: false,
2818
- // // ariaReadOnly: true,
2819
- // // },
2820
- // this.$(
2821
- // go.Panel,
2822
- // 'Auto',
2823
- // {
2824
- // padding: new go.Margin(0, 0, 0, 0),
2825
- // },
2826
- // this.$(go.Shape, 'RoundedRectangle', {
2827
- // fill: 'transparent',
2828
- // // stroke: AtoGojsEditorModel.ENUM_COLORS.RESOLUTION_BLUE,
2829
- // stroke: AtoGojsEditorModel.ENUM_COLORS.WHITE,
2830
- // strokeWidth: 2,
2831
- // strokeDashArray: [5, 5],
2832
- // }),
2833
- // this.$(go.Placeholder, {
2834
- // padding: new go.Margin(0, 0, 0, 0),
2835
- // }),
2836
- // ),
2837
- // );
2838
- let node = this.$(go.Group, 'Spot', {
2839
- layout: this.$(go.LayeredDigraphLayout, { direction: 0 }),
2840
- movable: false,
2841
- selectable: false,
2842
- avoidable: false,
2843
- // isSubGraphExpanded: false,
2844
- // isSubGraphExpanded: false,
2845
- // layerName: 'Foreground',
2846
- }, new go.Binding('location', 'loc', go.Point.parse).makeTwoWay(go.Point.stringify), this.$(go.Panel, 'Auto', {
2847
- padding: padding ?? new go.Margin(0, 0, 0, 0),
2848
- }, this.$(go.Shape, 'RoundedRectangle', {
2849
- fill: 'transparent',
2850
- stroke: AtoGojsEditorModel.ENUM_COLORS.WHITE,
2851
- // stroke: AtoGojsEditorModel.ENUM_COLORS.ALIZARIN,
2852
- strokeWidth: 2,
2853
- // strokeDashArray: [5, 5],
2854
- }), this.$(go.Placeholder, {
2855
- padding: new go.Margin(0, 0, 0, 0),
2856
- })));
2857
- this.myDiagram.groupTemplateMap.set(title, node);
2858
- }
2859
- makeGroupZoneTemplate(size = {
2860
- w: AtoGojsEditorModel.GRID_SIZE * 14,
2861
- h: AtoGojsEditorModel.GRID_SIZE * 5,
2862
- }) {
2863
- const self = this;
2864
- let node = this.$(go.Group, 'Vertical', {
2865
- layout: this.$(go.GridLayout, {
2866
- wrappingColumn: 1,
2867
- spacing: new go.Size(0, 0),
2868
- }),
2869
- }, {
2870
- locationSpot: go.Spot.Center,
2871
- mouseOver: function (e, obj) {
2872
- // self.showPoint(obj?.part?.location);
2873
- },
2874
- click: (e, obj) => {
2875
- if (obj?.data?.onSelected) {
2876
- obj?.data?.onSelected(obj?.data);
2877
- }
2878
- },
2879
- selectionChanged: (e) => {
2880
- if (!e.isSelected && e?.data?.onSelected) {
2881
- e?.data?.onSelected(null);
2882
- }
2883
- },
2884
- selectionAdornmentTemplate: this._initialOptions.isReadOnly
2885
- ? null
2886
- : this.$(go.Adornment, 'Spot', {
2887
- shadowVisible: true,
2888
- shadowBlur: 6,
2889
- shadowOffset: new go.Point(0, 2),
2890
- shadowColor: '#00000029',
2891
- }, this.$(go.Panel, 'Auto', this.$(go.Shape, {
2892
- fill: null,
2893
- stroke: 'dodgerblue',
2894
- strokeWidth: 4,
2895
- }), this.$(go.Placeholder, { padding: 3 })), this.$(go.Panel, 'Horizontal', {
2896
- alignment: go.Spot.TopRight,
2897
- alignmentFocus: go.Spot.Bottom,
2898
- background: 'white',
2899
- }, this.$('Button', {
2900
- _dragData: {
2901
- type: AtoGojsEditorModel.ENUM_TEMPLATES.TEXT_NODE,
2902
- name: 0,
2903
- color: AtoGojsEditorModel.ENUM_COLORS.BLUE,
2904
- },
2905
- click: self.addItemOnGroupZone, // defined below, to support a click on the button
2906
- 'ButtonBorder.strokeWidth': 0,
2907
- 'ButtonBorder.fill': 'white',
2908
- }, this.$(go.TextBlock, {
2909
- margin: 4,
2910
- text: '\uf055',
2911
- font: '20px "Font Awesome 6 Pro"',
2912
- cursor: 'pointer',
2913
- stroke: '#2c2c2c',
2914
- })),
2915
- // more
2916
- this.generateActionGroup([
2917
- AtoDefaultGojsEditor.ENUM_ACTIONS.RENAME,
2918
- AtoDefaultGojsEditor.ENUM_ACTIONS.DETAILS,
2919
- AtoDefaultGojsEditor.ENUM_ACTIONS.OUTFLOW,
2920
- AtoDefaultGojsEditor.ENUM_ACTIONS.DELETE,
2921
- ])
2922
- // this.$(
2923
- // // Edit Text
2924
- // 'Button',
2925
- // {
2926
- // click: self.editTextGroupZone,
2927
- // 'ButtonBorder.strokeWidth': 0,
2928
- // 'ButtonBorder.fill': 'white',
2929
- // },
2930
- // this.$(go.TextBlock, {
2931
- // margin: 4,
2932
- // text: '\ue1bf',
2933
- // font: '20px "Font Awesome 6 Pro"',
2934
- // cursor: 'pointer',
2935
- // stroke: '#2c2c2c',
2936
- // }),
2937
- // ),
2938
- // this.$(
2939
- // // Open Detail
2940
- // 'Button',
2941
- // {
2942
- // click: (e, obj: any) => {
2943
- // const node = obj.part;
2944
- // self.onOpenDetail.emit({
2945
- // node,
2946
- // });
2947
- // },
2948
- // 'ButtonBorder.strokeWidth': 0,
2949
- // 'ButtonBorder.fill': 'white',
2950
- // },
2951
- //
2952
- // this.$(go.TextBlock, {
2953
- // margin: 4,
2954
- // text: '\ue49a',
2955
- // font: '20px "Font Awesome 6 Pro"',
2956
- // cursor: 'pointer',
2957
- // }),
2958
- // ),
2959
- // !this._initialOptions.isReadOnly
2960
- // ? this.$(
2961
- // 'Button',
2962
- // {
2963
- // actionMove: self.dragNewNode, // defined below, to support dragging from the button
2964
- // _dragData: {
2965
- // type: AtoGojsEditorModel.ENUM_TEMPLATES.TEXT_NODE,
2966
- // name: 0,
2967
- // color: AtoGojsEditorModel.ENUM_COLORS.BLUE,
2968
- // },
2969
- // click: self.clickNewNode, // defined below, to support a click on the button
2970
- // 'ButtonBorder.strokeWidth': 0,
2971
- // 'ButtonBorder.fill': 'white',
2972
- // },
2973
- // this.$(go.TextBlock, {
2974
- // margin: 4,
2975
- // text: '\ue157',
2976
- // font: '20px "Font Awesome 6 Pro"',
2977
- // cursor: 'pointer',
2978
- // stroke: '#2c2c2c',
2979
- // }),
2980
- // )
2981
- // : {},
2982
- // this.$(
2983
- // 'Button',
2984
- // {
2985
- // click: self.deleteNode,
2986
- // 'ButtonBorder.strokeWidth': 0,
2987
- // 'ButtonBorder.fill': 'white',
2988
- // },
2989
- // this.$(go.TextBlock, {
2990
- // margin: 4,
2991
- // text: '\uf2ed',
2992
- // font: '20px "Font Awesome 6 Pro"',
2993
- // cursor: 'pointer',
2994
- // }),
2995
- // ),
2996
- )),
2997
- }, this.$(go.Panel, 'Auto', this.$(go.Shape, 'RoundedRectangle', {
2998
- fill: 'transparent',
2999
- stroke: AtoGojsEditorModel.ENUM_COLORS.RESOLUTION_BLUE,
3000
- strokeWidth: 2,
3001
- strokeDashArray: [5, 5],
3002
- maxSize: new go.Size(size.w, NaN),
3003
- }), this.$(go.Panel, 'Table', {
3004
- alignment: go.Spot.Top,
3005
- padding: new go.Margin(17, 10, 16, 10),
3006
- }, this.$(go.TextBlock, {
3007
- row: 0,
3008
- margin: new go.Margin(5, 0, 10, 0),
3009
- editable: true,
3010
- desiredSize: new go.Size(size.w - 20, 25),
3011
- stroke: AtoGojsEditorModel.ENUM_COLORS.NIGHT_RIDER,
3012
- font: 'bold 16px Arial',
3013
- textAlign: 'center',
3014
- wrap: go.TextBlock.None,
3015
- overflow: go.TextBlock.OverflowEllipsis,
3016
- toolTip: this.$('ToolTip', this.$(go.TextBlock, {
3017
- margin: 4,
3018
- }, new go.Binding('text', 'name').makeTwoWay())),
3019
- }, new go.Binding('text', 'name').makeTwoWay()), this.$(go.Placeholder, 'Vertical', {
3020
- row: 1,
3021
- })), this.makePort('T', go.Spot.Top, go.Spot.TopSide, false, true), this.makePort('L', go.Spot.Left, go.Spot.LeftSide, true, true), this.makePort('R', go.Spot.Right, go.Spot.RightSide, true, true), this.makePort('B', go.Spot.Bottom, go.Spot.BottomSide, true, false)), new go.Binding('location', 'loc', go.Point.parse).makeTwoWay(go.Point.stringify));
3022
- this.myDiagram.groupTemplateMap.set(AtoGojsEditorModel.ENUM_TEMPLATES.ZONE, node);
3023
- }
3024
- makeZoneItemTemplate(size = {
3025
- w: AtoGojsEditorModel.GRID_SIZE * 12,
3026
- h: AtoGojsEditorModel.GRID_SIZE * 2,
3027
- }) {
3028
- const self = this;
3029
- const node = this.$(go.Node, 'Auto',
3030
- // {
3031
- // mouseHover: (e, obj) => {
3032
- // const node = obj.part;
3033
- // if ((obj as any).part?.ob?.value === VALUE_NA) {
3034
- // self.onHoverInfoButton.emit({
3035
- // left: e?.['Wr']?.x + 8,
3036
- // top: e?.['Wr']?.y,
3037
- // node: node
3038
- // });
3039
- // }
3040
- // },
3041
- // mouseLeave: (e, obj) => {
3042
- // if ((obj as any).part?.ob?.value === VALUE_NA) {
3043
- // self.onHoverInfoButton.emit(null);
3044
- // }
3045
- // },
3046
- // click: (e, obj: any) => {
3047
- // const node = obj.part;
3048
- // this.isShowNodeInfo ? self.onClickInfoButton.emit({
3049
- // left: e?.['Wr']?.x,
3050
- // top: e?.['Wr']?.y,
3051
- // node: node
3052
- // }) : null;
3053
- // },
3054
- // },
3055
- // new go.Binding('location', 'loc', go.Point.parse).makeTwoWay(go.Point.stringify),
3056
- {
3057
- movable: false,
3058
- }, this.$(go.Panel, 'Auto', {
3059
- width: size.w,
3060
- height: size.h,
3061
- }, this.$(go.Shape, 'Rectangle', {
3062
- fill: AtoGojsEditorModel.ENUM_COLORS.LIGHT_BLUE,
3063
- stroke: AtoGojsEditorModel.ENUM_COLORS.LINK_WATER,
3064
- }), this.$(go.Panel, 'Vertical', this.$(go.TextBlock, {
3065
- editable: true,
3066
- row: 2,
3067
- margin: new go.Margin(10, 0, 5, 0),
3068
- font: 'bold 12px Arial',
3069
- textAlign: 'center',
3070
- stroke: AtoGojsEditorModel.ENUM_COLORS.NIGHT_RIDER,
3071
- toolTip: this.$('ToolTip', this.$(go.TextBlock, {
3072
- margin: 4,
3073
- }, new go.Binding('text', 'name').makeTwoWay())),
3074
- }, new go.Binding('text', 'name').makeTwoWay(), new go.Binding('visible', 'name', (x) => !!x)), this.$(go.Panel, 'Horizontal', {
3075
- margin: new go.Margin(0, 10, 0, 10),
3076
- }, this.$(go.TextBlock, {
3077
- margin: new go.Margin(0, 5, 10, 0),
3078
- textAlign: 'center',
3079
- font: '12px sans-serif',
3080
- stroke: AtoGojsEditorModel.ENUM_COLORS.NIGHT_RIDER,
3081
- wrap: go.TextBlock.WrapFit,
3082
- editable: true,
3083
- isMultiline: false,
3084
- maxSize: new go.Size(size.w - 100, 15),
3085
- overflow: go.TextBlock.OverflowEllipsis,
3086
- toolTip: this.$('ToolTip', this.$(go.TextBlock, {
3087
- margin: 4,
3088
- }, new go.Binding('text', 'nameItem').makeTwoWay())),
3089
- }, new go.Binding('text', 'nameItem').makeTwoWay(), new go.Binding('visible', 'nameItem', (x) => !!x)), this.$(go.TextBlock, {
3090
- margin: new go.Margin(0, 5, 10, 0),
3091
- textAlign: 'center',
3092
- font: '12px sans-serif',
3093
- stroke: AtoGojsEditorModel.ENUM_COLORS.CERULEAN,
3094
- wrap: go.TextBlock.WrapFit,
3095
- text: '< ',
3096
- }, new go.Binding('visible', 'data', (x) => typeof x?.quantity === 'number')), this.$(go.TextBlock, {
3097
- margin: new go.Margin(0, 5, 10, 0),
3098
- textAlign: 'center',
3099
- font: '12px sans-serif',
3100
- stroke: AtoGojsEditorModel.ENUM_COLORS.CERULEAN,
3101
- wrap: go.TextBlock.WrapFit,
3102
- }, new go.Binding('text', 'data', (x) => {
3103
- if (typeof x?.quantity !== 'number') {
3104
- return '';
3105
- }
3106
- const formatted = UtilsService.convertPrefixesData({
3107
- value: x?.quantity,
3108
- unit: x?.unit,
3109
- });
3110
- return (formatted.shortenedNumber +
3111
- ' ' +
3112
- formatted.unitPrefixes +
3113
- x?.unit ?? '');
3114
- }), new go.Binding('visible', 'data', (x) => typeof x?.quantity === 'number')), this.$(go.TextBlock, {
3115
- margin: new go.Margin(0, 5, 10, 0),
3116
- textAlign: 'center',
3117
- font: '12px sans-serif',
3118
- stroke: AtoGojsEditorModel.ENUM_COLORS.CERULEAN,
3119
- wrap: go.TextBlock.WrapFit,
3120
- text: ' >',
3121
- }, new go.Binding('visible', 'data', (x) => typeof x?.quantity === 'number'))))));
3122
- this.myDiagram.nodeTemplateMap.set(AtoGojsEditorModel.ENUM_TEMPLATES.ZONE_ENERGY_ITEM, node);
3123
- }
3124
- makeSpecialTemplate(icon, title, size = {
3125
- w: AtoGojsEditorModel.GRID_SIZE * 5,
3126
- h: AtoGojsEditorModel.GRID_SIZE * 5,
3127
- }) {
3128
- let node = null;
3129
- switch (title) {
3130
- case AtoGojsEditorModel.ENUM_TEMPLATES.SPECIAL_PROCESS:
3131
- node = this.$(go.Node, 'Spot',
3132
- // {
3133
- // fromSpot: go.Spot.Right, // coming out from middle-right
3134
- // toSpot: go.Spot.Left
3135
- // },
3136
- {
3137
- click: (e, obj) => {
3138
- if (obj?.data?.onSelected) {
3139
- obj?.data?.onSelected(obj?.data);
3140
- }
3141
- },
3142
- selectionChanged: (e) => {
3143
- if (!e.isSelected && e?.data?.onSelected) {
3144
- e?.data?.onSelected(null);
3145
- }
3146
- },
3147
- }, new go.Binding('location', 'loc', go.Point.parse).makeTwoWay(go.Point.stringify), this.$(go.Panel, 'Auto', { width: size.w, height: size.h }, this.$(go.Shape, 'Circle', {
3148
- fill: 'white',
3149
- stroke: '#2D3B77',
3150
- strokeWidth: 2,
3151
- // strokeDashArray: [5, 5],
3152
- }), this.$(go.Panel, 'Table', this.$(go.TextBlock, AtoGojsEditorModel.ENUM_TEMPLATES.PROCESS, {
3153
- row: 0,
3154
- margin: new go.Margin(3, 3, 10, 3),
3155
- maxSize: new go.Size(size.w - 20, NaN),
3156
- stroke: '#444444',
3157
- font: 'normal 10pt Arial',
3158
- textAlign: 'center',
3159
- }), this.$(go.Picture, icon, {
3160
- row: 1,
3161
- margin: new go.Margin(0, 0, 10, 0),
3162
- alignment: go.Spot.Center,
3163
- maxSize: new go.Size(60, 60),
3164
- imageStretch: go.GraphObject.Uniform,
3165
- }))), this.$(go.Panel, 'Vertical', {
3166
- alignment: go.Spot.Left,
3167
- alignmentFocus: new go.Spot(0, 0.5, 8, 0),
3168
- }), this.$(go.Panel, 'Vertical', {
3169
- alignment: go.Spot.Right,
3170
- alignmentFocus: new go.Spot(1, 0.5, -8, 0),
3171
- }),
3172
- // four named ports, one on each side:
3173
- this.makePort('T', go.Spot.Top, go.Spot.TopSide, false, true), this.makePort('L', go.Spot.Left, go.Spot.LeftSide, true, true), this.makePort('R', go.Spot.Right, go.Spot.RightSide, true, true), this.makePort('B', go.Spot.Bottom, go.Spot.BottomSide, true, false));
3174
- break;
3175
- case AtoGojsEditorModel.ENUM_TEMPLATES.SPECIAL_STORAGE:
3176
- node = this.$(go.Node, 'Spot', {
3177
- click: (e, obj) => {
3178
- if (obj?.data?.onSelected) {
3179
- obj?.data?.onSelected(obj?.data);
3180
- }
3181
- },
3182
- selectionChanged: (e) => {
3183
- if (!e.isSelected && e?.data?.onSelected) {
3184
- e?.data?.onSelected(null);
3185
- }
3186
- },
3187
- }, new go.Binding('location', 'loc', go.Point.parse).makeTwoWay(go.Point.stringify), this.$(go.Panel, 'Auto', { width: size.w, height: size.h }, this.$(go.Shape, 'Circle', {
3188
- fill: 'white',
3189
- stroke: '#2D3B77',
3190
- strokeWidth: 2,
3191
- // strokeDashArray: [5, 5],
3192
- }), this.$(go.Panel, 'Table', this.$(go.TextBlock, AtoGojsEditorModel.ENUM_TEMPLATES.STORAGE, {
3193
- row: 0,
3194
- margin: new go.Margin(3, 3, 10, 3),
3195
- maxSize: new go.Size(size.w - 20, NaN),
3196
- stroke: '#444444',
3197
- font: 'normal 10pt Arial',
3198
- textAlign: 'center',
3199
- }), this.$(go.Picture, icon, {
3200
- row: 1,
3201
- margin: new go.Margin(0, 0, 10, 0),
3202
- alignment: go.Spot.Center,
3203
- minSize: new go.Size(40, 40),
3204
- maxSize: new go.Size(50, 50),
3205
- imageStretch: go.GraphObject.Uniform,
3206
- }, new go.Binding('source', 'icon').makeTwoWay()))), this.$(go.Panel, 'Vertical', {
3207
- alignment: go.Spot.Left,
3208
- alignmentFocus: new go.Spot(0, 0.5, 8, 0),
3209
- }), this.$(go.Panel, 'Vertical', {
3210
- alignment: go.Spot.Right,
3211
- alignmentFocus: new go.Spot(1, 0.5, -8, 0),
3212
- }),
3213
- // four named ports, one on each side:
3214
- this.makePort('T', go.Spot.Top, go.Spot.TopSide, false, true), this.makePort('L', go.Spot.Left, go.Spot.LeftSide, true, true), this.makePort('R', go.Spot.Right, go.Spot.RightSide, true, true), this.makePort('B', go.Spot.Bottom, go.Spot.BottomSide, true, false));
3215
- break;
3216
- case AtoGojsEditorModel.ENUM_TEMPLATES.SPECIAL_STORE:
3217
- node = this.$(go.Node, 'Spot', {
3218
- click: (e, obj) => {
3219
- if (obj?.data?.onSelected) {
3220
- obj?.data?.onSelected(obj?.data);
3221
- }
3222
- },
3223
- selectionChanged: (e) => {
3224
- if (!e.isSelected && e?.data?.onSelected) {
3225
- e?.data?.onSelected(null);
3226
- }
3227
- },
3228
- }, new go.Binding('location', 'loc', go.Point.parse).makeTwoWay(go.Point.stringify), this.$(go.Panel, 'Auto', { width: size.w, height: size.h }, this.$(go.Shape, 'Circle', {
3229
- fill: 'white',
3230
- stroke: '#2D3B77',
3231
- strokeWidth: 2,
3232
- // strokeDashArray: [5, 5],
3233
- }), this.$(go.Panel, 'Table', this.$(go.TextBlock, 'Store', {
3234
- row: 0,
3235
- margin: new go.Margin(3, 3, 10, 3),
3236
- maxSize: new go.Size(size.w - 20, NaN),
3237
- stroke: '#444444',
3238
- font: 'normal 10pt Arial',
3239
- textAlign: 'center',
3240
- }), this.$(go.Picture, icon, {
3241
- row: 1,
3242
- margin: new go.Margin(0, 0, 10, 0),
3243
- alignment: go.Spot.Center,
3244
- maxSize: new go.Size(60, 60),
3245
- imageStretch: go.GraphObject.Uniform,
3246
- }))));
3247
- break;
3248
- case AtoGojsEditorModel.ENUM_TEMPLATES.SPECIAL_DISCHARGE:
3249
- node = this.$(go.Node, 'Spot', {
3250
- click: (e, obj) => {
3251
- if (obj?.data?.onSelected) {
3252
- obj?.data?.onSelected(obj?.data);
3253
- }
3254
- },
3255
- selectionChanged: (e) => {
3256
- if (!e.isSelected && e?.data?.onSelected) {
3257
- e?.data?.onSelected(null);
3258
- }
3259
- },
3260
- }, new go.Binding('location', 'loc', go.Point.parse).makeTwoWay(go.Point.stringify), this.$(go.Panel, 'Auto', { width: size.w, height: size.h }, this.$(go.Shape, 'Circle', {
3261
- fill: 'white',
3262
- stroke: '#2D3B77',
3263
- strokeWidth: 2,
3264
- // strokeDashArray: [5, 5],
3265
- }), this.$(go.Panel, 'Table', this.$(go.TextBlock, 'Discharge', {
3266
- row: 0,
3267
- margin: new go.Margin(3, 3, 10, 3),
3268
- maxSize: new go.Size(size.w - 20, NaN),
3269
- stroke: '#444444',
3270
- font: 'normal 10pt Arial',
3271
- textAlign: 'center',
3272
- }), this.$(go.Picture, icon, {
3273
- row: 1,
3274
- margin: new go.Margin(0, 0, 10, 0),
3275
- alignment: go.Spot.Center,
3276
- maxSize: new go.Size(60, 60),
3277
- imageStretch: go.GraphObject.Uniform,
3278
- }))));
3279
- break;
3280
- case AtoGojsEditorModel.ENUM_TEMPLATES.SPECIAL_OTHER:
3281
- node = this.$(go.Node, 'Spot', {
3282
- click: (e, obj) => {
3283
- if (obj?.data?.onSelected) {
3284
- obj?.data?.onSelected(obj?.data);
3285
- }
3286
- },
3287
- selectionChanged: (e) => {
3288
- if (!e.isSelected && e?.data?.onSelected) {
3289
- e?.data?.onSelected(null);
3290
- }
3291
- },
3292
- }, new go.Binding('location', 'loc', go.Point.parse).makeTwoWay(go.Point.stringify), this.$(go.Panel, 'Auto', { width: size.w, height: size.h }, this.$(go.Shape, 'Circle', {
3293
- fill: 'white',
3294
- stroke: '#2D3B77',
3295
- strokeWidth: 2,
3296
- // strokeDashArray: [5, 5],
3297
- }), this.$(go.Panel, 'Table', this.$(go.TextBlock, 'Other', {
3298
- row: 0,
3299
- margin: new go.Margin(3, 3, 10, 3),
3300
- maxSize: new go.Size(size.w - 20, NaN),
3301
- stroke: '#444444',
3302
- font: 'normal 10pt Arial',
3303
- textAlign: 'center',
3304
- }), this.$(go.Picture, icon, {
3305
- row: 1,
3306
- margin: new go.Margin(0, 0, 10, 0),
3307
- alignment: go.Spot.Center,
3308
- maxSize: new go.Size(60, 60),
3309
- imageStretch: go.GraphObject.Uniform,
3310
- }))));
3311
- break;
3312
- }
3313
- if (node) {
3314
- this.myDiagram.nodeTemplateMap.set(title, node);
3315
- }
3316
- }
3317
- startAnimation() {
3318
- const diagram = this.myDiagram;
3319
- // setTimeout(() => {
3320
- // diagram.links.each((link) => {
3321
- // });
3322
- // });
3323
- try {
3324
- this.animationInterval = setInterval(() => {
3325
- const oldskips = diagram.skipsUndoManager;
3326
- diagram.skipsUndoManager = true;
3327
- diagram.links.each((link) => {
3328
- const shape = link.findObject('PIPE');
3329
- if (!!shape) {
3330
- // const off = shape?.strokeDashOffset - 3;
3331
- const off = shape?.strokeDashOffset - 9;
3332
- // animate (move) the stroke dash
3333
- shape.strokeDashOffset = off <= 0 ? 60 : off;
3334
- }
3335
- });
3336
- diagram.skipsUndoManager = oldskips;
3337
- }, 600);
3338
- // 60
3339
- }
3340
- catch (e) { }
3341
- }
3342
- stopAnimation() {
3343
- if (this.animationInterval) {
3344
- clearInterval(this.animationInterval);
3345
- }
3346
- }
3347
- toDataURL(url, callback) {
3348
- const xhr = new XMLHttpRequest();
3349
- xhr.onload = function () {
3350
- const reader = new FileReader();
3351
- reader.onloadend = function () {
3352
- callback(reader.result);
3353
- };
3354
- reader.readAsDataURL(xhr.response);
3355
- };
3356
- xhr.open('GET', url);
3357
- xhr.responseType = 'blob';
3358
- xhr.send();
3359
- }
3360
- getBase64DiagramWithEmptyData() {
3361
- const self = this;
3362
- // Test
3363
- // const newWindow = window.open('', 'newWindow');
3364
- // if (!newWindow) {
3365
- // return;
3366
- // }
3367
- // const newDocument = newWindow?.document;
3368
- if (!this.myDiagram?.model?.nodeDataArray?.length &&
3369
- !this.myDiagram?.model?.linkDataArray?.length) {
3370
- return;
3371
- }
3372
- const svg = this.myDiagram.makeSvg({
3373
- scale: this.defaultScaleZoomToFit,
3374
- maxSize: new go.Size(1200, NaN),
3375
- background: 'white',
3376
- padding: 20,
3377
- elementFinished: function (graphObject, svgElement) {
3378
- svgElement.removeAttribute('clip-path');
3379
- // Replace Image URL to base64 -> For showing Picture element
3380
- if (graphObject instanceof go.Picture) {
3381
- self.toDataURL(svgElement.href.baseVal, function (dataUrl) {
3382
- svgElement.setAttribute('href', dataUrl);
3383
- });
3384
- }
3385
- // Make Text Node Shape Border
3386
- if (graphObject?.name === 'textNodeShape') {
3387
- svgElement.setAttribute('stroke', 'rgba(64, 181, 206, 0.6)');
3388
- }
3389
- // Empty Value
3390
- if (graphObject?.name === 'textBlockValue' ||
3391
- graphObject?.name === 'textBlockUnitPrefixes') {
3392
- svgElement.textContent = '';
3393
- }
3394
- if (svgElement.clipPath) {
3395
- svgElement.clipPath = null;
3396
- }
3397
- },
3398
- callback: (svg) => {
3399
- setTimeout(() => {
3400
- const svgStr = new XMLSerializer().serializeToString(svg);
3401
- // For Test
3402
- // newDocument?.body?.appendChild(svg);
3403
- const base64Svg = `data:image/svg+xml;base64,${window.btoa(unescape(encodeURIComponent(svgStr)))}`;
3404
- const img = new Image();
3405
- img.src = base64Svg;
3406
- const canvas = document.createElement('canvas');
3407
- // get canvas context for drawing on canvas
3408
- const context = canvas.getContext('2d');
3409
- img.onload = function () {
3410
- const svgWidth = img.width;
3411
- const svgHeight = img.height;
3412
- canvas.width = svgWidth;
3413
- canvas.height = svgHeight;
3414
- if (context) {
3415
- context.drawImage(img, 0, 0);
3416
- const base64PNG = canvas.toDataURL('image/jpeg');
3417
- self.emitImageTopology(base64PNG.replace('data:image/jpeg;base64,', ''));
3418
- }
3419
- };
3420
- }, 1000);
3421
- },
3422
- });
3423
- }
3424
- emitImageTopology(base64) {
3425
- this.callbackImageTopology.emit(base64);
3426
- }
3427
- openActionMenu() {
3428
- // When this node is clicked, adjust the menu position
3429
- const mousePt = this.myDiagram.lastInput.viewPoint;
3430
- // // When this node is clicked, display the dropdown menu
3431
- const menu = document.getElementById(this.actionMenuId);
3432
- if (menu) {
3433
- menu.style.display = '';
3434
- menu.style.position = 'absolute';
3435
- menu.style.left = mousePt.x + 'px';
3436
- menu.style.top = mousePt.y + 'px';
3437
- this.menuTrigger.openMenu();
3438
- }
3439
- }
3440
- unsubscribeAll() {
3441
- if (this._subscriptionList) {
3442
- this._subscriptionList.unsubscribe();
3443
- }
3444
- this._subscriptionList = new Subscription();
3445
- }
3446
- addSubscribes(...subscriptions) {
3447
- subscriptions.forEach((el) => {
3448
- this._subscriptionList.add(el);
3449
- });
3450
- }
3451
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: AtoDefaultGojsEditor, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
3452
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.7", type: AtoDefaultGojsEditor, inputs: { linkValidation: "linkValidation", initialOptions: "initialOptions", editor: "editor", isShowNodeInfo: "isShowNodeInfo", plantSatus: "plantSatus" }, outputs: { onModelChangeListenerEvent: "onModelChangeListenerEvent", onClickInfoButton: "onClickInfoButton", onOpenWizard: "onOpenWizard", onOpenDetail: "onOpenDetail", onOpenAssetParameter: "onOpenAssetParameter", onOpenInsightMapping: "onOpenInsightMapping", onHoverInfoButton: "onHoverInfoButton", onHoverAlert: "onHoverAlert", onDoubleClickNode: "onDoubleClickNode", onOpenChangeIcon: "onOpenChangeIcon", onClickCompoent: "onClickCompoent", callbackImageTopology: "callbackImageTopology", onClikParamOfTable: "onClikParamOfTable", onDeleteNode: "onDeleteNode", onUndo: "onUndo", onRename: "onRename" }, viewQueries: [{ propertyName: "menuTrigger", first: true, predicate: ["menuTrigger"], descendants: true }], ngImport: i0 });
3453
- }
3454
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: AtoDefaultGojsEditor, decorators: [{
3455
- type: Directive
3456
- }], ctorParameters: () => [{ type: i0.ElementRef }], propDecorators: { menuTrigger: [{
3457
- type: ViewChild,
3458
- args: ['menuTrigger']
3459
- }], linkValidation: [{
3460
- type: Input
3461
- }], initialOptions: [{
3462
- type: Input
3463
- }], editor: [{
3464
- type: Input
3465
- }], isShowNodeInfo: [{
3466
- type: Input
3467
- }], plantSatus: [{
3468
- type: Input
3469
- }], onModelChangeListenerEvent: [{
3470
- type: Output
3471
- }], onClickInfoButton: [{
3472
- type: Output
3473
- }], onOpenWizard: [{
3474
- type: Output
3475
- }], onOpenDetail: [{
3476
- type: Output
3477
- }], onOpenAssetParameter: [{
3478
- type: Output
3479
- }], onOpenInsightMapping: [{
3480
- type: Output
3481
- }], onHoverInfoButton: [{
3482
- type: Output
3483
- }], onHoverAlert: [{
3484
- type: Output
3485
- }], onDoubleClickNode: [{
3486
- type: Output
3487
- }], onOpenChangeIcon: [{
3488
- type: Output
3489
- }], onClickCompoent: [{
3490
- type: Output
3491
- }], callbackImageTopology: [{
3492
- type: Output
3493
- }], onClikParamOfTable: [{
3494
- type: Output
3495
- }], onDeleteNode: [{
3496
- type: Output
3497
- }], onUndo: [{
3498
- type: Output
3499
- }], onRename: [{
3500
- type: Output
3501
- }] } });
3502
- (function (AtoDefaultGojsEditor) {
3503
- let ENUM_ACTIONS;
3504
- (function (ENUM_ACTIONS) {
3505
- ENUM_ACTIONS["DETAILS"] = "Open details & wizard";
3506
- ENUM_ACTIONS["ONLY_DETAILS"] = "Open details";
3507
- ENUM_ACTIONS["RENAME"] = "Rename this box";
3508
- ENUM_ACTIONS["OUTFLOW"] = "Create an outflow";
3509
- ENUM_ACTIONS["DELETE"] = "Delete";
3510
- ENUM_ACTIONS["INSIGHT"] = "InSight tag mapping";
3511
- ENUM_ACTIONS["DATA_MAPPING"] = "Data Mapping";
3512
- ENUM_ACTIONS["MORE"] = "More";
3513
- ENUM_ACTIONS["FLOW_DETAILS"] = "Flow details";
3514
- ENUM_ACTIONS["FLOW_DETAILS_AND_WIZARD"] = "Flow details & wizard";
3515
- ENUM_ACTIONS["ASSET_PARAMETERS"] = "Asset parameters";
3516
- ENUM_ACTIONS["CHANGE_ICON"] = "Change icon";
3517
- })(ENUM_ACTIONS = AtoDefaultGojsEditor.ENUM_ACTIONS || (AtoDefaultGojsEditor.ENUM_ACTIONS = {}));
3518
- AtoDefaultGojsEditor.ACTIONS = {
3519
- [ENUM_ACTIONS.DETAILS]: {
3520
- name: ENUM_ACTIONS.DETAILS,
3521
- iconClassName: 'far fa-memo-circle-info',
3522
- onClick: () => { },
3523
- },
3524
- [ENUM_ACTIONS.FLOW_DETAILS]: {
3525
- name: ENUM_ACTIONS.FLOW_DETAILS,
3526
- iconClassName: 'far fa-arrow-progress',
3527
- onClick: () => { },
3528
- },
3529
- [ENUM_ACTIONS.FLOW_DETAILS_AND_WIZARD]: {
3530
- name: ENUM_ACTIONS.FLOW_DETAILS_AND_WIZARD,
3531
- iconClassName: 'far fa-arrow-progress',
3532
- onClick: () => { },
3533
- },
3534
- [ENUM_ACTIONS.ASSET_PARAMETERS]: {
3535
- name: ENUM_ACTIONS.ASSET_PARAMETERS,
3536
- iconClassName: 'far fa-box-archive',
3537
- onClick: () => { },
3538
- },
3539
- [ENUM_ACTIONS.ONLY_DETAILS]: {
3540
- name: ENUM_ACTIONS.ONLY_DETAILS,
3541
- iconClassName: 'far fa-memo-circle-info',
3542
- onClick: () => { },
3543
- },
3544
- [ENUM_ACTIONS.RENAME]: {
3545
- name: ENUM_ACTIONS.RENAME,
3546
- iconClassName: 'far fa-input-text',
3547
- onClick: () => { },
3548
- },
3549
- [ENUM_ACTIONS.OUTFLOW]: {
3550
- name: ENUM_ACTIONS.OUTFLOW,
3551
- iconClassName: 'far fa-diagram-nested',
3552
- onClick: () => { },
3553
- },
3554
- [ENUM_ACTIONS.DELETE]: {
3555
- name: ENUM_ACTIONS.DELETE,
3556
- iconClassName: 'fal fa-trash-can',
3557
- onClick: () => { },
3558
- },
3559
- [ENUM_ACTIONS.INSIGHT]: {
3560
- name: ENUM_ACTIONS.INSIGHT,
3561
- iconClassName: 'far fa-tag',
3562
- onClick: () => { },
3563
- },
3564
- [ENUM_ACTIONS.DATA_MAPPING]: {
3565
- name: ENUM_ACTIONS.DATA_MAPPING,
3566
- iconClassName: 'far fa-tag',
3567
- onClick: () => { },
3568
- },
3569
- [ENUM_ACTIONS.MORE]: {
3570
- name: ENUM_ACTIONS.MORE,
3571
- iconClassName: 'fal fa-memo-circle-info',
3572
- onClick: () => { },
3573
- },
3574
- [ENUM_ACTIONS.CHANGE_ICON]: {
3575
- name: ENUM_ACTIONS.CHANGE_ICON,
3576
- iconClassName: 'far fa-image',
3577
- onClick: () => { },
3578
- },
3579
- };
3580
- AtoDefaultGojsEditor.DISTANCE_2_OU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qc0VkaXRvck1vZGVsLkVOVU1fVEVNUExBVEVTLkJPSUxFUikge1xuICAgICAgdGhpcy5tYWtlR3JvdXBCb2lsZXJUZW1wbGF0ZShcbiAgICAgICAgQXRvR29qc0VkaXRvck1vZGVsLk5PREVfVEVNUExBVEVTW25vZGU/LnR5cGVdLmljb24sXG4gICAgICAgIEF0b0dvanNFZGl0b3JNb2RlbC5OT0RFX1RFTVBMQVRFU1tub2RlPy50eXBlXS5uYW1lXG4gICAgICApO1xuICAgICAgcmV0dXJuO1xuICAgIH1cblxuICAgIGlmIChub2RlPy50eXBlID09PSBBdG9Hb2pzRWRpdG9yTW9kZWwuRU5VTV9URU1QTEFURVMuQ09PTElOR19UT1dFUikge1xuICAgICAgdGhpcy5tYWtlR3JvdXBDb29saW5nVG93ZXJUZW1wbGF0ZShcbiAgICAgICAgQXRvR29qc0VkaXRvck1vZGVsLk5PREVfVEVNUExBVEVTW25vZGU/LnR5cGVdLmljb24sXG4gICAgICAgIEF0b0dvanNFZGl0b3JNb2RlbC5OT0RFX1RFTVBMQVRFU1tub2RlPy50eXBlXS5uYW1lXG4gICAgICApO1xuICAgICAgcmV0dXJuO1xuICAgIH1cblxuICAgIGlmIChub2RlPy50eXBlID09PSBBdG9Hb2pzRWRpdG9yTW9kZWwuRU5VTV9URU1QTEFURVMuWk9ORSkge1xuICAgICAgdGhpcy5tYWtlR3JvdXBab25lVGVtcGxhdGUoKTtcbiAgICAgIHJldHVybjtcbiAgICB9XG5cbiAgICBpZiAoXG4gICAgICBub2RlPy50eXBlID09PSBBdG9Hb2pzRWRpdG9yTW9kZWwuRU5VTV9URU1QTEFURVMuUExBTlRfQ0VMTCAmJlxuICAgICAgbm9kZT8uaXNHcm91cFxuICAgICkge1xuICAgICAgdGhpcy5ncm91cFBsYW50Q2VsbFRlbXBsYXRlKFxuICAgICAgICBBdG9Hb2pzRWRpdG9yTW9kZWwuTk9ERV9URU1QTEFURVNbbm9kZT8udHlwZV0uaWNvbixcbiAgICAgICA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cgxJHhu4MgdsSDbiBi4bqjbiBraMO0bmcgdsaw4bujdCByYSBuZ2/DoGlcbiAgICAgICAgICAgIC8vIHNlbGVjdGFibGU6IHRydWUsXG4gICAgICAgICAgICBvdmVyZmxvdzogZ28uVGV4dEJsb2NrLk92ZXJmbG93RWxsaXBzaXMsXG4gICAgICAgICAgICB0b29sVGlwOiB0aGlzLiQoXG4gICAgICAgICAgICAgICdUb29sVGlwJyxcbiAgICAgICAgICAgICAgdGhpcy4kKFxuICAgICAgICAgICAgICAgIGdvLlRleHRCbG9jayxcbiAgICAgICAgICAgICAgICB7XG4gICAgICAgICAgICAgICAgICBtYXJnaW46IDQsXG4gICAgICAgICAgICAgICAgfSxcbiAgICAgICAgICAgICAgICBuZXcgZ28uQmluZGluZygndGV4dCcsICd0ZXh0Q29tcG9uZW50JylcbiAgICAgICAgICAgICAgKVxuICAgICAgICAgICAgKSxcbiAgICAgICAgICB9LFxuICAgICAgICAgIG5ldyBnby5CaW5kaW5nKCd0ZXh0JywgJ3RleHRDb21wb25lbnQnKSxcbiAgICAgICAgICBuZXcgZ28uQmluZGluZygnYmFja2dyb3VuZCcsICd0ZXh0Q29tcG9uZW50JywgKHgpID0+XG4gICAgICAgICAgICB4ID8gJ3doaXRlJyA6ICd0cmFuc3BhcmVudCdcbiAgICAgICAgICApXG4gICAgICAgICAgLy8gICAgIG5ldyBnby5CaW5kaW5nKCdtYXJnaW4nLCAnaXNGb3JtYXQnLCAoeCkgPT5cbiAgICAgICAgICAvLyAgICAgeCA/IG5ldyBnby5NYXJnaW4oNSwgMCwgNSwgNSkgOiBuZXcgZ28uTWFyZ2luKDUsIDUsIDUsIDUpLFxuICAgICAgICAgIC8vICksXG4gICAgICAgIClcbiAgICAgIClcbiAgICApO1xuXG4gICAgLy8gYXJyb3dcbiAgICBlbGVtZW50cy5wdXNoKFxuICAgICAgdGhpcy4kKFxuICAgICAgICBnby5TaGFwZSwgLy8gdGhlIFwiZnJvbVwiIGFycm93aGVhZFxuICAgICAgICB7XG4gICAgICAgICAgLi4uQXRvR29qc0VkaXRvck1vZGVsLkxJTktfVEVNUExBVEVTW1xuICAgICAgICAgICAgQXRvR29qc0VkaXRvck1vZGVsLkVOVU1fTElOS19UWVBFUy5TSU1QTEVcbiAgICAgICAgICBdPy5hcnJvdyxcbiAgICAgICAgfSxcbiAgICAgICAgbmV3IGdvLkJpbmRpbmcoXG4gICAgICAgICAgJ3Zpc2libGUnLFxuICAgICAgICAgICd0eXBlJyxcbiAgICAgICAgICAoeCkgPT5cbiAgICAgICAgICAgICFbXG4gICAgICAgICAgICAgIEF0b0dvanNFZGl0b3JNb2RlbC5FTlVNX0xJTktfVFlQRVMuUElQRV9BTklNQVRJT04sXG4gICAgICAgICAgICAgIEF0b0dvanNFZGl0b3JNb2RlbC5FTlVNX0xJTktfVFlQRVMuUElQRSxcbiAgICAgICAgICAgICAgQXRvR29qc0VkaXRvck1vZGVsLkVOVU1fTElOS19UWVBFUy5QSVBFX0hJRERFTixcbiAgICAgICAgICAgIF0uaW5jbHVkZXMoeClcbiAgICAgICAgKSxcbiAgICAgICAgbmV3IGdvLkJpbmRpbmcoJ2ZpbGwnLCAnY29sb3InKSxcbiAgICAgICAgbmV3IGdvLkJpbmRpbmcoJ3N0cm9rZScsICdjb2xvcicpXG4gICAgICApXG4gICAgKTtcblxuICAgIC8vIFRPRE8gZml4IGxpbmsgY2Fubm90IHNlbGVjdGVkIGluc2lkZSBncm91cCB0ZW1wbGF0ZVxuICAgIHRoaXMubXlEaWFncmFtLmxpbmtUZW1wbGF0ZSA9IHRoaXMuJChcbiAgICAgIGdvLkxpbmssXG4gICAgICBnby5MaW5rLk9ydGhvZ29uYWwsXG4gICAgICB7XG4gICAgICAgIC8vIGxheWVyTmFtZTogJ0JhY2tncm91bmQnLCAvLyBsaW5rIGNhbm5vdCBzZWxlY3QgaW5zaWRlIGdyb3VwIHRlbXBsYXRlXG4gICAgICAgIC8vIGN1cnZpbmVzczogMjAsXG4gICAgICAgIC8vI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IHRoaXMuJChcbiAgICAgICAgICAgIGdvLlRleHRCbG9jayxcbiAgICAgICAgICAgIHtcbiAgICAgICAgICAgICAgcm93OiAyLFxuICAgICAgICAgICAgICBmb250OiAnYm9sZCAxNHB4IEFyaWFsJyxcbiAgICAgICAgICAgICAgdGV4dEFsaWduOiAnY2VudGVyJyxcbiAgICAgICAgICAgICAgc3Ryb2tlOiBBdG9Hb2pzRWRpdG9yTW9kZWwuRU5VTV9DT0xPUlMuQ0VSVUxFQU4sXG4gICAgICAgICAgICB9LFxuICAgICAgICAgICAgbmV3IGdvLkJpbmRpbmcoJ2VkaXRhYmxlJywgJ2lzRWRpdGFibGUnKSxcbiAgICAgICAgICAgIG5ldyBnby5CaW5kaW5nKCd0ZXh0JywgJ3Nob3J0ZW5lZE51bWJlcicpLm1ha2VUd29XYXkoKSxcbiAgICAgICAgICAgIG5ldyBnby5CaW5kaW5nKCdzdHJva2UnLCAnY29sb3InKSxcbiAgICAgICAgICAgIG5ldyBnby5CaW5kaW5nKCdtYXJnaW4nLCAnaXNGb3JtYXQnLCAoeCkgPT5cbiAgICAgICAgICAgICAgeCA/IG5ldyBnby5NYXJnaW4oNSwgMCwgNSwgNSkgOiBuZXcgZ28uTWFyZ2luKDUsIDUsIDUsIDUpXG4gICAgICAgICAgICApLFxuICAgICAgICAgICAgbmV3IGdvLkJpbmRpbmcoJ3Zpc2libGUnLCAnJywgZnVuY3Rpb24gKGRhdGEpIHtcbiAgICAgICAgICAgICAgcmV0dXJuIGRhdGEudmFsdWUgIT09IFZBTFVFX05BO1xuICAgICAgICAgICAgfSlcbiAgICAgICAgICApLFxuICAgICAgICAgIC8vIEljb24gRXJyIHdoZW4gbGFjayBvZiB2YWx1ZVxuICAgICAgICAgIHRoaXMuJChcbiAgICAgICAgICAgIGdvLlRleHRCbG9jayxcbiAgICAgICAgICAgIHtcbiAgICAgICAgICAgICAgbWFyZ2luOiBuZXcgZ28uTWFyZ2luKDEwLCAxMCwgMTAsIDEwKSxcbiAgICAgICAgICAgICAgdGV4dDogVkFMVUVfTkEsIC8vIE9sZCB2ZXJzaW9uOiBURVhUX0VSUk9SXG4gICAgICAgICAgICAgIHRleHRBbGlnbjogJ2NlbnRlcicsXG4gICAgICAgICAgICAgIGZvbnQ6ICdib2xkIDEwcHQgc2Fucy1zZXJpZicsXG4gICAgICAgICAgICAgIHN0cm9rZTogQXRvR29qc0VkaXRvck1vZGVsLkVOVU1fQ09MT1JTLlNBTE1PTixcbiAgICAgICAgICAgICAgd3JhcDogZ28uVGV4dEJsb2NrLldyYXBGaXQsXG4gICAgICAgICAgICAgIGVkaXRhYmxlOiBmYWxzZSxcbiAgICAgICAgICAgICAgaXNNdWx0aWxpbmU6IGZhbHNlLFxuICAgICAgICAgICAgfSxcbiAgICAgICAgICAgIG5ldyBnby5CaW5kaW5nKCd2aXNpYmxlJywgJycsIGZ1bmN0aW9uIChkYXRhKSB7XG4gICAgICAgICAgICAgIHJldHVybiBkYXRhLnZhbHVlID09PSBWQUxVRV9OQTtcbiAgICAgICAgICAgIH0pXG4gICAgICAgICAgKVxuICAgICAgICApXG4gICAgICApXG4gICAgKTtcbiAgICB0aGlzLm15RGlhZ3JhbS5ub2RlVGVtcGxhdGVNYXAuc2V0KFxuICAgICAgQXRvR29qc0VkaXRvck1vZGVsLkVOVU1fVEVNUExBVEVTLlZBTFVFX05PREUsXG4gICAgICBub2RlXG4gICAgKTtcbiAgfVxuXG4gIG1ha2VFbXB0eU5vZGVUZW1wbGF0ZShzaXplOiB7IHc6IG51bWJlcjsgaDogbnVtYmVyIH0gPSB7IHc6IDAsIGg6IDAgfSkge1xuICAgIGNvbnN0IG5vZGUgPSB0aGlzLiQoXG4gICAgICBnby5Ob2RlLFxuICAgICAgJ1Nwb3QnLFxuICAgICAge30sXG4gICAgICBuZXcgZ28uQmluZGluZygnbG9jYXRpb24nLCAnbG9jJywgZ28uUG9pbnQucGFyc2UpLm1ha2VUd29XYXkoXG4gICAgICAgIGdvLlBvaW50LnN0cmluZ2lmeVxuICAgICAgKVxuICAgICk7XG4gICAgdGhpcy5teURpYWdyYW0ubm9kZVRlbXBsYXRlTWFwLnNldChcbiAgICAgIEF0b0dvanNFZGl0b3JNb2RlbC5FTlVNX1RFTVBMQVRFUy5FTVBUWSxcbiAgICAgIG5vZGVcbiAgICApO1xuICB9XG5cbiAgbWFrZVZhbHVlTGFiZWxUZW1wbGF0ZShzaXplOiB7IHc6IG51bWJlcjsgaDogbnVtYmVyIH0gPSB7IHc6IDgyLCBoOiAzNiB9KSB7XG4gICAgY29uc3Qgbm9kZSA9IHRoaXMuJChcbiAgICAgIGdvLk5vZGUsXG4gICAgICAnQXV0bycsXG4gICAgICB7XG4gICAgICAgIG1vdmFibGU6IGZhbHNlLFxuICAgICAgfSxcbiAgICAgIG5ldyBnby5CaW5kaW5nKCdsb2NhdGlvbicsICdsb2MnLCBnby5Qb2ludC5wYXJzZSkubWFrZVR3b1dheShcbiAgICAgICAgZ28uUG9pbnQuc3RyaW5naWZ5XG4gICAgICApLFxuICAgICAgdGhpcy4kKFxuICAgICAgICBnby5QYW5lbCxcbiAgICAgICAgJ0F1dG8nLFxuICAgICAgICB7IG1pblNpemU6IG5ldyBnby5TaXplKHNpemUudywgc2l6ZS5oKSB9LFxuICAgICAgICB0aGlzLiQoXG4gICAgICAgICAgZ28uUGFuZWwsXG4gICAgICAgICAgJ0hvcml6b250YWwnLFxuICAgICAgICAgIHtcbiAgICAgICAgICAgIG1hcmdpbjogbmV3IGdvLk1hcmdpbigwLCAxMCwgMCwgMTApLFxuICAgICAgICAgIH0sXG4gICAgICAgICAgdGhpcy4kKFxuICAgICAgICAgICAgZ28uVGV4dEJsb2NrLFxuICAgICAgICAgICAge1xuICAgICAgICAgICAgICBtYXJnaW46IG5ldyBnby5NYXJnaW4oMCwgNSwgMTAsIDApLFxuICAgICAgICAgICAgICB0ZXh0QWxpZ246ICdjZW50ZXInLFxuICAgICAgICAgICAgICBmb250OiAnYm9sZCAxNXB4IHNhbnMtc2VyaWYnLFxuICAgICAgICAgICAgICB3cmFwOiBnby5UZXh0QmxvY2suV3JhcEZpdCxcbiAgICAgICAgICAgICAgc3Ryb2tlOiBBdG9Hb2pzRWRpdG9yTW9kZWwuRU5VTV9DT0xPUlMuQ0VSVUxFQU4sXG4gICAgICAgICAgICAgIG1pblNpemU6IG5ldyBnby5TaXplKDE1MCwgMzApLCAvLyBTZXQgdGhlIHdpZHRoIG9mIHRoZSB0ZXh0IGJsb2NrXG4gICAgICAgICAgICB9LFxuICAgICAgICAgICAgbmV3IGdvLkJpbmRpbmcoJ3N0cm9rZScsICdjb2xvcicpLFxuICAgICAgICAgICAgbmV3IGdvLkJpbmRpbmcoJ3RleHQnLCAnZGF0YScsICh4KSA9PiB7XG4gICAgICAgICAgICAgIGlmICh0eXBlb2YgeD8ucXVhbnRpdHkgIT09ICdudW1iZXInKSB7XG4gICAgICAgICAgICAgICAgcmV0dXJuICcnO1xuICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgIGNvbnN0IGZvcm1hdHRlZDogYW55ID0gVXRpbHNTZXJ2aWNlLmNvbnZlcnRQcmVmaXhlc0RhdGEoe1xuICAgICAgICAgICAgICAgIHZhbHVlOiB4Py5xdWFudGl0eSxcbiAgICAgICAgICAgICAgICB1bml0OiBVdGlsc1NlcnZpY2UuY29udmVydFNwZWNpYWxVbml0KHg/LnVuaXQpLFxuICAgICAgICAgICAgICB9KTtcblxuICAgICAgICAgICAgICBsZXQgcmV0VmFsdWUgPVxuICAgICAgICAgICAgICAgIGZvcm1hdHRlZC5zaG9ydGVuZWROdW1iZXIgK1xuICAgICAgICAgICAgICAgICAgJyAnICtcbiAgICAgICAgICAgICAgICAgIGZvcm1hdHRlZC51bml0UHJlZml4ZXMgK1xuICAgICAgICAgICAgICAgICAgVXRpbHNTZXJ2aWNlLmNvbnZlcnRTcGVjaWFsVW5pdCh4Py51bml0KSA/PyAnJztcbiAgICAgICAgICAgICAgaWYgKHg/LnBlcmNlbnQpIHtcbiAgICAgICAgICAgICAgICByZXRWYWx1ZSArPSBgICgke3g/LnBlcmNlbnR9JSlgO1xuICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgIHJldHVybiByZXRWYWx1ZTtcbiAgICAgICAgICAgIH0pLFxuICAgICAgICAgICAgbmV3IGdvLkJpbmRpbmcoXG4gICAgICAgICAgICAgICd2aXNpYmxlJyxcbiAgICAgICAgICAgICAgJ2RhdGEnLFxuICAgICAgICAgICAgICAoeCkgPT4gdHlwZW9mIHg/LnF1YW50aXR5ID09PSAnbnVtYmVyJ1xuICAgICAgICAgICAgKVxuICAgICAgICAgIClcbiAgICAgICAgKVxuICAgICAgKVxuICAgICk7XG4gICAgdGhpcy5teURpYWdyYW0ubm9kZVRlbXBsYXRlTWFwLnNldChcbiAgICAgIEF0b0dvanNFZGl0b3JNb2RlbC5FTlVNX1RFTVBMQVRFUy5WQUxVRV9MQUJFTCxcbiAgICAgIG5vZGVcbiAgICApO1xuICB9XG5cbiAgbWFrZVRleHRMYWJlbFRlbXBsYXRlKHNpemU6IHsgdzogbnVtYmVyOyBoOiBudW1iZXIgfSA9IHsgdzogTmFOLCBoOiAyMCB9KSB7XG4gICAgY29uc3Qgbm9kZSA9IHRoaXMuJChcbiAgICAgIGdvLk5vZGUsXG4gICAgICAnQXV0bycsXG4gICAgICB7XG4gICAgICAgIG1vdmFibGU6IGZhbHNlLFxuICAgICAgICBpc1NlbGVjdGVkOiBmYWxzZSxcbiAgICAgIH0sXG4gICAgICBuZXcgZ28uQmluZGluZygnbG9jYXRpb24nLCAnbG9jJywgZ28uUG9pbnQucGFyc2UpLm1ha2VUd29XYXkoXG4gICAgICAgIGdvLlBvaW50LnN0cmluZ2lmeVxuICAgICAgKSxcbiAgICAgIHRoaXMuJChcbiAgICAgICAgZ28uUGFuZWwsXG4gICAgICAgICdBdXRvJyxcbiAgICAgICAgdGhpcy4kKFxuICAgICAgICAgIGdvLlBhbmVsLFxuICAgICAgICAgICdIb3Jpem9udGFsJyxcblxuICAgICAgICAgIHRoaXMuJChcbiAgICAgICAgICAgIGdvLlRleHRCbG9jayxcbiAgICAgICAgICAgIHtcbiAgICAgICAgICAgICAgbWFyZ2luOiBuZXcgZ28uTWFyZ2luKDAsIDUsIDEwLCAwKSxcbiAgICAgICAgICAgICAgdGV4dEFsaWduOiAnY2VudGVyJyxcbiAgICAgICAgICAgICAgZm9udDogJ2JvbGQgMTZweCBBcmlhbCcsXG4gICAgICAgICAgICAgIHdyYXA6IGdvLlRleHRCbG9jay5XcmFwRml0LFxuICAgICAgICAgICAgICBzdHJva2U6IEF0b0dvanNFZGl0b3JNb2RlbC5FTlVNX0NPTE9SUy5DRVJVTEVBTixcbiAgICAgICAgICAgIH0sXG4gICAgICAgICAgICBuZXcgZ28uQmluZGluZygnc3Ryb2tlJywgJ2NvbG9yJyksXG4gICAgICAgICAgICBuZXcgZ28uQmluZGluZygndGV4dCcsICduYW1lJyksXG4gICAgICAgICAgICBuZXcgZ28uQmluZGluZygndmlzaWJsZScsICd2aXNpYmxlJylcbiAgICAgICAgICApXG4gICAgICAgIClcbiAgICAgIClcbiAgICApO1xuICAgIHRoaXMubXlEaWFncmFtLm5vZGVUZW1wbGF0ZU1hcC5zZXQoXG4gICAgICBBdG9Hb2pzRWRpdG9yTW9kZWwuRU5VTV9URU1QTEFURVMuVEVYVF9MQUJFTCxcbiAgICAgIG5vZGVcbiAgICApO1xuICB9XG5cbiAgbWFrZVRleHRUZW1wbGF0ZShcbiAgICBzaXplOiB7IHc6IG51bWJlcjsgaDogbnVtYmVyIH0gPSB7XG4gICAgICB3OiBBdG9Hb2pzRWRpdG9yTW9kZWwuR1JJRF9TSVpFICogNSxcbiAgICAgIGg6IEF0b0dvanNFZGl0b3JNb2RlbC5HUklEX1NJWkUgKiAyLFxuICAgIH1cbiAgKSB7XG4gICAgY29uc3Qgc2VsZiA9IHRoaXM7XG4gICAgY29uc3QgY29udGV4dE1lbnUgPSB0aGlzLiQoXG4gICAgICBnby5BZG9ybm1lbnQsXG4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Ly8gICAgIGlmICgob2JqIGFzIGFueSkucGFydD8ub2I/LnZhbHVlID09PSBWQUxVRV9OQSkge1xuICAgICAgICAvLyAgICAgICAgIHNlbGYub25Ib3ZlckluZm9CdXR0b24uZW1pdCh7XG4gICAgICAgIC8vICAgICAgICAgICAgIGxlZnQ6IGU/LlsnV3InXT8ueCArIDgsXG4gICAgICAgIC8vICAgICAgICAgICAgIHRvcDogZT8uWydXciddPy55LFxuICAgICAgICAvLyAgICAgICAgICAgICBub2RlOiBub2RlLFxuICAgICAgICAvLyAgICAgICAgIH0pO1xuICAgICAgICAvLyAgICAgfVxuICAgICAgICAvLyB9LFxuICAgICAgICAvLyBtb3VzZUxlYXZlOiAoZSwgb2JqKSA9PiB7XG4gICAgICAgIC8vICAgICBpZiAoKG9iaiBhcyBhbnkpLnBhcnQ/Lm9iPy52YWx1ZSA9PT0gVkFMVUVfTkEpIHtcbiAgICAgICAgLy8gICAgICAgICBzZWxmLm9uSG92ZXJJbmZvQnV0dG9uLmVtaXQobnVsbCk7XG4gICAgICAgIC8vICAgICB9XG4gICAgICAgIC8vIH0sXG4gICAgICAgIGNsaWNrOiAoZSwgb2JqOiBhbnkpID0+IHtcbiAgICAgICAgICBjb25zdCBub2RlID0gb2JqLnBhcnQ7XG4gICAgICAgICAgaWYgKG5vZGU/Lm9iPy5pc1R5cGVJbmZsb3dPZlBsYW50Q2VsbCkge1xuICAgICAgICAgICAgLy8gb2JqPy5kYXRhPy5vblNlbGVjdGVkKG5vZGU/Lm9iPy5ub2RlUGxhbnRDZWxsUGFyZW50KTtcbiAgICAgICAgICAgIC8vIHNlbGYub25DbGlja0NvbXBvZW50LmVtaXQoe1xuICAgICAgICAgICAgLy8gICAgIGxlZnQ6IGU/LlsnV3InXT8ueCxcbiAgICAgICAgICAgIC8vICAgICB0b3A6IGU/LlsnV3InXT8ueSxcbiAgICAgICAgICAgIC8vICAgICBub2RlOiB7XG4gICAgICAgICAgICAvLyAgICAgICAgIG9iOiBub2RlPy5vYj8ubm9kZVBsYW50Q2VsbFBhcmVudCxcbiAgICAgICAgICAgIC8vICAgICB9LFxuICAgICAgICAgICAgLy8gICAgIGNvbXBvbmVudDogbm9kZT8ub2I/Lm5vZGVQbGFudENlbGxQYXJlbnQsXG4gICAgICAgICAgICAvLyB9KTtcbiAgICAgICAgICAgIHJldHVybjtcbiAgICAgICAgICB9XG4gICAgICAgICAgaWYgKHRoaXMuX2luaXRpYWxPcHRpb25zPy5pc1JlYWRPbmx5KSB7XG4gICAgICAgICAgICB0aGlzLmlzU2hvd05vZGVJbmZvXG4gICAgICAgICAgICAgID8gc2VsZi5vbkNsaWNrSW5mb0J1dHRvbi5lbWl0KHtcbiAgICAgICAgICAgICAgICAgIGxlZnQ6IGU/LlsnV3InXT8ueCxcbiAgICAgICAgICAgICAgICAgIHRvcDogZT8uWydXciddPy55LFxuICAgICAgICAgICAgICAgICAgbm9kZTogbm9kZSxcbiAgICAgICAgICAgICAgICB9KVxuICAgICAgICAgICAgICA6IG51bGw7XG4gICAgICAgICAgfVxuICAgICAgICB9LFxuICAgICAgICBkb3VibGVDbGljazogKGUsIG9iajogYW55KSA9PiB7XG4gICAgICAgICAgY29uc3Qgbm9kZSA9IG9iai5wYXJ0O1xuICAgICAgICAgIGlmIChcbiAgICAgICAgICAgIG5vZGU/Lm9iPy5pc1R5cGVJbmZsb3dPZlBsYW50Q2VsbCAmJlxuICAgICAgICAgICAgIXRoaXMuX2luaXRpYWxPcHRpb25zPy5pc1JlYWRPbmx5XG4gICAgICAgICAgKSB7XG4gICAgICAgICAgICAvLyBvYmo/LmRhdGE/Lm9uU2VsZWN0ZWQobm9kZT8ub2I/Lm5vZGVQbGFudENlbGxQYXJlbnQpO1xuICAgICAgICAgICAgLy8gdGhpcy5pc1Nob3dOb2RlSW5mb1xuICAgICAgICAgICAgLy8gICAgID8gc2VsZi5vbkRvdWJsZUNsaWNrTm9kZS5lbWl0KHtcbiAgICAgICAgICAgIC8vICAgICAgICAgICBsZWZ0OiBlPy5bJ1dyJ10/LngsXG4gICAgICAgICAgICAvLyAgICAgICAgICAgdG9wOiBlPy5bJ1dyJ10/LnksXG4gICAgICAgICAgICAvLyAgICAgICAgICAgbm9kZToge1xuICAgICAgICAgICAgLy8gICAgICAgICAgICAgICBvYjogbm9kZT8ub2I/Lm5vZGVQbGFudENlbGxQYXJlbnQsXG4gICAgICAgICAgICAvLyAgICAgICAgICAgfSxcbiAgICAgICAgICAgIC8vICAgICAgIH0pXG4gICAgICAgICAgICAvLyAgICAgOiBudWxsO1xuICAgICAgICAgICAgcmV0dXJuO1xuICAgICAgICAgIH1cbiAgICAgICAgICBpZiAoIXRoaXMuX2luaXRpYWxPcHRpb25zPy5pc1JlYWRPbmx5KSB7XG4gICAgICAgICAgICB0aGlzLmlzU2hvd05vZGVJbmZvXG4gICAgICAgICAgICAgID8gc2VsZi5vbkNsaWNrSW5mb0J1dHRvbi5lbWl0KHtcbiAgICAgICAgICAgICAgICAgIGxlZnQ6IGU/LlsnV3InXT8ueCxcbiAgICAgICAgICAgICAgICAgIHRvcDogZT8uWydXciddPy55LFxuICAgICAgICAgICAgICAgICAgbm9kZTogbm9kZSxcbiAgICAgICAgICAgICAgICB9KVxuICAgICAgICAgICAgICA6IG51bGw7XG4gICAgICAgICAgfVxuICAgICAgICB9LFxuICAgICAgICBzZWxlY3Rpb25BZG9ybm1lbnRUZW1wbGF0ZTogdGhpcy4kKFxuICAgICAgICAgIGdvLkFkb3JubWVudCxcbiAgICAgICAgICAnU3BvdCcsXG4gICAgICAgICAgdGhpcy4kKFxuICAgICAgICAgICAgZ28uUGFuZWwsXG4gICAgICAgICAgICAnQXV0bycsXG4gICAgICAgICAgICAvLyB7IGhlaWdodDogNjIgfSxcbiAgICAgICAgICAgIHRoaXMuJChnby5TaGFwZSwge1xuICAgICAgICAgICAgICBmaWxsOiBudWxsLFxuICAgICAgICAgICAgICBzdHJva2U6ICdkb2RnZXJibHVlJyxcbiAgICAgICAgICAgICAgc3Ryb2tlV2lkdGg6IDQsXG4gICAgICAgICAgICB9KSxcbiAgICAgICAgICAgIHRoaXMuJChcbiAgICAgICAgICAgICAgZ28uUGxhY2Vob2xkZXIsXG4gICAgICAgICAgICAgIC8vIHsgcGFkZGluZzogbmV3IGdvLk1hcmdpbig4LCAzLCAwLCAzKSB9LFxuICAgICAgICAgICAgICBuZXcgZ28uQmluZGluZygncGFkZGluZycsICcnLCAoeCkgPT4ge1xuICAgICAgICAgICAgICAgIHJldHVybiB4Py5pc1R5cGVJbmZsb3dPZlBsYW50Q2VsbFxuICAgICAgICAgICAgICAgICAgPyB4Py5mbG93T2ZQbGFudENlbGwgPT09IEFUT19FTlVNX0ZMT1dfRElSRUNUSU9OLklORkxPV1xuICAgICAgICAgICAgICAgICAgICA/IG5ldyBnby5NYXJnaW4oMCwgMCwgMCwgMjApXG4gICAgICAgICAgICAgICAgICAgIDogbmV3IGdvLk1hcmdpbigwLCAyMCwgMCwgMClcbiAgICAgICAgICAgICAgICAgIDogbnVsbDtcbiAgICAgICAgICAgICAgfSlcbiAgICAgICAgICAgICksXG4gICAgICAgICAgICAvLyB0aGlzLiQoZ28uUGxhY2Vob2xkZXIsIHsgcGFkZGluZzogMyB9KSxcbiAgICAgICAgICAgIG5ldyBnby5CaW5kaW5nKCdoZWlnaHQnLCAnJywgKHgpID0+IHtcbiAgICAgICAgICAgICAgcmV0dXJuIHg/LmlzVHlwZUluZmxvd09mUGxhbnRDZWxsID8geD8uaGVpZ2h0ICsgMTAgOiBudWxsO1xuICAgICAgICAgICAgfSksXG4gICAgICAgICAgICBuZXcgZ28uQmluZGluZygnd2lkdGgnLCAnJywgKHgpID0+IHtcbiAgICAgICAgICAgICAgcmV0dXJuIHg/LmlzVHlwZUluZmxvd09mUGxhbnRDZWxsID8geD8ud2lkdGggKyAxMiA6IG51bGw7XG4gICAgICAgICAgICB9KVxuICAgICAgICAgICksXG4gICAgICAgICAgdGhpcy4kKFxuICAgICAgICAgICAgZ28uUGFuZWwsXG4gICAgICAgICAgICAnSG9yaXpvbnRhbCcsXG4gICAgICAgICAgICB7IGFsaWdubWVudDogZ28uU3BvdC5Ub3BSaWdodCwgYWxpZ25tZW50Rm9jdXM6IGdvLlNwb3QuQm90dG9tIH0sXG4gICAgICAgICAgICAvLyBtb3JlXG4gICAgICAgICAgICAhdGhpcy5faW5pdGlhbE9wdGlvbnMuaXNSZWFkT25seVxuICAgICAgICAgICAgICA/IHRoaXMuZ2VuZXJhdGVBY3Rpb25Hcm91cChbXG4gICAgICAgICAgICAgICAgICBBdG9EZWZhdWx0R29qc0VkaXRvci5FTlVNX0FDVElPTlMuUkVOQU1FLFxuICAgICAgICAgICAgICAgICAgQXRvRGVmYXVsdEdvanNFZGl0b3IuRU5VTV9BQ1RJT05TLklOU0lHSFQsXG4gICAgICAgICAgICAgICAgICBBdG9EZWZhdWx0R29qc0VkaXRvci5FTlVNX0FDVElPTlMuT1VURkxPVyxcbiAgICAgICAgICAgICAgICAgIEF0b0RlZmF1bHRHb2pzRWRpdG9yLkVOVU1fQUNUSU9OUy5ERUxFVEUsXG4gICAgICAgICAgICAgICAgXSlcbiAgICAgICAgICAgICAgOiB7fVxuICAgICAgICAgIClcbiAgICAgICAgKSxcbiAgICAgIH0sXG4gICAgICBuZXcgZ28uQmluZGluZygndmlzaWJsZScsICd2aXNpYmxlJyksXG4gICAgICBuZXcgZ28uQmluZGluZygnZnJvbVNwb3QnLCAnZnJvbVNwb3QnKSxcbiAgICAgIG5ldyBnby5CaW5kaW5nKCd0b1Nwb3QnLCAndG9TcG90JyksXG4gICAgICBuZXcgZ28uQmluZGluZygnbW92YWJsZScsICdtb3ZhYmxlJyksXG4gICAgICBuZXcgZ28uQmluZGluZygnc2VsZWN0YWJsZScsICdzZWxlY3RhYmxlJyksXG4gICAgICBuZXcgZ28uQmluZGluZygnbG9jYXRpb24nLCAnbG9jJywgZ28uUG9pbnQucGFyc2UpLm1ha2VUd29XYXkoXG4gICAgICAgIGdvLlBvaW50LnN0cmluZ2lmeVxuICAgICAgKSxcbiAgICAgIC8vIG5ldyBnby5CaW5kaW5nKCdhbGlnbm1lbnQnLCAnYWxpZ25tZW50JywgZnVuY3Rpb24obG9jKSB7XG4gICAgICAvLyAgICAgcmV0dXJuIG5ldyBnby5TcG90KDAsIDAsIGxvYy54LCAwKTtcbiAgICAgIC8vIH0pLm9mT2JqZWN0KCksXG5cbiAgICAgIHRoaXMuJChcbiAgICAgICAgZ28uUGFuZWwsXG4gICAgICAgICdBdXRvJyxcbiAgICAgICAge1xuICAgICAgICAgIHRvb2xUaXA6IHRoaXMuJChcbiAgICAgICAgICAgICdUb29sVGlwJyxcbiAgICAgICAgICAgIHRoaXMuJChcbiAgICAgICAgICAgICAgZ28uVGV4dEJsb2NrLFxuICAgICAgICAgICAgICB7XG4gICAgICAgICAgICAgICAgbWFyZ2luOiAyLFxuICAgICAgICAgICAgICB9LFxuICAgICAgICAgICAgICBuZXcgZ28uQmluZGluZygndGV4dCcsICcnLCBmdW5jdGlvbiAoZGF0YSkge1xuICAgICAgICAgICAgICAgIGlmICghc2VsZi5faW5pdGlhbE9wdGlvbnMuaXNSZWFkT25seSkge1xuICAgICAgICAgICAgICAgICAgcmV0dXJuIGRhdGE/Lm5hbWUgPz8gVkFMVUVfTkE7XG4gICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgIGlmIChkYXRhPy52YWx1ZSA9PT0gVkFMVUVfTkEgfHwgXy5pc05pbChkYXRhPy52YWx1ZSkpIHtcbiAgICAgICAgICAgICAgICAgIHJldHVybiBOT19EQVRBO1xuICAgICAgICAgICAgICAgICAgLy8gcmV0dXJuIFRFWFRfVU5LTk9XTjtcbiAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgcmV0dXJuIF8ucm91bmQoZGF0YT8udmFsdWUsIDIpLnRvRml4ZWQoMik7XG4gICAgICAgICAgICAgIH0pLm1ha2VUd29XYXkoKVxuICAgICAgICAgICAgKVxuICAgICAgICAgICksXG4gICAgICAgIH0sXG4gICAgICAgIHRoaXMuJChcbiAgICAgICAgICBnby5QYW5lbCxcbiAgICAgICAgICAnVGFibGUnLFxuICAgICAgICAgIHRoaXMuYXJyb3dGb3JQbGFudENlbGwoc2l6ZSwgQVRPX0VOVU1fRkxPV19ESVJFQ1RJT04uT1VURkxPVyksXG4gICAgICAgICAgdGhpcy4kKFxuICAgICAgICAgICAgZ28uUGFuZWwsXG4gICAgICAgICAgICAnQXV0bycsXG4gICAgICAgICAgICAvLyB7IHdpZHRoOiBzaXplLncsIGhlaWdodDogc2l6ZS5oIH0sXG4gICAgICAgICAgICB7XG4gICAgICAgICAgICAgIC8vIG1pblNpemU6IG5ldyBnby5TaXplKHNpemUudywgc2l6ZS5oKSxcbiAgICAgICAgICAgICAgLy8gbWF4U2l6ZTogbmV3IGdvLlNpemUoc2l6ZS53LCBzaXplLmgpLFxuICAgICAgICAgICAgICBkZXNpcmVkU2l6ZTogbmV3IGdvLlNpemUoc2l6ZS53LCBzaXplLmgpLFxuICAgICAgICAgICAgICBjb2x1bW46IDEsXG4gICAgICAgICAgICAgIHJvdzogMixcbiAgICAgICAgICAgIH0sXG4gICAgICAgICAgICBuZXcgZ28uQmluZGluZygnd2lkdGgnLCAnd2lkdGgnKSxcbiAgICAgICAgICAgIG5ldyBnby5CaW5kaW5nKCdoZWlnaHQnLCAnaGVpZ2h0JyksXG5cbiAgICAgICAgICAgIHRoaXMuJChcbiAgICAgICAgICAgICAgZ28uU2hhcGUsXG4gICAgICAgICAgICAgICdSb3VuZGVkUmVjdGFuZ2xlJyxcbiAgICAgICAgICAgICAge1xuICAgICAgICAgICAgICAgIGZpbGw6IEF0b0dvanNFZGl0b3JNb2RlbC5FTlVNX0NPTE9SUy5MSUdIVF9CTFVFLFxuICAgICAgICAgICAgICAgIHN0cm9rZTogQXRvR29qc0VkaXRvck1vZGVsLkVOVU1fQ09MT1JTLkxJTktfV0FURVIsXG4gICAgICAgICAgICAgICAgbmFtZTogJ3RleHROb2RlU2hhcGUnLFxuICAgICAgICAgICAgICB9LFxuICAgICAgICAgICAgICBuZXcgZ28uQmluZGluZygnZmlsbCcsICdmaWxsJyksXG4gICAgICAgICAgICAgIG5ldyBnby5CaW5kaW5nKCdzdHJva2UnLCAnc3Ryb2tlJylcbiAgICAgICAgICAgICksXG4gICAgICAgICAgICB0aGlzLiQoXG4gICAgICAgICAgICAgIGdvLlBhbmVsLFxuICAgICAgICAgICAgICAnVmVydGljYWwnLFxuICAgICAgICAgICAgICB0aGlzLiQoXG4gICAgICAgICAgICAgICAgZ28uUGFuZWwsXG4gICAgICAgICAgICAgICAgJ0hvcml6b250YWwnLFxuICAgICAgICAgICAgICAgIHsgYWxpZ25tZW50OiBnby5TcG90LkNlbnRlciB9LFxuICAgICAgICAgICAgICAgIC8vIEFsZXJ0XG5cbiAgICAgICAgICAgICAgICB0aGlzLiQoXG4gICAgICAgICAgICAgICAgICBnby5QYW5lbCxcbiAgICAgICAgICAgICAgICAgICdBdXRvJyxcbiAgICAgICAgICAgICAgICAgIHtcbiAgICAgICAgICAgICAgICAgICAgbWFyZ2luOiBuZXcgZ28uTWFyZ2luKDAsIDAsIDAsIDUpLFxuICAgICAgICAgICAgICAgICAgICB2aXNpYmxlOiBmYWxzZSxcbiAgICAgICAgICAgICAgICAgIH0sXG4gICAgICAgICAgICAgICAgICBuZXcgZ28uQmluZGluZygndmlzaWJsZScsICdyZWNvbW1lbmRhdGlvbicpLFxuICAgICAgICAgICAgICAgICAgdGhpcy4kKGdvLlNoYXBlLCAnQ2lyY2xlJywge1xuICAgICAgICAgICAgICAgICAgICBmaWxsOiAnI0U5NUY0NycsXG4gICAgICAgICAgICAgICAgICAgIHN0cm9rZTogJyNFOTVGNDcnLFxuICAgICAgICAgICAgICAgICAgICB3aWR0aDogMTUsXG4gICAgICAgICAgICAgICAgICAgIGhlaWdodDogMTUsXG4gICAgICAgICAgICAgICAgICB9KSxcbiAgICAgICAgICAgICAgICAgIHRoaXMuJChnby5UZXh0QmxvY2ssIHtcbiAgICAgICAgICAgICAgICAgICAgdGV4dDogJ1xcdWY2NDknLFxuICAgICAgICAgICAgICAgICAgICBtYXJnaW46IG5ldyBnby5NYXJnaW4oMS41LCAwLCAwLCAwKSxcbiAgICAgICAgICAgICAgICAgICAgZm9udDogJzhweCBcIkZvbnQgQXdlc29tZSA2IFByb1wiJyxcbiAgICAgICAgICAgICAgICAgICAgc3Ryb2tlOiAnI2ZmZicsXG4gICAgICAgICAgICAgICAgICB9KVxuICAgICAgICAgICAgICAgICksXG4gICAgICAgICAgICAgICAgdGhpcy5faW5pdGlhbE9wdGlvbnMuaXNSZWFkT25seVxuICAgICAgICAgICAgICAgICAgPyB0aGlzLiQoXG4gICAgICAgICAgICAgICAgICAgICAgZ28uUGFuZWwsXG4gICAgICAgICAgICAgICAgICAgICAgJ1Bvc2l0aW9uJyxcbiAgICAgICAgICAgICAgICAgICAgICB7XG4gICAgICAgICAgICAgICAgICAgICAgICB3aWR0aDogMTgsXG4gICAgICAgICAgICAgICAgICAgICAgICBoZWlnaHQ6IDE1LFxuICAgICAgICAgICAgICAgICAgICAgICAgdmlzaWJsZTogZmFsc2UsXG4gICAgICAgICAgICAgICAgICAgICAgICBhbGlnbm1lbnQ6IGdvLlNwb3QuQ2VudGVyLFxuICAgICAgICAgICAgICAgICAgICAgICAgbWFyZ2luOiBuZXcgZ28uTWFyZ2luKDAsIDAsIDAsIDUpLFxuICAgICAgICAgICAgICAgICAgICAgICAgbW91c2VFbnRlcjogKGUsIG9iaikgPT4ge1xuICAgICAgICAgICAgICAgICAgICAgICAgICBzZWxmLm9uSG92ZXJBbGVydC5lbWl0KHtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBsZWZ0OiBlPy5bJ1dyJ10/LnggKyA4LFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIHRvcDogZT8uWydXciddPy55LFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIG1lc3NhZ2VBbGVydDogKG9iaiBhcyBhbnkpLnBhcnQ/Lm9iPy5tZXNzYWdlQWxlcnQsXG4gICAgICAgICAgICAgICAgICAgICAgICAgIH0pO1xuICAgICAgICAgICAgICAgICAgICAgICAgfSxcbiAgICAgICAgICAgICAgICAgICAgICAgIG1vdXNlTGVhdmU6IChlLCBvYmopID0+IHtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgc2VsZi5vbkhvdmVyQWxlcnQuZW1pdChudWxsKTtcbiAgICAgICAgICAgICAgICAgICAgICAgIH0sXG4gICAgICAgICAgICAgICAgICAgICAgfSxcbiAgICAgICAgICAgICAgICAgICAgICBuZXcgZ28uQmluZGluZygndmlzaWJsZScsICdhbGVydCcpLFxuXG4gICAgICAgICAgICAgICAgICAgICAgdGhpcy4kKGdvLlBpY3R1cmUsIElDT05fQUxFUlQsIHtcbiAgICAgICAgICAgICAgICAgICAgICAgIGFsaWdubWVudDogZ28uU3BvdC5DZW50ZXIsXG4gICAgICAgICAgICAgICAgICAgICAgICBtYXhTaXplOiBuZXcgZ28uU2l6ZSgzMCwgMzApLFxuICAgICAgICAgICAgICAgICAgICAgICAgaW1hZ2VTdHJldGNoOiBnby5HcmFwaE9iamVjdC5Vbmlmb3JtLFxuICAgICAgICAgICAgICAgICAgICAgIH0pXG4gICAgICAgICAgICAgICAgICAgIClcbiAgICAgICAgICAgICAgICAgIDoge31cbiAgICAgICAgICAgICAgKSxcblxuICAgICAgICAgICAgICB0aGlzLiQoXG4gICAgICAgICAgICAgICAgZ28uUGFuZWwsXG4gICAgICAgICAgICAgICAgJ0F1dG8nLFxuICAgICAgICAgICAgICAgIHRoaXMuJChcbiAgICAgICAgICAgICAgICAgIGdvLlRleHRCbG9jayxcbiAgICAgICAgICAgICAgICAgIHtcbiAgICAgICAgICAgICAgICAgICAgbmFtZTogJ3RleHRCbG9ja1ZhbHVlJyxcbiAgICAgICAgICAgICAgICAgICAgcm93OiAyLFxuICAgICAgICAgICAgICAgICAgICBlZGl0YWJsZTogZmFsc2UsXG4gICAgICAgICAgICAgICAgICAgIGRlc2lyZWRTaXplOiBuZXcgZ28uU2l6ZShzaXplLncgLSA4LCAxOCksXG4gICAgICAgICAgICAgICAgICAgIGZvbnQ6ICdib2xkIDIycHggQXJpYWwnLFxuICAgICAgICAgICAgICAgICAgICB0ZXh0QWxpZ246ICdjZW50ZXInLFxuICAgICAgICAgICAgICAgICAgICBzdHJva2U6IEF0b0dvanNFZGl0b3JNb2RlbC5FTlVNX0NPTE9SUy5HUkFZLFxuICAgICAgICAgICAgICAgICAgICBvdmVyZmxvdzogZ28uVGV4dEJsb2NrLk92ZXJmbG93RWxsaXBzaXMsXG4gICAgICAgICAgICAgICAgICB9LFxuICAgICAgICAgICAgICAgICAgLy8gbmV3IGdvLkJpbmRpbmcoJ2VkaXRhYmxlJywgJ2lzRWRpdGFibGUnKSxcbiAgICAgICAgICAgICAgICAgIG5ldyBnby5CaW5kaW5nKCdhbmdsZScsICdhbmdsZScpLFxuICAgICAgICAgICAgICAgICAgbmV3IGdvLkJpbmRpbmcoJ21hcmdpbicsICcnLCAoZGF0YSkgPT4ge1xuICAgICAgICAgICAgICAgICAgICBpZiAoZGF0YT8uYWxlcnQpIHtcbiAgICAgICAgICAgICAgICAgICAgICByZXR1cm4gbmV3IGdvLk1hcmdpbigwLCAwLCAwLCAwKTtcbiAgICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgICAgICByZXR1cm4gbmV3IGdvLk1hcmdpbigwLCAwLCAwLCAwKTtcbiAgICAgICAgICAgICAgICAgIH0pLFxuICAgICAgICAgICAgICAgICAgbmV3IGdvLkJpbmRpbmcoJ3N0cm9rZScsICdjb2xvcicpLFxuICAgICAgICAgICAgICAgICAgbmV3IGdvLkJpbmRpbmcoJ3RleHQnLCAnJywgZnVuY3Rpb24gKGRhdGEpIHtcbiAgICAgICAgICAgICAgICAgICAgcmV0dXJuIHNlbGYuZ2V0VGV4dERhdGFCb3goZGF0YSk7XG4gICAgICAgICAgICAgICAgICB9KS5tYWtlVHdvV2F5KCksXG4gICAgICAgICAgICAgICAgIC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YmIGU/LmRhdGE/Lm9uU2VsZWN0ZWQpIHtcbiAgICAgICAgICAgIGU/LmRhdGE/Lm9uU2VsZWN0ZWQobnVsbCk7XG4gICAgICAgICAgfVxuICAgICAgICB9LFxuICAgICAgfSxcblxuICAgICAgbmV3IGdvLkJpbmRpbmcoJ2xvY2F0aW9uJywgJ2xvYycsIGdvLlBvaW50LnBhcnNlKS5tYWtlVHdvV2F5KFxuICAgICAgICBnby5Qb2ludC5zdHJpbmdpZnlcbiAgICAgICksXG4gICAgICB0aGlzLiQoXG4gICAgICAgIGdvLlBhbmVsLFxuICAgICAgICAnQXV0bycsXG4gICAgICAgIHRoaXMuJChcbiAgICAgICAgICBnby5QYW5lbCxcbiAgICAgICAgICAnVGFibGUnLFxuICAgICAgICAgIHtcbiAgICAgICAgICAgIG1vdXNlSG92ZXI6IChlLCBvYmopID0+IHtcbiAgICAgICAgICAgICAgaWYgKChvYmogYXMgYW55KS5wYXJ0Py5vYj8udmFsdWUgPT09IFZBTFVFX05BKSB7XG4gICAgICAgICAgICAgICAgc2VsZi5vbkhvdmVySW5mb0J1dHRvbi5lbWl0KHtcbiAgICAgICAgICAgICAgICAgIGxlZnQ6IGU/LlsnV3InXT8ueCArIDgsXG4gICAgICAgICAgICAgICAgICB0b3A6IGU/LlsnV3InXT8ueSxcbiAgICAgICAgICAgICAgICAgIG5vZGU6IG5vZGUsXG4gICAgICAgICAgICAgICAgfSk7XG4gICAgICAgICAgICAgIH1cbiAgICAgICAgICAgIH0sXG4gICAgICAgICAgICBtb3VzZUxlYXZlOiAoZSwgb2JqKSA9PiB7XG4gICAgICAgICAgICAgIGlmICgob2JqIGFzIGFueSkucGFydD8ub2I/LnZhbHVlID09PSBWQUxVRV9OQSkge1xuICAgICAgICAgICAgICAgIHNlbGYub25Ib3ZlckluZm9CdXR0b24uZW1pdChudWxsKTtcbiAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgfSxcbiAgICAgICAgICB9LFxuXG4gICAgICAgICAgdGhpcy4kKFxuICAgICAgICAgICAgZ28uUGFuZWwsXG4gICAgICAgICAgICAnQXV0bycsXG4gICAgICAgICAgICB7IHJvdzogMCwgc3RyZXRjaDogZ28uR3JhcGhPYmplY3QuSG9yaXpvbnRhbCB9LFxuICAgICAgICAgICAgdGhpcy4kKFxuICAgICAgICAgICAgICBnby5TaGFwZSxcbiAgICAgICAgICAgICAgJ1JlY3RhbmdsZScsXG4gICAgICAgICAgICAgIHtcbiAgICAgICAgICAgICAgICBmaWxsOiBBdG9Hb2pzRWRpdG9yTW9kZWwuRU5VTV9DT0xPUlMuTElHSFRfQkxVRSxcbiAgICAgICAgICAgICAgICBzdHJva2U6IEF0b0dvanNFZGl0b3JNb2RlbC5FTlVNX0NPTE9SUy5SRVNPTFVUSU9OX0JMVUUsXG4gICAgICAgICAgICAgIH0sXG4gICAgICAgICAgICAgIG5ldyBnby5CaW5kaW5nKCdmaWxsJywgJ2NvbG9yJylcbiAgICAgICAgICAgICksXG4gICAgICAgICAgICB0aGlzLiQoXG4gICAgICAgICAgICAgIGdvLlRleHRCbG9jayxcbiAgICAgICAgICAgICAge1xuICAgICAgICAgICAgICAgIHJvdzogMCxcbiAgICAgICAgICAgICAgICBtYXJnaW46IG5ldyBnby5NYXJnaW4oMTAsIDEwLCA1LCAxMCksXG4gICAgICAgICAgICAgICAgbWF4U2l6ZTogbmV3IGdvLlNpemUoc2l6ZS53LCBOYU4pLFxuICAgICAgICAgICAgICAgIHN0cm9rZTogJ3doaXRlJyxcbiAgICAgICAgICAgICAgICBmb250OiAnbm9ybWFsIDEwcHQgQXJpYWwnLFxuICAgICAgICAgICAgICAgIHRleHRBbGlnbjogJ2NlbnRlcicsXG4gICAgICAgICAgICAgICAgc3BhY2luZ0JlbG93OiA1LFxuICAgICAgICAgICAgICB9LFxuICAgICAgICAgICAgICBuZXcgZ28uQmluZGluZygndGV4dCcsICduYW1lJykubWFrZVR3b1dheSgpXG4gICAgICAgICAgICApXG4gICAgICAgICAgKSxcbiAgICAgICAgICB0aGlzLiQoXG4gICAgICAgICAgICBnby5QYW5lbCxcbiAgICAgICAgICAgICdBdXRvJyxcbiAgICAgICAgICAgIHsgcm93OiAxLCBzdHJldGNoOiBnby5HcmFwaE9iamVjdC5Ib3Jpem9udGFsIH0sXG4gICAgICAgICAgICB0aGlzLiQoZ28uU2hhcGUsICdSZWN0YW5nbGUnLCB7XG4gICAgICAgICAgICAgIGZpbGw6IEF0b0dvanNFZGl0b3JNb2RlbC5FTlVNX0NPTE9SUy5MSUdIVF9CTFVFLFxuICAgICAgICAgICAgICBzdHJva2U6IEF0b0dvanNFZGl0b3JNb2RlbC5FTlVNX0NPTE9SUy5SRVNPTFVUSU9OX0JMVUUsXG4gICAgICAgICAgICB9KSxcbiAgICAgICAgICAgIHRoaXMuJChcbiAgICAgICAgICAgICAgZ28uUGFuZWwsXG4gICAgICAgICAgICAgICdIb3Jpem9udGFsJyxcbiAgICAgICAgICAgICAgdGhpcy4kKFxuICAgICAgICAgICAgICAgIGdvLlRleHRCbG9jayxcbiAgICAgICAgICAgICAgICB7XG4gICAgICAgICAgICAgICAgICByb3c6IDIsXG4gICAgICAgICAgICAgICAgICAvLyBlZGl0YWJsZTogdHJ1ZSxcbiAgICAgICAgICAgICAgICAgIC8vIG1heFNpemU6IG5ldyBnby5TaXplKHNpemUudyAtIDEwLCA0MCksXG4gICAgICAgICAgICAgICAgICAvLyBtaW5TaXplOiBuZXcgZ28uU2l6ZShzaXplLncgLSAxMCwgc2l6ZS5oKSxcbiAgICAgICAgICAgICAgICAgIG1hcmdpbjogbmV3IGdvLk1hcmdpbig1LCAwLCA1LCA1KSxcbiAgICAgICAgICAgICAgICAgIGZvbnQ6ICdib2xkIDEycHQgQXJpYWwnLFxuICAgICAgICAgICAgICAgICAgdGV4dEFsaWduOiAnY2VudGVyJyxcbiAgICAgICAgICAgICAgICAgIHN0cm9rZTogQXRvR29qc0VkaXRvck1vZGVsLkVOVU1fQ09MT1JTLkdSQVksXG4gICAgICAgICAgICAgICAgfSxcbiAgICAgICAgICAgICAgICBuZXcgZ28uQmluZGluZygnZWRpdGFibGUnLCAnaXNFZGl0YWJsZScpLFxuICAgICAgICAgICAgICAgIG5ldyBnby5CaW5kaW5nKCd0ZXh0JywgJ3Nob3J0ZW5lZE51bWJlcicpLm1ha2VUd29XYXkoKSxcbiAgICAgICAgICAgICAgICBuZXcgZ28uQmluZGluZygnc3Ryb2tlJywgJ2NvbG9yJyksXG4gICAgICAgICAgICAgICAgbmV3IGdvLkJpbmRpbmcoJ3Zpc2libGUnLCAnJywgZnVuY3Rpb24gKGRhdGEpIHtcbiAgICAgICAgICAgICAgICAgIHJldHVybiBkYXRhLnZhbHVlICE9PSBWQUxVRV9OQTtcbiAgICAgICAgICAgICAgICB9KVxuICAgICAgICAgICAgICApLFxuICAgICAgICAgICAgICB0aGlzLiQoXG4gICAgICAgICAgICAgICAgZ28uVGV4dEJsb2NrLFxuICAgICAgICAgICAgICAgIHtcbiAgICAgICAgICAgICAgICAgIHJvdzogMixcbiAgICAgICAgICAgICAgICAgIC8vIGVkaXRhYmxlOiB0cnVlLFxuICAgICAgICAgICAgICAgICAgLy8gbWF4U2l6ZTogbmV3IGdvLlNpemUoc2l6ZS53IC0gMTAsIDQwKSxcbiAgICAgICAgICAgICAgICAgIC8vIG1pblNpemU6IG5ldyBnby5TaXplKHNpemUudyAtIDEwLCBzaXplLmgpLFxuICAgICAgICAgICAgICAgICAgbWFyZ2luOiBuZXcgZ28uTWFyZ2luKDUsIDUsIDUsIDApLFxuICAgICAgICAgICAgICAgICAgZm9udDogJ2JvbGQgMTJwdCBBcmlhbCcsXG4gICAgICAgICAgICAgICAgICB0ZXh0QWxpZ246ICdjZW50ZXInLFxuICAgICAgICAgICAgICAgICAgc3Ryb2tlOiBBdG9Hb2pzRWRpdG9yTW9kZWwuRU5VTV9DT0xPUlMuR1JBWSxcbiAgICAgICAgICAgICAgICB9LFxuICAgICAgICAgICAgICAgIG5ldyBnby5CaW5kaW5nKCd2aXNpYmxlJywgJycsIGZ1bmN0aW9uIChkYXRhKSB7XG4gICAgICAgICAgICAgICAgICByZXR1cm4gZGF0YS52YWx1ZSAhPT0gVkFMVUVfTkE7XG4gICAgICAgICAgICAgICAgfSksXG4gICAgICAgICAgICAgICAgbmV3IGdvLkJpbmRpbmcoJ3RleHQnLCAndW5pdFByZWZpeGVzJyksXG4gICAgICAgICAgICAgICAgbmV3IGdvLkJpbmRpbmcoJ3N0cm9rZScsICdjb2xvcicpXG4gICAgICAgICAgICAgICksXG4gICAgICAgICAgICAgIC8vIEljb24gRXJyIHdoZW4gbGFjayBvZiB2YWx1ZVxuICAgICAgICAgICAgICB0aGlzLiQoXG4gICAgICAgICAgICAgICAgZ28uVGV4dEJsb2NrLFxuICAgICAgICAgICAgICAgIHtcbiAgICAgICAgICAgICAgICAgIG1hcmdpbjogbmV3IGdvLk1hcmdpbigxMCwgMTAsIDEwLCAxMCksXG4gICAgICAgICAgICAgICAgICB0ZXh0OiBWQUxVRV9OQSwgLy8gT2xkIHZlcnNpb246IFRFWFRfRVJST1JcbiAgICAgICAgICAgICAgICAgIHRleHRBbGlnbjogJ2NlbnRlcicsXG4gICAgICAgICAgICAgICAgICBmb250OiAnYm9sZCAxMHB0IHNhbnMtc2VyaWYnLFxuICAgICAgICAgICAgICAgICAgc3Ryb2tlOiBBdG9Hb2pzRWRpdG9yTW9kZWwuRU5VTV9DT0xPUlMuU0FMTU9OLFxuICAgICAgICAgICAgICAgICAgd3JhcDogZ28uVGV4dEJsb2NrLldyYXBGaXQsXG4gICAgICAgICAgICAgICAgICBlZGl0YWJsZTogZmFsc2UsXG4gICAgICAgICAgICAgICAgICBpc011bHRpbGluZTogZmFsc2UsXG4gICAgICAgICAgICAgICAgfSxcbiAgICAgICAgICAgICAgICBuZXcgZ28uQmluZGluZygndmlzaWJsZScsICcnLCBmdW5jdGlvbiAoZGF0YSkge1xuICAgICAgICAgICAgICAgICAgcmV0dXJuIGRhdGEudmFsdWUgPT09IFZBTFVFX05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AgICAgICB9LFxuICAgICAgICBzZWxlY3Rpb25DaGFuZ2VkOiAoZSkgPT4ge1xuICAgICAgICAgIGlmICghZS5pc1NlbGVjdGVkICYmIGU/LmRhdGE/Lm9uU2VsZWN0ZWQpIHtcbiAgICAgICAgICAgIGU/LmRhdGE/Lm9uU2VsZWN0ZWQobnVsbCk7XG4gICAgICAgICAgfVxuICAgICAgICB9LFxuICAgICAgICBzZWxlY3Rpb25BZG9ybm1lbnRUZW1wbGF0ZTogdGhpcy5faW5pdGlhbE9wdGlvbnMuaXNSZWFkT25seVxuICAgICAgICAgID8gbnVsbFxuICAgICAgICAgIDogdGhpcy4kKFxuICAgICAgICAgICAgICBnby5BZG9ybm1lbnQsXG4gICAgICAgICAgICAgICdTcG90JyxcbiAgICAgICAgICAgICAge1xuICAgICAgICAgICAgICAgIHNoYWRvd1Zpc2libGU6IHRydWUsXG4gICAgICAgICAgICAgICAgc2hhZG93Qmx1cjogNixcbiAgICAgICAgICAgICAgICBzaGFkb3dPZmZzZXQ6IG5ldyBnby5Qb2ludCgwLCAyKSxcbiAgICAgICAgICAgICAgICBzaGFkb3dDb2xvcjogJyMwMDAwMDAyOScsXG4gICAgICAgICAgICAgIH0sXG4gICAgICAgICAgICAgIHRoaXMuJChcbiAgICAgICAgICAgICAgICBnby5QYW5lbCxcbiAgICAgICAgICAgICAgICAnQXV0bycsXG4gICAgICAgICAgICAgICAgdGhpcy4kKGdvLlNoYXBlLCB7XG4gICAgICAgICAgICAgICAgICBmaWxsOiBudWxsLFxuICAgICAgICAgICAgICAgICAgc3Ryb2tlOiAnZG9kZ2VyYmx1ZScsXG4gICAgICAgICAgICAgICAgICBzdHJva2VXaWR0aDogNCxcbiAgICAgICAgICAgICAgICB9KSxcbiAgICAgICAgICAgICAgICB0aGlzLiQoZ28uUGxhY2Vob2xkZXIsIHsgcGFkZGluZzogMyB9KVxuICAgICAgICAgICAgICApLFxuICAgICAgICAgICAgICB0aGlzLiQoXG4gICAgICAgICAgICAgICAgZ28uUGFuZWwsXG4gICAgICAgICAgICAgICAgJ0hvcml6b250YWwnLFxuICAgICAgICAgICAgICAgIHtcbiAgICAgICAgICAgICAgICAgIGFsaWdubWVudDogZ28uU3BvdC5Ub3BSaWdodCxcbiAgICAgICAgICAgICAgICAgIGFsaWdubWVudEZvY3VzOiBnby5TcG90LkJvdHRvbSxcbiAgICAgICAgICAgICAgICAgIGJhY2tncm91bmQ6ICd3aGl0ZScsXG4gICAgICAgICAgICAgICAgfSxcbiAgICAgICAgICAgICAgICAvLyBtb3JlXG4gICAgICAgICAgICAgICAgIXRoaXMuX2luaXRpYWxPcHRpb25zLmlzUmVhZE9ubHlcbiAgICAgICAgICAgICAgICAgID8gdGhpcy5nZW5lcmF0ZUFjdGlvbkdyb3VwKFxuICAgICAgICAgICAgICAgICAgICAgIFtcbiAgICAgICAgICAgICAgICAgICAgICAgIEF0b0dvanNFZGl0b3JNb2RlbC5OT0RFX1RFTVBMQVRFU1tcbiAgICAgICAgICAgICAgICAgICAgICAgICAgQXRvR29qc0VkaXRvck1vZGVsLkVOVU1fVEVNUExBVEVTLlJPX1dBVEVSX1RSRUFUTUVOVFxuICAgICAgICAgICAgICAgICAgICAgICAgXS5uYW1lLFxuICAgICAgICAgICAgICAgICAgICAgICAgQXRvR29qc0VkaXRvck1vZGVsLk5PREVfVEVNUExBVEVTW1xuICAgICAgICAgICAgICAgICAgICAgICAgICBBdG9Hb2pzRWRpdG9yTW9kZWwuRU5VTV9URU1QTEFURVMuQ09PTElOR19UT1dFUlxuICAgICAgICAgICAgICAgICAgICAgICAgXS5uYW1lLFxuICAgICAgICAgICAgICAgICAgICAgICAgQXRvR29qc0VkaXRvck1vZGVsLk5PREVfVEVNUExBVEVTW1xuICAgICAgICAgICAgICAgICAgICAgICAgICBBdG9Hb2pzRWRpdG9yTW9kZWwuRU5VTV9URU1QTEFURVMuQk9JTEVSXG4gICAgICAgICAgICAgICAgICAgICAgICBdLm5hbWUsXG4gICAgICAgICAgICAgICAgICAgICAgXS5pbmNsdWRlcyh0aXRsZSlcbiAgICAgICAgICAgICAgICAgICAgICAgID8gW1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgIEF0b0RlZmF1bHRHb2pzRWRpdG9yLkVOVU1fQUNUSU9OUy5SRU5BTUUsXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgQXRvRGVmYXVsdEdvanNFZGl0b3IuRU5VTV9BQ1RJT05TLkZMT1dfREVUQUlMUyxcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBBdG9EZWZhdWx0R29qc0VkaXRvci5FTlVNX0FDVElPTlMuQVNTRVRfUEFSQU1FVEVSUyxcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBBdG9EZWZhdWx0R29qc0VkaXRvci5FTlVNX0FDVElPTlMuT1VURkxPVyxcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBBdG9EZWZhdWx0R29qc0VkaXRvci5FTlVNX0FDVElPTlMuREVMRVRFLFxuICAgICAgICAgICAgICAgICAgICAgICAgICBdXG4gICAgICAgICAgICAgICAgICAgICAgICA6IFtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBBdG9EZWZhdWx0R29qc0VkaXRvci5FTlVNX0FDVElPTlMuUkVOQU1FLFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIEF0b0RlZmF1bHRHb2pzRWRpdG9yLkVOVU1fQUNUSU9OUy5ERVRBSUxTLFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIEF0b0RlZmF1bHRHb2pzRWRpdG9yLkVOVU1fQUNUSU9OUy5PVVRGTE9XLFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIEF0b0RlZmF1bHRHb2pzRWRpdG9yLkVOVU1fQUNUSU9OUy5ERUxFVEUsXG4gICAgICAgICAgICAgICAgICAgICAgICAgIF1cbiAgICAgICAgICAgICAgICAgICAgKVxuICAgICAgICAgICAgICAgICAgOiB7fVxuICAgICAgICAgICAgICApXG4gICAgICAgICAgICApLFxuICAgICAgfSxcbiAgICAgIC8vIG5ldyBnby5CaW5kaW5nKCdsb2NhdGlvbicsICdsb2MnLCBnby5Qb2ludC5wYXJzZSksXG4gICAgICBuZXcgZ28uQmluZGluZygnbW92YWJsZScsICdtb3ZhYmxlJyksXG4gICAgICBuZXcgZ28uQmluZGluZygnc2VsZWN0YWJsZScsICdzZWxlY3RhYmxlJyksXG4gICAgICBuZXcgZ28uQmluZGluZygnbG9jYXRpb24nLCAnbG9jJywgZ28uUG9pbnQucGFyc2UpLm1ha2VUd29XYXkoXG4gICAgICAgIGdvLlBvaW50LnN0cmluZ2lmeVxuICAgICAgKSxcbiAgICAgIG5ldyBnby5CaW5kaW5nKCd2aXNpYmxlJywgJ3Zpc2libGUnKSxcbiAgICAgIHRoaXMuJChcbiAgICAgICAgZ28uUGFuZWwsXG4gICAgICAgICdBdXRvJyxcbiAgICAgICAgeyB3aWR0aDogc2l6ZS53LCBoZWlnaHQ6IHNpemUuaCB9LFxuICAgICAgICB0aGlzLiQoZ28uU2hhcGUsICdSb3VuZGVkUmVjdGFuZ2xlJywge1xuICAgICAgICAgIGZpbGw6ICd3aGl0ZScsXG4gICAgICAgICAgc3Ryb2tlOiBBdG9Hb2pzRWRpdG9yTW9kZWwuRU5VTV9DT0xPUlMuTElOS19XQVRFUixcbiAgICAgICAgICBzdHJva2VXaWR0aDogMSxcbiAgICAgICAgICAvLyBzdHJva2VEYXNoQXJyYXk6IFs1LCA1XSxcbiAgICAgICAgfSksXG4gICAgICAgIHRoaXMuJChcbiAgICAgICAgICBnby5QYW5lbCxcbiAgICAgICAgICAnVGFibGUnLFxuICAgICAgICAgIHRoaXMuJChnby5QaWN0dXJlLCBpY29uLCB7XG4gICAgICAgICAgICByb3c6IDEsXG4gICAgICAgICAgICBhbGlnbm1lbnQ6IGdvLlNwb3QuQ2VudGVyLFxuICAgICAgICAgICAgZGVzaXJlZFNpemU6IG5ldyBnby5TaXplKHNpemUudyAtIDIwLCBzaXplLmggLSA1MCksXG4gICAgICAgICAgICAvLyBtYXhTaXplOiBuZXcgZ28uU2l6ZSg2MCwgNjApLFxuICAgICAgICAgICAgaW1hZ2VTdHJldGNoOiBnby5HcmFwaE9iamVjdC5Vbmlmb3JtLFxuICAgICAgICAgICAgdG9vbFRpcDogdGhpcy4kKFxuICAgICAgICAgICAgICAnVG9vbFRpcCcsXG4gICAgICAgICAgICAgIHRoaXMuJChnby5UZXh0QmxvY2ssIHtcbiAgICAgICAgICAgICAgICBtYXJnaW46IDQsXG4gICAgICAgICAgICAgICAgdGV4dDogdGl0bGUsXG4gICAgICAgICAgICAgIH0pXG4gICAgICAgICAgICApLFxuICAgICAgICAgIH0pLFxuICAgICAgICAgIHRoaXMuJChcbiAgICAgICAgICAgIGdvLlRleHRCbG9jayxcbiAgICAgICAgICAgIHtcbiAgICAgICAgICAgICAgcm93OiAyLFxuICAgICAgICAgICAgICBtYXJnaW46IG5ldyBnby5NYXJnaW4oMTAsIDAsIDMsIDApLFxuICAgICAgICAgICAgICBlZGl0YWJsZTogdHJ1ZSxcbiAgICAgICAgICAgICAgZGVzaXJlZFNpemU6IG5ldyBnby5TaXplKHNpemUudyAtIDIwLCAxNSksXG4gICAgICAgICAgICAgIHN0cm9rZTogJyMwMDBENDInLFxuICAgICAgICAgICAgICBmb250OiAnYm9sZCAxMHB0IEFyaWFsJyxcbiAgICAgICAgICAgICAgdGV4dEFsaWduOiAnY2VudGVyJyxcbiAgICAgICAgICAgICAgLy8gd3JhcDogZ28uVGV4dEJsb2NrLk5vbmUsXG4gICAgICAgICAgICAgIG92ZXJmbG93OiBnby5UZXh0QmxvY2suT3ZlcmZsb3dFbGxpcHNpcyxcbiAgICAgICAgICAgICAgdG9vbFRpcDogdGhpcy4kKFxuICAgICAgICAgICAgICAgICdUb29sVGlwJyxcbiAgICAgICAgICAgICAgICB0aGlzLiQoXG4gICAgICAgICAgICAgICAgICBnby5UZXh0QmxvY2ssXG4gICAgICAgICAgICAgICAgICB7IG1hcmdpbjogNCB9LFxuICAgICAgICAgICAgICAgICAgbmV3IGdvLkJpbmRpbmcoJ3RleHQnLCAnbmFtZScpXG4gICAgICAgICAgICAgICAgKVxuICAgICAgICAgICAgICApLFxuICAgICAgICAgICAgfSxcbiAgICAgICAgICAgIG5ldyBnby5CaW5kaW5nKCd0ZXh0JywgJ25hbWUnKS5tYWtlVHdvV2F5KCksXG4gICAgICAgICAgICBuZXcgZ28uQmluZGluZygnZWRpdGFibGUnLCAnJywgKGRhdGEpID0+IHtcbiAgICAgICAgICAgICAgcmV0dXJuICEoXG4gICAgICAgICAgICAgICAgQXRvR29qc0VkaXRvck1vZGVsLlRZUEVfQ09NUE9ORU5UX1dBVEVSPy5pbmNsdWRlcyhcbiAgICAgICAgICAgICAgICAgIGRhdGE/LnN5c3RlbVR5cGVcbiAgICAgICAgICAgICAgICApICYmXG4gICAgICAgICAgICAgICAgZGF0YT8udG9wb2xvZ3lUeXBlICE9PSBBVE9fRUNPTVBPTkVOVF9QTEFOVF9UWVBFLldBVEVSICYmXG4gICAgICAgICAgICAgICAgZGF0YT8udG9wb2xvZ3lUeXBlICE9PVxuICAgICAgICAgICAgICAgICAgQVRPX0VDT01QT05FTlRfUExBTlRfVFlQRS5XQVRFUl9QTEFOVF9DRUxMXG4gICAgICAgICAgICAgICk7XG4gICAgICAgICAgICB9KVxuICAgICAgICAgIClcbiAgICAgICAgKVxuICAgICAgKSxcblxuICAgICAgdGhpcy4kKGdvLlBhbmVsLCAnVmVydGljYWwnLCB7XG4gICAgICAgIGFsaWdubWVudDogZ28uU3BvdC5MZWZ0LFxuICAgICAgICBhbGlnbm1lbnRGb2N1czogbmV3IGdvLlNwb3QoMCwgMC41LCA4LCAwKSxcbiAgICAgIH0pLFxuICAgICAgdGhpcy4kKGdvLlBhbmVsLCAnVmVydGljYWwnLCB7XG4gICAgICAgIGFsaWdubWVudDogZ28uU3BvdC5SaWdodCxcbiAgICAgICAgYWxpZ25tZW50Rm9jdXM6IG5ldyBnby5TcG90KDEsIDAuNSwgLTgsIDAp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hbnkpID0+IHtcbiAgICAgICAgICBpZiAob2JqPy5kYXRhPy5vblNlbGVjdGVkKSB7XG4gICAgICAgICAgICBvYmo/LmRhdGE/Lm9uU2VsZWN0ZWQob2JqPy5kYXRhKTtcbiAgICAgICAgICB9XG4gICAgICAgIH0sXG4gICAgICAgIHNlbGVjdGlvbkNoYW5nZWQ6IChlKSA9PiB7XG4gICAgICAgICAgaWYgKCFlLmlzU2VsZWN0ZWQgJiYgZT8uZGF0YT8ub25TZWxlY3RlZCkge1xuICAgICAgICAgICAgZT8uZGF0YT8ub25TZWxlY3RlZChudWxsKTtcbiAgICAgICAgICB9XG4gICAgICAgIH0sXG4gICAgICAgIHNlbGVjdGlvbkFkb3JubWVudFRlbXBsYXRlOiB0aGlzLl9pbml0aWFsT3B0aW9ucy5pc1JlYWRPbmx5XG4gICAgICAgICAgPyBudWxsXG4gICAgICAgICAgOiB0aGlzLiQoXG4gICAgICAgICAgICAgIGdvLkFkb3JubWVudCxcbiAgICAgICAgICAgICAgJ1Nwb3QnLFxuICAgICAgICAgICAgICB7XG4gICAgICAgICAgICAgICAgc2hhZG93VmlzaWJsZTogdHJ1ZSxcbiAgICAgICAgICAgICAgICBzaGFkb3dCbHVyOiA2LFxuICAgICAgICAgICAgICAgIHNoYWRvd09mZnNldDogbmV3IGdvLlBvaW50KDAsIDIpLFxuICAgICAgICAgICAgICAgIHNoYWRvd0NvbG9yOiAnIzAwMDAwMDI5JyxcbiAgICAgICAgICAgICAgfSxcbiAgICAgICAgICAgICAgdGhpcy4kKFxuICAgICAgICAgICAgICAgIGdvLlBhbmVsLFxuICAgICAgICAgICAgICAgICdBdXRvJyxcbiAgICAgICAgICAgICAgICB0aGlzLiQoZ28uU2hhcGUsIHtcbiAgICAgICAgICAgICAgICAgIGZpbGw6IG51bGwsXG4gICAgICAgICAgICAgICAgICBzdHJva2U6ICdkb2RnZXJibHVlJyxcbiAgICAgICAgICAgICAgICAgIHN0cm9rZVdpZHRoOiA0LFxuICAgICAgICAgICAgICAgIH0pLFxuICAgICAgICAgICAgICAgIHRoaXMuJChnby5QbGFjZWhvbGRlciwgeyBwYWRkaW5nOiAzIH0pXG4gICAgICAgICAgICAgICksXG4gICAgICAgICAgICAgIHRoaXMuJChcbiAgICAgICAgICAgICAgICBnby5QYW5lbCxcbiAgICAgICAgICAgICAgICAnSG9yaXpvbnRhbCcsXG4gICAgICAgICAgICAgICAge1xuICAgICAgICAgICAgICAgICAgYWxpZ25tZW50OiBnby5TcG90LlRvcFJpZ2h0LFxuICAgICAgICAgICAgICAgICAgYWxpZ25tZW50Rm9jdXM6IGdvLlNwb3QuQm90dG9tLFxuICAgICAgICAgICAgICAgICAgYmFja2dyb3VuZDogJ3doaXRlJyxcbiAgICAgICAgICAgICAgICB9LFxuICAgICAgICAgICAgICAgIC8vIG1vcmVcbiAgICAgICAgICAgICAgICB0aGlzLmdlbmVyYXRlQWN0aW9uR3JvdXAoW1xuICAgICAgICAgICAgICAgICAgQXRvRGVmYXVsdEdvanNFZGl0b3IuRU5VTV9BQ1RJT05TLlJFTkFNRSxcbiAgICAgICAgICAgICAgICAgIEF0b0RlZmF1bHRHb2pzRWRpdG9yLkVOVU1fQUNUSU9OUy5ERVRBSUxTLFxuICAgICAgICAgICAgICAgICAgQXRvRGVmYXVsdEdvanNFZGl0b3IuRU5VTV9BQ1RJT05TLk9VVEZMT1csXG4gICAgICAgICAgICAgICAgICBBdG9EZWZhdWx0R29qc0VkaXRvci5FTlVNX0FDVElPTlMuREVMRVRFLFxuICAgICAgICAgICAgICAgIF0pXG4gICAgICAgICAgICAgIClcbiAgICAgICAgICAgICksXG4gICAgICB9LFxuICAgICAgbmV3IGdvLkJpbmRpbmcoJ3Zpc2libGUnLCAndmlzaWJsZScpLFxuICAgICAgbmV3IGdvLkJpbmRpbmcoJ21vdmFibGUnLCAnbW92YWJsZScpLFxuICAgICAgbmV3IGdvLkJpbmRpbmcoJ3NlbGVjdGFibGUnLCAnc2VsZWN0YWJsZScpLFxuICAgICAgbmV3IGdvLkJpbmRpbmcoJ2xvY2F0aW9uJywgJ2xvYycsIGdvLlBvaW50LnBhcnNlKS5tYWtlVHdvV2F5KFxuICAgICAgICBnby5Qb2ludC5zdHJpbmdpZnlcbiAgICAgICksXG4gICAgICB0aGlzLiQoXG4gICAgICAgIGdvLlBhbmVsLFxuICAgICAgICAnQXV0bycsXG4gICAgICAgIHsgd2lkdGg6IHNpemUudywgaGVpZ2h0OiBzaXplLmggfSxcbiAgICAgICAgdGhpcy4kKGdvLlNoYXBlLCAnUm91bmRlZFJlY3RhbmdsZScsIHtcbiAgICAgICAgICBmaWxsOiAnd2hpdGUnLFxuICAgICAgICAgIHN0cm9rZTogQXRvR29qc0VkaXRvck1vZGVsLkVOVU1fQ09MT1JTLkxJTktfV0FURVIsXG4gICAgICAgICAgLy8gc3Ryb2tlRGFzaEFycmF5OiBbNSwgNV0sXG4gICAgICAgIH0pLFxuICAgICAgICB0aGlzLiQoXG4gICAgICAgICAgZ28uUGFuZWwsXG4gICAgICAgICAgJ1RhYmxlJyxcbiAgICAgICAgICB0aGlzLiQoXG4gICAgICAgICAgICBnby5UZXh0QmxvY2ssXG4gICAgICAgICAgICBBdG9Hb2pzRWRpdG9yTW9kZWwuVEVNUExBVEVfRFVQTElDQVRFW3RpdGxlXSA/PyB0aXRsZSxcbiAgICAgICAgICAgIHtcbiAgICAgICAgICAgICAgcm93OiAwLFxuICAgICAgICAgICAgICBtYXJnaW46IG5ldyBnby5NYXJnaW4oMywgMywgMTAsIDMpLFxuICAgICAgICAgICAgICBtYXhTaXplOiBuZXcgZ28uU2l6ZShzaXplLncgLSAyMCwgMTUpLFxuICAgICAgICAgICAgICBzdHJva2U6ICcjNDQ0NDQ0JyxcbiAgICAgICAgICAgICAgZm9udDogJ25vcm1hbCAxMHB0IEFyaWFsJyxcbiAgICAgICAgICAgICAgdGV4dEFsaWduOiAnY2VudGVyJyxcbiAgICAgICAgICAgICAgdG9vbFRpcDogdGhpcy4kKFxuICAgICAgICAgICAgICAgICdUb29sVGlwJyxcbiAgICAgICAgICAgICAgICB0aGlzLiQoZ28uVGV4dEJsb2NrLCB7XG4gICAgICAgICAgICAgICAgICBtYXJnaW46IDQsXG4gICAgICAgICAgICAgICAgICB0ZXh0OiB0aXRsZSxcbiAgICAgICAgICAgICAgICB9KVxuICAgICAgICAgICAgICApLFxuICAgICAgICAgICAgfVxuICAgICAgICAgICksXG4gICAgICAgICAgdGhpcy4kKGdvLlBpY3R1cmUsIGljb24sIHtcbiAgICAgICAgICAgIHJvdzogMSxcbiAgICAgICAgICAgIGFsaWdubWVudDogZ28uU3BvdC5DZW50ZXIsXG4gICAgICAgICAgICBkZXNpcmVkU2l6ZTogbmV3IGdvLlNpemUoc2l6ZS53IC0gMjAsIHNpemUuaCAtIDY1KSxcbiAgICAgICAgICAgIGltYWdlU3RyZXRjaDogZ28uR3JhcGhPYmplY3QuVW5pZm9ybSxcbiAgICAgICAgICB9KSxcbiAgICAgICAgICB0aGlzLiQoXG4gICAgICAgICAgICBnby5UZXh0QmxvY2ssXG4gICAgICAgICAgICB7XG4gICAgICAgICAgICAgIHJvdzogMixcbiAgICAgICAgICAgICAgbWFyZ2luOiBuZXcgZ28uTWFyZ2luKDEwLCAzLCAzLCAzKSxcbiAgICAgICAgICAgICAgZWRpdGFibGU6IHRydWUsXG4gICAgICAgICAgICAgIG1heFNpemU6IG5ldyBnby5TaXplKHNpemUudyAtIDIwLCAxNSksXG4gICAgICAgICAgICAgIHN0cm9rZTogJyMyQzJDMkMnLFxuICAgICAgICAgICAgICBmb250OiAnYm9sZCAxMHB0IEFyaWFsJyxcbiAgICAgICAgICAgICAgdGV4dEFsaWduOiAnY2VudGVyJyxcbiAgICAgICAgICAgICAgLy8gd3JhcDogZ28uVGV4dEJsb2NrLk5vbmUsXG4gICAgICAgICAgICAgIG92ZXJmbG93OiBnby5UZXh0QmxvY2suT3ZlcmZsb3dFbGxpcHNpcyxcbiAgICAgICAgICAgICAgdG9vbFRpcDogdGhpcy4kKFxuICAgICAgICAgICAgICAgICdUb29sVGlwJyxcbiAgICAgICAgICAgICAgICB0aGlzLiQoXG4gICAgICAgICAgICAgICAgICBnby5UZXh0QmxvY2ssXG4gICAgICAgICAgICAgICAgICB7XG4gICAgICAgICAgICAgICAgICAgIG1hcmdpbjogNCxcbiAgICAgICAgICAgICAgICAgIH0sXG4gICAgICAgICAgICAgICAgICBuZXcgZ28uQmluZGluZygndGV4dCcsICduYW1lJykubWFrZVR3b1dheSgpXG4gICAgICAgICAgICAgICAgKVxuICAgICAgICAgICAgICApLFxuICAgICAgICAgICAgfSxcbiAgICAgICAgICAgIG5ldyBnby5CaW5kaW5nKCd0ZXh0JywgJ25hbWUnKS5tYWtlVHdvV2F5KClcbiAgICAgICAgICApXG4gICAgICAgIClcbiAgICAgICksXG4gICAgICB0aGlzLiQoZ28uUGFuZWwsICdWZXJ0aWNhbCcsIHtcbiAgICAgICAgYWxpZ25tZW50OiBnby5TcG90LkxlZnQsXG4gICAgICAgIGFsaWdubWVudEZvY3VzOiBuZXcgZ28uU3BvdCgwLCAwLjUsIDgsIDApLFxuICAgICAgfSksXG4gICAgICB0aGlzLiQoZ28uUGFuZWwsICdWZXJ0aWNhbCcsIHtcbiAgICAgICAgYWxpZ25tZW50OiBnby5TcG90LlJpZ2h0LFxuICAgICAgICBhbGlnbm1lbnRGb2N1czogbmV3IGdvLlNwb3QoMSwgMC41LCAtOCwgMCksXG4gICAgICB9KSxcbiAgICAgIC8vIGZvdXIgbmFtZWQgcG9ydHMsIG9uZSBvbiBlYWNoIHNpZGU6XG5cbiAgICAgIHRoaXMubWFrZVBvcnQoJ1QnLCBnby5TcG90LlRvcCwgZ28uU3BvdC5Ub3BTaWRlLCBmYWxzZSwgdHJ1ZSksXG4gICAgICB0aGlzLm1ha2VQb3J0KCdMJywgZ28uU3BvdC5MZWZ0LCBnby5TcG90LkxlZnRTaWRlLCBmYWxzZSwgdHJ1ZSksXG4gICAgICB0aGlzLm1ha2VQb3J0KCdSJyw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gICAgICAgICAgLy8gfSk7XG4gICAgICAgICAgY29uc3Qgbm9kZSA9IG9iai5wYXJ0O1xuICAgICAgICAgIHNlbGYub25Ib3ZlckluZm9CdXR0b24uZW1pdCh7XG4gICAgICAgICAgICBsZWZ0OiBlPy5bJ1dyJ10/LnggKyA4LFxuICAgICAgICAgICAgdG9wOiBlPy5bJ1dyJ10/LnksXG4gICAgICAgICAgICBub2RlOiBub2RlLFxuICAgICAgICAgIH0pO1xuXG4gICAgICAgICAgbGV0IHNoYXBlID0gKG5vZGUgYXMgYW55KT8uZmluZE9iamVjdCgnU0hBUEVfS0VZJyk7IC8vIFRoYXkgJ1NIQVBFX0tFWScgYuG6sW5nIGtow7NhIGLhuqFuIMSR4bq3dCBjaG8gaMOsbmggU2hhcGVcbiAgICAgICAgICAvLyBkZWJ1Z2dlcjtcbiAgICAgICAgICBpZiAoc2hhcGUpIHtcbiAgICAgICAgICAgIHNoYXBlLnN0cm9rZSA9ICdibHVlJzsgLy8gVGhheSDEkeG7lWkgbcOgdSBzdHJva2UgdGjDoG5oIGJsdWVcbiAgICAgICAgICB9XG4gICAgICAgIH0sXG4gICAgICAgIG1vdXNlTGVhdmU6IChlLCBvYmopID0+IHtcbiAgICAgICAgICBzZWxmLm9uSG92ZXJJbmZvQnV0dG9uLmVtaXQobnVsbCk7XG4gICAgICAgICAgLy8gc2VsZi5vbkhvdmVyQWxlcnQuZW1pdChudWxsKTtcbiAgICAgICAgfSxcblxuICAgICAgICBjbGljazogKGUsIG9iajogYW55KSA9PiB7XG4gICAgICAgICAgaWYgKG9iaj8uZGF0YT8ub25TZWxlY3RlZCkge1xuICAgICAgICAgICAgb2JqPy5kYXRhPy5vblNlbGVjdGVkKG9iaj8uZGF0YSk7XG4gICAgICAgICAgICBzZWxmLm9uQ2xpY2tDb21wb2VudC5lbWl0KHtcbiAgICAgICAgICAgICAgbGVmdDogZT8uWydXciddPy54LFxuICAgICAgICAgICAgICB0b3A6IGU/LlsnV3InXT8ueSxcbiAgICAgICAgICAgICAgbm9kZTogbm9kZSxcbiAgICAgICAgICAgICAgY29tcG9uZW50OiBvYmo/LmRhdGEsXG4gICAgICAgICAgICB9KTtcbiAgICAgICAgICB9XG4gICAgICAgIH0sXG5cbiAgICAgICAgZG91YmxlQ2xpY2s6IChlLCBvYmo6IGFueSkgPT4ge1xuICAgICAgICAgIGlmICghdGhpcy5faW5pdGlhbE9wdGlvbnM/LmlzUmVhZE9ubHkpIHtcbiAgICAgICAgICAgIGNvbnN0IG5vZGUgPSBvYmoucGFydDtcbiAgICAgICAgICAgIHRoaXMuaXNTaG93Tm9kZUluZm9cbiAgICAgICAgICAgICAgPyBzZWxmLm9uRG91YmxlQ2xpY2tOb2RlLmVtaXQoe1xuICAgICAgICAgICAgICAgICAgbGVmdDogZT8uWydXciddPy54LFxuICAgICAgICAgICAgICAgICAgdG9wOiBlPy5bJ1dyJ10/LnksXG4gICAgICAgICAgICAgICAgICBub2RlOiBub2RlLFxuICAgICAgICAgICAgICAgIH0pXG4gICAgICAgICAgICAgIDogbnVsbDtcbiAgICAgICAgICB9XG4gICAgICAgIH0sXG5cbiAgICAgICAgLy8gVG9kb1xuXG4gICAgICAgIHNlbGVjdGlvbkNoYW5nZWQ6IChlKSA9PiB7XG4gICAgICAgICAgaWYgKCFlLmlzU2VsZWN0ZWQgJiYgZT8uZGF0YT8ub25TZWxlY3RlZCkge1xuICAgICAgICAgICAgZT8uZGF0YT8ub25TZWxlY3RlZChudWxsKTtcbiAgICAgICAgICB9XG4gICAgICAgIH0sXG5cbiAgICAgICAgc2VsZWN0aW9uQWRvcm5tZW50VGVtcGxhdGU6IHRoaXMuX2luaXRpYWxPcHRpb25zLmlzUmVhZE9ubHlcbiAgICAgICAgICA/IG51bGxcbiAgICAgICAgICA6IHRoaXMuJChcbiAgICAgICAgICAgICAgZ28uQWRvcm5tZW50LFxuICAgICAgICAgICAgICAnU3BvdCcsXG4gICAgICAgICAgICAgIHtcbiAgICAgICAgICAgICAgICBzaGFkb3dWaXNpYmxlOiB0cnVlLFxuICAgICAgICAgICAgICAgIHNoYWRvd0JsdXI6IDYsXG4gICAgICAgICAgICAgICAgc2hhZG93T2Zmc2V0OiBuZXcgZ28uUG9pbnQoMCwgMiksXG4gICAgICAgICAgICAgICAgc2hhZG93Q29sb3I6ICcjMDAwMDAwMjknLFxuICAgICAgICAgICAgICB9LFxuICAgICAgICAgICAgICB0aGlzLiQoXG4gICAgICAgICAgICAgICAgZ28uUGFuZWwsXG4gICAgICAgICAgICAgICAgJ0F1dG8nLFxuICAgICAgICAgICAgICAgIHsgd2lkdGg6IDE3MCB9LFxuICAgICAgICAgICAgICAgIHRoaXMuJChnby5TaGFwZSwge1xuICAgICAgICAgICAgICAgICAgZmlsbDogbnVsbCxcbiAgICAgICAgICAgICAgICAgIHN0cm9rZTogJ2RvZGdlcmJsdWUnLFxuICAgICAgICAgICAgICAgICAgc3Ryb2tlV2lkdGg6IDQsXG4gICAgICAgICAgICAgICAgfSksXG4gICAgICAgICAgICAgICAgdGhpcy4kKGdvLlBsYWNlaG9sZGVyLCB7IHBhZGRpbmc6IDMgfSlcbiAgICAgICAgICAgICAgKSxcbiAgICAgICAgICAgICAgdGhpcy4kKFxuICAgICAgICAgICAgICAgIGdvLlBhbmVsLFxuICAgICAgICAgICAgICAgICdIb3Jpem9udGFsJyxcbiAgICAgICAgICAgICAgICB7IGFsaWdubWVudDogZ28uU3BvdC5Ub3BSaWdodCwgYWxpZ25tZW50Rm9jdXM6IGdvLlNwb3QuQm90dG9tIH0sXG4gICAgICAgICAgICAgICAgLy8gbW9yZVxuICAgICAgICAgICAgICAgIHRoaXMuZ2VuZXJhdGVBY3Rpb25Hcm91cChbXG4gICAgICAgICAgICAgICAgICBBdG9EZWZhdWx0R29qc0VkaXRvci5FTlVNX0FDVElPTlMuUkVOQU1FLFxuICAgICAgICAgICAgICAgICAgQXRvRGVmYXVsdEdvanNFZGl0b3IuRU5VTV9BQ1RJT05TLkNIQU5HRV9JQ09OLFxuICAgICAgICAgICAgICAgICAgQXRvRGVmYXVsdEdvanNFZGl0b3IuRU5VTV9BQ1RJT05TLk9OTFlfREVUQUlMUyxcbiAgICAgICAgICAgICAgICAgIC8vICAgRGVmYXVsdEdvanNFZGl0b3IuRU5VTV9BQ1RJT05TLk9VVEZMT1csXG4gICAgICAgICAgICAgICAgICBBdG9EZWZhdWx0R29qc0VkaXRvci5FTlVNX0FDVElPTlMuREVMRVRFLFxuICAgICAgICAgICAgICAgIF0pXG4gICAgICAgICAgICAgICAgLy8gICBuZXcgZ28uQmluZGluZygndmlzaWJsZScsICdpc05vdEFjdGlvbicsICh4KSA9PiAheCksXG4gICAgICAgICAgICAgIClcblxuICAgICAgICAgICAgICAvLyAgIHRoaXMuJChcbiAgICAgICAgICAgICAgLy8gICAgICAgZ28uUGFuZWwsXG4gICAgICAgICAgICAgIC8vICAgICAgICdIb3Jpem9udGFsJyxcbiAgICAgICAgICAgICAgLy8gICAgICAgeyBhbGlnbm1lbnQ6IGdvLlNwb3QuVG9wUmlnaHQsIGFsaWdubWVudEZvY3VzOiBnby5TcG90LkJvdHRvbSB9LFxuICAgICAgICAgICAgICAvLyAgICAgICB0aGlzLmdlbmVyYXRlQWN0aW9uR3JvdXAoW0RlZmF1bHRHb2pzRWRpdG9yLkVOVU1fQUNUSU9OUy5PTkxZX0RFVEFJTFNdKSxcbiAgICAgICAgICAgICAgLy8gICAgICAgbmV3IGdvLkJpbmRpbmcoJ3Zpc2libGUnLCAnJywgKHgpID0+IHtcbiAgICAgICAgICAgICAgLy8gICAgICAgICAgIHJldHVybiB4Py5pc09ubHlEZXRhaWxzICYmICF4Py5pc05vdEFjdGlvbiA/IHRydWUgOiBmYWxzZTtcbiAgICAgICAgICAgICAgLy8gICAgICAgfSksXG4gICAgICAgICAgICAgIC8vICAgKSxcbiAgICAgICAgICAgICksXG4gICAgICB9LFxuICAgICAgbmV3IGdvLkJpbmRpbmcoJ2xvY2F0aW9uJywgJ2xvYycsIGdvLlBvaW50LnBhcnNlKS5tYWtlVHdvV2F5KFxuICAgICAgICBnby5Qb2ludC5zdHJpbmdpZnlcbiAgICAgICksXG4gICAgICB0aGlzLiQoXG4gICAgICAgIGdvLlBhbmVsLFxuICAgICAgICAnQXV0bycsXG4gICAgICAgIHsgd2lkdGg6IHNpemUudywgaGVpZ2h0OiBzaXplLmggfSxcbiAgICAgICAgLy8gdGhpcy4kKGdvLlNoYXBlLCAnUm91bmRlZFJlY3RhbmdsZScsIHtcbiAgICAgICAgLy8gICAgIGZpbGw6ICd3aGl0ZScsXG4gICAgICAgIC8vICAgICBzdHJva2U6IEF0b0dvanNFZGl0b3JNb2RlbC5FTlVNX0NPTE9SUy5MSU5LX1dBVEVSLFxuICAgICAgICAvLyAgICAgLy8gc3Ryb2tlRGFzaEFycmF5OiBbNSwgNV0sXG4gICAgICAgIC8vIH0pLFxuICAgICAgICAvLyB0aGlzLiQoZ28uUGxhY2Vob2xkZXIsIHsgcGFkZGluZzogbmV3IGdvLk1hcmdpbigwLCAwLCAwLCAwKSwgdmlzaWJsZTogZmFsc2UgfSksXG4gICAgICAgIHRoaXMuJChcbiAgICAgICAgICBnby5QYW5lbCxcbiAgICAgICAgICAnQXV0bycsXG4gICAgICAgICAge1xuICAgICAgICAgICAgYWxpZ25tZW50Rm9jdXM6IGdvLlNwb3QuQ2VudGVyLFxuICAgICAgICAgICAgbWFyZ2luOiBuZXcgZ28uTWFyZ2luKDAsIDUwLCAwLCA1MCksXG4gICAgICAgICAgfSxcbiAgICAgICAgICB0aGlzLiQoZ28uU2hhcGUsICdSb3VuZGVkUmVjdGFuZ2xlJywge1xuICAgICAgICAgICAgZmlsbDogJ3doaXRlJyxcbiAgICAgICAgICAgIHN0cm9rZTogQXRvR29qc0VkaXRvck1vZGVsLkVOVU1fQ09MT1JTLkxJTktfV0FURVIsXG4gICAgICAgICAgICBzdHJva2VEYXNoQXJyYXk6IFs1LCA1XSxcbiAgICAgICAgICB9KSxcbiAgICAgICAgICB0aGlzLiQoXG4gICAgICAgICAgICBnby5QYW5lbCxcbiAgICAgICAgICAgICdUYWJsZScsXG4gICAgICAgICAgICB0aGlzLiQoZ28uVGV4dEJsb2NrLCB0aXRsZSwge1xuICAgICAgICAgICAgICByb3c6IDAsXG4gICAgICAgICAgICAgIG1hcmdpbjogbmV3IGdvLk1hcmdpbigzLCAwLCAxMCwgMCksXG4gICAgICAgICAgICAgIGRlc2lyZWRTaXplOiBuZXcgZ28uU2l6ZShzaXplLncgLSAyMCwgMTUpLFxuICAgICAgICAgICAgICBzdHJva2U6ICcjNDQ0NDQ0JyxcbiAgICAgICAgICAgICAgZm9udDogJ25vcm1hbCAxMHB0IEFyaWFsJyxcbiAgICAgICAgICAgICAgdGV4dEFsaWduOiAnY2VudGVyJyxcbiAgICAgICAgICAgICAgdG9vbFRpcDogdGhpcy4kKFxuICAgICAgICAgICAgICAgICdUb29sVGlwJyxcbiAgICAgICAgICAgICAgICB0aGlzLiQoZ28uVGV4dEJsb2NrLCB7XG4gICAgICAgICAgICAgICAgICBtYXJnaW46IDQsXG4gICAgICAgICAgICAgICAgICB0ZXh0OiB0aXRsZSxcbiAgICAgICAgICAgICAgICB9KVxuICAgICAgICAgICAgICApLFxuICAgICAgICAgICAgfSksXG4gICAgICAgICAgICB0aGlzLiQoXG4gICAgICAgICAgICAgIGdvLlBpY3R1cmUsXG4gICAgICAgICAgICAgIGljb24sXG4gICAgICAgICAgICAgIHtcbiAgICAgICAgICAgICAgICByb3c6IDEsXG4gICAgICAgICAgICAgICAgYWxpZ25tZW50OiBnby5TcG90LkNlbnRlcixcbiAgICAgICAgICAgICAgICBkZXNpcmVkU2l6ZTogbmV3IGdvLlNpemUoc2l6ZS53IC0gMjAsIHNpemUuaCAtIDY1KSxcbiAgICAgICAgICAgICAgICBpbWFnZVN0cmV0Y2g6IGdvLkdyYXBoT2JqZWN0LlVuaWZvcm0sXG4gICAgICAgICAgICAgIH0sXG4gICAgICAgICAgICAgIG5ldyBnby5CaW5kaW5nKFxuICAgICAgICAgICAgICAgICdzb3VyY2UnLFxuICAgICAgICAgICAgICAgICdwYXRoSW1hZ2UnLFxuICAgICAgICAgICAgICAgICh4KSA9PlxuICAgICAgICAgICAgICAgICAgeCA/P1xuICAgICAgICAgICAgICAgICAgQXRvR29qc0VkaXRvck1vZGVsLk5PREVfVEVNUExBVEVTW1xuICAgICAgICAgICAgICAgICAgICBBdG9Hb2pzRWRpdG9yTW9kZWwuRU5VTV9URU1QTEFURVMuUExBTlRfQ0VMTFxuICAgICAgICAgICAgICAgICAgXS5pY29uXG4gICAgICAgICAgICAgIClcbiAgICAgICAgICAgICksXG4gICAgICAgICAgICB0aGlzLiQoXG4gICAgICAgICAgICAgIGdvLlRleHRCbG9jayxcbiAgICAgICAgICAgICAge1xuICAgICAgICAgICAgICAgIHJvdzogMixcbiAgICAgICAgICAgICAgICBtYXJnaW46IG5ldyBnby5NYXJnaW4oMTAsIDAsIDMsIDApLFxuICAgICAgICAgICAgICAgIGVkaXRhYmxlOiB0cnVlLFxuICAgICAgICAgICAgICAgIGRlc2lyZWRTaXplOiBuZXcgZ28uU2l6ZShzaXplLncgLSAyMCwgMTUpLFxuICAgICAgICAgICAgICAgIHN0cm9rZTogJyMyQzJDMkMnLFxuICAgICAgICAgICAgICAgIGZvbnQ6ICdib2xkIDEwcHQgQXJpYWwnLFxuICAgICAgICAgICAgICAgIHRleHRBbGlnbjogJ2NlbnRlcicsXG4gICAgICAgICAgICAgICAgLy8gd3JhcDogZ28uVGV4dEJsb2NrLk5vbmUsXG4gICAgICAgICAgICAgICAgb3ZlcmZsb3c6IGdvLlRleHRCbG9jay5PdmVyZmxvd0VsbGlwc2lzLFxuICAgICAgICAgICAgICAgIHRvb2xUaXA6IHRoaXMuJChcbiAgICAgICAgICAgICAgICAgICdUb29sVGlwJyxcbiAgICAgICAgICAgICAgICAgIHRoaXMuJChcbiAgICAgICAgICAgICAgICAgICAgZ28uVGV4dEJsb2NrLFxuICAgICAgICAgICAgICAgICAgICB7XG4gICAgICAgICAgICAgICAgICAgICAgbWFyZ2luOiA0LFxuICAgICAgICAgICAgICAgICAgICB9LFxuICAgICAgICAgICAgICAgICAgICBuZXcgZ28uQmluZGluZygndGV4dCcsICduYW1lJykubWFrZVR3b1dheSgpXG4gICAgICAgICAgICAgICAgICApXG4gICAgICAgICAgICAgICAgKSxcbiAgICAgICAgICAgICAgfSxcbiAgICAgICAgICAgICAgbmV3IGdvLkJpbmRpbmcoJ3RleHQnLCAnbmFtZScpLm1ha2VUd29XYXkoKVxuICAgICAgICAgICAgKVxuICAgICAgICAgIClcbiAgICAgICAgKVxuICAgICAgKSxcblxuICAgICAgdGhpcy4kKGdvLlBhbmVsLCAnVmVydGljYWwnLCB7XG4gICAgICAgIGFsaWdubWVudDogZ28uU3BvdC5MZWZ0LFxuICAgICAgICBhbGlnbm1lbnRGb2N1czogbmV3IGdvLlNwb3QoMCwgMC41LCA4LCAwKSxcbiAgICAgIH0pLFxuICAgICAgdGhpcy4kKGdvLlBhbmVsLCAnVmVydGljYWwnLCB7XG4gICAgICAgIGFsaWdubWVudDogZ28uU3BvdC5SaWdodCxcbiAgICAgICAgYWxpZ25tZW50Rm9jdXM6IG5ldyBnby5TcG90KDEsIDAuNSwgLTgsIDApLFxuICAgICAgfSlcblxuICAgICAgLy8gdGhpcy5tYWtlUG9ydCgnVCcsIGdvLlNwb3QuVG9wLCBnby5TcG90LlRvcFNpZGUsIGZhbHNlLCB0cnVlKSxcbiAgICAgIC8vIHRoaXMubWFrZVBvcnQoJ0wnLCBnby5TcG90LkxlZnQsIGdvLlNwb3QuTGVmdFNpZGUsIGZhbHNlLCB0cnVlKSxcbiAgICAgIC8vIHRoaXMubWFrZVBvcnQoJ1InLCBnby5TcG90LlJpZ2h0LCBnby5TcG90LlJpZ2h0U2lkZSwgdHJ1ZSwgZmFsc2UpLFxuICAgICAgLy8gdGhpcy5tYWtlUG9ydCgnQicsIGdvLlNwb3QuQm90dG9tLCBnby5TcG90LkJvdHRvbVNpZGUsIHRydWU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gICAgfVxuICAgICAgICB9LFxuICAgICAgICBzZWxlY3Rpb25DaGFuZ2VkOiAoZSkgPT4ge1xuICAgICAgICAgIGlmICghZS5pc1NlbGVjdGVkICYmIGU/LmRhdGE/Lm9uU2VsZWN0ZWQpIHtcbiAgICAgICAgICAgIGU/LmRhdGE/Lm9uU2VsZWN0ZWQobnVsbCk7XG4gICAgICAgICAgfVxuICAgICAgICB9LFxuICAgICAgICBzZWxlY3Rpb25BZG9ybm1lbnRUZW1wbGF0ZTogdGhpcy5faW5pdGlhbE9wdGlvbnMuaXNSZWFkT25seVxuICAgICAgICAgID8gbnVsbFxuICAgICAgICAgIDogdGhpcy4kKFxuICAgICAgICAgICAgICBnby5BZG9ybm1lbnQsXG4gICAgICAgICAgICAgICdTcG90JyxcbiAgICAgICAgICAgICAgdGhpcy4kKFxuICAgICAgICAgICAgICAgIGdvLlBhbmVsLFxuICAgICAgICAgICAgICAgICdBdXRvJyxcbiAgICAgICAgICAgICAgICB0aGlzLiQoZ28uU2hhcGUsIHtcbiAgICAgICAgICAgICAgICAgIGZpbGw6IG51bGwsXG4gICAgICAgICAgICAgICAgICBzdHJva2U6ICdkb2RnZXJibHVlJyxcbiAgICAgICAgICAgICAgICAgIHN0cm9rZVdpZHRoOiA0LFxuICAgICAgICAgICAgICAgIH0pLFxuICAgICAgICAgICAgICAgIHRoaXMuJChnby5QbGFjZWhvbGRlciwgeyBwYWRkaW5nOiAzIH0pXG4gICAgICAgICAgICAgICksXG4gICAgICAgICAgICAgIHRoaXMuJChcbiAgICAgICAgICAgICAgICBnby5QYW5lbCxcbiAgICAgICAgICAgICAgICAnSG9yaXpvbnRhbCcsXG4gICAgICAgICAgICAgICAgeyBhbGlnbm1lbnQ6IGdvLlNwb3QuVG9wUmlnaHQsIGFsaWdubWVudEZvY3VzOiBnby5TcG90LkJvdHRvbSB9LFxuICAgICAgICAgICAgICAgIHRoaXMuZ2VuZXJhdGVBY3Rpb25Hcm91cChbXG4gICAgICAgICAgICAgICAgICBBdG9EZWZhdWx0R29qc0VkaXRvci5FTlVNX0FDVElPTlMuUkVOQU1FLFxuICAgICAgICAgICAgICAgICAgQXRvRGVmYXVsdEdvanNFZGl0b3IuRU5VTV9BQ1RJT05TLkRFVEFJTFMsXG4gICAgICAgICAgICAgICAgICBBdG9EZWZhdWx0R29qc0VkaXRvci5FTlVNX0FDVElPTlMuT1VURkxPVyxcbiAgICAgICAgICAgICAgICAgIEF0b0RlZmF1bHRHb2pzRWRpdG9yLkVOVU1fQUNUSU9OUy5ERUxFVEUsXG4gICAgICAgICAgICAgICAgXSlcbiAgICAgICAgICAgICAgKVxuICAgICAgICAgICAgKSxcbiAgICAgIH0sXG4gICAgICBuZXcgZ28uQmluZGluZygndmlzaWJsZScsICd2aXNpYmxlJyksXG4gICAgICBuZXcgZ28uQmluZGluZygnbW92YWJsZScsICdtb3ZhYmxlJyksXG4gICAgICBuZXcgZ28uQmluZGluZygnc2VsZWN0YWJsZScsICdzZWxlY3RhYmxlJyksXG4gICAgICBuZXcgZ28uQmluZGluZygnbG9jYXRpb24nLCAnbG9jJywgZ28uUG9pbnQucGFyc2UpLm1ha2VUd29XYXkoXG4gICAgICAgIGdvLlBvaW50LnN0cmluZ2lmeVxuICAgICAgKSxcblxuICAgICAgdGhpcy4kKFxuICAgICAgICBnby5QYW5lbCxcbiAgICAgICAgJ0F1dG8nLFxuICAgICAgICB7IHdpZHRoOiBzaXplLncsIGhlaWdodDogc2l6ZS5oIH0sXG4gICAgICAgIHRoaXMuJChnby5TaGFwZSwgJ1JvdW5kZWRSZWN0YW5nbGUnLCB7XG4gICAgICAgICAgZmlsbDogJ3doaXRlJyxcbiAgICAgICAgICBzdHJva2U6IEF0b0dvanNFZGl0b3JNb2RlbC5FTlVNX0NPTE9SUy5MSU5LX1dBVEVSLFxuICAgICAgICAgIC8vIHN0cm9rZURhc2hBcnJheTogWzUsIDVdLFxuICAgICAgICB9KSxcbiAgICAgICAgdGhpcy4kKFxuICAgICAgICAgIGdvLlBhbmVsLFxuICAgICAgICAgICdUYWJsZScsXG4gICAgICAgICAgLy8gdGhpcy4kKGdvLlRleHRCbG9jaywgdGl0bGUsIHtcbiAgICAgICAgICAvLyAgICAgcm93OiAwLFxuICAgICAgICAgIC8vICAgICBtYXJnaW46IG5ldyBnby5NYXJnaW4oMywgMywgMTAsIDMpLFxuICAgICAgICAgIC8vICAgICBtYXhTaXplOiBuZXcgZ28uU2l6ZShzaXplLncgLSAyMCwgTmFOKSxcbiAgICAgICAgICAvLyAgICAgc3Ryb2tlOiAnIzQ0NDQ0NCcsXG4gICAgICAgICAgLy8gICAgIGZvbnQ6ICdub3JtYWwgMTBwdCBBcmlhbCcsXG4gICAgICAgICAgLy8gICAgIHRleHRBbGlnbjogJ2NlbnRlcicsXG4gICAgICAgICAgLy8gfSksXG4gICAgICAgICAgdGhpcy4kKGdvLlBpY3R1cmUsIGljb24sIHtcbiAgICAgICAgICAgIHJvdzogMSxcbiAgICAgICAgICAgIGFsaWdubWVudDogZ28uU3BvdC5DZW50ZXIsXG4gICAgICAgICAgICBkZXNpcmVkU2l6ZTogbmV3IGdvLlNpemUoc2l6ZS53IC0gMjAsIHNpemUuaCAtIDUwKSxcbiAgICAgICAgICAgIGltYWdlU3RyZXRjaDogZ28uR3JhcGhPYmplY3QuVW5pZm9ybSxcbiAgICAgICAgICB9KSxcbiAgICAgICAgICB0aGlzLiQoXG4gICAgICAgICAgICBnby5UZXh0QmxvY2ssXG4gICAgICAgICAgICB7XG4gICAgICAgICAgICAgIHJvdzogMixcbiAgICAgICAgICAgICAgbWFyZ2luOiBuZXcgZ28uTWFyZ2luKDEwLCAwLCAzLCAwKSxcbiAgICAgICAgICAgICAgZWRpdGFibGU6IHRydWUsXG4gICAgICAgICAgICAgIGRlc2lyZWRTaXplOiBuZXcgZ28uU2l6ZShzaXplLncgLSAyMCwgMTUpLFxuICAgICAgICAgICAgICBzdHJva2U6ICcjMDAwRDQyJyxcbiAgICAgICAgICAgICAgZm9udDogJ2JvbGQgMTBwdCBBcmlhbCcsXG4gICAgICAgICAgICAgIHRleHRBbGlnbjogJ2NlbnRlcicsXG4gICAgICAgICAgICAgIC8vIHdyYXA6IGdvLlRleHRCbG9jay5Ob25lLFxuICAgICAgICAgICAgICBvdmVyZmxvdzogZ28uVGV4dEJsb2NrLk92ZXJmbG93RWxsaXBzaXMsXG4gICAgICAgICAgICAgIHRvb2xUaXA6IHRoaXMuJChcbiAgICAgICAgICAgICAgICAnVG9vbFRpcCcsXG4gICAgICAgICAgICAgICAgdGhpcy4kKFxuICAgICAgICAgICAgICAgICAgZ28uVGV4dEJsb2NrLFxuICAgICAgICAgICAgICAgICAge1xuICAgICAgICAgICAgICAgICAgICBtYXJnaW46IDQsXG4gICAgICAgICAgICAgICAgICB9LFxuICAgICAgICAgICAgICAgICAgbmV3IGdvLkJpbmRpbmcoJ3RleHQnLCAnbmFtZScpLm1ha2VUd29XYXkoKVxuICAgICAgICAgICAgICAgIClcbiAgICAgICAgICAgICAgKSxcbiAgICAgICAgICAgIH0sXG4gICAgICAgICAgICBuZXcgZ28uQmluZGluZygndGV4dCcsICduYW1lJykubWFrZVR3b1dheSgpXG4gICAgICAgICAgICAvLyB7XG4gICAgICAgICAgICAvLyAgICAgLy8gZGVmaW5lIGEgdG9vbHRpcCBmb3IgZWFjaCBub2RlIHRoYXQgZGlzcGxheXMgdGhlIGNvbG9yIGFzIHRleHRcbiAgICAgICAgICAgIC8vICAgICB0b29sVGlwOiB0aGlzLiQoXG4gICAgICAgICAgICAvLyAgICAgICAgICdUb29sVGlwJyxcbiAgICAgICAgICAgIC8vICAgICAgICAgdGhpcy4kKGdvLlRleHRCbG9jaywgeyBtYXJnaW46IDQgfSwgbmV3IGdvLkJpbmRpbmcoJ3RleHQnLCAnbmFtZScpKSxcbiAgICAgICAgICAgIC8vICAgICApLCAvLyBlbmQgb2YgQWRvcm5tZW50XG4gICAgICAgICAgICAvLyB9LFxuICAgICAgICAgIClcbiAgICAgICAgKVxuICAgICAgKSx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yLkVOVU1fQUNUSU9OUy5SRU5BTUUgJiZcbiAgICAgICAgICAgICAgICBvYmoucGFydD8uWydvYiddPy50eXBlICE9PVxuICAgICAgICAgICAgICAgICAgQXRvR29qc0VkaXRvck1vZGVsLkVOVU1fVEVNUExBVEVTLlRFWFRfTk9ERSAmJlxuICAgICAgICAgICAgICAgIEF0b0dvanNFZGl0b3JNb2RlbC5UWVBFX0NPTVBPTkVOVF9XQVRFUj8uaW5jbHVkZXMoXG4gICAgICAgICAgICAgICAgICBvYmoucGFydD8uWydvYiddPy5zeXN0ZW1UeXBlXG4gICAgICAgICAgICAgICAgKSAmJlxuICAgICAgICAgICAgICAgIG9iai5wYXJ0Py5bJ29iJ10/LnRvcG9sb2d5VHlwZSAhPT1cbiAgICAgICAgICAgICAgICAgIEFUT19FQ09NUE9ORU5UX1BMQU5UX1RZUEUuV0FURVIgJiZcbiAgICAgICAgICAgICAgICBvYmoucGFydD8uWydvYiddPy50b3BvbG9neVR5cGUgIT09XG4gICAgICAgICAgICAgICAgICBBVE9fRUNPTVBPTkVOVF9QTEFOVF9UWVBFLldBVEVSX1BMQU5UX0NFTExcbiAgICAgICAgICAgICAgKSB7XG4gICAgICAgICAgICAgICAgcmV0dXJuIGZhbHNlO1xuICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgIGlmIChcbiAgICAgICAgICAgICAgICBhY3Rpb24gPT09IEF0b0RlZmF1bHRHb2pzRWRpdG9yLkVOVU1fQUNUSU9OUy5PVVRGTE9XICYmXG4gICAgICAgICAgICAgICAgc2VsZi5wbGFudFNhdHVzID09PSBBVE9fRVBsYW50VHlwZS5CQVNJQ19QTEFOVCAmJlxuICAgICAgICAgICAgICAgIG9iai5wYXJ0Py5kYXRhPy50eXBlID09PVxuICAgICAgICAgICAgICAgICAgQXRvR29qc0VkaXRvck1vZGVsLkVOVU1fVEVNUExBVEVTLlRFWFRfTk9ERVxuICAgICAgICAgICAgICApIHtcbiAgICAgICAgICAgICAgICByZXR1cm4gZmFsc2U7XG4gICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgcmV0dXJuIHRydWU7XG4gICAgICAgICAgICB9XG4gICAgICAgICAgKS5tYXAoKGUpID0+IHtcbiAgICAgICAgICAgIGlmIChcbiAgICAgICAgICAgICAgQVRPX0VDT01QT05FTlRfUExBTlRfVFlQRS5TVEVBTSA9PT1cbiAgICAgICAgICAgICAgICBvYmoucGFydD8uWydvYiddPy50b3BvbG9neVR5cGUgJiZcbiAgICAgICAgICAgICAgZSA9PT0gQXRvRGVmYXVsdEdvanNFZGl0b3IuRU5VTV9BQ1RJT05TLklOU0lHSFRcbiAgICAgICAgICAgICkge1xuICAgICAgICAgICAgICByZXR1cm4gQXRvRGVmYXVsdEdvanNFZGl0b3IuRU5VTV9BQ1RJT05TLkRBVEFfTUFQUElORztcbiAgICAgICAgICAgIH1cbiAgICAgICAgICAgIGlmIChcbiAgICAgICAgICAgICAgZSA9PT0gQXRvRGVmYXVsdEdvanNFZGl0b3IuRU5VTV9BQ1RJT05TLkZMT1dfREVUQUlMUyAmJlxuICAgICAgICAgICAgICBvYmo/LnBhcnQ/Llsnb2InXT8uc3lzdGVtVHlwZSA9PT1cbiAgICAgICAgICAgICAgICBBdG9Hb2pzRWRpdG9yTW9kZWwuRU5VTV9UWVBFUy5DT09MSU5HX1RPV0VSXG4gICAgICAgICAgICApIHtcbiAgICAgICAgICAgICAgcmV0dXJuIEF0b0RlZmF1bHRHb2pzRWRpdG9yLkVOVU1fQUNUSU9OUy5GTE9XX0RFVEFJTFNfQU5EX1dJWkFSRDtcbiAgICAgICAgICAgIH1cbiAgICAgICAgICAgIHJldHVybiBlO1xuICAgICAgICAgIH0pO1xuICAgICAgICAgIHNlbGYuYWN0aW9ucyA9IGZpbHRlcmVkQWN0aW9ucy5tYXAoKGFjdGlvbikgPT4ge1xuICAgICAgICAgICAgbGV0IG9uQ2xpY2tGbiA9ICgpID0+IHt9O1xuICAgICAgICAgICAgc3dpdGNoIChhY3Rpb24pIHtcbiAgICAgICAgICAgICAgY2FzZSBBdG9EZWZhdWx0R29qc0VkaXRvci5FTlVNX0FDVElPTlMuSU5TSUdIVDpcbiAgICAgICAgICAgICAgY2FzZSBBdG9EZWZhdWx0R29qc0VkaXRvci5FTlVNX0FDVElPTlMuREFUQV9NQVBQSU5HOlxuICAgICAgICAgICAgICAgIG9uQ2xpY2tGbiA9ICgpID0+IHtcbiAgICAgICAgICAgICAgICAgIHNlbGYub25PcGVuSW5zaWdodE1hcHBpbmcuZW1pdCh7XG4gICAgICAgICAgICAgICAgICAgIG5vZGU6IG9iai5wYXJ0LFxuICAgICAgICAgICAgICAgICAgfSk7XG4gICAgICAgICAgICAgICAgfTtcbiAgICAgICAgICAgICAgICBicmVhaztcbiAgICAgICAgICAgICAgY2FzZSBBdG9EZWZhdWx0R29qc0VkaXRvci5FTlVNX0FDVElPTlMuREVUQUlMUzpcbiAgICAgICAgICAgICAgY2FzZSBBdG9EZWZhdWx0R29qc0VkaXRvci5FTlVNX0FDVElPTlMuRkxPV19ERVRBSUxTOlxuICAgICAgICAgICAgICBjYXNlIEF0b0RlZmF1bHRHb2pzRWRpdG9yLkVOVU1fQUNUSU9OUy5GTE9XX0RFVEFJTFNfQU5EX1dJWkFSRDpcbiAgICAgICAgICAgICAgICBvbkNsaWNrRm4gPSAoKSA9PiB7XG4gICAgICAgICAgICAgICAgICBzZWxmLm9uT3BlbkRldGFpbC5lbWl0KHtcbiAgICAgICAgICAgICAgICAgICAgbm9kZTogb2JqLnBhcnQsXG4gICAgICAgICAgICAgICAgICB9KTtcbiAgICAgICAgICAgICAgICB9O1xuICAgICAgICAgICAgICAgIGJyZWFrO1xuICAgICAgICAgICAgICBjYXNlIEF0b0RlZmF1bHRHb2pzRWRpdG9yLkVOVU1fQUNUSU9OUy5PTkxZX0RFVEFJTFM6XG4gICAgICAgICAgICAgICAgb25DbGlja0ZuID0gKCkgPT4ge1xuICAgICAgICAgICAgICAgICAgc2VsZi5vbk9wZW5EZXRhaWwuZW1pdCh7XG4gICAgICAgICAgICAgICAgICAgIG5vZGU6IG9iai5wYXJ0LFxuICAgICAgICAgICAgICAgICAgfSk7XG4gICAgICAgICAgICAgICAgfTtcbiAgICAgICAgICAgICAgICBicmVhaztcbiAgICAgICAgICAgICAgY2FzZSBBdG9EZWZhdWx0R29qc0VkaXRvci5FTlVNX0FDVElPTlMuQVNTRVRfUEFSQU1FVEVSUzpcbiAgICAgICAgICAgICAgICBvbkNsaWNrRm4gPSAoKSA9PiB7XG4gICAgICAgICAgICAgICAgICBzZWxmLm9uT3BlbkFzc2V0UGFyYW1ldGVyLmVtaXQoe1xuICAgICAgICAgICAgICAgICAgICBub2RlOiBvYmoucGFydCxcbiAgICAgICAgICAgICAgICAgIH0pO1xuICAgICAgICAgICAgICAgIH07XG4gICAgICAgICAgICAgICAgYnJlYWs7XG4gICAgICAgICAgICAgIGNhc2UgQXRvRGVmYXVsdEdvanNFZGl0b3IuRU5VTV9BQ1RJT05TLlJFTkFNRTpcbiAgICAgICAgICAgICAgICBvbkNsaWNrRm4gPSAoKSA9PiB7XG4gICAgICAgICAgICAgICAgICBpZiAoXG4gICAgICAgICAgICAgICAgICAgIG9iai5wYXJ0Py5kYXRhPy50eXBlID09PVxuICAgICAgICAgICAgICAgICAgICBBdG9Hb2pzRWRpdG9yTW9kZWwuRU5VTV9URU1QTEFURVMuVEVYVF9OT0RFXG4gICAgICAgICAgICAgICAgICApIHtcbiAgICAgICAgICAgICAgICAgICAgc2VsZi5vblJlbmFtZS5lbWl0KHtcbiAgICAgICAgICAgICAgICAgICAgICBsZWZ0OiBlPy5bJ1dyJ10/LnggLSA1MCxcbiAgICAgICAgICAgICAgICAgICAgICB0b3A6IGU/LlsnV3InXT8ueSxcbiAgICAgICAgICAgICAgICAgICAgICAuLi5vYmoucGFydD8uZGF0YSxcbiAgICAgICAgICAgICAgICAgICAgfSk7XG4gICAgICAgICAgICAgICAgICAgIC8vIExheW91dFNlcnZpY2Uuc2V0VG9vbFRpcENvbXBvbmVudERhdGFTdGF0aWMoe1xuICAgICAgICAgICAgICAgICAgICAvLyAgICAgY29tcG9uZW50OiBSZW5hbWVCb3hDb21wb25lbnQsXG4gICAgICAgICAgICAgICAgICAgIC8vICAgICBkYXRhOiB7XG4gICAgICAgICAgICAgICAgICAgIC8vICAgICAgICAgbGVmdDogZT8uWydXciddPy54IC0gNTAsXG4gICAgICAgICAgICAgICAgICAgIC8vICAgICAgICAgdG9wOiBlPy5bJ1dyJ10/LnksXG4gICAgICAgICAgICAgICAgICAgIC8vICAgICAgICAgLi4ub2JqLnBhcnQ/LmRhdGEsXG4gICAgICAgICAgICAgICAgICAgIC8vICAgICB9LFxuICAgICAgICAgICAgICAgICAgICAvLyB9KTtcbiAgICAgICAgICAgICAgICAgIH0gZWxzZSB7XG4gICAgICAgICAgICAgICAgICAgIHNlbGYuZWRpdFRleHQoZSwgb2JqKTtcbiAgICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICB9O1xuICAgICAgICAgICAgICAgIGJyZWFrO1xuICAgICAgICAgICAgICBjYXNlIEF0b0RlZmF1bHRHb2pzRWRpdG9yLkVOVU1fQUNUSU9OUy5PVVRGTE9XOlxuICAgICAgICAgICAgICAgIG9uQ2xpY2tGbiA9ICgpID0+IHtcbiAgICAgICAgICAgICAgICAgIHNlbGYuY2xpY2tOZXdOb2RlKFxuICAgICAgICAgICAgICAgICAgICBlLFxuICAgICAgICAgICAgICAgICAgICBfLm1lcmdlKG9iaiwge1xuICAgICAgICAgICAgICAgICAgICAgIGFjdGlvbk1vdmU6IHNlbGYuZHJhZ05ld05vZGUsIC8vIGRlZmluZWQgYmVsb3csIHRvIHN1cHBvcnQgZHJhZ2dpbmcgZnJvbSB0aGUgYnV0dG9uXG4gICAgICAgICAgICAgICAgICAgICAgX2RyYWdEYXRhOiB7XG4gICAgICAgICAgICAgICAgICAgICAgICAuLi57XG4gICAgICAgICAgICAgICAgICAgICAgICAgIHR5cGU6IEF0b0dvanNFZGl0b3JNb2RlbC5FTlVNX1RFTVBMQVRFUy5URVhUX05PREUsXG4gICAgICAgICAgICAgICAgICAgICAgICAgIG5hbWU6IGAke1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgIEF0b0dvanNFZGl0b3JNb2RlbC5BQ1RJT05fUklHSFRfTUVOVV9HUk9VUC5EQVRBX0JPWFxuICAgICAgICAgICAgICAgICAgICAgICAgICB9XyR7bW9tZW50KCkudmFsdWVPZigpfWAsXG4gICAgICAgICAgICAgICAgICAgICAgICAgIGNvbG9yOiBBdG9Hb2pzRWRpdG9yTW9kZWwuRU5VTV9DT0xPUlMuQkxVRSxcbiAgICAgICAgICAgICAgICAgICAgICAgIH0sXG4gICAgICAgICAgICAgICAgICAgICAgICAuLi5zZWxmLnNldFByb0ZPck5ld05vZGUoc2VsZiksXG4gICAgICAgICAgICAgICAgICAgICAgfSxcbiAgICAgICAgICAgICAgICAgICAgfSlcbiAgICAgICAgICAgICAgICAgICk7XG4gICAgICAgICAgICAgICAgfTtcbiAgICAgICAgICAgICAgICBicmVhaztcbiAgICAgICAgICAgICAgY2FzZSBBdG9EZWZhdWx0R29qc0VkaXRvci5FTlVNX0FDVElPTlMuREVMRVRFOlxuICAgICAgICAgICAgICAgIG9uQ2xpY2tGbiA9ICgpID0+IHtcbiAgICAgICAgICAgICAgICAgIHNlbGYuZGVsZXRlTm9kZShlKTtcbiAgICAgICAgICAgICAgICB9O1xuICAgICAgICAgICAgICAgIGJyZWFrO1xuICAgICAgICAgICAgICBjYXNlIEF0b0RlZmF1bHRHb2pzRWRpdG9yLkVOVU1fQUNUSU9OUy5DSEFOR0VfSUNPTjpcbiAgICAgICAgICAgICAgICBvbkNsaWNrRm4gPSAoKSA9PiB7XG4gICAgICAgICAgICAgICAgICBzZWxmLm9uT3BlbkNoYW5nZUljb24uZW1pdCh7XG4gICAgICAgICAgICAgICAgICAgIG5vZGU6IG9iai5wYXJ0LFxuICAgICAgICAgICAgICAgICAgfSk7XG4gICAgICAgICAgICAgICAgfTtcbiAgICAgICAgICAgICAgICBicmVhaztcbiAgICAgICAgICAgIH1cbiAgICAgICAgICAgIHJldHVybiB7XG4gICAgICAgICAgICAgIC4uLkF0b0RlZmF1bHRHb2pzRWRpdG9yLkFDVElPTlNbYWN0aW9uXSxcbiAgICAgICAgICAgICAgb25DbGljazogKCkgPT4ge1xuICAgICAgICAgICAgICAgIG9uQ2xpY2tGbigpO1xuICAgICAgICAgICAgICB9LFxuICAgICAgICAgICAgfTtcbiAgICAgICAgICB9KTtcbiAgICAgICAgfSxcbiAgICAgICAgJ0J1dHRvbkJvcmRlci5zdHJva2VXaWR0aCc6IDAsXG4gICAgICAgICdCdXR0b25Cb3JkZXIuZmlsbCc6ICd3aGl0ZScsXG4gICAgICB9LFxuICAgICAgLy8gbmV3IGdvLkJpbmRpbmcoJ3Zpc2libGUnLCAnaXNOb3REcmFnTmV3Tm9kZScsICh4KSA9PiAheCksXG4gICAgICAvLyBuZXcgZ28uQmluZGluZygndmlzaWJsZScsICdpc05vdERlbGV0ZScsICh4KSA9PiAheCksXG4gICAgICBuZXcgZ28uQmluZGluZygndmlzaWJsZScsICdpc05vdEFjdGlvbicsICh4KSA9PiAheCksXG4gICAgICB0aGlzLiQoZ28uVGV4dEJsb2NrLCB7XG4gICAgICAgIG1hcmdpbjogNCxcbiAgICAgICAgdGV4dDogJ1xcdWU0ODknLFxuICAgICAgICBmb250OiAnMjBweCBcIkZvbnQgQXdlc29tZSA2IFByb1wiJyxcbiAgICAgICAgY3Vyc29yOiAncG9pbnRlcicsXG4gICAgICB9KVxuICAgICk7XG4gIH1cblxuICBhc3luYyBzZXRQcm9GT3JOZXdOb2RlKHNlbGYpIHtcbiAgICBpZiAoc2VsZi5wbGFudFNhdHVzID09PSBBVE9fRVBsYW50VHlwZS5CQVNJQ19QTEFOVCkge1xuICAgICAgcmV0dXJuIHtcbiAgICAgICAgbW92YWJsZTogZmFsc2UsXG4gICAgICAgIGlzTm90QWxsb3dDb25uZWN0OiB0cnVlLFx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cbiAgICAgICAgYmFja2dyb3VuZDogJyM5MTlDQTUnLFxuICAgICAgICB3aWR0aDogNDAsXG4gICAgICAgIGhlaWdodDogNDAsXG4gICAgICAgIGFsaWdubWVudDogYWxpZ24sXG4gICAgICAgIHN0cmV0Y2g6IGhvcml6b250YWxcbiAgICAgICAgICA/IGdvLkdyYXBoT2JqZWN0Lkhvcml6b250YWxcbiAgICAgICAgICA6IGdvLkdyYXBoT2JqZWN0LlZlcnRpY2FsLFxuICAgICAgICBwb3J0SWQ6IG5hbWUsXG4gICAgICAgIGZyb21TcG90OiBzcG90LFxuICAgICAgICBmcm9tTGlua2FibGU6IG91dHB1dCxcbiAgICAgICAgdG9TcG90OiBzcG90LFxuICAgICAgICB0b0xpbmthYmxlOiBpbnB1dCxcbiAgICAgICAgY3Vyc29yOiB0aGlzLl9pbml0aWFsT3B0aW9ucy5pc1JlYWRPbmx5ID8gJycgOiAncG9pbnRlcicsXG4gICAgICAgIGFsaWdubWVudEZvY3VzOiBnby5TcG90LkNlbnRlciwgLy8gdOG6rXAgdHJ1bmcgdsOgbyB0cnVuZyB0w6JtIGPhu6dhIFBhbmVsXG4gICAgICAgIC8vIG1vdXNlRW50ZXI6IHRoaXMuX2luaXRpYWxPcHRpb25zLmlzUmVhZE9ubHlcbiAgICAgICAgLy8gICAgID8gbnVsbFxuICAgICAgICAvLyAgICAgOiAoZSwgcGFuZWwpID0+IHtcbiAgICAgICAgLy8gICAgICAgICAgIGNvbnN0IHRleHRCbG9jayA9IChwYW5lbCBhcyBhbnkpPy5maW5kT2JqZWN0KCd0ZXh0QmxvY2snKSBhcyBnby5UZXh0QmxvY2sgfCBudWxsO1xuICAgICAgICAvLyAgICAgICAgICAgaWYgKHRleHRCbG9jaykge1xuICAgICAgICAvLyAgICAgICAgICAgICAgIC8vICYmIG91dHB1dFxuICAgICAgICAvLyAgICAgICAgICAgICAgIHRleHRCbG9jay52aXNpYmxlID0gdHJ1ZTtcbiAgICAgICAgLy8gICAgICAgICAgICAgICBzd2l0Y2ggKG5hbWUpIHtcbiAgICAgICAgLy8gICAgICAgICAgICAgICAgICAgY2FzZSAnQic6XG4gICAgICAgIC8vICAgICAgICAgICAgICAgICAgIGNhc2UgJ1InOiB7XG4gICAgICAgIC8vICAgICAgICAgICAgICAgICAgICAgICBwYW5lbC5iYWNrZ3JvdW5kID0gJ3JnYigyNDMgMTQ0IDE3MSknO1xuICAgICAgICAvLyAgICAgICAgICAgICAgICAgICAgICAgYnJlYWs7XG4gICAgICAgIC8vICAgICAgICAgICAgICAgICAgIH1cbiAgICAgICAgLy8gICAgICAgICAgICAgICAgICAgY2FzZSAnVCc6XG4gICAgICAgIC8vICAgICAgICAgICAgICAgICAgIGNhc2UgJ0wnOiB7XG4gICAgICAgIC8vICAgICAgICAgICAgICAgICAgICAgICBwYW5lbC5iYWNrZ3JvdW5kID0gJ3JnYigxMDMsMTUxLDIwNyknO1xuICAgICAgICAvLyAgICAgICAgICAgICAgICAgICAgICAgYnJlYWs7XG4gICAgICAgIC8vICAgICAgICAgICAgICAgICAgIH1cbiAgICAgICAgLy8gICAgICAgICAgICAgICAgICAgZGVmYXVsdDoge1xuICAgICAgICAvLyAgICAgICAgICAgICAgICAgICAgICAgcGFuZWwuYmFja2dyb3VuZCA9ICdyZ2IoMjQzIDE0NCAxNzEpJztcbiAgICAgICAgLy8gICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAvLyAgICAgICAgICAgICAgIH1cbiAgICAgICAgLy8gICAgICAgICAgIH1cbiAgICAgICAgLy8gICAgICAgfSxcblxuICAgICAgICAvLyBtb3VzZUxlYXZlOiB0aGlzLl9pbml0aWFsT3B0aW9ucy5pc1JlYWRPbmx5XG4gICAgICAgIC8vICAgICA/IG51bGxcbiAgICAgICAgLy8gICAgIDogKGUsIHBhbmVsKSA9PiB7XG4gICAgICAgIC8vICAgICAgICAgICBjb25zdCB0ZXh0QmxvY2sgPSAocGFuZWwgYXMgYW55KS5maW5kT2JqZWN0KCd0ZXh0QmxvY2snKSBhcyBnby5UZXh0QmxvY2sgfCBudWxsO1xuICAgICAgICAvLyAgICAgICAgICAgaWYgKHRleHRCbG9jaykge1xuICAgICAgICAvLyAgICAgICAgICAgICAgIHRleHRCbG9jay52aXNpYmxlID0gZmFsc2U7IC8vIOG6qG4gVGV4dEJsb2NrIGtoaSBy4budaSBraOG7j2kgUGFuZWxcbiAgICAgICAgLy8gICAgICAgICAgIH1cbiAgICAgICAgLy8gICAgICAgICAgIHBhbmVsLmJhY2tncm91bmQgPSAndHJhbnNwYXJlbnQnO1xuICAgICAgICAvLyAgICAgICB9LFxuICAgICAgfSxcblxuICAgICAgdGhpcy4kKGdvLlNoYXBlLCAnRWxsaXBzZScsIHtcbiAgICAgICAgZmlsbDogJ3doaXRlJywgLy8gQmFja2dyb3VuZCBjb2xvciBvZiB0aGUgY2lyY2xlXG4gICAgICAgIHN0cm9rZVdpZHRoOiAyLFxuICAgICAgICBzdHJva2U6ICcjOTE5Q0E1JywgLy8gQm9yZGVyIGNvbG9yIG9mIHRoZSBjaXJjbGVcbiAgICAgICAgd2lkdGg6IDQwLCAvLyBNYXRjaCB0aGUgcGFuZWwncyB3aWR0aFxuICAgICAgICBoZWlnaHQ6IDQwLCAvLyBNYXRjaCB0aGUgcGFuZWwncyBoZWlnaHRcbiAgICAgIH0pXG5cbiAgICAgIC8vIHRoaXMuJChcbiAgICAgIC8vICAgICBnby5UZXh0QmxvY2ssXG4gICAgICAvLyAgICAge1xuICAgICAgLy8gICAgICAgICBuYW1lOiAndGV4dEJsb2NrJyxcbiAgICAgIC8vICAgICAgICAgbWFyZ2luOiA0LFxuICAgICAgLy8gICAgICAgICB0ZXh0OiAnXFx1ZjBkYScsIC8vIE3DoyBVbmljb2RlIHTGsMahbmcg4bupbmcgduG7m2kgZmEtY2FyZXQtbGVmdFxuICAgICAgLy8gICAgICAgICBmb250OiAnOTAwIDEycHggXCJGb250IEF3ZXNvbWUgNiBQcm9cIicsXG4gICAgICAvLyAgICAgICAgIHN0cm9rZTogJ3doaXRlJywgLy8gxJDhurd0IG3DoHUgY2jhu68gdGjDoG5oIG3DoHUgdHLhuq9uZ1xuICAgICAgLy8gICAgICAgICBjdXJzb3I6ICdwb2ludGVyJyxcbiAgICAgIC8vICAgICAgICAgdmlzaWJsZTogZmFsc2UsXG4gICAgICAvLyAgICAgfSxcbiAgICAgIC8vICAgICBuZXcgZ28uQmluZGluZygndGV4dCcsICduYW1lJywgKF8pID0+IHtcbiAgICAgIC8vICAgICAgICAgc3dpdGNoIChuYW1lKSB7XG4gICAgICAvLyAgICAgICAgICAgICBjYXNlICdUJzpcbiAgICAgIC8vICAgICAgICAgICAgIGNhc2UgJ0InOiB7XG4gICAgICAvLyAgICAgICAgICAgICAgICAgcmV0dXJuICdcXHVmMGQ3JztcbiAgICAgIC8vICAgICAgICAgICAgIH1cbiAgICAgIC8vICAgICAgICAgICAgIGNhc2UgJ0wnOlxuICAgICAgLy8gICAgICAgICAgICAgY2FzZSAnUic6IHtcbiAgICAgIC8vICAgICAgICAgICAgICAgICByZXR1cm4gJ1xcdWYwZGEnO1xuICAgICAgLy8gICAgICAgICAgICAgfVxuICAgICAgLy8gICAgICAgICAgICAgZGVmYXVsdDoge1xuICAgICAgLy8gICAgICAgICAgICAgICAgIHJldHVybiAnXFx1ZjBkNyc7XG4gICAgICAvLyAgICAgICAgICAgICB9XG4gICAgICAvLyAgICAgICAgIH1cbiAgICAgIC8vICAgICB9KSxcbiAgICAgIC8vICksXG4gICAgKTtcbiAgfVxuXG4gIG1ha2VQb3J0KG5hbWUsIGFsaWduLCBzcG90LCBvdXRwdXQsIGlucHV0KSB7XG4gICAgLy8gaWYgKHRoaXMuX2luaXRpYWxPcHRpb25zLmlzUmVhZE9ubHkpIHtcbiAgICAvLyAgICAgcmV0dXJuIHt9O1xuICAgIC8vIH1cbiAgICBjb25zdCBob3Jpem9udGFsID1cbiAgICAgIGFsaWduLmVxdWFscyhnby5TcG90LlRvcCkgfHwgYWxpZ24uZXF1YWxzKG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6BvIHRydW5nIHTDom0gY+G7p2EgUGFuZWxcbiAgICAgICAgbW91c2VFbnRlcjogdGhpcy5faW5pdGlhbE9wdGlvbnMuaXNSZWFkT25seVxuICAgICAgICAgID8gbnVsbFxuICAgICAgICAgIDogKGUsIHBhbmVsKSA9PiB7XG4gICAgICAgICAgICAgIGNvbnN0IHRleHRCbG9jayA9IChwYW5lbCBhcyBhbnkpPy5maW5kT2JqZWN0KFxuICAgICAgICAgICAgICAgICd0ZXh0QmxvY2snXG4gICAgICAgICAgICAgICkgYXMgZ28uVGV4dEJsb2NrIHwgbnVsbDtcbiAgICAgICAgICAgICAgaWYgKHRleHRCbG9jaykge1xuICAgICAgICAgICAgICAgIC8vICYmIG91dHB1dFxuICAgICAgICAgICAgICAgIHRleHRCbG9jay52aXNpYmxlID0gdHJ1ZTtcbiAgICAgICAgICAgICAgICBzd2l0Y2ggKG5hbWUpIHtcbiAgICAgICAgICAgICAgICAgIGNhc2UgJ0InOlxuICAgICAgICAgICAgICAgICAgY2FzZSAnUic6IHtcbiAgICAgICAgICAgICAgICAgICAgcGFuZWwuYmFja2dyb3VuZCA9ICdyZ2IoMjQzIDE0NCAxNzEpJztcbiAgICAgICAgICAgICAgICAgICAgYnJlYWs7XG4gICAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgICBjYXNlICdUJzpcbiAgICAgICAgICAgICAgICAgIGNhc2UgJ0wnOiB7XG4gICAgICAgICAgICAgICAgICAgIHBhbmVsLmJhY2tncm91bmQgPSAncmdiKDEwMywxNTEsMjA3KSc7XG4gICAgICAgICAgICAgICAgICAgIGJyZWFrO1xuICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgICAgZGVmYXVsdDoge1xuICAgICAgICAgICAgICAgICAgICBwYW5lbC5iYWNrZ3JvdW5kID0gJ3JnYigyNDMgMTQ0IDE3MSknO1xuICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgfSxcblxuICAgICAgICBtb3VzZUxlYXZlOiB0aGlzLl9pbml0aWFsT3B0aW9ucy5pc1JlYWRPbmx5XG4gICAgICAgICAgPyBudWxsXG4gICAgICAgICAgOiAoZSwgcGFuZWwpID0+IHtcbiAgICAgICAgICAgICAgY29uc3QgdGV4dEJsb2NrID0gKHBhbmVsIGFzIGFueSkuZmluZE9iamVjdChcbiAgICAgICAgICAgICAgICAndGV4dEJsb2NrJ1xuICAgICAgICAgICAgICApIGFzIGdvLlRleHRCbG9jayB8IG51bGw7XG4gICAgICAgICAgICAgIGlmICh0ZXh0QmxvY2spIHtcbiAgICAgICAgICAgICAgICB0ZXh0QmxvY2sudmlzaWJsZSA9IGZhbHNlOyAvLyDhuqhuIFRleHRCbG9jayBraGkgcuG7nWkga2jhu49pIFBhbmVsXG4gICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgcGFuZWwuYmFja2dyb3VuZCA9ICd0cmFuc3BhcmVudCc7XG4gICAgICAgICAgICB9LFxuICAgICAgfSxcblxuICAgICAgbmV3IGdvLkJpbmRpbmcoJ3Zpc2libGUnLCAnJywgZnVuY3Rpb24gKGRhdGEpIHtcbiAgICAgICAgaWYgKGRhdGE/LmlzTm90QWxsb3dDb25uZWN0KSB7XG4gICAgICAgICAgcmV0dXJuIGZhbHNlO1xuICAgICAgICB9XG4gICAgICAgIGlmIChkYXRhPy5zZWxlY3RhYmxlID09PSBmYWxzZSAmJiAhZGF0YT8uaXNBbGxvd0Nvbm5lY3QpIHtcbiAgICAgICAgICByZXR1cm4gZmFsc2U7XG4gICAgICAgIH1cbiAgICAgICAgaWYgKGRhdGE/LmZsb3dPZlBsYW50Q2VsbCkge1xuICAgICAgICAgIGlmIChcbiAgICAgICAgICAgIGRhdGE/LmZsb3dPZlBsYW50Q2VsbCA9PT0gQVRPX0VOVU1fRkxPV19ESVJFQ1RJT04uSU5GTE9XICYmXG4gICAgICAgICAgICBuYW1lID09PSAnTCdcbiAgICAgICAgICApIHtcbiAgICAgICAgICAgIHJldHVybiB0cnVlO1xuICAgICAgICAgIH1cbiAgICAgICAgICBpZiAoXG4gICAgICAgICAgICBkYXRhPy5mbG93T2ZQbGFudENlbGwgPT09IEFUT19FTlVNX0ZMT1dfRElSRUNUSU9OLk9VVEZMT1cgJiZcbiAgICAgICAgICAgIG5hbWUgPT09ICdSJ1xuICAgICAgICAgICkge1xuICAgICAgICAgICAgcmV0dXJuIHRydWU7XG4gICAgICAgICAgfVxuICAgICAgICAgIHJldHVybiBmYWxzZTtcbiAgICAgICAgfVxuICAgICAgICBzd2l0Y2ggKG5hbWUpIHtcbiAgICAgICAgICBjYXNlICdCJzpcbiAgICAgICAgICBjYXNlICdSJzoge1xuICAgICAgICAgICAgcmV0dXJuICFkYXRhPy5pc05vdFNlbGVjdE91dHB1dDtcbiAgICAgICAgICB9XG4gICAgICAgICAgY2FzZSAnVCc6XG4gICAgICAgICAgY2FzZSAnTCc6IHtcbiAgICAgICAgICAgIHJldHVybiAhZGF0YT8uaXNOb3RTZWxlY3RJbnB1dDtcbiAgICAgICAgICB9XG4gICAgICAgICAgZGVmYXVsdDoge1xuICAgICAgICAgICAgcmV0dXJuIHRydWU7XG4gICAgICAgICAgfVxuICAgICAgICB9XG4gICAgICB9KSxcblxuICAgICAgdGhpcy4kKFxuICAgICAgICBnby5UZXh0QmxvY2ssXG4gICAgICAgIHtcbiAgICAgICAgICBuYW1lOiAndGV4dEJsb2NrJyxcbiAgICAgICAgICBtYXJnaW46IDQsXG4gICAgICAgICAgdGV4dDogJ1xcdWYwZGEnLCAvLyBNw6MgVW5pY29kZSB0xrDGoW5nIOG7qW5nIHbhu5tpIGZhLWNhcmV0LWxlZnRcbiAgICAgICAgICBmb250OiAnOTAwIDEycHggXCJGb250IEF3ZXNvbWUgNiBQcm9cIicsXG4gICAgICAgICAgc3Ryb2tlOiAnd2hpdGUnLCAvLyDEkOG6t3QgbcOgdSBjaOG7ryB0aMOgbmggbcOgdSB0cuG6r25nXG4gICAgICAgICAgY3Vyc29yOiAncG9pbnRlcicsXG4gICAgICAgICAgdmlzaWJsZTogZmFsc2UsXG4gICAgICAgIH0sXG4gICAgICAgIG5ldyBnby5CaW5kaW5nKCd0ZXh0JywgJ25hbWUnLCAoXykgPT4ge1xuICAgICAgICAgIHN3aXRjaCAobmFtZSkge1xuICAgICAgICAgICAgY2FzZSAnVCc6XG4gICAgICAgICAgICBjYXNlICdCJzoge1xuICAgICAgICAgICAgICByZXR1cm4gJ1xcdWYwZDcnO1xuICAgICAgICAgICAgfVxuICAgICAgICAgICAgY2FzZSAnTCc6XG4gICAgICAgICAgICBjYXNlICdSJzoge1xuICAgICAgICAgICAgICByZXR1cm4gJ1xcdWYwZGEnO1xuICAgICAgICAgICAgfVxuICAgICAgICAgICAgZGVmYXVsdDoge1xuICAgICAgICAgICAgICByZXR1cm4gJ1xcdWYwZDcnO1xuICAgICAgICAgICAgfVxuICAgICAgICAgIH1cbiAgICAgICAgfSlcbiAgICAgIClcbiAgICApO1xuXG4gICAgLy8gcmV0dXJuIHRoaXMuJChnby5TaGFwZSwge1xuICAgIC8vICAgICBmaWxsOiAndHJhbnNwYXJlbnQnLCAvLyBjaGFuZ2VkIHRvIGEgY29sb3IgaW4gdGhlIG1vdXNlRW50ZXIgZXZlbnQgaGFuZGxlclxuICAgIC8vICAgICBzdHJva2VXaWR0aDogMCwgLy8gbm8gc3Ryb2tlXG4gICAgLy8gICAgIHdpZHRoOiBob3Jpem9udGFsID8gTmFOIDogOCwgLy8gaWYgbm90IHN0cmV0Y2hpbmcgaG9yaXpvbnRhbGx5LCBqdXN0IDggd2lkZVxuICAgIC8vICAgICBoZWlnaHQ6ICFob3Jpem9udGFsID8gTmFOIDogOCwgLy8gaWYgbm90IHN0cmV0Y2hpbmcgdmVydGljYWxseSwganVzdCA4IHRhbGxcbiAgICAvLyAgICAgYWxpZ25tZW50OiBhbGlnbiwgLy8gYWxpZ24gdGhlIHBvcnQgb24gdGhlIG1haW4gU2hhcGVcbi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hvbGRlciwgeyBwYWRkaW5nOiBuZXcgZ28uTWFyZ2luKDAsIDAsIDAsIDApIH0pLFxuICAgICAgKVxuICAgICAgLy8gdGhpcy4kKGdvLlRleHRCbG9jaywgdGl0bGUsIHtcbiAgICAgIC8vICAgICByb3c6IDAsXG4gICAgICAvLyAgICAgbWFyZ2luOiBuZXcgZ28uTWFyZ2luKDAsIDAsIDAsIDApLFxuICAgICAgLy8gICAgIHN0cm9rZTogJyM0NDQ0NDQnLFxuICAgICAgLy8gICAgIGZvbnQ6ICdub3JtYWwgMTBwdCBBcmlhbCcsXG4gICAgICAvLyAgICAgdGV4dEFsaWduOiAnY2VudGVyJyxcbiAgICAgIC8vICAgICBhbGlnbm1lbnQ6IGdvLlNwb3QuTGVmdCxcbiAgICAgIC8vIH0sXG4gICAgICAvLyBuZXcgZ28uQmluZGluZygndGV4dCcsICdrZXknKS5tYWtlVHdvV2F5KCksKSxcblxuICAgICAgLy8gdGhpcy4kKFxuICAgICAgLy8gICAgIGdvLlBhbmVsLFxuICAgICAgLy8gICAgICdUYWJsZScsXG4gICAgICAvLyAgICAge1xuICAgICAgLy8gICAgICAgICBhbGlnbm1lbnQ6IGdvLlNwb3QuVG9wTGVmdCxcbiAgICAgIC8vICAgICAgICAgYWxpZ25tZW50Rm9jdXM6IG5ldyBnby5TcG90KDAsIDAsIC0xMCwgLTEwKSxcbiAgICAgIC8vICAgICAgICAgLy8gcGFkZGluZzogbmV3IGdvLk1hcmdpbigwLCAwLCA1MCwgMCksXG4gICAgICAvLyAgICAgfSxcbiAgICAgIC8vICAgICB0aGlzLiQoXG4gICAgICAvLyAgICAgICAgIGdvLlBhbmVsLFxuICAgICAgLy8gICAgICAgICAnSG9yaXpvbnRhbCcsXG4gICAgICAvLyAgICAgICAgIHtcbiAgICAgIC8vICAgICAgICAgICAgIHJvdzogMCxcbiAgICAgIC8vICAgICAgICAgICAgIGFsaWdubWVudDogZ28uU3BvdC5MZWZ0LFxuICAgICAgLy8gICAgICAgICB9LFxuICAgICAgLy8gICAgICAgICB0aGlzLiQoZ28uUGljdHVyZSwgaWNvbiwge1xuICAgICAgLy8gICAgICAgICAgICAgcm93OiAwLFxuICAgICAgLy8gICAgICAgICAgICAgLy8gYWxpZ25tZW50OiBnby5TcG90LkNlbnRlcixcbiAgICAgIC8vICAgICAgICAgICAgIGFsaWdubWVudDogZ28uU3BvdC5MZWZ0LFxuICAgICAgLy8gICAgICAgICAgICAgbWF4U2l6ZTogbmV3IGdvLlNpemUoNDAsIDQwKSxcbiAgICAgIC8vICAgICAgICAgICAgIGltYWdlU3RyZXRjaDogZ28uR3JhcGhPYmplY3QuVW5pZm9ybSxcbiAgICAgIC8vICAgICAgICAgfSksXG4gICAgICAvLyAgICAgICAgIHRoaXMuJChcbiAgICAgIC8vICAgICAgICAgICAgIGdvLlBhbmVsLFxuICAgICAgLy8gICAgICAgICAgICAgJ1RhYmxlJyxcbiAgICAgIC8vICAgICAgICAgICAgIHtcbiAgICAgIC8vICAgICAgICAgICAgICAgICBjb2x1bW46IDEsXG4gICAgICAvLyAgICAgICAgICAgICAgICAgZGVmYXVsdEFsaWdubWVudDogZ28uU3BvdC5MZWZ0LFxuICAgICAgLy8gICAgICAgICAgICAgICAgIGFsaWdubWVudEZvY3VzOiBuZXcgZ28uU3BvdCgwLCAwLCAwLCAyMCksXG4gICAgICAvLyAgICAgICAgICAgICB9LFxuICAgICAgLy8gICAgICAgICAgICAgdGhpcy4kKGdvLlRleHRCbG9jaywgdGl0bGUsIHtcbiAgICAgIC8vICAgICAgICAgICAgICAgICByb3c6IDAsXG4gICAgICAvLyAgICAgICAgICAgICAgICAgbWFyZ2luOiBuZXcgZ28uTWFyZ2luKDMsIDMsIDUsIDEwKSxcbiAgICAgIC8vICAgICAgICAgICAgICAgICAvLyBtYXhTaXplOiBuZXcgZ28uU2l6ZShzaXplLncgLSAyMCwgTmFOKSxcbiAgICAgIC8vICAgICAgICAgICAgICAgICBzdHJva2U6ICcjNDQ0NDQ0JyxcbiAgICAgIC8vICAgICAgICAgICAgICAgICBmb250OiAnbm9ybWFsIDEwcHQgQXJpYWwnLFxuICAgICAgLy8gICAgICAgICAgICAgICAgIHRleHRBbGlnbjogJ2NlbnRlcicsXG4gICAgICAvLyAgICAgICAgICAgICAgICAgYWxpZ25tZW50OiBnby5TcG90LkxlZnQsXG4gICAgICAvLyAgICAgICAgICAgICB9KSxcbiAgICAgIC8vICAgICAgICAgICAgIHRoaXMuJChcbiAgICAgIC8vICAgICAgICAgICAgICAgICBnby5UZXh0QmxvY2ssXG4gICAgICAvLyAgICAgICAgICAgICAgICAge1xuICAgICAgLy8gICAgICAgICAgICAgICAgICAgICByb3c6IDEsXG4gICAgICAvLyAgICAgICAgICAgICAgICAgICAgIG1hcmdpbjogbmV3IGdvLk1hcmdpbigwLCAzLCAzLCAxMCksXG4gICAgICAvLyAgICAgICAgICAgICAgICAgICAgIGVkaXRhYmxlOiB0cnVlLFxuICAgICAgLy8gICAgICAgICAgICAgICAgICAgICAvLyBtYXhTaXplOiBuZXcgZ28uU2l6ZShzaXplLncgLSAyMCwgNDApLFxuICAgICAgLy8gICAgICAgICAgICAgICAgICAgICBzdHJva2U6ICcjMDAwRDQyJyxcbiAgICAgIC8vICAgICAgICAgICAgICAgICAgICAgZm9udDogJ2JvbGQgMTBwdCBBcmlhbCcsXG4gICAgICAvLyAgICAgICAgICAgICAgICAgICAgIHRleHRBbGlnbjogJ2NlbnRlcicsXG4gICAgICAvLyAgICAgICAgICAgICAgICAgICAgIHdyYXA6IGdvLlRleHRCbG9jay5Ob25lLFxuICAgICAgLy8gICAgICAgICAgICAgICAgICAgICBvdmVyZmxvdzogZ28uVGV4dEJsb2NrLk92ZXJmbG93RWxsaXBzaXMsXG4gICAgICAvLyAgICAgICAgICAgICAgICAgfSxcbiAgICAgIC8vICAgICAgICAgICAgICAgICBuZXcgZ28uQmluZGluZygndGV4dCcsICduYW1lJykubWFrZVR3b1dheSgpLFxuICAgICAgLy8gICAgICAgICAgICAgICAgIHtcbiAgICAgIC8vICAgICAgICAgICAgICAgICAgICAgLy8gZGVmaW5lIGEgdG9vbHRpcCBmb3IgZWFjaCBub2RlIHRoYXQgZGlzcGxheXMgdGhlIGNvbG9yIGFzIHRleHRcbiAgICAgIC8vICAgICAgICAgICAgICAgICAgICAgdG9vbFRpcDogdGhpcy4kKFxuICAgICAgLy8gICAgICAgICAgICAgICAgICAgICAgICAgJ1Rvb2xUaXAnLFxuICAgICAgLy8gICAgICAgICAgICAgICAgICAgICAgICAgdGhpcy4kKGdvLlRleHRCbG9jaywgeyBtYXJnaW46IDQgfSwgbmV3IGdvLkJpbmRpbmcoJ3RleHQnLCAnbmFtZScpKSxcbiAgICAgIC8vICAgICAgICAgICAgICAgICAgICAgKSwgLy8gZW5kIG9mIEFkb3JubWVudFxuICAgICAgLy8gICAgICAgICAgICAgICAgIH0sXG4gICAgICAvLyAgICAgICAgICAgICApLFxuICAgICAgLy8gICAgICAgICApLFxuICAgICAgLy8gICAgICksXG4gICAgICAvLyApLFxuICAgICk7XG4gICAgdGhpcy5teURpYWdyYW0uZ3JvdXBUZW1wbGF0ZU1hcC5zZXQodGl0bGUsIG5vZGUpO1xuICB9XG5cbiAgbWFrZUdyb3VwVGVtcGxhdGUoXG4gICAgaWNvbixcbiAgICB0aXRsZSxcbiAgICBzaXplOiB7IHc6IG51bWJlcjsgaDogbnVtYmVyIH0gPSB7IHc6IDgwLCBoOiA4MCB9XG4gICkge1xuICAgIGxldCBub2RlID0gdGhpcy4kKFxuICAgICAgZ28uR3JvdXAsXG4gICAgICAnU3BvdCcsXG4gICAgICB7XG4gICAgICAgIC8vICAgICAvLyBsYXlvdXQ6IHRoaXMuJChnby5Gb3JjZURpcmVjdGVkTGF5b3V0ICwge1xuICAgICAgICAvLyAgICAgLy8gICAgIGRpcmVjdGlvbjogMCxcbiAgICAgICAgLy8gICAgIC8vICAgICBzZXRzUG9ydFNwb3RzOiBmYWxzZSxcbiAgICAgICAgLy8gICAgIC8vIH0pLFxu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Uoc2l6ZS53IC0gMjAsIE5hTiksXG4gICAgICAvLyAgICAgICAgIHN0cm9rZTogJyM0NDQ0NDQnLFxuICAgICAgLy8gICAgICAgICBmb250OiAnbm9ybWFsIDhwdCBBcmlhbCcsXG4gICAgICAvLyAgICAgICAgIHRleHRBbGlnbjogJ2NlbnRlcicsXG4gICAgICAvLyAgICAgfSksXG4gICAgICAvLyAgICAgdGhpcy4kKGdvLlBpY3R1cmUsIGljb24sIHtcbiAgICAgIC8vICAgICAgICAgcm93OiAxLFxuICAgICAgLy8gICAgICAgICBhbGlnbm1lbnQ6IGdvLlNwb3QuQ2VudGVyLFxuICAgICAgLy8gICAgICAgICBtYXhTaXplOiBuZXcgZ28uU2l6ZSg0MCwgNDApLFxuICAgICAgLy8gICAgICAgICBpbWFnZVN0cmV0Y2g6IGdvLkdyYXBoT2JqZWN0LlVuaWZvcm0sXG4gICAgICAvLyAgICAgfSksXG4gICAgICAvLyAgICAgdGhpcy4kKFxuICAgICAgLy8gICAgICAgICBnby5UZXh0QmxvY2ssXG4gICAgICAvLyAgICAgICAgIHtcbiAgICAgIC8vICAgICAgICAgICAgIHJvdzogMixcbiAgICAgIC8vICAgICAgICAgICAgIG1hcmdpbjogbmV3IGdvLk1hcmdpbigxMCwgMywgMywgMyksXG4gICAgICAvLyAgICAgICAgICAgICBlZGl0YWJsZTogdHJ1ZSxcbiAgICAgIC8vICAgICAgICAgICAgIG1heFNpemU6IG5ldyBnby5TaXplKHNpemUudyAtIDIwLCA0MCksXG4gICAgICAvLyAgICAgICAgICAgICBzdHJva2U6ICcjMDAwRDQyJyxcbiAgICAgIC8vICAgICAgICAgICAgIGZvbnQ6ICdib2xkIDhwdCBBcmlhbCcsXG4gICAgICAvLyAgICAgICAgICAgICB0ZXh0QWxpZ246ICdjZW50ZXInLFxuICAgICAgLy8gICAgICAgICAgICAgd3JhcDogZ28uVGV4dEJsb2NrLk5vbmUsXG4gICAgICAvLyAgICAgICAgICAgICBvdmVyZmxvdzogZ28uVGV4dEJsb2NrLk92ZXJmbG93RWxsaXBzaXMsXG4gICAgICAvLyAgICAgICAgIH0sXG4gICAgICAvLyAgICAgICAgIG5ldyBnby5CaW5kaW5nKCd0ZXh0JywgJ25hbWUnKS5tYWtlVHdvV2F5KCksXG4gICAgICAvLyAgICAgICAgIHtcbiAgICAgIC8vICAgICAgICAgICAgIC8vIGRlZmluZSBhIHRvb2x0aXAgZm9yIGVhY2ggbm9kZSB0aGF0IGRpc3BsYXlzIHRoZSBjb2xvciBhcyB0ZXh0XG4gICAgICAvLyAgICAgICAgICAgICB0b29sVGlwOiB0aGlzLiQoJ1Rvb2xUaXAnLCB0aGlzLiQoZ28uVGV4dEJsb2NrLCB7IG1hcmdpbjogNCB9LCBuZXcgZ28uQmluZGluZygndGV4dCcsICduYW1lJykpKSwgLy8gZW5kIG9mIEFkb3JubWVudFxuICAgICAgLy8gICAgICAgICB9LFxuICAgICAgLy8gICAgICksXG4gICAgICAvLyAgICAgLy8gbmV3IGdvLkJpbmRpbmcoJ2xvY2F0aW9uJywgJ2xvYycsIGdvLlBvaW50LnBhcnNlKS5tYWtlVHdvV2F5KGdvLlBvaW50LnN0cmluZ2lmeSksXG4gICAgICAvLyApLFxuXG4gICAgICB0aGlzLiQoXG4gICAgICAgIGdvLlBhbmVsLFxuICAgICAgICAnVGFibGUnLFxuICAgICAgICB7XG4gICAgICAgICAgYWxpZ25tZW50OiBnby5TcG90LlRvcExlZnQsXG4gICAgICAgICAgYWxpZ25tZW50Rm9jdXM6IG5ldyBnby5TcG90KDAsIDAsIC0xMCwgLTEwKSxcbiAgICAgICAgICAvLyBwYWRkaW5nOiBuZXcgZ28uTWFyZ2luKDAsIDAsIDUwLCAwKSxcbiAgICAgICAgfSxcbiAgICAgICAgdGhpcy4kKFxuICAgICAgICAgIGdvLlBhbmVsLFxuICAgICAgICAgICdIb3Jpem9udGFsJyxcbiAgICAgICAgICB7XG4gICAgICAgICAgICByb3c6IDAsXG4gICAgICAgICAgICBhbGlnbm1lbnQ6IGdvLlNwb3QuTGVmdCxcbiAgICAgICAgICB9LFxuICAgICAgICAgIHRoaXMuJChnby5QaWN0dXJlLCBpY29uLCB7XG4gICAgICAgICAgICByb3c6IDAsXG4gICAgICAgICAgICAvLyBhbGlnbm1lbnQ6IGdvLlNwb3QuQ2VudGVyLFxuICAgICAgICAgICAgYWxpZ25tZW50OiBnby5TcG90LkxlZnQsXG4gICAgICAgICAgICBtYXhTaXplOiBuZXcgZ28uU2l6ZSg0MCwgNDApLFxuICAgICAgICAgICAgaW1hZ2VTdHJldGNoOiBnby5HcmFwaE9iamVjdC5Vbmlmb3JtLFxuICAgICAgICAgIH0pLFxuICAgICAgICAgIHRoaXMuJChcbiAgICAgICAgICAgIGdvLlBhbmVsLFxuICAgICAgICAgICAgJ1RhYmxlJyxcbiAgICAgICAgICAgIHtcbiAgICAgICAgICAgICAgY29sdW1uOiAxLFxuICAgICAgICAgICAgICBkZWZhdWx0QWxpZ25tZW50OiBnby5TcG90LkxlZnQsXG4gICAgICAgICAgICAgIGFsaWdubWVudEZvY3VzOiBuZXcgZ28uU3BvdCgwLCAwLCAwLCAyMCksXG4gICAgICAgICAgICB9LFxuICAgICAgICAgICAgdGhpcy4kKFxuICAgICAgICAgICAgICBnby5UZXh0QmxvY2ssXG4gICAgICAgICAgICAgIEF0b0dvanNFZGl0b3JNb2RlbC5URU1QTEFURV9EVVBMSUNBVEVbdGl0bGVdID8/IHRpdGxlLFxuICAgICAgICAgICAgICB7XG4gICAgICAgICAgICAgICAgcm93OiAwLFxuICAgICAgICAgICAgICAgIG1hcmdpbjogbmV3IGdvLk1hcmdpbigzLCAzLCA1LCAxMCksXG4gICAgICAgICAgICAgICAgLy8gbWF4U2l6ZTogbmV3IGdvLlNpemUoc2l6ZS53IC0gMjAsIE5hTiksXG4gICAgICAgICAgICAgICAgc3Ryb2tlOiAnIzQ0NDQ0NCcsXG4gICAgICAgICAgICAgICAgZm9udDogJ25vcm1hbCAxMHB0IEFyaWFsJyxcbiAgICAgICAgICAgICAgICB0ZXh0QWxpZ246ICdjZW50ZXInLFxuICAgICAgICAgICAgICAgIGFsaWdubWVudDogZ28uU3BvdC5MZWZ0LFxuICAgICAgICAgICAgICB9XG4gICAgICAgICAgICApLFxuICAgICAgICAgICAgdGhpcy4kKFxuICAgICAgICAgICAgICBnby5UZXh0QmxvY2ssXG4gICAgICAgICAgICAgIHtcbiAgICAgICAgICAgICAgICByb3c6IDEsXG4gICAgICAgICAgICAgICAgbWFyZ2luOiBuZXcgZ28uTWFyZ2luKDAsIDMsIDMsIDEwKSxcbiAgICAgICAgICAgICAgICBlZGl0YWJsZTogdHJ1ZSxcbiAgICAgICAgICAgICAgICAvLyBtYXhTaXplOiBuZXcgZ28uU2l6ZShzaXplLncgLSAyMCwgNDApLFxuICAgICAgICAgICAgICAgIHN0cm9rZTogJyMwMDBENDInLFxuICAgICAgICAgICAgICAgIGZvbnQ6ICdib2xkIDEwcHQgQXJpYWwnLFxuICAgICAgICAgICAgICAgIHRleHRBbGlnbjogJ2NlbnRlcicsXG4gICAgICAgICAgICAgICAgd3JhcDogZ28uVGV4dEJsb2NrLk5vbmUsXG4gICAgICAgICAgICAgICAgb3ZlcmZsb3c6IGdvLlRleHRCbG9jay5PdmVyZmxvd0VsbGlwc2lzLFxuICAgICAgICAgICAgICB9LFxuICAgICAgICAgICAgICBuZXcgZ28uQmluZGluZygndGV4dCcsICduYW1lJykubWFrZVR3b1dheSgpLFxuICAgICAgICAgICAgICB7XG4gICAgICAgICAgICAgICAgLy8gZGVmaW5lIGEgdG9vbHRpcCBmb3IgZWFjaCBub2RlIHRoYXQgZGlzcGxheXMgdGhlIGNvbG9yIGFzIHRleHRcbiAgICAgICAgICAgICAgICB0b29sVGlwOiB0aGlzLiQoXG4gICAgICAgICAgICAgICAgICAnVG9vbFRpcCcsXG4gICAgICAgICAgICAgICAgICB0aGlzLiQoXG4gICAgICAgICAgICAgICAgICAgIGdvLlRleHRCbG9jayxcbiAgICAgICAgICAgICAgICAgICAgeyBtYXJnaW46IDQgfSxcbiAgICAgICAgICAgICAgICAgICAgbmV3IGdvLkJpbmRpbmcoJ3RleHQnLCAnbmFtZScpXG4gICAgICAgICAgICAgICAgICApXG4gICAgICAgICAgICAgICAgKSwgLy8gZW5kIG9mIEFkb3JubWVudFxuICAgICAgICAgICAgICB9XG4gICAgICAgICAgICApXG4gICAgICAgICAgKVxuICAgICAgICApXG4gICAgICApXG4gICAgKTtcblxuICAgIHRoaXMubXlEaWFncmFtLmdyb3VwVGVtcGxhdGVNYXAuc2V0KHRpdGxlLCBub2RlKTtcbiAgfVxuXG4gIG1ha2VJbWFnZVRlbXBsYXRlKCkge1xuICAgIGNvbnN0IG5vZGUgPSB0aGlzLiQoXG4gICAgICBnby5Ob2RlLFxuICAgICAgJ1Nwb3QnLFxuICAgICAge1xuICAgICAgICB6T3JkZXI6IDEsXG4gICAgICB9LFxuICAgICAgbmV3IGdvLkJpbmRpbmcoJ3NlbGVjdGFibGUnLCAnc2VsZWN0YWJsZScpLFxuICAgICAgdGhpcy4kKFxuICAgICAgICBnby5QYW5lbCxcbiAgICAgICAgJ0hvcml6b250YWwnLFxuICAgICAgICB7XG4gICAgICAgICAgcm93OiAwLFxuICAgICAgICAgIGFsaWdubWVudDogZ28uU3BvdC5MZWZ0LFxuICAgICAgICB9LFxuICAgICAgICBuZXcgZ28uQmluZGluZygnbG9jYXRpb24nLCAnbG9jJywgZ28uUG9pbnQucGFyc2UpLm1ha2VUd29XYXkoXG4gICAgICAgICAgZ28uUG9pbnQuc3RyaW5naWZ5XG4gICAgICAgICksXG4gICAgICAgIHRoaXMuJChcbiAgICAgICAgICBnby5QaWN0dXJlLFxuICAgICAgICAgIEF0b0dvanNFZGl0b3JNb2RlbC5JTUFHRV9ST19XQVRFUl9UUkVBVE1FTlRfUEFUSCxcbiAgICAgICAgICB7XG4gICAgICAgICAgICBhbGlnbm1lbnQ6IGdvLlNwb3QuQ2VudGVyLFxuICAgICAgICAgICAgLy8gbWF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ICBnby5TaGFwZSxcbiAgICAgICAgICAnUm91bmRlZFJlY3RhbmdsZScsXG4gICAgICAgICAge1xuICAgICAgICAgICAgcGFyYW1ldGVyMTogNSxcbiAgICAgICAgICB9LFxuICAgICAgICAgIG5ldyBnby5CaW5kaW5nKCdmaWxsJywgJycsIChkYXRhKSA9PiB7XG4gICAgICAgICAgICByZXR1cm4gZGF0YT8uY29sb3I7XG4gICAgICAgICAgfSksXG4gICAgICAgICAgbmV3IGdvLkJpbmRpbmcoJ3N0cm9rZScsICcnLCAoZGF0YSkgPT4ge1xuICAgICAgICAgICAgcmV0dXJuIGRhdGE/LmNvbG9yO1xuICAgICAgICAgIH0pXG4gICAgICAgICksXG5cbiAgICAgICAgdGhpcy4kKFxuICAgICAgICAgIGdvLlRleHRCbG9jayxcbiAgICAgICAgICB7XG4gICAgICAgICAgICBzdHJva2U6ICd3aGl0ZScsXG4gICAgICAgICAgICBtYXJnaW46IG5ldyBnby5NYXJnaW4oMCwgMCwgMCwgNSksXG4gICAgICAgICAgICBzdHJldGNoOiBnby5HcmFwaE9iamVjdC5GaWxsLFxuICAgICAgICAgICAgYWxpZ25tZW50OiBnby5TcG90LkxlZnQsXG4gICAgICAgICAgICB2ZXJ0aWNhbEFsaWdubWVudDogZ28uU3BvdC5DZW50ZXIsXG4gICAgICAgICAgICBmb250OiAnMTRweCBzYW5zLXNlcmlmJyxcbiAgICAgICAgICB9LFxuICAgICAgICAgIG5ldyBnby5CaW5kaW5nKCd0ZXh0JywgJ3RpdGxlJylcbiAgICAgICAgKVxuICAgICAgKSxcbiAgICAgIHRoaXMuJChcbiAgICAgICAgZ28uU2hhcGUsXG4gICAgICAgICdSZWN0YW5nbGUnLFxuICAgICAgICB7XG4gICAgICAgICAgaGVpZ2h0OiA2LFxuICAgICAgICAgIG1hcmdpbjogbmV3IGdvLk1hcmdpbigwLCAwLCAtNiwgMCksXG4gICAgICAgICAgc3RyZXRjaDogZ28uR3JhcGhPYmplY3QuRmlsbCxcbiAgICAgICAgfSxcbiAgICAgICAgbmV3IGdvLkJpbmRpbmcoJ2ZpbGwnLCAnJywgKGRhdGEpID0+IHtcbiAgICAgICAgICByZXR1cm4gZGF0YT8uY29sb3I7XG4gICAgICAgIH0pLFxuICAgICAgICBuZXcgZ28uQmluZGluZygnc3Ryb2tlJywgJycsIChkYXRhKSA9PiB7XG4gICAgICAgICAgcmV0dXJuIGRhdGE/LmNvbG9yO1xuICAgICAgICB9KSxcbiAgICAgICAgbmV3IGdvLkJpbmRpbmcoJ3Zpc2libGUnLCAnJywgKGRhdGEpID0+ICEhZGF0YT8udGl0bGUpXG4gICAgICApLFxuICAgICAgdGhpcy4kKFxuICAgICAgICBnby5QYW5lbCxcbiAgICAgICAgJ0F1dG8nLFxuICAgICAgICB0aGlzLiQoXG4gICAgICAgICAgZ28uU2hhcGUsXG4gICAgICAgICAgJ1JvdW5kZWRSZWN0YW5nbGUnLFxuICAgICAgICAgIHsgZmlsbDogJyNFNkYwRjcnLCBzdHJva2U6ICcjMDA2M0E5Jywgc3Ryb2tlV2lkdGg6IDQsIHBhcmFtZXRlcjE6IDUgfSxcbiAgICAgICAgICBuZXcgZ28uQmluZGluZygnZmlsbCcsICdiZ0NvbG9yJyksXG4gICAgICAgICAgbmV3IGdvLkJpbmRpbmcoJ3N0cm9rZScsICdib3JkZXJUYWJsZScpXG4gICAgICAgICksXG4gICAgICAgIHRoaXMuJChcbiAgICAgICAgICBnby5QYW5lbCxcbiAgICAgICAgICAnVGFibGUnLFxuICAgICAgICAgIC8vIFNldCBkZWZhdWx0cyBmb3IgYWxsIHJvd3MgYW5kIGNvbHVtbnM6XG4gICAgICAgICAge1xuICAgICAgICAgICAgcGFkZGluZzogMS41LFxuICAgICAgICAgICAgZGVmYXVsdFJvd1NlcGFyYXRvclN0cm9rZTogJyMwMDYyQTknLFxuICAgICAgICAgICAgZGVmYXVsdENvbHVtblNlcGFyYXRvclN0cm9rZTogJyMwMDYyQTknLFxuICAgICAgICAgICAgZGVmYXVsdFNlcGFyYXRvclBhZGRpbmc6IG5ldyBnby5NYXJnaW4oNSwgMiwgNSwgMiksXG4gICAgICAgICAgfSxcbiAgICAgICAgICBuZXcgZ28uQmluZGluZygnZGVmYXVsdFJvd1NlcGFyYXRvclN0cm9rZScsICdib3JkZXJUYWJsZScpLFxuICAgICAgICAgIG5ldyBnby5CaW5kaW5nKCdkZWZhdWx0Q29sdW1uU2VwYXJhdG9yU3Ryb2tlJywgJ2JvcmRlclRhYmxlJyksXG4gICAgICAgICAgLy8gdGhpcy4kKFxuICAgICAgICAgIC8vICAgICBnby5QYW5lbCxcbiAgICAgICAgICAvLyAgICAgJ1RhYmxlUm93JyxcbiAgICAgICAgICAvLyAgICAgeyByb3c6IDAgfSxcbiAgICAgICAgICAvLyAgICAgdGhpcy4kKGdvLlRleHRCbG9jaywgJ3JvdyAxIGNvbCAxJywgeyBjb2x1bW46IDAsIG1hcmdpbjogMiB9KSxcbiAgICAgICAgICAvLyAgICAgdGhpcy4kKGdvLlRleHRCbG9jaywgJ3JvdyAxIGNvbCAyJywgeyBjb2x1bW46IDEsIG1hcmdpbjogMiB9KSxcbiAgICAgICAgICAvLyApLFxuICAgICAgICAgIC8vIHRoaXMuJChcbiAgICAgICAgICAvLyAgICAgZ28uUGFuZWwsXG4gICAgICAgICAgLy8gICAgICdUYWJsZVJvdycsXG4gICAgICAgICAgLy8gICAgIHsgcm93OiAxIH0sXG4gICAgICAgICAgLy8gICAgIHRoaXMuJChnby5UZXh0QmxvY2ssICdyb3cgMiBjb2wgMScsIHsgY29sdW1uOiAwLCBtYXJnaW46IDIgfSksXG4gICAgICAgICAgLy8gICAgIHRoaXMuJChnby5UZXh0QmxvY2ssICdyb3cgMiBjb2wgMicsIHsgY29sdW1uOiAxLCBtYXJnaW46IDIgfSksXG4gICAgICAgICAgLy8gKSxcbiAgICAgICAgICAvLyBuZXcgZ28uQmluZGluZygnaXRlbUFycmF5JywgJ2RhdGFUYWJsZScpLFxuICAgICAgICAgIG5ldyBnby5CaW5kaW5nKCdpdGVtQXJyYXknLCAnJywgZnVuY3Rpb24gKGRhdGEpIHtcbiAgICAgICAgICAgIHJldHVybiBkYXRhLmRhdGFUYWJsZS5maWx0ZXIoKHgpID0+IHg/LnZpc2libGUgIT09IGZhbHNlKTtcbiAgICAgICAgICB9KSxcbiAgICAgICAgICB7XG4gICAgICAgICAgICAvLyBpdGVtVGVtcGxhdGU6IHRoaXMuJChcbiAgICAgICAgICAgIC8vICAgICBnby5QYW5lbCxcbiAgICAgICAgICAgIC8vICAgICBuZXcgZ28uQmluZGluZygncm93JywgJ2luZGV4Um93JyksXG4gICAgICAgICAgICAvLyAgICAgLy8gbmV3IGdvLkJpbmRpbmcoJ2hlaWdodCcsICdoZWlnaHQnKSxcbiAgICAgICAgICAgIC8vICAgICB0aGlzLiQoXG4gICAgICAgICAgICAvLyAgICAgICAgIGdvLlBpY3R1cmUsXG4gICAgICAgICAgICAvLyAgICAgICAgIEFSUk9XLFxuICAgICAgICAgICAgLy8gICAgICAgICB7XG4gICAgICAgICAgICAvLyAgICAgICAgICAgICBhbGlnbm1lbnQ6IGdvLlNwb3QuQ2VudGVyLFxuICAgICAgICAgICAgLy8gICAgICAgICAgICAgbWF4U2l6ZTogbmV3IGdvLlNpemUoMjAsIDQwKSxcbiAgICAgICAgICAgIC8vICAgICAgICAgICAgIC8vIGltYWdlU3RyZXRjaDogZ28uR3JhcGhPYmplY3QuVW5pZm9ybSxcbiAgICAgICAgICAgIC8vICAgICAgICAgfSxcbiAgICAgICAgICAgIC8vICAgICAgICAgbmV3IGdvLkJpbmRpbmcoJ3NvdXJjZScsICcnLCAoZGF0YSwgcGFuZWwpID0+IHtcbiAgICAgICAgICAgIC8vICAgICAgICAgICAgIC8vIHBhbmVsLnBhcnQ/LmRhdGE/LmlkXG4gICAgICAgICAgICAvLyAgICAgICAgICAgICByZXR1cm4gZGF0YT8uaXNDcmVhdGVkID8gcGFuZWw/LiRwIDogQVJST1dfR1JBWTtcbiAgICAgICAgICAgIC8vICAgICAgICAgfSksXG4gICAgICAgICAgICAvLyAgICAgKSxcbiAgICAgICAgICAgIC8vICksXG4gICAgICAgICAgICBpdGVtVGVtcGxhdGU6IHRoaXMuJChcbiAgICAgICAgICAgICAgZ28uUGFuZWwsXG4gICAgICAgICAgICAgICdUYWJsZVJvdycsXG4gICAgICAgICAgICAgIHtcbiAgICAgICAgICAgICAgICBjdXJzb3I6ICdwb2ludGVyJyxcbiAgICAgICAgICAgICAgICBjbGljazogKGUsIG9iajogYW55KSA9PiB7XG4gICAgICAgICAgICAgICAgICBpZiAoXG4gICAgICAgICAgICAgICAgICAgIG9iai5wYW5lbC5wYXJ0LmRhdGE/LmRhdGFUYWJsZVtvYmoucm93XT8uaXNFZGl0YWJsZSA9PT1cbiAgICAgICAgICAgICAgICAgICAgZmFsc2VcbiAgICAgICAgICAgICAgICAgICkge1xuICAgICAgICAgICAgICAgICAgICByZXR1cm47XG4gICAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgICBzZWxmLm9uQ2xpa1BhcmFtT2ZUYWJsZS5lbWl0KHtcbiAgICAgICAgICAgICAgICAgICAgLi4ub2JqLnBhbmVsLnBhcnQuZGF0YT8uZGF0YVRhYmxlW29iai5yb3ddLFxuICAgICAgICAgICAgICAgICAgfSk7XG4gICAgICAgICAgICAgICAgfSxcbiAgICAgICAgICAgICAgICBiYWNrZ3JvdW5kOiAndHJhbnNwYXJlbnQnLFxuICAgICAgICAgICAgICB9LFxuICAgICAgICAgICAgICB0aGlzLiQoXG4gICAgICAgICAgICAgICAgZ28uVGV4dEJsb2NrLFxuICAgICAgICAgICAgICAgICcnLFxuICAgICAgICAgICAgICAgIHtcbiAgICAgICAgICAgICAgICAgIGNvbHVtbjogMCxcbiAgICAgICAgICAgICAgICAgIG1hcmdpbjogMixcbiAgICAgICAgICAgICAgICAgIHRleHRBbGlnbjogJ2xlZnQnLFxuICAgICAgICAgICAgICAgICAgYWxpZ25tZW50OiBnby5TcG90LkxlZnQsXG4gICAgICAgICAgICAgICAgICBvdmVyZmxvdzogZ28uVGV4dEJsb2NrLk92ZXJmbG93RWxsaXBzaXMsXG4gICAgICAgICAgICAgICAgICB0b29sVGlwOiB0aGlzLiQoXG4gICAgICAgICAgICAgICAgICAgICdUb29sVGlwJyxcbiAgICAgICAgICAgICAgICAgICAgdGhpcy4kKFxuICAgICAgICAgICAgICAgICAgICAgIGdvLlRleHRCbG9jayxcbiAgICAgICAgICAgICAgICAgICAgICB7XG4gICAgICAgICAgICAgICAgICAgICAgICBtYXJnaW46IDQsXG4gICAgICAgICAgICAgICAgICAgICAgfSxcbiAgICAgICAgICAgICAgICAgICAgICBuZXcgZ28uQmluZGluZygndGV4dCcsICcnLCAoZGF0YSwgcGFuZWwpID0+IHtcbiAgICAgICAgICAgICAgICAgICAgICAgIHJldHVybiBkYXRhPy5uYW1lO1xuICAgICAgICAgICAgICAgICAgICAgIH0pXG4gICAgICAgICAgICAgICAgICAgIClcbiAgICAgICAgICAgICAgICAgICksXG4gICAgICAgICAgICAgICAgfSxcbiAgICAgICAgICAgICAgICBuZXcgZ28uQmluZGluZygndGV4dCcsICcnLCAoZGF0YSwgcGFuZWwpID0+IHtcbiAgICAgICAgICAgICAgICAgIHJldHVybiBkYXRhPy5uYW1lO1xuICAgICAgICAgICAgICAgIH0pLFxuICAgICAgICAgICAgICAgIG5ldyBnby5CaW5kaW5nKCdtYXhTaXplJywgJycsIChkYXRhLCBwYW5lbCkgPT4ge1xuICAgICAgICAgICAgICAgICAgcmV0dXJuIGRhdGE/Lm1heFNpemVOYW1lUGFyYW0gPz8gSW5maW5pdHk7XG4gICAgICAgICAgICAgICAgfSlcbiAgICAgICAgICAgICAgKSxcbiAgICAgICAgICAgICAgdGhpcy4kKFxuICAgICAgICAgICAgICAgIGdvLlBhbmVsLFxuICAgICAgICAgICAgICAgICdUYWJsZScsXG4gICAgICAgICAgICAgICAge1xuICAgICAgICAgICAgICAgICAgY29sdW1uOiAxLFxuICAgICAgICAgICAgICAgICAgbWFyZ2luOiAyLFxuICAgICAgICAgICAgICAgICAgcGFkZGluZzogMCxcbiAgICAgICAgICAgICAgICAgIGRlZmF1bHRTZXBhcmF0b3JQYWRkaW5nOiBuZXcgZ28uTWFyZ2luKDAsIDAsIDAsIDApLFxuICAgICAgICAgICAgICAgICAgc3RyZXRjaDogZ28uR3JhcGhPYmplY3QuRmlsbCxcbiAgICAgICAgICAgICAgICB9LFxuICAgICAgICAgICAgICAgIG5ldyBnby5CaW5kaW5nKCdtaW5TaXplJywgJycsIChkYXRhLCBwYW5lbCkgPT4ge1xuICAgICAgICAgICAgICAgICAgLy8gcmV0dXJuIHBhbmVsLnBhcnQ/LmRhdGE/Lm1pblNpemVWYWx1ZTtcbiAgICAgICAgICAgICAgICAgIHJldHVybiBuZXcgZ28uU2l6ZShcbiAgICAgICAgICAgICAgICAgICAgcGFuZWwucGFydD8uZGF0YT8ubWluU2l6ZVZhbHVlPy53aWR0aCxcbiAgICAgICAgICAgICAgICAgICAgTmFOXG4gICAgICAgICAgICAgICAgICApO1xuICAgICAgICAgICAgICAgIH0pLFxuICAgICAgICAgICAgICAgIHRoaXMuJChcbiAgICAgICAgICAgICAgICAgIGdvLlRleHRCbG9jayxcbiAgICAgICAgICAgICAgICAgICcnLFxuICAgICAgICAgICAgICAgICAge1xuICAgICAgICAgICAgICAgICAgICBjb2x1bW46IDAsXG4gICAgICAgICAgICAgICAgICAgIG1hcmdpbjogMCxcbiAgICAgICAgICAgICAgICAgICAgYWxpZ25tZW50OiBnby5TcG90LkxlZnQsXG4gICAgICAgICAgICAgICAgICAgIG92ZXJmbG93OiBnby5UZXh0QmxvY2suT3ZlcmZsb3dFbGxpcHNpcyxcbiAgICAgICAgICAgICAgICAgICAgY3Vyc29yOiAncG9pbnRlcicsXG4gICAgICAgICAgICAgICAgICAgIHRvb2xUaXA6IHRoaXMuJChcbiAgICAgICAgICAgICAgICAgICAgICAnVG9vbFRpcCcsXG4gICAgICAgICAgICAgICAgICAgICAgdGhpcy4kKFxuICAgICAgICAgICAgICAgICAgICAgICAgZ28uVGV4dEJsb2NrLFxuICAgICAgICAgICAgICAgICAgICAgICAge1xuICAgICAgICAgICAgICAgICAgICAgICAgICBtYXJnaW46IDQsXG4gICAgICAgICAgICAgICAgICAgICAgICB9LFxuICAgICAgICAgICAgICAgICAgICAgICAgbmV3IGdvLkJpbmRpbmcoJ3RleHQnLCAnJywgKGRhdGEsIHBhbmVsKSA9PiB7XG4gICAgICAgICAgICAgICAgICAgICAgICAgIHJldHVybiBgJHtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAhIXRoaXMuX2luaXRpYWxPcHRpb25zLmlzUmVhZE9ubHlcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgID8gYCR7ZGF0YT8udGFnTmFtZSB8fCAnJ30gYFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgOiAnJ1xuICAgICAgICAgICAgICAgICAgICAgICAgICB9JHtkYXRhPy52YWx1ZX1gO1xuICAgICAgICAgICAgICAgICAgICAgICAgfSksXG4gICAgICAgICAgICAgICAgICAgICAgICBuZXcgZ28uQmluZGluZygndmlzaWJsZScsICcnLCAoZGF0YSkgPT4ge1xuICAgICAgICAgICAgICAgICAgICAgICAgICBpZiAoXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgISF0aGlzLl9pbml0aWFsT3B0aW9ucy5pc1JlYWRPbmx5ICYmXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgZGF0YT8udGFnTmFtZVxuICAgICAgICAgICAgICAgICAgICAgICAgICApIHtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICByZXR1cm4gdHJ1ZTtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgfVxuXG4gICAgICAgICAgICAgICAgICAgICAgICAgIHJldHVybiAhIWRhdGE/LnZhbHVlO1xuICAgICAgICAgICAgICAgICAgICAgICAgfSlcbiAgICAgICAgICAgICAgICAgICAgICApXG4gICAgICAgICAgICAgICAgICAgICksXG4gICAgICAgICAgICAgICAgICB9LFxuICAgICAgICAgICAgICAgICAgbmV3IGdvLkJpbmRpbmcoJ3RleHQnLCAnJywgKGRhdGEsIHBhbmVsKSA9PiB7XG4gICAgICAgICAgICAgICAgICAgIHJldHVybiBkYXRhPy52YWx1ZTtcbiAgICAgICAgICAgICAgICAgIH0pLFxuICAgICAgICAgICAgICAgICAgbmV3IGdvLkJpbmRpbmcoJ3N0cm9rZScsICcnLCAoZGF0YSkgPT4ge1xuICAgICAgICAgICAgICAgICAgICBpZiAoIXRoaXMuX2luaXRpYWxPcHRpb25zLmlzUmVhZE9ubHkpIHtcbiAgICAgICAgICAgICAgICAgICAgICByZXR1cm4gJ3RyYW5zcGFyZW50JztcbiAgICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgICAgICByZXR1cm4gZGF0YS5jb2xvcjtcbiAgICAgICAgICAgICAgICAgIH0pLFxuICAgICAgICAgICAgICAgICAgbmV3IGdvLkJpbmRpbmcoJ21heFNpemUnLCAnJywgKGRhdGEpID0+IHtcbiAgICAgICAgICAgICAgICAgICAgcmV0dXJuIG5ldyBnby5TaXplKGRhdGE/Lm1heFNpemVWYWx1ZSB8fCAxOTAsIDE0KTtcbiAgICAgICAgICAgICAgICAgIH0pLFxuICAgICAgICAgICAgICAgICAgbmV3IGdvLkJpbmRpbmcoJ2ZvbnQnLCAnJywgKGRhdGEpID0+IHtcbiAgICAgICAgICAgICAgICAgICAgcmV0dXJuIGRhdGE/LmZvbnQ7XG4gICAgICAgICAgICAgICAgICB9KVxuICAgICAgICAgICAgICAgICksXG4gICAgICAgICAgICAgICAgdGhpcy4kKFxuICAgICAgICAgICAgICAgICAgZ28uUGljdHVyZSxcbiAgICAgICAgICAgICAgICAgIHtcbiAgICAgICAgICAgICAgICAgICAgYWxpZ25tZW50OiBnby5TcG90LlJpZ2h0LFxuICAgICAgICAgICAgICAgICAgICBjb2x1bW46IDEsXG4gICAgICAgICAgICAgICAgICAgIG1hcmdpbjogbmV3IGdvLk1hcmdpbigwLCAwLCAwLCA1KSxcbiAgICAgICAgICAgICAgICAgICAgc291cmNlOiBJQ09OU19CQVNFNjRbJ3VmMDQ0J10sXG4gICAgICAgICAgICAgICAgICAgIGN1cnNvcjogJ3BvaW50ZXInLFxuICAgICAgICAgICAgICAgICAgICB2aXNpYmxlOiBmYWxzZSxcbiAgICAgICAgICAgICAgICAgICAgdG9vbFRpcDogdGhpcy4kKFxuICAgICAgICAgICAgICAgICAgICAgICdUb29sVGlwJyxcbiAgICAgICAgICAgICAgICAgICAgICB0aGlzLiQoXG4gICAgICAgICAgICAgICAgICAgICAgICBnby5UZXh0QmxvY2ssXG4gICAgICAgICAgICAgICAgICAgICAgICB7XG4gICAgICAgICAgICAgICAgICAgICAgICAgIG1hcmdpbjogNCxcbiAgICAgICAgICAgICAgICAgICAgICAgIH0sXG4gICAgICAgICAgICAgICAgICAgICAgICBuZXcgZ28uQmluZGluZygndGV4dCcsICcnLCAoZGF0YSwgcGFuZWwpID0+IHtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgcmV0dXJuIGRhdGE/LnRvb2xUaXBBY3Rpb247XG4gICAgICAgICAgICAgICAgICAgICAgICB9KVxuICAgICAgICAgICAgICAgICAgICAgICksXG4gICAgICAgICAgICAgICAgICAgICAgbmV3IGdvLkJpbmRpbmcoXG4gICAgICAgICAgICAgICAgICAgICAgICAndmlzaWJsZScsXG4gICAgICAgICAgICAgICAgICAgICAgICAnJyxcbiAgICAgICAgICAgICAgICAgICAgICAgIChkYXRhKSA9PiAhIWRhdGE/LnRvb2xUaXBBY3Rpb25cbiAgICAgICAgICAgICAgICAgICAgICApXG4gICAgICAgICAgICAgICAgICAgICksXG4gICAgICAgICAgICAgICAgICAgIGhlaWdodDogMTQsXG4gICAgICAgICAgICAgICAgICAgIHdpZHRoOiAxNCxcbiAgICAgICAgICAgICAgICAgIH0sXG4gICAgICAgICAgICAgICAgICBuZXcgZ28uQmluZGluZygndmlzaWJsZScsICcnLCAoZGF0YSwgcGFuZWwpID0+IHtcbiAgICAgICAgICAgICAgICAgICAgcmV0dXJuIChcbiAgICAgICAgICAgICAgICAgICAgICAhZGF0YT8uaXNSZWFkT25seSAmJiAhdGhpcy5faW5pdGlhbE9wdGlvbnMuaXNSZWFkT25seVxuICAgICAgICAgICAgICAgICAgICApO1xuICAgICAgICAgICAgICAgICAgfSksXG4gICAgICAgICAgICAgICAgICBuZXcgZ28uQmluZGluZygnb3BhY2l0eScsICcnLCAoZGF0YSwgcGFuZWwpID0+IHtcbiAgICAgICAgICAgICAgICAgICAgcmV0dXJuIGRhdGE/LmlzRWRpdGFibGUgPT09IGZhbHNlID8gMC42IDogMTtcbiAgICAgICAgICAgICAgICAgIH0pXG4gICAgICAgICAgICAgICAgKVxuICAgICAgICAgICAgICApXG4gICAgICAgICAgICApLFxuICAgICAgICAgIH1cbiAgICAgICAgICAvLyBuZXcgZ28uQmluZGluZygndGV4dCcsICduYW1lJylcbiAgICAgICAgKVxuICAgICAgKVxuICAgICk7XG4gICAgdGhpcy5teURpYWdyYW0ubm9kZVRlbXBsYXRlTWFwLnNldChcbiAgICAgIEF0b0dvanNFZGl0b3JNb2RlbC5FTlVNX1RFTVBMQVRFUy5QQVJBTV9UQUJMRSxcbiAgICAgIG5vZGVcbiAgICApO1xuICB9XG5cbiAgbWFrZU1hc3NCYWxhbmNlKCkge1xuICAgIGNvbnN0IHNlbGYgPSB0aGlzO1xuICAgIGNvbnN0IG5vZGUgPSB0aGlzLiQoXG4gICAgICBnby5QYXJ0LFxuICAgICAgJ0F1dG8nLFxuICAgICAge30sXG4gICAgICBuZXcgZ28uQmluZGluZygnbG9jYXRpb24nLCAnbG9jJywgZ28uUG9pbnQucGFyc2UpLm1ha2VUd29XYXkoXG4gICAgICAgIGdvLlBvaW50LnN0cmluZ2lmeVxuICAgICAgKSxcbiAgICAgIG5ldyBnby5CaW5kaW5nKCdzZWxlY3RhYmxlJywgJ3NlbGVjdGFibGUnKSxcbiAgICAgIHRoaXMuJChcbiAgICAgICAgZ28uUGFuZWwsXG4gICAgICAgICdIb3Jpem9udGFsJyxcbiAgICAgICAgLy8gU2V0IGRlZmF1bHRzIGZvciBhbGwgcm93cyBhbmQgY29sdW1uczpcbiAgICAgICAge1xuICAgICAgICAgIHBhZGRpbmc6IDQsXG4gICAgICAgICAgdG9vbFRpcDogdGhpcy4kKFxuICAgICAgICAgICAgJ1Rvb2xUaXAnLFxuICAgICAgICAgICAgdGhpcy4kKFxuICAgICAgICAgICAgICBnby5UZXh0QmxvY2ssXG4gICAgICAgICAgICAgIHtcbiAgICAgICAgICAgICAgICBtYXJnaW46IDQsXG4gICAgICAgICAgICAgICAgbWF4U2l6ZTogbmV3IGdvLlNpemUoNDUwLCAzMCksXG4gICAgICAgICAgICAgIH0sXG4gICAgICAgICAgICAgIG5ldyBnby5CaW5kaW5nKCd0ZXh0JywgJ3Rvb2x0aXAnKVxuICAgICAgICAgICAgKVxuICAgICAgICAgICksXG4gICAgICAgICAgdmlzaWJsZTogdGhpcy5faW5pdGlhbE9wdGlvbnMuaXNSZWFkT25seSxcbiAgICAgICAgfSxcbiAgICAgICAgdGhpcy4kKFxuICAgICAgICAgIGdvLlRleHRCbG9jayxcbiAgICAgICAgICAnJyxcbiAgICAgICAgICB7XG4gICAgICAgICAgICBtYXJnaW46IG5ldyBnby5NYXJnaW4oMCwgNSwgMCwgMCksXG4gICAgICAgICAgICB0ZXh0OiAnTWFzcyBCYWxhbmNlOicsXG4gICAgICAgICAgfSxcbiAgICAgICAgICBuZXcgZ28uQmluZGluZygnZm9udCcsICdmb250JylcbiAgICAgICAgKSxcbiAgICAgICAgdGhpcy4kKFxuICAgICAgICAgIGdvLlRleHRCbG9jayxcbiAgICAgICAgICAnJyxcbiAgICAgICAgICB7XG4gICAgICAgICAgICBzdHJva2U6IEF0b0dvanNFZGl0b3JNb2RlbC5FTlVNX0NPTE9SUy5BTElaQVJJTixcbiAgICAgICAgICB9LFxuICAgICAgICAgIG5ldyBnby5CaW5kaW5nKCdmb250JywgJ2ZvbnQnKSxcbiAgICAgICAgICBuZXcgZ28uQmluZGluZygnc3Ryb2tlJywgJ2NvbG9yVmFsdWUnKSxcbiAgICAgICAgICBuZXcgZ28uQmluZGluZygndGV4dCcsICcnLCAoZGF0YSwgcGFuZWwpID0+IHtcbiAgICAgICAgICAgIHJldHVybiBkYXRhPy52YWx1ZTtcbiAgICAgICAgICB9KVxuICAgICAgICApXG4gICAgICApXG4gICAgKTtcbiAgICB0aGlzLm15RGlhZ3JhbS5ub2RlVGVtcGxhdGVNYXAuc2V0KFxuICAgICAgQXRvR29qc0VkaXRvck1vZGVsLkVOVU1fVEVNUExBVEVTLk1BU1NfQkFMQU5DRSxcbiAgICAgIG5vZGVcbiAgICApO1xuICB9XG5cbiAgbWFrZUdyb3VwUk9QbGFudFRlbXBsYXRlKFxuICAgIGljb24sXG4gICAgdGl0bGUsXG4gICAgc2l6ZTogeyB3OiBudW1iZXI7IGg6IG51bWJlciB9ID0geyB3OiA4MCwgaDogODAgfVxuICApIHtcbiAgICBsZXQgbm9kZSA9IHRoaXMuJChcbiAgICAgIGdvLkdyb3VwLFxuICAgICAgJ1Nwb3QnLFxuICAgICAge1xuICAgICAgICBsYXlvdXQ6IHRoaXMuJChnby5MYXlvdXQpLFxuICAgICAgfSxcbiAgICAgIHtcbiAgICAgICAgLy8gbWluU2l6ZTogbmV3IGdvLlNpemUoTmFOLCA2MDApLFxuICAgICAgfSxcbiAgICAgIG5ldyBnby5CaW5kaW5nKCdzZWxlY3RhYmxlJywgJ3NlbGVjdGFibGUnKSxcbiAgICAgIG5ldyBnby5CaW5kaW5nKCdsb2NhdGlvbicsICdsb2MnLCBnby5Qb2ludC5wYXJzZSkubWFrZVR3b1dheShcbiAgICAgICAgZ28uUG9pbnQuc3RyaW5naWZ5XG4gICAgICApLFxuICAgICAgdGhpcy4kKFxuICAgICAgICBnby5QYW5lbCxcbiAgICAgICAgJ1RhYmxlJyxcblxuICAgICAgICB0aGlzLiQoXG4gICAgICAgICAgZ28uUGFuZWwsXG4gICAgICAgICAgJ0F1dG8nLFxuICAgICAgICAgIHtcbiAgICAgICAgICAgIHJvdzogMCxcbiAgICAgICAgICAgIHBhZGRpbmc6IG5ldyBnby5NYXJnaW4oMCwgMCwgMCwgMCksXG4gICAgICAgICAgfSxcbiAgICAgICAgICB0aGlzLiQoZ28uU2hhcGUsICdSb3VuZGVkUmVjdGFuZ2xlJywge1xuICAgICAgICAgICAgbmFtZTogJ1NIQVBFX0tFWScsXG4gICAgICAgICAgICBmaWxsOiAnI0ZDRkNGRCcsXG4gICAgICAgICAgICBzdHJva2U6IEF0b0dvanNFZGl0b3JNb2RlbC5FTlVNX0NPTE9SUy5SRVNPTFVUSU9OX0JMVUUsXG4gICAgICAgICAgICBzdHJva2VXaWR0aDogMixcbiAgICAgICAgICAgIC8vIHN0cm9rZURhc2hBcnJheTogWzUsIDVdLFxuICAgICAgICAgIH0pLFxuXG4gICAgICAgICAgdGhpcy4kKGdvLlBsYWNlaG9sZGVyLCB7IHBhZGRpbmc6IG5ldyBnby5NYXJnaW4oMTUsIDAsIDAsIDApIH0pXG4gICAgICAgICksXG4gICAgICAgIHRoaXMuJChcbiAgICAgICAgICBnby5QaWN0dXJlLFxuICAgICAgICAgIFJPX0xJTkVfRElSVFksXG4gICAgICAgICAge1xuICAgICAgICAgICAgcm93OiAxLFxuICAgICAgICAgIH0sXG4gICAgICAgICAgbmV3IGdvLkJpbmRpbmcoJ3Zpc2libGUnLCAnJywgKHgpID0+IHtcbiAgICAgICAgICAgIHJldHVybiB4Py5pc1ZpZXdHZW5lcmFsICYmIHg/Lmhhc091dEZsb3cgPyB0cnVlIDogZmFsc2U7XG4gICAgICAgICAgfSlcbiAgICAgICAgKVxuICAgICAgKSxcblxuICAgICAgdGhpcy4kKGdvLlBhbmVsLCAnVGFibGUnLCB7XG4gICAgICAgIHdpZHRoOiAwLFxuICAgICAgICBoZWlnaHQ6IDAsXG4gICAgICAgIGFsaWdubWVudDogbmV3I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ICAgICAgICB3aWR0aDogMCxcbiAgICAgICAgaGVpZ2h0OiAwLFxuICAgICAgICBhbGlnbm1lbnQ6IG5ldyBnby5TcG90KDAsIDAuNSwgMCwgMTEyKSxcbiAgICAgICAgYWxpZ25tZW50Rm9jdXM6IGdvLlNwb3QuTGVmdCxcbiAgICAgICAgcG9ydElkOiAnSW5mbG93JyxcbiAgICAgICAgY3Vyc29yOiB0aGlzLl9pbml0aWFsT3B0aW9ucy5pc1JlYWRPbmx5ID8gJycgOiAncG9pbnRlcicsXG4gICAgICAgIGZyb21TcG90OiBnby5TcG90LkxlZnQsXG4gICAgICAgIHRvU3BvdDogZ28uU3BvdC5MZWZ0LFxuICAgICAgICBmcm9tTGlua2FibGU6IHRydWUsXG4gICAgICAgIHRvTGlua2FibGU6IHRydWUsXG4gICAgICB9KSxcbiAgICAgIHRoaXMuJChcbiAgICAgICAgZ28uUGFuZWwsXG4gICAgICAgICdTcG90JyxcbiAgICAgICAge1xuICAgICAgICAgIGFsaWdubWVudEZvY3VzOiBnby5TcG90LlRvcCxcbiAgICAgICAgICBhbGlnbm1lbnQ6IG5ldyBnby5TcG90KDEsIDEsIC0yMTUsIDApLFxuICAgICAgICB9LFxuICAgICAgICB0aGlzLiQoXG4gICAgICAgICAgZ28uUGljdHVyZSxcbiAgICAgICAgICBPVVRGTE9XX0xJTkVfRElSVFksXG4gICAgICAgICAge1xuICAgICAgICAgICAgd2lkdGg6IDEwLFxuICAgICAgICAgICAgaGVpZ2h0OiAyMCxcbiAgICAgICAgICB9LFxuICAgICAgICAgIG5ldyBnby5CaW5kaW5nKCd2aXNpYmxlJywgJycsICh4KSA9PiB7XG4gICAgICAgICAgICByZXR1cm4geD8uaXNWaWV3R2VuZXJhbCAmJiB4Py5oYXNPdXRGbG93ID8gdHJ1ZSA6IGZhbHNlO1xuICAgICAgICAgIH0pXG4gICAgICAgICksXG4gICAgICAgIHRoaXMuJChnby5QYW5lbCwge1xuICAgICAgICAgIGFsaWdubWVudDogZ28u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ICAgICAgcGFkZGluZzogbmV3IGdvLk1hcmdpbigwLCAwLCAwLCAwKSxcbiAgICAgICAgfSxcbiAgICAgICAgdGhpcy4kKGdvLlNoYXBlLCAnUm91bmRlZFJlY3RhbmdsZScsIHtcbiAgICAgICAgICBuYW1lOiAnU0hBUEVfS0VZJyxcbiAgICAgICAgICBmaWxsOiAnI0ZDRkNGRCcsXG4gICAgICAgICAgc3Ryb2tlOiBBdG9Hb2pzRWRpdG9yTW9kZWwuRU5VTV9DT0xPUlMuUkVTT0xVVElPTl9CTFVFLFxuICAgICAgICAgIHN0cm9rZVdpZHRoOiAyLFxuICAgICAgICAgIHN0cm9rZURhc2hBcnJheTogWzUsIDVdLFxuICAgICAgICB9KSxcblxuICAgICAgICB0aGlzLiQoZ28uUGxhY2Vob2xkZXIsIHsgcGFkZGluZzogbmV3IGdvLk1hcmdpbigwLCAwLCAwLCAwKSB9KVxuICAgICAgKSxcbiAgICAgIHRoaXMuJChnby5QYW5lbCwgJ1RhYmxlJywge1xuICAgICAgICB3aWR0aDogMCxcbiAgICAgICAgaGVpZ2h0OiAwLFxuICAgICAgICBhbGlnbm1lbnQ6IG5ldyBnby5TcG90KDAsIDAsIDAsIDUzMyksXG4gICAgICAgIGFsaWdubWVudEZvY3VzOiBnby5TcG90LkJvdHRvbSxcbiAgICAgICAgcG9ydElkOiAnSW5mbG93JyxcbiAgICAgICAgY3Vyc29yOiB0aGlzLl9pbml0aWFsT3B0aW9ucy5pc1JlYWRPbmx5ID8gJycgOiAncG9pbnRlcicsXG4gICAgICAgIGZyb21TcG90OiBnby5TcG90LkxlZnQsXG4gICAgICAgIHRvU3BvdDogZ28uU3BvdC5MZWZ0LFxuICAgICAgICBmcm9tTGlua2FibGU6IHRydWUsXG4gICAgICAgIHRvTGlua2FibGU6IHRydWUsXG4gICAgICB9KSxcbiAgICAgIHRoaXMuJChcbiAgICAgICAgZ28uUGFuZWwsXG4gICAgICAgICdTcG90JyxcbiAgICAgICAge1xuICAgICAgICAgIGFsaWdubWVudEZvY3VzOiBnby5TcG90LlRvcCxcbiAgICAgICAgICBhbGlnbm1lbnQ6IG5ldyBnby5TcG90KDAuNSwgMSwgMjMsIDApLFxuICAgICAgICB9LFxuICAgICAgICB0aGlzLiQoXG4gICAgICAgICAgZ28uUGljdHVyZSxcbiAgICAgICAgICBPVVRGTE9XX0xJTkVfRElSVFksXG4gICAgICAgICAge1xuICAgICAgICAgICAgd2lkdGg6IDEwLFxuICAgICAgICAgICAgaGVpZ2h0OiAyMCxcbiAgICAgICAgICB9LFxuICAgICAgICAgIG5ldyBnby5CaW5kaW5nKCd2aXNpYmxlJywgJycsICh4KSA9PiB7XG4gICAgICAgICAgICByZXR1cm4geD8uaXNWaWV3R2VuZXJhbCAmJiB4Py5oYXNPdXRGbG93ID8gdHJ1ZSA6IGZhbHNlO1xuICAgICAgICAgIH0pXG4gICAgICAgICksXG4gICAgICAgIHRoaXMuJChnby5QYW5lbCwge1xuICAgICAgICAgIGFsaWdubWVudDogbmV3IGdvLlNwb3QoMCwgMCwgMCwgMTgpLFxuICAgICAgICAgIGFsaWdubWVudEZvY3VzOiBnby5TcG90LlRvcCxcbiAgICAgICAgICBwb3J0SWQ6ICdPdXRGbG93JyxcbiAgICAgICAgICBjdXJzb3I6IHRoaXMuX2luaXRpYWxPcHRpb25zLmlzUmVhZE9ubHkgPyAnJyA6ICdwb2ludGVyJyxcbiAgICAgICAgICBmcm9tU3BvdDogZ28uU3BvdC5DZW50ZXIsXG4gICAgICAgICAgdG9TcG90OiBnby5TcG90LlJpZ2h0LFxuICAgICAgICAgIGZyb21MaW5rYWJsZTogdHJ1ZSxcbiAgICAgICAgICB0b0xpbmthYmxlOiB0cnVlLFxuICAgICAgICB9KVxuICAgICAgKVxuICAgICk7XG5cbiAgICB0aGlzLm15RGlhZ3JhbS5ncm91cFRlbXBsYXRlTWFwLnNldCh0aXRsZSwgbm9kZSk7XG4gIH1cblxuICBncm91cFBsYW50Q2VsbFRlbXBsYXRlKFxuICA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mQtZHJvcCBldmVudHMgZm9yIGl0cyBtZW1iZXIgbm9kZXNcblxuICAgICAgICAvLyBtYXhTaXplOiBuZXcgZ28uU2l6ZSg1MDAsIDUwMCksXG4gICAgICAgIC8vIG1pblNpemU6IG5ldyBnby5TaXplKDUwMCwgNTAwKSxcblxuICAgICAgICAvLyBpc1N1YkdyYXBoRXhwYW5kZWQ6IHRydWUsXG4gICAgICAgIC8vIGxheWVyTmFtZTogRElBR1JBTS5MQVlFUlMuQkFDS0dST1VORCxcblxuICAgICAgICAvLyBtb3VzZURyb3A6IGZ1bmN0aW9uIChlLCBncnApIHtcbiAgICAgICAgLy8gICAgIC8vIGRpc2FsbG93IGRyb3BwaW5nIGFueXRoaW5nIG9udG8gYW4gQWRvcm5tZW50XG4gICAgICAgIC8vICAgICBpZiAoZ3JwIGluc3RhbmNlb2YgZ28uQWRvcm5tZW50KSByZXR1cm47XG4gICAgICAgIC8vIH0sXG4gICAgICAgIC8vIGRyYWdDb21wdXRhdGlvbjogZnVuY3Rpb24gKG5vZGUsIHB0LCBncmlkUHQpIHtcbiAgICAgICAgLy8gICAgIGxldCBncnAgPSBub2RlLmNvbnRhaW5pbmdHcm91cDtcbiAgICAgICAgLy8gICAgIGlmIChncnAgIT09IG51bGwpIHtcbiAgICAgICAgLy8gICAgICAgICBsZXQgcmVjdCA9IGdycC5hY3R1YWxCb3VuZHM7XG4gICAgICAgIC8vICAgICAgICAgcHQueCA9IE1hdGgubWF4KHJlY3QubGVmdCwgTWF0aC5taW4ocHQueCwgcmVjdC5yaWdodCkpO1xuICAgICAgICAvLyAgICAgICAgIHB0LnkgPSBNYXRoLm1heChyZWN0LnRvcCwgTWF0aC5taW4ocHQueSwgcmVjdC5ib3R0b20pKTtcbiAgICAgICAgLy8gICAgIH1cbiAgICAgICAgLy8gICAgIHJldHVybiBwdDtcbiAgICAgICAgLy8gfSxcblxuICAgICAgICAvLyBkcm9wQ29tcHV0YXRpb246IGZ1bmN0aW9uIChub2RlLCBwdCwgZ3JpZFB0KSB7XG4gICAgICAgIC8vICAgICBsZXQgZ3JwID0gbm9kZS5jb250YWluaW5nR3JvdXA7XG4gICAgICAgIC8vICAgICBpZiAoZ3JwICE9PSBudWxsKSB7XG4gICAgICAgIC8vICAgICAgICAgbGV0IHJlY3QgPSBncnAuYWN0dWFsQm91bmRzO1xuICAgICAgICAvLyAgICAgICAgIHB0LnggPSBNYXRoLm1heChyZWN0LmxlZnQsIE1hdGgubWluKHB0LngsIHJlY3QucmlnaHQpKTtcbiAgICAgICAgLy8gICAgICAgICBwdC55ID0gTWF0aC5tYXgocmVjdC50b3AsIE1hdGgubWluKHB0LnksIHJlY3QuYm90dG9tKSk7XG4gICAgICAgIC8vICAgICB9XG4gICAgICAgIC8vICAgICByZXR1cm4gcHQ7XG4gICAgICAgIC8vIH0sXG5cbiAgICAgICAgLy8gZHJhZ0NvbXB1dGF0aW9uOiBmdW5jdGlvbiAocGFydCwgcHQsIGdyaWRwdCkge1xuICAgICAgICAvLyAgICAgLy8gR2V0IHRoZSBjdXJyZW50IGdyb3VwJ3MgYWN0dWFsIGJvdW5kc1xuICAgICAgICAvLyAgICAgY29uc3QgZ3JwID0gcGFydC5jb250YWluaW5nR3JvdXA7XG4gICAgICAgIC8vICAgICBpZiAoZ3JwKSB7XG4gICAgICAgIC8vICAgICAgICAgY29uc3QgYm5kcyA9IGdycC5hY3R1YWxCb3VuZHM7XG4gICAgICAgIC8vICAgICAgICAgY29uc3QgbG9jID0gcGFydC5sb2NhdGlvbjtcblxuICAgICAgICAvLyAgICAgICAgIC8vIFNlZSBpZiB0aGUgcGFydCdzIG5ldyBsb2NhdGlvbiB3b3VsZCBiZSBvdXQgb2YgYm91bmRzXG4gICAgICAgIC8vICAgICAgICAgY29uc3QgbmV3eCA9IE1hdGgubWF4KGJuZHMueCwgTWF0aC5taW4ocHQueCwgYm5kcy5yaWdodCAtIHBhcnQuYWN0dWFsQm91bmRzLndpZHRoIC8gMikpO1xuICAgICAgICAvLyAgICAgICAgIGNvbnN0IG5ld3kgPSBNYXRoLm1heChibmRzLnksIE1hdGgubWluKHB0LnksIGJuZHMuYm90dG9tIC0gcGFydC5hY3R1YWxCb3VuZHMuaGVpZ2h0IC8gMikpO1xuXG4gICAgICAgIC8vICAgICAgICAgLy8gTW9kaWZ5IHRoZSByZXN1bHQgcG9pbnQgdG8ga2VlcCB0aGUgUGFydCBpbnNpZGUgdGhlIEdyb3VwXG4gICAgICAgIC8vICAgICAgICAgcmV0dXJuIG5ldyBnby5Qb2ludChuZXd4LCBuZXd5KTtcbiAgICAgICAgLy8gICAgIH1cbiAgICAgICAgLy8gICAgIHJldHVybiBwdDtcbiAgICAgICAgLy8gfSxcbiAgICAgICAgY2xpY2s6IChlLCBvYmo6IGFueSkgPT4ge1xuICAgICAgICAgIHNlbGYubXlEaWFncmFtPy5jbGVhclNlbGVjdGlvbigpO1xuICAgICAgICB9LFxuICAgICAgfSxcbiAgICAgIHtcbiAgICAgICAgLy8gbW91c2VEcmFnRW50ZXI6IChlLCAgb2JqKSA9PiB7XG4gICAgICAgIC8vIH0sXG4gICAgICAgIC8vIG1vdXNlRHJvcDogKGUsICBvYmopID0+IHtcbiAgICAgICAgLy8gfSxcbiAgICAgICAgLy8gbW91c2VFbnRlcjogKGUsIG9iaikgPT4ge1xuICAgICAgICAvLyAgICAgY29uc3Qgbm9kZSA9IG9iai5wYXJ0O1xuICAgICAgICAvLyAgICAgc2VsZi5vbkhvdmVySW5mb0J1dHRvbi5lbWl0KHtcbiAgICAgICAgLy8gICAgICAgICBsZWZ0OiBlPy5bJ1dyJ10/LnggKyA4LFxuICAgICAgICAvLyAgICAgICAgIHRvcDogZT8uWydXciddPy55LFxuICAgICAgICAvLyAgICAgICAgIG5vZGU6IG5vZGUsXG4gICAgICAgIC8vICAgICB9KTtcbiAgICAgICAgLy8gICAgIC8vIGxldCBzaGFwZSA9IChub2RlIGFzIGFueSk/LmZpbmRPYmplY3QoJ1NIQVBFX0tFWScpO1xuICAgICAgICAv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IC8vIHtcbiAgICAvLyAgICAgLy8gICAgIC8vIG1pblNpemU6IG5ldyBnby5TaXplKDUwMCwgNTAwKSxcbiAgICAvLyAgICAgLy8gICAgIG1vdmFibGU6IGZhbHNlLFxuICAgIC8vICAgICAvLyAgICAgYXJpYVJlYWRPbmx5OiB0cnVlLFxuICAgIC8vICAgICAvLyB9LFxuICAgIC8vICAgICB0aGlzLiQoXG4gICAgLy8gICAgICAgICBnby5QYW5lbCxcbiAgICAvLyAgICAgICAgICdBdXRvJyxcbiAgICAvLyAgICAgICAgIHtcbiAgICAvLyAgICAgICAgICAgICBwYWRkaW5nOiBuZXcgZ28uTWFyZ2luKDAsIDAsIDAsIDApLFxuICAgIC8vICAgICAgICAgfSxcbiAgICAvLyAgICAgICAgIHRoaXMuJChnby5TaGFwZSwgJ1JvdW5kZWRSZWN0YW5nbGUnLCB7XG4gICAgLy8gICAgICAgICAgICAgZmlsbDogJ3RyYW5zcGFyZW50JyxcbiAgICAvLyAgICAgICAgICAgICAvLyBzdHJva2U6IEF0b0dvanNFZGl0b3JNb2RlbC5FTlVNX0NPTE9SUy5SRVNPTFVUSU9OX0JMVUUsXG4gICAgLy8gICAgICAgICAgICAgc3Ryb2tlOiBBdG9Hb2pzRWRpdG9yTW9kZWwuRU5VTV9DT0xPUlMuV0hJVEUsXG4gICAgLy8gICAgICAgICAgICAgc3Ryb2tlV2lkdGg6IDIsXG4gICAgLy8gICAgICAgICAgICAgc3Ryb2tlRGFzaEFycmF5OiBbNSwgNV0sXG4gICAgLy8gICAgICAgICB9KSxcbiAgICAvLyAgICAgICAgIHRoaXMuJChnby5QbGFjZWhvbGRlciwge1xuICAgIC8vICAgICAgICAgICAgIHBhZGRpbmc6IG5ldyBnby5NYXJnaW4oMCwgMCwgMCwgMCksXG4gICAgLy8gICAgICAgICB9KSxcbiAgICAvLyAgICAgKSxcbiAgICAvLyApO1xuICAgIGxldCBub2RlID0gdGhpcy4kKFxuICAgICAgZ28uR3JvdXAsXG4gICAgIC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Agc2VsZWN0aW9uQ2hhbmdlZDogKGUpID0+IHtcbiAgICAgICAgICBpZiAoIWUuaXNTZWxlY3RlZCAmJiBlPy5kYXRhPy5vblNlbGVjdGVkKSB7XG4gICAgICAgICAgICBlPy5kYXRhPy5vblNlbGVjdGVkKG51bGwpO1xuICAgICAgICAgIH1cbiAgICAgICAgfSxcblxuICAgICAgICBzZWxlY3Rpb25BZG9ybm1lbnRUZW1wbGF0ZTogdGhpcy5faW5pdGlhbE9wdGlvbnMuaXNSZWFkT25seVxuICAgICAgICAgID8gbnVsbFxuICAgICAgICAgIDogdGhpcy4kKFxuICAgICAgICAgICAgICBnby5BZG9ybm1lbnQsXG4gICAgICAgICAgICAgICdTcG90JyxcbiAgICAgICAgICAgICAge1xuICAgICAgICAgICAgICAgIHNoYWRvd1Zpc2libGU6IHRydWUsXG4gICAgICAgICAgICAgICAgc2hhZG93Qmx1cjogNixcbiAgICAgICAgICAgICAgICBzaGFkb3dPZmZzZXQ6IG5ldyBnby5Qb2ludCgwLCAyKSxcbiAgICAgICAgICAgICAgICBzaGFkb3dDb2xvcjogJyMwMDAwMDAyOScsXG4gICAgICAgICAgICAgIH0sXG4gICAgICAgICAgICAgIHRoaXMuJChcbiAgICAgICAgICAgICAgICBnby5QYW5lbCxcbiAgICAgICAgICAgICAgICAnQXV0bycsXG4gICAgICAgICAgICAgICAgdGhpcy4kKGdvLlNoYXBlLCB7XG4gICAgICAgICAgICAgICAgICBmaWxsOiBudWxsLFxuICAgICAgICAgICAgICAgICAgc3Ryb2tlOiAnZG9kZ2VyYmx1ZScsXG4gICAgICAgICAgICAgICAgICBzdHJva2VXaWR0aDogNCxcbiAgICAgICAgICAgICAgICB9KSxcbiAgICAgICAgICAgICAgICB0aGlzLiQoZ28uUGxhY2Vob2xkZXIsIHsgcGFkZGluZzogMyB9KVxuICAgICAgICAgICAgICApLFxuICAgICAgICAgICAgICB0aGlzLiQoXG4gICAgICAgICAgICAgICAgZ28uUGFuZWwsXG4gICAgICAgICAgICAgICAgJ0hvcml6b250YWwnLFxuICAgICAgICAgICAgICAgIHtcbiAgICAgICAgICAgICAgICAgIGFsaWdubWVudDogZ28uU3BvdC5Ub3BSaWdodCxcbiAgICAgICAgICAgICAgICAgIGFsaWdubWVudEZvY3VzOiBnby5TcG90LkJvdHRvbSxcbiAgICAgICAgICAgICAgICAgIGJhY2tncm91bmQ6ICd3aGl0ZScsXG4gICAgICAgICAgICAgICAgfSxcbiAgICAgICAgICAgICAgICB0aGlzLiQoXG4gICAgICAgICAgICAgICAgICAnQnV0dG9uJyxcbiAgICAgICAgICAgICAgICAgIHtcbiAgICAgICAgICAgICAgICAgICAgX2RyYWdEYXRhOiB7XG4gICAgICAgICAgICAgICAgICAgICAgdHlwZTogQXRvR29qc0VkaXRvck1vZGVsLkVOVU1fVEVNUExBVEVTLlRFWFRfTk9ERSxcbiAgICAgICAgICAgICAgICAgICAgICBuYW1lOiAwLFxuICAgICAgICAgICAgICAgICAgICAgIGNvbG9yOiBBdG9Hb2pzRWRpdG9yTW9kZWwuRU5VTV9DT0xPUlMuQkxVRSxcbiAgICAgICAgICAgICAgICAgICAgfSxcbiAgICAgICAgICAgICAgICAgICAgY2xpY2s6IHNlbGYuYWRkSXRlbU9uR3JvdXBab25lLCAvLyBkZWZpbmVkIGJlbG93LCB0byBzdXBwb3J0IGEgY2xpY2sgb24gdGhlIGJ1dHRvblxuICAgICAgICAgICAgICAgICAgICAnQnV0dG9uQm9yZGVyLnN0cm9rZVdpZHRoJzogMCxcbiAgICAgICAgICAgICAgICAgICAgJ0J1dHRvbkJvcmRlci5maWxsJzogJ3doaXRlJyxcbiAgICAgICAgICAgICAgICAgIH0sXG4gICAgICAgICAgICAgICAgICB0aGlzLiQoZ28uVGV4dEJsb2NrLCB7XG4gICAgICAgICAgICAgICAgICAgIG1hcmdpbjogNCxcbiAgICAgICAgICAgICAgICAgICAgdGV4dDogJ1xcdWYwNTUnLFxuICAgICAgICAgICAgICAgICAgICBmb250OiAnMjBweCBcIkZvbnQgQXdlc29tZSA2IFByb1wiJyxcbiAgICAgICAgICAgICAgICAgICAgY3Vyc29yOiAncG9pbnRlcicsXG4gICAgICAgICAgICAgICAgICAgIHN0cm9rZTogJyMyYzJjMmMnLFxuICAgICAgICAgICAgICAgICAgfSlcbiAgICAgICAgICAgICAgICApLFxuICAgICAgICAgICAgICAgIC8vIG1vcmVcbiAgICAgICAgICAgICAgICB0aGlzLmdlbmVyYXRlQWN0aW9uR3JvdXAoW1xuICAgICAgICAgICAgICAgICAgQXRvRGVmYXVsdEdvanNFZGl0b3IuRU5VTV9BQ1RJT05TLlJFTkFNRSxcbiAgICAgICAgICAgICAgICAgIEF0b0RlZmF1bHRHb2pzRWRpdG9yLkVOVU1fQUNUSU9OUy5ERVRBSUxTLFxuICAgICAgICAgICAgICAgICAgQXRvRGVmYXVsdEdvanNFZGl0b3IuRU5VTV9BQ1RJT05TLk9VVEZMT1csXG4gICAgICAgICAgICAgICAgICBBdG9EZWZhdWx0R29qc0VkaXRvci5FTlVNX0FDVElPTlMuREVMRVRFLFxuICAgICAgICAgICAgICAgIF0pXG4gICAgICAgICAgICAgICAgLy8gdGhpcy4kKFxuICAgICAgICAgICAgICAgIC8vICAgICAvLyBFZGl0IFRleHRcbiAgICAgICAgICAgICAgICAvLyAgICAgJ0J1dHRvbicsXG4gICAgICAgICAgICAgICAgLy8gICAgIHtcbiAgICAgICAgICAgICAgICAvLyAgICAgICAgIGNsaWNrOiBzZWxmLmVkaXRUZXh0R3JvdXBab25lLFxuICAgICAgICAgICAgICAgIC8vICAgICAgICAgJ0J1dHRvbkJvcmRlci5zdHJva2VXaWR0aCc6IDAsXG4gICAgICAgICAgICAgICAgLy8gICAgICAgICAnQnV0dG9uQm9yZGVyLmZpbGwnOiAnd2hpdGUnLFxuICAgICAgICAgICAgICAgIC8vICAgICB9LFxuICAgICAgICAgICAgICAgIC8vICAgICB0aGlzLiQoZ28uVGV4dEJsb2NrLCB7XG4gICAgICAgICAgICAgICAgLy8gICAgICAgICBtYXJnaW46IDQsXG4gICAgICAgICAgICAgICAgLy8gICAgICAgICB0ZXh0OiAnXFx1ZTFiZicsXG4gICAgICAgICAgICAgICAgLy8gICAgICAgICBmb250OiAnMjBweCBcIkZvbnQgQXdlc29tZSA2IFByb1wiJyxcbiAgICAgICAgICAgICAgICAvLyAgICAgICAgIGN1cnNvcjogJ3BvaW50ZXInLFxuICAgICAgICAgICAgICAgIC8vICAgICAgICAgc3Ryb2tlOiAnIzJjMmMyYycsXG4gICAgICAgICAgICAgICAgLy8gICAgIH0pLFxuICAgICAgICAgICAgICAgIC8vICksXG4gICAgICAgICAgICAgICAgLy8gdGhpcy4kKFxuICAgICAgICAgICAgICAgIC8vICAgICAvLyBPcGVuIERldGFpbFxuICAgICAgICAgICAgICAgIC8vICAgICAnQnV0dG9uJyxcbiAgICAgICAgICAgICAgICAvLyAgICAge1xuICAgICAgICAgICAgICAgIC8vICAgICAgICAgY2xpY2s6IChlLCBvYmo6IGFueSkgPT4ge1xuICAgICAgICAgICAgICAgIC8vICAgICAgICAgICAgIGNvbnN0IG5vZGUgPSBvYmoucGFydDtcbiAgICAgICAgICAgICAgICAvLyAgICAgICAgICAgICBzZWxmLm9uT3BlbkRldGFpbC5lbWl0KHtcbiAgICAgICAgICAgICAgICAvLyAgICAgICAgICAgICAgICAgbm9kZSxcbiAgICAgICAgICAgICAgICAvLyAgICAgICAgICAgICB9KTtcbiAgICAgICAgICAgICAgICAvLyAgICAgICAgIH0sXG4gICAgICAgICAgICAgICAgLy8gICAgICAgICAnQnV0dG9uQm9yZGVyLnN0cm9rZVdpZHRoJzogMCxcbiAgICAgICAgICAgICAgICAvLyAgICAgICAgICdCdXR0b25Cb3JkZXIuZmlsbCc6ICd3aGl0ZScsXG4gICAgICAgICAgICAgICAgLy8gICAgIH0sXG4gICAgICAgICAgICAgICAgLy9cbiAgICAgICAgICAgICAgICAvLyAgICAgdGhpcy4kKGdvLlRleHRCbG9jaywge1xuICAgICAgICAgICAgICAgIC8vICAgICAgICAgbWFyZ2luOiA0LFxuICAgICAgICAgICAgICAgIC8vICAgICAgICAgdGV4dDogJ1xcdWU0OWEnLFxuICAgICAgICAgICAgICAgIC8vICAgICAgICAgZm9udDogJzIwcHggXCJGb250IEF3ZXNvbWUgNiBQcm9cIicsXG4gICAgICAgICAgICAgICAgLy8gICAgICAgICBjdXJzb3I6ICdwb2ludGVyJyxcbiAgICAgICAgICAgICAgICAvLyAgICAgfSksXG4gICAgICAgICAgICAgICAgLy8gKSxcbiAgICAgICAgICAgICAgICAvLyAhdGhpcy5faW5pdGlhbE9wdGlvbnMuaXNSZWFkT25seVxuICAgICAgICAgICAgICAgIC8vICAgICA/IHRoaXMuJChcbiAgICAgICAgICAgICAgICAvLyAgICAgICAgICAgJ0J1dHRvbicsXG4gICAgICAgICAgICAgICAgLy8gICAgICAgICAgIHtcbiAgICAgICAgICAgICAgICAvLyAgICAgICAgICAgICAgIGFjdGlvbk1vdmU6IHNlbGYuZHJhZ05ld05vZGUsIC8vIGRlZmluZWQgYmVsb3csIHRvIHN1cHBvcnQgZHJhZ2dpbmcgZnJvbSB0aGUgYnV0dG9uXG4gICAgICAgICAgICAgICAgLy8gICAgICAgICAgICAgICBfZHJhZ0RhdGE6IHtcbiAgICAgICAgICAgICAgICAvLyAgICAgICAgICAgICAgICAgICB0eXBlOiBBdG9Hb2pzRWRpdG9yTW9kZWwuRU5VTV9URU1QTEFURVMuVEVYVF9OT0RFLFxuICAgICAgICAgICAgICAgIC8vICAgICAgICAgICAgICAgICAgIG5hbWU6IDAsXG4gICAgICAgICAgICAgICAgLy8gICAgICAgICAgICAgICAgICAgY29sb3I6IEF0b0dvanNFZGl0b3JNb2RlbC5FTlVNX0NPTE9SUy5CTFVFLFxuICAgICAgICAgICAgICAgIC8vICAgICAgICAgICAgICAgfSxcbiAgICAgICAgICAgICAgICAvLyAgICAgICAgICAgICAgIGNsaWNrOiBzZWxmLmNsaWNrTmV3Tm9kZSwgLy8gZGVmaW5lZCBiZWxvdywgdG8gc3VwcG9ydCBhIGNsaWNrIG9uIHRoZSBidXR0b25cbiAgICAgICAgICAgICAgICAvLyAgICAgICAgICAgICAgICdCdXR0b25Cb3JkZXIuc3Ryb2tlV2lkdGgnOiAwLFxuICAgICAgICAgICAgICAgIC8vICAgICAgICAgICAgICAgJ0J1dHRvbkJvcmRlci5maWxsJzogJ3doaXRlJyxcbiAgICAgICAgICAgICAgICAvLyAgICAgICAgICAgfSxcbiAgICAgICAgICAgICAgICAvLyAgICAgICAgICAgdGhpcy4kKGdvLlRleHRCbG9jaywge1xuICAgICAgICAgICAgICAgIC8vICAgICAgICAgICAgICAgbWFyZ2luOiA0LFxuICAgICAgICAgICAgICAgIC8vICAgICAgICAgICAgICAgdGV4dDogJ1xcdWUxNTcnLFxuICAgICAgICAgICAgICAgIC8vICAgICAgICAgICAgICAgZm9udDogJzIwcHggXCJGb250IEF3ZXNvbWUgNiBQcm9cIicsXG4gICAgICAgICAgICAgICAgLy8gICAgICAgICAgICAgICBjdXJzb3I6ICdwb2ludGVyJyxcbiAgICAgICAgICAgICAgICAvLyAgICAgICAgICAgICAgIHN0cm9rZTogJyMyYzJjMmMnLFxuICAgICAgICAgICAgICAgIC8vICAgICAgICAgICB9KSxcbiAgICAgICAgICAgICAgICAvLyAgICAgICApXG4gICAgICAgICAgICAgICAgLy8gICAgIDoge30sXG5cbiAgICAgICAgICAgICAgICAvLyB0aGlzLiQoXG4gICAgICAgICAgICAgICAgLy8gICAgICdCdXR0b24nLFxuICAgICAgICAgICAgICAgIC8vICAgICB7XG4gICAgICAgICAgICAgICAgLy8gICAgICAgICBjbGljazogc2VsZi5kZWxldGVOb2RlLFxuICAgICAgICAgICAgICAgIC8vICAgICAgICAgJ0J1dHRvbkJvcmRlci5zdHJva2VXaWR0aCc6IDAsXG4gICAgICAgICAgICAgICAgLy8gICAgICAgICAnQnV0dG9uQm9yZGVyLmZpbGwnOiAnd2hpdGUnLFxuICAgICAgICAgICAgICAgIC8vICAgICB9LFxuICAgICAgICAgICAgICAgIC8vICAgICB0aGlzLiQoZ28uVGV4dEJsb2NrLCB7XG4gICAgICAgICAgICAgICAgLy8gICAgICAgICBtYXJnaW46IDQsXG4gICAgICAgICAgICAgICAgLy8gICAgICAgICB0ZXh0OiAnXFx1ZjJlZCcsXG4gICAgICAgICAgICAgICAgLy8gICAgICAgICBmb250OiAnMjBweCBcIkZvbnQgQXdlc29tZSA2IFByb1wiJyxcbiAgICAgICAgICAgICAgICAvLyAgICAgICAgIGN1cnNvcjogJ3BvaW50ZXInLFxuICAgICAgICAgICAgICAgIC8vICAgICB9KSxcbiAgICAgICAgICAgICAgICAvLyApLFxuICAgICAgICAgICAgICApXG4gICAgICAgICAgICApLFxuICAgICAgfSxcblxuICAgICAgdGhpcy4kKFxuICAgICAgICBnby5QYW5lbCxcbiAgICAgICAgJ0F1dG8nLFxuICAgICAgICB0aGlzLiQoZ28uU2hhcGUsICdSb3VuZGVkUmVjdGFuZ2xlJywge1xuICAgICAgICAgIGZpbGw6ICd0cmFuc3BhcmVudCcsXG4gICAgICAgICAgc3Ryb2tlOiBBdG9Hb2pzRWRpdG9yTW9kZWwuRU5VTV9DT0xPUlMuUkVTT0xVVElPTl9CTFVFLFxuICAgICAgICAgIHN0cm9rZVdpZHRoOiAyLFxuICAgICAgICAgIHN0cm9rZURhc2hBcnJheTogWzUsIDVdLFxuICAgICAgICAgIG1heFNpemU6IG5ldyBnby5TaXplKHNpemUudywgTmFOKSxcbiAgICAgICAgfSksXG4gICAgICAgIHRoaXMuJChcbiAgICAgICAgICBnby5QYW5lbCxcbiAgICAgICAgICAnVGFibGUnLFxuICAgICAgICAgIHtcbiAgICAgICAgICAgIGFsaWdubWVudDogZ28uU3BvdC5Ub3AsXG4gICAgICAgICAgICBwYWRkaW5nOiBuZXcgZ28uTWFyZ2luKDE3LCAxMCwgMTYsIDEwKSxcbiAgICAgICAgICB9LFxuICAgICAgICAgIHRoaXMuJChcbiAgICAgICAgICAgIGdvLlRleHRCbG9jayxcbiAgICAgICAgICAgIHtcbiAgICAgICAgICAgICAgcm93OiAwLFxuICAgICAgICAgICAgICBtYXJnaW46IG5ldyBnby5NYXJnaW4oNSwgMCwgMTAsIDApLFxuICAgICAgICAgICAgICBlZGl0YWJsZTogdHJ1ZSxcbiAgICAgICAgICAgICAgZGVzaXJlZFNpemU6IG5ldyBnby5TaXplKHNpemUudyAtIDIwLCAyNSksXG4gICAgICAgICAgICAgIHN0cm9rZTogQXRvR29qc0VkaXRvck1vZGVsLkVOVU1fQ09MT1JTLk5JR0hUX1JJREVSLFxuICAgICAgICAgICAgICBmb250OiAnYm9sZCAxNnB4IEFyaWFsJyxcbiAgICAgICAgICAgICAgdGV4dEFsaWduOiAnY2VudGVyJyxcbiAgICAgICAgICAgICAgd3JhcDogZ28uVGV4dEJsb2NrLk5vbmUsXG4gICAgICAgICAgICAgIG92ZXJmbG93OiBnby5UZXh0QmxvY2suT3ZlcmZsb3dFbGxpcHNpcyxcbiAgICAgICAgICAgICAgdG9vbFRpcDogdGhpcy4kKFxuICAgICAgICAgICAgICAgICdUb29sVGlwJyxcbiAgICAgICAgICAgICAgICB0aGlzLiQoXG4gICAgICAgICAgICAgICAgICBnby5UZXh0QmxvY2ssXG4gICAgICAgICAgICAgICAgICB7XG4gICAgICAgICAgICAgICAgICAgIG1hcmdpbjogNCxcbiAgICAgICAgICAgICAgICAgIH0sXG4gICAgICAgICAgICAgICAgICBuZXcgZ28uQmluZGluZygndGV4dCcsICduYW1lJykubWFrZVR3b1dheSgpXG4gICAgICAgICAgICAgICAgKVxuICAgICAgICAgICAgICApLFxuICAgICAgICAgICAgfSxcbiAgICAgICAgICAgIG5ldyBnby5CaW5kaW5nKCd0ZXh0JywgJ25hbWUnKS5tYWtlVHdvV2F5KClcbiAgICAgICAgICApLFxuICAgICAgICAgIHRoaXMuJChnby5QbGFjZWhvbGRlciwgJ1ZlcnRpY2FsJywge1xuICAgICAgICAgICAgcm93OiAxLFxuICAgICAgICAgIH0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gICBtb3VzZUhvdmVyOiAoZSwgb2JqKSA9PiB7XG4gICAgICAvLyAgICAgICAgIGNvbnN0IG5vZGUgPSBvYmoucGFydDtcbiAgICAgIC8vICAgICAgICAgaWYgKChvYmogYXMgYW55KS5wYXJ0Py5vYj8udmFsdWUgPT09IFZBTFVFX05BKSB7XG4gICAgICAvLyAgICAgICAgICAgICBzZWxmLm9uSG92ZXJJbmZvQnV0dG9uLmVtaXQoe1xuICAgICAgLy8gICAgICAgICAgICAgICAgIGxlZnQ6IGU/LlsnV3InXT8ueCArIDgsXG4gICAgICAvLyAgICAgICAgICAgICAgICAgdG9wOiBlPy5bJ1dyJ10/LnksXG4gICAgICAvLyAgICAgICAgICAgICAgICAgbm9kZTogbm9kZVxuICAgICAgLy8gICAgICAgICAgICAgfSk7XG4gICAgICAvLyAgICAgICAgIH1cbiAgICAgIC8vICAgICB9LFxuICAgICAgLy8gICAgIG1vdXNlTGVhdmU6IChlLCBvYmopID0+IHtcbiAgICAgIC8vICAgICAgICAgaWYgKChvYmogYXMgYW55KS5wYXJ0Py5vYj8udmFsdWUgPT09IFZBTFVFX05BKSB7XG4gICAgICAvLyAgICAgICAgICAgICBzZWxmLm9uSG92ZXJJbmZvQnV0dG9uLmVtaXQobnVsbCk7XG4gICAgICAvLyAgICAgICAgIH1cbiAgICAgIC8vICAgICB9LFxuICAgICAgLy8gICAgIGNsaWNrOiAoZSwgb2JqOiBhbnkpID0+IHtcbiAgICAgIC8vICAgICAgICAgY29uc3Qgbm9kZSA9IG9iai5wYXJ0O1xuICAgICAgLy8gICAgICAgICB0aGlzLmlzU2hvd05vZGVJbmZvID8gc2VsZi5vbkNsaWNrSW5mb0J1dHRvbi5lbWl0KHtcbiAgICAgIC8vICAgICAgICAgICAgIGxlZnQ6IGU/LlsnV3InXT8ueCxcbiAgICAgIC8vICAgICAgICAgICAgIHRvcDogZT8uWydXciddPy55LFxuICAgICAgLy8gICAgICAgICAgICAgbm9kZTogbm9kZVxuICAgICAgLy8gICAgICAgICB9KSA6IG51bGw7XG4gICAgICAvLyAgICAgfSxcbiAgICAgIC8vIH0sXG4gICAgICAvLyBuZXcgZ28uQmluZGluZygnbG9jYXRpb24nLCAnbG9jJywgZ28uUG9pbnQucGFyc2UpLm1ha2VUd29XYXkoZ28uUG9pbnQuc3RyaW5naWZ5KSxcbiAgICAgIHtcbiAgICAgICAgbW92YWJsZTogZmFsc2UsXG4gICAgICB9LFxuICAgICAgdGhpcy4kKFxuICAgICAgICBnby5QYW5lbCxcbiAgICAgICAgJ0F1dG8nLFxuICAgICAgICB7XG4gICAgICAgICAgd2lkdGg6IHNpemUudyxcbiAgICAgICAgICBoZWlnaHQ6IHNpemUuaCxcbiAgICAgICAgfSxcbiAgICAgICAgdGhpcy4kKGdvLlNoYXBlLCAnUmVjdGFuZ2xlJywge1xuICAgICAgICAgIGZpbGw6IEF0b0dvanNFZGl0b3JNb2RlbC5FTlVNX0NPTE9SUy5MSUdIVF9CTFVFLFxuICAgICAgICAgIHN0cm9rZTogQXRvR29qc0VkaXRvck1vZGVsLkVOVU1fQ09MT1JTLkxJTktfV0FURVIsXG4gICAgICAgIH0pLFxuICAgICAgICB0aGlzLiQoXG4gICAgICAgICAgZ28uUGFuZWwsXG4gICAgICAgICAgJ1ZlcnRpY2FsJyxcbiAgICAgICAgICB0aGlzLiQoXG4gICAgICAgICAgICBnby5UZXh0QmxvY2ssXG4gICAgICAgICAgICB7XG4gICAgICAgICAgICAgIGVkaXRhYmxlOiB0cnVlLFxuICAgICAgICAgICAgICByb3c6IDIsXG4gICAgICAgICAgICAgIG1hcmdpbjogbmV3IGdvLk1hcmdpbigxMCwgMCwgNSwgMCksXG4gICAgICAgICAgICAgIGZvbnQ6ICdib2xkIDEycHggQXJpYWwnLFxuICAgICAgICAgICAgICB0ZXh0QWxpZ246ICdjZW50ZXInLFxuICAgICAgICAgICAgICBzdHJva2U6IEF0b0dvanNFZGl0b3JNb2RlbC5FTlVNX0NPTE9SUy5OSUdIVF9SSURFUixcbiAgICAgICAgICAgICAgdG9vbFRpcDogdGhpcy4kKFxuICAgICAgICAgICAgICAgICdUb29sVGlwJyxcbiAgICAgICAgICAgICAgICB0aGlzLiQoXG4gICAgICAgICAgICAgICAgICBnby5UZXh0QmxvY2ssXG4gICAgICAgICAgICAgICAgICB7XG4gICAgICAgICAgICAgICAgICAgIG1hcmdpbjogNCxcbiAgICAgICAgICAgICAgICAgIH0sXG4gICAgICAgICAgICAgICAgICBuZXcgZ28uQmluZGluZygndGV4dCcsICduYW1lJykubWFrZVR3b1dheSgpXG4gICAgICAgICAgICAgICAgKVxuICAgICAgICAgICAgICApLFxuICAgICAgICAgICAgfSxcbiAgICAgICAgICAgIG5ldyBnby5CaW5kaW5nKCd0ZXh0JywgJ25hbWUnKS5tYWtlVHdvV2F5KCksXG4gICAgICAgICAgICBuZXcgZ28uQmluZGluZygndmlzaWJsZScsICduYW1lJywgKHgpID0+ICEheClcbiAgICAgICAgICApLFxuICAgICAgICAgIHRoaXMuJChcbiAgICAgICAgICAgIGdvLlBhbmVsLFxuICAgICAgICAgICAgJ0hvcml6b250YWwnLFxuXG4gICAgICAgICAgICB7XG4gICAgICAgICAgICAgIG1hcmdpbjogbmV3IGdvLk1hcmdpbigwLCAxMCwgMCwgMTApLFxuICAgICAgICAgICAgfSxcbiAgICAgICAgICAgIHRoaXMuJChcbiAgICAgICAgICAgICAgZ28uVGV4dEJsb2NrLFxuICAgICAgICAgICAgICB7XG4gICAgICAgICAgICAgICAgbWFyZ2luOiBuZXcgZ28uTWFyZ2luKDAsIDUsIDEwLCAwKSxcbiAgICAgICAgICAgICAgICB0ZXh0QWxpZ246ICdjZW50ZXInLFxuICAgICAgICAgICAgICAgIGZvbnQ6ICcxMnB4IHNhbnMtc2VyaWYnLFxuICAgICAgICAgICAgICAgIHN0cm9rZTogQXRvR29qc0VkaXRvck1vZGVsLkVOVU1fQ09MT1JTLk5JR0hUX1JJREVSLFxuICAgICAgICAgICAgICAgIHdyYXA6IGdvLlRleHRCbG9jay5XcmFwRml0LFxuICAgICAgICAgICAgICAgIGVkaXRhYmxlOiB0cnVlLFxuICAgICAgICAgICAgICAgIGlzTXVsdGlsaW5lOiBmYWxzZSxcbiAgICAgICAgICAgICAgICBtYXhTaXplOiBuZXcgZ28uU2l6ZShzaXplLncgLSAxMDAsIDE1KSxcbiAgICAgICAgICAgICAgICBvdmVyZmxvdzogZ28uVGV4dEJsb2NrLk92ZXJmbG93RWxsaXBzaXMsXG4gICAgICAgICAgICAgICAgdG9vbFRpcDogdGhpcy4kKFxuICAgICAgICAgICAgICAgICAgJ1Rvb2xUaXAnLFxuICAgICAgICAgICAgICAgICAgdGhpcy4kKFxuICAgICAgICAgICAgICAgICAgICBnby5UZXh0QmxvY2ssXG4gICAgICAgICAgICAgICAgICAgIHtcbiAgICAgICAgICAgICAgICAgICAgICBtYXJnaW46IDQsXG4gICAgICAgICAgICAgICAgICAgIH0sXG4gICAgICAgICAgICAgICAgICAgIG5ldyBnby5CaW5kaW5nKCd0ZXh0JywgJ25hbWVJdGVtJykubWFrZVR3b1dheSgpXG4gICAgICAgICAgICAgICAgICApXG4gICAgICAgICAgICAgICAgKSxcbiAgICAgICAgICAgICAgfSxcbiAgICAgICAgICAgICAgbmV3IGdvLkJpbmRpbmcoJ3RleHQnLCAnbmFtZUl0ZW0nKS5tYWtlVHdvV2F5KCksXG4gICAgICAgICAgICAgIG5ldyBnby5CaW5kaW5nKCd2aXNpYmxlJywgJ25hbWVJdGVtJywgKHgpID0+ICEheClcbiAgICAgICAgICAgICksXG4gICAgICAgICAgICB0aGlzLiQoXG4gICAgICAgICAgICAgIGdvLlRleHRCbG9jayxcbiAgICAgICAgICAgICAge1xuICAgICAgICAgICAgICAgIG1hcmdpbjogbmV3IGdvLk1hcmdpbigwLCA1LCAxMCwgMCksXG4gICAgICAgICAgICAgICAgdGV4dEFsaWduOiAnY2VudGVyJyxcbiAgICAgICAgICAgICAgICBmb250OiAnMTJweCBzYW5zLXNlcmlmJyxcbiAgICAgICAgICAgICAgICBzdHJva2U6IEF0b0dvanNFZGl0b3JNb2RlbC5FTlVNX0NPTE9SUy5DRVJVTEVBTixcbiAgICAgICAgICAgICAgICB3cmFwOiBnby5UZXh0QmxvY2suV3JhcEZpdCxcbiAgICAgICAgICAgICAgICB0ZXh0OiAnPCAnLFxuICAgICAgICAgICAgICB9LFxuXG4gICAgICAgICAgICAgIG5ldyBnby5CaW5kaW5nKFxuICAgICAgICAgICAgICAgICd2aXNpYmxlJyxcbiAgICAgICAgICAgICAgICAnZGF0YScsXG4gICAgICAgICAgICAgICAgKHgpID0+IHR5cGVvZiB4Py5xdWFudGl0eSA9PT0gJ251bWJlcidcbiAgICAgICAgICAgICAgKVxuICAgICAgICAgICAgKSxcbiAgICAgICAgICAgIHRoaXMuJChcbiAgICAgICAgICAgICAgZ28uVGV4dEJsb2NrLFxuICAgICAgICAgICAgICB7XG4gICAgICAgICAgICAgICAgbWFyZ2luOiBuZXcgZ28uTWFyZ2luKDAsIDUsIDEwLCAwKSxcbiAgICAgICAgICAgICAgICB0ZXh0QWxpZ246ICdjZW50ZXInLFxuICAgICAgICAgICAgICAgIGZvbnQ6ICcxMnB4IHNhbnMtc2VyaWYnLFxuICAgICAgICAgICAgICAgIHN0cm9rZTogQXRvR29qc0VkaXRvck1vZGVsLkVOVU1fQ09MT1JTLkNFUlVMRUFOLFxuICAgICAgICAgICAgICAgIHdyYXA6IGdvLlRleHRCbG9jay5XcmFwRml0LFxuICAgICAgICAgICAgICB9LFxuICAgICAgICAgICAgICBuZXcgZ28uQmluZGluZygndGV4dCcsICdkYXRhJywgKHgpID0+IHtcbiAgICAgICAgICAgICAgICBpZiAodHlwZW9mIHg/LnF1YW50aXR5ICE9PSAnbnVtYmVyJykge1xuICAgICAgICAgICAgICAgICAgcmV0dXJuICcnO1xuICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICBjb25zdCBmb3JtYXR0ZWQ6IGFueSA9IFV0aWxzU2VydmljZS5jb252ZXJ0UHJlZml4ZXNEYXRhKHtcbiAgICAgICAgICAgICAgICAgIHZhbHVlOiB4Py5xdWFudGl0eSxcbiAgICAgICAgICAgICAgICAgIHVuaXQ6IHg/LnVuaXQsXG4gICAgICAgICAgICAgICAgfSk7XG4gICAgICAgICAgICAgICAgcmV0dXJuIChcbiAgICAgICAgICAgICAgICAgIGZvcm1hdHRlZC5zaG9ydGVuZWROdW1iZXIgK1xuICAgICAgICAgICAgICAgICAgICAnICcgK1xuICAgICAgICAgICAgICAgICAgICBmb3JtYXR0ZWQudW5pdFByZWZpeGVzICtcbiAgICAgICAgICAgICAgICAgICAgeD8udW5pdCA/PyAnJ1xuICAgICAgICAgICAgICAgICk7XG4gICAgICAgICAgICAgIH0pLFxuICAgICAgICAgICAgICBuZXcgZ28uQmluZGluZyhcbiAgICAgICAgICAgICAgICAndmlzaWJsZScsXG4gICAgICAgICAgICAgICAgJ2RhdGEnLFxuICAgICAgICAgICAgICAgICh4KSA9PiB0eXBlb2YgeD8ucXVhbnRpdHkgPT09ICdudW1iZXInXG4gICAgICAgICAgICAgIClcbiAgICAgICAgICAgICksXG5cbiAgICAgICAgICAgIHRoaXMuJChcbiAgICAgICAgICAgICAgZ28uVGV4dEJsb2NrLFxuICAgICAgICAgICAgICB7XG4gICAgICAgICAgICAgICAgbWFyZ2luOiBuZXcgZ28uTWFyZ2luKDAsIDUsIDEwLCAwKSxcbiAgICAgICAgICAgICAgICB0ZXh0QWxpZ246ICdjZW50ZXInLFxuICAgICAgICAgICAgICAgIGZvbnQ6ICcxMnB4IHNhbnMtc2VyaWYnLFxuICAgICAgICAgICAgICAgIHN0cm9rZTogQXRvR29qc0VkaXRvck1vZGVsLkVOVU1fQ09MT1JTLkNFUlVMRUFOLFxuICAgICAgICAgICAgICAgIHdyYXA6IGdvLlRleHRCbG9jay5XcmFwRml0LFxuICAgICAgICAgICAgICAgIHRleHQ6ICcgPicsXG4gICAgICAgICAgICAgIH0sXG4gICAgICAgICAgICAgIG5ldyBnby5CaW5kaW5nKFxuICAgICAgICAgICAgICAgICd2aXNpYmxlJyxcbiAgICAgICAgICAgICAgICAnZGF0YScsXG4gICAgICAgICAgICAgICAgKHgpID0+IHR5cGVvZiB4Py5xdWFudGl0eSA9PT0gJ251bWJlcidcbiAgICAgICAgICAgICAgKVxuICAgICAgICAgICAgKVxuICAgICAgICAgIClcbiAgICAgICAgKVxuICAgICAgKVxuICAgICk7XG4gICAgdGhpcy5teURpYWdyYW0ubm9kZVRlbXBsYXRlTWFwLnNldChcbiAgICAgIEF0b0dvanNFZGl0b3JNb2RlbC5FTlVNX1RFTVBMQVRFUy5aT05FX0VORVJHWV9JVEVNLFxuICAgICAgbm9kZVxuICAgICk7XG4gIH1cblxuICBtYWtlU3BlY2lhbFRlbXBsYXRlKFxuICAgIGljb24sXG4gICAgdGl0bGUsXG4gICAgc2l6ZTogeyB3OiBudW1iZXI7IGg6IG51bWJlciB9ID0ge1xuICAgICAgdzogQXRvR29qc0VkaXRvck1vZGVsLkdSSURfU0laRSAqIDUsXG4gICAgICBoOiBBdG9Hb2pzRWRpdG9yTW9kZWwuR1JJRF9TSVpFICogNSxcbiAgICB9XG4gICkge1xuICAgIGxldCBub2RlOiBhbnkgPSBudWxsO1xuICAgIHN3aXRjaCAodGl0bGUpIHtcbiAgICAgIGNhc2UgQXRvR29qc0VkaXRvck1vZGVsLkVOVU1fVEVNUExBVEVTLlNQRUNJQUxfUFJPQ0VTUzpcbiAgICAgICAgbm9kZSA9IHRoaXMuJChcbiAgICAgICAgICBnby5Ob2RlLFxuICAgICAgICAgICdTcG90JyxcbiAgICAgICAgICAvLyB7XG4gICAgICAgICAgLy8gICAgIGZyb21TcG90OiBnby5TcG90LlJpZ2h0LCAgLy8gY29taW5nIG91dCBmcm9tIG1pZGRsZS1yaWdodFxuICAgICAgICAgIC8vICAgICB0b1Nwb3Q6IGdvLlNwb3QuTGVmdFxuICAgICAgICAgIC8vIH0sXG4gICAgICAgICAge1xuICAgICAgICAgICAgY2xpY2s6IChlLCBvYmo6IGFueSkgPT4ge1xuICAgICAgICAgICAgICBpZiAob2JqPy5kYXRhPy5vblNlbGVjdGVkKSB7XG4gICAgICAgICAgICAgICAgb2JqPy5kYXRhPy5vblNlbGVjdGVkKG9iaj8uZGF0YSk7XG4gICAgICAgICAgICAgIH1cbiAgICAgICAgICAgIH0sXG4gICAgICAgICAgICBzZWxlY3Rpb25DaGFuZ2VkOiAoZSkgPT4ge1xuICAgICAgICAgICAgICBpZiAoIWUuaXNTZWxlY3RlZCAmJiBlPy5kYXRhPy5vblNlbGVjdGVkKSB7XG4gICAgICAgICAgICAgICAgZT8uZGF0YT8ub25TZWxlY3RlZChudWxsKTtcbiAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgfSxcbiAgICAgICAgICB9LFxuICAgICAgICAgIG5ldyBnby5CaW5kaW5nKCdsb2NhdGlvbicsICdsb2MnLCBnby5Qb2ludC5wYXJzZSkubWFrZVR3b1dheShcbiAgICAgICAgICAgIGdvLlBvaW50LnN0cmluZ2lmeVxuICAgICAgICAgICksXG4gICAgICAgICAgdGhpcy4kKFxuICAgICAgICAgICAgZ28uUGFuZWwsXG4gICAgICAgICAgICAnQXV0bycsXG4gICAgICAgICAgICB7IHdpZHRoOiBzaXplLncsIGhlaWdodDogc2l6ZS5oIH0sXG4gICAgICAgICAgICB0aGlzLiQoZ28uU2hhcGUsICdDaXJjbGUnLCB7XG4gICAgICAgICAgICAgIGZpbGw6ICd3aGl0ZScsXG4gICAgICAgICAgICAgIHN0cm9rZTogJyMyRDNCNzcnLFxuICAgICAgICAgICAgICBzdHJva2VXaWR0aDogMixcbiAgICAgICAgICAgICAgLy8gc3Ryb2tlRGFzaEFycmF5OiBbNSwgNV0sXG4gICAgICAgICAgICB9KSxcbiAgICAgICAgICAgIHRoaXMuJChcbiAgICAgICAgICAgICAgZ28uUGFuZWwsXG4gICAgICAgICAgICAgICdUYWJsZScsXG4gICAgICAgICAgICAgIHRoaXMuJChnby5UZXh0QmxvY2ssIEF0b0dvanNFZGl0b3JNb2RlbC5FTlVNX1RFTVBMQVRFUy5QUk9DRVNTLCB7XG4gICAgICAgICAgICAgICAgcm93OiAwLFxuICAgICAgICAgICAgICAgIG1hcmdpbjogbmV3IGdvLk1hcmdpbigzLCAzLCAxMCwgMyksXG4gICAgICAgICAgICAgICAgbWF4U2l6ZTogbmV3IGdvLlNpemUoc2l6ZS53IC0gMjAsIE5hTiksXG4gICAgICAgICAgICAgICAgc3Ryb2tlOiAnIzQ0NDQ0NCcsXG4gICAgICAgICAgICAgICAgZm9udDogJ25vcm1hbCAxMHB0IEFyaWFsJyxcbiAgICAgICAgICAgICAgICB0ZXh0QWxpZ246ICdjZW50ZXInLFxuICAgICAgICAgICAgICB9KSxcbiAgICAgICAgICAgICAgdGhpcy4kKGdvLlBpY3R1cmUsIGljb24sIHtcbiAgICAgICAgICAgICAgICByb3c6IDEsXG4gICAgICAgICAgICAgICAgbWFyZ2luOiBuZXcgZ28uTWFyZ2luKDAsIDAsIDEwLCAwKSxcbiAgICAgICAgICAgICAgICBhbGlnbm1lbnQ6IGdvLlNwb3QuQ2VudGVyLFxuICAgICAgICAgICAgICAgIG1heFNpemU6IG5ldyBnby5TaXplKDYwLCA2MCksXG4gICAgICAgICAgICAgICAgaW1hZ2VTdHJldGNoOiBnby5HcmFwaE9iamVjdC5Vbmlmb3JtLFxuICAgICAgICAgICAgICB9KVxuICAgICAgICAgICAgKVxuICAgICAgICAgICksXG5cbiAgICAgICAgICB0aGlzLiQoZ28uUGFuZWwsICdWZXJ0aWNhbCcsIHtcbiAgICAgICAgICAgIGFsaWdubWVudDogZ28uU3BvdC5MZWZ0LFxuICAgICAgICAgICAgYWxpZ25tZW50Rm9jdXM6IG5ldyBnby5TcG90KDAsIDAuNSwgOCwgMCksXG4gICAgICAgICAgfSksXG4gICAgICAgICAgdGhpcy4kKGdvLlBhbmVsLCAnVmVydGljYWwnLCB7XG4gICAgICAgICAgICBhbGlnbm1lbnQ6IGdvLlNwb3Qu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FlLmlzU2VsZWN0ZWQgJiYgZT8uZGF0YT8ub25TZWxlY3RlZCkge1xuICAgICAgICAgICAgICAgIGU/LmRhdGE/Lm9uU2VsZWN0ZWQobnVsbCk7XG4gICAgICAgICAgICAgIH1cbiAgICAgICAgICAgIH0sXG4gICAgICAgICAgfSxcbiAgICAgICAgICBuZXcgZ28uQmluZGluZygnbG9jYXRpb24nLCAnbG9jJywgZ28uUG9pbnQucGFyc2UpLm1ha2VUd29XYXkoXG4gICAgICAgICAgICBnby5Qb2ludC5zdHJpbmdpZnlcbiAgICAgICAgICApLFxuICAgICAgICAgIHRoaXMuJChcbiAgICAgICAgICAgIGdvLlBhbmVsLFxuICAgICAgICAgICAgJ0F1dG8nLFxuICAgICAgICAgICAgeyB3aWR0aDogc2l6ZS53LCBoZWlnaHQ6IHNpemUuaCB9LFxuICAgICAgICAgICAgdGhpcy4kKGdvLlNoYXBlLCAnQ2lyY2xlJywge1xuICAgICAgICAgICAgICBmaWxsOiAnd2hpdGUnLFxuICAgICAgICAgICAgICBzdHJva2U6ICcjMkQzQjc3JyxcbiAgICAgICAgICAgICAgc3Ryb2tlV2lkdGg6IDIsXG4gICAgICAgICAgICAgIC8vIHN0cm9rZURhc2hBcnJheTogWzUsIDVdLFxuICAgICAgICAgICAgfSksXG4gICAgICAgICAgICB0aGlzLiQoXG4gICAgICAgICAgICAgIGdvLlBhbmVsLFxuICAgICAgICAgICAgICAnVGFibGUnLFxuICAgICAgICAgICAgICB0aGlzLiQoZ28uVGV4dEJsb2NrLCBBdG9Hb2pzRWRpdG9yTW9kZWwuRU5VTV9URU1QTEFURVMuU1RPUkFHRSwge1xuICAgICAgICAgICAgICAgIHJvdzogMCxcbiAgICAgICAgICAgICAgICBtYXJnaW46IG5ldyBnby5NYXJnaW4oMywgMywgMTAsIDMpLFxuICAgICAgICAgICAgICAgIG1heFNpemU6IG5ldyBnby5TaXplKHNpemUudyAtIDIwLCBOYU4pLFxuICAgICAgICAgICAgICAgIHN0cm9rZTogJyM0NDQ0NDQnLFxuICAgICAgICAgICAgICAgIGZvbnQ6ICdub3JtYWwgMTBwdCBBcmlhbCcsXG4gICAgICAgICAgICAgICAgdGV4dEFsaWduOiAnY2VudGVyJyxcbiAgICAgICAgICAgICAgfSksXG4gICAgICAgICAgICAgIHRoaXMuJChcbiAgICAgICAgICAgICAgICBnby5QaWN0dXJlLFxuICAgICAgICAgICAgICAgIGljb24sXG4gICAgICAgICAgICAgICAge1xuICAgICAgICAgICAgICAgICAgcm93OiAxLFxuICAgICAgICAgICAgICAgICAgbWFyZ2luOiBuZXcgZ28uTWFyZ2luKDAsIDAsIDEwLCAwKSxcbiAgICAgICAgICAgICAgICAgIGFsaWdubWVudDogZ28uU3BvdC5DZW50ZXIsXG4gICAgICAgICAgICAgICAgICBtaW5TaXplOiBuZXcgZ28uU2l6ZSg0MCwgNDApLFxuICAgICAgICAgICAgICAgICAgbWF4U2l6ZTogbmV3IGdvLlNpemUoNTAsIDUwKSxcbiAgICAgICAgICAgICAgICAgIGltYWdlU3RyZXRjaDogZ28uR3JhcGhPYmplY3QuVW5pZm9ybSxcbiAgICAgICAgICAgICAgICB9LFxuICAgICAgICAgICAgICAgIG5ldyBnby5CaW5kaW5nKCdzb3VyY2UnLCAnaWNvbicpLm1ha2VUd29XYXkoKVxuICAgICAgICAgICAgICApXG4gICAgICAgICAgICApXG4gICAgICAgICAgKSxcblxuICAgICAgICAgIHRoaXMuJChnby5QYW5lbCwgJ1ZlcnRpY2FsJywge1xuICAgICAgICAgICAgYWxpZ25tZW50OiBnby5TcG90LkxlZnQsXG4gICAgICAgICAgICBhbGlnbm1lbnRGb2N1czogbmV3IGdvLlNwb3QoMCwgMC41LCA4LCAwKSxcbiAgICAgICAgICB9KSxcbiAgICAgICAgICB0aGlzLiQoZ28uUGFuZWwsICdWZXJ0aWNhbCcsIHtcbiAgICAgICAgICAgIGFsaWdubWVudDogZ28uU3BvdC5SaWdodCxcbiAgICAgICAgICAgIGFsaWdubWVudEZvY3V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xuICAgICAgICAgICAgICAgIGU/LmRhdGE/Lm9uU2VsZWN0ZWQobnVsbCk7XG4gICAgICAgICAgICAgIH1cbiAgICAgICAgICAgIH0sXG4gICAgICAgICAgfSxcbiAgICAgICAgICBuZXcgZ28uQmluZGluZygnbG9jYXRpb24nLCAnbG9jJywgZ28uUG9pbnQucGFyc2UpLm1ha2VUd29XYXkoXG4gICAgICAgICAgICBnby5Qb2ludC5zdHJpbmdpZnlcbiAgICAgICAgICApLFxuICAgICAgICAgIHRoaXMuJChcbiAgICAgICAgICAgIGdvLlBhbmVsLFxuICAgICAgICAgICAgJ0F1dG8nLFxuICAgICAgICAgICAgeyB3aWR0aDogc2l6ZS53LCBoZWlnaHQ6IHNpemUuaCB9LFxuICAgICAgICAgICAgdGhpcy4kKGdvLlNoYXBlLCAnQ2lyY2xlJywge1xuICAgICAgICAgICAgICBmaWxsOiAnd2hpdGUnLFxuICAgICAgICAgICAgICBzdHJva2U6ICcjMkQzQjc3JyxcbiAgICAgICAgICAgICAgc3Ryb2tlV2lkdGg6IDIsXG4gICAgICAgICAgICAgIC8vIHN0cm9rZURhc2hBcnJheTogWzUsIDVdLFxuICAgICAgICAgICAgfSksXG4gICAgICAgICAgICB0aGlzLiQoXG4gICAgICAgICAgICAgIGdvLlBhbmVsLFxuICAgICAgICAgICAgICAnVGFibGUnLFxuICAgICAgICAgICAgICB0aGlzLiQoZ28uVGV4dEJsb2NrLCAnU3RvcmUnLCB7XG4gICAgICAgICAgICAgICAgcm93OiAwLFxuICAgICAgICAgICAgICAgIG1hcmdpbjogbmV3IGdvLk1hcmdpbigzLCAzLCAxMCwgMyksXG4gICAgICAgICAgICAgICAgbWF4U2l6ZTogbmV3IGdvLlNpemUoc2l6ZS53IC0gMjAsIE5hTiksXG4gICAgICAgICAgICAgICAgc3Ryb2tlOiAnIzQ0NDQ0NCcsXG4gICAgICAgICAgICAgICAgZm9udDogJ25vcm1hbCAxMHB0IEFyaWFsJyxcbiAgICAgICAgICAgICAgICB0ZXh0QWxpZ246ICdjZW50ZXInLFxuICAgICAgICAgICAgICB9KSxcbiAgICAgICAgICAgICAgdGhpcy4kKGdvLlBpY3R1cmUsIGljb24sIHtcbiAgICAgICAgICAgICAgICByb3c6IDEsXG4gICAgICAgICAgICAgICAgbWFyZ2luOiBuZXcgZ28uTWFyZ2luKDAsIDAsIDEwLCAwKSxcbiAgICAgICAgICAgICAgICBhbGlnbm1lbnQ6IGdvLlNwb3QuQ2VudGVyLFxuICAgICAgICAgICAgICAgIG1heFNpemU6IG5ldyBnby5TaXplKDYwLCA2MCksXG4gICAgICAgICAgICAgICAgaW1hZ2VTdHJldGNoOiBnby5HcmFwaE9iamVjdC5Vbmlmb3JtLFxuICAgICAgICAgICAgICB9KVxuICAgICAgICAgICAgKVxuICAgICAgICAgIClcbiAgICAgICAgKTtcbiAgICAgICAgYnJlYWs7XG5cbiAgICAgIGNhc2UgQXRvR29qc0VkaXRvck1vZGVsLkVOVU1fVEVNUExBVEVTLlNQRUNJQUxfRElTQ0hBUkdFOlxuICAgICAgICBub2RlID0gdGhpcy4kKFxuICAgICAgICAgIGdvLk5vZGUsXG4gICAgICAgICAgJ1Nwb3QnLFxuICAgICAgICAgIHtcbiAgICAgICAgICAgIGNsaWNrOiAoZSwgb2JqOiBhbnkpID0+IHtcbiAgICAgICAgICAgICAgaWYgKG9iaj8uZGF0YT8ub25TZWxlY3RlZCkge1xuICAgICAgICAgICAgICAgIG9iaj8uZGF0YT8ub25TZWxlY3RlZChvYmo/LmRhdGEpO1xuICAgICAgICAgICAgICB9XG4gICAgICAgICAgICB9LFxuICAgICAgICAgICAgc2VsZWN0aW9uQ2hhbmdlZDogKGUpID0+IHtcbiAgICAgICAgICAgICAgaWYgKCFlLmlzU2VsZWN0ZWQgJiYgZT8uZGF0YT8ub25TZWxlY3RlZCkge1xuICAgICAgICAgICAgICAgIGU/LmRhdGE/Lm9uU2VsZWN0ZWQobnVsbCk7XG4gICAgICAgICAgICAgIH1cbiAgICAgICAgICAgIH0sXG4gICAgICAgICAgfSxcbiAgICAgICAgICBuZXcgZ28uQmluZGluZygnbG9jYXRpb24nLCAnbG9jJywgZ28uUG9pbnQucGFyc2UpLm1ha2VUd29XYXkoXG4gICAgICAgICAgICBnby5Qb2ludC5zdHJpbmdpZnlcbiAgICAgICAgICApLFxuICAgICAgICAgIHRoaXMuJChcbiAgICAgICAgICAgIGdvLlBhbmVsLFxuICAgICAgICAgICAgJ0F1dG8nLFxuICAgICAgICAgICAgeyB3aWR0aDogc2l6ZS53LCBoZWlnaHQ6IHNpemUuaCB9LFxuICAgICAgICAgICAgdGhpcy4kKGdvLlNoYXBlLCAnQ2lyY2xlJywge1xuICAgICAgICAgICAgICBmaWxsOiAnd2hpdGUnLFxuICAgICAgICAgICAgICBzdHJva2U6ICcjMkQzQjc3JyxcbiAgICAgICAgICAgICAgc3Ryb2tlV2lkdGg6IDIsXG4gICAgICAgICAgICAgIC8vIHN0cm9rZURhc2hBcnJheTogWzUsIDVdLFxuICAgICAgICAgICAgfSksXG4gICAgICAgICAgICB0aGlzLiQoXG4gICAgICAgICAgICAgIGdvLlBhbmVsLFxuICAgICAgICAgICAgICAnVGFibGUnLFxuICAgICAgICAgICAgICB0aGlzLiQoZ28uVGV4dEJsb2NrLCAnRGlzY2hhcmdlJywge1xuICAgICAgICAgICAgICAgIHJvdzogMCxcbiAgICAgICAgICAgICAgICBtYXJnaW46IG5ldyBnby5NYXJnaW4oMywgMywgMTAsIDMpLFxuICAgICAgICAgICAgICAgIG1heFNpemU6IG5ldyBnby5TaXplKHNpemUudyAtIDIwLCBOYU4pLFxuICAgICAgICAgICAgICAgIHN0cm9rZTogJyM0NDQ0NDQnLFxuICAgICAgICAgICAgICAgIGZvbnQ6ICdub3JtYWwgMTBwdCBBcmlhbCcsXG4gICAgICAgICAgICAgICAgdGV4dEFsaWduOiAnY2VudGVyJyxcbiAgICAgICAgICAgICAgfSksXG4gICAgICAgICAgICAgIHRoaXMuJChnby5QaWN0dXJlLCBpY29uLCB7XG4gICAgICAgICAgICAgICAgcm93OiAxLFxuICAgICAgICAgICAgICAgIG1hcmdpbjogbmV3IGdvLk1hcmdpbigwLCAwLCAxMCwgMCksXG4gICAgICAgICAgICAgICAgYWxpZ25tZW50OiBnby5TcG90LkNlbnRlcixcbiAgICAgICAgICAgICAgICBtYXhTaXplOiBuZXcgZ28uU2l6ZSg2MCwgNjApLFxuICAgICAgICAgICAgICAgIGltYWdlU3RyZXRjaDogZ28uR3JhcGhPYmplY3QuVW5pZm9ybSxcbiAgICAgICAgICAgICAgfSlcbiAgICAgICAgICAgIClcbiAgICAgICAgICApXG4gICAgICAgICk7XG4gICAgICAgIGJyZWFrO1xuXG4gICAgICBjYXNlIEF0b0dvanNFZGl0b3JNb2RlbC5FTlVNX1RFTVBMQVRFUy5TUEVDSUFMX09USEVSOlxuICAgICAgICBub2RlID0gdGhpcy4kKFxuICAgICAgICAgIGdvLk5vZGUsXG4gICAgICAgICAgJ1Nwb3QnLFxuICAgICAgICAgIHtcbiAgICAgICAgICAgIGNsaWNrOiAoZSwgb2JqOiBhbnkpID0+IHtcbiAgICAgICAgICAgICAgaWYgKG9iaj8uZGF0YT8ub25TZWxlY3RlZCkge1xuICAgICAgICAgICAgICAgIG9iaj8uZGF0YT8ub25TZWxlY3RlZChvYmo/LmRhdGEpO1xuICAgICAgICAgICAgICB9XG4gICAgICAgICAgICB9LFxuICAgICAgICAgICAgc2VsZWN0aW9uQ2hhbmdlZDogKGUpID0+IHtcbiAgICAgICAgICAgICAgaWYgKCFlLmlzU2VsZWN0ZWQgJiYgZT8uZGF0YT8ub25TZWxlY3RlZCkge1xuICAgICAgICAgICAgICAgIGU/LmRhdGE/Lm9uU2VsZWN0ZWQobnVsbCk7XG4gICAgICAgICAgICAgIH1cbiAgICAgICAgICAgIH0sXG4gICAgICAgICAgfSxcbiAgICAgICAgICBuZXcgZ28uQmluZGluZygnbG9jYXRpb24nLCAnbG9jJywgZ28uUG9pbnQucGFyc2UpLm1ha2VUd29XYXkoXG4gICAgICAgICAgICBnby5Qb2ludC5zdHJpbmdpZnlcbiAgICAgICAgICApLFxuICAgICAgICAgIHRoaXMuJChcbiAgICAgICAgICAgIGdvLlBhbmVsLFxuICAgICAgICAgICAgJ0F1dG8nLFxuICAgICAgICAgICAgeyB3aWR0aDogc2l6ZS53LCBoZWlnaHQ6IHNpemUuaCB9LFxuICAgICAgICAgICAgdGhpcy4kKGdvLlNoYXBlLCAnQ2lyY2xlJywge1xuICAgICAgICAgICAgICBmaWxsOiAnd2hpdGUnLFxuICAgICAgICAgICAgICBzdHJva2U6ICcjMkQzQjc3JyxcbiAgICAgICAgICAgICAgc3Ryb2tlV2lkdGg6IDIsXG4gICAgICAgICAgICAgIC8vIHN0cm9rZURhc2hBcnJheTogWzUsIDVdLFxuICAgICAgICAgICAgfSksXG4gICAgICAgICAgICB0aGlzLiQoXG4gICAgICAgICAgICAgIGdvLlBhbmVsLFxuICAgICAgICAgICAgICAnVGFibGUnLFxuICAgICAgICAgICAgICB0aGlzLiQoZ28uVGV4dEJsb2NrLCAnT3RoZXInLCB7XG4gICAgICAgICAgICAgICAgcm93OiAwLFxuICAgICAgICAgICAgICAgIG1hcmdpbjogbmV3IGdvLk1hcmdpbigzLCAzLCAxMCwgMyksXG4gICAgICAgICAgICAgICAgbWF4U2l6ZTogbmV3IGdvLlNpemUoc2l6ZS53IC0gMjAsIE5hTiksXG4gICAgICAgICAgICAgICAgc3Ryb2tlOiAnIzQ0NDQ0NCcsXG4gICAgICAgICAgICAgICAgZm9udDogJ25vcm1hbCAxMHB0IEFyaWFsJyxcbiAgICAgICAgICAgICAgICB0ZXh0QWxpZ246ICdjZW50ZXInLFxuICAgICAgICAgICAgICB9KSxcbiAgICAgICAgICAgICAgdGhpcy4kKGdvLlBpY3R1cmUsIGljb24sIHtcbiAgICAgICAgICAgICAgICByb3c6IDEsXG4gICAgICAgICAgICAgICAgbWFyZ2luOiBuZXcgZ28uTWFyZ2luKDAsIDAsIDEwLCAwKS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c3ZnU3RyKSlcbiAgICAgICAgICApfWA7XG4gICAgICAgICAgY29uc3QgaW1nID0gbmV3IEltYWdlKCk7XG4gICAgICAgICAgaW1nLnNyYyA9IGJhc2U2NFN2ZztcbiAgICAgICAgICBjb25zdCBjYW52YXMgPSBkb2N1bWVudC5jcmVhdGVFbGVtZW50KCdjYW52YXMnKTtcbiAgICAgICAgICAvLyBnZXQgY2FudmFzIGNvbnRleHQgZm9yIGRyYXdpbmcgb24gY2FudmFzXG4gICAgICAgICAgY29uc3QgY29udGV4dCA9IGNhbnZhcy5nZXRDb250ZXh0KCcyZCcpO1xuICAgICAgICAgIGltZy5vbmxvYWQgPSBmdW5jdGlvbiAoKSB7XG4gICAgICAgICAgICBjb25zdCBzdmdXaWR0aCA9IGltZy53aWR0aDtcbiAgICAgICAgICAgIGNvbnN0IHN2Z0hlaWdodCA9IGltZy5oZWlnaHQ7XG5cbiAgICAgICAgICAgIGNhbnZhcy53aWR0aCA9IHN2Z1dpZHRoO1xuICAgICAgICAgICAgY2FudmFzLmhlaWdodCA9IHN2Z0hlaWdodDtcblxuICAgICAgICAgICAgaWYgKGNvbnRleHQpIHtcbiAgICAgICAgICAgICAgY29udGV4dC5kcmF3SW1hZ2UoaW1nLCAwLCAwKTtcbiAgICAgICAgICAgICAgY29uc3QgYmFzZTY0UE5HID0gY2FudmFzLnRvRGF0YVVSTCgnaW1hZ2UvanBlZycpO1xuICAgICAgICAgICAgICBzZWxmLmVtaXRJbWFnZVRvcG9sb2d5KFxuICAgICAgICAgICAgICAgIGJhc2U2NFBORy5yZXBsYWNlKCdkYXRhOmltYWdlL2pwZWc7YmFzZTY0LCcsICcnKVxuICAgICAgICAgICAgICApO1xuICAgICAgICAgICAgfVxuICAgICAgICAgIH07XG4gICAgICAgIH0sIDEwMDApO1xuICAgICAgfSxcbiAgICB9KTtcbiAgfVxuXG4gIGVtaXRJbWFnZVRvcG9sb2d5KGJhc2U2NCkge1xuICAgIHRoaXMuY2FsbGJhY2tJbWF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