@bizdoc/core 1.16.3 → 1.16.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (77) hide show
  1. package/assets/system/Microsoft_Azure.svg +23 -0
  2. package/assets/system/QAD.svg +359 -0
  3. package/assets/system/sap.svg +1 -0
  4. package/esm2020/lib/admin/configuration-designer/cube-axes-filter.component.mjs +112 -0
  5. package/esm2020/lib/admin/configuration-designer/designer-element.component.mjs +204 -131
  6. package/esm2020/lib/admin/configuration-designer/designer.base.mjs +57 -10
  7. package/esm2020/lib/admin/configuration-designer/designer.component.mjs +86 -56
  8. package/esm2020/lib/admin/configuration-designer/elements/action.component.mjs +36 -16
  9. package/esm2020/lib/admin/configuration-designer/elements/analysis-view.component.mjs +5 -4
  10. package/esm2020/lib/admin/configuration-designer/elements/analysis-widget.component.mjs +5 -4
  11. package/esm2020/lib/admin/configuration-designer/elements/anomaly-rule.component.mjs +3 -3
  12. package/esm2020/lib/admin/configuration-designer/elements/box-form.component.mjs +3 -3
  13. package/esm2020/lib/admin/configuration-designer/elements/configuration-datasource.component.mjs +3 -3
  14. package/esm2020/lib/admin/configuration-designer/elements/cube-index-utility.component.mjs +3 -3
  15. package/esm2020/lib/admin/configuration-designer/elements/cube-view.component.mjs +3 -3
  16. package/esm2020/lib/admin/configuration-designer/elements/cube.component.mjs +81 -63
  17. package/esm2020/lib/admin/configuration-designer/elements/documents-report.component.mjs +3 -3
  18. package/esm2020/lib/admin/configuration-designer/elements/documents-widget.component.mjs +3 -3
  19. package/esm2020/lib/admin/configuration-designer/elements/explore-view.component.mjs +3 -3
  20. package/esm2020/lib/admin/configuration-designer/elements/folder.component.mjs +42 -13
  21. package/esm2020/lib/admin/configuration-designer/elements/form.component.mjs +12 -17
  22. package/esm2020/lib/admin/configuration-designer/elements/guide.component.mjs +8 -13
  23. package/esm2020/lib/admin/configuration-designer/elements/matrix-view.component.mjs +5 -4
  24. package/esm2020/lib/admin/configuration-designer/elements/parallel-view.component.mjs +4 -4
  25. package/esm2020/lib/admin/configuration-designer/elements/performance-widget.component.mjs +3 -3
  26. package/esm2020/lib/admin/configuration-designer/elements/pivot-view.component.mjs +4 -4
  27. package/esm2020/lib/admin/configuration-designer/elements/report.component.mjs +9 -14
  28. package/esm2020/lib/admin/configuration-designer/elements/return-to-role-action.component.mjs +3 -3
  29. package/esm2020/lib/admin/configuration-designer/elements/role.component.mjs +13 -5
  30. package/esm2020/lib/admin/configuration-designer/elements/rule.component.mjs +6 -13
  31. package/esm2020/lib/admin/configuration-designer/elements/state.component.mjs +20 -15
  32. package/esm2020/lib/admin/configuration-designer/elements/sum-view.component.mjs +4 -4
  33. package/esm2020/lib/admin/configuration-designer/elements/tasks-report.component.mjs +3 -3
  34. package/esm2020/lib/admin/configuration-designer/elements/type.component.mjs +8 -14
  35. package/esm2020/lib/admin/configuration-designer/elements/usage-report.component.mjs +4 -4
  36. package/esm2020/lib/admin/configuration-designer/elements/utility.component.mjs +6 -6
  37. package/esm2020/lib/admin/configuration-designer/elements/view.component.mjs +6 -13
  38. package/esm2020/lib/admin/configuration-designer/elements/widget.component.mjs +7 -12
  39. package/esm2020/lib/admin/configuration-designer/icon-picker.component.mjs +3 -3
  40. package/esm2020/lib/admin/form/workflow/node.component.mjs +2 -2
  41. package/esm2020/lib/bizdoc.module.mjs +1 -3
  42. package/esm2020/lib/core/functions.mjs +4 -3
  43. package/esm2020/lib/core/layout/input.base.mjs +45 -1
  44. package/esm2020/lib/core/layout/input.field.mjs +3 -2
  45. package/esm2020/lib/core/layout/layout.component.mjs +16 -58
  46. package/esm2020/lib/core/models.mjs +1 -1
  47. package/esm2020/lib/core/slots/router.service.mjs +1 -1
  48. package/esm2020/lib/core/slots/slots.component.mjs +12 -7
  49. package/esm2020/lib/core/translations.mjs +15 -2
  50. package/esm2020/lib/dashboard/widget-item.component.mjs +2 -2
  51. package/esm2020/lib/reports/arguments-component.mjs +2 -2
  52. package/esm2020/lib/shared.module.mjs +3 -1
  53. package/esm2020/lib/system.module.mjs +10 -9
  54. package/esm2020/lib/views/cube/sum.component.mjs +1 -1
  55. package/fesm2015/bizdoc-core.mjs +1604 -1306
  56. package/fesm2015/bizdoc-core.mjs.map +1 -1
  57. package/fesm2020/bizdoc-core.mjs +1591 -1294
  58. package/fesm2020/bizdoc-core.mjs.map +1 -1
  59. package/lib/admin/configuration-designer/cube-axes-filter.component.d.ts +35 -0
  60. package/lib/admin/configuration-designer/designer-element.component.d.ts +66 -27
  61. package/lib/admin/configuration-designer/designer.base.d.ts +99 -38
  62. package/lib/admin/configuration-designer/designer.component.d.ts +8 -4
  63. package/lib/admin/configuration-designer/elements/action.component.d.ts +18 -4
  64. package/lib/admin/configuration-designer/elements/cube.component.d.ts +1 -8
  65. package/lib/admin/configuration-designer/elements/folder.component.d.ts +8 -4
  66. package/lib/admin/configuration-designer/elements/report.component.d.ts +3 -3
  67. package/lib/admin/configuration-designer/elements/role.component.d.ts +2 -0
  68. package/lib/admin/configuration-designer/elements/state.component.d.ts +4 -0
  69. package/lib/core/layout/input.base.d.ts +4 -1
  70. package/lib/core/layout/input.field.d.ts +1 -1
  71. package/lib/core/layout/layout.component.d.ts +5 -7
  72. package/lib/core/models.d.ts +5 -4
  73. package/lib/core/slots/router.service.d.ts +2 -0
  74. package/lib/core/translations.d.ts +13 -0
  75. package/lib/system.module.d.ts +50 -49
  76. package/lib/views/cube/sum.component.d.ts +3 -3
  77. package/package.json +16 -16
