{:uriI"file:///Users/etewiah/.asdf/installs/ruby/2.6.5/lib/ruby/gems/2.6.0/bundler/gems/paloma-40a84f5dfa5d/vendor/assets/javascripts/paloma/controller_class_factory.js?type=application/javascript&pipeline=self&id=56970187aa72f61552c9aaf2e17299581ed8b89d7a6400566a356aaa31bdf10e:ET:load_pathI"|/Users/etewiah/.asdf/installs/ruby/2.6.5/lib/ruby/gems/2.6.0/bundler/gems/paloma-40a84f5dfa5d/vendor/assets/javascripts;T: filenameI"š/Users/etewiah/.asdf/installs/ruby/2.6.5/lib/ruby/gems/2.6.0/bundler/gems/paloma-40a84f5dfa5d/vendor/assets/javascripts/paloma/controller_class_factory.js;T: nameI"$paloma/controller_class_factory;T:logical_pathI",paloma/controller_class_factory.self.js;T:content_typeI"application/javascript;T: sourceI"Paloma.ControllerClassFactory = function(){ this._controllers = {}; this._inheritanceSymbol = '<'; }; Paloma.ControllerClassFactory.prototype = { make: function(controllerAndParent, prototype){ var parts = this._extractParts(controllerAndParent), controller = this._getOrCreate( parts.controller ); this._updatePrototype(controller, prototype); this._updateParent(controller, parts.parent); return controller; }, get: function(name){ return this._controllers[name] || null; }, _updateParent: function(controller, parent){ if (!parent) return; var parentClass = this.get(parent); if (parentClass) controller.prototype.__proto__ = parentClass.prototype; }, _updatePrototype: function(controller, newPrototype){ for (var k in newPrototype) if (newPrototype.hasOwnProperty(k)) controller.prototype[k] = newPrototype[k]; }, _getOrCreate: function(name){ return this.get(name) || this._create(name); }, _create: function(name){ var controller = function(params){ Paloma.BaseController.call(this, params); }; controller.prototype.__proto__ = Paloma.BaseController.prototype; this._controllers[name] = controller; return controller; }, _extractParts: function(controllerAndParent){ var parts = controllerAndParent.split( this._inheritanceSymbol ); var controller = parts[0].trim(), parent = parts[1]; if (parent) parent = parent.trim(); return {controller: controller, parent: parent}; } }; ;T: metadata{:dependencieso:Set: @hash} I"environment-version;TTI"environment-paths;TTI"rails-env;TTI"Zprocessors:type=application/javascript&file_type=application/javascript&pipeline=self;TTI"¨file-digest:///Users/etewiah/.asdf/installs/ruby/2.6.5/lib/ruby/gems/2.6.0/bundler/gems/paloma-40a84f5dfa5d/vendor/assets/javascripts/paloma/controller_class_factory.js;TTF: requiredo;;}F: stubbedo;;}F: linkso;;}F: to_loado;;}F: to_linko;;}F:map{ I" version;TiI" file;TI"'paloma/controller_class_factory.js;TI" mappings;TI"0AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;TI" sources;T[I"'controller_class_factory.source.js;TI" names;T[I"x_sprockets_linecount;TiB: charsetI" utf-8;F: digest"%Ér·ÀI¨|ãäŒeœýÚ#ß$¤Mä²Ù¡?‰l: lengthi:dependencies_digest"%06‘¤kƒÌýd¡`Ž>\ aìfëU˜›ÔI¯È?ôte:idI"E56970187aa72f61552c9aaf2e17299581ed8b89d7a6400566a356aaa31bdf10e;F