/*! * jQuery UI Effects Scale 1.13.3 * https://jqueryui.com * * Copyright OpenJS Foundation and other contributors * Released under the MIT license. * https://jquery.org/license */ (e=>{"function"==typeof define&&define.amd?define(["jquery","../version","../effect","./effect-size"],e):e(jQuery)})(function(n){return n.effects.define("scale",function(e,f){var t=n(this),i=e.mode,i=parseInt(e.percent,10)||(0===parseInt(e.percent,10)||"effect"!==i?0:100),t=n.extend(!0,{from:n.effects.scaledDimensions(t),to:n.effects.scaledDimensions(t,i,e.direction||"both"),origin:e.origin||["middle","center"]},e);e.fade&&(t.from.opacity=1,t.to.opacity=0),n.effects.effect.size.call(this,t,f)})});