<!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>[20494] trunk/wp-includes/js/jquery/ui: Restore semicolons to the end of jQuery UI files, as they are needed when concatenating the files together.</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/20494">20494</a></dd>
<dt>Author</dt> <dd>nacin</dd>
<dt>Date</dt> <dd>2012-04-17 20:34:45 +0000 (Tue, 17 Apr 2012)</dd>
</dl>

<h3>Log Message</h3>
<pre>Restore semicolons to the end of jQuery UI files, as they are needed when concatenating the files together. Will be adjusted upstream as well. 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>
</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 (20493 => 20494)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-includes/js/jquery/ui/jquery.effects.blind.min.js        2012-04-17 20:02:49 UTC (rev 20493)
+++ trunk/wp-includes/js/jquery/ui/jquery.effects.blind.min.js        2012-04-17 20:34:45 UTC (rev 20494)
</span><span class="lines">@@ -2,4 +2,4 @@
</span><span class="cx"> * https://github.com/jquery/jquery-ui
</span><span class="cx"> * Includes: jquery.effects.blind.js
</span><span class="cx"> * Copyright (c) 2012 AUTHORS.txt; Licensed MIT, GPL */
</span><del>-(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)
</del><span class="cx">\ No newline at end of file
</span><ins>+(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 (20493 => 20494)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-includes/js/jquery/ui/jquery.effects.bounce.min.js        2012-04-17 20:02:49 UTC (rev 20493)
+++ trunk/wp-includes/js/jquery/ui/jquery.effects.bounce.min.js        2012-04-17 20:34:45 UTC (rev 20494)
</span><span class="lines">@@ -2,4 +2,4 @@
</span><span class="cx"> * https://github.com/jquery/jquery-ui
</span><span class="cx"> * Includes: jquery.effects.bounce.js
</span><span class="cx"> * Copyright (c) 2012 AUTHORS.txt; Licensed MIT, GPL */
</span><del>-(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.animat
 e(l,i/2,b.options.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)
</del><span class="cx">\ No newline at end of file
</span><ins>+(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.animat
 e(l,i/2,b.options.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 (20493 => 20494)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-includes/js/jquery/ui/jquery.effects.clip.min.js        2012-04-17 20:02:49 UTC (rev 20493)
+++ trunk/wp-includes/js/jquery/ui/jquery.effects.clip.min.js        2012-04-17 20:34:45 UTC (rev 20494)
</span><span class="lines">@@ -2,4 +2,4 @@
</span><span class="cx"> * https://github.com/jquery/jquery-ui
</span><span class="cx"> * Includes: jquery.effects.clip.js
</span><span class="cx"> * Copyright (c) 2012 AUTHORS.txt; Licensed MIT, GPL */
</span><del>-(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;&am
 p;b.callback.apply(c[0],arguments),c.dequeue()}})})}})(jQuery)
</del><span class="cx">\ No newline at end of file
</span><ins>+(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;&am
 p;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 (20493 => 20494)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-includes/js/jquery/ui/jquery.effects.core.min.js        2012-04-17 20:02:49 UTC (rev 20493)
+++ trunk/wp-includes/js/jquery/ui/jquery.effects.core.min.js        2012-04-17 20:34:45 UTC (rev 20494)
</span><span class="lines">@@ -2,4 +2,4 @@
</span><span class="cx"> * https://github.com/jquery/jquery-ui
</span><span class="cx"> * Includes: jquery.effects.core.js
</span><span class="cx"> * Copyright (c) 2012 AUTHORS.txt; Licensed MIT, GPL */
</span><del>-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.defaul
 tView?document.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]}function 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],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]},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(thi
 s),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.ani
 mateClass.apply(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:func
 tion(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:f
 unction(b){var 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)
</del><span class="cx">\ No newline at end of file
</span><ins>+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.defaul
 tView?document.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]}function 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],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]},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(thi
 s),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.ani
 mateClass.apply(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:func
 tion(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:f
 unction(b){var 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 (20493 => 20494)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-includes/js/jquery/ui/jquery.effects.drop.min.js        2012-04-17 20:02:49 UTC (rev 20493)
+++ trunk/wp-includes/js/jquery/ui/jquery.effects.drop.min.js        2012-04-17 20:34:45 UTC (rev 20494)
</span><span class="lines">@@ -2,4 +2,4 @@
</span><span class="cx"> * https://github.com/jquery/jquery-ui
</span><span class="cx"> * Includes: jquery.effects.drop.js
</span><span class="cx"> * Copyright (c) 2012 AUTHORS.txt; Licensed MIT, GPL */
</span><del>-(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.h
 ide(),a.effects.restore(c,d),a.effects.removeWrapper(c),b.callback&amp;&amp;b.callback.apply(this,arguments),c.dequeue()}})})}})(jQuery)