@@ -1,24 +1,17 @@
1
- import { __decorate } from "tslib";
2
1
  import { Component } from "@angular/core";
3
- import { BizDoc } from "../../../core/decorators";
4
2
  import { DesignerTypeElementComponent } from "../designer.base";
5
3
  import * as i0 from "@angular/core";
6
- import * as i1 from "@angular/common";
7
- import * as i2 from "@angular/forms";
8
- let ViewDesignComponent = class ViewDesignComponent extends DesignerTypeElementComponent {
4
+ import * as i1 from "../designer-element.component";
5
+ export class ViewDesignComponent extends DesignerTypeElementComponent {
9
6
  constructor() {
10
7
  super(...arguments);
11
8
  this.form = this._fb.group({});
12
9
  }
13
- };
10
+ }
14
11
  ViewDesignComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.3", ngImport: i0, type: ViewDesignComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
15
- ViewDesignComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.3", type: ViewDesignComponent, selector: "ng-component", usesInheritance: true, ngImport: i0, template: "<form autocomplete=\"off\" [formGroup]=\"form\" *ngIf=\"mode === 'edit'; else info\">\r\n</form>\r\n<ng-template #info>\r\n <div>\r\n </div>\r\n</ng-template>\r\n", dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i2.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i2.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }] });
16
- ViewDesignComponent = __decorate([
17
- BizDoc({ selector: 'view-designer' })
18
- ], ViewDesignComponent);
19
- export { ViewDesignComponent };
12
+ ViewDesignComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.3", type: ViewDesignComponent, selector: "ng-component", usesInheritance: true, ngImport: i0, template: "<bizdoc-designer-element (save)=\"save.emit($event)\">\r\n <bizdoc-designer-element-info>\r\n </bizdoc-designer-element-info>\r\n <bizdoc-designer-element-edit [form]=\"form\">\r\n </bizdoc-designer-element-edit>\r\n</bizdoc-designer-element>\r\n", dependencies: [{ kind: "component", type: i1.DesignerElementInfoComponent, selector: "bizdoc-designer-element-info" }, { kind: "component", type: i1.DesignerElementPhaseComponent, selector: "bizdoc-designer-element-edit", inputs: ["state", "form"], outputs: ["save"] }, { kind: "component", type: i1.DesignerItemComponent, selector: "bizdoc-designer-element", inputs: ["state"], outputs: ["save"] }] });
20
13
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.3", ngImport: i0, type: ViewDesignComponent, decorators: [{
21
14
  type: Component,
