"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=(n,o)=>{let t=document.createElement("canvas");const e=t.getContext("2d");e.font=`${n}px system-ui`;const s=e.measureText(o);return setTimeout(()=>{t=null},0),s.width};exports.getTextWidth=c;
