ctt-puro 0.23.3 → 0.23.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm2022/lib/components/puro-info-big/puro-info-big.component.mjs +3 -3
- package/esm2022/lib/components/puro-slider1col/puro-slider1col.component.mjs +3 -3
- package/esm2022/lib/services/mapper/mapper.service.mjs +7 -5
- package/fesm2022/ctt-puro.mjs +10 -8
- package/fesm2022/ctt-puro.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -5,11 +5,11 @@ import * as i0 from "@angular/core";
|
|
|
5
5
|
import * as i1 from "@angular/common";
|
|
6
6
|
export class PuroInfoBigComponent {
|
|
7
7
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: PuroInfoBigComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
8
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.3.12", type: PuroInfoBigComponent, isStandalone: true, selector: "lib-puro-info-big", inputs: { pretitle: "pretitle", title: "title", subtitle: "subtitle", description: "description", ndDescription: "ndDescription", buttons: "buttons", link: "link", img: "img" }, ngImport: i0, template: "<section class=\"moments moments--withBg\">\n <div class=\"moments__container\">\n <span class=\"moments__title\">{{ pretitle }}</span>\n <h2 class=\"moments__heading\" [innerHTML]=\"title\"></h2>\n <div class=\"moments__paragraph\">\n <p>\n {{ subtitle }}\n <span class=\"more-content\">{{ description }}</span>\n </p>\n <p class=\"more-content\">\n {{ ndDescription }}\n </p>\n </div>\n <div class=\"btn__group\">\n @if (buttons) {\n <button class=\"btn btn__secondary--outline btn__moreLess\" aria-label=\"Buttons more\">\n @for (btn of buttons; track $index) {\n <span\n [ngClass]=\"{\n 'btn__moreLess-.more': $even,\n 'btn__moreLess-less': $odd,\n }\"\n >{{ btn.label }}</span\n >\n }\n </button>\n }\n @if (link) {\n <a\n [href]=\"link.url\"\n class=\"btn btn__secondary--outline\"\n puroLinkType\n [linkType]=\"link.linkType\"\n [attr.aria-label]=\"link.label\"\n >\n <span>{{ link.label }}</span>\n </a>\n }\n </div>\n </div>\n</section>\n", styles: [""], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: PuroLinkTypeDirective, selector: "[linkType]", inputs: ["linkType", "href", "modalClick"], outputs: ["bookClick", "anchorClicked"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
8
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.3.12", type: PuroInfoBigComponent, isStandalone: true, selector: "lib-puro-info-big", inputs: { pretitle: "pretitle", title: "title", subtitle: "subtitle", description: "description", ndDescription: "ndDescription", buttons: "buttons", link: "link", img: "img" }, ngImport: i0, template: "<section class=\"moments moments--withBg\" [ngStyle]=\"{ background: 'url(' + img?.src + ') no-repeat center bottom' }\">\n <div class=\"moments__container\">\n <span class=\"moments__title\">{{ pretitle }}</span>\n <h2 class=\"moments__heading\" [innerHTML]=\"title\"></h2>\n <div class=\"moments__paragraph\">\n <p>\n {{ subtitle }}\n <span class=\"more-content\">{{ description }}</span>\n </p>\n <p class=\"more-content\">\n {{ ndDescription }}\n </p>\n </div>\n <div class=\"btn__group\">\n @if (buttons) {\n <button class=\"btn btn__secondary--outline btn__moreLess\" aria-label=\"Buttons more\">\n @for (btn of buttons; track $index) {\n <span\n [ngClass]=\"{\n 'btn__moreLess-.more': $even,\n 'btn__moreLess-less': $odd,\n }\"\n >{{ btn.label }}</span\n >\n }\n </button>\n }\n @if (link) {\n <a\n [href]=\"link.url\"\n class=\"btn btn__secondary--outline\"\n puroLinkType\n [linkType]=\"link.linkType\"\n [attr.aria-label]=\"link.label\"\n >\n <span>{{ link.label }}</span>\n </a>\n }\n </div>\n </div>\n</section>\n", styles: [""], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "directive", type: PuroLinkTypeDirective, selector: "[linkType]", inputs: ["linkType", "href", "modalClick"], outputs: ["bookClick", "anchorClicked"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
9
9
|
}
|
|
10
10
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: PuroInfoBigComponent, decorators: [{
|
|
11
11
|
type: Component,
|
|
12
|
-
args: [{ selector: 'lib-puro-info-big', standalone: true, imports: [CommonModule, PuroLinkTypeDirective], changeDetection: ChangeDetectionStrategy.OnPush, template: "<section class=\"moments moments--withBg\">\n <div class=\"moments__container\">\n <span class=\"moments__title\">{{ pretitle }}</span>\n <h2 class=\"moments__heading\" [innerHTML]=\"title\"></h2>\n <div class=\"moments__paragraph\">\n <p>\n {{ subtitle }}\n <span class=\"more-content\">{{ description }}</span>\n </p>\n <p class=\"more-content\">\n {{ ndDescription }}\n </p>\n </div>\n <div class=\"btn__group\">\n @if (buttons) {\n <button class=\"btn btn__secondary--outline btn__moreLess\" aria-label=\"Buttons more\">\n @for (btn of buttons; track $index) {\n <span\n [ngClass]=\"{\n 'btn__moreLess-.more': $even,\n 'btn__moreLess-less': $odd,\n }\"\n >{{ btn.label }}</span\n >\n }\n </button>\n }\n @if (link) {\n <a\n [href]=\"link.url\"\n class=\"btn btn__secondary--outline\"\n puroLinkType\n [linkType]=\"link.linkType\"\n [attr.aria-label]=\"link.label\"\n >\n <span>{{ link.label }}</span>\n </a>\n }\n </div>\n </div>\n</section>\n" }]
|
|
12
|
+
args: [{ selector: 'lib-puro-info-big', standalone: true, imports: [CommonModule, PuroLinkTypeDirective], changeDetection: ChangeDetectionStrategy.OnPush, template: "<section class=\"moments moments--withBg\" [ngStyle]=\"{ background: 'url(' + img?.src + ') no-repeat center bottom' }\">\n <div class=\"moments__container\">\n <span class=\"moments__title\">{{ pretitle }}</span>\n <h2 class=\"moments__heading\" [innerHTML]=\"title\"></h2>\n <div class=\"moments__paragraph\">\n <p>\n {{ subtitle }}\n <span class=\"more-content\">{{ description }}</span>\n </p>\n <p class=\"more-content\">\n {{ ndDescription }}\n </p>\n </div>\n <div class=\"btn__group\">\n @if (buttons) {\n <button class=\"btn btn__secondary--outline btn__moreLess\" aria-label=\"Buttons more\">\n @for (btn of buttons; track $index) {\n <span\n [ngClass]=\"{\n 'btn__moreLess-.more': $even,\n 'btn__moreLess-less': $odd,\n }\"\n >{{ btn.label }}</span\n >\n }\n </button>\n }\n @if (link) {\n <a\n [href]=\"link.url\"\n class=\"btn btn__secondary--outline\"\n puroLinkType\n [linkType]=\"link.linkType\"\n [attr.aria-label]=\"link.label\"\n >\n <span>{{ link.label }}</span>\n </a>\n }\n </div>\n </div>\n</section>\n" }]
|
|
13
13
|
}], propDecorators: { pretitle: [{
|
|
14
14
|
type: Input
|
|
15
15
|
}], title: [{
|
|
@@ -27,4 +27,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImpo
|
|
|
27
27
|
}], img: [{
|
|
28
28
|
type: Input
|
|
29
29
|
}] } });
|
|
30
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
30
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVyby1pbmZvLWJpZy5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9wdXJvL3NyYy9saWIvY29tcG9uZW50cy9wdXJvLWluZm8tYmlnL3B1cm8taW5mby1iaWcuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvcHVyby9zcmMvbGliL2NvbXBvbmVudHMvcHVyby1pbmZvLWJpZy9wdXJvLWluZm8tYmlnLmNvbXBvbm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AgICAgICA8c3BhbiBjbGFzcz1cIm1vbWVudHNfX3RpdGxlXCI+e3sgcHJldGl0bGUgfX08L3NwYW4+XG4gICAgICAgIDxoMiBjbGFzcz1cIm1vbWVudHNfX2hlYWRpbmdcIiBbaW5uZXJIVE1MXT1cInRpdGxlXCI+PC9oMj5cbiAgICAgICAgPGRpdiBjbGFzcz1cIm1vbWVudHNfX3BhcmFncmFwaFwiPlxuICAgICAgICAgICAgPHA+XG4gICAgICAgICAgICAgICAge3sgc3VidGl0bGUgfX1cbiAgICAgICAgICAgICAgICA8c3BhbiBjbGFzcz1cIm1vcmUtY29udGVudFwiPnt7IGRlc2NyaXB0aW9uIH19PC9zcGFuPlxuICAgICAgICAgICAgPC9wPlxuICAgICAgICAgICAgPHAgY2xhc3M9XCJtb3JlLWNvbnRlbnRcIj5cbiAgICAgICAgICAgICAgICB7eyBuZERlc2NyaXB0aW9uIH19XG4gICAgICAgICAgICA8L3A+XG4gICAgICAgIDwvZGl2PlxuICAgICAgICA8ZGl2IGNsYXNzPVwiYnRuX19ncm91cFwiPlxuICAgICAgICAgICAgQGlmIChidXR0b25zKSB7XG4gICAgICAgICAgICAgICAgPGJ1dHRvbiBjbGFzcz1cImJ0biBidG5fX3NlY29uZGFyeS0tb3V0bGluZSBidG5fX21vcmVMZXNzXCIgYXJpYS1sYWJlbD1cIkJ1dHRvbnMgbW9yZVwiPlxuICAgICAgICAgICAgICAgICAgICBAZm9yIChidG4gb2YgYnV0dG9uczsgdHJhY2sgJGluZGV4KSB7XG4gICAgICAgICAgICAgICAgICAgICAgICA8c3BhblxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIFtuZ0NsYXNzXT1cIntcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgJ2J0bl9fbW9yZUxlc3MtLm1vcmUnOiAkZXZlbixcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgJ2J0bl9fbW9yZUxlc3MtbGVzcyc6ICRvZGQsXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgfVwiXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgPnt7IGJ0bi5sYWJlbCB9fTwvc3BhblxuICAgICAgICAgICAgICAgICAgICAgICAgPlxuICAgICAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgPC9idXR0b24+XG4gICAgICAgICAgICB9XG4gICAgICAgICAgICBAaWYgKGxpbmspIHtcbiAgICAgICAgICAgICAgICA8YVxuICAgICAgICAgICAgICAgICAgICBbaHJlZl09XCJsaW5rLnVybFwiXG4gICAgICAgICAgICAgICAgICAgIGNsYXNzPVwiYnRuIGJ0bl9fc2Vjb25kYXJ5LS1vdXRsaW5lXCJcbiAgICAgICAgICAgICAgICAgICAgcHVyb0xpbmtUeXBlXG4gICAgICAgICAgICAgICAgICAgIFtsaW5rVHlwZV09XCJsaW5rLmxpbmtUeXBlXCJcbiAgICAgICAgICAgICAgICAgICAgW2F0dHIuYXJpYS1sYWJlbF09XCJsaW5rLmxhYmVsXCJcbiAgICAgICAgICAgICAgICA+XG4gICAgICAgICAgICAgICAgICAgIDxzcGFuPnt7IGxpbmsubGFiZWwgfX08L3NwYW4+XG4gICAgICAgICAgICAgICAgPC9hPlxuICAgICAgICAgICAgfVxuICAgICAgICA8L2Rpdj5cbiAgICA8L2Rpdj5cbjwvc2VjdGlvbj5cbiJdfQ==
|
|
@@ -4,11 +4,11 @@ import { PuroLinkTypeDirective, PuroSliderDirective } from '../../directives';
|
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export class PuroSlider1colComponent {
|
|
6
6
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: PuroSlider1colComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
7
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.3.12", type: PuroSlider1colComponent, isStandalone: true, selector: "lib-puro-slider1col", inputs: { title: "title", subtitle: "subtitle", button: "button", items: "items" }, ngImport: i0, template: "<section\n class=\"news js-active-slider\"\n data-slides_infinite=\"true\"\n data-slider_name=\"js-news-slider\"\n data-slider_showbtns=\"true\"\n data-slider_showdots=\"false\"\n data-slider_fade=\"false\"\n data-slider_autoplay=\"false\"\n data-slides_pc=\"1\"\n>\n @if (title) {\n <h2 class=\"news__heading\">{{ title }}</h2>\n }\n @if (subtitle) {\n <p class=\"news__subHeading\">{{ subtitle }}</p>\n }\n\n <div class=\"news__inner relative\">\n <div class=\"news__container\">\n <div class=\"js-news-slider news__slider\">\n @if (items) {\n @for (item of items; track $index) {\n <div>\n <a href=\"\" class=\"news__box\" [attr.aria-label]=\"item.description\">\n <div class=\"news__graphic\">\n @if (item.img) {\n <img\n [src]=\"item.img.src\"\n width=\"391\"\n height=\"552\"\n class=\"news__graphic--img\"\n [alt]=\"item.img.alt\"\n />\n }\n </div>\n <div class=\"news__content\">\n @if (item.description) {\n <p>{{ item.description }}</p>\n }\n </div>\n </a>\n </div>\n }\n }\n </div>\n <div class=\"js-slider-arrows\"></div>\n </div>\n </div>\n\n @if (button) {\n <div class=\"btn__group hideBtn__only--lg\">\n <a\n [href]=\"button.url\"\n class=\"btn btn__primary--outline\"\n puroLinkType\n [linkType]=\"button.linkType\"\n [attr.aria-label]=\"button.label\"\n >\n <span>{{ button.label }}</span>\n </a>\n </div>\n }\n</section>\n", styles: [""], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: PuroLinkTypeDirective, selector: "[linkType]", inputs: ["linkType", "href", "modalClick"], outputs: ["bookClick", "anchorClicked"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
7
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.3.12", type: PuroSlider1colComponent, isStandalone: true, selector: "lib-puro-slider1col", inputs: { title: "title", subtitle: "subtitle", button: "button", items: "items" }, ngImport: i0, template: "<section\n class=\"news js-active-slider\"\n [puroSlider]=\"items\"\n data-slides_infinite=\"true\"\n data-slider_name=\"js-news-slider\"\n data-slider_showbtns=\"true\"\n data-slider_showdots=\"false\"\n data-slider_fade=\"false\"\n data-slider_autoplay=\"false\"\n data-slides_pc=\"1\"\n>\n @if (title) {\n <h2 class=\"news__heading\">{{ title }}</h2>\n }\n @if (subtitle) {\n <p class=\"news__subHeading\">{{ subtitle }}</p>\n }\n\n <div class=\"news__inner relative\">\n <div class=\"news__container\">\n <div class=\"js-news-slider news__slider\">\n @if (items) {\n @for (item of items; track $index) {\n <div>\n <a href=\"\" class=\"news__box\" [attr.aria-label]=\"item.description\">\n <div class=\"news__graphic\">\n @if (item.img) {\n <img\n [src]=\"item.img.src\"\n width=\"391\"\n height=\"552\"\n class=\"news__graphic--img\"\n [alt]=\"item.img.alt\"\n />\n }\n </div>\n <div class=\"news__content\">\n @if (item.description) {\n <p>{{ item.description }}</p>\n }\n </div>\n </a>\n </div>\n }\n }\n </div>\n <div class=\"js-slider-arrows\"></div>\n </div>\n </div>\n\n @if (button) {\n <div class=\"btn__group hideBtn__only--lg\">\n <a\n [href]=\"button.url\"\n class=\"btn btn__primary--outline\"\n puroLinkType\n [linkType]=\"button.linkType\"\n [attr.aria-label]=\"button.label\"\n >\n <span>{{ button.label }}</span>\n </a>\n </div>\n }\n</section>\n", styles: [":host ::ng-deep .news__slider .slick-slide>div>div{width:auto!important}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: PuroSliderDirective, selector: "[puroSlider]", inputs: ["puroSlider"] }, { kind: "directive", type: PuroLinkTypeDirective, selector: "[linkType]", inputs: ["linkType", "href", "modalClick"], outputs: ["bookClick", "anchorClicked"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
8
8
|
}
|
|
9
9
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: PuroSlider1colComponent, decorators: [{
|
|
10
10
|
type: Component,
|
|
11
|
-
args: [{ selector: 'lib-puro-slider1col', standalone: true, imports: [CommonModule, PuroSliderDirective, PuroLinkTypeDirective], changeDetection: ChangeDetectionStrategy.OnPush, template: "<section\n class=\"news js-active-slider\"\n data-slides_infinite=\"true\"\n data-slider_name=\"js-news-slider\"\n data-slider_showbtns=\"true\"\n data-slider_showdots=\"false\"\n data-slider_fade=\"false\"\n data-slider_autoplay=\"false\"\n data-slides_pc=\"1\"\n>\n @if (title) {\n <h2 class=\"news__heading\">{{ title }}</h2>\n }\n @if (subtitle) {\n <p class=\"news__subHeading\">{{ subtitle }}</p>\n }\n\n <div class=\"news__inner relative\">\n <div class=\"news__container\">\n <div class=\"js-news-slider news__slider\">\n @if (items) {\n @for (item of items; track $index) {\n <div>\n <a href=\"\" class=\"news__box\" [attr.aria-label]=\"item.description\">\n <div class=\"news__graphic\">\n @if (item.img) {\n <img\n [src]=\"item.img.src\"\n width=\"391\"\n height=\"552\"\n class=\"news__graphic--img\"\n [alt]=\"item.img.alt\"\n />\n }\n </div>\n <div class=\"news__content\">\n @if (item.description) {\n <p>{{ item.description }}</p>\n }\n </div>\n </a>\n </div>\n }\n }\n </div>\n <div class=\"js-slider-arrows\"></div>\n </div>\n </div>\n\n @if (button) {\n <div class=\"btn__group hideBtn__only--lg\">\n <a\n [href]=\"button.url\"\n class=\"btn btn__primary--outline\"\n puroLinkType\n [linkType]=\"button.linkType\"\n [attr.aria-label]=\"button.label\"\n >\n <span>{{ button.label }}</span>\n </a>\n </div>\n }\n</section>\n" }]
|
|
11
|
+
args: [{ selector: 'lib-puro-slider1col', standalone: true, imports: [CommonModule, PuroSliderDirective, PuroLinkTypeDirective], changeDetection: ChangeDetectionStrategy.OnPush, template: "<section\n class=\"news js-active-slider\"\n [puroSlider]=\"items\"\n data-slides_infinite=\"true\"\n data-slider_name=\"js-news-slider\"\n data-slider_showbtns=\"true\"\n data-slider_showdots=\"false\"\n data-slider_fade=\"false\"\n data-slider_autoplay=\"false\"\n data-slides_pc=\"1\"\n>\n @if (title) {\n <h2 class=\"news__heading\">{{ title }}</h2>\n }\n @if (subtitle) {\n <p class=\"news__subHeading\">{{ subtitle }}</p>\n }\n\n <div class=\"news__inner relative\">\n <div class=\"news__container\">\n <div class=\"js-news-slider news__slider\">\n @if (items) {\n @for (item of items; track $index) {\n <div>\n <a href=\"\" class=\"news__box\" [attr.aria-label]=\"item.description\">\n <div class=\"news__graphic\">\n @if (item.img) {\n <img\n [src]=\"item.img.src\"\n width=\"391\"\n height=\"552\"\n class=\"news__graphic--img\"\n [alt]=\"item.img.alt\"\n />\n }\n </div>\n <div class=\"news__content\">\n @if (item.description) {\n <p>{{ item.description }}</p>\n }\n </div>\n </a>\n </div>\n }\n }\n </div>\n <div class=\"js-slider-arrows\"></div>\n </div>\n </div>\n\n @if (button) {\n <div class=\"btn__group hideBtn__only--lg\">\n <a\n [href]=\"button.url\"\n class=\"btn btn__primary--outline\"\n puroLinkType\n [linkType]=\"button.linkType\"\n [attr.aria-label]=\"button.label\"\n >\n <span>{{ button.label }}</span>\n </a>\n </div>\n }\n</section>\n", styles: [":host ::ng-deep .news__slider .slick-slide>div>div{width:auto!important}\n"] }]
|
|
12
12
|
}], propDecorators: { title: [{
|
|
13
13
|
type: Input
|
|
14
14
|
}], subtitle: [{
|
|
@@ -18,4 +18,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImpo
|
|
|
18
18
|
}], items: [{
|
|
19
19
|
type: Input
|
|
20
20
|
}] } });
|
|
21
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
21
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVyby1zbGlkZXIxY29sLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3B1cm8vc3JjL2xpYi9jb21wb25lbnRzL3B1cm8tc2xpZGVyMWNvbC9wdXJvLXNsaWRlcjFjb2wuY29tcG9u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ICAgICAgICAgICAgICAgICAgIEBpZiAoaXRlbS5pbWcpIHtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8aW1nXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIFtzcmNdPVwiaXRlbS5pbWcuc3JjXCJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgd2lkdGg9XCIzOTFcIlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBoZWlnaHQ9XCI1NTJcIlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBjbGFzcz1cIm5ld3NfX2dyYXBoaWMtLWltZ1wiXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIFthbHRdPVwiaXRlbS5pbWcuYWx0XCJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAvPlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8L2Rpdj5cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPGRpdiBjbGFzcz1cIm5ld3NfX2NvbnRlbnRcIj5cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIEBpZiAoaXRlbS5kZXNjcmlwdGlvbikge1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDxwPnt7IGl0ZW0uZGVzY3JpcHRpb24gfX08L3A+XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDwvZGl2PlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIDwvYT5cbiAgICAgICAgICAgICAgICAgICAgICAgIDwvZGl2PlxuICAgICAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgPC9kaXY+XG4gICAgICAgICAgICA8ZGl2IGNsYXNzPVwianMtc2xpZGVyLWFycm93c1wiPjwvZGl2PlxuICAgICAgICA8L2Rpdj5cbiAgICA8L2Rpdj5cblxuICAgIEBpZiAoYnV0dG9uKSB7XG4gICAgICAgIDxkaXYgY2xhc3M9XCJidG5fX2dyb3VwIGhpZGVCdG5fX29ubHktLWxnXCI+XG4gICAgICAgICAgICA8YVxuICAgICAgICAgICAgICAgIFtocmVmXT1cImJ1dHRvbi51cmxcIlxuICAgICAgICAgICAgICAgIGNsYXNzPVwiYnRuIGJ0bl9fcHJpbWFyeS0tb3V0bGluZVwiXG4gICAgICAgICAgICAgICAgcHVyb0xpbmtUeXBlXG4gICAgICAgICAgICAgICAgW2xpbmtUeXBlXT1cImJ1dHRvbi5saW5rVHlwZVwiXG4gICAgICAgICAgICAgICAgW2F0dHIuYXJpYS1sYWJlbF09XCJidXR0b24ubGFiZWxcIlxuICAgICAgICAgICAgPlxuICAgICAgICAgICAgICAgIDxzcGFuPnt7IGJ1dHRvbi5sYWJlbCB9fTwvc3Bhbj5cbiAgICAgICAgICAgIDwvYT5cbiAgICAgICAgPC9kaXY+XG4gICAgfVxuPC9zZWN0aW9uPlxuIl19
|