"use strict";const u=require("./provider-Fw6FIHoE.cjs");require("./css-B0VZnJIa.cjs");const n=[{weight:200,style:"light",value:"Inter 200, sans-serif"},{weight:300,value:"Inter Threee, sans-serif"},{weight:400,value:"Inter Four, sans-serif"},{weight:500,value:"Inter Five, sans-serif"},{weight:600,value:"Inter Six, sans-serif"},{weight:700,value:"Inter Seven, sans-serif"},{weight:800,value:"Inter Eight, sans-serif"},{weight:900,style:"bold",value:"Inter Nine, sans-serif"}],v=s=>n.find((t,e)=>e===n.length-1?!0:typeof s=="number"?s>=t.weight&&s<n[e+1].weight:t.style===s),y=(s,{level:t,weight:e,code:l})=>{const{typography:i,sizes:{base:o}}=s;let r=i.family;if(l)r=i.codeFamily;else if(e!=null){const f=v(e);f!=null?r=f.value:r="Inter Light, sans-serif"}const h=i[u.isSize(t)?u.COMPONENT_SIZE_LEVELS[t]:t].size,a=(o*h).toFixed(1),[c,g]=r.split(", ");return e!=null?` ${e} ${a}px ${c}, ${g}`:` ${a}px ${r}`};exports.fontString=y;