</del><span class="cx">\ No newline at end of file
</span><ins>+(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.h
 ide(),a.effects.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 (20493 => 20494)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-includes/js/jquery/ui/jquery.effects.explode.min.js        2012-04-17 20:02:49 UTC (rev 20493)
+++ trunk/wp-includes/js/jquery/ui/jquery.effects.explode.min.js        2012-04-17 20:34:45 UTC (rev 20494)
</span><span class="lines">@@ -2,4 +2,4 @@
</span><span class="cx"> * https://github.com/jquery/jquery-ui
</span><span class="cx"> * Includes: jquery.effects.explode.js
</span><span class="cx"> * Copyright (c) 2012 AUTHORS.txt; Licensed MIT, GPL */
</span><del>-(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)
</del><span class="cx">\ No newline at end of file
</span><ins>+(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 (20493 => 20494)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-includes/js/jquery/ui/jquery.effects.fade.min.js        2012-04-17 20:02:49 UTC (rev 20493)
+++ trunk/wp-includes/js/jquery/ui/jquery.effects.fade.min.js        2012-04-17 20:34:45 UTC (rev 20494)
</span><span class="lines">@@ -2,4 +2,4 @@
</span><span class="cx"> * https://github.com/jquery/jquery-ui
</span><span class="cx"> * Includes: jquery.effects.fade.js
</span><span class="cx"> * Copyright (c) 2012 AUTHORS.txt; Licensed MIT, GPL */
</span><del>-(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)
</del><span class="cx">\ No newline at end of file
</span><ins>+(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 (20493 => 20494)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-includes/js/jquery/ui/jquery.effects.fold.min.js        2012-04-17 20:02:49 UTC (rev 20493)
+++ trunk/wp-includes/js/jquery/ui/jquery.effects.fold.min.js        2012-04-17 20:34:45 UTC (rev 20494)
</span><span class="lines">@@ -2,4 +2,4 @@
</span><span class="cx"> * https://github.com/jquery/jquery-ui
</span><span class="cx"> * Includes: jquery.effects.fold.js
</span><span class="cx"> * Copyright (c) 2012 AUTHORS.txt; Licensed MIT, GPL */
</span><del>-(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.rem
 oveWrapper(c),b.callback&amp;&amp;b.callback.apply(c[0],arguments),c.dequeue()})})}})(jQuery)