22
- args: [{ template: "<form autocomplete=\"off\" [formGroup]=\"form\" *ngIf=\"mode === 'edit'; else info\">\r\n</form>\r\n<ng-template #info>\r\n <div>\r\n </div>\r\n</ng-template>\r\n" }]
15
+ args: [{ template: "<bizdoc-designer-element (save)=\"save.emit($event)\">\r\n <bizdoc-designer-element-info>\r\n </bizdoc-designer-element-info>\r\n <bizdoc-designer-element-edit [form]=\"form\">\r\n </bizdoc-designer-element-edit>\r\n</bizdoc-designer-element>\r\n" }]
23
16
  }] });
24
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidmlldy5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJyYXJpZXMvY29yZS9zcmMvbGliL2FkbWluL2NvbmZpZ3VyYXRpb24tZGVzaWduZXIvZWxlbWVudHMvdmlldy5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJyYXJpZXMvY29yZS9zcmMvbGliL2FkbWluL2NvbmZpZ3VyYXRpb24tZGVzaWduZXIvZWxlbWVudHMvdmlldy5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQUEsT0FBTyxFQUFFLFNBQVMsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUMxQyxPQUFPLEVBQUUsTUFBTSxFQUFFLE1BQU0sMEJBQTBCLENBQUM7QUFDbEQsT0FBTyxFQUFFLDRCQUE0QixFQUFFLE1BQU0sa0JBQWtCLENBQUM7Ozs7SUFJbkQsbUJBQW1CLFNBQW5CLG1CQUFvQixTQUFRLD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mVudCh7IHRlbXBsYXRlVXJsOiAndmlldy5jb21wb25lbnQuaHRtbCcgfSlcclxuZXhwb3J0IGNsYXNzIFZpZXdEZXNpZ25Db21wb25lbnQgZXh0ZW5kcyBEZXNpZ25lclR5cGVFbGVtZW50Q29tcG9uZW50IHtcclxuICBmb3JtID0gdGhpcy5fZmIuZ3JvdXAoe30pO1xyXG59XHJcbiIsIjxiaXpkb2MtZGVzaWduZXItZWxlbWVudCAoc2F2ZSk9XCJzYXZlLmVtaXQoJGV2ZW50KVwiPlxyXG4gIDxiaXpkb2MtZGVzaWduZXItZWxlbWVudC1pbmZvPlxyXG4gIDwvYml6ZG9jLWRlc2lnbmVyLWVsZW1lbnQtaW5mbz5cclxuICA8Yml6ZG9jLWRlc2lnbmVyLWVsZW1lbnQtZWRpdCBbZm9ybV09XCJmb3JtXCI+XHJcbiAgPC9iaXpkb2MtZGVzaWduZXItZWxlbWVudC1lZGl0PlxyXG48L2JpemRvYy1kZXNpZ25lci1lbGVtZW50PlxyXG4iXX0=
@@ -1,6 +1,4 @@
1
- import { __decorate } from "tslib";
2
1
  import { Component } from "@angular/core";
