{:uriI"file:///home/ellen/.rvm/gems/ruby-2.5.3/gems/bootstrap-sass-3.4.1/assets/javascripts/bootstrap/alert.js?type=application/javascript&pipeline=self&id=eacd419eb21cc07b2e4083d33008a656e7272862fc8a6c9cedd94e0e4248394c:ET:load_pathI"R/home/ellen/.rvm/gems/ruby-2.5.3/gems/bootstrap-sass-3.4.1/assets/javascripts;T: filenameI"e/home/ellen/.rvm/gems/ruby-2.5.3/gems/bootstrap-sass-3.4.1/assets/javascripts/bootstrap/alert.js;T: nameI"bootstrap/alert;T:logical_pathI"bootstrap/alert.self.js;T:content_typeI"application/javascript;T: sourceI"! /* ======================================================================== * Bootstrap: alert.js v3.4.1 * https://getbootstrap.com/docs/3.4/javascript/#alerts * ======================================================================== * Copyright 2011-2019 Twitter, Inc. * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) * ======================================================================== */ +function ($) { 'use strict'; // ALERT CLASS DEFINITION // ====================== var dismiss = '[data-dismiss="alert"]' var Alert = function (el) { $(el).on('click', dismiss, this.close) } Alert.VERSION = '3.4.1' Alert.TRANSITION_DURATION = 150 Alert.prototype.close = function (e) { var $this = $(this) var selector = $this.attr('data-target') if (!selector) { selector = $this.attr('href') selector = selector && selector.replace(/.*(?=#[^\s]*$)/, '') // strip for ie7 } selector = selector === '#' ? [] : selector var $parent = $(document).find(selector) if (e) e.preventDefault() if (!$parent.length) { $parent = $this.closest('.alert') } $parent.trigger(e = $.Event('close.bs.alert')) if (e.isDefaultPrevented()) return $parent.removeClass('in') function removeElement() { // detach from parent, fire event then clean up data $parent.detach().trigger('closed.bs.alert').remove() } $.support.transition && $parent.hasClass('fade') ? $parent .one('bsTransitionEnd', removeElement) .emulateTransitionEnd(Alert.TRANSITION_DURATION) : removeElement() } // ALERT PLUGIN DEFINITION // ======================= function Plugin(option) { return this.each(function () { var $this = $(this) var data = $this.data('bs.alert') if (!data) $this.data('bs.alert', (data = new Alert(this))) if (typeof option == 'string') data[option].call($this) }) } var old = $.fn.alert $.fn.alert = Plugin $.fn.alert.Constructor = Alert // ALERT NO CONFLICT // ================= $.fn.alert.noConflict = function () { $.fn.alert = old return this } // ALERT DATA-API // ============== $(document).on('click.bs.alert.data-api', dismiss, Alert.prototype.close) }(jQuery); ;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"sfile-digest:///home/ellen/.rvm/gems/ruby-2.5.3/gems/bootstrap-sass-3.4.1/assets/javascripts/bootstrap/alert.js;TTF: requiredo;;}F: stubbedo;;}F: linkso;;}F: charsetI" utf-8;F: digest"%|z7x(M9Z m~q()&T : lengthi! :dependencies_digest"%1&?7CrE|~Q*=c`u&!M:idI"Eeacd419eb21cc07b2e4083d33008a656e7272862fc8a6c9cedd94e0e4248394c;F: mtimel+q\