import { Component, Input, Output, EventEmitter } from '@angular/core';
import * as i0 from "@angular/core";
import * as i1 from "@angular/common";
import * as i2 from "../truncate-value.pipe";
function CommunityCardComponent_div_2_Template(rf, ctx) { if (rf & 1) {
    i0.ɵɵelementStart(0, "div");
    i0.ɵɵelementStart(1, "a", 13);
    i0.ɵɵelement(2, "div", 14);
    i0.ɵɵelement(3, "i", 15);
    i0.ɵɵelementEnd();
    i0.ɵɵelementEnd();
} if (rf & 2) {
    const ctx_r0 = i0.ɵɵnextContext();
    i0.ɵɵadvance(1);
    i0.ɵɵproperty("href", "/groups/" + ctx_r0.groupNameId, i0.ɵɵsanitizeUrl);
} }
function CommunityCardComponent_div_3_Template(rf, ctx) { if (rf & 1) {
    const _r6 = i0.ɵɵgetCurrentView();
    i0.ɵɵelementStart(0, "div", 16);
    i0.ɵɵlistener("click", function CommunityCardComponent_div_3_Template_div_click_0_listener() { i0.ɵɵrestoreView(_r6); const ctx_r5 = i0.ɵɵnextContext(); return ctx_r5.joinGroup.emit(ctx_r5.groupNameId); });
    i0.ɵɵelementStart(1, "a");
    i0.ɵɵtext(2, "Join");
    i0.ɵɵelementEnd();
    i0.ɵɵelementEnd();
} }
function CommunityCardComponent_div_18_Template(rf, ctx) { if (rf & 1) {
    i0.ɵɵelementStart(0, "div", 17);
    i0.ɵɵelementStart(1, "span", 18);
    i0.ɵɵtext(2);
    i0.ɵɵpipe(3, "truncateValue");
    i0.ɵɵelementEnd();
    i0.ɵɵtext(4, "Posts");
    i0.ɵɵelementEnd();
} if (rf & 2) {
    const ctx_r2 = i0.ɵɵnextContext();
    i0.ɵɵadvance(2);
    i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(3, 1, ctx_r2.posts));
} }
function CommunityCardComponent_div_19_Template(rf, ctx) { if (rf & 1) {
    i0.ɵɵelementStart(0, "div", 17);
    i0.ɵɵelementStart(1, "span", 18);
    i0.ɵɵtext(2);
    i0.ɵɵpipe(3, "truncateValue");
    i0.ɵɵelementEnd();
    i0.ɵɵtext(4, "Replies");
    i0.ɵɵelementEnd();
} if (rf & 2) {
    const ctx_r3 = i0.ɵɵnextContext();
    i0.ɵɵadvance(2);
    i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(3, 1, ctx_r3.replies));
} }
function CommunityCardComponent_div_20_Template(rf, ctx) { if (rf & 1) {
    i0.ɵɵelementStart(0, "div", 17);
    i0.ɵɵelementStart(1, "span", 18);
    i0.ɵɵtext(2);
    i0.ɵɵpipe(3, "truncateValue");
    i0.ɵɵelementEnd();
    i0.ɵɵtext(4, "Members");
    i0.ɵɵelementEnd();
} if (rf & 2) {
    const ctx_r4 = i0.ɵɵnextContext();
    i0.ɵɵadvance(2);
    i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(3, 1, ctx_r4.members));
} }
const _c0 = function (a0) { return { "smallCard": a0 }; };
const _c1 = function (a0, a1) { return { "communityCard__title__fullName": a0, "communityCard__title": a1 }; };
const _c2 = function (a0) { return { "visibility": a0 }; };
export class CommunityCardComponent {
    constructor() {
        this.joinGroup = new EventEmitter();
        this.leaveGroup = new EventEmitter();
        this.navigateToGroup = new EventEmitter();
        this.loginVal = 'no';
        this.layout = 'normal';
        this.fullName = false;
    }
    ngOnInit() {
    }
}
CommunityCardComponent.ɵfac = function CommunityCardComponent_Factory(t) { return new (t || CommunityCardComponent)(); };
CommunityCardComponent.ɵcmp = i0.ɵɵdefineComponent({ type: CommunityCardComponent, selectors: [["ins-community-card"]], inputs: { groupId: "groupId", groupName: "groupName", groupNameId: "groupNameId", logoUri: "logoUri", recentActivity: "recentActivity", posts: "posts", replies: "replies", members: "members", loginVal: "loginVal", layout: "layout", envUrl: "envUrl", groupUrl: "groupUrl", fullName: "fullName", isAdded: "isAdded" }, outputs: { joinGroup: "joinGroup", leaveGroup: "leaveGroup", navigateToGroup: "navigateToGroup" }, decls: 21, vars: 23, consts: [[1, "communityCard", 3, "ngClass"], [1, "card__btn"], [4, "ngIf"], [3, "click", 4, "ngIf"], [1, "card__btn", "float__right"], [3, "href", "click"], [1, "text__align__center", 3, "href"], [1, "clear__both"], [1, "communityCard__logo", 3, "src", "alt"], [3, "ngClass"], [1, "communityCard__subtitle", 3, "ngStyle"], [1, "communityCard__data"], ["class", "communityCard__dataItem", 4, "ngIf"], [3, "href"], [1, "card__btn__icon", "icon-groups-xs"], [1, "fas", "fa-check", "card__btn__icon"], [3, "click"], [1, "communityCard__dataItem"], [1, "communityCard__numbers"]], template: function CommunityCardComponent_Template(rf, ctx) { if (rf & 1) {
        i0.ɵɵelementStart(0, "div", 0);
        i0.ɵɵelementStart(1, "div", 1);
        i0.ɵɵtemplate(2, CommunityCardComponent_div_2_Template, 4, 1, "div", 2);
        i0.ɵɵtemplate(3, CommunityCardComponent_div_3_Template, 3, 0, "div", 3);
        i0.ɵɵelementEnd();
        i0.ɵɵelementStart(4, "div", 4);
        i0.ɵɵelementStart(5, "a", 5);
        i0.ɵɵlistener("click", function CommunityCardComponent_Template_a_click_5_listener() { return ctx.navigateToGroup.emit(ctx.groupNameId); });
        i0.ɵɵtext(6, "View");
        i0.ɵɵelementEnd();
        i0.ɵɵelementEnd();
        i0.ɵɵelementStart(7, "a", 6);
        i0.ɵɵelementStart(8, "div", 7);
        i0.ɵɵelementStart(9, "a", 5);
        i0.ɵɵlistener("click", function CommunityCardComponent_Template_a_click_9_listener() { return ctx.navigateToGroup.emit(ctx.groupUrl); });
        i0.ɵɵelement(10, "img", 8);
        i0.ɵɵelementEnd();
        i0.ɵɵelementEnd();
        i0.ɵɵelementStart(11, "div");
        i0.ɵɵelementStart(12, "a", 5);
        i0.ɵɵlistener("click", function CommunityCardComponent_Template_a_click_12_listener() { return ctx.navigateToGroup.emit(ctx.groupUrl); });
        i0.ɵɵelementStart(13, "p", 9);
        i0.ɵɵtext(14);
        i0.ɵɵelementEnd();
        i0.ɵɵelementEnd();
        i0.ɵɵelementStart(15, "p", 10);
        i0.ɵɵtext(16);
        i0.ɵɵelementEnd();
        i0.ɵɵelementEnd();
        i0.ɵɵelementStart(17, "div", 11);
        i0.ɵɵtemplate(18, CommunityCardComponent_div_18_Template, 5, 3, "div", 12);
        i0.ɵɵtemplate(19, CommunityCardComponent_div_19_Template, 5, 3, "div", 12);
        i0.ɵɵtemplate(20, CommunityCardComponent_div_20_Template, 5, 3, "div", 12);
        i0.ɵɵelementEnd();
        i0.ɵɵelementEnd();
        i0.ɵɵelementEnd();
    } if (rf & 2) {
        i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(16, _c0, ctx.layout == "small"));
        i0.ɵɵadvance(2);
        i0.ɵɵproperty("ngIf", ctx.isAdded);
        i0.ɵɵadvance(1);
        i0.ɵɵproperty("ngIf", !ctx.isAdded);
        i0.ɵɵadvance(2);
        i0.ɵɵproperty("href", ctx.groupUrl, i0.ɵɵsanitizeUrl);
        i0.ɵɵadvance(2);
        i0.ɵɵproperty("href", ctx.groupUrl, i0.ɵɵsanitizeUrl);
        i0.ɵɵadvance(2);
        i0.ɵɵproperty("href", ctx.groupUrl, i0.ɵɵsanitizeUrl);
        i0.ɵɵadvance(1);
        i0.ɵɵpropertyInterpolate("alt", ctx.groupName);
        i0.ɵɵproperty("src", ctx.logoUri, i0.ɵɵsanitizeUrl);
        i0.ɵɵadvance(2);
        i0.ɵɵproperty("href", ctx.groupUrl, i0.ɵɵsanitizeUrl);
        i0.ɵɵadvance(1);
        i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction2(18, _c1, ctx.fullName, !ctx.fullName));
        i0.ɵɵadvance(1);
        i0.ɵɵtextInterpolate(ctx.groupName);
        i0.ɵɵadvance(1);
        i0.ɵɵproperty("ngStyle", i0.ɵɵpureFunction1(21, _c2, ctx.recentActivity ? "visible" : "hidden"));
        i0.ɵɵadvance(1);
        i0.ɵɵtextInterpolate1("Last Active ", ctx.recentActivity, "hrs ago");
        i0.ɵɵadvance(2);
        i0.ɵɵproperty("ngIf", ctx.posts);
        i0.ɵɵadvance(1);
        i0.ɵɵproperty("ngIf", ctx.replies);
        i0.ɵɵadvance(1);
        i0.ɵɵproperty("ngIf", ctx.members);
    } }, directives: [i1.NgClass, i1.NgIf, i1.NgStyle], pipes: [i2.TruncateValuePipe], styles: [".add-sign[_ngcontent-%COMP%]{background-image:url(https://static.inspire.com/ng-library/icons/icons-inspire.91d0815ca.png);background-position:-186px -87px;width:20px;height:20px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){.add-sign[_ngcontent-%COMP%]{background-image:url(https://static.inspire.com/ng-library/icons/icons-inspire.26bbb921e@2x.png);background-size:263px 251px}}.icon_treatment-xs[_ngcontent-%COMP%]{background-image:url(https://static.inspire.com/ng-library/icons/icons-inspire.91d0815ca.png);background-position:-164px -227px;width:15px;height:15px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){.icon_treatment-xs[_ngcontent-%COMP%]{background-image:url(https://static.inspire.com/ng-library/icons/icons-inspire.26bbb921e@2x.png);background-size:263px 251px}}.icon-add-friend[_ngcontent-%COMP%]{background-image:url(https://static.inspire.com/ng-library/icons/icons-inspire.91d0815ca.png);background-position:-156px -87px;width:30px;height:30px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){.icon-add-friend[_ngcontent-%COMP%]{background-image:url(https://static.inspire.com/ng-library/icons/icons-inspire.26bbb921e@2x.png);background-size:263px 251px}}.icon-arrow-down-on[_ngcontent-%COMP%]{background-image:url(https://static.inspire.com/ng-library/icons/icons-inspire.91d0815ca.png);background-position:-193px -50px;width:13px;height:8px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){.icon-arrow-down-on[_ngcontent-%COMP%]{background-image:url(https://static.inspire.com/ng-library/icons/icons-inspire.26bbb921e@2x.png);background-size:263px 251px}}.icon-arrow-down[_ngcontent-%COMP%]{background-image:url(https://static.inspire.com/ng-library/icons/icons-inspire.91d0815ca.png);background-position:-193px -58px;width:13px;height:8px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){.icon-arrow-down[_ngcontent-%COMP%]{background-image:url(https://static.inspire.com/ng-library/icons/icons-inspire.26bbb921e@2x.png);background-size:263px 251px}}.icon-comment-count[_ngcontent-%COMP%]{background-image:url(https://static.inspire.com/ng-library/icons/icons-inspire.91d0815ca.png);background-position:-134px -97px;width:18px;height:18px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){.icon-comment-count[_ngcontent-%COMP%]{background-image:url(https://static.inspire.com/ng-library/icons/icons-inspire.26bbb921e@2x.png);background-size:263px 251px}}.icon-condition-sm-on[_ngcontent-%COMP%]{background-image:url(https://static.inspire.com/ng-library/icons/icons-inspire.91d0815ca.png);background-position:-111px -160px;width:30px;height:30px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){.icon-condition-sm-on[_ngcontent-%COMP%]{background-image:url(https://static.inspire.com/ng-library/icons/icons-inspire.26bbb921e@2x.png);background-size:263px 251px}}.icon-condition-sm[_ngcontent-%COMP%]{background-image:url(https://static.inspire.com/ng-library/icons/icons-inspire.91d0815ca.png);background-position:-141px -160px;width:30px;height:30px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){.icon-condition-sm[_ngcontent-%COMP%]{background-image:url(https://static.inspire.com/ng-library/icons/icons-inspire.26bbb921e@2x.png);background-size:263px 251px}}.icon-condition-xs[_ngcontent-%COMP%]{background-image:url(https://static.inspire.com/ng-library/icons/icons-inspire.91d0815ca.png);background-position:-149px -227px;width:15px;height:20px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){.icon-condition-xs[_ngcontent-%COMP%]{background-image:url(https://static.inspire.com/ng-library/icons/icons-inspire.26bbb921e@2x.png);background-size:263px 251px}}.icon-double-arrow[_ngcontent-%COMP%]{background-image:url(https://static.inspire.com/ng-library/icons/icons-inspire.91d0815ca.png);background-position:-236px -157px;width:24px;height:24px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){.icon-double-arrow[_ngcontent-%COMP%]{background-image:url(https://static.inspire.com/ng-library/icons/icons-inspire.26bbb921e@2x.png);background-size:263px 251px}}.icon-facebook-sm[_ngcontent-%COMP%]{background-image:url(https://static.inspire.com/ng-library/icons/icons-inspire.91d0815ca.png);background-position:-179px -227px;width:14px;height:14px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){.icon-facebook-sm[_ngcontent-%COMP%]{background-image:url(https://static.inspire.com/ng-library/icons/icons-inspire.26bbb921e@2x.png);background-size:263px 251px}}.icon-facebook[_ngcontent-%COMP%]{background-image:url(https://static.inspire.com/ng-library/icons/icons-inspire.91d0815ca.png);background-position:-236px -181px;width:24px;height:24px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){.icon-facebook[_ngcontent-%COMP%]{background-image:url(https://static.inspire.com/ng-library/icons/icons-inspire.26bbb921e@2x.png);background-size:263px 251px}}.icon-following-on[_ngcontent-%COMP%]{background-image:url(https://static.inspire.com/ng-library/icons/icons-inspire.91d0815ca.png);background-position:-156px -50px;width:37px;height:37px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){.icon-following-on[_ngcontent-%COMP%]{background-image:url(https://static.inspire.com/ng-library/icons/icons-inspire.26bbb921e@2x.png);background-size:263px 251px}}.icon-following-white-sm[_ngcontent-%COMP%]{background-image:url(https://static.inspire.com/ng-library/icons/icons-inspire.91d0815ca.png);background-position:-171px -160px;width:30px;height:30px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){.icon-following-white-sm[_ngcontent-%COMP%]{background-image:url(https://static.inspire.com/ng-library/icons/icons-inspire.26bbb921e@2x.png);background-size:263px 251px}}.icon-following[_ngcontent-%COMP%]{background-image:url(https://static.inspire.com/ng-library/icons/icons-inspire.91d0815ca.png);background-position:-97px -78px;width:37px;height:37px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){.icon-following[_ngcontent-%COMP%]{background-image:url(https://static.inspire.com/ng-library/icons/icons-inspire.26bbb921e@2x.png);background-size:263px 251px}}.icon-friends-on[_ngcontent-%COMP%]{background-image:url(https://static.inspire.com/ng-library/icons/icons-inspire.91d0815ca.png);background-position:0 -123px;width:37px;height:37px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){.icon-friends-on[_ngcontent-%COMP%]{background-image:url(https://static.inspire.com/ng-library/icons/icons-inspire.26bbb921e@2x.png);background-size:263px 251px}}.icon-friends-sm-on[_ngcontent-%COMP%]{background-image:url(https://static.inspire.com/ng-library/icons/icons-inspire.91d0815ca.png);background-position:-206px 0;width:30px;height:30px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){.icon-friends-sm-on[_ngcontent-%COMP%]{background-image:url(https://static.inspire.com/ng-library/icons/icons-inspire.26bbb921e@2x.png);background-size:263px 251px}}.icon-friends-sm[_ngcontent-%COMP%]{background-image:url(https://static.inspire.com/ng-library/icons/icons-inspire.91d0815ca.png);background-position:-206px -30px;width:30px;height:30px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){.icon-friends-sm[_ngcontent-%COMP%]{background-image:url(https://static.inspire.com/ng-library/icons/icons-inspire.26bbb921e@2x.png);background-size:263px 251px}}.icon-friends-white-sm[_ngcontent-%COMP%]{background-image:url(https://static.inspire.com/ng-library/icons/icons-inspire.91d0815ca.png);background-position:-206px -60px;width:30px;height:30px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){.icon-friends-white-sm[_ngcontent-%COMP%]{background-image:url(https://static.inspire.com/ng-library/icons/icons-inspire.26bbb921e@2x.png);background-size:263px 251px}}.icon-friends[_ngcontent-%COMP%]{background-image:url(https://static.inspire.com/ng-library/icons/icons-inspire.91d0815ca.png);background-position:-37px -123px;width:37px;height:37px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){.icon-friends[_ngcontent-%COMP%]{background-image:url(https://static.inspire.com/ng-library/icons/icons-inspire.26bbb921e@2x.png);background-size:263px 251px}}.icon-groups-on[_ngcontent-%COMP%]{background-image:url(https://static.inspire.com/ng-library/icons/icons-inspire.91d0815ca.png);background-position:-74px -123px;width:37px;height:37px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){.icon-groups-on[_ngcontent-%COMP%]{background-image:url(https://static.inspire.com/ng-library/icons/icons-inspire.26bbb921e@2x.png);background-size:263px 251px}}.icon-groups-sm-on[_ngcontent-%COMP%]{background-image:url(https://static.inspire.com/ng-library/icons/icons-inspire.91d0815ca.png);background-position:-206px -90px;width:30px;height:30px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){.icon-groups-sm-on[_ngcontent-%COMP%]{background-image:url(https://static.inspire.com/ng-library/icons/icons-inspire.26bbb921e@2x.png);background-size:263px 251px}}.icon-groups-sm[_ngcontent-%COMP%]{background-image:url(https://static.inspire.com/ng-library/icons/icons-inspire.91d0815ca.png);background-position:-206px -120px;width:30px;height:30px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){.icon-groups-sm[_ngcontent-%COMP%]{background-image:url(https://static.inspire.com/ng-library/icons/icons-inspire.26bbb921e@2x.png);background-size:263px 251px}}.icon-groups-white-sm[_ngcontent-%COMP%]{background-image:url(https://static.inspire.com/ng-library/icons/icons-inspire.91d0815ca.png);background-position:-206px -150px;width:30px;height:30px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){.icon-groups-white-sm[_ngcontent-%COMP%]{background-image:url(https://static.inspire.com/ng-library/icons/icons-inspire.26bbb921e@2x.png);background-size:263px 251px}}.icon-groups-xs[_ngcontent-%COMP%]{background-image:url(https://static.inspire.com/ng-library/icons/icons-inspire.91d0815ca.png);background-position:-206px -180px;width:20px;height:15px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){.icon-groups-xs[_ngcontent-%COMP%]{background-image:url(https://static.inspire.com/ng-library/icons/icons-inspire.26bbb921e@2x.png);background-size:263px 251px}}.icon-groups[_ngcontent-%COMP%]{background-image:url(https://static.inspire.com/ng-library/icons/icons-inspire.91d0815ca.png);background-position:-111px -123px;width:37px;height:37px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){.icon-groups[_ngcontent-%COMP%]{background-image:url(https://static.inspire.com/ng-library/icons/icons-inspire.26bbb921e@2x.png);background-size:263px 251px}}.icon-hamburger-menu-on[_ngcontent-%COMP%]{background-image:url(https://static.inspire.com/ng-library/icons/icons-inspire.91d0815ca.png);background-position:-236px -205px;width:25px;height:22px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){.icon-hamburger-menu-on[_ngcontent-%COMP%]{background-image:url(https://static.inspire.com/ng-library/icons/icons-inspire.26bbb921e@2x.png);background-size:263px 251px}}.icon-hamburger-menu[_ngcontent-%COMP%]{background-image:url(https://static.inspire.com/ng-library/icons/icons-inspire.91d0815ca.png);background-position:-72px -227px;width:25px;height:22px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){.icon-hamburger-menu[_ngcontent-%COMP%]{background-image:url(https://static.inspire.com/ng-library/icons/icons-inspire.26bbb921e@2x.png);background-size:263px 251px}}.icon-home-feed-on[_ngcontent-%COMP%]{background-image:url(https://static.inspire.com/ng-library/icons/icons-inspire.91d0815ca.png);background-position:-148px -123px;width:37px;height:37px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){.icon-home-feed-on[_ngcontent-%COMP%]{background-image:url(https://static.inspire.com/ng-library/icons/icons-inspire.26bbb921e@2x.png);background-size:263px 251px}}.icon-home-feed-white-sm[_ngcontent-%COMP%]{background-image:url(https://static.inspire.com/ng-library/icons/icons-inspire.91d0815ca.png);background-position:0 -197px;width:30px;height:30px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){.icon-home-feed-white-sm[_ngcontent-%COMP%]{background-image:url(https://static.inspire.com/ng-library/icons/icons-inspire.26bbb921e@2x.png);background-size:263px 251px}}.icon-home-feed[_ngcontent-%COMP%]{background-image:url(https://static.inspire.com/ng-library/icons/icons-inspire.91d0815ca.png);background-position:0 -160px;width:37px;height:37px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){.icon-home-feed[_ngcontent-%COMP%]{background-image:url(https://static.inspire.com/ng-library/icons/icons-inspire.26bbb921e@2x.png);background-size:263px 251px}}.icon-instagram-sm[_ngcontent-%COMP%]{background-image:url(https://static.inspire.com/ng-library/icons/icons-inspire.91d0815ca.png);background-position:-193px -227px;width:14px;height:14px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){.icon-instagram-sm[_ngcontent-%COMP%]{background-image:url(https://static.inspire.com/ng-library/icons/icons-inspire.26bbb921e@2x.png);background-size:263px 251px}}.icon-instagram[_ngcontent-%COMP%]{background-image:url(https://static.inspire.com/ng-library/icons/icons-inspire.91d0815ca.png);background-position:-210px -197px;width:24px;height:24px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){.icon-instagram[_ngcontent-%COMP%]{background-image:url(https://static.inspire.com/ng-library/icons/icons-inspire.26bbb921e@2x.png);background-size:263px 251px}}.icon-logout-white-sm[_ngcontent-%COMP%]{background-image:url(https://static.inspire.com/ng-library/icons/icons-inspire.91d0815ca.png);background-position:-30px -197px;width:30px;height:30px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){.icon-logout-white-sm[_ngcontent-%COMP%]{background-image:url(https://static.inspire.com/ng-library/icons/icons-inspire.26bbb921e@2x.png);background-size:263px 251px}}.icon-messages-on[_ngcontent-%COMP%]{background-image:url(https://static.inspire.com/ng-library/icons/icons-inspire.91d0815ca.png);background-position:-37px -160px;width:37px;height:37px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){.icon-messages-on[_ngcontent-%COMP%]{background-image:url(https://static.inspire.com/ng-library/icons/icons-inspire.26bbb921e@2x.png);background-size:263px 251px}}.icon-messages-white-sm[_ngcontent-%COMP%]{background-image:url(https://static.inspire.com/ng-library/icons/icons-inspire.91d0815ca.png);background-position:-60px -197px;width:30px;height:30px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){.icon-messages-white-sm[_ngcontent-%COMP%]{background-image:url(https://static.inspire.com/ng-library/icons/icons-inspire.26bbb921e@2x.png);background-size:263px 251px}}.icon-messages[_ngcontent-%COMP%]{background-image:url(https://static.inspire.com/ng-library/icons/icons-inspire.91d0815ca.png);background-position:-74px -160px;width:37px;height:37px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){.icon-messages[_ngcontent-%COMP%]{background-image:url(https://static.inspire.com/ng-library/icons/icons-inspire.26bbb921e@2x.png);background-size:263px 251px}}.icon-pinterest-sm[_ngcontent-%COMP%]{background-image:url(https://static.inspire.com/ng-library/icons/icons-inspire.91d0815ca.png);background-position:-207px -227px;width:14px;height:14px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){.icon-pinterest-sm[_ngcontent-%COMP%]{background-image:url(https://static.inspire.com/ng-library/icons/icons-inspire.26bbb921e@2x.png);background-size:263px 251px}}.icon-pinterest[_ngcontent-%COMP%]{background-image:url(https://static.inspire.com/ng-library/icons/icons-inspire.91d0815ca.png);background-position:0 -227px;width:24px;height:24px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){.icon-pinterest[_ngcontent-%COMP%]{background-image:url(https://static.inspire.com/ng-library/icons/icons-inspire.26bbb921e@2x.png);background-size:263px 251px}}.icon-profile-white-sm[_ngcontent-%COMP%]{background-image:url(https://static.inspire.com/ng-library/icons/icons-inspire.91d0815ca.png);background-position:-90px -197px;width:30px;height:30px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){.icon-profile-white-sm[_ngcontent-%COMP%]{background-image:url(https://static.inspire.com/ng-library/icons/icons-inspire.26bbb921e@2x.png);background-size:263px 251px}}.icon-search-sm-on[_ngcontent-%COMP%]{background-image:url(https://static.inspire.com/ng-library/icons/icons-inspire.91d0815ca.png);background-position:-185px -123px;width:18px;height:18px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){.icon-search-sm-on[_ngcontent-%COMP%]{background-image:url(https://static.inspire.com/ng-library/icons/icons-inspire.26bbb921e@2x.png);background-size:263px 251px}}.icon-search-sm[_ngcontent-%COMP%]{background-image:url(https://static.inspire.com/ng-library/icons/icons-inspire.91d0815ca.png);background-position:-185px -141px;width:18px;height:18px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){.icon-search-sm[_ngcontent-%COMP%]{background-image:url(https://static.inspire.com/ng-library/icons/icons-inspire.26bbb921e@2x.png);background-size:263px 251px}}.icon-thumbnails-on[_ngcontent-%COMP%]{background-image:url(https://static.inspire.com/ng-library/icons/icons-inspire.91d0815ca.png);background-position:-236px -107px;width:25px;height:25px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){.icon-thumbnails-on[_ngcontent-%COMP%]{background-image:url(https://static.inspire.com/ng-library/icons/icons-inspire.26bbb921e@2x.png);background-size:263px 251px}}.icon-thumbnails[_ngcontent-%COMP%]{background-image:url(https://static.inspire.com/ng-library/icons/icons-inspire.91d0815ca.png);background-position:-236px -132px;width:25px;height:25px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){.icon-thumbnails[_ngcontent-%COMP%]{background-image:url(https://static.inspire.com/ng-library/icons/icons-inspire.26bbb921e@2x.png);background-size:263px 251px}}.icon-transcript-on[_ngcontent-%COMP%]{background-image:url(https://static.inspire.com/ng-library/icons/icons-inspire.91d0815ca.png);background-position:-97px -227px;width:26px;height:21px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){.icon-transcript-on[_ngcontent-%COMP%]{background-image:url(https://static.inspire.com/ng-library/icons/icons-inspire.26bbb921e@2x.png);background-size:263px 251px}}.icon-transcript[_ngcontent-%COMP%]{background-image:url(https://static.inspire.com/ng-library/icons/icons-inspire.91d0815ca.png);background-position:-123px -227px;width:26px;height:21px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){.icon-transcript[_ngcontent-%COMP%]{background-image:url(https://static.inspire.com/ng-library/icons/icons-inspire.26bbb921e@2x.png);background-size:263px 251px}}.icon-treatment-sm-on[_ngcontent-%COMP%]{background-image:url(https://static.inspire.com/ng-library/icons/icons-inspire.91d0815ca.png);background-position:-120px -197px;width:30px;height:30px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){.icon-treatment-sm-on[_ngcontent-%COMP%]{background-image:url(https://static.inspire.com/ng-library/icons/icons-inspire.26bbb921e@2x.png);background-size:263px 251px}}.icon-treatment-sm[_ngcontent-%COMP%]{background-image:url(https://static.inspire.com/ng-library/icons/icons-inspire.91d0815ca.png);background-position:-150px -197px;width:30px;height:30px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){.icon-treatment-sm[_ngcontent-%COMP%]{background-image:url(https://static.inspire.com/ng-library/icons/icons-inspire.26bbb921e@2x.png);background-size:263px 251px}}.icon-tumblr-sm[_ngcontent-%COMP%]{background-image:url(https://static.inspire.com/ng-library/icons/icons-inspire.91d0815ca.png);background-position:-221px -227px;width:14px;height:14px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){.icon-tumblr-sm[_ngcontent-%COMP%]{background-image:url(https://static.inspire.com/ng-library/icons/icons-inspire.26bbb921e@2x.png);background-size:263px 251px}}.icon-tumblr[_ngcontent-%COMP%]{background-image:url(https://static.inspire.com/ng-library/icons/icons-inspire.91d0815ca.png);background-position:-24px -227px;width:24px;height:24px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){.icon-tumblr[_ngcontent-%COMP%]{background-image:url(https://static.inspire.com/ng-library/icons/icons-inspire.26bbb921e@2x.png);background-size:263px 251px}}.icon-twitter-sm[_ngcontent-%COMP%]{background-image:url(https://static.inspire.com/ng-library/icons/icons-inspire.91d0815ca.png);background-position:-235px -227px;width:14px;height:14px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){.icon-twitter-sm[_ngcontent-%COMP%]{background-image:url(https://static.inspire.com/ng-library/icons/icons-inspire.26bbb921e@2x.png);background-size:263px 251px}}.icon-twitter[_ngcontent-%COMP%]{background-image:url(https://static.inspire.com/ng-library/icons/icons-inspire.91d0815ca.png);background-position:-48px -227px;width:24px;height:24px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){.icon-twitter[_ngcontent-%COMP%]{background-image:url(https://static.inspire.com/ng-library/icons/icons-inspire.26bbb921e@2x.png);background-size:263px 251px}}.icon-user-white-sm[_ngcontent-%COMP%]{background-image:url(https://static.inspire.com/ng-library/icons/icons-inspire.91d0815ca.png);background-position:-180px -197px;width:30px;height:30px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){.icon-user-white-sm[_ngcontent-%COMP%]{background-image:url(https://static.inspire.com/ng-library/icons/icons-inspire.26bbb921e@2x.png);background-size:263px 251px}}.icon-video-on[_ngcontent-%COMP%]{background-image:url(https://static.inspire.com/ng-library/icons/icons-inspire.91d0815ca.png);background-position:-236px -27px;width:26px;height:26px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){.icon-video-on[_ngcontent-%COMP%]{background-image:url(https://static.inspire.com/ng-library/icons/icons-inspire.26bbb921e@2x.png);background-size:263px 251px}}.icon-video[_ngcontent-%COMP%]{background-image:url(https://static.inspire.com/ng-library/icons/icons-inspire.91d0815ca.png);background-position:-236px -53px;width:26px;height:26px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){.icon-video[_ngcontent-%COMP%]{background-image:url(https://static.inspire.com/ng-library/icons/icons-inspire.26bbb921e@2x.png);background-size:263px 251px}}.inspire-guy-small[_ngcontent-%COMP%]{background-image:url(https://static.inspire.com/ng-library/icons/icons-inspire.91d0815ca.png);background-position:-236px -79px;width:23px;height:28px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){.inspire-guy-small[_ngcontent-%COMP%]{background-image:url(https://static.inspire.com/ng-library/icons/icons-inspire.26bbb921e@2x.png);background-size:263px 251px}}.left-arrow[_ngcontent-%COMP%]{background-image:url(https://static.inspire.com/ng-library/icons/icons-inspire.91d0815ca.png);background-position:-134px -78px;width:22px;height:19px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){.left-arrow[_ngcontent-%COMP%]{background-image:url(https://static.inspire.com/ng-library/icons/icons-inspire.26bbb921e@2x.png);background-size:263px 251px}}.logo-inspire-guy-blue-lg[_ngcontent-%COMP%]{background-image:url(https://static.inspire.com/ng-library/icons/icons-inspire.91d0815ca.png);background-position:0 0;width:78px;height:78px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){.logo-inspire-guy-blue-lg[_ngcontent-%COMP%]{background-image:url(https://static.inspire.com/ng-library/icons/icons-inspire.26bbb921e@2x.png);background-size:263px 251px}}.logo-inspire-guy-blue[_ngcontent-%COMP%]{background-image:url(https://static.inspire.com/ng-library/icons/icons-inspire.91d0815ca.png);background-position:-236px 0;width:27px;height:27px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){.logo-inspire-guy-blue[_ngcontent-%COMP%]{background-image:url(https://static.inspire.com/ng-library/icons/icons-inspire.26bbb921e@2x.png);background-size:263px 251px}}.logo-inspire-guy[_ngcontent-%COMP%]{background-image:url(https://static.inspire.com/ng-library/icons/icons-inspire.91d0815ca.png);background-position:-78px 0;width:78px;height:78px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){.logo-inspire-guy[_ngcontent-%COMP%]{background-image:url(https://static.inspire.com/ng-library/icons/icons-inspire.26bbb921e@2x.png);background-size:263px 251px}}.media-open[_ngcontent-%COMP%]{background-image:url(https://static.inspire.com/ng-library/icons/icons-inspire.91d0815ca.png);background-position:-156px 0;width:50px;height:50px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){.media-open[_ngcontent-%COMP%]{background-image:url(https://static.inspire.com/ng-library/icons/icons-inspire.26bbb921e@2x.png);background-size:263px 251px}}.unav-logo[_ngcontent-%COMP%]{background-image:url(https://static.inspire.com/ng-library/icons/icons-inspire.91d0815ca.png);background-position:0 -78px;width:97px;height:45px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){.unav-logo[_ngcontent-%COMP%]{background-image:url(https://static.inspire.com/ng-library/icons/icons-inspire.26bbb921e@2x.png);background-size:263px 251px}}.communityCard[_ngcontent-%COMP%]{display:inline-block;margin:10px;width:240px;height:245px;border-radius:4px;padding:10px;font-family:Lato,sans-serif;box-shadow:0 0 8px #8c8c8c;position:relative}.communityCard[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{cursor:pointer}.communityCard__logo[_ngcontent-%COMP%]{width:100px;height:100px}.communityCard__title[_ngcontent-%COMP%], .communityCard__title__fullName[_ngcontent-%COMP%]{color:#061a73;font-weight:700;margin-top:-2.5px;margin-bottom:-10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.communityCard__title__fullName[_ngcontent-%COMP%]{white-space:normal}@supports (-webkit-line-clamp:2){.communityCard__title__fullName[_ngcontent-%COMP%]{overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;white-space:normal}}.communityCard__data[_ngcontent-%COMP%], .communityCard__subtitle[_ngcontent-%COMP%]{color:#323232;font-size:.8em;margin-bottom:0}.communityCard__data[_ngcontent-%COMP%]{display:flex;flex-direction:row;margin-top:15px;margin-bottom:10px;padding-left:12px}.communityCard__data__fullName[_ngcontent-%COMP%]{display:none}.communityCard__dataItem[_ngcontent-%COMP%]{width:30%}.communityCard__numbers[_ngcontent-%COMP%]{color:#000;font-weight:700;display:flex;flex-direction:column}.communityCard__redirect[_ngcontent-%COMP%]{background:#061a73;width:80%;padding-top:5px;padding-bottom:5px;margin-left:10%;margin-right:10%;color:#fff;font-size:.85em;border:transparent;border-radius:3px}.card__btn[_ngcontent-%COMP%]{position:relative;display:inline-block;border-radius:10px;padding:7px;outline:0;background-color:#e6e6e6}.card__btn__icon[_ngcontent-%COMP%]{display:inline-block;height:15px;width:auto;color:#061a73}.card__btn__icon[_ngcontent-%COMP%]:not(:first-child){margin-left:3px}.card__btn[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{color:#061a73;font-size:15px}.float__right[_ngcontent-%COMP%]{float:right}.smallCard[_ngcontent-%COMP%]{height:180px;width:180px;box-sizing:border-box}.smallCard[_ngcontent-%COMP%]   .communityCard__logo[_ngcontent-%COMP%]{width:75px;height:75px}.smallCard[_ngcontent-%COMP%]   .communityCard__data[_ngcontent-%COMP%], .smallCard[_ngcontent-%COMP%]   .communityCard__subtitle[_ngcontent-%COMP%]{display:none}.text__align__center[_ngcontent-%COMP%]{text-align:center}.clear__both[_ngcontent-%COMP%]{clear:both}@media only screen and (max-width:640px){.communityCard[_ngcontent-%COMP%]{height:245px;width:160px}.communityCard__data[_ngcontent-%COMP%]{display:none}}"] });
/*@__PURE__*/ (function () { i0.ɵsetClassMetadata(CommunityCardComponent, [{
        type: Component,
        args: [{
                selector: 'ins-community-card',
                templateUrl: './community-card.component.html',
                styleUrls: ['./community-card.component.scss']
            }]
    }], function () { return []; }, { joinGroup: [{
            type: Output
        }], leaveGroup: [{
            type: Output
        }], navigateToGroup: [{
            type: Output
        }], groupId: [{
            type: Input
        }], groupName: [{
            type: Input
        }], groupNameId: [{
            type: Input
        }], logoUri: [{
            type: Input
        }], recentActivity: [{
            type: Input
        }], posts: [{
            type: Input
        }], replies: [{
            type: Input
        }], members: [{
            type: Input
        }], loginVal: [{
            type: Input
        }], layout: [{
            type: Input
        }], envUrl: [{
            type: Input
        }], groupUrl: [{
            type: Input
        }], fullName: [{
            type: Input
        }], isAdded: [{
            type: Input
        }] }); })();
//# sourceMappingURL=data:application/json;base64, 