moreShopAdmin/dist/admin/assets/balanced-match.d2a36341.js

2 lines
322 B
JavaScript
Raw Normal View History

2024-06-18 18:10:40 +08:00
var l=function(r,a,e){for(var s=0,t={},n=0;n<e.length;n++)if(r==e.substr(n,r.length))"start"in t||(t.start=n),s++;else if(a==e.substr(n,a.length)&&"start"in t&&(s--,!s))return t.end=n,t.pre=e.substr(0,t.start),t.body=t.end-t.start>1?e.substring(t.start+r.length,t.end):"",t.post=e.slice(t.end+a.length),t};export{l as b};