* Copyright 2013 jQuery Foundation and other contributors; Licensed MIT */
* Copyright 2015 jQuery Foundation and other contributors; Licensed MIT */
(function(e,t){vari=0,s=Array.prototype.slice,a=e.cleanData;e.cleanData=function(t){for(vari,s=0;null!=(i=t[s]);s++)try{e(i).triggerHandler("remove")}catch(n){}a(t)},e.widget=function(i,s,a){varn,r,o,h,l={},u=i.split(".")[0];i=i.split(".")[1],n=u+"-"+i,a||(a=s,s=e.Widget),e.expr[":"][n.toLowerCase()]=function(t){return!!e.data(t,n)},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:a.version,_proto:e.extend({},a),_childConstructors:[]}),h=news,h.options=e.widget.extend({},h.options),e.each(a,function(i,a){returne.isFunction(a)?(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,n=this._superApply;returnthis._super=e,this._superApply=t,i=a.apply(this,arguments),this._super=s,this._superApply=n,i}}(),t):(l[i]=a,t)}),o.prototype=e.widget.extend(h,{widgetEventPrefix:r?h.widgetEventPrefix:i},l,{constructor:o,namespace:u,widgetName:i,widgetFullName:n}),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(vara,n,r=s.call(arguments,1),o=0,h=r.length;h>o;o++)for(ainr[o])n=r[o][a],r[o].hasOwnProperty(a)&&n!==t&&(i[a]=e.isPlainObject(n)?e.isPlainObject(i[a])?e.widget.extend({},i[a],n):e.widget.extend({},n):n);returni},e.widget.bridge=function(i,a){varn=a.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,a=e.data(this,n);returna?e.isFunction(a[r])&&"_"!==r.charAt(0)?(s=a[r].apply(a,h),s!==a&&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,n);t?t.option(r||{})._init():e.data(this,n,newa(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){vara,n,r,o=i;if(0===arguments.length)returne.widget.extend({},this.options);if("string"==typeofi)if(o={},a=i.split("."),i=a.shift(),a.length){for(n=o[i]=e.widget.extend({},this.options[i]),r=0;a.length-1>r;r++)n[a[r]]=n[a[r]]||{},n=n[a[r]];if(i=a.pop(),s===t)returnn[i]===t?null:n[i];n[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,"disabled"===e&&(this.widget().toggleClass(this.widgetFullName+"-disabled ui-state-disabled",!!t).attr("aria-disabled",t),this.hoverable.removeClass("ui-state-hover"),this.focusable.removeClass("ui-state-focus")),this},enable:function(){returnthis._setOption("disabled",!1)},disable:function(){returnthis._setOption("disabled",!0)},_on:function(i,s,a){varn,r=this;"boolean"!=typeofi&&(a=s,s=i,i=!1),a?(s=n=e(s),this.bindings=this.bindings.add(s)):(a=s,s=this.element,n=this.widget()),e.each(a,function(a,o){functionh(){returni||r.options.disabled!==!0&&!e(this).hasClass("ui-state-disabled")?("string"==typeofo?r[o]:o).apply(r,arguments):t}"string"!=typeofo&&(h.guid=o.guid=o.guid||h.guid||e.guid++);varl=a.match(/^(\w+)\s*(.*)$/),u=l[1]+r.eventNamespace,c=l[2];c?n.delegate(c,u,h):s.bind(u,h)})},_off:function(e,t){t=(t||"").split(" ").join(this.eventNamespace+" ")+this.eventNamespace,e.unbind(t).undelegate(t)},_delay:function(e,t){functioni(){return("string"==typeofe?s[e]:e).apply(s,arguments)}vars=this;returnsetTimeout(i,t||0)},_hoverable:function(t){this.hoverable=this.hoverable.add(t),this._on(t,{mouseenter:function(t){e(t.currentTarget).addClass("ui-state-hover")},mouseleave:function(t){e(t.currentTarget).removeClass("ui-state-hover")}})},_focusable:function(t){this.focusable=this.focusable.add(t),this._on(t,{focusin:function(t){e(t.currentTarget).addClass("ui-state-focus")},focusout:function(t){e(t.currentTarget).removeClass("ui-state-focus")}})},_trigger:function(t,i,s){vara,n,r=this.options[t];if(s=s||{},i=e.Event(i),i.type=(t===this.widgetEventPrefix?t:this.widgetEventPrefix+t).toLowerCase(),i.target=this.element[0],n=i.originalEvent)for(ainn)aini||(i[a]=n[a]);returnthis.element.trigger(i,s),!(e.isFunction(r)&&r.apply(this.element[0],[i].concat(s))===!1||i.isDefaultPrevented())}},e.each({show:"fadeIn",hide:"fadeOut"},function(t,i){e.Widget.prototype["_"+t]=function(s,a,n){"string"==typeofa&&(a={effect:a});varr,o=a?a===!0||"number"==typeofa?i:a.effect||i:t;a=a||{},"number"==typeofa&&(a={duration:a}),r=!e.isEmptyObject(a),a.complete=n,a.delay&&s.delay(a.delay),r&&e.effects&&e.effects.effect[o]?s[t](a):o!==t&&s[o]?s[o](a.duration,a.easing,n):s.queue(function(i){e(this)[t](),n&&n.call(s[0]),i()})}})})(jQuery);
(function(factory){
\ No newline at end of file
if(typeofdefine==="function"&&define.amd){
// AMD. Register as an anonymous module.
define(["jquery"],factory);
}else{
// Browser globals
factory(jQuery);
}
}(function($){
/*!
* jQuery UI Widget 1.11.3
* http://jqueryui.com
*
* Copyright jQuery Foundation and other contributors
* Released under the MIT license.
* http://jquery.org/license
*
* http://api.jqueryui.com/jQuery.widget/
*/
varwidget_uuid=0,
widget_slice=Array.prototype.slice;
$.cleanData=(function(orig){
returnfunction(elems){
varevents,elem,i;
for(i=0;(elem=elems[i])!=null;i++){
try{
// Only trigger remove when necessary to save time