!function(e){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{var t;t="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this,t.Emitify=e()}}(function(){return function e(t,o,n){function r(f,u){if(!o[f]){if(!t[f]){var c="function"==typeof require&&require;if(!u&&c)return c(f,!0);if(i)return i(f,!0);var s=new Error("Cannot find module '"+f+"'");throw s.code="MODULE_NOT_FOUND",s}var p=o[f]={exports:{}};t[f][0].call(p.exports,function(e){var o=t[f][1][e];return r(o?o:e)},p,p.exports,e,t,o,n)}return o[f].exports}for(var i="function"==typeof require&&require,f=0;f