MCPcopy Create free account
hub / github.com/FSoft-AI4Code/HyperAgent / p

Function p

hyperagent-ext/media/scripts/highlight.min.js:45–48  ·  view source on GitHub ↗
(...e)

Source from the content-addressed store, hash-verified

43 return e?"string"==typeof e?e:e.source:null}function g(e){return m("(?=",e,")")}
44 function u(e){return m("(?:",e,")*")}function b(e){return m("(?:",e,")?")}
45 function m(...e){return e.map((e=>d(e))).join("")}function p(...e){const n=(e=>{
46 const n=e[e.length-1]
47 ;return"object"==typeof n&&n.constructor===Object?(e.splice(e.length-1,1),n):{}
48 })(e);return"("+(n.capture?"":"?:")+e.map((e=>d(e))).join("|")+")"}
49 function _(e){return RegExp(e.toString()+"|").exec("").length-1}
50 const h=/\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./
51 ;function f(e,{joinWith:n}){let t=0;return e.map((e=>{t+=1;const n=t

Callers 4

MFunction · 0.70
LFunction · 0.70
yFunction · 0.70
highlight.min.jsFile · 0.70

Calls 3

dFunction · 0.85
mapMethod · 0.80
replaceMethod · 0.80

Tested by

no test coverage detected