import { h } from "@stencil/core";
import { randomIdGenerator } from "../../../global/utils/randomIdGenerator";
export class IconCooperation {
    constructor() {
        this.afTitle = undefined;
        this.afDesc = undefined;
        this.afSvgAriaHidden = true;
        this.afSvgAriaLabelledby = undefined;
        this.titleId = randomIdGenerator('icontitle');
    }
    render() {
        return (h("svg", { key: '377b7ae3256edc55fde1b963fad69f5b8b989b75', class: "digi-icon-cooperation", width: "20", height: "19", viewBox: "0 0 20 19", xmlns: "http://www.w3.org/2000/svg", "aria-hidden": this.afSvgAriaHidden ? 'true' : 'false', "aria-labelledby": this.afSvgAriaLabelledby
                ? this.afSvgAriaLabelledby
                : this.afTitle
                    ? this.titleId
                    : undefined }, this.afTitle && h("title", { key: 'd44190b46f4af29ecad6a6e1e665f094d7790a4e', id: this.titleId }, this.afTitle), this.afDesc && h("desc", { key: 'fa1cfd7bdba9a7f0a4c3968c2a12c39520e1e668' }, this.afDesc), h("g", { key: '93df03f3c17b32439e700717981544b5c665a034', class: "digi-icon-cooperation__shape", fill: "currentColor", "fill-rule": "evenodd" }, h("path", { key: 'd7d5265716433146f79f3c07e77e51d1f6ac1e4b', d: "M9.697 10.222l4.508 4.75-.957 1.008-4.508-4.75-.82.863 4.645 4.607-.956 1.008-4.645-4.607-.683.72 4.508 4.75-.059.063a1.055 1.055 0 01-1.53.014s-7.908-8.085-7.99-8.205C.408 9.284 0 7.854 0 6.424 0 2.784 2.528 0 5.841 0c1.854 0 3.025.897 3.025.897C5.652 3.361 4.788 3.668 4.788 5.25c0 1.27.927 2.263 2.073 2.263.445 0 .877-.147 1.248-.427l.571-.428.33-.25s1.233 0 2.599 1.511c2.305 2.55 3.677 4.316 3.677 4.316a1.307 1.307 0 01-.068 1.67l-.194.205-4.508-4.751-.82.864z" }), h("path", { key: 'c31bb8c289fc4cd8d38546a2981ab7b2aba76660', d: "M17.11 12.275s-1.926-3.25-3.577-4.982c-1.65-1.733-2.82-2.26-4.185-2.26-.554 0-1.451 1.294-2.249 1.294-.563 0-.988-.469-.988-1.056 0-.374.173-.753.49-.99C10.931.995 11.724 0 14.114 0 17.45 0 20 2.791 20 6.444c0 3.293-1.264 4.049-2.89 5.83z" }))));
    }
    static get is() { return "digi-icon-cooperation"; }
    static get encapsulation() { return "scoped"; }
    static get originalStyleUrls() {
        return {
            "$": ["icon-cooperation.scss"]
        };
    }
    static get styleUrls() {
        return {
            "$": ["icon-cooperation.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": {}
        };
    }
}
