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