</del><span class="cx">\ No newline at end of file
</span><ins>+(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.rem
 oveWrapper(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 (20493 => 20494)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-includes/js/jquery/ui/jquery.effects.highlight.min.js        2012-04-17 20:02:49 UTC (rev 20493)
+++ trunk/wp-includes/js/jquery/ui/jquery.effects.highlight.min.js        2012-04-17 20:34:45 UTC (rev 20494)
</span><span class="lines">@@ -2,4 +2,4 @@
</span><span class="cx"> * https://github.com/jquery/jquery-ui
</span><span class="cx"> * Includes: jquery.effects.highlight.js
</span><span class="cx"> * Copyright (c) 2012 AUTHORS.txt; Licensed MIT, GPL */
</span><del>-(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)
</del><span class="cx">\ No newline at end of file
</span><ins>+(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 (20493 => 20494)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-includes/js/jquery/ui/jquery.effects.pulsate.min.js        2012-04-17 20:02:49 UTC (rev 20493)
+++ trunk/wp-includes/js/jquery/ui/jquery.effects.pulsate.min.js        2012-04-17 20:34:45 UTC (rev 20494)
</span><span class="lines">@@ -2,4 +2,4 @@
</span><span class="cx"> * https://github.com/jquery/jquery-ui
</span><span class="cx"> * Includes: jquery.effects.pulsate.js
</span><span class="cx"> * Copyright (c) 2012 AUTHORS.txt; Licensed MIT, GPL */
</span><del>-(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)
</del><span class="cx">\ No newline at end of file
</span><ins>+(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 (20493 => 20494)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-includes/js/jquery/ui/jquery.effects.scale.min.js        2012-04-17 20:02:49 UTC (rev 20493)
+++ trunk/wp-includes/js/jquery/ui/jquery.effects.scale.min.js        2012-04-17 20:34:45 UTC (rev 20494)
</span><span class="lines">@@ -2,4 +2,4 @@
</span><span class="cx"> * https://github.com/jquery/jquery-ui
</span><span class="cx"> * Includes: jquery.effects.scale.js
</span><span class="cx"> * Copyright (c) 2012 AUTHORS.txt; Licensed MIT, GPL */
</span><del>-(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;horiz
 ontal&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;,&q
 uot;paddingLeft&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.effects.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;&a
 mp;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)
</del><span class="cx">\ No newline at end of file
</span><ins>+(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;horiz
 ontal&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;,&q
 uot;paddingLeft&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.effects.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;&a
 mp;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 (20493 => 20494)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-includes/js/jquery/ui/jquery.effects.shake.min.js        2012-04-17 20:02:49 UTC (rev 20493)
+++ trunk/wp-includes/js/jquery/ui/jquery.effects.shake.min.js        2012-04-17 20:34:45 UTC (rev 20494)
</span><span class="lines">@@ -2,4 +2,4 @@
</span><span class="cx"> * https://github.com/jquery/jquery-ui
</span><span class="cx"> * Includes: jquery.effects.shake.js
</span><span class="cx"> * Copyright (c) 2012 AUTHORS.txt; Licensed MIT, GPL */
</span><del>-(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.removeWrapper(c),b.callback&amp;&amp;b.callback.apply(this,arguments)}),c.queue(&quot;fx&quot;,function(){c.dequeue()}),c.dequeue()})}})(jQuery)
</del><span class="cx">\ No newline at end of file
</span><ins>+(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.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="trunkwpincludesjsjqueryuijqueryeffectsslideminjs"></a>
<div class="modfile"><h4>Modified: trunk/wp-includes/js/jquery/ui/jquery.effects.slide.min.js (20493 => 20494)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-includes/js/jquery/ui/jquery.effects.slide.min.js        2012-04-17 20:02:49 UTC (rev 20493)
+++ trunk/wp-includes/js/jquery/ui/jquery.effects.slide.min.js        2012-04-17 20:34:45 UTC (rev 20494)
</span><span class="lines">@@ -2,4 +2,4 @@
</span><span class="cx"> * https://github.com/jquery/jquery-ui
</span><span class="cx"> * Includes: jquery.effects.slide.js
</span><span class="cx"> * Copyright (c) 2012 AUTHORS.txt; Licensed MIT, GPL */
</span><del>-(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.resto
 re(c,d),a.effects.removeWrapper(c),b.callback&amp;&amp;b.callback.apply(this,arguments),c.dequeue()}})})}})(jQuery)
</del><span class="cx">\ No newline at end of file
</span><ins>+(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.resto
 re(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="trunkwpincludesjsjqueryuijqueryeffectstransferminjs"></a>
<div class="modfile"><h4>Modified: trunk/wp-includes/js/jquery/ui/jquery.effects.transfer.min.js (20493 => 20494)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-includes/js/jquery/ui/jquery.effects.transfer.min.js        2012-04-17 20:02:49 UTC (rev 20493)
+++ trunk/wp-includes/js/jquery/ui/jquery.effects.transfer.min.js        2012-04-17 20:34:45 UTC (rev 20494)
</span><span class="lines">@@ -2,4 +2,4 @@
</span><span class="cx"> * https://github.com/jquery/jquery-ui
</span><span class="cx"> * Includes: jquery.effects.transfer.js
</span><span class="cx"> * Copyright (c) 2012 AUTHORS.txt; Licensed MIT, GPL */
</span><del>-(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)
</del><span class="cx">\ No newline at end of file
</span><ins>+(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 (20493 => 20494)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-includes/js/jquery/ui/jquery.ui.accordion.min.js        2012-04-17 20:02:49 UTC (rev 20493)
+++ trunk/wp-includes/js/jquery/ui/jquery.ui.accordion.min.js        2012-04-17 20:34:45 UTC (rev 20494)
</span><span class="lines">@@ -2,4 +2,4 @@
</span><span class="cx"> * https://github.com/jquery/jquery-ui
</span><span class="cx"> * Includes: jquery.ui.accordion.js
</span><span class="cx"> * Copyright (c) 2012 AUTHORS.txt; Licensed MIT, GPL */
</span><del>-(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-icons&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&q
 uot;);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},resiz
 e: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;)},_clickHandle
 r: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.re
 moveClass(&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),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.proxiedDurati
 on=h.duration),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)
