{"version":3,"sources":["jsdelivr-header.js","/npm/coffeescript-mixins-lodash@0.0.6/lib/mixins.js"],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA,CCEA,WACE,IAAI,EAAG,EAEP,EAAU,CACR,UAAW,WACT,OAAO,SAAS,UAAU,QAAU,SAAS,GAC3C,IAAI,EAAO,EAAY,EAAK,EAC5B,IAAK,EACH,KAAM,+BAER,IAAK,EACH,KAAM,uBAUR,IAAK,KARD,EAAE,WAAW,KACf,EAAQ,EAAM,WAEZ,KAAK,aACP,EAAW,EAAE,OAAO,CAAC,EAAG,KAAK,YACpB,YAAc,KAAK,UAAU,aAExC,KAAK,UAAY,GAAY,CAAC,EACX,EACjB,EAAQ,EAAM,GACO,aAAf,IAGN,KAAK,UAAU,GAAc,EACxB,KAAK,UAAU,eAAe,KACjC,KAAK,UAAU,GAAc,IAMjC,OAH8B,OAAzB,EAAM,EAAM,WACf,EAAI,MAAM,MAEL,IACT,CACF,GAGkF,OAA7D,oBAAX,QAAqC,OAAX,OAAkB,OAAO,aAAU,IAChD,oBAAZ,SAAuC,OAAZ,UACpC,EAAI,QAAQ,WAEd,OAAO,QAAU,IAEjB,EAAI,OAAO,EACX,OAAO,mBAAqB,EAG/B,GAAE,KAAK","file":"/npm/coffeescript-mixins-lodash@0.0.6/lib/mixins.js","sourceRoot":"","sourcesContent":["/**\n * Minified by jsDelivr using Terser v5.39.0.\n * Original file: /npm/coffeescript-mixins-lodash@0.0.6/lib/mixins.js\n *\n * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files\n */\n","// Generated by CoffeeScript 1.10.0\n\n/**\n * Include a class or object with functions into another class.\n * @param  {Object} mixin               [description]\n * @param  {Boolean} wrapOldFunction  [description]\n */\n\n(function() {\n  var _, exports;\n\n  exports = {\n    bootstrap: function() {\n      return Function.prototype.include = function(mixin) {\n        var funct, methodName, ref, tmpSuper;\n        if (!mixin) {\n          throw 'Supplied mixin was not found';\n        }\n        if (!_) {\n          throw 'Lodash was not found';\n        }\n        if (_.isFunction(mixin)) {\n          mixin = mixin.prototype;\n        }\n        if (this.__super__) {\n          tmpSuper = _.extend({}, this.__super__);\n          tmpSuper.constructor = this.__super__.constructor;\n        }\n        this.__super__ = tmpSuper || {};\n        for (methodName in mixin) {\n          funct = mixin[methodName];\n          if (!(methodName !== 'included')) {\n            continue;\n          }\n          this.__super__[methodName] = funct;\n          if (!this.prototype.hasOwnProperty(methodName)) {\n            this.prototype[methodName] = funct;\n          }\n        }\n        if ((ref = mixin.included) != null) {\n          ref.apply(this);\n        }\n        return this;\n      };\n    }\n  };\n\n  if ((typeof module !== \"undefined\" && module !== null ? module.exports : void 0) != null) {\n    if (typeof require !== \"undefined\" && require !== null) {\n      _ = require('lodash');\n    }\n    module.exports = exports;\n  } else {\n    _ = window._;\n    window.CoffeeScriptMixins = exports;\n  }\n\n}).call(this);\n"]}