3
- import { BizDoc } from "../../../core/decorators";
4
2
  import { DesignerTypeElementComponent } from "../designer.base";
5
3
  import * as i0 from "@angular/core";
6
4
  import * as i1 from "@angular/common";
@@ -8,8 +6,9 @@ import * as i2 from "@angular/forms";
8
6
  import * as i3 from "@angular/material/core";
9
7
  import * as i4 from "@angular/material/form-field";
10
8
  import * as i5 from "@angular/material/select";
11
- import * as i6 from "../../../core/pipes/translate.pipe";
12
- let WidgetDesignComponent = class WidgetDesignComponent extends DesignerTypeElementComponent {
9
+ import * as i6 from "../designer-element.component";
10
+ import * as i7 from "../../../core/pipes/translate.pipe";
11
+ export class WidgetDesignComponent extends DesignerTypeElementComponent {
13
12
  constructor() {
14
13
  super(...arguments);
15
14
  this.form = this._fb.group({
@@ -19,15 +18,11 @@ let WidgetDesignComponent = class WidgetDesignComponent extends DesignerTypeElem
19
18
  ngOnInit() {
20
19
  this.guides = this._ref.designer.guides;
21
20
  }
22
- };
21
+ }
23
22
  WidgetDesignComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.3", ngImport: i0, type: WidgetDesignComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
24
- WidgetDesignComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.3", type: WidgetDesignComponent, selector: "ng-component", usesInheritance: true, ngImport: i0, template: "<form autocomplete=\"off\" [formGroup]=\"form\" *ngIf=\"mode === 'edit'; else info\" class=\"column\">\r\n <mat-form-field *ngIf=\"guides.length\">\r\n <mat-label>{{'Guide'|translate}}</mat-label>\r\n <mat-select formControlName=\"guide\">\r\n <mat-option>{{'None'|translate}}</mat-option>\r\n <mat-option *ngFor=\"let g of guides\" [value]=\"g.name\">{{g.title || g.name}}</mat-option>\r\n </mat-select>\r\n </mat-form-field>\r\n</form>\r\n<ng-template #info>\r\n</ng-template>\r\n", dependencies: [{ kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i2.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i2.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "component", type: i3.MatOption, selector: "mat-option", exportAs: ["matOption"] }, { kind: "component", type: i4.MatFormField, selector: "mat-form-field", inputs: ["color", "appearance", "hideRequiredMarker", "hintLabel", "floatLabel"], exportAs: ["matFormField"] }, { kind: "directive", type: i4.MatLabel, selector: "mat-label" }, { kind: "component", type: i5.MatSelect, selector: "mat-select", inputs: ["disabled", "disableRipple", "tabIndex"], exportAs: ["matSelect"] }, { kind: "pipe", type: i6.TranslatePipe, name: "translate" }] });
25
- WidgetDesignComponent = __decorate([
26
- BizDoc({ selector: 'widget-designer' })
27
- ], WidgetDesignComponent);
28
- export { WidgetDesignComponent };
23
+ WidgetDesignComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.3", type: WidgetDesignComponent, selector: "ng-component", usesInheritance: true, ngImport: i0, template: "<bizdoc-designer-element (save)=\"save.emit($event)\">\r\n <bizdoc-designer-element-info>\r\n </bizdoc-designer-element-info>\r\n <bizdoc-designer-element-edit [form]=\"form\">\r\n <form autocomplete=\"off\" [formGroup]=\"form\" class=\"column\">\r\n <mat-form-field *ngIf=\"guides.length\">\r\n <mat-label>{{'Guide'|translate}}</mat-label>\r\n <mat-select formControlName=\"guide\">\r\n <mat-option>{{'None'|translate}}</mat-option>\r\n <mat-option *ngFor=\"let g of guides\" [value]=\"g.name\">{{g.title || g.name}}</mat-option>\r\n </mat-select>\r\n </mat-form-field>\r\n</form></bizdoc-designer-element-edit>\r\n</bizdoc-designer-element>\r\n", dependencies: [{ kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i2.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i2.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "component", type: i3.MatOption, selector: "mat-option", exportAs: ["matOption"] }, { kind: "component", type: i4.MatFormField, selector: "mat-form-field", inputs: ["color", "appearance", "hideRequiredMarker", "hintLabel", "floatLabel"], exportAs: ["matFormField"] }, { kind: "directive", type: i4.MatLabel, selector: "mat-label" }, { kind: "component", type: i5.MatSelect, selector: "mat-select", inputs: ["disabled", "disableRipple", "tabIndex"], exportAs: ["matSelect"] }, { kind: "component", type: i6.DesignerElementInfoComponent, selector: "bizdoc-designer-element-info" }, { kind: "component", type: i6.DesignerElementPhaseComponent, selector: "bizdoc-designer-element-edit", inputs: ["state", "form"], outputs: ["save"] }, { kind: "component", type: i6.DesignerItemComponent, selector: "bizdoc-designer-element", inputs: ["state"], outputs: ["save"] }, { kind: "pipe", type: i7.TranslatePipe, name: "translate" }] });
29
24
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.3", ngImport: i0, type: WidgetDesignComponent, decorators: [{
30
25
  type: Component,
