-
Notifications
You must be signed in to change notification settings - Fork 51
/
shared-adfd2fa7.js
43 lines (43 loc) · 155 KB
/
shared-adfd2fa7.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
/*!
* jQuery JavaScript Library v2.1.1
* http://jquery.com/
*
* Includes Sizzle.js
* http://sizzlejs.com/
*
* Copyright 2005, 2014 jQuery Foundation, Inc. and other contributors
* Released under the MIT license
* http://jquery.org/license
*
* Date: 2014-05-01T17:11Z
*/
function Detexify(t){var e=this;e.config=$.extend({baseuri:"/api/"},t||{}),e.train=function(t,n,r){$.post(e.config.baseuri+"train",{id:t,strokes:JSON.stringify(n)},r,"json")},e.classify=function(t,n){$.post(e.config.baseuri+"classify",{strokes:JSON.stringify(t)},n,"json")}}!function(t,e){"object"==typeof module&&"object"==typeof module.exports?module.exports=t.document?e(t,!0):function(t){if(!t.document)throw new Error("jQuery requires a window with a document");return e(t)}:e(t)}("undefined"!=typeof window?window:this,function(t,e){function n(t){var e=t.length,n=K.type(t);return"function"===n||K.isWindow(t)?!1:1===t.nodeType&&e?!0:"array"===n||0===e||"number"==typeof e&&e>0&&e-1 in t}function r(t,e,n){if(K.isFunction(e))return K.grep(t,function(t,r){return!!e.call(t,r,t)!==n});if(e.nodeType)return K.grep(t,function(t){return t===e!==n});if("string"==typeof e){if(ae.test(e))return K.filter(e,t,n);e=K.filter(e,t)}return K.grep(t,function(t){return X.call(e,t)>=0!==n})}function i(t,e){for(;(t=t[e])&&1!==t.nodeType;);return t}function o(t){var e=de[t]={};return K.each(t.match(pe)||[],function(t,n){e[n]=!0}),e}function s(){Q.removeEventListener("DOMContentLoaded",s,!1),t.removeEventListener("load",s,!1),K.ready()}function a(){Object.defineProperty(this.cache={},0,{get:function(){return{}}}),this.expando=K.expando+Math.random()}function u(t,e,n){var r;if(void 0===n&&1===t.nodeType)if(r="data-"+e.replace(be,"-$1").toLowerCase(),n=t.getAttribute(r),"string"==typeof n){try{n="true"===n?!0:"false"===n?!1:"null"===n?null:+n+""===n?+n:xe.test(n)?K.parseJSON(n):n}catch(i){}ye.set(t,e,n)}else n=void 0;return n}function c(){return!0}function l(){return!1}function f(){try{return Q.activeElement}catch(t){}}function h(t,e){return K.nodeName(t,"table")&&K.nodeName(11!==e.nodeType?e:e.firstChild,"tr")?t.getElementsByTagName("tbody")[0]||t.appendChild(t.ownerDocument.createElement("tbody")):t}function p(t){return t.type=(null!==t.getAttribute("type"))+"/"+t.type,t}function d(t){var e=Be.exec(t.type);return e?t.type=e[1]:t.removeAttribute("type"),t}function g(t,e){for(var n=0,r=t.length;r>n;n++)ve.set(t[n],"globalEval",!e||ve.get(e[n],"globalEval"))}function m(t,e){var n,r,i,o,s,a,u,c;if(1===e.nodeType){if(ve.hasData(t)&&(o=ve.access(t),s=ve.set(e,o),c=o.events)){delete s.handle,s.events={};for(i in c)for(n=0,r=c[i].length;r>n;n++)K.event.add(e,i,c[i][n])}ye.hasData(t)&&(a=ye.access(t),u=K.extend({},a),ye.set(e,u))}}function v(t,e){var n=t.getElementsByTagName?t.getElementsByTagName(e||"*"):t.querySelectorAll?t.querySelectorAll(e||"*"):[];return void 0===e||e&&K.nodeName(t,e)?K.merge([t],n):n}function y(t,e){var n=e.nodeName.toLowerCase();"input"===n&&Te.test(t.type)?e.checked=t.checked:("input"===n||"textarea"===n)&&(e.defaultValue=t.defaultValue)}function x(e,n){var r,i=K(n.createElement(e)).appendTo(n.body),o=t.getDefaultComputedStyle&&(r=t.getDefaultComputedStyle(i[0]))?r.display:K.css(i[0],"display");return i.detach(),o}function b(t){var e=Q,n=Pe[t];return n||(n=x(t,e),"none"!==n&&n||(Fe=(Fe||K("<iframe frameborder='0' width='0' height='0'/>")).appendTo(e.documentElement),e=Fe[0].contentDocument,e.write(),e.close(),n=x(t,e),Fe.detach()),Pe[t]=n),n}function w(t,e,n){var r,i,o,s,a=t.style;return n=n||ze(t),n&&(s=n.getPropertyValue(e)||n[e]),n&&(""!==s||K.contains(t.ownerDocument,t)||(s=K.style(t,e)),We.test(s)&&Ie.test(e)&&(r=a.width,i=a.minWidth,o=a.maxWidth,a.minWidth=a.maxWidth=a.width=s,s=n.width,a.width=r,a.minWidth=i,a.maxWidth=o)),void 0!==s?s+"":s}function k(t,e){return{get:function(){return t()?void delete this.get:(this.get=e).apply(this,arguments)}}}function C(t,e){if(e in t)return e;for(var n=e[0].toUpperCase()+e.slice(1),r=e,i=Ue.length;i--;)if(e=Ue[i]+n,e in t)return e;return r}function T(t,e,n){var r=Ge.exec(e);return r?Math.max(0,r[1]-(n||0))+(r[2]||"px"):e}function _(t,e,n,r,i){for(var o=n===(r?"border":"content")?4:"width"===e?1:0,s=0;4>o;o+=2)"margin"===n&&(s+=K.css(t,n+ke[o],!0,i)),r?("content"===n&&(s-=K.css(t,"padding"+ke[o],!0,i)),"margin"!==n&&(s-=K.css(t,"border"+ke[o]+"Width",!0,i))):(s+=K.css(t,"padding"+ke[o],!0,i),"padding"!==n&&(s+=K.css(t,"border"+ke[o]+"Width",!0,i)));return s}function N(t,e,n){var r=!0,i="width"===e?t.offsetWidth:t.offsetHeight,o=ze(t),s="border-box"===K.css(t,"boxSizing",!1,o);if(0>=i||null==i){if(i=w(t,e,o),(0>i||null==i)&&(i=t.style[e]),We.test(i))return i;r=s&&(J.boxSizingReliable()||i===t.style[e]),i=parseFloat(i)||0}return i+_(t,e,n||(s?"border":"content"),r,o)+"px"}function A(t,e){for(var n,r,i,o=[],s=0,a=t.length;a>s;s++)r=t[s],r.style&&(o[s]=ve.get(r,"olddisplay"),n=r.style.display,e?(o[s]||"none"!==n||(r.style.display=""),""===r.style.display&&Ce(r)&&(o[s]=ve.access(r,"olddisplay",b(r.nodeName)))):(i=Ce(r),"none"===n&&i||ve.set(r,"olddisplay",i?n:K.css(r,"display"))));for(s=0;a>s;s++)r=t[s],r.style&&(e&&"none"!==r.style.display&&""!==r.style.display||(r.style.display=e?o[s]||"":"none"));return t}function E(t,e,n,r,i){return new E.prototype.init(t,e,n,r,i)}function S(){return setTimeout(function(){Je=void 0}),Je=K.now()}function j(t,e){var n,r=0,i={height:t};for(e=e?1:0;4>r;r+=2-e)n=ke[r],i["margin"+n]=i["padding"+n]=t;return e&&(i.opacity=i.width=t),i}function D(t,e,n){for(var r,i=(nn[e]||[]).concat(nn["*"]),o=0,s=i.length;s>o;o++)if(r=i[o].call(n,e,t))return r}function O(t,e,n){var r,i,o,s,a,u,c,l,f=this,h={},p=t.style,d=t.nodeType&&Ce(t),g=ve.get(t,"fxshow");n.queue||(a=K._queueHooks(t,"fx"),null==a.unqueued&&(a.unqueued=0,u=a.empty.fire,a.empty.fire=function(){a.unqueued||u()}),a.unqueued++,f.always(function(){f.always(function(){a.unqueued--,K.queue(t,"fx").length||a.empty.fire()})})),1===t.nodeType&&("height"in e||"width"in e)&&(n.overflow=[p.overflow,p.overflowX,p.overflowY],c=K.css(t,"display"),l="none"===c?ve.get(t,"olddisplay")||b(t.nodeName):c,"inline"===l&&"none"===K.css(t,"float")&&(p.display="inline-block")),n.overflow&&(p.overflow="hidden",f.always(function(){p.overflow=n.overflow[0],p.overflowX=n.overflow[1],p.overflowY=n.overflow[2]}));for(r in e)if(i=e[r],Ze.exec(i)){if(delete e[r],o=o||"toggle"===i,i===(d?"hide":"show")){if("show"!==i||!g||void 0===g[r])continue;d=!0}h[r]=g&&g[r]||K.style(t,r)}else c=void 0;if(K.isEmptyObject(h))"inline"===("none"===c?b(t.nodeName):c)&&(p.display=c);else{g?"hidden"in g&&(d=g.hidden):g=ve.access(t,"fxshow",{}),o&&(g.hidden=!d),d?K(t).show():f.done(function(){K(t).hide()}),f.done(function(){var e;ve.remove(t,"fxshow");for(e in h)K.style(t,e,h[e])});for(r in h)s=D(d?g[r]:0,r,f),r in g||(g[r]=s.start,d&&(s.end=s.start,s.start="width"===r||"height"===r?1:0))}}function q(t,e){var n,r,i,o,s;for(n in t)if(r=K.camelCase(n),i=e[r],o=t[n],K.isArray(o)&&(i=o[1],o=t[n]=o[0]),n!==r&&(t[r]=o,delete t[n]),s=K.cssHooks[r],s&&"expand"in s){o=s.expand(o),delete t[r];for(n in o)n in t||(t[n]=o[n],e[n]=i)}else e[r]=i}function L(t,e,n){var r,i,o=0,s=en.length,a=K.Deferred().always(function(){delete u.elem}),u=function(){if(i)return!1;for(var e=Je||S(),n=Math.max(0,c.startTime+c.duration-e),r=n/c.duration||0,o=1-r,s=0,u=c.tweens.length;u>s;s++)c.tweens[s].run(o);return a.notifyWith(t,[c,o,n]),1>o&&u?n:(a.resolveWith(t,[c]),!1)},c=a.promise({elem:t,props:K.extend({},e),opts:K.extend(!0,{specialEasing:{}},n),originalProperties:e,originalOptions:n,startTime:Je||S(),duration:n.duration,tweens:[],createTween:function(e,n){var r=K.Tween(t,c.opts,e,n,c.opts.specialEasing[e]||c.opts.easing);return c.tweens.push(r),r},stop:function(e){var n=0,r=e?c.tweens.length:0;if(i)return this;for(i=!0;r>n;n++)c.tweens[n].run(1);return e?a.resolveWith(t,[c,e]):a.rejectWith(t,[c,e]),this}}),l=c.props;for(q(l,c.opts.specialEasing);s>o;o++)if(r=en[o].call(c,t,l,c.opts))return r;return K.map(l,D,c),K.isFunction(c.opts.start)&&c.opts.start.call(t,c),K.fx.timer(K.extend(u,{elem:t,anim:c,queue:c.opts.queue})),c.progress(c.opts.progress).done(c.opts.done,c.opts.complete).fail(c.opts.fail).always(c.opts.always)}function R(t){return function(e,n){"string"!=typeof e&&(n=e,e="*");var r,i=0,o=e.toLowerCase().match(pe)||[];if(K.isFunction(n))for(;r=o[i++];)"+"===r[0]?(r=r.slice(1)||"*",(t[r]=t[r]||[]).unshift(n)):(t[r]=t[r]||[]).push(n)}}function B(t,e,n,r){function i(a){var u;return o[a]=!0,K.each(t[a]||[],function(t,a){var c=a(e,n,r);return"string"!=typeof c||s||o[c]?s?!(u=c):void 0:(e.dataTypes.unshift(c),i(c),!1)}),u}var o={},s=t===kn;return i(e.dataTypes[0])||!o["*"]&&i("*")}function M(t,e){var n,r,i=K.ajaxSettings.flatOptions||{};for(n in e)void 0!==e[n]&&((i[n]?t:r||(r={}))[n]=e[n]);return r&&K.extend(!0,t,r),t}function H(t,e,n){for(var r,i,o,s,a=t.contents,u=t.dataTypes;"*"===u[0];)u.shift(),void 0===r&&(r=t.mimeType||e.getResponseHeader("Content-Type"));if(r)for(i in a)if(a[i]&&a[i].test(r)){u.unshift(i);break}if(u[0]in n)o=u[0];else{for(i in n){if(!u[0]||t.converters[i+" "+u[0]]){o=i;break}s||(s=i)}o=o||s}return o?(o!==u[0]&&u.unshift(o),n[o]):void 0}function F(t,e,n,r){var i,o,s,a,u,c={},l=t.dataTypes.slice();if(l[1])for(s in t.converters)c[s.toLowerCase()]=t.converters[s];for(o=l.shift();o;)if(t.responseFields[o]&&(n[t.responseFields[o]]=e),!u&&r&&t.dataFilter&&(e=t.dataFilter(e,t.dataType)),u=o,o=l.shift())if("*"===o)o=u;else if("*"!==u&&u!==o){if(s=c[u+" "+o]||c["* "+o],!s)for(i in c)if(a=i.split(" "),a[1]===o&&(s=c[u+" "+a[0]]||c["* "+a[0]])){s===!0?s=c[i]:c[i]!==!0&&(o=a[0],l.unshift(a[1]));break}if(s!==!0)if(s&&t["throws"])e=s(e);else try{e=s(e)}catch(f){return{state:"parsererror",error:s?f:"No conversion from "+u+" to "+o}}}return{state:"success",data:e}}function P(t,e,n,r){var i;if(K.isArray(e))K.each(e,function(e,i){n||Nn.test(t)?r(t,i):P(t+"["+("object"==typeof i?e:"")+"]",i,n,r)});else if(n||"object"!==K.type(e))r(t,e);else for(i in e)P(t+"["+i+"]",e[i],n,r)}function I(t){return K.isWindow(t)?t:9===t.nodeType&&t.defaultView}var W=[],z=W.slice,$=W.concat,G=W.push,X=W.indexOf,V={},Y=V.toString,U=V.hasOwnProperty,J={},Q=t.document,Z="2.1.1",K=function(t,e){return new K.fn.init(t,e)},te=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,ee=/^-ms-/,ne=/-([\da-z])/gi,re=function(t,e){return e.toUpperCase()};K.fn=K.prototype={jquery:Z,constructor:K,selector:"",length:0,toArray:function(){return z.call(this)},get:function(t){return null!=t?0>t?this[t+this.length]:this[t]:z.call(this)},pushStack:function(t){var e=K.merge(this.constructor(),t);return e.prevObject=this,e.context=this.context,e},each:function(t,e){return K.each(this,t,e)},map:function(t){return this.pushStack(K.map(this,function(e,n){return t.call(e,n,e)}))},slice:function(){return this.pushStack(z.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(t){var e=this.length,n=+t+(0>t?e:0);return this.pushStack(n>=0&&e>n?[this[n]]:[])},end:function(){return this.prevObject||this.constructor(null)},push:G,sort:W.sort,splice:W.splice},K.extend=K.fn.extend=function(){var t,e,n,r,i,o,s=arguments[0]||{},a=1,u=arguments.length,c=!1;for("boolean"==typeof s&&(c=s,s=arguments[a]||{},a++),"object"==typeof s||K.isFunction(s)||(s={}),a===u&&(s=this,a--);u>a;a++)if(null!=(t=arguments[a]))for(e in t)n=s[e],r=t[e],s!==r&&(c&&r&&(K.isPlainObject(r)||(i=K.isArray(r)))?(i?(i=!1,o=n&&K.isArray(n)?n:[]):o=n&&K.isPlainObject(n)?n:{},s[e]=K.extend(c,o,r)):void 0!==r&&(s[e]=r));return s},K.extend({expando:"jQuery"+(Z+Math.random()).replace(/\D/g,""),isReady:!0,error:function(t){throw new Error(t)},noop:function(){},isFunction:function(t){return"function"===K.type(t)},isArray:Array.isArray,isWindow:function(t){return null!=t&&t===t.window},isNumeric:function(t){return!K.isArray(t)&&t-parseFloat(t)>=0},isPlainObject:function(t){return"object"!==K.type(t)||t.nodeType||K.isWindow(t)?!1:t.constructor&&!U.call(t.constructor.prototype,"isPrototypeOf")?!1:!0},isEmptyObject:function(t){var e;for(e in t)return!1;return!0},type:function(t){return null==t?t+"":"object"==typeof t||"function"==typeof t?V[Y.call(t)]||"object":typeof t},globalEval:function(t){var e,n=eval;t=K.trim(t),t&&(1===t.indexOf("use strict")?(e=Q.createElement("script"),e.text=t,Q.head.appendChild(e).parentNode.removeChild(e)):n(t))},camelCase:function(t){return t.replace(ee,"ms-").replace(ne,re)},nodeName:function(t,e){return t.nodeName&&t.nodeName.toLowerCase()===e.toLowerCase()},each:function(t,e,r){var i,o=0,s=t.length,a=n(t);if(r){if(a)for(;s>o&&(i=e.apply(t[o],r),i!==!1);o++);else for(o in t)if(i=e.apply(t[o],r),i===!1)break}else if(a)for(;s>o&&(i=e.call(t[o],o,t[o]),i!==!1);o++);else for(o in t)if(i=e.call(t[o],o,t[o]),i===!1)break;return t},trim:function(t){return null==t?"":(t+"").replace(te,"")},makeArray:function(t,e){var r=e||[];return null!=t&&(n(Object(t))?K.merge(r,"string"==typeof t?[t]:t):G.call(r,t)),r},inArray:function(t,e,n){return null==e?-1:X.call(e,t,n)},merge:function(t,e){for(var n=+e.length,r=0,i=t.length;n>r;r++)t[i++]=e[r];return t.length=i,t},grep:function(t,e,n){for(var r,i=[],o=0,s=t.length,a=!n;s>o;o++)r=!e(t[o],o),r!==a&&i.push(t[o]);return i},map:function(t,e,r){var i,o=0,s=t.length,a=n(t),u=[];if(a)for(;s>o;o++)i=e(t[o],o,r),null!=i&&u.push(i);else for(o in t)i=e(t[o],o,r),null!=i&&u.push(i);return $.apply([],u)},guid:1,proxy:function(t,e){var n,r,i;return"string"==typeof e&&(n=t[e],e=t,t=n),K.isFunction(t)?(r=z.call(arguments,2),i=function(){return t.apply(e||this,r.concat(z.call(arguments)))},i.guid=t.guid=t.guid||K.guid++,i):void 0},now:Date.now,support:J}),K.each("Boolean Number String Function Array Date RegExp Object Error".split(" "),function(t,e){V["[object "+e+"]"]=e.toLowerCase()});var ie=/*!
* Sizzle CSS Selector Engine v1.10.19
* http://sizzlejs.com/
*
* Copyright 2013 jQuery Foundation, Inc. and other contributors
* Released under the MIT license
* http://jquery.org/license
*
* Date: 2014-04-18
*/
function(t){function e(t,e,n,r){var i,o,s,a,u,c,f,p,d,g;if((e?e.ownerDocument||e:P)!==O&&D(e),e=e||O,n=n||[],!t||"string"!=typeof t)return n;if(1!==(a=e.nodeType)&&9!==a)return[];if(L&&!r){if(i=ye.exec(t))if(s=i[1]){if(9===a){if(o=e.getElementById(s),!o||!o.parentNode)return n;if(o.id===s)return n.push(o),n}else if(e.ownerDocument&&(o=e.ownerDocument.getElementById(s))&&H(e,o)&&o.id===s)return n.push(o),n}else{if(i[2])return K.apply(n,e.getElementsByTagName(t)),n;if((s=i[3])&&w.getElementsByClassName&&e.getElementsByClassName)return K.apply(n,e.getElementsByClassName(s)),n}if(w.qsa&&(!R||!R.test(t))){if(p=f=F,d=e,g=9===a&&t,1===a&&"object"!==e.nodeName.toLowerCase()){for(c=_(t),(f=e.getAttribute("id"))?p=f.replace(be,"\\$&"):e.setAttribute("id",p),p="[id='"+p+"'] ",u=c.length;u--;)c[u]=p+h(c[u]);d=xe.test(t)&&l(e.parentNode)||e,g=c.join(",")}if(g)try{return K.apply(n,d.querySelectorAll(g)),n}catch(m){}finally{f||e.removeAttribute("id")}}}return A(t.replace(ue,"$1"),e,n,r)}function n(){function t(n,r){return e.push(n+" ")>k.cacheLength&&delete t[e.shift()],t[n+" "]=r}var e=[];return t}function r(t){return t[F]=!0,t}function i(t){var e=O.createElement("div");try{return!!t(e)}catch(n){return!1}finally{e.parentNode&&e.parentNode.removeChild(e),e=null}}function o(t,e){for(var n=t.split("|"),r=t.length;r--;)k.attrHandle[n[r]]=e}function s(t,e){var n=e&&t,r=n&&1===t.nodeType&&1===e.nodeType&&(~e.sourceIndex||Y)-(~t.sourceIndex||Y);if(r)return r;if(n)for(;n=n.nextSibling;)if(n===e)return-1;return t?1:-1}function a(t){return function(e){var n=e.nodeName.toLowerCase();return"input"===n&&e.type===t}}function u(t){return function(e){var n=e.nodeName.toLowerCase();return("input"===n||"button"===n)&&e.type===t}}function c(t){return r(function(e){return e=+e,r(function(n,r){for(var i,o=t([],n.length,e),s=o.length;s--;)n[i=o[s]]&&(n[i]=!(r[i]=n[i]))})})}function l(t){return t&&typeof t.getElementsByTagName!==V&&t}function f(){}function h(t){for(var e=0,n=t.length,r="";n>e;e++)r+=t[e].value;return r}function p(t,e,n){var r=e.dir,i=n&&"parentNode"===r,o=W++;return e.first?function(e,n,o){for(;e=e[r];)if(1===e.nodeType||i)return t(e,n,o)}:function(e,n,s){var a,u,c=[I,o];if(s){for(;e=e[r];)if((1===e.nodeType||i)&&t(e,n,s))return!0}else for(;e=e[r];)if(1===e.nodeType||i){if(u=e[F]||(e[F]={}),(a=u[r])&&a[0]===I&&a[1]===o)return c[2]=a[2];if(u[r]=c,c[2]=t(e,n,s))return!0}}}function d(t){return t.length>1?function(e,n,r){for(var i=t.length;i--;)if(!t[i](e,n,r))return!1;return!0}:t[0]}function g(t,n,r){for(var i=0,o=n.length;o>i;i++)e(t,n[i],r);return r}function m(t,e,n,r,i){for(var o,s=[],a=0,u=t.length,c=null!=e;u>a;a++)(o=t[a])&&(!n||n(o,r,i))&&(s.push(o),c&&e.push(a));return s}function v(t,e,n,i,o,s){return i&&!i[F]&&(i=v(i)),o&&!o[F]&&(o=v(o,s)),r(function(r,s,a,u){var c,l,f,h=[],p=[],d=s.length,v=r||g(e||"*",a.nodeType?[a]:a,[]),y=!t||!r&&e?v:m(v,h,t,a,u),x=n?o||(r?t:d||i)?[]:s:y;if(n&&n(y,x,a,u),i)for(c=m(x,p),i(c,[],a,u),l=c.length;l--;)(f=c[l])&&(x[p[l]]=!(y[p[l]]=f));if(r){if(o||t){if(o){for(c=[],l=x.length;l--;)(f=x[l])&&c.push(y[l]=f);o(null,x=[],c,u)}for(l=x.length;l--;)(f=x[l])&&(c=o?ee.call(r,f):h[l])>-1&&(r[c]=!(s[c]=f))}}else x=m(x===s?x.splice(d,x.length):x),o?o(null,s,x,u):K.apply(s,x)})}function y(t){for(var e,n,r,i=t.length,o=k.relative[t[0].type],s=o||k.relative[" "],a=o?1:0,u=p(function(t){return t===e},s,!0),c=p(function(t){return ee.call(e,t)>-1},s,!0),l=[function(t,n,r){return!o&&(r||n!==E)||((e=n).nodeType?u(t,n,r):c(t,n,r))}];i>a;a++)if(n=k.relative[t[a].type])l=[p(d(l),n)];else{if(n=k.filter[t[a].type].apply(null,t[a].matches),n[F]){for(r=++a;i>r&&!k.relative[t[r].type];r++);return v(a>1&&d(l),a>1&&h(t.slice(0,a-1).concat({value:" "===t[a-2].type?"*":""})).replace(ue,"$1"),n,r>a&&y(t.slice(a,r)),i>r&&y(t=t.slice(r)),i>r&&h(t))}l.push(n)}return d(l)}function x(t,n){var i=n.length>0,o=t.length>0,s=function(r,s,a,u,c){var l,f,h,p=0,d="0",g=r&&[],v=[],y=E,x=r||o&&k.find.TAG("*",c),b=I+=null==y?1:Math.random()||.1,w=x.length;for(c&&(E=s!==O&&s);d!==w&&null!=(l=x[d]);d++){if(o&&l){for(f=0;h=t[f++];)if(h(l,s,a)){u.push(l);break}c&&(I=b)}i&&((l=!h&&l)&&p--,r&&g.push(l))}if(p+=d,i&&d!==p){for(f=0;h=n[f++];)h(g,v,s,a);if(r){if(p>0)for(;d--;)g[d]||v[d]||(v[d]=Q.call(u));v=m(v)}K.apply(u,v),c&&!r&&v.length>0&&p+n.length>1&&e.uniqueSort(u)}return c&&(I=b,E=y),g};return i?r(s):s}var b,w,k,C,T,_,N,A,E,S,j,D,O,q,L,R,B,M,H,F="sizzle"+-new Date,P=t.document,I=0,W=0,z=n(),$=n(),G=n(),X=function(t,e){return t===e&&(j=!0),0},V="undefined",Y=1<<31,U={}.hasOwnProperty,J=[],Q=J.pop,Z=J.push,K=J.push,te=J.slice,ee=J.indexOf||function(t){for(var e=0,n=this.length;n>e;e++)if(this[e]===t)return e;return-1},ne="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",re="[\\x20\\t\\r\\n\\f]",ie="(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",oe=ie.replace("w","w#"),se="\\["+re+"*("+ie+")(?:"+re+"*([*^$|!~]?=)"+re+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+oe+"))|)"+re+"*\\]",ae=":("+ie+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+se+")*)|.*)\\)|)",ue=new RegExp("^"+re+"+|((?:^|[^\\\\])(?:\\\\.)*)"+re+"+$","g"),ce=new RegExp("^"+re+"*,"+re+"*"),le=new RegExp("^"+re+"*([>+~]|"+re+")"+re+"*"),fe=new RegExp("="+re+"*([^\\]'\"]*?)"+re+"*\\]","g"),he=new RegExp(ae),pe=new RegExp("^"+oe+"$"),de={ID:new RegExp("^#("+ie+")"),CLASS:new RegExp("^\\.("+ie+")"),TAG:new RegExp("^("+ie.replace("w","w*")+")"),ATTR:new RegExp("^"+se),PSEUDO:new RegExp("^"+ae),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+re+"*(even|odd|(([+-]|)(\\d*)n|)"+re+"*(?:([+-]|)"+re+"*(\\d+)|))"+re+"*\\)|)","i"),bool:new RegExp("^(?:"+ne+")$","i"),needsContext:new RegExp("^"+re+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+re+"*((?:-\\d)?\\d*)"+re+"*\\)|)(?=[^-]|$)","i")},ge=/^(?:input|select|textarea|button)$/i,me=/^h\d$/i,ve=/^[^{]+\{\s*\[native \w/,ye=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,xe=/[+~]/,be=/'|\\/g,we=new RegExp("\\\\([\\da-f]{1,6}"+re+"?|("+re+")|.)","ig"),ke=function(t,e,n){var r="0x"+e-65536;return r!==r||n?e:0>r?String.fromCharCode(r+65536):String.fromCharCode(r>>10|55296,1023&r|56320)};try{K.apply(J=te.call(P.childNodes),P.childNodes),J[P.childNodes.length].nodeType}catch(Ce){K={apply:J.length?function(t,e){Z.apply(t,te.call(e))}:function(t,e){for(var n=t.length,r=0;t[n++]=e[r++];);t.length=n-1}}}w=e.support={},T=e.isXML=function(t){var e=t&&(t.ownerDocument||t).documentElement;return e?"HTML"!==e.nodeName:!1},D=e.setDocument=function(t){var e,n=t?t.ownerDocument||t:P,r=n.defaultView;return n!==O&&9===n.nodeType&&n.documentElement?(O=n,q=n.documentElement,L=!T(n),r&&r!==r.top&&(r.addEventListener?r.addEventListener("unload",function(){D()},!1):r.attachEvent&&r.attachEvent("onunload",function(){D()})),w.attributes=i(function(t){return t.className="i",!t.getAttribute("className")}),w.getElementsByTagName=i(function(t){return t.appendChild(n.createComment("")),!t.getElementsByTagName("*").length}),w.getElementsByClassName=ve.test(n.getElementsByClassName)&&i(function(t){return t.innerHTML="<div class='a'></div><div class='a i'></div>",t.firstChild.className="i",2===t.getElementsByClassName("i").length}),w.getById=i(function(t){return q.appendChild(t).id=F,!n.getElementsByName||!n.getElementsByName(F).length}),w.getById?(k.find.ID=function(t,e){if(typeof e.getElementById!==V&&L){var n=e.getElementById(t);return n&&n.parentNode?[n]:[]}},k.filter.ID=function(t){var e=t.replace(we,ke);return function(t){return t.getAttribute("id")===e}}):(delete k.find.ID,k.filter.ID=function(t){var e=t.replace(we,ke);return function(t){var n=typeof t.getAttributeNode!==V&&t.getAttributeNode("id");return n&&n.value===e}}),k.find.TAG=w.getElementsByTagName?function(t,e){return typeof e.getElementsByTagName!==V?e.getElementsByTagName(t):void 0}:function(t,e){var n,r=[],i=0,o=e.getElementsByTagName(t);if("*"===t){for(;n=o[i++];)1===n.nodeType&&r.push(n);return r}return o},k.find.CLASS=w.getElementsByClassName&&function(t,e){return typeof e.getElementsByClassName!==V&&L?e.getElementsByClassName(t):void 0},B=[],R=[],(w.qsa=ve.test(n.querySelectorAll))&&(i(function(t){t.innerHTML="<select msallowclip=''><option selected=''></option></select>",t.querySelectorAll("[msallowclip^='']").length&&R.push("[*^$]="+re+"*(?:''|\"\")"),t.querySelectorAll("[selected]").length||R.push("\\["+re+"*(?:value|"+ne+")"),t.querySelectorAll(":checked").length||R.push(":checked")}),i(function(t){var e=n.createElement("input");e.setAttribute("type","hidden"),t.appendChild(e).setAttribute("name","D"),t.querySelectorAll("[name=d]").length&&R.push("name"+re+"*[*^$|!~]?="),t.querySelectorAll(":enabled").length||R.push(":enabled",":disabled"),t.querySelectorAll("*,:x"),R.push(",.*:")})),(w.matchesSelector=ve.test(M=q.matches||q.webkitMatchesSelector||q.mozMatchesSelector||q.oMatchesSelector||q.msMatchesSelector))&&i(function(t){w.disconnectedMatch=M.call(t,"div"),M.call(t,"[s!='']:x"),B.push("!=",ae)}),R=R.length&&new RegExp(R.join("|")),B=B.length&&new RegExp(B.join("|")),e=ve.test(q.compareDocumentPosition),H=e||ve.test(q.contains)?function(t,e){var n=9===t.nodeType?t.documentElement:t,r=e&&e.parentNode;return t===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):t.compareDocumentPosition&&16&t.compareDocumentPosition(r)))}:function(t,e){if(e)for(;e=e.parentNode;)if(e===t)return!0;return!1},X=e?function(t,e){if(t===e)return j=!0,0;var r=!t.compareDocumentPosition-!e.compareDocumentPosition;return r?r:(r=(t.ownerDocument||t)===(e.ownerDocument||e)?t.compareDocumentPosition(e):1,1&r||!w.sortDetached&&e.compareDocumentPosition(t)===r?t===n||t.ownerDocument===P&&H(P,t)?-1:e===n||e.ownerDocument===P&&H(P,e)?1:S?ee.call(S,t)-ee.call(S,e):0:4&r?-1:1)}:function(t,e){if(t===e)return j=!0,0;var r,i=0,o=t.parentNode,a=e.parentNode,u=[t],c=[e];if(!o||!a)return t===n?-1:e===n?1:o?-1:a?1:S?ee.call(S,t)-ee.call(S,e):0;if(o===a)return s(t,e);for(r=t;r=r.parentNode;)u.unshift(r);for(r=e;r=r.parentNode;)c.unshift(r);for(;u[i]===c[i];)i++;return i?s(u[i],c[i]):u[i]===P?-1:c[i]===P?1:0},n):O},e.matches=function(t,n){return e(t,null,null,n)},e.matchesSelector=function(t,n){if((t.ownerDocument||t)!==O&&D(t),n=n.replace(fe,"='$1']"),!(!w.matchesSelector||!L||B&&B.test(n)||R&&R.test(n)))try{var r=M.call(t,n);if(r||w.disconnectedMatch||t.document&&11!==t.document.nodeType)return r}catch(i){}return e(n,O,null,[t]).length>0},e.contains=function(t,e){return(t.ownerDocument||t)!==O&&D(t),H(t,e)},e.attr=function(t,e){(t.ownerDocument||t)!==O&&D(t);var n=k.attrHandle[e.toLowerCase()],r=n&&U.call(k.attrHandle,e.toLowerCase())?n(t,e,!L):void 0;return void 0!==r?r:w.attributes||!L?t.getAttribute(e):(r=t.getAttributeNode(e))&&r.specified?r.value:null},e.error=function(t){throw new Error("Syntax error, unrecognized expression: "+t)},e.uniqueSort=function(t){var e,n=[],r=0,i=0;if(j=!w.detectDuplicates,S=!w.sortStable&&t.slice(0),t.sort(X),j){for(;e=t[i++];)e===t[i]&&(r=n.push(i));for(;r--;)t.splice(n[r],1)}return S=null,t},C=e.getText=function(t){var e,n="",r=0,i=t.nodeType;if(i){if(1===i||9===i||11===i){if("string"==typeof t.textContent)return t.textContent;for(t=t.firstChild;t;t=t.nextSibling)n+=C(t)}else if(3===i||4===i)return t.nodeValue}else for(;e=t[r++];)n+=C(e);return n},k=e.selectors={cacheLength:50,createPseudo:r,match:de,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(t){return t[1]=t[1].replace(we,ke),t[3]=(t[3]||t[4]||t[5]||"").replace(we,ke),"~="===t[2]&&(t[3]=" "+t[3]+" "),t.slice(0,4)},CHILD:function(t){return t[1]=t[1].toLowerCase(),"nth"===t[1].slice(0,3)?(t[3]||e.error(t[0]),t[4]=+(t[4]?t[5]+(t[6]||1):2*("even"===t[3]||"odd"===t[3])),t[5]=+(t[7]+t[8]||"odd"===t[3])):t[3]&&e.error(t[0]),t},PSEUDO:function(t){var e,n=!t[6]&&t[2];return de.CHILD.test(t[0])?null:(t[3]?t[2]=t[4]||t[5]||"":n&&he.test(n)&&(e=_(n,!0))&&(e=n.indexOf(")",n.length-e)-n.length)&&(t[0]=t[0].slice(0,e),t[2]=n.slice(0,e)),t.slice(0,3))}},filter:{TAG:function(t){var e=t.replace(we,ke).toLowerCase();return"*"===t?function(){return!0}:function(t){return t.nodeName&&t.nodeName.toLowerCase()===e}},CLASS:function(t){var e=z[t+" "];return e||(e=new RegExp("(^|"+re+")"+t+"("+re+"|$)"))&&z(t,function(t){return e.test("string"==typeof t.className&&t.className||typeof t.getAttribute!==V&&t.getAttribute("class")||"")})},ATTR:function(t,n,r){return function(i){var o=e.attr(i,t);return null==o?"!="===n:n?(o+="","="===n?o===r:"!="===n?o!==r:"^="===n?r&&0===o.indexOf(r):"*="===n?r&&o.indexOf(r)>-1:"$="===n?r&&o.slice(-r.length)===r:"~="===n?(" "+o+" ").indexOf(r)>-1:"|="===n?o===r||o.slice(0,r.length+1)===r+"-":!1):!0}},CHILD:function(t,e,n,r,i){var o="nth"!==t.slice(0,3),s="last"!==t.slice(-4),a="of-type"===e;return 1===r&&0===i?function(t){return!!t.parentNode}:function(e,n,u){var c,l,f,h,p,d,g=o!==s?"nextSibling":"previousSibling",m=e.parentNode,v=a&&e.nodeName.toLowerCase(),y=!u&&!a;if(m){if(o){for(;g;){for(f=e;f=f[g];)if(a?f.nodeName.toLowerCase()===v:1===f.nodeType)return!1;d=g="only"===t&&!d&&"nextSibling"}return!0}if(d=[s?m.firstChild:m.lastChild],s&&y){for(l=m[F]||(m[F]={}),c=l[t]||[],p=c[0]===I&&c[1],h=c[0]===I&&c[2],f=p&&m.childNodes[p];f=++p&&f&&f[g]||(h=p=0)||d.pop();)if(1===f.nodeType&&++h&&f===e){l[t]=[I,p,h];break}}else if(y&&(c=(e[F]||(e[F]={}))[t])&&c[0]===I)h=c[1];else for(;(f=++p&&f&&f[g]||(h=p=0)||d.pop())&&((a?f.nodeName.toLowerCase()!==v:1!==f.nodeType)||!++h||(y&&((f[F]||(f[F]={}))[t]=[I,h]),f!==e)););return h-=i,h===r||h%r===0&&h/r>=0}}},PSEUDO:function(t,n){var i,o=k.pseudos[t]||k.setFilters[t.toLowerCase()]||e.error("unsupported pseudo: "+t);return o[F]?o(n):o.length>1?(i=[t,t,"",n],k.setFilters.hasOwnProperty(t.toLowerCase())?r(function(t,e){for(var r,i=o(t,n),s=i.length;s--;)r=ee.call(t,i[s]),t[r]=!(e[r]=i[s])}):function(t){return o(t,0,i)}):o}},pseudos:{not:r(function(t){var e=[],n=[],i=N(t.replace(ue,"$1"));return i[F]?r(function(t,e,n,r){for(var o,s=i(t,null,r,[]),a=t.length;a--;)(o=s[a])&&(t[a]=!(e[a]=o))}):function(t,r,o){return e[0]=t,i(e,null,o,n),!n.pop()}}),has:r(function(t){return function(n){return e(t,n).length>0}}),contains:r(function(t){return function(e){return(e.textContent||e.innerText||C(e)).indexOf(t)>-1}}),lang:r(function(t){return pe.test(t||"")||e.error("unsupported lang: "+t),t=t.replace(we,ke).toLowerCase(),function(e){var n;do if(n=L?e.lang:e.getAttribute("xml:lang")||e.getAttribute("lang"))return n=n.toLowerCase(),n===t||0===n.indexOf(t+"-");while((e=e.parentNode)&&1===e.nodeType);return!1}}),target:function(e){var n=t.location&&t.location.hash;return n&&n.slice(1)===e.id},root:function(t){return t===q},focus:function(t){return t===O.activeElement&&(!O.hasFocus||O.hasFocus())&&!!(t.type||t.href||~t.tabIndex)},enabled:function(t){return t.disabled===!1},disabled:function(t){return t.disabled===!0},checked:function(t){var e=t.nodeName.toLowerCase();return"input"===e&&!!t.checked||"option"===e&&!!t.selected},selected:function(t){return t.parentNode&&t.parentNode.selectedIndex,t.selected===!0},empty:function(t){for(t=t.firstChild;t;t=t.nextSibling)if(t.nodeType<6)return!1;return!0},parent:function(t){return!k.pseudos.empty(t)},header:function(t){return me.test(t.nodeName)},input:function(t){return ge.test(t.nodeName)},button:function(t){var e=t.nodeName.toLowerCase();return"input"===e&&"button"===t.type||"button"===e},text:function(t){var e;return"input"===t.nodeName.toLowerCase()&&"text"===t.type&&(null==(e=t.getAttribute("type"))||"text"===e.toLowerCase())},first:c(function(){return[0]}),last:c(function(t,e){return[e-1]}),eq:c(function(t,e,n){return[0>n?n+e:n]}),even:c(function(t,e){for(var n=0;e>n;n+=2)t.push(n);return t}),odd:c(function(t,e){for(var n=1;e>n;n+=2)t.push(n);return t}),lt:c(function(t,e,n){for(var r=0>n?n+e:n;--r>=0;)t.push(r);return t}),gt:c(function(t,e,n){for(var r=0>n?n+e:n;++r<e;)t.push(r);return t})}},k.pseudos.nth=k.pseudos.eq;for(b in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})k.pseudos[b]=a(b);for(b in{submit:!0,reset:!0})k.pseudos[b]=u(b);return f.prototype=k.filters=k.pseudos,k.setFilters=new f,_=e.tokenize=function(t,n){var r,i,o,s,a,u,c,l=$[t+" "];if(l)return n?0:l.slice(0);for(a=t,u=[],c=k.preFilter;a;){(!r||(i=ce.exec(a)))&&(i&&(a=a.slice(i[0].length)||a),u.push(o=[])),r=!1,(i=le.exec(a))&&(r=i.shift(),o.push({value:r,type:i[0].replace(ue," ")}),a=a.slice(r.length));for(s in k.filter)!(i=de[s].exec(a))||c[s]&&!(i=c[s](i))||(r=i.shift(),o.push({value:r,type:s,matches:i}),a=a.slice(r.length));if(!r)break}return n?a.length:a?e.error(t):$(t,u).slice(0)},N=e.compile=function(t,e){var n,r=[],i=[],o=G[t+" "];if(!o){for(e||(e=_(t)),n=e.length;n--;)o=y(e[n]),o[F]?r.push(o):i.push(o);o=G(t,x(i,r)),o.selector=t}return o},A=e.select=function(t,e,n,r){var i,o,s,a,u,c="function"==typeof t&&t,f=!r&&_(t=c.selector||t);if(n=n||[],1===f.length){if(o=f[0]=f[0].slice(0),o.length>2&&"ID"===(s=o[0]).type&&w.getById&&9===e.nodeType&&L&&k.relative[o[1].type]){if(e=(k.find.ID(s.matches[0].replace(we,ke),e)||[])[0],!e)return n;c&&(e=e.parentNode),t=t.slice(o.shift().value.length)}for(i=de.needsContext.test(t)?0:o.length;i--&&(s=o[i],!k.relative[a=s.type]);)if((u=k.find[a])&&(r=u(s.matches[0].replace(we,ke),xe.test(o[0].type)&&l(e.parentNode)||e))){if(o.splice(i,1),t=r.length&&h(o),!t)return K.apply(n,r),n;break}}return(c||N(t,f))(r,e,!L,n,xe.test(t)&&l(e.parentNode)||e),n},w.sortStable=F.split("").sort(X).join("")===F,w.detectDuplicates=!!j,D(),w.sortDetached=i(function(t){return 1&t.compareDocumentPosition(O.createElement("div"))}),i(function(t){return t.innerHTML="<a href='#'></a>","#"===t.firstChild.getAttribute("href")})||o("type|href|height|width",function(t,e,n){return n?void 0:t.getAttribute(e,"type"===e.toLowerCase()?1:2)}),w.attributes&&i(function(t){return t.innerHTML="<input/>",t.firstChild.setAttribute("value",""),""===t.firstChild.getAttribute("value")})||o("value",function(t,e,n){return n||"input"!==t.nodeName.toLowerCase()?void 0:t.defaultValue}),i(function(t){return null==t.getAttribute("disabled")})||o(ne,function(t,e,n){var r;return n?void 0:t[e]===!0?e.toLowerCase():(r=t.getAttributeNode(e))&&r.specified?r.value:null}),e}(t);K.find=ie,K.expr=ie.selectors,K.expr[":"]=K.expr.pseudos,K.unique=ie.uniqueSort,K.text=ie.getText,K.isXMLDoc=ie.isXML,K.contains=ie.contains;var oe=K.expr.match.needsContext,se=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,ae=/^.[^:#\[\.,]*$/;K.filter=function(t,e,n){var r=e[0];return n&&(t=":not("+t+")"),1===e.length&&1===r.nodeType?K.find.matchesSelector(r,t)?[r]:[]:K.find.matches(t,K.grep(e,function(t){return 1===t.nodeType}))},K.fn.extend({find:function(t){var e,n=this.length,r=[],i=this;if("string"!=typeof t)return this.pushStack(K(t).filter(function(){for(e=0;n>e;e++)if(K.contains(i[e],this))return!0}));for(e=0;n>e;e++)K.find(t,i[e],r);return r=this.pushStack(n>1?K.unique(r):r),r.selector=this.selector?this.selector+" "+t:t,r},filter:function(t){return this.pushStack(r(this,t||[],!1))},not:function(t){return this.pushStack(r(this,t||[],!0))},is:function(t){return!!r(this,"string"==typeof t&&oe.test(t)?K(t):t||[],!1).length}});var ue,ce=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/,le=K.fn.init=function(t,e){var n,r;if(!t)return this;if("string"==typeof t){if(n="<"===t[0]&&">"===t[t.length-1]&&t.length>=3?[null,t,null]:ce.exec(t),!n||!n[1]&&e)return!e||e.jquery?(e||ue).find(t):this.constructor(e).find(t);if(n[1]){if(e=e instanceof K?e[0]:e,K.merge(this,K.parseHTML(n[1],e&&e.nodeType?e.ownerDocument||e:Q,!0)),se.test(n[1])&&K.isPlainObject(e))for(n in e)K.isFunction(this[n])?this[n](e[n]):this.attr(n,e[n]);return this}return r=Q.getElementById(n[2]),r&&r.parentNode&&(this.length=1,this[0]=r),this.context=Q,this.selector=t,this}return t.nodeType?(this.context=this[0]=t,this.length=1,this):K.isFunction(t)?"undefined"!=typeof ue.ready?ue.ready(t):t(K):(void 0!==t.selector&&(this.selector=t.selector,this.context=t.context),K.makeArray(t,this))};le.prototype=K.fn,ue=K(Q);var fe=/^(?:parents|prev(?:Until|All))/,he={children:!0,contents:!0,next:!0,prev:!0};K.extend({dir:function(t,e,n){for(var r=[],i=void 0!==n;(t=t[e])&&9!==t.nodeType;)if(1===t.nodeType){if(i&&K(t).is(n))break;r.push(t)}return r},sibling:function(t,e){for(var n=[];t;t=t.nextSibling)1===t.nodeType&&t!==e&&n.push(t);return n}}),K.fn.extend({has:function(t){var e=K(t,this),n=e.length;return this.filter(function(){for(var t=0;n>t;t++)if(K.contains(this,e[t]))return!0})},closest:function(t,e){for(var n,r=0,i=this.length,o=[],s=oe.test(t)||"string"!=typeof t?K(t,e||this.context):0;i>r;r++)for(n=this[r];n&&n!==e;n=n.parentNode)if(n.nodeType<11&&(s?s.index(n)>-1:1===n.nodeType&&K.find.matchesSelector(n,t))){o.push(n);break}return this.pushStack(o.length>1?K.unique(o):o)},index:function(t){return t?"string"==typeof t?X.call(K(t),this[0]):X.call(this,t.jquery?t[0]:t):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(t,e){return this.pushStack(K.unique(K.merge(this.get(),K(t,e))))},addBack:function(t){return this.add(null==t?this.prevObject:this.prevObject.filter(t))}}),K.each({parent:function(t){var e=t.parentNode;return e&&11!==e.nodeType?e:null},parents:function(t){return K.dir(t,"parentNode")},parentsUntil:function(t,e,n){return K.dir(t,"parentNode",n)},next:function(t){return i(t,"nextSibling")},prev:function(t){return i(t,"previousSibling")},nextAll:function(t){return K.dir(t,"nextSibling")},prevAll:function(t){return K.dir(t,"previousSibling")},nextUntil:function(t,e,n){return K.dir(t,"nextSibling",n)},prevUntil:function(t,e,n){return K.dir(t,"previousSibling",n)},siblings:function(t){return K.sibling((t.parentNode||{}).firstChild,t)},children:function(t){return K.sibling(t.firstChild)},contents:function(t){return t.contentDocument||K.merge([],t.childNodes)}},function(t,e){K.fn[t]=function(n,r){var i=K.map(this,e,n);return"Until"!==t.slice(-5)&&(r=n),r&&"string"==typeof r&&(i=K.filter(r,i)),this.length>1&&(he[t]||K.unique(i),fe.test(t)&&i.reverse()),this.pushStack(i)}});var pe=/\S+/g,de={};K.Callbacks=function(t){t="string"==typeof t?de[t]||o(t):K.extend({},t);var e,n,r,i,s,a,u=[],c=!t.once&&[],l=function(o){for(e=t.memory&&o,n=!0,a=i||0,i=0,s=u.length,r=!0;u&&s>a;a++)if(u[a].apply(o[0],o[1])===!1&&t.stopOnFalse){e=!1;break}r=!1,u&&(c?c.length&&l(c.shift()):e?u=[]:f.disable())},f={add:function(){if(u){var n=u.length;!function o(e){K.each(e,function(e,n){var r=K.type(n);"function"===r?t.unique&&f.has(n)||u.push(n):n&&n.length&&"string"!==r&&o(n)})}(arguments),r?s=u.length:e&&(i=n,l(e))}return this},remove:function(){return u&&K.each(arguments,function(t,e){for(var n;(n=K.inArray(e,u,n))>-1;)u.splice(n,1),r&&(s>=n&&s--,a>=n&&a--)}),this},has:function(t){return t?K.inArray(t,u)>-1:!(!u||!u.length)},empty:function(){return u=[],s=0,this},disable:function(){return u=c=e=void 0,this},disabled:function(){return!u},lock:function(){return c=void 0,e||f.disable(),this},locked:function(){return!c},fireWith:function(t,e){return!u||n&&!c||(e=e||[],e=[t,e.slice?e.slice():e],r?c.push(e):l(e)),this},fire:function(){return f.fireWith(this,arguments),this},fired:function(){return!!n}};return f},K.extend({Deferred:function(t){var e=[["resolve","done",K.Callbacks("once memory"),"resolved"],["reject","fail",K.Callbacks("once memory"),"rejected"],["notify","progress",K.Callbacks("memory")]],n="pending",r={state:function(){return n},always:function(){return i.done(arguments).fail(arguments),this},then:function(){var t=arguments;return K.Deferred(function(n){K.each(e,function(e,o){var s=K.isFunction(t[e])&&t[e];i[o[1]](function(){var t=s&&s.apply(this,arguments);t&&K.isFunction(t.promise)?t.promise().done(n.resolve).fail(n.reject).progress(n.notify):n[o[0]+"With"](this===r?n.promise():this,s?[t]:arguments)})}),t=null}).promise()},promise:function(t){return null!=t?K.extend(t,r):r}},i={};return r.pipe=r.then,K.each(e,function(t,o){var s=o[2],a=o[3];r[o[1]]=s.add,a&&s.add(function(){n=a},e[1^t][2].disable,e[2][2].lock),i[o[0]]=function(){return i[o[0]+"With"](this===i?r:this,arguments),this},i[o[0]+"With"]=s.fireWith}),r.promise(i),t&&t.call(i,i),i},when:function(t){var e,n,r,i=0,o=z.call(arguments),s=o.length,a=1!==s||t&&K.isFunction(t.promise)?s:0,u=1===a?t:K.Deferred(),c=function(t,n,r){return function(i){n[t]=this,r[t]=arguments.length>1?z.call(arguments):i,r===e?u.notifyWith(n,r):--a||u.resolveWith(n,r)}};if(s>1)for(e=new Array(s),n=new Array(s),r=new Array(s);s>i;i++)o[i]&&K.isFunction(o[i].promise)?o[i].promise().done(c(i,r,o)).fail(u.reject).progress(c(i,n,e)):--a;return a||u.resolveWith(r,o),u.promise()}});var ge;K.fn.ready=function(t){return K.ready.promise().done(t),this},K.extend({isReady:!1,readyWait:1,holdReady:function(t){t?K.readyWait++:K.ready(!0)},ready:function(t){(t===!0?--K.readyWait:K.isReady)||(K.isReady=!0,t!==!0&&--K.readyWait>0||(ge.resolveWith(Q,[K]),K.fn.triggerHandler&&(K(Q).triggerHandler("ready"),K(Q).off("ready"))))}}),K.ready.promise=function(e){return ge||(ge=K.Deferred(),"complete"===Q.readyState?setTimeout(K.ready):(Q.addEventListener("DOMContentLoaded",s,!1),t.addEventListener("load",s,!1))),ge.promise(e)},K.ready.promise();var me=K.access=function(t,e,n,r,i,o,s){var a=0,u=t.length,c=null==n;if("object"===K.type(n)){i=!0;for(a in n)K.access(t,e,a,n[a],!0,o,s)}else if(void 0!==r&&(i=!0,K.isFunction(r)||(s=!0),c&&(s?(e.call(t,r),e=null):(c=e,e=function(t,e,n){return c.call(K(t),n)})),e))for(;u>a;a++)e(t[a],n,s?r:r.call(t[a],a,e(t[a],n)));return i?t:c?e.call(t):u?e(t[0],n):o};K.acceptData=function(t){return 1===t.nodeType||9===t.nodeType||!+t.nodeType},a.uid=1,a.accepts=K.acceptData,a.prototype={key:function(t){if(!a.accepts(t))return 0;var e={},n=t[this.expando];if(!n){n=a.uid++;try{e[this.expando]={value:n},Object.defineProperties(t,e)}catch(r){e[this.expando]=n,K.extend(t,e)}}return this.cache[n]||(this.cache[n]={}),n},set:function(t,e,n){var r,i=this.key(t),o=this.cache[i];if("string"==typeof e)o[e]=n;else if(K.isEmptyObject(o))K.extend(this.cache[i],e);else for(r in e)o[r]=e[r];return o},get:function(t,e){var n=this.cache[this.key(t)];return void 0===e?n:n[e]},access:function(t,e,n){var r;return void 0===e||e&&"string"==typeof e&&void 0===n?(r=this.get(t,e),void 0!==r?r:this.get(t,K.camelCase(e))):(this.set(t,e,n),void 0!==n?n:e)},remove:function(t,e){var n,r,i,o=this.key(t),s=this.cache[o];if(void 0===e)this.cache[o]={};else{K.isArray(e)?r=e.concat(e.map(K.camelCase)):(i=K.camelCase(e),e in s?r=[e,i]:(r=i,r=r in s?[r]:r.match(pe)||[])),n=r.length;for(;n--;)delete s[r[n]]}},hasData:function(t){return!K.isEmptyObject(this.cache[t[this.expando]]||{})},discard:function(t){t[this.expando]&&delete this.cache[t[this.expando]]}};var ve=new a,ye=new a,xe=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,be=/([A-Z])/g;K.extend({hasData:function(t){return ye.hasData(t)||ve.hasData(t)},data:function(t,e,n){return ye.access(t,e,n)},removeData:function(t,e){ye.remove(t,e)},_data:function(t,e,n){return ve.access(t,e,n)},_removeData:function(t,e){ve.remove(t,e)}}),K.fn.extend({data:function(t,e){var n,r,i,o=this[0],s=o&&o.attributes;if(void 0===t){if(this.length&&(i=ye.get(o),1===o.nodeType&&!ve.get(o,"hasDataAttrs"))){for(n=s.length;n--;)s[n]&&(r=s[n].name,0===r.indexOf("data-")&&(r=K.camelCase(r.slice(5)),u(o,r,i[r])));ve.set(o,"hasDataAttrs",!0)}return i}return"object"==typeof t?this.each(function(){ye.set(this,t)}):me(this,function(e){var n,r=K.camelCase(t);if(o&&void 0===e){if(n=ye.get(o,t),void 0!==n)return n;if(n=ye.get(o,r),void 0!==n)return n;if(n=u(o,r,void 0),void 0!==n)return n}else this.each(function(){var n=ye.get(this,r);ye.set(this,r,e),-1!==t.indexOf("-")&&void 0!==n&&ye.set(this,t,e)})},null,e,arguments.length>1,null,!0)},removeData:function(t){return this.each(function(){ye.remove(this,t)})}}),K.extend({queue:function(t,e,n){var r;return t?(e=(e||"fx")+"queue",r=ve.get(t,e),n&&(!r||K.isArray(n)?r=ve.access(t,e,K.makeArray(n)):r.push(n)),r||[]):void 0},dequeue:function(t,e){e=e||"fx";var n=K.queue(t,e),r=n.length,i=n.shift(),o=K._queueHooks(t,e),s=function(){K.dequeue(t,e)};"inprogress"===i&&(i=n.shift(),r--),i&&("fx"===e&&n.unshift("inprogress"),delete o.stop,i.call(t,s,o)),!r&&o&&o.empty.fire()},_queueHooks:function(t,e){var n=e+"queueHooks";return ve.get(t,n)||ve.access(t,n,{empty:K.Callbacks("once memory").add(function(){ve.remove(t,[e+"queue",n])})})}}),K.fn.extend({queue:function(t,e){var n=2;return"string"!=typeof t&&(e=t,t="fx",n--),arguments.length<n?K.queue(this[0],t):void 0===e?this:this.each(function(){var n=K.queue(this,t,e);K._queueHooks(this,t),"fx"===t&&"inprogress"!==n[0]&&K.dequeue(this,t)})},dequeue:function(t){return this.each(function(){K.dequeue(this,t)})},clearQueue:function(t){return this.queue(t||"fx",[])},promise:function(t,e){var n,r=1,i=K.Deferred(),o=this,s=this.length,a=function(){--r||i.resolveWith(o,[o])};for("string"!=typeof t&&(e=t,t=void 0),t=t||"fx";s--;)n=ve.get(o[s],t+"queueHooks"),n&&n.empty&&(r++,n.empty.add(a));return a(),i.promise(e)}});var we=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,ke=["Top","Right","Bottom","Left"],Ce=function(t,e){return t=e||t,"none"===K.css(t,"display")||!K.contains(t.ownerDocument,t)},Te=/^(?:checkbox|radio)$/i;!function(){var t=Q.createDocumentFragment(),e=t.appendChild(Q.createElement("div")),n=Q.createElement("input");n.setAttribute("type","radio"),n.setAttribute("checked","checked"),n.setAttribute("name","t"),e.appendChild(n),J.checkClone=e.cloneNode(!0).cloneNode(!0).lastChild.checked,e.innerHTML="<textarea>x</textarea>",J.noCloneChecked=!!e.cloneNode(!0).lastChild.defaultValue}();var _e="undefined";J.focusinBubbles="onfocusin"in t;var Ne=/^key/,Ae=/^(?:mouse|pointer|contextmenu)|click/,Ee=/^(?:focusinfocus|focusoutblur)$/,Se=/^([^.]*)(?:\.(.+)|)$/;K.event={global:{},add:function(t,e,n,r,i){var o,s,a,u,c,l,f,h,p,d,g,m=ve.get(t);if(m)for(n.handler&&(o=n,n=o.handler,i=o.selector),n.guid||(n.guid=K.guid++),(u=m.events)||(u=m.events={}),(s=m.handle)||(s=m.handle=function(e){return typeof K!==_e&&K.event.triggered!==e.type?K.event.dispatch.apply(t,arguments):void 0}),e=(e||"").match(pe)||[""],c=e.length;c--;)a=Se.exec(e[c])||[],p=g=a[1],d=(a[2]||"").split(".").sort(),p&&(f=K.event.special[p]||{},p=(i?f.delegateType:f.bindType)||p,f=K.event.special[p]||{},l=K.extend({type:p,origType:g,data:r,handler:n,guid:n.guid,selector:i,needsContext:i&&K.expr.match.needsContext.test(i),namespace:d.join(".")},o),(h=u[p])||(h=u[p]=[],h.delegateCount=0,f.setup&&f.setup.call(t,r,d,s)!==!1||t.addEventListener&&t.addEventListener(p,s,!1)),f.add&&(f.add.call(t,l),l.handler.guid||(l.handler.guid=n.guid)),i?h.splice(h.delegateCount++,0,l):h.push(l),K.event.global[p]=!0)},remove:function(t,e,n,r,i){var o,s,a,u,c,l,f,h,p,d,g,m=ve.hasData(t)&&ve.get(t);if(m&&(u=m.events)){for(e=(e||"").match(pe)||[""],c=e.length;c--;)if(a=Se.exec(e[c])||[],p=g=a[1],d=(a[2]||"").split(".").sort(),p){for(f=K.event.special[p]||{},p=(r?f.delegateType:f.bindType)||p,h=u[p]||[],a=a[2]&&new RegExp("(^|\\.)"+d.join("\\.(?:.*\\.|)")+"(\\.|$)"),s=o=h.length;o--;)l=h[o],!i&&g!==l.origType||n&&n.guid!==l.guid||a&&!a.test(l.namespace)||r&&r!==l.selector&&("**"!==r||!l.selector)||(h.splice(o,1),l.selector&&h.delegateCount--,f.remove&&f.remove.call(t,l));s&&!h.length&&(f.teardown&&f.teardown.call(t,d,m.handle)!==!1||K.removeEvent(t,p,m.handle),delete u[p])}else for(p in u)K.event.remove(t,p+e[c],n,r,!0);K.isEmptyObject(u)&&(delete m.handle,ve.remove(t,"events"))}},trigger:function(e,n,r,i){var o,s,a,u,c,l,f,h=[r||Q],p=U.call(e,"type")?e.type:e,d=U.call(e,"namespace")?e.namespace.split("."):[];if(s=a=r=r||Q,3!==r.nodeType&&8!==r.nodeType&&!Ee.test(p+K.event.triggered)&&(p.indexOf(".")>=0&&(d=p.split("."),p=d.shift(),d.sort()),c=p.indexOf(":")<0&&"on"+p,e=e[K.expando]?e:new K.Event(p,"object"==typeof e&&e),e.isTrigger=i?2:3,e.namespace=d.join("."),e.namespace_re=e.namespace?new RegExp("(^|\\.)"+d.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=r),n=null==n?[e]:K.makeArray(n,[e]),f=K.event.special[p]||{},i||!f.trigger||f.trigger.apply(r,n)!==!1)){if(!i&&!f.noBubble&&!K.isWindow(r)){for(u=f.delegateType||p,Ee.test(u+p)||(s=s.parentNode);s;s=s.parentNode)h.push(s),a=s;a===(r.ownerDocument||Q)&&h.push(a.defaultView||a.parentWindow||t)}for(o=0;(s=h[o++])&&!e.isPropagationStopped();)e.type=o>1?u:f.bindType||p,l=(ve.get(s,"events")||{})[e.type]&&ve.get(s,"handle"),l&&l.apply(s,n),l=c&&s[c],l&&l.apply&&K.acceptData(s)&&(e.result=l.apply(s,n),e.result===!1&&e.preventDefault());return e.type=p,i||e.isDefaultPrevented()||f._default&&f._default.apply(h.pop(),n)!==!1||!K.acceptData(r)||c&&K.isFunction(r[p])&&!K.isWindow(r)&&(a=r[c],a&&(r[c]=null),K.event.triggered=p,r[p](),K.event.triggered=void 0,a&&(r[c]=a)),e.result}},dispatch:function(t){t=K.event.fix(t);
var e,n,r,i,o,s=[],a=z.call(arguments),u=(ve.get(this,"events")||{})[t.type]||[],c=K.event.special[t.type]||{};if(a[0]=t,t.delegateTarget=this,!c.preDispatch||c.preDispatch.call(this,t)!==!1){for(s=K.event.handlers.call(this,t,u),e=0;(i=s[e++])&&!t.isPropagationStopped();)for(t.currentTarget=i.elem,n=0;(o=i.handlers[n++])&&!t.isImmediatePropagationStopped();)(!t.namespace_re||t.namespace_re.test(o.namespace))&&(t.handleObj=o,t.data=o.data,r=((K.event.special[o.origType]||{}).handle||o.handler).apply(i.elem,a),void 0!==r&&(t.result=r)===!1&&(t.preventDefault(),t.stopPropagation()));return c.postDispatch&&c.postDispatch.call(this,t),t.result}},handlers:function(t,e){var n,r,i,o,s=[],a=e.delegateCount,u=t.target;if(a&&u.nodeType&&(!t.button||"click"!==t.type))for(;u!==this;u=u.parentNode||this)if(u.disabled!==!0||"click"!==t.type){for(r=[],n=0;a>n;n++)o=e[n],i=o.selector+" ",void 0===r[i]&&(r[i]=o.needsContext?K(i,this).index(u)>=0:K.find(i,this,null,[u]).length),r[i]&&r.push(o);r.length&&s.push({elem:u,handlers:r})}return a<e.length&&s.push({elem:this,handlers:e.slice(a)}),s},props:"altKey bubbles cancelable ctrlKey currentTarget eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "),fixHooks:{},keyHooks:{props:"char charCode key keyCode".split(" "),filter:function(t,e){return null==t.which&&(t.which=null!=e.charCode?e.charCode:e.keyCode),t}},mouseHooks:{props:"button buttons clientX clientY offsetX offsetY pageX pageY screenX screenY toElement".split(" "),filter:function(t,e){var n,r,i,o=e.button;return null==t.pageX&&null!=e.clientX&&(n=t.target.ownerDocument||Q,r=n.documentElement,i=n.body,t.pageX=e.clientX+(r&&r.scrollLeft||i&&i.scrollLeft||0)-(r&&r.clientLeft||i&&i.clientLeft||0),t.pageY=e.clientY+(r&&r.scrollTop||i&&i.scrollTop||0)-(r&&r.clientTop||i&&i.clientTop||0)),t.which||void 0===o||(t.which=1&o?1:2&o?3:4&o?2:0),t}},fix:function(t){if(t[K.expando])return t;var e,n,r,i=t.type,o=t,s=this.fixHooks[i];for(s||(this.fixHooks[i]=s=Ae.test(i)?this.mouseHooks:Ne.test(i)?this.keyHooks:{}),r=s.props?this.props.concat(s.props):this.props,t=new K.Event(o),e=r.length;e--;)n=r[e],t[n]=o[n];return t.target||(t.target=Q),3===t.target.nodeType&&(t.target=t.target.parentNode),s.filter?s.filter(t,o):t},special:{load:{noBubble:!0},focus:{trigger:function(){return this!==f()&&this.focus?(this.focus(),!1):void 0},delegateType:"focusin"},blur:{trigger:function(){return this===f()&&this.blur?(this.blur(),!1):void 0},delegateType:"focusout"},click:{trigger:function(){return"checkbox"===this.type&&this.click&&K.nodeName(this,"input")?(this.click(),!1):void 0},_default:function(t){return K.nodeName(t.target,"a")}},beforeunload:{postDispatch:function(t){void 0!==t.result&&t.originalEvent&&(t.originalEvent.returnValue=t.result)}}},simulate:function(t,e,n,r){var i=K.extend(new K.Event,n,{type:t,isSimulated:!0,originalEvent:{}});r?K.event.trigger(i,null,e):K.event.dispatch.call(e,i),i.isDefaultPrevented()&&n.preventDefault()}},K.removeEvent=function(t,e,n){t.removeEventListener&&t.removeEventListener(e,n,!1)},K.Event=function(t,e){return this instanceof K.Event?(t&&t.type?(this.originalEvent=t,this.type=t.type,this.isDefaultPrevented=t.defaultPrevented||void 0===t.defaultPrevented&&t.returnValue===!1?c:l):this.type=t,e&&K.extend(this,e),this.timeStamp=t&&t.timeStamp||K.now(),void(this[K.expando]=!0)):new K.Event(t,e)},K.Event.prototype={isDefaultPrevented:l,isPropagationStopped:l,isImmediatePropagationStopped:l,preventDefault:function(){var t=this.originalEvent;this.isDefaultPrevented=c,t&&t.preventDefault&&t.preventDefault()},stopPropagation:function(){var t=this.originalEvent;this.isPropagationStopped=c,t&&t.stopPropagation&&t.stopPropagation()},stopImmediatePropagation:function(){var t=this.originalEvent;this.isImmediatePropagationStopped=c,t&&t.stopImmediatePropagation&&t.stopImmediatePropagation(),this.stopPropagation()}},K.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(t,e){K.event.special[t]={delegateType:e,bindType:e,handle:function(t){var n,r=this,i=t.relatedTarget,o=t.handleObj;return(!i||i!==r&&!K.contains(r,i))&&(t.type=o.origType,n=o.handler.apply(this,arguments),t.type=e),n}}}),J.focusinBubbles||K.each({focus:"focusin",blur:"focusout"},function(t,e){var n=function(t){K.event.simulate(e,t.target,K.event.fix(t),!0)};K.event.special[e]={setup:function(){var r=this.ownerDocument||this,i=ve.access(r,e);i||r.addEventListener(t,n,!0),ve.access(r,e,(i||0)+1)},teardown:function(){var r=this.ownerDocument||this,i=ve.access(r,e)-1;i?ve.access(r,e,i):(r.removeEventListener(t,n,!0),ve.remove(r,e))}}}),K.fn.extend({on:function(t,e,n,r,i){var o,s;if("object"==typeof t){"string"!=typeof e&&(n=n||e,e=void 0);for(s in t)this.on(s,e,n,t[s],i);return this}if(null==n&&null==r?(r=e,n=e=void 0):null==r&&("string"==typeof e?(r=n,n=void 0):(r=n,n=e,e=void 0)),r===!1)r=l;else if(!r)return this;return 1===i&&(o=r,r=function(t){return K().off(t),o.apply(this,arguments)},r.guid=o.guid||(o.guid=K.guid++)),this.each(function(){K.event.add(this,t,r,n,e)})},one:function(t,e,n,r){return this.on(t,e,n,r,1)},off:function(t,e,n){var r,i;if(t&&t.preventDefault&&t.handleObj)return r=t.handleObj,K(t.delegateTarget).off(r.namespace?r.origType+"."+r.namespace:r.origType,r.selector,r.handler),this;if("object"==typeof t){for(i in t)this.off(i,e,t[i]);return this}return(e===!1||"function"==typeof e)&&(n=e,e=void 0),n===!1&&(n=l),this.each(function(){K.event.remove(this,t,n,e)})},trigger:function(t,e){return this.each(function(){K.event.trigger(t,e,this)})},triggerHandler:function(t,e){var n=this[0];return n?K.event.trigger(t,e,n,!0):void 0}});var je=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,De=/<([\w:]+)/,Oe=/<|&#?\w+;/,qe=/<(?:script|style|link)/i,Le=/checked\s*(?:[^=]|=\s*.checked.)/i,Re=/^$|\/(?:java|ecma)script/i,Be=/^true\/(.*)/,Me=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g,He={option:[1,"<select multiple='multiple'>","</select>"],thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};He.optgroup=He.option,He.tbody=He.tfoot=He.colgroup=He.caption=He.thead,He.th=He.td,K.extend({clone:function(t,e,n){var r,i,o,s,a=t.cloneNode(!0),u=K.contains(t.ownerDocument,t);if(!(J.noCloneChecked||1!==t.nodeType&&11!==t.nodeType||K.isXMLDoc(t)))for(s=v(a),o=v(t),r=0,i=o.length;i>r;r++)y(o[r],s[r]);if(e)if(n)for(o=o||v(t),s=s||v(a),r=0,i=o.length;i>r;r++)m(o[r],s[r]);else m(t,a);return s=v(a,"script"),s.length>0&&g(s,!u&&v(t,"script")),a},buildFragment:function(t,e,n,r){for(var i,o,s,a,u,c,l=e.createDocumentFragment(),f=[],h=0,p=t.length;p>h;h++)if(i=t[h],i||0===i)if("object"===K.type(i))K.merge(f,i.nodeType?[i]:i);else if(Oe.test(i)){for(o=o||l.appendChild(e.createElement("div")),s=(De.exec(i)||["",""])[1].toLowerCase(),a=He[s]||He._default,o.innerHTML=a[1]+i.replace(je,"<$1></$2>")+a[2],c=a[0];c--;)o=o.lastChild;K.merge(f,o.childNodes),o=l.firstChild,o.textContent=""}else f.push(e.createTextNode(i));for(l.textContent="",h=0;i=f[h++];)if((!r||-1===K.inArray(i,r))&&(u=K.contains(i.ownerDocument,i),o=v(l.appendChild(i),"script"),u&&g(o),n))for(c=0;i=o[c++];)Re.test(i.type||"")&&n.push(i);return l},cleanData:function(t){for(var e,n,r,i,o=K.event.special,s=0;void 0!==(n=t[s]);s++){if(K.acceptData(n)&&(i=n[ve.expando],i&&(e=ve.cache[i]))){if(e.events)for(r in e.events)o[r]?K.event.remove(n,r):K.removeEvent(n,r,e.handle);ve.cache[i]&&delete ve.cache[i]}delete ye.cache[n[ye.expando]]}}}),K.fn.extend({text:function(t){return me(this,function(t){return void 0===t?K.text(this):this.empty().each(function(){(1===this.nodeType||11===this.nodeType||9===this.nodeType)&&(this.textContent=t)})},null,t,arguments.length)},append:function(){return this.domManip(arguments,function(t){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var e=h(this,t);e.appendChild(t)}})},prepend:function(){return this.domManip(arguments,function(t){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var e=h(this,t);e.insertBefore(t,e.firstChild)}})},before:function(){return this.domManip(arguments,function(t){this.parentNode&&this.parentNode.insertBefore(t,this)})},after:function(){return this.domManip(arguments,function(t){this.parentNode&&this.parentNode.insertBefore(t,this.nextSibling)})},remove:function(t,e){for(var n,r=t?K.filter(t,this):this,i=0;null!=(n=r[i]);i++)e||1!==n.nodeType||K.cleanData(v(n)),n.parentNode&&(e&&K.contains(n.ownerDocument,n)&&g(v(n,"script")),n.parentNode.removeChild(n));return this},empty:function(){for(var t,e=0;null!=(t=this[e]);e++)1===t.nodeType&&(K.cleanData(v(t,!1)),t.textContent="");return this},clone:function(t,e){return t=null==t?!1:t,e=null==e?t:e,this.map(function(){return K.clone(this,t,e)})},html:function(t){return me(this,function(t){var e=this[0]||{},n=0,r=this.length;if(void 0===t&&1===e.nodeType)return e.innerHTML;if("string"==typeof t&&!qe.test(t)&&!He[(De.exec(t)||["",""])[1].toLowerCase()]){t=t.replace(je,"<$1></$2>");try{for(;r>n;n++)e=this[n]||{},1===e.nodeType&&(K.cleanData(v(e,!1)),e.innerHTML=t);e=0}catch(i){}}e&&this.empty().append(t)},null,t,arguments.length)},replaceWith:function(){var t=arguments[0];return this.domManip(arguments,function(e){t=this.parentNode,K.cleanData(v(this)),t&&t.replaceChild(e,this)}),t&&(t.length||t.nodeType)?this:this.remove()},detach:function(t){return this.remove(t,!0)},domManip:function(t,e){t=$.apply([],t);var n,r,i,o,s,a,u=0,c=this.length,l=this,f=c-1,h=t[0],g=K.isFunction(h);if(g||c>1&&"string"==typeof h&&!J.checkClone&&Le.test(h))return this.each(function(n){var r=l.eq(n);g&&(t[0]=h.call(this,n,r.html())),r.domManip(t,e)});if(c&&(n=K.buildFragment(t,this[0].ownerDocument,!1,this),r=n.firstChild,1===n.childNodes.length&&(n=r),r)){for(i=K.map(v(n,"script"),p),o=i.length;c>u;u++)s=n,u!==f&&(s=K.clone(s,!0,!0),o&&K.merge(i,v(s,"script"))),e.call(this[u],s,u);if(o)for(a=i[i.length-1].ownerDocument,K.map(i,d),u=0;o>u;u++)s=i[u],Re.test(s.type||"")&&!ve.access(s,"globalEval")&&K.contains(a,s)&&(s.src?K._evalUrl&&K._evalUrl(s.src):K.globalEval(s.textContent.replace(Me,"")))}return this}}),K.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(t,e){K.fn[t]=function(t){for(var n,r=[],i=K(t),o=i.length-1,s=0;o>=s;s++)n=s===o?this:this.clone(!0),K(i[s])[e](n),G.apply(r,n.get());return this.pushStack(r)}});var Fe,Pe={},Ie=/^margin/,We=new RegExp("^("+we+")(?!px)[a-z%]+$","i"),ze=function(t){return t.ownerDocument.defaultView.getComputedStyle(t,null)};!function(){function e(){s.style.cssText="-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;display:block;margin-top:1%;top:1%;border:1px;padding:1px;width:4px;position:absolute",s.innerHTML="",i.appendChild(o);var e=t.getComputedStyle(s,null);n="1%"!==e.top,r="4px"===e.width,i.removeChild(o)}var n,r,i=Q.documentElement,o=Q.createElement("div"),s=Q.createElement("div");s.style&&(s.style.backgroundClip="content-box",s.cloneNode(!0).style.backgroundClip="",J.clearCloneStyle="content-box"===s.style.backgroundClip,o.style.cssText="border:0;width:0;height:0;top:0;left:-9999px;margin-top:1px;position:absolute",o.appendChild(s),t.getComputedStyle&&K.extend(J,{pixelPosition:function(){return e(),n},boxSizingReliable:function(){return null==r&&e(),r},reliableMarginRight:function(){var e,n=s.appendChild(Q.createElement("div"));return n.style.cssText=s.style.cssText="-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;display:block;margin:0;border:0;padding:0",n.style.marginRight=n.style.width="0",s.style.width="1px",i.appendChild(o),e=!parseFloat(t.getComputedStyle(n,null).marginRight),i.removeChild(o),e}}))}(),K.swap=function(t,e,n,r){var i,o,s={};for(o in e)s[o]=t.style[o],t.style[o]=e[o];i=n.apply(t,r||[]);for(o in e)t.style[o]=s[o];return i};var $e=/^(none|table(?!-c[ea]).+)/,Ge=new RegExp("^("+we+")(.*)$","i"),Xe=new RegExp("^([+-])=("+we+")","i"),Ve={position:"absolute",visibility:"hidden",display:"block"},Ye={letterSpacing:"0",fontWeight:"400"},Ue=["Webkit","O","Moz","ms"];K.extend({cssHooks:{opacity:{get:function(t,e){if(e){var n=w(t,"opacity");return""===n?"1":n}}}},cssNumber:{columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{"float":"cssFloat"},style:function(t,e,n,r){if(t&&3!==t.nodeType&&8!==t.nodeType&&t.style){var i,o,s,a=K.camelCase(e),u=t.style;return e=K.cssProps[a]||(K.cssProps[a]=C(u,a)),s=K.cssHooks[e]||K.cssHooks[a],void 0===n?s&&"get"in s&&void 0!==(i=s.get(t,!1,r))?i:u[e]:(o=typeof n,"string"===o&&(i=Xe.exec(n))&&(n=(i[1]+1)*i[2]+parseFloat(K.css(t,e)),o="number"),null!=n&&n===n&&("number"!==o||K.cssNumber[a]||(n+="px"),J.clearCloneStyle||""!==n||0!==e.indexOf("background")||(u[e]="inherit"),s&&"set"in s&&void 0===(n=s.set(t,n,r))||(u[e]=n)),void 0)}},css:function(t,e,n,r){var i,o,s,a=K.camelCase(e);return e=K.cssProps[a]||(K.cssProps[a]=C(t.style,a)),s=K.cssHooks[e]||K.cssHooks[a],s&&"get"in s&&(i=s.get(t,!0,n)),void 0===i&&(i=w(t,e,r)),"normal"===i&&e in Ye&&(i=Ye[e]),""===n||n?(o=parseFloat(i),n===!0||K.isNumeric(o)?o||0:i):i}}),K.each(["height","width"],function(t,e){K.cssHooks[e]={get:function(t,n,r){return n?$e.test(K.css(t,"display"))&&0===t.offsetWidth?K.swap(t,Ve,function(){return N(t,e,r)}):N(t,e,r):void 0},set:function(t,n,r){var i=r&&ze(t);return T(t,n,r?_(t,e,r,"border-box"===K.css(t,"boxSizing",!1,i),i):0)}}}),K.cssHooks.marginRight=k(J.reliableMarginRight,function(t,e){return e?K.swap(t,{display:"inline-block"},w,[t,"marginRight"]):void 0}),K.each({margin:"",padding:"",border:"Width"},function(t,e){K.cssHooks[t+e]={expand:function(n){for(var r=0,i={},o="string"==typeof n?n.split(" "):[n];4>r;r++)i[t+ke[r]+e]=o[r]||o[r-2]||o[0];return i}},Ie.test(t)||(K.cssHooks[t+e].set=T)}),K.fn.extend({css:function(t,e){return me(this,function(t,e,n){var r,i,o={},s=0;if(K.isArray(e)){for(r=ze(t),i=e.length;i>s;s++)o[e[s]]=K.css(t,e[s],!1,r);return o}return void 0!==n?K.style(t,e,n):K.css(t,e)},t,e,arguments.length>1)},show:function(){return A(this,!0)},hide:function(){return A(this)},toggle:function(t){return"boolean"==typeof t?t?this.show():this.hide():this.each(function(){Ce(this)?K(this).show():K(this).hide()})}}),K.Tween=E,E.prototype={constructor:E,init:function(t,e,n,r,i,o){this.elem=t,this.prop=n,this.easing=i||"swing",this.options=e,this.start=this.now=this.cur(),this.end=r,this.unit=o||(K.cssNumber[n]?"":"px")},cur:function(){var t=E.propHooks[this.prop];return t&&t.get?t.get(this):E.propHooks._default.get(this)},run:function(t){var e,n=E.propHooks[this.prop];return this.pos=e=this.options.duration?K.easing[this.easing](t,this.options.duration*t,0,1,this.options.duration):t,this.now=(this.end-this.start)*e+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):E.propHooks._default.set(this),this}},E.prototype.init.prototype=E.prototype,E.propHooks={_default:{get:function(t){var e;return null==t.elem[t.prop]||t.elem.style&&null!=t.elem.style[t.prop]?(e=K.css(t.elem,t.prop,""),e&&"auto"!==e?e:0):t.elem[t.prop]},set:function(t){K.fx.step[t.prop]?K.fx.step[t.prop](t):t.elem.style&&(null!=t.elem.style[K.cssProps[t.prop]]||K.cssHooks[t.prop])?K.style(t.elem,t.prop,t.now+t.unit):t.elem[t.prop]=t.now}}},E.propHooks.scrollTop=E.propHooks.scrollLeft={set:function(t){t.elem.nodeType&&t.elem.parentNode&&(t.elem[t.prop]=t.now)}},K.easing={linear:function(t){return t},swing:function(t){return.5-Math.cos(t*Math.PI)/2}},K.fx=E.prototype.init,K.fx.step={};var Je,Qe,Ze=/^(?:toggle|show|hide)$/,Ke=new RegExp("^(?:([+-])=|)("+we+")([a-z%]*)$","i"),tn=/queueHooks$/,en=[O],nn={"*":[function(t,e){var n=this.createTween(t,e),r=n.cur(),i=Ke.exec(e),o=i&&i[3]||(K.cssNumber[t]?"":"px"),s=(K.cssNumber[t]||"px"!==o&&+r)&&Ke.exec(K.css(n.elem,t)),a=1,u=20;if(s&&s[3]!==o){o=o||s[3],i=i||[],s=+r||1;do a=a||".5",s/=a,K.style(n.elem,t,s+o);while(a!==(a=n.cur()/r)&&1!==a&&--u)}return i&&(s=n.start=+s||+r||0,n.unit=o,n.end=i[1]?s+(i[1]+1)*i[2]:+i[2]),n}]};K.Animation=K.extend(L,{tweener:function(t,e){K.isFunction(t)?(e=t,t=["*"]):t=t.split(" ");for(var n,r=0,i=t.length;i>r;r++)n=t[r],nn[n]=nn[n]||[],nn[n].unshift(e)},prefilter:function(t,e){e?en.unshift(t):en.push(t)}}),K.speed=function(t,e,n){var r=t&&"object"==typeof t?K.extend({},t):{complete:n||!n&&e||K.isFunction(t)&&t,duration:t,easing:n&&e||e&&!K.isFunction(e)&&e};return r.duration=K.fx.off?0:"number"==typeof r.duration?r.duration:r.duration in K.fx.speeds?K.fx.speeds[r.duration]:K.fx.speeds._default,(null==r.queue||r.queue===!0)&&(r.queue="fx"),r.old=r.complete,r.complete=function(){K.isFunction(r.old)&&r.old.call(this),r.queue&&K.dequeue(this,r.queue)},r},K.fn.extend({fadeTo:function(t,e,n,r){return this.filter(Ce).css("opacity",0).show().end().animate({opacity:e},t,n,r)},animate:function(t,e,n,r){var i=K.isEmptyObject(t),o=K.speed(e,n,r),s=function(){var e=L(this,K.extend({},t),o);(i||ve.get(this,"finish"))&&e.stop(!0)};return s.finish=s,i||o.queue===!1?this.each(s):this.queue(o.queue,s)},stop:function(t,e,n){var r=function(t){var e=t.stop;delete t.stop,e(n)};return"string"!=typeof t&&(n=e,e=t,t=void 0),e&&t!==!1&&this.queue(t||"fx",[]),this.each(function(){var e=!0,i=null!=t&&t+"queueHooks",o=K.timers,s=ve.get(this);if(i)s[i]&&s[i].stop&&r(s[i]);else for(i in s)s[i]&&s[i].stop&&tn.test(i)&&r(s[i]);for(i=o.length;i--;)o[i].elem!==this||null!=t&&o[i].queue!==t||(o[i].anim.stop(n),e=!1,o.splice(i,1));(e||!n)&&K.dequeue(this,t)})},finish:function(t){return t!==!1&&(t=t||"fx"),this.each(function(){var e,n=ve.get(this),r=n[t+"queue"],i=n[t+"queueHooks"],o=K.timers,s=r?r.length:0;for(n.finish=!0,K.queue(this,t,[]),i&&i.stop&&i.stop.call(this,!0),e=o.length;e--;)o[e].elem===this&&o[e].queue===t&&(o[e].anim.stop(!0),o.splice(e,1));for(e=0;s>e;e++)r[e]&&r[e].finish&&r[e].finish.call(this);delete n.finish})}}),K.each(["toggle","show","hide"],function(t,e){var n=K.fn[e];K.fn[e]=function(t,r,i){return null==t||"boolean"==typeof t?n.apply(this,arguments):this.animate(j(e,!0),t,r,i)}}),K.each({slideDown:j("show"),slideUp:j("hide"),slideToggle:j("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(t,e){K.fn[t]=function(t,n,r){return this.animate(e,t,n,r)}}),K.timers=[],K.fx.tick=function(){var t,e=0,n=K.timers;for(Je=K.now();e<n.length;e++)t=n[e],t()||n[e]!==t||n.splice(e--,1);n.length||K.fx.stop(),Je=void 0},K.fx.timer=function(t){K.timers.push(t),t()?K.fx.start():K.timers.pop()},K.fx.interval=13,K.fx.start=function(){Qe||(Qe=setInterval(K.fx.tick,K.fx.interval))},K.fx.stop=function(){clearInterval(Qe),Qe=null},K.fx.speeds={slow:600,fast:200,_default:400},K.fn.delay=function(t,e){return t=K.fx?K.fx.speeds[t]||t:t,e=e||"fx",this.queue(e,function(e,n){var r=setTimeout(e,t);n.stop=function(){clearTimeout(r)}})},function(){var t=Q.createElement("input"),e=Q.createElement("select"),n=e.appendChild(Q.createElement("option"));t.type="checkbox",J.checkOn=""!==t.value,J.optSelected=n.selected,e.disabled=!0,J.optDisabled=!n.disabled,t=Q.createElement("input"),t.value="t",t.type="radio",J.radioValue="t"===t.value}();var rn,on,sn=K.expr.attrHandle;K.fn.extend({attr:function(t,e){return me(this,K.attr,t,e,arguments.length>1)},removeAttr:function(t){return this.each(function(){K.removeAttr(this,t)})}}),K.extend({attr:function(t,e,n){var r,i,o=t.nodeType;if(t&&3!==o&&8!==o&&2!==o)return typeof t.getAttribute===_e?K.prop(t,e,n):(1===o&&K.isXMLDoc(t)||(e=e.toLowerCase(),r=K.attrHooks[e]||(K.expr.match.bool.test(e)?on:rn)),void 0===n?r&&"get"in r&&null!==(i=r.get(t,e))?i:(i=K.find.attr(t,e),null==i?void 0:i):null!==n?r&&"set"in r&&void 0!==(i=r.set(t,n,e))?i:(t.setAttribute(e,n+""),n):void K.removeAttr(t,e))},removeAttr:function(t,e){var n,r,i=0,o=e&&e.match(pe);if(o&&1===t.nodeType)for(;n=o[i++];)r=K.propFix[n]||n,K.expr.match.bool.test(n)&&(t[r]=!1),t.removeAttribute(n)},attrHooks:{type:{set:function(t,e){if(!J.radioValue&&"radio"===e&&K.nodeName(t,"input")){var n=t.value;return t.setAttribute("type",e),n&&(t.value=n),e}}}}}),on={set:function(t,e,n){return e===!1?K.removeAttr(t,n):t.setAttribute(n,n),n}},K.each(K.expr.match.bool.source.match(/\w+/g),function(t,e){var n=sn[e]||K.find.attr;sn[e]=function(t,e,r){var i,o;return r||(o=sn[e],sn[e]=i,i=null!=n(t,e,r)?e.toLowerCase():null,sn[e]=o),i}});var an=/^(?:input|select|textarea|button)$/i;K.fn.extend({prop:function(t,e){return me(this,K.prop,t,e,arguments.length>1)},removeProp:function(t){return this.each(function(){delete this[K.propFix[t]||t]})}}),K.extend({propFix:{"for":"htmlFor","class":"className"},prop:function(t,e,n){var r,i,o,s=t.nodeType;if(t&&3!==s&&8!==s&&2!==s)return o=1!==s||!K.isXMLDoc(t),o&&(e=K.propFix[e]||e,i=K.propHooks[e]),void 0!==n?i&&"set"in i&&void 0!==(r=i.set(t,n,e))?r:t[e]=n:i&&"get"in i&&null!==(r=i.get(t,e))?r:t[e]},propHooks:{tabIndex:{get:function(t){return t.hasAttribute("tabindex")||an.test(t.nodeName)||t.href?t.tabIndex:-1}}}}),J.optSelected||(K.propHooks.selected={get:function(t){var e=t.parentNode;return e&&e.parentNode&&e.parentNode.selectedIndex,null}}),K.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){K.propFix[this.toLowerCase()]=this});var un=/[\t\r\n\f]/g;K.fn.extend({addClass:function(t){var e,n,r,i,o,s,a="string"==typeof t&&t,u=0,c=this.length;if(K.isFunction(t))return this.each(function(e){K(this).addClass(t.call(this,e,this.className))});if(a)for(e=(t||"").match(pe)||[];c>u;u++)if(n=this[u],r=1===n.nodeType&&(n.className?(" "+n.className+" ").replace(un," "):" ")){for(o=0;i=e[o++];)r.indexOf(" "+i+" ")<0&&(r+=i+" ");s=K.trim(r),n.className!==s&&(n.className=s)}return this},removeClass:function(t){var e,n,r,i,o,s,a=0===arguments.length||"string"==typeof t&&t,u=0,c=this.length;if(K.isFunction(t))return this.each(function(e){K(this).removeClass(t.call(this,e,this.className))});if(a)for(e=(t||"").match(pe)||[];c>u;u++)if(n=this[u],r=1===n.nodeType&&(n.className?(" "+n.className+" ").replace(un," "):"")){for(o=0;i=e[o++];)for(;r.indexOf(" "+i+" ")>=0;)r=r.replace(" "+i+" "," ");s=t?K.trim(r):"",n.className!==s&&(n.className=s)}return this},toggleClass:function(t,e){var n=typeof t;return"boolean"==typeof e&&"string"===n?e?this.addClass(t):this.removeClass(t):this.each(K.isFunction(t)?function(n){K(this).toggleClass(t.call(this,n,this.className,e),e)}:function(){if("string"===n)for(var e,r=0,i=K(this),o=t.match(pe)||[];e=o[r++];)i.hasClass(e)?i.removeClass(e):i.addClass(e);else(n===_e||"boolean"===n)&&(this.className&&ve.set(this,"__className__",this.className),this.className=this.className||t===!1?"":ve.get(this,"__className__")||"")})},hasClass:function(t){for(var e=" "+t+" ",n=0,r=this.length;r>n;n++)if(1===this[n].nodeType&&(" "+this[n].className+" ").replace(un," ").indexOf(e)>=0)return!0;return!1}});var cn=/\r/g;K.fn.extend({val:function(t){var e,n,r,i=this[0];{if(arguments.length)return r=K.isFunction(t),this.each(function(n){var i;1===this.nodeType&&(i=r?t.call(this,n,K(this).val()):t,null==i?i="":"number"==typeof i?i+="":K.isArray(i)&&(i=K.map(i,function(t){return null==t?"":t+""})),e=K.valHooks[this.type]||K.valHooks[this.nodeName.toLowerCase()],e&&"set"in e&&void 0!==e.set(this,i,"value")||(this.value=i))});if(i)return e=K.valHooks[i.type]||K.valHooks[i.nodeName.toLowerCase()],e&&"get"in e&&void 0!==(n=e.get(i,"value"))?n:(n=i.value,"string"==typeof n?n.replace(cn,""):null==n?"":n)}}}),K.extend({valHooks:{option:{get:function(t){var e=K.find.attr(t,"value");return null!=e?e:K.trim(K.text(t))}},select:{get:function(t){for(var e,n,r=t.options,i=t.selectedIndex,o="select-one"===t.type||0>i,s=o?null:[],a=o?i+1:r.length,u=0>i?a:o?i:0;a>u;u++)if(n=r[u],!(!n.selected&&u!==i||(J.optDisabled?n.disabled:null!==n.getAttribute("disabled"))||n.parentNode.disabled&&K.nodeName(n.parentNode,"optgroup"))){if(e=K(n).val(),o)return e;s.push(e)}return s},set:function(t,e){for(var n,r,i=t.options,o=K.makeArray(e),s=i.length;s--;)r=i[s],(r.selected=K.inArray(r.value,o)>=0)&&(n=!0);return n||(t.selectedIndex=-1),o}}}}),K.each(["radio","checkbox"],function(){K.valHooks[this]={set:function(t,e){return K.isArray(e)?t.checked=K.inArray(K(t).val(),e)>=0:void 0}},J.checkOn||(K.valHooks[this].get=function(t){return null===t.getAttribute("value")?"on":t.value})}),K.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error contextmenu".split(" "),function(t,e){K.fn[e]=function(t,n){return arguments.length>0?this.on(e,null,t,n):this.trigger(e)}}),K.fn.extend({hover:function(t,e){return this.mouseenter(t).mouseleave(e||t)},bind:function(t,e,n){return this.on(t,null,e,n)},unbind:function(t,e){return this.off(t,null,e)},delegate:function(t,e,n,r){return this.on(e,t,n,r)},undelegate:function(t,e,n){return 1===arguments.length?this.off(t,"**"):this.off(e,t||"**",n)}});var ln=K.now(),fn=/\?/;K.parseJSON=function(t){return JSON.parse(t+"")},K.parseXML=function(t){var e,n;if(!t||"string"!=typeof t)return null;try{n=new DOMParser,e=n.parseFromString(t,"text/xml")}catch(r){e=void 0}return(!e||e.getElementsByTagName("parsererror").length)&&K.error("Invalid XML: "+t),e};var hn,pn,dn=/#.*$/,gn=/([?&])_=[^&]*/,mn=/^(.*?):[ \t]*([^\r\n]*)$/gm,vn=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,yn=/^(?:GET|HEAD)$/,xn=/^\/\//,bn=/^([\w.+-]+:)(?:\/\/(?:[^\/?#]*@|)([^\/?#:]*)(?::(\d+)|)|)/,wn={},kn={},Cn="*/".concat("*");try{pn=location.href}catch(Tn){pn=Q.createElement("a"),pn.href="",pn=pn.href}hn=bn.exec(pn.toLowerCase())||[],K.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:pn,type:"GET",isLocal:vn.test(hn[1]),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Cn,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":K.parseJSON,"text xml":K.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(t,e){return e?M(M(t,K.ajaxSettings),e):M(K.ajaxSettings,t)},ajaxPrefilter:R(wn),ajaxTransport:R(kn),ajax:function(t,e){function n(t,e,n,s){var u,l,v,y,b,k=e;2!==x&&(x=2,a&&clearTimeout(a),r=void 0,o=s||"",w.readyState=t>0?4:0,u=t>=200&&300>t||304===t,n&&(y=H(f,w,n)),y=F(f,y,w,u),u?(f.ifModified&&(b=w.getResponseHeader("Last-Modified"),b&&(K.lastModified[i]=b),b=w.getResponseHeader("etag"),b&&(K.etag[i]=b)),204===t||"HEAD"===f.type?k="nocontent":304===t?k="notmodified":(k=y.state,l=y.data,v=y.error,u=!v)):(v=k,(t||!k)&&(k="error",0>t&&(t=0))),w.status=t,w.statusText=(e||k)+"",u?d.resolveWith(h,[l,k,w]):d.rejectWith(h,[w,k,v]),w.statusCode(m),m=void 0,c&&p.trigger(u?"ajaxSuccess":"ajaxError",[w,f,u?l:v]),g.fireWith(h,[w,k]),c&&(p.trigger("ajaxComplete",[w,f]),--K.active||K.event.trigger("ajaxStop")))}"object"==typeof t&&(e=t,t=void 0),e=e||{};var r,i,o,s,a,u,c,l,f=K.ajaxSetup({},e),h=f.context||f,p=f.context&&(h.nodeType||h.jquery)?K(h):K.event,d=K.Deferred(),g=K.Callbacks("once memory"),m=f.statusCode||{},v={},y={},x=0,b="canceled",w={readyState:0,getResponseHeader:function(t){var e;if(2===x){if(!s)for(s={};e=mn.exec(o);)s[e[1].toLowerCase()]=e[2];e=s[t.toLowerCase()]}return null==e?null:e},getAllResponseHeaders:function(){return 2===x?o:null},setRequestHeader:function(t,e){var n=t.toLowerCase();return x||(t=y[n]=y[n]||t,v[t]=e),this},overrideMimeType:function(t){return x||(f.mimeType=t),this},statusCode:function(t){var e;if(t)if(2>x)for(e in t)m[e]=[m[e],t[e]];else w.always(t[w.status]);return this},abort:function(t){var e=t||b;return r&&r.abort(e),n(0,e),this}};if(d.promise(w).complete=g.add,w.success=w.done,w.error=w.fail,f.url=((t||f.url||pn)+"").replace(dn,"").replace(xn,hn[1]+"//"),f.type=e.method||e.type||f.method||f.type,f.dataTypes=K.trim(f.dataType||"*").toLowerCase().match(pe)||[""],null==f.crossDomain&&(u=bn.exec(f.url.toLowerCase()),f.crossDomain=!(!u||u[1]===hn[1]&&u[2]===hn[2]&&(u[3]||("http:"===u[1]?"80":"443"))===(hn[3]||("http:"===hn[1]?"80":"443")))),f.data&&f.processData&&"string"!=typeof f.data&&(f.data=K.param(f.data,f.traditional)),B(wn,f,e,w),2===x)return w;c=f.global,c&&0===K.active++&&K.event.trigger("ajaxStart"),f.type=f.type.toUpperCase(),f.hasContent=!yn.test(f.type),i=f.url,f.hasContent||(f.data&&(i=f.url+=(fn.test(i)?"&":"?")+f.data,delete f.data),f.cache===!1&&(f.url=gn.test(i)?i.replace(gn,"$1_="+ln++):i+(fn.test(i)?"&":"?")+"_="+ln++)),f.ifModified&&(K.lastModified[i]&&w.setRequestHeader("If-Modified-Since",K.lastModified[i]),K.etag[i]&&w.setRequestHeader("If-None-Match",K.etag[i])),(f.data&&f.hasContent&&f.contentType!==!1||e.contentType)&&w.setRequestHeader("Content-Type",f.contentType),w.setRequestHeader("Accept",f.dataTypes[0]&&f.accepts[f.dataTypes[0]]?f.accepts[f.dataTypes[0]]+("*"!==f.dataTypes[0]?", "+Cn+"; q=0.01":""):f.accepts["*"]);for(l in f.headers)w.setRequestHeader(l,f.headers[l]);if(f.beforeSend&&(f.beforeSend.call(h,w,f)===!1||2===x))return w.abort();b="abort";for(l in{success:1,error:1,complete:1})w[l](f[l]);if(r=B(kn,f,e,w)){w.readyState=1,c&&p.trigger("ajaxSend",[w,f]),f.async&&f.timeout>0&&(a=setTimeout(function(){w.abort("timeout")},f.timeout));try{x=1,r.send(v,n)}catch(k){if(!(2>x))throw k;n(-1,k)}}else n(-1,"No Transport");return w},getJSON:function(t,e,n){return K.get(t,e,n,"json")},getScript:function(t,e){return K.get(t,void 0,e,"script")}}),K.each(["get","post"],function(t,e){K[e]=function(t,n,r,i){return K.isFunction(n)&&(i=i||r,r=n,n=void 0),K.ajax({url:t,type:e,dataType:i,data:n,success:r})}}),K.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(t,e){K.fn[e]=function(t){return this.on(e,t)}}),K._evalUrl=function(t){return K.ajax({url:t,type:"GET",dataType:"script",async:!1,global:!1,"throws":!0})},K.fn.extend({wrapAll:function(t){var e;return K.isFunction(t)?this.each(function(e){K(this).wrapAll(t.call(this,e))}):(this[0]&&(e=K(t,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&e.insertBefore(this[0]),e.map(function(){for(var t=this;t.firstElementChild;)t=t.firstElementChild;return t}).append(this)),this)},wrapInner:function(t){return this.each(K.isFunction(t)?function(e){K(this).wrapInner(t.call(this,e))}:function(){var e=K(this),n=e.contents();n.length?n.wrapAll(t):e.append(t)})},wrap:function(t){var e=K.isFunction(t);return this.each(function(n){K(this).wrapAll(e?t.call(this,n):t)})},unwrap:function(){return this.parent().each(function(){K.nodeName(this,"body")||K(this).replaceWith(this.childNodes)}).end()}}),K.expr.filters.hidden=function(t){return t.offsetWidth<=0&&t.offsetHeight<=0},K.expr.filters.visible=function(t){return!K.expr.filters.hidden(t)};var _n=/%20/g,Nn=/\[\]$/,An=/\r?\n/g,En=/^(?:submit|button|image|reset|file)$/i,Sn=/^(?:input|select|textarea|keygen)/i;K.param=function(t,e){var n,r=[],i=function(t,e){e=K.isFunction(e)?e():null==e?"":e,r[r.length]=encodeURIComponent(t)+"="+encodeURIComponent(e)};if(void 0===e&&(e=K.ajaxSettings&&K.ajaxSettings.traditional),K.isArray(t)||t.jquery&&!K.isPlainObject(t))K.each(t,function(){i(this.name,this.value)});else for(n in t)P(n,t[n],e,i);return r.join("&").replace(_n,"+")},K.fn.extend({serialize:function(){return K.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var t=K.prop(this,"elements");return t?K.makeArray(t):this}).filter(function(){var t=this.type;return this.name&&!K(this).is(":disabled")&&Sn.test(this.nodeName)&&!En.test(t)&&(this.checked||!Te.test(t))}).map(function(t,e){var n=K(this).val();return null==n?null:K.isArray(n)?K.map(n,function(t){return{name:e.name,value:t.replace(An,"\r\n")}}):{name:e.name,value:n.replace(An,"\r\n")}}).get()}}),K.ajaxSettings.xhr=function(){try{return new XMLHttpRequest}catch(t){}};var jn=0,Dn={},On={0:200,1223:204},qn=K.ajaxSettings.xhr();t.ActiveXObject&&K(t).on("unload",function(){for(var t in Dn)Dn[t]()}),J.cors=!!qn&&"withCredentials"in qn,J.ajax=qn=!!qn,K.ajaxTransport(function(t){var e;return J.cors||qn&&!t.crossDomain?{send:function(n,r){var i,o=t.xhr(),s=++jn;if(o.open(t.type,t.url,t.async,t.username,t.password),t.xhrFields)for(i in t.xhrFields)o[i]=t.xhrFields[i];t.mimeType&&o.overrideMimeType&&o.overrideMimeType(t.mimeType),t.crossDomain||n["X-Requested-With"]||(n["X-Requested-With"]="XMLHttpRequest");for(i in n)o.setRequestHeader(i,n[i]);e=function(t){return function(){e&&(delete Dn[s],e=o.onload=o.onerror=null,"abort"===t?o.abort():"error"===t?r(o.status,o.statusText):r(On[o.status]||o.status,o.statusText,"string"==typeof o.responseText?{text:o.responseText}:void 0,o.getAllResponseHeaders()))
}},o.onload=e(),o.onerror=e("error"),e=Dn[s]=e("abort");try{o.send(t.hasContent&&t.data||null)}catch(a){if(e)throw a}},abort:function(){e&&e()}}:void 0}),K.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/(?:java|ecma)script/},converters:{"text script":function(t){return K.globalEval(t),t}}}),K.ajaxPrefilter("script",function(t){void 0===t.cache&&(t.cache=!1),t.crossDomain&&(t.type="GET")}),K.ajaxTransport("script",function(t){if(t.crossDomain){var e,n;return{send:function(r,i){e=K("<script>").prop({async:!0,charset:t.scriptCharset,src:t.url}).on("load error",n=function(t){e.remove(),n=null,t&&i("error"===t.type?404:200,t.type)}),Q.head.appendChild(e[0])},abort:function(){n&&n()}}}});var Ln=[],Rn=/(=)\?(?=&|$)|\?\?/;K.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var t=Ln.pop()||K.expando+"_"+ln++;return this[t]=!0,t}}),K.ajaxPrefilter("json jsonp",function(e,n,r){var i,o,s,a=e.jsonp!==!1&&(Rn.test(e.url)?"url":"string"==typeof e.data&&!(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&Rn.test(e.data)&&"data");return a||"jsonp"===e.dataTypes[0]?(i=e.jsonpCallback=K.isFunction(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,a?e[a]=e[a].replace(Rn,"$1"+i):e.jsonp!==!1&&(e.url+=(fn.test(e.url)?"&":"?")+e.jsonp+"="+i),e.converters["script json"]=function(){return s||K.error(i+" was not called"),s[0]},e.dataTypes[0]="json",o=t[i],t[i]=function(){s=arguments},r.always(function(){t[i]=o,e[i]&&(e.jsonpCallback=n.jsonpCallback,Ln.push(i)),s&&K.isFunction(o)&&o(s[0]),s=o=void 0}),"script"):void 0}),K.parseHTML=function(t,e,n){if(!t||"string"!=typeof t)return null;"boolean"==typeof e&&(n=e,e=!1),e=e||Q;var r=se.exec(t),i=!n&&[];return r?[e.createElement(r[1])]:(r=K.buildFragment([t],e,i),i&&i.length&&K(i).remove(),K.merge([],r.childNodes))};var Bn=K.fn.load;K.fn.load=function(t,e,n){if("string"!=typeof t&&Bn)return Bn.apply(this,arguments);var r,i,o,s=this,a=t.indexOf(" ");return a>=0&&(r=K.trim(t.slice(a)),t=t.slice(0,a)),K.isFunction(e)?(n=e,e=void 0):e&&"object"==typeof e&&(i="POST"),s.length>0&&K.ajax({url:t,type:i,dataType:"html",data:e}).done(function(t){o=arguments,s.html(r?K("<div>").append(K.parseHTML(t)).find(r):t)}).complete(n&&function(t,e){s.each(n,o||[t.responseText,e,t])}),this},K.expr.filters.animated=function(t){return K.grep(K.timers,function(e){return t===e.elem}).length};var Mn=t.document.documentElement;K.offset={setOffset:function(t,e,n){var r,i,o,s,a,u,c,l=K.css(t,"position"),f=K(t),h={};"static"===l&&(t.style.position="relative"),a=f.offset(),o=K.css(t,"top"),u=K.css(t,"left"),c=("absolute"===l||"fixed"===l)&&(o+u).indexOf("auto")>-1,c?(r=f.position(),s=r.top,i=r.left):(s=parseFloat(o)||0,i=parseFloat(u)||0),K.isFunction(e)&&(e=e.call(t,n,a)),null!=e.top&&(h.top=e.top-a.top+s),null!=e.left&&(h.left=e.left-a.left+i),"using"in e?e.using.call(t,h):f.css(h)}},K.fn.extend({offset:function(t){if(arguments.length)return void 0===t?this:this.each(function(e){K.offset.setOffset(this,t,e)});var e,n,r=this[0],i={top:0,left:0},o=r&&r.ownerDocument;if(o)return e=o.documentElement,K.contains(e,r)?(typeof r.getBoundingClientRect!==_e&&(i=r.getBoundingClientRect()),n=I(o),{top:i.top+n.pageYOffset-e.clientTop,left:i.left+n.pageXOffset-e.clientLeft}):i},position:function(){if(this[0]){var t,e,n=this[0],r={top:0,left:0};return"fixed"===K.css(n,"position")?e=n.getBoundingClientRect():(t=this.offsetParent(),e=this.offset(),K.nodeName(t[0],"html")||(r=t.offset()),r.top+=K.css(t[0],"borderTopWidth",!0),r.left+=K.css(t[0],"borderLeftWidth",!0)),{top:e.top-r.top-K.css(n,"marginTop",!0),left:e.left-r.left-K.css(n,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var t=this.offsetParent||Mn;t&&!K.nodeName(t,"html")&&"static"===K.css(t,"position");)t=t.offsetParent;return t||Mn})}}),K.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(e,n){var r="pageYOffset"===n;K.fn[e]=function(i){return me(this,function(e,i,o){var s=I(e);return void 0===o?s?s[n]:e[i]:void(s?s.scrollTo(r?t.pageXOffset:o,r?o:t.pageYOffset):e[i]=o)},e,i,arguments.length,null)}}),K.each(["top","left"],function(t,e){K.cssHooks[e]=k(J.pixelPosition,function(t,n){return n?(n=w(t,e),We.test(n)?K(t).position()[e]+"px":n):void 0})}),K.each({Height:"height",Width:"width"},function(t,e){K.each({padding:"inner"+t,content:e,"":"outer"+t},function(n,r){K.fn[r]=function(r,i){var o=arguments.length&&(n||"boolean"!=typeof r),s=n||(r===!0||i===!0?"margin":"border");return me(this,function(e,n,r){var i;return K.isWindow(e)?e.document.documentElement["client"+t]:9===e.nodeType?(i=e.documentElement,Math.max(e.body["scroll"+t],i["scroll"+t],e.body["offset"+t],i["offset"+t],i["client"+t])):void 0===r?K.css(e,n,s):K.style(e,n,r,s)},e,o?r:void 0,o,null)}})}),K.fn.size=function(){return this.length},K.fn.andSelf=K.fn.addBack,"function"==typeof define&&define.amd&&define("jquery",[],function(){return K});var Hn=t.jQuery,Fn=t.$;return K.noConflict=function(e){return t.$===K&&(t.$=Fn),e&&t.jQuery===K&&(t.jQuery=Hn),K},typeof e===_e&&(t.jQuery=t.$=K),K}),/*
* Gritter for jQuery
* http://www.boedesign.com/
*
* Copyright (c) 2009 Jordan Boesch
* Dual licensed under the MIT and GPL licenses.
*
* Date: December 1, 2009
* Version: 1.6
*/
function(t){t.gritter={},t.gritter.options={fade_in_speed:"medium",fade_out_speed:1e3,time:6e3},t.gritter.add=function(t){try{return e.add(t||{})}catch(n){var r="Gritter Error: "+n;"undefined"!=typeof console&&console.error?console.error(r,t):alert(r)}},t.gritter.remove=function(t,n){e.removeSpecific(t,n||{})},t.gritter.removeAll=function(t){e.stop(t||{})};var e={fade_in_speed:"",fade_out_speed:"",time:"",_custom_timer:0,_item_count:0,_is_setup:0,_tpl_close:'<div class="gritter-close"></div>',_tpl_item:'<div id="gritter-item-[[number]]" class="gritter-item-wrapper [[item_class]]" style="display:none"><div class="gritter-top"></div><div class="gritter-item">[[image]]<div class="[[class_name]]"><span class="gritter-title">[[username]]</span><p>[[text]]</p></div><div style="clear:both"></div></div><div class="gritter-bottom"></div></div>',_tpl_wrap:'<div id="gritter-notice-wrapper"></div>',add:function(n){if(!n.title||!n.text)throw'You need to fill out the first 2 params: "title" and "text"';this._is_setup||this._runSetup();var r=n.title,i=n.text,o=n.image||"",s=n.sticky||!1,a=n.class_name||"",u=n.time||"";this._verifyWrapper(),this._item_count++;var c=this._item_count,l=this._tpl_item;t(["before_open","after_open","before_close","after_close"]).each(function(r,i){e["_"+i+"_"+c]=t.isFunction(n[i])?n[i]:function(){}}),this._custom_timer=0,u&&(this._custom_timer=u);var f=""!=o?'<img src="'+o+'" class="gritter-image" />':"",h=""!=o?"gritter-with-image":"gritter-without-image";l=this._str_replace(["[[username]]","[[text]]","[[image]]","[[number]]","[[class_name]]","[[item_class]]"],[r,i,f,this._item_count,h,a],l),this["_before_open_"+c](),t("#gritter-notice-wrapper").append(l);var p=t("#gritter-item-"+this._item_count);return p.fadeIn(this.fade_in_speed,function(){e["_after_open_"+c](t(this))}),s||this._setFadeTimer(p,c),t(p).bind("mouseenter mouseleave",function(n){"mouseenter"==n.type?s||e._restoreItemIfFading(t(this),c):s||e._setFadeTimer(t(this),c),e._hoverState(t(this),n.type)}),c},_countRemoveWrapper:function(e,n){n.remove(),this["_after_close_"+e](n),0==t(".gritter-item-wrapper").length&&t("#gritter-notice-wrapper").remove()},_fade:function(t,n,r,i){var r=r||{},o="undefined"!=typeof r.fade?r.fade:!0;fade_out_speed=r.speed||this.fade_out_speed,this["_before_close_"+n](t),i&&t.unbind("mouseenter mouseleave"),o?t.animate({opacity:0},fade_out_speed,function(){t.animate({height:0},300,function(){e._countRemoveWrapper(n,t)})}):this._countRemoveWrapper(n,t)},_hoverState:function(t,n){if("mouseenter"==n){t.addClass("hover");var r=t.find("img");r.length?r.before(this._tpl_close):t.find("span").before(this._tpl_close),t.find(".gritter-close").click(function(){var n=t.attr("id").split("-")[2];e.removeSpecific(n,{},t,!0)})}else t.removeClass("hover"),t.find(".gritter-close").remove()},removeSpecific:function(e,n,r,i){if(!r)var r=t("#gritter-item-"+e);this._fade(r,e,n||{},i)},_restoreItemIfFading:function(t,e){clearTimeout(this["_int_id_"+e]),t.stop().css({opacity:""})},_runSetup:function(){for(opt in t.gritter.options)this[opt]=t.gritter.options[opt];this._is_setup=1},_setFadeTimer:function(t,n){var r=this._custom_timer?this._custom_timer:this.time;this["_int_id_"+n]=setTimeout(function(){e._fade(t,n)},r)},stop:function(e){var n=t.isFunction(e.before_close)?e.before_close:function(){},r=t.isFunction(e.after_close)?e.after_close:function(){},i=t("#gritter-notice-wrapper");n(i),i.fadeOut(function(){t(this).remove(),r()})},_str_replace:function(t,e,n,r){var i=0,o=0,s="",a="",u=0,c=0,l=[].concat(t),f=[].concat(e),h=n,p=f instanceof Array,d=h instanceof Array;for(h=[].concat(h),r&&(this.window[r]=0),i=0,u=h.length;u>i;i++)if(""!==h[i])for(o=0,c=l.length;c>o;o++)s=h[i]+"",a=p?void 0!==f[o]?f[o]:"":f[0],h[i]=s.split(l[o]).join(a),r&&h[i]!==s&&(this.window[r]+=(s.length-h[i].length)/l[o].length);return d?h:h[0]},_verifyWrapper:function(){0==t("#gritter-notice-wrapper").length&&t("body").append(this._tpl_wrap)}}}(jQuery),function(t){var e=function(){var t=function(){};return t.prototype={otag:"{{",ctag:"}}",pragmas:{},buffer:[],pragmas_parsed:!1,render:function(t,e,n,r){if(-1==t.indexOf(this.otag))return r?t:void this.send(t);r||(this.buffer=[]),this.pragmas_parsed||(t=this.render_pragmas(t));var i=this.render_section(t,e,n);return r?this.render_tags(i,e,n,r):void this.render_tags(i,e,n,r)},send:function(t){""!=t&&this.buffer.push(t)},render_pragmas:function(t){if(this.pragmas_parsed=!0,-1==t.indexOf(this.otag+"%"))return t;var e=this,n=new RegExp(this.otag+"%([\\w_-]+) ?([\\w]+=[\\w]+)?"+this.ctag);return t.replace(n,function(t,n,r){if(e.pragmas[n]={},r){var i=r.split("=");e.pragmas[n][i[0]]=i[1]}return""})},render_partial:function(t,e,n){if("object"!=typeof e[t])throw{message:"subcontext for '"+t+"' is not an object"};if(!n||!n[t])throw{message:"unknown_partial '"+t+"'"};return this.render(n[t],e[t],n,!0)},render_section:function(t,e,n){if(-1==t.indexOf(this.otag+"#"))return t;var r=this,i=new RegExp(this.otag+"\\#(.+)"+this.ctag+"\\s*([\\s\\S]+?)"+this.otag+"\\/\\1"+this.ctag+"\\s*","mg");return t.replace(i,function(t,i,o){var s=r.find(i,e);return r.is_array(s)?r.map(s,function(t){return r.render(o,r.merge(e,r.create_context(t)),n,!0)}).join(""):s?r.render(o,e,n,!0):""})},render_tags:function(t,e,n,r){for(var i=this,o=function(){return new RegExp(i.otag+"(=|!|>|\\{|%)?([^/#]+?)\\1?"+i.ctag+"+","g")},s=o(),a=t.split("\n"),u=0;u<a.length;u++)a[u]=a[u].replace(s,function(t,r,a){switch(r){case"!":return t;case"=":return i.set_delimiters(a),s=o(),"";case">":return i.render_partial(a,e,n);case"{":return i.find(a,e);default:return i.escape(i.find(a,e))}},this),r||this.send(a[u]);return r?a.join("\n"):void 0},set_delimiters:function(t){var e=t.split(" ");this.otag=this.escape_regex(e[0]),this.ctag=this.escape_regex(e[1])},escape_regex:function(t){if(!arguments.callee.sRE){var e=["/",".","*","+","?","|","(",")","[","]","{","}","\\"];arguments.callee.sRE=new RegExp("(\\"+e.join("|\\")+")","g")}return t.replace(arguments.callee.sRE,"\\$1")},find:function(t,e){return t=this.trim(t),"function"==typeof e[t]?e[t].apply(e):void 0!==e[t]?e[t]:""},escape:function(t){return(null==t?"":t).toString().replace(/[&"<>\\]/g,function(t){switch(t){case"&":return"&";case"\\":return"\\\\";case'"':return'"';case"<":return"<";case">":return">";default:return t}})},merge:function(t,e){var n={};for(var r in t)t.hasOwnProperty(r)&&(n[r]=t[r]);for(var r in e)e.hasOwnProperty(r)&&(n[r]=e[r]);return n},create_context:function(t){if(this.is_object(t))return t;if(this.pragmas["IMPLICIT-ITERATOR"]){var e=this.pragmas["IMPLICIT-ITERATOR"].iterator||".",n={};return n[e]=t,n}},is_object:function(t){return t&&"object"==typeof t},is_array:function(t){return"[object Array]"===Object.prototype.toString.call(t)},trim:function(t){return t.replace(/^\s*|\s*$/g,"")},map:function(t,e){if("function"==typeof t.map)return t.map(e);var n=[],r=t.length;for(i=0;r>i;i++)n.push(e(t[i]));return n}},{name:"mustache.js",version:"0.2.3-dev",to_html:function(e,n,r,i){var o=new t;return i&&(o.send=i),o.render(e,n,r),i?void 0:o.buffer.join("\n")}}}();t.mustache=function(t,n,r){return e.to_html(t,n,r)}}(jQuery),function(t){function e(t,e){this.x=t,this.y=e,this.t=(new Date).getTime()}function n(t){var e=_.first(t),n=_.map(_.rest(t),function(t){return["L",t.x,t.y]});return 0==n.length?[["M",e.x,e.y],["l",0,.1]]:[["M",e.x,e.y]].concat(n)}Canvassified=function(r,i){var o,s,a=this,u={width:t(r).width(),height:t(r).height()},i=t.extend({},u,i),c=Raphael(r,i.width,i.height),l=!1;a.strokes=[];var f="dirty",h=function(i){t(r).addClass(f),i.preventDefault(),i.originalEvent&&i.originalEvent.preventDefault(),i.stopPropagation(),l=!0;var a,u;return pageX=i.originalEvent.touches?i.originalEvent.touches[0].pageX:i.pageX,pageY=i.originalEvent.touches?i.originalEvent.touches[0].pageY:i.pageY,a=pageX-t(r).offset().left,u=pageY-t(r).offset().top,o=[new e(a,u)],s=c.path(n(o)).attr({"stroke-width":5,"stroke-linecap":"round"}),!1},p=function(r){if(r.preventDefault(),r.originalEvent&&r.originalEvent.preventDefault(),r.stopPropagation(),l){var i,a;pageX=r.originalEvent.touches?r.originalEvent.touches[0].pageX:r.pageX,pageY=r.originalEvent.touches?r.originalEvent.touches[0].pageY:r.pageY,i=pageX-t(this).offset().left,a=pageY-t(this).offset().top,o.push(new e(i,a)),s.attr("path",n(o))}return!1},d=function(t){return t.preventDefault(),t.stopPropagation(),l&&(a.strokes.push(o),i.callback&&i.callback(a.strokes),l=!1),!1};t(r).mousedown(h).mousemove(p).mouseup(d).mouseleave(d).on("touchstart",h).on("touchend touchleave touchcancel",d).on("touchmove",p),a.clear=function(){t(r).removeClass(f),this.strokes=[],c.clear()}},t.canvassify=function(e,n){var e=t(e).get(0);return e.canvassified||(e.canvassified=new Canvassified(e,n))},t.fn.extend({canvassify:function(e){return t.canvassify(this,e),this}})}(jQuery),this.JSON||(this.JSON={}),function(){function f(t){return 10>t?"0"+t:t}function quote(t){return escapable.lastIndex=0,escapable.test(t)?'"'+t.replace(escapable,function(t){var e=meta[t];return"string"==typeof e?e:"\\u"+("0000"+t.charCodeAt(0).toString(16)).slice(-4)})+'"':'"'+t+'"'}function str(t,e){var n,r,i,o,s,a=gap,u=e[t];switch(u&&"object"==typeof u&&"function"==typeof u.toJSON&&(u=u.toJSON(t)),"function"==typeof rep&&(u=rep.call(e,t,u)),typeof u){case"string":return quote(u);case"number":return isFinite(u)?String(u):"null";case"boolean":case"null":return String(u);case"object":if(!u)return"null";if(gap+=indent,s=[],"[object Array]"===Object.prototype.toString.apply(u)){for(o=u.length,n=0;o>n;n+=1)s[n]=str(n,u)||"null";return i=0===s.length?"[]":gap?"[\n"+gap+s.join(",\n"+gap)+"\n"+a+"]":"["+s.join(",")+"]",gap=a,i}if(rep&&"object"==typeof rep)for(o=rep.length,n=0;o>n;n+=1)r=rep[n],"string"==typeof r&&(i=str(r,u),i&&s.push(quote(r)+(gap?": ":":")+i));else for(r in u)Object.hasOwnProperty.call(u,r)&&(i=str(r,u),i&&s.push(quote(r)+(gap?": ":":")+i));return i=0===s.length?"{}":gap?"{\n"+gap+s.join(",\n"+gap)+"\n"+a+"}":"{"+s.join(",")+"}",gap=a,i}}"function"!=typeof Date.prototype.toJSON&&(Date.prototype.toJSON=function(){return isFinite(this.valueOf())?this.getUTCFullYear()+"-"+f(this.getUTCMonth()+1)+"-"+f(this.getUTCDate())+"T"+f(this.getUTCHours())+":"+f(this.getUTCMinutes())+":"+f(this.getUTCSeconds())+"Z":null},String.prototype.toJSON=Number.prototype.toJSON=Boolean.prototype.toJSON=function(){return this.valueOf()});var cx=/[\u0000\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,escapable=/[\\\"\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,gap,indent,meta={"\b":"\\b"," ":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"},rep;"function"!=typeof JSON.stringify&&(JSON.stringify=function(t,e,n){var r;if(gap="",indent="","number"==typeof n)for(r=0;n>r;r+=1)indent+=" ";else"string"==typeof n&&(indent=n);if(rep=e,e&&"function"!=typeof e&&("object"!=typeof e||"number"!=typeof e.length))throw new Error("JSON.stringify");return str("",{"":t})}),"function"!=typeof JSON.parse&&(JSON.parse=function(text,reviver){function walk(t,e){var n,r,i=t[e];if(i&&"object"==typeof i)for(n in i)Object.hasOwnProperty.call(i,n)&&(r=walk(i,n),void 0!==r?i[n]=r:delete i[n]);return reviver.call(t,e,i)}var j;if(cx.lastIndex=0,cx.test(text)&&(text=text.replace(cx,function(t){return"\\u"+("0000"+t.charCodeAt(0).toString(16)).slice(-4)})),/^[\],:{}\s]*$/.test(text.replace(/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,"@").replace(/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,"]").replace(/(?:^|:|,)(?:\s*\[)+/g,"")))return j=eval("("+text+")"),"function"==typeof reviver?walk({"":j},""):j;throw new SyntaxError("JSON.parse")})}(),/*
* Raphael 1.3.1 - JavaScript Vector Library
*
* Copyright (c) 2008 - 2009 Dmitry Baranovskiy (http://raphaeljs.com)
* Licensed under the MIT (http://www.opensource.org/licenses/mit-license.php) license.
*/
Raphael=function(){function t(t,e,n){function r(){var i=Array[b].slice.call(arguments,0),o=i[y]("\u25ba"),s=r.cache=r.cache||{},a=r.count=r.count||[];return s[v](o)?n?n(s[o]):s[o]:(a[x]>=1e3&&delete s[a.shift()],a[S](o),s[o]=t[f](e,i),n?n(s[o]):s[o])}return r}function e(){return this.x+d+this.y}function n(t){return function(e,n,r,i){var o={back:t};return u.is(r,"function")?i=r:o.rot=r,e&&e.constructor==ye&&(e=e.attrs.path),e&&(o.along=e),this.animate(o,n,i)}}var r=/[, ]+/,i=/^(circle|rect|path|ellipse|text|image)$/,o=document,s=window,a={was:"Raphael"in s,is:s.Raphael},u=function(){if(u.is(arguments[0],"array")){for(var t=arguments[0],e=_e[f](u,t.splice(0,3+u.is(t[0],_))),n=e.set(),r=0,o=t[x];o>r;r++){var s=t[r]||{};i.test(s.type)&&n[S](e[s.type]().attr(s))}return n}return _e[f](u,arguments)},c=function(){},l="appendChild",f="apply",h="concat",p="",d=" ",g="split",m="click dblclick mousedown mousemove mouseout mouseover mouseup"[g](d),v="hasOwnProperty",y="join",x="length",b="prototype",w=String[b].toLowerCase,k=Math,C=k.max,T=k.min,_="number",N="toString",A=Object[b][N],E=k.pow,S="push",j=/^(?=[\da-f]$)/,D=/^url\(['"]?([^\)]+)['"]?\)$/i,O=/^\s*((#[a-f\d]{6})|(#[a-f\d]{3})|rgb\(\s*([\d\.]+\s*,\s*[\d\.]+\s*,\s*[\d\.]+)\s*\)|rgb\(\s*([\d\.]+%\s*,\s*[\d\.]+%\s*,\s*[\d\.]+%)\s*\)|hs[bl]\(\s*([\d\.]+\s*,\s*[\d\.]+\s*,\s*[\d\.]+)\s*\)|hs[bl]\(\s*([\d\.]+%\s*,\s*[\d\.]+%\s*,\s*[\d\.]+%)\s*\))\s*$/i,q=k.round,L="setAttribute",R=parseFloat,B=parseInt,M=String[b].toUpperCase,H={"clip-rect":"0 0 1e9 1e9",cursor:"default",cx:0,cy:0,fill:"#fff","fill-opacity":1,font:'10px "Arial"',"font-family":'"Arial"',"font-size":"10","font-style":"normal","font-weight":400,gradient:0,height:0,href:"http://raphaeljs.com/",opacity:1,path:"M0,0",r:0,rotation:0,rx:0,ry:0,scale:"1 1",src:"",stroke:"#000","stroke-dasharray":"","stroke-linecap":"butt","stroke-linejoin":"butt","stroke-miterlimit":0,"stroke-opacity":1,"stroke-width":1,target:"_blank","text-anchor":"middle",title:"Raphael",translation:"0 0",width:0,x:0,y:0},F={along:"along","clip-rect":"csv",cx:_,cy:_,fill:"colour","fill-opacity":_,"font-size":_,height:_,opacity:_,path:"path",r:_,rotation:"csv",rx:_,ry:_,scale:"csv",stroke:"colour","stroke-opacity":_,"stroke-width":_,translation:"csv",width:_,x:_,y:_},P="replace";if(u.version="1.3.1",u.type=s.SVGAngle||o.implementation.hasFeature("http://www.w3.org/TR/SVG11/feature#BasicStructure","1.1")?"SVG":"VML","VML"==u.type){var I=document.createElement("div");if(I.innerHTML="<!--[if vml]><br><br><![endif]-->",2!=I.childNodes[x])return null}u.svg=!(u.vml="VML"==u.type),c[b]=u[b],u._id=0,u._oid=0,u.fn={},u.is=function(t,e){return e=w.call(e),("object"==e||"undefined"==e)&&typeof t==e||null==t&&"null"==e||w.call(A.call(t).slice(8,-1))==e},u.setWindow=function(t){s=t,o=s.document};var W=function(e){if(u.vml){var n=/^\s+|\s+$/g;W=t(function(t){var e;t=(t+p)[P](n,p);try{var r=new ActiveXObject("htmlfile");r.write("<body>"),r.close(),e=r.body}catch(i){e=createPopup().document.body}var o=e.createTextRange();try{e.style.color=t;var s=o.queryCommandValue("ForeColor");return s=(255&s)<<16|65280&s|(16711680&s)>>>16,"#"+("000000"+s[N](16)).slice(-6)}catch(i){return"none"}})}else{var r=o.createElement("i");r.title="Rapha\xebl Colour Picker",r.style.display="none",o.body[l](r),W=t(function(t){return r.style.color=t,o.defaultView.getComputedStyle(r,p).getPropertyValue("color")})}return W(e)};u.hsb2rgb=t(function(t,e,n){u.is(t,"object")&&"h"in t&&"s"in t&&"b"in t&&(n=t.b,e=t.s,t=t.h);var r,i,o;if(0==n)return{r:0,g:0,b:0,hex:"#000"};(t>1||e>1||n>1)&&(t/=255,e/=255,n/=255);var s=~~(6*t),a=6*t-s,c=n*(1-e),l=n*(1-e*a),f=n*(1-e*(1-a));r=[n,l,c,c,f,n,n][s],i=[f,n,n,l,c,c,f][s],o=[c,c,f,n,n,l,c][s],r*=255,i*=255,o*=255;var h={r:r,g:i,b:o},p=(~~r)[N](16),d=(~~i)[N](16),g=(~~o)[N](16);return p=p[P](j,"0"),d=d[P](j,"0"),g=g[P](j,"0"),h.hex="#"+p+d+g,h},u),u.rgb2hsb=t(function(t,e,n){if(u.is(t,"object")&&"r"in t&&"g"in t&&"b"in t&&(n=t.b,e=t.g,t=t.r),u.is(t,"string")){var r=u.getRGB(t);t=r.r,e=r.g,n=r.b}(t>1||e>1||n>1)&&(t/=255,e/=255,n/=255);var i,o,s=C(t,e,n),a=T(t,e,n),c=s;if(a==s)return{h:0,s:0,b:s};var l=s-a;return o=l/s,i=t==s?(e-n)/l:e==s?2+(n-t)/l:4+(t-e)/l,i/=6,0>i&&i++,i>1&&i--,{h:i,s:o,b:c}},u);var z=/,?([achlmqrstvxz]),?/gi;u._path2string=function(){return this.join(",")[P](z,"$1")},u.getRGB=t(function(t){if(!t||(t+=p).indexOf("-")+1)return{r:-1,g:-1,b:-1,hex:"none",error:1};if("none"==t)return{r:-1,g:-1,b:-1,hex:"none"};!({hs:1,rg:1}[v](t.substring(0,2))||"#"==t.charAt())&&(t=W(t));var e,n,r,i,o=t.match(O);if(o){if(o[2]&&(r=B(o[2].substring(5),16),n=B(o[2].substring(3,5),16),e=B(o[2].substring(1,3),16)),o[3]&&(r=B((i=o[3].charAt(3))+i,16),n=B((i=o[3].charAt(2))+i,16),e=B((i=o[3].charAt(1))+i,16)),o[4]&&(o=o[4][g](/\s*,\s*/),e=R(o[0]),n=R(o[1]),r=R(o[2])),o[5]&&(o=o[5][g](/\s*,\s*/),e=2.55*R(o[0]),n=2.55*R(o[1]),r=2.55*R(o[2])),o[6])return o=o[6][g](/\s*,\s*/),e=R(o[0]),n=R(o[1]),r=R(o[2]),u.hsb2rgb(e,n,r);if(o[7])return o=o[7][g](/\s*,\s*/),e=2.55*R(o[0]),n=2.55*R(o[1]),r=2.55*R(o[2]),u.hsb2rgb(e,n,r);o={r:e,g:n,b:r};var s=(~~e)[N](16),a=(~~n)[N](16),c=(~~r)[N](16);return s=s[P](j,"0"),a=a[P](j,"0"),c=c[P](j,"0"),o.hex="#"+s+a+c,o}return{r:-1,g:-1,b:-1,hex:"none",error:1}},u),u.getColor=function(t){var e=this.getColor.start=this.getColor.start||{h:0,s:1,b:t||.75},n=this.hsb2rgb(e.h,e.s,e.b);return e.h+=.075,e.h>1&&(e.h=0,e.s-=.2,e.s<=0&&(this.getColor.start={h:0,s:1,b:e.b})),n.hex},u.getColor.reset=function(){delete this.start},u.parsePathString=t(function(t){if(!t)return null;var e={a:7,c:6,h:1,l:2,m:2,q:4,s:4,t:2,v:1,z:0},n=[];return u.is(t,"array")&&u.is(t[0],"array")&&(n=G(t)),n[x]||(t+p)[P](/([achlmqstvz])[\s,]*((-?\d*\.?\d*(?:e[-+]?\d+)?\s*,?\s*)+)/gi,function(t,r,i){var o=[],s=w.call(r);for(i[P](/(-?\d*\.?\d*(?:e[-+]?\d+)?)\s*,?\s*/gi,function(t,e){e&&o[S](+e)});o[x]>=e[s]&&(n[S]([r][h](o.splice(0,e[s]))),e[s]););}),n[N]=u._path2string,n}),u.findDotsAtSegment=function(t,e,n,r,i,o,s,a,u){var c=1-u,l=E(c,3)*t+3*E(c,2)*u*n+3*c*u*u*i+E(u,3)*s,f=E(c,3)*e+3*E(c,2)*u*r+3*c*u*u*o+E(u,3)*a,h=t+2*u*(n-t)+u*u*(i-2*n+t),p=e+2*u*(r-e)+u*u*(o-2*r+e),d=n+2*u*(i-n)+u*u*(s-2*i+n),g=r+2*u*(o-r)+u*u*(a-2*o+r),m=(1-u)*t+u*n,v=(1-u)*e+u*r,y=(1-u)*i+u*s,x=(1-u)*o+u*a,b=90-180*k.atan((h-d)/(p-g))/k.PI;return(h>d||g>p)&&(b+=180),{x:l,y:f,m:{x:h,y:p},n:{x:d,y:g},start:{x:m,y:v},end:{x:y,y:x},alpha:b}};var $=t(function(t){if(!t)return{x:0,y:0,width:0,height:0};t=K(t);for(var e,n=0,r=0,i=[],o=[],s=0,a=t[x];a>s;s++)if(e=t[s],"M"==e[0])n=e[1],r=e[2],i[S](n),o[S](r);else{var u=Z(n,r,e[1],e[2],e[3],e[4],e[5],e[6]);i=i[h](u.min.x,u.max.x),o=o[h](u.min.y,u.max.y),n=e[5],r=e[6]}var c=T[f](0,i),l=T[f](0,o);return{x:c,y:l,width:C[f](0,i)-c,height:C[f](0,o)-l}}),G=function(t){var e=[];u.is(t,"array")&&u.is(t&&t[0],"array")||(t=u.parsePathString(t));for(var n=0,r=t[x];r>n;n++){e[n]=[];for(var i=0,o=t[n][x];o>i;i++)e[n][i]=t[n][i]}return e[N]=u._path2string,e},X=t(function(t){u.is(t,"array")&&u.is(t&&t[0],"array")||(t=u.parsePathString(t));var e=[],n=0,r=0,i=0,o=0,s=0;"M"==t[0][0]&&(n=t[0][1],r=t[0][2],i=n,o=r,s++,e[S](["M",n,r]));for(var a=s,c=t[x];c>a;a++){var l=e[a]=[],f=t[a];if(f[0]!=w.call(f[0]))switch(l[0]=w.call(f[0]),l[0]){case"a":l[1]=f[1],l[2]=f[2],l[3]=f[3],l[4]=f[4],l[5]=f[5],l[6]=+(f[6]-n).toFixed(3),l[7]=+(f[7]-r).toFixed(3);break;case"v":l[1]=+(f[1]-r).toFixed(3);break;case"m":i=f[1],o=f[2];default:for(var h=1,p=f[x];p>h;h++)l[h]=+(f[h]-(h%2?n:r)).toFixed(3)}else{l=e[a]=[],"m"==f[0]&&(i=f[1]+n,o=f[2]+r);for(var d=0,g=f[x];g>d;d++)e[a][d]=f[d]}var m=e[a][x];switch(e[a][0]){case"z":n=i,r=o;break;case"h":n+=+e[a][m-1];break;case"v":r+=+e[a][m-1];break;default:n+=+e[a][m-2],r+=+e[a][m-1]}}return e[N]=u._path2string,e},0,G),V=t(function(t){u.is(t,"array")&&u.is(t&&t[0],"array")||(t=u.parsePathString(t));var e=[],n=0,r=0,i=0,o=0,s=0;"M"==t[0][0]&&(n=+t[0][1],r=+t[0][2],i=n,o=r,s++,e[0]=["M",n,r]);for(var a=s,c=t[x];c>a;a++){var l=e[a]=[],f=t[a];if(f[0]!=M.call(f[0]))switch(l[0]=M.call(f[0]),l[0]){case"A":l[1]=f[1],l[2]=f[2],l[3]=f[3],l[4]=f[4],l[5]=f[5],l[6]=+(f[6]+n),l[7]=+(f[7]+r);break;case"V":l[1]=+f[1]+r;break;case"H":l[1]=+f[1]+n;break;case"M":i=+f[1]+n,o=+f[2]+r;default:for(var h=1,p=f[x];p>h;h++)l[h]=+f[h]+(h%2?n:r)}else for(var d=0,g=f[x];g>d;d++)e[a][d]=f[d];switch(l[0]){case"Z":n=i,r=o;break;case"H":n=l[1];break;case"V":r=l[1];break;default:n=e[a][e[a][x]-2],r=e[a][e[a][x]-1]}}return e[N]=u._path2string,e},null,G),Y=function(t,e,n,r){return[t,e,n,r,n,r]},U=function(t,e,n,r,i,o){var s=1/3,a=2/3;return[s*t+a*n,s*e+a*r,s*i+a*n,s*o+a*r,i,o]},J=function(e,n,r,i,o,s,a,u,c,l){var f,p=k.PI,d=120*p/180,m=p/180*(+o||0),v=[],b=t(function(t,e,n){var r=t*k.cos(n)-e*k.sin(n),i=t*k.sin(n)+e*k.cos(n);return{x:r,y:i}});if(l)D=l[0],O=l[1],S=l[2],j=l[3];else{f=b(e,n,-m),e=f.x,n=f.y,f=b(u,c,-m),u=f.x,c=f.y;var w=(k.cos(p/180*o),k.sin(p/180*o),(e-u)/2),T=(n-c)/2;r=C(r,k.abs(w)),i=C(i,k.abs(T));var _=w*w/(r*r)+T*T/(i*i);_>1&&(r=k.sqrt(_)*r,i=k.sqrt(_)*i);var N=r*r,A=i*i,E=(s==a?-1:1)*k.sqrt(k.abs((N*A-N*T*T-A*w*w)/(N*T*T+A*w*w))),S=E*r*T/i+(e+u)/2,j=E*-i*w/r+(n+c)/2,D=k.asin(((n-j)/i).toFixed(7)),O=k.asin(((c-j)/i).toFixed(7));D=S>e?p-D:D,O=S>u?p-O:O,0>D&&(D=2*p+D),0>O&&(O=2*p+O),a&&D>O&&(D-=2*p),!a&&O>D&&(O-=2*p)}var q=O-D;if(k.abs(q)>d){var L=O,R=u,B=c;O=D+d*(a&&O>D?1:-1),u=S+r*k.cos(O),c=j+i*k.sin(O),v=J(u,c,r,i,o,0,a,R,B,[O,L,S,j])}q=O-D;var M=k.cos(D),H=k.sin(D),F=k.cos(O),P=k.sin(O),I=k.tan(q/4),W=4/3*r*I,z=4/3*i*I,$=[e,n],G=[e+W*H,n-z*M],X=[u+W*P,c-z*F],V=[u,c];if(G[0]=2*$[0]-G[0],G[1]=2*$[1]-G[1],l)return[G,X,V][h](v);v=[G,X,V][h](v)[y]()[g](",");for(var Y=[],U=0,Q=v[x];Q>U;U++)Y[U]=U%2?b(v[U-1],v[U],m).y:b(v[U],v[U+1],m).x;return Y},Q=function(t,e,n,r,i,o,s,a,u){var c=1-u;return{x:E(c,3)*t+3*E(c,2)*u*n+3*c*u*u*i+E(u,3)*s,y:E(c,3)*e+3*E(c,2)*u*r+3*c*u*u*o+E(u,3)*a}},Z=t(function(t,e,n,r,i,o,s,a){var u,c=i-2*n+t-(s-2*i+n),l=2*(n-t)-2*(i-n),h=t-n,p=(-l+k.sqrt(l*l-4*c*h))/2/c,d=(-l-k.sqrt(l*l-4*c*h))/2/c,g=[e,a],m=[t,s];return k.abs(p)>1e12&&(p=.5),k.abs(d)>1e12&&(d=.5),p>0&&1>p&&(u=Q(t,e,n,r,i,o,s,a,p),m[S](u.x),g[S](u.y)),d>0&&1>d&&(u=Q(t,e,n,r,i,o,s,a,d),m[S](u.x),g[S](u.y)),c=o-2*r+e-(a-2*o+r),l=2*(r-e)-2*(o-r),h=e-r,p=(-l+k.sqrt(l*l-4*c*h))/2/c,d=(-l-k.sqrt(l*l-4*c*h))/2/c,k.abs(p)>1e12&&(p=.5),k.abs(d)>1e12&&(d=.5),p>0&&1>p&&(u=Q(t,e,n,r,i,o,s,a,p),m[S](u.x),g[S](u.y)),d>0&&1>d&&(u=Q(t,e,n,r,i,o,s,a,d),m[S](u.x),g[S](u.y)),{min:{x:T[f](0,m),y:T[f](0,g)},max:{x:C[f](0,m),y:C[f](0,g)}}}),K=t(function(t,e){for(var n=V(t),r=e&&V(e),i={x:0,y:0,bx:0,by:0,X:0,Y:0,qx:null,qy:null},o={x:0,y:0,bx:0,by:0,X:0,Y:0,qx:null,qy:null},s=(function(t,e){var n,r;if(!t)return["C",e.x,e.y,e.x,e.y,e.x,e.y];switch(!(t[0]in{T:1,Q:1})&&(e.qx=e.qy=null),t[0]){case"M":e.X=t[1],e.Y=t[2];break;case"A":t=["C"][h](J[f](0,[e.x,e.y][h](t.slice(1))));break;case"S":n=e.x+(e.x-(e.bx||e.x)),r=e.y+(e.y-(e.by||e.y)),t=["C",n,r][h](t.slice(1));break;case"T":e.qx=e.x+(e.x-(e.qx||e.x)),e.qy=e.y+(e.y-(e.qy||e.y)),t=["C"][h](U(e.x,e.y,e.qx,e.qy,t[1],t[2]));break;case"Q":e.qx=t[1],e.qy=t[2],t=["C"][h](U(e.x,e.y,t[1],t[2],t[3],t[4]));break;case"L":t=["C"][h](Y(e.x,e.y,t[1],t[2]));break;case"H":t=["C"][h](Y(e.x,e.y,t[1],e.y));break;case"V":t=["C"][h](Y(e.x,e.y,e.x,t[1]));break;case"Z":t=["C"][h](Y(e.x,e.y,e.X,e.Y))}return t}),a=function(t,e){if(t[e][x]>7){t[e].shift();for(var i=t[e];i[x];)t.splice(e++,0,["C"][h](i.splice(0,6)));t.splice(e,1),l=C(n[x],r&&r[x]||0)}},u=function(t,e,i,o,s){t&&e&&"M"==t[s][0]&&"M"!=e[s][0]&&(e.splice(s,0,["M",o.x,o.y]),i.bx=0,i.by=0,i.x=t[s][1],i.y=t[s][2],l=C(n[x],r&&r[x]||0))},c=0,l=C(n[x],r&&r[x]||0);l>c;c++){n[c]=s(n[c],i),a(n,c),r&&(r[c]=s(r[c],o)),r&&a(r,c),u(n,r,i,o,c),u(r,n,o,i,c);var p=n[c],d=r&&r[c],g=p[x],m=r&&d[x];i.x=p[g-2],i.y=p[g-1],i.bx=R(p[g-4])||i.x,i.by=R(p[g-3])||i.y,o.bx=r&&(R(d[m-4])||o.x),o.by=r&&(R(d[m-3])||o.y),o.x=r&&d[m-2],o.y=r&&d[m-1]}return r?[n,r]:n},null,G),te=t(function(t){for(var e=[],n=0,r=t[x];r>n;n++){var i={},o=t[n].match(/^([^:]*):?([\d\.]*)/);if(i.color=u.getRGB(o[1]),i.color.error)return null;i.color=i.color.hex,o[2]&&(i.offset=o[2]+"%"),e[S](i)}for(var n=1,r=e[x]-1;r>n;n++)if(!e[n].offset){for(var s=R(e[n-1].offset||0),a=0,c=n+1;r>c;c++)if(e[c].offset){a=e[c].offset;break}a||(a=100,c=r),a=R(a);for(var l=(a-s)/(c-n+1);c>n;n++)s+=l,e[n].offset=s+"%"}return e}),ee=function(){var t;if(u.is(arguments[0],"string")||u.is(arguments[0],"object")){if(t=u.is(arguments[0],"string")?o.getElementById(arguments[0]):arguments[0],t.tagName)return null==arguments[1]?{container:t,width:t.style.pixelWidth||t.offsetWidth,height:t.style.pixelHeight||t.offsetHeight}:{container:t,width:arguments[1],height:arguments[2]}}else if(u.is(arguments[0],_)&&arguments[x]>3)return{container:1,x:arguments[0],y:arguments[1],width:arguments[2],height:arguments[3]}},ne=function(t,e){var n=this;for(var r in e)if(e[v](r)&&!(r in t))switch(typeof e[r]){case"function":!function(e){t[r]=t===n?e:function(){return e[f](n,arguments)}}(e[r]);break;case"object":t[r]=t[r]||{},ne.call(this,t[r],e[r]);break;default:t[r]=e[r]}},re=function(t,e){t==e.top&&(e.top=t.prev),t==e.bottom&&(e.bottom=t.next),t.next&&(t.next.prev=t.prev),t.prev&&(t.prev.next=t.next)},ie=function(t,e){e.top!==t&&(re(t,e),t.next=null,t.prev=e.top,e.top.next=t,e.top=t)},oe=function(t,e){e.bottom!==t&&(re(t,e),t.next=e.bottom,t.prev=null,e.bottom.prev=t,e.bottom=t)},se=function(t,e,n){re(t,n),e==n.top&&(n.top=t),e.next&&(e.next.prev=t),t.next=e.next,t.prev=e,e.next=t},ae=function(t,e,n){re(t,n),e==n.bottom&&(n.bottom=t),e.prev&&(e.prev.next=t),t.prev=e.prev,e.prev=t,t.next=e},ue=function(t){return function(){throw new Error("Rapha\xebl: you are calling to method \u201c"+t+"\u201d of removed object")}},ce=/^r(?:\(([^,]+?)\s*,\s*([^\)]+?)\))?/;if(u.svg){c[b].svgns="http://www.w3.org/2000/svg",c[b].xlink="http://www.w3.org/1999/xlink";var q=function(t){return+t+.5*(~~t===t)},le=function(t){for(var e=0,n=t[x];n>e;e++)if("a"!=w.call(t[e][0]))for(var r=1,i=t[e][x];i>r;r++)t[e][r]=q(t[e][r]);else t[e][6]=q(t[e][6]),t[e][7]=q(t[e][7]);return t},fe=function(t,e){if(!e)return o.createElementNS(c[b].svgns,t);for(var n in e)e[v](n)&&t[L](n,e[n])};u[N]=function(){return"Your browser supports SVG.\nYou are running Rapha\xebl "+this.version};var he=function(t,e){var n=fe("path");e.canvas&&e.canvas[l](n);var r=new ye(n,e);return r.type="path",ge(r,{fill:"none",stroke:"#000",path:t}),r},pe=function(t,e,n){var r="linear",i=.5,o=.5,s=t.style;if(e=(e+p)[P](ce,function(t,e,n){if(r="radial",e&&n){i=R(e),o=R(n);var s=2*(o>.5)-1;E(i-.5,2)+E(o-.5,2)>.25&&(o=k.sqrt(.25-E(i-.5,2))*s+.5)&&.5!=o&&(o=o.toFixed(5)-1e-5*s)}return p}),e=e[g](/\s*\-\s*/),"linear"==r){var a=e.shift();if(a=-R(a),isNaN(a))return null;var c=[0,0,k.cos(a*k.PI/180),k.sin(a*k.PI/180)],f=1/(C(k.abs(c[2]),k.abs(c[3]))||1);c[2]*=f,c[3]*=f,c[2]<0&&(c[0]=-c[2],c[2]=0),c[3]<0&&(c[1]=-c[3],c[3]=0)}var h=te(e);if(!h)return null;var d=fe(r+"Gradient");d.id="r"+(u._id++)[N](36),fe(d,"radial"==r?{fx:i,fy:o}:{x1:c[0],y1:c[1],x2:c[2],y2:c[3]}),n.defs[l](d);for(var m=0,v=h[x];v>m;m++){var y=fe("stop");fe(y,{offset:h[m].offset?h[m].offset:m?"100%":"0%","stop-color":h[m].color||"#fff"}),d[l](y)}return fe(t,{fill:"url(#"+d.id+")",opacity:1,"fill-opacity":1}),s.fill=p,s.opacity=1,s.fillOpacity=1,1},de=function(t){var e=t.getBBox();fe(t.pattern,{patternTransform:u.format("translate({0},{1})",e.x,e.y)})},ge=function(t,e){var n={"":[0],none:[0],"-":[3,1],".":[1,1],"-.":[3,1,1,1],"-..":[3,1,1,1,1,1],". ":[1,3],"- ":[4,3],"--":[8,3],"- .":[4,3,1,3],"--.":[8,3,1,3],"--..":[8,3,1,3,1,3]},i=t.node,s=t.attrs,a=t.rotate(),c=function(t,r){if(r=n[w.call(r)]){for(var o=t.attrs["stroke-width"]||"1",s={round:o,square:o,butt:0}[t.attrs["stroke-linecap"]||e["stroke-linecap"]]||0,a=[],u=r[x];u--;)a[u]=r[u]*o+(u%2?1:-1)*s;fe(i,{"stroke-dasharray":a[y](",")})}};e[v]("rotation")&&(a=e.rotation);var f=(a+p)[g](r);f.length-1?(f[1]=+f[1],f[2]=+f[2]):f=null,R(a)&&t.rotate(0,!0);for(var h in e)if(e[v](h)){if(!H[v](h))continue;var m=e[h];switch(s[h]=m,h){case"rotation":t.rotate(m,!0);break;case"href":case"title":case"target":var b=i.parentNode;if("a"!=w.call(b.tagName)){var k=fe("a");b.insertBefore(k,i),k[l](i),b=k}b.setAttributeNS(t.paper.xlink,h,m);break;case"cursor":i.style.cursor=m;break;case"clip-rect":var C=(m+p)[g](r);if(4==C[x]){t.clip&&t.clip.parentNode.parentNode.removeChild(t.clip.parentNode);var T=fe("clipPath"),_=fe("rect");T.id="r"+(u._id++)[N](36),fe(_,{x:C[0],y:C[1],width:C[2],height:C[3]}),T[l](_),t.paper.defs[l](T),fe(i,{"clip-path":"url(#"+T.id+")"}),t.clip=_}if(!m){var A=o.getElementById(i.getAttribute("clip-path")[P](/(^url\(#|\)$)/g,p));A&&A.parentNode.removeChild(A),fe(i,{"clip-path":p}),delete t.clip}break;case"path":m&&"path"==t.type&&(s.path=le(V(m)),fe(i,{d:s.path}));break;case"width":if(i[L](h,m),!s.fx)break;h="x",m=s.x;case"x":s.fx&&(m=-s.x-(s.width||0));case"rx":if("rx"==h&&"rect"==t.type)break;case"cx":f&&("x"==h||"cx"==h)&&(f[1]+=m-s[h]),i[L](h,q(m)),t.pattern&&de(t);break;case"height":if(i[L](h,m),!s.fy)break;h="y",m=s.y;case"y":s.fy&&(m=-s.y-(s.height||0));case"ry":if("ry"==h&&"rect"==t.type)break;case"cy":f&&("y"==h||"cy"==h)&&(f[2]+=m-s[h]),i[L](h,q(m)),t.pattern&&de(t);break;case"r":"rect"==t.type?fe(i,{rx:m,ry:m}):i[L](h,m);break;case"src":"image"==t.type&&i.setAttributeNS(t.paper.xlink,"href",m);break;case"stroke-width":i.style.strokeWidth=m,i[L](h,m),s["stroke-dasharray"]&&c(t,s["stroke-dasharray"]);break;case"stroke-dasharray":c(t,m);break;case"translation":var E=(m+p)[g](r);E[0]=+E[0]||0,E[1]=+E[1]||0,f&&(f[1]+=E[0],f[2]+=E[1]),Fe.call(t,E[0],E[1]);break;case"scale":var E=(m+p)[g](r);t.scale(+E[0]||1,+E[1]||+E[0]||1,+E[2]||null,+E[3]||null);break;case"fill":var S=(m+p).match(D);if(S){var T=fe("pattern"),j=fe("image");T.id="r"+(u._id++)[N](36),fe(T,{x:0,y:0,patternUnits:"userSpaceOnUse",height:1,width:1}),fe(j,{x:0,y:0}),j.setAttributeNS(t.paper.xlink,"href",S[1]),T[l](j);var O=o.createElement("img");O.style.cssText="position:absolute;left:-9999em;top-9999em",O.onload=function(){fe(T,{width:this.offsetWidth,height:this.offsetHeight}),fe(j,{width:this.offsetWidth,height:this.offsetHeight}),o.body.removeChild(this),t.paper.safari()},o.body[l](O),O.src=S[1],t.paper.defs[l](T),i.style.fill="url(#"+T.id+")",fe(i,{fill:"url(#"+T.id+")"}),t.pattern=T,t.pattern&&de(t);break}if(u.getRGB(m).error){if(({circle:1,ellipse:1}[v](t.type)||"r"!=(m+p).charAt())&&pe(i,m,t.paper)){s.gradient=m,s.fill="none";break}}else delete e.gradient,delete s.gradient,!u.is(s.opacity,"undefined")&&u.is(e.opacity,"undefined")&&fe(i,{opacity:s.opacity}),!u.is(s["fill-opacity"],"undefined")&&u.is(e["fill-opacity"],"undefined")&&fe(i,{"fill-opacity":s["fill-opacity"]});case"stroke":i[L](h,u.getRGB(m).hex);break;case"gradient":(({circle:1,ellipse:1})[v](t.type)||"r"!=(m+p).charAt())&&pe(i,m,t.paper);break;case"opacity":case"fill-opacity":if(s.gradient){var F=o.getElementById(i.getAttribute("fill")[P](/^url\(#|\)$/g,p));if(F){var I=F.getElementsByTagName("stop");I[I[x]-1][L]("stop-opacity",m)}break}default:"font-size"==h&&(m=B(m,10)+"px");var W=h[P](/(\-.)/g,function(t){return M.call(t.substring(1))});i.style[W]=m,i[L](h,m)}}ve(t,e),f?t.rotate(f.join(d)):R(a)&&t.rotate(a,!0)},me=1.2,ve=function(t,e){if("text"==t.type&&(e[v]("text")||e[v]("font")||e[v]("font-size")||e[v]("x")||e[v]("y"))){var n=t.attrs,r=t.node,i=r.firstChild?B(o.defaultView.getComputedStyle(r.firstChild,p).getPropertyValue("font-size"),10):10;if(e[v]("text")){for(n.text=e.text;r.firstChild;)r.removeChild(r.firstChild);for(var s=(e.text+p)[g]("\n"),a=0,u=s[x];u>a;a++)if(s[a]){var c=fe("tspan");a&&fe(c,{dy:i*me,x:n.x}),c[l](o.createTextNode(s[a])),r[l](c)}}else for(var s=r.getElementsByTagName("tspan"),a=0,u=s[x];u>a;a++)a&&fe(s[a],{dy:i*me,x:n.x});fe(r,{y:n.y});var f=t.getBBox(),h=n.y-(f.y+f.height/2);h&&isFinite(h)&&fe(r,{y:n.y+h})}},ye=function(t,e){this[0]=t,this.id=u._oid++,this.node=t,t.raphael=this,this.paper=e,this.attrs=this.attrs||{},this.transformations=[],this._={tx:0,ty:0,rt:{deg:0,cx:0,cy:0},sx:1,sy:1},!e.bottom&&(e.bottom=this),this.prev=e.top,e.top&&(e.top.next=this),e.top=this,this.next=null};ye[b].rotate=function(t,e,n){if(this.removed)return this;if(null==t)return this._.rt.cx?[this._.rt.deg,this._.rt.cx,this._.rt.cy][y](d):this._.rt.deg;var i=this.getBBox();return t=(t+p)[g](r),t[x]-1&&(e=R(t[1]),n=R(t[2])),t=R(t[0]),null!=e?this._.rt.deg=t:this._.rt.deg+=t,null==n&&(e=null),this._.rt.cx=e,this._.rt.cy=n,e=null==e?i.x+i.width/2:e,n=null==n?i.y+i.height/2:n,this._.rt.deg?(this.transformations[0]=u.format("rotate({0} {1} {2})",this._.rt.deg,e,n),this.clip&&fe(this.clip,{transform:u.format("rotate({0} {1} {2})",-this._.rt.deg,e,n)})):(this.transformations[0]=p,this.clip&&fe(this.clip,{transform:p})),fe(this.node,{transform:this.transformations[y](d)}),this},ye[b].hide=function(){return!this.removed&&(this.node.style.display="none"),this},ye[b].show=function(){return!this.removed&&(this.node.style.display=""),this},ye[b].remove=function(){if(!this.removed){re(this,this.paper),this.node.parentNode.removeChild(this.node);for(var t in this)delete this[t];this.removed=!0}},ye[b].getBBox=function(){if(this.removed)return this;if("path"==this.type)return $(this.attrs.path);if("none"==this.node.style.display){this.show();var t=!0}var e={};try{e=this.node.getBBox()}catch(n){}finally{e=e||{}}if("text"==this.type){e={x:e.x,y:1/0,width:0,height:0};for(var r=0,i=this.node.getNumberOfChars();i>r;r++){var o=this.node.getExtentOfChar(r);o.y<e.y&&(e.y=o.y),o.y+o.height-e.y>e.height&&(e.height=o.y+o.height-e.y),o.x+o.width-e.x>e.width&&(e.width=o.x+o.width-e.x)}}return t&&this.hide(),e},ye[b].attr=function(){if(this.removed)return this;if(0==arguments[x]){var t={};for(var e in this.attrs)this.attrs[v](e)&&(t[e]=this.attrs[e]);return this._.rt.deg&&(t.rotation=this.rotate()),(1!=this._.sx||1!=this._.sy)&&(t.scale=this.scale()),t.gradient&&"none"==t.fill&&(t.fill=t.gradient)&&delete t.gradient,t}if(1==arguments[x]&&u.is(arguments[0],"string"))return"translation"==arguments[0]?Fe.call(this):"rotation"==arguments[0]?this.rotate():"scale"==arguments[0]?this.scale():"fill"==arguments[0]&&"none"==this.attrs.fill&&this.attrs.gradient?this.attrs.gradient:this.attrs[arguments[0]];if(1==arguments[x]&&u.is(arguments[0],"array")){var n={};for(var r in arguments[0])arguments[0][v](r)&&(n[arguments[0][r]]=this.attrs[arguments[0][r]]);return n}if(2==arguments[x]){var i={};i[arguments[0]]=arguments[1],ge(this,i)}else 1==arguments[x]&&u.is(arguments[0],"object")&&ge(this,arguments[0]);return this},ye[b].toFront=function(){if(this.removed)return this;this.node.parentNode[l](this.node);var t=this.paper;return t.top!=this&&ie(this,t),this},ye[b].toBack=function(){if(this.removed)return this;if(this.node.parentNode.firstChild!=this.node){this.node.parentNode.insertBefore(this.node,this.node.parentNode.firstChild),oe(this,this.paper);{this.paper}}return this},ye[b].insertAfter=function(t){if(this.removed)return this;var e=t.node;return e.nextSibling?e.parentNode.insertBefore(this.node,e.nextSibling):e.parentNode[l](this.node),se(this,t,this.paper),this},ye[b].insertBefore=function(t){if(this.removed)return this;var e=t.node;return e.parentNode.insertBefore(this.node,e),ae(this,t,this.paper),this};var xe=function(t,e,n,r){e=q(e),n=q(n);var i=fe("circle");t.canvas&&t.canvas[l](i);var o=new ye(i,t);return o.attrs={cx:e,cy:n,r:r,fill:"none",stroke:"#000"},o.type="circle",fe(i,o.attrs),o},be=function(t,e,n,r,i,o){e=q(e),n=q(n);var s=fe("rect");t.canvas&&t.canvas[l](s);var a=new ye(s,t);return a.attrs={x:e,y:n,width:r,height:i,r:o||0,rx:o||0,ry:o||0,fill:"none",stroke:"#000"},a.type="rect",fe(s,a.attrs),a},we=function(t,e,n,r,i){e=q(e),n=q(n);var o=fe("ellipse");t.canvas&&t.canvas[l](o);var s=new ye(o,t);return s.attrs={cx:e,cy:n,rx:r,ry:i,fill:"none",stroke:"#000"},s.type="ellipse",fe(o,s.attrs),s},ke=function(t,e,n,r,i,o){var s=fe("image");fe(s,{x:n,y:r,width:i,height:o,preserveAspectRatio:"none"}),s.setAttributeNS(t.xlink,"href",e),t.canvas&&t.canvas[l](s);var a=new ye(s,t);return a.attrs={x:n,y:r,width:i,height:o,src:e},a.type="image",a},Ce=function(t,e,n,r){var i=fe("text");fe(i,{x:e,y:n,"text-anchor":"middle"}),t.canvas&&t.canvas[l](i);var o=new ye(i,t);return o.attrs={x:e,y:n,"text-anchor":"middle",text:r,font:H.font,stroke:"none",fill:"#000"},o.type="text",ge(o,o.attrs),o},Te=function(t,e){return this.width=t||this.width,this.height=e||this.height,this.canvas[L]("width",this.width),this.canvas[L]("height",this.height),this},_e=function(){var t=ee[f](null,arguments),e=t&&t.container,n=t.x,r=t.y,i=t.width,s=t.height;if(!e)throw new Error("SVG container not found.");var a=fe("svg");return i=i||512,s=s||342,fe(a,{xmlns:"http://www.w3.org/2000/svg",version:1.1,width:i,height:s}),1==e?(a.style.cssText="position:absolute;left:"+n+"px;top:"+r+"px",o.body[l](a)):e.firstChild?e.insertBefore(a,e.firstChild):e[l](a),e=new c,e.width=i,e.height=s,e.canvas=a,ne.call(e,e,u.fn),e.clear(),e};c[b].clear=function(){for(var t=this.canvas;t.firstChild;)t.removeChild(t.firstChild);this.bottom=this.top=null,(this.desc=fe("desc"))[l](o.createTextNode("Created with Rapha\xebl")),t[l](this.desc),t[l](this.defs=fe("defs"))},c[b].remove=function(){this.canvas.parentNode&&this.canvas.parentNode.removeChild(this.canvas);for(var t in this)this[t]=ue(t)}}if(u.vml){var Ne=function(t){var e=/[ahqstv]/gi,n=V;if((t+p).match(e)&&(n=K),e=/[clmz]/g,n==V&&!(t+p).match(e)){var r={M:"m",L:"l",C:"c",Z:"x",m:"t",l:"r",c:"v",z:"x"},i=/([clmz]),?([^clmz]*)/gi,o=/-?[^,\s-]+/g,s=(t+p)[P](i,function(t,e,n){var i=[];return n[P](o,function(t){i[S](q(t))}),r[e]+i});return s}for(var a,u,c=n(t),s=[],l=0,f=c[x];f>l;l++){a=c[l],u=w.call(c[l][0]),"z"==u&&(u="x");for(var h=1,g=a[x];g>h;h++)u+=q(a[h])+(h!=g-1?",":p);s[S](u)}return s[y](d)};u[N]=function(){return"Your browser doesn\u2019t support SVG. Falling down to VML.\nYou are running Rapha\xebl "+this.version};var he=function(t,e){var n=Ae("group");n.style.cssText="position:absolute;left:0;top:0;width:"+e.width+"px;height:"+e.height+"px",n.coordsize=e.coordsize,n.coordorigin=e.coordorigin;var r=Ae("shape"),i=r.style;i.width=e.width+"px",i.height=e.height+"px",r.coordsize=this.coordsize,r.coordorigin=this.coordorigin,n[l](r);var o=new ye(r,n,e);return o.isAbsolute=!0,o.type="path",o.path=[],o.Path=p,t&&ge(o,{fill:"none",stroke:"#000",path:t}),e.canvas[l](n),o},ge=function(t,e){t.attrs=t.attrs||{};var n,i=t.node,s=t.attrs,a=i.style,c=t;for(var f in e)e[v](f)&&(s[f]=e[f]);if(e.href&&(i.href=e.href),e.title&&(i.title=e.title),e.target&&(i.target=e.target),e.cursor&&(a.cursor=e.cursor),e.path&&"path"==t.type&&(s.path=e.path,i.path=Ne(s.path)),null!=e.rotation&&t.rotate(e.rotation,!0),e.translation&&(n=(e.translation+p)[g](r),Fe.call(t,n[0],n[1]),null!=t._.rt.cx&&(t._.rt.cx+=+n[0],t._.rt.cy+=+n[1],t.setBox(t.attrs,n[0],n[1]))),e.scale&&(n=(e.scale+p)[g](r),t.scale(+n[0]||1,+n[1]||+n[0]||1,+n[2]||null,+n[3]||null)),"clip-rect"in e){var h=(e["clip-rect"]+p)[g](r);if(4==h[x]){h[2]=+h[2]+ +h[0],h[3]=+h[3]+ +h[1];var d=i.clipRect||o.createElement("div"),m=d.style,y=i.parentNode;m.clip=u.format("rect({1}px {2}px {3}px {0}px)",h),i.clipRect||(m.position="absolute",m.top=0,m.left=0,m.width=t.paper.width+"px",m.height=t.paper.height+"px",y.parentNode.insertBefore(d,y),d[l](y),i.clipRect=d)}e["clip-rect"]||i.clipRect&&(i.clipRect.style.clip=p)}if("image"==t.type&&e.src&&(i.src=e.src),"image"==t.type&&e.opacity&&(i.filterOpacity=" progid:DXImageTransform.Microsoft.Alpha(opacity="+100*e.opacity+")",a.filter=(i.filterMatrix||p)+(i.filterOpacity||p)),e.font&&(a.font=e.font),e["font-family"]&&(a.fontFamily='"'+e["font-family"][g](",")[0][P](/^['"]+|['"]+$/g,p)+'"'),e["font-size"]&&(a.fontSize=e["font-size"]),e["font-weight"]&&(a.fontWeight=e["font-weight"]),e["font-style"]&&(a.fontStyle=e["font-style"]),null!=e.opacity||null!=e["stroke-width"]||null!=e.fill||null!=e.stroke||null!=e["stroke-width"]||null!=e["stroke-opacity"]||null!=e["fill-opacity"]||null!=e["stroke-dasharray"]||null!=e["stroke-miterlimit"]||null!=e["stroke-linejoin"]||null!=e["stroke-linecap"]){i=t.shape||i;var b=i.getElementsByTagName("fill")&&i.getElementsByTagName("fill")[0],w=!1;if(!b&&(w=b=Ae("fill")),"fill-opacity"in e||"opacity"in e){var k=((+s["fill-opacity"]+1||2)-1)*((+s.opacity+1||2)-1);0>k&&(k=0),k>1&&(k=1),b.opacity=k}if(e.fill&&(b.on=!0),(null==b.on||"none"==e.fill)&&(b.on=!1),b.on&&e.fill){var C=e.fill.match(D);C?(b.src=C[1],b.type="tile"):(b.color=u.getRGB(e.fill).hex,b.src=p,b.type="solid",u.getRGB(e.fill).error&&(c.type in{circle:1,ellipse:1}||"r"!=(e.fill+p).charAt())&&pe(c,e.fill)&&(s.fill="none",s.gradient=e.fill))}w&&i[l](b);var T=i.getElementsByTagName("stroke")&&i.getElementsByTagName("stroke")[0],_=!1;!T&&(_=T=Ae("stroke")),(e.stroke&&"none"!=e.stroke||e["stroke-width"]||null!=e["stroke-opacity"]||e["stroke-dasharray"]||e["stroke-miterlimit"]||e["stroke-linejoin"]||e["stroke-linecap"])&&(T.on=!0),("none"==e.stroke||null==T.on||0==e.stroke||0==e["stroke-width"])&&(T.on=!1),T.on&&e.stroke&&(T.color=u.getRGB(e.stroke).hex);var k=((+s["stroke-opacity"]+1||2)-1)*((+s.opacity+1||2)-1),N=.75*(R(e["stroke-width"])||1);if(0>k&&(k=0),k>1&&(k=1),null==e["stroke-width"]&&(N=s["stroke-width"]),e["stroke-width"]&&(T.weight=N),N&&1>N&&(k*=N)&&(T.weight=1),T.opacity=k,e["stroke-linejoin"]&&(T.joinstyle=e["stroke-linejoin"]||"miter"),T.miterlimit=e["stroke-miterlimit"]||8,e["stroke-linecap"]&&(T.endcap="butt"==e["stroke-linecap"]?"flat":"square"==e["stroke-linecap"]?"square":"round"),e["stroke-dasharray"]){var A={"-":"shortdash",".":"shortdot","-.":"shortdashdot","-..":"shortdashdotdot",". ":"dot","- ":"dash","--":"longdash","- .":"dashdot","--.":"longdashdot","--..":"longdashdotdot"};T.dashstyle=A[v](e["stroke-dasharray"])?A[e["stroke-dasharray"]]:p}_&&i[l](T)}if("text"==c.type){var a=c.paper.span.style;switch(s.font&&(a.font=s.font),s["font-family"]&&(a.fontFamily=s["font-family"]),s["font-size"]&&(a.fontSize=s["font-size"]),s["font-weight"]&&(a.fontWeight=s["font-weight"]),s["font-style"]&&(a.fontStyle=s["font-style"]),c.node.string&&(c.paper.span.innerHTML=(c.node.string+p)[P](/</g,"<")[P](/&/g,"&")[P](/\n/g,"<br>")),c.W=s.w=c.paper.span.offsetWidth,c.H=s.h=c.paper.span.offsetHeight,c.X=s.x,c.Y=s.y+q(c.H/2),s["text-anchor"]){case"start":c.node.style["v-text-align"]="left",c.bbx=q(c.W/2);break;case"end":c.node.style["v-text-align"]="right",c.bbx=-q(c.W/2);break;default:c.node.style["v-text-align"]="center"}}},pe=function(t,e){t.attrs=t.attrs||{};var n=(t.attrs,t.node.getElementsByTagName("fill")),r="linear",i=".5 .5";if(t.attrs.gradient=e,e=(e+p)[P](ce,function(t,e,n){return r="radial",e&&n&&(e=R(e),n=R(n),E(e-.5,2)+E(n-.5,2)>.25&&(n=k.sqrt(.25-E(e-.5,2))*(2*(n>.5)-1)+.5),i=e+d+n),p}),e=e[g](/\s*\-\s*/),"linear"==r){var o=e.shift();if(o=-R(o),isNaN(o))return null}var s=te(e);if(!s)return null;if(t=t.shape||t.node,n=n[0]||Ae("fill"),s[x]){n.on=!0,n.method="none",n.type="radial"==r?"gradientradial":"gradient",n.color=s[0].color,n.color2=s[s[x]-1].color;for(var a=[],u=0,c=s[x];c>u;u++)s[u].offset&&a[S](s[u].offset+d+s[u].color);n.colors&&(n.colors.value=a[x]?a[y](","):"0% "+n.color),"radial"==r?(n.focus="100%",n.focussize=i,n.focusposition=i):n.angle=(270-o)%360}return 1},ye=function(t,e,n){this[0]=t,this.id=u._oid++,this.node=t,t.raphael=this,this.X=0,this.Y=0,this.attrs={},this.Group=e,this.paper=n,this._={tx:0,ty:0,rt:{deg:0},sx:1,sy:1},!n.bottom&&(n.bottom=this),this.prev=n.top,n.top&&(n.top.next=this),n.top=this,this.next=null};ye[b].rotate=function(t,e,n){return this.removed?this:null==t?this._.rt.cx?[this._.rt.deg,this._.rt.cx,this._.rt.cy][y](d):this._.rt.deg:(t=(t+p)[g](r),t[x]-1&&(e=R(t[1]),n=R(t[2])),t=R(t[0]),null!=e?this._.rt.deg=t:this._.rt.deg+=t,null==n&&(e=null),this._.rt.cx=e,this._.rt.cy=n,this.setBox(this.attrs,e,n),this.Group.style.rotation=this._.rt.deg,this)},ye[b].setBox=function(t,e,n){if(this.removed)return this;var r=this.Group.style,i=this.shape&&this.shape.style||this.node.style;t=t||{};for(var o in t)t[v](o)&&(this.attrs[o]=t[o]);e=e||this._.rt.cx,n=n||this._.rt.cy;var s,a,u,c,f=this.attrs;switch(this.type){case"circle":s=f.cx-f.r,a=f.cy-f.r,u=c=2*f.r;break;case"ellipse":s=f.cx-f.rx,a=f.cy-f.ry,u=2*f.rx,c=2*f.ry;break;case"rect":case"image":s=+f.x,a=+f.y,u=f.width||0,c=f.height||0;break;case"text":this.textpath.v=["m",q(f.x),", ",q(f.y-2),"l",q(f.x)+1,", ",q(f.y-2)][y](p),s=f.x-q(this.W/2),a=f.y-this.H/2,u=this.W,c=this.H;break;case"path":if(this.attrs.path){var h=$(this.attrs.path);s=h.x,a=h.y,u=h.width,c=h.height}else s=0,a=0,u=this.paper.width,c=this.paper.height;break;default:s=0,a=0,u=this.paper.width,c=this.paper.height}e=null==e?s+u/2:e,n=null==n?a+c/2:n;var d=e-this.paper.width/2,g=n-this.paper.height/2;if("path"==this.type||"text"==this.type)r.left!=d+"px"&&(r.left=d+"px"),r.top!=g+"px"&&(r.top=g+"px"),this.X="text"==this.type?s:-d,this.Y="text"==this.type?a:-g,this.W=u,this.H=c,i.left!=-d+"px"&&(i.left=-d+"px"),i.top!=-g+"px"&&(i.top=-g+"px");
else{r.left!=d+"px"&&(r.left=d+"px"),r.top!=g+"px"&&(r.top=g+"px"),this.X=s,this.Y=a,this.W=u,this.H=c,r.width!=this.paper.width+"px"&&(r.width=this.paper.width+"px"),r.height!=this.paper.height+"px"&&(r.height=this.paper.height+"px"),i.left!=s-d+"px"&&(i.left=s-d+"px"),i.top!=a-g+"px"&&(i.top=a-g+"px"),i.width!=u+"px"&&(i.width=u+"px"),i.height!=c+"px"&&(i.height=c+"px");var m=(+t.r||0)/T(u,c);if("rect"==this.type&&this.arcsize.toFixed(4)!=m.toFixed(4)&&(m||this.arcsize)){var b=Ae("roundrect"),w={},o=0,k=this.events&&this.events[x];b.arcsize=m,b.raphael=this,this.Group[l](b),this.Group.removeChild(this.node),this[0]=this.node=b,this.arcsize=m;for(var o in f)w[o]=f[o];if(delete w.scale,this.attr(w),this.events)for(;k>o;o++)this.events[o].unbind=Se(this.node,this.events[o].name,this.events[o].f,this)}}},ye[b].hide=function(){return!this.removed&&(this.Group.style.display="none"),this},ye[b].show=function(){return!this.removed&&(this.Group.style.display="block"),this},ye[b].getBBox=function(){return this.removed?this:"path"==this.type?$(this.attrs.path):{x:this.X+(this.bbx||0),y:this.Y,width:this.W,height:this.H}},ye[b].remove=function(){if(!this.removed){re(this,this.paper),this.node.parentNode.removeChild(this.node),this.Group.parentNode.removeChild(this.Group),this.shape&&this.shape.parentNode.removeChild(this.shape);for(var t in this)delete this[t];this.removed=!0}},ye[b].attr=function(){if(this.removed)return this;if(0==arguments[x]){var t={};for(var e in this.attrs)this.attrs[v](e)&&(t[e]=this.attrs[e]);return this._.rt.deg&&(t.rotation=this.rotate()),(1!=this._.sx||1!=this._.sy)&&(t.scale=this.scale()),t.gradient&&"none"==t.fill&&(t.fill=t.gradient)&&delete t.gradient,t}if(1==arguments[x]&&u.is(arguments[0],"string"))return"translation"==arguments[0]?Fe.call(this):"rotation"==arguments[0]?this.rotate():"scale"==arguments[0]?this.scale():"fill"==arguments[0]&&"none"==this.attrs.fill&&this.attrs.gradient?this.attrs.gradient:this.attrs[arguments[0]];if(this.attrs&&1==arguments[x]&&u.is(arguments[0],"array")){for(var n={},e=0,r=arguments[0][x];r>e;e++)n[arguments[0][e]]=this.attrs[arguments[0][e]];return n}var i;return 2==arguments[x]&&(i={},i[arguments[0]]=arguments[1]),1==arguments[x]&&u.is(arguments[0],"object")&&(i=arguments[0]),i&&(i.text&&"text"==this.type&&(this.node.string=i.text),ge(this,i),i.gradient&&({circle:1,ellipse:1}[v](this.type)||"r"!=(i.gradient+p).charAt())&&pe(this,i.gradient),("path"!=this.type||this._.rt.deg)&&this.setBox(this.attrs)),this},ye[b].toFront=function(){return!this.removed&&this.Group.parentNode[l](this.Group),this.paper.top!=this&&ie(this,this.paper),this},ye[b].toBack=function(){return this.removed?this:(this.Group.parentNode.firstChild!=this.Group&&(this.Group.parentNode.insertBefore(this.Group,this.Group.parentNode.firstChild),oe(this,this.paper)),this)},ye[b].insertAfter=function(t){return this.removed?this:(t.Group.nextSibling?t.Group.parentNode.insertBefore(this.Group,t.Group.nextSibling):t.Group.parentNode[l](this.Group),se(this,t,this.paper),this)},ye[b].insertBefore=function(t){return this.removed?this:(t.Group.parentNode.insertBefore(this.Group,t.Group),ae(this,t,this.paper),this)};var Ae,xe=function(t,e,n,r){{var i=Ae("group"),o=Ae("oval");o.style}i.style.cssText="position:absolute;left:0;top:0;width:"+t.width+"px;height:"+t.height+"px",i.coordsize=t.coordsize,i.coordorigin=t.coordorigin,i[l](o);var s=new ye(o,i,t);return s.type="circle",ge(s,{stroke:"#000",fill:"none"}),s.attrs.cx=e,s.attrs.cy=n,s.attrs.r=r,s.setBox({x:e-r,y:n-r,width:2*r,height:2*r}),t.canvas[l](i),s},be=function(t,e,n,r,i,o){var s=Ae("group"),a=Ae("roundrect"),u=(+o||0)/T(r,i);s.style.cssText="position:absolute;left:0;top:0;width:"+t.width+"px;height:"+t.height+"px",s.coordsize=t.coordsize,s.coordorigin=t.coordorigin,s[l](a),a.arcsize=u;var c=new ye(a,s,t);return c.type="rect",ge(c,{stroke:"#000"}),c.arcsize=u,c.setBox({x:e,y:n,width:r,height:i,r:o}),t.canvas[l](s),c},we=function(t,e,n,r,i){{var o=Ae("group"),s=Ae("oval");s.style}o.style.cssText="position:absolute;left:0;top:0;width:"+t.width+"px;height:"+t.height+"px",o.coordsize=t.coordsize,o.coordorigin=t.coordorigin,o[l](s);var a=new ye(s,o,t);return a.type="ellipse",ge(a,{stroke:"#000"}),a.attrs.cx=e,a.attrs.cy=n,a.attrs.rx=r,a.attrs.ry=i,a.setBox({x:e-r,y:n-i,width:2*r,height:2*i}),t.canvas[l](o),a},ke=function(t,e,n,r,i,o){{var s=Ae("group"),a=Ae("image");a.style}s.style.cssText="position:absolute;left:0;top:0;width:"+t.width+"px;height:"+t.height+"px",s.coordsize=t.coordsize,s.coordorigin=t.coordorigin,a.src=e,s[l](a);var u=new ye(a,s,t);return u.type="image",u.attrs.src=e,u.attrs.x=n,u.attrs.y=r,u.attrs.w=i,u.attrs.h=o,u.setBox({x:n,y:r,width:i,height:o}),t.canvas[l](s),u},Ce=function(t,e,n,r){var i=Ae("group"),o=Ae("shape"),s=o.style,a=Ae("path"),c=(a.style,Ae("textpath"));i.style.cssText="position:absolute;left:0;top:0;width:"+t.width+"px;height:"+t.height+"px",i.coordsize=t.coordsize,i.coordorigin=t.coordorigin,a.v=u.format("m{0},{1}l{2},{1}",q(e),q(n),q(e)+1),a.textpathok=!0,s.width=t.width,s.height=t.height,c.string=r+p,c.on=!0,o[l](c),o[l](a),i[l](o);var f=new ye(c,i,t);return f.shape=o,f.textpath=a,f.type="text",f.attrs.text=r,f.attrs.x=e,f.attrs.y=n,f.attrs.w=1,f.attrs.h=1,ge(f,{font:H.font,stroke:"none",fill:"#000"}),f.setBox(),t.canvas[l](i),f},Te=function(t,e){var n=this.canvas.style;return t==+t&&(t+="px"),e==+e&&(e+="px"),n.width=t,n.height=e,n.clip="rect(0 "+t+" "+e+" 0)",this};o.createStyleSheet().addRule(".rvml","behavior:url(#default#VML)");try{!o.namespaces.rvml&&o.namespaces.add("rvml","urn:schemas-microsoft-com:vml"),Ae=function(t){return o.createElement("<rvml:"+t+' class="rvml">')}}catch(Ee){Ae=function(t){return o.createElement("<"+t+' xmlns="urn:schemas-microsoft.com:vml" class="rvml">')}}var _e=function(){var t=ee[f](null,arguments),e=t.container,n=t.height,r=t.width,i=t.x,s=t.y;if(!e)throw new Error("VML container not found.");var a=new c,h=a.canvas=o.createElement("div"),p=h.style;return r=r||512,n=n||342,r==+r&&(r+="px"),n==+n&&(n+="px"),a.width=1e3,a.height=1e3,a.coordsize="1000 1000",a.coordorigin="0 0",a.span=o.createElement("span"),a.span.style.cssText="position:absolute;left:-9999em;top:-9999em;padding:0;margin:0;line-height:1;display:inline;",h[l](a.span),p.cssText=u.format("width:{0};height:{1};position:absolute;clip:rect(0 {0} {1} 0);overflow:hidden",r,n),1==e?(o.body[l](h),p.left=i+"px",p.top=s+"px"):(e.style.width=r,e.style.height=n,e.firstChild?e.insertBefore(h,e.firstChild):e[l](h)),ne.call(a,a,u.fn),a};c[b].clear=function(){this.canvas.innerHTML=p,this.span=o.createElement("span"),this.span.style.cssText="position:absolute;left:-9999em;top:-9999em;padding:0;margin:0;line-height:1;display:inline;",this.canvas[l](this.span),this.bottom=this.top=null},c[b].remove=function(){this.canvas.parentNode.removeChild(this.canvas);for(var t in this)this[t]=ue(t)}}c[b].safari=!/^Apple|^Google/.test(navigator.vendor)||navigator.userAgent.indexOf("Version/4.0")+1?function(){}:function(){var t=this.rect(-99,-99,this.width+99,this.height+99);setTimeout(function(){t.remove()})};for(var Se=function(){return o.addEventListener?function(t,e,n,r){var i=function(t){return n.call(r,t)};return t.addEventListener(e,i,!1),function(){return t.removeEventListener(e,i,!1),!0}}:o.attachEvent?function(t,e,n,r){var i=function(t){return n.call(r,t||s.event)};t.attachEvent("on"+e,i);var o=function(){return t.detachEvent("on"+e,i),!0};return o}:void 0}(),je=m[x];je--;)!function(t){ye[b][t]=function(e){return u.is(e,"function")&&(this.events=this.events||[],this.events.push({name:t,f:e,unbind:Se(this.shape||this.node,t,e,this)})),this},ye[b]["un"+t]=function(e){for(var n=this.events,r=n[x];r--;)if(n[r].name==t&&n[r].f==e)return n[r].unbind(),n.splice(r,1),!n.length&&delete this.events,this;return this}}(m[je]);ye[b].hover=function(t,e){return this.mouseover(t).mouseout(e)},ye[b].unhover=function(t,e){return this.unmouseover(t).unmouseout(e)},c[b].circle=function(t,e,n){return xe(this,t||0,e||0,n||0)},c[b].rect=function(t,e,n,r,i){return be(this,t||0,e||0,n||0,r||0,i||0)},c[b].ellipse=function(t,e,n,r){return we(this,t||0,e||0,n||0,r||0)},c[b].path=function(t){return t&&!u.is(t,"string")&&!u.is(t[0],"array")&&(t+=p),he(u.format[f](u,arguments),this)},c[b].image=function(t,e,n,r,i){return ke(this,t||"about:blank",e||0,n||0,r||0,i||0)},c[b].text=function(t,e,n){return Ce(this,t||0,e||0,n||p)},c[b].set=function(t){return arguments[x]>1&&(t=Array[b].splice.call(arguments,0,arguments[x])),new Pe(t)},c[b].setSize=Te,c[b].top=c[b].bottom=null,c[b].raphael=u,ye[b].scale=function(t,n,r,i){if(null==t&&null==n)return{x:this._.sx,y:this._.sy,toString:e};n=n||t,!+n&&(n=t);var o,s,a=this.attrs;if(0!=t){var u=this.getBBox(),c=u.x+u.width/2,l=u.y+u.height/2,f=t/this._.sx,g=n/this._.sy;r=+r||0==r?r:c,i=+i||0==i?i:l;var m=~~(t/k.abs(t)),v=~~(n/k.abs(n)),b=this.node.style,w=r+(c-r)*f,C=i+(l-i)*g;switch(this.type){case"rect":case"image":var _=a.width*m*f,N=a.height*v*g;this.attr({height:N,r:a.r*T(m*f,v*g),width:_,x:w-_/2,y:C-N/2});break;case"circle":case"ellipse":this.attr({rx:a.rx*m*f,ry:a.ry*v*g,r:a.r*T(m*f,v*g),cx:w,cy:C});break;case"path":for(var A=X(a.path),E=!0,S=0,j=A[x];j>S;S++){var D,O=A[S],q=M.call(O[0]);if("M"!=q||!E)if(E=!1,"A"==q)O[A[S][x]-2]*=f,O[A[S][x]-1]*=g,O[1]*=m*f,O[2]*=v*g,O[5]=+(m+v?!!+O[5]:!+O[5]);else if("H"==q)for(D=1,jj=O[x];jj>D;D++)O[D]*=f;else if("V"==q)for(D=1,jj=O[x];jj>D;D++)O[D]*=g;else for(D=1,jj=O[x];jj>D;D++)O[D]*=D%2?f:g}var R=$(A),o=w-R.x-R.width/2,s=C-R.y-R.height/2;A[0][1]+=o,A[0][2]+=s,this.attr({path:A})}this.type in{text:1,image:1}&&(1!=m||1!=v)?this.transformations?(this.transformations[2]="scale("[h](m,",",v,")"),this.node[L]("transform",this.transformations[y](d)),o=-1==m?-a.x-(_||0):a.x,s=-1==v?-a.y-(N||0):a.y,this.attr({x:o,y:s}),a.fx=m-1,a.fy=v-1):(this.node.filterMatrix=" progid:DXImageTransform.Microsoft.Matrix(M11="[h](m,", M12=0, M21=0, M22=",v,", Dx=0, Dy=0, sizingmethod='auto expand', filtertype='bilinear')"),b.filter=(this.node.filterMatrix||p)+(this.node.filterOpacity||p)):this.transformations?(this.transformations[2]=p,this.node[L]("transform",this.transformations[y](d)),a.fx=0,a.fy=0):(this.node.filterMatrix=p,b.filter=(this.node.filterMatrix||p)+(this.node.filterOpacity||p)),a.scale=[t,n,r,i][y](d),this._.sx=t,this._.sy=n}return this},ye[b].clone=function(){var t=this.attr();return delete t.scale,delete t.translation,this.paper[this.type]().attr(t)};var De=function(t,e){return function(n,r,i){n=K(n);for(var o,s,a,c,l,f="",h={},p=0,d=0,g=n.length;g>d;d++){if(a=n[d],"M"==a[0])o=+a[1],s=+a[2];else{if(c=Oe(o,s,a[1],a[2],a[3],a[4],a[5],a[6]),p+c>r){if(e&&!h.start){if(l=u.findDotsAtSegment(o,s,a[1],a[2],a[3],a[4],a[5],a[6],(r-p)/c),f+=["C",l.start.x,l.start.y,l.m.x,l.m.y,l.x,l.y],i)return f;h.start=f,f=["M",l.x,l.y+"C",l.n.x,l.n.y,l.end.x,l.end.y,a[5],a[6]][y](),p+=c,o=+a[5],s=+a[6];continue}if(!t&&!e)return l=u.findDotsAtSegment(o,s,a[1],a[2],a[3],a[4],a[5],a[6],(r-p)/c),{x:l.x,y:l.y,alpha:l.alpha}}p+=c,o=+a[5],s=+a[6]}f+=a}return h.end=f,l=t?p:e?h:u.findDotsAtSegment(o,s,a[1],a[2],a[3],a[4],a[5],a[6],1),l.alpha&&(l={x:l.x,y:l.y,alpha:l.alpha}),l}},Oe=t(function(t,e,n,r,i,o,s,a){for(var u={x:0,y:0},c=0,l=0;1.01>l;l+=.01){var f=Q(t,e,n,r,i,o,s,a,l);l&&(c+=k.sqrt(E(u.x-f.x,2)+E(u.y-f.y,2))),u=f}return c}),qe=De(1),Le=De(),Re=De(0,1);ye[b].getTotalLength=function(){return"path"==this.type?qe(this.attrs.path):void 0},ye[b].getPointAtLength=function(t){return"path"==this.type?Le(this.attrs.path,t):void 0},ye[b].getSubpath=function(t,e){if("path"==this.type){if(k.abs(this.getTotalLength()-e)<1e-6)return Re(this.attrs.path,t).end;var n=Re(this.attrs.path,e,1);return t?Re(n,t).end:n}},u.easing_formulas={linear:function(t){return t},"<":function(t){return E(t,3)},">":function(t){return E(t-1,3)+1},"<>":function(t){return t=2*t,1>t?E(t,3)/2:(t-=2,(E(t,3)+2)/2)},backIn:function(t){var e=1.70158;return t*t*((e+1)*t-e)},backOut:function(t){t-=1;var e=1.70158;return t*t*((e+1)*t+e)+1},elastic:function(t){if(0==t||1==t)return t;var e=.3,n=e/4;return E(2,-10*t)*k.sin(2*(t-n)*k.PI/e)+1},bounce:function(t){var e,n=7.5625,r=2.75;return 1/r>t?e=n*t*t:2/r>t?(t-=1.5/r,e=n*t*t+.75):2.5/r>t?(t-=2.25/r,e=n*t*t+.9375):(t-=2.625/r,e=n*t*t+.984375),e}};var Be={length:0},Me=function(){var t=+new Date;for(var e in Be)if("length"!=e&&Be[v](e)){var n=Be[e];if(n.stop){delete Be[e],Be[x]--;continue}var r,i=t-n.start,o=n.ms,s=n.easing,a=n.from,c=n.diff,l=n.to,f=n.t,h=n.prev||0,g=n.el,m=n.callback,b={};if(o>i){var w=u.easing_formulas[s]?u.easing_formulas[s](i/o):i/o;for(var k in a)if(a[v](k)){switch(F[k]){case"along":r=w*o*c[k],l.back&&(r=l.len-r);var C=Le(l[k],r);g.translate(c.sx-c.x||0,c.sy-c.y||0),c.x=C.x,c.y=C.y,g.translate(C.x-c.sx,C.y-c.sy),l.rot&&g.rotate(c.r+C.alpha,C.x,C.y);break;case"number":r=+a[k]+w*o*c[k];break;case"colour":r="rgb("+[He(q(a[k].r+w*o*c[k].r)),He(q(a[k].g+w*o*c[k].g)),He(q(a[k].b+w*o*c[k].b))][y](",")+")";break;case"path":r=[];for(var T=0,_=a[k][x];_>T;T++){r[T]=[a[k][T][0]];for(var N=1,A=a[k][T][x];A>N;N++)r[T][N]=+a[k][T][N]+w*o*c[k][T][N];r[T]=r[T][y](d)}r=r[y](d);break;case"csv":switch(k){case"translation":var E=c[k][0]*(i-h),S=c[k][1]*(i-h);f.x+=E,f.y+=S,r=E+d+S;break;case"rotation":r=+a[k][0]+w*o*c[k][0],a[k][1]&&(r+=","+a[k][1]+","+a[k][2]);break;case"scale":r=[+a[k][0]+w*o*c[k][0],+a[k][1]+w*o*c[k][1],2 in l[k]?l[k][2]:p,3 in l[k]?l[k][3]:p][y](d);break;case"clip-rect":r=[];for(var T=4;T--;)r[T]=+a[k][T]+w*o*c[k][T]}}b[k]=r}g.attr(b),g._run&&g._run.call(g)}else{if(l.along){var C=Le(l.along,l.len*!l.back);g.translate(c.sx-(c.x||0)+C.x-c.sx,c.sy-(c.y||0)+C.y-c.sy),l.rot&&g.rotate(c.r+C.alpha,C.x,C.y)}(f.x||f.y)&&g.translate(-f.x,-f.y),l.scale&&(l.scale=l.scale+p),g.attr(l),delete Be[e],Be[x]--,g.in_animation=null,u.is(m,"function")&&m.call(g)}n.prev=i}u.svg&&g&&g.paper.safari(),Be[x]&&setTimeout(Me)},He=function(t){return t>255?255:0>t?0:t},Fe=function(t,n){if(null==t)return{x:this._.tx,y:this._.ty,toString:e};switch(this._.tx+=+t,this._.ty+=+n,this.type){case"circle":case"ellipse":this.attr({cx:+t+this.attrs.cx,cy:+n+this.attrs.cy});break;case"rect":case"image":case"text":this.attr({x:+t+this.attrs.x,y:+n+this.attrs.y});break;case"path":var r=X(this.attrs.path);r[0][1]+=+t,r[0][2]+=+n,this.attr({path:r})}return this};ye[b].animateWith=function(t,e,n,r,i){return Be[t.id]&&(e.start=Be[t.id].start),this.animate(e,n,r,i)},ye[b].animateAlong=n(),ye[b].animateAlongBack=n(1),ye[b].onAnimation=function(t){return this._run=t||0,this},ye[b].animate=function(t,e,n,i){(u.is(n,"function")||!n)&&(i=n||null);var o={},s={},a={};for(var c in t)if(t[v](c)&&F[v](c))switch(o[c]=this.attr(c),null==o[c]&&(o[c]=H[c]),s[c]=t[c],F[c]){case"along":var l=qe(t[c]),f=Le(t[c],l*!!t.back),h=this.getBBox();a[c]=l/e,a.tx=h.x,a.ty=h.y,a.sx=f.x,a.sy=f.y,s.rot=t.rot,s.back=t.back,s.len=l,t.rot&&(a.r=R(this.rotate())||0);break;case"number":a[c]=(s[c]-o[c])/e;break;case"colour":o[c]=u.getRGB(o[c]);var d=u.getRGB(s[c]);a[c]={r:(d.r-o[c].r)/e,g:(d.g-o[c].g)/e,b:(d.b-o[c].b)/e};break;case"path":var m=K(o[c],s[c]);o[c]=m[0];var y=m[1];a[c]=[];for(var b=0,w=o[c][x];w>b;b++){a[c][b]=[0];for(var k=1,C=o[c][b][x];C>k;k++)a[c][b][k]=(y[b][k]-o[c][b][k])/e}break;case"csv":var T=(t[c]+p)[g](r),_=(o[c]+p)[g](r);switch(c){case"translation":o[c]=[0,0],a[c]=[T[0]/e,T[1]/e];break;case"rotation":o[c]=_[1]==T[1]&&_[2]==T[2]?_:[0,T[1],T[2]],a[c]=[(T[0]-o[c][0])/e,0,0];break;case"scale":t[c]=T,o[c]=(o[c]+p)[g](r),a[c]=[(T[0]-o[c][0])/e,(T[1]-o[c][1])/e,0,0];break;case"clip-rect":o[c]=(o[c]+p)[g](r),a[c]=[];for(var b=4;b--;)a[c][b]=(T[b]-o[c][b])/e}s[c]=T}return this.stop(),this.in_animation=1,Be[this.id]={start:t.start||+new Date,ms:e,easing:n,from:o,diff:a,to:s,el:this,callback:i,t:{x:0,y:0}},1==++Be[x]&&Me(),this},ye[b].stop=function(){return Be[this.id]&&Be[x]--,delete Be[this.id],this},ye[b].translate=function(t,e){return this.attr({translation:t+" "+e})},ye[b][N]=function(){return"Rapha\xebl\u2019s object"},u.ae=Be;var Pe=function(t){if(this.items=[],this[x]=0,t)for(var e=0,n=t[x];n>e;e++)!t[e]||t[e].constructor!=ye&&t[e].constructor!=Pe||(this[this.items[x]]=this.items[this.items[x]]=t[e],this[x]++)};Pe[b][S]=function(){for(var t,e,n=0,r=arguments[x];r>n;n++)t=arguments[n],!t||t.constructor!=ye&&t.constructor!=Pe||(e=this.items[x],this[e]=this.items[e]=t,this[x]++);return this},Pe[b].pop=function(){return delete this[this[x]--],this.items.pop()};for(var Ie in ye[b])ye[b][v](Ie)&&(Pe[b][Ie]=function(t){return function(){for(var e=0,n=this.items[x];n>e;e++)this.items[e][t][f](this.items[e],arguments);return this}}(Ie));return Pe[b].attr=function(t){if(t&&u.is(t,"array")&&u.is(t[0],"object"))for(var e=0,n=t[x];n>e;e++)this.items[e].attr(t[e]);else for(var r=0,i=this.items[x];i>r;r++)this.items[r].attr[f](this.items[r],arguments);return this},Pe[b].animate=function(t,e,n,r){(u.is(n,"function")||!n)&&(r=n||null);var i,o=this.items[x],s=o,a=this;for(r&&(i=function(){!--o&&r.call(a)}),this.items[--s].animate(t,e,n||i,i);s--;)this.items[s].animateWith(this.items[o-1],t,e,n||i,i);return this},Pe[b].insertAfter=function(t){for(var e=this.items[x];e--;)this.items[e].insertAfter(t);return this},Pe[b].getBBox=function(){for(var t=[],e=[],n=[],r=[],i=this.items[x];i--;){var o=this.items[i].getBBox();t[S](o.x),e[S](o.y),n[S](o.x+o.width),r[S](o.y+o.height)}return t=T[f](0,t),e=T[f](0,e),{x:t,y:e,width:C[f](0,n)-t,height:C[f](0,r)-e}},u.registerFont=function(t){if(!t.face)return t;this.fonts=this.fonts||{};var e={w:t.w,face:{},glyphs:{}},n=t.face["font-family"];for(var r in t.face)t.face[v](r)&&(e.face[r]=t.face[r]);if(this.fonts[n]?this.fonts[n][S](e):this.fonts[n]=[e],!t.svg){e.face["units-per-em"]=B(t.face["units-per-em"],10);for(var i in t.glyphs)if(t.glyphs[v](i)){var o=t.glyphs[i];if(e.glyphs[i]={w:o.w,k:{},d:o.d&&"M"+o.d[P](/[mlcxtrv]/g,function(t){return{l:"L",c:"C",x:"z",t:"m",r:"l",v:"c"}[t]||"M"})+"z"},o.k)for(var s in o.k)o[v](s)&&(e.glyphs[i].k[s]=o.k[s])}}return t},c[b].getFont=function(t,e,n,r){r=r||"normal",n=n||"normal",e=+e||{normal:400,bold:700,lighter:300,bolder:800}[e]||400;var i=u.fonts[t];if(!i){var o=new RegExp("(^|\\s)"+t[P](/[^\w\d\s+!~.:_-]/g,p)+"(\\s|$)","i");for(var s in u.fonts)if(u.fonts[v](s)&&o.test(s)){i=u.fonts[s];break}}var a;if(i)for(var c=0,l=i[x];l>c&&(a=i[c],a.face["font-weight"]!=e||a.face["font-style"]!=n&&a.face["font-style"]||a.face["font-stretch"]!=r);c++);return a},c[b].print=function(t,e,n,i,o,s){s=s||"middle";var a,c=this.set(),l=(n+p)[g](p),f=0;if(u.is(i,"string")&&(i=this.getFont(i)),i){a=(o||16)/i.face["units-per-em"];for(var h=i.face.bbox.split(r),d=+h[0],m=+h[1]+("baseline"==s?h[3]-h[1]+ +i.face.descent:(h[3]-h[1])/2),v=0,y=l[x];y>v;v++){var b=v&&i.glyphs[l[v-1]]||{},w=i.glyphs[l[v]];f+=v?(b.w||i.w)+(b.k&&b.k[l[v]]||0):0,w&&w.d&&c[S](this.path(w.d).attr({fill:"#000",stroke:"none",translation:[f,0]}))}c.scale(a,a,d,m).translate(t-d,e-m)}return c},u.format=function(t){var e=u.is(arguments[1],"array")?[0][h](arguments[1]):arguments,n=/\{(\d+)\}/g;return t&&u.is(t,"string")&&e[x]-1&&(t=t[P](n,function(t,n){return null==e[++n]?p:e[n]})),t||p},u.ninja=function(){var t=Raphael;return a.was?Raphael=a.is:delete Raphael,t},u.el=ye[b],u}(),function(){var t=this,e=t._,n="undefined"!=typeof StopIteration?StopIteration:"__break__",r=function(t){return t.replace(/([.*+?^${}()|[\]\/\\])/g,"\\$1")},i=Array.prototype,o=Object.prototype,s=i.slice,a=i.unshift,u=o.toString,c=o.hasOwnProperty,l=o.propertyIsEnumerable,f=i.forEach,h=i.map,p=i.reduce,d=i.reduceRight,g=i.filter,m=i.every,v=i.some,y=i.indexOf,x=i.lastIndexOf;o=Array.isArray;var b=Object.keys,w=function(t){return new T(t)};"undefined"!=typeof exports&&(exports._=w),t._=w,w.VERSION="0.6.0";var k=w.forEach=function(t,e,r){try{if(f&&t.forEach===f)t.forEach(e,r);else if(w.isNumber(t.length))for(var i=0,o=t.length;o>i;i++)e.call(r,t[i],i,t);else for(i in t)c.call(t,i)&&e.call(r,t[i],i,t)}catch(s){if(s!=n)throw s}return t};w.map=function(t,e,n){if(h&&t.map===h)return t.map(e,n);var r=[];return k(t,function(t,i,o){r.push(e.call(n,t,i,o))}),r},w.reduce=function(t,e,n,r){return p&&t.reduce===p?t.reduce(w.bind(n,r),e):(k(t,function(t,i,o){e=n.call(r,e,t,i,o)}),e)},w.reduceRight=function(t,e,n,r){return d&&t.reduceRight===d?t.reduceRight(w.bind(n,r),e):(t=w.clone(w.toArray(t)).reverse(),w.reduce(t,e,n,r))},w.detect=function(t,e,n){var r;return k(t,function(t,i,o){e.call(n,t,i,o)&&(r=t,w.breakLoop())}),r},w.filter=function(t,e,n){if(g&&t.filter===g)return t.filter(e,n);var r=[];return k(t,function(t,i,o){e.call(n,t,i,o)&&r.push(t)}),r},w.reject=function(t,e,n){var r=[];return k(t,function(t,i,o){!e.call(n,t,i,o)&&r.push(t)}),r},w.every=function(t,e,n){if(e=e||w.identity,m&&t.every===m)return t.every(e,n);var r=!0;return k(t,function(t,i,o){(r=r&&e.call(n,t,i,o))||w.breakLoop()}),r},w.some=function(t,e,n){if(e=e||w.identity,v&&t.some===v)return t.some(e,n);var r=!1;return k(t,function(t,i,o){(r=e.call(n,t,i,o))&&w.breakLoop()}),r},w.include=function(t,e){if(y&&t.indexOf===y)return-1!=t.indexOf(e);var n=!1;return k(t,function(t){(n=t===e)&&w.breakLoop()}),n},w.invoke=function(t,e){var n=w.rest(arguments,2);return w.map(t,function(t){return(e?t[e]:t).apply(t,n)})},w.pluck=function(t,e){return w.map(t,function(t){return t[e]})},w.max=function(t,e,n){if(!e&&w.isArray(t))return Math.max.apply(Math,t);var r={computed:-1/0};return k(t,function(t,i,o){i=e?e.call(n,t,i,o):t,i>=r.computed&&(r={value:t,computed:i})}),r.value},w.min=function(t,e,n){if(!e&&w.isArray(t))return Math.min.apply(Math,t);var r={computed:1/0};return k(t,function(t,i,o){i=e?e.call(n,t,i,o):t,i<r.computed&&(r={value:t,computed:i})}),r.value},w.sortBy=function(t,e,n){return w.pluck(w.map(t,function(t,r,i){return{value:t,criteria:e.call(n,t,r,i)}}).sort(function(t,e){return t=t.criteria,e=e.criteria,e>t?-1:t>e?1:0}),"value")},w.sortedIndex=function(t,e,n){n=n||w.identity;for(var r=0,i=t.length;i>r;){var o=r+i>>1;n(t[o])<n(e)?r=o+1:i=o}return r},w.toArray=function(t){return t?t.toArray?t.toArray():w.isArray(t)?t:w.isArguments(t)?s.call(t):w.values(t):[]},w.size=function(t){return w.toArray(t).length},w.first=function(t,e,n){return e&&!n?s.call(t,0,e):t[0]},w.rest=function(t,e,n){return s.call(t,w.isUndefined(e)||n?1:e)},w.last=function(t){return t[t.length-1]},w.compact=function(t){return w.filter(t,function(t){return!!t})},w.flatten=function(t){return w.reduce(t,[],function(t,e){return w.isArray(e)?t.concat(w.flatten(e)):(t.push(e),t)})},w.without=function(t){var e=w.rest(arguments);return w.filter(t,function(t){return!w.include(e,t)})},w.uniq=function(t,e){return w.reduce(t,[],function(t,n,r){return 0!=r&&(e===!0?w.last(t)==n:w.include(t,n))||t.push(n),t})},w.intersect=function(t){var e=w.rest(arguments);return w.filter(w.uniq(t),function(t){return w.every(e,function(e){return w.indexOf(e,t)>=0})})},w.zip=function(){for(var t=w.toArray(arguments),e=w.max(w.pluck(t,"length")),n=new Array(e),r=0;e>r;r++)n[r]=w.pluck(t,String(r));return n},w.indexOf=function(t,e){if(y&&t.indexOf===y)return t.indexOf(e);for(var n=0,r=t.length;r>n;n++)if(t[n]===e)return n;return-1},w.lastIndexOf=function(t,e){if(x&&t.lastIndexOf===x)return t.lastIndexOf(e);for(var n=t.length;n--;)if(t[n]===e)return n;return-1},w.range=function(t,e,n){var r=w.toArray(arguments),i=r.length<=1;if(t=i?0:r[0],e=i?r[0]:r[1],n=r[2]||1,r=Math.ceil((e-t)/n),0>=r)return[];r=new Array(r),i=t;for(var o=0;;i+=n){if((n>0?i-e:e-i)>=0)return r;r[o++]=i}},w.bind=function(t,e){var n=w.rest(arguments,2);return function(){return t.apply(e||{},n.concat(w.toArray(arguments)))}},w.bindAll=function(t){var e=w.rest(arguments);return 0==e.length&&(e=w.functions(t)),k(e,function(e){t[e]=w.bind(t[e],t)}),t},w.delay=function(t,e){var n=w.rest(arguments,2);return setTimeout(function(){return t.apply(t,n)},e)},w.defer=function(t){return w.delay.apply(w,[t,1].concat(w.rest(arguments)))},w.wrap=function(t,e){return function(){var n=[t].concat(w.toArray(arguments));return e.apply(e,n)}},w.compose=function(){var t=w.toArray(arguments);return function(){for(var e=w.toArray(arguments),n=t.length-1;n>=0;n--)e=[t[n].apply(this,e)];return e[0]}},w.keys=b||function(t){if(w.isArray(t))return w.range(0,t.length);var e=[];for(var n in t)c.call(t,n)&&e.push(n);return e},w.values=function(t){return w.map(t,w.identity)},w.functions=function(t){return w.filter(w.keys(t),function(e){return w.isFunction(t[e])}).sort()},w.extend=function(t,e){for(var n in e)t[n]=e[n];return t},w.clone=function(t){return w.isArray(t)?t.slice(0):w.extend({},t)},w.tap=function(t,e){return e(t),t},w.isEqual=function(t,e){if(t===e)return!0;var n=typeof t;if(n!=typeof e)return!1;if(t==e)return!0;if(!t&&e||t&&!e)return!1;if(t.isEqual)return t.isEqual(e);if(w.isDate(t)&&w.isDate(e))return t.getTime()===e.getTime();if(w.isNaN(t)&&w.isNaN(e))return!0;if(w.isRegExp(t)&&w.isRegExp(e))return t.source===e.source&&t.global===e.global&&t.ignoreCase===e.ignoreCase&&t.multiline===e.multiline;if("object"!==n)return!1;if(t.length&&t.length!==e.length)return!1;n=w.keys(t);var r=w.keys(e);if(n.length!=r.length)return!1;for(var i in t)if(!w.isEqual(t[i],e[i]))return!1;return!0},w.isEmpty=function(t){if(w.isArray(t))return 0===t.length;for(var e in t)if(c.call(t,e))return!1;return!0},w.isElement=function(t){return!(!t||1!=t.nodeType)},w.isArray=o||function(t){return!!(t&&t.concat&&t.unshift)},w.isArguments=function(t){return t&&w.isNumber(t.length)&&!t.concat&&!t.substr&&!t.apply&&!l.call(t,"length")},w.isFunction=function(t){return!!(t&&t.constructor&&t.call&&t.apply)},w.isString=function(t){return!!(""===t||t&&t.charCodeAt&&t.substr)},w.isNumber=function(t){return t===+t||"[object Number]"===u.call(t)},w.isDate=function(t){return!!(t&&t.getTimezoneOffset&&t.setUTCFullYear)},w.isRegExp=function(t){return!(!(t&&t.test&&t.exec)||!t.ignoreCase&&t.ignoreCase!==!1)},w.isNaN=function(t){return w.isNumber(t)&&isNaN(t)},w.isNull=function(t){return null===t},w.isUndefined=function(t){return"undefined"==typeof t},w.noConflict=function(){return t._=e,this},w.identity=function(t){return t},w.times=function(t,e,n){for(var r=0;t>r;r++)e.call(n,r)},w.breakLoop=function(){throw n},w.mixin=function(t){k(w.functions(t),function(e){N(e,w[e]=t[e])})};var C=0;w.uniqueId=function(t){var e=C++;return t?t+e:e},w.templateSettings={start:"<%",end:"%>",interpolate:/<%=(.+?)%>/g},w.template=function(t,e){var n=w.templateSettings,i=new RegExp("'(?=[^"+n.end.substr(0,1)+"]*"+r(n.end)+")","g");return t=new Function("obj","var p=[],print=function(){p.push.apply(p,arguments);};with(obj){p.push('"+t.replace(/[\r\t\n]/g," ").replace(i," ").split("'").join("\\'").split(" ").join("'").replace(n.interpolate,"',$1,'").split(n.start).join("');").split(n.end).join("p.push('")+"');}return p.join('');"),e?t(e):t},w.each=w.forEach,w.foldl=w.inject=w.reduce,w.foldr=w.reduceRight,w.select=w.filter,w.all=w.every,w.any=w.some,w.head=w.first,w.tail=w.rest,w.methods=w.functions;var T=function(t){this._wrapped=t},_=function(t,e){return e?w(t).chain():t},N=function(t,e){T.prototype[t]=function(){var t=w.toArray(arguments);return a.call(t,this._wrapped),_(e.apply(w,t),this._chain)}};w.mixin(w),k(["pop","push","reverse","shift","sort","splice","unshift"],function(t){var e=i[t];T.prototype[t]=function(){return e.apply(this._wrapped,arguments),_(this._wrapped,this._chain)}}),k(["concat","join","slice"],function(t){var e=i[t];T.prototype[t]=function(){return _(e.apply(this._wrapped,arguments),this._chain)}}),T.prototype.chain=function(){return this._chain=!0,this},T.prototype.value=function(){return this._wrapped}}(),function(){this.populateSymbolList=function(t,e){var n,r;return $(e).empty(),r={symbols:_.map(t,function(t){return $.extend(t,t.symbol),t.showscore=function(){return null!=t.score},t.showsamples=function(){return null!=t.samples},t.texmode=function(){return t.textmode&&!t.mathmode?"textmode":t.mathmode&&!t.textmode?"mathmode":"textmode & mathmode"},t})},n='{{#symbols}}\n<li id="{{id}}">\n <div class="symbol">\n <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="{{css_class}}">\n </div>\n <div class="info">\n {{#showscore}}<span class="score">Score: {{score}}</span><br>{{/showscore}}\n {{#package}}<code class="package">\\usepackage{ {{package}} }</code><br>{{/package}}\n {{#fontenc}}<code class="fontenc">\\usepackage[{{fontenc}}]{fontenc}</code><br>{{/fontenc}}\n <code class="command">{{{command}}}</code><br>\n <span class="texmode">{{texmode}}</span>\n </div>\n</li>\n{{/symbols}}',$(e).html($.mustache(n,r))}}.call(this),function(){}.call(this),function(){}.call(this);