var $ptd=function(t){var t=t||{};return t.on=function(t,e,r,a){for(var c=document.querySelectorAll(e),o=0;o<c.length;o++)c[o].addEventListener(t,function(t){t.target.matches?t.target.matches(r)&&a(t):t.target.msMatchesSelector?t.target.msMatchesSelector(r)&&a(t):t.target.webkitMatchesSelector?t.target.webkitMatchesSelector(r)&&a(t):t.target.mozMatchesSelector&&t.target.mozMatchesSelector(r)&&a(t)})},t}($ptd);