YUI.add("highlight-accentfold",function(c,t){var u=c.Text.AccentFold,d=c.Escape,f={},g=c.mix(c.Highlight,{allFold:function(n,t,r){var e,l,o,s,a=g._TEMPLATE,h=[],i=0;for(r=c.merge({escapeHTML:!1,replacer:function(t,r,e,l){if(r&&!/\s/.test(e))return t;r=e.length,h.push([n.substring(i,l),n.substr(l,r)]),i=l+r}},r||f),g.all(u.fold(n),u.fold(t),r),i<n.length&&h.push([n.substr(i)]),l=0,o=h.length;l<o;++l)e=d.html(h[l][0]),(s=h[l][1])&&(e+=a.replace(/\{s\}/g,d.html(s))),h[l]=e;return h.join("")},startFold:function(t,r){return g.allFold(t,r,{startsWith:!0})},wordsFold:function(t,r){var e=g._TEMPLATE;return g.words(t,u.fold(r),{mapper:function(t,r){return r.hasOwnProperty(u.fold(t))?e.replace(/\{s\}/g,d.html(t)):d.html(t)}})}})},"patched-v3.18.7",{requires:["highlight-base","text-accentfold"]});