1 /*! jQuery UI - v1.11.4 - 2015-03-13
3 * Copyright jQuery Foundation and other contributors; Licensed MIT */
4 (function(t
){"function"==typeof define
&&define
.amd
?define(["jquery","./effect"],t
):t(jQuery
)})(function(t
){return t
.effects
.effect
.clip=function(e
,i
){var s
,n
,o
,a
=t(this),r
=["position","top","bottom","left","right","height","width"],h
=t
.effects
.setMode(a
,e
.mode
||"hide"),l
="show"===h
,c
=e
.direction
||"vertical",u
="vertical"===c
,d
=u
?"height":"width",p
=u
?"top":"left",f
={};t
.effects
.save(a
,r
),a
.show(),s
=t
.effects
.createWrapper(a
).css({overflow
:"hidden"}),n
="IMG"===a
[0].tagName
?s
:a
,o
=n
[d
](),l
&&(n
.css(d
,0),n
.css(p
,o
/2)),f
[d
]=l
?o
:0,f
[p
]=l
?0:o
/2,n
.animate(f
,{queue
:!1,duration
:e
.duration
,easing
:e
.easing
,complete:function(){l
||a
.hide(),t
.effects
.restore(a
,r
),t
.effects
.removeWrapper(a
),i()}})}});