31
- args: [{ template: "<form autocomplete=\"off\" [formGroup]=\"form\" *ngIf=\"mode === 'edit'; else info\" class=\"column\">\r\n <mat-form-field *ngIf=\"guides.length\">\r\n <mat-label>{{'Guide'|translate}}</mat-label>\r\n <mat-select formControlName=\"guide\">\r\n <mat-option>{{'None'|translate}}</mat-option>\r\n <mat-option *ngFor=\"let g of guides\" [value]=\"g.name\">{{g.title || g.name}}</mat-option>\r\n </mat-select>\r\n </mat-form-field>\r\n</form>\r\n<ng-template #info>\r\n</ng-template>\r\n" }]
26
+ args: [{ template: "<bizdoc-designer-element (save)=\"save.emit($event)\">\r\n <bizdoc-designer-element-info>\r\n </bizdoc-designer-element-info>\r\n <bizdoc-designer-element-edit [form]=\"form\">\r\n <form autocomplete=\"off\" [formGroup]=\"form\" class=\"column\">\r\n <mat-form-field *ngIf=\"guides.length\">\r\n <mat-label>{{'Guide'|translate}}</mat-label>\r\n <mat-select formControlName=\"guide\">\r\n <mat-option>{{'None'|translate}}</mat-option>\r\n <mat-option *ngFor=\"let g of guides\" [value]=\"g.name\">{{g.title || g.name}}</mat-option>\r\n </mat-select>\r\n </mat-form-field>\r\n</form></bizdoc-designer-element-edit>\r\n</bizdoc-designer-element>\r\n" }]
32
27
  }] });
33
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoid2lkZ2V0LmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL2xpYnJhcmllcy9jb3JlL3NyYy9saWIvYWRtaW4vY29uZmlndXJhdGlvbi1kZXNpZ25lci9lbGVtZW50cy93aWRnZXQuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vLi4vbGlicmFyaWVzL2NvcmUvc3JjL2xpYi9hZG1pbi9jb25maWd1cmF0aW9uLWRlc2lnbmVyL2VsZW1lbnRzL3dpZGdldC5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQUEsT0FBTyxFQUFFLFNBQVMsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUMxQyxPQUFPLEVBQUUsTUFBTSxFQUFFLE1BQU0sMEJBQTBCLENBQUM7QUFDbEQsT0FBTyxFQUFFLDRCQUE0QixFQUFlLE1BQU0sa0JBQWtCLENBQUM7Ozs7Ozs7O0lBSWhFLHFCQUFxQixTQUFyQixxQkFBc0IsU0FBUSw0QkFBNEI7OztRQUNyRSxTQUFJLEdBQUcsSUFBSSxDQUFDLEdBQUcsQ0FBQyxLQUFLLENBQUM7WUFDcEIsS0FBSyxFQUFFLElBQUk7U0FDWixDQUFDLENBQUM7S0FL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