<!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>[22182] trunk/wp-includes: jQuery 1.9.0 final.</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/22182">22182</a></dd>
<dt>Author</dt> <dd>nacin</dd>
<dt>Date</dt> <dd>2012-10-11 03:34:19 +0000 (Thu, 11 Oct 2012)</dd>
</dl>

<h3>Log Message</h3>
<pre>jQuery 1.9.0 final. see <a href="http://core.trac.wordpress.org/ticket/21736">#21736</a>.</pre>

<h3>Modified Paths</h3>
<ul>
<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="#trunkwpincludesjsjqueryuijqueryuieffectblindminjs">trunk/wp-includes/js/jquery/ui/jquery.ui.effect-blind.min.js</a></li>
<li><a href="#trunkwpincludesjsjqueryuijqueryuieffectbounceminjs">trunk/wp-includes/js/jquery/ui/jquery.ui.effect-bounce.min.js</a></li>
<li><a href="#trunkwpincludesjsjqueryuijqueryuieffectclipminjs">trunk/wp-includes/js/jquery/ui/jquery.ui.effect-clip.min.js</a></li>
<li><a href="#trunkwpincludesjsjqueryuijqueryuieffectdropminjs">trunk/wp-includes/js/jquery/ui/jquery.ui.effect-drop.min.js</a></li>
<li><a href="#trunkwpincludesjsjqueryuijqueryuieffectexplodeminjs">trunk/wp-includes/js/jquery/ui/jquery.ui.effect-explode.min.js</a></li>
<li><a href="#trunkwpincludesjsjqueryuijqueryuieffectfademinjs">trunk/wp-includes/js/jquery/ui/jquery.ui.effect-fade.min.js</a></li>
<li><a href="#trunkwpincludesjsjqueryuijqueryuieffectfoldminjs">trunk/wp-includes/js/jquery/ui/jquery.ui.effect-fold.min.js</a></li>
<li><a href="#trunkwpincludesjsjqueryuijqueryuieffecthighlightminjs">trunk/wp-includes/js/jquery/ui/jquery.ui.effect-highlight.min.js</a></li>
<li><a href="#trunkwpincludesjsjqueryuijqueryuieffectpulsateminjs">trunk/wp-includes/js/jquery/ui/jquery.ui.effect-pulsate.min.js</a></li>
<li><a href="#trunkwpincludesjsjqueryuijqueryuieffectscaleminjs">trunk/wp-includes/js/jquery/ui/jquery.ui.effect-scale.min.js</a></li>
<li><a href="#trunkwpincludesjsjqueryuijqueryuieffectshakeminjs">trunk/wp-includes/js/jquery/ui/jquery.ui.effect-shake.min.js</a></li>
<li><a href="#trunkwpincludesjsjqueryuijqueryuieffectslideminjs">trunk/wp-includes/js/jquery/ui/jquery.ui.effect-slide.min.js</a></li>
<li><a href="#trunkwpincludesjsjqueryuijqueryuieffecttransferminjs">trunk/wp-includes/js/jquery/ui/jquery.ui.effect-transfer.min.js</a></li>
<li><a href="#trunkwpincludesjsjqueryuijqueryuieffectminjs">trunk/wp-includes/js/jquery/ui/jquery.ui.effect.min.js</a></li>
<li><a href="#trunkwpincludesjsjqueryuijqueryuimenuminjs">trunk/wp-includes/js/jquery/ui/jquery.ui.menu.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="#trunkwpincludesjsjqueryuijqueryuispinnerminjs">trunk/wp-includes/js/jquery/ui/jquery.ui.spinner.min.js</a></li>
<li><a href="#trunkwpincludesjsjqueryuijqueryuitabsminjs">trunk/wp-includes/js/jquery/ui/jquery.ui.tabs.min.js</a></li>
<li><a href="#trunkwpincludesjsjqueryuijqueryuitooltipminjs">trunk/wp-includes/js/jquery/ui/jquery.ui.tooltip.min.js</a></li>
<li><a href="#trunkwpincludesjsjqueryuijqueryuiwidgetminjs">trunk/wp-includes/js/jquery/ui/jquery.ui.widget.min.js</a></li>
<li><a href="#trunkwpincludesscriptloaderphp">trunk/wp-includes/script-loader.php</a></li>
</ul>

</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkwpincludesjsjqueryuijqueryuiaccordionminjs"></a>
<div class="modfile"><h4>Modified: trunk/wp-includes/js/jquery/ui/jquery.ui.accordion.min.js (22181 => 22182)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-includes/js/jquery/ui/jquery.ui.accordion.min.js        2012-10-11 03:29:02 UTC (rev 22181)
+++ trunk/wp-includes/js/jquery/ui/jquery.ui.accordion.min.js        2012-10-11 03:34:19 UTC (rev 22182)
</span><span class="lines">@@ -1,5 +1,5 @@
</span><del>-/*! jQuery UI - v1.9.0pre - 2012-08-29
</del><ins>+/*! jQuery UI - v1.9.0 - 2012-10-05
</ins><span class="cx"> * http://jqueryui.com
</span><span class="cx"> * Includes: jquery.ui.accordion.js
</span><span class="cx"> * Copyright 2012 jQuery Foundation and other contributors; Licensed MIT */
</span><del>-(function(e,t){var n=0,r={},i={},s={};r.height=r.paddingTop=r.paddingBottom=r.borderTopWidth=r.borderBottomWidth=&quot;hide&quot;,i.height=i.paddingTop=i.paddingBottom=i.borderTopWidth=i.borderBottomWidth=&quot;show&quot;,e.extend(s,i,{accordionHeight:&quot;show&quot;}),e.fx.step.accordionHeight=function(t){var n=e(t.elem),r=n.data(&quot;ui-accordion-height&quot;);n.height(r.total-n.outerHeight()-r.toHide.outerHeight()+n.height())},e.widget(&quot;ui.accordion&quot;,{version:&quot;@VERSION&quot;,options:{active:0,animate:{},collapsible:!1,event:&quot;click&quot;,header:&quot;&gt; li &gt; :first-child,&gt; :not(li):even&quot;,heightStyle:&quot;auto&quot;,icons:{activeHeader:&quot;ui-icon-triangle-1-s&quot;,header:&quot;ui-icon-triangle-1-e&quot;},activate:null,beforeActivate:null},_create:function(){var t=this.accordionId=&quot;ui-accordion-&quot;+(this.element.attr(&quot;id&quot;)||++n),r=this.options;this.prevShow=this.prevHide=e(),this.element.addClass(&quot;ui-
 accordion ui-widget ui-helper-reset&quot;),this.headers=this.element.find(r.header).addClass(&quot;ui-accordion-header ui-helper-reset ui-state-default ui-corner-all&quot;),this._hoverable(this.headers),this._focusable(this.headers),this.headers.next().addClass(&quot;ui-accordion-content ui-helper-reset ui-widget-content ui-corner-bottom&quot;).hide(),!r.collapsible&amp;&amp;r.active===!1&amp;&amp;(r.active=0),r.active&lt;0&amp;&amp;(r.active+=this.headers.length),this.active=this._findActive(r.active).addClass(&quot;ui-accordion-header-active ui-state-active&quot;).toggleClass(&quot;ui-corner-all ui-corner-top&quot;),this.active.next().addClass(&quot;ui-accordion-content-active&quot;).show(),this._createIcons(),this.originalHeight=this.element[0].style.height,this.refresh(),this.element.attr(&quot;role&quot;,&quot;tablist&quot;),this.headers.attr(&quot;role&quot;,&quot;tab&quot;).each(function(n){var r=e(this),i=r.attr(&quot;id&quot;),s=r.next(),o=s.attr(&quot;id&quot;);i||
 (i=t+&quot;-header-&quot;+n,r.attr(&quot;id&quot;,i)),o||(o=t+&quot;-panel-&quot;+n,s.attr(&quot;id&quot;,o)),r.attr(&quot;aria-controls&quot;,o),s.attr(&quot;aria-labelledby&quot;,i)}).next().attr(&quot;role&quot;,&quot;tabpanel&quot;),this.headers.not(this.active).attr({&quot;aria-selected&quot;:&quot;false&quot;,tabIndex:-1}).next().attr({&quot;aria-expanded&quot;:&quot;false&quot;,&quot;aria-hidden&quot;:&quot;true&quot;}).hide(),this.active.length?this.active.attr({&quot;aria-selected&quot;:&quot;true&quot;,tabIndex:0}).next().attr({&quot;aria-expanded&quot;:&quot;true&quot;,&quot;aria-hidden&quot;:&quot;false&quot;}):this.headers.eq(0).attr(&quot;tabIndex&quot;,0),this._on(this.headers,{keydown:&quot;_keydown&quot;}),this._on(this.headers.next(),{keydown:&quot;_panelKeyDown&quot;}),this._setupEvents(r.event)},_getCreateEventData:function(){return{header:this.active,content:this.active.length?this.active.next():e()}},_createIcons:function(){var t=this.options.icons;t&am
 p;&amp;(e(&quot;&lt;span&gt;&quot;).addClass(&quot;ui-accordion-header-icon ui-icon &quot;+t.header).prependTo(this.headers),this.active.children(&quot;.ui-accordion-header-icon&quot;).removeClass(t.header).addClass(t.activeHeader),this.headers.addClass(&quot;ui-accordion-icons&quot;))},_destroyIcons:function(){this.headers.removeClass(&quot;ui-accordion-icons&quot;).children(&quot;.ui-accordion-header-icon&quot;).remove()},_destroy:function(){var e;this.element.removeClass(&quot;ui-accordion ui-widget ui-helper-reset&quot;).removeAttr(&quot;role&quot;),this.headers.removeClass(&quot;ui-accordion-header ui-accordion-header-active 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-selected&quot;).removeAttr(&quot;aria-controls&quot;).removeAttr(&quot;tabIndex&quot;).each(function(){/^ui-accordion/.test(this.id)&amp;&amp;this.removeAttribute(&quot;id&quot;)}),this._destroyIcon
 s(),e=this.headers.next().css(&quot;display&quot;,&quot;&quot;).removeAttr(&quot;role&quot;).removeAttr(&quot;aria-expanded&quot;).removeAttr(&quot;aria-hidden&quot;).removeAttr(&quot;aria-labelledby&quot;).removeClass(&quot;ui-helper-reset ui-widget-content ui-corner-bottom ui-accordion-content ui-accordion-content-active ui-state-disabled&quot;).each(function(){/^ui-accordion/.test(this.id)&amp;&amp;this.removeAttribute(&quot;id&quot;)}),this.options.heightStyle!==&quot;content&quot;&amp;&amp;(this.element.css(&quot;height&quot;,this.originalHeight),e.css(&quot;height&quot;,&quot;&quot;))},_setOption:function(e,t){if(e===&quot;active&quot;){this._activate(t);return}e===&quot;event&quot;&amp;&amp;(this.options.event&amp;&amp;this._off(this.headers,this.options.event),this._setupEvents(t)),this._super(e,t),e===&quot;collapsible&quot;&amp;&amp;!t&amp;&amp;this.options.active===!1&amp;&amp;this._activate(0),e===&quot;icons&quot;&amp;&amp;(this._destroyIcons(),t&amp;&amp;this._
 createIcons()),e===&quot;disabled&quot;&amp;&amp;this.headers.add(this.headers.next()).toggleClass(&quot;ui-state-disabled&quot;,!!t)},_keydown:function(t){if(t.altKey||t.ctrlKey)return;var n=e.ui.keyCode,r=this.headers.length,i=this.headers.index(t.target),s=!1;switch(t.keyCode){case n.RIGHT:case n.DOWN:s=this.headers[(i+1)%r];break;case n.LEFT:case n.UP:s=this.headers[(i-1+r)%r];break;case n.SPACE:case n.ENTER:this._eventHandler(t);break;case n.HOME:s=this.headers[0];break;case n.END:s=this.headers[r-1]}s&amp;&amp;(e(t.target).attr(&quot;tabIndex&quot;,-1),e(s).attr(&quot;tabIndex&quot;,0),s.focus(),t.preventDefault())},_panelKeyDown:function(t){t.keyCode===e.ui.keyCode.UP&amp;&amp;t.ctrlKey&amp;&amp;e(t.currentTarget).prev().focus()},refresh:function(){var t,n,r=this.options.heightStyle,i=this.element.parent();this.element.css(&quot;height&quot;,this.originalHeight),r===&quot;fill&quot;?(e.support.minHeight||(n=i.css(&quot;overflow&quot;),i.css(&quot;overflow&quot;,&quot;
 hidden&quot;)),t=i.height(),this.element.siblings(&quot;:visible&quot;).each(function(){var n=e(this),r=n.css(&quot;position&quot;);if(r===&quot;absolute&quot;||r===&quot;fixed&quot;)return;t-=n.outerHeight(!0)}),n&amp;&amp;i.css(&quot;overflow&quot;,n),this.headers.each(function(){t-=e(this).outerHeight(!0)}),this.headers.next().each(function(){e(this).height(Math.max(0,t-e(this).innerHeight()+e(this).height()))}).css(&quot;overflow&quot;,&quot;auto&quot;)):r===&quot;auto&quot;&amp;&amp;(t=0,this.headers.next().each(function(){t=Math.max(t,e(this).height(&quot;&quot;).height())}).height(t)),r!==&quot;content&quot;&amp;&amp;this.element.height(this.element.height())},_activate:function(t){var n=this._findActive(t)[0];if(n===this.active[0])return;n=n||this.active[0],this._eventHandler({target:n,currentTarget:n,preventDefault:e.noop})},_findActive:function(t){return typeof t==&quot;number&quot;?this.headers.eq(t):e()},_setupEvents:function(t){var n={};if(!t)return;e.each(t.spl
 it(&quot; &quot;),function(e,t){n[t]=&quot;_eventHandler&quot;}),this._on(this.headers,n)},_eventHandler:function(t){var n=this.options,r=this.active,i=e(t.currentTarget),s=i[0]===r[0],o=s&amp;&amp;n.collapsible,u=o?e():i.next(),a=r.next(),f={oldHeader:r,oldPanel:a,newHeader:o?e():i,newPanel:u};t.preventDefault();if(s&amp;&amp;!n.collapsible||this._trigger(&quot;beforeActivate&quot;,t,f)===!1)return;n.active=o?!1:this.headers.index(i),this.active=s?e():i,this._toggle(f),r.removeClass(&quot;ui-accordion-header-active ui-state-active&quot;),n.icons&amp;&amp;r.children(&quot;.ui-accordion-header-icon&quot;).removeClass(n.icons.activeHeader).addClass(n.icons.header),s||(i.removeClass(&quot;ui-corner-all&quot;).addClass(&quot;ui-accordion-header-active ui-state-active ui-corner-top&quot;),n.icons&amp;&amp;i.children(&quot;.ui-accordion-header-icon&quot;).removeClass(n.icons.header).addClass(n.icons.activeHeader),i.next().addClass(&quot;ui-accordion-content-active&quot;))},_toggle
 :function(t){var n=t.newPanel,r=this.prevShow.length?this.prevShow:t.oldPanel;this.prevShow.add(this.prevHide).stop(!0,!0),this.prevShow=n,this.prevHide=r,this.options.animate?this._animate(n,r,t):(r.hide(),n.show(),this._toggleComplete(t)),r.attr({&quot;aria-expanded&quot;:&quot;false&quot;,&quot;aria-hidden&quot;:&quot;true&quot;}),r.prev().attr(&quot;aria-selected&quot;,&quot;false&quot;),n.length&amp;&amp;r.length?r.prev().attr(&quot;tabIndex&quot;,-1):n.length&amp;&amp;this.headers.filter(function(){return e(this).attr(&quot;tabIndex&quot;)===0}).attr(&quot;tabIndex&quot;,-1),n.attr({&quot;aria-expanded&quot;:&quot;true&quot;,&quot;aria-hidden&quot;:&quot;false&quot;}).prev().attr({&quot;aria-selected&quot;:&quot;true&quot;,tabIndex:0})},_animate:function(e,t,n){var o,u,a,f=this,l=e.length&amp;&amp;(!t.length||e.index()&lt;t.index()),c=this.options.animate||{},h=l&amp;&amp;c.down||c,p=function(){e.removeData(&quot;ui-accordion-height&quot;),f._toggleComplete(n)};typeof 
 h==&quot;number&quot;&amp;&amp;(a=h),typeof h==&quot;string&quot;&amp;&amp;(u=h),u=u||h.easing||c.easing,a=a||h.duration||c.duration;if(!t.length)return e.animate(i,a,u,p);if(!e.length)return t.animate(r,a,u,p);o=e.show().outerHeight(),t.animate(r,a,u),e.hide().data(&quot;ui-accordion-height&quot;,{total:o,toHide:t}).animate(this.options.heightStyle===&quot;content&quot;?i:s,a,u,p)},_toggleComplete:function(e){var t=e.oldPanel;t.removeClass(&quot;ui-accordion-content-active&quot;).prev().removeClass(&quot;ui-corner-top&quot;).addClass(&quot;ui-corner-all&quot;),t.length&amp;&amp;(t.parent()[0].className=t.parent()[0].className),this._trigger(&quot;activate&quot;,null,e)}}),e.uiBackCompat!==!1&amp;&amp;(function(e,t){e.extend(t.options,{navigation:!1,navigationFilter:function(){return this.href.toLowerCase()===location.href.toLowerCase()}});var n=t._create;t._create=function(){if(this.options.navigation){var t=this,r=this.element.find(this.options.header),i=r.next(),s=r.add(i
 ).find(&quot;a&quot;).filter(this.options.navigationFilter)[0];s&amp;&amp;r.add(i).each(function(n){if(e.contains(this,s))return t.options.active=Math.floor(n/2),!1})}n.call(this)}}(jQuery,jQuery.ui.accordion.prototype),function(e,t){e.extend(t.options,{heightStyle:null,autoHeight:!0,clearStyle:!1,fillSpace:!1});var n=t._create,r=t._setOption;e.extend(t,{_create:function(){this.options.heightStyle=this.options.heightStyle||this._mergeHeightStyle(),n.call(this)},_setOption:function(e,t){if(e===&quot;autoHeight&quot;||e===&quot;clearStyle&quot;||e===&quot;fillSpace&quot;)this.options.heightStyle=this._mergeHeightStyle();r.apply(this,arguments)},_mergeHeightStyle:function(){var e=this.options;if(e.fillSpace)return&quot;fill&quot;;if(e.clearStyle)return&quot;content&quot;;if(e.autoHeight)return&quot;auto&quot;}})}(jQuery,jQuery.ui.accordion.prototype),function(e,t){e.extend(t.options.icons,{activeHeader:null,headerSelected:&quot;ui-icon-triangle-1-s&quot;});var n=t._createIcons;
 t._createIcons=function(){this.options.icons&amp;&amp;(this.options.icons.activeHeader=this.options.icons.activeHeader||this.options.icons.headerSelected),n.call(this)}}(jQuery,jQuery.ui.accordion.prototype),function(e,t){t.activate=t._activate;var n=t._findActive;t._findActive=function(e){return e===-1&amp;&amp;(e=!1),e&amp;&amp;typeof e!=&quot;number&quot;&amp;&amp;(e=this.headers.index(this.headers.filter(e)),e===-1&amp;&amp;(e=!1)),n.call(this,e)}}(jQuery,jQuery.ui.accordion.prototype),jQuery.ui.accordion.prototype.resize=jQuery.ui.accordion.prototype.refresh,function(e,t){e.extend(t.options,{change:null,changestart:null});var n=t._trigger;t._trigger=function(e,t,r){var i=n.apply(this,arguments);return i?(e===&quot;beforeActivate&quot;?i=n.call(this,&quot;changestart&quot;,t,{oldHeader:r.oldHeader,oldContent:r.oldPanel,newHeader:r.newHeader,newContent:r.newPanel}):e===&quot;activate&quot;&amp;&amp;(i=n.call(this,&quot;change&quot;,t,{oldHeader:r.oldHeader,oldContent:r.ol
 dPanel,newHeader:r.newHeader,newContent:r.newPanel})),i):!1}}(jQuery,jQuery.ui.accordion.prototype),function(e,t){e.extend(t.options,{animate:null,animated:&quot;slide&quot;});var n=t._create;t._create=function(){var e=this.options;e.animate===null&amp;&amp;(e.animated?e.animated===&quot;slide&quot;?e.animate=300:e.animated===&quot;bounceslide&quot;?e.animate={duration:200,down:{easing:&quot;easeOutBounce&quot;,duration:1e3}}:e.animate=e.animated:e.animate=!1),n.call(this)}}(jQuery,jQuery.ui.accordion.prototype))})(jQuery);
</del><span class="cx">\ No newline at end of file
</span><ins>+(function(e,t){var n=0,r={},i={};r.height=r.paddingTop=r.paddingBottom=r.borderTopWidth=r.borderBottomWidth=&quot;hide&quot;,i.height=i.paddingTop=i.paddingBottom=i.borderTopWidth=i.borderBottomWidth=&quot;show&quot;,e.widget(&quot;ui.accordion&quot;,{version:&quot;1.9.0&quot;,options:{active:0,animate:{},collapsible:!1,event:&quot;click&quot;,header:&quot;&gt; li &gt; :first-child,&gt; :not(li):even&quot;,heightStyle:&quot;auto&quot;,icons:{activeHeader:&quot;ui-icon-triangle-1-s&quot;,header:&quot;ui-icon-triangle-1-e&quot;},activate:null,beforeActivate:null},_create:function(){var t=this.accordionId=&quot;ui-accordion-&quot;+(this.element.attr(&quot;id&quot;)||++n),r=this.options;this.prevShow=this.prevHide=e(),this.element.addClass(&quot;ui-accordion ui-widget ui-helper-reset&quot;),this.headers=this.element.find(r.header).addClass(&quot;ui-accordion-header ui-helper-reset ui-state-default ui-corner-all&quot;),this._hoverable(this.headers),this._focusable(thi
 s.headers),this.headers.next().addClass(&quot;ui-accordion-content ui-helper-reset ui-widget-content ui-corner-bottom&quot;).hide(),!r.collapsible&amp;&amp;r.active===!1&amp;&amp;(r.active=0),r.active&lt;0&amp;&amp;(r.active+=this.headers.length),this.active=this._findActive(r.active).addClass(&quot;ui-accordion-header-active ui-state-active&quot;).toggleClass(&quot;ui-corner-all ui-corner-top&quot;),this.active.next().addClass(&quot;ui-accordion-content-active&quot;).show(),this._createIcons(),this.originalHeight=this.element[0].style.height,this.refresh(),this.element.attr(&quot;role&quot;,&quot;tablist&quot;),this.headers.attr(&quot;role&quot;,&quot;tab&quot;).each(function(n){var r=e(this),i=r.attr(&quot;id&quot;),s=r.next(),o=s.attr(&quot;id&quot;);i||(i=t+&quot;-header-&quot;+n,r.attr(&quot;id&quot;,i)),o||(o=t+&quot;-panel-&quot;+n,s.attr(&quot;id&quot;,o)),r.attr(&quot;aria-controls&quot;,o),s.attr(&quot;aria-labelledby&quot;,i)}).next().attr(&quot;role&quot;,&quot;t
 abpanel&quot;),this.headers.not(this.active).attr({&quot;aria-selected&quot;:&quot;false&quot;,tabIndex:-1}).next().attr({&quot;aria-expanded&quot;:&quot;false&quot;,&quot;aria-hidden&quot;:&quot;true&quot;}).hide(),this.active.length?this.active.attr({&quot;aria-selected&quot;:&quot;true&quot;,tabIndex:0}).next().attr({&quot;aria-expanded&quot;:&quot;true&quot;,&quot;aria-hidden&quot;:&quot;false&quot;}):this.headers.eq(0).attr(&quot;tabIndex&quot;,0),this._on(this.headers,{keydown:&quot;_keydown&quot;}),this._on(this.headers.next(),{keydown:&quot;_panelKeyDown&quot;}),this._setupEvents(r.event)},_getCreateEventData:function(){return{header:this.active,content:this.active.length?this.active.next():e()}},_createIcons:function(){var t=this.options.icons;t&amp;&amp;(e(&quot;&lt;span&gt;&quot;).addClass(&quot;ui-accordion-header-icon ui-icon &quot;+t.header).prependTo(this.headers),this.active.children(&quot;.ui-accordion-header-icon&quot;).removeClass(t.header).addClass(t.acti
 veHeader),this.headers.addClass(&quot;ui-accordion-icons&quot;))},_destroyIcons:function(){this.headers.removeClass(&quot;ui-accordion-icons&quot;).children(&quot;.ui-accordion-header-icon&quot;).remove()},_destroy:function(){var e;this.element.removeClass(&quot;ui-accordion ui-widget ui-helper-reset&quot;).removeAttr(&quot;role&quot;),this.headers.removeClass(&quot;ui-accordion-header ui-accordion-header-active 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-selected&quot;).removeAttr(&quot;aria-controls&quot;).removeAttr(&quot;tabIndex&quot;).each(function(){/^ui-accordion/.test(this.id)&amp;&amp;this.removeAttribute(&quot;id&quot;)}),this._destroyIcons(),e=this.headers.next().css(&quot;display&quot;,&quot;&quot;).removeAttr(&quot;role&quot;).removeAttr(&quot;aria-expanded&quot;).removeAttr(&quot;aria-hidden&quot;).removeAttr(&quot;aria-labelledby&quot;).removeClass(&qu
 ot;ui-helper-reset ui-widget-content ui-corner-bottom ui-accordion-content ui-accordion-content-active ui-state-disabled&quot;).each(function(){/^ui-accordion/.test(this.id)&amp;&amp;this.removeAttribute(&quot;id&quot;)}),this.options.heightStyle!==&quot;content&quot;&amp;&amp;(this.element.css(&quot;height&quot;,this.originalHeight),e.css(&quot;height&quot;,&quot;&quot;))},_setOption:function(e,t){if(e===&quot;active&quot;){this._activate(t);return}e===&quot;event&quot;&amp;&amp;(this.options.event&amp;&amp;this._off(this.headers,this.options.event),this._setupEvents(t)),this._super(e,t),e===&quot;collapsible&quot;&amp;&amp;!t&amp;&amp;this.options.active===!1&amp;&amp;this._activate(0),e===&quot;icons&quot;&amp;&amp;(this._destroyIcons(),t&amp;&amp;this._createIcons()),e===&quot;disabled&quot;&amp;&amp;this.headers.add(this.headers.next()).toggleClass(&quot;ui-state-disabled&quot;,!!t)},_keydown:function(t){if(t.altKey||t.ctrlKey)return;var n=e.ui.keyCode,r=this.headers.le
 ngth,i=this.headers.index(t.target),s=!1;switch(t.keyCode){case n.RIGHT:case n.DOWN:s=this.headers[(i+1)%r];break;case n.LEFT:case n.UP:s=this.headers[(i-1+r)%r];break;case n.SPACE:case n.ENTER:this._eventHandler(t);break;case n.HOME:s=this.headers[0];break;case n.END:s=this.headers[r-1]}s&amp;&amp;(e(t.target).attr(&quot;tabIndex&quot;,-1),e(s).attr(&quot;tabIndex&quot;,0),s.focus(),t.preventDefault())},_panelKeyDown:function(t){t.keyCode===e.ui.keyCode.UP&amp;&amp;t.ctrlKey&amp;&amp;e(t.currentTarget).prev().focus()},refresh:function(){var t,n,r=this.options.heightStyle,i=this.element.parent();this.element.css(&quot;height&quot;,this.originalHeight),r===&quot;fill&quot;?(e.support.minHeight||(n=i.css(&quot;overflow&quot;),i.css(&quot;overflow&quot;,&quot;hidden&quot;)),t=i.height(),this.element.siblings(&quot;:visible&quot;).each(function(){var n=e(this),r=n.css(&quot;position&quot;);if(r===&quot;absolute&quot;||r===&quot;fixed&quot;)return;t-=n.outerHeight(!0)}),n&amp;&am
 p;i.css(&quot;overflow&quot;,n),this.headers.each(function(){t-=e(this).outerHeight(!0)}),this.headers.next().each(function(){e(this).height(Math.max(0,t-e(this).innerHeight()+e(this).height()))}).css(&quot;overflow&quot;,&quot;auto&quot;)):r===&quot;auto&quot;&amp;&amp;(t=0,this.headers.next().each(function(){t=Math.max(t,e(this).height(&quot;&quot;).height())}).height(t)),r!==&quot;content&quot;&amp;&amp;this.element.height(this.element.height())},_activate:function(t){var n=this._findActive(t)[0];if(n===this.active[0])return;n=n||this.active[0],this._eventHandler({target:n,currentTarget:n,preventDefault:e.noop})},_findActive:function(t){return typeof t==&quot;number&quot;?this.headers.eq(t):e()},_setupEvents:function(t){var n={};if(!t)return;e.each(t.split(&quot; &quot;),function(e,t){n[t]=&quot;_eventHandler&quot;}),this._on(this.headers,n)},_eventHandler:function(t){var n=this.options,r=this.active,i=e(t.currentTarget),s=i[0]===r[0],o=s&amp;&amp;n.collapsible,u=o?e():i.
 next(),a=r.next(),f={oldHeader:r,oldPanel:a,newHeader:o?e():i,newPanel:u};t.preventDefault();if(s&amp;&amp;!n.collapsible||this._trigger(&quot;beforeActivate&quot;,t,f)===!1)return;n.active=o?!1:this.headers.index(i),this.active=s?e():i,this._toggle(f),r.removeClass(&quot;ui-accordion-header-active ui-state-active&quot;),n.icons&amp;&amp;r.children(&quot;.ui-accordion-header-icon&quot;).removeClass(n.icons.activeHeader).addClass(n.icons.header),s||(i.removeClass(&quot;ui-corner-all&quot;).addClass(&quot;ui-accordion-header-active ui-state-active ui-corner-top&quot;),n.icons&amp;&amp;i.children(&quot;.ui-accordion-header-icon&quot;).removeClass(n.icons.header).addClass(n.icons.activeHeader),i.next().addClass(&quot;ui-accordion-content-active&quot;))},_toggle:function(t){var n=t.newPanel,r=this.prevShow.length?this.prevShow:t.oldPanel;this.prevShow.add(this.prevHide).stop(!0,!0),this.prevShow=n,this.prevHide=r,this.options.animate?this._animate(n,r,t):(r.hide(),n.show(),this._
 toggleComplete(t)),r.attr({&quot;aria-expanded&quot;:&quot;false&quot;,&quot;aria-hidden&quot;:&quot;true&quot;}),r.prev().attr(&quot;aria-selected&quot;,&quot;false&quot;),n.length&amp;&amp;r.length?r.prev().attr(&quot;tabIndex&quot;,-1):n.length&amp;&amp;this.headers.filter(function(){return e(this).attr(&quot;tabIndex&quot;)===0}).attr(&quot;tabIndex&quot;,-1),n.attr({&quot;aria-expanded&quot;:&quot;true&quot;,&quot;aria-hidden&quot;:&quot;false&quot;}).prev().attr({&quot;aria-selected&quot;:&quot;true&quot;,tabIndex:0})},_animate:function(e,t,n){var s,o,u,a=this,f=0,l=e.length&amp;&amp;(!t.length||e.index()&lt;t.index()),c=this.options.animate||{},h=l&amp;&amp;c.down||c,p=function(){a._toggleComplete(n)};typeof h==&quot;number&quot;&amp;&amp;(u=h),typeof h==&quot;string&quot;&amp;&amp;(o=h),o=o||h.easing||c.easing,u=u||h.duration||c.duration;if(!t.length)return e.animate(i,u,o,p);if(!e.length)return t.animate(r,u,o,p);s=e.show().outerHeight(),t.animate(r,{duration:u,easi
 ng:o,step:function(e,t){t.now=Math.round(e)}}),e.hide().animate(i,{duration:u,easing:o,complete:p,step:function(e,n){n.now=Math.round(e),n.prop!==&quot;height&quot;?f+=n.now:a.options.heightStyle!==&quot;content&quot;&amp;&amp;(n.now=Math.round(s-t.outerHeight()-f),f=0)}})},_toggleComplete:function(e){var t=e.oldPanel;t.removeClass(&quot;ui-accordion-content-active&quot;).prev().removeClass(&quot;ui-corner-top&quot;).addClass(&quot;ui-corner-all&quot;),t.length&amp;&amp;(t.parent()[0].className=t.parent()[0].className),this._trigger(&quot;activate&quot;,null,e)}}),e.uiBackCompat!==!1&amp;&amp;(function(e,t){e.extend(t.options,{navigation:!1,navigationFilter:function(){return this.href.toLowerCase()===location.href.toLowerCase()}});var n=t._create;t._create=function(){if(this.options.navigation){var t=this,r=this.element.find(this.options.header),i=r.next(),s=r.add(i).find(&quot;a&quot;).filter(this.options.navigationFilter)[0];s&amp;&amp;r.add(i).each(function(n){if(e.contai
 ns(this,s))return t.options.active=Math.floor(n/2),!1})}n.call(this)}}(jQuery,jQuery.ui.accordion.prototype),function(e,t){e.extend(t.options,{heightStyle:null,autoHeight:!0,clearStyle:!1,fillSpace:!1});var n=t._create,r=t._setOption;e.extend(t,{_create:function(){this.options.heightStyle=this.options.heightStyle||this._mergeHeightStyle(),n.call(this)},_setOption:function(e,t){if(e===&quot;autoHeight&quot;||e===&quot;clearStyle&quot;||e===&quot;fillSpace&quot;)this.options.heightStyle=this._mergeHeightStyle();r.apply(this,arguments)},_mergeHeightStyle:function(){var e=this.options;if(e.fillSpace)return&quot;fill&quot;;if(e.clearStyle)return&quot;content&quot;;if(e.autoHeight)return&quot;auto&quot;}})}(jQuery,jQuery.ui.accordion.prototype),function(e,t){e.extend(t.options.icons,{activeHeader:null,headerSelected:&quot;ui-icon-triangle-1-s&quot;});var n=t._createIcons;t._createIcons=function(){this.options.icons&amp;&amp;(this.options.icons.activeHeader=this.options.icons.activ
 eHeader||this.options.icons.headerSelected),n.call(this)}}(jQuery,jQuery.ui.accordion.prototype),function(e,t){t.activate=t._activate;var n=t._findActive;t._findActive=function(e){return e===-1&amp;&amp;(e=!1),e&amp;&amp;typeof e!=&quot;number&quot;&amp;&amp;(e=this.headers.index(this.headers.filter(e)),e===-1&amp;&amp;(e=!1)),n.call(this,e)}}(jQuery,jQuery.ui.accordion.prototype),jQuery.ui.accordion.prototype.resize=jQuery.ui.accordion.prototype.refresh,function(e,t){e.extend(t.options,{change:null,changestart:null});var n=t._trigger;t._trigger=function(e,t,r){var i=n.apply(this,arguments);return i?(e===&quot;beforeActivate&quot;?i=n.call(this,&quot;changestart&quot;,t,{oldHeader:r.oldHeader,oldContent:r.oldPanel,newHeader:r.newHeader,newContent:r.newPanel}):e===&quot;activate&quot;&amp;&amp;(i=n.call(this,&quot;change&quot;,t,{oldHeader:r.oldHeader,oldContent:r.oldPanel,newHeader:r.newHeader,newContent:r.newPanel})),i):!1}}(jQuery,jQuery.ui.accordion.prototype),function(e,
 t){e.extend(t.options,{animate:null,animated:&quot;slide&quot;});var n=t._create;t._create=function(){var e=this.options;e.animate===null&amp;&amp;(e.animated?e.animated===&quot;slide&quot;?e.animate=300:e.animated===&quot;bounceslide&quot;?e.animate={duration:200,down:{easing:&quot;easeOutBounce&quot;,duration:1e3}}:e.animate=e.animated:e.animate=!1),n.call(this)}}(jQuery,jQuery.ui.accordion.prototype))})(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 (22181 => 22182)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-includes/js/jquery/ui/jquery.ui.autocomplete.min.js        2012-10-11 03:29:02 UTC (rev 22181)
+++ trunk/wp-includes/js/jquery/ui/jquery.ui.autocomplete.min.js        2012-10-11 03:34:19 UTC (rev 22182)
</span><span class="lines">@@ -1,5 +1,5 @@
</span><del>-/*! jQuery UI - v1.9.0pre - 2012-08-29
</del><ins>+/*! jQuery UI - v1.9.0 - 2012-10-05
</ins><span class="cx"> * http://jqueryui.com
</span><span class="cx"> * Includes: jquery.ui.autocomplete.js
</span><span class="cx"> * Copyright 2012 jQuery Foundation and other contributors; Licensed MIT */
</span><del>-(function(e,t){var n=0;e.widget(&quot;ui.autocomplete&quot;,{version:&quot;@VERSION&quot;,defaultElement:&quot;&lt;input&gt;&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,change:null,close:null,focus:null,open:null,response:null,search:null,select:null},pending:0,_create:function(){var t,n,r;this.isMultiLine=this._isMultiLine(),this.valueMethod=this.element[this.element.is(&quot;input,textarea&quot;)?&quot;val&quot;:&quot;text&quot;],this.isNewMenu=!0,this.element.addClass(&quot;ui-autocomplete-input&quot;).attr(&quot;autocomplete&quot;,&quot;off&quot;),this._on({keydown:function(i){if(this.element.prop(&quot;readOnly&quot;)){t=!0,r=!0,n=!0;return}t=!1,r=!1,n=!1;var s=e.ui.keyCode;switch(i.keyCode){case s.PAGE_UP:t=!0,this._move(&quot;previousPage&quot;,i);break;case s.PAGE_DOWN:t=!0,this._move(&quot;nextPage&quot;,i);break;case s.UP:
 t=!0,this._keyEvent(&quot;previous&quot;,i);break;case s.DOWN:t=!0,this._keyEvent(&quot;next&quot;,i);break;case s.ENTER:case s.NUMPAD_ENTER:this.menu.active&amp;&amp;(t=!0,i.preventDefault(),this.menu.select(i));break;case s.TAB:this.menu.active&amp;&amp;this.menu.select(i);break;case s.ESCAPE:this.menu.element.is(&quot;:visible&quot;)&amp;&amp;(this._value(this.term),this.close(i),i.preventDefault());break;default:n=!0,this._searchTimeout(i)}},keypress:function(r){if(t){t=!1,r.preventDefault();return}if(n)return;var i=e.ui.keyCode;switch(r.keyCode){case i.PAGE_UP:this._move(&quot;previousPage&quot;,r);break;case i.PAGE_DOWN:this._move(&quot;nextPage&quot;,r);break;case i.UP:this._keyEvent(&quot;previous&quot;,r);break;case i.DOWN:this._keyEvent(&quot;next&quot;,r)}},input:function(e){if(r){r=!1,e.preventDefault();return}this._searchTimeout(e)},focus:function(){this.selectedItem=null,this.previous=this._value()},blur:function(e){if(this.cancelBlur){delete this.cancelBlur;re
 turn}clearTimeout(this.searching),this.close(e),this._change(e)}}),this._initSource(),this.menu=e(&quot;&lt;ul&gt;&quot;).addClass(&quot;ui-autocomplete&quot;).appendTo(this.document.find(this.options.appendTo||&quot;body&quot;)[0]).menu({input:e(),role:null}).zIndex(this.element.zIndex()+1).hide().data(&quot;menu&quot;),this._on(this.menu.element,{mousedown:function(t){t.preventDefault(),this.cancelBlur=!0,this._delay(function(){delete this.cancelBlur});var n=this.menu.element[0];e(t.target).closest(&quot;.ui-menu-item&quot;).length||this._delay(function(){var t=this;this.document.one(&quot;mousedown&quot;,function(r){r.target!==t.element[0]&amp;&amp;r.target!==n&amp;&amp;!e.contains(n,r.target)&amp;&amp;t.close()})})},menufocus:function(t,n){if(this.isNewMenu){this.isNewMenu=!1;if(t.originalEvent&amp;&amp;/^mouse/.test(t.originalEvent.type)){this.menu.blur(),this.document.one(&quot;mousemove&quot;,function(){e(t.target).trigger(t.originalEvent)});return}}var r=n.item.data(
 &quot;ui-autocomplete-item&quot;)||n.item.data(&quot;item.autocomplete&quot;);!1!==this._trigger(&quot;focus&quot;,t,{item:r})?t.originalEvent&amp;&amp;/^key/.test(t.originalEvent.type)&amp;&amp;this._value(r.value):this.liveRegion.text(r.value)},menuselect:function(e,t){var n=t.item.data(&quot;ui-autocomplete-item&quot;)||t.item.data(&quot;item.autocomplete&quot;),r=this.previous;this.element[0]!==this.document[0].activeElement&amp;&amp;(this.element.focus(),this.previous=r,this._delay(function(){this.previous=r,this.selectedItem=n})),!1!==this._trigger(&quot;select&quot;,e,{item:n})&amp;&amp;this._value(n.value),this.term=this._value(),this.close(e),this.selectedItem=n}}),this.liveRegion=e(&quot;&lt;span&gt;&quot;,{role:&quot;status&quot;,&quot;aria-live&quot;:&quot;polite&quot;}).addClass(&quot;ui-helper-hidden-accessible&quot;).insertAfter(this.element),e.fn.bgiframe&amp;&amp;this.menu.element.bgiframe(),this._on(this.window,{beforeunload:function(){this.element.removeAt
 tr(&quot;autocomplete&quot;)}})},_destroy:function(){clearTimeout(this.searching),this.element.removeClass(&quot;ui-autocomplete-input&quot;).removeAttr(&quot;autocomplete&quot;),this.menu.element.remove(),this.liveRegion.remove()},_setOption:function(e,t){this._super(e,t),e===&quot;source&quot;&amp;&amp;this._initSource(),e===&quot;appendTo&quot;&amp;&amp;this.menu.element.appendTo(this.document.find(t||&quot;body&quot;)[0]),e===&quot;disabled&quot;&amp;&amp;t&amp;&amp;this.xhr&amp;&amp;this.xhr.abort()},_isMultiLine:function(){return this.element.is(&quot;textarea&quot;)?!0:this.element.is(&quot;input&quot;)?!1:this.element.prop(&quot;isContentEditable&quot;)},_initSource:function(){var t,n,r=this;e.isArray(this.options.source)?(t=this.options.source,this.source=function(n,r){r(e.ui.autocomplete.filter(t,n.term))}):typeof this.options.source==&quot;string&quot;?(n=this.options.source,this.source=function(t,i){r.xhr&amp;&amp;r.xhr.abort(),r.xhr=e.ajax({url:n,data:t,dataType
 :&quot;json&quot;,success:function(e,t){i(e)},error:function(){i([])}})}):this.source=this.options.source},_searchTimeout:function(e){clearTimeout(this.searching),this.searching=this._delay(function(){this.term!==this._value()&amp;&amp;(this.selectedItem=null,this.search(null,e))},this.options.delay)},search:function(e,t){e=e!=null?e:this._value(),this.term=this._value();if(e.length&lt;this.options.minLength)return this.close(t);if(this._trigger(&quot;search&quot;,t)===!1)return;return this._search(e)},_search:function(e){this.pending++,this.element.addClass(&quot;ui-autocomplete-loading&quot;),this.cancelSearch=!1,this.source({term:e},this._response())},_response:function(){var e=this,t=++n;return function(r){t===n&amp;&amp;e.__response(r),e.pending--,e.pending||e.element.removeClass(&quot;ui-autocomplete-loading&quot;)}},__response:function(e){e&amp;&amp;(e=this._normalize(e)),this._trigger(&quot;response&quot;,null,{content:e}),!this.options.disabled&amp;&amp;e&amp;&amp;e
 .length&amp;&amp;!this.cancelSearch?(this._suggest(e),this._trigger(&quot;open&quot;)):this._close()},close:function(e){this.cancelSearch=!0,this._close(e)},_close:function(e){this.menu.element.is(&quot;:visible&quot;)&amp;&amp;(this.menu.element.hide(),this.menu.blur(),this.isNewMenu=!0,this._trigger(&quot;close&quot;,e))},_change:function(e){this.previous!==this._value()&amp;&amp;this._trigger(&quot;change&quot;,e,{item:this.selectedItem})},_normalize:function(t){return t.length&amp;&amp;t[0].label&amp;&amp;t[0].value?t:e.map(t,function(t){return typeof t==&quot;string&quot;?{label:t,value:t}:e.extend({label:t.label||t.value,value:t.value||t.label},t)})},_suggest:function(t){var n=this.menu.element.empty().zIndex(this.element.zIndex()+1);this._renderMenu(n,t),this.menu.refresh(),n.show(),this._resizeMenu(),n.position(e.extend({of:this.element},this.options.position)),this.options.autoFocus&amp;&amp;this.menu.next()},_resizeMenu:function(){var e=this.menu.element;e.outerWid
 th(Math.max(e.width(&quot;&quot;).outerWidth()+1,this.element.outerWidth()))},_renderMenu:function(t,n){var r=this;e.each(n,function(e,n){r._renderItemData(t,n)})},_renderItemData:function(e,t){return this._renderItem(e,t).data(&quot;ui-autocomplete-item&quot;,t)},_renderItem:function(t,n){return e(&quot;&lt;li&gt;&quot;).append(e(&quot;&lt;a&gt;&quot;).text(n.label)).appendTo(t)},_move:function(e,t){if(!this.menu.element.is(&quot;:visible&quot;)){this.search(null,t);return}if(this.menu.isFirstItem()&amp;&amp;/^previous/.test(e)||this.menu.isLastItem()&amp;&amp;/^next/.test(e)){this._value(this.term),this.menu.blur();return}this.menu[e](t)},widget:function(){return this.menu.element},_value:function(e){return this.valueMethod.apply(this.element,arguments)},_keyEvent:function(e,t){if(!this.isMultiLine||this.menu.element.is(&quot;:visible&quot;))this._move(e,t),t.preventDefault()}}),e.extend(e.ui.autocomplete,{escapeRegex:function(e){return e.replace(/[\-\[\]{}()*+?.,\\\^$|#\s
 ]/g,&quot;\\$&amp;&quot;)},filter:function(t,n){var r=new RegExp(e.ui.autocomplete.escapeRegex(n),&quot;i&quot;);return e.grep(t,function(e){return r.test(e.label||e.value||e)})}}),e.widget(&quot;ui.autocomplete&quot;,e.ui.autocomplete,{options:{messages:{noResults:&quot;No search results.&quot;,results:function(e){return e+(e&gt;1?&quot; results are&quot;:&quot; result is&quot;)+&quot; available, use up and down arrow keys to navigate.&quot;}}},__response:function(e){var t;this._superApply(arguments);if(this.options.disabled||this.cancelSearch)return;e&amp;&amp;e.length?t=this.options.messages.results(e.length):t=this.options.messages.noResults,this.liveRegion.text(t)}})})(jQuery);
</del><span class="cx">\ No newline at end of file
</span><ins>+(function(e,t){var n=0;e.widget(&quot;ui.autocomplete&quot;,{version:&quot;1.9.0&quot;,defaultElement:&quot;&lt;input&gt;&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,change:null,close:null,focus:null,open:null,response:null,search:null,select:null},pending:0,_create:function(){var t,n,r;this.isMultiLine=this._isMultiLine(),this.valueMethod=this.element[this.element.is(&quot;input,textarea&quot;)?&quot;val&quot;:&quot;text&quot;],this.isNewMenu=!0,this.element.addClass(&quot;ui-autocomplete-input&quot;).attr(&quot;autocomplete&quot;,&quot;off&quot;),this._on({keydown:function(i){if(this.element.prop(&quot;readOnly&quot;)){t=!0,r=!0,n=!0;return}t=!1,r=!1,n=!1;var s=e.ui.keyCode;switch(i.keyCode){case s.PAGE_UP:t=!0,this._move(&quot;previousPage&quot;,i);break;case s.PAGE_DOWN:t=!0,this._move(&quot;nextPage&quot;,i);break;case s.UP:t=!
 0,this._keyEvent(&quot;previous&quot;,i);break;case s.DOWN:t=!0,this._keyEvent(&quot;next&quot;,i);break;case s.ENTER:case s.NUMPAD_ENTER:this.menu.active&amp;&amp;(t=!0,i.preventDefault(),this.menu.select(i));break;case s.TAB:this.menu.active&amp;&amp;this.menu.select(i);break;case s.ESCAPE:this.menu.element.is(&quot;:visible&quot;)&amp;&amp;(this._value(this.term),this.close(i),i.preventDefault());break;default:n=!0,this._searchTimeout(i)}},keypress:function(r){if(t){t=!1,r.preventDefault();return}if(n)return;var i=e.ui.keyCode;switch(r.keyCode){case i.PAGE_UP:this._move(&quot;previousPage&quot;,r);break;case i.PAGE_DOWN:this._move(&quot;nextPage&quot;,r);break;case i.UP:this._keyEvent(&quot;previous&quot;,r);break;case i.DOWN:this._keyEvent(&quot;next&quot;,r)}},input:function(e){if(r){r=!1,e.preventDefault();return}this._searchTimeout(e)},focus:function(){this.selectedItem=null,this.previous=this._value()},blur:function(e){if(this.cancelBlur){delete this.cancelBlur;retur
 n}clearTimeout(this.searching),this.close(e),this._change(e)}}),this._initSource(),this.menu=e(&quot;&lt;ul&gt;&quot;).addClass(&quot;ui-autocomplete&quot;).appendTo(this.document.find(this.options.appendTo||&quot;body&quot;)[0]).menu({input:e(),role:null}).zIndex(this.element.zIndex()+1).hide().data(&quot;menu&quot;),this._on(this.menu.element,{mousedown:function(t){t.preventDefault(),this.cancelBlur=!0,this._delay(function(){delete this.cancelBlur});var n=this.menu.element[0];e(t.target).closest(&quot;.ui-menu-item&quot;).length||this._delay(function(){var t=this;this.document.one(&quot;mousedown&quot;,function(r){r.target!==t.element[0]&amp;&amp;r.target!==n&amp;&amp;!e.contains(n,r.target)&amp;&amp;t.close()})})},menufocus:function(t,n){if(this.isNewMenu){this.isNewMenu=!1;if(t.originalEvent&amp;&amp;/^mouse/.test(t.originalEvent.type)){this.menu.blur(),this.document.one(&quot;mousemove&quot;,function(){e(t.target).trigger(t.originalEvent)});return}}var r=n.item.data(&qu
 ot;ui-autocomplete-item&quot;)||n.item.data(&quot;item.autocomplete&quot;);!1!==this._trigger(&quot;focus&quot;,t,{item:r})?t.originalEvent&amp;&amp;/^key/.test(t.originalEvent.type)&amp;&amp;this._value(r.value):this.liveRegion.text(r.value)},menuselect:function(e,t){var n=t.item.data(&quot;ui-autocomplete-item&quot;)||t.item.data(&quot;item.autocomplete&quot;),r=this.previous;this.element[0]!==this.document[0].activeElement&amp;&amp;(this.element.focus(),this.previous=r,this._delay(function(){this.previous=r,this.selectedItem=n})),!1!==this._trigger(&quot;select&quot;,e,{item:n})&amp;&amp;this._value(n.value),this.term=this._value(),this.close(e),this.selectedItem=n}}),this.liveRegion=e(&quot;&lt;span&gt;&quot;,{role:&quot;status&quot;,&quot;aria-live&quot;:&quot;polite&quot;}).addClass(&quot;ui-helper-hidden-accessible&quot;).insertAfter(this.element),e.fn.bgiframe&amp;&amp;this.menu.element.bgiframe(),this._on(this.window,{beforeunload:function(){this.element.removeAttr(
 &quot;autocomplete&quot;)}})},_destroy:function(){clearTimeout(this.searching),this.element.removeClass(&quot;ui-autocomplete-input&quot;).removeAttr(&quot;autocomplete&quot;),this.menu.element.remove(),this.liveRegion.remove()},_setOption:function(e,t){this._super(e,t),e===&quot;source&quot;&amp;&amp;this._initSource(),e===&quot;appendTo&quot;&amp;&amp;this.menu.element.appendTo(this.document.find(t||&quot;body&quot;)[0]),e===&quot;disabled&quot;&amp;&amp;t&amp;&amp;this.xhr&amp;&amp;this.xhr.abort()},_isMultiLine:function(){return this.element.is(&quot;textarea&quot;)?!0:this.element.is(&quot;input&quot;)?!1:this.element.prop(&quot;isContentEditable&quot;)},_initSource:function(){var t,n,r=this;e.isArray(this.options.source)?(t=this.options.source,this.source=function(n,r){r(e.ui.autocomplete.filter(t,n.term))}):typeof this.options.source==&quot;string&quot;?(n=this.options.source,this.source=function(t,i){r.xhr&amp;&amp;r.xhr.abort(),r.xhr=e.ajax({url:n,data:t,dataType:&q
 uot;json&quot;,success:function(e,t){i(e)},error:function(){i([])}})}):this.source=this.options.source},_searchTimeout:function(e){clearTimeout(this.searching),this.searching=this._delay(function(){this.term!==this._value()&amp;&amp;(this.selectedItem=null,this.search(null,e))},this.options.delay)},search:function(e,t){e=e!=null?e:this._value(),this.term=this._value();if(e.length&lt;this.options.minLength)return this.close(t);if(this._trigger(&quot;search&quot;,t)===!1)return;return this._search(e)},_search:function(e){this.pending++,this.element.addClass(&quot;ui-autocomplete-loading&quot;),this.cancelSearch=!1,this.source({term:e},this._response())},_response:function(){var e=this,t=++n;return function(r){t===n&amp;&amp;e.__response(r),e.pending--,e.pending||e.element.removeClass(&quot;ui-autocomplete-loading&quot;)}},__response:function(e){e&amp;&amp;(e=this._normalize(e)),this._trigger(&quot;response&quot;,null,{content:e}),!this.options.disabled&amp;&amp;e&amp;&amp;e.le
 ngth&amp;&amp;!this.cancelSearch?(this._suggest(e),this._trigger(&quot;open&quot;)):this._close()},close:function(e){this.cancelSearch=!0,this._close(e)},_close:function(e){this.menu.element.is(&quot;:visible&quot;)&amp;&amp;(this.menu.element.hide(),this.menu.blur(),this.isNewMenu=!0,this._trigger(&quot;close&quot;,e))},_change:function(e){this.previous!==this._value()&amp;&amp;this._trigger(&quot;change&quot;,e,{item:this.selectedItem})},_normalize:function(t){return t.length&amp;&amp;t[0].label&amp;&amp;t[0].value?t:e.map(t,function(t){return typeof t==&quot;string&quot;?{label:t,value:t}:e.extend({label:t.label||t.value,value:t.value||t.label},t)})},_suggest:function(t){var n=this.menu.element.empty().zIndex(this.element.zIndex()+1);this._renderMenu(n,t),this.menu.refresh(),n.show(),this._resizeMenu(),n.position(e.extend({of:this.element},this.options.position)),this.options.autoFocus&amp;&amp;this.menu.next()},_resizeMenu:function(){var e=this.menu.element;e.outerWidth(
 Math.max(e.width(&quot;&quot;).outerWidth()+1,this.element.outerWidth()))},_renderMenu:function(t,n){var r=this;e.each(n,function(e,n){r._renderItemData(t,n)})},_renderItemData:function(e,t){return this._renderItem(e,t).data(&quot;ui-autocomplete-item&quot;,t)},_renderItem:function(t,n){return e(&quot;&lt;li&gt;&quot;).append(e(&quot;&lt;a&gt;&quot;).text(n.label)).appendTo(t)},_move:function(e,t){if(!this.menu.element.is(&quot;:visible&quot;)){this.search(null,t);return}if(this.menu.isFirstItem()&amp;&amp;/^previous/.test(e)||this.menu.isLastItem()&amp;&amp;/^next/.test(e)){this._value(this.term),this.menu.blur();return}this.menu[e](t)},widget:function(){return this.menu.element},_value:function(e){return this.valueMethod.apply(this.element,arguments)},_keyEvent:function(e,t){if(!this.isMultiLine||this.menu.element.is(&quot;:visible&quot;))this._move(e,t),t.preventDefault()}}),e.extend(e.ui.autocomplete,{escapeRegex:function(e){return e.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g
 ,&quot;\\$&amp;&quot;)},filter:function(t,n){var r=new RegExp(e.ui.autocomplete.escapeRegex(n),&quot;i&quot;);return e.grep(t,function(e){return r.test(e.label||e.value||e)})}}),e.widget(&quot;ui.autocomplete&quot;,e.ui.autocomplete,{options:{messages:{noResults:&quot;No search results.&quot;,results:function(e){return e+(e&gt;1?&quot; results are&quot;:&quot; result is&quot;)+&quot; available, use up and down arrow keys to navigate.&quot;}}},__response:function(e){var t;this._superApply(arguments);if(this.options.disabled||this.cancelSearch)return;e&amp;&amp;e.length?t=this.options.messages.results(e.length):t=this.options.messages.noResults,this.liveRegion.text(t)}})})(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 (22181 => 22182)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-includes/js/jquery/ui/jquery.ui.button.min.js        2012-10-11 03:29:02 UTC (rev 22181)
+++ trunk/wp-includes/js/jquery/ui/jquery.ui.button.min.js        2012-10-11 03:34:19 UTC (rev 22182)
</span><span class="lines">@@ -1,5 +1,5 @@
</span><del>-/*! jQuery UI - v1.9.0pre - 2012-08-29
</del><ins>+/*! jQuery UI - v1.9.0 - 2012-10-05
</ins><span class="cx"> * http://jqueryui.com
</span><span class="cx"> * Includes: jquery.ui.button.js
</span><span class="cx"> * Copyright 2012 jQuery Foundation and other contributors; Licensed MIT */
</span><del>-(function(e,t){var n,r,i,s,o=&quot;ui-button ui-widget ui-state-default ui-corner-all&quot;,u=&quot;ui-state-hover ui-state-active &quot;,a=&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;,f=function(){var t=e(this).find(&quot;:ui-button&quot;);setTimeout(function(){t.button(&quot;refresh&quot;)},1)},l=function(t){var n=t.name,r=t.form,i=e([]);return n&amp;&amp;(r?i=e(r).find(&quot;[name='&quot;+n+&quot;']&quot;):i=e(&quot;[name='&quot;+n+&quot;']&quot;,t.ownerDocument).filter(function(){return!this.form})),i};e.widget(&quot;ui.button&quot;,{version:&quot;@VERSION&quot;,defaultElement:&quot;&lt;button&gt;&quot;,options:{disabled:null,text:!0,label:null,icons:{primary:null,secondary:null}},_create:function(){this.element.closest(&quot;form&quot;).unbind(&quot;reset&quot;+this.eventNamespace).bind(&quot;reset&quot;+this.eventNamespace,f),typeof this.options.disabl
 ed!=&quot;boolean&quot;?this.options.disabled=!!this.element.prop(&quot;disabled&quot;):this.element.prop(&quot;disabled&quot;,this.options.disabled),this._determineButtonType(),this.hasTitle=!!this.buttonElement.attr(&quot;title&quot;);var t=this,u=this.options,a=this.type===&quot;checkbox&quot;||this.type===&quot;radio&quot;,c=&quot;ui-state-hover&quot;+(a?&quot;&quot;:&quot; ui-state-active&quot;),h=&quot;ui-state-focus&quot;;u.label===null&amp;&amp;(u.label=this.type===&quot;input&quot;?this.buttonElement.val():this.buttonElement.html()),this.buttonElement.addClass(o).attr(&quot;role&quot;,&quot;button&quot;).bind(&quot;mouseenter&quot;+this.eventNamespace,function(){if(u.disabled)return;e(this).addClass(&quot;ui-state-hover&quot;),this===n&amp;&amp;e(this).addClass(&quot;ui-state-active&quot;)}).bind(&quot;mouseleave&quot;+this.eventNamespace,function(){if(u.disabled)return;e(this).removeClass(c)}).bind(&quot;click&quot;+this.eventNamespace,function(e){u.disabled&amp;&a
 mp;(e.preventDefault(),e.stopImmediatePropagation())}),this.element.bind(&quot;focus&quot;+this.eventNamespace,function(){t.buttonElement.addClass(h)}).bind(&quot;blur&quot;+this.eventNamespace,function(){t.buttonElement.removeClass(h)}),a&amp;&amp;(this.element.bind(&quot;change&quot;+this.eventNamespace,function(){if(s)return;t.refresh()}),this.buttonElement.bind(&quot;mousedown&quot;+this.eventNamespace,function(e){if(u.disabled)return;s=!1,r=e.pageX,i=e.pageY}).bind(&quot;mouseup&quot;+this.eventNamespace,function(e){if(u.disabled)return;if(r!==e.pageX||i!==e.pageY)s=!0})),this.type===&quot;checkbox&quot;?this.buttonElement.bind(&quot;click&quot;+this.eventNamespace,function(){if(u.disabled||s)return!1;e(this).toggleClass(&quot;ui-state-active&quot;),t.buttonElement.attr(&quot;aria-pressed&quot;,t.element[0].checked)}):this.type===&quot;radio&quot;?this.buttonElement.bind(&quot;click&quot;+this.eventNamespace,function(){if(u.disabled||s)return!1;e(this).addClass(&quot;ui
 -state-active&quot;),t.buttonElement.attr(&quot;aria-pressed&quot;,&quot;true&quot;);var n=t.element[0];l(n).not(n).map(function(){return e(this).button(&quot;widget&quot;)[0]}).removeClass(&quot;ui-state-active&quot;).attr(&quot;aria-pressed&quot;,&quot;false&quot;)}):(this.buttonElement.bind(&quot;mousedown&quot;+this.eventNamespace,function(){if(u.disabled)return!1;e(this).addClass(&quot;ui-state-active&quot;),n=this,t.document.one(&quot;mouseup&quot;,function(){n=null})}).bind(&quot;mouseup&quot;+this.eventNamespace,function(){if(u.disabled)return!1;e(this).removeClass(&quot;ui-state-active&quot;)}).bind(&quot;keydown&quot;+this.eventNamespace,function(t){if(u.disabled)return!1;(t.keyCode===e.ui.keyCode.SPACE||t.keyCode===e.ui.keyCode.ENTER)&amp;&amp;e(this).addClass(&quot;ui-state-active&quot;)}).bind(&quot;keyup&quot;+this.eventNamespace,function(){e(this).removeClass(&quot;ui-state-active&quot;)}),this.buttonElement.is(&quot;a&quot;)&amp;&amp;this.buttonElement.keyup(
 function(t){t.keyCode===e.ui.keyCode.SPACE&amp;&amp;e(this).click()})),this._setOption(&quot;disabled&quot;,u.disabled),this._resetButton()},_determineButtonType:function(){var e,t,n;this.element.is(&quot;[type=checkbox]&quot;)?this.type=&quot;checkbox&quot;:this.element.is(&quot;[type=radio]&quot;)?this.type=&quot;radio&quot;:this.element.is(&quot;input&quot;)?this.type=&quot;input&quot;:this.type=&quot;button&quot;,this.type===&quot;checkbox&quot;||this.type===&quot;radio&quot;?(e=this.element.parents().last(),t=&quot;label[for='&quot;+this.element.attr(&quot;id&quot;)+&quot;']&quot;,this.buttonElement=e.find(t),this.buttonElement.length||(e=e.length?e.siblings():this.element.siblings(),this.buttonElement=e.filter(t),this.buttonElement.length||(this.buttonElement=e.find(t))),this.element.addClass(&quot;ui-helper-hidden-accessible&quot;),n=this.element.is(&quot;:checked&quot;),n&amp;&amp;this.buttonElement.addClass(&quot;ui-state-active&quot;),this.buttonElement.prop(&quot;
 aria-pressed&quot;,n)):this.buttonElement=this.element},widget:function(){return this.buttonElement},_destroy:function(){this.element.removeClass(&quot;ui-helper-hidden-accessible&quot;),this.buttonElement.removeClass(o+&quot; &quot;+u+&quot; &quot;+a).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;)},_setOption:function(e,t){this._super(e,t);if(e===&quot;disabled&quot;){t?this.element.prop(&quot;disabled&quot;,!0):this.element.prop(&quot;disabled&quot;,!1);return}this._resetButton()},refresh:function(){var t=this.element.is(&quot;:disabled&quot;);t!==this.options.disabled&amp;&amp;this._setOption(&quot;disabled&quot;,t),this.type===&quot;radio&quot;?l(this.element[0]).each(function(){e(this).is(&quot;:checked&quot;)?e(this).button(&quot;widget&quot;).addClass(&quot;ui-state-active&quot;).attr(&quot;aria-pressed&quot;,&quot;true&q
 uot;):e(this).button(&quot;widget&quot;).removeClass(&quot;ui-state-active&quot;).attr(&quot;aria-pressed&quot;,&quot;false&quot;)}):this.type===&quot;checkbox&quot;&amp;&amp;(this.element.is(&quot;:checked&quot;)?this.buttonElement.addClass(&quot;ui-state-active&quot;).attr(&quot;aria-pressed&quot;,&quot;true&quot;):this.buttonElement.removeClass(&quot;ui-state-active&quot;).attr(&quot;aria-pressed&quot;,&quot;false&quot;))},_resetButton:function(){if(this.type===&quot;input&quot;){this.options.label&amp;&amp;this.element.val(this.options.label);return}var t=this.buttonElement.removeClass(a),n=e(&quot;&lt;span&gt;&lt;/span&gt;&quot;,this.document[0]).addClass(&quot;ui-button-text&quot;).html(this.options.label).appendTo(t.empty()).text(),r=this.options.icons,i=r.primary&amp;&amp;r.secondary,s=[];r.primary||r.secondary?(this.options.text&amp;&amp;s.push(&quot;ui-button-text-icon&quot;+(i?&quot;s&quot;:r.primary?&quot;-primary&quot;:&quot;-secondary&quot;)),r.primary&amp;&amp
 ;t.prepend(&quot;&lt;span class='ui-button-icon-primary ui-icon &quot;+r.primary+&quot;'&gt;&lt;/span&gt;&quot;),r.secondary&amp;&amp;t.append(&quot;&lt;span class='ui-button-icon-secondary ui-icon &quot;+r.secondary+&quot;'&gt;&lt;/span&gt;&quot;),this.options.text||(s.push(i?&quot;ui-button-icons-only&quot;:&quot;ui-button-icon-only&quot;),this.hasTitle||t.attr(&quot;title&quot;,e.trim(n)))):s.push(&quot;ui-button-text-only&quot;),t.addClass(s.join(&quot; &quot;))}}),e.widget(&quot;ui.buttonset&quot;,{version:&quot;@VERSION&quot;,options:{items:&quot;button, input[type=button], input[type=submit], input[type=reset], input[type=checkbox], input[type=radio], a, :data(button)&quot;},_create:function(){this.element.addClass(&quot;ui-buttonset&quot;)},_init:function(){this.refresh()},_setOption:function(e,t){e===&quot;disabled&quot;&amp;&amp;this.buttons.button(&quot;option&quot;,e,t),this._super(e,t)},refresh:function(){var t=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 e(this).button(&quot;widget&quot;)[0]}).removeClass(&quot;ui-corner-all ui-corner-left ui-corner-right&quot;).filter(&quot;:first&quot;).addClass(t?&quot;ui-corner-right&quot;:&quot;ui-corner-left&quot;).end().filter(&quot;:last&quot;).addClass(t?&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 e(this).button(&quot;widget&quot;)[0]}).removeClass(&quot;ui-corner-left ui-corner-right&quot;).end().button(&quot;destroy&quot;)}})})(jQuery);
</del><span class="cx">\ No newline at end of file
</span><ins>+(function(e,t){var n,r,i,s,o=&quot;ui-button ui-widget ui-state-default ui-corner-all&quot;,u=&quot;ui-state-hover ui-state-active &quot;,a=&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;,f=function(){var t=e(this).find(&quot;:ui-button&quot;);setTimeout(function(){t.button(&quot;refresh&quot;)},1)},l=function(t){var n=t.name,r=t.form,i=e([]);return n&amp;&amp;(r?i=e(r).find(&quot;[name='&quot;+n+&quot;']&quot;):i=e(&quot;[name='&quot;+n+&quot;']&quot;,t.ownerDocument).filter(function(){return!this.form})),i};e.widget(&quot;ui.button&quot;,{version:&quot;1.9.0&quot;,defaultElement:&quot;&lt;button&gt;&quot;,options:{disabled:null,text:!0,label:null,icons:{primary:null,secondary:null}},_create:function(){this.element.closest(&quot;form&quot;).unbind(&quot;reset&quot;+this.eventNamespace).bind(&quot;reset&quot;+this.eventNamespace,f),typeof this.options.disabled!
 =&quot;boolean&quot;?this.options.disabled=!!this.element.prop(&quot;disabled&quot;):this.element.prop(&quot;disabled&quot;,this.options.disabled),this._determineButtonType(),this.hasTitle=!!this.buttonElement.attr(&quot;title&quot;);var t=this,u=this.options,a=this.type===&quot;checkbox&quot;||this.type===&quot;radio&quot;,c=&quot;ui-state-hover&quot;+(a?&quot;&quot;:&quot; ui-state-active&quot;),h=&quot;ui-state-focus&quot;;u.label===null&amp;&amp;(u.label=this.type===&quot;input&quot;?this.buttonElement.val():this.buttonElement.html()),this.buttonElement.addClass(o).attr(&quot;role&quot;,&quot;button&quot;).bind(&quot;mouseenter&quot;+this.eventNamespace,function(){if(u.disabled)return;e(this).addClass(&quot;ui-state-hover&quot;),this===n&amp;&amp;e(this).addClass(&quot;ui-state-active&quot;)}).bind(&quot;mouseleave&quot;+this.eventNamespace,function(){if(u.disabled)return;e(this).removeClass(c)}).bind(&quot;click&quot;+this.eventNamespace,function(e){u.disabled&amp;&amp;
 (e.preventDefault(),e.stopImmediatePropagation())}),this.element.bind(&quot;focus&quot;+this.eventNamespace,function(){t.buttonElement.addClass(h)}).bind(&quot;blur&quot;+this.eventNamespace,function(){t.buttonElement.removeClass(h)}),a&amp;&amp;(this.element.bind(&quot;change&quot;+this.eventNamespace,function(){if(s)return;t.refresh()}),this.buttonElement.bind(&quot;mousedown&quot;+this.eventNamespace,function(e){if(u.disabled)return;s=!1,r=e.pageX,i=e.pageY}).bind(&quot;mouseup&quot;+this.eventNamespace,function(e){if(u.disabled)return;if(r!==e.pageX||i!==e.pageY)s=!0})),this.type===&quot;checkbox&quot;?this.buttonElement.bind(&quot;click&quot;+this.eventNamespace,function(){if(u.disabled||s)return!1;e(this).toggleClass(&quot;ui-state-active&quot;),t.buttonElement.attr(&quot;aria-pressed&quot;,t.element[0].checked)}):this.type===&quot;radio&quot;?this.buttonElement.bind(&quot;click&quot;+this.eventNamespace,function(){if(u.disabled||s)return!1;e(this).addClass(&quot;ui-st
 ate-active&quot;),t.buttonElement.attr(&quot;aria-pressed&quot;,&quot;true&quot;);var n=t.element[0];l(n).not(n).map(function(){return e(this).button(&quot;widget&quot;)[0]}).removeClass(&quot;ui-state-active&quot;).attr(&quot;aria-pressed&quot;,&quot;false&quot;)}):(this.buttonElement.bind(&quot;mousedown&quot;+this.eventNamespace,function(){if(u.disabled)return!1;e(this).addClass(&quot;ui-state-active&quot;),n=this,t.document.one(&quot;mouseup&quot;,function(){n=null})}).bind(&quot;mouseup&quot;+this.eventNamespace,function(){if(u.disabled)return!1;e(this).removeClass(&quot;ui-state-active&quot;)}).bind(&quot;keydown&quot;+this.eventNamespace,function(t){if(u.disabled)return!1;(t.keyCode===e.ui.keyCode.SPACE||t.keyCode===e.ui.keyCode.ENTER)&amp;&amp;e(this).addClass(&quot;ui-state-active&quot;)}).bind(&quot;keyup&quot;+this.eventNamespace,function(){e(this).removeClass(&quot;ui-state-active&quot;)}),this.buttonElement.is(&quot;a&quot;)&amp;&amp;this.buttonElement.keyup(fun
 ction(t){t.keyCode===e.ui.keyCode.SPACE&amp;&amp;e(this).click()})),this._setOption(&quot;disabled&quot;,u.disabled),this._resetButton()},_determineButtonType:function(){var e,t,n;this.element.is(&quot;[type=checkbox]&quot;)?this.type=&quot;checkbox&quot;:this.element.is(&quot;[type=radio]&quot;)?this.type=&quot;radio&quot;:this.element.is(&quot;input&quot;)?this.type=&quot;input&quot;:this.type=&quot;button&quot;,this.type===&quot;checkbox&quot;||this.type===&quot;radio&quot;?(e=this.element.parents().last(),t=&quot;label[for='&quot;+this.element.attr(&quot;id&quot;)+&quot;']&quot;,this.buttonElement=e.find(t),this.buttonElement.length||(e=e.length?e.siblings():this.element.siblings(),this.buttonElement=e.filter(t),this.buttonElement.length||(this.buttonElement=e.find(t))),this.element.addClass(&quot;ui-helper-hidden-accessible&quot;),n=this.element.is(&quot;:checked&quot;),n&amp;&amp;this.buttonElement.addClass(&quot;ui-state-active&quot;),this.buttonElement.prop(&quot;ari
 a-pressed&quot;,n)):this.buttonElement=this.element},widget:function(){return this.buttonElement},_destroy:function(){this.element.removeClass(&quot;ui-helper-hidden-accessible&quot;),this.buttonElement.removeClass(o+&quot; &quot;+u+&quot; &quot;+a).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;)},_setOption:function(e,t){this._super(e,t);if(e===&quot;disabled&quot;){t?this.element.prop(&quot;disabled&quot;,!0):this.element.prop(&quot;disabled&quot;,!1);return}this._resetButton()},refresh:function(){var t=this.element.is(&quot;:disabled&quot;);t!==this.options.disabled&amp;&amp;this._setOption(&quot;disabled&quot;,t),this.type===&quot;radio&quot;?l(this.element[0]).each(function(){e(this).is(&quot;:checked&quot;)?e(this).button(&quot;widget&quot;).addClass(&quot;ui-state-active&quot;).attr(&quot;aria-pressed&quot;,&quot;true&quot
 ;):e(this).button(&quot;widget&quot;).removeClass(&quot;ui-state-active&quot;).attr(&quot;aria-pressed&quot;,&quot;false&quot;)}):this.type===&quot;checkbox&quot;&amp;&amp;(this.element.is(&quot;:checked&quot;)?this.buttonElement.addClass(&quot;ui-state-active&quot;).attr(&quot;aria-pressed&quot;,&quot;true&quot;):this.buttonElement.removeClass(&quot;ui-state-active&quot;).attr(&quot;aria-pressed&quot;,&quot;false&quot;))},_resetButton:function(){if(this.type===&quot;input&quot;){this.options.label&amp;&amp;this.element.val(this.options.label);return}var t=this.buttonElement.removeClass(a),n=e(&quot;&lt;span&gt;&lt;/span&gt;&quot;,this.document[0]).addClass(&quot;ui-button-text&quot;).html(this.options.label).appendTo(t.empty()).text(),r=this.options.icons,i=r.primary&amp;&amp;r.secondary,s=[];r.primary||r.secondary?(this.options.text&amp;&amp;s.push(&quot;ui-button-text-icon&quot;+(i?&quot;s&quot;:r.primary?&quot;-primary&quot;:&quot;-secondary&quot;)),r.primary&amp;&amp;t.
 prepend(&quot;&lt;span class='ui-button-icon-primary ui-icon &quot;+r.primary+&quot;'&gt;&lt;/span&gt;&quot;),r.secondary&amp;&amp;t.append(&quot;&lt;span class='ui-button-icon-secondary ui-icon &quot;+r.secondary+&quot;'&gt;&lt;/span&gt;&quot;),this.options.text||(s.push(i?&quot;ui-button-icons-only&quot;:&quot;ui-button-icon-only&quot;),this.hasTitle||t.attr(&quot;title&quot;,e.trim(n)))):s.push(&quot;ui-button-text-only&quot;),t.addClass(s.join(&quot; &quot;))}}),e.widget(&quot;ui.buttonset&quot;,{version:&quot;1.9.0&quot;,options:{items:&quot;button, input[type=button], input[type=submit], input[type=reset], input[type=checkbox], input[type=radio], a, :data(button)&quot;},_create:function(){this.element.addClass(&quot;ui-buttonset&quot;)},_init:function(){this.refresh()},_setOption:function(e,t){e===&quot;disabled&quot;&amp;&amp;this.buttons.button(&quot;option&quot;,e,t),this._super(e,t)},refresh:function(){var t=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 e(this).button(&quot;widget&quot;)[0]}).removeClass(&quot;ui-corner-all ui-corner-left ui-corner-right&quot;).filter(&quot;:first&quot;).addClass(t?&quot;ui-corner-right&quot;:&quot;ui-corner-left&quot;).end().filter(&quot;:last&quot;).addClass(t?&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 e(this).button(&quot;widget&quot;)[0]}).removeClass(&quot;ui-corner-left ui-corner-right&quot;).end().button(&quot;destroy&quot;)}})})(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 (22181 => 22182)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-includes/js/jquery/ui/jquery.ui.core.min.js        2012-10-11 03:29:02 UTC (rev 22181)
+++ trunk/wp-includes/js/jquery/ui/jquery.ui.core.min.js        2012-10-11 03:34:19 UTC (rev 22182)
</span><span class="lines">@@ -1,5 +1,5 @@
</span><del>-/*! jQuery UI - v1.9.0pre - 2012-08-29
</del><ins>+/*! jQuery UI - v1.9.0 - 2012-10-05
</ins><span class="cx"> * http://jqueryui.com
</span><span class="cx"> * Includes: jquery.ui.core.js
</span><span class="cx"> * Copyright 2012 jQuery Foundation and other contributors; Licensed MIT */
</span><del>-(function(e,t){function i(t,n){var r,i,o,u=t.nodeName.toLowerCase();return&quot;area&quot;===u?(r=t.parentNode,i=r.name,!t.href||!i||r.nodeName.toLowerCase()!==&quot;map&quot;?!1:(o=e(&quot;img[usemap=#&quot;+i+&quot;]&quot;)[0],!!o&amp;&amp;s(o))):(/input|select|textarea|button|object/.test(u)?!t.disabled:&quot;a&quot;===u?t.href||n:n)&amp;&amp;s(t)}function s(t){return!e(t).parents().andSelf().filter(function(){return e.css(this,&quot;visibility&quot;)===&quot;hidden&quot;||e.expr.filters.hidden(this)}).length}var n=0,r=/^ui-id-\d+$/;e.ui=e.ui||{};if(e.ui.version)return;e.extend(e.ui,{version:&quot;@VERSION&quot;,keyCode:{BACKSPACE:8,COMMA:188,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,LEFT:37,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,SPACE:32,TAB:9,UP:38}}),e.fn.extend({_focus:e.fn.focus,focus:function(t,n){return typeof t==&quot;number&quot;
 ?this.each(function(){var r=this;setTimeout(function(){e(r).focus(),n&amp;&amp;n.call(r)},t)}):this._focus.apply(this,arguments)},scrollParent:function(){var t;return e.browser.msie&amp;&amp;/(static|relative)/.test(this.css(&quot;position&quot;))||/absolute/.test(this.css(&quot;position&quot;))?t=this.parents().filter(function(){return/(relative|absolute|fixed)/.test(e.css(this,&quot;position&quot;))&amp;&amp;/(auto|scroll)/.test(e.css(this,&quot;overflow&quot;)+e.css(this,&quot;overflow-y&quot;)+e.css(this,&quot;overflow-x&quot;))}).eq(0):t=this.parents().filter(function(){return/(auto|scroll)/.test(e.css(this,&quot;overflow&quot;)+e.css(this,&quot;overflow-y&quot;)+e.css(this,&quot;overflow-x&quot;))}).eq(0),/fixed/.test(this.css(&quot;position&quot;))||!t.length?e(document):t},zIndex:function(n){if(n!==t)return this.css(&quot;zIndex&quot;,n);if(this.length){var r=e(this[0]),i,s;while(r.length&amp;&amp;r[0]!==document){i=r.css(&quot;position&quot;);if(i===&quot;absolute&q
 uot;||i===&quot;relative&quot;||i===&quot;fixed&quot;){s=parseInt(r.css(&quot;zIndex&quot;),10);if(!isNaN(s)&amp;&amp;s!==0)return s}r=r.parent()}}return 0},uniqueId:function(){return this.each(function(){this.id||(this.id=&quot;ui-id-&quot;+ ++n)})},removeUniqueId:function(){return this.each(function(){r.test(this.id)&amp;&amp;e(this).removeAttr(&quot;id&quot;)})}}),e(&quot;&lt;a&gt;&quot;).outerWidth(1).jquery||e.each([&quot;Width&quot;,&quot;Height&quot;],function(n,r){function u(t,n,r,s){return e.each(i,function(){n-=parseFloat(e.css(t,&quot;padding&quot;+this))||0,r&amp;&amp;(n-=parseFloat(e.css(t,&quot;border&quot;+this+&quot;Width&quot;))||0),s&amp;&amp;(n-=parseFloat(e.css(t,&quot;margin&quot;+this))||0)}),n}var i=r===&quot;Width&quot;?[&quot;Left&quot;,&quot;Right&quot;]:[&quot;Top&quot;,&quot;Bottom&quot;],s=r.toLowerCase(),o={innerWidth:e.fn.innerWidth,innerHeight:e.fn.innerHeight,outerWidth:e.fn.outerWidth,outerHeight:e.fn.outerHeight};e.fn[&quot;inner&quot;+r]=f
 unction(n){return n===t?o[&quot;inner&quot;+r].call(this):this.each(function(){e(this).css(s,u(this,n)+&quot;px&quot;)})},e.fn[&quot;outer&quot;+r]=function(t,n){return typeof t!=&quot;number&quot;?o[&quot;outer&quot;+r].call(this,t):this.each(function(){e(this).css(s,u(this,t,!0,n)+&quot;px&quot;)})}}),e.extend(e.expr[&quot;:&quot;],{data:e.expr.createPseudo?e.expr.createPseudo(function(t){return function(n){return!!e.data(n,t)}}):function(t,n,r){return!!e.data(t,r[3])},focusable:function(t){return i(t,!isNaN(e.attr(t,&quot;tabindex&quot;)))},tabbable:function(t){var n=e.attr(t,&quot;tabindex&quot;),r=isNaN(n);return(r||n&gt;=0)&amp;&amp;i(t,!r)}}),e(function(){var t=document.body,n=t.appendChild(n=document.createElement(&quot;div&quot;));n.offsetHeight,e.extend(n.style,{minHeight:&quot;100px&quot;,height:&quot;auto&quot;,padding:0,borderWidth:0}),e.support.minHeight=n.offsetHeight===100,e.support.selectstart=&quot;onselectstart&quot;in n,t.removeChild(n).style.display=&quo
 t;none&quot;}),e.fn.extend({disableSelection:function(){return this.bind((e.support.selectstart?&quot;selectstart&quot;:&quot;mousedown&quot;)+&quot;.ui-disableSelection&quot;,function(e){e.preventDefault()})},enableSelection:function(){return this.unbind(&quot;.ui-disableSelection&quot;)}}),e.extend(e.ui,{plugin:{add:function(t,n,r){var i,s=e.ui[t].prototype;for(i in r)s.plugins[i]=s.plugins[i]||[],s.plugins[i].push([n,r[i]])},call:function(e,t,n){var r,i=e.plugins[t];if(!i||!e.element[0].parentNode||e.element[0].parentNode.nodeType===11)return;for(r=0;r&lt;i.length;r++)e.options[i[r][0]]&amp;&amp;i[r][1].apply(e.element,n)}},contains:e.contains,hasScroll:function(t,n){if(e(t).css(&quot;overflow&quot;)===&quot;hidden&quot;)return!1;var r=n&amp;&amp;n===&quot;left&quot;?&quot;scrollLeft&quot;:&quot;scrollTop&quot;,i=!1;return t[r]&gt;0?!0:(t[r]=1,i=t[r]&gt;0,t[r]=0,i)},isOverAxis:function(e,t,n){return e&gt;t&amp;&amp;e&lt;t+n},isOver:function(t,n,r,i,s,o){return e.ui.isOver
 Axis(t,r,s)&amp;&amp;e.ui.isOverAxis(n,i,o)}})})(jQuery);
</del><span class="cx">\ No newline at end of file
</span><ins>+(function(e,t){function i(t,n){var r,i,o,u=t.nodeName.toLowerCase();return&quot;area&quot;===u?(r=t.parentNode,i=r.name,!t.href||!i||r.nodeName.toLowerCase()!==&quot;map&quot;?!1:(o=e(&quot;img[usemap=#&quot;+i+&quot;]&quot;)[0],!!o&amp;&amp;s(o))):(/input|select|textarea|button|object/.test(u)?!t.disabled:&quot;a&quot;===u?t.href||n:n)&amp;&amp;s(t)}function s(t){return!e(t).parents().andSelf().filter(function(){return e.css(this,&quot;visibility&quot;)===&quot;hidden&quot;||e.expr.filters.hidden(this)}).length}var n=0,r=/^ui-id-\d+$/;e.ui=e.ui||{};if(e.ui.version)return;e.extend(e.ui,{version:&quot;1.9.0&quot;,keyCode:{BACKSPACE:8,COMMA:188,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,LEFT:37,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,SPACE:32,TAB:9,UP:38}}),e.fn.extend({_focus:e.fn.focus,focus:function(t,n){return typeof t==&quot;number&quot;?th
 is.each(function(){var r=this;setTimeout(function(){e(r).focus(),n&amp;&amp;n.call(r)},t)}):this._focus.apply(this,arguments)},scrollParent:function(){var t;return e.browser.msie&amp;&amp;/(static|relative)/.test(this.css(&quot;position&quot;))||/absolute/.test(this.css(&quot;position&quot;))?t=this.parents().filter(function(){return/(relative|absolute|fixed)/.test(e.css(this,&quot;position&quot;))&amp;&amp;/(auto|scroll)/.test(e.css(this,&quot;overflow&quot;)+e.css(this,&quot;overflow-y&quot;)+e.css(this,&quot;overflow-x&quot;))}).eq(0):t=this.parents().filter(function(){return/(auto|scroll)/.test(e.css(this,&quot;overflow&quot;)+e.css(this,&quot;overflow-y&quot;)+e.css(this,&quot;overflow-x&quot;))}).eq(0),/fixed/.test(this.css(&quot;position&quot;))||!t.length?e(document):t},zIndex:function(n){if(n!==t)return this.css(&quot;zIndex&quot;,n);if(this.length){var r=e(this[0]),i,s;while(r.length&amp;&amp;r[0]!==document){i=r.css(&quot;position&quot;);if(i===&quot;absolute&quot
 ;||i===&quot;relative&quot;||i===&quot;fixed&quot;){s=parseInt(r.css(&quot;zIndex&quot;),10);if(!isNaN(s)&amp;&amp;s!==0)return s}r=r.parent()}}return 0},uniqueId:function(){return this.each(function(){this.id||(this.id=&quot;ui-id-&quot;+ ++n)})},removeUniqueId:function(){return this.each(function(){r.test(this.id)&amp;&amp;e(this).removeAttr(&quot;id&quot;)})}}),e(&quot;&lt;a&gt;&quot;).outerWidth(1).jquery||e.each([&quot;Width&quot;,&quot;Height&quot;],function(n,r){function u(t,n,r,s){return e.each(i,function(){n-=parseFloat(e.css(t,&quot;padding&quot;+this))||0,r&amp;&amp;(n-=parseFloat(e.css(t,&quot;border&quot;+this+&quot;Width&quot;))||0),s&amp;&amp;(n-=parseFloat(e.css(t,&quot;margin&quot;+this))||0)}),n}var i=r===&quot;Width&quot;?[&quot;Left&quot;,&quot;Right&quot;]:[&quot;Top&quot;,&quot;Bottom&quot;],s=r.toLowerCase(),o={innerWidth:e.fn.innerWidth,innerHeight:e.fn.innerHeight,outerWidth:e.fn.outerWidth,outerHeight:e.fn.outerHeight};e.fn[&quot;inner&quot;+r]=func
 tion(n){return n===t?o[&quot;inner&quot;+r].call(this):this.each(function(){e(this).css(s,u(this,n)+&quot;px&quot;)})},e.fn[&quot;outer&quot;+r]=function(t,n){return typeof t!=&quot;number&quot;?o[&quot;outer&quot;+r].call(this,t):this.each(function(){e(this).css(s,u(this,t,!0,n)+&quot;px&quot;)})}}),e.extend(e.expr[&quot;:&quot;],{data:e.expr.createPseudo?e.expr.createPseudo(function(t){return function(n){return!!e.data(n,t)}}):function(t,n,r){return!!e.data(t,r[3])},focusable:function(t){return i(t,!isNaN(e.attr(t,&quot;tabindex&quot;)))},tabbable:function(t){var n=e.attr(t,&quot;tabindex&quot;),r=isNaN(n);return(r||n&gt;=0)&amp;&amp;i(t,!r)}}),e(function(){var t=document.body,n=t.appendChild(n=document.createElement(&quot;div&quot;));n.offsetHeight,e.extend(n.style,{minHeight:&quot;100px&quot;,height:&quot;auto&quot;,padding:0,borderWidth:0}),e.support.minHeight=n.offsetHeight===100,e.support.selectstart=&quot;onselectstart&quot;in n,t.removeChild(n).style.display=&quot;n
 one&quot;}),e.fn.extend({disableSelection:function(){return this.bind((e.support.selectstart?&quot;selectstart&quot;:&quot;mousedown&quot;)+&quot;.ui-disableSelection&quot;,function(e){e.preventDefault()})},enableSelection:function(){return this.unbind(&quot;.ui-disableSelection&quot;)}}),e.extend(e.ui,{plugin:{add:function(t,n,r){var i,s=e.ui[t].prototype;for(i in r)s.plugins[i]=s.plugins[i]||[],s.plugins[i].push([n,r[i]])},call:function(e,t,n){var r,i=e.plugins[t];if(!i||!e.element[0].parentNode||e.element[0].parentNode.nodeType===11)return;for(r=0;r&lt;i.length;r++)e.options[i[r][0]]&amp;&amp;i[r][1].apply(e.element,n)}},contains:e.contains,hasScroll:function(t,n){if(e(t).css(&quot;overflow&quot;)===&quot;hidden&quot;)return!1;var r=n&amp;&amp;n===&quot;left&quot;?&quot;scrollLeft&quot;:&quot;scrollTop&quot;,i=!1;return t[r]&gt;0?!0:(t[r]=1,i=t[r]&gt;0,t[r]=0,i)},isOverAxis:function(e,t,n){return e&gt;t&amp;&amp;e&lt;t+n},isOver:function(t,n,r,i,s,o){return e.ui.isOverAxi
 s(t,r,s)&amp;&amp;e.ui.isOverAxis(n,i,o)}})})(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 (22181 => 22182)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-includes/js/jquery/ui/jquery.ui.datepicker.min.js        2012-10-11 03:29:02 UTC (rev 22181)
+++ trunk/wp-includes/js/jquery/ui/jquery.ui.datepicker.min.js        2012-10-11 03:34:19 UTC (rev 22182)
</span><span class="lines">@@ -1,5 +1,5 @@
</span><del>-/*! jQuery UI - v1.9.0pre - 2012-08-29
</del><ins>+/*! jQuery UI - v1.9.0 - 2012-10-05
</ins><span class="cx"> * http://jqueryui.com
</span><span class="cx"> * Includes: jquery.ui.datepicker.js
</span><span class="cx"> * Copyright 2012 jQuery Foundation and other contributors; Licensed MIT */
</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(e){var t=&quot;button, .ui-datepicker-prev, .ui-datepicker-next, .ui-datepicker-calendar td a&quot;;return e.delegate(t,&quot;mouseout&quot;,function(){$(this).removeClass(&quot;
 ui-state-hover&quot;),this.className.indexOf(&quot;ui-datepicker-prev&quot;)!=-1&amp;&amp;$(this).removeClass(&quot;ui-datepicker-prev-hover&quot;),this.className.indexOf(&quot;ui-datepicker-next&quot;)!=-1&amp;&amp;$(this).removeClass(&quot;ui-datepicker-next-hover&quot;)}).delegate(t,&quot;mouseover&quot;,function(){$.datepicker._isDisabledDatepicker(instActive.inline?e.parent()[0]:instActive.input[0])||($(this).parents(&quot;.ui-datepicker-calendar&quot;).find(&quot;a&quot;).removeClass(&quot;ui-state-hover&quot;),$(this).addClass(&quot;ui-state-hover&quot;),this.className.indexOf(&quot;ui-datepicker-prev&quot;)!=-1&amp;&amp;$(this).addClass(&quot;ui-datepicker-prev-hover&quot;),this.className.indexOf(&quot;ui-datepicker-next&quot;)!=-1&amp;&amp;$(this).addClass(&quot;ui-datepicker-next-hover&quot;))})}function extendRemove(e,t){$.extend(e,t);for(var n in t)if(t[n]==null||t[n]==undefined)e[n]=t[n];return e}$.extend($.ui,{datepicker:{version:&quot;@VERSION&quot;}});var PRO
 P_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(e){return extendRemove(this._defaults,e||{}),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):in
 line&amp;&amp;this._inlineDatepicker(target,inst)},_newInst:function(e,t){var n=e[0].id.replace(/([^A-Za-z0-9_-])/g,&quot;\\\\$1&quot;);return{id:n,input:e,selectedDay:0,selectedMonth:0,selectedYear:0,drawMonth:0,drawYear:0,inline:t,dpDiv:t?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(e,t){var n=$(e);t.append=$([]),t.trigger=$([]);if(n.hasClass(this.markerClassName))return;this._attachments(n,t),n.addClass(this.markerClassName).keydown(this._doKeyDown).keypress(this._doKeyPress).keyup(this._doKeyUp).bind(&quot;setData.datepicker&quot;,function(e,n,r){t.settings[n]=r}).bind(&quot;getData.datepicker&quot;,function(e,n){return this._get(t,n)}),this._autoSize(t),$.data(e,PROP_NAME,t),t.settings.disabled&amp;&amp;this._disableDatepicker(e)},_attachments:function(e,t){var n=this._get(t,&quot;appendText&quot;),r=this._get(t,&quot;isR
 TL&quot;);t.append&amp;&amp;t.append.remove(),n&amp;&amp;(t.append=$('&lt;span class=&quot;'+this._appendClass+'&quot;&gt;'+n+&quot;&lt;/span&gt;&quot;),e[r?&quot;before&quot;:&quot;after&quot;](t.append)),e.unbind(&quot;focus&quot;,this._showDatepicker),t.trigger&amp;&amp;t.trigger.remove();var i=this._get(t,&quot;showOn&quot;);(i==&quot;focus&quot;||i==&quot;both&quot;)&amp;&amp;e.focus(this._showDatepicker);if(i==&quot;button&quot;||i==&quot;both&quot;){var s=this._get(t,&quot;buttonText&quot;),o=this._get(t,&quot;buttonImage&quot;);t.trigger=$(this._get(t,&quot;buttonImageOnly&quot;)?$(&quot;&lt;img/&gt;&quot;).addClass(this._triggerClass).attr({src:o,alt:s,title:s}):$('&lt;button type=&quot;button&quot;&gt;&lt;/button&gt;').addClass(this._triggerClass).html(o==&quot;&quot;?s:$(&quot;&lt;img/&gt;&quot;).attr({src:o,alt:s,title:s}))),e[r?&quot;before&quot;:&quot;after&quot;](t.trigger),t.trigger.click(function(){return $.datepicker._datepickerShowing&amp;&amp;$.datepicker
 ._lastInput==e[0]?$.datepicker._hideDatepicker():$.datepicker._datepickerShowing&amp;&amp;$.datepicker._lastInput!=e[0]?($.datepicker._hideDatepicker(),$.datepicker._showDatepicker(e[0])):$.datepicker._showDatepicker(e[0]),!1})}},_autoSize:function(e){if(this._get(e,&quot;autoSize&quot;)&amp;&amp;!e.inline){var t=new Date(2009,11,20),n=this._get(e,&quot;dateFormat&quot;);if(n.match(/[DM]/)){var r=function(e){var t=0,n=0;for(var r=0;r&lt;e.length;r++)e[r].length&gt;t&amp;&amp;(t=e[r].length,n=r);return n};t.setMonth(r(this._get(e,n.match(/MM/)?&quot;monthNames&quot;:&quot;monthNamesShort&quot;))),t.setDate(r(this._get(e,n.match(/DD/)?&quot;dayNames&quot;:&quot;dayNamesShort&quot;))+20-t.getDay())}e.input.attr(&quot;size&quot;,this._formatDate(e,t).length)}},_inlineDatepicker:function(e,t){var n=$(e);if(n.hasClass(this.markerClassName))return;n.addClass(this.markerClassName).append(t.dpDiv).bind(&quot;setData.datepicker&quot;,function(e,n,r){t.settings[n]=r}).bind(&quot;getDat
 a.datepicker&quot;,function(e,n){return this._get(t,n)}),$.data(e,PROP_NAME,t),this._setDate(t,this._getDefaultDate(t),!0),this._updateDatepicker(t),this._updateAlternate(t),t.settings.disabled&amp;&amp;this._disableDatepicker(e),t.dpDiv.css(&quot;display&quot;,&quot;block&quot;)},_dialogDatepicker:function(e,t,n,r,i){var s=this._dialogInst;if(!s){this.uuid+=1;var o=&quot;dp&quot;+this.uuid;this._dialogInput=$('&lt;input type=&quot;text&quot; id=&quot;'+o+'&quot; style=&quot;position: absolute; top: -100px; width: 0px;&quot;/&gt;'),this._dialogInput.keydown(this._doKeyDown),$(&quot;body&quot;).append(this._dialogInput),s=this._dialogInst=this._newInst(this._dialogInput,!1),s.settings={},$.data(this._dialogInput[0],PROP_NAME,s)}extendRemove(s.settings,r||{}),t=t&amp;&amp;t.constructor==Date?this._formatDate(s,t):t,this._dialogInput.val(t),this._pos=i?i.length?i:[i.pageX,i.pageY]:null;if(!this._pos){var u=document.documentElement.clientWidth,a=document.documentElement.clientHe
 ight,f=document.documentElement.scrollLeft||document.body.scrollLeft,l=document.documentElement.scrollTop||document.body.scrollTop;this._pos=[u/2-100+f,a/2-150+l]}return this._dialogInput.css(&quot;left&quot;,this._pos[0]+20+&quot;px&quot;).css(&quot;top&quot;,this._pos[1]+&quot;px&quot;),s.settings.onSelect=n,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,s),this},_destroyDatepicker:function(e){var t=$(e),n=$.data(e,PROP_NAME);if(!t.hasClass(this.markerClassName))return;var r=e.nodeName.toLowerCase();$.removeData(e,PROP_NAME),r==&quot;input&quot;?(n.append.remove(),n.trigger.remove(),t.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)):(r==&quot;div&quot;||r==&quot;span&quot;)&amp;&amp;
 t.removeClass(this.markerClassName).empty()},_enableDatepicker:function(e){var t=$(e),n=$.data(e,PROP_NAME);if(!t.hasClass(this.markerClassName))return;var r=e.nodeName.toLowerCase();if(r==&quot;input&quot;)e.disabled=!1,n.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(r==&quot;div&quot;||r==&quot;span&quot;){var i=t.children(&quot;.&quot;+this._inlineClass);i.children().removeClass(&quot;ui-state-disabled&quot;),i.find(&quot;select.ui-datepicker-month, select.ui-datepicker-year&quot;).prop(&quot;disabled&quot;,!1)}this._disabledInputs=$.map(this._disabledInputs,function(t){return t==e?null:t})},_disableDatepicker:function(e){var t=$(e),n=$.data(e,PROP_NAME);if(!t.hasClass(this.markerClassName))return;var r=e.nodeName.toLowerCase();if(r==&quot;input&quot;)e.disabled=!0,n.trigger.filter(&quot;button&quot;).each(function(){this.disabled=!0}).end().filter(&quot;img&qu
 ot;).css({opacity:&quot;0.5&quot;,cursor:&quot;default&quot;});else if(r==&quot;div&quot;||r==&quot;span&quot;){var i=t.children(&quot;.&quot;+this._inlineClass);i.children().addClass(&quot;ui-state-disabled&quot;),i.find(&quot;select.ui-datepicker-month, select.ui-datepicker-year&quot;).prop(&quot;disabled&quot;,!0)}this._disabledInputs=$.map(this._disabledInputs,function(t){return t==e?null:t}),this._disabledInputs[this._disabledInputs.length]=e},_isDisabledDatepicker:function(e){if(!e)return!1;for(var t=0;t&lt;this._disabledInputs.length;t++)if(this._disabledInputs[t]==e)return!0;return!1},_getInst:function(e){try{return $.data(e,PROP_NAME)}catch(t){throw&quot;Missing instance data for this datepicker&quot;}},_optionDatepicker:function(e,t,n){var r=this._getInst(e);if(arguments.length==2&amp;&amp;typeof t==&quot;string&quot;)return t==&quot;defaults&quot;?$.extend({},$.datepicker._defaults):r?t==&quot;all&quot;?$.extend({},r.settings):this._get(r,t):null;var i=t||{};typeo
 f t==&quot;string&quot;&amp;&amp;(i={},i[t]=n);if(r){this._curInst==r&amp;&amp;this._hideDatepicker();var s=this._getDateDatepicker(e,!0),o=this._getMinMaxDate(r,&quot;min&quot;),u=this._getMinMaxDate(r,&quot;max&quot;);extendRemove(r.settings,i),o!==null&amp;&amp;i.dateFormat!==undefined&amp;&amp;i.minDate===undefined&amp;&amp;(r.settings.minDate=this._formatDate(r,o)),u!==null&amp;&amp;i.dateFormat!==undefined&amp;&amp;i.maxDate===undefined&amp;&amp;(r.settings.maxDate=this._formatDate(r,u)),this._attachments($(e),r),this._autoSize(r),this._setDate(r,s),this._updateAlternate(r),this._updateDatepicker(r)}},_changeDatepicker:function(e,t,n){this._optionDatepicker(e,t,n)},_refreshDatepicker:function(e){var t=this._getInst(e);t&amp;&amp;this._updateDatepicker(t)},_setDateDatepicker:function(e,t){var n=this._getInst(e);n&amp;&amp;(this._setDate(n,t),this._updateDatepicker(n),this._updateAlternate(n))},_getDateDatepicker:function(e,t){var n=this._getInst(e);return n&amp;&amp;!n.
 inline&amp;&amp;this._setDateFromField(n,t),n?this._getDate(n):null},_doKeyDown:function(e){var t=$.datepicker._getInst(e.target),n=!0,r=t.dpDiv.is(&quot;.ui-datepicker-rtl&quot;);t._keyEvent=!0;if($.datepicker._datepickerShowing)switch(e.keyCode){case 9:$.datepicker._hideDatepicker(),n=!1;break;case 13:var i=$(&quot;td.&quot;+$.datepicker._dayOverClass+&quot;:not(.&quot;+$.datepicker._currentClass+&quot;)&quot;,t.dpDiv);i[0]&amp;&amp;$.datepicker._selectDay(e.target,t.selectedMonth,t.selectedYear,i[0]);var s=$.datepicker._get(t,&quot;onSelect&quot;);if(s){var o=$.datepicker._formatDate(t);s.apply(t.input?t.input[0]:null,[o,t])}else $.datepicker._hideDatepicker();return!1;case 27:$.datepicker._hideDatepicker();break;case 33:$.datepicker._adjustDate(e.target,e.ctrlKey?-$.datepicker._get(t,&quot;stepBigMonths&quot;):-$.datepicker._get(t,&quot;stepMonths&quot;),&quot;M&quot;);break;case 34:$.datepicker._adjustDate(e.target,e.ctrlKey?+$.datepicker._get(t,&quot;stepBigMonths&quot
 ;):+$.datepicker._get(t,&quot;stepMonths&quot;),&quot;M&quot;);break;case 35:(e.ctrlKey||e.metaKey)&amp;&amp;$.datepicker._clearDate(e.target),n=e.ctrlKey||e.metaKey;break;case 36:(e.ctrlKey||e.metaKey)&amp;&amp;$.datepicker._gotoToday(e.target),n=e.ctrlKey||e.metaKey;break;case 37:(e.ctrlKey||e.metaKey)&amp;&amp;$.datepicker._adjustDate(e.target,r?1:-1,&quot;D&quot;),n=e.ctrlKey||e.metaKey,e.originalEvent.altKey&amp;&amp;$.datepicker._adjustDate(e.target,e.ctrlKey?-$.datepicker._get(t,&quot;stepBigMonths&quot;):-$.datepicker._get(t,&quot;stepMonths&quot;),&quot;M&quot;);break;case 38:(e.ctrlKey||e.metaKey)&amp;&amp;$.datepicker._adjustDate(e.target,-7,&quot;D&quot;),n=e.ctrlKey||e.metaKey;break;case 39:(e.ctrlKey||e.metaKey)&amp;&amp;$.datepicker._adjustDate(e.target,r?-1:1,&quot;D&quot;),n=e.ctrlKey||e.metaKey,e.originalEvent.altKey&amp;&amp;$.datepicker._adjustDate(e.target,e.ctrlKey?+$.datepicker._get(t,&quot;stepBigMonths&quot;):+$.datepicker._get(t,&quot;stepMonths&quo
 t;),&quot;M&quot;);break;case 40:(e.ctrlKey||e.metaKey)&amp;&amp;$.datepicker._adjustDate(e.target,7,&quot;D&quot;),n=e.ctrlKey||e.metaKey;break;default:n=!1}else e.keyCode==36&amp;&amp;e.ctrlKey?$.datepicker._showDatepicker(this):n=!1;n&amp;&amp;(e.preventDefault(),e.stopPropagation())},_doKeyPress:function(e){var t=$.datepicker._getInst(e.target);if($.datepicker._get(t,&quot;constrainInput&quot;)){var n=$.datepicker._possibleChars($.datepicker._get(t,&quot;dateFormat&quot;)),r=String.fromCharCode(e.charCode==undefined?e.keyCode:e.charCode);return e.ctrlKey||e.metaKey||r&lt;&quot; &quot;||!n||n.indexOf(r)&gt;-1}},_doKeyUp:function(e){var t=$.datepicker._getInst(e.target);if(t.input.val()!=t.lastVal)try{var n=$.datepicker.parseDate($.datepicker._get(t,&quot;dateFormat&quot;),t.input?t.input.val():null,$.datepicker._getFormatConfig(t));n&amp;&amp;($.datepicker._setDateFromField(t),$.datepicker._updateAlternate(t),$.datepicker._updateDatepicker(t))}catch(r){$.datepicker.log(r)
 }return!0},_showDatepicker:function(e){e=e.target||e,e.nodeName.toLowerCase()!=&quot;input&quot;&amp;&amp;(e=$(&quot;input&quot;,e.parentNode)[0]);if($.datepicker._isDisabledDatepicker(e)||$.datepicker._lastInput==e)return;var t=$.datepicker._getInst(e);$.datepicker._curInst&amp;&amp;$.datepicker._curInst!=t&amp;&amp;($.datepicker._curInst.dpDiv.stop(!0,!0),t&amp;&amp;$.datepicker._datepickerShowing&amp;&amp;$.datepicker._hideDatepicker($.datepicker._curInst.input[0]));var n=$.datepicker._get(t,&quot;beforeShow&quot;),r=n?n.apply(e,[e,t]):{};if(r===!1)return;extendRemove(t.settings,r),t.lastVal=null,$.datepicker._lastInput=e,$.datepicker._setDateFromField(t),$.datepicker._inDialog&amp;&amp;(e.value=&quot;&quot;),$.datepicker._pos||($.datepicker._pos=$.datepicker._findPos(e),$.datepicker._pos[1]+=e.offsetHeight);var i=!1;$(e).parents().each(function(){return i|=$(this).css(&quot;position&quot;)==&quot;fixed&quot;,!i});var s={left:$.datepicker._pos[0],top:$.datepicker._pos[1]}
 ;$.datepicker._pos=null,t.dpDiv.empty(),t.dpDiv.css({position:&quot;absolute&quot;,display:&quot;block&quot;,top:&quot;-1000px&quot;}),$.datepicker._updateDatepicker(t),s=$.datepicker._checkOffset(t,s,i),t.dpDiv.css({position:$.datepicker._inDialog&amp;&amp;$.blockUI?&quot;static&quot;:i?&quot;fixed&quot;:&quot;absolute&quot;,display:&quot;none&quot;,left:s.left+&quot;px&quot;,top:s.top+&quot;px&quot;});if(!t.inline){var o=$.datepicker._get(t,&quot;showAnim&quot;),u=$.datepicker._get(t,&quot;duration&quot;),a=function(){var e=t.dpDiv.find(&quot;iframe.ui-datepicker-cover&quot;);if(!!e.length){var n=$.datepicker._getBorders(t.dpDiv);e.css({left:-n[0],top:-n[1],width:t.dpDiv.outerWidth(),height:t.dpDiv.outerHeight()})}};t.dpDiv.zIndex($(e).zIndex()+1),$.datepicker._datepickerShowing=!0,$.effects&amp;&amp;($.effects.effect[o]||$.effects[o])?t.dpDiv.show(o,$.datepicker._get(t,&quot;showOptions&quot;),u,a):t.dpDiv[o||&quot;show&quot;](o?u:null,a),(!o||!u)&amp;&amp;a(),t.input.is(
 &quot;:visible&quot;)&amp;&amp;!t.input.is(&quot;:disabled&quot;)&amp;&amp;t.input.focus(),$.datepicker._curInst=t}},_updateDatepicker:function(e){this.maxRows=4;var t=$.datepicker._getBorders(e.dpDiv);instActive=e,e.dpDiv.empty().append(this._generateHTML(e)),this._attachHandlers(e);var n=e.dpDiv.find(&quot;iframe.ui-datepicker-cover&quot;);!n.length||n.css({left:-t[0],top:-t[1],width:e.dpDiv.outerWidth(),height:e.dpDiv.outerHeight()}),e.dpDiv.find(&quot;.&quot;+this._dayOverClass+&quot; a&quot;).mouseover();var r=this._getNumberOfMonths(e),i=r[1],s=17;e.dpDiv.removeClass(&quot;ui-datepicker-multi-2 ui-datepicker-multi-3 ui-datepicker-multi-4&quot;).width(&quot;&quot;),i&gt;1&amp;&amp;e.dpDiv.addClass(&quot;ui-datepicker-multi-&quot;+i).css(&quot;width&quot;,s*i+&quot;em&quot;),e.dpDiv[(r[0]!=1||r[1]!=1?&quot;add&quot;:&quot;remove&quot;)+&quot;Class&quot;](&quot;ui-datepicker-multi&quot;),e.dpDiv[(this._get(e,&quot;isRTL&quot;)?&quot;add&quot;:&quot;remove&quot;)+&quot;Cla
 ss&quot;](&quot;ui-datepicker-rtl&quot;),e==$.datepicker._curInst&amp;&amp;$.datepicker._datepickerShowing&amp;&amp;e.input&amp;&amp;e.input.is(&quot;:visible&quot;)&amp;&amp;!e.input.is(&quot;:disabled&quot;)&amp;&amp;e.input[0]!=document.activeElement&amp;&amp;e.input.focus();if(e.yearshtml){var o=e.yearshtml;setTimeout(function(){o===e.yearshtml&amp;&amp;e.yearshtml&amp;&amp;e.dpDiv.find(&quot;select.ui-datepicker-year:first&quot;).replaceWith(e.yearshtml),o=e.yearshtml=null},0)}},_getBorders:function(e){var t=function(e){return{thin:1,medium:2,thick:3}[e]||e};return[parseFloat(t(e.css(&quot;border-left-width&quot;))),parseFloat(t(e.css(&quot;border-top-width&quot;)))]},_checkOffset:function(e,t,n){var r=e.dpDiv.outerWidth(),i=e.dpDiv.outerHeight(),s=e.input?e.input.outerWidth():0,o=e.input?e.input.outerHeight():0,u=document.documentElement.clientWidth+(n?0:$(document).scrollLeft()),a=document.documentElement.clientHeight+(n?0:$(document).scrollTop());return t.left-=this.
 _get(e,&quot;isRTL&quot;)?r-s:0,t.left-=n&amp;&amp;t.left==e.input.offset().left?$(document).scrollLeft():0,t.top-=n&amp;&amp;t.top==e.input.offset().top+o?$(document).scrollTop():0,t.left-=Math.min(t.left,t.left+r&gt;u&amp;&amp;u&gt;r?Math.abs(t.left+r-u):0),t.top-=Math.min(t.top,t.top+i&gt;a&amp;&amp;a&gt;i?Math.abs(i+o):0),t},_findPos:function(e){var t=this._getInst(e),n=this._get(t,&quot;isRTL&quot;);while(e&amp;&amp;(e.type==&quot;hidden&quot;||e.nodeType!=1||$.expr.filters.hidden(e)))e=e[n?&quot;previousSibling&quot;:&quot;nextSibling&quot;];var r=$(e).offset();return[r.left,r.top]},_hideDatepicker:function(e){var t=this._curInst;if(!t||e&amp;&amp;t!=$.data(e,PROP_NAME))return;if(this._datepickerShowing){var n=this._get(t,&quot;showAnim&quot;),r=this._get(t,&quot;duration&quot;),i=function(){$.datepicker._tidyDialog(t)};$.effects&amp;&amp;($.effects.effect[n]||$.effects[n])?t.dpDiv.hide(n,$.datepicker._get(t,&quot;showOptions&quot;),r,i):t.dpDiv[n==&quot;slideDown&quot
 ;?&quot;slideUp&quot;:n==&quot;fadeIn&quot;?&quot;fadeOut&quot;:&quot;hide&quot;](n?r:null,i),n||i(),this._datepickerShowing=!1;var s=this._get(t,&quot;onClose&quot;);s&amp;&amp;s.apply(t.input?t.input[0]:null,[t.input?t.input.val():&quot;&quot;,t]),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(e){e.dpDiv.removeClass(this._dialogClass).unbind(&quot;.ui-datepicker-calendar&quot;)},_checkExternalClick:function(e){if(!$.datepicker._curInst)return;var t=$(e.target),n=$.datepicker._getInst(t[0]);(t[0].id!=$.datepicker._mainDivId&amp;&amp;t.parents(&quot;#&quot;+$.datepicker._mainDivId).length==0&amp;&amp;!t.hasClass($.datepicker.markerClassName)&amp;&amp;!t.closest(&quot;.&quot;+$.datepicker._triggerClass).length&amp;&amp;$.datepicker._datepickerShowing&amp;&amp;(!$.date
 picker._inDialog||!$.blockUI)||t.hasClass($.datepicker.markerClassName)&amp;&amp;$.datepicker._curInst!=n)&amp;&amp;$.datepicker._hideDatepicker()},_adjustDate:function(e,t,n){var r=$(e),i=this._getInst(r[0]);if(this._isDisabledDatepicker(r[0]))return;this._adjustInstDate(i,t+(n==&quot;M&quot;?this._get(i,&quot;showCurrentAtPos&quot;):0),n),this._updateDatepicker(i)},_gotoToday:function(e){var t=$(e),n=this._getInst(t[0]);if(this._get(n,&quot;gotoCurrent&quot;)&amp;&amp;n.currentDay)n.selectedDay=n.currentDay,n.drawMonth=n.selectedMonth=n.currentMonth,n.drawYear=n.selectedYear=n.currentYear;else{var r=new Date;n.selectedDay=r.getDate(),n.drawMonth=n.selectedMonth=r.getMonth(),n.drawYear=n.selectedYear=r.getFullYear()}this._notifyChange(n),this._adjustDate(t)},_selectMonthYear:function(e,t,n){var r=$(e),i=this._getInst(r[0]);i[&quot;selected&quot;+(n==&quot;M&quot;?&quot;Month&quot;:&quot;Year&quot;)]=i[&quot;draw&quot;+(n==&quot;M&quot;?&quot;Month&quot;:&quot;Year&quot;)]=p
 arseInt(t.options[t.selectedIndex].value,10),this._notifyChange(i),this._adjustDate(r)},_selectDay:function(e,t,n,r){var i=$(e);if($(r).hasClass(this._unselectableClass)||this._isDisabledDatepicker(i[0]))return;var s=this._getInst(i[0]);s.selectedDay=s.currentDay=$(&quot;a&quot;,r).html(),s.selectedMonth=s.currentMonth=t,s.selectedYear=s.currentYear=n,this._selectDate(e,this._formatDate(s,s.currentDay,s.currentMonth,s.currentYear))},_clearDate:function(e){var t=$(e),n=this._getInst(t[0]);this._selectDate(t,&quot;&quot;)},_selectDate:function(e,t){var n=$(e),r=this._getInst(n[0]);t=t!=null?t:this._formatDate(r),r.input&amp;&amp;r.input.val(t),this._updateAlternate(r);var i=this._get(r,&quot;onSelect&quot;);i?i.apply(r.input?r.input[0]:null,[t,r]):r.input&amp;&amp;r.input.trigger(&quot;change&quot;),r.inline?this._updateDatepicker(r):(this._hideDatepicker(),this._lastInput=r.input[0],typeof r.input[0]!=&quot;object&quot;&amp;&amp;r.input.focus(),this._lastInput=null)},_updateA
 lternate:function(e){var t=this._get(e,&quot;altField&quot;);if(t){var n=this._get(e,&quot;altFormat&quot;)||this._get(e,&quot;dateFormat&quot;),r=this._getDate(e),i=this.formatDate(n,r,this._getFormatConfig(e));$(t).each(function(){$(this).val(i)})}},noWeekends:function(e){var t=e.getDay();return[t&gt;0&amp;&amp;t&lt;6,&quot;&quot;]},iso8601Week:function(e){var t=new Date(e.getTime());t.setDate(t.getDate()+4-(t.getDay()||7));var n=t.getTime();return t.setMonth(0),t.setDate(1),Math.floor(Math.round((n-t)/864e5)/7)+1},parseDate:function(e,t,n){if(e==null||t==null)throw&quot;Invalid arguments&quot;;t=typeof t==&quot;object&quot;?t.toString():t+&quot;&quot;;if(t==&quot;&quot;)return null;var r=(n?n.shortYearCutoff:null)||this._defaults.shortYearCutoff;r=typeof r!=&quot;string&quot;?r:(new Date).getFullYear()%100+parseInt(r,10);var i=(n?n.dayNamesShort:null)||this._defaults.dayNamesShort,s=(n?n.dayNames:null)||this._defaults.dayNames,o=(n?n.monthNamesShort:null)||this._defaults.
 monthNamesShort,u=(n?n.monthNames:null)||this._defaults.monthNames,a=-1,f=-1,l=-1,c=-1,h=!1,p=function(t){var n=y+1&lt;e.length&amp;&amp;e.charAt(y+1)==t;return n&amp;&amp;y++,n},d=function(e){var n=p(e),r=e==&quot;@&quot;?14:e==&quot;!&quot;?20:e==&quot;y&quot;&amp;&amp;n?4:e==&quot;o&quot;?3:2,i=new RegExp(&quot;^\\d{1,&quot;+r+&quot;}&quot;),s=t.substring(g).match(i);if(!s)throw&quot;Missing number at position &quot;+g;return g+=s[0].length,parseInt(s[0],10)},v=function(e,n,r){var i=$.map(p(e)?r:n,function(e,t){return[[t,e]]}).sort(function(e,t){return-(e[1].length-t[1].length)}),s=-1;$.each(i,function(e,n){var r=n[1];if(t.substr(g,r.length).toLowerCase()==r.toLowerCase())return s=n[0],g+=r.length,!1});if(s!=-1)return s+1;throw&quot;Unknown name at position &quot;+g},m=function(){if(t.charAt(g)!=e.charAt(y))throw&quot;Unexpected literal at position &quot;+g;g++},g=0;for(var y=0;y&lt;e.length;y++)if(h)e.charAt(y)==&quot;'&quot;&amp;&amp;!p(&quot;'&quot;)?h=!1:m();else swit
 ch(e.charAt(y)){case&quot;d&quot;:l=d(&quot;d&quot;);break;case&quot;D&quot;:v(&quot;D&quot;,i,s);break;case&quot;o&quot;:c=d(&quot;o&quot;);break;case&quot;m&quot;:f=d(&quot;m&quot;);break;case&quot;M&quot;:f=v(&quot;M&quot;,o,u);break;case&quot;y&quot;:a=d(&quot;y&quot;);break;case&quot;@&quot;:var b=new Date(d(&quot;@&quot;));a=b.getFullYear(),f=b.getMonth()+1,l=b.getDate();break;case&quot;!&quot;:var b=new Date((d(&quot;!&quot;)-this._ticksTo1970)/1e4);a=b.getFullYear(),f=b.getMonth()+1,l=b.getDate();break;case&quot;'&quot;:p(&quot;'&quot;)?m():h=!0;break;default:m()}if(g&lt;t.length){var w=t.substr(g);if(!/^\s+/.test(w))throw&quot;Extra/unparsed characters found in date: &quot;+w}a==-1?a=(new Date).getFullYear():a&lt;100&amp;&amp;(a+=(new Date).getFullYear()-(new Date).getFullYear()%100+(a&lt;=r?0:-100));if(c&gt;-1){f=1,l=c;do{var E=this._getDaysInMonth(a,f-1);if(l&lt;=E)break;f++,l-=E}while(!0)}var b=this._daylightSavingAdjust(new Date(a,f-1,l));if(b.getFullYear()!=a||
 b.getMonth()+1!=f||b.getDate()!=l)throw&quot;Invalid date&quot;;return b},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(e,t,n){if(!t)return&quot;&quot;;var r=(n?n.dayNamesShort:null)||this._defaults.dayNamesShort,i=(n?n.dayNames:null)||this._defaults.dayNames,s=(n?n.monthNamesShort:null)||this._defaults.monthNamesShort,o=(n?n.monthNames:null)||this._defaults.monthNames,u=function(t){var n=h+1&lt;e.length&amp;&amp;e.charAt(h+1)==t;return n&amp;&amp;h++,n},a=function(e,t,n){var r=&quot;&quot;+t;if(u(e))while(r.length&lt;n)r=&quot;0&quot;+r;return r},f=function(e,t,n,r){return u(e)?r[t]:n[t]
 },l=&quot;&quot;,c=!1;if(t)for(var h=0;h&lt;e.length;h++)if(c)e.charAt(h)==&quot;'&quot;&amp;&amp;!u(&quot;'&quot;)?c=!1:l+=e.charAt(h);else switch(e.charAt(h)){case&quot;d&quot;:l+=a(&quot;d&quot;,t.getDate(),2);break;case&quot;D&quot;:l+=f(&quot;D&quot;,t.getDay(),r,i);break;case&quot;o&quot;:l+=a(&quot;o&quot;,Math.round(((new Date(t.getFullYear(),t.getMonth(),t.getDate())).getTime()-(new Date(t.getFullYear(),0,0)).getTime())/864e5),3);break;case&quot;m&quot;:l+=a(&quot;m&quot;,t.getMonth()+1,2);break;case&quot;M&quot;:l+=f(&quot;M&quot;,t.getMonth(),s,o);break;case&quot;y&quot;:l+=u(&quot;y&quot;)?t.getFullYear():(t.getYear()%100&lt;10?&quot;0&quot;:&quot;&quot;)+t.getYear()%100;break;case&quot;@&quot;:l+=t.getTime();break;case&quot;!&quot;:l+=t.getTime()*1e4+this._ticksTo1970;break;case&quot;'&quot;:u(&quot;'&quot;)?l+=&quot;'&quot;:c=!0;break;default:l+=e.charAt(h)}return l},_possibleChars:function(e){var t=&quot;&quot;,n=!1,r=function(t){var n=i+1&lt;e.length&amp;&amp
 ;e.charAt(i+1)==t;return n&amp;&amp;i++,n};for(var i=0;i&lt;e.length;i++)if(n)e.charAt(i)==&quot;'&quot;&amp;&amp;!r(&quot;'&quot;)?n=!1:t+=e.charAt(i);else switch(e.charAt(i)){case&quot;d&quot;:case&quot;m&quot;:case&quot;y&quot;:case&quot;@&quot;:t+=&quot;0123456789&quot;;break;case&quot;D&quot;:case&quot;M&quot;:return null;case&quot;'&quot;:r(&quot;'&quot;)?t+=&quot;'&quot;:n=!0;break;default:t+=e.charAt(i)}return t},_get:function(e,t){return e.settings[t]!==undefined?e.settings[t]:this._defaults[t]},_setDateFromField:function(e,t){if(e.input.val()==e.lastVal)return;var n=this._get(e,&quot;dateFormat&quot;),r=e.lastVal=e.input?e.input.val():null,i,s;i=s=this._getDefaultDate(e);var o=this._getFormatConfig(e);try{i=this.parseDate(n,r,o)||s}catch(u){this.log(u),r=t?&quot;&quot;:r}e.selectedDay=i.getDate(),e.drawMonth=e.selectedMonth=i.getMonth(),e.drawYear=e.selectedYear=i.getFullYear(),e.currentDay=r?i.getDate():0,e.currentMonth=r?i.getMonth():0,e.currentYear=r?i.getFullYe
 ar():0,this._adjustInstDate(e)},_getDefaultDate:function(e){return this._restrictMinMax(e,this._determineDate(e,this._get(e,&quot;defaultDate&quot;),new Date))},_determineDate:function(e,t,n){var r=function(e){var t=new Date;return t.setDate(t.getDate()+e),t},i=function(t){try{return $.datepicker.parseDate($.datepicker._get(e,&quot;dateFormat&quot;),t,$.datepicker._getFormatConfig(e))}catch(n){}var r=(t.toLowerCase().match(/^c/)?$.datepicker._getDate(e):null)||new Date,i=r.getFullYear(),s=r.getMonth(),o=r.getDate(),u=/([+-]?[0-9]+)\s*(d|D|w|W|m|M|y|Y)?/g,a=u.exec(t);while(a){switch(a[2]||&quot;d&quot;){case&quot;d&quot;:case&quot;D&quot;:o+=parseInt(a[1],10);break;case&quot;w&quot;:case&quot;W&quot;:o+=parseInt(a[1],10)*7;break;case&quot;m&quot;:case&quot;M&quot;:s+=parseInt(a[1],10),o=Math.min(o,$.datepicker._getDaysInMonth(i,s));break;case&quot;y&quot;:case&quot;Y&quot;:i+=parseInt(a[1],10),o=Math.min(o,$.datepicker._getDaysInMonth(i,s))}a=u.exec(t)}return new Date(i,s,o)}
 ,s=t==null||t===&quot;&quot;?n:typeof t==&quot;string&quot;?i(t):typeof t==&quot;number&quot;?isNaN(t)?n:r(t):new Date(t.getTime());return s=s&amp;&amp;s.toString()==&quot;Invalid Date&quot;?n:s,s&amp;&amp;(s.setHours(0),s.setMinutes(0),s.setSeconds(0),s.setMilliseconds(0)),this._daylightSavingAdjust(s)},_daylightSavingAdjust:function(e){return e?(e.setHours(e.getHours()&gt;12?e.getHours()+2:0),e):null},_setDate:function(e,t,n){var r=!t,i=e.selectedMonth,s=e.selectedYear,o=this._restrictMinMax(e,this._determineDate(e,t,new Date));e.selectedDay=e.currentDay=o.getDate(),e.drawMonth=e.selectedMonth=e.currentMonth=o.getMonth(),e.drawYear=e.selectedYear=e.currentYear=o.getFullYear(),(i!=e.selectedMonth||s!=e.selectedYear)&amp;&amp;!n&amp;&amp;this._notifyChange(e),this._adjustInstDate(e),e.input&amp;&amp;e.input.val(r?&quot;&quot;:this._formatDate(e))},_getDate:function(e){var t=!e.currentYear||e.input&amp;&amp;e.input.val()==&quot;&quot;?null:this._daylightSavingAdjust(new Date(
 e.currentYear,e.currentMonth,e.currentDay));return t},_attachHandlers:function(e){var t=this._get(e,&quot;stepMonths&quot;),n=&quot;#&quot;+e.id.replace(/\\\\/g,&quot;\\&quot;);e.dpDiv.find(&quot;[data-handler]&quot;).map(function(){var e={prev:function(){window[&quot;DP_jQuery_&quot;+dpuuid].datepicker._adjustDate(n,-t,&quot;M&quot;)},next:function(){window[&quot;DP_jQuery_&quot;+dpuuid].datepicker._adjustDate(n,+t,&quot;M&quot;)},hide:function(){window[&quot;DP_jQuery_&quot;+dpuuid].datepicker._hideDatepicker()},today:function(){window[&quot;DP_jQuery_&quot;+dpuuid].datepicker._gotoToday(n)},selectDay:function(){return window[&quot;DP_jQuery_&quot;+dpuuid].datepicker._selectDay(n,+this.getAttribute(&quot;data-month&quot;),+this.getAttribute(&quot;data-year&quot;),this),!1},selectMonth:function(){return window[&quot;DP_jQuery_&quot;+dpuuid].datepicker._selectMonthYear(n,this,&quot;M&quot;),!1},selectYear:function(){return window[&quot;DP_jQuery_&quot;+dpuuid].datepicker._se
 lectMonthYear(n,this,&quot;Y&quot;),!1}};$(this).bind(this.getAttribute(&quot;data-event&quot;),e[this.getAttribute(&quot;data-handler&quot;)])})},_generateHTML:function(e){var t=new Date;t=this._daylightSavingAdjust(new Date(t.getFullYear(),t.getMonth(),t.getDate()));var n=this._get(e,&quot;isRTL&quot;),r=this._get(e,&quot;showButtonPanel&quot;),i=this._get(e,&quot;hideIfNoPrevNext&quot;),s=this._get(e,&quot;navigationAsDateFormat&quot;),o=this._getNumberOfMonths(e),u=this._get(e,&quot;showCurrentAtPos&quot;),a=this._get(e,&quot;stepMonths&quot;),f=o[0]!=1||o[1]!=1,l=this._daylightSavingAdjust(e.currentDay?new Date(e.currentYear,e.currentMonth,e.currentDay):new Date(9999,9,9)),c=this._getMinMaxDate(e,&quot;min&quot;),h=this._getMinMaxDate(e,&quot;max&quot;),p=e.drawMonth-u,d=e.drawYear;p&lt;0&amp;&amp;(p+=12,d--);if(h){var v=this._daylightSavingAdjust(new Date(h.getFullYear(),h.getMonth()-o[0]*o[1]+1,h.getDate()));v=c&amp;&amp;v&lt;c?c:v;while(this._daylightSavingAdjust(new
  Date(d,p,1))&gt;v)p--,p&lt;0&amp;&amp;(p=11,d--)}e.drawMonth=p,e.drawYear=d;var m=this._get(e,&quot;prevText&quot;);m=s?this.formatDate(m,this._daylightSavingAdjust(new Date(d,p-a,1)),this._getFormatConfig(e)):m;var g=this._canAdjustMonth(e,-1,d,p)?'&lt;a class=&quot;ui-datepicker-prev ui-corner-all&quot; data-handler=&quot;prev&quot; data-event=&quot;click&quot; title=&quot;'+m+'&quot;&gt;&lt;span class=&quot;ui-icon ui-icon-circle-triangle-'+(n?&quot;e&quot;:&quot;w&quot;)+'&quot;&gt;'+m+&quot;&lt;/span&gt;&lt;/a&gt;&quot;:i?&quot;&quot;:'&lt;a class=&quot;ui-datepicker-prev ui-corner-all ui-state-disabled&quot; title=&quot;'+m+'&quot;&gt;&lt;span class=&quot;ui-icon ui-icon-circle-triangle-'+(n?&quot;e&quot;:&quot;w&quot;)+'&quot;&gt;'+m+&quot;&lt;/span&gt;&lt;/a&gt;&quot;,y=this._get(e,&quot;nextText&quot;);y=s?this.formatDate(y,this._daylightSavingAdjust(new Date(d,p+a,1)),this._getFormatConfig(e)):y;var b=this._canAdjustMonth(e,1,d,p)?'&lt;a class=&quot;ui-datepicker-
 next ui-corner-all&quot; data-handler=&quot;next&quot; data-event=&quot;click&quot; title=&quot;'+y+'&quot;&gt;&lt;span class=&quot;ui-icon ui-icon-circle-triangle-'+(n?&quot;w&quot;:&quot;e&quot;)+'&quot;&gt;'+y+&quot;&lt;/span&gt;&lt;/a&gt;&quot;:i?&quot;&quot;:'&lt;a class=&quot;ui-datepicker-next ui-corner-all ui-state-disabled&quot; title=&quot;'+y+'&quot;&gt;&lt;span class=&quot;ui-icon ui-icon-circle-triangle-'+(n?&quot;w&quot;:&quot;e&quot;)+'&quot;&gt;'+y+&quot;&lt;/span&gt;&lt;/a&gt;&quot;,w=this._get(e,&quot;currentText&quot;),E=this._get(e,&quot;gotoCurrent&quot;)&amp;&amp;e.currentDay?l:t;w=s?this.formatDate(w,E,this._getFormatConfig(e)):w;var S=e.inline?&quot;&quot;:'&lt;button type=&quot;button&quot; class=&quot;ui-datepicker-close ui-state-default ui-priority-primary ui-corner-all&quot; data-handler=&quot;hide&quot; data-event=&quot;click&quot;&gt;'+this._get(e,&quot;closeText&quot;)+&quot;&lt;/button&gt;&quot;,x=r?'&lt;div class=&quot;ui-datepicker-buttonpan
 e ui-widget-content&quot;&gt;'+(n?S:&quot;&quot;)+(this._isInRange(e,E)?'&lt;button type=&quot;button&quot; class=&quot;ui-datepicker-current ui-state-default ui-priority-secondary ui-corner-all&quot; data-handler=&quot;today&quot; data-event=&quot;click&quot;&gt;'+w+&quot;&lt;/button&gt;&quot;:&quot;&quot;)+(n?&quot;&quot;:S)+&quot;&lt;/div&gt;&quot;:&quot;&quot;,T=parseInt(this._get(e,&quot;firstDay&quot;),10);T=isNaN(T)?0:T;var N=this._get(e,&quot;showWeek&quot;),C=this._get(e,&quot;dayNames&quot;),k=this._get(e,&quot;dayNamesShort&quot;),L=this._get(e,&quot;dayNamesMin&quot;),A=this._get(e,&quot;monthNames&quot;),O=this._get(e,&quot;monthNamesShort&quot;),M=this._get(e,&quot;beforeShowDay&quot;),_=this._get(e,&quot;showOtherMonths&quot;),D=this._get(e,&quot;selectOtherMonths&quot;),P=this._get(e,&quot;calculateWeek&quot;)||this.iso8601Week,H=this._getDefaultDate(e),B=&quot;&quot;;for(var j=0;j&lt;o[0];j++){var F=&quot;&quot;;this.maxRows=4;for(var I=0;I&lt;o[1];I++){var 
 q=this._daylightSavingAdjust(new Date(d,p,e.selectedDay)),R=&quot; ui-corner-all&quot;,U=&quot;&quot;;if(f){U+='&lt;div class=&quot;ui-datepicker-group';if(o[1]&gt;1)switch(I){case 0:U+=&quot; ui-datepicker-group-first&quot;,R=&quot; ui-corner-&quot;+(n?&quot;right&quot;:&quot;left&quot;);break;case o[1]-1:U+=&quot; ui-datepicker-group-last&quot;,R=&quot; ui-corner-&quot;+(n?&quot;left&quot;:&quot;right&quot;);break;default:U+=&quot; ui-datepicker-group-middle&quot;,R=&quot;&quot;}U+='&quot;&gt;'}U+='&lt;div class=&quot;ui-datepicker-header ui-widget-header ui-helper-clearfix'+R+'&quot;&gt;'+(/all|left/.test(R)&amp;&amp;j==0?n?b:g:&quot;&quot;)+(/all|right/.test(R)&amp;&amp;j==0?n?g:b:&quot;&quot;)+this._generateMonthYearHeader(e,p,d,c,h,j&gt;0||I&gt;0,A,O)+'&lt;/div&gt;&lt;table class=&quot;ui-datepicker-calendar&quot;&gt;&lt;thead&gt;'+&quot;&lt;tr&gt;&quot;;var z=N?'&lt;th class=&quot;ui-datepicker-week-col&quot;&gt;'+this._get(e,&quot;weekHeader&quot;)+&quot;&lt;/th&gt;&
 quot;:&quot;&quot;;for(var W=0;W&lt;7;W++){var X=(W+T)%7;z+=&quot;&lt;th&quot;+((W+T+6)%7&gt;=5?' class=&quot;ui-datepicker-week-end&quot;':&quot;&quot;)+&quot;&gt;&quot;+'&lt;span title=&quot;'+C[X]+'&quot;&gt;'+L[X]+&quot;&lt;/span&gt;&lt;/th&gt;&quot;}U+=z+&quot;&lt;/tr&gt;&lt;/thead&gt;&lt;tbody&gt;&quot;;var V=this._getDaysInMonth(d,p);d==e.selectedYear&amp;&amp;p==e.selectedMonth&amp;&amp;(e.selectedDay=Math.min(e.selectedDay,V));var J=(this._getFirstDayOfMonth(d,p)-T+7)%7,K=Math.ceil((J+V)/7),Q=f?this.maxRows&gt;K?this.maxRows:K:K;this.maxRows=Q;var G=this._daylightSavingAdjust(new Date(d,p,1-J));for(var Y=0;Y&lt;Q;Y++){U+=&quot;&lt;tr&gt;&quot;;var Z=N?'&lt;td class=&quot;ui-datepicker-week-col&quot;&gt;'+this._get(e,&quot;calculateWeek&quot;)(G)+&quot;&lt;/td&gt;&quot;:&quot;&quot;;for(var W=0;W&lt;7;W++){var et=M?M.apply(e.input?e.input[0]:null,[G]):[!0,&quot;&quot;],tt=G.getMonth()!=p,nt=tt&amp;&amp;!D||!et[0]||c&amp;&amp;G&lt;c||h&amp;&amp;G&gt;h;Z+='&lt;td class
 =&quot;'+((W+T+6)%7&gt;=5?&quot; ui-datepicker-week-end&quot;:&quot;&quot;)+(tt?&quot; ui-datepicker-other-month&quot;:&quot;&quot;)+(G.getTime()==q.getTime()&amp;&amp;p==e.selectedMonth&amp;&amp;e._keyEvent||H.getTime()==G.getTime()&amp;&amp;H.getTime()==q.getTime()?&quot; &quot;+this._dayOverClass:&quot;&quot;)+(nt?&quot; &quot;+this._unselectableClass+&quot; ui-state-disabled&quot;:&quot;&quot;)+(tt&amp;&amp;!_?&quot;&quot;:&quot; &quot;+et[1]+(G.getTime()==l.getTime()?&quot; &quot;+this._currentClass:&quot;&quot;)+(G.getTime()==t.getTime()?&quot; ui-datepicker-today&quot;:&quot;&quot;))+'&quot;'+((!tt||_)&amp;&amp;et[2]?' title=&quot;'+et[2]+'&quot;':&quot;&quot;)+(nt?&quot;&quot;:' data-handler=&quot;selectDay&quot; data-event=&quot;click&quot; data-month=&quot;'+G.getMonth()+'&quot; data-year=&quot;'+G.getFullYear()+'&quot;')+&quot;&gt;&quot;+(tt&amp;&amp;!_?&quot;&amp;#xa0;&quot;:nt?'&lt;span class=&quot;ui-state-default&quot;&gt;'+G.getDate()+&quot;&lt;/span&gt;&quot
 ;:'&lt;a class=&quot;ui-state-default'+(G.getTime()==t.getTime()?&quot; ui-state-highlight&quot;:&quot;&quot;)+(G.getTime()==l.getTime()?&quot; ui-state-active&quot;:&quot;&quot;)+(tt?&quot; ui-priority-secondary&quot;:&quot;&quot;)+'&quot; href=&quot;#&quot;&gt;'+G.getDate()+&quot;&lt;/a&gt;&quot;)+&quot;&lt;/td&gt;&quot;,G.setDate(G.getDate()+1),G=this._daylightSavingAdjust(G)}U+=Z+&quot;&lt;/tr&gt;&quot;}p++,p&gt;11&amp;&amp;(p=0,d++),U+=&quot;&lt;/tbody&gt;&lt;/table&gt;&quot;+(f?&quot;&lt;/div&gt;&quot;+(o[0]&gt;0&amp;&amp;I==o[1]-1?'&lt;div class=&quot;ui-datepicker-row-break&quot;&gt;&lt;/div&gt;':&quot;&quot;):&quot;&quot;),F+=U}B+=F}return B+=x+($.browser.msie&amp;&amp;parseInt($.browser.version,10)&lt;7&amp;&amp;!e.inline?'&lt;iframe src=&quot;javascript:false;&quot; class=&quot;ui-datepicker-cover&quot; frameborder=&quot;0&quot;&gt;&lt;/iframe&gt;':&quot;&quot;),e._keyEvent=!1,B},_generateMonthYearHeader:function(e,t,n,r,i,s,o,u){var a=this._get(e,&quot;changeMont
 h&quot;),f=this._get(e,&quot;changeYear&quot;),l=this._get(e,&quot;showMonthAfterYear&quot;),c='&lt;div class=&quot;ui-datepicker-title&quot;&gt;',h=&quot;&quot;;if(s||!a)h+='&lt;span class=&quot;ui-datepicker-month&quot;&gt;'+o[t]+&quot;&lt;/span&gt;&quot;;else{var p=r&amp;&amp;r.getFullYear()==n,d=i&amp;&amp;i.getFullYear()==n;h+='&lt;select class=&quot;ui-datepicker-month&quot; data-handler=&quot;selectMonth&quot; data-event=&quot;change&quot;&gt;';for(var v=0;v&lt;12;v++)(!p||v&gt;=r.getMonth())&amp;&amp;(!d||v&lt;=i.getMonth())&amp;&amp;(h+='&lt;option value=&quot;'+v+'&quot;'+(v==t?' selected=&quot;selected&quot;':&quot;&quot;)+&quot;&gt;&quot;+u[v]+&quot;&lt;/option&gt;&quot;);h+=&quot;&lt;/select&gt;&quot;}l||(c+=h+(s||!a||!f?&quot;&amp;#xa0;&quot;:&quot;&quot;));if(!e.yearshtml){e.yearshtml=&quot;&quot;;if(s||!f)c+='&lt;span class=&quot;ui-datepicker-year&quot;&gt;'+n+&quot;&lt;/span&gt;&quot;;else{var m=this._get(e,&quot;yearRange&quot;).split(&quot;:&quot;),g=(new
  Date).getFullYear(),y=function(e){var t=e.match(/c[+-].*/)?n+parseInt(e.substring(1),10):e.match(/[+-].*/)?g+parseInt(e,10):parseInt(e,10);return isNaN(t)?g:t},b=y(m[0]),w=Math.max(b,y(m[1]||&quot;&quot;));b=r?Math.max(b,r.getFullYear()):b,w=i?Math.min(w,i.getFullYear()):w,e.yearshtml+='&lt;select class=&quot;ui-datepicker-year&quot; data-handler=&quot;selectYear&quot; data-event=&quot;change&quot;&gt;';for(;b&lt;=w;b++)e.yearshtml+='&lt;option value=&quot;'+b+'&quot;'+(b==n?' selected=&quot;selected&quot;':&quot;&quot;)+&quot;&gt;&quot;+b+&quot;&lt;/option&gt;&quot;;e.yearshtml+=&quot;&lt;/select&gt;&quot;,c+=e.yearshtml,e.yearshtml=null}}return c+=this._get(e,&quot;yearSuffix&quot;),l&amp;&amp;(c+=(s||!a||!f?&quot;&amp;#xa0;&quot;:&quot;&quot;)+h),c+=&quot;&lt;/div&gt;&quot;,c},_adjustInstDate:function(e,t,n){var r=e.drawYear+(n==&quot;Y&quot;?t:0),i=e.drawMonth+(n==&quot;M&quot;?t:0),s=Math.min(e.selectedDay,this._getDaysInMonth(r,i))+(n==&quot;D&quot;?t:0),o=this._restr
 ictMinMax(e,this._daylightSavingAdjust(new Date(r,i,s)));e.selectedDay=o.getDate(),e.drawMonth=e.selectedMonth=o.getMonth(),e.drawYear=e.selectedYear=o.getFullYear(),(n==&quot;M&quot;||n==&quot;Y&quot;)&amp;&amp;this._notifyChange(e)},_restrictMinMax:function(e,t){var n=this._getMinMaxDate(e,&quot;min&quot;),r=this._getMinMaxDate(e,&quot;max&quot;),i=n&amp;&amp;t&lt;n?n:t;return i=r&amp;&amp;i&gt;r?r:i,i},_notifyChange:function(e){var t=this._get(e,&quot;onChangeMonthYear&quot;);t&amp;&amp;t.apply(e.input?e.input[0]:null,[e.selectedYear,e.selectedMonth+1,e])},_getNumberOfMonths:function(e){var t=this._get(e,&quot;numberOfMonths&quot;);return t==null?[1,1]:typeof t==&quot;number&quot;?[1,t]:t},_getMinMaxDate:function(e,t){return this._determineDate(e,this._get(e,t+&quot;Date&quot;),null)},_getDaysInMonth:function(e,t){return 32-this._daylightSavingAdjust(new Date(e,t,32)).getDate()},_getFirstDayOfMonth:function(e,t){return(new Date(e,t,1)).getDay()},_canAdjustMonth:function(e
 ,t,n,r){var i=this._getNumberOfMonths(e),s=this._daylightSavingAdjust(new Date(n,r+(t&lt;0?t:i[0]*i[1]),1));return t&lt;0&amp;&amp;s.setDate(this._getDaysInMonth(s.getFullYear(),s.getMonth())),this._isInRange(e,s)},_isInRange:function(e,t){var n=this._getMinMaxDate(e,&quot;min&quot;),r=this._getMinMaxDate(e,&quot;max&quot;);return(!n||t.getTime()&gt;=n.getTime())&amp;&amp;(!r||t.getTime()&lt;=r.getTime())},_getFormatConfig:function(e){var t=this._get(e,&quot;shortYearCutoff&quot;);return t=typeof t!=&quot;string&quot;?t:(new Date).getFullYear()%100+parseInt(t,10),{shortYearCutoff:t,dayNamesShort:this._get(e,&quot;dayNamesShort&quot;),dayNames:this._get(e,&quot;dayNames&quot;),monthNamesShort:this._get(e,&quot;monthNamesShort&quot;),monthNames:this._get(e,&quot;monthNames&quot;)}},_formatDate:function(e,t,n,r){t||(e.currentDay=e.selectedDay,e.currentMonth=e.selectedMonth,e.currentYear=e.selectedYear);var i=t?typeof t==&quot;object&quot;?t:this._daylightSavingAdjust(new Date(r
 ,n,t)):this._daylightSavingAdjust(new Date(e.currentYear,e.currentMonth,e.currentDay));return this.formatDate(this._get(e,&quot;dateFormat&quot;),i,this._getFormatConfig(e))}}),$.fn.datepicker=function(e){if(!this.length)return this;$.datepicker.initialized||($(document).mousedown($.datepicker._checkExternalClick).find(document.body).append($.datepicker.dpDiv),$.datepicker.initialized=!0);var t=Array.prototype.slice.call(arguments,1);return typeof e!=&quot;string&quot;||e!=&quot;isDisabled&quot;&amp;&amp;e!=&quot;getDate&quot;&amp;&amp;e!=&quot;widget&quot;?e==&quot;option&quot;&amp;&amp;arguments.length==2&amp;&amp;typeof arguments[1]==&quot;string&quot;?$.datepicker[&quot;_&quot;+e+&quot;Datepicker&quot;].apply($.datepicker,[this[0]].concat(t)):this.each(function(){typeof e==&quot;string&quot;?$.datepicker[&quot;_&quot;+e+&quot;Datepicker&quot;].apply($.datepicker,[this].concat(t)):$.datepicker._attachDatepicker(this,e)}):$.datepicker[&quot;_&quot;+e+&quot;Datepicker&quot;
 ].apply($.datepicker,[this[0]].concat(t))},$.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(e){var t=&quot;button, .ui-datepicker-prev, .ui-datepicker-next, .ui-datepicker-calendar td a&quot;;return e.delegate(t,&quot;mouseout&quot;,function(){$(this).removeClass(&quot;
 ui-state-hover&quot;),this.className.indexOf(&quot;ui-datepicker-prev&quot;)!=-1&amp;&amp;$(this).removeClass(&quot;ui-datepicker-prev-hover&quot;),this.className.indexOf(&quot;ui-datepicker-next&quot;)!=-1&amp;&amp;$(this).removeClass(&quot;ui-datepicker-next-hover&quot;)}).delegate(t,&quot;mouseover&quot;,function(){$.datepicker._isDisabledDatepicker(instActive.inline?e.parent()[0]:instActive.input[0])||($(this).parents(&quot;.ui-datepicker-calendar&quot;).find(&quot;a&quot;).removeClass(&quot;ui-state-hover&quot;),$(this).addClass(&quot;ui-state-hover&quot;),this.className.indexOf(&quot;ui-datepicker-prev&quot;)!=-1&amp;&amp;$(this).addClass(&quot;ui-datepicker-prev-hover&quot;),this.className.indexOf(&quot;ui-datepicker-next&quot;)!=-1&amp;&amp;$(this).addClass(&quot;ui-datepicker-next-hover&quot;))})}function extendRemove(e,t){$.extend(e,t);for(var n in t)if(t[n]==null||t[n]==undefined)e[n]=t[n];return e}$.extend($.ui,{datepicker:{version:&quot;1.9.0&quot;}});var PROP_N
 AME=&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(e){return extendRemove(this._defaults,e||{}),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):inlin
 e&amp;&amp;this._inlineDatepicker(target,inst)},_newInst:function(e,t){var n=e[0].id.replace(/([^A-Za-z0-9_-])/g,&quot;\\\\$1&quot;);return{id:n,input:e,selectedDay:0,selectedMonth:0,selectedYear:0,drawMonth:0,drawYear:0,inline:t,dpDiv:t?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(e,t){var n=$(e);t.append=$([]),t.trigger=$([]);if(n.hasClass(this.markerClassName))return;this._attachments(n,t),n.addClass(this.markerClassName).keydown(this._doKeyDown).keypress(this._doKeyPress).keyup(this._doKeyUp).bind(&quot;setData.datepicker&quot;,function(e,n,r){t.settings[n]=r}).bind(&quot;getData.datepicker&quot;,function(e,n){return this._get(t,n)}),this._autoSize(t),$.data(e,PROP_NAME,t),t.settings.disabled&amp;&amp;this._disableDatepicker(e)},_attachments:function(e,t){var n=this._get(t,&quot;appendText&quot;),r=this._get(t,&quot;isRTL&
 quot;);t.append&amp;&amp;t.append.remove(),n&amp;&amp;(t.append=$('&lt;span class=&quot;'+this._appendClass+'&quot;&gt;'+n+&quot;&lt;/span&gt;&quot;),e[r?&quot;before&quot;:&quot;after&quot;](t.append)),e.unbind(&quot;focus&quot;,this._showDatepicker),t.trigger&amp;&amp;t.trigger.remove();var i=this._get(t,&quot;showOn&quot;);(i==&quot;focus&quot;||i==&quot;both&quot;)&amp;&amp;e.focus(this._showDatepicker);if(i==&quot;button&quot;||i==&quot;both&quot;){var s=this._get(t,&quot;buttonText&quot;),o=this._get(t,&quot;buttonImage&quot;);t.trigger=$(this._get(t,&quot;buttonImageOnly&quot;)?$(&quot;&lt;img/&gt;&quot;).addClass(this._triggerClass).attr({src:o,alt:s,title:s}):$('&lt;button type=&quot;button&quot;&gt;&lt;/button&gt;').addClass(this._triggerClass).html(o==&quot;&quot;?s:$(&quot;&lt;img/&gt;&quot;).attr({src:o,alt:s,title:s}))),e[r?&quot;before&quot;:&quot;after&quot;](t.trigger),t.trigger.click(function(){return $.datepicker._datepickerShowing&amp;&amp;$.datepicker._l
 astInput==e[0]?$.datepicker._hideDatepicker():$.datepicker._datepickerShowing&amp;&amp;$.datepicker._lastInput!=e[0]?($.datepicker._hideDatepicker(),$.datepicker._showDatepicker(e[0])):$.datepicker._showDatepicker(e[0]),!1})}},_autoSize:function(e){if(this._get(e,&quot;autoSize&quot;)&amp;&amp;!e.inline){var t=new Date(2009,11,20),n=this._get(e,&quot;dateFormat&quot;);if(n.match(/[DM]/)){var r=function(e){var t=0,n=0;for(var r=0;r&lt;e.length;r++)e[r].length&gt;t&amp;&amp;(t=e[r].length,n=r);return n};t.setMonth(r(this._get(e,n.match(/MM/)?&quot;monthNames&quot;:&quot;monthNamesShort&quot;))),t.setDate(r(this._get(e,n.match(/DD/)?&quot;dayNames&quot;:&quot;dayNamesShort&quot;))+20-t.getDay())}e.input.attr(&quot;size&quot;,this._formatDate(e,t).length)}},_inlineDatepicker:function(e,t){var n=$(e);if(n.hasClass(this.markerClassName))return;n.addClass(this.markerClassName).append(t.dpDiv).bind(&quot;setData.datepicker&quot;,function(e,n,r){t.settings[n]=r}).bind(&quot;getData.d
 atepicker&quot;,function(e,n){return this._get(t,n)}),$.data(e,PROP_NAME,t),this._setDate(t,this._getDefaultDate(t),!0),this._updateDatepicker(t),this._updateAlternate(t),t.settings.disabled&amp;&amp;this._disableDatepicker(e),t.dpDiv.css(&quot;display&quot;,&quot;block&quot;)},_dialogDatepicker:function(e,t,n,r,i){var s=this._dialogInst;if(!s){this.uuid+=1;var o=&quot;dp&quot;+this.uuid;this._dialogInput=$('&lt;input type=&quot;text&quot; id=&quot;'+o+'&quot; style=&quot;position: absolute; top: -100px; width: 0px;&quot;/&gt;'),this._dialogInput.keydown(this._doKeyDown),$(&quot;body&quot;).append(this._dialogInput),s=this._dialogInst=this._newInst(this._dialogInput,!1),s.settings={},$.data(this._dialogInput[0],PROP_NAME,s)}extendRemove(s.settings,r||{}),t=t&amp;&amp;t.constructor==Date?this._formatDate(s,t):t,this._dialogInput.val(t),this._pos=i?i.length?i:[i.pageX,i.pageY]:null;if(!this._pos){var u=document.documentElement.clientWidth,a=document.documentElement.clientHeigh
 t,f=document.documentElement.scrollLeft||document.body.scrollLeft,l=document.documentElement.scrollTop||document.body.scrollTop;this._pos=[u/2-100+f,a/2-150+l]}return this._dialogInput.css(&quot;left&quot;,this._pos[0]+20+&quot;px&quot;).css(&quot;top&quot;,this._pos[1]+&quot;px&quot;),s.settings.onSelect=n,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,s),this},_destroyDatepicker:function(e){var t=$(e),n=$.data(e,PROP_NAME);if(!t.hasClass(this.markerClassName))return;var r=e.nodeName.toLowerCase();$.removeData(e,PROP_NAME),r==&quot;input&quot;?(n.append.remove(),n.trigger.remove(),t.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)):(r==&quot;div&quot;||r==&quot;span&quot;)&amp;&amp;t.r
 emoveClass(this.markerClassName).empty()},_enableDatepicker:function(e){var t=$(e),n=$.data(e,PROP_NAME);if(!t.hasClass(this.markerClassName))return;var r=e.nodeName.toLowerCase();if(r==&quot;input&quot;)e.disabled=!1,n.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(r==&quot;div&quot;||r==&quot;span&quot;){var i=t.children(&quot;.&quot;+this._inlineClass);i.children().removeClass(&quot;ui-state-disabled&quot;),i.find(&quot;select.ui-datepicker-month, select.ui-datepicker-year&quot;).prop(&quot;disabled&quot;,!1)}this._disabledInputs=$.map(this._disabledInputs,function(t){return t==e?null:t})},_disableDatepicker:function(e){var t=$(e),n=$.data(e,PROP_NAME);if(!t.hasClass(this.markerClassName))return;var r=e.nodeName.toLowerCase();if(r==&quot;input&quot;)e.disabled=!0,n.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(r==&quot;div&quot;||r==&quot;span&quot;){var i=t.children(&quot;.&quot;+this._inlineClass);i.children().addClass(&quot;ui-state-disabled&quot;),i.find(&quot;select.ui-datepicker-month, select.ui-datepicker-year&quot;).prop(&quot;disabled&quot;,!0)}this._disabledInputs=$.map(this._disabledInputs,function(t){return t==e?null:t}),this._disabledInputs[this._disabledInputs.length]=e},_isDisabledDatepicker:function(e){if(!e)return!1;for(var t=0;t&lt;this._disabledInputs.length;t++)if(this._disabledInputs[t]==e)return!0;return!1},_getInst:function(e){try{return $.data(e,PROP_NAME)}catch(t){throw&quot;Missing instance data for this datepicker&quot;}},_optionDatepicker:function(e,t,n){var r=this._getInst(e);if(arguments.length==2&amp;&amp;typeof t==&quot;string&quot;)return t==&quot;defaults&quot;?$.extend({},$.datepicker._defaults):r?t==&quot;all&quot;?$.extend({},r.settings):this._get(r,t):null;var i=t||{};typeof t
 ==&quot;string&quot;&amp;&amp;(i={},i[t]=n);if(r){this._curInst==r&amp;&amp;this._hideDatepicker();var s=this._getDateDatepicker(e,!0),o=this._getMinMaxDate(r,&quot;min&quot;),u=this._getMinMaxDate(r,&quot;max&quot;);extendRemove(r.settings,i),o!==null&amp;&amp;i.dateFormat!==undefined&amp;&amp;i.minDate===undefined&amp;&amp;(r.settings.minDate=this._formatDate(r,o)),u!==null&amp;&amp;i.dateFormat!==undefined&amp;&amp;i.maxDate===undefined&amp;&amp;(r.settings.maxDate=this._formatDate(r,u)),this._attachments($(e),r),this._autoSize(r),this._setDate(r,s),this._updateAlternate(r),this._updateDatepicker(r)}},_changeDatepicker:function(e,t,n){this._optionDatepicker(e,t,n)},_refreshDatepicker:function(e){var t=this._getInst(e);t&amp;&amp;this._updateDatepicker(t)},_setDateDatepicker:function(e,t){var n=this._getInst(e);n&amp;&amp;(this._setDate(n,t),this._updateDatepicker(n),this._updateAlternate(n))},_getDateDatepicker:function(e,t){var n=this._getInst(e);return n&amp;&amp;!n.inl
 ine&amp;&amp;this._setDateFromField(n,t),n?this._getDate(n):null},_doKeyDown:function(e){var t=$.datepicker._getInst(e.target),n=!0,r=t.dpDiv.is(&quot;.ui-datepicker-rtl&quot;);t._keyEvent=!0;if($.datepicker._datepickerShowing)switch(e.keyCode){case 9:$.datepicker._hideDatepicker(),n=!1;break;case 13:var i=$(&quot;td.&quot;+$.datepicker._dayOverClass+&quot;:not(.&quot;+$.datepicker._currentClass+&quot;)&quot;,t.dpDiv);i[0]&amp;&amp;$.datepicker._selectDay(e.target,t.selectedMonth,t.selectedYear,i[0]);var s=$.datepicker._get(t,&quot;onSelect&quot;);if(s){var o=$.datepicker._formatDate(t);s.apply(t.input?t.input[0]:null,[o,t])}else $.datepicker._hideDatepicker();return!1;case 27:$.datepicker._hideDatepicker();break;case 33:$.datepicker._adjustDate(e.target,e.ctrlKey?-$.datepicker._get(t,&quot;stepBigMonths&quot;):-$.datepicker._get(t,&quot;stepMonths&quot;),&quot;M&quot;);break;case 34:$.datepicker._adjustDate(e.target,e.ctrlKey?+$.datepicker._get(t,&quot;stepBigMonths&quot;):
 +$.datepicker._get(t,&quot;stepMonths&quot;),&quot;M&quot;);break;case 35:(e.ctrlKey||e.metaKey)&amp;&amp;$.datepicker._clearDate(e.target),n=e.ctrlKey||e.metaKey;break;case 36:(e.ctrlKey||e.metaKey)&amp;&amp;$.datepicker._gotoToday(e.target),n=e.ctrlKey||e.metaKey;break;case 37:(e.ctrlKey||e.metaKey)&amp;&amp;$.datepicker._adjustDate(e.target,r?1:-1,&quot;D&quot;),n=e.ctrlKey||e.metaKey,e.originalEvent.altKey&amp;&amp;$.datepicker._adjustDate(e.target,e.ctrlKey?-$.datepicker._get(t,&quot;stepBigMonths&quot;):-$.datepicker._get(t,&quot;stepMonths&quot;),&quot;M&quot;);break;case 38:(e.ctrlKey||e.metaKey)&amp;&amp;$.datepicker._adjustDate(e.target,-7,&quot;D&quot;),n=e.ctrlKey||e.metaKey;break;case 39:(e.ctrlKey||e.metaKey)&amp;&amp;$.datepicker._adjustDate(e.target,r?-1:1,&quot;D&quot;),n=e.ctrlKey||e.metaKey,e.originalEvent.altKey&amp;&amp;$.datepicker._adjustDate(e.target,e.ctrlKey?+$.datepicker._get(t,&quot;stepBigMonths&quot;):+$.datepicker._get(t,&quot;stepMonths&quot;)
 ,&quot;M&quot;);break;case 40:(e.ctrlKey||e.metaKey)&amp;&amp;$.datepicker._adjustDate(e.target,7,&quot;D&quot;),n=e.ctrlKey||e.metaKey;break;default:n=!1}else e.keyCode==36&amp;&amp;e.ctrlKey?$.datepicker._showDatepicker(this):n=!1;n&amp;&amp;(e.preventDefault(),e.stopPropagation())},_doKeyPress:function(e){var t=$.datepicker._getInst(e.target);if($.datepicker._get(t,&quot;constrainInput&quot;)){var n=$.datepicker._possibleChars($.datepicker._get(t,&quot;dateFormat&quot;)),r=String.fromCharCode(e.charCode==undefined?e.keyCode:e.charCode);return e.ctrlKey||e.metaKey||r&lt;&quot; &quot;||!n||n.indexOf(r)&gt;-1}},_doKeyUp:function(e){var t=$.datepicker._getInst(e.target);if(t.input.val()!=t.lastVal)try{var n=$.datepicker.parseDate($.datepicker._get(t,&quot;dateFormat&quot;),t.input?t.input.val():null,$.datepicker._getFormatConfig(t));n&amp;&amp;($.datepicker._setDateFromField(t),$.datepicker._updateAlternate(t),$.datepicker._updateDatepicker(t))}catch(r){$.datepicker.log(r)}re
 turn!0},_showDatepicker:function(e){e=e.target||e,e.nodeName.toLowerCase()!=&quot;input&quot;&amp;&amp;(e=$(&quot;input&quot;,e.parentNode)[0]);if($.datepicker._isDisabledDatepicker(e)||$.datepicker._lastInput==e)return;var t=$.datepicker._getInst(e);$.datepicker._curInst&amp;&amp;$.datepicker._curInst!=t&amp;&amp;($.datepicker._curInst.dpDiv.stop(!0,!0),t&amp;&amp;$.datepicker._datepickerShowing&amp;&amp;$.datepicker._hideDatepicker($.datepicker._curInst.input[0]));var n=$.datepicker._get(t,&quot;beforeShow&quot;),r=n?n.apply(e,[e,t]):{};if(r===!1)return;extendRemove(t.settings,r),t.lastVal=null,$.datepicker._lastInput=e,$.datepicker._setDateFromField(t),$.datepicker._inDialog&amp;&amp;(e.value=&quot;&quot;),$.datepicker._pos||($.datepicker._pos=$.datepicker._findPos(e),$.datepicker._pos[1]+=e.offsetHeight);var i=!1;$(e).parents().each(function(){return i|=$(this).css(&quot;position&quot;)==&quot;fixed&quot;,!i});var s={left:$.datepicker._pos[0],top:$.datepicker._pos[1]};$.
 datepicker._pos=null,t.dpDiv.empty(),t.dpDiv.css({position:&quot;absolute&quot;,display:&quot;block&quot;,top:&quot;-1000px&quot;}),$.datepicker._updateDatepicker(t),s=$.datepicker._checkOffset(t,s,i),t.dpDiv.css({position:$.datepicker._inDialog&amp;&amp;$.blockUI?&quot;static&quot;:i?&quot;fixed&quot;:&quot;absolute&quot;,display:&quot;none&quot;,left:s.left+&quot;px&quot;,top:s.top+&quot;px&quot;});if(!t.inline){var o=$.datepicker._get(t,&quot;showAnim&quot;),u=$.datepicker._get(t,&quot;duration&quot;),a=function(){var e=t.dpDiv.find(&quot;iframe.ui-datepicker-cover&quot;);if(!!e.length){var n=$.datepicker._getBorders(t.dpDiv);e.css({left:-n[0],top:-n[1],width:t.dpDiv.outerWidth(),height:t.dpDiv.outerHeight()})}};t.dpDiv.zIndex($(e).zIndex()+1),$.datepicker._datepickerShowing=!0,$.effects&amp;&amp;($.effects.effect[o]||$.effects[o])?t.dpDiv.show(o,$.datepicker._get(t,&quot;showOptions&quot;),u,a):t.dpDiv[o||&quot;show&quot;](o?u:null,a),(!o||!u)&amp;&amp;a(),t.input.is(&qu
 ot;:visible&quot;)&amp;&amp;!t.input.is(&quot;:disabled&quot;)&amp;&amp;t.input.focus(),$.datepicker._curInst=t}},_updateDatepicker:function(e){this.maxRows=4;var t=$.datepicker._getBorders(e.dpDiv);instActive=e,e.dpDiv.empty().append(this._generateHTML(e)),this._attachHandlers(e);var n=e.dpDiv.find(&quot;iframe.ui-datepicker-cover&quot;);!n.length||n.css({left:-t[0],top:-t[1],width:e.dpDiv.outerWidth(),height:e.dpDiv.outerHeight()}),e.dpDiv.find(&quot;.&quot;+this._dayOverClass+&quot; a&quot;).mouseover();var r=this._getNumberOfMonths(e),i=r[1],s=17;e.dpDiv.removeClass(&quot;ui-datepicker-multi-2 ui-datepicker-multi-3 ui-datepicker-multi-4&quot;).width(&quot;&quot;),i&gt;1&amp;&amp;e.dpDiv.addClass(&quot;ui-datepicker-multi-&quot;+i).css(&quot;width&quot;,s*i+&quot;em&quot;),e.dpDiv[(r[0]!=1||r[1]!=1?&quot;add&quot;:&quot;remove&quot;)+&quot;Class&quot;](&quot;ui-datepicker-multi&quot;),e.dpDiv[(this._get(e,&quot;isRTL&quot;)?&quot;add&quot;:&quot;remove&quot;)+&quot;Class&
 quot;](&quot;ui-datepicker-rtl&quot;),e==$.datepicker._curInst&amp;&amp;$.datepicker._datepickerShowing&amp;&amp;e.input&amp;&amp;e.input.is(&quot;:visible&quot;)&amp;&amp;!e.input.is(&quot;:disabled&quot;)&amp;&amp;e.input[0]!=document.activeElement&amp;&amp;e.input.focus();if(e.yearshtml){var o=e.yearshtml;setTimeout(function(){o===e.yearshtml&amp;&amp;e.yearshtml&amp;&amp;e.dpDiv.find(&quot;select.ui-datepicker-year:first&quot;).replaceWith(e.yearshtml),o=e.yearshtml=null},0)}},_getBorders:function(e){var t=function(e){return{thin:1,medium:2,thick:3}[e]||e};return[parseFloat(t(e.css(&quot;border-left-width&quot;))),parseFloat(t(e.css(&quot;border-top-width&quot;)))]},_checkOffset:function(e,t,n){var r=e.dpDiv.outerWidth(),i=e.dpDiv.outerHeight(),s=e.input?e.input.outerWidth():0,o=e.input?e.input.outerHeight():0,u=document.documentElement.clientWidth+(n?0:$(document).scrollLeft()),a=document.documentElement.clientHeight+(n?0:$(document).scrollTop());return t.left-=this._ge
 t(e,&quot;isRTL&quot;)?r-s:0,t.left-=n&amp;&amp;t.left==e.input.offset().left?$(document).scrollLeft():0,t.top-=n&amp;&amp;t.top==e.input.offset().top+o?$(document).scrollTop():0,t.left-=Math.min(t.left,t.left+r&gt;u&amp;&amp;u&gt;r?Math.abs(t.left+r-u):0),t.top-=Math.min(t.top,t.top+i&gt;a&amp;&amp;a&gt;i?Math.abs(i+o):0),t},_findPos:function(e){var t=this._getInst(e),n=this._get(t,&quot;isRTL&quot;);while(e&amp;&amp;(e.type==&quot;hidden&quot;||e.nodeType!=1||$.expr.filters.hidden(e)))e=e[n?&quot;previousSibling&quot;:&quot;nextSibling&quot;];var r=$(e).offset();return[r.left,r.top]},_hideDatepicker:function(e){var t=this._curInst;if(!t||e&amp;&amp;t!=$.data(e,PROP_NAME))return;if(this._datepickerShowing){var n=this._get(t,&quot;showAnim&quot;),r=this._get(t,&quot;duration&quot;),i=function(){$.datepicker._tidyDialog(t)};$.effects&amp;&amp;($.effects.effect[n]||$.effects[n])?t.dpDiv.hide(n,$.datepicker._get(t,&quot;showOptions&quot;),r,i):t.dpDiv[n==&quot;slideDown&quot;?&
 quot;slideUp&quot;:n==&quot;fadeIn&quot;?&quot;fadeOut&quot;:&quot;hide&quot;](n?r:null,i),n||i(),this._datepickerShowing=!1;var s=this._get(t,&quot;onClose&quot;);s&amp;&amp;s.apply(t.input?t.input[0]:null,[t.input?t.input.val():&quot;&quot;,t]),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(e){e.dpDiv.removeClass(this._dialogClass).unbind(&quot;.ui-datepicker-calendar&quot;)},_checkExternalClick:function(e){if(!$.datepicker._curInst)return;var t=$(e.target),n=$.datepicker._getInst(t[0]);(t[0].id!=$.datepicker._mainDivId&amp;&amp;t.parents(&quot;#&quot;+$.datepicker._mainDivId).length==0&amp;&amp;!t.hasClass($.datepicker.markerClassName)&amp;&amp;!t.closest(&quot;.&quot;+$.datepicker._triggerClass).length&amp;&amp;$.datepicker._datepickerShowing&amp;&amp;(!$.datepic
 ker._inDialog||!$.blockUI)||t.hasClass($.datepicker.markerClassName)&amp;&amp;$.datepicker._curInst!=n)&amp;&amp;$.datepicker._hideDatepicker()},_adjustDate:function(e,t,n){var r=$(e),i=this._getInst(r[0]);if(this._isDisabledDatepicker(r[0]))return;this._adjustInstDate(i,t+(n==&quot;M&quot;?this._get(i,&quot;showCurrentAtPos&quot;):0),n),this._updateDatepicker(i)},_gotoToday:function(e){var t=$(e),n=this._getInst(t[0]);if(this._get(n,&quot;gotoCurrent&quot;)&amp;&amp;n.currentDay)n.selectedDay=n.currentDay,n.drawMonth=n.selectedMonth=n.currentMonth,n.drawYear=n.selectedYear=n.currentYear;else{var r=new Date;n.selectedDay=r.getDate(),n.drawMonth=n.selectedMonth=r.getMonth(),n.drawYear=n.selectedYear=r.getFullYear()}this._notifyChange(n),this._adjustDate(t)},_selectMonthYear:function(e,t,n){var r=$(e),i=this._getInst(r[0]);i[&quot;selected&quot;+(n==&quot;M&quot;?&quot;Month&quot;:&quot;Year&quot;)]=i[&quot;draw&quot;+(n==&quot;M&quot;?&quot;Month&quot;:&quot;Year&quot;)]=pars
 eInt(t.options[t.selectedIndex].value,10),this._notifyChange(i),this._adjustDate(r)},_selectDay:function(e,t,n,r){var i=$(e);if($(r).hasClass(this._unselectableClass)||this._isDisabledDatepicker(i[0]))return;var s=this._getInst(i[0]);s.selectedDay=s.currentDay=$(&quot;a&quot;,r).html(),s.selectedMonth=s.currentMonth=t,s.selectedYear=s.currentYear=n,this._selectDate(e,this._formatDate(s,s.currentDay,s.currentMonth,s.currentYear))},_clearDate:function(e){var t=$(e),n=this._getInst(t[0]);this._selectDate(t,&quot;&quot;)},_selectDate:function(e,t){var n=$(e),r=this._getInst(n[0]);t=t!=null?t:this._formatDate(r),r.input&amp;&amp;r.input.val(t),this._updateAlternate(r);var i=this._get(r,&quot;onSelect&quot;);i?i.apply(r.input?r.input[0]:null,[t,r]):r.input&amp;&amp;r.input.trigger(&quot;change&quot;),r.inline?this._updateDatepicker(r):(this._hideDatepicker(),this._lastInput=r.input[0],typeof r.input[0]!=&quot;object&quot;&amp;&amp;r.input.focus(),this._lastInput=null)},_updateAlte
 rnate:function(e){var t=this._get(e,&quot;altField&quot;);if(t){var n=this._get(e,&quot;altFormat&quot;)||this._get(e,&quot;dateFormat&quot;),r=this._getDate(e),i=this.formatDate(n,r,this._getFormatConfig(e));$(t).each(function(){$(this).val(i)})}},noWeekends:function(e){var t=e.getDay();return[t&gt;0&amp;&amp;t&lt;6,&quot;&quot;]},iso8601Week:function(e){var t=new Date(e.getTime());t.setDate(t.getDate()+4-(t.getDay()||7));var n=t.getTime();return t.setMonth(0),t.setDate(1),Math.floor(Math.round((n-t)/864e5)/7)+1},parseDate:function(e,t,n){if(e==null||t==null)throw&quot;Invalid arguments&quot;;t=typeof t==&quot;object&quot;?t.toString():t+&quot;&quot;;if(t==&quot;&quot;)return null;var r=(n?n.shortYearCutoff:null)||this._defaults.shortYearCutoff;r=typeof r!=&quot;string&quot;?r:(new Date).getFullYear()%100+parseInt(r,10);var i=(n?n.dayNamesShort:null)||this._defaults.dayNamesShort,s=(n?n.dayNames:null)||this._defaults.dayNames,o=(n?n.monthNamesShort:null)||this._defaults.mon
 thNamesShort,u=(n?n.monthNames:null)||this._defaults.monthNames,a=-1,f=-1,l=-1,c=-1,h=!1,p=function(t){var n=y+1&lt;e.length&amp;&amp;e.charAt(y+1)==t;return n&amp;&amp;y++,n},d=function(e){var n=p(e),r=e==&quot;@&quot;?14:e==&quot;!&quot;?20:e==&quot;y&quot;&amp;&amp;n?4:e==&quot;o&quot;?3:2,i=new RegExp(&quot;^\\d{1,&quot;+r+&quot;}&quot;),s=t.substring(g).match(i);if(!s)throw&quot;Missing number at position &quot;+g;return g+=s[0].length,parseInt(s[0],10)},v=function(e,n,r){var i=$.map(p(e)?r:n,function(e,t){return[[t,e]]}).sort(function(e,t){return-(e[1].length-t[1].length)}),s=-1;$.each(i,function(e,n){var r=n[1];if(t.substr(g,r.length).toLowerCase()==r.toLowerCase())return s=n[0],g+=r.length,!1});if(s!=-1)return s+1;throw&quot;Unknown name at position &quot;+g},m=function(){if(t.charAt(g)!=e.charAt(y))throw&quot;Unexpected literal at position &quot;+g;g++},g=0;for(var y=0;y&lt;e.length;y++)if(h)e.charAt(y)==&quot;'&quot;&amp;&amp;!p(&quot;'&quot;)?h=!1:m();else switch(
 e.charAt(y)){case&quot;d&quot;:l=d(&quot;d&quot;);break;case&quot;D&quot;:v(&quot;D&quot;,i,s);break;case&quot;o&quot;:c=d(&quot;o&quot;);break;case&quot;m&quot;:f=d(&quot;m&quot;);break;case&quot;M&quot;:f=v(&quot;M&quot;,o,u);break;case&quot;y&quot;:a=d(&quot;y&quot;);break;case&quot;@&quot;:var b=new Date(d(&quot;@&quot;));a=b.getFullYear(),f=b.getMonth()+1,l=b.getDate();break;case&quot;!&quot;:var b=new Date((d(&quot;!&quot;)-this._ticksTo1970)/1e4);a=b.getFullYear(),f=b.getMonth()+1,l=b.getDate();break;case&quot;'&quot;:p(&quot;'&quot;)?m():h=!0;break;default:m()}if(g&lt;t.length){var w=t.substr(g);if(!/^\s+/.test(w))throw&quot;Extra/unparsed characters found in date: &quot;+w}a==-1?a=(new Date).getFullYear():a&lt;100&amp;&amp;(a+=(new Date).getFullYear()-(new Date).getFullYear()%100+(a&lt;=r?0:-100));if(c&gt;-1){f=1,l=c;do{var E=this._getDaysInMonth(a,f-1);if(l&lt;=E)break;f++,l-=E}while(!0)}var b=this._daylightSavingAdjust(new Date(a,f-1,l));if(b.getFullYear()!=a||b.g
 etMonth()+1!=f||b.getDate()!=l)throw&quot;Invalid date&quot;;return b},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(e,t,n){if(!t)return&quot;&quot;;var r=(n?n.dayNamesShort:null)||this._defaults.dayNamesShort,i=(n?n.dayNames:null)||this._defaults.dayNames,s=(n?n.monthNamesShort:null)||this._defaults.monthNamesShort,o=(n?n.monthNames:null)||this._defaults.monthNames,u=function(t){var n=h+1&lt;e.length&amp;&amp;e.charAt(h+1)==t;return n&amp;&amp;h++,n},a=function(e,t,n){var r=&quot;&quot;+t;if(u(e))while(r.length&lt;n)r=&quot;0&quot;+r;return r},f=function(e,t,n,r){return u(e)?r[t]:n[t]},l
 =&quot;&quot;,c=!1;if(t)for(var h=0;h&lt;e.length;h++)if(c)e.charAt(h)==&quot;'&quot;&amp;&amp;!u(&quot;'&quot;)?c=!1:l+=e.charAt(h);else switch(e.charAt(h)){case&quot;d&quot;:l+=a(&quot;d&quot;,t.getDate(),2);break;case&quot;D&quot;:l+=f(&quot;D&quot;,t.getDay(),r,i);break;case&quot;o&quot;:l+=a(&quot;o&quot;,Math.round(((new Date(t.getFullYear(),t.getMonth(),t.getDate())).getTime()-(new Date(t.getFullYear(),0,0)).getTime())/864e5),3);break;case&quot;m&quot;:l+=a(&quot;m&quot;,t.getMonth()+1,2);break;case&quot;M&quot;:l+=f(&quot;M&quot;,t.getMonth(),s,o);break;case&quot;y&quot;:l+=u(&quot;y&quot;)?t.getFullYear():(t.getYear()%100&lt;10?&quot;0&quot;:&quot;&quot;)+t.getYear()%100;break;case&quot;@&quot;:l+=t.getTime();break;case&quot;!&quot;:l+=t.getTime()*1e4+this._ticksTo1970;break;case&quot;'&quot;:u(&quot;'&quot;)?l+=&quot;'&quot;:c=!0;break;default:l+=e.charAt(h)}return l},_possibleChars:function(e){var t=&quot;&quot;,n=!1,r=function(t){var n=i+1&lt;e.length&amp;&amp;e.
 charAt(i+1)==t;return n&amp;&amp;i++,n};for(var i=0;i&lt;e.length;i++)if(n)e.charAt(i)==&quot;'&quot;&amp;&amp;!r(&quot;'&quot;)?n=!1:t+=e.charAt(i);else switch(e.charAt(i)){case&quot;d&quot;:case&quot;m&quot;:case&quot;y&quot;:case&quot;@&quot;:t+=&quot;0123456789&quot;;break;case&quot;D&quot;:case&quot;M&quot;:return null;case&quot;'&quot;:r(&quot;'&quot;)?t+=&quot;'&quot;:n=!0;break;default:t+=e.charAt(i)}return t},_get:function(e,t){return e.settings[t]!==undefined?e.settings[t]:this._defaults[t]},_setDateFromField:function(e,t){if(e.input.val()==e.lastVal)return;var n=this._get(e,&quot;dateFormat&quot;),r=e.lastVal=e.input?e.input.val():null,i,s;i=s=this._getDefaultDate(e);var o=this._getFormatConfig(e);try{i=this.parseDate(n,r,o)||s}catch(u){this.log(u),r=t?&quot;&quot;:r}e.selectedDay=i.getDate(),e.drawMonth=e.selectedMonth=i.getMonth(),e.drawYear=e.selectedYear=i.getFullYear(),e.currentDay=r?i.getDate():0,e.currentMonth=r?i.getMonth():0,e.currentYear=r?i.getFullYear(
 ):0,this._adjustInstDate(e)},_getDefaultDate:function(e){return this._restrictMinMax(e,this._determineDate(e,this._get(e,&quot;defaultDate&quot;),new Date))},_determineDate:function(e,t,n){var r=function(e){var t=new Date;return t.setDate(t.getDate()+e),t},i=function(t){try{return $.datepicker.parseDate($.datepicker._get(e,&quot;dateFormat&quot;),t,$.datepicker._getFormatConfig(e))}catch(n){}var r=(t.toLowerCase().match(/^c/)?$.datepicker._getDate(e):null)||new Date,i=r.getFullYear(),s=r.getMonth(),o=r.getDate(),u=/([+-]?[0-9]+)\s*(d|D|w|W|m|M|y|Y)?/g,a=u.exec(t);while(a){switch(a[2]||&quot;d&quot;){case&quot;d&quot;:case&quot;D&quot;:o+=parseInt(a[1],10);break;case&quot;w&quot;:case&quot;W&quot;:o+=parseInt(a[1],10)*7;break;case&quot;m&quot;:case&quot;M&quot;:s+=parseInt(a[1],10),o=Math.min(o,$.datepicker._getDaysInMonth(i,s));break;case&quot;y&quot;:case&quot;Y&quot;:i+=parseInt(a[1],10),o=Math.min(o,$.datepicker._getDaysInMonth(i,s))}a=u.exec(t)}return new Date(i,s,o)},s=
 t==null||t===&quot;&quot;?n:typeof t==&quot;string&quot;?i(t):typeof t==&quot;number&quot;?isNaN(t)?n:r(t):new Date(t.getTime());return s=s&amp;&amp;s.toString()==&quot;Invalid Date&quot;?n:s,s&amp;&amp;(s.setHours(0),s.setMinutes(0),s.setSeconds(0),s.setMilliseconds(0)),this._daylightSavingAdjust(s)},_daylightSavingAdjust:function(e){return e?(e.setHours(e.getHours()&gt;12?e.getHours()+2:0),e):null},_setDate:function(e,t,n){var r=!t,i=e.selectedMonth,s=e.selectedYear,o=this._restrictMinMax(e,this._determineDate(e,t,new Date));e.selectedDay=e.currentDay=o.getDate(),e.drawMonth=e.selectedMonth=e.currentMonth=o.getMonth(),e.drawYear=e.selectedYear=e.currentYear=o.getFullYear(),(i!=e.selectedMonth||s!=e.selectedYear)&amp;&amp;!n&amp;&amp;this._notifyChange(e),this._adjustInstDate(e),e.input&amp;&amp;e.input.val(r?&quot;&quot;:this._formatDate(e))},_getDate:function(e){var t=!e.currentYear||e.input&amp;&amp;e.input.val()==&quot;&quot;?null:this._daylightSavingAdjust(new Date(e.c
 urrentYear,e.currentMonth,e.currentDay));return t},_attachHandlers:function(e){var t=this._get(e,&quot;stepMonths&quot;),n=&quot;#&quot;+e.id.replace(/\\\\/g,&quot;\\&quot;);e.dpDiv.find(&quot;[data-handler]&quot;).map(function(){var e={prev:function(){window[&quot;DP_jQuery_&quot;+dpuuid].datepicker._adjustDate(n,-t,&quot;M&quot;)},next:function(){window[&quot;DP_jQuery_&quot;+dpuuid].datepicker._adjustDate(n,+t,&quot;M&quot;)},hide:function(){window[&quot;DP_jQuery_&quot;+dpuuid].datepicker._hideDatepicker()},today:function(){window[&quot;DP_jQuery_&quot;+dpuuid].datepicker._gotoToday(n)},selectDay:function(){return window[&quot;DP_jQuery_&quot;+dpuuid].datepicker._selectDay(n,+this.getAttribute(&quot;data-month&quot;),+this.getAttribute(&quot;data-year&quot;),this),!1},selectMonth:function(){return window[&quot;DP_jQuery_&quot;+dpuuid].datepicker._selectMonthYear(n,this,&quot;M&quot;),!1},selectYear:function(){return window[&quot;DP_jQuery_&quot;+dpuuid].datepicker._selec
 tMonthYear(n,this,&quot;Y&quot;),!1}};$(this).bind(this.getAttribute(&quot;data-event&quot;),e[this.getAttribute(&quot;data-handler&quot;)])})},_generateHTML:function(e){var t=new Date;t=this._daylightSavingAdjust(new Date(t.getFullYear(),t.getMonth(),t.getDate()));var n=this._get(e,&quot;isRTL&quot;),r=this._get(e,&quot;showButtonPanel&quot;),i=this._get(e,&quot;hideIfNoPrevNext&quot;),s=this._get(e,&quot;navigationAsDateFormat&quot;),o=this._getNumberOfMonths(e),u=this._get(e,&quot;showCurrentAtPos&quot;),a=this._get(e,&quot;stepMonths&quot;),f=o[0]!=1||o[1]!=1,l=this._daylightSavingAdjust(e.currentDay?new Date(e.currentYear,e.currentMonth,e.currentDay):new Date(9999,9,9)),c=this._getMinMaxDate(e,&quot;min&quot;),h=this._getMinMaxDate(e,&quot;max&quot;),p=e.drawMonth-u,d=e.drawYear;p&lt;0&amp;&amp;(p+=12,d--);if(h){var v=this._daylightSavingAdjust(new Date(h.getFullYear(),h.getMonth()-o[0]*o[1]+1,h.getDate()));v=c&amp;&amp;v&lt;c?c:v;while(this._daylightSavingAdjust(new Da
 te(d,p,1))&gt;v)p--,p&lt;0&amp;&amp;(p=11,d--)}e.drawMonth=p,e.drawYear=d;var m=this._get(e,&quot;prevText&quot;);m=s?this.formatDate(m,this._daylightSavingAdjust(new Date(d,p-a,1)),this._getFormatConfig(e)):m;var g=this._canAdjustMonth(e,-1,d,p)?'&lt;a class=&quot;ui-datepicker-prev ui-corner-all&quot; data-handler=&quot;prev&quot; data-event=&quot;click&quot; title=&quot;'+m+'&quot;&gt;&lt;span class=&quot;ui-icon ui-icon-circle-triangle-'+(n?&quot;e&quot;:&quot;w&quot;)+'&quot;&gt;'+m+&quot;&lt;/span&gt;&lt;/a&gt;&quot;:i?&quot;&quot;:'&lt;a class=&quot;ui-datepicker-prev ui-corner-all ui-state-disabled&quot; title=&quot;'+m+'&quot;&gt;&lt;span class=&quot;ui-icon ui-icon-circle-triangle-'+(n?&quot;e&quot;:&quot;w&quot;)+'&quot;&gt;'+m+&quot;&lt;/span&gt;&lt;/a&gt;&quot;,y=this._get(e,&quot;nextText&quot;);y=s?this.formatDate(y,this._daylightSavingAdjust(new Date(d,p+a,1)),this._getFormatConfig(e)):y;var b=this._canAdjustMonth(e,1,d,p)?'&lt;a class=&quot;ui-datepicker-nex
 t ui-corner-all&quot; data-handler=&quot;next&quot; data-event=&quot;click&quot; title=&quot;'+y+'&quot;&gt;&lt;span class=&quot;ui-icon ui-icon-circle-triangle-'+(n?&quot;w&quot;:&quot;e&quot;)+'&quot;&gt;'+y+&quot;&lt;/span&gt;&lt;/a&gt;&quot;:i?&quot;&quot;:'&lt;a class=&quot;ui-datepicker-next ui-corner-all ui-state-disabled&quot; title=&quot;'+y+'&quot;&gt;&lt;span class=&quot;ui-icon ui-icon-circle-triangle-'+(n?&quot;w&quot;:&quot;e&quot;)+'&quot;&gt;'+y+&quot;&lt;/span&gt;&lt;/a&gt;&quot;,w=this._get(e,&quot;currentText&quot;),E=this._get(e,&quot;gotoCurrent&quot;)&amp;&amp;e.currentDay?l:t;w=s?this.formatDate(w,E,this._getFormatConfig(e)):w;var S=e.inline?&quot;&quot;:'&lt;button type=&quot;button&quot; class=&quot;ui-datepicker-close ui-state-default ui-priority-primary ui-corner-all&quot; data-handler=&quot;hide&quot; data-event=&quot;click&quot;&gt;'+this._get(e,&quot;closeText&quot;)+&quot;&lt;/button&gt;&quot;,x=r?'&lt;div class=&quot;ui-datepicker-buttonpane u
 i-widget-content&quot;&gt;'+(n?S:&quot;&quot;)+(this._isInRange(e,E)?'&lt;button type=&quot;button&quot; class=&quot;ui-datepicker-current ui-state-default ui-priority-secondary ui-corner-all&quot; data-handler=&quot;today&quot; data-event=&quot;click&quot;&gt;'+w+&quot;&lt;/button&gt;&quot;:&quot;&quot;)+(n?&quot;&quot;:S)+&quot;&lt;/div&gt;&quot;:&quot;&quot;,T=parseInt(this._get(e,&quot;firstDay&quot;),10);T=isNaN(T)?0:T;var N=this._get(e,&quot;showWeek&quot;),C=this._get(e,&quot;dayNames&quot;),k=this._get(e,&quot;dayNamesShort&quot;),L=this._get(e,&quot;dayNamesMin&quot;),A=this._get(e,&quot;monthNames&quot;),O=this._get(e,&quot;monthNamesShort&quot;),M=this._get(e,&quot;beforeShowDay&quot;),_=this._get(e,&quot;showOtherMonths&quot;),D=this._get(e,&quot;selectOtherMonths&quot;),P=this._get(e,&quot;calculateWeek&quot;)||this.iso8601Week,H=this._getDefaultDate(e),B=&quot;&quot;;for(var j=0;j&lt;o[0];j++){var F=&quot;&quot;;this.maxRows=4;for(var I=0;I&lt;o[1];I++){var q=t
 his._daylightSavingAdjust(new Date(d,p,e.selectedDay)),R=&quot; ui-corner-all&quot;,U=&quot;&quot;;if(f){U+='&lt;div class=&quot;ui-datepicker-group';if(o[1]&gt;1)switch(I){case 0:U+=&quot; ui-datepicker-group-first&quot;,R=&quot; ui-corner-&quot;+(n?&quot;right&quot;:&quot;left&quot;);break;case o[1]-1:U+=&quot; ui-datepicker-group-last&quot;,R=&quot; ui-corner-&quot;+(n?&quot;left&quot;:&quot;right&quot;);break;default:U+=&quot; ui-datepicker-group-middle&quot;,R=&quot;&quot;}U+='&quot;&gt;'}U+='&lt;div class=&quot;ui-datepicker-header ui-widget-header ui-helper-clearfix'+R+'&quot;&gt;'+(/all|left/.test(R)&amp;&amp;j==0?n?b:g:&quot;&quot;)+(/all|right/.test(R)&amp;&amp;j==0?n?g:b:&quot;&quot;)+this._generateMonthYearHeader(e,p,d,c,h,j&gt;0||I&gt;0,A,O)+'&lt;/div&gt;&lt;table class=&quot;ui-datepicker-calendar&quot;&gt;&lt;thead&gt;'+&quot;&lt;tr&gt;&quot;;var z=N?'&lt;th class=&quot;ui-datepicker-week-col&quot;&gt;'+this._get(e,&quot;weekHeader&quot;)+&quot;&lt;/th&gt;&quo
 t;:&quot;&quot;;for(var W=0;W&lt;7;W++){var X=(W+T)%7;z+=&quot;&lt;th&quot;+((W+T+6)%7&gt;=5?' class=&quot;ui-datepicker-week-end&quot;':&quot;&quot;)+&quot;&gt;&quot;+'&lt;span title=&quot;'+C[X]+'&quot;&gt;'+L[X]+&quot;&lt;/span&gt;&lt;/th&gt;&quot;}U+=z+&quot;&lt;/tr&gt;&lt;/thead&gt;&lt;tbody&gt;&quot;;var V=this._getDaysInMonth(d,p);d==e.selectedYear&amp;&amp;p==e.selectedMonth&amp;&amp;(e.selectedDay=Math.min(e.selectedDay,V));var J=(this._getFirstDayOfMonth(d,p)-T+7)%7,K=Math.ceil((J+V)/7),Q=f?this.maxRows&gt;K?this.maxRows:K:K;this.maxRows=Q;var G=this._daylightSavingAdjust(new Date(d,p,1-J));for(var Y=0;Y&lt;Q;Y++){U+=&quot;&lt;tr&gt;&quot;;var Z=N?'&lt;td class=&quot;ui-datepicker-week-col&quot;&gt;'+this._get(e,&quot;calculateWeek&quot;)(G)+&quot;&lt;/td&gt;&quot;:&quot;&quot;;for(var W=0;W&lt;7;W++){var et=M?M.apply(e.input?e.input[0]:null,[G]):[!0,&quot;&quot;],tt=G.getMonth()!=p,nt=tt&amp;&amp;!D||!et[0]||c&amp;&amp;G&lt;c||h&amp;&amp;G&gt;h;Z+='&lt;td class=&q
 uot;'+((W+T+6)%7&gt;=5?&quot; ui-datepicker-week-end&quot;:&quot;&quot;)+(tt?&quot; ui-datepicker-other-month&quot;:&quot;&quot;)+(G.getTime()==q.getTime()&amp;&amp;p==e.selectedMonth&amp;&amp;e._keyEvent||H.getTime()==G.getTime()&amp;&amp;H.getTime()==q.getTime()?&quot; &quot;+this._dayOverClass:&quot;&quot;)+(nt?&quot; &quot;+this._unselectableClass+&quot; ui-state-disabled&quot;:&quot;&quot;)+(tt&amp;&amp;!_?&quot;&quot;:&quot; &quot;+et[1]+(G.getTime()==l.getTime()?&quot; &quot;+this._currentClass:&quot;&quot;)+(G.getTime()==t.getTime()?&quot; ui-datepicker-today&quot;:&quot;&quot;))+'&quot;'+((!tt||_)&amp;&amp;et[2]?' title=&quot;'+et[2]+'&quot;':&quot;&quot;)+(nt?&quot;&quot;:' data-handler=&quot;selectDay&quot; data-event=&quot;click&quot; data-month=&quot;'+G.getMonth()+'&quot; data-year=&quot;'+G.getFullYear()+'&quot;')+&quot;&gt;&quot;+(tt&amp;&amp;!_?&quot;&amp;#xa0;&quot;:nt?'&lt;span class=&quot;ui-state-default&quot;&gt;'+G.getDate()+&quot;&lt;/span&gt;&quot;:'
 &lt;a class=&quot;ui-state-default'+(G.getTime()==t.getTime()?&quot; ui-state-highlight&quot;:&quot;&quot;)+(G.getTime()==l.getTime()?&quot; ui-state-active&quot;:&quot;&quot;)+(tt?&quot; ui-priority-secondary&quot;:&quot;&quot;)+'&quot; href=&quot;#&quot;&gt;'+G.getDate()+&quot;&lt;/a&gt;&quot;)+&quot;&lt;/td&gt;&quot;,G.setDate(G.getDate()+1),G=this._daylightSavingAdjust(G)}U+=Z+&quot;&lt;/tr&gt;&quot;}p++,p&gt;11&amp;&amp;(p=0,d++),U+=&quot;&lt;/tbody&gt;&lt;/table&gt;&quot;+(f?&quot;&lt;/div&gt;&quot;+(o[0]&gt;0&amp;&amp;I==o[1]-1?'&lt;div class=&quot;ui-datepicker-row-break&quot;&gt;&lt;/div&gt;':&quot;&quot;):&quot;&quot;),F+=U}B+=F}return B+=x+($.browser.msie&amp;&amp;parseInt($.browser.version,10)&lt;7&amp;&amp;!e.inline?'&lt;iframe src=&quot;javascript:false;&quot; class=&quot;ui-datepicker-cover&quot; frameborder=&quot;0&quot;&gt;&lt;/iframe&gt;':&quot;&quot;),e._keyEvent=!1,B},_generateMonthYearHeader:function(e,t,n,r,i,s,o,u){var a=this._get(e,&quot;changeMonth&q
 uot;),f=this._get(e,&quot;changeYear&quot;),l=this._get(e,&quot;showMonthAfterYear&quot;),c='&lt;div class=&quot;ui-datepicker-title&quot;&gt;',h=&quot;&quot;;if(s||!a)h+='&lt;span class=&quot;ui-datepicker-month&quot;&gt;'+o[t]+&quot;&lt;/span&gt;&quot;;else{var p=r&amp;&amp;r.getFullYear()==n,d=i&amp;&amp;i.getFullYear()==n;h+='&lt;select class=&quot;ui-datepicker-month&quot; data-handler=&quot;selectMonth&quot; data-event=&quot;change&quot;&gt;';for(var v=0;v&lt;12;v++)(!p||v&gt;=r.getMonth())&amp;&amp;(!d||v&lt;=i.getMonth())&amp;&amp;(h+='&lt;option value=&quot;'+v+'&quot;'+(v==t?' selected=&quot;selected&quot;':&quot;&quot;)+&quot;&gt;&quot;+u[v]+&quot;&lt;/option&gt;&quot;);h+=&quot;&lt;/select&gt;&quot;}l||(c+=h+(s||!a||!f?&quot;&amp;#xa0;&quot;:&quot;&quot;));if(!e.yearshtml){e.yearshtml=&quot;&quot;;if(s||!f)c+='&lt;span class=&quot;ui-datepicker-year&quot;&gt;'+n+&quot;&lt;/span&gt;&quot;;else{var m=this._get(e,&quot;yearRange&quot;).split(&quot;:&quot;),g=(new Da
 te).getFullYear(),y=function(e){var t=e.match(/c[+-].*/)?n+parseInt(e.substring(1),10):e.match(/[+-].*/)?g+parseInt(e,10):parseInt(e,10);return isNaN(t)?g:t},b=y(m[0]),w=Math.max(b,y(m[1]||&quot;&quot;));b=r?Math.max(b,r.getFullYear()):b,w=i?Math.min(w,i.getFullYear()):w,e.yearshtml+='&lt;select class=&quot;ui-datepicker-year&quot; data-handler=&quot;selectYear&quot; data-event=&quot;change&quot;&gt;';for(;b&lt;=w;b++)e.yearshtml+='&lt;option value=&quot;'+b+'&quot;'+(b==n?' selected=&quot;selected&quot;':&quot;&quot;)+&quot;&gt;&quot;+b+&quot;&lt;/option&gt;&quot;;e.yearshtml+=&quot;&lt;/select&gt;&quot;,c+=e.yearshtml,e.yearshtml=null}}return c+=this._get(e,&quot;yearSuffix&quot;),l&amp;&amp;(c+=(s||!a||!f?&quot;&amp;#xa0;&quot;:&quot;&quot;)+h),c+=&quot;&lt;/div&gt;&quot;,c},_adjustInstDate:function(e,t,n){var r=e.drawYear+(n==&quot;Y&quot;?t:0),i=e.drawMonth+(n==&quot;M&quot;?t:0),s=Math.min(e.selectedDay,this._getDaysInMonth(r,i))+(n==&quot;D&quot;?t:0),o=this._restrict
 MinMax(e,this._daylightSavingAdjust(new Date(r,i,s)));e.selectedDay=o.getDate(),e.drawMonth=e.selectedMonth=o.getMonth(),e.drawYear=e.selectedYear=o.getFullYear(),(n==&quot;M&quot;||n==&quot;Y&quot;)&amp;&amp;this._notifyChange(e)},_restrictMinMax:function(e,t){var n=this._getMinMaxDate(e,&quot;min&quot;),r=this._getMinMaxDate(e,&quot;max&quot;),i=n&amp;&amp;t&lt;n?n:t;return i=r&amp;&amp;i&gt;r?r:i,i},_notifyChange:function(e){var t=this._get(e,&quot;onChangeMonthYear&quot;);t&amp;&amp;t.apply(e.input?e.input[0]:null,[e.selectedYear,e.selectedMonth+1,e])},_getNumberOfMonths:function(e){var t=this._get(e,&quot;numberOfMonths&quot;);return t==null?[1,1]:typeof t==&quot;number&quot;?[1,t]:t},_getMinMaxDate:function(e,t){return this._determineDate(e,this._get(e,t+&quot;Date&quot;),null)},_getDaysInMonth:function(e,t){return 32-this._daylightSavingAdjust(new Date(e,t,32)).getDate()},_getFirstDayOfMonth:function(e,t){return(new Date(e,t,1)).getDay()},_canAdjustMonth:function(e,t,
 n,r){var i=this._getNumberOfMonths(e),s=this._daylightSavingAdjust(new Date(n,r+(t&lt;0?t:i[0]*i[1]),1));return t&lt;0&amp;&amp;s.setDate(this._getDaysInMonth(s.getFullYear(),s.getMonth())),this._isInRange(e,s)},_isInRange:function(e,t){var n=this._getMinMaxDate(e,&quot;min&quot;),r=this._getMinMaxDate(e,&quot;max&quot;);return(!n||t.getTime()&gt;=n.getTime())&amp;&amp;(!r||t.getTime()&lt;=r.getTime())},_getFormatConfig:function(e){var t=this._get(e,&quot;shortYearCutoff&quot;);return t=typeof t!=&quot;string&quot;?t:(new Date).getFullYear()%100+parseInt(t,10),{shortYearCutoff:t,dayNamesShort:this._get(e,&quot;dayNamesShort&quot;),dayNames:this._get(e,&quot;dayNames&quot;),monthNamesShort:this._get(e,&quot;monthNamesShort&quot;),monthNames:this._get(e,&quot;monthNames&quot;)}},_formatDate:function(e,t,n,r){t||(e.currentDay=e.selectedDay,e.currentMonth=e.selectedMonth,e.currentYear=e.selectedYear);var i=t?typeof t==&quot;object&quot;?t:this._daylightSavingAdjust(new Date(r,n,
 t)):this._daylightSavingAdjust(new Date(e.currentYear,e.currentMonth,e.currentDay));return this.formatDate(this._get(e,&quot;dateFormat&quot;),i,this._getFormatConfig(e))}}),$.fn.datepicker=function(e){if(!this.length)return this;$.datepicker.initialized||($(document).mousedown($.datepicker._checkExternalClick).find(document.body).append($.datepicker.dpDiv),$.datepicker.initialized=!0);var t=Array.prototype.slice.call(arguments,1);return typeof e!=&quot;string&quot;||e!=&quot;isDisabled&quot;&amp;&amp;e!=&quot;getDate&quot;&amp;&amp;e!=&quot;widget&quot;?e==&quot;option&quot;&amp;&amp;arguments.length==2&amp;&amp;typeof arguments[1]==&quot;string&quot;?$.datepicker[&quot;_&quot;+e+&quot;Datepicker&quot;].apply($.datepicker,[this[0]].concat(t)):this.each(function(){typeof e==&quot;string&quot;?$.datepicker[&quot;_&quot;+e+&quot;Datepicker&quot;].apply($.datepicker,[this].concat(t)):$.datepicker._attachDatepicker(this,e)}):$.datepicker[&quot;_&quot;+e+&quot;Datepicker&quot;].a
 pply($.datepicker,[this[0]].concat(t))},$.datepicker=new Datepicker,$.datepicker.initialized=!1,$.datepicker.uuid=(new Date).getTime(),$.datepicker.version=&quot;1.9.0&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 (22181 => 22182)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-includes/js/jquery/ui/jquery.ui.dialog.min.js        2012-10-11 03:29:02 UTC (rev 22181)
+++ trunk/wp-includes/js/jquery/ui/jquery.ui.dialog.min.js        2012-10-11 03:34:19 UTC (rev 22182)
</span><span class="lines">@@ -1,5 +1,5 @@
</span><del>-/*! jQuery UI - v1.9.0pre - 2012-08-29
</del><ins>+/*! jQuery UI - v1.9.0 - 2012-10-05
</ins><span class="cx"> * http://jqueryui.com
</span><span class="cx"> * Includes: jquery.ui.dialog.js
</span><span class="cx"> * Copyright 2012 jQuery Foundation and other contributors; Licensed MIT */
</span><del>-(function(e,t){var n=&quot;ui-dialog ui-widget ui-widget-content ui-corner-all &quot;,r={buttons:!0,height:!0,maxHeight:!0,maxWidth:!0,minHeight:!0,minWidth:!0,width:!0},i={maxHeight:!0,maxWidth:!0,minHeight:!0,minWidth:!0};e.widget(&quot;ui.dialog&quot;,{version:&quot;@VERSION&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;,of:window,collision:&quot;fit&quot;,using:function(t){var n=e(this).css(t).offset().top;n&lt;0&amp;&amp;e(this).css(&quot;top&quot;,t.top-n)}},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.oldPosition={parent:this.element.parent(),i
 ndex:this.element.parent().children().index(this.element)},this.options.title=this.options.title||this.originalTitle;var t=this,r=this.options,i=r.title||&quot;&amp;#160;&quot;,s=(this.uiDialog=e(&quot;&lt;div&gt;&quot;)).addClass(n+r.dialogClass).css({display:&quot;none&quot;,outline:0,zIndex:r.zIndex}).attr(&quot;tabIndex&quot;,-1).keydown(function(n){r.closeOnEscape&amp;&amp;!n.isDefaultPrevented()&amp;&amp;n.keyCode&amp;&amp;n.keyCode===e.ui.keyCode.ESCAPE&amp;&amp;(t.close(n),n.preventDefault())}).mousedown(function(e){t.moveToTop(!1,e)}).appendTo(&quot;body&quot;),o=this.element.show().removeAttr(&quot;title&quot;).addClass(&quot;ui-dialog-content ui-widget-content&quot;).appendTo(s),u=(this.uiDialogTitlebar=e(&quot;&lt;div&gt;&quot;)).addClass(&quot;ui-dialog-titlebar  ui-widget-header  ui-corner-all  ui-helper-clearfix&quot;).prependTo(s),a=e(&quot;&lt;a href='#'&gt;&lt;/a&gt;&quot;).addClass(&quot;ui-dialog-titlebar-close  ui-corner-all&quot;).attr(&quot;role&quot;,
 &quot;button&quot;).click(function(e){e.preventDefault(),t.close(e)}).appendTo(u),f=(this.uiDialogTitlebarCloseText=e(&quot;&lt;span&gt;&quot;)).addClass(&quot;ui-icon ui-icon-closethick&quot;).text(r.closeText).appendTo(a),l=e(&quot;&lt;span&gt;&quot;).uniqueId().addClass(&quot;ui-dialog-title&quot;).html(i).prependTo(u),c=(this.uiDialogButtonPane=e(&quot;&lt;div&gt;&quot;)).addClass(&quot;ui-dialog-buttonpane ui-widget-content ui-helper-clearfix&quot;),h=(this.uiButtonSet=e(&quot;&lt;div&gt;&quot;)).addClass(&quot;ui-dialog-buttonset&quot;).appendTo(c);s.attr({role:&quot;dialog&quot;,&quot;aria-labelledby&quot;:l.attr(&quot;id&quot;)}),u.find(&quot;*&quot;).add(u).disableSelection(),this._hoverable(a),this._focusable(a),r.draggable&amp;&amp;e.fn.draggable&amp;&amp;this._makeDraggable(),r.resizable&amp;&amp;e.fn.resizable&amp;&amp;this._makeResizable(),this._createButtons(r.buttons),this._isOpen=!1,e.fn.bgiframe&amp;&amp;s.bgiframe()},_init:function(){this.options.autoOpen&
 amp;&amp;this.open()},_destroy:function(){var e,t=this.oldPosition;this.overlay&amp;&amp;this.overlay.destroy(),this.uiDialog.hide(),this.element.removeClass(&quot;ui-dialog-content ui-widget-content&quot;).hide().appendTo(&quot;body&quot;),this.uiDialog.remove(),this.originalTitle&amp;&amp;this.element.attr(&quot;title&quot;,this.originalTitle),e=t.parent.children().eq(t.index),e.length?e.before(this.element):t.parent.append(this.element)},widget:function(){return this.uiDialog},close:function(t){var n=this,r,i;if(!this._isOpen)return;if(!1===this._trigger(&quot;beforeClose&quot;,t))return;return this._isOpen=!1,this.overlay&amp;&amp;this.overlay.destroy(),this._off(this.uiDialog,&quot;keypress&quot;),this.options.hide?this.uiDialog.hide(this.options.hide,function(){n._trigger(&quot;close&quot;,t)}):(this.uiDialog.hide(),this._trigger(&quot;close&quot;,t)),e.ui.dialog.overlay.resize(),this.options.modal&amp;&amp;(r=0,e(&quot;.ui-dialog&quot;).each(function(){this!==n.uiDial
 og[0]&amp;&amp;(i=e(this).css(&quot;z-index&quot;),isNaN(i)||(r=Math.max(r,i)))}),e.ui.dialog.maxZ=r),this},isOpen:function(){return this._isOpen},moveToTop:function(t,n){var r=this.options,i;return r.modal&amp;&amp;!t||!r.stack&amp;&amp;!r.modal?this._trigger(&quot;focus&quot;,n):(r.zIndex&gt;e.ui.dialog.maxZ&amp;&amp;(e.ui.dialog.maxZ=r.zIndex),this.overlay&amp;&amp;(e.ui.dialog.maxZ+=1,e.ui.dialog.overlay.maxZ=e.ui.dialog.maxZ,this.overlay.$el.css(&quot;z-index&quot;,e.ui.dialog.overlay.maxZ)),i={scrollTop:this.element.scrollTop(),scrollLeft:this.element.scrollLeft()},e.ui.dialog.maxZ+=1,this.uiDialog.css(&quot;z-index&quot;,e.ui.dialog.maxZ),this.element.attr(i),this._trigger(&quot;focus&quot;,n),this)},open:function(){if(this._isOpen)return;var t,n=this.options,r=this.uiDialog;return this._size(),this._position(n.position),r.show(n.show),this.overlay=n.modal?new e.ui.dialog.overlay(this):null,this.moveToTop(!0),n.modal&amp;&amp;this._on(r,{keydown:function(t){if(t.keyCo
 de!==e.ui.keyCode.TAB)return;var n=e(&quot;:tabbable&quot;,r),i=n.filter(&quot;:first&quot;),s=n.filter(&quot;:last&quot;);if(t.target===s[0]&amp;&amp;!t.shiftKey)return i.focus(1),!1;if(t.target===i[0]&amp;&amp;t.shiftKey)return s.focus(1),!1}}),t=this.element.find(&quot;:tabbable&quot;),t.length||(t=this.uiDialogButtonPane.find(&quot;:tabbable&quot;),t.length||(t=r)),t.eq(0).focus(),this._isOpen=!0,this._trigger(&quot;open&quot;),this},_createButtons:function(t){var n,r,i=this,s=!1;this.uiDialogButtonPane.remove(),this.uiButtonSet.empty(),typeof t==&quot;object&quot;&amp;&amp;t!==null&amp;&amp;e.each(t,function(){return!(s=!0)}),s?(e.each(t,function(t,n){n=e.isFunction(n)?{click:n,text:t}:n;var r=e(&quot;&lt;button type='button'&gt;&quot;).attr(n,!0).unbind(&quot;click&quot;).click(function(){n.click.apply(i.element[0],arguments)}).appendTo(i.uiButtonSet);e.fn.button&amp;&amp;r.button()}),this.uiDialog.addClass(&quot;ui-dialog-buttons&quot;),this.uiDialogButtonPane.appendT
 o(this.uiDialog)):this.uiDialog.removeClass(&quot;ui-dialog-buttons&quot;)},_makeDraggable:function(){function r(e){return{position:e.position,offset:e.offset}}var t=this,n=this.options;this.uiDialog.draggable({cancel:&quot;.ui-dialog-content, .ui-dialog-titlebar-close&quot;,handle:&quot;.ui-dialog-titlebar&quot;,containment:&quot;document&quot;,start:function(n,i){e(this).addClass(&quot;ui-dialog-dragging&quot;),t._trigger(&quot;dragStart&quot;,n,r(i))},drag:function(e,n){t._trigger(&quot;drag&quot;,e,r(n))},stop:function(i,s){n.position=[s.position.left-t.document.scrollLeft(),s.position.top-t.document.scrollTop()],e(this).removeClass(&quot;ui-dialog-dragging&quot;),t._trigger(&quot;dragStop&quot;,i,r(s)),e.ui.dialog.overlay.resize()}})},_makeResizable:function(n){function u(e){return{originalPosition:e.originalPosition,originalSize:e.originalSize,position:e.position,size:e.size}}n=n===t?this.options.resizable:n;var r=this,i=this.options,s=this.uiDialog.css(&quot;position&
 quot;),o=typeof n==&quot;string&quot;?n:&quot;n,e,s,w,se,sw,ne,nw&quot;;this.uiDialog.resizable({cancel:&quot;.ui-dialog-content&quot;,containment:&quot;document&quot;,alsoResize:this.element,maxWidth:i.maxWidth,maxHeight:i.maxHeight,minWidth:i.minWidth,minHeight:this._minHeight(),handles:o,start:function(t,n){e(this).addClass(&quot;ui-dialog-resizing&quot;),r._trigger(&quot;resizeStart&quot;,t,u(n))},resize:function(e,t){r._trigger(&quot;resize&quot;,e,u(t))},stop:function(t,n){e(this).removeClass(&quot;ui-dialog-resizing&quot;),i.height=e(this).height(),i.width=e(this).width(),r._trigger(&quot;resizeStop&quot;,t,u(n)),e.ui.dialog.overlay.resize()}}).css(&quot;position&quot;,s).find(&quot;.ui-resizable-se&quot;).addClass(&quot;ui-icon ui-icon-grip-diagonal-se&quot;)},_minHeight:function(){var e=this.options;return e.height===&quot;auto&quot;?e.minHeight:Math.min(e.minHeight,e.height)},_position:function(t){var n=[],r=[0,0],i;if(t){if(typeof t==&quot;string&quot;||typeof t==
 &quot;object&quot;&amp;&amp;&quot;0&quot;in t)n=t.split?t.split(&quot; &quot;):[t[0],t[1]],n.length===1&amp;&amp;(n[1]=n[0]),e.each([&quot;left&quot;,&quot;top&quot;],function(e,t){+n[e]===n[e]&amp;&amp;(r[e]=n[e],n[e]=t)}),t={my:n.join(&quot; &quot;),at:n.join(&quot; &quot;),offset:r.join(&quot; &quot;)};t=e.extend({},e.ui.dialog.prototype.options.position,t)}else t=e.ui.dialog.prototype.options.position;i=this.uiDialog.is(&quot;:visible&quot;),i||this.uiDialog.show(),this.uiDialog.position(t),i||this.uiDialog.hide()},_setOptions:function(t){var n=this,s={},o=!1;e.each(t,function(e,t){n._setOption(e,t),e in r&amp;&amp;(o=!0),e in i&amp;&amp;(s[e]=t)}),o&amp;&amp;this._size(),this.uiDialog.is(&quot;:data(resizable)&quot;)&amp;&amp;this.uiDialog.resizable(&quot;option&quot;,s)},_setOption:function(t,r){var i,s,o=this.uiDialog;switch(t){case&quot;buttons&quot;:this._createButtons(r);break;case&quot;closeText&quot;:this.uiDialogTitlebarCloseText.text(&quot;&quot;+r);break;case&
 quot;dialogClass&quot;:o.removeClass(this.options.dialogClass).addClass(n+r);break;case&quot;disabled&quot;:r?o.addClass(&quot;ui-dialog-disabled&quot;):o.removeClass(&quot;ui-dialog-disabled&quot;);break;case&quot;draggable&quot;:i=o.is(&quot;:data(draggable)&quot;),i&amp;&amp;!r&amp;&amp;o.draggable(&quot;destroy&quot;),!i&amp;&amp;r&amp;&amp;this._makeDraggable();break;case&quot;position&quot;:this._position(r);break;case&quot;resizable&quot;:s=o.is(&quot;:data(resizable)&quot;),s&amp;&amp;!r&amp;&amp;o.resizable(&quot;destroy&quot;),s&amp;&amp;typeof r==&quot;string&quot;&amp;&amp;o.resizable(&quot;option&quot;,&quot;handles&quot;,r),!s&amp;&amp;r!==!1&amp;&amp;this._makeResizable(r);break;case&quot;title&quot;:e(&quot;.ui-dialog-title&quot;,this.uiDialogTitlebar).html(&quot;&quot;+(r||&quot;&amp;#160;&quot;))}this._super(t,r)},_size:function(){var t,n,r,i=this.options,s=this.uiDialog.is(&quot;:visible&quot;);this.element.show().css({width:&quot;auto&quot;,minHeight:0,he
 ight:0}),i.minWidth&gt;i.width&amp;&amp;(i.width=i.minWidth),t=this.uiDialog.css({height:&quot;auto&quot;,width:i.width}).outerHeight(),n=Math.max(0,i.minHeight-t),i.height===&quot;auto&quot;?e.support.minHeight?this.element.css({minHeight:n,height:&quot;auto&quot;}):(this.uiDialog.show(),r=this.element.css(&quot;height&quot;,&quot;auto&quot;).height(),s||this.uiDialog.hide(),this.element.height(Math.max(r,n))):this.element.height(Math.max(i.height-t,0)),this.uiDialog.is(&quot;:data(resizable)&quot;)&amp;&amp;this.uiDialog.resizable(&quot;option&quot;,&quot;minHeight&quot;,this._minHeight())}}),e.extend(e.ui.dialog,{uuid:0,maxZ:0,getTitleId:function(e){var t=e.attr(&quot;id&quot;);return t||(this.uuid+=1,t=this.uuid),&quot;ui-dialog-title-&quot;+t},overlay:function(t){this.$el=e.ui.dialog.overlay.create(t)}}),e.extend(e.ui.dialog.overlay,{instances:[],oldInstances:[],maxZ:0,events:e.map(&quot;focus,mousedown,mouseup,keydown,keypress,click&quot;.split(&quot;,&quot;),function(
 e){return e+&quot;.dialog-overlay&quot;}).join(&quot; &quot;),create:function(t){this.instances.length===0&amp;&amp;(setTimeout(function(){e.ui.dialog.overlay.instances.length&amp;&amp;e(document).bind(e.ui.dialog.overlay.events,function(t){if(e(t.target).zIndex()&lt;e.ui.dialog.overlay.maxZ)return!1})},1),e(window).bind(&quot;resize.dialog-overlay&quot;,e.ui.dialog.overlay.resize));var n=this.oldInstances.pop()||e(&quot;&lt;div&gt;&quot;).addClass(&quot;ui-widget-overlay&quot;);return e(document).bind(&quot;keydown.dialog-overlay&quot;,function(r){var i=e.ui.dialog.overlay.instances;i.length!==0&amp;&amp;i[i.length-1]===n&amp;&amp;t.options.closeOnEscape&amp;&amp;!r.isDefaultPrevented()&amp;&amp;r.keyCode&amp;&amp;r.keyCode===e.ui.keyCode.ESCAPE&amp;&amp;(t.close(r),r.preventDefault())}),n.appendTo(document.body).css({width:this.width(),height:this.height()}),e.fn.bgiframe&amp;&amp;n.bgiframe(),this.instances.push(n),n},destroy:function(t){var n=e.inArray(t,this.instances),
 r=0;n!==-1&amp;&amp;this.oldInstances.push(this.instances.splice(n,1)[0]),this.instances.length===0&amp;&amp;e([document,window]).unbind(&quot;.dialog-overlay&quot;),t.height(0).width(0).remove(),e.each(this.instances,function(){r=Math.max(r,this.css(&quot;z-index&quot;))}),this.maxZ=r},height:function(){var t,n;return e.browser.msie?(t=Math.max(document.documentElement.scrollHeight,document.body.scrollHeight),n=Math.max(document.documentElement.offsetHeight,document.body.offsetHeight),t&lt;n?e(window).height()+&quot;px&quot;:t+&quot;px&quot;):e(document).height()+&quot;px&quot;},width:function(){var t,n;return e.browser.msie?(t=Math.max(document.documentElement.scrollWidth,document.body.scrollWidth),n=Math.max(document.documentElement.offsetWidth,document.body.offsetWidth),t&lt;n?e(window).width()+&quot;px&quot;:t+&quot;px&quot;):e(document).width()+&quot;px&quot;},resize:function(){var t=e([]);e.each(e.ui.dialog.overlay.instances,function(){t=t.add(this)}),t.css({width:0,h
 eight:0}).css({width:e.ui.dialog.overlay.width(),height:e.ui.dialog.overlay.height()})}}),e.extend(e.ui.dialog.overlay.prototype,{destroy:function(){e.ui.dialog.overlay.destroy(this.$el)}})})(jQuery);
</del><span class="cx">\ No newline at end of file
</span><ins>+(function(e,t){var n=&quot;ui-dialog ui-widget ui-widget-content ui-corner-all &quot;,r={buttons:!0,height:!0,maxHeight:!0,maxWidth:!0,minHeight:!0,minWidth:!0,width:!0},i={maxHeight:!0,maxWidth:!0,minHeight:!0,minWidth:!0};e.widget(&quot;ui.dialog&quot;,{version:&quot;1.9.0&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;,of:window,collision:&quot;fit&quot;,using:function(t){var n=e(this).css(t).offset().top;n&lt;0&amp;&amp;e(this).css(&quot;top&quot;,t.top-n)}},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.oldPosition={parent:this.element.parent(),inde
 x:this.element.parent().children().index(this.element)},this.options.title=this.options.title||this.originalTitle;var t=this,r=this.options,i=r.title||&quot;&amp;#160;&quot;,s=(this.uiDialog=e(&quot;&lt;div&gt;&quot;)).addClass(n+r.dialogClass).css({display:&quot;none&quot;,outline:0,zIndex:r.zIndex}).attr(&quot;tabIndex&quot;,-1).keydown(function(n){r.closeOnEscape&amp;&amp;!n.isDefaultPrevented()&amp;&amp;n.keyCode&amp;&amp;n.keyCode===e.ui.keyCode.ESCAPE&amp;&amp;(t.close(n),n.preventDefault())}).mousedown(function(e){t.moveToTop(!1,e)}).appendTo(&quot;body&quot;),o=this.element.show().removeAttr(&quot;title&quot;).addClass(&quot;ui-dialog-content ui-widget-content&quot;).appendTo(s),u=(this.uiDialogTitlebar=e(&quot;&lt;div&gt;&quot;)).addClass(&quot;ui-dialog-titlebar  ui-widget-header  ui-corner-all  ui-helper-clearfix&quot;).prependTo(s),a=e(&quot;&lt;a href='#'&gt;&lt;/a&gt;&quot;).addClass(&quot;ui-dialog-titlebar-close  ui-corner-all&quot;).attr(&quot;role&quot;,&qu
 ot;button&quot;).click(function(e){e.preventDefault(),t.close(e)}).appendTo(u),f=(this.uiDialogTitlebarCloseText=e(&quot;&lt;span&gt;&quot;)).addClass(&quot;ui-icon ui-icon-closethick&quot;).text(r.closeText).appendTo(a),l=e(&quot;&lt;span&gt;&quot;).uniqueId().addClass(&quot;ui-dialog-title&quot;).html(i).prependTo(u),c=(this.uiDialogButtonPane=e(&quot;&lt;div&gt;&quot;)).addClass(&quot;ui-dialog-buttonpane ui-widget-content ui-helper-clearfix&quot;),h=(this.uiButtonSet=e(&quot;&lt;div&gt;&quot;)).addClass(&quot;ui-dialog-buttonset&quot;).appendTo(c);s.attr({role:&quot;dialog&quot;,&quot;aria-labelledby&quot;:l.attr(&quot;id&quot;)}),u.find(&quot;*&quot;).add(u).disableSelection(),this._hoverable(a),this._focusable(a),r.draggable&amp;&amp;e.fn.draggable&amp;&amp;this._makeDraggable(),r.resizable&amp;&amp;e.fn.resizable&amp;&amp;this._makeResizable(),this._createButtons(r.buttons),this._isOpen=!1,e.fn.bgiframe&amp;&amp;s.bgiframe(),this._on(s,{keydown:function(t){if(!r.modal
 ||t.keyCode!==e.ui.keyCode.TAB)return;var n=e(&quot;:tabbable&quot;,s),i=n.filter(&quot;:first&quot;),o=n.filter(&quot;:last&quot;);if(t.target===o[0]&amp;&amp;!t.shiftKey)return i.focus(1),!1;if(t.target===i[0]&amp;&amp;t.shiftKey)return o.focus(1),!1}})},_init:function(){this.options.autoOpen&amp;&amp;this.open()},_destroy:function(){var e,t=this.oldPosition;this.overlay&amp;&amp;this.overlay.destroy(),this.uiDialog.hide(),this.element.removeClass(&quot;ui-dialog-content ui-widget-content&quot;).hide().appendTo(&quot;body&quot;),this.uiDialog.remove(),this.originalTitle&amp;&amp;this.element.attr(&quot;title&quot;,this.originalTitle),e=t.parent.children().eq(t.index),e.length&amp;&amp;e[0]!==this.element[0]?e.before(this.element):t.parent.append(this.element)},widget:function(){return this.uiDialog},close:function(t){var n=this,r,i;if(!this._isOpen)return;if(!1===this._trigger(&quot;beforeClose&quot;,t))return;return this._isOpen=!1,this.overlay&amp;&amp;this.overlay.destr
 oy(),this.options.hide?this.uiDialog.hide(this.options.hide,function(){n._trigger(&quot;close&quot;,t)}):(this.uiDialog.hide(),this._trigger(&quot;close&quot;,t)),e.ui.dialog.overlay.resize(),this.options.modal&amp;&amp;(r=0,e(&quot;.ui-dialog&quot;).each(function(){this!==n.uiDialog[0]&amp;&amp;(i=e(this).css(&quot;z-index&quot;),isNaN(i)||(r=Math.max(r,i)))}),e.ui.dialog.maxZ=r),this},isOpen:function(){return this._isOpen},moveToTop:function(t,n){var r=this.options,i;return r.modal&amp;&amp;!t||!r.stack&amp;&amp;!r.modal?this._trigger(&quot;focus&quot;,n):(r.zIndex&gt;e.ui.dialog.maxZ&amp;&amp;(e.ui.dialog.maxZ=r.zIndex),this.overlay&amp;&amp;(e.ui.dialog.maxZ+=1,e.ui.dialog.overlay.maxZ=e.ui.dialog.maxZ,this.overlay.$el.css(&quot;z-index&quot;,e.ui.dialog.overlay.maxZ)),i={scrollTop:this.element.scrollTop(),scrollLeft:this.element.scrollLeft()},e.ui.dialog.maxZ+=1,this.uiDialog.css(&quot;z-index&quot;,e.ui.dialog.maxZ),this.element.attr(i),this._trigger(&quot;focus&quot;,
 n),this)},open:function(){if(this._isOpen)return;var t,n=this.options,r=this.uiDialog;return this._size(),this._position(n.position),r.show(n.show),this.overlay=n.modal?new e.ui.dialog.overlay(this):null,this.moveToTop(!0),t=this.element.find(&quot;:tabbable&quot;),t.length||(t=this.uiDialogButtonPane.find(&quot;:tabbable&quot;),t.length||(t=r)),t.eq(0).focus(),this._isOpen=!0,this._trigger(&quot;open&quot;),this},_createButtons:function(t){var n,r,i=this,s=!1;this.uiDialogButtonPane.remove(),this.uiButtonSet.empty(),typeof t==&quot;object&quot;&amp;&amp;t!==null&amp;&amp;e.each(t,function(){return!(s=!0)}),s?(e.each(t,function(t,n){n=e.isFunction(n)?{click:n,text:t}:n;var r=e(&quot;&lt;button type='button'&gt;&quot;).attr(n,!0).unbind(&quot;click&quot;).click(function(){n.click.apply(i.element[0],arguments)}).appendTo(i.uiButtonSet);e.fn.button&amp;&amp;r.button()}),this.uiDialog.addClass(&quot;ui-dialog-buttons&quot;),this.uiDialogButtonPane.appendTo(this.uiDialog)):this.u
 iDialog.removeClass(&quot;ui-dialog-buttons&quot;)},_makeDraggable:function(){function r(e){return{position:e.position,offset:e.offset}}var t=this,n=this.options;this.uiDialog.draggable({cancel:&quot;.ui-dialog-content, .ui-dialog-titlebar-close&quot;,handle:&quot;.ui-dialog-titlebar&quot;,containment:&quot;document&quot;,start:function(n,i){e(this).addClass(&quot;ui-dialog-dragging&quot;),t._trigger(&quot;dragStart&quot;,n,r(i))},drag:function(e,n){t._trigger(&quot;drag&quot;,e,r(n))},stop:function(i,s){n.position=[s.position.left-t.document.scrollLeft(),s.position.top-t.document.scrollTop()],e(this).removeClass(&quot;ui-dialog-dragging&quot;),t._trigger(&quot;dragStop&quot;,i,r(s)),e.ui.dialog.overlay.resize()}})},_makeResizable:function(n){function u(e){return{originalPosition:e.originalPosition,originalSize:e.originalSize,position:e.position,size:e.size}}n=n===t?this.options.resizable:n;var r=this,i=this.options,s=this.uiDialog.css(&quot;position&quot;),o=typeof n==&quot
 ;string&quot;?n:&quot;n,e,s,w,se,sw,ne,nw&quot;;this.uiDialog.resizable({cancel:&quot;.ui-dialog-content&quot;,containment:&quot;document&quot;,alsoResize:this.element,maxWidth:i.maxWidth,maxHeight:i.maxHeight,minWidth:i.minWidth,minHeight:this._minHeight(),handles:o,start:function(t,n){e(this).addClass(&quot;ui-dialog-resizing&quot;),r._trigger(&quot;resizeStart&quot;,t,u(n))},resize:function(e,t){r._trigger(&quot;resize&quot;,e,u(t))},stop:function(t,n){e(this).removeClass(&quot;ui-dialog-resizing&quot;),i.height=e(this).height(),i.width=e(this).width(),r._trigger(&quot;resizeStop&quot;,t,u(n)),e.ui.dialog.overlay.resize()}}).css(&quot;position&quot;,s).find(&quot;.ui-resizable-se&quot;).addClass(&quot;ui-icon ui-icon-grip-diagonal-se&quot;)},_minHeight:function(){var e=this.options;return e.height===&quot;auto&quot;?e.minHeight:Math.min(e.minHeight,e.height)},_position:function(t){var n=[],r=[0,0],i;if(t){if(typeof t==&quot;string&quot;||typeof t==&quot;object&quot;&amp;&
 amp;&quot;0&quot;in t)n=t.split?t.split(&quot; &quot;):[t[0],t[1]],n.length===1&amp;&amp;(n[1]=n[0]),e.each([&quot;left&quot;,&quot;top&quot;],function(e,t){+n[e]===n[e]&amp;&amp;(r[e]=n[e],n[e]=t)}),t={my:n.join(&quot; &quot;),at:n.join(&quot; &quot;),offset:r.join(&quot; &quot;)};t=e.extend({},e.ui.dialog.prototype.options.position,t)}else t=e.ui.dialog.prototype.options.position;i=this.uiDialog.is(&quot;:visible&quot;),i||this.uiDialog.show(),this.uiDialog.position(t),i||this.uiDialog.hide()},_setOptions:function(t){var n=this,s={},o=!1;e.each(t,function(e,t){n._setOption(e,t),e in r&amp;&amp;(o=!0),e in i&amp;&amp;(s[e]=t)}),o&amp;&amp;this._size(),this.uiDialog.is(&quot;:data(resizable)&quot;)&amp;&amp;this.uiDialog.resizable(&quot;option&quot;,s)},_setOption:function(t,r){var i,s,o=this.uiDialog;switch(t){case&quot;buttons&quot;:this._createButtons(r);break;case&quot;closeText&quot;:this.uiDialogTitlebarCloseText.text(&quot;&quot;+r);break;case&quot;dialogClass&quot;:o
 .removeClass(this.options.dialogClass).addClass(n+r);break;case&quot;disabled&quot;:r?o.addClass(&quot;ui-dialog-disabled&quot;):o.removeClass(&quot;ui-dialog-disabled&quot;);break;case&quot;draggable&quot;:i=o.is(&quot;:data(draggable)&quot;),i&amp;&amp;!r&amp;&amp;o.draggable(&quot;destroy&quot;),!i&amp;&amp;r&amp;&amp;this._makeDraggable();break;case&quot;position&quot;:this._position(r);break;case&quot;resizable&quot;:s=o.is(&quot;:data(resizable)&quot;),s&amp;&amp;!r&amp;&amp;o.resizable(&quot;destroy&quot;),s&amp;&amp;typeof r==&quot;string&quot;&amp;&amp;o.resizable(&quot;option&quot;,&quot;handles&quot;,r),!s&amp;&amp;r!==!1&amp;&amp;this._makeResizable(r);break;case&quot;title&quot;:e(&quot;.ui-dialog-title&quot;,this.uiDialogTitlebar).html(&quot;&quot;+(r||&quot;&amp;#160;&quot;))}this._super(t,r)},_size:function(){var t,n,r,i=this.options,s=this.uiDialog.is(&quot;:visible&quot;);this.element.show().css({width:&quot;auto&quot;,minHeight:0,height:0}),i.minWidth&gt;i
 .width&amp;&amp;(i.width=i.minWidth),t=this.uiDialog.css({height:&quot;auto&quot;,width:i.width}).outerHeight(),n=Math.max(0,i.minHeight-t),i.height===&quot;auto&quot;?e.support.minHeight?this.element.css({minHeight:n,height:&quot;auto&quot;}):(this.uiDialog.show(),r=this.element.css(&quot;height&quot;,&quot;auto&quot;).height(),s||this.uiDialog.hide(),this.element.height(Math.max(r,n))):this.element.height(Math.max(i.height-t,0)),this.uiDialog.is(&quot;:data(resizable)&quot;)&amp;&amp;this.uiDialog.resizable(&quot;option&quot;,&quot;minHeight&quot;,this._minHeight())}}),e.extend(e.ui.dialog,{uuid:0,maxZ:0,getTitleId:function(e){var t=e.attr(&quot;id&quot;);return t||(this.uuid+=1,t=this.uuid),&quot;ui-dialog-title-&quot;+t},overlay:function(t){this.$el=e.ui.dialog.overlay.create(t)}}),e.extend(e.ui.dialog.overlay,{instances:[],oldInstances:[],maxZ:0,events:e.map(&quot;focus,mousedown,mouseup,keydown,keypress,click&quot;.split(&quot;,&quot;),function(e){return e+&quot;.dialo
 g-overlay&quot;}).join(&quot; &quot;),create:function(t){this.instances.length===0&amp;&amp;(setTimeout(function(){e.ui.dialog.overlay.instances.length&amp;&amp;e(document).bind(e.ui.dialog.overlay.events,function(t){if(e(t.target).zIndex()&lt;e.ui.dialog.overlay.maxZ)return!1})},1),e(window).bind(&quot;resize.dialog-overlay&quot;,e.ui.dialog.overlay.resize));var n=this.oldInstances.pop()||e(&quot;&lt;div&gt;&quot;).addClass(&quot;ui-widget-overlay&quot;);return e(document).bind(&quot;keydown.dialog-overlay&quot;,function(r){var i=e.ui.dialog.overlay.instances;i.length!==0&amp;&amp;i[i.length-1]===n&amp;&amp;t.options.closeOnEscape&amp;&amp;!r.isDefaultPrevented()&amp;&amp;r.keyCode&amp;&amp;r.keyCode===e.ui.keyCode.ESCAPE&amp;&amp;(t.close(r),r.preventDefault())}),n.appendTo(document.body).css({width:this.width(),height:this.height()}),e.fn.bgiframe&amp;&amp;n.bgiframe(),this.instances.push(n),n},destroy:function(t){var n=e.inArray(t,this.instances),r=0;n!==-1&amp;&amp;this
 .oldInstances.push(this.instances.splice(n,1)[0]),this.instances.length===0&amp;&amp;e([document,window]).unbind(&quot;.dialog-overlay&quot;),t.height(0).width(0).remove(),e.each(this.instances,function(){r=Math.max(r,this.css(&quot;z-index&quot;))}),this.maxZ=r},height:function(){var t,n;return e.browser.msie?(t=Math.max(document.documentElement.scrollHeight,document.body.scrollHeight),n=Math.max(document.documentElement.offsetHeight,document.body.offsetHeight),t&lt;n?e(window).height()+&quot;px&quot;:t+&quot;px&quot;):e(document).height()+&quot;px&quot;},width:function(){var t,n;return e.browser.msie?(t=Math.max(document.documentElement.scrollWidth,document.body.scrollWidth),n=Math.max(document.documentElement.offsetWidth,document.body.offsetWidth),t&lt;n?e(window).width()+&quot;px&quot;:t+&quot;px&quot;):e(document).width()+&quot;px&quot;},resize:function(){var t=e([]);e.each(e.ui.dialog.overlay.instances,function(){t=t.add(this)}),t.css({width:0,height:0}).css({width:e.u
 i.dialog.overlay.width(),height:e.ui.dialog.overlay.height()})}}),e.extend(e.ui.dialog.overlay.prototype,{destroy:function(){e.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 (22181 => 22182)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-includes/js/jquery/ui/jquery.ui.draggable.min.js        2012-10-11 03:29:02 UTC (rev 22181)
+++ trunk/wp-includes/js/jquery/ui/jquery.ui.draggable.min.js        2012-10-11 03:34:19 UTC (rev 22182)
</span><span class="lines">@@ -1,5 +1,5 @@
</span><del>-/*! jQuery UI - v1.9.0pre - 2012-08-29
</del><ins>+/*! jQuery UI - v1.9.0 - 2012-10-05
</ins><span class="cx"> * http://jqueryui.com
</span><span class="cx"> * Includes: jquery.ui.draggable.js
</span><span class="cx"> * Copyright 2012 jQuery Foundation and other contributors; Licensed MIT */
</span><del>-(function(e,t){e.widget(&quot;ui.draggable&quot;,e.ui.mouse,{version:&quot;@VERSION&quot;,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(){this.element.removeClass(&quot;ui-draggable ui-draggable-dr
 agging ui-draggable-disabled&quot;),this._mouseDestroy()},_mouseCapture:function(t){var n=this.options;return this.helper||n.disabled||e(t.target).is(&quot;.ui-resizable-handle&quot;)?!1:(this.handle=this._getHandle(t),this.handle?(e(n.iframeFix===!0?&quot;iframe&quot;:n.iframeFix).each(function(){e('&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(e(this).offset()).appendTo(&quot;body&quot;)}),!0):!1)},_mouseStart:function(t){var n=this.options;return this.helper=this._createHelper(t),this.helper.addClass(&quot;ui-draggable-dragging&quot;),this._cacheHelperProportions(),e.ui.ddmanager&amp;&amp;(e.ui.ddmanager.current=this),this._cacheMargins(),this.cssPosition=this.helper.css(&quot;position&quot;),this.scrollParent=this.helper.scrollParent(),this.offset=this.positionA
 bs=this.element.offset(),this.offset={top:this.offset.top-this.margins.top,left:this.offset.left-this.margins.left},e.extend(this.offset,{click:{left:t.pageX-this.offset.left,top:t.pageY-this.offset.top},parent:this._getParentOffset(),relative:this._getRelativeOffset()}),this.originalPosition=this.position=this._generatePosition(t),this.originalPageX=t.pageX,this.originalPageY=t.pageY,n.cursorAt&amp;&amp;this._adjustOffsetFromHelper(n.cursorAt),n.containment&amp;&amp;this._setContainment(),this._trigger(&quot;start&quot;,t)===!1?(this._clear(),!1):(this._cacheHelperProportions(),e.ui.ddmanager&amp;&amp;!n.dropBehaviour&amp;&amp;e.ui.ddmanager.prepareOffsets(this,t),this._mouseDrag(t,!0),e.ui.ddmanager&amp;&amp;e.ui.ddmanager.dragStart(this,t),!0)},_mouseDrag:function(t,n){this.position=this._generatePosition(t),this.positionAbs=this._convertPositionTo(&quot;absolute&quot;);if(!n){var r=this._uiHash();if(this._trigger(&quot;drag&quot;,t,r)===!1)return this._mouseUp({}),!1;thi
 s.position=r.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 e.ui.ddmanager&amp;&amp;e.ui.ddmanager.drag(this,t),!1},_mouseStop:function(t){var n=!1;e.ui.ddmanager&amp;&amp;!this.options.dropBehaviour&amp;&amp;(n=e.ui.ddmanager.drop(this,t)),this.dropped&amp;&amp;(n=this.dropped,this.dropped=!1);var r=this.element[0],i=!1;while(r&amp;&amp;(r=r.parentNode))r==document&amp;&amp;(i=!0);if(!i&amp;&amp;this.options.helper===&quot;original&quot;)return!1;if(this.options.revert==&quot;invalid&quot;&amp;&amp;!n||this.options.revert==&quot;valid&quot;&amp;&amp;n||this.options.revert===!0||e.isFunction(this.options.revert)&amp;&amp;this.options.revert.call(this.element,n)){var s=this;e(this.helper).animate(this.originalPosition,parseInt(this.options.revertDuration,10),function(){s._trigger(
 &quot;stop&quot;,t)!==!1&amp;&amp;s._clear()})}else this._trigger(&quot;stop&quot;,t)!==!1&amp;&amp;this._clear();return!1},_mouseUp:function(t){return this.options.iframeFix===!0&amp;&amp;e(&quot;div.ui-draggable-iframeFix&quot;).each(function(){this.parentNode.removeChild(this)}),e.ui.ddmanager&amp;&amp;e.ui.ddmanager.dragStop(this,t),e.ui.mouse.prototype._mouseUp.call(this,t)},cancel:function(){return this.helper.is(&quot;.ui-draggable-dragging&quot;)?this._mouseUp({}):this._clear(),this},_getHandle:function(t){var n=!this.options.handle||!e(this.options.handle,this.element).length?!0:!1;return e(this.options.handle,this.element).find(&quot;*&quot;).andSelf().each(function(){this==t.target&amp;&amp;(n=!0)}),n},_createHelper:function(t){var n=this.options,r=e.isFunction(n.helper)?e(n.helper.apply(this.element[0],[t])):n.helper==&quot;clone&quot;?this.element.clone().removeAttr(&quot;id&quot;):this.element;return r.parents(&quot;body&quot;).length||r.appendTo(n.appendTo==&q
 uot;parent&quot;?this.element[0].parentNode:n.appendTo),r[0]!=this.element[0]&amp;&amp;!/(fixed|absolute)/.test(r.css(&quot;position&quot;))&amp;&amp;r.css(&quot;position&quot;,&quot;absolute&quot;),r},_adjustOffsetFromHelper:function(t){typeof t==&quot;string&quot;&amp;&amp;(t=t.split(&quot; &quot;)),e.isArray(t)&amp;&amp;(t={left:+t[0],top:+t[1]||0}),&quot;left&quot;in t&amp;&amp;(this.offset.click.left=t.left+this.margins.left),&quot;right&quot;in t&amp;&amp;(this.offset.click.left=this.helperProportions.width-t.right+this.margins.left),&quot;top&quot;in t&amp;&amp;(this.offset.click.top=t.top+this.margins.top),&quot;bottom&quot;in t&amp;&amp;(this.offset.click.top=this.helperProportions.height-t.bottom+this.margins.top)},_getParentOffset:function(){this.offsetParent=this.helper.offsetParent();var t=this.offsetParent.offset();this.cssPosition==&quot;absolute&quot;&amp;&amp;this.scrollParent[0]!=document&amp;&amp;e.contains(this.scrollParent[0],this.offsetParent[0])&amp;&a
 mp;(t.left+=this.scrollParent.scrollLeft(),t.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;e.browser.msie)t={top:0,left:0};return{top:t.top+(parseInt(this.offsetParent.css(&quot;borderTopWidth&quot;),10)||0),left:t.left+(parseInt(this.offsetParent.css(&quot;borderLeftWidth&quot;),10)||0)}},_getRelativeOffset:function(){if(this.cssPosition==&quot;relative&quot;){var e=this.element.position();return{top:e.top-(parseInt(this.helper.css(&quot;top&quot;),10)||0)+this.scrollParent.scrollTop(),left:e.left-(parseInt(this.helper.css(&quot;left&quot;),10)||0)+this.scrollParent.scrollLeft()}}return{top:0,left:0}},_cacheMargins:function(){this.margins={left:parseInt(this.element.css(&quot;marginLeft&quot;),10)||0,top:parseInt(this.element.css(&quot;marginTop&quot;),10)||0,right:parseInt(this.element.css(&quot;marginRight&quot;),10)||0,bottom:parseInt(
 this.element.css(&quot;marginBottom&quot;),10)||0}},_cacheHelperProportions:function(){this.helperProportions={width:this.helper.outerWidth(),height:this.helper.outerHeight()}},_setContainment:function(){var t=this.options;t.containment==&quot;parent&quot;&amp;&amp;(t.containment=this.helper[0].parentNode);if(t.containment==&quot;document&quot;||t.containment==&quot;window&quot;)this.containment=[t.containment==&quot;document&quot;?0:e(window).scrollLeft()-this.offset.relative.left-this.offset.parent.left,t.containment==&quot;document&quot;?0:e(window).scrollTop()-this.offset.relative.top-this.offset.parent.top,(t.containment==&quot;document&quot;?0:e(window).scrollLeft())+e(t.containment==&quot;document&quot;?document:window).width()-this.helperProportions.width-this.margins.left,(t.containment==&quot;document&quot;?0:e(window).scrollTop())+(e(t.containment==&quot;document&quot;?document:window).height()||document.body.parentNode.scrollHeight)-this.helperProportions.height-
 this.margins.top];if(!/^(document|window|parent)$/.test(t.containment)&amp;&amp;t.containment.constructor!=Array){var n=e(t.containment),r=n[0];if(!r)return;var i=n.offset(),s=e(r).css(&quot;overflow&quot;)!=&quot;hidden&quot;;this.containment=[(parseInt(e(r).css(&quot;borderLeftWidth&quot;),10)||0)+(parseInt(e(r).css(&quot;paddingLeft&quot;),10)||0),(parseInt(e(r).css(&quot;borderTopWidth&quot;),10)||0)+(parseInt(e(r).css(&quot;paddingTop&quot;),10)||0),(s?Math.max(r.scrollWidth,r.offsetWidth):r.offsetWidth)-(parseInt(e(r).css(&quot;borderLeftWidth&quot;),10)||0)-(parseInt(e(r).css(&quot;paddingRight&quot;),10)||0)-this.helperProportions.width-this.margins.left-this.margins.right,(s?Math.max(r.scrollHeight,r.offsetHeight):r.offsetHeight)-(parseInt(e(r).css(&quot;borderTopWidth&quot;),10)||0)-(parseInt(e(r).css(&quot;paddingBottom&quot;),10)||0)-this.helperProportions.height-this.margins.top-this.margins.bottom],this.relative_container=n}else t.containment.constructor==Array
 &amp;&amp;(this.containment=t.containment)},_convertPositionTo:function(t,n){n||(n=this.position);var r=t==&quot;absolute&quot;?1:-1,i=this.options,s=this.cssPosition!=&quot;absolute&quot;||this.scrollParent[0]!=document&amp;&amp;!!e.contains(this.scrollParent[0],this.offsetParent[0])?this.scrollParent:this.offsetParent,o=/(html|body)/i.test(s[0].tagName);return{top:n.top+this.offset.relative.top*r+this.offset.parent.top*r-(this.cssPosition==&quot;fixed&quot;?-this.scrollParent.scrollTop():o?0:s.scrollTop())*r,left:n.left+this.offset.relative.left*r+this.offset.parent.left*r-(this.cssPosition==&quot;fixed&quot;?-this.scrollParent.scrollLeft():o?0:s.scrollLeft())*r}},_generatePosition:function(t){var n=this.options,r=this.cssPosition!=&quot;absolute&quot;||this.scrollParent[0]!=document&amp;&amp;!!e.contains(this.scrollParent[0],this.offsetParent[0])?this.scrollParent:this.offsetParent,i=/(html|body)/i.test(r[0].tagName),s=t.pageX,o=t.pageY;if(this.originalPosition){var u;if(
 this.containment){if(this.relative_container){var a=this.relative_container.offset();u=[this.containment[0]+a.left,this.containment[1]+a.top,this.containment[2]+a.left,this.containment[3]+a.top]}else u=this.containment;t.pageX-this.offset.click.left&lt;u[0]&amp;&amp;(s=u[0]+this.offset.click.left),t.pageY-this.offset.click.top&lt;u[1]&amp;&amp;(o=u[1]+this.offset.click.top),t.pageX-this.offset.click.left&gt;u[2]&amp;&amp;(s=u[2]+this.offset.click.left),t.pageY-this.offset.click.top&gt;u[3]&amp;&amp;(o=u[3]+this.offset.click.top)}if(n.grid){var f=n.grid[1]?this.originalPageY+Math.round((o-this.originalPageY)/n.grid[1])*n.grid[1]:this.originalPageY;o=u?f-this.offset.click.top&lt;u[1]||f-this.offset.click.top&gt;u[3]?f-this.offset.click.top&lt;u[1]?f+n.grid[1]:f-n.grid[1]:f:f;var l=n.grid[0]?this.originalPageX+Math.round((s-this.originalPageX)/n.grid[0])*n.grid[0]:this.originalPageX;s=u?l-this.offset.click.left&lt;u[0]||l-this.offset.click.left&gt;u[2]?l-this.offset.click.left&
 lt;u[0]?l+n.grid[0]:l-n.grid[0]:l:l}}return{top:o-this.offset.click.top-this.offset.relative.top-this.offset.parent.top+(this.cssPosition==&quot;fixed&quot;?-this.scrollParent.scrollTop():i?0:r.scrollTop()),left:s-this.offset.click.left-this.offset.relative.left-this.offset.parent.left+(this.cssPosition==&quot;fixed&quot;?-this.scrollParent.scrollLeft():i?0:r.scrollLeft())}},_clear:function(){this.helper.removeClass(&quot;ui-draggable-dragging&quot;),this.helper[0]!=this.element[0]&amp;&amp;!this.cancelHelperRemoval&amp;&amp;this.helper.remove(),this.helper=null,this.cancelHelperRemoval=!1},_trigger:function(t,n,r){return r=r||this._uiHash(),e.ui.plugin.call(this,t,[n,r]),t==&quot;drag&quot;&amp;&amp;(this.positionAbs=this._convertPositionTo(&quot;absolute&quot;)),e.Widget.prototype._trigger.call(this,t,n,r)},plugins:{},_uiHash:function(e){return{helper:this.helper,position:this.position,originalPosition:this.originalPosition,offset:this.positionAbs}}}),e.ui.plugin.add(&quot
 ;draggable&quot;,&quot;connectToSortable&quot;,{start:function(t,n){var r=e(this).data(&quot;draggable&quot;),i=r.options,s=e.extend({},n,{item:r.element});r.sortables=[],e(i.connectToSortable).each(function(){var n=e.data(this,&quot;sortable&quot;);n&amp;&amp;!n.options.disabled&amp;&amp;(r.sortables.push({instance:n,shouldRevert:n.options.revert}),n.refreshPositions(),n._trigger(&quot;activate&quot;,t,s))})},stop:function(t,n){var r=e(this).data(&quot;draggable&quot;),i=e.extend({},n,{item:r.element});e.each(r.sortables,function(){this.instance.isOver?(this.instance.isOver=0,r.cancelHelperRemoval=!0,this.instance.cancelHelperRemoval=!1,this.shouldRevert&amp;&amp;(this.instance.options.revert=!0),this.instance._mouseStop(t),this.instance.options.helper=this.instance.options._helper,r.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;dea
 ctivate&quot;,t,i))})},drag:function(t,n){var r=e(this).data(&quot;draggable&quot;),i=this,s=function(t){var n=this.offset.click.top,r=this.offset.click.left,i=this.positionAbs.top,s=this.positionAbs.left,o=t.height,u=t.width,a=t.top,f=t.left;return e.ui.isOver(i+n,s+r,a,f,o,u)};e.each(r.sortables,function(s){this.instance.positionAbs=r.positionAbs,this.instance.helperProportions=r.helperProportions,this.instance.offset.click=r.offset.click,this.instance._intersectsWith(this.instance.containerCache)?(this.instance.isOver||(this.instance.isOver=1,this.instance.currentItem=e(i).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 n.helper[0]},t.target=this.instance.currentItem[0],this.instance._mouseCapture(t,!0),this.instance._mouseStart(t,!0,!0),this.instance.offset.click.top=r.offset.click.top,this.instance.offset.click.l
 eft=r.offset.click.left,this.instance.offset.parent.left-=r.offset.parent.left-this.instance.offset.parent.left,this.instance.offset.parent.top-=r.offset.parent.top-this.instance.offset.parent.top,r._trigger(&quot;toSortable&quot;,t),r.dropped=this.instance.element,r.currentItem=r.element,this.instance.fromOutside=r),this.instance.currentItem&amp;&amp;this.instance._mouseDrag(t)):this.instance.isOver&amp;&amp;(this.instance.isOver=0,this.instance.cancelHelperRemoval=!0,this.instance.options.revert=!1,this.instance._trigger(&quot;out&quot;,t,this.instance._uiHash(this.instance)),this.instance._mouseStop(t,!0),this.instance.options.helper=this.instance.options._helper,this.instance.currentItem.remove(),this.instance.placeholder&amp;&amp;this.instance.placeholder.remove(),r._trigger(&quot;fromSortable&quot;,t),r.dropped=!1)})}}),e.ui.plugin.add(&quot;draggable&quot;,&quot;cursor&quot;,{start:function(t,n){var r=e(&quot;body&quot;),i=e(this).data(&quot;draggable&quot;).options;r
 .css(&quot;cursor&quot;)&amp;&amp;(i._cursor=r.css(&quot;cursor&quot;)),r.css(&quot;cursor&quot;,i.cursor)},stop:function(t,n){var r=e(this).data(&quot;draggable&quot;).options;r._cursor&amp;&amp;e(&quot;body&quot;).css(&quot;cursor&quot;,r._cursor)}}),e.ui.plugin.add(&quot;draggable&quot;,&quot;opacity&quot;,{start:function(t,n){var r=e(n.helper),i=e(this).data(&quot;draggable&quot;).options;r.css(&quot;opacity&quot;)&amp;&amp;(i._opacity=r.css(&quot;opacity&quot;)),r.css(&quot;opacity&quot;,i.opacity)},stop:function(t,n){var r=e(this).data(&quot;draggable&quot;).options;r._opacity&amp;&amp;e(n.helper).css(&quot;opacity&quot;,r._opacity)}}),e.ui.plugin.add(&quot;draggable&quot;,&quot;scroll&quot;,{start:function(t,n){var r=e(this).data(&quot;draggable&quot;);r.scrollParent[0]!=document&amp;&amp;r.scrollParent[0].tagName!=&quot;HTML&quot;&amp;&amp;(r.overflowOffset=r.scrollParent.offset())},drag:function(t,n){var r=e(this).data(&quot;draggable&quot;),i=r.options,s=!1;if(r.sc
 rollParent[0]!=document&amp;&amp;r.scrollParent[0].tagName!=&quot;HTML&quot;){if(!i.axis||i.axis!=&quot;x&quot;)r.overflowOffset.top+r.scrollParent[0].offsetHeight-t.pageY&lt;i.scrollSensitivity?r.scrollParent[0].scrollTop=s=r.scrollParent[0].scrollTop+i.scrollSpeed:t.pageY-r.overflowOffset.top&lt;i.scrollSensitivity&amp;&amp;(r.scrollParent[0].scrollTop=s=r.scrollParent[0].scrollTop-i.scrollSpeed);if(!i.axis||i.axis!=&quot;y&quot;)r.overflowOffset.left+r.scrollParent[0].offsetWidth-t.pageX&lt;i.scrollSensitivity?r.scrollParent[0].scrollLeft=s=r.scrollParent[0].scrollLeft+i.scrollSpeed:t.pageX-r.overflowOffset.left&lt;i.scrollSensitivity&amp;&amp;(r.scrollParent[0].scrollLeft=s=r.scrollParent[0].scrollLeft-i.scrollSpeed)}else{if(!i.axis||i.axis!=&quot;x&quot;)t.pageY-e(document).scrollTop()&lt;i.scrollSensitivity?s=e(document).scrollTop(e(document).scrollTop()-i.scrollSpeed):e(window).height()-(t.pageY-e(document).scrollTop())&lt;i.scrollSensitivity&amp;&amp;(s=e(document).s
 crollTop(e(document).scrollTop()+i.scrollSpeed));if(!i.axis||i.axis!=&quot;y&quot;)t.pageX-e(document).scrollLeft()&lt;i.scrollSensitivity?s=e(document).scrollLeft(e(document).scrollLeft()-i.scrollSpeed):e(window).width()-(t.pageX-e(document).scrollLeft())&lt;i.scrollSensitivity&amp;&amp;(s=e(document).scrollLeft(e(document).scrollLeft()+i.scrollSpeed))}s!==!1&amp;&amp;e.ui.ddmanager&amp;&amp;!i.dropBehaviour&amp;&amp;e.ui.ddmanager.prepareOffsets(r,t)}}),e.ui.plugin.add(&quot;draggable&quot;,&quot;snap&quot;,{start:function(t,n){var r=e(this).data(&quot;draggable&quot;),i=r.options;r.snapElements=[],e(i.snap.constructor!=String?i.snap.items||&quot;:data(draggable)&quot;:i.snap).each(function(){var t=e(this),n=t.offset();this!=r.element[0]&amp;&amp;r.snapElements.push({item:this,width:t.outerWidth(),height:t.outerHeight(),top:n.top,left:n.left})})},drag:function(t,n){var r=e(this).data(&quot;draggable&quot;),i=r.options,s=i.snapTolerance,o=n.offset.left,u=o+r.helperProportio
 ns.width,a=n.offset.top,f=a+r.helperProportions.height;for(var l=r.snapElements.length-1;l&gt;=0;l--){var c=r.snapElements[l].left,h=c+r.snapElements[l].width,p=r.snapElements[l].top,d=p+r.snapElements[l].height;if(!(c-s&lt;o&amp;&amp;o&lt;h+s&amp;&amp;p-s&lt;a&amp;&amp;a&lt;d+s||c-s&lt;o&amp;&amp;o&lt;h+s&amp;&amp;p-s&lt;f&amp;&amp;f&lt;d+s||c-s&lt;u&amp;&amp;u&lt;h+s&amp;&amp;p-s&lt;a&amp;&amp;a&lt;d+s||c-s&lt;u&amp;&amp;u&lt;h+s&amp;&amp;p-s&lt;f&amp;&amp;f&lt;d+s)){r.snapElements[l].snapping&amp;&amp;r.options.snap.release&amp;&amp;r.options.snap.release.call(r.element,t,e.extend(r._uiHash(),{snapItem:r.snapElements[l].item})),r.snapElements[l].snapping=!1;continue}if(i.snapMode!=&quot;inner&quot;){var v=Math.abs(p-f)&lt;=s,m=Math.abs(d-a)&lt;=s,g=Math.abs(c-u)&lt;=s,y=Math.abs(h-o)&lt;=s;v&amp;&amp;(n.position.top=r._convertPositionTo(&quot;relative&quot;,{top:p-r.helperProportions.height,left:0}).top-r.margins.top),m&amp;&amp;(n.position.top=r._convertPositionTo(&quot;
 relative&quot;,{top:d,left:0}).top-r.margins.top),g&amp;&amp;(n.position.left=r._convertPositionTo(&quot;relative&quot;,{top:0,left:c-r.helperProportions.width}).left-r.margins.left),y&amp;&amp;(n.position.left=r._convertPositionTo(&quot;relative&quot;,{top:0,left:h}).left-r.margins.left)}var b=v||m||g||y;if(i.snapMode!=&quot;outer&quot;){var v=Math.abs(p-a)&lt;=s,m=Math.abs(d-f)&lt;=s,g=Math.abs(c-o)&lt;=s,y=Math.abs(h-u)&lt;=s;v&amp;&amp;(n.position.top=r._convertPositionTo(&quot;relative&quot;,{top:p,left:0}).top-r.margins.top),m&amp;&amp;(n.position.top=r._convertPositionTo(&quot;relative&quot;,{top:d-r.helperProportions.height,left:0}).top-r.margins.top),g&amp;&amp;(n.position.left=r._convertPositionTo(&quot;relative&quot;,{top:0,left:c}).left-r.margins.left),y&amp;&amp;(n.position.left=r._convertPositionTo(&quot;relative&quot;,{top:0,left:h-r.helperProportions.width}).left-r.margins.left)}!r.snapElements[l].snapping&amp;&amp;(v||m||g||y||b)&amp;&amp;r.options.snap.snap
 &amp;&amp;r.options.snap.snap.call(r.element,t,e.extend(r._uiHash(),{snapItem:r.snapElements[l].item})),r.snapElements[l].snapping=v||m||g||y||b}}}),e.ui.plugin.add(&quot;draggable&quot;,&quot;stack&quot;,{start:function(t,n){var r=e(this).data(&quot;draggable&quot;).options,i=e.makeArray(e(r.stack)).sort(function(t,n){return(parseInt(e(t).css(&quot;zIndex&quot;),10)||0)-(parseInt(e(n).css(&quot;zIndex&quot;),10)||0)});if(!i.length)return;var s=parseInt(i[0].style.zIndex)||0;e(i).each(function(e){this.style.zIndex=s+e}),this[0].style.zIndex=s+i.length}}),e.ui.plugin.add(&quot;draggable&quot;,&quot;zIndex&quot;,{start:function(t,n){var r=e(n.helper),i=e(this).data(&quot;draggable&quot;).options;r.css(&quot;zIndex&quot;)&amp;&amp;(i._zIndex=r.css(&quot;zIndex&quot;)),r.css(&quot;zIndex&quot;,i.zIndex)},stop:function(t,n){var r=e(this).data(&quot;draggable&quot;).options;r._zIndex&amp;&amp;e(n.helper).css(&quot;zIndex&quot;,r._zIndex)}})})(jQuery);
</del><span class="cx">\ No newline at end of file
</span><ins>+(function(e,t){e.widget(&quot;ui.draggable&quot;,e.ui.mouse,{version:&quot;1.9.0&quot;,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(){this.element.removeClass(&quot;ui-draggable ui-draggable-dragg
 ing ui-draggable-disabled&quot;),this._mouseDestroy()},_mouseCapture:function(t){var n=this.options;return this.helper||n.disabled||e(t.target).is(&quot;.ui-resizable-handle&quot;)?!1:(this.handle=this._getHandle(t),this.handle?(e(n.iframeFix===!0?&quot;iframe&quot;:n.iframeFix).each(function(){e('&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(e(this).offset()).appendTo(&quot;body&quot;)}),!0):!1)},_mouseStart:function(t){var n=this.options;return this.helper=this._createHelper(t),this.helper.addClass(&quot;ui-draggable-dragging&quot;),this._cacheHelperProportions(),e.ui.ddmanager&amp;&amp;(e.ui.ddmanager.current=this),this._cacheMargins(),this.cssPosition=this.helper.css(&quot;position&quot;),this.scrollParent=this.helper.scrollParent(),this.offset=this.positionAbs=
 this.element.offset(),this.offset={top:this.offset.top-this.margins.top,left:this.offset.left-this.margins.left},e.extend(this.offset,{click:{left:t.pageX-this.offset.left,top:t.pageY-this.offset.top},parent:this._getParentOffset(),relative:this._getRelativeOffset()}),this.originalPosition=this.position=this._generatePosition(t),this.originalPageX=t.pageX,this.originalPageY=t.pageY,n.cursorAt&amp;&amp;this._adjustOffsetFromHelper(n.cursorAt),n.containment&amp;&amp;this._setContainment(),this._trigger(&quot;start&quot;,t)===!1?(this._clear(),!1):(this._cacheHelperProportions(),e.ui.ddmanager&amp;&amp;!n.dropBehaviour&amp;&amp;e.ui.ddmanager.prepareOffsets(this,t),this._mouseDrag(t,!0),e.ui.ddmanager&amp;&amp;e.ui.ddmanager.dragStart(this,t),!0)},_mouseDrag:function(t,n){this.position=this._generatePosition(t),this.positionAbs=this._convertPositionTo(&quot;absolute&quot;);if(!n){var r=this._uiHash();if(this._trigger(&quot;drag&quot;,t,r)===!1)return this._mouseUp({}),!1;this.p
 osition=r.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 e.ui.ddmanager&amp;&amp;e.ui.ddmanager.drag(this,t),!1},_mouseStop:function(t){var n=!1;e.ui.ddmanager&amp;&amp;!this.options.dropBehaviour&amp;&amp;(n=e.ui.ddmanager.drop(this,t)),this.dropped&amp;&amp;(n=this.dropped,this.dropped=!1);var r=this.element[0],i=!1;while(r&amp;&amp;(r=r.parentNode))r==document&amp;&amp;(i=!0);if(!i&amp;&amp;this.options.helper===&quot;original&quot;)return!1;if(this.options.revert==&quot;invalid&quot;&amp;&amp;!n||this.options.revert==&quot;valid&quot;&amp;&amp;n||this.options.revert===!0||e.isFunction(this.options.revert)&amp;&amp;this.options.revert.call(this.element,n)){var s=this;e(this.helper).animate(this.originalPosition,parseInt(this.options.revertDuration,10),function(){s._trigger(&qu
 ot;stop&quot;,t)!==!1&amp;&amp;s._clear()})}else this._trigger(&quot;stop&quot;,t)!==!1&amp;&amp;this._clear();return!1},_mouseUp:function(t){return e(&quot;div.ui-draggable-iframeFix&quot;).each(function(){this.parentNode.removeChild(this)}),e.ui.ddmanager&amp;&amp;e.ui.ddmanager.dragStop(this,t),e.ui.mouse.prototype._mouseUp.call(this,t)},cancel:function(){return this.helper.is(&quot;.ui-draggable-dragging&quot;)?this._mouseUp({}):this._clear(),this},_getHandle:function(t){var n=!this.options.handle||!e(this.options.handle,this.element).length?!0:!1;return e(this.options.handle,this.element).find(&quot;*&quot;).andSelf().each(function(){this==t.target&amp;&amp;(n=!0)}),n},_createHelper:function(t){var n=this.options,r=e.isFunction(n.helper)?e(n.helper.apply(this.element[0],[t])):n.helper==&quot;clone&quot;?this.element.clone().removeAttr(&quot;id&quot;):this.element;return r.parents(&quot;body&quot;).length||r.appendTo(n.appendTo==&quot;parent&quot;?this.element[0].parentN
 ode:n.appendTo),r[0]!=this.element[0]&amp;&amp;!/(fixed|absolute)/.test(r.css(&quot;position&quot;))&amp;&amp;r.css(&quot;position&quot;,&quot;absolute&quot;),r},_adjustOffsetFromHelper:function(t){typeof t==&quot;string&quot;&amp;&amp;(t=t.split(&quot; &quot;)),e.isArray(t)&amp;&amp;(t={left:+t[0],top:+t[1]||0}),&quot;left&quot;in t&amp;&amp;(this.offset.click.left=t.left+this.margins.left),&quot;right&quot;in t&amp;&amp;(this.offset.click.left=this.helperProportions.width-t.right+this.margins.left),&quot;top&quot;in t&amp;&amp;(this.offset.click.top=t.top+this.margins.top),&quot;bottom&quot;in t&amp;&amp;(this.offset.click.top=this.helperProportions.height-t.bottom+this.margins.top)},_getParentOffset:function(){this.offsetParent=this.helper.offsetParent();var t=this.offsetParent.offset();this.cssPosition==&quot;absolute&quot;&amp;&amp;this.scrollParent[0]!=document&amp;&amp;e.contains(this.scrollParent[0],this.offsetParent[0])&amp;&amp;(t.left+=this.scrollParent.scrollLeft
 (),t.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;e.browser.msie)t={top:0,left:0};return{top:t.top+(parseInt(this.offsetParent.css(&quot;borderTopWidth&quot;),10)||0),left:t.left+(parseInt(this.offsetParent.css(&quot;borderLeftWidth&quot;),10)||0)}},_getRelativeOffset:function(){if(this.cssPosition==&quot;relative&quot;){var e=this.element.position();return{top:e.top-(parseInt(this.helper.css(&quot;top&quot;),10)||0)+this.scrollParent.scrollTop(),left:e.left-(parseInt(this.helper.css(&quot;left&quot;),10)||0)+this.scrollParent.scrollLeft()}}return{top:0,left:0}},_cacheMargins:function(){this.margins={left:parseInt(this.element.css(&quot;marginLeft&quot;),10)||0,top:parseInt(this.element.css(&quot;marginTop&quot;),10)||0,right:parseInt(this.element.css(&quot;marginRight&quot;),10)||0,bottom:parseInt(this.element.css(&quot;marginBottom&quot
 ;),10)||0}},_cacheHelperProportions:function(){this.helperProportions={width:this.helper.outerWidth(),height:this.helper.outerHeight()}},_setContainment:function(){var t=this.options;t.containment==&quot;parent&quot;&amp;&amp;(t.containment=this.helper[0].parentNode);if(t.containment==&quot;document&quot;||t.containment==&quot;window&quot;)this.containment=[t.containment==&quot;document&quot;?0:e(window).scrollLeft()-this.offset.relative.left-this.offset.parent.left,t.containment==&quot;document&quot;?0:e(window).scrollTop()-this.offset.relative.top-this.offset.parent.top,(t.containment==&quot;document&quot;?0:e(window).scrollLeft())+e(t.containment==&quot;document&quot;?document:window).width()-this.helperProportions.width-this.margins.left,(t.containment==&quot;document&quot;?0:e(window).scrollTop())+(e(t.containment==&quot;document&quot;?document:window).height()||document.body.parentNode.scrollHeight)-this.helperProportions.height-this.margins.top];if(!/^(document|window
 |parent)$/.test(t.containment)&amp;&amp;t.containment.constructor!=Array){var n=e(t.containment),r=n[0];if(!r)return;var i=n.offset(),s=e(r).css(&quot;overflow&quot;)!=&quot;hidden&quot;;this.containment=[(parseInt(e(r).css(&quot;borderLeftWidth&quot;),10)||0)+(parseInt(e(r).css(&quot;paddingLeft&quot;),10)||0),(parseInt(e(r).css(&quot;borderTopWidth&quot;),10)||0)+(parseInt(e(r).css(&quot;paddingTop&quot;),10)||0),(s?Math.max(r.scrollWidth,r.offsetWidth):r.offsetWidth)-(parseInt(e(r).css(&quot;borderLeftWidth&quot;),10)||0)-(parseInt(e(r).css(&quot;paddingRight&quot;),10)||0)-this.helperProportions.width-this.margins.left-this.margins.right,(s?Math.max(r.scrollHeight,r.offsetHeight):r.offsetHeight)-(parseInt(e(r).css(&quot;borderTopWidth&quot;),10)||0)-(parseInt(e(r).css(&quot;paddingBottom&quot;),10)||0)-this.helperProportions.height-this.margins.top-this.margins.bottom],this.relative_container=n}else t.containment.constructor==Array&amp;&amp;(this.containment=t.containmen
 t)},_convertPositionTo:function(t,n){n||(n=this.position);var r=t==&quot;absolute&quot;?1:-1,i=this.options,s=this.cssPosition!=&quot;absolute&quot;||this.scrollParent[0]!=document&amp;&amp;!!e.contains(this.scrollParent[0],this.offsetParent[0])?this.scrollParent:this.offsetParent,o=/(html|body)/i.test(s[0].tagName);return{top:n.top+this.offset.relative.top*r+this.offset.parent.top*r-(this.cssPosition==&quot;fixed&quot;?-this.scrollParent.scrollTop():o?0:s.scrollTop())*r,left:n.left+this.offset.relative.left*r+this.offset.parent.left*r-(this.cssPosition==&quot;fixed&quot;?-this.scrollParent.scrollLeft():o?0:s.scrollLeft())*r}},_generatePosition:function(t){var n=this.options,r=this.cssPosition!=&quot;absolute&quot;||this.scrollParent[0]!=document&amp;&amp;!!e.contains(this.scrollParent[0],this.offsetParent[0])?this.scrollParent:this.offsetParent,i=/(html|body)/i.test(r[0].tagName),s=t.pageX,o=t.pageY;if(this.originalPosition){var u;if(this.containment){if(this.relative_conta
 iner){var a=this.relative_container.offset();u=[this.containment[0]+a.left,this.containment[1]+a.top,this.containment[2]+a.left,this.containment[3]+a.top]}else u=this.containment;t.pageX-this.offset.click.left&lt;u[0]&amp;&amp;(s=u[0]+this.offset.click.left),t.pageY-this.offset.click.top&lt;u[1]&amp;&amp;(o=u[1]+this.offset.click.top),t.pageX-this.offset.click.left&gt;u[2]&amp;&amp;(s=u[2]+this.offset.click.left),t.pageY-this.offset.click.top&gt;u[3]&amp;&amp;(o=u[3]+this.offset.click.top)}if(n.grid){var f=n.grid[1]?this.originalPageY+Math.round((o-this.originalPageY)/n.grid[1])*n.grid[1]:this.originalPageY;o=u?f-this.offset.click.top&lt;u[1]||f-this.offset.click.top&gt;u[3]?f-this.offset.click.top&lt;u[1]?f+n.grid[1]:f-n.grid[1]:f:f;var l=n.grid[0]?this.originalPageX+Math.round((s-this.originalPageX)/n.grid[0])*n.grid[0]:this.originalPageX;s=u?l-this.offset.click.left&lt;u[0]||l-this.offset.click.left&gt;u[2]?l-this.offset.click.left&lt;u[0]?l+n.grid[0]:l-n.grid[0]:l:l}}ret
 urn{top:o-this.offset.click.top-this.offset.relative.top-this.offset.parent.top+(this.cssPosition==&quot;fixed&quot;?-this.scrollParent.scrollTop():i?0:r.scrollTop()),left:s-this.offset.click.left-this.offset.relative.left-this.offset.parent.left+(this.cssPosition==&quot;fixed&quot;?-this.scrollParent.scrollLeft():i?0:r.scrollLeft())}},_clear:function(){this.helper.removeClass(&quot;ui-draggable-dragging&quot;),this.helper[0]!=this.element[0]&amp;&amp;!this.cancelHelperRemoval&amp;&amp;this.helper.remove(),this.helper=null,this.cancelHelperRemoval=!1},_trigger:function(t,n,r){return r=r||this._uiHash(),e.ui.plugin.call(this,t,[n,r]),t==&quot;drag&quot;&amp;&amp;(this.positionAbs=this._convertPositionTo(&quot;absolute&quot;)),e.Widget.prototype._trigger.call(this,t,n,r)},plugins:{},_uiHash:function(e){return{helper:this.helper,position:this.position,originalPosition:this.originalPosition,offset:this.positionAbs}}}),e.ui.plugin.add(&quot;draggable&quot;,&quot;connectToSortable
 &quot;,{start:function(t,n){var r=e(this).data(&quot;draggable&quot;),i=r.options,s=e.extend({},n,{item:r.element});r.sortables=[],e(i.connectToSortable).each(function(){var n=e.data(this,&quot;sortable&quot;);n&amp;&amp;!n.options.disabled&amp;&amp;(r.sortables.push({instance:n,shouldRevert:n.options.revert}),n.refreshPositions(),n._trigger(&quot;activate&quot;,t,s))})},stop:function(t,n){var r=e(this).data(&quot;draggable&quot;),i=e.extend({},n,{item:r.element});e.each(r.sortables,function(){this.instance.isOver?(this.instance.isOver=0,r.cancelHelperRemoval=!0,this.instance.cancelHelperRemoval=!1,this.shouldRevert&amp;&amp;(this.instance.options.revert=!0),this.instance._mouseStop(t),this.instance.options.helper=this.instance.options._helper,r.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;,t,i))})},drag:function(t,n
 ){var r=e(this).data(&quot;draggable&quot;),i=this,s=function(t){var n=this.offset.click.top,r=this.offset.click.left,i=this.positionAbs.top,s=this.positionAbs.left,o=t.height,u=t.width,a=t.top,f=t.left;return e.ui.isOver(i+n,s+r,a,f,o,u)};e.each(r.sortables,function(s){this.instance.positionAbs=r.positionAbs,this.instance.helperProportions=r.helperProportions,this.instance.offset.click=r.offset.click,this.instance._intersectsWith(this.instance.containerCache)?(this.instance.isOver||(this.instance.isOver=1,this.instance.currentItem=e(i).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 n.helper[0]},t.target=this.instance.currentItem[0],this.instance._mouseCapture(t,!0),this.instance._mouseStart(t,!0,!0),this.instance.offset.click.top=r.offset.click.top,this.instance.offset.click.left=r.offset.click.left,this.instance.of
 fset.parent.left-=r.offset.parent.left-this.instance.offset.parent.left,this.instance.offset.parent.top-=r.offset.parent.top-this.instance.offset.parent.top,r._trigger(&quot;toSortable&quot;,t),r.dropped=this.instance.element,r.currentItem=r.element,this.instance.fromOutside=r),this.instance.currentItem&amp;&amp;this.instance._mouseDrag(t)):this.instance.isOver&amp;&amp;(this.instance.isOver=0,this.instance.cancelHelperRemoval=!0,this.instance.options.revert=!1,this.instance._trigger(&quot;out&quot;,t,this.instance._uiHash(this.instance)),this.instance._mouseStop(t,!0),this.instance.options.helper=this.instance.options._helper,this.instance.currentItem.remove(),this.instance.placeholder&amp;&amp;this.instance.placeholder.remove(),r._trigger(&quot;fromSortable&quot;,t),r.dropped=!1)})}}),e.ui.plugin.add(&quot;draggable&quot;,&quot;cursor&quot;,{start:function(t,n){var r=e(&quot;body&quot;),i=e(this).data(&quot;draggable&quot;).options;r.css(&quot;cursor&quot;)&amp;&amp;(i._cu
 rsor=r.css(&quot;cursor&quot;)),r.css(&quot;cursor&quot;,i.cursor)},stop:function(t,n){var r=e(this).data(&quot;draggable&quot;).options;r._cursor&amp;&amp;e(&quot;body&quot;).css(&quot;cursor&quot;,r._cursor)}}),e.ui.plugin.add(&quot;draggable&quot;,&quot;opacity&quot;,{start:function(t,n){var r=e(n.helper),i=e(this).data(&quot;draggable&quot;).options;r.css(&quot;opacity&quot;)&amp;&amp;(i._opacity=r.css(&quot;opacity&quot;)),r.css(&quot;opacity&quot;,i.opacity)},stop:function(t,n){var r=e(this).data(&quot;draggable&quot;).options;r._opacity&amp;&amp;e(n.helper).css(&quot;opacity&quot;,r._opacity)}}),e.ui.plugin.add(&quot;draggable&quot;,&quot;scroll&quot;,{start:function(t,n){var r=e(this).data(&quot;draggable&quot;);r.scrollParent[0]!=document&amp;&amp;r.scrollParent[0].tagName!=&quot;HTML&quot;&amp;&amp;(r.overflowOffset=r.scrollParent.offset())},drag:function(t,n){var r=e(this).data(&quot;draggable&quot;),i=r.options,s=!1;if(r.scrollParent[0]!=document&amp;&amp;r.scrol
 lParent[0].tagName!=&quot;HTML&quot;){if(!i.axis||i.axis!=&quot;x&quot;)r.overflowOffset.top+r.scrollParent[0].offsetHeight-t.pageY&lt;i.scrollSensitivity?r.scrollParent[0].scrollTop=s=r.scrollParent[0].scrollTop+i.scrollSpeed:t.pageY-r.overflowOffset.top&lt;i.scrollSensitivity&amp;&amp;(r.scrollParent[0].scrollTop=s=r.scrollParent[0].scrollTop-i.scrollSpeed);if(!i.axis||i.axis!=&quot;y&quot;)r.overflowOffset.left+r.scrollParent[0].offsetWidth-t.pageX&lt;i.scrollSensitivity?r.scrollParent[0].scrollLeft=s=r.scrollParent[0].scrollLeft+i.scrollSpeed:t.pageX-r.overflowOffset.left&lt;i.scrollSensitivity&amp;&amp;(r.scrollParent[0].scrollLeft=s=r.scrollParent[0].scrollLeft-i.scrollSpeed)}else{if(!i.axis||i.axis!=&quot;x&quot;)t.pageY-e(document).scrollTop()&lt;i.scrollSensitivity?s=e(document).scrollTop(e(document).scrollTop()-i.scrollSpeed):e(window).height()-(t.pageY-e(document).scrollTop())&lt;i.scrollSensitivity&amp;&amp;(s=e(document).scrollTop(e(document).scrollTop()+i.scrol
 lSpeed));if(!i.axis||i.axis!=&quot;y&quot;)t.pageX-e(document).scrollLeft()&lt;i.scrollSensitivity?s=e(document).scrollLeft(e(document).scrollLeft()-i.scrollSpeed):e(window).width()-(t.pageX-e(document).scrollLeft())&lt;i.scrollSensitivity&amp;&amp;(s=e(document).scrollLeft(e(document).scrollLeft()+i.scrollSpeed))}s!==!1&amp;&amp;e.ui.ddmanager&amp;&amp;!i.dropBehaviour&amp;&amp;e.ui.ddmanager.prepareOffsets(r,t)}}),e.ui.plugin.add(&quot;draggable&quot;,&quot;snap&quot;,{start:function(t,n){var r=e(this).data(&quot;draggable&quot;),i=r.options;r.snapElements=[],e(i.snap.constructor!=String?i.snap.items||&quot;:data(draggable)&quot;:i.snap).each(function(){var t=e(this),n=t.offset();this!=r.element[0]&amp;&amp;r.snapElements.push({item:this,width:t.outerWidth(),height:t.outerHeight(),top:n.top,left:n.left})})},drag:function(t,n){var r=e(this).data(&quot;draggable&quot;),i=r.options,s=i.snapTolerance,o=n.offset.left,u=o+r.helperProportions.width,a=n.offset.top,f=a+r.helperProp
 ortions.height;for(var l=r.snapElements.length-1;l&gt;=0;l--){var c=r.snapElements[l].left,h=c+r.snapElements[l].width,p=r.snapElements[l].top,d=p+r.snapElements[l].height;if(!(c-s&lt;o&amp;&amp;o&lt;h+s&amp;&amp;p-s&lt;a&amp;&amp;a&lt;d+s||c-s&lt;o&amp;&amp;o&lt;h+s&amp;&amp;p-s&lt;f&amp;&amp;f&lt;d+s||c-s&lt;u&amp;&amp;u&lt;h+s&amp;&amp;p-s&lt;a&amp;&amp;a&lt;d+s||c-s&lt;u&amp;&amp;u&lt;h+s&amp;&amp;p-s&lt;f&amp;&amp;f&lt;d+s)){r.snapElements[l].snapping&amp;&amp;r.options.snap.release&amp;&amp;r.options.snap.release.call(r.element,t,e.extend(r._uiHash(),{snapItem:r.snapElements[l].item})),r.snapElements[l].snapping=!1;continue}if(i.snapMode!=&quot;inner&quot;){var v=Math.abs(p-f)&lt;=s,m=Math.abs(d-a)&lt;=s,g=Math.abs(c-u)&lt;=s,y=Math.abs(h-o)&lt;=s;v&amp;&amp;(n.position.top=r._convertPositionTo(&quot;relative&quot;,{top:p-r.helperProportions.height,left:0}).top-r.margins.top),m&amp;&amp;(n.position.top=r._convertPositionTo(&quot;relative&quot;,{top:d,left:0}).top-r.mar
 gins.top),g&amp;&amp;(n.position.left=r._convertPositionTo(&quot;relative&quot;,{top:0,left:c-r.helperProportions.width}).left-r.margins.left),y&amp;&amp;(n.position.left=r._convertPositionTo(&quot;relative&quot;,{top:0,left:h}).left-r.margins.left)}var b=v||m||g||y;if(i.snapMode!=&quot;outer&quot;){var v=Math.abs(p-a)&lt;=s,m=Math.abs(d-f)&lt;=s,g=Math.abs(c-o)&lt;=s,y=Math.abs(h-u)&lt;=s;v&amp;&amp;(n.position.top=r._convertPositionTo(&quot;relative&quot;,{top:p,left:0}).top-r.margins.top),m&amp;&amp;(n.position.top=r._convertPositionTo(&quot;relative&quot;,{top:d-r.helperProportions.height,left:0}).top-r.margins.top),g&amp;&amp;(n.position.left=r._convertPositionTo(&quot;relative&quot;,{top:0,left:c}).left-r.margins.left),y&amp;&amp;(n.position.left=r._convertPositionTo(&quot;relative&quot;,{top:0,left:h-r.helperProportions.width}).left-r.margins.left)}!r.snapElements[l].snapping&amp;&amp;(v||m||g||y||b)&amp;&amp;r.options.snap.snap&amp;&amp;r.options.snap.snap.call(r.ele
 ment,t,e.extend(r._uiHash(),{snapItem:r.snapElements[l].item})),r.snapElements[l].snapping=v||m||g||y||b}}}),e.ui.plugin.add(&quot;draggable&quot;,&quot;stack&quot;,{start:function(t,n){var r=e(this).data(&quot;draggable&quot;).options,i=e.makeArray(e(r.stack)).sort(function(t,n){return(parseInt(e(t).css(&quot;zIndex&quot;),10)||0)-(parseInt(e(n).css(&quot;zIndex&quot;),10)||0)});if(!i.length)return;var s=parseInt(i[0].style.zIndex)||0;e(i).each(function(e){this.style.zIndex=s+e}),this[0].style.zIndex=s+i.length}}),e.ui.plugin.add(&quot;draggable&quot;,&quot;zIndex&quot;,{start:function(t,n){var r=e(n.helper),i=e(this).data(&quot;draggable&quot;).options;r.css(&quot;zIndex&quot;)&amp;&amp;(i._zIndex=r.css(&quot;zIndex&quot;)),r.css(&quot;zIndex&quot;,i.zIndex)},stop:function(t,n){var r=e(this).data(&quot;draggable&quot;).options;r._zIndex&amp;&amp;e(n.helper).css(&quot;zIndex&quot;,r._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 (22181 => 22182)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-includes/js/jquery/ui/jquery.ui.droppable.min.js        2012-10-11 03:29:02 UTC (rev 22181)
+++ trunk/wp-includes/js/jquery/ui/jquery.ui.droppable.min.js        2012-10-11 03:34:19 UTC (rev 22182)
</span><span class="lines">@@ -1,5 +1,5 @@
</span><del>-/*! jQuery UI - v1.9.0pre - 2012-08-29
</del><ins>+/*! jQuery UI - v1.9.0 - 2012-10-05
</ins><span class="cx"> * http://jqueryui.com
</span><span class="cx"> * Includes: jquery.ui.droppable.js
</span><span class="cx"> * Copyright 2012 jQuery Foundation and other contributors; Licensed MIT */
</span><del>-(function(e,t){e.widget(&quot;ui.droppable&quot;,{version:&quot;@VERSION&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 t=this.options,n=t.accept;this.isover=0,this.isout=1,this.accept=e.isFunction(n)?n:function(e){return e.is(n)},this.proportions={width:this.element[0].offsetWidth,height:this.element[0].offsetHeight},e.ui.ddmanager.droppables[t.scope]=e.ui.ddmanager.droppables[t.scope]||[],e.ui.ddmanager.droppables[t.scope].push(this),t.addClasses&amp;&amp;this.element.addClass(&quot;ui-droppable&quot;)},_destroy:function(){var t=e.ui.ddmanager.droppables[this.options.scope];for(var n=0;n&lt;t.length;n++)t[n]==this&amp;&amp;t.splice(n,1);this.element.removeClass(&quot;ui-droppable ui-droppable-disabled&quot;)},_setOption:function(t,n){t==&quot;accept&quot;&amp;&amp;(this.accept=e.isFunction(n)?n:function(e
 ){return e.is(n)}),e.Widget.prototype._setOption.apply(this,arguments)},_activate:function(t){var n=e.ui.ddmanager.current;this.options.activeClass&amp;&amp;this.element.addClass(this.options.activeClass),n&amp;&amp;this._trigger(&quot;activate&quot;,t,this.ui(n))},_deactivate:function(t){var n=e.ui.ddmanager.current;this.options.activeClass&amp;&amp;this.element.removeClass(this.options.activeClass),n&amp;&amp;this._trigger(&quot;deactivate&quot;,t,this.ui(n))},_over:function(t){var n=e.ui.ddmanager.current;if(!n||(n.currentItem||n.element)[0]==this.element[0])return;this.accept.call(this.element[0],n.currentItem||n.element)&amp;&amp;(this.options.hoverClass&amp;&amp;this.element.addClass(this.options.hoverClass),this._trigger(&quot;over&quot;,t,this.ui(n)))},_out:function(t){var n=e.ui.ddmanager.current;if(!n||(n.currentItem||n.element)[0]==this.element[0])return;this.accept.call(this.element[0],n.currentItem||n.element)&amp;&amp;(this.options.hoverClass&amp;&amp;this.elem
 ent.removeClass(this.options.hoverClass),this._trigger(&quot;out&quot;,t,this.ui(n)))},_drop:function(t,n){var r=n||e.ui.ddmanager.current;if(!r||(r.currentItem||r.element)[0]==this.element[0])return!1;var i=!1;return this.element.find(&quot;:data(droppable)&quot;).not(&quot;.ui-draggable-dragging&quot;).each(function(){var t=e.data(this,&quot;droppable&quot;);if(t.options.greedy&amp;&amp;!t.options.disabled&amp;&amp;t.options.scope==r.options.scope&amp;&amp;t.accept.call(t.element[0],r.currentItem||r.element)&amp;&amp;e.ui.intersect(r,e.extend(t,{offset:t.element.offset()}),t.options.tolerance))return i=!0,!1}),i?!1:this.accept.call(this.element[0],r.currentItem||r.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;,t,this.ui(r)),this.element):!1},ui:function(e){return{draggable:e.currentItem||e.element,helper:e.helper,
 position:e.position,offset:e.positionAbs}}}),e.ui.intersect=function(t,n,r){if(!n.offset)return!1;var i=(t.positionAbs||t.position.absolute).left,s=i+t.helperProportions.width,o=(t.positionAbs||t.position.absolute).top,u=o+t.helperProportions.height,a=n.offset.left,f=a+n.proportions.width,l=n.offset.top,c=l+n.proportions.height;switch(r){case&quot;fit&quot;:return a&lt;=i&amp;&amp;s&lt;=f&amp;&amp;l&lt;=o&amp;&amp;u&lt;=c;case&quot;intersect&quot;:return a&lt;i+t.helperProportions.width/2&amp;&amp;s-t.helperProportions.width/2&lt;f&amp;&amp;l&lt;o+t.helperProportions.height/2&amp;&amp;u-t.helperProportions.height/2&lt;c;case&quot;pointer&quot;:var h=(t.positionAbs||t.position.absolute).left+(t.clickOffset||t.offset.click).left,p=(t.positionAbs||t.position.absolute).top+(t.clickOffset||t.offset.click).top,d=e.ui.isOver(p,h,l,a,n.proportions.height,n.proportions.width);return d;case&quot;touch&quot;:return(o&gt;=l&amp;&amp;o&lt;=c||u&gt;=l&amp;&amp;u&lt;=c||o&lt;l&amp;&amp;u&g
 t;c)&amp;&amp;(i&gt;=a&amp;&amp;i&lt;=f||s&gt;=a&amp;&amp;s&lt;=f||i&lt;a&amp;&amp;s&gt;f);default:return!1}},e.ui.ddmanager={current:null,droppables:{&quot;default&quot;:[]},prepareOffsets:function(t,n){var r=e.ui.ddmanager.droppables[t.options.scope]||[],i=n?n.type:null,s=(t.currentItem||t.element).find(&quot;:data(droppable)&quot;).andSelf();e:for(var o=0;o&lt;r.length;o++){if(r[o].options.disabled||t&amp;&amp;!r[o].accept.call(r[o].element[0],t.currentItem||t.element))continue;for(var u=0;u&lt;s.length;u++)if(s[u]==r[o].element[0]){r[o].proportions.height=0;continue e}r[o].visible=r[o].element.css(&quot;display&quot;)!=&quot;none&quot;;if(!r[o].visible)continue;i==&quot;mousedown&quot;&amp;&amp;r[o]._activate.call(r[o],n),r[o].offset=r[o].element.offset(),r[o].proportions={width:r[o].element[0].offsetWidth,height:r[o].element[0].offsetHeight}}},drop:function(t,n){var r=!1;return e.each(e.ui.ddmanager.droppables[t.options.scope]||[],function(){if(!this.options)return;!thi
 s.options.disabled&amp;&amp;this.visible&amp;&amp;e.ui.intersect(t,this,this.options.tolerance)&amp;&amp;(r=this._drop.call(this,n)||r),!this.options.disabled&amp;&amp;this.visible&amp;&amp;this.accept.call(this.element[0],t.currentItem||t.element)&amp;&amp;(this.isout=1,this.isover=0,this._deactivate.call(this,n))}),r},dragStart:function(t,n){t.element.parentsUntil(&quot;body&quot;).bind(&quot;scroll.droppable&quot;,function(){t.options.refreshPositions||e.ui.ddmanager.prepareOffsets(t,n)})},drag:function(t,n){t.options.refreshPositions&amp;&amp;e.ui.ddmanager.prepareOffsets(t,n),e.each(e.ui.ddmanager.droppables[t.options.scope]||[],function(){if(this.options.disabled||this.greedyChild||!this.visible)return;var r=e.ui.intersect(t,this,this.options.tolerance),i=!r&amp;&amp;this.isover==1?&quot;isout&quot;:r&amp;&amp;this.isover==0?&quot;isover&quot;:null;if(!i)return;var s;if(this.options.greedy){var o=this.options.scope,u=this.element.parents(&quot;:data(droppable)&quot;).f
 ilter(function(){return e.data(this,&quot;droppable&quot;).options.scope===o});u.length&amp;&amp;(s=e.data(u[0],&quot;droppable&quot;),s.greedyChild=i==&quot;isover&quot;?1:0)}s&amp;&amp;i==&quot;isover&quot;&amp;&amp;(s.isover=0,s.isout=1,s._out.call(s,n)),this[i]=1,this[i==&quot;isout&quot;?&quot;isover&quot;:&quot;isout&quot;]=0,this[i==&quot;isover&quot;?&quot;_over&quot;:&quot;_out&quot;].call(this,n),s&amp;&amp;i==&quot;isout&quot;&amp;&amp;(s.isout=0,s.isover=1,s._over.call(s,n))})},dragStop:function(t,n){t.element.parentsUntil(&quot;body&quot;).unbind(&quot;scroll.droppable&quot;),t.options.refreshPositions||e.ui.ddmanager.prepareOffsets(t,n)}}})(jQuery);
</del><span class="cx">\ No newline at end of file
</span><ins>+(function(e,t){e.widget(&quot;ui.droppable&quot;,{version:&quot;1.9.0&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 t=this.options,n=t.accept;this.isover=0,this.isout=1,this.accept=e.isFunction(n)?n:function(e){return e.is(n)},this.proportions={width:this.element[0].offsetWidth,height:this.element[0].offsetHeight},e.ui.ddmanager.droppables[t.scope]=e.ui.ddmanager.droppables[t.scope]||[],e.ui.ddmanager.droppables[t.scope].push(this),t.addClasses&amp;&amp;this.element.addClass(&quot;ui-droppable&quot;)},_destroy:function(){var t=e.ui.ddmanager.droppables[this.options.scope];for(var n=0;n&lt;t.length;n++)t[n]==this&amp;&amp;t.splice(n,1);this.element.removeClass(&quot;ui-droppable ui-droppable-disabled&quot;)},_setOption:function(t,n){t==&quot;accept&quot;&amp;&amp;(this.accept=e.isFunction(n)?n:function(e){r
 eturn e.is(n)}),e.Widget.prototype._setOption.apply(this,arguments)},_activate:function(t){var n=e.ui.ddmanager.current;this.options.activeClass&amp;&amp;this.element.addClass(this.options.activeClass),n&amp;&amp;this._trigger(&quot;activate&quot;,t,this.ui(n))},_deactivate:function(t){var n=e.ui.ddmanager.current;this.options.activeClass&amp;&amp;this.element.removeClass(this.options.activeClass),n&amp;&amp;this._trigger(&quot;deactivate&quot;,t,this.ui(n))},_over:function(t){var n=e.ui.ddmanager.current;if(!n||(n.currentItem||n.element)[0]==this.element[0])return;this.accept.call(this.element[0],n.currentItem||n.element)&amp;&amp;(this.options.hoverClass&amp;&amp;this.element.addClass(this.options.hoverClass),this._trigger(&quot;over&quot;,t,this.ui(n)))},_out:function(t){var n=e.ui.ddmanager.current;if(!n||(n.currentItem||n.element)[0]==this.element[0])return;this.accept.call(this.element[0],n.currentItem||n.element)&amp;&amp;(this.options.hoverClass&amp;&amp;this.element
 .removeClass(this.options.hoverClass),this._trigger(&quot;out&quot;,t,this.ui(n)))},_drop:function(t,n){var r=n||e.ui.ddmanager.current;if(!r||(r.currentItem||r.element)[0]==this.element[0])return!1;var i=!1;return this.element.find(&quot;:data(droppable)&quot;).not(&quot;.ui-draggable-dragging&quot;).each(function(){var t=e.data(this,&quot;droppable&quot;);if(t.options.greedy&amp;&amp;!t.options.disabled&amp;&amp;t.options.scope==r.options.scope&amp;&amp;t.accept.call(t.element[0],r.currentItem||r.element)&amp;&amp;e.ui.intersect(r,e.extend(t,{offset:t.element.offset()}),t.options.tolerance))return i=!0,!1}),i?!1:this.accept.call(this.element[0],r.currentItem||r.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;,t,this.ui(r)),this.element):!1},ui:function(e){return{draggable:e.currentItem||e.element,helper:e.helper,pos
 ition:e.position,offset:e.positionAbs}}}),e.ui.intersect=function(t,n,r){if(!n.offset)return!1;var i=(t.positionAbs||t.position.absolute).left,s=i+t.helperProportions.width,o=(t.positionAbs||t.position.absolute).top,u=o+t.helperProportions.height,a=n.offset.left,f=a+n.proportions.width,l=n.offset.top,c=l+n.proportions.height;switch(r){case&quot;fit&quot;:return a&lt;=i&amp;&amp;s&lt;=f&amp;&amp;l&lt;=o&amp;&amp;u&lt;=c;case&quot;intersect&quot;:return a&lt;i+t.helperProportions.width/2&amp;&amp;s-t.helperProportions.width/2&lt;f&amp;&amp;l&lt;o+t.helperProportions.height/2&amp;&amp;u-t.helperProportions.height/2&lt;c;case&quot;pointer&quot;:var h=(t.positionAbs||t.position.absolute).left+(t.clickOffset||t.offset.click).left,p=(t.positionAbs||t.position.absolute).top+(t.clickOffset||t.offset.click).top,d=e.ui.isOver(p,h,l,a,n.proportions.height,n.proportions.width);return d;case&quot;touch&quot;:return(o&gt;=l&amp;&amp;o&lt;=c||u&gt;=l&amp;&amp;u&lt;=c||o&lt;l&amp;&amp;u&gt;c
 )&amp;&amp;(i&gt;=a&amp;&amp;i&lt;=f||s&gt;=a&amp;&amp;s&lt;=f||i&lt;a&amp;&amp;s&gt;f);default:return!1}},e.ui.ddmanager={current:null,droppables:{&quot;default&quot;:[]},prepareOffsets:function(t,n){var r=e.ui.ddmanager.droppables[t.options.scope]||[],i=n?n.type:null,s=(t.currentItem||t.element).find(&quot;:data(droppable)&quot;).andSelf();e:for(var o=0;o&lt;r.length;o++){if(r[o].options.disabled||t&amp;&amp;!r[o].accept.call(r[o].element[0],t.currentItem||t.element))continue;for(var u=0;u&lt;s.length;u++)if(s[u]==r[o].element[0]){r[o].proportions.height=0;continue e}r[o].visible=r[o].element.css(&quot;display&quot;)!=&quot;none&quot;;if(!r[o].visible)continue;i==&quot;mousedown&quot;&amp;&amp;r[o]._activate.call(r[o],n),r[o].offset=r[o].element.offset(),r[o].proportions={width:r[o].element[0].offsetWidth,height:r[o].element[0].offsetHeight}}},drop:function(t,n){var r=!1;return e.each(e.ui.ddmanager.droppables[t.options.scope]||[],function(){if(!this.options)return;!this.o
 ptions.disabled&amp;&amp;this.visible&amp;&amp;e.ui.intersect(t,this,this.options.tolerance)&amp;&amp;(r=this._drop.call(this,n)||r),!this.options.disabled&amp;&amp;this.visible&amp;&amp;this.accept.call(this.element[0],t.currentItem||t.element)&amp;&amp;(this.isout=1,this.isover=0,this._deactivate.call(this,n))}),r},dragStart:function(t,n){t.element.parentsUntil(&quot;body&quot;).bind(&quot;scroll.droppable&quot;,function(){t.options.refreshPositions||e.ui.ddmanager.prepareOffsets(t,n)})},drag:function(t,n){t.options.refreshPositions&amp;&amp;e.ui.ddmanager.prepareOffsets(t,n),e.each(e.ui.ddmanager.droppables[t.options.scope]||[],function(){if(this.options.disabled||this.greedyChild||!this.visible)return;var r=e.ui.intersect(t,this,this.options.tolerance),i=!r&amp;&amp;this.isover==1?&quot;isout&quot;:r&amp;&amp;this.isover==0?&quot;isover&quot;:null;if(!i)return;var s;if(this.options.greedy){var o=this.options.scope,u=this.element.parents(&quot;:data(droppable)&quot;).filt
 er(function(){return e.data(this,&quot;droppable&quot;).options.scope===o});u.length&amp;&amp;(s=e.data(u[0],&quot;droppable&quot;),s.greedyChild=i==&quot;isover&quot;?1:0)}s&amp;&amp;i==&quot;isover&quot;&amp;&amp;(s.isover=0,s.isout=1,s._out.call(s,n)),this[i]=1,this[i==&quot;isout&quot;?&quot;isover&quot;:&quot;isout&quot;]=0,this[i==&quot;isover&quot;?&quot;_over&quot;:&quot;_out&quot;].call(this,n),s&amp;&amp;i==&quot;isout&quot;&amp;&amp;(s.isout=0,s.isover=1,s._over.call(s,n))})},dragStop:function(t,n){t.element.parentsUntil(&quot;body&quot;).unbind(&quot;scroll.droppable&quot;),t.options.refreshPositions||e.ui.ddmanager.prepareOffsets(t,n)}}})(jQuery);
</ins><span class="cx">\ No newline at end of file
</span></span></pre></div>
<a id="trunkwpincludesjsjqueryuijqueryuieffectblindminjs"></a>
<div class="modfile"><h4>Modified: trunk/wp-includes/js/jquery/ui/jquery.ui.effect-blind.min.js (22181 => 22182)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-includes/js/jquery/ui/jquery.ui.effect-blind.min.js        2012-10-11 03:29:02 UTC (rev 22181)
+++ trunk/wp-includes/js/jquery/ui/jquery.ui.effect-blind.min.js        2012-10-11 03:34:19 UTC (rev 22182)
</span><span class="lines">@@ -1,4 +1,4 @@
</span><del>-/*! jQuery UI - v1.9.0pre - 2012-08-29
</del><ins>+/*! jQuery UI - v1.9.0 - 2012-10-05
</ins><span class="cx"> * http://jqueryui.com
</span><span class="cx"> * Includes: jquery.ui.effect-blind.js
</span><span class="cx"> * Copyright 2012 jQuery Foundation and other contributors; Licensed MIT */
</span></span></pre></div>
<a id="trunkwpincludesjsjqueryuijqueryuieffectbounceminjs"></a>
<div class="modfile"><h4>Modified: trunk/wp-includes/js/jquery/ui/jquery.ui.effect-bounce.min.js (22181 => 22182)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-includes/js/jquery/ui/jquery.ui.effect-bounce.min.js        2012-10-11 03:29:02 UTC (rev 22181)
+++ trunk/wp-includes/js/jquery/ui/jquery.ui.effect-bounce.min.js        2012-10-11 03:34:19 UTC (rev 22182)
</span><span class="lines">@@ -1,4 +1,4 @@
</span><del>-/*! jQuery UI - v1.9.0pre - 2012-08-29
</del><ins>+/*! jQuery UI - v1.9.0 - 2012-10-05
</ins><span class="cx"> * http://jqueryui.com
</span><span class="cx"> * Includes: jquery.ui.effect-bounce.js
</span><span class="cx"> * Copyright 2012 jQuery Foundation and other contributors; Licensed MIT */
</span></span></pre></div>
<a id="trunkwpincludesjsjqueryuijqueryuieffectclipminjs"></a>
<div class="modfile"><h4>Modified: trunk/wp-includes/js/jquery/ui/jquery.ui.effect-clip.min.js (22181 => 22182)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-includes/js/jquery/ui/jquery.ui.effect-clip.min.js        2012-10-11 03:29:02 UTC (rev 22181)
+++ trunk/wp-includes/js/jquery/ui/jquery.ui.effect-clip.min.js        2012-10-11 03:34:19 UTC (rev 22182)
</span><span class="lines">@@ -1,4 +1,4 @@
</span><del>-/*! jQuery UI - v1.9.0pre - 2012-08-29
</del><ins>+/*! jQuery UI - v1.9.0 - 2012-10-05
</ins><span class="cx"> * http://jqueryui.com
</span><span class="cx"> * Includes: jquery.ui.effect-clip.js
</span><span class="cx"> * Copyright 2012 jQuery Foundation and other contributors; Licensed MIT */
</span></span></pre></div>
<a id="trunkwpincludesjsjqueryuijqueryuieffectdropminjs"></a>
<div class="modfile"><h4>Modified: trunk/wp-includes/js/jquery/ui/jquery.ui.effect-drop.min.js (22181 => 22182)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-includes/js/jquery/ui/jquery.ui.effect-drop.min.js        2012-10-11 03:29:02 UTC (rev 22181)
+++ trunk/wp-includes/js/jquery/ui/jquery.ui.effect-drop.min.js        2012-10-11 03:34:19 UTC (rev 22182)
</span><span class="lines">@@ -1,4 +1,4 @@
</span><del>-/*! jQuery UI - v1.9.0pre - 2012-08-29
</del><ins>+/*! jQuery UI - v1.9.0 - 2012-10-05
</ins><span class="cx"> * http://jqueryui.com
</span><span class="cx"> * Includes: jquery.ui.effect-drop.js
</span><span class="cx"> * Copyright 2012 jQuery Foundation and other contributors; Licensed MIT */
</span></span></pre></div>
<a id="trunkwpincludesjsjqueryuijqueryuieffectexplodeminjs"></a>
<div class="modfile"><h4>Modified: trunk/wp-includes/js/jquery/ui/jquery.ui.effect-explode.min.js (22181 => 22182)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-includes/js/jquery/ui/jquery.ui.effect-explode.min.js        2012-10-11 03:29:02 UTC (rev 22181)
+++ trunk/wp-includes/js/jquery/ui/jquery.ui.effect-explode.min.js        2012-10-11 03:34:19 UTC (rev 22182)
</span><span class="lines">@@ -1,4 +1,4 @@
</span><del>-/*! jQuery UI - v1.9.0pre - 2012-08-29
</del><ins>+/*! jQuery UI - v1.9.0 - 2012-10-05
</ins><span class="cx"> * http://jqueryui.com
</span><span class="cx"> * Includes: jquery.ui.effect-explode.js
</span><span class="cx"> * Copyright 2012 jQuery Foundation and other contributors; Licensed MIT */
</span></span></pre></div>
<a id="trunkwpincludesjsjqueryuijqueryuieffectfademinjs"></a>
<div class="modfile"><h4>Modified: trunk/wp-includes/js/jquery/ui/jquery.ui.effect-fade.min.js (22181 => 22182)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-includes/js/jquery/ui/jquery.ui.effect-fade.min.js        2012-10-11 03:29:02 UTC (rev 22181)
+++ trunk/wp-includes/js/jquery/ui/jquery.ui.effect-fade.min.js        2012-10-11 03:34:19 UTC (rev 22182)
</span><span class="lines">@@ -1,4 +1,4 @@
</span><del>-/*! jQuery UI - v1.9.0pre - 2012-08-29
</del><ins>+/*! jQuery UI - v1.9.0 - 2012-10-05
</ins><span class="cx"> * http://jqueryui.com
</span><span class="cx"> * Includes: jquery.ui.effect-fade.js
</span><span class="cx"> * Copyright 2012 jQuery Foundation and other contributors; Licensed MIT */
</span></span></pre></div>
<a id="trunkwpincludesjsjqueryuijqueryuieffectfoldminjs"></a>
<div class="modfile"><h4>Modified: trunk/wp-includes/js/jquery/ui/jquery.ui.effect-fold.min.js (22181 => 22182)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-includes/js/jquery/ui/jquery.ui.effect-fold.min.js        2012-10-11 03:29:02 UTC (rev 22181)
+++ trunk/wp-includes/js/jquery/ui/jquery.ui.effect-fold.min.js        2012-10-11 03:34:19 UTC (rev 22182)
</span><span class="lines">@@ -1,4 +1,4 @@
</span><del>-/*! jQuery UI - v1.9.0pre - 2012-08-29
</del><ins>+/*! jQuery UI - v1.9.0 - 2012-10-05
</ins><span class="cx"> * http://jqueryui.com
</span><span class="cx"> * Includes: jquery.ui.effect-fold.js
</span><span class="cx"> * Copyright 2012 jQuery Foundation and other contributors; Licensed MIT */
</span></span></pre></div>
<a id="trunkwpincludesjsjqueryuijqueryuieffecthighlightminjs"></a>
<div class="modfile"><h4>Modified: trunk/wp-includes/js/jquery/ui/jquery.ui.effect-highlight.min.js (22181 => 22182)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-includes/js/jquery/ui/jquery.ui.effect-highlight.min.js        2012-10-11 03:29:02 UTC (rev 22181)
+++ trunk/wp-includes/js/jquery/ui/jquery.ui.effect-highlight.min.js        2012-10-11 03:34:19 UTC (rev 22182)
</span><span class="lines">@@ -1,4 +1,4 @@
</span><del>-/*! jQuery UI - v1.9.0pre - 2012-08-29
</del><ins>+/*! jQuery UI - v1.9.0 - 2012-10-05
</ins><span class="cx"> * http://jqueryui.com
</span><span class="cx"> * Includes: jquery.ui.effect-highlight.js
</span><span class="cx"> * Copyright 2012 jQuery Foundation and other contributors; Licensed MIT */
</span></span></pre></div>
<a id="trunkwpincludesjsjqueryuijqueryuieffectpulsateminjs"></a>
<div class="modfile"><h4>Modified: trunk/wp-includes/js/jquery/ui/jquery.ui.effect-pulsate.min.js (22181 => 22182)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-includes/js/jquery/ui/jquery.ui.effect-pulsate.min.js        2012-10-11 03:29:02 UTC (rev 22181)
+++ trunk/wp-includes/js/jquery/ui/jquery.ui.effect-pulsate.min.js        2012-10-11 03:34:19 UTC (rev 22182)
</span><span class="lines">@@ -1,4 +1,4 @@
</span><del>-/*! jQuery UI - v1.9.0pre - 2012-08-29
</del><ins>+/*! jQuery UI - v1.9.0 - 2012-10-05
</ins><span class="cx"> * http://jqueryui.com
</span><span class="cx"> * Includes: jquery.ui.effect-pulsate.js
</span><span class="cx"> * Copyright 2012 jQuery Foundation and other contributors; Licensed MIT */
</span></span></pre></div>
<a id="trunkwpincludesjsjqueryuijqueryuieffectscaleminjs"></a>
<div class="modfile"><h4>Modified: trunk/wp-includes/js/jquery/ui/jquery.ui.effect-scale.min.js (22181 => 22182)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-includes/js/jquery/ui/jquery.ui.effect-scale.min.js        2012-10-11 03:29:02 UTC (rev 22181)
+++ trunk/wp-includes/js/jquery/ui/jquery.ui.effect-scale.min.js        2012-10-11 03:34:19 UTC (rev 22182)
</span><span class="lines">@@ -1,4 +1,4 @@
</span><del>-/*! jQuery UI - v1.9.0pre - 2012-08-29
</del><ins>+/*! jQuery UI - v1.9.0 - 2012-10-05
</ins><span class="cx"> * http://jqueryui.com
</span><span class="cx"> * Includes: jquery.ui.effect-scale.js
</span><span class="cx"> * Copyright 2012 jQuery Foundation and other contributors; Licensed MIT */
</span></span></pre></div>
<a id="trunkwpincludesjsjqueryuijqueryuieffectshakeminjs"></a>
<div class="modfile"><h4>Modified: trunk/wp-includes/js/jquery/ui/jquery.ui.effect-shake.min.js (22181 => 22182)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-includes/js/jquery/ui/jquery.ui.effect-shake.min.js        2012-10-11 03:29:02 UTC (rev 22181)
+++ trunk/wp-includes/js/jquery/ui/jquery.ui.effect-shake.min.js        2012-10-11 03:34:19 UTC (rev 22182)
</span><span class="lines">@@ -1,5 +1,5 @@
</span><del>-/*! jQuery UI - v1.9.0pre - 2012-08-29
</del><ins>+/*! jQuery UI - v1.9.0 - 2012-10-05
</ins><span class="cx"> * http://jqueryui.com
</span><span class="cx"> * Includes: jquery.ui.effect-shake.js
</span><span class="cx"> * Copyright 2012 jQuery Foundation and other contributors; Licensed MIT */
</span><del>-(function(e,t){e.effects.effect.shake=function(t,n){var r=e(this),i=[&quot;position&quot;,&quot;top&quot;,&quot;bottom&quot;,&quot;left&quot;,&quot;right&quot;,&quot;height&quot;,&quot;width&quot;],s=e.effects.setMode(r,t.mode||&quot;effect&quot;),o=t.direction||&quot;left&quot;,u=t.distance||20,a=t.times||3,f=a*2+1,l=t.duration,c=o===&quot;up&quot;||o===&quot;down&quot;?&quot;top&quot;:&quot;left&quot;,h=o===&quot;up&quot;||o===&quot;left&quot;,p={},d={},v={},m,g=r.queue(),y=g.length;e.effects.save(r,i),r.show(),e.effects.createWrapper(r),p[c]=(h?&quot;-=&quot;:&quot;+=&quot;)+u,d[c]=(h?&quot;+=&quot;:&quot;-=&quot;)+u*2,v[c]=(h?&quot;-=&quot;:&quot;+=&quot;)+u*2,r.animate(p,l,t.easing);for(m=1;m&lt;a;m++)r.animate(d,l,t.easing).animate(v,l,t.easing);r.animate(d,l,t.easing).animate(p,l/2,t.easing).queue(function(){s===&quot;hide&quot;&amp;&amp;r.hide(),e.effects.restore(r,i),e.effects.removeWrapper(r),n()}),y&gt;1&amp;&amp;g.splice.apply(g,[1,0].concat(g.splice(
 y,f+1))),r.dequeue()}})(jQuery);
</del><span class="cx">\ No newline at end of file
</span><ins>+(function(e,t){e.effects.effect.shake=function(t,n){var r=e(this),i=[&quot;position&quot;,&quot;top&quot;,&quot;bottom&quot;,&quot;left&quot;,&quot;right&quot;,&quot;height&quot;,&quot;width&quot;],s=e.effects.setMode(r,t.mode||&quot;effect&quot;),o=t.direction||&quot;left&quot;,u=t.distance||20,a=t.times||3,f=a*2+1,l=Math.round(t.duration/f),c=o===&quot;up&quot;||o===&quot;down&quot;?&quot;top&quot;:&quot;left&quot;,h=o===&quot;up&quot;||o===&quot;left&quot;,p={},d={},v={},m,g=r.queue(),y=g.length;e.effects.save(r,i),r.show(),e.effects.createWrapper(r),p[c]=(h?&quot;-=&quot;:&quot;+=&quot;)+u,d[c]=(h?&quot;+=&quot;:&quot;-=&quot;)+u*2,v[c]=(h?&quot;-=&quot;:&quot;+=&quot;)+u*2,r.animate(p,l,t.easing);for(m=1;m&lt;a;m++)r.animate(d,l,t.easing).animate(v,l,t.easing);r.animate(d,l,t.easing).animate(p,l/2,t.easing).queue(function(){s===&quot;hide&quot;&amp;&amp;r.hide(),e.effects.restore(r,i),e.effects.removeWrapper(r),n()}),y&gt;1&amp;&amp;g.splice.apply(g,[1,0].co
 ncat(g.splice(y,f+1))),r.dequeue()}})(jQuery);
</ins><span class="cx">\ No newline at end of file
</span></span></pre></div>
<a id="trunkwpincludesjsjqueryuijqueryuieffectslideminjs"></a>
<div class="modfile"><h4>Modified: trunk/wp-includes/js/jquery/ui/jquery.ui.effect-slide.min.js (22181 => 22182)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-includes/js/jquery/ui/jquery.ui.effect-slide.min.js        2012-10-11 03:29:02 UTC (rev 22181)
+++ trunk/wp-includes/js/jquery/ui/jquery.ui.effect-slide.min.js        2012-10-11 03:34:19 UTC (rev 22182)
</span><span class="lines">@@ -1,4 +1,4 @@
</span><del>-/*! jQuery UI - v1.9.0pre - 2012-08-29
</del><ins>+/*! jQuery UI - v1.9.0 - 2012-10-05
</ins><span class="cx"> * http://jqueryui.com
</span><span class="cx"> * Includes: jquery.ui.effect-slide.js
</span><span class="cx"> * Copyright 2012 jQuery Foundation and other contributors; Licensed MIT */
</span></span></pre></div>
<a id="trunkwpincludesjsjqueryuijqueryuieffecttransferminjs"></a>
<div class="modfile"><h4>Modified: trunk/wp-includes/js/jquery/ui/jquery.ui.effect-transfer.min.js (22181 => 22182)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-includes/js/jquery/ui/jquery.ui.effect-transfer.min.js        2012-10-11 03:29:02 UTC (rev 22181)
+++ trunk/wp-includes/js/jquery/ui/jquery.ui.effect-transfer.min.js        2012-10-11 03:34:19 UTC (rev 22182)
</span><span class="lines">@@ -1,4 +1,4 @@
</span><del>-/*! jQuery UI - v1.9.0pre - 2012-08-29
</del><ins>+/*! jQuery UI - v1.9.0 - 2012-10-05
</ins><span class="cx"> * http://jqueryui.com
</span><span class="cx"> * Includes: jquery.ui.effect-transfer.js
</span><span class="cx"> * Copyright 2012 jQuery Foundation and other contributors; Licensed MIT */
</span></span></pre></div>
<a id="trunkwpincludesjsjqueryuijqueryuieffectminjs"></a>
<div class="modfile"><h4>Modified: trunk/wp-includes/js/jquery/ui/jquery.ui.effect.min.js (22181 => 22182)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-includes/js/jquery/ui/jquery.ui.effect.min.js        2012-10-11 03:29:02 UTC (rev 22181)
+++ trunk/wp-includes/js/jquery/ui/jquery.ui.effect.min.js        2012-10-11 03:34:19 UTC (rev 22182)
</span><span class="lines">@@ -1,5 +1,5 @@
</span><del>-/*! jQuery UI - v1.9.0pre - 2012-08-29
</del><ins>+/*! jQuery UI - v1.9.0 - 2012-10-05
</ins><span class="cx"> * http://jqueryui.com
</span><span class="cx"> * Includes: jquery.ui.effect.js
</span><span class="cx"> * Copyright 2012 jQuery Foundation and other contributors; Licensed MIT */
</span><del>-jQuery.effects||function(e,t){var n=e.uiBackCompat!==!1,r=&quot;ui-effects-&quot;;e.effects={effect:{}},function(t,n){function p(e,t,n){var r=a[t.type]||{};return e==null?n||!t.def?null:t.def:(e=r.floor?~~e:parseFloat(e),isNaN(e)?t.def:r.mod?(e+r.mod)%r.mod:0&gt;e?0:r.max&lt;e?r.max:e)}function d(e){var n=o(),r=n._rgba=[];return e=e.toLowerCase(),h(s,function(t,i){var s,o=i.re.exec(e),a=o&amp;&amp;i.parse(o),f=i.space||&quot;rgba&quot;;if(a)return s=n[f](a),n[u[f].cache]=s[u[f].cache],r=n._rgba=s._rgba,!1}),r.length?(r.join()===&quot;0,0,0,0&quot;&amp;&amp;t.extend(r,c.transparent),n):c[e]}function v(e,t,n){return n=(n+1)%1,n*6&lt;1?e+(t-e)*n*6:n*2&lt;1?t:n*3&lt;2?e+(t-e)*(2/3-n)*6:e}var r=&quot;backgroundColor borderBottomColor borderLeftColor borderRightColor borderTopColor color columnRuleColor outlineColor textDecorationColor textEmphasisColor&quot;.split(&quot; &quot;),i=/^([\-+])=\s*(\d+\.?\d*)/,s=[{re:/rgba?\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*
 (?:,\s*(\d+(?:\.\d+)?)\s*)?\)/,parse:function(e){return[e[1],e[2],e[3],e[4]]}},{re:/rgba?\(\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*(?:,\s*(\d+(?:\.\d+)?)\s*)?\)/,parse:function(e){return[e[1]*2.55,e[2]*2.55,e[3]*2.55,e[4]]}},{re:/#([a-f0-9]{2})([a-f0-9]{2})([a-f0-9]{2})/,parse:function(e){return[parseInt(e[1],16),parseInt(e[2],16),parseInt(e[3],16)]}},{re:/#([a-f0-9])([a-f0-9])([a-f0-9])/,parse:function(e){return[parseInt(e[1]+e[1],16),parseInt(e[2]+e[2],16),parseInt(e[3]+e[3],16)]}},{re:/hsla?\(\s*(\d+(?:\.\d+)?)\s*,\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*(?:,\s*(\d+(?:\.\d+)?)\s*)?\)/,space:&quot;hsla&quot;,parse:function(e){return[e[1],e[2]/100,e[3]/100,e[4]]}}],o=t.Color=function(e,n,r,i){return new t.Color.fn.parse(e,n,r,i)},u={rgba:{props:{red:{idx:0,type:&quot;byte&quot;},green:{idx:1,type:&quot;byte&quot;},blue:{idx:2,type:&quot;byte&quot;}}},hsla:{props:{hue:{idx:0,type:&quot;degrees&quot;},saturation:{idx:1,type:&quot;percent&q
 uot;},lightness:{idx:2,type:&quot;percent&quot;}}}},a={&quot;byte&quot;:{floor:!0,max:255},percent:{max:1},degrees:{mod:360,floor:!0}},f=o.support={},l=t(&quot;&lt;p&gt;&quot;)[0],c,h=t.each;l.style.cssText=&quot;background-color:rgba(1,1,1,.5)&quot;,f.rgba=l.style.backgroundColor.indexOf(&quot;rgba&quot;)&gt;-1,h(u,function(e,t){t.cache=&quot;_&quot;+e,t.props.alpha={idx:3,type:&quot;percent&quot;,def:1}}),o.fn=t.extend(o.prototype,{parse:function(r,i,s,a){if(r===n)return this._rgba=[null,null,null,null],this;if(r.jquery||r.nodeType)r=t(r).css(i),i=n;var f=this,l=t.type(r),v=this._rgba=[],m;i!==n&amp;&amp;(r=[r,i,s,a],l=&quot;array&quot;);if(l===&quot;string&quot;)return this.parse(d(r)||c._default);if(l===&quot;array&quot;)return h(u.rgba.props,function(e,t){v[t.idx]=p(r[t.idx],t)}),this;if(l===&quot;object&quot;)return r instanceof o?h(u,function(e,t){r[t.cache]&amp;&amp;(f[t.cache]=r[t.cache].slice())}):h(u,function(t,n){var i=n.cache;h(n.props,function(e,t){if(!f[i]&amp
 ;&amp;n.to){if(e===&quot;alpha&quot;||r[e]==null)return;f[i]=n.to(f._rgba)}f[i][t.idx]=p(r[e],t,!0)}),f[i]&amp;&amp;e.inArray(null,f[i].slice(0,3))&lt;0&amp;&amp;(f[i][3]=1,n.from&amp;&amp;(f._rgba=n.from(f[i])))}),this},is:function(e){var t=o(e),n=!0,r=this;return h(u,function(e,i){var s,o=t[i.cache];return o&amp;&amp;(s=r[i.cache]||i.to&amp;&amp;i.to(r._rgba)||[],h(i.props,function(e,t){if(o[t.idx]!=null)return n=o[t.idx]===s[t.idx],n})),n}),n},_space:function(){var e=[],t=this;return h(u,function(n,r){t[r.cache]&amp;&amp;e.push(n)}),e.pop()},transition:function(e,t){var n=o(e),r=n._space(),i=u[r],s=this.alpha()===0?o(&quot;transparent&quot;):this,f=s[i.cache]||i.to(s._rgba),l=f.slice();return n=n[i.cache],h(i.props,function(e,r){var i=r.idx,s=f[i],o=n[i],u=a[r.type]||{};if(o===null)return;s===null?l[i]=o:(u.mod&amp;&amp;(o-s&gt;u.mod/2?s+=u.mod:s-o&gt;u.mod/2&amp;&amp;(s-=u.mod)),l[i]=p((o-s)*t+s,r))}),this[r](l)},blend:function(e){if(this._rgba[3]===1)return this;var n=t
 his._rgba.slice(),r=n.pop(),i=o(e)._rgba;return o(t.map(n,function(e,t){return(1-r)*i[t]+r*e}))},toRgbaString:function(){var e=&quot;rgba(&quot;,n=t.map(this._rgba,function(e,t){return e==null?t&gt;2?1:0:e});return n[3]===1&amp;&amp;(n.pop(),e=&quot;rgb(&quot;),e+n.join()+&quot;)&quot;},toHslaString:function(){var e=&quot;hsla(&quot;,n=t.map(this.hsla(),function(e,t){return e==null&amp;&amp;(e=t&gt;2?1:0),t&amp;&amp;t&lt;3&amp;&amp;(e=Math.round(e*100)+&quot;%&quot;),e});return n[3]===1&amp;&amp;(n.pop(),e=&quot;hsl(&quot;),e+n.join()+&quot;)&quot;},toHexString:function(e){var n=this._rgba.slice(),r=n.pop();return e&amp;&amp;n.push(~~(r*255)),&quot;#&quot;+t.map(n,function(e,t){return e=(e||0).toString(16),e.length===1?&quot;0&quot;+e:e}).join(&quot;&quot;)},toString:function(){return this._rgba[3]===0?&quot;transparent&quot;:this.toRgbaString()}}),o.fn.parse.prototype=o.fn,u.hsla.to=function(e){if(e[0]==null||e[1]==null||e[2]==null)return[null,null,null,e[3]];var t=e[0]/255
 ,n=e[1]/255,r=e[2]/255,i=e[3],s=Math.max(t,n,r),o=Math.min(t,n,r),u=s-o,a=s+o,f=a*.5,l,c;return o===s?l=0:t===s?l=60*(n-r)/u+360:n===s?l=60*(r-t)/u+120:l=60*(t-n)/u+240,f===0||f===1?c=f:f&lt;=.5?c=u/a:c=u/(2-a),[Math.round(l)%360,c,f,i==null?1:i]},u.hsla.from=function(e){if(e[0]==null||e[1]==null||e[2]==null)return[null,null,null,e[3]];var t=e[0]/360,n=e[1],r=e[2],i=e[3],s=r&lt;=.5?r*(1+n):r+n-r*n,o=2*r-s,u,a,f;return[Math.round(v(o,s,t+1/3)*255),Math.round(v(o,s,t)*255),Math.round(v(o,s,t-1/3)*255),i]},h(u,function(e,r){var s=r.props,u=r.cache,a=r.to,f=r.from;o.fn[e]=function(e){a&amp;&amp;!this[u]&amp;&amp;(this[u]=a(this._rgba));if(e===n)return this[u].slice();var r,i=t.type(e),l=i===&quot;array&quot;||i===&quot;object&quot;?e:arguments,c=this[u].slice();return h(s,function(e,t){var n=l[i===&quot;object&quot;?e:t.idx];n==null&amp;&amp;(n=c[t.idx]),c[t.idx]=p(n,t)}),f?(r=o(f(c)),r[u]=c,r):o(c)},h(s,function(n,r){if(o.fn[n])return;o.fn[n]=function(s){var o=t.type(s),u=n===&
 quot;alpha&quot;?this._hsla?&quot;hsla&quot;:&quot;rgba&quot;:e,a=this[u](),f=a[r.idx],l;return o===&quot;undefined&quot;?f:(o===&quot;function&quot;&amp;&amp;(s=s.call(this,f),o=t.type(s)),s==null&amp;&amp;r.empty?this:(o===&quot;string&quot;&amp;&amp;(l=i.exec(s),l&amp;&amp;(s=f+parseFloat(l[2])*(l[1]===&quot;+&quot;?1:-1))),a[r.idx]=s,this[u](a)))}})}),h(r,function(e,n){t.cssHooks[n]={set:function(e,r){var i,s,u=&quot;&quot;;if(t.type(r)!==&quot;string&quot;||(i=d(r))){r=o(i||r);if(!f.rgba&amp;&amp;r._rgba[3]!==1){s=n===&quot;backgroundColor&quot;?e.parentNode:e;while((u===&quot;&quot;||u===&quot;transparent&quot;)&amp;&amp;s&amp;&amp;s.style)try{u=t.css(s,&quot;backgroundColor&quot;),s=s.parentNode}catch(a){}r=r.blend(u&amp;&amp;u!==&quot;transparent&quot;?u:&quot;_default&quot;)}r=r.toRgbaString()}try{e.style[n]=r}catch(r){}}},t.fx.step[n]=function(e){e.colorInit||(e.start=o(e.elem,n),e.end=o(e.end),e.colorInit=!0),t.cssHooks[n].set(e.elem,e.start.transition(e.end,e.pos
 ))}}),t.cssHooks.borderColor={expand:function(e){var t={};return h([&quot;Top&quot;,&quot;Right&quot;,&quot;Bottom&quot;,&quot;Left&quot;],function(n,r){t[&quot;border&quot;+r+&quot;Color&quot;]=e}),t}},c=t.Color.names={aqua:&quot;#00ffff&quot;,black:&quot;#000000&quot;,blue:&quot;#0000ff&quot;,fuchsia:&quot;#ff00ff&quot;,gray:&quot;#808080&quot;,green:&quot;#008000&quot;,lime:&quot;#00ff00&quot;,maroon:&quot;#800000&quot;,navy:&quot;#000080&quot;,olive:&quot;#808000&quot;,purple:&quot;#800080&quot;,red:&quot;#ff0000&quot;,silver:&quot;#c0c0c0&quot;,teal:&quot;#008080&quot;,white:&quot;#ffffff&quot;,yellow:&quot;#ffff00&quot;,transparent:[null,null,null,0],_default:&quot;#ffffff&quot;}}(jQuery),function(){function i(){var t=this.ownerDocument.defaultView?this.ownerDocument.defaultView.getComputedStyle(this,null):this.currentStyle,n={},r,i,s;if(t&amp;&amp;t.length&amp;&amp;t[0]&amp;&amp;t[t[0]]){s=t.length;while(s--)r=t[s],typeof t[r]==&quot;string&quot;&amp;&amp;(n[e.camelCa
 se(r)]=t[r])}else for(r in t)typeof t[r]==&quot;string&quot;&amp;&amp;(n[r]=t[r]);return n}function s(t,n){var i={},s,o;for(s in n)o=n[s],t[s]!==o&amp;&amp;!r[s]&amp;&amp;(e.fx.step[s]||!isNaN(parseFloat(o)))&amp;&amp;(i[s]=o);return i}var n=[&quot;add&quot;,&quot;remove&quot;,&quot;toggle&quot;],r={border:1,borderBottom:1,borderColor:1,borderLeft:1,borderRight:1,borderTop:1,borderWidth:1,margin:1,padding:1};e.each([&quot;borderLeftStyle&quot;,&quot;borderRightStyle&quot;,&quot;borderBottomStyle&quot;,&quot;borderTopStyle&quot;],function(t,n){e.fx.step[n]=function(e){if(e.end!==&quot;none&quot;&amp;&amp;!e.setAttr||e.pos===1&amp;&amp;!e.setAttr)jQuery.style(e.elem,n,e.end),e.setAttr=!0}}),e.effects.animateClass=function(t,r,o,u){var a=e.speed(r,o,u);return this.queue(function(){var r=e(this),o=r.attr(&quot;class&quot;)||&quot;&quot;,u,f=a.children?r.find(&quot;*&quot;).andSelf():r;f=f.map(function(){var t=e(this);return{el:t,start:i.call(this)}}),u=function(){e.each(n,functi
 on(e,n){t[n]&amp;&amp;r[n+&quot;Class&quot;](t[n])})},u(),f=f.map(function(){return this.end=i.call(this.el[0]),this.diff=s(this.start,this.end),this}),r.attr(&quot;class&quot;,o),f=f.map(function(){var t=this,n=e.Deferred(),r=jQuery.extend({},a,{queue:!1,complete:function(){n.resolve(t)}});return this.el.animate(this.diff,r),n.promise()}),e.when.apply(e,f.get()).done(function(){u(),e.each(arguments,function(){var t=this.el;e.each(this.diff,function(e){t.css(e,&quot;&quot;)})}),a.complete.call(r[0])})})},e.fn.extend({_addClass:e.fn.addClass,addClass:function(t,n,r,i){return n?e.effects.animateClass.call(this,{add:t},n,r,i):this._addClass(t)},_removeClass:e.fn.removeClass,removeClass:function(t,n,r,i){return n?e.effects.animateClass.call(this,{remove:t},n,r,i):this._removeClass(t)},_toggleClass:e.fn.toggleClass,toggleClass:function(n,r,i,s,o){return typeof r==&quot;boolean&quot;||r===t?i?e.effects.animateClass.call(this,r?{add:n}:{remove:n},i,s,o):this._toggleClass(n,r):e.eff
 ects.animateClass.call(this,{toggle:n},r,i,s)},switchClass:function(t,n,r,i,s){return e.effects.animateClass.call(this,{add:n,remove:t},r,i,s)}})}(),function(){function i(n,r,i,s){e.isPlainObject(n)&amp;&amp;(r=n,n=n.effect),n={effect:n},r===t&amp;&amp;(r={}),e.isFunction(r)&amp;&amp;(s=r,i=null,r={});if(typeof r==&quot;number&quot;||e.fx.speeds[r])s=i,i=r,r={};return e.isFunction(i)&amp;&amp;(s=i,i=null),r&amp;&amp;e.extend(n,r),i=i||r.duration,n.duration=e.fx.off?0:typeof i==&quot;number&quot;?i:i in e.fx.speeds?e.fx.speeds[i]:e.fx.speeds._default,n.complete=s||r.complete,n}function s(t){return!t||typeof t==&quot;number&quot;||e.fx.speeds[t]?!0:typeof t==&quot;string&quot;&amp;&amp;!e.effects.effect[t]?n&amp;&amp;e.effects[t]?!1:!0:!1}e.extend(e.effects,{version:&quot;@VERSION&quot;,save:function(e,t){for(var n=0;n&lt;t.length;n++)t[n]!==null&amp;&amp;e.data(r+t[n],e[0].style[t[n]])},restore:function(e,n){var i,s;for(s=0;s&lt;n.length;s++)n[s]!==null&amp;&amp;(i=e.data(r+n
 [s]),i===t&amp;&amp;(i=&quot;&quot;),e.css(n[s],i))},setMode:function(e,t){return t===&quot;toggle&quot;&amp;&amp;(t=e.is(&quot;:hidden&quot;)?&quot;show&quot;:&quot;hide&quot;),t},getBaseline:function(e,t){var n,r;switch(e[0]){case&quot;top&quot;:n=0;break;case&quot;middle&quot;:n=.5;break;case&quot;bottom&quot;:n=1;break;default:n=e[0]/t.height}switch(e[1]){case&quot;left&quot;:r=0;break;case&quot;center&quot;:r=.5;break;case&quot;right&quot;:r=1;break;default:r=e[1]/t.width}return{x:r,y:n}},createWrapper:function(t){if(t.parent().is(&quot;.ui-effects-wrapper&quot;))return t.parent();var n={width:t.outerWidth(!0),height:t.outerHeight(!0),&quot;float&quot;:t.css(&quot;float&quot;)},r=e(&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}),i={width:t.width(),height:t.height()},s=document.activeElement;try{s.id}catch(o){s=document.body}return 
 t.wrap(r),(t[0]===s||e.contains(t[0],s))&amp;&amp;e(s).focus(),r=t.parent(),t.css(&quot;position&quot;)===&quot;static&quot;?(r.css({position:&quot;relative&quot;}),t.css({position:&quot;relative&quot;})):(e.extend(n,{position:t.css(&quot;position&quot;),zIndex:t.css(&quot;z-index&quot;)}),e.each([&quot;top&quot;,&quot;left&quot;,&quot;bottom&quot;,&quot;right&quot;],function(e,r){n[r]=t.css(r),isNaN(parseInt(n[r],10))&amp;&amp;(n[r]=&quot;auto&quot;)}),t.css({position:&quot;relative&quot;,top:0,left:0,right:&quot;auto&quot;,bottom:&quot;auto&quot;})),t.css(i),r.css(n).show()},removeWrapper:function(t){var n=document.activeElement;return t.parent().is(&quot;.ui-effects-wrapper&quot;)&amp;&amp;(t.parent().replaceWith(t),(t[0]===n||e.contains(t[0],n))&amp;&amp;e(n).focus()),t},setTransition:function(t,n,r,i){return i=i||{},e.each(n,function(e,n){var s=t.cssUnit(n);s[0]&gt;0&amp;&amp;(i[n]=s[0]*r+s[1])}),i}}),e.fn.extend({effect:function(t,r,s,o){function h(t){function s(){e.is
 Function(r)&amp;&amp;r.call(n[0]),e.isFunction(t)&amp;&amp;t()}var n=e(this),r=u.complete,i=u.mode;(n.is(&quot;:hidden&quot;)?i===&quot;hide&quot;:i===&quot;show&quot;)?s():l.call(n[0],u,s)}var u=i.apply(this,arguments),a=u.mode,f=u.queue,l=e.effects.effect[u.effect],c=!l&amp;&amp;n&amp;&amp;e.effects[u.effect];return e.fx.off||!l&amp;&amp;!c?a?this[a](u.duration,u.complete):this.each(function(){u.complete&amp;&amp;u.complete.call(this)}):l?f===!1?this.each(h):this.queue(f||&quot;fx&quot;,h):c.call(this,{options:u,duration:u.duration,callback:u.complete,mode:u.mode})},_show:e.fn.show,show:function(e){if(s(e))return this._show.apply(this,arguments);var t=i.apply(this,arguments);return t.mode=&quot;show&quot;,this.effect.call(this,t)},_hide:e.fn.hide,hide:function(e){if(s(e))return this._hide.apply(this,arguments);var t=i.apply(this,arguments);return t.mode=&quot;hide&quot;,this.effect.call(this,t)},__toggle:e.fn.toggle,toggle:function(t){if(s(t)||typeof t==&quot;boolean&quot;
 ||e.isFunction(t))return this.__toggle.apply(this,arguments);var n=i.apply(this,arguments);return n.mode=&quot;toggle&quot;,this.effect.call(this,n)},cssUnit:function(t){var n=this.css(t),r=[];return e.each([&quot;em&quot;,&quot;px&quot;,&quot;%&quot;,&quot;pt&quot;],function(e,t){n.indexOf(t)&gt;0&amp;&amp;(r=[parseFloat(n),t])}),r}})}(),function(){var t={};e.each([&quot;Quad&quot;,&quot;Cubic&quot;,&quot;Quart&quot;,&quot;Quint&quot;,&quot;Expo&quot;],function(e,n){t[n]=function(t){return Math.pow(t,e+2)}}),e.extend(t,{Sine:function(e){return 1-Math.cos(e*Math.PI/2)},Circ:function(e){return 1-Math.sqrt(1-e*e)},Elastic:function(e){return e===0||e===1?e:-Math.pow(2,8*(e-1))*Math.sin(((e-1)*80-7.5)*Math.PI/15)},Back:function(e){return e*e*(3*e-2)},Bounce:function(e){var t,n=4;while(e&lt;((t=Math.pow(2,--n))-1)/11);return 1/Math.pow(4,3-n)-7.5625*Math.pow((t*3-2)/22-e,2)}}),e.each(t,function(t,n){e.easing[&quot;easeIn&quot;+t]=n,e.easing[&quot;easeOut&quot;+t]=function(e){retu
 rn 1-n(1-e)},e.easing[&quot;easeInOut&quot;+t]=function(e){return e&lt;.5?n(e*2)/2:1-n(e*-2+2)/2}})}()}(jQuery);
</del><span class="cx">\ No newline at end of file
</span><ins>+jQuery.effects||function(e,t){var n=e.uiBackCompat!==!1,r=&quot;ui-effects-&quot;;e.effects={effect:{}},function(t,n){function p(e,t,n){var r=a[t.type]||{};return e==null?n||!t.def?null:t.def:(e=r.floor?~~e:parseFloat(e),isNaN(e)?t.def:r.mod?(e+r.mod)%r.mod:0&gt;e?0:r.max&lt;e?r.max:e)}function d(e){var n=o(),r=n._rgba=[];return e=e.toLowerCase(),h(s,function(t,i){var s,o=i.re.exec(e),a=o&amp;&amp;i.parse(o),f=i.space||&quot;rgba&quot;;if(a)return s=n[f](a),n[u[f].cache]=s[u[f].cache],r=n._rgba=s._rgba,!1}),r.length?(r.join()===&quot;0,0,0,0&quot;&amp;&amp;t.extend(r,c.transparent),n):c[e]}function v(e,t,n){return n=(n+1)%1,n*6&lt;1?e+(t-e)*n*6:n*2&lt;1?t:n*3&lt;2?e+(t-e)*(2/3-n)*6:e}var r=&quot;backgroundColor borderBottomColor borderLeftColor borderRightColor borderTopColor color columnRuleColor outlineColor textDecorationColor textEmphasisColor&quot;.split(&quot; &quot;),i=/^([\-+])=\s*(\d+\.?\d*)/,s=[{re:/rgba?\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*
 (?:,\s*(\d+(?:\.\d+)?)\s*)?\)/,parse:function(e){return[e[1],e[2],e[3],e[4]]}},{re:/rgba?\(\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*(?:,\s*(\d+(?:\.\d+)?)\s*)?\)/,parse:function(e){return[e[1]*2.55,e[2]*2.55,e[3]*2.55,e[4]]}},{re:/#([a-f0-9]{2})([a-f0-9]{2})([a-f0-9]{2})/,parse:function(e){return[parseInt(e[1],16),parseInt(e[2],16),parseInt(e[3],16)]}},{re:/#([a-f0-9])([a-f0-9])([a-f0-9])/,parse:function(e){return[parseInt(e[1]+e[1],16),parseInt(e[2]+e[2],16),parseInt(e[3]+e[3],16)]}},{re:/hsla?\(\s*(\d+(?:\.\d+)?)\s*,\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*(?:,\s*(\d+(?:\.\d+)?)\s*)?\)/,space:&quot;hsla&quot;,parse:function(e){return[e[1],e[2]/100,e[3]/100,e[4]]}}],o=t.Color=function(e,n,r,i){return new t.Color.fn.parse(e,n,r,i)},u={rgba:{props:{red:{idx:0,type:&quot;byte&quot;},green:{idx:1,type:&quot;byte&quot;},blue:{idx:2,type:&quot;byte&quot;}}},hsla:{props:{hue:{idx:0,type:&quot;degrees&quot;},saturation:{idx:1,type:&quot;percent&q
 uot;},lightness:{idx:2,type:&quot;percent&quot;}}}},a={&quot;byte&quot;:{floor:!0,max:255},percent:{max:1},degrees:{mod:360,floor:!0}},f=o.support={},l=t(&quot;&lt;p&gt;&quot;)[0],c,h=t.each;l.style.cssText=&quot;background-color:rgba(1,1,1,.5)&quot;,f.rgba=l.style.backgroundColor.indexOf(&quot;rgba&quot;)&gt;-1,h(u,function(e,t){t.cache=&quot;_&quot;+e,t.props.alpha={idx:3,type:&quot;percent&quot;,def:1}}),o.fn=t.extend(o.prototype,{parse:function(r,i,s,a){if(r===n)return this._rgba=[null,null,null,null],this;if(r.jquery||r.nodeType)r=t(r).css(i),i=n;var f=this,l=t.type(r),v=this._rgba=[],m;i!==n&amp;&amp;(r=[r,i,s,a],l=&quot;array&quot;);if(l===&quot;string&quot;)return this.parse(d(r)||c._default);if(l===&quot;array&quot;)return h(u.rgba.props,function(e,t){v[t.idx]=p(r[t.idx],t)}),this;if(l===&quot;object&quot;)return r instanceof o?h(u,function(e,t){r[t.cache]&amp;&amp;(f[t.cache]=r[t.cache].slice())}):h(u,function(t,n){var i=n.cache;h(n.props,function(e,t){if(!f[i]&amp
 ;&amp;n.to){if(e===&quot;alpha&quot;||r[e]==null)return;f[i]=n.to(f._rgba)}f[i][t.idx]=p(r[e],t,!0)}),f[i]&amp;&amp;e.inArray(null,f[i].slice(0,3))&lt;0&amp;&amp;(f[i][3]=1,n.from&amp;&amp;(f._rgba=n.from(f[i])))}),this},is:function(e){var t=o(e),n=!0,r=this;return h(u,function(e,i){var s,o=t[i.cache];return o&amp;&amp;(s=r[i.cache]||i.to&amp;&amp;i.to(r._rgba)||[],h(i.props,function(e,t){if(o[t.idx]!=null)return n=o[t.idx]===s[t.idx],n})),n}),n},_space:function(){var e=[],t=this;return h(u,function(n,r){t[r.cache]&amp;&amp;e.push(n)}),e.pop()},transition:function(e,t){var n=o(e),r=n._space(),i=u[r],s=this.alpha()===0?o(&quot;transparent&quot;):this,f=s[i.cache]||i.to(s._rgba),l=f.slice();return n=n[i.cache],h(i.props,function(e,r){var i=r.idx,s=f[i],o=n[i],u=a[r.type]||{};if(o===null)return;s===null?l[i]=o:(u.mod&amp;&amp;(o-s&gt;u.mod/2?s+=u.mod:s-o&gt;u.mod/2&amp;&amp;(s-=u.mod)),l[i]=p((o-s)*t+s,r))}),this[r](l)},blend:function(e){if(this._rgba[3]===1)return this;var n=t
 his._rgba.slice(),r=n.pop(),i=o(e)._rgba;return o(t.map(n,function(e,t){return(1-r)*i[t]+r*e}))},toRgbaString:function(){var e=&quot;rgba(&quot;,n=t.map(this._rgba,function(e,t){return e==null?t&gt;2?1:0:e});return n[3]===1&amp;&amp;(n.pop(),e=&quot;rgb(&quot;),e+n.join()+&quot;)&quot;},toHslaString:function(){var e=&quot;hsla(&quot;,n=t.map(this.hsla(),function(e,t){return e==null&amp;&amp;(e=t&gt;2?1:0),t&amp;&amp;t&lt;3&amp;&amp;(e=Math.round(e*100)+&quot;%&quot;),e});return n[3]===1&amp;&amp;(n.pop(),e=&quot;hsl(&quot;),e+n.join()+&quot;)&quot;},toHexString:function(e){var n=this._rgba.slice(),r=n.pop();return e&amp;&amp;n.push(~~(r*255)),&quot;#&quot;+t.map(n,function(e,t){return e=(e||0).toString(16),e.length===1?&quot;0&quot;+e:e}).join(&quot;&quot;)},toString:function(){return this._rgba[3]===0?&quot;transparent&quot;:this.toRgbaString()}}),o.fn.parse.prototype=o.fn,u.hsla.to=function(e){if(e[0]==null||e[1]==null||e[2]==null)return[null,null,null,e[3]];var t=e[0]/255
 ,n=e[1]/255,r=e[2]/255,i=e[3],s=Math.max(t,n,r),o=Math.min(t,n,r),u=s-o,a=s+o,f=a*.5,l,c;return o===s?l=0:t===s?l=60*(n-r)/u+360:n===s?l=60*(r-t)/u+120:l=60*(t-n)/u+240,f===0||f===1?c=f:f&lt;=.5?c=u/a:c=u/(2-a),[Math.round(l)%360,c,f,i==null?1:i]},u.hsla.from=function(e){if(e[0]==null||e[1]==null||e[2]==null)return[null,null,null,e[3]];var t=e[0]/360,n=e[1],r=e[2],i=e[3],s=r&lt;=.5?r*(1+n):r+n-r*n,o=2*r-s,u,a,f;return[Math.round(v(o,s,t+1/3)*255),Math.round(v(o,s,t)*255),Math.round(v(o,s,t-1/3)*255),i]},h(u,function(e,r){var s=r.props,u=r.cache,a=r.to,f=r.from;o.fn[e]=function(e){a&amp;&amp;!this[u]&amp;&amp;(this[u]=a(this._rgba));if(e===n)return this[u].slice();var r,i=t.type(e),l=i===&quot;array&quot;||i===&quot;object&quot;?e:arguments,c=this[u].slice();return h(s,function(e,t){var n=l[i===&quot;object&quot;?e:t.idx];n==null&amp;&amp;(n=c[t.idx]),c[t.idx]=p(n,t)}),f?(r=o(f(c)),r[u]=c,r):o(c)},h(s,function(n,r){if(o.fn[n])return;o.fn[n]=function(s){var o=t.type(s),u=n===&
 quot;alpha&quot;?this._hsla?&quot;hsla&quot;:&quot;rgba&quot;:e,a=this[u](),f=a[r.idx],l;return o===&quot;undefined&quot;?f:(o===&quot;function&quot;&amp;&amp;(s=s.call(this,f),o=t.type(s)),s==null&amp;&amp;r.empty?this:(o===&quot;string&quot;&amp;&amp;(l=i.exec(s),l&amp;&amp;(s=f+parseFloat(l[2])*(l[1]===&quot;+&quot;?1:-1))),a[r.idx]=s,this[u](a)))}})}),h(r,function(e,n){t.cssHooks[n]={set:function(e,r){var i,s,u=&quot;&quot;;if(t.type(r)!==&quot;string&quot;||(i=d(r))){r=o(i||r);if(!f.rgba&amp;&amp;r._rgba[3]!==1){s=n===&quot;backgroundColor&quot;?e.parentNode:e;while((u===&quot;&quot;||u===&quot;transparent&quot;)&amp;&amp;s&amp;&amp;s.style)try{u=t.css(s,&quot;backgroundColor&quot;),s=s.parentNode}catch(a){}r=r.blend(u&amp;&amp;u!==&quot;transparent&quot;?u:&quot;_default&quot;)}r=r.toRgbaString()}try{e.style[n]=r}catch(r){}}},t.fx.step[n]=function(e){e.colorInit||(e.start=o(e.elem,n),e.end=o(e.end),e.colorInit=!0),t.cssHooks[n].set(e.elem,e.start.transition(e.end,e.pos
 ))}}),t.cssHooks.borderColor={expand:function(e){var t={};return h([&quot;Top&quot;,&quot;Right&quot;,&quot;Bottom&quot;,&quot;Left&quot;],function(n,r){t[&quot;border&quot;+r+&quot;Color&quot;]=e}),t}},c=t.Color.names={aqua:&quot;#00ffff&quot;,black:&quot;#000000&quot;,blue:&quot;#0000ff&quot;,fuchsia:&quot;#ff00ff&quot;,gray:&quot;#808080&quot;,green:&quot;#008000&quot;,lime:&quot;#00ff00&quot;,maroon:&quot;#800000&quot;,navy:&quot;#000080&quot;,olive:&quot;#808000&quot;,purple:&quot;#800080&quot;,red:&quot;#ff0000&quot;,silver:&quot;#c0c0c0&quot;,teal:&quot;#008080&quot;,white:&quot;#ffffff&quot;,yellow:&quot;#ffff00&quot;,transparent:[null,null,null,0],_default:&quot;#ffffff&quot;}}(jQuery),function(){function i(){var t=this.ownerDocument.defaultView?this.ownerDocument.defaultView.getComputedStyle(this,null):this.currentStyle,n={},r,i,s;if(t&amp;&amp;t.length&amp;&amp;t[0]&amp;&amp;t[t[0]]){s=t.length;while(s--)r=t[s],typeof t[r]==&quot;string&quot;&amp;&amp;(n[e.camelCa
 se(r)]=t[r])}else for(r in t)typeof t[r]==&quot;string&quot;&amp;&amp;(n[r]=t[r]);return n}function s(t,n){var i={},s,o;for(s in n)o=n[s],t[s]!==o&amp;&amp;!r[s]&amp;&amp;(e.fx.step[s]||!isNaN(parseFloat(o)))&amp;&amp;(i[s]=o);return i}var n=[&quot;add&quot;,&quot;remove&quot;,&quot;toggle&quot;],r={border:1,borderBottom:1,borderColor:1,borderLeft:1,borderRight:1,borderTop:1,borderWidth:1,margin:1,padding:1};e.each([&quot;borderLeftStyle&quot;,&quot;borderRightStyle&quot;,&quot;borderBottomStyle&quot;,&quot;borderTopStyle&quot;],function(t,n){e.fx.step[n]=function(e){if(e.end!==&quot;none&quot;&amp;&amp;!e.setAttr||e.pos===1&amp;&amp;!e.setAttr)jQuery.style(e.elem,n,e.end),e.setAttr=!0}}),e.effects.animateClass=function(t,r,o,u){var a=e.speed(r,o,u);return this.queue(function(){var r=e(this),o=r.attr(&quot;class&quot;)||&quot;&quot;,u,f=a.children?r.find(&quot;*&quot;).andSelf():r;f=f.map(function(){var t=e(this);return{el:t,start:i.call(this)}}),u=function(){e.each(n,functi
 on(e,n){t[n]&amp;&amp;r[n+&quot;Class&quot;](t[n])})},u(),f=f.map(function(){return this.end=i.call(this.el[0]),this.diff=s(this.start,this.end),this}),r.attr(&quot;class&quot;,o),f=f.map(function(){var t=this,n=e.Deferred(),r=jQuery.extend({},a,{queue:!1,complete:function(){n.resolve(t)}});return this.el.animate(this.diff,r),n.promise()}),e.when.apply(e,f.get()).done(function(){u(),e.each(arguments,function(){var t=this.el;e.each(this.diff,function(e){t.css(e,&quot;&quot;)})}),a.complete.call(r[0])})})},e.fn.extend({_addClass:e.fn.addClass,addClass:function(t,n,r,i){return n?e.effects.animateClass.call(this,{add:t},n,r,i):this._addClass(t)},_removeClass:e.fn.removeClass,removeClass:function(t,n,r,i){return n?e.effects.animateClass.call(this,{remove:t},n,r,i):this._removeClass(t)},_toggleClass:e.fn.toggleClass,toggleClass:function(n,r,i,s,o){return typeof r==&quot;boolean&quot;||r===t?i?e.effects.animateClass.call(this,r?{add:n}:{remove:n},i,s,o):this._toggleClass(n,r):e.eff
 ects.animateClass.call(this,{toggle:n},r,i,s)},switchClass:function(t,n,r,i,s){return e.effects.animateClass.call(this,{add:n,remove:t},r,i,s)}})}(),function(){function i(n,r,i,s){e.isPlainObject(n)&amp;&amp;(r=n,n=n.effect),n={effect:n},r===t&amp;&amp;(r={}),e.isFunction(r)&amp;&amp;(s=r,i=null,r={});if(typeof r==&quot;number&quot;||e.fx.speeds[r])s=i,i=r,r={};return e.isFunction(i)&amp;&amp;(s=i,i=null),r&amp;&amp;e.extend(n,r),i=i||r.duration,n.duration=e.fx.off?0:typeof i==&quot;number&quot;?i:i in e.fx.speeds?e.fx.speeds[i]:e.fx.speeds._default,n.complete=s||r.complete,n}function s(t){return!t||typeof t==&quot;number&quot;||e.fx.speeds[t]?!0:typeof t==&quot;string&quot;&amp;&amp;!e.effects.effect[t]?n&amp;&amp;e.effects[t]?!1:!0:!1}e.extend(e.effects,{version:&quot;1.9.0&quot;,save:function(e,t){for(var n=0;n&lt;t.length;n++)t[n]!==null&amp;&amp;e.data(r+t[n],e[0].style[t[n]])},restore:function(e,n){var i,s;for(s=0;s&lt;n.length;s++)n[s]!==null&amp;&amp;(i=e.data(r+n[s]
 ),i===t&amp;&amp;(i=&quot;&quot;),e.css(n[s],i))},setMode:function(e,t){return t===&quot;toggle&quot;&amp;&amp;(t=e.is(&quot;:hidden&quot;)?&quot;show&quot;:&quot;hide&quot;),t},getBaseline:function(e,t){var n,r;switch(e[0]){case&quot;top&quot;:n=0;break;case&quot;middle&quot;:n=.5;break;case&quot;bottom&quot;:n=1;break;default:n=e[0]/t.height}switch(e[1]){case&quot;left&quot;:r=0;break;case&quot;center&quot;:r=.5;break;case&quot;right&quot;:r=1;break;default:r=e[1]/t.width}return{x:r,y:n}},createWrapper:function(t){if(t.parent().is(&quot;.ui-effects-wrapper&quot;))return t.parent();var n={width:t.outerWidth(!0),height:t.outerHeight(!0),&quot;float&quot;:t.css(&quot;float&quot;)},r=e(&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}),i={width:t.width(),height:t.height()},s=document.activeElement;try{s.id}catch(o){s=document.body}return t.w
 rap(r),(t[0]===s||e.contains(t[0],s))&amp;&amp;e(s).focus(),r=t.parent(),t.css(&quot;position&quot;)===&quot;static&quot;?(r.css({position:&quot;relative&quot;}),t.css({position:&quot;relative&quot;})):(e.extend(n,{position:t.css(&quot;position&quot;),zIndex:t.css(&quot;z-index&quot;)}),e.each([&quot;top&quot;,&quot;left&quot;,&quot;bottom&quot;,&quot;right&quot;],function(e,r){n[r]=t.css(r),isNaN(parseInt(n[r],10))&amp;&amp;(n[r]=&quot;auto&quot;)}),t.css({position:&quot;relative&quot;,top:0,left:0,right:&quot;auto&quot;,bottom:&quot;auto&quot;})),t.css(i),r.css(n).show()},removeWrapper:function(t){var n=document.activeElement;return t.parent().is(&quot;.ui-effects-wrapper&quot;)&amp;&amp;(t.parent().replaceWith(t),(t[0]===n||e.contains(t[0],n))&amp;&amp;e(n).focus()),t},setTransition:function(t,n,r,i){return i=i||{},e.each(n,function(e,n){var s=t.cssUnit(n);s[0]&gt;0&amp;&amp;(i[n]=s[0]*r+s[1])}),i}}),e.fn.extend({effect:function(t,r,s,o){function h(t){function s(){e.isFun
 ction(r)&amp;&amp;r.call(n[0]),e.isFunction(t)&amp;&amp;t()}var n=e(this),r=u.complete,i=u.mode;(n.is(&quot;:hidden&quot;)?i===&quot;hide&quot;:i===&quot;show&quot;)?s():l.call(n[0],u,s)}var u=i.apply(this,arguments),a=u.mode,f=u.queue,l=e.effects.effect[u.effect],c=!l&amp;&amp;n&amp;&amp;e.effects[u.effect];return e.fx.off||!l&amp;&amp;!c?a?this[a](u.duration,u.complete):this.each(function(){u.complete&amp;&amp;u.complete.call(this)}):l?f===!1?this.each(h):this.queue(f||&quot;fx&quot;,h):c.call(this,{options:u,duration:u.duration,callback:u.complete,mode:u.mode})},_show:e.fn.show,show:function(e){if(s(e))return this._show.apply(this,arguments);var t=i.apply(this,arguments);return t.mode=&quot;show&quot;,this.effect.call(this,t)},_hide:e.fn.hide,hide:function(e){if(s(e))return this._hide.apply(this,arguments);var t=i.apply(this,arguments);return t.mode=&quot;hide&quot;,this.effect.call(this,t)},__toggle:e.fn.toggle,toggle:function(t){if(s(t)||typeof t==&quot;boolean&quot;||e
 .isFunction(t))return this.__toggle.apply(this,arguments);var n=i.apply(this,arguments);return n.mode=&quot;toggle&quot;,this.effect.call(this,n)},cssUnit:function(t){var n=this.css(t),r=[];return e.each([&quot;em&quot;,&quot;px&quot;,&quot;%&quot;,&quot;pt&quot;],function(e,t){n.indexOf(t)&gt;0&amp;&amp;(r=[parseFloat(n),t])}),r}})}(),function(){var t={};e.each([&quot;Quad&quot;,&quot;Cubic&quot;,&quot;Quart&quot;,&quot;Quint&quot;,&quot;Expo&quot;],function(e,n){t[n]=function(t){return Math.pow(t,e+2)}}),e.extend(t,{Sine:function(e){return 1-Math.cos(e*Math.PI/2)},Circ:function(e){return 1-Math.sqrt(1-e*e)},Elastic:function(e){return e===0||e===1?e:-Math.pow(2,8*(e-1))*Math.sin(((e-1)*80-7.5)*Math.PI/15)},Back:function(e){return e*e*(3*e-2)},Bounce:function(e){var t,n=4;while(e&lt;((t=Math.pow(2,--n))-1)/11);return 1/Math.pow(4,3-n)-7.5625*Math.pow((t*3-2)/22-e,2)}}),e.each(t,function(t,n){e.easing[&quot;easeIn&quot;+t]=n,e.easing[&quot;easeOut&quot;+t]=function(e){return 
 1-n(1-e)},e.easing[&quot;easeInOut&quot;+t]=function(e){return e&lt;.5?n(e*2)/2:1-n(e*-2+2)/2}})}()}(jQuery);
</ins><span class="cx">\ No newline at end of file
</span></span></pre></div>
<a id="trunkwpincludesjsjqueryuijqueryuimenuminjs"></a>
<div class="modfile"><h4>Modified: trunk/wp-includes/js/jquery/ui/jquery.ui.menu.min.js (22181 => 22182)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-includes/js/jquery/ui/jquery.ui.menu.min.js        2012-10-11 03:29:02 UTC (rev 22181)
+++ trunk/wp-includes/js/jquery/ui/jquery.ui.menu.min.js        2012-10-11 03:34:19 UTC (rev 22182)
</span><span class="lines">@@ -1,5 +1,5 @@
</span><del>-/*! jQuery UI - v1.9.0pre - 2012-08-29
</del><ins>+/*! jQuery UI - v1.9.0 - 2012-10-05
</ins><span class="cx"> * http://jqueryui.com
</span><span class="cx"> * Includes: jquery.ui.menu.js
</span><span class="cx"> * Copyright 2012 jQuery Foundation and other contributors; Licensed MIT */
</span><del>-(function(e,t){var n=!1;e.widget(&quot;ui.menu&quot;,{version:&quot;@VERSION&quot;,defaultElement:&quot;&lt;ul&gt;&quot;,delay:300,options:{icons:{submenu:&quot;ui-icon-carat-1-e&quot;},menus:&quot;ul&quot;,position:{my:&quot;left top&quot;,at:&quot;right top&quot;},role:&quot;menu&quot;,blur:null,focus:null,select:null},_create:function(){this.activeMenu=this.element,this.element.uniqueId().addClass(&quot;ui-menu ui-widget ui-widget-content ui-corner-all&quot;).toggleClass(&quot;ui-menu-icons&quot;,!!this.element.find(&quot;.ui-icon&quot;).length).attr({role:this.options.role,tabIndex:0}).bind(&quot;click&quot;+this.eventNamespace,e.proxy(function(e){this.options.disabled&amp;&amp;e.preventDefault()},this)),this.options.disabled&amp;&amp;this.element.addClass(&quot;ui-state-disabled&quot;).attr(&quot;aria-disabled&quot;,&quot;true&quot;),this._on({&quot;mousedown .ui-menu-item &gt; a&quot;:function(e){e.preventDefault()},&quot;click .ui-state-disabled &gt; a&quo
 t;:function(e){e.preventDefault()},&quot;click .ui-menu-item:has(a)&quot;:function(t){var r=e(t.target);!n&amp;&amp;r.closest(&quot;.ui-menu-item&quot;).not(&quot;.ui-state-disabled&quot;).length&amp;&amp;(n=!0,this.select(t),this.element.has(&quot;.ui-menu&quot;).length?this.expand(t):this.element.is(&quot;:focus&quot;)||this.element.focus())},&quot;mouseenter .ui-menu-item&quot;:function(t){var n=e(t.currentTarget);n.siblings().children(&quot;.ui-state-active&quot;).removeClass(&quot;ui-state-active&quot;),this.focus(t,n)},mouseleave:&quot;collapseAll&quot;,&quot;mouseleave .ui-menu&quot;:&quot;collapseAll&quot;,focus:function(e){var t=this.active||this.element.children(&quot;.ui-menu-item&quot;).eq(0);this.focus(e,t)},blur:function(t){this._delay(function(){e.contains(this.element[0],this.document[0].activeElement)||this.collapseAll(t)})},keydown:&quot;_keydown&quot;}),this.refresh(),this._on(this.document,{click:function(t){e(t.target).closest(&quot;.ui-menu&quot;).lengt
 h||this.collapseAll(t),n=!1}})},_destroy:function(){this.element.removeAttr(&quot;aria-activedescendant&quot;).find(&quot;.ui-menu&quot;).andSelf().removeClass(&quot;ui-menu ui-widget ui-widget-content ui-corner-all ui-menu-icons&quot;).removeAttr(&quot;role&quot;).removeAttr(&quot;tabIndex&quot;).removeAttr(&quot;aria-labelledby&quot;).removeAttr(&quot;aria-expanded&quot;).removeAttr(&quot;aria-hidden&quot;).removeAttr(&quot;aria-disabled&quot;).removeUniqueId().show(),this.element.find(&quot;.ui-menu-item&quot;).removeClass(&quot;ui-menu-item&quot;).removeAttr(&quot;role&quot;).removeAttr(&quot;aria-disabled&quot;).children(&quot;a&quot;).removeUniqueId().removeClass(&quot;ui-corner-all ui-state-hover&quot;).removeAttr(&quot;tabIndex&quot;).removeAttr(&quot;role&quot;).removeAttr(&quot;aria-haspopup&quot;).children().each(function(){var t=e(this);t.data(&quot;ui-menu-submenu-carat&quot;)&amp;&amp;t.remove()}),this.element.find(&quot;.ui-menu-divider&quot;).removeClass(&quo
 t;ui-menu-divider ui-widget-content&quot;)},_keydown:function(t){function a(e){return e.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,&quot;\\$&amp;&quot;)}var n,r,i,s,o,u=!0;switch(t.keyCode){case e.ui.keyCode.PAGE_UP:this.previousPage(t);break;case e.ui.keyCode.PAGE_DOWN:this.nextPage(t);break;case e.ui.keyCode.HOME:this._move(&quot;first&quot;,&quot;first&quot;,t);break;case e.ui.keyCode.END:this._move(&quot;last&quot;,&quot;last&quot;,t);break;case e.ui.keyCode.UP:this.previous(t);break;case e.ui.keyCode.DOWN:this.next(t);break;case e.ui.keyCode.LEFT:this.collapse(t);break;case e.ui.keyCode.RIGHT:this.active.is(&quot;.ui-state-disabled&quot;)||this.expand(t);break;case e.ui.keyCode.ENTER:case e.ui.keyCode.SPACE:this._activate(t);break;case e.ui.keyCode.ESCAPE:this.collapse(t);break;default:u=!1,r=this.previousFilter||&quot;&quot;,i=String.fromCharCode(t.keyCode),s=!1,clearTimeout(this.filterTimer),i===r?s=!0:i=r+i,o=new RegExp(&quot;^&quot;+a(i),&quot;i&quot;),n=this.activeMenu.
 children(&quot;.ui-menu-item&quot;).filter(function(){return o.test(e(this).children(&quot;a&quot;).text())}),n=s&amp;&amp;n.index(this.active.next())!==-1?this.active.nextAll(&quot;.ui-menu-item&quot;):n,n.length||(i=String.fromCharCode(t.keyCode),o=new RegExp(&quot;^&quot;+a(i),&quot;i&quot;),n=this.activeMenu.children(&quot;.ui-menu-item&quot;).filter(function(){return o.test(e(this).children(&quot;a&quot;).text())})),n.length?(this.focus(t,n),n.length&gt;1?(this.previousFilter=i,this.filterTimer=this._delay(function(){delete this.previousFilter},1e3)):delete this.previousFilter):delete this.previousFilter}u&amp;&amp;t.preventDefault()},_activate:function(e){this.active.is(&quot;.ui-state-disabled&quot;)||(this.active.children(&quot;a[aria-haspopup='true']&quot;).length?this.expand(e):this.select(e))},refresh:function(){var t,n=this.options.icons.submenu,r=this.element.find(this.options.menus+&quot;:not(.ui-menu)&quot;).addClass(&quot;ui-menu ui-widget ui-widget-content u
 i-corner-all&quot;).hide().attr({role:this.options.role,&quot;aria-hidden&quot;:&quot;true&quot;,&quot;aria-expanded&quot;:&quot;false&quot;});t=r.add(this.element),t.children(&quot;:not(.ui-menu-item):has(a)&quot;).addClass(&quot;ui-menu-item&quot;).attr(&quot;role&quot;,&quot;presentation&quot;).children(&quot;a&quot;).uniqueId().addClass(&quot;ui-corner-all&quot;).attr({tabIndex:-1,role:this._itemRole()}),t.children(&quot;:not(.ui-menu-item)&quot;).each(function(){var t=e(this);/[^\-—–\s]/.test(t.text())||t.addClass(&quot;ui-widget-content ui-menu-divider&quot;)}),t.children(&quot;.ui-state-disabled&quot;).attr(&quot;aria-disabled&quot;,&quot;true&quot;),r.each(function(){var t=e(this),r=t.prev(&quot;a&quot;),i=e(&quot;&lt;span&gt;&quot;).addClass(&quot;ui-menu-icon ui-icon &quot;+n).data(&quot;ui-menu-submenu-carat&quot;,!0);r.attr(&quot;aria-haspopup&quot;,&quot;true&quot;).prepend(i),t.attr(&quot;aria-labelledby&quot;,r.attr(&quot;id&quot;))}),this.active&amp;&amp;
 !e.contains(this.element[0],this.active[0])&amp;&amp;this.blur()},_itemRole:function(){return{menu:&quot;menuitem&quot;,listbox:&quot;option&quot;}[this.options.role]},focus:function(e,t){var n,r;this.blur(e,e&amp;&amp;e.type===&quot;focus&quot;),this._scrollIntoView(t),this.active=t.first(),r=this.active.children(&quot;a&quot;).addClass(&quot;ui-state-focus&quot;),this.options.role&amp;&amp;this.element.attr(&quot;aria-activedescendant&quot;,r.attr(&quot;id&quot;)),this.active.parent().closest(&quot;.ui-menu-item&quot;).children(&quot;a:first&quot;).addClass(&quot;ui-state-active&quot;),e&amp;&amp;e.type===&quot;keydown&quot;?this._close():this.timer=this._delay(function(){this._close()},this.delay),n=t.children(&quot;.ui-menu&quot;),n.length&amp;&amp;/^mouse/.test(e.type)&amp;&amp;this._startOpening(n),this.activeMenu=t.parent(),this._trigger(&quot;focus&quot;,e,{item:t})},_scrollIntoView:function(t){var n,r,i,s,o,u;this._hasScroll()&amp;&amp;(n=parseFloat(e.css(this.activ
 eMenu[0],&quot;borderTopWidth&quot;))||0,r=parseFloat(e.css(this.activeMenu[0],&quot;paddingTop&quot;))||0,i=t.offset().top-this.activeMenu.offset().top-n-r,s=this.activeMenu.scrollTop(),o=this.activeMenu.height(),u=t.height(),i&lt;0?this.activeMenu.scrollTop(s+i):i+u&gt;o&amp;&amp;this.activeMenu.scrollTop(s+i-o+u))},blur:function(e,t){t||clearTimeout(this.timer);if(!this.active)return;this.active.children(&quot;a&quot;).removeClass(&quot;ui-state-focus&quot;),this.active=null,this._trigger(&quot;blur&quot;,e,{item:this.active})},_startOpening:function(e){clearTimeout(this.timer);if(e.attr(&quot;aria-hidden&quot;)!==&quot;true&quot;)return;this.timer=this._delay(function(){this._close(),this._open(e)},this.delay)},_open:function(t){var n=e.extend({of:this.active},this.options.position);clearTimeout(this.timer),this.element.find(&quot;.ui-menu&quot;).not(t.parents(&quot;.ui-menu&quot;)).hide().attr(&quot;aria-hidden&quot;,&quot;true&quot;),t.show().removeAttr(&quot;aria-hidd
 en&quot;).attr(&quot;aria-expanded&quot;,&quot;true&quot;).position(n)},collapseAll:function(t,n){clearTimeout(this.timer),this.timer=this._delay(function(){var r=n?this.element:e(t&amp;&amp;t.target).closest(this.element.find(&quot;.ui-menu&quot;));r.length||(r=this.element),this._close(r),this.blur(t),this.activeMenu=r},this.delay)},_close:function(e){e||(e=this.active?this.active.parent():this.element),e.find(&quot;.ui-menu&quot;).hide().attr(&quot;aria-hidden&quot;,&quot;true&quot;).attr(&quot;aria-expanded&quot;,&quot;false&quot;).end().find(&quot;a.ui-state-active&quot;).removeClass(&quot;ui-state-active&quot;)},collapse:function(e){var t=this.active&amp;&amp;this.active.parent().closest(&quot;.ui-menu-item&quot;,this.element);t&amp;&amp;t.length&amp;&amp;(this._close(),this.focus(e,t))},expand:function(e){var t=this.active&amp;&amp;this.active.children(&quot;.ui-menu &quot;).children(&quot;.ui-menu-item&quot;).first();t&amp;&amp;t.length&amp;&amp;(this._open(t.parent(
 )),this._delay(function(){this.focus(e,t)}))},next:function(e){this._move(&quot;next&quot;,&quot;first&quot;,e)},previous:function(e){this._move(&quot;prev&quot;,&quot;last&quot;,e)},isFirstItem:function(){return this.active&amp;&amp;!this.active.prevAll(&quot;.ui-menu-item&quot;).length},isLastItem:function(){return this.active&amp;&amp;!this.active.nextAll(&quot;.ui-menu-item&quot;).length},_move:function(e,t,n){var r;this.active&amp;&amp;(e===&quot;first&quot;||e===&quot;last&quot;?r=this.active[e===&quot;first&quot;?&quot;prevAll&quot;:&quot;nextAll&quot;](&quot;.ui-menu-item&quot;).eq(-1):r=this.active[e+&quot;All&quot;](&quot;.ui-menu-item&quot;).eq(0));if(!r||!r.length||!this.active)r=this.activeMenu.children(&quot;.ui-menu-item&quot;)[t]();this.focus(n,r)},nextPage:function(t){var n,r,i;if(!this.active){this.next(t);return}if(this.isLastItem())return;this._hasScroll()?(r=this.active.offset().top,i=this.element.height(),this.active.nextAll(&quot;.ui-menu-item&quot;).e
 ach(function(){return n=e(this),n.offset().top-r-i&lt;0}),this.focus(t,n)):this.focus(t,this.activeMenu.children(&quot;.ui-menu-item&quot;)[this.active?&quot;last&quot;:&quot;first&quot;]())},previousPage:function(t){var n,r,i;if(!this.active){this.next(t);return}if(this.isFirstItem())return;this._hasScroll()?(r=this.active.offset().top,i=this.element.height(),this.active.prevAll(&quot;.ui-menu-item&quot;).each(function(){return n=e(this),n.offset().top-r+i&gt;0}),this.focus(t,n)):this.focus(t,this.activeMenu.children(&quot;.ui-menu-item&quot;).first())},_hasScroll:function(){return this.element.outerHeight()&lt;this.element.prop(&quot;scrollHeight&quot;)},select:function(t){var n={item:this.active||e(t.target).closest(&quot;.ui-menu-item&quot;)};n.item.has(&quot;.ui-menu&quot;).length||this.collapseAll(t,!0),this._trigger(&quot;select&quot;,t,n)}})})(jQuery);
</del><span class="cx">\ No newline at end of file
</span><ins>+(function(e,t){var n=!1;e.widget(&quot;ui.menu&quot;,{version:&quot;1.9.0&quot;,defaultElement:&quot;&lt;ul&gt;&quot;,delay:300,options:{icons:{submenu:&quot;ui-icon-carat-1-e&quot;},menus:&quot;ul&quot;,position:{my:&quot;left top&quot;,at:&quot;right top&quot;},role:&quot;menu&quot;,blur:null,focus:null,select:null},_create:function(){this.activeMenu=this.element,this.element.uniqueId().addClass(&quot;ui-menu ui-widget ui-widget-content ui-corner-all&quot;).toggleClass(&quot;ui-menu-icons&quot;,!!this.element.find(&quot;.ui-icon&quot;).length).attr({role:this.options.role,tabIndex:0}).bind(&quot;click&quot;+this.eventNamespace,e.proxy(function(e){this.options.disabled&amp;&amp;e.preventDefault()},this)),this.options.disabled&amp;&amp;this.element.addClass(&quot;ui-state-disabled&quot;).attr(&quot;aria-disabled&quot;,&quot;true&quot;),this._on({&quot;mousedown .ui-menu-item &gt; a&quot;:function(e){e.preventDefault()},&quot;click .ui-state-disabled &gt; a&quot;:
 function(e){e.preventDefault()},&quot;click .ui-menu-item:has(a)&quot;:function(t){var r=e(t.target).closest(&quot;.ui-menu-item&quot;);!n&amp;&amp;r.not(&quot;.ui-state-disabled&quot;).length&amp;&amp;(n=!0,this.select(t),r.has(&quot;.ui-menu&quot;).length?this.expand(t):this.element.is(&quot;:focus&quot;)||(this.element.trigger(&quot;focus&quot;,[!0]),this.active&amp;&amp;this.active.parents(&quot;.ui-menu&quot;).length===1&amp;&amp;clearTimeout(this.timer)))},&quot;mouseenter .ui-menu-item&quot;:function(t){var n=e(t.currentTarget);n.siblings().children(&quot;.ui-state-active&quot;).removeClass(&quot;ui-state-active&quot;),this.focus(t,n)},mouseleave:&quot;collapseAll&quot;,&quot;mouseleave .ui-menu&quot;:&quot;collapseAll&quot;,focus:function(e,t){var n=this.active||this.element.children(&quot;.ui-menu-item&quot;).eq(0);t||this.focus(e,n)},blur:function(t){this._delay(function(){e.contains(this.element[0],this.document[0].activeElement)||this.collapseAll(t)})},keydown:&q
 uot;_keydown&quot;}),this.refresh(),this._on(this.document,{click:function(t){e(t.target).closest(&quot;.ui-menu&quot;).length||this.collapseAll(t),n=!1}})},_destroy:function(){this.element.removeAttr(&quot;aria-activedescendant&quot;).find(&quot;.ui-menu&quot;).andSelf().removeClass(&quot;ui-menu ui-widget ui-widget-content ui-corner-all ui-menu-icons&quot;).removeAttr(&quot;role&quot;).removeAttr(&quot;tabIndex&quot;).removeAttr(&quot;aria-labelledby&quot;).removeAttr(&quot;aria-expanded&quot;).removeAttr(&quot;aria-hidden&quot;).removeAttr(&quot;aria-disabled&quot;).removeUniqueId().show(),this.element.find(&quot;.ui-menu-item&quot;).removeClass(&quot;ui-menu-item&quot;).removeAttr(&quot;role&quot;).removeAttr(&quot;aria-disabled&quot;).children(&quot;a&quot;).removeUniqueId().removeClass(&quot;ui-corner-all ui-state-hover&quot;).removeAttr(&quot;tabIndex&quot;).removeAttr(&quot;role&quot;).removeAttr(&quot;aria-haspopup&quot;).children().each(function(){var t=e(this);t.d
 ata(&quot;ui-menu-submenu-carat&quot;)&amp;&amp;t.remove()}),this.element.find(&quot;.ui-menu-divider&quot;).removeClass(&quot;ui-menu-divider ui-widget-content&quot;)},_keydown:function(t){function a(e){return e.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,&quot;\\$&amp;&quot;)}var n,r,i,s,o,u=!0;switch(t.keyCode){case e.ui.keyCode.PAGE_UP:this.previousPage(t);break;case e.ui.keyCode.PAGE_DOWN:this.nextPage(t);break;case e.ui.keyCode.HOME:this._move(&quot;first&quot;,&quot;first&quot;,t);break;case e.ui.keyCode.END:this._move(&quot;last&quot;,&quot;last&quot;,t);break;case e.ui.keyCode.UP:this.previous(t);break;case e.ui.keyCode.DOWN:this.next(t);break;case e.ui.keyCode.LEFT:this.collapse(t);break;case e.ui.keyCode.RIGHT:this.active&amp;&amp;!this.active.is(&quot;.ui-state-disabled&quot;)&amp;&amp;this.expand(t);break;case e.ui.keyCode.ENTER:case e.ui.keyCode.SPACE:this._activate(t);break;case e.ui.keyCode.ESCAPE:this.collapse(t);break;default:u=!1,r=this.previousFilter||&quot;&qu
 ot;,i=String.fromCharCode(t.keyCode),s=!1,clearTimeout(this.filterTimer),i===r?s=!0:i=r+i,o=new RegExp(&quot;^&quot;+a(i),&quot;i&quot;),n=this.activeMenu.children(&quot;.ui-menu-item&quot;).filter(function(){return o.test(e(this).children(&quot;a&quot;).text())}),n=s&amp;&amp;n.index(this.active.next())!==-1?this.active.nextAll(&quot;.ui-menu-item&quot;):n,n.length||(i=String.fromCharCode(t.keyCode),o=new RegExp(&quot;^&quot;+a(i),&quot;i&quot;),n=this.activeMenu.children(&quot;.ui-menu-item&quot;).filter(function(){return o.test(e(this).children(&quot;a&quot;).text())})),n.length?(this.focus(t,n),n.length&gt;1?(this.previousFilter=i,this.filterTimer=this._delay(function(){delete this.previousFilter},1e3)):delete this.previousFilter):delete this.previousFilter}u&amp;&amp;t.preventDefault()},_activate:function(e){this.active.is(&quot;.ui-state-disabled&quot;)||(this.active.children(&quot;a[aria-haspopup='true']&quot;).length?this.expand(e):this.select(e))},refresh:function()
 {var t,n=this.options.icons.submenu,r=this.element.find(this.options.menus+&quot;:not(.ui-menu)&quot;).addClass(&quot;ui-menu ui-widget ui-widget-content ui-corner-all&quot;).hide().attr({role:this.options.role,&quot;aria-hidden&quot;:&quot;true&quot;,&quot;aria-expanded&quot;:&quot;false&quot;});t=r.add(this.element),t.children(&quot;:not(.ui-menu-item):has(a)&quot;).addClass(&quot;ui-menu-item&quot;).attr(&quot;role&quot;,&quot;presentation&quot;).children(&quot;a&quot;).uniqueId().addClass(&quot;ui-corner-all&quot;).attr({tabIndex:-1,role:this._itemRole()}),t.children(&quot;:not(.ui-menu-item)&quot;).each(function(){var t=e(this);/[^\-—–\s]/.test(t.text())||t.addClass(&quot;ui-widget-content ui-menu-divider&quot;)}),t.children(&quot;.ui-state-disabled&quot;).attr(&quot;aria-disabled&quot;,&quot;true&quot;),r.each(function(){var t=e(this),r=t.prev(&quot;a&quot;),i=e(&quot;&lt;span&gt;&quot;).addClass(&quot;ui-menu-icon ui-icon &quot;+n).data(&quot;ui-menu-submenu-carat
 &quot;,!0);r.attr(&quot;aria-haspopup&quot;,&quot;true&quot;).prepend(i),t.attr(&quot;aria-labelledby&quot;,r.attr(&quot;id&quot;))}),this.active&amp;&amp;!e.contains(this.element[0],this.active[0])&amp;&amp;this.blur()},_itemRole:function(){return{menu:&quot;menuitem&quot;,listbox:&quot;option&quot;}[this.options.role]},focus:function(e,t){var n,r;this.blur(e,e&amp;&amp;e.type===&quot;focus&quot;),this._scrollIntoView(t),this.active=t.first(),r=this.active.children(&quot;a&quot;).addClass(&quot;ui-state-focus&quot;),this.options.role&amp;&amp;this.element.attr(&quot;aria-activedescendant&quot;,r.attr(&quot;id&quot;)),this.active.parent().closest(&quot;.ui-menu-item&quot;).children(&quot;a:first&quot;).addClass(&quot;ui-state-active&quot;),e&amp;&amp;e.type===&quot;keydown&quot;?this._close():this.timer=this._delay(function(){this._close()},this.delay),n=t.children(&quot;.ui-menu&quot;),n.length&amp;&amp;/^mouse/.test(e.type)&amp;&amp;this._startOpening(n),this.activeMenu=t.
 parent(),this._trigger(&quot;focus&quot;,e,{item:t})},_scrollIntoView:function(t){var n,r,i,s,o,u;this._hasScroll()&amp;&amp;(n=parseFloat(e.css(this.activeMenu[0],&quot;borderTopWidth&quot;))||0,r=parseFloat(e.css(this.activeMenu[0],&quot;paddingTop&quot;))||0,i=t.offset().top-this.activeMenu.offset().top-n-r,s=this.activeMenu.scrollTop(),o=this.activeMenu.height(),u=t.height(),i&lt;0?this.activeMenu.scrollTop(s+i):i+u&gt;o&amp;&amp;this.activeMenu.scrollTop(s+i-o+u))},blur:function(e,t){t||clearTimeout(this.timer);if(!this.active)return;this.active.children(&quot;a&quot;).removeClass(&quot;ui-state-focus&quot;),this.active=null,this._trigger(&quot;blur&quot;,e,{item:this.active})},_startOpening:function(e){clearTimeout(this.timer);if(e.attr(&quot;aria-hidden&quot;)!==&quot;true&quot;)return;this.timer=this._delay(function(){this._close(),this._open(e)},this.delay)},_open:function(t){var n=e.extend({of:this.active},this.options.position);clearTimeout(this.timer),this.elemen
 t.find(&quot;.ui-menu&quot;).not(t.parents(&quot;.ui-menu&quot;)).hide().attr(&quot;aria-hidden&quot;,&quot;true&quot;),t.show().removeAttr(&quot;aria-hidden&quot;).attr(&quot;aria-expanded&quot;,&quot;true&quot;).position(n)},collapseAll:function(t,n){clearTimeout(this.timer),this.timer=this._delay(function(){var r=n?this.element:e(t&amp;&amp;t.target).closest(this.element.find(&quot;.ui-menu&quot;));r.length||(r=this.element),this._close(r),this.blur(t),this.activeMenu=r},this.delay)},_close:function(e){e||(e=this.active?this.active.parent():this.element),e.find(&quot;.ui-menu&quot;).hide().attr(&quot;aria-hidden&quot;,&quot;true&quot;).attr(&quot;aria-expanded&quot;,&quot;false&quot;).end().find(&quot;a.ui-state-active&quot;).removeClass(&quot;ui-state-active&quot;)},collapse:function(e){var t=this.active&amp;&amp;this.active.parent().closest(&quot;.ui-menu-item&quot;,this.element);t&amp;&amp;t.length&amp;&amp;(this._close(),this.focus(e,t))},expand:function(e){var t=this
 .active&amp;&amp;this.active.children(&quot;.ui-menu &quot;).children(&quot;.ui-menu-item&quot;).first();t&amp;&amp;t.length&amp;&amp;(this._open(t.parent()),this._delay(function(){this.focus(e,t)}))},next:function(e){this._move(&quot;next&quot;,&quot;first&quot;,e)},previous:function(e){this._move(&quot;prev&quot;,&quot;last&quot;,e)},isFirstItem:function(){return this.active&amp;&amp;!this.active.prevAll(&quot;.ui-menu-item&quot;).length},isLastItem:function(){return this.active&amp;&amp;!this.active.nextAll(&quot;.ui-menu-item&quot;).length},_move:function(e,t,n){var r;this.active&amp;&amp;(e===&quot;first&quot;||e===&quot;last&quot;?r=this.active[e===&quot;first&quot;?&quot;prevAll&quot;:&quot;nextAll&quot;](&quot;.ui-menu-item&quot;).eq(-1):r=this.active[e+&quot;All&quot;](&quot;.ui-menu-item&quot;).eq(0));if(!r||!r.length||!this.active)r=this.activeMenu.children(&quot;.ui-menu-item&quot;)[t]();this.focus(n,r)},nextPage:function(t){var n,r,i;if(!this.active){this.next(t
 );return}if(this.isLastItem())return;this._hasScroll()?(r=this.active.offset().top,i=this.element.height(),this.active.nextAll(&quot;.ui-menu-item&quot;).each(function(){return n=e(this),n.offset().top-r-i&lt;0}),this.focus(t,n)):this.focus(t,this.activeMenu.children(&quot;.ui-menu-item&quot;)[this.active?&quot;last&quot;:&quot;first&quot;]())},previousPage:function(t){var n,r,i;if(!this.active){this.next(t);return}if(this.isFirstItem())return;this._hasScroll()?(r=this.active.offset().top,i=this.element.height(),this.active.prevAll(&quot;.ui-menu-item&quot;).each(function(){return n=e(this),n.offset().top-r+i&gt;0}),this.focus(t,n)):this.focus(t,this.activeMenu.children(&quot;.ui-menu-item&quot;).first())},_hasScroll:function(){return this.element.outerHeight()&lt;this.element.prop(&quot;scrollHeight&quot;)},select:function(t){this.active=this.active||e(t.target).closest(&quot;.ui-menu-item&quot;);var n={item:this.active};this.active.has(&quot;.ui-menu&quot;).length||this.co
 llapseAll(t,!0),this._trigger(&quot;select&quot;,t,n)}})})(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 (22181 => 22182)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-includes/js/jquery/ui/jquery.ui.mouse.min.js        2012-10-11 03:29:02 UTC (rev 22181)
+++ trunk/wp-includes/js/jquery/ui/jquery.ui.mouse.min.js        2012-10-11 03:34:19 UTC (rev 22182)
</span><span class="lines">@@ -1,5 +1,5 @@
</span><del>-/*! jQuery UI - v1.9.0pre - 2012-08-29
</del><ins>+/*! jQuery UI - v1.9.0 - 2012-10-05
</ins><span class="cx"> * http://jqueryui.com
</span><span class="cx"> * Includes: jquery.ui.mouse.js
</span><span class="cx"> * Copyright 2012 jQuery Foundation and other contributors; Licensed MIT */
</span><del>-(function(e,t){var n=!1;e(document).mouseup(function(e){n=!1}),e.widget(&quot;ui.mouse&quot;,{version:&quot;@VERSION&quot;,options:{cancel:&quot;input,textarea,button,select,option&quot;,distance:1,delay:0},_mouseInit:function(){var t=this;this.element.bind(&quot;mousedown.&quot;+this.widgetName,function(e){return t._mouseDown(e)}).bind(&quot;click.&quot;+this.widgetName,function(n){if(!0===e.data(n.target,t.widgetName+&quot;.preventClickEvent&quot;))return e.removeData(n.target,t.widgetName+&quot;.preventClickEvent&quot;),n.stopImmediatePropagation(),!1}),this.started=!1},_mouseDestroy:function(){this.element.unbind(&quot;.&quot;+this.widgetName),this._mouseMoveDelegate&amp;&amp;e(document).unbind(&quot;mousemove.&quot;+this.widgetName,this._mouseMoveDelegate).unbind(&quot;mouseup.&quot;+this.widgetName,this._mouseUpDelegate)},_mouseDown:function(t){if(n)return;this._mouseStarted&amp;&amp;this._mouseUp(t),this._mouseDownEvent=t;var r=this,i=t.which===1,s=typeof 
 this.options.cancel==&quot;string&quot;&amp;&amp;t.target.nodeName?e(t.target).closest(this.options.cancel).length:!1;if(!i||s||!this._mouseCapture(t))return!0;this.mouseDelayMet=!this.options.delay,this.mouseDelayMet||(this._mouseDelayTimer=setTimeout(function(){r.mouseDelayMet=!0},this.options.delay));if(this._mouseDistanceMet(t)&amp;&amp;this._mouseDelayMet(t)){this._mouseStarted=this._mouseStart(t)!==!1;if(!this._mouseStarted)return t.preventDefault(),!0}return!0===e.data(t.target,this.widgetName+&quot;.preventClickEvent&quot;)&amp;&amp;e.removeData(t.target,this.widgetName+&quot;.preventClickEvent&quot;),this._mouseMoveDelegate=function(e){return r._mouseMove(e)},this._mouseUpDelegate=function(e){return r._mouseUp(e)},e(document).bind(&quot;mousemove.&quot;+this.widgetName,this._mouseMoveDelegate).bind(&quot;mouseup.&quot;+this.widgetName,this._mouseUpDelegate),t.preventDefault(),n=!0,!0},_mouseMove:function(t){return!e.browser.msie||document.documentMode&gt;=9||!!t.but
 ton?this._mouseStarted?(this._mouseDrag(t),t.preventDefault()):(this._mouseDistanceMet(t)&amp;&amp;this._mouseDelayMet(t)&amp;&amp;(this._mouseStarted=this._mouseStart(this._mouseDownEvent,t)!==!1,this._mouseStarted?this._mouseDrag(t):this._mouseUp(t)),!this._mouseStarted):this._mouseUp(t)},_mouseUp:function(t){return e(document).unbind(&quot;mousemove.&quot;+this.widgetName,this._mouseMoveDelegate).unbind(&quot;mouseup.&quot;+this.widgetName,this._mouseUpDelegate),this._mouseStarted&amp;&amp;(this._mouseStarted=!1,t.target===this._mouseDownEvent.target&amp;&amp;e.data(t.target,this.widgetName+&quot;.preventClickEvent&quot;,!0),this._mouseStop(t)),!1},_mouseDistanceMet:function(e){return Math.max(Math.abs(this._mouseDownEvent.pageX-e.pageX),Math.abs(this._mouseDownEvent.pageY-e.pageY))&gt;=this.options.distance},_mouseDelayMet:function(e){return this.mouseDelayMet},_mouseStart:function(e){},_mouseDrag:function(e){},_mouseStop:function(e){},_mouseCapture:function(e){return!0}
 })})(jQuery);
</del><span class="cx">\ No newline at end of file
</span><ins>+(function(e,t){var n=!1;e(document).mouseup(function(e){n=!1}),e.widget(&quot;ui.mouse&quot;,{version:&quot;1.9.0&quot;,options:{cancel:&quot;input,textarea,button,select,option&quot;,distance:1,delay:0},_mouseInit:function(){var t=this;this.element.bind(&quot;mousedown.&quot;+this.widgetName,function(e){return t._mouseDown(e)}).bind(&quot;click.&quot;+this.widgetName,function(n){if(!0===e.data(n.target,t.widgetName+&quot;.preventClickEvent&quot;))return e.removeData(n.target,t.widgetName+&quot;.preventClickEvent&quot;),n.stopImmediatePropagation(),!1}),this.started=!1},_mouseDestroy:function(){this.element.unbind(&quot;.&quot;+this.widgetName),this._mouseMoveDelegate&amp;&amp;e(document).unbind(&quot;mousemove.&quot;+this.widgetName,this._mouseMoveDelegate).unbind(&quot;mouseup.&quot;+this.widgetName,this._mouseUpDelegate)},_mouseDown:function(t){if(n)return;this._mouseStarted&amp;&amp;this._mouseUp(t),this._mouseDownEvent=t;var r=this,i=t.which===1,s=typeof thi
 s.options.cancel==&quot;string&quot;&amp;&amp;t.target.nodeName?e(t.target).closest(this.options.cancel).length:!1;if(!i||s||!this._mouseCapture(t))return!0;this.mouseDelayMet=!this.options.delay,this.mouseDelayMet||(this._mouseDelayTimer=setTimeout(function(){r.mouseDelayMet=!0},this.options.delay));if(this._mouseDistanceMet(t)&amp;&amp;this._mouseDelayMet(t)){this._mouseStarted=this._mouseStart(t)!==!1;if(!this._mouseStarted)return t.preventDefault(),!0}return!0===e.data(t.target,this.widgetName+&quot;.preventClickEvent&quot;)&amp;&amp;e.removeData(t.target,this.widgetName+&quot;.preventClickEvent&quot;),this._mouseMoveDelegate=function(e){return r._mouseMove(e)},this._mouseUpDelegate=function(e){return r._mouseUp(e)},e(document).bind(&quot;mousemove.&quot;+this.widgetName,this._mouseMoveDelegate).bind(&quot;mouseup.&quot;+this.widgetName,this._mouseUpDelegate),t.preventDefault(),n=!0,!0},_mouseMove:function(t){return!e.browser.msie||document.documentMode&gt;=9||!!t.button
 ?this._mouseStarted?(this._mouseDrag(t),t.preventDefault()):(this._mouseDistanceMet(t)&amp;&amp;this._mouseDelayMet(t)&amp;&amp;(this._mouseStarted=this._mouseStart(this._mouseDownEvent,t)!==!1,this._mouseStarted?this._mouseDrag(t):this._mouseUp(t)),!this._mouseStarted):this._mouseUp(t)},_mouseUp:function(t){return e(document).unbind(&quot;mousemove.&quot;+this.widgetName,this._mouseMoveDelegate).unbind(&quot;mouseup.&quot;+this.widgetName,this._mouseUpDelegate),this._mouseStarted&amp;&amp;(this._mouseStarted=!1,t.target===this._mouseDownEvent.target&amp;&amp;e.data(t.target,this.widgetName+&quot;.preventClickEvent&quot;,!0),this._mouseStop(t)),!1},_mouseDistanceMet:function(e){return Math.max(Math.abs(this._mouseDownEvent.pageX-e.pageX),Math.abs(this._mouseDownEvent.pageY-e.pageY))&gt;=this.options.distance},_mouseDelayMet:function(e){return this.mouseDelayMet},_mouseStart:function(e){},_mouseDrag:function(e){},_mouseStop:function(e){},_mouseCapture:function(e){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 (22181 => 22182)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-includes/js/jquery/ui/jquery.ui.position.min.js        2012-10-11 03:29:02 UTC (rev 22181)
+++ trunk/wp-includes/js/jquery/ui/jquery.ui.position.min.js        2012-10-11 03:34:19 UTC (rev 22182)
</span><span class="lines">@@ -1,4 +1,4 @@
</span><del>-/*! jQuery UI - v1.9.0pre - 2012-08-29
</del><ins>+/*! jQuery UI - v1.9.0 - 2012-10-05
</ins><span class="cx"> * http://jqueryui.com
</span><span class="cx"> * Includes: jquery.ui.position.js
</span><span class="cx"> * Copyright 2012 jQuery Foundation and other contributors; Licensed MIT */
</span></span></pre></div>
<a id="trunkwpincludesjsjqueryuijqueryuiprogressbarminjs"></a>
<div class="modfile"><h4>Modified: trunk/wp-includes/js/jquery/ui/jquery.ui.progressbar.min.js (22181 => 22182)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-includes/js/jquery/ui/jquery.ui.progressbar.min.js        2012-10-11 03:29:02 UTC (rev 22181)
+++ trunk/wp-includes/js/jquery/ui/jquery.ui.progressbar.min.js        2012-10-11 03:34:19 UTC (rev 22182)
</span><span class="lines">@@ -1,5 +1,5 @@
</span><del>-/*! jQuery UI - v1.9.0pre - 2012-08-29
</del><ins>+/*! jQuery UI - v1.9.0 - 2012-10-05
</ins><span class="cx"> * http://jqueryui.com
</span><span class="cx"> * Includes: jquery.ui.progressbar.js
</span><span class="cx"> * Copyright 2012 jQuery Foundation and other contributors; Licensed MIT */
</span><del>-(function(e,t){e.widget(&quot;ui.progressbar&quot;,{version:&quot;@VERSION&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=e(&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()},value:function(e){return e===t?this._value():(this._setOption(&quot;value&quot;,e),this)},_setOption:function(e,t){e===&quot;valu
 e&quot;&amp;&amp;(this.options.value=t,this._refreshValue(),this._value()===this.options.max&amp;&amp;this._trigger(&quot;complete&quot;)),this._super(e,t)},_value:function(){var e=this.options.value;return typeof e!=&quot;number&quot;&amp;&amp;(e=0),Math.min(this.options.max,Math.max(this.min,e))},_percentage:function(){return 100*this._value()/this.options.max},_refreshValue:function(){var e=this.value(),t=this._percentage();this.oldValue!==e&amp;&amp;(this.oldValue=e,this._trigger(&quot;change&quot;)),this.valueDiv.toggle(e&gt;this.min).toggleClass(&quot;ui-corner-right&quot;,e===this.options.max).width(t.toFixed(0)+&quot;%&quot;),this.element.attr(&quot;aria-valuenow&quot;,e)}})})(jQuery);
</del><span class="cx">\ No newline at end of file
</span><ins>+(function(e,t){e.widget(&quot;ui.progressbar&quot;,{version:&quot;1.9.0&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=e(&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()},value:function(e){return e===t?this._value():(this._setOption(&quot;value&quot;,e),this)},_setOption:function(e,t){e===&quot;value&q
 uot;&amp;&amp;(this.options.value=t,this._refreshValue(),this._value()===this.options.max&amp;&amp;this._trigger(&quot;complete&quot;)),this._super(e,t)},_value:function(){var e=this.options.value;return typeof e!=&quot;number&quot;&amp;&amp;(e=0),Math.min(this.options.max,Math.max(this.min,e))},_percentage:function(){return 100*this._value()/this.options.max},_refreshValue:function(){var e=this.value(),t=this._percentage();this.oldValue!==e&amp;&amp;(this.oldValue=e,this._trigger(&quot;change&quot;)),this.valueDiv.toggle(e&gt;this.min).toggleClass(&quot;ui-corner-right&quot;,e===this.options.max).width(t.toFixed(0)+&quot;%&quot;),this.element.attr(&quot;aria-valuenow&quot;,e)}})})(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 (22181 => 22182)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-includes/js/jquery/ui/jquery.ui.resizable.min.js        2012-10-11 03:29:02 UTC (rev 22181)
+++ trunk/wp-includes/js/jquery/ui/jquery.ui.resizable.min.js        2012-10-11 03:34:19 UTC (rev 22182)
</span><span class="lines">@@ -1,5 +1,5 @@
</span><del>-/*! jQuery UI - v1.9.0pre - 2012-08-29
</del><ins>+/*! jQuery UI - v1.9.0 - 2012-10-05
</ins><span class="cx"> * http://jqueryui.com
</span><span class="cx"> * Includes: jquery.ui.resizable.js
</span><span class="cx"> * Copyright 2012 jQuery Foundation and other contributors; Licensed MIT */
</span><del>-(function(e,t){e.widget(&quot;ui.resizable&quot;,e.ui.mouse,{version:&quot;@VERSION&quot;,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 t=this,n=this.options;this.element.addClass(&quot;ui-resizable&quot;),e.extend(this,{_aspectRatio:!!n.aspectRatio,aspectRatio:n.aspectRatio,originalElement:this.element,_proportionallyResizeElements:[],_helper:n.helper||n.ghost||n.animate?n.helper||&quot;ui-resizable-helper&quot;:null}),this.element[0].nodeName.match(/canvas|textarea|input|select|button|img/i)&amp;&amp;(this.element.wrap(e('&lt;div class=&quot;ui-wrapper&quot; style=&quot;overflow: hidden;&quot;&gt;&lt;/div&gt;').css({position:this.element.css(&quot;position&quot;),width:this.element.outerWidt
 h(),height:this.element.outerHeight(),top:this.element.css(&quot;top&quot;),left:this.element.css(&quot;left&quot;)})),this.element=this.element.parent().data(&quot;resizable&quot;,this.element.data(&quot;resizable&quot;)),this.elementIsWrapper=!0,this.element.css({marginLeft:this.originalElement.css(&quot;marginLeft&quot;),marginTop:this.originalElement.css(&quot;marginTop&quot;),marginRight:this.originalElement.css(&quot;marginRight&quot;),marginBottom:this.originalElement.css(&quot;marginBottom&quot;)}),this.originalElement.css({marginLeft:0,marginTop:0,marginRight:0,marginBottom:0}),this.originalResizeStyle=this.originalElement.css(&quot;resize&quot;),this.originalElement.css(&quot;resize&quot;,&quot;none&quot;),this._proportionallyResizeElements.push(this.originalElement.css({position:&quot;static&quot;,zoom:1,display:&quot;block&quot;})),this.originalElement.css({margin:this.originalElement.css(&quot;margin&quot;)}),this._proportionallyResize()),this.handles=n.handles|
 |(e(&quot;.ui-resizable-handle&quot;,this.element).length?{n:&quot;.ui-resizable-n&quot;,e:&quot;.ui-resizable-e&quot;,s:&quot;.ui-resizable-s&quot;,w:&quot;.ui-resizable-w&quot;,se:&quot;.ui-resizable-se&quot;,sw:&quot;.ui-resizable-sw&quot;,ne:&quot;.ui-resizable-ne&quot;,nw:&quot;.ui-resizable-nw&quot;}:&quot;e,s,se&quot;);if(this.handles.constructor==String){this.handles==&quot;all&quot;&amp;&amp;(this.handles=&quot;n,e,s,w,se,sw,ne,nw&quot;);var r=this.handles.split(&quot;,&quot;);this.handles={};for(var i=0;i&lt;r.length;i++){var s=e.trim(r[i]),o=&quot;ui-resizable-&quot;+s,u=e('&lt;div class=&quot;ui-resizable-handle '+o+'&quot;&gt;&lt;/div&gt;');u.css({zIndex:n.zIndex}),&quot;se&quot;==s&amp;&amp;u.addClass(&quot;ui-icon ui-icon-gripsmall-diagonal-se&quot;),this.handles[s]=&quot;.ui-resizable-&quot;+s,this.element.append(u)}}this._renderAxis=function(t){t=t||this.element;for(var n in this.handles){this.handles[n].constructor==String&amp;&amp;(this.handles[n]=e(this.h
 andles[n],this.element).show());if(this.elementIsWrapper&amp;&amp;this.originalElement[0].nodeName.match(/textarea|input|select|button/i)){var r=e(this.handles[n],this.element),i=0;i=/sw|ne|nw|se|n|s/.test(n)?r.outerHeight():r.outerWidth();var s=[&quot;padding&quot;,/ne|nw|n/.test(n)?&quot;Top&quot;:/se|sw|s/.test(n)?&quot;Bottom&quot;:/^e$/.test(n)?&quot;Right&quot;:&quot;Left&quot;].join(&quot;&quot;);t.css(s,i),this._proportionallyResize()}if(!e(this.handles[n]).length)continue}},this._renderAxis(this.element),this._handles=e(&quot;.ui-resizable-handle&quot;,this.element).disableSelection(),this._handles.mouseover(function(){if(!t.resizing){if(this.className)var e=this.className.match(/ui-resizable-(se|sw|ne|nw|n|e|s|w)/i);t.axis=e&amp;&amp;e[1]?e[1]:&quot;se&quot;}}),n.autoHide&amp;&amp;(this._handles.hide(),e(this.element).addClass(&quot;ui-resizable-autohide&quot;).mouseenter(function(){if(n.disabled)return;e(this).removeClass(&quot;ui-resizable-autohide&quot;),t._hand
 les.show()}).mouseleave(function(){if(n.disabled)return;t.resizing||(e(this).addClass(&quot;ui-resizable-autohide&quot;),t._handles.hide())})),this._mouseInit()},_destroy:function(){this._mouseDestroy();var t=function(t){e(t).removeClass(&quot;ui-resizable ui-resizable-disabled ui-resizable-resizing&quot;).removeData(&quot;resizable&quot;).removeData(&quot;ui-resizable&quot;).unbind(&quot;.resizable&quot;).find(&quot;.ui-resizable-handle&quot;).remove()};if(this.elementIsWrapper){t(this.element);var n=this.element;n.after(this.originalElement.css({position:n.css(&quot;position&quot;),width:n.outerWidth(),height:n.outerHeight(),top:n.css(&quot;top&quot;),left:n.css(&quot;left&quot;)})).remove()}return this.originalElement.css(&quot;resize&quot;,this.originalResizeStyle),t(this.originalElement),this},_mouseCapture:function(t){var n=!1;for(var r in this.handles)e(this.handles[r])[0]==t.target&amp;&amp;(n=!0);return!this.options.disabled&amp;&amp;n},_mouseStart:function(t){var r
 =this.options,i=this.element.position(),s=this.element;this.resizing=!0,this.documentScroll={top:e(document).scrollTop(),left:e(document).scrollLeft()},(s.is(&quot;.ui-draggable&quot;)||/absolute/.test(s.css(&quot;position&quot;)))&amp;&amp;s.css({position:&quot;absolute&quot;,top:i.top,left:i.left}),this._renderProxy();var o=n(this.helper.css(&quot;left&quot;)),u=n(this.helper.css(&quot;top&quot;));r.containment&amp;&amp;(o+=e(r.containment).scrollLeft()||0,u+=e(r.containment).scrollTop()||0),this.offset=this.helper.offset(),this.position={left:o,top:u},this.size=this._helper?{width:s.outerWidth(),height:s.outerHeight()}:{width:s.width(),height:s.height()},this.originalSize=this._helper?{width:s.outerWidth(),height:s.outerHeight()}:{width:s.width(),height:s.height()},this.originalPosition={left:o,top:u},this.sizeDiff={width:s.outerWidth()-s.width(),height:s.outerHeight()-s.height()},this.originalMousePosition={left:t.pageX,top:t.pageY},this.aspectRatio=typeof r.aspectRatio=
 =&quot;number&quot;?r.aspectRatio:this.originalSize.width/this.originalSize.height||1;var a=e(&quot;.ui-resizable-&quot;+this.axis).css(&quot;cursor&quot;);return e(&quot;body&quot;).css(&quot;cursor&quot;,a==&quot;auto&quot;?this.axis+&quot;-resize&quot;:a),s.addClass(&quot;ui-resizable-resizing&quot;),this._propagate(&quot;start&quot;,t),!0},_mouseDrag:function(e){var t=this.helper,n=this.options,r={},i=this,s=this.originalMousePosition,o=this.axis,u=e.pageX-s.left||0,a=e.pageY-s.top||0,f=this._change[o];if(!f)return!1;var l=f.apply(this,[e,u,a]);this._updateVirtualBoundaries(e.shiftKey);if(this._aspectRatio||e.shiftKey)l=this._updateRatio(l,e);return l=this._respectSize(l,e),this._propagate(&quot;resize&quot;,e),t.css({top:this.position.top+&quot;px&quot;,left:this.position.left+&quot;px&quot;,width:this.size.width+&quot;px&quot;,height:this.size.height+&quot;px&quot;}),!this._helper&amp;&amp;this._proportionallyResizeElements.length&amp;&amp;this._proportionallyResize(),
 this._updateCache(l),this._trigger(&quot;resize&quot;,e,this.ui()),!1},_mouseStop:function(t){this.resizing=!1;var n=this.options,r=this;if(this._helper){var i=this._proportionallyResizeElements,s=i.length&amp;&amp;/textarea/i.test(i[0].nodeName),o=s&amp;&amp;e.ui.hasScroll(i[0],&quot;left&quot;)?0:r.sizeDiff.height,u=s?0:r.sizeDiff.width,a={width:r.helper.width()-u,height:r.helper.height()-o},f=parseInt(r.element.css(&quot;left&quot;),10)+(r.position.left-r.originalPosition.left)||null,l=parseInt(r.element.css(&quot;top&quot;),10)+(r.position.top-r.originalPosition.top)||null;n.animate||this.element.css(e.extend(a,{top:l,left:f})),r.helper.height(r.size.height),r.helper.width(r.size.width),this._helper&amp;&amp;!n.animate&amp;&amp;this._proportionallyResize()}return e(&quot;body&quot;).css(&quot;cursor&quot;,&quot;auto&quot;),this.element.removeClass(&quot;ui-resizable-resizing&quot;),this._propagate(&quot;stop&quot;,t),this._helper&amp;&amp;this.helper.remove(),!1},_update
 VirtualBoundaries:function(e){var t=this.options,n,i,s,o,u;u={minWidth:r(t.minWidth)?t.minWidth:0,maxWidth:r(t.maxWidth)?t.maxWidth:Infinity,minHeight:r(t.minHeight)?t.minHeight:0,maxHeight:r(t.maxHeight)?t.maxHeight:Infinity};if(this._aspectRatio||e)n=u.minHeight*this.aspectRatio,s=u.minWidth/this.aspectRatio,i=u.maxHeight*this.aspectRatio,o=u.maxWidth/this.aspectRatio,n&gt;u.minWidth&amp;&amp;(u.minWidth=n),s&gt;u.minHeight&amp;&amp;(u.minHeight=s),i&lt;u.maxWidth&amp;&amp;(u.maxWidth=i),o&lt;u.maxHeight&amp;&amp;(u.maxHeight=o);this._vBoundaries=u},_updateCache:function(e){var t=this.options;this.offset=this.helper.offset(),r(e.left)&amp;&amp;(this.position.left=e.left),r(e.top)&amp;&amp;(this.position.top=e.top),r(e.height)&amp;&amp;(this.size.height=e.height),r(e.width)&amp;&amp;(this.size.width=e.width)},_updateRatio:function(e,t){var n=this.options,i=this.position,s=this.size,o=this.axis;return r(e.height)?e.width=e.height*this.aspectRatio:r(e.width)&amp;&amp;(e.heigh
 t=e.width/this.aspectRatio),o==&quot;sw&quot;&amp;&amp;(e.left=i.left+(s.width-e.width),e.top=null),o==&quot;nw&quot;&amp;&amp;(e.top=i.top+(s.height-e.height),e.left=i.left+(s.width-e.width)),e},_respectSize:function(e,t){var n=this.helper,i=this._vBoundaries,s=this._aspectRatio||t.shiftKey,o=this.axis,u=r(e.width)&amp;&amp;i.maxWidth&amp;&amp;i.maxWidth&lt;e.width,a=r(e.height)&amp;&amp;i.maxHeight&amp;&amp;i.maxHeight&lt;e.height,f=r(e.width)&amp;&amp;i.minWidth&amp;&amp;i.minWidth&gt;e.width,l=r(e.height)&amp;&amp;i.minHeight&amp;&amp;i.minHeight&gt;e.height;f&amp;&amp;(e.width=i.minWidth),l&amp;&amp;(e.height=i.minHeight),u&amp;&amp;(e.width=i.maxWidth),a&amp;&amp;(e.height=i.maxHeight);var c=this.originalPosition.left+this.originalSize.width,h=this.position.top+this.size.height,p=/sw|nw|w/.test(o),d=/nw|ne|n/.test(o);f&amp;&amp;p&amp;&amp;(e.left=c-i.minWidth),u&amp;&amp;p&amp;&amp;(e.left=c-i.maxWidth),l&amp;&amp;d&amp;&amp;(e.top=h-i.minHeight),a&amp;&amp;d&amp;&amp;
 (e.top=h-i.maxHeight);var v=!e.width&amp;&amp;!e.height;return v&amp;&amp;!e.left&amp;&amp;e.top?e.top=null:v&amp;&amp;!e.top&amp;&amp;e.left&amp;&amp;(e.left=null),e},_proportionallyResize:function(){var t=this.options;if(!this._proportionallyResizeElements.length)return;var n=this.helper||this.element;for(var r=0;r&lt;this._proportionallyResizeElements.length;r++){var i=this._proportionallyResizeElements[r];if(!this.borderDif){var s=[i.css(&quot;borderTopWidth&quot;),i.css(&quot;borderRightWidth&quot;),i.css(&quot;borderBottomWidth&quot;),i.css(&quot;borderLeftWidth&quot;)],o=[i.css(&quot;paddingTop&quot;),i.css(&quot;paddingRight&quot;),i.css(&quot;paddingBottom&quot;),i.css(&quot;paddingLeft&quot;)];this.borderDif=e.map(s,function(e,t){var n=parseInt(e,10)||0,r=parseInt(o[t],10)||0;return n+r})}i.css({height:n.height()-this.borderDif[0]-this.borderDif[2]||0,width:n.width()-this.borderDif[1]-this.borderDif[3]||0})}},_renderProxy:function(){var t=this.element,n=this.option
 s;this.elementOffset=t.offset();if(this._helper){this.helper=this.helper||e('&lt;div style=&quot;overflow:hidden;&quot;&gt;&lt;/div&gt;');var r=e.browser.msie&amp;&amp;e.browser.version&lt;7,i=r?1:0,s=r?2:-1;this.helper.addClass(this._helper).css({width:this.element.outerWidth()+s,height:this.element.outerHeight()+s,position:&quot;absolute&quot;,left:this.elementOffset.left-i+&quot;px&quot;,top:this.elementOffset.top-i+&quot;px&quot;,zIndex:++n.zIndex}),this.helper.appendTo(&quot;body&quot;).disableSelection()}else this.helper=this.element},_change:{e:function(e,t,n){return{width:this.originalSize.width+t}},w:function(e,t,n){var r=this.options,i=this.originalSize,s=this.originalPosition;return{left:s.left+t,width:i.width-t}},n:function(e,t,n){var r=this.options,i=this.originalSize,s=this.originalPosition;return{top:s.top+n,height:i.height-n}},s:function(e,t,n){return{height:this.originalSize.height+n}},se:function(t,n,r){return e.extend(this._change.s.apply(this,arguments),t
 his._change.e.apply(this,[t,n,r]))},sw:function(t,n,r){return e.extend(this._change.s.apply(this,arguments),this._change.w.apply(this,[t,n,r]))},ne:function(t,n,r){return e.extend(this._change.n.apply(this,arguments),this._change.e.apply(this,[t,n,r]))},nw:function(t,n,r){return e.extend(this._change.n.apply(this,arguments),this._change.w.apply(this,[t,n,r]))}},_propagate:function(t,n){e.ui.plugin.call(this,t,[n,this.ui()]),t!=&quot;resize&quot;&amp;&amp;this._trigger(t,n,this.ui())},plugins:{},ui:function(){return{originalElement:this.originalElement,element:this.element,helper:this.helper,position:this.position,size:this.size,originalSize:this.originalSize,originalPosition:this.originalPosition}}}),e.ui.plugin.add(&quot;resizable&quot;,&quot;alsoResize&quot;,{start:function(t,n){var r=e(this).data(&quot;resizable&quot;),i=r.options,s=function(t){e(t).each(function(){var t=e(this);t.data(&quot;resizable-alsoresize&quot;,{width:parseInt(t.width(),10),height:parseInt(t.height
 (),10),left:parseInt(t.css(&quot;left&quot;),10),top:parseInt(t.css(&quot;top&quot;),10)})})};typeof i.alsoResize==&quot;object&quot;&amp;&amp;!i.alsoResize.parentNode?i.alsoResize.length?(i.alsoResize=i.alsoResize[0],s(i.alsoResize)):e.each(i.alsoResize,function(e){s(e)}):s(i.alsoResize)},resize:function(t,n){var r=e(this).data(&quot;resizable&quot;),i=r.options,s=r.originalSize,o=r.originalPosition,u={height:r.size.height-s.height||0,width:r.size.width-s.width||0,top:r.position.top-o.top||0,left:r.position.left-o.left||0},a=function(t,r){e(t).each(function(){var t=e(this),i=e(this).data(&quot;resizable-alsoresize&quot;),s={},o=r&amp;&amp;r.length?r:t.parents(n.originalElement[0]).length?[&quot;width&quot;,&quot;height&quot;]:[&quot;width&quot;,&quot;height&quot;,&quot;top&quot;,&quot;left&quot;];e.each(o,function(e,t){var n=(i[t]||0)+(u[t]||0);n&amp;&amp;n&gt;=0&amp;&amp;(s[t]=n||null)}),t.css(s)})};typeof i.alsoResize==&quot;object&quot;&amp;&amp;!i.alsoResize.nodeType?e.
 each(i.alsoResize,function(e,t){a(e,t)}):a(i.alsoResize)},stop:function(t,n){e(this).removeData(&quot;resizable-alsoresize&quot;)}}),e.ui.plugin.add(&quot;resizable&quot;,&quot;animate&quot;,{stop:function(t,n){var r=e(this).data(&quot;resizable&quot;),i=r.options,s=r._proportionallyResizeElements,o=s.length&amp;&amp;/textarea/i.test(s[0].nodeName),u=o&amp;&amp;e.ui.hasScroll(s[0],&quot;left&quot;)?0:r.sizeDiff.height,a=o?0:r.sizeDiff.width,f={width:r.size.width-a,height:r.size.height-u},l=parseInt(r.element.css(&quot;left&quot;),10)+(r.position.left-r.originalPosition.left)||null,c=parseInt(r.element.css(&quot;top&quot;),10)+(r.position.top-r.originalPosition.top)||null;r.element.animate(e.extend(f,c&amp;&amp;l?{top:c,left:l}:{}),{duration:i.animateDuration,easing:i.animateEasing,step:function(){var n={width:parseInt(r.element.css(&quot;width&quot;),10),height:parseInt(r.element.css(&quot;height&quot;),10),top:parseInt(r.element.css(&quot;top&quot;),10),left:parseInt(r.elem
 ent.css(&quot;left&quot;),10)};s&amp;&amp;s.length&amp;&amp;e(s[0]).css({width:n.width,height:n.height}),r._updateCache(n),r._propagate(&quot;resize&quot;,t)}})}}),e.ui.plugin.add(&quot;resizable&quot;,&quot;containment&quot;,{start:function(t,r){var i=e(this).data(&quot;resizable&quot;),s=i.options,o=i.element,u=s.containment,a=u instanceof e?u.get(0):/parent/.test(u)?o.parent().get(0):u;if(!a)return;i.containerElement=e(a);if(/document/.test(u)||u==document)i.containerOffset={left:0,top:0},i.containerPosition={left:0,top:0},i.parentData={element:e(document),left:0,top:0,width:e(document).width(),height:e(document).height()||document.body.parentNode.scrollHeight};else{var f=e(a),l=[];e([&quot;Top&quot;,&quot;Right&quot;,&quot;Left&quot;,&quot;Bottom&quot;]).each(function(e,t){l[e]=n(f.css(&quot;padding&quot;+t))}),i.containerOffset=f.offset(),i.containerPosition=f.position(),i.containerSize={height:f.innerHeight()-l[3],width:f.innerWidth()-l[1]};var c=i.containerOffset,h=i.
 containerSize.height,p=i.containerSize.width,d=e.ui.hasScroll(a,&quot;left&quot;)?a.scrollWidth:p,v=e.ui.hasScroll(a)?a.scrollHeight:h;i.parentData={element:a,left:c.left,top:c.top,width:d,height:v}}},resize:function(t,n){var r=e(this).data(&quot;resizable&quot;),i=r.options,s=r.containerSize,o=r.containerOffset,u=r.size,a=r.position,f=r._aspectRatio||t.shiftKey,l={top:0,left:0},c=r.containerElement;c[0]!=document&amp;&amp;/static/.test(c.css(&quot;position&quot;))&amp;&amp;(l=o),a.left&lt;(r._helper?o.left:0)&amp;&amp;(r.size.width=r.size.width+(r._helper?r.position.left-o.left:r.position.left-l.left),f&amp;&amp;(r.size.height=r.size.width/r.aspectRatio),r.position.left=i.helper?o.left:0),a.top&lt;(r._helper?o.top:0)&amp;&amp;(r.size.height=r.size.height+(r._helper?r.position.top-o.top:r.position.top),f&amp;&amp;(r.size.width=r.size.height*r.aspectRatio),r.position.top=r._helper?o.top:0),r.offset.left=r.parentData.left+r.position.left,r.offset.top=r.parentData.top+r.positio
 n.top;var h=Math.abs((r._helper?r.offset.left-l.left:r.offset.left-l.left)+r.sizeDiff.width),p=Math.abs((r._helper?r.offset.top-l.top:r.offset.top-o.top)+r.sizeDiff.height),d=r.containerElement.get(0)==r.element.parent().get(0),v=/relative|absolute/.test(r.containerElement.css(&quot;position&quot;));d&amp;&amp;v&amp;&amp;(h-=r.parentData.left),h+r.size.width&gt;=r.parentData.width&amp;&amp;(r.size.width=r.parentData.width-h,f&amp;&amp;(r.size.height=r.size.width/r.aspectRatio)),p+r.size.height&gt;=r.parentData.height&amp;&amp;(r.size.height=r.parentData.height-p,f&amp;&amp;(r.size.width=r.size.height*r.aspectRatio))},stop:function(t,n){var r=e(this).data(&quot;resizable&quot;),i=r.options,s=r.position,o=r.containerOffset,u=r.containerPosition,a=r.containerElement,f=e(r.helper),l=f.offset(),c=f.outerWidth()-r.sizeDiff.width,h=f.outerHeight()-r.sizeDiff.height;r._helper&amp;&amp;!i.animate&amp;&amp;/relative/.test(a.css(&quot;position&quot;))&amp;&amp;e(this).css({left:l.left-
 u.left-o.left,width:c,height:h}),r._helper&amp;&amp;!i.animate&amp;&amp;/static/.test(a.css(&quot;position&quot;))&amp;&amp;e(this).css({left:l.left-u.left-o.left,width:c,height:h})}}),e.ui.plugin.add(&quot;resizable&quot;,&quot;ghost&quot;,{start:function(t,n){var r=e(this).data(&quot;resizable&quot;),i=r.options,s=r.size;r.ghost=r.originalElement.clone(),r.ghost.css({opacity:.25,display:&quot;block&quot;,position:&quot;relative&quot;,height:s.height,width:s.width,margin:0,left:0,top:0}).addClass(&quot;ui-resizable-ghost&quot;).addClass(typeof i.ghost==&quot;string&quot;?i.ghost:&quot;&quot;),r.ghost.appendTo(r.helper)},resize:function(t,n){var r=e(this).data(&quot;resizable&quot;),i=r.options;r.ghost&amp;&amp;r.ghost.css({position:&quot;relative&quot;,height:r.size.height,width:r.size.width})},stop:function(t,n){var r=e(this).data(&quot;resizable&quot;),i=r.options;r.ghost&amp;&amp;r.helper&amp;&amp;r.helper.get(0).removeChild(r.ghost.get(0))}}),e.ui.plugin.add(&quot;resiz
 able&quot;,&quot;grid&quot;,{resize:function(t,n){var r=e(this).data(&quot;resizable&quot;),i=r.options,s=r.size,o=r.originalSize,u=r.originalPosition,a=r.axis,f=i._aspectRatio||t.shiftKey;i.grid=typeof i.grid==&quot;number&quot;?[i.grid,i.grid]:i.grid;var l=Math.round((s.width-o.width)/(i.grid[0]||1))*(i.grid[0]||1),c=Math.round((s.height-o.height)/(i.grid[1]||1))*(i.grid[1]||1);/^(se|s|e)$/.test(a)?(r.size.width=o.width+l,r.size.height=o.height+c):/^(ne)$/.test(a)?(r.size.width=o.width+l,r.size.height=o.height+c,r.position.top=u.top-c):/^(sw)$/.test(a)?(r.size.width=o.width+l,r.size.height=o.height+c,r.position.left=u.left-l):(r.size.width=o.width+l,r.size.height=o.height+c,r.position.top=u.top-c,r.position.left=u.left-l)}});var n=function(e){return parseInt(e,10)||0},r=function(e){return!isNaN(parseInt(e,10))}})(jQuery);
</del><span class="cx">\ No newline at end of file
</span><ins>+(function(e,t){e.widget(&quot;ui.resizable&quot;,e.ui.mouse,{version:&quot;1.9.0&quot;,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 t=this,n=this.options;this.element.addClass(&quot;ui-resizable&quot;),e.extend(this,{_aspectRatio:!!n.aspectRatio,aspectRatio:n.aspectRatio,originalElement:this.element,_proportionallyResizeElements:[],_helper:n.helper||n.ghost||n.animate?n.helper||&quot;ui-resizable-helper&quot;:null}),this.element[0].nodeName.match(/canvas|textarea|input|select|button|img/i)&amp;&amp;(this.element.wrap(e('&lt;div class=&quot;ui-wrapper&quot; style=&quot;overflow: hidden;&quot;&gt;&lt;/div&gt;').css({position:this.element.css(&quot;position&quot;),width:this.element.outerWidth()
 ,height:this.element.outerHeight(),top:this.element.css(&quot;top&quot;),left:this.element.css(&quot;left&quot;)})),this.element=this.element.parent().data(&quot;resizable&quot;,this.element.data(&quot;resizable&quot;)),this.elementIsWrapper=!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=n.handles||(e
 (&quot;.ui-resizable-handle&quot;,this.element).length?{n:&quot;.ui-resizable-n&quot;,e:&quot;.ui-resizable-e&quot;,s:&quot;.ui-resizable-s&quot;,w:&quot;.ui-resizable-w&quot;,se:&quot;.ui-resizable-se&quot;,sw:&quot;.ui-resizable-sw&quot;,ne:&quot;.ui-resizable-ne&quot;,nw:&quot;.ui-resizable-nw&quot;}:&quot;e,s,se&quot;);if(this.handles.constructor==String){this.handles==&quot;all&quot;&amp;&amp;(this.handles=&quot;n,e,s,w,se,sw,ne,nw&quot;);var r=this.handles.split(&quot;,&quot;);this.handles={};for(var i=0;i&lt;r.length;i++){var s=e.trim(r[i]),o=&quot;ui-resizable-&quot;+s,u=e('&lt;div class=&quot;ui-resizable-handle '+o+'&quot;&gt;&lt;/div&gt;');u.css({zIndex:n.zIndex}),&quot;se&quot;==s&amp;&amp;u.addClass(&quot;ui-icon ui-icon-gripsmall-diagonal-se&quot;),this.handles[s]=&quot;.ui-resizable-&quot;+s,this.element.append(u)}}this._renderAxis=function(t){t=t||this.element;for(var n in this.handles){this.handles[n].constructor==String&amp;&amp;(this.handles[n]=e(this.hand
 les[n],this.element).show());if(this.elementIsWrapper&amp;&amp;this.originalElement[0].nodeName.match(/textarea|input|select|button/i)){var r=e(this.handles[n],this.element),i=0;i=/sw|ne|nw|se|n|s/.test(n)?r.outerHeight():r.outerWidth();var s=[&quot;padding&quot;,/ne|nw|n/.test(n)?&quot;Top&quot;:/se|sw|s/.test(n)?&quot;Bottom&quot;:/^e$/.test(n)?&quot;Right&quot;:&quot;Left&quot;].join(&quot;&quot;);t.css(s,i),this._proportionallyResize()}if(!e(this.handles[n]).length)continue}},this._renderAxis(this.element),this._handles=e(&quot;.ui-resizable-handle&quot;,this.element).disableSelection(),this._handles.mouseover(function(){if(!t.resizing){if(this.className)var e=this.className.match(/ui-resizable-(se|sw|ne|nw|n|e|s|w)/i);t.axis=e&amp;&amp;e[1]?e[1]:&quot;se&quot;}}),n.autoHide&amp;&amp;(this._handles.hide(),e(this.element).addClass(&quot;ui-resizable-autohide&quot;).mouseenter(function(){if(n.disabled)return;e(this).removeClass(&quot;ui-resizable-autohide&quot;),t._handles
 .show()}).mouseleave(function(){if(n.disabled)return;t.resizing||(e(this).addClass(&quot;ui-resizable-autohide&quot;),t._handles.hide())})),this._mouseInit()},_destroy:function(){this._mouseDestroy();var t=function(t){e(t).removeClass(&quot;ui-resizable ui-resizable-disabled ui-resizable-resizing&quot;).removeData(&quot;resizable&quot;).removeData(&quot;ui-resizable&quot;).unbind(&quot;.resizable&quot;).find(&quot;.ui-resizable-handle&quot;).remove()};if(this.elementIsWrapper){t(this.element);var n=this.element;n.after(this.originalElement.css({position:n.css(&quot;position&quot;),width:n.outerWidth(),height:n.outerHeight(),top:n.css(&quot;top&quot;),left:n.css(&quot;left&quot;)})).remove()}return this.originalElement.css(&quot;resize&quot;,this.originalResizeStyle),t(this.originalElement),this},_mouseCapture:function(t){var n=!1;for(var r in this.handles)e(this.handles[r])[0]==t.target&amp;&amp;(n=!0);return!this.options.disabled&amp;&amp;n},_mouseStart:function(t){var r=th
 is.options,i=this.element.position(),s=this.element;this.resizing=!0,this.documentScroll={top:e(document).scrollTop(),left:e(document).scrollLeft()},(s.is(&quot;.ui-draggable&quot;)||/absolute/.test(s.css(&quot;position&quot;)))&amp;&amp;s.css({position:&quot;absolute&quot;,top:i.top,left:i.left}),this._renderProxy();var o=n(this.helper.css(&quot;left&quot;)),u=n(this.helper.css(&quot;top&quot;));r.containment&amp;&amp;(o+=e(r.containment).scrollLeft()||0,u+=e(r.containment).scrollTop()||0),this.offset=this.helper.offset(),this.position={left:o,top:u},this.size=this._helper?{width:s.outerWidth(),height:s.outerHeight()}:{width:s.width(),height:s.height()},this.originalSize=this._helper?{width:s.outerWidth(),height:s.outerHeight()}:{width:s.width(),height:s.height()},this.originalPosition={left:o,top:u},this.sizeDiff={width:s.outerWidth()-s.width(),height:s.outerHeight()-s.height()},this.originalMousePosition={left:t.pageX,top:t.pageY},this.aspectRatio=typeof r.aspectRatio==&q
 uot;number&quot;?r.aspectRatio:this.originalSize.width/this.originalSize.height||1;var a=e(&quot;.ui-resizable-&quot;+this.axis).css(&quot;cursor&quot;);return e(&quot;body&quot;).css(&quot;cursor&quot;,a==&quot;auto&quot;?this.axis+&quot;-resize&quot;:a),s.addClass(&quot;ui-resizable-resizing&quot;),this._propagate(&quot;start&quot;,t),!0},_mouseDrag:function(e){var t=this.helper,n=this.options,r={},i=this,s=this.originalMousePosition,o=this.axis,u=e.pageX-s.left||0,a=e.pageY-s.top||0,f=this._change[o];if(!f)return!1;var l=f.apply(this,[e,u,a]);this._updateVirtualBoundaries(e.shiftKey);if(this._aspectRatio||e.shiftKey)l=this._updateRatio(l,e);return l=this._respectSize(l,e),this._propagate(&quot;resize&quot;,e),t.css({top:this.position.top+&quot;px&quot;,left:this.position.left+&quot;px&quot;,width:this.size.width+&quot;px&quot;,height:this.size.height+&quot;px&quot;}),!this._helper&amp;&amp;this._proportionallyResizeElements.length&amp;&amp;this._proportionallyResize(),thi
 s._updateCache(l),this._trigger(&quot;resize&quot;,e,this.ui()),!1},_mouseStop:function(t){this.resizing=!1;var n=this.options,r=this;if(this._helper){var i=this._proportionallyResizeElements,s=i.length&amp;&amp;/textarea/i.test(i[0].nodeName),o=s&amp;&amp;e.ui.hasScroll(i[0],&quot;left&quot;)?0:r.sizeDiff.height,u=s?0:r.sizeDiff.width,a={width:r.helper.width()-u,height:r.helper.height()-o},f=parseInt(r.element.css(&quot;left&quot;),10)+(r.position.left-r.originalPosition.left)||null,l=parseInt(r.element.css(&quot;top&quot;),10)+(r.position.top-r.originalPosition.top)||null;n.animate||this.element.css(e.extend(a,{top:l,left:f})),r.helper.height(r.size.height),r.helper.width(r.size.width),this._helper&amp;&amp;!n.animate&amp;&amp;this._proportionallyResize()}return e(&quot;body&quot;).css(&quot;cursor&quot;,&quot;auto&quot;),this.element.removeClass(&quot;ui-resizable-resizing&quot;),this._propagate(&quot;stop&quot;,t),this._helper&amp;&amp;this.helper.remove(),!1},_updateVir
 tualBoundaries:function(e){var t=this.options,n,i,s,o,u;u={minWidth:r(t.minWidth)?t.minWidth:0,maxWidth:r(t.maxWidth)?t.maxWidth:Infinity,minHeight:r(t.minHeight)?t.minHeight:0,maxHeight:r(t.maxHeight)?t.maxHeight:Infinity};if(this._aspectRatio||e)n=u.minHeight*this.aspectRatio,s=u.minWidth/this.aspectRatio,i=u.maxHeight*this.aspectRatio,o=u.maxWidth/this.aspectRatio,n&gt;u.minWidth&amp;&amp;(u.minWidth=n),s&gt;u.minHeight&amp;&amp;(u.minHeight=s),i&lt;u.maxWidth&amp;&amp;(u.maxWidth=i),o&lt;u.maxHeight&amp;&amp;(u.maxHeight=o);this._vBoundaries=u},_updateCache:function(e){var t=this.options;this.offset=this.helper.offset(),r(e.left)&amp;&amp;(this.position.left=e.left),r(e.top)&amp;&amp;(this.position.top=e.top),r(e.height)&amp;&amp;(this.size.height=e.height),r(e.width)&amp;&amp;(this.size.width=e.width)},_updateRatio:function(e,t){var n=this.options,i=this.position,s=this.size,o=this.axis;return r(e.height)?e.width=e.height*this.aspectRatio:r(e.width)&amp;&amp;(e.height=e
 .width/this.aspectRatio),o==&quot;sw&quot;&amp;&amp;(e.left=i.left+(s.width-e.width),e.top=null),o==&quot;nw&quot;&amp;&amp;(e.top=i.top+(s.height-e.height),e.left=i.left+(s.width-e.width)),e},_respectSize:function(e,t){var n=this.helper,i=this._vBoundaries,s=this._aspectRatio||t.shiftKey,o=this.axis,u=r(e.width)&amp;&amp;i.maxWidth&amp;&amp;i.maxWidth&lt;e.width,a=r(e.height)&amp;&amp;i.maxHeight&amp;&amp;i.maxHeight&lt;e.height,f=r(e.width)&amp;&amp;i.minWidth&amp;&amp;i.minWidth&gt;e.width,l=r(e.height)&amp;&amp;i.minHeight&amp;&amp;i.minHeight&gt;e.height;f&amp;&amp;(e.width=i.minWidth),l&amp;&amp;(e.height=i.minHeight),u&amp;&amp;(e.width=i.maxWidth),a&amp;&amp;(e.height=i.maxHeight);var c=this.originalPosition.left+this.originalSize.width,h=this.position.top+this.size.height,p=/sw|nw|w/.test(o),d=/nw|ne|n/.test(o);f&amp;&amp;p&amp;&amp;(e.left=c-i.minWidth),u&amp;&amp;p&amp;&amp;(e.left=c-i.maxWidth),l&amp;&amp;d&amp;&amp;(e.top=h-i.minHeight),a&amp;&amp;d&amp;&amp;(e.
 top=h-i.maxHeight);var v=!e.width&amp;&amp;!e.height;return v&amp;&amp;!e.left&amp;&amp;e.top?e.top=null:v&amp;&amp;!e.top&amp;&amp;e.left&amp;&amp;(e.left=null),e},_proportionallyResize:function(){var t=this.options;if(!this._proportionallyResizeElements.length)return;var n=this.helper||this.element;for(var r=0;r&lt;this._proportionallyResizeElements.length;r++){var i=this._proportionallyResizeElements[r];if(!this.borderDif){var s=[i.css(&quot;borderTopWidth&quot;),i.css(&quot;borderRightWidth&quot;),i.css(&quot;borderBottomWidth&quot;),i.css(&quot;borderLeftWidth&quot;)],o=[i.css(&quot;paddingTop&quot;),i.css(&quot;paddingRight&quot;),i.css(&quot;paddingBottom&quot;),i.css(&quot;paddingLeft&quot;)];this.borderDif=e.map(s,function(e,t){var n=parseInt(e,10)||0,r=parseInt(o[t],10)||0;return n+r})}i.css({height:n.height()-this.borderDif[0]-this.borderDif[2]||0,width:n.width()-this.borderDif[1]-this.borderDif[3]||0})}},_renderProxy:function(){var t=this.element,n=this.options;t
 his.elementOffset=t.offset();if(this._helper){this.helper=this.helper||e('&lt;div style=&quot;overflow:hidden;&quot;&gt;&lt;/div&gt;');var r=e.browser.msie&amp;&amp;e.browser.version&lt;7,i=r?1:0,s=r?2:-1;this.helper.addClass(this._helper).css({width:this.element.outerWidth()+s,height:this.element.outerHeight()+s,position:&quot;absolute&quot;,left:this.elementOffset.left-i+&quot;px&quot;,top:this.elementOffset.top-i+&quot;px&quot;,zIndex:++n.zIndex}),this.helper.appendTo(&quot;body&quot;).disableSelection()}else this.helper=this.element},_change:{e:function(e,t,n){return{width:this.originalSize.width+t}},w:function(e,t,n){var r=this.options,i=this.originalSize,s=this.originalPosition;return{left:s.left+t,width:i.width-t}},n:function(e,t,n){var r=this.options,i=this.originalSize,s=this.originalPosition;return{top:s.top+n,height:i.height-n}},s:function(e,t,n){return{height:this.originalSize.height+n}},se:function(t,n,r){return e.extend(this._change.s.apply(this,arguments),this
 ._change.e.apply(this,[t,n,r]))},sw:function(t,n,r){return e.extend(this._change.s.apply(this,arguments),this._change.w.apply(this,[t,n,r]))},ne:function(t,n,r){return e.extend(this._change.n.apply(this,arguments),this._change.e.apply(this,[t,n,r]))},nw:function(t,n,r){return e.extend(this._change.n.apply(this,arguments),this._change.w.apply(this,[t,n,r]))}},_propagate:function(t,n){e.ui.plugin.call(this,t,[n,this.ui()]),t!=&quot;resize&quot;&amp;&amp;this._trigger(t,n,this.ui())},plugins:{},ui:function(){return{originalElement:this.originalElement,element:this.element,helper:this.helper,position:this.position,size:this.size,originalSize:this.originalSize,originalPosition:this.originalPosition}}}),e.ui.plugin.add(&quot;resizable&quot;,&quot;alsoResize&quot;,{start:function(t,n){var r=e(this).data(&quot;resizable&quot;),i=r.options,s=function(t){e(t).each(function(){var t=e(this);t.data(&quot;resizable-alsoresize&quot;,{width:parseInt(t.width(),10),height:parseInt(t.height(),
 10),left:parseInt(t.css(&quot;left&quot;),10),top:parseInt(t.css(&quot;top&quot;),10)})})};typeof i.alsoResize==&quot;object&quot;&amp;&amp;!i.alsoResize.parentNode?i.alsoResize.length?(i.alsoResize=i.alsoResize[0],s(i.alsoResize)):e.each(i.alsoResize,function(e){s(e)}):s(i.alsoResize)},resize:function(t,n){var r=e(this).data(&quot;resizable&quot;),i=r.options,s=r.originalSize,o=r.originalPosition,u={height:r.size.height-s.height||0,width:r.size.width-s.width||0,top:r.position.top-o.top||0,left:r.position.left-o.left||0},a=function(t,r){e(t).each(function(){var t=e(this),i=e(this).data(&quot;resizable-alsoresize&quot;),s={},o=r&amp;&amp;r.length?r:t.parents(n.originalElement[0]).length?[&quot;width&quot;,&quot;height&quot;]:[&quot;width&quot;,&quot;height&quot;,&quot;top&quot;,&quot;left&quot;];e.each(o,function(e,t){var n=(i[t]||0)+(u[t]||0);n&amp;&amp;n&gt;=0&amp;&amp;(s[t]=n||null)}),t.css(s)})};typeof i.alsoResize==&quot;object&quot;&amp;&amp;!i.alsoResize.nodeType?e.eac
 h(i.alsoResize,function(e,t){a(e,t)}):a(i.alsoResize)},stop:function(t,n){e(this).removeData(&quot;resizable-alsoresize&quot;)}}),e.ui.plugin.add(&quot;resizable&quot;,&quot;animate&quot;,{stop:function(t,n){var r=e(this).data(&quot;resizable&quot;),i=r.options,s=r._proportionallyResizeElements,o=s.length&amp;&amp;/textarea/i.test(s[0].nodeName),u=o&amp;&amp;e.ui.hasScroll(s[0],&quot;left&quot;)?0:r.sizeDiff.height,a=o?0:r.sizeDiff.width,f={width:r.size.width-a,height:r.size.height-u},l=parseInt(r.element.css(&quot;left&quot;),10)+(r.position.left-r.originalPosition.left)||null,c=parseInt(r.element.css(&quot;top&quot;),10)+(r.position.top-r.originalPosition.top)||null;r.element.animate(e.extend(f,c&amp;&amp;l?{top:c,left:l}:{}),{duration:i.animateDuration,easing:i.animateEasing,step:function(){var n={width:parseInt(r.element.css(&quot;width&quot;),10),height:parseInt(r.element.css(&quot;height&quot;),10),top:parseInt(r.element.css(&quot;top&quot;),10),left:parseInt(r.element
 .css(&quot;left&quot;),10)};s&amp;&amp;s.length&amp;&amp;e(s[0]).css({width:n.width,height:n.height}),r._updateCache(n),r._propagate(&quot;resize&quot;,t)}})}}),e.ui.plugin.add(&quot;resizable&quot;,&quot;containment&quot;,{start:function(t,r){var i=e(this).data(&quot;resizable&quot;),s=i.options,o=i.element,u=s.containment,a=u instanceof e?u.get(0):/parent/.test(u)?o.parent().get(0):u;if(!a)return;i.containerElement=e(a);if(/document/.test(u)||u==document)i.containerOffset={left:0,top:0},i.containerPosition={left:0,top:0},i.parentData={element:e(document),left:0,top:0,width:e(document).width(),height:e(document).height()||document.body.parentNode.scrollHeight};else{var f=e(a),l=[];e([&quot;Top&quot;,&quot;Right&quot;,&quot;Left&quot;,&quot;Bottom&quot;]).each(function(e,t){l[e]=n(f.css(&quot;padding&quot;+t))}),i.containerOffset=f.offset(),i.containerPosition=f.position(),i.containerSize={height:f.innerHeight()-l[3],width:f.innerWidth()-l[1]};var c=i.containerOffset,h=i.con
 tainerSize.height,p=i.containerSize.width,d=e.ui.hasScroll(a,&quot;left&quot;)?a.scrollWidth:p,v=e.ui.hasScroll(a)?a.scrollHeight:h;i.parentData={element:a,left:c.left,top:c.top,width:d,height:v}}},resize:function(t,n){var r=e(this).data(&quot;resizable&quot;),i=r.options,s=r.containerSize,o=r.containerOffset,u=r.size,a=r.position,f=r._aspectRatio||t.shiftKey,l={top:0,left:0},c=r.containerElement;c[0]!=document&amp;&amp;/static/.test(c.css(&quot;position&quot;))&amp;&amp;(l=o),a.left&lt;(r._helper?o.left:0)&amp;&amp;(r.size.width=r.size.width+(r._helper?r.position.left-o.left:r.position.left-l.left),f&amp;&amp;(r.size.height=r.size.width/r.aspectRatio),r.position.left=i.helper?o.left:0),a.top&lt;(r._helper?o.top:0)&amp;&amp;(r.size.height=r.size.height+(r._helper?r.position.top-o.top:r.position.top),f&amp;&amp;(r.size.width=r.size.height*r.aspectRatio),r.position.top=r._helper?o.top:0),r.offset.left=r.parentData.left+r.position.left,r.offset.top=r.parentData.top+r.position.t
 op;var h=Math.abs((r._helper?r.offset.left-l.left:r.offset.left-l.left)+r.sizeDiff.width),p=Math.abs((r._helper?r.offset.top-l.top:r.offset.top-o.top)+r.sizeDiff.height),d=r.containerElement.get(0)==r.element.parent().get(0),v=/relative|absolute/.test(r.containerElement.css(&quot;position&quot;));d&amp;&amp;v&amp;&amp;(h-=r.parentData.left),h+r.size.width&gt;=r.parentData.width&amp;&amp;(r.size.width=r.parentData.width-h,f&amp;&amp;(r.size.height=r.size.width/r.aspectRatio)),p+r.size.height&gt;=r.parentData.height&amp;&amp;(r.size.height=r.parentData.height-p,f&amp;&amp;(r.size.width=r.size.height*r.aspectRatio))},stop:function(t,n){var r=e(this).data(&quot;resizable&quot;),i=r.options,s=r.position,o=r.containerOffset,u=r.containerPosition,a=r.containerElement,f=e(r.helper),l=f.offset(),c=f.outerWidth()-r.sizeDiff.width,h=f.outerHeight()-r.sizeDiff.height;r._helper&amp;&amp;!i.animate&amp;&amp;/relative/.test(a.css(&quot;position&quot;))&amp;&amp;e(this).css({left:l.left-u.l
 eft-o.left,width:c,height:h}),r._helper&amp;&amp;!i.animate&amp;&amp;/static/.test(a.css(&quot;position&quot;))&amp;&amp;e(this).css({left:l.left-u.left-o.left,width:c,height:h})}}),e.ui.plugin.add(&quot;resizable&quot;,&quot;ghost&quot;,{start:function(t,n){var r=e(this).data(&quot;resizable&quot;),i=r.options,s=r.size;r.ghost=r.originalElement.clone(),r.ghost.css({opacity:.25,display:&quot;block&quot;,position:&quot;relative&quot;,height:s.height,width:s.width,margin:0,left:0,top:0}).addClass(&quot;ui-resizable-ghost&quot;).addClass(typeof i.ghost==&quot;string&quot;?i.ghost:&quot;&quot;),r.ghost.appendTo(r.helper)},resize:function(t,n){var r=e(this).data(&quot;resizable&quot;),i=r.options;r.ghost&amp;&amp;r.ghost.css({position:&quot;relative&quot;,height:r.size.height,width:r.size.width})},stop:function(t,n){var r=e(this).data(&quot;resizable&quot;),i=r.options;r.ghost&amp;&amp;r.helper&amp;&amp;r.helper.get(0).removeChild(r.ghost.get(0))}}),e.ui.plugin.add(&quot;resizabl
 e&quot;,&quot;grid&quot;,{resize:function(t,n){var r=e(this).data(&quot;resizable&quot;),i=r.options,s=r.size,o=r.originalSize,u=r.originalPosition,a=r.axis,f=i._aspectRatio||t.shiftKey;i.grid=typeof i.grid==&quot;number&quot;?[i.grid,i.grid]:i.grid;var l=Math.round((s.width-o.width)/(i.grid[0]||1))*(i.grid[0]||1),c=Math.round((s.height-o.height)/(i.grid[1]||1))*(i.grid[1]||1);/^(se|s|e)$/.test(a)?(r.size.width=o.width+l,r.size.height=o.height+c):/^(ne)$/.test(a)?(r.size.width=o.width+l,r.size.height=o.height+c,r.position.top=u.top-c):/^(sw)$/.test(a)?(r.size.width=o.width+l,r.size.height=o.height+c,r.position.left=u.left-l):(r.size.width=o.width+l,r.size.height=o.height+c,r.position.top=u.top-c,r.position.left=u.left-l)}});var n=function(e){return parseInt(e,10)||0},r=function(e){return!isNaN(parseInt(e,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 (22181 => 22182)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-includes/js/jquery/ui/jquery.ui.selectable.min.js        2012-10-11 03:29:02 UTC (rev 22181)
+++ trunk/wp-includes/js/jquery/ui/jquery.ui.selectable.min.js        2012-10-11 03:34:19 UTC (rev 22182)
</span><span class="lines">@@ -1,5 +1,5 @@
</span><del>-/*! jQuery UI - v1.9.0pre - 2012-08-29
</del><ins>+/*! jQuery UI - v1.9.0 - 2012-10-05
</ins><span class="cx"> * http://jqueryui.com
</span><span class="cx"> * Includes: jquery.ui.selectable.js
</span><span class="cx"> * Copyright 2012 jQuery Foundation and other contributors; Licensed MIT */
</span><del>-(function(e,t){e.widget(&quot;ui.selectable&quot;,e.ui.mouse,{version:&quot;@VERSION&quot;,options:{appendTo:&quot;body&quot;,autoRefresh:!0,distance:0,filter:&quot;*&quot;,tolerance:&quot;touch&quot;},_create:function(){var t=this;this.element.addClass(&quot;ui-selectable&quot;),this.dragged=!1;var n;this.refresh=function(){n=e(t.options.filter,t.element[0]),n.addClass(&quot;ui-selectee&quot;),n.each(function(){var t=e(this),n=t.offset();e.data(this,&quot;selectable-item&quot;,{element:this,$element:t,left:n.left,top:n.top,right:n.left+t.outerWidth(),bottom:n.top+t.outerHeight(),startselected:!1,selected:t.hasClass(&quot;ui-selected&quot;),selecting:t.hasClass(&quot;ui-selecting&quot;),unselecting:t.hasClass(&quot;ui-unselecting&quot;)})})},this.refresh(),this.selectees=n.addClass(&quot;ui-selectee&quot;),this._mouseInit(),this.helper=e(&quot;&lt;div class='ui-selectable-helper'&gt;&lt;/div&gt;&quot;)},_destroy:function(){this.selectees.removeClass(&quot;ui-sele
 ctee&quot;).removeData(&quot;selectable-item&quot;),this.element.removeClass(&quot;ui-selectable ui-selectable-disabled&quot;),this._mouseDestroy()},_mouseStart:function(t){var n=this;this.opos=[t.pageX,t.pageY];if(this.options.disabled)return;var r=this.options;this.selectees=e(r.filter,this.element[0]),this._trigger(&quot;start&quot;,t),e(r.appendTo).append(this.helper),this.helper.css({left:t.clientX,top:t.clientY,width:0,height:0}),r.autoRefresh&amp;&amp;this.refresh(),this.selectees.filter(&quot;.ui-selected&quot;).each(function(){var r=e.data(this,&quot;selectable-item&quot;);r.startselected=!0,!t.metaKey&amp;&amp;!t.ctrlKey&amp;&amp;(r.$element.removeClass(&quot;ui-selected&quot;),r.selected=!1,r.$element.addClass(&quot;ui-unselecting&quot;),r.unselecting=!0,n._trigger(&quot;unselecting&quot;,t,{unselecting:r.element}))}),e(t.target).parents().andSelf().each(function(){var r=e.data(this,&quot;selectable-item&quot;);if(r){var i=!t.metaKey&amp;&amp;!t.ctrlKey||!r.$eleme
 nt.hasClass(&quot;ui-selected&quot;);return r.$element.removeClass(i?&quot;ui-unselecting&quot;:&quot;ui-selected&quot;).addClass(i?&quot;ui-selecting&quot;:&quot;ui-unselecting&quot;),r.unselecting=!i,r.selecting=i,r.selected=i,i?n._trigger(&quot;selecting&quot;,t,{selecting:r.element}):n._trigger(&quot;unselecting&quot;,t,{unselecting:r.element}),!1}})},_mouseDrag:function(t){var n=this;this.dragged=!0;if(this.options.disabled)return;var r=this.options,i=this.opos[0],s=this.opos[1],o=t.pageX,u=t.pageY;if(i&gt;o){var a=o;o=i,i=a}if(s&gt;u){var a=u;u=s,s=a}return this.helper.css({left:i,top:s,width:o-i,height:u-s}),this.selectees.each(function(){var a=e.data(this,&quot;selectable-item&quot;);if(!a||a.element==n.element[0])return;var f=!1;r.tolerance==&quot;touch&quot;?f=!(a.left&gt;o||a.right&lt;i||a.top&gt;u||a.bottom&lt;s):r.tolerance==&quot;fit&quot;&amp;&amp;(f=a.left&gt;i&amp;&amp;a.right&lt;o&amp;&amp;a.top&gt;s&amp;&amp;a.bottom&lt;u),f?(a.selected&amp;&amp;(a.$elemen
 t.removeClass(&quot;ui-selected&quot;),a.selected=!1),a.unselecting&amp;&amp;(a.$element.removeClass(&quot;ui-unselecting&quot;),a.unselecting=!1),a.selecting||(a.$element.addClass(&quot;ui-selecting&quot;),a.selecting=!0,n._trigger(&quot;selecting&quot;,t,{selecting:a.element}))):(a.selecting&amp;&amp;((t.metaKey||t.ctrlKey)&amp;&amp;a.startselected?(a.$element.removeClass(&quot;ui-selecting&quot;),a.selecting=!1,a.$element.addClass(&quot;ui-selected&quot;),a.selected=!0):(a.$element.removeClass(&quot;ui-selecting&quot;),a.selecting=!1,a.startselected&amp;&amp;(a.$element.addClass(&quot;ui-unselecting&quot;),a.unselecting=!0),n._trigger(&quot;unselecting&quot;,t,{unselecting:a.element}))),a.selected&amp;&amp;!t.metaKey&amp;&amp;!t.ctrlKey&amp;&amp;!a.startselected&amp;&amp;(a.$element.removeClass(&quot;ui-selected&quot;),a.selected=!1,a.$element.addClass(&quot;ui-unselecting&quot;),a.unselecting=!0,n._trigger(&quot;unselecting&quot;,t,{unselecting:a.element})))}),!1},_mouse
 Stop:function(t){var n=this;this.dragged=!1;var r=this.options;return e(&quot;.ui-unselecting&quot;,this.element[0]).each(function(){var r=e.data(this,&quot;selectable-item&quot;);r.$element.removeClass(&quot;ui-unselecting&quot;),r.unselecting=!1,r.startselected=!1,n._trigger(&quot;unselected&quot;,t,{unselected:r.element})}),e(&quot;.ui-selecting&quot;,this.element[0]).each(function(){var r=e.data(this,&quot;selectable-item&quot;);r.$element.removeClass(&quot;ui-selecting&quot;).addClass(&quot;ui-selected&quot;),r.selecting=!1,r.selected=!0,r.startselected=!0,n._trigger(&quot;selected&quot;,t,{selected:r.element})}),this._trigger(&quot;stop&quot;,t),this.helper.remove(),!1}})})(jQuery);
</del><span class="cx">\ No newline at end of file
</span><ins>+(function(e,t){e.widget(&quot;ui.selectable&quot;,e.ui.mouse,{version:&quot;1.9.0&quot;,options:{appendTo:&quot;body&quot;,autoRefresh:!0,distance:0,filter:&quot;*&quot;,tolerance:&quot;touch&quot;},_create:function(){var t=this;this.element.addClass(&quot;ui-selectable&quot;),this.dragged=!1;var n;this.refresh=function(){n=e(t.options.filter,t.element[0]),n.addClass(&quot;ui-selectee&quot;),n.each(function(){var t=e(this),n=t.offset();e.data(this,&quot;selectable-item&quot;,{element:this,$element:t,left:n.left,top:n.top,right:n.left+t.outerWidth(),bottom:n.top+t.outerHeight(),startselected:!1,selected:t.hasClass(&quot;ui-selected&quot;),selecting:t.hasClass(&quot;ui-selecting&quot;),unselecting:t.hasClass(&quot;ui-unselecting&quot;)})})},this.refresh(),this.selectees=n.addClass(&quot;ui-selectee&quot;),this._mouseInit(),this.helper=e(&quot;&lt;div class='ui-selectable-helper'&gt;&lt;/div&gt;&quot;)},_destroy:function(){this.selectees.removeClass(&quot;ui-selecte
 e&quot;).removeData(&quot;selectable-item&quot;),this.element.removeClass(&quot;ui-selectable ui-selectable-disabled&quot;),this._mouseDestroy()},_mouseStart:function(t){var n=this;this.opos=[t.pageX,t.pageY];if(this.options.disabled)return;var r=this.options;this.selectees=e(r.filter,this.element[0]),this._trigger(&quot;start&quot;,t),e(r.appendTo).append(this.helper),this.helper.css({left:t.clientX,top:t.clientY,width:0,height:0}),r.autoRefresh&amp;&amp;this.refresh(),this.selectees.filter(&quot;.ui-selected&quot;).each(function(){var r=e.data(this,&quot;selectable-item&quot;);r.startselected=!0,!t.metaKey&amp;&amp;!t.ctrlKey&amp;&amp;(r.$element.removeClass(&quot;ui-selected&quot;),r.selected=!1,r.$element.addClass(&quot;ui-unselecting&quot;),r.unselecting=!0,n._trigger(&quot;unselecting&quot;,t,{unselecting:r.element}))}),e(t.target).parents().andSelf().each(function(){var r=e.data(this,&quot;selectable-item&quot;);if(r){var i=!t.metaKey&amp;&amp;!t.ctrlKey||!r.$element.
 hasClass(&quot;ui-selected&quot;);return r.$element.removeClass(i?&quot;ui-unselecting&quot;:&quot;ui-selected&quot;).addClass(i?&quot;ui-selecting&quot;:&quot;ui-unselecting&quot;),r.unselecting=!i,r.selecting=i,r.selected=i,i?n._trigger(&quot;selecting&quot;,t,{selecting:r.element}):n._trigger(&quot;unselecting&quot;,t,{unselecting:r.element}),!1}})},_mouseDrag:function(t){var n=this;this.dragged=!0;if(this.options.disabled)return;var r=this.options,i=this.opos[0],s=this.opos[1],o=t.pageX,u=t.pageY;if(i&gt;o){var a=o;o=i,i=a}if(s&gt;u){var a=u;u=s,s=a}return this.helper.css({left:i,top:s,width:o-i,height:u-s}),this.selectees.each(function(){var a=e.data(this,&quot;selectable-item&quot;);if(!a||a.element==n.element[0])return;var f=!1;r.tolerance==&quot;touch&quot;?f=!(a.left&gt;o||a.right&lt;i||a.top&gt;u||a.bottom&lt;s):r.tolerance==&quot;fit&quot;&amp;&amp;(f=a.left&gt;i&amp;&amp;a.right&lt;o&amp;&amp;a.top&gt;s&amp;&amp;a.bottom&lt;u),f?(a.selected&amp;&amp;(a.$element.r
 emoveClass(&quot;ui-selected&quot;),a.selected=!1),a.unselecting&amp;&amp;(a.$element.removeClass(&quot;ui-unselecting&quot;),a.unselecting=!1),a.selecting||(a.$element.addClass(&quot;ui-selecting&quot;),a.selecting=!0,n._trigger(&quot;selecting&quot;,t,{selecting:a.element}))):(a.selecting&amp;&amp;((t.metaKey||t.ctrlKey)&amp;&amp;a.startselected?(a.$element.removeClass(&quot;ui-selecting&quot;),a.selecting=!1,a.$element.addClass(&quot;ui-selected&quot;),a.selected=!0):(a.$element.removeClass(&quot;ui-selecting&quot;),a.selecting=!1,a.startselected&amp;&amp;(a.$element.addClass(&quot;ui-unselecting&quot;),a.unselecting=!0),n._trigger(&quot;unselecting&quot;,t,{unselecting:a.element}))),a.selected&amp;&amp;!t.metaKey&amp;&amp;!t.ctrlKey&amp;&amp;!a.startselected&amp;&amp;(a.$element.removeClass(&quot;ui-selected&quot;),a.selected=!1,a.$element.addClass(&quot;ui-unselecting&quot;),a.unselecting=!0,n._trigger(&quot;unselecting&quot;,t,{unselecting:a.element})))}),!1},_mouseSto
 p:function(t){var n=this;this.dragged=!1;var r=this.options;return e(&quot;.ui-unselecting&quot;,this.element[0]).each(function(){var r=e.data(this,&quot;selectable-item&quot;);r.$element.removeClass(&quot;ui-unselecting&quot;),r.unselecting=!1,r.startselected=!1,n._trigger(&quot;unselected&quot;,t,{unselected:r.element})}),e(&quot;.ui-selecting&quot;,this.element[0]).each(function(){var r=e.data(this,&quot;selectable-item&quot;);r.$element.removeClass(&quot;ui-selecting&quot;).addClass(&quot;ui-selected&quot;),r.selecting=!1,r.selected=!0,r.startselected=!0,n._trigger(&quot;selected&quot;,t,{selected:r.element})}),this._trigger(&quot;stop&quot;,t),this.helper.remove(),!1}})})(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 (22181 => 22182)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-includes/js/jquery/ui/jquery.ui.slider.min.js        2012-10-11 03:29:02 UTC (rev 22181)
+++ trunk/wp-includes/js/jquery/ui/jquery.ui.slider.min.js        2012-10-11 03:34:19 UTC (rev 22182)
</span><span class="lines">@@ -1,5 +1,5 @@
</span><del>-/*! jQuery UI - v1.9.0pre - 2012-08-29
</del><ins>+/*! jQuery UI - v1.9.0 - 2012-10-05
</ins><span class="cx"> * http://jqueryui.com
</span><span class="cx"> * Includes: jquery.ui.slider.js
</span><span class="cx"> * Copyright 2012 jQuery Foundation and other contributors; Licensed MIT */
</span><del>-(function(e,t){var n=5;e.widget(&quot;ui.slider&quot;,e.ui.mouse,{version:&quot;@VERSION&quot;,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 t,r=this.options,i=this.element.find(&quot;.ui-slider-handle&quot;).addClass(&quot;ui-state-default ui-corner-all&quot;),s=&quot;&lt;a class='ui-slider-handle ui-state-default ui-corner-all' href='#'&gt;&lt;/a&gt;&quot;,o=r.values&amp;&amp;r.values.length||1,u=[];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;+(r.disabled?&quot; ui-slider-disabled ui-disabled&quot;:&quot;&quot;)),this.range=e([]),r.range&amp;&amp;(r.range===!0&amp;&amp;(r.values||(r.values=[this._valu
 eMin(),this._valueMin()]),r.values.length&amp;&amp;r.values.length!==2&amp;&amp;(r.values=[r.values[0],r.values[0]])),this.range=e(&quot;&lt;div&gt;&lt;/div&gt;&quot;).appendTo(this.element).addClass(&quot;ui-slider-range ui-widget-header&quot;+(r.range===&quot;min&quot;||r.range===&quot;max&quot;?&quot; ui-slider-range-&quot;+r.range:&quot;&quot;)));for(t=i.length;t&lt;o;t++)u.push(s);this.handles=i.add(e(u.join(&quot;&quot;)).appendTo(this.element)),this.handle=this.handles.eq(0),this.handles.add(this.range).filter(&quot;a&quot;).click(function(e){e.preventDefault()}).mouseenter(function(){r.disabled||e(this).addClass(&quot;ui-state-hover&quot;)}).mouseleave(function(){e(this).removeClass(&quot;ui-state-hover&quot;)}).focus(function(){r.disabled?e(this).blur():(e(&quot;.ui-slider .ui-state-focus&quot;).removeClass(&quot;ui-state-focus&quot;),e(this).addClass(&quot;ui-state-focus&quot;))}).blur(function(){e(this).removeClass(&quot;ui-state-focus&quot;)}),this.handles.each(f
 unction(t){e(this).data(&quot;ui-slider-handle-index&quot;,t)}),this._on(this.handles,{keydown:function(t){var r,i,s,o,u=e(t.target).data(&quot;ui-slider-handle-index&quot;);switch(t.keyCode){case e.ui.keyCode.HOME:case e.ui.keyCode.END:case e.ui.keyCode.PAGE_UP:case e.ui.keyCode.PAGE_DOWN:case e.ui.keyCode.UP:case e.ui.keyCode.RIGHT:case e.ui.keyCode.DOWN:case e.ui.keyCode.LEFT:t.preventDefault();if(!this._keySliding){this._keySliding=!0,e(t.target).addClass(&quot;ui-state-active&quot;),r=this._start(t,u);if(r===!1)return}}o=this.options.step,this.options.values&amp;&amp;this.options.values.length?i=s=this.values(u):i=s=this.value();switch(t.keyCode){case e.ui.keyCode.HOME:s=this._valueMin();break;case e.ui.keyCode.END:s=this._valueMax();break;case e.ui.keyCode.PAGE_UP:s=this._trimAlignValue(i+(this._valueMax()-this._valueMin())/n);break;case e.ui.keyCode.PAGE_DOWN:s=this._trimAlignValue(i-(this._valueMax()-this._valueMin())/n);break;case e.ui.keyCode.UP:case e.ui.keyCode.R
 IGHT:if(i===this._valueMax())return;s=this._trimAlignValue(i+o);break;case e.ui.keyCode.DOWN:case e.ui.keyCode.LEFT:if(i===this._valueMin())return;s=this._trimAlignValue(i-o)}this._slide(t,u,s)},keyup:function(t){var n=e(t.target).data(&quot;ui-slider-handle-index&quot;);this._keySliding&amp;&amp;(this._keySliding=!1,this._stop(t,n),this._change(t,n),e(t.target).removeClass(&quot;ui-state-active&quot;))}}),this._refreshValue(),this._animateOff=!1},_destroy:function(){this.handles.remove(),this.range.remove(),this.element.removeClass(&quot;ui-slider ui-slider-horizontal ui-slider-vertical ui-slider-disabled ui-widget ui-widget-content ui-corner-all&quot;),this._mouseDestroy()},_mouseCapture:function(t){var n,r,i,s,o,u,a,f,l=this,c=this.options;return c.disabled?!1:(this.elementSize={width:this.element.outerWidth(),height:this.element.outerHeight()},this.elementOffset=this.element.offset(),n={x:t.pageX,y:t.pageY},r=this._normValueFromMouse(n),i=this._valueMax()-this._valueMin(
 )+1,this.handles.each(function(t){var n=Math.abs(r-l.values(t));i&gt;n&amp;&amp;(i=n,s=e(this),o=t)}),c.range===!0&amp;&amp;this.values(1)===c.min&amp;&amp;(o+=1,s=e(this.handles[o])),u=this._start(t,o),u===!1?!1:(this._mouseSliding=!0,this._handleIndex=o,s.addClass(&quot;ui-state-active&quot;).focus(),a=s.offset(),f=!e(t.target).parents().andSelf().is(&quot;.ui-slider-handle&quot;),this._clickOffset=f?{left:0,top:0}:{left:t.pageX-a.left-s.width()/2,top:t.pageY-a.top-s.height()/2-(parseInt(s.css(&quot;borderTopWidth&quot;),10)||0)-(parseInt(s.css(&quot;borderBottomWidth&quot;),10)||0)+(parseInt(s.css(&quot;marginTop&quot;),10)||0)},this.handles.hasClass(&quot;ui-state-hover&quot;)||this._slide(t,o,r),this._animateOff=!0,!0))},_mouseStart:function(e){return!0},_mouseDrag:function(e){var t={x:e.pageX,y:e.pageY},n=this._normValueFromMouse(t);return this._slide(e,this._handleIndex,n),!1},_mouseStop:function(e){return this.handles.removeClass(&quot;ui-state-active&quot;),this._mo
 useSliding=!1,this._stop(e,this._handleIndex),this._change(e,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(e){var t,n,r,i,s;return this.orientation===&quot;horizontal&quot;?(t=this.elementSize.width,n=e.x-this.elementOffset.left-(this._clickOffset?this._clickOffset.left:0)):(t=this.elementSize.height,n=e.y-this.elementOffset.top-(this._clickOffset?this._clickOffset.top:0)),r=n/t,r&gt;1&amp;&amp;(r=1),r&lt;0&amp;&amp;(r=0),this.orientation===&quot;vertical&quot;&amp;&amp;(r=1-r),i=this._valueMax()-this._valueMin(),s=this._valueMin()+r*i,this._trimAlignValue(s)},_start:function(e,t){var n={handle:this.handles[t],value:this.value()};return this.options.values&amp;&amp;this.options.values.length&amp;&amp;(n.value=this.values(t),n.values=this.values()),this._trigger(&quot
 ;start&quot;,e,n)},_slide:function(e,t,n){var r,i,s;this.options.values&amp;&amp;this.options.values.length?(r=this.values(t?0:1),this.options.values.length===2&amp;&amp;this.options.range===!0&amp;&amp;(t===0&amp;&amp;n&gt;r||t===1&amp;&amp;n&lt;r)&amp;&amp;(n=r),n!==this.values(t)&amp;&amp;(i=this.values(),i[t]=n,s=this._trigger(&quot;slide&quot;,e,{handle:this.handles[t],value:n,values:i}),r=this.values(t?0:1),s!==!1&amp;&amp;this.values(t,n,!0))):n!==this.value()&amp;&amp;(s=this._trigger(&quot;slide&quot;,e,{handle:this.handles[t],value:n}),s!==!1&amp;&amp;this.value(n))},_stop:function(e,t){var n={handle:this.handles[t],value:this.value()};this.options.values&amp;&amp;this.options.values.length&amp;&amp;(n.value=this.values(t),n.values=this.values()),this._trigger(&quot;stop&quot;,e,n)},_change:function(e,t){if(!this._keySliding&amp;&amp;!this._mouseSliding){var n={handle:this.handles[t],value:this.value()};this.options.values&amp;&amp;this.options.values.length&amp;&a
 mp;(n.value=this.values(t),n.values=this.values()),this._trigger(&quot;change&quot;,e,n)}},value:function(e){if(arguments.length){this.options.value=this._trimAlignValue(e),this._refreshValue(),this._change(null,0);return}return this._value()},values:function(t,n){var r,i,s;if(arguments.length&gt;1){this.options.values[t]=this._trimAlignValue(n),this._refreshValue(),this._change(null,t);return}if(!arguments.length)return this._values();if(!e.isArray(arguments[0]))return this.options.values&amp;&amp;this.options.values.length?this._values(t):this.value();r=this.options.values,i=arguments[0];for(s=0;s&lt;r.length;s+=1)r[s]=this._trimAlignValue(i[s]),this._change(null,s);this._refreshValue()},_setOption:function(t,n){var r,i=0;e.isArray(this.options.values)&amp;&amp;(i=this.options.values.length),e.Widget.prototype._setOption.apply(this,arguments);switch(t){case&quot;disabled&quot;:n?(this.handles.filter(&quot;.ui-state-focus&quot;).blur(),this.handles.removeClass(&quot;ui-stat
 e-hover&quot;),this.handles.prop(&quot;disabled&quot;,!0),this.element.addClass(&quot;ui-disabled&quot;)):(this.handles.prop(&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(r=0;r&lt;i;r+=1)this._change(null,r);this._animateOff=!1}},_value:function(){var e=this.options.value;return e=this._trimAlignValue(e),e},_values:function(e){var t,n,r;if(arguments.length)return t=this.options.values[e],t=this._trimAlignValue(t),t;n=this.options.values.slice();for(r=0;r&lt;n.length;r+=1)n[r]=this._trimAlignValue(n[r]);return n},_trimAlignValue:function(e){if(e&lt;=this._value
 Min())return this._valueMin();if(e&gt;=this._valueMax())return this._valueMax();var t=this.options.step&gt;0?this.options.step:1,n=(e-this._valueMin())%t,r=e-n;return Math.abs(n)*2&gt;=t&amp;&amp;(r+=n&gt;0?t:-t),parseFloat(r.toFixed(5))},_valueMin:function(){return this.options.min},_valueMax:function(){return this.options.max},_refreshValue:function(){var t,n,r,i,s,o=this.options.range,u=this.options,a=this,f=this._animateOff?!1:u.animate,l={};this.options.values&amp;&amp;this.options.values.length?this.handles.each(function(r,i){n=(a.values(r)-a._valueMin())/(a._valueMax()-a._valueMin())*100,l[a.orientation===&quot;horizontal&quot;?&quot;left&quot;:&quot;bottom&quot;]=n+&quot;%&quot;,e(this).stop(1,1)[f?&quot;animate&quot;:&quot;css&quot;](l,u.animate),a.options.range===!0&amp;&amp;(a.orientation===&quot;horizontal&quot;?(r===0&amp;&amp;a.range.stop(1,1)[f?&quot;animate&quot;:&quot;css&quot;]({left:n+&quot;%&quot;},u.animate),r===1&amp;&amp;a.range[f?&quot;animate&quot;:&
 quot;css&quot;]({width:n-t+&quot;%&quot;},{queue:!1,duration:u.animate})):(r===0&amp;&amp;a.range.stop(1,1)[f?&quot;animate&quot;:&quot;css&quot;]({bottom:n+&quot;%&quot;},u.animate),r===1&amp;&amp;a.range[f?&quot;animate&quot;:&quot;css&quot;]({height:n-t+&quot;%&quot;},{queue:!1,duration:u.animate}))),t=n}):(r=this.value(),i=this._valueMin(),s=this._valueMax(),n=s!==i?(r-i)/(s-i)*100:0,l[this.orientation===&quot;horizontal&quot;?&quot;left&quot;:&quot;bottom&quot;]=n+&quot;%&quot;,this.handle.stop(1,1)[f?&quot;animate&quot;:&quot;css&quot;](l,u.animate),o===&quot;min&quot;&amp;&amp;this.orientation===&quot;horizontal&quot;&amp;&amp;this.range.stop(1,1)[f?&quot;animate&quot;:&quot;css&quot;]({width:n+&quot;%&quot;},u.animate),o===&quot;max&quot;&amp;&amp;this.orientation===&quot;horizontal&quot;&amp;&amp;this.range[f?&quot;animate&quot;:&quot;css&quot;]({width:100-n+&quot;%&quot;},{queue:!1,duration:u.animate}),o===&quot;min&quot;&amp;&amp;this.orientation===&quot;vertical&
 quot;&amp;&amp;this.range.stop(1,1)[f?&quot;animate&quot;:&quot;css&quot;]({height:n+&quot;%&quot;},u.animate),o===&quot;max&quot;&amp;&amp;this.orientation===&quot;vertical&quot;&amp;&amp;this.range[f?&quot;animate&quot;:&quot;css&quot;]({height:100-n+&quot;%&quot;},{queue:!1,duration:u.animate}))}})})(jQuery);
</del><span class="cx">\ No newline at end of file
</span><ins>+(function(e,t){var n=5;e.widget(&quot;ui.slider&quot;,e.ui.mouse,{version:&quot;1.9.0&quot;,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 t,r=this.options,i=this.element.find(&quot;.ui-slider-handle&quot;).addClass(&quot;ui-state-default ui-corner-all&quot;),s=&quot;&lt;a class='ui-slider-handle ui-state-default ui-corner-all' href='#'&gt;&lt;/a&gt;&quot;,o=r.values&amp;&amp;r.values.length||1,u=[];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;+(r.disabled?&quot; ui-slider-disabled ui-disabled&quot;:&quot;&quot;)),this.range=e([]),r.range&amp;&amp;(r.range===!0&amp;&amp;(r.values||(r.values=[this._valueMi
 n(),this._valueMin()]),r.values.length&amp;&amp;r.values.length!==2&amp;&amp;(r.values=[r.values[0],r.values[0]])),this.range=e(&quot;&lt;div&gt;&lt;/div&gt;&quot;).appendTo(this.element).addClass(&quot;ui-slider-range ui-widget-header&quot;+(r.range===&quot;min&quot;||r.range===&quot;max&quot;?&quot; ui-slider-range-&quot;+r.range:&quot;&quot;)));for(t=i.length;t&lt;o;t++)u.push(s);this.handles=i.add(e(u.join(&quot;&quot;)).appendTo(this.element)),this.handle=this.handles.eq(0),this.handles.add(this.range).filter(&quot;a&quot;).click(function(e){e.preventDefault()}).mouseenter(function(){r.disabled||e(this).addClass(&quot;ui-state-hover&quot;)}).mouseleave(function(){e(this).removeClass(&quot;ui-state-hover&quot;)}).focus(function(){r.disabled?e(this).blur():(e(&quot;.ui-slider .ui-state-focus&quot;).removeClass(&quot;ui-state-focus&quot;),e(this).addClass(&quot;ui-state-focus&quot;))}).blur(function(){e(this).removeClass(&quot;ui-state-focus&quot;)}),this.handles.each(func
 tion(t){e(this).data(&quot;ui-slider-handle-index&quot;,t)}),this._on(this.handles,{keydown:function(t){var r,i,s,o,u=e(t.target).data(&quot;ui-slider-handle-index&quot;);switch(t.keyCode){case e.ui.keyCode.HOME:case e.ui.keyCode.END:case e.ui.keyCode.PAGE_UP:case e.ui.keyCode.PAGE_DOWN:case e.ui.keyCode.UP:case e.ui.keyCode.RIGHT:case e.ui.keyCode.DOWN:case e.ui.keyCode.LEFT:t.preventDefault();if(!this._keySliding){this._keySliding=!0,e(t.target).addClass(&quot;ui-state-active&quot;),r=this._start(t,u);if(r===!1)return}}o=this.options.step,this.options.values&amp;&amp;this.options.values.length?i=s=this.values(u):i=s=this.value();switch(t.keyCode){case e.ui.keyCode.HOME:s=this._valueMin();break;case e.ui.keyCode.END:s=this._valueMax();break;case e.ui.keyCode.PAGE_UP:s=this._trimAlignValue(i+(this._valueMax()-this._valueMin())/n);break;case e.ui.keyCode.PAGE_DOWN:s=this._trimAlignValue(i-(this._valueMax()-this._valueMin())/n);break;case e.ui.keyCode.UP:case e.ui.keyCode.RIGH
 T:if(i===this._valueMax())return;s=this._trimAlignValue(i+o);break;case e.ui.keyCode.DOWN:case e.ui.keyCode.LEFT:if(i===this._valueMin())return;s=this._trimAlignValue(i-o)}this._slide(t,u,s)},keyup:function(t){var n=e(t.target).data(&quot;ui-slider-handle-index&quot;);this._keySliding&amp;&amp;(this._keySliding=!1,this._stop(t,n),this._change(t,n),e(t.target).removeClass(&quot;ui-state-active&quot;))}}),this._refreshValue(),this._animateOff=!1},_destroy:function(){this.handles.remove(),this.range.remove(),this.element.removeClass(&quot;ui-slider ui-slider-horizontal ui-slider-vertical ui-slider-disabled ui-widget ui-widget-content ui-corner-all&quot;),this._mouseDestroy()},_mouseCapture:function(t){var n,r,i,s,o,u,a,f,l=this,c=this.options;return c.disabled?!1:(this.elementSize={width:this.element.outerWidth(),height:this.element.outerHeight()},this.elementOffset=this.element.offset(),n={x:t.pageX,y:t.pageY},r=this._normValueFromMouse(n),i=this._valueMax()-this._valueMin()+1
 ,this.handles.each(function(t){var n=Math.abs(r-l.values(t));i&gt;n&amp;&amp;(i=n,s=e(this),o=t)}),c.range===!0&amp;&amp;this.values(1)===c.min&amp;&amp;(o+=1,s=e(this.handles[o])),u=this._start(t,o),u===!1?!1:(this._mouseSliding=!0,this._handleIndex=o,s.addClass(&quot;ui-state-active&quot;).focus(),a=s.offset(),f=!e(t.target).parents().andSelf().is(&quot;.ui-slider-handle&quot;),this._clickOffset=f?{left:0,top:0}:{left:t.pageX-a.left-s.width()/2,top:t.pageY-a.top-s.height()/2-(parseInt(s.css(&quot;borderTopWidth&quot;),10)||0)-(parseInt(s.css(&quot;borderBottomWidth&quot;),10)||0)+(parseInt(s.css(&quot;marginTop&quot;),10)||0)},this.handles.hasClass(&quot;ui-state-hover&quot;)||this._slide(t,o,r),this._animateOff=!0,!0))},_mouseStart:function(e){return!0},_mouseDrag:function(e){var t={x:e.pageX,y:e.pageY},n=this._normValueFromMouse(t);return this._slide(e,this._handleIndex,n),!1},_mouseStop:function(e){return this.handles.removeClass(&quot;ui-state-active&quot;),this._mouse
 Sliding=!1,this._stop(e,this._handleIndex),this._change(e,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(e){var t,n,r,i,s;return this.orientation===&quot;horizontal&quot;?(t=this.elementSize.width,n=e.x-this.elementOffset.left-(this._clickOffset?this._clickOffset.left:0)):(t=this.elementSize.height,n=e.y-this.elementOffset.top-(this._clickOffset?this._clickOffset.top:0)),r=n/t,r&gt;1&amp;&amp;(r=1),r&lt;0&amp;&amp;(r=0),this.orientation===&quot;vertical&quot;&amp;&amp;(r=1-r),i=this._valueMax()-this._valueMin(),s=this._valueMin()+r*i,this._trimAlignValue(s)},_start:function(e,t){var n={handle:this.handles[t],value:this.value()};return this.options.values&amp;&amp;this.options.values.length&amp;&amp;(n.value=this.values(t),n.values=this.values()),this._trigger(&quot;st
 art&quot;,e,n)},_slide:function(e,t,n){var r,i,s;this.options.values&amp;&amp;this.options.values.length?(r=this.values(t?0:1),this.options.values.length===2&amp;&amp;this.options.range===!0&amp;&amp;(t===0&amp;&amp;n&gt;r||t===1&amp;&amp;n&lt;r)&amp;&amp;(n=r),n!==this.values(t)&amp;&amp;(i=this.values(),i[t]=n,s=this._trigger(&quot;slide&quot;,e,{handle:this.handles[t],value:n,values:i}),r=this.values(t?0:1),s!==!1&amp;&amp;this.values(t,n,!0))):n!==this.value()&amp;&amp;(s=this._trigger(&quot;slide&quot;,e,{handle:this.handles[t],value:n}),s!==!1&amp;&amp;this.value(n))},_stop:function(e,t){var n={handle:this.handles[t],value:this.value()};this.options.values&amp;&amp;this.options.values.length&amp;&amp;(n.value=this.values(t),n.values=this.values()),this._trigger(&quot;stop&quot;,e,n)},_change:function(e,t){if(!this._keySliding&amp;&amp;!this._mouseSliding){var n={handle:this.handles[t],value:this.value()};this.options.values&amp;&amp;this.options.values.length&amp;&amp;
 (n.value=this.values(t),n.values=this.values()),this._trigger(&quot;change&quot;,e,n)}},value:function(e){if(arguments.length){this.options.value=this._trimAlignValue(e),this._refreshValue(),this._change(null,0);return}return this._value()},values:function(t,n){var r,i,s;if(arguments.length&gt;1){this.options.values[t]=this._trimAlignValue(n),this._refreshValue(),this._change(null,t);return}if(!arguments.length)return this._values();if(!e.isArray(arguments[0]))return this.options.values&amp;&amp;this.options.values.length?this._values(t):this.value();r=this.options.values,i=arguments[0];for(s=0;s&lt;r.length;s+=1)r[s]=this._trimAlignValue(i[s]),this._change(null,s);this._refreshValue()},_setOption:function(t,n){var r,i=0;e.isArray(this.options.values)&amp;&amp;(i=this.options.values.length),e.Widget.prototype._setOption.apply(this,arguments);switch(t){case&quot;disabled&quot;:n?(this.handles.filter(&quot;.ui-state-focus&quot;).blur(),this.handles.removeClass(&quot;ui-state-h
 over&quot;),this.handles.prop(&quot;disabled&quot;,!0),this.element.addClass(&quot;ui-disabled&quot;)):(this.handles.prop(&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(r=0;r&lt;i;r+=1)this._change(null,r);this._animateOff=!1}},_value:function(){var e=this.options.value;return e=this._trimAlignValue(e),e},_values:function(e){var t,n,r;if(arguments.length)return t=this.options.values[e],t=this._trimAlignValue(t),t;n=this.options.values.slice();for(r=0;r&lt;n.length;r+=1)n[r]=this._trimAlignValue(n[r]);return n},_trimAlignValue:function(e){if(e&lt;=this._valueMin
 ())return this._valueMin();if(e&gt;=this._valueMax())return this._valueMax();var t=this.options.step&gt;0?this.options.step:1,n=(e-this._valueMin())%t,r=e-n;return Math.abs(n)*2&gt;=t&amp;&amp;(r+=n&gt;0?t:-t),parseFloat(r.toFixed(5))},_valueMin:function(){return this.options.min},_valueMax:function(){return this.options.max},_refreshValue:function(){var t,n,r,i,s,o=this.options.range,u=this.options,a=this,f=this._animateOff?!1:u.animate,l={};this.options.values&amp;&amp;this.options.values.length?this.handles.each(function(r,i){n=(a.values(r)-a._valueMin())/(a._valueMax()-a._valueMin())*100,l[a.orientation===&quot;horizontal&quot;?&quot;left&quot;:&quot;bottom&quot;]=n+&quot;%&quot;,e(this).stop(1,1)[f?&quot;animate&quot;:&quot;css&quot;](l,u.animate),a.options.range===!0&amp;&amp;(a.orientation===&quot;horizontal&quot;?(r===0&amp;&amp;a.range.stop(1,1)[f?&quot;animate&quot;:&quot;css&quot;]({left:n+&quot;%&quot;},u.animate),r===1&amp;&amp;a.range[f?&quot;animate&quot;:&quo
 t;css&quot;]({width:n-t+&quot;%&quot;},{queue:!1,duration:u.animate})):(r===0&amp;&amp;a.range.stop(1,1)[f?&quot;animate&quot;:&quot;css&quot;]({bottom:n+&quot;%&quot;},u.animate),r===1&amp;&amp;a.range[f?&quot;animate&quot;:&quot;css&quot;]({height:n-t+&quot;%&quot;},{queue:!1,duration:u.animate}))),t=n}):(r=this.value(),i=this._valueMin(),s=this._valueMax(),n=s!==i?(r-i)/(s-i)*100:0,l[this.orientation===&quot;horizontal&quot;?&quot;left&quot;:&quot;bottom&quot;]=n+&quot;%&quot;,this.handle.stop(1,1)[f?&quot;animate&quot;:&quot;css&quot;](l,u.animate),o===&quot;min&quot;&amp;&amp;this.orientation===&quot;horizontal&quot;&amp;&amp;this.range.stop(1,1)[f?&quot;animate&quot;:&quot;css&quot;]({width:n+&quot;%&quot;},u.animate),o===&quot;max&quot;&amp;&amp;this.orientation===&quot;horizontal&quot;&amp;&amp;this.range[f?&quot;animate&quot;:&quot;css&quot;]({width:100-n+&quot;%&quot;},{queue:!1,duration:u.animate}),o===&quot;min&quot;&amp;&amp;this.orientation===&quot;vertical&quo
 t;&amp;&amp;this.range.stop(1,1)[f?&quot;animate&quot;:&quot;css&quot;]({height:n+&quot;%&quot;},u.animate),o===&quot;max&quot;&amp;&amp;this.orientation===&quot;vertical&quot;&amp;&amp;this.range[f?&quot;animate&quot;:&quot;css&quot;]({height:100-n+&quot;%&quot;},{queue:!1,duration:u.animate}))}})})(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 (22181 => 22182)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-includes/js/jquery/ui/jquery.ui.sortable.min.js        2012-10-11 03:29:02 UTC (rev 22181)
+++ trunk/wp-includes/js/jquery/ui/jquery.ui.sortable.min.js        2012-10-11 03:34:19 UTC (rev 22182)
</span><span class="lines">@@ -1,5 +1,5 @@
</span><del>-/*! jQuery UI - v1.9.0pre - 2012-08-29
</del><ins>+/*! jQuery UI - v1.9.0 - 2012-10-05
</ins><span class="cx"> * http://jqueryui.com
</span><span class="cx"> * Includes: jquery.ui.sortable.js
</span><span class="cx"> * Copyright 2012 jQuery Foundation and other contributors; Licensed MIT */
</span><del>-(function(e,t){e.widget(&quot;ui.sortable&quot;,e.ui.mouse,{version:&quot;@VERSION&quot;,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 e=this.options;this.containerCache={},this.element.addClass(&quot;ui-sortable&quot;),this.refresh(),this.floating=this.items.length?e.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(){this.element.removeClass(&quot;ui-sortable ui-sorta
 ble-disabled&quot;),this._mouseDestroy();for(var e=this.items.length-1;e&gt;=0;e--)this.items[e].item.removeData(this.widgetName+&quot;-item&quot;);return this},_setOption:function(t,n){t===&quot;disabled&quot;?(this.options[t]=n,this.widget().toggleClass(&quot;ui-sortable-disabled&quot;,!!n)):e.Widget.prototype._setOption.apply(this,arguments)},_mouseCapture:function(t,n){var r=this;if(this.reverting)return!1;if(this.options.disabled||this.options.type==&quot;static&quot;)return!1;this._refreshItems(t);var i=null,s=e(t.target).parents().each(function(){if(e.data(this,r.widgetName+&quot;-item&quot;)==r)return i=e(this),!1});e.data(t.target,r.widgetName+&quot;-item&quot;)==r&amp;&amp;(i=e(t.target));if(!i)return!1;if(this.options.handle&amp;&amp;!n){var o=!1;e(this.options.handle,i).find(&quot;*&quot;).andSelf().each(function(){this==t.target&amp;&amp;(o=!0)});if(!o)return!1}return this.currentItem=i,this._removeCurrentsFromItems(),!0},_mouseStart:function(t,n,r){var i=this.o
 ptions;this.currentContainer=this,this.refreshPositions(),this.helper=this._createHelper(t),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},e.extend(this.offset,{click:{left:t.pageX-this.offset.left,top:t.pageY-this.offset.top},parent:this._getParentOffset(),relative:this._getRelativeOffset()}),this.helper.css(&quot;position&quot;,&quot;absolute&quot;),this.cssPosition=this.helper.css(&quot;position&quot;),this.originalPosition=this._generatePosition(t),this.originalPageX=t.pageX,this.originalPageY=t.pageY,i.cursorAt&amp;&amp;this._adjustOffsetFromHelper(i.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(),i.containment&amp;&amp;this._setContainment(),i.cursor&a
 mp;&amp;(e(&quot;body&quot;).css(&quot;cursor&quot;)&amp;&amp;(this._storedCursor=e(&quot;body&quot;).css(&quot;cursor&quot;)),e(&quot;body&quot;).css(&quot;cursor&quot;,i.cursor)),i.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;,i.opacity)),i.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;,i.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;,t,this._uiHash()),this._preserveHelperProportions||this._cacheHelperProportions();if(!r)for(var s=this.containers.length-1;s&gt;=0;s--)this.containers[s]._trigger(&quot;activate&quot;,t,this._uiHash(this));return e.ui.ddmanager&amp;&amp;(e.ui.ddmanager.current=this),e.ui.ddmanager&amp;&amp;
 !i.dropBehaviour&amp;&amp;e.ui.ddmanager.prepareOffsets(this,t),this.dragging=!0,this.helper.addClass(&quot;ui-sortable-helper&quot;),this._mouseDrag(t),!0},_mouseDrag:function(t){this.position=this._generatePosition(t),this.positionAbs=this._convertPositionTo(&quot;absolute&quot;),this.lastPositionAbs||(this.lastPositionAbs=this.positionAbs);if(this.options.scroll){var n=this.options,r=!1;this.scrollParent[0]!=document&amp;&amp;this.scrollParent[0].tagName!=&quot;HTML&quot;?(this.overflowOffset.top+this.scrollParent[0].offsetHeight-t.pageY&lt;n.scrollSensitivity?this.scrollParent[0].scrollTop=r=this.scrollParent[0].scrollTop+n.scrollSpeed:t.pageY-this.overflowOffset.top&lt;n.scrollSensitivity&amp;&amp;(this.scrollParent[0].scrollTop=r=this.scrollParent[0].scrollTop-n.scrollSpeed),this.overflowOffset.left+this.scrollParent[0].offsetWidth-t.pageX&lt;n.scrollSensitivity?this.scrollParent[0].scrollLeft=r=this.scrollParent[0].scrollLeft+n.scrollSpeed:t.pageX-this.overflowOffset.
 left&lt;n.scrollSensitivity&amp;&amp;(this.scrollParent[0].scrollLeft=r=this.scrollParent[0].scrollLeft-n.scrollSpeed)):(t.pageY-e(document).scrollTop()&lt;n.scrollSensitivity?r=e(document).scrollTop(e(document).scrollTop()-n.scrollSpeed):e(window).height()-(t.pageY-e(document).scrollTop())&lt;n.scrollSensitivity&amp;&amp;(r=e(document).scrollTop(e(document).scrollTop()+n.scrollSpeed)),t.pageX-e(document).scrollLeft()&lt;n.scrollSensitivity?r=e(document).scrollLeft(e(document).scrollLeft()-n.scrollSpeed):e(window).width()-(t.pageX-e(document).scrollLeft())&lt;n.scrollSensitivity&amp;&amp;(r=e(document).scrollLeft(e(document).scrollLeft()+n.scrollSpeed))),r!==!1&amp;&amp;e.ui.ddmanager&amp;&amp;!n.dropBehaviour&amp;&amp;e.ui.ddmanager.prepareOffsets(this,t)}this.positionAbs=this._convertPositionTo(&quot;absolute&quot;);if(!this.options.axis||this.options.axis!=&quot;y&quot;)this.helper[0].style.left=this.position.left+&quot;px&quot;;if(!this.options.axis||this.options.axis!=&
 quot;x&quot;)this.helper[0].style.top=this.position.top+&quot;px&quot;;for(var i=this.items.length-1;i&gt;=0;i--){var s=this.items[i],o=s.item[0],u=this._intersectsWithPointer(s);if(!u)continue;if(s.instance!==this.currentContainer)continue;if(o!=this.currentItem[0]&amp;&amp;this.placeholder[u==1?&quot;next&quot;:&quot;prev&quot;]()[0]!=o&amp;&amp;!e.contains(this.placeholder[0],o)&amp;&amp;(this.options.type==&quot;semi-dynamic&quot;?!e.contains(this.element[0],o):!0)){this.direction=u==1?&quot;down&quot;:&quot;up&quot;;if(this.options.tolerance!=&quot;pointer&quot;&amp;&amp;!this._intersectsWithSides(s))break;this._rearrange(t,s),this._trigger(&quot;change&quot;,t,this._uiHash());break}}return this._contactContainers(t),e.ui.ddmanager&amp;&amp;e.ui.ddmanager.drag(this,t),this._trigger(&quot;sort&quot;,t,this._uiHash()),this.lastPositionAbs=this.positionAbs,!1},_mouseStop:function(t,n){if(!t)return;e.ui.ddmanager&amp;&amp;!this.options.dropBehaviour&amp;&amp;e.ui.ddmanager.
 drop(this,t);if(this.options.revert){var r=this,i=this.placeholder.offset();this.reverting=!0,e(this.helper).animate({left:i.left-this.offset.parent.left-this.margins.left+(this.offsetParent[0]==document.body?0:this.offsetParent[0].scrollLeft),top:i.top-this.offset.parent.top-this.margins.top+(this.offsetParent[0]==document.body?0:this.offsetParent[0].scrollTop)},parseInt(this.options.revert,10)||500,function(){r._clear(t)})}else this._clear(t,n);return!1},cancel:function(){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 t=this.containers.length-1;t&gt;=0;t--)this.containers[t]._trigger(&quot;deactivate&quot;,null,this._uiHash(this)),this.containers[t].containerCache.over&amp;&amp;(this.containers[t]._trigger(&quot;out&quot;,null,this._uiHash(this)),this.containers[t].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(),e.extend(this,{helper:null,dragging:!1,reverting:!1,_noFinalSort:null}),this.domPosition.prev?e(this.domPosition.prev).after(this.currentItem):e(this.domPosition.parent).prepend(this.currentItem)),this},serialize:function(t){var n=this._getItemsAsjQuery(t&amp;&amp;t.connected),r=[];return t=t||{},e(n).each(function(){var n=(e(t.item||this).attr(t.attribute||&quot;id&quot;)||&quot;&quot;).match(t.expression||/(.+)[-=_](.+)/);n&amp;&amp;r.push((t.key||n[1]+&quot;[]&quot;)+&quot;=&quot;+(t.key&amp;&amp;t.expression?n[1]:n[2]))}),!r.length&amp;&amp;t.key&amp;&amp;r.push(t.key+&quot;=&quot;),r.join(&quot;&amp;&quot;)},toArray:function(t){var n=this._getItemsAsjQuery(t&amp;&amp;t.connected),r=[];return t=t||{},n.each(function(){r.push(e(t.item||this).
 attr(t.attribute||&quot;id&quot;)||&quot;&quot;)}),r},_intersectsWith:function(e){var t=this.positionAbs.left,n=t+this.helperProportions.width,r=this.positionAbs.top,i=r+this.helperProportions.height,s=e.left,o=s+e.width,u=e.top,a=u+e.height,f=this.offset.click.top,l=this.offset.click.left,c=r+f&gt;u&amp;&amp;r+f&lt;a&amp;&amp;t+l&gt;s&amp;&amp;t+l&lt;o;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;e[this.floating?&quot;width&quot;:&quot;height&quot;]?c:s&lt;t+this.helperProportions.width/2&amp;&amp;n-this.helperProportions.width/2&lt;o&amp;&amp;u&lt;r+this.helperProportions.height/2&amp;&amp;i-this.helperProportions.height/2&lt;a},_intersectsWithPointer:function(t){var n=this.options.axis===&quot;x&quot;||e.ui.isOverAxis(this.positionAbs.top+this.offset.click.top,t.top,t.height),r=this.options.axis==
 =&quot;y&quot;||e.ui.isOverAxis(this.positionAbs.left+this.offset.click.left,t.left,t.width),i=n&amp;&amp;r,s=this._getDragVerticalDirection(),o=this._getDragHorizontalDirection();return i?this.floating?o&amp;&amp;o==&quot;right&quot;||s==&quot;down&quot;?2:1:s&amp;&amp;(s==&quot;down&quot;?2:1):!1},_intersectsWithSides:function(t){var n=e.ui.isOverAxis(this.positionAbs.top+this.offset.click.top,t.top+t.height/2,t.height),r=e.ui.isOverAxis(this.positionAbs.left+this.offset.click.left,t.left+t.width/2,t.width),i=this._getDragVerticalDirection(),s=this._getDragHorizontalDirection();return this.floating&amp;&amp;s?s==&quot;right&quot;&amp;&amp;r||s==&quot;left&quot;&amp;&amp;!r:i&amp;&amp;(i==&quot;down&quot;&amp;&amp;n||i==&quot;up&quot;&amp;&amp;!n)},_getDragVerticalDirection:function(){var e=this.positionAbs.top-this.lastPositionAbs.top;return e!=0&amp;&amp;(e&gt;0?&quot;down&quot;:&quot;up&quot;)},_getDragHorizontalDirection:function(){var e=this.positionAbs.left-this.lastP
 ositionAbs.left;return e!=0&amp;&amp;(e&gt;0?&quot;right&quot;:&quot;left&quot;)},refresh:function(e){return this._refreshItems(e),this.refreshPositions(),this},_connectWith:function(){var e=this.options;return e.connectWith.constructor==String?[e.connectWith]:e.connectWith},_getItemsAsjQuery:function(t){var n=[],r=[],i=this._connectWith();if(i&amp;&amp;t)for(var s=i.length-1;s&gt;=0;s--){var o=e(i[s]);for(var u=o.length-1;u&gt;=0;u--){var a=e.data(o[u],this.widgetName);a&amp;&amp;a!=this&amp;&amp;!a.options.disabled&amp;&amp;r.push([e.isFunction(a.options.items)?a.options.items.call(a.element):e(a.options.items,a.element).not(&quot;.ui-sortable-helper&quot;).not(&quot;.ui-sortable-placeholder&quot;),a])}}r.push([e.isFunction(this.options.items)?this.options.items.call(this.element,null,{options:this.options,item:this.currentItem}):e(this.options.items,this.element).not(&quot;.ui-sortable-helper&quot;).not(&quot;.ui-sortable-placeholder&quot;),this]);for(var s=r.length-1;s&g
 t;=0;s--)r[s][0].each(function(){n.push(this)});return e(n)},_removeCurrentsFromItems:function(){var e=this.currentItem.find(&quot;:data(&quot;+this.widgetName+&quot;-item)&quot;);for(var t=0;t&lt;this.items.length;t++)for(var n=0;n&lt;e.length;n++)e[n]==this.items[t].item[0]&amp;&amp;this.items.splice(t,1)},_refreshItems:function(t){this.items=[],this.containers=[this];var n=this.items,r=[[e.isFunction(this.options.items)?this.options.items.call(this.element[0],t,{item:this.currentItem}):e(this.options.items,this.element),this]],i=this._connectWith();if(i&amp;&amp;this.ready)for(var s=i.length-1;s&gt;=0;s--){var o=e(i[s]);for(var u=o.length-1;u&gt;=0;u--){var a=e.data(o[u],this.widgetName);a&amp;&amp;a!=this&amp;&amp;!a.options.disabled&amp;&amp;(r.push([e.isFunction(a.options.items)?a.options.items.call(a.element[0],t,{item:this.currentItem}):e(a.options.items,a.element),a]),this.containers.push(a))}}for(var s=r.length-1;s&gt;=0;s--){var f=r[s][1],l=r[s][0];for(var u=0,c=l
 .length;u&lt;c;u++){var h=e(l[u]);h.data(this.widgetName+&quot;-item&quot;,f),n.push({item:h,instance:f,width:0,height:0,left:0,top:0})}}},refreshPositions:function(t){this.offsetParent&amp;&amp;this.helper&amp;&amp;(this.offset.parent=this._getParentOffset());for(var n=this.items.length-1;n&gt;=0;n--){var r=this.items[n];if(r.instance!=this.currentContainer&amp;&amp;this.currentContainer&amp;&amp;r.item[0]!=this.currentItem[0])continue;var i=this.options.toleranceElement?e(this.options.toleranceElement,r.item):r.item;t||(r.width=i.outerWidth(),r.height=i.outerHeight());var s=i.offset();r.left=s.left,r.top=s.top}if(this.options.custom&amp;&amp;this.options.custom.refreshContainers)this.options.custom.refreshContainers.call(this);else for(var n=this.containers.length-1;n&gt;=0;n--){var s=this.containers[n].element.offset();this.containers[n].containerCache.left=s.left,this.containers[n].containerCache.top=s.top,this.containers[n].containerCache.width=this.containers[n].elemen
 t.outerWidth(),this.containers[n].containerCache.height=this.containers[n].element.outerHeight()}return this},_createPlaceholder:function(t){t=t||this;var n=t.options;if(!n.placeholder||n.placeholder.constructor==String){var r=n.placeholder;n.placeholder={element:function(){var n=e(document.createElement(t.currentItem[0].nodeName)).addClass(r||t.currentItem[0].className+&quot; ui-sortable-placeholder&quot;).removeClass(&quot;ui-sortable-helper&quot;)[0];return r||(n.style.visibility=&quot;hidden&quot;),n},update:function(e,i){if(r&amp;&amp;!n.forcePlaceholderSize)return;i.height()||i.height(t.currentItem.innerHeight()-parseInt(t.currentItem.css(&quot;paddingTop&quot;)||0,10)-parseInt(t.currentItem.css(&quot;paddingBottom&quot;)||0,10)),i.width()||i.width(t.currentItem.innerWidth()-parseInt(t.currentItem.css(&quot;paddingLeft&quot;)||0,10)-parseInt(t.currentItem.css(&quot;paddingRight&quot;)||0,10))}}}t.placeholder=e(n.placeholder.element.call(t.element,t.currentItem)),t.curr
 entItem.after(t.placeholder),n.placeholder.update(t,t.placeholder)},_contactContainers:function(t){var n=null,r=null;for(var i=this.containers.length-1;i&gt;=0;i--){if(e.contains(this.currentItem[0],this.containers[i].element[0]))continue;if(this._intersectsWith(this.containers[i].containerCache)){if(n&amp;&amp;e.contains(this.containers[i].element[0],n.element[0]))continue;n=this.containers[i],r=i}else this.containers[i].containerCache.over&amp;&amp;(this.containers[i]._trigger(&quot;out&quot;,t,this._uiHash(this)),this.containers[i].containerCache.over=0)}if(!n)return;if(this.containers.length===1)this.containers[r]._trigger(&quot;over&quot;,t,this._uiHash(this)),this.containers[r].containerCache.over=1;else if(this.currentContainer!=this.containers[r]){var s=1e4,o=null,u=this.positionAbs[this.containers[r].floating?&quot;left&quot;:&quot;top&quot;];for(var a=this.items.length-1;a&gt;=0;a--){if(!e.contains(this.containers[r].element[0],this.items[a].item[0]))continue;var f
 =this.containers[r].floating?this.items[a].item.offset().left:this.items[a].item.offset().top;Math.abs(f-u)&lt;s&amp;&amp;(s=Math.abs(f-u),o=this.items[a],this.direction=f-u&gt;0?&quot;down&quot;:&quot;up&quot;)}if(!o&amp;&amp;!this.options.dropOnEmpty)return;this.currentContainer=this.containers[r],o?this._rearrange(t,o,null,!0):this._rearrange(t,null,this.containers[r].element,!0),this._trigger(&quot;change&quot;,t,this._uiHash()),this.containers[r]._trigger(&quot;change&quot;,t,this._uiHash(this)),this.options.placeholder.update(this.currentContainer,this.placeholder),this.containers[r]._trigger(&quot;over&quot;,t,this._uiHash(this)),this.containers[r].containerCache.over=1}},_createHelper:function(t){var n=this.options,r=e.isFunction(n.helper)?e(n.helper.apply(this.element[0],[t,this.currentItem])):n.helper==&quot;clone&quot;?this.currentItem.clone():this.currentItem;return r.parents(&quot;body&quot;).length||e(n.appendTo!=&quot;parent&quot;?n.appendTo:this.currentItem[0
 ].parentNode)[0].appendChild(r[0]),r[0]==this.currentItem[0]&amp;&amp;(this._storedCSS={width:this.currentItem[0].style.width,height:this.currentItem[0].style.height,position:this.currentItem.css(&quot;position&quot;),top:this.currentItem.css(&quot;top&quot;),left:this.currentItem.css(&quot;left&quot;)}),(r[0].style.width==&quot;&quot;||n.forceHelperSize)&amp;&amp;r.width(this.currentItem.width()),(r[0].style.height==&quot;&quot;||n.forceHelperSize)&amp;&amp;r.height(this.currentItem.height()),r},_adjustOffsetFromHelper:function(t){typeof t==&quot;string&quot;&amp;&amp;(t=t.split(&quot; &quot;)),e.isArray(t)&amp;&amp;(t={left:+t[0],top:+t[1]||0}),&quot;left&quot;in t&amp;&amp;(this.offset.click.left=t.left+this.margins.left),&quot;right&quot;in t&amp;&amp;(this.offset.click.left=this.helperProportions.width-t.right+this.margins.left),&quot;top&quot;in t&amp;&amp;(this.offset.click.top=t.top+this.margins.top),&quot;bottom&quot;in t&amp;&amp;(this.offset.click.top=this.helperP
 roportions.height-t.bottom+this.margins.top)},_getParentOffset:function(){this.offsetParent=this.helper.offsetParent();var t=this.offsetParent.offset();this.cssPosition==&quot;absolute&quot;&amp;&amp;this.scrollParent[0]!=document&amp;&amp;e.contains(this.scrollParent[0],this.offsetParent[0])&amp;&amp;(t.left+=this.scrollParent.scrollLeft(),t.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;e.browser.msie)t={top:0,left:0};return{top:t.top+(parseInt(this.offsetParent.css(&quot;borderTopWidth&quot;),10)||0),left:t.left+(parseInt(this.offsetParent.css(&quot;borderLeftWidth&quot;),10)||0)}},_getRelativeOffset:function(){if(this.cssPosition==&quot;relative&quot;){var e=this.currentItem.position();return{top:e.top-(parseInt(this.helper.css(&quot;top&quot;),10)||0)+this.scrollParent.scrollTop(),left:e.left-(parseInt(this.helper.css(&quot;left&quot;)
 ,10)||0)+this.scrollParent.scrollLeft()}}return{top:0,left:0}},_cacheMargins:function(){this.margins={left:parseInt(this.currentItem.css(&quot;marginLeft&quot;),10)||0,top:parseInt(this.currentItem.css(&quot;marginTop&quot;),10)||0}},_cacheHelperProportions:function(){this.helperProportions={width:this.helper.outerWidth(),height:this.helper.outerHeight()}},_setContainment:function(){var t=this.options;t.containment==&quot;parent&quot;&amp;&amp;(t.containment=this.helper[0].parentNode);if(t.containment==&quot;document&quot;||t.containment==&quot;window&quot;)this.containment=[0-this.offset.relative.left-this.offset.parent.left,0-this.offset.relative.top-this.offset.parent.top,e(t.containment==&quot;document&quot;?document:window).width()-this.helperProportions.width-this.margins.left,(e(t.containment==&quot;document&quot;?document:window).height()||document.body.parentNode.scrollHeight)-this.helperProportions.height-this.margins.top];if(!/^(document|window|parent)$/.test(t.co
 ntainment)){var n=e(t.containment)[0],r=e(t.containment).offset(),i=e(n).css(&quot;overflow&quot;)!=&quot;hidden&quot;;this.containment=[r.left+(parseInt(e(n).css(&quot;borderLeftWidth&quot;),10)||0)+(parseInt(e(n).css(&quot;paddingLeft&quot;),10)||0)-this.margins.left,r.top+(parseInt(e(n).css(&quot;borderTopWidth&quot;),10)||0)+(parseInt(e(n).css(&quot;paddingTop&quot;),10)||0)-this.margins.top,r.left+(i?Math.max(n.scrollWidth,n.offsetWidth):n.offsetWidth)-(parseInt(e(n).css(&quot;borderLeftWidth&quot;),10)||0)-(parseInt(e(n).css(&quot;paddingRight&quot;),10)||0)-this.helperProportions.width-this.margins.left,r.top+(i?Math.max(n.scrollHeight,n.offsetHeight):n.offsetHeight)-(parseInt(e(n).css(&quot;borderTopWidth&quot;),10)||0)-(parseInt(e(n).css(&quot;paddingBottom&quot;),10)||0)-this.helperProportions.height-this.margins.top]}},_convertPositionTo:function(t,n){n||(n=this.position);var r=t==&quot;absolute&quot;?1:-1,i=this.options,s=this.cssPosition!=&quot;absolute&quot;||t
 his.scrollParent[0]!=document&amp;&amp;!!e.contains(this.scrollParent[0],this.offsetParent[0])?this.scrollParent:this.offsetParent,o=/(html|body)/i.test(s[0].tagName);return{top:n.top+this.offset.relative.top*r+this.offset.parent.top*r-(this.cssPosition==&quot;fixed&quot;?-this.scrollParent.scrollTop():o?0:s.scrollTop())*r,left:n.left+this.offset.relative.left*r+this.offset.parent.left*r-(this.cssPosition==&quot;fixed&quot;?-this.scrollParent.scrollLeft():o?0:s.scrollLeft())*r}},_generatePosition:function(t){var n=this.options,r=this.cssPosition!=&quot;absolute&quot;||this.scrollParent[0]!=document&amp;&amp;!!e.contains(this.scrollParent[0],this.offsetParent[0])?this.scrollParent:this.offsetParent,i=/(html|body)/i.test(r[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 s=t.pageX,o=t.pageY;if(this.originalPosition){this.containm
 ent&amp;&amp;(t.pageX-this.offset.click.left&lt;this.containment[0]&amp;&amp;(s=this.containment[0]+this.offset.click.left),t.pageY-this.offset.click.top&lt;this.containment[1]&amp;&amp;(o=this.containment[1]+this.offset.click.top),t.pageX-this.offset.click.left&gt;this.containment[2]&amp;&amp;(s=this.containment[2]+this.offset.click.left),t.pageY-this.offset.click.top&gt;this.containment[3]&amp;&amp;(o=this.containment[3]+this.offset.click.top));if(n.grid){var u=this.originalPageY+Math.round((o-this.originalPageY)/n.grid[1])*n.grid[1];o=this.containment?u-this.offset.click.top&lt;this.containment[1]||u-this.offset.click.top&gt;this.containment[3]?u-this.offset.click.top&lt;this.containment[1]?u+n.grid[1]:u-n.grid[1]:u:u;var a=this.originalPageX+Math.round((s-this.originalPageX)/n.grid[0])*n.grid[0];s=this.containment?a-this.offset.click.left&lt;this.containment[0]||a-this.offset.click.left&gt;this.containment[2]?a-this.offset.click.left&lt;this.containment[0]?a+n.grid[0]:a-
 n.grid[0]:a:a}}return{top:o-this.offset.click.top-this.offset.relative.top-this.offset.parent.top+(this.cssPosition==&quot;fixed&quot;?-this.scrollParent.scrollTop():i?0:r.scrollTop()),left:s-this.offset.click.left-this.offset.relative.left-this.offset.parent.left+(this.cssPosition==&quot;fixed&quot;?-this.scrollParent.scrollLeft():i?0:r.scrollLeft())}},_rearrange:function(e,t,n,r){n?n[0].appendChild(this.placeholder[0]):t.item[0].parentNode.insertBefore(this.placeholder[0],this.direction==&quot;down&quot;?t.item[0]:t.item[0].nextSibling),this.counter=this.counter?++this.counter:1;var i=this.counter;this._delay(function(){i==this.counter&amp;&amp;this.refreshPositions(!r)})},_clear:function(t,n){this.reverting=!1;var r=[];!this._noFinalSort&amp;&amp;this.currentItem.parent().length&amp;&amp;this.placeholder.before(this.currentItem),this._noFinalSort=null;if(this.helper[0]==this.currentItem[0]){for(var i in this._storedCSS)if(this._storedCSS[i]==&quot;auto&quot;||this._stored
 CSS[i]==&quot;static&quot;)this._storedCSS[i]=&quot;&quot;;this.currentItem.css(this._storedCSS).removeClass(&quot;ui-sortable-helper&quot;)}else this.currentItem.show();this.fromOutside&amp;&amp;!n&amp;&amp;r.push(function(e){this._trigger(&quot;receive&quot;,e,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;!n&amp;&amp;r.push(function(e){this._trigger(&quot;update&quot;,e,this._uiHash())}),this!==this.currentContainer&amp;&amp;(n||(r.push(function(e){this._trigger(&quot;remove&quot;,e,this._uiHash())}),r.push(function(e){return function(t){e._trigger(&quot;receive&quot;,t,this._uiHash(this))}}.call(this,this.currentContainer)),r.push(function(e){return function(t){e._trigger(&quot;update&quot;,t,this._uiHash(this))}}.call(this,this.currentContainer))));for(var i=this.containers.length-1;i&gt;=0;i--)n||r.push(function(e
 ){return function(t){e._trigger(&quot;deactivate&quot;,t,this._uiHash(this))}}.call(this,this.containers[i])),this.containers[i].containerCache.over&amp;&amp;(r.push(function(e){return function(t){e._trigger(&quot;out&quot;,t,this._uiHash(this))}}.call(this,this.containers[i])),this.containers[i].containerCache.over=0);this._storedCursor&amp;&amp;e(&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(!n){this._trigger(&quot;beforeStop&quot;,t,this._uiHash());for(var i=0;i&lt;r.length;i++)r[i].call(this,t);this._trigger(&quot;stop&quot;,t,this._uiHash())}return this.fromOutside=!1,!1}n||this._trigger(&quot;beforeStop&quot;,t,this._uiHash()),this.placeholder[0].parentNode.removeChild(this.placeholder[0]),t
 his.helper[0]!=this.currentItem[0]&amp;&amp;this.helper.remove(),this.helper=null;if(!n){for(var i=0;i&lt;r.length;i++)r[i].call(this,t);this._trigger(&quot;stop&quot;,t,this._uiHash())}return this.fromOutside=!1,!0},_trigger:function(){e.Widget.prototype._trigger.apply(this,arguments)===!1&amp;&amp;this.cancel()},_uiHash:function(t){var n=t||this;return{helper:n.helper,placeholder:n.placeholder||e([]),position:n.position,originalPosition:n.originalPosition,offset:n.positionAbs,item:n.currentItem,sender:t?t.element:null}}})})(jQuery);
</del><span class="cx">\ No newline at end of file
</span><ins>+(function(e,t){e.widget(&quot;ui.sortable&quot;,e.ui.mouse,{version:&quot;1.9.0&quot;,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 e=this.options;this.containerCache={},this.element.addClass(&quot;ui-sortable&quot;),this.refresh(),this.floating=this.items.length?e.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(){this.element.removeClass(&quot;ui-sortable ui-sortable
 -disabled&quot;),this._mouseDestroy();for(var e=this.items.length-1;e&gt;=0;e--)this.items[e].item.removeData(this.widgetName+&quot;-item&quot;);return this},_setOption:function(t,n){t===&quot;disabled&quot;?(this.options[t]=n,this.widget().toggleClass(&quot;ui-sortable-disabled&quot;,!!n)):e.Widget.prototype._setOption.apply(this,arguments)},_mouseCapture:function(t,n){var r=this;if(this.reverting)return!1;if(this.options.disabled||this.options.type==&quot;static&quot;)return!1;this._refreshItems(t);var i=null,s=e(t.target).parents().each(function(){if(e.data(this,r.widgetName+&quot;-item&quot;)==r)return i=e(this),!1});e.data(t.target,r.widgetName+&quot;-item&quot;)==r&amp;&amp;(i=e(t.target));if(!i)return!1;if(this.options.handle&amp;&amp;!n){var o=!1;e(this.options.handle,i).find(&quot;*&quot;).andSelf().each(function(){this==t.target&amp;&amp;(o=!0)});if(!o)return!1}return this.currentItem=i,this._removeCurrentsFromItems(),!0},_mouseStart:function(t,n,r){var i=this.opti
 ons;this.currentContainer=this,this.refreshPositions(),this.helper=this._createHelper(t),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},e.extend(this.offset,{click:{left:t.pageX-this.offset.left,top:t.pageY-this.offset.top},parent:this._getParentOffset(),relative:this._getRelativeOffset()}),this.helper.css(&quot;position&quot;,&quot;absolute&quot;),this.cssPosition=this.helper.css(&quot;position&quot;),this.originalPosition=this._generatePosition(t),this.originalPageX=t.pageX,this.originalPageY=t.pageY,i.cursorAt&amp;&amp;this._adjustOffsetFromHelper(i.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(),i.containment&amp;&amp;this._setContainment(),i.cursor&amp;
 &amp;(e(&quot;body&quot;).css(&quot;cursor&quot;)&amp;&amp;(this._storedCursor=e(&quot;body&quot;).css(&quot;cursor&quot;)),e(&quot;body&quot;).css(&quot;cursor&quot;,i.cursor)),i.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;,i.opacity)),i.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;,i.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;,t,this._uiHash()),this._preserveHelperProportions||this._cacheHelperProportions();if(!r)for(var s=this.containers.length-1;s&gt;=0;s--)this.containers[s]._trigger(&quot;activate&quot;,t,this._uiHash(this));return e.ui.ddmanager&amp;&amp;(e.ui.ddmanager.current=this),e.ui.ddmanager&amp;&amp;!i.
 dropBehaviour&amp;&amp;e.ui.ddmanager.prepareOffsets(this,t),this.dragging=!0,this.helper.addClass(&quot;ui-sortable-helper&quot;),this._mouseDrag(t),!0},_mouseDrag:function(t){this.position=this._generatePosition(t),this.positionAbs=this._convertPositionTo(&quot;absolute&quot;),this.lastPositionAbs||(this.lastPositionAbs=this.positionAbs);if(this.options.scroll){var n=this.options,r=!1;this.scrollParent[0]!=document&amp;&amp;this.scrollParent[0].tagName!=&quot;HTML&quot;?(this.overflowOffset.top+this.scrollParent[0].offsetHeight-t.pageY&lt;n.scrollSensitivity?this.scrollParent[0].scrollTop=r=this.scrollParent[0].scrollTop+n.scrollSpeed:t.pageY-this.overflowOffset.top&lt;n.scrollSensitivity&amp;&amp;(this.scrollParent[0].scrollTop=r=this.scrollParent[0].scrollTop-n.scrollSpeed),this.overflowOffset.left+this.scrollParent[0].offsetWidth-t.pageX&lt;n.scrollSensitivity?this.scrollParent[0].scrollLeft=r=this.scrollParent[0].scrollLeft+n.scrollSpeed:t.pageX-this.overflowOffset.lef
 t&lt;n.scrollSensitivity&amp;&amp;(this.scrollParent[0].scrollLeft=r=this.scrollParent[0].scrollLeft-n.scrollSpeed)):(t.pageY-e(document).scrollTop()&lt;n.scrollSensitivity?r=e(document).scrollTop(e(document).scrollTop()-n.scrollSpeed):e(window).height()-(t.pageY-e(document).scrollTop())&lt;n.scrollSensitivity&amp;&amp;(r=e(document).scrollTop(e(document).scrollTop()+n.scrollSpeed)),t.pageX-e(document).scrollLeft()&lt;n.scrollSensitivity?r=e(document).scrollLeft(e(document).scrollLeft()-n.scrollSpeed):e(window).width()-(t.pageX-e(document).scrollLeft())&lt;n.scrollSensitivity&amp;&amp;(r=e(document).scrollLeft(e(document).scrollLeft()+n.scrollSpeed))),r!==!1&amp;&amp;e.ui.ddmanager&amp;&amp;!n.dropBehaviour&amp;&amp;e.ui.ddmanager.prepareOffsets(this,t)}this.positionAbs=this._convertPositionTo(&quot;absolute&quot;);if(!this.options.axis||this.options.axis!=&quot;y&quot;)this.helper[0].style.left=this.position.left+&quot;px&quot;;if(!this.options.axis||this.options.axis!=&quo
 t;x&quot;)this.helper[0].style.top=this.position.top+&quot;px&quot;;for(var i=this.items.length-1;i&gt;=0;i--){var s=this.items[i],o=s.item[0],u=this._intersectsWithPointer(s);if(!u)continue;if(s.instance!==this.currentContainer)continue;if(o!=this.currentItem[0]&amp;&amp;this.placeholder[u==1?&quot;next&quot;:&quot;prev&quot;]()[0]!=o&amp;&amp;!e.contains(this.placeholder[0],o)&amp;&amp;(this.options.type==&quot;semi-dynamic&quot;?!e.contains(this.element[0],o):!0)){this.direction=u==1?&quot;down&quot;:&quot;up&quot;;if(this.options.tolerance!=&quot;pointer&quot;&amp;&amp;!this._intersectsWithSides(s))break;this._rearrange(t,s),this._trigger(&quot;change&quot;,t,this._uiHash());break}}return this._contactContainers(t),e.ui.ddmanager&amp;&amp;e.ui.ddmanager.drag(this,t),this._trigger(&quot;sort&quot;,t,this._uiHash()),this.lastPositionAbs=this.positionAbs,!1},_mouseStop:function(t,n){if(!t)return;e.ui.ddmanager&amp;&amp;!this.options.dropBehaviour&amp;&amp;e.ui.ddmanager.dro
 p(this,t);if(this.options.revert){var r=this,i=this.placeholder.offset();this.reverting=!0,e(this.helper).animate({left:i.left-this.offset.parent.left-this.margins.left+(this.offsetParent[0]==document.body?0:this.offsetParent[0].scrollLeft),top:i.top-this.offset.parent.top-this.margins.top+(this.offsetParent[0]==document.body?0:this.offsetParent[0].scrollTop)},parseInt(this.options.revert,10)||500,function(){r._clear(t)})}else this._clear(t,n);return!1},cancel:function(){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 t=this.containers.length-1;t&gt;=0;t--)this.containers[t]._trigger(&quot;deactivate&quot;,null,this._uiHash(this)),this.containers[t].containerCache.over&amp;&amp;(this.containers[t]._trigger(&quot;out&quot;,null,this._uiHash(this)),this.containers[t].containerCache.over=0)}return this.placeholder&amp;&amp;(t
 his.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(),e.extend(this,{helper:null,dragging:!1,reverting:!1,_noFinalSort:null}),this.domPosition.prev?e(this.domPosition.prev).after(this.currentItem):e(this.domPosition.parent).prepend(this.currentItem)),this},serialize:function(t){var n=this._getItemsAsjQuery(t&amp;&amp;t.connected),r=[];return t=t||{},e(n).each(function(){var n=(e(t.item||this).attr(t.attribute||&quot;id&quot;)||&quot;&quot;).match(t.expression||/(.+)[-=_](.+)/);n&amp;&amp;r.push((t.key||n[1]+&quot;[]&quot;)+&quot;=&quot;+(t.key&amp;&amp;t.expression?n[1]:n[2]))}),!r.length&amp;&amp;t.key&amp;&amp;r.push(t.key+&quot;=&quot;),r.join(&quot;&amp;&quot;)},toArray:function(t){var n=this._getItemsAsjQuery(t&amp;&amp;t.connected),r=[];return t=t||{},n.each(function(){r.push(e(t.item||this).att
 r(t.attribute||&quot;id&quot;)||&quot;&quot;)}),r},_intersectsWith:function(e){var t=this.positionAbs.left,n=t+this.helperProportions.width,r=this.positionAbs.top,i=r+this.helperProportions.height,s=e.left,o=s+e.width,u=e.top,a=u+e.height,f=this.offset.click.top,l=this.offset.click.left,c=r+f&gt;u&amp;&amp;r+f&lt;a&amp;&amp;t+l&gt;s&amp;&amp;t+l&lt;o;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;e[this.floating?&quot;width&quot;:&quot;height&quot;]?c:s&lt;t+this.helperProportions.width/2&amp;&amp;n-this.helperProportions.width/2&lt;o&amp;&amp;u&lt;r+this.helperProportions.height/2&amp;&amp;i-this.helperProportions.height/2&lt;a},_intersectsWithPointer:function(t){var n=this.options.axis===&quot;x&quot;||e.ui.isOverAxis(this.positionAbs.top+this.offset.click.top,t.top,t.height),r=this.options.axis===&q
 uot;y&quot;||e.ui.isOverAxis(this.positionAbs.left+this.offset.click.left,t.left,t.width),i=n&amp;&amp;r,s=this._getDragVerticalDirection(),o=this._getDragHorizontalDirection();return i?this.floating?o&amp;&amp;o==&quot;right&quot;||s==&quot;down&quot;?2:1:s&amp;&amp;(s==&quot;down&quot;?2:1):!1},_intersectsWithSides:function(t){var n=e.ui.isOverAxis(this.positionAbs.top+this.offset.click.top,t.top+t.height/2,t.height),r=e.ui.isOverAxis(this.positionAbs.left+this.offset.click.left,t.left+t.width/2,t.width),i=this._getDragVerticalDirection(),s=this._getDragHorizontalDirection();return this.floating&amp;&amp;s?s==&quot;right&quot;&amp;&amp;r||s==&quot;left&quot;&amp;&amp;!r:i&amp;&amp;(i==&quot;down&quot;&amp;&amp;n||i==&quot;up&quot;&amp;&amp;!n)},_getDragVerticalDirection:function(){var e=this.positionAbs.top-this.lastPositionAbs.top;return e!=0&amp;&amp;(e&gt;0?&quot;down&quot;:&quot;up&quot;)},_getDragHorizontalDirection:function(){var e=this.positionAbs.left-this.lastPosi
 tionAbs.left;return e!=0&amp;&amp;(e&gt;0?&quot;right&quot;:&quot;left&quot;)},refresh:function(e){return this._refreshItems(e),this.refreshPositions(),this},_connectWith:function(){var e=this.options;return e.connectWith.constructor==String?[e.connectWith]:e.connectWith},_getItemsAsjQuery:function(t){var n=[],r=[],i=this._connectWith();if(i&amp;&amp;t)for(var s=i.length-1;s&gt;=0;s--){var o=e(i[s]);for(var u=o.length-1;u&gt;=0;u--){var a=e.data(o[u],this.widgetName);a&amp;&amp;a!=this&amp;&amp;!a.options.disabled&amp;&amp;r.push([e.isFunction(a.options.items)?a.options.items.call(a.element):e(a.options.items,a.element).not(&quot;.ui-sortable-helper&quot;).not(&quot;.ui-sortable-placeholder&quot;),a])}}r.push([e.isFunction(this.options.items)?this.options.items.call(this.element,null,{options:this.options,item:this.currentItem}):e(this.options.items,this.element).not(&quot;.ui-sortable-helper&quot;).not(&quot;.ui-sortable-placeholder&quot;),this]);for(var s=r.length-1;s&gt;=
 0;s--)r[s][0].each(function(){n.push(this)});return e(n)},_removeCurrentsFromItems:function(){var e=this.currentItem.find(&quot;:data(&quot;+this.widgetName+&quot;-item)&quot;);for(var t=0;t&lt;this.items.length;t++)for(var n=0;n&lt;e.length;n++)e[n]==this.items[t].item[0]&amp;&amp;this.items.splice(t,1)},_refreshItems:function(t){this.items=[],this.containers=[this];var n=this.items,r=[[e.isFunction(this.options.items)?this.options.items.call(this.element[0],t,{item:this.currentItem}):e(this.options.items,this.element),this]],i=this._connectWith();if(i&amp;&amp;this.ready)for(var s=i.length-1;s&gt;=0;s--){var o=e(i[s]);for(var u=o.length-1;u&gt;=0;u--){var a=e.data(o[u],this.widgetName);a&amp;&amp;a!=this&amp;&amp;!a.options.disabled&amp;&amp;(r.push([e.isFunction(a.options.items)?a.options.items.call(a.element[0],t,{item:this.currentItem}):e(a.options.items,a.element),a]),this.containers.push(a))}}for(var s=r.length-1;s&gt;=0;s--){var f=r[s][1],l=r[s][0];for(var u=0,c=l.le
 ngth;u&lt;c;u++){var h=e(l[u]);h.data(this.widgetName+&quot;-item&quot;,f),n.push({item:h,instance:f,width:0,height:0,left:0,top:0})}}},refreshPositions:function(t){this.offsetParent&amp;&amp;this.helper&amp;&amp;(this.offset.parent=this._getParentOffset());for(var n=this.items.length-1;n&gt;=0;n--){var r=this.items[n];if(r.instance!=this.currentContainer&amp;&amp;this.currentContainer&amp;&amp;r.item[0]!=this.currentItem[0])continue;var i=this.options.toleranceElement?e(this.options.toleranceElement,r.item):r.item;t||(r.width=i.outerWidth(),r.height=i.outerHeight());var s=i.offset();r.left=s.left,r.top=s.top}if(this.options.custom&amp;&amp;this.options.custom.refreshContainers)this.options.custom.refreshContainers.call(this);else for(var n=this.containers.length-1;n&gt;=0;n--){var s=this.containers[n].element.offset();this.containers[n].containerCache.left=s.left,this.containers[n].containerCache.top=s.top,this.containers[n].containerCache.width=this.containers[n].element.o
 uterWidth(),this.containers[n].containerCache.height=this.containers[n].element.outerHeight()}return this},_createPlaceholder:function(t){t=t||this;var n=t.options;if(!n.placeholder||n.placeholder.constructor==String){var r=n.placeholder;n.placeholder={element:function(){var n=e(document.createElement(t.currentItem[0].nodeName)).addClass(r||t.currentItem[0].className+&quot; ui-sortable-placeholder&quot;).removeClass(&quot;ui-sortable-helper&quot;)[0];return r||(n.style.visibility=&quot;hidden&quot;),n},update:function(e,i){if(r&amp;&amp;!n.forcePlaceholderSize)return;i.height()||i.height(t.currentItem.innerHeight()-parseInt(t.currentItem.css(&quot;paddingTop&quot;)||0,10)-parseInt(t.currentItem.css(&quot;paddingBottom&quot;)||0,10)),i.width()||i.width(t.currentItem.innerWidth()-parseInt(t.currentItem.css(&quot;paddingLeft&quot;)||0,10)-parseInt(t.currentItem.css(&quot;paddingRight&quot;)||0,10))}}}t.placeholder=e(n.placeholder.element.call(t.element,t.currentItem)),t.current
 Item.after(t.placeholder),n.placeholder.update(t,t.placeholder)},_contactContainers:function(t){var n=null,r=null;for(var i=this.containers.length-1;i&gt;=0;i--){if(e.contains(this.currentItem[0],this.containers[i].element[0]))continue;if(this._intersectsWith(this.containers[i].containerCache)){if(n&amp;&amp;e.contains(this.containers[i].element[0],n.element[0]))continue;n=this.containers[i],r=i}else this.containers[i].containerCache.over&amp;&amp;(this.containers[i]._trigger(&quot;out&quot;,t,this._uiHash(this)),this.containers[i].containerCache.over=0)}if(!n)return;if(this.containers.length===1)this.containers[r]._trigger(&quot;over&quot;,t,this._uiHash(this)),this.containers[r].containerCache.over=1;else if(this.currentContainer!=this.containers[r]){var s=1e4,o=null,u=this.positionAbs[this.containers[r].floating?&quot;left&quot;:&quot;top&quot;];for(var a=this.items.length-1;a&gt;=0;a--){if(!e.contains(this.containers[r].element[0],this.items[a].item[0]))continue;var f=th
 is.containers[r].floating?this.items[a].item.offset().left:this.items[a].item.offset().top;Math.abs(f-u)&lt;s&amp;&amp;(s=Math.abs(f-u),o=this.items[a],this.direction=f-u&gt;0?&quot;down&quot;:&quot;up&quot;)}if(!o&amp;&amp;!this.options.dropOnEmpty)return;this.currentContainer=this.containers[r],o?this._rearrange(t,o,null,!0):this._rearrange(t,null,this.containers[r].element,!0),this._trigger(&quot;change&quot;,t,this._uiHash()),this.containers[r]._trigger(&quot;change&quot;,t,this._uiHash(this)),this.options.placeholder.update(this.currentContainer,this.placeholder),this.containers[r]._trigger(&quot;over&quot;,t,this._uiHash(this)),this.containers[r].containerCache.over=1}},_createHelper:function(t){var n=this.options,r=e.isFunction(n.helper)?e(n.helper.apply(this.element[0],[t,this.currentItem])):n.helper==&quot;clone&quot;?this.currentItem.clone():this.currentItem;return r.parents(&quot;body&quot;).length||e(n.appendTo!=&quot;parent&quot;?n.appendTo:this.currentItem[0].p
 arentNode)[0].appendChild(r[0]),r[0]==this.currentItem[0]&amp;&amp;(this._storedCSS={width:this.currentItem[0].style.width,height:this.currentItem[0].style.height,position:this.currentItem.css(&quot;position&quot;),top:this.currentItem.css(&quot;top&quot;),left:this.currentItem.css(&quot;left&quot;)}),(r[0].style.width==&quot;&quot;||n.forceHelperSize)&amp;&amp;r.width(this.currentItem.width()),(r[0].style.height==&quot;&quot;||n.forceHelperSize)&amp;&amp;r.height(this.currentItem.height()),r},_adjustOffsetFromHelper:function(t){typeof t==&quot;string&quot;&amp;&amp;(t=t.split(&quot; &quot;)),e.isArray(t)&amp;&amp;(t={left:+t[0],top:+t[1]||0}),&quot;left&quot;in t&amp;&amp;(this.offset.click.left=t.left+this.margins.left),&quot;right&quot;in t&amp;&amp;(this.offset.click.left=this.helperProportions.width-t.right+this.margins.left),&quot;top&quot;in t&amp;&amp;(this.offset.click.top=t.top+this.margins.top),&quot;bottom&quot;in t&amp;&amp;(this.offset.click.top=this.helperProp
 ortions.height-t.bottom+this.margins.top)},_getParentOffset:function(){this.offsetParent=this.helper.offsetParent();var t=this.offsetParent.offset();this.cssPosition==&quot;absolute&quot;&amp;&amp;this.scrollParent[0]!=document&amp;&amp;e.contains(this.scrollParent[0],this.offsetParent[0])&amp;&amp;(t.left+=this.scrollParent.scrollLeft(),t.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;e.browser.msie)t={top:0,left:0};return{top:t.top+(parseInt(this.offsetParent.css(&quot;borderTopWidth&quot;),10)||0),left:t.left+(parseInt(this.offsetParent.css(&quot;borderLeftWidth&quot;),10)||0)}},_getRelativeOffset:function(){if(this.cssPosition==&quot;relative&quot;){var e=this.currentItem.position();return{top:e.top-(parseInt(this.helper.css(&quot;top&quot;),10)||0)+this.scrollParent.scrollTop(),left:e.left-(parseInt(this.helper.css(&quot;left&quot;),10
 )||0)+this.scrollParent.scrollLeft()}}return{top:0,left:0}},_cacheMargins:function(){this.margins={left:parseInt(this.currentItem.css(&quot;marginLeft&quot;),10)||0,top:parseInt(this.currentItem.css(&quot;marginTop&quot;),10)||0}},_cacheHelperProportions:function(){this.helperProportions={width:this.helper.outerWidth(),height:this.helper.outerHeight()}},_setContainment:function(){var t=this.options;t.containment==&quot;parent&quot;&amp;&amp;(t.containment=this.helper[0].parentNode);if(t.containment==&quot;document&quot;||t.containment==&quot;window&quot;)this.containment=[0-this.offset.relative.left-this.offset.parent.left,0-this.offset.relative.top-this.offset.parent.top,e(t.containment==&quot;document&quot;?document:window).width()-this.helperProportions.width-this.margins.left,(e(t.containment==&quot;document&quot;?document:window).height()||document.body.parentNode.scrollHeight)-this.helperProportions.height-this.margins.top];if(!/^(document|window|parent)$/.test(t.conta
 inment)){var n=e(t.containment)[0],r=e(t.containment).offset(),i=e(n).css(&quot;overflow&quot;)!=&quot;hidden&quot;;this.containment=[r.left+(parseInt(e(n).css(&quot;borderLeftWidth&quot;),10)||0)+(parseInt(e(n).css(&quot;paddingLeft&quot;),10)||0)-this.margins.left,r.top+(parseInt(e(n).css(&quot;borderTopWidth&quot;),10)||0)+(parseInt(e(n).css(&quot;paddingTop&quot;),10)||0)-this.margins.top,r.left+(i?Math.max(n.scrollWidth,n.offsetWidth):n.offsetWidth)-(parseInt(e(n).css(&quot;borderLeftWidth&quot;),10)||0)-(parseInt(e(n).css(&quot;paddingRight&quot;),10)||0)-this.helperProportions.width-this.margins.left,r.top+(i?Math.max(n.scrollHeight,n.offsetHeight):n.offsetHeight)-(parseInt(e(n).css(&quot;borderTopWidth&quot;),10)||0)-(parseInt(e(n).css(&quot;paddingBottom&quot;),10)||0)-this.helperProportions.height-this.margins.top]}},_convertPositionTo:function(t,n){n||(n=this.position);var r=t==&quot;absolute&quot;?1:-1,i=this.options,s=this.cssPosition!=&quot;absolute&quot;||this
 .scrollParent[0]!=document&amp;&amp;!!e.contains(this.scrollParent[0],this.offsetParent[0])?this.scrollParent:this.offsetParent,o=/(html|body)/i.test(s[0].tagName);return{top:n.top+this.offset.relative.top*r+this.offset.parent.top*r-(this.cssPosition==&quot;fixed&quot;?-this.scrollParent.scrollTop():o?0:s.scrollTop())*r,left:n.left+this.offset.relative.left*r+this.offset.parent.left*r-(this.cssPosition==&quot;fixed&quot;?-this.scrollParent.scrollLeft():o?0:s.scrollLeft())*r}},_generatePosition:function(t){var n=this.options,r=this.cssPosition!=&quot;absolute&quot;||this.scrollParent[0]!=document&amp;&amp;!!e.contains(this.scrollParent[0],this.offsetParent[0])?this.scrollParent:this.offsetParent,i=/(html|body)/i.test(r[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 s=t.pageX,o=t.pageY;if(this.originalPosition){this.containment
 &amp;&amp;(t.pageX-this.offset.click.left&lt;this.containment[0]&amp;&amp;(s=this.containment[0]+this.offset.click.left),t.pageY-this.offset.click.top&lt;this.containment[1]&amp;&amp;(o=this.containment[1]+this.offset.click.top),t.pageX-this.offset.click.left&gt;this.containment[2]&amp;&amp;(s=this.containment[2]+this.offset.click.left),t.pageY-this.offset.click.top&gt;this.containment[3]&amp;&amp;(o=this.containment[3]+this.offset.click.top));if(n.grid){var u=this.originalPageY+Math.round((o-this.originalPageY)/n.grid[1])*n.grid[1];o=this.containment?u-this.offset.click.top&lt;this.containment[1]||u-this.offset.click.top&gt;this.containment[3]?u-this.offset.click.top&lt;this.containment[1]?u+n.grid[1]:u-n.grid[1]:u:u;var a=this.originalPageX+Math.round((s-this.originalPageX)/n.grid[0])*n.grid[0];s=this.containment?a-this.offset.click.left&lt;this.containment[0]||a-this.offset.click.left&gt;this.containment[2]?a-this.offset.click.left&lt;this.containment[0]?a+n.grid[0]:a-n.g
 rid[0]:a:a}}return{top:o-this.offset.click.top-this.offset.relative.top-this.offset.parent.top+(this.cssPosition==&quot;fixed&quot;?-this.scrollParent.scrollTop():i?0:r.scrollTop()),left:s-this.offset.click.left-this.offset.relative.left-this.offset.parent.left+(this.cssPosition==&quot;fixed&quot;?-this.scrollParent.scrollLeft():i?0:r.scrollLeft())}},_rearrange:function(e,t,n,r){n?n[0].appendChild(this.placeholder[0]):t.item[0].parentNode.insertBefore(this.placeholder[0],this.direction==&quot;down&quot;?t.item[0]:t.item[0].nextSibling),this.counter=this.counter?++this.counter:1;var i=this.counter;this._delay(function(){i==this.counter&amp;&amp;this.refreshPositions(!r)})},_clear:function(t,n){this.reverting=!1;var r=[];!this._noFinalSort&amp;&amp;this.currentItem.parent().length&amp;&amp;this.placeholder.before(this.currentItem),this._noFinalSort=null;if(this.helper[0]==this.currentItem[0]){for(var i in this._storedCSS)if(this._storedCSS[i]==&quot;auto&quot;||this._storedCSS
 [i]==&quot;static&quot;)this._storedCSS[i]=&quot;&quot;;this.currentItem.css(this._storedCSS).removeClass(&quot;ui-sortable-helper&quot;)}else this.currentItem.show();this.fromOutside&amp;&amp;!n&amp;&amp;r.push(function(e){this._trigger(&quot;receive&quot;,e,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;!n&amp;&amp;r.push(function(e){this._trigger(&quot;update&quot;,e,this._uiHash())}),this!==this.currentContainer&amp;&amp;(n||(r.push(function(e){this._trigger(&quot;remove&quot;,e,this._uiHash())}),r.push(function(e){return function(t){e._trigger(&quot;receive&quot;,t,this._uiHash(this))}}.call(this,this.currentContainer)),r.push(function(e){return function(t){e._trigger(&quot;update&quot;,t,this._uiHash(this))}}.call(this,this.currentContainer))));for(var i=this.containers.length-1;i&gt;=0;i--)n||r.push(function(e){r
 eturn function(t){e._trigger(&quot;deactivate&quot;,t,this._uiHash(this))}}.call(this,this.containers[i])),this.containers[i].containerCache.over&amp;&amp;(r.push(function(e){return function(t){e._trigger(&quot;out&quot;,t,this._uiHash(this))}}.call(this,this.containers[i])),this.containers[i].containerCache.over=0);this._storedCursor&amp;&amp;e(&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(!n){this._trigger(&quot;beforeStop&quot;,t,this._uiHash());for(var i=0;i&lt;r.length;i++)r[i].call(this,t);this._trigger(&quot;stop&quot;,t,this._uiHash())}return this.fromOutside=!1,!1}n||this._trigger(&quot;beforeStop&quot;,t,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(!n){for(var i=0;i&lt;r.length;i++)r[i].call(this,t);this._trigger(&quot;stop&quot;,t,this._uiHash())}return this.fromOutside=!1,!0},_trigger:function(){e.Widget.prototype._trigger.apply(this,arguments)===!1&amp;&amp;this.cancel()},_uiHash:function(t){var n=t||this;return{helper:n.helper,placeholder:n.placeholder||e([]),position:n.position,originalPosition:n.originalPosition,offset:n.positionAbs,item:n.currentItem,sender:t?t.element:null}}})})(jQuery);
</ins><span class="cx">\ No newline at end of file
</span></span></pre></div>
<a id="trunkwpincludesjsjqueryuijqueryuispinnerminjs"></a>
<div class="modfile"><h4>Modified: trunk/wp-includes/js/jquery/ui/jquery.ui.spinner.min.js (22181 => 22182)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-includes/js/jquery/ui/jquery.ui.spinner.min.js        2012-10-11 03:29:02 UTC (rev 22181)
+++ trunk/wp-includes/js/jquery/ui/jquery.ui.spinner.min.js        2012-10-11 03:34:19 UTC (rev 22182)
</span><span class="lines">@@ -1,5 +1,5 @@
</span><del>-/*! jQuery UI - v1.9.0pre - 2012-08-29
</del><ins>+/*! jQuery UI - v1.9.0 - 2012-10-05
</ins><span class="cx"> * http://jqueryui.com
</span><span class="cx"> * Includes: jquery.ui.spinner.js
</span><span class="cx"> * Copyright 2012 jQuery Foundation and other contributors; Licensed MIT */
</span><del>-(function(e){function t(e){return function(){var t=this.element.val();e.apply(this,arguments),this._refresh(),t!==this.element.val()&amp;&amp;this._trigger(&quot;change&quot;)}}e.widget(&quot;ui.spinner&quot;,{version:&quot;@VERSION&quot;,defaultElement:&quot;&lt;input&gt;&quot;,widgetEventPrefix:&quot;spin&quot;,options:{culture:null,icons:{down:&quot;ui-icon-triangle-1-s&quot;,up:&quot;ui-icon-triangle-1-n&quot;},incremental:!0,max:null,min:null,numberFormat:null,page:10,step:1,change:null,spin:null,start:null,stop:null},_create:function(){this._setOption(&quot;max&quot;,this.options.max),this._setOption(&quot;min&quot;,this.options.min),this._setOption(&quot;step&quot;,this.options.step),this._value(this.element.val(),!0),this._draw(),this._on(this._events),this._refresh(),this._on(this.window,{beforeunload:function(){this.element.removeAttr(&quot;autocomplete&quot;)}})},_getCreateOptions:function(){var t={},n=this.element;return e.each([&quot;min&quot;,&quot;
 max&quot;,&quot;step&quot;],function(e,r){var i=n.attr(r);i!==undefined&amp;&amp;i.length&amp;&amp;(t[r]=i)}),t},_events:{keydown:function(e){this._start(e)&amp;&amp;this._keydown(e)&amp;&amp;e.preventDefault()},keyup:&quot;_stop&quot;,focus:function(){this.uiSpinner.addClass(&quot;ui-state-active&quot;),this.previous=this.element.val()},blur:function(e){if(this.cancelBlur){delete this.cancelBlur;return}this._refresh(),this.uiSpinner.removeClass(&quot;ui-state-active&quot;),this.previous!==this.element.val()&amp;&amp;this._trigger(&quot;change&quot;,e)},mousewheel:function(e,t){if(!t)return;if(!this.spinning&amp;&amp;!this._start(e))return!1;this._spin((t&gt;0?1:-1)*this.options.step,e),clearTimeout(this.mousewheelTimer),this.mousewheelTimer=this._delay(function(){this.spinning&amp;&amp;this._stop(e)},100),e.preventDefault()},&quot;mousedown .ui-spinner-button&quot;:function(t){function r(){var e=this.element[0]===this.document[0].activeElement;e||(this.element.focus(),this.
 previous=n,this._delay(function(){this.previous=n}))}var n;n=this.element[0]===this.document[0].activeElement?this.previous:this.element.val(),t.preventDefault(),r.call(this),this.cancelBlur=!0,this._delay(function(){delete this.cancelBlur,r.call(this)});if(this._start(t)===!1)return;this._repeat(null,e(t.currentTarget).hasClass(&quot;ui-spinner-up&quot;)?1:-1,t)},&quot;mouseup .ui-spinner-button&quot;:&quot;_stop&quot;,&quot;mouseenter .ui-spinner-button&quot;:function(t){if(!e(t.currentTarget).hasClass(&quot;ui-state-active&quot;))return;if(this._start(t)===!1)return!1;this._repeat(null,e(t.currentTarget).hasClass(&quot;ui-spinner-up&quot;)?1:-1,t)},&quot;mouseleave .ui-spinner-button&quot;:&quot;_stop&quot;},_draw:function(){var e=this.uiSpinner=this.element.addClass(&quot;ui-spinner-input&quot;).attr(&quot;autocomplete&quot;,&quot;off&quot;).wrap(this._uiSpinnerHtml()).parent().append(this._buttonHtml());this._hoverable(e),this.element.attr(&quot;role&quot;,&quot;spinbut
 ton&quot;),this.buttons=e.find(&quot;.ui-spinner-button&quot;).attr(&quot;tabIndex&quot;,-1).button().removeClass(&quot;ui-corner-all&quot;),this.buttons.height()&gt;Math.ceil(e.height()*.5)&amp;&amp;e.height()&gt;0&amp;&amp;e.height(e.height()),this.options.disabled&amp;&amp;this.disable()},_keydown:function(t){var n=this.options,r=e.ui.keyCode;switch(t.keyCode){case r.UP:return this._repeat(null,1,t),!0;case r.DOWN:return this._repeat(null,-1,t),!0;case r.PAGE_UP:return this._repeat(null,n.page,t),!0;case r.PAGE_DOWN:return this._repeat(null,-n.page,t),!0}return!1},_uiSpinnerHtml:function(){return&quot;&lt;span class='ui-spinner ui-state-default ui-widget ui-widget-content ui-corner-all'&gt;&lt;/span&gt;&quot;},_buttonHtml:function(){return&quot;&lt;a class='ui-spinner-button ui-spinner-up ui-corner-tr'&gt;&lt;span class='ui-icon &quot;+this.options.icons.up+&quot;'&gt;&amp;#9650;&lt;/span&gt;&quot;+&quot;&lt;/a&gt;&quot;+&quot;&lt;a class='ui-spinner-button ui-spinner-dow
 n ui-corner-br'&gt;&quot;+&quot;&lt;span class='ui-icon &quot;+this.options.icons.down+&quot;'&gt;&amp;#9660;&lt;/span&gt;&quot;+&quot;&lt;/a&gt;&quot;},_start:function(e){return!this.spinning&amp;&amp;this._trigger(&quot;start&quot;,e)===!1?!1:(this.counter||(this.counter=1),this.spinning=!0,!0)},_repeat:function(e,t,n){e=e||500,clearTimeout(this.timer),this.timer=this._delay(function(){this._repeat(40,t,n)},e),this._spin(t*this.options.step,n)},_spin:function(e,t){var n=this.value()||0;this.counter||(this.counter=1),n=this._adjustValue(n+e*this._increment(this.counter));if(!this.spinning||this._trigger(&quot;spin&quot;,t,{value:n})!==!1)this._value(n),this.counter++},_increment:function(t){var n=this.options.incremental;return n?e.isFunction(n)?n(t):Math.floor(t*t*t/5e4-t*t/500+17*t/200+1):1},_precision:function(){var e=this._precisionOf(this.options.step);return this.options.min!==null&amp;&amp;(e=Math.max(e,this._precisionOf(this.options.min))),e},_precisionOf:function(e
 ){var t=e.toString(),n=t.indexOf(&quot;.&quot;);return n===-1?0:t.length-n-1},_adjustValue:function(e){var t,n,r=this.options;return t=r.min!==null?r.min:0,n=e-t,n=Math.round(n/r.step)*r.step,e=t+n,e=parseFloat(e.toFixed(this._precision())),r.max!==null&amp;&amp;e&gt;r.max?r.max:r.min!==null&amp;&amp;e&lt;r.min?r.min:e},_stop:function(e){if(!this.spinning)return;clearTimeout(this.timer),clearTimeout(this.mousewheelTimer),this.counter=0,this.spinning=!1,this._trigger(&quot;stop&quot;,e)},_setOption:function(e,t){if(e===&quot;culture&quot;||e===&quot;numberFormat&quot;){var n=this._parse(this.element.val());this.options[e]=t,this.element.val(this._format(n));return}(e===&quot;max&quot;||e===&quot;min&quot;||e===&quot;step&quot;)&amp;&amp;typeof t==&quot;string&quot;&amp;&amp;(t=this._parse(t)),this._super(e,t),e===&quot;disabled&quot;&amp;&amp;(t?(this.element.prop(&quot;disabled&quot;,!0),this.buttons.button(&quot;disable&quot;)):(this.element.prop(&quot;disabled&quot;,!1),th
 is.buttons.button(&quot;enable&quot;)))},_setOptions:t(function(e){this._super(e),this._value(this.element.val())}),_parse:function(e){return typeof e==&quot;string&quot;&amp;&amp;e!==&quot;&quot;&amp;&amp;(e=window.Globalize&amp;&amp;this.options.numberFormat?Globalize.parseFloat(e,10,this.options.culture):+e),e===&quot;&quot;||isNaN(e)?null:e},_format:function(e){return e===&quot;&quot;?&quot;&quot;:window.Globalize&amp;&amp;this.options.numberFormat?Globalize.format(e,this.options.numberFormat,this.options.culture):e},_refresh:function(){this.element.attr({&quot;aria-valuemin&quot;:this.options.min,&quot;aria-valuemax&quot;:this.options.max,&quot;aria-valuenow&quot;:this._parse(this.element.val())})},_value:function(e,t){var n;e!==&quot;&quot;&amp;&amp;(n=this._parse(e),n!==null&amp;&amp;(t||(n=this._adjustValue(n)),e=this._format(n))),this.element.val(e),this._refresh()},_destroy:function(){this.element.removeClass(&quot;ui-spinner-input&quot;).prop(&quot;disabled&quot;,
 !1).removeAttr(&quot;autocomplete&quot;).removeAttr(&quot;role&quot;).removeAttr(&quot;aria-valuemin&quot;).removeAttr(&quot;aria-valuemax&quot;).removeAttr(&quot;aria-valuenow&quot;),this.uiSpinner.replaceWith(this.element)},stepUp:t(function(e){this._stepUp(e)}),_stepUp:function(e){this._spin((e||1)*this.options.step)},stepDown:t(function(e){this._stepDown(e)}),_stepDown:function(e){this._spin((e||1)*-this.options.step)},pageUp:t(function(e){this._stepUp((e||1)*this.options.page)}),pageDown:t(function(e){this._stepDown((e||1)*this.options.page)}),value:function(e){if(!arguments.length)return this._parse(this.element.val());t(this._value).call(this,e)},widget:function(){return this.uiSpinner}})})(jQuery);
</del><span class="cx">\ No newline at end of file
</span><ins>+(function(e){function t(e){return function(){var t=this.element.val();e.apply(this,arguments),this._refresh(),t!==this.element.val()&amp;&amp;this._trigger(&quot;change&quot;)}}e.widget(&quot;ui.spinner&quot;,{version:&quot;1.9.0&quot;,defaultElement:&quot;&lt;input&gt;&quot;,widgetEventPrefix:&quot;spin&quot;,options:{culture:null,icons:{down:&quot;ui-icon-triangle-1-s&quot;,up:&quot;ui-icon-triangle-1-n&quot;},incremental:!0,max:null,min:null,numberFormat:null,page:10,step:1,change:null,spin:null,start:null,stop:null},_create:function(){this._setOption(&quot;max&quot;,this.options.max),this._setOption(&quot;min&quot;,this.options.min),this._setOption(&quot;step&quot;,this.options.step),this._value(this.element.val(),!0),this._draw(),this._on(this._events),this._refresh(),this._on(this.window,{beforeunload:function(){this.element.removeAttr(&quot;autocomplete&quot;)}})},_getCreateOptions:function(){var t={},n=this.element;return e.each([&quot;min&quot;,&quot;max
 &quot;,&quot;step&quot;],function(e,r){var i=n.attr(r);i!==undefined&amp;&amp;i.length&amp;&amp;(t[r]=i)}),t},_events:{keydown:function(e){this._start(e)&amp;&amp;this._keydown(e)&amp;&amp;e.preventDefault()},keyup:&quot;_stop&quot;,focus:function(){this.uiSpinner.addClass(&quot;ui-state-active&quot;),this.previous=this.element.val()},blur:function(e){if(this.cancelBlur){delete this.cancelBlur;return}this._refresh(),this.uiSpinner.removeClass(&quot;ui-state-active&quot;),this.previous!==this.element.val()&amp;&amp;this._trigger(&quot;change&quot;,e)},mousewheel:function(e,t){if(!t)return;if(!this.spinning&amp;&amp;!this._start(e))return!1;this._spin((t&gt;0?1:-1)*this.options.step,e),clearTimeout(this.mousewheelTimer),this.mousewheelTimer=this._delay(function(){this.spinning&amp;&amp;this._stop(e)},100),e.preventDefault()},&quot;mousedown .ui-spinner-button&quot;:function(t){function r(){var e=this.element[0]===this.document[0].activeElement;e||(this.element.focus(),this.pre
 vious=n,this._delay(function(){this.previous=n}))}var n;n=this.element[0]===this.document[0].activeElement?this.previous:this.element.val(),t.preventDefault(),r.call(this),this.cancelBlur=!0,this._delay(function(){delete this.cancelBlur,r.call(this)});if(this._start(t)===!1)return;this._repeat(null,e(t.currentTarget).hasClass(&quot;ui-spinner-up&quot;)?1:-1,t)},&quot;mouseup .ui-spinner-button&quot;:&quot;_stop&quot;,&quot;mouseenter .ui-spinner-button&quot;:function(t){if(!e(t.currentTarget).hasClass(&quot;ui-state-active&quot;))return;if(this._start(t)===!1)return!1;this._repeat(null,e(t.currentTarget).hasClass(&quot;ui-spinner-up&quot;)?1:-1,t)},&quot;mouseleave .ui-spinner-button&quot;:&quot;_stop&quot;},_draw:function(){var e=this.uiSpinner=this.element.addClass(&quot;ui-spinner-input&quot;).attr(&quot;autocomplete&quot;,&quot;off&quot;).wrap(this._uiSpinnerHtml()).parent().append(this._buttonHtml());this._hoverable(e),this.element.attr(&quot;role&quot;,&quot;spinbutton
 &quot;),this.buttons=e.find(&quot;.ui-spinner-button&quot;).attr(&quot;tabIndex&quot;,-1).button().removeClass(&quot;ui-corner-all&quot;),this.buttons.height()&gt;Math.ceil(e.height()*.5)&amp;&amp;e.height()&gt;0&amp;&amp;e.height(e.height()),this.options.disabled&amp;&amp;this.disable()},_keydown:function(t){var n=this.options,r=e.ui.keyCode;switch(t.keyCode){case r.UP:return this._repeat(null,1,t),!0;case r.DOWN:return this._repeat(null,-1,t),!0;case r.PAGE_UP:return this._repeat(null,n.page,t),!0;case r.PAGE_DOWN:return this._repeat(null,-n.page,t),!0}return!1},_uiSpinnerHtml:function(){return&quot;&lt;span class='ui-spinner ui-state-default ui-widget ui-widget-content ui-corner-all'&gt;&lt;/span&gt;&quot;},_buttonHtml:function(){return&quot;&lt;a class='ui-spinner-button ui-spinner-up ui-corner-tr'&gt;&lt;span class='ui-icon &quot;+this.options.icons.up+&quot;'&gt;&amp;#9650;&lt;/span&gt;&quot;+&quot;&lt;/a&gt;&quot;+&quot;&lt;a class='ui-spinner-button ui-spinner-down u
 i-corner-br'&gt;&quot;+&quot;&lt;span class='ui-icon &quot;+this.options.icons.down+&quot;'&gt;&amp;#9660;&lt;/span&gt;&quot;+&quot;&lt;/a&gt;&quot;},_start:function(e){return!this.spinning&amp;&amp;this._trigger(&quot;start&quot;,e)===!1?!1:(this.counter||(this.counter=1),this.spinning=!0,!0)},_repeat:function(e,t,n){e=e||500,clearTimeout(this.timer),this.timer=this._delay(function(){this._repeat(40,t,n)},e),this._spin(t*this.options.step,n)},_spin:function(e,t){var n=this.value()||0;this.counter||(this.counter=1),n=this._adjustValue(n+e*this._increment(this.counter));if(!this.spinning||this._trigger(&quot;spin&quot;,t,{value:n})!==!1)this._value(n),this.counter++},_increment:function(t){var n=this.options.incremental;return n?e.isFunction(n)?n(t):Math.floor(t*t*t/5e4-t*t/500+17*t/200+1):1},_precision:function(){var e=this._precisionOf(this.options.step);return this.options.min!==null&amp;&amp;(e=Math.max(e,this._precisionOf(this.options.min))),e},_precisionOf:function(e){v
 ar t=e.toString(),n=t.indexOf(&quot;.&quot;);return n===-1?0:t.length-n-1},_adjustValue:function(e){var t,n,r=this.options;return t=r.min!==null?r.min:0,n=e-t,n=Math.round(n/r.step)*r.step,e=t+n,e=parseFloat(e.toFixed(this._precision())),r.max!==null&amp;&amp;e&gt;r.max?r.max:r.min!==null&amp;&amp;e&lt;r.min?r.min:e},_stop:function(e){if(!this.spinning)return;clearTimeout(this.timer),clearTimeout(this.mousewheelTimer),this.counter=0,this.spinning=!1,this._trigger(&quot;stop&quot;,e)},_setOption:function(e,t){if(e===&quot;culture&quot;||e===&quot;numberFormat&quot;){var n=this._parse(this.element.val());this.options[e]=t,this.element.val(this._format(n));return}(e===&quot;max&quot;||e===&quot;min&quot;||e===&quot;step&quot;)&amp;&amp;typeof t==&quot;string&quot;&amp;&amp;(t=this._parse(t)),this._super(e,t),e===&quot;disabled&quot;&amp;&amp;(t?(this.element.prop(&quot;disabled&quot;,!0),this.buttons.button(&quot;disable&quot;)):(this.element.prop(&quot;disabled&quot;,!1),this.
 buttons.button(&quot;enable&quot;)))},_setOptions:t(function(e){this._super(e),this._value(this.element.val())}),_parse:function(e){return typeof e==&quot;string&quot;&amp;&amp;e!==&quot;&quot;&amp;&amp;(e=window.Globalize&amp;&amp;this.options.numberFormat?Globalize.parseFloat(e,10,this.options.culture):+e),e===&quot;&quot;||isNaN(e)?null:e},_format:function(e){return e===&quot;&quot;?&quot;&quot;:window.Globalize&amp;&amp;this.options.numberFormat?Globalize.format(e,this.options.numberFormat,this.options.culture):e},_refresh:function(){this.element.attr({&quot;aria-valuemin&quot;:this.options.min,&quot;aria-valuemax&quot;:this.options.max,&quot;aria-valuenow&quot;:this._parse(this.element.val())})},_value:function(e,t){var n;e!==&quot;&quot;&amp;&amp;(n=this._parse(e),n!==null&amp;&amp;(t||(n=this._adjustValue(n)),e=this._format(n))),this.element.val(e),this._refresh()},_destroy:function(){this.element.removeClass(&quot;ui-spinner-input&quot;).prop(&quot;disabled&quot;,!1)
 .removeAttr(&quot;autocomplete&quot;).removeAttr(&quot;role&quot;).removeAttr(&quot;aria-valuemin&quot;).removeAttr(&quot;aria-valuemax&quot;).removeAttr(&quot;aria-valuenow&quot;),this.uiSpinner.replaceWith(this.element)},stepUp:t(function(e){this._stepUp(e)}),_stepUp:function(e){this._spin((e||1)*this.options.step)},stepDown:t(function(e){this._stepDown(e)}),_stepDown:function(e){this._spin((e||1)*-this.options.step)},pageUp:t(function(e){this._stepUp((e||1)*this.options.page)}),pageDown:t(function(e){this._stepDown((e||1)*this.options.page)}),value:function(e){if(!arguments.length)return this._parse(this.element.val());t(this._value).call(this,e)},widget:function(){return this.uiSpinner}})})(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 (22181 => 22182)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-includes/js/jquery/ui/jquery.ui.tabs.min.js        2012-10-11 03:29:02 UTC (rev 22181)
+++ trunk/wp-includes/js/jquery/ui/jquery.ui.tabs.min.js        2012-10-11 03:34:19 UTC (rev 22182)
</span><span class="lines">@@ -1,5 +1,5 @@
</span><del>-/*! jQuery UI - v1.9.0pre - 2012-08-29
</del><ins>+/*! jQuery UI - v1.9.0 - 2012-10-05
</ins><span class="cx"> * http://jqueryui.com
</span><span class="cx"> * Includes: jquery.ui.tabs.js
</span><span class="cx"> * Copyright 2012 jQuery Foundation and other contributors; Licensed MIT */
</span><del>-(function(e,t){function i(){return++n}function s(e){return e=e.cloneNode(!1),e.hash.length&gt;1&amp;&amp;e.href.replace(r,&quot;&quot;)===location.href.replace(r,&quot;&quot;)}var n=0,r=/#.*$/;e.widget(&quot;ui.tabs&quot;,{version:&quot;@VERSION&quot;,delay:300,options:{active:null,collapsible:!1,event:&quot;click&quot;,heightStyle:&quot;content&quot;,hide:null,show:null,activate:null,beforeActivate:null,beforeLoad:null,load:null},_create:function(){var t,n=this,r=this.options,i=r.active;this.running=!1,this.element.addClass(&quot;ui-tabs ui-widget ui-widget-content ui-corner-all&quot;).toggleClass(&quot;ui-tabs-collapsible&quot;,r.collapsible).delegate(&quot;.ui-tabs-nav &gt; li&quot;,&quot;mousedown&quot;+this.eventNamespace,function(t){e(this).is(&quot;.ui-state-disabled&quot;)&amp;&amp;t.preventDefault()}).delegate(&quot;.ui-tabs-anchor&quot;,&quot;focus&quot;+this.eventNamespace,function(){e(this).closest(&quot;li&quot;).is(&quot;.ui-state-disabled&quot;)&am
 p;&amp;this.blur()}),this._processTabs();if(i===null){location.hash&amp;&amp;this.anchors.each(function(e,t){if(t.hash===location.hash)return i=e,!1}),i===null&amp;&amp;(i=this.tabs.filter(&quot;.ui-tabs-active&quot;).index());if(i===null||i===-1)i=this.tabs.length?0:!1}i!==!1&amp;&amp;(i=this.tabs.eq(i).index(),i===-1&amp;&amp;(i=r.collapsible?!1:0)),r.active=i,!r.collapsible&amp;&amp;r.active===!1&amp;&amp;this.anchors.length&amp;&amp;(r.active=0),e.isArray(r.disabled)&amp;&amp;(r.disabled=e.unique(r.disabled.concat(e.map(this.tabs.filter(&quot;.ui-state-disabled&quot;),function(e){return n.tabs.index(e)}))).sort()),this.options.active!==!1&amp;&amp;this.anchors.length?this.active=this._findActive(this.options.active):this.active=e(),this._refresh(),this.active.length&amp;&amp;this.load(r.active)},_getCreateEventData:function(){return{tab:this.active,panel:this.active.length?this._getPanelForTab(this.active):e()}},_tabKeydown:function(t){var n=e(this.document[0].activeElem
 ent).closest(&quot;li&quot;),r=this.tabs.index(n),i=!0;if(this._handlePageNav(t))return;switch(t.keyCode){case e.ui.keyCode.RIGHT:case e.ui.keyCode.DOWN:r++;break;case e.ui.keyCode.UP:case e.ui.keyCode.LEFT:i=!1,r--;break;case e.ui.keyCode.END:r=this.anchors.length-1;break;case e.ui.keyCode.HOME:r=0;break;case e.ui.keyCode.SPACE:t.preventDefault(),clearTimeout(this.activating),this._activate(r);return;case e.ui.keyCode.ENTER:t.preventDefault(),clearTimeout(this.activating),this._activate(r===this.options.active?!1:r);return;default:return}t.preventDefault(),clearTimeout(this.activating),r=this._focusNextTab(r,i),t.ctrlKey||(n.attr(&quot;aria-selected&quot;,&quot;false&quot;),this.tabs.eq(r).attr(&quot;aria-selected&quot;,&quot;true&quot;),this.activating=this._delay(function(){this.option(&quot;active&quot;,r)},this.delay))},_panelKeydown:function(t){if(this._handlePageNav(t))return;t.ctrlKey&amp;&amp;t.keyCode===e.ui.keyCode.UP&amp;&amp;(t.preventDefault(),this.active.focus
 ())},_handlePageNav:function(t){if(t.altKey&amp;&amp;t.keyCode===e.ui.keyCode.PAGE_UP)return this._activate(this._focusNextTab(this.options.active-1,!1)),!0;if(t.altKey&amp;&amp;t.keyCode===e.ui.keyCode.PAGE_DOWN)return this._activate(this._focusNextTab(this.options.active+1,!0)),!0},_findNextTab:function(t,n){function i(){return t&gt;r&amp;&amp;(t=0),t&lt;0&amp;&amp;(t=r),t}var r=this.tabs.length-1;while(e.inArray(i(),this.options.disabled)!==-1)t=n?t+1:t-1;return t},_focusNextTab:function(e,t){return e=this._findNextTab(e,t),this.tabs.eq(e).focus(),e},_setOption:function(e,t){if(e===&quot;active&quot;){this._activate(t);return}if(e===&quot;disabled&quot;){this._setupDisabled(t);return}this._super(e,t),e===&quot;collapsible&quot;&amp;&amp;(this.element.toggleClass(&quot;ui-tabs-collapsible&quot;,t),!t&amp;&amp;this.options.active===!1&amp;&amp;this._activate(0)),e===&quot;event&quot;&amp;&amp;this._setupEvents(t),e===&quot;heightStyle&quot;&amp;&amp;this._setupHeightStyle(t
 )},_tabId:function(e){return e.attr(&quot;aria-controls&quot;)||&quot;ui-tabs-&quot;+i()},_sanitizeSelector:function(e){return e?e.replace(/[!&quot;$%&amp;'()*+,.\/:;&lt;=&gt;?@\[\]\^`{|}~]/g,&quot;\\$&amp;&quot;):&quot;&quot;},refresh:function(){var t,n=this.options,r=this.tablist.children(&quot;:has(a[href])&quot;);n.disabled=e.map(r.filter(&quot;.ui-state-disabled&quot;),function(e){return r.index(e)}),this._processTabs(),n.active===!1||!this.anchors.length?(n.active=!1,this.active=e()):this.active.length&amp;&amp;!e.contains(this.tablist[0],this.active[0])?this.tabs.length===n.disabled.length?(n.active=!1,this.active=e()):this._activate(this._findNextTab(Math.max(0,n.active-1),!1)):n.active=this.tabs.index(this.active),this._refresh()},_refresh:function(){this._setupDisabled(this.options.disabled),this._setupEvents(this.options.event),this._setupHeightStyle(this.options.heightStyle),this.tabs.not(this.active).attr({&quot;aria-selected&quot;:&quot;false&quot;,tabIndex:-1}
 ),this.panels.not(this._getPanelForTab(this.active)).hide().attr({&quot;aria-expanded&quot;:&quot;false&quot;,&quot;aria-hidden&quot;:&quot;true&quot;}),this.active.length?(this.active.addClass(&quot;ui-tabs-active ui-state-active&quot;).attr({&quot;aria-selected&quot;:&quot;true&quot;,tabIndex:0}),this._getPanelForTab(this.active).show().attr({&quot;aria-expanded&quot;:&quot;true&quot;,&quot;aria-hidden&quot;:&quot;false&quot;})):this.tabs.eq(0).attr(&quot;tabIndex&quot;,0)},_processTabs:function(){var t=this;this.tablist=this._getList().addClass(&quot;ui-tabs-nav ui-helper-reset ui-helper-clearfix ui-widget-header ui-corner-all&quot;).attr(&quot;role&quot;,&quot;tablist&quot;),this.tabs=this.tablist.find(&quot;&gt; li:has(a[href])&quot;).addClass(&quot;ui-state-default ui-corner-top&quot;).attr({role:&quot;tab&quot;,tabIndex:-1}),this.anchors=this.tabs.map(function(){return e(&quot;a&quot;,this)[0]}).addClass(&quot;ui-tabs-anchor&quot;).attr({role:&quot;presentation&quot;,
 tabIndex:-1}),this.panels=e(),this.anchors.each(function(n,r){var i,o,u,a=e(r).uniqueId().attr(&quot;id&quot;),f=e(r).closest(&quot;li&quot;),l=f.attr(&quot;aria-controls&quot;);s(r)?(i=r.hash,o=t.element.find(t._sanitizeSelector(i))):(u=t._tabId(f),i=&quot;#&quot;+u,o=t.element.find(i),o.length||(o=t._createPanel(u),o.insertAfter(t.panels[n-1]||t.tablist)),o.attr(&quot;aria-live&quot;,&quot;polite&quot;)),o.length&amp;&amp;(t.panels=t.panels.add(o)),l&amp;&amp;f.data(&quot;ui-tabs-aria-controls&quot;,l),f.attr({&quot;aria-controls&quot;:i.substring(1),&quot;aria-labelledby&quot;:a}),o.attr(&quot;aria-labelledby&quot;,a)}),this.panels.addClass(&quot;ui-tabs-panel ui-widget-content ui-corner-bottom&quot;).attr(&quot;role&quot;,&quot;tabpanel&quot;)},_getList:function(){return this.element.find(&quot;ol,ul&quot;).eq(0)},_createPanel:function(t){return e(&quot;&lt;div&gt;&quot;).attr(&quot;id&quot;,t).addClass(&quot;ui-tabs-panel ui-widget-content ui-corner-bottom&quot;).data(&
 quot;ui-tabs-destroy&quot;,!0)},_setupDisabled:function(t){e.isArray(t)&amp;&amp;(t.length?t.length===this.anchors.length&amp;&amp;(t=!0):t=!1);for(var n=0,r;r=this.tabs[n];n++)t===!0||e.inArray(n,t)!==-1?e(r).addClass(&quot;ui-state-disabled&quot;).attr(&quot;aria-disabled&quot;,&quot;true&quot;):e(r).removeClass(&quot;ui-state-disabled&quot;).removeAttr(&quot;aria-disabled&quot;);this.options.disabled=t},_setupEvents:function(t){var n={click:function(e){e.preventDefault()}};t&amp;&amp;e.each(t.split(&quot; &quot;),function(e,t){n[t]=&quot;_eventHandler&quot;}),this._off(this.anchors.add(this.tabs).add(this.panels)),this._on(this.anchors,n),this._on(this.tabs,{keydown:&quot;_tabKeydown&quot;}),this._on(this.panels,{keydown:&quot;_panelKeydown&quot;}),this._focusable(this.tabs),this._hoverable(this.tabs)},_setupHeightStyle:function(t){var n,r,i=this.element.parent();t===&quot;fill&quot;?(e.support.minHeight||(r=i.css(&quot;overflow&quot;),i.css(&quot;overflow&quot;,&quot;hid
 den&quot;)),n=i.height(),this.element.siblings(&quot;:visible&quot;).each(function(){var t=e(this),r=t.css(&quot;position&quot;);if(r===&quot;absolute&quot;||r===&quot;fixed&quot;)return;n-=t.outerHeight(!0)}),r&amp;&amp;i.css(&quot;overflow&quot;,r),this.element.children().not(this.panels).each(function(){n-=e(this).outerHeight(!0)}),this.panels.each(function(){e(this).height(Math.max(0,n-e(this).innerHeight()+e(this).height()))}).css(&quot;overflow&quot;,&quot;auto&quot;)):t===&quot;auto&quot;&amp;&amp;(n=0,this.panels.each(function(){n=Math.max(n,e(this).height(&quot;&quot;).height())}).height(n))},_eventHandler:function(t){var n=this.options,r=this.active,i=e(t.currentTarget),s=i.closest(&quot;li&quot;),o=s[0]===r[0],u=o&amp;&amp;n.collapsible,a=u?e():this._getPanelForTab(s),f=r.length?this._getPanelForTab(r):e(),l={oldTab:r,oldPanel:f,newTab:u?e():s,newPanel:a};t.preventDefault();if(s.hasClass(&quot;ui-state-disabled&quot;)||s.hasClass(&quot;ui-tabs-loading&quot;)||this
 .running||o&amp;&amp;!n.collapsible||this._trigger(&quot;beforeActivate&quot;,t,l)===!1)return;n.active=u?!1:this.tabs.index(s),this.active=o?e():s,this.xhr&amp;&amp;this.xhr.abort(),!f.length&amp;&amp;!a.length&amp;&amp;e.error(&quot;jQuery UI Tabs: Mismatching fragment identifier.&quot;),a.length&amp;&amp;this.load(this.tabs.index(s),t),this._toggle(t,l)},_toggle:function(t,n){function o(){r.running=!1,r._trigger(&quot;activate&quot;,t,n)}function u(){n.newTab.closest(&quot;li&quot;).addClass(&quot;ui-tabs-active ui-state-active&quot;),i.length&amp;&amp;r.options.show?r._show(i,r.options.show,o):(i.show(),o())}var r=this,i=n.newPanel,s=n.oldPanel;this.running=!0,s.length&amp;&amp;this.options.hide?this._hide(s,this.options.hide,function(){n.oldTab.closest(&quot;li&quot;).removeClass(&quot;ui-tabs-active ui-state-active&quot;),u()}):(n.oldTab.closest(&quot;li&quot;).removeClass(&quot;ui-tabs-active ui-state-active&quot;),s.hide(),u()),s.attr({&quot;aria-expanded&quot;:&quot
 ;false&quot;,&quot;aria-hidden&quot;:&quot;true&quot;}),n.oldTab.attr(&quot;aria-selected&quot;,&quot;false&quot;),i.length&amp;&amp;s.length?n.oldTab.attr(&quot;tabIndex&quot;,-1):i.length&amp;&amp;this.tabs.filter(function(){return e(this).attr(&quot;tabIndex&quot;)===0}).attr(&quot;tabIndex&quot;,-1),i.attr({&quot;aria-expanded&quot;:&quot;true&quot;,&quot;aria-hidden&quot;:&quot;false&quot;}),n.newTab.attr({&quot;aria-selected&quot;:&quot;true&quot;,tabIndex:0})},_activate:function(t){var n,r=this._findActive(t);if(r[0]===this.active[0])return;r.length||(r=this.active),n=r.find(&quot;.ui-tabs-anchor&quot;)[0],this._eventHandler({target:n,currentTarget:n,preventDefault:e.noop})},_findActive:function(t){return t===!1?e():this.tabs.eq(t)},_getIndex:function(e){return typeof e==&quot;string&quot;&amp;&amp;(e=this.anchors.index(this.anchors.filter(&quot;[href$='&quot;+e+&quot;']&quot;))),e},_destroy:function(){this.xhr&amp;&amp;this.xhr.abort(),this.element.removeClass(&quot;
 ui-tabs ui-widget ui-widget-content ui-corner-all ui-tabs-collapsible&quot;),this.tablist.removeClass(&quot;ui-tabs-nav ui-helper-reset ui-helper-clearfix ui-widget-header ui-corner-all&quot;).removeAttr(&quot;role&quot;),this.anchors.removeClass(&quot;ui-tabs-anchor&quot;).removeAttr(&quot;role&quot;).removeAttr(&quot;tabIndex&quot;).removeData(&quot;href.tabs&quot;).removeData(&quot;load.tabs&quot;).removeUniqueId(),this.tabs.add(this.panels).each(function(){e.data(this,&quot;ui-tabs-destroy&quot;)?e(this).remove():e(this).removeClass(&quot;ui-state-default ui-state-active ui-state-disabled ui-corner-top ui-corner-bottom ui-widget-content ui-tabs-active ui-tabs-panel&quot;).removeAttr(&quot;tabIndex&quot;).removeAttr(&quot;aria-live&quot;).removeAttr(&quot;aria-busy&quot;).removeAttr(&quot;aria-selected&quot;).removeAttr(&quot;aria-labelledby&quot;).removeAttr(&quot;aria-hidden&quot;).removeAttr(&quot;aria-expanded&quot;).removeAttr(&quot;role&quot;)}),this.tabs.each(funct
 ion(){var t=e(this),n=t.data(&quot;ui-tabs-aria-controls&quot;);n?t.attr(&quot;aria-controls&quot;,n):t.removeAttr(&quot;aria-controls&quot;)}),this.options.heightStyle!==&quot;content&quot;&amp;&amp;this.panels.css(&quot;height&quot;,&quot;&quot;)},enable:function(n){var r=this.options.disabled;if(r===!1)return;n===t?r=!1:(n=this._getIndex(n),e.isArray(r)?r=e.map(r,function(e){return e!==n?e:null}):r=e.map(this.tabs,function(e,t){return t!==n?t:null})),this._setupDisabled(r)},disable:function(n){var r=this.options.disabled;if(r===!0)return;if(n===t)r=!0;else{n=this._getIndex(n);if(e.inArray(n,r)!==-1)return;e.isArray(r)?r=e.merge([n],r).sort():r=[n]}this._setupDisabled(r)},load:function(t,n){t=this._getIndex(t);var r=this,i=this.tabs.eq(t),o=i.find(&quot;.ui-tabs-anchor&quot;),u=this._getPanelForTab(i),a={tab:i,panel:u};if(s(o[0]))return;this.xhr=e.ajax(this._ajaxSettings(o,n,a)),this.xhr&amp;&amp;this.xhr.statusText!==&quot;canceled&quot;&amp;&amp;(i.addClass(&quot;ui-tabs
 -loading&quot;),u.attr(&quot;aria-busy&quot;,&quot;true&quot;),this.xhr.success(function(e){setTimeout(function(){u.html(e),r._trigger(&quot;load&quot;,n,a)},1)}).complete(function(e,t){setTimeout(function(){t===&quot;abort&quot;&amp;&amp;r.panels.stop(!1,!0),i.removeClass(&quot;ui-tabs-loading&quot;),u.removeAttr(&quot;aria-busy&quot;),e===r.xhr&amp;&amp;delete r.xhr},1)}))},_ajaxSettings:function(t,n,r){var i=this;return{url:t.attr(&quot;href&quot;),beforeSend:function(t,s){return i._trigger(&quot;beforeLoad&quot;,n,e.extend({jqXHR:t,ajaxSettings:s},r))}}},_getPanelForTab:function(t){var n=e(t).attr(&quot;aria-controls&quot;);return this.element.find(this._sanitizeSelector(&quot;#&quot;+n))}}),e.uiBackCompat!==!1&amp;&amp;(e.ui.tabs.prototype._ui=function(e,t){return{tab:e,panel:t,index:this.anchors.index(e)}},e.widget(&quot;ui.tabs&quot;,e.ui.tabs,{url:function(e,t){this.anchors.eq(e).attr(&quot;href&quot;,t)}}),e.widget(&quot;ui.tabs&quot;,e.ui.tabs,{options:{ajaxOptions
 :null,cache:!1},_create:function(){this._super();var t=this;this._on({tabsbeforeload:function(n,r){if(e.data(r.tab[0],&quot;cache.tabs&quot;)){n.preventDefault();return}r.jqXHR.success(function(){t.options.cache&amp;&amp;e.data(r.tab[0],&quot;cache.tabs&quot;,!0)})}})},_ajaxSettings:function(t,n,r){var i=this.options.ajaxOptions;return e.extend({},i,{error:function(e,t,n){try{i.error(e,t,r.tab.closest(&quot;li&quot;).index(),r.tab[0])}catch(n){}}},this._superApply(arguments))},_setOption:function(e,t){e===&quot;cache&quot;&amp;&amp;t===!1&amp;&amp;this.anchors.removeData(&quot;cache.tabs&quot;),this._super(e,t)},_destroy:function(){this.anchors.removeData(&quot;cache.tabs&quot;),this._super()},url:function(e,t){this.anchors.eq(e).removeData(&quot;cache.tabs&quot;),this._superApply(arguments)}}),e.widget(&quot;ui.tabs&quot;,e.ui.tabs,{abort:function(){this.xhr&amp;&amp;this.xhr.abort()}}),e.widget(&quot;ui.tabs&quot;,e.ui.tabs,{options:{spinner:&quot;&lt;em&gt;Loading&amp;#82
 30;&lt;/em&gt;&quot;},_create:function(){this._super(),this._on({tabsbeforeload:function(e,t){if(!this.options.spinner)return;var n=t.tab.find(&quot;span&quot;),r=n.html();n.html(this.options.spinner),t.jqXHR.complete(function(){n.html(r)})}})}}),e.widget(&quot;ui.tabs&quot;,e.ui.tabs,{options:{enable:null,disable:null},enable:function(t){var n=this.options,r;if(t&amp;&amp;n.disabled===!0||e.isArray(n.disabled)&amp;&amp;e.inArray(t,n.disabled)!==-1)r=!0;this._superApply(arguments),r&amp;&amp;this._trigger(&quot;enable&quot;,null,this._ui(this.anchors[t],this.panels[t]))},disable:function(t){var n=this.options,r;if(t&amp;&amp;n.disabled===!1||e.isArray(n.disabled)&amp;&amp;e.inArray(t,n.disabled)===-1)r=!0;this._superApply(arguments),r&amp;&amp;this._trigger(&quot;disable&quot;,null,this._ui(this.anchors[t],this.panels[t]))}}),e.widget(&quot;ui.tabs&quot;,e.ui.tabs,{options:{add:null,remove:null,tabTemplate:&quot;&lt;li&gt;&lt;a href='#{href}'&gt;&lt;span&gt;#{label}&lt;/span
 &gt;&lt;/a&gt;&lt;/li&gt;&quot;},add:function(n,r,i){i===t&amp;&amp;(i=this.anchors.length);var s,o,u=this.options,a=e(u.tabTemplate.replace(/#\{href\}/g,n).replace(/#\{label\}/g,r)),f=n.indexOf(&quot;#&quot;)?this._tabId(a):n.replace(&quot;#&quot;,&quot;&quot;);return a.addClass(&quot;ui-state-default ui-corner-top&quot;).data(&quot;ui-tabs-destroy&quot;,!0),a.attr(&quot;aria-controls&quot;,f),s=i&gt;=this.tabs.length,o=this.element.find(&quot;#&quot;+f),o.length||(o=this._createPanel(f),s?i&gt;0?o.insertAfter(this.panels.eq(-1)):o.appendTo(this.element):o.insertBefore(this.panels[i])),o.addClass(&quot;ui-tabs-panel ui-widget-content ui-corner-bottom&quot;).hide(),s?a.appendTo(this.tablist):a.insertBefore(this.tabs[i]),u.disabled=e.map(u.disabled,function(e){return e&gt;=i?++e:e}),this.refresh(),this.tabs.length===1&amp;&amp;u.active===!1&amp;&amp;this.option(&quot;active&quot;,0),this._trigger(&quot;add&quot;,null,this._ui(this.anchors[i],this.panels[i])),this},remove:func
 tion(t){t=this._getIndex(t);var n=this.options,r=this.tabs.eq(t).remove(),i=this._getPanelForTab(r).remove();return r.hasClass(&quot;ui-tabs-active&quot;)&amp;&amp;this.anchors.length&gt;2&amp;&amp;this._activate(t+(t+1&lt;this.anchors.length?1:-1)),n.disabled=e.map(e.grep(n.disabled,function(e){return e!==t}),function(e){return e&gt;=t?--e:e}),this.refresh(),this._trigger(&quot;remove&quot;,null,this._ui(r.find(&quot;a&quot;)[0],i[0])),this}}),e.widget(&quot;ui.tabs&quot;,e.ui.tabs,{length:function(){return this.anchors.length}}),e.widget(&quot;ui.tabs&quot;,e.ui.tabs,{options:{idPrefix:&quot;ui-tabs-&quot;},_tabId:function(t){var n=t.is(&quot;li&quot;)?t.find(&quot;a[href]&quot;):t;return n=n[0],e(n).closest(&quot;li&quot;).attr(&quot;aria-controls&quot;)||n.title&amp;&amp;n.title.replace(/\s/g,&quot;_&quot;).replace(/[^\w\u00c0-\uFFFF\-]/g,&quot;&quot;)||this.options.idPrefix+i()}}),e.widget(&quot;ui.tabs&quot;,e.ui.tabs,{options:{panelTemplate:&quot;&lt;div&gt;&lt;/div&g
 t;&quot;},_createPanel:function(t){return e(this.options.panelTemplate).attr(&quot;id&quot;,t).addClass(&quot;ui-tabs-panel ui-widget-content ui-corner-bottom&quot;).data(&quot;ui-tabs-destroy&quot;,!0)}}),e.widget(&quot;ui.tabs&quot;,e.ui.tabs,{_create:function(){var e=this.options;e.active===null&amp;&amp;e.selected!==t&amp;&amp;(e.active=e.selected===-1?!1:e.selected),this._super(),e.selected=e.active,e.selected===!1&amp;&amp;(e.selected=-1)},_setOption:function(e,t){if(e!==&quot;selected&quot;)return this._super(e,t);var n=this.options;this._super(&quot;active&quot;,t===-1?!1:t),n.selected=n.active,n.selected===!1&amp;&amp;(n.selected=-1)},_eventHandler:function(e){this._superApply(arguments),this.options.selected=this.options.active,this.options.selected===!1&amp;&amp;(this.options.selected=-1)}}),e.widget(&quot;ui.tabs&quot;,e.ui.tabs,{options:{show:null,select:null},_create:function(){this._super(),this.options.active!==!1&amp;&amp;this._trigger(&quot;show&quot;,null,
 this._ui(this.active.find(&quot;.ui-tabs-anchor&quot;)[0],this._getPanelForTab(this.active)[0]))},_trigger:function(e,t,n){var r=this._superApply(arguments);return r?(e===&quot;beforeActivate&quot;&amp;&amp;n.newTab.length?r=this._super(&quot;select&quot;,t,{tab:n.newTab.find(&quot;.ui-tabs-anchor&quot;)[0],panel:n.newPanel[0],index:n.newTab.closest(&quot;li&quot;).index()}):e===&quot;activate&quot;&amp;&amp;n.newTab.length&amp;&amp;(r=this._super(&quot;show&quot;,t,{tab:n.newTab.find(&quot;.ui-tabs-anchor&quot;)[0],panel:n.newPanel[0],index:n.newTab.closest(&quot;li&quot;).index()})),r):!1}}),e.widget(&quot;ui.tabs&quot;,e.ui.tabs,{select:function(e){e=this._getIndex(e);if(e===-1){if(!this.options.collapsible||this.options.selected===-1)return;e=this.options.selected}this.anchors.eq(e).trigger(this.options.event+this.eventNamespace)}}),function(){var t=0;e.widget(&quot;ui.tabs&quot;,e.ui.tabs,{options:{cookie:null},_create:function(){var e=this.options,t;e.active==null&amp;
 &amp;e.cookie&amp;&amp;(t=parseInt(this._cookie(),10),t===-1&amp;&amp;(t=!1),e.active=t),this._super()},_cookie:function(n){var r=[this.cookie||(this.cookie=this.options.cookie.name||&quot;ui-tabs-&quot;+ ++t)];return arguments.length&amp;&amp;(r.push(n===!1?-1:n),r.push(this.options.cookie)),e.cookie.apply(null,r)},_refresh:function(){this._super(),this.options.cookie&amp;&amp;this._cookie(this.options.active,this.options.cookie)},_eventHandler:function(e){this._superApply(arguments),this.options.cookie&amp;&amp;this._cookie(this.options.active,this.options.cookie)},_destroy:function(){this._super(),this.options.cookie&amp;&amp;this._cookie(null,this.options.cookie)}})}(),e.widget(&quot;ui.tabs&quot;,e.ui.tabs,{_trigger:function(t,n,r){var i=e.extend({},r);return t===&quot;load&quot;&amp;&amp;(i.panel=i.panel[0],i.tab=i.tab.find(&quot;.ui-tabs-anchor&quot;)[0]),this._super(t,n,i)}}),e.widget(&quot;ui.tabs&quot;,e.ui.tabs,{options:{fx:null},_getFx:function(){var t,n,r=this.o
 ptions.fx;return r&amp;&amp;(e.isArray(r)?(t=r[0],n=r[1]):t=n=r),r?{show:n,hide:t}:null},_toggle:function(e,t){function o(){n.running=!1,n._trigger(&quot;activate&quot;,e,t)}function u(){t.newTab.closest(&quot;li&quot;).addClass(&quot;ui-tabs-active ui-state-active&quot;),r.length&amp;&amp;s.show?r.animate(s.show,s.show.duration,function(){o()}):(r.show(),o())}var n=this,r=t.newPanel,i=t.oldPanel,s=this._getFx();if(!s)return this._super(e,t);n.running=!0,i.length&amp;&amp;s.hide?i.animate(s.hide,s.hide.duration,function(){t.oldTab.closest(&quot;li&quot;).removeClass(&quot;ui-tabs-active ui-state-active&quot;),u()}):(t.oldTab.closest(&quot;li&quot;).removeClass(&quot;ui-tabs-active ui-state-active&quot;),i.hide(),u())}}))})(jQuery);
</del><span class="cx">\ No newline at end of file
</span><ins>+(function(e,t){function i(){return++n}function s(e){return e=e.cloneNode(!1),e.hash.length&gt;1&amp;&amp;e.href.replace(r,&quot;&quot;)===location.href.replace(r,&quot;&quot;)}var n=0,r=/#.*$/;e.widget(&quot;ui.tabs&quot;,{version:&quot;1.9.0&quot;,delay:300,options:{active:null,collapsible:!1,event:&quot;click&quot;,heightStyle:&quot;content&quot;,hide:null,show:null,activate:null,beforeActivate:null,beforeLoad:null,load:null},_create:function(){var t,n=this,r=this.options,i=r.active;this.running=!1,this.element.addClass(&quot;ui-tabs ui-widget ui-widget-content ui-corner-all&quot;).toggleClass(&quot;ui-tabs-collapsible&quot;,r.collapsible).delegate(&quot;.ui-tabs-nav &gt; li&quot;,&quot;mousedown&quot;+this.eventNamespace,function(t){e(this).is(&quot;.ui-state-disabled&quot;)&amp;&amp;t.preventDefault()}).delegate(&quot;.ui-tabs-anchor&quot;,&quot;focus&quot;+this.eventNamespace,function(){e(this).closest(&quot;li&quot;).is(&quot;.ui-state-disabled&quot;)&amp;&
 amp;this.blur()}),this._processTabs();if(i===null){location.hash&amp;&amp;this.anchors.each(function(e,t){if(t.hash===location.hash)return i=e,!1}),i===null&amp;&amp;(i=this.tabs.filter(&quot;.ui-tabs-active&quot;).index());if(i===null||i===-1)i=this.tabs.length?0:!1}i!==!1&amp;&amp;(i=this.tabs.index(this.tabs.eq(i)),i===-1&amp;&amp;(i=r.collapsible?!1:0)),r.active=i,!r.collapsible&amp;&amp;r.active===!1&amp;&amp;this.anchors.length&amp;&amp;(r.active=0),e.isArray(r.disabled)&amp;&amp;(r.disabled=e.unique(r.disabled.concat(e.map(this.tabs.filter(&quot;.ui-state-disabled&quot;),function(e){return n.tabs.index(e)}))).sort()),this.options.active!==!1&amp;&amp;this.anchors.length?this.active=this._findActive(this.options.active):this.active=e(),this._refresh(),this.active.length&amp;&amp;this.load(r.active)},_getCreateEventData:function(){return{tab:this.active,panel:this.active.length?this._getPanelForTab(this.active):e()}},_tabKeydown:function(t){var n=e(this.document[0].acti
 veElement).closest(&quot;li&quot;),r=this.tabs.index(n),i=!0;if(this._handlePageNav(t))return;switch(t.keyCode){case e.ui.keyCode.RIGHT:case e.ui.keyCode.DOWN:r++;break;case e.ui.keyCode.UP:case e.ui.keyCode.LEFT:i=!1,r--;break;case e.ui.keyCode.END:r=this.anchors.length-1;break;case e.ui.keyCode.HOME:r=0;break;case e.ui.keyCode.SPACE:t.preventDefault(),clearTimeout(this.activating),this._activate(r);return;case e.ui.keyCode.ENTER:t.preventDefault(),clearTimeout(this.activating),this._activate(r===this.options.active?!1:r);return;default:return}t.preventDefault(),clearTimeout(this.activating),r=this._focusNextTab(r,i),t.ctrlKey||(n.attr(&quot;aria-selected&quot;,&quot;false&quot;),this.tabs.eq(r).attr(&quot;aria-selected&quot;,&quot;true&quot;),this.activating=this._delay(function(){this.option(&quot;active&quot;,r)},this.delay))},_panelKeydown:function(t){if(this._handlePageNav(t))return;t.ctrlKey&amp;&amp;t.keyCode===e.ui.keyCode.UP&amp;&amp;(t.preventDefault(),this.active
 .focus())},_handlePageNav:function(t){if(t.altKey&amp;&amp;t.keyCode===e.ui.keyCode.PAGE_UP)return this._activate(this._focusNextTab(this.options.active-1,!1)),!0;if(t.altKey&amp;&amp;t.keyCode===e.ui.keyCode.PAGE_DOWN)return this._activate(this._focusNextTab(this.options.active+1,!0)),!0},_findNextTab:function(t,n){function i(){return t&gt;r&amp;&amp;(t=0),t&lt;0&amp;&amp;(t=r),t}var r=this.tabs.length-1;while(e.inArray(i(),this.options.disabled)!==-1)t=n?t+1:t-1;return t},_focusNextTab:function(e,t){return e=this._findNextTab(e,t),this.tabs.eq(e).focus(),e},_setOption:function(e,t){if(e===&quot;active&quot;){this._activate(t);return}if(e===&quot;disabled&quot;){this._setupDisabled(t);return}this._super(e,t),e===&quot;collapsible&quot;&amp;&amp;(this.element.toggleClass(&quot;ui-tabs-collapsible&quot;,t),!t&amp;&amp;this.options.active===!1&amp;&amp;this._activate(0)),e===&quot;event&quot;&amp;&amp;this._setupEvents(t),e===&quot;heightStyle&quot;&amp;&amp;this._setupHeightS
 tyle(t)},_tabId:function(e){return e.attr(&quot;aria-controls&quot;)||&quot;ui-tabs-&quot;+i()},_sanitizeSelector:function(e){return e?e.replace(/[!&quot;$%&amp;'()*+,.\/:;&lt;=&gt;?@\[\]\^`{|}~]/g,&quot;\\$&amp;&quot;):&quot;&quot;},refresh:function(){var t,n=this.options,r=this.tablist.children(&quot;:has(a[href])&quot;);n.disabled=e.map(r.filter(&quot;.ui-state-disabled&quot;),function(e){return r.index(e)}),this._processTabs(),n.active===!1||!this.anchors.length?(n.active=!1,this.active=e()):this.active.length&amp;&amp;!e.contains(this.tablist[0],this.active[0])?this.tabs.length===n.disabled.length?(n.active=!1,this.active=e()):this._activate(this._findNextTab(Math.max(0,n.active-1),!1)):n.active=this.tabs.index(this.active),this._refresh()},_refresh:function(){this._setupDisabled(this.options.disabled),this._setupEvents(this.options.event),this._setupHeightStyle(this.options.heightStyle),this.tabs.not(this.active).attr({&quot;aria-selected&quot;:&quot;false&quot;,tabInd
 ex:-1}),this.panels.not(this._getPanelForTab(this.active)).hide().attr({&quot;aria-expanded&quot;:&quot;false&quot;,&quot;aria-hidden&quot;:&quot;true&quot;}),this.active.length?(this.active.addClass(&quot;ui-tabs-active ui-state-active&quot;).attr({&quot;aria-selected&quot;:&quot;true&quot;,tabIndex:0}),this._getPanelForTab(this.active).show().attr({&quot;aria-expanded&quot;:&quot;true&quot;,&quot;aria-hidden&quot;:&quot;false&quot;})):this.tabs.eq(0).attr(&quot;tabIndex&quot;,0)},_processTabs:function(){var t=this;this.tablist=this._getList().addClass(&quot;ui-tabs-nav ui-helper-reset ui-helper-clearfix ui-widget-header ui-corner-all&quot;).attr(&quot;role&quot;,&quot;tablist&quot;),this.tabs=this.tablist.find(&quot;&gt; li:has(a[href])&quot;).addClass(&quot;ui-state-default ui-corner-top&quot;).attr({role:&quot;tab&quot;,tabIndex:-1}),this.anchors=this.tabs.map(function(){return e(&quot;a&quot;,this)[0]}).addClass(&quot;ui-tabs-anchor&quot;).attr({role:&quot;presentation&
 quot;,tabIndex:-1}),this.panels=e(),this.anchors.each(function(n,r){var i,o,u,a=e(r).uniqueId().attr(&quot;id&quot;),f=e(r).closest(&quot;li&quot;),l=f.attr(&quot;aria-controls&quot;);s(r)?(i=r.hash,o=t.element.find(t._sanitizeSelector(i))):(u=t._tabId(f),i=&quot;#&quot;+u,o=t.element.find(i),o.length||(o=t._createPanel(u),o.insertAfter(t.panels[n-1]||t.tablist)),o.attr(&quot;aria-live&quot;,&quot;polite&quot;)),o.length&amp;&amp;(t.panels=t.panels.add(o)),l&amp;&amp;f.data(&quot;ui-tabs-aria-controls&quot;,l),f.attr({&quot;aria-controls&quot;:i.substring(1),&quot;aria-labelledby&quot;:a}),o.attr(&quot;aria-labelledby&quot;,a)}),this.panels.addClass(&quot;ui-tabs-panel ui-widget-content ui-corner-bottom&quot;).attr(&quot;role&quot;,&quot;tabpanel&quot;)},_getList:function(){return this.element.find(&quot;ol,ul&quot;).eq(0)},_createPanel:function(t){return e(&quot;&lt;div&gt;&quot;).attr(&quot;id&quot;,t).addClass(&quot;ui-tabs-panel ui-widget-content ui-corner-bottom&quot;).
 data(&quot;ui-tabs-destroy&quot;,!0)},_setupDisabled:function(t){e.isArray(t)&amp;&amp;(t.length?t.length===this.anchors.length&amp;&amp;(t=!0):t=!1);for(var n=0,r;r=this.tabs[n];n++)t===!0||e.inArray(n,t)!==-1?e(r).addClass(&quot;ui-state-disabled&quot;).attr(&quot;aria-disabled&quot;,&quot;true&quot;):e(r).removeClass(&quot;ui-state-disabled&quot;).removeAttr(&quot;aria-disabled&quot;);this.options.disabled=t},_setupEvents:function(t){var n={click:function(e){e.preventDefault()}};t&amp;&amp;e.each(t.split(&quot; &quot;),function(e,t){n[t]=&quot;_eventHandler&quot;}),this._off(this.anchors.add(this.tabs).add(this.panels)),this._on(this.anchors,n),this._on(this.tabs,{keydown:&quot;_tabKeydown&quot;}),this._on(this.panels,{keydown:&quot;_panelKeydown&quot;}),this._focusable(this.tabs),this._hoverable(this.tabs)},_setupHeightStyle:function(t){var n,r,i=this.element.parent();t===&quot;fill&quot;?(e.support.minHeight||(r=i.css(&quot;overflow&quot;),i.css(&quot;overflow&quot;,&qu
 ot;hidden&quot;)),n=i.height(),this.element.siblings(&quot;:visible&quot;).each(function(){var t=e(this),r=t.css(&quot;position&quot;);if(r===&quot;absolute&quot;||r===&quot;fixed&quot;)return;n-=t.outerHeight(!0)}),r&amp;&amp;i.css(&quot;overflow&quot;,r),this.element.children().not(this.panels).each(function(){n-=e(this).outerHeight(!0)}),this.panels.each(function(){e(this).height(Math.max(0,n-e(this).innerHeight()+e(this).height()))}).css(&quot;overflow&quot;,&quot;auto&quot;)):t===&quot;auto&quot;&amp;&amp;(n=0,this.panels.each(function(){n=Math.max(n,e(this).height(&quot;&quot;).height())}).height(n))},_eventHandler:function(t){var n=this.options,r=this.active,i=e(t.currentTarget),s=i.closest(&quot;li&quot;),o=s[0]===r[0],u=o&amp;&amp;n.collapsible,a=u?e():this._getPanelForTab(s),f=r.length?this._getPanelForTab(r):e(),l={oldTab:r,oldPanel:f,newTab:u?e():s,newPanel:a};t.preventDefault();if(s.hasClass(&quot;ui-state-disabled&quot;)||s.hasClass(&quot;ui-tabs-loading&quot;)
 ||this.running||o&amp;&amp;!n.collapsible||this._trigger(&quot;beforeActivate&quot;,t,l)===!1)return;n.active=u?!1:this.tabs.index(s),this.active=o?e():s,this.xhr&amp;&amp;this.xhr.abort(),!f.length&amp;&amp;!a.length&amp;&amp;e.error(&quot;jQuery UI Tabs: Mismatching fragment identifier.&quot;),a.length&amp;&amp;this.load(this.tabs.index(s),t),this._toggle(t,l)},_toggle:function(t,n){function o(){r.running=!1,r._trigger(&quot;activate&quot;,t,n)}function u(){n.newTab.closest(&quot;li&quot;).addClass(&quot;ui-tabs-active ui-state-active&quot;),i.length&amp;&amp;r.options.show?r._show(i,r.options.show,o):(i.show(),o())}var r=this,i=n.newPanel,s=n.oldPanel;this.running=!0,s.length&amp;&amp;this.options.hide?this._hide(s,this.options.hide,function(){n.oldTab.closest(&quot;li&quot;).removeClass(&quot;ui-tabs-active ui-state-active&quot;),u()}):(n.oldTab.closest(&quot;li&quot;).removeClass(&quot;ui-tabs-active ui-state-active&quot;),s.hide(),u()),s.attr({&quot;aria-expanded&quot;
 :&quot;false&quot;,&quot;aria-hidden&quot;:&quot;true&quot;}),n.oldTab.attr(&quot;aria-selected&quot;,&quot;false&quot;),i.length&amp;&amp;s.length?n.oldTab.attr(&quot;tabIndex&quot;,-1):i.length&amp;&amp;this.tabs.filter(function(){return e(this).attr(&quot;tabIndex&quot;)===0}).attr(&quot;tabIndex&quot;,-1),i.attr({&quot;aria-expanded&quot;:&quot;true&quot;,&quot;aria-hidden&quot;:&quot;false&quot;}),n.newTab.attr({&quot;aria-selected&quot;:&quot;true&quot;,tabIndex:0})},_activate:function(t){var n,r=this._findActive(t);if(r[0]===this.active[0])return;r.length||(r=this.active),n=r.find(&quot;.ui-tabs-anchor&quot;)[0],this._eventHandler({target:n,currentTarget:n,preventDefault:e.noop})},_findActive:function(t){return t===!1?e():this.tabs.eq(t)},_getIndex:function(e){return typeof e==&quot;string&quot;&amp;&amp;(e=this.anchors.index(this.anchors.filter(&quot;[href$='&quot;+e+&quot;']&quot;))),e},_destroy:function(){this.xhr&amp;&amp;this.xhr.abort(),this.element.removeClass(
 &quot;ui-tabs ui-widget ui-widget-content ui-corner-all ui-tabs-collapsible&quot;),this.tablist.removeClass(&quot;ui-tabs-nav ui-helper-reset ui-helper-clearfix ui-widget-header ui-corner-all&quot;).removeAttr(&quot;role&quot;),this.anchors.removeClass(&quot;ui-tabs-anchor&quot;).removeAttr(&quot;role&quot;).removeAttr(&quot;tabIndex&quot;).removeData(&quot;href.tabs&quot;).removeData(&quot;load.tabs&quot;).removeUniqueId(),this.tabs.add(this.panels).each(function(){e.data(this,&quot;ui-tabs-destroy&quot;)?e(this).remove():e(this).removeClass(&quot;ui-state-default ui-state-active ui-state-disabled ui-corner-top ui-corner-bottom ui-widget-content ui-tabs-active ui-tabs-panel&quot;).removeAttr(&quot;tabIndex&quot;).removeAttr(&quot;aria-live&quot;).removeAttr(&quot;aria-busy&quot;).removeAttr(&quot;aria-selected&quot;).removeAttr(&quot;aria-labelledby&quot;).removeAttr(&quot;aria-hidden&quot;).removeAttr(&quot;aria-expanded&quot;).removeAttr(&quot;role&quot;)}),this.tabs.each
 (function(){var t=e(this),n=t.data(&quot;ui-tabs-aria-controls&quot;);n?t.attr(&quot;aria-controls&quot;,n):t.removeAttr(&quot;aria-controls&quot;)}),this.options.heightStyle!==&quot;content&quot;&amp;&amp;this.panels.css(&quot;height&quot;,&quot;&quot;)},enable:function(n){var r=this.options.disabled;if(r===!1)return;n===t?r=!1:(n=this._getIndex(n),e.isArray(r)?r=e.map(r,function(e){return e!==n?e:null}):r=e.map(this.tabs,function(e,t){return t!==n?t:null})),this._setupDisabled(r)},disable:function(n){var r=this.options.disabled;if(r===!0)return;if(n===t)r=!0;else{n=this._getIndex(n);if(e.inArray(n,r)!==-1)return;e.isArray(r)?r=e.merge([n],r).sort():r=[n]}this._setupDisabled(r)},load:function(t,n){t=this._getIndex(t);var r=this,i=this.tabs.eq(t),o=i.find(&quot;.ui-tabs-anchor&quot;),u=this._getPanelForTab(i),a={tab:i,panel:u};if(s(o[0]))return;this.xhr=e.ajax(this._ajaxSettings(o,n,a)),this.xhr&amp;&amp;this.xhr.statusText!==&quot;canceled&quot;&amp;&amp;(i.addClass(&quot;u
 i-tabs-loading&quot;),u.attr(&quot;aria-busy&quot;,&quot;true&quot;),this.xhr.success(function(e){setTimeout(function(){u.html(e),r._trigger(&quot;load&quot;,n,a)},1)}).complete(function(e,t){setTimeout(function(){t===&quot;abort&quot;&amp;&amp;r.panels.stop(!1,!0),i.removeClass(&quot;ui-tabs-loading&quot;),u.removeAttr(&quot;aria-busy&quot;),e===r.xhr&amp;&amp;delete r.xhr},1)}))},_ajaxSettings:function(t,n,r){var i=this;return{url:t.attr(&quot;href&quot;),beforeSend:function(t,s){return i._trigger(&quot;beforeLoad&quot;,n,e.extend({jqXHR:t,ajaxSettings:s},r))}}},_getPanelForTab:function(t){var n=e(t).attr(&quot;aria-controls&quot;);return this.element.find(this._sanitizeSelector(&quot;#&quot;+n))}}),e.uiBackCompat!==!1&amp;&amp;(e.ui.tabs.prototype._ui=function(e,t){return{tab:e,panel:t,index:this.anchors.index(e)}},e.widget(&quot;ui.tabs&quot;,e.ui.tabs,{url:function(e,t){this.anchors.eq(e).attr(&quot;href&quot;,t)}}),e.widget(&quot;ui.tabs&quot;,e.ui.tabs,{options:{ajaxO
 ptions:null,cache:!1},_create:function(){this._super();var t=this;this._on({tabsbeforeload:function(n,r){if(e.data(r.tab[0],&quot;cache.tabs&quot;)){n.preventDefault();return}r.jqXHR.success(function(){t.options.cache&amp;&amp;e.data(r.tab[0],&quot;cache.tabs&quot;,!0)})}})},_ajaxSettings:function(t,n,r){var i=this.options.ajaxOptions;return e.extend({},i,{error:function(e,t,n){try{i.error(e,t,r.tab.closest(&quot;li&quot;).index(),r.tab[0])}catch(n){}}},this._superApply(arguments))},_setOption:function(e,t){e===&quot;cache&quot;&amp;&amp;t===!1&amp;&amp;this.anchors.removeData(&quot;cache.tabs&quot;),this._super(e,t)},_destroy:function(){this.anchors.removeData(&quot;cache.tabs&quot;),this._super()},url:function(e,t){this.anchors.eq(e).removeData(&quot;cache.tabs&quot;),this._superApply(arguments)}}),e.widget(&quot;ui.tabs&quot;,e.ui.tabs,{abort:function(){this.xhr&amp;&amp;this.xhr.abort()}}),e.widget(&quot;ui.tabs&quot;,e.ui.tabs,{options:{spinner:&quot;&lt;em&gt;Loading&a
 mp;#8230;&lt;/em&gt;&quot;},_create:function(){this._super(),this._on({tabsbeforeload:function(e,t){if(e.target!==this.element[0]||!this.options.spinner)return;var n=t.tab.find(&quot;span&quot;),r=n.html();n.html(this.options.spinner),t.jqXHR.complete(function(){n.html(r)})}})}}),e.widget(&quot;ui.tabs&quot;,e.ui.tabs,{options:{enable:null,disable:null},enable:function(t){var n=this.options,r;if(t&amp;&amp;n.disabled===!0||e.isArray(n.disabled)&amp;&amp;e.inArray(t,n.disabled)!==-1)r=!0;this._superApply(arguments),r&amp;&amp;this._trigger(&quot;enable&quot;,null,this._ui(this.anchors[t],this.panels[t]))},disable:function(t){var n=this.options,r;if(t&amp;&amp;n.disabled===!1||e.isArray(n.disabled)&amp;&amp;e.inArray(t,n.disabled)===-1)r=!0;this._superApply(arguments),r&amp;&amp;this._trigger(&quot;disable&quot;,null,this._ui(this.anchors[t],this.panels[t]))}}),e.widget(&quot;ui.tabs&quot;,e.ui.tabs,{options:{add:null,remove:null,tabTemplate:&quot;&lt;li&gt;&lt;a href='#{href}
 '&gt;&lt;span&gt;#{label}&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;&quot;},add:function(n,r,i){i===t&amp;&amp;(i=this.anchors.length);var s,o,u=this.options,a=e(u.tabTemplate.replace(/#\{href\}/g,n).replace(/#\{label\}/g,r)),f=n.indexOf(&quot;#&quot;)?this._tabId(a):n.replace(&quot;#&quot;,&quot;&quot;);return a.addClass(&quot;ui-state-default ui-corner-top&quot;).data(&quot;ui-tabs-destroy&quot;,!0),a.attr(&quot;aria-controls&quot;,f),s=i&gt;=this.tabs.length,o=this.element.find(&quot;#&quot;+f),o.length||(o=this._createPanel(f),s?i&gt;0?o.insertAfter(this.panels.eq(-1)):o.appendTo(this.element):o.insertBefore(this.panels[i])),o.addClass(&quot;ui-tabs-panel ui-widget-content ui-corner-bottom&quot;).hide(),s?a.appendTo(this.tablist):a.insertBefore(this.tabs[i]),u.disabled=e.map(u.disabled,function(e){return e&gt;=i?++e:e}),this.refresh(),this.tabs.length===1&amp;&amp;u.active===!1&amp;&amp;this.option(&quot;active&quot;,0),this._trigger(&quot;add&quot;,null,this._ui(this.anchors[i],
 this.panels[i])),this},remove:function(t){t=this._getIndex(t);var n=this.options,r=this.tabs.eq(t).remove(),i=this._getPanelForTab(r).remove();return r.hasClass(&quot;ui-tabs-active&quot;)&amp;&amp;this.anchors.length&gt;2&amp;&amp;this._activate(t+(t+1&lt;this.anchors.length?1:-1)),n.disabled=e.map(e.grep(n.disabled,function(e){return e!==t}),function(e){return e&gt;=t?--e:e}),this.refresh(),this._trigger(&quot;remove&quot;,null,this._ui(r.find(&quot;a&quot;)[0],i[0])),this}}),e.widget(&quot;ui.tabs&quot;,e.ui.tabs,{length:function(){return this.anchors.length}}),e.widget(&quot;ui.tabs&quot;,e.ui.tabs,{options:{idPrefix:&quot;ui-tabs-&quot;},_tabId:function(t){var n=t.is(&quot;li&quot;)?t.find(&quot;a[href]&quot;):t;return n=n[0],e(n).closest(&quot;li&quot;).attr(&quot;aria-controls&quot;)||n.title&amp;&amp;n.title.replace(/\s/g,&quot;_&quot;).replace(/[^\w\u00c0-\uFFFF\-]/g,&quot;&quot;)||this.options.idPrefix+i()}}),e.widget(&quot;ui.tabs&quot;,e.ui.tabs,{options:{panelTe
 mplate:&quot;&lt;div&gt;&lt;/div&gt;&quot;},_createPanel:function(t){return e(this.options.panelTemplate).attr(&quot;id&quot;,t).addClass(&quot;ui-tabs-panel ui-widget-content ui-corner-bottom&quot;).data(&quot;ui-tabs-destroy&quot;,!0)}}),e.widget(&quot;ui.tabs&quot;,e.ui.tabs,{_create:function(){var e=this.options;e.active===null&amp;&amp;e.selected!==t&amp;&amp;(e.active=e.selected===-1?!1:e.selected),this._super(),e.selected=e.active,e.selected===!1&amp;&amp;(e.selected=-1)},_setOption:function(e,t){if(e!==&quot;selected&quot;)return this._super(e,t);var n=this.options;this._super(&quot;active&quot;,t===-1?!1:t),n.selected=n.active,n.selected===!1&amp;&amp;(n.selected=-1)},_eventHandler:function(e){this._superApply(arguments),this.options.selected=this.options.active,this.options.selected===!1&amp;&amp;(this.options.selected=-1)}}),e.widget(&quot;ui.tabs&quot;,e.ui.tabs,{options:{show:null,select:null},_create:function(){this._super(),this.options.active!==!1&amp;&amp;th
 is._trigger(&quot;show&quot;,null,this._ui(this.active.find(&quot;.ui-tabs-anchor&quot;)[0],this._getPanelForTab(this.active)[0]))},_trigger:function(e,t,n){var r=this._superApply(arguments);return r?(e===&quot;beforeActivate&quot;&amp;&amp;n.newTab.length?r=this._super(&quot;select&quot;,t,{tab:n.newTab.find(&quot;.ui-tabs-anchor&quot;)[0],panel:n.newPanel[0],index:n.newTab.closest(&quot;li&quot;).index()}):e===&quot;activate&quot;&amp;&amp;n.newTab.length&amp;&amp;(r=this._super(&quot;show&quot;,t,{tab:n.newTab.find(&quot;.ui-tabs-anchor&quot;)[0],panel:n.newPanel[0],index:n.newTab.closest(&quot;li&quot;).index()})),r):!1}}),e.widget(&quot;ui.tabs&quot;,e.ui.tabs,{select:function(e){e=this._getIndex(e);if(e===-1){if(!this.options.collapsible||this.options.selected===-1)return;e=this.options.selected}this.anchors.eq(e).trigger(this.options.event+this.eventNamespace)}}),function(){var t=0;e.widget(&quot;ui.tabs&quot;,e.ui.tabs,{options:{cookie:null},_create:function(){var e=
 this.options,t;e.active==null&amp;&amp;e.cookie&amp;&amp;(t=parseInt(this._cookie(),10),t===-1&amp;&amp;(t=!1),e.active=t),this._super()},_cookie:function(n){var r=[this.cookie||(this.cookie=this.options.cookie.name||&quot;ui-tabs-&quot;+ ++t)];return arguments.length&amp;&amp;(r.push(n===!1?-1:n),r.push(this.options.cookie)),e.cookie.apply(null,r)},_refresh:function(){this._super(),this.options.cookie&amp;&amp;this._cookie(this.options.active,this.options.cookie)},_eventHandler:function(e){this._superApply(arguments),this.options.cookie&amp;&amp;this._cookie(this.options.active,this.options.cookie)},_destroy:function(){this._super(),this.options.cookie&amp;&amp;this._cookie(null,this.options.cookie)}})}(),e.widget(&quot;ui.tabs&quot;,e.ui.tabs,{_trigger:function(t,n,r){var i=e.extend({},r);return t===&quot;load&quot;&amp;&amp;(i.panel=i.panel[0],i.tab=i.tab.find(&quot;.ui-tabs-anchor&quot;)[0]),this._super(t,n,i)}}),e.widget(&quot;ui.tabs&quot;,e.ui.tabs,{options:{fx:null},
 _getFx:function(){var t,n,r=this.options.fx;return r&amp;&amp;(e.isArray(r)?(t=r[0],n=r[1]):t=n=r),r?{show:n,hide:t}:null},_toggle:function(e,t){function o(){n.running=!1,n._trigger(&quot;activate&quot;,e,t)}function u(){t.newTab.closest(&quot;li&quot;).addClass(&quot;ui-tabs-active ui-state-active&quot;),r.length&amp;&amp;s.show?r.animate(s.show,s.show.duration,function(){o()}):(r.show(),o())}var n=this,r=t.newPanel,i=t.oldPanel,s=this._getFx();if(!s)return this._super(e,t);n.running=!0,i.length&amp;&amp;s.hide?i.animate(s.hide,s.hide.duration,function(){t.oldTab.closest(&quot;li&quot;).removeClass(&quot;ui-tabs-active ui-state-active&quot;),u()}):(t.oldTab.closest(&quot;li&quot;).removeClass(&quot;ui-tabs-active ui-state-active&quot;),i.hide(),u())}}))})(jQuery);
</ins><span class="cx">\ No newline at end of file
</span></span></pre></div>
<a id="trunkwpincludesjsjqueryuijqueryuitooltipminjs"></a>
<div class="modfile"><h4>Modified: trunk/wp-includes/js/jquery/ui/jquery.ui.tooltip.min.js (22181 => 22182)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-includes/js/jquery/ui/jquery.ui.tooltip.min.js        2012-10-11 03:29:02 UTC (rev 22181)
+++ trunk/wp-includes/js/jquery/ui/jquery.ui.tooltip.min.js        2012-10-11 03:34:19 UTC (rev 22182)
</span><span class="lines">@@ -1,5 +1,5 @@
</span><del>-/*! jQuery UI - v1.9.0pre - 2012-08-29
</del><ins>+/*! jQuery UI - v1.9.0 - 2012-10-05
</ins><span class="cx"> * http://jqueryui.com
</span><span class="cx"> * Includes: jquery.ui.tooltip.js
</span><span class="cx"> * Copyright 2012 jQuery Foundation and other contributors; Licensed MIT */
</span><del>-(function(e){function n(t,n){var r=(t.attr(&quot;aria-describedby&quot;)||&quot;&quot;).split(/\s+/);r.push(n),t.data(&quot;ui-tooltip-id&quot;,n).attr(&quot;aria-describedby&quot;,e.trim(r.join(&quot; &quot;)))}function r(t){var n=t.data(&quot;ui-tooltip-id&quot;),r=(t.attr(&quot;aria-describedby&quot;)||&quot;&quot;).split(/\s+/),i=e.inArray(n,r);i!==-1&amp;&amp;r.splice(i,1),t.removeData(&quot;ui-tooltip-id&quot;),r=e.trim(r.join(&quot; &quot;)),r?t.attr(&quot;aria-describedby&quot;,r):t.removeAttr(&quot;aria-describedby&quot;)}var t=0;e.widget(&quot;ui.tooltip&quot;,{version:&quot;@VERSION&quot;,options:{content:function(){return e(this).attr(&quot;title&quot;)},hide:!0,items:&quot;[title]&quot;,position:{my:&quot;left+15 center&quot;,at:&quot;right center&quot;,collision:&quot;flipfit flipfit&quot;},show:!0,tooltipClass:null,track:!1,close:null,open:null},_create:function(){this._on({mouseover:&quot;open&quot;,focusin:&quot;open&quot;}),this.tooltips={}},_se
 tOption:function(e,t){if(e===&quot;disabled&quot;){this[t?&quot;_disable&quot;:&quot;_enable&quot;](),this.options[e]=t;return}this._super(e,t)},_disable:function(){var t=this;e.each(this.tooltips,function(n,r){var i=e.Event(&quot;blur&quot;);i.target=i.currentTarget=r[0],t.close(i,!0)}),this.element.find(this.options.items).andSelf().each(function(){var t=e(this);t.is(&quot;[title]&quot;)&amp;&amp;t.data(&quot;ui-tooltip-title&quot;,t.attr(&quot;title&quot;)).attr(&quot;title&quot;,&quot;&quot;)})},_enable:function(){this.element.find(this.options.items).andSelf().each(function(){var t=e(this);t.data(&quot;ui-tooltip-title&quot;)&amp;&amp;t.attr(&quot;title&quot;,t.data(&quot;ui-tooltip-title&quot;))})},open:function(t){var n,r=this,i=e(t?t.target:this.element).closest(this.options.items);if(!i.length)return;if(this.options.track&amp;&amp;i.data(&quot;ui-tooltip-id&quot;)){this._find(i).position(e.extend({of:i},this.options.position));return}i.attr(&quot;title&quot;)&amp;&a
 mp;i.data(&quot;ui-tooltip-title&quot;,i.attr(&quot;title&quot;)),i.data(&quot;tooltip-open&quot;,!0),n=this.options.content.call(i[0],function(e){if(!i.data(&quot;tooltip-open&quot;))return;setTimeout(function(){r._open(t,i,e)},1)}),n&amp;&amp;r._open(t,i,n)},_open:function(t,r,i){function u(e){o.of=e,s.position(o)}var s,o;if(!i)return;s=this._find(r);if(s.length){s.find(&quot;.ui-tooltip-content&quot;).html(i);return}r.is(&quot;[title]&quot;)&amp;&amp;(t&amp;&amp;t.type===&quot;mouseover&quot;?r.attr(&quot;title&quot;,&quot;&quot;):r.removeAttr(&quot;title&quot;)),s=this._tooltip(r),n(r,s.attr(&quot;id&quot;)),s.find(&quot;.ui-tooltip-content&quot;).html(i),this.options.track&amp;&amp;/^mouse/.test(t.originalEvent.type)?(o=e.extend({},this.options.position),this._on(this.document,{mousemove:u}),u(t)):s.position(e.extend({of:r},this.options.position)),s.hide(),this._show(s,this.options.show),this._trigger(&quot;open&quot;,t,{tooltip:s}),this._on(r,{mouseleave:&quot;close&qu
 ot;,focusout:&quot;close&quot;,keyup:function(t){if(t.keyCode===e.ui.keyCode.ESCAPE){var n=e.Event(t);n.currentTarget=r[0],this.close(n,!0)}}})},close:function(t,n){var i=this,s=e(t?t.currentTarget:this.element),o=this._find(s);if(this.closing)return;if(!n&amp;&amp;t&amp;&amp;t.type!==&quot;focusout&quot;&amp;&amp;this.document[0].activeElement===s[0])return;s.data(&quot;ui-tooltip-title&quot;)&amp;&amp;s.attr(&quot;title&quot;,s.data(&quot;ui-tooltip-title&quot;)),r(s),o.stop(!0),this._hide(o,this.options.hide,function(){e(this).remove(),delete i.tooltips[this.id]}),s.removeData(&quot;tooltip-open&quot;),this._off(s,&quot;mouseleave focusout keyup&quot;),this._off(this.document,&quot;mousemove&quot;),this.closing=!0,this._trigger(&quot;close&quot;,t,{tooltip:o}),this.closing=!1},_tooltip:function(n){var r=&quot;ui-tooltip-&quot;+t++,i=e(&quot;&lt;div&gt;&quot;).attr({id:r,role:&quot;tooltip&quot;}).addClass(&quot;ui-tooltip ui-widget ui-corner-all ui-widget-content &quot;+(
 this.options.tooltipClass||&quot;&quot;));return e(&quot;&lt;div&gt;&quot;).addClass(&quot;ui-tooltip-content&quot;).appendTo(i),i.appendTo(this.document[0].body),e.fn.bgiframe&amp;&amp;i.bgiframe(),this.tooltips[r]=n,i},_find:function(t){var n=t.data(&quot;ui-tooltip-id&quot;);return n?e(&quot;#&quot;+n):e()},_destroy:function(){e.each(this.tooltips,function(t){e(&quot;#&quot;+t).remove()})}})})(jQuery);
</del><span class="cx">\ No newline at end of file
</span><ins>+(function(e){function n(t,n){var r=(t.attr(&quot;aria-describedby&quot;)||&quot;&quot;).split(/\s+/);r.push(n),t.data(&quot;ui-tooltip-id&quot;,n).attr(&quot;aria-describedby&quot;,e.trim(r.join(&quot; &quot;)))}function r(t){var n=t.data(&quot;ui-tooltip-id&quot;),r=(t.attr(&quot;aria-describedby&quot;)||&quot;&quot;).split(/\s+/),i=e.inArray(n,r);i!==-1&amp;&amp;r.splice(i,1),t.removeData(&quot;ui-tooltip-id&quot;),r=e.trim(r.join(&quot; &quot;)),r?t.attr(&quot;aria-describedby&quot;,r):t.removeAttr(&quot;aria-describedby&quot;)}var t=0;e.widget(&quot;ui.tooltip&quot;,{version:&quot;1.9.0&quot;,options:{content:function(){return e(this).attr(&quot;title&quot;)},hide:!0,items:&quot;[title]&quot;,position:{my:&quot;left+15 center&quot;,at:&quot;right center&quot;,collision:&quot;flipfit flipfit&quot;},show:!0,tooltipClass:null,track:!1,close:null,open:null},_create:function(){this._on({mouseover:&quot;open&quot;,focusin:&quot;open&quot;}),this.tooltips={}},_setOp
 tion:function(t,n){var r=this;if(t===&quot;disabled&quot;){this[n?&quot;_disable&quot;:&quot;_enable&quot;](),this.options[t]=n;return}this._super(t,n),t===&quot;content&quot;&amp;&amp;e.each(this.tooltips,function(e,t){r._updateContent(t)})},_disable:function(){var t=this;e.each(this.tooltips,function(n,r){var i=e.Event(&quot;blur&quot;);i.target=i.currentTarget=r[0],t.close(i,!0)}),this.element.find(this.options.items).andSelf().each(function(){var t=e(this);t.is(&quot;[title]&quot;)&amp;&amp;t.data(&quot;ui-tooltip-title&quot;,t.attr(&quot;title&quot;)).attr(&quot;title&quot;,&quot;&quot;)})},_enable:function(){this.element.find(this.options.items).andSelf().each(function(){var t=e(this);t.data(&quot;ui-tooltip-title&quot;)&amp;&amp;t.attr(&quot;title&quot;,t.data(&quot;ui-tooltip-title&quot;))})},open:function(t){var n=e(t?t.target:this.element).closest(this.options.items);if(!n.length)return;if(this.options.track&amp;&amp;n.data(&quot;ui-tooltip-id&quot;)){this._find(n)
 .position(e.extend({of:n},this.options.position)),this._off(this.document,&quot;mousemove&quot;);return}n.attr(&quot;title&quot;)&amp;&amp;n.data(&quot;ui-tooltip-title&quot;,n.attr(&quot;title&quot;)),n.data(&quot;tooltip-open&quot;,!0),this._updateContent(n,t)},_updateContent:function(e,t){var n,r=this.options.content,i=this;if(typeof r==&quot;string&quot;)return this._open(t,e,r);n=r.call(e[0],function(n){if(!e.data(&quot;tooltip-open&quot;))return;i._delay(function(){this._open(t,e,n)})}),n&amp;&amp;this._open(t,e,n)},_open:function(t,r,i){function u(e){o.of=e,s.position(o)}var s,o;if(!i)return;s=this._find(r);if(s.length){s.find(&quot;.ui-tooltip-content&quot;).html(i);return}r.is(&quot;[title]&quot;)&amp;&amp;(t&amp;&amp;t.type===&quot;mouseover&quot;?r.attr(&quot;title&quot;,&quot;&quot;):r.removeAttr(&quot;title&quot;)),s=this._tooltip(r),n(r,s.attr(&quot;id&quot;)),s.find(&quot;.ui-tooltip-content&quot;).html(i),this.options.track&amp;&amp;t&amp;&amp;/^mouse/.test(t
 .originalEvent.type)?(o=e.extend({},this.options.position),this._on(this.document,{mousemove:u}),u(t)):s.position(e.extend({of:r},this.options.position)),s.hide(),this._show(s,this.options.show),this._trigger(&quot;open&quot;,t,{tooltip:s}),this._on(r,{mouseleave:&quot;close&quot;,focusout:&quot;close&quot;,keyup:function(t){if(t.keyCode===e.ui.keyCode.ESCAPE){var n=e.Event(t);n.currentTarget=r[0],this.close(n,!0)}}})},close:function(t,n){var i=this,s=e(t?t.currentTarget:this.element),o=this._find(s);if(this.closing)return;if(!n&amp;&amp;t&amp;&amp;t.type!==&quot;focusout&quot;&amp;&amp;this.document[0].activeElement===s[0])return;s.data(&quot;ui-tooltip-title&quot;)&amp;&amp;s.attr(&quot;title&quot;,s.data(&quot;ui-tooltip-title&quot;)),r(s),o.stop(!0),this._hide(o,this.options.hide,function(){e(this).remove(),delete i.tooltips[this.id]}),s.removeData(&quot;tooltip-open&quot;),this._off(s,&quot;mouseleave focusout keyup&quot;),this._off(this.document,&quot;mousemove&quot;),
 this.closing=!0,this._trigger(&quot;close&quot;,t,{tooltip:o}),this.closing=!1},_tooltip:function(n){var r=&quot;ui-tooltip-&quot;+t++,i=e(&quot;&lt;div&gt;&quot;).attr({id:r,role:&quot;tooltip&quot;}).addClass(&quot;ui-tooltip ui-widget ui-corner-all ui-widget-content &quot;+(this.options.tooltipClass||&quot;&quot;));return e(&quot;&lt;div&gt;&quot;).addClass(&quot;ui-tooltip-content&quot;).appendTo(i),i.appendTo(this.document[0].body),e.fn.bgiframe&amp;&amp;i.bgiframe(),this.tooltips[r]=n,i},_find:function(t){var n=t.data(&quot;ui-tooltip-id&quot;);return n?e(&quot;#&quot;+n):e()},_destroy:function(){var t=this;e.each(this.tooltips,function(n,r){var i=e.Event(&quot;blur&quot;);i.target=i.currentTarget=r[0],t.close(i,!0),e(&quot;#&quot;+n).remove(),r.data(&quot;ui-tooltip-title&quot;)&amp;&amp;(r.attr(&quot;title&quot;,r.data(&quot;ui-tooltip-title&quot;)),r.removeData(&quot;ui-tooltip-title&quot;))})}})})(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 (22181 => 22182)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-includes/js/jquery/ui/jquery.ui.widget.min.js        2012-10-11 03:29:02 UTC (rev 22181)
+++ trunk/wp-includes/js/jquery/ui/jquery.ui.widget.min.js        2012-10-11 03:34:19 UTC (rev 22182)
</span><span class="lines">@@ -1,4 +1,4 @@
</span><del>-/*! jQuery UI - v1.9.0pre - 2012-08-29
</del><ins>+/*! jQuery UI - v1.9.0 - 2012-10-05
</ins><span class="cx"> * http://jqueryui.com
</span><span class="cx"> * Includes: jquery.ui.widget.js
</span><span class="cx"> * Copyright 2012 jQuery Foundation and other contributors; Licensed MIT */
</span></span></pre></div>
<a id="trunkwpincludesscriptloaderphp"></a>
<div class="modfile"><h4>Modified: trunk/wp-includes/script-loader.php (22181 => 22182)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-includes/script-loader.php        2012-10-11 03:29:02 UTC (rev 22181)
+++ trunk/wp-includes/script-loader.php        2012-10-11 03:34:19 UTC (rev 22182)
</span><span class="lines">@@ -122,42 +122,42 @@
</span><span class="cx">         $scripts-&gt;add( 'jquery', '/wp-includes/js/jquery/jquery.js', array(), '1.8.2' );
</span><span class="cx"> 
</span><span class="cx">         // full jQuery UI
</span><del>-        $scripts-&gt;add( 'jquery-ui-core', '/wp-includes/js/jquery/ui/jquery.ui.core.min.js', array('jquery'), '1.9pre', 1 );
-        $scripts-&gt;add( 'jquery-effects-core', '/wp-includes/js/jquery/ui/jquery.ui.effect.min.js', array('jquery'), '1.9pre', 1 );
</del><ins>+        $scripts-&gt;add( 'jquery-ui-core', '/wp-includes/js/jquery/ui/jquery.ui.core.min.js', array('jquery'), '1.9.0', 1 );
+        $scripts-&gt;add( 'jquery-effects-core', '/wp-includes/js/jquery/ui/jquery.ui.effect.min.js', array('jquery'), '1.9.0', 1 );
</ins><span class="cx"> 
</span><del>-        $scripts-&gt;add( 'jquery-effects-blind', '/wp-includes/js/jquery/ui/jquery.ui.effect-blind.min.js', array('jquery-effects-core'), '1.9pre', 1 );
-        $scripts-&gt;add( 'jquery-effects-bounce', '/wp-includes/js/jquery/ui/jquery.ui.effect-bounce.min.js', array('jquery-effects-core'), '1.9pre', 1 );
-        $scripts-&gt;add( 'jquery-effects-clip', '/wp-includes/js/jquery/ui/jquery.ui.effect-clip.min.js', array('jquery-effects-core'), '1.9pre', 1 );
-        $scripts-&gt;add( 'jquery-effects-drop', '/wp-includes/js/jquery/ui/jquery.ui.effect-drop.min.js', array('jquery-effects-core'), '1.9pre', 1 );
-        $scripts-&gt;add( 'jquery-effects-explode', '/wp-includes/js/jquery/ui/jquery.ui.effect-explode.min.js', array('jquery-effects-core'), '1.9pre', 1 );
-        $scripts-&gt;add( 'jquery-effects-fade', '/wp-includes/js/jquery/ui/jquery.ui.effect-fade.min.js', array('jquery-effects-core'), '1.9pre', 1 );
-        $scripts-&gt;add( 'jquery-effects-fold', '/wp-includes/js/jquery/ui/jquery.ui.effect-fold.min.js', array('jquery-effects-core'), '1.9pre', 1 );
-        $scripts-&gt;add( 'jquery-effects-highlight', '/wp-includes/js/jquery/ui/jquery.ui.effect-highlight.min.js', array('jquery-effects-core'), '1.9pre', 1 );
-        $scripts-&gt;add( 'jquery-effects-pulsate', '/wp-includes/js/jquery/ui/jquery.ui.effect-pulsate.min.js', array('jquery-effects-core'), '1.9pre', 1 );
-        $scripts-&gt;add( 'jquery-effects-scale', '/wp-includes/js/jquery/ui/jquery.ui.effect-scale.min.js', array('jquery-effects-core'), '1.9pre', 1 );
-        $scripts-&gt;add( 'jquery-effects-shake', '/wp-includes/js/jquery/ui/jquery.ui.effect-shake.min.js', array('jquery-effects-core'), '1.9pre', 1 );
-        $scripts-&gt;add( 'jquery-effects-slide', '/wp-includes/js/jquery/ui/jquery.ui.effect-slide.min.js', array('jquery-effects-core'), '1.9pre', 1 );
-        $scripts-&gt;add( 'jquery-effects-transfer', '/wp-includes/js/jquery/ui/jquery.ui.effect-transfer.min.js', array('jquery-effects-core'), '1.9pre', 1 );
</del><ins>+        $scripts-&gt;add( 'jquery-effects-blind', '/wp-includes/js/jquery/ui/jquery.ui.effect-blind.min.js', array('jquery-effects-core'), '1.9.0', 1 );
+        $scripts-&gt;add( 'jquery-effects-bounce', '/wp-includes/js/jquery/ui/jquery.ui.effect-bounce.min.js', array('jquery-effects-core'), '1.9.0', 1 );
+        $scripts-&gt;add( 'jquery-effects-clip', '/wp-includes/js/jquery/ui/jquery.ui.effect-clip.min.js', array('jquery-effects-core'), '1.9.0', 1 );
+        $scripts-&gt;add( 'jquery-effects-drop', '/wp-includes/js/jquery/ui/jquery.ui.effect-drop.min.js', array('jquery-effects-core'), '1.9.0', 1 );
+        $scripts-&gt;add( 'jquery-effects-explode', '/wp-includes/js/jquery/ui/jquery.ui.effect-explode.min.js', array('jquery-effects-core'), '1.9.0', 1 );
+        $scripts-&gt;add( 'jquery-effects-fade', '/wp-includes/js/jquery/ui/jquery.ui.effect-fade.min.js', array('jquery-effects-core'), '1.9.0', 1 );
+        $scripts-&gt;add( 'jquery-effects-fold', '/wp-includes/js/jquery/ui/jquery.ui.effect-fold.min.js', array('jquery-effects-core'), '1.9.0', 1 );
+        $scripts-&gt;add( 'jquery-effects-highlight', '/wp-includes/js/jquery/ui/jquery.ui.effect-highlight.min.js', array('jquery-effects-core'), '1.9.0', 1 );
+        $scripts-&gt;add( 'jquery-effects-pulsate', '/wp-includes/js/jquery/ui/jquery.ui.effect-pulsate.min.js', array('jquery-effects-core'), '1.9.0', 1 );
+        $scripts-&gt;add( 'jquery-effects-scale', '/wp-includes/js/jquery/ui/jquery.ui.effect-scale.min.js', array('jquery-effects-core'), '1.9.0', 1 );
+        $scripts-&gt;add( 'jquery-effects-shake', '/wp-includes/js/jquery/ui/jquery.ui.effect-shake.min.js', array('jquery-effects-core'), '1.9.0', 1 );
+        $scripts-&gt;add( 'jquery-effects-slide', '/wp-includes/js/jquery/ui/jquery.ui.effect-slide.min.js', array('jquery-effects-core'), '1.9.0', 1 );
+        $scripts-&gt;add( 'jquery-effects-transfer', '/wp-includes/js/jquery/ui/jquery.ui.effect-transfer.min.js', array('jquery-effects-core'), '1.9.0', 1 );
</ins><span class="cx"> 
</span><del>-        $scripts-&gt;add( 'jquery-ui-accordion', '/wp-includes/js/jquery/ui/jquery.ui.accordion.min.js', array('jquery-ui-core', 'jquery-ui-widget'), '1.9pre', 1 );
-        $scripts-&gt;add( 'jquery-ui-autocomplete', '/wp-includes/js/jquery/ui/jquery.ui.autocomplete.min.js', array('jquery-ui-core', 'jquery-ui-widget', 'jquery-ui-position', 'jquery-ui-menu'), '1.9pre', 1 );
-        $scripts-&gt;add( 'jquery-ui-button', '/wp-includes/js/jquery/ui/jquery.ui.button.min.js', array('jquery-ui-core', 'jquery-ui-widget'), '1.9pre', 1 );
-        $scripts-&gt;add( 'jquery-ui-datepicker', '/wp-includes/js/jquery/ui/jquery.ui.datepicker.min.js', array('jquery-ui-core'), '1.9pre', 1 );
-        $scripts-&gt;add( 'jquery-ui-dialog', '/wp-includes/js/jquery/ui/jquery.ui.dialog.min.js', array('jquery-ui-resizable', 'jquery-ui-draggable', 'jquery-ui-button', 'jquery-ui-position'), '1.9pre', 1 );
-        $scripts-&gt;add( 'jquery-ui-draggable', '/wp-includes/js/jquery/ui/jquery.ui.draggable.min.js', array('jquery-ui-core', 'jquery-ui-mouse'), '1.9pre', 1 );
-        $scripts-&gt;add( 'jquery-ui-droppable', '/wp-includes/js/jquery/ui/jquery.ui.droppable.min.js', array('jquery-ui-draggable'), '1.9pre', 1 );
-        $scripts-&gt;add( 'jquery-ui-menu', '/wp-includes/js/jquery/ui/jquery.ui.menu.min.js', array( 'jquery-ui-core', 'jquery-ui-widget', 'jquery-ui-position' ), '1.9pre', 1 );
-        $scripts-&gt;add( 'jquery-ui-mouse', '/wp-includes/js/jquery/ui/jquery.ui.mouse.min.js', array('jquery-ui-widget'), '1.9pre', 1 );
-        $scripts-&gt;add( 'jquery-ui-position', '/wp-includes/js/jquery/ui/jquery.ui.position.min.js', array('jquery'), '1.9pre', 1 );
-        $scripts-&gt;add( 'jquery-ui-progressbar', '/wp-includes/js/jquery/ui/jquery.ui.progressbar.min.js', array('jquery-ui-widget'), '1.9pre', 1 );
-        $scripts-&gt;add( 'jquery-ui-resizable', '/wp-includes/js/jquery/ui/jquery.ui.resizable.min.js', array('jquery-ui-core', 'jquery-ui-mouse'), '1.9pre', 1 );
-        $scripts-&gt;add( 'jquery-ui-selectable', '/wp-includes/js/jquery/ui/jquery.ui.selectable.min.js', array('jquery-ui-core', 'jquery-ui-mouse'), '1.9pre', 1 );
-        $scripts-&gt;add( 'jquery-ui-slider', '/wp-includes/js/jquery/ui/jquery.ui.slider.min.js', array('jquery-ui-core', 'jquery-ui-mouse'), '1.9pre', 1 );
-        $scripts-&gt;add( 'jquery-ui-sortable', '/wp-includes/js/jquery/ui/jquery.ui.sortable.min.js', array('jquery-ui-core', 'jquery-ui-mouse'), '1.9pre', 1 );
-        $scripts-&gt;add( 'jquery-ui-spinner', '/wp-includes/js/jquery/ui/jquery.ui.spinner.min.js', array( 'jquery-ui-core', 'jquery-ui-widget', 'jquery-ui-button' ), '1.9pre', 1 );
-        $scripts-&gt;add( 'jquery-ui-tabs', '/wp-includes/js/jquery/ui/jquery.ui.tabs.min.js', array('jquery-ui-core', 'jquery-ui-widget'), '1.9pre', 1 );
-        $scripts-&gt;add( 'jquery-ui-tooltip', '/wp-includes/js/jquery/ui/jquery.ui.tooltip.min.js', array( 'jquery-ui-core', 'jquery-ui-widget', 'jquery-ui-position' ), '1.9pre', 1 );
-        $scripts-&gt;add( 'jquery-ui-widget', '/wp-includes/js/jquery/ui/jquery.ui.widget.min.js', array('jquery'), '1.9pre', 1 );
</del><ins>+        $scripts-&gt;add( 'jquery-ui-accordion', '/wp-includes/js/jquery/ui/jquery.ui.accordion.min.js', array('jquery-ui-core', 'jquery-ui-widget'), '1.9.0', 1 );
+        $scripts-&gt;add( 'jquery-ui-autocomplete', '/wp-includes/js/jquery/ui/jquery.ui.autocomplete.min.js', array('jquery-ui-core', 'jquery-ui-widget', 'jquery-ui-position', 'jquery-ui-menu'), '1.9.0', 1 );
+        $scripts-&gt;add( 'jquery-ui-button', '/wp-includes/js/jquery/ui/jquery.ui.button.min.js', array('jquery-ui-core', 'jquery-ui-widget'), '1.9.0', 1 );
+        $scripts-&gt;add( 'jquery-ui-datepicker', '/wp-includes/js/jquery/ui/jquery.ui.datepicker.min.js', array('jquery-ui-core'), '1.9.0', 1 );
+        $scripts-&gt;add( 'jquery-ui-dialog', '/wp-includes/js/jquery/ui/jquery.ui.dialog.min.js', array('jquery-ui-resizable', 'jquery-ui-draggable', 'jquery-ui-button', 'jquery-ui-position'), '1.9.0', 1 );
+        $scripts-&gt;add( 'jquery-ui-draggable', '/wp-includes/js/jquery/ui/jquery.ui.draggable.min.js', array('jquery-ui-core', 'jquery-ui-mouse'), '1.9.0', 1 );
+        $scripts-&gt;add( 'jquery-ui-droppable', '/wp-includes/js/jquery/ui/jquery.ui.droppable.min.js', array('jquery-ui-draggable'), '1.9.0', 1 );
+        $scripts-&gt;add( 'jquery-ui-menu', '/wp-includes/js/jquery/ui/jquery.ui.menu.min.js', array( 'jquery-ui-core', 'jquery-ui-widget', 'jquery-ui-position' ), '1.9.0', 1 );
+        $scripts-&gt;add( 'jquery-ui-mouse', '/wp-includes/js/jquery/ui/jquery.ui.mouse.min.js', array('jquery-ui-widget'), '1.9.0', 1 );
+        $scripts-&gt;add( 'jquery-ui-position', '/wp-includes/js/jquery/ui/jquery.ui.position.min.js', array('jquery'), '1.9.0', 1 );
+        $scripts-&gt;add( 'jquery-ui-progressbar', '/wp-includes/js/jquery/ui/jquery.ui.progressbar.min.js', array('jquery-ui-widget'), '1.9.0', 1 );
+        $scripts-&gt;add( 'jquery-ui-resizable', '/wp-includes/js/jquery/ui/jquery.ui.resizable.min.js', array('jquery-ui-core', 'jquery-ui-mouse'), '1.9.0', 1 );
+        $scripts-&gt;add( 'jquery-ui-selectable', '/wp-includes/js/jquery/ui/jquery.ui.selectable.min.js', array('jquery-ui-core', 'jquery-ui-mouse'), '1.9.0', 1 );
+        $scripts-&gt;add( 'jquery-ui-slider', '/wp-includes/js/jquery/ui/jquery.ui.slider.min.js', array('jquery-ui-core', 'jquery-ui-mouse'), '1.9.0', 1 );
+        $scripts-&gt;add( 'jquery-ui-sortable', '/wp-includes/js/jquery/ui/jquery.ui.sortable.min.js', array('jquery-ui-core', 'jquery-ui-mouse'), '1.9.0', 1 );
+        $scripts-&gt;add( 'jquery-ui-spinner', '/wp-includes/js/jquery/ui/jquery.ui.spinner.min.js', array( 'jquery-ui-core', 'jquery-ui-widget', 'jquery-ui-button' ), '1.9.0', 1 );
+        $scripts-&gt;add( 'jquery-ui-tabs', '/wp-includes/js/jquery/ui/jquery.ui.tabs.min.js', array('jquery-ui-core', 'jquery-ui-widget'), '1.9.0', 1 );
+        $scripts-&gt;add( 'jquery-ui-tooltip', '/wp-includes/js/jquery/ui/jquery.ui.tooltip.min.js', array( 'jquery-ui-core', 'jquery-ui-widget', 'jquery-ui-position' ), '1.9.0', 1 );
+        $scripts-&gt;add( 'jquery-ui-widget', '/wp-includes/js/jquery/ui/jquery.ui.widget.min.js', array('jquery'), '1.9.0', 1 );
</ins><span class="cx"> 
</span><span class="cx">         // deprecated, not used in core, most functionality is included in jQuery 1.3
</span><span class="cx">         $scripts-&gt;add( 'jquery-form', &quot;/wp-includes/js/jquery/jquery.form$suffix.js&quot;, array('jquery'), '2.73', 1 );
</span></span></pre>
</div>
</div>

</body>
</html>