h+k||1>a.Ja)throw Error('Malformed exponential pattern "'+b+'"');u=!1;break;default:c[0]--,u=!1}0==k&&0 >>0);function wp(a){if("function"===typeof a)return a;a[Cp]||(a[Cp]=function(b){return a.handleEvent(b)});
return a[Cp]}
;function Dp(){gp.call(this);this.u=new np(this);this.wh=this;this.oe=null}
sb(Dp,gp);Dp.prototype[kp]=!0;n=Dp.prototype;n.Yy=function(){return this.oe};
n.addEventListener=function(a,b,c,e){up(this,a,b,c,e)};
n.removeEventListener=function(a,b,c,e){Ap(this,a,b,c,e)};
n.dispatchEvent=function(a){var b,c=this.Yy();if(c)for(b=[];c;c=c.Yy())b.push(c);c=this.wh;var e=a.type||a;if("string"===typeof a)a=new ip(a,c);else if(a instanceof ip)a.target=a.target||c;else{var f=a;a=new ip(e,c);xg(a,f)}f=!0;if(b)for(var h=b.length-1;!a.ma&&0<=h;h--){var k=a.i=b[h];f=k.Tq(e,!0,a)&&f}a.ma||(k=a.i=c,f=k.Tq(e,!0,a)&&f,a.ma||(f=k.Tq(e,!1,a)&&f));if(b)for(h=0;!a.ma&&h