import { h } from "@stencil/core";
import { randomIdGenerator } from "../../../global/utils/randomIdGenerator";
export class IconLicenceCar {
    constructor() {
        this.afTitle = undefined;
        this.afDesc = undefined;
        this.afSvgAriaHidden = true;
        this.afSvgAriaLabelledby = undefined;
        this.titleId = randomIdGenerator('icontitle');
    }
    render() {
        return (h("svg", { key: 'b1e6dd2c4c976a1546e62ac570e2484614b1f2c3', class: "digi-icon-licence-car", width: "48", height: "48", viewBox: "0 0 48 48", "aria-hidden": this.afSvgAriaHidden ? 'true' : 'false', "aria-labelledby": this.afSvgAriaLabelledby
                ? this.afSvgAriaLabelledby
                : this.afTitle
                    ? this.titleId
                    : undefined, xmlns: "http://www.w3.org/2000/svg" }, this.afTitle && h("title", { key: '89039fe43960281e5e2db6e6b463e2d88f56b1eb', id: this.titleId }, this.afTitle), this.afDesc && h("desc", { key: '546bd372bedb670237eedc008db87cf4a4a40663' }, this.afDesc), h("path", { key: 'fc6749556bea3a3d5266e8ef1355581d2af7a99f', class: "digi-icon-licence-car__shape", d: "M40.8,19.244898 L39.6,19.244898 L31.4415,8.83826531 C30.5303537,7.67651295 29.1512212,7 27.693,7 L11.64975,7 C9.687,7 7.92225,8.21913265 7.19325,10.0788265 L3.6,19.4178571 C1.533,19.9642857 0,21.8630102 0,24.1428571 L0,32.7142857 C0,33.3908163 0.537,33.9387755 1.2,33.9387755 L4.8,33.9387755 C4.8,37.9964286 8.0235,41.2857143 12,41.2857143 C15.9765,41.2857143 19.2,37.9964286 19.2,33.9387755 L28.8,33.9387755 C28.8,37.9964286 32.0235,41.2857143 36,41.2857143 C39.9765,41.2857143 43.2,37.9964286 43.2,33.9387755 L46.8,33.9387755 C47.463,33.9387755 48,33.3908163 48,32.7142857 L48,26.5918367 C48,22.5341837 44.7765,19.244898 40.8,19.244898 Z M12,37.6122449 C10.01475,37.6122449 8.4,35.9645408 8.4,33.9387755 C8.4,31.9130102 10.01475,30.2653061 12,30.2653061 C13.98525,30.2653061 15.6,31.9130102 15.6,33.9387755 C15.6,35.9645408 13.98525,37.6122449 12,37.6122449 Z M17.4,19.244898 L8.76975,19.244898 L11.64975,11.8979592 L17.4,11.8979592 L17.4,19.244898 Z M21,19.244898 L21,11.8979592 L27.693,11.8979592 L33.453,19.244898 L21,19.244898 Z M36,37.6122449 C34.01475,37.6122449 32.4,35.9645408 32.4,33.9387755 C32.4,31.9130102 34.01475,30.2653061 36,30.2653061 C37.98525,30.2653061 39.6,31.9130102 39.6,33.9387755 C39.6,35.9645408 37.98525,37.6122449 36,37.6122449 Z", fill: "currentColor", "fill-rule": "nonzero" })));
    }
    static get is() { return "digi-icon-licence-car"; }
    static get encapsulation() { return "scoped"; }
    static get originalStyleUrls() {
        return {
            "$": ["icon-licence-car.scss"]
        };
    }
    static get styleUrls() {
        return {
            "$": ["icon-licence-car.css"]
        };
    }
    static get properties() {
        return {
            "afTitle": {
                "type": "string",
                "mutable": false,
                "complexType": {
                    "original": "string",
                    "resolved": "string",
                    "references": {}
                },
                "required": false,
                "optional": false,
                "docs": {
                    "tags": [{
                            "name": "en",
                            "text": "Adds a title element inside the svg"
                        }],
                    "text": "L\u00E4gger till ett titleelement i svg:n"
                },
                "getter": false,
                "setter": false,
                "attribute": "af-title",
                "reflect": false
            },
            "afDesc": {
                "type": "string",
                "mutable": false,
                "complexType": {
                    "original": "string",
                    "resolved": "string",
                    "references": {}
                },
                "required": false,
                "optional": false,
                "docs": {
                    "tags": [{
                            "name": "en",
                            "text": "Adds a desc element inside the svg"
                        }],
                    "text": "L\u00E4gger till ett descelement i svg:n"
                },
                "getter": false,
                "setter": false,
                "attribute": "af-desc",
                "reflect": false
            },
            "afSvgAriaHidden": {
                "type": "boolean",
                "mutable": false,
                "complexType": {
                    "original": "boolean",
                    "resolved": "boolean",
                    "references": {}
                },
                "required": false,
                "optional": false,
                "docs": {
                    "tags": [{
                            "name": "en",
                            "text": "Hides the icon for screen readers. Default is set to true."
                        }],
                    "text": "F\u00F6r att d\u00F6lja ikonen f\u00F6r sk\u00E4rml\u00E4sare. Default \u00E4r satt till true."
                },
                "getter": false,
                "setter": false,
                "attribute": "af-svg-aria-hidden",
                "reflect": false,
                "defaultValue": "true"
            },
            "afSvgAriaLabelledby": {
                "type": "string",
                "mutable": false,
                "complexType": {
                    "original": "string",
                    "resolved": "string",
                    "references": {}
                },
                "required": false,
                "optional": false,
                "docs": {
                    "tags": [{
                            "name": "en",
                            "text": "Reference other elements on the page to define an accessible name."
                        }],
                    "text": "Referera till andra element p\u00E5 sidan f\u00F6r att definiera ett tillg\u00E4ngligt namn."
                },
                "getter": false,
                "setter": false,
                "attribute": "af-svg-aria-labelledby",
                "reflect": false
            }
        };
    }
    static get states() {
        return {
            "titleId": {}
        };
    }
}
