export class CSSFontFace {
  #fontFamily;
  #fontVariationAxes;
  #fontVariationAxesByTag;
  constructor(payload) {
    this.#fontFamily = payload.fontFamily;
    this.#fontVariationAxes = payload.fontVariationAxes || [];
    this.#fontVariationAxesByTag = /* @__PURE__ */ new Map();
    for (const axis of this.#fontVariationAxes) {
      this.#fontVariationAxesByTag.set(axis.tag, axis);
    }
  }
  getFontFamily() {
    return this.#fontFamily;
  }
  getVariationAxisByTag(tag) {
    return this.#fontVariationAxesByTag.get(tag);
  }
}
//# sourceMappingURL=CSSFontFace.js.map
