[pP])\{(? =c;r-=1){let o=r-1,s=n[e.charAt(o)];if(b&&(f[o]=+!!s),k[r]=(k[r+1]<<1|1)&s,a&&(k[r]|=(_[r+1]|_[r])<<1|1|_[r+1]),k[r]&x&&(y=$G(t,{errors:a,currentLocation:o,expectedLocation:d,distance:i,ignoreLocation:l}),y<=h)){if(h=y,g=o,g<=d)break;c=Math.max(1,2*d-g)}}if($G(t,{errors:a+1,currentLocation:d,expectedLocation:d,distance:i,ignoreLocation:l})>h)break;_=k}let k={isMatch:g>=0,score:Math.max(.001,y)};if(b){let e=function(e=[],t=vG.minMatchCharLength){let n=[],a=-1,i=-1,r=0;for(let o=e.length;r