{
  "version": 3,
  "sources": ["../../src/code-generation/utils/createComponentFontHash.ts"],
  "sourcesContent": ["import type { ComponentFont } from \"library/index.ts\"\n\n/**\n * Generates a hash string for the given ComponentFont.\n *\n * The hash is guaranteed to be identical for two fonts that would be considered\n * the same by the [CSS Font Matching Algorithm][1]. The relevant properties are\n * conveniently listed and grouped together in the [CSS Font Loading][2] spec.\n *\n * [1]: https://drafts.csswg.org/css-fonts-3/#font-matching-algorithm\n * [2]: https://drafts.csswg.org/css-font-loading/#dom-fontface-famil\n */\nexport function createComponentFontHash(font: ComponentFont): string {\n\tconst hash = `${font.cssFamilyName}${font.style}${font.weight}${font.stretch}${font.unicodeRange}`\n\treturn hash\n}\n"],
  "mappings": ";AAYO,SAAS,wBAAwB,MAA6B;AACpE,QAAM,OAAO,GAAG,KAAK,aAAa,GAAG,KAAK,KAAK,GAAG,KAAK,MAAM,GAAG,KAAK,OAAO,GAAG,KAAK,YAAY;AAChG,SAAO;AACR;",
  "names": []
}
