"use strict";const d=require("../../../../../../../../_virtual/toIdentifier.js");require("../validators/isValidIdentifier.js");require("../../../../../../@babel_helper-validator-identifier@7.18.6/node_modules/@babel/helper-validator-identifier/lib/index.js");const a=require("../../../../../../../../_virtual/isValidIdentifier.js"),n=require("../../../../../../../../_virtual/index25.js");Object.defineProperty(d.__exports,"__esModule",{value:!0});d.__exports.default=s;var o=a.__exports,l=n.__exports;function s(i){i=i+"";let e="";for(const r of i)e+=(0,l.isIdentifierChar)(r.codePointAt(0))?r:"-";return e=e.replace(/^[-0-9]+/,""),e=e.replace(/[-\s]+(.)?/g,function(r,t){return t?t.toUpperCase():""}),(0,o.default)(e)||(e=`_${e}`),e||"_"}
//# sourceMappingURL=toIdentifier.js.map
