"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("./util/defined-info.cjs.js"),f=require("./util/info.cjs.js"),d=require("./normalize.cjs.js"),l=/[A-Z]/g,s=/-[a-z]/g,p=/^data[-\w.:]+$/i;function u(t,e){const n=d.normalize(e);let i=e,c=f.Info;if(n in t.normal)return t.property[t.normal[n]];if(n.length>4&&n.slice(0,4)==="data"&&p.test(e)){if(e.charAt(4)==="-"){const r=e.slice(5).replace(s,h);i="data"+r.charAt(0).toUpperCase()+r.slice(1)}else{const r=e.slice(4);if(!s.test(r)){let o=r.replace(l,g);o.charAt(0)!=="-"&&(o="-"+o),e="data"+o}}c=a.DefinedInfo}return new c(i,e)}function g(t){return"-"+t.toLowerCase()}function h(t){return t.charAt(1).toUpperCase()}exports.find=u;
//# sourceMappingURL=find.cjs.js.map
