class e{}const l=new class extends e{YY(e,l){const n=((e,l,n)=>{const t=e.exec(l)?.[0]||"";return{value:+t,length:t.length,token:n}})(/^\d\d/,e,"Y");if("buddhist"===l.calendar)n.value+=n.value<13?2600:2500;else n.value+=n.value<70?2e3:1900;return n}};export{l as parser};
