/**
 * @packageDocumentation
 * @module help-menu
 */
import { DialogService, DialogSize } from '@alauda/ui';
import { ChangeDetectionStrategy, Component, Input, } from '@angular/core';
import { forkJoin, finalize } from 'rxjs';
import { K8sApiService } from '../../../../api/public-api';
import { K8sUtilService, PUBLIC_NAMESPACE, parseVersion } from '../../../../public-api';
import * as i0 from "@angular/core";
import * as i1 from "@alauda/ui";
import * as i2 from "../../../../api/public-api";
import * as i3 from "../../../../public-api";
function HelpMenuComponent_aui_menu_item_4_Template(rf, ctx) { if (rf & 1) {
    const _r12 = i0.ɵɵgetCurrentView();
    i0.ɵɵelementStart(0, "aui-menu-item", 11);
    i0.ɵɵlistener("click", function HelpMenuComponent_aui_menu_item_4_Template_aui_menu_item_click_0_listener() { i0.ɵɵrestoreView(_r12); const ctx_r11 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r11.openDocLink()); });
    i0.ɵɵelement(1, "aui-icon", 12);
    i0.ɵɵelementStart(2, "span", 13);
    i0.ɵɵtext(3);
    i0.ɵɵpipe(4, "translate");
    i0.ɵɵelementEnd()();
} if (rf & 2) {
    i0.ɵɵadvance(3);
    i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(4, 1, "help_doc"));
} }
function HelpMenuComponent_aui_menu_item_10_Template(rf, ctx) { if (rf & 1) {
    const _r14 = i0.ɵɵgetCurrentView();
    i0.ɵɵelementStart(0, "aui-menu-item", 4);
    i0.ɵɵlistener("click", function HelpMenuComponent_aui_menu_item_10_Template_aui_menu_item_click_0_listener() { i0.ɵɵrestoreView(_r14); const ctx_r13 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r13.openHealthCheckLink()); });
    i0.ɵɵelement(1, "aui-icon", 14);
    i0.ɵɵelementStart(2, "span");
    i0.ɵɵtext(3);
    i0.ɵɵpipe(4, "translate");
    i0.ɵɵelementEnd()();
} if (rf & 2) {
    i0.ɵɵproperty("divide", true);
    i0.ɵɵadvance(3);
    i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(4, 2, "platform_health_check"));
} }
function HelpMenuComponent_ng_template_12_ng_container_18_div_1_div_1_Template(rf, ctx) { if (rf & 1) {
    i0.ɵɵelementStart(0, "div", 32);
    i0.ɵɵelement(1, "img", 33);
    i0.ɵɵelementStart(2, "div", 34)(3, "div", 35);
    i0.ɵɵtext(4);
    i0.ɵɵelementEnd();
    i0.ɵɵelementStart(5, "div", 36);
    i0.ɵɵtext(6);
    i0.ɵɵelementEnd()()();
} if (rf & 2) {
    const componentVersion_r18 = ctx.$implicit;
    i0.ɵɵadvance(1);
    i0.ɵɵproperty("src", "icons/" + componentVersion_r18.name + ".svg", i0.ɵɵsanitizeUrl);
    i0.ɵɵadvance(3);
    i0.ɵɵtextInterpolate1(" ", componentVersion_r18.name, " ");
    i0.ɵɵadvance(2);
    i0.ɵɵtextInterpolate1(" ", componentVersion_r18.version, " ");
} }
function HelpMenuComponent_ng_template_12_ng_container_18_div_1_Template(rf, ctx) { if (rf & 1) {
    i0.ɵɵelementStart(0, "div", 30);
    i0.ɵɵtemplate(1, HelpMenuComponent_ng_template_12_ng_container_18_div_1_div_1_Template, 7, 3, "div", 31);
    i0.ɵɵelementEnd();
} if (rf & 2) {
    const ctx_r16 = i0.ɵɵnextContext(3);
    i0.ɵɵadvance(1);
    i0.ɵɵproperty("ngForOf", ctx_r16.componentVersionList);
} }
function HelpMenuComponent_ng_template_12_ng_container_18_Template(rf, ctx) { if (rf & 1) {
    i0.ɵɵelementContainerStart(0);
    i0.ɵɵtemplate(1, HelpMenuComponent_ng_template_12_ng_container_18_div_1_Template, 2, 1, "div", 29);
    i0.ɵɵelementContainerEnd();
} if (rf & 2) {
    const ctx_r15 = i0.ɵɵnextContext(2);
    const _r5 = i0.ɵɵreference(15);
    i0.ɵɵadvance(1);
    i0.ɵɵproperty("ngIf", ctx_r15.componentVersionList == null ? null : ctx_r15.componentVersionList.length)("ngIfElse", _r5);
} }
const _c0 = function (a0) { return { version: a0 }; };
function HelpMenuComponent_ng_template_12_Template(rf, ctx) { if (rf & 1) {
    const _r20 = i0.ɵɵgetCurrentView();
    i0.ɵɵelementStart(0, "aui-dialog-content", 15)(1, "div", 16)(2, "div", 17);
    i0.ɵɵelement(3, "img", 18)(4, "span", 19);
    i0.ɵɵelementStart(5, "div", 20)(6, "span", 21);
    i0.ɵɵtext(7);
    i0.ɵɵpipe(8, "translate");
    i0.ɵɵelementEnd();
    i0.ɵɵelementStart(9, "span", 22);
    i0.ɵɵtext(10);
    i0.ɵɵelementEnd()()();
    i0.ɵɵelementStart(11, "div", 23);
    i0.ɵɵtext(12);
    i0.ɵɵpipe(13, "translate");
    i0.ɵɵelementEnd()();
    i0.ɵɵelementStart(14, "div", 24)(15, "div", 25);
    i0.ɵɵtext(16);
    i0.ɵɵpipe(17, "translate");
    i0.ɵɵelementEnd();
    i0.ɵɵtemplate(18, HelpMenuComponent_ng_template_12_ng_container_18_Template, 2, 2, "ng-container", 26);
    i0.ɵɵelementEnd();
    i0.ɵɵelementStart(19, "div", 27)(20, "button", 28);
    i0.ɵɵlistener("click", function HelpMenuComponent_ng_template_12_Template_button_click_20_listener() { i0.ɵɵrestoreView(_r20); const ctx_r19 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r19.close()); });
    i0.ɵɵtext(21);
    i0.ɵɵpipe(22, "translate");
    i0.ɵɵelementEnd()()();
} if (rf & 2) {
    const ctx_r4 = i0.ɵɵnextContext();
    const _r9 = i0.ɵɵreference(19);
    const _r7 = i0.ɵɵreference(17);
    i0.ɵɵadvance(7);
    i0.ɵɵtextInterpolate(ctx_r4.platformName ? i0.ɵɵpipeBind1(8, 9, ctx_r4.platformName) : "ACP+");
    i0.ɵɵadvance(2);
    i0.ɵɵproperty("auiTooltip", _r9)("auiTooltipContext", i0.ɵɵpureFunction1(17, _c0, ctx_r4.platformVersion == null ? null : ctx_r4.platformVersion.all));
    i0.ɵɵadvance(1);
    i0.ɵɵtextInterpolate1(" ", ctx_r4.platformVersion == null ? null : ctx_r4.platformVersion.main, "");
    i0.ɵɵadvance(2);
    i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(13, 11, ctx_r4.platformTip));
    i0.ɵɵadvance(4);
    i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(17, 13, "platform_related_open_source_component_info"), " ");
    i0.ɵɵadvance(2);
    i0.ɵɵproperty("ngIf", !ctx_r4.loading)("ngIfElse", _r7);
    i0.ɵɵadvance(3);
    i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(22, 15, "close"), " ");
} }
function HelpMenuComponent_ng_template_14_Template(rf, ctx) { if (rf & 1) {
    i0.ɵɵelementStart(0, "div", 37);
    i0.ɵɵtext(1);
    i0.ɵɵpipe(2, "translate");
    i0.ɵɵelementEnd();
} if (rf & 2) {
    i0.ɵɵadvance(1);
    i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 1, "no_open_source_components"));
} }
function HelpMenuComponent_ng_template_16_Template(rf, ctx) { if (rf & 1) {
    i0.ɵɵelementStart(0, "div", 38);
    i0.ɵɵelement(1, "acl-loading-mask", 39);
    i0.ɵɵelementEnd();
} if (rf & 2) {
    const ctx_r8 = i0.ɵɵnextContext();
    i0.ɵɵadvance(1);
    i0.ɵɵproperty("loading", ctx_r8.loading);
} }
function HelpMenuComponent_ng_template_18_Template(rf, ctx) { if (rf & 1) {
    i0.ɵɵelementStart(0, "div", 40);
    i0.ɵɵtext(1);
    i0.ɵɵelementEnd();
} if (rf & 2) {
    const version_r21 = ctx.version;
    i0.ɵɵadvance(1);
    i0.ɵɵtextInterpolate(version_r21);
} }
const _c1 = ["*"];
const CONFIG = {
    type: 'configmaps',
    apiVersion: 'v1',
};
export class HelpMenuComponent {
    constructor(dialogService, k8sApi, k8sUtil) {
        this.dialogService = dialogService;
        this.k8sApi = k8sApi;
        this.k8sUtil = k8sUtil;
        this.loading = false;
    }
    openDocLink() {
        window.open(this.docLink);
    }
    openHealthCheckLink() {
        window.open('/console-platform/health-check', '_blank', 'noopener=yes,noreferrer=yes');
    }
    viewPlatformInfo(templateRef) {
        this.componentVersionList = [];
        this.loading = true;
        forkJoin([
            this.k8sApi.getGlobalResourceList({
                definition: CONFIG,
                namespace: PUBLIC_NAMESPACE,
                queryParams: {
                    labelSelector: this.k8sUtil.normalizeType('component-version'),
                },
            }),
            this.k8sApi.getGlobalResource({
                definition: CONFIG,
                name: 'platform',
                namespace: PUBLIC_NAMESPACE,
            }),
            this.k8sApi.getGlobalResource({
                definition: CONFIG,
                name: 'platform-info',
                namespaced: true,
            }),
        ])
            .pipe(finalize(() => (this.loading = false)))
            .subscribe(([cms, config, platformInfo]) => {
            for (const cm of cms.items) {
                try {
                    const components = JSON.parse(cm.data.component);
                    this.componentVersionList = [
                        ...this.componentVersionList,
                        ...components,
                    ];
                }
                catch { }
            }
            this.componentVersionList.sort((a, b) => a.index - b.index);
            this.platformVersion = this.formatPlatformVersion(config.data.version);
            this.platformName = {
                en: platformInfo.data.platformNameEN,
                zh: platformInfo.data.platformNameZH,
            };
            this.platformTip = {
                zh: platformInfo.data.portalSubTitleZH,
                en: platformInfo.data.portalSubTitleEN,
            };
        });
        this.dialogRef = this.dialogService.open(templateRef, {
            size: DialogSize.Big,
            fitViewport: true,
        });
    }
    close() {
        this.dialogRef?.close();
    }
    formatPlatformVersion(version) {
        if (!version) {
            return {
                main: '',
                all: '',
            };
        }
        const { major, minor } = parseVersion(version);
        const main = `v${major}.${minor}`;
        return { main, all: version };
    }
}
HelpMenuComponent.ɵfac = function HelpMenuComponent_Factory(t) { return new (t || HelpMenuComponent)(i0.ɵɵdirectiveInject(i1.DialogService), i0.ɵɵdirectiveInject(i2.K8sApiService), i0.ɵɵdirectiveInject(i3.K8sUtilService)); };
HelpMenuComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: HelpMenuComponent, selectors: [["acl-help-menu"]], inputs: { docLink: "docLink" }, ngContentSelectors: _c1, decls: 20, vars: 7, consts: [["auiDropdownClass", "acl-page-header__tooltip--small", 1, "menu", 3, "auiDropdown"], ["icon", "basic:question", 1, "menu__icon"], ["menu", ""], [3, "click", 4, "ngIf"], [3, "divide", "click"], ["icon", "basic:info"], [3, "divide", "click", 4, "aclFeatureGate"], ["platformInfo", ""], ["noComponent", ""], ["loadingTmp", ""], ["platformStageVersion", ""], [3, "click"], ["icon", "basic:help_doc"], [1, "tw-ml-[4px]"], ["icon", "basic:health_examination"], [1, "paltform-about-dialog"], [1, "platform__version"], [1, "platform__version-title"], ["src", "api/v1/cm/ui-logos/logo"], [1, "line"], [1, "platform__version-title__name-version"], [1, "platform__version-title__name"], ["auiTooltipPosition", "end", "auiTooltipType", "plain", 3, "auiTooltip", "auiTooltipContext"], [1, "platform__version-desc"], [1, "platform__component-info"], [1, "label"], [4, "ngIf", "ngIfElse"], [1, "platform__action"], ["aui-button", "", 3, "click"], ["class", "component-container", 4, "ngIf", "ngIfElse"], [1, "component-container"], ["class", "component-item", 4, "ngFor", "ngForOf"], [1, "component-item"], [3, "src"], [1, "component-item-info"], [1, "component-item-info__name"], [1, "component-item-info__version"], [1, "no-component"], [1, "loading"], [3, "loading"], [1, "platform__version-title__toolTip"]], template: function HelpMenuComponent_Template(rf, ctx) { if (rf & 1) {
        const _r22 = i0.ɵɵgetCurrentView();
        i0.ɵɵprojectionDef();
        i0.ɵɵelementStart(0, "div", 0);
        i0.ɵɵelement(1, "aui-icon", 1);
        i0.ɵɵelementEnd();
        i0.ɵɵelementStart(2, "aui-menu", null, 2);
        i0.ɵɵtemplate(4, HelpMenuComponent_aui_menu_item_4_Template, 5, 3, "aui-menu-item", 3);
        i0.ɵɵelementStart(5, "aui-menu-item", 4);
        i0.ɵɵlistener("click", function HelpMenuComponent_Template_aui_menu_item_click_5_listener() { i0.ɵɵrestoreView(_r22); const _r3 = i0.ɵɵreference(13); return i0.ɵɵresetView(ctx.viewPlatformInfo(_r3)); });
        i0.ɵɵelement(6, "aui-icon", 5);
        i0.ɵɵelementStart(7, "span");
        i0.ɵɵtext(8);
        i0.ɵɵpipe(9, "translate");
        i0.ɵɵelementEnd()();
        i0.ɵɵtemplate(10, HelpMenuComponent_aui_menu_item_10_Template, 5, 4, "aui-menu-item", 6);
        i0.ɵɵprojection(11);
        i0.ɵɵelementEnd();
        i0.ɵɵtemplate(12, HelpMenuComponent_ng_template_12_Template, 23, 19, "ng-template", null, 7, i0.ɵɵtemplateRefExtractor);
        i0.ɵɵtemplate(14, HelpMenuComponent_ng_template_14_Template, 3, 3, "ng-template", null, 8, i0.ɵɵtemplateRefExtractor);
        i0.ɵɵtemplate(16, HelpMenuComponent_ng_template_16_Template, 2, 1, "ng-template", null, 9, i0.ɵɵtemplateRefExtractor);
        i0.ɵɵtemplate(18, HelpMenuComponent_ng_template_18_Template, 2, 1, "ng-template", null, 10, i0.ɵɵtemplateRefExtractor);
    } if (rf & 2) {
        const _r0 = i0.ɵɵreference(3);
        i0.ɵɵproperty("auiDropdown", _r0);
        i0.ɵɵadvance(4);
        i0.ɵɵproperty("ngIf", ctx.docLink);
        i0.ɵɵadvance(1);
        i0.ɵɵproperty("divide", true);
        i0.ɵɵadvance(3);
        i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(9, 5, "about_platform"));
        i0.ɵɵadvance(2);
        i0.ɵɵproperty("aclFeatureGate", "module-health");
    } }, styles: [".menu[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:2px;color:var(--acl-page-header-text-color);cursor:pointer}.menu[_ngcontent-%COMP%]:hover, .menu.isActive[_ngcontent-%COMP%]{color:#fff;background-color:rgb(var(--aui-color-primary))}.menu__icon[_ngcontent-%COMP%]{font-size:16px}.menu__pointer[_ngcontent-%COMP%]{font-size:12px;margin-left:-2px}.platform__version[_ngcontent-%COMP%]{color:#fff;font-size:18px;padding:32px 24px;background-image:url(\"data:image/svg+xml,%3Csvg width%3D%22800%22 height%3D%22140%22 viewBox%3D%220 0 800 140%22 xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22 xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%3E%3Cdefs%3E%3ClinearGradient x1%3D%22100%25%22 y1%3D%2250.918%25%22 x2%3D%222.734%25%22 y2%3D%2250.116%25%22 id%3D%22b%22%3E%3Cstop stop-color%3D%22%2366AFF9%22 offset%3D%220%25%22%2F%3E%3Cstop stop-color%3D%22%23007AF5%22 offset%3D%22100%25%22%2F%3E%3C%2FlinearGradient%3E%3ClinearGradient x1%3D%2250%25%22 y1%3D%220%25%22 x2%3D%2250%25%22 y2%3D%2283.267%25%22 id%3D%22d%22%3E%3Cstop stop-color%3D%22%23FFF%22 stop-opacity%3D%220%22 offset%3D%220%25%22%2F%3E%3Cstop stop-color%3D%22%2368FFFF%22 stop-opacity%3D%22.16%22 offset%3D%22100%25%22%2F%3E%3C%2FlinearGradient%3E%3ClinearGradient x1%3D%2250%25%22 y1%3D%220%25%22 x2%3D%2250%25%22 y2%3D%2291.263%25%22 id%3D%22e%22%3E%3Cstop stop-color%3D%22%23FFF%22 stop-opacity%3D%220%22 offset%3D%220%25%22%2F%3E%3Cstop stop-color%3D%22%2368FFFF%22 stop-opacity%3D%22.16%22 offset%3D%22100%25%22%2F%3E%3C%2FlinearGradient%3E%3ClinearGradient x1%3D%2259.921%25%22 y1%3D%220%25%22 x2%3D%2259.921%25%22 y2%3D%2258.499%25%22 id%3D%22f%22%3E%3Cstop stop-color%3D%22%23FFF%22 stop-opacity%3D%220%22 offset%3D%220%25%22%2F%3E%3Cstop stop-color%3D%22%2368FFFF%22 stop-opacity%3D%22.16%22 offset%3D%22100%25%22%2F%3E%3C%2FlinearGradient%3E%3ClinearGradient x1%3D%2250%25%22 y1%3D%220%25%22 x2%3D%2250%25%22 y2%3D%2283.267%25%22 id%3D%22g%22%3E%3Cstop stop-color%3D%22%23FFF%22 stop-opacity%3D%220%22 offset%3D%220%25%22%2F%3E%3Cstop stop-color%3D%22%2368FFFF%22 stop-opacity%3D%22.16%22 offset%3D%22100%25%22%2F%3E%3C%2FlinearGradient%3E%3ClinearGradient x1%3D%2250%25%22 y1%3D%2257.875%25%22 x2%3D%2270.076%25%22 y2%3D%22-30.443%25%22 id%3D%22h%22%3E%3Cstop stop-color%3D%22%23FFF%22 stop-opacity%3D%220%22 offset%3D%220%25%22%2F%3E%3Cstop stop-color%3D%22%2368FFFF%22 stop-opacity%3D%22.16%22 offset%3D%22100%25%22%2F%3E%3C%2FlinearGradient%3E%3ClinearGradient x1%3D%2250%25%22 y1%3D%2257.875%25%22 x2%3D%2254.322%25%22 y2%3D%22-25.456%25%22 id%3D%22i%22%3E%3Cstop stop-color%3D%22%23FFF%22 stop-opacity%3D%220%22 offset%3D%220%25%22%2F%3E%3Cstop stop-color%3D%22%2368FFFF%22 stop-opacity%3D%22.16%22 offset%3D%22100%25%22%2F%3E%3C%2FlinearGradient%3E%3Cpath id%3D%22a%22 d%3D%22M0 0h800v140H0z%22%2F%3E%3C%2Fdefs%3E%3Cg fill%3D%22none%22 fill-rule%3D%22evenodd%22%3E%3Cmask id%3D%22c%22 fill%3D%22%23fff%22%3E%3Cuse xlink%3Ahref%3D%22%23a%22%2F%3E%3C%2Fmask%3E%3Cuse fill%3D%22url(%23b)%22 xlink%3Ahref%3D%22%23a%22%2F%3E%3Cg mask%3D%22url(%23c)%22%3E%3Cpath d%3D%22m730.479 18.37 56.483 28.117-54.227 27.099.111.055-56.483 28.227-56.484-28.227 54.331-27.047-.215-.107L730.48 18.37Z%22 fill%3D%22url(%23d)%22 opacity%3D%22.6%22 transform%3D%22translate(-129.49)%22%2F%3E%3Cpath fill%3D%22url(%23e)%22 opacity%3D%22.6%22 d%3D%22m676.688 108.78-.333-35.301-56.476 8.544v54.914z%22 transform%3D%22translate(-129.49)%22%2F%3E%3Cpath fill%3D%22url(%23f)%22 opacity%3D%22.6%22 d%3D%22m676.174 105.728-.322-59.804 110.772 55.332.338 59.896z%22 transform%3D%22translate(-129.49)%22%2F%3E%3Cpath d%3D%22m395.477 31.73 56.483 28.117-54.227 27.098.111.056-56.483 28.227L284.877 87l54.331-27.048-.215-.106 56.484-28.118Zm517.123 0 56.483 28.117-54.227 27.098.111.056-56.483 28.227L802 87l54.331-27.048-.215-.106L912.6 31.73Z%22 fill%3D%22url(%23d)%22 opacity%3D%22.4%22 transform%3D%22translate(-129.49)%22%2F%3E%3Cpath d%3D%22m110.6 98.528 56.483 28.118-54.227 27.098.111.056-56.483 28.226L0 153.8l54.331-27.048-.215-.106L110.6 98.528Z%22 fill%3D%22url(%23d)%22 opacity%3D%22.6%22 transform%3D%22translate(-129.49)%22%2F%3E%3Cpath fill%3D%22url(%23g)%22 opacity%3D%22.6%22 d%3D%22m575.184 57.614 31.329 15.895-31.329 15.834-31.328-15.834z%22 transform%3D%22translate(-129.49)%22%2F%3E%3Cpath fill%3D%22url(%23h)%22 opacity%3D%22.6%22 d%3D%22m543.02 107.538 31.747 16.04V89.456L543.02 73.479z%22 transform%3D%22translate(-129.49)%22%2F%3E%3Cpath fill%3D%22url(%23i)%22 opacity%3D%22.6%22 d%3D%22m606.513 107.547-31.746 16.03v-34.13l31.745-15.968z%22 transform%3D%22translate(-129.49)%22%2F%3E%3Cpath stroke%3D%22%2360ACFF%22 stroke-width%3D%22.8%22 opacity%3D%22.3%22 d%3D%22m445.695 80.158 31.328-15.895-31.328-15.834-31.328 15.834zM600.99 0l56.483 28.118-54.227 27.098.11.056-56.483 28.226-56.483-28.226 54.33-27.048-.214-.106L600.989 0ZM341.175 133.597l56.483 28.118-54.227 27.098.111.056-56.483 28.227-56.484-28.227 54.331-27.048-.215-.106 56.484-28.118Z%22%2F%3E%3C%2Fg%3E%3Cg mask%3D%22url(%23c)%22%3E%3Cpath d%3D%22m730.479 18.37 56.483 28.117-54.227 27.099.111.055-56.483 28.227-56.484-28.227 54.331-27.047-.215-.107L730.48 18.37Z%22 fill%3D%22url(%23d)%22 opacity%3D%22.6%22 transform%3D%22translate(-129.49)%22%2F%3E%3Cpath fill%3D%22url(%23e)%22 opacity%3D%22.6%22 d%3D%22m676.688 108.78-.333-35.301-56.476 8.544v54.914z%22 transform%3D%22translate(-129.49)%22%2F%3E%3Cpath fill%3D%22url(%23f)%22 opacity%3D%22.6%22 d%3D%22m676.174 105.728-.322-59.804 110.772 55.332.338 59.896z%22 transform%3D%22translate(-129.49)%22%2F%3E%3Cpath d%3D%22m395.477 31.73 56.483 28.117-54.227 27.098.111.056-56.483 28.227L284.877 87l54.331-27.048-.215-.106 56.484-28.118Zm517.123 0 56.483 28.117-54.227 27.098.111.056-56.483 28.227L802 87l54.331-27.048-.215-.106L912.6 31.73Z%22 fill%3D%22url(%23d)%22 opacity%3D%22.4%22 transform%3D%22translate(-129.49)%22%2F%3E%3Cpath d%3D%22m110.6 98.528 56.483 28.118-54.227 27.098.111.056-56.483 28.226L0 153.8l54.331-27.048-.215-.106L110.6 98.528Z%22 fill%3D%22url(%23d)%22 opacity%3D%22.6%22 transform%3D%22translate(-129.49)%22%2F%3E%3Cpath fill%3D%22url(%23g)%22 opacity%3D%22.6%22 d%3D%22m575.184 57.614 31.329 15.895-31.329 15.834-31.328-15.834z%22 transform%3D%22translate(-129.49)%22%2F%3E%3Cpath fill%3D%22url(%23h)%22 opacity%3D%22.6%22 d%3D%22m543.02 107.538 31.747 16.04V89.456L543.02 73.479z%22 transform%3D%22translate(-129.49)%22%2F%3E%3Cpath fill%3D%22url(%23i)%22 opacity%3D%22.6%22 d%3D%22m606.513 107.547-31.746 16.03v-34.13l31.745-15.968z%22 transform%3D%22translate(-129.49)%22%2F%3E%3Cpath stroke%3D%22%2360ACFF%22 stroke-width%3D%22.8%22 opacity%3D%22.3%22 d%3D%22m445.695 80.158 31.328-15.895-31.328-15.834-31.328 15.834zM600.99 0l56.483 28.118-54.227 27.098.11.056-56.483 28.226-56.483-28.226 54.33-27.048-.214-.106L600.989 0ZM341.175 133.597l56.483 28.118-54.227 27.098.111.056-56.483 28.227-56.484-28.227 54.331-27.048-.215-.106 56.484-28.118Z%22%2F%3E%3C%2Fg%3E%3Cg mask%3D%22url(%23c)%22%3E%3Cpath d%3D%22m730.479 18.37 56.483 28.117-54.227 27.099.111.055-56.483 28.227-56.484-28.227 54.331-27.047-.215-.107L730.48 18.37Z%22 fill%3D%22url(%23d)%22 opacity%3D%22.6%22 transform%3D%22translate(-129.49)%22%2F%3E%3Cpath fill%3D%22url(%23e)%22 opacity%3D%22.6%22 d%3D%22m676.688 108.78-.333-35.301-56.476 8.544v54.914z%22 transform%3D%22translate(-129.49)%22%2F%3E%3Cpath fill%3D%22url(%23f)%22 opacity%3D%22.6%22 d%3D%22m676.174 105.728-.322-59.804 110.772 55.332.338 59.896z%22 transform%3D%22translate(-129.49)%22%2F%3E%3Cpath d%3D%22m395.477 31.73 56.483 28.117-54.227 27.098.111.056-56.483 28.227L284.877 87l54.331-27.048-.215-.106 56.484-28.118Zm517.123 0 56.483 28.117-54.227 27.098.111.056-56.483 28.227L802 87l54.331-27.048-.215-.106L912.6 31.73Z%22 fill%3D%22url(%23d)%22 opacity%3D%22.4%22 transform%3D%22translate(-129.49)%22%2F%3E%3Cpath d%3D%22m110.6 98.528 56.483 28.118-54.227 27.098.111.056-56.483 28.226L0 153.8l54.331-27.048-.215-.106L110.6 98.528Z%22 fill%3D%22url(%23d)%22 opacity%3D%22.6%22 transform%3D%22translate(-129.49)%22%2F%3E%3Cpath fill%3D%22url(%23g)%22 opacity%3D%22.6%22 d%3D%22m575.184 57.614 31.329 15.895-31.329 15.834-31.328-15.834z%22 transform%3D%22translate(-129.49)%22%2F%3E%3Cpath fill%3D%22url(%23h)%22 opacity%3D%22.6%22 d%3D%22m543.02 107.538 31.747 16.04V89.456L543.02 73.479z%22 transform%3D%22translate(-129.49)%22%2F%3E%3Cpath fill%3D%22url(%23i)%22 opacity%3D%22.6%22 d%3D%22m606.513 107.547-31.746 16.03v-34.13l31.745-15.968z%22 transform%3D%22translate(-129.49)%22%2F%3E%3Cpath stroke%3D%22%2360ACFF%22 stroke-width%3D%22.8%22 opacity%3D%22.3%22 d%3D%22m445.695 80.158 31.328-15.895-31.328-15.834-31.328 15.834zM600.99 0l56.483 28.118-54.227 27.098.11.056-56.483 28.226-56.483-28.226 54.33-27.048-.214-.106L600.989 0ZM341.175 133.597l56.483 28.118-54.227 27.098.111.056-56.483 28.227-56.484-28.227 54.331-27.048-.215-.106 56.484-28.118Z%22%2F%3E%3C%2Fg%3E%3C%2Fg%3E%3C%2Fsvg%3E\")}.platform__version-title[_ngcontent-%COMP%]{display:flex;align-items:center;margin-bottom:14px}.platform__version-title__name[_ngcontent-%COMP%]{margin-right:8px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.platform__version-title__name-version[_ngcontent-%COMP%]{font-size:24px;display:flex;flex-wrap:wrap;flex:1;overflow:hidden;align-items:baseline}.platform__version-title__toolTip[_ngcontent-%COMP%]{height:16px;color:rgb(var(--aui-color-primary));margin-bottom:10px;font-size:12px;line-height:14px;padding:1px 8px;background-color:#ffffffd9;border-radius:99px 95px 95px 99px}.platform__version-title[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{max-width:240px;width:42px;height:42px}.platform__version-title[_ngcontent-%COMP%]   .line[_ngcontent-%COMP%]{height:32px;width:1px;opacity:.66;background-color:rgb(var(--aui-color-n-10));margin:0 12px}.platform__component-info[_ngcontent-%COMP%]{color:rgb(var(--aui-color-n-4));padding:20px 20px 0}.platform__component-info[_ngcontent-%COMP%]   .label[_ngcontent-%COMP%]{font-size:14px;margin-bottom:12px}.platform__component-info[_ngcontent-%COMP%]   .component-container[_ngcontent-%COMP%]{display:grid;grid-template-columns:repeat(3,1fr);grid-gap:16px;max-height:312px;overflow-y:auto}.platform__component-info[_ngcontent-%COMP%]   .component-item[_ngcontent-%COMP%]{display:flex;align-items:center;padding:16px;border-radius:2px;background-color:rgb(var(--aui-color-n-9))}.platform__component-info[_ngcontent-%COMP%]   .component-item[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{width:36px;height:36px}.platform__component-info[_ngcontent-%COMP%]   .component-item-info[_ngcontent-%COMP%]{margin-left:12px;color:rgb(var(--aui-color-n-1))}.platform__component-info[_ngcontent-%COMP%]   .component-item-info__name[_ngcontent-%COMP%]{font-size:18px;font-weight:500;line-height:24px;margin-bottom:2px}.platform__component-info[_ngcontent-%COMP%]   .component-item-info__version[_ngcontent-%COMP%]{font-size:14px;line-height:16px}.platform__action[_ngcontent-%COMP%]{padding:20px;display:flex;justify-content:flex-end}.no-component[_ngcontent-%COMP%]{height:60px;border:dashed 1px rgb(var(--aui-color-n-7));background-color:rgb(var(--aui-color-n-10));display:flex;align-items:center;justify-content:center}.loading[_ngcontent-%COMP%]{height:312px;display:flex;justify-content:center;align-items:center}  .acl-page-header__tooltip--small .aui-menu-item:hover{color:rgb(var(--aui-color-primary))}"], changeDetection: 0 });
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(HelpMenuComponent, [{
        type: Component,
        args: [{ selector: 'acl-help-menu', changeDetection: ChangeDetectionStrategy.OnPush, template: "<div\n  class=\"menu\"\n  [auiDropdown]=\"menu\"\n  auiDropdownClass=\"acl-page-header__tooltip--small\"\n>\n  <aui-icon\n    icon=\"basic:question\"\n    class=\"menu__icon\"\n  ></aui-icon>\n</div>\n\n<aui-menu #menu>\n  <aui-menu-item\n    *ngIf=\"docLink\"\n    (click)=\"openDocLink()\"\n  >\n    <aui-icon icon=\"basic:help_doc\"></aui-icon>\n    <span class=\"tw-ml-[4px]\">{{ 'help_doc' | translate }}</span>\n  </aui-menu-item>\n\n  <aui-menu-item\n    [divide]=\"true\"\n    (click)=\"viewPlatformInfo(platformInfo)\"\n  >\n    <aui-icon icon=\"basic:info\"></aui-icon>\n    <span>{{ 'about_platform' | translate }}</span>\n  </aui-menu-item>\n\n  <aui-menu-item\n    *aclFeatureGate=\"'module-health'\"\n    [divide]=\"true\"\n    (click)=\"openHealthCheckLink()\"\n  >\n    <aui-icon icon=\"basic:health_examination\"></aui-icon>\n    <span>{{ 'platform_health_check' | translate }}</span>\n  </aui-menu-item>\n  <ng-content></ng-content>\n</aui-menu>\n\n<ng-template #platformInfo>\n  <aui-dialog-content class=\"paltform-about-dialog\">\n    <div class=\"platform__version\">\n      <div class=\"platform__version-title\">\n        <img src=\"api/v1/cm/ui-logos/logo\" />\n        <span class=\"line\"></span>\n        <div class=\"platform__version-title__name-version\">\n          <span class=\"platform__version-title__name\">{{\n            platformName ? (platformName | translate) : 'ACP+'\n          }}</span>\n          <span\n            [auiTooltip]=\"platformStageVersion\"\n            [auiTooltipContext]=\"{ version: platformVersion?.all }\"\n            auiTooltipPosition=\"end\"\n            auiTooltipType=\"plain\"\n          >\n            {{ platformVersion?.main }}</span\n          >\n        </div>\n      </div>\n      <div class=\"platform__version-desc\">{{ platformTip | translate }}</div>\n    </div>\n    <div class=\"platform__component-info\">\n      <div class=\"label\">\n        {{ 'platform_related_open_source_component_info' | translate }}\n      </div>\n      <ng-container *ngIf=\"!loading; else loadingTmp\">\n        <div\n          class=\"component-container\"\n          *ngIf=\"componentVersionList?.length; else noComponent\"\n        >\n          <div\n            class=\"component-item\"\n            *ngFor=\"let componentVersion of componentVersionList\"\n          >\n            <img [src]=\"'icons/' + componentVersion.name + '.svg'\" />\n            <div class=\"component-item-info\">\n              <div class=\"component-item-info__name\">\n                {{ componentVersion.name }}\n              </div>\n              <div class=\"component-item-info__version\">\n                {{ componentVersion.version }}\n              </div>\n            </div>\n          </div>\n        </div>\n      </ng-container>\n    </div>\n    <div class=\"platform__action\">\n      <button\n        aui-button\n        (click)=\"close()\"\n      >\n        {{ 'close' | translate }}\n      </button>\n    </div>\n  </aui-dialog-content>\n</ng-template>\n\n<ng-template #noComponent>\n  <div class=\"no-component\">{{ 'no_open_source_components' | translate }}</div>\n</ng-template>\n\n<ng-template #loadingTmp>\n  <div class=\"loading\">\n    <acl-loading-mask [loading]=\"loading\"></acl-loading-mask>\n  </div>\n</ng-template>\n\n<ng-template\n  #platformStageVersion\n  let-version=\"version\"\n>\n  <div class=\"platform__version-title__toolTip\">{{ version }}</div>\n</ng-template>\n", styles: [".menu{display:flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:2px;color:var(--acl-page-header-text-color);cursor:pointer}.menu:hover,.menu.isActive{color:#fff;background-color:rgb(var(--aui-color-primary))}.menu__icon{font-size:16px}.menu__pointer{font-size:12px;margin-left:-2px}.platform__version{color:#fff;font-size:18px;padding:32px 24px;background-image:url(\"data:image/svg+xml,%3Csvg width%3D%22800%22 height%3D%22140%22 viewBox%3D%220 0 800 140%22 xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22 xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%3E%3Cdefs%3E%3ClinearGradient x1%3D%22100%25%22 y1%3D%2250.918%25%22 x2%3D%222.734%25%22 y2%3D%2250.116%25%22 id%3D%22b%22%3E%3Cstop stop-color%3D%22%2366AFF9%22 offset%3D%220%25%22%2F%3E%3Cstop stop-color%3D%22%23007AF5%22 offset%3D%22100%25%22%2F%3E%3C%2FlinearGradient%3E%3ClinearGradient x1%3D%2250%25%22 y1%3D%220%25%22 x2%3D%2250%25%22 y2%3D%2283.267%25%22 id%3D%22d%22%3E%3Cstop stop-color%3D%22%23FFF%22 stop-opacity%3D%220%22 offset%3D%220%25%22%2F%3E%3Cstop stop-color%3D%22%2368FFFF%22 stop-opacity%3D%22.16%22 offset%3D%22100%25%22%2F%3E%3C%2FlinearGradient%3E%3ClinearGradient x1%3D%2250%25%22 y1%3D%220%25%22 x2%3D%2250%25%22 y2%3D%2291.263%25%22 id%3D%22e%22%3E%3Cstop stop-color%3D%22%23FFF%22 stop-opacity%3D%220%22 offset%3D%220%25%22%2F%3E%3Cstop stop-color%3D%22%2368FFFF%22 stop-opacity%3D%22.16%22 offset%3D%22100%25%22%2F%3E%3C%2FlinearGradient%3E%3ClinearGradient x1%3D%2259.921%25%22 y1%3D%220%25%22 x2%3D%2259.921%25%22 y2%3D%2258.499%25%22 id%3D%22f%22%3E%3Cstop stop-color%3D%22%23FFF%22 stop-opacity%3D%220%22 offset%3D%220%25%22%2F%3E%3Cstop stop-color%3D%22%2368FFFF%22 stop-opacity%3D%22.16%22 offset%3D%22100%25%22%2F%3E%3C%2FlinearGradient%3E%3ClinearGradient x1%3D%2250%25%22 y1%3D%220%25%22 x2%3D%2250%25%22 y2%3D%2283.267%25%22 id%3D%22g%22%3E%3Cstop stop-color%3D%22%23FFF%22 stop-opacity%3D%220%22 offset%3D%220%25%22%2F%3E%3Cstop stop-color%3D%22%2368FFFF%22 stop-opacity%3D%22.16%22 offset%3D%22100%25%22%2F%3E%3C%2FlinearGradient%3E%3ClinearGradient x1%3D%2250%25%22 y1%3D%2257.875%25%22 x2%3D%2270.076%25%22 y2%3D%22-30.443%25%22 id%3D%22h%22%3E%3Cstop stop-color%3D%22%23FFF%22 stop-opacity%3D%220%22 offset%3D%220%25%22%2F%3E%3Cstop stop-color%3D%22%2368FFFF%22 stop-opacity%3D%22.16%22 offset%3D%22100%25%22%2F%3E%3C%2FlinearGradient%3E%3ClinearGradient x1%3D%2250%25%22 y1%3D%2257.875%25%22 x2%3D%2254.322%25%22 y2%3D%22-25.456%25%22 id%3D%22i%22%3E%3Cstop stop-color%3D%22%23FFF%22 stop-opacity%3D%220%22 offset%3D%220%25%22%2F%3E%3Cstop stop-color%3D%22%2368FFFF%22 stop-opacity%3D%22.16%22 offset%3D%22100%25%22%2F%3E%3C%2FlinearGradient%3E%3Cpath id%3D%22a%22 d%3D%22M0 0h800v140H0z%22%2F%3E%3C%2Fdefs%3E%3Cg fill%3D%22none%22 fill-rule%3D%22evenodd%22%3E%3Cmask id%3D%22c%22 fill%3D%22%23fff%22%3E%3Cuse xlink%3Ahref%3D%22%23a%22%2F%3E%3C%2Fmask%3E%3Cuse fill%3D%22url(%23b)%22 xlink%3Ahref%3D%22%23a%22%2F%3E%3Cg mask%3D%22url(%23c)%22%3E%3Cpath d%3D%22m730.479 18.37 56.483 28.117-54.227 27.099.111.055-56.483 28.227-56.484-28.227 54.331-27.047-.215-.107L730.48 18.37Z%22 fill%3D%22url(%23d)%22 opacity%3D%22.6%22 transform%3D%22translate(-129.49)%22%2F%3E%3Cpath fill%3D%22url(%23e)%22 opacity%3D%22.6%22 d%3D%22m676.688 108.78-.333-35.301-56.476 8.544v54.914z%22 transform%3D%22translate(-129.49)%22%2F%3E%3Cpath fill%3D%22url(%23f)%22 opacity%3D%22.6%22 d%3D%22m676.174 105.728-.322-59.804 110.772 55.332.338 59.896z%22 transform%3D%22translate(-129.49)%22%2F%3E%3Cpath d%3D%22m395.477 31.73 56.483 28.117-54.227 27.098.111.056-56.483 28.227L284.877 87l54.331-27.048-.215-.106 56.484-28.118Zm517.123 0 56.483 28.117-54.227 27.098.111.056-56.483 28.227L802 87l54.331-27.048-.215-.106L912.6 31.73Z%22 fill%3D%22url(%23d)%22 opacity%3D%22.4%22 transform%3D%22translate(-129.49)%22%2F%3E%3Cpath d%3D%22m110.6 98.528 56.483 28.118-54.227 27.098.111.056-56.483 28.226L0 153.8l54.331-27.048-.215-.106L110.6 98.528Z%22 fill%3D%22url(%23d)%22 opacity%3D%22.6%22 transform%3D%22translate(-129.49)%22%2F%3E%3Cpath fill%3D%22url(%23g)%22 opacity%3D%22.6%22 d%3D%22m575.184 57.614 31.329 15.895-31.329 15.834-31.328-15.834z%22 transform%3D%22translate(-129.49)%22%2F%3E%3Cpath fill%3D%22url(%23h)%22 opacity%3D%22.6%22 d%3D%22m543.02 107.538 31.747 16.04V89.456L543.02 73.479z%22 transform%3D%22translate(-129.49)%22%2F%3E%3Cpath fill%3D%22url(%23i)%22 opacity%3D%22.6%22 d%3D%22m606.513 107.547-31.746 16.03v-34.13l31.745-15.968z%22 transform%3D%22translate(-129.49)%22%2F%3E%3Cpath stroke%3D%22%2360ACFF%22 stroke-width%3D%22.8%22 opacity%3D%22.3%22 d%3D%22m445.695 80.158 31.328-15.895-31.328-15.834-31.328 15.834zM600.99 0l56.483 28.118-54.227 27.098.11.056-56.483 28.226-56.483-28.226 54.33-27.048-.214-.106L600.989 0ZM341.175 133.597l56.483 28.118-54.227 27.098.111.056-56.483 28.227-56.484-28.227 54.331-27.048-.215-.106 56.484-28.118Z%22%2F%3E%3C%2Fg%3E%3Cg mask%3D%22url(%23c)%22%3E%3Cpath d%3D%22m730.479 18.37 56.483 28.117-54.227 27.099.111.055-56.483 28.227-56.484-28.227 54.331-27.047-.215-.107L730.48 18.37Z%22 fill%3D%22url(%23d)%22 opacity%3D%22.6%22 transform%3D%22translate(-129.49)%22%2F%3E%3Cpath fill%3D%22url(%23e)%22 opacity%3D%22.6%22 d%3D%22m676.688 108.78-.333-35.301-56.476 8.544v54.914z%22 transform%3D%22translate(-129.49)%22%2F%3E%3Cpath fill%3D%22url(%23f)%22 opacity%3D%22.6%22 d%3D%22m676.174 105.728-.322-59.804 110.772 55.332.338 59.896z%22 transform%3D%22translate(-129.49)%22%2F%3E%3Cpath d%3D%22m395.477 31.73 56.483 28.117-54.227 27.098.111.056-56.483 28.227L284.877 87l54.331-27.048-.215-.106 56.484-28.118Zm517.123 0 56.483 28.117-54.227 27.098.111.056-56.483 28.227L802 87l54.331-27.048-.215-.106L912.6 31.73Z%22 fill%3D%22url(%23d)%22 opacity%3D%22.4%22 transform%3D%22translate(-129.49)%22%2F%3E%3Cpath d%3D%22m110.6 98.528 56.483 28.118-54.227 27.098.111.056-56.483 28.226L0 153.8l54.331-27.048-.215-.106L110.6 98.528Z%22 fill%3D%22url(%23d)%22 opacity%3D%22.6%22 transform%3D%22translate(-129.49)%22%2F%3E%3Cpath fill%3D%22url(%23g)%22 opacity%3D%22.6%22 d%3D%22m575.184 57.614 31.329 15.895-31.329 15.834-31.328-15.834z%22 transform%3D%22translate(-129.49)%22%2F%3E%3Cpath fill%3D%22url(%23h)%22 opacity%3D%22.6%22 d%3D%22m543.02 107.538 31.747 16.04V89.456L543.02 73.479z%22 transform%3D%22translate(-129.49)%22%2F%3E%3Cpath fill%3D%22url(%23i)%22 opacity%3D%22.6%22 d%3D%22m606.513 107.547-31.746 16.03v-34.13l31.745-15.968z%22 transform%3D%22translate(-129.49)%22%2F%3E%3Cpath stroke%3D%22%2360ACFF%22 stroke-width%3D%22.8%22 opacity%3D%22.3%22 d%3D%22m445.695 80.158 31.328-15.895-31.328-15.834-31.328 15.834zM600.99 0l56.483 28.118-54.227 27.098.11.056-56.483 28.226-56.483-28.226 54.33-27.048-.214-.106L600.989 0ZM341.175 133.597l56.483 28.118-54.227 27.098.111.056-56.483 28.227-56.484-28.227 54.331-27.048-.215-.106 56.484-28.118Z%22%2F%3E%3C%2Fg%3E%3Cg mask%3D%22url(%23c)%22%3E%3Cpath d%3D%22m730.479 18.37 56.483 28.117-54.227 27.099.111.055-56.483 28.227-56.484-28.227 54.331-27.047-.215-.107L730.48 18.37Z%22 fill%3D%22url(%23d)%22 opacity%3D%22.6%22 transform%3D%22translate(-129.49)%22%2F%3E%3Cpath fill%3D%22url(%23e)%22 opacity%3D%22.6%22 d%3D%22m676.688 108.78-.333-35.301-56.476 8.544v54.914z%22 transform%3D%22translate(-129.49)%22%2F%3E%3Cpath fill%3D%22url(%23f)%22 opacity%3D%22.6%22 d%3D%22m676.174 105.728-.322-59.804 110.772 55.332.338 59.896z%22 transform%3D%22translate(-129.49)%22%2F%3E%3Cpath d%3D%22m395.477 31.73 56.483 28.117-54.227 27.098.111.056-56.483 28.227L284.877 87l54.331-27.048-.215-.106 56.484-28.118Zm517.123 0 56.483 28.117-54.227 27.098.111.056-56.483 28.227L802 87l54.331-27.048-.215-.106L912.6 31.73Z%22 fill%3D%22url(%23d)%22 opacity%3D%22.4%22 transform%3D%22translate(-129.49)%22%2F%3E%3Cpath d%3D%22m110.6 98.528 56.483 28.118-54.227 27.098.111.056-56.483 28.226L0 153.8l54.331-27.048-.215-.106L110.6 98.528Z%22 fill%3D%22url(%23d)%22 opacity%3D%22.6%22 transform%3D%22translate(-129.49)%22%2F%3E%3Cpath fill%3D%22url(%23g)%22 opacity%3D%22.6%22 d%3D%22m575.184 57.614 31.329 15.895-31.329 15.834-31.328-15.834z%22 transform%3D%22translate(-129.49)%22%2F%3E%3Cpath fill%3D%22url(%23h)%22 opacity%3D%22.6%22 d%3D%22m543.02 107.538 31.747 16.04V89.456L543.02 73.479z%22 transform%3D%22translate(-129.49)%22%2F%3E%3Cpath fill%3D%22url(%23i)%22 opacity%3D%22.6%22 d%3D%22m606.513 107.547-31.746 16.03v-34.13l31.745-15.968z%22 transform%3D%22translate(-129.49)%22%2F%3E%3Cpath stroke%3D%22%2360ACFF%22 stroke-width%3D%22.8%22 opacity%3D%22.3%22 d%3D%22m445.695 80.158 31.328-15.895-31.328-15.834-31.328 15.834zM600.99 0l56.483 28.118-54.227 27.098.11.056-56.483 28.226-56.483-28.226 54.33-27.048-.214-.106L600.989 0ZM341.175 133.597l56.483 28.118-54.227 27.098.111.056-56.483 28.227-56.484-28.227 54.331-27.048-.215-.106 56.484-28.118Z%22%2F%3E%3C%2Fg%3E%3C%2Fg%3E%3C%2Fsvg%3E\")}.platform__version-title{display:flex;align-items:center;margin-bottom:14px}.platform__version-title__name{margin-right:8px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.platform__version-title__name-version{font-size:24px;display:flex;flex-wrap:wrap;flex:1;overflow:hidden;align-items:baseline}.platform__version-title__toolTip{height:16px;color:rgb(var(--aui-color-primary));margin-bottom:10px;font-size:12px;line-height:14px;padding:1px 8px;background-color:#ffffffd9;border-radius:99px 95px 95px 99px}.platform__version-title img{max-width:240px;width:42px;height:42px}.platform__version-title .line{height:32px;width:1px;opacity:.66;background-color:rgb(var(--aui-color-n-10));margin:0 12px}.platform__component-info{color:rgb(var(--aui-color-n-4));padding:20px 20px 0}.platform__component-info .label{font-size:14px;margin-bottom:12px}.platform__component-info .component-container{display:grid;grid-template-columns:repeat(3,1fr);grid-gap:16px;max-height:312px;overflow-y:auto}.platform__component-info .component-item{display:flex;align-items:center;padding:16px;border-radius:2px;background-color:rgb(var(--aui-color-n-9))}.platform__component-info .component-item img{width:36px;height:36px}.platform__component-info .component-item-info{margin-left:12px;color:rgb(var(--aui-color-n-1))}.platform__component-info .component-item-info__name{font-size:18px;font-weight:500;line-height:24px;margin-bottom:2px}.platform__component-info .component-item-info__version{font-size:14px;line-height:16px}.platform__action{padding:20px;display:flex;justify-content:flex-end}.no-component{height:60px;border:dashed 1px rgb(var(--aui-color-n-7));background-color:rgb(var(--aui-color-n-10));display:flex;align-items:center;justify-content:center}.loading{height:312px;display:flex;justify-content:center;align-items:center}::ng-deep .acl-page-header__tooltip--small .aui-menu-item:hover{color:rgb(var(--aui-color-primary))}\n"] }]
    }], function () { return [{ type: i1.DialogService }, { type: i2.K8sApiService }, { type: i3.K8sUtilService }]; }, { docLink: [{
            type: Input
        }] }); })();
//# sourceMappingURL=data:application/json;base64, 