"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const d=require("./index.cjs469.js"),n=require("./index.cjs470.js"),h=require("./index.cjs471.js"),o={}.hasOwnProperty,c={};let e;for(e in n.characterEntitiesHtml4)o.call(n.characterEntitiesHtml4,e)&&(c[n.characterEntitiesHtml4[e]]=e);const m=/[^\dA-Za-z]/;function f(s,t,u,l){const a=String.fromCharCode(s);if(o.call(c,a)){const r=c[a],i="&"+r;return u&&d.characterEntitiesLegacy.includes(r)&&!h.dangerous.includes(r)&&(!l||t&&t!==61&&m.test(String.fromCharCode(t)))?i:i+";"}return""}exports.toNamed=f;
//# sourceMappingURL=index.cjs468.js.map