</del><span class="cx">\ No newline at end of file
</span><ins>+(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-icons&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&q
 uot;);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},resiz
 e: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;)},_clickHandle
 r: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.re
 moveClass(&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),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.proxiedDurati
 on=h.duration),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 (20493 => 20494)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-includes/js/jquery/ui/jquery.ui.autocomplete.min.js        2012-04-17 20:02:49 UTC (rev 20493)
+++ trunk/wp-includes/js/jquery/ui/jquery.ui.autocomplete.min.js        2012-04-17 20:34:45 UTC (rev 20494)
</span><span class="lines">@@ -2,4 +2,4 @@
</span><span class="cx"> * https://github.com/jquery/jquery-ui
</span><span class="cx"> * Includes: jquery.ui.autocomplete.js
</span><span class="cx"> * Copyright (c) 2012 AUTHORS.txt; Licensed MIT, GPL */
</span><del>-(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.ENTE
 R:case e.NUMPAD_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||s
 etTimeout(function(){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.bg
 iframe&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&quot;)):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)})}})})(jQuery),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.el
 ement.scrollTop(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.ele
 ment.children(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.el
 ement.children(&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)
</del><span class="cx">\ No newline at end of file
</span><ins>+(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.ENTE
 R:case e.NUMPAD_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||s
 etTimeout(function(){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.bg
 iframe&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&quot;)):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)})}})})(jQuery),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.el
 ement.scrollTop(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.ele
 ment.children(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.el
 ement.children(&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 (20493 => 20494)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-includes/js/jquery/ui/jquery.ui.button.min.js        2012-04-17 20:02:49 UTC (rev 20493)
+++ trunk/wp-includes/js/jquery/ui/jquery.ui.button.min.js        2012-04-17 20:34:45 UTC (rev 20494)
</span><span class="lines">@@ -2,4 +2,4 @@
</span><span class="cx"> * https://github.com/jquery/jquery-ui
</span><span class="cx"> * Includes: jquery.ui.button.js
</span><span class="cx"> * Copyright (c) 2012 AUTHORS.txt; Licensed MIT, GPL */
</span><del>-(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.propAttr(&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.bu
 ttonElement.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;)}):(thi
 s.buttonElement.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(&quo
 t;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.ad
 dClass(&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;/span&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-ri
 ght&quot;).filter(&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)
</del><span class="cx">\ No newline at end of file
</span><ins>+(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.propAttr(&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.bu
 ttonElement.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;)}):(thi
 s.buttonElement.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(&quo
 t;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.ad
 dClass(&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;/span&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-ri
 ght&quot;).filter(&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 (20493 => 20494)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-includes/js/jquery/ui/jquery.ui.core.min.js        2012-04-17 20:02:49 UTC (rev 20493)
+++ trunk/wp-includes/js/jquery/ui/jquery.ui.core.min.js        2012-04-17 20:34:45 UTC (rev 20494)
</span><span class="lines">@@ -2,4 +2,4 @@
</span><span class="cx"> * https://github.com/jquery/jquery-ui
</span><span class="cx"> * Includes: jquery.ui.core.js
</span><span class="cx"> * Copyright (c) 2012 AUTHORS.txt; Licensed MIT, GPL */
</span><del>-(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,WIN
 DOWS: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(&quot;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&qu
 ot;,&quot;Bottom&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.support.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)
</del><span class="cx">\ No newline at end of file
</span><ins>+(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,WIN
 DOWS: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(&quot;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&qu
 ot;,&quot;Bottom&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.support.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 (20493 => 20494)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-includes/js/jquery/ui/jquery.ui.datepicker.min.js        2012-04-17 20:02:49 UTC (rev 20493)
+++ trunk/wp-includes/js/jquery/ui/jquery.ui.datepicker.min.js        2012-04-17 20:34:45 UTC (rev 20494)
</span><span class="lines">@@ -2,4 +2,4 @@
</span><span class="cx"> * https://github.com/jquery/jquery-ui
</span><span class="cx"> * Includes: jquery.ui.datepicker.js
</span><span class="cx"> * Copyright (c) 2012 AUTHORS.txt; Licensed MIT, GPL */
</span><del>-(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;Septemb
 er&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:!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;,button
 ImageOnly:!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)return;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 P
 ROP_NAME=&quot;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;i
 sRTL&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;$.datepick
 er._lastInput==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;getD
 ata.datepicker&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.document
 Element.clientHeight,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=t
 his._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?+$.datep
 icker._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;):+$.d
 atepicker._get(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._updateDatepi
 cker(b))}catch(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;&amp;($.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,$.ef
 fects&amp;&amp;$.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=documen
 t.documentElement.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&am
 p;&amp;$.effects[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(&quot;.&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&qu
 ot;?&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(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.dayNamesShort,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.length&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},_pos
 sibleChars:function(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.currentDay=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=Math.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.currentY
 ear||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 D
 ate(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._canAdjustMonth(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
 ._hideDatepicker();&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-datepicker-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(var 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.getMont
 h()+&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:fals
 e;&quot; class=&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}}ret
 urn 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:t
 his._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]==&quo
 t;string&quot;?$.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)
</del><span class="cx">\ No newline at end of file
</span><ins>+(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;Septemb
 er&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:!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;,button
 ImageOnly:!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)return;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 P
 ROP_NAME=&quot;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;i
 sRTL&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;$.datepick
 er._lastInput==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;getD
 ata.datepicker&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.document
 Element.clientHeight,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=t
 his._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?+$.datep
 icker._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;):+$.d
 atepicker._get(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._updateDatepi
 cker(b))}catch(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;&amp;($.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,$.ef
 fects&amp;&amp;$.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=documen
 t.documentElement.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&am
 p;&amp;$.effects[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(&quot;.&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&qu
 ot;?&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(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.dayNamesShort,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.length&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},_pos
 sibleChars:function(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.currentDay=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=Math.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.currentY
 ear||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 D
 ate(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._canAdjustMonth(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
 ._hideDatepicker();&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-datepicker-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(var 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.getMont
 h()+&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:fals
 e;&quot; class=&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}}ret
 urn 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:t
 his._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]==&quo
 t;string&quot;?$.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 (20493 => 20494)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-includes/js/jquery/ui/jquery.ui.dialog.min.js        2012-04-17 20:02:49 UTC (rev 20493)
+++ trunk/wp-includes/js/jquery/ui/jquery.ui.dialog.min.js        2012-04-17 20:34:45 UTC (rev 20494)
</span><span class="lines">@@ -2,4 +2,4 @@
</span><span class="cx"> * https://github.com/jquery/jquery-ui
</span><span class="cx"> * Includes: jquery.ui.dialog.js
</span><span class="cx"> * Copyright (c) 2012 AUTHORS.txt; Licensed MIT, GPL */
</span><del>-(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.options.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-clo
 se 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()},_ini
 t: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.t
 arget===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.options.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:func
 tion(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&qu
 ot;: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.prototype._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({wid
 th:this.width(),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)
</del><span class="cx">\ No newline at end of file
</span><ins>+(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.options.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-clo
 se 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()},_ini
 t: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.t
 arget===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.options.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:func
 tion(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&qu
 ot;: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.prototype._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({wid
 th:this.width(),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 (20493 => 20494)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-includes/js/jquery/ui/jquery.ui.draggable.min.js        2012-04-17 20:02:49 UTC (rev 20493)
+++ trunk/wp-includes/js/jquery/ui/jquery.ui.draggable.min.js        2012-04-17 20:34:45 UTC (rev 20494)
</span><span class="lines">@@ -2,4 +2,4 @@
</span><span class="cx"> * https://github.com/jquery/jquery-ui
</span><span class="cx"> * Includes: jquery.ui.draggable.js
</span><span class="cx"> * Copyright (c) 2012 AUTHORS.txt; Licensed MIT, GPL */
</span><del>-(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&quot;).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.sc
 rollParent=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},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&quot;);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.origi
 nalPosition,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.e
 lement;return 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]!=doc
 ument&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.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,ri
 ght: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).h
 eight()||document.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.m
 argins.bottom],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){va
 r 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),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.offs
 et.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.cance
 lHelperRemoval&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;draggable&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.ins
 tance._intersectsWith(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.ca
 ncelHelperRemoval=!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(&qu
 ot;opacity&quot;)),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.scrollParent[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.positi
 on.top=d._convertPositionTo(&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=pars
 eInt(e[0].style.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)
</del><span class="cx">\ No newline at end of file
</span><ins>+(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&quot;).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.sc
 rollParent=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},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&quot;);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.origi
 nalPosition,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.e
 lement;return 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]!=doc
 ument&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.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,ri
 ght: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).h
 eight()||document.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.m
 argins.bottom],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){va
 r 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),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.offs
 et.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.cance
 lHelperRemoval&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;draggable&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.ins
 tance._intersectsWith(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.ca
 ncelHelperRemoval=!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(&qu
 ot;opacity&quot;)),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.scrollParent[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.positi
 on.top=d._convertPositionTo(&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=pars
 eInt(e[0].style.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 (20493 => 20494)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-includes/js/jquery/ui/jquery.ui.droppable.min.js        2012-04-17 20:02:49 UTC (rev 20493)
+++ trunk/wp-includes/js/jquery/ui/jquery.ui.droppable.min.js        2012-04-17 20:34:45 UTC (rev 20494)
</span><span class="lines">@@ -2,4 +2,4 @@
</span><span class="cx"> * https://github.com/jquery/jquery-ui
</span><span class="cx"> * Includes: jquery.ui.droppable.js
</span><span class="cx"> * Copyright (c) 2012 AUTHORS.txt; Licensed MIT, GPL */
</span><del>-(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.options.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{drag
 gable:a.currentItem||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;touch&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.each(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;va
 r 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)
</del><span class="cx">\ No newline at end of file
</span><ins>+(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.options.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{drag
 gable:a.currentItem||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;touch&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.each(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;va
 r 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 (20493 => 20494)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-includes/js/jquery/ui/jquery.ui.mouse.min.js        2012-04-17 20:02:49 UTC (rev 20493)
+++ trunk/wp-includes/js/jquery/ui/jquery.ui.mouse.min.js        2012-04-17 20:34:45 UTC (rev 20494)
</span><span class="lines">@@ -2,4 +2,4 @@
</span><span class="cx"> * https://github.com/jquery/jquery-ui
</span><span class="cx"> * Includes: jquery.ui.mouse.js
</span><span class="cx"> * Copyright (c) 2012 AUTHORS.txt; Licensed MIT, GPL */
</span><del>-(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).closes
 t(this.options.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._mouseDistanceMe
 t(b)&amp;&amp;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)
</del><span class="cx">\ No newline at end of file
</span><ins>+(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).closes
 t(this.options.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._mouseDistanceMe
 t(b)&amp;&amp;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 (20493 => 20494)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-includes/js/jquery/ui/jquery.ui.position.min.js        2012-04-17 20:02:49 UTC (rev 20493)
+++ trunk/wp-includes/js/jquery/ui/jquery.ui.position.min.js        2012-04-17 20:34:45 UTC (rev 20494)
</span><span class="lines">@@ -2,4 +2,4 @@
</span><span class="cx"> * https://github.com/jquery/jquery-ui
</span><span class="cx"> * Includes: jquery.ui.position.js
</span><span class="cx"> * Copyright (c) 2012 AUTHORS.txt; Licensed MIT, GPL */
</span><del>-(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.m
 y[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,{positio
 n:&quot;absolute&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)
</del><span class="cx">\ No newline at end of file
</span><ins>+(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.m
 y[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,{positio
 n:&quot;absolute&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 (20493 => 20494)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-includes/js/jquery/ui/jquery.ui.progressbar.min.js        2012-04-17 20:02:49 UTC (rev 20493)
+++ trunk/wp-includes/js/jquery/ui/jquery.ui.progressbar.min.js        2012-04-17 20:34:45 UTC (rev 20494)
</span><span class="lines">@@ -2,4 +2,4 @@
</span><span class="cx"> * https://github.com/jquery/jquery-ui
</span><span class="cx"> * Includes: jquery.ui.progressbar.js
</span><span class="cx"> * Copyright (c) 2012 AUTHORS.txt; Licensed MIT, GPL */
</span><del>-(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===&quot;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)
</del><span class="cx">\ No newline at end of file
</span><ins>+(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===&quot;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 (20493 => 20494)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-includes/js/jquery/ui/jquery.ui.resizable.min.js        2012-04-17 20:02:49 UTC (rev 20493)
+++ trunk/wp-includes/js/jquery/ui/jquery.ui.resizable.min.js        2012-04-17 20:34:45 UTC (rev 20494)
</span><span class="lines">@@ -2,4 +2,4 @@
</span><span class="cx"> * https://github.com/jquery/jquery-ui
</span><span class="cx"> * Includes: jquery.ui.resizable.js
</span><span class="cx"> * Copyright (c) 2012 AUTHORS.txt; Licensed MIT, GPL */
</span><del>-(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.outer
 Height(),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-handl
 e&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(th
 is.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._handl
 es.show()},function(){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.elem
 ent;this.resizing=!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._proportio
 nallyResize(),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},_updateVirtualBoundaries: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.height=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;&a
 mp;o&amp;&amp;(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.width()-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:fun
 ction(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;resizable&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={width: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&quot;+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.positi
 on.top),j&amp;&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.o
 uterWidth()-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:function(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!isNa
 N(parseInt(a,10))}})(jQuery)
</del><span class="cx">\ No newline at end of file
</span><ins>+(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.outer
 Height(),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-handl
 e&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(th
 is.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._handl
 es.show()},function(){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.elem
 ent;this.resizing=!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._proportio
 nallyResize(),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},_updateVirtualBoundaries: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.height=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;&a
 mp;o&amp;&amp;(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.width()-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:fun
 ction(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;resizable&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={width: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&quot;+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.positi
 on.top),j&amp;&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.o
 uterWidth()-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:function(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!isNa
 N(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 (20493 => 20494)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-includes/js/jquery/ui/jquery.ui.selectable.min.js        2012-04-17 20:02:49 UTC (rev 20493)
+++ trunk/wp-includes/js/jquery/ui/jquery.ui.selectable.min.js        2012-04-17 20:34:45 UTC (rev 20494)
</span><span class="lines">@@ -2,4 +2,4 @@
</span><span class="cx"> * https://github.com/jquery/jquery-ui
</span><span class="cx"> * Includes: jquery.ui.selectable.js
</span><span class="cx"> * Copyright (c) 2012 AUTHORS.txt; Licensed MIT, GPL */
</span><del>-(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;selectable-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.metaKey&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;unselectin
 g&quot;,b,{unselecting: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)
</del><span class="cx">\ No newline at end of file
</span><ins>+(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;selectable-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.metaKey&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;unselectin
 g&quot;,b,{unselecting: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 (20493 => 20494)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-includes/js/jquery/ui/jquery.ui.slider.min.js        2012-04-17 20:02:49 UTC (rev 20493)
+++ trunk/wp-includes/js/jquery/ui/jquery.ui.slider.min.js        2012-04-17 20:34:45 UTC (rev 20494)
</span><span class="lines">@@ -2,4 +2,4 @@
</span><span class="cx"> * https://github.com/jquery/jquery-ui
</span><span class="cx"> * Includes: jquery.ui.slider.js
</span><span class="cx"> * Copyright (c) 2012 AUTHORS.txt; Licensed MIT, GPL */
</span><del>-(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.length&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-handle&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.ke
 yCode.DOWN:case 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._handleInd
 ex),this._change(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;this.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.v
 alues()),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);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&quot;,!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._valueMax())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;},{queue:!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;animate&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)
</del><span class="cx">\ No newline at end of file
</span><ins>+(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.length&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-handle&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.ke
 yCode.DOWN:case 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._handleInd
 ex),this._change(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;this.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.v
 alues()),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);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&quot;,!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._valueMax())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;},{queue:!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;animate&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 (20493 => 20494)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-includes/js/jquery/ui/jquery.ui.sortable.min.js        2012-04-17 20:02:49 UTC (rev 20493)
+++ trunk/wp-includes/js/jquery/ui/jquery.ui.sortable.min.js        2012-04-17 20:34:45 UTC (rev 20494)
</span><span class="lines">@@ -2,4 +2,4 @@
</span><span class="cx"> * https://github.com/jquery/jquery-ui
</span><span class="cx"> * Includes: jquery.ui.sortable.js
</span><span class="cx"> * Copyright (c) 2012 AUTHORS.txt; Licensed MIT, GPL */
</span><del>-(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},_mouseStart: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].sc
 rollLeft+c.scrollSpeed: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;p
 x&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.ddma
 nager.drop(this,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.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(),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).a
 ttr(b.attribute||&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;le
 ft&quot;)},refresh: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)},_re
 moveCurrentsFromItems: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=t
 his.containers[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.placeholder.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={widt
 h: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;)}),(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(){t
 his.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;overfl
 ow&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.offsetPa
 rent[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;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.page
 X,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.offs
 et.click.left&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&a
 mp;&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.cancelHelperRemoval){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)
</del><span class="cx">\ No newline at end of file
</span><ins>+(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},_mouseStart: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].sc
 rollLeft+c.scrollSpeed: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;p
 x&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.ddma
 nager.drop(this,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.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(),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).a
 ttr(b.attribute||&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;le
 ft&quot;)},refresh: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)},_re
 moveCurrentsFromItems: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=t
 his.containers[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.placeholder.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={widt
 h: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;)}),(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(){t
 his.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;overfl
 ow&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.offsetPa
 rent[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;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.page
 X,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.offs
 et.click.left&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&a
 mp;&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.cancelHelperRemoval){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 (20493 => 20494)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-includes/js/jquery/ui/jquery.ui.tabs.min.js        2012-04-17 20:02:49 UTC (rev 20493)
+++ trunk/wp-includes/js/jquery/ui/jquery.ui.tabs.min.js        2012-04-17 20:34:45 UTC (rev 20494)
</span><span class="lines">@@ -2,4 +2,4 @@
</span><span class="cx"> * https://github.com/jquery/jquery-ui
</span><span class="cx"> * Includes: jquery.ui.tabs.js
</span><span class="cx"> * Copyright (c) 2012 AUTHORS.txt; Licensed MIT, GPL */
</span><del>-(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:function(){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&amp;&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-w
 idget-content 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.sele
 cted&gt;=0&amp;&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.cach
 e===!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.index(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-disa
 bled&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.a
 nchors.length==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.disabl
 ed,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;sp
 an&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)
</del><span class="cx">\ No newline at end of file
</span><ins>+(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:function(){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&amp;&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-w
 idget-content 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.sele
 cted&gt;=0&amp;&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.cach
 e===!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.index(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-disa
 bled&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.a
 nchors.length==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.disabl
 ed,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;sp
 an&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 (20493 => 20494)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-includes/js/jquery/ui/jquery.ui.widget.min.js        2012-04-17 20:02:49 UTC (rev 20493)
+++ trunk/wp-includes/js/jquery/ui/jquery.ui.widget.min.js        2012-04-17 20:34:45 UTC (rev 20494)
</span><span class="lines">@@ -2,4 +2,4 @@
</span><span class="cx"> * https://github.com/jquery/jquery-ui
</span><span class="cx"> * Includes: jquery.ui.widget.js
</span><span class="cx"> * Copyright (c) 2012 AUTHORS.txt; Licensed MIT, GPL */
</span><del>-(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;string&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.w
 idgetName]},_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)},disable: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)
</del><span class="cx">\ No newline at end of file
</span><ins>+(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;string&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.w
 idgetName]},_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)},disable: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>
</div>

</body>
</html>