require(["jquery"],function(a){var c=function(e){if(e.eventName.substr(0,6)==="xwiki:"){var d=a.Event(e.eventName);a(this).trigger(d,e.memo);if(d.isDefaultPrevented()){e.stop()}}return e};var b=function(d){return function(){var e=(this.nodeType===1||this.nodeType===9)?this:arguments[0];return c.call(e,d.apply(this,arguments))}};a.each([Event,Element,document],function(){this.fire=b(this.fire)})});