import { Component, Input } from '@angular/core';
import * as i0 from "@angular/core";
import * as i1 from "@angular/common";
import * as i2 from "rpx-xui-translation";
const _c0 = [[["", "footerSolsNavLinks", ""]], [["", "footerCaseWorkerNavLinks", ""]]];
const _c1 = ["[footerSolsNavLinks]", "[footerCaseWorkerNavLinks]"];
function FooterComponent_div_2_Template(rf, ctx) { if (rf & 1) {
    i0.ɵɵelementStart(0, "div", 3)(1, "div", 4);
    i0.ɵɵprojection(2);
    i0.ɵɵelementStart(3, "div", 5)(4, "p", 6)(5, "a", 7);
    i0.ɵɵtext(6);
    i0.ɵɵpipe(7, "rpxTranslate");
    i0.ɵɵelementEnd()();
    i0.ɵɵelementStart(8, "p");
    i0.ɵɵtext(9);
    i0.ɵɵpipe(10, "rpxTranslate");
    i0.ɵɵelementStart(11, "a", 7);
    i0.ɵɵtext(12);
    i0.ɵɵpipe(13, "rpxTranslate");
    i0.ɵɵelementEnd();
    i0.ɵɵtext(14);
    i0.ɵɵpipe(15, "rpxTranslate");
    i0.ɵɵelementEnd()()();
    i0.ɵɵelementStart(16, "div", 8)(17, "a", 9);
    i0.ɵɵtext(18);
    i0.ɵɵpipe(19, "rpxTranslate");
    i0.ɵɵelementEnd()()();
} if (rf & 2) {
    i0.ɵɵadvance(6);
    i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(7, 5, "Open Government Licence"));
    i0.ɵɵadvance(3);
    i0.ɵɵtextInterpolate1("", i0.ɵɵpipeBind1(10, 7, "All content is available under the"), " ");
    i0.ɵɵadvance(3);
    i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(13, 9, "Open Government Licence v3.0"));
    i0.ɵɵadvance(2);
    i0.ɵɵtextInterpolate1(", ", i0.ɵɵpipeBind1(15, 11, "except where otherwise stated"), "");
    i0.ɵɵadvance(4);
    i0.ɵɵtextInterpolate1(" \u00A9 ", i0.ɵɵpipeBind1(19, 13, "Crown copyright"), " ");
} }
function FooterComponent_div_3_Template(rf, ctx) { if (rf & 1) {
    i0.ɵɵelementStart(0, "div", 3)(1, "div", 10)(2, "span", 11);
    i0.ɵɵtext(3);
    i0.ɵɵpipe(4, "rpxTranslate");
    i0.ɵɵelementEnd()();
    i0.ɵɵelementStart(5, "div", 12)(6, "span", 11);
    i0.ɵɵtext(7);
    i0.ɵɵpipe(8, "rpxTranslate");
    i0.ɵɵelementStart(9, "a", 13);
    i0.ɵɵtext(10);
    i0.ɵɵelementEnd()()();
    i0.ɵɵelementStart(11, "div", 14)(12, "span", 11);
    i0.ɵɵtext(13);
    i0.ɵɵpipe(14, "rpxTranslate");
    i0.ɵɵelementEnd()();
    i0.ɵɵelementStart(15, "div", 15)(16, "span", 11);
    i0.ɵɵtext(17);
    i0.ɵɵpipe(18, "rpxTranslate");
    i0.ɵɵelementEnd()();
    i0.ɵɵprojection(19, 1);
    i0.ɵɵelementEnd();
} if (rf & 2) {
    const ctx_r0 = i0.ɵɵnextContext();
    i0.ɵɵadvance(3);
    i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(4, 8, "Help"));
    i0.ɵɵadvance(4);
    i0.ɵɵtextInterpolate1("", i0.ɵɵpipeBind1(8, 10, "Email"), ": ");
    i0.ɵɵadvance(2);
    i0.ɵɵpropertyInterpolate1("href", "mailto:", ctx_r0.email, "", i0.ɵɵsanitizeUrl);
    i0.ɵɵadvance();
    i0.ɵɵtextInterpolate(ctx_r0.email);
    i0.ɵɵadvance(3);
    i0.ɵɵtextInterpolate2("", i0.ɵɵpipeBind1(14, 12, "Phone"), ": ", ctx_r0.phone, "");
    i0.ɵɵadvance(4);
    i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(18, 14, ctx_r0.workhours));
} }
export class FooterComponent {
    email;
    isSolicitor;
    phone;
    workhours;
    static ɵfac = function FooterComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || FooterComponent)(); };
    static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: FooterComponent, selectors: [["cut-footer-bar"]], inputs: { email: "email", isSolicitor: "isSolicitor", phone: "phone", workhours: "workhours" }, ngContentSelectors: _c1, decls: 4, vars: 4, consts: [["id", "footer", "role", "footer", 1, "group", "js-footer"], [1, "footer-wrapper"], ["class", "footer-meta", 4, "ngIf"], [1, "footer-meta"], [1, "footer-meta-inner"], [1, "open-government-licence"], [1, "logo"], ["href", "https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/", "rel", "license"], [1, "copyright"], ["href", "https://www.nationalarchives.gov.uk/information-management/re-using-public-sector-information/copyright-and-re-use/crown-copyright/"], [1, "title"], [1, "footer-text"], [1, "email"], [3, "href"], [1, "phone"], [1, "work-hours"]], template: function FooterComponent_Template(rf, ctx) { if (rf & 1) {
            i0.ɵɵprojectionDef(_c0);
            i0.ɵɵelementStart(0, "footer", 0)(1, "div", 1);
            i0.ɵɵtemplate(2, FooterComponent_div_2_Template, 20, 15, "div", 2)(3, FooterComponent_div_3_Template, 20, 16, "div", 2);
            i0.ɵɵelementEnd()();
        } if (rf & 2) {
            i0.ɵɵadvance();
            i0.ɵɵclassProp("full-screen", !ctx.isSolicitor);
            i0.ɵɵadvance();
            i0.ɵɵproperty("ngIf", ctx.isSolicitor);
            i0.ɵɵadvance();
            i0.ɵɵproperty("ngIf", !ctx.isSolicitor);
        } }, dependencies: [i1.NgIf, i2.RpxTranslatePipe], styles: [".footer-text[_ngcontent-%COMP%]{color:#231f20;margin-top:5px;font-size:16px;font-weight:400;font-style:normal;font-stretch:normal;letter-spacing:normal}#footer[_ngcontent-%COMP%]   .full-screen[_ngcontent-%COMP%]{max-width:100%;padding-left:20px}"] });
}
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(FooterComponent, [{
        type: Component,
        args: [{ selector: 'cut-footer-bar', template: "<footer class=\"group js-footer\" id=\"footer\" role=\"footer\">\n  <div [class.full-screen]=\"!isSolicitor\" class=\"footer-wrapper\">\n\n    <!-- Condition: Solicitor -->\n    <div *ngIf=\"isSolicitor\" class=\"footer-meta\">\n      <div class=\"footer-meta-inner\">\n        <ng-content select=\"[footerSolsNavLinks]\"></ng-content>\n        <div class=\"open-government-licence\">\n          <p class=\"logo\"><a href=\"https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/\" rel=\"license\">{{'Open Government Licence' | rpxTranslate}}</a></p>\n          <p>{{'All content is available under the' | rpxTranslate}} <a href=\"https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/\" rel=\"license\">{{'Open Government Licence v3.0' | rpxTranslate}}</a>, {{'except where otherwise stated' | rpxTranslate}}</p>\n        </div>\n      </div>\n\n      <div class=\"copyright\">\n        <a href=\"https://www.nationalarchives.gov.uk/information-management/re-using-public-sector-information/copyright-and-re-use/crown-copyright/\">\n          \u00A9 {{'Crown copyright' | rpxTranslate}}\n        </a>\n      </div>\n    </div>\n\n    <!-- Condition: Case Worker -->\n    <div *ngIf=\"!isSolicitor\" class=\"footer-meta\">\n      <div class=\"title\">\n        <span class=\"footer-text\">{{'Help' | rpxTranslate}}</span>\n      </div>\n      <div class=\"email\">\n        <span class=\"footer-text\">{{'Email' | rpxTranslate}}: <a href=\"mailto:{{email}}\">{{email}}</a></span>\n      </div>\n      <div class=\"phone\">\n        <span class=\"footer-text\">{{'Phone' | rpxTranslate}}: {{phone}}</span>\n      </div>\n      <div class=\"work-hours\">\n        <span class=\"footer-text\">{{workhours | rpxTranslate}}</span>\n      </div>\n      <ng-content select=\"[footerCaseWorkerNavLinks]\"></ng-content>\n    </div>\n\n  </div>\n</footer>\n", styles: [".footer-text{color:#231f20;margin-top:5px;font-size:16px;font-weight:400;font-style:normal;font-stretch:normal;letter-spacing:normal}#footer .full-screen{max-width:100%;padding-left:20px}\n"] }]
    }], null, { email: [{
            type: Input
        }], isSolicitor: [{
            type: Input
        }], phone: [{
            type: Input
        }], workhours: [{
            type: Input
        }] }); })();
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(FooterComponent, { className: "FooterComponent", filePath: "lib/components/footer/footer.component.ts", lineNumber: 8 }); })();
//# sourceMappingURL=data:application/json;base64, 