MCPcopy Create free account
hub / github.com/aboutcode-org/vulnerablecode / C

Function C

vulnerablecode/static/js/highlight-10.6.0.min.js:167–170  ·  view source on GitHub ↗
(e)

Source from the content-addressed store, hash-verified

165}else"start"===t[0].event?i.push(t[0].node):i.pop(),u(t.splice(0,1)[0])}
166return a+r(n.substr(s))})(s,C(a),n)}};function D(e){
167return e.nodeName.toLowerCase()}function C(e){const t=[];return function e(n,s){
168for(let r=n.firstChild;r;r=r.nextSibling)3===r.nodeType?s+=r.nodeValue.length:1===r.nodeType&&(t.push({
169event:"start",offset:s,node:r}),s=e(r,s),D(r).match(/br|hr|img|input/)||t.push({
170event:"stop",offset:s,node:r}));return s}(e,0),t}const H=e=>{console.error(e)
171},U=(e,...t)=>{console.log("WARN: "+e,...t)},$=(e,t)=>{
172console.log(`Deprecated as of ${e}. ${t}`)},z=r,K=a,G=Symbol("nomatch")
173;return(e=>{const n=Object.create(null),r=Object.create(null),a=[];let i=!0

Callers 1

Calls 2

eFunction · 0.85
DFunction · 0.85

Tested by

no test coverage detected