"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.CompositeSkillProvider = void 0;
class CompositeSkillProvider {
    primary;
    fallback;
    constructor(primary, fallback) {
        this.primary = primary;
        this.fallback = fallback;
    }
    load() {
        const data = this.primary.load();
        return data.length ? data : this.fallback.load();
    }
}
exports.CompositeSkillProvider = CompositeSkillProvider;
