vendor: 5,883 bytes, lines 1-120
1! function( a ) { 2 "use strict"; 3 4 function eewpbBootstrap() { 5 var a = document.createElement( "bootstrap" ), 6 b = { 7 WebkitTransition: "webkitTransitionEnd", 8 MozTransition: "transitionend", 9 OTransition: "oTransitionEnd otransitionend", 10 transition: "transitionend" 11 }; 12 for ( var c in b ) 13 if ( void 0 !== a.style[ c ] ) return { 14 end: b[ c ] 15 }; 16 return !1 17 } 18 a.fn.emulateTransitionEnd = function( b ) { 19 var c = !1, 20 d = this; 21 a( this ).one( "bsTransitionEnd", function() { 22 c = !0 23 } ); 24 var e = function() { 25 c || a( d ).trigger( a.support.transition.end ) 26 }; 27 return setTimeout( e, b ), this 28 }, a( function() { 29 a.support.transition = eewpbBootstrap(), a.support.transition && ( a.event.special.bsTransitionEnd = { 30 bindType: a.support.transition.end, 31 delegateType: a.support.transition.end, 32 handle: function( b ) { 33 if ( a( b.target ).is( this ) ) return b.handleObj.handler.apply( this, arguments ) 34 } 35 } ) 36 } ) 37}( jQuery ); 38! function(t) { 39 "use strict"; 40 var e = function(e, o) { 41 this.options = o, this.$element = t(e), this.$backdrop = "", this.isShown = null, this.options.remote && this.$element.find(".modal-content").load(this.options.remote, t.proxy(function() { 42 this.$element.trigger("loaded.bs.modal") 43 }, this)) 44 }; 45 e.DEFAULTS = { 46 backdrop: !0, 47 keyboard: !0, 48 show: !0 49 }, e.prototype.toggle = function(t) { 50 return this[this.isShown ? "hide" : "show"](t) 51 }, e.prototype.show = function(e) { 52 var o = this, 53 s = t.Event("show.bs.modal", { 54 relatedTarget: e 55 }); 56 this.$element.trigger(s), this.isShown || s.isDefaultPrevented() || (this.isShown = !0, this.escape(), this.$element.on("click.dismiss.bs.modal", '[data-dismiss="modal"]', t.proxy(this.hide, this)), this.backdrop(function() { 57 var s = t.support.transition && o.$element.hasClass("fade"); 58 o.$element.parent().length || o.$element.appendTo(document.body), o.$element.show().css('display', 'flex').scrollTop(0), s && o.$element[0].offsetWidth, o.$element.addClass("in").attr("aria-hidden", !1), o.enforceFocus(); 59 var i = t.Event("shown.bs.modal", { 60 relatedTarget: e 61 }); 62 s ? o.$element.find(".modal-dialog").one(t.support.transition.end, function() { 63 o.$element.focus().trigger(i) 64 }).emulateTransitionEnd(300) : o.$element.focus().trigger(i) 65 })) 66 }, e.prototype.hide = function(e) { 67 var $this = this; 68 e && e.preventDefault(), e = t.Event("hide.bs.modal"), this.$element.trigger(e), this.isShown && !e.isDefaultPrevented() && (this.isShown = !1, this.escape(), t(document).off("focusin.bs.modal"), this.$element.removeClass("in").attr("aria-hidden", !0).off("click.dismiss.bs.modal"), t.support.transition && this.$element.hasClass("fade") ? this.$element.one(t.support.transition.end, t.proxy(this.hideModal, this)).emulateTransitionEnd(300) : setTimeout( function() { $this.hideModal() }, 1000 ) ) 69 }, e.prototype.enforceFocus = function() { 70 t(document).off("focusin.bs.modal").on("focusin.bs.modal", t.proxy(function(t) { 71 this.$element[0] === t.target || this.$element.has(t.target).length || this.$element.focus() 72 }, this)) 73 }, e.prototype.escape = function() { 74 this.isShown && this.options.keyboard ? this.$element.on("keyup.dismiss.bs.modal", t.proxy(function(t) { 75 27 == t.which && this.hide() 76 }, this)) : this.isShown || this.$element.off("keyup.dismiss.bs.modal") 77 }, e.prototype.hideModal = function() { 78 var t = this; 79 this.$element.hide(), this.backdrop(function() { 80 t.removeBackdrop(), t.$element.trigger("hidden.bs.modal") 81 }) 82 }, e.prototype.removeBackdrop = function() { 83 this.$backdrop && this.$backdrop.remove(), this.$backdrop = null 84 }, e.prototype.backdrop = function(e) { 85 var o = this.$element.hasClass("fade") ? "fade" : ""; 86 if (this.isShown && this.options.backdrop) { 87 var s = t.support.transition && o; 88 if (this.$backdrop = t('<div class="modal-backdrop ' + o + '" />').appendTo(document.body), this.$element.on("click.dismiss.bs.modal", t.proxy(function(t) { 89 t.target === t.currentTarget && ("static" == this.options.backdrop ? this.$element[0].focus.call(this.$element[0]) : this.hide.call(this)) 90 }, this)), s && this.$backdrop[0].offsetWidth, this.$backdrop.addClass("in"), !e) return; 91 s ? this.$backdrop.one(t.support.transition.end, e).emulateTransitionEnd(150) : e() 92 } else !this.isShown && this.$backdrop ? (this.$backdrop.removeClass("in"), t.support.transition && this.$element.hasClass("fade") ? this.$backdrop.one(t.support.transition.end, e).emulateTransitionEnd(150) : e()) : e && e() 93 }; 94 var o = t.fn.modal; 95 t.fn.modal = function(o, s) { 96 return this.each(function() { 97 var i = t(this), 98 n = i.data("bs.modal"), 99 a = t.extend({}, e.DEFAULTS, i.data(), "object" == typeof o && o); 100 n || i.data("bs.modal", n = new e(this, a)), "string" == typeof o ? n[o](s) : a.show && n.show(s) 101 }) 102 }, t.fn.modal.Constructor = e, t.fn.modal.noConflict = function() { 103 return t.fn.modal = o, this 104 }, t(document).on("click.bs.modal.data-api", '[data-toggle="modal"]', function(e) { 105 var o = t(this), 106 s = o.attr("href"), 107 i = o.attr("data-target") || s && s.replace(/.*(?=#[^\s]+$)/, ""), 108 n = t(document).find(i), 109 a = n.data("bs.modal") ? "toggle" : t.extend({ 110 remote: !/#/.test(s) && s 111 }, n.data(), o.data()); 112 o.is("a") && e.preventDefault(), n.modal(a, this).one("hide", function() { 113 o.is(":visible") && o.focus() 114 }) 115 }), t(document).on("show.bs.modal", ".modal", function() { 116 t(document.body).addClass("modal-open") 117 }).on("hidden.bs.modal", ".modal", function() { 118 t(document.body).removeClass("modal-open") 119 }) 120}(jQuery);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.