/*! jquery ui - v1.9.2 - 2013-05-02 * http://jqueryui.com * includes: jquery.ui.widget.js * copyright 2013 jquery foundation and other contributors; licensed mit */ (function(e,t){var n=0,r=array.prototype.slice,i=e.cleandata;e.cleandata=function(t){for(var n=0,r;(r=t[n])!=null;n++)try{e(r).triggerhandler("remove")}catch(s){}i(t)},e.widget=function(t,n,r){var i,s,o,u,a=t.split(".")[0];t=t.split(".")[1],i=a+"-"+t,r||(r=n,n=e.widget),e.expr[":"][i.tolowercase()]=function(t){return!!e.data(t,i)},e[a]=e[a]||{},s=e[a][t],o=e[a][t]=function(e,t){if(!this._createwidget)return new o(e,t);arguments.length&&this._createwidget(e,t)},e.extend(o,s,{version:r.version,_proto:e.extend({},r),_childconstructors:[]}),u=new n,u.options=e.widget.extend({},u.options),e.each(r,function(t,i){e.isfunction(i)&&(r[t]=function(){var e=function(){return n.prototype[t].apply(this,arguments)},r=function(e){return n.prototype[t].apply(this,e)};return function(){var t=this._super,n=this._superapply,s;return this._super=e,this._superapply=r,s=i.apply(this,arguments),this._super=t,this._superapply=n,s}}())}),o.prototype=e.widget.extend(u,{widgeteventprefix:s?u.widgeteventprefix:t},r,{constructor:o,namespace:a,widgetname:t,widgetbaseclass:i,widgetfullname:i}),s?(e.each(s._childconstructors,function(t,n){var r=n.prototype;e.widget(r.namespace+"."+r.widgetname,o,n._proto)}),delete s._childconstructors):n._childconstructors.push(o),e.widget.bridge(t,o)},e.widget.extend=function(n){var i=r.call(arguments,1),s=0,o=i.length,u,a;for(;s",options:{disabled:!1,create:null},_createwidget:function(t,r){r=e(r||this.defaultelement||this)[0],this.element=e(r),this.uuid=n++,this.eventnamespace="."+this.widgetname+this.uuid,this.options=e.widget.extend({},this.options,this._getcreateoptions(),t),this.bindings=e(),this.hoverable=e(),this.focusable=e(),r!==this&&(e.data(r,this.widgetname,this),e.data(r,this.widgetfullname,this),this._on(!0,this.element,{remove:function(e){e.target===r&&this.destroy()}}),this.document=e(r.style?r.ownerdocument:r.document||r),this.window=e(this.document[0].defaultview||this.document[0].parentwindow)),this._create(),this._trigger("create",null,this._getcreateeventdata()),this._init()},_getcreateoptions:e.noop,_getcreateeventdata:e.noop,_create:e.noop,_init:e.noop,destroy:function(){this._destroy(),this.element.unbind(this.eventnamespace).removedata(this.widgetname).removedata(this.widgetfullname).removedata(e.camelcase(this.widgetfullname)),this.widget().unbind(this.eventnamespace).removeattr("aria-disabled").removeclass(this.widgetfullname+"-disabled "+"ui-state-disabled"),this.bindings.unbind(this.eventnamespace),this.hoverable.removeclass("ui-state-hover"),this.focusable.removeclass("ui-state-focus")},_destroy:e.noop,widget:function(){return this.element},option:function(n,r){var i=n,s,o,u;if(arguments.length===0)return e.widget.extend({},this.options);if(typeof n=="string"){i={},s=n.split("."),n=s.shift();if(s.length){o=i[n]=e.widget.extend({},this.options[n]);for(u=0;u