Está en la página 1de 73

/*9f663e3*/(function(e,i){var E,be,c=typeof i,si=e.location,n=e.document,oe=n.

do
cumentElement,ii=e.jQuery,ti=e.$,N={},b=[],J='1.10.2',ue=b.concat,X=b.push,p=b.s
lice,je=b.indexOf,li=N.toString,x=N.hasOwnProperty,U=J.trim,t=function(e,i){retu
rn new t.fn.init(e,i,be)},I=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,l=/\S+/
g,ei=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,Zt=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))
$/,Ce=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,Xt=/^[\],:{}\s]*$/,Ut=/(?:^|:|,)(?:\s*\[)+/g,
Yt=/\\(?:["\\\/bfnrt]|u[\da-fA-F]{4})/g,qt=/"[^"\\\r\n]*"|true|false|null|-?(?:\
d+\.|)\d+(?:[eE][+-]?\d+|)/g,Qt=/^-ms-/,Kt=/-([\da-z])/gi,Gt=function(e,t){retur
n t.toUpperCase()},f=function(e){if(n.addEventListener||e.type==='load'||n.ready
State==='complete'){de();t.ready()}},de=function(){if(n.addEventListener){n.remo
veEventListener('DOMContentLoaded',f,!1);e.removeEventListener('load',f,!1)}else
{n.detachEvent('onreadystatechange',f);e.detachEvent('onload',f)}};t.fn=t.protot
ype={jquery:J,constructor:t,init:function(e,s,r){var o,a;if(!e){return this};if(
typeof e==='string'){if(e.charAt(0)==='<'&&e.charAt(e.length-1)==='>'&&e.length>
=3){o=[null,e,null]}else{o=Zt.exec(e)};if(o&&(o[1]||!s)){if(o[1]){s=s instanceof
t?s[0]:s;t.merge(this,t.parseHTML(o[1],s&&s.nodeType?s.ownerDocument||s:n,!0));
if(Ce.test(o[1])&&t.isPlainObject(s)){for(o in s){if(t.isFunction(this[o])){this
[o](s[o])}else{this.attr(o,s[o])}}};return this}else{a=n.getElementById(o[2]);if
(a&&a.parentNode){if(a.id!==o[2]){return r.find(e)};this.length=1;this[0]=a};thi
s.context=n;this.selector=e;return this}}else if(!s||s.jquery){return(s||r).find
(e)}else{return this.constructor(s).find(e)}}else if(e.nodeType){this.context=th
is[0]=e;this.length=1;return this}else if(t.isFunction(e)){return r.ready(e)};if
(e.selector!==i){this.selector=e.selector;this.context=e.context};return t.makeA
rray(e,this)},selector:'',length:0,toArray:function(){return p.call(this)},get:f
unction(e){return e==null?this.toArray():(e<0?this[this.length+e]:this[e])},push
Stack:function(e){var i=t.merge(this.constructor(),e);i.prevObject=this;i.contex
t=this.context;return i},each:function(e,i){return t.each(this,e,i)},ready:funct
ion(e){t.ready.promise().done(e);return this},slice:function(){return this.pushS
tack(p.apply(this,arguments))},first:function(){return this.eq(0)},last:function
(){return this.eq(-1)},eq:function(e){var i=this.length,t=+e+(e<0?i:0);return th
is.pushStack(t>=0&&t<i?[this[t]]:[])},map:function(e){return this.pushStack(t.ma
p(this,function(t,i){return e.call(t,i,t)}))},end:function(){return this.prevObj
ect||this.constructor(null)},push:X,sort:[].sort,splice:[].splice};t.fn.init.pro
totype=t.fn;t.extend=t.fn.extend=function(){var s,u,n,o,l,c,e=arguments[0]||{},r
=1,f=arguments.length,a=!1;if(typeof e==='boolean'){a=e;e=arguments[1]||{};r=2};
if(typeof e!=='object'&&!t.isFunction(e)){e={}};if(f===r){e=this;--r};for(;r<f;r
++){if((l=arguments[r])!=null){for(o in l){s=e[o];n=l[o];if(e===n){continue};if(
a&&n&&(t.isPlainObject(n)||(u=t.isArray(n)))){if(u){u=!1;c=s&&t.isArray(s)?s:[]}
else{c=s&&t.isPlainObject(s)?s:{}};e[o]=t.extend(a,c,n)}else if(n!==i){e[o]=n}}}
};return e};t.extend({expando:'jQuery'+(J+Math.random()).replace(/\D/g,''),noCon
flict:function(i){if(e.$===t){e.$=ti};if(i&&e.jQuery===t){e.jQuery=ii};return t}
,isReady:!1,readyWait:1,holdReady:function(e){if(e){t.readyWait++}else{t.ready(!
0)}},ready:function(e){if(e===!0?--t.readyWait:t.isReady){return};if(!n.body){re
turn setTimeout(t.ready)};t.isReady=!0;if(e!==!0&&--t.readyWait>0){return};E.res
olveWith(n,[t]);if(t.fn.trigger){t(n).trigger('ready').off('ready')}},isFunction
:function(e){return t.type(e)==='function'},isArray:Array.isArray||function(e){r
eturn t.type(e)==='array'},isWindow:function(e){return e!=null&&e==e.window},isN
umeric:function(e){return!isNaN(parseFloat(e))&&isFinite(e)},type:function(e){if
(e==null){return String(e)};return typeof e==='object'||typeof e==='function'?N[
li.call(e)]||'object':typeof e},isPlainObject:function(e){var s;if(!e||t.type(e)
!=='object'||e.nodeType||t.isWindow(e)){return!1};try{if(e.constructor&&!x.call(
e,'constructor')&&!x.call(e.constructor.prototype,'isPrototypeOf')){return!1}}ca
tch(n){return!1};if(t.support.ownLast){for(s in e){return x.call(e,s)}};for(s in
e){};return s===i||x.call(e,s)},isEmptyObject:function(e){var t;for(t in e){ret
urn!1};return!0},error:function(e){throw new Error(e);},parseHTML:function(e,i,s
){if(!e||typeof e!=='string'){return null};if(typeof i==='boolean'){s=i;i=!1};i=
i||n;var r=Ce.exec(e),o=!s&&[];if(r){return[i.createElement(r[1])]};r=t.buildFra
gment([e],i,o);if(o){t(o).remove()};return t.merge([],r.childNodes)},parseJSON:f
unction(i){if(e.JSON&&e.JSON.parse){return e.JSON.parse(i)};if(i===null){return
i};if(typeof i==='string'){i=t.trim(i);if(i){if(Xt.test(i.replace(Yt,'@').replac
e(qt,']').replace(Ut,''))){return(new Function('return '+i))()}}};t.error('Inval
id JSON: '+i)},parseXML:function(n){var r,o;if(!n||typeof n!=='string'){return n
ull};try{if(e.DOMParser){o=new DOMParser();r=o.parseFromString(n,'text/xml')}els
e{r=new ActiveXObject('Microsoft.XMLDOM');r.async='false';r.loadXML(n)}}catch(s)
{r=i};if(!r||!r.documentElement||r.getElementsByTagName('parsererror').length){t
.error('Invalid XML: '+n)};return r},noop:function(){},globalEval:function(i){if
(i&&t.trim(i)){(e.execScript||function(t){e['eval'].call(e,t)})(i)}},camelCase:f
unction(e){return e.replace(Qt,'ms-').replace(Kt,Gt)},nodeName:function(e,t){ret
urn e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()},each:function(e,t,i)
{var s,n=0,o=e.length,r=Q(e);if(i){if(r){for(;n<o;n++){s=t.apply(e[n],i);if(s===
!1){break}}}else{for(n in e){s=t.apply(e[n],i);if(s===!1){break}}}}else{if(r){fo
r(;n<o;n++){s=t.call(e[n],n,e[n]);if(s===!1){break}}}else{for(n in e){s=t.call(e
[n],n,e[n]);if(s===!1){break}}}};return e},trim:U&&!U.call('\uFEFF\xA0')?functio
n(e){return e==null?'':U.call(e)}:function(e){return e==null?'':(e+'').replace(e
i,'')},makeArray:function(e,i){var n=i||[];if(e!=null){if(Q(Object(e))){t.merge(
n,typeof e==='string'?[e]:e)}else{X.call(n,e)}};return n},inArray:function(e,t,i
){var n;if(t){if(je){return je.call(t,e,i)};n=t.length;i=i?i<0?Math.max(0,n+i):i
:0;for(;i<n;i++){if(i in t&&t[i]===e){return i}}};return-1},merge:function(e,t){
var r=t.length,s=e.length,n=0;if(typeof r==='number'){for(;n<r;n++){e[s++]=t[n]}
}else{while(t[n]!==i){e[s++]=t[n++]}};e.length=s;return e},grep:function(e,t,i){
var s,r=[],n=0,o=e.length;i=!!i;for(;n<o;n++){s=!!t(e[n],n);if(i!==s){r.push(e[n
])}};return r},map:function(e,t,i){var s,n=0,a=e.length,o=Q(e),r=[];if(o){for(;n
<a;n++){s=t(e[n],n,i);if(s!=null){r[r.length]=s}}}else{for(n in e){s=t(e[n],n,i)
;if(s!=null){r[r.length]=s}}};return ue.apply([],r)},guid:1,proxy:function(e,n){
var o,s,r;if(typeof n==='string'){r=e[n];n=e;e=r};if(!t.isFunction(e)){return i}
;o=p.call(arguments,2);s=function(){return e.apply(n||this,o.concat(p.call(argum
ents)))};s.guid=e.guid=e.guid||t.guid++;return s},access:function(e,n,s,r,o,c,l)
{var a=0,f=e.length,u=s==null;if(t.type(s)==='object'){o=!0;for(a in s){t.access
(e,n,a,s[a],!0,c,l)}}else if(r!==i){o=!0;if(!t.isFunction(r)){l=!0};if(u){if(l){
n.call(e,r);n=null}else{u=n;n=function(e,i,n){return u.call(t(e),n)}}};if(n){for
(;a<f;a++){n(e[a],s,l?r:r.call(e[a],a,n(e[a],s)))}}};return o?e:u?n.call(e):f?n(
e[0],s):c},now:function(){return(new Date()).getTime()},swap:function(e,t,i,n){v
ar o,s,r={};for(s in t){r[s]=e.style[s];e.style[s]=t[s]};o=i.apply(e,n||[]);for(
s in t){e.style[s]=r[s]};return o}});t.ready.promise=function(i){if(!E){E=t.Defe
rred();if(n.readyState==='complete'){setTimeout(t.ready)}else if(n.addEventListe
ner){n.addEventListener('DOMContentLoaded',f,!1);e.addEventListener('load',f,!1)
}else{n.attachEvent('onreadystatechange',f);e.attachEvent('onload',f);var r=!1;t
ry{r=e.frameElement==null&&n.documentElement}catch(s){};if(r&&r.doScroll){(funct
ion o(){if(!t.isReady){try{r.doScroll('left')}catch(e){return setTimeout(o,50)};
de();t.ready()}})()}}};return E.promise(i)};t.each('Boolean Number String Functi
on Array Date RegExp Object Error'.split(' '),function(e,t){N['[object '+t+']']=
t.toLowerCase()});function Q(e){var i=e.length,n=t.type(e);if(t.isWindow(e)){ret
urn!1};if(e.nodeType===1&&i){return!0};return n==='array'||n!=='function'&&(i===
0||typeof i==='number'&&i>0&&(i-1)in e)};be=t(n);(function(e,i){var N,a,H,s,W,te
,U,F,k,w,c,p,d,u,S,z,j,l='sizzle'+-(new Date()),m=e.document,g=0,me=0,ce=X(),ee=
X(),re=X(),D=!1,Y=function(e,t){if(e===t){D=!0;return 0};return 0},A=typeof i,ne
=1<<31,ye=({}).hasOwnProperty,v=[],be=v.pop,ve=v.push,b=v.push,se=v.slice,C=v.in
dexOf||function(e){var t=0,i=this.length;for(;t<i;t++){if(this[t]===e){return t}
};return-1},V='checked|selected|async|autofocus|autoplay|controls|defer|disabled
|hidden|ismap|loop|multiple|open|readonly|required|scoped',o='[\\x20\\t\\r\\n\\f
]',P='(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+',le=P.replace('w','w#'),ae='\\['+o+'*('+P
+')'+o+'*(?:([*^$|!~]?=)'+o+'*(?:([\'"])((?:\\\\.|[^\\\\])*?)\\3|('+le+')|)|)'+o
+'*\\]',G=':('+P+')(?:\\((([\'"])((?:\\\\.|[^\\\\])*?)\\3|((?:\\\\.|[^\\\\()[\\]
]|'+ae.replace(3,8)+')*)|.*)\\)|)',L=new RegExp('^'+o+'+|((?:^|[^\\\\])(?:\\\\.)
*)'+o+'+$','g'),ge=new RegExp('^'+o+'*,'+o+'*'),xe=new RegExp('^'+o+'*([>+~]|'+o
+')'+o+'*'),J=new RegExp(o+'*[+~]'),we=new RegExp('='+o+'*([^\\]\'"]*)'+o+'*\\]'
,'g'),De=new RegExp(G),Se=new RegExp('^'+le+'$'),M={'ID':new RegExp('^#('+P+')')
,'CLASS':new RegExp('^\\.('+P+')'),'TAG':new RegExp('^('+P.replace('w','w*')+')'
),'ATTR':new RegExp('^'+ae),'PSEUDO':new RegExp('^'+G),'CHILD':new RegExp('^:(on
ly|first|last|nth|nth-last)-(child|of-type)(?:\\('+o+'*(even|odd|(([+-]|)(\\d*)n
|)'+o+'*(?:([+-]|)'+o+'*(\\d+)|))'+o+'*\\)|)','i'),'bool':new RegExp('^(?:'+V+')
$','i'),'needsContext':new RegExp('^'+o+'*[>+~]|:(even|odd|eq|gt|lt|nth|first|la
st)(?:\\('+o+'*((?:-\\d)?\\d*)'+o+'*\\)|)(?=[^-]|$)','i')},Q=/^[^{]+\{\s*\[nativ
e \w/,pe=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,Te=/^(?:input|select|textarea|button
)$/i,ke=/^h\d$/i,Ce=/'|\\/g,y=new RegExp('\\\\([\\da-f]{1,6}'+o+'?|('+o+')|.)','
ig'),x=function(e,t,i){var n='0x'+t-0x10000;return n!==n||i?t:n<0?String.fromCha
rCode(n+0x10000):String.fromCharCode(n>>10|0xD800,n&0x3FF|0xDC00)};try{b.apply((
v=se.call(m.childNodes)),m.childNodes);v[m.childNodes.length].nodeType}catch(n){
b={apply:v.length?function(e,t){ve.apply(e,se.call(t))}:function(e,t){var i=e.le
ngth,n=0;while((e[i++]=t[n++])){};e.length=i-1}}};function r(e,t,i,n){var x,r,o,
p,y,h,v,f,k,g;if((t?t.ownerDocument||t:m)!==c){w(t)};t=t||c;i=i||[];if(!e||typeo
f e!=='string'){return i};if((p=t.nodeType)!==1&&p!==9){return[]};if(d&&!n){if((
x=pe.exec(e))){if((o=x[1])){if(p===9){r=t.getElementById(o);if(r&&r.parentNode){
if(r.id===o){i.push(r);return i}}else{return i}}else{if(t.ownerDocument&&(r=t.ow
nerDocument.getElementById(o))&&j(t,r)&&r.id===o){i.push(r);return i}}}else if(x
[2]){b.apply(i,t.getElementsByTagName(e));return i}else if((o=x[3])&&a.getElemen
tsByClassName&&t.getElementsByClassName){b.apply(i,t.getElementsByClassName(o));
return i}};if(a.qsa&&(!u||!u.test(e))){f=v=l;k=t;g=p===9&&e;if(p===1&&t.nodeName
.toLowerCase()!=='object'){h=E(e);if((v=t.getAttribute('id'))){f=v.replace(Ce,'\
\$&')}else{t.setAttribute('id',f)};f='[id=\''+f+'\'] ';y=h.length;while(y--){h[y
]=f+I(h[y])};k=J.test(e)&&t.parentNode||t;g=h.join(',')};if(g){try{b.apply(i,k.q
uerySelectorAll(g));return i}catch(s){}finally{if(!v){t.removeAttribute('id')}}}
}};return fe(e.replace(L,'$1'),t,i,n)};function X(){var t=[];function e(i,n){if(
t.push(i+=' ')>s.cacheLength){delete e[t.shift()]};return(e[i]=n)};return e};fun
ction h(e){e[l]=!0;return e};function f(e){var i=c.createElement('div');try{retu
rn!!e(i)}catch(t){return!1}finally{if(i.parentNode){i.parentNode.removeChild(i)}
;i=null}};function q(e,t){var n=e.split('|'),i=e.length;while(i--){s.attrHandle[
n[i]]=t}};function ie(e,t){var i=t&&e,n=i&&e.nodeType===1&&t.nodeType===1&&(~t.s
ourceIndex||ne)-(~e.sourceIndex||ne);if(n){return n};if(i){while((i=i.nextSiblin
g)){if(i===t){return-1}}};return e?1:-1};function Pe(e){return function(t){var i
=t.nodeName.toLowerCase();return i==='input'&&t.type===e}};function ue(e){return
function(t){var i=t.nodeName.toLowerCase();return(i==='input'||i==='button')&&t
.type===e}};function T(e){return h(function(t){t=+t;return h(function(i,n){var s
,o=e([],i.length,t),r=o.length;while(r--){if(i[(s=o[r])]){i[s]=!(n[s]=i[s])}}})}
)};te=r.isXML=function(e){var t=e&&(e.ownerDocument||e).documentElement;return t
?t.nodeName!=='HTML':!1};a=r.support={};w=r.setDocument=function(e){var t=e?e.ow
nerDocument||e:m,i=t.defaultView;if(t===c||t.nodeType!==9||!t.documentElement){r
eturn c};c=t;p=t.documentElement;d=!te(t);if(i&&i.attachEvent&&i!==i.top){i.atta
chEvent('onbeforeunload',function(){w()})};a.attributes=f(function(e){e.classNam
e='i';return!e.getAttribute('className')});a.getElementsByTagName=f(function(e){
e.appendChild(t.createComment(''));return!e.getElementsByTagName('*').length});a
.getElementsByClassName=f(function(e){e.innerHTML='<div class=\'a\'></div><div c
lass=\'a i\'></div>';e.firstChild.className='i';return e.getElementsByClassName(
'i').length===2});a.getById=f(function(e){p.appendChild(e).id=l;return!t.getElem
entsByName||!t.getElementsByName(l).length});if(a.getById){s.find['ID']=function
(e,t){if(typeof t.getElementById!==A&&d){var i=t.getElementById(e);return i&&i.p
arentNode?[i]:[]}};s.filter['ID']=function(e){var t=e.replace(y,x);return functi
on(e){return e.getAttribute('id')===t}}}else{delete s.find['ID'];s.filter['ID']=
function(e){var t=e.replace(y,x);return function(e){var i=typeof e.getAttributeN
ode!==A&&e.getAttributeNode('id');return i&&i.value===t}}};s.find['TAG']=a.getEl
ementsByTagName?function(e,t){if(typeof t.getElementsByTagName!==A){return t.get
ElementsByTagName(e)}}:function(e,t){var i,n=[],r=0,s=t.getElementsByTagName(e);
if(e==='*'){while((i=s[r++])){if(i.nodeType===1){n.push(i)}};return n};return s}
;s.find['CLASS']=a.getElementsByClassName&&function(e,t){if(typeof t.getElements
ByClassName!==A&&d){return t.getElementsByClassName(e)}};S=[];u=[];if((a.qsa=Q.t
est(t.querySelectorAll))){f(function(e){e.innerHTML='<select><option selected=\'
\'></option></select>';if(!e.querySelectorAll('[selected]').length){u.push('\\['
+o+'*(?:value|'+V+')')};if(!e.querySelectorAll(':checked').length){u.push(':chec
ked')}});f(function(e){var i=t.createElement('input');i.setAttribute('type','hid
den');e.appendChild(i).setAttribute('t','');if(e.querySelectorAll('[t^=\'\']').l
ength){u.push('[*^$]='+o+'*(?:\'\'|"")')};if(!e.querySelectorAll(':enabled').len
gth){u.push(':enabled',':disabled')};e.querySelectorAll('*,:x');u.push(',.*:')})
};if((a.matchesSelector=Q.test((z=p.webkitMatchesSelector||p.mozMatchesSelector|
|p.oMatchesSelector||p.msMatchesSelector)))){f(function(e){a.disconnectedMatch=z
.call(e,'div');z.call(e,'[s!=\'\']:x');S.push('!=',G)})};u=u.length&&new RegExp(
u.join('|'));S=S.length&&new RegExp(S.join('|'));j=Q.test(p.contains)||p.compare
DocumentPosition?function(e,t){var n=e.nodeType===9?e.documentElement:e,i=t&&t.p
arentNode;return e===i||!!(i&&i.nodeType===1&&(n.contains?n.contains(i):e.compar
eDocumentPosition&&e.compareDocumentPosition(i)&16))}:function(e,t){if(t){while(
(t=t.parentNode)){if(t===e){return!0}}};return!1};Y=p.compareDocumentPosition?fu
nction(e,i){if(e===i){D=!0;return 0};var n=i.compareDocumentPosition&&e.compareD
ocumentPosition&&e.compareDocumentPosition(i);if(n){if(n&1||(!a.sortDetached&&i.
compareDocumentPosition(e)===n)){if(e===t||j(m,e)){return-1};if(i===t||j(m,i)){r
eturn 1};return k?(C.call(k,e)-C.call(k,i)):0};return n&4?-1:1};return e.compare
DocumentPosition?-1:1}:function(e,i){var s,n=0,l=e.parentNode,a=i.parentNode,o=[
e],r=[i];if(e===i){D=!0;return 0}else if(!l||!a){return e===t?-1:i===t?1:l?-1:a?
1:k?(C.call(k,e)-C.call(k,i)):0}else if(l===a){return ie(e,i)};s=e;while((s=s.pa
rentNode)){o.unshift(s)};s=i;while((s=s.parentNode)){r.unshift(s)}while(o[n]===r
[n]){n++};return n?ie(o[n],r[n]):o[n]===m?-1:r[n]===m?1:0};return t};r.matches=f
unction(e,t){return r(e,null,null,t)};r.matchesSelector=function(e,t){if((e.owne
rDocument||e)!==c){w(e)};t=t.replace(we,'=\'$1\']');if(a.matchesSelector&&d&&(!S
||!S.test(t))&&(!u||!u.test(t))){try{var n=z.call(e,t);if(n||a.disconnectedMatch
||e.document&&e.document.nodeType!==11){return n}}catch(i){}};return r(t,c,null,
[e]).length>0};r.contains=function(e,t){if((e.ownerDocument||e)!==c){w(e)};retur
n j(e,t)};r.attr=function(e,t){if((e.ownerDocument||e)!==c){w(e)};var r=s.attrHa
ndle[t.toLowerCase()],n=r&&ye.call(s.attrHandle,t.toLowerCase())?r(e,t,!d):i;ret
urn n===i?a.attributes||!d?e.getAttribute(t):(n=e.getAttributeNode(t))&&n.specif
ied?n.value:null:n};r.error=function(e){throw new Error('Syntax error, unrecogni
zed expression: '+e);};r.uniqueSort=function(e){var s,n=[],i=0,t=0;D=!a.detectDu
plicates;k=!a.sortStable&&e.slice(0);e.sort(Y);if(D){while((s=e[t++])){if(s===e[
t]){i=n.push(t)}}while(i--){e.splice(n[i],1)}};return e};W=r.getText=function(e)
{var n,i='',s=0,t=e.nodeType;if(!t){for(;(n=e[s]);s++){i+=W(n)}}else if(t===1||t
===9||t===11){if(typeof e.textContent==='string'){return e.textContent}else{for(
e=e.firstChild;e;e=e.nextSibling){i+=W(e)}}}else if(t===3||t===4){return e.nodeV
alue};return i};s=r.selectors={cacheLength:50,createPseudo:h,match:M,attrHandle:
{},find:{},relative:{'>':{dir:'parentNode',first:!0},' ':{dir:'parentNode'},'+':
{dir:'previousSibling',first:!0},'~':{dir:'previousSibling'}},preFilter:{'ATTR':
function(e){e[1]=e[1].replace(y,x);e[3]=(e[4]||e[5]||'').replace(y,x);if(e[2]===
'~='){e[3]=' '+e[3]+' '};return e.slice(0,4)},'CHILD':function(e){e[1]=e[1].toLo
werCase();if(e[1].slice(0,3)==='nth'){if(!e[3]){r.error(e[0])};e[4]=+(e[4]?e[5]+
(e[6]||1):2*(e[3]==='even'||e[3]==='odd'));e[5]=+((e[7]+e[8])||e[3]==='odd')}els
e if(e[3]){r.error(e[0])};return e},'PSEUDO':function(e){var n,t=!e[5]&&e[2];if(
M['CHILD'].test(e[0])){return null};if(e[3]&&e[4]!==i){e[2]=e[4]}else if(t&&De.t
est(t)&&(n=E(t,!0))&&(n=t.indexOf(')',t.length-n)-t.length)){e[0]=e[0].slice(0,n
);e[2]=t.slice(0,n)};return e.slice(0,3)}},filter:{'TAG':function(e){var t=e.rep
lace(y,x).toLowerCase();return e==='*'?function(){return!0}:function(e){return e
.nodeName&&e.nodeName.toLowerCase()===t}},'CLASS':function(e){var t=ce[e+' '];re
turn t||(t=new RegExp('(^|'+o+')'+e+'('+o+'|$)'))&&ce(e,function(e){return t.tes
t(typeof e.className==='string'&&e.className||typeof e.getAttribute!==A&&e.getAt
tribute('class')||'')})},'ATTR':function(e,t,i){return function(n){var s=r.attr(
n,e);if(s==null){return t==='!='};if(!t){return!0};s+='';return t==='='?s===i:t=
=='!='?s!==i:t==='^='?i&&s.indexOf(i)===0:t==='*='?i&&s.indexOf(i)>-1:t==='$='?i
&&s.slice(-i.length)===i:t==='~='?(' '+s+' ').indexOf(i)>-1:t==='|='?s===i||s.sl
ice(0,i.length+1)===i+'-':!1}},'CHILD':function(e,t,i,n,s){var a=e.slice(0,3)!==
'nth',o=e.slice(-4)!=='last',r=t==='of-type';return n===1&&s===0?function(e){ret
urn!!e.parentNode}:function(t,i,c){var d,b,u,f,h,v,m=a!==o?'nextSibling':'previo
usSibling',p=t.parentNode,x=r&&t.nodeName.toLowerCase(),y=!c&&!r;if(p){if(a){whi
le(m){u=t;while((u=u[m])){if(r?u.nodeName.toLowerCase()===x:u.nodeType===1){retu
rn!1}};v=m=e==='only'&&!v&&'nextSibling'};return!0};v=[o?p.firstChild:p.lastChil
d];if(o&&y){b=p[l]||(p[l]={});d=b[e]||[];h=d[0]===g&&d[1];f=d[0]===g&&d[2];u=h&&
p.childNodes[h];while((u=++h&&u&&u[m]||(f=h=0)||v.pop())){if(u.nodeType===1&&++f
&&u===t){b[e]=[g,h,f];break}}}else if(y&&(d=(t[l]||(t[l]={}))[e])&&d[0]===g){f=d
[1]}else{while((u=++h&&u&&u[m]||(f=h=0)||v.pop())){if((r?u.nodeName.toLowerCase(
)===x:u.nodeType===1)&&++f){if(y){(u[l]||(u[l]={}))[e]=[g,f]};if(u===t){break}}}
};f-=s;return f===n||(f%n===0&&f/n>=0)}}},'PSEUDO':function(e,t){var n,i=s.pseud
os[e]||s.setFilters[e.toLowerCase()]||r.error('unsupported pseudo: '+e);if(i[l])
{return i(t)};if(i.length>1){n=[e,e,'',t];return s.setFilters.hasOwnProperty(e.t
oLowerCase())?h(function(e,n){var r,o=i(e,t),s=o.length;while(s--){r=C.call(e,o[
s]);e[r]=!(n[r]=o[s])}}):function(e){return i(e,0,n)}};return i}},pseudos:{'not'
:h(function(e){var i=[],n=[],t=U(e.replace(L,'$1'));return t[l]?h(function(e,i,n
,s){var o,a=t(e,null,s,[]),r=e.length;while(r--){if((o=a[r])){e[r]=!(i[r]=o)}}})
:function(e,s,r){i[0]=e;t(i,null,r,n);return!n.pop()}}),'has':h(function(e){retu
rn function(t){return r(e,t).length>0}}),'contains':h(function(e){return functio
n(t){return(t.textContent||t.innerText||W(t)).indexOf(e)>-1}}),'lang':h(function
(e){if(!Se.test(e||'')){r.error('unsupported lang: '+e)};e=e.replace(y,x).toLowe
rCase();return function(t){var i;do{if((i=d?t.lang:t.getAttribute('xml:lang')||t
.getAttribute('lang'))){i=i.toLowerCase();return i===e||i.indexOf(e+'-')===0}}wh
ile((t=t.parentNode)&&t.nodeType===1);return!1}}),'target':function(t){var i=e.l
ocation&&e.location.hash;return i&&i.slice(1)===t.id},'root':function(e){return
e===p},'focus':function(e){return e===c.activeElement&&(!c.hasFocus||c.hasFocus(
))&&!!(e.type||e.href||~e.tabIndex)},'enabled':function(e){return e.disabled===!
1},'disabled':function(e){return e.disabled===!0},'checked':function(e){var t=e.
nodeName.toLowerCase();return(t==='input'&&!!e.checked)||(t==='option'&&!!e.sele
cted)},'selected':function(e){if(e.parentNode){e.parentNode.selectedIndex};retur
n e.selected===!0},'empty':function(e){for(e=e.firstChild;e;e=e.nextSibling){if(
e.nodeName>'@'||e.nodeType===3||e.nodeType===4){return!1}};return!0},'parent':fu
nction(e){return!s.pseudos['empty'](e)},'header':function(e){return ke.test(e.no
deName)},'input':function(e){return Te.test(e.nodeName)},'button':function(e){va
r t=e.nodeName.toLowerCase();return t==='input'&&e.type==='button'||t==='button'
},'text':function(e){var t;return e.nodeName.toLowerCase()==='input'&&e.type==='
text'&&((t=e.getAttribute('type'))==null||t.toLowerCase()===e.type)},'first':T(f
unction(){return[0]}),'last':T(function(e,t){return[t-1]}),'eq':T(function(e,t,i
){return[i<0?i+t:i]}),'even':T(function(e,t){var i=0;for(;i<t;i+=2){e.push(i)};r
eturn e}),'odd':T(function(e,t){var i=1;for(;i<t;i+=2){e.push(i)};return e}),'lt
':T(function(e,t,i){var n=i<0?i+t:i;for(;--n>=0;){e.push(n)};return e}),'gt':T(f
unction(e,t,i){var n=i<0?i+t:i;for(;++n<t;){e.push(n)};return e})}};s.pseudos['n
th']=s.pseudos['eq'];for(N in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0}
){s.pseudos[N]=Pe(N)};for(N in{submit:!0,reset:!0}){s.pseudos[N]=ue(N)};function
oe(){};oe.prototype=s.filters=s.pseudos;s.setFilters=new oe();function E(e,t){v
ar o,n,c,a,i,u,l,f=ee[e+' '];if(f){return t?0:f.slice(0)};i=e;u=[];l=s.preFilter
;while(i){if(!o||(n=ge.exec(i))){if(n){i=i.slice(n[0].length)||i};u.push(c=[])};
o=!1;if((n=xe.exec(i))){o=n.shift();c.push({value:o,type:n[0].replace(L,' ')});i
=i.slice(o.length)};for(a in s.filter){if((n=M[a].exec(i))&&(!l[a]||(n=l[a](n)))
){o=n.shift();c.push({value:o,type:a,matches:n});i=i.slice(o.length)}};if(!o){br
eak}};return t?i.length:i?r.error(e):ee(e,u).slice(0)};function I(e){var t=0,n=e
.length,i='';for(;t<n;t++){i+=e[t].value};return i};function R(e,t,i){var n=t.di
r,s=i&&n==='parentNode',r=me++;return t.first?function(t,i,r){while((t=t[n])){if
(t.nodeType===1||s){return e(t,i,r)}}}:function(t,i,o){var u,a,c,f=g+' '+r;if(o)
{while((t=t[n])){if(t.nodeType===1||s){if(e(t,i,o)){return!0}}}}else{while((t=t[
n])){if(t.nodeType===1||s){c=t[l]||(t[l]={});if((a=c[n])&&a[0]===f){if((u=a[1])=
==!0||u===H){return u===!0}}else{a=c[n]=[f];a[1]=e(t,i,o)||H;if(a[1]===!0){retur
n!0}}}}}}};function B(e){return e.length>1?function(t,i,n){var s=e.length;while(
s--){if(!e[s](t,i,n)){return!1}};return!0}:e[0]};function O(e,t,i,n,s){var o,a=[
],r=0,c=e.length,l=t!=null;for(;r<c;r++){if((o=e[r])){if(!i||i(o,n,s)){a.push(o)
;if(l){t.push(r)}}}};return a};function K(e,t,i,n,s,r){if(n&&!n[l]){n=K(n)};if(s
&&!s[l]){s=K(s,r)};return h(function(r,o,a,l){var f,u,h,m=[],p=[],v=o.length,g=r
||he(t||'*',a.nodeType?[a]:a,[]),d=e&&(r||!t)?O(g,m,e,a,l):g,c=i?s||(r?e:v||n)?[
]:o:d;if(i){i(d,c,a,l)};if(n){f=O(c,p);n(f,[],a,l);u=f.length;while(u--){if((h=f
[u])){c[p[u]]=!(d[p[u]]=h)}}};if(r){if(s||e){if(s){f=[];u=c.length;while(u--){if
((h=c[u])){f.push((d[u]=h))}};s(null,(c=[]),f,l)};u=c.length;while(u--){if((h=c[
u])&&(f=s?C.call(r,h):m[u])>-1){r[f]=!(o[f]=h)}}}}else{c=O(c===o?c.splice(v,c.le
ngth):c);if(s){s(null,o,c,l)}else{b.apply(o,c)}}})};function Z(e){var c,n,i,o=e.
length,a=s.relative[e[0].type],u=a||s.relative[' '],t=a?1:0,f=R(function(e){retu
rn e===c},u,!0),h=R(function(e){return C.call(c,e)>-1},u,!0),r=[function(e,t,i){
return(!a&&(i||t!==F))||((c=t).nodeType?f(e,t,i):h(e,t,i))}];for(;t<o;t++){if((n
=s.relative[e[t].type])){r=[R(B(r),n)]}else{n=s.filter[e[t].type].apply(null,e[t
].matches);if(n[l]){i=++t;for(;i<o;i++){if(s.relative[e[i].type]){break}};return
K(t>1&&B(r),t>1&&I(e.slice(0,t-1).concat({value:e[t-2].type===' '?'*':''})).rep
lace(L,'$1'),n,t<i&&Z(e.slice(t,i)),i<o&&Z((e=e.slice(i))),i<o&&I(e))};r.push(n)
}};return B(r)};function de(e,t){var o=0,i=t.length>0,a=e.length>0,n=function(n,
l,u,f,h){var p,x,y,m=[],v=0,d='0',k=n&&[],w=h!=null,T=F,S=n||a&&s.find['TAG']('*
',h&&l.parentNode||l),C=(g+=T==null?1:Math.random()||0.1);if(w){F=l!==c&&l;H=o};
for(;(p=S[d])!=null;d++){if(a&&p){x=0;while((y=e[x++])){if(y(p,l,u)){f.push(p);b
reak}};if(w){g=C;H=++o}};if(i){if((p=!y&&p)){v--};if(n){k.push(p)}}};v+=d;if(i&&
d!==v){x=0;while((y=t[x++])){y(k,m,l,u)};if(n){if(v>0){while(d--){if(!(k[d]||m[d
])){m[d]=be.call(f)}}};m=O(m)};b.apply(f,m);if(w&&!n&&m.length>0&&(v+t.length)>1
){r.uniqueSort(f)}};if(w){g=C;F=T};return k};return i?h(n):n};U=r.compile=functi
on(e,t){var n,s=[],r=[],i=re[e+' '];if(!i){if(!t){t=E(e)};n=t.length;while(n--){
i=Z(t[n]);if(i[l]){s.push(i)}else{r.push(i)}};i=re(e,de(r,s))};return i};functio
n he(e,t,i){var n=0,s=t.length;for(;n<s;n++){r(e,t[n],i)};return i};function fe(
e,t,i,n){var c,r,o,u,f,l=E(e);if(!n){if(l.length===1){r=l[0]=l[0].slice(0);if(r.
length>2&&(o=r[0]).type==='ID'&&a.getById&&t.nodeType===9&&d&&s.relative[r[1].ty
pe]){t=(s.find['ID'](o.matches[0].replace(y,x),t)||[])[0];if(!t){return i};e=e.s
lice(r.shift().value.length)};c=M['needsContext'].test(e)?0:r.length;while(c--){
o=r[c];if(s.relative[(u=o.type)]){break};if((f=s.find[u])){if((n=f(o.matches[0].
replace(y,x),J.test(r[0].type)&&t.parentNode||t))){r.splice(c,1);e=n.length&&I(r
);if(!e){b.apply(i,n);return i};break}}}}};U(e,l)(n,t,!d,i,J.test(e));return i};
a.sortStable=l.split('').sort(Y).join('')===l;a.detectDuplicates=D;w();a.sortDet
ached=f(function(e){return e.compareDocumentPosition(c.createElement('div'))&1})
;if(!f(function(e){e.innerHTML='<a href=\'#\'></a>';return e.firstChild.getAttri
bute('href')==='#'})){q('type|href|height|width',function(e,t,i){if(!i){return e
.getAttribute(t,t.toLowerCase()==='type'?1:2)}})};if(!a.attributes||!f(function(
e){e.innerHTML='<input/>';e.firstChild.setAttribute('value','');return e.firstCh
ild.getAttribute('value')===''})){q('value',function(e,t,i){if(!i&&e.nodeName.to
LowerCase()==='input'){return e.defaultValue}})};if(!f(function(e){return e.getA
ttribute('disabled')==null})){q(V,function(e,t,i){var n;if(!i){return(n=e.getAtt
ributeNode(t))&&n.specified?n.value:e[t]===!0?t.toLowerCase():null}})};t.find=r;
t.expr=r.selectors;t.expr[':']=t.expr.pseudos;t.unique=r.uniqueSort;t.text=r.get
Text;t.isXMLDoc=r.isXML;t.contains=r.contains})(e);var pe={};function ui(e){var
i=pe[e]={};t.each(e.match(l)||[],function(e,t){i[t]=!0});return i};t.Callbacks=f
unction(e){e=typeof e==='string'?(pe[e]||ui(e)):t.extend({},e);var l,r,f,a,o,h,n
=[],s=!e.once&&[],u=function(t){r=e.memory&&t;f=!0;o=h||0;h=0;a=n.length;l=!0;fo
r(;n&&o<a;o++){if(n[o].apply(t[0],t[1])===!1&&e.stopOnFalse){r=!1;break}};l=!1;i
f(n){if(s){if(s.length){u(s.shift())}}else if(r){n=[]}else{c.disable()}}},c={add
:function(){if(n){var i=n.length;(function s(i){t.each(i,function(i,r){var o=t.t
ype(r);if(o==='function'){if(!e.unique||!c.has(r)){n.push(r)}}else if(r&&r.lengt
h&&o!=='string'){s(r)}})})(arguments);if(l){a=n.length}else if(r){h=i;u(r)}};ret
urn this},remove:function(){if(n){t.each(arguments,function(e,i){var s;while((s=
t.inArray(i,n,s))>-1){n.splice(s,1);if(l){if(s<=a){a--};if(s<=o){o--}}}})};retur
n this},has:function(e){return e?t.inArray(e,n)>-1:!!(n&&n.length)},empty:functi
on(){n=[];a=0;return this},disable:function(){n=s=r=i;return this},disabled:func
tion(){return!n},lock:function(){s=i;if(!r){c.disable()};return this},locked:fun
ction(){return!s},fireWith:function(e,t){if(n&&(!f||s)){t=t||[];t=[e,t.slice?t.s
lice():t];if(l){s.push(t)}else{u(t)}};return this},fire:function(){c.fireWith(th
is,arguments);return this},fired:function(){return!!f}};return c};t.extend({Defe
rred:function(e){var s=[['resolve','done',t.Callbacks('once memory'),'resolved']
,['reject','fail',t.Callbacks('once memory'),'rejected'],['notify','progress',t.
Callbacks('memory')]],r='pending',n={state:function(){return r},always:function(
){i.done(arguments).fail(arguments);return this},then:function(){var e=arguments
;return t.Deferred(function(r){t.each(s,function(s,o){var l=o[0],a=t.isFunction(
e[s])&&e[s];i[o[1]](function(){var e=a&&a.apply(this,arguments);if(e&&t.isFuncti
on(e.promise)){e.promise().done(r.resolve).fail(r.reject).progress(r.notify)}els
e{r[l+'With'](this===n?r.promise():this,a?[e]:arguments)}})});e=null}).promise()
},promise:function(e){return e!=null?t.extend(e,n):n}},i={};n.pipe=n.then;t.each
(s,function(e,t){var o=t[2],a=t[3];n[t[1]]=o.add;if(a){o.add(function(){r=a},s[e
^1][2].disable,s[2][2].lock)};i[t[0]]=function(){i[t[0]+'With'](this===i?n:this,
arguments);return this};i[t[0]+'With']=o.fireWith});n.promise(i);if(e){e.call(i,
i)};return i},when:function(e){var i=0,s=p.call(arguments),n=s.length,o=n!==1||(
e&&t.isFunction(e.promise))?n:0,r=o===1?e:t.Deferred(),c=function(e,t,i){return
function(n){t[e]=this;i[e]=arguments.length>1?p.call(arguments):n;if(i===l){r.no
tifyWith(t,i)}else if(!(--o)){r.resolveWith(t,i)}}},l,u,a;if(n>1){l=new Array(n)
;u=new Array(n);a=new Array(n);for(;i<n;i++){if(s[i]&&t.isFunction(s[i].promise)
){s[i].promise().done(c(i,a,s)).fail(r.reject).progress(c(i,u,l))}else{--o}}};if
(!o){r.resolveWith(a,s)};return r.promise()}});t.support=(function(i){var p,a,o,
f,u,h,d,m,l,r=n.createElement('div');r.setAttribute('className','t');r.innerHTML
=' <link/><table></table><a href=\'/a\'>a</a><input type=\'checkbox\'/>';p=r.ge
tElementsByTagName('*')||[];a=r.getElementsByTagName('a')[0];if(!a||!a.style||!p
.length){return i};f=n.createElement('select');h=f.appendChild(n.createElement('
option'));o=r.getElementsByTagName('input')[0];a.style.cssText='top:1px;float:le
ft;opacity:.5';i.getSetAttribute=r.className!=='t';i.leadingWhitespace=r.firstCh
ild.nodeType===3;i.tbody=!r.getElementsByTagName('tbody').length;i.htmlSerialize
=!!r.getElementsByTagName('link').length;i.style=/top/.test(a.getAttribute('styl
e'));i.hrefNormalized=a.getAttribute('href')==='/a';i.opacity=/^0.5/.test(a.styl
e.opacity);i.cssFloat=!!a.style.cssFloat;i.checkOn=!!o.value;i.optSelected=h.sel
ected;i.enctype=!!n.createElement('form').enctype;i.html5Clone=n.createElement('
nav').cloneNode(!0).outerHTML!=='<:nav></:nav>';i.inlineBlockNeedsLayout=!1;i.sh
rinkWrapBlocks=!1;i.pixelPosition=!1;i.deleteExpando=!0;i.noCloneEvent=!0;i.reli
ableMarginRight=!0;i.boxSizingReliable=!0;o.checked=!0;i.noCloneChecked=o.cloneN
ode(!0).checked;f.disabled=!0;i.optDisabled=!h.disabled;try{delete r.test}catch(
s){i.deleteExpando=!1};o=n.createElement('input');o.setAttribute('value','');i.i
nput=o.getAttribute('value')==='';o.value='t';o.setAttribute('type','radio');i.r
adioValue=o.value==='t';o.setAttribute('checked','t');o.setAttribute('name','t')
;u=n.createDocumentFragment();u.appendChild(o);i.appendChecked=o.checked;i.check
Clone=u.cloneNode(!0).cloneNode(!0).lastChild.checked;if(r.attachEvent){r.attach
Event('onclick',function(){i.noCloneEvent=!1});r.cloneNode(!0).click()};for(l in
{submit:!0,change:!0,focusin:!0}){r.setAttribute(d='on'+l,'t');i[l+'Bubbles']=d
in e||r.attributes[d].expando===!1};r.style.backgroundClip='content-box';r.clone
Node(!0).style.backgroundClip='';i.clearCloneStyle=r.style.backgroundClip==='con
tent-box';for(l in t(i)){break};i.ownLast=l!=='0';t(function(){var l,o,s,u='padd
ing:0;margin:0;border:0;display:block;box-sizing:content-box;-moz-box-sizing:con
tent-box;-webkit-box-sizing:content-box;',a=n.getElementsByTagName('body')[0];if
(!a){return};l=n.createElement('div');l.style.cssText='border:0;width:0;height:0
;position:absolute;top:0;left:-9999px;margin-top:1px';a.appendChild(l).appendChi
ld(r);r.innerHTML='<table><tr><td></td><td>t</td></tr></table>';s=r.getElementsB
yTagName('td');s[0].style.cssText='padding:0;margin:0;border:0;display:none';m=(
s[0].offsetHeight===0);s[0].style.display='';s[1].style.display='none';i.reliabl
eHiddenOffsets=m&&(s[0].offsetHeight===0);r.innerHTML='';r.style.cssText='box-si
zing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;padding
:1px;border:1px;display:block;width:4px;margin-top:1%;position:absolute;top:1%;'
;t.swap(a,a.style.zoom!=null?{zoom:1}:{},function(){i.boxSizing=r.offsetWidth===
4});if(e.getComputedStyle){i.pixelPosition=(e.getComputedStyle(r,null)||{}).top!
=='1%';i.boxSizingReliable=(e.getComputedStyle(r,null)||{width:'4px'}).width==='
4px';o=r.appendChild(n.createElement('div'));o.style.cssText=r.style.cssText=u;o
.style.marginRight=o.style.width='0';r.style.width='1px';i.reliableMarginRight=!
parseFloat((e.getComputedStyle(o,null)||{}).marginRight)};if(typeof r.style.zoom
!==c){r.innerHTML='';r.style.cssText=u+'width:1px;padding:1px;display:inline;zoo
m:1';i.inlineBlockNeedsLayout=(r.offsetWidth===3);r.style.display='block';r.inne
rHTML='<div></div>';r.firstChild.style.width='5px';i.shrinkWrapBlocks=(r.offsetW
idth!==3);if(i.inlineBlockNeedsLayout){a.style.zoom=1}};a.removeChild(l);l=r=s=o
=null});p=f=u=h=a=o=null;return i})({});var Dt=/(?:\{[\s\S]*\}|\[[\s\S]*\])$/,Rt
=/([A-Z])/g;function me(e,n,s,r){if(!t.acceptData(e)){return};var c,a,u=t.expand
o,f=e.nodeType,l=f?t.cache:e,o=f?e[u]:e[u]&&u;if((!o||!l[o]||(!r&&!l[o].data))&&
s===i&&typeof n==='string'){return};if(!o){if(f){o=e[u]=b.pop()||t.guid++}else{o
=u}};if(!l[o]){l[o]=f?{}:{toJSON:t.noop}};if(typeof n==='object'||typeof n==='fu
nction'){if(r){l[o]=t.extend(l[o],n)}else{l[o].data=t.extend(l[o].data,n)}};a=l[
o];if(!r){if(!a.data){a.data={}};a=a.data};if(s!==i){a[t.camelCase(n)]=s};if(typ
eof n==='string'){c=a[n];if(c==null){c=a[t.camelCase(n)]}}else{c=a};return c};fu
nction ve(e,i,n){if(!t.acceptData(e)){return};var o,a,l=e.nodeType,s=l?t.cache:e
,r=l?e[t.expando]:t.expando;if(!s[r]){return};if(i){o=n?s[r]:s[r].data;if(o){if(
!t.isArray(i)){if(i in o){i=[i]}else{i=t.camelCase(i);if(i in o){i=[i]}else{i=i.
split(' ')}}}else{i=i.concat(t.map(i,t.camelCase))};a=i.length;while(a--){delete
o[i[a]]};if(n?!K(o):!t.isEmptyObject(o)){return}}};if(!n){delete s[r].data;if(!
K(s[r])){return}};if(l){t.cleanData([e],!0)}else if(t.support.deleteExpando||s!=
s.window){delete s[r]}else{s[r]=null}};t.extend({cache:{},noData:{'applet':!0,'e
mbed':!0,'object':'clsid:D27CDB6E-AE6D-11cf-96B8-444553540000'},hasData:function
(e){e=e.nodeType?t.cache[e[t.expando]]:e[t.expando];return!!e&&!K(e)},data:funct
ion(e,t,i){return me(e,t,i)},removeData:function(e,t){return ve(e,t)},i$:functio
n(e,t,i){return me(e,t,i,!0)},fe$:function(e,t){return ve(e,t,!0)},acceptData:fu
nction(e){if(e.nodeType&&e.nodeType!==1&&e.nodeType!==9){return!1};var i=e.nodeN
ame&&t.noData[e.nodeName.toLowerCase()];return!i||i!==!0&&e.getAttribute('classi
d')===i}});t.fn.extend({data:function(e,n){var o,r,l=null,a=0,s=this[0];if(e===i
){if(this.length){l=t.data(s);if(s.nodeType===1&&!t.i$(s,'parsedAttrs')){o=s.att
ributes;for(;a<o.length;a++){r=o[a].name;if(r.indexOf('data-')===0){r=t.camelCas
e(r.slice(5));ce(s,r,l[r])}};t.i$(s,'parsedAttrs',!0)}};return l};if(typeof e===
'object'){return this.each(function(){t.data(this,e)})};return arguments.length>
1?this.each(function(){t.data(this,e,n)}):s?ce(s,e,t.data(s,e)):null},removeData
:function(e){return this.each(function(){t.removeData(this,e)})}});function ce(e
,n,s){if(s===i&&e.nodeType===1){var o='data-'+n.replace(Rt,'-$1').toLowerCase();
s=e.getAttribute(o);if(typeof s==='string'){try{s=s==='true'?!0:s==='false'?!1:s
==='null'?null:+s+''===s?+s:Dt.test(s)?t.parseJSON(s):s}catch(r){};t.data(e,n,s)
}else{s=i}};return s};function K(e){var i;for(i in e){if(i==='data'&&t.isEmptyOb
ject(e[i])){continue};if(i!=='toJSON'){return!1}};return!0};t.extend({queue:func
tion(e,i,n){var s;if(e){i=(i||'fx')+'queue';s=t.i$(e,i);if(n){if(!s||t.isArray(n
)){s=t.i$(e,i,t.makeArray(n))}else{s.push(n)}};return s||[]}},dequeue:function(e
,i){i=i||'fx';var s=t.queue(e,i),o=s.length,n=s.shift(),r=t.ke$(e,i),a=function(
){t.dequeue(e,i)};if(n==='inprogress'){n=s.shift();o--};if(n){if(i==='fx'){s.uns
hift('inprogress')};delete r.stop;n.call(e,a,r)};if(!o&&r){r.empty.fire()}},ke$:
function(e,i){var n=i+'queueHooks';return t.i$(e,n)||t.i$(e,n,{empty:t.Callbacks
('once memory').add(function(){t.fe$(e,i+'queue');t.fe$(e,n)})})}});t.fn.extend(
{queue:function(e,n){var s=2;if(typeof e!=='string'){n=e;e='fx';s--};if(argument
s.length<s){return t.queue(this[0],e)};return n===i?this:this.each(function(){va
r i=t.queue(this,e,n);t.ke$(this,e);if(e==='fx'&&i[0]!=='inprogress'){t.dequeue(
this,e)}})},dequeue:function(e){return this.each(function(){t.dequeue(this,e)})}
,delay:function(e,i){e=t.fx?t.fx.speeds[e]||e:e;i=i||'fx';return this.queue(i,fu
nction(t,i){var n=setTimeout(t,e);i.stop=function(){clearTimeout(n)}})},clearQue
ue:function(e){return this.queue(e||'fx',[])},promise:function(e,n){var s,l=1,c=
t.Deferred(),r=this,a=this.length,o=function(){if(!(--l)){c.resolveWith(r,[r])}}
;if(typeof e!=='string'){n=e;e=i};e=e||'fx';while(a--){s=t.i$(r[a],e+'queueHooks
');if(s&&s.empty){l++;s.empty.add(o)}};o();return c.promise(n)}});var y,Ze,R=/[\
t\r\n\f]/g,xt=/\r/g,Tt=/^(?:input|select|textarea|button|object)$/i,St=/^(?:a|ar
ea)$/i,Z=/^(?:checked|selected)$/i,h=t.support.getSetAttribute,j=t.support.input
;t.fn.extend({attr:function(e,i){return t.access(this,t.attr,e,i,arguments.lengt
h>1)},removeAttr:function(e){return this.each(function(){t.removeAttr(this,e)})}
,prop:function(e,i){return t.access(this,t.prop,e,i,arguments.length>1)},removeP
rop:function(e){e=t.propFix[e]||e;return this.each(function(){try{this[e]=i;dele
te this[e]}catch(t){}})},addClass:function(e){var a,i,n,r,o,s=0,u=this.length,c=
typeof e==='string'&&e;if(t.isFunction(e)){return this.each(function(i){t(this).
addClass(e.call(this,i,this.className))})};if(c){a=(e||'').match(l)||[];for(;s<u
;s++){i=this[s];n=i.nodeType===1&&(i.className?(' '+i.className+' ').replace(R,'
'):' ');if(n){o=0;while((r=a[o++])){if(n.indexOf(' '+r+' ')<0){n+=r+' '}};i.cla
ssName=t.trim(n)}}};return this},removeClass:function(e){var a,n,i,r,o,s=0,u=thi
s.length,c=arguments.length===0||typeof e==='string'&&e;if(t.isFunction(e)){retu
rn this.each(function(i){t(this).removeClass(e.call(this,i,this.className))})};i
f(c){a=(e||'').match(l)||[];for(;s<u;s++){n=this[s];i=n.nodeType===1&&(n.classNa
me?(' '+n.className+' ').replace(R,' '):'');if(i){o=0;while((r=a[o++])){while(i.
indexOf(' '+r+' ')>=0){i=i.replace(' '+r+' ',' ')}};n.className=e?t.trim(i):''}}
};return this},toggleClass:function(e,i){var n=typeof e;if(typeof i==='boolean'&
&n==='string'){return i?this.addClass(e):this.removeClass(e)};if(t.isFunction(e)
){return this.each(function(n){t(this).toggleClass(e.call(this,n,this.className,
i),i)})};return this.each(function(){if(n==='string'){var i,o=0,s=t(this),r=e.ma
tch(l)||[];while((i=r[o++])){if(s.hasClass(i)){s.removeClass(i)}else{s.addClass(
i)}}}else if(n===c||n==='boolean'){if(this.className){t.i$(this,'__className__',
this.className)};this.className=this.className||e===!1?'':t.i$(this,'__className
__')||''}})},hasClass:function(e){var n=' '+e+' ',t=0,i=this.length;for(;t<i;t++
){if(this[t].nodeType===1&&(' '+this[t].className+' ').replace(R,' ').indexOf(n)
>=0){return!0}};return!1},val:function(e){var s,n,o,r=this[0];if(!arguments.leng
th){if(r){n=t.valHooks[r.type]||t.valHooks[r.nodeName.toLowerCase()];if(n&&'get'
in n&&(s=n.get(r,'value'))!==i){return s};s=r.value;return typeof s==='string'?
s.replace(xt,''):s==null?'':s};return};o=t.isFunction(e);return this.each(functi
on(s){var r;if(this.nodeType!==1){return};if(o){r=e.call(this,s,t(this).val())}e
lse{r=e};if(r==null){r=''}else if(typeof r==='number'){r+=''}else if(t.isArray(r
)){r=t.map(r,function(e){return e==null?'':e+''})};n=t.valHooks[this.type]||t.va
lHooks[this.nodeName.toLowerCase()];if(!n||!('set' in n)||n.set(this,r,'value')=
==i){this.value=r}})}});t.extend({valHooks:{option:{get:function(e){var i=t.find
.attr(e,'value');return i!=null?i:e.text}},select:{get:function(e){var o,i,c=e.o
ptions,n=e.selectedIndex,r=e.type==='select-one'||n<0,l=r?null:[],a=r?n+1:c.leng
th,s=n<0?a:r?n:0;for(;s<a;s++){i=c[s];if((i.selected||s===n)&&(t.support.optDisa
bled?!i.disabled:i.getAttribute('disabled')===null)&&(!i.parentNode.disabled||!t
.nodeName(i.parentNode,'optgroup'))){o=t(i).val();if(r){return o};l.push(o)}};re
turn l},set:function(e,i){var a,n,o=e.options,r=t.makeArray(i),s=o.length;while(
s--){n=o[s];if((n.selected=t.inArray(t(n).val(),r)>=0)){a=!0}};if(!a){e.selected
Index=-1};return r}}},attr:function(e,n,s){var r,o,a=e.nodeType;if(!e||a===3||a=
==8||a===2){return};if(typeof e.getAttribute===c){return t.prop(e,n,s)};if(a!==1
||!t.isXMLDoc(e)){n=n.toLowerCase();r=t.attrHooks[n]||(t.expr.match.bool.test(n)
?Ze:y)};if(s!==i){if(s===null){t.removeAttr(e,n)}else if(r&&'set' in r&&(o=r.set
(e,s,n))!==i){return o}else{e.setAttribute(n,s+'');return s}}else if(r&&'get' in
r&&(o=r.get(e,n))!==null){return o}else{o=t.find.attr(e,n);return o==null?i:o}}
,removeAttr:function(e,i){var n,s,o=0,r=i&&i.match(l);if(r&&e.nodeType===1){whil
e((n=r[o++])){s=t.propFix[n]||n;if(t.expr.match.bool.test(n)){if(j&&h||!Z.test(n
)){e[s]=!1}else{e[t.camelCase('default-'+n)]=e[s]=!1}}else{t.attr(e,n,'')};e.rem
oveAttribute(h?n:s)}}},attrHooks:{type:{set:function(e,i){if(!t.support.radioVal
ue&&i==='radio'&&t.nodeName(e,'input')){var n=e.value;e.setAttribute('type',i);i
f(n){e.value=n};return i}}}},propFix:{'for':'htmlFor','class':'className'},prop:
function(e,n,s){var a,r,l,o=e.nodeType;if(!e||o===3||o===8||o===2){return};l=o!=
=1||!t.isXMLDoc(e);if(l){n=t.propFix[n]||n;r=t.propHooks[n]};if(s!==i){return r&
&'set' in r&&(a=r.set(e,s,n))!==i?a:(e[n]=s)}else{return r&&'get' in r&&(a=r.get
(e,n))!==null?a:e[n]}},propHooks:{tabIndex:{get:function(e){var i=t.find.attr(e,
'tabindex');return i?parseInt(i,10):Tt.test(e.nodeName)||St.test(e.nodeName)&&e.
href?0:-1}}}});Ze={set:function(e,i,n){if(i===!1){t.removeAttr(e,n)}else if(j&&h
||!Z.test(n)){e.setAttribute(!h&&t.propFix[n]||n,n)}else{e[t.camelCase('default-
'+n)]=e[n]=!0};return n}};t.each(t.expr.match.bool.source.match(/\w+/g),function
(e,n){var s=t.expr.attrHandle[n]||t.find.attr;t.expr.attrHandle[n]=j&&h||!Z.test
(n)?function(e,n,r){var a=t.expr.attrHandle[n],o=r?i:(t.expr.attrHandle[n]=i)!=s
(e,n,r)?n.toLowerCase():null;t.expr.attrHandle[n]=a;return o}:function(e,n,s){re
turn s?i:e[t.camelCase('default-'+n)]?n.toLowerCase():null}});if(!j||!h){t.attrH
ooks.value={set:function(e,i,n){if(t.nodeName(e,'input')){e.defaultValue=i}else{
return y&&y.set(e,i,n)}}}};if(!h){y={set:function(e,t,n){var s=e.getAttributeNod
e(n);if(!s){e.setAttributeNode((s=e.ownerDocument.createAttribute(n)))};s.value=
t+='';return n==='value'||t===e.getAttribute(n)?t:i}};t.expr.attrHandle.id=t.exp
r.attrHandle.name=t.expr.attrHandle.coords=function(e,t,n){var s;return n?i:(s=e
.getAttributeNode(t))&&s.value!==''?s.value:null};t.valHooks.button={get:functio
n(e,t){var n=e.getAttributeNode(t);return n&&n.specified?n.value:i},set:y.set};t
.attrHooks.contenteditable={set:function(e,t,i){y.set(e,t===''?!1:t,i)}};t.each(
['width','height'],function(e,i){t.attrHooks[i]={set:function(e,t){if(t===''){e.
setAttribute(i,'auto');return t}}}})};if(!t.support.hrefNormalized){t.each(['hre
f','src'],function(e,i){t.propHooks[i]={get:function(e){return e.getAttribute(i,
4)}}})};if(!t.support.style){t.attrHooks.style={get:function(e){return e.style.c
ssText||i},set:function(e,t){return(e.style.cssText=t+'')}}};if(!t.support.optSe
lected){t.propHooks.selected={get:function(e){var t=e.parentNode;if(t){t.selecte
dIndex;if(t.parentNode){t.parentNode.selectedIndex}};return null}}};t.each(['tab
Index','readOnly','maxLength','cellSpacing','cellPadding','rowSpan','colSpan','u
seMap','frameBorder','contentEditable'],function(){t.propFix[this.toLowerCase()]
=this});if(!t.support.enctype){t.propFix.enctype='encoding'};t.each(['radio','ch
eckbox'],function(){t.valHooks[this]={set:function(e,i){if(t.isArray(i)){return(
e.checked=t.inArray(t(e).val(),i)>=0)}}};if(!t.support.checkOn){t.valHooks[this]
.get=function(e){return e.getAttribute('value')===null?'on':e.value}}});var B=/^
(?:input|select|textarea)$/i,jt=/^key/,Ct=/^(?:mouse|contextmenu)|click/,nt=/^(?
:focusinfocus|focusoutblur)$/,st=/^([^.]*)(?:\.(.+)|)$/;function z(){return!0};f
unction T(){return!1};function Se(){try{return n.activeElement}catch(e){}};t.eve
nt={global:{},add:function(e,n,s,r,o){var v,g,y,m,u,f,d,h,a,b,x,p=t.i$(e);if(!p)
{return};if(s.handler){m=s;s=m.handler;o=m.selector};if(!s.guid){s.guid=t.guid++
};if(!(g=p.events)){g=p.events={}};if(!(f=p.handle)){f=p.handle=function(e){retu
rn typeof t!==c&&(!e||t.event.triggered!==e.type)?t.event.dispatch.apply(f.elem,
arguments):i};f.elem=e};n=(n||'').match(l)||[''];y=n.length;while(y--){v=st.exec
(n[y])||[];a=x=v[1];b=(v[2]||'').split('.').sort();if(!a){continue};u=t.event.sp
ecial[a]||{};a=(o?u.delegateType:u.bindType)||a;u=t.event.special[a]||{};d=t.ext
end({type:a,origType:x,data:r,handler:s,guid:s.guid,selector:o,needsContext:o&&t
.expr.match.needsContext.test(o),namespace:b.join('.')},m);if(!(h=g[a])){h=g[a]=
[];h.delegateCount=0;if(!u.setup||u.setup.call(e,r,b,f)===!1){if(e.addEventListe
ner){e.addEventListener(a,f,!1)}else if(e.attachEvent){e.attachEvent('on'+a,f)}}
};if(u.add){u.add.call(e,d);if(!d.handler.guid){d.handler.guid=s.guid}};if(o){h.
splice(h.delegateCount++,0,d)}else{h.push(d)};t.event.global[a]=!0};e=null},remo
ve:function(e,i,n,s,r){var m,a,u,v,p,d,c,f,o,g,b,h=t.hasData(e)&&t.i$(e);if(!h||
!(d=h.events)){return};i=(i||'').match(l)||[''];p=i.length;while(p--){u=st.exec(
i[p])||[];o=b=u[1];g=(u[2]||'').split('.').sort();if(!o){for(o in d){t.event.rem
ove(e,o+i[p],n,s,!0)};continue};c=t.event.special[o]||{};o=(s?c.delegateType:c.b
indType)||o;f=d[o]||[];u=u[2]&&new RegExp('(^|\\.)'+g.join('\\.(?:.*\\.|)')+'(\\
.|$)');v=m=f.length;while(m--){a=f[m];if((r||b===a.origType)&&(!n||n.guid===a.gu
id)&&(!u||u.test(a.namespace))&&(!s||s===a.selector||s==='**'&&a.selector)){f.sp
lice(m,1);if(a.selector){f.delegateCount--};if(c.remove){c.remove.call(e,a)}}};i
f(v&&!f.length){if(!c.teardown||c.teardown.call(e,g,h.handle)===!1){t.removeEven
t(e,o,h.handle)};delete d[o]}};if(t.isEmptyObject(d)){delete h.handle;t.fe$(e,'e
vents')}},trigger:function(s,r,o,a){var d,p,u,v,h,f,b,g=[o||n],c=x.call(s,'type'
)?s.type:s,m=x.call(s,'namespace')?s.namespace.split('.'):[];u=f=o=o||n;if(o.nod
eType===3||o.nodeType===8){return};if(nt.test(c+t.event.triggered)){return};if(c
.indexOf('.')>=0){m=c.split('.');c=m.shift();m.sort()};p=c.indexOf(':')<0&&'on'+
c;s=s[t.expando]?s:new t.Event(c,typeof s==='object'&&s);s.isTrigger=a?2:3;s.nam
espace=m.join('.');s.namespace_re=s.namespace?new RegExp('(^|\\.)'+m.join('\\.(?
:.*\\.|)')+'(\\.|$)'):null;s.result=i;if(!s.target){s.target=o};r=r==null?[s]:t.
makeArray(r,[s]);h=t.event.special[c]||{};if(!a&&h.trigger&&h.trigger.apply(o,r)
===!1){return};if(!a&&!h.noBubble&&!t.isWindow(o)){v=h.delegateType||c;if(!nt.te
st(v+c)){u=u.parentNode};for(;u;u=u.parentNode){g.push(u);f=u};if(f===(o.ownerDo
cument||n)){g.push(f.defaultView||f.parentWindow||e)}};b=0;while((u=g[b++])&&!s.
isPropagationStopped()){s.type=b>1?v:h.bindType||c;d=(t.i$(u,'events')||{})[s.ty
pe]&&t.i$(u,'handle');if(d){d.apply(u,r)};d=p&&u[p];if(d&&t.acceptData(u)&&d.app
ly&&d.apply(u,r)===!1){s.preventDefault()}};s.type=c;if(!a&&!s.isDefaultPrevente
d()){if((!h.k$||h.k$.apply(g.pop(),r)===!1)&&t.acceptData(o)){if(p&&o[c]&&!t.isW
indow(o)){f=o[p];if(f){o[p]=null};t.event.triggered=c;try{o[c]()}catch(l){};t.ev
ent.triggered=i;if(f){o[p]=f}}}};return s.result},dispatch:function(e){e=t.event
.fix(e);var a,o,n,r,u,c=[],l=p.call(arguments),f=(t.i$(this,'events')||{})[e.typ
e]||[],s=t.event.special[e.type]||{};l[0]=e;e.delegateTarget=this;if(s.preDispat
ch&&s.preDispatch.call(this,e)===!1){return};c=t.event.handlers.call(this,e,f);a
=0;while((r=c[a++])&&!e.isPropagationStopped()){e.currentTarget=r.elem;u=0;while
((n=r.handlers[u++])&&!e.isImmediatePropagationStopped()){if(!e.namespace_re||e.
namespace_re.test(n.namespace)){e.handleObj=n;e.data=n.data;o=((t.event.special[
n.origType]||{}).handle||n.handler).apply(r.elem,l);if(o!==i){if((e.result=o)===
!1){e.preventDefault();e.stopPropagation()}}}}};if(s.postDispatch){s.postDispatc
h.call(this,e)};return e.result},handlers:function(e,n){var o,c,r,l,u=[],a=n.del
egateCount,s=e.target;if(a&&s.nodeType&&(!e.button||e.type!=='click')){for(;s!=t
his;s=s.parentNode||this){if(s.nodeType===1&&(s.disabled!==!0||e.type!=='click')
){r=[];for(l=0;l<a;l++){c=n[l];o=c.selector+' ';if(r[o]===i){r[o]=c.needsContext
?t(o,this).index(s)>=0:t.find(o,this,null,[s]).length};if(r[o]){r.push(c)}};if(r
.length){u.push({elem:s,handlers:r})}}}};if(a<n.length){u.push({elem:this,handle
rs:n.slice(a)})};return u},fix:function(e){if(e[t.expando]){return e};var a,l,o,
s=e.type,r=e,i=this.fixHooks[s];if(!i){this.fixHooks[s]=i=Ct.test(s)?this.mouseH
ooks:jt.test(s)?this.keyHooks:{}};o=i.props?this.props.concat(i.props):this.prop
s;e=new t.Event(r);a=o.length;while(a--){l=o[a];e[l]=r[l]};if(!e.target){e.targe
t=r.srcElement||n};if(e.target.nodeType===3){e.target=e.target.parentNode};e.met
aKey=!!e.metaKey;return i.filter?i.filter(e,r):e},props:'altKey bubbles cancelab
le ctrlKey currentTarget eventPhase metaKey relatedTarget shiftKey target timeSt
amp view which'.split(' '),fixHooks:{},keyHooks:{props:'char charCode key keyCod
e'.split(' '),filter:function(e,t){if(e.which==null){e.which=t.charCode!=null?t.
charCode:t.keyCode};return e}},mouseHooks:{props:'button buttons clientX clientY
fromElement offsetX offsetY pageX pageY screenX screenY toElement'.split(' '),f
ilter:function(e,t){var r,l,s,o=t.button,a=t.fromElement;if(e.pageX==null&&t.cli
entX!=null){l=e.target.ownerDocument||n;s=l.documentElement;r=l.body;e.pageX=t.c
lientX+(s&&s.scrollLeft||r&&r.scrollLeft||0)-(s&&s.clientLeft||r&&r.clientLeft||
0);e.pageY=t.clientY+(s&&s.scrollTop||r&&r.scrollTop||0)-(s&&s.clientTop||r&&r.c
lientTop||0)};if(!e.relatedTarget&&a){e.relatedTarget=a===e.target?t.toElement:a
};if(!e.which&&o!==i){e.which=(o&1?1:(o&2?3:(o&4?2:0)))};return e}},special:{loa
d:{noBubble:!0},focus:{trigger:function(){if(this!==Se()&&this.focus){try{this.f
ocus();return!1}catch(e){}}},delegateType:'focusin'},blur:{trigger:function(){if
(this===Se()&&this.blur){this.blur();return!1}},delegateType:'focusout'},click:{
trigger:function(){if(t.nodeName(this,'input')&&this.type==='checkbox'&&this.cli
ck){this.click();return!1}},k$:function(e){return t.nodeName(e.target,'a')}},bef
oreunload:{postDispatch:function(e){if(e.result!==i){e.originalEvent.returnValue
=e.result}}}},simulate:function(e,i,n,s){var r=t.extend(new t.Event(),n,{type:e,
isSimulated:!0,originalEvent:{}});if(s){t.event.trigger(r,null,i)}else{t.event.d
ispatch.call(i,r)};if(r.isDefaultPrevented()){n.preventDefault()}}};t.removeEven
t=n.removeEventListener?function(e,t,i){if(e.removeEventListener){e.removeEventL
istener(t,i,!1)}}:function(e,t,i){var n='on'+t;if(e.detachEvent){if(typeof e[n]=
==c){e[n]=null};e.detachEvent(n,i)}};t.Event=function(e,i){if(!(this instanceof
t.Event)){return new t.Event(e,i)};if(e&&e.type){this.originalEvent=e;this.type=
e.type;this.isDefaultPrevented=(e.defaultPrevented||e.returnValue===!1||e.getPre
ventDefault&&e.getPreventDefault())?z:T}else{this.type=e};if(i){t.extend(this,i)
};this.timeStamp=e&&e.timeStamp||t.now();this[t.expando]=!0};t.Event.prototype={
isDefaultPrevented:T,isPropagationStopped:T,isImmediatePropagationStopped:T,prev
entDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=z;if(!e){
return};if(e.preventDefault){e.preventDefault()}else{e.returnValue=!1}},stopProp
agation:function(){var e=this.originalEvent;this.isPropagationStopped=z;if(!e){r
eturn};if(e.stopPropagation){e.stopPropagation()};e.cancelBubble=!0},stopImmedia
tePropagation:function(){this.isImmediatePropagationStopped=z;this.stopPropagati
on()}};t.each({mouseenter:'mouseover',mouseleave:'mouseout'},function(e,i){t.eve
nt.special[e]={delegateType:i,bindType:i,handle:function(e){var o,r=this,n=e.rel
atedTarget,s=e.handleObj;if(!n||(n!==r&&!t.contains(r,n))){e.type=s.origType;o=s
.handler.apply(this,arguments);e.type=i};return o}}});if(!t.support.submitBubble
s){t.event.special.submit={setup:function(){if(t.nodeName(this,'form')){return!1
};t.event.add(this,'click._submit keypress._submit',function(e){var s=e.target,n
=t.nodeName(s,'input')||t.nodeName(s,'button')?s.form:i;if(n&&!t.i$(n,'submitBub
bles')){t.event.add(n,'submit._submit',function(e){e.Ct$=!0});t.i$(n,'submitBubb
les',!0)}})},postDispatch:function(e){if(e.Ct$){delete e.Ct$;if(this.parentNode&
&!e.isTrigger){t.event.simulate('submit',this.parentNode,e,!0)}}},teardown:funct
ion(){if(t.nodeName(this,'form')){return!1};t.event.remove(this,'._submit')}}};i
f(!t.support.changeBubbles){t.event.special.change={setup:function(){if(B.test(t
his.nodeName)){if(this.type==='checkbox'||this.type==='radio'){t.event.add(this,
'propertychange._change',function(e){if(e.originalEvent.propertyName==='checked'
){this.kt$=!0}});t.event.add(this,'click._change',function(e){if(this.kt$&&!e.is
Trigger){this.kt$=!1};t.event.simulate('change',this,e,!0)})};return!1};t.event.
add(this,'beforeactivate._change',function(e){var i=e.target;if(B.test(i.nodeNam
e)&&!t.i$(i,'changeBubbles')){t.event.add(i,'change._change',function(e){if(this
.parentNode&&!e.isSimulated&&!e.isTrigger){t.event.simulate('change',this.parent
Node,e,!0)}});t.i$(i,'changeBubbles',!0)}})},handle:function(e){var t=e.target;i
f(this!==t||e.isSimulated||e.isTrigger||(t.type!=='radio'&&t.type!=='checkbox'))
{return e.handleObj.handler.apply(this,arguments)}},teardown:function(){t.event.
remove(this,'._change');return!B.test(this.nodeName)}}};if(!t.support.focusinBub
bles){t.each({focus:'focusin',blur:'focusout'},function(e,i){var r=0,s=function(
e){t.event.simulate(i,e.target,t.event.fix(e),!0)};t.event.special[i]={setup:fun
ction(){if(r++===0){n.addEventListener(e,s,!0)}},teardown:function(){if(--r===0)
{n.removeEventListener(e,s,!0)}}}})};t.fn.extend({on:function(e,n,s,r,o){var l,a
;if(typeof e==='object'){if(typeof n!=='string'){s=s||n;n=i};for(l in e){this.on
(l,n,s,e[l],o)};return this};if(s==null&&r==null){r=n;s=n=i}else if(r==null){if(
typeof n==='string'){r=s;s=i}else{r=s;s=n;n=i}};if(r===!1){r=T}else if(!r){retur
n this};if(o===1){a=r;r=function(e){t().off(e);return a.apply(this,arguments)};r
.guid=a.guid||(a.guid=t.guid++)};return this.each(function(){t.event.add(this,e,
r,s,n)})},one:function(e,t,i,n){return this.on(e,t,i,n,1)},off:function(e,n,s){v
ar r,o;if(e&&e.preventDefault&&e.handleObj){r=e.handleObj;t(e.delegateTarget).of
f(r.namespace?r.origType+'.'+r.namespace:r.origType,r.selector,r.handler);return
this};if(typeof e==='object'){for(o in e){this.off(o,n,e[o])};return this};if(n
===!1||typeof n==='function'){s=n;n=i};if(s===!1){s=T};return this.each(function
(){t.event.remove(this,e,s,n)})},trigger:function(e,i){return this.each(function
(){t.event.trigger(e,i,this)})},triggerHandler:function(e,i){var n=this[0];if(n)
{return t.event.trigger(e,i,n,!0)}}});var Ht=/^.[^:#\[\.,]*$/,Ft=/^(?:parents|pr
ev(?:Until|All))/,Je=t.expr.match.needsContext,At={children:!0,contents:!0,next:
!0,prev:!0};t.fn.extend({find:function(e){var i,n=[],r=this,s=r.length;if(typeof
e!=='string'){return this.pushStack(t(e).filter(function(){for(i=0;i<s;i++){if(
t.contains(r[i],this)){return!0}}}))};for(i=0;i<s;i++){t.find(e,r[i],n)};n=this.
pushStack(s>1?t.unique(n):n);n.selector=this.selector?this.selector+' '+e:e;retu
rn n},has:function(e){var i,n=t(e,this),s=n.length;return this.filter(function()
{for(i=0;i<s;i++){if(t.contains(this,n[i])){return!0}}})},not:function(e){return
this.pushStack(V(this,e||[],!0))},filter:function(e){return this.pushStack(V(th
is,e||[],!1))},is:function(e){return!!V(this,typeof e==='string'&&Je.test(e)?t(e
):e||[],!1).length},closest:function(e,i){var n,r=0,a=this.length,s=[],o=Je.test
(e)||typeof e!=='string'?t(e,i||this.context):0;for(;r<a;r++){for(n=this[r];n&&n
!==i;n=n.parentNode){if(n.nodeType<11&&(o?o.index(n)>-1:n.nodeType===1&&t.find.m
atchesSelector(n,e))){n=s.push(n);break}}};return this.pushStack(s.length>1?t.un
ique(s):s)},index:function(e){if(!e){return(this[0]&&this[0].parentNode)?this.fi
rst().prevAll().length:-1};if(typeof e==='string'){return t.inArray(this[0],t(e)
)};return t.inArray(e.jquery?e[0]:e,this)},add:function(e,i){var s=typeof e==='s
tring'?t(e,i):t.makeArray(e&&e.nodeType?[e]:e),n=t.merge(this.get(),s);return th
is.pushStack(t.unique(n))},addBack:function(e){return this.add(e==null?this.prev
Object:this.prevObject.filter(e))}});function Me(e,t){do{e=e[t]}while(e&&e.nodeT
ype!==1);return e};t.each({parent:function(e){var t=e.parentNode;return t&&t.nod
eType!==11?t:null},parents:function(e){return t.dir(e,'parentNode')},parentsUnti
l:function(e,i,n){return t.dir(e,'parentNode',n)},next:function(e){return Me(e,'
nextSibling')},prev:function(e){return Me(e,'previousSibling')},nextAll:function
(e){return t.dir(e,'nextSibling')},prevAll:function(e){return t.dir(e,'previousS
ibling')},nextUntil:function(e,i,n){return t.dir(e,'nextSibling',n)},prevUntil:f
unction(e,i,n){return t.dir(e,'previousSibling',n)},siblings:function(e){return
t.sibling((e.parentNode||{}).firstChild,e)},children:function(e){return t.siblin
g(e.firstChild)},contents:function(e){return t.nodeName(e,'iframe')?e.contentDoc
ument||e.contentWindow.document:t.merge([],e.childNodes)}},function(e,i){t.fn[e]
=function(n,s){var r=t.map(this,i,n);if(e.slice(-5)!=='Until'){s=n};if(s&&typeof
s==='string'){r=t.filter(s,r)};if(this.length>1){if(!At[e]){r=t.unique(r)};if(F
t.test(e)){r=r.reverse()}};return this.pushStack(r)}});t.extend({filter:function
(e,i,n){var s=i[0];if(n){e=':not('+e+')'};return i.length===1&&s.nodeType===1?t.
find.matchesSelector(s,e)?[s]:[]:t.find.matches(e,t.grep(i,function(e){return e.
nodeType===1}))},dir:function(e,n,s){var o=[],r=e[n];while(r&&r.nodeType!==9&&(s
===i||r.nodeType!==1||!t(r).is(s))){if(r.nodeType===1){o.push(r)};r=r[n]};return
o},sibling:function(e,t){var i=[];for(;e;e=e.nextSibling){if(e.nodeType===1&&e!
==t){i.push(e)}};return i}});function V(e,i,n){if(t.isFunction(i)){return t.grep
(e,function(e,t){return!!i.call(e,t,e)!==n})};if(i.nodeType){return t.grep(e,fun
ction(e){return(e===i)!==n})};if(typeof i==='string'){if(Ht.test(i)){return t.fi
lter(i,e,n)};i=t.filter(i,e)};return t.grep(e,function(e){return(t.inArray(e,i)>
=0)!==n})};function Te(e){var i=Ye.split('|'),t=e.createDocumentFragment();if(t.
createElement){while(i.length){t.createElement(i.pop())}};return t};var Ye='abbr
|article|aside|audio|bdi|canvas|data|datalist|details|figcaption|figure|footer|h
eader|hgroup|mark|meter|nav|output|progress|section|summary|time|video',ai=/ jQu
ery\d+="(?:null|\d+)"/g,Ue=new RegExp('<(?:'+Ye+')[\\s/>]','i'),Y=/^\s+/,Xe=/<(?
!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,Qe=/<([\w:
]+)/,Ke=/<tbody/i,Lt=/<|&#?\w+;/,Mt=/<(?:script|style|link)/i,W=/^(?:checkbox|ra
dio)$/i,It=/checked\s*(?:[^=]|=\s*.checked.)/i,Oe=/^$|\/(?:java|ecma)script/i,Et
=/^true\/(.*)/,Ot=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g,a={option:[1,'<sele
ct multiple=\'multiple\'>','</select>'],legend:[1,'<fieldset>','</fieldset>'],ar
ea:[1,'<map>','</map>'],param:[1,'<object>','</object>'],thead:[1,'<table>','</t
able>'],tr:[2,'<table><tbody>','</tbody></table>'],col:[2,'<table><tbody></tbody
><colgroup>','</colgroup></table>'],td:[3,'<table><tbody><tr>','</tr></tbody></t
able>'],k$:t.support.htmlSerialize?[0,'','']:[1,'X<div>','</div>']},zt=Te(n),H=z
t.appendChild(n.createElement('div'));a.optgroup=a.option;a.tbody=a.tfoot=a.colg
roup=a.caption=a.thead;a.th=a.td;t.fn.extend({text:function(e){return t.access(t
his,function(e){return e===i?t.text(this):this.empty().append((this[0]&&this[0].
ownerDocument||n).createTextNode(e))},null,e,arguments.length)},append:function(
){return this.domManip(arguments,function(e){if(this.nodeType===1||this.nodeType
===11||this.nodeType===9){var t=we(this,e);t.appendChild(e)}})},prepend:function
(){return this.domManip(arguments,function(e){if(this.nodeType===1||this.nodeTyp
e===11||this.nodeType===9){var t=we(this,e);t.insertBefore(e,t.firstChild)}})},b
efore:function(){return this.domManip(arguments,function(e){if(this.parentNode){
this.parentNode.insertBefore(e,this)}})},after:function(){return this.domManip(a
rguments,function(e){if(this.parentNode){this.parentNode.insertBefore(e,this.nex
tSibling)}})},remove:function(e,i){var n,o=e?t.filter(e,this):this,s=0;for(;(n=o
[s])!=null;s++){if(!i&&n.nodeType===1){t.cleanData(r(n))};if(n.parentNode){if(i&
&t.contains(n.ownerDocument,n)){q(r(n,'script'))};n.parentNode.removeChild(n)}};
return this},empty:function(){var e,i=0;for(;(e=this[i])!=null;i++){if(e.nodeTyp
e===1){t.cleanData(r(e,!1))}while(e.firstChild){e.removeChild(e.firstChild)};if(
e.options&&t.nodeName(e,'select')){e.options.length=0}};return this},clone:funct
ion(e,i){e=e==null?!1:e;i=i==null?e:i;return this.map(function(){return t.clone(
this,e,i)})},html:function(e){return t.access(this,function(e){var s=this[0]||{}
,o=0,l=this.length;if(e===i){return s.nodeType===1?s.innerHTML.replace(ai,''):i}
;if(typeof e==='string'&&!Mt.test(e)&&(t.support.htmlSerialize||!Ue.test(e))&&(t
.support.leadingWhitespace||!Y.test(e))&&!a[(Qe.exec(e)||['',''])[1].toLowerCase
()]){e=e.replace(Xe,'<$1></$2>');try{for(;o<l;o++){s=this[o]||{};if(s.nodeType==
=1){t.cleanData(r(s,!1));s.innerHTML=e}};s=0}catch(n){}};if(s){this.empty().appe
nd(e)}},null,e,arguments.length)},replaceWith:function(){var i=t.map(this,functi
on(e){return[e.nextSibling,e.parentNode]}),e=0;this.domManip(arguments,function(
n){var s=i[e++],r=i[e++];if(r){if(s&&s.parentNode!==r){s=this.nextSibling};t(thi
s).remove();r.insertBefore(n,s)}},!0);return e?this:this.remove()},detach:functi
on(e){return this.remove(e,!0)},domManip:function(e,i,n){e=ue.apply([],e);var h,
s,u,a,p,l,o=0,c=this.length,m=this,g=c-1,f=e[0],d=t.isFunction(f);if(d||!(c<=1||
typeof f!=='string'||t.support.checkClone||!It.test(f))){return this.each(functi
on(t){var s=m.eq(t);if(d){e[0]=f.call(this,t,s.html())};s.domManip(e,i,n)})};if(
c){l=t.buildFragment(e,this[0].ownerDocument,!1,!n&&this);h=l.firstChild;if(l.ch
ildNodes.length===1){l=h};if(h){a=t.map(r(l,'script'),ke);u=a.length;for(;o<c;o+
+){s=l;if(o!==g){s=t.clone(s,!0,!0);if(u){t.merge(a,r(s,'script'))}};i.call(this
[o],s,o)};if(u){p=a[a.length-1].ownerDocument;t.map(a,De);for(o=0;o<u;o++){s=a[o
];if(Oe.test(s.type||'')&&!t.i$(s,'globalEval')&&t.contains(p,s)){if(s.src){t.oi
$(s.src)}else{t.globalEval((s.text||s.textContent||s.innerHTML||'').replace(Ot,'
'))}}}};l=h=null}};return this}});function we(e,i){return t.nodeName(e,'table')&
&t.nodeName(i.nodeType===1?i:i.firstChild,'tr')?e.getElementsByTagName('tbody')[
0]||e.appendChild(e.ownerDocument.createElement('tbody')):e};function ke(e){e.ty
pe=(t.find.attr(e,'type')!==null)+'/'+e.type;return e};function De(e){var t=Et.e
xec(e.type);if(t){e.type=t[1]}else{e.removeAttribute('type')};return e};function
q(e,i){var s,n=0;for(;(s=e[n])!=null;n++){t.i$(s,'globalEval',!i||t.i$(i[n],'gl
obalEval'))}};function ye(e,i){if(i.nodeType!==1||!t.hasData(e)){return};var o,r
,a,l=t.i$(e),n=t.i$(i,l),s=l.events;if(s){delete n.handle;n.events={};for(o in s
){for(r=0,a=s[o].length;r<a;r++){t.event.add(i,o,s[o][r])}}};if(n.data){n.data=t
.extend({},n.data)}};function ct(e,i){var n,r,s;if(i.nodeType!==1){return};n=i.n
odeName.toLowerCase();if(!t.support.noCloneEvent&&i[t.expando]){s=t.i$(i);for(r
in s.events){t.removeEvent(i,r,s.handle)};i.removeAttribute(t.expando)};if(n==='
script'&&i.text!==e.text){ke(i).text=e.text;De(i)}else if(n==='object'){if(i.par
entNode){i.outerHTML=e.outerHTML};if(t.support.html5Clone&&(e.innerHTML&&!t.trim
(i.innerHTML))){i.innerHTML=e.innerHTML}}else if(n==='input'&&W.test(e.type)){i.
defaultChecked=i.checked=e.checked;if(i.value!==e.value){i.value=e.value}}else i
f(n==='option'){i.defaultSelected=i.selected=e.defaultSelected}else if(n==='inpu
t'||n==='textarea'){i.defaultValue=e.defaultValue}};t.each({appendTo:'append',pr
ependTo:'prepend',insertBefore:'before',insertAfter:'after',replaceAll:'replaceW
ith'},function(e,i){t.fn[e]=function(e){var s,n=0,o=[],a=t(e),r=a.length-1;for(;
n<=r;n++){s=n===r?this:this.clone(!0);t(a[n])[i](s);X.apply(o,s.get())};return t
his.pushStack(o)}});function r(e,n){var a,o,l=0,s=typeof e.getElementsByTagName!
==c?e.getElementsByTagName(n||'*'):typeof e.querySelectorAll!==c?e.querySelector
All(n||'*'):i;if(!s){for(s=[],a=e.childNodes||e;(o=a[l])!=null;l++){if(!n||t.nod
eName(o,n)){s.push(o)}else{t.merge(s,r(o,n))}}};return n===i||n&&t.nodeName(e,n)
?t.merge([e],s):s};function dt(e){if(W.test(e.type)){e.defaultChecked=e.checked}
};t.extend({clone:function(e,i,n){var s,c,a,o,l,u=t.contains(e.ownerDocument,e);
if(t.support.html5Clone||t.isXMLDoc(e)||!Ue.test('<'+e.nodeName+'>')){a=e.cloneN
ode(!0)}else{H.innerHTML=e.outerHTML;H.removeChild(a=H.firstChild)};if((!t.suppo
rt.noCloneEvent||!t.support.noCloneChecked)&&(e.nodeType===1||e.nodeType===11)&&
!t.isXMLDoc(e)){s=r(a);l=r(e);for(o=0;(c=l[o])!=null;++o){if(s[o]){ct(c,s[o])}}}
;if(i){if(n){l=l||r(e);s=s||r(a);for(o=0;(c=l[o])!=null;o++){ye(c,s[o])}}else{ye
(e,a)}};s=r(a,'script');if(s.length>0){q(s,!u&&r(e,'script'))};s=l=c=null;return
a},buildFragment:function(e,i,n,s){var c,o,g,l,p,m,d,v=e.length,h=Te(i),u=[],f=
0;for(;f<v;f++){o=e[f];if(o||o===0){if(t.type(o)==='object'){t.merge(u,o.nodeTyp
e?[o]:o)}else if(!Lt.test(o)){u.push(i.createTextNode(o))}else{l=l||h.appendChil
d(i.createElement('div'));p=(Qe.exec(o)||['',''])[1].toLowerCase();d=a[p]||a.k$;
l.innerHTML=d[1]+o.replace(Xe,'<$1></$2>')+d[2];c=d[0];while(c--){l=l.lastChild}
;if(!t.support.leadingWhitespace&&Y.test(o)){u.push(i.createTextNode(Y.exec(o)[0
]))};if(!t.support.tbody){o=p==='table'&&!Ke.test(o)?l.firstChild:d[1]==='<table
>'&&!Ke.test(o)?l:0;c=o&&o.childNodes.length;while(c--){if(t.nodeName((m=o.child
Nodes[c]),'tbody')&&!m.childNodes.length){o.removeChild(m)}}};t.merge(u,l.childN
odes);l.textContent='';while(l.firstChild){l.removeChild(l.firstChild)};l=h.last
Child}}};if(l){h.removeChild(l)};if(!t.support.appendChecked){t.grep(r(u,'input'
),dt)};f=0;while((o=u[f++])){if(s&&t.inArray(o,s)!==-1){continue};g=t.contains(o
.ownerDocument,o);l=r(h.appendChild(o),'script');if(g){q(l)};if(n){c=0;while((o=
l[c++])){if(Oe.test(o.type||'')){n.push(o)}}}};l=null;return h},cleanData:functi
on(e,i){var n,o,s,r,u=0,a=t.expando,l=t.cache,h=t.support.deleteExpando,f=t.even
t.special;for(;(n=e[u])!=null;u++){if(i||t.acceptData(n)){s=n[a];r=s&&l[s];if(r)
{if(r.events){for(o in r.events){if(f[o]){t.event.remove(n,o)}else{t.removeEvent
(n,o,r.handle)}}};if(l[s]){delete l[s];if(h){delete n[a]}else if(typeof n.remove
Attribute!==c){n.removeAttribute(a)}else{n[a]=null};b.push(s)}}}}},oi$:function(
e){return t.ajax({url:e,type:'GET',dataType:'script',async:!1,global:!1,'throws'
:!0})}});t.fn.extend({wrapAll:function(e){if(t.isFunction(e)){return this.each(f
unction(i){t(this).wrapAll(e.call(this,i))})};if(this[0]){var i=t(e,this[0].owne
rDocument).eq(0).clone(!0);if(this[0].parentNode){i.insertBefore(this[0])};i.map
(function(){var e=this;while(e.firstChild&&e.firstChild.nodeType===1){e=e.firstC
hild};return e}).append(this)};return this},wrapInner:function(e){if(t.isFunctio
n(e)){return this.each(function(i){t(this).wrapInner(e.call(this,i))})};return t
his.each(function(){var n=t(this),i=n.contents();if(i.length){i.wrapAll(e)}else{
n.append(e)}})},wrap:function(e){var i=t.isFunction(e);return this.each(function
(n){t(this).wrapAll(i?e.call(this,n):e)})},unwrap:function(){return this.parent(
).each(function(){if(!t.nodeName(this,'body')){t(this).replaceWith(this.childNod
es)}}).end()}});var D,d,m,ie=/alpha\([^)]*\)/i,Bt=/opacity\s*=\s*([^)]*)/,Pt=/^(
top|right|bottom|left)$/,Nt=/^(none|table(?!-c[ea]).+)/,tt=/^margin/,wt=new RegE
xp('^('+I+')(.*)$','i'),A=new RegExp('^('+I+')(?!px)[a-z%]+$','i'),kt=new RegExp
('^([+-])=('+I+')','i'),ot={BODY:'block'},Wt={position:'absolute',visibility:'hi
dden',display:'block'},Fe={letterSpacing:0,fontWeight:400},v=['Top','Right','Bot
tom','Left'],Be=['Webkit','O','Moz','ms'];function le(e,t){if(t in e){return t};
var n=t.charAt(0).toUpperCase()+t.slice(1),s=t,i=Be.length;while(i--){t=Be[i]+n;
if(t in e){return t}};return s};function S(e,i){e=i||e;return t.css(e,'display')
==='none'||!t.contains(e.ownerDocument,e)};function he(e,i){var r,n,a,o=[],s=0,l
=e.length;for(;s<l;s++){n=e[s];if(!n.style){continue};o[s]=t.i$(n,'olddisplay');
r=n.style.display;if(i){if(!o[s]&&r==='none'){n.style.display=''};if(n.style.dis
play===''&&S(n)){o[s]=t.i$(n,'olddisplay',We(n.nodeName))}}else{if(!o[s]){a=S(n)
;if(r&&r!=='none'||!a){t.i$(n,'olddisplay',a?r:t.css(n,'display'))}}}};for(s=0;s
<l;s++){n=e[s];if(!n.style){continue};if(!i||n.style.display==='none'||n.style.d
isplay===''){n.style.display=i?o[s]||'':'none'}};return e};t.fn.extend({css:func
tion(e,n){return t.access(this,function(e,n,s){var a,l,o={},r=0;if(t.isArray(n))
{l=d(e);a=n.length;for(;r<a;r++){o[n[r]]=t.css(e,n[r],!1,l)};return o};return s!
==i?t.style(e,n,s):t.css(e,n)},e,n,arguments.length>1)},show:function(){return h
e(this,!0)},hide:function(){return he(this)},toggle:function(e){if(typeof e==='b
oolean'){return e?this.show():this.hide()};return this.each(function(){if(S(this
)){t(this).show()}else{t(this).hide()}})}});t.extend({cssHooks:{opacity:{get:fun
ction(e,t){if(t){var i=m(e,'opacity');return i===''?'1':i}}}},cssNumber:{'column
Count':!0,'fillOpacity':!0,'fontWeight':!0,'lineHeight':!0,'opacity':!0,'order':
!0,'orphans':!0,'widows':!0,'zIndex':!0,'zoom':!0},cssProps:{'float':t.support.c
ssFloat?'cssFloat':'styleFloat'},style:function(e,n,s,r){if(!e||e.nodeType===3||
e.nodeType===8||!e.style){return};var c,u,a,l=t.camelCase(n),f=e.style;n=t.cssPr
ops[l]||(t.cssProps[l]=le(f,l));a=t.cssHooks[n]||t.cssHooks[l];if(s!==i){u=typeo
f s;if(u==='string'&&(c=kt.exec(s))){s=(c[1]+1)*c[2]+parseFloat(t.css(e,n));u='n
umber'};if(s==null||u==='number'&&isNaN(s)){return};if(u==='number'&&!t.cssNumbe
r[l]){s+='px'};if(!t.support.clearCloneStyle&&s===''&&n.indexOf('background')===
0){f[n]='inherit'};if(!a||!('set' in a)||(s=a.set(e,s,r))!==i){try{f[n]=s}catch(
o){}}}else{if(a&&'get' in a&&(c=a.get(e,!1,r))!==i){return c};return f[n]}},css:
function(e,n,s,r){var c,o,l,a=t.camelCase(n);n=t.cssProps[a]||(t.cssProps[a]=le(
e.style,a));l=t.cssHooks[n]||t.cssHooks[a];if(l&&'get' in l){o=l.get(e,!0,s)};if
(o===i){o=m(e,n,r)};if(o==='normal'&&n in Fe){o=Fe[n]};if(s===''||s){c=parseFloa
t(o);return s===!0||t.isNumeric(c)?c||0:o};return o}});if(e.getComputedStyle){d=
function(t){return e.getComputedStyle(t,null)};m=function(e,n,s){var c,l,u,a=s||
d(e),o=a?a.getPropertyValue(n)||a[n]:i,r=e.style;if(a){if(o===''&&!t.contains(e.
ownerDocument,e)){o=t.style(e,n)};if(A.test(o)&&tt.test(n)){c=r.width;l=r.minWid
th;u=r.maxWidth;r.minWidth=r.maxWidth=r.width=o;o=a.width;r.width=c;r.minWidth=l
;r.maxWidth=u}};return o}}else if(n.documentElement.currentStyle){d=function(e){
return e.currentStyle};m=function(e,t,n){var l,o,a,c=n||d(e),s=c?c[t]:i,r=e.styl
e;if(s==null&&r&&r[t]){s=r[t]};if(A.test(s)&&!Pt.test(t)){l=r.left;o=e.runtimeSt
yle;a=o&&o.left;if(a){o.left=e.currentStyle.left};r.left=t==='fontSize'?'1em':s;
s=r.pixelLeft+'px';r.left=l;if(a){o.left=a}};return s===''?'auto':s}};function g
e(e,t,i){var n=wt.exec(t);return n?Math.max(0,n[1]-(i||0))+(n[2]||'px'):t};funct
ion Le(e,i,n,s,r){var o=n===(s?'border':'content')?4:i==='width'?1:0,a=0;for(;o<
4;o+=2){if(n==='margin'){a+=t.css(e,n+v[o],!0,r)};if(s){if(n==='content'){a-=t.c
ss(e,'padding'+v[o],!0,r)};if(n!=='margin'){a-=t.css(e,'border'+v[o]+'Width',!0,
r)}}else{a+=t.css(e,'padding'+v[o],!0,r);if(n!=='padding'){a+=t.css(e,'border'+v
[o]+'Width',!0,r)}}};return a};function Ae(e,i,n){var a=!0,s=i==='width'?e.offse
tWidth:e.offsetHeight,r=d(e),o=t.support.boxSizing&&t.css(e,'boxSizing',!1,r)===
'border-box';if(s<=0||s==null){s=m(e,i,r);if(s<0||s==null){s=e.style[i]};if(A.te
st(s)){return s};a=o&&(t.support.boxSizingReliable||s===e.style[i]);s=parseFloat
(s)||0};return(s+Le(e,i,n||(o?'border':'content'),a,r))+'px'};function We(e){var
s=n,i=ot[e];if(!i){i=it(e,s);if(i==='none'||!i){D=(D||t('<iframe frameborder=\'
0\' width=\'0\' height=\'0\'/>').css('cssText','display:block !important')).appe
ndTo(s.documentElement);s=(D[0].contentWindow||D[0].contentDocument).document;s.
write('<!doctype html><html><body>');s.close();i=it(e,s);D.detach()};ot[e]=i};re
turn i};function it(e,i){var n=t(i.createElement(e)).appendTo(i.body),s=t.css(n[
0],'display');n.remove();return s};t.each(['height','width'],function(e,i){t.css
Hooks[i]={get:function(e,n,s){if(n){return e.offsetWidth===0&&Nt.test(t.css(e,'d
isplay'))?t.swap(e,Wt,function(){return Ae(e,i,s)}):Ae(e,i,s)}},set:function(e,n
,s){var r=s&&d(e);return ge(e,n,s?Le(e,i,s,t.support.boxSizing&&t.css(e,'boxSizi
ng',!1,r)==='border-box',r):0)}}});if(!t.support.opacity){t.cssHooks.opacity={ge
t:function(e,t){return Bt.test((t&&e.currentStyle?e.currentStyle.filter:e.style.
filter)||'')?(0.01*parseFloat(RegExp.$1))+'':t?'1':''},set:function(e,i){var n=e
.style,s=e.currentStyle,o=t.isNumeric(i)?'alpha(opacity='+i*100+')':'',r=s&&s.fi
lter||n.filter||'';n.zoom=1;if((i>=1||i==='')&&t.trim(r.replace(ie,''))===''&&n.
removeAttribute){n.removeAttribute('filter');if(i===''||s&&!s.filter){return}};n
.filter=ie.test(r)?r.replace(ie,o):r+' '+o}}};t(function(){if(!t.support.reliabl
eMarginRight){t.cssHooks.marginRight={get:function(e,i){if(i){return t.swap(e,{'
display':'inline-block'},m,[e,'marginRight'])}}}};if(!t.support.pixelPosition&&t
.fn.position){t.each(['top','left'],function(e,i){t.cssHooks[i]={get:function(e,
n){if(n){n=m(e,i);return A.test(n)?t(e).position()[i]+'px':n}}}})}});if(t.expr&&
t.expr.filters){t.expr.filters.hidden=function(e){return e.offsetWidth<=0&&e.off
setHeight<=0||(!t.support.reliableHiddenOffsets&&((e.style&&e.style.display)||t.
css(e,'display'))==='none')};t.expr.filters.visible=function(e){return!t.expr.fi
lters.hidden(e)}};t.each({margin:'',padding:'',border:'Width'},function(e,i){t.c
ssHooks[e+i]={expand:function(t){var n=0,r={},s=typeof t==='string'?t.split(' ')
:[t];for(;n<4;n++){r[e+v[n]+i]=s[n]||s[n-2]||s[0]};return r}};if(!tt.test(e)){t.
cssHooks[e+i].set=ge}});var ci=/%20/g,oi=/\[\]$/,fe=/\r?\n/g,ri=/^(?:submit|butt
on|image|reset|file)$/i,ni=/^(?:input|select|textarea|keygen)/i;t.fn.extend({ser
ialize:function(){return t.param(this.serializeArray())},serializeArray:function
(){return this.map(function(){var e=t.prop(this,'elements');return e?t.makeArray
(e):this}).filter(function(){var e=this.type;return this.name&&!t(this).is(':dis
abled')&&ni.test(this.nodeName)&&!ri.test(e)&&(this.checked||!W.test(e))}).map(f
unction(e,i){var n=t(this).val();return n==null?null:t.isArray(n)?t.map(n,functi
on(e){return{name:i.name,value:e.replace(fe,'\r\n')}}):{name:i.name,value:n.repl
ace(fe,'\r\n')}}).get()}});t.param=function(e,n){var r,s=[],o=function(e,i){i=t.
isFunction(i)?i():(i==null?'':i);s[s.length]=encodeURIComponent(e)+'='+encodeURI
Component(i)};if(n===i){n=t.ajaxSettings&&t.ajaxSettings.traditional};if(t.isArr
ay(e)||(e.jquery&&!t.isPlainObject(e))){t.each(e,function(){o(this.name,this.val
ue)})}else{for(r in e){G(r,e[r],n,o)}};return s.join('&').replace(ci,'+')};funct
ion G(e,i,n,s){var r;if(t.isArray(i)){t.each(i,function(t,i){if(n||oi.test(e)){s
(e,i)}else{G(e+'['+(typeof i==='object'?t:'')+']',i,n,s)}})}else if(!n&&t.type(i
)==='object'){for(r in i){G(e+'['+r+']',i[r],n,s)}}else{s(e,i)}};t.each(('blur f
ocus 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(e,i){t.fn[i]=function(e,
t){return arguments.length>0?this.on(i,null,e,t):this.trigger(i)}});t.fn.extend(
{hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)},bind:function(e
,t,i){return this.on(e,null,t,i)},unbind:function(e,t){return this.off(e,null,t)
},delegate:function(e,t,i,n){return this.on(t,e,i,n)},undelegate:function(e,t,i)
{return arguments.length===1?this.off(e,'**'):this.off(t,e||'**',i)}});var g,u,e
e=t.now(),se=/\?/,at=/#.*$/,Ne=/([?&])_=[^&]*/,ft=/^(.*?):[ \t]*([^\r\n]*)\r?$/m
g,Jt=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,Vt=/^(?:GET|HEA
D)$/,yt=/^\/\//,Pe=/^([\w.+-]+:)(?:\/\/([^\/?#:]*)(?::(\d+)|)|)/,Ie=t.fn.load,Ee
={},re={},xe='*/'.concat('*');try{u=si.href}catch(s){u=n.createElement('a');u.hr
ef='';u=u.href};g=Pe.exec(u.toLowerCase())||[];function et(e){return function(i,
n){if(typeof i!=='string'){n=i;i='*'};var s,o=0,r=i.toLowerCase().match(l)||[];i
f(t.isFunction(n)){while((s=r[o++])){if(s[0]==='+'){s=s.slice(1)||'*';(e[s]=e[s]
||[]).unshift(n)}else{(e[s]=e[s]||[]).push(n)}}}}};function Ge(e,i,n,s){var r={}
,a=(e===re);function o(l){var c;r[l]=!0;t.each(e[l]||[],function(e,t){var l=t(i,
n,s);if(typeof l==='string'&&!a&&!r[l]){i.dataTypes.unshift(l);o(l);return!1}els
e if(a){return!(c=l)}});return c};return o(i.dataTypes[0])||!r['*']&&o('*')};fun
ction F(e,n){var r,s,o=t.ajaxSettings.flatOptions||{};for(s in n){if(n[s]!==i){(
o[s]?e:(r||(r={})))[s]=n[s]}};if(r){t.extend(!0,e,r)};return e};t.fn.load=functi
on(e,n,s){if(typeof e!=='string'&&Ie){return Ie.apply(this,arguments)};var a,l,c
,o=this,r=e.indexOf(' ');if(r>=0){a=e.slice(r,e.length);e=e.slice(0,r)};if(t.isF
unction(n)){s=n;n=i}else if(n&&typeof n==='object'){c='POST'};if(o.length>0){t.a
jax({url:e,type:c,dataType:'html',data:n}).done(function(e){l=arguments;o.html(a
?t('<div>').append(t.parseHTML(e)).find(a):e)}).complete(s&&function(e,t){o.each
(s,l||[e.responseText,t,e])})};return this};t.each(['ajaxStart','ajaxStop','ajax
Complete','ajaxError','ajaxSuccess','ajaxSend'],function(e,i){t.fn[i]=function(e
){return this.on(i,e)}});t.extend({active:0,lastModified:{},etag:{},ajaxSettings
:{url:u,type:'GET',isLocal:Jt.test(g[1]),global:!0,processData:!0,async:!0,conte
ntType:'application/x-www-form-urlencoded; charset=UTF-8',accepts:{'*':xe,text:'
text/plain',html:'text/html',xml:'application/xml, text/xml',json:'application/j
son, text/javascript'},contents:{xml:/xml/,html:/html/,json:/json/},responseFiel
ds:{xml:'responseXML',text:'responseText',json:'responseJSON'},converters:{'* te
xt':String,'text html':!0,'text json':t.parseJSON,'text xml':t.parseXML},flatOpt
ions:{url:!0,context:!0}},ajaxSetup:function(e,i){return i?F(F(e,t.ajaxSettings)
,i):F(t.ajaxSettings,e)},ajaxPrefilter:et(Ee),ajaxTransport:et(re),ajax:function
(e,n){if(typeof e==='object'){n=e;e=i};n=n||{};var d,p,a,k,x,m,h,y,s=t.ajaxSetup
({},n),f=s.context||s,w=s.context&&(f.nodeType||f.jquery)?t(f):t.event,C=t.Defer
red(),P=t.Callbacks('once memory'),b=s.statusCode||{},T={},S={},c=0,D='canceled'
,o={readyState:0,getResponseHeader:function(e){var t;if(c===2){if(!y){y={};while
((t=ft.exec(k))){y[t[1].toLowerCase()]=t[2]}};t=y[e.toLowerCase()]};return t==nu
ll?null:t},getAllResponseHeaders:function(){return c===2?k:null},setRequestHeade
r:function(e,t){var i=e.toLowerCase();if(!c){e=S[i]=S[i]||e;T[e]=t};return this}
,overrideMimeType:function(e){if(!c){s.mimeType=e};return this},statusCode:funct
ion(e){var t;if(e){if(c<2){for(t in e){b[t]=[b[t],e[t]]}}else{o.always(e[o.statu
s])}};return this},abort:function(e){var t=e||D;if(h){h.abort(t)};v(0,t);return
this}};C.promise(o).complete=P.add;o.success=o.done;o.error=o.fail;s.url=((e||s.
url||u)+'').replace(at,'').replace(yt,g[1]+'//');s.type=n.method||n.type||s.meth
od||s.type;s.dataTypes=t.trim(s.dataType||'*').toLowerCase().match(l)||[''];if(s
.crossDomain==null){d=Pe.exec(s.url.toLowerCase());s.crossDomain=!!(d&&(d[1]!==g
[1]||d[2]!==g[2]||(d[3]||(d[1]==='http:'?'80':'443'))!==(g[3]||(g[1]==='http:'?'
80':'443'))))};if(s.data&&s.processData&&typeof s.data!=='string'){s.data=t.para
m(s.data,s.traditional)};Ge(Ee,s,n,o);if(c===2){return o};m=s.global;if(m&&t.act
ive++===0){t.event.trigger('ajaxStart')};s.type=s.type.toUpperCase();s.hasConten
t=!Vt.test(s.type);a=s.url;if(!s.hasContent){if(s.data){a=(s.url+=(se.test(a)?'&
':'?')+s.data);delete s.data};if(s.cache===!1){s.url=Ne.test(a)?a.replace(Ne,'$1
_='+ee++):a+(se.test(a)?'&':'?')+'_='+ee++}};if(s.ifModified){if(t.lastModified[
a]){o.setRequestHeader('If-Modified-Since',t.lastModified[a])};if(t.etag[a]){o.s
etRequestHeader('If-None-Match',t.etag[a])}};if(s.data&&s.hasContent&&s.contentT
ype!==!1||n.contentType){o.setRequestHeader('Content-Type',s.contentType)};o.set
RequestHeader('Accept',s.dataTypes[0]&&s.accepts[s.dataTypes[0]]?s.accepts[s.dat
aTypes[0]]+(s.dataTypes[0]!=='*'?', '+xe+'; q=0.01':''):s.accepts['*']);for(p in
s.headers){o.setRequestHeader(p,s.headers[p])};if(s.beforeSend&&(s.beforeSend.c
all(f,o,s)===!1||c===2)){return o.abort()};D='abort';for(p in{success:1,error:1,
complete:1}){o[p](s[p])};h=Ge(re,s,n,o);if(!h){v(-1,'No Transport')}else{o.ready
State=1;if(m){w.trigger('ajaxSend',[o,s])};if(s.async&&s.timeout>0){x=setTimeout
(function(){o.abort('timeout')},s.timeout)};try{c=1;h.send(T,v)}catch(r){if(c<2)
{v(-1,r)}else{throw r;}}};function v(e,n,r,l){var d,y,v,g,p,u=n;if(c===2){return
};c=2;if(x){clearTimeout(x)};h=i;k=l||'';o.readyState=e>0?4:0;d=e>=200&&e<300||e
===304;if(r){g=gt(s,o,r)};g=lt(s,g,o,d);if(d){if(s.ifModified){p=o.getResponseHe
ader('Last-Modified');if(p){t.lastModified[a]=p};p=o.getResponseHeader('etag');i
f(p){t.etag[a]=p}};if(e===204||s.type==='HEAD'){u='nocontent'}else if(e===304){u
='notmodified'}else{u=g.state;y=g.data;v=g.error;d=!v}}else{v=u;if(e||!u){u='err
or';if(e<0){e=0}}};o.status=e;o.statusText=(n||u)+'';if(d){C.resolveWith(f,[y,u,
o])}else{C.rejectWith(f,[o,u,v])};o.statusCode(b);b=i;if(m){w.trigger(d?'ajaxSuc
cess':'ajaxError',[o,s,d?y:v])};P.fireWith(f,[o,u]);if(m){w.trigger('ajaxComplet
e',[o,s]);if(!(--t.active)){t.event.trigger('ajaxStop')}}};return o},getJSON:fun
ction(e,i,n){return t.get(e,i,n,'json')},getScript:function(e,n){return t.get(e,
i,n,'script')}});t.each(['get','post'],function(e,n){t[n]=function(e,s,r,o){if(t
.isFunction(s)){o=o||r;r=s;s=i};return t.ajax({url:e,type:n,dataType:o,data:s,su
ccess:r})}});function gt(e,t,n){var l,a,r,o,c=e.contents,s=e.dataTypes;while(s[0
]==='*'){s.shift();if(a===i){a=e.mimeType||t.getResponseHeader('Content-Type')}}
;if(a){for(o in c){if(c[o]&&c[o].test(a)){s.unshift(o);break}}};if(s[0]in n){r=s
[0]}else{for(o in n){if(!s[0]||e.converters[o+' '+s[0]]){r=o;break};if(!l){l=o}}
;r=r||l};if(r){if(r!==s[0]){s.unshift(r)};return n[r]}};function lt(e,t,i,n){var
u,r,o,c,l,a={},f=e.dataTypes.slice();if(f[1]){for(o in e.converters){a[o.toLowe
rCase()]=e.converters[o]}};r=f.shift();while(r){if(e.responseFields[r]){i[e.resp
onseFields[r]]=t};if(!l&&n&&e.dataFilter){t=e.dataFilter(t,e.dataType)};l=r;r=f.
shift();if(r){if(r==='*'){r=l}else if(l!=='*'&&l!==r){o=a[l+' '+r]||a['* '+r];if
(!o){for(u in a){c=u.split(' ');if(c[1]===r){o=a[l+' '+c[0]]||a['* '+c[0]];if(o)
{if(o===!0){o=a[u]}else if(a[u]!==!0){r=c[0];f.unshift(c[1])};break}}}};if(o!==!
0){if(o&&e['throws']){t=o(t)}else{try{t=o(t)}catch(s){return{state:'parsererror'
,error:o?s:'No conversion from '+l+' to '+r}}}}}}};return{state:'success',data:t
}};t.ajaxSetup({accepts:{script:'text/javascript, application/javascript, applic
ation/ecmascript, application/x-ecmascript'},contents:{script:/(?:java|ecma)scri
pt/},converters:{'text script':function(e){t.globalEval(e);return e}}});t.ajaxPr
efilter('script',function(e){if(e.cache===i){e.cache=!1};if(e.crossDomain){e.typ
e='GET';e.global=!1}});t.ajaxTransport('script',function(e){if(e.crossDomain){va
r s,r=n.head||t('head')[0]||n.documentElement;return{send:function(t,i){s=n.crea
teElement('script');s.async=!0;if(e.scriptCharset){s.charset=e.scriptCharset};s.
src=e.url;s.onload=s.onreadystatechange=function(e,t){if(t||!s.readyState||/load
ed|complete/.test(s.readyState)){s.onload=s.onreadystatechange=null;if(s.parentN
ode){s.parentNode.removeChild(s)};s=null;if(!t){i(200,'success')}}};r.insertBefo
re(s,r.firstChild)},abort:function(){if(s){s.onload(i,!0)}}}}});var ae=[],te=/(=
)\?(?=&|$)|\?\?/;t.ajaxSetup({jsonp:'callback',jsonpCallback:function(){var e=ae
.pop()||(t.expando+'_'+(ee++));this[e]=!0;return e}});t.ajaxPrefilter('json json
p',function(n,s,r){var o,l,a,c=n.jsonp!==!1&&(te.test(n.url)?'url':typeof n.data
==='string'&&!(n.contentType||'').indexOf('application/x-www-form-urlencoded')&&
te.test(n.data)&&'data');if(c||n.dataTypes[0]==='jsonp'){o=n.jsonpCallback=t.isF
unction(n.jsonpCallback)?n.jsonpCallback():n.jsonpCallback;if(c){n[c]=n[c].repla
ce(te,'$1'+o)}else if(n.jsonp!==!1){n.url+=(se.test(n.url)?'&':'?')+n.jsonp+'='+
o};n.converters['script json']=function(){if(!a){t.error(o+' was not called')};r
eturn a[0]};n.dataTypes[0]='json';l=e[o];e[o]=function(){a=arguments};r.always(f
unction(){e[o]=l;if(n[o]){n.jsonpCallback=s.jsonpCallback;ae.push(o)};if(a&&t.is
Function(l)){l(a[0])};a=l=i});return'script'}});var C,w,ut=0,ne=e.ActiveXObject&
&function(){var e;for(e in C){C[e](i,!0)}};function rt(){try{return new e.XMLHtt
pRequest()}catch(t){}};function mt(){try{return new e.ActiveXObject('Microsoft.X
MLHTTP')}catch(t){}};t.ajaxSettings.xhr=e.ActiveXObject?function(){return!this.i
sLocal&&rt()||mt()}:rt;w=t.ajaxSettings.xhr();t.support.cors=!!w&&('withCredenti
als' in w);w=t.support.ajax=!!w;if(w){t.ajaxTransport(function(n){if(!n.crossDom
ain||t.support.cors){var s;return{send:function(r,o){var u,c,l=n.xhr();if(n.user
name){l.open(n.type,n.url,n.async,n.username,n.password)}else{l.open(n.type,n.ur
l,n.async)};if(n.xhrFields){for(c in n.xhrFields){l[c]=n.xhrFields[c]}};if(n.mim
eType&&l.overrideMimeType){l.overrideMimeType(n.mimeType)};if(!n.crossDomain&&!r
['X-Requested-With']){r['X-Requested-With']='XMLHttpRequest'};try{for(c in r){l.
setRequestHeader(c,r[c])}}catch(a){};l.send((n.hasContent&&n.data)||null);s=func
tion(e,r){var c,d,h,f;try{if(s&&(r||l.readyState===4)){s=i;if(u){l.onreadystatec
hange=t.noop;if(ne){delete C[u]}};if(r){if(l.readyState!==4){l.abort()}}else{f={
};c=l.status;d=l.getAllResponseHeaders();if(typeof l.responseText==='string'){f.
text=l.responseText};try{h=l.statusText}catch(a){h=''};if(!c&&n.isLocal&&!n.cros
sDomain){c=f.text?200:404}else if(c===1223){c=204}}}}catch(a){if(!r){o(-1,a)}};i
f(f){o(c,h,f,d)}};if(!n.async){s()}else if(l.readyState===4){setTimeout(s)}else{
u=++ut;if(ne){if(!C){C={};t(e).unload(ne)};C[u]=s};l.onreadystatechange=s}},abor
t:function(){if(s){s(i,!0)}}}}})};var k,O,ht=/^(?:toggle|show|hide)$/,ze=new Reg
Exp('^(?:([+-])=|)('+I+')([a-z%]*)$','i'),pt=/queueHooks$/,M=[bt],P={'*':[functi
on(e,i){var r=this.createTween(e,i),l=r.cur(),s=ze.exec(i),o=s&&s[3]||(t.cssNumb
er[e]?'':'px'),n=(t.cssNumber[e]||o!=='px'&&+l)&&ze.exec(t.css(r.elem,e)),a=1,c=
20;if(n&&n[3]!==o){o=o||n[3];s=s||[];n=+l||1;do{a=a||'.5';n=n/a;t.style(r.elem,e
,n+o)}while(a!==(a=r.cur()/l)&&a!==1&&--c);};if(s){n=r.start=+n||+l||0;r.unit=o;
r.end=s[1]?n+(s[1]+1)*s[2]:+s[2]};return r}]};function Ve(){setTimeout(function(
){k=i});return(k=t.now())};function Re(e,t,i){var s,r=(P[t]||[]).concat(P['*']),
n=0,o=r.length;for(;n<o;n++){if((s=r[n].call(i,t,e))){return s}}};function He(e,
i,n){var l,c,a=0,f=M.length,r=t.Deferred().always(function(){delete u.elem}),u=f
unction(){if(c){return!1};var l=k||Ve(),i=Math.max(0,s.startTime+s.duration-l),a
=i/s.duration||0,t=1-a,n=0,o=s.tweens.length;for(;n<o;n++){s.tweens[n].run(t)};r
.notifyWith(e,[s,t,i]);if(t<1&&o){return i}else{r.resolveWith(e,[s]);return!1}},
s=r.promise({elem:e,props:t.extend({},i),opts:t.extend(!0,{specialEasing:{}},n),
originalProperties:i,originalOptions:n,startTime:k||Ve(),duration:n.duration,twe
ens:[],createTween:function(i,n){var r=t.Tween(e,s.opts,i,n,s.opts.specialEasing
[i]||s.opts.easing);s.tweens.push(r);return r},stop:function(t){var i=0,n=t?s.tw
eens.length:0;if(c){return this};c=!0;for(;i<n;i++){s.tweens[i].run(1)};if(t){r.
resolveWith(e,[s,t])}else{r.rejectWith(e,[s,t])};return this}}),o=s.props;vt(o,s
.opts.specialEasing);for(;a<f;a++){l=M[a].call(s,e,o,s.opts);if(l){return l}};t.
map(o,Re,s);if(t.isFunction(s.opts.start)){s.opts.start.call(e,s)};t.fx.timer(t.
extend(u,{elem:e,anim:s,queue:s.opts.queue}));return s.progress(s.opts.progress)
.done(s.opts.done,s.opts.complete).fail(s.opts.fail).always(s.opts.always)};func
tion vt(e,i){var n,r,a,s,o;for(n in e){r=t.camelCase(n);a=i[r];s=e[n];if(t.isArr
ay(s)){a=s[1];s=e[n]=s[0]};if(n!==r){e[r]=s;delete e[n]};o=t.cssHooks[r];if(o&&'
expand' in o){s=o.expand(s);delete e[r];for(n in s){if(!(n in e)){e[n]=s[n];i[n]
=a}}}else{i[r]=a}}};t.Animation=t.extend(He,{tweener:function(e,i){if(t.isFuncti
on(e)){i=e;e=['*']}else{e=e.split(' ')};var n,s=0,r=e.length;for(;s<r;s++){n=e[s
];P[n]=P[n]||[];P[n].unshift(i)}},prefilter:function(e,t){if(t){M.unshift(e)}els
e{M.push(e)}}});function bt(e,i,n){var s,h,d,f,a,p,c=this,u={},o=e.style,l=e.nod
eType&&S(e),r=t.i$(e,'fxshow');if(!n.queue){a=t.ke$(e,'fx');if(a.unqueued==null)
{a.unqueued=0;p=a.empty.fire;a.empty.fire=function(){if(!a.unqueued){p()}}};a.un
queued++;c.always(function(){c.always(function(){a.unqueued--;if(!t.queue(e,'fx'
).length){a.empty.fire()}})})};if(e.nodeType===1&&('height' in i||'width' in i))
{n.overflow=[o.overflow,o.overflowX,o.overflowY];if(t.css(e,'display')==='inline
'&&t.css(e,'float')==='none'){if(!t.support.inlineBlockNeedsLayout||We(e.nodeNam
e)==='inline'){o.display='inline-block'}else{o.zoom=1}}};if(n.overflow){o.overfl
ow='hidden';if(!t.support.shrinkWrapBlocks){c.always(function(){o.overflow=n.ove
rflow[0];o.overflowX=n.overflow[1];o.overflowY=n.overflow[2]})}};for(s in i){h=i
[s];if(ht.exec(h)){delete i[s];d=d||h==='toggle';if(h===(l?'hide':'show')){conti
nue};u[s]=r&&r[s]||t.style(e,s)}};if(!t.isEmptyObject(u)){if(r){if('hidden' in r
){l=r.hidden}}else{r=t.i$(e,'fxshow',{})};if(d){r.hidden=!l};if(l){t(e).show()}e
lse{c.done(function(){t(e).hide()})};c.done(function(){var i;t.fe$(e,'fxshow');f
or(i in u){t.style(e,i,u[i])}});for(s in u){f=Re(l?r[s]:0,s,c);if(!(s in r)){r[s
]=f.start;if(l){f.end=f.start;f.start=s==='width'||s==='height'?1:0}}}}};functio
n o(e,t,i,n,s){return new o.prototype.init(e,t,i,n,s)};t.Tween=o;o.prototype={co
nstructor:o,init:function(e,i,n,s,r,o){this.elem=e;this.prop=n;this.easing=r||'s
wing';this.options=i;this.start=this.now=this.cur();this.end=s;this.unit=o||(t.c
ssNumber[n]?'':'px')},cur:function(){var e=o.propHooks[this.prop];return e&&e.ge
t?e.get(this):o.propHooks.k$.get(this)},run:function(e){var n,i=o.propHooks[this
.prop];if(this.options.duration){this.pos=n=t.easing[this.easing](e,this.options
.duration*e,0,1,this.options.duration)}else{this.pos=n=e};this.now=(this.end-thi
s.start)*n+this.start;if(this.options.step){this.options.step.call(this.elem,thi
s.now,this)};if(i&&i.set){i.set(this)}else{o.propHooks.k$.set(this)};return this
}};o.prototype.init.prototype=o.prototype;o.propHooks={k$:{get:function(e){var i
;if(e.elem[e.prop]!=null&&(!e.elem.style||e.elem.style[e.prop]==null)){return e.
elem[e.prop]};i=t.css(e.elem,e.prop,'');return!i||i==='auto'?0:i},set:function(e
){if(t.fx.step[e.prop]){t.fx.step[e.prop](e)}else if(e.elem.style&&(e.elem.style
[t.cssProps[e.prop]]!=null||t.cssHooks[e.prop])){t.style(e.elem,e.prop,e.now+e.u
nit)}else{e.elem[e.prop]=e.now}}}};o.propHooks.scrollTop=o.propHooks.scrollLeft=
{set:function(e){if(e.elem.nodeType&&e.elem.parentNode){e.elem[e.prop]=e.now}}};
t.each(['toggle','show','hide'],function(e,i){var n=t.fn[i];t.fn[i]=function(e,t
,s){return e==null||typeof e==='boolean'?n.apply(this,arguments):this.animate(L(
i,!0),e,t,s)}});t.fn.extend({fadeTo:function(e,t,i,n){return this.filter(S).css(
'opacity',0).show().end().animate({opacity:t},e,i,n)},animate:function(e,i,n,s){
var a=t.isEmptyObject(e),o=t.speed(i,n,s),r=function(){var i=He(this,t.extend({}
,e),o);if(a||t.i$(this,'finish')){i.stop(!0)}};r.finish=r;return a||o.queue===!1
?this.each(r):this.queue(o.queue,r)},stop:function(e,n,s){var r=function(e){var
t=e.stop;delete e.stop;t(s)};if(typeof e!=='string'){s=n;n=e;e=i};if(n&&e!==!1){
this.queue(e||'fx',[])};return this.each(function(){var a=!0,i=e!=null&&e+'queue
Hooks',o=t.timers,n=t.i$(this);if(i){if(n[i]&&n[i].stop){r(n[i])}}else{for(i in
n){if(n[i]&&n[i].stop&&pt.test(i)){r(n[i])}}};for(i=o.length;i--;){if(o[i].elem=
==this&&(e==null||o[i].queue===e)){o[i].anim.stop(s);a=!1;o.splice(i,1)}};if(a||
!s){t.dequeue(this,e)}})},finish:function(e){if(e!==!1){e=e||'fx'};return this.e
ach(function(){var i,r=t.i$(this),s=r[e+'queue'],o=r[e+'queueHooks'],n=t.timers,
a=s?s.length:0;r.finish=!0;t.queue(this,e,[]);if(o&&o.stop){o.stop.call(this,!0)
};for(i=n.length;i--;){if(n[i].elem===this&&n[i].queue===e){n[i].anim.stop(!0);n
.splice(i,1)}};for(i=0;i<a;i++){if(s[i]&&s[i].finish){s[i].finish.call(this)}};d
elete r.finish})}});function L(e,t){var s,i={height:e},n=0;t=t?1:0;for(;n<4;n+=2
-t){s=v[n];i['margin'+s]=i['padding'+s]=e};if(t){i.opacity=i.width=e};return i};
t.each({slideDown:L('show'),slideUp:L('hide'),slideToggle:L('toggle'),fadeIn:{op
acity:'show'},fadeOut:{opacity:'hide'},fadeToggle:{opacity:'toggle'}},function(e
,i){t.fn[e]=function(e,t,n){return this.animate(i,e,t,n)}});t.speed=function(e,i
,n){var s=e&&typeof e==='object'?t.extend({},e):{complete:n||!n&&i||t.isFunction
(e)&&e,duration:e,easing:n&&i||i&&!t.isFunction(i)&&i};s.duration=t.fx.off?0:typ
eof s.duration==='number'?s.duration:s.duration in t.fx.speeds?t.fx.speeds[s.dur
ation]:t.fx.speeds.k$;if(s.queue==null||s.queue===!0){s.queue='fx'};s.old=s.comp
lete;s.complete=function(){if(t.isFunction(s.old)){s.old.call(this)};if(s.queue)
{t.dequeue(this,s.queue)}};return s};t.easing={linear:function(e){return e},swin
g:function(e){return 0.5-Math.cos(e*Math.PI)/2}};t.timers=[];t.fx=o.prototype.in
it;t.fx.tick=function(){var s,n=t.timers,e=0;k=t.now();for(;e<n.length;e++){s=n[
e];if(!s()&&n[e]===s){n.splice(e--,1)}};if(!n.length){t.fx.stop()};k=i};t.fx.tim
er=function(e){if(e()&&t.timers.push(e)){t.fx.start()}};t.fx.interval=13;t.fx.st
art=function(){if(!O){O=setInterval(t.fx.tick,t.fx.interval)}};t.fx.stop=functio
n(){clearInterval(O);O=null};t.fx.speeds={slow:600,fast:200,k$:400};t.fx.step={}
;if(t.expr&&t.expr.filters){t.expr.filters.animated=function(e){return t.grep(t.
timers,function(t){return e===t.elem}).length}};t.fn.offset=function(e){if(argum
ents.length){return e===i?this:this.each(function(i){t.offset.setOffset(this,e,i
)})};var n,a,r={top:0,left:0},s=this[0],o=s&&s.ownerDocument;if(!o){return};n=o.
documentElement;if(!t.contains(n,s)){return r};if(typeof s.getBoundingClientRect
!==c){r=s.getBoundingClientRect()};a=qe(o);return{top:r.top+(a.pageYOffset||n.sc
rollTop)-(n.clientTop||0),left:r.left+(a.pageXOffset||n.scrollLeft)-(n.clientLef
t||0)}};t.offset={setOffset:function(e,i,n){var u=t.css(e,'position');if(u==='st
atic'){e.style.position='relative'};var l=t(e),a=l.offset(),h=t.css(e,'top'),f=t
.css(e,'left'),d=(u==='absolute'||u==='fixed')&&t.inArray('auto',[h,f])>-1,s={},
o={},c,r;if(d){o=l.position();c=o.top;r=o.left}else{c=parseFloat(h)||0;r=parseFl
oat(f)||0};if(t.isFunction(i)){i=i.call(e,n,a)};if(i.top!=null){s.top=(i.top-a.t
op)+c};if(i.left!=null){s.left=(i.left-a.left)+r};if('using' in i){i.using.call(
e,s)}else{l.css(s)}}};t.fn.extend({position:function(){if(!this[0]){return};var
i,s,e={top:0,left:0},n=this[0];if(t.css(n,'position')==='fixed'){s=n.getBounding
ClientRect()}else{i=this.offsetParent();s=this.offset();if(!t.nodeName(i[0],'htm
l')){e=i.offset()};e.top+=t.css(i[0],'borderTopWidth',!0);e.left+=t.css(i[0],'bo
rderLeftWidth',!0)};return{top:s.top-e.top-t.css(n,'marginTop',!0),left:s.left-e
.left-t.css(n,'marginLeft',!0)}},offsetParent:function(){return this.map(functio
n(){var e=this.offsetParent||oe;while(e&&(!t.nodeName(e,'html')&&t.css(e,'positi
on')==='static')){e=e.offsetParent};return e||oe})}});t.each({scrollLeft:'pageXO
ffset',scrollTop:'pageYOffset'},function(e,n){var s=/Y/.test(n);t.fn[e]=function
(r){return t.access(this,function(e,r,o){var a=qe(e);if(o===i){return a?(n in a)
?a[n]:a.document.documentElement[r]:e[r]};if(a){a.scrollTo(!s?o:t(a).scrollLeft(
),s?o:t(a).scrollTop())}else{e[r]=o}},e,r,arguments.length,null)}});function qe(
e){return t.isWindow(e)?e:e.nodeType===9?e.defaultView||e.parentWindow:!1};t.eac
h({Height:'height',Width:'width'},function(e,n){t.each({padding:'inner'+e,conten
t:n,'':'outer'+e},function(s,r){t.fn[r]=function(r,o){var l=arguments.length&&(s
||typeof r!=='boolean'),a=s||(r===!0||o===!0?'margin':'border');return t.access(
this,function(n,s,r){var o;if(t.isWindow(n)){return n.document.documentElement['
client'+e]};if(n.nodeType===9){o=n.documentElement;return Math.max(n.body['scrol
l'+e],o['scroll'+e],n.body['offset'+e],o['offset'+e],o['client'+e])};return r===
i?t.css(n,s,a):t.style(n,s,r,a)},n,l?r:i,l,null)}})});t.fn.size=function(){retur
n this.length};t.fn.andSelf=t.fn.addBack;if(typeof module==='object'&&module&&ty
peof module.exports==='object'){module.exports=t}else{e.jQuery=e.$=t;if(typeof d
efine==='function'&&define.amd){define('jquery',[],function(){return t})}}})(win
dow);(function(e,t,i){var a={};e.migrateWarnings=[];if(!e.migrateMute&&t.console
&&t.console.log){t.console.log('JQMIGRATE: Logging is active')};if(e.migrateTrac
e===i){e.migrateTrace=!0};e.migrateReset=function(){a={};e.migrateWarnings.lengt
h=0};function n(i){var n=t.console;if(!a[i]){a[i]=!0;e.migrateWarnings.push(i);i
f(n&&n.warn&&!e.migrateMute){n.warn('JQMIGRATE: '+i);if(e.migrateTrace&&n.trace)
{n.trace()}}}};function l(t,i,s,r){if(Object.defineProperty){try{Object.definePr
operty(t,i,{configurable:!0,enumerable:!0,get:function(){n(r);return s},set:func
tion(e){n(r);s=e}});return}catch(o){}};e.Mi$=!0;t[i]=s};if(document.compatMode==
='BackCompat'){n('jQuery is not compatible with Quirks Mode')};var o=e('<input/>
',{size:1}).attr('size')&&e.attrFn,u=e.attr,w=e.attrHooks.value&&e.attrHooks.val
ue.get||function(){return null},y=e.attrHooks.value&&e.attrHooks.value.set||func
tion(){return i},x=/^(?:input|button)$/i,v=/^[238]$/,k=/^(?:autofocus|autoplay|a
sync|checked|controls|defer|disabled|hidden|loop|multiple|open|readonly|required
|scoped|selected)$/i,b=/^(?:checked|selected)$/i;l(e,'attrFn',o||{},'jQuery.attr
Fn is deprecated');e.attr=function(t,s,r,a){var l=s.toLowerCase(),c=t&&t.nodeTyp
e;if(a){if(u.length<4){n('jQuery.fn.attr( props, pass ) is deprecated')};if(t&&!
v.test(c)&&(o?s in attrFn:e.isFunction(e.fn[s]))){return e(t)[s](r)}};if(s==='ty
pe'&&r!==i&&x.test(t.nodeName)&&t.parentNode){n('Can\'t change the \'type\' of a
n input or button in IE 6/7/8')};if(!e.attrHooks[l]&&k.test(l)){e.attrHooks[l]={
get:function(t,n){var r,s=e.prop(t,n);return s===!0||typeof s!=='boolean'&&(r=t.
getAttributeNode(n))&&r.nodeValue!==!1?n.toLowerCase():i},set:function(t,i,n){va
r s;if(i===!1){e.removeAttr(t,n)}else{s=e.propFix[n]||n;if(s in t){t[s]=!0};t.se
tAttribute(n,n.toLowerCase())};return n}};if(b.test(l)){n('jQuery.fn.attr(\''+l+
'\') may use property instead of attribute')}};return u.call(e,t,s,r)};e.attrHoo
ks.value={get:function(e,t){var i=(e.nodeName||'').toLowerCase();if(i==='button'
){return w.apply(this,arguments)};if(i!=='input'&&i!=='option'){n('jQuery.fn.att
r(\'value\') no longer gets properties')};return t in e?e.value:null},set:functi
on(e,t){var i=(e.nodeName||'').toLowerCase();if(i==='button'){return y.apply(thi
s,arguments)};if(i!=='input'&&i!=='option'){n('jQuery.fn.attr(\'value\', val) no
longer sets properties')};e.value=t}};var r,s,f=e.fn.init,j=e.parseJSON,E=/^([^
<]*)(<[\w\W]+>)([^>]*)$/;e.fn.init=function(t,i,s){var r;if(t&&typeof t==='strin
g'&&!e.isPlainObject(i)&&(r=E.exec(e.trim(t)))&&r[0]){if(t.charAt(0)!=='<'){n('$
(html) HTML strings must start with \'<\' character')};if(r[3]){n('$(html) HTML
text after last tag is ignored')};if(r[0].charAt(0)==='#'){n('HTML string cannot
start with a \'#\' character');e.error('JQMIGRATE: Invalid selector string (XSS
)')};if(i&&i.context){i=i.context};if(e.parseHTML){return f.call(this,e.parseHTM
L(r[2],i,!0),i,s)}};return f.apply(this,arguments)};e.fn.init.prototype=e.fn;e.p
arseJSON=function(e){if(!e&&e!==null){n('jQuery.parseJSON requires a valid JSON
string');return null};return j.apply(this,arguments)};e.uaMatch=function(e){e=e.
toLowerCase();var t=/(chrome)[ \/]([\w.]+)/.exec(e)||/(webkit)[ \/]([\w.]+)/.exe
c(e)||/(opera)(?:.*version|)[ \/]([\w.]+)/.exec(e)||/(msie) ([\w.]+)/.exec(e)||e
.indexOf('compatible')<0&&/(mozilla)(?:.*? rv:([\w.]+)|)/.exec(e)||[];return{bro
wser:t[1]||'',version:t[2]||'0'}};if(!e.browser){r=e.uaMatch(navigator.userAgent
);s={};if(r.browser){s[r.browser]=!0;s.version=r.version};if(s.chrome){s.webkit=
!0}else if(s.webkit){s.safari=!0};e.browser=s};l(e,'browser',e.browser,'jQuery.b
rowser is deprecated');e.sub=function(){function t(e,i){return new t.fn.init(e,i
)};e.extend(!0,t,this);t.superclass=this;t.fn=t.prototype=this();t.fn.constructo
r=t;t.sub=this.sub;t.fn.init=function(n,s){if(s&&s instanceof e&&!(s instanceof
t)){s=t(s)};return e.fn.init.call(this,n,s,i)};t.fn.init.prototype=t.fn;var i=t(
document);n('jQuery.sub() is deprecated');return t};e.ajaxSetup({converters:{'te
xt json':e.parseJSON}});var C=e.fn.data;e.fn.data=function(t){var o,s,r=this[0];
if(r&&t==='events'&&arguments.length===1){o=e.data(r,t);s=e.i$(r,t);if((o===i||o
===s)&&s!==i){n('Use of jQuery.fn.data(\'events\') is deprecated');return s}};re
turn C.apply(this,arguments)};var N=/\/(java|ecma)script/i,A=e.fn.andSelf||e.fn.
addBack;e.fn.andSelf=function(){n('jQuery.fn.andSelf() replaced by jQuery.fn.add
Back()');return A.apply(this,arguments)};if(!e.clean){e.clean=function(t,i,s,r){
i=i||document;i=!i.nodeType&&i[0]||i;i=i.ownerDocument||i;n('jQuery.clean() is d
eprecated');var l,o,c,u,a=[];e.merge(a,e.buildFragment(t,i).childNodes);if(s){c=
function(e){if(!e.type||N.test(e.type)){return r?r.push(e.parentNode?e.parentNod
e.removeChild(e):e):s.appendChild(e)}};for(l=0;(o=a[l])!=null;l++){if(!(e.nodeNa
me(o,'script')&&c(o))){s.appendChild(o);if(typeof o.getElementsByTagName!=='unde
fined'){u=e.grep(e.merge([],o.getElementsByTagName('script')),c);a.splice.apply(
a,[l+1,0].concat(u));l+=u.length}}}};return a}};var D=e.event.add,S=e.event.remo
ve,T=e.event.trigger,P=e.fn.toggle,p=e.fn.live,d=e.fn.die,g='ajaxStart|ajaxStop|
ajaxSend|ajaxComplete|ajaxError|ajaxSuccess',m=new RegExp('\\b(?:'+g+')\\b'),h=/
(?:^|\s)hover(\.\S+|)\b/,c=function(t){if(typeof(t)!=='string'||e.event.special.
hover){return t};if(h.test(t)){n('\'hover\' pseudo-event is deprecated, use \'mo
useenter mouseleave\'')};return t&&t.replace(h,'mouseenter$1 mouseleave$1')};if(
e.event.props&&e.event.props[0]!=='attrChange'){e.event.props.unshift('attrChang
e','attrName','relatedNode','srcElement')};if(e.event.dispatch){l(e.event,'handl
e',e.event.dispatch,'jQuery.event.handle is undocumented and deprecated')};e.eve
nt.add=function(e,t,i,s,r){if(e!==document&&m.test(t)){n('AJAX events should be
attached to document: '+t)};D.call(this,e,c(t||''),i,s,r)};e.event.remove=functi
on(e,t,i,n,s){S.call(this,e,c(t)||'',i,n,s)};e.fn.error=function(){var e=Array.p
rototype.slice.call(arguments,0);n('jQuery.fn.error() is deprecated');e.splice(0
,0,'error');if(arguments.length){return this.bind.apply(this,e)};this.triggerHan
dler.apply(this,e);return this};e.fn.toggle=function(t,i){if(!e.isFunction(t)||!
e.isFunction(i)){return P.apply(this,arguments)};n('jQuery.fn.toggle(handler, ha
ndler...) is deprecated');var r=arguments,a=t.guid||e.guid++,s=0,o=function(i){v
ar n=(e.i$(this,'lastToggle'+t.guid)||0)%s;e.i$(this,'lastToggle'+t.guid,n+1);i.
preventDefault();return r[n].apply(this,arguments)||!1};o.guid=a;while(s<r.lengt
h){r[s++].guid=a};return this.click(o)};e.fn.live=function(t,i,s){n('jQuery.fn.l
ive() is deprecated');if(p){return p.apply(this,arguments)};e(this.context).on(t
,this.selector,i,s);return this};e.fn.die=function(t,i){n('jQuery.fn.die() is de
precated');if(d){return d.apply(this,arguments)};e(this.context).off(t,this.sele
ctor||'**',i);return this};e.event.trigger=function(e,t,i,s){if(!i&&!m.test(e)){
n('Global events are undocumented and deprecated')};return T.call(this,e,t,i||do
cument,s)};e.each(g.split('|'),function(t,i){e.event.special[i]={setup:function(
){var t=this;if(t!==document){e.event.add(document,i+'.'+e.guid,function(){e.eve
nt.trigger(i,null,t,!0)});e.i$(this,i,e.guid++)};return!1},teardown:function(){i
f(this!==document){e.event.remove(document,i+'.'+e.i$(this,i))};return!1}}})})(j
Query,window);(function(e){'use strict';if(typeof define==='function'&&define.am
d){define(['jquery'],e)}else{e((typeof(jQuery)!='undefined')?jQuery:window.Zepto
)}}(function(e){'use strict';var i={};i.fileapi=e('<input type=\'file\'/>').get(
0).files!==undefined;i.formdata=window.FormData!==undefined;var r=!!e.fn.prop;e.
fn.attr2=function(){if(!r){return this.attr.apply(this,arguments)};var e=this.pr
op.apply(this,arguments);if((e&&e.jquery)||typeof e==='string'){return e};return
this.attr.apply(this,arguments)};e.fn.ajaxSubmit=function(n){if(!this.length){t
('ajaxSubmit: skipping submit process - no element selected');return this};var o
,v,a,s=this;if(typeof n=='function'){n={success:n}}else if(n===undefined){n={}};
o=n.type||this.attr2('method');v=n.url||this.attr2('action');a=(typeof v==='stri
ng')?e.trim(v):'';a=a||window.location.href||'';if(a){a=(a.match(/^([^#]+)/)||[]
)[1]};n=e.extend(!0,{url:a,success:e.ajaxSettings.success,type:o||e.ajaxSettings
.type,iframeSrc:/^https/i.test(window.location.href||'')?'javascript:false':'abo
ut:blank'},n);var d={};this.trigger('form-pre-serialize',[this,n,d]);if(d.veto){
t('ajaxSubmit: submit vetoed via form-pre-serialize trigger');return this};if(n.
beforeSerialize&&n.beforeSerialize(this,n)===!1){t('ajaxSubmit: submit aborted v
ia beforeSerialize callback');return this};var p=n.traditional;if(p===undefined)
{p=e.ajaxSettings.traditional};var h=[],m,l=this.formToArray(n.semantic,h);if(n.
data){n.extraData=n.data;m=e.param(n.data,p)};if(n.beforeSubmit&&n.beforeSubmit(
l,this,n)===!1){t('ajaxSubmit: submit aborted via beforeSubmit callback');return
this};this.trigger('form-submit-validate',[l,this,n,d]);if(d.veto){t('ajaxSubmi
t: submit vetoed via form-submit-validate trigger');return this};var u=e.param(l
,p);if(m){u=(u?(u+'&'+m):m)};if(n.type.toUpperCase()=='GET'){n.url+=(n.url.index
Of('?')>=0?'&':'?')+u;n.data=null}else{n.data=u};var c=[];if(n.resetForm){c.push
(function(){s.resetForm()})};if(n.clearForm){c.push(function(){s.clearForm(n.inc
ludeHidden)})};if(!n.dataType&&n.target){var S=n.success||function(){};c.push(fu
nction(t){var i=n.replaceTarget?'replaceWith':'html';e(n.target)[i](t).each(S,ar
guments)})}else if(n.success){c.push(n.success)};n.success=function(e,t,i){var o
=n.context||this;for(var r=0,a=c.length;r<a;r++){c[r].apply(o,[e,t,i||s,s])}};if
(n.error){var D=n.error;n.error=function(e,t,i){var r=n.context||this;D.apply(r,
[e,t,i,s])}};if(n.complete){var N=n.complete;n.complete=function(e,t){var i=n.co
ntext||this;N.apply(i,[e,t,s])}};var P=e('input[type=file]:enabled',this).filter
(function(){return e(this).val()!==''}),w=P.length>0,y='multipart/form-data',x=(
s.attr('enctype')==y||s.attr('encoding')==y),b=i.fileapi&&i.formdata;t('fileAPI
:'+b);var j=(w||x)&&!b,f;if(n.iframe!==!1&&(n.iframe||j)){if(n.closeKeepAlive){e
.get(n.closeKeepAlive,function(){f=k(l)})}else{f=k(l)}}else if((w||x)&&b){f=T(l)
}else{f=e.ajax(n)};s.removeData('jqxhr').data('jqxhr',f);for(var g=0;g<h.length;
g++){h[g]=null};this.trigger('form-submit-notify',[this,n]);return this;function
C(t){var s=e.param(t,n.traditional).split('&'),a=s.length,o=[],i,r;for(i=0;i<a;
i++){s[i]=s[i].replace(/\+/g,' ');r=s[i].split('=');o.push([decodeURIComponent(r
[0]),decodeURIComponent(r[1])])};return o};function T(t){var a=new FormData();fo
r(var i=0;i<t.length;i++){a.append(t[i].name,t[i].value)};if(n.extraData){var r=
C(n.extraData);for(i=0;i<r.length;i++){if(r[i]){a.append(r[i][0],r[i][1])}}};n.d
ata=null;var s=e.extend(!0,{},e.ajaxSettings,n,{contentType:!1,processData:!1,ca
che:!1,type:o||'POST'});if(n.uploadProgress){s.xhr=function(){var t=e.ajaxSettin
gs.xhr();if(t.upload){t.upload.addEventListener('progress',function(e){var i=0,s
=e.loaded||e.position,t=e.total;if(e.lengthComputable){i=Math.ceil(s/t*100)};n.u
ploadProgress(e,s,t,i)},!1)};return t}};s.data=null;var l=s.beforeSend;s.beforeS
end=function(e,t){if(n.formData){t.data=n.formData}else{t.data=a};if(l){l.call(t
his,e,t)}};return e.ajax(s)};function k(i){var u=s[0],C,w,a,m,x,d,f,l,b,g,k,y,p=
e.Deferred();p.abort=function(e){l.abort(e)};if(i){for(w=0;w<h.length;w++){C=e(h
[w]);if(r){C.prop('disabled',!1)}else{C.removeAttr('disabled')}}};a=e.extend(!0,
{},e.ajaxSettings,n);a.context=a.context||a;x='jqFormIO'+(new Date().getTime());
if(a.iframeTarget){d=e(a.iframeTarget);g=d.attr2('name');if(!g){d.attr2('name',x
)}else{x=g}}else{d=e('<iframe name="'+x+'" src="'+a.iframeSrc+'" />');d.css({pos
ition:'absolute',top:'-1000px',left:'-1000px'})};f=d[0];l={aborted:0,responseTex
t:null,responseXML:null,status:0,statusText:'n/a',getAllResponseHeaders:function
(){},getResponseHeader:function(){},setRequestHeader:function(){},abort:function
(i){var s=(i==='timeout'?'timeout':'aborted');t('aborting upload... '+s);this.ab
orted=1;try{if(f.contentWindow.document.execCommand){f.contentWindow.document.ex
ecCommand('Stop')}}catch(n){};d.attr('src',a.iframeSrc);l.error=s;if(a.error){a.
error.call(a.context,l,s,i)};if(m){e.event.trigger('ajaxError',[l,a,s])};if(a.co
mplete){a.complete.call(a.context,l,s)}}};m=a.global;if(m&&0===e.active++){e.eve
nt.trigger('ajaxStart')};if(m){e.event.trigger('ajaxSend',[l,a])};if(a.beforeSen
d&&a.beforeSend.call(a.context,l,a)===!1){if(a.global){e.active--};p.reject();re
turn p};if(l.aborted){p.reject();return p};b=u.clk;if(b){g=b.name;if(g&&!b.disab
led){a.extraData=a.extraData||{};a.extraData[g]=b.value;if(b.type=='image'){a.ex
traData[g+'.x']=u.clk_x;a.extraData[g+'.y']=u.clk_y}}};var N=1,T=2;function j(e)
{var n=null;try{if(e.contentWindow){n=e.contentWindow.document}}catch(i){t('cann
ot get iframe.contentWindow document: '+i)};if(n){return n};try{n=e.contentDocum
ent?e.contentDocument:e.document}catch(i){t('cannot get iframe.contentDocument:
'+i);n=e.document};return n};var E=e('meta[name=csrf-token]').attr('content'),A=
e('meta[name=csrf-param]').attr('content');if(A&&E){a.extraData=a.extraData||{};
a.extraData[A]=E};function D(){var h=s.attr2('target'),c=s.attr2('action'),g='mu
ltipart/form-data',m=s.attr('enctype')||s.attr('encoding')||g;u.setAttribute('ta
rget',x);if(!o||/post/i.test(o)){u.setAttribute('method','POST')};if(c!=a.url){u
.setAttribute('action',a.url)};if(!a.skipEncodingOverride&&(!o||/post/i.test(o))
){s.attr({encoding:'multipart/form-data',enctype:'multipart/form-data'})};if(a.t
imeout){y=setTimeout(function(){k=!0;v(N)},a.timeout)};function l(){try{var i=j(
f).readyState;t('state = '+i);if(i&&i.toLowerCase()=='uninitialized'){setTimeout
(l,50)}}catch(e){t('Server abort: ',e,' (',e.name,')');v(T);if(y){clearTimeout(y
)};y=undefined}};var r=[];try{if(a.extraData){for(var n in a.extraData){if(a.ext
raData.hasOwnProperty(n)){if(e.isPlainObject(a.extraData[n])&&a.extraData[n].has
OwnProperty('name')&&a.extraData[n].hasOwnProperty('value')){r.push(e('<input ty
pe="hidden" name="'+a.extraData[n].name+'">').val(a.extraData[n].value).appendTo
(u)[0])}else{r.push(e('<input type="hidden" name="'+n+'">').val(a.extraData[n]).
appendTo(u)[0])}}}};if(!a.iframeTarget){d.appendTo('body')};if(f.attachEvent){f.
attachEvent('onload',v)}else{f.addEventListener('load',v,!1)};setTimeout(l,15);t
ry{u.submit()}catch(i){var p=document.createElement('form').submit;p.apply(u)}}f
inally{u.setAttribute('action',c);u.setAttribute('enctype',m);if(h){u.setAttribu
te('target',h)}else{s.removeAttr('target')};e(r).remove()}};if(a.forceSync){D()}
else{setTimeout(D,10)};var S,c,M=50,P;function v(i){if(l.aborted||P){return};c=j
(f);if(!c){t('cannot access response document');i=T};if(i===N&&l){l.abort('timeo
ut');p.reject(l,'timeout');return}else if(i==T&&l){l.abort('server abort');p.rej
ect(l,'error','server abort');return};if(!c||c.location.href==a.iframeSrc){if(!k
){return}};if(f.detachEvent){f.detachEvent('onload',v)}else{f.removeEventListene
r('load',v,!1)};var s='success',r;try{if(k){throw'timeout';};var x=a.dataType=='
xml'||c.XMLDocument||e.isXMLDoc(c);t('isXml='+x);if(!x&&window.opera&&(c.body===
null||!c.body.innerHTML)){if(--M){t('requeing onLoad callback, DOM not available
');setTimeout(v,250);return}};var o=c.body?c.body:c.documentElement;l.responseTe
xt=o?o.innerHTML:null;l.responseXML=c.XMLDocument?c.XMLDocument:c;if(x){a.dataTy
pe='xml'};l.getResponseHeader=function(e){var t={'content-type':a.dataType};retu
rn t[e.toLowerCase()]};if(o){l.status=Number(o.getAttribute('status'))||l.status
;l.statusText=o.getAttribute('statusText')||l.statusText};var b=(a.dataType||'')
.toLowerCase(),w=/(json|script|text)/.test(b);if(w||a.textarea){var u=c.getEleme
ntsByTagName('textarea')[0];if(u){l.responseText=u.value;l.status=Number(u.getAt
tribute('status'))||l.status;l.statusText=u.getAttribute('statusText')||l.status
Text}else if(w){var h=c.getElementsByTagName('pre')[0],g=c.getElementsByTagName(
'body')[0];if(h){l.responseText=h.textContent?h.textContent:h.innerText}else if(
g){l.responseText=g.textContent?g.textContent:g.innerText}}}else if(b=='xml'&&!l
.responseXML&&l.responseText){l.responseXML=I(l.responseText)};try{S=L(l,b,a)}ca
tch(n){s='parsererror';l.error=r=(n||s)}}catch(n){t('error caught: ',n);s='error
';l.error=r=(n||s)};if(l.aborted){t('upload aborted');s=null};if(l.status){s=(l.
status>=200&&l.status<300||l.status===304)?'success':'error'};if(s==='success'){
if(a.success){a.success.call(a.context,S,'success',l)};p.resolve(l.responseText,
'success',l);if(m){e.event.trigger('ajaxSuccess',[l,a])}}else if(s){if(r===undef
ined){r=l.statusText};if(a.error){a.error.call(a.context,l,s,r)};p.reject(l,'err
or',r);if(m){e.event.trigger('ajaxError',[l,a,r])}};if(m){e.event.trigger('ajaxC
omplete',[l,a])};if(m&&!--e.active){e.event.trigger('ajaxStop')};if(a.complete){
a.complete.call(a.context,l,s)};P=!0;if(a.timeout){clearTimeout(y)};setTimeout(f
unction(){if(!a.iframeTarget){d.remove()}else{d.attr('src',a.iframeSrc)};l.respo
nseXML=null},100)};var I=e.parseXML||function(e,t){if(window.ActiveXObject){t=ne
w ActiveXObject('Microsoft.XMLDOM');t.async='false';t.loadXML(e)}else{t=(new DOM
Parser()).parseFromString(e,'text/xml')};return(t&&t.documentElement&&t.document
Element.nodeName!='parsererror')?t:null},O=e.parseJSON||function(e){return windo
w['eval']('('+e+')')},L=function(t,i,n){var r=t.getResponseHeader('content-type'
)||'',o=i==='xml'||!i&&r.indexOf('xml')>=0,s=o?t.responseXML:t.responseText;if(o
&&s.documentElement.nodeName==='parsererror'){if(e.error){e.error('parsererror')
}};if(n&&n.dataFilter){s=n.dataFilter(s,i)};if(typeof s==='string'){if(i==='json
'||!i&&r.indexOf('json')>=0){s=O(s)}else if(i==='script'||!i&&r.indexOf('javascr
ipt')>=0){e.globalEval(s)}};return s};return p}};e.fn.ajaxForm=function(i){i=i||
{};i.delegation=i.delegation&&e.isFunction(e.fn.on);if(!i.delegation&&this.lengt
h===0){var r={s:this.selector,c:this.context};if(!e.isReady&&r.s){t('DOM not rea
dy, queuing ajaxForm');e(function(){e(r.s,r.c).ajaxForm(i)});return this};t('ter
minating; zero elements found by selector'+(e.isReady?'':' (DOM not ready)'));re
turn this};if(i.delegation){e(document).off('submit.form-plugin',this.selector,n
).off('click.form-plugin',this.selector,s).on('submit.form-plugin',this.selector
,i,n).on('click.form-plugin',this.selector,i,s);return this};return this.ajaxFor
mUnbind().bind('submit.form-plugin',i,n).bind('click.form-plugin',i,s)};function
n(t){var i=t.data;if(!t.isDefaultPrevented()){t.preventDefault();e(t.target).aj
axSubmit(i)}};function s(t){var n=t.target,s=e(n);if(!(s.is('[type=submit],[type
=image]'))){var r=s.closest('[type=submit]');if(r.length===0){return};n=r[0]};va
r i=this;i.clk=n;if(n.type=='image'){if(t.offsetX!==undefined){i.clk_x=t.offsetX
;i.clk_y=t.offsetY}else if(typeof e.fn.offset=='function'){var o=s.offset();i.cl
k_x=t.pageX-o.left;i.clk_y=t.pageY-o.top}else{i.clk_x=t.pageX-n.offsetLeft;i.clk
_y=t.pageY-n.offsetTop}};setTimeout(function(){i.clk=i.clk_x=i.clk_y=null},100)}
;e.fn.ajaxFormUnbind=function(){return this.unbind('submit.form-plugin click.for
m-plugin')};e.fn.formToArray=function(t,n){var o=[];if(this.length===0){return o
};var a=this[0],b=this.attr('id'),l=t?a.getElementsByTagName('*'):a.elements,d;i
f(l&&!/MSIE [678]/.test(navigator.userAgent)){l=e(l).get()};if(b){d=e(':input[fo
rm='+b+']').get();if(d.length){l=(l||[]).concat(d)}};if(!l||!l.length){return o}
;var f,u,r,c,s,g,v;for(f=0,g=l.length;f<g;f++){s=l[f];r=s.name;if(!r||s.disabled
){continue};if(t&&a.clk&&s.type=='image'){if(a.clk==s){o.push({name:r,value:e(s)
.val(),type:s.type});o.push({name:r+'.x',value:a.clk_x},{name:r+'.y',value:a.clk
_y})};continue};c=e.fieldValue(s,!0);if(c&&c.constructor==Array){if(n){n.push(s)
};for(u=0,v=c.length;u<v;u++){o.push({name:r,value:c[u]})}}else if(i.fileapi&&s.
type=='file'){if(n){n.push(s)};var p=s.files;if(p.length){for(u=0;u<p.length;u++
){o.push({name:r,value:p[u],type:s.type})}}else{o.push({name:r,value:'',type:s.t
ype})}}else if(c!==null&&typeof c!='undefined'){if(n){n.push(s)};o.push({name:r,
value:c,type:s.type,required:s.required})}};if(!t&&a.clk){var m=e(a.clk),h=m[0];
r=h.name;if(r&&!h.disabled&&h.type=='image'){o.push({name:r,value:m.val()});o.pu
sh({name:r+'.x',value:a.clk_x},{name:r+'.y',value:a.clk_y})}};return o};e.fn.for
mSerialize=function(t){return e.param(this.formToArray(t))};e.fn.fieldSerialize=
function(t){var i=[];this.each(function(){var r=this.name;if(!r){return};var n=e
.fieldValue(this,t);if(n&&n.constructor==Array){for(var s=0,o=n.length;s<o;s++){
i.push({name:r,value:n[s]})}}else if(n!==null&&typeof n!='undefined'){i.push({na
me:this.name,value:n})}});return e.param(i)};e.fn.fieldValue=function(t){for(var
s=[],n=0,r=this.length;n<r;n++){var o=this[n],i=e.fieldValue(o,t);if(i===null||
typeof i=='undefined'||(i.constructor==Array&&!i.length)){continue};if(i.constru
ctor==Array){e.merge(s,i)}else{s.push(i)}};return s};e.fieldValue=function(t,i){
var d=t.name,s=t.type,c=t.tagName.toLowerCase();if(i===undefined){i=!0};if(i&&(!
d||t.disabled||s=='reset'||s=='button'||(s=='checkbox'||s=='radio')&&!t.checked|
|(s=='submit'||s=='image')&&t.form&&t.form.clk!=t||c=='select'&&t.selectedIndex=
=-1)){return null};if(c=='select'){var l=t.selectedIndex;if(l<0){return null};va
r f=[],u=t.options,o=(s=='select-one'),h=(o?l+1:u.length);for(var a=(o?l:0);a<h;
a++){var n=u[a];if(n.selected){var r=n.value;if(!r){r=(n.attributes&&n.attribute
s.value&&!(n.attributes.value.specified))?n.text:n.value};if(o){return r};f.push
(r)}};return f};return e(t).val()};e.fn.clearForm=function(t){return this.each(f
unction(){e('input,select,textarea',this).clearFields(t)})};e.fn.clearFields=e.f
n.clearInputs=function(t){var i=/^(?:color|date|datetime|email|month|number|pass
word|range|search|tel|text|time|url|week)$/i;return this.each(function(){var n=t
his.type,s=this.tagName.toLowerCase();if(i.test(n)||s=='textarea'){this.value=''
}else if(n=='checkbox'||n=='radio'){this.checked=!1}else if(s=='select'){this.se
lectedIndex=-1}else if(n=='file'){if(/MSIE/.test(navigator.userAgent)){e(this).r
eplaceWith(e(this).clone(!0))}else{e(this).val('')}}else if(t){if((t===!0&&/hidd
en/.test(n))||(typeof t=='string'&&e(this).is(t))){this.value=''}}})};e.fn.reset
Form=function(){return this.each(function(){if(typeof this.reset=='function'||(t
ypeof this.reset=='object'&&!this.reset.nodeType)){this.reset()}})};e.fn.enable=
function(e){if(e===undefined){e=!0};return this.each(function(){this.disabled=!e
})};e.fn.selected=function(t){if(t===undefined){t=!0};return this.each(function(
){var n=this.type;if(n=='checkbox'||n=='radio'){this.checked=t}else if(this.tagN
ame.toLowerCase()=='option'){var i=e(this).parent('select');if(t&&i[0]&&i[0].typ
e=='select-one'){i.find('option').selected(!1)};this.selected=t}})};e.fn.ajaxSub
mit.debug=!1;function t(){if(!e.fn.ajaxSubmit.debug){return};var t='[jquery.form
] '+Array.prototype.join.call(arguments,'');if(window.console&&window.console.lo
g){window.console.log(t)}else if(window.opera&&window.opera.postError){window.op
era.postError(t)}}}));jQuery.cookie=function(e,t,i){if(typeof t!='undefined'){i=
i||{};if(t===null){t='';i.expires=-1};var r='';if(i.expires&&(typeof i.expires==
'number'||i.expires.toUTCString)){var n;if(typeof i.expires=='number'){n=new Dat
e();n.setTime(n.getTime()+(i.expires*24*60*60*1000))}else{n=i.expires};r='; expi
res='+n.toUTCString()};var f=i.path?'; path='+(i.path):'',u=i.domain?'; domain='
+(i.domain):'',c=i.secure?'; secure':'';document.cookie=[e,'=',encodeURIComponen
t(t),r,f,u,c].join('')}else{var l=null;if(document.cookie&&document.cookie!=''){
var o=document.cookie.split(';');for(var s=0;s<o.length;s++){var a=jQuery.trim(o
[s]);if(a.substring(0,e.length+1)==(e+'=')){l=decodeURIComponent(a.substring(e.l
ength+1));break}}};return l}};(function(e,t,i){'use strict';e.map(['localStorage
','sessionStorage'],function(n){var r={cookiePrefix:'fallback:'+n+':',cookieOpti
ons:{path:'/',domain:i.domain,expires:('localStorage'===n)?{expires:365}:undefin
ed}};try{e.support[n]=n in t&&t[n]!==null}catch(s){e.support[n]=!1};e[n]=functio
n(s,o){var a=e.extend({},r,e[n].options);this.getItem=function(i){var r=function
(i){return JSON.parse(e.support[n]?t[n].getItem(i):e.cookie(a.cookiePrefix+i))};
if(typeof i==='string')return r(i);var o=[],s=i.length;while(s--)o[s]=r(i[s]);re
turn o};this.setItem=function(i,s){s=JSON.stringify(s);return e.support[n]?t[n].
setItem(i,s):e.cookie(a.cookiePrefix+i,s,a.cookieOptions)};this.removeItem=funct
ion(i){return e.support[n]?t[n].removeItem(i):e.cookie(a.cookiePrefix+i,null,e.e
xtend(a.cookieOptions,{expires:-1}))};this.clear=function(){if(e.support[n]){ret
urn t[n].clear()}else{var r=new RegExp('^'+a.cookiePrefix,''),s=e.extend(a.cooki
eOptions,{expires:-1});if(i.cookie&&i.cookie!==''){e.map(i.cookie.split(';'),fun
ction(t){if(r.test(t=e.trim(t))){e.cookie(t.substr(0,t.indexOf('=')),null,s)}})}
}};if(typeof s!=='undefined'){return typeof o!=='undefined'?(o===null?this.remov
eItem(s):this.setItem(s,o)):this.getItem(s)};return this};e[n].options=r})}(jQue
ry,window,document));$.fn.customFileInput=function(){return $(this).each(functio
n(){var e=$(this).addClass('customfile-input').mouseover(function(){t.addClass('
customfile-hover')}).mouseout(function(){t.removeClass('customfile-hover')}).foc
us(function(){t.addClass('customfile-focus');e.data('val',e.val())}).blur(functi
on(){t.removeClass('customfile-focus');$(this).trigger('checkChange')}).bind('di
sable',function(){e.prop('disabled',!0);t.addClass('customfile-disabled')}).bind
('enable',function(){e.prop('disabled',!1);t.removeClass('customfile-disabled')}
).bind('checkChange',function(){if(e.val()&&e.val()!=e.data('val')){e.trigger('c
hange')}}).bind('change',function(){var t=$(this).val().split(/\\/).pop(),e='cus
tomfile-ext-'+t.split('.').pop().toLowerCase();i.text(t).removeClass(i.data('fil
eExt')||'').addClass(e).data('fileExt',e).addClass('customfile-feedback-populate
d');n.html('<span>Change</span>')}).click(function(){e.data('val',e.val());setTi
meout(function(){e.trigger('checkChange')},100)}),t=$('<div class="customfile"><
/div>'),i=$('<span class="customfile-feedback" aria-hidden="true">No file select
ed...</span>').appendTo(t),n=$('<span class="customfile-button siteButton bigBut
ton" aria-hidden="true"><span>Browse</span></span>').appendTo(t);if(e.is('[disab
led]')){e.trigger('disable')};t.mousemove(function(i){e.css({'left':i.pageX-t.of
fset().left-e.outerWidth()+20,'top':i.pageY-t.offset().top-10})}).insertAfter(e)
;e.appendTo(t)})};(function(e){e.fn.showPassword=function(t,i){var n=e(this);e.f
n.showPassword.checker=function(t,i){e('input[id="'+t+'"]').click(function(){if(
e(this).attr('checked')){e('input.'+i).val(n.val()).attr('id',n.attr('id')).attr
('name',n.attr('name'));e('input.'+i).css('display','inline');n.css('display','n
one').removeAttr('id').removeAttr('name')}else{n.val(e('input.'+i).val()).attr('
id',e('input.'+i).attr('id')).attr('name',e('input.'+i).attr('name'));n.css('dis
play','inline');e('input.'+i).css('display','none').removeAttr('id').removeAttr(
'name')}})};return this.each(function(){var s={classname:'nobr block font11px li
ghtgrey',name:'password-input',text:' Show password'};var o='spcb_'+parseInt(Mat
h.random()*1000),r=o.replace('spcb_','spin_');if(n.attr('class')!==''){var a=r+'
'+n.attr('class')}else{var a=r};if(typeof t=='object'){e.extend(s,t)};if(typeof
i=='object'){e.extend(s,i)};var c=s.name;if(s.classname==''){theclass=''}else{t
heclass=' class="'+s.classname+'"'};e(this).before('<input type="text" value=""
class="'+a+'" style="display: none;" />');var l='<label'+theclass+'><input type=
"checkbox" id="'+o+'" name="'+c+'" value="sp" />'+s.text+'</label>';if(t=='objec
t'||typeof t=='undefined'){e(this).after(l)}else{e(t).html(l)};e.fn.showPassword
.checker(o,r);return this})}})(jQuery);jQuery.notification=(function(e,t){var i=
(function(){if(t.Notification&&t.Notification.permissionLevel)return t.Notificat
ion;var n=t.webkitNotifications;if(!n)return(function(){var t={};t.permissionLev
el=function(){return'unsupported'};t.requestPermission=e.noop;return t}());var s
=['granted','default','denied'],i=function(t,s){s=s||{};if(!t){return};var r=n.c
reateNotification(s.iconUrl||'',t,s.body||'');r.titleDir=s.titleDir||'auto';r.bo
dy=s.body||'';r.bodyDir=s.bodyDir||'auto';r.tag=s.tag||'';r.replaceId=s.tag||'';
r.iconUrl=s.iconUrl||'';r.onclick=s.onclick||e.noop;r.onshow=s.onshow||e.noop;r.
onerror=s.onerror||e.noop;r.onclose=s.onclose||e.noop;if(i.permissionLevel()==='
granted'){r.show()};return r};i.permissionLevel=function(){return i.permission=s
[n.checkPermission()]};i.permissionLevel();i.requestPermission=function(s){if(i.
permissionLevel()!=='default'){s();return};e(document).one('click',function(){if
(n.requestPermission.length){n.requestPermission(function(){i.permissionLevel();
s()});return};n.requestPermission();var e=t.setInterval(function(){var n=i.permi
ssionLevel();if(n!=='default'){t.clearInterval(e);s()}},200)})};return i}()),n=f
unction(t){var n=e.Deferred();if(!i.prototype){n.reject('unsupported');return n.
promise()};if(typeof t==='string'){t={title:t}};t=t||{};t.autoclose=typeof t.aut
oclose==='undefined'?!0:t.autoclose;t.timeout=t.timeout||Infinity;i.requestPermi
ssion(function(){if((i.permission||i.permissionLevel())!=='granted'){n.reject(i.
permissionLevel());return};var e=new i(t.title,t);if(isFinite(t.timeout)){e.addE
ventListener('show',function(){setTimeout(function(){e.cancel()},t.timeout)},!1)
};if(t.autoclose){e.addEventListener('click',function(){e.cancel()},!1)};n.resol
ve(e)});return n.promise()};n.permissionLevel=i.permissionLevel;n.requestPermiss
ion=i.requestPermission;return n}(jQuery,window));this.vtip=function(){this.xOff
set=-10;this.yOffset=10;$('.vtip').unbind().hover(function(e){var t=$(this).next
('.vtipContentjs').size()?$(this).next('.vtipContentjs').html():this.title;this.
t=this.title;this.title='';$('body').append('<div id="vtip"><img id="vtipArrow"
/>'+t+'</div>');$('div#vtip').css({top:e.pageY+yOffset,left:e.pageX+xOffset}).fa
deIn('fast')},function(){this.title=this.t;$('div#vtip').fadeOut('slow').remove(
)})};jQuery(document).ready(function(e){vtip()});(function(e,t){var s=0,r=/^ui-i
d-\d+$/;e.ui=e.ui||{};e.extend(e.ui,{version:'1.10.3',keyCode:{BACKSPACE:8,COMMA
:188,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,LEFT:37,NUMPAD_ADD:107,
NUMPAD_DECIMAL:110,NUMPAD_DIVIDE:111,NUMPAD_ENTER:108,NUMPAD_MULTIPLY:106,NUMPAD
_SUBTRACT:109,PAGE_DOWN:34,PAGE_UP:33,PERIOD:190,RIGHT:39,SPACE:32,TAB:9,UP:38}}
);e.fn.extend({focus:(function(t){return function(i,n){return typeof i==='number
'?this.each(function(){var t=this;setTimeout(function(){e(t).focus();if(n){n.cal
l(t)}},i)}):t.apply(this,arguments)}})(e.fn.focus),scrollParent:function(){var t
;if((e.ui.ie&&(/(static|relative)/).test(this.css('position')))||(/absolute/).te
st(this.css('position'))){t=this.parents().filter(function(){return(/(relative|a
bsolute|fixed)/).test(e.css(this,'position'))&&(/(auto|scroll)/).test(e.css(this
,'overflow')+e.css(this,'overflow-y')+e.css(this,'overflow-x'))}).eq(0)}else{t=t
his.parents().filter(function(){return(/(auto|scroll)/).test(e.css(this,'overflo
w')+e.css(this,'overflow-y')+e.css(this,'overflow-x'))}).eq(0)};return(/fixed/).
test(this.css('position'))||!t.length?e(document):t},zIndex:function(i){if(i!==t
){return this.css('zIndex',i)};if(this.length){var n=e(this[0]),r,s;while(n.leng
th&&n[0]!==document){r=n.css('position');if(r==='absolute'||r==='relative'||r===
'fixed'){s=parseInt(n.css('zIndex'),10);if(!isNaN(s)&&s!==0){return s}};n=n.pare
nt()}};return 0},uniqueId:function(){return this.each(function(){if(!this.id){th
is.id='ui-id-'+(++s)}})},removeUniqueId:function(){return this.each(function(){i
f(r.test(this.id)){e(this).removeAttr('id')}})}});function n(t,n){var o,a,r,s=t.
nodeName.toLowerCase();if('area'===s){o=t.parentNode;a=o.name;if(!t.href||!a||o.
nodeName.toLowerCase()!=='map'){return!1};r=e('img[usemap=#'+a+']')[0];return!!r
&&i(r)};return(/input|select|textarea|button|object/.test(s)?!t.disabled:'a'===s
?t.href||n:n)&&i(t)};function i(t){return e.expr.filters.visible(t)&&!e(t).paren
ts().addBack().filter(function(){return e.css(this,'visibility')==='hidden'}).le
ngth};e.extend(e.expr[':'],{data:e.expr.createPseudo?e.expr.createPseudo(functio
n(t){return function(i){return!!e.data(i,t)}}):function(t,i,n){return!!e.data(t,
n[3])},focusable:function(t){return n(t,!isNaN(e.attr(t,'tabindex')))},tabbable:
function(t){var s=e.attr(t,'tabindex'),i=isNaN(s);return(i||s>=0)&&n(t,!i)}});if
(!e('<a>').outerWidth(1).jquery){e.each(['Width','Height'],function(i,n){var a=n
==='Width'?['Left','Right']:['Top','Bottom'],o=n.toLowerCase(),s={innerWidth:e.f
n.innerWidth,innerHeight:e.fn.innerHeight,outerWidth:e.fn.outerWidth,outerHeight
:e.fn.outerHeight};function r(t,i,n,s){e.each(a,function(){i-=parseFloat(e.css(t
,'padding'+this))||0;if(n){i-=parseFloat(e.css(t,'border'+this+'Width'))||0};if(
s){i-=parseFloat(e.css(t,'margin'+this))||0}});return i};e.fn['inner'+n]=functio
n(i){if(i===t){return s['inner'+n].call(this)};return this.each(function(){e(thi
s).css(o,r(this,i)+'px')})};e.fn['outer'+n]=function(t,i){if(typeof t!=='number'
){return s['outer'+n].call(this,t)};return this.each(function(){e(this).css(o,r(
this,t,!0,i)+'px')})}})};if(!e.fn.addBack){e.fn.addBack=function(e){return this.
add(e==null?this.prevObject:this.prevObject.filter(e))}};if(e('<a>').data('a-b',
'a').removeData('a-b').data('a-b')){e.fn.removeData=(function(t){return function
(i){if(arguments.length){return t.call(this,e.camelCase(i))}else{return t.call(t
his)}}})(e.fn.removeData)};e.ui.ie=!!/msie [\w.]+/.exec(navigator.userAgent.toLo
werCase());e.support.selectstart='onselectstart' in document.createElement('div'
);e.fn.extend({disableSelection:function(){return this.bind((e.support.selectsta
rt?'selectstart':'mousedown')+'.ui-disableSelection',function(e){e.preventDefaul
t()})},enableSelection:function(){return this.unbind('.ui-disableSelection')}});
e.extend(e.ui,{plugin:{add:function(t,i,n){var s,r=e.ui[t].prototype;for(s in n)
{r.plugins[s]=r.plugins[s]||[];r.plugins[s].push([i,n[s]])}},call:function(e,t,i
){var n,s=e.plugins[t];if(!s||!e.element[0].parentNode||e.element[0].parentNode.
nodeType===11){return};for(n=0;n<s.length;n++){if(e.options[s[n][0]]){s[n][1].ap
ply(e.element,i)}}}},hasScroll:function(t,i){if(e(t).css('overflow')==='hidden')
{return!1};var n=(i&&i==='left')?'scrollLeft':'scrollTop',s=!1;if(t[n]>0){return
!0};t[n]=1;s=(t[n]>0);t[n]=0;return s}})})(jQuery);(function(e,t){var s=0,i=Arra
y.prototype.slice,n=e.cleanData;e.cleanData=function(t){for(var s=0,r;(r=t[s])!=
null;s++){try{e(r).triggerHandler('remove')}catch(i){}};n(t)};e.widget=function(
t,i,n){var l,o,s,a,c={},r=t.split('.')[0];t=t.split('.')[1];l=r+'-'+t;if(!n){n=i
;i=e.Widget};e.expr[':'][l.toLowerCase()]=function(t){return!!e.data(t,l)};e[r]=
e[r]||{};o=e[r][t];s=e[r][t]=function(e,t){if(!this.Ze$){return new s(e,t)};if(a
rguments.length){this.Ze$(e,t)}};e.extend(s,o,{version:n.version,ai$:e.extend({}
,n),ee$:[]});a=new i();a.options=e.widget.extend({},a.options);e.each(n,function
(t,n){if(!e.isFunction(n)){c[t]=n;return};c[t]=(function(){var s=function(){retu
rn i.prototype[t].apply(this,arguments)},e=function(e){return i.prototype[t].app
ly(this,e)};return function(){var r=this.ie$,i=this.be$,t;this.ie$=s;this.be$=e;
t=n.apply(this,arguments);this.ie$=r;this.be$=i;return t}})()});s.prototype=e.wi
dget.extend(a,{widgetEventPrefix:o?a.widgetEventPrefix:t},c,{constructor:s,names
pace:r,widgetName:t,widgetFullName:l});if(o){e.each(o.ee$,function(t,i){var n=i.
prototype;e.widget(n.namespace+'.'+n.widgetName,s,i.ai$)});delete o.ee$}else{i.e
e$.push(s)};e.widget.bridge(t,s)};e.widget.extend=function(n){var a=i.call(argum
ents,1),o=0,l=a.length,s,r;for(;o<l;o++){for(s in a[o]){r=a[o][s];if(a[o].hasOwn
Property(s)&&r!==t){if(e.isPlainObject(r)){n[s]=e.isPlainObject(n[s])?e.widget.e
xtend({},n[s],r):e.widget.extend({},r)}else{n[s]=r}}}};return n};e.widget.bridge
=function(n,s){var r=s.prototype.widgetFullName||n;e.fn[n]=function(o){var c=typ
eof o==='string',a=i.call(arguments,1),l=this;o=!c&&a.length?e.widget.extend.app
ly(null,[o].concat(a)):o;if(c){this.each(function(){var i,s=e.data(this,r);if(!s
){return e.error('cannot call methods on '+n+' prior to initialization; attempte
d to call method \''+o+'\'')};if(!e.isFunction(s[o])||o.charAt(0)==='_'){return
e.error('no such method \''+o+'\' for '+n+' widget instance')};i=s[o].apply(s,a)
;if(i!==s&&i!==t){l=i&&i.jquery?l.pushStack(i.get()):i;return!1}})}else{this.eac
h(function(){var t=e.data(this,r);if(t){t.option(o||{}).Ke$()}else{e.data(this,r
,new s(o,this))}})};return l}};e.Widget=function(){};e.Widget.ee$=[];e.Widget.pr
ototype={widgetName:'widget',widgetEventPrefix:'',defaultElement:'<div>',options
:{disabled:!1,create:null},Ze$:function(t,i){i=e(i||this.defaultElement||this)[0
];this.element=e(i);this.uuid=s++;this.eventNamespace='.'+this.widgetName+this.u
uid;this.options=e.widget.extend({},this.options,this.ti$(),t);this.bindings=e()
;this.hoverable=e();this.focusable=e();if(i!==this){e.data(i,this.widgetFullName
,this);this.T$(!0,this.element,{remove:function(e){if(e.target===i){this.destroy
()}}});this.document=e(i.style?i.ownerDocument:i.document||i);this.window=e(this
.document[0].defaultView||this.document[0].parentWindow)};this.L$();this.t$('cre
ate',null,this.Zt$());this.Ke$()},ti$:e.noop,Zt$:e.noop,L$:e.noop,Ke$:e.noop,des
troy:function(){this.N$();this.element.unbind(this.eventNamespace).removeData(th
is.widgetName).removeData(this.widgetFullName).removeData(e.camelCase(this.widge
tFullName));this.widget().unbind(this.eventNamespace).removeAttr('aria-disabled'
).removeClass(this.widgetFullName+'-disabled ui-state-disabled');this.bindings.u
nbind(this.eventNamespace);this.hoverable.removeClass('ui-state-hover');this.foc
usable.removeClass('ui-state-focus')},N$:e.noop,widget:function(){return this.el
ement},option:function(i,n){var a=i,s,r,o;if(arguments.length===0){return e.widg
et.extend({},this.options)};if(typeof i==='string'){a={};s=i.split('.');i=s.shif
t();if(s.length){r=a[i]=e.widget.extend({},this.options[i]);for(o=0;o<s.length-1
;o++){r[s[o]]=r[s[o]]||{};r=r[s[o]]};i=s.pop();if(n===t){return r[i]===t?null:r[
i]};r[i]=n}else{if(n===t){return this.options[i]===t?null:this.options[i]};a[i]=
n}};this.ri$(a);return this},ri$:function(e){var t;for(t in e){this.b$(t,e[t])};
return this},b$:function(e,t){this.options[e]=t;if(e==='disabled'){this.widget()
.toggleClass(this.widgetFullName+'-disabled ui-state-disabled',!!t).attr('aria-d
isabled',t);this.hoverable.removeClass('ui-state-hover');this.focusable.removeCl
ass('ui-state-focus')};return this},enable:function(){return this.b$('disabled',
!1)},disable:function(){return this.b$('disabled',!0)},T$:function(t,i,n){var r,
s=this;if(typeof t!=='boolean'){n=i;i=t;t=!1};if(!n){n=i;i=this.element;r=this.w
idget()}else{i=r=e(i);this.bindings=this.bindings.add(i)};e.each(n,function(n,o)
{function a(){if(!t&&(s.options.disabled===!0||e(this).hasClass('ui-state-disabl
ed'))){return};return(typeof o==='string'?s[o]:o).apply(s,arguments)};if(typeof
o!=='string'){a.guid=o.guid=o.guid||a.guid||e.guid++};var c=n.match(/^(\w+)\s*(.
*)$/),u=c[1]+s.eventNamespace,l=c[2];if(l){r.delegate(l,u,a)}else{i.bind(u,a)}})
},Ai$:function(e,t){t=(t||'').split(' ').join(this.eventNamespace+' ')+this.even
tNamespace;e.unbind(t).undelegate(t)},f$:function(e,t){function n(){return(typeo
f e==='string'?i[e]:e).apply(i,arguments)};var i=this;return setTimeout(n,t||0)}
,Ii$:function(t){this.hoverable=this.hoverable.add(t);this.T$(t,{mouseenter:func
tion(t){e(t.currentTarget).addClass('ui-state-hover')},mouseleave:function(t){e(
t.currentTarget).removeClass('ui-state-hover')}})},Ei$:function(t){this.focusabl
e=this.focusable.add(t);this.T$(t,{focusin:function(t){e(t.currentTarget).addCla
ss('ui-state-focus')},focusout:function(t){e(t.currentTarget).removeClass('ui-st
ate-focus')}})},t$:function(t,i,n){var s,r,o=this.options[t];n=n||{};i=e.Event(i
);i.type=(t===this.widgetEventPrefix?t:this.widgetEventPrefix+t).toLowerCase();i
.target=this.element[0];r=i.originalEvent;if(r){for(s in r){if(!(s in i)){i[s]=r
[s]}}};this.element.trigger(i,n);return!(e.isFunction(o)&&o.apply(this.element[0
],[i].concat(n))===!1||i.isDefaultPrevented())}};e.each({show:'fadeIn',hide:'fad
eOut'},function(t,i){e.Widget.prototype['_'+t]=function(n,s,r){if(typeof s==='st
ring'){s={effect:s}};var a,o=!s?t:s===!0||typeof s==='number'?i:s.effect||i;s=s|
|{};if(typeof s==='number'){s={duration:s}};a=!e.isEmptyObject(s);s.complete=r;i
f(s.delay){n.delay(s.delay)};if(a&&e.effects&&e.effects.effect[o]){n[t](s)}else
if(o!==t&&n[o]){n[o](s.duration,s.easing,r)}else{n.queue(function(i){e(this)[t](
);if(r){r.call(n[0])};i()})}}})})(jQuery);(function(e,t){var i=!1;e(document).mo
useup(function(){i=!1});e.widget('ui.mouse',{version:'1.10.3',options:{cancel:'i
nput,textarea,button,select,option',distance:1,delay:0},X$:function(){var t=this
;this.element.bind('mousedown.'+this.widgetName,function(e){return t.Bt$(e)}).bi
nd('click.'+this.widgetName,function(i){if(!0===e.data(i.target,t.widgetName+'.p
reventClickEvent')){e.removeData(i.target,t.widgetName+'.preventClickEvent');i.s
topImmediatePropagation();return!1}});this.started=!1},ce$:function(){this.eleme
nt.unbind('.'+this.widgetName);if(this.re$){e(document).unbind('mousemove.'+this
.widgetName,this.re$).unbind('mouseup.'+this.widgetName,this.de$)}},Bt$:function
(t){if(i){return}(this.A$&&this.y$(t));this.se$=t;var n=this,r=(t.which===1),s=(
typeof this.options.cancel==='string'&&t.target.nodeName?e(t.target).closest(thi
s.options.cancel).length:!1);if(!r||s||!this.U$(t)){return!0};this.mouseDelayMet
=!this.options.delay;if(!this.mouseDelayMet){this.ji$=setTimeout(function(){n.mo
useDelayMet=!0},this.options.delay)};if(this.Qe$(t)&&this.We$(t)){this.A$=(this.
F$(t)!==!1);if(!this.A$){t.preventDefault();return!0}};if(!0===e.data(t.target,t
his.widgetName+'.preventClickEvent')){e.removeData(t.target,this.widgetName+'.pr
eventClickEvent')};this.re$=function(e){return n.qt$(e)};this.de$=function(e){re
turn n.y$(e)};e(document).bind('mousemove.'+this.widgetName,this.re$).bind('mous
eup.'+this.widgetName,this.de$);t.preventDefault();i=!0;return!0},qt$:function(t
){if(e.ui.ie&&(!document.documentMode||document.documentMode<9)&&!t.button){retu
rn this.y$(t)};if(this.A$){this.x$(t);return t.preventDefault()};if(this.Qe$(t)&
&this.We$(t)){this.A$=(this.F$(this.se$,t)!==!1);(this.A$?this.x$(t):this.y$(t))
};return!this.A$},y$:function(t){e(document).unbind('mousemove.'+this.widgetName
,this.re$).unbind('mouseup.'+this.widgetName,this.de$);if(this.A$){this.A$=!1;if
(t.target===this.se$.target){e.data(t.target,this.widgetName+'.preventClickEvent
',!0)};this.H$(t)};return!1},Qe$:function(e){return(Math.max(Math.abs(this.se$.p
ageX-e.pageX),Math.abs(this.se$.pageY-e.pageY))>=this.options.distance)},We$:fun
ction(){return this.mouseDelayMet},F$:function(){},x$:function(){},H$:function()
{},U$:function(){return!0}})})(jQuery);(function(e,t){e.ui=e.ui||{};var r,n=Math
.max,i=Math.abs,u=Math.round,h=/left|center|right/,c=/top|center|bottom/,f=/[\+\
-]\d+(\.[\d]+)?%?/,l=/^\w+/,o=/%$/,p=e.fn.position;function a(e,t,i){return[pars
eFloat(e[0])*(o.test(e[0])?t/100:1),parseFloat(e[1])*(o.test(e[1])?i/100:1)]};fu
nction s(t,i){return parseInt(e.css(t,i),10)||0};function d(t){var i=t[0];if(i.n
odeType===9){return{width:t.width(),height:t.height(),offset:{top:0,left:0}}};if
(e.isWindow(i)){return{width:t.width(),height:t.height(),offset:{top:t.scrollTop
(),left:t.scrollLeft()}}};if(i.preventDefault){return{width:0,height:0,offset:{t
op:i.pageY,left:i.pageX}}};return{width:t.outerWidth(),height:t.outerHeight(),of
fset:t.offset()}};e.position={scrollbarWidth:function(){if(r!==t){return r};var
s,n,i=e('<div style=\'display:block;width:50px;height:50px;overflow:hidden;\'><d
iv style=\'height:100px;width:auto;\'></div></div>'),o=i.children()[0];e('body')
.append(i);s=o.offsetWidth;i.css('overflow','scroll');n=o.offsetWidth;if(s===n){
n=i[0].clientWidth};i.remove();return(r=s-n)},getScrollInfo:function(t){var n=t.
isWindow?'':t.element.css('overflow-x'),i=t.isWindow?'':t.element.css('overflow-
y'),r=n==='scroll'||(n==='auto'&&t.width<t.element[0].scrollWidth),s=i==='scroll
'||(i==='auto'&&t.height<t.element[0].scrollHeight);return{width:s?e.position.sc
rollbarWidth():0,height:r?e.position.scrollbarWidth():0}},getWithinInfo:function
(t){var i=e(t||window),n=e.isWindow(i[0]);return{element:i,isWindow:n,offset:i.o
ffset()||{left:0,top:0},scrollLeft:i.scrollLeft(),scrollTop:i.scrollTop(),width:
n?i.width():i.outerWidth(),height:n?i.height():i.outerHeight()}}};e.fn.position=
function(t){if(!t||!t.of){return p.apply(this,arguments)};t=e.extend({},t);var b
,r,o,g,m,y,w=e(t.of),k=e.position.getWithinInfo(t.within),C=e.position.getScroll
Info(k),v=(t.collision||'flip').split(' '),x={};y=d(w);if(w[0].preventDefault){t
.at='left top'};r=y.width;o=y.height;g=y.offset;m=e.extend({},g);e.each(['my','a
t'],function(){var e=(t[this]||'').split(' '),n,i;if(e.length===1){e=h.test(e[0]
)?e.concat(['center']):c.test(e[0])?['center'].concat(e):['center','center']};e[
0]=h.test(e[0])?e[0]:'center';e[1]=c.test(e[1])?e[1]:'center';n=f.exec(e[0]);i=f
.exec(e[1]);x[this]=[n?n[0]:0,i?i[0]:0];t[this]=[l.exec(e[0])[0],l.exec(e[1])[0]
]});if(v.length===1){v[1]=v[0]};if(t.at[0]==='right'){m.left+=r}else if(t.at[0]=
=='center'){m.left+=r/2};if(t.at[1]==='bottom'){m.top+=o}else if(t.at[1]==='cent
er'){m.top+=o/2};b=a(x.at,r,o);m.left+=b[0];m.top+=b[1];return this.each(functio
n(){var S,T,h=e(this),f=h.outerWidth(),c=h.outerHeight(),y=s(this,'marginLeft'),
p=s(this,'marginTop'),P=f+y+s(this,'marginRight')+C.width,D=c+p+s(this,'marginBo
ttom')+C.height,l=e.extend({},m),d=a(x.my,h.outerWidth(),h.outerHeight());if(t.m
y[0]==='right'){l.left-=f}else if(t.my[0]==='center'){l.left-=f/2};if(t.my[1]===
'bottom'){l.top-=c}else if(t.my[1]==='center'){l.top-=c/2};l.left+=d[0];l.top+=d
[1];if(!e.support.offsetFractions){l.left=u(l.left);l.top=u(l.top)};S={marginLef
t:y,marginTop:p};e.each(['left','top'],function(i,n){if(e.ui.position[v[i]]){e.u
i.position[v[i]][n](l,{targetWidth:r,targetHeight:o,elemWidth:f,elemHeight:c,col
lisionPosition:S,collisionWidth:P,collisionHeight:D,offset:[b[0]+d[0],b[1]+d[1]]
,my:t.my,at:t.at,within:k,elem:h})}});if(t.using){T=function(e){var u=g.left-l.l
eft,d=u+r-f,a=g.top-l.top,p=a+o-c,s={target:{element:w,left:g.left,top:g.top,wid
th:r,height:o},element:{element:h,left:l.left,top:l.top,width:f,height:c},horizo
ntal:d<0?'left':u>0?'right':'center',vertical:p<0?'top':a>0?'bottom':'middle'};i
f(r<f&&i(u+d)<r){s.horizontal='center'};if(o<c&&i(a+p)<o){s.vertical='middle'};i
f(n(i(u),i(d))>n(i(a),i(p))){s.important='horizontal'}else{s.important='vertical
'};t.using.call(this,e,s)}};h.offset(e.extend(l,{using:T}))})};e.ui.position={fi
t:{left:function(e,t){var a=t.within,s=a.isWindow?a.scrollLeft:a.offset.left,o=a
.width,l=e.left-t.collisionPosition.marginLeft,i=s-l,r=l+t.collisionWidth-o-s,c;
if(t.collisionWidth>o){if(i>0&&r<=0){c=e.left+i+t.collisionWidth-o-s;e.left+=i-c
}else if(r>0&&i<=0){e.left=s}else{if(i>r){e.left=s+o-t.collisionWidth}else{e.lef
t=s}}}else if(i>0){e.left+=i}else if(r>0){e.left-=r}else{e.left=n(e.left-l,e.lef
t)}},top:function(e,t){var l=t.within,s=l.isWindow?l.scrollTop:l.offset.top,o=t.
within.height,a=e.top-t.collisionPosition.marginTop,i=s-a,r=a+t.collisionHeight-
o-s,c;if(t.collisionHeight>o){if(i>0&&r<=0){c=e.top+i+t.collisionHeight-o-s;e.to
p+=i-c}else if(r>0&&i<=0){e.top=s}else{if(i>r){e.top=s+o-t.collisionHeight}else{
e.top=s}}}else if(i>0){e.top+=i}else if(r>0){e.top-=r}else{e.top=n(e.top-a,e.top
)}}},flip:{left:function(e,t){var n=t.within,p=n.offset.left+n.scrollLeft,f=n.wi
dth,c=n.isWindow?n.scrollLeft:n.offset.left,u=e.left-t.collisionPosition.marginL
eft,h=u-c,d=u+t.collisionWidth-f-c,r=t.my[0]==='left'?-t.elemWidth:t.my[0]==='ri
ght'?t.elemWidth:0,o=t.at[0]==='left'?t.targetWidth:t.at[0]==='right'?-t.targetW
idth:0,s=-2*t.offset[0],a,l;if(h<0){a=e.left+r+o+s+t.collisionWidth-f-p;if(a<0||
a<i(h)){e.left+=r+o+s}}else if(d>0){l=e.left-t.collisionPosition.marginLeft+r+o+
s-c;if(l>0||i(l)<d){e.left+=r+o+s}}},top:function(e,t){var s=t.within,p=s.offset
.top+s.scrollTop,h=s.height,u=s.isWindow?s.scrollTop:s.offset.top,d=e.top-t.coll
isionPosition.marginTop,c=d-u,f=d+t.collisionHeight-h-u,m=t.my[1]==='top',o=m?-t
.elemHeight:t.my[1]==='bottom'?t.elemHeight:0,r=t.at[1]==='top'?t.targetHeight:t
.at[1]==='bottom'?-t.targetHeight:0,n=-2*t.offset[1],l,a;if(c<0){a=e.top+o+r+n+t
.collisionHeight-h-p;if((e.top+o+r+n)>c&&(a<0||a<i(c))){e.top+=o+r+n}}else if(f>
0){l=e.top-t.collisionPosition.marginTop+o+r+n-u;if((e.top+o+r+n)>f&&(l>0||i(l)<
f)){e.top+=o+r+n}}}},flipfit:{left:function(){e.ui.position.flip.left.apply(this
,arguments);e.ui.position.fit.left.apply(this,arguments)},top:function(){e.ui.po
sition.flip.top.apply(this,arguments);e.ui.position.fit.top.apply(this,arguments
)}}};(function(){var t,n,i,o,a,r=document.getElementsByTagName('body')[0],s=docu
ment.createElement('div');t=document.createElement(r?'div':'body');i={visibility
:'hidden',width:0,height:0,border:0,margin:0,background:'none'};if(r){e.extend(i
,{position:'absolute',left:'-1000px',top:'-1000px'})};for(a in i){t.style[a]=i[a
]};t.appendChild(s);n=r||document.documentElement;n.insertBefore(t,n.firstChild)
;s.style.cssText='position: absolute; left: 10.7432222px;';o=e(s).offset().left;
e.support.offsetFractions=o>10&&o<11;t.innerHTML='';n.removeChild(t)})()}(jQuery
));(function(e,t){e.widget('ui.draggable',e.ui.mouse,{version:'1.10.3',widgetEve
ntPrefix:'drag',options:{addClasses:!0,appendTo:'parent',axis:!1,connectToSortab
le:!1,containment:!1,cursor:'auto',cursorAt:!1,grid:!1,handle:!1,helper:'origina
l',iframeFix:!1,opacity:!1,refreshPositions:!1,revert:!1,revertDuration:500,scop
e:'default',scroll:!0,scrollSensitivity:20,scrollSpeed:20,snap:!1,snapMode:'both
',snapTolerance:20,stack:!1,zIndex:!1,drag:null,start:null,stop:null},L$:functio
n(){if(this.options.helper==='original'&&!(/^(?:r|a|f)/).test(this.element.css('
position'))){this.element[0].style.position='relative'};if(this.options.addClass
es){this.element.addClass('ui-draggable')};if(this.options.disabled){this.elemen
t.addClass('ui-draggable-disabled')};this.X$()},N$:function(){this.element.remov
eClass('ui-draggable ui-draggable-dragging ui-draggable-disabled');this.ce$()},U
$:function(t){var i=this.options;if(this.helper||i.disabled||e(t.target).closest
('.ui-resizable-handle').length>0){return!1};this.handle=this.gi$(t);if(!this.ha
ndle){return!1};e(i.iframeFix===!0?'iframe':i.iframeFix).each(function(){e('<div
class=\'ui-draggable-iframeFix\' style=\'background: #fff;\'></div>').css({widt
h:this.offsetWidth+'px',height:this.offsetHeight+'px',position:'absolute',opacit
y:'0.001',zIndex:1000}).css(e(this).offset()).appendTo('body')});return!0},F$:fu
nction(t){var i=this.options;this.helper=this.ge$(t);this.helper.addClass('ui-dr
aggable-dragging');this.J$();if(e.ui.ddmanager){e.ui.ddmanager.current=this};thi
s.me$();this.cssPosition=this.helper.css('position');this.scrollParent=this.help
er.scrollParent();this.offsetParent=this.helper.offsetParent();this.offsetParent
CssPosition=this.offsetParent.css('position');this.offset=this.positionAbs=this.
element.offset();this.offset={top:this.offset.top-this.margins.top,left:this.off
set.left-this.margins.left};this.offset.scroll=!1;e.extend(this.offset,{click:{l
eft:t.pageX-this.offset.left,top:t.pageY-this.offset.top},parent:this.K$(),relat
ive:this.oe$()});this.originalPosition=this.position=this.Q$(t);this.originalPag
eX=t.pageX;this.originalPageY=t.pageY;(i.cursorAt&&this.ve$(i.cursorAt));this.pe
$();if(this.t$('start',t)===!1){this.W$();return!1};this.J$();if(e.ui.ddmanager&
&!i.dropBehaviour){e.ui.ddmanager.prepareOffsets(this,t)};this.x$(t,!0);if(e.ui.
ddmanager){e.ui.ddmanager.dragStart(this,t)};return!0},x$:function(t,i){if(this.
offsetParentCssPosition==='fixed'){this.offset.parent=this.K$()};this.position=t
his.Q$(t);this.positionAbs=this.l$('absolute');if(!i){var n=this.n$();if(this.t$
('drag',t,n)===!1){this.y$({});return!1};this.position=n.position};if(!this.opti
ons.axis||this.options.axis!=='y'){this.helper[0].style.left=this.position.left+
'px'};if(!this.options.axis||this.options.axis!=='x'){this.helper[0].style.top=t
his.position.top+'px'};if(e.ui.ddmanager){e.ui.ddmanager.drag(this,t)};return!1}
,H$:function(t){var n=this,i=!1;if(e.ui.ddmanager&&!this.options.dropBehaviour){
i=e.ui.ddmanager.drop(this,t)};if(this.dropped){i=this.dropped;this.dropped=!1};
if(this.options.helper==='original'&&!e.contains(this.element[0].ownerDocument,t
his.element[0])){return!1};if((this.options.revert==='invalid'&&!i)||(this.optio
ns.revert==='valid'&&i)||this.options.revert===!0||(e.isFunction(this.options.re
vert)&&this.options.revert.call(this.element,i))){e(this.helper).animate(this.or
iginalPosition,parseInt(this.options.revertDuration,10),function(){if(n.t$('stop
',t)!==!1){n.W$()}})}else{if(this.t$('stop',t)!==!1){this.W$()}};return!1},y$:fu
nction(t){e('div.ui-draggable-iframeFix').each(function(){this.parentNode.remove
Child(this)});if(e.ui.ddmanager){e.ui.ddmanager.dragStop(this,t)};return e.ui.mo
use.prototype.y$.call(this,t)},cancel:function(){if(this.helper.is('.ui-draggabl
e-dragging')){this.y$({})}else{this.W$()};return this},gi$:function(t){return th
is.options.handle?!!e(t.target).closest(this.element.find(this.options.handle)).
length:!0},ge$:function(t){var n=this.options,i=e.isFunction(n.helper)?e(n.helpe
r.apply(this.element[0],[t])):(n.helper==='clone'?this.element.clone().removeAtt
r('id'):this.element);if(!i.parents('body').length){i.appendTo((n.appendTo==='pa
rent'?this.element[0].parentNode:n.appendTo))};if(i[0]!==this.element[0]&&!(/(fi
xed|absolute)/).test(i.css('position'))){i.css('position','absolute')};return i}
,ve$:function(t){if(typeof t==='string'){t=t.split(' ')};if(e.isArray(t)){t={lef
t:+t[0],top:+t[1]||0}};if('left' in t){this.offset.click.left=t.left+this.margin
s.left};if('right' in t){this.offset.click.left=this.helperProportions.width-t.r
ight+this.margins.left};if('top' in t){this.offset.click.top=t.top+this.margins.
top};if('bottom' in t){this.offset.click.top=this.helperProportions.height-t.bot
tom+this.margins.top}},K$:function(){var t=this.offsetParent.offset();if(this.cs
sPosition==='absolute'&&this.scrollParent[0]!==document&&e.contains(this.scrollP
arent[0],this.offsetParent[0])){t.left+=this.scrollParent.scrollLeft();t.top+=th
is.scrollParent.scrollTop()};if((this.offsetParent[0]===document.body)||(this.of
fsetParent[0].tagName&&this.offsetParent[0].tagName.toLowerCase()==='html'&&e.ui
.ie)){t={top:0,left:0}};return{top:t.top+(parseInt(this.offsetParent.css('border
TopWidth'),10)||0),left:t.left+(parseInt(this.offsetParent.css('borderLeftWidth'
),10)||0)}},oe$:function(){if(this.cssPosition==='relative'){var e=this.element.
position();return{top:e.top-(parseInt(this.helper.css('top'),10)||0)+this.scroll
Parent.scrollTop(),left:e.left-(parseInt(this.helper.css('left'),10)||0)+this.sc
rollParent.scrollLeft()}}else{return{top:0,left:0}}},me$:function(){this.margins
={left:(parseInt(this.element.css('marginLeft'),10)||0),top:(parseInt(this.eleme
nt.css('marginTop'),10)||0),right:(parseInt(this.element.css('marginRight'),10)|
|0),bottom:(parseInt(this.element.css('marginBottom'),10)||0)}},J$:function(){th
is.helperProportions={width:this.helper.outerWidth(),height:this.helper.outerHei
ght()}},pe$:function(){var s,t,n,i=this.options;if(!i.containment){this.containm
ent=null;return};if(i.containment==='window'){this.containment=[e(window).scroll
Left()-this.offset.relative.left-this.offset.parent.left,e(window).scrollTop()-t
his.offset.relative.top-this.offset.parent.top,e(window).scrollLeft()+e(window).
width()-this.helperProportions.width-this.margins.left,e(window).scrollTop()+(e(
window).height()||document.body.parentNode.scrollHeight)-this.helperProportions.
height-this.margins.top];return};if(i.containment==='document'){this.containment
=[0,0,e(document).width()-this.helperProportions.width-this.margins.left,(e(docu
ment).height()||document.body.parentNode.scrollHeight)-this.helperProportions.he
ight-this.margins.top];return};if(i.containment.constructor===Array){this.contai
nment=i.containment;return};if(i.containment==='parent'){i.containment=this.help
er[0].parentNode};t=e(i.containment);n=t[0];if(!n){return};s=t.css('overflow')!=
='hidden';this.containment=[(parseInt(t.css('borderLeftWidth'),10)||0)+(parseInt
(t.css('paddingLeft'),10)||0),(parseInt(t.css('borderTopWidth'),10)||0)+(parseIn
t(t.css('paddingTop'),10)||0),(s?Math.max(n.scrollWidth,n.offsetWidth):n.offsetW
idth)-(parseInt(t.css('borderRightWidth'),10)||0)-(parseInt(t.css('paddingRight'
),10)||0)-this.helperProportions.width-this.margins.left-this.margins.right,(s?M
ath.max(n.scrollHeight,n.offsetHeight):n.offsetHeight)-(parseInt(t.css('borderBo
ttomWidth'),10)||0)-(parseInt(t.css('paddingBottom'),10)||0)-this.helperProporti
ons.height-this.margins.top-this.margins.bottom];this.relative_container=t},l$:f
unction(t,i){if(!i){i=this.position};var n=t==='absolute'?1:-1,s=this.cssPositio
n==='absolute'&&!(this.scrollParent[0]!==document&&e.contains(this.scrollParent[
0],this.offsetParent[0]))?this.offsetParent:this.scrollParent;if(!this.offset.sc
roll){this.offset.scroll={top:s.scrollTop(),left:s.scrollLeft()}};return{top:(i.
top+this.offset.relative.top*n+this.offset.parent.top*n-((this.cssPosition==='fi
xed'?-this.scrollParent.scrollTop():this.offset.scroll.top)*n)),left:(i.left+thi
s.offset.relative.left*n+this.offset.parent.left*n-((this.cssPosition==='fixed'?
-this.scrollParent.scrollLeft():this.offset.scroll.left)*n))}},Q$:function(t){va
r i,a,r,s,n=this.options,c=this.cssPosition==='absolute'&&!(this.scrollParent[0]
!==document&&e.contains(this.scrollParent[0],this.offsetParent[0]))?this.offsetP
arent:this.scrollParent,o=t.pageX,l=t.pageY;if(!this.offset.scroll){this.offset.
scroll={top:c.scrollTop(),left:c.scrollLeft()}};if(this.originalPosition){if(thi
s.containment){if(this.relative_container){a=this.relative_container.offset();i=
[this.containment[0]+a.left,this.containment[1]+a.top,this.containment[2]+a.left
,this.containment[3]+a.top]}else{i=this.containment};if(t.pageX-this.offset.clic
k.left<i[0]){o=i[0]+this.offset.click.left};if(t.pageY-this.offset.click.top<i[1
]){l=i[1]+this.offset.click.top};if(t.pageX-this.offset.click.left>i[2]){o=i[2]+
this.offset.click.left};if(t.pageY-this.offset.click.top>i[3]){l=i[3]+this.offse
t.click.top}};if(n.grid){r=n.grid[1]?this.originalPageY+Math.round((l-this.origi
nalPageY)/n.grid[1])*n.grid[1]:this.originalPageY;l=i?((r-this.offset.click.top>
=i[1]||r-this.offset.click.top>i[3])?r:((r-this.offset.click.top>=i[1])?r-n.grid
[1]:r+n.grid[1])):r;s=n.grid[0]?this.originalPageX+Math.round((o-this.originalPa
geX)/n.grid[0])*n.grid[0]:this.originalPageX;o=i?((s-this.offset.click.left>=i[0
]||s-this.offset.click.left>i[2])?s:((s-this.offset.click.left>=i[0])?s-n.grid[0
]:s+n.grid[0])):s}};return{top:(l-this.offset.click.top-this.offset.relative.top
-this.offset.parent.top+(this.cssPosition==='fixed'?-this.scrollParent.scrollTop
():this.offset.scroll.top)),left:(o-this.offset.click.left-this.offset.relative.
left-this.offset.parent.left+(this.cssPosition==='fixed'?-this.scrollParent.scro
llLeft():this.offset.scroll.left))}},W$:function(){this.helper.removeClass('ui-d
raggable-dragging');if(this.helper[0]!==this.element[0]&&!this.cancelHelperRemov
al){this.helper.remove()};this.helper=null;this.cancelHelperRemoval=!1},t$:funct
ion(t,i,n){n=n||this.n$();e.ui.plugin.call(this,t,[i,n]);if(t==='drag'){this.pos
itionAbs=this.l$('absolute')};return e.Widget.prototype.t$.call(this,t,i,n)},plu
gins:{},n$:function(){return{helper:this.helper,position:this.position,originalP
osition:this.originalPosition,offset:this.positionAbs}}});e.ui.plugin.add('dragg
able','connectToSortable',{start:function(t,i){var n=e(this).data('ui-draggable'
),r=n.options,s=e.extend({},i,{item:n.element});n.sortables=[];e(r.connectToSort
able).each(function(){var i=e.data(this,'ui-sortable');if(i&&!i.options.disabled
){n.sortables.push({instance:i,shouldRevert:i.options.revert});i.refreshPosition
s();i.t$('activate',t,s)}})},stop:function(t,i){var n=e(this).data('ui-draggable
'),s=e.extend({},i,{item:n.element});e.each(n.sortables,function(){if(this.insta
nce.isOver){this.instance.isOver=0;n.cancelHelperRemoval=!0;this.instance.cancel
HelperRemoval=!1;if(this.shouldRevert){this.instance.options.revert=this.shouldR
evert};this.instance.H$(t);this.instance.options.helper=this.instance.options.s$
;if(n.options.helper==='original'){this.instance.currentItem.css({top:'auto',lef
t:'auto'})}}else{this.instance.cancelHelperRemoval=!1;this.instance.t$('deactiva
te',t,s)}})},drag:function(t,i){var n=e(this).data('ui-draggable'),s=this;e.each
(n.sortables,function(){var r=!1,o=this;this.instance.positionAbs=n.positionAbs;
this.instance.helperProportions=n.helperProportions;this.instance.offset.click=n
.offset.click;if(this.instance.ye$(this.instance.containerCache)){r=!0;e.each(n.
sortables,function(){this.instance.positionAbs=n.positionAbs;this.instance.helpe
rProportions=n.helperProportions;this.instance.offset.click=n.offset.click;if(th
is!==o&&this.instance.ye$(this.instance.containerCache)&&e.contains(o.instance.e
lement[0],this.instance.element[0])){r=!1};return r})};if(r){if(!this.instance.i
sOver){this.instance.isOver=1;this.instance.currentItem=e(s).clone().removeAttr(
'id').appendTo(this.instance.element).data('ui-sortable-item',!0);this.instance.
options.s$=this.instance.options.helper;this.instance.options.helper=function(){
return i.helper[0]};t.target=this.instance.currentItem[0];this.instance.U$(t,!0)
;this.instance.F$(t,!0,!0);this.instance.offset.click.top=n.offset.click.top;thi
s.instance.offset.click.left=n.offset.click.left;this.instance.offset.parent.lef
t-=n.offset.parent.left-this.instance.offset.parent.left;this.instance.offset.pa
rent.top-=n.offset.parent.top-this.instance.offset.parent.top;n.t$('toSortable',
t);n.dropped=this.instance.element;n.currentItem=n.element;this.instance.fromOut
side=n};if(this.instance.currentItem){this.instance.x$(t)}}else{if(this.instance
.isOver){this.instance.isOver=0;this.instance.cancelHelperRemoval=!0;this.instan
ce.options.revert=!1;this.instance.t$('out',t,this.instance.n$(this.instance));t
his.instance.H$(t,!0);this.instance.options.helper=this.instance.options.s$;this
.instance.currentItem.remove();if(this.instance.placeholder){this.instance.place
holder.remove()};n.t$('fromSortable',t);n.dropped=!1}}})}});e.ui.plugin.add('dra
ggable','cursor',{start:function(){var t=e('body'),i=e(this).data('ui-draggable'
).options;if(t.css('cursor')){i.bt$=t.css('cursor')};t.css('cursor',i.cursor)},s
top:function(){var t=e(this).data('ui-draggable').options;if(t.bt$){e('body').cs
s('cursor',t.bt$)}}});e.ui.plugin.add('draggable','opacity',{start:function(t,i)
{var n=e(i.helper),s=e(this).data('ui-draggable').options;if(n.css('opacity')){s
.xt$=n.css('opacity')};n.css('opacity',s.opacity)},stop:function(t,i){var n=e(th
is).data('ui-draggable').options;if(n.xt$){e(i.helper).css('opacity',n.xt$)}}});
e.ui.plugin.add('draggable','scroll',{start:function(){var t=e(this).data('ui-dr
aggable');if(t.scrollParent[0]!==document&&t.scrollParent[0].tagName!=='HTML'){t
.overflowOffset=t.scrollParent.offset()}},drag:function(t){var n=e(this).data('u
i-draggable'),i=n.options,s=!1;if(n.scrollParent[0]!==document&&n.scrollParent[0
].tagName!=='HTML'){if(!i.axis||i.axis!=='x'){if((n.overflowOffset.top+n.scrollP
arent[0].offsetHeight)-t.pageY<i.scrollSensitivity){n.scrollParent[0].scrollTop=
s=n.scrollParent[0].scrollTop+i.scrollSpeed}else if(t.pageY-n.overflowOffset.top
<i.scrollSensitivity){n.scrollParent[0].scrollTop=s=n.scrollParent[0].scrollTop-
i.scrollSpeed}};if(!i.axis||i.axis!=='y'){if((n.overflowOffset.left+n.scrollPare
nt[0].offsetWidth)-t.pageX<i.scrollSensitivity){n.scrollParent[0].scrollLeft=s=n
.scrollParent[0].scrollLeft+i.scrollSpeed}else if(t.pageX-n.overflowOffset.left<
i.scrollSensitivity){n.scrollParent[0].scrollLeft=s=n.scrollParent[0].scrollLeft
-i.scrollSpeed}}}else{if(!i.axis||i.axis!=='x'){if(t.pageY-e(document).scrollTop
()<i.scrollSensitivity){s=e(document).scrollTop(e(document).scrollTop()-i.scroll
Speed)}else if(e(window).height()-(t.pageY-e(document).scrollTop())<i.scrollSens
itivity){s=e(document).scrollTop(e(document).scrollTop()+i.scrollSpeed)}};if(!i.
axis||i.axis!=='y'){if(t.pageX-e(document).scrollLeft()<i.scrollSensitivity){s=e
(document).scrollLeft(e(document).scrollLeft()-i.scrollSpeed)}else if(e(window).
width()-(t.pageX-e(document).scrollLeft())<i.scrollSensitivity){s=e(document).sc
rollLeft(e(document).scrollLeft()+i.scrollSpeed)}}};if(s!==!1&&e.ui.ddmanager&&!
i.dropBehaviour){e.ui.ddmanager.prepareOffsets(n,t)}}});e.ui.plugin.add('draggab
le','snap',{start:function(){var t=e(this).data('ui-draggable'),i=t.options;t.sn
apElements=[];e(i.snap.constructor!==String?(i.snap.items||':data(ui-draggable)'
):i.snap).each(function(){var i=e(this),n=i.offset();if(this!==t.element[0]){t.s
napElements.push({item:this,width:i.outerWidth(),height:i.outerHeight(),top:n.to
p,left:n.left})}})},drag:function(t,i){var l,c,u,a,f,d,o,h,s,y,n=e(this).data('u
i-draggable'),v=n.options,r=v.snapTolerance,m=i.offset.left,b=m+n.helperProporti
ons.width,p=i.offset.top,g=p+n.helperProportions.height;for(s=n.snapElements.len
gth-1;s>=0;s--){f=n.snapElements[s].left;d=f+n.snapElements[s].width;o=n.snapEle
ments[s].top;h=o+n.snapElements[s].height;if(b<f-r||m>d+r||g<o-r||p>h+r||!e.cont
ains(n.snapElements[s].item.ownerDocument,n.snapElements[s].item)){if(n.snapElem
ents[s].snapping){(n.options.snap.release&&n.options.snap.release.call(n.element
,t,e.extend(n.n$(),{snapItem:n.snapElements[s].item})))};n.snapElements[s].snapp
ing=!1;continue};if(v.snapMode!=='inner'){l=Math.abs(o-g)<=r;c=Math.abs(h-p)<=r;
u=Math.abs(f-b)<=r;a=Math.abs(d-m)<=r;if(l){i.position.top=n.l$('relative',{top:
o-n.helperProportions.height,left:0}).top-n.margins.top};if(c){i.position.top=n.
l$('relative',{top:h,left:0}).top-n.margins.top};if(u){i.position.left=n.l$('rel
ative',{top:0,left:f-n.helperProportions.width}).left-n.margins.left};if(a){i.po
sition.left=n.l$('relative',{top:0,left:d}).left-n.margins.left}};y=(l||c||u||a)
;if(v.snapMode!=='outer'){l=Math.abs(o-p)<=r;c=Math.abs(h-g)<=r;u=Math.abs(f-m)<
=r;a=Math.abs(d-b)<=r;if(l){i.position.top=n.l$('relative',{top:o,left:0}).top-n
.margins.top};if(c){i.position.top=n.l$('relative',{top:h-n.helperProportions.he
ight,left:0}).top-n.margins.top};if(u){i.position.left=n.l$('relative',{top:0,le
ft:f}).left-n.margins.left};if(a){i.position.left=n.l$('relative',{top:0,left:d-
n.helperProportions.width}).left-n.margins.left}};if(!n.snapElements[s].snapping
&&(l||c||u||a||y)){(n.options.snap.snap&&n.options.snap.snap.call(n.element,t,e.
extend(n.n$(),{snapItem:n.snapElements[s].item})))};n.snapElements[s].snapping=(
l||c||u||a||y)}}});e.ui.plugin.add('draggable','stack',{start:function(){var i,n
=this.data('ui-draggable').options,t=e.makeArray(e(n.stack)).sort(function(t,i){
return(parseInt(e(t).css('zIndex'),10)||0)-(parseInt(e(i).css('zIndex'),10)||0)}
);if(!t.length){return};i=parseInt(e(t[0]).css('zIndex'),10)||0;e(t).each(functi
on(t){e(this).css('zIndex',i+t)});this.css('zIndex',(i+t.length))}});e.ui.plugin
.add('draggable','zIndex',{start:function(t,i){var n=e(i.helper),s=e(this).data(
'ui-draggable').options;if(n.css('zIndex')){s.wt$=n.css('zIndex')};n.css('zIndex
',s.zIndex)},stop:function(t,i){var n=e(this).data('ui-draggable').options;if(n.
wt$){e(i.helper).css('zIndex',n.wt$)}}})})(jQuery);(function(e,t){function i(e,t
,i){return(e>t)&&(e<(t+i))};e.widget('ui.droppable',{version:'1.10.3',widgetEven
tPrefix:'drop',options:{accept:'*',activeClass:!1,addClasses:!0,greedy:!1,hoverC
lass:!1,scope:'default',tolerance:'intersect',activate:null,deactivate:null,drop
:null,out:null,over:null},L$:function(){var t=this.options,i=t.accept;this.isove
r=!1;this.isout=!0;this.accept=e.isFunction(i)?i:function(e){return e.is(i)};thi
s.proportions={width:this.element[0].offsetWidth,height:this.element[0].offsetHe
ight};e.ui.ddmanager.droppables[t.scope]=e.ui.ddmanager.droppables[t.scope]||[];
e.ui.ddmanager.droppables[t.scope].push(this);(t.addClasses&&this.element.addCla
ss('ui-droppable'))},N$:function(){var t=0,i=e.ui.ddmanager.droppables[this.opti
ons.scope];for(;t<i.length;t++){if(i[t]===this){i.splice(t,1)}};this.element.rem
oveClass('ui-droppable ui-droppable-disabled')},b$:function(t,i){if(t==='accept'
){this.accept=e.isFunction(i)?i:function(e){return e.is(i)}};e.Widget.prototype.
b$.apply(this,arguments)},he$:function(t){var i=e.ui.ddmanager.current;if(this.o
ptions.activeClass){this.element.addClass(this.options.activeClass)};if(i){this.
t$('activate',t,this.ui(i))}},ui$:function(t){var i=e.ui.ddmanager.current;if(th
is.options.activeClass){this.element.removeClass(this.options.activeClass)};if(i
){this.t$('deactivate',t,this.ui(i))}},ci$:function(t){var i=e.ui.ddmanager.curr
ent;if(!i||(i.currentItem||i.element)[0]===this.element[0]){return};if(this.acce
pt.call(this.element[0],(i.currentItem||i.element))){if(this.options.hoverClass)
{this.element.addClass(this.options.hoverClass)};this.t$('over',t,this.ui(i))}},
li$:function(t){var i=e.ui.ddmanager.current;if(!i||(i.currentItem||i.element)[0
]===this.element[0]){return};if(this.accept.call(this.element[0],(i.currentItem|
|i.element))){if(this.options.hoverClass){this.element.removeClass(this.options.
hoverClass)};this.t$('out',t,this.ui(i))}},fi$:function(t,i){var n=i||e.ui.ddman
ager.current,s=!1;if(!n||(n.currentItem||n.element)[0]===this.element[0]){return
!1};this.element.find(':data(ui-droppable)').not('.ui-draggable-dragging').each(
function(){var t=e.data(this,'ui-droppable');if(t.options.greedy&&!t.options.dis
abled&&t.options.scope===n.options.scope&&t.accept.call(t.element[0],(n.currentI
tem||n.element))&&e.ui.intersect(n,e.extend(t,{offset:t.element.offset()}),t.opt
ions.tolerance)){s=!0;return!1}});if(s){return!1};if(this.accept.call(this.eleme
nt[0],(n.currentItem||n.element))){if(this.options.activeClass){this.element.rem
oveClass(this.options.activeClass)};if(this.options.hoverClass){this.element.rem
oveClass(this.options.hoverClass)};this.t$('drop',t,this.ui(n));return this.elem
ent};return!1},ui:function(e){return{draggable:(e.currentItem||e.element),helper
:e.helper,position:e.position,offset:e.positionAbs}}});e.ui.intersect=function(e
,t,n){if(!t.offset){return!1};var h,d,a=(e.positionAbs||e.position.absolute).lef
t,u=a+e.helperProportions.width,o=(e.positionAbs||e.position.absolute).top,f=o+e
.helperProportions.height,s=t.offset.left,l=s+t.proportions.width,r=t.offset.top
,c=r+t.proportions.height;switch(n){case'fit':return(s<=a&&u<=l&&r<=o&&f<=c);cas
e'intersect':return(s<a+(e.helperProportions.width/2)&&u-(e.helperProportions.wi
dth/2)<l&&r<o+(e.helperProportions.height/2)&&f-(e.helperProportions.height/2)<c
);case'pointer':h=((e.positionAbs||e.position.absolute).left+(e.clickOffset||e.o
ffset.click).left);d=((e.positionAbs||e.position.absolute).top+(e.clickOffset||e
.offset.click).top);return i(d,r,t.proportions.height)&&i(h,s,t.proportions.widt
h);case'touch':return((o>=r&&o<=c)||(f>=r&&f<=c)||(o<r&&f>c))&&((a>=s&&a<=l)||(u
>=s&&u<=l)||(a<s&&u>l));default:return!1}};e.ui.ddmanager={current:null,droppabl
es:{'default':[]},prepareOffsets:function(t,i){var n,r,s=e.ui.ddmanager.droppabl
es[t.options.scope]||[],a=i?i.type:null,o=(t.currentItem||t.element).find(':data
(ui-droppable)').addBack();droppablesLoop:for(n=0;n<s.length;n++){if(s[n].option
s.disabled||(t&&!s[n].accept.call(s[n].element[0],(t.currentItem||t.element)))){
continue};for(r=0;r<o.length;r++){if(o[r]===s[n].element[0]){s[n].proportions.he
ight=0;continue;droppablesLoop}};s[n].visible=s[n].element.css('display')!=='non
e';if(!s[n].visible){continue};if(a==='mousedown'){s[n].he$.call(s[n],i)};s[n].o
ffset=s[n].element.offset();s[n].proportions={width:s[n].element[0].offsetWidth,
height:s[n].element[0].offsetHeight}}},drop:function(t,i){var n=!1;e.each((e.ui.
ddmanager.droppables[t.options.scope]||[]).slice(),function(){if(!this.options){
return};if(!this.options.disabled&&this.visible&&e.ui.intersect(t,this,this.opti
ons.tolerance)){n=this.fi$.call(this,i)||n};if(!this.options.disabled&&this.visi
ble&&this.accept.call(this.element[0],(t.currentItem||t.element))){this.isout=!0
;this.isover=!1;this.ui$.call(this,i)}});return n},dragStart:function(t,i){t.ele
ment.parentsUntil('body').bind('scroll.droppable',function(){if(!t.options.refre
shPositions){e.ui.ddmanager.prepareOffsets(t,i)}})},drag:function(t,i){if(t.opti
ons.refreshPositions){e.ui.ddmanager.prepareOffsets(t,i)};e.each(e.ui.ddmanager.
droppables[t.options.scope]||[],function(){if(this.options.disabled||this.greedy
Child||!this.visible){return};var n,o,r,a=e.ui.intersect(t,this,this.options.tol
erance),s=!a&&this.isover?'isout':(a&&!this.isover?'isover':null);if(!s){return}
;if(this.options.greedy){o=this.options.scope;r=this.element.parents(':data(ui-d
roppable)').filter(function(){return e.data(this,'ui-droppable').options.scope==
=o});if(r.length){n=e.data(r[0],'ui-droppable');n.greedyChild=(s==='isover')}};i
f(n&&s==='isover'){n.isover=!1;n.isout=!0;n.li$.call(n,i)};this[s]=!0;this[s==='
isout'?'isover':'isout']=!1;this[s==='isover'?'_over':'_out'].call(this,i);if(n&
&s==='isout'){n.isout=!1;n.isover=!0;n.ci$.call(n,i)}})},dragStop:function(t,i){
t.element.parentsUntil('body').unbind('scroll.droppable');if(!t.options.refreshP
ositions){e.ui.ddmanager.prepareOffsets(t,i)}}}})(jQuery);(function(e,t){functio
n n(e){return parseInt(e,10)||0};function i(e){return!isNaN(parseInt(e,10))};e.w
idget('ui.resizable',e.ui.mouse,{version:'1.10.3',widgetEventPrefix:'resize',opt
ions:{alsoResize:!1,animate:!1,animateDuration:'slow',animateEasing:'swing',aspe
ctRatio:!1,autoHide:!1,containment:!1,ghost:!1,grid:!1,handles:'e,s,se',helper:!
1,maxHeight:null,maxWidth:null,minHeight:10,minWidth:10,zIndex:90,resize:null,st
art:null,stop:null},L$:function(){var o,r,s,i,a,n=this,t=this.options;this.eleme
nt.addClass('ui-resizable');e.extend(this,{ze$:!!(t.aspectRatio),aspectRatio:t.a
spectRatio,originalElement:this.element,z$:[],s$:t.helper||t.ghost||t.animate?t.
helper||'ui-resizable-helper':null});if(this.element[0].nodeName.match(/canvas|t
extarea|input|select|button|img/i)){this.element.wrap(e('<div class=\'ui-wrapper
\' style=\'overflow: hidden;\'></div>').css({position:this.element.css('position
'),width:this.element.outerWidth(),height:this.element.outerHeight(),top:this.el
ement.css('top'),left:this.element.css('left')}));this.element=this.element.pare
nt().data('ui-resizable',this.element.data('ui-resizable'));this.elementIsWrappe
r=!0;this.element.css({marginLeft:this.originalElement.css('marginLeft'),marginT
op:this.originalElement.css('marginTop'),marginRight:this.originalElement.css('m
arginRight'),marginBottom:this.originalElement.css('marginBottom')});this.origin
alElement.css({marginLeft:0,marginTop:0,marginRight:0,marginBottom:0});this.orig
inalResizeStyle=this.originalElement.css('resize');this.originalElement.css('res
ize','none');this.z$.push(this.originalElement.css({position:'static',zoom:1,dis
play:'block'}));this.originalElement.css({margin:this.originalElement.css('margi
n')});this.le$()};this.handles=t.handles||(!e('.ui-resizable-handle',this.elemen
t).length?'e,s,se':{n:'.ui-resizable-n',e:'.ui-resizable-e',s:'.ui-resizable-s',
w:'.ui-resizable-w',se:'.ui-resizable-se',sw:'.ui-resizable-sw',ne:'.ui-resizabl
e-ne',nw:'.ui-resizable-nw'});if(this.handles.constructor===String){if(this.hand
les==='all'){this.handles='n,e,s,w,se,sw,ne,nw'};o=this.handles.split(',');this.
handles={};for(r=0;r<o.length;r++){s=e.trim(o[r]);a='ui-resizable-'+s;i=e('<div
class=\'ui-resizable-handle '+a+'\'></div>');i.css({zIndex:t.zIndex});if('se'===
s){i.addClass('ui-icon ui-icon-gripsmall-diagonal-se')};this.handles[s]='.ui-res
izable-'+s;this.element.append(i)}};this.ki$=function(t){var i,n,r,s;t=t||this.e
lement;for(i in this.handles){if(this.handles[i].constructor===String){this.hand
les[i]=e(this.handles[i],this.element).show()};if(this.elementIsWrapper&&this.or
iginalElement[0].nodeName.match(/textarea|input|select|button/i)){n=e(this.handl
es[i],this.element);s=/sw|ne|nw|se|n|s/.test(i)?n.outerHeight():n.outerWidth();r
=['padding',/ne|nw|n/.test(i)?'Top':/se|sw|s/.test(i)?'Bottom':/^e$/.test(i)?'Ri
ght':'Left'].join('');t.css(r,s);this.le$()};if(!e(this.handles[i]).length){cont
inue}}};this.ki$(this.element);this.ne$=e('.ui-resizable-handle',this.element).d
isableSelection();this.ne$.mouseover(function(){if(!n.resizing){if(this.classNam
e){i=this.className.match(/ui-resizable-(se|sw|ne|nw|n|e|s|w)/i)};n.axis=i&&i[1]
?i[1]:'se'}});if(t.autoHide){this.ne$.hide();e(this.element).addClass('ui-resiza
ble-autohide').mouseenter(function(){if(t.disabled){return};e(this).removeClass(
'ui-resizable-autohide');n.ne$.show()}).mouseleave(function(){if(t.disabled){ret
urn};if(!n.resizing){e(this).addClass('ui-resizable-autohide');n.ne$.hide()}})};
this.X$()},N$:function(){this.ce$();var t,i=function(t){e(t).removeClass('ui-res
izable ui-resizable-disabled ui-resizable-resizing').removeData('resizable').rem
oveData('ui-resizable').unbind('.resizable').find('.ui-resizable-handle').remove
()};if(this.elementIsWrapper){i(this.element);t=this.element;this.originalElemen
t.css({position:t.css('position'),width:t.outerWidth(),height:t.outerHeight(),to
p:t.css('top'),left:t.css('left')}).insertAfter(t);t.remove()};this.originalElem
ent.css('resize',this.originalResizeStyle);i(this.originalElement);return this},
U$:function(t){var s,i,n=!1;for(s in this.handles){i=e(this.handles[s])[0];if(i=
==t.target||e.contains(i,t.target)){n=!0}};return!this.options.disabled&&n},F$:f
unction(t){var o,r,a,s=this.options,l=this.element.position(),i=this.element;thi
s.resizing=!0;if((/absolute/).test(i.css('position'))){i.css({position:'absolute
',top:i.css('top'),left:i.css('left')})}else if(i.is('.ui-draggable')){i.css({po
sition:'absolute',top:l.top,left:l.left})};this.hi$();o=n(this.helper.css('left'
));r=n(this.helper.css('top'));if(s.containment){o+=e(s.containment).scrollLeft(
)||0;r+=e(s.containment).scrollTop()||0};this.offset=this.helper.offset();this.p
osition={left:o,top:r};this.size=this.s$?{width:i.outerWidth(),height:i.outerHei
ght()}:{width:i.width(),height:i.height()};this.originalSize=this.s$?{width:i.ou
terWidth(),height:i.outerHeight()}:{width:i.width(),height:i.height()};this.orig
inalPosition={left:o,top:r};this.sizeDiff={width:i.outerWidth()-i.width(),height
:i.outerHeight()-i.height()};this.originalMousePosition={left:t.pageX,top:t.page
Y};this.aspectRatio=(typeof s.aspectRatio==='number')?s.aspectRatio:((this.origi
nalSize.width/this.originalSize.height)||1);a=e('.ui-resizable-'+this.axis).css(
'cursor');e('body').css('cursor',a==='auto'?this.axis+'-resize':a);i.addClass('u
i-resizable-resizing');this.Z$('start',t);return!0},x$:function(t){var n,u=this.
helper,i={},r=this.originalMousePosition,f=this.axis,c=this.position.top,h=this.
position.left,d=this.size.width,a=this.size.height,o=(t.pageX-r.left)||0,l=(t.pa
geY-r.top)||0,s=this.h$[f];if(!s){return!1};n=s.apply(this,[t,o,l]);this.mi$(t.s
hiftKey);if(this.ze$||t.shiftKey){n=this.pi$(n,t)};n=this.di$(n,t);this.qe$(n);t
his.Z$('resize',t);if(this.position.top!==c){i.top=this.position.top+'px'};if(th
is.position.left!==h){i.left=this.position.left+'px'};if(this.size.width!==d){i.
width=this.size.width+'px'};if(this.size.height!==a){i.height=this.size.height+'
px'};u.css(i);if(!this.s$&&this.z$.length){this.le$()};if(!e.isEmptyObject(i)){t
his.t$('resize',t,this.ui())};return!1},H$:function(t){this.resizing=!1;var n,s,
l,a,c,u,o,r=this.options,i=this;if(this.s$){n=this.z$;s=n.length&&(/textarea/i).
test(n[0].nodeName);l=s&&e.ui.hasScroll(n[0],'left')?0:i.sizeDiff.height;a=s?0:i
.sizeDiff.width;c={width:(i.helper.width()-a),height:(i.helper.height()-l)};u=(p
arseInt(i.element.css('left'),10)+(i.position.left-i.originalPosition.left))||nu
ll;o=(parseInt(i.element.css('top'),10)+(i.position.top-i.originalPosition.top))
||null;if(!r.animate){this.element.css(e.extend(c,{top:o,left:u}))};i.helper.hei
ght(i.size.height);i.helper.width(i.size.width);if(this.s$&&!r.animate){this.le$
()}};e('body').css('cursor','auto');this.element.removeClass('ui-resizable-resiz
ing');this.Z$('stop',t);if(this.s$){this.helper.remove()};return!1},mi$:function
(e){var o,a,r,s,t,n=this.options;t={minWidth:i(n.minWidth)?n.minWidth:0,maxWidth
:i(n.maxWidth)?n.maxWidth:Infinity,minHeight:i(n.minHeight)?n.minHeight:0,maxHei
ght:i(n.maxHeight)?n.maxHeight:Infinity};if(this.ze$||e){o=t.minHeight*this.aspe
ctRatio;r=t.minWidth/this.aspectRatio;a=t.maxHeight*this.aspectRatio;s=t.maxWidt
h/this.aspectRatio;if(o>t.minWidth){t.minWidth=o};if(r>t.minHeight){t.minHeight=
r};if(a<t.maxWidth){t.maxWidth=a};if(s<t.maxHeight){t.maxHeight=s}};this.Ci$=t},
qe$:function(e){this.offset=this.helper.offset();if(i(e.left)){this.position.lef
t=e.left};if(i(e.top)){this.position.top=e.top};if(i(e.height)){this.size.height
=e.height};if(i(e.width)){this.size.width=e.width}},pi$:function(e){var n=this.p
osition,t=this.size,s=this.axis;if(i(e.height)){e.width=(e.height*this.aspectRat
io)}else if(i(e.width)){e.height=(e.width/this.aspectRatio)};if(s==='sw'){e.left
=n.left+(t.width-e.width);e.top=null};if(s==='nw'){e.top=n.top+(t.height-e.heigh
t);e.left=n.left+(t.width-e.width)};return e},di$:function(e){var t=this.Ci$,l=t
his.axis,c=i(e.width)&&t.maxWidth&&(t.maxWidth<e.width),u=i(e.height)&&t.maxHeig
ht&&(t.maxHeight<e.height),a=i(e.width)&&t.minWidth&&(t.minWidth>e.width),f=i(e.
height)&&t.minHeight&&(t.minHeight>e.height),r=this.originalPosition.left+this.o
riginalSize.width,n=this.position.top+this.size.height,o=/sw|nw|w/.test(l),s=/nw
|ne|n/.test(l);if(a){e.width=t.minWidth};if(f){e.height=t.minHeight};if(c){e.wid
th=t.maxWidth};if(u){e.height=t.maxHeight};if(a&&o){e.left=r-t.minWidth};if(c&&o
){e.left=r-t.maxWidth};if(f&&s){e.top=n-t.minHeight};if(u&&s){e.top=n-t.maxHeigh
t};if(!e.width&&!e.height&&!e.left&&e.top){e.top=null}else if(!e.width&&!e.heigh
t&&!e.top&&e.left){e.left=null};return e},le$:function(){if(!this.z$.length){ret
urn};var i,t,n,r,e,s=this.helper||this.element;for(i=0;i<this.z$.length;i++){e=t
his.z$[i];if(!this.borderDif){this.borderDif=[];n=[e.css('borderTopWidth'),e.css
('borderRightWidth'),e.css('borderBottomWidth'),e.css('borderLeftWidth')];r=[e.c
ss('paddingTop'),e.css('paddingRight'),e.css('paddingBottom'),e.css('paddingLeft
')];for(t=0;t<n.length;t++){this.borderDif[t]=(parseInt(n[t],10)||0)+(parseInt(r
[t],10)||0)}};e.css({height:(s.height()-this.borderDif[0]-this.borderDif[2])||0,
width:(s.width()-this.borderDif[1]-this.borderDif[3])||0})}},hi$:function(){var
i=this.element,t=this.options;this.elementOffset=i.offset();if(this.s$){this.hel
per=this.helper||e('<div style=\'overflow:hidden;\'></div>');this.helper.addClas
s(this.s$).css({width:this.element.outerWidth()-1,height:this.element.outerHeigh
t()-1,position:'absolute',left:this.elementOffset.left+'px',top:this.elementOffs
et.top+'px',zIndex:++t.zIndex});this.helper.appendTo('body').disableSelection()}
else{this.helper=this.element}},h$:{e:function(e,t){return{width:this.originalSi
ze.width+t}},w:function(e,t){var n=this.originalSize,i=this.originalPosition;ret
urn{left:i.left+t,width:n.width-t}},n:function(e,t,i){var s=this.originalSize,n=
this.originalPosition;return{top:n.top+i,height:s.height-i}},s:function(e,t,i){r
eturn{height:this.originalSize.height+i}},se:function(t,i,n){return e.extend(thi
s.h$.s.apply(this,arguments),this.h$.e.apply(this,[t,i,n]))},sw:function(t,i,n){
return e.extend(this.h$.s.apply(this,arguments),this.h$.w.apply(this,[t,i,n]))},
ne:function(t,i,n){return e.extend(this.h$.n.apply(this,arguments),this.h$.e.app
ly(this,[t,i,n]))},nw:function(t,i,n){return e.extend(this.h$.n.apply(this,argum
ents),this.h$.w.apply(this,[t,i,n]))}},Z$:function(t,i){e.ui.plugin.call(this,t,
[i,this.ui()]);(t!=='resize'&&this.t$(t,i,this.ui()))},plugins:{},ui:function(){
return{originalElement:this.originalElement,element:this.element,helper:this.hel
per,position:this.position,size:this.size,originalSize:this.originalSize,origina
lPosition:this.originalPosition}}});e.ui.plugin.add('resizable','animate',{stop:
function(t){var i=e(this).data('ui-resizable'),a=i.options,n=i.z$,o=n.length&&(/
textarea/i).test(n[0].nodeName),l=o&&e.ui.hasScroll(n[0],'left')?0:i.sizeDiff.he
ight,u=o?0:i.sizeDiff.width,c={width:(i.size.width-u),height:(i.size.height-l)},
r=(parseInt(i.element.css('left'),10)+(i.position.left-i.originalPosition.left))
||null,s=(parseInt(i.element.css('top'),10)+(i.position.top-i.originalPosition.t
op))||null;i.element.animate(e.extend(c,s&&r?{top:s,left:r}:{}),{duration:a.anim
ateDuration,easing:a.animateEasing,step:function(){var s={width:parseInt(i.eleme
nt.css('width'),10),height:parseInt(i.element.css('height'),10),top:parseInt(i.e
lement.css('top'),10),left:parseInt(i.element.css('left'),10)};if(n&&n.length){e
(n[0]).css({width:s.width,height:s.height})};i.qe$(s);i.Z$('resize',t)}})}});e.u
i.plugin.add('resizable','containment',{start:function(){var r,o,a,u,f,l,c,t=e(t
his).data('ui-resizable'),d=t.options,h=t.element,s=d.containment,i=(s instanceo
f e)?s.get(0):(/parent/.test(s))?h.parent().get(0):s;if(!i){return};t.containerE
lement=e(i);if(/document/.test(s)||s===document){t.containerOffset={left:0,top:0
};t.containerPosition={left:0,top:0};t.parentData={element:e(document),left:0,to
p:0,width:e(document).width(),height:e(document).height()||document.body.parentN
ode.scrollHeight}}else{r=e(i);o=[];e(['Top','Right','Left','Bottom']).each(funct
ion(e,t){o[e]=n(r.css('padding'+t))});t.containerOffset=r.offset();t.containerPo
sition=r.position();t.containerSize={height:(r.innerHeight()-o[3]),width:(r.inne
rWidth()-o[1])};a=t.containerOffset;u=t.containerSize.height;f=t.containerSize.w
idth;l=(e.ui.hasScroll(i,'left')?i.scrollWidth:f);c=(e.ui.hasScroll(i)?i.scrollH
eight:u);t.parentData={element:i,left:a.left,top:a.top,width:l,height:c}}},resiz
e:function(t){var r,a,l,c,i=e(this).data('ui-resizable'),h=i.options,n=i.contain
erOffset,u=i.position,o=i.ze$||t.shiftKey,s={top:0,left:0},f=i.containerElement;
if(f[0]!==document&&(/static/).test(f.css('position'))){s=n};if(u.left<(i.s$?n.l
eft:0)){i.size.width=i.size.width+(i.s$?(i.position.left-n.left):(i.position.lef
t-s.left));if(o){i.size.height=i.size.width/i.aspectRatio};i.position.left=h.hel
per?n.left:0};if(u.top<(i.s$?n.top:0)){i.size.height=i.size.height+(i.s$?(i.posi
tion.top-n.top):i.position.top);if(o){i.size.width=i.size.height*i.aspectRatio};
i.position.top=i.s$?n.top:0};i.offset.left=i.parentData.left+i.position.left;i.o
ffset.top=i.parentData.top+i.position.top;r=Math.abs((i.s$?i.offset.left-s.left:
(i.offset.left-s.left))+i.sizeDiff.width);a=Math.abs((i.s$?i.offset.top-s.top:(i
.offset.top-n.top))+i.sizeDiff.height);l=i.containerElement.get(0)===i.element.p
arent().get(0);c=/relative|absolute/.test(i.containerElement.css('position'));if
(l&&c){r-=i.parentData.left};if(r+i.size.width>=i.parentData.width){i.size.width
=i.parentData.width-r;if(o){i.size.height=i.size.width/i.aspectRatio}};if(a+i.si
ze.height>=i.parentData.height){i.size.height=i.parentData.height-a;if(o){i.size
.width=i.size.height*i.aspectRatio}}},stop:function(){var t=e(this).data('ui-res
izable'),a=t.options,l=t.containerOffset,c=t.containerPosition,o=t.containerElem
ent,i=e(t.helper),n=i.offset(),s=i.outerWidth()-t.sizeDiff.width,r=i.outerHeight
()-t.sizeDiff.height;if(t.s$&&!a.animate&&(/relative/).test(o.css('position'))){
e(this).css({left:n.left-c.left-l.left,width:s,height:r})};if(t.s$&&!a.animate&&
(/static/).test(o.css('position'))){e(this).css({left:n.left-c.left-l.left,width
:s,height:r})}}});e.ui.plugin.add('resizable','alsoResize',{start:function(){var
n=e(this).data('ui-resizable'),t=n.options,i=function(t){e(t).each(function(){v
ar t=e(this);t.data('ui-resizable-alsoresize',{width:parseInt(t.width(),10),heig
ht:parseInt(t.height(),10),left:parseInt(t.css('left'),10),top:parseInt(t.css('t
op'),10)})})};if(typeof(t.alsoResize)==='object'&&!t.alsoResize.parentNode){if(t
.alsoResize.length){t.alsoResize=t.alsoResize[0];i(t.alsoResize)}else{e.each(t.a
lsoResize,function(e){i(e)})}}else{i(t.alsoResize)}},resize:function(t,i){var n=
e(this).data('ui-resizable'),s=n.options,a=n.originalSize,o=n.originalPosition,l
={height:(n.size.height-a.height)||0,width:(n.size.width-a.width)||0,top:(n.posi
tion.top-o.top)||0,left:(n.position.left-o.left)||0},r=function(t,n){e(t).each(f
unction(){var s=e(this),o=e(this).data('ui-resizable-alsoresize'),t={},r=n&&n.le
ngth?n:s.parents(i.originalElement[0]).length?['width','height']:['width','heigh
t','top','left'];e.each(r,function(e,i){var n=(o[i]||0)+(l[i]||0);if(n&&n>=0){t[
i]=n||null}});s.css(t)})};if(typeof(s.alsoResize)==='object'&&!s.alsoResize.node
Type){e.each(s.alsoResize,function(e,t){r(e,t)})}else{r(s.alsoResize)}},stop:fun
ction(){e(this).removeData('resizable-alsoresize')}});e.ui.plugin.add('resizable
','ghost',{start:function(){var t=e(this).data('ui-resizable'),n=t.options,i=t.s
ize;t.ghost=t.originalElement.clone();t.ghost.css({opacity:0.25,display:'block',
position:'relative',height:i.height,width:i.width,margin:0,left:0,top:0}).addCla
ss('ui-resizable-ghost').addClass(typeof n.ghost==='string'?n.ghost:'');t.ghost.
appendTo(t.helper)},resize:function(){var t=e(this).data('ui-resizable');if(t.gh
ost){t.ghost.css({position:'relative',height:t.size.height,width:t.size.width})}
},stop:function(){var t=e(this).data('ui-resizable');if(t.ghost&&t.helper){t.hel
per.get(0).removeChild(t.ghost.get(0))}}});e.ui.plugin.add('resizable','grid',{r
esize:function(){var t=e(this).data('ui-resizable'),i=t.options,d=t.size,l=t.ori
ginalSize,a=t.originalPosition,h=t.axis,c=typeof i.grid==='number'?[i.grid,i.gri
d]:i.grid,r=(c[0]||1),o=(c[1]||1),f=Math.round((d.width-l.width)/r)*r,u=Math.rou
nd((d.height-l.height)/o)*o,n=l.width+f,s=l.height+u,v=i.maxWidth&&(i.maxWidth<n
),g=i.maxHeight&&(i.maxHeight<s),m=i.minWidth&&(i.minWidth>n),p=i.minHeight&&(i.
minHeight>s);i.grid=c;if(m){n=n+r};if(p){s=s+o};if(v){n=n-r};if(g){s=s-o};if(/^(
se|s|e)$/.test(h)){t.size.width=n;t.size.height=s}else if(/^(ne)$/.test(h)){t.si
ze.width=n;t.size.height=s;t.position.top=a.top-u}else if(/^(sw)$/.test(h)){t.si
ze.width=n;t.size.height=s;t.position.left=a.left-f}else{t.size.width=n;t.size.h
eight=s;t.position.top=a.top-u;t.position.left=a.left-f}}})})(jQuery);(function(
e,t){e.widget('ui.selectable',e.ui.mouse,{version:'1.10.3',options:{appendTo:'bo
dy',autoRefresh:!0,distance:0,filter:'*',tolerance:'touch',selected:null,selecti
ng:null,start:null,stop:null,unselected:null,unselecting:null},L$:function(){var
t,i=this;this.element.addClass('ui-selectable');this.dragged=!1;this.refresh=fu
nction(){t=e(i.options.filter,i.element[0]);t.addClass('ui-selectee');t.each(fun
ction(){var t=e(this),i=t.offset();e.data(this,'selectable-item',{element:this,o
$:t,left:i.left,top:i.top,right:i.left+t.outerWidth(),bottom:i.top+t.outerHeight
(),startselected:!1,selected:t.hasClass('ui-selected'),selecting:t.hasClass('ui-
selecting'),unselecting:t.hasClass('ui-unselecting')})})};this.refresh();this.se
lectees=t.addClass('ui-selectee');this.X$();this.helper=e('<div class=\'ui-selec
table-helper\'></div>')},N$:function(){this.selectees.removeClass('ui-selectee')
.removeData('selectable-item');this.element.removeClass('ui-selectable ui-select
able-disabled');this.ce$()},F$:function(t){var n=this,i=this.options;this.opos=[
t.pageX,t.pageY];if(this.options.disabled){return};this.selectees=e(i.filter,thi
s.element[0]);this.t$('start',t);e(i.appendTo).append(this.helper);this.helper.c
ss({'left':t.pageX,'top':t.pageY,'width':0,'height':0});if(i.autoRefresh){this.r
efresh()};this.selectees.filter('.ui-selected').each(function(){var i=e.data(thi
s,'selectable-item');i.startselected=!0;if(!t.metaKey&&!t.ctrlKey){i.o$.removeCl
ass('ui-selected');i.selected=!1;i.o$.addClass('ui-unselecting');i.unselecting=!
0;n.t$('unselecting',t,{unselecting:i.element})}});e(t.target).parents().addBack
().each(function(){var s,i=e.data(this,'selectable-item');if(i){s=(!t.metaKey&&!
t.ctrlKey)||!i.o$.hasClass('ui-selected');i.o$.removeClass(s?'ui-unselecting':'u
i-selected').addClass(s?'ui-selecting':'ui-unselecting');i.unselecting=!s;i.sele
cting=s;i.selected=s;if(s){n.t$('selecting',t,{selecting:i.element})}else{n.t$('
unselecting',t,{unselecting:i.element})};return!1}})},x$:function(t){this.dragge
d=!0;if(this.options.disabled){return};var a,o=this,l=this.options,i=this.opos[0
],n=this.opos[1],s=t.pageX,r=t.pageY;if(i>s){a=s;s=i;i=a};if(n>r){a=r;r=n;n=a};t
his.helper.css({left:i,top:n,width:s-i,height:r-n});this.selectees.each(function
(){var a=e.data(this,'selectable-item'),c=!1;if(!a||a.element===o.element[0]){re
turn};if(l.tolerance==='touch'){c=(!(a.left>s||a.right<i||a.top>r||a.bottom<n))}
else if(l.tolerance==='fit'){c=(a.left>i&&a.right<s&&a.top>n&&a.bottom<r)};if(c)
{if(a.selected){a.o$.removeClass('ui-selected');a.selected=!1};if(a.unselecting)
{a.o$.removeClass('ui-unselecting');a.unselecting=!1};if(!a.selecting){a.o$.addC
lass('ui-selecting');a.selecting=!0;o.t$('selecting',t,{selecting:a.element})}}e
lse{if(a.selecting){if((t.metaKey||t.ctrlKey)&&a.startselected){a.o$.removeClass
('ui-selecting');a.selecting=!1;a.o$.addClass('ui-selected');a.selected=!0}else{
a.o$.removeClass('ui-selecting');a.selecting=!1;if(a.startselected){a.o$.addClas
s('ui-unselecting');a.unselecting=!0};o.t$('unselecting',t,{unselecting:a.elemen
t})}};if(a.selected){if(!t.metaKey&&!t.ctrlKey&&!a.startselected){a.o$.removeCla
ss('ui-selected');a.selected=!1;a.o$.addClass('ui-unselecting');a.unselecting=!0
;o.t$('unselecting',t,{unselecting:a.element})}}}});return!1},H$:function(t){var
i=this;this.dragged=!1;e('.ui-unselecting',this.element[0]).each(function(){var
n=e.data(this,'selectable-item');n.o$.removeClass('ui-unselecting');n.unselecti
ng=!1;n.startselected=!1;i.t$('unselected',t,{unselected:n.element})});e('.ui-se
lecting',this.element[0]).each(function(){var n=e.data(this,'selectable-item');n
.o$.removeClass('ui-selecting').addClass('ui-selected');n.selecting=!1;n.selecte
d=!0;n.startselected=!0;i.t$('selected',t,{selected:n.element})});this.t$('stop'
,t);this.helper.remove();return!1}})})(jQuery);(function(e,t){function i(e,t,i){
return(e>t)&&(e<(t+i))};function n(e){return(/left|right/).test(e.css('float'))|
|(/inline|table-cell/).test(e.css('display'))};e.widget('ui.sortable',e.ui.mouse
,{version:'1.10.3',widgetEventPrefix:'sort',ready:!1,options:{appendTo:'parent',
axis:!1,connectWith:!1,containment:!1,cursor:'auto',cursorAt:!1,dropOnEmpty:!0,f
orcePlaceholderSize:!1,forceHelperSize:!1,grid:!1,handle:!1,helper:'original',it
ems:'> *',opacity:!1,placeholder:!1,revert:!1,scroll:!0,scrollSensitivity:20,scr
ollSpeed:20,scope:'default',tolerance:'intersect',zIndex:1000,activate:null,befo
reStop:null,change:null,deactivate:null,out:null,over:null,receive:null,remove:n
ull,sort:null,start:null,stop:null,update:null},L$:function(){var e=this.options
;this.containerCache={};this.element.addClass('ui-sortable');this.refresh();this
.floating=this.items.length?e.axis==='x'||n(this.items[0].item):!1;this.offset=t
his.element.offset();this.X$();this.ready=!0},N$:function(){this.element.removeC
lass('ui-sortable ui-sortable-disabled');this.ce$();for(var e=this.items.length-
1;e>=0;e--){this.items[e].item.removeData(this.widgetName+'-item')};return this}
,b$:function(t,i){if(t==='disabled'){this.options[t]=i;this.widget().toggleClass
('ui-sortable-disabled',!!i)}else{e.Widget.prototype.b$.apply(this,arguments)}},
U$:function(t,i){var n=null,r=!1,s=this;if(this.reverting){return!1};if(this.opt
ions.disabled||this.options.type==='static'){return!1};this.st$(t);e(t.target).p
arents().each(function(){if(e.data(this,s.widgetName+'-item')===s){n=e(this);ret
urn!1}});if(e.data(t.target,s.widgetName+'-item')===s){n=e(t.target)};if(!n){ret
urn!1};if(this.options.handle&&!i){e(this.options.handle,n).find('*').addBack().
each(function(){if(this===t.target){r=!0}});if(!r){return!1}};this.currentItem=n
;this.wi$();return!0},F$:function(t,i,n){var o,r,s=this.options;this.currentCont
ainer=this;this.refreshPositions();this.helper=this.ge$(t);this.J$();this.me$();
this.scrollParent=this.helper.scrollParent();this.offset=this.currentItem.offset
();this.offset={top:this.offset.top-this.margins.top,left:this.offset.left-this.
margins.left};e.extend(this.offset,{click:{left:t.pageX-this.offset.left,top:t.p
ageY-this.offset.top},parent:this.K$(),relative:this.oe$()});this.helper.css('po
sition','absolute');this.cssPosition=this.helper.css('position');this.originalPo
sition=this.Q$(t);this.originalPageX=t.pageX;this.originalPageY=t.pageY;(s.curso
rAt&&this.ve$(s.cursorAt));this.domPosition={prev:this.currentItem.prev()[0],par
ent:this.currentItem.parent()[0]};if(this.helper[0]!==this.currentItem[0]){this.
currentItem.hide()};this.bi$();if(s.containment){this.pe$()};if(s.cursor&&s.curs
or!=='auto'){r=this.document.find('body');this.storedCursor=r.css('cursor');r.cs
s('cursor',s.cursor);this.storedStylesheet=e('<style>*{ cursor: '+s.cursor+' !im
portant; }</style>').appendTo(r)};if(s.opacity){if(this.helper.css('opacity')){t
his.gt$=this.helper.css('opacity')};this.helper.css('opacity',s.opacity)};if(s.z
Index){if(this.helper.css('zIndex')){this.Oe$=this.helper.css('zIndex')};this.he
lper.css('zIndex',s.zIndex)};if(this.scrollParent[0]!==document&&this.scrollPare
nt[0].tagName!=='HTML'){this.overflowOffset=this.scrollParent.offset()};this.t$(
'start',t,this.n$());if(!this.Ti$){this.J$()};if(!n){for(o=this.containers.lengt
h-1;o>=0;o--){this.containers[o].t$('activate',t,this.n$(this))}};if(e.ui.ddmana
ger){e.ui.ddmanager.current=this};if(e.ui.ddmanager&&!s.dropBehaviour){e.ui.ddma
nager.prepareOffsets(this,t)};this.dragging=!0;this.helper.addClass('ui-sortable
-helper');this.x$(t);return!0},x$:function(t){var o,s,r,a,i=this.options,n=!1;th
is.position=this.Q$(t);this.positionAbs=this.l$('absolute');if(!this.lastPositio
nAbs){this.lastPositionAbs=this.positionAbs};if(this.options.scroll){if(this.scr
ollParent[0]!==document&&this.scrollParent[0].tagName!=='HTML'){if((this.overflo
wOffset.top+this.scrollParent[0].offsetHeight)-t.pageY<i.scrollSensitivity){this
.scrollParent[0].scrollTop=n=this.scrollParent[0].scrollTop+i.scrollSpeed}else i
f(t.pageY-this.overflowOffset.top<i.scrollSensitivity){this.scrollParent[0].scro
llTop=n=this.scrollParent[0].scrollTop-i.scrollSpeed};if((this.overflowOffset.le
ft+this.scrollParent[0].offsetWidth)-t.pageX<i.scrollSensitivity){this.scrollPar
ent[0].scrollLeft=n=this.scrollParent[0].scrollLeft+i.scrollSpeed}else if(t.page
X-this.overflowOffset.left<i.scrollSensitivity){this.scrollParent[0].scrollLeft=
n=this.scrollParent[0].scrollLeft-i.scrollSpeed}}else{if(t.pageY-e(document).scr
ollTop()<i.scrollSensitivity){n=e(document).scrollTop(e(document).scrollTop()-i.
scrollSpeed)}else if(e(window).height()-(t.pageY-e(document).scrollTop())<i.scro
llSensitivity){n=e(document).scrollTop(e(document).scrollTop()+i.scrollSpeed)};i
f(t.pageX-e(document).scrollLeft()<i.scrollSensitivity){n=e(document).scrollLeft
(e(document).scrollLeft()-i.scrollSpeed)}else if(e(window).width()-(t.pageX-e(do
cument).scrollLeft())<i.scrollSensitivity){n=e(document).scrollLeft(e(document).
scrollLeft()+i.scrollSpeed)}};if(n!==!1&&e.ui.ddmanager&&!i.dropBehaviour){e.ui.
ddmanager.prepareOffsets(this,t)}};this.positionAbs=this.l$('absolute');if(!this
.options.axis||this.options.axis!=='y'){this.helper[0].style.left=this.position.
left+'px'};if(!this.options.axis||this.options.axis!=='x'){this.helper[0].style.
top=this.position.top+'px'};for(o=this.items.length-1;o>=0;o--){s=this.items[o];
r=s.item[0];a=this.xi$(s);if(!a){continue};if(s.instance!==this.currentContainer
){continue};if(r!==this.currentItem[0]&&this.placeholder[a===1?'next':'prev']()[
0]!==r&&!e.contains(this.placeholder[0],r)&&(this.options.type==='semi-dynamic'?
!e.contains(this.element[0],r):!0)){this.direction=a===1?'down':'up';if(this.opt
ions.tolerance==='pointer'||this.yi$(s)){this.Fe$(t,s)}else{break};this.t$('chan
ge',t,this.n$());break}};this.vi$(t);if(e.ui.ddmanager){e.ui.ddmanager.drag(this
,t)};this.t$('sort',t,this.n$());this.lastPositionAbs=this.positionAbs;return!1}
,H$:function(t,i){if(!t){return};if(e.ui.ddmanager&&!this.options.dropBehaviour)
{e.ui.ddmanager.drop(this,t)};if(this.options.revert){var o=this,r=this.placehol
der.offset(),n=this.options.axis,s={};if(!n||n==='x'){s.left=r.left-this.offset.
parent.left-this.margins.left+(this.offsetParent[0]===document.body?0:this.offse
tParent[0].scrollLeft)};if(!n||n==='y'){s.top=r.top-this.offset.parent.top-this.
margins.top+(this.offsetParent[0]===document.body?0:this.offsetParent[0].scrollT
op)};this.reverting=!0;e(this.helper).animate(s,parseInt(this.options.revert,10)
||500,function(){o.W$(t)})}else{this.W$(t,i)};return!1},cancel:function(){if(thi
s.dragging){this.y$({target:null});if(this.options.helper==='original'){this.cur
rentItem.css(this.B$).removeClass('ui-sortable-helper')}else{this.currentItem.sh
ow()};for(var t=this.containers.length-1;t>=0;t--){this.containers[t].t$('deacti
vate',null,this.n$(this));if(this.containers[t].containerCache.over){this.contai
ners[t].t$('out',null,this.n$(this));this.containers[t].containerCache.over=0}}}
;if(this.placeholder){if(this.placeholder[0].parentNode){this.placeholder[0].par
entNode.removeChild(this.placeholder[0])};if(this.options.helper!=='original'&&t
his.helper&&this.helper[0].parentNode){this.helper.remove()};e.extend(this,{help
er:null,dragging:!1,reverting:!1,at$:null});if(this.domPosition.prev){e(this.dom
Position.prev).after(this.currentItem)}else{e(this.domPosition.parent).prepend(t
his.currentItem)}};return this},serialize:function(t){var n=this.nt$(t&&t.connec
ted),i=[];t=t||{};e(n).each(function(){var n=(e(t.item||this).attr(t.attribute||
'id')||'').match(t.expression||(/(.+)[\-=_](.+)/));if(n){i.push((t.key||n[1]+'[]
')+'='+(t.key&&t.expression?n[1]:n[2]))}});if(!i.length&&t.key){i.push(t.key+'='
)};return i.join('&')},toArray:function(t){var n=this.nt$(t&&t.connected),i=[];t
=t||{};n.each(function(){i.push(e(t.item||this).attr(t.attribute||'id')||'')});r
eturn i},ye$:function(e){var i=this.positionAbs.left,h=i+this.helperProportions.
width,t=this.positionAbs.top,d=t+this.helperProportions.height,s=e.left,l=s+e.wi
dth,n=e.top,o=n+e.height,r=this.offset.click.top,a=this.offset.click.left,f=(thi
s.options.axis==='x')||((t+r)>n&&(t+r)<o),u=(this.options.axis==='y')||((i+a)>s&
&(i+a)<l),c=f&&u;if(this.options.tolerance==='pointer'||this.options.forcePointe
rForContainers||(this.options.tolerance!=='pointer'&&this.helperProportions[this
.floating?'width':'height']>e[this.floating?'width':'height'])){return c}else{re
turn(s<i+(this.helperProportions.width/2)&&h-(this.helperProportions.width/2)<l&
&n<t+(this.helperProportions.height/2)&&d-(this.helperProportions.height/2)<o)}}
,xi$:function(e){var r=(this.options.axis==='x')||i(this.positionAbs.top+this.of
fset.click.top,e.top,e.height),s=(this.options.axis==='y')||i(this.positionAbs.l
eft+this.offset.click.left,e.left,e.width),o=r&&s,t=this.yt$(),n=this.ut$();if(!
o){return!1};return this.floating?(((n&&n==='right')||t==='down')?2:1):(t&&(t===
'down'?2:1))},yi$:function(e){var r=i(this.positionAbs.top+this.offset.click.top
,e.top+(e.height/2),e.height),s=i(this.positionAbs.left+this.offset.click.left,e
.left+(e.width/2),e.width),n=this.yt$(),t=this.ut$();if(this.floating&&t){return
((t==='right'&&s)||(t==='left'&&!s))}else{return n&&((n==='down'&&r)||(n==='up'&
&!r))}},yt$:function(){var e=this.positionAbs.top-this.lastPositionAbs.top;retur
n e!==0&&(e>0?'down':'up')},ut$:function(){var e=this.positionAbs.left-this.last
PositionAbs.left;return e!==0&&(e>0?'right':'left')},refresh:function(e){this.st
$(e);this.refreshPositions();return this},rt$:function(){var e=this.options;retu
rn e.connectWith.constructor===String?[e.connectWith]:e.connectWith},nt$:functio
n(t){var n,s,a,i,l=[],r=[],o=this.rt$();if(o&&t){for(n=o.length-1;n>=0;n--){a=e(
o[n]);for(s=a.length-1;s>=0;s--){i=e.data(a[s],this.widgetFullName);if(i&&i!==th
is&&!i.options.disabled){r.push([e.isFunction(i.options.items)?i.options.items.c
all(i.element):e(i.options.items,i.element).not('.ui-sortable-helper').not('.ui-
sortable-placeholder'),i])}}}};r.push([e.isFunction(this.options.items)?this.opt
ions.items.call(this.element,null,{options:this.options,item:this.currentItem}):
e(this.options.items,this.element).not('.ui-sortable-helper').not('.ui-sortable-
placeholder'),this]);for(n=r.length-1;n>=0;n--){r[n][0].each(function(){l.push(t
his)})};return e(l)},wi$:function(){var t=this.currentItem.find(':data('+this.wi
dgetName+'-item)');this.items=e.grep(this.items,function(e){for(var i=0;i<t.leng
th;i++){if(t[i]===e.item[0]){return!1}};return!0})},st$:function(t){this.items=[
];this.containers=[this];var n,s,c,i,l,u,a,f,h=this.items,r=[[e.isFunction(this.
options.items)?this.options.items.call(this.element[0],t,{item:this.currentItem}
):e(this.options.items,this.element),this]],o=this.rt$();if(o&&this.ready){for(n
=o.length-1;n>=0;n--){c=e(o[n]);for(s=c.length-1;s>=0;s--){i=e.data(c[s],this.wi
dgetFullName);if(i&&i!==this&&!i.options.disabled){r.push([e.isFunction(i.option
s.items)?i.options.items.call(i.element[0],t,{item:this.currentItem}):e(i.option
s.items,i.element),i]);this.containers.push(i)}}}};for(n=r.length-1;n>=0;n--){l=
r[n][1];u=r[n][0];for(s=0,f=u.length;s<f;s++){a=e(u[s]);a.data(this.widgetName+'
-item',l);h.push({item:a,instance:l,width:0,height:0,left:0,top:0})}}},refreshPo
sitions:function(t){if(this.offsetParent&&this.helper){this.offset.parent=this.K
$()};var i,n,r,s;for(i=this.items.length-1;i>=0;i--){n=this.items[i];if(n.instan
ce!==this.currentContainer&&this.currentContainer&&n.item[0]!==this.currentItem[
0]){continue};r=this.options.toleranceElement?e(this.options.toleranceElement,n.
item):n.item;if(!t){n.width=r.outerWidth();n.height=r.outerHeight()};s=r.offset(
);n.left=s.left;n.top=s.top};if(this.options.custom&&this.options.custom.refresh
Containers){this.options.custom.refreshContainers.call(this)}else{for(i=this.con
tainers.length-1;i>=0;i--){s=this.containers[i].element.offset();this.containers
[i].containerCache.left=s.left;this.containers[i].containerCache.top=s.top;this.
containers[i].containerCache.width=this.containers[i].element.outerWidth();this.
containers[i].containerCache.height=this.containers[i].element.outerHeight()}};r
eturn this},bi$:function(t){t=t||this;var n,i=t.options;if(!i.placeholder||i.pla
ceholder.constructor===String){n=i.placeholder;i.placeholder={element:function()
{var s=t.currentItem[0].nodeName.toLowerCase(),i=e('<'+s+'>',t.document[0]).addC
lass(n||t.currentItem[0].className+' ui-sortable-placeholder').removeClass('ui-s
ortable-helper');if(s==='tr'){t.currentItem.children().each(function(){e('<td>&#
160;</td>',t.document[0]).attr('colspan',e(this).attr('colspan')||1).appendTo(i)
})}else if(s==='img'){i.attr('src',t.currentItem.attr('src'))};if(!n){i.css('vis
ibility','hidden')};return i},update:function(e,s){if(n&&!i.forcePlaceholderSize
){return};if(!s.height()){s.height(t.currentItem.innerHeight()-parseInt(t.curren
tItem.css('paddingTop')||0,10)-parseInt(t.currentItem.css('paddingBottom')||0,10
))};if(!s.width()){s.width(t.currentItem.innerWidth()-parseInt(t.currentItem.css
('paddingLeft')||0,10)-parseInt(t.currentItem.css('paddingRight')||0,10))}}}};t.
placeholder=e(i.placeholder.element.call(t.element,t.currentItem));t.currentItem
.after(t.placeholder);i.placeholder.update(t,t.placeholder)},vi$:function(t){var
o,s,p,u,h,d,c,a,m,f,l=null,r=null;for(o=this.containers.length-1;o>=0;o--){if(e
.contains(this.currentItem[0],this.containers[o].element[0])){continue};if(this.
ye$(this.containers[o].containerCache)){if(l&&e.contains(this.containers[o].elem
ent[0],l.element[0])){continue};l=this.containers[o];r=o}else{if(this.containers
[o].containerCache.over){this.containers[o].t$('out',t,this.n$(this));this.conta
iners[o].containerCache.over=0}}};if(!l){return};if(this.containers.length===1){
if(!this.containers[r].containerCache.over){this.containers[r].t$('over',t,this.
n$(this));this.containers[r].containerCache.over=1}}else{p=10000;u=null;f=l.floa
ting||n(this.currentItem);h=f?'left':'top';d=f?'width':'height';c=this.positionA
bs[h]+this.offset.click[h];for(s=this.items.length-1;s>=0;s--){if(!e.contains(th
is.containers[r].element[0],this.items[s].item[0])){continue};if(this.items[s].i
tem[0]===this.currentItem[0]){continue};if(f&&!i(this.positionAbs.top+this.offse
t.click.top,this.items[s].top,this.items[s].height)){continue};a=this.items[s].i
tem.offset()[h];m=!1;if(Math.abs(a-c)>Math.abs(a+this.items[s][d]-c)){m=!0;a+=th
is.items[s][d]};if(Math.abs(a-c)<p){p=Math.abs(a-c);u=this.items[s];this.directi
on=m?'up':'down'}};if(!u&&!this.options.dropOnEmpty){return};if(this.currentCont
ainer===this.containers[r]){return};u?this.Fe$(t,u,null,!0):this.Fe$(t,null,this
.containers[r].element,!0);this.t$('change',t,this.n$());this.containers[r].t$('
change',t,this.n$(this));this.currentContainer=this.containers[r];this.options.p
laceholder.update(this.currentContainer,this.placeholder);this.containers[r].t$(
'over',t,this.n$(this));this.containers[r].containerCache.over=1}},ge$:function(
t){var n=this.options,i=e.isFunction(n.helper)?e(n.helper.apply(this.element[0],
[t,this.currentItem])):(n.helper==='clone'?this.currentItem.clone():this.current
Item);if(!i.parents('body').length){e(n.appendTo!=='parent'?n.appendTo:this.curr
entItem[0].parentNode)[0].appendChild(i[0])};if(i[0]===this.currentItem[0]){this
.B$={width:this.currentItem[0].style.width,height:this.currentItem[0].style.heig
ht,position:this.currentItem.css('position'),top:this.currentItem.css('top'),lef
t:this.currentItem.css('left')}};if(!i[0].style.width||n.forceHelperSize){i.widt
h(this.currentItem.width())};if(!i[0].style.height||n.forceHelperSize){i.height(
this.currentItem.height())};return i},ve$:function(t){if(typeof t==='string'){t=
t.split(' ')};if(e.isArray(t)){t={left:+t[0],top:+t[1]||0}};if('left' in t){this
.offset.click.left=t.left+this.margins.left};if('right' in t){this.offset.click.
left=this.helperProportions.width-t.right+this.margins.left};if('top' in t){this
.offset.click.top=t.top+this.margins.top};if('bottom' in t){this.offset.click.to
p=this.helperProportions.height-t.bottom+this.margins.top}},K$:function(){this.o
ffsetParent=this.helper.offsetParent();var t=this.offsetParent.offset();if(this.
cssPosition==='absolute'&&this.scrollParent[0]!==document&&e.contains(this.scrol
lParent[0],this.offsetParent[0])){t.left+=this.scrollParent.scrollLeft();t.top+=
this.scrollParent.scrollTop()};if(this.offsetParent[0]===document.body||(this.of
fsetParent[0].tagName&&this.offsetParent[0].tagName.toLowerCase()==='html'&&e.ui
.ie)){t={top:0,left:0}};return{top:t.top+(parseInt(this.offsetParent.css('border
TopWidth'),10)||0),left:t.left+(parseInt(this.offsetParent.css('borderLeftWidth'
),10)||0)}},oe$:function(){if(this.cssPosition==='relative'){var e=this.currentI
tem.position();return{top:e.top-(parseInt(this.helper.css('top'),10)||0)+this.sc
rollParent.scrollTop(),left:e.left-(parseInt(this.helper.css('left'),10)||0)+thi
s.scrollParent.scrollLeft()}}else{return{top:0,left:0}}},me$:function(){this.mar
gins={left:(parseInt(this.currentItem.css('marginLeft'),10)||0),top:(parseInt(th
is.currentItem.css('marginTop'),10)||0)}},J$:function(){this.helperProportions={
width:this.helper.outerWidth(),height:this.helper.outerHeight()}},pe$:function()
{var t,n,s,i=this.options;if(i.containment==='parent'){i.containment=this.helper
[0].parentNode};if(i.containment==='document'||i.containment==='window'){this.co
ntainment=[0-this.offset.relative.left-this.offset.parent.left,0-this.offset.rel
ative.top-this.offset.parent.top,e(i.containment==='document'?document:window).w
idth()-this.helperProportions.width-this.margins.left,(e(i.containment==='docume
nt'?document:window).height()||document.body.parentNode.scrollHeight)-this.helpe
rProportions.height-this.margins.top]};if(!(/^(document|window|parent)$/).test(i
.containment)){t=e(i.containment)[0];n=e(i.containment).offset();s=(e(t).css('ov
erflow')!=='hidden');this.containment=[n.left+(parseInt(e(t).css('borderLeftWidt
h'),10)||0)+(parseInt(e(t).css('paddingLeft'),10)||0)-this.margins.left,n.top+(p
arseInt(e(t).css('borderTopWidth'),10)||0)+(parseInt(e(t).css('paddingTop'),10)|
|0)-this.margins.top,n.left+(s?Math.max(t.scrollWidth,t.offsetWidth):t.offsetWid
th)-(parseInt(e(t).css('borderLeftWidth'),10)||0)-(parseInt(e(t).css('paddingRig
ht'),10)||0)-this.helperProportions.width-this.margins.left,n.top+(s?Math.max(t.
scrollHeight,t.offsetHeight):t.offsetHeight)-(parseInt(e(t).css('borderTopWidth'
),10)||0)-(parseInt(e(t).css('paddingBottom'),10)||0)-this.helperProportions.hei
ght-this.margins.top]}},l$:function(t,i){if(!i){i=this.position};var n=t==='abso
lute'?1:-1,s=this.cssPosition==='absolute'&&!(this.scrollParent[0]!==document&&e
.contains(this.scrollParent[0],this.offsetParent[0]))?this.offsetParent:this.scr
ollParent,r=(/(html|body)/i).test(s[0].tagName);return{top:(i.top+this.offset.re
lative.top*n+this.offset.parent.top*n-((this.cssPosition==='fixed'?-this.scrollP
arent.scrollTop():(r?0:s.scrollTop()))*n)),left:(i.left+this.offset.relative.lef
t*n+this.offset.parent.left*n-((this.cssPosition==='fixed'?-this.scrollParent.sc
rollLeft():r?0:s.scrollLeft())*n))}},Q$:function(t){var s,n,i=this.options,o=t.p
ageX,r=t.pageY,a=this.cssPosition==='absolute'&&!(this.scrollParent[0]!==documen
t&&e.contains(this.scrollParent[0],this.offsetParent[0]))?this.offsetParent:this
.scrollParent,l=(/(html|body)/i).test(a[0].tagName);if(this.cssPosition==='relat
ive'&&!(this.scrollParent[0]!==document&&this.scrollParent[0]!==this.offsetParen
t[0])){this.offset.relative=this.oe$()};if(this.originalPosition){if(this.contai
nment){if(t.pageX-this.offset.click.left<this.containment[0]){o=this.containment
[0]+this.offset.click.left};if(t.pageY-this.offset.click.top<this.containment[1]
){r=this.containment[1]+this.offset.click.top};if(t.pageX-this.offset.click.left
>this.containment[2]){o=this.containment[2]+this.offset.click.left};if(t.pageY-t
his.offset.click.top>this.containment[3]){r=this.containment[3]+this.offset.clic
k.top}};if(i.grid){s=this.originalPageY+Math.round((r-this.originalPageY)/i.grid
[1])*i.grid[1];r=this.containment?((s-this.offset.click.top>=this.containment[1]
&&s-this.offset.click.top<=this.containment[3])?s:((s-this.offset.click.top>=thi
s.containment[1])?s-i.grid[1]:s+i.grid[1])):s;n=this.originalPageX+Math.round((o
-this.originalPageX)/i.grid[0])*i.grid[0];o=this.containment?((n-this.offset.cli
ck.left>=this.containment[0]&&n-this.offset.click.left<=this.containment[2])?n:(
(n-this.offset.click.left>=this.containment[0])?n-i.grid[0]:n+i.grid[0])):n}};re
turn{top:(r-this.offset.click.top-this.offset.relative.top-this.offset.parent.to
p+((this.cssPosition==='fixed'?-this.scrollParent.scrollTop():(l?0:a.scrollTop()
)))),left:(o-this.offset.click.left-this.offset.relative.left-this.offset.parent
.left+((this.cssPosition==='fixed'?-this.scrollParent.scrollLeft():l?0:a.scrollL
eft())))}},Fe$:function(e,t,i,n){i?i[0].appendChild(this.placeholder[0]):t.item[
0].parentNode.insertBefore(this.placeholder[0],(this.direction==='down'?t.item[0
]:t.item[0].nextSibling));this.counter=this.counter?++this.counter:1;var s=this.
counter;this.f$(function(){if(s===this.counter){this.refreshPositions(!n)}})},W$
:function(e,t){this.reverting=!1;var i,n=[];if(!this.at$&&this.currentItem.paren
t().length){this.placeholder.before(this.currentItem)};this.at$=null;if(this.hel
per[0]===this.currentItem[0]){for(i in this.B$){if(this.B$[i]==='auto'||this.B$[
i]==='static'){this.B$[i]=''}};this.currentItem.css(this.B$).removeClass('ui-sor
table-helper')}else{this.currentItem.show()};if(this.fromOutside&&!t){n.push(fun
ction(e){this.t$('receive',e,this.n$(this.fromOutside))})};if((this.fromOutside|
|this.domPosition.prev!==this.currentItem.prev().not('.ui-sortable-helper')[0]||
this.domPosition.parent!==this.currentItem.parent()[0])&&!t){n.push(function(e){
this.t$('update',e,this.n$())})};if(this!==this.currentContainer){if(!t){n.push(
function(e){this.t$('remove',e,this.n$())});n.push((function(e){return function(
t){e.t$('receive',t,this.n$(this))}}).call(this,this.currentContainer));n.push((
function(e){return function(t){e.t$('update',t,this.n$(this))}}).call(this,this.
currentContainer))}};for(i=this.containers.length-1;i>=0;i--){if(!t){n.push((fun
ction(e){return function(t){e.t$('deactivate',t,this.n$(this))}}).call(this,this
.containers[i]))};if(this.containers[i].containerCache.over){n.push((function(e)
{return function(t){e.t$('out',t,this.n$(this))}}).call(this,this.containers[i])
);this.containers[i].containerCache.over=0}};if(this.storedCursor){this.document
.find('body').css('cursor',this.storedCursor);this.storedStylesheet.remove()};if
(this.gt$){this.helper.css('opacity',this.gt$)};if(this.Oe$){this.helper.css('zI
ndex',this.Oe$==='auto'?'':this.Oe$)};this.dragging=!1;if(this.cancelHelperRemov
al){if(!t){this.t$('beforeStop',e,this.n$());for(i=0;i<n.length;i++){n[i].call(t
his,e)};this.t$('stop',e,this.n$())};this.fromOutside=!1;return!1};if(!t){this.t
$('beforeStop',e,this.n$())};this.placeholder[0].parentNode.removeChild(this.pla
ceholder[0]);if(this.helper[0]!==this.currentItem[0]){this.helper.remove()};this
.helper=null;if(!t){for(i=0;i<n.length;i++){n[i].call(this,e)};this.t$('stop',e,
this.n$())};this.fromOutside=!1;return!0},t$:function(){if(e.Widget.prototype.t$
.apply(this,arguments)===!1){this.cancel()}},n$:function(t){var i=t||this;return
{helper:i.helper,placeholder:i.placeholder||e([]),position:i.position,originalPo
sition:i.originalPosition,offset:i.positionAbs,item:i.currentItem,sender:t?t.ele
ment:null}}})})(jQuery);(function(e,t){var i=0;e.widget('ui.autocomplete',{versi
on:'1.10.3',defaultElement:'<input>',options:{appendTo:null,autoFocus:!1,delay:3
00,minLength:1,position:{my:'left top',at:'left bottom',collision:'none'},source
:null,change:null,close:null,focus:null,open:null,response:null,search:null,sele
ct:null},pending:0,L$:function(){var t,n,i,r=this.element[0].nodeName.toLowerCas
e(),o=r==='textarea',s=r==='input';this.isMultiLine=o?!0:s?!1:this.element.prop(
'isContentEditable');this.valueMethod=this.element[o||s?'val':'text'];this.isNew
Menu=!0;this.element.addClass('ui-autocomplete-input').attr('autocomplete','off'
);this.T$(this.element,{keydown:function(s){if(this.element.prop('readOnly')){t=
!0;i=!0;n=!0;return};t=!1;i=!1;n=!1;var r=e.ui.keyCode;switch(s.keyCode){case r.
PAGE_UP:t=!0;this.g$('previousPage',s);break;case r.PAGE_DOWN:t=!0;this.g$('next
Page',s);break;case r.UP:t=!0;this.P$('previous',s);break;case r.DOWN:t=!0;this.
P$('next',s);break;case r.ENTER:case r.NUMPAD_ENTER:if(this.menu.active){t=!0;s.
preventDefault();this.menu.select(s)};break;case r.TAB:if(this.menu.active){this
.menu.select(s)};break;case r.ESCAPE:if(this.menu.element.is(':visible')){this.v
$(this.term);this.close(s);s.preventDefault()};break;default:n=!0;this.ot$(s);br
eak}},keypress:function(i){if(t){t=!1;if(!this.isMultiLine||this.menu.element.is
(':visible')){i.preventDefault()};return};if(n){return};var s=e.ui.keyCode;switc
h(i.keyCode){case s.PAGE_UP:this.g$('previousPage',i);break;case s.PAGE_DOWN:thi
s.g$('nextPage',i);break;case s.UP:this.P$('previous',i);break;case s.DOWN:this.
P$('next',i);break}},input:function(e){if(i){i=!1;e.preventDefault();return};thi
s.ot$(e)},focus:function(){this.selectedItem=null;this.previous=this.v$()},blur:
function(e){if(this.cancelBlur){delete this.cancelBlur;return};clearTimeout(this
.searching);this.close(e);this.h$(e)}});this.lt$();this.menu=e('<ul>').addClass(
'ui-autocomplete ui-front').appendTo(this.ct$()).menu({role:null}).hide().data('
ui-menu');this.T$(this.menu.element,{mousedown:function(t){t.preventDefault();th
is.cancelBlur=!0;this.f$(function(){delete this.cancelBlur});var i=this.menu.ele
ment[0];if(!e(t.target).closest('.ui-menu-item').length){this.f$(function(){var
t=this;this.document.one('mousedown',function(n){if(n.target!==t.element[0]&&n.t
arget!==i&&!e.contains(i,n.target)){t.close()}})})}},menufocus:function(t,i){if(
this.isNewMenu){this.isNewMenu=!1;if(t.originalEvent&&/^mouse/.test(t.originalEv
ent.type)){this.menu.blur();this.document.one('mousemove',function(){e(t.target)
.trigger(t.originalEvent)});return}};var n=i.item.data('ui-autocomplete-item');i
f(!1!==this.t$('focus',t,{item:n})){if(t.originalEvent&&/^key/.test(t.originalEv
ent.type)){this.v$(n.value)}}else{this.liveRegion.text(n.value)}},menuselect:fun
ction(e,t){var i=t.item.data('ui-autocomplete-item'),n=this.previous;if(this.ele
ment[0]!==this.document[0].activeElement){this.element.focus();this.previous=n;t
his.f$(function(){this.previous=n;this.selectedItem=i})};if(!1!==this.t$('select
',e,{item:i})){this.v$(i.value)};this.term=this.v$();this.close(e);this.selected
Item=i}});this.liveRegion=e('<span>',{role:'status','aria-live':'polite'}).addCl
ass('ui-helper-hidden-accessible').insertBefore(this.element);this.T$(this.windo
w,{beforeunload:function(){this.element.removeAttr('autocomplete')}})},N$:functi
on(){clearTimeout(this.searching);this.element.removeClass('ui-autocomplete-inpu
t').removeAttr('autocomplete');this.menu.element.remove();this.liveRegion.remove
()},b$:function(e,t){this.ie$(e,t);if(e==='source'){this.lt$()};if(e==='appendTo
'){this.menu.element.appendTo(this.ct$())};if(e==='disabled'&&t&&this.xhr){this.
xhr.abort()}},ct$:function(){var t=this.options.appendTo;if(t){t=t.jquery||t.nod
eType?e(t):this.document.find(t).eq(0)};if(!t){t=this.element.closest('.ui-front
')};if(!t.length){t=this.document[0].body};return t},lt$:function(){var n,i,t=th
is;if(e.isArray(this.options.source)){n=this.options.source;this.source=function
(t,i){i(e.ui.autocomplete.filter(n,t.term))}}else if(typeof this.options.source=
=='string'){i=this.options.source;this.source=function(n,s){if(t.xhr){t.xhr.abor
t()};t.xhr=e.ajax({url:i,data:n,dataType:'json',success:function(e){s(e)},error:
function(){s([])}})}}else{this.source=this.options.source}},ot$:function(e){clea
rTimeout(this.searching);this.searching=this.f$(function(){if(this.term!==this.v
$()){this.selectedItem=null;this.search(null,e)}},this.options.delay)},search:fu
nction(e,t){e=e!=null?e:this.v$();this.term=this.v$();if(e.length<this.options.m
inLength){return this.close(t)};if(this.t$('search',t)===!1){return};return this
.Ut$(e)},Ut$:function(e){this.pending++;this.element.addClass('ui-autocomplete-l
oading');this.cancelSearch=!1;this.source({term:e},this.Yt$())},Yt$:function(){v
ar e=this,t=++i;return function(n){if(t===i){e.__response(n)};e.pending--;if(!e.
pending){e.element.removeClass('ui-autocomplete-loading')}}},__response:function
(e){if(e){e=this.Rt$(e)};this.t$('response',null,{content:e});if(!this.options.d
isabled&&e&&e.length&&!this.cancelSearch){this.Wt$(e);this.t$('open')}else{this.
D$()}},close:function(e){this.cancelSearch=!0;this.D$(e)},D$:function(e){if(this
.menu.element.is(':visible')){this.menu.element.hide();this.menu.blur();this.isN
ewMenu=!0;this.t$('close',e)}},h$:function(e){if(this.previous!==this.v$()){this
.t$('change',e,{item:this.selectedItem})}},Rt$:function(t){if(t.length&&t[0].lab
el&&t[0].value){return t};return e.map(t,function(t){if(typeof t==='string'){ret
urn{label:t,value:t}};return e.extend({label:t.label||t.value,value:t.value||t.l
abel},t)})},Wt$:function(t){var i=this.menu.element.empty();this.Ft$(i,t);this.i
sNewMenu=!0;this.menu.refresh();i.show();this.Ht$();i.position(e.extend({of:this
.element},this.options.position));if(this.options.autoFocus){this.menu.next()}},
Ht$:function(){var e=this.menu.element;e.outerWidth(Math.max(e.width('').outerWi
dth()+1,this.element.outerWidth()))},Ft$:function(t,i){var n=this;e.each(i,funct
ion(e,i){n.zt$(t,i)})},zt$:function(e,t){return this.Ot$(e,t).data('ui-autocompl
ete-item',t)},Ot$:function(t,i){return e('<li>').append(e('<a>').text(i.label)).
appendTo(t)},g$:function(e,t){if(!this.menu.element.is(':visible')){this.search(
null,t);return};if(this.menu.isFirstItem()&&/^previous/.test(e)||this.menu.isLas
tItem()&&/^next/.test(e)){this.v$(this.term);this.menu.blur();return};this.menu[
e](t)},widget:function(){return this.menu.element},v$:function(){return this.val
ueMethod.apply(this.element,arguments)},P$:function(e,t){if(!this.isMultiLine||t
his.menu.element.is(':visible')){this.g$(e,t);t.preventDefault()}}});e.extend(e.
ui.autocomplete,{escapeRegex:function(e){return e.replace(/[\-\[\]{}()*+?.,\\\^$
|#\s]/g,'\\$&')},filter:function(t,i){var n=new RegExp(e.ui.autocomplete.escapeR
egex(i),'i');return e.grep(t,function(e){return n.test(e.label||e.value||e)})}})
;e.widget('ui.autocomplete',e.ui.autocomplete,{options:{messages:{noResults:'No
search results.',results:function(e){return e+(e>1?' results are':' result is')+
' available, use up and down arrow keys to navigate.'}}},__response:function(e){
var t;this.be$(arguments);if(this.options.disabled||this.cancelSearch){return};i
f(e&&e.length){t=this.options.messages.results(e.length)}else{t=this.options.mes
sages.noResults};this.liveRegion.text(t)}})}(jQuery));(function(e,t){e.extend(e.
ui,{datepicker:{version:'1.10.3'}});var i='datepicker',s;function r(){this.d$=nu
ll;this.P$=!1;this.S$=[];this.w$=!1;this.q$=!1;this.ae$='ui-datepicker-div';this
.Ce$='ui-datepicker-inline';this.Gt$='ui-datepicker-append';this.Te$='ui-datepic
ker-trigger';this.Ge$='ui-datepicker-dialog';this.Ri$='ui-datepicker-disabled';t
his.Je$='ui-datepicker-unselectable';this.Ve$='ui-datepicker-current-day';this.S
e$='ui-datepicker-days-cell-over';this.regional=[];this.regional['']={closeText:
'Done',prevText:'Prev',nextText:'Next',currentText:'Today',monthNames:['January'
,'February','March','April','May','June','July','August','September','October','
November','December'],monthNamesShort:['Jan','Feb','Mar','Apr','May','Jun','Jul'
,'Aug','Sep','Oct','Nov','Dec'],dayNames:['Sunday','Monday','Tuesday','Wednesday
','Thursday','Friday','Saturday'],dayNamesShort:['Sun','Mon','Tue','Wed','Thu','
Fri','Sat'],dayNamesMin:['Su','Mo','Tu','We','Th','Fr','Sa'],weekHeader:'Wk',dat
eFormat:'mm/dd/yy',firstDay:0,isRTL:!1,showMonthAfterYear:!1,yearSuffix:''};this
.c$={showOn:'focus',showAnim:'fadeIn',showOptions:{},defaultDate:null,appendText
:'',buttonText:'...',buttonImage:'',buttonImageOnly:!1,hideIfNoPrevNext:!1,navig
ationAsDateFormat:!1,gotoCurrent:!1,changeMonth:!1,changeYear:!1,yearRange:'c-10
:c+10',showOtherMonths:!1,selectOtherMonths:!1,showWeek:!1,calculateWeek:this.is
o8601Week,shortYearCutoff:'+10',minDate:null,maxDate:null,duration:'fast',before
ShowDay:null,beforeShow:null,onSelect:null,onChangeMonthYear:null,onClose:null,n
umberOfMonths:1,showCurrentAtPos:0,stepMonths:1,stepBigMonths:12,altField:'',alt
Format:'',constrainInput:!0,showButtonPanel:!1,autoSize:!1,disabled:!1};e.extend
(this.c$,this.regional['']);this.dpDiv=o(e('<div id=\''+this.ae$+'\' class=\'ui-
datepicker ui-widget ui-widget-content ui-helper-clearfix ui-corner-all\'></div>
'))};e.extend(r.prototype,{markerClassName:'hasDatepicker',maxRows:4,Si$:functio
n(){return this.dpDiv},setDefaults:function(e){n(this.c$,e||{});return this},Vt$
:function(t,i){var s,r,n;s=t.nodeName.toLowerCase();r=(s==='div'||s==='span');if
(!t.id){this.uuid+=1;t.id='dp'+this.uuid};n=this.ht$(e(t),r);n.settings=e.extend
({},i||{});if(s==='input'){this.Qt$(t,n)}else if(r){this.Xt$(t,n)}},ht$:function
(t,i){var n=t[0].id.replace(/([^A-Za-z0-9_\-])/g,'\\\\$1');return{id:n,input:t,s
electedDay:0,selectedMonth:0,selectedYear:0,drawMonth:0,drawYear:0,inline:i,dpDi
v:(!i?this.dpDiv:o(e('<div class=\''+this.Ce$+' ui-datepicker ui-widget ui-widge
t-content ui-helper-clearfix ui-corner-all\'></div>')))}},Qt$:function(t,n){var
s=e(t);n.append=e([]);n.trigger=e([]);if(s.hasClass(this.markerClassName)){retur
n};this.dt$(s,n);s.addClass(this.markerClassName).keydown(this.xe$).keypress(thi
s.it$).keyup(this.pt$);this.vt$(n);e.data(t,i,n);if(n.settings.disabled){this.we
$(t)}},dt$:function(t,i){var s,n,r,a=this.e$(i,'appendText'),o=this.e$(i,'isRTL'
);if(i.append){i.append.remove()};if(a){i.append=e('<span class=\''+this.Gt$+'\'
>'+a+'</span>');t[o?'before':'after'](i.append)};t.unbind('focus',this.O$);if(i.
trigger){i.trigger.remove()};s=this.e$(i,'showOn');if(s==='focus'||s==='both'){t
.focus(this.O$)};if(s==='button'||s==='both'){n=this.e$(i,'buttonText');r=this.e
$(i,'buttonImage');i.trigger=e(this.e$(i,'buttonImageOnly')?e('<img/>').addClass
(this.Te$).attr({src:r,alt:n,title:n}):e('<button type=\'button\'></button>').ad
dClass(this.Te$).html(!r?n:e('<img/>').attr({src:r,alt:n,title:n})));t[o?'before
':'after'](i.trigger);i.trigger.click(function(){if(e.datepicker.w$&&e.datepicke
r.Y$===t[0]){e.datepicker.p$()}else if(e.datepicker.w$&&e.datepicker.Y$!==t[0]){
e.datepicker.p$();e.datepicker.O$(t[0])}else{e.datepicker.O$(t[0])};return!1})}}
,vt$:function(e){if(this.e$(e,'autoSize')&&!e.inline){var r,o,s,t,i=new Date(200
9,12-1,20),n=this.e$(e,'dateFormat');if(n.match(/[DM]/)){r=function(e){o=0;s=0;f
or(t=0;t<e.length;t++){if(e[t].length>o){o=e[t].length;s=t}};return s};i.setMont
h(r(this.e$(e,(n.match(/MM/)?'monthNames':'monthNamesShort'))));i.setDate(r(this
.e$(e,(n.match(/DD/)?'dayNames':'dayNamesShort')))+20-i.getDay())};e.input.attr(
'size',this.M$(e,i).length)}},Xt$:function(t,n){var s=e(t);if(s.hasClass(this.ma
rkerClassName)){return};s.addClass(this.markerClassName).append(n.dpDiv);e.data(
t,i,n);this.Me$(n,this.Ae$(n),!0);this.E$(n);this.G$(n);if(n.settings.disabled){
this.we$(t)};n.dpDiv.css('display','block')},Ni$:function(t,s,r,o,a){var f,h,d,u
,c,l=this.ei$;if(!l){this.uuid+=1;f='dp'+this.uuid;this.C$=e('<input type=\'text
\' id=\''+f+'\' style=\'position: absolute; top: -100px; width: 0px;\'/>');this.
C$.keydown(this.xe$);e('body').append(this.C$);l=this.ei$=this.ht$(this.C$,!1);l
.settings={};e.data(this.C$[0],i,l)};n(l.settings,o||{});s=(s&&s.constructor===D
ate?this.M$(l,s):s);this.C$.val(s);this.m$=(a?(a.length?a:[a.pageX,a.pageY]):nul
l);if(!this.m$){h=document.documentElement.clientWidth;d=document.documentElemen
t.clientHeight;u=document.documentElement.scrollLeft||document.body.scrollLeft;c
=document.documentElement.scrollTop||document.body.scrollTop;this.m$=[(h/2)-100+
u,(d/2)-150+c]};this.C$.css('left',(this.m$[0]+20)+'px').css('top',this.m$[1]+'p
x');l.settings.onSelect=r;this.q$=!0;this.dpDiv.addClass(this.Ge$);this.O$(this.
C$[0]);if(e.blockUI){e.blockUI(this.dpDiv)};e.data(this.C$[0],i,l);return this},
Di$:function(t){var n,s=e(t),r=e.data(t,i);if(!s.hasClass(this.markerClassName))
{return};n=t.nodeName.toLowerCase();e.removeData(t,i);if(n==='input'){r.append.r
emove();r.trigger.remove();s.removeClass(this.markerClassName).unbind('focus',th
is.O$).unbind('keydown',this.xe$).unbind('keypress',this.it$).unbind('keyup',thi
s.pt$)}else if(n==='div'||n==='span'){s.removeClass(this.markerClassName).empty(
)}},Kt$:function(t){var n,s,r=e(t),o=e.data(t,i);if(!r.hasClass(this.markerClass
Name)){return};n=t.nodeName.toLowerCase();if(n==='input'){t.disabled=!1;o.trigge
r.filter('button').each(function(){this.disabled=!1}).end().filter('img').css({o
pacity:'1.0',cursor:''})}else if(n==='div'||n==='span'){s=r.children('.'+this.Ce
$);s.children().removeClass('ui-state-disabled');s.find('select.ui-datepicker-mo
nth, select.ui-datepicker-year').prop('disabled',!1)};this.S$=e.map(this.S$,func
tion(e){return(e===t?null:e)})},we$:function(t){var n,s,r=e(t),o=e.data(t,i);if(
!r.hasClass(this.markerClassName)){return};n=t.nodeName.toLowerCase();if(n==='in
put'){t.disabled=!0;o.trigger.filter('button').each(function(){this.disabled=!0}
).end().filter('img').css({opacity:'0.5',cursor:'default'})}else if(n==='div'||n
==='span'){s=r.children('.'+this.Ce$);s.children().addClass('ui-state-disabled')
;s.find('select.ui-datepicker-month, select.ui-datepicker-year').prop('disabled'
,!0)};this.S$=e.map(this.S$,function(e){return(e===t?null:e)});this.S$[this.S$.l
ength]=t},ue$:function(e){if(!e){return!1};for(var t=0;t<this.S$.length;t++){if(
this.S$[t]===e){return!0}};return!1},a$:function(t){try{return e.data(t,i)}catch
(n){throw'Missing instance data for this datepicker';}},Jt$:function(i,s,r){var
a,u,l,c,o=this.a$(i);if(arguments.length===2&&typeof s==='string'){return(s==='d
efaults'?e.extend({},e.datepicker.c$):(o?(s==='all'?e.extend({},o.settings):this
.e$(o,s)):null))};a=s||{};if(typeof s==='string'){a={};a[s]=r};if(o){if(this.d$=
==o){this.p$()};u=this.Dt$(i,!0);l=this.j$(o,'min');c=this.j$(o,'max');n(o.setti
ngs,a);if(l!==null&&a.dateFormat!==t&&a.minDate===t){o.settings.minDate=this.M$(
o,l)};if(c!==null&&a.dateFormat!==t&&a.maxDate===t){o.settings.maxDate=this.M$(o
,c)};if('disabled' in a){if(a.disabled){this.we$(i)}else{this.Kt$(i)}};this.dt$(
e(i),o);this.vt$(o);this.Me$(o,u);this.G$(o);this.E$(o)}},Pi$:function(e,t,i){th
is.Jt$(e,t,i)},Li$:function(e){var t=this.a$(e);if(t){this.E$(t)}},Oi$:function(
e,t){var i=this.a$(e);if(i){this.Me$(i,t);this.E$(i);this.G$(i)}},Dt$:function(e
,t){var i=this.a$(e);if(i&&!i.inline){this.je$(i,t)};return(i?this.Ie$(i):null)}
,xe$:function(t){var r,a,s,i=e.datepicker.a$(t.target),n=!0,o=i.dpDiv.is('.ui-da
tepicker-rtl');i.P$=!0;if(e.datepicker.w$){switch(t.keyCode){case 9:e.datepicker
.p$();n=!1;break;case 13:s=e('td.'+e.datepicker.Se$+':not(.'+e.datepicker.Ve$+')
',i.dpDiv);if(s[0]){e.datepicker.Ue$(t.target,i.selectedMonth,i.selectedYear,s[0
])};r=e.datepicker.e$(i,'onSelect');if(r){a=e.datepicker.M$(i);r.apply((i.input?
i.input[0]:null),[a,i])}else{e.datepicker.p$()};return!1;case 27:e.datepicker.p$
();break;case 33:e.datepicker.u$(t.target,(t.ctrlKey?-e.datepicker.e$(i,'stepBig
Months'):-e.datepicker.e$(i,'stepMonths')),'M');break;case 34:e.datepicker.u$(t.
target,(t.ctrlKey?+e.datepicker.e$(i,'stepBigMonths'):+e.datepicker.e$(i,'stepMo
nths')),'M');break;case 35:if(t.ctrlKey||t.metaKey){e.datepicker.Tt$(t.target)};
n=t.ctrlKey||t.metaKey;break;case 36:if(t.ctrlKey||t.metaKey){e.datepicker.Be$(t
.target)};n=t.ctrlKey||t.metaKey;break;case 37:if(t.ctrlKey||t.metaKey){e.datepi
cker.u$(t.target,(o?+1:-1),'D')};n=t.ctrlKey||t.metaKey;if(t.originalEvent.altKe
y){e.datepicker.u$(t.target,(t.ctrlKey?-e.datepicker.e$(i,'stepBigMonths'):-e.da
tepicker.e$(i,'stepMonths')),'M')};break;case 38:if(t.ctrlKey||t.metaKey){e.date
picker.u$(t.target,-7,'D')};n=t.ctrlKey||t.metaKey;break;case 39:if(t.ctrlKey||t
.metaKey){e.datepicker.u$(t.target,(o?-1:+1),'D')};n=t.ctrlKey||t.metaKey;if(t.o
riginalEvent.altKey){e.datepicker.u$(t.target,(t.ctrlKey?+e.datepicker.e$(i,'ste
pBigMonths'):+e.datepicker.e$(i,'stepMonths')),'M')};break;case 40:if(t.ctrlKey|
|t.metaKey){e.datepicker.u$(t.target,+7,'D')};n=t.ctrlKey||t.metaKey;break;defau
lt:n=!1}}else if(t.keyCode===36&&t.ctrlKey){e.datepicker.O$(this)}else{n=!1};if(
n){t.preventDefault();t.stopPropagation()}},it$:function(t){var n,i,s=e.datepick
er.a$(t.target);if(e.datepicker.e$(s,'constrainInput')){n=e.datepicker.At$(e.dat
epicker.e$(s,'dateFormat'));i=String.fromCharCode(t.charCode==null?t.keyCode:t.c
harCode);return t.ctrlKey||t.metaKey||(i<' '||!n||n.indexOf(i)>-1)}},pt$:functio
n(t){var s,n=e.datepicker.a$(t.target);if(n.input.val()!==n.lastVal){try{s=e.dat
epicker.parseDate(e.datepicker.e$(n,'dateFormat'),(n.input?n.input.val():null),e
.datepicker.I$(n));if(s){e.datepicker.je$(n);e.datepicker.G$(n);e.datepicker.E$(
n)}}catch(i){}};return!0},O$:function(t){t=t.target||t;if(t.nodeName.toLowerCase
()!=='input'){t=e('input',t.parentNode)[0]};if(e.datepicker.ue$(t)||e.datepicker
.Y$===t){return};var i,c,l,s,o,r,a;i=e.datepicker.a$(t);if(e.datepicker.d$&&e.da
tepicker.d$!==i){e.datepicker.d$.dpDiv.stop(!0,!0);if(i&&e.datepicker.w$){e.date
picker.p$(e.datepicker.d$.input[0])}};c=e.datepicker.e$(i,'beforeShow');l=c?c.ap
ply(t,[t,i]):{};if(l===!1){return};n(i.settings,l);i.lastVal=null;e.datepicker.Y
$=t;e.datepicker.je$(i);if(e.datepicker.q$){t.value=''};if(!e.datepicker.m$){e.d
atepicker.m$=e.datepicker.St$(t);e.datepicker.m$[1]+=t.offsetHeight};s=!1;e(t).p
arents().each(function(){s|=e(this).css('position')==='fixed';return!s});o={left
:e.datepicker.m$[0],top:e.datepicker.m$[1]};e.datepicker.m$=null;i.dpDiv.empty()
;i.dpDiv.css({position:'absolute',display:'block',top:'-1000px'});e.datepicker.E
$(i);o=e.datepicker.Pt$(i,o,s);i.dpDiv.css({position:(e.datepicker.q$&&e.blockUI
?'static':(s?'fixed':'absolute')),display:'none',left:o.left+'px',top:o.top+'px'
});if(!i.inline){r=e.datepicker.e$(i,'showAnim');a=e.datepicker.e$(i,'duration')
;i.dpDiv.zIndex(e(t).zIndex()+1);e.datepicker.w$=!0;if(e.effects&&e.effects.effe
ct[r]){i.dpDiv.show(r,e.datepicker.e$(i,'showOptions'),a)}else{i.dpDiv[r||'show'
](r?a:null)};if(e.datepicker.mt$(i)){i.input.focus()};e.datepicker.d$=i}},E$:fun
ction(t){this.maxRows=4;s=t;t.dpDiv.empty().append(this.It$(t));this.Lt$(t);t.dp
Div.find('.'+this.Se$+' a').mouseover();var r,n=this.De$(t),i=n[1],o=17;t.dpDiv.
removeClass('ui-datepicker-multi-2 ui-datepicker-multi-3 ui-datepicker-multi-4')
.width('');if(i>1){t.dpDiv.addClass('ui-datepicker-multi-'+i).css('width',(o*i)+
'em')};t.dpDiv[(n[0]!==1||n[1]!==1?'add':'remove')+'Class']('ui-datepicker-multi
');t.dpDiv[(this.e$(t,'isRTL')?'add':'remove')+'Class']('ui-datepicker-rtl');if(
t===e.datepicker.d$&&e.datepicker.w$&&e.datepicker.mt$(t)){t.input.focus()};if(t
.yearshtml){r=t.yearshtml;setTimeout(function(){if(r===t.yearshtml&&t.yearshtml)
{t.dpDiv.find('select.ui-datepicker-year:first').replaceWith(t.yearshtml)};r=t.y
earshtml=null},0)}},mt$:function(e){return e.input&&e.input.is(':visible')&&!e.i
nput.is(':disabled')&&!e.input.is(':focus')},Pt$:function(t,i,n){var s=t.dpDiv.o
uterWidth(),o=t.dpDiv.outerHeight(),c=t.input?t.input.outerWidth():0,a=t.input?t
.input.outerHeight():0,r=document.documentElement.clientWidth+(n?0:e(document).s
crollLeft()),l=document.documentElement.clientHeight+(n?0:e(document).scrollTop(
));i.left-=(this.e$(t,'isRTL')?(s-c):0);i.left-=(n&&i.left===t.input.offset().le
ft)?e(document).scrollLeft():0;i.top-=(n&&i.top===(t.input.offset().top+a))?e(do
cument).scrollTop():0;i.left-=Math.min(i.left,(i.left+s>r&&r>s)?Math.abs(i.left+
s-r):0);i.top-=Math.min(i.top,(i.top+o>l&&l>o)?Math.abs(o+a):0);return i},St$:fu
nction(t){var i,s=this.a$(t),n=this.e$(s,'isRTL');while(t&&(t.type==='hidden'||t
.nodeType!==1||e.expr.filters.hidden(t))){t=t[n?'previousSibling':'nextSibling']
};i=e(t).offset();return[i.left,i.top]},p$:function(t){var s,o,r,a,n=this.d$;if(
!n||(t&&n!==e.data(t,i))){return};if(this.w$){s=this.e$(n,'showAnim');o=this.e$(
n,'duration');r=function(){e.datepicker.jt$(n)};if(e.effects&&(e.effects.effect[
s]||e.effects[s])){n.dpDiv.hide(s,e.datepicker.e$(n,'showOptions'),o,r)}else{n.d
pDiv[(s==='slideDown'?'slideUp':(s==='fadeIn'?'fadeOut':'hide'))]((s?o:null),r)}
;if(!s){r()};this.w$=!1;a=this.e$(n,'onClose');if(a){a.apply((n.input?n.input[0]
:null),[(n.input?n.input.val():''),n])};this.Y$=null;if(this.q$){this.C$.css({po
sition:'absolute',left:'0',top:'-100px'});if(e.blockUI){e.unblockUI();e('body').
append(this.dpDiv)}};this.q$=!1}},jt$:function(e){e.dpDiv.removeClass(this.Ge$).
unbind('.ui-datepicker-calendar')},Nt$:function(t){if(!e.datepicker.d$){return};
var i=e(t.target),n=e.datepicker.a$(i[0]);if(((i[0].id!==e.datepicker.ae$&&i.par
ents('#'+e.datepicker.ae$).length===0&&!i.hasClass(e.datepicker.markerClassName)
&&!i.closest('.'+e.datepicker.Te$).length&&e.datepicker.w$&&!(e.datepicker.q$&&e
.blockUI)))||(i.hasClass(e.datepicker.markerClassName)&&e.datepicker.d$!==n)){e.
datepicker.p$()}},u$:function(t,i,n){var r=e(t),s=this.a$(r[0]);if(this.ue$(r[0]
)){return};this.Ee$(s,i+(n==='M'?this.e$(s,'showCurrentAtPos'):0),n);this.E$(s)}
,Be$:function(t){var n,s=e(t),i=this.a$(s[0]);if(this.e$(i,'gotoCurrent')&&i.cur
rentDay){i.selectedDay=i.currentDay;i.drawMonth=i.selectedMonth=i.currentMonth;i
.drawYear=i.selectedYear=i.currentYear}else{n=new Date();i.selectedDay=n.getDate
();i.drawMonth=i.selectedMonth=n.getMonth();i.drawYear=i.selectedYear=n.getFullY
ear()};this.te$(i);this.u$(s)},Xe$:function(t,i,n){var r=e(t),s=this.a$(r[0]);s[
'selected'+(n==='M'?'Month':'Year')]=s['draw'+(n==='M'?'Month':'Year')]=parseInt
(i.options[i.selectedIndex].value,10);this.te$(s);this.u$(r)},Ue$:function(t,i,n
,s){var r,o=e(t);if(e(s).hasClass(this.Je$)||this.ue$(o[0])){return};r=this.a$(o
[0]);r.selectedDay=r.currentDay=e('a',s).html();r.selectedMonth=r.currentMonth=i
;r.selectedYear=r.currentYear=n;this.Ye$(t,this.M$(r,r.currentDay,r.currentMonth
,r.currentYear))},Tt$:function(t){var i=e(t);this.Ye$(i,'')},Ye$:function(t,i){v
ar s,r=e(t),n=this.a$(r[0]);i=(i!=null?i:this.M$(n));if(n.input){n.input.val(i)}
;this.G$(n);s=this.e$(n,'onSelect');if(s){s.apply((n.input?n.input[0]:null),[i,n
])}else if(n.input){n.input.trigger('change')};if(n.inline){this.E$(n)}else{this
.p$();this.Y$=n.input[0];if(typeof(n.input[0])!=='object'){n.input.focus()};this
.Y$=null}},G$:function(t){var r,s,n,i=this.e$(t,'altField');if(i){r=this.e$(t,'a
ltFormat')||this.e$(t,'dateFormat');s=this.Ie$(t);n=this.formatDate(r,s,this.I$(
t));e(i).each(function(){e(this).val(n)})}},noWeekends:function(e){var t=e.getDa
y();return[(t>0&&t<6),'']},iso8601Week:function(e){var i,t=new Date(e.getTime())
;t.setDate(t.getDate()+4-(t.getDay()||7));i=t.getTime();t.setMonth(0);t.setDate(
1);return Math.floor(Math.round((i-t)/86400000)/7)+1},parseDate:function(t,i,n){
if(t==null||i==null){throw'Invalid arguments';};i=(typeof i==='object'?i.toStrin
g():i+'');if(i===''){return null};var a,m,g,o=0,v=(n?n.shortYearCutoff:null)||th
is.c$.shortYearCutoff,x=(typeof v!=='string'?v:new Date().getFullYear()%100+pars
eInt(v,10)),w=(n?n.dayNamesShort:null)||this.c$.dayNamesShort,k=(n?n.dayNames:nu
ll)||this.c$.dayNames,y=(n?n.monthNamesShort:null)||this.c$.monthNamesShort,C=(n
?n.monthNames:null)||this.c$.monthNames,r=-1,l=-1,c=-1,h=-1,d=!1,s,f=function(e)
{var i=(a+1<t.length&&t.charAt(a+1)===e);if(i){a++};return i},u=function(e){var
r=f(e),s=(e==='@'?14:(e==='!'?20:(e==='y'&&r?4:(e==='o'?3:2)))),n=new RegExp('^\
\d{1,'+s+'}'),t=i.substring(o).match(n);if(!t){throw'Missing number at position
'+o;};o+=t[0].length;return parseInt(t[0],10)},b=function(t,n,s){var r=-1,a=e.ma
p(f(t)?s:n,function(e,t){return[[t,e]]}).sort(function(e,t){return-(e[1].length-
t[1].length)});e.each(a,function(e,t){var n=t[1];if(i.substr(o,n.length).toLower
Case()===n.toLowerCase()){r=t[0];o+=n.length;return!1}});if(r!==-1){return r+1}e
lse{throw'Unknown name at position '+o;}},p=function(){if(i.charAt(o)!==t.charAt
(a)){throw'Unexpected literal at position '+o;};o++};for(a=0;a<t.length;a++){if(
d){if(t.charAt(a)==='\''&&!f('\'')){d=!1}else{p()}}else{switch(t.charAt(a)){case
'd':c=u('d');break;case'D':b('D',w,k);break;case'o':h=u('o');break;case'm':l=u('
m');break;case'M':l=b('M',y,C);break;case'y':r=u('y');break;case'@':s=new Date(u
('@'));r=s.getFullYear();l=s.getMonth()+1;c=s.getDate();break;case'!':s=new Date
((u('!')-this.Re$)/10000);r=s.getFullYear();l=s.getMonth()+1;c=s.getDate();break
;case'\'':if(f('\'')){p()}else{d=!0};break;default:p()}}};if(o<i.length){g=i.sub
str(o);if(!/^\s+/.test(g)){throw'Extra/unparsed characters found in date: '+g;}}
;if(r===-1){r=new Date().getFullYear()}else if(r<100){r+=new Date().getFullYear(
)-new Date().getFullYear()%100+(r<=x?0:-100)};if(h>-1){l=1;c=h;do{m=this.R$(r,l-
1);if(c<=m){break};l++;c-=m}while(!0);};s=this.r$(new Date(r,l-1,c));if(s.getFul
lYear()!==r||s.getMonth()+1!==l||s.getDate()!==c){throw'Invalid date';};return s
},ATOM:'yy-mm-dd',COOKIE:'D, dd M yy',ISO_8601:'yy-mm-dd',RFC_822:'D, d M y',RFC
_850:'DD, dd-M-y',RFC_1036:'D, d M y',RFC_1123:'D, d M yy',RFC_2822:'D, d M yy',
RSS:'D, d M y',TICKS:'!',TIMESTAMP:'@',W3C:'yy-mm-dd',Re$:(((1970-1)*365+Math.fl
oor(1970/4)-Math.floor(1970/100)+Math.floor(1970/400))*24*60*60*10000000),format
Date:function(e,t,i){if(!t){return''};var s,u=(i?i.dayNamesShort:null)||this.c$.
dayNamesShort,f=(i?i.dayNames:null)||this.c$.dayNames,c=(i?i.monthNamesShort:nul
l)||this.c$.monthNamesShort,h=(i?i.monthNames:null)||this.c$.monthNames,r=functi
on(t){var i=(s+1<e.length&&e.charAt(s+1)===t);if(i){s++};return i},a=function(e,
t,i){var n=''+t;if(r(e)){while(n.length<i){n='0'+n}};return n},l=function(e,t,i,
n){return(r(e)?n[t]:i[t])},n='',o=!1;if(t){for(s=0;s<e.length;s++){if(o){if(e.ch
arAt(s)==='\''&&!r('\'')){o=!1}else{n+=e.charAt(s)}}else{switch(e.charAt(s)){cas
e'd':n+=a('d',t.getDate(),2);break;case'D':n+=l('D',t.getDay(),u,f);break;case'o
':n+=a('o',Math.round((new Date(t.getFullYear(),t.getMonth(),t.getDate()).getTim
e()-new Date(t.getFullYear(),0,0).getTime())/86400000),3);break;case'm':n+=a('m'
,t.getMonth()+1,2);break;case'M':n+=l('M',t.getMonth(),c,h);break;case'y':n+=(r(
'y')?t.getFullYear():(t.getYear()%100<10?'0':'')+t.getYear()%100);break;case'@':
n+=t.getTime();break;case'!':n+=t.getTime()*10000+this.Re$;break;case'\'':if(r('
\'')){n+='\''}else{o=!0};break;default:n+=e.charAt(s)}}}};return n},At$:function
(e){var t,i='',n=!1,s=function(i){var n=(t+1<e.length&&e.charAt(t+1)===i);if(n){
t++};return n};for(t=0;t<e.length;t++){if(n){if(e.charAt(t)==='\''&&!s('\'')){n=
!1}else{i+=e.charAt(t)}}else{switch(e.charAt(t)){case'd':case'm':case'y':case'@'
:i+='0123456789';break;case'D':case'M':return null;case'\'':if(s('\'')){i+='\''}
else{n=!0};break;default:i+=e.charAt(t)}}};return i},e$:function(e,i){return e.s
ettings[i]!==t?e.settings[i]:this.c$[i]},je$:function(e,t){if(e.input.val()===e.
lastVal){return};var o=this.e$(e,'dateFormat'),s=e.lastVal=e.input?e.input.val()
:null,r=this.Ae$(e),n=r,a=this.I$(e);try{n=this.parseDate(o,s,a)||r}catch(i){s=(
t?'':s)};e.selectedDay=n.getDate();e.drawMonth=e.selectedMonth=n.getMonth();e.dr
awYear=e.selectedYear=n.getFullYear();e.currentDay=(s?n.getDate():0);e.currentMo
nth=(s?n.getMonth():0);e.currentYear=(s?n.getFullYear():0);this.Ee$(e)},Ae$:func
tion(e){return this.Pe$(e,this.Le$(e,this.e$(e,'defaultDate'),new Date()))},Le$:
function(t,i,n){var o=function(e){var t=new Date();t.setDate(t.getDate()+e);retu
rn t},r=function(i){try{return e.datepicker.parseDate(e.datepicker.e$(t,'dateFor
mat'),i,e.datepicker.I$(t))}catch(n){};var l=(i.toLowerCase().match(/^c/)?e.date
picker.Ie$(t):null)||new Date(),a=l.getFullYear(),o=l.getMonth(),s=l.getDate(),c
=/([+\-]?[0-9]+)\s*(d|D|w|W|m|M|y|Y)?/g,r=c.exec(i);while(r){switch(r[2]||'d'){c
ase'd':case'D':s+=parseInt(r[1],10);break;case'w':case'W':s+=parseInt(r[1],10)*7
;break;case'm':case'M':o+=parseInt(r[1],10);s=Math.min(s,e.datepicker.R$(a,o));b
reak;case'y':case'Y':a+=parseInt(r[1],10);s=Math.min(s,e.datepicker.R$(a,o));bre
ak};r=c.exec(i)};return new Date(a,o,s)},s=(i==null||i===''?n:(typeof i==='strin
g'?r(i):(typeof i==='number'?(isNaN(i)?n:o(i)):new Date(i.getTime()))));s=(s&&s.
toString()==='Invalid Date'?n:s);if(s){s.setHours(0);s.setMinutes(0);s.setSecond
s(0);s.setMilliseconds(0)};return this.r$(s)},r$:function(e){if(!e){return null}
;e.setHours(e.getHours()>12?e.getHours()+2:0);return e},Me$:function(e,t,i){var
r=!t,o=e.selectedMonth,s=e.selectedYear,n=this.Pe$(e,this.Le$(e,t,new Date()));e
.selectedDay=e.currentDay=n.getDate();e.drawMonth=e.selectedMonth=e.currentMonth
=n.getMonth();e.drawYear=e.selectedYear=e.currentYear=n.getFullYear();if((o!==e.
selectedMonth||s!==e.selectedYear)&&!i){this.te$(e)};this.Ee$(e);if(e.input){e.i
nput.val(r?'':this.M$(e))}},Ie$:function(e){var t=(!e.currentYear||(e.input&&e.i
nput.val()==='')?null:this.r$(new Date(e.currentYear,e.currentMonth,e.currentDay
)));return t},Lt$:function(t){var n=this.e$(t,'stepMonths'),i='#'+t.id.replace(/
\\\\/g,'\\');t.dpDiv.find('[data-handler]').map(function(){var t={prev:function(
){e.datepicker.u$(i,-n,'M')},next:function(){e.datepicker.u$(i,+n,'M')},hide:fun
ction(){e.datepicker.p$()},today:function(){e.datepicker.Be$(i)},selectDay:funct
ion(){e.datepicker.Ue$(i,+this.getAttribute('data-month'),+this.getAttribute('da
ta-year'),this);return!1},selectMonth:function(){e.datepicker.Xe$(i,this,'M');re
turn!1},selectYear:function(){e.datepicker.Xe$(i,this,'Y');return!1}};e(this).bi
nd(this.getAttribute('data-event'),t[this.getAttribute('data-handler')])})},It$:
function(e){var b,l,S,u,B,y,H,O,Q,c,F,X,K,Z,G,L,w,V,W,C,r,p,Y,m,U,h,s,q,M,R,z,k,
E,i,T,D,v,f,x,I=new Date(),P=this.r$(new Date(I.getFullYear(),I.getMonth(),I.get
Date())),o=this.e$(e,'isRTL'),ie=this.e$(e,'showButtonPanel'),J=this.e$(e,'hideI
fNoPrevNext'),A=this.e$(e,'navigationAsDateFormat'),a=this.De$(e),te=this.e$(e,'
showCurrentAtPos'),ee=this.e$(e,'stepMonths'),j=(a[0]!==1||a[1]!==1),N=this.r$((
!e.currentDay?new Date(9999,9,9):new Date(e.currentYear,e.currentMonth,e.current
Day))),g=this.j$(e,'min'),d=this.j$(e,'max'),t=e.drawMonth-te,n=e.drawYear;if(t<
0){t+=12;n--};if(d){b=this.r$(new Date(d.getFullYear(),d.getMonth()-(a[0]*a[1])+
1,d.getDate()));b=(g&&b<g?g:b);while(this.r$(new Date(n,t,1))>b){t--;if(t<0){t=1
1;n--}}};e.drawMonth=t;e.drawYear=n;l=this.e$(e,'prevText');l=(!A?l:this.formatD
ate(l,this.r$(new Date(n,t-ee,1)),this.I$(e)));S=(this.et$(e,-1,n,t)?'<a class=\
'ui-datepicker-prev ui-corner-all\' data-handler=\'prev\' data-event=\'click\' t
itle=\''+l+'\'><span class=\'ui-icon ui-icon-circle-triangle-'+(o?'e':'w')+'\'>'
+l+'</span></a>':(J?'':'<a class=\'ui-datepicker-prev ui-corner-all ui-state-dis
abled\' title=\''+l+'\'><span class=\'ui-icon ui-icon-circle-triangle-'+(o?'e':'
w')+'\'>'+l+'</span></a>'));u=this.e$(e,'nextText');u=(!A?u:this.formatDate(u,th
is.r$(new Date(n,t+ee,1)),this.I$(e)));B=(this.et$(e,+1,n,t)?'<a class=\'ui-date
picker-next ui-corner-all\' data-handler=\'next\' data-event=\'click\' title=\''
+u+'\'><span class=\'ui-icon ui-icon-circle-triangle-'+(o?'w':'e')+'\'>'+u+'</sp
an></a>':(J?'':'<a class=\'ui-datepicker-next ui-corner-all ui-state-disabled\'
title=\''+u+'\'><span class=\'ui-icon ui-icon-circle-triangle-'+(o?'w':'e')+'\'>
'+u+'</span></a>'));y=this.e$(e,'currentText');H=(this.e$(e,'gotoCurrent')&&e.cu
rrentDay?N:P);y=(!A?y:this.formatDate(y,H,this.I$(e)));O=(!e.inline?'<button typ
e=\'button\' class=\'ui-datepicker-close ui-state-default ui-priority-primary ui
-corner-all\' data-handler=\'hide\' data-event=\'click\'>'+this.e$(e,'closeText'
)+'</button>':'');Q=(ie)?'<div class=\'ui-datepicker-buttonpane ui-widget-conten
t\'>'+(o?O:'')+(this.tt$(e,H)?'<button type=\'button\' class=\'ui-datepicker-cur
rent ui-state-default ui-priority-secondary ui-corner-all\' data-handler=\'today
\' data-event=\'click\'>'+y+'</button>':'')+(o?'':O)+'</div>':'';c=parseInt(this
.e$(e,'firstDay'),10);c=(isNaN(c)?0:c);F=this.e$(e,'showWeek');X=this.e$(e,'dayN
ames');K=this.e$(e,'dayNamesMin');Z=this.e$(e,'monthNames');G=this.e$(e,'monthNa
mesShort');L=this.e$(e,'beforeShowDay');w=this.e$(e,'showOtherMonths');V=this.e$
(e,'selectOtherMonths');W=this.Ae$(e);C='';r;for(p=0;p<a[0];p++){Y='';this.maxRo
ws=4;for(m=0;m<a[1];m++){U=this.r$(new Date(n,t,e.selectedDay));h=' ui-corner-al
l';s='';if(j){s+='<div class=\'ui-datepicker-group';if(a[1]>1){switch(m){case 0:
s+=' ui-datepicker-group-first';h=' ui-corner-'+(o?'right':'left');break;case a[
1]-1:s+=' ui-datepicker-group-last';h=' ui-corner-'+(o?'left':'right');break;def
ault:s+=' ui-datepicker-group-middle';h='';break}};s+='\'>'};s+='<div class=\'ui
-datepicker-header ui-widget-header ui-helper-clearfix'+h+'\'>'+(/all|left/.test
(h)&&p===0?(o?B:S):'')+(/all|right/.test(h)&&p===0?(o?S:B):'')+this.Et$(e,t,n,g,
d,p>0||m>0,Z,G)+'</div><table class=\'ui-datepicker-calendar\'><thead><tr>';q=(F
?'<th class=\'ui-datepicker-week-col\'>'+this.e$(e,'weekHeader')+'</th>':'');for
(r=0;r<7;r++){M=(r+c)%7;q+='<th'+((r+c+6)%7>=5?' class=\'ui-datepicker-week-end\
'':'')+'><span title=\''+X[M]+'\'>'+K[M]+'</span></th>'};s+=q+'</tr></thead><tbo
dy>';R=this.R$(n,t);if(n===e.selectedYear&&t===e.selectedMonth){e.selectedDay=Ma
th.min(e.selectedDay,R)};z=(this.Mt$(n,t)-c+7)%7;k=Math.ceil((z+R)/7);E=(j?this.
maxRows>k?this.maxRows:k:k);this.maxRows=E;i=this.r$(new Date(n,t,1-z));for(T=0;
T<E;T++){s+='<tr>';D=(!F?'':'<td class=\'ui-datepicker-week-col\'>'+this.e$(e,'c
alculateWeek')(i)+'</td>');for(r=0;r<7;r++){v=(L?L.apply((e.input?e.input[0]:nul
l),[i]):[!0,'']);f=(i.getMonth()!==t);x=(f&&!V)||!v[0]||(g&&i<g)||(d&&i>d);D+='<
td class=\''+((r+c+6)%7>=5?' ui-datepicker-week-end':'')+(f?' ui-datepicker-othe
r-month':'')+((i.getTime()===U.getTime()&&t===e.selectedMonth&&e.P$)||(W.getTime
()===i.getTime()&&W.getTime()===U.getTime())?' '+this.Se$:'')+(x?' '+this.Je$+'
ui-state-disabled':'')+(f&&!w?'':' '+v[1]+(i.getTime()===N.getTime()?' '+this.Ve
$:'')+(i.getTime()===P.getTime()?' ui-datepicker-today':''))+'\''+((!f||w)&&v[2]
?' title=\''+v[2].replace(/'/g,'&#39;')+'\'':'')+(x?'':' data-handler=\'selectDa
y\' data-event=\'click\' data-month=\''+i.getMonth()+'\' data-year=\''+i.getFull
Year()+'\'')+'>'+(f&&!w?'&#xa0;':(x?'<span class=\'ui-state-default\'>'+i.getDat
e()+'</span>':'<a class=\'ui-state-default'+(i.getTime()===P.getTime()?' ui-stat
e-highlight':'')+(i.getTime()===N.getTime()?' ui-state-active':'')+(f?' ui-prior
ity-secondary':'')+'\' href=\'#\'>'+i.getDate()+'</a>'))+'</td>';i.setDate(i.get
Date()+1);i=this.r$(i)};s+=D+'</tr>'};t++;if(t>11){t=0;n++};s+='</tbody></table>
'+(j?'</div>'+((a[0]>0&&m===a[1]-1)?'<div class=\'ui-datepicker-row-break\'></di
v>':''):'');Y+=s};C+=Y};C+=Q;e.P$=!1;return C},Et$:function(e,t,i,n,s,a,b,x){var
g,v,o,p,m,d,r,u,h=this.e$(e,'changeMonth'),f=this.e$(e,'changeYear'),y=this.e$(
e,'showMonthAfterYear'),l='<div class=\'ui-datepicker-title\'>',c='';if(a||!h){c
+='<span class=\'ui-datepicker-month\'>'+b[t]+'</span>'}else{g=(n&&n.getFullYear
()===i);v=(s&&s.getFullYear()===i);c+='<select class=\'ui-datepicker-month\' dat
a-handler=\'selectMonth\' data-event=\'change\'>';for(o=0;o<12;o++){if((!g||o>=n
.getMonth())&&(!v||o<=s.getMonth())){c+='<option value=\''+o+'\''+(o===t?' selec
ted=\'selected\'':'')+'>'+x[o]+'</option>'}};c+='</select>'};if(!y){l+=c+(a||!(h
&&f)?'&#xa0;':'')};if(!e.yearshtml){e.yearshtml='';if(a||!f){l+='<span class=\'u
i-datepicker-year\'>'+i+'</span>'}else{p=this.e$(e,'yearRange').split(':');m=new
Date().getFullYear();d=function(e){var t=(e.match(/c[+\-].*/)?i+parseInt(e.subs
tring(1),10):(e.match(/[+\-].*/)?m+parseInt(e,10):parseInt(e,10)));return(isNaN(
t)?m:t)};r=d(p[0]);u=Math.max(r,d(p[1]||''));r=(n?Math.max(r,n.getFullYear()):r)
;u=(s?Math.min(u,s.getFullYear()):u);e.yearshtml+='<select class=\'ui-datepicker
-year\' data-handler=\'selectYear\' data-event=\'change\'>';for(;r<=u;r++){e.yea
rshtml+='<option value=\''+r+'\''+(r===i?' selected=\'selected\'':'')+'>'+r+'</o
ption>'};e.yearshtml+='</select>';l+=e.yearshtml;e.yearshtml=null}};l+=this.e$(e
,'yearSuffix');if(y){l+=(a||!(h&&f)?'&#xa0;':'')+c};l+='</div>';return l},Ee$:fu
nction(e,t,i){var s=e.drawYear+(i==='Y'?t:0),r=e.drawMonth+(i==='M'?t:0),o=Math.
min(e.selectedDay,this.R$(s,r))+(i==='D'?t:0),n=this.Pe$(e,this.r$(new Date(s,r,
o)));e.selectedDay=n.getDate();e.drawMonth=e.selectedMonth=n.getMonth();e.drawYe
ar=e.selectedYear=n.getFullYear();if(i==='M'||i==='Y'){this.te$(e)}},Pe$:functio
n(e,t){var n=this.j$(e,'min'),i=this.j$(e,'max'),s=(n&&t<n?n:t);return(i&&s>i?i:
s)},te$:function(e){var t=this.e$(e,'onChangeMonthYear');if(t){t.apply((e.input?
e.input[0]:null),[e.selectedYear,e.selectedMonth+1,e])}},De$:function(e){var t=t
his.e$(e,'numberOfMonths');return(t==null?[1,1]:(typeof t==='number'?[1,t]:t))},
j$:function(e,t){return this.Le$(e,this.e$(e,t+'Date'),null)},R$:function(e,t){r
eturn 32-this.r$(new Date(e,t,32)).getDate()},Mt$:function(e,t){return new Date(
e,t,1).getDay()},et$:function(e,t,i,n){var r=this.De$(e),s=this.r$(new Date(i,n+
(t<0?t:r[0]*r[1]),1));if(t<0){s.setDate(this.R$(s.getFullYear(),s.getMonth()))};
return this.tt$(e,s)},tt$:function(e,t){var i,r,a=this.j$(e,'min'),l=this.j$(e,'
max'),n=null,s=null,o=this.e$(e,'yearRange');if(o){i=o.split(':');r=new Date().g
etFullYear();n=parseInt(i[0],10);s=parseInt(i[1],10);if(i[0].match(/[+\-].*/)){n
+=r};if(i[1].match(/[+\-].*/)){s+=r}};return((!a||t.getTime()>=a.getTime())&&(!l
||t.getTime()<=l.getTime())&&(!n||t.getFullYear()>=n)&&(!s||t.getFullYear()<=s))
},I$:function(e){var t=this.e$(e,'shortYearCutoff');t=(typeof t!=='string'?t:new
Date().getFullYear()%100+parseInt(t,10));return{shortYearCutoff:t,dayNamesShort
:this.e$(e,'dayNamesShort'),dayNames:this.e$(e,'dayNames'),monthNamesShort:this.
e$(e,'monthNamesShort'),monthNames:this.e$(e,'monthNames')}},M$:function(e,t,i,n
){if(!t){e.currentDay=e.selectedDay;e.currentMonth=e.selectedMonth;e.currentYear
=e.selectedYear};var s=(t?(typeof t==='object'?t:this.r$(new Date(n,i,t))):this.
r$(new Date(e.currentYear,e.currentMonth,e.currentDay)));return this.formatDate(
this.e$(e,'dateFormat'),s,this.I$(e))}});function o(t){var i='button, .ui-datepi
cker-prev, .ui-datepicker-next, .ui-datepicker-calendar td a';return t.delegate(
i,'mouseout',function(){e(this).removeClass('ui-state-hover');if(this.className.
indexOf('ui-datepicker-prev')!==-1){e(this).removeClass('ui-datepicker-prev-hove
r')};if(this.className.indexOf('ui-datepicker-next')!==-1){e(this).removeClass('
ui-datepicker-next-hover')}}).delegate(i,'mouseover',function(){if(!e.datepicker
.ue$(s.inline?t.parent()[0]:s.input[0])){e(this).parents('.ui-datepicker-calenda
r').find('a').removeClass('ui-state-hover');e(this).addClass('ui-state-hover');i
f(this.className.indexOf('ui-datepicker-prev')!==-1){e(this).addClass('ui-datepi
cker-prev-hover')};if(this.className.indexOf('ui-datepicker-next')!==-1){e(this)
.addClass('ui-datepicker-next-hover')}}})};function n(t,i){e.extend(t,i);for(var
n in i){if(i[n]==null){t[n]=i[n]}};return t};e.fn.datepicker=function(t){if(!th
is.length){return this};if(!e.datepicker.initialized){e(document).mousedown(e.da
tepicker.Nt$);e.datepicker.initialized=!0};if(e('#'+e.datepicker.ae$).length===0
){e('body').append(e.datepicker.dpDiv)};var i=Array.prototype.slice.call(argumen
ts,1);if(typeof t==='string'&&(t==='isDisabled'||t==='getDate'||t==='widget')){r
eturn e.datepicker['_'+t+'Datepicker'].apply(e.datepicker,[this[0]].concat(i))};
if(t==='option'&&arguments.length===2&&typeof arguments[1]==='string'){return e.
datepicker['_'+t+'Datepicker'].apply(e.datepicker,[this[0]].concat(i))};return t
his.each(function(){typeof t==='string'?e.datepicker['_'+t+'Datepicker'].apply(e
.datepicker,[this].concat(i)):e.datepicker.Vt$(this,t)})};e.datepicker=new r();e
.datepicker.initialized=!1;e.datepicker.uuid=new Date().getTime();e.datepicker.v
ersion='1.10.3'})(jQuery);(function(e,t){e.widget('ui.menu',{version:'1.10.3',de
faultElement:'<ul>',delay:300,options:{icons:{submenu:'ui-icon-carat-1-e'},menus
:'ul',position:{my:'left top',at:'right top'},role:'menu',blur:null,focus:null,s
elect:null},L$:function(){this.activeMenu=this.element;this.mouseHandled=!1;this
.element.uniqueId().addClass('ui-menu ui-widget ui-widget-content ui-corner-all'
).toggleClass('ui-menu-icons',!!this.element.find('.ui-icon').length).attr({role
:this.options.role,tabIndex:0}).bind('click'+this.eventNamespace,e.proxy(functio
n(e){if(this.options.disabled){e.preventDefault()}},this));if(this.options.disab
led){this.element.addClass('ui-state-disabled').attr('aria-disabled','true')};th
is.T$({'mousedown .ui-menu-item > a':function(e){e.preventDefault()},'click .ui-
state-disabled > a':function(e){e.preventDefault()},'click .ui-menu-item:has(a)'
:function(t){var i=e(t.target).closest('.ui-menu-item');if(!this.mouseHandled&&i
.not('.ui-state-disabled').length){this.mouseHandled=!0;this.select(t);if(i.has(
'.ui-menu').length){this.expand(t)}else if(!this.element.is(':focus')){this.elem
ent.trigger('focus',[!0]);if(this.active&&this.active.parents('.ui-menu').length
===1){clearTimeout(this.timer)}}}},'mouseenter .ui-menu-item':function(t){var i=
e(t.currentTarget);i.siblings().children('.ui-state-active').removeClass('ui-sta
te-active');this.focus(t,i)},mouseleave:'collapseAll','mouseleave .ui-menu':'col
lapseAll',focus:function(e,t){var i=this.active||this.element.children('.ui-menu
-item').eq(0);if(!t){this.focus(e,i)}},blur:function(t){this.f$(function(){if(!e
.contains(this.element[0],this.document[0].activeElement)){this.collapseAll(t)}}
)},keydown:'_keydown'});this.refresh();this.T$(this.document,{click:function(t){
if(!e(t.target).closest('.ui-menu').length){this.collapseAll(t)};this.mouseHandl
ed=!1}})},N$:function(){this.element.removeAttr('aria-activedescendant').find('.
ui-menu').addBack().removeClass('ui-menu ui-widget ui-widget-content ui-corner-a
ll ui-menu-icons').removeAttr('role').removeAttr('tabIndex').removeAttr('aria-la
belledby').removeAttr('aria-expanded').removeAttr('aria-hidden').removeAttr('ari
a-disabled').removeUniqueId().show();this.element.find('.ui-menu-item').removeCl
ass('ui-menu-item').removeAttr('role').removeAttr('aria-disabled').children('a')
.removeUniqueId().removeClass('ui-corner-all ui-state-hover').removeAttr('tabInd
ex').removeAttr('role').removeAttr('aria-haspopup').children().each(function(){v
ar t=e(this);if(t.data('ui-menu-submenu-carat')){t.remove()}});this.element.find
('.ui-menu-divider').removeClass('ui-menu-divider ui-widget-content')},Wi$:funct
ion(t){var i,o,n,r,s,l=!0;function a(e){return e.replace(/[\-\[\]{}()*+?.,\\\^$|
#\s]/g,'\\$&')};switch(t.keyCode){case e.ui.keyCode.PAGE_UP:this.previousPage(t)
;break;case e.ui.keyCode.PAGE_DOWN:this.nextPage(t);break;case e.ui.keyCode.HOME
:this.g$('first','first',t);break;case e.ui.keyCode.END:this.g$('last','last',t)
;break;case e.ui.keyCode.UP:this.previous(t);break;case e.ui.keyCode.DOWN:this.n
ext(t);break;case e.ui.keyCode.LEFT:this.collapse(t);break;case e.ui.keyCode.RIG
HT:if(this.active&&!this.active.is('.ui-state-disabled')){this.expand(t)};break;
case e.ui.keyCode.ENTER:case e.ui.keyCode.SPACE:this.he$(t);break;case e.ui.keyC
ode.ESCAPE:this.collapse(t);break;default:l=!1;o=this.previousFilter||'';n=Strin
g.fromCharCode(t.keyCode);r=!1;clearTimeout(this.filterTimer);if(n===o){r=!0}els
e{n=o+n};s=new RegExp('^'+a(n),'i');i=this.activeMenu.children('.ui-menu-item').
filter(function(){return s.test(e(this).children('a').text())});i=r&&i.index(thi
s.active.next())!==-1?this.active.nextAll('.ui-menu-item'):i;if(!i.length){n=Str
ing.fromCharCode(t.keyCode);s=new RegExp('^'+a(n),'i');i=this.activeMenu.childre
n('.ui-menu-item').filter(function(){return s.test(e(this).children('a').text())
})};if(i.length){this.focus(t,i);if(i.length>1){this.previousFilter=n;this.filte
rTimer=this.f$(function(){delete this.previousFilter},1000)}else{delete this.pre
viousFilter}}else{delete this.previousFilter}};if(l){t.preventDefault()}},he$:fu
nction(e){if(!this.active.is('.ui-state-disabled')){if(this.active.children('a[a
ria-haspopup=\'true\']').length){this.expand(e)}else{this.select(e)}}},refresh:f
unction(){var t,n=this.options.icons.submenu,i=this.element.find(this.options.me
nus);i.filter(':not(.ui-menu)').addClass('ui-menu ui-widget ui-widget-content ui
-corner-all').hide().attr({role:this.options.role,'aria-hidden':'true','aria-exp
anded':'false'}).each(function(){var t=e(this),i=t.prev('a'),s=e('<span>').addCl
ass('ui-menu-icon ui-icon '+n).data('ui-menu-submenu-carat',!0);i.attr('aria-has
popup','true').prepend(s);t.attr('aria-labelledby',i.attr('id'))});t=i.add(this.
element);t.children(':not(.ui-menu-item):has(a)').addClass('ui-menu-item').attr(
'role','presentation').children('a').uniqueId().addClass('ui-corner-all').attr({
tabIndex:-1,role:this.ni$()});t.children(':not(.ui-menu-item)').each(function(){
var t=e(this);if(!/[^\-\u2014\u2013\s]/.test(t.text())){t.addClass('ui-widget-co
ntent ui-menu-divider')}});t.children('.ui-state-disabled').attr('aria-disabled'
,'true');if(this.active&&!e.contains(this.element[0],this.active[0])){this.blur(
)}},ni$:function(){return{menu:'menuitem',listbox:'option'}[this.options.role]},
b$:function(e,t){if(e==='icons'){this.element.find('.ui-menu-icon').removeClass(
this.options.icons.submenu).addClass(t.submenu)};this.ie$(e,t)},focus:function(e
,t){var i,n;this.blur(e,e&&e.type==='focus');this.ii$(t);this.active=t.first();n
=this.active.children('a').addClass('ui-state-focus');if(this.options.role){this
.element.attr('aria-activedescendant',n.attr('id'))};this.active.parent().closes
t('.ui-menu-item').children('a:first').addClass('ui-state-active');if(e&&e.type=
=='keydown'){this.D$()}else{this.timer=this.f$(function(){this.D$()},this.delay)
};i=t.children('.ui-menu');if(i.length&&(/^mouse/.test(e.type))){this.si$(i)};th
is.activeMenu=t.parent();this.t$('focus',e,{item:t})},ii$:function(t){var o,a,i,
r,s,n;if(this.Ne$()){o=parseFloat(e.css(this.activeMenu[0],'borderTopWidth'))||0
;a=parseFloat(e.css(this.activeMenu[0],'paddingTop'))||0;i=t.offset().top-this.a
ctiveMenu.offset().top-o-a;r=this.activeMenu.scrollTop();s=this.activeMenu.heigh
t();n=t.height();if(i<0){this.activeMenu.scrollTop(r+i)}else if(i+n>s){this.acti
veMenu.scrollTop(r+i-s+n)}}},blur:function(e,t){if(!t){clearTimeout(this.timer)}
;if(!this.active){return};this.active.children('a').removeClass('ui-state-focus'
);this.active=null;this.t$('blur',e,{item:this.active})},si$:function(e){clearTi
meout(this.timer);if(e.attr('aria-hidden')!=='true'){return};this.timer=this.f$(
function(){this.D$();this.He$(e)},this.delay)},He$:function(t){var i=e.extend({o
f:this.active},this.options.position);clearTimeout(this.timer);this.element.find
('.ui-menu').not(t.parents('.ui-menu')).hide().attr('aria-hidden','true');t.show
().removeAttr('aria-hidden').attr('aria-expanded','true').position(i)},collapseA
ll:function(t,i){clearTimeout(this.timer);this.timer=this.f$(function(){var n=i?
this.element:e(t&&t.target).closest(this.element.find('.ui-menu'));if(!n.length)
{n=this.element};this.D$(n);this.blur(t);this.activeMenu=n},this.delay)},D$:func
tion(e){if(!e){e=this.active?this.active.parent():this.element};e.find('.ui-menu
').hide().attr('aria-hidden','true').attr('aria-expanded','false').end().find('a
.ui-state-active').removeClass('ui-state-active')},collapse:function(e){var t=th
is.active&&this.active.parent().closest('.ui-menu-item',this.element);if(t&&t.le
ngth){this.D$();this.focus(e,t)}},expand:function(e){var t=this.active&&this.act
ive.children('.ui-menu ').children('.ui-menu-item').first();if(t&&t.length){this
.He$(t.parent());this.f$(function(){this.focus(e,t)})}},next:function(e){this.g$
('next','first',e)},previous:function(e){this.g$('prev','last',e)},isFirstItem:f
unction(){return this.active&&!this.active.prevAll('.ui-menu-item').length},isLa
stItem:function(){return this.active&&!this.active.nextAll('.ui-menu-item').leng
th},g$:function(e,t,i){var n;if(this.active){if(e==='first'||e==='last'){n=this.
active[e==='first'?'prevAll':'nextAll']('.ui-menu-item').eq(-1)}else{n=this.acti
ve[e+'All']('.ui-menu-item').eq(0)}};if(!n||!n.length||!this.active){n=this.acti
veMenu.children('.ui-menu-item')[t]()};this.focus(i,n)},nextPage:function(t){var
i,s,n;if(!this.active){this.next(t);return};if(this.isLastItem()){return};if(th
is.Ne$()){s=this.active.offset().top;n=this.element.height();this.active.nextAll
('.ui-menu-item').each(function(){i=e(this);return i.offset().top-s-n<0});this.f
ocus(t,i)}else{this.focus(t,this.activeMenu.children('.ui-menu-item')[!this.acti
ve?'first':'last']())}},previousPage:function(t){var i,s,n;if(!this.active){this
.next(t);return};if(this.isFirstItem()){return};if(this.Ne$()){s=this.active.off
set().top;n=this.element.height();this.active.prevAll('.ui-menu-item').each(func
tion(){i=e(this);return i.offset().top-s+n>0});this.focus(t,i)}else{this.focus(t
,this.activeMenu.children('.ui-menu-item').first())}},Ne$:function(){return this
.element.outerHeight()<this.element.prop('scrollHeight')},select:function(t){thi
s.active=this.active||e(t.target).closest('.ui-menu-item');var i={item:this.acti
ve};if(!this.active.has('.ui-menu').length){this.collapseAll(t,!0)};this.t$('sel
ect',t,i)}})}(jQuery));(function(e){e.support.touch='ontouchend' in document;if(
!e.support.touch){return};var n=e.ui.mouse.prototype,s=n.X$,i;function t(e,t){if
(e.originalEvent.touches.length>1){return};e.preventDefault();var i=e.originalEv
ent.changedTouches[0],n=document.createEvent('MouseEvents');n.initMouseEvent(t,!
0,!0,window,1,i.screenX,i.screenY,i.clientX,i.clientY,!1,!1,!1,!1,0,null);e.targ
et.dispatchEvent(n)};n.zi$=function(e){var n=this;if(i||!n.U$(e.originalEvent.ch
angedTouches[0])){return};i=!0;n.ft$=!1;t(e,'mouseover');t(e,'mousemove');t(e,'m
ousedown')};n.Fi$=function(e){if(!i){return};this.ft$=!0;t(e,'mousemove')};n.Hi$
=function(e){if(!i){return};t(e,'mouseup');t(e,'mouseout');if(!this.ft$){t(e,'cl
ick')};i=!1};n.X$=function(){var t=this;t.element.bind('touchstart',e.proxy(t,'_
touchStart')).bind('touchmove',e.proxy(t,'_touchMove')).bind('touchend',e.proxy(
t,'_touchEnd'));s.call(t)}})(jQuery);(function(e){var c,g,p,n,T,o,k,l,y,x,h=0,i=
{},f=[],u=0,t={},a=[],P=null,m=new Image(),I=/\.(jpg|gif|png|bmp|jpeg)(.*)?$/i,q
=/[^\.]\.(swf)\s*$/i,M,L=1,b=0,v='',d,r,s=!1,w=e.extend(e('<div/>')[0],{prop:0})
,K,S,z=function(){g.hide();m.onerror=m.onload=null;if(P){P.abort()};c.empty()},O
=function(){if(!1===i.onError(f,h,i)){g.hide();s=!1;return};i.titleShow=!1;i.wid
th='auto';i.height='auto';c.html('<p id="fancybox-error">The requested content c
annot be loaded.<br />Please try again later.</p>');C()},D=function(){var n=f[h]
,t,r,l,u,d,a;z();i=e.extend({},e.fn.fancybox.defaults,(typeof e(n).data('fancybo
x')=='undefined'?i:e(n).data('fancybox')));a=i.onStart(f,h,i);if(a===!1){s=!1;re
turn}else if(typeof a=='object'){i=e.extend(i,a)};l=i.title||(n.nodeName?e(n).at
tr('title'):n.title)||'';if(n.nodeName&&!i.orig){i.orig=e(n).children('img:first
').length?e(n).children('img:first'):e(n)};if(l===''&&i.orig&&i.titleFromAlt){l=
i.orig.attr('alt')};t=i.href||(n.nodeName?e(n).attr('href'):n.href)||null;if((/^
(?:javascript)/i).test(t)||t=='#'){t=null};if(i.type){r=i.type;if(!t){t=i.conten
t}}else if(i.content){r='html'}else if(t){if(t.match(I)){r='image'}else if(t.mat
ch(q)){r='swf'}else if(e(n).hasClass('iframe')){r='iframe'}else if(t.indexOf('#'
)===0){r='inline'}else{r='ajax'}};if(!r){O();return};if(r=='inline'){n=t.substr(
t.indexOf('#'));r=e(n).length>0?'inline':'ajax'};i.type=r;i.href=t;i.title=l;if(
i.close_timeout!==undefined){S=setTimeout('$.fancybox.close()',i.close_timeout)}
;if(i.autoDimensions){if(i.type=='html'||i.type=='inline'||i.type=='ajax'){i.wid
th='auto';i.height='auto'}else{i.autoDimensions=!1}};if(i.modal){i.overlayShow=!
0;i.hideOnOverlayClick=!1;i.hideOnContentClick=!1;i.enableEscapeButton=!1;i.show
CloseButton=!1};i.padding=parseInt(i.padding,20);i.margin=parseInt(i.margin,0);c
.css('padding',(i.padding+i.margin));e('.fancybox-inline-tmp').unbind('fancybox-
cancel').bind('fancybox-change',function(){e(this).replaceWith(o.children())});s
witch(r){case'html':c.html(i.content);C();break;case'inline':if(e(n).parent().is
('#fancybox-content')===!0){s=!1;return};e('<div class="fancybox-inline-tmp" />'
).hide().bind('fancybox-cleanup',function(){e(this).replaceWith(o.children())}).
bind('fancybox-cancel',function(){e(this).replaceWith(c.children())});e(n).clone
().show().appendTo(c);C();break;case'image':s=!1;e.fancybox.showActivity();m=new
Image();m.onerror=function(){O()};m.onload=function(){s=!0;m.onerror=m.onload=n
ull;Y()};m.src=t;break;case'swf':i.scrolling='no';u='<object classid="clsid:D27C
DB6E-AE6D-11cf-96B8-444553540000" width="'+i.width+'" height="'+i.height+'"><par
am name="movie" value="'+t+'"></param>';d='';e.each(i.swf,function(e,t){u+='<par
am name="'+e+'" value="'+t+'"></param>';d+=' '+e+'="'+t+'"'});u+='<embed src="'+
t+'" type="application/x-shockwave-flash" width="'+i.width+'" height="'+i.height
+'"'+d+'></embed></object>';c.html(u);C();break;case'ajax':s=!1;e.fancybox.showA
ctivity();i.ajax.win=i.ajax.success;P=e.ajax(e.extend({},i.ajax,{url:t,data:i.aj
ax.data||{},dataType:'json',error:function(e,t,i){if(e.status>0){O()}},success:f
unction(e,n,s){var r=typeof s=='object'?s:P;if(r.status==200){if(typeof i.ajax.w
in=='function'){a=i.ajax.win(t,e,n,s);if(a===!1){g.hide();return}else if(typeof
a=='string'||typeof a=='object'){e=a}};if(typeof e=='object'){if(e.method=='erro
r'){var e='<h2>Error</h2><div class="alertfield">'+e.html+'</div>'}else if(e.met
hod=='ok'){if(e.url!=null){window.location=e.url;return};var e='<h2>Reloading...
</h2><br>';window.location.reload(!0)}else if(e.method=='show'){var e=e.html}}el
se if(e=='{"method":"ok","html":""}'){var e='<h2>Reloading...</h2><br>';window.l
ocation.reload(!0)};c.html(e);C()}}}));break;case'iframe':N();break}},C=function
(){var n=i.width,t=i.height;if(n.toString().indexOf('%')>-1){n=parseInt((e(windo
w).width()-(i.margin*2))*parseFloat(n)/100,10)+'px'}else{n=n=='auto'?'auto':n+'p
x'};if(t.toString().indexOf('%')>-1){t=parseInt((e(window).height()-(i.margin*2)
)*parseFloat(t)/100,10)+'px'}else{t=t=='auto'?'auto':t+'px'};c.wrapInner('<div s
tyle="width:'+n+';height:'+t+';overflow: '+(i.scrolling=='auto'?'visible':(i.scr
olling=='yes'?'scroll':'hidden'))+';position:relative;"></div>');i.width=c.width
();i.height=c.height();N()},Y=function(){i.width=m.width;i.height=m.height;e('<i
mg />').attr({'id':'fancybox-img','src':m.src,'alt':i.title}).appendTo(c);N()},N
=function(){var m,v;g.hide();a=f;u=h;t=i;if(n.is(':visible')&&!1===t.onCleanup(a
,u,t)){e.event.trigger('fancybox-cancel');s=!1;return};s=!0;e(o.add(p)).unbind()
;e(window).unbind('resize.fb scroll.fb');e(document).unbind('keydown.fb');if(n.i
s(':visible')&&t.titlePosition!=='outside'){n.css('height',n.height())};if(t.ove
rlayShow){p.css({'background-color':t.overlayColor,'opacity':t.overlayOpacity,'c
ursor':t.hideOnOverlayClick?'pointer':'auto','height':e(document).height()});if(
!p.is(':visible')){p.show()}}else{p.hide()};r=W();U();if(n.is(':visible')){e(k.a
dd(y).add(x)).hide();m=n.position(),d={top:m.top,left:m.left,width:n.width(),hei
ght:n.height()};v=(d.width==r.width&&d.height==r.height);o.fadeTo(t.changeFade,0
.3,function(){var n=function(){o.html(c.contents()).fadeTo(t.changeFade,1,A)};e.
event.trigger('fancybox-change');o.empty().removeAttr('filter').css({'width':r.w
idth-t.padding*2,'height':i.autoDimensions?'auto':r.height-b-t.padding*2});if(v)
{n()}else{w.prop=0;e(w).animate({prop:1},{duration:t.changeSpeed,easing:t.easing
Change,step:E,complete:n})}});return};n.removeAttr('style');if(t.transitionIn=='
elastic'){d=F();o.html(c.contents());n.show();if(t.opacity){r.opacity=0};w.prop=
0;e(w).animate({prop:1},{duration:t.speedIn,easing:t.easingIn,step:E,complete:A}
);return};if(t.titlePosition=='inside'&&b>0){l.show()};o.css({'width':r.width-t.
padding*2,'height':i.autoDimensions?'auto':r.height-b-t.padding*2}).html(c.conte
nts());n.css(r).fadeIn(t.transitionIn=='none'?0:t.speedIn,A)},B=function(e){if(e
&&e.length){if(t.titlePosition=='float'){return'<table id="fancybox-title-float-
wrap" cellpadding="0" cellspacing="0"><tr><td id="fancybox-title-float-left"></t
d><td id="fancybox-title-float-main">'+e+'</td><td id="fancybox-title-float-righ
t"></td></tr></table>'};return'<div id="fancybox-title-'+t.titlePosition+'">'+e+
'</div>'};return!1},U=function(){v=t.title||'';b=0;l.empty().removeAttr('style')
.removeClass();if(t.titleShow===!1){l.hide();return};v=e.isFunction(t.titleForma
t)?t.titleFormat(v,a,u,t):B(v);if(!v||v===''){l.hide();return};l.addClass('fancy
box-title-'+t.titlePosition).html(v).appendTo('body').show();switch(t.titlePosit
ion){case'inside':l.css({'width':r.width-(t.padding*2),'marginLeft':t.padding,'m
arginRight':t.padding});b=l.outerHeight(!0);l.appendTo(T);r.height+=b;break;case
'over':l.css({'marginLeft':t.padding,'width':r.width-(t.padding*2),'bottom':t.pa
dding}).appendTo(T);break;case'float':l.css('left',parseInt((l.width()-r.width-4
0)/2,10)*-1).appendTo(n);break;case'none':break;default:l.css({'width':r.width-(
t.padding*2),'paddingLeft':t.padding,'paddingRight':t.padding}).appendTo(n);brea
k};l.hide()},Q=function(){if(t.enableEscapeButton||t.enableKeyboardNav){e(docume
nt).bind('keydown.fb',function(i){if(i.keyCode==27&&t.enableEscapeButton){i.prev
entDefault();e.fancybox.close()}else if((i.keyCode==37||i.keyCode==39)&&t.enable
KeyboardNav&&i.target.tagName!=='INPUT'&&i.target.tagName!=='TEXTAREA'&&i.target
.tagName!=='SELECT'){i.preventDefault();e.fancybox[i.keyCode==37?'prev':'next'](
)}})};if(!t.showNavArrows){y.hide();x.hide();return};if((t.cyclic&&a.length>1)||
u!==0){y.show()};if((t.cyclic&&a.length>1)||u!=(a.length-1)){x.show()}},A=functi
on(){if(!e.support.opacity){o.get(0).style.removeAttribute('filter');n.get(0).st
yle.removeAttribute('filter')};if(i.autoDimensions){o.css('height','auto')};n.cs
s('height','auto');if(v&&v.length){l.show()};if(t.showCloseButton){k.show()};Q()
;if(t.hideOnContentClick){o.bind('click',e.fancybox.close)};if(t.hideOnOverlayCl
ick){p.bind('click',e.fancybox.close)};e(window).bind('resize.fb',e.fancybox.res
ize);if(t.centerOnScroll){e(window).bind('scroll.fb',e.fancybox.center)};if(t.ty
pe=='iframe'){e('<iframe id="fancybox-frame" name="fancybox-frame'+new Date().ge
tTime()+'" frameborder="0" hspace="0" allowtransparency="true" scrolling="'+i.sc
rolling+'" src="'+t.href+'"></iframe>').appendTo(o)};n.show();s=!1;e.fancybox.ce
nter();t.onComplete(a,u,t);o.find('[autofocus]').focus();X()},X=function(){var e
,t;if((a.length-1)>u){e=a[u+1].href;if(typeof e!=='undefined'&&e.match(I)){t=new
Image();t.src=e}};if(u>0){e=a[u-1].href;if(typeof e!=='undefined'&&e.match(I)){
t=new Image();t.src=e}}},E=function(e){var i={width:parseInt(d.width+(r.width-d.
width)*e,10),height:parseInt(d.height+(r.height-d.height)*e,10),top:parseInt(d.t
op+(r.top-d.top)*e,10),left:parseInt(d.left+(r.left-d.left)*e,10)};if(typeof r.o
pacity!=='undefined'){i.opacity=e<0.5?0.5:e};n.css(i);o.css({'width':i.width-t.p
adding*2,'height':i.height-(b*e)-t.padding*2})},j=function(){return[e(window).wi
dth()-(t.margin*2),e(window).height()-(t.margin*2),e(document).scrollLeft()+t.ma
rgin,e(document).scrollTop()+t.margin]},W=function(){var n=j(),e={},o=t.autoScal
e,s=t.padding*2,r;if(t.width.toString().indexOf('%')>-1){e.width=parseInt((n[0]*
parseFloat(t.width))/100,10)}else{e.width=t.width+s};if(t.height.toString().inde
xOf('%')>-1){e.height=parseInt((n[1]*parseFloat(t.height))/100,10)}else{e.height
=t.height+s};if(o&&(e.width>n[0]||e.height>n[1])){if(i.type=='image'||i.type=='s
wf'){r=(t.width)/(t.height);if((e.width)>n[0]){e.width=n[0];e.height=parseInt(((
e.width-s)/r)+s,10)};if((e.height)>n[1]){e.height=n[1];e.width=parseInt(((e.heig
ht-s)*r)+s,10)}}else{e.width=Math.min(e.width,n[0]);e.height=Math.min(e.height,n
[1])}};e.top=parseInt(Math.max(n[3]-20,n[3]+((n[1]-e.height-40)*0.5)),10);e.left
=parseInt(Math.max(n[2]-20,n[2]+((n[0]-e.width-40)*0.5)),10);return e},R=functio
n(e){var t=e.offset();t.top+=parseInt(e.css('paddingTop'),10)||0;t.left+=parseIn
t(e.css('paddingLeft'),10)||0;t.top+=parseInt(e.css('border-top-width'),10)||0;t
.left+=parseInt(e.css('border-left-width'),10)||0;t.width=e.width();t.height=e.h
eight();return t},F=function(){var o=i.orig?e(i.orig):!1,r={},s,n;if(o&&o.length
){s=R(o);r={width:s.width+(t.padding*2),height:s.height+(t.padding*2),top:s.top-
t.padding-20,left:s.left-t.padding-20}}else{n=j();r={width:t.padding*2,height:t.
padding*2,top:parseInt(n[3]+n[1]*0.5,10),left:parseInt(n[2]+n[0]*0.5,10)}};retur
n r},H=function(){if(!g.is(':visible')){clearInterval(M);return};e('div',g).css(
'top',(L*-40)+'px');L=(L+1)%12};e.fn.fancybox=function(t){if(!e(this).length){re
turn this};e(this).data('fancybox',e.extend({},t,(e.metadata?e(this).metadata():
{}))).unbind('click.fb').bind('click.fb',function(t){t.preventDefault();if(s){re
turn};s=!0;e(this).blur();f=[];h=0;var i=e(this).attr('rel')||'';if(!i||i==''||i
==='nofollow'){f.push(this)}else{f=e('a[rel='+i+'], area[rel='+i+']');h=f.index(
this)};D();return});return this};e.fancybox=function(t){var n;if(s){return};s=!0
;n=typeof arguments[1]!=='undefined'?arguments[1]:{};f=[];h=parseInt(n.index,10)
||0;if(e.isArray(t)){for(var i=0,r=t.length;i<r;i++){if(typeof t[i]=='object'){e
(t[i]).data('fancybox',e.extend({},n,t[i]))}else{t[i]=e({}).data('fancybox',e.ex
tend({content:t[i]},n))}};f=jQuery.merge(f,t)}else{if(typeof t=='object'){e(t).d
ata('fancybox',e.extend({},n,t))}else{t=e({}).data('fancybox',e.extend({content:
t},n))};f.push(t)};if(h>f.length||h<0){h=0};D()};e.fancybox.isActive=function(){
return e('#fancybox-content').is(':visible')};e.fancybox.setContent=function(t){
e('#fancybox-content div').html(t);e.fancybox.resize()};e.fancybox.queue=functio
n(t,i){if(!t.length)return;i=e.extend({onNext:null,timeout:0},i);var s=t.pop(),n
=e(s).html();if(i.timeout){setTimeout(function(){e.fancybox.close()},i.timeout)}
;if(typeof i.onNext=='function'){i.onNext.call(this,n)};if(e.fancybox.isActive()
){e.fancybox.setContent(n);return};e.fancybox({content:n,hideOnContentClick:!0,o
nCleanup:function(){if(t.length){e.fancybox.queue(t,i);return!1}}})};e.fancybox.
saveState=function(){var i=e('#fancybox-wrap'),t=e('#fancybox-content');return{t
itle:t.find('h1,h2,h3').eq(0).text(),div:e('<div/>').hide().appendTo('body').app
end(t.contents()),wrapTop:i.css('top'),wrapLeft:i.css('left'),wrapWidth:i.css('w
idth'),contentWidth:t.css('width')}};e.fancybox.restoreState=function(t){e('#fan
cybox-wrap').css({top:t.wrapTop,left:t.wrapLeft,width:t.wrapWidth});e('#fancybox
-content').empty().append(t.div.contents()).css({width:t.contentWidth});t.div.re
move()};e.fancybox.showActivity=function(){clearInterval(M);g.show();M=setInterv
al(H,66)};e.fancybox.hideActivity=function(){g.hide()};e.fancybox.next=function(
){return e.fancybox.pos(u+1)};e.fancybox.prev=function(){return e.fancybox.pos(u
-1)};e.fancybox.pos=function(e){if(s){return};e=parseInt(e);f=a;if(e>-1&&e<a.len
gth){h=e;D()}else if(t.cyclic&&a.length>1){h=e>=a.length?0:a.length-1;D()};retur
n};e.fancybox.cancel=function(){if(s){return};s=!0;e.event.trigger('fancybox-can
cel');z();i.onCancel(f,h,i);s=!1};e.fancybox.close=function(){if(S!==undefined){
clearTimeout(S);delete S};if(s||n.is(':hidden')){return};s=!0;if(t&&!1===t.onCle
anup(a,u,t)){s=!1;return};z();e(k.add(y).add(x)).hide();e(o.add(p)).unbind();e(w
indow).unbind('resize.fb scroll.fb');e(document).unbind('keydown.fb');o.find('if
rame').attr('src','about:blank');if(t.titlePosition!=='inside'){l.empty()};n.sto
p();function c(){p.fadeOut('fast');l.empty().hide();n.hide();e.event.trigger('fa
ncybox-cleanup');o.empty();t.onClosed(a,u,t);a=i=[];u=h=0;t=i={};s=!1};if(t.tran
sitionOut=='elastic'){d=F();var f=n.position();r={top:f.top,left:f.left,width:n.
width(),height:n.height()};if(t.opacity){r.opacity=1};l.empty().hide();w.prop=1;
e(w).animate({prop:0},{duration:t.speedOut,easing:t.easingOut,step:E,complete:c}
)}else{n.fadeOut(t.transitionOut=='none'?0:t.speedOut,c)}};e.fancybox.resize=fun
ction(){if(p.is(':visible')){p.css('height',e(document).height())};e.fancybox.ce
nter(!0)};e.fancybox.center=function(){var e,i;if(s){return};i=arguments[0]===!0
?1:0;e=j();if(!i&&(n.width()>e[0]||n.height()>e[1])){return};n.stop().animate({'
top':parseInt(Math.max(e[3]-20,e[3]+((e[1]-o.height()-40)*0.5)-t.padding)),'left
':parseInt(Math.max(e[2]-20,e[2]+((e[0]-o.width()-40)*0.5)-t.padding))},typeof a
rguments[0]=='number'?arguments[0]:200)};e.fancybox.init=function(){if(e('#fancy
box-wrap').length){return};e('body').append(c=e('<div id="fancybox-tmp"></div>')
,g=e('<div id="fancybox-loading"><div></div></div>'),p=e('<div id="fancybox-over
lay"></div>'),n=e('<div id="fancybox-wrap"></div>'));T=e('<div id="fancybox-oute
r"></div>').appendTo(n);T.append(o=e('<div id="fancybox-content"></div>'),k=e('<
a id="fancybox-close" class="icross icon16"><span></span></a>'),l=e('<div id="fa
ncybox-title"></div>'),y=e('<a href="javascript:;" id="fancybox-left"><span clas
s="fancy-ico" id="fancybox-left-ico"></span></a>'),x=e('<a href="javascript:;" i
d="fancybox-right"><span class="fancy-ico" id="fancybox-right-ico"></span></a>')
);k.click(e.fancybox.close);g.click(e.fancybox.cancel);y.click(function(t){t.pre
ventDefault();e.fancybox.prev()});x.click(function(t){t.preventDefault();e.fancy
box.next()});if(e.fn.mousewheel){n.bind('mousewheel.fb',function(t,i){if(s){t.pr
eventDefault()}else if(e(t.target).get(0).clientHeight==0||e(t.target).get(0).sc
rollHeight===e(t.target).get(0).clientHeight){t.preventDefault();e.fancybox[i>0?
'prev':'next']()}})};if(!e.support.opacity){n.addClass('fancybox-ie')}};e.fn.fan
cybox.defaults={padding:10,margin:40,opacity:!1,modal:!1,cyclic:!1,scrolling:'au
to',width:560,height:340,autoScale:!0,autoDimensions:!0,centerOnScroll:!1,ajax:{
},swf:{wmode:'transparent'},hideOnOverlayClick:!0,hideOnContentClick:!1,overlayS
how:!0,overlayOpacity:0.9,titleShow:!1,titlePosition:'float',titleFormat:null,ti
tleFromAlt:!1,transitionIn:'fade',transitionOut:'fade',speedIn:300,speedOut:300,
changeSpeed:300,changeFade:'fast',easingIn:'swing',easingOut:'swing',showCloseBu
tton:!0,showNavArrows:!0,enableEscapeButton:!0,enableKeyboardNav:!0,onStart:func
tion(){},onCancel:function(){},onComplete:function(){},onCleanup:function(){},on
Closed:function(){},onError:function(){}};e(document).ready(function(){e.fancybo
x.init()})})(jQuery);(function(e){e.bbedit={baseURL:'//kastatic.com/images/',i18
n:{'default':{'b':'Bold','i':'Italic','u':'Underline','s':'Strike through','url'
:'Insert link','torrent':'Insert torrent link','user':'Insert link to user profi
le','image':'Insert image','code':'Insert code','quote':'Insert quote','smiles':
'Show smiles','spoiler':'Insert spoiler','biggrin':'Big grin','cry':'Cry','dizzy
':'Dizzy','funk':'Funk','huffy':'Huffy','lol':'Laugh out Loud','loveliness':'Lov
eliness','mad':'Mad','sad':'Sad','shocked':'Shocked','shy':'Shy','sleepy':'Sleep
y','smile':'Smile','sweat':'Sweat','titter':'Titter','tongue':'Tongue out','pira
te':'Pirate','nervous':'Nervous Laughter','white':'White Flag','cold':'Cold Swea
t','lucky':'Ya feelin lucky, punk??','boo':'Boo','wink':'Little D','dull':'Dull'
,'chuckle':'Chuckle','clap':'Clap','drunk':'Drunk','finger':'Middle finger','inl
ove':'In love','nerd':'Nerd','no':'No','rofl':'ROFL','sealed':'Lips sealed','smi
rk':'Smirk','think':'Think','yes':'Yes','wait':'Wait','wave':'Wave','cool':'Cool
dude'}}};e.fn.extend({bbedit:function(i){this.defaults={highlight:!0,enableTool
bar:!0,enableSmileybar:!0,lang:'default',tags:'b,i,u,s,image,url,torrent,user,co
de,quote,smiles, spoiler',smilies:'biggrin,cry,dizzy,funk,huffy,lol,loveliness,m
ad,sad,shocked,shy,sleepy,smile,sweat,titter,tongue,pirate,boo,wink,dull,chuckle
,clap,drunk,finger,inlove,nerd,no,rofl,sealed,smirk,think,yes,wait,wave,cool',at
tachImage:!0};var i=e.extend(this.defaults,i),o=i.tags.split(/,\s*/),a='<div cla
ss="bbedit-toolbar">';for(var s in o){a+='<span class="bbedit-'+o[s]+'" title="'
+e.bbedit.i18n[i.lang][o[s]]+'"></span> '};a+='</div>';var n=i.smilies.split(/,\
s*/),l='<div class="clear"></div>',r='<div class="bbedit-smileybar">';for(var s
in n){if(n[s]!='|'&&n!=undefined){r+='<img src="'+e.bbedit.baseURL+'smiley/'+n[s
]+'.gif" class="bbedit-'+n[s]+'" alt="'+n[s]+'" title="'+e.bbedit.i18n[i.lang][n
[s]]+'" /> '}else{r+='<br />'}};r+='</div>';return this.each(function(){var s=i;
s.ta=this;var l='sm'+Math.random();l=l.replace('0.','');e(this).bind('select cli
ck keyup',function(){if(document.selection){var i=document.selection.createRange
(),t=s.ta.createTextRange(),e=t.duplicate();t.moveToBookmark(i.getBookmark());e.
setEndPoint('EndToStart',t);s.selectionStart=e.text.length;s.selectionEnd=e.text
.length+i.text.length}});if(i.enableToolbar){var o=e(a);e(this).before(o);o.find
('.bbedit-b').click(function(){t(s,'[b]','[/b]')});o.find('.bbedit-i').click(fun
ction(){t(s,'[i]','[/i]')});o.find('.bbedit-u').click(function(){t(s,'[u]','[/u]
')});o.find('.bbedit-s').click(function(){t(s,'[s]','[/s]')});o.find('.bbedit-co
de').click(function(){t(s,'[code]','[/code]')});o.find('.bbedit-quote').click(fu
nction(){t(s,'[quote]','[/quote]')});o.find('.bbedit-spoiler').click(function(){
t(s,'[spoiler]','[/spoiler]')});o.find('.bbedit-url').click(function(){t(s,funct
ion(e){if(/^https?:\/\//i.test(e)){return'[url]'+e+'[/url]'}else{var t=prompt('U
RL: ','');if(t!=null&&t!=''){if(!/^https?:\/\//i.test(t)){t='http://'+t};if(e=='
'){return'[url="'+t+'"]'+t+'[/url]'}else{return'[url="'+t+'"]'+e+'[/url]'}};retu
rn!1}})});o.find('.bbedit-image').imageSelector({select:function(n){for(var r in
n){if(i.attachImage){e(this).parents('form:eq(0)').find('.objectAttachmentsJs')
.append(e('<div/>').attr('class','galleryThumbSizerStills inlineblock').append(e
('<input/>').attr('type','hidden').attr('name','image_ids[]').val(n[r].id)).appe
nd(e('<a/>').attr('class','icross icon16 topmarg2px leftmarg2px absolute').click
(function(){e(this).parent().remove()}).append('<span/>')).append(e('<a/>').attr
('rel','images_'+l).attr('class','galleryThumb').attr('href',n[r].link).fancybox
().append(e('<img/>').attr('src',n[r].thumb_link))))}else{t(s,'[image='+n[r].nam
e+']')}}}});o.find('.bbedit-smiles').click(function(){if(e(s.ta).hasClass('activ
eSmiles')){e(s.ta).removeClass('activeSmiles')}else{e(s.ta).addClass('activeSmil
es')};e('#'+l).toggle();return!1});o.find('.bbedit-user').click(function(){t(s,f
unction(e){var t=prompt('Nickname: ',e);if(t!=null&&t!=''){t=t.replace(/https?.+
\/user\/([^\/]+)\/.*/,'$1');return'[user="'+t+'"]'}else{return!1}})});o.find('.b
bedit-torrent').click(function(){t(s,function(e){var t=prompt('Torrent link, id
or hash: ',e);if(t!=null&&t!=''){t=t.replace(/https?.+t(\d+)\.html/,'$1');if((/\
d+/i.test(t))||(/^[a-f0-9]{40}/i.test(t))){return'[torrent='+t+']'};return'Wrong
torrent: '+t}else{return!1}})})};if(i.enableSmileybar){var c=e(r);c.attr('id',l
);e(this).after(c);c.hide();for(var u in n){var f=c.find('.bbedit-'+n[u]);f.clic
k(function(){t(s,'[:Q'+e(this).attr('class').replace(/bbedit-/,'')+']')})}}})}})
;function t(e,t,i){var n=e.ta,r=e.selectionStart||n.selectionStart||0,l=e.select
ionEnd||n.selectionEnd||0,a=n.value.substring(r,l),s;if(typeof t=='function'){s=
t(a);if(s===!1){return}}else{if(!i||i==''){s=a+t}else{s=t+a+i}};n.value=n.value.
substring(0,r)+s+n.value.substr(l);n.focus();if(typeof n.createTextRange!='undef
ined'){var o=n.createTextRange();if(e.highlight){o.moveStart('character',r);o.mo
veEnd('character',r+s.length)}else{o.moveStart('character',r+s.length);o.moveEnd
('character',r+s.length)};o.select()}else if(typeof n.selectionStart!='undefined
'){if(e.highlight){n.selectionStart=r;n.selectionEnd=r+s.length}else{n.selection
Start=r+s.length;n.selectionEnd=r+s.length}}else{n.value+=s}}})(jQuery);(functio
n(e,t){e.fn.fcbkcomplete=function(t){return this.queue(function(){function O(){L
();A(0)};function L(){l=e('<ul class="holder textinput"></ul>').width(n.width);i
f(n.attachto){if(typeof(n.attachto)=='object'){n.attachto.append(l)}else{e(n.att
achto).append(l)}}else{s.after(l)};c=e('<div class="facebook-auto">').width(n.wi
dth);if(n.complete_text!=''){var t=n.complete_text;if(n.select_all_text){c.child
ren('.default').append(e('<a href="" class="select_all_items">'+n.select_all_tex
t+'</a>').click(function(){e(s).trigger('selectAll');return!1}))}};c.hover(funct
ion(){D=0},function(){D=1});r=e('<ul id="'+p+'_feed"></ul>').width(n.width);l.af
ter(c.prepend(r));M()};function M(){name=s.attr('name');if(n.bricket){if(typeof(
name)!='undefined'&&name.indexOf('[]')==-1){name=name+'[]'}};var t=e('<'+s.get(0
).tagName+' name="'+name+'" id="'+p+'" multiple="multiple" class="'+s.get(0).cla
ssName+' hidden">').data('cache',{});e.each(s.children('option'),function(i,n){n
=e(n);t.data('cache')[n.val()]=n.text();if(n.hasClass('selected')){var s=u(n.tex
t(),n.val(),!0,n.hasClass('locked'));t.append('<option value="'+n.val()+'" selec
ted="selected" id="opt_'+s+'"class="selected">'+n.text()+'</option>')}});s.after
(t);s.remove();s=t;e(s).bind('addItem',function(e,t){u(t.title,t.value,0,0,0)});
e(s).bind('removeItem',function(e,t){var i=l.children('li[rel='+t.value+']');if(
i.length){b(i)}});e(s).bind('destroy',function(e,t){l.remove();c.remove();s.show
()});e(s).bind('selectAll',function(t,i){var n=e(s).val()||[];e.each(e(s).data('
cache'),function(t,i){if(e.inArray(t,n)===-1){u(i,t,0,0,0)}});r.parent().hide()}
)};function u(t,i,r,o,a){if(!m()){return!1};var g='bit-box'+(o?' locked':''),c=z
(),y=document.createTextNode(h(t)),u=e('<a class="closebutton" href="#"></a>'),d
=e('<li class="'+g+'" rel="'+i+'" id="pt_'+c+'"></li>').prepend(y).append(u);l.a
ppend(d);u.click(function(){b(e(this).parent('li'));return!1});if(!r){e('#'+p+'_
annoninput').remove();A(a);var f=e('<option value="'+h(i)+'" id="opt_'+c+'" clas
s="selected" selected="selected">'+h(t)+'</option>');s.append(f);if(n.onselect){
S(n.onselect,f)};s.change()};l.children('li.bit-box.deleted').removeClass('delet
ed');v(1);return c};function b(t){if(!t.hasClass('locked')){t.fadeOut('fast');va
r i=t.attr('id');if(n.onremove){var r=i?e('#o'+i+''):s.children('option[value='+
t.attr('rel')+']');S(n.onremove,r)};if(i){e('#o'+i+'').remove()}else{s.children(
'option[value="'+t.attr('rel')+'"]').remove()};t.remove();s.change();C=0}};funct
ion A(t){var s=e('<li class="bit-input" id="'+p+'_annoninput">'),i=e('<input typ
e="text" class="maininput" size="'+n.input_min_size+'" autocomplete="off">');if(
n.input_tabindex>0)i.attr('tabindex',n.input_tabindex);if(n.input_name!='')i.att
r('name',n.input_name);l.append(s.append(i));i.focus(function(){P=!0;if(m()){c.f
adeIn('fast')}});i.blur(function(){P=!1;if(D){c.fadeOut('fast')}else{}});l.click
(function(){if(n.input_min_size<0&&r.length){E(d(i.val(),1))};i.focus();if(r.len
gth&&i.val().length>n.input_min_size){r.show()}else{v(1);c.children('.default').
show()}});i.keypress(function(e){if(e.keyCode==a.enter){return!1};var t=(n.input
_min_size>i.val().length)?n.input_min_size:(i.val().length+1);i.attr('size',t).w
idth(parseInt(i.css('font-size'))*t)});i.keyup(function(t){var s=d(i.val(),1);if
(t.keyCode==a.backspace&&s.length==0){v(1);if(!l.children('li.bit-box:last').has
Class('locked')){if(l.children('li.bit-box.deleted').length==0){l.children('li.b
it-box:last').addClass('deleted');return!1}else{if(C){return};C=1;l.children('li
.bit-box.deleted').fadeOut('fast',function(){b(e(this));return!1})}}};if(t.keyCo
de!=a.downarrow&&t.keyCode!=a.uparrow&&t.keyCode!=a.leftarrow&&t.keyCode!=a.righ
tarrow&&s.length>=n.input_min_size){E(s);c.children('.default').hide();r.show()}
});if(n.oncreate){S(n.oncreate,i)};if(t){setTimeout(function(){i.focus();c.child
ren('.default').show()},1)}};function w(t,i){r.html('');if(!n.cache&&i!=null){f.
clear()};W(t);if(i!=null&&i.length){e.each(i,function(e,t){f.set(d(t.key),d(t.va
lue))})};var l=n.maxshownitems<f.length()?n.maxshownitems:f.length(),a='';e.each
(f.search(t),function(e,i){if(l){if(n.filter_selected&&s.children('option[value=
"'+i.key+'"]').hasClass('selected')){}else{a+='<li rel="'+i.key+'">'+h(F(i.value
,t))+'</li>';g++;l--}}});r.append(a);if(n.firstselected){o=r.children('li:visibl
e:first');o.addClass('auto-focus')};if(g>n.height){r.css({'height':(n.height*24)
+'px','overflow':'auto'})}else{r.css('height','auto')};if(m()&&c.is(':hidden')){
c.show()}};function F(e,t){var r=n.filter_begin?'':'(.*)',a=n.filter_begin?'<em>
$1</em>$2':'$1<em>$2</em>$3',s=r+(n.filter_case?'('+t+')(.*)':'('+t.toLowerCase(
)+')(.*)');try{var o=new RegExp(s,((n.filter_case)?'g':'gi')),e=e.replace(o,a)}c
atch(i){};return e};function j(){r.children('li').mouseover(function(){r.childre
n('li').removeClass('auto-focus');o=e(this);o.addClass('auto-focus')});r.childre
n('li').mouseout(function(){e(this).removeClass('auto-focus');o=null})};function
H(){r.unbind('mouseover').unbind('mouseout').mousemove(function(){j();r.unbind(
'mousemove')})};function x(){var t=e('#'+p+'_annoninput').children('.maininput')
;j();r.children('li').unbind('mousedown').mousedown(function(){var t=e(this);u(t
.text(),t.attr('rel'),0,0,1);v(1);c.hide()});t.unbind('keydown');t.keydown(funct
ion(t){if(t.keyCode!=a.backspace){l.children('li.bit-box.deleted').removeClass('
deleted')};if((t.keyCode==a.enter||t.keyCode==a.tab||t.keyCode==a.comma)&&I()){v
ar i=o;u(i.text(),i.attr('rel'),0,0,1);return y(t)};if((t.keyCode==a.enter||t.ke
yCode==a.tab||t.keyCode==a.comma)&&!I()){if(n.newel){var s=d(e(this).val());u(s,
s,0,0,1);return y(t)};if((n.addontab||n.addoncomma)&&n.newel){o=r.children('li:v
isible:first');var i=o;u(i.text(),i.attr('rel'),0,0,1);return y(t)}};if(t.keyCod
e==a.downarrow){N('first')};if(t.keyCode==a.uparrow){N('last')}})};function N(e)
{H();if(o==null||o.length==0){o=r.children('li:visible:'+e);r.get(0).scrollTop=e
=='first'?0:parseInt(o.get(0).scrollHeight,10)*(parseInt(r.children('li:visible'
).length,10)-Math.round(n.height/2))}else{o.removeClass('auto-focus');o=e=='firs
t'?o.nextAll('li:visible:first'):o.prevAll('li:visible:first');var t=parseInt(o.
prevAll('li:visible').length,10),i=parseInt(o.nextAll('li:visible').length,10);i
f(((e=='first'?t:i)>Math.round(n.height/2)||(e=='first'?t:i)<=Math.round(n.heigh
t/2))&&typeof(o.get(0))!='undefined'){r.get(0).scrollTop=parseInt(o.get(0).scrol
lHeight,10)*(t-Math.round(n.height/2))}};r.children('li').removeClass('auto-focu
s');o.addClass('auto-focus')};function y(e){c.hide();e.preventDefault();o=null;r
eturn!1};function m(){return n.maxitems!=0&&(l.children('li.bit-box').length<n.m
axitems)};function W(t){if(n.newel&&m()){r.children('li[fckb=1]').remove();if(t.
length==0){return};var i=e('<li rel="'+t+'" fckb="1">').html(h(t));r.prepend(i);
g++};return};function S(e,t){var n={};for(i=0;i<t.get(0).attributes.length;i++){
if(t.get(0).attributes[i].nodeValue!=null){n['_'+t.get(0).attributes[i].nodeName
]=t.get(0).attributes[i].nodeValue}};return e.call(e,n)};function I(){if(o==null
||o.length==0){return!1};return!0};function d(e,t){if(typeof t!='undefined'){for
(i=0;i<e.length;i++){var n=e.charCodeAt(i);if((a.exclamation<=n&&n<=a.slash)||(a
.colon<=n&&n<=a.at)||(a.squarebricket_left<=n&&n<=a.apostrof)){e=e.replace(e[i],
escape(e[i]))}};e=e.replace(/(\{|\}|\*)/i,'\\$1')};return e.replace(/script(.*)/
g,'')};function h(e,t){e=e.toString();e=e.replace('\\','');if(typeof t!='undefin
ed'){return e};return unescape(e)};function v(e){r.children().remove();if(e){r.h
ide()}};function E(t){g=0;if(n.json_url&&m()){if(n.cache&&k.get(t)){w(t);x()}els
e{T++;var i=T;setTimeout(function(){if(i!=T)return;e.getJSON(n.json_url,{'tag':h
(t)},function(e){if(!P)return;w(t,e);k.set(t,1);x()})},n.delay)}}else{w(t);x()}}
;var n=e.extend({json_url:null,width:522,cache:!1,height:'10',newel:!1,addontab:
!1,addoncomma:!1,firstselected:!1,filter_case:!1,filter_selected:!1,filter_begin
:!1,complete_text:'Start to type...',select_all_text:null,maxshownitems:30,maxit
ems:10,oncreate:null,onselect:null,onremove:null,attachto:null,delay:350,input_t
abindex:0,input_min_size:1,input_name:'',bricket:!0},t);var l=null,r=null,c=null
,g=0,P=!1,o=null,C=0,D=1,s=e(this),p=s.attr('id'),T=0,k={'set':function(e,t){var
i=s.data('jsoncache');i[e]=t;s.data('jsoncache',i)},'get':function(e){return s.
data('jsoncache')[e]!='undefined'?s.data('jsoncache')[e]:null},'init':function()
{s.data('jsoncache',{})}};var a={'enter':13,'tab':9,'comma':188,'backspace':8,'l
eftarrow':37,'uparrow':38,'rightarrow':39,'downarrow':40,'exclamation':33,'slash
':47,'colon':58,'at':64,'squarebricket_left':91,'apostrof':96};var z=function(){
var t='0123456789ABCDEFGHIJKLMNOPQRSTUVWXTZabcdefghiklmnopqrstuvwxyz',e='';for(v
ar i=0;i<32;i++){var n=Math.floor(Math.random()*t.length);e+=t.substring(n,n+1)}
;return e},f={'search':function(t,i){var r=[],o=new RegExp((n.filter_begin?'^':'
')+t,(n.filter_case?'g':'gi'));e.each(s.data('cache'),function(e,t){if(typeof t.
search==='function'){if(t.search(o)!=-1){r.push({'key':e,'value':t})}}});return
r},'set':function(e,t){var i=s.data('cache');i[e]=t;s.data('cache',i)},'get':fun
ction(e){return s.data('cache')[e]!='undefined'?s.data('cache')[e]:null},'clear'
:function(){s.data('cache',{})},'length':function(){if(typeof(s.data('cache'))==
'object'){var e=0;for(i in s.data('cache')){e++};return e}else{return s.data('ca
che').length}},'init':function(){if(s.data('cache')=='undefined'){s.data('cache'
,{})}}};O();k.init();f.init();return this})}})(jQuery);(function(e,t){'use stric
t';t.State={COOKIE_NAME:'state',last:0,get:function(){return e.cookie(this.COOKI
E_NAME)},set:function(t){e.cookie(this.COOKIE_NAME,t,{path:'/'})},update:functio
n(){this.last=new Date().getTime();this.set(this.last)},init:function(){var i=th
is;if(!this.get()){this.update()};e(t).focus(function(){i.update()})},isCurrent:
function(){return(this.last==this.get())},run:function(e){if(this.isCurrent()){e
()}}};State.init()})(jQuery,window);(function(e,t,i,n){var s=e(t);e.fn.lazyload=
function(r){var a=this,c,o={threshold:0,failure_limit:0,event:'scroll',effect:'s
how',container:t,data_attribute:'original',skip_invisible:!0,appear:null,load:nu
ll,placeholder:'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFc
SJAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsQAAA7EAZUrDhsAAAANSURBVB
hXYzh8+PB/AAffA0nNPuCLAAAAAElFTkSuQmCC'};function l(){var t=0;a.each(function(){
var i=e(this);if(o.skip_invisible&&!i.is(':visible')){return};if(e.abovethetop(t
his,o)||e.leftofbegin(this,o)){}else if(!e.belowthefold(this,o)&&!e.rightoffold(
this,o)){i.trigger('appear');t=0}else{if(++t>o.failure_limit){return!1}}})};if(r
){if(n!==r.failurelimit){r.failure_limit=r.failurelimit;delete r.failurelimit};i
f(n!==r.effectspeed){r.effect_speed=r.effectspeed;delete r.effectspeed};e.extend
(o,r)};c=(o.container===n||o.container===t)?s:e(o.container);if(0===o.event.inde
xOf('scroll')){c.bind(o.event,function(){return l()})};this.each(function(){var
i=this,t=e(i);i.loaded=!1;if(t.attr('src')===n||t.attr('src')===!1){t.attr('src'
,o.placeholder)};t.one('appear',function(){if(!this.loaded){if(o.appear){var n=a
.length;o.appear.call(i,n,o)};e('<img />').bind('load',function(){var n=t.data(o
.data_attribute);t.hide();if(t.is('img')){t.attr('src',n)}else{t.css('background
-image','url(\''+n+'\')')};t[o.effect](o.effect_speed);i.loaded=!0;var s=e.grep(
a,function(e){return!e.loaded});a=e(s);if(o.load){var r=a.length;o.load.call(i,r
,o)}}).attr('src',t.data(o.data_attribute))}});if(0!==o.event.indexOf('scroll'))
{t.bind(o.event,function(){if(!i.loaded){t.trigger('appear')}})}});s.bind('resiz
e',function(){l()});if((/iphone|ipod|ipad.*os 5/gi).test(navigator.appVersion)){
s.bind('pageshow',function(t){if(t.originalEvent&&t.originalEvent.persisted){a.e
ach(function(){e(this).trigger('appear')})}})};e(i).ready(function(){l()});retur
n this};e.belowthefold=function(i,r){var o;if(r.container===n||r.container===t){
o=(t.innerHeight?t.innerHeight:s.height())+s.scrollTop()}else{o=e(r.container).o
ffset().top+e(r.container).height()};return o<=e(i).offset().top-r.threshold};e.
rightoffold=function(i,r){var o;if(r.container===n||r.container===t){o=s.width()
+s.scrollLeft()}else{o=e(r.container).offset().left+e(r.container).width()};retu
rn o<=e(i).offset().left-r.threshold};e.abovethetop=function(i,r){var o;if(r.con
tainer===n||r.container===t){o=s.scrollTop()}else{o=e(r.container).offset().top}
;return o>=e(i).offset().top+r.threshold+e(i).height()};e.leftofbegin=function(i
,r){var o;if(r.container===n||r.container===t){o=s.scrollLeft()}else{o=e(r.conta
iner).offset().left};return o>=e(i).offset().left+r.threshold+e(i).width()};e.in
viewport=function(t,i){return!e.rightoffold(t,i)&&!e.leftofbegin(t,i)&&!e.belowt
hefold(t,i)&&!e.abovethetop(t,i)};e.extend(e.expr[':'],{'below-the-fold':functio
n(t){return e.belowthefold(t,{threshold:0})},'above-the-top':function(t){return!
e.belowthefold(t,{threshold:0})},'right-of-screen':function(t){return e.rightoff
old(t,{threshold:0})},'left-of-screen':function(t){return!e.rightoffold(t,{thres
hold:0})},'in-viewport':function(t){return e.inviewport(t,{threshold:0})},'above
-the-fold':function(t){return!e.belowthefold(t,{threshold:0})},'right-of-fold':f
unction(t){return e.rightoffold(t,{threshold:0})},'left-of-fold':function(t){ret
urn!e.rightoffold(t,{threshold:0})}})})(jQuery,window,document);(function(e,t){'
use strict';var i=function(t){this.options=e.extend({iconUrl:'',acl:0,title:'',t
ext:'',timeout:0,zIndex:1100},t);this.div=e('<div class="ajaxAlert" style="left:
10px; bottom: 10px; display: none; z-index: '+this.options.zIndex+';"><div clas
s="ajaxAlertBody"><div class="commentbody"><div class="userPic"><div class="heig
ht50px userPicHeight relative"><img src="'+this.options.iconUrl+'" style="displa
y: inline;"></div></div><div class="commentcontent"><div class="commentownerLeft
"><span class="badgeInline"><span class="plain bold aclColor_'+this.options.acl+
'">'+this.options.title+'</span></span></div><p class="commentText botmarg5px"><
/p></div></div></div></div>')};i.prototype={open:function(){e('body').append(thi
s.div);e('.commentText',this.div).html(this.options.text);i.add(this);if(this.op
tions.timeout){var t=this;setTimeout(function(){t.close()},this.options.timeout)
};return this},on:function(e,t){var i=this;this.div.on(e,function(e){t.call(i,e)
});return this},close:function(){var e=this;this.div.fadeOut('slow',function(){e
.div.remove();i.remove(e);e=null});return this},move:function(i){if(i==0)this.di
v.fadeIn();var u=this.div.outerWidth(),l=this.div.outerHeight(),n=10,a=10,o=Math
.floor(e(t).height()/(l+n)),s=Math.ceil((i+1)/o)-1,r=i%o,f=s*n+n+s*u,c=r*a+a+r*l
;this.div.animate({bottom:c,left:f,opacity:i==0?1:0.5});return this}};i.V$=[];i.
add=function(e){i.V$.push(e);i.reorder()};i.remove=function(t){var n=e.inArray(t
,i.V$);if(n!=-1){i.V$.splice(n,1);i.reorder()}};i.reorder=function(){for(var e=i
.V$.length-1,t=0;e>=0;e--,t++){i.V$[e].move(t)}};t.AlertWindow=i})(jQuery,window
);(function(e,t){function i(i){this.state=null;this.xhr=null;this.options=e.exte
nd({element:null,multiple:!0,maxFiles:10,albumId:0,dragAndDrop:!1,select:null,dr
agEnter:null,dragLeave:null},i);if(this.options.element){var s=this,n=e(this.opt
ions.element);n.click(function(){s.open();return!1});if(this.options.dragAndDrop
){var r=!1,o=!1;if(typeof this.options.dragEnter=='function'||typeof this.option
s.dragLeave=='function'){e(t).bind('dragover',function(){r=!0});e(t).bind('dragl
eave',function(){r=!1});var a=setInterval(function(){if(!o){if(r){if(typeof s.op
tions.dragEnter=='function'){s.options.dragEnter.call(s.options.element)}}else{i
f(typeof s.options.dragLeave=='function'){s.options.dragLeave.call(s.options.ele
ment)}}}},250)};n.addClass('ui-uploadee');n.bind('dragenter dragover',function()
{r=!0;return!1});n.bind('dragleave',function(){r=!1;return!1});n.bind('drop',fun
ction(t){r=!1;try{var l=[];e.each(t.originalEvent.dataTransfer.files,function(){
if(this.type.match(/image\/.+/)){l.push(this)}});if(l.length){var a=new FormData
();a.append('ajax',1);e.each(l,function(){a.append('files[]',this)});e.ajax({url
:'/image/upload/',type:'POST',data:a,dataType:'json',cache:!1,processData:!1,con
tentType:!1,beforeSend:function(){o=!0;n.next('.alertfield').remove();n.removeCl
ass('ui-uploaded').addClass('ui-uploading')},complete:function(){o=!1;n.removeCl
ass('ui-uploading').addClass('ui-uploaded')},success:function(t){if(t.method=='e
rror'){n.after(e('<div/>').addClass('alertfield').append(t.html))}else{s.parseRe
sponse(t.html)}},error:function(t){n.after(e('<div/>').addClass('alertfield').ap
pend(t.responseText))}})}}catch(i){};return!1})}}};i.prototype.open=function(){t
his.load('/image/select/'+(this.options.albumId?'album/'+this.options.albumId:'r
ecent')+'/')};i.prototype.load=function(t,i){var n=this;e.fancybox.showActivity(
);e.get(t,function(t){e.fancybox.hideActivity();if(e.fancybox.isActive()&&!i){n.
state=e.fancybox.saveState()};e.fancybox(t.html,{onCleanup:function(){return n.a
bort()},onComplete:function(){var t=e('#fancybox-content'),s=e('.imageUploadErro
r',t),o=e('.imageUploadFile',t),i=e('.imageUploadUrl',t),r=e('.indicator',t);fun
ction a(t){var i=[];e(t).each(function(){var t=e(this);i.push({id:t.data('imageI
d'),name:t.data('imageName'),link:t.attr('href'),thumb_link:t.find('img').attr('
src')})});n.onSelect(i)};if(n.state){e('.fancyCustomTop',t).attr('title','Back t
o "'+n.state.title+'"').show().click(function(){e.fancybox.restoreState(n.state)
;return!1})};e('.pages a',t).click(function(){if(n.abort()){n.load(e(this).attr(
'href'),!0)};return!1});e('.imageClose',t).click(function(){n.close()});if(n.opt
ions.multiple){e('.imageSelector',t).selectable({filter:'.galleryThumbSizerStill
s',stop:function(){var s=e(this),i=s.find('.ui-selected a'),t=i.size();s.next('b
utton').remove();if(t==1){a(i)}else if(t<n.options.maxFiles){s.after(e('<button
type="submit" class="siteButton bigButton"><span>Select '+t+' image(s)</span></b
utton>').click(function(){a(i)}))}}})}else{e('.imageSelector a',t).click(functio
n(){a(this);return!1})};e('.imageUpload',t).ajaxForm({dataType:'json',beforeSubm
it:function(){try{if(o.is(':visible')){var r=e('input[type=file]',o).get(0);if(!
r.files.length&&!i.val()){throw'No file(s) selected';}else if(r.files.length>n.o
ptions.maxFiles){throw'Too many files selected';}}else if(i.is(':visible')){var
r=e('input[type=text]',i);if(!r.val()){throw'Please enter URL';}}}catch(t){s.htm
l(t).fadeIn('slow');return!1}},beforeSend:function(){s.hide();e.fancybox.showAct
ivity();e('button',t).prop('disabled',!0)},complete:function(){e.fancybox.hideAc
tivity();e('button',t).prop('disabled',!1)},success:function(e){if(e.method=='er
ror'){s.html(e.html).fadeIn('slow');r.hide()}else{n.parseResponse(e.html)}},erro
r:function(e){r.hide();if(!e.aborted){s.html(e.responseText);s.fadeIn('slow')}},
xhr:function(){var t=e.ajaxSettings.xhr();t.upload.addEventListener('progress',f
unction(e){if(e.lengthComputable){var t=(e.loaded/e.total*100).toFixed(0)+'%';r.
show();r.find('div').width(t);r.find('span').html(t)}},!1);return t}});e('.switc
herBox a',t).click(function(){var t=e(this);t.parent().find('a').removeClass('ac
tive');t.addClass('active');if(t.hasClass('switchRight')){i.show();o.hide()};if(
t.hasClass('switchLeft')){i.hide();o.show()}});e('.imageUploadInput input[type=f
ile]',t).attr('multiple',n.options.multiple).customFileInput()}})},'json')};i.pr
ototype.abort=function(){if(this.xhr&&!this.xhr.aborted){if(confirm('Abort uploa
ding?')){try{this.xhr.abort();return!0}catch(e){}}else{return!1}};return!0};i.pr
ototype.close=function(){this.state=null;e.fancybox.close()};i.prototype.parseRe
sponse=function(t){var i=[],n=e.parseJSON(t);e.each(n,function(){i.push({id:this
.id,name:this.name,link:this.link,thumb_link:this.thumb_link})});this.onSelect(i
)};i.prototype.onSelect=function(t){if(this.state){e.fancybox.restoreState(this.
state)}else{this.close()};if(t.length&&typeof this.options.select=='function'){t
his.options.select.call(this.options.element,t,this)}};t.ImageSelector=i;e.fn.im
ageSelector=function(t){if(this.length){e.each(this,function(){t=e.extend({},t,{
element:this});new i(t)})};return this}})(jQuery,window);(function(e,t){'use str
ict';var i={playing:!1,timeout:500,play:function(e){if(i.playing)return!1;i.play
ing=!0;setTimeout(function(){i.playing=!1},this.timeout);var n=t.createElement('
audio');if(n&&typeof n.canPlayType=='function'){if(n.canPlayType('audio/ogg')!='
'){n.src=e+'.ogg';n.play();return!0}else if(n.canPlayType('audio/mpeg')!=''){n.s
rc=e+'.mp3';n.play();return!0}}else{var s=t.createElement('embed');s.setAttribut
e('autostart','true');s.setAttribute('hidden','true');s.setAttribute('loop','fal
se');s.setAttribute('src',e+'.mp3');t.body.appendChild(s);return!0};return!1}};e
.Sound=i})(window,document);(function(e,t,i){'use strict';e.fn.tabs=function(n){
n=e.extend({useHash:!0,default:null,tabSelector:'> div',linkSelector:'.tabNaviga
tion a',selectedTabClass:'selectedTab'},n);function s(){var e=t.hash.substring(1
);e=e.replace(/\d+$/,'');return e};e(this).each(function(){var a=e(n.tabSelector
,this),o=e(n.linkSelector,this);a.hide();function l(e,s){if(!e)return;o.removeCl
ass(n.selectedTabClass);a.hide();a.filter('#'+e).show();a.filter('#tab-'+e).show
();o.filter('[rel='+e+']').addClass(n.selectedTabClass);if(n.useHash&&s){if(i.re
placeState){i.replaceState({},'','#'+e)}else{t.hash=e}}};var r=e(),c=s();if(n.us
eHash&&c){r=o.filter('[rel='+c+']')};if(!r.size()&&n.default){r=o.filter('[rel='
+n.default+']')};if(!r.size()){r=o.filter('.'+n.selectedTabClass)};if(!r.size())
{r=o.filter(':first')};l(r.prop('rel'));o.click(function(){l(e(this).prop('rel')
,!0);return!1})});return this};e(function(){e('.tabSwitcher').tabs()})})(jQuery,
document.location,history);function width(e,t){w=document.documentElement.client
Width;return(w<=e)?e+'px':((w>=t)?t+'px':'auto')};function Toggle(e,t){var i=$(t
);$('#'+e).toggle();if($(t).parent().hasClass('folder')){$(t).parent().addClass(
'folderopen');$(t).parent().removeClass('folder')}else{$(t).parent().addClass('f
older');$(t).parent().removeClass('folderopen')}};$(document).on('click','#openA
llFolders',function(){var e=$('#torrent_files table'),t=$('#closeAllFolders');if
(e.has(e.css('display','none'))){e.css('display','table');$(this).toggle();$(t).
toggle()};$('span').parent().removeClass('folder');$('span').parent().addClass('
folderopen');if($('td').is('.torTree','.torFileIcon','.torFileName','.torFileSiz
e')){$('td').removeClass('folderopen')}});$(document).on('click','#closeAllFolde
rs',function(){var e=$('#torrent_files table'),t=$('#openAllFolders');if(e.has(e
.css('display','table'))){e.css('display','none');$(this).toggle();$(t).toggle()
};$('span').parent().removeClass('folderopen');$('span').parent().addClass('fold
er');if($('td').hasClass('novertpad')){$('td').removeClass('folder')}});function
Show(e){$('#'+e).show()};function Hide(e){$('#'+e).hide()}(function(e){e.Tache=
{Data:[],Delete:function(e){s(e)},DeleteAll:function(){r()},Get:function(e){n(e)
},SetTimeout:function(e){i(e)},Timeout:600};function t(e){var t=e.url;t+=e.data.
torrentId;t+=((typeof e.dataType=='string')?e.dataType:'');t+=((typeof e.type=='
string')?e.type:'');return t};function s(i){if(typeof i.url!='string'){alert('No
AJAX URL passed');return};var r=t(i),s=new Date();for(var n=e.Tache.Data.length
;n>0;n--){if((((s.valueOf()-e.Tache.Data[n-1].dtAge.valueOf())/1000)>e.Tache.Tim
eout)||(e.Tache.Data[n-1].sIdentifier==r)){e.Tache.Data.splice(n-1,1)}}};functio
n r(){e.Tache.Data=[]};function n(i){if(typeof i.url!='string'){alert('No AJAX U
RL passed');return};var s=t(i),r=new Date();for(var n=e.Tache.Data.length;n>0;n-
-){if(((r.valueOf()-e.Tache.Data[n-1].dtAge.valueOf())/1000)>e.Tache.Timeout){e.
Tache.Data.splice(n-1,1)}else if(e.Tache.Data[n-1].sIdentifier==s){i.success(e.T
ache.Data[n-1].oData);return}};var o=i.success;i.success=function(t){e.Tache.Dat
a.push({sIdentifier:s,oData:t,dtAge:new Date()});o(t)};e.ajax(i)};function i(t){
e.Tache.Timeout=t}})(jQuery);$(function(){var i=1000,n,e=!0,t=$('<div id="previe
wPopupContainer"> <div class="tail"></div> <div class="prevAV topOriented da
rkivorybg" id="prevAV">Loading...</div> <div id="previewPopupContent"><img sty
le="display:block;" src="//kastatic.com/images/indicator.gif"></div></div>');$('
body').append(t);$('.icommentjs').on('mouseover',function(i){var o=$(this).attr(
'rel').split(','),r=o[0];currentID=o[1];if(r=='')return;if(e)clearTimeout(e);var
s=$(this).offset(),l=$(this).width(),n=s.left-340;if(n>0){var a='leftPlacing pr
eviewPopupContainer'}else{var a='rightPlacing previewPopupContainer';n=(s.left+5
+l)};$('#previewPopupContainer').attr('class',a);t.css({left:n+'px',top:s.top-5+
'px'});$('#previewPopupContent').html('&nbsp;');$('#prevAV').html('Loading...');
$.Tache.Get({type:'GET',url:'/get_comments.php',cache:!0,data:{ajax:'1',torrentI
d:r},beforeSend:function(){$('#previewPopupContent').html('<center style="margin
:auto 0;width:340px;"><img style="display:block !important;" src="//kastatic.com
/images/indicator.gif"></center>')},success:function(e){if(e.indexOf(r)>0){$('#p
reviewPopupContent').html(e);var t=$('#previewPopupContent').find('.ratestring')
.remove();$('#prevAV').html(t);t.show()}else{$('#previewPopupContent').html('');
$('#prevAV').html('No comments')}}});t.fadeIn(500)});$('.icommentjs').on('mouseo
ut',function(){if(e)clearTimeout(e);e=setTimeout(function(){t.css('display','non
e')},i)})});function doFade(e){for(var t=0;t<3;t++){doFadeOnce(e)}};function doF
adeOnce(e){$(e).css('opacity',1).animate({opacity:0.0},500).animate({opacity:1.0
},500)};function deleteLocation(e){$.ajax({type:'POST',url:'/moderator/torrent/d
eletelocation/',data:{ajax:1,location:e},dataType:'json',success:function(t){$('
#tl_'+e).fadeOut(500,function(){$('#tl_'+e).remove()})}})};function undeleteLoca
tion(e){$.ajax({type:'POST',url:'/moderator/torrent/undeletelocation/',data:{aja
x:1,location:e},dataType:'json',success:function(t){$('#tlc_'+e).fadeOut(500)}})
};function setDeleted(e,t,i,n,s){var o=s?1:0,r=$('#del_'+e).html();$.ajax({type:
'POST',url:'/moderator/torrent/'+(n?'':'un')+'deletetorrent/'+t+'/',data:{ajax:1
,copyright:o},dataType:'json',beforeSend:function(){$('#del_'+e).html('<img src=
"//kastatic.com/images/indicator.gif">')},success:function(s){if(s.method=='erro
r'){alert(s.html);$('#del_'+e).html(r);return!1};if(i){$('#del_'+e).html('<a hre
f="javascript: '+(n?'un':'')+'deleteTorrent(\''+e+'\', \''+t+'\', true);"><span
class="ka ka16 ka-delete ka-'+(n?'green':'red')+'"></span></a>')}else{$('#del_'+
e).html('<a href="javascript: '+(n?'un':'')+'deleteTorrent(\''+e+'\', \''+t+'\')
;"><span class="ka ka16 ka-delete ka-'+(n?'green':'red')+'"></span> '+(n?'un':''
)+'delete torrent</a>')}}})};function deleteTorrent(e,t,i,n){setDeleted(e,t,i,1,
n)};function undeleteTorrent(e,t,i){setDeleted(e,t,i,0)};function setVerificatio
n(e,t,i,n){$.ajax({type:'POST',url:'/moderator/torrent/'+(n?'':'un')+'verify/'+t
+'/',data:{ajax:1,hash:t},dataType:'json',beforeSend:function(){$('#ver_'+e).htm
l('<img src="//kastatic.com/images/indicator.gif">')},success:function(s){if(i){
$('#ver_'+e).html('<a href="javascript: '+(n?'un':'')+'verifyTorrent(\''+e+'\',
\''+t+'\', true);" class="i'+(n?'un':'')+'verify icon16"><span></span></a>')}els
e{$('#ver_'+e).html('<a href="javascript: '+(n?'un':'')+'verifyTorrent(\''+e+'\'
, \''+t+'\');" class="i'+(n?'':'un')+'verify icon16"><span></span> '+(n?'un':'')
+'verify torrent</a>')}}})};function verifyTorrent(e,t,i){if(i==undefined){i=0};
setVerification(e,t,i,1)};function unverifyTorrent(e,t,i){if(i==undefined){i=0};
setVerification(e,t,i,0)};function rateTopComment(e,t){$.ajax({type:'POST',url:'
/comments/rate/'+(t?'like':'dislike')+'/'+e+'/',dataType:'json',beforeSend:funct
ion(){$('#topcommrate_'+e).html('<img src="//kastatic.com/images/indicator.gif">
')},success:function(t){if(t.method=='show'){$('#topratediv_'+e).html(t.html);$(
'a.ajaxLink').fancybox()}else{$('#topcommrate_'+e).html('error');$('#topratediv_
'+e).html($('#commrate_'+e))}},error:function(t){$('#topcommrate_'+e).html('erro
r')}})};function rateTopMinus(e){rateTopComment(e,0)};function rateTopPlus(e){ra
teTopComment(e,1)};function rateComment(e,t){$.ajax({type:'POST',url:'/comments/
rate/'+(t?'like':'dislike')+'/'+e+'/',dataType:'json',beforeSend:function(){$('#
commrate_'+e).html('<img src="//kastatic.com/images/indicator.gif">')},success:f
unction(i){if(i.method=='show'){if(!t){if(!$('#cshow_'+e).length){$('#comment'+e
).find('div.commentownerLeft').append('<a class="siteButton smallButton reject s
howComment" id="cshow_'+e+'" href="javascript:showComment('+e+')"><span>Show com
ment</span></a>')}else{$('#cshow_'+e).href='javascript:showComment(\'+id+\')';$(
'#cshow_'+e).html('<span>Show comment</span>')};if($('#comment'+e).parent().hasC
lass('reply')){$('#comment'+e).parent().parent().addClass('hiddenComment')}else{
$('#comment'+e).parent().addClass('hiddenComment')};$('#cpic_'+e).hide();$('#cda
te_'+e).hide();$('#ctext_'+e).hide();$('#rep_link'+e).hide()};$('#ratediv_'+e).h
tml(i.html);$('a.ajaxLink').fancybox()}else if(i.method=='error'){alert(i.html);
$('#commrate_'+e).html('error');$('#ratediv_'+e).html($('#commrate_'+e))}else{$(
'#commrate_'+e).html('error');$('#ratediv_'+e).html($('#commrate_'+e))}}})};func
tion rateMinus(e){rateComment(e,0)};function ratePlus(e){rateComment(e,1)};funct
ion showComment(e){$('#cpic_'+e).toggle();$('#cdate_'+e).css('display','inline')
;$('#ctext_'+e).toggle();$('#rep_link'+e).toggle();if($('#ctext_'+e+':visible').
length){$('#cshow_'+e).html('<span>Hide</span>')}else{$('#cshow_'+e).html('<span
>Show</span>')}};function getFiles(e,t,i){$.ajax({type:'POST',url:'/torrents/get
files/'+e+'/',data:{ajax:1,all:t,dir:i},dataType:'json',beforeSend:function(){$(
'#torrent_files').html('<center style="margin:auto 0;width:100%;"><img src="//ka
static.com/images/indicator.gif"></center>')},success:function(e){$('#torrent_fi
les').html(e.html)}})};function updateFeedback(e){e=e||1;var t=$('#menu_feedback
.menuValue'),n=parseInt(t.text())||0,i=n+e;if(i>0){t.text(i).show();doFade(t.pa
rent())}else{t.hide()}};function trim(e,t){return ltrim(rtrim(e,t),t)};function
ltrim(e,t){t=t||'\\s';return e.replace(new RegExp('^['+t+']+','g'),'')};function
rtrim(e,t){t=t||'\\s';return e.replace(new RegExp('['+t+']+$','g'),'')};String.
prototype.ReplaceAll=function(e,t){var i=this;if(typeof(e)==String){var n=i.inde
xOf(e)}else{var n=i.match(e)}while(n!=-1){i=i.replace(e,t);n=i.indexOf(e)};retur
n i};String.prototype.HighlightSpecial=function(){var e=this;e=e.replace(/(&lt;.
+?&gt;)/g,'<span class="highlightTag">$1</span>');e=e.replace(/(&lt;\/+?&gt;)/gi
,'<span class="highlightTag">$1</span>');e=e.replace(/(&amp;.+?;)/gi,'<span clas
s="highlightEntity">$1</span>');e=e.replace(/(%\d+)/gi,'<span class="highlightPa
ram">$1</span>');return e};function doSearch(e){text=e;text=text.ReplaceAll(new
RegExp(/\s\s+/gi),' ');text=jQuery.trim(text);e=encodeURIComponent(text).replace
(/!/g,'%21').replace(/'/g,'%27').replace(/\(/g,'%28').replace(/\)/g,'%29').repla
ce(/\*/g,'%2A');if(!e){window.location='/new/';return!1};window.location='/usear
ch/'+e+'/';return!1};function proof(e){$(e).append('<input type="hidden" name="t
uring" value="iamhuman">')};function reportComment(e){$.ajax({type:'POST',url:'/
comments/report/'+e+'/',data:{ajax:'1'},dataType:'json',beforeSend:function(){$(
'#report_comment_'+e).html('<img src="//kastatic.com/images/indicator.gif">')},s
uccess:function(t){if(t.method=='error'){alert(t.html)}else $('#report_comment_'
+e).replaceWith('<a class="siteButton smallButton disabledButton"><span>reported
</span></a>')},error:function(t){$('#report_comment_'+e).html('<center>Something
nasty happened. Please try to reload a page or visit kastatus.com for details.<
/center>')}});return!1};function reportPost(e){$.ajax({type:'POST',url:'/communi
ty/report/post/'+e+'/',dataType:'json',beforeSend:function(){$('#report_post_'+e
).html('<img src="//kastatic.com/images/indicator.gif">')},success:function(t){i
f(t.method=='error'){alert(t.html)}else{$('#report_post_'+e).replaceWith('<a cla
ss="icon16 textButton ireport disabledButton nohover"><span></span>reported</a>'
)}},error:function(t){$('#report_post_'+e).html('<center>Something nasty happene
d. Please try to reload a page or visit kastatus.com for details.</center>')}});
return!1};function reportThread(e,t){if(!e.reason.value){alert('Please fill out
the reason field.');return!1};$.fancybox.showActivity();var i=$(e).find('button[
type=submit]').prop('disabled',!0);i.addClass('disabledButton');$.ajax({type:'PO
ST',url:'/community/report/thread/'+t+'/',data:{reason:e.reason.value},dataType:
'json',beforeSend:function(){$('#report_thread_'+t).html('<img src="//kastatic.c
om/images/indicator.gif">')},success:function(e){if(e.method=='error'){alert(e.h
tml);$.fancybox.hideActivity();i.removeClass('disabledButton').prop('disabled',!
1)}else{$('#report_thread_'+t).replaceWith('<a class="icon16 textButton ireport
disabledButton"><span></span>reported</a>');$.fancybox.close()}},error:function(
e){$('#report_thread_'+t).html('<center>Something nasty happened. Please try to
reload a page or visit kastatus.com for details.</center>');$.fancybox.close()}}
);return!1};function setStatusMessage(e){var t=$(e).serialize();$.ajax({type:'PO
ST',url:'/account/updatestatus/',data:t,dataType:'json',beforeSend:function(e){$
('#status_message').html('<img src="//kastatic.com/images/indicator.gif">');$('#
edit_status').hide();$('#message').val('')},success:function(e){$('.updatedStatu
s').hide();if(e.method=='error'){alert(e.html);$('#status_message').html('&nbsp;
');return!1};$('#status_message').html(e.html);$('.updatedStatus').html('Just no
w').show()},error:function(e){$('#status_message').html('<center>Something nasty
happened. Please try to reload a page or visit kastatus.com for details.</cente
r>')}});return!1};last=0;function comment(e){if(last){$('cf_'+last).setStyle('di
splay','none')};if(last!=e){$('cf_'+e).setStyle('display','block');$('cf_edit_'+
e).focus();last=e}else{last=0}};function getPage(e,t,i){var n='#morecomments_'+e
;if($('#comments').html()==''){n='#comments'};$.ajax({type:'POST',url:'/comments
/index/'+i+'/'+t+'/',data:{ajax:'1',page:e},dataType:'json',beforeSend:function(
){$((n=='#comments'?n:'#showmore_'+e)).html('<img src="//kastatic.com/images/ind
icator.gif">')},success:function(t){$(n).html(t.html);$(n).fadeIn('fast');$('#sh
owmore_'+e).hide();$('a.ajaxLink').fancybox();try{$('img.lazyjs').lazyload({effe
ct:'fadeIn',skip_invisible:!1})}catch(i){}},error:function(t){$(n).html('<center
>Something nasty happened. Please try to reload a page or visit kastatus.com for
details.</center>');$(n).center();$('#showmore_'+e).hide()}})};function getAll(
e,t,i){var n='#morecomments_'+e;if($('#comments').html()==''){n='#comments'};$.a
jax({type:'POST',url:'/comments/index/'+i+'/'+t+'/',data:{ajax:'1',all:'1',page:
e},dataType:'json',beforeSend:function(){$((n=='#comments'?n:'#showmore_'+e)).ht
ml('<img src="//kastatic.com/images/indicator.gif">')},success:function(t){$(n).
html(t.html);$(n).fadeIn('fast');$('#showmore_'+e).hide();$('a.ajaxLink').fancyb
ox();try{$('img.lazyjs').lazyload({effect:'fadeIn',skip_invisible:!1})}catch(i){
}},error:function(t){$(n).html('<center>Something nasty happened. Please try to
reload a page or visit kastatus.com for details.</center>');$(n).center();$('#sh
owmore_'+e).hide()}})};function loadTrailers(e){$.ajax({type:'POST',url:'/torren
ts/details/'+e+'/trailer/',dataType:'json',beforeSend:function(){$('#tab-trailer
').html('<img src="//kastatic.com/images/indicator.gif">')},success:function(e){
$('#tab-trailer').html(e.html).show();$('#trailer_link').unbind('click.my')},err
or:function(e){$('#tab-trailer').html('<center>Something nasty happened. Please
try to reload a page or visit kastatus.com for details.</center>')}})};function
validateComment(e){if((e.content.value=='')){alert('Please fill the comment fiel
d');return!1};if((e.content.value.length<3)){alert('Comment is too short');retur
n!1};return!0};function addComment(e,t){e.turing.value='iamhuman';var i=$(e).ser
ialize();i=i+'&ajax=1';var n=(typeof(e.pid)=='undefined')?0:e.pid.value;if(i.ind
exOf('audio_rate')==-1){if(!validateComment(e))return!1};var s=$(e).find('button
[type=submit]');$.ajax({type:'POST',url:'/comments/create/'+t+'/',data:i,dataTyp
e:'json',beforeSend:function(){s.prop('disabled',!0).addClass('disabledButton')}
,success:function(t){if(t.method=='error'){var i=$('<div class="alertfield">'+t.
html+'</div>');i.prependTo('#comments');return!1};if(n){var i=$('<div class="rep
ly"><div class="commentThread">'+t.html+'</div></div>');i.appendTo($('#comment'+
n).parent());hideReply(n)}else{var i=$('<div class="commentThread">'+t.html+'</d
iv>');i.prependTo('#comments')};i.hide();i.fadeIn('fast');i.find('.ajaxLink').fa
ncybox();e.reset();$(e).find('.galleryThumbSizerStills').remove()},error:functio
n(e){$('#comments').html('<center>Something nasty happened. Please try to reload
a page or visit kastatus.com for details.</center>');$('#comments').center()},c
omplete:function(){s.prop('disabled',!1).removeClass('disabledButton');$('.captc
ha',e).click()}});return!1};function hideReply(e){$('#rep'+e).hide();$('#close_l
ink'+e).hide();$('#rep_link'+e).show()};function showReply(e){$('#rep'+e).show()
;$('#close_link'+e).show();$('#rep_link'+e).hide();var t=$('#comment_form').find
('input[name=pid]').val();if(t&&t!=e)hideReply(t);$('#comment_form').appendTo('#
rep'+e).show().find('input[name=pid]').val(e);$('#rep'+e).find('img.captcha').cl
ick()};function deleteWidget(e){$.ajax({type:'POST',url:'/account/settings/widge
ts/',data:{ajax:1,remove:1,id:e},dataType:'json',success:function(t){$('#order_'
+e).fadeOut(500,function(){$('#order_'+e).remove()})}})};function unblockUser(e)
{$.ajax({type:'POST',url:'/account/settings/privacy/',data:{ajax:'1',unblock:e},
dataType:'json',success:function(t){if(t.method=='error'){alert(t.html)}else $('
#blocked_'+e).fadeOut(500,function(){$('#blocked_'+e).remove()})},error:function
(t){$('#blocked_'+e).html('<center>Something nasty happened. Please try to reloa
d a page or visit kastatus.com for details.</center>')}});return!1};function del
etePost(e){$.ajax({type:'POST',url:'/community/delete/post/'+e+'/',dataType:'jso
n',success:function(t){if(t.method=='error'){alert(t.html)}else $('#post'+e).fad
eOut(500,function(){$('#post'+e).remove()})},error:function(e){console.log(e)}})
};function DeleteComment(e){$.ajax({type:'POST',url:'/comments/delete/',data:{aj
ax:'1',cid:e},dataType:'json',success:function(t){if(t.method=='error'){alert(t.
html)}else $('#comment'+e).fadeOut(500,function(){$('#comment'+e).remove()})},er
ror:function(e){$('#comments').html('<center>Something nasty happened. Please tr
y to reload a page or visit kastatus.com for details.</center>');$('#comments').
center();$('#darkenBackground').hide()}})};function unDeleteComment(e,t){$.ajax(
{type:'POST',url:'/comments/undelete/'+e+'/',data:{ajax:'1'},dataType:'json',bef
oreSend:function(){$('#ctext_'+e).html('<img src="//kastatic.com/images/indicato
r.gif">')},success:function(i){$('#ctext_'+e).fadeIn(500,function(){$('#ctext_'+
e).html(i.html)});$('#restore_'+e).hide();$('#rep_link'+e).html('<a href="javasc
ript: DeleteComment('+e+');">delete</a>');$(t).removeClass('greenButton');$(t).a
ddClass('redButton');$(t).attr('onClick','DeleteComment('+e+');')},error:functio
n(e){$('#comments').html('<center>Something nasty happened. Please try to reload
a page or visit kastatus.com for details.</center>');$('#comments').center();$(
'#darkenBackground').hide()}})};var current_edit_comment=0,top_edit=!1;function
editComment(e,t){var i=(t?'#topctext_':'#ctext_')+e;top_edit=t;if(current_edit_c
omment>0){$((t?'#topctext_':'#ctext_')+current_edit_comment).html($('#cbuffer').
html())}else{if($('#cbuffer').length==0)$('body').append('<div id="cbuffer" styl
e="display:none"></div>')};current_edit_comment=e;$('#cbuffer').html($(i).html()
);$.ajax({type:'GET',url:'/comments/edit/'+e+'/',dataType:'json',beforeSend:func
tion(){$(i).html('<img src="//kastatic.com/images/indicator.gif" alt="loading...
"/>');$(i).fadeIn('fast')},success:function(t){$('#edited_'+e).remove();$(i).htm
l(t.html).find('.ajaxLink').fancybox();current_edit_comment=0}});return!1};funct
ion cancelEditComment(e){current_edit_comment=0;$((top_edit?'#topctext_':'#ctext
_')+e).html($('#cbuffer').html());return!1};function saveComment(e,t){var i=$(e)
.serialize();i=i;var n=(typeof(e.pid)=='undefined')?0:e.pid.value;if(!validateCo
mment(e))return!1;e.submit.disabled=!0;$.ajax({type:'POST',url:'/comments/edit/'
+t+'/',data:i,dataType:'json',beforeSend:function(){e.submit.disabled=!0},succes
s:function(i){if(i.method=='error'){var n=$('<div class="alertfield">'+i.html+'<
/div>');n.prependTo($(e));e.submit.disabled=!1;return!1};$('#ctext_'+t).html(i.h
tml).find('.ajaxLink').fancybox()},error:function(e){$('#ctext_'+t).html('<cente
r>Something nasty happened. Please try to reload a page or visit kastatus.com fo
r details.</center>')}});return!1};function replyPost(e){$('#pid').val(e);doFade
Once($('#content_'+e).parent().parent());$('#replytext').val('');$('#replytext')
.focus();return!1};var current_edit_id=0;function editPost(e){if(current_edit_id
>0){$('#content_'+current_edit_id).html($('#cbuffer').html())};current_edit_id=e
;$('#cbuffer').html($('#content_'+e).html());$.ajax({type:'GET',url:'/community/
edit/'+e+'/',dataType:'json',beforeSend:function(){$('#content_'+e).html('<img s
rc="//kastatic.com/images/indicator.gif" alt="loading..."/>');$('#content_'+e).f
adeIn('fast')},success:function(t){$('#edited_'+e).remove();$('#content_'+e).htm
l(t.html).find('.ajaxLink').fancybox();$('#post'+e).find('.smallButtonsline').hi
de();current_edit_id=0}});return!1};function cancelEditPost(e){current_edit_id=0
;$('#content_'+e).html($('#cbuffer').html());return!1};function savePost(e,t){va
r i=$(e).serialize();i=i;var n=(typeof(e.pid)=='undefined')?0:e.pid.value;if(!va
lidateComment(e))return!1;e.submit.disabled=!0;$.ajax({type:'POST',url:'/communi
ty/edit/'+t+'/',data:i,dataType:'json',beforeSend:function(){e.submit.disabled=!
0},success:function(i){if(i.method=='error'){var n=$('<div class="alertfield">'+
i.html+'</div>');n.prependTo($(e));e.submit.disabled=!1;return!1};$('#content_'+
t).html(i.html).find('.ajaxLink').fancybox();$('#post'+t).find('.smallButtonslin
e').show()},error:function(e){$('#content_'+t).html('<center>Something nasty hap
pened. Please try to reload a page or visit kastatus.com for details.</center>')
}});return!1};function quotePost(e,t){$('#pid').val(0);var i=t!=undefined?'#post
_'+e:'#content_'+e,s=toBBcode($(i).html()),n=$(i).parent().parent().find('.badge
Usernamejs').find('a').html();$('#replytext').val($('#replytext').val()+'[quote=
"'+n+'"]'+s+'[/quote]\n');$('#replytext').focus();return!1};function toBBcode(e)
{bbcodetext=e.replace(/<BR>/gi,'\r');bbcodetext=bbcodetext.replace(/<BR(.*?)\/>/
gi,'\r');bbcodetext=bbcodetext.replace(/<iframe width="425" height="350" src=".+
embed\/([^"]+)" frameborder="0" allowfullscreen="1"><\/iframe>/gi,'[youtube]$1[/
youtube]');bbcodetext=bbcodetext.replace(/<BLOCKQUOTE>/gi,'[quote]');bbcodetext=
bbcodetext.replace(/<blockquote title="by ([^>]+)">/gi,'[quote="$1"]');bbcodetex
t=bbcodetext.replace(/<\/BLOCKQUOTE>/gi,'[/quote]');bbcodetext=bbcodetext.replac
e(/<UL[^>]*>/gi,'[list]');bbcodetext=bbcodetext.replace(/<\/UL>/gi,'[/list]');bb
codetext=bbcodetext.replace(/<OL[^>]*>/gi,'[list=1]');bbcodetext=bbcodetext.repl
ace(/<\/OL>/gi,'[/list]');bbcodetext=bbcodetext.replace(/<LI>/gi,'[*]');bbcodete
xt=bbcodetext.replace(/<img src="[^>]+\/images\/smiley\/([^>]+)\.gif"[^>]+>/gi,'
[:Q$1]');bbcodetext=bbcodetext.replace(/<a href="[^"]*?\/users\/\d+\/\d+\/([a-z0
-9]+)\.(gif|png)"[^>]*?><img[^>]*?src="[^"]*?"[^>]*?><\/a>/gi,'[image=$1]');bbco
detext=bbcodetext.replace(/<img.*?src=".*?\/u\/\d+\/([a-z0-9]+)\.(gif|png)".*?>/
gi,'[image=$1]');bbcodetext=bbcodetext.replace(/<img src="([^>]+)">/gi,'[img]$1[
\/img]');bbcodetext=bbcodetext.replace(/<IMG[^>]*SRC=["']?([^>"]+)["'][^>]*?>/gi
,'[img]$1[\/img]');bbcodetext=bbcodetext.replace(/<BIG>/gi,'[b]');bbcodetext=bbc
odetext.replace(/<\/BIG>/gi,'[/b]');bbcodetext=bbcodetext.replace(/<B>/gi,'[b]')
;bbcodetext=bbcodetext.replace(/<\/B>/gi,'[/b]');bbcodetext=bbcodetext.replace(/
<U>/gi,'[u]');bbcodetext=bbcodetext.replace(/<\/U>/gi,'[/u]');bbcodetext=bbcodet
ext.replace(/<I>/gi,'[i]');bbcodetext=bbcodetext.replace(/<\/I>/gi,'[/i]');bbcod
etext=bbcodetext.replace(/<span><\/span>/gi,'');bbcodetext=bbcodetext.replace(/<
a class="plain" href="\/user\/([^>"]+)\/"><strong>([^>]+)<\/strong><\/a>/gi,'[us
er="$1"]');bbcodetext=bbcodetext.replace(/<a class="plain" href="\/user\/([^>\/"
]+)\/">([^>]+)<\/a>/gi,'[user="$1"]');bbcodetext=bbcodetext.replace(/<span class
="blank"><\/span>[^>]+<\/span>/gi,'');bbcodetext=bbcodetext.replace(/<a href="\/
messenger\/create\/[^>]+icon16"><\/a>/gi,'');bbcodetext=bbcodetext.replace(/clas
s="repValue[^>]+>[^<]+<\/span>/gi,'></span>');bbcodetext=bbcodetext.replace(/<a
class="idownload darkButton vtip widgetButton icon16[\S\s]+"hash font11px lightg
rey">([A-F0-9]{40})<\/span>[\S\s]+<\/p><\/div><\/div>/igm,'[torrent=$1]');bbcode
text=bbcodetext.replace(/<a class="iidea ideaButton vtip widgetButton icon16[\S\
s]+rel="(\d+)"[\S\s]+<\/em><\/a>/igm,'[idea=$1]');bbcodetext=bbcodetext.replace(
/<a class="iidea ideaButton vtip widgetButton icon16[\S\s]+rel="(\d+)"[\S\s]+<\/
em><\/a>/igm,'[blogpost=$1]');bbcodetext=bbcodetext.replace(/<div class="spoiler
_container">.*spoiler_js">([^>]+)<\/div><\/div>/gi,'[spoiler]$1[/spoiler]');bbco
detext=bbcodetext.replace(/<STRONG>/gi,'[b]');bbcodetext=bbcodetext.replace(/<\/
STRONG>/gi,'[/b]');bbcodetext=bbcodetext.replace(/<pre><code>/gi,'[code]');bbcod
etext=bbcodetext.replace(/<\/code><\/pre>/gi,'[/code]');bbcodetext=bbcodetext.re
place(/<a[^>]*?href="\/confirm\/url[^>]+>(https?[^>]+)<\/a>/gi,'[url]$1[\/url]')
;bbcodetext=bbcodetext.replace(/<a rel="nofollow" href="[^>"]+\/user\/([^>\/"]+)
\/">.+\/user\/([^>"]+)\/<\/a>/gi,'[user="$1"]$2[\/user]');bbcodetext=bbcodetext.
replace(/<a rel="nofollow" href="[^>"]+\/user\/([^>\/"]+)\/">([^>]+)<\/a>/gi,'[u
ser="$1"]$2[\/user]');bbcodetext=bbcodetext.replace(/<a rel="nofollow" href="([^
>"]+)">([^>]+)<\/a>/gi,'[url="$1"]$2[\/url]');bbcodetext=bbcodetext.replace(/<P>
/gi,'\r\r');bbcodetext=bbcodetext.replace(/<\/P>/gi,'');bbcodetext=bbcodetext.re
place(/<P [^>]*>/gi,'\r\r');bbcodetext=bbcodetext.replace(/<div class="quote"><d
iv class="quoteAuthor plain">[^>]+plain">([^>]+)<\/a><\/div>/gi,'[quote="$1"]');
bbcodetext=bbcodetext.replace(/<a[^>]+href=["']([^>"']+)["'][^>]*>([^>]+)<\/a>/g
i,'[url="$1"]$2[\/url]');bbcodetext=bbcodetext.replace(/<A HREF/i,'[url');bbcode
text=bbcodetext.replace(/<\/A>/i,'[/url]');bbcodetext=bbcodetext.replace(/<\/div
>/gi,'[/quote]');bbcodetext=bbcodetext.replace(/<[^>]*>/g,'');bbcodetext=bbcodet
ext.replace(/">/g,'"]');return bbcodetext};function showAlbum(e,t){var i=$(e).pa
rent().parent().find('.container_js'),n=$(e).parent();if(i.is(':visible')){i.fad
eOut('fast');n.removeClass('versionsUnFolded');n.addClass('versionsFolded');retu
rn!1};$.ajax({type:'POST',url:'/media/getalbum/'+t+'/',dataType:'json',error:fun
ction(){i.html('<center>Something nasty happened. Please try to reload a page or
visit kastatus.com for details.</center>')},beforeSend:function(){i.html('<img
src="//kastatic.com/images/indicator.gif" alt="loading..."/>');i.fadeIn('fast')}
,success:function(e){i.html(e.html);n.removeClass('versionsFolded');n.addClass('
versionsUnFolded')}});return!1};function showEpisodeInfo(e,t){var i=$(e).parent(
).parent().find('.container_js'),n=$(e).parent();if(i.is(':visible')){i.fadeOut(
'fast');n.removeClass('versionsUnFolded');n.addClass('versionsFolded');return!1}
;$.ajax({type:'POST',url:'/media/getepisode/'+t+'/',dataType:'json',error:functi
on(){i.html('<center>Something nasty happened. Please try to reload a page or vi
sit kastatus.com for details.</center>')},beforeSend:function(){i.html('<img src
="//kastatic.com/images/indicator.gif" alt="loading..."/>');i.fadeIn('fast')},su
ccess:function(e){i.html(e.html);n.removeClass('versionsFolded');n.addClass('ver
sionsUnFolded')}});return!1};function showAnimeEpisodeInfo(e,t){var i=$(e).paren
t().parent().find('.container_js'),n=$(e).parent();if(i.is(':visible')){i.fadeOu
t('fast');n.removeClass('versionsUnFolded');n.addClass('versionsFolded');return!
1};$.ajax({type:'POST',url:'/media/getanimeepisode/'+t+'/',dataType:'json',error
:function(){i.html('<center>Something nasty happened. Please try to reload a pag
e or visit kastatus.com for details.</center>')},beforeSend:function(){i.html('<
img src="//kastatic.com/images/indicator.gif" alt="loading..."/>');i.fadeIn('fas
t')},success:function(e){i.html(e.html);n.removeClass('versionsFolded');n.addCla
ss('versionsUnFolded')}});return!1};function toggleQuestions(e,t){if($('#'+e+'_g
roup').is(':visible')){$('#'+e+'_group').fadeOut('fast');$(t).parent().removeCla
ss('questionGroupUnFolded');$(t).parent().addClass('questionGroupFolded');return
!1}else{$('#'+e+'_group').fadeIn('fast');$(t).parent().removeClass('questionGrou
pFolded');$(t).parent().addClass('questionGroupUnFolded')}};function showNewComm
ents(e){if($('#torrent_'+e).is(':visible')){$('#torrent_'+e).fadeOut('fast');$('
#infoList_'+e).removeClass('versionsUnFolded');$('#infoList_'+e).addClass('versi
onsFolded');return!1};$.ajax({type:'POST',url:'/account/new_comments/',data:{aja
x:1,torrentId:e},dataType:'json',beforeSend:function(){$('#torrent_'+e).html('<i
mg src="//kastatic.com/images/indicator.gif" alt="loading..."/>');$('#torrent_'+
e).fadeIn('fast')},success:function(t){$('#torrent_'+e).html(t.html);$('#infoLis
t_'+e).removeClass('versionsFolded');$('#infoList_'+e).addClass('versionsUnFolde
d')}});return!1};function getCategories(e,t){$.ajax({type:'POST',url:'/torrents/
getcategory/'+t+'/'+e+'/',dataType:'json',beforeSend:function(){$('#cat_place_'+
e).html('<img src="//kastatic.com/images/indicator.gif" alt="loading..."/>')},su
ccess:function(t){$('#cat_place_'+e).html(t.html).show()}});return!1};function v
alidateIdea(e){if((e.text.value=='')){alert('Please fill the description field')
;return!1};if((e.name.value.length<4)){alert('Idea name is too short');return!1}
;if((e.category.value=='')){alert('Please select category');return!1};return!0};
var force_submit_idea=!1;function searchSimilarIdeas(e){if(!validateIdea(e))retu
rn!1;var t=$(e).serialize();t=t+'&ajax=1'+(force_submit_idea?'&force=1':'');e.su
bmit.disabled=!0;$.ajax({type:'POST',url:'/ideabox/create/',data:t,dataType:'jso
n',beforeSend:function(){$('#similar_ideas').html('<img src="//kastatic.com/imag
es/indicator.gif">');e.submit.disabled=!0},success:function(t){e.submit.disabled
=!1;if(t.idea_link!=undefined){document.location=t.idea_link;return!1}else if(t.
method=='error'){$('#similar_ideas').attr('style','color: red;')}else{$('#butsav
e').html('<span>save</span>')};$('#similar_ideas').html(t.html);$('#similar_idea
s').fadeIn('fast');force_submit_idea=!0},error:function(t){$('#similar_ideas').h
tml('<center>Something nasty happened. Please try to reload a page or visit kast
atus.com for details.</center>');e.submit.disabled=!1}});return!1};function getS
ubcategory(e){$.ajax({type:'POST',url:'/torrents/getcategory/'+$('#categoryId_'+
e+' :selected').val()+'/'+e+'/',dataType:'json',beforeSend:function(){$('#cat_pl
ace_'+e).html('<img src="//kastatic.com/images/indicator.gif">')},success:functi
on(t){$('#cat_place_'+e).html(t.html)}});return!1};function setCategory(e){var i
=$('#sub_cat_'+e+' :selected').val()!=undefined?$('#sub_cat_'+e+' :selected').va
l():0,t=$('#cat_'+e).html();$.ajax({type:'POST',url:'/moderator/torrent/changeca
tegory/'+e+'/',data:{ajax:1,categoryId:$('#categoryId_'+e+' :selected').val(),su
b_cat:i},dataType:'json',beforeSend:function(){$('#cat_'+e).html('<img src="//ka
static.com/images/indicator.gif" alt="loading..."/>')},success:function(i){if(i.
method=='error'){alert(i.html);$('#cat_'+e).html(t)}else{$('#cat_'+e).html(i.htm
l)};$('#cat_place_'+e).hide()}});return!1};function requestReseed(e,t){$.ajax({t
ype:'POST',url:'/torrents/requestreseed/'+e+'/',data:{ajax:1},dataType:'json',be
foreSend:function(e){$(t).html('<img src="//kastatic.com/images/indicator.gif" a
lt="loading..."/>')},success:function(e){$(t).hide();$('#reseed_div').html('RESE
ED HAS BEEN REQUESTED FOR THIS TORRENT').show()}});return!1};function refreshTra
ckers(e){if($('#darkenize').length==0){var n=jQuery('<div id="darkenize" style="
display:none"></div>');n.prependTo('#trackerBox');var t=(($('#trackerBox').heigh
t()/2)-15);$('#darkenize').css('padding-top',t)};$('#darkenize').fadeIn('fast');
$('#darkenize').height($('#darkenize').height()-t);$('#darkenize').width($('#tra
ckerBox').width());$('#darkenize').html('<center>Loading...<br><img align="botto
m" src="//kastatic.com/images/indicator.gif" border=0/></center>');$.ajax({type:
'POST',url:'/torrents/trackers/'+e+'/',data:{ajax:'1'},dataType:'json',beforeSen
d:function(e){},success:function(e){var t=e.html;if(t=='disabled'||t==''){$('#da
rkenize').fadeOut('slow')}else{$('#darkenize').fadeOut('slow',function(){$('#tra
ckerBox').html(t)})}},error:function(e){$('#darkenize').fadeOut('slow',function(
){$('#trackerBox').html('<center>Something nasty happened. Please try to reload
a page or visit kastatus.com for details.</center>');$('#trackerBox').center()})
}});var i=new Date(),s=new Date(i.getTime()+30*60*1000);$.cookie('kat_settings[r
ecent_write]','1',{expires:i});return!1};function hideSidebar(){$('#sidebar').hi
de();$('#hidesidebar').hide();$('#showsidebar').show();$.post('/account/hideside
bar/',{hide:1,ajax:1});return!1};function showSidebar(){$('#sidebar').show();$('
#hidesidebar').show();$('#showsidebar').hide();$.post('/account/hidesidebar/',{h
ide:0,ajax:1});return!1};function saveAndClosePartner(e){$.cookie('partner'+e,'1
',{expires:365,path:'/'});$('#promoPartner'+e).fadeOut('fast')};function saveAnd
CloseLeech(){$.cookie('leech','1',{expires:365,path:'/'});$('#promoLeechmonster'
).fadeOut('fast')};function saveFriendRequest(e){$.ajax({type:'POST',url:e.href,
data:{ajax:'1'},dataType:'json',success:function(t){if(t.method=='error')return
alert(t.html);$(e).parent().parent().parent().fadeOut('fast').remove()}});return
!1};function uploadChangeCat(){$.ajax({type:'POST',url:'/torrents/getcategory/'+
$('#categoryId :selected').val()+'/',dataType:'json',beforeSend:function(){$('#s
ubcat').html('<img src="//kastatic.com/images/indicator.gif">')},success:functio
n(e){var t=$('#categoryId :selected').val();$('#tvshow,#movie,#game,#book,#anime
,#music,#langs,#subs,#scrcp,#scrns,#completeness').hide();if(t==2){$('#movie,#la
ngs,#subs,#scrcp,#scrns,#completeness').show()}else if(t==21){$('#tvshow,#langs,
#subs,#scrcp,#scrns,#completeness').show()}else if(t==4){$('#game,#langs,#scrns,
#completeness').show()}else if(t==6){$('#scrcp,#scrns,#completeness').show()}els
e if(t==7){$('#anime,#langs,#subs,#scrcp,#scrns').show()}else if(t==9){$('#book'
).show()}else if(t==12){$('#music').show()};$('#subcat').html(e.html)}})};functi
on toggleTags(e,t){t=t||0;if(t){$.ajax({type:'POST',url:'/account/toggletagcloud
/show/',dataType:'json',success:function(e){$('#tagcloud').html(e.html).slideDow
n('normal')}});$(e).html('<span class="font80perc">&#x25B2;</span>');$(e).prop('
title','Hide tagcloud');$(e).attr('onclick','toggleTags(this);')}else{$('#tagclo
ud').slideUp('normal');$.post('/account/toggletagcloud/hide/');$(e).prop('title'
,'Show tagcloud');$(e).html('<span class="font80perc">&#x25BC;</span>');$(e).att
r('onclick','toggleTags(this, 1);')}};function uploadFile(e){$(e).parent().find(
'.switchRight').removeClass('active');$(e).addClass('active');$('#fileinput_cont
ainer').html('<input type=\'file\' name=\'file\' class=\'primary inputfile\' />'
).find('input[type=file]').customFileInput();return!1};function uploadUrl(e){$(e
).parent().find('.switchLeft').removeClass('active');$(e).addClass('active');$('
#fileinput_container').html('<input type=\'url\' class=\'primary textinput longt
extinput\' name=\'uploadUrl\' value=\'\' />');return!1};function setLanguage(e,t
){$('#langSelectorLine').hide();$.cookie('lang_code',e,{expires:365,path:'/',dom
ain:t});window.location.reload()};function refreshMeta(e){var t=Math.floor(Math.
random()*99999999999);$.ajax({type:'POST',url:$(e).attr('href'),dataType:'json',
beforeSend:function(){$(e).replaceWith('<img id="prg'+t+'" src="//kastatic.com/i
mages/indicator.gif">')},success:function(e){$('#prg'+t).replaceWith('ok')}});re
turn!1};function doLogout(e){var t=e?document[e]:document.logoutform;t.submit();
return!1};$.fn.makePost=function(e){if(!$(this).length){return this};$(this).unb
ind('click.pst').bind('click.pst',function(e){e.preventDefault();$(this).blur();
$.post($(this).attr('href'),{},function(e){if(e.method=='error'){alert('Error: '
+e.html)}else{document.location.reload()}},'json').error(function(e){alert('XHR
Error: '+e.responseText)});return});return this};(function(e,t,i,n){e.fn.doubleT
apToGo=function(n){if(!('ontouchstart' in t)&&!navigator.msMaxTouchPoints&&!navi
gator.userAgent.toLowerCase().match(/windows phone os 7/i))return!1;this.each(fu
nction(){var t=!1;e(this).on('click',function(i){var n=e(this);if(n[0]!=t[0]){i.
preventDefault();t=n}});e(i).on('click touchstart MSPointerDown',function(i){var
r=!0,s=e(i.target).parents();for(var n=0;n<s.length;n++)if(s[n]==t[0])r=!1;if(r
)t=!1})});return this}})(jQuery,window,document);$(function(){$('a.ajaxLink').fa
ncybox();$('a.postLink').makePost();$('#translate_link').fancybox({autoDimension
s:!1,width:500,height:150});$(document).on('click','td.forumhideJS',function(){v
ar n=$(this),t=n.attr('rel'),e=$('#forum_'+t),i=e.hasClass('hideBlockJS')?0:1;$.
cookie('kat_settings[hide_forum]['+t+']',i,{expires:365,path:'/'});e.slideToggle
('normal');if(e.hasClass('hideBlockJS')){e.removeClass('hideBlockJS').addClass('
showBlockJS')}else{e.removeClass('showBlockJS').addClass('hideBlockJS')}});$(doc
ument).on('click','.foldClose',function(){var t=$(this).parent().parent().find('
ul').attr('rel'),e=$('#'+t),i=e.hasClass('hideBlockJS')?0:1;$.cookie('kat_settin
gs[sidebar]['+t+']',i,{expires:365,path:'/'});if(e.hasClass('hideBlockJS')){e.re
moveClass('hideBlockJS').addClass('showBlockJS');$(this).removeClass('ka-180')}e
lse{e.removeClass('showBlockJS').addClass('hideBlockJS');$(this).addClass('ka-18
0')}});$(document).on('click','#toggleAch',function(){var e=$('table .achTable')
,t=e.hasClass('hideBlockJS')?0:1;$.cookie('kat_settings[hide_achievements]',t,{e
xpires:365,path:'/'});e.toggle();if(e.hasClass('hideBlockJS')){e.removeClass('hi
deBlockJS').addClass('showBlockJS')}else{e.removeClass('showBlockJS').addClass('
hideBlockJS')}});$(document).on('keypress','.quicksubmit',function(e){if(e.keyCo
de==13&&e.shiftKey){$(this).parents('form').eq(0).submit();return!1}});$('.comar
eajs').each(function(){$(this).bbedit()}).one('focus',function(e){var t=$(this).
parent().find('.captchaformjs');t.show();t.find('img').trigger('click')});$.fanc
ybox.queue($('#achievements').children().toArray(),{timeout:30000,onNext:functio
n(e){$.post('/achievement/mark/'+$(e).data('achievement-id')+'/')}});$('#content
Search').autocomplete({cache:!0,minLength:2,open:function(e,t){$('#contentSearch
').autocomplete('widget').addClass('ui-search-autocomplete')},source:function(e,
t){$.ajax({url:'/get_queries.php',dataType:'json',data:{query:e.term},success:fu
nction(e){t($.map(e.query[0].options,function(e){return{label:e.text,value:e.tex
t}}))}})},select:function(e,t){window.location='/usearch/'+t.item.value+'/'}});i
f(kat.detect_lang&&$.cookie('lang_detected')==null){$.ajax({type:'POST',url:'/de
tectlang/',dataType:'json',success:function(e){if(e!=null)$('#langSelectorLine')
.html(e.html).slideDown('normal')}})};try{$('img.lazyjs').lazyload({effect:'fade
In'})}catch(e){};$(document).on('click','img.captcha',function(){this.src='/capt
cha/show/?'+Math.floor(Math.random()*10000)});$(document).on('click','.captchare
load',function(){$(this).parent().find('img.captcha').click()});$(document).on('
click','.spoiler_show',function(){$(this).parent().find('.spoiler_js').toggle()}
);$('.askFeedbackjs').click(function(){var e=$(this),i=e.attr('href'),t=e.data('
id');if(t){$.post('/account/askfeedback/'+t+'/',{},function(e){if(e.method=='err
or'){alert('Error: '+e.html)}else{updateFeedback();document.location.href=i}},'j
son').error(function(e){alert('XHR Error: '+e.responseText);console.log(e)});ret
urn!1}else{updateFeedback()}});if(('ontouchstart' in document.documentElement)){
$('#tagcloud').hide().addClass('folded')};$('#navigation li:has(ul)').doubleTapT
oGo();$('.icommentjs').doubleTapToGo();$('.checkboxchecker').each(populateCheckB
oxes());$('#thnxLink,#fakeLink').click(function(){var t=$(this),i=t.data('hash')
,e;if(t.is('.jslike')){e='like'}else if(t.is('.jsunlike')){e='unlike'}else if(t.
is('.jsdislike')){e='dislike'}else if(t.is('.jsundislike')){e='undislike'}else{r
eturn!1};$.ajax({type:'POST',url:'/torrents/vote/'+e+'/'+i+'/',dataType:'json',s
uccess:function(t){if(t.method=='error'){alert(t.html);return};$('#thnxCount spa
n').html(t.thanks_count!=0?'+'+t.thanks_count:0);$('#fakeCount span').html(t.fak
es_count!=0?'-'+t.fakes_count:0);var n=$('#thnxLink'),i=$('#fakeLink');switch(e)
{case'like':n.removeClass('jslike').addClass('jsunlike');i.removeClass('jsdislik
e').addClass('gfunchecked');break;case'unlike':n.removeClass('jsunlike').addClas
s('jslike');i.removeClass('gfunchecked').addClass('jsdislike');break;case'dislik
e':n.removeClass('jslike').addClass('gfunchecked');i.removeClass('jsdislike').ad
dClass('jsundislike');break;case'undislike':n.removeClass('gfunchecked').addClas
s('jslike');i.removeClass('jsundislike').addClass('jsdislike');break}}});return!
1})});function populateCheckBoxes(){return function(){var e=$(this),i=e.data('se
lector'),t=$(i);e.click(function(i){t.prop('checked',e.prop('checked'));i.stopPr
opagation()});t.click(function(i){var n=!0;t.each(function(){if(!$(this).prop('c
hecked')){n=!1;return!1}});e.prop('checked',n);i.stopPropagation()})}};function
updateMessagesCount(e){var n=$('#menu_messages_count'),t=n.find('a'),i=n.find('i
');if(e){if(!i.size()){t.fancybox();t.attr('href','/messenger/unread/');i=$('<i
/>').addClass('menuValue valueBubble').appendTo(t)};i.html(e).show()}else{t.unbi
nd('click.fb');t.attr('href','/messenger/');i.remove()}};function confirm_url(e)
{if($(e).prop('checked')){$.cookie('kat_settings[dont_ask]',1,{expires:365,path:
'/'})}else{$.cookie('kat_settings[dont_ask]',0,{expires:365,path:'/'})}};$(docum
ent).on('click','#readVulRules',function(){if($(this).is(':checked')){$('#applyF
orVul').removeClass('disabledButton').prop('disabled',!1)}else{$('#applyForVul')
.addClass('disabledButton').prop('disabled',!0)}});$(document).on('click','#show
HideSearch',function(){var e=$(this);$('#torrentSearch').slideToggle('fast');if(
e.hasClass('ka-delete'))e.attr('class','ka ka-zoom');else if(e.hasClass('ka-zoom
'))e.attr('class','ka ka-delete')});$(window).resize(function(){var e=$(window).
width();if(e>585){$('#torrentSearch').removeAttr('style')}else{$('#torrentSearch
').css('display','none');$('#showHideSearch').removeClass('ka-delete').addClass(
'ka-zoom')}});$(function(){$('#feedback').click(function(){var e=$('<div />').cs
s({position:'absolute',zIndex:9990,cursor:'crosshair',left:0,top:0,width:$(docum
ent).width(),height:$(document).height(),background:'#000',opacity:0.5}).appendT
o('body');var t=$('<div />').css({color:'#fff',position:'fixed',top:'50%',left:'
50%',width:'100px',marginLeft:'-50px',lineHeight:'16px',fontWeight:'bold'}).appe
nd($('<img />').attr('src','//kastatic.com/images/indicator.gif').css({marginRig
ht:'5px',verticalAlign:'top'})).append('Loading...').appendTo(e);$(window).bind(
'keypress.fb',function(i){if(i.keyCode==27){$(window).unbind('keypress.fb');t.re
move();e.remove()}});$.getScript('/content/js/feedback/html2canvas.min-'+kat.rel
ease_id+'.js',function(){$.getJSON('/issue/form/?_='+new Date().getTime(),functi
on(i){$.getScript('/content/js/feedback/feedback-'+kat.release_id+'.js',function
(){t.remove();$(window).unbind('.fb');$('body').feedback(i.html,e);$('.lazyjs').
lazyload()})})});return!1})});

También podría gustarte