'use strict';

Object.defineProperty(exports, '__esModule', { value: true });

const index = require('./index-7a477838.js');
const randomIdGenerator_util = require('./randomIdGenerator.util-e7f4b6de.js');

const iconCalendarCss = ".sc-digi-icon-calendar-h{--digi--icon--color:var(--digi--color--icon--primary);--digi--icon--width:initial;--digi--icon--height:auto;display:flex;min-height:1.4em;align-items:center}.sc-digi-icon-calendar-h svg.sc-digi-icon-calendar{color:var(--digi--icon--color);max-width:var(--digi--icon--width);max-height:var(--digi--icon--height);width:var(--digi--icon--width, auto);height:var(--digi--icon--height, auto)}";
const DigiIconCalendarStyle0 = iconCalendarCss;

const IconCalendar = class {
    constructor(hostRef) {
        index.registerInstance(this, hostRef);
        this.afTitle = undefined;
        this.afDesc = undefined;
        this.afSvgAriaHidden = true;
        this.afSvgAriaLabelledby = undefined;
        this.titleId = randomIdGenerator_util.randomIdGenerator('icontitle');
    }
    render() {
        return (index.h("svg", { key: 'eb815f0b5141e503f549c8ee725b8d354f40daea', class: "digi-icon-calendar", width: "22", height: "26", viewBox: "0 0 22 26", "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 && index.h("title", { key: 'c6c84234ec8d598182bf35e419d79c7dba0bea61', id: this.titleId }, this.afTitle), this.afDesc && index.h("desc", { key: '12ed14512806b314592928f654263bb9df5e2370' }, this.afDesc), index.h("path", { key: 'a140cc678cae2adf5493b116ae01e0f1a4ffdce8', class: "digi-icon-calendar__shape", d: "M.59 9.75h20.82c.325 0 .59.274.59.61v13.203C22 24.907 20.944 26 19.643 26H2.357C1.056 26 0 24.908 0 23.562V10.36c0-.335.265-.609.59-.609zM22 7.516V5.687c0-1.345-1.056-2.437-2.357-2.437h-2.357V.61a.601.601 0 00-.59-.61h-1.964a.601.601 0 00-.59.61v2.64H7.858V.61a.601.601 0 00-.59-.61H5.305a.601.601 0 00-.59.61v2.64H2.357C1.056 3.25 0 4.342 0 5.688v1.828c0 .335.265.609.59.609h20.82c.325 0 .59-.274.59-.61z", fill: "currentColor", "fill-rule": "nonzero" })));
    }
};
IconCalendar.style = DigiIconCalendarStyle0;

exports.digi_icon_calendar = IconCalendar;
