")[0],f=t.each;p.style.csstext="background-color:rgba(1,1,1,.5)",d.rgba=p.style.backgroundcolor.indexof("rgba")>-1,f(c,function(t,e){e.cache="_"+t,e.props.alpha={idx:3,type:"percent",def:1}}),l.fn=t.extend(l.prototype,{parse:function(n,a,r,h){if(n===e)return this._rgba=[null,null,null,null],this;(n.jquery||n.nodetype)&&(n=t(n).css(a),a=e);var u=this,d=t.type(n),p=this._rgba=[];return a!==e&&(n=[n,a,r,h],d="array"),"string"===d?this.parse(s(n)||o._default):"array"===d?(f(c.rgba.props,function(t,e){p[e.idx]=i(n[e.idx],e)}),this):"object"===d?(n instanceof l?f(c,function(t,e){n[e.cache]&&(u[e.cache]=n[e.cache].slice())}):f(c,function(e,s){var o=s.cache;f(s.props,function(t,e){if(!u[o]&&s.to){if("alpha"===t||null==n[t])return;u[o]=s.to(u._rgba)}u[o][e.idx]=i(n[t],e,!0)}),u[o]&&0>t.inarray(null,u[o].slice(0,3))&&(u[o][3]=1,s.from&&(u._rgba=s.from(u[o])))}),this):e},is:function(t){var i=l(t),s=!0,n=this;return f(c,function(t,o){var a,r=i[o.cache];return r&&(a=n[o.cache]||o.to&&o.to(n._rgba)||[],f(o.props,function(t,i){return null!=r[i.idx]?s=r[i.idx]===a[i.idx]:e})),s}),s},_space:function(){var t=[],e=this;return f(c,function(i,s){e[s.cache]&&t.push(i)}),t.pop()},transition:function(t,e){var s=l(t),n=s._space(),o=c[n],a=0===this.alpha()?l("transparent"):this,r=a[o.cache]||o.to(a._rgba),h=r.slice();return s=s[o.cache],f(o.props,function(t,n){var o=n.idx,a=r[o],l=s[o],c=u[n.type]||{};null!==l&&(null===a?h[o]=l:(c.mod&&(l-a>c.mod/2?a+=c.mod:a-l>c.mod/2&&(a-=c.mod)),h[o]=i((l-a)*e+a,n)))}),this[n](h)},blend:function(e){if(1===this._rgba[3])return this;var i=this._rgba.slice(),s=i.pop(),n=l(e)._rgba;return l(t.map(i,function(t,e){return(1-s)*n[e]+s*t}))},torgbastring:function(){var e="rgba(",i=t.map(this._rgba,function(t,e){return null==t?e>2?1:0:t});return 1===i[3]&&(i.pop(),e="rgb("),e+i.join()+")"},tohslastring:function(){var e="hsla(",i=t.map(this.hsla(),function(t,e){return null==t&&(t=e>2?1:0),e&&3>e&&(t=math.round(100*t)+"%"),t});return 1===i[3]&&(i.pop(),e="hsl("),e+i.join()+")"},tohexstring:function(e){var i=this._rgba.slice(),s=i.pop();return e&&i.push(~~(255*s)),"#"+t.map(i,function(t){return t=(t||0).tostring(16),1===t.length?"0"+t:t}).join("")},tostring:function(){return 0===this._rgba[3]?"transparent":this.torgbastring()}}),l.fn.parse.prototype=l.fn,c.hsla.to=function(t){if(null==t[0]||null==t[1]||null==t[2])return[null,null,null,t[3]];var e,i,s=t[0]/255,n=t[1]/255,o=t[2]/255,a=t[3],r=math.max(s,n,o),h=math.min(s,n,o),l=r-h,c=r+h,u=.5*c;return e=h===r?0:s===r?60*(n-o)/l+360:n===r?60*(o-s)/l+120:60*(s-n)/l+240,i=0===l?0:.5>=u?l/c:l/(2-c),[math.round(e)%360,i,u,null==a?1:a]},c.hsla.from=function(t){if(null==t[0]||null==t[1]||null==t[2])return[null,null,null,t[3]];var e=t[0]/360,i=t[1],s=t[2],o=t[3],a=.5>=s?s*(1+i):s+i-s*i,r=2*s-a;return[math.round(255*n(r,a,e+1/3)),math.round(255*n(r,a,e)),math.round(255*n(r,a,e-1/3)),o]},f(c,function(s,n){var o=n.props,a=n.cache,h=n.to,c=n.from;l.fn[s]=function(s){if(h&&!this[a]&&(this[a]=h(this._rgba)),s===e)return this[a].slice();var n,r=t.type(s),u="array"===r||"object"===r?s:arguments,d=this[a].slice();return f(o,function(t,e){var s=u["object"===r?t:e.idx];null==s&&(s=d[e.idx]),d[e.idx]=i(s,e)}),c?(n=l(c(d)),n[a]=d,n):l(d)},f(o,function(e,i){l.fn[e]||(l.fn[e]=function(n){var o,a=t.type(n),h="alpha"===e?this._hsla?"hsla":"rgba":s,l=this[h](),c=l[i.idx];return"undefined"===a?c:("function"===a&&(n=n.call(this,c),a=t.type(n)),null==n&&i.empty?this:("string"===a&&(o=r.exec(n),o&&(n=c+parsefloat(o[2])*("+"===o[1]?1:-1))),l[i.idx]=n,this[h](l)))})})}),l.hook=function(e){var i=e.split(" ");f(i,function(e,i){t.csshooks[i]={set:function(e,n){var o,a,r="";if("transparent"!==n&&("string"!==t.type(n)||(o=s(n)))){if(n=l(o||n),!d.rgba&&1!==n._rgba[3]){for(a="backgroundcolor"===i?e.parentnode:e;(""===r||"transparent"===r)&&a&&a.style;)try{r=t.css(a,"backgroundcolor"),a=a.parentnode}catch(h){}n=n.blend(r&&"transparent"!==r?r:"_default")}n=n.torgbastring()}try{e.style[i]=n}catch(h){}}},t.fx.step[i]=function(e){e.colorinit||(e.start=l(e.elem,i),e.end=l(e.end),e.colorinit=!0),t.csshooks[i].set(e.elem,e.start.transition(e.end,e.pos))}})},l.hook(a),t.csshooks.bordercolor={expand:function(t){var e={};return f(["top","right","bottom","left"],function(i,s){e["border"+s+"color"]=t}),e}},o=t.color.names={aqua:"#00ffff",black:"#000000",blue:"#0000ff",fuchsia:"#ff00ff",gray:"#808080",green:"#008000",lime:"#00ff00",maroon:"#800000",navy:"#000080",olive:"#808000",purple:"#800080",red:"#ff0000",silver:"#c0c0c0",teal:"#008080",white:"#ffffff",yellow:"#ffff00",transparent:[null,null,null,0],_default:"#ffffff"}}(jquery),function(){function i(e){var i,s,n=e.ownerdocument.defaultview?e.ownerdocument.defaultview.getcomputedstyle(e,null):e.currentstyle,o={};if(n&&n.length&&n[0]&&n[n[0]])for(s=n.length;s--;)i=n[s],"string"==typeof n[i]&&(o[t.camelcase(i)]=n[i]);else for(i in n)"string"==typeof n[i]&&(o[i]=n[i]);return o}function s(e,i){var s,n,a={};for(s in i)n=i[s],e[s]!==n&&(o[s]||(t.fx.step[s]||!isnan(parsefloat(n)))&&(a[s]=n));return a}var n=["add","remove","toggle"],o={border:1,borderbottom:1,bordercolor:1,borderleft:1,borderright:1,bordertop:1,borderwidth:1,margin:1,padding:1};t.each(["borderleftstyle","borderrightstyle","borderbottomstyle","bordertopstyle"],function(e,i){t.fx.step[i]=function(t){("none"!==t.end&&!t.setattr||1===t.pos&&!t.setattr)&&(jquery.style(t.elem,i,t.end),t.setattr=!0)}}),t.fn.addback||(t.fn.addback=function(t){return this.add(null==t?this.prevobject:this.prevobject.filter(t))}),t.effects.animateclass=function(e,o,a,r){var h=t.speed(o,a,r);return this.queue(function(){var o,a=t(this),r=a.attr("class")||"",l=h.children?a.find("*").addback():a;l=l.map(function(){var e=t(this);return{el:e,start:i(this)}}),o=function(){t.each(n,function(t,i){e[i]&&a[i+"class"](e[i])})},o(),l=l.map(function(){return this.end=i(this.el[0]),this.diff=s(this.start,this.end),this}),a.attr("class",r),l=l.map(function(){var e=this,i=t.deferred(),s=t.extend({},h,{queue:!1,complete:function(){i.resolve(e)}});return this.el.animate(this.diff,s),i.promise()}),t.when.apply(t,l.get()).done(function(){o(),t.each(arguments,function(){var e=this.el;t.each(this.diff,function(t){e.css(t,"")})}),h.complete.call(a[0])})})},t.fn.extend({addclass:function(e){return function(i,s,n,o){return s?t.effects.animateclass.call(this,{add:i},s,n,o):e.apply(this,arguments)}}(t.fn.addclass),removeclass:function(e){return function(i,s,n,o){return arguments.length>1?t.effects.animateclass.call(this,{remove:i},s,n,o):e.apply(this,arguments)}}(t.fn.removeclass),toggleclass:function(i){return function(s,n,o,a,r){return"boolean"==typeof n||n===e?o?t.effects.animateclass.call(this,n?{add:s}:{remove:s},o,a,r):i.apply(this,arguments):t.effects.animateclass.call(this,{toggle:s},n,o,a)}}(t.fn.toggleclass),switchclass:function(e,i,s,n,o){return t.effects.animateclass.call(this,{add:i,remove:e},s,n,o)}})}(),function(){function s(e,i,s,n){return t.isplainobject(e)&&(i=e,e=e.effect),e={effect:e},null==i&&(i={}),t.isfunction(i)&&(n=i,s=null,i={}),("number"==typeof i||t.fx.speeds[i])&&(n=s,s=i,i={}),t.isfunction(s)&&(n=s,s=null),i&&t.extend(e,i),s=s||i.duration,e.duration=t.fx.off?0:"number"==typeof s?s:s in t.fx.speeds?t.fx.speeds[s]:t.fx.speeds._default,e.complete=n||i.complete,e}function n(e){return!e||"number"==typeof e||t.fx.speeds[e]?!0:"string"!=typeof e||t.effects.effect[e]?t.isfunction(e)?!0:"object"!=typeof e||e.effect?!1:!0:!0}t.extend(t.effects,{version:"1.10.3",save:function(t,e){for(var s=0;e.length>s;s++)null!==e[s]&&t.data(i+e[s],t[0].style[e[s]])},restore:function(t,s){var n,o;for(o=0;s.length>o;o++)null!==s[o]&&(n=t.data(i+s[o]),n===e&&(n=""),t.css(s[o],n))},setmode:function(t,e){return"toggle"===e&&(e=t.is(":hidden")?"show":"hide"),e},getbaseline:function(t,e){var i,s;switch(t[0]){case"top":i=0;break;case"middle":i=.5;break;case"bottom":i=1;break;default:i=t[0]/e.height}switch(t[1]){case"left":s=0;break;case"center":s=.5;break;case"right":s=1;break;default:s=t[1]/e.width}return{x:s,y:i}},createwrapper:function(e){if(e.parent().is(".ui-effects-wrapper"))return e.parent();var i={width:e.outerwidth(!0),height:e.outerheight(!0),"float":e.css("float")},s=t("
").addclass("ui-effects-wrapper").css({fontsize:"100%",background:"transparent",border:"none",margin:0,padding:0}),n={width:e.width(),height:e.height()},o=document.activeelement;try{o.id}catch(a){o=document.body}return e.wrap(s),(e[0]===o||t.contains(e[0],o))&&t(o).focus(),s=e.parent(),"static"===e.css("position")?(s.css({position:"relative"}),e.css({position:"relative"})):(t.extend(i,{position:e.css("position"),zindex:e.css("z-index")}),t.each(["top","left","bottom","right"],function(t,s){i[s]=e.css(s),isnan(parseint(i[s],10))&&(i[s]="auto")}),e.css({position:"relative",top:0,left:0,right:"auto",bottom:"auto"})),e.css(n),s.css(i).show()},removewrapper:function(e){var i=document.activeelement;return e.parent().is(".ui-effects-wrapper")&&(e.parent().replacewith(e),(e[0]===i||t.contains(e[0],i))&&t(i).focus()),e},settransition:function(e,i,s,n){return n=n||{},t.each(i,function(t,i){var o=e.cssunit(i);o[0]>0&&(n[i]=o[0]*s+o[1])}),n}}),t.fn.extend({effect:function(){function e(e){function s(){t.isfunction(o)&&o.call(n[0]),t.isfunction(e)&&e()}var n=t(this),o=i.complete,r=i.mode;(n.is(":hidden")?"hide"===r:"show"===r)?(n[r](),s()):a.call(n[0],i,s)}var i=s.apply(this,arguments),n=i.mode,o=i.queue,a=t.effects.effect[i.effect];return t.fx.off||!a?n?this[n](i.duration,i.complete):this.each(function(){i.complete&&i.complete.call(this)}):o===!1?this.each(e):this.queue(o||"fx",e)},show:function(t){return function(e){if(n(e))return t.apply(this,arguments);var i=s.apply(this,arguments);return i.mode="show",this.effect.call(this,i)}}(t.fn.show),hide:function(t){return function(e){if(n(e))return t.apply(this,arguments);var i=s.apply(this,arguments);return i.mode="hide",this.effect.call(this,i)}}(t.fn.hide),toggle:function(t){return function(e){if(n(e)||"boolean"==typeof e)return t.apply(this,arguments);var i=s.apply(this,arguments);return i.mode="toggle",this.effect.call(this,i)}}(t.fn.toggle),cssunit:function(e){var i=this.css(e),s=[];return t.each(["em","px","%","pt"],function(t,e){i.indexof(e)>0&&(s=[parsefloat(i),e])}),s}})}(),function(){var e={};t.each(["quad","cubic","quart","quint","expo"],function(t,i){e[i]=function(e){return math.pow(e,t+2)}}),t.extend(e,{sine:function(t){return 1-math.cos(t*math.pi/2)},circ:function(t){return 1-math.sqrt(1-t*t)},elastic:function(t){return 0===t||1===t?t:-math.pow(2,8*(t-1))*math.sin((80*(t-1)-7.5)*math.pi/15)},back:function(t){return t*t*(3*t-2)},bounce:function(t){for(var e,i=4;((e=math.pow(2,--i))-1)/11>t;);return 1/math.pow(4,3-i)-7.5625*math.pow((3*e-2)/22-t,2)}}),t.each(e,function(e,i){t.easing["easein"+e]=i,t.easing["easeout"+e]=function(t){return 1-i(1-t)},t.easing["easeinout"+e]=function(t){return.5>t?i(2*t)/2:1-i(-2*t+2)/2}})}()}(jquery),function(t){var e=0,i={},s={};i.height=i.paddingtop=i.paddingbottom=i.bordertopwidth=i.borderbottomwidth="hide",s.height=s.paddingtop=s.paddingbottom=s.bordertopwidth=s.borderbottomwidth="show",t.widget("ui.accordion",{version:"1.10.3",options:{active:0,animate:{},collapsible:!1,event:"click",header:"> li > :first-child,> :not(li):even",heightstyle:"auto",icons:{activeheader:"ui-icon-triangle-1-s",header:"ui-icon-triangle-1-e"},activate:null,beforeactivate:null},_create:function(){var e=this.options;this.prevshow=this.prevhide=t(),this.element.addclass("ui-accordion ui-widget ui-helper-reset").attr("role","tablist"),e.collapsible||e.active!==!1&&null!=e.active||(e.active=0),this._processpanels(),0>e.active&&(e.active+=this.headers.length),this._refresh()},_getcreateeventdata:function(){return{header:this.active,panel:this.active.length?this.active.next():t(),content:this.active.length?this.active.next():t()}},_createicons:function(){var e=this.options.icons;e&&(t("").addclass("ui-accordion-header-icon ui-icon "+e.header).prependto(this.headers),this.active.children(".ui-accordion-header-icon").removeclass(e.header).addclass(e.activeheader),this.headers.addclass("ui-accordion-icons")) },_destroyicons:function(){this.headers.removeclass("ui-accordion-icons").children(".ui-accordion-header-icon").remove()},_destroy:function(){var t;this.element.removeclass("ui-accordion ui-widget ui-helper-reset").removeattr("role"),this.headers.removeclass("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").removeattr("role").removeattr("aria-selected").removeattr("aria-controls").removeattr("tabindex").each(function(){/^ui-accordion/.test(this.id)&&this.removeattribute("id")}),this._destroyicons(),t=this.headers.next().css("display","").removeattr("role").removeattr("aria-expanded").removeattr("aria-hidden").removeattr("aria-labelledby").removeclass("ui-helper-reset ui-widget-content ui-corner-bottom ui-accordion-content ui-accordion-content-active ui-state-disabled").each(function(){/^ui-accordion/.test(this.id)&&this.removeattribute("id")}),"content"!==this.options.heightstyle&&t.css("height","")},_setoption:function(t,e){return"active"===t?(this._activate(e),undefined):("event"===t&&(this.options.event&&this._off(this.headers,this.options.event),this._setupevents(e)),this._super(t,e),"collapsible"!==t||e||this.options.active!==!1||this._activate(0),"icons"===t&&(this._destroyicons(),e&&this._createicons()),"disabled"===t&&this.headers.add(this.headers.next()).toggleclass("ui-state-disabled",!!e),undefined)},_keydown:function(e){if(!e.altkey&&!e.ctrlkey){var i=t.ui.keycode,s=this.headers.length,n=this.headers.index(e.target),o=!1;switch(e.keycode){case i.right:case i.down:o=this.headers[(n+1)%s];break;case i.left:case i.up:o=this.headers[(n-1+s)%s];break;case i.space:case i.enter:this._eventhandler(e);break;case i.home:o=this.headers[0];break;case i.end:o=this.headers[s-1]}o&&(t(e.target).attr("tabindex",-1),t(o).attr("tabindex",0),o.focus(),e.preventdefault())}},_panelkeydown:function(e){e.keycode===t.ui.keycode.up&&e.ctrlkey&&t(e.currenttarget).prev().focus()},refresh:function(){var e=this.options;this._processpanels(),e.active===!1&&e.collapsible===!0||!this.headers.length?(e.active=!1,this.active=t()):e.active===!1?this._activate(0):this.active.length&&!t.contains(this.element[0],this.active[0])?this.headers.length===this.headers.find(".ui-state-disabled").length?(e.active=!1,this.active=t()):this._activate(math.max(0,e.active-1)):e.active=this.headers.index(this.active),this._destroyicons(),this._refresh()},_processpanels:function(){this.headers=this.element.find(this.options.header).addclass("ui-accordion-header ui-helper-reset ui-state-default ui-corner-all"),this.headers.next().addclass("ui-accordion-content ui-helper-reset ui-widget-content ui-corner-bottom").filter(":not(.ui-accordion-content-active)").hide()},_refresh:function(){var i,s=this.options,n=s.heightstyle,o=this.element.parent(),a=this.accordionid="ui-accordion-"+(this.element.attr("id")||++e);this.active=this._findactive(s.active).addclass("ui-accordion-header-active ui-state-active ui-corner-top").removeclass("ui-corner-all"),this.active.next().addclass("ui-accordion-content-active").show(),this.headers.attr("role","tab").each(function(e){var i=t(this),s=i.attr("id"),n=i.next(),o=n.attr("id");s||(s=a+"-header-"+e,i.attr("id",s)),o||(o=a+"-panel-"+e,n.attr("id",o)),i.attr("aria-controls",o),n.attr("aria-labelledby",s)}).next().attr("role","tabpanel"),this.headers.not(this.active).attr({"aria-selected":"false",tabindex:-1}).next().attr({"aria-expanded":"false","aria-hidden":"true"}).hide(),this.active.length?this.active.attr({"aria-selected":"true",tabindex:0}).next().attr({"aria-expanded":"true","aria-hidden":"false"}):this.headers.eq(0).attr("tabindex",0),this._createicons(),this._setupevents(s.event),"fill"===n?(i=o.height(),this.element.siblings(":visible").each(function(){var e=t(this),s=e.css("position");"absolute"!==s&&"fixed"!==s&&(i-=e.outerheight(!0))}),this.headers.each(function(){i-=t(this).outerheight(!0)}),this.headers.next().each(function(){t(this).height(math.max(0,i-t(this).innerheight()+t(this).height()))}).css("overflow","auto")):"auto"===n&&(i=0,this.headers.next().each(function(){i=math.max(i,t(this).css("height","").height())}).height(i))},_activate:function(e){var i=this._findactive(e)[0];i!==this.active[0]&&(i=i||this.active[0],this._eventhandler({target:i,currenttarget:i,preventdefault:t.noop}))},_findactive:function(e){return"number"==typeof e?this.headers.eq(e):t()},_setupevents:function(e){var i={keydown:"_keydown"};e&&t.each(e.split(" "),function(t,e){i[e]="_eventhandler"}),this._off(this.headers.add(this.headers.next())),this._on(this.headers,i),this._on(this.headers.next(),{keydown:"_panelkeydown"}),this._hoverable(this.headers),this._focusable(this.headers)},_eventhandler:function(e){var i=this.options,s=this.active,n=t(e.currenttarget),o=n[0]===s[0],a=o&&i.collapsible,r=a?t():n.next(),h=s.next(),l={oldheader:s,oldpanel:h,newheader:a?t():n,newpanel:r};e.preventdefault(),o&&!i.collapsible||this._trigger("beforeactivate",e,l)===!1||(i.active=a?!1:this.headers.index(n),this.active=o?t():n,this._toggle(l),s.removeclass("ui-accordion-header-active ui-state-active"),i.icons&&s.children(".ui-accordion-header-icon").removeclass(i.icons.activeheader).addclass(i.icons.header),o||(n.removeclass("ui-corner-all").addclass("ui-accordion-header-active ui-state-active ui-corner-top"),i.icons&&n.children(".ui-accordion-header-icon").removeclass(i.icons.header).addclass(i.icons.activeheader),n.next().addclass("ui-accordion-content-active")))},_toggle:function(e){var i=e.newpanel,s=this.prevshow.length?this.prevshow:e.oldpanel;this.prevshow.add(this.prevhide).stop(!0,!0),this.prevshow=i,this.prevhide=s,this.options.animate?this._animate(i,s,e):(s.hide(),i.show(),this._togglecomplete(e)),s.attr({"aria-expanded":"false","aria-hidden":"true"}),s.prev().attr("aria-selected","false"),i.length&&s.length?s.prev().attr("tabindex",-1):i.length&&this.headers.filter(function(){return 0===t(this).attr("tabindex")}).attr("tabindex",-1),i.attr({"aria-expanded":"true","aria-hidden":"false"}).prev().attr({"aria-selected":"true",tabindex:0})},_animate:function(t,e,n){var o,a,r,h=this,l=0,c=t.length&&(!e.length||t.index()