<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>[20492] trunk/wp-includes: jQuery UI 1.8.19.</title>
</head>
<body>

<style type="text/css"><!--
#msg dl.meta { border: 1px #006 solid; background: #369; padding: 6px; color: #fff; }
#msg dl.meta dt { float: left; width: 6em; font-weight: bold; }
#msg dt:after { content:':';}
#msg dl, #msg dt, #msg ul, #msg li, #header, #footer, #logmsg { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt;  }
#msg dl a { font-weight: bold}
#msg dl a:link    { color:#fc3; }
#msg dl a:active  { color:#ff0; }
#msg dl a:visited { color:#cc6; }
h3 { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; font-weight: bold; }
#msg pre { overflow: auto; background: #ffc; border: 1px #fa0 solid; padding: 6px; }
#logmsg { background: #ffc; border: 1px #fa0 solid; padding: 1em 1em 0 1em; }
#logmsg p, #logmsg pre, #logmsg blockquote { margin: 0 0 1em 0; }
#logmsg p, #logmsg li, #logmsg dt, #logmsg dd { line-height: 14pt; }
#logmsg h1, #logmsg h2, #logmsg h3, #logmsg h4, #logmsg h5, #logmsg h6 { margin: .5em 0; }
#logmsg h1:first-child, #logmsg h2:first-child, #logmsg h3:first-child, #logmsg h4:first-child, #logmsg h5:first-child, #logmsg h6:first-child { margin-top: 0; }
#logmsg ul, #logmsg ol { padding: 0; list-style-position: inside; margin: 0 0 0 1em; }
#logmsg > ul, #logmsg > ol { margin-left: 0; margin: 0 0 1em 0; }
#logmsg pre { background: #eee; padding: 1em; }
#logmsg blockquote { border: 1px solid #fa0; border-left-width: 10px; padding: 1em 1em 0 1em; background: white;}
#logmsg dl { margin: 0; }
#logmsg dt { font-weight: bold; }
#logmsg dd { margin: 0; padding: 0 0 0.5em 0; }
#logmsg dd:before { content:'\00bb';}
#logmsg table { border-spacing: 0px; border-collapse: collapse; border-top: 4px solid #fa0; border-bottom: 1px solid #fa0; background: #fff; }
#logmsg table th { text-align: left; font-weight: normal; padding: 0.2em 0.5em; border-top: 1px dotted #fa0; }
#logmsg table td { text-align: right; border-top: 1px dotted #fa0; padding: 0.2em 0.5em; }
#logmsg table thead th { text-align: center; border-bottom: 1px solid #fa0; }
#logmsg table th.Corner { text-align: left; }
#logmsg hr { border: none 0; border-top: 2px dashed #fa0; height: 1px; }
#header, #footer { color: #fff; background: #636; border: 1px #300 solid; padding: 6px; }
#patch { width: 100%; }
#patch h4 {font-family: verdana,arial,helvetica,sans-serif;font-size:10pt;padding:8px;background:#369;color:#fff;margin:0;}
#patch .propset h4, #patch .binary h4 {margin:0;}
#patch pre {padding:0;line-height:1.2em;margin:0;}
#patch .diff {width:100%;background:#eee;padding: 0 0 10px 0;overflow:auto;}
#patch .propset .diff, #patch .binary .diff  {padding:10px 0;}
#patch span {display:block;padding:0 10px;}
#patch .modfile, #patch .addfile, #patch .delfile, #patch .propset, #patch .binary, #patch .copfile {border:1px solid #ccc;margin:10px 0;}
#patch ins {background:#dfd;text-decoration:none;display:block;padding:0 10px;}
#patch del {background:#fdd;text-decoration:none;display:block;padding:0 10px;}
#patch .lines, .info {color:#888;background:#fff;}
--></style>
<div id="msg">
<dl class="meta">
<dt>Revision</dt> <dd><a href="http://core.trac.wordpress.org/changeset/20492">20492</a></dd>
<dt>Author</dt> <dd>nacin</dd>
<dt>Date</dt> <dd>2012-04-17 16:49:17 +0000 (Tue, 17 Apr 2012)</dd>
</dl>

<h3>Log Message</h3>
<pre>jQuery UI 1.8.19. props ocean90. fixes <a href="http://core.trac.wordpress.org/ticket/20466">#20466</a>.</pre>

<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkwpincludesjsjqueryuijqueryeffectsblindminjs">trunk/wp-includes/js/jquery/ui/jquery.effects.blind.min.js</a></li>
<li><a href="#trunkwpincludesjsjqueryuijqueryeffectsbounceminjs">trunk/wp-includes/js/jquery/ui/jquery.effects.bounce.min.js</a></li>
<li><a href="#trunkwpincludesjsjqueryuijqueryeffectsclipminjs">trunk/wp-includes/js/jquery/ui/jquery.effects.clip.min.js</a></li>
<li><a href="#trunkwpincludesjsjqueryuijqueryeffectscoreminjs">trunk/wp-includes/js/jquery/ui/jquery.effects.core.min.js</a></li>
<li><a href="#trunkwpincludesjsjqueryuijqueryeffectsdropminjs">trunk/wp-includes/js/jquery/ui/jquery.effects.drop.min.js</a></li>
<li><a href="#trunkwpincludesjsjqueryuijqueryeffectsexplodeminjs">trunk/wp-includes/js/jquery/ui/jquery.effects.explode.min.js</a></li>
<li><a href="#trunkwpincludesjsjqueryuijqueryeffectsfademinjs">trunk/wp-includes/js/jquery/ui/jquery.effects.fade.min.js</a></li>
<li><a href="#trunkwpincludesjsjqueryuijqueryeffectsfoldminjs">trunk/wp-includes/js/jquery/ui/jquery.effects.fold.min.js</a></li>
<li><a href="#trunkwpincludesjsjqueryuijqueryeffectshighlightminjs">trunk/wp-includes/js/jquery/ui/jquery.effects.highlight.min.js</a></li>
<li><a href="#trunkwpincludesjsjqueryuijqueryeffectspulsateminjs">trunk/wp-includes/js/jquery/ui/jquery.effects.pulsate.min.js</a></li>
<li><a href="#trunkwpincludesjsjqueryuijqueryeffectsscaleminjs">trunk/wp-includes/js/jquery/ui/jquery.effects.scale.min.js</a></li>
<li><a href="#trunkwpincludesjsjqueryuijqueryeffectsshakeminjs">trunk/wp-includes/js/jquery/ui/jquery.effects.shake.min.js</a></li>
<li><a href="#trunkwpincludesjsjqueryuijqueryeffectsslideminjs">trunk/wp-includes/js/jquery/ui/jquery.effects.slide.min.js</a></li>
<li><a href="#trunkwpincludesjsjqueryuijqueryeffectstransferminjs">trunk/wp-includes/js/jquery/ui/jquery.effects.transfer.min.js</a></li>
<li><a href="#trunkwpincludesjsjqueryuijqueryuiaccordionminjs">trunk/wp-includes/js/jquery/ui/jquery.ui.accordion.min.js</a></li>
<li><a href="#trunkwpincludesjsjqueryuijqueryuiautocompleteminjs">trunk/wp-includes/js/jquery/ui/jquery.ui.autocomplete.min.js</a></li>
<li><a href="#trunkwpincludesjsjqueryuijqueryuibuttonminjs">trunk/wp-includes/js/jquery/ui/jquery.ui.button.min.js</a></li>
<li><a href="#trunkwpincludesjsjqueryuijqueryuicoreminjs">trunk/wp-includes/js/jquery/ui/jquery.ui.core.min.js</a></li>
<li><a href="#trunkwpincludesjsjqueryuijqueryuidatepickerminjs">trunk/wp-includes/js/jquery/ui/jquery.ui.datepicker.min.js</a></li>
<li><a href="#trunkwpincludesjsjqueryuijqueryuidialogminjs">trunk/wp-includes/js/jquery/ui/jquery.ui.dialog.min.js</a></li>
<li><a href="#trunkwpincludesjsjqueryuijqueryuidraggableminjs">trunk/wp-includes/js/jquery/ui/jquery.ui.draggable.min.js</a></li>
<li><a href="#trunkwpincludesjsjqueryuijqueryuidroppableminjs">trunk/wp-includes/js/jquery/ui/jquery.ui.droppable.min.js</a></li>
<li><a href="#trunkwpincludesjsjqueryuijqueryuimouseminjs">trunk/wp-includes/js/jquery/ui/jquery.ui.mouse.min.js</a></li>
<li><a href="#trunkwpincludesjsjqueryuijqueryuipositionminjs">trunk/wp-includes/js/jquery/ui/jquery.ui.position.min.js</a></li>
<li><a href="#trunkwpincludesjsjqueryuijqueryuiprogressbarminjs">trunk/wp-includes/js/jquery/ui/jquery.ui.progressbar.min.js</a></li>
<li><a href="#trunkwpincludesjsjqueryuijqueryuiresizableminjs">trunk/wp-includes/js/jquery/ui/jquery.ui.resizable.min.js</a></li>
<li><a href="#trunkwpincludesjsjqueryuijqueryuiselectableminjs">trunk/wp-includes/js/jquery/ui/jquery.ui.selectable.min.js</a></li>
<li><a href="#trunkwpincludesjsjqueryuijqueryuisliderminjs">trunk/wp-includes/js/jquery/ui/jquery.ui.slider.min.js</a></li>
<li><a href="#trunkwpincludesjsjqueryuijqueryuisortableminjs">trunk/wp-includes/js/jquery/ui/jquery.ui.sortable.min.js</a></li>
<li><a href="#trunkwpincludesjsjqueryuijqueryuitabsminjs">trunk/wp-includes/js/jquery/ui/jquery.ui.tabs.min.js</a></li>
<li><a href="#trunkwpincludesjsjqueryuijqueryuiwidgetminjs">trunk/wp-includes/js/jquery/ui/jquery.ui.widget.min.js</a></li>
<li><a href="#trunkwpincludesscriptloaderphp">trunk/wp-includes/script-loader.php</a></li>
</ul>

</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkwpincludesjsjqueryuijqueryeffectsblindminjs"></a>
<div class="modfile"><h4>Modified: trunk/wp-includes/js/jquery/ui/jquery.effects.blind.min.js (20491 => 20492)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-includes/js/jquery/ui/jquery.effects.blind.min.js        2012-04-17 03:41:07 UTC (rev 20491)
+++ trunk/wp-includes/js/jquery/ui/jquery.effects.blind.min.js        2012-04-17 16:49:17 UTC (rev 20492)
</span><span class="lines">@@ -1,14 +1,5 @@
</span><del>-/*
- * jQuery UI Effects Blind 1.8.16
- *
- * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
- * Dual licensed under the MIT or GPL Version 2 licenses.
- * http://jquery.org/license
- *
- * http://docs.jquery.com/UI/Effects/Blind
- *
- * Depends:
- *        jquery.effects.core.js
- */
-(function(b){b.effects.blind=function(c){return this.queue(function(){var a=b(this),g=[&quot;position&quot;,&quot;top&quot;,&quot;bottom&quot;,&quot;left&quot;,&quot;right&quot;],f=b.effects.setMode(a,c.options.mode||&quot;hide&quot;),d=c.options.direction||&quot;vertical&quot;;b.effects.save(a,g);a.show();var e=b.effects.createWrapper(a).css({overflow:&quot;hidden&quot;}),h=d==&quot;vertical&quot;?&quot;height&quot;:&quot;width&quot;;d=d==&quot;vertical&quot;?e.height():e.width();f==&quot;show&quot;&amp;&amp;e.css(h,0);var i={};i[h]=f==&quot;show&quot;?d:0;e.animate(i,c.duration,c.options.easing,function(){f==&quot;hide&quot;&amp;&amp;a.hide();b.effects.restore(a,
-g);b.effects.removeWrapper(a);c.callback&amp;&amp;c.callback.apply(a[0],arguments);a.dequeue()})})}})(jQuery);
</del><ins>+/*! jQuery UI - v1.8.19 - 2012-04-16
+* https://github.com/jquery/jquery-ui
+* Includes: jquery.effects.blind.js
+* Copyright (c) 2012 AUTHORS.txt; Licensed MIT, GPL */
+(function(a,b){a.effects.blind=function(b){return this.queue(function(){var c=a(this),d=[&quot;position&quot;,&quot;top&quot;,&quot;bottom&quot;,&quot;left&quot;,&quot;right&quot;],e=a.effects.setMode(c,b.options.mode||&quot;hide&quot;),f=b.options.direction||&quot;vertical&quot;;a.effects.save(c,d),c.show();var g=a.effects.createWrapper(c).css({overflow:&quot;hidden&quot;}),h=f==&quot;vertical&quot;?&quot;height&quot;:&quot;width&quot;,i=f==&quot;vertical&quot;?g.height():g.width();e==&quot;show&quot;&amp;&amp;g.css(h,0);var j={};j[h]=e==&quot;show&quot;?i:0,g.animate(j,b.duration,b.options.easing,function(){e==&quot;hide&quot;&amp;&amp;c.hide(),a.effects.restore(c,d),a.effects.removeWrapper(c),b.callback&amp;&amp;b.callback.apply(c[0],arguments),c.dequeue()})})}})(jQuery)
</ins><span class="cx">\ No newline at end of file
</span></span></pre></div>
<a id="trunkwpincludesjsjqueryuijqueryeffectsbounceminjs"></a>
<div class="modfile"><h4>Modified: trunk/wp-includes/js/jquery/ui/jquery.effects.bounce.min.js (20491 => 20492)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-includes/js/jquery/ui/jquery.effects.bounce.min.js        2012-04-17 03:41:07 UTC (rev 20491)
+++ trunk/wp-includes/js/jquery/ui/jquery.effects.bounce.min.js        2012-04-17 16:49:17 UTC (rev 20492)
</span><span class="lines">@@ -1,15 +1,5 @@
</span><del>-/*
- * jQuery UI Effects Bounce 1.8.16
- *
- * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
- * Dual licensed under the MIT or GPL Version 2 licenses.
- * http://jquery.org/license
- *
- * http://docs.jquery.com/UI/Effects/Bounce
- *
- * Depends:
- *        jquery.effects.core.js
- */
-(function(e){e.effects.bounce=function(b){return this.queue(function(){var a=e(this),l=[&quot;position&quot;,&quot;top&quot;,&quot;bottom&quot;,&quot;left&quot;,&quot;right&quot;],h=e.effects.setMode(a,b.options.mode||&quot;effect&quot;),d=b.options.direction||&quot;up&quot;,c=b.options.distance||20,m=b.options.times||5,i=b.duration||250;/show|hide/.test(h)&amp;&amp;l.push(&quot;opacity&quot;);e.effects.save(a,l);a.show();e.effects.createWrapper(a);var f=d==&quot;up&quot;||d==&quot;down&quot;?&quot;top&quot;:&quot;left&quot;;d=d==&quot;up&quot;||d==&quot;left&quot;?&quot;pos&quot;:&quot;neg&quot;;c=b.options.distance||(f==&quot;top&quot;?a.outerHeight({margin:true})/3:a.outerWidth({margin:true})/
-3);if(h==&quot;show&quot;)a.css(&quot;opacity&quot;,0).css(f,d==&quot;pos&quot;?-c:c);if(h==&quot;hide&quot;)c/=m*2;h!=&quot;hide&quot;&amp;&amp;m--;if(h==&quot;show&quot;){var g={opacity:1};g[f]=(d==&quot;pos&quot;?&quot;+=&quot;:&quot;-=&quot;)+c;a.animate(g,i/2,b.options.easing);c/=2;m--}for(g=0;g&lt;m;g++){var j={},k={};j[f]=(d==&quot;pos&quot;?&quot;-=&quot;:&quot;+=&quot;)+c;k[f]=(d==&quot;pos&quot;?&quot;+=&quot;:&quot;-=&quot;)+c;a.animate(j,i/2,b.options.easing).animate(k,i/2,b.options.easing);c=h==&quot;hide&quot;?c*2:c/2}if(h==&quot;hide&quot;){g={opacity:0};g[f]=(d==&quot;pos&quot;?&quot;-=&quot;:&quot;+=&quot;)+c;a.animate(g,i/2,b.options.easing,function(){a.hide();e.effects.restore(a,l);e.effects.removeWrapper(a);
-b.callback&amp;&amp;b.callback.apply(this,arguments)})}else{j={};k={};j[f]=(d==&quot;pos&quot;?&quot;-=&quot;:&quot;+=&quot;)+c;k[f]=(d==&quot;pos&quot;?&quot;+=&quot;:&quot;-=&quot;)+c;a.animate(j,i/2,b.options.easing).animate(k,i/2,b.options.easing,function(){e.effects.restore(a,l);e.effects.removeWrapper(a);b.callback&amp;&amp;b.callback.apply(this,arguments)})}a.queue(&quot;fx&quot;,function(){a.dequeue()});a.dequeue()})}})(jQuery);
</del><ins>+/*! jQuery UI - v1.8.19 - 2012-04-16
+* https://github.com/jquery/jquery-ui
+* Includes: jquery.effects.bounce.js
+* Copyright (c) 2012 AUTHORS.txt; Licensed MIT, GPL */
+(function(a,b){a.effects.bounce=function(b){return this.queue(function(){var c=a(this),d=[&quot;position&quot;,&quot;top&quot;,&quot;bottom&quot;,&quot;left&quot;,&quot;right&quot;],e=a.effects.setMode(c,b.options.mode||&quot;effect&quot;),f=b.options.direction||&quot;up&quot;,g=b.options.distance||20,h=b.options.times||5,i=b.duration||250;/show|hide/.test(e)&amp;&amp;d.push(&quot;opacity&quot;),a.effects.save(c,d),c.show(),a.effects.createWrapper(c);var j=f==&quot;up&quot;||f==&quot;down&quot;?&quot;top&quot;:&quot;left&quot;,k=f==&quot;up&quot;||f==&quot;left&quot;?&quot;pos&quot;:&quot;neg&quot;,g=b.options.distance||(j==&quot;top&quot;?c.outerHeight({margin:!0})/3:c.outerWidth({margin:!0})/3);e==&quot;show&quot;&amp;&amp;c.css(&quot;opacity&quot;,0).css(j,k==&quot;pos&quot;?-g:g),e==&quot;hide&quot;&amp;&amp;(g=g/(h*2)),e!=&quot;hide&quot;&amp;&amp;h--;if(e==&quot;show&quot;){var l={opacity:1};l[j]=(k==&quot;pos&quot;?&quot;+=&quot;:&quot;-=&quot;)+g,c.animate(l,i/2,b.op
 tions.easing),g=g/2,h--}for(var m=0;m&lt;h;m++){var n={},p={};n[j]=(k==&quot;pos&quot;?&quot;-=&quot;:&quot;+=&quot;)+g,p[j]=(k==&quot;pos&quot;?&quot;+=&quot;:&quot;-=&quot;)+g,c.animate(n,i/2,b.options.easing).animate(p,i/2,b.options.easing),g=e==&quot;hide&quot;?g*2:g/2}if(e==&quot;hide&quot;){var l={opacity:0};l[j]=(k==&quot;pos&quot;?&quot;-=&quot;:&quot;+=&quot;)+g,c.animate(l,i/2,b.options.easing,function(){c.hide(),a.effects.restore(c,d),a.effects.removeWrapper(c),b.callback&amp;&amp;b.callback.apply(this,arguments)})}else{var n={},p={};n[j]=(k==&quot;pos&quot;?&quot;-=&quot;:&quot;+=&quot;)+g,p[j]=(k==&quot;pos&quot;?&quot;+=&quot;:&quot;-=&quot;)+g,c.animate(n,i/2,b.options.easing).animate(p,i/2,b.options.easing,function(){a.effects.restore(c,d),a.effects.removeWrapper(c),b.callback&amp;&amp;b.callback.apply(this,arguments)})}c.queue(&quot;fx&quot;,function(){c.dequeue()}),c.dequeue()})}})(jQuery)
</ins><span class="cx">\ No newline at end of file
</span></span></pre></div>
<a id="trunkwpincludesjsjqueryuijqueryeffectsclipminjs"></a>
<div class="modfile"><h4>Modified: trunk/wp-includes/js/jquery/ui/jquery.effects.clip.min.js (20491 => 20492)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-includes/js/jquery/ui/jquery.effects.clip.min.js        2012-04-17 03:41:07 UTC (rev 20491)
+++ trunk/wp-includes/js/jquery/ui/jquery.effects.clip.min.js        2012-04-17 16:49:17 UTC (rev 20492)
</span><span class="lines">@@ -1,14 +1,5 @@
</span><del>-/*
- * jQuery UI Effects Clip 1.8.16
- *
- * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
- * Dual licensed under the MIT or GPL Version 2 licenses.
- * http://jquery.org/license
- *
- * http://docs.jquery.com/UI/Effects/Clip
- *
- * Depends:
- *        jquery.effects.core.js
- */
-(function(b){b.effects.clip=function(e){return this.queue(function(){var a=b(this),i=[&quot;position&quot;,&quot;top&quot;,&quot;bottom&quot;,&quot;left&quot;,&quot;right&quot;,&quot;height&quot;,&quot;width&quot;],f=b.effects.setMode(a,e.options.mode||&quot;hide&quot;),c=e.options.direction||&quot;vertical&quot;;b.effects.save(a,i);a.show();var d=b.effects.createWrapper(a).css({overflow:&quot;hidden&quot;});d=a[0].tagName==&quot;IMG&quot;?d:a;var g={size:c==&quot;vertical&quot;?&quot;height&quot;:&quot;width&quot;,position:c==&quot;vertical&quot;?&quot;top&quot;:&quot;left&quot;};c=c==&quot;vertical&quot;?d.height():d.width();if(f==&quot;show&quot;){d.css(g.size,0);d.css(g.position,
-c/2)}var h={};h[g.size]=f==&quot;show&quot;?c:0;h[g.position]=f==&quot;show&quot;?0:c/2;d.animate(h,{queue:false,duration:e.duration,easing:e.options.easing,complete:function(){f==&quot;hide&quot;&amp;&amp;a.hide();b.effects.restore(a,i);b.effects.removeWrapper(a);e.callback&amp;&amp;e.callback.apply(a[0],arguments);a.dequeue()}})})}})(jQuery);
</del><ins>+/*! jQuery UI - v1.8.19 - 2012-04-16
+* https://github.com/jquery/jquery-ui
+* Includes: jquery.effects.clip.js
+* Copyright (c) 2012 AUTHORS.txt; Licensed MIT, GPL */
+(function(a,b){a.effects.clip=function(b){return this.queue(function(){var c=a(this),d=[&quot;position&quot;,&quot;top&quot;,&quot;bottom&quot;,&quot;left&quot;,&quot;right&quot;,&quot;height&quot;,&quot;width&quot;],e=a.effects.setMode(c,b.options.mode||&quot;hide&quot;),f=b.options.direction||&quot;vertical&quot;;a.effects.save(c,d),c.show();var g=a.effects.createWrapper(c).css({overflow:&quot;hidden&quot;}),h=c[0].tagName==&quot;IMG&quot;?g:c,i={size:f==&quot;vertical&quot;?&quot;height&quot;:&quot;width&quot;,position:f==&quot;vertical&quot;?&quot;top&quot;:&quot;left&quot;},j=f==&quot;vertical&quot;?h.height():h.width();e==&quot;show&quot;&amp;&amp;(h.css(i.size,0),h.css(i.position,j/2));var k={};k[i.size]=e==&quot;show&quot;?j:0,k[i.position]=e==&quot;show&quot;?0:j/2,h.animate(k,{queue:!1,duration:b.duration,easing:b.options.easing,complete:function(){e==&quot;hide&quot;&amp;&amp;c.hide(),a.effects.restore(c,d),a.effects.removeWrapper(c),b.callback&amp;&amp;b.callback
 .apply(c[0],arguments),c.dequeue()}})})}})(jQuery)
</ins><span class="cx">\ No newline at end of file
</span></span></pre></div>
<a id="trunkwpincludesjsjqueryuijqueryeffectscoreminjs"></a>
<div class="modfile"><h4>Modified: trunk/wp-includes/js/jquery/ui/jquery.effects.core.min.js (20491 => 20492)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-includes/js/jquery/ui/jquery.effects.core.min.js        2012-04-17 03:41:07 UTC (rev 20491)
+++ trunk/wp-includes/js/jquery/ui/jquery.effects.core.min.js        2012-04-17 16:49:17 UTC (rev 20492)
</span><span class="lines">@@ -1,31 +1,5 @@
</span><del>-/*
- * jQuery UI Effects 1.8.16
- *
- * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
- * Dual licensed under the MIT or GPL Version 2 licenses.
- * http://jquery.org/license
- *
- * http://docs.jquery.com/UI/Effects/
- */
-jQuery.effects||function(f,j){function m(c){var a;if(c&amp;&amp;c.constructor==Array&amp;&amp;c.length==3)return c;if(a=/rgb\(\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*\)/.exec(c))return[parseInt(a[1],10),parseInt(a[2],10),parseInt(a[3],10)];if(a=/rgb\(\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\%\s*\)/.exec(c))return[parseFloat(a[1])*2.55,parseFloat(a[2])*2.55,parseFloat(a[3])*2.55];if(a=/#([a-fA-F0-9]{2})([a-fA-F0-9]{2})([a-fA-F0-9]{2})/.exec(c))return[parseInt(a[1],
-16),parseInt(a[2],16),parseInt(a[3],16)];if(a=/#([a-fA-F0-9])([a-fA-F0-9])([a-fA-F0-9])/.exec(c))return[parseInt(a[1]+a[1],16),parseInt(a[2]+a[2],16),parseInt(a[3]+a[3],16)];if(/rgba\(0, 0, 0, 0\)/.exec(c))return n.transparent;return n[f.trim(c).toLowerCase()]}function s(c,a){var b;do{b=f.curCSS(c,a);if(b!=&quot;&quot;&amp;&amp;b!=&quot;transparent&quot;||f.nodeName(c,&quot;body&quot;))break;a=&quot;backgroundColor&quot;}while(c=c.parentNode);return m(b)}function o(){var c=document.defaultView?document.defaultView.getComputedStyle(this,null):this.currentStyle,
-a={},b,d;if(c&amp;&amp;c.length&amp;&amp;c[0]&amp;&amp;c[c[0]])for(var e=c.length;e--;){b=c[e];if(typeof c[b]==&quot;string&quot;){d=b.replace(/\-(\w)/g,function(g,h){return h.toUpperCase()});a[d]=c[b]}}else for(b in c)if(typeof c[b]===&quot;string&quot;)a[b]=c[b];return a}function p(c){var a,b;for(a in c){b=c[a];if(b==null||f.isFunction(b)||a in t||/scrollbar/.test(a)||!/color/i.test(a)&amp;&amp;isNaN(parseFloat(b)))delete c[a]}return c}function u(c,a){var b={_:0},d;for(d in a)if(c[d]!=a[d])b[d]=a[d];return b}function k(c,a,b,d){if(typeof c==&quot;object&quot;){d=
-a;b=null;a=c;c=a.effect}if(f.isFunction(a)){d=a;b=null;a={}}if(typeof a==&quot;number&quot;||f.fx.speeds[a]){d=b;b=a;a={}}if(f.isFunction(b)){d=b;b=null}a=a||{};b=b||a.duration;b=f.fx.off?0:typeof b==&quot;number&quot;?b:b in f.fx.speeds?f.fx.speeds[b]:f.fx.speeds._default;d=d||a.complete;return[c,a,b,d]}function l(c){if(!c||typeof c===&quot;number&quot;||f.fx.speeds[c])return true;if(typeof c===&quot;string&quot;&amp;&amp;!f.effects[c])return true;return false}f.effects={};f.each([&quot;backgroundColor&quot;,&quot;borderBottomColor&quot;,&quot;borderLeftColor&quot;,&quot;borderRightColor&quot;,
-&quot;borderTopColor&quot;,&quot;borderColor&quot;,&quot;color&quot;,&quot;outlineColor&quot;],function(c,a){f.fx.step[a]=function(b){if(!b.colorInit){b.start=s(b.elem,a);b.end=m(b.end);b.colorInit=true}b.elem.style[a]=&quot;rgb(&quot;+Math.max(Math.min(parseInt(b.pos*(b.end[0]-b.start[0])+b.start[0],10),255),0)+&quot;,&quot;+Math.max(Math.min(parseInt(b.pos*(b.end[1]-b.start[1])+b.start[1],10),255),0)+&quot;,&quot;+Math.max(Math.min(parseInt(b.pos*(b.end[2]-b.start[2])+b.start[2],10),255),0)+&quot;)&quot;}});var n={aqua:[0,255,255],azure:[240,255,255],beige:[245,245,220],black:[0,
-0,0],blue:[0,0,255],brown:[165,42,42],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgrey:[169,169,169],darkgreen:[0,100,0],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkviolet:[148,0,211],fuchsia:[255,0,255],gold:[255,215,0],green:[0,128,0],indigo:[75,0,130],khaki:[240,230,140],lightblue:[173,216,230],lightcyan:[224,255,255],lightgreen:[144,238,144],lightgrey:[211,
-211,211],lightpink:[255,182,193],lightyellow:[255,255,224],lime:[0,255,0],magenta:[255,0,255],maroon:[128,0,0],navy:[0,0,128],olive:[128,128,0],orange:[255,165,0],pink:[255,192,203],purple:[128,0,128],violet:[128,0,128],red:[255,0,0],silver:[192,192,192],white:[255,255,255],yellow:[255,255,0],transparent:[255,255,255]},q=[&quot;add&quot;,&quot;remove&quot;,&quot;toggle&quot;],t={border:1,borderBottom:1,borderColor:1,borderLeft:1,borderRight:1,borderTop:1,borderWidth:1,margin:1,padding:1};f.effects.animateClass=function(c,a,b,
-d){if(f.isFunction(b)){d=b;b=null}return this.queue(function(){var e=f(this),g=e.attr(&quot;style&quot;)||&quot; &quot;,h=p(o.call(this)),r,v=e.attr(&quot;class&quot;);f.each(q,function(w,i){c[i]&amp;&amp;e[i+&quot;Class&quot;](c[i])});r=p(o.call(this));e.attr(&quot;class&quot;,v);e.animate(u(h,r),{queue:false,duration:a,easing:b,complete:function(){f.each(q,function(w,i){c[i]&amp;&amp;e[i+&quot;Class&quot;](c[i])});if(typeof e.attr(&quot;style&quot;)==&quot;object&quot;){e.attr(&quot;style&quot;).cssText=&quot;&quot;;e.attr(&quot;style&quot;).cssText=g}else e.attr(&quot;style&quot;,g);d&amp;&amp;d.apply(this,arguments);f.dequeue(this)}})})};
-f.fn.extend({_addClass:f.fn.addClass,addClass:function(c,a,b,d){return a?f.effects.animateClass.apply(this,[{add:c},a,b,d]):this._addClass(c)},_removeClass:f.fn.removeClass,removeClass:function(c,a,b,d){return a?f.effects.animateClass.apply(this,[{remove:c},a,b,d]):this._removeClass(c)},_toggleClass:f.fn.toggleClass,toggleClass:function(c,a,b,d,e){return typeof a==&quot;boolean&quot;||a===j?b?f.effects.animateClass.apply(this,[a?{add:c}:{remove:c},b,d,e]):this._toggleClass(c,a):f.effects.animateClass.apply(this,
-[{toggle:c},a,b,d])},switchClass:function(c,a,b,d,e){return f.effects.animateClass.apply(this,[{add:a,remove:c},b,d,e])}});f.extend(f.effects,{version:&quot;1.8.16&quot;,save:function(c,a){for(var b=0;b&lt;a.length;b++)a[b]!==null&amp;&amp;c.data(&quot;ec.storage.&quot;+a[b],c[0].style[a[b]])},restore:function(c,a){for(var b=0;b&lt;a.length;b++)a[b]!==null&amp;&amp;c.css(a[b],c.data(&quot;ec.storage.&quot;+a[b]))},setMode:function(c,a){if(a==&quot;toggle&quot;)a=c.is(&quot;:hidden&quot;)?&quot;show&quot;:&quot;hide&quot;;return a},getBaseline:function(c,a){var b;switch(c[0]){case &quot;top&quot;:b=
-0;break;case &quot;middle&quot;:b=0.5;break;case &quot;bottom&quot;:b=1;break;default:b=c[0]/a.height}switch(c[1]){case &quot;left&quot;:c=0;break;case &quot;center&quot;:c=0.5;break;case &quot;right&quot;:c=1;break;default:c=c[1]/a.width}return{x:c,y:b}},createWrapper:function(c){if(c.parent().is(&quot;.ui-effects-wrapper&quot;))return c.parent();var a={width:c.outerWidth(true),height:c.outerHeight(true),&quot;float&quot;:c.css(&quot;float&quot;)},b=f(&quot;&lt;div&gt;&lt;/div&gt;&quot;).addClass(&quot;ui-effects-wrapper&quot;).css({fontSize:&quot;100%&quot;,background:&quot;transparent&quot;,border:&quot;none&quot;,margin:0,padding:0}),
-d=document.activeElement;c.wrap(b);if(c[0]===d||f.contains(c[0],d))f(d).focus();b=c.parent();if(c.css(&quot;position&quot;)==&quot;static&quot;){b.css({position:&quot;relative&quot;});c.css({position:&quot;relative&quot;})}else{f.extend(a,{position:c.css(&quot;position&quot;),zIndex:c.css(&quot;z-index&quot;)});f.each([&quot;top&quot;,&quot;left&quot;,&quot;bottom&quot;,&quot;right&quot;],function(e,g){a[g]=c.css(g);if(isNaN(parseInt(a[g],10)))a[g]=&quot;auto&quot;});c.css({position:&quot;relative&quot;,top:0,left:0,right:&quot;auto&quot;,bottom:&quot;auto&quot;})}return b.css(a).show()},removeWrapper:function(c){var a,b=document.activeElement;
-if(c.parent().is(&quot;.ui-effects-wrapper&quot;)){a=c.parent().replaceWith(c);if(c[0]===b||f.contains(c[0],b))f(b).focus();return a}return c},setTransition:function(c,a,b,d){d=d||{};f.each(a,function(e,g){unit=c.cssUnit(g);if(unit[0]&gt;0)d[g]=unit[0]*b+unit[1]});return d}});f.fn.extend({effect:function(c){var a=k.apply(this,arguments),b={options:a[1],duration:a[2],callback:a[3]};a=b.options.mode;var d=f.effects[c];if(f.fx.off||!d)return a?this[a](b.duration,b.callback):this.each(function(){b.callback&amp;&amp;b.callback.call(this)});
-return d.call(this,b)},_show:f.fn.show,show:function(c){if(l(c))return this._show.apply(this,arguments);else{var a=k.apply(this,arguments);a[1].mode=&quot;show&quot;;return this.effect.apply(this,a)}},_hide:f.fn.hide,hide:function(c){if(l(c))return this._hide.apply(this,arguments);else{var a=k.apply(this,arguments);a[1].mode=&quot;hide&quot;;return this.effect.apply(this,a)}},__toggle:f.fn.toggle,toggle:function(c){if(l(c)||typeof c===&quot;boolean&quot;||f.isFunction(c))return this.__toggle.apply(this,arguments);else{var a=k.apply(this,
-arguments);a[1].mode=&quot;toggle&quot;;return this.effect.apply(this,a)}},cssUnit:function(c){var a=this.css(c),b=[];f.each([&quot;em&quot;,&quot;px&quot;,&quot;%&quot;,&quot;pt&quot;],function(d,e){if(a.indexOf(e)&gt;0)b=[parseFloat(a),e]});return b}});f.easing.jswing=f.easing.swing;f.extend(f.easing,{def:&quot;easeOutQuad&quot;,swing:function(c,a,b,d,e){return f.easing[f.easing.def](c,a,b,d,e)},easeInQuad:function(c,a,b,d,e){return d*(a/=e)*a+b},easeOutQuad:function(c,a,b,d,e){return-d*(a/=e)*(a-2)+b},easeInOutQuad:function(c,a,b,d,e){if((a/=e/2)&lt;1)return d/
-2*a*a+b;return-d/2*(--a*(a-2)-1)+b},easeInCubic:function(c,a,b,d,e){return d*(a/=e)*a*a+b},easeOutCubic:function(c,a,b,d,e){return d*((a=a/e-1)*a*a+1)+b},easeInOutCubic:function(c,a,b,d,e){if((a/=e/2)&lt;1)return d/2*a*a*a+b;return d/2*((a-=2)*a*a+2)+b},easeInQuart:function(c,a,b,d,e){return d*(a/=e)*a*a*a+b},easeOutQuart:function(c,a,b,d,e){return-d*((a=a/e-1)*a*a*a-1)+b},easeInOutQuart:function(c,a,b,d,e){if((a/=e/2)&lt;1)return d/2*a*a*a*a+b;return-d/2*((a-=2)*a*a*a-2)+b},easeInQuint:function(c,a,b,
-d,e){return d*(a/=e)*a*a*a*a+b},easeOutQuint:function(c,a,b,d,e){return d*((a=a/e-1)*a*a*a*a+1)+b},easeInOutQuint:function(c,a,b,d,e){if((a/=e/2)&lt;1)return d/2*a*a*a*a*a+b;return d/2*((a-=2)*a*a*a*a+2)+b},easeInSine:function(c,a,b,d,e){return-d*Math.cos(a/e*(Math.PI/2))+d+b},easeOutSine:function(c,a,b,d,e){return d*Math.sin(a/e*(Math.PI/2))+b},easeInOutSine:function(c,a,b,d,e){return-d/2*(Math.cos(Math.PI*a/e)-1)+b},easeInExpo:function(c,a,b,d,e){return a==0?b:d*Math.pow(2,10*(a/e-1))+b},easeOutExpo:function(c,
-a,b,d,e){return a==e?b+d:d*(-Math.pow(2,-10*a/e)+1)+b},easeInOutExpo:function(c,a,b,d,e){if(a==0)return b;if(a==e)return b+d;if((a/=e/2)&lt;1)return d/2*Math.pow(2,10*(a-1))+b;return d/2*(-Math.pow(2,-10*--a)+2)+b},easeInCirc:function(c,a,b,d,e){return-d*(Math.sqrt(1-(a/=e)*a)-1)+b},easeOutCirc:function(c,a,b,d,e){return d*Math.sqrt(1-(a=a/e-1)*a)+b},easeInOutCirc:function(c,a,b,d,e){if((a/=e/2)&lt;1)return-d/2*(Math.sqrt(1-a*a)-1)+b;return d/2*(Math.sqrt(1-(a-=2)*a)+1)+b},easeInElastic:function(c,a,b,
-d,e){c=1.70158;var g=0,h=d;if(a==0)return b;if((a/=e)==1)return b+d;g||(g=e*0.3);if(h&lt;Math.abs(d)){h=d;c=g/4}else c=g/(2*Math.PI)*Math.asin(d/h);return-(h*Math.pow(2,10*(a-=1))*Math.sin((a*e-c)*2*Math.PI/g))+b},easeOutElastic:function(c,a,b,d,e){c=1.70158;var g=0,h=d;if(a==0)return b;if((a/=e)==1)return b+d;g||(g=e*0.3);if(h&lt;Math.abs(d)){h=d;c=g/4}else c=g/(2*Math.PI)*Math.asin(d/h);return h*Math.pow(2,-10*a)*Math.sin((a*e-c)*2*Math.PI/g)+d+b},easeInOutElastic:function(c,a,b,d,e){c=1.70158;var g=
-0,h=d;if(a==0)return b;if((a/=e/2)==2)return b+d;g||(g=e*0.3*1.5);if(h&lt;Math.abs(d)){h=d;c=g/4}else c=g/(2*Math.PI)*Math.asin(d/h);if(a&lt;1)return-0.5*h*Math.pow(2,10*(a-=1))*Math.sin((a*e-c)*2*Math.PI/g)+b;return h*Math.pow(2,-10*(a-=1))*Math.sin((a*e-c)*2*Math.PI/g)*0.5+d+b},easeInBack:function(c,a,b,d,e,g){if(g==j)g=1.70158;return d*(a/=e)*a*((g+1)*a-g)+b},easeOutBack:function(c,a,b,d,e,g){if(g==j)g=1.70158;return d*((a=a/e-1)*a*((g+1)*a+g)+1)+b},easeInOutBack:function(c,a,b,d,e,g){if(g==j)g=1.70158;
-if((a/=e/2)&lt;1)return d/2*a*a*(((g*=1.525)+1)*a-g)+b;return d/2*((a-=2)*a*(((g*=1.525)+1)*a+g)+2)+b},easeInBounce:function(c,a,b,d,e){return d-f.easing.easeOutBounce(c,e-a,0,d,e)+b},easeOutBounce:function(c,a,b,d,e){return(a/=e)&lt;1/2.75?d*7.5625*a*a+b:a&lt;2/2.75?d*(7.5625*(a-=1.5/2.75)*a+0.75)+b:a&lt;2.5/2.75?d*(7.5625*(a-=2.25/2.75)*a+0.9375)+b:d*(7.5625*(a-=2.625/2.75)*a+0.984375)+b},easeInOutBounce:function(c,a,b,d,e){if(a&lt;e/2)return f.easing.easeInBounce(c,a*2,0,d,e)*0.5+b;return f.easing.easeOutBounce(c,
-a*2-e,0,d,e)*0.5+d*0.5+b}})}(jQuery);
</del><ins>+/*! jQuery UI - v1.8.19 - 2012-04-16
+* https://github.com/jquery/jquery-ui
+* Includes: jquery.effects.core.js
+* Copyright (c) 2012 AUTHORS.txt; Licensed MIT, GPL */
+jQuery.effects||function(a,b){function c(b){var c;return b&amp;&amp;b.constructor==Array&amp;&amp;b.length==3?b:(c=/rgb\(\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*\)/.exec(b))?[parseInt(c[1],10),parseInt(c[2],10),parseInt(c[3],10)]:(c=/rgb\(\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\%\s*\)/.exec(b))?[parseFloat(c[1])*2.55,parseFloat(c[2])*2.55,parseFloat(c[3])*2.55]:(c=/#([a-fA-F0-9]{2})([a-fA-F0-9]{2})([a-fA-F0-9]{2})/.exec(b))?[parseInt(c[1],16),parseInt(c[2],16),parseInt(c[3],16)]:(c=/#([a-fA-F0-9])([a-fA-F0-9])([a-fA-F0-9])/.exec(b))?[parseInt(c[1]+c[1],16),parseInt(c[2]+c[2],16),parseInt(c[3]+c[3],16)]:(c=/rgba\(0, 0, 0, 0\)/.exec(b))?e.transparent:e[a.trim(b).toLowerCase()]}function d(b,d){var e;do{e=a.curCSS(b,d);if(e!=&quot;&quot;&amp;&amp;e!=&quot;transparent&quot;||a.nodeName(b,&quot;body&quot;))break;d=&quot;backgroundColor&quot;}while(b=b.parentNode);return c(e)}function h(){var a=document.defaultView?docume
 nt.defaultView.getComputedStyle(this,null):this.currentStyle,b={},c,d;if(a&amp;&amp;a.length&amp;&amp;a[0]&amp;&amp;a[a[0]]){var e=a.length;while(e--)c=a[e],typeof a[c]==&quot;string&quot;&amp;&amp;(d=c.replace(/\-(\w)/g,function(a,b){return b.toUpperCase()}),b[d]=a[c])}else for(c in a)typeof a[c]==&quot;string&quot;&amp;&amp;(b[c]=a[c]);return b}function i(b){var c,d;for(c in b)d=b[c],(d==null||a.isFunction(d)||c in g||/scrollbar/.test(c)||!/color/i.test(c)&amp;&amp;isNaN(parseFloat(d)))&amp;&amp;delete b[c];return b}function j(a,b){var c={_:0},d;for(d in b)a[d]!=b[d]&amp;&amp;(c[d]=b[d]);return c}function k(b,c,d,e){typeof b==&quot;object&quot;&amp;&amp;(e=c,d=null,c=b,b=c.effect),a.isFunction(c)&amp;&amp;(e=c,d=null,c={});if(typeof c==&quot;number&quot;||a.fx.speeds[c])e=d,d=c,c={};return a.isFunction(d)&amp;&amp;(e=d,d=null),c=c||{},d=d||c.duration,d=a.fx.off?0:typeof d==&quot;number&quot;?d:d in a.fx.speeds?a.fx.speeds[d]:a.fx.speeds._default,e=e||c.complete,[b,c,d,e]}f
 unction l(b){return!b||typeof b==&quot;number&quot;||a.fx.speeds[b]?!0:typeof b==&quot;string&quot;&amp;&amp;!a.effects[b]?!0:!1}a.effects={},a.each([&quot;backgroundColor&quot;,&quot;borderBottomColor&quot;,&quot;borderLeftColor&quot;,&quot;borderRightColor&quot;,&quot;borderTopColor&quot;,&quot;borderColor&quot;,&quot;color&quot;,&quot;outlineColor&quot;],function(b,e){a.fx.step[e]=function(a){a.colorInit||(a.start=d(a.elem,e),a.end=c(a.end),a.colorInit=!0),a.elem.style[e]=&quot;rgb(&quot;+Math.max(Math.min(parseInt(a.pos*(a.end[0]-a.start[0])+a.start[0],10),255),0)+&quot;,&quot;+Math.max(Math.min(parseInt(a.pos*(a.end[1]-a.start[1])+a.start[1],10),255),0)+&quot;,&quot;+Math.max(Math.min(parseInt(a.pos*(a.end[2]-a.start[2])+a.start[2],10),255),0)+&quot;)&quot;}});var e={aqua:[0,255,255],azure:[240,255,255],beige:[245,245,220],black:[0,0,0],blue:[0,0,255],brown:[165,42,42],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgrey:[169,169,169],darkgreen:[0,100,0],da
 rkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkviolet:[148,0,211],fuchsia:[255,0,255],gold:[255,215,0],green:[0,128,0],indigo:[75,0,130],khaki:[240,230,140],lightblue:[173,216,230],lightcyan:[224,255,255],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightyellow:[255,255,224],lime:[0,255,0],magenta:[255,0,255],maroon:[128,0,0],navy:[0,0,128],olive:[128,128,0],orange:[255,165,0],pink:[255,192,203],purple:[128,0,128],violet:[128,0,128],red:[255,0,0],silver:[192,192,192],white:[255,255,255],yellow:[255,255,0],transparent:[255,255,255]},f=[&quot;add&quot;,&quot;remove&quot;,&quot;toggle&quot;],g={border:1,borderBottom:1,borderColor:1,borderLeft:1,borderRight:1,borderTop:1,borderWidth:1,margin:1,padding:1};a.effects.animateClass=function(b,c,d,e){return a.isFunction(d)&amp;&amp;(e=d,d=null),this.queue(function(){var g=a(this),k=g.attr(
 &quot;style&quot;)||&quot; &quot;,l=i(h.call(this)),m,n=g.attr(&quot;class&quot;)||&quot;&quot;;a.each(f,function(a,c){b[c]&amp;&amp;g[c+&quot;Class&quot;](b[c])}),m=i(h.call(this)),g.attr(&quot;class&quot;,n),g.animate(j(l,m),{queue:!1,duration:c,easing:d,complete:function(){a.each(f,function(a,c){b[c]&amp;&amp;g[c+&quot;Class&quot;](b[c])}),typeof g.attr(&quot;style&quot;)==&quot;object&quot;?(g.attr(&quot;style&quot;).cssText=&quot;&quot;,g.attr(&quot;style&quot;).cssText=k):g.attr(&quot;style&quot;,k),e&amp;&amp;e.apply(this,arguments),a.dequeue(this)}})})},a.fn.extend({_addClass:a.fn.addClass,addClass:function(b,c,d,e){return c?a.effects.animateClass.apply(this,[{add:b},c,d,e]):this._addClass(b)},_removeClass:a.fn.removeClass,removeClass:function(b,c,d,e){return c?a.effects.animateClass.apply(this,[{remove:b},c,d,e]):this._removeClass(b)},_toggleClass:a.fn.toggleClass,toggleClass:function(c,d,e,f,g){return typeof d==&quot;boolean&quot;||d===b?e?a.effects.animateClass.ap
 ply(this,[d?{add:c}:{remove:c},e,f,g]):this._toggleClass(c,d):a.effects.animateClass.apply(this,[{toggle:c},d,e,f])},switchClass:function(b,c,d,e,f){return a.effects.animateClass.apply(this,[{add:c,remove:b},d,e,f])}}),a.extend(a.effects,{version:&quot;1.8.19&quot;,save:function(a,b){for(var c=0;c&lt;b.length;c++)b[c]!==null&amp;&amp;a.data(&quot;ec.storage.&quot;+b[c],a[0].style[b[c]])},restore:function(a,b){for(var c=0;c&lt;b.length;c++)b[c]!==null&amp;&amp;a.css(b[c],a.data(&quot;ec.storage.&quot;+b[c]))},setMode:function(a,b){return b==&quot;toggle&quot;&amp;&amp;(b=a.is(&quot;:hidden&quot;)?&quot;show&quot;:&quot;hide&quot;),b},getBaseline:function(a,b){var c,d;switch(a[0]){case&quot;top&quot;:c=0;break;case&quot;middle&quot;:c=.5;break;case&quot;bottom&quot;:c=1;break;default:c=a[0]/b.height}switch(a[1]){case&quot;left&quot;:d=0;break;case&quot;center&quot;:d=.5;break;case&quot;right&quot;:d=1;break;default:d=a[1]/b.width}return{x:d,y:c}},createWrapper:function(b){if(b
 .parent().is(&quot;.ui-effects-wrapper&quot;))return b.parent();var c={width:b.outerWidth(!0),height:b.outerHeight(!0),&quot;float&quot;:b.css(&quot;float&quot;)},d=a(&quot;&lt;div&gt;&lt;/div&gt;&quot;).addClass(&quot;ui-effects-wrapper&quot;).css({fontSize:&quot;100%&quot;,background:&quot;transparent&quot;,border:&quot;none&quot;,margin:0,padding:0}),e=document.activeElement;return b.wrap(d),(b[0]===e||a.contains(b[0],e))&amp;&amp;a(e).focus(),d=b.parent(),b.css(&quot;position&quot;)==&quot;static&quot;?(d.css({position:&quot;relative&quot;}),b.css({position:&quot;relative&quot;})):(a.extend(c,{position:b.css(&quot;position&quot;),zIndex:b.css(&quot;z-index&quot;)}),a.each([&quot;top&quot;,&quot;left&quot;,&quot;bottom&quot;,&quot;right&quot;],function(a,d){c[d]=b.css(d),isNaN(parseInt(c[d],10))&amp;&amp;(c[d]=&quot;auto&quot;)}),b.css({position:&quot;relative&quot;,top:0,left:0,right:&quot;auto&quot;,bottom:&quot;auto&quot;})),d.css(c).show()},removeWrapper:function(b){v
 ar c,d=document.activeElement;return b.parent().is(&quot;.ui-effects-wrapper&quot;)?(c=b.parent().replaceWith(b),(b[0]===d||a.contains(b[0],d))&amp;&amp;a(d).focus(),c):b},setTransition:function(b,c,d,e){return e=e||{},a.each(c,function(a,c){var f=b.cssUnit(c);f[0]&gt;0&amp;&amp;(e[c]=f[0]*d+f[1])}),e}}),a.fn.extend({effect:function(b,c,d,e){var f=k.apply(this,arguments),g={options:f[1],duration:f[2],callback:f[3]},h=g.options.mode,i=a.effects[b];return a.fx.off||!i?h?this[h](g.duration,g.callback):this.each(function(){g.callback&amp;&amp;g.callback.call(this)}):i.call(this,g)},_show:a.fn.show,show:function(a){if(l(a))return this._show.apply(this,arguments);var b=k.apply(this,arguments);return b[1].mode=&quot;show&quot;,this.effect.apply(this,b)},_hide:a.fn.hide,hide:function(a){if(l(a))return this._hide.apply(this,arguments);var b=k.apply(this,arguments);return b[1].mode=&quot;hide&quot;,this.effect.apply(this,b)},__toggle:a.fn.toggle,toggle:function(b){if(l(b)||typeof b==&
 quot;boolean&quot;||a.isFunction(b))return this.__toggle.apply(this,arguments);var c=k.apply(this,arguments);return c[1].mode=&quot;toggle&quot;,this.effect.apply(this,c)},cssUnit:function(b){var c=this.css(b),d=[];return a.each([&quot;em&quot;,&quot;px&quot;,&quot;%&quot;,&quot;pt&quot;],function(a,b){c.indexOf(b)&gt;0&amp;&amp;(d=[parseFloat(c),b])}),d}}),a.easing.jswing=a.easing.swing,a.extend(a.easing,{def:&quot;easeOutQuad&quot;,swing:function(b,c,d,e,f){return a.easing[a.easing.def](b,c,d,e,f)},easeInQuad:function(a,b,c,d,e){return d*(b/=e)*b+c},easeOutQuad:function(a,b,c,d,e){return-d*(b/=e)*(b-2)+c},easeInOutQuad:function(a,b,c,d,e){return(b/=e/2)&lt;1?d/2*b*b+c:-d/2*(--b*(b-2)-1)+c},easeInCubic:function(a,b,c,d,e){return d*(b/=e)*b*b+c},easeOutCubic:function(a,b,c,d,e){return d*((b=b/e-1)*b*b+1)+c},easeInOutCubic:function(a,b,c,d,e){return(b/=e/2)&lt;1?d/2*b*b*b+c:d/2*((b-=2)*b*b+2)+c},easeInQuart:function(a,b,c,d,e){return d*(b/=e)*b*b*b+c},easeOutQuart:function(a,
 b,c,d,e){return-d*((b=b/e-1)*b*b*b-1)+c},easeInOutQuart:function(a,b,c,d,e){return(b/=e/2)&lt;1?d/2*b*b*b*b+c:-d/2*((b-=2)*b*b*b-2)+c},easeInQuint:function(a,b,c,d,e){return d*(b/=e)*b*b*b*b+c},easeOutQuint:function(a,b,c,d,e){return d*((b=b/e-1)*b*b*b*b+1)+c},easeInOutQuint:function(a,b,c,d,e){return(b/=e/2)&lt;1?d/2*b*b*b*b*b+c:d/2*((b-=2)*b*b*b*b+2)+c},easeInSine:function(a,b,c,d,e){return-d*Math.cos(b/e*(Math.PI/2))+d+c},easeOutSine:function(a,b,c,d,e){return d*Math.sin(b/e*(Math.PI/2))+c},easeInOutSine:function(a,b,c,d,e){return-d/2*(Math.cos(Math.PI*b/e)-1)+c},easeInExpo:function(a,b,c,d,e){return b==0?c:d*Math.pow(2,10*(b/e-1))+c},easeOutExpo:function(a,b,c,d,e){return b==e?c+d:d*(-Math.pow(2,-10*b/e)+1)+c},easeInOutExpo:function(a,b,c,d,e){return b==0?c:b==e?c+d:(b/=e/2)&lt;1?d/2*Math.pow(2,10*(b-1))+c:d/2*(-Math.pow(2,-10*--b)+2)+c},easeInCirc:function(a,b,c,d,e){return-d*(Math.sqrt(1-(b/=e)*b)-1)+c},easeOutCirc:function(a,b,c,d,e){return d*Math.sqrt(1-(b=b/e-1)*b)+
 c},easeInOutCirc:function(a,b,c,d,e){return(b/=e/2)&lt;1?-d/2*(Math.sqrt(1-b*b)-1)+c:d/2*(Math.sqrt(1-(b-=2)*b)+1)+c},easeInElastic:function(a,b,c,d,e){var f=1.70158,g=0,h=d;if(b==0)return c;if((b/=e)==1)return c+d;g||(g=e*.3);if(h&lt;Math.abs(d)){h=d;var f=g/4}else var f=g/(2*Math.PI)*Math.asin(d/h);return-(h*Math.pow(2,10*(b-=1))*Math.sin((b*e-f)*2*Math.PI/g))+c},easeOutElastic:function(a,b,c,d,e){var f=1.70158,g=0,h=d;if(b==0)return c;if((b/=e)==1)return c+d;g||(g=e*.3);if(h&lt;Math.abs(d)){h=d;var f=g/4}else var f=g/(2*Math.PI)*Math.asin(d/h);return h*Math.pow(2,-10*b)*Math.sin((b*e-f)*2*Math.PI/g)+d+c},easeInOutElastic:function(a,b,c,d,e){var f=1.70158,g=0,h=d;if(b==0)return c;if((b/=e/2)==2)return c+d;g||(g=e*.3*1.5);if(h&lt;Math.abs(d)){h=d;var f=g/4}else var f=g/(2*Math.PI)*Math.asin(d/h);return b&lt;1?-0.5*h*Math.pow(2,10*(b-=1))*Math.sin((b*e-f)*2*Math.PI/g)+c:h*Math.pow(2,-10*(b-=1))*Math.sin((b*e-f)*2*Math.PI/g)*.5+d+c},easeInBack:function(a,c,d,e,f,g){return g==
 b&amp;&amp;(g=1.70158),e*(c/=f)*c*((g+1)*c-g)+d},easeOutBack:function(a,c,d,e,f,g){return g==b&amp;&amp;(g=1.70158),e*((c=c/f-1)*c*((g+1)*c+g)+1)+d},easeInOutBack:function(a,c,d,e,f,g){return g==b&amp;&amp;(g=1.70158),(c/=f/2)&lt;1?e/2*c*c*(((g*=1.525)+1)*c-g)+d:e/2*((c-=2)*c*(((g*=1.525)+1)*c+g)+2)+d},easeInBounce:function(b,c,d,e,f){return e-a.easing.easeOutBounce(b,f-c,0,e,f)+d},easeOutBounce:function(a,b,c,d,e){return(b/=e)&lt;1/2.75?d*7.5625*b*b+c:b&lt;2/2.75?d*(7.5625*(b-=1.5/2.75)*b+.75)+c:b&lt;2.5/2.75?d*(7.5625*(b-=2.25/2.75)*b+.9375)+c:d*(7.5625*(b-=2.625/2.75)*b+.984375)+c},easeInOutBounce:function(b,c,d,e,f){return c&lt;f/2?a.easing.easeInBounce(b,c*2,0,e,f)*.5+d:a.easing.easeOutBounce(b,c*2-f,0,e,f)*.5+e*.5+d}})}(jQuery)
</ins><span class="cx">\ No newline at end of file
</span></span></pre></div>
<a id="trunkwpincludesjsjqueryuijqueryeffectsdropminjs"></a>
<div class="modfile"><h4>Modified: trunk/wp-includes/js/jquery/ui/jquery.effects.drop.min.js (20491 => 20492)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-includes/js/jquery/ui/jquery.effects.drop.min.js        2012-04-17 03:41:07 UTC (rev 20491)
+++ trunk/wp-includes/js/jquery/ui/jquery.effects.drop.min.js        2012-04-17 16:49:17 UTC (rev 20492)
</span><span class="lines">@@ -1,14 +1,5 @@
</span><del>-/*
- * jQuery UI Effects Drop 1.8.16
- *
- * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
- * Dual licensed under the MIT or GPL Version 2 licenses.
- * http://jquery.org/license
- *
- * http://docs.jquery.com/UI/Effects/Drop
- *
- * Depends:
- *        jquery.effects.core.js
- */
-(function(c){c.effects.drop=function(d){return this.queue(function(){var a=c(this),h=[&quot;position&quot;,&quot;top&quot;,&quot;bottom&quot;,&quot;left&quot;,&quot;right&quot;,&quot;opacity&quot;],e=c.effects.setMode(a,d.options.mode||&quot;hide&quot;),b=d.options.direction||&quot;left&quot;;c.effects.save(a,h);a.show();c.effects.createWrapper(a);var f=b==&quot;up&quot;||b==&quot;down&quot;?&quot;top&quot;:&quot;left&quot;;b=b==&quot;up&quot;||b==&quot;left&quot;?&quot;pos&quot;:&quot;neg&quot;;var g=d.options.distance||(f==&quot;top&quot;?a.outerHeight({margin:true})/2:a.outerWidth({margin:true})/2);if(e==&quot;show&quot;)a.css(&quot;opacity&quot;,0).css(f,b==&quot;pos&quot;?-g:g);var i={opacity:e==
-&quot;show&quot;?1:0};i[f]=(e==&quot;show&quot;?b==&quot;pos&quot;?&quot;+=&quot;:&quot;-=&quot;:b==&quot;pos&quot;?&quot;-=&quot;:&quot;+=&quot;)+g;a.animate(i,{queue:false,duration:d.duration,easing:d.options.easing,complete:function(){e==&quot;hide&quot;&amp;&amp;a.hide();c.effects.restore(a,h);c.effects.removeWrapper(a);d.callback&amp;&amp;d.callback.apply(this,arguments);a.dequeue()}})})}})(jQuery);
</del><ins>+/*! jQuery UI - v1.8.19 - 2012-04-16
+* https://github.com/jquery/jquery-ui
+* Includes: jquery.effects.drop.js
+* Copyright (c) 2012 AUTHORS.txt; Licensed MIT, GPL */
+(function(a,b){a.effects.drop=function(b){return this.queue(function(){var c=a(this),d=[&quot;position&quot;,&quot;top&quot;,&quot;bottom&quot;,&quot;left&quot;,&quot;right&quot;,&quot;opacity&quot;],e=a.effects.setMode(c,b.options.mode||&quot;hide&quot;),f=b.options.direction||&quot;left&quot;;a.effects.save(c,d),c.show(),a.effects.createWrapper(c);var g=f==&quot;up&quot;||f==&quot;down&quot;?&quot;top&quot;:&quot;left&quot;,h=f==&quot;up&quot;||f==&quot;left&quot;?&quot;pos&quot;:&quot;neg&quot;,i=b.options.distance||(g==&quot;top&quot;?c.outerHeight({margin:!0})/2:c.outerWidth({margin:!0})/2);e==&quot;show&quot;&amp;&amp;c.css(&quot;opacity&quot;,0).css(g,h==&quot;pos&quot;?-i:i);var j={opacity:e==&quot;show&quot;?1:0};j[g]=(e==&quot;show&quot;?h==&quot;pos&quot;?&quot;+=&quot;:&quot;-=&quot;:h==&quot;pos&quot;?&quot;-=&quot;:&quot;+=&quot;)+i,c.animate(j,{queue:!1,duration:b.duration,easing:b.options.easing,complete:function(){e==&quot;hide&quot;&amp;&amp;c.hide(),a.effe
 cts.restore(c,d),a.effects.removeWrapper(c),b.callback&amp;&amp;b.callback.apply(this,arguments),c.dequeue()}})})}})(jQuery)
</ins><span class="cx">\ No newline at end of file
</span></span></pre></div>
<a id="trunkwpincludesjsjqueryuijqueryeffectsexplodeminjs"></a>
<div class="modfile"><h4>Modified: trunk/wp-includes/js/jquery/ui/jquery.effects.explode.min.js (20491 => 20492)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-includes/js/jquery/ui/jquery.effects.explode.min.js        2012-04-17 03:41:07 UTC (rev 20491)
+++ trunk/wp-includes/js/jquery/ui/jquery.effects.explode.min.js        2012-04-17 16:49:17 UTC (rev 20492)
</span><span class="lines">@@ -1,15 +1,5 @@
</span><del>-/*
- * jQuery UI Effects Explode 1.8.16
- *
- * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
- * Dual licensed under the MIT or GPL Version 2 licenses.
- * http://jquery.org/license
- *
- * http://docs.jquery.com/UI/Effects/Explode
- *
- * Depends:
- *        jquery.effects.core.js
- */
-(function(j){j.effects.explode=function(a){return this.queue(function(){var c=a.options.pieces?Math.round(Math.sqrt(a.options.pieces)):3,d=a.options.pieces?Math.round(Math.sqrt(a.options.pieces)):3;a.options.mode=a.options.mode==&quot;toggle&quot;?j(this).is(&quot;:visible&quot;)?&quot;hide&quot;:&quot;show&quot;:a.options.mode;var b=j(this).show().css(&quot;visibility&quot;,&quot;hidden&quot;),g=b.offset();g.top-=parseInt(b.css(&quot;marginTop&quot;),10)||0;g.left-=parseInt(b.css(&quot;marginLeft&quot;),10)||0;for(var h=b.outerWidth(true),i=b.outerHeight(true),e=0;e&lt;c;e++)for(var f=
-0;f&lt;d;f++)b.clone().appendTo(&quot;body&quot;).wrap(&quot;&lt;div&gt;&lt;/div&gt;&quot;).css({position:&quot;absolute&quot;,visibility:&quot;visible&quot;,left:-f*(h/d),top:-e*(i/c)}).parent().addClass(&quot;ui-effects-explode&quot;).css({position:&quot;absolute&quot;,overflow:&quot;hidden&quot;,width:h/d,height:i/c,left:g.left+f*(h/d)+(a.options.mode==&quot;show&quot;?(f-Math.floor(d/2))*(h/d):0),top:g.top+e*(i/c)+(a.options.mode==&quot;show&quot;?(e-Math.floor(c/2))*(i/c):0),opacity:a.options.mode==&quot;show&quot;?0:1}).animate({left:g.left+f*(h/d)+(a.options.mode==&quot;show&quot;?0:(f-Math.floor(d/2))*(h/d)),top:g.top+
-e*(i/c)+(a.options.mode==&quot;show&quot;?0:(e-Math.floor(c/2))*(i/c)),opacity:a.options.mode==&quot;show&quot;?1:0},a.duration||500);setTimeout(function(){a.options.mode==&quot;show&quot;?b.css({visibility:&quot;visible&quot;}):b.css({visibility:&quot;visible&quot;}).hide();a.callback&amp;&amp;a.callback.apply(b[0]);b.dequeue();j(&quot;div.ui-effects-explode&quot;).remove()},a.duration||500)})}})(jQuery);
</del><ins>+/*! jQuery UI - v1.8.19 - 2012-04-16
+* https://github.com/jquery/jquery-ui
+* Includes: jquery.effects.explode.js
+* Copyright (c) 2012 AUTHORS.txt; Licensed MIT, GPL */
+(function(a,b){a.effects.explode=function(b){return this.queue(function(){var c=b.options.pieces?Math.round(Math.sqrt(b.options.pieces)):3,d=b.options.pieces?Math.round(Math.sqrt(b.options.pieces)):3;b.options.mode=b.options.mode==&quot;toggle&quot;?a(this).is(&quot;:visible&quot;)?&quot;hide&quot;:&quot;show&quot;:b.options.mode;var e=a(this).show().css(&quot;visibility&quot;,&quot;hidden&quot;),f=e.offset();f.top-=parseInt(e.css(&quot;marginTop&quot;),10)||0,f.left-=parseInt(e.css(&quot;marginLeft&quot;),10)||0;var g=e.outerWidth(!0),h=e.outerHeight(!0);for(var i=0;i&lt;c;i++)for(var j=0;j&lt;d;j++)e.clone().appendTo(&quot;body&quot;).wrap(&quot;&lt;div&gt;&lt;/div&gt;&quot;).css({position:&quot;absolute&quot;,visibility:&quot;visible&quot;,left:-j*(g/d),top:-i*(h/c)}).parent().addClass(&quot;ui-effects-explode&quot;).css({position:&quot;absolute&quot;,overflow:&quot;hidden&quot;,width:g/d,height:h/c,left:f.left+j*(g/d)+(b.options.mode==&quot;show&quot;?(j-Math.floor(d/2))
 *(g/d):0),top:f.top+i*(h/c)+(b.options.mode==&quot;show&quot;?(i-Math.floor(c/2))*(h/c):0),opacity:b.options.mode==&quot;show&quot;?0:1}).animate({left:f.left+j*(g/d)+(b.options.mode==&quot;show&quot;?0:(j-Math.floor(d/2))*(g/d)),top:f.top+i*(h/c)+(b.options.mode==&quot;show&quot;?0:(i-Math.floor(c/2))*(h/c)),opacity:b.options.mode==&quot;show&quot;?1:0},b.duration||500);setTimeout(function(){b.options.mode==&quot;show&quot;?e.css({visibility:&quot;visible&quot;}):e.css({visibility:&quot;visible&quot;}).hide(),b.callback&amp;&amp;b.callback.apply(e[0]),e.dequeue(),a(&quot;div.ui-effects-explode&quot;).remove()},b.duration||500)})}})(jQuery)
</ins><span class="cx">\ No newline at end of file
</span></span></pre></div>
<a id="trunkwpincludesjsjqueryuijqueryeffectsfademinjs"></a>
<div class="modfile"><h4>Modified: trunk/wp-includes/js/jquery/ui/jquery.effects.fade.min.js (20491 => 20492)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-includes/js/jquery/ui/jquery.effects.fade.min.js        2012-04-17 03:41:07 UTC (rev 20491)
+++ trunk/wp-includes/js/jquery/ui/jquery.effects.fade.min.js        2012-04-17 16:49:17 UTC (rev 20492)
</span><span class="lines">@@ -1,13 +1,5 @@
</span><del>-/*
- * jQuery UI Effects Fade 1.8.16
- *
- * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
- * Dual licensed under the MIT or GPL Version 2 licenses.
- * http://jquery.org/license
- *
- * http://docs.jquery.com/UI/Effects/Fade
- *
- * Depends:
- *        jquery.effects.core.js
- */
-(function(b){b.effects.fade=function(a){return this.queue(function(){var c=b(this),d=b.effects.setMode(c,a.options.mode||&quot;hide&quot;);c.animate({opacity:d},{queue:false,duration:a.duration,easing:a.options.easing,complete:function(){a.callback&amp;&amp;a.callback.apply(this,arguments);c.dequeue()}})})}})(jQuery);
</del><ins>+/*! jQuery UI - v1.8.19 - 2012-04-16
+* https://github.com/jquery/jquery-ui
+* Includes: jquery.effects.fade.js
+* Copyright (c) 2012 AUTHORS.txt; Licensed MIT, GPL */
+(function(a,b){a.effects.fade=function(b){return this.queue(function(){var c=a(this),d=a.effects.setMode(c,b.options.mode||&quot;hide&quot;);c.animate({opacity:d},{queue:!1,duration:b.duration,easing:b.options.easing,complete:function(){b.callback&amp;&amp;b.callback.apply(this,arguments),c.dequeue()}})})}})(jQuery)
</ins><span class="cx">\ No newline at end of file
</span></span></pre></div>
<a id="trunkwpincludesjsjqueryuijqueryeffectsfoldminjs"></a>
<div class="modfile"><h4>Modified: trunk/wp-includes/js/jquery/ui/jquery.effects.fold.min.js (20491 => 20492)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-includes/js/jquery/ui/jquery.effects.fold.min.js        2012-04-17 03:41:07 UTC (rev 20491)
+++ trunk/wp-includes/js/jquery/ui/jquery.effects.fold.min.js        2012-04-17 16:49:17 UTC (rev 20492)
</span><span class="lines">@@ -1,14 +1,5 @@
</span><del>-/*
- * jQuery UI Effects Fold 1.8.16
- *
- * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
- * Dual licensed under the MIT or GPL Version 2 licenses.
- * http://jquery.org/license
- *
- * http://docs.jquery.com/UI/Effects/Fold
- *
- * Depends:
- *        jquery.effects.core.js
- */
-(function(c){c.effects.fold=function(a){return this.queue(function(){var b=c(this),j=[&quot;position&quot;,&quot;top&quot;,&quot;bottom&quot;,&quot;left&quot;,&quot;right&quot;],d=c.effects.setMode(b,a.options.mode||&quot;hide&quot;),g=a.options.size||15,h=!!a.options.horizFirst,k=a.duration?a.duration/2:c.fx.speeds._default/2;c.effects.save(b,j);b.show();var e=c.effects.createWrapper(b).css({overflow:&quot;hidden&quot;}),f=d==&quot;show&quot;!=h,l=f?[&quot;width&quot;,&quot;height&quot;]:[&quot;height&quot;,&quot;width&quot;];f=f?[e.width(),e.height()]:[e.height(),e.width()];var i=/([0-9]+)%/.exec(g);if(i)g=parseInt(i[1],
-10)/100*f[d==&quot;hide&quot;?0:1];if(d==&quot;show&quot;)e.css(h?{height:0,width:g}:{height:g,width:0});h={};i={};h[l[0]]=d==&quot;show&quot;?f[0]:g;i[l[1]]=d==&quot;show&quot;?f[1]:0;e.animate(h,k,a.options.easing).animate(i,k,a.options.easing,function(){d==&quot;hide&quot;&amp;&amp;b.hide();c.effects.restore(b,j);c.effects.removeWrapper(b);a.callback&amp;&amp;a.callback.apply(b[0],arguments);b.dequeue()})})}})(jQuery);
</del><ins>+/*! jQuery UI - v1.8.19 - 2012-04-16
+* https://github.com/jquery/jquery-ui
+* Includes: jquery.effects.fold.js
+* Copyright (c) 2012 AUTHORS.txt; Licensed MIT, GPL */
+(function(a,b){a.effects.fold=function(b){return this.queue(function(){var c=a(this),d=[&quot;position&quot;,&quot;top&quot;,&quot;bottom&quot;,&quot;left&quot;,&quot;right&quot;],e=a.effects.setMode(c,b.options.mode||&quot;hide&quot;),f=b.options.size||15,g=!!b.options.horizFirst,h=b.duration?b.duration/2:a.fx.speeds._default/2;a.effects.save(c,d),c.show();var i=a.effects.createWrapper(c).css({overflow:&quot;hidden&quot;}),j=e==&quot;show&quot;!=g,k=j?[&quot;width&quot;,&quot;height&quot;]:[&quot;height&quot;,&quot;width&quot;],l=j?[i.width(),i.height()]:[i.height(),i.width()],m=/([0-9]+)%/.exec(f);m&amp;&amp;(f=parseInt(m[1],10)/100*l[e==&quot;hide&quot;?0:1]),e==&quot;show&quot;&amp;&amp;i.css(g?{height:0,width:f}:{height:f,width:0});var n={},p={};n[k[0]]=e==&quot;show&quot;?l[0]:f,p[k[1]]=e==&quot;show&quot;?l[1]:0,i.animate(n,h,b.options.easing).animate(p,h,b.options.easing,function(){e==&quot;hide&quot;&amp;&amp;c.hide(),a.effects.restore(c,d),a.effects.removeWrapper(c
 ),b.callback&amp;&amp;b.callback.apply(c[0],arguments),c.dequeue()})})}})(jQuery)
</ins><span class="cx">\ No newline at end of file
</span></span></pre></div>
<a id="trunkwpincludesjsjqueryuijqueryeffectshighlightminjs"></a>
<div class="modfile"><h4>Modified: trunk/wp-includes/js/jquery/ui/jquery.effects.highlight.min.js (20491 => 20492)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-includes/js/jquery/ui/jquery.effects.highlight.min.js        2012-04-17 03:41:07 UTC (rev 20491)
+++ trunk/wp-includes/js/jquery/ui/jquery.effects.highlight.min.js        2012-04-17 16:49:17 UTC (rev 20492)
</span><span class="lines">@@ -1,14 +1,5 @@
</span><del>-/*
- * jQuery UI Effects Highlight 1.8.16
- *
- * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
- * Dual licensed under the MIT or GPL Version 2 licenses.
- * http://jquery.org/license
- *
- * http://docs.jquery.com/UI/Effects/Highlight
- *
- * Depends:
- *        jquery.effects.core.js
- */
-(function(b){b.effects.highlight=function(c){return this.queue(function(){var a=b(this),e=[&quot;backgroundImage&quot;,&quot;backgroundColor&quot;,&quot;opacity&quot;],d=b.effects.setMode(a,c.options.mode||&quot;show&quot;),f={backgroundColor:a.css(&quot;backgroundColor&quot;)};if(d==&quot;hide&quot;)f.opacity=0;b.effects.save(a,e);a.show().css({backgroundImage:&quot;none&quot;,backgroundColor:c.options.color||&quot;#ffff99&quot;}).animate(f,{queue:false,duration:c.duration,easing:c.options.easing,complete:function(){d==&quot;hide&quot;&amp;&amp;a.hide();b.effects.restore(a,e);d==&quot;show&quot;&amp;&amp;!b.support.opacity&amp;&amp;
-this.style.removeAttribute(&quot;filter&quot;);c.callback&amp;&amp;c.callback.apply(this,arguments);a.dequeue()}})})}})(jQuery);
</del><ins>+/*! jQuery UI - v1.8.19 - 2012-04-16
+* https://github.com/jquery/jquery-ui
+* Includes: jquery.effects.highlight.js
+* Copyright (c) 2012 AUTHORS.txt; Licensed MIT, GPL */
+(function(a,b){a.effects.highlight=function(b){return this.queue(function(){var c=a(this),d=[&quot;backgroundImage&quot;,&quot;backgroundColor&quot;,&quot;opacity&quot;],e=a.effects.setMode(c,b.options.mode||&quot;show&quot;),f={backgroundColor:c.css(&quot;backgroundColor&quot;)};e==&quot;hide&quot;&amp;&amp;(f.opacity=0),a.effects.save(c,d),c.show().css({backgroundImage:&quot;none&quot;,backgroundColor:b.options.color||&quot;#ffff99&quot;}).animate(f,{queue:!1,duration:b.duration,easing:b.options.easing,complete:function(){e==&quot;hide&quot;&amp;&amp;c.hide(),a.effects.restore(c,d),e==&quot;show&quot;&amp;&amp;!a.support.opacity&amp;&amp;this.style.removeAttribute(&quot;filter&quot;),b.callback&amp;&amp;b.callback.apply(this,arguments),c.dequeue()}})})}})(jQuery)
</ins><span class="cx">\ No newline at end of file
</span></span></pre></div>
<a id="trunkwpincludesjsjqueryuijqueryeffectspulsateminjs"></a>
<div class="modfile"><h4>Modified: trunk/wp-includes/js/jquery/ui/jquery.effects.pulsate.min.js (20491 => 20492)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-includes/js/jquery/ui/jquery.effects.pulsate.min.js        2012-04-17 03:41:07 UTC (rev 20491)
+++ trunk/wp-includes/js/jquery/ui/jquery.effects.pulsate.min.js        2012-04-17 16:49:17 UTC (rev 20492)
</span><span class="lines">@@ -1,14 +1,5 @@
</span><del>-/*
- * jQuery UI Effects Pulsate 1.8.16
- *
- * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
- * Dual licensed under the MIT or GPL Version 2 licenses.
- * http://jquery.org/license
- *
- * http://docs.jquery.com/UI/Effects/Pulsate
- *
- * Depends:
- *        jquery.effects.core.js
- */
-(function(d){d.effects.pulsate=function(a){return this.queue(function(){var b=d(this),c=d.effects.setMode(b,a.options.mode||&quot;show&quot;);times=(a.options.times||5)*2-1;duration=a.duration?a.duration/2:d.fx.speeds._default/2;isVisible=b.is(&quot;:visible&quot;);animateTo=0;if(!isVisible){b.css(&quot;opacity&quot;,0).show();animateTo=1}if(c==&quot;hide&quot;&amp;&amp;isVisible||c==&quot;show&quot;&amp;&amp;!isVisible)times--;for(c=0;c&lt;times;c++){b.animate({opacity:animateTo},duration,a.options.easing);animateTo=(animateTo+1)%2}b.animate({opacity:animateTo},duration,
-a.options.easing,function(){animateTo==0&amp;&amp;b.hide();a.callback&amp;&amp;a.callback.apply(this,arguments)});b.queue(&quot;fx&quot;,function(){b.dequeue()}).dequeue()})}})(jQuery);
</del><ins>+/*! jQuery UI - v1.8.19 - 2012-04-16
+* https://github.com/jquery/jquery-ui
+* Includes: jquery.effects.pulsate.js
+* Copyright (c) 2012 AUTHORS.txt; Licensed MIT, GPL */
+(function(a,b){a.effects.pulsate=function(b){return this.queue(function(){var c=a(this),d=a.effects.setMode(c,b.options.mode||&quot;show&quot;),e=(b.options.times||5)*2-1,f=b.duration?b.duration/2:a.fx.speeds._default/2,g=c.is(&quot;:visible&quot;),h=0;g||(c.css(&quot;opacity&quot;,0).show(),h=1),(d==&quot;hide&quot;&amp;&amp;g||d==&quot;show&quot;&amp;&amp;!g)&amp;&amp;e--;for(var i=0;i&lt;e;i++)c.animate({opacity:h},f,b.options.easing),h=(h+1)%2;c.animate({opacity:h},f,b.options.easing,function(){h==0&amp;&amp;c.hide(),b.callback&amp;&amp;b.callback.apply(this,arguments)}),c.queue(&quot;fx&quot;,function(){c.dequeue()}).dequeue()})}})(jQuery)
</ins><span class="cx">\ No newline at end of file
</span></span></pre></div>
<a id="trunkwpincludesjsjqueryuijqueryeffectsscaleminjs"></a>
<div class="modfile"><h4>Modified: trunk/wp-includes/js/jquery/ui/jquery.effects.scale.min.js (20491 => 20492)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-includes/js/jquery/ui/jquery.effects.scale.min.js        2012-04-17 03:41:07 UTC (rev 20491)
+++ trunk/wp-includes/js/jquery/ui/jquery.effects.scale.min.js        2012-04-17 16:49:17 UTC (rev 20492)
</span><span class="lines">@@ -1,20 +1,5 @@
</span><del>-/*
- * jQuery UI Effects Scale 1.8.16
- *
- * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
- * Dual licensed under the MIT or GPL Version 2 licenses.
- * http://jquery.org/license
- *
- * http://docs.jquery.com/UI/Effects/Scale
- *
- * Depends:
- *        jquery.effects.core.js
- */
-(function(c){c.effects.puff=function(b){return this.queue(function(){var a=c(this),e=c.effects.setMode(a,b.options.mode||&quot;hide&quot;),g=parseInt(b.options.percent,10)||150,h=g/100,i={height:a.height(),width:a.width()};c.extend(b.options,{fade:true,mode:e,percent:e==&quot;hide&quot;?g:100,from:e==&quot;hide&quot;?i:{height:i.height*h,width:i.width*h}});a.effect(&quot;scale&quot;,b.options,b.duration,b.callback);a.dequeue()})};c.effects.scale=function(b){return this.queue(function(){var a=c(this),e=c.extend(true,{},b.options),g=c.effects.setMode(a,
-b.options.mode||&quot;effect&quot;),h=parseInt(b.options.percent,10)||(parseInt(b.options.percent,10)==0?0:g==&quot;hide&quot;?0:100),i=b.options.direction||&quot;both&quot;,f=b.options.origin;if(g!=&quot;effect&quot;){e.origin=f||[&quot;middle&quot;,&quot;center&quot;];e.restore=true}f={height:a.height(),width:a.width()};a.from=b.options.from||(g==&quot;show&quot;?{height:0,width:0}:f);h={y:i!=&quot;horizontal&quot;?h/100:1,x:i!=&quot;vertical&quot;?h/100:1};a.to={height:f.height*h.y,width:f.width*h.x};if(b.options.fade){if(g==&quot;show&quot;){a.from.opacity=0;a.to.opacity=1}if(g==&quot;hide&quot;){a.from.opacity=
-1;a.to.opacity=0}}e.from=a.from;e.to=a.to;e.mode=g;a.effect(&quot;size&quot;,e,b.duration,b.callback);a.dequeue()})};c.effects.size=function(b){return this.queue(function(){var a=c(this),e=[&quot;position&quot;,&quot;top&quot;,&quot;bottom&quot;,&quot;left&quot;,&quot;right&quot;,&quot;width&quot;,&quot;height&quot;,&quot;overflow&quot;,&quot;opacity&quot;],g=[&quot;position&quot;,&quot;top&quot;,&quot;bottom&quot;,&quot;left&quot;,&quot;right&quot;,&quot;overflow&quot;,&quot;opacity&quot;],h=[&quot;width&quot;,&quot;height&quot;,&quot;overflow&quot;],i=[&quot;fontSize&quot;],f=[&quot;borderTopWidth&quot;,&quot;borderBottomWidth&quot;,&quot;paddingTop&quot;,&quot;paddingBottom&quot;],k=[&quot;borderLeftWidth&quot;,&quot;borderRightWidth&quot;,&quot;paddingLeft&quot;,&quot;paddingRight&quot;],
-p=c.effects.setMode(a,b.options.mode||&quot;effect&quot;),n=b.options.restore||false,m=b.options.scale||&quot;both&quot;,l=b.options.origin,j={height:a.height(),width:a.width()};a.from=b.options.from||j;a.to=b.options.to||j;if(l){l=c.effects.getBaseline(l,j);a.from.top=(j.height-a.from.height)*l.y;a.from.left=(j.width-a.from.width)*l.x;a.to.top=(j.height-a.to.height)*l.y;a.to.left=(j.width-a.to.width)*l.x}var d={from:{y:a.from.height/j.height,x:a.from.width/j.width},to:{y:a.to.height/j.height,x:a.to.width/j.width}};
-if(m==&quot;box&quot;||m==&quot;both&quot;){if(d.from.y!=d.to.y){e=e.concat(f);a.from=c.effects.setTransition(a,f,d.from.y,a.from);a.to=c.effects.setTransition(a,f,d.to.y,a.to)}if(d.from.x!=d.to.x){e=e.concat(k);a.from=c.effects.setTransition(a,k,d.from.x,a.from);a.to=c.effects.setTransition(a,k,d.to.x,a.to)}}if(m==&quot;content&quot;||m==&quot;both&quot;)if(d.from.y!=d.to.y){e=e.concat(i);a.from=c.effects.setTransition(a,i,d.from.y,a.from);a.to=c.effects.setTransition(a,i,d.to.y,a.to)}c.effects.save(a,n?e:g);a.show();c.effects.createWrapper(a);
-a.css(&quot;overflow&quot;,&quot;hidden&quot;).css(a.from);if(m==&quot;content&quot;||m==&quot;both&quot;){f=f.concat([&quot;marginTop&quot;,&quot;marginBottom&quot;]).concat(i);k=k.concat([&quot;marginLeft&quot;,&quot;marginRight&quot;]);h=e.concat(f).concat(k);a.find(&quot;*[width]&quot;).each(function(){child=c(this);n&amp;&amp;c.effects.save(child,h);var o={height:child.height(),width:child.width()};child.from={height:o.height*d.from.y,width:o.width*d.from.x};child.to={height:o.height*d.to.y,width:o.width*d.to.x};if(d.from.y!=d.to.y){child.from=c.effects.setTransition(child,f,d.from.y,child.from);
-child.to=c.effects.setTransition(child,f,d.to.y,child.to)}if(d.from.x!=d.to.x){child.from=c.effects.setTransition(child,k,d.from.x,child.from);child.to=c.effects.setTransition(child,k,d.to.x,child.to)}child.css(child.from);child.animate(child.to,b.duration,b.options.easing,function(){n&amp;&amp;c.effects.restore(child,h)})})}a.animate(a.to,{queue:false,duration:b.duration,easing:b.options.easing,complete:function(){a.to.opacity===0&amp;&amp;a.css(&quot;opacity&quot;,a.from.opacity);p==&quot;hide&quot;&amp;&amp;a.hide();c.effects.restore(a,
-n?e:g);c.effects.removeWrapper(a);b.callback&amp;&amp;b.callback.apply(this,arguments);a.dequeue()}})})}})(jQuery);
</del><ins>+/*! jQuery UI - v1.8.19 - 2012-04-16
+* https://github.com/jquery/jquery-ui
+* Includes: jquery.effects.scale.js
+* Copyright (c) 2012 AUTHORS.txt; Licensed MIT, GPL */
+(function(a,b){a.effects.puff=function(b){return this.queue(function(){var c=a(this),d=a.effects.setMode(c,b.options.mode||&quot;hide&quot;),e=parseInt(b.options.percent,10)||150,f=e/100,g={height:c.height(),width:c.width()};a.extend(b.options,{fade:!0,mode:d,percent:d==&quot;hide&quot;?e:100,from:d==&quot;hide&quot;?g:{height:g.height*f,width:g.width*f}}),c.effect(&quot;scale&quot;,b.options,b.duration,b.callback),c.dequeue()})},a.effects.scale=function(b){return this.queue(function(){var c=a(this),d=a.extend(!0,{},b.options),e=a.effects.setMode(c,b.options.mode||&quot;effect&quot;),f=parseInt(b.options.percent,10)||(parseInt(b.options.percent,10)==0?0:e==&quot;hide&quot;?0:100),g=b.options.direction||&quot;both&quot;,h=b.options.origin;e!=&quot;effect&quot;&amp;&amp;(d.origin=h||[&quot;middle&quot;,&quot;center&quot;],d.restore=!0);var i={height:c.height(),width:c.width()};c.from=b.options.from||(e==&quot;show&quot;?{height:0,width:0}:i);var j={y:g!=&quot;horizontal&quot;?
 f/100:1,x:g!=&quot;vertical&quot;?f/100:1};c.to={height:i.height*j.y,width:i.width*j.x},b.options.fade&amp;&amp;(e==&quot;show&quot;&amp;&amp;(c.from.opacity=0,c.to.opacity=1),e==&quot;hide&quot;&amp;&amp;(c.from.opacity=1,c.to.opacity=0)),d.from=c.from,d.to=c.to,d.mode=e,c.effect(&quot;size&quot;,d,b.duration,b.callback),c.dequeue()})},a.effects.size=function(b){return this.queue(function(){var c=a(this),d=[&quot;position&quot;,&quot;top&quot;,&quot;bottom&quot;,&quot;left&quot;,&quot;right&quot;,&quot;width&quot;,&quot;height&quot;,&quot;overflow&quot;,&quot;opacity&quot;],e=[&quot;position&quot;,&quot;top&quot;,&quot;bottom&quot;,&quot;left&quot;,&quot;right&quot;,&quot;overflow&quot;,&quot;opacity&quot;],f=[&quot;width&quot;,&quot;height&quot;,&quot;overflow&quot;],g=[&quot;fontSize&quot;],h=[&quot;borderTopWidth&quot;,&quot;borderBottomWidth&quot;,&quot;paddingTop&quot;,&quot;paddingBottom&quot;],i=[&quot;borderLeftWidth&quot;,&quot;borderRightWidth&quot;,&quot;paddingL
 eft&quot;,&quot;paddingRight&quot;],j=a.effects.setMode(c,b.options.mode||&quot;effect&quot;),k=b.options.restore||!1,l=b.options.scale||&quot;both&quot;,m=b.options.origin,n={height:c.height(),width:c.width()};c.from=b.options.from||n,c.to=b.options.to||n;if(m){var p=a.effects.getBaseline(m,n);c.from.top=(n.height-c.from.height)*p.y,c.from.left=(n.width-c.from.width)*p.x,c.to.top=(n.height-c.to.height)*p.y,c.to.left=(n.width-c.to.width)*p.x}var q={from:{y:c.from.height/n.height,x:c.from.width/n.width},to:{y:c.to.height/n.height,x:c.to.width/n.width}};if(l==&quot;box&quot;||l==&quot;both&quot;)q.from.y!=q.to.y&amp;&amp;(d=d.concat(h),c.from=a.effects.setTransition(c,h,q.from.y,c.from),c.to=a.effects.setTransition(c,h,q.to.y,c.to)),q.from.x!=q.to.x&amp;&amp;(d=d.concat(i),c.from=a.effects.setTransition(c,i,q.from.x,c.from),c.to=a.effects.setTransition(c,i,q.to.x,c.to));(l==&quot;content&quot;||l==&quot;both&quot;)&amp;&amp;q.from.y!=q.to.y&amp;&amp;(d=d.concat(g),c.from=a.eff
 ects.setTransition(c,g,q.from.y,c.from),c.to=a.effects.setTransition(c,g,q.to.y,c.to)),a.effects.save(c,k?d:e),c.show(),a.effects.createWrapper(c),c.css(&quot;overflow&quot;,&quot;hidden&quot;).css(c.from);if(l==&quot;content&quot;||l==&quot;both&quot;)h=h.concat([&quot;marginTop&quot;,&quot;marginBottom&quot;]).concat(g),i=i.concat([&quot;marginLeft&quot;,&quot;marginRight&quot;]),f=d.concat(h).concat(i),c.find(&quot;*[width]&quot;).each(function(){var c=a(this);k&amp;&amp;a.effects.save(c,f);var d={height:c.height(),width:c.width()};c.from={height:d.height*q.from.y,width:d.width*q.from.x},c.to={height:d.height*q.to.y,width:d.width*q.to.x},q.from.y!=q.to.y&amp;&amp;(c.from=a.effects.setTransition(c,h,q.from.y,c.from),c.to=a.effects.setTransition(c,h,q.to.y,c.to)),q.from.x!=q.to.x&amp;&amp;(c.from=a.effects.setTransition(c,i,q.from.x,c.from),c.to=a.effects.setTransition(c,i,q.to.x,c.to)),c.css(c.from),c.animate(c.to,b.duration,b.options.easing,function(){k&amp;&amp;a.effects
 .restore(c,f)})});c.animate(c.to,{queue:!1,duration:b.duration,easing:b.options.easing,complete:function(){c.to.opacity===0&amp;&amp;c.css(&quot;opacity&quot;,c.from.opacity),j==&quot;hide&quot;&amp;&amp;c.hide(),a.effects.restore(c,k?d:e),a.effects.removeWrapper(c),b.callback&amp;&amp;b.callback.apply(this,arguments),c.dequeue()}})})}})(jQuery)
</ins><span class="cx">\ No newline at end of file
</span></span></pre></div>
<a id="trunkwpincludesjsjqueryuijqueryeffectsshakeminjs"></a>
<div class="modfile"><h4>Modified: trunk/wp-includes/js/jquery/ui/jquery.effects.shake.min.js (20491 => 20492)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-includes/js/jquery/ui/jquery.effects.shake.min.js        2012-04-17 03:41:07 UTC (rev 20491)
+++ trunk/wp-includes/js/jquery/ui/jquery.effects.shake.min.js        2012-04-17 16:49:17 UTC (rev 20492)
</span><span class="lines">@@ -1,14 +1,5 @@
</span><del>-/*
- * jQuery UI Effects Shake 1.8.16
- *
- * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
- * Dual licensed under the MIT or GPL Version 2 licenses.
- * http://jquery.org/license
- *
- * http://docs.jquery.com/UI/Effects/Shake
- *
- * Depends:
- *        jquery.effects.core.js
- */
-(function(d){d.effects.shake=function(a){return this.queue(function(){var b=d(this),j=[&quot;position&quot;,&quot;top&quot;,&quot;bottom&quot;,&quot;left&quot;,&quot;right&quot;];d.effects.setMode(b,a.options.mode||&quot;effect&quot;);var c=a.options.direction||&quot;left&quot;,e=a.options.distance||20,l=a.options.times||3,f=a.duration||a.options.duration||140;d.effects.save(b,j);b.show();d.effects.createWrapper(b);var g=c==&quot;up&quot;||c==&quot;down&quot;?&quot;top&quot;:&quot;left&quot;,h=c==&quot;up&quot;||c==&quot;left&quot;?&quot;pos&quot;:&quot;neg&quot;;c={};var i={},k={};c[g]=(h==&quot;pos&quot;?&quot;-=&quot;:&quot;+=&quot;)+e;i[g]=(h==&quot;pos&quot;?&quot;+=&quot;:&quot;-=&quot;)+e*2;k[g]=
-(h==&quot;pos&quot;?&quot;-=&quot;:&quot;+=&quot;)+e*2;b.animate(c,f,a.options.easing);for(e=1;e&lt;l;e++)b.animate(i,f,a.options.easing).animate(k,f,a.options.easing);b.animate(i,f,a.options.easing).animate(c,f/2,a.options.easing,function(){d.effects.restore(b,j);d.effects.removeWrapper(b);a.callback&amp;&amp;a.callback.apply(this,arguments)});b.queue(&quot;fx&quot;,function(){b.dequeue()});b.dequeue()})}})(jQuery);
</del><ins>+/*! jQuery UI - v1.8.19 - 2012-04-16
+* https://github.com/jquery/jquery-ui
+* Includes: jquery.effects.shake.js
+* Copyright (c) 2012 AUTHORS.txt; Licensed MIT, GPL */
+(function(a,b){a.effects.shake=function(b){return this.queue(function(){var c=a(this),d=[&quot;position&quot;,&quot;top&quot;,&quot;bottom&quot;,&quot;left&quot;,&quot;right&quot;],e=a.effects.setMode(c,b.options.mode||&quot;effect&quot;),f=b.options.direction||&quot;left&quot;,g=b.options.distance||20,h=b.options.times||3,i=b.duration||b.options.duration||140;a.effects.save(c,d),c.show(),a.effects.createWrapper(c);var j=f==&quot;up&quot;||f==&quot;down&quot;?&quot;top&quot;:&quot;left&quot;,k=f==&quot;up&quot;||f==&quot;left&quot;?&quot;pos&quot;:&quot;neg&quot;,l={},m={},n={};l[j]=(k==&quot;pos&quot;?&quot;-=&quot;:&quot;+=&quot;)+g,m[j]=(k==&quot;pos&quot;?&quot;+=&quot;:&quot;-=&quot;)+g*2,n[j]=(k==&quot;pos&quot;?&quot;-=&quot;:&quot;+=&quot;)+g*2,c.animate(l,i,b.options.easing);for(var p=1;p&lt;h;p++)c.animate(m,i,b.options.easing).animate(n,i,b.options.easing);c.animate(m,i,b.options.easing).animate(l,i/2,b.options.easing,function(){a.effects.restore(c,d),a.effects.re
 moveWrapper(c),b.callback&amp;&amp;b.callback.apply(this,arguments)}),c.queue(&quot;fx&quot;,function(){c.dequeue()}),c.dequeue()})}})(jQuery)
</ins><span class="cx">\ No newline at end of file
</span></span></pre></div>
<a id="trunkwpincludesjsjqueryuijqueryeffectsslideminjs"></a>
<div class="modfile"><h4>Modified: trunk/wp-includes/js/jquery/ui/jquery.effects.slide.min.js (20491 => 20492)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-includes/js/jquery/ui/jquery.effects.slide.min.js        2012-04-17 03:41:07 UTC (rev 20491)
+++ trunk/wp-includes/js/jquery/ui/jquery.effects.slide.min.js        2012-04-17 16:49:17 UTC (rev 20492)
</span><span class="lines">@@ -1,14 +1,5 @@
</span><del>-/*
- * jQuery UI Effects Slide 1.8.16
- *
- * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
- * Dual licensed under the MIT or GPL Version 2 licenses.
- * http://jquery.org/license
- *
- * http://docs.jquery.com/UI/Effects/Slide
- *
- * Depends:
- *        jquery.effects.core.js
- */
-(function(c){c.effects.slide=function(d){return this.queue(function(){var a=c(this),h=[&quot;position&quot;,&quot;top&quot;,&quot;bottom&quot;,&quot;left&quot;,&quot;right&quot;],f=c.effects.setMode(a,d.options.mode||&quot;show&quot;),b=d.options.direction||&quot;left&quot;;c.effects.save(a,h);a.show();c.effects.createWrapper(a).css({overflow:&quot;hidden&quot;});var g=b==&quot;up&quot;||b==&quot;down&quot;?&quot;top&quot;:&quot;left&quot;;b=b==&quot;up&quot;||b==&quot;left&quot;?&quot;pos&quot;:&quot;neg&quot;;var e=d.options.distance||(g==&quot;top&quot;?a.outerHeight({margin:true}):a.outerWidth({margin:true}));if(f==&quot;show&quot;)a.css(g,b==&quot;pos&quot;?isNaN(e)?&quot;-&quot;+e:-e:e);
-var i={};i[g]=(f==&quot;show&quot;?b==&quot;pos&quot;?&quot;+=&quot;:&quot;-=&quot;:b==&quot;pos&quot;?&quot;-=&quot;:&quot;+=&quot;)+e;a.animate(i,{queue:false,duration:d.duration,easing:d.options.easing,complete:function(){f==&quot;hide&quot;&amp;&amp;a.hide();c.effects.restore(a,h);c.effects.removeWrapper(a);d.callback&amp;&amp;d.callback.apply(this,arguments);a.dequeue()}})})}})(jQuery);
</del><ins>+/*! jQuery UI - v1.8.19 - 2012-04-16
+* https://github.com/jquery/jquery-ui
+* Includes: jquery.effects.slide.js
+* Copyright (c) 2012 AUTHORS.txt; Licensed MIT, GPL */
+(function(a,b){a.effects.slide=function(b){return this.queue(function(){var c=a(this),d=[&quot;position&quot;,&quot;top&quot;,&quot;bottom&quot;,&quot;left&quot;,&quot;right&quot;],e=a.effects.setMode(c,b.options.mode||&quot;show&quot;),f=b.options.direction||&quot;left&quot;;a.effects.save(c,d),c.show(),a.effects.createWrapper(c).css({overflow:&quot;hidden&quot;});var g=f==&quot;up&quot;||f==&quot;down&quot;?&quot;top&quot;:&quot;left&quot;,h=f==&quot;up&quot;||f==&quot;left&quot;?&quot;pos&quot;:&quot;neg&quot;,i=b.options.distance||(g==&quot;top&quot;?c.outerHeight({margin:!0}):c.outerWidth({margin:!0}));e==&quot;show&quot;&amp;&amp;c.css(g,h==&quot;pos&quot;?isNaN(i)?&quot;-&quot;+i:-i:i);var j={};j[g]=(e==&quot;show&quot;?h==&quot;pos&quot;?&quot;+=&quot;:&quot;-=&quot;:h==&quot;pos&quot;?&quot;-=&quot;:&quot;+=&quot;)+i,c.animate(j,{queue:!1,duration:b.duration,easing:b.options.easing,complete:function(){e==&quot;hide&quot;&amp;&amp;c.hide(),a.effects.restore(c,d),a.ef
 fects.removeWrapper(c),b.callback&amp;&amp;b.callback.apply(this,arguments),c.dequeue()}})})}})(jQuery)
</ins><span class="cx">\ No newline at end of file
</span></span></pre></div>
<a id="trunkwpincludesjsjqueryuijqueryeffectstransferminjs"></a>
<div class="modfile"><h4>Modified: trunk/wp-includes/js/jquery/ui/jquery.effects.transfer.min.js (20491 => 20492)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-includes/js/jquery/ui/jquery.effects.transfer.min.js        2012-04-17 03:41:07 UTC (rev 20491)
+++ trunk/wp-includes/js/jquery/ui/jquery.effects.transfer.min.js        2012-04-17 16:49:17 UTC (rev 20492)
</span><span class="lines">@@ -1,14 +1,5 @@
</span><del>-/*
- * jQuery UI Effects Transfer 1.8.16
- *
- * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
- * Dual licensed under the MIT or GPL Version 2 licenses.
- * http://jquery.org/license
- *
- * http://docs.jquery.com/UI/Effects/Transfer
- *
- * Depends:
- *        jquery.effects.core.js
- */
-(function(e){e.effects.transfer=function(a){return this.queue(function(){var b=e(this),c=e(a.options.to),d=c.offset();c={top:d.top,left:d.left,height:c.innerHeight(),width:c.innerWidth()};d=b.offset();var f=e('&lt;div class=&quot;ui-effects-transfer&quot;&gt;&lt;/div&gt;').appendTo(document.body).addClass(a.options.className).css({top:d.top,left:d.left,height:b.innerHeight(),width:b.innerWidth(),position:&quot;absolute&quot;}).animate(c,a.duration,a.options.easing,function(){f.remove();a.callback&amp;&amp;a.callback.apply(b[0],arguments);
-b.dequeue()})})}})(jQuery);
</del><ins>+/*! jQuery UI - v1.8.19 - 2012-04-16
+* https://github.com/jquery/jquery-ui
+* Includes: jquery.effects.transfer.js
+* Copyright (c) 2012 AUTHORS.txt; Licensed MIT, GPL */
+(function(a,b){a.effects.transfer=function(b){return this.queue(function(){var c=a(this),d=a(b.options.to),e=d.offset(),f={top:e.top,left:e.left,height:d.innerHeight(),width:d.innerWidth()},g=c.offset(),h=a('&lt;div class=&quot;ui-effects-transfer&quot;&gt;&lt;/div&gt;').appendTo(document.body).addClass(b.options.className).css({top:g.top,left:g.left,height:c.innerHeight(),width:c.innerWidth(),position:&quot;absolute&quot;}).animate(f,b.duration,b.options.easing,function(){h.remove(),b.callback&amp;&amp;b.callback.apply(c[0],arguments),c.dequeue()})})}})(jQuery)
</ins><span class="cx">\ No newline at end of file
</span></span></pre></div>
<a id="trunkwpincludesjsjqueryuijqueryuiaccordionminjs"></a>
<div class="modfile"><h4>Modified: trunk/wp-includes/js/jquery/ui/jquery.ui.accordion.min.js (20491 => 20492)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-includes/js/jquery/ui/jquery.ui.accordion.min.js        2012-04-17 03:41:07 UTC (rev 20491)
+++ trunk/wp-includes/js/jquery/ui/jquery.ui.accordion.min.js        2012-04-17 16:49:17 UTC (rev 20492)
</span><span class="lines">@@ -1,30 +1,5 @@
</span><del>-/*
- * jQuery UI Accordion 1.8.16
- *
- * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
- * Dual licensed under the MIT or GPL Version 2 licenses.
- * http://jquery.org/license
- *
- * http://docs.jquery.com/UI/Accordion
- *
- * Depends:
- *        jquery.ui.core.js
- *        jquery.ui.widget.js
- */
-(function(c){c.widget(&quot;ui.accordion&quot;,{options:{active:0,animated:&quot;slide&quot;,autoHeight:true,clearStyle:false,collapsible:false,event:&quot;click&quot;,fillSpace:false,header:&quot;&gt; li &gt; :first-child,&gt; :not(li):even&quot;,icons:{header:&quot;ui-icon-triangle-1-e&quot;,headerSelected:&quot;ui-icon-triangle-1-s&quot;},navigation:false,navigationFilter:function(){return this.href.toLowerCase()===location.href.toLowerCase()}},_create:function(){var a=this,b=a.options;a.running=0;a.element.addClass(&quot;ui-accordion ui-widget ui-helper-reset&quot;).children(&quot;li&quot;).addClass(&quot;ui-accordion-li-fix&quot;);
-a.headers=a.element.find(b.header).addClass(&quot;ui-accordion-header ui-helper-reset ui-state-default ui-corner-all&quot;).bind(&quot;mouseenter.accordion&quot;,function(){b.disabled||c(this).addClass(&quot;ui-state-hover&quot;)}).bind(&quot;mouseleave.accordion&quot;,function(){b.disabled||c(this).removeClass(&quot;ui-state-hover&quot;)}).bind(&quot;focus.accordion&quot;,function(){b.disabled||c(this).addClass(&quot;ui-state-focus&quot;)}).bind(&quot;blur.accordion&quot;,function(){b.disabled||c(this).removeClass(&quot;ui-state-focus&quot;)});a.headers.next().addClass(&quot;ui-accordion-content ui-helper-reset ui-widget-content ui-corner-bottom&quot;);
-if(b.navigation){var d=a.element.find(&quot;a&quot;).filter(b.navigationFilter).eq(0);if(d.length){var h=d.closest(&quot;.ui-accordion-header&quot;);a.active=h.length?h:d.closest(&quot;.ui-accordion-content&quot;).prev()}}a.active=a._findActive(a.active||b.active).addClass(&quot;ui-state-default ui-state-active&quot;).toggleClass(&quot;ui-corner-all&quot;).toggleClass(&quot;ui-corner-top&quot;);a.active.next().addClass(&quot;ui-accordion-content-active&quot;);a._createIcons();a.resize();a.element.attr(&quot;role&quot;,&quot;tablist&quot;);a.headers.attr(&quot;role&quot;,&quot;tab&quot;).bind(&quot;keydown.accordion&quot;,
-function(f){return a._keydown(f)}).next().attr(&quot;role&quot;,&quot;tabpanel&quot;);a.headers.not(a.active||&quot;&quot;).attr({&quot;aria-expanded&quot;:&quot;false&quot;,&quot;aria-selected&quot;:&quot;false&quot;,tabIndex:-1}).next().hide();a.active.length?a.active.attr({&quot;aria-expanded&quot;:&quot;true&quot;,&quot;aria-selected&quot;:&quot;true&quot;,tabIndex:0}):a.headers.eq(0).attr(&quot;tabIndex&quot;,0);c.browser.safari||a.headers.find(&quot;a&quot;).attr(&quot;tabIndex&quot;,-1);b.event&amp;&amp;a.headers.bind(b.event.split(&quot; &quot;).join(&quot;.accordion &quot;)+&quot;.accordion&quot;,function(f){a._clickHandler.call(a,f,this);f.preventDefault()})},_createIcons:function(){var a=
-this.options;if(a.icons){c(&quot;&lt;span&gt;&lt;/span&gt;&quot;).addClass(&quot;ui-icon &quot;+a.icons.header).prependTo(this.headers);this.active.children(&quot;.ui-icon&quot;).toggleClass(a.icons.header).toggleClass(a.icons.headerSelected);this.element.addClass(&quot;ui-accordion-icons&quot;)}},_destroyIcons:function(){this.headers.children(&quot;.ui-icon&quot;).remove();this.element.removeClass(&quot;ui-accordion-icons&quot;)},destroy:function(){var a=this.options;this.element.removeClass(&quot;ui-accordion ui-widget ui-helper-reset&quot;).removeAttr(&quot;role&quot;);this.headers.unbind(&quot;.accordion&quot;).removeClass(&quot;ui-accordion-header ui-accordion-disabled ui-helper-reset ui-state-default ui-corner-all ui-state-active ui-state-disabled ui-corner-top&quot;).removeAttr(&quot;role&quot;).removeAttr(&quot;aria-expanded&quot;).removeAttr(&quot;aria-selected&quot;).removeAttr(&quot;tabIndex&quot;);
-this.headers.find(&quot;a&quot;).removeAttr(&quot;tabIndex&quot;);this._destroyIcons();var b=this.headers.next().css(&quot;display&quot;,&quot;&quot;).removeAttr(&quot;role&quot;).removeClass(&quot;ui-helper-reset ui-widget-content ui-corner-bottom ui-accordion-content ui-accordion-content-active ui-accordion-disabled ui-state-disabled&quot;);if(a.autoHeight||a.fillHeight)b.css(&quot;height&quot;,&quot;&quot;);return c.Widget.prototype.destroy.call(this)},_setOption:function(a,b){c.Widget.prototype._setOption.apply(this,arguments);a==&quot;active&quot;&amp;&amp;this.activate(b);if(a==&quot;icons&quot;){this._destroyIcons();
-b&amp;&amp;this._createIcons()}if(a==&quot;disabled&quot;)this.headers.add(this.headers.next())[b?&quot;addClass&quot;:&quot;removeClass&quot;](&quot;ui-accordion-disabled ui-state-disabled&quot;)},_keydown:function(a){if(!(this.options.disabled||a.altKey||a.ctrlKey)){var b=c.ui.keyCode,d=this.headers.length,h=this.headers.index(a.target),f=false;switch(a.keyCode){case b.RIGHT:case b.DOWN:f=this.headers[(h+1)%d];break;case b.LEFT:case b.UP:f=this.headers[(h-1+d)%d];break;case b.SPACE:case b.ENTER:this._clickHandler({target:a.target},a.target);
-a.preventDefault()}if(f){c(a.target).attr(&quot;tabIndex&quot;,-1);c(f).attr(&quot;tabIndex&quot;,0);f.focus();return false}return true}},resize:function(){var a=this.options,b;if(a.fillSpace){if(c.browser.msie){var d=this.element.parent().css(&quot;overflow&quot;);this.element.parent().css(&quot;overflow&quot;,&quot;hidden&quot;)}b=this.element.parent().height();c.browser.msie&amp;&amp;this.element.parent().css(&quot;overflow&quot;,d);this.headers.each(function(){b-=c(this).outerHeight(true)});this.headers.next().each(function(){c(this).height(Math.max(0,b-c(this).innerHeight()+
-c(this).height()))}).css(&quot;overflow&quot;,&quot;auto&quot;)}else if(a.autoHeight){b=0;this.headers.next().each(function(){b=Math.max(b,c(this).height(&quot;&quot;).height())}).height(b)}return this},activate:function(a){this.options.active=a;a=this._findActive(a)[0];this._clickHandler({target:a},a);return this},_findActive:function(a){return a?typeof a===&quot;number&quot;?this.headers.filter(&quot;:eq(&quot;+a+&quot;)&quot;):this.headers.not(this.headers.not(a)):a===false?c([]):this.headers.filter(&quot;:eq(0)&quot;)},_clickHandler:function(a,b){var d=this.options;
-if(!d.disabled)if(a.target){a=c(a.currentTarget||b);b=a[0]===this.active[0];d.active=d.collapsible&amp;&amp;b?false:this.headers.index(a);if(!(this.running||!d.collapsible&amp;&amp;b)){var h=this.active;j=a.next();g=this.active.next();e={options:d,newHeader:b&amp;&amp;d.collapsible?c([]):a,oldHeader:this.active,newContent:b&amp;&amp;d.collapsible?c([]):j,oldContent:g};var f=this.headers.index(this.active[0])&gt;this.headers.index(a[0]);this.active=b?c([]):a;this._toggle(j,g,e,b,f);h.removeClass(&quot;ui-state-active ui-corner-top&quot;).addClass(&quot;ui-state-default ui-corner-all&quot;).children(&quot;.ui-icon&quot;).removeClass(d.icons.headerSelected).addClass(d.icons.header);
-if(!b){a.removeClass(&quot;ui-state-default ui-corner-all&quot;).addClass(&quot;ui-state-active ui-corner-top&quot;).children(&quot;.ui-icon&quot;).removeClass(d.icons.header).addClass(d.icons.headerSelected);a.next().addClass(&quot;ui-accordion-content-active&quot;)}}}else if(d.collapsible){this.active.removeClass(&quot;ui-state-active ui-corner-top&quot;).addClass(&quot;ui-state-default ui-corner-all&quot;).children(&quot;.ui-icon&quot;).removeClass(d.icons.headerSelected).addClass(d.icons.header);this.active.next().addClass(&quot;ui-accordion-content-active&quot;);var g=this.active.next(),
-e={options:d,newHeader:c([]),oldHeader:d.active,newContent:c([]),oldContent:g},j=this.active=c([]);this._toggle(j,g,e)}},_toggle:function(a,b,d,h,f){var g=this,e=g.options;g.toShow=a;g.toHide=b;g.data=d;var j=function(){if(g)return g._completed.apply(g,arguments)};g._trigger(&quot;changestart&quot;,null,g.data);g.running=b.size()===0?a.size():b.size();if(e.animated){d={};d=e.collapsible&amp;&amp;h?{toShow:c([]),toHide:b,complete:j,down:f,autoHeight:e.autoHeight||e.fillSpace}:{toShow:a,toHide:b,complete:j,down:f,autoHeight:e.autoHeight||
-e.fillSpace};if(!e.proxied)e.proxied=e.animated;if(!e.proxiedDuration)e.proxiedDuration=e.duration;e.animated=c.isFunction(e.proxied)?e.proxied(d):e.proxied;e.duration=c.isFunction(e.proxiedDuration)?e.proxiedDuration(d):e.proxiedDuration;h=c.ui.accordion.animations;var i=e.duration,k=e.animated;if(k&amp;&amp;!h[k]&amp;&amp;!c.easing[k])k=&quot;slide&quot;;h[k]||(h[k]=function(l){this.slide(l,{easing:k,duration:i||700})});h[k](d)}else{if(e.collapsible&amp;&amp;h)a.toggle();else{b.hide();a.show()}j(true)}b.prev().attr({&quot;aria-expanded&quot;:&quot;false&quot;,
-&quot;aria-selected&quot;:&quot;false&quot;,tabIndex:-1}).blur();a.prev().attr({&quot;aria-expanded&quot;:&quot;true&quot;,&quot;aria-selected&quot;:&quot;true&quot;,tabIndex:0}).focus()},_completed:function(a){this.running=a?0:--this.running;if(!this.running){this.options.clearStyle&amp;&amp;this.toShow.add(this.toHide).css({height:&quot;&quot;,overflow:&quot;&quot;});this.toHide.removeClass(&quot;ui-accordion-content-active&quot;);if(this.toHide.length)this.toHide.parent()[0].className=this.toHide.parent()[0].className;this._trigger(&quot;change&quot;,null,this.data)}}});c.extend(c.ui.accordion,{version:&quot;1.8.16&quot;,
-animations:{slide:function(a,b){a=c.extend({easing:&quot;swing&quot;,duration:300},a,b);if(a.toHide.size())if(a.toShow.size()){var d=a.toShow.css(&quot;overflow&quot;),h=0,f={},g={},e;b=a.toShow;e=b[0].style.width;b.width(parseInt(b.parent().width(),10)-parseInt(b.css(&quot;paddingLeft&quot;),10)-parseInt(b.css(&quot;paddingRight&quot;),10)-(parseInt(b.css(&quot;borderLeftWidth&quot;),10)||0)-(parseInt(b.css(&quot;borderRightWidth&quot;),10)||0));c.each([&quot;height&quot;,&quot;paddingTop&quot;,&quot;paddingBottom&quot;],function(j,i){g[i]=&quot;hide&quot;;j=(&quot;&quot;+c.css(a.toShow[0],i)).match(/^([\d+-.]+)(.*)$/);
-f[i]={value:j[1],unit:j[2]||&quot;px&quot;}});a.toShow.css({height:0,overflow:&quot;hidden&quot;}).show();a.toHide.filter(&quot;:hidden&quot;).each(a.complete).end().filter(&quot;:visible&quot;).animate(g,{step:function(j,i){if(i.prop==&quot;height&quot;)h=i.end-i.start===0?0:(i.now-i.start)/(i.end-i.start);a.toShow[0].style[i.prop]=h*f[i.prop].value+f[i.prop].unit},duration:a.duration,easing:a.easing,complete:function(){a.autoHeight||a.toShow.css(&quot;height&quot;,&quot;&quot;);a.toShow.css({width:e,overflow:d});a.complete()}})}else a.toHide.animate({height:&quot;hide&quot;,
-paddingTop:&quot;hide&quot;,paddingBottom:&quot;hide&quot;},a);else a.toShow.animate({height:&quot;show&quot;,paddingTop:&quot;show&quot;,paddingBottom:&quot;show&quot;},a)},bounceslide:function(a){this.slide(a,{easing:a.down?&quot;easeOutBounce&quot;:&quot;swing&quot;,duration:a.down?1E3:200})}}})})(jQuery);
</del><ins>+/*! jQuery UI - v1.8.19 - 2012-04-16
+* https://github.com/jquery/jquery-ui
+* Includes: jquery.ui.accordion.js
+* Copyright (c) 2012 AUTHORS.txt; Licensed MIT, GPL */
+(function(a,b){a.widget(&quot;ui.accordion&quot;,{options:{active:0,animated:&quot;slide&quot;,autoHeight:!0,clearStyle:!1,collapsible:!1,event:&quot;click&quot;,fillSpace:!1,header:&quot;&gt; li &gt; :first-child,&gt; :not(li):even&quot;,icons:{header:&quot;ui-icon-triangle-1-e&quot;,headerSelected:&quot;ui-icon-triangle-1-s&quot;},navigation:!1,navigationFilter:function(){return this.href.toLowerCase()===location.href.toLowerCase()}},_create:function(){var b=this,c=b.options;b.running=0,b.element.addClass(&quot;ui-accordion ui-widget ui-helper-reset&quot;).children(&quot;li&quot;).addClass(&quot;ui-accordion-li-fix&quot;),b.headers=b.element.find(c.header).addClass(&quot;ui-accordion-header ui-helper-reset ui-state-default ui-corner-all&quot;).bind(&quot;mouseenter.accordion&quot;,function(){if(c.disabled)return;a(this).addClass(&quot;ui-state-hover&quot;)}).bind(&quot;mouseleave.accordion&quot;,function(){if(c.disabled)return;a(this).removeClass(&quot;ui-state-hover&quot;
 )}).bind(&quot;focus.accordion&quot;,function(){if(c.disabled)return;a(this).addClass(&quot;ui-state-focus&quot;)}).bind(&quot;blur.accordion&quot;,function(){if(c.disabled)return;a(this).removeClass(&quot;ui-state-focus&quot;)}),b.headers.next().addClass(&quot;ui-accordion-content ui-helper-reset ui-widget-content ui-corner-bottom&quot;);if(c.navigation){var d=b.element.find(&quot;a&quot;).filter(c.navigationFilter).eq(0);if(d.length){var e=d.closest(&quot;.ui-accordion-header&quot;);e.length?b.active=e:b.active=d.closest(&quot;.ui-accordion-content&quot;).prev()}}b.active=b._findActive(b.active||c.active).addClass(&quot;ui-state-default ui-state-active&quot;).toggleClass(&quot;ui-corner-all&quot;).toggleClass(&quot;ui-corner-top&quot;),b.active.next().addClass(&quot;ui-accordion-content-active&quot;),b._createIcons(),b.resize(),b.element.attr(&quot;role&quot;,&quot;tablist&quot;),b.headers.attr(&quot;role&quot;,&quot;tab&quot;).bind(&quot;keydown.accordion&quot;,function(a
 ){return b._keydown(a)}).next().attr(&quot;role&quot;,&quot;tabpanel&quot;),b.headers.not(b.active||&quot;&quot;).attr({&quot;aria-expanded&quot;:&quot;false&quot;,&quot;aria-selected&quot;:&quot;false&quot;,tabIndex:-1}).next().hide(),b.active.length?b.active.attr({&quot;aria-expanded&quot;:&quot;true&quot;,&quot;aria-selected&quot;:&quot;true&quot;,tabIndex:0}):b.headers.eq(0).attr(&quot;tabIndex&quot;,0),a.browser.safari||b.headers.find(&quot;a&quot;).attr(&quot;tabIndex&quot;,-1),c.event&amp;&amp;b.headers.bind(c.event.split(&quot; &quot;).join(&quot;.accordion &quot;)+&quot;.accordion&quot;,function(a){b._clickHandler.call(b,a,this),a.preventDefault()})},_createIcons:function(){var b=this.options;b.icons&amp;&amp;(a(&quot;&lt;span&gt;&lt;/span&gt;&quot;).addClass(&quot;ui-icon &quot;+b.icons.header).prependTo(this.headers),this.active.children(&quot;.ui-icon&quot;).toggleClass(b.icons.header).toggleClass(b.icons.headerSelected),this.element.addClass(&quot;ui-accordion-i
 cons&quot;))},_destroyIcons:function(){this.headers.children(&quot;.ui-icon&quot;).remove(),this.element.removeClass(&quot;ui-accordion-icons&quot;)},destroy:function(){var b=this.options;this.element.removeClass(&quot;ui-accordion ui-widget ui-helper-reset&quot;).removeAttr(&quot;role&quot;),this.headers.unbind(&quot;.accordion&quot;).removeClass(&quot;ui-accordion-header ui-accordion-disabled ui-helper-reset ui-state-default ui-corner-all ui-state-active ui-state-disabled ui-corner-top&quot;).removeAttr(&quot;role&quot;).removeAttr(&quot;aria-expanded&quot;).removeAttr(&quot;aria-selected&quot;).removeAttr(&quot;tabIndex&quot;),this.headers.find(&quot;a&quot;).removeAttr(&quot;tabIndex&quot;),this._destroyIcons();var c=this.headers.next().css(&quot;display&quot;,&quot;&quot;).removeAttr(&quot;role&quot;).removeClass(&quot;ui-helper-reset ui-widget-content ui-corner-bottom ui-accordion-content ui-accordion-content-active ui-accordion-disabled ui-state-disabled&quot;);return
 (b.autoHeight||b.fillHeight)&amp;&amp;c.css(&quot;height&quot;,&quot;&quot;),a.Widget.prototype.destroy.call(this)},_setOption:function(b,c){a.Widget.prototype._setOption.apply(this,arguments),b==&quot;active&quot;&amp;&amp;this.activate(c),b==&quot;icons&quot;&amp;&amp;(this._destroyIcons(),c&amp;&amp;this._createIcons()),b==&quot;disabled&quot;&amp;&amp;this.headers.add(this.headers.next())[c?&quot;addClass&quot;:&quot;removeClass&quot;](&quot;ui-accordion-disabled ui-state-disabled&quot;)},_keydown:function(b){if(this.options.disabled||b.altKey||b.ctrlKey)return;var c=a.ui.keyCode,d=this.headers.length,e=this.headers.index(b.target),f=!1;switch(b.keyCode){case c.RIGHT:case c.DOWN:f=this.headers[(e+1)%d];break;case c.LEFT:case c.UP:f=this.headers[(e-1+d)%d];break;case c.SPACE:case c.ENTER:this._clickHandler({target:b.target},b.target),b.preventDefault()}return f?(a(b.target).attr(&quot;tabIndex&quot;,-1),a(f).attr(&quot;tabIndex&quot;,0),f.focus(),!1):!0},resize:function()
 {var b=this.options,c;if(b.fillSpace){if(a.browser.msie){var d=this.element.parent().css(&quot;overflow&quot;);this.element.parent().css(&quot;overflow&quot;,&quot;hidden&quot;)}c=this.element.parent().height(),a.browser.msie&amp;&amp;this.element.parent().css(&quot;overflow&quot;,d),this.headers.each(function(){c-=a(this).outerHeight(!0)}),this.headers.next().each(function(){a(this).height(Math.max(0,c-a(this).innerHeight()+a(this).height()))}).css(&quot;overflow&quot;,&quot;auto&quot;)}else b.autoHeight&amp;&amp;(c=0,this.headers.next().each(function(){c=Math.max(c,a(this).height(&quot;&quot;).height())}).height(c));return this},activate:function(a){this.options.active=a;var b=this._findActive(a)[0];return this._clickHandler({target:b},b),this},_findActive:function(b){return b?typeof b==&quot;number&quot;?this.headers.filter(&quot;:eq(&quot;+b+&quot;)&quot;):this.headers.not(this.headers.not(b)):b===!1?a([]):this.headers.filter(&quot;:eq(0)&quot;)},_clickHandler:function(b
 ,c){var d=this.options;if(d.disabled)return;if(!b.target){if(!d.collapsible)return;this.active.removeClass(&quot;ui-state-active ui-corner-top&quot;).addClass(&quot;ui-state-default ui-corner-all&quot;).children(&quot;.ui-icon&quot;).removeClass(d.icons.headerSelected).addClass(d.icons.header),this.active.next().addClass(&quot;ui-accordion-content-active&quot;);var e=this.active.next(),f={options:d,newHeader:a([]),oldHeader:d.active,newContent:a([]),oldContent:e},g=this.active=a([]);this._toggle(g,e,f);return}var h=a(b.currentTarget||c),i=h[0]===this.active[0];d.active=d.collapsible&amp;&amp;i?!1:this.headers.index(h);if(this.running||!d.collapsible&amp;&amp;i)return;var j=this.active,g=h.next(),e=this.active.next(),f={options:d,newHeader:i&amp;&amp;d.collapsible?a([]):h,oldHeader:this.active,newContent:i&amp;&amp;d.collapsible?a([]):g,oldContent:e},k=this.headers.index(this.active[0])&gt;this.headers.index(h[0]);this.active=i?a([]):h,this._toggle(g,e,f,i,k),j.removeClass(&q
 uot;ui-state-active ui-corner-top&quot;).addClass(&quot;ui-state-default ui-corner-all&quot;).children(&quot;.ui-icon&quot;).removeClass(d.icons.headerSelected).addClass(d.icons.header),i||(h.removeClass(&quot;ui-state-default ui-corner-all&quot;).addClass(&quot;ui-state-active ui-corner-top&quot;).children(&quot;.ui-icon&quot;).removeClass(d.icons.header).addClass(d.icons.headerSelected),h.next().addClass(&quot;ui-accordion-content-active&quot;));return},_toggle:function(b,c,d,e,f){var g=this,h=g.options;g.toShow=b,g.toHide=c,g.data=d;var i=function(){if(!g)return;return g._completed.apply(g,arguments)};g._trigger(&quot;changestart&quot;,null,g.data),g.running=c.size()===0?b.size():c.size();if(h.animated){var j={};h.collapsible&amp;&amp;e?j={toShow:a([]),toHide:c,complete:i,down:f,autoHeight:h.autoHeight||h.fillSpace}:j={toShow:b,toHide:c,complete:i,down:f,autoHeight:h.autoHeight||h.fillSpace},h.proxied||(h.proxied=h.animated),h.proxiedDuration||(h.proxiedDuration=h.duratio
 n),h.animated=a.isFunction(h.proxied)?h.proxied(j):h.proxied,h.duration=a.isFunction(h.proxiedDuration)?h.proxiedDuration(j):h.proxiedDuration;var k=a.ui.accordion.animations,l=h.duration,m=h.animated;m&amp;&amp;!k[m]&amp;&amp;!a.easing[m]&amp;&amp;(m=&quot;slide&quot;),k[m]||(k[m]=function(a){this.slide(a,{easing:m,duration:l||700})}),k[m](j)}else h.collapsible&amp;&amp;e?b.toggle():(c.hide(),b.show()),i(!0);c.prev().attr({&quot;aria-expanded&quot;:&quot;false&quot;,&quot;aria-selected&quot;:&quot;false&quot;,tabIndex:-1}).blur(),b.prev().attr({&quot;aria-expanded&quot;:&quot;true&quot;,&quot;aria-selected&quot;:&quot;true&quot;,tabIndex:0}).focus()},_completed:function(a){this.running=a?0:--this.running;if(this.running)return;this.options.clearStyle&amp;&amp;this.toShow.add(this.toHide).css({height:&quot;&quot;,overflow:&quot;&quot;}),this.toHide.removeClass(&quot;ui-accordion-content-active&quot;),this.toHide.length&amp;&amp;(this.toHide.parent()[0].className=this.toHide.
 parent()[0].className),this._trigger(&quot;change&quot;,null,this.data)}}),a.extend(a.ui.accordion,{version:&quot;1.8.19&quot;,animations:{slide:function(b,c){b=a.extend({easing:&quot;swing&quot;,duration:300},b,c);if(!b.toHide.size()){b.toShow.animate({height:&quot;show&quot;,paddingTop:&quot;show&quot;,paddingBottom:&quot;show&quot;},b);return}if(!b.toShow.size()){b.toHide.animate({height:&quot;hide&quot;,paddingTop:&quot;hide&quot;,paddingBottom:&quot;hide&quot;},b);return}var d=b.toShow.css(&quot;overflow&quot;),e=0,f={},g={},h=[&quot;height&quot;,&quot;paddingTop&quot;,&quot;paddingBottom&quot;],i,j=b.toShow;i=j[0].style.width,j.width(j.parent().width()-parseFloat(j.css(&quot;paddingLeft&quot;))-parseFloat(j.css(&quot;paddingRight&quot;))-(parseFloat(j.css(&quot;borderLeftWidth&quot;))||0)-(parseFloat(j.css(&quot;borderRightWidth&quot;))||0)),a.each(h,function(c,d){g[d]=&quot;hide&quot;;var e=(&quot;&quot;+a.css(b.toShow[0],d)).match(/^([\d+-.]+)(.*)$/);f[d]={value:e[1]
 ,unit:e[2]||&quot;px&quot;}}),b.toShow.css({height:0,overflow:&quot;hidden&quot;}).show(),b.toHide.filter(&quot;:hidden&quot;).each(b.complete).end().filter(&quot;:visible&quot;).animate(g,{step:function(a,c){c.prop==&quot;height&quot;&amp;&amp;(e=c.end-c.start===0?0:(c.now-c.start)/(c.end-c.start)),b.toShow[0].style[c.prop]=e*f[c.prop].value+f[c.prop].unit},duration:b.duration,easing:b.easing,complete:function(){b.autoHeight||b.toShow.css(&quot;height&quot;,&quot;&quot;),b.toShow.css({width:i,overflow:d}),b.complete()}})},bounceslide:function(a){this.slide(a,{easing:a.down?&quot;easeOutBounce&quot;:&quot;swing&quot;,duration:a.down?1e3:200})}}})})(jQuery)
</ins><span class="cx">\ No newline at end of file
</span></span></pre></div>
<a id="trunkwpincludesjsjqueryuijqueryuiautocompleteminjs"></a>
<div class="modfile"><h4>Modified: trunk/wp-includes/js/jquery/ui/jquery.ui.autocomplete.min.js (20491 => 20492)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-includes/js/jquery/ui/jquery.ui.autocomplete.min.js        2012-04-17 03:41:07 UTC (rev 20491)
+++ trunk/wp-includes/js/jquery/ui/jquery.ui.autocomplete.min.js        2012-04-17 16:49:17 UTC (rev 20492)
</span><span class="lines">@@ -1,32 +1,5 @@
</span><del>-/*
- * jQuery UI Autocomplete 1.8.16
- *
- * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
- * Dual licensed under the MIT or GPL Version 2 licenses.
- * http://jquery.org/license
- *
- * http://docs.jquery.com/UI/Autocomplete
- *
- * Depends:
- *        jquery.ui.core.js
- *        jquery.ui.widget.js
- *        jquery.ui.position.js
- */
-(function(d){var e=0;d.widget(&quot;ui.autocomplete&quot;,{options:{appendTo:&quot;body&quot;,autoFocus:false,delay:300,minLength:1,position:{my:&quot;left top&quot;,at:&quot;left bottom&quot;,collision:&quot;none&quot;},source:null},pending:0,_create:function(){var a=this,b=this.element[0].ownerDocument,g;this.element.addClass(&quot;ui-autocomplete-input&quot;).attr(&quot;autocomplete&quot;,&quot;off&quot;).attr({role:&quot;textbox&quot;,&quot;aria-autocomplete&quot;:&quot;list&quot;,&quot;aria-haspopup&quot;:&quot;true&quot;}).bind(&quot;keydown.autocomplete&quot;,function(c){if(!(a.options.disabled||a.element.propAttr(&quot;readOnly&quot;))){g=
-false;var f=d.ui.keyCode;switch(c.keyCode){case f.PAGE_UP:a._move(&quot;previousPage&quot;,c);break;case f.PAGE_DOWN:a._move(&quot;nextPage&quot;,c);break;case f.UP:a._move(&quot;previous&quot;,c);c.preventDefault();break;case f.DOWN:a._move(&quot;next&quot;,c);c.preventDefault();break;case f.ENTER:case f.NUMPAD_ENTER:if(a.menu.active){g=true;c.preventDefault()}case f.TAB:if(!a.menu.active)return;a.menu.select(c);break;case f.ESCAPE:a.element.val(a.term);a.close(c);break;default:clearTimeout(a.searching);a.searching=setTimeout(function(){if(a.term!=
-a.element.val()){a.selectedItem=null;a.search(null,c)}},a.options.delay);break}}}).bind(&quot;keypress.autocomplete&quot;,function(c){if(g){g=false;c.preventDefault()}}).bind(&quot;focus.autocomplete&quot;,function(){if(!a.options.disabled){a.selectedItem=null;a.previous=a.element.val()}}).bind(&quot;blur.autocomplete&quot;,function(c){if(!a.options.disabled){clearTimeout(a.searching);a.closing=setTimeout(function(){a.close(c);a._change(c)},150)}});this._initSource();this.response=function(){return a._response.apply(a,arguments)};
-this.menu=d(&quot;&lt;ul&gt;&lt;/ul&gt;&quot;).addClass(&quot;ui-autocomplete&quot;).appendTo(d(this.options.appendTo||&quot;body&quot;,b)[0]).mousedown(function(c){var f=a.menu.element[0];d(c.target).closest(&quot;.ui-menu-item&quot;).length||setTimeout(function(){d(document).one(&quot;mousedown&quot;,function(h){h.target!==a.element[0]&amp;&amp;h.target!==f&amp;&amp;!d.ui.contains(f,h.target)&amp;&amp;a.close()})},1);setTimeout(function(){clearTimeout(a.closing)},13)}).menu({focus:function(c,f){f=f.item.data(&quot;item.autocomplete&quot;);false!==a._trigger(&quot;focus&quot;,c,{item:f})&amp;&amp;/^key/.test(c.originalEvent.type)&amp;&amp;
-a.element.val(f.value)},selected:function(c,f){var h=f.item.data(&quot;item.autocomplete&quot;),i=a.previous;if(a.element[0]!==b.activeElement){a.element.focus();a.previous=i;setTimeout(function(){a.previous=i;a.selectedItem=h},1)}false!==a._trigger(&quot;select&quot;,c,{item:h})&amp;&amp;a.element.val(h.value);a.term=a.element.val();a.close(c);a.selectedItem=h},blur:function(){a.menu.element.is(&quot;:visible&quot;)&amp;&amp;a.element.val()!==a.term&amp;&amp;a.element.val(a.term)}}).zIndex(this.element.zIndex()+1).css({top:0,left:0}).hide().data(&quot;menu&quot;);
-d.fn.bgiframe&amp;&amp;this.menu.element.bgiframe()},destroy:function(){this.element.removeClass(&quot;ui-autocomplete-input&quot;).removeAttr(&quot;autocomplete&quot;).removeAttr(&quot;role&quot;).removeAttr(&quot;aria-autocomplete&quot;).removeAttr(&quot;aria-haspopup&quot;);this.menu.element.remove();d.Widget.prototype.destroy.call(this)},_setOption:function(a,b){d.Widget.prototype._setOption.apply(this,arguments);a===&quot;source&quot;&amp;&amp;this._initSource();if(a===&quot;appendTo&quot;)this.menu.element.appendTo(d(b||&quot;body&quot;,this.element[0].ownerDocument)[0]);a===&quot;disabled&quot;&amp;&amp;
-b&amp;&amp;this.xhr&amp;&amp;this.xhr.abort()},_initSource:function(){var a=this,b,g;if(d.isArray(this.options.source)){b=this.options.source;this.source=function(c,f){f(d.ui.autocomplete.filter(b,c.term))}}else if(typeof this.options.source===&quot;string&quot;){g=this.options.source;this.source=function(c,f){a.xhr&amp;&amp;a.xhr.abort();a.xhr=d.ajax({url:g,data:c,dataType:&quot;json&quot;,autocompleteRequest:++e,success:function(h){this.autocompleteRequest===e&amp;&amp;f(h)},error:function(){this.autocompleteRequest===e&amp;&amp;f([])}})}}else this.source=
-this.options.source},search:function(a,b){a=a!=null?a:this.element.val();this.term=this.element.val();if(a.length&lt;this.options.minLength)return this.close(b);clearTimeout(this.closing);if(this._trigger(&quot;search&quot;,b)!==false)return this._search(a)},_search:function(a){this.pending++;this.element.addClass(&quot;ui-autocomplete-loading&quot;);this.source({term:a},this.response)},_response:function(a){if(!this.options.disabled&amp;&amp;a&amp;&amp;a.length){a=this._normalize(a);this._suggest(a);this._trigger(&quot;open&quot;)}else this.close();
-this.pending--;this.pending||this.element.removeClass(&quot;ui-autocomplete-loading&quot;)},close:function(a){clearTimeout(this.closing);if(this.menu.element.is(&quot;:visible&quot;)){this.menu.element.hide();this.menu.deactivate();this._trigger(&quot;close&quot;,a)}},_change:function(a){this.previous!==this.element.val()&amp;&amp;this._trigger(&quot;change&quot;,a,{item:this.selectedItem})},_normalize:function(a){if(a.length&amp;&amp;a[0].label&amp;&amp;a[0].value)return a;return d.map(a,function(b){if(typeof b===&quot;string&quot;)return{label:b,value:b};return d.extend({label:b.label||
-b.value,value:b.value||b.label},b)})},_suggest:function(a){var b=this.menu.element.empty().zIndex(this.element.zIndex()+1);this._renderMenu(b,a);this.menu.deactivate();this.menu.refresh();b.show();this._resizeMenu();b.position(d.extend({of:this.element},this.options.position));this.options.autoFocus&amp;&amp;this.menu.next(new d.Event(&quot;mouseover&quot;))},_resizeMenu:function(){var a=this.menu.element;a.outerWidth(Math.max(a.width(&quot;&quot;).outerWidth(),this.element.outerWidth()))},_renderMenu:function(a,b){var g=this;
-d.each(b,function(c,f){g._renderItem(a,f)})},_renderItem:function(a,b){return d(&quot;&lt;li&gt;&lt;/li&gt;&quot;).data(&quot;item.autocomplete&quot;,b).append(d(&quot;&lt;a&gt;&lt;/a&gt;&quot;).text(b.label)).appendTo(a)},_move:function(a,b){if(this.menu.element.is(&quot;:visible&quot;))if(this.menu.first()&amp;&amp;/^previous/.test(a)||this.menu.last()&amp;&amp;/^next/.test(a)){this.element.val(this.term);this.menu.deactivate()}else this.menu[a](b);else this.search(null,b)},widget:function(){return this.menu.element}});d.extend(d.ui.autocomplete,{escapeRegex:function(a){return a.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,
-&quot;\\$&amp;&quot;)},filter:function(a,b){var g=new RegExp(d.ui.autocomplete.escapeRegex(b),&quot;i&quot;);return d.grep(a,function(c){return g.test(c.label||c.value||c)})}})})(jQuery);
-(function(d){d.widget(&quot;ui.menu&quot;,{_create:function(){var e=this;this.element.addClass(&quot;ui-menu ui-widget ui-widget-content ui-corner-all&quot;).attr({role:&quot;listbox&quot;,&quot;aria-activedescendant&quot;:&quot;ui-active-menuitem&quot;}).click(function(a){if(d(a.target).closest(&quot;.ui-menu-item a&quot;).length){a.preventDefault();e.select(a)}});this.refresh()},refresh:function(){var e=this;this.element.children(&quot;li:not(.ui-menu-item):has(a)&quot;).addClass(&quot;ui-menu-item&quot;).attr(&quot;role&quot;,&quot;menuitem&quot;).children(&quot;a&quot;).addClass(&quot;ui-corner-all&quot;).attr(&quot;tabindex&quot;,
--1).mouseenter(function(a){e.activate(a,d(this).parent())}).mouseleave(function(){e.deactivate()})},activate:function(e,a){this.deactivate();if(this.hasScroll()){var b=a.offset().top-this.element.offset().top,g=this.element.scrollTop(),c=this.element.height();if(b&lt;0)this.element.scrollTop(g+b);else b&gt;=c&amp;&amp;this.element.scrollTop(g+b-c+a.height())}this.active=a.eq(0).children(&quot;a&quot;).addClass(&quot;ui-state-hover&quot;).attr(&quot;id&quot;,&quot;ui-active-menuitem&quot;).end();this._trigger(&quot;focus&quot;,e,{item:a})},deactivate:function(){if(this.active){this.active.children(&quot;a&quot;).removeClass(&quot;ui-state-hover&quot;).removeAttr(&quot;id&quot;);
-this._trigger(&quot;blur&quot;);this.active=null}},next:function(e){this.move(&quot;next&quot;,&quot;.ui-menu-item:first&quot;,e)},previous:function(e){this.move(&quot;prev&quot;,&quot;.ui-menu-item:last&quot;,e)},first:function(){return this.active&amp;&amp;!this.active.prevAll(&quot;.ui-menu-item&quot;).length},last:function(){return this.active&amp;&amp;!this.active.nextAll(&quot;.ui-menu-item&quot;).length},move:function(e,a,b){if(this.active){e=this.active[e+&quot;All&quot;](&quot;.ui-menu-item&quot;).eq(0);e.length?this.activate(b,e):this.activate(b,this.element.children(a))}else this.activate(b,
-this.element.children(a))},nextPage:function(e){if(this.hasScroll())if(!this.active||this.last())this.activate(e,this.element.children(&quot;.ui-menu-item:first&quot;));else{var a=this.active.offset().top,b=this.element.height(),g=this.element.children(&quot;.ui-menu-item&quot;).filter(function(){var c=d(this).offset().top-a-b+d(this).height();return c&lt;10&amp;&amp;c&gt;-10});g.length||(g=this.element.children(&quot;.ui-menu-item:last&quot;));this.activate(e,g)}else this.activate(e,this.element.children(&quot;.ui-menu-item&quot;).filter(!this.active||
-this.last()?&quot;:first&quot;:&quot;:last&quot;))},previousPage:function(e){if(this.hasScroll())if(!this.active||this.first())this.activate(e,this.element.children(&quot;.ui-menu-item:last&quot;));else{var a=this.active.offset().top,b=this.element.height();result=this.element.children(&quot;.ui-menu-item&quot;).filter(function(){var g=d(this).offset().top-a+b-d(this).height();return g&lt;10&amp;&amp;g&gt;-10});result.length||(result=this.element.children(&quot;.ui-menu-item:first&quot;));this.activate(e,result)}else this.activate(e,this.element.children(&quot;.ui-menu-item&quot;).filter(!this.active||
-this.first()?&quot;:last&quot;:&quot;:first&quot;))},hasScroll:function(){return this.element.height()&lt;this.element[d.fn.prop?&quot;prop&quot;:&quot;attr&quot;](&quot;scrollHeight&quot;)},select:function(e){this._trigger(&quot;selected&quot;,e,{item:this.active})}})})(jQuery);
</del><ins>+/*! jQuery UI - v1.8.19 - 2012-04-16
+* https://github.com/jquery/jquery-ui
+* Includes: jquery.ui.autocomplete.js
+* Copyright (c) 2012 AUTHORS.txt; Licensed MIT, GPL */
+(function(a,b){var c=0;a.widget(&quot;ui.autocomplete&quot;,{options:{appendTo:&quot;body&quot;,autoFocus:!1,delay:300,minLength:1,position:{my:&quot;left top&quot;,at:&quot;left bottom&quot;,collision:&quot;none&quot;},source:null},pending:0,_create:function(){var b=this,c=this.element[0].ownerDocument,d;this.isMultiLine=this.element.is(&quot;textarea&quot;),this.element.addClass(&quot;ui-autocomplete-input&quot;).attr(&quot;autocomplete&quot;,&quot;off&quot;).attr({role:&quot;textbox&quot;,&quot;aria-autocomplete&quot;:&quot;list&quot;,&quot;aria-haspopup&quot;:&quot;true&quot;}).bind(&quot;keydown.autocomplete&quot;,function(c){if(b.options.disabled||b.element.propAttr(&quot;readOnly&quot;))return;d=!1;var e=a.ui.keyCode;switch(c.keyCode){case e.PAGE_UP:b._move(&quot;previousPage&quot;,c);break;case e.PAGE_DOWN:b._move(&quot;nextPage&quot;,c);break;case e.UP:b._keyEvent(&quot;previous&quot;,c);break;case e.DOWN:b._keyEvent(&quot;next&quot;,c);break;case e.ENTER:case e.NUM
 PAD_ENTER:b.menu.active&amp;&amp;(d=!0,c.preventDefault());case e.TAB:if(!b.menu.active)return;b.menu.select(c);break;case e.ESCAPE:b.element.val(b.term),b.close(c);break;default:clearTimeout(b.searching),b.searching=setTimeout(function(){b.term!=b.element.val()&amp;&amp;(b.selectedItem=null,b.search(null,c))},b.options.delay)}}).bind(&quot;keypress.autocomplete&quot;,function(a){d&amp;&amp;(d=!1,a.preventDefault())}).bind(&quot;focus.autocomplete&quot;,function(){if(b.options.disabled)return;b.selectedItem=null,b.previous=b.element.val()}).bind(&quot;blur.autocomplete&quot;,function(a){if(b.options.disabled)return;clearTimeout(b.searching),b.closing=setTimeout(function(){b.close(a),b._change(a)},150)}),this._initSource(),this.menu=a(&quot;&lt;ul&gt;&lt;/ul&gt;&quot;).addClass(&quot;ui-autocomplete&quot;).appendTo(a(this.options.appendTo||&quot;body&quot;,c)[0]).mousedown(function(c){var d=b.menu.element[0];a(c.target).closest(&quot;.ui-menu-item&quot;).length||setTimeout(fu
 nction(){a(document).one(&quot;mousedown&quot;,function(c){c.target!==b.element[0]&amp;&amp;c.target!==d&amp;&amp;!a.ui.contains(d,c.target)&amp;&amp;b.close()})},1),setTimeout(function(){clearTimeout(b.closing)},13)}).menu({focus:function(a,c){var d=c.item.data(&quot;item.autocomplete&quot;);!1!==b._trigger(&quot;focus&quot;,a,{item:d})&amp;&amp;/^key/.test(a.originalEvent.type)&amp;&amp;b.element.val(d.value)},selected:function(a,d){var e=d.item.data(&quot;item.autocomplete&quot;),f=b.previous;b.element[0]!==c.activeElement&amp;&amp;(b.element.focus(),b.previous=f,setTimeout(function(){b.previous=f,b.selectedItem=e},1)),!1!==b._trigger(&quot;select&quot;,a,{item:e})&amp;&amp;b.element.val(e.value),b.term=b.element.val(),b.close(a),b.selectedItem=e},blur:function(a,c){b.menu.element.is(&quot;:visible&quot;)&amp;&amp;b.element.val()!==b.term&amp;&amp;b.element.val(b.term)}}).zIndex(this.element.zIndex()+1).css({top:0,left:0}).hide().data(&quot;menu&quot;),a.fn.bgiframe&amp;&
 amp;this.menu.element.bgiframe(),b.beforeunloadHandler=function(){b.element.removeAttr(&quot;autocomplete&quot;)},a(window).bind(&quot;beforeunload&quot;,b.beforeunloadHandler)},destroy:function(){this.element.removeClass(&quot;ui-autocomplete-input&quot;).removeAttr(&quot;autocomplete&quot;).removeAttr(&quot;role&quot;).removeAttr(&quot;aria-autocomplete&quot;).removeAttr(&quot;aria-haspopup&quot;),this.menu.element.remove(),a(window).unbind(&quot;beforeunload&quot;,this.beforeunloadHandler),a.Widget.prototype.destroy.call(this)},_setOption:function(b,c){a.Widget.prototype._setOption.apply(this,arguments),b===&quot;source&quot;&amp;&amp;this._initSource(),b===&quot;appendTo&quot;&amp;&amp;this.menu.element.appendTo(a(c||&quot;body&quot;,this.element[0].ownerDocument)[0]),b===&quot;disabled&quot;&amp;&amp;c&amp;&amp;this.xhr&amp;&amp;this.xhr.abort()},_initSource:function(){var b=this,c,d;a.isArray(this.options.source)?(c=this.options.source,this.source=function(b,d){d(a.ui.
 autocomplete.filter(c,b.term))}):typeof this.options.source==&quot;string&quot;?(d=this.options.source,this.source=function(c,e){b.xhr&amp;&amp;b.xhr.abort(),b.xhr=a.ajax({url:d,data:c,dataType:&quot;json&quot;,success:function(a,b){e(a)},error:function(){e([])}})}):this.source=this.options.source},search:function(a,b){a=a!=null?a:this.element.val(),this.term=this.element.val();if(a.length&lt;this.options.minLength)return this.close(b);clearTimeout(this.closing);if(this._trigger(&quot;search&quot;,b)===!1)return;return this._search(a)},_search:function(a){this.pending++,this.element.addClass(&quot;ui-autocomplete-loading&quot;),this.source({term:a},this._response())},_response:function(){var a=this,b=++c;return function(d){b===c&amp;&amp;a.__response(d),a.pending--,a.pending||a.element.removeClass(&quot;ui-autocomplete-loading&quot;)}},__response:function(a){!this.options.disabled&amp;&amp;a&amp;&amp;a.length?(a=this._normalize(a),this._suggest(a),this._trigger(&quot;open&qu
 ot;)):this.close()},close:function(a){clearTimeout(this.closing),this.menu.element.is(&quot;:visible&quot;)&amp;&amp;(this.menu.element.hide(),this.menu.deactivate(),this._trigger(&quot;close&quot;,a))},_change:function(a){this.previous!==this.element.val()&amp;&amp;this._trigger(&quot;change&quot;,a,{item:this.selectedItem})},_normalize:function(b){return b.length&amp;&amp;b[0].label&amp;&amp;b[0].value?b:a.map(b,function(b){return typeof b==&quot;string&quot;?{label:b,value:b}:a.extend({label:b.label||b.value,value:b.value||b.label},b)})},_suggest:function(b){var c=this.menu.element.empty().zIndex(this.element.zIndex()+1);this._renderMenu(c,b),this.menu.deactivate(),this.menu.refresh(),c.show(),this._resizeMenu(),c.position(a.extend({of:this.element},this.options.position)),this.options.autoFocus&amp;&amp;this.menu.next(new a.Event(&quot;mouseover&quot;))},_resizeMenu:function(){var a=this.menu.element;a.outerWidth(Math.max(a.width(&quot;&quot;).outerWidth()+1,this.element
 .outerWidth()))},_renderMenu:function(b,c){var d=this;a.each(c,function(a,c){d._renderItem(b,c)})},_renderItem:function(b,c){return a(&quot;&lt;li&gt;&lt;/li&gt;&quot;).data(&quot;item.autocomplete&quot;,c).append(a(&quot;&lt;a&gt;&lt;/a&gt;&quot;).text(c.label)).appendTo(b)},_move:function(a,b){if(!this.menu.element.is(&quot;:visible&quot;)){this.search(null,b);return}if(this.menu.first()&amp;&amp;/^previous/.test(a)||this.menu.last()&amp;&amp;/^next/.test(a)){this.element.val(this.term),this.menu.deactivate();return}this.menu[a](b)},widget:function(){return this.menu.element},_keyEvent:function(a,b){if(!this.isMultiLine||this.menu.element.is(&quot;:visible&quot;))this._move(a,b),b.preventDefault()}}),a.extend(a.ui.autocomplete,{escapeRegex:function(a){return a.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,&quot;\\$&amp;&quot;)},filter:function(b,c){var d=new RegExp(a.ui.autocomplete.escapeRegex(c),&quot;i&quot;);return a.grep(b,function(a){return d.test(a.label||a.value||a)})}})})(jQ
 uery),function(a){a.widget(&quot;ui.menu&quot;,{_create:function(){var b=this;this.element.addClass(&quot;ui-menu ui-widget ui-widget-content ui-corner-all&quot;).attr({role:&quot;listbox&quot;,&quot;aria-activedescendant&quot;:&quot;ui-active-menuitem&quot;}).click(function(c){if(!a(c.target).closest(&quot;.ui-menu-item a&quot;).length)return;c.preventDefault(),b.select(c)}),this.refresh()},refresh:function(){var b=this,c=this.element.children(&quot;li:not(.ui-menu-item):has(a)&quot;).addClass(&quot;ui-menu-item&quot;).attr(&quot;role&quot;,&quot;menuitem&quot;);c.children(&quot;a&quot;).addClass(&quot;ui-corner-all&quot;).attr(&quot;tabindex&quot;,-1).mouseenter(function(c){b.activate(c,a(this).parent())}).mouseleave(function(){b.deactivate()})},activate:function(a,b){this.deactivate();if(this.hasScroll()){var c=b.offset().top-this.element.offset().top,d=this.element.scrollTop(),e=this.element.height();c&lt;0?this.element.scrollTop(d+c):c&gt;=e&amp;&amp;this.element.scroll
 Top(d+c-e+b.height())}this.active=b.eq(0).children(&quot;a&quot;).addClass(&quot;ui-state-hover&quot;).attr(&quot;id&quot;,&quot;ui-active-menuitem&quot;).end(),this._trigger(&quot;focus&quot;,a,{item:b})},deactivate:function(){if(!this.active)return;this.active.children(&quot;a&quot;).removeClass(&quot;ui-state-hover&quot;).removeAttr(&quot;id&quot;),this._trigger(&quot;blur&quot;),this.active=null},next:function(a){this.move(&quot;next&quot;,&quot;.ui-menu-item:first&quot;,a)},previous:function(a){this.move(&quot;prev&quot;,&quot;.ui-menu-item:last&quot;,a)},first:function(){return this.active&amp;&amp;!this.active.prevAll(&quot;.ui-menu-item&quot;).length},last:function(){return this.active&amp;&amp;!this.active.nextAll(&quot;.ui-menu-item&quot;).length},move:function(a,b,c){if(!this.active){this.activate(c,this.element.children(b));return}var d=this.active[a+&quot;All&quot;](&quot;.ui-menu-item&quot;).eq(0);d.length?this.activate(c,d):this.activate(c,this.element.childre
 n(b))},nextPage:function(b){if(this.hasScroll()){if(!this.active||this.last()){this.activate(b,this.element.children(&quot;.ui-menu-item:first&quot;));return}var c=this.active.offset().top,d=this.element.height(),e=this.element.children(&quot;.ui-menu-item&quot;).filter(function(){var b=a(this).offset().top-c-d+a(this).height();return b&lt;10&amp;&amp;b&gt;-10});e.length||(e=this.element.children(&quot;.ui-menu-item:last&quot;)),this.activate(b,e)}else this.activate(b,this.element.children(&quot;.ui-menu-item&quot;).filter(!this.active||this.last()?&quot;:first&quot;:&quot;:last&quot;))},previousPage:function(b){if(this.hasScroll()){if(!this.active||this.first()){this.activate(b,this.element.children(&quot;.ui-menu-item:last&quot;));return}var c=this.active.offset().top,d=this.element.height(),e=this.element.children(&quot;.ui-menu-item&quot;).filter(function(){var b=a(this).offset().top-c+d-a(this).height();return b&lt;10&amp;&amp;b&gt;-10});e.length||(e=this.element.childr
 en(&quot;.ui-menu-item:first&quot;)),this.activate(b,e)}else this.activate(b,this.element.children(&quot;.ui-menu-item&quot;).filter(!this.active||this.first()?&quot;:last&quot;:&quot;:first&quot;))},hasScroll:function(){return this.element.height()&lt;this.element[a.fn.prop?&quot;prop&quot;:&quot;attr&quot;](&quot;scrollHeight&quot;)},select:function(a){this._trigger(&quot;selected&quot;,a,{item:this.active})}})}(jQuery)
</ins><span class="cx">\ No newline at end of file
</span></span></pre></div>
<a id="trunkwpincludesjsjqueryuijqueryuibuttonminjs"></a>
<div class="modfile"><h4>Modified: trunk/wp-includes/js/jquery/ui/jquery.ui.button.min.js (20491 => 20492)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-includes/js/jquery/ui/jquery.ui.button.min.js        2012-04-17 03:41:07 UTC (rev 20491)
+++ trunk/wp-includes/js/jquery/ui/jquery.ui.button.min.js        2012-04-17 16:49:17 UTC (rev 20492)
</span><span class="lines">@@ -1,27 +1,5 @@
</span><del>-/*
- * jQuery UI Button 1.8.16
- *
- * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
- * Dual licensed under the MIT or GPL Version 2 licenses.
- * http://jquery.org/license
- *
- * http://docs.jquery.com/UI/Button
- *
- * Depends:
- *        jquery.ui.core.js
- *        jquery.ui.widget.js
- */
-(function(b){var h,i,j,g,l=function(){var a=b(this).find(&quot;:ui-button&quot;);setTimeout(function(){a.button(&quot;refresh&quot;)},1)},k=function(a){var c=a.name,e=a.form,f=b([]);if(c)f=e?b(e).find(&quot;[name='&quot;+c+&quot;']&quot;):b(&quot;[name='&quot;+c+&quot;']&quot;,a.ownerDocument).filter(function(){return!this.form});return f};b.widget(&quot;ui.button&quot;,{options:{disabled:null,text:true,label:null,icons:{primary:null,secondary:null}},_create:function(){this.element.closest(&quot;form&quot;).unbind(&quot;reset.button&quot;).bind(&quot;reset.button&quot;,l);if(typeof this.options.disabled!==
-&quot;boolean&quot;)this.options.disabled=this.element.propAttr(&quot;disabled&quot;);this._determineButtonType();this.hasTitle=!!this.buttonElement.attr(&quot;title&quot;);var a=this,c=this.options,e=this.type===&quot;checkbox&quot;||this.type===&quot;radio&quot;,f=&quot;ui-state-hover&quot;+(!e?&quot; ui-state-active&quot;:&quot;&quot;);if(c.label===null)c.label=this.buttonElement.html();if(this.element.is(&quot;:disabled&quot;))c.disabled=true;this.buttonElement.addClass(&quot;ui-button ui-widget ui-state-default ui-corner-all&quot;).attr(&quot;role&quot;,&quot;button&quot;).bind(&quot;mouseenter.button&quot;,function(){if(!c.disabled){b(this).addClass(&quot;ui-state-hover&quot;);
-this===h&amp;&amp;b(this).addClass(&quot;ui-state-active&quot;)}}).bind(&quot;mouseleave.button&quot;,function(){c.disabled||b(this).removeClass(f)}).bind(&quot;click.button&quot;,function(d){if(c.disabled){d.preventDefault();d.stopImmediatePropagation()}});this.element.bind(&quot;focus.button&quot;,function(){a.buttonElement.addClass(&quot;ui-state-focus&quot;)}).bind(&quot;blur.button&quot;,function(){a.buttonElement.removeClass(&quot;ui-state-focus&quot;)});if(e){this.element.bind(&quot;change.button&quot;,function(){g||a.refresh()});this.buttonElement.bind(&quot;mousedown.button&quot;,function(d){if(!c.disabled){g=
-false;i=d.pageX;j=d.pageY}}).bind(&quot;mouseup.button&quot;,function(d){if(!c.disabled)if(i!==d.pageX||j!==d.pageY)g=true})}if(this.type===&quot;checkbox&quot;)this.buttonElement.bind(&quot;click.button&quot;,function(){if(c.disabled||g)return false;b(this).toggleClass(&quot;ui-state-active&quot;);a.buttonElement.attr(&quot;aria-pressed&quot;,a.element[0].checked)});else if(this.type===&quot;radio&quot;)this.buttonElement.bind(&quot;click.button&quot;,function(){if(c.disabled||g)return false;b(this).addClass(&quot;ui-state-active&quot;);a.buttonElement.attr(&quot;aria-pressed&quot;,&quot;true&quot;);
-var d=a.element[0];k(d).not(d).map(function(){return b(this).button(&quot;widget&quot;)[0]}).removeClass(&quot;ui-state-active&quot;).attr(&quot;aria-pressed&quot;,&quot;false&quot;)});else{this.buttonElement.bind(&quot;mousedown.button&quot;,function(){if(c.disabled)return false;b(this).addClass(&quot;ui-state-active&quot;);h=this;b(document).one(&quot;mouseup&quot;,function(){h=null})}).bind(&quot;mouseup.button&quot;,function(){if(c.disabled)return false;b(this).removeClass(&quot;ui-state-active&quot;)}).bind(&quot;keydown.button&quot;,function(d){if(c.disabled)return false;if(d.keyCode==b.ui.keyCode.SPACE||
-d.keyCode==b.ui.keyCode.ENTER)b(this).addClass(&quot;ui-state-active&quot;)}).bind(&quot;keyup.button&quot;,function(){b(this).removeClass(&quot;ui-state-active&quot;)});this.buttonElement.is(&quot;a&quot;)&amp;&amp;this.buttonElement.keyup(function(d){d.keyCode===b.ui.keyCode.SPACE&amp;&amp;b(this).click()})}this._setOption(&quot;disabled&quot;,c.disabled);this._resetButton()},_determineButtonType:function(){this.type=this.element.is(&quot;:checkbox&quot;)?&quot;checkbox&quot;:this.element.is(&quot;:radio&quot;)?&quot;radio&quot;:this.element.is(&quot;input&quot;)?&quot;input&quot;:&quot;button&quot;;if(this.type===&quot;checkbox&quot;||this.type===
-&quot;radio&quot;){var a=this.element.parents().filter(&quot;:last&quot;),c=&quot;label[for='&quot;+this.element.attr(&quot;id&quot;)+&quot;']&quot;;this.buttonElement=a.find(c);if(!this.buttonElement.length){a=a.length?a.siblings():this.element.siblings();this.buttonElement=a.filter(c);if(!this.buttonElement.length)this.buttonElement=a.find(c)}this.element.addClass(&quot;ui-helper-hidden-accessible&quot;);(a=this.element.is(&quot;:checked&quot;))&amp;&amp;this.buttonElement.addClass(&quot;ui-state-active&quot;);this.buttonElement.attr(&quot;aria-pressed&quot;,a)}else this.buttonElement=this.element},
-widget:function(){return this.buttonElement},destroy:function(){this.element.removeClass(&quot;ui-helper-hidden-accessible&quot;);this.buttonElement.removeClass(&quot;ui-button ui-widget ui-state-default ui-corner-all ui-state-hover ui-state-active  ui-button-icons-only ui-button-icon-only ui-button-text-icons ui-button-text-icon-primary ui-button-text-icon-secondary ui-button-text-only&quot;).removeAttr(&quot;role&quot;).removeAttr(&quot;aria-pressed&quot;).html(this.buttonElement.find(&quot;.ui-button-text&quot;).html());this.hasTitle||this.buttonElement.removeAttr(&quot;title&quot;);
-b.Widget.prototype.destroy.call(this)},_setOption:function(a,c){b.Widget.prototype._setOption.apply(this,arguments);if(a===&quot;disabled&quot;)c?this.element.propAttr(&quot;disabled&quot;,true):this.element.propAttr(&quot;disabled&quot;,false);else this._resetButton()},refresh:function(){var a=this.element.is(&quot;:disabled&quot;);a!==this.options.disabled&amp;&amp;this._setOption(&quot;disabled&quot;,a);if(this.type===&quot;radio&quot;)k(this.element[0]).each(function(){b(this).is(&quot;:checked&quot;)?b(this).button(&quot;widget&quot;).addClass(&quot;ui-state-active&quot;).attr(&quot;aria-pressed&quot;,
-&quot;true&quot;):b(this).button(&quot;widget&quot;).removeClass(&quot;ui-state-active&quot;).attr(&quot;aria-pressed&quot;,&quot;false&quot;)});else if(this.type===&quot;checkbox&quot;)this.element.is(&quot;:checked&quot;)?this.buttonElement.addClass(&quot;ui-state-active&quot;).attr(&quot;aria-pressed&quot;,&quot;true&quot;):this.buttonElement.removeClass(&quot;ui-state-active&quot;).attr(&quot;aria-pressed&quot;,&quot;false&quot;)},_resetButton:function(){if(this.type===&quot;input&quot;)this.options.label&amp;&amp;this.element.val(this.options.label);else{var a=this.buttonElement.removeClass(&quot;ui-button-icons-only ui-button-icon-only ui-button-text-icons ui-button-text-icon-primary ui-button-text-icon-secondary ui-button-text-only&quot;),
-c=b(&quot;&lt;span&gt;&lt;/span&gt;&quot;).addClass(&quot;ui-button-text&quot;).html(this.options.label).appendTo(a.empty()).text(),e=this.options.icons,f=e.primary&amp;&amp;e.secondary,d=[];if(e.primary||e.secondary){if(this.options.text)d.push(&quot;ui-button-text-icon&quot;+(f?&quot;s&quot;:e.primary?&quot;-primary&quot;:&quot;-secondary&quot;));e.primary&amp;&amp;a.prepend(&quot;&lt;span class='ui-button-icon-primary ui-icon &quot;+e.primary+&quot;'&gt;&lt;/span&gt;&quot;);e.secondary&amp;&amp;a.append(&quot;&lt;span class='ui-button-icon-secondary ui-icon &quot;+e.secondary+&quot;'&gt;&lt;/span&gt;&quot;);if(!this.options.text){d.push(f?&quot;ui-button-icons-only&quot;:
-&quot;ui-button-icon-only&quot;);this.hasTitle||a.attr(&quot;title&quot;,c)}}else d.push(&quot;ui-button-text-only&quot;);a.addClass(d.join(&quot; &quot;))}}});b.widget(&quot;ui.buttonset&quot;,{options:{items:&quot;:button, :submit, :reset, :checkbox, :radio, a, :data(button)&quot;},_create:function(){this.element.addClass(&quot;ui-buttonset&quot;)},_init:function(){this.refresh()},_setOption:function(a,c){a===&quot;disabled&quot;&amp;&amp;this.buttons.button(&quot;option&quot;,a,c);b.Widget.prototype._setOption.apply(this,arguments)},refresh:function(){var a=this.element.css(&quot;direction&quot;)===
-&quot;ltr&quot;;this.buttons=this.element.find(this.options.items).filter(&quot;:ui-button&quot;).button(&quot;refresh&quot;).end().not(&quot;:ui-button&quot;).button().end().map(function(){return b(this).button(&quot;widget&quot;)[0]}).removeClass(&quot;ui-corner-all ui-corner-left ui-corner-right&quot;).filter(&quot;:first&quot;).addClass(a?&quot;ui-corner-left&quot;:&quot;ui-corner-right&quot;).end().filter(&quot;:last&quot;).addClass(a?&quot;ui-corner-right&quot;:&quot;ui-corner-left&quot;).end().end()},destroy:function(){this.element.removeClass(&quot;ui-buttonset&quot;);this.buttons.map(function(){return b(this).button(&quot;widget&quot;)[0]}).removeClass(&quot;ui-corner-left ui-corner-right&quot;).end().button(&quot;destroy&quot;);
-b.Widget.prototype.destroy.call(this)}})})(jQuery);
</del><ins>+/*! jQuery UI - v1.8.19 - 2012-04-16
+* https://github.com/jquery/jquery-ui
+* Includes: jquery.ui.button.js
+* Copyright (c) 2012 AUTHORS.txt; Licensed MIT, GPL */
+(function(a,b){var c,d,e,f,g=&quot;ui-button ui-widget ui-state-default ui-corner-all&quot;,h=&quot;ui-state-hover ui-state-active &quot;,i=&quot;ui-button-icons-only ui-button-icon-only ui-button-text-icons ui-button-text-icon-primary ui-button-text-icon-secondary ui-button-text-only&quot;,j=function(){var b=a(this).find(&quot;:ui-button&quot;);setTimeout(function(){b.button(&quot;refresh&quot;)},1)},k=function(b){var c=b.name,d=b.form,e=a([]);return c&amp;&amp;(d?e=a(d).find(&quot;[name='&quot;+c+&quot;']&quot;):e=a(&quot;[name='&quot;+c+&quot;']&quot;,b.ownerDocument).filter(function(){return!this.form})),e};a.widget(&quot;ui.button&quot;,{options:{disabled:null,text:!0,label:null,icons:{primary:null,secondary:null}},_create:function(){this.element.closest(&quot;form&quot;).unbind(&quot;reset.button&quot;).bind(&quot;reset.button&quot;,j),typeof this.options.disabled!=&quot;boolean&quot;?this.options.disabled=!!this.element.propAttr(&quot;disabled&quot;):this.element.prop
 Attr(&quot;disabled&quot;,this.options.disabled),this._determineButtonType(),this.hasTitle=!!this.buttonElement.attr(&quot;title&quot;);var b=this,h=this.options,i=this.type===&quot;checkbox&quot;||this.type===&quot;radio&quot;,l=&quot;ui-state-hover&quot;+(i?&quot;&quot;:&quot; ui-state-active&quot;),m=&quot;ui-state-focus&quot;;h.label===null&amp;&amp;(h.label=this.buttonElement.html()),this.buttonElement.addClass(g).attr(&quot;role&quot;,&quot;button&quot;).bind(&quot;mouseenter.button&quot;,function(){if(h.disabled)return;a(this).addClass(&quot;ui-state-hover&quot;),this===c&amp;&amp;a(this).addClass(&quot;ui-state-active&quot;)}).bind(&quot;mouseleave.button&quot;,function(){if(h.disabled)return;a(this).removeClass(l)}).bind(&quot;click.button&quot;,function(a){h.disabled&amp;&amp;(a.preventDefault(),a.stopImmediatePropagation())}),this.element.bind(&quot;focus.button&quot;,function(){b.buttonElement.addClass(m)}).bind(&quot;blur.button&quot;,function(){b.buttonElement.
 removeClass(m)}),i&amp;&amp;(this.element.bind(&quot;change.button&quot;,function(){if(f)return;b.refresh()}),this.buttonElement.bind(&quot;mousedown.button&quot;,function(a){if(h.disabled)return;f=!1,d=a.pageX,e=a.pageY}).bind(&quot;mouseup.button&quot;,function(a){if(h.disabled)return;if(d!==a.pageX||e!==a.pageY)f=!0})),this.type===&quot;checkbox&quot;?this.buttonElement.bind(&quot;click.button&quot;,function(){if(h.disabled||f)return!1;a(this).toggleClass(&quot;ui-state-active&quot;),b.buttonElement.attr(&quot;aria-pressed&quot;,b.element[0].checked)}):this.type===&quot;radio&quot;?this.buttonElement.bind(&quot;click.button&quot;,function(){if(h.disabled||f)return!1;a(this).addClass(&quot;ui-state-active&quot;),b.buttonElement.attr(&quot;aria-pressed&quot;,&quot;true&quot;);var c=b.element[0];k(c).not(c).map(function(){return a(this).button(&quot;widget&quot;)[0]}).removeClass(&quot;ui-state-active&quot;).attr(&quot;aria-pressed&quot;,&quot;false&quot;)}):(this.buttonElem
 ent.bind(&quot;mousedown.button&quot;,function(){if(h.disabled)return!1;a(this).addClass(&quot;ui-state-active&quot;),c=this,a(document).one(&quot;mouseup&quot;,function(){c=null})}).bind(&quot;mouseup.button&quot;,function(){if(h.disabled)return!1;a(this).removeClass(&quot;ui-state-active&quot;)}).bind(&quot;keydown.button&quot;,function(b){if(h.disabled)return!1;(b.keyCode==a.ui.keyCode.SPACE||b.keyCode==a.ui.keyCode.ENTER)&amp;&amp;a(this).addClass(&quot;ui-state-active&quot;)}).bind(&quot;keyup.button&quot;,function(){a(this).removeClass(&quot;ui-state-active&quot;)}),this.buttonElement.is(&quot;a&quot;)&amp;&amp;this.buttonElement.keyup(function(b){b.keyCode===a.ui.keyCode.SPACE&amp;&amp;a(this).click()})),this._setOption(&quot;disabled&quot;,h.disabled),this._resetButton()},_determineButtonType:function(){this.element.is(&quot;:checkbox&quot;)?this.type=&quot;checkbox&quot;:this.element.is(&quot;:radio&quot;)?this.type=&quot;radio&quot;:this.element.is(&quot;input&quot
 ;)?this.type=&quot;input&quot;:this.type=&quot;button&quot;;if(this.type===&quot;checkbox&quot;||this.type===&quot;radio&quot;){var a=this.element.parents().filter(&quot;:last&quot;),b=&quot;label[for='&quot;+this.element.attr(&quot;id&quot;)+&quot;']&quot;;this.buttonElement=a.find(b),this.buttonElement.length||(a=a.length?a.siblings():this.element.siblings(),this.buttonElement=a.filter(b),this.buttonElement.length||(this.buttonElement=a.find(b))),this.element.addClass(&quot;ui-helper-hidden-accessible&quot;);var c=this.element.is(&quot;:checked&quot;);c&amp;&amp;this.buttonElement.addClass(&quot;ui-state-active&quot;),this.buttonElement.attr(&quot;aria-pressed&quot;,c)}else this.buttonElement=this.element},widget:function(){return this.buttonElement},destroy:function(){this.element.removeClass(&quot;ui-helper-hidden-accessible&quot;),this.buttonElement.removeClass(g+&quot; &quot;+h+&quot; &quot;+i).removeAttr(&quot;role&quot;).removeAttr(&quot;aria-pressed&quot;).html(this
 .buttonElement.find(&quot;.ui-button-text&quot;).html()),this.hasTitle||this.buttonElement.removeAttr(&quot;title&quot;),a.Widget.prototype.destroy.call(this)},_setOption:function(b,c){a.Widget.prototype._setOption.apply(this,arguments);if(b===&quot;disabled&quot;){c?this.element.propAttr(&quot;disabled&quot;,!0):this.element.propAttr(&quot;disabled&quot;,!1);return}this._resetButton()},refresh:function(){var b=this.element.is(&quot;:disabled&quot;);b!==this.options.disabled&amp;&amp;this._setOption(&quot;disabled&quot;,b),this.type===&quot;radio&quot;?k(this.element[0]).each(function(){a(this).is(&quot;:checked&quot;)?a(this).button(&quot;widget&quot;).addClass(&quot;ui-state-active&quot;).attr(&quot;aria-pressed&quot;,&quot;true&quot;):a(this).button(&quot;widget&quot;).removeClass(&quot;ui-state-active&quot;).attr(&quot;aria-pressed&quot;,&quot;false&quot;)}):this.type===&quot;checkbox&quot;&amp;&amp;(this.element.is(&quot;:checked&quot;)?this.buttonElement.addClass(&quot
 ;ui-state-active&quot;).attr(&quot;aria-pressed&quot;,&quot;true&quot;):this.buttonElement.removeClass(&quot;ui-state-active&quot;).attr(&quot;aria-pressed&quot;,&quot;false&quot;))},_resetButton:function(){if(this.type===&quot;input&quot;){this.options.label&amp;&amp;this.element.val(this.options.label);return}var b=this.buttonElement.removeClass(i),c=a(&quot;&lt;span&gt;&lt;/span&gt;&quot;,this.element[0].ownerDocument).addClass(&quot;ui-button-text&quot;).html(this.options.label).appendTo(b.empty()).text(),d=this.options.icons,e=d.primary&amp;&amp;d.secondary,f=[];d.primary||d.secondary?(this.options.text&amp;&amp;f.push(&quot;ui-button-text-icon&quot;+(e?&quot;s&quot;:d.primary?&quot;-primary&quot;:&quot;-secondary&quot;)),d.primary&amp;&amp;b.prepend(&quot;&lt;span class='ui-button-icon-primary ui-icon &quot;+d.primary+&quot;'&gt;&lt;/span&gt;&quot;),d.secondary&amp;&amp;b.append(&quot;&lt;span class='ui-button-icon-secondary ui-icon &quot;+d.secondary+&quot;'&gt;&lt;/s
 pan&gt;&quot;),this.options.text||(f.push(e?&quot;ui-button-icons-only&quot;:&quot;ui-button-icon-only&quot;),this.hasTitle||b.attr(&quot;title&quot;,c))):f.push(&quot;ui-button-text-only&quot;),b.addClass(f.join(&quot; &quot;))}}),a.widget(&quot;ui.buttonset&quot;,{options:{items:&quot;:button, :submit, :reset, :checkbox, :radio, a, :data(button)&quot;},_create:function(){this.element.addClass(&quot;ui-buttonset&quot;)},_init:function(){this.refresh()},_setOption:function(b,c){b===&quot;disabled&quot;&amp;&amp;this.buttons.button(&quot;option&quot;,b,c),a.Widget.prototype._setOption.apply(this,arguments)},refresh:function(){var b=this.element.css(&quot;direction&quot;)===&quot;rtl&quot;;this.buttons=this.element.find(this.options.items).filter(&quot;:ui-button&quot;).button(&quot;refresh&quot;).end().not(&quot;:ui-button&quot;).button().end().map(function(){return a(this).button(&quot;widget&quot;)[0]}).removeClass(&quot;ui-corner-all ui-corner-left ui-corner-right&quot;).f
 ilter(&quot;:first&quot;).addClass(b?&quot;ui-corner-right&quot;:&quot;ui-corner-left&quot;).end().filter(&quot;:last&quot;).addClass(b?&quot;ui-corner-left&quot;:&quot;ui-corner-right&quot;).end().end()},destroy:function(){this.element.removeClass(&quot;ui-buttonset&quot;),this.buttons.map(function(){return a(this).button(&quot;widget&quot;)[0]}).removeClass(&quot;ui-corner-left ui-corner-right&quot;).end().button(&quot;destroy&quot;),a.Widget.prototype.destroy.call(this)}})})(jQuery)
</ins><span class="cx">\ No newline at end of file
</span></span></pre></div>
<a id="trunkwpincludesjsjqueryuijqueryuicoreminjs"></a>
<div class="modfile"><h4>Modified: trunk/wp-includes/js/jquery/ui/jquery.ui.core.min.js (20491 => 20492)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-includes/js/jquery/ui/jquery.ui.core.min.js        2012-04-17 03:41:07 UTC (rev 20491)
+++ trunk/wp-includes/js/jquery/ui/jquery.ui.core.min.js        2012-04-17 16:49:17 UTC (rev 20492)
</span><span class="lines">@@ -1,18 +1,5 @@
</span><del>-/*!
- * jQuery UI 1.8.16
- *
- * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
- * Dual licensed under the MIT or GPL Version 2 licenses.
- * http://jquery.org/license
- *
- * http://docs.jquery.com/UI
- */
-(function(c,j){function k(a,b){var d=a.nodeName.toLowerCase();if(&quot;area&quot;===d){b=a.parentNode;d=b.name;if(!a.href||!d||b.nodeName.toLowerCase()!==&quot;map&quot;)return false;a=c(&quot;img[usemap=#&quot;+d+&quot;]&quot;)[0];return!!a&amp;&amp;l(a)}return(/input|select|textarea|button|object/.test(d)?!a.disabled:&quot;a&quot;==d?a.href||b:b)&amp;&amp;l(a)}function l(a){return!c(a).parents().andSelf().filter(function(){return c.curCSS(this,&quot;visibility&quot;)===&quot;hidden&quot;||c.expr.filters.hidden(this)}).length}c.ui=c.ui||{};if(!c.ui.version){c.extend(c.ui,{version:&quot;1.8.16&quot;,
-keyCode:{ALT:18,BACKSPACE:8,CAPS_LOCK:20,COMMA:188,COMMAND:91,COMMAND_LEFT:91,COMMAND_RIGHT:93,CONTROL:17,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,INSERT:45,LEFT:37,MENU:93,NUMPAD_ADD:107,NUMPAD_DECIMAL:110,NUMPAD_DIVIDE:111,NUMPAD_ENTER:108,NUMPAD_MULTIPLY:106,NUMPAD_SUBTRACT:109,PAGE_DOWN:34,PAGE_UP:33,PERIOD:190,RIGHT:39,SHIFT:16,SPACE:32,TAB:9,UP:38,WINDOWS:91}});c.fn.extend({propAttr:c.fn.prop||c.fn.attr,_focus:c.fn.focus,focus:function(a,b){return typeof a===&quot;number&quot;?this.each(function(){var d=
-this;setTimeout(function(){c(d).focus();b&amp;&amp;b.call(d)},a)}):this._focus.apply(this,arguments)},scrollParent:function(){var a;a=c.browser.msie&amp;&amp;/(static|relative)/.test(this.css(&quot;position&quot;))||/absolute/.test(this.css(&quot;position&quot;))?this.parents().filter(function(){return/(relative|absolute|fixed)/.test(c.curCSS(this,&quot;position&quot;,1))&amp;&amp;/(auto|scroll)/.test(c.curCSS(this,&quot;overflow&quot;,1)+c.curCSS(this,&quot;overflow-y&quot;,1)+c.curCSS(this,&quot;overflow-x&quot;,1))}).eq(0):this.parents().filter(function(){return/(auto|scroll)/.test(c.curCSS(this,
-&quot;overflow&quot;,1)+c.curCSS(this,&quot;overflow-y&quot;,1)+c.curCSS(this,&quot;overflow-x&quot;,1))}).eq(0);return/fixed/.test(this.css(&quot;position&quot;))||!a.length?c(document):a},zIndex:function(a){if(a!==j)return this.css(&quot;zIndex&quot;,a);if(this.length){a=c(this[0]);for(var b;a.length&amp;&amp;a[0]!==document;){b=a.css(&quot;position&quot;);if(b===&quot;absolute&quot;||b===&quot;relative&quot;||b===&quot;fixed&quot;){b=parseInt(a.css(&quot;zIndex&quot;),10);if(!isNaN(b)&amp;&amp;b!==0)return b}a=a.parent()}}return 0},disableSelection:function(){return this.bind((c.support.selectstart?&quot;selectstart&quot;:
-&quot;mousedown&quot;)+&quot;.ui-disableSelection&quot;,function(a){a.preventDefault()})},enableSelection:function(){return this.unbind(&quot;.ui-disableSelection&quot;)}});c.each([&quot;Width&quot;,&quot;Height&quot;],function(a,b){function d(f,g,m,n){c.each(e,function(){g-=parseFloat(c.curCSS(f,&quot;padding&quot;+this,true))||0;if(m)g-=parseFloat(c.curCSS(f,&quot;border&quot;+this+&quot;Width&quot;,true))||0;if(n)g-=parseFloat(c.curCSS(f,&quot;margin&quot;+this,true))||0});return g}var e=b===&quot;Width&quot;?[&quot;Left&quot;,&quot;Right&quot;]:[&quot;Top&quot;,&quot;Bottom&quot;],h=b.toLowerCase(),i={innerWidth:c.fn.innerWidth,innerHeight:c.fn.innerHeight,
-outerWidth:c.fn.outerWidth,outerHeight:c.fn.outerHeight};c.fn[&quot;inner&quot;+b]=function(f){if(f===j)return i[&quot;inner&quot;+b].call(this);return this.each(function(){c(this).css(h,d(this,f)+&quot;px&quot;)})};c.fn[&quot;outer&quot;+b]=function(f,g){if(typeof f!==&quot;number&quot;)return i[&quot;outer&quot;+b].call(this,f);return this.each(function(){c(this).css(h,d(this,f,true,g)+&quot;px&quot;)})}});c.extend(c.expr[&quot;:&quot;],{data:function(a,b,d){return!!c.data(a,d[3])},focusable:function(a){return k(a,!isNaN(c.attr(a,&quot;tabindex&quot;)))},tabbable:function(a){var b=c.attr(a,
-&quot;tabindex&quot;),d=isNaN(b);return(d||b&gt;=0)&amp;&amp;k(a,!d)}});c(function(){var a=document.body,b=a.appendChild(b=document.createElement(&quot;div&quot;));c.extend(b.style,{minHeight:&quot;100px&quot;,height:&quot;auto&quot;,padding:0,borderWidth:0});c.support.minHeight=b.offsetHeight===100;c.support.selectstart=&quot;onselectstart&quot;in b;a.removeChild(b).style.display=&quot;none&quot;});c.extend(c.ui,{plugin:{add:function(a,b,d){a=c.ui[a].prototype;for(var e in d){a.plugins[e]=a.plugins[e]||[];a.plugins[e].push([b,d[e]])}},call:function(a,b,d){if((b=a.plugins[b])&amp;&amp;
-a.element[0].parentNode)for(var e=0;e&lt;b.length;e++)a.options[b[e][0]]&amp;&amp;b[e][1].apply(a.element,d)}},contains:function(a,b){return document.compareDocumentPosition?a.compareDocumentPosition(b)&amp;16:a!==b&amp;&amp;a.contains(b)},hasScroll:function(a,b){if(c(a).css(&quot;overflow&quot;)===&quot;hidden&quot;)return false;b=b&amp;&amp;b===&quot;left&quot;?&quot;scrollLeft&quot;:&quot;scrollTop&quot;;var d=false;if(a[b]&gt;0)return true;a[b]=1;d=a[b]&gt;0;a[b]=0;return d},isOverAxis:function(a,b,d){return a&gt;b&amp;&amp;a&lt;b+d},isOver:function(a,b,d,e,h,i){return c.ui.isOverAxis(a,d,h)&amp;&amp;
-c.ui.isOverAxis(b,e,i)}})}})(jQuery);
</del><ins>+/*! jQuery UI - v1.8.19 - 2012-04-16
+* https://github.com/jquery/jquery-ui
+* Includes: jquery.ui.core.js
+* Copyright (c) 2012 AUTHORS.txt; Licensed MIT, GPL */
+(function(a,b){function c(b,c){var e=b.nodeName.toLowerCase();if(&quot;area&quot;===e){var f=b.parentNode,g=f.name,h;return!b.href||!g||f.nodeName.toLowerCase()!==&quot;map&quot;?!1:(h=a(&quot;img[usemap=#&quot;+g+&quot;]&quot;)[0],!!h&amp;&amp;d(h))}return(/input|select|textarea|button|object/.test(e)?!b.disabled:&quot;a&quot;==e?b.href||c:c)&amp;&amp;d(b)}function d(b){return!a(b).parents().andSelf().filter(function(){return a.curCSS(this,&quot;visibility&quot;)===&quot;hidden&quot;||a.expr.filters.hidden(this)}).length}a.ui=a.ui||{};if(a.ui.version)return;a.extend(a.ui,{version:&quot;1.8.19&quot;,keyCode:{ALT:18,BACKSPACE:8,CAPS_LOCK:20,COMMA:188,COMMAND:91,COMMAND_LEFT:91,COMMAND_RIGHT:93,CONTROL:17,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,INSERT:45,LEFT:37,MENU:93,NUMPAD_ADD:107,NUMPAD_DECIMAL:110,NUMPAD_DIVIDE:111,NUMPAD_ENTER:108,NUMPAD_MULTIPLY:106,NUMPAD_SUBTRACT:109,PAGE_DOWN:34,PAGE_UP:33,PERIOD:190,RIGHT:39,SHIFT:16,SPACE:32,TAB:9,UP:38,WINDOWS:91}}),a
 .fn.extend({propAttr:a.fn.prop||a.fn.attr,_focus:a.fn.focus,focus:function(b,c){return typeof b==&quot;number&quot;?this.each(function(){var d=this;setTimeout(function(){a(d).focus(),c&amp;&amp;c.call(d)},b)}):this._focus.apply(this,arguments)},scrollParent:function(){var b;return a.browser.msie&amp;&amp;/(static|relative)/.test(this.css(&quot;position&quot;))||/absolute/.test(this.css(&quot;position&quot;))?b=this.parents().filter(function(){return/(relative|absolute|fixed)/.test(a.curCSS(this,&quot;position&quot;,1))&amp;&amp;/(auto|scroll)/.test(a.curCSS(this,&quot;overflow&quot;,1)+a.curCSS(this,&quot;overflow-y&quot;,1)+a.curCSS(this,&quot;overflow-x&quot;,1))}).eq(0):b=this.parents().filter(function(){return/(auto|scroll)/.test(a.curCSS(this,&quot;overflow&quot;,1)+a.curCSS(this,&quot;overflow-y&quot;,1)+a.curCSS(this,&quot;overflow-x&quot;,1))}).eq(0),/fixed/.test(this.css(&quot;position&quot;))||!b.length?a(document):b},zIndex:function(c){if(c!==b)return this.css(&qu
 ot;zIndex&quot;,c);if(this.length){var d=a(this[0]),e,f;while(d.length&amp;&amp;d[0]!==document){e=d.css(&quot;position&quot;);if(e===&quot;absolute&quot;||e===&quot;relative&quot;||e===&quot;fixed&quot;){f=parseInt(d.css(&quot;zIndex&quot;),10);if(!isNaN(f)&amp;&amp;f!==0)return f}d=d.parent()}}return 0},disableSelection:function(){return this.bind((a.support.selectstart?&quot;selectstart&quot;:&quot;mousedown&quot;)+&quot;.ui-disableSelection&quot;,function(a){a.preventDefault()})},enableSelection:function(){return this.unbind(&quot;.ui-disableSelection&quot;)}}),a.each([&quot;Width&quot;,&quot;Height&quot;],function(c,d){function h(b,c,d,f){return a.each(e,function(){c-=parseFloat(a.curCSS(b,&quot;padding&quot;+this,!0))||0,d&amp;&amp;(c-=parseFloat(a.curCSS(b,&quot;border&quot;+this+&quot;Width&quot;,!0))||0),f&amp;&amp;(c-=parseFloat(a.curCSS(b,&quot;margin&quot;+this,!0))||0)}),c}var e=d===&quot;Width&quot;?[&quot;Left&quot;,&quot;Right&quot;]:[&quot;Top&quot;,&quot;Bo
 ttom&quot;],f=d.toLowerCase(),g={innerWidth:a.fn.innerWidth,innerHeight:a.fn.innerHeight,outerWidth:a.fn.outerWidth,outerHeight:a.fn.outerHeight};a.fn[&quot;inner&quot;+d]=function(c){return c===b?g[&quot;inner&quot;+d].call(this):this.each(function(){a(this).css(f,h(this,c)+&quot;px&quot;)})},a.fn[&quot;outer&quot;+d]=function(b,c){return typeof b!=&quot;number&quot;?g[&quot;outer&quot;+d].call(this,b):this.each(function(){a(this).css(f,h(this,b,!0,c)+&quot;px&quot;)})}}),a.extend(a.expr[&quot;:&quot;],{data:function(b,c,d){return!!a.data(b,d[3])},focusable:function(b){return c(b,!isNaN(a.attr(b,&quot;tabindex&quot;)))},tabbable:function(b){var d=a.attr(b,&quot;tabindex&quot;),e=isNaN(d);return(e||d&gt;=0)&amp;&amp;c(b,!e)}}),a(function(){var b=document.body,c=b.appendChild(c=document.createElement(&quot;div&quot;));c.offsetHeight,a.extend(c.style,{minHeight:&quot;100px&quot;,height:&quot;auto&quot;,padding:0,borderWidth:0}),a.support.minHeight=c.offsetHeight===100,a.suppor
 t.selectstart=&quot;onselectstart&quot;in c,b.removeChild(c).style.display=&quot;none&quot;}),a.extend(a.ui,{plugin:{add:function(b,c,d){var e=a.ui[b].prototype;for(var f in d)e.plugins[f]=e.plugins[f]||[],e.plugins[f].push([c,d[f]])},call:function(a,b,c){var d=a.plugins[b];if(!d||!a.element[0].parentNode)return;for(var e=0;e&lt;d.length;e++)a.options[d[e][0]]&amp;&amp;d[e][1].apply(a.element,c)}},contains:function(a,b){return document.compareDocumentPosition?a.compareDocumentPosition(b)&amp;16:a!==b&amp;&amp;a.contains(b)},hasScroll:function(b,c){if(a(b).css(&quot;overflow&quot;)===&quot;hidden&quot;)return!1;var d=c&amp;&amp;c===&quot;left&quot;?&quot;scrollLeft&quot;:&quot;scrollTop&quot;,e=!1;return b[d]&gt;0?!0:(b[d]=1,e=b[d]&gt;0,b[d]=0,e)},isOverAxis:function(a,b,c){return a&gt;b&amp;&amp;a&lt;b+c},isOver:function(b,c,d,e,f,g){return a.ui.isOverAxis(b,d,f)&amp;&amp;a.ui.isOverAxis(c,e,g)}})})(jQuery)
</ins><span class="cx">\ No newline at end of file
</span></span></pre></div>
<a id="trunkwpincludesjsjqueryuijqueryuidatepickerminjs"></a>
<div class="modfile"><h4>Modified: trunk/wp-includes/js/jquery/ui/jquery.ui.datepicker.min.js (20491 => 20492)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-includes/js/jquery/ui/jquery.ui.datepicker.min.js        2012-04-17 03:41:07 UTC (rev 20491)
+++ trunk/wp-includes/js/jquery/ui/jquery.ui.datepicker.min.js        2012-04-17 16:49:17 UTC (rev 20492)
</span><span class="lines">@@ -1,83 +1,5 @@
</span><del>-/*
- * jQuery UI Datepicker 1.8.16
- *
- * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
- * Dual licensed under the MIT or GPL Version 2 licenses.
- * http://jquery.org/license
- *
- * http://docs.jquery.com/UI/Datepicker
- *
- * Depends:
- *        jquery.ui.core.js
- */
-(function(d,C){function M(){this.debug=false;this._curInst=null;this._keyEvent=false;this._disabledInputs=[];this._inDialog=this._datepickerShowing=false;this._mainDivId=&quot;ui-datepicker-div&quot;;this._inlineClass=&quot;ui-datepicker-inline&quot;;this._appendClass=&quot;ui-datepicker-append&quot;;this._triggerClass=&quot;ui-datepicker-trigger&quot;;this._dialogClass=&quot;ui-datepicker-dialog&quot;;this._disableClass=&quot;ui-datepicker-disabled&quot;;this._unselectableClass=&quot;ui-datepicker-unselectable&quot;;this._currentClass=&quot;ui-datepicker-current-day&quot;;this._dayOverClass=
-&quot;ui-datepicker-days-cell-over&quot;;this.regional=[];this.regional[&quot;&quot;]={closeText:&quot;Done&quot;,prevText:&quot;Prev&quot;,nextText:&quot;Next&quot;,currentText:&quot;Today&quot;,monthNames:[&quot;January&quot;,&quot;February&quot;,&quot;March&quot;,&quot;April&quot;,&quot;May&quot;,&quot;June&quot;,&quot;July&quot;,&quot;August&quot;,&quot;September&quot;,&quot;October&quot;,&quot;November&quot;,&quot;December&quot;],monthNamesShort:[&quot;Jan&quot;,&quot;Feb&quot;,&quot;Mar&quot;,&quot;Apr&quot;,&quot;May&quot;,&quot;Jun&quot;,&quot;Jul&quot;,&quot;Aug&quot;,&quot;Sep&quot;,&quot;Oct&quot;,&quot;Nov&quot;,&quot;Dec&quot;],dayNames:[&quot;Sunday&quot;,&quot;Monday&quot;,&quot;Tuesday&quot;,&quot;Wednesday&quot;,&quot;Thursday&quot;,&quot;Friday&quot;,&quot;Saturday&quot;],dayNamesShort:[&quot;Sun&quot;,&quot;Mon&quot;,&quot;Tue&quot;,&quot;Wed&quot;,&quot;Thu&quot;,&quot;Fri&quot;,&quot;Sat&quot;],dayNamesMin:[&quot;Su&quot;,
-&quot;Mo&quot;,&quot;Tu&quot;,&quot;We&quot;,&quot;Th&quot;,&quot;Fr&quot;,&quot;Sa&quot;],weekHeader:&quot;Wk&quot;,dateFormat:&quot;mm/dd/yy&quot;,firstDay:0,isRTL:false,showMonthAfterYear:false,yearSuffix:&quot;&quot;};this._defaults={showOn:&quot;focus&quot;,showAnim:&quot;fadeIn&quot;,showOptions:{},defaultDate:null,appendText:&quot;&quot;,buttonText:&quot;...&quot;,buttonImage:&quot;&quot;,buttonImageOnly:false,hideIfNoPrevNext:false,navigationAsDateFormat:false,gotoCurrent:false,changeMonth:false,changeYear:false,yearRange:&quot;c-10:c+10&quot;,showOtherMonths:false,selectOtherMonths:false,showWeek:false,calculateWeek:this.iso8601Week,shortYearCutoff:&quot;+10&quot;,
-minDate:null,maxDate:null,duration:&quot;fast&quot;,beforeShowDay:null,beforeShow:null,onSelect:null,onChangeMonthYear:null,onClose:null,numberOfMonths:1,showCurrentAtPos:0,stepMonths:1,stepBigMonths:12,altField:&quot;&quot;,altFormat:&quot;&quot;,constrainInput:true,showButtonPanel:false,autoSize:false,disabled:false};d.extend(this._defaults,this.regional[&quot;&quot;]);this.dpDiv=N(d('&lt;div id=&quot;'+this._mainDivId+'&quot; class=&quot;ui-datepicker ui-widget ui-widget-content ui-helper-clearfix ui-corner-all&quot;&gt;&lt;/div&gt;'))}function N(a){return a.bind(&quot;mouseout&quot;,
-function(b){b=d(b.target).closest(&quot;button, .ui-datepicker-prev, .ui-datepicker-next, .ui-datepicker-calendar td a&quot;);b.length&amp;&amp;b.removeClass(&quot;ui-state-hover ui-datepicker-prev-hover ui-datepicker-next-hover&quot;)}).bind(&quot;mouseover&quot;,function(b){b=d(b.target).closest(&quot;button, .ui-datepicker-prev, .ui-datepicker-next, .ui-datepicker-calendar td a&quot;);if(!(d.datepicker._isDisabledDatepicker(J.inline?a.parent()[0]:J.input[0])||!b.length)){b.parents(&quot;.ui-datepicker-calendar&quot;).find(&quot;a&quot;).removeClass(&quot;ui-state-hover&quot;);
-b.addClass(&quot;ui-state-hover&quot;);b.hasClass(&quot;ui-datepicker-prev&quot;)&amp;&amp;b.addClass(&quot;ui-datepicker-prev-hover&quot;);b.hasClass(&quot;ui-datepicker-next&quot;)&amp;&amp;b.addClass(&quot;ui-datepicker-next-hover&quot;)}})}function H(a,b){d.extend(a,b);for(var c in b)if(b[c]==null||b[c]==C)a[c]=b[c];return a}d.extend(d.ui,{datepicker:{version:&quot;1.8.16&quot;}});var B=(new Date).getTime(),J;d.extend(M.prototype,{markerClassName:&quot;hasDatepicker&quot;,maxRows:4,log:function(){this.debug&amp;&amp;console.log.apply(&quot;&quot;,arguments)},_widgetDatepicker:function(){return this.dpDiv},
-setDefaults:function(a){H(this._defaults,a||{});return this},_attachDatepicker:function(a,b){var c=null;for(var e in this._defaults){var f=a.getAttribute(&quot;date:&quot;+e);if(f){c=c||{};try{c[e]=eval(f)}catch(h){c[e]=f}}}e=a.nodeName.toLowerCase();f=e==&quot;div&quot;||e==&quot;span&quot;;if(!a.id){this.uuid+=1;a.id=&quot;dp&quot;+this.uuid}var i=this._newInst(d(a),f);i.settings=d.extend({},b||{},c||{});if(e==&quot;input&quot;)this._connectDatepicker(a,i);else f&amp;&amp;this._inlineDatepicker(a,i)},_newInst:function(a,b){return{id:a[0].id.replace(/([^A-Za-z0-9_-])/g,
-&quot;\\\\$1&quot;),input:a,selectedDay:0,selectedMonth:0,selectedYear:0,drawMonth:0,drawYear:0,inline:b,dpDiv:!b?this.dpDiv:N(d('&lt;div class=&quot;'+this._inlineClass+' ui-datepicker ui-widget ui-widget-content ui-helper-clearfix ui-corner-all&quot;&gt;&lt;/div&gt;'))}},_connectDatepicker:function(a,b){var c=d(a);b.append=d([]);b.trigger=d([]);if(!c.hasClass(this.markerClassName)){this._attachments(c,b);c.addClass(this.markerClassName).keydown(this._doKeyDown).keypress(this._doKeyPress).keyup(this._doKeyUp).bind(&quot;setData.datepicker&quot;,
-function(e,f,h){b.settings[f]=h}).bind(&quot;getData.datepicker&quot;,function(e,f){return this._get(b,f)});this._autoSize(b);d.data(a,&quot;datepicker&quot;,b);b.settings.disabled&amp;&amp;this._disableDatepicker(a)}},_attachments:function(a,b){var c=this._get(b,&quot;appendText&quot;),e=this._get(b,&quot;isRTL&quot;);b.append&amp;&amp;b.append.remove();if(c){b.append=d('&lt;span class=&quot;'+this._appendClass+'&quot;&gt;'+c+&quot;&lt;/span&gt;&quot;);a[e?&quot;before&quot;:&quot;after&quot;](b.append)}a.unbind(&quot;focus&quot;,this._showDatepicker);b.trigger&amp;&amp;b.trigger.remove();c=this._get(b,&quot;showOn&quot;);if(c==
-&quot;focus&quot;||c==&quot;both&quot;)a.focus(this._showDatepicker);if(c==&quot;button&quot;||c==&quot;both&quot;){c=this._get(b,&quot;buttonText&quot;);var f=this._get(b,&quot;buttonImage&quot;);b.trigger=d(this._get(b,&quot;buttonImageOnly&quot;)?d(&quot;&lt;img/&gt;&quot;).addClass(this._triggerClass).attr({src:f,alt:c,title:c}):d('&lt;button type=&quot;button&quot;&gt;&lt;/button&gt;').addClass(this._triggerClass).html(f==&quot;&quot;?c:d(&quot;&lt;img/&gt;&quot;).attr({src:f,alt:c,title:c})));a[e?&quot;before&quot;:&quot;after&quot;](b.trigger);b.trigger.click(function(){d.datepicker._datepickerShowing&amp;&amp;d.datepicker._lastInput==a[0]?d.datepicker._hideDatepicker():
-d.datepicker._showDatepicker(a[0]);return false})}},_autoSize:function(a){if(this._get(a,&quot;autoSize&quot;)&amp;&amp;!a.inline){var b=new Date(2009,11,20),c=this._get(a,&quot;dateFormat&quot;);if(c.match(/[DM]/)){var e=function(f){for(var h=0,i=0,g=0;g&lt;f.length;g++)if(f[g].length&gt;h){h=f[g].length;i=g}return i};b.setMonth(e(this._get(a,c.match(/MM/)?&quot;monthNames&quot;:&quot;monthNamesShort&quot;)));b.setDate(e(this._get(a,c.match(/DD/)?&quot;dayNames&quot;:&quot;dayNamesShort&quot;))+20-b.getDay())}a.input.attr(&quot;size&quot;,this._formatDate(a,b).length)}},_inlineDatepicker:function(a,
-b){var c=d(a);if(!c.hasClass(this.markerClassName)){c.addClass(this.markerClassName).append(b.dpDiv).bind(&quot;setData.datepicker&quot;,function(e,f,h){b.settings[f]=h}).bind(&quot;getData.datepicker&quot;,function(e,f){return this._get(b,f)});d.data(a,&quot;datepicker&quot;,b);this._setDate(b,this._getDefaultDate(b),true);this._updateDatepicker(b);this._updateAlternate(b);b.settings.disabled&amp;&amp;this._disableDatepicker(a);b.dpDiv.css(&quot;display&quot;,&quot;block&quot;)}},_dialogDatepicker:function(a,b,c,e,f){a=this._dialogInst;if(!a){this.uuid+=
-1;this._dialogInput=d('&lt;input type=&quot;text&quot; id=&quot;'+(&quot;dp&quot;+this.uuid)+'&quot; style=&quot;position: absolute; top: -100px; width: 0px; z-index: -10;&quot;/&gt;');this._dialogInput.keydown(this._doKeyDown);d(&quot;body&quot;).append(this._dialogInput);a=this._dialogInst=this._newInst(this._dialogInput,false);a.settings={};d.data(this._dialogInput[0],&quot;datepicker&quot;,a)}H(a.settings,e||{});b=b&amp;&amp;b.constructor==Date?this._formatDate(a,b):b;this._dialogInput.val(b);this._pos=f?f.length?f:[f.pageX,f.pageY]:null;if(!this._pos)this._pos=[document.documentElement.clientWidth/
-2-100+(document.documentElement.scrollLeft||document.body.scrollLeft),document.documentElement.clientHeight/2-150+(document.documentElement.scrollTop||document.body.scrollTop)];this._dialogInput.css(&quot;left&quot;,this._pos[0]+20+&quot;px&quot;).css(&quot;top&quot;,this._pos[1]+&quot;px&quot;);a.settings.onSelect=c;this._inDialog=true;this.dpDiv.addClass(this._dialogClass);this._showDatepicker(this._dialogInput[0]);d.blockUI&amp;&amp;d.blockUI(this.dpDiv);d.data(this._dialogInput[0],&quot;datepicker&quot;,a);return this},_destroyDatepicker:function(a){var b=
-d(a),c=d.data(a,&quot;datepicker&quot;);if(b.hasClass(this.markerClassName)){var e=a.nodeName.toLowerCase();d.removeData(a,&quot;datepicker&quot;);if(e==&quot;input&quot;){c.append.remove();c.trigger.remove();b.removeClass(this.markerClassName).unbind(&quot;focus&quot;,this._showDatepicker).unbind(&quot;keydown&quot;,this._doKeyDown).unbind(&quot;keypress&quot;,this._doKeyPress).unbind(&quot;keyup&quot;,this._doKeyUp)}else if(e==&quot;div&quot;||e==&quot;span&quot;)b.removeClass(this.markerClassName).empty()}},_enableDatepicker:function(a){var b=d(a),c=d.data(a,&quot;datepicker&quot;);if(b.hasClass(this.markerClassName)){var e=
-a.nodeName.toLowerCase();if(e==&quot;input&quot;){a.disabled=false;c.trigger.filter(&quot;button&quot;).each(function(){this.disabled=false}).end().filter(&quot;img&quot;).css({opacity:&quot;1.0&quot;,cursor:&quot;&quot;})}else if(e==&quot;div&quot;||e==&quot;span&quot;){b=b.children(&quot;.&quot;+this._inlineClass);b.children().removeClass(&quot;ui-state-disabled&quot;);b.find(&quot;select.ui-datepicker-month, select.ui-datepicker-year&quot;).removeAttr(&quot;disabled&quot;)}this._disabledInputs=d.map(this._disabledInputs,function(f){return f==a?null:f})}},_disableDatepicker:function(a){var b=d(a),c=d.data(a,
-&quot;datepicker&quot;);if(b.hasClass(this.markerClassName)){var e=a.nodeName.toLowerCase();if(e==&quot;input&quot;){a.disabled=true;c.trigger.filter(&quot;button&quot;).each(function(){this.disabled=true}).end().filter(&quot;img&quot;).css({opacity:&quot;0.5&quot;,cursor:&quot;default&quot;})}else if(e==&quot;div&quot;||e==&quot;span&quot;){b=b.children(&quot;.&quot;+this._inlineClass);b.children().addClass(&quot;ui-state-disabled&quot;);b.find(&quot;select.ui-datepicker-month, select.ui-datepicker-year&quot;).attr(&quot;disabled&quot;,&quot;disabled&quot;)}this._disabledInputs=d.map(this._disabledInputs,function(f){return f==
-a?null:f});this._disabledInputs[this._disabledInputs.length]=a}},_isDisabledDatepicker:function(a){if(!a)return false;for(var b=0;b&lt;this._disabledInputs.length;b++)if(this._disabledInputs[b]==a)return true;return false},_getInst:function(a){try{return d.data(a,&quot;datepicker&quot;)}catch(b){throw&quot;Missing instance data for this datepicker&quot;;}},_optionDatepicker:function(a,b,c){var e=this._getInst(a);if(arguments.length==2&amp;&amp;typeof b==&quot;string&quot;)return b==&quot;defaults&quot;?d.extend({},d.datepicker._defaults):e?b==&quot;all&quot;?
-d.extend({},e.settings):this._get(e,b):null;var f=b||{};if(typeof b==&quot;string&quot;){f={};f[b]=c}if(e){this._curInst==e&amp;&amp;this._hideDatepicker();var h=this._getDateDatepicker(a,true),i=this._getMinMaxDate(e,&quot;min&quot;),g=this._getMinMaxDate(e,&quot;max&quot;);H(e.settings,f);if(i!==null&amp;&amp;f.dateFormat!==C&amp;&amp;f.minDate===C)e.settings.minDate=this._formatDate(e,i);if(g!==null&amp;&amp;f.dateFormat!==C&amp;&amp;f.maxDate===C)e.settings.maxDate=this._formatDate(e,g);this._attachments(d(a),e);this._autoSize(e);this._setDate(e,h);this._updateAlternate(e);
-this._updateDatepicker(e)}},_changeDatepicker:function(a,b,c){this._optionDatepicker(a,b,c)},_refreshDatepicker:function(a){(a=this._getInst(a))&amp;&amp;this._updateDatepicker(a)},_setDateDatepicker:function(a,b){if(a=this._getInst(a)){this._setDate(a,b);this._updateDatepicker(a);this._updateAlternate(a)}},_getDateDatepicker:function(a,b){(a=this._getInst(a))&amp;&amp;!a.inline&amp;&amp;this._setDateFromField(a,b);return a?this._getDate(a):null},_doKeyDown:function(a){var b=d.datepicker._getInst(a.target),c=true,e=b.dpDiv.is(&quot;.ui-datepicker-rtl&quot;);
-b._keyEvent=true;if(d.datepicker._datepickerShowing)switch(a.keyCode){case 9:d.datepicker._hideDatepicker();c=false;break;case 13:c=d(&quot;td.&quot;+d.datepicker._dayOverClass+&quot;:not(.&quot;+d.datepicker._currentClass+&quot;)&quot;,b.dpDiv);c[0]&amp;&amp;d.datepicker._selectDay(a.target,b.selectedMonth,b.selectedYear,c[0]);if(a=d.datepicker._get(b,&quot;onSelect&quot;)){c=d.datepicker._formatDate(b);a.apply(b.input?b.input[0]:null,[c,b])}else d.datepicker._hideDatepicker();return false;case 27:d.datepicker._hideDatepicker();break;case 33:d.datepicker._adjustDate(a.target,
-a.ctrlKey?-d.datepicker._get(b,&quot;stepBigMonths&quot;):-d.datepicker._get(b,&quot;stepMonths&quot;),&quot;M&quot;);break;case 34:d.datepicker._adjustDate(a.target,a.ctrlKey?+d.datepicker._get(b,&quot;stepBigMonths&quot;):+d.datepicker._get(b,&quot;stepMonths&quot;),&quot;M&quot;);break;case 35:if(a.ctrlKey||a.metaKey)d.datepicker._clearDate(a.target);c=a.ctrlKey||a.metaKey;break;case 36:if(a.ctrlKey||a.metaKey)d.datepicker._gotoToday(a.target);c=a.ctrlKey||a.metaKey;break;case 37:if(a.ctrlKey||a.metaKey)d.datepicker._adjustDate(a.target,e?+1:-1,&quot;D&quot;);c=
-a.ctrlKey||a.metaKey;if(a.originalEvent.altKey)d.datepicker._adjustDate(a.target,a.ctrlKey?-d.datepicker._get(b,&quot;stepBigMonths&quot;):-d.datepicker._get(b,&quot;stepMonths&quot;),&quot;M&quot;);break;case 38:if(a.ctrlKey||a.metaKey)d.datepicker._adjustDate(a.target,-7,&quot;D&quot;);c=a.ctrlKey||a.metaKey;break;case 39:if(a.ctrlKey||a.metaKey)d.datepicker._adjustDate(a.target,e?-1:+1,&quot;D&quot;);c=a.ctrlKey||a.metaKey;if(a.originalEvent.altKey)d.datepicker._adjustDate(a.target,a.ctrlKey?+d.datepicker._get(b,&quot;stepBigMonths&quot;):+d.datepicker._get(b,
-&quot;stepMonths&quot;),&quot;M&quot;);break;case 40:if(a.ctrlKey||a.metaKey)d.datepicker._adjustDate(a.target,+7,&quot;D&quot;);c=a.ctrlKey||a.metaKey;break;default:c=false}else if(a.keyCode==36&amp;&amp;a.ctrlKey)d.datepicker._showDatepicker(this);else c=false;if(c){a.preventDefault();a.stopPropagation()}},_doKeyPress:function(a){var b=d.datepicker._getInst(a.target);if(d.datepicker._get(b,&quot;constrainInput&quot;)){b=d.datepicker._possibleChars(d.datepicker._get(b,&quot;dateFormat&quot;));var c=String.fromCharCode(a.charCode==C?a.keyCode:a.charCode);
-return a.ctrlKey||a.metaKey||c&lt;&quot; &quot;||!b||b.indexOf(c)&gt;-1}},_doKeyUp:function(a){a=d.datepicker._getInst(a.target);if(a.input.val()!=a.lastVal)try{if(d.datepicker.parseDate(d.datepicker._get(a,&quot;dateFormat&quot;),a.input?a.input.val():null,d.datepicker._getFormatConfig(a))){d.datepicker._setDateFromField(a);d.datepicker._updateAlternate(a);d.datepicker._updateDatepicker(a)}}catch(b){d.datepicker.log(b)}return true},_showDatepicker:function(a){a=a.target||a;if(a.nodeName.toLowerCase()!=&quot;input&quot;)a=d(&quot;input&quot;,
-a.parentNode)[0];if(!(d.datepicker._isDisabledDatepicker(a)||d.datepicker._lastInput==a)){var b=d.datepicker._getInst(a);if(d.datepicker._curInst&amp;&amp;d.datepicker._curInst!=b){d.datepicker._datepickerShowing&amp;&amp;d.datepicker._triggerOnClose(d.datepicker._curInst);d.datepicker._curInst.dpDiv.stop(true,true)}var c=d.datepicker._get(b,&quot;beforeShow&quot;);c=c?c.apply(a,[a,b]):{};if(c!==false){H(b.settings,c);b.lastVal=null;d.datepicker._lastInput=a;d.datepicker._setDateFromField(b);if(d.datepicker._inDialog)a.value=
-&quot;&quot;;if(!d.datepicker._pos){d.datepicker._pos=d.datepicker._findPos(a);d.datepicker._pos[1]+=a.offsetHeight}var e=false;d(a).parents().each(function(){e|=d(this).css(&quot;position&quot;)==&quot;fixed&quot;;return!e});if(e&amp;&amp;d.browser.opera){d.datepicker._pos[0]-=document.documentElement.scrollLeft;d.datepicker._pos[1]-=document.documentElement.scrollTop}c={left:d.datepicker._pos[0],top:d.datepicker._pos[1]};d.datepicker._pos=null;b.dpDiv.empty();b.dpDiv.css({position:&quot;absolute&quot;,display:&quot;block&quot;,top:&quot;-1000px&quot;});d.datepicker._updateDatepicker(b);
-c=d.datepicker._checkOffset(b,c,e);b.dpDiv.css({position:d.datepicker._inDialog&amp;&amp;d.blockUI?&quot;static&quot;:e?&quot;fixed&quot;:&quot;absolute&quot;,display:&quot;none&quot;,left:c.left+&quot;px&quot;,top:c.top+&quot;px&quot;});if(!b.inline){c=d.datepicker._get(b,&quot;showAnim&quot;);var f=d.datepicker._get(b,&quot;duration&quot;),h=function(){var i=b.dpDiv.find(&quot;iframe.ui-datepicker-cover&quot;);if(i.length){var g=d.datepicker._getBorders(b.dpDiv);i.css({left:-g[0],top:-g[1],width:b.dpDiv.outerWidth(),height:b.dpDiv.outerHeight()})}};b.dpDiv.zIndex(d(a).zIndex()+1);d.datepicker._datepickerShowing=
-true;d.effects&amp;&amp;d.effects[c]?b.dpDiv.show(c,d.datepicker._get(b,&quot;showOptions&quot;),f,h):b.dpDiv[c||&quot;show&quot;](c?f:null,h);if(!c||!f)h();b.input.is(&quot;:visible&quot;)&amp;&amp;!b.input.is(&quot;:disabled&quot;)&amp;&amp;b.input.focus();d.datepicker._curInst=b}}}},_updateDatepicker:function(a){this.maxRows=4;var b=d.datepicker._getBorders(a.dpDiv);J=a;a.dpDiv.empty().append(this._generateHTML(a));var c=a.dpDiv.find(&quot;iframe.ui-datepicker-cover&quot;);c.length&amp;&amp;c.css({left:-b[0],top:-b[1],width:a.dpDiv.outerWidth(),height:a.dpDiv.outerHeight()});
-a.dpDiv.find(&quot;.&quot;+this._dayOverClass+&quot; a&quot;).mouseover();b=this._getNumberOfMonths(a);c=b[1];a.dpDiv.removeClass(&quot;ui-datepicker-multi-2 ui-datepicker-multi-3 ui-datepicker-multi-4&quot;).width(&quot;&quot;);c&gt;1&amp;&amp;a.dpDiv.addClass(&quot;ui-datepicker-multi-&quot;+c).css(&quot;width&quot;,17*c+&quot;em&quot;);a.dpDiv[(b[0]!=1||b[1]!=1?&quot;add&quot;:&quot;remove&quot;)+&quot;Class&quot;](&quot;ui-datepicker-multi&quot;);a.dpDiv[(this._get(a,&quot;isRTL&quot;)?&quot;add&quot;:&quot;remove&quot;)+&quot;Class&quot;](&quot;ui-datepicker-rtl&quot;);a==d.datepicker._curInst&amp;&amp;d.datepicker._datepickerShowing&amp;&amp;a.input&amp;&amp;a.input.is(&quot;:visible&quot;)&amp;&amp;
-!a.input.is(&quot;:disabled&quot;)&amp;&amp;a.input[0]!=document.activeElement&amp;&amp;a.input.focus();if(a.yearshtml){var e=a.yearshtml;setTimeout(function(){e===a.yearshtml&amp;&amp;a.yearshtml&amp;&amp;a.dpDiv.find(&quot;select.ui-datepicker-year:first&quot;).replaceWith(a.yearshtml);e=a.yearshtml=null},0)}},_getBorders:function(a){var b=function(c){return{thin:1,medium:2,thick:3}[c]||c};return[parseFloat(b(a.css(&quot;border-left-width&quot;))),parseFloat(b(a.css(&quot;border-top-width&quot;)))]},_checkOffset:function(a,b,c){var e=a.dpDiv.outerWidth(),f=a.dpDiv.outerHeight(),
-h=a.input?a.input.outerWidth():0,i=a.input?a.input.outerHeight():0,g=document.documentElement.clientWidth+d(document).scrollLeft(),j=document.documentElement.clientHeight+d(document).scrollTop();b.left-=this._get(a,&quot;isRTL&quot;)?e-h:0;b.left-=c&amp;&amp;b.left==a.input.offset().left?d(document).scrollLeft():0;b.top-=c&amp;&amp;b.top==a.input.offset().top+i?d(document).scrollTop():0;b.left-=Math.min(b.left,b.left+e&gt;g&amp;&amp;g&gt;e?Math.abs(b.left+e-g):0);b.top-=Math.min(b.top,b.top+f&gt;j&amp;&amp;j&gt;f?Math.abs(f+i):0);return b},_findPos:function(a){for(var b=
-this._get(this._getInst(a),&quot;isRTL&quot;);a&amp;&amp;(a.type==&quot;hidden&quot;||a.nodeType!=1||d.expr.filters.hidden(a));)a=a[b?&quot;previousSibling&quot;:&quot;nextSibling&quot;];a=d(a).offset();return[a.left,a.top]},_triggerOnClose:function(a){var b=this._get(a,&quot;onClose&quot;);if(b)b.apply(a.input?a.input[0]:null,[a.input?a.input.val():&quot;&quot;,a])},_hideDatepicker:function(a){var b=this._curInst;if(!(!b||a&amp;&amp;b!=d.data(a,&quot;datepicker&quot;)))if(this._datepickerShowing){a=this._get(b,&quot;showAnim&quot;);var c=this._get(b,&quot;duration&quot;),e=function(){d.datepicker._tidyDialog(b);
-this._curInst=null};d.effects&amp;&amp;d.effects[a]?b.dpDiv.hide(a,d.datepicker._get(b,&quot;showOptions&quot;),c,e):b.dpDiv[a==&quot;slideDown&quot;?&quot;slideUp&quot;:a==&quot;fadeIn&quot;?&quot;fadeOut&quot;:&quot;hide&quot;](a?c:null,e);a||e();d.datepicker._triggerOnClose(b);this._datepickerShowing=false;this._lastInput=null;if(this._inDialog){this._dialogInput.css({position:&quot;absolute&quot;,left:&quot;0&quot;,top:&quot;-100px&quot;});if(d.blockUI){d.unblockUI();d(&quot;body&quot;).append(this.dpDiv)}}this._inDialog=false}},_tidyDialog:function(a){a.dpDiv.removeClass(this._dialogClass).unbind(&quot;.ui-datepicker-calendar&quot;)},
-_checkExternalClick:function(a){if(d.datepicker._curInst){a=d(a.target);a[0].id!=d.datepicker._mainDivId&amp;&amp;a.parents(&quot;#&quot;+d.datepicker._mainDivId).length==0&amp;&amp;!a.hasClass(d.datepicker.markerClassName)&amp;&amp;!a.hasClass(d.datepicker._triggerClass)&amp;&amp;d.datepicker._datepickerShowing&amp;&amp;!(d.datepicker._inDialog&amp;&amp;d.blockUI)&amp;&amp;d.datepicker._hideDatepicker()}},_adjustDate:function(a,b,c){a=d(a);var e=this._getInst(a[0]);if(!this._isDisabledDatepicker(a[0])){this._adjustInstDate(e,b+(c==&quot;M&quot;?this._get(e,&quot;showCurrentAtPos&quot;):
-0),c);this._updateDatepicker(e)}},_gotoToday:function(a){a=d(a);var b=this._getInst(a[0]);if(this._get(b,&quot;gotoCurrent&quot;)&amp;&amp;b.currentDay){b.selectedDay=b.currentDay;b.drawMonth=b.selectedMonth=b.currentMonth;b.drawYear=b.selectedYear=b.currentYear}else{var c=new Date;b.selectedDay=c.getDate();b.drawMonth=b.selectedMonth=c.getMonth();b.drawYear=b.selectedYear=c.getFullYear()}this._notifyChange(b);this._adjustDate(a)},_selectMonthYear:function(a,b,c){a=d(a);var e=this._getInst(a[0]);e[&quot;selected&quot;+(c==&quot;M&quot;?
-&quot;Month&quot;:&quot;Year&quot;)]=e[&quot;draw&quot;+(c==&quot;M&quot;?&quot;Month&quot;:&quot;Year&quot;)]=parseInt(b.options[b.selectedIndex].value,10);this._notifyChange(e);this._adjustDate(a)},_selectDay:function(a,b,c,e){var f=d(a);if(!(d(e).hasClass(this._unselectableClass)||this._isDisabledDatepicker(f[0]))){f=this._getInst(f[0]);f.selectedDay=f.currentDay=d(&quot;a&quot;,e).html();f.selectedMonth=f.currentMonth=b;f.selectedYear=f.currentYear=c;this._selectDate(a,this._formatDate(f,f.currentDay,f.currentMonth,f.currentYear))}},_clearDate:function(a){a=d(a);
-this._getInst(a[0]);this._selectDate(a,&quot;&quot;)},_selectDate:function(a,b){a=this._getInst(d(a)[0]);b=b!=null?b:this._formatDate(a);a.input&amp;&amp;a.input.val(b);this._updateAlternate(a);var c=this._get(a,&quot;onSelect&quot;);if(c)c.apply(a.input?a.input[0]:null,[b,a]);else a.input&amp;&amp;a.input.trigger(&quot;change&quot;);if(a.inline)this._updateDatepicker(a);else{this._hideDatepicker();this._lastInput=a.input[0];typeof a.input[0]!=&quot;object&quot;&amp;&amp;a.input.focus();this._lastInput=null}},_updateAlternate:function(a){var b=this._get(a,&quot;altField&quot;);
-if(b){var c=this._get(a,&quot;altFormat&quot;)||this._get(a,&quot;dateFormat&quot;),e=this._getDate(a),f=this.formatDate(c,e,this._getFormatConfig(a));d(b).each(function(){d(this).val(f)})}},noWeekends:function(a){a=a.getDay();return[a&gt;0&amp;&amp;a&lt;6,&quot;&quot;]},iso8601Week:function(a){a=new Date(a.getTime());a.setDate(a.getDate()+4-(a.getDay()||7));var b=a.getTime();a.setMonth(0);a.setDate(1);return Math.floor(Math.round((b-a)/864E5)/7)+1},parseDate:function(a,b,c){if(a==null||b==null)throw&quot;Invalid arguments&quot;;b=typeof b==&quot;object&quot;?
-b.toString():b+&quot;&quot;;if(b==&quot;&quot;)return null;var e=(c?c.shortYearCutoff:null)||this._defaults.shortYearCutoff;e=typeof e!=&quot;string&quot;?e:(new Date).getFullYear()%100+parseInt(e,10);for(var f=(c?c.dayNamesShort:null)||this._defaults.dayNamesShort,h=(c?c.dayNames:null)||this._defaults.dayNames,i=(c?c.monthNamesShort:null)||this._defaults.monthNamesShort,g=(c?c.monthNames:null)||this._defaults.monthNames,j=c=-1,l=-1,u=-1,k=false,o=function(p){(p=A+1&lt;a.length&amp;&amp;a.charAt(A+1)==p)&amp;&amp;A++;return p},m=function(p){var D=
-o(p);p=new RegExp(&quot;^\\d{1,&quot;+(p==&quot;@&quot;?14:p==&quot;!&quot;?20:p==&quot;y&quot;&amp;&amp;D?4:p==&quot;o&quot;?3:2)+&quot;}&quot;);p=b.substring(q).match(p);if(!p)throw&quot;Missing number at position &quot;+q;q+=p[0].length;return parseInt(p[0],10)},n=function(p,D,K){p=d.map(o(p)?K:D,function(w,x){return[[x,w]]}).sort(function(w,x){return-(w[1].length-x[1].length)});var E=-1;d.each(p,function(w,x){w=x[1];if(b.substr(q,w.length).toLowerCase()==w.toLowerCase()){E=x[0];q+=w.length;return false}});if(E!=-1)return E+1;else throw&quot;Unknown name at position &quot;+q;},s=
-function(){if(b.charAt(q)!=a.charAt(A))throw&quot;Unexpected literal at position &quot;+q;q++},q=0,A=0;A&lt;a.length;A++)if(k)if(a.charAt(A)==&quot;'&quot;&amp;&amp;!o(&quot;'&quot;))k=false;else s();else switch(a.charAt(A)){case &quot;d&quot;:l=m(&quot;d&quot;);break;case &quot;D&quot;:n(&quot;D&quot;,f,h);break;case &quot;o&quot;:u=m(&quot;o&quot;);break;case &quot;m&quot;:j=m(&quot;m&quot;);break;case &quot;M&quot;:j=n(&quot;M&quot;,i,g);break;case &quot;y&quot;:c=m(&quot;y&quot;);break;case &quot;@&quot;:var v=new Date(m(&quot;@&quot;));c=v.getFullYear();j=v.getMonth()+1;l=v.getDate();break;case &quot;!&quot;:v=new Date((m(&quot;!&quot;)-this._ticksTo1970)/1E4);c=v.getFullYear();j=v.getMonth()+
-1;l=v.getDate();break;case &quot;'&quot;:if(o(&quot;'&quot;))s();else k=true;break;default:s()}if(q&lt;b.length)throw&quot;Extra/unparsed characters found in date: &quot;+b.substring(q);if(c==-1)c=(new Date).getFullYear();else if(c&lt;100)c+=(new Date).getFullYear()-(new Date).getFullYear()%100+(c&lt;=e?0:-100);if(u&gt;-1){j=1;l=u;do{e=this._getDaysInMonth(c,j-1);if(l&lt;=e)break;j++;l-=e}while(1)}v=this._daylightSavingAdjust(new Date(c,j-1,l));if(v.getFullYear()!=c||v.getMonth()+1!=j||v.getDate()!=l)throw&quot;Invalid date&quot;;return v},ATOM:&quot;yy-mm-dd&quot;,
-COOKIE:&quot;D, dd M yy&quot;,ISO_8601:&quot;yy-mm-dd&quot;,RFC_822:&quot;D, d M y&quot;,RFC_850:&quot;DD, dd-M-y&quot;,RFC_1036:&quot;D, d M y&quot;,RFC_1123:&quot;D, d M yy&quot;,RFC_2822:&quot;D, d M yy&quot;,RSS:&quot;D, d M y&quot;,TICKS:&quot;!&quot;,TIMESTAMP:&quot;@&quot;,W3C:&quot;yy-mm-dd&quot;,_ticksTo1970:(718685+Math.floor(492.5)-Math.floor(19.7)+Math.floor(4.925))*24*60*60*1E7,formatDate:function(a,b,c){if(!b)return&quot;&quot;;var e=(c?c.dayNamesShort:null)||this._defaults.dayNamesShort,f=(c?c.dayNames:null)||this._defaults.dayNames,h=(c?c.monthNamesShort:null)||this._defaults.monthNamesShort;c=(c?c.monthNames:
-null)||this._defaults.monthNames;var i=function(o){(o=k+1&lt;a.length&amp;&amp;a.charAt(k+1)==o)&amp;&amp;k++;return o},g=function(o,m,n){m=&quot;&quot;+m;if(i(o))for(;m.length&lt;n;)m=&quot;0&quot;+m;return m},j=function(o,m,n,s){return i(o)?s[m]:n[m]},l=&quot;&quot;,u=false;if(b)for(var k=0;k&lt;a.length;k++)if(u)if(a.charAt(k)==&quot;'&quot;&amp;&amp;!i(&quot;'&quot;))u=false;else l+=a.charAt(k);else switch(a.charAt(k)){case &quot;d&quot;:l+=g(&quot;d&quot;,b.getDate(),2);break;case &quot;D&quot;:l+=j(&quot;D&quot;,b.getDay(),e,f);break;case &quot;o&quot;:l+=g(&quot;o&quot;,Math.round(((new Date(b.getFullYear(),b.getMonth(),b.getDate())).getTime()-
-(new Date(b.getFullYear(),0,0)).getTime())/864E5),3);break;case &quot;m&quot;:l+=g(&quot;m&quot;,b.getMonth()+1,2);break;case &quot;M&quot;:l+=j(&quot;M&quot;,b.getMonth(),h,c);break;case &quot;y&quot;:l+=i(&quot;y&quot;)?b.getFullYear():(b.getYear()%100&lt;10?&quot;0&quot;:&quot;&quot;)+b.getYear()%100;break;case &quot;@&quot;:l+=b.getTime();break;case &quot;!&quot;:l+=b.getTime()*1E4+this._ticksTo1970;break;case &quot;'&quot;:if(i(&quot;'&quot;))l+=&quot;'&quot;;else u=true;break;default:l+=a.charAt(k)}return l},_possibleChars:function(a){for(var b=&quot;&quot;,c=false,e=function(h){(h=f+1&lt;a.length&amp;&amp;a.charAt(f+1)==h)&amp;&amp;f++;return h},f=
-0;f&lt;a.length;f++)if(c)if(a.charAt(f)==&quot;'&quot;&amp;&amp;!e(&quot;'&quot;))c=false;else b+=a.charAt(f);else switch(a.charAt(f)){case &quot;d&quot;:case &quot;m&quot;:case &quot;y&quot;:case &quot;@&quot;:b+=&quot;0123456789&quot;;break;case &quot;D&quot;:case &quot;M&quot;:return null;case &quot;'&quot;:if(e(&quot;'&quot;))b+=&quot;'&quot;;else c=true;break;default:b+=a.charAt(f)}return b},_get:function(a,b){return a.settings[b]!==C?a.settings[b]:this._defaults[b]},_setDateFromField:function(a,b){if(a.input.val()!=a.lastVal){var c=this._get(a,&quot;dateFormat&quot;),e=a.lastVal=a.input?a.input.val():null,f,h;f=h=this._getDefaultDate(a);
-var i=this._getFormatConfig(a);try{f=this.parseDate(c,e,i)||h}catch(g){this.log(g);e=b?&quot;&quot;:e}a.selectedDay=f.getDate();a.drawMonth=a.selectedMonth=f.getMonth();a.drawYear=a.selectedYear=f.getFullYear();a.currentDay=e?f.getDate():0;a.currentMonth=e?f.getMonth():0;a.currentYear=e?f.getFullYear():0;this._adjustInstDate(a)}},_getDefaultDate:function(a){return this._restrictMinMax(a,this._determineDate(a,this._get(a,&quot;defaultDate&quot;),new Date))},_determineDate:function(a,b,c){var e=function(h){var i=new Date;
-i.setDate(i.getDate()+h);return i},f=function(h){try{return d.datepicker.parseDate(d.datepicker._get(a,&quot;dateFormat&quot;),h,d.datepicker._getFormatConfig(a))}catch(i){}var g=(h.toLowerCase().match(/^c/)?d.datepicker._getDate(a):null)||new Date,j=g.getFullYear(),l=g.getMonth();g=g.getDate();for(var u=/([+-]?[0-9]+)\s*(d|D|w|W|m|M|y|Y)?/g,k=u.exec(h);k;){switch(k[2]||&quot;d&quot;){case &quot;d&quot;:case &quot;D&quot;:g+=parseInt(k[1],10);break;case &quot;w&quot;:case &quot;W&quot;:g+=parseInt(k[1],10)*7;break;case &quot;m&quot;:case &quot;M&quot;:l+=parseInt(k[1],10);g=
-Math.min(g,d.datepicker._getDaysInMonth(j,l));break;case &quot;y&quot;:case &quot;Y&quot;:j+=parseInt(k[1],10);g=Math.min(g,d.datepicker._getDaysInMonth(j,l));break}k=u.exec(h)}return new Date(j,l,g)};if(b=(b=b==null||b===&quot;&quot;?c:typeof b==&quot;string&quot;?f(b):typeof b==&quot;number&quot;?isNaN(b)?c:e(b):new Date(b.getTime()))&amp;&amp;b.toString()==&quot;Invalid Date&quot;?c:b){b.setHours(0);b.setMinutes(0);b.setSeconds(0);b.setMilliseconds(0)}return this._daylightSavingAdjust(b)},_daylightSavingAdjust:function(a){if(!a)return null;a.setHours(a.getHours()&gt;
-12?a.getHours()+2:0);return a},_setDate:function(a,b,c){var e=!b,f=a.selectedMonth,h=a.selectedYear;b=this._restrictMinMax(a,this._determineDate(a,b,new Date));a.selectedDay=a.currentDay=b.getDate();a.drawMonth=a.selectedMonth=a.currentMonth=b.getMonth();a.drawYear=a.selectedYear=a.currentYear=b.getFullYear();if((f!=a.selectedMonth||h!=a.selectedYear)&amp;&amp;!c)this._notifyChange(a);this._adjustInstDate(a);if(a.input)a.input.val(e?&quot;&quot;:this._formatDate(a))},_getDate:function(a){return!a.currentYear||a.input&amp;&amp;
-a.input.val()==&quot;&quot;?null:this._daylightSavingAdjust(new Date(a.currentYear,a.currentMonth,a.currentDay))},_generateHTML:function(a){var b=new Date;b=this._daylightSavingAdjust(new Date(b.getFullYear(),b.getMonth(),b.getDate()));var c=this._get(a,&quot;isRTL&quot;),e=this._get(a,&quot;showButtonPanel&quot;),f=this._get(a,&quot;hideIfNoPrevNext&quot;),h=this._get(a,&quot;navigationAsDateFormat&quot;),i=this._getNumberOfMonths(a),g=this._get(a,&quot;showCurrentAtPos&quot;),j=this._get(a,&quot;stepMonths&quot;),l=i[0]!=1||i[1]!=1,u=this._daylightSavingAdjust(!a.currentDay?
-new Date(9999,9,9):new Date(a.currentYear,a.currentMonth,a.currentDay)),k=this._getMinMaxDate(a,&quot;min&quot;),o=this._getMinMaxDate(a,&quot;max&quot;);g=a.drawMonth-g;var m=a.drawYear;if(g&lt;0){g+=12;m--}if(o){var n=this._daylightSavingAdjust(new Date(o.getFullYear(),o.getMonth()-i[0]*i[1]+1,o.getDate()));for(n=k&amp;&amp;n&lt;k?k:n;this._daylightSavingAdjust(new Date(m,g,1))&gt;n;){g--;if(g&lt;0){g=11;m--}}}a.drawMonth=g;a.drawYear=m;n=this._get(a,&quot;prevText&quot;);n=!h?n:this.formatDate(n,this._daylightSavingAdjust(new Date(m,g-j,1)),this._getFormatConfig(a));
-n=this._canAdjustMonth(a,-1,m,g)?'&lt;a class=&quot;ui-datepicker-prev ui-corner-all&quot; onclick=&quot;DP_jQuery_'+B+&quot;.datepicker._adjustDate('#&quot;+a.id+&quot;', -&quot;+j+&quot;, 'M');\&quot; title=\&quot;&quot;+n+'&quot;&gt;&lt;span class=&quot;ui-icon ui-icon-circle-triangle-'+(c?&quot;e&quot;:&quot;w&quot;)+'&quot;&gt;'+n+&quot;&lt;/span&gt;&lt;/a&gt;&quot;:f?&quot;&quot;:'&lt;a class=&quot;ui-datepicker-prev ui-corner-all ui-state-disabled&quot; title=&quot;'+n+'&quot;&gt;&lt;span class=&quot;ui-icon ui-icon-circle-triangle-'+(c?&quot;e&quot;:&quot;w&quot;)+'&quot;&gt;'+n+&quot;&lt;/span&gt;&lt;/a&gt;&quot;;var s=this._get(a,&quot;nextText&quot;);s=!h?s:this.formatDate(s,this._daylightSavingAdjust(new Date(m,
-g+j,1)),this._getFormatConfig(a));f=this._canAdjustMonth(a,+1,m,g)?'&lt;a class=&quot;ui-datepicker-next ui-corner-all&quot; onclick=&quot;DP_jQuery_'+B+&quot;.datepicker._adjustDate('#&quot;+a.id+&quot;', +&quot;+j+&quot;, 'M');\&quot; title=\&quot;&quot;+s+'&quot;&gt;&lt;span class=&quot;ui-icon ui-icon-circle-triangle-'+(c?&quot;w&quot;:&quot;e&quot;)+'&quot;&gt;'+s+&quot;&lt;/span&gt;&lt;/a&gt;&quot;:f?&quot;&quot;:'&lt;a class=&quot;ui-datepicker-next ui-corner-all ui-state-disabled&quot; title=&quot;'+s+'&quot;&gt;&lt;span class=&quot;ui-icon ui-icon-circle-triangle-'+(c?&quot;w&quot;:&quot;e&quot;)+'&quot;&gt;'+s+&quot;&lt;/span&gt;&lt;/a&gt;&quot;;j=this._get(a,&quot;currentText&quot;);s=this._get(a,&quot;gotoCurrent&quot;)&amp;&amp;
-a.currentDay?u:b;j=!h?j:this.formatDate(j,s,this._getFormatConfig(a));h=!a.inline?'&lt;button type=&quot;button&quot; class=&quot;ui-datepicker-close ui-state-default ui-priority-primary ui-corner-all&quot; onclick=&quot;DP_jQuery_'+B+'.datepicker._hideDatepicker();&quot;&gt;'+this._get(a,&quot;closeText&quot;)+&quot;&lt;/button&gt;&quot;:&quot;&quot;;e=e?'&lt;div class=&quot;ui-datepicker-buttonpane ui-widget-content&quot;&gt;'+(c?h:&quot;&quot;)+(this._isInRange(a,s)?'&lt;button type=&quot;button&quot; class=&quot;ui-datepicker-current ui-state-default ui-priority-secondary ui-corner-all&quot; onclick=&quot;DP_jQuery_'+
-B+&quot;.datepicker._gotoToday('#&quot;+a.id+&quot;');\&quot;&gt;&quot;+j+&quot;&lt;/button&gt;&quot;:&quot;&quot;)+(c?&quot;&quot;:h)+&quot;&lt;/div&gt;&quot;:&quot;&quot;;h=parseInt(this._get(a,&quot;firstDay&quot;),10);h=isNaN(h)?0:h;j=this._get(a,&quot;showWeek&quot;);s=this._get(a,&quot;dayNames&quot;);this._get(a,&quot;dayNamesShort&quot;);var q=this._get(a,&quot;dayNamesMin&quot;),A=this._get(a,&quot;monthNames&quot;),v=this._get(a,&quot;monthNamesShort&quot;),p=this._get(a,&quot;beforeShowDay&quot;),D=this._get(a,&quot;showOtherMonths&quot;),K=this._get(a,&quot;selectOtherMonths&quot;);this._get(a,&quot;calculateWeek&quot;);for(var E=this._getDefaultDate(a),w=&quot;&quot;,x=0;x&lt;i[0];x++){var O=
-&quot;&quot;;this.maxRows=4;for(var G=0;G&lt;i[1];G++){var P=this._daylightSavingAdjust(new Date(m,g,a.selectedDay)),t=&quot; ui-corner-all&quot;,y=&quot;&quot;;if(l){y+='&lt;div class=&quot;ui-datepicker-group';if(i[1]&gt;1)switch(G){case 0:y+=&quot; ui-datepicker-group-first&quot;;t=&quot; ui-corner-&quot;+(c?&quot;right&quot;:&quot;left&quot;);break;case i[1]-1:y+=&quot; ui-datepicker-group-last&quot;;t=&quot; ui-corner-&quot;+(c?&quot;left&quot;:&quot;right&quot;);break;default:y+=&quot; ui-datepicker-group-middle&quot;;t=&quot;&quot;;break}y+='&quot;&gt;'}y+='&lt;div class=&quot;ui-datepicker-header ui-widget-header ui-helper-clearfix'+t+'&quot;&gt;'+(/all|left/.test(t)&amp;&amp;
-x==0?c?f:n:&quot;&quot;)+(/all|right/.test(t)&amp;&amp;x==0?c?n:f:&quot;&quot;)+this._generateMonthYearHeader(a,g,m,k,o,x&gt;0||G&gt;0,A,v)+'&lt;/div&gt;&lt;table class=&quot;ui-datepicker-calendar&quot;&gt;&lt;thead&gt;&lt;tr&gt;';var z=j?'&lt;th class=&quot;ui-datepicker-week-col&quot;&gt;'+this._get(a,&quot;weekHeader&quot;)+&quot;&lt;/th&gt;&quot;:&quot;&quot;;for(t=0;t&lt;7;t++){var r=(t+h)%7;z+=&quot;&lt;th&quot;+((t+h+6)%7&gt;=5?' class=&quot;ui-datepicker-week-end&quot;':&quot;&quot;)+'&gt;&lt;span title=&quot;'+s[r]+'&quot;&gt;'+q[r]+&quot;&lt;/span&gt;&lt;/th&gt;&quot;}y+=z+&quot;&lt;/tr&gt;&lt;/thead&gt;&lt;tbody&gt;&quot;;z=this._getDaysInMonth(m,g);if(m==a.selectedYear&amp;&amp;g==a.selectedMonth)a.selectedDay=Math.min(a.selectedDay,
-z);t=(this._getFirstDayOfMonth(m,g)-h+7)%7;z=Math.ceil((t+z)/7);this.maxRows=z=l?this.maxRows&gt;z?this.maxRows:z:z;r=this._daylightSavingAdjust(new Date(m,g,1-t));for(var Q=0;Q&lt;z;Q++){y+=&quot;&lt;tr&gt;&quot;;var R=!j?&quot;&quot;:'&lt;td class=&quot;ui-datepicker-week-col&quot;&gt;'+this._get(a,&quot;calculateWeek&quot;)(r)+&quot;&lt;/td&gt;&quot;;for(t=0;t&lt;7;t++){var I=p?p.apply(a.input?a.input[0]:null,[r]):[true,&quot;&quot;],F=r.getMonth()!=g,L=F&amp;&amp;!K||!I[0]||k&amp;&amp;r&lt;k||o&amp;&amp;r&gt;o;R+='&lt;td class=&quot;'+((t+h+6)%7&gt;=5?&quot; ui-datepicker-week-end&quot;:&quot;&quot;)+(F?&quot; ui-datepicker-other-month&quot;:&quot;&quot;)+(r.getTime()==
-P.getTime()&amp;&amp;g==a.selectedMonth&amp;&amp;a._keyEvent||E.getTime()==r.getTime()&amp;&amp;E.getTime()==P.getTime()?&quot; &quot;+this._dayOverClass:&quot;&quot;)+(L?&quot; &quot;+this._unselectableClass+&quot; ui-state-disabled&quot;:&quot;&quot;)+(F&amp;&amp;!D?&quot;&quot;:&quot; &quot;+I[1]+(r.getTime()==u.getTime()?&quot; &quot;+this._currentClass:&quot;&quot;)+(r.getTime()==b.getTime()?&quot; ui-datepicker-today&quot;:&quot;&quot;))+'&quot;'+((!F||D)&amp;&amp;I[2]?' title=&quot;'+I[2]+'&quot;':&quot;&quot;)+(L?&quot;&quot;:' onclick=&quot;DP_jQuery_'+B+&quot;.datepicker._selectDay('#&quot;+a.id+&quot;',&quot;+r.getMonth()+&quot;,&quot;+r.getFullYear()+', this);return false;&quot;')+&quot;&gt;&quot;+(F&amp;&amp;!D?&quot;&amp;#xa0;&quot;:L?'&lt;span class=&quot;ui-state-default&quot;&gt;'+
-r.getDate()+&quot;&lt;/span&gt;&quot;:'&lt;a class=&quot;ui-state-default'+(r.getTime()==b.getTime()?&quot; ui-state-highlight&quot;:&quot;&quot;)+(r.getTime()==u.getTime()?&quot; ui-state-active&quot;:&quot;&quot;)+(F?&quot; ui-priority-secondary&quot;:&quot;&quot;)+'&quot; href=&quot;#&quot;&gt;'+r.getDate()+&quot;&lt;/a&gt;&quot;)+&quot;&lt;/td&gt;&quot;;r.setDate(r.getDate()+1);r=this._daylightSavingAdjust(r)}y+=R+&quot;&lt;/tr&gt;&quot;}g++;if(g&gt;11){g=0;m++}y+=&quot;&lt;/tbody&gt;&lt;/table&gt;&quot;+(l?&quot;&lt;/div&gt;&quot;+(i[0]&gt;0&amp;&amp;G==i[1]-1?'&lt;div class=&quot;ui-datepicker-row-break&quot;&gt;&lt;/div&gt;':&quot;&quot;):&quot;&quot;);O+=y}w+=O}w+=e+(d.browser.msie&amp;&amp;parseInt(d.browser.version,10)&lt;7&amp;&amp;!a.inline?'&lt;iframe src=&quot;javascript:false;&quot; class=&quot;ui-datepicker-cover&quot; frameborder=&quot;0&quot;&gt;&lt;/iframe&gt;':
-&quot;&quot;);a._keyEvent=false;return w},_generateMonthYearHeader:function(a,b,c,e,f,h,i,g){var j=this._get(a,&quot;changeMonth&quot;),l=this._get(a,&quot;changeYear&quot;),u=this._get(a,&quot;showMonthAfterYear&quot;),k='&lt;div class=&quot;ui-datepicker-title&quot;&gt;',o=&quot;&quot;;if(h||!j)o+='&lt;span class=&quot;ui-datepicker-month&quot;&gt;'+i[b]+&quot;&lt;/span&gt;&quot;;else{i=e&amp;&amp;e.getFullYear()==c;var m=f&amp;&amp;f.getFullYear()==c;o+='&lt;select class=&quot;ui-datepicker-month&quot; onchange=&quot;DP_jQuery_'+B+&quot;.datepicker._selectMonthYear('#&quot;+a.id+&quot;', this, 'M');\&quot; &gt;&quot;;for(var n=0;n&lt;12;n++)if((!i||n&gt;=e.getMonth())&amp;&amp;
-(!m||n&lt;=f.getMonth()))o+='&lt;option value=&quot;'+n+'&quot;'+(n==b?' selected=&quot;selected&quot;':&quot;&quot;)+&quot;&gt;&quot;+g[n]+&quot;&lt;/option&gt;&quot;;o+=&quot;&lt;/select&gt;&quot;}u||(k+=o+(h||!(j&amp;&amp;l)?&quot;&amp;#xa0;&quot;:&quot;&quot;));if(!a.yearshtml){a.yearshtml=&quot;&quot;;if(h||!l)k+='&lt;span class=&quot;ui-datepicker-year&quot;&gt;'+c+&quot;&lt;/span&gt;&quot;;else{g=this._get(a,&quot;yearRange&quot;).split(&quot;:&quot;);var s=(new Date).getFullYear();i=function(q){q=q.match(/c[+-].*/)?c+parseInt(q.substring(1),10):q.match(/[+-].*/)?s+parseInt(q,10):parseInt(q,10);return isNaN(q)?s:q};b=i(g[0]);g=Math.max(b,i(g[1]||&quot;&quot;));b=e?Math.max(b,
-e.getFullYear()):b;g=f?Math.min(g,f.getFullYear()):g;for(a.yearshtml+='&lt;select class=&quot;ui-datepicker-year&quot; onchange=&quot;DP_jQuery_'+B+&quot;.datepicker._selectMonthYear('#&quot;+a.id+&quot;', this, 'Y');\&quot; &gt;&quot;;b&lt;=g;b++)a.yearshtml+='&lt;option value=&quot;'+b+'&quot;'+(b==c?' selected=&quot;selected&quot;':&quot;&quot;)+&quot;&gt;&quot;+b+&quot;&lt;/option&gt;&quot;;a.yearshtml+=&quot;&lt;/select&gt;&quot;;k+=a.yearshtml;a.yearshtml=null}}k+=this._get(a,&quot;yearSuffix&quot;);if(u)k+=(h||!(j&amp;&amp;l)?&quot;&amp;#xa0;&quot;:&quot;&quot;)+o;k+=&quot;&lt;/div&gt;&quot;;return k},_adjustInstDate:function(a,b,c){var e=a.drawYear+(c==&quot;Y&quot;?b:0),f=a.drawMonth+
-(c==&quot;M&quot;?b:0);b=Math.min(a.selectedDay,this._getDaysInMonth(e,f))+(c==&quot;D&quot;?b:0);e=this._restrictMinMax(a,this._daylightSavingAdjust(new Date(e,f,b)));a.selectedDay=e.getDate();a.drawMonth=a.selectedMonth=e.getMonth();a.drawYear=a.selectedYear=e.getFullYear();if(c==&quot;M&quot;||c==&quot;Y&quot;)this._notifyChange(a)},_restrictMinMax:function(a,b){var c=this._getMinMaxDate(a,&quot;min&quot;);a=this._getMinMaxDate(a,&quot;max&quot;);b=c&amp;&amp;b&lt;c?c:b;return b=a&amp;&amp;b&gt;a?a:b},_notifyChange:function(a){var b=this._get(a,&quot;onChangeMonthYear&quot;);if(b)b.apply(a.input?
-a.input[0]:null,[a.selectedYear,a.selectedMonth+1,a])},_getNumberOfMonths:function(a){a=this._get(a,&quot;numberOfMonths&quot;);return a==null?[1,1]:typeof a==&quot;number&quot;?[1,a]:a},_getMinMaxDate:function(a,b){return this._determineDate(a,this._get(a,b+&quot;Date&quot;),null)},_getDaysInMonth:function(a,b){return 32-this._daylightSavingAdjust(new Date(a,b,32)).getDate()},_getFirstDayOfMonth:function(a,b){return(new Date(a,b,1)).getDay()},_canAdjustMonth:function(a,b,c,e){var f=this._getNumberOfMonths(a);c=this._daylightSavingAdjust(new Date(c,
-e+(b&lt;0?b:f[0]*f[1]),1));b&lt;0&amp;&amp;c.setDate(this._getDaysInMonth(c.getFullYear(),c.getMonth()));return this._isInRange(a,c)},_isInRange:function(a,b){var c=this._getMinMaxDate(a,&quot;min&quot;);a=this._getMinMaxDate(a,&quot;max&quot;);return(!c||b.getTime()&gt;=c.getTime())&amp;&amp;(!a||b.getTime()&lt;=a.getTime())},_getFormatConfig:function(a){var b=this._get(a,&quot;shortYearCutoff&quot;);b=typeof b!=&quot;string&quot;?b:(new Date).getFullYear()%100+parseInt(b,10);return{shortYearCutoff:b,dayNamesShort:this._get(a,&quot;dayNamesShort&quot;),dayNames:this._get(a,
-&quot;dayNames&quot;),monthNamesShort:this._get(a,&quot;monthNamesShort&quot;),monthNames:this._get(a,&quot;monthNames&quot;)}},_formatDate:function(a,b,c,e){if(!b){a.currentDay=a.selectedDay;a.currentMonth=a.selectedMonth;a.currentYear=a.selectedYear}b=b?typeof b==&quot;object&quot;?b:this._daylightSavingAdjust(new Date(e,c,b)):this._daylightSavingAdjust(new Date(a.currentYear,a.currentMonth,a.currentDay));return this.formatDate(this._get(a,&quot;dateFormat&quot;),b,this._getFormatConfig(a))}});d.fn.datepicker=function(a){if(!this.length)return this;
-if(!d.datepicker.initialized){d(document).mousedown(d.datepicker._checkExternalClick).find(&quot;body&quot;).append(d.datepicker.dpDiv);d.datepicker.initialized=true}var b=Array.prototype.slice.call(arguments,1);if(typeof a==&quot;string&quot;&amp;&amp;(a==&quot;isDisabled&quot;||a==&quot;getDate&quot;||a==&quot;widget&quot;))return d.datepicker[&quot;_&quot;+a+&quot;Datepicker&quot;].apply(d.datepicker,[this[0]].concat(b));if(a==&quot;option&quot;&amp;&amp;arguments.length==2&amp;&amp;typeof arguments[1]==&quot;string&quot;)return d.datepicker[&quot;_&quot;+a+&quot;Datepicker&quot;].apply(d.datepicker,[this[0]].concat(b));return this.each(function(){typeof a==
-&quot;string&quot;?d.datepicker[&quot;_&quot;+a+&quot;Datepicker&quot;].apply(d.datepicker,[this].concat(b)):d.datepicker._attachDatepicker(this,a)})};d.datepicker=new M;d.datepicker.initialized=false;d.datepicker.uuid=(new Date).getTime();d.datepicker.version=&quot;1.8.16&quot;;window[&quot;DP_jQuery_&quot;+B]=d})(jQuery);
</del><ins>+/*! jQuery UI - v1.8.19 - 2012-04-16
+* https://github.com/jquery/jquery-ui
+* Includes: jquery.ui.datepicker.js
+* Copyright (c) 2012 AUTHORS.txt; Licensed MIT, GPL */
+(function($,undefined){function Datepicker(){this.debug=!1,this._curInst=null,this._keyEvent=!1,this._disabledInputs=[],this._datepickerShowing=!1,this._inDialog=!1,this._mainDivId=&quot;ui-datepicker-div&quot;,this._inlineClass=&quot;ui-datepicker-inline&quot;,this._appendClass=&quot;ui-datepicker-append&quot;,this._triggerClass=&quot;ui-datepicker-trigger&quot;,this._dialogClass=&quot;ui-datepicker-dialog&quot;,this._disableClass=&quot;ui-datepicker-disabled&quot;,this._unselectableClass=&quot;ui-datepicker-unselectable&quot;,this._currentClass=&quot;ui-datepicker-current-day&quot;,this._dayOverClass=&quot;ui-datepicker-days-cell-over&quot;,this.regional=[],this.regional[&quot;&quot;]={closeText:&quot;Done&quot;,prevText:&quot;Prev&quot;,nextText:&quot;Next&quot;,currentText:&quot;Today&quot;,monthNames:[&quot;January&quot;,&quot;February&quot;,&quot;March&quot;,&quot;April&quot;,&quot;May&quot;,&quot;June&quot;,&quot;July&quot;,&quot;August&quot;,&quot;September&quot;,&qu
 ot;October&quot;,&quot;November&quot;,&quot;December&quot;],monthNamesShort:[&quot;Jan&quot;,&quot;Feb&quot;,&quot;Mar&quot;,&quot;Apr&quot;,&quot;May&quot;,&quot;Jun&quot;,&quot;Jul&quot;,&quot;Aug&quot;,&quot;Sep&quot;,&quot;Oct&quot;,&quot;Nov&quot;,&quot;Dec&quot;],dayNames:[&quot;Sunday&quot;,&quot;Monday&quot;,&quot;Tuesday&quot;,&quot;Wednesday&quot;,&quot;Thursday&quot;,&quot;Friday&quot;,&quot;Saturday&quot;],dayNamesShort:[&quot;Sun&quot;,&quot;Mon&quot;,&quot;Tue&quot;,&quot;Wed&quot;,&quot;Thu&quot;,&quot;Fri&quot;,&quot;Sat&quot;],dayNamesMin:[&quot;Su&quot;,&quot;Mo&quot;,&quot;Tu&quot;,&quot;We&quot;,&quot;Th&quot;,&quot;Fr&quot;,&quot;Sa&quot;],weekHeader:&quot;Wk&quot;,dateFormat:&quot;mm/dd/yy&quot;,firstDay:0,isRTL:!1,showMonthAfterYear:!1,yearSuffix:&quot;&quot;},this._defaults={showOn:&quot;focus&quot;,showAnim:&quot;fadeIn&quot;,showOptions:{},defaultDate:null,appendText:&quot;&quot;,buttonText:&quot;...&quot;,buttonImage:&quot;&quot;,buttonImageOnly:!1
 ,hideIfNoPrevNext:!1,navigationAsDateFormat:!1,gotoCurrent:!1,changeMonth:!1,changeYear:!1,yearRange:&quot;c-10:c+10&quot;,showOtherMonths:!1,selectOtherMonths:!1,showWeek:!1,calculateWeek:this.iso8601Week,shortYearCutoff:&quot;+10&quot;,minDate:null,maxDate:null,duration:&quot;fast&quot;,beforeShowDay:null,beforeShow:null,onSelect:null,onChangeMonthYear:null,onClose:null,numberOfMonths:1,showCurrentAtPos:0,stepMonths:1,stepBigMonths:12,altField:&quot;&quot;,altFormat:&quot;&quot;,constrainInput:!0,showButtonPanel:!1,autoSize:!1,disabled:!1},$.extend(this._defaults,this.regional[&quot;&quot;]),this.dpDiv=bindHover($('&lt;div id=&quot;'+this._mainDivId+'&quot; class=&quot;ui-datepicker ui-widget ui-widget-content ui-helper-clearfix ui-corner-all&quot;&gt;&lt;/div&gt;'))}function bindHover(a){var b=&quot;button, .ui-datepicker-prev, .ui-datepicker-next, .ui-datepicker-calendar td a&quot;;return a.bind(&quot;mouseout&quot;,function(a){var c=$(a.target).closest(b);if(!c.length)r
 eturn;c.removeClass(&quot;ui-state-hover ui-datepicker-prev-hover ui-datepicker-next-hover&quot;)}).bind(&quot;mouseover&quot;,function(c){var d=$(c.target).closest(b);if($.datepicker._isDisabledDatepicker(instActive.inline?a.parent()[0]:instActive.input[0])||!d.length)return;d.parents(&quot;.ui-datepicker-calendar&quot;).find(&quot;a&quot;).removeClass(&quot;ui-state-hover&quot;),d.addClass(&quot;ui-state-hover&quot;),d.hasClass(&quot;ui-datepicker-prev&quot;)&amp;&amp;d.addClass(&quot;ui-datepicker-prev-hover&quot;),d.hasClass(&quot;ui-datepicker-next&quot;)&amp;&amp;d.addClass(&quot;ui-datepicker-next-hover&quot;)})}function extendRemove(a,b){$.extend(a,b);for(var c in b)if(b[c]==null||b[c]==undefined)a[c]=b[c];return a}function isArray(a){return a&amp;&amp;($.browser.safari&amp;&amp;typeof a==&quot;object&quot;&amp;&amp;a.length||a.constructor&amp;&amp;a.constructor.toString().match(/\Array\(\)/))}$.extend($.ui,{datepicker:{version:&quot;1.8.19&quot;}});var PROP_NAME=&qu
 ot;datepicker&quot;,dpuuid=(new Date).getTime(),instActive;$.extend(Datepicker.prototype,{markerClassName:&quot;hasDatepicker&quot;,maxRows:4,log:function(){this.debug&amp;&amp;console.log.apply(&quot;&quot;,arguments)},_widgetDatepicker:function(){return this.dpDiv},setDefaults:function(a){return extendRemove(this._defaults,a||{}),this},_attachDatepicker:function(target,settings){var inlineSettings=null;for(var attrName in this._defaults){var attrValue=target.getAttribute(&quot;date:&quot;+attrName);if(attrValue){inlineSettings=inlineSettings||{};try{inlineSettings[attrName]=eval(attrValue)}catch(err){inlineSettings[attrName]=attrValue}}}var nodeName=target.nodeName.toLowerCase(),inline=nodeName==&quot;div&quot;||nodeName==&quot;span&quot;;target.id||(this.uuid+=1,target.id=&quot;dp&quot;+this.uuid);var inst=this._newInst($(target),inline);inst.settings=$.extend({},settings||{},inlineSettings||{}),nodeName==&quot;input&quot;?this._connectDatepicker(target,inst):inline&amp;&
 amp;this._inlineDatepicker(target,inst)},_newInst:function(a,b){var c=a[0].id.replace(/([^A-Za-z0-9_-])/g,&quot;\\\\$1&quot;);return{id:c,input:a,selectedDay:0,selectedMonth:0,selectedYear:0,drawMonth:0,drawYear:0,inline:b,dpDiv:b?bindHover($('&lt;div class=&quot;'+this._inlineClass+' ui-datepicker ui-widget ui-widget-content ui-helper-clearfix ui-corner-all&quot;&gt;&lt;/div&gt;')):this.dpDiv}},_connectDatepicker:function(a,b){var c=$(a);b.append=$([]),b.trigger=$([]);if(c.hasClass(this.markerClassName))return;this._attachments(c,b),c.addClass(this.markerClassName).keydown(this._doKeyDown).keypress(this._doKeyPress).keyup(this._doKeyUp).bind(&quot;setData.datepicker&quot;,function(a,c,d){b.settings[c]=d}).bind(&quot;getData.datepicker&quot;,function(a,c){return this._get(b,c)}),this._autoSize(b),$.data(a,PROP_NAME,b),b.settings.disabled&amp;&amp;this._disableDatepicker(a)},_attachments:function(a,b){var c=this._get(b,&quot;appendText&quot;),d=this._get(b,&quot;isRTL&quot;);
 b.append&amp;&amp;b.append.remove(),c&amp;&amp;(b.append=$('&lt;span class=&quot;'+this._appendClass+'&quot;&gt;'+c+&quot;&lt;/span&gt;&quot;),a[d?&quot;before&quot;:&quot;after&quot;](b.append)),a.unbind(&quot;focus&quot;,this._showDatepicker),b.trigger&amp;&amp;b.trigger.remove();var e=this._get(b,&quot;showOn&quot;);(e==&quot;focus&quot;||e==&quot;both&quot;)&amp;&amp;a.focus(this._showDatepicker);if(e==&quot;button&quot;||e==&quot;both&quot;){var f=this._get(b,&quot;buttonText&quot;),g=this._get(b,&quot;buttonImage&quot;);b.trigger=$(this._get(b,&quot;buttonImageOnly&quot;)?$(&quot;&lt;img/&gt;&quot;).addClass(this._triggerClass).attr({src:g,alt:f,title:f}):$('&lt;button type=&quot;button&quot;&gt;&lt;/button&gt;').addClass(this._triggerClass).html(g==&quot;&quot;?f:$(&quot;&lt;img/&gt;&quot;).attr({src:g,alt:f,title:f}))),a[d?&quot;before&quot;:&quot;after&quot;](b.trigger),b.trigger.click(function(){return $.datepicker._datepickerShowing&amp;&amp;$.datepicker._lastInpu
 t==a[0]?$.datepicker._hideDatepicker():$.datepicker._datepickerShowing&amp;&amp;$.datepicker._lastInput!=a[0]?($.datepicker._hideDatepicker(),$.datepicker._showDatepicker(a[0])):$.datepicker._showDatepicker(a[0]),!1})}},_autoSize:function(a){if(this._get(a,&quot;autoSize&quot;)&amp;&amp;!a.inline){var b=new Date(2009,11,20),c=this._get(a,&quot;dateFormat&quot;);if(c.match(/[DM]/)){var d=function(a){var b=0,c=0;for(var d=0;d&lt;a.length;d++)a[d].length&gt;b&amp;&amp;(b=a[d].length,c=d);return c};b.setMonth(d(this._get(a,c.match(/MM/)?&quot;monthNames&quot;:&quot;monthNamesShort&quot;))),b.setDate(d(this._get(a,c.match(/DD/)?&quot;dayNames&quot;:&quot;dayNamesShort&quot;))+20-b.getDay())}a.input.attr(&quot;size&quot;,this._formatDate(a,b).length)}},_inlineDatepicker:function(a,b){var c=$(a);if(c.hasClass(this.markerClassName))return;c.addClass(this.markerClassName).append(b.dpDiv).bind(&quot;setData.datepicker&quot;,function(a,c,d){b.settings[c]=d}).bind(&quot;getData.datepick
 er&quot;,function(a,c){return this._get(b,c)}),$.data(a,PROP_NAME,b),this._setDate(b,this._getDefaultDate(b),!0),this._updateDatepicker(b),this._updateAlternate(b),b.settings.disabled&amp;&amp;this._disableDatepicker(a),b.dpDiv.css(&quot;display&quot;,&quot;block&quot;)},_dialogDatepicker:function(a,b,c,d,e){var f=this._dialogInst;if(!f){this.uuid+=1;var g=&quot;dp&quot;+this.uuid;this._dialogInput=$('&lt;input type=&quot;text&quot; id=&quot;'+g+'&quot; style=&quot;position: absolute; top: -100px; width: 0px; z-index: -10;&quot;/&gt;'),this._dialogInput.keydown(this._doKeyDown),$(&quot;body&quot;).append(this._dialogInput),f=this._dialogInst=this._newInst(this._dialogInput,!1),f.settings={},$.data(this._dialogInput[0],PROP_NAME,f)}extendRemove(f.settings,d||{}),b=b&amp;&amp;b.constructor==Date?this._formatDate(f,b):b,this._dialogInput.val(b),this._pos=e?e.length?e:[e.pageX,e.pageY]:null;if(!this._pos){var h=document.documentElement.clientWidth,i=document.documentElement.clie
 ntHeight,j=document.documentElement.scrollLeft||document.body.scrollLeft,k=document.documentElement.scrollTop||document.body.scrollTop;this._pos=[h/2-100+j,i/2-150+k]}return this._dialogInput.css(&quot;left&quot;,this._pos[0]+20+&quot;px&quot;).css(&quot;top&quot;,this._pos[1]+&quot;px&quot;),f.settings.onSelect=c,this._inDialog=!0,this.dpDiv.addClass(this._dialogClass),this._showDatepicker(this._dialogInput[0]),$.blockUI&amp;&amp;$.blockUI(this.dpDiv),$.data(this._dialogInput[0],PROP_NAME,f),this},_destroyDatepicker:function(a){var b=$(a),c=$.data(a,PROP_NAME);if(!b.hasClass(this.markerClassName))return;var d=a.nodeName.toLowerCase();$.removeData(a,PROP_NAME),d==&quot;input&quot;?(c.append.remove(),c.trigger.remove(),b.removeClass(this.markerClassName).unbind(&quot;focus&quot;,this._showDatepicker).unbind(&quot;keydown&quot;,this._doKeyDown).unbind(&quot;keypress&quot;,this._doKeyPress).unbind(&quot;keyup&quot;,this._doKeyUp)):(d==&quot;div&quot;||d==&quot;span&quot;)&amp;&
 amp;b.removeClass(this.markerClassName).empty()},_enableDatepicker:function(a){var b=$(a),c=$.data(a,PROP_NAME);if(!b.hasClass(this.markerClassName))return;var d=a.nodeName.toLowerCase();if(d==&quot;input&quot;)a.disabled=!1,c.trigger.filter(&quot;button&quot;).each(function(){this.disabled=!1}).end().filter(&quot;img&quot;).css({opacity:&quot;1.0&quot;,cursor:&quot;&quot;});else if(d==&quot;div&quot;||d==&quot;span&quot;){var e=b.children(&quot;.&quot;+this._inlineClass);e.children().removeClass(&quot;ui-state-disabled&quot;),e.find(&quot;select.ui-datepicker-month, select.ui-datepicker-year&quot;).removeAttr(&quot;disabled&quot;)}this._disabledInputs=$.map(this._disabledInputs,function(b){return b==a?null:b})},_disableDatepicker:function(a){var b=$(a),c=$.data(a,PROP_NAME);if(!b.hasClass(this.markerClassName))return;var d=a.nodeName.toLowerCase();if(d==&quot;input&quot;)a.disabled=!0,c.trigger.filter(&quot;button&quot;).each(function(){this.disabled=!0}).end().filter(&quot
 ;img&quot;).css({opacity:&quot;0.5&quot;,cursor:&quot;default&quot;});else if(d==&quot;div&quot;||d==&quot;span&quot;){var e=b.children(&quot;.&quot;+this._inlineClass);e.children().addClass(&quot;ui-state-disabled&quot;),e.find(&quot;select.ui-datepicker-month, select.ui-datepicker-year&quot;).attr(&quot;disabled&quot;,&quot;disabled&quot;)}this._disabledInputs=$.map(this._disabledInputs,function(b){return b==a?null:b}),this._disabledInputs[this._disabledInputs.length]=a},_isDisabledDatepicker:function(a){if(!a)return!1;for(var b=0;b&lt;this._disabledInputs.length;b++)if(this._disabledInputs[b]==a)return!0;return!1},_getInst:function(a){try{return $.data(a,PROP_NAME)}catch(b){throw&quot;Missing instance data for this datepicker&quot;}},_optionDatepicker:function(a,b,c){var d=this._getInst(a);if(arguments.length==2&amp;&amp;typeof b==&quot;string&quot;)return b==&quot;defaults&quot;?$.extend({},$.datepicker._defaults):d?b==&quot;all&quot;?$.extend({},d.settings):this._get(d,
 b):null;var e=b||{};typeof b==&quot;string&quot;&amp;&amp;(e={},e[b]=c);if(d){this._curInst==d&amp;&amp;this._hideDatepicker();var f=this._getDateDatepicker(a,!0),g=this._getMinMaxDate(d,&quot;min&quot;),h=this._getMinMaxDate(d,&quot;max&quot;);extendRemove(d.settings,e),g!==null&amp;&amp;e.dateFormat!==undefined&amp;&amp;e.minDate===undefined&amp;&amp;(d.settings.minDate=this._formatDate(d,g)),h!==null&amp;&amp;e.dateFormat!==undefined&amp;&amp;e.maxDate===undefined&amp;&amp;(d.settings.maxDate=this._formatDate(d,h)),this._attachments($(a),d),this._autoSize(d),this._setDate(d,f),this._updateAlternate(d),this._updateDatepicker(d)}},_changeDatepicker:function(a,b,c){this._optionDatepicker(a,b,c)},_refreshDatepicker:function(a){var b=this._getInst(a);b&amp;&amp;this._updateDatepicker(b)},_setDateDatepicker:function(a,b){var c=this._getInst(a);c&amp;&amp;(this._setDate(c,b),this._updateDatepicker(c),this._updateAlternate(c))},_getDateDatepicker:function(a,b){var c=this._getInst
 (a);return c&amp;&amp;!c.inline&amp;&amp;this._setDateFromField(c,b),c?this._getDate(c):null},_doKeyDown:function(a){var b=$.datepicker._getInst(a.target),c=!0,d=b.dpDiv.is(&quot;.ui-datepicker-rtl&quot;);b._keyEvent=!0;if($.datepicker._datepickerShowing)switch(a.keyCode){case 9:$.datepicker._hideDatepicker(),c=!1;break;case 13:var e=$(&quot;td.&quot;+$.datepicker._dayOverClass+&quot;:not(.&quot;+$.datepicker._currentClass+&quot;)&quot;,b.dpDiv);e[0]&amp;&amp;$.datepicker._selectDay(a.target,b.selectedMonth,b.selectedYear,e[0]);var f=$.datepicker._get(b,&quot;onSelect&quot;);if(f){var g=$.datepicker._formatDate(b);f.apply(b.input?b.input[0]:null,[g,b])}else $.datepicker._hideDatepicker();return!1;case 27:$.datepicker._hideDatepicker();break;case 33:$.datepicker._adjustDate(a.target,a.ctrlKey?-$.datepicker._get(b,&quot;stepBigMonths&quot;):-$.datepicker._get(b,&quot;stepMonths&quot;),&quot;M&quot;);break;case 34:$.datepicker._adjustDate(a.target,a.ctrlKey?+$.datepicker._get(b
 ,&quot;stepBigMonths&quot;):+$.datepicker._get(b,&quot;stepMonths&quot;),&quot;M&quot;);break;case 35:(a.ctrlKey||a.metaKey)&amp;&amp;$.datepicker._clearDate(a.target),c=a.ctrlKey||a.metaKey;break;case 36:(a.ctrlKey||a.metaKey)&amp;&amp;$.datepicker._gotoToday(a.target),c=a.ctrlKey||a.metaKey;break;case 37:(a.ctrlKey||a.metaKey)&amp;&amp;$.datepicker._adjustDate(a.target,d?1:-1,&quot;D&quot;),c=a.ctrlKey||a.metaKey,a.originalEvent.altKey&amp;&amp;$.datepicker._adjustDate(a.target,a.ctrlKey?-$.datepicker._get(b,&quot;stepBigMonths&quot;):-$.datepicker._get(b,&quot;stepMonths&quot;),&quot;M&quot;);break;case 38:(a.ctrlKey||a.metaKey)&amp;&amp;$.datepicker._adjustDate(a.target,-7,&quot;D&quot;),c=a.ctrlKey||a.metaKey;break;case 39:(a.ctrlKey||a.metaKey)&amp;&amp;$.datepicker._adjustDate(a.target,d?-1:1,&quot;D&quot;),c=a.ctrlKey||a.metaKey,a.originalEvent.altKey&amp;&amp;$.datepicker._adjustDate(a.target,a.ctrlKey?+$.datepicker._get(b,&quot;stepBigMonths&quot;):+$.datepicker._g
 et(b,&quot;stepMonths&quot;),&quot;M&quot;);break;case 40:(a.ctrlKey||a.metaKey)&amp;&amp;$.datepicker._adjustDate(a.target,7,&quot;D&quot;),c=a.ctrlKey||a.metaKey;break;default:c=!1}else a.keyCode==36&amp;&amp;a.ctrlKey?$.datepicker._showDatepicker(this):c=!1;c&amp;&amp;(a.preventDefault(),a.stopPropagation())},_doKeyPress:function(a){var b=$.datepicker._getInst(a.target);if($.datepicker._get(b,&quot;constrainInput&quot;)){var c=$.datepicker._possibleChars($.datepicker._get(b,&quot;dateFormat&quot;)),d=String.fromCharCode(a.charCode==undefined?a.keyCode:a.charCode);return a.ctrlKey||a.metaKey||d&lt;&quot; &quot;||!c||c.indexOf(d)&gt;-1}},_doKeyUp:function(a){var b=$.datepicker._getInst(a.target);if(b.input.val()!=b.lastVal)try{var c=$.datepicker.parseDate($.datepicker._get(b,&quot;dateFormat&quot;),b.input?b.input.val():null,$.datepicker._getFormatConfig(b));c&amp;&amp;($.datepicker._setDateFromField(b),$.datepicker._updateAlternate(b),$.datepicker._updateDatepicker(b))}cat
 ch(d){$.datepicker.log(d)}return!0},_showDatepicker:function(a){a=a.target||a,a.nodeName.toLowerCase()!=&quot;input&quot;&amp;&amp;(a=$(&quot;input&quot;,a.parentNode)[0]);if($.datepicker._isDisabledDatepicker(a)||$.datepicker._lastInput==a)return;var b=$.datepicker._getInst(a);$.datepicker._curInst&amp;&amp;$.datepicker._curInst!=b&amp;&amp;($.datepicker._curInst.dpDiv.stop(!0,!0),b&amp;&amp;$.datepicker._datepickerShowing&amp;&amp;$.datepicker._hideDatepicker($.datepicker._curInst.input[0]));var c=$.datepicker._get(b,&quot;beforeShow&quot;),d=c?c.apply(a,[a,b]):{};if(d===!1)return;extendRemove(b.settings,d),b.lastVal=null,$.datepicker._lastInput=a,$.datepicker._setDateFromField(b),$.datepicker._inDialog&amp;&amp;(a.value=&quot;&quot;),$.datepicker._pos||($.datepicker._pos=$.datepicker._findPos(a),$.datepicker._pos[1]+=a.offsetHeight);var e=!1;$(a).parents().each(function(){return e|=$(this).css(&quot;position&quot;)==&quot;fixed&quot;,!e}),e&amp;&amp;$.browser.opera&amp;&a
 mp;($.datepicker._pos[0]-=document.documentElement.scrollLeft,$.datepicker._pos[1]-=document.documentElement.scrollTop);var f={left:$.datepicker._pos[0],top:$.datepicker._pos[1]};$.datepicker._pos=null,b.dpDiv.empty(),b.dpDiv.css({position:&quot;absolute&quot;,display:&quot;block&quot;,top:&quot;-1000px&quot;}),$.datepicker._updateDatepicker(b),f=$.datepicker._checkOffset(b,f,e),b.dpDiv.css({position:$.datepicker._inDialog&amp;&amp;$.blockUI?&quot;static&quot;:e?&quot;fixed&quot;:&quot;absolute&quot;,display:&quot;none&quot;,left:f.left+&quot;px&quot;,top:f.top+&quot;px&quot;});if(!b.inline){var g=$.datepicker._get(b,&quot;showAnim&quot;),h=$.datepicker._get(b,&quot;duration&quot;),i=function(){var a=b.dpDiv.find(&quot;iframe.ui-datepicker-cover&quot;);if(!!a.length){var c=$.datepicker._getBorders(b.dpDiv);a.css({left:-c[0],top:-c[1],width:b.dpDiv.outerWidth(),height:b.dpDiv.outerHeight()})}};b.dpDiv.zIndex($(a).zIndex()+1),$.datepicker._datepickerShowing=!0,$.effects&amp;&a
 mp;$.effects[g]?b.dpDiv.show(g,$.datepicker._get(b,&quot;showOptions&quot;),h,i):b.dpDiv[g||&quot;show&quot;](g?h:null,i),(!g||!h)&amp;&amp;i(),b.input.is(&quot;:visible&quot;)&amp;&amp;!b.input.is(&quot;:disabled&quot;)&amp;&amp;b.input.focus(),$.datepicker._curInst=b}},_updateDatepicker:function(a){var b=this;b.maxRows=4;var c=$.datepicker._getBorders(a.dpDiv);instActive=a,a.dpDiv.empty().append(this._generateHTML(a));var d=a.dpDiv.find(&quot;iframe.ui-datepicker-cover&quot;);!d.length||d.css({left:-c[0],top:-c[1],width:a.dpDiv.outerWidth(),height:a.dpDiv.outerHeight()}),a.dpDiv.find(&quot;.&quot;+this._dayOverClass+&quot; a&quot;).mouseover();var e=this._getNumberOfMonths(a),f=e[1],g=17;a.dpDiv.removeClass(&quot;ui-datepicker-multi-2 ui-datepicker-multi-3 ui-datepicker-multi-4&quot;).width(&quot;&quot;),f&gt;1&amp;&amp;a.dpDiv.addClass(&quot;ui-datepicker-multi-&quot;+f).css(&quot;width&quot;,g*f+&quot;em&quot;),a.dpDiv[(e[0]!=1||e[1]!=1?&quot;add&quot;:&quot;remove&quot;
 )+&quot;Class&quot;](&quot;ui-datepicker-multi&quot;),a.dpDiv[(this._get(a,&quot;isRTL&quot;)?&quot;add&quot;:&quot;remove&quot;)+&quot;Class&quot;](&quot;ui-datepicker-rtl&quot;),a==$.datepicker._curInst&amp;&amp;$.datepicker._datepickerShowing&amp;&amp;a.input&amp;&amp;a.input.is(&quot;:visible&quot;)&amp;&amp;!a.input.is(&quot;:disabled&quot;)&amp;&amp;a.input[0]!=document.activeElement&amp;&amp;a.input.focus();if(a.yearshtml){var h=a.yearshtml;setTimeout(function(){h===a.yearshtml&amp;&amp;a.yearshtml&amp;&amp;a.dpDiv.find(&quot;select.ui-datepicker-year:first&quot;).replaceWith(a.yearshtml),h=a.yearshtml=null},0)}},_getBorders:function(a){var b=function(a){return{thin:1,medium:2,thick:3}[a]||a};return[parseFloat(b(a.css(&quot;border-left-width&quot;))),parseFloat(b(a.css(&quot;border-top-width&quot;)))]},_checkOffset:function(a,b,c){var d=a.dpDiv.outerWidth(),e=a.dpDiv.outerHeight(),f=a.input?a.input.outerWidth():0,g=a.input?a.input.outerHeight():0,h=document.documentEl
 ement.clientWidth+$(document).scrollLeft(),i=document.documentElement.clientHeight+$(document).scrollTop();return b.left-=this._get(a,&quot;isRTL&quot;)?d-f:0,b.left-=c&amp;&amp;b.left==a.input.offset().left?$(document).scrollLeft():0,b.top-=c&amp;&amp;b.top==a.input.offset().top+g?$(document).scrollTop():0,b.left-=Math.min(b.left,b.left+d&gt;h&amp;&amp;h&gt;d?Math.abs(b.left+d-h):0),b.top-=Math.min(b.top,b.top+e&gt;i&amp;&amp;i&gt;e?Math.abs(e+g):0),b},_findPos:function(a){var b=this._getInst(a),c=this._get(b,&quot;isRTL&quot;);while(a&amp;&amp;(a.type==&quot;hidden&quot;||a.nodeType!=1||$.expr.filters.hidden(a)))a=a[c?&quot;previousSibling&quot;:&quot;nextSibling&quot;];var d=$(a).offset();return[d.left,d.top]},_hideDatepicker:function(a){var b=this._curInst;if(!b||a&amp;&amp;b!=$.data(a,PROP_NAME))return;if(this._datepickerShowing){var c=this._get(b,&quot;showAnim&quot;),d=this._get(b,&quot;duration&quot;),e=function(){$.datepicker._tidyDialog(b)};$.effects&amp;&amp;$.eff
 ects[c]?b.dpDiv.hide(c,$.datepicker._get(b,&quot;showOptions&quot;),d,e):b.dpDiv[c==&quot;slideDown&quot;?&quot;slideUp&quot;:c==&quot;fadeIn&quot;?&quot;fadeOut&quot;:&quot;hide&quot;](c?d:null,e),c||e(),this._datepickerShowing=!1;var f=this._get(b,&quot;onClose&quot;);f&amp;&amp;f.apply(b.input?b.input[0]:null,[b.input?b.input.val():&quot;&quot;,b]),this._lastInput=null,this._inDialog&amp;&amp;(this._dialogInput.css({position:&quot;absolute&quot;,left:&quot;0&quot;,top:&quot;-100px&quot;}),$.blockUI&amp;&amp;($.unblockUI(),$(&quot;body&quot;).append(this.dpDiv))),this._inDialog=!1}},_tidyDialog:function(a){a.dpDiv.removeClass(this._dialogClass).unbind(&quot;.ui-datepicker-calendar&quot;)},_checkExternalClick:function(a){if(!$.datepicker._curInst)return;var b=$(a.target),c=$.datepicker._getInst(b[0]);(b[0].id!=$.datepicker._mainDivId&amp;&amp;b.parents(&quot;#&quot;+$.datepicker._mainDivId).length==0&amp;&amp;!b.hasClass($.datepicker.markerClassName)&amp;&amp;!b.closest(&qu
 ot;.&quot;+$.datepicker._triggerClass).length&amp;&amp;$.datepicker._datepickerShowing&amp;&amp;(!$.datepicker._inDialog||!$.blockUI)||b.hasClass($.datepicker.markerClassName)&amp;&amp;$.datepicker._curInst!=c)&amp;&amp;$.datepicker._hideDatepicker()},_adjustDate:function(a,b,c){var d=$(a),e=this._getInst(d[0]);if(this._isDisabledDatepicker(d[0]))return;this._adjustInstDate(e,b+(c==&quot;M&quot;?this._get(e,&quot;showCurrentAtPos&quot;):0),c),this._updateDatepicker(e)},_gotoToday:function(a){var b=$(a),c=this._getInst(b[0]);if(this._get(c,&quot;gotoCurrent&quot;)&amp;&amp;c.currentDay)c.selectedDay=c.currentDay,c.drawMonth=c.selectedMonth=c.currentMonth,c.drawYear=c.selectedYear=c.currentYear;else{var d=new Date;c.selectedDay=d.getDate(),c.drawMonth=c.selectedMonth=d.getMonth(),c.drawYear=c.selectedYear=d.getFullYear()}this._notifyChange(c),this._adjustDate(b)},_selectMonthYear:function(a,b,c){var d=$(a),e=this._getInst(d[0]);e[&quot;selected&quot;+(c==&quot;M&quot;?&quot;Mo
 nth&quot;:&quot;Year&quot;)]=e[&quot;draw&quot;+(c==&quot;M&quot;?&quot;Month&quot;:&quot;Year&quot;)]=parseInt(b.options[b.selectedIndex].value,10),this._notifyChange(e),this._adjustDate(d)},_selectDay:function(a,b,c,d){var e=$(a);if($(d).hasClass(this._unselectableClass)||this._isDisabledDatepicker(e[0]))return;var f=this._getInst(e[0]);f.selectedDay=f.currentDay=$(&quot;a&quot;,d).html(),f.selectedMonth=f.currentMonth=b,f.selectedYear=f.currentYear=c,this._selectDate(a,this._formatDate(f,f.currentDay,f.currentMonth,f.currentYear))},_clearDate:function(a){var b=$(a),c=this._getInst(b[0]);this._selectDate(b,&quot;&quot;)},_selectDate:function(a,b){var c=$(a),d=this._getInst(c[0]);b=b!=null?b:this._formatDate(d),d.input&amp;&amp;d.input.val(b),this._updateAlternate(d);var e=this._get(d,&quot;onSelect&quot;);e?e.apply(d.input?d.input[0]:null,[b,d]):d.input&amp;&amp;d.input.trigger(&quot;change&quot;),d.inline?this._updateDatepicker(d):(this._hideDatepicker(),this._lastInput=d
 .input[0],typeof d.input[0]!=&quot;object&quot;&amp;&amp;d.input.focus(),this._lastInput=null)},_updateAlternate:function(a){var b=this._get(a,&quot;altField&quot;);if(b){var c=this._get(a,&quot;altFormat&quot;)||this._get(a,&quot;dateFormat&quot;),d=this._getDate(a),e=this.formatDate(c,d,this._getFormatConfig(a));$(b).each(function(){$(this).val(e)})}},noWeekends:function(a){var b=a.getDay();return[b&gt;0&amp;&amp;b&lt;6,&quot;&quot;]},iso8601Week:function(a){var b=new Date(a.getTime());b.setDate(b.getDate()+4-(b.getDay()||7));var c=b.getTime();return b.setMonth(0),b.setDate(1),Math.floor(Math.round((c-b)/864e5)/7)+1},parseDate:function(a,b,c){if(a==null||b==null)throw&quot;Invalid arguments&quot;;b=typeof b==&quot;object&quot;?b.toString():b+&quot;&quot;;if(b==&quot;&quot;)return null;var d=(c?c.shortYearCutoff:null)||this._defaults.shortYearCutoff;d=typeof d!=&quot;string&quot;?d:(new Date).getFullYear()%100+parseInt(d,10);var e=(c?c.dayNamesShort:null)||this._defaults.da
 yNamesShort,f=(c?c.dayNames:null)||this._defaults.dayNames,g=(c?c.monthNamesShort:null)||this._defaults.monthNamesShort,h=(c?c.monthNames:null)||this._defaults.monthNames,i=-1,j=-1,k=-1,l=-1,m=!1,n=function(b){var c=s+1&lt;a.length&amp;&amp;a.charAt(s+1)==b;return c&amp;&amp;s++,c},o=function(a){var c=n(a),d=a==&quot;@&quot;?14:a==&quot;!&quot;?20:a==&quot;y&quot;&amp;&amp;c?4:a==&quot;o&quot;?3:2,e=new RegExp(&quot;^\\d{1,&quot;+d+&quot;}&quot;),f=b.substring(r).match(e);if(!f)throw&quot;Missing number at position &quot;+r;return r+=f[0].length,parseInt(f[0],10)},p=function(a,c,d){var e=$.map(n(a)?d:c,function(a,b){return[[b,a]]}).sort(function(a,b){return-(a[1].length-b[1].length)}),f=-1;$.each(e,function(a,c){var d=c[1];if(b.substr(r,d.length).toLowerCase()==d.toLowerCase())return f=c[0],r+=d.length,!1});if(f!=-1)return f+1;throw&quot;Unknown name at position &quot;+r},q=function(){if(b.charAt(r)!=a.charAt(s))throw&quot;Unexpected literal at position &quot;+r;r++},r=0;for
 (var s=0;s&lt;a.length;s++)if(m)a.charAt(s)==&quot;'&quot;&amp;&amp;!n(&quot;'&quot;)?m=!1:q();else switch(a.charAt(s)){case&quot;d&quot;:k=o(&quot;d&quot;);break;case&quot;D&quot;:p(&quot;D&quot;,e,f);break;case&quot;o&quot;:l=o(&quot;o&quot;);break;case&quot;m&quot;:j=o(&quot;m&quot;);break;case&quot;M&quot;:j=p(&quot;M&quot;,g,h);break;case&quot;y&quot;:i=o(&quot;y&quot;);break;case&quot;@&quot;:var t=new Date(o(&quot;@&quot;));i=t.getFullYear(),j=t.getMonth()+1,k=t.getDate();break;case&quot;!&quot;:var t=new Date((o(&quot;!&quot;)-this._ticksTo1970)/1e4);i=t.getFullYear(),j=t.getMonth()+1,k=t.getDate();break;case&quot;'&quot;:n(&quot;'&quot;)?q():m=!0;break;default:q()}if(r&lt;b.length)throw&quot;Extra/unparsed characters found in date: &quot;+b.substring(r);i==-1?i=(new Date).getFullYear():i&lt;100&amp;&amp;(i+=(new Date).getFullYear()-(new Date).getFullYear()%100+(i&lt;=d?0:-100));if(l&gt;-1){j=1,k=l;do{var u=this._getDaysInMonth(i,j-1);if(k&lt;=u)break;j++,k-=u}while(
 !0)}var t=this._daylightSavingAdjust(new Date(i,j-1,k));if(t.getFullYear()!=i||t.getMonth()+1!=j||t.getDate()!=k)throw&quot;Invalid date&quot;;return t},ATOM:&quot;yy-mm-dd&quot;,COOKIE:&quot;D, dd M yy&quot;,ISO_8601:&quot;yy-mm-dd&quot;,RFC_822:&quot;D, d M y&quot;,RFC_850:&quot;DD, dd-M-y&quot;,RFC_1036:&quot;D, d M y&quot;,RFC_1123:&quot;D, d M yy&quot;,RFC_2822:&quot;D, d M yy&quot;,RSS:&quot;D, d M y&quot;,TICKS:&quot;!&quot;,TIMESTAMP:&quot;@&quot;,W3C:&quot;yy-mm-dd&quot;,_ticksTo1970:(718685+Math.floor(492.5)-Math.floor(19.7)+Math.floor(4.925))*24*60*60*1e7,formatDate:function(a,b,c){if(!b)return&quot;&quot;;var d=(c?c.dayNamesShort:null)||this._defaults.dayNamesShort,e=(c?c.dayNames:null)||this._defaults.dayNames,f=(c?c.monthNamesShort:null)||this._defaults.monthNamesShort,g=(c?c.monthNames:null)||this._defaults.monthNames,h=function(b){var c=m+1&lt;a.length&amp;&amp;a.charAt(m+1)==b;return c&amp;&amp;m++,c},i=function(a,b,c){var d=&quot;&quot;+b;if(h(a))while(d.le
 ngth&lt;c)d=&quot;0&quot;+d;return d},j=function(a,b,c,d){return h(a)?d[b]:c[b]},k=&quot;&quot;,l=!1;if(b)for(var m=0;m&lt;a.length;m++)if(l)a.charAt(m)==&quot;'&quot;&amp;&amp;!h(&quot;'&quot;)?l=!1:k+=a.charAt(m);else switch(a.charAt(m)){case&quot;d&quot;:k+=i(&quot;d&quot;,b.getDate(),2);break;case&quot;D&quot;:k+=j(&quot;D&quot;,b.getDay(),d,e);break;case&quot;o&quot;:k+=i(&quot;o&quot;,Math.round(((new Date(b.getFullYear(),b.getMonth(),b.getDate())).getTime()-(new Date(b.getFullYear(),0,0)).getTime())/864e5),3);break;case&quot;m&quot;:k+=i(&quot;m&quot;,b.getMonth()+1,2);break;case&quot;M&quot;:k+=j(&quot;M&quot;,b.getMonth(),f,g);break;case&quot;y&quot;:k+=h(&quot;y&quot;)?b.getFullYear():(b.getYear()%100&lt;10?&quot;0&quot;:&quot;&quot;)+b.getYear()%100;break;case&quot;@&quot;:k+=b.getTime();break;case&quot;!&quot;:k+=b.getTime()*1e4+this._ticksTo1970;break;case&quot;'&quot;:h(&quot;'&quot;)?k+=&quot;'&quot;:l=!0;break;default:k+=a.charAt(m)}return k},_possibleChars:f
 unction(a){var b=&quot;&quot;,c=!1,d=function(b){var c=e+1&lt;a.length&amp;&amp;a.charAt(e+1)==b;return c&amp;&amp;e++,c};for(var e=0;e&lt;a.length;e++)if(c)a.charAt(e)==&quot;'&quot;&amp;&amp;!d(&quot;'&quot;)?c=!1:b+=a.charAt(e);else switch(a.charAt(e)){case&quot;d&quot;:case&quot;m&quot;:case&quot;y&quot;:case&quot;@&quot;:b+=&quot;0123456789&quot;;break;case&quot;D&quot;:case&quot;M&quot;:return null;case&quot;'&quot;:d(&quot;'&quot;)?b+=&quot;'&quot;:c=!0;break;default:b+=a.charAt(e)}return b},_get:function(a,b){return a.settings[b]!==undefined?a.settings[b]:this._defaults[b]},_setDateFromField:function(a,b){if(a.input.val()==a.lastVal)return;var c=this._get(a,&quot;dateFormat&quot;),d=a.lastVal=a.input?a.input.val():null,e,f;e=f=this._getDefaultDate(a);var g=this._getFormatConfig(a);try{e=this.parseDate(c,d,g)||f}catch(h){this.log(h),d=b?&quot;&quot;:d}a.selectedDay=e.getDate(),a.drawMonth=a.selectedMonth=e.getMonth(),a.drawYear=a.selectedYear=e.getFullYear(),a.current
 Day=d?e.getDate():0,a.currentMonth=d?e.getMonth():0,a.currentYear=d?e.getFullYear():0,this._adjustInstDate(a)},_getDefaultDate:function(a){return this._restrictMinMax(a,this._determineDate(a,this._get(a,&quot;defaultDate&quot;),new Date))},_determineDate:function(a,b,c){var d=function(a){var b=new Date;return b.setDate(b.getDate()+a),b},e=function(b){try{return $.datepicker.parseDate($.datepicker._get(a,&quot;dateFormat&quot;),b,$.datepicker._getFormatConfig(a))}catch(c){}var d=(b.toLowerCase().match(/^c/)?$.datepicker._getDate(a):null)||new Date,e=d.getFullYear(),f=d.getMonth(),g=d.getDate(),h=/([+-]?[0-9]+)\s*(d|D|w|W|m|M|y|Y)?/g,i=h.exec(b);while(i){switch(i[2]||&quot;d&quot;){case&quot;d&quot;:case&quot;D&quot;:g+=parseInt(i[1],10);break;case&quot;w&quot;:case&quot;W&quot;:g+=parseInt(i[1],10)*7;break;case&quot;m&quot;:case&quot;M&quot;:f+=parseInt(i[1],10),g=Math.min(g,$.datepicker._getDaysInMonth(e,f));break;case&quot;y&quot;:case&quot;Y&quot;:e+=parseInt(i[1],10),g=Ma
 th.min(g,$.datepicker._getDaysInMonth(e,f))}i=h.exec(b)}return new Date(e,f,g)},f=b==null||b===&quot;&quot;?c:typeof b==&quot;string&quot;?e(b):typeof b==&quot;number&quot;?isNaN(b)?c:d(b):new Date(b.getTime());return f=f&amp;&amp;f.toString()==&quot;Invalid Date&quot;?c:f,f&amp;&amp;(f.setHours(0),f.setMinutes(0),f.setSeconds(0),f.setMilliseconds(0)),this._daylightSavingAdjust(f)},_daylightSavingAdjust:function(a){return a?(a.setHours(a.getHours()&gt;12?a.getHours()+2:0),a):null},_setDate:function(a,b,c){var d=!b,e=a.selectedMonth,f=a.selectedYear,g=this._restrictMinMax(a,this._determineDate(a,b,new Date));a.selectedDay=a.currentDay=g.getDate(),a.drawMonth=a.selectedMonth=a.currentMonth=g.getMonth(),a.drawYear=a.selectedYear=a.currentYear=g.getFullYear(),(e!=a.selectedMonth||f!=a.selectedYear)&amp;&amp;!c&amp;&amp;this._notifyChange(a),this._adjustInstDate(a),a.input&amp;&amp;a.input.val(d?&quot;&quot;:this._formatDate(a))},_getDate:function(a){var b=!a.currentYear||a.input
 &amp;&amp;a.input.val()==&quot;&quot;?null:this._daylightSavingAdjust(new Date(a.currentYear,a.currentMonth,a.currentDay));return b},_generateHTML:function(a){var b=new Date;b=this._daylightSavingAdjust(new Date(b.getFullYear(),b.getMonth(),b.getDate()));var c=this._get(a,&quot;isRTL&quot;),d=this._get(a,&quot;showButtonPanel&quot;),e=this._get(a,&quot;hideIfNoPrevNext&quot;),f=this._get(a,&quot;navigationAsDateFormat&quot;),g=this._getNumberOfMonths(a),h=this._get(a,&quot;showCurrentAtPos&quot;),i=this._get(a,&quot;stepMonths&quot;),j=g[0]!=1||g[1]!=1,k=this._daylightSavingAdjust(a.currentDay?new Date(a.currentYear,a.currentMonth,a.currentDay):new Date(9999,9,9)),l=this._getMinMaxDate(a,&quot;min&quot;),m=this._getMinMaxDate(a,&quot;max&quot;),n=a.drawMonth-h,o=a.drawYear;n&lt;0&amp;&amp;(n+=12,o--);if(m){var p=this._daylightSavingAdjust(new Date(m.getFullYear(),m.getMonth()-g[0]*g[1]+1,m.getDate()));p=l&amp;&amp;p&lt;l?l:p;while(this._daylightSavingAdjust(new Date(o,n,1))&
 gt;p)n--,n&lt;0&amp;&amp;(n=11,o--)}a.drawMonth=n,a.drawYear=o;var q=this._get(a,&quot;prevText&quot;);q=f?this.formatDate(q,this._daylightSavingAdjust(new Date(o,n-i,1)),this._getFormatConfig(a)):q;var r=this._canAdjustMonth(a,-1,o,n)?'&lt;a class=&quot;ui-datepicker-prev ui-corner-all&quot; onclick=&quot;DP_jQuery_'+dpuuid+&quot;.datepicker._adjustDate('#&quot;+a.id+&quot;', -&quot;+i+&quot;, 'M');\&quot;&quot;+' title=&quot;'+q+'&quot;&gt;&lt;span class=&quot;ui-icon ui-icon-circle-triangle-'+(c?&quot;e&quot;:&quot;w&quot;)+'&quot;&gt;'+q+&quot;&lt;/span&gt;&lt;/a&gt;&quot;:e?&quot;&quot;:'&lt;a class=&quot;ui-datepicker-prev ui-corner-all ui-state-disabled&quot; title=&quot;'+q+'&quot;&gt;&lt;span class=&quot;ui-icon ui-icon-circle-triangle-'+(c?&quot;e&quot;:&quot;w&quot;)+'&quot;&gt;'+q+&quot;&lt;/span&gt;&lt;/a&gt;&quot;,s=this._get(a,&quot;nextText&quot;);s=f?this.formatDate(s,this._daylightSavingAdjust(new Date(o,n+i,1)),this._getFormatConfig(a)):s;var t=this._canAd
 justMonth(a,1,o,n)?'&lt;a class=&quot;ui-datepicker-next ui-corner-all&quot; onclick=&quot;DP_jQuery_'+dpuuid+&quot;.datepicker._adjustDate('#&quot;+a.id+&quot;', +&quot;+i+&quot;, 'M');\&quot;&quot;+' title=&quot;'+s+'&quot;&gt;&lt;span class=&quot;ui-icon ui-icon-circle-triangle-'+(c?&quot;w&quot;:&quot;e&quot;)+'&quot;&gt;'+s+&quot;&lt;/span&gt;&lt;/a&gt;&quot;:e?&quot;&quot;:'&lt;a class=&quot;ui-datepicker-next ui-corner-all ui-state-disabled&quot; title=&quot;'+s+'&quot;&gt;&lt;span class=&quot;ui-icon ui-icon-circle-triangle-'+(c?&quot;w&quot;:&quot;e&quot;)+'&quot;&gt;'+s+&quot;&lt;/span&gt;&lt;/a&gt;&quot;,u=this._get(a,&quot;currentText&quot;),v=this._get(a,&quot;gotoCurrent&quot;)&amp;&amp;a.currentDay?k:b;u=f?this.formatDate(u,v,this._getFormatConfig(a)):u;var w=a.inline?&quot;&quot;:'&lt;button type=&quot;button&quot; class=&quot;ui-datepicker-close ui-state-default ui-priority-primary ui-corner-all&quot; onclick=&quot;DP_jQuery_'+dpuuid+'.datepicker._hideDatepi
 cker();&quot;&gt;'+this._get(a,&quot;closeText&quot;)+&quot;&lt;/button&gt;&quot;,x=d?'&lt;div class=&quot;ui-datepicker-buttonpane ui-widget-content&quot;&gt;'+(c?w:&quot;&quot;)+(this._isInRange(a,v)?'&lt;button type=&quot;button&quot; class=&quot;ui-datepicker-current ui-state-default ui-priority-secondary ui-corner-all&quot; onclick=&quot;DP_jQuery_'+dpuuid+&quot;.datepicker._gotoToday('#&quot;+a.id+&quot;');\&quot;&quot;+&quot;&gt;&quot;+u+&quot;&lt;/button&gt;&quot;:&quot;&quot;)+(c?&quot;&quot;:w)+&quot;&lt;/div&gt;&quot;:&quot;&quot;,y=parseInt(this._get(a,&quot;firstDay&quot;),10);y=isNaN(y)?0:y;var z=this._get(a,&quot;showWeek&quot;),A=this._get(a,&quot;dayNames&quot;),B=this._get(a,&quot;dayNamesShort&quot;),C=this._get(a,&quot;dayNamesMin&quot;),D=this._get(a,&quot;monthNames&quot;),E=this._get(a,&quot;monthNamesShort&quot;),F=this._get(a,&quot;beforeShowDay&quot;),G=this._get(a,&quot;showOtherMonths&quot;),H=this._get(a,&quot;selectOtherMonths&quot;),I=this._get
 (a,&quot;calculateWeek&quot;)||this.iso8601Week,J=this._getDefaultDate(a),K=&quot;&quot;;for(var L=0;L&lt;g[0];L++){var M=&quot;&quot;;this.maxRows=4;for(var N=0;N&lt;g[1];N++){var O=this._daylightSavingAdjust(new Date(o,n,a.selectedDay)),P=&quot; ui-corner-all&quot;,Q=&quot;&quot;;if(j){Q+='&lt;div class=&quot;ui-datepicker-group';if(g[1]&gt;1)switch(N){case 0:Q+=&quot; ui-datepicker-group-first&quot;,P=&quot; ui-corner-&quot;+(c?&quot;right&quot;:&quot;left&quot;);break;case g[1]-1:Q+=&quot; ui-datepicker-group-last&quot;,P=&quot; ui-corner-&quot;+(c?&quot;left&quot;:&quot;right&quot;);break;default:Q+=&quot; ui-datepicker-group-middle&quot;,P=&quot;&quot;}Q+='&quot;&gt;'}Q+='&lt;div class=&quot;ui-datepicker-header ui-widget-header ui-helper-clearfix'+P+'&quot;&gt;'+(/all|left/.test(P)&amp;&amp;L==0?c?t:r:&quot;&quot;)+(/all|right/.test(P)&amp;&amp;L==0?c?r:t:&quot;&quot;)+this._generateMonthYearHeader(a,n,o,l,m,L&gt;0||N&gt;0,D,E)+'&lt;/div&gt;&lt;table class=&quot;ui-da
 tepicker-calendar&quot;&gt;&lt;thead&gt;'+&quot;&lt;tr&gt;&quot;;var R=z?'&lt;th class=&quot;ui-datepicker-week-col&quot;&gt;'+this._get(a,&quot;weekHeader&quot;)+&quot;&lt;/th&gt;&quot;:&quot;&quot;;for(var S=0;S&lt;7;S++){var T=(S+y)%7;R+=&quot;&lt;th&quot;+((S+y+6)%7&gt;=5?' class=&quot;ui-datepicker-week-end&quot;':&quot;&quot;)+&quot;&gt;&quot;+'&lt;span title=&quot;'+A[T]+'&quot;&gt;'+C[T]+&quot;&lt;/span&gt;&lt;/th&gt;&quot;}Q+=R+&quot;&lt;/tr&gt;&lt;/thead&gt;&lt;tbody&gt;&quot;;var U=this._getDaysInMonth(o,n);o==a.selectedYear&amp;&amp;n==a.selectedMonth&amp;&amp;(a.selectedDay=Math.min(a.selectedDay,U));var V=(this._getFirstDayOfMonth(o,n)-y+7)%7,W=Math.ceil((V+U)/7),X=j?this.maxRows&gt;W?this.maxRows:W:W;this.maxRows=X;var Y=this._daylightSavingAdjust(new Date(o,n,1-V));for(var Z=0;Z&lt;X;Z++){Q+=&quot;&lt;tr&gt;&quot;;var _=z?'&lt;td class=&quot;ui-datepicker-week-col&quot;&gt;'+this._get(a,&quot;calculateWeek&quot;)(Y)+&quot;&lt;/td&gt;&quot;:&quot;&quot;;for(va
 r S=0;S&lt;7;S++){var ba=F?F.apply(a.input?a.input[0]:null,[Y]):[!0,&quot;&quot;],bb=Y.getMonth()!=n,bc=bb&amp;&amp;!H||!ba[0]||l&amp;&amp;Y&lt;l||m&amp;&amp;Y&gt;m;_+='&lt;td class=&quot;'+((S+y+6)%7&gt;=5?&quot; ui-datepicker-week-end&quot;:&quot;&quot;)+(bb?&quot; ui-datepicker-other-month&quot;:&quot;&quot;)+(Y.getTime()==O.getTime()&amp;&amp;n==a.selectedMonth&amp;&amp;a._keyEvent||J.getTime()==Y.getTime()&amp;&amp;J.getTime()==O.getTime()?&quot; &quot;+this._dayOverClass:&quot;&quot;)+(bc?&quot; &quot;+this._unselectableClass+&quot; ui-state-disabled&quot;:&quot;&quot;)+(bb&amp;&amp;!G?&quot;&quot;:&quot; &quot;+ba[1]+(Y.getTime()==k.getTime()?&quot; &quot;+this._currentClass:&quot;&quot;)+(Y.getTime()==b.getTime()?&quot; ui-datepicker-today&quot;:&quot;&quot;))+'&quot;'+((!bb||G)&amp;&amp;ba[2]?' title=&quot;'+ba[2]+'&quot;':&quot;&quot;)+(bc?&quot;&quot;:' onclick=&quot;DP_jQuery_'+dpuuid+&quot;.datepicker._selectDay('#&quot;+a.id+&quot;',&quot;+Y.getMonth()+&quot;,&
 quot;+Y.getFullYear()+', this);return false;&quot;')+&quot;&gt;&quot;+(bb&amp;&amp;!G?&quot;&amp;#xa0;&quot;:bc?'&lt;span class=&quot;ui-state-default&quot;&gt;'+Y.getDate()+&quot;&lt;/span&gt;&quot;:'&lt;a class=&quot;ui-state-default'+(Y.getTime()==b.getTime()?&quot; ui-state-highlight&quot;:&quot;&quot;)+(Y.getTime()==k.getTime()?&quot; ui-state-active&quot;:&quot;&quot;)+(bb?&quot; ui-priority-secondary&quot;:&quot;&quot;)+'&quot; href=&quot;#&quot;&gt;'+Y.getDate()+&quot;&lt;/a&gt;&quot;)+&quot;&lt;/td&gt;&quot;,Y.setDate(Y.getDate()+1),Y=this._daylightSavingAdjust(Y)}Q+=_+&quot;&lt;/tr&gt;&quot;}n++,n&gt;11&amp;&amp;(n=0,o++),Q+=&quot;&lt;/tbody&gt;&lt;/table&gt;&quot;+(j?&quot;&lt;/div&gt;&quot;+(g[0]&gt;0&amp;&amp;N==g[1]-1?'&lt;div class=&quot;ui-datepicker-row-break&quot;&gt;&lt;/div&gt;':&quot;&quot;):&quot;&quot;),M+=Q}K+=M}return K+=x+($.browser.msie&amp;&amp;parseInt($.browser.version,10)&lt;7&amp;&amp;!a.inline?'&lt;iframe src=&quot;javascript:false;&quot; cla
 ss=&quot;ui-datepicker-cover&quot; frameborder=&quot;0&quot;&gt;&lt;/iframe&gt;':&quot;&quot;),a._keyEvent=!1,K},_generateMonthYearHeader:function(a,b,c,d,e,f,g,h){var i=this._get(a,&quot;changeMonth&quot;),j=this._get(a,&quot;changeYear&quot;),k=this._get(a,&quot;showMonthAfterYear&quot;),l='&lt;div class=&quot;ui-datepicker-title&quot;&gt;',m=&quot;&quot;;if(f||!i)m+='&lt;span class=&quot;ui-datepicker-month&quot;&gt;'+g[b]+&quot;&lt;/span&gt;&quot;;else{var n=d&amp;&amp;d.getFullYear()==c,o=e&amp;&amp;e.getFullYear()==c;m+='&lt;select class=&quot;ui-datepicker-month&quot; onchange=&quot;DP_jQuery_'+dpuuid+&quot;.datepicker._selectMonthYear('#&quot;+a.id+&quot;', this, 'M');\&quot; &quot;+&quot;&gt;&quot;;for(var p=0;p&lt;12;p++)(!n||p&gt;=d.getMonth())&amp;&amp;(!o||p&lt;=e.getMonth())&amp;&amp;(m+='&lt;option value=&quot;'+p+'&quot;'+(p==b?' selected=&quot;selected&quot;':&quot;&quot;)+&quot;&gt;&quot;+h[p]+&quot;&lt;/option&gt;&quot;);m+=&quot;&lt;/select&gt;&quot;}k||(
 l+=m+(f||!i||!j?&quot;&amp;#xa0;&quot;:&quot;&quot;));if(!a.yearshtml){a.yearshtml=&quot;&quot;;if(f||!j)l+='&lt;span class=&quot;ui-datepicker-year&quot;&gt;'+c+&quot;&lt;/span&gt;&quot;;else{var q=this._get(a,&quot;yearRange&quot;).split(&quot;:&quot;),r=(new Date).getFullYear(),s=function(a){var b=a.match(/c[+-].*/)?c+parseInt(a.substring(1),10):a.match(/[+-].*/)?r+parseInt(a,10):parseInt(a,10);return isNaN(b)?r:b},t=s(q[0]),u=Math.max(t,s(q[1]||&quot;&quot;));t=d?Math.max(t,d.getFullYear()):t,u=e?Math.min(u,e.getFullYear()):u,a.yearshtml+='&lt;select class=&quot;ui-datepicker-year&quot; onchange=&quot;DP_jQuery_'+dpuuid+&quot;.datepicker._selectMonthYear('#&quot;+a.id+&quot;', this, 'Y');\&quot; &quot;+&quot;&gt;&quot;;for(;t&lt;=u;t++)a.yearshtml+='&lt;option value=&quot;'+t+'&quot;'+(t==c?' selected=&quot;selected&quot;':&quot;&quot;)+&quot;&gt;&quot;+t+&quot;&lt;/option&gt;&quot;;a.yearshtml+=&quot;&lt;/select&gt;&quot;,l+=a.yearshtml,a.yearshtml=null}}return l+=this.
 _get(a,&quot;yearSuffix&quot;),k&amp;&amp;(l+=(f||!i||!j?&quot;&amp;#xa0;&quot;:&quot;&quot;)+m),l+=&quot;&lt;/div&gt;&quot;,l},_adjustInstDate:function(a,b,c){var d=a.drawYear+(c==&quot;Y&quot;?b:0),e=a.drawMonth+(c==&quot;M&quot;?b:0),f=Math.min(a.selectedDay,this._getDaysInMonth(d,e))+(c==&quot;D&quot;?b:0),g=this._restrictMinMax(a,this._daylightSavingAdjust(new Date(d,e,f)));a.selectedDay=g.getDate(),a.drawMonth=a.selectedMonth=g.getMonth(),a.drawYear=a.selectedYear=g.getFullYear(),(c==&quot;M&quot;||c==&quot;Y&quot;)&amp;&amp;this._notifyChange(a)},_restrictMinMax:function(a,b){var c=this._getMinMaxDate(a,&quot;min&quot;),d=this._getMinMaxDate(a,&quot;max&quot;),e=c&amp;&amp;b&lt;c?c:b;return e=d&amp;&amp;e&gt;d?d:e,e},_notifyChange:function(a){var b=this._get(a,&quot;onChangeMonthYear&quot;);b&amp;&amp;b.apply(a.input?a.input[0]:null,[a.selectedYear,a.selectedMonth+1,a])},_getNumberOfMonths:function(a){var b=this._get(a,&quot;numberOfMonths&quot;);return b==null?[1,1]:
 typeof b==&quot;number&quot;?[1,b]:b},_getMinMaxDate:function(a,b){return this._determineDate(a,this._get(a,b+&quot;Date&quot;),null)},_getDaysInMonth:function(a,b){return 32-this._daylightSavingAdjust(new Date(a,b,32)).getDate()},_getFirstDayOfMonth:function(a,b){return(new Date(a,b,1)).getDay()},_canAdjustMonth:function(a,b,c,d){var e=this._getNumberOfMonths(a),f=this._daylightSavingAdjust(new Date(c,d+(b&lt;0?b:e[0]*e[1]),1));return b&lt;0&amp;&amp;f.setDate(this._getDaysInMonth(f.getFullYear(),f.getMonth())),this._isInRange(a,f)},_isInRange:function(a,b){var c=this._getMinMaxDate(a,&quot;min&quot;),d=this._getMinMaxDate(a,&quot;max&quot;);return(!c||b.getTime()&gt;=c.getTime())&amp;&amp;(!d||b.getTime()&lt;=d.getTime())},_getFormatConfig:function(a){var b=this._get(a,&quot;shortYearCutoff&quot;);return b=typeof b!=&quot;string&quot;?b:(new Date).getFullYear()%100+parseInt(b,10),{shortYearCutoff:b,dayNamesShort:this._get(a,&quot;dayNamesShort&quot;),dayNames:this._get(a,&
 quot;dayNames&quot;),monthNamesShort:this._get(a,&quot;monthNamesShort&quot;),monthNames:this._get(a,&quot;monthNames&quot;)}},_formatDate:function(a,b,c,d){b||(a.currentDay=a.selectedDay,a.currentMonth=a.selectedMonth,a.currentYear=a.selectedYear);var e=b?typeof b==&quot;object&quot;?b:this._daylightSavingAdjust(new Date(d,c,b)):this._daylightSavingAdjust(new Date(a.currentYear,a.currentMonth,a.currentDay));return this.formatDate(this._get(a,&quot;dateFormat&quot;),e,this._getFormatConfig(a))}}),$.fn.datepicker=function(a){if(!this.length)return this;$.datepicker.initialized||($(document).mousedown($.datepicker._checkExternalClick).find(&quot;body&quot;).append($.datepicker.dpDiv),$.datepicker.initialized=!0);var b=Array.prototype.slice.call(arguments,1);return typeof a!=&quot;string&quot;||a!=&quot;isDisabled&quot;&amp;&amp;a!=&quot;getDate&quot;&amp;&amp;a!=&quot;widget&quot;?a==&quot;option&quot;&amp;&amp;arguments.length==2&amp;&amp;typeof arguments[1]==&quot;string&quo
 t;?$.datepicker[&quot;_&quot;+a+&quot;Datepicker&quot;].apply($.datepicker,[this[0]].concat(b)):this.each(function(){typeof a==&quot;string&quot;?$.datepicker[&quot;_&quot;+a+&quot;Datepicker&quot;].apply($.datepicker,[this].concat(b)):$.datepicker._attachDatepicker(this,a)}):$.datepicker[&quot;_&quot;+a+&quot;Datepicker&quot;].apply($.datepicker,[this[0]].concat(b))},$.datepicker=new Datepicker,$.datepicker.initialized=!1,$.datepicker.uuid=(new Date).getTime(),$.datepicker.version=&quot;@VERSION&quot;,window[&quot;DP_jQuery_&quot;+dpuuid]=$})(jQuery)
</ins><span class="cx">\ No newline at end of file
</span></span></pre></div>
<a id="trunkwpincludesjsjqueryuijqueryuidialogminjs"></a>
<div class="modfile"><h4>Modified: trunk/wp-includes/js/jquery/ui/jquery.ui.dialog.min.js (20491 => 20492)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-includes/js/jquery/ui/jquery.ui.dialog.min.js        2012-04-17 03:41:07 UTC (rev 20491)
+++ trunk/wp-includes/js/jquery/ui/jquery.ui.dialog.min.js        2012-04-17 16:49:17 UTC (rev 20492)
</span><span class="lines">@@ -1,40 +1,5 @@
</span><del>-/*
- * jQuery UI Dialog 1.8.16
- *
- * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
- * Dual licensed under the MIT or GPL Version 2 licenses.
- * http://jquery.org/license
- *
- * http://docs.jquery.com/UI/Dialog
- *
- * Depends:
- *        jquery.ui.core.js
- *        jquery.ui.widget.js
- *  jquery.ui.button.js
- *        jquery.ui.draggable.js
- *        jquery.ui.mouse.js
- *        jquery.ui.position.js
- *        jquery.ui.resizable.js
- */
-(function(c,l){var m={buttons:true,height:true,maxHeight:true,maxWidth:true,minHeight:true,minWidth:true,width:true},n={maxHeight:true,maxWidth:true,minHeight:true,minWidth:true},o=c.attrFn||{val:true,css:true,html:true,text:true,data:true,width:true,height:true,offset:true,click:true};c.widget(&quot;ui.dialog&quot;,{options:{autoOpen:true,buttons:{},closeOnEscape:true,closeText:&quot;close&quot;,dialogClass:&quot;&quot;,draggable:true,hide:null,height:&quot;auto&quot;,maxHeight:false,maxWidth:false,minHeight:150,minWidth:150,modal:false,
-position:{my:&quot;center&quot;,at:&quot;center&quot;,collision:&quot;fit&quot;,using:function(a){var b=c(this).css(a).offset().top;b&lt;0&amp;&amp;c(this).css(&quot;top&quot;,a.top-b)}},resizable:true,show:null,stack:true,title:&quot;&quot;,width:300,zIndex:1E3},_create:function(){this.originalTitle=this.element.attr(&quot;title&quot;);if(typeof this.originalTitle!==&quot;string&quot;)this.originalTitle=&quot;&quot;;this.options.title=this.options.title||this.originalTitle;var a=this,b=a.options,d=b.title||&quot;&amp;#160;&quot;,e=c.ui.dialog.getTitleId(a.element),g=(a.uiDialog=c(&quot;&lt;div&gt;&lt;/div&gt;&quot;)).appendTo(document.body).hide().addClass(&quot;ui-dialog ui-widget ui-widget-content ui-corner-all &quot;+
-b.dialogClass).css({zIndex:b.zIndex}).attr(&quot;tabIndex&quot;,-1).css(&quot;outline&quot;,0).keydown(function(i){if(b.closeOnEscape&amp;&amp;!i.isDefaultPrevented()&amp;&amp;i.keyCode&amp;&amp;i.keyCode===c.ui.keyCode.ESCAPE){a.close(i);i.preventDefault()}}).attr({role:&quot;dialog&quot;,&quot;aria-labelledby&quot;:e}).mousedown(function(i){a.moveToTop(false,i)});a.element.show().removeAttr(&quot;title&quot;).addClass(&quot;ui-dialog-content ui-widget-content&quot;).appendTo(g);var f=(a.uiDialogTitlebar=c(&quot;&lt;div&gt;&lt;/div&gt;&quot;)).addClass(&quot;ui-dialog-titlebar ui-widget-header ui-corner-all ui-helper-clearfix&quot;).prependTo(g),
-h=c('&lt;a href=&quot;#&quot;&gt;&lt;/a&gt;').addClass(&quot;ui-dialog-titlebar-close ui-corner-all&quot;).attr(&quot;role&quot;,&quot;button&quot;).hover(function(){h.addClass(&quot;ui-state-hover&quot;)},function(){h.removeClass(&quot;ui-state-hover&quot;)}).focus(function(){h.addClass(&quot;ui-state-focus&quot;)}).blur(function(){h.removeClass(&quot;ui-state-focus&quot;)}).click(function(i){a.close(i);return false}).appendTo(f);(a.uiDialogTitlebarCloseText=c(&quot;&lt;span&gt;&lt;/span&gt;&quot;)).addClass(&quot;ui-icon ui-icon-closethick&quot;).text(b.closeText).appendTo(h);c(&quot;&lt;span&gt;&lt;/span&gt;&quot;).addClass(&quot;ui-dialog-title&quot;).attr(&quot;id&quot;,
-e).html(d).prependTo(f);if(c.isFunction(b.beforeclose)&amp;&amp;!c.isFunction(b.beforeClose))b.beforeClose=b.beforeclose;f.find(&quot;*&quot;).add(f).disableSelection();b.draggable&amp;&amp;c.fn.draggable&amp;&amp;a._makeDraggable();b.resizable&amp;&amp;c.fn.resizable&amp;&amp;a._makeResizable();a._createButtons(b.buttons);a._isOpen=false;c.fn.bgiframe&amp;&amp;g.bgiframe()},_init:function(){this.options.autoOpen&amp;&amp;this.open()},destroy:function(){var a=this;a.overlay&amp;&amp;a.overlay.destroy();a.uiDialog.hide();a.element.unbind(&quot;.dialog&quot;).removeData(&quot;dialog&quot;).removeClass(&quot;ui-dialog-content ui-widget-content&quot;).hide().appendTo(&quot;body&quot;);
-a.uiDialog.remove();a.originalTitle&amp;&amp;a.element.attr(&quot;title&quot;,a.originalTitle);return a},widget:function(){return this.uiDialog},close:function(a){var b=this,d,e;if(false!==b._trigger(&quot;beforeClose&quot;,a)){b.overlay&amp;&amp;b.overlay.destroy();b.uiDialog.unbind(&quot;keypress.ui-dialog&quot;);b._isOpen=false;if(b.options.hide)b.uiDialog.hide(b.options.hide,function(){b._trigger(&quot;close&quot;,a)});else{b.uiDialog.hide();b._trigger(&quot;close&quot;,a)}c.ui.dialog.overlay.resize();if(b.options.modal){d=0;c(&quot;.ui-dialog&quot;).each(function(){if(this!==
-b.uiDialog[0]){e=c(this).css(&quot;z-index&quot;);isNaN(e)||(d=Math.max(d,e))}});c.ui.dialog.maxZ=d}return b}},isOpen:function(){return this._isOpen},moveToTop:function(a,b){var d=this,e=d.options;if(e.modal&amp;&amp;!a||!e.stack&amp;&amp;!e.modal)return d._trigger(&quot;focus&quot;,b);if(e.zIndex&gt;c.ui.dialog.maxZ)c.ui.dialog.maxZ=e.zIndex;if(d.overlay){c.ui.dialog.maxZ+=1;d.overlay.$el.css(&quot;z-index&quot;,c.ui.dialog.overlay.maxZ=c.ui.dialog.maxZ)}a={scrollTop:d.element.scrollTop(),scrollLeft:d.element.scrollLeft()};c.ui.dialog.maxZ+=1;
-d.uiDialog.css(&quot;z-index&quot;,c.ui.dialog.maxZ);d.element.attr(a);d._trigger(&quot;focus&quot;,b);return d},open:function(){if(!this._isOpen){var a=this,b=a.options,d=a.uiDialog;a.overlay=b.modal?new c.ui.dialog.overlay(a):null;a._size();a._position(b.position);d.show(b.show);a.moveToTop(true);b.modal&amp;&amp;d.bind(&quot;keypress.ui-dialog&quot;,function(e){if(e.keyCode===c.ui.keyCode.TAB){var g=c(&quot;:tabbable&quot;,this),f=g.filter(&quot;:first&quot;);g=g.filter(&quot;:last&quot;);if(e.target===g[0]&amp;&amp;!e.shiftKey){f.focus(1);return false}else if(e.target===
-f[0]&amp;&amp;e.shiftKey){g.focus(1);return false}}});c(a.element.find(&quot;:tabbable&quot;).get().concat(d.find(&quot;.ui-dialog-buttonpane :tabbable&quot;).get().concat(d.get()))).eq(0).focus();a._isOpen=true;a._trigger(&quot;open&quot;);return a}},_createButtons:function(a){var b=this,d=false,e=c(&quot;&lt;div&gt;&lt;/div&gt;&quot;).addClass(&quot;ui-dialog-buttonpane ui-widget-content ui-helper-clearfix&quot;),g=c(&quot;&lt;div&gt;&lt;/div&gt;&quot;).addClass(&quot;ui-dialog-buttonset&quot;).appendTo(e);b.uiDialog.find(&quot;.ui-dialog-buttonpane&quot;).remove();typeof a===&quot;object&quot;&amp;&amp;a!==null&amp;&amp;c.each(a,
-function(){return!(d=true)});if(d){c.each(a,function(f,h){h=c.isFunction(h)?{click:h,text:f}:h;var i=c('&lt;button type=&quot;button&quot;&gt;&lt;/button&gt;').click(function(){h.click.apply(b.element[0],arguments)}).appendTo(g);c.each(h,function(j,k){if(j!==&quot;click&quot;)j in o?i[j](k):i.attr(j,k)});c.fn.button&amp;&amp;i.button()});e.appendTo(b.uiDialog)}},_makeDraggable:function(){function a(f){return{position:f.position,offset:f.offset}}var b=this,d=b.options,e=c(document),g;b.uiDialog.draggable({cancel:&quot;.ui-dialog-content, .ui-dialog-titlebar-close&quot;,
-handle:&quot;.ui-dialog-titlebar&quot;,containment:&quot;document&quot;,start:function(f,h){g=d.height===&quot;auto&quot;?&quot;auto&quot;:c(this).height();c(this).height(c(this).height()).addClass(&quot;ui-dialog-dragging&quot;);b._trigger(&quot;dragStart&quot;,f,a(h))},drag:function(f,h){b._trigger(&quot;drag&quot;,f,a(h))},stop:function(f,h){d.position=[h.position.left-e.scrollLeft(),h.position.top-e.scrollTop()];c(this).removeClass(&quot;ui-dialog-dragging&quot;).height(g);b._trigger(&quot;dragStop&quot;,f,a(h));c.ui.dialog.overlay.resize()}})},_makeResizable:function(a){function b(f){return{originalPosition:f.originalPosition,
-originalSize:f.originalSize,position:f.position,size:f.size}}a=a===l?this.options.resizable:a;var d=this,e=d.options,g=d.uiDialog.css(&quot;position&quot;);a=typeof a===&quot;string&quot;?a:&quot;n,e,s,w,se,sw,ne,nw&quot;;d.uiDialog.resizable({cancel:&quot;.ui-dialog-content&quot;,containment:&quot;document&quot;,alsoResize:d.element,maxWidth:e.maxWidth,maxHeight:e.maxHeight,minWidth:e.minWidth,minHeight:d._minHeight(),handles:a,start:function(f,h){c(this).addClass(&quot;ui-dialog-resizing&quot;);d._trigger(&quot;resizeStart&quot;,f,b(h))},resize:function(f,h){d._trigger(&quot;resize&quot;,
-f,b(h))},stop:function(f,h){c(this).removeClass(&quot;ui-dialog-resizing&quot;);e.height=c(this).height();e.width=c(this).width();d._trigger(&quot;resizeStop&quot;,f,b(h));c.ui.dialog.overlay.resize()}}).css(&quot;position&quot;,g).find(&quot;.ui-resizable-se&quot;).addClass(&quot;ui-icon ui-icon-grip-diagonal-se&quot;)},_minHeight:function(){var a=this.options;return a.height===&quot;auto&quot;?a.minHeight:Math.min(a.minHeight,a.height)},_position:function(a){var b=[],d=[0,0],e;if(a){if(typeof a===&quot;string&quot;||typeof a===&quot;object&quot;&amp;&amp;&quot;0&quot;in a){b=a.split?a.split(&quot; &quot;):
-[a[0],a[1]];if(b.length===1)b[1]=b[0];c.each([&quot;left&quot;,&quot;top&quot;],function(g,f){if(+b[g]===b[g]){d[g]=b[g];b[g]=f}});a={my:b.join(&quot; &quot;),at:b.join(&quot; &quot;),offset:d.join(&quot; &quot;)}}a=c.extend({},c.ui.dialog.prototype.options.position,a)}else a=c.ui.dialog.prototype.options.position;(e=this.uiDialog.is(&quot;:visible&quot;))||this.uiDialog.show();this.uiDialog.css({top:0,left:0}).position(c.extend({of:window},a));e||this.uiDialog.hide()},_setOptions:function(a){var b=this,d={},e=false;c.each(a,function(g,f){b._setOption(g,f);
-if(g in m)e=true;if(g in n)d[g]=f});e&amp;&amp;this._size();this.uiDialog.is(&quot;:data(resizable)&quot;)&amp;&amp;this.uiDialog.resizable(&quot;option&quot;,d)},_setOption:function(a,b){var d=this,e=d.uiDialog;switch(a){case &quot;beforeclose&quot;:a=&quot;beforeClose&quot;;break;case &quot;buttons&quot;:d._createButtons(b);break;case &quot;closeText&quot;:d.uiDialogTitlebarCloseText.text(&quot;&quot;+b);break;case &quot;dialogClass&quot;:e.removeClass(d.options.dialogClass).addClass(&quot;ui-dialog ui-widget ui-widget-content ui-corner-all &quot;+b);break;case &quot;disabled&quot;:b?e.addClass(&quot;ui-dialog-disabled&quot;):
-e.removeClass(&quot;ui-dialog-disabled&quot;);break;case &quot;draggable&quot;:var g=e.is(&quot;:data(draggable)&quot;);g&amp;&amp;!b&amp;&amp;e.draggable(&quot;destroy&quot;);!g&amp;&amp;b&amp;&amp;d._makeDraggable();break;case &quot;position&quot;:d._position(b);break;case &quot;resizable&quot;:(g=e.is(&quot;:data(resizable)&quot;))&amp;&amp;!b&amp;&amp;e.resizable(&quot;destroy&quot;);g&amp;&amp;typeof b===&quot;string&quot;&amp;&amp;e.resizable(&quot;option&quot;,&quot;handles&quot;,b);!g&amp;&amp;b!==false&amp;&amp;d._makeResizable(b);break;case &quot;title&quot;:c(&quot;.ui-dialog-title&quot;,d.uiDialogTitlebar).html(&quot;&quot;+(b||&quot;&amp;#160;&quot;));break}c.Widget.prototype._setOption.apply(d,arguments)},_size:function(){var a=
-this.options,b,d,e=this.uiDialog.is(&quot;:visible&quot;);this.element.show().css({width:&quot;auto&quot;,minHeight:0,height:0});if(a.minWidth&gt;a.width)a.width=a.minWidth;b=this.uiDialog.css({height:&quot;auto&quot;,width:a.width}).height();d=Math.max(0,a.minHeight-b);if(a.height===&quot;auto&quot;)if(c.support.minHeight)this.element.css({minHeight:d,height:&quot;auto&quot;});else{this.uiDialog.show();a=this.element.css(&quot;height&quot;,&quot;auto&quot;).height();e||this.uiDialog.hide();this.element.height(Math.max(a,d))}else this.element.height(Math.max(a.height-
-b,0));this.uiDialog.is(&quot;:data(resizable)&quot;)&amp;&amp;this.uiDialog.resizable(&quot;option&quot;,&quot;minHeight&quot;,this._minHeight())}});c.extend(c.ui.dialog,{version:&quot;1.8.16&quot;,uuid:0,maxZ:0,getTitleId:function(a){a=a.attr(&quot;id&quot;);if(!a){this.uuid+=1;a=this.uuid}return&quot;ui-dialog-title-&quot;+a},overlay:function(a){this.$el=c.ui.dialog.overlay.create(a)}});c.extend(c.ui.dialog.overlay,{instances:[],oldInstances:[],maxZ:0,events:c.map(&quot;focus,mousedown,mouseup,keydown,keypress,click&quot;.split(&quot;,&quot;),function(a){return a+&quot;.dialog-overlay&quot;}).join(&quot; &quot;),
-create:function(a){if(this.instances.length===0){setTimeout(function(){c.ui.dialog.overlay.instances.length&amp;&amp;c(document).bind(c.ui.dialog.overlay.events,function(d){if(c(d.target).zIndex()&lt;c.ui.dialog.overlay.maxZ)return false})},1);c(document).bind(&quot;keydown.dialog-overlay&quot;,function(d){if(a.options.closeOnEscape&amp;&amp;!d.isDefaultPrevented()&amp;&amp;d.keyCode&amp;&amp;d.keyCode===c.ui.keyCode.ESCAPE){a.close(d);d.preventDefault()}});c(window).bind(&quot;resize.dialog-overlay&quot;,c.ui.dialog.overlay.resize)}var b=(this.oldInstances.pop()||
-c(&quot;&lt;div&gt;&lt;/div&gt;&quot;).addClass(&quot;ui-widget-overlay&quot;)).appendTo(document.body).css({width:this.width(),height:this.height()});c.fn.bgiframe&amp;&amp;b.bgiframe();this.instances.push(b);return b},destroy:function(a){var b=c.inArray(a,this.instances);b!=-1&amp;&amp;this.oldInstances.push(this.instances.splice(b,1)[0]);this.instances.length===0&amp;&amp;c([document,window]).unbind(&quot;.dialog-overlay&quot;);a.remove();var d=0;c.each(this.instances,function(){d=Math.max(d,this.css(&quot;z-index&quot;))});this.maxZ=d},height:function(){var a,b;if(c.browser.msie&amp;&amp;
-c.browser.version&lt;7){a=Math.max(document.documentElement.scrollHeight,document.body.scrollHeight);b=Math.max(document.documentElement.offsetHeight,document.body.offsetHeight);return a&lt;b?c(window).height()+&quot;px&quot;:a+&quot;px&quot;}else return c(document).height()+&quot;px&quot;},width:function(){var a,b;if(c.browser.msie){a=Math.max(document.documentElement.scrollWidth,document.body.scrollWidth);b=Math.max(document.documentElement.offsetWidth,document.body.offsetWidth);return a&lt;b?c(window).width()+&quot;px&quot;:a+&quot;px&quot;}else return c(document).width()+
-&quot;px&quot;},resize:function(){var a=c([]);c.each(c.ui.dialog.overlay.instances,function(){a=a.add(this)});a.css({width:0,height:0}).css({width:c.ui.dialog.overlay.width(),height:c.ui.dialog.overlay.height()})}});c.extend(c.ui.dialog.overlay.prototype,{destroy:function(){c.ui.dialog.overlay.destroy(this.$el)}})})(jQuery);
</del><ins>+/*! jQuery UI - v1.8.19 - 2012-04-16
+* https://github.com/jquery/jquery-ui
+* Includes: jquery.ui.dialog.js
+* Copyright (c) 2012 AUTHORS.txt; Licensed MIT, GPL */
+(function(a,b){var c=&quot;ui-dialog ui-widget ui-widget-content ui-corner-all &quot;,d={buttons:!0,height:!0,maxHeight:!0,maxWidth:!0,minHeight:!0,minWidth:!0,width:!0},e={maxHeight:!0,maxWidth:!0,minHeight:!0,minWidth:!0},f=a.attrFn||{val:!0,css:!0,html:!0,text:!0,data:!0,width:!0,height:!0,offset:!0,click:!0};a.widget(&quot;ui.dialog&quot;,{options:{autoOpen:!0,buttons:{},closeOnEscape:!0,closeText:&quot;close&quot;,dialogClass:&quot;&quot;,draggable:!0,hide:null,height:&quot;auto&quot;,maxHeight:!1,maxWidth:!1,minHeight:150,minWidth:150,modal:!1,position:{my:&quot;center&quot;,at:&quot;center&quot;,collision:&quot;fit&quot;,using:function(b){var c=a(this).css(b).offset().top;c&lt;0&amp;&amp;a(this).css(&quot;top&quot;,b.top-c)}},resizable:!0,show:null,stack:!0,title:&quot;&quot;,width:300,zIndex:1e3},_create:function(){this.originalTitle=this.element.attr(&quot;title&quot;),typeof this.originalTitle!=&quot;string&quot;&amp;&amp;(this.originalTitle=&quot;&quot;),this.opti
 ons.title=this.options.title||this.originalTitle;var b=this,d=b.options,e=d.title||&quot;&amp;#160;&quot;,f=a.ui.dialog.getTitleId(b.element),g=(b.uiDialog=a(&quot;&lt;div&gt;&lt;/div&gt;&quot;)).appendTo(document.body).hide().addClass(c+d.dialogClass).css({zIndex:d.zIndex}).attr(&quot;tabIndex&quot;,-1).css(&quot;outline&quot;,0).keydown(function(c){d.closeOnEscape&amp;&amp;!c.isDefaultPrevented()&amp;&amp;c.keyCode&amp;&amp;c.keyCode===a.ui.keyCode.ESCAPE&amp;&amp;(b.close(c),c.preventDefault())}).attr({role:&quot;dialog&quot;,&quot;aria-labelledby&quot;:f}).mousedown(function(a){b.moveToTop(!1,a)}),h=b.element.show().removeAttr(&quot;title&quot;).addClass(&quot;ui-dialog-content ui-widget-content&quot;).appendTo(g),i=(b.uiDialogTitlebar=a(&quot;&lt;div&gt;&lt;/div&gt;&quot;)).addClass(&quot;ui-dialog-titlebar ui-widget-header ui-corner-all ui-helper-clearfix&quot;).prependTo(g),j=a('&lt;a href=&quot;#&quot;&gt;&lt;/a&gt;').addClass(&quot;ui-dialog-titlebar-close ui-corner
 -all&quot;).attr(&quot;role&quot;,&quot;button&quot;).hover(function(){j.addClass(&quot;ui-state-hover&quot;)},function(){j.removeClass(&quot;ui-state-hover&quot;)}).focus(function(){j.addClass(&quot;ui-state-focus&quot;)}).blur(function(){j.removeClass(&quot;ui-state-focus&quot;)}).click(function(a){return b.close(a),!1}).appendTo(i),k=(b.uiDialogTitlebarCloseText=a(&quot;&lt;span&gt;&lt;/span&gt;&quot;)).addClass(&quot;ui-icon ui-icon-closethick&quot;).text(d.closeText).appendTo(j),l=a(&quot;&lt;span&gt;&lt;/span&gt;&quot;).addClass(&quot;ui-dialog-title&quot;).attr(&quot;id&quot;,f).html(e).prependTo(i);a.isFunction(d.beforeclose)&amp;&amp;!a.isFunction(d.beforeClose)&amp;&amp;(d.beforeClose=d.beforeclose),i.find(&quot;*&quot;).add(i).disableSelection(),d.draggable&amp;&amp;a.fn.draggable&amp;&amp;b._makeDraggable(),d.resizable&amp;&amp;a.fn.resizable&amp;&amp;b._makeResizable(),b._createButtons(d.buttons),b._isOpen=!1,a.fn.bgiframe&amp;&amp;g.bgiframe()},_init:function()
 {this.options.autoOpen&amp;&amp;this.open()},destroy:function(){var a=this;return a.overlay&amp;&amp;a.overlay.destroy(),a.uiDialog.hide(),a.element.unbind(&quot;.dialog&quot;).removeData(&quot;dialog&quot;).removeClass(&quot;ui-dialog-content ui-widget-content&quot;).hide().appendTo(&quot;body&quot;),a.uiDialog.remove(),a.originalTitle&amp;&amp;a.element.attr(&quot;title&quot;,a.originalTitle),a},widget:function(){return this.uiDialog},close:function(b){var c=this,d,e;if(!1===c._trigger(&quot;beforeClose&quot;,b))return;return c.overlay&amp;&amp;c.overlay.destroy(),c.uiDialog.unbind(&quot;keypress.ui-dialog&quot;),c._isOpen=!1,c.options.hide?c.uiDialog.hide(c.options.hide,function(){c._trigger(&quot;close&quot;,b)}):(c.uiDialog.hide(),c._trigger(&quot;close&quot;,b)),a.ui.dialog.overlay.resize(),c.options.modal&amp;&amp;(d=0,a(&quot;.ui-dialog&quot;).each(function(){this!==c.uiDialog[0]&amp;&amp;(e=a(this).css(&quot;z-index&quot;),isNaN(e)||(d=Math.max(d,e)))}),a.ui.dialog.
 maxZ=d),c},isOpen:function(){return this._isOpen},moveToTop:function(b,c){var d=this,e=d.options,f;return e.modal&amp;&amp;!b||!e.stack&amp;&amp;!e.modal?d._trigger(&quot;focus&quot;,c):(e.zIndex&gt;a.ui.dialog.maxZ&amp;&amp;(a.ui.dialog.maxZ=e.zIndex),d.overlay&amp;&amp;(a.ui.dialog.maxZ+=1,d.overlay.$el.css(&quot;z-index&quot;,a.ui.dialog.overlay.maxZ=a.ui.dialog.maxZ)),f={scrollTop:d.element.scrollTop(),scrollLeft:d.element.scrollLeft()},a.ui.dialog.maxZ+=1,d.uiDialog.css(&quot;z-index&quot;,a.ui.dialog.maxZ),d.element.attr(f),d._trigger(&quot;focus&quot;,c),d)},open:function(){if(this._isOpen)return;var b=this,c=b.options,d=b.uiDialog;return b.overlay=c.modal?new a.ui.dialog.overlay(b):null,b._size(),b._position(c.position),d.show(c.show),b.moveToTop(!0),c.modal&amp;&amp;d.bind(&quot;keydown.ui-dialog&quot;,function(b){if(b.keyCode!==a.ui.keyCode.TAB)return;var c=a(&quot;:tabbable&quot;,this),d=c.filter(&quot;:first&quot;),e=c.filter(&quot;:last&quot;);if(b.target===e[0]
 &amp;&amp;!b.shiftKey)return d.focus(1),!1;if(b.target===d[0]&amp;&amp;b.shiftKey)return e.focus(1),!1}),a(b.element.find(&quot;:tabbable&quot;).get().concat(d.find(&quot;.ui-dialog-buttonpane :tabbable&quot;).get().concat(d.get()))).eq(0).focus(),b._isOpen=!0,b._trigger(&quot;open&quot;),b},_createButtons:function(b){var c=this,d=!1,e=a(&quot;&lt;div&gt;&lt;/div&gt;&quot;).addClass(&quot;ui-dialog-buttonpane ui-widget-content ui-helper-clearfix&quot;),g=a(&quot;&lt;div&gt;&lt;/div&gt;&quot;).addClass(&quot;ui-dialog-buttonset&quot;).appendTo(e);c.uiDialog.find(&quot;.ui-dialog-buttonpane&quot;).remove(),typeof b==&quot;object&quot;&amp;&amp;b!==null&amp;&amp;a.each(b,function(){return!(d=!0)}),d&amp;&amp;(a.each(b,function(b,d){d=a.isFunction(d)?{click:d,text:b}:d;var e=a('&lt;button type=&quot;button&quot;&gt;&lt;/button&gt;').click(function(){d.click.apply(c.element[0],arguments)}).appendTo(g);a.each(d,function(a,b){if(a===&quot;click&quot;)return;a in f?e[a](b):e.attr(a,
 b)}),a.fn.button&amp;&amp;e.button()}),e.appendTo(c.uiDialog))},_makeDraggable:function(){function f(a){return{position:a.position,offset:a.offset}}var b=this,c=b.options,d=a(document),e;b.uiDialog.draggable({cancel:&quot;.ui-dialog-content, .ui-dialog-titlebar-close&quot;,handle:&quot;.ui-dialog-titlebar&quot;,containment:&quot;document&quot;,start:function(d,g){e=c.height===&quot;auto&quot;?&quot;auto&quot;:a(this).height(),a(this).height(a(this).height()).addClass(&quot;ui-dialog-dragging&quot;),b._trigger(&quot;dragStart&quot;,d,f(g))},drag:function(a,c){b._trigger(&quot;drag&quot;,a,f(c))},stop:function(g,h){c.position=[h.position.left-d.scrollLeft(),h.position.top-d.scrollTop()],a(this).removeClass(&quot;ui-dialog-dragging&quot;).height(e),b._trigger(&quot;dragStop&quot;,g,f(h)),a.ui.dialog.overlay.resize()}})},_makeResizable:function(c){function h(a){return{originalPosition:a.originalPosition,originalSize:a.originalSize,position:a.position,size:a.size}}c=c===b?this.op
 tions.resizable:c;var d=this,e=d.options,f=d.uiDialog.css(&quot;position&quot;),g=typeof c==&quot;string&quot;?c:&quot;n,e,s,w,se,sw,ne,nw&quot;;d.uiDialog.resizable({cancel:&quot;.ui-dialog-content&quot;,containment:&quot;document&quot;,alsoResize:d.element,maxWidth:e.maxWidth,maxHeight:e.maxHeight,minWidth:e.minWidth,minHeight:d._minHeight(),handles:g,start:function(b,c){a(this).addClass(&quot;ui-dialog-resizing&quot;),d._trigger(&quot;resizeStart&quot;,b,h(c))},resize:function(a,b){d._trigger(&quot;resize&quot;,a,h(b))},stop:function(b,c){a(this).removeClass(&quot;ui-dialog-resizing&quot;),e.height=a(this).height(),e.width=a(this).width(),d._trigger(&quot;resizeStop&quot;,b,h(c)),a.ui.dialog.overlay.resize()}}).css(&quot;position&quot;,f).find(&quot;.ui-resizable-se&quot;).addClass(&quot;ui-icon ui-icon-grip-diagonal-se&quot;)},_minHeight:function(){var a=this.options;return a.height===&quot;auto&quot;?a.minHeight:Math.min(a.minHeight,a.height)},_position:function(b){var 
 c=[],d=[0,0],e;if(b){if(typeof b==&quot;string&quot;||typeof b==&quot;object&quot;&amp;&amp;&quot;0&quot;in b)c=b.split?b.split(&quot; &quot;):[b[0],b[1]],c.length===1&amp;&amp;(c[1]=c[0]),a.each([&quot;left&quot;,&quot;top&quot;],function(a,b){+c[a]===c[a]&amp;&amp;(d[a]=c[a],c[a]=b)}),b={my:c.join(&quot; &quot;),at:c.join(&quot; &quot;),offset:d.join(&quot; &quot;)};b=a.extend({},a.ui.dialog.prototype.options.position,b)}else b=a.ui.dialog.prototype.options.position;e=this.uiDialog.is(&quot;:visible&quot;),e||this.uiDialog.show(),this.uiDialog.css({top:0,left:0}).position(a.extend({of:window},b)),e||this.uiDialog.hide()},_setOptions:function(b){var c=this,f={},g=!1;a.each(b,function(a,b){c._setOption(a,b),a in d&amp;&amp;(g=!0),a in e&amp;&amp;(f[a]=b)}),g&amp;&amp;this._size(),this.uiDialog.is(&quot;:data(resizable)&quot;)&amp;&amp;this.uiDialog.resizable(&quot;option&quot;,f)},_setOption:function(b,d){var e=this,f=e.uiDialog;switch(b){case&quot;beforeclose&quot;:b=&quot;
 beforeClose&quot;;break;case&quot;buttons&quot;:e._createButtons(d);break;case&quot;closeText&quot;:e.uiDialogTitlebarCloseText.text(&quot;&quot;+d);break;case&quot;dialogClass&quot;:f.removeClass(e.options.dialogClass).addClass(c+d);break;case&quot;disabled&quot;:d?f.addClass(&quot;ui-dialog-disabled&quot;):f.removeClass(&quot;ui-dialog-disabled&quot;);break;case&quot;draggable&quot;:var g=f.is(&quot;:data(draggable)&quot;);g&amp;&amp;!d&amp;&amp;f.draggable(&quot;destroy&quot;),!g&amp;&amp;d&amp;&amp;e._makeDraggable();break;case&quot;position&quot;:e._position(d);break;case&quot;resizable&quot;:var h=f.is(&quot;:data(resizable)&quot;);h&amp;&amp;!d&amp;&amp;f.resizable(&quot;destroy&quot;),h&amp;&amp;typeof d==&quot;string&quot;&amp;&amp;f.resizable(&quot;option&quot;,&quot;handles&quot;,d),!h&amp;&amp;d!==!1&amp;&amp;e._makeResizable(d);break;case&quot;title&quot;:a(&quot;.ui-dialog-title&quot;,e.uiDialogTitlebar).html(&quot;&quot;+(d||&quot;&amp;#160;&quot;))}a.Widget.p
 rototype._setOption.apply(e,arguments)},_size:function(){var b=this.options,c,d,e=this.uiDialog.is(&quot;:visible&quot;);this.element.show().css({width:&quot;auto&quot;,minHeight:0,height:0}),b.minWidth&gt;b.width&amp;&amp;(b.width=b.minWidth),c=this.uiDialog.css({height:&quot;auto&quot;,width:b.width}).height(),d=Math.max(0,b.minHeight-c);if(b.height===&quot;auto&quot;)if(a.support.minHeight)this.element.css({minHeight:d,height:&quot;auto&quot;});else{this.uiDialog.show();var f=this.element.css(&quot;height&quot;,&quot;auto&quot;).height();e||this.uiDialog.hide(),this.element.height(Math.max(f,d))}else this.element.height(Math.max(b.height-c,0));this.uiDialog.is(&quot;:data(resizable)&quot;)&amp;&amp;this.uiDialog.resizable(&quot;option&quot;,&quot;minHeight&quot;,this._minHeight())}}),a.extend(a.ui.dialog,{version:&quot;1.8.19&quot;,uuid:0,maxZ:0,getTitleId:function(a){var b=a.attr(&quot;id&quot;);return b||(this.uuid+=1,b=this.uuid),&quot;ui-dialog-title-&quot;+b},overlay
 :function(b){this.$el=a.ui.dialog.overlay.create(b)}}),a.extend(a.ui.dialog.overlay,{instances:[],oldInstances:[],maxZ:0,events:a.map(&quot;focus,mousedown,mouseup,keydown,keypress,click&quot;.split(&quot;,&quot;),function(a){return a+&quot;.dialog-overlay&quot;}).join(&quot; &quot;),create:function(b){this.instances.length===0&amp;&amp;(setTimeout(function(){a.ui.dialog.overlay.instances.length&amp;&amp;a(document).bind(a.ui.dialog.overlay.events,function(b){if(a(b.target).zIndex()&lt;a.ui.dialog.overlay.maxZ)return!1})},1),a(document).bind(&quot;keydown.dialog-overlay&quot;,function(c){b.options.closeOnEscape&amp;&amp;!c.isDefaultPrevented()&amp;&amp;c.keyCode&amp;&amp;c.keyCode===a.ui.keyCode.ESCAPE&amp;&amp;(b.close(c),c.preventDefault())}),a(window).bind(&quot;resize.dialog-overlay&quot;,a.ui.dialog.overlay.resize));var c=(this.oldInstances.pop()||a(&quot;&lt;div&gt;&lt;/div&gt;&quot;).addClass(&quot;ui-widget-overlay&quot;)).appendTo(document.body).css({width:this.widt
 h(),height:this.height()});return a.fn.bgiframe&amp;&amp;c.bgiframe(),this.instances.push(c),c},destroy:function(b){var c=a.inArray(b,this.instances);c!=-1&amp;&amp;this.oldInstances.push(this.instances.splice(c,1)[0]),this.instances.length===0&amp;&amp;a([document,window]).unbind(&quot;.dialog-overlay&quot;),b.remove();var d=0;a.each(this.instances,function(){d=Math.max(d,this.css(&quot;z-index&quot;))}),this.maxZ=d},height:function(){var b,c;return a.browser.msie&amp;&amp;a.browser.version&lt;7?(b=Math.max(document.documentElement.scrollHeight,document.body.scrollHeight),c=Math.max(document.documentElement.offsetHeight,document.body.offsetHeight),b&lt;c?a(window).height()+&quot;px&quot;:b+&quot;px&quot;):a(document).height()+&quot;px&quot;},width:function(){var b,c;return a.browser.msie?(b=Math.max(document.documentElement.scrollWidth,document.body.scrollWidth),c=Math.max(document.documentElement.offsetWidth,document.body.offsetWidth),b&lt;c?a(window).width()+&quot;px&quot
 ;:b+&quot;px&quot;):a(document).width()+&quot;px&quot;},resize:function(){var b=a([]);a.each(a.ui.dialog.overlay.instances,function(){b=b.add(this)}),b.css({width:0,height:0}).css({width:a.ui.dialog.overlay.width(),height:a.ui.dialog.overlay.height()})}}),a.extend(a.ui.dialog.overlay.prototype,{destroy:function(){a.ui.dialog.overlay.destroy(this.$el)}})})(jQuery)
</ins><span class="cx">\ No newline at end of file
</span></span></pre></div>
<a id="trunkwpincludesjsjqueryuijqueryuidraggableminjs"></a>
<div class="modfile"><h4>Modified: trunk/wp-includes/js/jquery/ui/jquery.ui.draggable.min.js (20491 => 20492)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-includes/js/jquery/ui/jquery.ui.draggable.min.js        2012-04-17 03:41:07 UTC (rev 20491)
+++ trunk/wp-includes/js/jquery/ui/jquery.ui.draggable.min.js        2012-04-17 16:49:17 UTC (rev 20492)
</span><span class="lines">@@ -1,50 +1,5 @@
</span><del>-/*
- * jQuery UI Draggable 1.8.16
- *
- * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
- * Dual licensed under the MIT or GPL Version 2 licenses.
- * http://jquery.org/license
- *
- * http://docs.jquery.com/UI/Draggables
- *
- * Depends:
- *        jquery.ui.core.js
- *        jquery.ui.mouse.js
- *        jquery.ui.widget.js
- */
-(function(d){d.widget(&quot;ui.draggable&quot;,d.ui.mouse,{widgetEventPrefix:&quot;drag&quot;,options:{addClasses:true,appendTo:&quot;parent&quot;,axis:false,connectToSortable:false,containment:false,cursor:&quot;auto&quot;,cursorAt:false,grid:false,handle:false,helper:&quot;original&quot;,iframeFix:false,opacity:false,refreshPositions:false,revert:false,revertDuration:500,scope:&quot;default&quot;,scroll:true,scrollSensitivity:20,scrollSpeed:20,snap:false,snapMode:&quot;both&quot;,snapTolerance:20,stack:false,zIndex:false},_create:function(){if(this.options.helper==
-&quot;original&quot;&amp;&amp;!/^(?:r|a|f)/.test(this.element.css(&quot;position&quot;)))this.element[0].style.position=&quot;relative&quot;;this.options.addClasses&amp;&amp;this.element.addClass(&quot;ui-draggable&quot;);this.options.disabled&amp;&amp;this.element.addClass(&quot;ui-draggable-disabled&quot;);this._mouseInit()},destroy:function(){if(this.element.data(&quot;draggable&quot;)){this.element.removeData(&quot;draggable&quot;).unbind(&quot;.draggable&quot;).removeClass(&quot;ui-draggable ui-draggable-dragging ui-draggable-disabled&quot;);this._mouseDestroy();return this}},_mouseCapture:function(a){var b=
-this.options;if(this.helper||b.disabled||d(a.target).is(&quot;.ui-resizable-handle&quot;))return false;this.handle=this._getHandle(a);if(!this.handle)return false;if(b.iframeFix)d(b.iframeFix===true?&quot;iframe&quot;:b.iframeFix).each(function(){d('&lt;div class=&quot;ui-draggable-iframeFix&quot; style=&quot;background: #fff;&quot;&gt;&lt;/div&gt;').css({width:this.offsetWidth+&quot;px&quot;,height:this.offsetHeight+&quot;px&quot;,position:&quot;absolute&quot;,opacity:&quot;0.001&quot;,zIndex:1E3}).css(d(this).offset()).appendTo(&quot;body&quot;)});return true},_mouseStart:function(a){var b=this.options;
-this.helper=this._createHelper(a);this._cacheHelperProportions();if(d.ui.ddmanager)d.ui.ddmanager.current=this;this._cacheMargins();this.cssPosition=this.helper.css(&quot;position&quot;);this.scrollParent=this.helper.scrollParent();this.offset=this.positionAbs=this.element.offset();this.offset={top:this.offset.top-this.margins.top,left:this.offset.left-this.margins.left};d.extend(this.offset,{click:{left:a.pageX-this.offset.left,top:a.pageY-this.offset.top},parent:this._getParentOffset(),relative:this._getRelativeOffset()});
-this.originalPosition=this.position=this._generatePosition(a);this.originalPageX=a.pageX;this.originalPageY=a.pageY;b.cursorAt&amp;&amp;this._adjustOffsetFromHelper(b.cursorAt);b.containment&amp;&amp;this._setContainment();if(this._trigger(&quot;start&quot;,a)===false){this._clear();return false}this._cacheHelperProportions();d.ui.ddmanager&amp;&amp;!b.dropBehaviour&amp;&amp;d.ui.ddmanager.prepareOffsets(this,a);this.helper.addClass(&quot;ui-draggable-dragging&quot;);this._mouseDrag(a,true);d.ui.ddmanager&amp;&amp;d.ui.ddmanager.dragStart(this,a);return true},
-_mouseDrag:function(a,b){this.position=this._generatePosition(a);this.positionAbs=this._convertPositionTo(&quot;absolute&quot;);if(!b){b=this._uiHash();if(this._trigger(&quot;drag&quot;,a,b)===false){this._mouseUp({});return false}this.position=b.position}if(!this.options.axis||this.options.axis!=&quot;y&quot;)this.helper[0].style.left=this.position.left+&quot;px&quot;;if(!this.options.axis||this.options.axis!=&quot;x&quot;)this.helper[0].style.top=this.position.top+&quot;px&quot;;d.ui.ddmanager&amp;&amp;d.ui.ddmanager.drag(this,a);return false},_mouseStop:function(a){var b=
-false;if(d.ui.ddmanager&amp;&amp;!this.options.dropBehaviour)b=d.ui.ddmanager.drop(this,a);if(this.dropped){b=this.dropped;this.dropped=false}if((!this.element[0]||!this.element[0].parentNode)&amp;&amp;this.options.helper==&quot;original&quot;)return false;if(this.options.revert==&quot;invalid&quot;&amp;&amp;!b||this.options.revert==&quot;valid&quot;&amp;&amp;b||this.options.revert===true||d.isFunction(this.options.revert)&amp;&amp;this.options.revert.call(this.element,b)){var c=this;d(this.helper).animate(this.originalPosition,parseInt(this.options.revertDuration,
-10),function(){c._trigger(&quot;stop&quot;,a)!==false&amp;&amp;c._clear()})}else this._trigger(&quot;stop&quot;,a)!==false&amp;&amp;this._clear();return false},_mouseUp:function(a){this.options.iframeFix===true&amp;&amp;d(&quot;div.ui-draggable-iframeFix&quot;).each(function(){this.parentNode.removeChild(this)});d.ui.ddmanager&amp;&amp;d.ui.ddmanager.dragStop(this,a);return d.ui.mouse.prototype._mouseUp.call(this,a)},cancel:function(){this.helper.is(&quot;.ui-draggable-dragging&quot;)?this._mouseUp({}):this._clear();return this},_getHandle:function(a){var b=!this.options.handle||
-!d(this.options.handle,this.element).length?true:false;d(this.options.handle,this.element).find(&quot;*&quot;).andSelf().each(function(){if(this==a.target)b=true});return b},_createHelper:function(a){var b=this.options;a=d.isFunction(b.helper)?d(b.helper.apply(this.element[0],[a])):b.helper==&quot;clone&quot;?this.element.clone().removeAttr(&quot;id&quot;):this.element;a.parents(&quot;body&quot;).length||a.appendTo(b.appendTo==&quot;parent&quot;?this.element[0].parentNode:b.appendTo);a[0]!=this.element[0]&amp;&amp;!/(fixed|absolute)/.test(a.css(&quot;position&quot;))&amp;&amp;
-a.css(&quot;position&quot;,&quot;absolute&quot;);return a},_adjustOffsetFromHelper:function(a){if(typeof a==&quot;string&quot;)a=a.split(&quot; &quot;);if(d.isArray(a))a={left:+a[0],top:+a[1]||0};if(&quot;left&quot;in a)this.offset.click.left=a.left+this.margins.left;if(&quot;right&quot;in a)this.offset.click.left=this.helperProportions.width-a.right+this.margins.left;if(&quot;top&quot;in a)this.offset.click.top=a.top+this.margins.top;if(&quot;bottom&quot;in a)this.offset.click.top=this.helperProportions.height-a.bottom+this.margins.top},_getParentOffset:function(){this.offsetParent=
-this.helper.offsetParent();var a=this.offsetParent.offset();if(this.cssPosition==&quot;absolute&quot;&amp;&amp;this.scrollParent[0]!=document&amp;&amp;d.ui.contains(this.scrollParent[0],this.offsetParent[0])){a.left+=this.scrollParent.scrollLeft();a.top+=this.scrollParent.scrollTop()}if(this.offsetParent[0]==document.body||this.offsetParent[0].tagName&amp;&amp;this.offsetParent[0].tagName.toLowerCase()==&quot;html&quot;&amp;&amp;d.browser.msie)a={top:0,left:0};return{top:a.top+(parseInt(this.offsetParent.css(&quot;borderTopWidth&quot;),10)||0),left:a.left+(parseInt(this.offsetParent.css(&quot;borderLeftWidth&quot;),
-10)||0)}},_getRelativeOffset:function(){if(this.cssPosition==&quot;relative&quot;){var a=this.element.position();return{top:a.top-(parseInt(this.helper.css(&quot;top&quot;),10)||0)+this.scrollParent.scrollTop(),left:a.left-(parseInt(this.helper.css(&quot;left&quot;),10)||0)+this.scrollParent.scrollLeft()}}else return{top:0,left:0}},_cacheMargins:function(){this.margins={left:parseInt(this.element.css(&quot;marginLeft&quot;),10)||0,top:parseInt(this.element.css(&quot;marginTop&quot;),10)||0,right:parseInt(this.element.css(&quot;marginRight&quot;),10)||0,bottom:parseInt(this.element.css(&quot;marginBottom&quot;),
-10)||0}},_cacheHelperProportions:function(){this.helperProportions={width:this.helper.outerWidth(),height:this.helper.outerHeight()}},_setContainment:function(){var a=this.options;if(a.containment==&quot;parent&quot;)a.containment=this.helper[0].parentNode;if(a.containment==&quot;document&quot;||a.containment==&quot;window&quot;)this.containment=[a.containment==&quot;document&quot;?0:d(window).scrollLeft()-this.offset.relative.left-this.offset.parent.left,a.containment==&quot;document&quot;?0:d(window).scrollTop()-this.offset.relative.top-this.offset.parent.top,
-(a.containment==&quot;document&quot;?0:d(window).scrollLeft())+d(a.containment==&quot;document&quot;?document:window).width()-this.helperProportions.width-this.margins.left,(a.containment==&quot;document&quot;?0:d(window).scrollTop())+(d(a.containment==&quot;document&quot;?document:window).height()||document.body.parentNode.scrollHeight)-this.helperProportions.height-this.margins.top];if(!/^(document|window|parent)$/.test(a.containment)&amp;&amp;a.containment.constructor!=Array){a=d(a.containment);var b=a[0];if(b){a.offset();var c=d(b).css(&quot;overflow&quot;)!=
-&quot;hidden&quot;;this.containment=[(parseInt(d(b).css(&quot;borderLeftWidth&quot;),10)||0)+(parseInt(d(b).css(&quot;paddingLeft&quot;),10)||0),(parseInt(d(b).css(&quot;borderTopWidth&quot;),10)||0)+(parseInt(d(b).css(&quot;paddingTop&quot;),10)||0),(c?Math.max(b.scrollWidth,b.offsetWidth):b.offsetWidth)-(parseInt(d(b).css(&quot;borderLeftWidth&quot;),10)||0)-(parseInt(d(b).css(&quot;paddingRight&quot;),10)||0)-this.helperProportions.width-this.margins.left-this.margins.right,(c?Math.max(b.scrollHeight,b.offsetHeight):b.offsetHeight)-(parseInt(d(b).css(&quot;borderTopWidth&quot;),
-10)||0)-(parseInt(d(b).css(&quot;paddingBottom&quot;),10)||0)-this.helperProportions.height-this.margins.top-this.margins.bottom];this.relative_container=a}}else if(a.containment.constructor==Array)this.containment=a.containment},_convertPositionTo:function(a,b){if(!b)b=this.position;a=a==&quot;absolute&quot;?1:-1;var c=this.cssPosition==&quot;absolute&quot;&amp;&amp;!(this.scrollParent[0]!=document&amp;&amp;d.ui.contains(this.scrollParent[0],this.offsetParent[0]))?this.offsetParent:this.scrollParent,f=/(html|body)/i.test(c[0].tagName);return{top:b.top+
-this.offset.relative.top*a+this.offset.parent.top*a-(d.browser.safari&amp;&amp;d.browser.version&lt;526&amp;&amp;this.cssPosition==&quot;fixed&quot;?0:(this.cssPosition==&quot;fixed&quot;?-this.scrollParent.scrollTop():f?0:c.scrollTop())*a),left:b.left+this.offset.relative.left*a+this.offset.parent.left*a-(d.browser.safari&amp;&amp;d.browser.version&lt;526&amp;&amp;this.cssPosition==&quot;fixed&quot;?0:(this.cssPosition==&quot;fixed&quot;?-this.scrollParent.scrollLeft():f?0:c.scrollLeft())*a)}},_generatePosition:function(a){var b=this.options,c=this.cssPosition==&quot;absolute&quot;&amp;&amp;
-!(this.scrollParent[0]!=document&amp;&amp;d.ui.contains(this.scrollParent[0],this.offsetParent[0]))?this.offsetParent:this.scrollParent,f=/(html|body)/i.test(c[0].tagName),e=a.pageX,h=a.pageY;if(this.originalPosition){var g;if(this.containment){if(this.relative_container){g=this.relative_container.offset();g=[this.containment[0]+g.left,this.containment[1]+g.top,this.containment[2]+g.left,this.containment[3]+g.top]}else g=this.containment;if(a.pageX-this.offset.click.left&lt;g[0])e=g[0]+this.offset.click.left;
-if(a.pageY-this.offset.click.top&lt;g[1])h=g[1]+this.offset.click.top;if(a.pageX-this.offset.click.left&gt;g[2])e=g[2]+this.offset.click.left;if(a.pageY-this.offset.click.top&gt;g[3])h=g[3]+this.offset.click.top}if(b.grid){h=b.grid[1]?this.originalPageY+Math.round((h-this.originalPageY)/b.grid[1])*b.grid[1]:this.originalPageY;h=g?!(h-this.offset.click.top&lt;g[1]||h-this.offset.click.top&gt;g[3])?h:!(h-this.offset.click.top&lt;g[1])?h-b.grid[1]:h+b.grid[1]:h;e=b.grid[0]?this.originalPageX+Math.round((e-this.originalPageX)/
-b.grid[0])*b.grid[0]:this.originalPageX;e=g?!(e-this.offset.click.left&lt;g[0]||e-this.offset.click.left&gt;g[2])?e:!(e-this.offset.click.left&lt;g[0])?e-b.grid[0]:e+b.grid[0]:e}}return{top:h-this.offset.click.top-this.offset.relative.top-this.offset.parent.top+(d.browser.safari&amp;&amp;d.browser.version&lt;526&amp;&amp;this.cssPosition==&quot;fixed&quot;?0:this.cssPosition==&quot;fixed&quot;?-this.scrollParent.scrollTop():f?0:c.scrollTop()),left:e-this.offset.click.left-this.offset.relative.left-this.offset.parent.left+(d.browser.safari&amp;&amp;d.browser.version&lt;
-526&amp;&amp;this.cssPosition==&quot;fixed&quot;?0:this.cssPosition==&quot;fixed&quot;?-this.scrollParent.scrollLeft():f?0:c.scrollLeft())}},_clear:function(){this.helper.removeClass(&quot;ui-draggable-dragging&quot;);this.helper[0]!=this.element[0]&amp;&amp;!this.cancelHelperRemoval&amp;&amp;this.helper.remove();this.helper=null;this.cancelHelperRemoval=false},_trigger:function(a,b,c){c=c||this._uiHash();d.ui.plugin.call(this,a,[b,c]);if(a==&quot;drag&quot;)this.positionAbs=this._convertPositionTo(&quot;absolute&quot;);return d.Widget.prototype._trigger.call(this,a,b,
-c)},plugins:{},_uiHash:function(){return{helper:this.helper,position:this.position,originalPosition:this.originalPosition,offset:this.positionAbs}}});d.extend(d.ui.draggable,{version:&quot;1.8.16&quot;});d.ui.plugin.add(&quot;draggable&quot;,&quot;connectToSortable&quot;,{start:function(a,b){var c=d(this).data(&quot;draggable&quot;),f=c.options,e=d.extend({},b,{item:c.element});c.sortables=[];d(f.connectToSortable).each(function(){var h=d.data(this,&quot;sortable&quot;);if(h&amp;&amp;!h.options.disabled){c.sortables.push({instance:h,shouldRevert:h.options.revert});
-h.refreshPositions();h._trigger(&quot;activate&quot;,a,e)}})},stop:function(a,b){var c=d(this).data(&quot;draggable&quot;),f=d.extend({},b,{item:c.element});d.each(c.sortables,function(){if(this.instance.isOver){this.instance.isOver=0;c.cancelHelperRemoval=true;this.instance.cancelHelperRemoval=false;if(this.shouldRevert)this.instance.options.revert=true;this.instance._mouseStop(a);this.instance.options.helper=this.instance.options._helper;c.options.helper==&quot;original&quot;&amp;&amp;this.instance.currentItem.css({top:&quot;auto&quot;,left:&quot;auto&quot;})}else{this.instance.cancelHelperRemoval=
-false;this.instance._trigger(&quot;deactivate&quot;,a,f)}})},drag:function(a,b){var c=d(this).data(&quot;draggable&quot;),f=this;d.each(c.sortables,function(){this.instance.positionAbs=c.positionAbs;this.instance.helperProportions=c.helperProportions;this.instance.offset.click=c.offset.click;if(this.instance._intersectsWith(this.instance.containerCache)){if(!this.instance.isOver){this.instance.isOver=1;this.instance.currentItem=d(f).clone().removeAttr(&quot;id&quot;).appendTo(this.instance.element).data(&quot;sortable-item&quot;,true);
-this.instance.options._helper=this.instance.options.helper;this.instance.options.helper=function(){return b.helper[0]};a.target=this.instance.currentItem[0];this.instance._mouseCapture(a,true);this.instance._mouseStart(a,true,true);this.instance.offset.click.top=c.offset.click.top;this.instance.offset.click.left=c.offset.click.left;this.instance.offset.parent.left-=c.offset.parent.left-this.instance.offset.parent.left;this.instance.offset.parent.top-=c.offset.parent.top-this.instance.offset.parent.top;
-c._trigger(&quot;toSortable&quot;,a);c.dropped=this.instance.element;c.currentItem=c.element;this.instance.fromOutside=c}this.instance.currentItem&amp;&amp;this.instance._mouseDrag(a)}else if(this.instance.isOver){this.instance.isOver=0;this.instance.cancelHelperRemoval=true;this.instance.options.revert=false;this.instance._trigger(&quot;out&quot;,a,this.instance._uiHash(this.instance));this.instance._mouseStop(a,true);this.instance.options.helper=this.instance.options._helper;this.instance.currentItem.remove();this.instance.placeholder&amp;&amp;
-this.instance.placeholder.remove();c._trigger(&quot;fromSortable&quot;,a);c.dropped=false}})}});d.ui.plugin.add(&quot;draggable&quot;,&quot;cursor&quot;,{start:function(){var a=d(&quot;body&quot;),b=d(this).data(&quot;draggable&quot;).options;if(a.css(&quot;cursor&quot;))b._cursor=a.css(&quot;cursor&quot;);a.css(&quot;cursor&quot;,b.cursor)},stop:function(){var a=d(this).data(&quot;draggable&quot;).options;a._cursor&amp;&amp;d(&quot;body&quot;).css(&quot;cursor&quot;,a._cursor)}});d.ui.plugin.add(&quot;draggable&quot;,&quot;opacity&quot;,{start:function(a,b){a=d(b.helper);b=d(this).data(&quot;draggable&quot;).options;if(a.css(&quot;opacity&quot;))b._opacity=
-a.css(&quot;opacity&quot;);a.css(&quot;opacity&quot;,b.opacity)},stop:function(a,b){a=d(this).data(&quot;draggable&quot;).options;a._opacity&amp;&amp;d(b.helper).css(&quot;opacity&quot;,a._opacity)}});d.ui.plugin.add(&quot;draggable&quot;,&quot;scroll&quot;,{start:function(){var a=d(this).data(&quot;draggable&quot;);if(a.scrollParent[0]!=document&amp;&amp;a.scrollParent[0].tagName!=&quot;HTML&quot;)a.overflowOffset=a.scrollParent.offset()},drag:function(a){var b=d(this).data(&quot;draggable&quot;),c=b.options,f=false;if(b.scrollParent[0]!=document&amp;&amp;b.scrollParent[0].tagName!=&quot;HTML&quot;){if(!c.axis||c.axis!=
-&quot;x&quot;)if(b.overflowOffset.top+b.scrollParent[0].offsetHeight-a.pageY&lt;c.scrollSensitivity)b.scrollParent[0].scrollTop=f=b.scrollParent[0].scrollTop+c.scrollSpeed;else if(a.pageY-b.overflowOffset.top&lt;c.scrollSensitivity)b.scrollParent[0].scrollTop=f=b.scrollParent[0].scrollTop-c.scrollSpeed;if(!c.axis||c.axis!=&quot;y&quot;)if(b.overflowOffset.left+b.scrollParent[0].offsetWidth-a.pageX&lt;c.scrollSensitivity)b.scrollParent[0].scrollLeft=f=b.scrollParent[0].scrollLeft+c.scrollSpeed;else if(a.pageX-b.overflowOffset.left&lt;
-c.scrollSensitivity)b.scrollParent[0].scrollLeft=f=b.scrollParent[0].scrollLeft-c.scrollSpeed}else{if(!c.axis||c.axis!=&quot;x&quot;)if(a.pageY-d(document).scrollTop()&lt;c.scrollSensitivity)f=d(document).scrollTop(d(document).scrollTop()-c.scrollSpeed);else if(d(window).height()-(a.pageY-d(document).scrollTop())&lt;c.scrollSensitivity)f=d(document).scrollTop(d(document).scrollTop()+c.scrollSpeed);if(!c.axis||c.axis!=&quot;y&quot;)if(a.pageX-d(document).scrollLeft()&lt;c.scrollSensitivity)f=d(document).scrollLeft(d(document).scrollLeft()-
-c.scrollSpeed);else if(d(window).width()-(a.pageX-d(document).scrollLeft())&lt;c.scrollSensitivity)f=d(document).scrollLeft(d(document).scrollLeft()+c.scrollSpeed)}f!==false&amp;&amp;d.ui.ddmanager&amp;&amp;!c.dropBehaviour&amp;&amp;d.ui.ddmanager.prepareOffsets(b,a)}});d.ui.plugin.add(&quot;draggable&quot;,&quot;snap&quot;,{start:function(){var a=d(this).data(&quot;draggable&quot;),b=a.options;a.snapElements=[];d(b.snap.constructor!=String?b.snap.items||&quot;:data(draggable)&quot;:b.snap).each(function(){var c=d(this),f=c.offset();this!=a.element[0]&amp;&amp;a.snapElements.push({item:this,
-width:c.outerWidth(),height:c.outerHeight(),top:f.top,left:f.left})})},drag:function(a,b){for(var c=d(this).data(&quot;draggable&quot;),f=c.options,e=f.snapTolerance,h=b.offset.left,g=h+c.helperProportions.width,n=b.offset.top,o=n+c.helperProportions.height,i=c.snapElements.length-1;i&gt;=0;i--){var j=c.snapElements[i].left,l=j+c.snapElements[i].width,k=c.snapElements[i].top,m=k+c.snapElements[i].height;if(j-e&lt;h&amp;&amp;h&lt;l+e&amp;&amp;k-e&lt;n&amp;&amp;n&lt;m+e||j-e&lt;h&amp;&amp;h&lt;l+e&amp;&amp;k-e&lt;o&amp;&amp;o&lt;m+e||j-e&lt;g&amp;&amp;g&lt;l+e&amp;&amp;k-e&lt;n&amp;&amp;n&lt;m+e||j-e&lt;g&amp;&amp;g&lt;l+e&amp;&amp;k-e&lt;o&amp;&amp;
-o&lt;m+e){if(f.snapMode!=&quot;inner&quot;){var p=Math.abs(k-o)&lt;=e,q=Math.abs(m-n)&lt;=e,r=Math.abs(j-g)&lt;=e,s=Math.abs(l-h)&lt;=e;if(p)b.position.top=c._convertPositionTo(&quot;relative&quot;,{top:k-c.helperProportions.height,left:0}).top-c.margins.top;if(q)b.position.top=c._convertPositionTo(&quot;relative&quot;,{top:m,left:0}).top-c.margins.top;if(r)b.position.left=c._convertPositionTo(&quot;relative&quot;,{top:0,left:j-c.helperProportions.width}).left-c.margins.left;if(s)b.position.left=c._convertPositionTo(&quot;relative&quot;,{top:0,left:l}).left-c.margins.left}var t=
-p||q||r||s;if(f.snapMode!=&quot;outer&quot;){p=Math.abs(k-n)&lt;=e;q=Math.abs(m-o)&lt;=e;r=Math.abs(j-h)&lt;=e;s=Math.abs(l-g)&lt;=e;if(p)b.position.top=c._convertPositionTo(&quot;relative&quot;,{top:k,left:0}).top-c.margins.top;if(q)b.position.top=c._convertPositionTo(&quot;relative&quot;,{top:m-c.helperProportions.height,left:0}).top-c.margins.top;if(r)b.position.left=c._convertPositionTo(&quot;relative&quot;,{top:0,left:j}).left-c.margins.left;if(s)b.position.left=c._convertPositionTo(&quot;relative&quot;,{top:0,left:l-c.helperProportions.width}).left-c.margins.left}if(!c.snapElements[i].snapping&amp;&amp;
-(p||q||r||s||t))c.options.snap.snap&amp;&amp;c.options.snap.snap.call(c.element,a,d.extend(c._uiHash(),{snapItem:c.snapElements[i].item}));c.snapElements[i].snapping=p||q||r||s||t}else{c.snapElements[i].snapping&amp;&amp;c.options.snap.release&amp;&amp;c.options.snap.release.call(c.element,a,d.extend(c._uiHash(),{snapItem:c.snapElements[i].item}));c.snapElements[i].snapping=false}}}});d.ui.plugin.add(&quot;draggable&quot;,&quot;stack&quot;,{start:function(){var a=d(this).data(&quot;draggable&quot;).options;a=d.makeArray(d(a.stack)).sort(function(c,f){return(parseInt(d(c).css(&quot;zIndex&quot;),
-10)||0)-(parseInt(d(f).css(&quot;zIndex&quot;),10)||0)});if(a.length){var b=parseInt(a[0].style.zIndex)||0;d(a).each(function(c){this.style.zIndex=b+c});this[0].style.zIndex=b+a.length}}});d.ui.plugin.add(&quot;draggable&quot;,&quot;zIndex&quot;,{start:function(a,b){a=d(b.helper);b=d(this).data(&quot;draggable&quot;).options;if(a.css(&quot;zIndex&quot;))b._zIndex=a.css(&quot;zIndex&quot;);a.css(&quot;zIndex&quot;,b.zIndex)},stop:function(a,b){a=d(this).data(&quot;draggable&quot;).options;a._zIndex&amp;&amp;d(b.helper).css(&quot;zIndex&quot;,a._zIndex)}})})(jQuery);
</del><ins>+/*! jQuery UI - v1.8.19 - 2012-04-16
+* https://github.com/jquery/jquery-ui
+* Includes: jquery.ui.draggable.js
+* Copyright (c) 2012 AUTHORS.txt; Licensed MIT, GPL */
+(function(a,b){a.widget(&quot;ui.draggable&quot;,a.ui.mouse,{widgetEventPrefix:&quot;drag&quot;,options:{addClasses:!0,appendTo:&quot;parent&quot;,axis:!1,connectToSortable:!1,containment:!1,cursor:&quot;auto&quot;,cursorAt:!1,grid:!1,handle:!1,helper:&quot;original&quot;,iframeFix:!1,opacity:!1,refreshPositions:!1,revert:!1,revertDuration:500,scope:&quot;default&quot;,scroll:!0,scrollSensitivity:20,scrollSpeed:20,snap:!1,snapMode:&quot;both&quot;,snapTolerance:20,stack:!1,zIndex:!1},_create:function(){this.options.helper==&quot;original&quot;&amp;&amp;!/^(?:r|a|f)/.test(this.element.css(&quot;position&quot;))&amp;&amp;(this.element[0].style.position=&quot;relative&quot;),this.options.addClasses&amp;&amp;this.element.addClass(&quot;ui-draggable&quot;),this.options.disabled&amp;&amp;this.element.addClass(&quot;ui-draggable-disabled&quot;),this._mouseInit()},destroy:function(){if(!this.element.data(&quot;draggable&quot;))return;return this.element.removeData(&quot;draggable&qu
 ot;).unbind(&quot;.draggable&quot;).removeClass(&quot;ui-draggable ui-draggable-dragging ui-draggable-disabled&quot;),this._mouseDestroy(),this},_mouseCapture:function(b){var c=this.options;return this.helper||c.disabled||a(b.target).is(&quot;.ui-resizable-handle&quot;)?!1:(this.handle=this._getHandle(b),this.handle?(c.iframeFix&amp;&amp;a(c.iframeFix===!0?&quot;iframe&quot;:c.iframeFix).each(function(){a('&lt;div class=&quot;ui-draggable-iframeFix&quot; style=&quot;background: #fff;&quot;&gt;&lt;/div&gt;').css({width:this.offsetWidth+&quot;px&quot;,height:this.offsetHeight+&quot;px&quot;,position:&quot;absolute&quot;,opacity:&quot;0.001&quot;,zIndex:1e3}).css(a(this).offset()).appendTo(&quot;body&quot;)}),!0):!1)},_mouseStart:function(b){var c=this.options;return this.helper=this._createHelper(b),this._cacheHelperProportions(),a.ui.ddmanager&amp;&amp;(a.ui.ddmanager.current=this),this._cacheMargins(),this.cssPosition=this.helper.css(&quot;position&quot;),this.scrollParent=t
 his.helper.scrollParent(),this.offset=this.positionAbs=this.element.offset(),this.offset={top:this.offset.top-this.margins.top,left:this.offset.left-this.margins.left},a.extend(this.offset,{click:{left:b.pageX-this.offset.left,top:b.pageY-this.offset.top},parent:this._getParentOffset(),relative:this._getRelativeOffset()}),this.originalPosition=this.position=this._generatePosition(b),this.originalPageX=b.pageX,this.originalPageY=b.pageY,c.cursorAt&amp;&amp;this._adjustOffsetFromHelper(c.cursorAt),c.containment&amp;&amp;this._setContainment(),this._trigger(&quot;start&quot;,b)===!1?(this._clear(),!1):(this._cacheHelperProportions(),a.ui.ddmanager&amp;&amp;!c.dropBehaviour&amp;&amp;a.ui.ddmanager.prepareOffsets(this,b),this.helper.addClass(&quot;ui-draggable-dragging&quot;),this._mouseDrag(b,!0),a.ui.ddmanager&amp;&amp;a.ui.ddmanager.dragStart(this,b),!0)},_mouseDrag:function(b,c){this.position=this._generatePosition(b),this.positionAbs=this._convertPositionTo(&quot;absolute&qu
 ot;);if(!c){var d=this._uiHash();if(this._trigger(&quot;drag&quot;,b,d)===!1)return this._mouseUp({}),!1;this.position=d.position}if(!this.options.axis||this.options.axis!=&quot;y&quot;)this.helper[0].style.left=this.position.left+&quot;px&quot;;if(!this.options.axis||this.options.axis!=&quot;x&quot;)this.helper[0].style.top=this.position.top+&quot;px&quot;;return a.ui.ddmanager&amp;&amp;a.ui.ddmanager.drag(this,b),!1},_mouseStop:function(b){var c=!1;a.ui.ddmanager&amp;&amp;!this.options.dropBehaviour&amp;&amp;(c=a.ui.ddmanager.drop(this,b)),this.dropped&amp;&amp;(c=this.dropped,this.dropped=!1);if((!this.element[0]||!this.element[0].parentNode)&amp;&amp;this.options.helper==&quot;original&quot;)return!1;if(this.options.revert==&quot;invalid&quot;&amp;&amp;!c||this.options.revert==&quot;valid&quot;&amp;&amp;c||this.options.revert===!0||a.isFunction(this.options.revert)&amp;&amp;this.options.revert.call(this.element,c)){var d=this;a(this.helper).animate(this.originalPosition,
 parseInt(this.options.revertDuration,10),function(){d._trigger(&quot;stop&quot;,b)!==!1&amp;&amp;d._clear()})}else this._trigger(&quot;stop&quot;,b)!==!1&amp;&amp;this._clear();return!1},_mouseUp:function(b){return this.options.iframeFix===!0&amp;&amp;a(&quot;div.ui-draggable-iframeFix&quot;).each(function(){this.parentNode.removeChild(this)}),a.ui.ddmanager&amp;&amp;a.ui.ddmanager.dragStop(this,b),a.ui.mouse.prototype._mouseUp.call(this,b)},cancel:function(){return this.helper.is(&quot;.ui-draggable-dragging&quot;)?this._mouseUp({}):this._clear(),this},_getHandle:function(b){var c=!this.options.handle||!a(this.options.handle,this.element).length?!0:!1;return a(this.options.handle,this.element).find(&quot;*&quot;).andSelf().each(function(){this==b.target&amp;&amp;(c=!0)}),c},_createHelper:function(b){var c=this.options,d=a.isFunction(c.helper)?a(c.helper.apply(this.element[0],[b])):c.helper==&quot;clone&quot;?this.element.clone().removeAttr(&quot;id&quot;):this.element;retur
 n d.parents(&quot;body&quot;).length||d.appendTo(c.appendTo==&quot;parent&quot;?this.element[0].parentNode:c.appendTo),d[0]!=this.element[0]&amp;&amp;!/(fixed|absolute)/.test(d.css(&quot;position&quot;))&amp;&amp;d.css(&quot;position&quot;,&quot;absolute&quot;),d},_adjustOffsetFromHelper:function(b){typeof b==&quot;string&quot;&amp;&amp;(b=b.split(&quot; &quot;)),a.isArray(b)&amp;&amp;(b={left:+b[0],top:+b[1]||0}),&quot;left&quot;in b&amp;&amp;(this.offset.click.left=b.left+this.margins.left),&quot;right&quot;in b&amp;&amp;(this.offset.click.left=this.helperProportions.width-b.right+this.margins.left),&quot;top&quot;in b&amp;&amp;(this.offset.click.top=b.top+this.margins.top),&quot;bottom&quot;in b&amp;&amp;(this.offset.click.top=this.helperProportions.height-b.bottom+this.margins.top)},_getParentOffset:function(){this.offsetParent=this.helper.offsetParent();var b=this.offsetParent.offset();this.cssPosition==&quot;absolute&quot;&amp;&amp;this.scrollParent[0]!=document&amp;&a
 mp;a.ui.contains(this.scrollParent[0],this.offsetParent[0])&amp;&amp;(b.left+=this.scrollParent.scrollLeft(),b.top+=this.scrollParent.scrollTop());if(this.offsetParent[0]==document.body||this.offsetParent[0].tagName&amp;&amp;this.offsetParent[0].tagName.toLowerCase()==&quot;html&quot;&amp;&amp;a.browser.msie)b={top:0,left:0};return{top:b.top+(parseInt(this.offsetParent.css(&quot;borderTopWidth&quot;),10)||0),left:b.left+(parseInt(this.offsetParent.css(&quot;borderLeftWidth&quot;),10)||0)}},_getRelativeOffset:function(){if(this.cssPosition==&quot;relative&quot;){var a=this.element.position();return{top:a.top-(parseInt(this.helper.css(&quot;top&quot;),10)||0)+this.scrollParent.scrollTop(),left:a.left-(parseInt(this.helper.css(&quot;left&quot;),10)||0)+this.scrollParent.scrollLeft()}}return{top:0,left:0}},_cacheMargins:function(){this.margins={left:parseInt(this.element.css(&quot;marginLeft&quot;),10)||0,top:parseInt(this.element.css(&quot;marginTop&quot;),10)||0,right:parseInt
 (this.element.css(&quot;marginRight&quot;),10)||0,bottom:parseInt(this.element.css(&quot;marginBottom&quot;),10)||0}},_cacheHelperProportions:function(){this.helperProportions={width:this.helper.outerWidth(),height:this.helper.outerHeight()}},_setContainment:function(){var b=this.options;b.containment==&quot;parent&quot;&amp;&amp;(b.containment=this.helper[0].parentNode);if(b.containment==&quot;document&quot;||b.containment==&quot;window&quot;)this.containment=[b.containment==&quot;document&quot;?0:a(window).scrollLeft()-this.offset.relative.left-this.offset.parent.left,b.containment==&quot;document&quot;?0:a(window).scrollTop()-this.offset.relative.top-this.offset.parent.top,(b.containment==&quot;document&quot;?0:a(window).scrollLeft())+a(b.containment==&quot;document&quot;?document:window).width()-this.helperProportions.width-this.margins.left,(b.containment==&quot;document&quot;?0:a(window).scrollTop())+(a(b.containment==&quot;document&quot;?document:window).height()||doc
 ument.body.parentNode.scrollHeight)-this.helperProportions.height-this.margins.top];if(!/^(document|window|parent)$/.test(b.containment)&amp;&amp;b.containment.constructor!=Array){var c=a(b.containment),d=c[0];if(!d)return;var e=c.offset(),f=a(d).css(&quot;overflow&quot;)!=&quot;hidden&quot;;this.containment=[(parseInt(a(d).css(&quot;borderLeftWidth&quot;),10)||0)+(parseInt(a(d).css(&quot;paddingLeft&quot;),10)||0),(parseInt(a(d).css(&quot;borderTopWidth&quot;),10)||0)+(parseInt(a(d).css(&quot;paddingTop&quot;),10)||0),(f?Math.max(d.scrollWidth,d.offsetWidth):d.offsetWidth)-(parseInt(a(d).css(&quot;borderLeftWidth&quot;),10)||0)-(parseInt(a(d).css(&quot;paddingRight&quot;),10)||0)-this.helperProportions.width-this.margins.left-this.margins.right,(f?Math.max(d.scrollHeight,d.offsetHeight):d.offsetHeight)-(parseInt(a(d).css(&quot;borderTopWidth&quot;),10)||0)-(parseInt(a(d).css(&quot;paddingBottom&quot;),10)||0)-this.helperProportions.height-this.margins.top-this.margins.botto
 m],this.relative_container=c}else b.containment.constructor==Array&amp;&amp;(this.containment=b.containment)},_convertPositionTo:function(b,c){c||(c=this.position);var d=b==&quot;absolute&quot;?1:-1,e=this.options,f=this.cssPosition==&quot;absolute&quot;&amp;&amp;(this.scrollParent[0]==document||!a.ui.contains(this.scrollParent[0],this.offsetParent[0]))?this.offsetParent:this.scrollParent,g=/(html|body)/i.test(f[0].tagName);return{top:c.top+this.offset.relative.top*d+this.offset.parent.top*d-(a.browser.safari&amp;&amp;a.browser.version&lt;526&amp;&amp;this.cssPosition==&quot;fixed&quot;?0:(this.cssPosition==&quot;fixed&quot;?-this.scrollParent.scrollTop():g?0:f.scrollTop())*d),left:c.left+this.offset.relative.left*d+this.offset.parent.left*d-(a.browser.safari&amp;&amp;a.browser.version&lt;526&amp;&amp;this.cssPosition==&quot;fixed&quot;?0:(this.cssPosition==&quot;fixed&quot;?-this.scrollParent.scrollLeft():g?0:f.scrollLeft())*d)}},_generatePosition:function(b){var c=this.opt
 ions,d=this.cssPosition==&quot;absolute&quot;&amp;&amp;(this.scrollParent[0]==document||!a.ui.contains(this.scrollParent[0],this.offsetParent[0]))?this.offsetParent:this.scrollParent,e=/(html|body)/i.test(d[0].tagName),f=b.pageX,g=b.pageY;if(this.originalPosition){var h;if(this.containment){if(this.relative_container){var i=this.relative_container.offset();h=[this.containment[0]+i.left,this.containment[1]+i.top,this.containment[2]+i.left,this.containment[3]+i.top]}else h=this.containment;b.pageX-this.offset.click.left&lt;h[0]&amp;&amp;(f=h[0]+this.offset.click.left),b.pageY-this.offset.click.top&lt;h[1]&amp;&amp;(g=h[1]+this.offset.click.top),b.pageX-this.offset.click.left&gt;h[2]&amp;&amp;(f=h[2]+this.offset.click.left),b.pageY-this.offset.click.top&gt;h[3]&amp;&amp;(g=h[3]+this.offset.click.top)}if(c.grid){var j=c.grid[1]?this.originalPageY+Math.round((g-this.originalPageY)/c.grid[1])*c.grid[1]:this.originalPageY;g=h?j-this.offset.click.top&lt;h[1]||j-this.offset.click.top
 &gt;h[3]?j-this.offset.click.top&lt;h[1]?j+c.grid[1]:j-c.grid[1]:j:j;var k=c.grid[0]?this.originalPageX+Math.round((f-this.originalPageX)/c.grid[0])*c.grid[0]:this.originalPageX;f=h?k-this.offset.click.left&lt;h[0]||k-this.offset.click.left&gt;h[2]?k-this.offset.click.left&lt;h[0]?k+c.grid[0]:k-c.grid[0]:k:k}}return{top:g-this.offset.click.top-this.offset.relative.top-this.offset.parent.top+(a.browser.safari&amp;&amp;a.browser.version&lt;526&amp;&amp;this.cssPosition==&quot;fixed&quot;?0:this.cssPosition==&quot;fixed&quot;?-this.scrollParent.scrollTop():e?0:d.scrollTop()),left:f-this.offset.click.left-this.offset.relative.left-this.offset.parent.left+(a.browser.safari&amp;&amp;a.browser.version&lt;526&amp;&amp;this.cssPosition==&quot;fixed&quot;?0:this.cssPosition==&quot;fixed&quot;?-this.scrollParent.scrollLeft():e?0:d.scrollLeft())}},_clear:function(){this.helper.removeClass(&quot;ui-draggable-dragging&quot;),this.helper[0]!=this.element[0]&amp;&amp;!this.cancelHelperRemov
 al&amp;&amp;this.helper.remove(),this.helper=null,this.cancelHelperRemoval=!1},_trigger:function(b,c,d){return d=d||this._uiHash(),a.ui.plugin.call(this,b,[c,d]),b==&quot;drag&quot;&amp;&amp;(this.positionAbs=this._convertPositionTo(&quot;absolute&quot;)),a.Widget.prototype._trigger.call(this,b,c,d)},plugins:{},_uiHash:function(a){return{helper:this.helper,position:this.position,originalPosition:this.originalPosition,offset:this.positionAbs}}}),a.extend(a.ui.draggable,{version:&quot;1.8.19&quot;}),a.ui.plugin.add(&quot;draggable&quot;,&quot;connectToSortable&quot;,{start:function(b,c){var d=a(this).data(&quot;draggable&quot;),e=d.options,f=a.extend({},c,{item:d.element});d.sortables=[],a(e.connectToSortable).each(function(){var c=a.data(this,&quot;sortable&quot;);c&amp;&amp;!c.options.disabled&amp;&amp;(d.sortables.push({instance:c,shouldRevert:c.options.revert}),c.refreshPositions(),c._trigger(&quot;activate&quot;,b,f))})},stop:function(b,c){var d=a(this).data(&quot;draggab
 le&quot;),e=a.extend({},c,{item:d.element});a.each(d.sortables,function(){this.instance.isOver?(this.instance.isOver=0,d.cancelHelperRemoval=!0,this.instance.cancelHelperRemoval=!1,this.shouldRevert&amp;&amp;(this.instance.options.revert=!0),this.instance._mouseStop(b),this.instance.options.helper=this.instance.options._helper,d.options.helper==&quot;original&quot;&amp;&amp;this.instance.currentItem.css({top:&quot;auto&quot;,left:&quot;auto&quot;})):(this.instance.cancelHelperRemoval=!1,this.instance._trigger(&quot;deactivate&quot;,b,e))})},drag:function(b,c){var d=a(this).data(&quot;draggable&quot;),e=this,f=function(b){var c=this.offset.click.top,d=this.offset.click.left,e=this.positionAbs.top,f=this.positionAbs.left,g=b.height,h=b.width,i=b.top,j=b.left;return a.ui.isOver(e+c,f+d,i,j,g,h)};a.each(d.sortables,function(f){this.instance.positionAbs=d.positionAbs,this.instance.helperProportions=d.helperProportions,this.instance.offset.click=d.offset.click,this.instance._inter
 sectsWith(this.instance.containerCache)?(this.instance.isOver||(this.instance.isOver=1,this.instance.currentItem=a(e).clone().removeAttr(&quot;id&quot;).appendTo(this.instance.element).data(&quot;sortable-item&quot;,!0),this.instance.options._helper=this.instance.options.helper,this.instance.options.helper=function(){return c.helper[0]},b.target=this.instance.currentItem[0],this.instance._mouseCapture(b,!0),this.instance._mouseStart(b,!0,!0),this.instance.offset.click.top=d.offset.click.top,this.instance.offset.click.left=d.offset.click.left,this.instance.offset.parent.left-=d.offset.parent.left-this.instance.offset.parent.left,this.instance.offset.parent.top-=d.offset.parent.top-this.instance.offset.parent.top,d._trigger(&quot;toSortable&quot;,b),d.dropped=this.instance.element,d.currentItem=d.element,this.instance.fromOutside=d),this.instance.currentItem&amp;&amp;this.instance._mouseDrag(b)):this.instance.isOver&amp;&amp;(this.instance.isOver=0,this.instance.cancelHelperRe
 moval=!0,this.instance.options.revert=!1,this.instance._trigger(&quot;out&quot;,b,this.instance._uiHash(this.instance)),this.instance._mouseStop(b,!0),this.instance.options.helper=this.instance.options._helper,this.instance.currentItem.remove(),this.instance.placeholder&amp;&amp;this.instance.placeholder.remove(),d._trigger(&quot;fromSortable&quot;,b),d.dropped=!1)})}}),a.ui.plugin.add(&quot;draggable&quot;,&quot;cursor&quot;,{start:function(b,c){var d=a(&quot;body&quot;),e=a(this).data(&quot;draggable&quot;).options;d.css(&quot;cursor&quot;)&amp;&amp;(e._cursor=d.css(&quot;cursor&quot;)),d.css(&quot;cursor&quot;,e.cursor)},stop:function(b,c){var d=a(this).data(&quot;draggable&quot;).options;d._cursor&amp;&amp;a(&quot;body&quot;).css(&quot;cursor&quot;,d._cursor)}}),a.ui.plugin.add(&quot;draggable&quot;,&quot;opacity&quot;,{start:function(b,c){var d=a(c.helper),e=a(this).data(&quot;draggable&quot;).options;d.css(&quot;opacity&quot;)&amp;&amp;(e._opacity=d.css(&quot;opacity&q
 uot;)),d.css(&quot;opacity&quot;,e.opacity)},stop:function(b,c){var d=a(this).data(&quot;draggable&quot;).options;d._opacity&amp;&amp;a(c.helper).css(&quot;opacity&quot;,d._opacity)}}),a.ui.plugin.add(&quot;draggable&quot;,&quot;scroll&quot;,{start:function(b,c){var d=a(this).data(&quot;draggable&quot;);d.scrollParent[0]!=document&amp;&amp;d.scrollParent[0].tagName!=&quot;HTML&quot;&amp;&amp;(d.overflowOffset=d.scrollParent.offset())},drag:function(b,c){var d=a(this).data(&quot;draggable&quot;),e=d.options,f=!1;if(d.scrollParent[0]!=document&amp;&amp;d.scrollParent[0].tagName!=&quot;HTML&quot;){if(!e.axis||e.axis!=&quot;x&quot;)d.overflowOffset.top+d.scrollParent[0].offsetHeight-b.pageY&lt;e.scrollSensitivity?d.scrollParent[0].scrollTop=f=d.scrollParent[0].scrollTop+e.scrollSpeed:b.pageY-d.overflowOffset.top&lt;e.scrollSensitivity&amp;&amp;(d.scrollParent[0].scrollTop=f=d.scrollParent[0].scrollTop-e.scrollSpeed);if(!e.axis||e.axis!=&quot;y&quot;)d.overflowOffset.left+d.scrol
 lParent[0].offsetWidth-b.pageX&lt;e.scrollSensitivity?d.scrollParent[0].scrollLeft=f=d.scrollParent[0].scrollLeft+e.scrollSpeed:b.pageX-d.overflowOffset.left&lt;e.scrollSensitivity&amp;&amp;(d.scrollParent[0].scrollLeft=f=d.scrollParent[0].scrollLeft-e.scrollSpeed)}else{if(!e.axis||e.axis!=&quot;x&quot;)b.pageY-a(document).scrollTop()&lt;e.scrollSensitivity?f=a(document).scrollTop(a(document).scrollTop()-e.scrollSpeed):a(window).height()-(b.pageY-a(document).scrollTop())&lt;e.scrollSensitivity&amp;&amp;(f=a(document).scrollTop(a(document).scrollTop()+e.scrollSpeed));if(!e.axis||e.axis!=&quot;y&quot;)b.pageX-a(document).scrollLeft()&lt;e.scrollSensitivity?f=a(document).scrollLeft(a(document).scrollLeft()-e.scrollSpeed):a(window).width()-(b.pageX-a(document).scrollLeft())&lt;e.scrollSensitivity&amp;&amp;(f=a(document).scrollLeft(a(document).scrollLeft()+e.scrollSpeed))}f!==!1&amp;&amp;a.ui.ddmanager&amp;&amp;!e.dropBehaviour&amp;&amp;a.ui.ddmanager.prepareOffsets(d,b)}}),a.ui.
 plugin.add(&quot;draggable&quot;,&quot;snap&quot;,{start:function(b,c){var d=a(this).data(&quot;draggable&quot;),e=d.options;d.snapElements=[],a(e.snap.constructor!=String?e.snap.items||&quot;:data(draggable)&quot;:e.snap).each(function(){var b=a(this),c=b.offset();this!=d.element[0]&amp;&amp;d.snapElements.push({item:this,width:b.outerWidth(),height:b.outerHeight(),top:c.top,left:c.left})})},drag:function(b,c){var d=a(this).data(&quot;draggable&quot;),e=d.options,f=e.snapTolerance,g=c.offset.left,h=g+d.helperProportions.width,i=c.offset.top,j=i+d.helperProportions.height;for(var k=d.snapElements.length-1;k&gt;=0;k--){var l=d.snapElements[k].left,m=l+d.snapElements[k].width,n=d.snapElements[k].top,o=n+d.snapElements[k].height;if(!(l-f&lt;g&amp;&amp;g&lt;m+f&amp;&amp;n-f&lt;i&amp;&amp;i&lt;o+f||l-f&lt;g&amp;&amp;g&lt;m+f&amp;&amp;n-f&lt;j&amp;&amp;j&lt;o+f||l-f&lt;h&amp;&amp;h&lt;m+f&amp;&amp;n-f&lt;i&amp;&amp;i&lt;o+f||l-f&lt;h&amp;&amp;h&lt;m+f&amp;&amp;n-f&lt;j&amp;&amp;j&
 lt;o+f)){d.snapElements[k].snapping&amp;&amp;d.options.snap.release&amp;&amp;d.options.snap.release.call(d.element,b,a.extend(d._uiHash(),{snapItem:d.snapElements[k].item})),d.snapElements[k].snapping=!1;continue}if(e.snapMode!=&quot;inner&quot;){var p=Math.abs(n-j)&lt;=f,q=Math.abs(o-i)&lt;=f,r=Math.abs(l-h)&lt;=f,s=Math.abs(m-g)&lt;=f;p&amp;&amp;(c.position.top=d._convertPositionTo(&quot;relative&quot;,{top:n-d.helperProportions.height,left:0}).top-d.margins.top),q&amp;&amp;(c.position.top=d._convertPositionTo(&quot;relative&quot;,{top:o,left:0}).top-d.margins.top),r&amp;&amp;(c.position.left=d._convertPositionTo(&quot;relative&quot;,{top:0,left:l-d.helperProportions.width}).left-d.margins.left),s&amp;&amp;(c.position.left=d._convertPositionTo(&quot;relative&quot;,{top:0,left:m}).left-d.margins.left)}var t=p||q||r||s;if(e.snapMode!=&quot;outer&quot;){var p=Math.abs(n-i)&lt;=f,q=Math.abs(o-j)&lt;=f,r=Math.abs(l-g)&lt;=f,s=Math.abs(m-h)&lt;=f;p&amp;&amp;(c.position.top=d._co
 nvertPositionTo(&quot;relative&quot;,{top:n,left:0}).top-d.margins.top),q&amp;&amp;(c.position.top=d._convertPositionTo(&quot;relative&quot;,{top:o-d.helperProportions.height,left:0}).top-d.margins.top),r&amp;&amp;(c.position.left=d._convertPositionTo(&quot;relative&quot;,{top:0,left:l}).left-d.margins.left),s&amp;&amp;(c.position.left=d._convertPositionTo(&quot;relative&quot;,{top:0,left:m-d.helperProportions.width}).left-d.margins.left)}!d.snapElements[k].snapping&amp;&amp;(p||q||r||s||t)&amp;&amp;d.options.snap.snap&amp;&amp;d.options.snap.snap.call(d.element,b,a.extend(d._uiHash(),{snapItem:d.snapElements[k].item})),d.snapElements[k].snapping=p||q||r||s||t}}}),a.ui.plugin.add(&quot;draggable&quot;,&quot;stack&quot;,{start:function(b,c){var d=a(this).data(&quot;draggable&quot;).options,e=a.makeArray(a(d.stack)).sort(function(b,c){return(parseInt(a(b).css(&quot;zIndex&quot;),10)||0)-(parseInt(a(c).css(&quot;zIndex&quot;),10)||0)});if(!e.length)return;var f=parseInt(e[0].st
 yle.zIndex)||0;a(e).each(function(a){this.style.zIndex=f+a}),this[0].style.zIndex=f+e.length}}),a.ui.plugin.add(&quot;draggable&quot;,&quot;zIndex&quot;,{start:function(b,c){var d=a(c.helper),e=a(this).data(&quot;draggable&quot;).options;d.css(&quot;zIndex&quot;)&amp;&amp;(e._zIndex=d.css(&quot;zIndex&quot;)),d.css(&quot;zIndex&quot;,e.zIndex)},stop:function(b,c){var d=a(this).data(&quot;draggable&quot;).options;d._zIndex&amp;&amp;a(c.helper).css(&quot;zIndex&quot;,d._zIndex)}})})(jQuery)
</ins><span class="cx">\ No newline at end of file
</span></span></pre></div>
<a id="trunkwpincludesjsjqueryuijqueryuidroppableminjs"></a>
<div class="modfile"><h4>Modified: trunk/wp-includes/js/jquery/ui/jquery.ui.droppable.min.js (20491 => 20492)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-includes/js/jquery/ui/jquery.ui.droppable.min.js        2012-04-17 03:41:07 UTC (rev 20491)
+++ trunk/wp-includes/js/jquery/ui/jquery.ui.droppable.min.js        2012-04-17 16:49:17 UTC (rev 20492)
</span><span class="lines">@@ -1,27 +1,5 @@
</span><del>-/*
- * jQuery UI Droppable 1.8.16
- *
- * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
- * Dual licensed under the MIT or GPL Version 2 licenses.
- * http://jquery.org/license
- *
- * http://docs.jquery.com/UI/Droppables
- *
- * Depends:
- *        jquery.ui.core.js
- *        jquery.ui.widget.js
- *        jquery.ui.mouse.js
- *        jquery.ui.draggable.js
- */
-(function(d){d.widget(&quot;ui.droppable&quot;,{widgetEventPrefix:&quot;drop&quot;,options:{accept:&quot;*&quot;,activeClass:false,addClasses:true,greedy:false,hoverClass:false,scope:&quot;default&quot;,tolerance:&quot;intersect&quot;},_create:function(){var a=this.options,b=a.accept;this.isover=0;this.isout=1;this.accept=d.isFunction(b)?b:function(c){return c.is(b)};this.proportions={width:this.element[0].offsetWidth,height:this.element[0].offsetHeight};d.ui.ddmanager.droppables[a.scope]=d.ui.ddmanager.droppables[a.scope]||[];d.ui.ddmanager.droppables[a.scope].push(this);
-a.addClasses&amp;&amp;this.element.addClass(&quot;ui-droppable&quot;)},destroy:function(){for(var a=d.ui.ddmanager.droppables[this.options.scope],b=0;b&lt;a.length;b++)a[b]==this&amp;&amp;a.splice(b,1);this.element.removeClass(&quot;ui-droppable ui-droppable-disabled&quot;).removeData(&quot;droppable&quot;).unbind(&quot;.droppable&quot;);return this},_setOption:function(a,b){if(a==&quot;accept&quot;)this.accept=d.isFunction(b)?b:function(c){return c.is(b)};d.Widget.prototype._setOption.apply(this,arguments)},_activate:function(a){var b=d.ui.ddmanager.current;this.options.activeClass&amp;&amp;
-this.element.addClass(this.options.activeClass);b&amp;&amp;this._trigger(&quot;activate&quot;,a,this.ui(b))},_deactivate:function(a){var b=d.ui.ddmanager.current;this.options.activeClass&amp;&amp;this.element.removeClass(this.options.activeClass);b&amp;&amp;this._trigger(&quot;deactivate&quot;,a,this.ui(b))},_over:function(a){var b=d.ui.ddmanager.current;if(!(!b||(b.currentItem||b.element)[0]==this.element[0]))if(this.accept.call(this.element[0],b.currentItem||b.element)){this.options.hoverClass&amp;&amp;this.element.addClass(this.options.hoverClass);
-this._trigger(&quot;over&quot;,a,this.ui(b))}},_out:function(a){var b=d.ui.ddmanager.current;if(!(!b||(b.currentItem||b.element)[0]==this.element[0]))if(this.accept.call(this.element[0],b.currentItem||b.element)){this.options.hoverClass&amp;&amp;this.element.removeClass(this.options.hoverClass);this._trigger(&quot;out&quot;,a,this.ui(b))}},_drop:function(a,b){var c=b||d.ui.ddmanager.current;if(!c||(c.currentItem||c.element)[0]==this.element[0])return false;var e=false;this.element.find(&quot;:data(droppable)&quot;).not(&quot;.ui-draggable-dragging&quot;).each(function(){var g=
-d.data(this,&quot;droppable&quot;);if(g.options.greedy&amp;&amp;!g.options.disabled&amp;&amp;g.options.scope==c.options.scope&amp;&amp;g.accept.call(g.element[0],c.currentItem||c.element)&amp;&amp;d.ui.intersect(c,d.extend(g,{offset:g.element.offset()}),g.options.tolerance)){e=true;return false}});if(e)return false;if(this.accept.call(this.element[0],c.currentItem||c.element)){this.options.activeClass&amp;&amp;this.element.removeClass(this.options.activeClass);this.options.hoverClass&amp;&amp;this.element.removeClass(this.options.hoverClass);this._trigger(&quot;drop&quot;,
-a,this.ui(c));return this.element}return false},ui:function(a){return{draggable:a.currentItem||a.element,helper:a.helper,position:a.position,offset:a.positionAbs}}});d.extend(d.ui.droppable,{version:&quot;1.8.16&quot;});d.ui.intersect=function(a,b,c){if(!b.offset)return false;var e=(a.positionAbs||a.position.absolute).left,g=e+a.helperProportions.width,f=(a.positionAbs||a.position.absolute).top,h=f+a.helperProportions.height,i=b.offset.left,k=i+b.proportions.width,j=b.offset.top,l=j+b.proportions.height;
-switch(c){case &quot;fit&quot;:return i&lt;=e&amp;&amp;g&lt;=k&amp;&amp;j&lt;=f&amp;&amp;h&lt;=l;case &quot;intersect&quot;:return i&lt;e+a.helperProportions.width/2&amp;&amp;g-a.helperProportions.width/2&lt;k&amp;&amp;j&lt;f+a.helperProportions.height/2&amp;&amp;h-a.helperProportions.height/2&lt;l;case &quot;pointer&quot;:return d.ui.isOver((a.positionAbs||a.position.absolute).top+(a.clickOffset||a.offset.click).top,(a.positionAbs||a.position.absolute).left+(a.clickOffset||a.offset.click).left,j,i,b.proportions.height,b.proportions.width);case &quot;touch&quot;:return(f&gt;=j&amp;&amp;f&lt;=l||h&gt;=j&amp;&amp;h&lt;=l||f&lt;j&amp;&amp;h&gt;l)&amp;&amp;(e&gt;=
-i&amp;&amp;e&lt;=k||g&gt;=i&amp;&amp;g&lt;=k||e&lt;i&amp;&amp;g&gt;k);default:return false}};d.ui.ddmanager={current:null,droppables:{&quot;default&quot;:[]},prepareOffsets:function(a,b){var c=d.ui.ddmanager.droppables[a.options.scope]||[],e=b?b.type:null,g=(a.currentItem||a.element).find(&quot;:data(droppable)&quot;).andSelf(),f=0;a:for(;f&lt;c.length;f++)if(!(c[f].options.disabled||a&amp;&amp;!c[f].accept.call(c[f].element[0],a.currentItem||a.element))){for(var h=0;h&lt;g.length;h++)if(g[h]==c[f].element[0]){c[f].proportions.height=0;continue a}c[f].visible=c[f].element.css(&quot;display&quot;)!=
-&quot;none&quot;;if(c[f].visible){e==&quot;mousedown&quot;&amp;&amp;c[f]._activate.call(c[f],b);c[f].offset=c[f].element.offset();c[f].proportions={width:c[f].element[0].offsetWidth,height:c[f].element[0].offsetHeight}}}},drop:function(a,b){var c=false;d.each(d.ui.ddmanager.droppables[a.options.scope]||[],function(){if(this.options){if(!this.options.disabled&amp;&amp;this.visible&amp;&amp;d.ui.intersect(a,this,this.options.tolerance))c=c||this._drop.call(this,b);if(!this.options.disabled&amp;&amp;this.visible&amp;&amp;this.accept.call(this.element[0],a.currentItem||
-a.element)){this.isout=1;this.isover=0;this._deactivate.call(this,b)}}});return c},dragStart:function(a,b){a.element.parents(&quot;:not(body,html)&quot;).bind(&quot;scroll.droppable&quot;,function(){a.options.refreshPositions||d.ui.ddmanager.prepareOffsets(a,b)})},drag:function(a,b){a.options.refreshPositions&amp;&amp;d.ui.ddmanager.prepareOffsets(a,b);d.each(d.ui.ddmanager.droppables[a.options.scope]||[],function(){if(!(this.options.disabled||this.greedyChild||!this.visible)){var c=d.ui.intersect(a,this,this.options.tolerance);
-if(c=!c&amp;&amp;this.isover==1?&quot;isout&quot;:c&amp;&amp;this.isover==0?&quot;isover&quot;:null){var e;if(this.options.greedy){var g=this.element.parents(&quot;:data(droppable):eq(0)&quot;);if(g.length){e=d.data(g[0],&quot;droppable&quot;);e.greedyChild=c==&quot;isover&quot;?1:0}}if(e&amp;&amp;c==&quot;isover&quot;){e.isover=0;e.isout=1;e._out.call(e,b)}this[c]=1;this[c==&quot;isout&quot;?&quot;isover&quot;:&quot;isout&quot;]=0;this[c==&quot;isover&quot;?&quot;_over&quot;:&quot;_out&quot;].call(this,b);if(e&amp;&amp;c==&quot;isout&quot;){e.isout=0;e.isover=1;e._over.call(e,b)}}}})},dragStop:function(a,b){a.element.parents(&quot;:not(body,html)&quot;).unbind(&quot;scroll.droppable&quot;);
-a.options.refreshPositions||d.ui.ddmanager.prepareOffsets(a,b)}}})(jQuery);
</del><ins>+/*! jQuery UI - v1.8.19 - 2012-04-16
+* https://github.com/jquery/jquery-ui
+* Includes: jquery.ui.droppable.js
+* Copyright (c) 2012 AUTHORS.txt; Licensed MIT, GPL */
+(function(a,b){a.widget(&quot;ui.droppable&quot;,{widgetEventPrefix:&quot;drop&quot;,options:{accept:&quot;*&quot;,activeClass:!1,addClasses:!0,greedy:!1,hoverClass:!1,scope:&quot;default&quot;,tolerance:&quot;intersect&quot;},_create:function(){var b=this.options,c=b.accept;this.isover=0,this.isout=1,this.accept=a.isFunction(c)?c:function(a){return a.is(c)},this.proportions={width:this.element[0].offsetWidth,height:this.element[0].offsetHeight},a.ui.ddmanager.droppables[b.scope]=a.ui.ddmanager.droppables[b.scope]||[],a.ui.ddmanager.droppables[b.scope].push(this),b.addClasses&amp;&amp;this.element.addClass(&quot;ui-droppable&quot;)},destroy:function(){var b=a.ui.ddmanager.droppables[this.options.scope];for(var c=0;c&lt;b.length;c++)b[c]==this&amp;&amp;b.splice(c,1);return this.element.removeClass(&quot;ui-droppable ui-droppable-disabled&quot;).removeData(&quot;droppable&quot;).unbind(&quot;.droppable&quot;),this},_setOption:function(b,c){b==&quot;accept&quot;&amp;&amp;(this.
 accept=a.isFunction(c)?c:function(a){return a.is(c)}),a.Widget.prototype._setOption.apply(this,arguments)},_activate:function(b){var c=a.ui.ddmanager.current;this.options.activeClass&amp;&amp;this.element.addClass(this.options.activeClass),c&amp;&amp;this._trigger(&quot;activate&quot;,b,this.ui(c))},_deactivate:function(b){var c=a.ui.ddmanager.current;this.options.activeClass&amp;&amp;this.element.removeClass(this.options.activeClass),c&amp;&amp;this._trigger(&quot;deactivate&quot;,b,this.ui(c))},_over:function(b){var c=a.ui.ddmanager.current;if(!c||(c.currentItem||c.element)[0]==this.element[0])return;this.accept.call(this.element[0],c.currentItem||c.element)&amp;&amp;(this.options.hoverClass&amp;&amp;this.element.addClass(this.options.hoverClass),this._trigger(&quot;over&quot;,b,this.ui(c)))},_out:function(b){var c=a.ui.ddmanager.current;if(!c||(c.currentItem||c.element)[0]==this.element[0])return;this.accept.call(this.element[0],c.currentItem||c.element)&amp;&amp;(this.op
 tions.hoverClass&amp;&amp;this.element.removeClass(this.options.hoverClass),this._trigger(&quot;out&quot;,b,this.ui(c)))},_drop:function(b,c){var d=c||a.ui.ddmanager.current;if(!d||(d.currentItem||d.element)[0]==this.element[0])return!1;var e=!1;return this.element.find(&quot;:data(droppable)&quot;).not(&quot;.ui-draggable-dragging&quot;).each(function(){var b=a.data(this,&quot;droppable&quot;);if(b.options.greedy&amp;&amp;!b.options.disabled&amp;&amp;b.options.scope==d.options.scope&amp;&amp;b.accept.call(b.element[0],d.currentItem||d.element)&amp;&amp;a.ui.intersect(d,a.extend(b,{offset:b.element.offset()}),b.options.tolerance))return e=!0,!1}),e?!1:this.accept.call(this.element[0],d.currentItem||d.element)?(this.options.activeClass&amp;&amp;this.element.removeClass(this.options.activeClass),this.options.hoverClass&amp;&amp;this.element.removeClass(this.options.hoverClass),this._trigger(&quot;drop&quot;,b,this.ui(d)),this.element):!1},ui:function(a){return{draggable:a.curr
 entItem||a.element,helper:a.helper,position:a.position,offset:a.positionAbs}}}),a.extend(a.ui.droppable,{version:&quot;1.8.19&quot;}),a.ui.intersect=function(b,c,d){if(!c.offset)return!1;var e=(b.positionAbs||b.position.absolute).left,f=e+b.helperProportions.width,g=(b.positionAbs||b.position.absolute).top,h=g+b.helperProportions.height,i=c.offset.left,j=i+c.proportions.width,k=c.offset.top,l=k+c.proportions.height;switch(d){case&quot;fit&quot;:return i&lt;=e&amp;&amp;f&lt;=j&amp;&amp;k&lt;=g&amp;&amp;h&lt;=l;case&quot;intersect&quot;:return i&lt;e+b.helperProportions.width/2&amp;&amp;f-b.helperProportions.width/2&lt;j&amp;&amp;k&lt;g+b.helperProportions.height/2&amp;&amp;h-b.helperProportions.height/2&lt;l;case&quot;pointer&quot;:var m=(b.positionAbs||b.position.absolute).left+(b.clickOffset||b.offset.click).left,n=(b.positionAbs||b.position.absolute).top+(b.clickOffset||b.offset.click).top,o=a.ui.isOver(n,m,k,i,c.proportions.height,c.proportions.width);return o;case&quot;t
 ouch&quot;:return(g&gt;=k&amp;&amp;g&lt;=l||h&gt;=k&amp;&amp;h&lt;=l||g&lt;k&amp;&amp;h&gt;l)&amp;&amp;(e&gt;=i&amp;&amp;e&lt;=j||f&gt;=i&amp;&amp;f&lt;=j||e&lt;i&amp;&amp;f&gt;j);default:return!1}},a.ui.ddmanager={current:null,droppables:{&quot;default&quot;:[]},prepareOffsets:function(b,c){var d=a.ui.ddmanager.droppables[b.options.scope]||[],e=c?c.type:null,f=(b.currentItem||b.element).find(&quot;:data(droppable)&quot;).andSelf();g:for(var h=0;h&lt;d.length;h++){if(d[h].options.disabled||b&amp;&amp;!d[h].accept.call(d[h].element[0],b.currentItem||b.element))continue;for(var i=0;i&lt;f.length;i++)if(f[i]==d[h].element[0]){d[h].proportions.height=0;continue g}d[h].visible=d[h].element.css(&quot;display&quot;)!=&quot;none&quot;;if(!d[h].visible)continue;e==&quot;mousedown&quot;&amp;&amp;d[h]._activate.call(d[h],c),d[h].offset=d[h].element.offset(),d[h].proportions={width:d[h].element[0].offsetWidth,height:d[h].element[0].offsetHeight}}},drop:function(b,c){var d=!1;return a.ea
 ch(a.ui.ddmanager.droppables[b.options.scope]||[],function(){if(!this.options)return;!this.options.disabled&amp;&amp;this.visible&amp;&amp;a.ui.intersect(b,this,this.options.tolerance)&amp;&amp;(d=this._drop.call(this,c)||d),!this.options.disabled&amp;&amp;this.visible&amp;&amp;this.accept.call(this.element[0],b.currentItem||b.element)&amp;&amp;(this.isout=1,this.isover=0,this._deactivate.call(this,c))}),d},dragStart:function(b,c){b.element.parents(&quot;:not(body,html)&quot;).bind(&quot;scroll.droppable&quot;,function(){b.options.refreshPositions||a.ui.ddmanager.prepareOffsets(b,c)})},drag:function(b,c){b.options.refreshPositions&amp;&amp;a.ui.ddmanager.prepareOffsets(b,c),a.each(a.ui.ddmanager.droppables[b.options.scope]||[],function(){if(this.options.disabled||this.greedyChild||!this.visible)return;var d=a.ui.intersect(b,this,this.options.tolerance),e=!d&amp;&amp;this.isover==1?&quot;isout&quot;:d&amp;&amp;this.isover==0?&quot;isover&quot;:null;if(!e)return;var f;if(this.
 options.greedy){var g=this.element.parents(&quot;:data(droppable):eq(0)&quot;);g.length&amp;&amp;(f=a.data(g[0],&quot;droppable&quot;),f.greedyChild=e==&quot;isover&quot;?1:0)}f&amp;&amp;e==&quot;isover&quot;&amp;&amp;(f.isover=0,f.isout=1,f._out.call(f,c)),this[e]=1,this[e==&quot;isout&quot;?&quot;isover&quot;:&quot;isout&quot;]=0,this[e==&quot;isover&quot;?&quot;_over&quot;:&quot;_out&quot;].call(this,c),f&amp;&amp;e==&quot;isout&quot;&amp;&amp;(f.isout=0,f.isover=1,f._over.call(f,c))})},dragStop:function(b,c){b.element.parents(&quot;:not(body,html)&quot;).unbind(&quot;scroll.droppable&quot;),b.options.refreshPositions||a.ui.ddmanager.prepareOffsets(b,c)}}})(jQuery)
</ins><span class="cx">\ No newline at end of file
</span></span></pre></div>
<a id="trunkwpincludesjsjqueryuijqueryuimouseminjs"></a>
<div class="modfile"><h4>Modified: trunk/wp-includes/js/jquery/ui/jquery.ui.mouse.min.js (20491 => 20492)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-includes/js/jquery/ui/jquery.ui.mouse.min.js        2012-04-17 03:41:07 UTC (rev 20491)
+++ trunk/wp-includes/js/jquery/ui/jquery.ui.mouse.min.js        2012-04-17 16:49:17 UTC (rev 20492)
</span><span class="lines">@@ -1,17 +1,5 @@
</span><del>-/*!
- * jQuery UI Mouse 1.8.16
- *
- * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
- * Dual licensed under the MIT or GPL Version 2 licenses.
- * http://jquery.org/license
- *
- * http://docs.jquery.com/UI/Mouse
- *
- * Depends:
- *        jquery.ui.widget.js
- */
-(function(b){var d=false;b(document).mouseup(function(){d=false});b.widget(&quot;ui.mouse&quot;,{options:{cancel:&quot;:input,option&quot;,distance:1,delay:0},_mouseInit:function(){var a=this;this.element.bind(&quot;mousedown.&quot;+this.widgetName,function(c){return a._mouseDown(c)}).bind(&quot;click.&quot;+this.widgetName,function(c){if(true===b.data(c.target,a.widgetName+&quot;.preventClickEvent&quot;)){b.removeData(c.target,a.widgetName+&quot;.preventClickEvent&quot;);c.stopImmediatePropagation();return false}});this.started=false},_mouseDestroy:function(){this.element.unbind(&quot;.&quot;+
-this.widgetName)},_mouseDown:function(a){if(!d){this._mouseStarted&amp;&amp;this._mouseUp(a);this._mouseDownEvent=a;var c=this,f=a.which==1,g=typeof this.options.cancel==&quot;string&quot;&amp;&amp;a.target.nodeName?b(a.target).closest(this.options.cancel).length:false;if(!f||g||!this._mouseCapture(a))return true;this.mouseDelayMet=!this.options.delay;if(!this.mouseDelayMet)this._mouseDelayTimer=setTimeout(function(){c.mouseDelayMet=true},this.options.delay);if(this._mouseDistanceMet(a)&amp;&amp;this._mouseDelayMet(a)){this._mouseStarted=
-this._mouseStart(a)!==false;if(!this._mouseStarted){a.preventDefault();return true}}true===b.data(a.target,this.widgetName+&quot;.preventClickEvent&quot;)&amp;&amp;b.removeData(a.target,this.widgetName+&quot;.preventClickEvent&quot;);this._mouseMoveDelegate=function(e){return c._mouseMove(e)};this._mouseUpDelegate=function(e){return c._mouseUp(e)};b(document).bind(&quot;mousemove.&quot;+this.widgetName,this._mouseMoveDelegate).bind(&quot;mouseup.&quot;+this.widgetName,this._mouseUpDelegate);a.preventDefault();return d=true}},_mouseMove:function(a){if(b.browser.msie&amp;&amp;
-!(document.documentMode&gt;=9)&amp;&amp;!a.button)return this._mouseUp(a);if(this._mouseStarted){this._mouseDrag(a);return a.preventDefault()}if(this._mouseDistanceMet(a)&amp;&amp;this._mouseDelayMet(a))(this._mouseStarted=this._mouseStart(this._mouseDownEvent,a)!==false)?this._mouseDrag(a):this._mouseUp(a);return!this._mouseStarted},_mouseUp:function(a){b(document).unbind(&quot;mousemove.&quot;+this.widgetName,this._mouseMoveDelegate).unbind(&quot;mouseup.&quot;+this.widgetName,this._mouseUpDelegate);if(this._mouseStarted){this._mouseStarted=
-false;a.target==this._mouseDownEvent.target&amp;&amp;b.data(a.target,this.widgetName+&quot;.preventClickEvent&quot;,true);this._mouseStop(a)}return false},_mouseDistanceMet:function(a){return Math.max(Math.abs(this._mouseDownEvent.pageX-a.pageX),Math.abs(this._mouseDownEvent.pageY-a.pageY))&gt;=this.options.distance},_mouseDelayMet:function(){return this.mouseDelayMet},_mouseStart:function(){},_mouseDrag:function(){},_mouseStop:function(){},_mouseCapture:function(){return true}})})(jQuery);
</del><ins>+/*! jQuery UI - v1.8.19 - 2012-04-16
+* https://github.com/jquery/jquery-ui
+* Includes: jquery.ui.mouse.js
+* Copyright (c) 2012 AUTHORS.txt; Licensed MIT, GPL */
+(function(a,b){var c=!1;a(document).mouseup(function(a){c=!1}),a.widget(&quot;ui.mouse&quot;,{options:{cancel:&quot;:input,option&quot;,distance:1,delay:0},_mouseInit:function(){var b=this;this.element.bind(&quot;mousedown.&quot;+this.widgetName,function(a){return b._mouseDown(a)}).bind(&quot;click.&quot;+this.widgetName,function(c){if(!0===a.data(c.target,b.widgetName+&quot;.preventClickEvent&quot;))return a.removeData(c.target,b.widgetName+&quot;.preventClickEvent&quot;),c.stopImmediatePropagation(),!1}),this.started=!1},_mouseDestroy:function(){this.element.unbind(&quot;.&quot;+this.widgetName),a(document).unbind(&quot;mousemove.&quot;+this.widgetName,this._mouseMoveDelegate).unbind(&quot;mouseup.&quot;+this.widgetName,this._mouseUpDelegate)},_mouseDown:function(b){if(c)return;this._mouseStarted&amp;&amp;this._mouseUp(b),this._mouseDownEvent=b;var d=this,e=b.which==1,f=typeof this.options.cancel==&quot;string&quot;&amp;&amp;b.target.nodeName?a(b.target).closest(this.optio
 ns.cancel).length:!1;if(!e||f||!this._mouseCapture(b))return!0;this.mouseDelayMet=!this.options.delay,this.mouseDelayMet||(this._mouseDelayTimer=setTimeout(function(){d.mouseDelayMet=!0},this.options.delay));if(this._mouseDistanceMet(b)&amp;&amp;this._mouseDelayMet(b)){this._mouseStarted=this._mouseStart(b)!==!1;if(!this._mouseStarted)return b.preventDefault(),!0}return!0===a.data(b.target,this.widgetName+&quot;.preventClickEvent&quot;)&amp;&amp;a.removeData(b.target,this.widgetName+&quot;.preventClickEvent&quot;),this._mouseMoveDelegate=function(a){return d._mouseMove(a)},this._mouseUpDelegate=function(a){return d._mouseUp(a)},a(document).bind(&quot;mousemove.&quot;+this.widgetName,this._mouseMoveDelegate).bind(&quot;mouseup.&quot;+this.widgetName,this._mouseUpDelegate),b.preventDefault(),c=!0,!0},_mouseMove:function(b){return!a.browser.msie||document.documentMode&gt;=9||!!b.button?this._mouseStarted?(this._mouseDrag(b),b.preventDefault()):(this._mouseDistanceMet(b)&amp;&am
 p;this._mouseDelayMet(b)&amp;&amp;(this._mouseStarted=this._mouseStart(this._mouseDownEvent,b)!==!1,this._mouseStarted?this._mouseDrag(b):this._mouseUp(b)),!this._mouseStarted):this._mouseUp(b)},_mouseUp:function(b){return a(document).unbind(&quot;mousemove.&quot;+this.widgetName,this._mouseMoveDelegate).unbind(&quot;mouseup.&quot;+this.widgetName,this._mouseUpDelegate),this._mouseStarted&amp;&amp;(this._mouseStarted=!1,b.target==this._mouseDownEvent.target&amp;&amp;a.data(b.target,this.widgetName+&quot;.preventClickEvent&quot;,!0),this._mouseStop(b)),!1},_mouseDistanceMet:function(a){return Math.max(Math.abs(this._mouseDownEvent.pageX-a.pageX),Math.abs(this._mouseDownEvent.pageY-a.pageY))&gt;=this.options.distance},_mouseDelayMet:function(a){return this.mouseDelayMet},_mouseStart:function(a){},_mouseDrag:function(a){},_mouseStop:function(a){},_mouseCapture:function(a){return!0}})})(jQuery)
</ins><span class="cx">\ No newline at end of file
</span></span></pre></div>
<a id="trunkwpincludesjsjqueryuijqueryuipositionminjs"></a>
<div class="modfile"><h4>Modified: trunk/wp-includes/js/jquery/ui/jquery.ui.position.min.js (20491 => 20492)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-includes/js/jquery/ui/jquery.ui.position.min.js        2012-04-17 03:41:07 UTC (rev 20491)
+++ trunk/wp-includes/js/jquery/ui/jquery.ui.position.min.js        2012-04-17 16:49:17 UTC (rev 20492)
</span><span class="lines">@@ -1,16 +1,5 @@
</span><del>-/*
- * jQuery UI Position 1.8.16
- *
- * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
- * Dual licensed under the MIT or GPL Version 2 licenses.
- * http://jquery.org/license
- *
- * http://docs.jquery.com/UI/Position
- */
-(function(c){c.ui=c.ui||{};var n=/left|center|right/,o=/top|center|bottom/,t=c.fn.position,u=c.fn.offset;c.fn.position=function(b){if(!b||!b.of)return t.apply(this,arguments);b=c.extend({},b);var a=c(b.of),d=a[0],g=(b.collision||&quot;flip&quot;).split(&quot; &quot;),e=b.offset?b.offset.split(&quot; &quot;):[0,0],h,k,j;if(d.nodeType===9){h=a.width();k=a.height();j={top:0,left:0}}else if(d.setTimeout){h=a.width();k=a.height();j={top:a.scrollTop(),left:a.scrollLeft()}}else if(d.preventDefault){b.at=&quot;left top&quot;;h=k=0;j={top:b.of.pageY,
-left:b.of.pageX}}else{h=a.outerWidth();k=a.outerHeight();j=a.offset()}c.each([&quot;my&quot;,&quot;at&quot;],function(){var f=(b[this]||&quot;&quot;).split(&quot; &quot;);if(f.length===1)f=n.test(f[0])?f.concat([&quot;center&quot;]):o.test(f[0])?[&quot;center&quot;].concat(f):[&quot;center&quot;,&quot;center&quot;];f[0]=n.test(f[0])?f[0]:&quot;center&quot;;f[1]=o.test(f[1])?f[1]:&quot;center&quot;;b[this]=f});if(g.length===1)g[1]=g[0];e[0]=parseInt(e[0],10)||0;if(e.length===1)e[1]=e[0];e[1]=parseInt(e[1],10)||0;if(b.at[0]===&quot;right&quot;)j.left+=h;else if(b.at[0]===&quot;center&quot;)j.left+=h/2;if(b.at[1]===&quot;bottom&quot;)j.top+=
-k;else if(b.at[1]===&quot;center&quot;)j.top+=k/2;j.left+=e[0];j.top+=e[1];return this.each(function(){var f=c(this),l=f.outerWidth(),m=f.outerHeight(),p=parseInt(c.curCSS(this,&quot;marginLeft&quot;,true))||0,q=parseInt(c.curCSS(this,&quot;marginTop&quot;,true))||0,v=l+p+(parseInt(c.curCSS(this,&quot;marginRight&quot;,true))||0),w=m+q+(parseInt(c.curCSS(this,&quot;marginBottom&quot;,true))||0),i=c.extend({},j),r;if(b.my[0]===&quot;right&quot;)i.left-=l;else if(b.my[0]===&quot;center&quot;)i.left-=l/2;if(b.my[1]===&quot;bottom&quot;)i.top-=m;else if(b.my[1]===&quot;center&quot;)i.top-=
-m/2;i.left=Math.round(i.left);i.top=Math.round(i.top);r={left:i.left-p,top:i.top-q};c.each([&quot;left&quot;,&quot;top&quot;],function(s,x){c.ui.position[g[s]]&amp;&amp;c.ui.position[g[s]][x](i,{targetWidth:h,targetHeight:k,elemWidth:l,elemHeight:m,collisionPosition:r,collisionWidth:v,collisionHeight:w,offset:e,my:b.my,at:b.at})});c.fn.bgiframe&amp;&amp;f.bgiframe();f.offset(c.extend(i,{using:b.using}))})};c.ui.position={fit:{left:function(b,a){var d=c(window);d=a.collisionPosition.left+a.collisionWidth-d.width()-d.scrollLeft();b.left=
-d&gt;0?b.left-d:Math.max(b.left-a.collisionPosition.left,b.left)},top:function(b,a){var d=c(window);d=a.collisionPosition.top+a.collisionHeight-d.height()-d.scrollTop();b.top=d&gt;0?b.top-d:Math.max(b.top-a.collisionPosition.top,b.top)}},flip:{left:function(b,a){if(a.at[0]!==&quot;center&quot;){var d=c(window);d=a.collisionPosition.left+a.collisionWidth-d.width()-d.scrollLeft();var g=a.my[0]===&quot;left&quot;?-a.elemWidth:a.my[0]===&quot;right&quot;?a.elemWidth:0,e=a.at[0]===&quot;left&quot;?a.targetWidth:-a.targetWidth,h=-2*a.offset[0];b.left+=
-a.collisionPosition.left&lt;0?g+e+h:d&gt;0?g+e+h:0}},top:function(b,a){if(a.at[1]!==&quot;center&quot;){var d=c(window);d=a.collisionPosition.top+a.collisionHeight-d.height()-d.scrollTop();var g=a.my[1]===&quot;top&quot;?-a.elemHeight:a.my[1]===&quot;bottom&quot;?a.elemHeight:0,e=a.at[1]===&quot;top&quot;?a.targetHeight:-a.targetHeight,h=-2*a.offset[1];b.top+=a.collisionPosition.top&lt;0?g+e+h:d&gt;0?g+e+h:0}}}};if(!c.offset.setOffset){c.offset.setOffset=function(b,a){if(/static/.test(c.curCSS(b,&quot;position&quot;)))b.style.position=&quot;relative&quot;;var d=c(b),
-g=d.offset(),e=parseInt(c.curCSS(b,&quot;top&quot;,true),10)||0,h=parseInt(c.curCSS(b,&quot;left&quot;,true),10)||0;g={top:a.top-g.top+e,left:a.left-g.left+h};&quot;using&quot;in a?a.using.call(b,g):d.css(g)};c.fn.offset=function(b){var a=this[0];if(!a||!a.ownerDocument)return null;if(b)return this.each(function(){c.offset.setOffset(this,b)});return u.call(this)}}})(jQuery);
</del><ins>+/*! jQuery UI - v1.8.19 - 2012-04-16
+* https://github.com/jquery/jquery-ui
+* Includes: jquery.ui.position.js
+* Copyright (c) 2012 AUTHORS.txt; Licensed MIT, GPL */
+(function(a,b){a.ui=a.ui||{};var c=/left|center|right/,d=/top|center|bottom/,e=&quot;center&quot;,f={},g=a.fn.position,h=a.fn.offset;a.fn.position=function(b){if(!b||!b.of)return g.apply(this,arguments);b=a.extend({},b);var h=a(b.of),i=h[0],j=(b.collision||&quot;flip&quot;).split(&quot; &quot;),k=b.offset?b.offset.split(&quot; &quot;):[0,0],l,m,n;return i.nodeType===9?(l=h.width(),m=h.height(),n={top:0,left:0}):i.setTimeout?(l=h.width(),m=h.height(),n={top:h.scrollTop(),left:h.scrollLeft()}):i.preventDefault?(b.at=&quot;left top&quot;,l=m=0,n={top:b.of.pageY,left:b.of.pageX}):(l=h.outerWidth(),m=h.outerHeight(),n=h.offset()),a.each([&quot;my&quot;,&quot;at&quot;],function(){var a=(b[this]||&quot;&quot;).split(&quot; &quot;);a.length===1&amp;&amp;(a=c.test(a[0])?a.concat([e]):d.test(a[0])?[e].concat(a):[e,e]),a[0]=c.test(a[0])?a[0]:e,a[1]=d.test(a[1])?a[1]:e,b[this]=a}),j.length===1&amp;&amp;(j[1]=j[0]),k[0]=parseInt(k[0],10)||0,k.length===1&amp;&amp;(k[1]=k[0]),k[1]=parseInt
 (k[1],10)||0,b.at[0]===&quot;right&quot;?n.left+=l:b.at[0]===e&amp;&amp;(n.left+=l/2),b.at[1]===&quot;bottom&quot;?n.top+=m:b.at[1]===e&amp;&amp;(n.top+=m/2),n.left+=k[0],n.top+=k[1],this.each(function(){var c=a(this),d=c.outerWidth(),g=c.outerHeight(),h=parseInt(a.curCSS(this,&quot;marginLeft&quot;,!0))||0,i=parseInt(a.curCSS(this,&quot;marginTop&quot;,!0))||0,o=d+h+(parseInt(a.curCSS(this,&quot;marginRight&quot;,!0))||0),p=g+i+(parseInt(a.curCSS(this,&quot;marginBottom&quot;,!0))||0),q=a.extend({},n),r;b.my[0]===&quot;right&quot;?q.left-=d:b.my[0]===e&amp;&amp;(q.left-=d/2),b.my[1]===&quot;bottom&quot;?q.top-=g:b.my[1]===e&amp;&amp;(q.top-=g/2),f.fractions||(q.left=Math.round(q.left),q.top=Math.round(q.top)),r={left:q.left-h,top:q.top-i},a.each([&quot;left&quot;,&quot;top&quot;],function(c,e){a.ui.position[j[c]]&amp;&amp;a.ui.position[j[c]][e](q,{targetWidth:l,targetHeight:m,elemWidth:d,elemHeight:g,collisionPosition:r,collisionWidth:o,collisionHeight:p,offset:k,my:b.my,at
 :b.at})}),a.fn.bgiframe&amp;&amp;c.bgiframe(),c.offset(a.extend(q,{using:b.using}))})},a.ui.position={fit:{left:function(b,c){var d=a(window),e=c.collisionPosition.left+c.collisionWidth-d.width()-d.scrollLeft();b.left=e&gt;0?b.left-e:Math.max(b.left-c.collisionPosition.left,b.left)},top:function(b,c){var d=a(window),e=c.collisionPosition.top+c.collisionHeight-d.height()-d.scrollTop();b.top=e&gt;0?b.top-e:Math.max(b.top-c.collisionPosition.top,b.top)}},flip:{left:function(b,c){if(c.at[0]===e)return;var d=a(window),f=c.collisionPosition.left+c.collisionWidth-d.width()-d.scrollLeft(),g=c.my[0]===&quot;left&quot;?-c.elemWidth:c.my[0]===&quot;right&quot;?c.elemWidth:0,h=c.at[0]===&quot;left&quot;?c.targetWidth:-c.targetWidth,i=-2*c.offset[0];b.left+=c.collisionPosition.left&lt;0?g+h+i:f&gt;0?g+h+i:0},top:function(b,c){if(c.at[1]===e)return;var d=a(window),f=c.collisionPosition.top+c.collisionHeight-d.height()-d.scrollTop(),g=c.my[1]===&quot;top&quot;?-c.elemHeight:c.my[1]===&quot
 ;bottom&quot;?c.elemHeight:0,h=c.at[1]===&quot;top&quot;?c.targetHeight:-c.targetHeight,i=-2*c.offset[1];b.top+=c.collisionPosition.top&lt;0?g+h+i:f&gt;0?g+h+i:0}}},a.offset.setOffset||(a.offset.setOffset=function(b,c){/static/.test(a.curCSS(b,&quot;position&quot;))&amp;&amp;(b.style.position=&quot;relative&quot;);var d=a(b),e=d.offset(),f=parseInt(a.curCSS(b,&quot;top&quot;,!0),10)||0,g=parseInt(a.curCSS(b,&quot;left&quot;,!0),10)||0,h={top:c.top-e.top+f,left:c.left-e.left+g};&quot;using&quot;in c?c.using.call(b,h):d.css(h)},a.fn.offset=function(b){var c=this[0];return!c||!c.ownerDocument?null:b?this.each(function(){a.offset.setOffset(this,b)}):h.call(this)}),function(){var b=document.getElementsByTagName(&quot;body&quot;)[0],c=document.createElement(&quot;div&quot;),d,e,g,h,i;d=document.createElement(b?&quot;div&quot;:&quot;body&quot;),g={visibility:&quot;hidden&quot;,width:0,height:0,border:0,margin:0,background:&quot;none&quot;},b&amp;&amp;a.extend(g,{position:&quot;abso
 lute&quot;,left:&quot;-1000px&quot;,top:&quot;-1000px&quot;});for(var j in g)d.style[j]=g[j];d.appendChild(c),e=b||document.documentElement,e.insertBefore(d,e.firstChild),c.style.cssText=&quot;position: absolute; left: 10.7432222px; top: 10.432325px; height: 30px; width: 201px;&quot;,h=a(c).offset(function(a,b){return b}).offset(),d.innerHTML=&quot;&quot;,e.removeChild(d),i=h.top+h.left+(b?2e3:0),f.fractions=i&gt;21&amp;&amp;i&lt;22}()})(jQuery)
</ins><span class="cx">\ No newline at end of file
</span></span></pre></div>
<a id="trunkwpincludesjsjqueryuijqueryuiprogressbarminjs"></a>
<div class="modfile"><h4>Modified: trunk/wp-includes/js/jquery/ui/jquery.ui.progressbar.min.js (20491 => 20492)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-includes/js/jquery/ui/jquery.ui.progressbar.min.js        2012-04-17 03:41:07 UTC (rev 20491)
+++ trunk/wp-includes/js/jquery/ui/jquery.ui.progressbar.min.js        2012-04-17 16:49:17 UTC (rev 20492)
</span><span class="lines">@@ -1,16 +1,5 @@
</span><del>-/*
- * jQuery UI Progressbar 1.8.16
- *
- * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
- * Dual licensed under the MIT or GPL Version 2 licenses.
- * http://jquery.org/license
- *
- * http://docs.jquery.com/UI/Progressbar
- *
- * Depends:
- *   jquery.ui.core.js
- *   jquery.ui.widget.js
- */
-(function(b,d){b.widget(&quot;ui.progressbar&quot;,{options:{value:0,max:100},min:0,_create:function(){this.element.addClass(&quot;ui-progressbar ui-widget ui-widget-content ui-corner-all&quot;).attr({role:&quot;progressbar&quot;,&quot;aria-valuemin&quot;:this.min,&quot;aria-valuemax&quot;:this.options.max,&quot;aria-valuenow&quot;:this._value()});this.valueDiv=b(&quot;&lt;div class='ui-progressbar-value ui-widget-header ui-corner-left'&gt;&lt;/div&gt;&quot;).appendTo(this.element);this.oldValue=this._value();this._refreshValue()},destroy:function(){this.element.removeClass(&quot;ui-progressbar ui-widget ui-widget-content ui-corner-all&quot;).removeAttr(&quot;role&quot;).removeAttr(&quot;aria-valuemin&quot;).removeAttr(&quot;aria-valuemax&quot;).removeAttr(&quot;aria-valuenow&quot;);
-this.valueDiv.remove();b.Widget.prototype.destroy.apply(this,arguments)},value:function(a){if(a===d)return this._value();this._setOption(&quot;value&quot;,a);return this},_setOption:function(a,c){if(a===&quot;value&quot;){this.options.value=c;this._refreshValue();this._value()===this.options.max&amp;&amp;this._trigger(&quot;complete&quot;)}b.Widget.prototype._setOption.apply(this,arguments)},_value:function(){var a=this.options.value;if(typeof a!==&quot;number&quot;)a=0;return Math.min(this.options.max,Math.max(this.min,a))},_percentage:function(){return 100*
-this._value()/this.options.max},_refreshValue:function(){var a=this.value(),c=this._percentage();if(this.oldValue!==a){this.oldValue=a;this._trigger(&quot;change&quot;)}this.valueDiv.toggle(a&gt;this.min).toggleClass(&quot;ui-corner-right&quot;,a===this.options.max).width(c.toFixed(0)+&quot;%&quot;);this.element.attr(&quot;aria-valuenow&quot;,a)}});b.extend(b.ui.progressbar,{version:&quot;1.8.16&quot;})})(jQuery);
</del><ins>+/*! jQuery UI - v1.8.19 - 2012-04-16
+* https://github.com/jquery/jquery-ui
+* Includes: jquery.ui.progressbar.js
+* Copyright (c) 2012 AUTHORS.txt; Licensed MIT, GPL */
+(function(a,b){a.widget(&quot;ui.progressbar&quot;,{options:{value:0,max:100},min:0,_create:function(){this.element.addClass(&quot;ui-progressbar ui-widget ui-widget-content ui-corner-all&quot;).attr({role:&quot;progressbar&quot;,&quot;aria-valuemin&quot;:this.min,&quot;aria-valuemax&quot;:this.options.max,&quot;aria-valuenow&quot;:this._value()}),this.valueDiv=a(&quot;&lt;div class='ui-progressbar-value ui-widget-header ui-corner-left'&gt;&lt;/div&gt;&quot;).appendTo(this.element),this.oldValue=this._value(),this._refreshValue()},destroy:function(){this.element.removeClass(&quot;ui-progressbar ui-widget ui-widget-content ui-corner-all&quot;).removeAttr(&quot;role&quot;).removeAttr(&quot;aria-valuemin&quot;).removeAttr(&quot;aria-valuemax&quot;).removeAttr(&quot;aria-valuenow&quot;),this.valueDiv.remove(),a.Widget.prototype.destroy.apply(this,arguments)},value:function(a){return a===b?this._value():(this._setOption(&quot;value&quot;,a),this)},_setOption:function(b,c){b===&qu
 ot;value&quot;&amp;&amp;(this.options.value=c,this._refreshValue(),this._value()===this.options.max&amp;&amp;this._trigger(&quot;complete&quot;)),a.Widget.prototype._setOption.apply(this,arguments)},_value:function(){var a=this.options.value;return typeof a!=&quot;number&quot;&amp;&amp;(a=0),Math.min(this.options.max,Math.max(this.min,a))},_percentage:function(){return 100*this._value()/this.options.max},_refreshValue:function(){var a=this.value(),b=this._percentage();this.oldValue!==a&amp;&amp;(this.oldValue=a,this._trigger(&quot;change&quot;)),this.valueDiv.toggle(a&gt;this.min).toggleClass(&quot;ui-corner-right&quot;,a===this.options.max).width(b.toFixed(0)+&quot;%&quot;),this.element.attr(&quot;aria-valuenow&quot;,a)}}),a.extend(a.ui.progressbar,{version:&quot;1.8.19&quot;})})(jQuery)
</ins><span class="cx">\ No newline at end of file
</span></span></pre></div>
<a id="trunkwpincludesjsjqueryuijqueryuiresizableminjs"></a>
<div class="modfile"><h4>Modified: trunk/wp-includes/js/jquery/ui/jquery.ui.resizable.min.js (20491 => 20492)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-includes/js/jquery/ui/jquery.ui.resizable.min.js        2012-04-17 03:41:07 UTC (rev 20491)
+++ trunk/wp-includes/js/jquery/ui/jquery.ui.resizable.min.js        2012-04-17 16:49:17 UTC (rev 20492)
</span><span class="lines">@@ -1,49 +1,5 @@
</span><del>-/*
- * jQuery UI Resizable 1.8.16
- *
- * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
- * Dual licensed under the MIT or GPL Version 2 licenses.
- * http://jquery.org/license
- *
- * http://docs.jquery.com/UI/Resizables
- *
- * Depends:
- *        jquery.ui.core.js
- *        jquery.ui.mouse.js
- *        jquery.ui.widget.js
- */
-(function(e){e.widget(&quot;ui.resizable&quot;,e.ui.mouse,{widgetEventPrefix:&quot;resize&quot;,options:{alsoResize:false,animate:false,animateDuration:&quot;slow&quot;,animateEasing:&quot;swing&quot;,aspectRatio:false,autoHide:false,containment:false,ghost:false,grid:false,handles:&quot;e,s,se&quot;,helper:false,maxHeight:null,maxWidth:null,minHeight:10,minWidth:10,zIndex:1E3},_create:function(){var b=this,a=this.options;this.element.addClass(&quot;ui-resizable&quot;);e.extend(this,{_aspectRatio:!!a.aspectRatio,aspectRatio:a.aspectRatio,originalElement:this.element,
-_proportionallyResizeElements:[],_helper:a.helper||a.ghost||a.animate?a.helper||&quot;ui-resizable-helper&quot;:null});if(this.element[0].nodeName.match(/canvas|textarea|input|select|button|img/i)){/relative/.test(this.element.css(&quot;position&quot;))&amp;&amp;e.browser.opera&amp;&amp;this.element.css({position:&quot;relative&quot;,top:&quot;auto&quot;,left:&quot;auto&quot;});this.element.wrap(e('&lt;div class=&quot;ui-wrapper&quot; style=&quot;overflow: hidden;&quot;&gt;&lt;/div&gt;').css({position:this.element.css(&quot;position&quot;),width:this.element.outerWidth(),height:this.element.outerHeight(),
-top:this.element.css(&quot;top&quot;),left:this.element.css(&quot;left&quot;)}));this.element=this.element.parent().data(&quot;resizable&quot;,this.element.data(&quot;resizable&quot;));this.elementIsWrapper=true;this.element.css({marginLeft:this.originalElement.css(&quot;marginLeft&quot;),marginTop:this.originalElement.css(&quot;marginTop&quot;),marginRight:this.originalElement.css(&quot;marginRight&quot;),marginBottom:this.originalElement.css(&quot;marginBottom&quot;)});this.originalElement.css({marginLeft:0,marginTop:0,marginRight:0,marginBottom:0});this.originalResizeStyle=
-this.originalElement.css(&quot;resize&quot;);this.originalElement.css(&quot;resize&quot;,&quot;none&quot;);this._proportionallyResizeElements.push(this.originalElement.css({position:&quot;static&quot;,zoom:1,display:&quot;block&quot;}));this.originalElement.css({margin:this.originalElement.css(&quot;margin&quot;)});this._proportionallyResize()}this.handles=a.handles||(!e(&quot;.ui-resizable-handle&quot;,this.element).length?&quot;e,s,se&quot;:{n:&quot;.ui-resizable-n&quot;,e:&quot;.ui-resizable-e&quot;,s:&quot;.ui-resizable-s&quot;,w:&quot;.ui-resizable-w&quot;,se:&quot;.ui-resizable-se&quot;,sw:&quot;.ui-resizable-sw&quot;,ne:&quot;.ui-resizable-ne&quot;,
-nw:&quot;.ui-resizable-nw&quot;});if(this.handles.constructor==String){if(this.handles==&quot;all&quot;)this.handles=&quot;n,e,s,w,se,sw,ne,nw&quot;;var c=this.handles.split(&quot;,&quot;);this.handles={};for(var d=0;d&lt;c.length;d++){var f=e.trim(c[d]),g=e('&lt;div class=&quot;ui-resizable-handle '+(&quot;ui-resizable-&quot;+f)+'&quot;&gt;&lt;/div&gt;');/sw|se|ne|nw/.test(f)&amp;&amp;g.css({zIndex:++a.zIndex});&quot;se&quot;==f&amp;&amp;g.addClass(&quot;ui-icon ui-icon-gripsmall-diagonal-se&quot;);this.handles[f]=&quot;.ui-resizable-&quot;+f;this.element.append(g)}}this._renderAxis=function(h){h=h||this.element;for(var i in this.handles){if(this.handles[i].constructor==
-String)this.handles[i]=e(this.handles[i],this.element).show();if(this.elementIsWrapper&amp;&amp;this.originalElement[0].nodeName.match(/textarea|input|select|button/i)){var j=e(this.handles[i],this.element),l=0;l=/sw|ne|nw|se|n|s/.test(i)?j.outerHeight():j.outerWidth();j=[&quot;padding&quot;,/ne|nw|n/.test(i)?&quot;Top&quot;:/se|sw|s/.test(i)?&quot;Bottom&quot;:/^e$/.test(i)?&quot;Right&quot;:&quot;Left&quot;].join(&quot;&quot;);h.css(j,l);this._proportionallyResize()}e(this.handles[i])}};this._renderAxis(this.element);this._handles=e(&quot;.ui-resizable-handle&quot;,this.element).disableSelection();
-this._handles.mouseover(function(){if(!b.resizing){if(this.className)var h=this.className.match(/ui-resizable-(se|sw|ne|nw|n|e|s|w)/i);b.axis=h&amp;&amp;h[1]?h[1]:&quot;se&quot;}});if(a.autoHide){this._handles.hide();e(this.element).addClass(&quot;ui-resizable-autohide&quot;).hover(function(){if(!a.disabled){e(this).removeClass(&quot;ui-resizable-autohide&quot;);b._handles.show()}},function(){if(!a.disabled)if(!b.resizing){e(this).addClass(&quot;ui-resizable-autohide&quot;);b._handles.hide()}})}this._mouseInit()},destroy:function(){this._mouseDestroy();
-var b=function(c){e(c).removeClass(&quot;ui-resizable ui-resizable-disabled ui-resizable-resizing&quot;).removeData(&quot;resizable&quot;).unbind(&quot;.resizable&quot;).find(&quot;.ui-resizable-handle&quot;).remove()};if(this.elementIsWrapper){b(this.element);var a=this.element;a.after(this.originalElement.css({position:a.css(&quot;position&quot;),width:a.outerWidth(),height:a.outerHeight(),top:a.css(&quot;top&quot;),left:a.css(&quot;left&quot;)})).remove()}this.originalElement.css(&quot;resize&quot;,this.originalResizeStyle);b(this.originalElement);return this},_mouseCapture:function(b){var a=
-false;for(var c in this.handles)if(e(this.handles[c])[0]==b.target)a=true;return!this.options.disabled&amp;&amp;a},_mouseStart:function(b){var a=this.options,c=this.element.position(),d=this.element;this.resizing=true;this.documentScroll={top:e(document).scrollTop(),left:e(document).scrollLeft()};if(d.is(&quot;.ui-draggable&quot;)||/absolute/.test(d.css(&quot;position&quot;)))d.css({position:&quot;absolute&quot;,top:c.top,left:c.left});e.browser.opera&amp;&amp;/relative/.test(d.css(&quot;position&quot;))&amp;&amp;d.css({position:&quot;relative&quot;,top:&quot;auto&quot;,left:&quot;auto&quot;});
-this._renderProxy();c=m(this.helper.css(&quot;left&quot;));var f=m(this.helper.css(&quot;top&quot;));if(a.containment){c+=e(a.containment).scrollLeft()||0;f+=e(a.containment).scrollTop()||0}this.offset=this.helper.offset();this.position={left:c,top:f};this.size=this._helper?{width:d.outerWidth(),height:d.outerHeight()}:{width:d.width(),height:d.height()};this.originalSize=this._helper?{width:d.outerWidth(),height:d.outerHeight()}:{width:d.width(),height:d.height()};this.originalPosition={left:c,top:f};this.sizeDiff=
-{width:d.outerWidth()-d.width(),height:d.outerHeight()-d.height()};this.originalMousePosition={left:b.pageX,top:b.pageY};this.aspectRatio=typeof a.aspectRatio==&quot;number&quot;?a.aspectRatio:this.originalSize.width/this.originalSize.height||1;a=e(&quot;.ui-resizable-&quot;+this.axis).css(&quot;cursor&quot;);e(&quot;body&quot;).css(&quot;cursor&quot;,a==&quot;auto&quot;?this.axis+&quot;-resize&quot;:a);d.addClass(&quot;ui-resizable-resizing&quot;);this._propagate(&quot;start&quot;,b);return true},_mouseDrag:function(b){var a=this.helper,c=this.originalMousePosition,d=this._change[this.axis];
-if(!d)return false;c=d.apply(this,[b,b.pageX-c.left||0,b.pageY-c.top||0]);this._updateVirtualBoundaries(b.shiftKey);if(this._aspectRatio||b.shiftKey)c=this._updateRatio(c,b);c=this._respectSize(c,b);this._propagate(&quot;resize&quot;,b);a.css({top:this.position.top+&quot;px&quot;,left:this.position.left+&quot;px&quot;,width:this.size.width+&quot;px&quot;,height:this.size.height+&quot;px&quot;});!this._helper&amp;&amp;this._proportionallyResizeElements.length&amp;&amp;this._proportionallyResize();this._updateCache(c);this._trigger(&quot;resize&quot;,b,this.ui());return false},
-_mouseStop:function(b){this.resizing=false;var a=this.options,c=this;if(this._helper){var d=this._proportionallyResizeElements,f=d.length&amp;&amp;/textarea/i.test(d[0].nodeName);d=f&amp;&amp;e.ui.hasScroll(d[0],&quot;left&quot;)?0:c.sizeDiff.height;f=f?0:c.sizeDiff.width;f={width:c.helper.width()-f,height:c.helper.height()-d};d=parseInt(c.element.css(&quot;left&quot;),10)+(c.position.left-c.originalPosition.left)||null;var g=parseInt(c.element.css(&quot;top&quot;),10)+(c.position.top-c.originalPosition.top)||null;a.animate||this.element.css(e.extend(f,
-{top:g,left:d}));c.helper.height(c.size.height);c.helper.width(c.size.width);this._helper&amp;&amp;!a.animate&amp;&amp;this._proportionallyResize()}e(&quot;body&quot;).css(&quot;cursor&quot;,&quot;auto&quot;);this.element.removeClass(&quot;ui-resizable-resizing&quot;);this._propagate(&quot;stop&quot;,b);this._helper&amp;&amp;this.helper.remove();return false},_updateVirtualBoundaries:function(b){var a=this.options,c,d,f;a={minWidth:k(a.minWidth)?a.minWidth:0,maxWidth:k(a.maxWidth)?a.maxWidth:Infinity,minHeight:k(a.minHeight)?a.minHeight:0,maxHeight:k(a.maxHeight)?a.maxHeight:
-Infinity};if(this._aspectRatio||b){b=a.minHeight*this.aspectRatio;d=a.minWidth/this.aspectRatio;c=a.maxHeight*this.aspectRatio;f=a.maxWidth/this.aspectRatio;if(b&gt;a.minWidth)a.minWidth=b;if(d&gt;a.minHeight)a.minHeight=d;if(c&lt;a.maxWidth)a.maxWidth=c;if(f&lt;a.maxHeight)a.maxHeight=f}this._vBoundaries=a},_updateCache:function(b){this.offset=this.helper.offset();if(k(b.left))this.position.left=b.left;if(k(b.top))this.position.top=b.top;if(k(b.height))this.size.height=b.height;if(k(b.width))this.size.width=
-b.width},_updateRatio:function(b){var a=this.position,c=this.size,d=this.axis;if(k(b.height))b.width=b.height*this.aspectRatio;else if(k(b.width))b.height=b.width/this.aspectRatio;if(d==&quot;sw&quot;){b.left=a.left+(c.width-b.width);b.top=null}if(d==&quot;nw&quot;){b.top=a.top+(c.height-b.height);b.left=a.left+(c.width-b.width)}return b},_respectSize:function(b){var a=this._vBoundaries,c=this.axis,d=k(b.width)&amp;&amp;a.maxWidth&amp;&amp;a.maxWidth&lt;b.width,f=k(b.height)&amp;&amp;a.maxHeight&amp;&amp;a.maxHeight&lt;b.height,g=k(b.width)&amp;&amp;a.minWidth&amp;&amp;
-a.minWidth&gt;b.width,h=k(b.height)&amp;&amp;a.minHeight&amp;&amp;a.minHeight&gt;b.height;if(g)b.width=a.minWidth;if(h)b.height=a.minHeight;if(d)b.width=a.maxWidth;if(f)b.height=a.maxHeight;var i=this.originalPosition.left+this.originalSize.width,j=this.position.top+this.size.height,l=/sw|nw|w/.test(c);c=/nw|ne|n/.test(c);if(g&amp;&amp;l)b.left=i-a.minWidth;if(d&amp;&amp;l)b.left=i-a.maxWidth;if(h&amp;&amp;c)b.top=j-a.minHeight;if(f&amp;&amp;c)b.top=j-a.maxHeight;if((a=!b.width&amp;&amp;!b.height)&amp;&amp;!b.left&amp;&amp;b.top)b.top=null;else if(a&amp;&amp;!b.top&amp;&amp;b.left)b.left=
-null;return b},_proportionallyResize:function(){if(this._proportionallyResizeElements.length)for(var b=this.helper||this.element,a=0;a&lt;this._proportionallyResizeElements.length;a++){var c=this._proportionallyResizeElements[a];if(!this.borderDif){var d=[c.css(&quot;borderTopWidth&quot;),c.css(&quot;borderRightWidth&quot;),c.css(&quot;borderBottomWidth&quot;),c.css(&quot;borderLeftWidth&quot;)],f=[c.css(&quot;paddingTop&quot;),c.css(&quot;paddingRight&quot;),c.css(&quot;paddingBottom&quot;),c.css(&quot;paddingLeft&quot;)];this.borderDif=e.map(d,function(g,h){g=parseInt(g,10)||
-0;h=parseInt(f[h],10)||0;return g+h})}e.browser.msie&amp;&amp;(e(b).is(&quot;:hidden&quot;)||e(b).parents(&quot;:hidden&quot;).length)||c.css({height:b.height()-this.borderDif[0]-this.borderDif[2]||0,width:b.width()-this.borderDif[1]-this.borderDif[3]||0})}},_renderProxy:function(){var b=this.options;this.elementOffset=this.element.offset();if(this._helper){this.helper=this.helper||e('&lt;div style=&quot;overflow:hidden;&quot;&gt;&lt;/div&gt;');var a=e.browser.msie&amp;&amp;e.browser.version&lt;7,c=a?1:0;a=a?2:-1;this.helper.addClass(this._helper).css({width:this.element.outerWidth()+
-a,height:this.element.outerHeight()+a,position:&quot;absolute&quot;,left:this.elementOffset.left-c+&quot;px&quot;,top:this.elementOffset.top-c+&quot;px&quot;,zIndex:++b.zIndex});this.helper.appendTo(&quot;body&quot;).disableSelection()}else this.helper=this.element},_change:{e:function(b,a){return{width:this.originalSize.width+a}},w:function(b,a){return{left:this.originalPosition.left+a,width:this.originalSize.width-a}},n:function(b,a,c){return{top:this.originalPosition.top+c,height:this.originalSize.height-c}},s:function(b,a,c){return{height:this.originalSize.height+
-c}},se:function(b,a,c){return e.extend(this._change.s.apply(this,arguments),this._change.e.apply(this,[b,a,c]))},sw:function(b,a,c){return e.extend(this._change.s.apply(this,arguments),this._change.w.apply(this,[b,a,c]))},ne:function(b,a,c){return e.extend(this._change.n.apply(this,arguments),this._change.e.apply(this,[b,a,c]))},nw:function(b,a,c){return e.extend(this._change.n.apply(this,arguments),this._change.w.apply(this,[b,a,c]))}},_propagate:function(b,a){e.ui.plugin.call(this,b,[a,this.ui()]);
-b!=&quot;resize&quot;&amp;&amp;this._trigger(b,a,this.ui())},plugins:{},ui:function(){return{originalElement:this.originalElement,element:this.element,helper:this.helper,position:this.position,size:this.size,originalSize:this.originalSize,originalPosition:this.originalPosition}}});e.extend(e.ui.resizable,{version:&quot;1.8.16&quot;});e.ui.plugin.add(&quot;resizable&quot;,&quot;alsoResize&quot;,{start:function(){var b=e(this).data(&quot;resizable&quot;).options,a=function(c){e(c).each(function(){var d=e(this);d.data(&quot;resizable-alsoresize&quot;,{width:parseInt(d.width(),
-10),height:parseInt(d.height(),10),left:parseInt(d.css(&quot;left&quot;),10),top:parseInt(d.css(&quot;top&quot;),10),position:d.css(&quot;position&quot;)})})};if(typeof b.alsoResize==&quot;object&quot;&amp;&amp;!b.alsoResize.parentNode)if(b.alsoResize.length){b.alsoResize=b.alsoResize[0];a(b.alsoResize)}else e.each(b.alsoResize,function(c){a(c)});else a(b.alsoResize)},resize:function(b,a){var c=e(this).data(&quot;resizable&quot;);b=c.options;var d=c.originalSize,f=c.originalPosition,g={height:c.size.height-d.height||0,width:c.size.width-d.width||0,top:c.position.top-
-f.top||0,left:c.position.left-f.left||0},h=function(i,j){e(i).each(function(){var l=e(this),q=e(this).data(&quot;resizable-alsoresize&quot;),p={},r=j&amp;&amp;j.length?j:l.parents(a.originalElement[0]).length?[&quot;width&quot;,&quot;height&quot;]:[&quot;width&quot;,&quot;height&quot;,&quot;top&quot;,&quot;left&quot;];e.each(r,function(n,o){if((n=(q[o]||0)+(g[o]||0))&amp;&amp;n&gt;=0)p[o]=n||null});if(e.browser.opera&amp;&amp;/relative/.test(l.css(&quot;position&quot;))){c._revertToRelativePosition=true;l.css({position:&quot;absolute&quot;,top:&quot;auto&quot;,left:&quot;auto&quot;})}l.css(p)})};typeof b.alsoResize==&quot;object&quot;&amp;&amp;!b.alsoResize.nodeType?
-e.each(b.alsoResize,function(i,j){h(i,j)}):h(b.alsoResize)},stop:function(){var b=e(this).data(&quot;resizable&quot;),a=b.options,c=function(d){e(d).each(function(){var f=e(this);f.css({position:f.data(&quot;resizable-alsoresize&quot;).position})})};if(b._revertToRelativePosition){b._revertToRelativePosition=false;typeof a.alsoResize==&quot;object&quot;&amp;&amp;!a.alsoResize.nodeType?e.each(a.alsoResize,function(d){c(d)}):c(a.alsoResize)}e(this).removeData(&quot;resizable-alsoresize&quot;)}});e.ui.plugin.add(&quot;resizable&quot;,&quot;animate&quot;,{stop:function(b){var a=
-e(this).data(&quot;resizable&quot;),c=a.options,d=a._proportionallyResizeElements,f=d.length&amp;&amp;/textarea/i.test(d[0].nodeName),g=f&amp;&amp;e.ui.hasScroll(d[0],&quot;left&quot;)?0:a.sizeDiff.height;f={width:a.size.width-(f?0:a.sizeDiff.width),height:a.size.height-g};g=parseInt(a.element.css(&quot;left&quot;),10)+(a.position.left-a.originalPosition.left)||null;var h=parseInt(a.element.css(&quot;top&quot;),10)+(a.position.top-a.originalPosition.top)||null;a.element.animate(e.extend(f,h&amp;&amp;g?{top:h,left:g}:{}),{duration:c.animateDuration,easing:c.animateEasing,
-step:function(){var i={width:parseInt(a.element.css(&quot;width&quot;),10),height:parseInt(a.element.css(&quot;height&quot;),10),top:parseInt(a.element.css(&quot;top&quot;),10),left:parseInt(a.element.css(&quot;left&quot;),10)};d&amp;&amp;d.length&amp;&amp;e(d[0]).css({width:i.width,height:i.height});a._updateCache(i);a._propagate(&quot;resize&quot;,b)}})}});e.ui.plugin.add(&quot;resizable&quot;,&quot;containment&quot;,{start:function(){var b=e(this).data(&quot;resizable&quot;),a=b.element,c=b.options.containment;if(a=c instanceof e?c.get(0):/parent/.test(c)?a.parent().get(0):c){b.containerElement=
-e(a);if(/document/.test(c)||c==document){b.containerOffset={left:0,top:0};b.containerPosition={left:0,top:0};b.parentData={element:e(document),left:0,top:0,width:e(document).width(),height:e(document).height()||document.body.parentNode.scrollHeight}}else{var d=e(a),f=[];e([&quot;Top&quot;,&quot;Right&quot;,&quot;Left&quot;,&quot;Bottom&quot;]).each(function(i,j){f[i]=m(d.css(&quot;padding&quot;+j))});b.containerOffset=d.offset();b.containerPosition=d.position();b.containerSize={height:d.innerHeight()-f[3],width:d.innerWidth()-f[1]};c=b.containerOffset;
-var g=b.containerSize.height,h=b.containerSize.width;h=e.ui.hasScroll(a,&quot;left&quot;)?a.scrollWidth:h;g=e.ui.hasScroll(a)?a.scrollHeight:g;b.parentData={element:a,left:c.left,top:c.top,width:h,height:g}}}},resize:function(b){var a=e(this).data(&quot;resizable&quot;),c=a.options,d=a.containerOffset,f=a.position;b=a._aspectRatio||b.shiftKey;var g={top:0,left:0},h=a.containerElement;if(h[0]!=document&amp;&amp;/static/.test(h.css(&quot;position&quot;)))g=d;if(f.left&lt;(a._helper?d.left:0)){a.size.width+=a._helper?a.position.left-d.left:
-a.position.left-g.left;if(b)a.size.height=a.size.width/c.aspectRatio;a.position.left=c.helper?d.left:0}if(f.top&lt;(a._helper?d.top:0)){a.size.height+=a._helper?a.position.top-d.top:a.position.top;if(b)a.size.width=a.size.height*c.aspectRatio;a.position.top=a._helper?d.top:0}a.offset.left=a.parentData.left+a.position.left;a.offset.top=a.parentData.top+a.position.top;c=Math.abs((a._helper?a.offset.left-g.left:a.offset.left-g.left)+a.sizeDiff.width);d=Math.abs((a._helper?a.offset.top-g.top:a.offset.top-
-d.top)+a.sizeDiff.height);f=a.containerElement.get(0)==a.element.parent().get(0);g=/relative|absolute/.test(a.containerElement.css(&quot;position&quot;));if(f&amp;&amp;g)c-=a.parentData.left;if(c+a.size.width&gt;=a.parentData.width){a.size.width=a.parentData.width-c;if(b)a.size.height=a.size.width/a.aspectRatio}if(d+a.size.height&gt;=a.parentData.height){a.size.height=a.parentData.height-d;if(b)a.size.width=a.size.height*a.aspectRatio}},stop:function(){var b=e(this).data(&quot;resizable&quot;),a=b.options,c=b.containerOffset,d=b.containerPosition,
-f=b.containerElement,g=e(b.helper),h=g.offset(),i=g.outerWidth()-b.sizeDiff.width;g=g.outerHeight()-b.sizeDiff.height;b._helper&amp;&amp;!a.animate&amp;&amp;/relative/.test(f.css(&quot;position&quot;))&amp;&amp;e(this).css({left:h.left-d.left-c.left,width:i,height:g});b._helper&amp;&amp;!a.animate&amp;&amp;/static/.test(f.css(&quot;position&quot;))&amp;&amp;e(this).css({left:h.left-d.left-c.left,width:i,height:g})}});e.ui.plugin.add(&quot;resizable&quot;,&quot;ghost&quot;,{start:function(){var b=e(this).data(&quot;resizable&quot;),a=b.options,c=b.size;b.ghost=b.originalElement.clone();b.ghost.css({opacity:0.25,
-display:&quot;block&quot;,position:&quot;relative&quot;,height:c.height,width:c.width,margin:0,left:0,top:0}).addClass(&quot;ui-resizable-ghost&quot;).addClass(typeof a.ghost==&quot;string&quot;?a.ghost:&quot;&quot;);b.ghost.appendTo(b.helper)},resize:function(){var b=e(this).data(&quot;resizable&quot;);b.ghost&amp;&amp;b.ghost.css({position:&quot;relative&quot;,height:b.size.height,width:b.size.width})},stop:function(){var b=e(this).data(&quot;resizable&quot;);b.ghost&amp;&amp;b.helper&amp;&amp;b.helper.get(0).removeChild(b.ghost.get(0))}});e.ui.plugin.add(&quot;resizable&quot;,&quot;grid&quot;,{resize:function(){var b=
-e(this).data(&quot;resizable&quot;),a=b.options,c=b.size,d=b.originalSize,f=b.originalPosition,g=b.axis;a.grid=typeof a.grid==&quot;number&quot;?[a.grid,a.grid]:a.grid;var h=Math.round((c.width-d.width)/(a.grid[0]||1))*(a.grid[0]||1);a=Math.round((c.height-d.height)/(a.grid[1]||1))*(a.grid[1]||1);if(/^(se|s|e)$/.test(g)){b.size.width=d.width+h;b.size.height=d.height+a}else if(/^(ne)$/.test(g)){b.size.width=d.width+h;b.size.height=d.height+a;b.position.top=f.top-a}else{if(/^(sw)$/.test(g)){b.size.width=d.width+h;b.size.height=
-d.height+a}else{b.size.width=d.width+h;b.size.height=d.height+a;b.position.top=f.top-a}b.position.left=f.left-h}}});var m=function(b){return parseInt(b,10)||0},k=function(b){return!isNaN(parseInt(b,10))}})(jQuery);
</del><ins>+/*! jQuery UI - v1.8.19 - 2012-04-16
+* https://github.com/jquery/jquery-ui
+* Includes: jquery.ui.resizable.js
+* Copyright (c) 2012 AUTHORS.txt; Licensed MIT, GPL */
+(function(a,b){a.widget(&quot;ui.resizable&quot;,a.ui.mouse,{widgetEventPrefix:&quot;resize&quot;,options:{alsoResize:!1,animate:!1,animateDuration:&quot;slow&quot;,animateEasing:&quot;swing&quot;,aspectRatio:!1,autoHide:!1,containment:!1,ghost:!1,grid:!1,handles:&quot;e,s,se&quot;,helper:!1,maxHeight:null,maxWidth:null,minHeight:10,minWidth:10,zIndex:1e3},_create:function(){var b=this,c=this.options;this.element.addClass(&quot;ui-resizable&quot;),a.extend(this,{_aspectRatio:!!c.aspectRatio,aspectRatio:c.aspectRatio,originalElement:this.element,_proportionallyResizeElements:[],_helper:c.helper||c.ghost||c.animate?c.helper||&quot;ui-resizable-helper&quot;:null}),this.element[0].nodeName.match(/canvas|textarea|input|select|button|img/i)&amp;&amp;(this.element.wrap(a('&lt;div class=&quot;ui-wrapper&quot; style=&quot;overflow: hidden;&quot;&gt;&lt;/div&gt;').css({position:this.element.css(&quot;position&quot;),width:this.element.outerWidth(),height:this.element.outerHeight(),top
 :this.element.css(&quot;top&quot;),left:this.element.css(&quot;left&quot;)})),this.element=this.element.parent().data(&quot;resizable&quot;,this.element.data(&quot;resizable&quot;)),this.elementIsWrapper=!0,this.element.css({marginLeft:this.originalElement.css(&quot;marginLeft&quot;),marginTop:this.originalElement.css(&quot;marginTop&quot;),marginRight:this.originalElement.css(&quot;marginRight&quot;),marginBottom:this.originalElement.css(&quot;marginBottom&quot;)}),this.originalElement.css({marginLeft:0,marginTop:0,marginRight:0,marginBottom:0}),this.originalResizeStyle=this.originalElement.css(&quot;resize&quot;),this.originalElement.css(&quot;resize&quot;,&quot;none&quot;),this._proportionallyResizeElements.push(this.originalElement.css({position:&quot;static&quot;,zoom:1,display:&quot;block&quot;})),this.originalElement.css({margin:this.originalElement.css(&quot;margin&quot;)}),this._proportionallyResize()),this.handles=c.handles||(a(&quot;.ui-resizable-handle&quot;,this
 .element).length?{n:&quot;.ui-resizable-n&quot;,e:&quot;.ui-resizable-e&quot;,s:&quot;.ui-resizable-s&quot;,w:&quot;.ui-resizable-w&quot;,se:&quot;.ui-resizable-se&quot;,sw:&quot;.ui-resizable-sw&quot;,ne:&quot;.ui-resizable-ne&quot;,nw:&quot;.ui-resizable-nw&quot;}:&quot;e,s,se&quot;);if(this.handles.constructor==String){this.handles==&quot;all&quot;&amp;&amp;(this.handles=&quot;n,e,s,w,se,sw,ne,nw&quot;);var d=this.handles.split(&quot;,&quot;);this.handles={};for(var e=0;e&lt;d.length;e++){var f=a.trim(d[e]),g=&quot;ui-resizable-&quot;+f,h=a('&lt;div class=&quot;ui-resizable-handle '+g+'&quot;&gt;&lt;/div&gt;');/sw|se|ne|nw/.test(f)&amp;&amp;h.css({zIndex:++c.zIndex}),&quot;se&quot;==f&amp;&amp;h.addClass(&quot;ui-icon ui-icon-gripsmall-diagonal-se&quot;),this.handles[f]=&quot;.ui-resizable-&quot;+f,this.element.append(h)}}this._renderAxis=function(b){b=b||this.element;for(var c in this.handles){this.handles[c].constructor==String&amp;&amp;(this.handles[c]=a(this.handles[c
 ],this.element).show());if(this.elementIsWrapper&amp;&amp;this.originalElement[0].nodeName.match(/textarea|input|select|button/i)){var d=a(this.handles[c],this.element),e=0;e=/sw|ne|nw|se|n|s/.test(c)?d.outerHeight():d.outerWidth();var f=[&quot;padding&quot;,/ne|nw|n/.test(c)?&quot;Top&quot;:/se|sw|s/.test(c)?&quot;Bottom&quot;:/^e$/.test(c)?&quot;Right&quot;:&quot;Left&quot;].join(&quot;&quot;);b.css(f,e),this._proportionallyResize()}if(!a(this.handles[c]).length)continue}},this._renderAxis(this.element),this._handles=a(&quot;.ui-resizable-handle&quot;,this.element).disableSelection(),this._handles.mouseover(function(){if(!b.resizing){if(this.className)var a=this.className.match(/ui-resizable-(se|sw|ne|nw|n|e|s|w)/i);b.axis=a&amp;&amp;a[1]?a[1]:&quot;se&quot;}}),c.autoHide&amp;&amp;(this._handles.hide(),a(this.element).addClass(&quot;ui-resizable-autohide&quot;).hover(function(){if(c.disabled)return;a(this).removeClass(&quot;ui-resizable-autohide&quot;),b._handles.show()},f
 unction(){if(c.disabled)return;b.resizing||(a(this).addClass(&quot;ui-resizable-autohide&quot;),b._handles.hide())})),this._mouseInit()},destroy:function(){this._mouseDestroy();var b=function(b){a(b).removeClass(&quot;ui-resizable ui-resizable-disabled ui-resizable-resizing&quot;).removeData(&quot;resizable&quot;).unbind(&quot;.resizable&quot;).find(&quot;.ui-resizable-handle&quot;).remove()};if(this.elementIsWrapper){b(this.element);var c=this.element;c.after(this.originalElement.css({position:c.css(&quot;position&quot;),width:c.outerWidth(),height:c.outerHeight(),top:c.css(&quot;top&quot;),left:c.css(&quot;left&quot;)})).remove()}return this.originalElement.css(&quot;resize&quot;,this.originalResizeStyle),b(this.originalElement),this},_mouseCapture:function(b){var c=!1;for(var d in this.handles)a(this.handles[d])[0]==b.target&amp;&amp;(c=!0);return!this.options.disabled&amp;&amp;c},_mouseStart:function(b){var d=this.options,e=this.element.position(),f=this.element;this.res
 izing=!0,this.documentScroll={top:a(document).scrollTop(),left:a(document).scrollLeft()},(f.is(&quot;.ui-draggable&quot;)||/absolute/.test(f.css(&quot;position&quot;)))&amp;&amp;f.css({position:&quot;absolute&quot;,top:e.top,left:e.left}),this._renderProxy();var g=c(this.helper.css(&quot;left&quot;)),h=c(this.helper.css(&quot;top&quot;));d.containment&amp;&amp;(g+=a(d.containment).scrollLeft()||0,h+=a(d.containment).scrollTop()||0),this.offset=this.helper.offset(),this.position={left:g,top:h},this.size=this._helper?{width:f.outerWidth(),height:f.outerHeight()}:{width:f.width(),height:f.height()},this.originalSize=this._helper?{width:f.outerWidth(),height:f.outerHeight()}:{width:f.width(),height:f.height()},this.originalPosition={left:g,top:h},this.sizeDiff={width:f.outerWidth()-f.width(),height:f.outerHeight()-f.height()},this.originalMousePosition={left:b.pageX,top:b.pageY},this.aspectRatio=typeof d.aspectRatio==&quot;number&quot;?d.aspectRatio:this.originalSize.width/this.
 originalSize.height||1;var i=a(&quot;.ui-resizable-&quot;+this.axis).css(&quot;cursor&quot;);return a(&quot;body&quot;).css(&quot;cursor&quot;,i==&quot;auto&quot;?this.axis+&quot;-resize&quot;:i),f.addClass(&quot;ui-resizable-resizing&quot;),this._propagate(&quot;start&quot;,b),!0},_mouseDrag:function(b){var c=this.helper,d=this.options,e={},f=this,g=this.originalMousePosition,h=this.axis,i=b.pageX-g.left||0,j=b.pageY-g.top||0,k=this._change[h];if(!k)return!1;var l=k.apply(this,[b,i,j]),m=a.browser.msie&amp;&amp;a.browser.version&lt;7,n=this.sizeDiff;this._updateVirtualBoundaries(b.shiftKey);if(this._aspectRatio||b.shiftKey)l=this._updateRatio(l,b);return l=this._respectSize(l,b),this._propagate(&quot;resize&quot;,b),c.css({top:this.position.top+&quot;px&quot;,left:this.position.left+&quot;px&quot;,width:this.size.width+&quot;px&quot;,height:this.size.height+&quot;px&quot;}),!this._helper&amp;&amp;this._proportionallyResizeElements.length&amp;&amp;this._proportionallyResize(
 ),this._updateCache(l),this._trigger(&quot;resize&quot;,b,this.ui()),!1},_mouseStop:function(b){this.resizing=!1;var c=this.options,d=this;if(this._helper){var e=this._proportionallyResizeElements,f=e.length&amp;&amp;/textarea/i.test(e[0].nodeName),g=f&amp;&amp;a.ui.hasScroll(e[0],&quot;left&quot;)?0:d.sizeDiff.height,h=f?0:d.sizeDiff.width,i={width:d.helper.width()-h,height:d.helper.height()-g},j=parseInt(d.element.css(&quot;left&quot;),10)+(d.position.left-d.originalPosition.left)||null,k=parseInt(d.element.css(&quot;top&quot;),10)+(d.position.top-d.originalPosition.top)||null;c.animate||this.element.css(a.extend(i,{top:k,left:j})),d.helper.height(d.size.height),d.helper.width(d.size.width),this._helper&amp;&amp;!c.animate&amp;&amp;this._proportionallyResize()}return a(&quot;body&quot;).css(&quot;cursor&quot;,&quot;auto&quot;),this.element.removeClass(&quot;ui-resizable-resizing&quot;),this._propagate(&quot;stop&quot;,b),this._helper&amp;&amp;this.helper.remove(),!1},_upda
 teVirtualBoundaries:function(a){var b=this.options,c,e,f,g,h;h={minWidth:d(b.minWidth)?b.minWidth:0,maxWidth:d(b.maxWidth)?b.maxWidth:Infinity,minHeight:d(b.minHeight)?b.minHeight:0,maxHeight:d(b.maxHeight)?b.maxHeight:Infinity};if(this._aspectRatio||a)c=h.minHeight*this.aspectRatio,f=h.minWidth/this.aspectRatio,e=h.maxHeight*this.aspectRatio,g=h.maxWidth/this.aspectRatio,c&gt;h.minWidth&amp;&amp;(h.minWidth=c),f&gt;h.minHeight&amp;&amp;(h.minHeight=f),e&lt;h.maxWidth&amp;&amp;(h.maxWidth=e),g&lt;h.maxHeight&amp;&amp;(h.maxHeight=g);this._vBoundaries=h},_updateCache:function(a){var b=this.options;this.offset=this.helper.offset(),d(a.left)&amp;&amp;(this.position.left=a.left),d(a.top)&amp;&amp;(this.position.top=a.top),d(a.height)&amp;&amp;(this.size.height=a.height),d(a.width)&amp;&amp;(this.size.width=a.width)},_updateRatio:function(a,b){var c=this.options,e=this.position,f=this.size,g=this.axis;return d(a.height)?a.width=a.height*this.aspectRatio:d(a.width)&amp;&amp;(a.hei
 ght=a.width/this.aspectRatio),g==&quot;sw&quot;&amp;&amp;(a.left=e.left+(f.width-a.width),a.top=null),g==&quot;nw&quot;&amp;&amp;(a.top=e.top+(f.height-a.height),a.left=e.left+(f.width-a.width)),a},_respectSize:function(a,b){var c=this.helper,e=this._vBoundaries,f=this._aspectRatio||b.shiftKey,g=this.axis,h=d(a.width)&amp;&amp;e.maxWidth&amp;&amp;e.maxWidth&lt;a.width,i=d(a.height)&amp;&amp;e.maxHeight&amp;&amp;e.maxHeight&lt;a.height,j=d(a.width)&amp;&amp;e.minWidth&amp;&amp;e.minWidth&gt;a.width,k=d(a.height)&amp;&amp;e.minHeight&amp;&amp;e.minHeight&gt;a.height;j&amp;&amp;(a.width=e.minWidth),k&amp;&amp;(a.height=e.minHeight),h&amp;&amp;(a.width=e.maxWidth),i&amp;&amp;(a.height=e.maxHeight);var l=this.originalPosition.left+this.originalSize.width,m=this.position.top+this.size.height,n=/sw|nw|w/.test(g),o=/nw|ne|n/.test(g);j&amp;&amp;n&amp;&amp;(a.left=l-e.minWidth),h&amp;&amp;n&amp;&amp;(a.left=l-e.maxWidth),k&amp;&amp;o&amp;&amp;(a.top=m-e.minHeight),i&amp;&amp;o&amp;&am
 p;(a.top=m-e.maxHeight);var p=!a.width&amp;&amp;!a.height;return p&amp;&amp;!a.left&amp;&amp;a.top?a.top=null:p&amp;&amp;!a.top&amp;&amp;a.left&amp;&amp;(a.left=null),a},_proportionallyResize:function(){var b=this.options;if(!this._proportionallyResizeElements.length)return;var c=this.helper||this.element;for(var d=0;d&lt;this._proportionallyResizeElements.length;d++){var e=this._proportionallyResizeElements[d];if(!this.borderDif){var f=[e.css(&quot;borderTopWidth&quot;),e.css(&quot;borderRightWidth&quot;),e.css(&quot;borderBottomWidth&quot;),e.css(&quot;borderLeftWidth&quot;)],g=[e.css(&quot;paddingTop&quot;),e.css(&quot;paddingRight&quot;),e.css(&quot;paddingBottom&quot;),e.css(&quot;paddingLeft&quot;)];this.borderDif=a.map(f,function(a,b){var c=parseInt(a,10)||0,d=parseInt(g[b],10)||0;return c+d})}if(!a.browser.msie||!a(c).is(&quot;:hidden&quot;)&amp;&amp;!a(c).parents(&quot;:hidden&quot;).length)e.css({height:c.height()-this.borderDif[0]-this.borderDif[2]||0,width:c.widt
 h()-this.borderDif[1]-this.borderDif[3]||0});else continue}},_renderProxy:function(){var b=this.element,c=this.options;this.elementOffset=b.offset();if(this._helper){this.helper=this.helper||a('&lt;div style=&quot;overflow:hidden;&quot;&gt;&lt;/div&gt;');var d=a.browser.msie&amp;&amp;a.browser.version&lt;7,e=d?1:0,f=d?2:-1;this.helper.addClass(this._helper).css({width:this.element.outerWidth()+f,height:this.element.outerHeight()+f,position:&quot;absolute&quot;,left:this.elementOffset.left-e+&quot;px&quot;,top:this.elementOffset.top-e+&quot;px&quot;,zIndex:++c.zIndex}),this.helper.appendTo(&quot;body&quot;).disableSelection()}else this.helper=this.element},_change:{e:function(a,b,c){return{width:this.originalSize.width+b}},w:function(a,b,c){var d=this.options,e=this.originalSize,f=this.originalPosition;return{left:f.left+b,width:e.width-b}},n:function(a,b,c){var d=this.options,e=this.originalSize,f=this.originalPosition;return{top:f.top+c,height:e.height-c}},s:function(a,b,c)
 {return{height:this.originalSize.height+c}},se:function(b,c,d){return a.extend(this._change.s.apply(this,arguments),this._change.e.apply(this,[b,c,d]))},sw:function(b,c,d){return a.extend(this._change.s.apply(this,arguments),this._change.w.apply(this,[b,c,d]))},ne:function(b,c,d){return a.extend(this._change.n.apply(this,arguments),this._change.e.apply(this,[b,c,d]))},nw:function(b,c,d){return a.extend(this._change.n.apply(this,arguments),this._change.w.apply(this,[b,c,d]))}},_propagate:function(b,c){a.ui.plugin.call(this,b,[c,this.ui()]),b!=&quot;resize&quot;&amp;&amp;this._trigger(b,c,this.ui())},plugins:{},ui:function(){return{originalElement:this.originalElement,element:this.element,helper:this.helper,position:this.position,size:this.size,originalSize:this.originalSize,originalPosition:this.originalPosition}}}),a.extend(a.ui.resizable,{version:&quot;1.8.19&quot;}),a.ui.plugin.add(&quot;resizable&quot;,&quot;alsoResize&quot;,{start:function(b,c){var d=a(this).data(&quot;r
 esizable&quot;),e=d.options,f=function(b){a(b).each(function(){var b=a(this);b.data(&quot;resizable-alsoresize&quot;,{width:parseInt(b.width(),10),height:parseInt(b.height(),10),left:parseInt(b.css(&quot;left&quot;),10),top:parseInt(b.css(&quot;top&quot;),10)})})};typeof e.alsoResize==&quot;object&quot;&amp;&amp;!e.alsoResize.parentNode?e.alsoResize.length?(e.alsoResize=e.alsoResize[0],f(e.alsoResize)):a.each(e.alsoResize,function(a){f(a)}):f(e.alsoResize)},resize:function(b,c){var d=a(this).data(&quot;resizable&quot;),e=d.options,f=d.originalSize,g=d.originalPosition,h={height:d.size.height-f.height||0,width:d.size.width-f.width||0,top:d.position.top-g.top||0,left:d.position.left-g.left||0},i=function(b,d){a(b).each(function(){var b=a(this),e=a(this).data(&quot;resizable-alsoresize&quot;),f={},g=d&amp;&amp;d.length?d:b.parents(c.originalElement[0]).length?[&quot;width&quot;,&quot;height&quot;]:[&quot;width&quot;,&quot;height&quot;,&quot;top&quot;,&quot;left&quot;];a.each(g,
 function(a,b){var c=(e[b]||0)+(h[b]||0);c&amp;&amp;c&gt;=0&amp;&amp;(f[b]=c||null)}),b.css(f)})};typeof e.alsoResize==&quot;object&quot;&amp;&amp;!e.alsoResize.nodeType?a.each(e.alsoResize,function(a,b){i(a,b)}):i(e.alsoResize)},stop:function(b,c){a(this).removeData(&quot;resizable-alsoresize&quot;)}}),a.ui.plugin.add(&quot;resizable&quot;,&quot;animate&quot;,{stop:function(b,c){var d=a(this).data(&quot;resizable&quot;),e=d.options,f=d._proportionallyResizeElements,g=f.length&amp;&amp;/textarea/i.test(f[0].nodeName),h=g&amp;&amp;a.ui.hasScroll(f[0],&quot;left&quot;)?0:d.sizeDiff.height,i=g?0:d.sizeDiff.width,j={width:d.size.width-i,height:d.size.height-h},k=parseInt(d.element.css(&quot;left&quot;),10)+(d.position.left-d.originalPosition.left)||null,l=parseInt(d.element.css(&quot;top&quot;),10)+(d.position.top-d.originalPosition.top)||null;d.element.animate(a.extend(j,l&amp;&amp;k?{top:l,left:k}:{}),{duration:e.animateDuration,easing:e.animateEasing,step:function(){var c={wid
 th:parseInt(d.element.css(&quot;width&quot;),10),height:parseInt(d.element.css(&quot;height&quot;),10),top:parseInt(d.element.css(&quot;top&quot;),10),left:parseInt(d.element.css(&quot;left&quot;),10)};f&amp;&amp;f.length&amp;&amp;a(f[0]).css({width:c.width,height:c.height}),d._updateCache(c),d._propagate(&quot;resize&quot;,b)}})}}),a.ui.plugin.add(&quot;resizable&quot;,&quot;containment&quot;,{start:function(b,d){var e=a(this).data(&quot;resizable&quot;),f=e.options,g=e.element,h=f.containment,i=h instanceof a?h.get(0):/parent/.test(h)?g.parent().get(0):h;if(!i)return;e.containerElement=a(i);if(/document/.test(h)||h==document)e.containerOffset={left:0,top:0},e.containerPosition={left:0,top:0},e.parentData={element:a(document),left:0,top:0,width:a(document).width(),height:a(document).height()||document.body.parentNode.scrollHeight};else{var j=a(i),k=[];a([&quot;Top&quot;,&quot;Right&quot;,&quot;Left&quot;,&quot;Bottom&quot;]).each(function(a,b){k[a]=c(j.css(&quot;padding&quo
 t;+b))}),e.containerOffset=j.offset(),e.containerPosition=j.position(),e.containerSize={height:j.innerHeight()-k[3],width:j.innerWidth()-k[1]};var l=e.containerOffset,m=e.containerSize.height,n=e.containerSize.width,o=a.ui.hasScroll(i,&quot;left&quot;)?i.scrollWidth:n,p=a.ui.hasScroll(i)?i.scrollHeight:m;e.parentData={element:i,left:l.left,top:l.top,width:o,height:p}}},resize:function(b,c){var d=a(this).data(&quot;resizable&quot;),e=d.options,f=d.containerSize,g=d.containerOffset,h=d.size,i=d.position,j=d._aspectRatio||b.shiftKey,k={top:0,left:0},l=d.containerElement;l[0]!=document&amp;&amp;/static/.test(l.css(&quot;position&quot;))&amp;&amp;(k=g),i.left&lt;(d._helper?g.left:0)&amp;&amp;(d.size.width=d.size.width+(d._helper?d.position.left-g.left:d.position.left-k.left),j&amp;&amp;(d.size.height=d.size.width/d.aspectRatio),d.position.left=e.helper?g.left:0),i.top&lt;(d._helper?g.top:0)&amp;&amp;(d.size.height=d.size.height+(d._helper?d.position.top-g.top:d.position.top),j&am
 p;&amp;(d.size.width=d.size.height*d.aspectRatio),d.position.top=d._helper?g.top:0),d.offset.left=d.parentData.left+d.position.left,d.offset.top=d.parentData.top+d.position.top;var m=Math.abs((d._helper?d.offset.left-k.left:d.offset.left-k.left)+d.sizeDiff.width),n=Math.abs((d._helper?d.offset.top-k.top:d.offset.top-g.top)+d.sizeDiff.height),o=d.containerElement.get(0)==d.element.parent().get(0),p=/relative|absolute/.test(d.containerElement.css(&quot;position&quot;));o&amp;&amp;p&amp;&amp;(m-=d.parentData.left),m+d.size.width&gt;=d.parentData.width&amp;&amp;(d.size.width=d.parentData.width-m,j&amp;&amp;(d.size.height=d.size.width/d.aspectRatio)),n+d.size.height&gt;=d.parentData.height&amp;&amp;(d.size.height=d.parentData.height-n,j&amp;&amp;(d.size.width=d.size.height*d.aspectRatio))},stop:function(b,c){var d=a(this).data(&quot;resizable&quot;),e=d.options,f=d.position,g=d.containerOffset,h=d.containerPosition,i=d.containerElement,j=a(d.helper),k=j.offset(),l=j.outerWidth()-
 d.sizeDiff.width,m=j.outerHeight()-d.sizeDiff.height;d._helper&amp;&amp;!e.animate&amp;&amp;/relative/.test(i.css(&quot;position&quot;))&amp;&amp;a(this).css({left:k.left-h.left-g.left,width:l,height:m}),d._helper&amp;&amp;!e.animate&amp;&amp;/static/.test(i.css(&quot;position&quot;))&amp;&amp;a(this).css({left:k.left-h.left-g.left,width:l,height:m})}}),a.ui.plugin.add(&quot;resizable&quot;,&quot;ghost&quot;,{start:function(b,c){var d=a(this).data(&quot;resizable&quot;),e=d.options,f=d.size;d.ghost=d.originalElement.clone(),d.ghost.css({opacity:.25,display:&quot;block&quot;,position:&quot;relative&quot;,height:f.height,width:f.width,margin:0,left:0,top:0}).addClass(&quot;ui-resizable-ghost&quot;).addClass(typeof e.ghost==&quot;string&quot;?e.ghost:&quot;&quot;),d.ghost.appendTo(d.helper)},resize:function(b,c){var d=a(this).data(&quot;resizable&quot;),e=d.options;d.ghost&amp;&amp;d.ghost.css({position:&quot;relative&quot;,height:d.size.height,width:d.size.width})},stop:functi
 on(b,c){var d=a(this).data(&quot;resizable&quot;),e=d.options;d.ghost&amp;&amp;d.helper&amp;&amp;d.helper.get(0).removeChild(d.ghost.get(0))}}),a.ui.plugin.add(&quot;resizable&quot;,&quot;grid&quot;,{resize:function(b,c){var d=a(this).data(&quot;resizable&quot;),e=d.options,f=d.size,g=d.originalSize,h=d.originalPosition,i=d.axis,j=e._aspectRatio||b.shiftKey;e.grid=typeof e.grid==&quot;number&quot;?[e.grid,e.grid]:e.grid;var k=Math.round((f.width-g.width)/(e.grid[0]||1))*(e.grid[0]||1),l=Math.round((f.height-g.height)/(e.grid[1]||1))*(e.grid[1]||1);/^(se|s|e)$/.test(i)?(d.size.width=g.width+k,d.size.height=g.height+l):/^(ne)$/.test(i)?(d.size.width=g.width+k,d.size.height=g.height+l,d.position.top=h.top-l):/^(sw)$/.test(i)?(d.size.width=g.width+k,d.size.height=g.height+l,d.position.left=h.left-k):(d.size.width=g.width+k,d.size.height=g.height+l,d.position.top=h.top-l,d.position.left=h.left-k)}});var c=function(a){return parseInt(a,10)||0},d=function(a){return!isNaN(parseInt(a
 ,10))}})(jQuery)
</ins><span class="cx">\ No newline at end of file
</span></span></pre></div>
<a id="trunkwpincludesjsjqueryuijqueryuiselectableminjs"></a>
<div class="modfile"><h4>Modified: trunk/wp-includes/js/jquery/ui/jquery.ui.selectable.min.js (20491 => 20492)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-includes/js/jquery/ui/jquery.ui.selectable.min.js        2012-04-17 03:41:07 UTC (rev 20491)
+++ trunk/wp-includes/js/jquery/ui/jquery.ui.selectable.min.js        2012-04-17 16:49:17 UTC (rev 20492)
</span><span class="lines">@@ -1,22 +1,5 @@
</span><del>-/*
- * jQuery UI Selectable 1.8.16
- *
- * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
- * Dual licensed under the MIT or GPL Version 2 licenses.
- * http://jquery.org/license
- *
- * http://docs.jquery.com/UI/Selectables
- *
- * Depends:
- *        jquery.ui.core.js
- *        jquery.ui.mouse.js
- *        jquery.ui.widget.js
- */
-(function(e){e.widget(&quot;ui.selectable&quot;,e.ui.mouse,{options:{appendTo:&quot;body&quot;,autoRefresh:true,distance:0,filter:&quot;*&quot;,tolerance:&quot;touch&quot;},_create:function(){var c=this;this.element.addClass(&quot;ui-selectable&quot;);this.dragged=false;var f;this.refresh=function(){f=e(c.options.filter,c.element[0]);f.each(function(){var d=e(this),b=d.offset();e.data(this,&quot;selectable-item&quot;,{element:this,$element:d,left:b.left,top:b.top,right:b.left+d.outerWidth(),bottom:b.top+d.outerHeight(),startselected:false,selected:d.hasClass(&quot;ui-selected&quot;),
-selecting:d.hasClass(&quot;ui-selecting&quot;),unselecting:d.hasClass(&quot;ui-unselecting&quot;)})})};this.refresh();this.selectees=f.addClass(&quot;ui-selectee&quot;);this._mouseInit();this.helper=e(&quot;&lt;div class='ui-selectable-helper'&gt;&lt;/div&gt;&quot;)},destroy:function(){this.selectees.removeClass(&quot;ui-selectee&quot;).removeData(&quot;selectable-item&quot;);this.element.removeClass(&quot;ui-selectable ui-selectable-disabled&quot;).removeData(&quot;selectable&quot;).unbind(&quot;.selectable&quot;);this._mouseDestroy();return this},_mouseStart:function(c){var f=this;this.opos=[c.pageX,
-c.pageY];if(!this.options.disabled){var d=this.options;this.selectees=e(d.filter,this.element[0]);this._trigger(&quot;start&quot;,c);e(d.appendTo).append(this.helper);this.helper.css({left:c.clientX,top:c.clientY,width:0,height:0});d.autoRefresh&amp;&amp;this.refresh();this.selectees.filter(&quot;.ui-selected&quot;).each(function(){var b=e.data(this,&quot;selectable-item&quot;);b.startselected=true;if(!c.metaKey){b.$element.removeClass(&quot;ui-selected&quot;);b.selected=false;b.$element.addClass(&quot;ui-unselecting&quot;);b.unselecting=true;f._trigger(&quot;unselecting&quot;,
-c,{unselecting:b.element})}});e(c.target).parents().andSelf().each(function(){var b=e.data(this,&quot;selectable-item&quot;);if(b){var g=!c.metaKey||!b.$element.hasClass(&quot;ui-selected&quot;);b.$element.removeClass(g?&quot;ui-unselecting&quot;:&quot;ui-selected&quot;).addClass(g?&quot;ui-selecting&quot;:&quot;ui-unselecting&quot;);b.unselecting=!g;b.selecting=g;(b.selected=g)?f._trigger(&quot;selecting&quot;,c,{selecting:b.element}):f._trigger(&quot;unselecting&quot;,c,{unselecting:b.element});return false}})}},_mouseDrag:function(c){var f=this;this.dragged=true;if(!this.options.disabled){var d=
-this.options,b=this.opos[0],g=this.opos[1],h=c.pageX,i=c.pageY;if(b&gt;h){var j=h;h=b;b=j}if(g&gt;i){j=i;i=g;g=j}this.helper.css({left:b,top:g,width:h-b,height:i-g});this.selectees.each(function(){var a=e.data(this,&quot;selectable-item&quot;);if(!(!a||a.element==f.element[0])){var k=false;if(d.tolerance==&quot;touch&quot;)k=!(a.left&gt;h||a.right&lt;b||a.top&gt;i||a.bottom&lt;g);else if(d.tolerance==&quot;fit&quot;)k=a.left&gt;b&amp;&amp;a.right&lt;h&amp;&amp;a.top&gt;g&amp;&amp;a.bottom&lt;i;if(k){if(a.selected){a.$element.removeClass(&quot;ui-selected&quot;);a.selected=false}if(a.unselecting){a.$element.removeClass(&quot;ui-unselecting&quot;);
-a.unselecting=false}if(!a.selecting){a.$element.addClass(&quot;ui-selecting&quot;);a.selecting=true;f._trigger(&quot;selecting&quot;,c,{selecting:a.element})}}else{if(a.selecting)if(c.metaKey&amp;&amp;a.startselected){a.$element.removeClass(&quot;ui-selecting&quot;);a.selecting=false;a.$element.addClass(&quot;ui-selected&quot;);a.selected=true}else{a.$element.removeClass(&quot;ui-selecting&quot;);a.selecting=false;if(a.startselected){a.$element.addClass(&quot;ui-unselecting&quot;);a.unselecting=true}f._trigger(&quot;unselecting&quot;,c,{unselecting:a.element})}if(a.selected)if(!c.metaKey&amp;&amp;
-!a.startselected){a.$element.removeClass(&quot;ui-selected&quot;);a.selected=false;a.$element.addClass(&quot;ui-unselecting&quot;);a.unselecting=true;f._trigger(&quot;unselecting&quot;,c,{unselecting:a.element})}}}});return false}},_mouseStop:function(c){var f=this;this.dragged=false;e(&quot;.ui-unselecting&quot;,this.element[0]).each(function(){var d=e.data(this,&quot;selectable-item&quot;);d.$element.removeClass(&quot;ui-unselecting&quot;);d.unselecting=false;d.startselected=false;f._trigger(&quot;unselected&quot;,c,{unselected:d.element})});e(&quot;.ui-selecting&quot;,this.element[0]).each(function(){var d=
-e.data(this,&quot;selectable-item&quot;);d.$element.removeClass(&quot;ui-selecting&quot;).addClass(&quot;ui-selected&quot;);d.selecting=false;d.selected=true;d.startselected=true;f._trigger(&quot;selected&quot;,c,{selected:d.element})});this._trigger(&quot;stop&quot;,c);this.helper.remove();return false}});e.extend(e.ui.selectable,{version:&quot;1.8.16&quot;})})(jQuery);
</del><ins>+/*! jQuery UI - v1.8.19 - 2012-04-16
+* https://github.com/jquery/jquery-ui
+* Includes: jquery.ui.selectable.js
+* Copyright (c) 2012 AUTHORS.txt; Licensed MIT, GPL */
+(function(a,b){a.widget(&quot;ui.selectable&quot;,a.ui.mouse,{options:{appendTo:&quot;body&quot;,autoRefresh:!0,distance:0,filter:&quot;*&quot;,tolerance:&quot;touch&quot;},_create:function(){var b=this;this.element.addClass(&quot;ui-selectable&quot;),this.dragged=!1;var c;this.refresh=function(){c=a(b.options.filter,b.element[0]),c.addClass(&quot;ui-selectee&quot;),c.each(function(){var b=a(this),c=b.offset();a.data(this,&quot;selectable-item&quot;,{element:this,$element:b,left:c.left,top:c.top,right:c.left+b.outerWidth(),bottom:c.top+b.outerHeight(),startselected:!1,selected:b.hasClass(&quot;ui-selected&quot;),selecting:b.hasClass(&quot;ui-selecting&quot;),unselecting:b.hasClass(&quot;ui-unselecting&quot;)})})},this.refresh(),this.selectees=c.addClass(&quot;ui-selectee&quot;),this._mouseInit(),this.helper=a(&quot;&lt;div class='ui-selectable-helper'&gt;&lt;/div&gt;&quot;)},destroy:function(){return this.selectees.removeClass(&quot;ui-selectee&quot;).removeData(&quot;select
 able-item&quot;),this.element.removeClass(&quot;ui-selectable ui-selectable-disabled&quot;).removeData(&quot;selectable&quot;).unbind(&quot;.selectable&quot;),this._mouseDestroy(),this},_mouseStart:function(b){var c=this;this.opos=[b.pageX,b.pageY];if(this.options.disabled)return;var d=this.options;this.selectees=a(d.filter,this.element[0]),this._trigger(&quot;start&quot;,b),a(d.appendTo).append(this.helper),this.helper.css({left:b.clientX,top:b.clientY,width:0,height:0}),d.autoRefresh&amp;&amp;this.refresh(),this.selectees.filter(&quot;.ui-selected&quot;).each(function(){var d=a.data(this,&quot;selectable-item&quot;);d.startselected=!0,!b.metaKey&amp;&amp;!b.ctrlKey&amp;&amp;(d.$element.removeClass(&quot;ui-selected&quot;),d.selected=!1,d.$element.addClass(&quot;ui-unselecting&quot;),d.unselecting=!0,c._trigger(&quot;unselecting&quot;,b,{unselecting:d.element}))}),a(b.target).parents().andSelf().each(function(){var d=a.data(this,&quot;selectable-item&quot;);if(d){var e=!b.m
 etaKey&amp;&amp;!b.ctrlKey||!d.$element.hasClass(&quot;ui-selected&quot;);return d.$element.removeClass(e?&quot;ui-unselecting&quot;:&quot;ui-selected&quot;).addClass(e?&quot;ui-selecting&quot;:&quot;ui-unselecting&quot;),d.unselecting=!e,d.selecting=e,d.selected=e,e?c._trigger(&quot;selecting&quot;,b,{selecting:d.element}):c._trigger(&quot;unselecting&quot;,b,{unselecting:d.element}),!1}})},_mouseDrag:function(b){var c=this;this.dragged=!0;if(this.options.disabled)return;var d=this.options,e=this.opos[0],f=this.opos[1],g=b.pageX,h=b.pageY;if(e&gt;g){var i=g;g=e,e=i}if(f&gt;h){var i=h;h=f,f=i}return this.helper.css({left:e,top:f,width:g-e,height:h-f}),this.selectees.each(function(){var i=a.data(this,&quot;selectable-item&quot;);if(!i||i.element==c.element[0])return;var j=!1;d.tolerance==&quot;touch&quot;?j=!(i.left&gt;g||i.right&lt;e||i.top&gt;h||i.bottom&lt;f):d.tolerance==&quot;fit&quot;&amp;&amp;(j=i.left&gt;e&amp;&amp;i.right&lt;g&amp;&amp;i.top&gt;f&amp;&amp;i.bottom&lt
 ;h),j?(i.selected&amp;&amp;(i.$element.removeClass(&quot;ui-selected&quot;),i.selected=!1),i.unselecting&amp;&amp;(i.$element.removeClass(&quot;ui-unselecting&quot;),i.unselecting=!1),i.selecting||(i.$element.addClass(&quot;ui-selecting&quot;),i.selecting=!0,c._trigger(&quot;selecting&quot;,b,{selecting:i.element}))):(i.selecting&amp;&amp;((b.metaKey||b.ctrlKey)&amp;&amp;i.startselected?(i.$element.removeClass(&quot;ui-selecting&quot;),i.selecting=!1,i.$element.addClass(&quot;ui-selected&quot;),i.selected=!0):(i.$element.removeClass(&quot;ui-selecting&quot;),i.selecting=!1,i.startselected&amp;&amp;(i.$element.addClass(&quot;ui-unselecting&quot;),i.unselecting=!0),c._trigger(&quot;unselecting&quot;,b,{unselecting:i.element}))),i.selected&amp;&amp;!b.metaKey&amp;&amp;!b.ctrlKey&amp;&amp;!i.startselected&amp;&amp;(i.$element.removeClass(&quot;ui-selected&quot;),i.selected=!1,i.$element.addClass(&quot;ui-unselecting&quot;),i.unselecting=!0,c._trigger(&quot;unselecting&quot;,b,{u
 nselecting:i.element})))}),!1},_mouseStop:function(b){var c=this;this.dragged=!1;var d=this.options;return a(&quot;.ui-unselecting&quot;,this.element[0]).each(function(){var d=a.data(this,&quot;selectable-item&quot;);d.$element.removeClass(&quot;ui-unselecting&quot;),d.unselecting=!1,d.startselected=!1,c._trigger(&quot;unselected&quot;,b,{unselected:d.element})}),a(&quot;.ui-selecting&quot;,this.element[0]).each(function(){var d=a.data(this,&quot;selectable-item&quot;);d.$element.removeClass(&quot;ui-selecting&quot;).addClass(&quot;ui-selected&quot;),d.selecting=!1,d.selected=!0,d.startselected=!0,c._trigger(&quot;selected&quot;,b,{selected:d.element})}),this._trigger(&quot;stop&quot;,b),this.helper.remove(),!1}}),a.extend(a.ui.selectable,{version:&quot;1.8.19&quot;})})(jQuery)
</ins><span class="cx">\ No newline at end of file
</span></span></pre></div>
<a id="trunkwpincludesjsjqueryuijqueryuisliderminjs"></a>
<div class="modfile"><h4>Modified: trunk/wp-includes/js/jquery/ui/jquery.ui.slider.min.js (20491 => 20492)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-includes/js/jquery/ui/jquery.ui.slider.min.js        2012-04-17 03:41:07 UTC (rev 20491)
+++ trunk/wp-includes/js/jquery/ui/jquery.ui.slider.min.js        2012-04-17 16:49:17 UTC (rev 20492)
</span><span class="lines">@@ -1,33 +1,5 @@
</span><del>-/*
- * jQuery UI Slider 1.8.16
- *
- * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
- * Dual licensed under the MIT or GPL Version 2 licenses.
- * http://jquery.org/license
- *
- * http://docs.jquery.com/UI/Slider
- *
- * Depends:
- *        jquery.ui.core.js
- *        jquery.ui.mouse.js
- *        jquery.ui.widget.js
- */
-(function(d){d.widget(&quot;ui.slider&quot;,d.ui.mouse,{widgetEventPrefix:&quot;slide&quot;,options:{animate:false,distance:0,max:100,min:0,orientation:&quot;horizontal&quot;,range:false,step:1,value:0,values:null},_create:function(){var a=this,b=this.options,c=this.element.find(&quot;.ui-slider-handle&quot;).addClass(&quot;ui-state-default ui-corner-all&quot;),f=b.values&amp;&amp;b.values.length||1,e=[];this._mouseSliding=this._keySliding=false;this._animateOff=true;this._handleIndex=null;this._detectOrientation();this._mouseInit();this.element.addClass(&quot;ui-slider ui-slider-&quot;+
-this.orientation+&quot; ui-widget ui-widget-content ui-corner-all&quot;+(b.disabled?&quot; ui-slider-disabled ui-disabled&quot;:&quot;&quot;));this.range=d([]);if(b.range){if(b.range===true){if(!b.values)b.values=[this._valueMin(),this._valueMin()];if(b.values.length&amp;&amp;b.values.length!==2)b.values=[b.values[0],b.values[0]]}this.range=d(&quot;&lt;div&gt;&lt;/div&gt;&quot;).appendTo(this.element).addClass(&quot;ui-slider-range ui-widget-header&quot;+(b.range===&quot;min&quot;||b.range===&quot;max&quot;?&quot; ui-slider-range-&quot;+b.range:&quot;&quot;))}for(var j=c.length;j&lt;f;j+=1)e.push(&quot;&lt;a class='ui-slider-handle ui-state-default ui-corner-all' href='#'&gt;&lt;/a&gt;&quot;);
-this.handles=c.add(d(e.join(&quot;&quot;)).appendTo(a.element));this.handle=this.handles.eq(0);this.handles.add(this.range).filter(&quot;a&quot;).click(function(g){g.preventDefault()}).hover(function(){b.disabled||d(this).addClass(&quot;ui-state-hover&quot;)},function(){d(this).removeClass(&quot;ui-state-hover&quot;)}).focus(function(){if(b.disabled)d(this).blur();else{d(&quot;.ui-slider .ui-state-focus&quot;).removeClass(&quot;ui-state-focus&quot;);d(this).addClass(&quot;ui-state-focus&quot;)}}).blur(function(){d(this).removeClass(&quot;ui-state-focus&quot;)});this.handles.each(function(g){d(this).data(&quot;index.ui-slider-handle&quot;,
-g)});this.handles.keydown(function(g){var k=true,l=d(this).data(&quot;index.ui-slider-handle&quot;),i,h,m;if(!a.options.disabled){switch(g.keyCode){case d.ui.keyCode.HOME:case d.ui.keyCode.END:case d.ui.keyCode.PAGE_UP:case d.ui.keyCode.PAGE_DOWN:case d.ui.keyCode.UP:case d.ui.keyCode.RIGHT:case d.ui.keyCode.DOWN:case d.ui.keyCode.LEFT:k=false;if(!a._keySliding){a._keySliding=true;d(this).addClass(&quot;ui-state-active&quot;);i=a._start(g,l);if(i===false)return}break}m=a.options.step;i=a.options.values&amp;&amp;a.options.values.length?
-(h=a.values(l)):(h=a.value());switch(g.keyCode){case d.ui.keyCode.HOME:h=a._valueMin();break;case d.ui.keyCode.END:h=a._valueMax();break;case d.ui.keyCode.PAGE_UP:h=a._trimAlignValue(i+(a._valueMax()-a._valueMin())/5);break;case d.ui.keyCode.PAGE_DOWN:h=a._trimAlignValue(i-(a._valueMax()-a._valueMin())/5);break;case d.ui.keyCode.UP:case d.ui.keyCode.RIGHT:if(i===a._valueMax())return;h=a._trimAlignValue(i+m);break;case d.ui.keyCode.DOWN:case d.ui.keyCode.LEFT:if(i===a._valueMin())return;h=a._trimAlignValue(i-
-m);break}a._slide(g,l,h);return k}}).keyup(function(g){var k=d(this).data(&quot;index.ui-slider-handle&quot;);if(a._keySliding){a._keySliding=false;a._stop(g,k);a._change(g,k);d(this).removeClass(&quot;ui-state-active&quot;)}});this._refreshValue();this._animateOff=false},destroy:function(){this.handles.remove();this.range.remove();this.element.removeClass(&quot;ui-slider ui-slider-horizontal ui-slider-vertical ui-slider-disabled ui-widget ui-widget-content ui-corner-all&quot;).removeData(&quot;slider&quot;).unbind(&quot;.slider&quot;);this._mouseDestroy();
-return this},_mouseCapture:function(a){var b=this.options,c,f,e,j,g;if(b.disabled)return false;this.elementSize={width:this.element.outerWidth(),height:this.element.outerHeight()};this.elementOffset=this.element.offset();c=this._normValueFromMouse({x:a.pageX,y:a.pageY});f=this._valueMax()-this._valueMin()+1;j=this;this.handles.each(function(k){var l=Math.abs(c-j.values(k));if(f&gt;l){f=l;e=d(this);g=k}});if(b.range===true&amp;&amp;this.values(1)===b.min){g+=1;e=d(this.handles[g])}if(this._start(a,g)===false)return false;
-this._mouseSliding=true;j._handleIndex=g;e.addClass(&quot;ui-state-active&quot;).focus();b=e.offset();this._clickOffset=!d(a.target).parents().andSelf().is(&quot;.ui-slider-handle&quot;)?{left:0,top:0}:{left:a.pageX-b.left-e.width()/2,top:a.pageY-b.top-e.height()/2-(parseInt(e.css(&quot;borderTopWidth&quot;),10)||0)-(parseInt(e.css(&quot;borderBottomWidth&quot;),10)||0)+(parseInt(e.css(&quot;marginTop&quot;),10)||0)};this.handles.hasClass(&quot;ui-state-hover&quot;)||this._slide(a,g,c);return this._animateOff=true},_mouseStart:function(){return true},_mouseDrag:function(a){var b=
-this._normValueFromMouse({x:a.pageX,y:a.pageY});this._slide(a,this._handleIndex,b);return false},_mouseStop:function(a){this.handles.removeClass(&quot;ui-state-active&quot;);this._mouseSliding=false;this._stop(a,this._handleIndex);this._change(a,this._handleIndex);this._clickOffset=this._handleIndex=null;return this._animateOff=false},_detectOrientation:function(){this.orientation=this.options.orientation===&quot;vertical&quot;?&quot;vertical&quot;:&quot;horizontal&quot;},_normValueFromMouse:function(a){var b;if(this.orientation===&quot;horizontal&quot;){b=
-this.elementSize.width;a=a.x-this.elementOffset.left-(this._clickOffset?this._clickOffset.left:0)}else{b=this.elementSize.height;a=a.y-this.elementOffset.top-(this._clickOffset?this._clickOffset.top:0)}b=a/b;if(b&gt;1)b=1;if(b&lt;0)b=0;if(this.orientation===&quot;vertical&quot;)b=1-b;a=this._valueMax()-this._valueMin();return this._trimAlignValue(this._valueMin()+b*a)},_start:function(a,b){var c={handle:this.handles[b],value:this.value()};if(this.options.values&amp;&amp;this.options.values.length){c.value=this.values(b);
-c.values=this.values()}return this._trigger(&quot;start&quot;,a,c)},_slide:function(a,b,c){var f;if(this.options.values&amp;&amp;this.options.values.length){f=this.values(b?0:1);if(this.options.values.length===2&amp;&amp;this.options.range===true&amp;&amp;(b===0&amp;&amp;c&gt;f||b===1&amp;&amp;c&lt;f))c=f;if(c!==this.values(b)){f=this.values();f[b]=c;a=this._trigger(&quot;slide&quot;,a,{handle:this.handles[b],value:c,values:f});this.values(b?0:1);a!==false&amp;&amp;this.values(b,c,true)}}else if(c!==this.value()){a=this._trigger(&quot;slide&quot;,a,{handle:this.handles[b],value:c});
-a!==false&amp;&amp;this.value(c)}},_stop:function(a,b){var c={handle:this.handles[b],value:this.value()};if(this.options.values&amp;&amp;this.options.values.length){c.value=this.values(b);c.values=this.values()}this._trigger(&quot;stop&quot;,a,c)},_change:function(a,b){if(!this._keySliding&amp;&amp;!this._mouseSliding){var c={handle:this.handles[b],value:this.value()};if(this.options.values&amp;&amp;this.options.values.length){c.value=this.values(b);c.values=this.values()}this._trigger(&quot;change&quot;,a,c)}},value:function(a){if(arguments.length){this.options.value=
-this._trimAlignValue(a);this._refreshValue();this._change(null,0)}else return this._value()},values:function(a,b){var c,f,e;if(arguments.length&gt;1){this.options.values[a]=this._trimAlignValue(b);this._refreshValue();this._change(null,a)}else if(arguments.length)if(d.isArray(arguments[0])){c=this.options.values;f=arguments[0];for(e=0;e&lt;c.length;e+=1){c[e]=this._trimAlignValue(f[e]);this._change(null,e)}this._refreshValue()}else return this.options.values&amp;&amp;this.options.values.length?this._values(a):
-this.value();else return this._values()},_setOption:function(a,b){var c,f=0;if(d.isArray(this.options.values))f=this.options.values.length;d.Widget.prototype._setOption.apply(this,arguments);switch(a){case &quot;disabled&quot;:if(b){this.handles.filter(&quot;.ui-state-focus&quot;).blur();this.handles.removeClass(&quot;ui-state-hover&quot;);this.handles.propAttr(&quot;disabled&quot;,true);this.element.addClass(&quot;ui-disabled&quot;)}else{this.handles.propAttr(&quot;disabled&quot;,false);this.element.removeClass(&quot;ui-disabled&quot;)}break;case &quot;orientation&quot;:this._detectOrientation();
-this.element.removeClass(&quot;ui-slider-horizontal ui-slider-vertical&quot;).addClass(&quot;ui-slider-&quot;+this.orientation);this._refreshValue();break;case &quot;value&quot;:this._animateOff=true;this._refreshValue();this._change(null,0);this._animateOff=false;break;case &quot;values&quot;:this._animateOff=true;this._refreshValue();for(c=0;c&lt;f;c+=1)this._change(null,c);this._animateOff=false;break}},_value:function(){var a=this.options.value;return a=this._trimAlignValue(a)},_values:function(a){var b,c;if(arguments.length){b=this.options.values[a];
-return b=this._trimAlignValue(b)}else{b=this.options.values.slice();for(c=0;c&lt;b.length;c+=1)b[c]=this._trimAlignValue(b[c]);return b}},_trimAlignValue:function(a){if(a&lt;=this._valueMin())return this._valueMin();if(a&gt;=this._valueMax())return this._valueMax();var b=this.options.step&gt;0?this.options.step:1,c=(a-this._valueMin())%b;a=a-c;if(Math.abs(c)*2&gt;=b)a+=c&gt;0?b:-b;return parseFloat(a.toFixed(5))},_valueMin:function(){return this.options.min},_valueMax:function(){return this.options.max},_refreshValue:function(){var a=
-this.options.range,b=this.options,c=this,f=!this._animateOff?b.animate:false,e,j={},g,k,l,i;if(this.options.values&amp;&amp;this.options.values.length)this.handles.each(function(h){e=(c.values(h)-c._valueMin())/(c._valueMax()-c._valueMin())*100;j[c.orientation===&quot;horizontal&quot;?&quot;left&quot;:&quot;bottom&quot;]=e+&quot;%&quot;;d(this).stop(1,1)[f?&quot;animate&quot;:&quot;css&quot;](j,b.animate);if(c.options.range===true)if(c.orientation===&quot;horizontal&quot;){if(h===0)c.range.stop(1,1)[f?&quot;animate&quot;:&quot;css&quot;]({left:e+&quot;%&quot;},b.animate);if(h===1)c.range[f?&quot;animate&quot;:&quot;css&quot;]({width:e-
-g+&quot;%&quot;},{queue:false,duration:b.animate})}else{if(h===0)c.range.stop(1,1)[f?&quot;animate&quot;:&quot;css&quot;]({bottom:e+&quot;%&quot;},b.animate);if(h===1)c.range[f?&quot;animate&quot;:&quot;css&quot;]({height:e-g+&quot;%&quot;},{queue:false,duration:b.animate})}g=e});else{k=this.value();l=this._valueMin();i=this._valueMax();e=i!==l?(k-l)/(i-l)*100:0;j[c.orientation===&quot;horizontal&quot;?&quot;left&quot;:&quot;bottom&quot;]=e+&quot;%&quot;;this.handle.stop(1,1)[f?&quot;animate&quot;:&quot;css&quot;](j,b.animate);if(a===&quot;min&quot;&amp;&amp;this.orientation===&quot;horizontal&quot;)this.range.stop(1,1)[f?&quot;animate&quot;:&quot;css&quot;]({width:e+&quot;%&quot;},
-b.animate);if(a===&quot;max&quot;&amp;&amp;this.orientation===&quot;horizontal&quot;)this.range[f?&quot;animate&quot;:&quot;css&quot;]({width:100-e+&quot;%&quot;},{queue:false,duration:b.animate});if(a===&quot;min&quot;&amp;&amp;this.orientation===&quot;vertical&quot;)this.range.stop(1,1)[f?&quot;animate&quot;:&quot;css&quot;]({height:e+&quot;%&quot;},b.animate);if(a===&quot;max&quot;&amp;&amp;this.orientation===&quot;vertical&quot;)this.range[f?&quot;animate&quot;:&quot;css&quot;]({height:100-e+&quot;%&quot;},{queue:false,duration:b.animate})}}});d.extend(d.ui.slider,{version:&quot;1.8.16&quot;})})(jQuery);
</del><ins>+/*! jQuery UI - v1.8.19 - 2012-04-16
+* https://github.com/jquery/jquery-ui
+* Includes: jquery.ui.slider.js
+* Copyright (c) 2012 AUTHORS.txt; Licensed MIT, GPL */
+(function(a,b){var c=5;a.widget(&quot;ui.slider&quot;,a.ui.mouse,{widgetEventPrefix:&quot;slide&quot;,options:{animate:!1,distance:0,max:100,min:0,orientation:&quot;horizontal&quot;,range:!1,step:1,value:0,values:null},_create:function(){var b=this,d=this.options,e=this.element.find(&quot;.ui-slider-handle&quot;).addClass(&quot;ui-state-default ui-corner-all&quot;),f=&quot;&lt;a class='ui-slider-handle ui-state-default ui-corner-all' href='#'&gt;&lt;/a&gt;&quot;,g=d.values&amp;&amp;d.values.length||1,h=[];this._keySliding=!1,this._mouseSliding=!1,this._animateOff=!0,this._handleIndex=null,this._detectOrientation(),this._mouseInit(),this.element.addClass(&quot;ui-slider ui-slider-&quot;+this.orientation+&quot; ui-widget&quot;+&quot; ui-widget-content&quot;+&quot; ui-corner-all&quot;+(d.disabled?&quot; ui-slider-disabled ui-disabled&quot;:&quot;&quot;)),this.range=a([]),d.range&amp;&amp;(d.range===!0&amp;&amp;(d.values||(d.values=[this._valueMin(),this._valueMin()]),d.values.l
 ength&amp;&amp;d.values.length!==2&amp;&amp;(d.values=[d.values[0],d.values[0]])),this.range=a(&quot;&lt;div&gt;&lt;/div&gt;&quot;).appendTo(this.element).addClass(&quot;ui-slider-range ui-widget-header&quot;+(d.range===&quot;min&quot;||d.range===&quot;max&quot;?&quot; ui-slider-range-&quot;+d.range:&quot;&quot;)));for(var i=e.length;i&lt;g;i+=1)h.push(f);this.handles=e.add(a(h.join(&quot;&quot;)).appendTo(b.element)),this.handle=this.handles.eq(0),this.handles.add(this.range).filter(&quot;a&quot;).click(function(a){a.preventDefault()}).hover(function(){d.disabled||a(this).addClass(&quot;ui-state-hover&quot;)},function(){a(this).removeClass(&quot;ui-state-hover&quot;)}).focus(function(){d.disabled?a(this).blur():(a(&quot;.ui-slider .ui-state-focus&quot;).removeClass(&quot;ui-state-focus&quot;),a(this).addClass(&quot;ui-state-focus&quot;))}).blur(function(){a(this).removeClass(&quot;ui-state-focus&quot;)}),this.handles.each(function(b){a(this).data(&quot;index.ui-slider-handl
 e&quot;,b)}),this.handles.keydown(function(d){var e=a(this).data(&quot;index.ui-slider-handle&quot;),f,g,h,i;if(b.options.disabled)return;switch(d.keyCode){case a.ui.keyCode.HOME:case a.ui.keyCode.END:case a.ui.keyCode.PAGE_UP:case a.ui.keyCode.PAGE_DOWN:case a.ui.keyCode.UP:case a.ui.keyCode.RIGHT:case a.ui.keyCode.DOWN:case a.ui.keyCode.LEFT:d.preventDefault();if(!b._keySliding){b._keySliding=!0,a(this).addClass(&quot;ui-state-active&quot;),f=b._start(d,e);if(f===!1)return}}i=b.options.step,b.options.values&amp;&amp;b.options.values.length?g=h=b.values(e):g=h=b.value();switch(d.keyCode){case a.ui.keyCode.HOME:h=b._valueMin();break;case a.ui.keyCode.END:h=b._valueMax();break;case a.ui.keyCode.PAGE_UP:h=b._trimAlignValue(g+(b._valueMax()-b._valueMin())/c);break;case a.ui.keyCode.PAGE_DOWN:h=b._trimAlignValue(g-(b._valueMax()-b._valueMin())/c);break;case a.ui.keyCode.UP:case a.ui.keyCode.RIGHT:if(g===b._valueMax())return;h=b._trimAlignValue(g+i);break;case a.ui.keyCode.DOWN:c
 ase a.ui.keyCode.LEFT:if(g===b._valueMin())return;h=b._trimAlignValue(g-i)}b._slide(d,e,h)}).keyup(function(c){var d=a(this).data(&quot;index.ui-slider-handle&quot;);b._keySliding&amp;&amp;(b._keySliding=!1,b._stop(c,d),b._change(c,d),a(this).removeClass(&quot;ui-state-active&quot;))}),this._refreshValue(),this._animateOff=!1},destroy:function(){return this.handles.remove(),this.range.remove(),this.element.removeClass(&quot;ui-slider ui-slider-horizontal ui-slider-vertical ui-slider-disabled ui-widget ui-widget-content ui-corner-all&quot;).removeData(&quot;slider&quot;).unbind(&quot;.slider&quot;),this._mouseDestroy(),this},_mouseCapture:function(b){var c=this.options,d,e,f,g,h,i,j,k,l;return c.disabled?!1:(this.elementSize={width:this.element.outerWidth(),height:this.element.outerHeight()},this.elementOffset=this.element.offset(),d={x:b.pageX,y:b.pageY},e=this._normValueFromMouse(d),f=this._valueMax()-this._valueMin()+1,h=this,this.handles.each(function(b){var c=Math.abs(e-
 h.values(b));f&gt;c&amp;&amp;(f=c,g=a(this),i=b)}),c.range===!0&amp;&amp;this.values(1)===c.min&amp;&amp;(i+=1,g=a(this.handles[i])),j=this._start(b,i),j===!1?!1:(this._mouseSliding=!0,h._handleIndex=i,g.addClass(&quot;ui-state-active&quot;).focus(),k=g.offset(),l=!a(b.target).parents().andSelf().is(&quot;.ui-slider-handle&quot;),this._clickOffset=l?{left:0,top:0}:{left:b.pageX-k.left-g.width()/2,top:b.pageY-k.top-g.height()/2-(parseInt(g.css(&quot;borderTopWidth&quot;),10)||0)-(parseInt(g.css(&quot;borderBottomWidth&quot;),10)||0)+(parseInt(g.css(&quot;marginTop&quot;),10)||0)},this.handles.hasClass(&quot;ui-state-hover&quot;)||this._slide(b,i,e),this._animateOff=!0,!0))},_mouseStart:function(a){return!0},_mouseDrag:function(a){var b={x:a.pageX,y:a.pageY},c=this._normValueFromMouse(b);return this._slide(a,this._handleIndex,c),!1},_mouseStop:function(a){return this.handles.removeClass(&quot;ui-state-active&quot;),this._mouseSliding=!1,this._stop(a,this._handleIndex),this._ch
 ange(a,this._handleIndex),this._handleIndex=null,this._clickOffset=null,this._animateOff=!1,!1},_detectOrientation:function(){this.orientation=this.options.orientation===&quot;vertical&quot;?&quot;vertical&quot;:&quot;horizontal&quot;},_normValueFromMouse:function(a){var b,c,d,e,f;return this.orientation===&quot;horizontal&quot;?(b=this.elementSize.width,c=a.x-this.elementOffset.left-(this._clickOffset?this._clickOffset.left:0)):(b=this.elementSize.height,c=a.y-this.elementOffset.top-(this._clickOffset?this._clickOffset.top:0)),d=c/b,d&gt;1&amp;&amp;(d=1),d&lt;0&amp;&amp;(d=0),this.orientation===&quot;vertical&quot;&amp;&amp;(d=1-d),e=this._valueMax()-this._valueMin(),f=this._valueMin()+d*e,this._trimAlignValue(f)},_start:function(a,b){var c={handle:this.handles[b],value:this.value()};return this.options.values&amp;&amp;this.options.values.length&amp;&amp;(c.value=this.values(b),c.values=this.values()),this._trigger(&quot;start&quot;,a,c)},_slide:function(a,b,c){var d,e,f;th
 is.options.values&amp;&amp;this.options.values.length?(d=this.values(b?0:1),this.options.values.length===2&amp;&amp;this.options.range===!0&amp;&amp;(b===0&amp;&amp;c&gt;d||b===1&amp;&amp;c&lt;d)&amp;&amp;(c=d),c!==this.values(b)&amp;&amp;(e=this.values(),e[b]=c,f=this._trigger(&quot;slide&quot;,a,{handle:this.handles[b],value:c,values:e}),d=this.values(b?0:1),f!==!1&amp;&amp;this.values(b,c,!0))):c!==this.value()&amp;&amp;(f=this._trigger(&quot;slide&quot;,a,{handle:this.handles[b],value:c}),f!==!1&amp;&amp;this.value(c))},_stop:function(a,b){var c={handle:this.handles[b],value:this.value()};this.options.values&amp;&amp;this.options.values.length&amp;&amp;(c.value=this.values(b),c.values=this.values()),this._trigger(&quot;stop&quot;,a,c)},_change:function(a,b){if(!this._keySliding&amp;&amp;!this._mouseSliding){var c={handle:this.handles[b],value:this.value()};this.options.values&amp;&amp;this.options.values.length&amp;&amp;(c.value=this.values(b),c.values=this.values()),thi
 s._trigger(&quot;change&quot;,a,c)}},value:function(a){if(arguments.length){this.options.value=this._trimAlignValue(a),this._refreshValue(),this._change(null,0);return}return this._value()},values:function(b,c){var d,e,f;if(arguments.length&gt;1){this.options.values[b]=this._trimAlignValue(c),this._refreshValue(),this._change(null,b);return}if(!arguments.length)return this._values();if(!a.isArray(arguments[0]))return this.options.values&amp;&amp;this.options.values.length?this._values(b):this.value();d=this.options.values,e=arguments[0];for(f=0;f&lt;d.length;f+=1)d[f]=this._trimAlignValue(e[f]),this._change(null,f);this._refreshValue()},_setOption:function(b,c){var d,e=0;a.isArray(this.options.values)&amp;&amp;(e=this.options.values.length),a.Widget.prototype._setOption.apply(this,arguments);switch(b){case&quot;disabled&quot;:c?(this.handles.filter(&quot;.ui-state-focus&quot;).blur(),this.handles.removeClass(&quot;ui-state-hover&quot;),this.handles.propAttr(&quot;disabled&qu
 ot;,!0),this.element.addClass(&quot;ui-disabled&quot;)):(this.handles.propAttr(&quot;disabled&quot;,!1),this.element.removeClass(&quot;ui-disabled&quot;));break;case&quot;orientation&quot;:this._detectOrientation(),this.element.removeClass(&quot;ui-slider-horizontal ui-slider-vertical&quot;).addClass(&quot;ui-slider-&quot;+this.orientation),this._refreshValue();break;case&quot;value&quot;:this._animateOff=!0,this._refreshValue(),this._change(null,0),this._animateOff=!1;break;case&quot;values&quot;:this._animateOff=!0,this._refreshValue();for(d=0;d&lt;e;d+=1)this._change(null,d);this._animateOff=!1}},_value:function(){var a=this.options.value;return a=this._trimAlignValue(a),a},_values:function(a){var b,c,d;if(arguments.length)return b=this.options.values[a],b=this._trimAlignValue(b),b;c=this.options.values.slice();for(d=0;d&lt;c.length;d+=1)c[d]=this._trimAlignValue(c[d]);return c},_trimAlignValue:function(a){if(a&lt;=this._valueMin())return this._valueMin();if(a&gt;=this._v
 alueMax())return this._valueMax();var b=this.options.step&gt;0?this.options.step:1,c=(a-this._valueMin())%b,d=a-c;return Math.abs(c)*2&gt;=b&amp;&amp;(d+=c&gt;0?b:-b),parseFloat(d.toFixed(5))},_valueMin:function(){return this.options.min},_valueMax:function(){return this.options.max},_refreshValue:function(){var b=this.options.range,c=this.options,d=this,e=this._animateOff?!1:c.animate,f,g={},h,i,j,k;this.options.values&amp;&amp;this.options.values.length?this.handles.each(function(b,i){f=(d.values(b)-d._valueMin())/(d._valueMax()-d._valueMin())*100,g[d.orientation===&quot;horizontal&quot;?&quot;left&quot;:&quot;bottom&quot;]=f+&quot;%&quot;,a(this).stop(1,1)[e?&quot;animate&quot;:&quot;css&quot;](g,c.animate),d.options.range===!0&amp;&amp;(d.orientation===&quot;horizontal&quot;?(b===0&amp;&amp;d.range.stop(1,1)[e?&quot;animate&quot;:&quot;css&quot;]({left:f+&quot;%&quot;},c.animate),b===1&amp;&amp;d.range[e?&quot;animate&quot;:&quot;css&quot;]({width:f-h+&quot;%&quot;},{que
 ue:!1,duration:c.animate})):(b===0&amp;&amp;d.range.stop(1,1)[e?&quot;animate&quot;:&quot;css&quot;]({bottom:f+&quot;%&quot;},c.animate),b===1&amp;&amp;d.range[e?&quot;animate&quot;:&quot;css&quot;]({height:f-h+&quot;%&quot;},{queue:!1,duration:c.animate}))),h=f}):(i=this.value(),j=this._valueMin(),k=this._valueMax(),f=k!==j?(i-j)/(k-j)*100:0,g[d.orientation===&quot;horizontal&quot;?&quot;left&quot;:&quot;bottom&quot;]=f+&quot;%&quot;,this.handle.stop(1,1)[e?&quot;animate&quot;:&quot;css&quot;](g,c.animate),b===&quot;min&quot;&amp;&amp;this.orientation===&quot;horizontal&quot;&amp;&amp;this.range.stop(1,1)[e?&quot;animate&quot;:&quot;css&quot;]({width:f+&quot;%&quot;},c.animate),b===&quot;max&quot;&amp;&amp;this.orientation===&quot;horizontal&quot;&amp;&amp;this.range[e?&quot;animate&quot;:&quot;css&quot;]({width:100-f+&quot;%&quot;},{queue:!1,duration:c.animate}),b===&quot;min&quot;&amp;&amp;this.orientation===&quot;vertical&quot;&amp;&amp;this.range.stop(1,1)[e?&quot;anima
 te&quot;:&quot;css&quot;]({height:f+&quot;%&quot;},c.animate),b===&quot;max&quot;&amp;&amp;this.orientation===&quot;vertical&quot;&amp;&amp;this.range[e?&quot;animate&quot;:&quot;css&quot;]({height:100-f+&quot;%&quot;},{queue:!1,duration:c.animate}))}}),a.extend(a.ui.slider,{version:&quot;1.8.19&quot;})})(jQuery)
</ins><span class="cx">\ No newline at end of file
</span></span></pre></div>
<a id="trunkwpincludesjsjqueryuijqueryuisortableminjs"></a>
<div class="modfile"><h4>Modified: trunk/wp-includes/js/jquery/ui/jquery.ui.sortable.min.js (20491 => 20492)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-includes/js/jquery/ui/jquery.ui.sortable.min.js        2012-04-17 03:41:07 UTC (rev 20491)
+++ trunk/wp-includes/js/jquery/ui/jquery.ui.sortable.min.js        2012-04-17 16:49:17 UTC (rev 20492)
</span><span class="lines">@@ -1,60 +1,5 @@
</span><del>-/*
- * jQuery UI Sortable 1.8.16
- *
- * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
- * Dual licensed under the MIT or GPL Version 2 licenses.
- * http://jquery.org/license
- *
- * http://docs.jquery.com/UI/Sortables
- *
- * Depends:
- *        jquery.ui.core.js
- *        jquery.ui.mouse.js
- *        jquery.ui.widget.js
- */
-(function(d){d.widget(&quot;ui.sortable&quot;,d.ui.mouse,{widgetEventPrefix:&quot;sort&quot;,options:{appendTo:&quot;parent&quot;,axis:false,connectWith:false,containment:false,cursor:&quot;auto&quot;,cursorAt:false,dropOnEmpty:true,forcePlaceholderSize:false,forceHelperSize:false,grid:false,handle:false,helper:&quot;original&quot;,items:&quot;&gt; *&quot;,opacity:false,placeholder:false,revert:false,scroll:true,scrollSensitivity:20,scrollSpeed:20,scope:&quot;default&quot;,tolerance:&quot;intersect&quot;,zIndex:1E3},_create:function(){var a=this.options;this.containerCache={};this.element.addClass(&quot;ui-sortable&quot;);
-this.refresh();this.floating=this.items.length?a.axis===&quot;x&quot;||/left|right/.test(this.items[0].item.css(&quot;float&quot;))||/inline|table-cell/.test(this.items[0].item.css(&quot;display&quot;)):false;this.offset=this.element.offset();this._mouseInit()},destroy:function(){this.element.removeClass(&quot;ui-sortable ui-sortable-disabled&quot;).removeData(&quot;sortable&quot;).unbind(&quot;.sortable&quot;);this._mouseDestroy();for(var a=this.items.length-1;a&gt;=0;a--)this.items[a].item.removeData(&quot;sortable-item&quot;);return this},_setOption:function(a,b){if(a===
-&quot;disabled&quot;){this.options[a]=b;this.widget()[b?&quot;addClass&quot;:&quot;removeClass&quot;](&quot;ui-sortable-disabled&quot;)}else d.Widget.prototype._setOption.apply(this,arguments)},_mouseCapture:function(a,b){if(this.reverting)return false;if(this.options.disabled||this.options.type==&quot;static&quot;)return false;this._refreshItems(a);var c=null,e=this;d(a.target).parents().each(function(){if(d.data(this,&quot;sortable-item&quot;)==e){c=d(this);return false}});if(d.data(a.target,&quot;sortable-item&quot;)==e)c=d(a.target);if(!c)return false;if(this.options.handle&amp;&amp;
-!b){var f=false;d(this.options.handle,c).find(&quot;*&quot;).andSelf().each(function(){if(this==a.target)f=true});if(!f)return false}this.currentItem=c;this._removeCurrentsFromItems();return true},_mouseStart:function(a,b,c){b=this.options;var e=this;this.currentContainer=this;this.refreshPositions();this.helper=this._createHelper(a);this._cacheHelperProportions();this._cacheMargins();this.scrollParent=this.helper.scrollParent();this.offset=this.currentItem.offset();this.offset={top:this.offset.top-this.margins.top,
-left:this.offset.left-this.margins.left};this.helper.css(&quot;position&quot;,&quot;absolute&quot;);this.cssPosition=this.helper.css(&quot;position&quot;);d.extend(this.offset,{click:{left:a.pageX-this.offset.left,top:a.pageY-this.offset.top},parent:this._getParentOffset(),relative:this._getRelativeOffset()});this.originalPosition=this._generatePosition(a);this.originalPageX=a.pageX;this.originalPageY=a.pageY;b.cursorAt&amp;&amp;this._adjustOffsetFromHelper(b.cursorAt);this.domPosition={prev:this.currentItem.prev()[0],parent:this.currentItem.parent()[0]};
-this.helper[0]!=this.currentItem[0]&amp;&amp;this.currentItem.hide();this._createPlaceholder();b.containment&amp;&amp;this._setContainment();if(b.cursor){if(d(&quot;body&quot;).css(&quot;cursor&quot;))this._storedCursor=d(&quot;body&quot;).css(&quot;cursor&quot;);d(&quot;body&quot;).css(&quot;cursor&quot;,b.cursor)}if(b.opacity){if(this.helper.css(&quot;opacity&quot;))this._storedOpacity=this.helper.css(&quot;opacity&quot;);this.helper.css(&quot;opacity&quot;,b.opacity)}if(b.zIndex){if(this.helper.css(&quot;zIndex&quot;))this._storedZIndex=this.helper.css(&quot;zIndex&quot;);this.helper.css(&quot;zIndex&quot;,b.zIndex)}if(this.scrollParent[0]!=
-document&amp;&amp;this.scrollParent[0].tagName!=&quot;HTML&quot;)this.overflowOffset=this.scrollParent.offset();this._trigger(&quot;start&quot;,a,this._uiHash());this._preserveHelperProportions||this._cacheHelperProportions();if(!c)for(c=this.containers.length-1;c&gt;=0;c--)this.containers[c]._trigger(&quot;activate&quot;,a,e._uiHash(this));if(d.ui.ddmanager)d.ui.ddmanager.current=this;d.ui.ddmanager&amp;&amp;!b.dropBehaviour&amp;&amp;d.ui.ddmanager.prepareOffsets(this,a);this.dragging=true;this.helper.addClass(&quot;ui-sortable-helper&quot;);this._mouseDrag(a);
-return true},_mouseDrag:function(a){this.position=this._generatePosition(a);this.positionAbs=this._convertPositionTo(&quot;absolute&quot;);if(!this.lastPositionAbs)this.lastPositionAbs=this.positionAbs;if(this.options.scroll){var b=this.options,c=false;if(this.scrollParent[0]!=document&amp;&amp;this.scrollParent[0].tagName!=&quot;HTML&quot;){if(this.overflowOffset.top+this.scrollParent[0].offsetHeight-a.pageY&lt;b.scrollSensitivity)this.scrollParent[0].scrollTop=c=this.scrollParent[0].scrollTop+b.scrollSpeed;else if(a.pageY-this.overflowOffset.top&lt;
-b.scrollSensitivity)this.scrollParent[0].scrollTop=c=this.scrollParent[0].scrollTop-b.scrollSpeed;if(this.overflowOffset.left+this.scrollParent[0].offsetWidth-a.pageX&lt;b.scrollSensitivity)this.scrollParent[0].scrollLeft=c=this.scrollParent[0].scrollLeft+b.scrollSpeed;else if(a.pageX-this.overflowOffset.left&lt;b.scrollSensitivity)this.scrollParent[0].scrollLeft=c=this.scrollParent[0].scrollLeft-b.scrollSpeed}else{if(a.pageY-d(document).scrollTop()&lt;b.scrollSensitivity)c=d(document).scrollTop(d(document).scrollTop()-
-b.scrollSpeed);else if(d(window).height()-(a.pageY-d(document).scrollTop())&lt;b.scrollSensitivity)c=d(document).scrollTop(d(document).scrollTop()+b.scrollSpeed);if(a.pageX-d(document).scrollLeft()&lt;b.scrollSensitivity)c=d(document).scrollLeft(d(document).scrollLeft()-b.scrollSpeed);else if(d(window).width()-(a.pageX-d(document).scrollLeft())&lt;b.scrollSensitivity)c=d(document).scrollLeft(d(document).scrollLeft()+b.scrollSpeed)}c!==false&amp;&amp;d.ui.ddmanager&amp;&amp;!b.dropBehaviour&amp;&amp;d.ui.ddmanager.prepareOffsets(this,
-a)}this.positionAbs=this._convertPositionTo(&quot;absolute&quot;);if(!this.options.axis||this.options.axis!=&quot;y&quot;)this.helper[0].style.left=this.position.left+&quot;px&quot;;if(!this.options.axis||this.options.axis!=&quot;x&quot;)this.helper[0].style.top=this.position.top+&quot;px&quot;;for(b=this.items.length-1;b&gt;=0;b--){c=this.items[b];var e=c.item[0],f=this._intersectsWithPointer(c);if(f)if(e!=this.currentItem[0]&amp;&amp;this.placeholder[f==1?&quot;next&quot;:&quot;prev&quot;]()[0]!=e&amp;&amp;!d.ui.contains(this.placeholder[0],e)&amp;&amp;(this.options.type==&quot;semi-dynamic&quot;?!d.ui.contains(this.element[0],
-e):true)){this.direction=f==1?&quot;down&quot;:&quot;up&quot;;if(this.options.tolerance==&quot;pointer&quot;||this._intersectsWithSides(c))this._rearrange(a,c);else break;this._trigger(&quot;change&quot;,a,this._uiHash());break}}this._contactContainers(a);d.ui.ddmanager&amp;&amp;d.ui.ddmanager.drag(this,a);this._trigger(&quot;sort&quot;,a,this._uiHash());this.lastPositionAbs=this.positionAbs;return false},_mouseStop:function(a,b){if(a){d.ui.ddmanager&amp;&amp;!this.options.dropBehaviour&amp;&amp;d.ui.ddmanager.drop(this,a);if(this.options.revert){var c=this;b=c.placeholder.offset();
-c.reverting=true;d(this.helper).animate({left:b.left-this.offset.parent.left-c.margins.left+(this.offsetParent[0]==document.body?0:this.offsetParent[0].scrollLeft),top:b.top-this.offset.parent.top-c.margins.top+(this.offsetParent[0]==document.body?0:this.offsetParent[0].scrollTop)},parseInt(this.options.revert,10)||500,function(){c._clear(a)})}else this._clear(a,b);return false}},cancel:function(){var a=this;if(this.dragging){this._mouseUp({target:null});this.options.helper==&quot;original&quot;?this.currentItem.css(this._storedCSS).removeClass(&quot;ui-sortable-helper&quot;):
-this.currentItem.show();for(var b=this.containers.length-1;b&gt;=0;b--){this.containers[b]._trigger(&quot;deactivate&quot;,null,a._uiHash(this));if(this.containers[b].containerCache.over){this.containers[b]._trigger(&quot;out&quot;,null,a._uiHash(this));this.containers[b].containerCache.over=0}}}if(this.placeholder){this.placeholder[0].parentNode&amp;&amp;this.placeholder[0].parentNode.removeChild(this.placeholder[0]);this.options.helper!=&quot;original&quot;&amp;&amp;this.helper&amp;&amp;this.helper[0].parentNode&amp;&amp;this.helper.remove();d.extend(this,{helper:null,
-dragging:false,reverting:false,_noFinalSort:null});this.domPosition.prev?d(this.domPosition.prev).after(this.currentItem):d(this.domPosition.parent).prepend(this.currentItem)}return this},serialize:function(a){var b=this._getItemsAsjQuery(a&amp;&amp;a.connected),c=[];a=a||{};d(b).each(function(){var e=(d(a.item||this).attr(a.attribute||&quot;id&quot;)||&quot;&quot;).match(a.expression||/(.+)[-=_](.+)/);if(e)c.push((a.key||e[1]+&quot;[]&quot;)+&quot;=&quot;+(a.key&amp;&amp;a.expression?e[1]:e[2]))});!c.length&amp;&amp;a.key&amp;&amp;c.push(a.key+&quot;=&quot;);return c.join(&quot;&amp;&quot;)},
-toArray:function(a){var b=this._getItemsAsjQuery(a&amp;&amp;a.connected),c=[];a=a||{};b.each(function(){c.push(d(a.item||this).attr(a.attribute||&quot;id&quot;)||&quot;&quot;)});return c},_intersectsWith:function(a){var b=this.positionAbs.left,c=b+this.helperProportions.width,e=this.positionAbs.top,f=e+this.helperProportions.height,g=a.left,h=g+a.width,i=a.top,k=i+a.height,j=this.offset.click.top,l=this.offset.click.left;j=e+j&gt;i&amp;&amp;e+j&lt;k&amp;&amp;b+l&gt;g&amp;&amp;b+l&lt;h;return this.options.tolerance==&quot;pointer&quot;||this.options.forcePointerForContainers||
-this.options.tolerance!=&quot;pointer&quot;&amp;&amp;this.helperProportions[this.floating?&quot;width&quot;:&quot;height&quot;]&gt;a[this.floating?&quot;width&quot;:&quot;height&quot;]?j:g&lt;b+this.helperProportions.width/2&amp;&amp;c-this.helperProportions.width/2&lt;h&amp;&amp;i&lt;e+this.helperProportions.height/2&amp;&amp;f-this.helperProportions.height/2&lt;k},_intersectsWithPointer:function(a){var b=d.ui.isOverAxis(this.positionAbs.top+this.offset.click.top,a.top,a.height);a=d.ui.isOverAxis(this.positionAbs.left+this.offset.click.left,a.left,a.width);b=b&amp;&amp;a;a=this._getDragVerticalDirection();
-var c=this._getDragHorizontalDirection();if(!b)return false;return this.floating?c&amp;&amp;c==&quot;right&quot;||a==&quot;down&quot;?2:1:a&amp;&amp;(a==&quot;down&quot;?2:1)},_intersectsWithSides:function(a){var b=d.ui.isOverAxis(this.positionAbs.top+this.offset.click.top,a.top+a.height/2,a.height);a=d.ui.isOverAxis(this.positionAbs.left+this.offset.click.left,a.left+a.width/2,a.width);var c=this._getDragVerticalDirection(),e=this._getDragHorizontalDirection();return this.floating&amp;&amp;e?e==&quot;right&quot;&amp;&amp;a||e==&quot;left&quot;&amp;&amp;!a:c&amp;&amp;(c==&quot;down&quot;&amp;&amp;b||c==&quot;up&quot;&amp;&amp;!b)},
-_getDragVerticalDirection:function(){var a=this.positionAbs.top-this.lastPositionAbs.top;return a!=0&amp;&amp;(a&gt;0?&quot;down&quot;:&quot;up&quot;)},_getDragHorizontalDirection:function(){var a=this.positionAbs.left-this.lastPositionAbs.left;return a!=0&amp;&amp;(a&gt;0?&quot;right&quot;:&quot;left&quot;)},refresh:function(a){this._refreshItems(a);this.refreshPositions();return this},_connectWith:function(){var a=this.options;return a.connectWith.constructor==String?[a.connectWith]:a.connectWith},_getItemsAsjQuery:function(a){var b=[],c=[],e=this._connectWith();
-if(e&amp;&amp;a)for(a=e.length-1;a&gt;=0;a--)for(var f=d(e[a]),g=f.length-1;g&gt;=0;g--){var h=d.data(f[g],&quot;sortable&quot;);if(h&amp;&amp;h!=this&amp;&amp;!h.options.disabled)c.push([d.isFunction(h.options.items)?h.options.items.call(h.element):d(h.options.items,h.element).not(&quot;.ui-sortable-helper&quot;).not(&quot;.ui-sortable-placeholder&quot;),h])}c.push([d.isFunction(this.options.items)?this.options.items.call(this.element,null,{options:this.options,item:this.currentItem}):d(this.options.items,this.element).not(&quot;.ui-sortable-helper&quot;).not(&quot;.ui-sortable-placeholder&quot;),
-this]);for(a=c.length-1;a&gt;=0;a--)c[a][0].each(function(){b.push(this)});return d(b)},_removeCurrentsFromItems:function(){for(var a=this.currentItem.find(&quot;:data(sortable-item)&quot;),b=0;b&lt;this.items.length;b++)for(var c=0;c&lt;a.length;c++)a[c]==this.items[b].item[0]&amp;&amp;this.items.splice(b,1)},_refreshItems:function(a){this.items=[];this.containers=[this];var b=this.items,c=[[d.isFunction(this.options.items)?this.options.items.call(this.element[0],a,{item:this.currentItem}):d(this.options.items,this.element),
-this]],e=this._connectWith();if(e)for(var f=e.length-1;f&gt;=0;f--)for(var g=d(e[f]),h=g.length-1;h&gt;=0;h--){var i=d.data(g[h],&quot;sortable&quot;);if(i&amp;&amp;i!=this&amp;&amp;!i.options.disabled){c.push([d.isFunction(i.options.items)?i.options.items.call(i.element[0],a,{item:this.currentItem}):d(i.options.items,i.element),i]);this.containers.push(i)}}for(f=c.length-1;f&gt;=0;f--){a=c[f][1];e=c[f][0];h=0;for(g=e.length;h&lt;g;h++){i=d(e[h]);i.data(&quot;sortable-item&quot;,a);b.push({item:i,instance:a,width:0,height:0,left:0,top:0})}}},refreshPositions:function(a){if(this.offsetParent&amp;&amp;
-this.helper)this.offset.parent=this._getParentOffset();for(var b=this.items.length-1;b&gt;=0;b--){var c=this.items[b];if(!(c.instance!=this.currentContainer&amp;&amp;this.currentContainer&amp;&amp;c.item[0]!=this.currentItem[0])){var e=this.options.toleranceElement?d(this.options.toleranceElement,c.item):c.item;if(!a){c.width=e.outerWidth();c.height=e.outerHeight()}e=e.offset();c.left=e.left;c.top=e.top}}if(this.options.custom&amp;&amp;this.options.custom.refreshContainers)this.options.custom.refreshContainers.call(this);else for(b=
-this.containers.length-1;b&gt;=0;b--){e=this.containers[b].element.offset();this.containers[b].containerCache.left=e.left;this.containers[b].containerCache.top=e.top;this.containers[b].containerCache.width=this.containers[b].element.outerWidth();this.containers[b].containerCache.height=this.containers[b].element.outerHeight()}return this},_createPlaceholder:function(a){var b=a||this,c=b.options;if(!c.placeholder||c.placeholder.constructor==String){var e=c.placeholder;c.placeholder={element:function(){var f=
-d(document.createElement(b.currentItem[0].nodeName)).addClass(e||b.currentItem[0].className+&quot; ui-sortable-placeholder&quot;).removeClass(&quot;ui-sortable-helper&quot;)[0];if(!e)f.style.visibility=&quot;hidden&quot;;return f},update:function(f,g){if(!(e&amp;&amp;!c.forcePlaceholderSize)){g.height()||g.height(b.currentItem.innerHeight()-parseInt(b.currentItem.css(&quot;paddingTop&quot;)||0,10)-parseInt(b.currentItem.css(&quot;paddingBottom&quot;)||0,10));g.width()||g.width(b.currentItem.innerWidth()-parseInt(b.currentItem.css(&quot;paddingLeft&quot;)||0,10)-parseInt(b.currentItem.css(&quot;paddingRight&quot;)||
-0,10))}}}}b.placeholder=d(c.placeholder.element.call(b.element,b.currentItem));b.currentItem.after(b.placeholder);c.placeholder.update(b,b.placeholder)},_contactContainers:function(a){for(var b=null,c=null,e=this.containers.length-1;e&gt;=0;e--)if(!d.ui.contains(this.currentItem[0],this.containers[e].element[0]))if(this._intersectsWith(this.containers[e].containerCache)){if(!(b&amp;&amp;d.ui.contains(this.containers[e].element[0],b.element[0]))){b=this.containers[e];c=e}}else if(this.containers[e].containerCache.over){this.containers[e]._trigger(&quot;out&quot;,
-a,this._uiHash(this));this.containers[e].containerCache.over=0}if(b)if(this.containers.length===1){this.containers[c]._trigger(&quot;over&quot;,a,this._uiHash(this));this.containers[c].containerCache.over=1}else if(this.currentContainer!=this.containers[c]){b=1E4;e=null;for(var f=this.positionAbs[this.containers[c].floating?&quot;left&quot;:&quot;top&quot;],g=this.items.length-1;g&gt;=0;g--)if(d.ui.contains(this.containers[c].element[0],this.items[g].item[0])){var h=this.items[g][this.containers[c].floating?&quot;left&quot;:&quot;top&quot;];if(Math.abs(h-
-f)&lt;b){b=Math.abs(h-f);e=this.items[g]}}if(e||this.options.dropOnEmpty){this.currentContainer=this.containers[c];e?this._rearrange(a,e,null,true):this._rearrange(a,null,this.containers[c].element,true);this._trigger(&quot;change&quot;,a,this._uiHash());this.containers[c]._trigger(&quot;change&quot;,a,this._uiHash(this));this.options.placeholder.update(this.currentContainer,this.placeholder);this.containers[c]._trigger(&quot;over&quot;,a,this._uiHash(this));this.containers[c].containerCache.over=1}}},_createHelper:function(a){var b=
-this.options;a=d.isFunction(b.helper)?d(b.helper.apply(this.element[0],[a,this.currentItem])):b.helper==&quot;clone&quot;?this.currentItem.clone():this.currentItem;a.parents(&quot;body&quot;).length||d(b.appendTo!=&quot;parent&quot;?b.appendTo:this.currentItem[0].parentNode)[0].appendChild(a[0]);if(a[0]==this.currentItem[0])this._storedCSS={width:this.currentItem[0].style.width,height:this.currentItem[0].style.height,position:this.currentItem.css(&quot;position&quot;),top:this.currentItem.css(&quot;top&quot;),left:this.currentItem.css(&quot;left&quot;)};if(a[0].style.width==
-&quot;&quot;||b.forceHelperSize)a.width(this.currentItem.width());if(a[0].style.height==&quot;&quot;||b.forceHelperSize)a.height(this.currentItem.height());return a},_adjustOffsetFromHelper:function(a){if(typeof a==&quot;string&quot;)a=a.split(&quot; &quot;);if(d.isArray(a))a={left:+a[0],top:+a[1]||0};if(&quot;left&quot;in a)this.offset.click.left=a.left+this.margins.left;if(&quot;right&quot;in a)this.offset.click.left=this.helperProportions.width-a.right+this.margins.left;if(&quot;top&quot;in a)this.offset.click.top=a.top+this.margins.top;if(&quot;bottom&quot;in a)this.offset.click.top=
-this.helperProportions.height-a.bottom+this.margins.top},_getParentOffset:function(){this.offsetParent=this.helper.offsetParent();var a=this.offsetParent.offset();if(this.cssPosition==&quot;absolute&quot;&amp;&amp;this.scrollParent[0]!=document&amp;&amp;d.ui.contains(this.scrollParent[0],this.offsetParent[0])){a.left+=this.scrollParent.scrollLeft();a.top+=this.scrollParent.scrollTop()}if(this.offsetParent[0]==document.body||this.offsetParent[0].tagName&amp;&amp;this.offsetParent[0].tagName.toLowerCase()==&quot;html&quot;&amp;&amp;d.browser.msie)a=
-{top:0,left:0};return{top:a.top+(parseInt(this.offsetParent.css(&quot;borderTopWidth&quot;),10)||0),left:a.left+(parseInt(this.offsetParent.css(&quot;borderLeftWidth&quot;),10)||0)}},_getRelativeOffset:function(){if(this.cssPosition==&quot;relative&quot;){var a=this.currentItem.position();return{top:a.top-(parseInt(this.helper.css(&quot;top&quot;),10)||0)+this.scrollParent.scrollTop(),left:a.left-(parseInt(this.helper.css(&quot;left&quot;),10)||0)+this.scrollParent.scrollLeft()}}else return{top:0,left:0}},_cacheMargins:function(){this.margins={left:parseInt(this.currentItem.css(&quot;marginLeft&quot;),
-10)||0,top:parseInt(this.currentItem.css(&quot;marginTop&quot;),10)||0}},_cacheHelperProportions:function(){this.helperProportions={width:this.helper.outerWidth(),height:this.helper.outerHeight()}},_setContainment:function(){var a=this.options;if(a.containment==&quot;parent&quot;)a.containment=this.helper[0].parentNode;if(a.containment==&quot;document&quot;||a.containment==&quot;window&quot;)this.containment=[0-this.offset.relative.left-this.offset.parent.left,0-this.offset.relative.top-this.offset.parent.top,d(a.containment==&quot;document&quot;?
-document:window).width()-this.helperProportions.width-this.margins.left,(d(a.containment==&quot;document&quot;?document:window).height()||document.body.parentNode.scrollHeight)-this.helperProportions.height-this.margins.top];if(!/^(document|window|parent)$/.test(a.containment)){var b=d(a.containment)[0];a=d(a.containment).offset();var c=d(b).css(&quot;overflow&quot;)!=&quot;hidden&quot;;this.containment=[a.left+(parseInt(d(b).css(&quot;borderLeftWidth&quot;),10)||0)+(parseInt(d(b).css(&quot;paddingLeft&quot;),10)||0)-this.margins.left,a.top+(parseInt(d(b).css(&quot;borderTopWidth&quot;),
-10)||0)+(parseInt(d(b).css(&quot;paddingTop&quot;),10)||0)-this.margins.top,a.left+(c?Math.max(b.scrollWidth,b.offsetWidth):b.offsetWidth)-(parseInt(d(b).css(&quot;borderLeftWidth&quot;),10)||0)-(parseInt(d(b).css(&quot;paddingRight&quot;),10)||0)-this.helperProportions.width-this.margins.left,a.top+(c?Math.max(b.scrollHeight,b.offsetHeight):b.offsetHeight)-(parseInt(d(b).css(&quot;borderTopWidth&quot;),10)||0)-(parseInt(d(b).css(&quot;paddingBottom&quot;),10)||0)-this.helperProportions.height-this.margins.top]}},_convertPositionTo:function(a,b){if(!b)b=
-this.position;a=a==&quot;absolute&quot;?1:-1;var c=this.cssPosition==&quot;absolute&quot;&amp;&amp;!(this.scrollParent[0]!=document&amp;&amp;d.ui.contains(this.scrollParent[0],this.offsetParent[0]))?this.offsetParent:this.scrollParent,e=/(html|body)/i.test(c[0].tagName);return{top:b.top+this.offset.relative.top*a+this.offset.parent.top*a-(d.browser.safari&amp;&amp;this.cssPosition==&quot;fixed&quot;?0:(this.cssPosition==&quot;fixed&quot;?-this.scrollParent.scrollTop():e?0:c.scrollTop())*a),left:b.left+this.offset.relative.left*a+this.offset.parent.left*a-(d.browser.safari&amp;&amp;
-this.cssPosition==&quot;fixed&quot;?0:(this.cssPosition==&quot;fixed&quot;?-this.scrollParent.scrollLeft():e?0:c.scrollLeft())*a)}},_generatePosition:function(a){var b=this.options,c=this.cssPosition==&quot;absolute&quot;&amp;&amp;!(this.scrollParent[0]!=document&amp;&amp;d.ui.contains(this.scrollParent[0],this.offsetParent[0]))?this.offsetParent:this.scrollParent,e=/(html|body)/i.test(c[0].tagName);if(this.cssPosition==&quot;relative&quot;&amp;&amp;!(this.scrollParent[0]!=document&amp;&amp;this.scrollParent[0]!=this.offsetParent[0]))this.offset.relative=this._getRelativeOffset();
-var f=a.pageX,g=a.pageY;if(this.originalPosition){if(this.containment){if(a.pageX-this.offset.click.left&lt;this.containment[0])f=this.containment[0]+this.offset.click.left;if(a.pageY-this.offset.click.top&lt;this.containment[1])g=this.containment[1]+this.offset.click.top;if(a.pageX-this.offset.click.left&gt;this.containment[2])f=this.containment[2]+this.offset.click.left;if(a.pageY-this.offset.click.top&gt;this.containment[3])g=this.containment[3]+this.offset.click.top}if(b.grid){g=this.originalPageY+Math.round((g-
-this.originalPageY)/b.grid[1])*b.grid[1];g=this.containment?!(g-this.offset.click.top&lt;this.containment[1]||g-this.offset.click.top&gt;this.containment[3])?g:!(g-this.offset.click.top&lt;this.containment[1])?g-b.grid[1]:g+b.grid[1]:g;f=this.originalPageX+Math.round((f-this.originalPageX)/b.grid[0])*b.grid[0];f=this.containment?!(f-this.offset.click.left&lt;this.containment[0]||f-this.offset.click.left&gt;this.containment[2])?f:!(f-this.offset.click.left&lt;this.containment[0])?f-b.grid[0]:f+b.grid[0]:f}}return{top:g-
-this.offset.click.top-this.offset.relative.top-this.offset.parent.top+(d.browser.safari&amp;&amp;this.cssPosition==&quot;fixed&quot;?0:this.cssPosition==&quot;fixed&quot;?-this.scrollParent.scrollTop():e?0:c.scrollTop()),left:f-this.offset.click.left-this.offset.relative.left-this.offset.parent.left+(d.browser.safari&amp;&amp;this.cssPosition==&quot;fixed&quot;?0:this.cssPosition==&quot;fixed&quot;?-this.scrollParent.scrollLeft():e?0:c.scrollLeft())}},_rearrange:function(a,b,c,e){c?c[0].appendChild(this.placeholder[0]):b.item[0].parentNode.insertBefore(this.placeholder[0],
-this.direction==&quot;down&quot;?b.item[0]:b.item[0].nextSibling);this.counter=this.counter?++this.counter:1;var f=this,g=this.counter;window.setTimeout(function(){g==f.counter&amp;&amp;f.refreshPositions(!e)},0)},_clear:function(a,b){this.reverting=false;var c=[];!this._noFinalSort&amp;&amp;this.currentItem.parent().length&amp;&amp;this.placeholder.before(this.currentItem);this._noFinalSort=null;if(this.helper[0]==this.currentItem[0]){for(var e in this._storedCSS)if(this._storedCSS[e]==&quot;auto&quot;||this._storedCSS[e]==&quot;static&quot;)this._storedCSS[e]=
-&quot;&quot;;this.currentItem.css(this._storedCSS).removeClass(&quot;ui-sortable-helper&quot;)}else this.currentItem.show();this.fromOutside&amp;&amp;!b&amp;&amp;c.push(function(f){this._trigger(&quot;receive&quot;,f,this._uiHash(this.fromOutside))});if((this.fromOutside||this.domPosition.prev!=this.currentItem.prev().not(&quot;.ui-sortable-helper&quot;)[0]||this.domPosition.parent!=this.currentItem.parent()[0])&amp;&amp;!b)c.push(function(f){this._trigger(&quot;update&quot;,f,this._uiHash())});if(!d.ui.contains(this.element[0],this.currentItem[0])){b||c.push(function(f){this._trigger(&quot;remove&quot;,
-f,this._uiHash())});for(e=this.containers.length-1;e&gt;=0;e--)if(d.ui.contains(this.containers[e].element[0],this.currentItem[0])&amp;&amp;!b){c.push(function(f){return function(g){f._trigger(&quot;receive&quot;,g,this._uiHash(this))}}.call(this,this.containers[e]));c.push(function(f){return function(g){f._trigger(&quot;update&quot;,g,this._uiHash(this))}}.call(this,this.containers[e]))}}for(e=this.containers.length-1;e&gt;=0;e--){b||c.push(function(f){return function(g){f._trigger(&quot;deactivate&quot;,g,this._uiHash(this))}}.call(this,
-this.containers[e]));if(this.containers[e].containerCache.over){c.push(function(f){return function(g){f._trigger(&quot;out&quot;,g,this._uiHash(this))}}.call(this,this.containers[e]));this.containers[e].containerCache.over=0}}this._storedCursor&amp;&amp;d(&quot;body&quot;).css(&quot;cursor&quot;,this._storedCursor);this._storedOpacity&amp;&amp;this.helper.css(&quot;opacity&quot;,this._storedOpacity);if(this._storedZIndex)this.helper.css(&quot;zIndex&quot;,this._storedZIndex==&quot;auto&quot;?&quot;&quot;:this._storedZIndex);this.dragging=false;if(this.cancelHelperRemoval){if(!b){this._trigger(&quot;beforeStop&quot;,
-a,this._uiHash());for(e=0;e&lt;c.length;e++)c[e].call(this,a);this._trigger(&quot;stop&quot;,a,this._uiHash())}return false}b||this._trigger(&quot;beforeStop&quot;,a,this._uiHash());this.placeholder[0].parentNode.removeChild(this.placeholder[0]);this.helper[0]!=this.currentItem[0]&amp;&amp;this.helper.remove();this.helper=null;if(!b){for(e=0;e&lt;c.length;e++)c[e].call(this,a);this._trigger(&quot;stop&quot;,a,this._uiHash())}this.fromOutside=false;return true},_trigger:function(){d.Widget.prototype._trigger.apply(this,arguments)===false&amp;&amp;this.cancel()},
-_uiHash:function(a){var b=a||this;return{helper:b.helper,placeholder:b.placeholder||d([]),position:b.position,originalPosition:b.originalPosition,offset:b.positionAbs,item:b.currentItem,sender:a?a.element:null}}});d.extend(d.ui.sortable,{version:&quot;1.8.16&quot;})})(jQuery);
</del><ins>+/*! jQuery UI - v1.8.19 - 2012-04-16
+* https://github.com/jquery/jquery-ui
+* Includes: jquery.ui.sortable.js
+* Copyright (c) 2012 AUTHORS.txt; Licensed MIT, GPL */
+(function(a,b){a.widget(&quot;ui.sortable&quot;,a.ui.mouse,{widgetEventPrefix:&quot;sort&quot;,ready:!1,options:{appendTo:&quot;parent&quot;,axis:!1,connectWith:!1,containment:!1,cursor:&quot;auto&quot;,cursorAt:!1,dropOnEmpty:!0,forcePlaceholderSize:!1,forceHelperSize:!1,grid:!1,handle:!1,helper:&quot;original&quot;,items:&quot;&gt; *&quot;,opacity:!1,placeholder:!1,revert:!1,scroll:!0,scrollSensitivity:20,scrollSpeed:20,scope:&quot;default&quot;,tolerance:&quot;intersect&quot;,zIndex:1e3},_create:function(){var a=this.options;this.containerCache={},this.element.addClass(&quot;ui-sortable&quot;),this.refresh(),this.floating=this.items.length?a.axis===&quot;x&quot;||/left|right/.test(this.items[0].item.css(&quot;float&quot;))||/inline|table-cell/.test(this.items[0].item.css(&quot;display&quot;)):!1,this.offset=this.element.offset(),this._mouseInit(),this.ready=!0},destroy:function(){a.Widget.prototype.destroy.call(this),this.element.removeClass(&quot;ui-sortable ui-sortable-
 disabled&quot;),this._mouseDestroy();for(var b=this.items.length-1;b&gt;=0;b--)this.items[b].item.removeData(this.widgetName+&quot;-item&quot;);return this},_setOption:function(b,c){b===&quot;disabled&quot;?(this.options[b]=c,this.widget()[c?&quot;addClass&quot;:&quot;removeClass&quot;](&quot;ui-sortable-disabled&quot;)):a.Widget.prototype._setOption.apply(this,arguments)},_mouseCapture:function(b,c){var d=this;if(this.reverting)return!1;if(this.options.disabled||this.options.type==&quot;static&quot;)return!1;this._refreshItems(b);var e=null,f=this,g=a(b.target).parents().each(function(){if(a.data(this,d.widgetName+&quot;-item&quot;)==f)return e=a(this),!1});a.data(b.target,d.widgetName+&quot;-item&quot;)==f&amp;&amp;(e=a(b.target));if(!e)return!1;if(this.options.handle&amp;&amp;!c){var h=!1;a(this.options.handle,e).find(&quot;*&quot;).andSelf().each(function(){this==b.target&amp;&amp;(h=!0)});if(!h)return!1}return this.currentItem=e,this._removeCurrentsFromItems(),!0},_mous
 eStart:function(b,c,d){var e=this.options,f=this;this.currentContainer=this,this.refreshPositions(),this.helper=this._createHelper(b),this._cacheHelperProportions(),this._cacheMargins(),this.scrollParent=this.helper.scrollParent(),this.offset=this.currentItem.offset(),this.offset={top:this.offset.top-this.margins.top,left:this.offset.left-this.margins.left},this.helper.css(&quot;position&quot;,&quot;absolute&quot;),this.cssPosition=this.helper.css(&quot;position&quot;),a.extend(this.offset,{click:{left:b.pageX-this.offset.left,top:b.pageY-this.offset.top},parent:this._getParentOffset(),relative:this._getRelativeOffset()}),this.originalPosition=this._generatePosition(b),this.originalPageX=b.pageX,this.originalPageY=b.pageY,e.cursorAt&amp;&amp;this._adjustOffsetFromHelper(e.cursorAt),this.domPosition={prev:this.currentItem.prev()[0],parent:this.currentItem.parent()[0]},this.helper[0]!=this.currentItem[0]&amp;&amp;this.currentItem.hide(),this._createPlaceholder(),e.containment&
 amp;&amp;this._setContainment(),e.cursor&amp;&amp;(a(&quot;body&quot;).css(&quot;cursor&quot;)&amp;&amp;(this._storedCursor=a(&quot;body&quot;).css(&quot;cursor&quot;)),a(&quot;body&quot;).css(&quot;cursor&quot;,e.cursor)),e.opacity&amp;&amp;(this.helper.css(&quot;opacity&quot;)&amp;&amp;(this._storedOpacity=this.helper.css(&quot;opacity&quot;)),this.helper.css(&quot;opacity&quot;,e.opacity)),e.zIndex&amp;&amp;(this.helper.css(&quot;zIndex&quot;)&amp;&amp;(this._storedZIndex=this.helper.css(&quot;zIndex&quot;)),this.helper.css(&quot;zIndex&quot;,e.zIndex)),this.scrollParent[0]!=document&amp;&amp;this.scrollParent[0].tagName!=&quot;HTML&quot;&amp;&amp;(this.overflowOffset=this.scrollParent.offset()),this._trigger(&quot;start&quot;,b,this._uiHash()),this._preserveHelperProportions||this._cacheHelperProportions();if(!d)for(var g=this.containers.length-1;g&gt;=0;g--)this.containers[g]._trigger(&quot;activate&quot;,b,f._uiHash(this));return a.ui.ddmanager&amp;&amp;(a.ui.ddmanager
 .current=this),a.ui.ddmanager&amp;&amp;!e.dropBehaviour&amp;&amp;a.ui.ddmanager.prepareOffsets(this,b),this.dragging=!0,this.helper.addClass(&quot;ui-sortable-helper&quot;),this._mouseDrag(b),!0},_mouseDrag:function(b){this.position=this._generatePosition(b),this.positionAbs=this._convertPositionTo(&quot;absolute&quot;),this.lastPositionAbs||(this.lastPositionAbs=this.positionAbs);if(this.options.scroll){var c=this.options,d=!1;this.scrollParent[0]!=document&amp;&amp;this.scrollParent[0].tagName!=&quot;HTML&quot;?(this.overflowOffset.top+this.scrollParent[0].offsetHeight-b.pageY&lt;c.scrollSensitivity?this.scrollParent[0].scrollTop=d=this.scrollParent[0].scrollTop+c.scrollSpeed:b.pageY-this.overflowOffset.top&lt;c.scrollSensitivity&amp;&amp;(this.scrollParent[0].scrollTop=d=this.scrollParent[0].scrollTop-c.scrollSpeed),this.overflowOffset.left+this.scrollParent[0].offsetWidth-b.pageX&lt;c.scrollSensitivity?this.scrollParent[0].scrollLeft=d=this.scrollParent[0].scrollLeft+c.s
 crollSpeed:b.pageX-this.overflowOffset.left&lt;c.scrollSensitivity&amp;&amp;(this.scrollParent[0].scrollLeft=d=this.scrollParent[0].scrollLeft-c.scrollSpeed)):(b.pageY-a(document).scrollTop()&lt;c.scrollSensitivity?d=a(document).scrollTop(a(document).scrollTop()-c.scrollSpeed):a(window).height()-(b.pageY-a(document).scrollTop())&lt;c.scrollSensitivity&amp;&amp;(d=a(document).scrollTop(a(document).scrollTop()+c.scrollSpeed)),b.pageX-a(document).scrollLeft()&lt;c.scrollSensitivity?d=a(document).scrollLeft(a(document).scrollLeft()-c.scrollSpeed):a(window).width()-(b.pageX-a(document).scrollLeft())&lt;c.scrollSensitivity&amp;&amp;(d=a(document).scrollLeft(a(document).scrollLeft()+c.scrollSpeed))),d!==!1&amp;&amp;a.ui.ddmanager&amp;&amp;!c.dropBehaviour&amp;&amp;a.ui.ddmanager.prepareOffsets(this,b)}this.positionAbs=this._convertPositionTo(&quot;absolute&quot;);if(!this.options.axis||this.options.axis!=&quot;y&quot;)this.helper[0].style.left=this.position.left+&quot;px&quot;;if(!
 this.options.axis||this.options.axis!=&quot;x&quot;)this.helper[0].style.top=this.position.top+&quot;px&quot;;for(var e=this.items.length-1;e&gt;=0;e--){var f=this.items[e],g=f.item[0],h=this._intersectsWithPointer(f);if(!h)continue;if(g!=this.currentItem[0]&amp;&amp;this.placeholder[h==1?&quot;next&quot;:&quot;prev&quot;]()[0]!=g&amp;&amp;!a.ui.contains(this.placeholder[0],g)&amp;&amp;(this.options.type==&quot;semi-dynamic&quot;?!a.ui.contains(this.element[0],g):!0)){this.direction=h==1?&quot;down&quot;:&quot;up&quot;;if(this.options.tolerance==&quot;pointer&quot;||this._intersectsWithSides(f))this._rearrange(b,f);else break;this._trigger(&quot;change&quot;,b,this._uiHash());break}}return this._contactContainers(b),a.ui.ddmanager&amp;&amp;a.ui.ddmanager.drag(this,b),this._trigger(&quot;sort&quot;,b,this._uiHash()),this.lastPositionAbs=this.positionAbs,!1},_mouseStop:function(b,c){if(!b)return;a.ui.ddmanager&amp;&amp;!this.options.dropBehaviour&amp;&amp;a.ui.ddmanager.drop(t
 his,b);if(this.options.revert){var d=this,e=d.placeholder.offset();d.reverting=!0,a(this.helper).animate({left:e.left-this.offset.parent.left-d.margins.left+(this.offsetParent[0]==document.body?0:this.offsetParent[0].scrollLeft),top:e.top-this.offset.parent.top-d.margins.top+(this.offsetParent[0]==document.body?0:this.offsetParent[0].scrollTop)},parseInt(this.options.revert,10)||500,function(){d._clear(b)})}else this._clear(b,c);return!1},cancel:function(){var b=this;if(this.dragging){this._mouseUp({target:null}),this.options.helper==&quot;original&quot;?this.currentItem.css(this._storedCSS).removeClass(&quot;ui-sortable-helper&quot;):this.currentItem.show();for(var c=this.containers.length-1;c&gt;=0;c--)this.containers[c]._trigger(&quot;deactivate&quot;,null,b._uiHash(this)),this.containers[c].containerCache.over&amp;&amp;(this.containers[c]._trigger(&quot;out&quot;,null,b._uiHash(this)),this.containers[c].containerCache.over=0)}return this.placeholder&amp;&amp;(this.placeh
 older[0].parentNode&amp;&amp;this.placeholder[0].parentNode.removeChild(this.placeholder[0]),this.options.helper!=&quot;original&quot;&amp;&amp;this.helper&amp;&amp;this.helper[0].parentNode&amp;&amp;this.helper.remove(),a.extend(this,{helper:null,dragging:!1,reverting:!1,_noFinalSort:null}),this.domPosition.prev?a(this.domPosition.prev).after(this.currentItem):a(this.domPosition.parent).prepend(this.currentItem)),this},serialize:function(b){var c=this._getItemsAsjQuery(b&amp;&amp;b.connected),d=[];return b=b||{},a(c).each(function(){var c=(a(b.item||this).attr(b.attribute||&quot;id&quot;)||&quot;&quot;).match(b.expression||/(.+)[-=_](.+)/);c&amp;&amp;d.push((b.key||c[1]+&quot;[]&quot;)+&quot;=&quot;+(b.key&amp;&amp;b.expression?c[1]:c[2]))}),!d.length&amp;&amp;b.key&amp;&amp;d.push(b.key+&quot;=&quot;),d.join(&quot;&amp;&quot;)},toArray:function(b){var c=this._getItemsAsjQuery(b&amp;&amp;b.connected),d=[];return b=b||{},c.each(function(){d.push(a(b.item||this).attr(b.attrib
 ute||&quot;id&quot;)||&quot;&quot;)}),d},_intersectsWith:function(a){var b=this.positionAbs.left,c=b+this.helperProportions.width,d=this.positionAbs.top,e=d+this.helperProportions.height,f=a.left,g=f+a.width,h=a.top,i=h+a.height,j=this.offset.click.top,k=this.offset.click.left,l=d+j&gt;h&amp;&amp;d+j&lt;i&amp;&amp;b+k&gt;f&amp;&amp;b+k&lt;g;return this.options.tolerance==&quot;pointer&quot;||this.options.forcePointerForContainers||this.options.tolerance!=&quot;pointer&quot;&amp;&amp;this.helperProportions[this.floating?&quot;width&quot;:&quot;height&quot;]&gt;a[this.floating?&quot;width&quot;:&quot;height&quot;]?l:f&lt;b+this.helperProportions.width/2&amp;&amp;c-this.helperProportions.width/2&lt;g&amp;&amp;h&lt;d+this.helperProportions.height/2&amp;&amp;e-this.helperProportions.height/2&lt;i},_intersectsWithPointer:function(b){var c=a.ui.isOverAxis(this.positionAbs.top+this.offset.click.top,b.top,b.height),d=a.ui.isOverAxis(this.positionAbs.left+this.offset.click.left,b.left
 ,b.width),e=c&amp;&amp;d,f=this._getDragVerticalDirection(),g=this._getDragHorizontalDirection();return e?this.floating?g&amp;&amp;g==&quot;right&quot;||f==&quot;down&quot;?2:1:f&amp;&amp;(f==&quot;down&quot;?2:1):!1},_intersectsWithSides:function(b){var c=a.ui.isOverAxis(this.positionAbs.top+this.offset.click.top,b.top+b.height/2,b.height),d=a.ui.isOverAxis(this.positionAbs.left+this.offset.click.left,b.left+b.width/2,b.width),e=this._getDragVerticalDirection(),f=this._getDragHorizontalDirection();return this.floating&amp;&amp;f?f==&quot;right&quot;&amp;&amp;d||f==&quot;left&quot;&amp;&amp;!d:e&amp;&amp;(e==&quot;down&quot;&amp;&amp;c||e==&quot;up&quot;&amp;&amp;!c)},_getDragVerticalDirection:function(){var a=this.positionAbs.top-this.lastPositionAbs.top;return a!=0&amp;&amp;(a&gt;0?&quot;down&quot;:&quot;up&quot;)},_getDragHorizontalDirection:function(){var a=this.positionAbs.left-this.lastPositionAbs.left;return a!=0&amp;&amp;(a&gt;0?&quot;right&quot;:&quot;left&quot;)},r
 efresh:function(a){return this._refreshItems(a),this.refreshPositions(),this},_connectWith:function(){var a=this.options;return a.connectWith.constructor==String?[a.connectWith]:a.connectWith},_getItemsAsjQuery:function(b){var c=this,d=[],e=[],f=this._connectWith();if(f&amp;&amp;b)for(var g=f.length-1;g&gt;=0;g--){var h=a(f[g]);for(var i=h.length-1;i&gt;=0;i--){var j=a.data(h[i],this.widgetName);j&amp;&amp;j!=this&amp;&amp;!j.options.disabled&amp;&amp;e.push([a.isFunction(j.options.items)?j.options.items.call(j.element):a(j.options.items,j.element).not(&quot;.ui-sortable-helper&quot;).not(&quot;.ui-sortable-placeholder&quot;),j])}}e.push([a.isFunction(this.options.items)?this.options.items.call(this.element,null,{options:this.options,item:this.currentItem}):a(this.options.items,this.element).not(&quot;.ui-sortable-helper&quot;).not(&quot;.ui-sortable-placeholder&quot;),this]);for(var g=e.length-1;g&gt;=0;g--)e[g][0].each(function(){d.push(this)});return a(d)},_removeCurrents
 FromItems:function(){var a=this.currentItem.find(&quot;:data(&quot;+this.widgetName+&quot;-item)&quot;);for(var b=0;b&lt;this.items.length;b++)for(var c=0;c&lt;a.length;c++)a[c]==this.items[b].item[0]&amp;&amp;this.items.splice(b,1)},_refreshItems:function(b){this.items=[],this.containers=[this];var c=this.items,d=this,e=[[a.isFunction(this.options.items)?this.options.items.call(this.element[0],b,{item:this.currentItem}):a(this.options.items,this.element),this]],f=this._connectWith();if(f&amp;&amp;this.ready)for(var g=f.length-1;g&gt;=0;g--){var h=a(f[g]);for(var i=h.length-1;i&gt;=0;i--){var j=a.data(h[i],this.widgetName);j&amp;&amp;j!=this&amp;&amp;!j.options.disabled&amp;&amp;(e.push([a.isFunction(j.options.items)?j.options.items.call(j.element[0],b,{item:this.currentItem}):a(j.options.items,j.element),j]),this.containers.push(j))}}for(var g=e.length-1;g&gt;=0;g--){var k=e[g][1],l=e[g][0];for(var i=0,m=l.length;i&lt;m;i++){var n=a(l[i]);n.data(this.widgetName+&quot;-item&
 quot;,k),c.push({item:n,instance:k,width:0,height:0,left:0,top:0})}}},refreshPositions:function(b){this.offsetParent&amp;&amp;this.helper&amp;&amp;(this.offset.parent=this._getParentOffset());for(var c=this.items.length-1;c&gt;=0;c--){var d=this.items[c];if(d.instance!=this.currentContainer&amp;&amp;this.currentContainer&amp;&amp;d.item[0]!=this.currentItem[0])continue;var e=this.options.toleranceElement?a(this.options.toleranceElement,d.item):d.item;b||(d.width=e.outerWidth(),d.height=e.outerHeight());var f=e.offset();d.left=f.left,d.top=f.top}if(this.options.custom&amp;&amp;this.options.custom.refreshContainers)this.options.custom.refreshContainers.call(this);else for(var c=this.containers.length-1;c&gt;=0;c--){var f=this.containers[c].element.offset();this.containers[c].containerCache.left=f.left,this.containers[c].containerCache.top=f.top,this.containers[c].containerCache.width=this.containers[c].element.outerWidth(),this.containers[c].containerCache.height=this.containe
 rs[c].element.outerHeight()}return this},_createPlaceholder:function(b){var c=b||this,d=c.options;if(!d.placeholder||d.placeholder.constructor==String){var e=d.placeholder;d.placeholder={element:function(){var b=a(document.createElement(c.currentItem[0].nodeName)).addClass(e||c.currentItem[0].className+&quot; ui-sortable-placeholder&quot;).removeClass(&quot;ui-sortable-helper&quot;).html(&quot;&amp;nbsp;&quot;)[0];return e||(b.style.visibility=&quot;hidden&quot;),b},update:function(a,b){if(e&amp;&amp;!d.forcePlaceholderSize)return;b.height()||b.height(c.currentItem.innerHeight()-parseInt(c.currentItem.css(&quot;paddingTop&quot;)||0,10)-parseInt(c.currentItem.css(&quot;paddingBottom&quot;)||0,10)),b.width()||b.width(c.currentItem.innerWidth()-parseInt(c.currentItem.css(&quot;paddingLeft&quot;)||0,10)-parseInt(c.currentItem.css(&quot;paddingRight&quot;)||0,10))}}}c.placeholder=a(d.placeholder.element.call(c.element,c.currentItem)),c.currentItem.after(c.placeholder),d.placehold
 er.update(c,c.placeholder)},_contactContainers:function(b){var c=null,d=null;for(var e=this.containers.length-1;e&gt;=0;e--){if(a.ui.contains(this.currentItem[0],this.containers[e].element[0]))continue;if(this._intersectsWith(this.containers[e].containerCache)){if(c&amp;&amp;a.ui.contains(this.containers[e].element[0],c.element[0]))continue;c=this.containers[e],d=e}else this.containers[e].containerCache.over&amp;&amp;(this.containers[e]._trigger(&quot;out&quot;,b,this._uiHash(this)),this.containers[e].containerCache.over=0)}if(!c)return;if(this.containers.length===1)this.containers[d]._trigger(&quot;over&quot;,b,this._uiHash(this)),this.containers[d].containerCache.over=1;else if(this.currentContainer!=this.containers[d]){var f=1e4,g=null,h=this.positionAbs[this.containers[d].floating?&quot;left&quot;:&quot;top&quot;];for(var i=this.items.length-1;i&gt;=0;i--){if(!a.ui.contains(this.containers[d].element[0],this.items[i].item[0]))continue;var j=this.items[i][this.containers[
 d].floating?&quot;left&quot;:&quot;top&quot;];Math.abs(j-h)&lt;f&amp;&amp;(f=Math.abs(j-h),g=this.items[i])}if(!g&amp;&amp;!this.options.dropOnEmpty)return;this.currentContainer=this.containers[d],g?this._rearrange(b,g,null,!0):this._rearrange(b,null,this.containers[d].element,!0),this._trigger(&quot;change&quot;,b,this._uiHash()),this.containers[d]._trigger(&quot;change&quot;,b,this._uiHash(this)),this.options.placeholder.update(this.currentContainer,this.placeholder),this.containers[d]._trigger(&quot;over&quot;,b,this._uiHash(this)),this.containers[d].containerCache.over=1}},_createHelper:function(b){var c=this.options,d=a.isFunction(c.helper)?a(c.helper.apply(this.element[0],[b,this.currentItem])):c.helper==&quot;clone&quot;?this.currentItem.clone():this.currentItem;return d.parents(&quot;body&quot;).length||a(c.appendTo!=&quot;parent&quot;?c.appendTo:this.currentItem[0].parentNode)[0].appendChild(d[0]),d[0]==this.currentItem[0]&amp;&amp;(this._storedCSS={width:this.curre
 ntItem[0].style.width,height:this.currentItem[0].style.height,position:this.currentItem.css(&quot;position&quot;),top:this.currentItem.css(&quot;top&quot;),left:this.currentItem.css(&quot;left&quot;)}),(d[0].style.width==&quot;&quot;||c.forceHelperSize)&amp;&amp;d.width(this.currentItem.width()),(d[0].style.height==&quot;&quot;||c.forceHelperSize)&amp;&amp;d.height(this.currentItem.height()),d},_adjustOffsetFromHelper:function(b){typeof b==&quot;string&quot;&amp;&amp;(b=b.split(&quot; &quot;)),a.isArray(b)&amp;&amp;(b={left:+b[0],top:+b[1]||0}),&quot;left&quot;in b&amp;&amp;(this.offset.click.left=b.left+this.margins.left),&quot;right&quot;in b&amp;&amp;(this.offset.click.left=this.helperProportions.width-b.right+this.margins.left),&quot;top&quot;in b&amp;&amp;(this.offset.click.top=b.top+this.margins.top),&quot;bottom&quot;in b&amp;&amp;(this.offset.click.top=this.helperProportions.height-b.bottom+this.margins.top)},_getParentOffset:function(){this.offsetParent=this.helper.
 offsetParent();var b=this.offsetParent.offset();this.cssPosition==&quot;absolute&quot;&amp;&amp;this.scrollParent[0]!=document&amp;&amp;a.ui.contains(this.scrollParent[0],this.offsetParent[0])&amp;&amp;(b.left+=this.scrollParent.scrollLeft(),b.top+=this.scrollParent.scrollTop());if(this.offsetParent[0]==document.body||this.offsetParent[0].tagName&amp;&amp;this.offsetParent[0].tagName.toLowerCase()==&quot;html&quot;&amp;&amp;a.browser.msie)b={top:0,left:0};return{top:b.top+(parseInt(this.offsetParent.css(&quot;borderTopWidth&quot;),10)||0),left:b.left+(parseInt(this.offsetParent.css(&quot;borderLeftWidth&quot;),10)||0)}},_getRelativeOffset:function(){if(this.cssPosition==&quot;relative&quot;){var a=this.currentItem.position();return{top:a.top-(parseInt(this.helper.css(&quot;top&quot;),10)||0)+this.scrollParent.scrollTop(),left:a.left-(parseInt(this.helper.css(&quot;left&quot;),10)||0)+this.scrollParent.scrollLeft()}}return{top:0,left:0}},_cacheMargins:function(){this.margins=
 {left:parseInt(this.currentItem.css(&quot;marginLeft&quot;),10)||0,top:parseInt(this.currentItem.css(&quot;marginTop&quot;),10)||0}},_cacheHelperProportions:function(){this.helperProportions={width:this.helper.outerWidth(),height:this.helper.outerHeight()}},_setContainment:function(){var b=this.options;b.containment==&quot;parent&quot;&amp;&amp;(b.containment=this.helper[0].parentNode);if(b.containment==&quot;document&quot;||b.containment==&quot;window&quot;)this.containment=[0-this.offset.relative.left-this.offset.parent.left,0-this.offset.relative.top-this.offset.parent.top,a(b.containment==&quot;document&quot;?document:window).width()-this.helperProportions.width-this.margins.left,(a(b.containment==&quot;document&quot;?document:window).height()||document.body.parentNode.scrollHeight)-this.helperProportions.height-this.margins.top];if(!/^(document|window|parent)$/.test(b.containment)){var c=a(b.containment)[0],d=a(b.containment).offset(),e=a(c).css(&quot;overflow&quot;)!=&
 quot;hidden&quot;;this.containment=[d.left+(parseInt(a(c).css(&quot;borderLeftWidth&quot;),10)||0)+(parseInt(a(c).css(&quot;paddingLeft&quot;),10)||0)-this.margins.left,d.top+(parseInt(a(c).css(&quot;borderTopWidth&quot;),10)||0)+(parseInt(a(c).css(&quot;paddingTop&quot;),10)||0)-this.margins.top,d.left+(e?Math.max(c.scrollWidth,c.offsetWidth):c.offsetWidth)-(parseInt(a(c).css(&quot;borderLeftWidth&quot;),10)||0)-(parseInt(a(c).css(&quot;paddingRight&quot;),10)||0)-this.helperProportions.width-this.margins.left,d.top+(e?Math.max(c.scrollHeight,c.offsetHeight):c.offsetHeight)-(parseInt(a(c).css(&quot;borderTopWidth&quot;),10)||0)-(parseInt(a(c).css(&quot;paddingBottom&quot;),10)||0)-this.helperProportions.height-this.margins.top]}},_convertPositionTo:function(b,c){c||(c=this.position);var d=b==&quot;absolute&quot;?1:-1,e=this.options,f=this.cssPosition==&quot;absolute&quot;&amp;&amp;(this.scrollParent[0]==document||!a.ui.contains(this.scrollParent[0],this.offsetParent[0]))?th
 is.offsetParent:this.scrollParent,g=/(html|body)/i.test(f[0].tagName);return{top:c.top+this.offset.relative.top*d+this.offset.parent.top*d-(a.browser.safari&amp;&amp;this.cssPosition==&quot;fixed&quot;?0:(this.cssPosition==&quot;fixed&quot;?-this.scrollParent.scrollTop():g?0:f.scrollTop())*d),left:c.left+this.offset.relative.left*d+this.offset.parent.left*d-(a.browser.safari&amp;&amp;this.cssPosition==&quot;fixed&quot;?0:(this.cssPosition==&quot;fixed&quot;?-this.scrollParent.scrollLeft():g?0:f.scrollLeft())*d)}},_generatePosition:function(b){var c=this.options,d=this.cssPosition==&quot;absolute&quot;&amp;&amp;(this.scrollParent[0]==document||!a.ui.contains(this.scrollParent[0],this.offsetParent[0]))?this.offsetParent:this.scrollParent,e=/(html|body)/i.test(d[0].tagName);this.cssPosition==&quot;relative&quot;&amp;&amp;(this.scrollParent[0]==document||this.scrollParent[0]==this.offsetParent[0])&amp;&amp;(this.offset.relative=this._getRelativeOffset());var f=b.pageX,g=b.pageY;
 if(this.originalPosition){this.containment&amp;&amp;(b.pageX-this.offset.click.left&lt;this.containment[0]&amp;&amp;(f=this.containment[0]+this.offset.click.left),b.pageY-this.offset.click.top&lt;this.containment[1]&amp;&amp;(g=this.containment[1]+this.offset.click.top),b.pageX-this.offset.click.left&gt;this.containment[2]&amp;&amp;(f=this.containment[2]+this.offset.click.left),b.pageY-this.offset.click.top&gt;this.containment[3]&amp;&amp;(g=this.containment[3]+this.offset.click.top));if(c.grid){var h=this.originalPageY+Math.round((g-this.originalPageY)/c.grid[1])*c.grid[1];g=this.containment?h-this.offset.click.top&lt;this.containment[1]||h-this.offset.click.top&gt;this.containment[3]?h-this.offset.click.top&lt;this.containment[1]?h+c.grid[1]:h-c.grid[1]:h:h;var i=this.originalPageX+Math.round((f-this.originalPageX)/c.grid[0])*c.grid[0];f=this.containment?i-this.offset.click.left&lt;this.containment[0]||i-this.offset.click.left&gt;this.containment[2]?i-this.offset.click.lef
 t&lt;this.containment[0]?i+c.grid[0]:i-c.grid[0]:i:i}}return{top:g-this.offset.click.top-this.offset.relative.top-this.offset.parent.top+(a.browser.safari&amp;&amp;this.cssPosition==&quot;fixed&quot;?0:this.cssPosition==&quot;fixed&quot;?-this.scrollParent.scrollTop():e?0:d.scrollTop()),left:f-this.offset.click.left-this.offset.relative.left-this.offset.parent.left+(a.browser.safari&amp;&amp;this.cssPosition==&quot;fixed&quot;?0:this.cssPosition==&quot;fixed&quot;?-this.scrollParent.scrollLeft():e?0:d.scrollLeft())}},_rearrange:function(a,b,c,d){c?c[0].appendChild(this.placeholder[0]):b.item[0].parentNode.insertBefore(this.placeholder[0],this.direction==&quot;down&quot;?b.item[0]:b.item[0].nextSibling),this.counter=this.counter?++this.counter:1;var e=this,f=this.counter;window.setTimeout(function(){f==e.counter&amp;&amp;e.refreshPositions(!d)},0)},_clear:function(b,c){this.reverting=!1;var d=[],e=this;!this._noFinalSort&amp;&amp;this.currentItem.parent().length&amp;&amp;this
 .placeholder.before(this.currentItem),this._noFinalSort=null;if(this.helper[0]==this.currentItem[0]){for(var f in this._storedCSS)if(this._storedCSS[f]==&quot;auto&quot;||this._storedCSS[f]==&quot;static&quot;)this._storedCSS[f]=&quot;&quot;;this.currentItem.css(this._storedCSS).removeClass(&quot;ui-sortable-helper&quot;)}else this.currentItem.show();this.fromOutside&amp;&amp;!c&amp;&amp;d.push(function(a){this._trigger(&quot;receive&quot;,a,this._uiHash(this.fromOutside))}),(this.fromOutside||this.domPosition.prev!=this.currentItem.prev().not(&quot;.ui-sortable-helper&quot;)[0]||this.domPosition.parent!=this.currentItem.parent()[0])&amp;&amp;!c&amp;&amp;d.push(function(a){this._trigger(&quot;update&quot;,a,this._uiHash())});if(!a.ui.contains(this.element[0],this.currentItem[0])){c||d.push(function(a){this._trigger(&quot;remove&quot;,a,this._uiHash())});for(var f=this.containers.length-1;f&gt;=0;f--)a.ui.contains(this.containers[f].element[0],this.currentItem[0])&amp;&amp;!c
 &amp;&amp;(d.push(function(a){return function(b){a._trigger(&quot;receive&quot;,b,this._uiHash(this))}}.call(this,this.containers[f])),d.push(function(a){return function(b){a._trigger(&quot;update&quot;,b,this._uiHash(this))}}.call(this,this.containers[f])))}for(var f=this.containers.length-1;f&gt;=0;f--)c||d.push(function(a){return function(b){a._trigger(&quot;deactivate&quot;,b,this._uiHash(this))}}.call(this,this.containers[f])),this.containers[f].containerCache.over&amp;&amp;(d.push(function(a){return function(b){a._trigger(&quot;out&quot;,b,this._uiHash(this))}}.call(this,this.containers[f])),this.containers[f].containerCache.over=0);this._storedCursor&amp;&amp;a(&quot;body&quot;).css(&quot;cursor&quot;,this._storedCursor),this._storedOpacity&amp;&amp;this.helper.css(&quot;opacity&quot;,this._storedOpacity),this._storedZIndex&amp;&amp;this.helper.css(&quot;zIndex&quot;,this._storedZIndex==&quot;auto&quot;?&quot;&quot;:this._storedZIndex),this.dragging=!1;if(this.cancelH
 elperRemoval){if(!c){this._trigger(&quot;beforeStop&quot;,b,this._uiHash());for(var f=0;f&lt;d.length;f++)d[f].call(this,b);this._trigger(&quot;stop&quot;,b,this._uiHash())}return!1}c||this._trigger(&quot;beforeStop&quot;,b,this._uiHash()),this.placeholder[0].parentNode.removeChild(this.placeholder[0]),this.helper[0]!=this.currentItem[0]&amp;&amp;this.helper.remove(),this.helper=null;if(!c){for(var f=0;f&lt;d.length;f++)d[f].call(this,b);this._trigger(&quot;stop&quot;,b,this._uiHash())}return this.fromOutside=!1,!0},_trigger:function(){a.Widget.prototype._trigger.apply(this,arguments)===!1&amp;&amp;this.cancel()},_uiHash:function(b){var c=b||this;return{helper:c.helper,placeholder:c.placeholder||a([]),position:c.position,originalPosition:c.originalPosition,offset:c.positionAbs,item:c.currentItem,sender:b?b.element:null}}}),a.extend(a.ui.sortable,{version:&quot;1.8.19&quot;})})(jQuery)
</ins><span class="cx">\ No newline at end of file
</span></span></pre></div>
<a id="trunkwpincludesjsjqueryuijqueryuitabsminjs"></a>
<div class="modfile"><h4>Modified: trunk/wp-includes/js/jquery/ui/jquery.ui.tabs.min.js (20491 => 20492)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-includes/js/jquery/ui/jquery.ui.tabs.min.js        2012-04-17 03:41:07 UTC (rev 20491)
+++ trunk/wp-includes/js/jquery/ui/jquery.ui.tabs.min.js        2012-04-17 16:49:17 UTC (rev 20492)
</span><span class="lines">@@ -1,35 +1,5 @@
</span><del>-/*
- * jQuery UI Tabs 1.8.16
- *
- * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
- * Dual licensed under the MIT or GPL Version 2 licenses.
- * http://jquery.org/license
- *
- * http://docs.jquery.com/UI/Tabs
- *
- * Depends:
- *        jquery.ui.core.js
- *        jquery.ui.widget.js
- */
-(function(d,p){function u(){return++v}function w(){return++x}var v=0,x=0;d.widget(&quot;ui.tabs&quot;,{options:{add:null,ajaxOptions:null,cache:false,cookie:null,collapsible:false,disable:null,disabled:[],enable:null,event:&quot;click&quot;,fx:null,idPrefix:&quot;ui-tabs-&quot;,load:null,panelTemplate:&quot;&lt;div&gt;&lt;/div&gt;&quot;,remove:null,select:null,show:null,spinner:&quot;&lt;em&gt;Loading&amp;#8230;&lt;/em&gt;&quot;,tabTemplate:&quot;&lt;li&gt;&lt;a href='#{href}'&gt;&lt;span&gt;#{label}&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;&quot;},_create:function(){this._tabify(true)},_setOption:function(b,e){if(b==&quot;selected&quot;)this.options.collapsible&amp;&amp;
-e==this.options.selected||this.select(e);else{this.options[b]=e;this._tabify()}},_tabId:function(b){return b.title&amp;&amp;b.title.replace(/\s/g,&quot;_&quot;).replace(/[^\w\u00c0-\uFFFF-]/g,&quot;&quot;)||this.options.idPrefix+u()},_sanitizeSelector:function(b){return b.replace(/:/g,&quot;\\:&quot;)},_cookie:function(){var b=this.cookie||(this.cookie=this.options.cookie.name||&quot;ui-tabs-&quot;+w());return d.cookie.apply(null,[b].concat(d.makeArray(arguments)))},_ui:function(b,e){return{tab:b,panel:e,index:this.anchors.index(b)}},_cleanup:function(){this.lis.filter(&quot;.ui-state-processing&quot;).removeClass(&quot;ui-state-processing&quot;).find(&quot;span:data(label.tabs)&quot;).each(function(){var b=
-d(this);b.html(b.data(&quot;label.tabs&quot;)).removeData(&quot;label.tabs&quot;)})},_tabify:function(b){function e(g,f){g.css(&quot;display&quot;,&quot;&quot;);!d.support.opacity&amp;&amp;f.opacity&amp;&amp;g[0].style.removeAttribute(&quot;filter&quot;)}var a=this,c=this.options,h=/^#.+/;this.list=this.element.find(&quot;ol,ul&quot;).eq(0);this.lis=d(&quot; &gt; li:has(a[href])&quot;,this.list);this.anchors=this.lis.map(function(){return d(&quot;a&quot;,this)[0]});this.panels=d([]);this.anchors.each(function(g,f){var i=d(f).attr(&quot;href&quot;),l=i.split(&quot;#&quot;)[0],q;if(l&amp;&amp;(l===location.toString().split(&quot;#&quot;)[0]||
-(q=d(&quot;base&quot;)[0])&amp;&amp;l===q.href)){i=f.hash;f.href=i}if(h.test(i))a.panels=a.panels.add(a.element.find(a._sanitizeSelector(i)));else if(i&amp;&amp;i!==&quot;#&quot;){d.data(f,&quot;href.tabs&quot;,i);d.data(f,&quot;load.tabs&quot;,i.replace(/#.*$/,&quot;&quot;));i=a._tabId(f);f.href=&quot;#&quot;+i;f=a.element.find(&quot;#&quot;+i);if(!f.length){f=d(c.panelTemplate).attr(&quot;id&quot;,i).addClass(&quot;ui-tabs-panel ui-widget-content ui-corner-bottom&quot;).insertAfter(a.panels[g-1]||a.list);f.data(&quot;destroy.tabs&quot;,true)}a.panels=a.panels.add(f)}else c.disabled.push(g)});if(b){this.element.addClass(&quot;ui-tabs ui-widget ui-widget-content ui-corner-all&quot;);
-this.list.addClass(&quot;ui-tabs-nav ui-helper-reset ui-helper-clearfix ui-widget-header ui-corner-all&quot;);this.lis.addClass(&quot;ui-state-default ui-corner-top&quot;);this.panels.addClass(&quot;ui-tabs-panel ui-widget-content ui-corner-bottom&quot;);if(c.selected===p){location.hash&amp;&amp;this.anchors.each(function(g,f){if(f.hash==location.hash){c.selected=g;return false}});if(typeof c.selected!==&quot;number&quot;&amp;&amp;c.cookie)c.selected=parseInt(a._cookie(),10);if(typeof c.selected!==&quot;number&quot;&amp;&amp;this.lis.filter(&quot;.ui-tabs-selected&quot;).length)c.selected=
-this.lis.index(this.lis.filter(&quot;.ui-tabs-selected&quot;));c.selected=c.selected||(this.lis.length?0:-1)}else if(c.selected===null)c.selected=-1;c.selected=c.selected&gt;=0&amp;&amp;this.anchors[c.selected]||c.selected&lt;0?c.selected:0;c.disabled=d.unique(c.disabled.concat(d.map(this.lis.filter(&quot;.ui-state-disabled&quot;),function(g){return a.lis.index(g)}))).sort();d.inArray(c.selected,c.disabled)!=-1&amp;&amp;c.disabled.splice(d.inArray(c.selected,c.disabled),1);this.panels.addClass(&quot;ui-tabs-hide&quot;);this.lis.removeClass(&quot;ui-tabs-selected ui-state-active&quot;);
-if(c.selected&gt;=0&amp;&amp;this.anchors.length){a.element.find(a._sanitizeSelector(a.anchors[c.selected].hash)).removeClass(&quot;ui-tabs-hide&quot;);this.lis.eq(c.selected).addClass(&quot;ui-tabs-selected ui-state-active&quot;);a.element.queue(&quot;tabs&quot;,function(){a._trigger(&quot;show&quot;,null,a._ui(a.anchors[c.selected],a.element.find(a._sanitizeSelector(a.anchors[c.selected].hash))[0]))});this.load(c.selected)}d(window).bind(&quot;unload&quot;,function(){a.lis.add(a.anchors).unbind(&quot;.tabs&quot;);a.lis=a.anchors=a.panels=null})}else c.selected=this.lis.index(this.lis.filter(&quot;.ui-tabs-selected&quot;));
-this.element[c.collapsible?&quot;addClass&quot;:&quot;removeClass&quot;](&quot;ui-tabs-collapsible&quot;);c.cookie&amp;&amp;this._cookie(c.selected,c.cookie);b=0;for(var j;j=this.lis[b];b++)d(j)[d.inArray(b,c.disabled)!=-1&amp;&amp;!d(j).hasClass(&quot;ui-tabs-selected&quot;)?&quot;addClass&quot;:&quot;removeClass&quot;](&quot;ui-state-disabled&quot;);c.cache===false&amp;&amp;this.anchors.removeData(&quot;cache.tabs&quot;);this.lis.add(this.anchors).unbind(&quot;.tabs&quot;);if(c.event!==&quot;mouseover&quot;){var k=function(g,f){f.is(&quot;:not(.ui-state-disabled)&quot;)&amp;&amp;f.addClass(&quot;ui-state-&quot;+g)},n=function(g,f){f.removeClass(&quot;ui-state-&quot;+
-g)};this.lis.bind(&quot;mouseover.tabs&quot;,function(){k(&quot;hover&quot;,d(this))});this.lis.bind(&quot;mouseout.tabs&quot;,function(){n(&quot;hover&quot;,d(this))});this.anchors.bind(&quot;focus.tabs&quot;,function(){k(&quot;focus&quot;,d(this).closest(&quot;li&quot;))});this.anchors.bind(&quot;blur.tabs&quot;,function(){n(&quot;focus&quot;,d(this).closest(&quot;li&quot;))})}var m,o;if(c.fx)if(d.isArray(c.fx)){m=c.fx[0];o=c.fx[1]}else m=o=c.fx;var r=o?function(g,f){d(g).closest(&quot;li&quot;).addClass(&quot;ui-tabs-selected ui-state-active&quot;);f.hide().removeClass(&quot;ui-tabs-hide&quot;).animate(o,o.duration||&quot;normal&quot;,
-function(){e(f,o);a._trigger(&quot;show&quot;,null,a._ui(g,f[0]))})}:function(g,f){d(g).closest(&quot;li&quot;).addClass(&quot;ui-tabs-selected ui-state-active&quot;);f.removeClass(&quot;ui-tabs-hide&quot;);a._trigger(&quot;show&quot;,null,a._ui(g,f[0]))},s=m?function(g,f){f.animate(m,m.duration||&quot;normal&quot;,function(){a.lis.removeClass(&quot;ui-tabs-selected ui-state-active&quot;);f.addClass(&quot;ui-tabs-hide&quot;);e(f,m);a.element.dequeue(&quot;tabs&quot;)})}:function(g,f){a.lis.removeClass(&quot;ui-tabs-selected ui-state-active&quot;);f.addClass(&quot;ui-tabs-hide&quot;);a.element.dequeue(&quot;tabs&quot;)};
-this.anchors.bind(c.event+&quot;.tabs&quot;,function(){var g=this,f=d(g).closest(&quot;li&quot;),i=a.panels.filter(&quot;:not(.ui-tabs-hide)&quot;),l=a.element.find(a._sanitizeSelector(g.hash));if(f.hasClass(&quot;ui-tabs-selected&quot;)&amp;&amp;!c.collapsible||f.hasClass(&quot;ui-state-disabled&quot;)||f.hasClass(&quot;ui-state-processing&quot;)||a.panels.filter(&quot;:animated&quot;).length||a._trigger(&quot;select&quot;,null,a._ui(this,l[0]))===false){this.blur();return false}c.selected=a.anchors.index(this);a.abort();if(c.collapsible)if(f.hasClass(&quot;ui-tabs-selected&quot;)){c.selected=
--1;c.cookie&amp;&amp;a._cookie(c.selected,c.cookie);a.element.queue(&quot;tabs&quot;,function(){s(g,i)}).dequeue(&quot;tabs&quot;);this.blur();return false}else if(!i.length){c.cookie&amp;&amp;a._cookie(c.selected,c.cookie);a.element.queue(&quot;tabs&quot;,function(){r(g,l)});a.load(a.anchors.index(this));this.blur();return false}c.cookie&amp;&amp;a._cookie(c.selected,c.cookie);if(l.length){i.length&amp;&amp;a.element.queue(&quot;tabs&quot;,function(){s(g,i)});a.element.queue(&quot;tabs&quot;,function(){r(g,l)});a.load(a.anchors.index(this))}else throw&quot;jQuery UI Tabs: Mismatching fragment identifier.&quot;;
-d.browser.msie&amp;&amp;this.blur()});this.anchors.bind(&quot;click.tabs&quot;,function(){return false})},_getIndex:function(b){if(typeof b==&quot;string&quot;)b=this.anchors.index(this.anchors.filter(&quot;[href$=&quot;+b+&quot;]&quot;));return b},destroy:function(){var b=this.options;this.abort();this.element.unbind(&quot;.tabs&quot;).removeClass(&quot;ui-tabs ui-widget ui-widget-content ui-corner-all ui-tabs-collapsible&quot;).removeData(&quot;tabs&quot;);this.list.removeClass(&quot;ui-tabs-nav ui-helper-reset ui-helper-clearfix ui-widget-header ui-corner-all&quot;);this.anchors.each(function(){var e=
-d.data(this,&quot;href.tabs&quot;);if(e)this.href=e;var a=d(this).unbind(&quot;.tabs&quot;);d.each([&quot;href&quot;,&quot;load&quot;,&quot;cache&quot;],function(c,h){a.removeData(h+&quot;.tabs&quot;)})});this.lis.unbind(&quot;.tabs&quot;).add(this.panels).each(function(){d.data(this,&quot;destroy.tabs&quot;)?d(this).remove():d(this).removeClass(&quot;ui-state-default ui-corner-top ui-tabs-selected ui-state-active ui-state-hover ui-state-focus ui-state-disabled ui-tabs-panel ui-widget-content ui-corner-bottom ui-tabs-hide&quot;)});b.cookie&amp;&amp;this._cookie(null,b.cookie);return this},add:function(b,
-e,a){if(a===p)a=this.anchors.length;var c=this,h=this.options;e=d(h.tabTemplate.replace(/#\{href\}/g,b).replace(/#\{label\}/g,e));b=!b.indexOf(&quot;#&quot;)?b.replace(&quot;#&quot;,&quot;&quot;):this._tabId(d(&quot;a&quot;,e)[0]);e.addClass(&quot;ui-state-default ui-corner-top&quot;).data(&quot;destroy.tabs&quot;,true);var j=c.element.find(&quot;#&quot;+b);j.length||(j=d(h.panelTemplate).attr(&quot;id&quot;,b).data(&quot;destroy.tabs&quot;,true));j.addClass(&quot;ui-tabs-panel ui-widget-content ui-corner-bottom ui-tabs-hide&quot;);if(a&gt;=this.lis.length){e.appendTo(this.list);j.appendTo(this.list[0].parentNode)}else{e.insertBefore(this.lis[a]);
-j.insertBefore(this.panels[a])}h.disabled=d.map(h.disabled,function(k){return k&gt;=a?++k:k});this._tabify();if(this.anchors.length==1){h.selected=0;e.addClass(&quot;ui-tabs-selected ui-state-active&quot;);j.removeClass(&quot;ui-tabs-hide&quot;);this.element.queue(&quot;tabs&quot;,function(){c._trigger(&quot;show&quot;,null,c._ui(c.anchors[0],c.panels[0]))});this.load(0)}this._trigger(&quot;add&quot;,null,this._ui(this.anchors[a],this.panels[a]));return this},remove:function(b){b=this._getIndex(b);var e=this.options,a=this.lis.eq(b).remove(),c=this.panels.eq(b).remove();
-if(a.hasClass(&quot;ui-tabs-selected&quot;)&amp;&amp;this.anchors.length&gt;1)this.select(b+(b+1&lt;this.anchors.length?1:-1));e.disabled=d.map(d.grep(e.disabled,function(h){return h!=b}),function(h){return h&gt;=b?--h:h});this._tabify();this._trigger(&quot;remove&quot;,null,this._ui(a.find(&quot;a&quot;)[0],c[0]));return this},enable:function(b){b=this._getIndex(b);var e=this.options;if(d.inArray(b,e.disabled)!=-1){this.lis.eq(b).removeClass(&quot;ui-state-disabled&quot;);e.disabled=d.grep(e.disabled,function(a){return a!=b});this._trigger(&quot;enable&quot;,null,
-this._ui(this.anchors[b],this.panels[b]));return this}},disable:function(b){b=this._getIndex(b);var e=this.options;if(b!=e.selected){this.lis.eq(b).addClass(&quot;ui-state-disabled&quot;);e.disabled.push(b);e.disabled.sort();this._trigger(&quot;disable&quot;,null,this._ui(this.anchors[b],this.panels[b]))}return this},select:function(b){b=this._getIndex(b);if(b==-1)if(this.options.collapsible&amp;&amp;this.options.selected!=-1)b=this.options.selected;else return this;this.anchors.eq(b).trigger(this.options.event+&quot;.tabs&quot;);return this},
-load:function(b){b=this._getIndex(b);var e=this,a=this.options,c=this.anchors.eq(b)[0],h=d.data(c,&quot;load.tabs&quot;);this.abort();if(!h||this.element.queue(&quot;tabs&quot;).length!==0&amp;&amp;d.data(c,&quot;cache.tabs&quot;))this.element.dequeue(&quot;tabs&quot;);else{this.lis.eq(b).addClass(&quot;ui-state-processing&quot;);if(a.spinner){var j=d(&quot;span&quot;,c);j.data(&quot;label.tabs&quot;,j.html()).html(a.spinner)}this.xhr=d.ajax(d.extend({},a.ajaxOptions,{url:h,success:function(k,n){e.element.find(e._sanitizeSelector(c.hash)).html(k);e._cleanup();a.cache&amp;&amp;d.data(c,
-&quot;cache.tabs&quot;,true);e._trigger(&quot;load&quot;,null,e._ui(e.anchors[b],e.panels[b]));try{a.ajaxOptions.success(k,n)}catch(m){}},error:function(k,n){e._cleanup();e._trigger(&quot;load&quot;,null,e._ui(e.anchors[b],e.panels[b]));try{a.ajaxOptions.error(k,n,b,c)}catch(m){}}}));e.element.dequeue(&quot;tabs&quot;);return this}},abort:function(){this.element.queue([]);this.panels.stop(false,true);this.element.queue(&quot;tabs&quot;,this.element.queue(&quot;tabs&quot;).splice(-2,2));if(this.xhr){this.xhr.abort();delete this.xhr}this._cleanup();return this},
-url:function(b,e){this.anchors.eq(b).removeData(&quot;cache.tabs&quot;).data(&quot;load.tabs&quot;,e);return this},length:function(){return this.anchors.length}});d.extend(d.ui.tabs,{version:&quot;1.8.16&quot;});d.extend(d.ui.tabs.prototype,{rotation:null,rotate:function(b,e){var a=this,c=this.options,h=a._rotate||(a._rotate=function(j){clearTimeout(a.rotation);a.rotation=setTimeout(function(){var k=c.selected;a.select(++k&lt;a.anchors.length?k:0)},b);j&amp;&amp;j.stopPropagation()});e=a._unrotate||(a._unrotate=!e?function(j){j.clientX&amp;&amp;
-a.rotate(null)}:function(){t=c.selected;h()});if(b){this.element.bind(&quot;tabsshow&quot;,h);this.anchors.bind(c.event+&quot;.tabs&quot;,e);h()}else{clearTimeout(a.rotation);this.element.unbind(&quot;tabsshow&quot;,h);this.anchors.unbind(c.event+&quot;.tabs&quot;,e);delete this._rotate;delete this._unrotate}return this}})})(jQuery);
</del><ins>+/*! jQuery UI - v1.8.19 - 2012-04-16
+* https://github.com/jquery/jquery-ui
+* Includes: jquery.ui.tabs.js
+* Copyright (c) 2012 AUTHORS.txt; Licensed MIT, GPL */
+(function(a,b){function e(){return++c}function f(){return++d}var c=0,d=0;a.widget(&quot;ui.tabs&quot;,{options:{add:null,ajaxOptions:null,cache:!1,cookie:null,collapsible:!1,disable:null,disabled:[],enable:null,event:&quot;click&quot;,fx:null,idPrefix:&quot;ui-tabs-&quot;,load:null,panelTemplate:&quot;&lt;div&gt;&lt;/div&gt;&quot;,remove:null,select:null,show:null,spinner:&quot;&lt;em&gt;Loading&amp;#8230;&lt;/em&gt;&quot;,tabTemplate:&quot;&lt;li&gt;&lt;a href='#{href}'&gt;&lt;span&gt;#{label}&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;&quot;},_create:function(){this._tabify(!0)},_setOption:function(a,b){if(a==&quot;selected&quot;){if(this.options.collapsible&amp;&amp;b==this.options.selected)return;this.select(b)}else this.options[a]=b,this._tabify()},_tabId:function(a){return a.title&amp;&amp;a.title.replace(/\s/g,&quot;_&quot;).replace(/[^\w\u00c0-\uFFFF-]/g,&quot;&quot;)||this.options.idPrefix+e()},_sanitizeSelector:function(a){return a.replace(/:/g,&quot;\\:&quot;)},_cookie:func
 tion(){var b=this.cookie||(this.cookie=this.options.cookie.name||&quot;ui-tabs-&quot;+f());return a.cookie.apply(null,[b].concat(a.makeArray(arguments)))},_ui:function(a,b){return{tab:a,panel:b,index:this.anchors.index(a)}},_cleanup:function(){this.lis.filter(&quot;.ui-state-processing&quot;).removeClass(&quot;ui-state-processing&quot;).find(&quot;span:data(label.tabs)&quot;).each(function(){var b=a(this);b.html(b.data(&quot;label.tabs&quot;)).removeData(&quot;label.tabs&quot;)})},_tabify:function(c){function m(b,c){b.css(&quot;display&quot;,&quot;&quot;),!a.support.opacity&amp;&amp;c.opacity&amp;&amp;b[0].style.removeAttribute(&quot;filter&quot;)}var d=this,e=this.options,f=/^#.+/;this.list=this.element.find(&quot;ol,ul&quot;).eq(0),this.lis=a(&quot; &gt; li:has(a[href])&quot;,this.list),this.anchors=this.lis.map(function(){return a(&quot;a&quot;,this)[0]}),this.panels=a([]),this.anchors.each(function(b,c){var g=a(c).attr(&quot;href&quot;),h=g.split(&quot;#&quot;)[0],i;h&am
 p;&amp;(h===location.toString().split(&quot;#&quot;)[0]||(i=a(&quot;base&quot;)[0])&amp;&amp;h===i.href)&amp;&amp;(g=c.hash,c.href=g);if(f.test(g))d.panels=d.panels.add(d.element.find(d._sanitizeSelector(g)));else if(g&amp;&amp;g!==&quot;#&quot;){a.data(c,&quot;href.tabs&quot;,g),a.data(c,&quot;load.tabs&quot;,g.replace(/#.*$/,&quot;&quot;));var j=d._tabId(c);c.href=&quot;#&quot;+j;var k=d.element.find(&quot;#&quot;+j);k.length||(k=a(e.panelTemplate).attr(&quot;id&quot;,j).addClass(&quot;ui-tabs-panel ui-widget-content ui-corner-bottom&quot;).insertAfter(d.panels[b-1]||d.list),k.data(&quot;destroy.tabs&quot;,!0)),d.panels=d.panels.add(k)}else e.disabled.push(b)}),c?(this.element.addClass(&quot;ui-tabs ui-widget ui-widget-content ui-corner-all&quot;),this.list.addClass(&quot;ui-tabs-nav ui-helper-reset ui-helper-clearfix ui-widget-header ui-corner-all&quot;),this.lis.addClass(&quot;ui-state-default ui-corner-top&quot;),this.panels.addClass(&quot;ui-tabs-panel ui-widget-conten
 t ui-corner-bottom&quot;),e.selected===b?(location.hash&amp;&amp;this.anchors.each(function(a,b){if(b.hash==location.hash)return e.selected=a,!1}),typeof e.selected!=&quot;number&quot;&amp;&amp;e.cookie&amp;&amp;(e.selected=parseInt(d._cookie(),10)),typeof e.selected!=&quot;number&quot;&amp;&amp;this.lis.filter(&quot;.ui-tabs-selected&quot;).length&amp;&amp;(e.selected=this.lis.index(this.lis.filter(&quot;.ui-tabs-selected&quot;))),e.selected=e.selected||(this.lis.length?0:-1)):e.selected===null&amp;&amp;(e.selected=-1),e.selected=e.selected&gt;=0&amp;&amp;this.anchors[e.selected]||e.selected&lt;0?e.selected:0,e.disabled=a.unique(e.disabled.concat(a.map(this.lis.filter(&quot;.ui-state-disabled&quot;),function(a,b){return d.lis.index(a)}))).sort(),a.inArray(e.selected,e.disabled)!=-1&amp;&amp;e.disabled.splice(a.inArray(e.selected,e.disabled),1),this.panels.addClass(&quot;ui-tabs-hide&quot;),this.lis.removeClass(&quot;ui-tabs-selected ui-state-active&quot;),e.selected&gt;=0&a
 mp;&amp;this.anchors.length&amp;&amp;(d.element.find(d._sanitizeSelector(d.anchors[e.selected].hash)).removeClass(&quot;ui-tabs-hide&quot;),this.lis.eq(e.selected).addClass(&quot;ui-tabs-selected ui-state-active&quot;),d.element.queue(&quot;tabs&quot;,function(){d._trigger(&quot;show&quot;,null,d._ui(d.anchors[e.selected],d.element.find(d._sanitizeSelector(d.anchors[e.selected].hash))[0]))}),this.load(e.selected)),a(window).bind(&quot;unload&quot;,function(){d.lis.add(d.anchors).unbind(&quot;.tabs&quot;),d.lis=d.anchors=d.panels=null})):e.selected=this.lis.index(this.lis.filter(&quot;.ui-tabs-selected&quot;)),this.element[e.collapsible?&quot;addClass&quot;:&quot;removeClass&quot;](&quot;ui-tabs-collapsible&quot;),e.cookie&amp;&amp;this._cookie(e.selected,e.cookie);for(var g=0,h;h=this.lis[g];g++)a(h)[a.inArray(g,e.disabled)!=-1&amp;&amp;!a(h).hasClass(&quot;ui-tabs-selected&quot;)?&quot;addClass&quot;:&quot;removeClass&quot;](&quot;ui-state-disabled&quot;);e.cache===!1&amp;&
 amp;this.anchors.removeData(&quot;cache.tabs&quot;),this.lis.add(this.anchors).unbind(&quot;.tabs&quot;);if(e.event!==&quot;mouseover&quot;){var i=function(a,b){b.is(&quot;:not(.ui-state-disabled)&quot;)&amp;&amp;b.addClass(&quot;ui-state-&quot;+a)},j=function(a,b){b.removeClass(&quot;ui-state-&quot;+a)};this.lis.bind(&quot;mouseover.tabs&quot;,function(){i(&quot;hover&quot;,a(this))}),this.lis.bind(&quot;mouseout.tabs&quot;,function(){j(&quot;hover&quot;,a(this))}),this.anchors.bind(&quot;focus.tabs&quot;,function(){i(&quot;focus&quot;,a(this).closest(&quot;li&quot;))}),this.anchors.bind(&quot;blur.tabs&quot;,function(){j(&quot;focus&quot;,a(this).closest(&quot;li&quot;))})}var k,l;e.fx&amp;&amp;(a.isArray(e.fx)?(k=e.fx[0],l=e.fx[1]):k=l=e.fx);var n=l?function(b,c){a(b).closest(&quot;li&quot;).addClass(&quot;ui-tabs-selected ui-state-active&quot;),c.hide().removeClass(&quot;ui-tabs-hide&quot;).animate(l,l.duration||&quot;normal&quot;,function(){m(c,l),d._trigger(&quot;show&
 quot;,null,d._ui(b,c[0]))})}:function(b,c){a(b).closest(&quot;li&quot;).addClass(&quot;ui-tabs-selected ui-state-active&quot;),c.removeClass(&quot;ui-tabs-hide&quot;),d._trigger(&quot;show&quot;,null,d._ui(b,c[0]))},o=k?function(a,b){b.animate(k,k.duration||&quot;normal&quot;,function(){d.lis.removeClass(&quot;ui-tabs-selected ui-state-active&quot;),b.addClass(&quot;ui-tabs-hide&quot;),m(b,k),d.element.dequeue(&quot;tabs&quot;)})}:function(a,b,c){d.lis.removeClass(&quot;ui-tabs-selected ui-state-active&quot;),b.addClass(&quot;ui-tabs-hide&quot;),d.element.dequeue(&quot;tabs&quot;)};this.anchors.bind(e.event+&quot;.tabs&quot;,function(){var b=this,c=a(b).closest(&quot;li&quot;),f=d.panels.filter(&quot;:not(.ui-tabs-hide)&quot;),g=d.element.find(d._sanitizeSelector(b.hash));if(c.hasClass(&quot;ui-tabs-selected&quot;)&amp;&amp;!e.collapsible||c.hasClass(&quot;ui-state-disabled&quot;)||c.hasClass(&quot;ui-state-processing&quot;)||d.panels.filter(&quot;:animated&quot;).length||d.
 _trigger(&quot;select&quot;,null,d._ui(this,g[0]))===!1)return this.blur(),!1;e.selected=d.anchors.index(this),d.abort();if(e.collapsible){if(c.hasClass(&quot;ui-tabs-selected&quot;))return e.selected=-1,e.cookie&amp;&amp;d._cookie(e.selected,e.cookie),d.element.queue(&quot;tabs&quot;,function(){o(b,f)}).dequeue(&quot;tabs&quot;),this.blur(),!1;if(!f.length)return e.cookie&amp;&amp;d._cookie(e.selected,e.cookie),d.element.queue(&quot;tabs&quot;,function(){n(b,g)}),d.load(d.anchors.index(this)),this.blur(),!1}e.cookie&amp;&amp;d._cookie(e.selected,e.cookie);if(g.length)f.length&amp;&amp;d.element.queue(&quot;tabs&quot;,function(){o(b,f)}),d.element.queue(&quot;tabs&quot;,function(){n(b,g)}),d.load(d.anchors.index(this));else throw&quot;jQuery UI Tabs: Mismatching fragment identifier.&quot;;a.browser.msie&amp;&amp;this.blur()}),this.anchors.bind(&quot;click.tabs&quot;,function(){return!1})},_getIndex:function(a){return typeof a==&quot;string&quot;&amp;&amp;(a=this.anchors.inde
 x(this.anchors.filter(&quot;[href$='&quot;+a+&quot;']&quot;))),a},destroy:function(){var b=this.options;return this.abort(),this.element.unbind(&quot;.tabs&quot;).removeClass(&quot;ui-tabs ui-widget ui-widget-content ui-corner-all ui-tabs-collapsible&quot;).removeData(&quot;tabs&quot;),this.list.removeClass(&quot;ui-tabs-nav ui-helper-reset ui-helper-clearfix ui-widget-header ui-corner-all&quot;),this.anchors.each(function(){var b=a.data(this,&quot;href.tabs&quot;);b&amp;&amp;(this.href=b);var c=a(this).unbind(&quot;.tabs&quot;);a.each([&quot;href&quot;,&quot;load&quot;,&quot;cache&quot;],function(a,b){c.removeData(b+&quot;.tabs&quot;)})}),this.lis.unbind(&quot;.tabs&quot;).add(this.panels).each(function(){a.data(this,&quot;destroy.tabs&quot;)?a(this).remove():a(this).removeClass([&quot;ui-state-default&quot;,&quot;ui-corner-top&quot;,&quot;ui-tabs-selected&quot;,&quot;ui-state-active&quot;,&quot;ui-state-hover&quot;,&quot;ui-state-focus&quot;,&quot;ui-state-disabled&quot;,&
 quot;ui-tabs-panel&quot;,&quot;ui-widget-content&quot;,&quot;ui-corner-bottom&quot;,&quot;ui-tabs-hide&quot;].join(&quot; &quot;))}),b.cookie&amp;&amp;this._cookie(null,b.cookie),this},add:function(c,d,e){e===b&amp;&amp;(e=this.anchors.length);var f=this,g=this.options,h=a(g.tabTemplate.replace(/#\{href\}/g,c).replace(/#\{label\}/g,d)),i=c.indexOf(&quot;#&quot;)?this._tabId(a(&quot;a&quot;,h)[0]):c.replace(&quot;#&quot;,&quot;&quot;);h.addClass(&quot;ui-state-default ui-corner-top&quot;).data(&quot;destroy.tabs&quot;,!0);var j=f.element.find(&quot;#&quot;+i);return j.length||(j=a(g.panelTemplate).attr(&quot;id&quot;,i).data(&quot;destroy.tabs&quot;,!0)),j.addClass(&quot;ui-tabs-panel ui-widget-content ui-corner-bottom ui-tabs-hide&quot;),e&gt;=this.lis.length?(h.appendTo(this.list),j.appendTo(this.list[0].parentNode)):(h.insertBefore(this.lis[e]),j.insertBefore(this.panels[e])),g.disabled=a.map(g.disabled,function(a,b){return a&gt;=e?++a:a}),this._tabify(),this.anchors.lengt
 h==1&amp;&amp;(g.selected=0,h.addClass(&quot;ui-tabs-selected ui-state-active&quot;),j.removeClass(&quot;ui-tabs-hide&quot;),this.element.queue(&quot;tabs&quot;,function(){f._trigger(&quot;show&quot;,null,f._ui(f.anchors[0],f.panels[0]))}),this.load(0)),this._trigger(&quot;add&quot;,null,this._ui(this.anchors[e],this.panels[e])),this},remove:function(b){b=this._getIndex(b);var c=this.options,d=this.lis.eq(b).remove(),e=this.panels.eq(b).remove();return d.hasClass(&quot;ui-tabs-selected&quot;)&amp;&amp;this.anchors.length&gt;1&amp;&amp;this.select(b+(b+1&lt;this.anchors.length?1:-1)),c.disabled=a.map(a.grep(c.disabled,function(a,c){return a!=b}),function(a,c){return a&gt;=b?--a:a}),this._tabify(),this._trigger(&quot;remove&quot;,null,this._ui(d.find(&quot;a&quot;)[0],e[0])),this},enable:function(b){b=this._getIndex(b);var c=this.options;if(a.inArray(b,c.disabled)==-1)return;return this.lis.eq(b).removeClass(&quot;ui-state-disabled&quot;),c.disabled=a.grep(c.disabled,function(
 a,c){return a!=b}),this._trigger(&quot;enable&quot;,null,this._ui(this.anchors[b],this.panels[b])),this},disable:function(a){a=this._getIndex(a);var b=this,c=this.options;return a!=c.selected&amp;&amp;(this.lis.eq(a).addClass(&quot;ui-state-disabled&quot;),c.disabled.push(a),c.disabled.sort(),this._trigger(&quot;disable&quot;,null,this._ui(this.anchors[a],this.panels[a]))),this},select:function(a){a=this._getIndex(a);if(a==-1)if(this.options.collapsible&amp;&amp;this.options.selected!=-1)a=this.options.selected;else return this;return this.anchors.eq(a).trigger(this.options.event+&quot;.tabs&quot;),this},load:function(b){b=this._getIndex(b);var c=this,d=this.options,e=this.anchors.eq(b)[0],f=a.data(e,&quot;load.tabs&quot;);this.abort();if(!f||this.element.queue(&quot;tabs&quot;).length!==0&amp;&amp;a.data(e,&quot;cache.tabs&quot;)){this.element.dequeue(&quot;tabs&quot;);return}this.lis.eq(b).addClass(&quot;ui-state-processing&quot;);if(d.spinner){var g=a(&quot;span&quot;,e);
 g.data(&quot;label.tabs&quot;,g.html()).html(d.spinner)}return this.xhr=a.ajax(a.extend({},d.ajaxOptions,{url:f,success:function(f,g){c.element.find(c._sanitizeSelector(e.hash)).html(f),c._cleanup(),d.cache&amp;&amp;a.data(e,&quot;cache.tabs&quot;,!0),c._trigger(&quot;load&quot;,null,c._ui(c.anchors[b],c.panels[b]));try{d.ajaxOptions.success(f,g)}catch(h){}},error:function(a,f,g){c._cleanup(),c._trigger(&quot;load&quot;,null,c._ui(c.anchors[b],c.panels[b]));try{d.ajaxOptions.error(a,f,b,e)}catch(g){}}})),c.element.dequeue(&quot;tabs&quot;),this},abort:function(){return this.element.queue([]),this.panels.stop(!1,!0),this.element.queue(&quot;tabs&quot;,this.element.queue(&quot;tabs&quot;).splice(-2,2)),this.xhr&amp;&amp;(this.xhr.abort(),delete this.xhr),this._cleanup(),this},url:function(a,b){return this.anchors.eq(a).removeData(&quot;cache.tabs&quot;).data(&quot;load.tabs&quot;,b),this},length:function(){return this.anchors.length}}),a.extend(a.ui.tabs,{version:&quot;1.8.19&
 quot;}),a.extend(a.ui.tabs.prototype,{rotation:null,rotate:function(a,b){var c=this,d=this.options,e=c._rotate||(c._rotate=function(b){clearTimeout(c.rotation),c.rotation=setTimeout(function(){var a=d.selected;c.select(++a&lt;c.anchors.length?a:0)},a),b&amp;&amp;b.stopPropagation()}),f=c._unrotate||(c._unrotate=b?function(a){e()}:function(a){a.clientX&amp;&amp;c.rotate(null)});return a?(this.element.bind(&quot;tabsshow&quot;,e),this.anchors.bind(d.event+&quot;.tabs&quot;,f),e()):(clearTimeout(c.rotation),this.element.unbind(&quot;tabsshow&quot;,e),this.anchors.unbind(d.event+&quot;.tabs&quot;,f),delete this._rotate,delete this._unrotate),this}})})(jQuery)
</ins><span class="cx">\ No newline at end of file
</span></span></pre></div>
<a id="trunkwpincludesjsjqueryuijqueryuiwidgetminjs"></a>
<div class="modfile"><h4>Modified: trunk/wp-includes/js/jquery/ui/jquery.ui.widget.min.js (20491 => 20492)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-includes/js/jquery/ui/jquery.ui.widget.min.js        2012-04-17 03:41:07 UTC (rev 20491)
+++ trunk/wp-includes/js/jquery/ui/jquery.ui.widget.min.js        2012-04-17 16:49:17 UTC (rev 20492)
</span><span class="lines">@@ -1,15 +1,5 @@
</span><del>-/*!
- * jQuery UI Widget 1.8.16
- *
- * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
- * Dual licensed under the MIT or GPL Version 2 licenses.
- * http://jquery.org/license
- *
- * http://docs.jquery.com/UI/Widget
- */
-(function(b,j){if(b.cleanData){var k=b.cleanData;b.cleanData=function(a){for(var c=0,d;(d=a[c])!=null;c++)try{b(d).triggerHandler(&quot;remove&quot;)}catch(e){}k(a)}}else{var l=b.fn.remove;b.fn.remove=function(a,c){return this.each(function(){if(!c)if(!a||b.filter(a,[this]).length)b(&quot;*&quot;,this).add([this]).each(function(){try{b(this).triggerHandler(&quot;remove&quot;)}catch(d){}});return l.call(b(this),a,c)})}}b.widget=function(a,c,d){var e=a.split(&quot;.&quot;)[0],f;a=a.split(&quot;.&quot;)[1];f=e+&quot;-&quot;+a;if(!d){d=c;c=b.Widget}b.expr[&quot;:&quot;][f]=
-function(h){return!!b.data(h,a)};b[e]=b[e]||{};b[e][a]=function(h,g){arguments.length&amp;&amp;this._createWidget(h,g)};c=new c;c.options=b.extend(true,{},c.options);b[e][a].prototype=b.extend(true,c,{namespace:e,widgetName:a,widgetEventPrefix:b[e][a].prototype.widgetEventPrefix||a,widgetBaseClass:f},d);b.widget.bridge(a,b[e][a])};b.widget.bridge=function(a,c){b.fn[a]=function(d){var e=typeof d===&quot;string&quot;,f=Array.prototype.slice.call(arguments,1),h=this;d=!e&amp;&amp;f.length?b.extend.apply(null,[true,d].concat(f)):
-d;if(e&amp;&amp;d.charAt(0)===&quot;_&quot;)return h;e?this.each(function(){var g=b.data(this,a),i=g&amp;&amp;b.isFunction(g[d])?g[d].apply(g,f):g;if(i!==g&amp;&amp;i!==j){h=i;return false}}):this.each(function(){var g=b.data(this,a);g?g.option(d||{})._init():b.data(this,a,new c(d,this))});return h}};b.Widget=function(a,c){arguments.length&amp;&amp;this._createWidget(a,c)};b.Widget.prototype={widgetName:&quot;widget&quot;,widgetEventPrefix:&quot;&quot;,options:{disabled:false},_createWidget:function(a,c){b.data(c,this.widgetName,this);this.element=b(c);this.options=
-b.extend(true,{},this.options,this._getCreateOptions(),a);var d=this;this.element.bind(&quot;remove.&quot;+this.widgetName,function(){d.destroy()});this._create();this._trigger(&quot;create&quot;);this._init()},_getCreateOptions:function(){return b.metadata&amp;&amp;b.metadata.get(this.element[0])[this.widgetName]},_create:function(){},_init:function(){},destroy:function(){this.element.unbind(&quot;.&quot;+this.widgetName).removeData(this.widgetName);this.widget().unbind(&quot;.&quot;+this.widgetName).removeAttr(&quot;aria-disabled&quot;).removeClass(this.widgetBaseClass+
-&quot;-disabled ui-state-disabled&quot;)},widget:function(){return this.element},option:function(a,c){var d=a;if(arguments.length===0)return b.extend({},this.options);if(typeof a===&quot;string&quot;){if(c===j)return this.options[a];d={};d[a]=c}this._setOptions(d);return this},_setOptions:function(a){var c=this;b.each(a,function(d,e){c._setOption(d,e)});return this},_setOption:function(a,c){this.options[a]=c;if(a===&quot;disabled&quot;)this.widget()[c?&quot;addClass&quot;:&quot;removeClass&quot;](this.widgetBaseClass+&quot;-disabled ui-state-disabled&quot;).attr(&quot;aria-disabled&quot;,
-c);return this},enable:function(){return this._setOption(&quot;disabled&quot;,false)},disable:function(){return this._setOption(&quot;disabled&quot;,true)},_trigger:function(a,c,d){var e=this.options[a];c=b.Event(c);c.type=(a===this.widgetEventPrefix?a:this.widgetEventPrefix+a).toLowerCase();d=d||{};if(c.originalEvent){a=b.event.props.length;for(var f;a;){f=b.event.props[--a];c[f]=c.originalEvent[f]}}this.element.trigger(c,d);return!(b.isFunction(e)&amp;&amp;e.call(this.element[0],c,d)===false||c.isDefaultPrevented())}}})(jQuery);
</del><ins>+/*! jQuery UI - v1.8.19 - 2012-04-16
+* https://github.com/jquery/jquery-ui
+* Includes: jquery.ui.widget.js
+* Copyright (c) 2012 AUTHORS.txt; Licensed MIT, GPL */
+(function(a,b){if(a.cleanData){var c=a.cleanData;a.cleanData=function(b){for(var d=0,e;(e=b[d])!=null;d++)try{a(e).triggerHandler(&quot;remove&quot;)}catch(f){}c(b)}}else{var d=a.fn.remove;a.fn.remove=function(b,c){return this.each(function(){return c||(!b||a.filter(b,[this]).length)&amp;&amp;a(&quot;*&quot;,this).add([this]).each(function(){try{a(this).triggerHandler(&quot;remove&quot;)}catch(b){}}),d.call(a(this),b,c)})}}a.widget=function(b,c,d){var e=b.split(&quot;.&quot;)[0],f;b=b.split(&quot;.&quot;)[1],f=e+&quot;-&quot;+b,d||(d=c,c=a.Widget),a.expr[&quot;:&quot;][f]=function(c){return!!a.data(c,b)},a[e]=a[e]||{},a[e][b]=function(a,b){arguments.length&amp;&amp;this._createWidget(a,b)};var g=new c;g.options=a.extend(!0,{},g.options),a[e][b].prototype=a.extend(!0,g,{namespace:e,widgetName:b,widgetEventPrefix:a[e][b].prototype.widgetEventPrefix||b,widgetBaseClass:f},d),a.widget.bridge(b,a[e][b])},a.widget.bridge=function(c,d){a.fn[c]=function(e){var f=typeof e==&quot;strin
 g&quot;,g=Array.prototype.slice.call(arguments,1),h=this;return e=!f&amp;&amp;g.length?a.extend.apply(null,[!0,e].concat(g)):e,f&amp;&amp;e.charAt(0)===&quot;_&quot;?h:(f?this.each(function(){var d=a.data(this,c),f=d&amp;&amp;a.isFunction(d[e])?d[e].apply(d,g):d;if(f!==d&amp;&amp;f!==b)return h=f,!1}):this.each(function(){var b=a.data(this,c);b?b.option(e||{})._init():a.data(this,c,new d(e,this))}),h)}},a.Widget=function(a,b){arguments.length&amp;&amp;this._createWidget(a,b)},a.Widget.prototype={widgetName:&quot;widget&quot;,widgetEventPrefix:&quot;&quot;,options:{disabled:!1},_createWidget:function(b,c){a.data(c,this.widgetName,this),this.element=a(c),this.options=a.extend(!0,{},this.options,this._getCreateOptions(),b);var d=this;this.element.bind(&quot;remove.&quot;+this.widgetName,function(){d.destroy()}),this._create(),this._trigger(&quot;create&quot;),this._init()},_getCreateOptions:function(){return a.metadata&amp;&amp;a.metadata.get(this.element[0])[this.widgetName]},
 _create:function(){},_init:function(){},destroy:function(){this.element.unbind(&quot;.&quot;+this.widgetName).removeData(this.widgetName),this.widget().unbind(&quot;.&quot;+this.widgetName).removeAttr(&quot;aria-disabled&quot;).removeClass(this.widgetBaseClass+&quot;-disabled &quot;+&quot;ui-state-disabled&quot;)},widget:function(){return this.element},option:function(c,d){var e=c;if(arguments.length===0)return a.extend({},this.options);if(typeof c==&quot;string&quot;){if(d===b)return this.options[c];e={},e[c]=d}return this._setOptions(e),this},_setOptions:function(b){var c=this;return a.each(b,function(a,b){c._setOption(a,b)}),this},_setOption:function(a,b){return this.options[a]=b,a===&quot;disabled&quot;&amp;&amp;this.widget()[b?&quot;addClass&quot;:&quot;removeClass&quot;](this.widgetBaseClass+&quot;-disabled&quot;+&quot; &quot;+&quot;ui-state-disabled&quot;).attr(&quot;aria-disabled&quot;,b),this},enable:function(){return this._setOption(&quot;disabled&quot;,!1)},disabl
 e:function(){return this._setOption(&quot;disabled&quot;,!0)},_trigger:function(b,c,d){var e,f,g=this.options[b];d=d||{},c=a.Event(c),c.type=(b===this.widgetEventPrefix?b:this.widgetEventPrefix+b).toLowerCase(),c.target=this.element[0],f=c.originalEvent;if(f)for(e in f)e in c||(c[e]=f[e]);return this.element.trigger(c,d),!(a.isFunction(g)&amp;&amp;g.call(this.element[0],c,d)===!1||c.isDefaultPrevented())}}})(jQuery)
</ins><span class="cx">\ No newline at end of file
</span></span></pre></div>
<a id="trunkwpincludesscriptloaderphp"></a>
<div class="modfile"><h4>Modified: trunk/wp-includes/script-loader.php (20491 => 20492)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-includes/script-loader.php        2012-04-17 03:41:07 UTC (rev 20491)
+++ trunk/wp-includes/script-loader.php        2012-04-17 16:49:17 UTC (rev 20492)
</span><span class="lines">@@ -122,39 +122,39 @@
</span><span class="cx">         $scripts-&gt;add( 'jquery', '/wp-includes/js/jquery/jquery.js', array(), '1.7.2' );
</span><span class="cx"> 
</span><span class="cx">         // full jQuery UI
</span><del>-        $scripts-&gt;add( 'jquery-ui-core', '/wp-includes/js/jquery/ui/jquery.ui.core.min.js', array('jquery'), '1.8.16', 1 );
-        $scripts-&gt;add( 'jquery-effects-core', '/wp-includes/js/jquery/ui/jquery.effects.core.min.js', array('jquery'), '1.8.16', 1 );
</del><ins>+        $scripts-&gt;add( 'jquery-ui-core', '/wp-includes/js/jquery/ui/jquery.ui.core.min.js', array('jquery'), '1.8.19', 1 );
+        $scripts-&gt;add( 'jquery-effects-core', '/wp-includes/js/jquery/ui/jquery.effects.core.min.js', array('jquery'), '1.8.19', 1 );
</ins><span class="cx"> 
</span><del>-        $scripts-&gt;add( 'jquery-effects-blind', '/wp-includes/js/jquery/ui/jquery.effects.blind.min.js', array('jquery-effects-core'), '1.8.16', 1 );
-        $scripts-&gt;add( 'jquery-effects-bounce', '/wp-includes/js/jquery/ui/jquery.effects.bounce.min.js', array('jquery-effects-core'), '1.8.16', 1 );
-        $scripts-&gt;add( 'jquery-effects-clip', '/wp-includes/js/jquery/ui/jquery.effects.clip.min.js', array('jquery-effects-core'), '1.8.16', 1 );
-        $scripts-&gt;add( 'jquery-effects-drop', '/wp-includes/js/jquery/ui/jquery.effects.drop.min.js', array('jquery-effects-core'), '1.8.16', 1 );
-        $scripts-&gt;add( 'jquery-effects-explode', '/wp-includes/js/jquery/ui/jquery.effects.explode.min.js', array('jquery-effects-core'), '1.8.16', 1 );
-        $scripts-&gt;add( 'jquery-effects-fade', '/wp-includes/js/jquery/ui/jquery.effects.fade.min.js', array('jquery-effects-core'), '1.8.16', 1 );
-        $scripts-&gt;add( 'jquery-effects-fold', '/wp-includes/js/jquery/ui/jquery.effects.fold.min.js', array('jquery-effects-core'), '1.8.16', 1 );
-        $scripts-&gt;add( 'jquery-effects-highlight', '/wp-includes/js/jquery/ui/jquery.effects.highlight.min.js', array('jquery-effects-core'), '1.8.16', 1 );
-        $scripts-&gt;add( 'jquery-effects-pulsate', '/wp-includes/js/jquery/ui/jquery.effects.pulsate.min.js', array('jquery-effects-core'), '1.8.16', 1 );
-        $scripts-&gt;add( 'jquery-effects-scale', '/wp-includes/js/jquery/ui/jquery.effects.scale.min.js', array('jquery-effects-core'), '1.8.16', 1 );
-        $scripts-&gt;add( 'jquery-effects-shake', '/wp-includes/js/jquery/ui/jquery.effects.shake.min.js', array('jquery-effects-core'), '1.8.16', 1 );
-        $scripts-&gt;add( 'jquery-effects-slide', '/wp-includes/js/jquery/ui/jquery.effects.slide.min.js', array('jquery-effects-core'), '1.8.16', 1 );
-        $scripts-&gt;add( 'jquery-effects-transfer', '/wp-includes/js/jquery/ui/jquery.effects.transfer.min.js', array('jquery-effects-core'), '1.8.16', 1 );
</del><ins>+        $scripts-&gt;add( 'jquery-effects-blind', '/wp-includes/js/jquery/ui/jquery.effects.blind.min.js', array('jquery-effects-core'), '1.8.19', 1 );
+        $scripts-&gt;add( 'jquery-effects-bounce', '/wp-includes/js/jquery/ui/jquery.effects.bounce.min.js', array('jquery-effects-core'), '1.8.19', 1 );
+        $scripts-&gt;add( 'jquery-effects-clip', '/wp-includes/js/jquery/ui/jquery.effects.clip.min.js', array('jquery-effects-core'), '1.8.19', 1 );
+        $scripts-&gt;add( 'jquery-effects-drop', '/wp-includes/js/jquery/ui/jquery.effects.drop.min.js', array('jquery-effects-core'), '1.8.19', 1 );
+        $scripts-&gt;add( 'jquery-effects-explode', '/wp-includes/js/jquery/ui/jquery.effects.explode.min.js', array('jquery-effects-core'), '1.8.19', 1 );
+        $scripts-&gt;add( 'jquery-effects-fade', '/wp-includes/js/jquery/ui/jquery.effects.fade.min.js', array('jquery-effects-core'), '1.8.19', 1 );
+        $scripts-&gt;add( 'jquery-effects-fold', '/wp-includes/js/jquery/ui/jquery.effects.fold.min.js', array('jquery-effects-core'), '1.8.19', 1 );
+        $scripts-&gt;add( 'jquery-effects-highlight', '/wp-includes/js/jquery/ui/jquery.effects.highlight.min.js', array('jquery-effects-core'), '1.8.19', 1 );
+        $scripts-&gt;add( 'jquery-effects-pulsate', '/wp-includes/js/jquery/ui/jquery.effects.pulsate.min.js', array('jquery-effects-core'), '1.8.19', 1 );
+        $scripts-&gt;add( 'jquery-effects-scale', '/wp-includes/js/jquery/ui/jquery.effects.scale.min.js', array('jquery-effects-core'), '1.8.19', 1 );
+        $scripts-&gt;add( 'jquery-effects-shake', '/wp-includes/js/jquery/ui/jquery.effects.shake.min.js', array('jquery-effects-core'), '1.8.19', 1 );
+        $scripts-&gt;add( 'jquery-effects-slide', '/wp-includes/js/jquery/ui/jquery.effects.slide.min.js', array('jquery-effects-core'), '1.8.19', 1 );
+        $scripts-&gt;add( 'jquery-effects-transfer', '/wp-includes/js/jquery/ui/jquery.effects.transfer.min.js', array('jquery-effects-core'), '1.8.19', 1 );
</ins><span class="cx"> 
</span><del>-        $scripts-&gt;add( 'jquery-ui-accordion', '/wp-includes/js/jquery/ui/jquery.ui.accordion.min.js', array('jquery-ui-core', 'jquery-ui-widget'), '1.8.16', 1 );
-        $scripts-&gt;add( 'jquery-ui-autocomplete', '/wp-includes/js/jquery/ui/jquery.ui.autocomplete.min.js', array('jquery-ui-core', 'jquery-ui-widget', 'jquery-ui-position'), '1.8.16', 1 );
-        $scripts-&gt;add( 'jquery-ui-button', '/wp-includes/js/jquery/ui/jquery.ui.button.min.js', array('jquery-ui-core', 'jquery-ui-widget'), '1.8.16', 1 );
-        $scripts-&gt;add( 'jquery-ui-datepicker', '/wp-includes/js/jquery/ui/jquery.ui.datepicker.min.js', array('jquery-ui-core'), '1.8.16', 1 );
-        $scripts-&gt;add( 'jquery-ui-dialog', '/wp-includes/js/jquery/ui/jquery.ui.dialog.min.js', array('jquery-ui-resizable', 'jquery-ui-draggable', 'jquery-ui-button', 'jquery-ui-position'), '1.8.16', 1 );
-        $scripts-&gt;add( 'jquery-ui-draggable', '/wp-includes/js/jquery/ui/jquery.ui.draggable.min.js', array('jquery-ui-core', 'jquery-ui-mouse'), '1.8.16', 1 );
-        $scripts-&gt;add( 'jquery-ui-droppable', '/wp-includes/js/jquery/ui/jquery.ui.droppable.min.js', array('jquery-ui-draggable'), '1.8.16', 1 );
-        $scripts-&gt;add( 'jquery-ui-mouse', '/wp-includes/js/jquery/ui/jquery.ui.mouse.min.js', array('jquery-ui-widget'), '1.8.16', 1 );
-        $scripts-&gt;add( 'jquery-ui-position', '/wp-includes/js/jquery/ui/jquery.ui.position.min.js', array('jquery'), '1.8.16', 1 );
-        $scripts-&gt;add( 'jquery-ui-progressbar', '/wp-includes/js/jquery/ui/jquery.ui.progressbar.min.js', array('jquery-ui-widget'), '1.8.16', 1 );
-        $scripts-&gt;add( 'jquery-ui-resizable', '/wp-includes/js/jquery/ui/jquery.ui.resizable.min.js', array('jquery-ui-core', 'jquery-ui-mouse'), '1.8.16', 1 );
-        $scripts-&gt;add( 'jquery-ui-selectable', '/wp-includes/js/jquery/ui/jquery.ui.selectable.min.js', array('jquery-ui-core', 'jquery-ui-mouse'), '1.8.16', 1 );
-        $scripts-&gt;add( 'jquery-ui-slider', '/wp-includes/js/jquery/ui/jquery.ui.slider.min.js', array('jquery-ui-core', 'jquery-ui-mouse'), '1.8.16', 1 );
-        $scripts-&gt;add( 'jquery-ui-sortable', '/wp-includes/js/jquery/ui/jquery.ui.sortable.min.js', array('jquery-ui-core', 'jquery-ui-mouse'), '1.8.16', 1 );
-        $scripts-&gt;add( 'jquery-ui-tabs', '/wp-includes/js/jquery/ui/jquery.ui.tabs.min.js', array('jquery-ui-core', 'jquery-ui-widget'), '1.8.16', 1 );
-        $scripts-&gt;add( 'jquery-ui-widget', '/wp-includes/js/jquery/ui/jquery.ui.widget.min.js', array('jquery'), '1.8.16', 1 );
</del><ins>+        $scripts-&gt;add( 'jquery-ui-accordion', '/wp-includes/js/jquery/ui/jquery.ui.accordion.min.js', array('jquery-ui-core', 'jquery-ui-widget'), '1.8.19', 1 );
+        $scripts-&gt;add( 'jquery-ui-autocomplete', '/wp-includes/js/jquery/ui/jquery.ui.autocomplete.min.js', array('jquery-ui-core', 'jquery-ui-widget', 'jquery-ui-position'), '1.8.19', 1 );
+        $scripts-&gt;add( 'jquery-ui-button', '/wp-includes/js/jquery/ui/jquery.ui.button.min.js', array('jquery-ui-core', 'jquery-ui-widget'), '1.8.19', 1 );
+        $scripts-&gt;add( 'jquery-ui-datepicker', '/wp-includes/js/jquery/ui/jquery.ui.datepicker.min.js', array('jquery-ui-core'), '1.8.19', 1 );
+        $scripts-&gt;add( 'jquery-ui-dialog', '/wp-includes/js/jquery/ui/jquery.ui.dialog.min.js', array('jquery-ui-resizable', 'jquery-ui-draggable', 'jquery-ui-button', 'jquery-ui-position'), '1.8.19', 1 );
+        $scripts-&gt;add( 'jquery-ui-draggable', '/wp-includes/js/jquery/ui/jquery.ui.draggable.min.js', array('jquery-ui-core', 'jquery-ui-mouse'), '1.8.19', 1 );
+        $scripts-&gt;add( 'jquery-ui-droppable', '/wp-includes/js/jquery/ui/jquery.ui.droppable.min.js', array('jquery-ui-draggable'), '1.8.19', 1 );
+        $scripts-&gt;add( 'jquery-ui-mouse', '/wp-includes/js/jquery/ui/jquery.ui.mouse.min.js', array('jquery-ui-widget'), '1.8.19', 1 );
+        $scripts-&gt;add( 'jquery-ui-position', '/wp-includes/js/jquery/ui/jquery.ui.position.min.js', array('jquery'), '1.8.19', 1 );
+        $scripts-&gt;add( 'jquery-ui-progressbar', '/wp-includes/js/jquery/ui/jquery.ui.progressbar.min.js', array('jquery-ui-widget'), '1.8.19', 1 );
+        $scripts-&gt;add( 'jquery-ui-resizable', '/wp-includes/js/jquery/ui/jquery.ui.resizable.min.js', array('jquery-ui-core', 'jquery-ui-mouse'), '1.8.19', 1 );
+        $scripts-&gt;add( 'jquery-ui-selectable', '/wp-includes/js/jquery/ui/jquery.ui.selectable.min.js', array('jquery-ui-core', 'jquery-ui-mouse'), '1.8.19', 1 );
+        $scripts-&gt;add( 'jquery-ui-slider', '/wp-includes/js/jquery/ui/jquery.ui.slider.min.js', array('jquery-ui-core', 'jquery-ui-mouse'), '1.8.19', 1 );
+        $scripts-&gt;add( 'jquery-ui-sortable', '/wp-includes/js/jquery/ui/jquery.ui.sortable.min.js', array('jquery-ui-core', 'jquery-ui-mouse'), '1.8.19', 1 );
+        $scripts-&gt;add( 'jquery-ui-tabs', '/wp-includes/js/jquery/ui/jquery.ui.tabs.min.js', array('jquery-ui-core', 'jquery-ui-widget'), '1.8.19', 1 );
+        $scripts-&gt;add( 'jquery-ui-widget', '/wp-includes/js/jquery/ui/jquery.ui.widget.min.js', array('jquery'), '1.8.19', 1 );
</ins><span class="cx"> 
</span><span class="cx">         // deprecated, not used in core, most functionality is included in jQuery 1.3
</span><span class="cx">         $scripts-&gt;add( 'jquery-form', &quot;/wp-includes/js/jquery/jquery.form$suffix.js&quot;, array('jquery'), '2.73', 1 );
</span></span></pre>
</div>
</div>

</body>
</html>