import { Component, Input } from '@angular/core';
import { data } from 'jquery';
import * as i0 from "@angular/core";
import * as i1 from "../../modules/shared/services/shared.service";
import * as i2 from "@angular/material/dialog";
import * as i3 from "@angular/material/snack-bar";
import * as i4 from "@angular/common";
export class GapAnalysisRecommendedCourseComponent {
    constructor(sharedService, dialog, snackBar) {
        this.sharedService = sharedService;
        this.dialog = dialog;
        this.snackBar = snackBar;
        this.loading = false;
        this.recommended_course_id = '';
        this.searchText = '';
        this.selectFilterCourses = [];
        this.competenciesCount = { total: 0, public_courses: 0, igot: 0 };
        this.expandedCompetencies = {}; // Track expanded state for each course and competency type
        this.planData = data;
    }
    ngOnInit() {
        this.loading = true;
        this.cbpPlanData = this.sharedService.cbpPlanFinalObj;
        // this.sharedService.getRecommendedCourse(this.planData.id).subscribe((res)=>{
        //   this.loading = false
        //   console.log('res', res)
        //   this.recommended_course_id = res.id
        //   let allCourses = []
        //   if(res && res.filtered_courses && res.filtered_courses.length) {
        //     res.filtered_courses.forEach((item)=>{
        //       if(item?.relevancy > 85) {
        //         allCourses.push(item)
        //       }
        //     })
        //   }
        //   this.filterdCourses = allCourses
        //   console.log('this.filterdCourses', this.filterdCourses)
        //   this.updateCompetencyCounts()
        //   this.getUserCourse()
        // })
        this.sharedService.getRecommendedCourse(this.planData.id).subscribe({
            next: (res) => {
                this.loading = false;
                console.log('res', res);
                this.recommended_course_id = res.id;
                let allCourses = [];
                if (res && res.filtered_courses && res.filtered_courses.length) {
                    res.filtered_courses.forEach((item) => {
                        if (item?.relevancy > 75) {
                            allCourses.push(item);
                        }
                    });
                }
                this.filterdCourses = allCourses;
                console.log('this.filterdCourses', this.filterdCourses);
                this.updateCompetencyCounts();
                this.getUserCourse();
            },
            error: (error) => {
                this.loading = false;
                this.snackBar.open(error?.error?.detail, 'X', {
                    duration: 3000,
                    panelClass: ['snackbar-error']
                });
            }
        });
    }
    updateCompetencyCounts() {
        // const comps = this.competenciesArray.value;
        this.competenciesCount = { total: 0, public_courses: 0, igot: 0 };
        this.filterdCourses.forEach(c => {
            this.competenciesCount.total++;
            if (c.is_public)
                this.competenciesCount.public_courses++;
            if (!c.is_public)
                this.competenciesCount.igot++;
        });
    }
    getUserCourse() {
        let role_mapping_id = this.planData.id;
        this.loading = true;
        this.sharedService.getUserCourse(role_mapping_id).subscribe({
            next: (res) => {
                // Success handling
                this.loading = false;
                // Process user-added courses to ensure proper structure
                for (let i = 0; i < res.length; i++) {
                    this.filterdCourses.push(res[i]);
                }
                // Rebuild filterdCourses to include all course types
                console.log('filterdCourses after adding user courses:', this.filterdCourses);
                //this.successRoleMapping.emit(this.roleMappingForm)
            },
            error: (error) => {
                console.log('error', error);
                this.loading = false;
                // Handle 409 Conflict here
                // alert('Conflict detected: The resource already exists or action conflicts.');
                //this.get
                // Or you can set a UI error message variable
                this.loading = false;
                //this.alreadyAvailableRoleMapping.emit(this.roleMappingForm)
            }
        });
    }
    getCompetenciesByType(type, index) {
        const course = this.filterdCourses[index];
        if (!course) {
            console.log(`No course found at index ${index}`);
            return [];
        }
        // Handle different competency property names
        // AI Recommended & Public courses use 'competencies'
        // Manually Suggested - iGOT courses use 'competencies_v6'
        // User Added courses use 'competencies'
        let competencies = [];
        if (course.competencies && Array.isArray(course.competencies)) {
            competencies = course.competencies;
            //      console.log(`Course ${index} (${course.course_type || course.name || 'Unknown'}) using 'competencies' property:`, competencies);
        }
        else if (course.competencies_v6 && Array.isArray(course.competencies_v6)) {
            competencies = course.competencies_v6;
            //  console.log(`Course ${index} (${course.course_type || course.name || 'Unknown'}) using 'competencies_v6' property:`, competencies);
        }
        else {
            // console.log(`Course ${index} (${course.course_type || course.name || 'Unknown'}) has no valid competencies property:`, {
            //   hasCompetencies: !!course.competencies,
            //   competenciesType: typeof course.competencies,
            //   hasCompetenciesV6: !!course.competencies_v6,
            //   competenciesV6Type: typeof course.competencies_v6,
            //   courseKeys: Object.keys(course)
            // });
        }
        if (competencies.length === 0) {
            console.log(`No competencies found for course ${index} and type ${type}`);
            return [];
        }
        // Normalize the type for comparison (case-insensitive + handle spelling variations)
        const normalizedType = type.toLowerCase().trim();
        const matchedCompetencies = competencies.filter(c => {
            if (!c || !c.competencyAreaName) {
                console.log(`Invalid competency structure in course ${index}:`, c);
                return false;
            }
            const competencyArea = c.competencyAreaName.toLowerCase().trim();
            // Handle both "behavioral" and "behavioural" spellings
            if (normalizedType === 'behavioural' || normalizedType === 'behavioral') {
                return competencyArea === 'behavioral' || competencyArea === 'behavioural';
            }
            // For other types, do case-insensitive comparison
            return competencyArea === normalizedType;
        });
        //    console.log(`Found ${matchedCompetencies.length} competencies of type ${type} for course ${index}:`, matchedCompetencies);
        return matchedCompetencies;
    }
    getDisplayedCompetencies(type, index) {
        const competencies = this.getCompetenciesByType(type, index);
        const key = `${index}-${type}`;
        if (this.expandedCompetencies[key]) {
            return competencies;
        }
        return competencies.slice(0, 2);
    }
    toggleCompetencies(type, index) {
        const key = `${index}-${type}`;
        this.expandedCompetencies[key] = !this.expandedCompetencies[key];
    }
    isExpanded(type, index) {
        const key = `${index}-${type}`;
        return this.expandedCompetencies[key] || false;
    }
    hasMoreThanTwo(type, index) {
        return this.getCompetenciesByType(type, index).length > 2;
    }
    getRemainingCount(type, index) {
        const totalCount = this.getCompetenciesByType(type, index).length;
        return totalCount - 2;
    }
    static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: GapAnalysisRecommendedCourseComponent, deps: [{ token: i1.SharedService }, { token: i2.MatDialog }, { token: i3.MatSnackBar }], target: i0.ɵɵFactoryTarget.Component }); }
    static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: GapAnalysisRecommendedCourseComponent, selector: "app-gap-analysis-recommended-course", inputs: { planData: "planData" }, ngImport: i0, template: "<div class=\"section-container mt-2\">\n    <div class=\"competency-container\">\n        <div class=\"outside-layer-total\">\n            <div class=\"inside-layer\">\n                Total Courses\n            </div>\n            <div class=\"count\">\n                {{competenciesCount?.total}}\n            </div>\n        </div>\n        <div class=\"outside-layer-total\">\n            <div class=\"inside-layer\">\n                iGOT Platform Courses\n            </div>\n            <div class=\"count\">\n                {{competenciesCount?.igot}}\n            </div>\n        </div>\n        <div class=\"outside-layer-total\">\n            <div class=\"inside-layer\">\n                Public Courses\n            </div>\n            <div class=\"count\">\n                {{competenciesCount?.public_courses}}\n\n            </div>\n        </div>\n\n    </div>\n    <div class=\"my-4\">\n\n        <div class=\"course-list-container\">\n            <div class=\"course-list-item\" *ngFor=\"let item of filterdCourses;let i=index\">\n                <div class=\"course-header\">\n                    <div class=\"checked-course-container\">\n\n                        <div>\n                            <div class=\"course-pill\">\n                                <div class=\"course-pill-text\">\n                                    <span><img src=\"assets/icons/course.svg\"></span>&nbsp;<span>Course</span>\n                                </div>\n                            </div>\n                        </div>\n\n                    </div>\n\n                    <!-- <div>\n                            <div class=\"ai-recommened-pill\">\n                                <div class=\"ai-recommened-pill-text\">\n                                    <span class=\"ai-loader-icon\"><img src=\"assets/icons/ai-loader.gif\"></span>\n                                    <span>AI Recommended</span>\n\n                                </div>\n                            </div>\n                        </div> -->\n                    <div *ngIf=\"item?.rationale && !item?.is_public\">\n                        <div class=\"ai-recommened-pill-green\">\n                            <div class=\"ai-recommened-pill-green-text\">\n                                <span class=\"ai-loader-icon\"><img src=\"assets/icons/ai-loader.gif\"></span>\n\n                                <span>AI Recommended - iGOT </span>\n\n                            </div>\n                        </div>\n                        <div class=\"ai-recommened-pill-orange mt-2\" *ngIf=\"item?.platform\">\n                            <div class=\"ai-recommened-pill-orange-text\">\n                                <span class=\"ai-loader-icon\"><img src=\"assets/icons/ai-loader.gif\"></span>\n                                <a class=\"cursor-pointer\" [href]=\"item?.public_link\" target=\"_blank\"><span>Platform -\n                                        {{item?.platform}}</span></a>\n                            </div>\n                        </div>\n                        <div class=\"ai-recommened-pill-orange mt-2\" *ngIf=\"item?.organisation?.length\">\n                            <div class=\"ai-recommened-pill-orange-text\">\n                                <span class=\"ai-loader-icon\"><img\n                                        src=\"assets/icons/ai-loader.gif\"></span>\n                                <span>Provider - {{item?.organisation[0]}}</span>\n                            </div>\n                        </div>\n                    </div>\n                    <div *ngIf=\"item?.rationale && item?.is_public\">\n                        <div class=\"ai-recommened-pill-public\">\n                            <div class=\"ai-recommened-pill-public-text\">\n                                <span class=\"ai-loader-icon\"><img src=\"assets/icons/ai-loader.gif\"></span>\n\n                                <span>AI Recommended - Public </span>\n\n                            </div>\n                        </div>\n                        <div class=\"ai-recommened-pill-orange mt-2\" *ngIf=\"item?.platform\">\n                            <div class=\"ai-recommened-pill-orange-text\">\n                                <span class=\"ai-loader-icon\"><img src=\"assets/icons/ai-loader.gif\"></span>\n                                <a class=\"cursor-pointer\" [href]=\"item?.public_link\" target=\"_blank\"><span>Platform -\n                                        {{item?.platform}}</span></a>\n                            </div>\n                        </div>\n                        <div class=\"ai-recommened-pill-orange mt-2\" *ngIf=\"item?.organisation?.length\">\n                            <div class=\"ai-recommened-pill-orange-text\">\n                                <span class=\"ai-loader-icon\"><img\n                                        src=\"assets/icons/ai-loader.gif\"></span>\n                                <span>Provider - {{item?.organisation[0]}}</span>\n                            </div>\n                        </div>\n                    </div>\n                    <div *ngIf=\"!item?.rationale\">\n                        <div class=\"ai-recommened-pill-gray\">\n                            <div class=\"ai-recommened-pill-gray-text\">\n                                <span class=\"ai-loader-icon\"><img src=\"assets/icons/ai-loader.gif\"></span>\n\n                                <span>Manually Suggested - iGOT </span>\n\n                            </div>\n                        </div>\n                        <div class=\"ai-recommened-pill-orange mt-2\" *ngIf=\"item?.platform\">\n                            <div class=\"ai-recommened-pill-orange-text\">\n                                <span class=\"ai-loader-icon\"><img src=\"assets/icons/ai-loader.gif\"></span>\n                                <a class=\"cursor-pointer\" [href]=\"item?.public_link\" target=\"_blank\"><span>Platform -\n                                        {{item?.platform}}</span></a>\n                            </div>\n                        </div>\n                        <div class=\"ai-recommened-pill-orange mt-2\" *ngIf=\"item?.organisation?.length\">\n                            <div class=\"ai-recommened-pill-orange-text\">\n                                <span class=\"ai-loader-icon\"><img\n                                        src=\"assets/icons/ai-loader.gif\"></span>\n                                <span>Provider - {{item?.organisation[0]}}</span>\n                            </div>\n                        </div>\n                    </div>\n                </div>\n                <div class=\"course-title mt-4\">\n                    <div>\n                        <div *ngIf=\"item?.course\">{{item?.course}}</div>\n                        <div *ngIf=\"item?.name\">{{item?.name}}</div>\n                    </div>\n                </div>\n                <div class=\"course-desc mt-2\">\n                    <div>\n                        <div>{{item?.rationale}}</div>\n                    </div>\n                </div>\n                <div class=\"mt-3\" *ngIf=\"getCompetenciesByType('Behavioural',i)?.length\">\n                    <div class=\"competency-sub-heading\">Behavioral Competencies</div>\n                    <ul class=\"competency-list mt-1\">\n                        <li class=\"behavioural-pill\" *ngFor=\"let comp of getDisplayedCompetencies('Behavioural',i)\">\n                            <span class=\"competency-text\"> {{ comp.competencyThemeName }} -\n                                {{\n                                comp.competencySubThemeName }} </span>\n                        </li>\n                        <li *ngIf=\"hasMoreThanTwo('Behavioural',i)\" class=\"show-more-competency\">\n                            <span class=\"show-more-link cursor-pointer\" (click)=\"toggleCompetencies('Behavioural',i)\">\n                                {{ isExpanded('Behavioural',i) ? 'Show Less' : '+' +\n                                getRemainingCount('Behavioural',i) + ' More' }}\n                            </span>\n                        </li>\n                    </ul>\n                </div>\n                <div class=\"mt-2\" *ngIf=\"getCompetenciesByType('Functional',i)?.length\">\n                    <div class=\"competency-sub-heading\">Functional Competencies</div>\n                    <ul class=\"competency-list mt-1\">\n                        <li class=\"functional-pill\" *ngFor=\"let comp of getDisplayedCompetencies('Functional',i)\">\n                            <span class=\"competency-text\"> {{ comp.competencyThemeName }} -\n                                {{\n                                comp.competencySubThemeName }} </span>\n                        </li>\n                        <li *ngIf=\"hasMoreThanTwo('Functional',i)\" class=\"show-more-competency\">\n                            <span class=\"show-more-link cursor-pointer\" (click)=\"toggleCompetencies('Functional',i)\">\n                                {{ isExpanded('Functional',i) ? 'Show Less' : '+' +\n                                getRemainingCount('Functional',i) + ' More' }}\n                            </span>\n                        </li>\n                    </ul>\n                </div>\n                <div class=\"mt-2\" *ngIf=\"getCompetenciesByType('Domain',i)?.length\">\n                    <div class=\"competency-sub-heading\">Domain Competencies</div>\n                    <ul class=\"competency-list mt-1\">\n                        <li class=\"domain-pill\" *ngFor=\"let comp of getDisplayedCompetencies('Domain',i)\">\n                            <span class=\"competency-text\"> {{ comp.competencyThemeName }} -\n                                {{\n                                comp.competencySubThemeName }} </span>\n                        </li>\n                        <li *ngIf=\"hasMoreThanTwo('Domain',i)\" class=\"show-more-competency\">\n                            <span class=\"show-more-link cursor-pointer\" (click)=\"toggleCompetencies('Domain',i)\">\n                                {{ isExpanded('Domain',i) ? 'Show Less' : '+' +\n                                getRemainingCount('Domain',i) + ' More' }}\n                            </span>\n                        </li>\n                    </ul>\n                </div>\n                <div class=\"mt-2\">\n                    <div class=\"relevancy-container\">\n                        <div class=\"relevancy\">Relevancy</div>\n                        <div class=\"dash\">-</div>\n                        <div class=\"percentage\" *ngIf=\"item?.relevancy\">{{item?.relevancy}}%</div>\n                        <div class=\"percentage\" *ngIf=\"!item?.relevancy\">N/A</div>\n                    </div>\n                </div>\n                <!-- <div>\n                        <div class=\"competencies-matched-container\">\n                            <div class=\"competencies-matched\">Competencies Matched</div>\n                            <div class=\"dash\">-</div>\n                            <div class=\"percentage\">80%</div>\n                        </div>\n                    </div> -->\n            </div>\n            <!-- <div class=\"course-list-item\">\n                    <div class=\"course-header\">\n                        <div>\n                            <div class=\"course-pill\">\n                                <div class=\"course-pill-text\">Course</div>\n                            </div>\n                        </div>\n                        <div>\n                            <div class=\"ai-recommened-pill\">\n                                <div class=\"ai-recommened-pill-text\">\n                                    <span class=\"ai-loader-icon\"><img src=\"assets/icons/ai-loader.gif\"></span>\n                                    <span>AI Recommended</span>\n\n                                </div>\n                            </div>\n                        </div>\n                    </div>\n                    <div class=\"course-title\">\n                        <div>\n                            <div>Maternal, Infant And Young Child Nutrition</div>\n                        </div>\n                    </div>\n                    <div class=\"course-desc\">\n                        <div>\n                            <div>This Course directly addresses a primary responsibility of Anganwandi Care takers,\n                                which is\n                                to provide and educate on nutrition for mother and young children</div>\n                        </div>\n                    </div>\n                    <div>\n                        <div class=\"relevancy-container\">\n                            <div class=\"relevancy\">Relevancy</div>\n                            <div class=\"dash\">-</div>\n                            <div class=\"percentage\">90%</div>\n                        </div>\n                    </div>\n                    <div>\n                        <div class=\"competencies-matched-container\">\n                            <div class=\"competencies-matched\">Competencies Matched</div>\n                            <div class=\"dash\">-</div>\n                            <div class=\"percentage\">80%</div>\n                        </div>\n                    </div>\n                </div> -->\n\n        </div>\n    </div>\n</div>", styles: ["@charset \"UTF-8\";.container{margin:10px auto}.sub-heading p{color:#000;font-family:Montserrat;font-size:16px;font-style:normal;font-weight:600;line-height:normal}.ministry-heading{color:#1b4ca1;font-family:Montserrat;font-size:24px;font-style:normal;font-weight:600;line-height:normal}.radio-label{color:#000;font-family:Lato;font-size:16px;font-style:normal;font-weight:400;line-height:normal}.radio-btn-group{display:flex;width:32px;height:32px;padding:2px;gap:10px}.label{color:var(--Body-Text-Body-Color, #212529);font-family:Lato;font-size:16px;font-style:normal;font-weight:700;line-height:150%}::ng-deep mat-form-field{background-color:#fff!important;border-radius:25px!important;padding-left:12px;padding-right:12px;height:42px;width:100%}::ng-deep mat-select{border-radius:25px!important;background-color:#fff!important}::ng-deep .mat-select-panel{background-color:#fff!important}::ng-deep .mat-select-panel .mat-option{border-radius:0!important}::ng-deep mat-form-field .mat-form-field-underline{display:none!important}::ng-deep mat-select .mat-select-placeholder{color:#0006;font-family:Lato;font-size:14px;font-style:normal;font-weight:400;line-height:normal}::ng-deep mat-select .mat-select-value-text{color:#000;font-family:Lato;font-size:14px;font-style:normal;font-weight:400;line-height:normal;line-height:normal!important;padding-top:0!important;padding-bottom:0!important}::ng-deep mat-select .mat-select-value{display:flex!important;align-items:center!important;height:100%!important}.additional-details textarea{display:flex;padding:16px 16px 0;flex-direction:column;align-items:flex-start;gap:10px;flex:1 0 0;align-self:stretch;width:100%;color:#000;font-family:Lato;font-size:14px;font-style:normal;font-weight:400;line-height:normal;resize:none}.section-header{display:flex;flex-direction:row;align-items:center;justify-content:space-between}.btn-disable{border-radius:var(--Radius-Full-Round, 9999999px);opacity:.4;background:var(--Primary-KB-Primary-Light, #1B4CA1);color:var(--white-kb-white-100, #FFF);text-align:center;font-family:Lato;font-size:14px;font-style:normal;font-weight:700;line-height:normal;display:flex;height:32px;padding:0 16px;justify-content:center;align-items:center;gap:8px;border:none}.btn-group{display:flex;flex-direction:row;justify-content:space-between}.pl-2{padding-left:5px}.search-filter-section{display:flex;flex-direction:row;justify-content:space-between}.search .rsearch{position:relative}.search .search-icon{position:absolute;top:15px;font-size:20px;left:10px}.search .sinput{border-radius:32px;border:1px solid #d5d0d0;padding:15px 36px;font:400 14px Lato;width:800px}.select-map-route-container{display:flex;flex-direction:row}.selected-mapping-route p{color:#1b4ca1;font-family:Lato;font-size:20px;font-style:normal;font-weight:400;line-height:normal;text-decoration-line:underline;text-decoration-style:solid;-webkit-text-decoration-skip:ink;text-decoration-skip-ink:auto;text-decoration-thickness:auto;text-underline-offset:auto;text-underline-position:from-font}.edit-plan{display:flex;padding:4px;justify-content:center;align-items:center;gap:8px;border-radius:4px;background:#1b4ca129;color:#1b4ca1;font-family:Lato;font-size:14px;font-style:normal;font-weight:400;line-height:normal;margin-left:10px}.search-container{display:flex;flex-direction:row}.course-container{display:flex;width:100%;padding:16px;flex-direction:column;align-items:flex-start;gap:24px;grid-row:2/span 1;grid-column:1/span 1;border-radius:12px;border:1px solid var(--borders-black-border-16-black, rgba(0, 0, 0, .16));background:#fff}.course-header{display:flex;flex-direction:row;justify-content:space-between;width:100%}.course-pill{display:flex;height:24px;padding:8px;align-items:center;gap:4px;border-radius:16px;border:1px solid var(--borders-border-fill-focussed-4-light-100, #EF951E);background:#fefaf4}.ai-recommened-pill-green{display:flex;padding:4px 8px;align-items:center;gap:8px;border-radius:var(--Radius-4, 4px);background:#0080001c}.ai-recommened-pill-green-text{color:#006400;font-family:Lato;font-size:11px;font-style:normal;font-weight:600;line-height:normal}.ai-recommened-pill-public{display:flex;padding:4px 8px;align-items:center;gap:8px;border-radius:var(--Radius-4, 4px);background:#1b4ca129}.ai-recommened-pill-public-text{color:#1b4ca1;font-family:Lato;font-size:11px;font-style:normal;font-weight:600;line-height:normal}.ai-recommened-pill-gray{display:flex;padding:4px 8px;align-items:center;gap:8px;border-radius:var(--Radius-4, 4px);background:#d3d3d3}.ai-recommened-pill-gray-text{color:#000;font-family:Lato;font-size:11px;font-style:normal;font-weight:600;line-height:normal}.ai-recommened-pill-orange{display:flex;padding:4px 8px;align-items:center;gap:8px;border-radius:var(--Radius-4, 4px);background:#ffa50052}.ai-recommened-pill-orange-text{color:#5a3f0d;font-family:Lato;font-size:11px;font-style:normal;font-weight:600;line-height:normal}.ai-recommened-pill-orange-text a{color:#5a3f0d!important;font-family:Lato;font-size:11px;font-style:normal;font-weight:600;line-height:normal}.igot-platform-pill{display:flex;padding:4px 8px;align-items:center;gap:8px;border-radius:var(--Radius-4, 4px);border:1px solid #EF951E;background:#ef951e29}.course-title{color:var(--Primary-KB-Primary-Light, #1B4CA1);font-family:Montserrat;font-size:16px;font-style:normal;font-weight:600;line-height:22px}.course-desc{color:#0009;font-family:Lato;font-size:14px;font-style:normal;font-weight:400;line-height:1.4;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis}.relevancy,.competencies-matched{color:#6c757d;font-family:Lato;font-size:12px;font-style:normal;font-weight:500;line-height:normal;align-items:center}.percentage{color:#1b4ca1;font-family:Lato;font-size:14px;font-style:normal;font-weight:600;line-height:normal}.relevancy-container,.competencies-matched-container{display:flex;flex-direction:row;align-items:center}.dash{padding:0 5px}::ng-deep .mat-radio-checked .mat-radio-inner-circle{background:#1b4ca1!important}.course-list-container{display:flex;flex-wrap:wrap;gap:16px;width:100%;padding:1rem}.course-list-item{flex:1 1 calc(50% - 10px);min-width:350px;max-width:500px;box-sizing:border-box;border:1px solid #e0e0e0;padding:16px;background-color:#fff;border-radius:12px;min-height:auto;box-shadow:0 2px 4px #0000001a;transition:box-shadow .2s ease;display:flex;flex-direction:column}.course-list-item:hover{box-shadow:0 4px 8px #00000026}.course-list-item:only-child{flex:1 1 auto;max-width:800px}.checked-course-container{display:flex;width:60%}.ml-2{margin-left:8px}::ng-deep .mat-checkbox-checked .mat-checkbox-background{background:#1b4ca1!important}.igot-platform-pill-text{color:#1b4ca1;font-family:Lato;font-size:12px;font-style:normal;font-weight:700;line-height:normal}.course-pill-text{color:var(--accessbility-shades-without-opacity-kb-greys-black-87, #212121);text-align:center;font-family:Poppins;font-size:12px;font-style:normal;font-weight:400;line-height:normal}.ai-loader-icon img,.igot-platform-icon img{width:15.714px;height:15.714px;flex-shrink:0}.competency-container{display:flex;justify-content:normal;gap:16px;flex-direction:row;margin-left:20px}.outside-layer-total{display:flex;padding:4px 12px;justify-content:center;align-items:center;gap:16px;border-radius:12px 4px 4px 12px;border-left:2px solid #1B4CA1;background:#edf1f8;width:132px}.outside-layer-functional{display:flex;padding:4px 12px;justify-content:center;align-items:center;gap:16px;border-radius:12px 4px 4px 12px;border-left:2px solid #E24577;background:#f8d2de;width:132px}.outside-layer-domain{display:flex;padding:4px 12px;justify-content:center;align-items:center;gap:16px;border-radius:12px 4px 4px 12px;border-left:2px solid #7B47A4;background:#dfd3e9;width:132px}.outside-layer-behavioral{display:flex;padding:4px 12px;justify-content:center;align-items:center;gap:16px;border-radius:12px 4px 4px 12px;border-left:2px solid #F8B861;background:#fde8cc;width:132px}.inside-layer{color:#1b4ca1;font-family:Lato;font-size:16px;font-style:normal;font-weight:400;line-height:normal}.count{color:#1b4ca1;font-family:Montserrat;font-size:18px;font-style:normal;font-weight:600;line-height:normal}.suggest-courses-header{display:flex;flex-direction:row;justify-content:space-between}.suggest-course-control{display:flex;flex-direction:row}.course-card-container{width:172px;border-radius:3.307px;border:.827px solid var(--borders-border-8-black, rgba(0, 0, 0, .08));background-color:#fff}.highlight-ai{font-family:Montserrat;font-size:24px;font-style:normal;font-weight:600;line-height:normal;background:linear-gradient(90deg,#3b27ff,#2de3d6);background-clip:text;-webkit-background-clip:text;color:transparent;-webkit-text-fill-color:transparent;display:inline-block}.ai-loader-icon-medium img{width:40px;height:40px;flex-shrink:0}.heading{color:#000;font-family:Montserrat;font-size:16px;font-style:normal;font-weight:600;line-height:normal;margin:10px 0}.pdf-heading{color:#000;font-family:Montserrat;font-size:18px;font-style:normal;font-weight:600;line-height:normal;margin:10px 0;text-align:center}.popup-header{display:flex;justify-content:space-between;align-items:center;padding:16px;border-bottom:1px solid #e0e0e0}.header-left{flex:1}.header-actions{display:flex;align-items:center;gap:12px}.regenerate-btn{display:flex;align-items:center;gap:8px;padding:8px 16px;border-radius:6px;font-size:14px;font-weight:500;min-width:auto}.regenerate-btn .mat-icon{margin:0;font-size:18px;width:18px;height:18px}.regenerate-btn .mat-spinner{margin:0}.regenerate-btn:disabled{opacity:.7;cursor:not-allowed}.close-btn{padding:8px;border-radius:4px;transition:background-color .2s ease}.close-btn:hover{background-color:#f5f5f5}.close-btn .mat-icon{font-size:20px;width:20px;height:20px}.progress-popup{display:flex;flex-direction:column;justify-content:center;align-items:center}.progress-popup .desc{color:#000000de;text-align:center;font-family:Lato;font-size:14px;font-style:normal;font-weight:400;line-height:normal}.behavioural-pill{display:flex;padding:2px 6px;justify-content:center;align-items:center;gap:4px;border-radius:16px;border:1px solid #F8B861;background:linear-gradient(0deg,#f8b86152 0% 100%),#fff;margin:2px 4px 2px 0;font-size:12px}.functional-pill{display:flex;padding:2px 6px;justify-content:center;align-items:center;gap:4px;border-radius:16px;border:1px solid #E24577;background:linear-gradient(0deg,#e245773d 0% 100%),#fff;margin:2px 4px 2px 0;font-size:12px}.domain-pill{display:flex;padding:2px 6px;justify-content:center;align-items:center;gap:4px;border-radius:16px;border:1px solid #7B47A4;background:linear-gradient(0deg,#7b47a43d 0% 100%),#fff;margin:2px 4px 2px 0;font-size:12px}.popup-header{display:flex;flex-direction:row;justify-content:space-between}.popup-footer{display:flex;flex-direction:row;justify-content:end}.view-cbp-plan{margin:10px;padding:10px}.view-cbp-plan-popup{padding:24px;max-height:70vh;overflow-y:auto}.section{border-radius:8px;background:#1b4ca114;padding:16px}.popup-header{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #ddd;font-weight:700;flex-shrink:0}.popup-footer{display:flex;justify-content:flex-end;gap:16px;padding:16px 24px;border-top:1px solid #ddd;background-color:#fff;flex-shrink:0;position:sticky;bottom:0}.section-container{overflow-y:auto;flex:1 1 auto}.competency-list{display:flex;flex-direction:row;gap:0px;flex-wrap:wrap;margin:0;padding:0;list-style:none}.competency-text{color:#000;font-family:Lato;font-size:12px;font-style:normal;font-weight:400;line-height:normal;padding:3px 6px}.competency-text-behavioral{color:#654321;font-family:Lato;font-size:14px;font-style:normal;line-height:normal;font-weight:550}.competency-text-functional{color:#b01669;font-family:Lato;font-size:14px;font-style:normal;line-height:normal;font-weight:550}.competency-text-domain{color:#301934;font-family:Lato;font-size:14px;font-style:normal;line-height:normal;font-weight:550}.competency-sub-heading{color:#1b4ca1;font-family:Montserrat;font-size:14px;font-style:normal;font-weight:600;line-height:normal}.cursor-pointer{cursor:pointer}.btn-active{border-radius:var(--Radius-Full-Round, 9999999px);opacity:1;background:var(--Primary-KB-Primary-Light, #1B4CA1);color:var(--white-kb-white-100, #FFF);text-align:center;font-family:Lato;font-size:14px;font-style:normal;font-weight:700;line-height:normal;display:flex;height:32px;padding:0 16px;justify-content:center;align-items:center;gap:8px;border:none}.custom-textarea{color:#000;font-family:Lato;font-size:14px;font-style:normal;font-weight:400;line-height:normal}.overlay-loader{position:fixed;top:0;left:0;width:100vw;height:100vh;background:#ffffffbf;z-index:9999;display:flex;justify-content:center;align-items:center}.competencis-grid{display:flex;flex-direction:row;justify-content:space-between;gap:16px}.grid-list-item-behavioral div{border-left:2px solid darkorange}.grid-list-item-functional div{border-left:2px solid #ff1493}.grid-list-item-domain div{border-left:2px solid #6b21a8}.competencies-grid-3{width:33%}.bg-blue-50{background-color:#fde8cc;border-radius:4px}.bg-green-50{background-color:#f8d2de;border-radius:4px}.bg-purple-50{background-color:#dfd3e9;border-radius:4px}.grid-list-item div{padding:5px 10px;margin:10px 0}.course-pill-container{display:flex;gap:8px}.relevancy-pill-green{display:flex;padding:4px 8px;align-items:center;gap:4px;border-radius:16px;border:1px solid #e0e0e0;background:#f8f9fa}.mt-1{margin-top:.25rem}.mt-2{margin-top:.5rem}.mt-3{margin-top:.75rem}.show-more-competency{display:inline-flex;align-items:center}.show-more-link{color:#1b4ca1;font-family:Lato;font-size:12px;font-style:normal;font-weight:500;line-height:normal;margin:2px 4px 2px 0;text-decoration:none}.show-more-link:hover{text-decoration:underline}.course-content{flex:1;display:flex;flex-direction:column}.course-footer{margin-top:auto;padding-top:12px;display:flex;justify-content:space-between}::ng-deep .mdc-tab__text-label{font-weight:700;font-family:Montserrat!important;font-size:16px;color:#000!important;text-transform:capitalize}.competency-tag{display:inline-block;padding:.25rem .75rem;border-radius:9999px;font-size:.75rem;font-weight:500;margin-right:.5rem;margin-bottom:.5rem}.menu-list-item.active{background-color:#1b4ca1;color:#fff}.menu-list-item:hover{background-color:#1b4ca1;color:#fff;border-color:#1b4ca1}.gray-bg{background-color:rgb(248,250,252,var(--tw-bg-opacity, 1));border-radius:8px;border:1px solid #ccc}.div-count{font-family:Lato;font-size:20px;font-weight:700}.green-bg{background-color:#0080001c;border:1px solid #006400;border-radius:8px}.div-green-count{font-family:Lato;font-size:20px;font-weight:700;color:#006400}.div-green-label{color:#006400;font-family:Montserrat;font-size:16px;font-style:normal;font-weight:600;line-height:normal}.gray-bg-item{background-color:rgb(248,250,252,var(--tw-bg-opacity, 1));border-radius:8px;border:1px solid #ccc;padding:4px 8px;margin:10px}.add-btn{color:#1b4ca1;font-size:14px;font-family:Lato}.list-flex{display:flex;flex-direction:row;justify-content:space-between}.all-category-list .mat-icon{vertical-align:middle}.course-list-container-flex{display:flex;align-items:flex-start;gap:2rem}.left-panel{flex:0 0 250px;font-weight:700;text-align:left}.right-panel{flex:1;display:flex;flex-direction:row;flex-wrap:wrap;gap:20px;align-content:flex-start;justify-content:flex-start}.category-list-item{font-weight:400;font-size:16px;font-family:Lato;padding:5px}.right-panel-flex{display:flex;flex:0 0 100%;width:100%;flex-direction:row;flex-wrap:wrap;gap:20px;justify-content:flex-start}.course-list-container-right-flex{display:flex}.no-gaps-message{display:flex;flex-direction:column;align-items:center;padding:24px;background:linear-gradient(135deg,#4caf501a,#81c7841a);border:2px solid #4CAF50;border-radius:16px;margin:16px 0}.no-gaps-message .success-icon{font-size:25px;color:#4caf50;margin-bottom:16px}.no-gaps-message h4{color:#2e7d32;font-family:Montserrat;font-size:20px;font-weight:600;margin:0 0 8px;text-align:center}.no-gaps-message p{color:#388e3c;font-family:Lato;font-size:14px;font-weight:400;margin:0;text-align:center;line-height:1.5}.section-header-improved{display:flex;flex-direction:column;gap:16px}.search-and-buttons-container{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}.search-container-compact{flex:0 0 auto;min-width:280px}.search-container-compact .rsearch{position:relative;display:flex;align-items:center}.search-container-compact .search-icon{position:absolute;left:12px;color:#666;font-size:20px;z-index:1}.search-container-compact .sinput-compact{border-radius:25px;border:1px solid #d5d0d0;padding:8px 12px 8px 40px;height:32px;width:100%;font:400 14px Lato;box-sizing:border-box;transition:border-color .3s ease}.search-container-compact .sinput-compact:focus{outline:none;border-color:#1b4ca1;box-shadow:0 0 0 2px #1b4ca11a}.search-container-compact .sinput-compact::placeholder{color:#999}.btn-group-compact{display:flex;gap:8px;flex:0 0 auto}.category-list-item{padding:8px 12px!important;border-radius:6px;border:1px solid transparent;transition:all .3s ease;background:#f8f9fa;color:#333;font-family:Lato;font-size:14px!important;font-weight:400!important}.category-list-item:hover{background:#1b4ca10d;border-color:#1b4ca133}.category-list-item.selected-theme{background:#1b4ca11a;border-color:#1b4ca1;color:#1b4ca1;font-weight:600!important}.category-list-item.selected-theme:before{content:\"\\2713  \";color:#1b4ca1;font-weight:700}.theme-filter-controls{margin-bottom:8px}.clear-filter-btn{background:#f8f9fa;border:1px solid #ddd;border-radius:20px;padding:4px 12px;font-size:12px;color:#666;cursor:pointer;transition:all .3s ease;display:flex;align-items:center;gap:4px}.clear-filter-btn:hover{background:#e9ecef;border-color:#adb5bd}.clear-filter-btn mat-icon{font-size:16px;width:16px;height:16px}.no-course-found-container{display:flex;justify-content:center;align-items:center;min-height:300px;padding:20px}.no-course-card{background:linear-gradient(135deg,#f8f9fa,#e9ecef);border:2px dashed #ced4da;border-radius:16px;padding:40px;text-align:center;max-width:500px;box-shadow:0 4px 12px #0000000d}.no-course-card .no-course-icon{margin-bottom:20px}.no-course-card .no-course-icon mat-icon{font-size:48px;width:48px;height:48px;color:#6c757d}.no-course-card .no-course-content h4{color:#495057;font-family:Montserrat;font-size:24px;font-weight:600;margin-bottom:12px}.no-course-card .no-course-content p{color:#6c757d;font-family:Lato;font-size:16px;line-height:1.5;margin-bottom:12px}.no-course-card .no-course-content p strong{color:#1b4ca1;font-weight:600}.no-course-card .suggest-course-btn{background:linear-gradient(135deg,#1b4ca1,#164080);color:#fff;border:none;border-radius:25px;padding:12px 24px;font-family:Lato;font-size:14px;font-weight:600;cursor:pointer;display:flex;align-items:center;gap:8px;margin:20px auto 0;transition:all .3s ease;box-shadow:0 4px 12px #1b4ca14d}.no-course-card .suggest-course-btn:hover{background:linear-gradient(135deg,#164080,#0f2f5f);transform:translateY(-2px);box-shadow:0 6px 16px #1b4ca166}.no-course-card .suggest-course-btn:active{transform:translateY(0)}.no-course-card .suggest-course-btn mat-icon{font-size:18px;width:18px;height:18px}.left-panel{flex:0 0 280px!important;background:#f8f9fa;border-radius:12px;padding:16px;border:1px solid #e9ecef;max-height:600px;overflow-y:auto;font-weight:400!important}@media (max-width: 1200px){.search-and-buttons-container{flex-direction:column;align-items:stretch}.search-container-compact{min-width:auto;width:100%}.btn-group-compact{justify-content:center;flex-wrap:wrap}}@media (max-width: 1200px) and (min-width: 769px){.course-list-item{flex:1 1 calc(50% - 10px);min-width:300px;max-width:none}}@media (max-width: 768px){.course-list-container-flex{flex-direction:column}.left-panel{flex:none!important;max-height:300px}.course-list-item{flex:0 0 100%;max-width:100%}.no-course-card{padding:20px}.no-course-card .no-course-content h4{font-size:20px}.no-course-card .no-course-content p{font-size:14px}}::ng-deep .error-snackbar{background-color:#f44336!important;color:#fff!important;font-weight:500}::ng-deep .error-snackbar .mat-simple-snackbar-action{color:#fff!important}::ng-deep .session-expired-snackbar{background-color:#ff9800!important;color:#fff!important;font-weight:600}::ng-deep .session-expired-snackbar .mat-simple-snackbar-action{color:#fff!important;font-weight:700}.download-pdf{justify-content:end;display:flex;flex-direction:row}\n"], dependencies: [{ kind: "directive", type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] }); }
}
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: GapAnalysisRecommendedCourseComponent, decorators: [{
            type: Component,
            args: [{ selector: 'app-gap-analysis-recommended-course', template: "<div class=\"section-container mt-2\">\n    <div class=\"competency-container\">\n        <div class=\"outside-layer-total\">\n            <div class=\"inside-layer\">\n                Total Courses\n            </div>\n            <div class=\"count\">\n                {{competenciesCount?.total}}\n            </div>\n        </div>\n        <div class=\"outside-layer-total\">\n            <div class=\"inside-layer\">\n                iGOT Platform Courses\n            </div>\n            <div class=\"count\">\n                {{competenciesCount?.igot}}\n            </div>\n        </div>\n        <div class=\"outside-layer-total\">\n            <div class=\"inside-layer\">\n                Public Courses\n            </div>\n            <div class=\"count\">\n                {{competenciesCount?.public_courses}}\n\n            </div>\n        </div>\n\n    </div>\n    <div class=\"my-4\">\n\n        <div class=\"course-list-container\">\n            <div class=\"course-list-item\" *ngFor=\"let item of filterdCourses;let i=index\">\n                <div class=\"course-header\">\n                    <div class=\"checked-course-container\">\n\n                        <div>\n                            <div class=\"course-pill\">\n                                <div class=\"course-pill-text\">\n                                    <span><img src=\"assets/icons/course.svg\"></span>&nbsp;<span>Course</span>\n                                </div>\n                            </div>\n                        </div>\n\n                    </div>\n\n                    <!-- <div>\n                            <div class=\"ai-recommened-pill\">\n                                <div class=\"ai-recommened-pill-text\">\n                                    <span class=\"ai-loader-icon\"><img src=\"assets/icons/ai-loader.gif\"></span>\n                                    <span>AI Recommended</span>\n\n                                </div>\n                            </div>\n                        </div> -->\n                    <div *ngIf=\"item?.rationale && !item?.is_public\">\n                        <div class=\"ai-recommened-pill-green\">\n                            <div class=\"ai-recommened-pill-green-text\">\n                                <span class=\"ai-loader-icon\"><img src=\"assets/icons/ai-loader.gif\"></span>\n\n                                <span>AI Recommended - iGOT </span>\n\n                            </div>\n                        </div>\n                        <div class=\"ai-recommened-pill-orange mt-2\" *ngIf=\"item?.platform\">\n                            <div class=\"ai-recommened-pill-orange-text\">\n                                <span class=\"ai-loader-icon\"><img src=\"assets/icons/ai-loader.gif\"></span>\n                                <a class=\"cursor-pointer\" [href]=\"item?.public_link\" target=\"_blank\"><span>Platform -\n                                        {{item?.platform}}</span></a>\n                            </div>\n                        </div>\n                        <div class=\"ai-recommened-pill-orange mt-2\" *ngIf=\"item?.organisation?.length\">\n                            <div class=\"ai-recommened-pill-orange-text\">\n                                <span class=\"ai-loader-icon\"><img\n                                        src=\"assets/icons/ai-loader.gif\"></span>\n                                <span>Provider - {{item?.organisation[0]}}</span>\n                            </div>\n                        </div>\n                    </div>\n                    <div *ngIf=\"item?.rationale && item?.is_public\">\n                        <div class=\"ai-recommened-pill-public\">\n                            <div class=\"ai-recommened-pill-public-text\">\n                                <span class=\"ai-loader-icon\"><img src=\"assets/icons/ai-loader.gif\"></span>\n\n                                <span>AI Recommended - Public </span>\n\n                            </div>\n                        </div>\n                        <div class=\"ai-recommened-pill-orange mt-2\" *ngIf=\"item?.platform\">\n                            <div class=\"ai-recommened-pill-orange-text\">\n                                <span class=\"ai-loader-icon\"><img src=\"assets/icons/ai-loader.gif\"></span>\n                                <a class=\"cursor-pointer\" [href]=\"item?.public_link\" target=\"_blank\"><span>Platform -\n                                        {{item?.platform}}</span></a>\n                            </div>\n                        </div>\n                        <div class=\"ai-recommened-pill-orange mt-2\" *ngIf=\"item?.organisation?.length\">\n                            <div class=\"ai-recommened-pill-orange-text\">\n                                <span class=\"ai-loader-icon\"><img\n                                        src=\"assets/icons/ai-loader.gif\"></span>\n                                <span>Provider - {{item?.organisation[0]}}</span>\n                            </div>\n                        </div>\n                    </div>\n                    <div *ngIf=\"!item?.rationale\">\n                        <div class=\"ai-recommened-pill-gray\">\n                            <div class=\"ai-recommened-pill-gray-text\">\n                                <span class=\"ai-loader-icon\"><img src=\"assets/icons/ai-loader.gif\"></span>\n\n                                <span>Manually Suggested - iGOT </span>\n\n                            </div>\n                        </div>\n                        <div class=\"ai-recommened-pill-orange mt-2\" *ngIf=\"item?.platform\">\n                            <div class=\"ai-recommened-pill-orange-text\">\n                                <span class=\"ai-loader-icon\"><img src=\"assets/icons/ai-loader.gif\"></span>\n                                <a class=\"cursor-pointer\" [href]=\"item?.public_link\" target=\"_blank\"><span>Platform -\n                                        {{item?.platform}}</span></a>\n                            </div>\n                        </div>\n                        <div class=\"ai-recommened-pill-orange mt-2\" *ngIf=\"item?.organisation?.length\">\n                            <div class=\"ai-recommened-pill-orange-text\">\n                                <span class=\"ai-loader-icon\"><img\n                                        src=\"assets/icons/ai-loader.gif\"></span>\n                                <span>Provider - {{item?.organisation[0]}}</span>\n                            </div>\n                        </div>\n                    </div>\n                </div>\n                <div class=\"course-title mt-4\">\n                    <div>\n                        <div *ngIf=\"item?.course\">{{item?.course}}</div>\n                        <div *ngIf=\"item?.name\">{{item?.name}}</div>\n                    </div>\n                </div>\n                <div class=\"course-desc mt-2\">\n                    <div>\n                        <div>{{item?.rationale}}</div>\n                    </div>\n                </div>\n                <div class=\"mt-3\" *ngIf=\"getCompetenciesByType('Behavioural',i)?.length\">\n                    <div class=\"competency-sub-heading\">Behavioral Competencies</div>\n                    <ul class=\"competency-list mt-1\">\n                        <li class=\"behavioural-pill\" *ngFor=\"let comp of getDisplayedCompetencies('Behavioural',i)\">\n                            <span class=\"competency-text\"> {{ comp.competencyThemeName }} -\n                                {{\n                                comp.competencySubThemeName }} </span>\n                        </li>\n                        <li *ngIf=\"hasMoreThanTwo('Behavioural',i)\" class=\"show-more-competency\">\n                            <span class=\"show-more-link cursor-pointer\" (click)=\"toggleCompetencies('Behavioural',i)\">\n                                {{ isExpanded('Behavioural',i) ? 'Show Less' : '+' +\n                                getRemainingCount('Behavioural',i) + ' More' }}\n                            </span>\n                        </li>\n                    </ul>\n                </div>\n                <div class=\"mt-2\" *ngIf=\"getCompetenciesByType('Functional',i)?.length\">\n                    <div class=\"competency-sub-heading\">Functional Competencies</div>\n                    <ul class=\"competency-list mt-1\">\n                        <li class=\"functional-pill\" *ngFor=\"let comp of getDisplayedCompetencies('Functional',i)\">\n                            <span class=\"competency-text\"> {{ comp.competencyThemeName }} -\n                                {{\n                                comp.competencySubThemeName }} </span>\n                        </li>\n                        <li *ngIf=\"hasMoreThanTwo('Functional',i)\" class=\"show-more-competency\">\n                            <span class=\"show-more-link cursor-pointer\" (click)=\"toggleCompetencies('Functional',i)\">\n                                {{ isExpanded('Functional',i) ? 'Show Less' : '+' +\n                                getRemainingCount('Functional',i) + ' More' }}\n                            </span>\n                        </li>\n                    </ul>\n                </div>\n                <div class=\"mt-2\" *ngIf=\"getCompetenciesByType('Domain',i)?.length\">\n                    <div class=\"competency-sub-heading\">Domain Competencies</div>\n                    <ul class=\"competency-list mt-1\">\n                        <li class=\"domain-pill\" *ngFor=\"let comp of getDisplayedCompetencies('Domain',i)\">\n                            <span class=\"competency-text\"> {{ comp.competencyThemeName }} -\n                                {{\n                                comp.competencySubThemeName }} </span>\n                        </li>\n                        <li *ngIf=\"hasMoreThanTwo('Domain',i)\" class=\"show-more-competency\">\n                            <span class=\"show-more-link cursor-pointer\" (click)=\"toggleCompetencies('Domain',i)\">\n                                {{ isExpanded('Domain',i) ? 'Show Less' : '+' +\n                                getRemainingCount('Domain',i) + ' More' }}\n                            </span>\n                        </li>\n                    </ul>\n                </div>\n                <div class=\"mt-2\">\n                    <div class=\"relevancy-container\">\n                        <div class=\"relevancy\">Relevancy</div>\n                        <div class=\"dash\">-</div>\n                        <div class=\"percentage\" *ngIf=\"item?.relevancy\">{{item?.relevancy}}%</div>\n                        <div class=\"percentage\" *ngIf=\"!item?.relevancy\">N/A</div>\n                    </div>\n                </div>\n                <!-- <div>\n                        <div class=\"competencies-matched-container\">\n                            <div class=\"competencies-matched\">Competencies Matched</div>\n                            <div class=\"dash\">-</div>\n                            <div class=\"percentage\">80%</div>\n                        </div>\n                    </div> -->\n            </div>\n            <!-- <div class=\"course-list-item\">\n                    <div class=\"course-header\">\n                        <div>\n                            <div class=\"course-pill\">\n                                <div class=\"course-pill-text\">Course</div>\n                            </div>\n                        </div>\n                        <div>\n                            <div class=\"ai-recommened-pill\">\n                                <div class=\"ai-recommened-pill-text\">\n                                    <span class=\"ai-loader-icon\"><img src=\"assets/icons/ai-loader.gif\"></span>\n                                    <span>AI Recommended</span>\n\n                                </div>\n                            </div>\n                        </div>\n                    </div>\n                    <div class=\"course-title\">\n                        <div>\n                            <div>Maternal, Infant And Young Child Nutrition</div>\n                        </div>\n                    </div>\n                    <div class=\"course-desc\">\n                        <div>\n                            <div>This Course directly addresses a primary responsibility of Anganwandi Care takers,\n                                which is\n                                to provide and educate on nutrition for mother and young children</div>\n                        </div>\n                    </div>\n                    <div>\n                        <div class=\"relevancy-container\">\n                            <div class=\"relevancy\">Relevancy</div>\n                            <div class=\"dash\">-</div>\n                            <div class=\"percentage\">90%</div>\n                        </div>\n                    </div>\n                    <div>\n                        <div class=\"competencies-matched-container\">\n                            <div class=\"competencies-matched\">Competencies Matched</div>\n                            <div class=\"dash\">-</div>\n                            <div class=\"percentage\">80%</div>\n                        </div>\n                    </div>\n                </div> -->\n\n        </div>\n    </div>\n</div>", styles: ["@charset \"UTF-8\";.container{margin:10px auto}.sub-heading p{color:#000;font-family:Montserrat;font-size:16px;font-style:normal;font-weight:600;line-height:normal}.ministry-heading{color:#1b4ca1;font-family:Montserrat;font-size:24px;font-style:normal;font-weight:600;line-height:normal}.radio-label{color:#000;font-family:Lato;font-size:16px;font-style:normal;font-weight:400;line-height:normal}.radio-btn-group{display:flex;width:32px;height:32px;padding:2px;gap:10px}.label{color:var(--Body-Text-Body-Color, #212529);font-family:Lato;font-size:16px;font-style:normal;font-weight:700;line-height:150%}::ng-deep mat-form-field{background-color:#fff!important;border-radius:25px!important;padding-left:12px;padding-right:12px;height:42px;width:100%}::ng-deep mat-select{border-radius:25px!important;background-color:#fff!important}::ng-deep .mat-select-panel{background-color:#fff!important}::ng-deep .mat-select-panel .mat-option{border-radius:0!important}::ng-deep mat-form-field .mat-form-field-underline{display:none!important}::ng-deep mat-select .mat-select-placeholder{color:#0006;font-family:Lato;font-size:14px;font-style:normal;font-weight:400;line-height:normal}::ng-deep mat-select .mat-select-value-text{color:#000;font-family:Lato;font-size:14px;font-style:normal;font-weight:400;line-height:normal;line-height:normal!important;padding-top:0!important;padding-bottom:0!important}::ng-deep mat-select .mat-select-value{display:flex!important;align-items:center!important;height:100%!important}.additional-details textarea{display:flex;padding:16px 16px 0;flex-direction:column;align-items:flex-start;gap:10px;flex:1 0 0;align-self:stretch;width:100%;color:#000;font-family:Lato;font-size:14px;font-style:normal;font-weight:400;line-height:normal;resize:none}.section-header{display:flex;flex-direction:row;align-items:center;justify-content:space-between}.btn-disable{border-radius:var(--Radius-Full-Round, 9999999px);opacity:.4;background:var(--Primary-KB-Primary-Light, #1B4CA1);color:var(--white-kb-white-100, #FFF);text-align:center;font-family:Lato;font-size:14px;font-style:normal;font-weight:700;line-height:normal;display:flex;height:32px;padding:0 16px;justify-content:center;align-items:center;gap:8px;border:none}.btn-group{display:flex;flex-direction:row;justify-content:space-between}.pl-2{padding-left:5px}.search-filter-section{display:flex;flex-direction:row;justify-content:space-between}.search .rsearch{position:relative}.search .search-icon{position:absolute;top:15px;font-size:20px;left:10px}.search .sinput{border-radius:32px;border:1px solid #d5d0d0;padding:15px 36px;font:400 14px Lato;width:800px}.select-map-route-container{display:flex;flex-direction:row}.selected-mapping-route p{color:#1b4ca1;font-family:Lato;font-size:20px;font-style:normal;font-weight:400;line-height:normal;text-decoration-line:underline;text-decoration-style:solid;-webkit-text-decoration-skip:ink;text-decoration-skip-ink:auto;text-decoration-thickness:auto;text-underline-offset:auto;text-underline-position:from-font}.edit-plan{display:flex;padding:4px;justify-content:center;align-items:center;gap:8px;border-radius:4px;background:#1b4ca129;color:#1b4ca1;font-family:Lato;font-size:14px;font-style:normal;font-weight:400;line-height:normal;margin-left:10px}.search-container{display:flex;flex-direction:row}.course-container{display:flex;width:100%;padding:16px;flex-direction:column;align-items:flex-start;gap:24px;grid-row:2/span 1;grid-column:1/span 1;border-radius:12px;border:1px solid var(--borders-black-border-16-black, rgba(0, 0, 0, .16));background:#fff}.course-header{display:flex;flex-direction:row;justify-content:space-between;width:100%}.course-pill{display:flex;height:24px;padding:8px;align-items:center;gap:4px;border-radius:16px;border:1px solid var(--borders-border-fill-focussed-4-light-100, #EF951E);background:#fefaf4}.ai-recommened-pill-green{display:flex;padding:4px 8px;align-items:center;gap:8px;border-radius:var(--Radius-4, 4px);background:#0080001c}.ai-recommened-pill-green-text{color:#006400;font-family:Lato;font-size:11px;font-style:normal;font-weight:600;line-height:normal}.ai-recommened-pill-public{display:flex;padding:4px 8px;align-items:center;gap:8px;border-radius:var(--Radius-4, 4px);background:#1b4ca129}.ai-recommened-pill-public-text{color:#1b4ca1;font-family:Lato;font-size:11px;font-style:normal;font-weight:600;line-height:normal}.ai-recommened-pill-gray{display:flex;padding:4px 8px;align-items:center;gap:8px;border-radius:var(--Radius-4, 4px);background:#d3d3d3}.ai-recommened-pill-gray-text{color:#000;font-family:Lato;font-size:11px;font-style:normal;font-weight:600;line-height:normal}.ai-recommened-pill-orange{display:flex;padding:4px 8px;align-items:center;gap:8px;border-radius:var(--Radius-4, 4px);background:#ffa50052}.ai-recommened-pill-orange-text{color:#5a3f0d;font-family:Lato;font-size:11px;font-style:normal;font-weight:600;line-height:normal}.ai-recommened-pill-orange-text a{color:#5a3f0d!important;font-family:Lato;font-size:11px;font-style:normal;font-weight:600;line-height:normal}.igot-platform-pill{display:flex;padding:4px 8px;align-items:center;gap:8px;border-radius:var(--Radius-4, 4px);border:1px solid #EF951E;background:#ef951e29}.course-title{color:var(--Primary-KB-Primary-Light, #1B4CA1);font-family:Montserrat;font-size:16px;font-style:normal;font-weight:600;line-height:22px}.course-desc{color:#0009;font-family:Lato;font-size:14px;font-style:normal;font-weight:400;line-height:1.4;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis}.relevancy,.competencies-matched{color:#6c757d;font-family:Lato;font-size:12px;font-style:normal;font-weight:500;line-height:normal;align-items:center}.percentage{color:#1b4ca1;font-family:Lato;font-size:14px;font-style:normal;font-weight:600;line-height:normal}.relevancy-container,.competencies-matched-container{display:flex;flex-direction:row;align-items:center}.dash{padding:0 5px}::ng-deep .mat-radio-checked .mat-radio-inner-circle{background:#1b4ca1!important}.course-list-container{display:flex;flex-wrap:wrap;gap:16px;width:100%;padding:1rem}.course-list-item{flex:1 1 calc(50% - 10px);min-width:350px;max-width:500px;box-sizing:border-box;border:1px solid #e0e0e0;padding:16px;background-color:#fff;border-radius:12px;min-height:auto;box-shadow:0 2px 4px #0000001a;transition:box-shadow .2s ease;display:flex;flex-direction:column}.course-list-item:hover{box-shadow:0 4px 8px #00000026}.course-list-item:only-child{flex:1 1 auto;max-width:800px}.checked-course-container{display:flex;width:60%}.ml-2{margin-left:8px}::ng-deep .mat-checkbox-checked .mat-checkbox-background{background:#1b4ca1!important}.igot-platform-pill-text{color:#1b4ca1;font-family:Lato;font-size:12px;font-style:normal;font-weight:700;line-height:normal}.course-pill-text{color:var(--accessbility-shades-without-opacity-kb-greys-black-87, #212121);text-align:center;font-family:Poppins;font-size:12px;font-style:normal;font-weight:400;line-height:normal}.ai-loader-icon img,.igot-platform-icon img{width:15.714px;height:15.714px;flex-shrink:0}.competency-container{display:flex;justify-content:normal;gap:16px;flex-direction:row;margin-left:20px}.outside-layer-total{display:flex;padding:4px 12px;justify-content:center;align-items:center;gap:16px;border-radius:12px 4px 4px 12px;border-left:2px solid #1B4CA1;background:#edf1f8;width:132px}.outside-layer-functional{display:flex;padding:4px 12px;justify-content:center;align-items:center;gap:16px;border-radius:12px 4px 4px 12px;border-left:2px solid #E24577;background:#f8d2de;width:132px}.outside-layer-domain{display:flex;padding:4px 12px;justify-content:center;align-items:center;gap:16px;border-radius:12px 4px 4px 12px;border-left:2px solid #7B47A4;background:#dfd3e9;width:132px}.outside-layer-behavioral{display:flex;padding:4px 12px;justify-content:center;align-items:center;gap:16px;border-radius:12px 4px 4px 12px;border-left:2px solid #F8B861;background:#fde8cc;width:132px}.inside-layer{color:#1b4ca1;font-family:Lato;font-size:16px;font-style:normal;font-weight:400;line-height:normal}.count{color:#1b4ca1;font-family:Montserrat;font-size:18px;font-style:normal;font-weight:600;line-height:normal}.suggest-courses-header{display:flex;flex-direction:row;justify-content:space-between}.suggest-course-control{display:flex;flex-direction:row}.course-card-container{width:172px;border-radius:3.307px;border:.827px solid var(--borders-border-8-black, rgba(0, 0, 0, .08));background-color:#fff}.highlight-ai{font-family:Montserrat;font-size:24px;font-style:normal;font-weight:600;line-height:normal;background:linear-gradient(90deg,#3b27ff,#2de3d6);background-clip:text;-webkit-background-clip:text;color:transparent;-webkit-text-fill-color:transparent;display:inline-block}.ai-loader-icon-medium img{width:40px;height:40px;flex-shrink:0}.heading{color:#000;font-family:Montserrat;font-size:16px;font-style:normal;font-weight:600;line-height:normal;margin:10px 0}.pdf-heading{color:#000;font-family:Montserrat;font-size:18px;font-style:normal;font-weight:600;line-height:normal;margin:10px 0;text-align:center}.popup-header{display:flex;justify-content:space-between;align-items:center;padding:16px;border-bottom:1px solid #e0e0e0}.header-left{flex:1}.header-actions{display:flex;align-items:center;gap:12px}.regenerate-btn{display:flex;align-items:center;gap:8px;padding:8px 16px;border-radius:6px;font-size:14px;font-weight:500;min-width:auto}.regenerate-btn .mat-icon{margin:0;font-size:18px;width:18px;height:18px}.regenerate-btn .mat-spinner{margin:0}.regenerate-btn:disabled{opacity:.7;cursor:not-allowed}.close-btn{padding:8px;border-radius:4px;transition:background-color .2s ease}.close-btn:hover{background-color:#f5f5f5}.close-btn .mat-icon{font-size:20px;width:20px;height:20px}.progress-popup{display:flex;flex-direction:column;justify-content:center;align-items:center}.progress-popup .desc{color:#000000de;text-align:center;font-family:Lato;font-size:14px;font-style:normal;font-weight:400;line-height:normal}.behavioural-pill{display:flex;padding:2px 6px;justify-content:center;align-items:center;gap:4px;border-radius:16px;border:1px solid #F8B861;background:linear-gradient(0deg,#f8b86152 0% 100%),#fff;margin:2px 4px 2px 0;font-size:12px}.functional-pill{display:flex;padding:2px 6px;justify-content:center;align-items:center;gap:4px;border-radius:16px;border:1px solid #E24577;background:linear-gradient(0deg,#e245773d 0% 100%),#fff;margin:2px 4px 2px 0;font-size:12px}.domain-pill{display:flex;padding:2px 6px;justify-content:center;align-items:center;gap:4px;border-radius:16px;border:1px solid #7B47A4;background:linear-gradient(0deg,#7b47a43d 0% 100%),#fff;margin:2px 4px 2px 0;font-size:12px}.popup-header{display:flex;flex-direction:row;justify-content:space-between}.popup-footer{display:flex;flex-direction:row;justify-content:end}.view-cbp-plan{margin:10px;padding:10px}.view-cbp-plan-popup{padding:24px;max-height:70vh;overflow-y:auto}.section{border-radius:8px;background:#1b4ca114;padding:16px}.popup-header{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #ddd;font-weight:700;flex-shrink:0}.popup-footer{display:flex;justify-content:flex-end;gap:16px;padding:16px 24px;border-top:1px solid #ddd;background-color:#fff;flex-shrink:0;position:sticky;bottom:0}.section-container{overflow-y:auto;flex:1 1 auto}.competency-list{display:flex;flex-direction:row;gap:0px;flex-wrap:wrap;margin:0;padding:0;list-style:none}.competency-text{color:#000;font-family:Lato;font-size:12px;font-style:normal;font-weight:400;line-height:normal;padding:3px 6px}.competency-text-behavioral{color:#654321;font-family:Lato;font-size:14px;font-style:normal;line-height:normal;font-weight:550}.competency-text-functional{color:#b01669;font-family:Lato;font-size:14px;font-style:normal;line-height:normal;font-weight:550}.competency-text-domain{color:#301934;font-family:Lato;font-size:14px;font-style:normal;line-height:normal;font-weight:550}.competency-sub-heading{color:#1b4ca1;font-family:Montserrat;font-size:14px;font-style:normal;font-weight:600;line-height:normal}.cursor-pointer{cursor:pointer}.btn-active{border-radius:var(--Radius-Full-Round, 9999999px);opacity:1;background:var(--Primary-KB-Primary-Light, #1B4CA1);color:var(--white-kb-white-100, #FFF);text-align:center;font-family:Lato;font-size:14px;font-style:normal;font-weight:700;line-height:normal;display:flex;height:32px;padding:0 16px;justify-content:center;align-items:center;gap:8px;border:none}.custom-textarea{color:#000;font-family:Lato;font-size:14px;font-style:normal;font-weight:400;line-height:normal}.overlay-loader{position:fixed;top:0;left:0;width:100vw;height:100vh;background:#ffffffbf;z-index:9999;display:flex;justify-content:center;align-items:center}.competencis-grid{display:flex;flex-direction:row;justify-content:space-between;gap:16px}.grid-list-item-behavioral div{border-left:2px solid darkorange}.grid-list-item-functional div{border-left:2px solid #ff1493}.grid-list-item-domain div{border-left:2px solid #6b21a8}.competencies-grid-3{width:33%}.bg-blue-50{background-color:#fde8cc;border-radius:4px}.bg-green-50{background-color:#f8d2de;border-radius:4px}.bg-purple-50{background-color:#dfd3e9;border-radius:4px}.grid-list-item div{padding:5px 10px;margin:10px 0}.course-pill-container{display:flex;gap:8px}.relevancy-pill-green{display:flex;padding:4px 8px;align-items:center;gap:4px;border-radius:16px;border:1px solid #e0e0e0;background:#f8f9fa}.mt-1{margin-top:.25rem}.mt-2{margin-top:.5rem}.mt-3{margin-top:.75rem}.show-more-competency{display:inline-flex;align-items:center}.show-more-link{color:#1b4ca1;font-family:Lato;font-size:12px;font-style:normal;font-weight:500;line-height:normal;margin:2px 4px 2px 0;text-decoration:none}.show-more-link:hover{text-decoration:underline}.course-content{flex:1;display:flex;flex-direction:column}.course-footer{margin-top:auto;padding-top:12px;display:flex;justify-content:space-between}::ng-deep .mdc-tab__text-label{font-weight:700;font-family:Montserrat!important;font-size:16px;color:#000!important;text-transform:capitalize}.competency-tag{display:inline-block;padding:.25rem .75rem;border-radius:9999px;font-size:.75rem;font-weight:500;margin-right:.5rem;margin-bottom:.5rem}.menu-list-item.active{background-color:#1b4ca1;color:#fff}.menu-list-item:hover{background-color:#1b4ca1;color:#fff;border-color:#1b4ca1}.gray-bg{background-color:rgb(248,250,252,var(--tw-bg-opacity, 1));border-radius:8px;border:1px solid #ccc}.div-count{font-family:Lato;font-size:20px;font-weight:700}.green-bg{background-color:#0080001c;border:1px solid #006400;border-radius:8px}.div-green-count{font-family:Lato;font-size:20px;font-weight:700;color:#006400}.div-green-label{color:#006400;font-family:Montserrat;font-size:16px;font-style:normal;font-weight:600;line-height:normal}.gray-bg-item{background-color:rgb(248,250,252,var(--tw-bg-opacity, 1));border-radius:8px;border:1px solid #ccc;padding:4px 8px;margin:10px}.add-btn{color:#1b4ca1;font-size:14px;font-family:Lato}.list-flex{display:flex;flex-direction:row;justify-content:space-between}.all-category-list .mat-icon{vertical-align:middle}.course-list-container-flex{display:flex;align-items:flex-start;gap:2rem}.left-panel{flex:0 0 250px;font-weight:700;text-align:left}.right-panel{flex:1;display:flex;flex-direction:row;flex-wrap:wrap;gap:20px;align-content:flex-start;justify-content:flex-start}.category-list-item{font-weight:400;font-size:16px;font-family:Lato;padding:5px}.right-panel-flex{display:flex;flex:0 0 100%;width:100%;flex-direction:row;flex-wrap:wrap;gap:20px;justify-content:flex-start}.course-list-container-right-flex{display:flex}.no-gaps-message{display:flex;flex-direction:column;align-items:center;padding:24px;background:linear-gradient(135deg,#4caf501a,#81c7841a);border:2px solid #4CAF50;border-radius:16px;margin:16px 0}.no-gaps-message .success-icon{font-size:25px;color:#4caf50;margin-bottom:16px}.no-gaps-message h4{color:#2e7d32;font-family:Montserrat;font-size:20px;font-weight:600;margin:0 0 8px;text-align:center}.no-gaps-message p{color:#388e3c;font-family:Lato;font-size:14px;font-weight:400;margin:0;text-align:center;line-height:1.5}.section-header-improved{display:flex;flex-direction:column;gap:16px}.search-and-buttons-container{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}.search-container-compact{flex:0 0 auto;min-width:280px}.search-container-compact .rsearch{position:relative;display:flex;align-items:center}.search-container-compact .search-icon{position:absolute;left:12px;color:#666;font-size:20px;z-index:1}.search-container-compact .sinput-compact{border-radius:25px;border:1px solid #d5d0d0;padding:8px 12px 8px 40px;height:32px;width:100%;font:400 14px Lato;box-sizing:border-box;transition:border-color .3s ease}.search-container-compact .sinput-compact:focus{outline:none;border-color:#1b4ca1;box-shadow:0 0 0 2px #1b4ca11a}.search-container-compact .sinput-compact::placeholder{color:#999}.btn-group-compact{display:flex;gap:8px;flex:0 0 auto}.category-list-item{padding:8px 12px!important;border-radius:6px;border:1px solid transparent;transition:all .3s ease;background:#f8f9fa;color:#333;font-family:Lato;font-size:14px!important;font-weight:400!important}.category-list-item:hover{background:#1b4ca10d;border-color:#1b4ca133}.category-list-item.selected-theme{background:#1b4ca11a;border-color:#1b4ca1;color:#1b4ca1;font-weight:600!important}.category-list-item.selected-theme:before{content:\"\\2713  \";color:#1b4ca1;font-weight:700}.theme-filter-controls{margin-bottom:8px}.clear-filter-btn{background:#f8f9fa;border:1px solid #ddd;border-radius:20px;padding:4px 12px;font-size:12px;color:#666;cursor:pointer;transition:all .3s ease;display:flex;align-items:center;gap:4px}.clear-filter-btn:hover{background:#e9ecef;border-color:#adb5bd}.clear-filter-btn mat-icon{font-size:16px;width:16px;height:16px}.no-course-found-container{display:flex;justify-content:center;align-items:center;min-height:300px;padding:20px}.no-course-card{background:linear-gradient(135deg,#f8f9fa,#e9ecef);border:2px dashed #ced4da;border-radius:16px;padding:40px;text-align:center;max-width:500px;box-shadow:0 4px 12px #0000000d}.no-course-card .no-course-icon{margin-bottom:20px}.no-course-card .no-course-icon mat-icon{font-size:48px;width:48px;height:48px;color:#6c757d}.no-course-card .no-course-content h4{color:#495057;font-family:Montserrat;font-size:24px;font-weight:600;margin-bottom:12px}.no-course-card .no-course-content p{color:#6c757d;font-family:Lato;font-size:16px;line-height:1.5;margin-bottom:12px}.no-course-card .no-course-content p strong{color:#1b4ca1;font-weight:600}.no-course-card .suggest-course-btn{background:linear-gradient(135deg,#1b4ca1,#164080);color:#fff;border:none;border-radius:25px;padding:12px 24px;font-family:Lato;font-size:14px;font-weight:600;cursor:pointer;display:flex;align-items:center;gap:8px;margin:20px auto 0;transition:all .3s ease;box-shadow:0 4px 12px #1b4ca14d}.no-course-card .suggest-course-btn:hover{background:linear-gradient(135deg,#164080,#0f2f5f);transform:translateY(-2px);box-shadow:0 6px 16px #1b4ca166}.no-course-card .suggest-course-btn:active{transform:translateY(0)}.no-course-card .suggest-course-btn mat-icon{font-size:18px;width:18px;height:18px}.left-panel{flex:0 0 280px!important;background:#f8f9fa;border-radius:12px;padding:16px;border:1px solid #e9ecef;max-height:600px;overflow-y:auto;font-weight:400!important}@media (max-width: 1200px){.search-and-buttons-container{flex-direction:column;align-items:stretch}.search-container-compact{min-width:auto;width:100%}.btn-group-compact{justify-content:center;flex-wrap:wrap}}@media (max-width: 1200px) and (min-width: 769px){.course-list-item{flex:1 1 calc(50% - 10px);min-width:300px;max-width:none}}@media (max-width: 768px){.course-list-container-flex{flex-direction:column}.left-panel{flex:none!important;max-height:300px}.course-list-item{flex:0 0 100%;max-width:100%}.no-course-card{padding:20px}.no-course-card .no-course-content h4{font-size:20px}.no-course-card .no-course-content p{font-size:14px}}::ng-deep .error-snackbar{background-color:#f44336!important;color:#fff!important;font-weight:500}::ng-deep .error-snackbar .mat-simple-snackbar-action{color:#fff!important}::ng-deep .session-expired-snackbar{background-color:#ff9800!important;color:#fff!important;font-weight:600}::ng-deep .session-expired-snackbar .mat-simple-snackbar-action{color:#fff!important;font-weight:700}.download-pdf{justify-content:end;display:flex;flex-direction:row}\n"] }]
        }], ctorParameters: function () { return [{ type: i1.SharedService }, { type: i2.MatDialog }, { type: i3.MatSnackBar }]; }, propDecorators: { planData: [{
                type: Input
            }] } });
//# sourceMappingURL=data:application/json;base64, 