'use strict';

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

const index = require('./index-7de89a1a.js');

const BceLogo = class {
    constructor(hostRef) {
        index.registerInstance(this, hostRef);
    }
    get colors() {
        const map = this.colorMap || COLOR_MAP;
        return this.design ? map[this.design] : map['technology'];
    }
    get paths() {
        return this.design ? PATH_MAP[this.design] : PATH_MAP['technology'];
    }
    render() {
        const { colors, paths } = this;
        return (index.h("svg", { viewBox: "0 0 512 512", xmlns: "http://www.w3.org/2000/svg" }, paths.map((d, i) => {
            const x = i < this.paths.length / 2 ? 0 : 1;
            const y = i % (this.paths.length / 2);
            return index.h("path", { fill: colors[x][y], d: d });
        })));
    }
    static get style() { return ":host{position:relative;display:inline-block}:host svg{width:1em;height:1em;vertical-align:-0.125em}"; }
};
const PATH_MAP = {
    consulting: [],
    technology: [
        'M 80,136 l 160,0 l-80,-120 z',
        'M 80,136 l 160,0 l-80, 120 z',
        'M  0,256 l 160,0 l-80,-120 z',
        'M  0,256 l 160,0 l-80, 120 z',
        'M 80,376 l 160,0 l-80,-120 z',
        'M 80,376 l 160,0 l-80, 120 z',
        'M432,136 l-160,0 l 80,-120 z',
        'M432,136 l-160,0 l 80, 120 z',
        'M512,256 l-160,0 l 80,-120 z',
        'M512,256 l-160,0 l 80, 120 z',
        'M432,376 l-160,0 l 80,-120 z',
        'M432,376 l-160,0 l 80, 120 z'
    ]
};
const COLOR_MAP = {
    consulting: [[], []],
    technology: [
        ['#000000', '#464c53', '#5d2041', '#af82b0', '#005d90', '#9ed9f8'],
        ['#000000', '#464c53', '#ac2e19', '#e76739', '#005d90', '#9ed9f8']
    ]
};

exports.bce_logo = BceLogo;
