{I" class:ETI"ProcessedAsset;FI"logical_path;TI"jquery-ui/effect-scale.js;FI" pathname;TI"i/home/strzibny/.gem/ruby/gems/jquery-ui-rails-5.0.5/app/assets/javascripts/jquery-ui/effect-scale.js;FI"content_type;TI"application/javascript;TI" mtime;Tl+p@wUI" length;Ti×I" digest;TI"%ed87fc67a777656422dc7975b131eb56;FI" source;TI"× /*! * jQuery UI Effects Scale 1.11.4 * http://jqueryui.com * * Copyright jQuery Foundation and other contributors * Released under the MIT license. * http://jquery.org/license * * http://api.jqueryui.com/scale-effect/ */ (function( factory ) { if ( typeof define === "function" && define.amd ) { // AMD. Register as an anonymous module. define([ "jquery", "./effect", "./effect-size" ], factory ); } else { // Browser globals factory( jQuery ); } }(function( $ ) { return $.effects.effect.scale = function( o, done ) { // Create element var el = $( this ), options = $.extend( true, {}, o ), mode = $.effects.setMode( el, o.mode || "effect" ), percent = parseInt( o.percent, 10 ) || ( parseInt( o.percent, 10 ) === 0 ? 0 : ( mode === "hide" ? 0 : 100 ) ), direction = o.direction || "both", origin = o.origin, original = { height: el.height(), width: el.width(), outerHeight: el.outerHeight(), outerWidth: el.outerWidth() }, factor = { y: direction !== "horizontal" ? (percent / 100) : 1, x: direction !== "vertical" ? (percent / 100) : 1 }; // We are going to pass this effect to the size effect: options.effect = "size"; options.queue = false; options.complete = done; // Set default origin and restore for show/hide if ( mode !== "effect" ) { options.origin = origin || [ "middle", "center" ]; options.restore = true; } options.from = o.from || ( mode === "show" ? { height: 0, width: 0, outerHeight: 0, outerWidth: 0 } : original ); options.to = { height: original.height * factor.y, width: original.width * factor.x, outerHeight: original.outerHeight * factor.y, outerWidth: original.outerWidth * factor.x }; // Fade option to support puff if ( options.fade ) { if ( mode === "show" ) { options.from.opacity = 0; options.to.opacity = 1; } if ( mode === "hide" ) { options.from.opacity = 1; options.to.opacity = 0; } } // Animate el.effect( options ); }; })); ;TI"dependency_digest;TI"%58713cd25509363b29046122c1834868;FI"required_paths;T[I"c/home/strzibny/.gem/ruby/gems/jquery-ui-rails-5.0.5/app/assets/javascripts/jquery-ui/effect.js;FI"h/home/strzibny/.gem/ruby/gems/jquery-ui-rails-5.0.5/app/assets/javascripts/jquery-ui/effect-size.js;FI"i/home/strzibny/.gem/ruby/gems/jquery-ui-rails-5.0.5/app/assets/javascripts/jquery-ui/effect-scale.js;FI"dependency_paths;T[{I" path;TI"i/home/strzibny/.gem/ruby/gems/jquery-ui-rails-5.0.5/app/assets/javascripts/jquery-ui/effect-scale.js;F@I"2015-06-09T21:37:20+02:00;T@I"%8d5f2a14634f886f33e7edfa1ce74afc;F{@I"c/home/strzibny/.gem/ruby/gems/jquery-ui-rails-5.0.5/app/assets/javascripts/jquery-ui/effect.js;F@I"2015-06-09T21:37:20+02:00;T@I"%e43fd2de269b195628adc61303027d51;F{@I"h/home/strzibny/.gem/ruby/gems/jquery-ui-rails-5.0.5/app/assets/javascripts/jquery-ui/effect-size.js;F@I"2015-06-09T21:37:20+02:00;T@I"%f3078be39f81537950d8249ab06d6b02;FI" _version;TI"%2be930bcbfd3c3e00190e2193dda5c7c;F