/*! jquery ui - v1.11.4 - 2015-12-03 * http://jqueryui.com * includes: core.js, widget.js, mouse.js, button.js, slider.js * copyright jquery foundation and other contributors; licensed mit */ (function(e){"function"==typeof define&&define.amd?define(["jquery"],e):e(jquery)})(function(e){function t(t,s){var n,a,o,r=t.nodename.tolowercase();return"area"===r?(n=t.parentnode,a=n.name,t.href&&a&&"map"===n.nodename.tolowercase()?(o=e("img[usemap='#"+a+"']")[0],!!o&&i(o)):!1):(/^(input|select|textarea|button|object)$/.test(r)?!t.disabled:"a"===r?t.href||s:s)&&i(t)}function i(t){return e.expr.filters.visible(t)&&!e(t).parents().addback().filter(function(){return"hidden"===e.css(this,"visibility")}).length}e.ui=e.ui||{},e.extend(e.ui,{version:"1.11.4",keycode:{backspace:8,comma:188,delete:46,down:40,end:35,enter:13,escape:27,home:36,left:37,page_down:34,page_up:33,period:190,right:39,space:32,tab:9,up:38}}),e.fn.extend({scrollparent:function(t){var i=this.css("position"),s="absolute"===i,n=t?/(auto|scroll|hidden)/:/(auto|scroll)/,a=this.parents().filter(function(){var t=e(this);return s&&"static"===t.css("position")?!1:n.test(t.css("overflow")+t.css("overflow-y")+t.css("overflow-x"))}).eq(0);return"fixed"!==i&&a.length?a:e(this[0].ownerdocument||document)},uniqueid:function(){var e=0;return function(){return this.each(function(){this.id||(this.id="ui-id-"+ ++e)})}}(),removeuniqueid:function(){return this.each(function(){/^ui-id-\d+$/.test(this.id)&&e(this).removeattr("id")})}}),e.extend(e.expr[":"],{data:e.expr.createpseudo?e.expr.createpseudo(function(t){return function(i){return!!e.data(i,t)}}):function(t,i,s){return!!e.data(t,s[3])},focusable:function(i){return t(i,!isnan(e.attr(i,"tabindex")))},tabbable:function(i){var s=e.attr(i,"tabindex"),n=isnan(s);return(n||s>=0)&&t(i,!n)}}),e("").outerwidth(1).jquery||e.each(["width","height"],function(t,i){function s(t,i,s,a){return e.each(n,function(){i-=parsefloat(e.css(t,"padding"+this))||0,s&&(i-=parsefloat(e.css(t,"border"+this+"width"))||0),a&&(i-=parsefloat(e.css(t,"margin"+this))||0)}),i}var n="width"===i?["left","right"]:["top","bottom"],a=i.tolowercase(),o={innerwidth:e.fn.innerwidth,innerheight:e.fn.innerheight,outerwidth:e.fn.outerwidth,outerheight:e.fn.outerheight};e.fn["inner"+i]=function(t){return void 0===t?o["inner"+i].call(this):this.each(function(){e(this).css(a,s(this,t)+"px")})},e.fn["outer"+i]=function(t,n){return"number"!=typeof t?o["outer"+i].call(this,t):this.each(function(){e(this).css(a,s(this,t,!0,n)+"px")})}}),e.fn.addback||(e.fn.addback=function(e){return this.add(null==e?this.prevobject:this.prevobject.filter(e))}),e("").data("a-b","a").removedata("a-b").data("a-b")&&(e.fn.removedata=function(t){return function(i){return arguments.length?t.call(this,e.camelcase(i)):t.call(this)}}(e.fn.removedata)),e.ui.ie=!!/msie [\w.]+/.exec(navigator.useragent.tolowercase()),e.fn.extend({focus:function(t){return function(i,s){return"number"==typeof i?this.each(function(){var t=this;settimeout(function(){e(t).focus(),s&&s.call(t)},i)}):t.apply(this,arguments)}}(e.fn.focus),disableselection:function(){var e="onselectstart"in document.createelement("div")?"selectstart":"mousedown";return function(){return this.bind(e+".ui-disableselection",function(e){e.preventdefault()})}}(),enableselection:function(){return this.unbind(".ui-disableselection")},zindex:function(t){if(void 0!==t)return this.css("zindex",t);if(this.length)for(var i,s,n=e(this[0]);n.length&&n[0]!==document;){if(i=n.css("position"),("absolute"===i||"relative"===i||"fixed"===i)&&(s=parseint(n.css("zindex"),10),!isnan(s)&&0!==s))return s;n=n.parent()}return 0}}),e.ui.plugin={add:function(t,i,s){var n,a=e.ui[t].prototype;for(n in s)a.plugins[n]=a.plugins[n]||[],a.plugins[n].push([i,s[n]])},call:function(e,t,i,s){var n,a=e.plugins[t];if(a&&(s||e.element[0].parentnode&&11!==e.element[0].parentnode.nodetype))for(n=0;a.length>n;n++)e.options[a[n][0]]&&a[n][1].apply(e.element,i)}};var s=0,n=array.prototype.slice;e.cleandata=function(t){return function(i){var s,n,a;for(a=0;null!=(n=i[a]);a++)try{s=e._data(n,"events"),s&&s.remove&&e(n).triggerhandler("remove")}catch(o){}t(i)}}(e.cleandata),e.widget=function(t,i,s){var n,a,o,r,h={},l=t.split(".")[0];return t=t.split(".")[1],n=l+"-"+t,s||(s=i,i=e.widget),e.expr[":"][n.tolowercase()]=function(t){return!!e.data(t,n)},e[l]=e[l]||{},a=e[l][t],o=e[l][t]=function(e,t){return this._createwidget?(arguments.length&&this._createwidget(e,t),void 0):new o(e,t)},e.extend(o,a,{version:s.version,_proto:e.extend({},s),_childconstructors:[]}),r=new i,r.options=e.widget.extend({},r.options),e.each(s,function(t,s){return e.isfunction(s)?(h[t]=function(){var e=function(){return i.prototype[t].apply(this,arguments)},n=function(e){return i.prototype[t].apply(this,e)};return function(){var t,i=this._super,a=this._superapply;return this._super=e,this._superapply=n,t=s.apply(this,arguments),this._super=i,this._superapply=a,t}}(),void 0):(h[t]=s,void 0)}),o.prototype=e.widget.extend(r,{widgeteventprefix:a?r.widgeteventprefix||t:t},h,{constructor:o,namespace:l,widgetname:t,widgetfullname:n}),a?(e.each(a._childconstructors,function(t,i){var s=i.prototype;e.widget(s.namespace+"."+s.widgetname,o,i._proto)}),delete a._childconstructors):i._childconstructors.push(o),e.widget.bridge(t,o),o},e.widget.extend=function(t){for(var i,s,a=n.call(arguments,1),o=0,r=a.length;r>o;o++)for(i in a[o])s=a[o][i],a[o].hasownproperty(i)&&void 0!==s&&(t[i]=e.isplainobject(s)?e.isplainobject(t[i])?e.widget.extend({},t[i],s):e.widget.extend({},s):s);return t},e.widget.bridge=function(t,i){var s=i.prototype.widgetfullname||t;e.fn[t]=function(a){var o="string"==typeof a,r=n.call(arguments,1),h=this;return o?this.each(function(){var i,n=e.data(this,s);return"instance"===a?(h=n,!1):n?e.isfunction(n[a])&&"_"!==a.charat(0)?(i=n[a].apply(n,r),i!==n&&void 0!==i?(h=i&&i.jquery?h.pushstack(i.get()):i,!1):void 0):e.error("no such method '"+a+"' for "+t+" widget instance"):e.error("cannot call methods on "+t+" prior to initialization; "+"attempted to call method '"+a+"'")}):(r.length&&(a=e.widget.extend.apply(null,[a].concat(r))),this.each(function(){var t=e.data(this,s);t?(t.option(a||{}),t._init&&t._init()):e.data(this,s,new i(a,this))})),h}},e.widget=function(){},e.widget._childconstructors=[],e.widget.prototype={widgetname:"widget",widgeteventprefix:"",defaultelement:"
",options:{disabled:!1,create:null},_createwidget:function(t,i){i=e(i||this.defaultelement||this)[0],this.element=e(i),this.uuid=s++,this.eventnamespace="."+this.widgetname+this.uuid,this.bindings=e(),this.hoverable=e(),this.focusable=e(),i!==this&&(e.data(i,this.widgetfullname,this),this._on(!0,this.element,{remove:function(e){e.target===i&&this.destroy()}}),this.document=e(i.style?i.ownerdocument:i.document||i),this.window=e(this.document[0].defaultview||this.document[0].parentwindow)),this.options=e.widget.extend({},this.options,this._getcreateoptions(),t),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.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(t,i){var s,n,a,o=t;if(0===arguments.length)return e.widget.extend({},this.options);if("string"==typeof t)if(o={},s=t.split("."),t=s.shift(),s.length){for(n=o[t]=e.widget.extend({},this.options[t]),a=0;s.length-1>a;a++)n[s[a]]=n[s[a]]||{},n=n[s[a]];if(t=s.pop(),1===arguments.length)return void 0===n[t]?null:n[t];n[t]=i}else{if(1===arguments.length)return void 0===this.options[t]?null:this.options[t];o[t]=i}return this._setoptions(o),this},_setoptions:function(e){var t;for(t in e)this._setoption(t,e[t]);return this},_setoption:function(e,t){return this.options[e]=t,"disabled"===e&&(this.widget().toggleclass(this.widgetfullname+"-disabled",!!t),t&&(this.hoverable.removeclass("ui-state-hover"),this.focusable.removeclass("ui-state-focus"))),this},enable:function(){return this._setoptions({disabled:!1})},disable:function(){return this._setoptions({disabled:!0})},_on:function(t,i,s){var n,a=this;"boolean"!=typeof t&&(s=i,i=t,t=!1),s?(i=n=e(i),this.bindings=this.bindings.add(i)):(s=i,i=this.element,n=this.widget()),e.each(s,function(s,o){function r(){return t||a.options.disabled!==!0&&!e(this).hasclass("ui-state-disabled")?("string"==typeof o?a[o]:o).apply(a,arguments):void 0}"string"!=typeof o&&(r.guid=o.guid=o.guid||r.guid||e.guid++);var h=s.match(/^([\w:-]*)\s*(.*)$/),l=h[1]+a.eventnamespace,u=h[2];u?n.delegate(u,l,r):i.bind(l,r)})},_off:function(t,i){i=(i||"").split(" ").join(this.eventnamespace+" ")+this.eventnamespace,t.unbind(i).undelegate(i),this.bindings=e(this.bindings.not(t).get()),this.focusable=e(this.focusable.not(t).get()),this.hoverable=e(this.hoverable.not(t).get())},_delay:function(e,t){function i(){return("string"==typeof e?s[e]:e).apply(s,arguments)}var s=this;return settimeout(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){var n,a,o=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],a=i.originalevent)for(n in a)n in i||(i[n]=a[n]);return this.element.trigger(i,s),!(e.isfunction(o)&&o.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,n,a){"string"==typeof n&&(n={effect:n});var o,r=n?n===!0||"number"==typeof n?i:n.effect||i:t;n=n||{},"number"==typeof n&&(n={duration:n}),o=!e.isemptyobject(n),n.complete=a,n.delay&&s.delay(n.delay),o&&e.effects&&e.effects.effect[r]?s[t](n):r!==t&&s[r]?s[r](n.duration,n.easing,a):s.queue(function(i){e(this)[t](),a&&a.call(s[0]),i()})}}),e.widget;var a=!1;e(document).mouseup(function(){a=!1}),e.widget("ui.mouse",{version:"1.11.4",options:{cancel:"input,textarea,button,select,option",distance:1,delay:0},_mouseinit:function(){var t=this;this.element.bind("mousedown."+this.widgetname,function(e){return t._mousedown(e)}).bind("click."+this.widgetname,function(i){return!0===e.data(i.target,t.widgetname+".preventclickevent")?(e.removedata(i.target,t.widgetname+".preventclickevent"),i.stopimmediatepropagation(),!1):void 0}),this.started=!1},_mousedestroy:function(){this.element.unbind("."+this.widgetname),this._mousemovedelegate&&this.document.unbind("mousemove."+this.widgetname,this._mousemovedelegate).unbind("mouseup."+this.widgetname,this._mouseupdelegate)},_mousedown:function(t){if(!a){this._mousemoved=!1,this._mousestarted&&this._mouseup(t),this._mousedownevent=t;var i=this,s=1===t.which,n="string"==typeof this.options.cancel&&t.target.nodename?e(t.target).closest(this.options.cancel).length:!1;return s&&!n&&this._mousecapture(t)?(this.mousedelaymet=!this.options.delay,this.mousedelaymet||(this._mousedelaytimer=settimeout(function(){i.mousedelaymet=!0},this.options.delay)),this._mousedistancemet(t)&&this._mousedelaymet(t)&&(this._mousestarted=this._mousestart(t)!==!1,!this._mousestarted)?(t.preventdefault(),!0):(!0===e.data(t.target,this.widgetname+".preventclickevent")&&e.removedata(t.target,this.widgetname+".preventclickevent"),this._mousemovedelegate=function(e){return i._mousemove(e)},this._mouseupdelegate=function(e){return i._mouseup(e)},this.document.bind("mousemove."+this.widgetname,this._mousemovedelegate).bind("mouseup."+this.widgetname,this._mouseupdelegate),t.preventdefault(),a=!0,!0)):!0}},_mousemove:function(t){if(this._mousemoved){if(e.ui.ie&&(!document.documentmode||9>document.documentmode)&&!t.button)return this._mouseup(t);if(!t.which)return this._mouseup(t)}return(t.which||t.button)&&(this._mousemoved=!0),this._mousestarted?(this._mousedrag(t),t.preventdefault()):(this._mousedistancemet(t)&&this._mousedelaymet(t)&&(this._mousestarted=this._mousestart(this._mousedownevent,t)!==!1,this._mousestarted?this._mousedrag(t):this._mouseup(t)),!this._mousestarted)},_mouseup:function(t){return this.document.unbind("mousemove."+this.widgetname,this._mousemovedelegate).unbind("mouseup."+this.widgetname,this._mouseupdelegate),this._mousestarted&&(this._mousestarted=!1,t.target===this._mousedownevent.target&&e.data(t.target,this.widgetname+".preventclickevent",!0),this._mousestop(t)),a=!1,!1},_mousedistancemet:function(e){return math.max(math.abs(this._mousedownevent.pagex-e.pagex),math.abs(this._mousedownevent.pagey-e.pagey))>=this.options.distance},_mousedelaymet:function(){return this.mousedelaymet},_mousestart:function(){},_mousedrag:function(){},_mousestop:function(){},_mousecapture:function(){return!0}});var o,r="ui-button ui-widget ui-state-default ui-corner-all",h="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",l=function(){var t=e(this);settimeout(function(){t.find(":ui-button").button("refresh")},1)},u=function(t){var i=t.name,s=t.form,n=e([]);return i&&(i=i.replace(/'/g,"\\'"),n=s?e(s).find("[name='"+i+"'][type=radio]"):e("[name='"+i+"'][type=radio]",t.ownerdocument).filter(function(){return!this.form})),n};e.widget("ui.button",{version:"1.11.4",defaultelement:"