(function(e,t){vari=0,s=Array.prototype.slice,n=e.cleanData;e.cleanData=function(t){for(vari,s=0;null!=(i=t[s]);s++)try{e(i).triggerHandler("remove")}catch(a){}n(t)},e.widget=function(i,s,n){vara,r,o,h,l={},u=i.split(".")[0];i=i.split(".")[1],a=u+"-"+i,n||(n=s,s=e.Widget),e.expr[":"][a.toLowerCase()]=function(t){return!!e.data(t,a)},e[u]=e[u]||{},r=e[u][i],o=e[u][i]=function(e,i){returnthis._createWidget?(arguments.length&&this._createWidget(e,i),t):newo(e,i)},e.extend(o,r,{version:n.version,_proto:e.extend({},n),_childConstructors:[]}),h=news,h.options=e.widget.extend({},h.options),e.each(n,function(i,n){returne.isFunction(n)?(l[i]=function(){vare=function(){returns.prototype[i].apply(this,arguments)},t=function(e){returns.prototype[i].apply(this,e)};returnfunction(){vari,s=this._super,a=this._superApply;returnthis._super=e,this._superApply=t,i=n.apply(this,arguments),this._super=s,this._superApply=a,i}}(),t):(l[i]=n,t)}),o.prototype=e.widget.extend(h,{widgetEventPrefix:r?h.widgetEventPrefix:i},l,{constructor:o,namespace:u,widgetName:i,widgetFullName:a}),r?(e.each(r._childConstructors,function(t,i){vars=i.prototype;e.widget(s.namespace+"."+s.widgetName,o,i._proto)}),deleter._childConstructors):s._childConstructors.push(o),e.widget.bridge(i,o)},e.widget.extend=function(i){for(varn,a,r=s.call(arguments,1),o=0,h=r.length;h>o;o++)for(ninr[o])a=r[o][n],r[o].hasOwnProperty(n)&&a!==t&&(i[n]=e.isPlainObject(a)?e.isPlainObject(i[n])?e.widget.extend({},i[n],a):e.widget.extend({},a):a);returni},e.widget.bridge=function(i,n){vara=n.prototype.widgetFullName||i;e.fn[i]=function(r){varo="string"==typeofr,h=s.call(arguments,1),l=this;returnr=!o&&h.length?e.widget.extend.apply(null,[r].concat(h)):r,o?this.each(function(){vars,n=e.data(this,a);returnn?e.isFunction(n[r])&&"_"!==r.charAt(0)?(s=n[r].apply(n,h),s!==n&&s!==t?(l=s&&s.jquery?l.pushStack(s.get()):s,!1):t):e.error("no such method '"+r+"' for "+i+" widget instance"):e.error("cannot call methods on "+i+" prior to initialization; "+"attempted to call method '"+r+"'")}):this.each(function(){vart=e.data(this,a);t?t.option(r||{})._init():e.data(this,a,newn(r,this))}),l}},e.Widget=function(){},e.Widget._childConstructors=[],e.Widget.prototype={widgetName:"widget",widgetEventPrefix:"",defaultElement:"<div>",options:{disabled:!1,create:null},_createWidget:function(t,s){s=e(s||this.defaultElement||this)[0],this.element=e(s),this.uuid=i++,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(),s!==this&&(e.data(s,this.widgetFullName,this),this._on(!0,this.element,{remove:function(e){e.target===s&&this.destroy()}}),this.document=e(s.style?s.ownerDocument:s.document||s),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(){returnthis.element},option:function(i,s){varn,a,r,o=i;if(0===arguments.length)returne.widget.extend({},this.options);if("string"==typeofi)if(o={},n=i.split("."),i=n.shift(),n.length){for(a=o[i]=e.widget.extend({},this.options[i]),r=0;n.length-1>r;r++)a[n[r]]=a[n[r]]||{},a=a[n[r]];if(i=n.pop(),s===t)returna[i]===t?null:a[i];a[i]=s}else{if(s===t)returnthis.options[i]===t?null:this.options[i];o[i]=s}returnthis._setOptions(o),this},_setOptions:function(e){vart;for(tine)this._setOption(t,e[t]);returnthis},_setOption:function(e,t){returnthis.options[e]=t,"disabl