You are on page 1of 89

/*62158d6*/(function(e,i){var E,be,c=typeof

i,si=e.location,n=e.document,oe=n.documentElement,ii=e.jQuery,ti=e.
$,N={},b=[],J='1.10.2',ue=b.concat,X=b.push,p=b.slice,je=b.indexOf,li=N.toString,x=
N.hasOwnProperty,U=J.trim,t=function(e,i){return 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){return
t.toUpperCase()},f=function(e){if(n.addEventListener||e.type==='load'||
n.readyState==='complete'){de();t.ready()}},de=function(){if(n.addEventListener)
{n.removeEventListener('DOMContentLoaded',f,!1);e.removeEventListener('load',f,!
1)}else{n.detachEvent('onreadystatechange',f);e.detachEvent('onload',f)}};t.fn=t.pr
ototype={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};this.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=this[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.makeArray(e,this)},selector:'',length:0,toArray:function(){return
p.call(this)},get:function(e){return e==null?this.toArray():(e<0?
this[this.length+e]:this[e])},pushStack:function(e){var
i=t.merge(this.constructor(),e);i.prevObject=this;i.context=this.context;return
i},each:function(e,i){return t.each(this,e,i)},ready:function(e)
{t.ready.promise().done(e);return this},slice:function(){return
this.pushStack(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 this.pushStack(t>=0&&t<i?[this[t]]:
[])},map:function(e){return this.pushStack(t.map(this,function(t,i){return
e.call(t,i,t)}))},end:function(){return this.prevObject||
this.constructor(null)},push:X,sort:[].sort,splice:
[].splice};t.fn.init.prototype=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,''),noConflict: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)
{return setTimeout(t.ready)};t.isReady=!0;if(e!==!0&&--t.readyWait>0)
{return};E.resolveWith(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){return
t.type(e)==='array'},isWindow:function(e){return e!
=null&&e==e.window},isNumeric: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}}catch(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)
{return!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.buildFragment([e],i,o);if(o)
{t(o).remove()};return t.merge([],r.childNodes)},parseJSON:function(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,'@').replace(qt,']').replace(Ut,''))){return(new
Function('return '+i))()}}};t.error('Invalid JSON: '+i)},parseXML:function(n){var
r,o;if(!n||typeof n!=='string'){return null};try{if(e.DOMParser){o=new
DOMParser();r=o.parseFromString(n,'text/xml')}else{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:function(e){return
e.replace(Qt,'ms-').replace(Kt,Gt)},nodeName:function(e,t){return
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)
{for(;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')?function(e){return e==null?'':U.call(e)}:function(e){return
e==null?'':(e+'').replace(ei,'')},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(arguments)))};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)
{var 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.Deferred();if(n.readyState==='complete'){setTimeout(t.ready)}else
if(n.addEventListener){n.addEventListener('DOMContentLoaded',f,!
1);e.addEventListener('load',f,!
1)}else{n.attachEvent('onreadystatechange',f);e.attachEvent('onload',f);var r=!
1;try{r=e.frameElement==null&&n.documentElement}catch(s){};if(r&&r.doScroll)
{(function 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 Function 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)){return!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.i
ndexOf||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('^:(only|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|last)
(?:\\('+o+'*((?:-\\d)?\\d*)'+o+'*\\)|)(?=[^-]|$)','i')},Q=/^[^{]+\{\s*\[native
\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.fromCharCode(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.length,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||typeof 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.ownerDocument.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.getElementsByClassName&&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.querySelectorAll(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};function h(e){e[l]=!0;return e};function
f(e){var i=c.createElement('div');try{return!!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.sourceIndex||ne)-
(~e.sourceIndex||ne);if(n){return n};if(i){while((i=i.nextSibling)){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.ownerDocument||
e:m,i=t.defaultView;if(t===c||t.nodeType!==9||!t.documentElement){return
c};c=t;p=t.documentElement;d=!te(t);if(i&&i.attachEvent&&i!==i.top)
{i.attachEvent('onbeforeunload',function(){w()})};a.attributes=f(function(e)
{e.className='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 class=\'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.getElementsByName||!
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.parentNode?[i]:
[]}};s.filter['ID']=function(e){var t=e.replace(y,x);return function(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.getAttributeNode!
==A&&e.getAttributeNode('id');return
i&&i.value===t}}};s.find['TAG']=a.getElementsByTagName?function(e,t){if(typeof
t.getElementsByTagName!==A){return t.getElementsByTagName(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.getElementsByClassName!==A&&d){return
t.getElementsByClassName(e)}};S=[];u=[];if((a.qsa=Q.test(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(':checked')}});f(function(e){var
i=t.createElement('input');i.setAttribute('type','hidden');e.appendChild(i).setAttr
ibute('t','');if(e.querySelectorAll('[t^=\'\']').length)
{u.push('[*^$]='+o+'*(?:\'\'|"")')};if(!e.querySelectorAll(':enabled').length)
{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.compareDocumentPosition?function(e,t)
{var n=e.nodeType===9?e.documentElement:e,i=t&&t.parentNode;return e===i||!!
(i&&i.nodeType===1&&(n.contains?
n.contains(i):e.compareDocumentPosition&&e.compareDocumentPosition(i)&16))}:functio
n(e,t){if(t){while((t=t.parentNode)){if(t===e){return!0}}};return!
1};Y=p.compareDocumentPosition?function(e,i){if(e===i){D=!0;return 0};var
n=i.compareDocumentPosition&&e.compareDocumentPosition&&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)){return 1};return k?(C.call(k,e)-
C.call(k,i)):0};return n&4?-1:1};return e.compareDocumentPosition?-
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.parentNode))
{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=function(e,t){return r(e,null,null,t)};r.matchesSelector=function(e,t)
{if((e.ownerDocument||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)};return
j(e,t)};r.attr=function(e,t){if((e.ownerDocument||e)!==c){w(e)};var
r=s.attrHandle[t.toLowerCase()],n=r&&ye.call(s.attrHandle,t.toLowerCase())?r(e,t,!
d):i;return n===i?a.attributes||!d?e.getAttribute(t):
(n=e.getAttributeNode(t))&&n.specified?n.value:null:n};r.error=function(e){throw
new Error('Syntax error, unrecognized expression: '+e);};r.uniqueSort=function(e)
{var s,n=[],i=0,t=0;D=!a.detectDuplicates;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.nodeValue};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].toLowerCase();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')}else 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.test(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.replace(y,x).toLowerCase();return e==='*'?function()
{return!0}:function(e){return
e.nodeName&&e.nodeName.toLowerCase()===t}},'CLASS':function(e){var t=ce[e+'
'];return t||(t=new RegExp('(^|'+o+')'+e+'('+o+'|$)'))&&ce(e,function(e){return
t.test(typeof e.className==='string'&&e.className||typeof e.getAttribute!
==A&&e.getAttribute('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.slice(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){return!!e.parentNode}:function(t,i,c){var d,b,u,f,h,v,m=a!
==o?'nextSibling':'previousSibling',p=t.parentNode,x=r&&t.nodeName.toLowerCase(),y=
!c&&!r;if(p){if(a){while(m){u=t;while((u=u[m])){if(r?
u.nodeName.toLowerCase()===x:u.nodeType===1){return!1}};v=m=e==='only'&&!
v&&'nextSibling'};return!0};v=[o?p.firstChild:p.lastChild];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.pseudos[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.toLowerCase())?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){return function(t){return
r(e,t).length>0}}),'contains':h(function(e){return function(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).toLowerCase();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}}while((t=t.parentNode)&&t.nodeType===1);return!
1}}),'target':function(t){var i=e.location&&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.selected)},'selected':function(e){if(e.parentNode)
{e.parentNode.selectedIndex};return 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':function(e){return!s.pseudos['empty']
(e)},'header':function(e){return ke.test(e.nodeName)},'input':function(e){return
Te.test(e.nodeName)},'button':function(e){var 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'))==n
ull||t.toLowerCase()===e.type)},'first':T(function()
{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)};return 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(function(e,t,i){var n=i<0?i+t:i;for(;++n<t;)
{e.push(n)};return e})}};s.pseudos['nth']=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){var
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)
{break}};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.dir,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){return!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.length):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){return 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==='
'?'*':''})).replace(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);break}};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=function(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};function 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].type]){t=(s.find['ID'](o.matches[0].replace(y,x),t)||[])
[0];if(!t){return
i};e=e.slice(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.getAttribute('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.firstChild.getAttribute('value')===''})){q('value',function(e,t,i){if(!
i&&e.nodeName.toLowerCase()==='input'){return e.defaultValue}})};if(!f(function(e)
{return e.getAttribute('disabled')==null})){q(V,function(e,t,i){var n;if(!i)
{return(n=e.getAttributeNode(t))&&n.specified?n.value:e[t]===!0?
t.toLowerCase():null}})};t.find=r;t.expr=r.selectors;t.expr[':']=t.expr.pseudos;t.u
nique=r.uniqueSort;t.text=r.getText;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=function(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;for(;n&&o<a;o++)
{if(n[o].apply(t[0],t[1])===!1&&e.stopOnFalse){r=!1;break}};l=!1;if(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.type(r);if(o==='function'){if(!e.unique||!c.has(r)){n.push(r)}}else
if(r&&r.length&&o!=='string'){s(r)}})})(arguments);if(l){a=n.length}else if(r)
{h=i;u(r)}};return 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--}}}})};return this},has:function(e){return e?t.inArray(e,n)>-1:!!
(n&&n.length)},empty:function(){n=[];a=0;return this},disable:function()
{n=s=r=i;return this},disabled:function(){return!n},lock:function(){s=i;if(!r)
{c.disable()};return this},locked:function(){return!s},fireWith:function(e,t)
{if(n&&(!f||s)){t=t||[];t=[e,t.slice?t.slice():t];if(l)
{s.push(t)}else{u(t)}};return this},fire:function()
{c.fireWith(this,arguments);return this},fired:function(){return!!f}};return
c};t.extend({Deferred: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.isFunction(e.promise))
{e.promise().done(r.resolve).fail(r.reject).progress(r.notify)}else{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.notifyWith(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.innerH
TML=' <link/><table></table><a href=\'/a\'>a</a><input
type=\'checkbox\'/>';p=r.getElementsByTagName('*')||
[];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.getEl
ementsByTagName('input')
[0];a.style.cssText='top:1px;float:left;opacity:.5';i.getSetAttribute=r.className!
=='t';i.leadingWhitespace=r.firstChild.nodeType===3;i.tbody=!
r.getElementsByTagName('tbody').length;i.htmlSerialize=!!
r.getElementsByTagName('link').length;i.style=/top/.test(a.getAttribute('style'));i
.hrefNormalized=a.getAttribute('href')==='/a';i.opacity=/^0.5/.test(a.style.opacity
);i.cssFloat=!!a.style.cssFloat;i.checkOn=!!
o.value;i.optSelected=h.selected;i.enctype=!!
n.createElement('form').enctype;i.html5Clone=n.createElement('nav').cloneNode(!
0).outerHTML!=='<:nav></:nav>';i.inlineBlockNeedsLayout=!1;i.shrinkWrapBlocks=!
1;i.pixelPosition=!1;i.deleteExpando=!0;i.noCloneEvent=!0;i.reliableMarginRight=!
0;i.boxSizingReliable=!0;o.checked=!0;i.noCloneChecked=o.cloneNode(!
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.input=o.getAttribute('va
lue')==='';o.value='t';o.setAttribute('type','radio');i.radioValue=o.value==='t';o.
setAttribute('checked','t');o.setAttribute('name','t');u=n.createDocumentFragment()
;u.appendChild(o);i.appendChecked=o.checked;i.checkClone=u.cloneNode(!
0).cloneNode(!0).lastChild.checked;if(r.attachEvent)
{r.attachEvent('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.cloneNode(!
0).style.backgroundClip='';i.clearCloneStyle=r.style.backgroundClip==='content-
box';for(l in t(i)){break};i.ownLast=l!=='0';t(function(){var
l,o,s,u='padding:0;margin:0;border:0;display:block;box-sizing:content-box;-moz-box-
sizing:content-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;positi
on:absolute;top:0;left:-9999px;margin-
top:1px';a.appendChild(l).appendChild(r);r.innerHTML='<table><tr><td></td><td>t</td
></tr></table>';s=r.getElementsByTagName('td');s[0].style.cssText='padding:0;margin
:0;border:0;display:none';m=(s[0].offsetHeight===0);s[0].style.display='';s[1].styl
e.display='none';i.reliableHiddenOffsets=m&&(s[0].offsetHeight===0);r.innerHTML='';
r.style.cssText='box-sizing: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.cssTex
t=r.style.cssText=u;o.style.marginRight=o.style.width='0';r.style.width='1px';i.rel
iableMarginRight=!parseFloat((e.getComputedStyle(o,null)||
{}).marginRight)};if(typeof r.style.zoom!==c)
{r.innerHTML='';r.style.cssText=u+'width:1px;padding:1px;display:inline;zoom:1';i.i
nlineBlockNeedsLayout=(r.offsetWidth===3);r.style.display='block';r.innerHTML='<div
></div>';r.firstChild.style.width='5px';i.shrinkWrapBlocks=(r.offsetWidth!
==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.expando,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==='function'){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(typeof n==='string')
{c=a[n];if(c==null){c=a[t.camelCase(n)]}}else{c=a};return c};function 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,'embed':!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:function(e,t,i){return
me(e,t,i)},removeData:function(e,t){return ve(e,t)},i$:function(e,t,i){return
me(e,t,i,!0)},re$:function(e,t){return ve(e,t,!0)},acceptData:function(e)
{if(e.nodeType&&e.nodeType!==1&&e.nodeType!==9){return!1};var
i=e.nodeName&&t.noData[e.nodeName.toLowerCase()];return!i||i!==!
0&&e.getAttribute('classid')===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.attributes;for(;a<o.length;a++)
{r=o[a].name;if(r.indexOf('data-')===0)
{r=t.camelCase(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.isEmptyObject(e[i]))
{continue};if(i!=='toJSON'){return!1}};return!0};t.extend({queue:function(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.He$(e,i),a=function()
{t.dequeue(e,i)};if(n==='inprogress'){n=s.shift();o--};if(n){if(i==='fx')
{s.unshift('inprogress')};delete r.stop;n.call(e,a,r)};if(!o&&r)
{r.empty.fire()}},He$:function(e,i){var n=i+'queueHooks';return t.i$(e,n)||t.i$
(e,n,{empty:t.Callbacks('once memory').add(function(){t.re$(e,i+'queue');t.re$
(e,n)})})}});t.fn.extend({queue:function(e,n){var s=2;if(typeof e!=='string')
{n=e;e='fx';s--};if(arguments.length<s){return t.queue(this[0],e)};return n===i?
this:this.each(function(){var i=t.queue(this,e,n);t.He$(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,function(t,i){var
n=setTimeout(t,e);i.stop=function(){clearTimeout(n)}})},clearQueue: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|area)$/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.length>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)},removeProp:function(e)
{e=t.propFix[e]||e;return this.each(function(){try{this[e]=i;delete
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.className=t.trim(n)}}};return this},removeClass:function(e){var
a,n,i,r,o,s=0,u=this.length,c=arguments.length===0||typeof
e==='string'&&e;if(t.isFunction(e)){return this.each(function(i)
{t(this).removeClass(e.call(this,i,this.className))})};if(c){a=(e||'').match(l)||
[];for(;s<u;s++){n=this[s];i=n.nodeType===1&&(n.className?(' '+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.match(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.length){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(function(s){var r;if(this.nodeType!==1){return};if(o)
{r=e.call(this,s,t(this).val())}else{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.valHooks[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.options,n=e.selectedIndex,r=e.type==='select-one'||
n<0,l=r?null:[],a=r?n+1:c.length,s=n<0?a:r?n:0;for(;s<a;s++)
{i=c[s];if((i.selected||s===n)&&(t.support.optDisabled?!
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)}};return 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.selectedIndex=-
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){while((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.removeAttribute(h?n:s)}}},attrHooks:{type:
{set:function(e,i){if(!t.support.radioValue&&i==='radio'&&t.nodeName(e,'input'))
{var n=e.value;e.setAttribute('type',i);if(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)
{return s?i:e[t.camelCase('default-'+n)]?n.toLowerCase():null}});if(!j||!h)
{t.attrHooks.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.getAttributeNode(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.expr.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:function(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(['href','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.cssText||
i},set:function(e,t){return(e.style.cssText=t+'')}}};if(!t.support.optSelected)
{t.propHooks.selected={get:function(e){var t=e.parentNode;if(t)
{t.selectedIndex;if(t.parentNode){t.parentNode.selectedIndex}};return
null}}};t.each(['tabIndex','readOnly','maxLength','cellSpacing','cellPadding','rowS
pan','colSpan','useMap','frameBorder','contentEditable'],function()
{t.propFix[this.toLowerCase()]=this});if(!t.support.enctype)
{t.propFix.enctype='encoding'};t.each(['radio','checkbox'],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};function T(){return!1};function
Se(){try{return n.activeElement}catch(e){}};t.event={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){return
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.special[a]||
{};a=(o?u.delegateType:u.bindType)||a;u=t.event.special[a]||
{};d=t.extend({type:a,origType:x,data:r,handler:s,guid:s.guid,selector:o,needsConte
xt: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.addEventListener){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},remove: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.remove(e,o+i[p],n,s,!0)};continue};c=t.event.special[o]||{};o=(s?
c.delegateType:c.bindType)||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.guid)&&(!u||u.test(a.namespace))&&(!s||s===a.selector||
s==='**'&&a.selector)){f.splice(m,1);if(a.selector){f.delegateCount--};if(c.remove)
{c.remove.call(e,a)}}};if(v&&!f.length){if(!c.teardown||
c.teardown.call(e,g,h.handle)===!1){t.removeEvent(e,o,h.handle)};delete
d[o]}};if(t.isEmptyObject(d)){delete h.handle;t.re$
(e,'events')}},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.nodeType===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.namespace=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.test(v+c))
{u=u.parentNode};for(;u;u=u.parentNode){g.push(u);f=u};if(f===(o.ownerDocument||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.type]&&t.i$(u,'handle');if(d)
{d.apply(u,r)};d=p&&u[p];if(d&&t.acceptData(u)&&d.apply&&d.apply(u,r)===!1)
{s.preventDefault()}};s.type=c;if(!a&&!s.isDefaultPrevented()){if((!h.C$||
h.C$.apply(g.pop(),r)===!1)&&t.acceptData(o)){if(p&&o[c]&&!t.isWindow(o))
{f=o[p];if(f){o[p]=null};t.event.triggered=c;try{o[c]()}catch(l)
{};t.event.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.type]||[],s=t.event.special[e.type]||
{};l[0]=e;e.delegateTarget=this;if(s.preDispatch&&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.postDispatch.call(this,e)};return e.result},handlers:function(e,n){var
o,c,r,l,u=[],a=n.delegateCount,s=e.target;if(a&&s.nodeType&&(!e.button||e.type!
=='click')){for(;s!=this;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,handlers: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.mouseHooks:jt.test(s)?this.keyHooks:
{}};o=i.props?this.props.concat(i.props):this.props;e=new
t.Event(r);a=o.length;while(a--){l=o[a];e[l]=r[l]};if(!e.target)
{e.target=r.srcElement||n};if(e.target.nodeType===3)
{e.target=e.target.parentNode};e.metaKey=!!e.metaKey;return i.filter?
i.filter(e,r):e},props:'altKey bubbles cancelable ctrlKey currentTarget eventPhase
metaKey relatedTarget shiftKey target timeStamp view which'.split(' '),fixHooks:
{},keyHooks:{props:'char charCode key keyCode'.split(' '),filter:function(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(' '),filter:function(e,t){var
r,l,s,o=t.button,a=t.fromElement;if(e.pageX==null&&t.clientX!=null)
{l=e.target.ownerDocument||n;s=l.documentElement;r=l.body;e.pageX=t.clientX+
(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.clientTop||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:{load:{noBubble:!0},focus:{trigger:function(){if(this!
==Se()&&this.focus){try{this.focus();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.click)
{this.click();return!1}},C$:function(e){return
t.nodeName(e.target,'a')}},beforeunload:{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.dispatch.call(i,r)};if(r.isDefaultPrevented
()){n.preventDefault()}}};t.removeEvent=n.removeEventListener?function(e,t,i)
{if(e.removeEventListener){e.removeEventListener(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.getPreventDefault&&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,isImmediatePropag
ationStopped:T,preventDefault:function(){var
e=this.originalEvent;this.isDefaultPrevented=z;if(!e){return};if(e.preventDefault)
{e.preventDefault()}else{e.returnValue=!1}},stopPropagation:function(){var
e=this.originalEvent;this.isPropagationStopped=z;if(!e)
{return};if(e.stopPropagation){e.stopPropagation()};e.cancelBubble=!
0},stopImmediatePropagation:function()
{this.isImmediatePropagationStopped=z;this.stopPropagation()}};t.each({mouseenter:'
mouseover',mouseleave:'mouseout'},function(e,i)
{t.event.special[e]={delegateType:i,bindType:i,handle:function(e){var
o,r=this,n=e.relatedTarget,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.submitBubbles){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,'submitBubbles'))
{t.event.add(n,'submit._submit',function(e){e.Tt$=!0});t.i$(n,'submitBubbles',!
0)}})},postDispatch:function(e){if(e.Tt$){delete e.Tt$;if(this.parentNode&&!
e.isTrigger){t.event.simulate('submit',this.parentNode,e,!0)}}},teardown:function()
{if(t.nodeName(this,'form')){return!1};t.event.remove(this,'._submit')}}};if(!
t.support.changeBubbles){t.event.special.change={setup:function()
{if(B.test(this.nodeName)){if(this.type==='checkbox'||this.type==='radio')
{t.event.add(this,'propertychange._change',function(e)
{if(e.originalEvent.propertyName==='checked'){this.St$=!
0}});t.event.add(this,'click._change',function(e){if(this.St$&&!e.isTrigger)
{this.St$=!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.nodeName)&&!t.i$(i,'changeBubbles'))
{t.event.add(i,'change._change',function(e){if(this.parentNode&&!e.isSimulated&&!
e.isTrigger){t.event.simulate('change',this.parentNode,e,!0)}});t.i$
(i,'changeBubbles',!0)}})},handle:function(e){var t=e.target;if(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.focusinBubbles){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:function(){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){return 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){var
r,o;if(e&&e.preventDefault&&e.handleObj)
{r=e.handleObj;t(e.delegateTarget).off(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|
prev(?: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;return 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(this,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.matchesSelector(n,e)))
{n=s.push(n);break}}};return this.pushStack(s.length>1?
t.unique(s):s)},index:function(e){if(!e){return(this[0]&&this[0].parentNode)?
this.first().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==='string'?t(e,i):t.makeArray(e&&e.nodeType?
[e]:e),n=t.merge(this.get(),s);return
this.pushStack(t.unique(n))},addBack:function(e){return this.add(e==null?
this.prevObject:this.prevObject.filter(e))}});function Me(e,t)
{do{e=e[t]}while(e&&e.nodeType!==1);return e};t.each({parent:function(e){var
t=e.parentNode;return t&&t.nodeType!==11?t:null},parents:function(e){return
t.dir(e,'parentNode')},parentsUntil: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,'previousSibling')},nextUntil:function(e,i,n){return
t.dir(e,'nextSibling',n)},prevUntil:function(e,i,n){return
t.dir(e,'previousSibling',n)},siblings:function(e){return t.sibling((e.parentNode||
{}).firstChild,e)},children:function(e){return
t.sibling(e.firstChild)},contents:function(e){return t.nodeName(e,'iframe')?
e.contentDocument||
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(Ft.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,function(e){return(e===i)!
==n})};if(typeof i==='string'){if(Ht.test(i)){return
t.filter(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|header|hgroup|mark|meter|nav|output|
progress|section|summary|time|video',ai=/ jQuery\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|radio)$/i,It=/checked\s*(?:
[^=]|=\s*.checked.)/i,Oe=/^$|\/(?:java|ecma)script/i,Et=/^true\/(.*)/,Ot=/^\s*<!
(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g,a={option:[1,'<select
multiple=\'multiple\'>','</select>'],legend:[1,'<fieldset>','</fieldset>'],area:
[1,'<map>','</map>'],param:[1,'<object>','</object>'],thead:
[1,'<table>','</table>'],tr:[2,'<table><tbody>','</tbody></table>'],col:
[2,'<table><tbody></tbody><colgroup>','</colgroup></table>'],td:
[3,'<table><tbody><tr>','</tr></tbody></table>'],C$:t.support.htmlSerialize?
[0,'','']:[1,'X<div>','</div>']},zt=Te(n),H=zt.appendChild(n.createEle
ment('div'));a.optgroup=a.option;a.tbody=a.tfoot=a.colgroup=a.caption=a.thead;a.th=
a.td;t.fn.extend({text:function(e){return t.access(this,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.nodeType===11||
this.nodeType===9){var
t=we(this,e);t.insertBefore(e,t.firstChild)}})},before:function(){return
this.domManip(arguments,function(e){if(this.parentNode)
{this.parentNode.insertBefore(e,this)}})},after:function(){return
this.domManip(arguments,function(e){if(this.parentNode)
{this.parentNode.insertBefore(e,this.nextSibling)}})},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.nodeType===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:function(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().append(e)}},null,e,arguments.length)},replaceWith:function(){var
i=t.map(this,function(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(this).remove();r.insertBefore(n,s)}},!0);return e?
this:this.remove()},detach:function(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(function(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.childNodes.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.jt$
(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.type=(t.find.attr(e,'type')!==null)+'/'+e.type;return e};function De(e){var
t=Et.exec(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],'globalEval'))}};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.nodeName.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.parentNode)
{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
if(n==='option'){i.defaultSelected=i.selected=e.defaultSelected}else
if(n==='input'||n==='textarea')
{i.defaultValue=e.defaultValue}};t.each({appendTo:'append',prependTo:'prepend',inse
rtBefore:'before',insertAfter:'after',replaceAll:'replaceWith'},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
this.pushStack(o)}});function r(e,n){var a,o,l=0,s=typeof e.getElementsByTagName!
==c?e.getElementsByTagName(n||'*'):typeof e.querySelectorAll!==c?
e.querySelectorAll(n||'*'):i;if(!s){for(s=[],a=e.childNodes||e;(o=a[l])!=null;l++)
{if(!n||t.nodeName(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.cloneNode(!
0)}else{H.innerHTML=e.outerHTML;H.removeChild(a=H.firstChild)};if((!
t.support.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.nodeType?[o]:o)}else if(!Lt.test(o))
{u.push(i.createTextNode(o))}else{l=l||
h.appendChild(i.createElement('div'));p=(Qe.exec(o)||['',''])
[1].toLowerCase();d=a[p]||a.C$;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.childNodes[c]),'tbody')&&!m.childNodes.length)
{o.removeChild(m)}}};t.merge(u,l.childNodes);l.textContent='';while(l.firstChild)
{l.removeChild(l.firstChild)};l=h.lastChild}}};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:function(e,i){var
n,o,s,r,u=0,a=t.expando,l=t.cache,h=t.support.deleteExpando,f=t.event.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.removeAttribute!==c)
{n.removeAttribute(a)}else{n[a]=null};b.push(s)}}}}},jt$: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(function(i){t(this).wrapAll(e.call(this,i))})};if(this[0]){var
i=t(e,this[0].ownerDocument).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.firstChild};return
e}).append(this)};return this},wrapInner:function(e){if(t.isFunction(e)){return
this.each(function(i){t(this).wrapInner(e.call(this,i))})};return
this.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.childNodes)}}).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 RegExp('^('+I+')(.*)$','i'),A=new
RegExp('^('+I+')(?!px)[a-z%]+$','i'),kt=new
RegExp('^([+-])=('+I+')','i'),ot={BODY:'block'},Wt={position:'absolute',visibility:
'hidden',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.display===''&&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.display==='')
{n.style.display=i?o[s]||'':'none'}};return e};t.fn.extend({css:function(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
he(this,!0)},hide:function(){return he(this)},toggle:function(e){if(typeof
e==='boolean'){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:function(e,t){if(t){var i=m(e,'opacity');return i===''?'1':i}}}},cssNumber:
{'columnCount':!0,'fillOpacity':!0,'fontWeight':!0,'lineHeight':!0,'opacity':!
0,'order':!0,'orphans':!0,'widows':!0,'zIndex':!0,'zoom':!0},cssProps:
{'float':t.support.cssFloat?'cssFloat':'styl
eFloat'},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.cssProps[l]||
(t.cssProps[l]=le(f,l));a=t.cssHooks[n]||t.cssHooks[l];if(s!==i){u=typeof
s;if(u==='string'&&(c=kt.exec(s)))
{s=(c[1]+1)*c[2]+parseFloat(t.css(e,n));u='number'};if(s==null||
u==='number'&&isNaN(s)){return};if(u==='number'&&!t.cssNumber[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=parseFloat(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.minWidth;u=r.maxWidth;r.minWidth=r.maxWidth=r.width=o;o=a.width;r.wi
dth=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.style;if(s==null&&r&&r[t]){s=r[t]};if(A.test(s)&&!Pt.test(t))
{l=r.left;o=e.runtimeStyle;a=o&&o.left;if(a)
{o.left=e.currentStyle.left};r.left=t==='fontSize'?'1em':s;s=r.pixelLeft+'px';r.lef
t=l;if(a){o.left=a}};return s===''?'auto':s}};function ge(e,t,i){var
n=wt.exec(t);return n?Math.max(0,n[1]-(i||0))+(n[2]||'px'):t};function
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.css(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.offsetWidth: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.test(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')).appendTo(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};return 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.cssHooks[i]={get:function(e,n,s){if(n)
{return e.offsetWidth===0&&Nt.test(t.css(e,'display'))?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,'boxSizing',!1,r)==='border-
box',r):0)}}});if(!t.support.opacity){t.cssHooks.opacity={get: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.reliableMarginRight)
{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.offsetHeight<=0||(!
t.support.reliableHiddenOffsets&&((e.style&&e.style.display)||
t.css(e,'display'))==='none')};t.expr.filters.visible=function(e){return!
t.expr.filters.hidden(e)}};t.each({margin:'',padding:'',border:'Width'},function(e,
i){t.cssHooks[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|
button|image|reset|file)$/i,ni=/^(?:input|select|textarea|
keygen)/i;t.fn.extend({serialize: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(':disabled')&&ni.test(this.nodeName)&&!ri.test(e)&&(this.checked||!
W.test(e))}).map(function(e,i){var n=t(this).val();return n==null?
null:t.isArray(n)?t.map(n,function(e)
{return{name:i.name,value:e.replace(fe,'\r\n')}}):
{name:i.name,value:n.replace(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)
+'='+encodeURIComponent(i)};if(n===i)
{n=t.ajaxSettings&&t.ajaxSettings.traditional};if(t.isArray(e)||(e.jquery&&!
t.isPlainObject(e))){t.each(e,function(){o(this.name,this.value)})}else{for(r in e)
{G(r,e[r],n,o)}};return s.join('&').replace(ci,'+')};function 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 focus focusin focusout load
resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout
mouseenter mouseleave change select submit keydown keypress keyup error
contextmenu').split(' '),function(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,ee=t.now(),se=/\?/,at=/#.*$/,Ne=/
([?&])_=[^&]*/,ft=/^(.*?):[ \t]*([^\r\n]*)\r?$/mg,Jt=/^(?:about|app|app-storage|.+-
extension|file|res|widget):$/,Vt=/^(?:GET|HEAD)$/,yt=/^\/\//,Pe=/^([\w.+-]+:)
(?:\/\/([^\/?#:]*)(?::
(\d+)|)|)/,Ie=t.fn.load,Ee={},re={},xe='*/'.concat('*');try{u=si.href}catch(s)
{u=n.createElement('a');u.href='';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)||[];if(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}else if(a){return!(c=l)}});return
c};return o(i.dataTypes[0])||!r['*']&&o('*')};function 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=function(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.isFunction(n)){s=n;n=i}else
if(n&&typeof n==='object'){c='POST'};if(o.length>0)
{t.ajax({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','ajaxComplete','ajaxError','ajaxSuccess','ajax
Send'],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,contentType:'application/x-www-form-urlencoded; charset=UTF-8',accepts:
{'*':xe,text:'text/plain',html:'text/html',xml:'application/xml,
text/xml',json:'application/json, text/javascript'},contents:
{xml:/xml/,html:/html/,json:/json/},responseFields:
{xml:'responseXML',text:'responseText',json:'responseJSON'},converters:{'*
text':String,'text html':!0,'text json':t.parseJSON,'text
xml':t.parseXML},flatOptions:{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.Deferred(),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==null?
null:t},getAllResponseHeaders:function(){return c===2?
k:null},setRequestHeader: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:function(e){var t;if(e){if(c<2){for(t in e)
{b[t]=[b[t],e[t]]}}else{o.always(e[o.status])}};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.method||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.dat
a&&s.processData&&typeof s.data!=='string')
{s.data=t.param(s.data,s.traditional)};Ge(Ee,s,n,o);if(c===2){return
o};m=s.global;if(m&&t.active++===0)
{t.event.trigger('ajaxStart')};s.type=s.type.toUpperCase();s.hasContent=!
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.setRequestHeader('If-None-
Match',t.etag[a])}};if(s.data&&s.hasContent&&s.contentType!==!1||n.contentType)
{o.setRequestHeader('Content-
Type',s.contentType)};o.setRequestHeader('Accept',s.dataTypes[0]&&s.accepts[s.dataT
ypes[0]]?s.accepts[s.dataTypes[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.call(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.readyState=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.getResponseHeader('Last-Modified');if(p)
{t.lastModified[a]=p};p=o.getResponseHeader('etag');if(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='error';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?'ajaxSuccess':'ajaxError',[o,s,d?y:v])};P.fireWith(f,[o,u]);if(m)
{w.trigger('ajaxComplete',[o,s]);if(!(--t.active))
{t.event.trigger('ajaxStop')}}};return o},getJSON:function(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,success: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.toLowerCase()]=e.converters[o]}};r=f.shift();while(r){if(e.responseFields[r])
{i[e.responseFields[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, application/ecmascript,
application/x-ecmascript'},contents:{script:/(?:java|ecma)script/},converters:
{'text script':function(e){t.globalEval(e);return
e}}});t.ajaxPrefilter('script',function(e){if(e.cache===i){e.cache=!
1};if(e.crossDomain){e.type='GET';e.global=!
1}});t.ajaxTransport('script',function(e){if(e.crossDomain){var s,r=n.head||
t('head')[0]||n.documentElement;return{send:function(t,i)
{s=n.createElement('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||/loaded|complete/.test(s.readyState))
{s.onload=s.onreadystatechange=null;if(s.parentNode)
{s.parentNode.removeChild(s)};s=null;if(!t)
{i(200,'success')}}};r.insertBefore(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
jsonp',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.isFunction(n.jsonpCallback)?
n.jsonpCallback():n.jsonpCallback;if(c){n[c]=n[c].replace(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')};return a[0]};n.dataTypes[0]='json';l=e[o];e[o]=function()
{a=arguments};r.always(function(){e[o]=l;if(n[o])
{n.jsonpCallback=s.jsonpCallback;ae.push(o)};if(a&&t.isFunction(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.XMLHttpRequest()}catch(t)
{}};function mt(){try{return new e.ActiveXObject('Microsoft.XMLHTTP')}catch(t)
{}};t.ajaxSettings.xhr=e.ActiveXObject?function(){return!this.isLocal&&rt()||
mt()}:rt;w=t.ajaxSettings.xhr();t.support.cors=!!w&&('withCredentials' in
w);w=t.support.ajax=!!w;if(w){t.ajaxTransport(function(n){if(!n.crossDomain||
t.support.cors){var s;return{send:function(r,o){var u,c,l=n.xhr();if(n.username)
{l.open(n.type,n.url,n.async,n.username,n.password)}else{l.open(n.type,n.url,n.asyn
c)};if(n.xhrFields){for(c in n.xhrFields)
{l[c]=n.xhrFields[c]}};if(n.mimeType&&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=function(e,r){var c,d,h,f;try{if(s&&(r||l.readyState===4)){s=i;if(u)
{l.onreadystatechange=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.crossDomain){c=f.text?200:404}else if(c===1223)
{c=204}}}}catch(a){if(!r){o(-1,a)}};if(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}},abort:function(){if(s)
{s(i,!0)}}}}})};var k,O,ht=/^(?:toggle|show|hide)$/,ze=new RegExp('^(?:([+-])=|)
('+I+')([a-z%]*)$','i'),pt=/queueHooks$/,M=[bt],P={'*':[function(e,i){var
r=this.createTween(e,i),l=r.cur(),s=ze.exec(i),o=s&&s[3]||
(t.cssNumber[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=function(){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,tweens:[],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.tweens.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).alw
ays(s.opts.always)};function 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.isArray(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.isFunction(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)}else{M.push(e)}}});function bt(e,i,n){var
s,h,d,f,a,p,c=this,u={},o=e.style,l=e.nodeType&&S(e),r=t.i$(e,'fxshow');if(!
n.queue){a=t.He$(e,'fx');if(a.unqueued==null)
{a.unqueued=0;p=a.empty.fire;a.empty.fire=function(){if(!a.unqueued)
{p()}}};a.unqueued++;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.nodeName)==='inline'){o.display='inline-block'}else{o.zoom=1}}};if(n.overflow)
{o.overflow='hidden';if(!t.support.shrinkWrapBlocks){c.always(function()
{o.overflow=n.overflow[0];o.overflowX=n.overflow[1];o.overflowY=n.overflow[2]})}};f
or(s in i){h=i[s];if(ht.exec(h)){delete i[s];d=d||
h==='toggle';if(h===(l?'hide':'show')){continue};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()}else{c.done(function()
{t(e).hide()})};c.done(function(){var
i;t.re$(e,'fxshow');for(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}}}}};function o(e,t,i,n,s){return new
o.prototype.init(e,t,i,n,s)};t.Tween=o;o.prototype={constructor:o,init:function(e,i
,n,s,r,o)
{this.elem=e;this.prop=n;this.easing=r||'swing';this.options=i;this.start=this.now=
this.cur();this.end=s;this.unit=o||(t.cssNumber[n]?'':'px')},cur:function(){var
e=o.propHooks[this.prop];return e&&e.get?
e.get(this):o.propHooks.C$.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-this.start)*n+this.start;if(this.options.step)
{this.options.step.call(this.elem,this.now,this)};if(i&&i.set)
{i.set(this)}else{o.propHooks.C$.set(this)};return
this}};o.prototype.init.prototype=o.prototype;o.propHooks={C$:{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.unit)}else{e.elem[e.prop]=e.now}}}};o.propHooks.scro
llTop=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:fu
nction(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+'queueHooks',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.each(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)}};delete 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:
{opacity:'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:typeof s.duration==='number'?
s.duration:s.duration in t.fx.speeds?
t.fx.speeds[s.duration]:t.fx.speeds.C$;if(s.queue==null||s.queue===!0)
{s.queue='fx'};s.old=s.complete;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},swing:function(e){return 0.5-
Math.cos(e*Math.PI)/2}};t.timers=[];t.fx=o.prototype.init;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.timer=function(e)
{if(e()&&t.timers.push(e)){t.fx.start()}};t.fx.interval=13;t.fx.start=function()
{if(!O){O=setInterval(t.fx.tick,t.fx.interval)}};t.fx.stop=function()
{clearInterval(O);O=null};t.fx.speeds={slow:600,fast:200,C$: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(arguments.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.scrollTop)-(n.clientTop||0),left:r.left+(a.pageXOffset||
n.scrollLeft)-(n.clientLeft||0)}};t.offset={setOffset:function(e,i,n){var
u=t.css(e,'position');if(u==='static'){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=parseFloat(f)||
0};if(t.isFunction(i)){i=i.call(e,n,a)};if(i.top!=null){s.top=(i.top-a.top)
+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.getBoundingClientRect()}else{i=this.offsetParent();s=this.offset();if(!
t.nodeName(i[0],'html')){e=i.offset()};e.top+=t.css(i[0],'borderTopWidth',!
0);e.left+=t.css(i[0],'borderLeftWidth',!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(function(){var e=this.offsetParent||
oe;while(e&&(!t.nodeName(e,'html')&&t.css(e,'position')==='static'))
{e=e.offsetParent};return e||
oe})}});t.each({scrollLeft:'pageXOffset',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.each({Height:'height',Width:'width'},function(e,n)
{t.each({padding:'inner'+e,content: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['scroll'+e],o['scroll'+e],n.body['offset'+e],o['offset'+e],o['clien
t'+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(){return
this.length};t.fn.andSelf=t.fn.addBack;if(typeof module==='object'&&module&&typeof
module.exports==='object'){module.exports=t}else{e.jQuery=e.$=t;if(typeof
define==='function'&&define.amd){define('jquery',[],function(){return t})}}})
(window);(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.migrateTrace===i){e.migrateTrace=!0};e.migrateReset=function()
{a={};e.migrateWarnings.length=0};function n(i){var n=t.console;if(!a[i]){a[i]=!
0;e.migrateWarnings.push(i);if(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.defineProperty(t,i,{configurable:!
0,enumerable:!0,get:function(){n(r);return s},set:function(e)
{n(r);s=e}});return}catch(o){}};e.Di$=!
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.value.ge
t||function(){return null},y=e.attrHooks.value&&e.attrHooks.value.set||function()
{return i},x=/^(?:input|button)$/i,v=/^[238]$/,k=/^(?:autofocus|autoplay|async|
checked|controls|defer|disabled|hidden|loop|multiple|open|readonly|required|scoped|
selected)$/i,b=/^(?:checked|selected)$/i;l(e,'attrFn',o||{},'jQuery.attrFn is
deprecated');e.attr=function(t,s,r,a){var l=s.toLowerCase(),c=t&&t.nodeType;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==='type'&&r!==i&&x.test(t.nodeName)&&t.parentNode){n('Can\'t change
the \'type\' of an 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){var s;if(i===!1)
{e.removeAttr(t,n)}else{s=e.propFix[n]||n;if(s in t){t[s]=!
0};t.setAttribute(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.attrHooks.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.attr(\'value\')
no longer gets properties')};return t in e?e.value:null},set:function(e,t){var
i=(e.nodeName||'').toLowerCase();if(i==='button'){return
y.apply(this,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==='string'&&!
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.parseHTML(r[2],i,!0),i,s)}};return
f.apply(this,arguments)};e.fn.init.prototype=e.fn;e.parseJSON=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.]+)/.exec(e)||/(opera)(?:.*version|)
[ \/]([\w.]+)/.exec(e)||/(msie) ([\w.]+)/.exec(e)||e.indexOf('compatible')<0&&/
(mozilla)(?:.*? rv:([\w.]+)|)/.exec(e)||
[];return{browser: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.browser 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.constructor=t;t.sub=this.s
ub;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:
{'text 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}};return 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.addBack()');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 deprecated');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.parentNode.removeChild(e):e):s.appendChild(e)}};for(l=0;(o=a[l])!=null;l++){if(!
(e.nodeName(o,'script')&&c(o))){s.appendChild(o);if(typeof o.getElementsByTagName!
=='undefined')
{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.remove,T=e.event.trigger,P=e.fn.toggle,p=e.fn.live,d=e.fn.d
ie,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 \'mouseenter mouseleave\'')};return
t&&t.replace(h,'mouseenter$1 mouseleave$1')};if(e.event.props&&e.event.props[0]!
=='attrChange')
{e.event.props.unshift('attrChange','attrName','relatedNode','srcElement')};if(e.ev
ent.dispatch){l(e.event,'handle',e.event.dispatch,'jQuery.event.handle is
undocumented and deprecated')};e.event.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=function(e,t,i,n,s)
{S.call(this,e,c(t)||'',i,n,s)};e.fn.error=function(){var
e=Array.prototype.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.triggerHandler.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, handler...) is
deprecated');var r=arguments,a=t.guid||e.guid++,s=0,o=function(i){var 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.length){r[s++].guid=a};return
this.click(o)};e.fn.live=function(t,i,s){n('jQuery.fn.live() 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 deprecated');if(d){return
d.apply(this,arguments)};e(this.context).off(t,this.selector||'**',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||
document,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.event.trigger(i,null,t,!0)});e.i$(this,i,e.guid++)};return!
1},teardown:function(){if(this!==document){e.event.remove(document,i+'.'+e.i$
(this,i))};return!1}}})})(jQuery,window);(function(e){'use strict';if(typeof
define==='function'&&define.amd){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.prop.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==='string')?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':'about: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 via 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('ajaxSubmit:
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.indexOf('?')>=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.includeHidden)})};if(!n.dataType&&n.target){var
S=n.success||function(){};c.push(function(t){var
i=n.replaceTarget?'replaceWith':'html';e(n.target)[i](t).each(S,arguments)})}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.context||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])])};r
eturn o};function T(t){var a=new FormData();for(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.data=null;var s=e.extend(!0,{},e.ajaxSettings,n,{contentType:!
1,processData:!1,cache:!1,type:o||'POST'});if(n.uploadProgress){s.xhr=function()
{var t=e.ajaxSettings.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.uploadProgress(e,s,t,i)},!1)};return t}};s.data=null;var
l=s.beforeSend;s.beforeSend=function(e,t){if(n.formData)
{t.data=n.formData}else{t.data=a};if(l){l.call(this,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({position:'absolute',top:'-1000px',left:'-
1000px'})};f=d[0];l={aborted:0,responseText:null,responseXML:null,status:0,statusTe
xt:'n/a',getAllResponseHeaders:function(){},getResponseHeader:function()
{},setRequestHeader:function(){},abort:function(i){var
s=(i==='timeout'?'timeout':'aborted');t('aborting upload...
'+s);this.aborted=1;try{if(f.contentWindow.document.execCommand)
{f.contentWindow.document.execCommand('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.complete)
{a.complete.call(a.context,l,s)}}};m=a.global;if(m&&0===e.active++)
{e.event.trigger('ajaxStart')};if(m){e.event.trigger('ajaxSend',
[l,a])};if(a.beforeSend&&a.beforeSend.call(a.context,l,a)===!1){if(a.global)
{e.active--};p.reject();return p};if(l.aborted){p.reject();return p};b=u.clk;if(b)
{g=b.name;if(g&&!b.disabled){a.extraData=a.extraData||
{};a.extraData[g]=b.value;if(b.type=='image')
{a.extraData[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('cannot
get iframe.contentWindow document: '+i)};if(n){return n};try{n=e.contentDocument?
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='multipart/form-
data',m=s.attr('enctype')||s.attr('encoding')||g;u.setAttribute('target',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.timeout){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.extraData.hasOwnProperty(n))
{if(e.isPlainObject(a.extraData[n])&&a.extraData[n].hasOwnProperty('name')&&a.extra
Data[n].hasOwnProperty('value')){r.push(e('<input type="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);try{u.submit()}catch(i){var
p=document.createElement('form').submit;p.apply(u)}}finally{u.setAttribute('action'
,c);u.setAttribute('enctype',m);if(h)
{u.setAttribute('target',h)}else{s.removeAttr('target')};e(r).remove()}};if(a.force
Sync){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('timeout');p.reject(l,'timeout');return}else if(i==T&&l){l.abort('server
abort');p.reject(l,'error','server abort');return};if(!c||
c.location.href==a.iframeSrc){if(!k){return}};if(f.detachEvent)
{f.detachEvent('onload',v)}else{f.removeEventListener('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.responseText=o?
o.innerHTML:null;l.responseXML=c.XMLDocument?c.XMLDocument:c;if(x)
{a.dataType='xml'};l.getResponseHeader=function(e){var t={'content-
type':a.dataType};return 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.getElementsByTagName('textarea')[0];if(u)
{l.responseText=u.value;l.status=Number(u.getAttribute('status'))||
l.status;l.statusText=u.getAttribute('statusText')||l.statusText}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)}catch(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===undefined)
{r=l.statusText};if(a.error)
{a.error.call(a.context,l,s,r)};p.reject(l,'error',r);if(m)
{e.event.trigger('ajaxError',[l,a,r])}};if(m){e.event.trigger('ajaxComplete',
[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(function(){if(!a.iframeTarget)
{d.remove()}else{d.attr('src',a.iframeSrc)};l.responseXML=null},100)};var
I=e.parseXML||function(e,t){if(window.ActiveXObject){t=new
ActiveXObject('Microsoft.XMLDOM');t.async='false';t.loadXML(e)}else{t=(new
DOMParser()).parseFromString(e,'text/xml')};return(t&&t.documentElement&&t.document
Element.nodeName!='parsererror')?t:null},O=e.parseJSON||function(e){return
window['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('javascript')>=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.length===0){var r={s:this.selector,c:this.context};if(!
e.isReady&&r.s){t('DOM not ready, queuing ajaxForm');e(function()
{e(r.s,r.c).ajaxForm(i)});return this};t('terminating; zero elements found by
selector'+(e.isReady?'':' (DOM not ready)'));return 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.ajaxFormUnbind().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).ajaxSubmit(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]};var
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.clk_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.form-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;if(l&&!/MSIE
[678]/.test(navigator.userAgent)){l=e(l).get()};if(b)
{d=e(':input[form='+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.type}
)}}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.push({name:r+'.x',value:a.clk_x},
{name:r+'.y',value:a.clk_y})}};return o};e.fn.formSerialize=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({name: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.constructor==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};var
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.attributes.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(function()
{e('input,select,textarea',this).clearFields(t)})};e.fn.clearFields=e.fn.clearInput
s=function(t){var i=/^(?:color|date|datetime|email|month|number|password|range|
search|tel|text|time|url|week)$/i;return this.each(function(){var
n=this.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.selectedIndex=-1}else if(n=='file')
{if(/MSIE/.test(navigator.userAgent)){e(this).replaceWith(e(this).clone(!
0))}else{e(this).val('')}}else if(t){if((t===!0&&/hidden/.test(n))||(typeof
t=='string'&&e(this).is(t))){this.value=''}}})};e.fn.resetForm=function(){return
this.each(function(){if(typeof this.reset=='function'||(typeof
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.tagName.toLowerCase()=='option'){var
i=e(this).parent('select');if(t&&i[0]&&i[0].type=='select-one')
{i.find('option').selected(!1)};this.selected=t}})};e.fn.ajaxSubmit.debug=!
1;function
t(){if(!e.fn.ajaxSubmit.debug){return};var t='[jquery.form]
'+Array.prototype.join.call(arguments,'');if(window.console&&window.console.log)
{window.console.log(t)}else if(window.opera&&window.opera.postError)
{window.opera.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 Date();n.setTime(n.getTime()+
(i.expires*24*60*60*1000))}else{n=i.expires};r='; expires='+n.toUTCString()};var
f=i.path?'; path='+(i.path):'',u=i.domain?'; domain='+(i.domain):'',c=i.secure?';
secure':'';document.cookie=[e,'=',encodeURIComponent(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.length+1));break}}};return l}};(function(e,t,i)
{'use strict';e.map(['localStorage','sessionStorage'],function(n){var
r={cookiePrefix:'fallback:'+n+':',cookieOptions:{path:'/',domain:i.domain,expires:
('localStorage'===n)?{expires:365}:undefined}};try{e.support[n]=n in t&&t[n]!
==null}catch(s){e.support[n]=!1};e[n]=function(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]);return
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=fun
ction(i){return e.support[n]?
t[n].removeItem(i):e.cookie(a.cookiePrefix+i,null,e.extend(a.cookieOptions,
{expires:-1}))};this.clear=function(){if(e.support[n]){return t[n].clear()}else{var
r=new RegExp('^'+a.cookiePrefix,''),s=e.extend(a.cookieOptions,{expires:-
1});if(i.cookie&&i.cookie!==''){e.map(i.cookie.split(';'),function(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.removeItem(s):this.setItem(s,o)):this.getItem(s)};return
this};e[n].options=r})}(jQuery,window,document));$.fn.customFileInput=function()
{return $(this).each(function(){var e=$(this).addClass('customfile-
input').mouseover(function(){t.addClass('customfile-hover')}).mouseout(function()
{t.removeClass('customfile-hover')}).focus(function(){t.addClass('customfile-
focus');e.data('val',e.val())}).blur(function(){t.removeClass('customfile-focus');$
(this).trigger('checkChange')}).bind('disable',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('change')}}).bind('change',function(){var t=$
(this).val().split(/\\/).pop(),e='customfile-
ext-'+t.split('.').pop().toLowerCase();i.text(t).removeClass(i.data('fileExt')||'')
.addClass(e).data('fileExt',e).addClass('customfile-feedback-
populated');n.html('<span>Change</span>')}).click(function()
{e.data('val',e.val());setTimeout(function(){e.trigger('checkChange')},100)}),t=$
('<div class="customfile"></div>'),i=$('<span class="customfile-feedback" aria-
hidden="true">No file selected...</span>').appendTo(t),n=$('<span
class="customfile-button siteButton bigButton" aria-
hidden="true"><span>Browse</span></span>').appendTo(t);if(e.is('[disabled]'))
{e.trigger('disable')};t.mousemove(function(i){e.css({'left':i.pageX-
t.offset().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.fn.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','none').removeAttr('id').removeA
ttr('name')}else{n.val(e('input.'+i).val()).attr('id',e('input.'+i).attr('id')).att
r('name',e('input.'+i).attr('name'));n.css('display','inline');e('input.'+i).css('d
isplay','none').removeAttr('id').removeAttr('name')}})};return this.each(function()
{var s={classname:'nobr block font11px lightgrey',name:'password-input',text:' Show
password'};var
o='spcb_'+parseInt(Math.random()*1000),r=o.replace('spcb_','spin_');if(n.attr('clas
s')!==''){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{theclass='
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=='object'||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.Notification;var
n=t.webkitNotifications;if(!n)return(function(){var
t={};t.permissionLevel=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.createNotification(s.iconUrl||'',t,s.body||'');r.titleDir=s.titleDir||'auto';r.
body=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=functi
on(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.permissionLevel();if(n!=='default')
{t.clearInterval(e);s()}},200)})};return i}()),n=function(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.autoclose==='undefined'?!0:t.autoclose;t.timeout=t.timeout||
Infinity;i.requestPermission(function(){if((i.permission||i.permissionLevel())!
=='granted'){n.reject(i.permissionLevel());return};var e=new
i(t.title,t);if(isFinite(t.timeout)){e.addEventListener('show',function()
{setTimeout(function(){e.cancel()},t.timeout)},!1)};if(t.autoclose)
{e.addEventListener('click',function(){e.cancel()},!1)};n.resolve(e)});return
n.promise()};n.permissionLevel=i.permissionLevel;n.requestPermission=i.requestPermi
ssion;return n}(jQuery,window));this.vtip=function(){this.xOffset=-
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}).fadeIn('fast')},functi
on(){this.title=this.t;$
('div#vtip').fadeOut('slow').remove()})};jQuery(document).ready(function(e)
{vtip()});(function(e,t){var s=0,r=/^ui-id-\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_MULTIPL
Y: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.call(t)}},i)}):t.apply(this,arguments)}})
(e.fn.focus),scrollParent:function(){var t;if((e.ui.ie&&(/(static|
relative)/).test(this.css('position')))||(/absolute/).test(this.css('position')))
{t=this.parents().filter(function(){return(/(relative|absolute|
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=this.parents().filter(function(){return(/
(auto|scroll)/).test(e.css(this,'overflow')+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.length&&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.parent()}};return 0},uniqueId:function(){return this.each(function(){if(!
this.id){this.id='ui-id-'+(++s)}})},removeUniqueId:function(){return
this.each(function(){if(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).parents().addBack().filter(function(){return
e.css(this,'visibility')==='hidden'}).length};e.extend(e.expr[':'],
{data:e.expr.createPseudo?e.expr.createPseudo(function(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.fn.innerWidth,innerHeight:e.fn.i
nnerHeight,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]=function(i)
{if(i===t){return s['inner'+n].call(this)};return this.each(function()
{e(this).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(this)}}})(e.fn.removeData)};e.ui.ie=!!/msie [\w.]
+/.exec(navigator.userAgent.toLowerCase());e.support.selectstart='onselectstart' in
document.createElement('div');e.fn.extend({disableSelection:function(){return
this.bind((e.support.selectstart?'selectstart':'mousedown')+'.ui-
disableSelection',function(e){e.preventDefault()})},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].apply(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=Array.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.qe$){return new s(e,t)};if(arguments.length){this.qe$
(e,t)}};e.extend(s,o,{version:n.version,oi$:e.extend({},n),te$:[]});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(){return
i.prototype[t].apply(this,arguments)},e=function(e){return
i.prototype[t].apply(this,e)};return function(){var
r=this.ie$,i=this.xe$,t;this.ie$=s;this.xe$=e;t=n.apply(this,arguments);this.ie$=r;
this.xe$=i;return t}})()});s.prototype=e.widget.extend(a,{widgetEventPrefix:o?
a.widgetEventPrefix:t},c,
{constructor:s,namespace:r,widgetName:t,widgetFullName:l});if(o)
{e.each(o.te$,function(t,i){var
n=i.prototype;e.widget(n.namespace+'.'+n.widgetName,s,i.oi$)});delete
o.te$}else{i.te$.push(s)};e.widget.bridge(t,s)};e.widget.extend=function(n){var
a=i.call(arguments,1),o=0,l=a.length,s,r;for(;o<l;o++){for(s in a[o]){r=a[o]
[s];if(a[o].hasOwnProperty(s)&&r!==t){if(e.isPlainObject(r))
{n[s]=e.isPlainObject(n[s])?
e.widget.extend({},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=typeof o==='string',a=i.call(arguments,1),l=this;o=!
c&&a.length?e.widget.extend.apply(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; attempted 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.each(function(){var
t=e.data(this,r);if(t){t.option(o||{}).Be$()}else{e.data(this,r,new
s(o,this))}})};return l}};e.Widget=function()
{};e.Widget.te$=[];e.Widget.prototype={widgetName:'widget',widgetEventPrefix:'',def
aultElement:'<div>',options:{disabled:!1,create:null},qe$:function(t,i){i=e(i||
this.defaultElement||this)[0];this.element=e(i);this.uuid=s+
+;this.eventNamespace='.'+this.widgetName+this.uuid;this.options=e.widget.extend({}
,this.options,this.hi$
(),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.D$();this.t$('create',null,this.Ti$
());this.Be$()},hi$:e.noop,Ti$:e.noop,D$:e.noop,Be$:e.noop,destroy:function()
{this.S$
();this.element.unbind(this.eventNamespace).removeData(this.widgetName).removeData(
this.widgetFullName).removeData(e.camelCase(this.widgetFullName));this.widget().unb
ind(this.eventNamespace).removeAttr('aria-
disabled').removeClass(this.widgetFullName+'-disabled ui-state-
disabled');this.bindings.unbind(this.eventNamespace);this.hoverable.removeClass('ui
-state-hover');this.focusable.removeClass('ui-state-
focus')},S$:e.noop,widget:function(){return this.element},option:function(i,n){var
a=i,s,r,o;if(arguments.length===0){return
e.widget.extend({},this.options)};if(typeof i==='string')
{a={};s=i.split('.');i=s.shift();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.xi$(a);return this},xi$: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-disabled',t);this.hoverable.removeClass('ui-state-
hover');this.focusable.removeClass('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.widget()}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-disabled'))){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)}})},Bi$:function(e,t){t=(t||'').split('
').join(this.eventNamespace+' ')
+this.eventNamespace;e.unbind(t).undelegate(t)},f$:function(e,t){function n()
{return(typeof e==='string'?i[e]:e).apply(i,arguments)};var i=this;return
setTimeout(n,t||0)},Wi$:function(t){this.hoverable=this.hoverable.add(t);this.T$(t,
{mouseenter:function(t){e(t.currentTarget).addClass('ui-state-
hover')},mouseleave:function(t){e(t.currentTarget).removeClass('ui-state-
hover')}})},Oi$:function(t){this.focusable=this.focusable.add(t);this.T$(t,
{focusin:function(t){e(t.currentTarget).addClass('ui-state-
focus')},focusout:function(t){e(t.currentTarget).removeClass('ui-state-
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.originalEven
t;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:'fadeOut'},function(t,i)
{e.Widget.prototype['_'+t]=function(n,s,r){if(typeof s==='string')
{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;if(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).mouseup(function(){i=!1});e.widget('ui.mouse',
{version:'1.10.3',options:
{cancel:'input,textarea,button,select,option',distance:1,delay:0},B$:function(){var
t=this;this.element.bind('mousedown.'+this.widgetName,function(e){return t.ri$
(e)}).bind('click.'+this.widgetName,function(i){if(!
0===e.data(i.target,t.widgetName+'.preventClickEvent'))
{e.removeData(i.target,t.widgetName+'.preventClickEvent');i.stopImmediatePropagatio
n();return!1}});this.started=!1},ee$:function()
{this.element.unbind('.'+this.widgetName);if(this.he$)
{e(document).unbind('mousemove.'+this.widgetName,this.he$).unbind('mouseup.'+this.w
idgetName,this.Ne$)}},ri$:function(t){if(i){return}(this.P$&&this.y$
(t));this.ue$=t;var n=this,r=(t.which===1),s=(typeof
this.options.cancel==='string'&&t.target.nodeName?
e(t.target).closest(this.options.cancel).length:!1);if(!r||s||!this.q$(t)){return!
0};this.mouseDelayMet=!this.options.delay;if(!this.mouseDelayMet)
{this.qi$=setTimeout(function(){n.mouseDelayMet=!
0},this.options.delay)};if(this.Je$(t)&&this.Qe$(t)){this.P$=(this.z$(t)!==!1);if(!
this.P$){t.preventDefault();return!0}};if(!
0===e.data(t.target,this.widgetName+'.preventClickEvent'))
{e.removeData(t.target,this.widgetName+'.preventClickEvent')};this.he$=function(e)
{return n.ai$(e)};this.Ne$=function(e){return n.y$
(e)};e(document).bind('mousemove.'+this.widgetName,this.he$).bind('mouseup.'+this.w
idgetName,this.Ne$);t.preventDefault();i=!0;return!0},ai$:function(t)
{if(e.ui.ie&&(!document.documentMode||document.documentMode<9)&&!t.button){return
this.y$(t)};if(this.P$){this.w$(t);return t.preventDefault()};if(this.Je$
(t)&&this.Qe$(t)){this.P$=(this.z$(this.ue$,t)!==!1);(this.P$?this.w$(t):this.y$
(t))};return!this.P$},y$:function(t)
{e(document).unbind('mousemove.'+this.widgetName,this.he$).unbind('mouseup.'+this.w
idgetName,this.Ne$);if(this.P$){this.P$=!1;if(t.target===this.ue$.target)
{e.data(t.target,this.widgetName+'.preventClickEvent',!0)};this.O$(t)};return!
1},Je$:function(e){return(Math.max(Math.abs(this.ue$.pageX-e.pageX),Math.abs(thi
s.ue$.pageY-e.pageY))>=this.options.distance)},Qe$:function(){return
this.mouseDelayMet},z$:function(){},w$:function(){},O$:function(){},q$: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[parseFloat(e[0])*(o.test(e[0])?t/100:1),parseFloat(e[1])*(o.test(e[1])?
i/100:1)]};function s(t,i){return parseInt(e.css(t,i),10)||0};function d(t){var
i=t[0];if(i.nodeType===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:
{top:i.pageY,left:i.pageX}}};return{width:t.outerWidth(),height:t.outerHeight(),off
set: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;\'><div
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.scrollbarWidth():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.offset()||
{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.getScrollIn
fo(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','at'],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]==='center')
{m.top+=o/2};b=a(x.at,r,o);m.left+=b[0];m.top+=b[1];return this.each(function(){var
S,T,h=e(this),f=h.outerWidth(),c=h.outerHeight(),y=s(this,'marginLeft'),p=s(this,'m
arginTop'),P=f+y+s(this,'marginRight')+C.width,D=c+p+s(this,'marginBottom')
+C.height,l=e.extend({},m),d=a(x.my,h.outerWidth(),h.outerHeight());if(t.my[0]==='r
ight'){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={marginLeft:y,marginTop:p};e.each(['left','top'
],function(i,n){if(e.ui.position[v[i]]){e.ui.position[v[i]][n](l,
{targetWidth:r,targetHeight:o,elemWidth:f,elemHeight:c,collisionPosition:S,collisio
nWidth: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.left,d=u+r-f,a=g.top-l.top,p=a+o-c,s={target:
{element:w,left:g.left,top:g.top,width:r,height:o},element:
{element:h,left:l.left,top:l.top,width:f,height:c},horizontal:d<0?'left':u>0?'right
':'center',vertical:p<0?'top':a>0?'bottom':'middle'};if(r<f&&i(u+d)<r)
{s.horizontal='center'};if(o<c&&i(a+p)<o)
{s.vertical='middle'};if(n(i(u),i(d))>n(i(a),i(p)))
{s.important='horizontal'}else{s.important='vertical'};t.using.call(this,e,s)}};h.o
ffset(e.extend(l,{using:T}))})};e.ui.position={fit:{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.left=s}}}else if(i>0){e.left+=i}else if(r>0){e.left-
=r}else{e.left=n(e.left-l,e.left)}},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.top+=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.width,c=n.isWindow?
n.scrollLeft:n.offset.left,u=e.left-t.collisionPosition.marginLeft,h=u-
c,d=u+t.collisionWidth-f-c,r=t.my[0]==='left'?-t.elemWidth:t.my[0]==='right'?
t.elemWidth:0,o=t.at[0]==='left'?t.targetWidth:t.at[0]==='right'?-
t.targetWidth: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.collisionPosition.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,ar
guments)},top:function()
{e.ui.position.flip.top.apply(this,arguments);e.ui.position.fit.top.apply(this,argu
ments)}}};(function(){var t,n,i,o,a,r=document.getElementsByTagName('body')
[0],s=document.createElement('div');t=document.createElement(r?'div':'body');i={vis
ibility:'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.innerHTM
L='';n.removeChild(t)})()}(jQuery));(function(e,t)
{e.widget('ui.draggable',e.ui.mouse,
{version:'1.10.3',widgetEventPrefix:'drag',options:{addClasses:!
0,appendTo:'parent',axis:!1,connectToSortable:!1,containment:!
1,cursor:'auto',cursorAt:!1,grid:!1,handle:!1,helper:'original',iframeFix:!
1,opacity:!1,refreshPositions:!1,revert:!
1,revertDuration:500,scope:'default',scroll:!
0,scrollSensitivity:20,scrollSpeed:20,snap:!
1,snapMode:'both',snapTolerance:20,stack:!1,zIndex:!
1,drag:null,start:null,stop:null},D$:function()
{if(this.options.helper==='original'&&!(/^(?:r|a|
f)/).test(this.element.css('position')))
{this.element[0].style.position='relative'};if(this.options.addClasses)
{this.element.addClass('ui-draggable')};if(this.options.disabled)
{this.element.addClass('ui-draggable-disabled')};this.B$()},S$:function()
{this.element.removeClass('ui-draggable ui-draggable-dragging ui-draggable-
disabled');this.ee$()},q$: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.si$(t);if(!this.handle){return!1};e(i.iframeFix===!
0?'iframe':i.iframeFix).each(function(){e('<div class=\'ui-draggable-iframeFix\'
style=\'background:
#fff;\'></div>').css({width:this.offsetWidth+'px',height:this.offsetHeight+'px',pos
ition:'absolute',opacity:'0.001',zIndex:1000}).css(e(this).offset()).appendTo('body
')});return!0},z$:function(t){var i=this.options;this.helper=this.be$
(t);this.helper.addClass('ui-draggable-dragging');this.K$();if(e.ui.ddmanager)
{e.ui.ddmanager.current=this};this.Se$
();this.cssPosition=this.helper.css('position');this.scrollParent=this.helper.scrol
lParent();this.offsetParent=this.helper.offsetParent();this.offsetParentCssPosition
=this.offsetParent.css('position');this.offset=this.positionAbs=this.element.offset
();this.offset={top:this.offset.top-this.margins.top,left:this.offset.left-
this.margins.left};this.offset.scroll=!1;e.extend(this.offset,{click:{left:t.pageX-
this.offset.left,top:t.pageY-this.offset.top},parent:this.Q$(),relative:this.ne$
()});this.originalPosition=this.position=this.V$
(t);this.originalPageX=t.pageX;this.originalPageY=t.pageY;(i.cursorAt&&this.we$
(i.cursorAt));this.Te$();if(this.t$('start',t)===!1){this.H$();return!1};this.K$
();if(e.ui.ddmanager&&!i.dropBehaviour)
{e.ui.ddmanager.prepareOffsets(this,t)};this.w$(t,!0);if(e.ui.ddmanager)
{e.ui.ddmanager.dragStart(this,t)};return!0},w$:function(t,i)
{if(this.offsetParentCssPosition==='fixed'){this.offset.parent=this.Q$
()};this.position=this.V$(t);this.positionAbs=this.c$('absolute');if(!i){var
n=this.n$();if(this.t$('drag',t,n)===!1){this.y$({});return!
1};this.position=n.position};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'};if(e.ui.ddmanager)
{e.ui.ddmanager.drag(this,t)};return!1},O$: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,this.element[0])){return!
1};if((this.options.revert==='invalid'&&!i)||(this.options.revert==='valid'&&i)||
this.options.revert===!0||
(e.isFunction(this.options.revert)&&this.options.revert.call(this.element,i)))
{e(this.helper).animate(this.originalPosition,parseInt(t
his.options.revertDuration,10),function(){if(n.t$('stop',t)!==!1){n.H$
()}})}else{if(this.t$('stop',t)!==!1){this.H$()}};return!1},y$:function(t)
{e('div.ui-draggable-iframeFix').each(function()
{this.parentNode.removeChild(this)});if(e.ui.ddmanager)
{e.ui.ddmanager.dragStop(this,t)};return
e.ui.mouse.prototype.y$.call(this,t)},cancel:function(){if(this.helper.is('.ui-
draggable-dragging')){this.y$({})}else{this.H$()};return this},si$:function(t)
{return this.options.handle?!!
e(t.target).closest(this.element.find(this.options.handle)).length:!
0},be$:function(t){var n=this.options,i=e.isFunction(n.helper)?
e(n.helper.apply(this.element[0],[t])):(n.helper==='clone'?
this.element.clone().removeAttr('id'):this.element);if(!i.parents('body').length)
{i.appendTo((n.appendTo==='parent'?
this.element[0].parentNode:n.appendTo))};if(i[0]!==this.element[0]&&!(/(fixed|
absolute)/).test(i.css('position'))){i.css('position','absolute')};return
i},we$: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.top=this.helperProportions.height-
t.bottom+this.margins.top}},Q$:function(){var
t=this.offsetParent.offset();if(this.cssPosition==='absolute'&&this.scrollParent[0]
!==document&&e.contains(this.scrollParent[0],this.offsetParent[0]))
{t.left+=this.scrollParent.scrollLeft();t.top+=this.scrollParent.scrollTop()};if((t
his.offsetParent[0]===document.body)||
(this.offsetParent[0].tagName&&this.offsetParent[0].tagName.toLowerCase()==='html'&
&e.ui.ie)){t={top:0,left:0}};return{top:t.top+
(parseInt(this.offsetParent.css('borderTopWidth'),10)||0),left:t.left+
(parseInt(this.offsetParent.css('borderLeftWidth'),10)||0)}},ne$:function()
{if(this.cssPosition==='relative'){var e=this.element.position();return{top:e.top-
(parseInt(this.helper.css('top'),10)||0)+this.scrollParent.scrollTop(),left:e.left-
(parseInt(this.helper.css('left'),10)||
0)+this.scrollParent.scrollLeft()}}else{return{top:0,left:0}}},Se$:function()
{this.margins={left:(parseInt(this.element.css('marginLeft'),10)||0),top:
(parseInt(this.element.css('marginTop'),10)||0),right:
(parseInt(this.element.css('marginRight'),10)||0),bottom:
(parseInt(this.element.css('marginBottom'),10)||0)}},K$:function()
{this.helperProportions={width:this.helper.outerWidth(),height:this.helper.outerHei
ght()}},Te$:function(){var s,t,n,i=this.options;if(!i.containment)
{this.containment=null;return};if(i.containment==='window')
{this.containment=[e(window).scrollLeft()-this.offset.relative.left-
this.offset.parent.left,e(window).scrollTop()-this.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(document).height()||document.body.parentNode.scrollHeight)-
this.helperProportions.height-
this.margins.top];return};if(i.containment.constructor===Array)
{this.containment=i.containment;return};if(i.containment==='parent')
{i.containment=this.helper[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)+
(parseInt(t.css('paddingTop'),10)||0),(s?
Math.max(n.scrollWidth,n.offsetWidth):n.offsetWidth)-
(parseInt(t.css('borderRightWidth'),10)||0)-(parseInt(t.css('paddingRight'),10)||
0)-this.helperProportions.width-this.margins.left-this.margins.right,(s?
Math.max(n.scrollHeight,n.offsetHeight):n.offsetHeight)-
(parseInt(t.css('borderBottomWidth'),10)||0)-(parseInt(t.css('paddingBottom'),10)||
0)-this.helperProportions.height-this.margins.top-
this.margins.bottom];this.relative_container=t},c$:function(t,i){if(!i)
{i=this.position};var n=t==='absolute'?1:-1,s=this.cssPosition==='absolute'&&!
(this.scrollParent[0]!
==document&&e.contains(this.scrollParent[0],this.offsetParent[0]))?
this.offsetParent:this.scrollParent;if(!this.offset.scroll)
{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==='fixed'?-
this.scrollParent.scrollTop():this.offset.scroll.top)*n)),left:
(i.left+this.offset.relative.left*n+this.offset.parent.left*n-
((this.cssPosition==='fixed'?-
this.scrollParent.scrollLeft():this.offset.scroll.left)*n))}},V$:function(t){var
i,a,r,s,n=this.options,c=this.cssPosition==='absolute'&&!(this.scrollParent[0]!
==document&&e.contains(this.scrollParent[0],this.offsetParent[0]))?
this.offsetParent:this.scrollParent,o=t.pageX,l=t.pageY;if(!this.offset.scroll)
{this.offset.scroll={top:c.scrollTop(),left:c.scrollLeft()}};if(this.originalPositi
on){if(this.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.containm
ent};if(t.pageX-this.offset.click.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.offset.click.top}};if(n.grid){r=n.grid[1]?
this.originalPageY+Math.round((l-
this.originalPageY)/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.originalPageX)/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.scrollLeft():this.offset.scroll.left))}},H$:function()
{this.helper.removeClass('ui-draggable-dragging');if(this.helper[0]!
==this.element[0]&&!this.cancelHelperRemoval)
{this.helper.remove()};this.helper=null;this.cancelHelperRemoval=!
1},t$:function(t,i,n){n=n||this.n$();e.ui.plugin.call(this,t,[i,n]);if(t==='drag')
{this.positionAbs=this.c$('absolute')};return
e.Widget.prototype.t$.call(this,t,i,n)},plugins:{},n$:function()
{return{helper:this.helper,position:this.position,originalPosition:this.originalPos
ition,offset:this.positionAbs}}});e.ui.plugin.add('draggable','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.connectToSortable).each(function(){var
i=e.data(this,'ui-sortable');if(i&&!i.options.disabled)
{n.sortables.push({instance:i,shouldRevert:i.options.revert});i.refreshPositions();
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.instance.isOver){this.instance.isOver=0;n.cancelHelperRemoval=!
0;this.instance.cancelHelperRemoval=!1;if(this.shouldRevert)
{this.instance.options.revert=this.shouldRevert};this.instance.O$
(t);this.instance.options.helper=this.instance.options.s$;if(n.options.helper==='or
iginal')
{this.instance.currentItem.css({top:'auto',left:'auto'})}}else{this.instance.cancel
HelperRemoval=!1;this.instance.t$('deactivate',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.Ie$
(this.instance.containerCache)){r=!0;e.each(n.sortables,function()
{this.instance.positionAbs=n.positionAbs;this.instance.helperProportions=n.helperPr
oportions;this.instance.offset.click=n.offset.click;if(this!==o&&this.instance.Ie$
(this.instance.containerCache)&&e.contains(o.instance.element[0],this.instance.elem
ent[0])){r=!1};return r})};if(r){if(!this.instance.isOver)
{this.instance.isOver=1;this.instance.currentItem=e(s).clone().removeAttr('id').app
endTo(this.instance.element).data('ui-sortable-item',!
0);this.instance.options.s$=this.instance.options.helper;this.instance.options.help
er=function(){return
i.helper[0]};t.target=this.instance.currentItem[0];this.instance.q$(t,!
0);this.instance.z$(t,!0,!
0);this.instance.offset.click.top=n.offset.click.top;this.instance.offset.click.lef
t=n.offset.click.left;this.instance.offset.parent.left-=n.offset.parent.left-
this.instance.offset.parent.left;this.instance.offset.parent.top-
=n.offset.parent.top-this.instance.offset.parent.top;n.t$
('toSortable',t);n.dropped=this.instance.element;n.currentItem=n.element;this.insta
nce.fromOutside=n};if(this.instance.currentItem){this.instance.w$
(t)}}else{if(this.instance.isOver)
{this.instance.isOver=0;this.instance.cancelHelperRemoval=!
0;this.instance.options.revert=!1;this.instance.t$('out',t,this.instance.n$
(this.instance));this.instance.O$(t,!
0);this.instance.options.helper=this.instance.options.s$;this.instance.currentItem.
remove();if(this.instance.placeholder){this.instance.placeholder.remove()};n.t$
('fromSortable',t);n.dropped=!1}}})}});e.ui.plugin.add('draggable','cursor',
{start:function(){var t=e('body'),i=e(this).data('ui-
draggable').options;if(t.css('cursor'))
{i.dt$=t.css('cursor')};t.css('cursor',i.cursor)},stop:function(){var
t=e(this).data('ui-draggable').options;if(t.dt$)
{e('body').css('cursor',t.dt$)}}});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.ht$=n.css('opacity')};n.css('opacity',s.opacity)},stop:function(t,i){var
n=e(this).data('ui-draggable').options;if(n.ht$)
{e(i.helper).css('opacity',n.ht$)}}});e.ui.plugin.add('draggable','scroll',
{start:function(){var t=e(this).data('ui-draggable');if(t.scrollParent[0]!
==document&&t.scrollParent[0].tagName!=='HTML')
{t.overflowOffset=t.scrollParent.offset()}},drag:function(t){var
n=e(this).data('ui-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.scrollParent[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.scrollParent[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.scrollSpeed)}else
if(e(window).height()-(t.pageY-e(document).scrollTop())<i.scrollSensitivity)
{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).scrollLeft(e(document).scrollLeft()+i.scrollSpeed)}}};if(s!==!
1&&e.ui.ddmanager&&!i.dropBehaviour)
{e.ui.ddmanager.prepareOffsets(n,t)}}});e.ui.plugin.add('draggable','snap',
{start:function(){var t=e(this).data('ui-
draggable'),i=t.options;t.snapElements=[];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.snapElements.push({item:this,width:i.outerWidth(),height:i.outerHeight(),top:n.t
op,left:n.left})}})},drag:function(t,i){var l,c,u,a,f,d,o,h,s,y,n=e(this).data('ui-
draggable'),v=n.options,r=v.snapTolerance,m=i.offset.left,b=m+n.helperProportions.w
idth,p=i.offset.top,g=p+n.helperProportions.height;for(s=n.snapElements.length-
1;s>=0;s--)
{f=n.snapElements[s].left;d=f+n.snapElements[s].width;o=n.snapElements[s].top;h=o+n
.snapElements[s].height;if(b<f-r||m>d+r||g<o-r||p>h+r||!
e.contains(n.snapElements[s].item.ownerDocument,n.snapElements[s].item))
{if(n.snapElements[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].snapping=!
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.c$('relative',
{top:o-n.helperProportions.height,left:0}).top-n.margins.top};if(c)
{i.position.top=n.c$('relative',{top:h,left:0}).top-n.margins.top};if(u)
{i.position.left=n.c$('relative',{top:0,left:f-n.helperProportions.width}).left-
n.margins.left};if(a){i.position.left=n.c$('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.c$('relative',{top:o,left:0}).top-n.margins.top};if(c)
{i.position.top=n.c$('relative',{top:h-n.helperProportions.height,left:0}).top-
n.margins.top};if(u){i.position.left=n.c$('relative',{top:0,left:f}).left-
n.margins.left};if(a){i.position.left=n.c$('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(function(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',widgetEventPrefix:'drop',options:{accept:'*',activeClass:!
1,addClasses:!0,greedy:!1,hoverClass:!
1,scope:'default',tolerance:'intersect',activate:null,deactivate:null,drop:null,out
:null,over:null},D$:function(){var t=this.options,i=t.accept;this.isover=!
1;this.isout=!0;this.accept=e.isFunction(i)?i:function(e){return
e.is(i)};this.proportions={width:this.element[0].offsetWidth,height:this.element[0]
.offsetHeight};e.ui.ddmanager.droppables[t.scope]=e.ui.ddmanager.droppables[t.scope
]||[];e.ui.ddmanager.droppables[t.scope].push(this);
(t.addClasses&&this.element.addClass('ui-droppable'))},S$:function(){var
t=0,i=e.ui.ddmanager.droppables[this.options.scope];for(;t<i.length;t++)
{if(i[t]===this){i.splice(t,1)}};this.element.removeClass('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)},pe$:function(t){var
i=e.ui.ddmanager.current;if(this.options.activeClass)
{this.element.addClass(this.options.activeClass)};if(i){this.t$
('activate',t,this.ui(i))}},Ci$:function(t){var
i=e.ui.ddmanager.current;if(this.options.activeClass)
{this.element.removeClass(this.options.activeClass)};if(i){this.t$
('deactivate',t,this.ui(i))}},Si$: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.addClass(this.options.hoverClass)};this.t$
('over',t,this.ui(i))}},ki$: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))}},wi$:function(t,i){var n=i||e.ui.ddmanager.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.disabled&&t.options.scope===n.options.scope&&t.accept.call(t.element[0],
(n.currentItem||n.element))&&e.ui.intersect(n,e.extend(t,
{offset:t.element.offset()}),t.options.tolerance)){s=!0;return!1}});if(s){return!
1};if(this.accept.call(this.element[0],(n.currentItem||n.element)))
{if(this.options.activeClass)
{this.element.removeClass(this.options.activeClass)};if(this.options.hoverClass)
{this.element.removeClass(this.options.hoverClass)};this.t$
('drop',t,this.ui(n));return this.element};return!1},ui:function(e)
{return{draggable:(e.currentItem||
e.element),helper:e.helper,position:e.position,offset:e.positionAbs}}});e.ui.inters
ect=function(e,t,n){if(!t.offset){return!1};var h,d,a=(e.positionAbs||
e.position.absolute).left,u=a+e.helperProportions.width,o=(e.positionAbs||
e.position.absolute).top,f=o+e.helperProportions.height,s=t.offset.left,l=s+t.propo
rtions.width,r=t.offset.top,c=r+t.proportions.height;switch(n)
{case'fit':return(s<=a&&u<=l&&r<=o&&f<=c);case'intersect':return(s<a+
(e.helperProportions.width/2)&&u-(e.helperProportions.width/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.offset.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.width);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,droppables:{'default':
[]},prepareOffsets:function(t,i){var
n,r,s=e.ui.ddmanager.droppables[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].options.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.height=0;continue;droppablesLoop}};s[n].visible=s[n].element.css(
'display')!=='none';if(!s[n].visible){continue};if(a==='mousedown')
{s[n].pe$.call(s[n],i)};s[n].offset=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.options.tolerance))
{n=this.wi$.call(this,i)||n};if(!
this.options.disabled&&this.visible&&this.accept.call(this.element[0],
(t.currentItem||t.element))){this.isout=!0;this.isover=!
1;this.Ci$.call(this,i)}});return n},dragStart:function(t,i)
{t.element.parentsUntil('body').bind('scroll.droppable',function(){if(!
t.options.refreshPositions)
{e.ui.ddmanager.prepareOffsets(t,i)}})},drag:function(t,i)
{if(t.options.refreshPositions)
{e.ui.ddmanager.prepareOffsets(t,i)};e.each(e.ui.ddmanager.droppables[t.options.sco
pe]||[],function(){if(this.options.disabled||this.greedyChild||!this.visible)
{return};var n,o,r,a=e.ui.intersect(t,this,this.options.tolerance),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-
droppable)').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')}};if(n&&s==='isover'){n.isover=!
1;n.isout=!0;n.ki$.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.Si$.call(n,i)}})},dragStop:function(t,i)
{t.element.parentsUntil('body').unbind('scroll.droppable');if(!
t.options.refreshPositions){e.ui.ddmanager.prepareOffsets(t,i)}}}})(jQuery);
(function(e,t){function n(e){return parseInt(e,10)||0};function i(e){return!
isNaN(parseInt(e,10))};e.widget('ui.resizable',e.ui.mouse,
{version:'1.10.3',widgetEventPrefix:'resize',options:{alsoResize:!1,animate:!
1,animateDuration:'slow',animateEasing:'swing',aspectRatio:!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,start
:null,stop:null},D$:function(){var
o,r,s,i,a,n=this,t=this.options;this.element.addClass('ui-
resizable');e.extend(this,{me$:!!
(t.aspectRatio),aspectRatio:t.aspectRatio,originalElement:this.element,F$:
[],s$:t.helper||t.ghost||t.animate?t.helper||'ui-resizable-
helper':null});if(this.element[0].nodeName.match(/canvas|textarea|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.ou
terWidth(),height:this.element.outerHeight(),top:this.element.css('top'),left:this.
element.css('left')}));this.element=this.element.parent().data('ui-
resizable',this.element.data('ui-resizable'));this.elementIsWrapper=!
0;this.element.css({marginLeft:this.originalElement.css('marginLeft'),marginTop:thi
s.originalElement.css('marginTop'),marginRight:this.originalElement.css('marginRigh
t'),marginBottom:this.originalElement.css('marginBottom')});this.originalElement.cs
s({marginLeft:0,marginTop:0,marginRight:0,marginBottom:0});this.originalResizeStyle
=this.originalElement.css('resize');this.originalElement.css('resize','none');this.
F$.push(this.originalElement.css({position:'static',zoom:1,display:'block'}));this.
originalElement.css({margin:this.originalElement.css('margin')});this.se$
()};this.handles=t.handles||(!e('.ui-resizable-
handle',this.element).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-resizable-ne',nw:'.ui-resizable-
nw'});if(this.handles.constructor===String){if(this.handles==='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-
resizable-'+s;this.element.append(i)}};this.ci$=function(t){var i,n,r,s;t=t||
this.element;for(i in this.handles){if(this.handles[i].constructor===String)
{this.handles[i]=e(this.handles[i],this.element).show()};if(this.elementIsWrapper&&
this.originalElement[0].nodeName.match(/textarea|input|select|button/i))
{n=e(this.handles[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)?'Right':'Left'].join('');t.css(r,s);this.se$
()};if(!e(this.handles[i]).length){continue}}};this.ci$
(this.element);this.ce$=e('.ui-resizable-
handle',this.element).disableSelection();this.ce$.mouseover(function(){if(!
n.resizing){if(this.className){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.ce$.hide();e(this.element).addClass('ui-resizable-
autohide').mouseenter(function(){if(t.disabled){return};e(this).removeClass('ui-
resizable-autohide');n.ce$.show()}).mouseleave(function(){if(t.disabled)
{return};if(!n.resizing){e(this).addClass('ui-resizable-
autohide');n.ce$.hide()}})};this.B$()},S$:function(){this.ee$();var t,i=function(t)
{e(t).removeClass('ui-resizable ui-resizable-disabled ui-resizable-
resizing').removeData('resizable').removeData('ui-
resizable').unbind('.resizable').find('.ui-resizable-
handle').remove()};if(this.elementIsWrapper)
{i(this.element);t=this.element;this.originalElement.css({position:t.css('position'
),width:t.outerWidth(),height:t.outerHeight(),top:t.css('top'),left:t.css('left')})
.insertAfter(t);t.remove()};this.originalElement.css('resize',this.originalResizeSt
yle);i(this.originalElement);return this},q$: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},z$:function(t){var
o,r,a,s=this.options,l=this.element.position(),i=this.element;this.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({position:'absolute',top:l.top,left:l.left})};this.li$
();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.position={left:o,top:r};this.size=this.s$?
{width:i.outerWidth(),height:i.outerHeight()}:
{width:i.width(),height:i.height()};this.originalSize=this.s$?
{width:i.outerWidth(),height:i.outerHeight()}:
{width:i.width(),height:i.height()};this.originalPosition={left:o,top:r};this.sizeD
iff={width:i.outerWidth()-i.width(),height:i.outerHeight()-
i.height()};this.originalMousePosition={left:t.pageX,top:t.pageY};this.aspectRatio=
(typeof s.aspectRatio==='number')?s.aspectRatio:
((this.originalSize.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('ui-resizable-resizing');this.fe$('start',t);return!
0},w$: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.pageY-r.top)||0,s=this.h$[f];if(!s){return!1};n=s.apply(this,
[t,o,l]);this.di$(t.shiftKey);if(this.me$||t.shiftKey){n=this.fi$(n,t)};n=this.ui$
(n,t);this.et$(n);this.fe$('resize',t);if(this.position.top!==c)
{i.top=this.position.top+'px'};if(this.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.F$.length){this.se$
()};if(!e.isEmptyObject(i)){this.t$('resize',t,this.ui())};return!1},O$:function(t)
{this.resizing=!1;var n,s,l,a,c,u,o,r=this.options,i=this;if(this.s$)
{n=this.F$;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=(parseInt(i.element.css('left'),10)+
(i.position.left-i.originalPosition.left))||
null;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.height(i.size.height);i.helper.width(i.size.width);if(th
is.s$&&!r.animate){this.se$
()}};e('body').css('cursor','auto');this.element.removeClass('ui-resizable-
resizing');this.fe$('stop',t);if(this.s$){this.helper.remove()};return!
1},di$: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,maxHeight:i(n.maxHeight)?n.maxHeight:Infinity};if(this.me$||e)
{o=t.minHeight*this.aspectRatio;r=t.minWidth/this.aspectRatio;a=t.maxHeight*this.as
pectRatio;s=t.maxWidth/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.yi$=t},et$:function(e)
{this.offset=this.helper.offset();if(i(e.left))
{this.position.left=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}},fi$:function(e){var
n=this.position,t=this.size,s=this.axis;if(i(e.height))
{e.width=(e.height*this.aspectRatio)}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.height);e.left=n.left+
(t.width-e.width)};return e},ui$:function(e){var
t=this.yi$,l=this.axis,c=i(e.width)&&t.maxWidth&&(t.maxWidth<e.width),u=i(e.height)
&&t.maxHeight&&(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+t
his.originalSize.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.width=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.maxHeight};if(!
e.width&&!e.height&&!e.left&&e.top){e.top=null}else if(!e.width&&!e.height&&!
e.top&&e.left){e.left=null};return e},se$:function(){if(!this.F$.length)
{return};var i,t,n,r,e,s=this.helper||this.element;for(i=0;i<this.F$.length;i++)
{e=this.F$[i];if(!this.borderDif)
{this.borderDif=[];n=[e.css('borderTopWidth'),e.css('borderRightWidth'),e.css('bord
erBottomWidth'),e.css('borderLeftWidth')];r=[e.css('paddingTop'),e.css('paddingRigh
t'),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})}},li$:function(){var
i=this.element,t=this.options;this.elementOffset=i.offset();if(this.s$)
{this.helper=this.helper||e('<div
style=\'overflow:hidden;\'></div>');this.helper.addClass(this.s$).css({width:this.e
lement.outerWidth()-1,height:this.element.outerHeig
ht()-
1,position:'absolute',left:this.elementOffset.left+'px',top:this.elementOffset.top+
'px',zIndex:+
+t.zIndex});this.helper.appendTo('body').disableSelection()}else{this.helper=this.e
lement}},h$:{e:function(e,t)
{return{width:this.originalSize.width+t}},w:function(e,t){var
n=this.originalSize,i=this.originalPosition;return{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){return{height:this.originalSize.height+i}},se:function(t,i,n)
{return e.extend(this.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.apply(this,
[t,i,n]))},nw:function(t,i,n){return
e.extend(this.h$.n.apply(this,arguments),this.h$.w.apply(this,
[t,i,n]))}},fe$: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.helpe
r,position:this.position,size:this.size,originalSize:this.originalSize,originalPosi
tion:this.originalPosition}}});e.ui.plugin.add('resizable','animate',
{stop:function(t){var i=e(this).data('ui-
resizable'),a=i.options,n=i.F$,o=n.length&&(/textarea/i).test(n[0].nodeName),l=o&&e
.ui.hasScroll(n[0],'left')?0:i.sizeDiff.height,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.top))||null;i.element.animate(e.extend(c,s&&r?{top:s,left:r}:
{}),{duration:a.animateDuration,easing:a.animateEasing,step:function(){var
s={width:parseInt(i.element.css('width'),10),height:parseInt(i.element.css('height'
),10),top:parseInt(i.element.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.et$(s);i.fe$
('resize',t)}})}});e.ui.plugin.add('resizable','containment',{start:function(){var
r,o,a,u,f,l,c,t=e(this).data('ui-
resizable'),d=t.options,h=t.element,s=d.containment,i=(s instanceof e)?s.get(0):
(/parent/.test(s))?h.parent().get(0):s;if(!i)
{return};t.containerElement=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,top:0,width:e(document).width(),height:e(document).heigh
t()||
document.body.parentNode.scrollHeight}}else{r=e(i);o=[];e(['Top','Right','Left','Bo
ttom']).each(function(e,t)
{o[e]=n(r.css('padding'+t))});t.containerOffset=r.offset();t.containerPosition=r.po
sition();t.containerSize={height:(r.innerHeight()-o[3]),width:(r.innerWidth()-
o[1])};a=t.containerOffset;u=t.containerSize.height;f=t.containerSize.width;l=(e.ui
.hasScroll(i,'left')?i.scrollWidth:f);c=(e.ui.hasScroll(i)?
i.scrollHeight:u);t.parentData={element:i,left:a.left,top:a.top,width:l,height:c}}}
,resize:function(t){var r,a,l,c,i=e(this).data('ui-
resizable'),h=i.options,n=i.containerOffset,u=i.position,o=i.me$||
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.left:0))
{i.size.width=i.size.width+(i.s$?(i.position.left-n.left):(i.position.left-
s.left));if(o){i.size.height=i.size.width/i.aspectRatio};i.position.left=h.helper?
n.left:0};if(u.top<(i.s$?n.top:0)){i.size.height=i.size.height+(i.s$?
(i.position.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.offset.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.parent().get(0);c=/rela
tive|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.size.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-
resizable'),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(){var t=e(this);t.data('ui-resizable-alsoresize',
{width:parseInt(t.width(),10),height:parseInt(t.height(),10),left:parseInt(t.css('l
eft'),10),top:parseInt(t.css('top'),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.alsoResize,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.position.top-
o.top)||0,left:(n.position.left-o.left)||0},r=function(t,n){e(t).each(function()
{var s=e(this),o=e(this).data('ui-resizable-alsoresize'),t={},r=n&&n.length?
n:s.parents(i.originalElement[0]).length?['width','height']:
['width','height','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.nodeType){e.each(s.alsoResize,function(e,t)
{r(e,t)})}else{r(s.alsoResize)}},stop:function(){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.size;t.ghost=t.originalElement.clone();t.ghost.css({opa
city:0.25,display:'block',position:'relative',height:i.height,width:i.width,margin:
0,left:0,top:0}).addClass('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.ghost)
{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.helper.get(0).removeChild(t.ghost.get(0))}}});e.ui.plugin.add('resizable','grid'
,{resize:function(){var t=e(this).data('ui-
resizable'),i=t.options,d=t.size,l=t.originalSize,a=t.originalPosition,h=t.axis,c=t
ypeof i.grid==='number'?[i.grid,i.grid]:i.grid,r=(c[0]||1),o=(c[1]||
1),f=Math.round((d.width-l.width)/r)*r,u=Math.round((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.size.width=n;t.size.height=s;t.position.top=a.top-u}else if(/^(sw)$/.test(h))
{t.size.width=n;t.size.height=s;t.position.left=a.left-
f}else{t.size.width=n;t.size.height=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:'body',autoRefresh:!
0,distance:0,filter:'*',tolerance:'touch',selected:null,selecting:null,start:null,s
top:null,unselected:null,unselecting:null},D$:function(){var
t,i=this;this.element.addClass('ui-selectable');this.dragged=!
1;this.refresh=function(){t=e(i.options.filter,i.element[0]);t.addClass('ui-
selectee');t.each(function(){var t=e(this),i=t.offset();e.data(this,'selectable-
item',
{element:this,a$: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.selectees=t.addClass('ui-selectee');this.B$
();this.helper=e('<div class=\'ui-selectable-helper\'></div>')},S$:function()
{this.selectees.removeClass('ui-selectee').removeData('selectable-
item');this.element.removeClass('ui-selectable ui-selectable-disabled');this.ee$
()},z$:function(t){var
n=this,i=this.options;this.opos=[t.pageX,t.pageY];if(this.options.disabled)
{return};this.selectees=e(i.filter,this.element[0]);this.t$
('start',t);e(i.appendTo).append(this.helper);this.helper.css({'left':t.pageX,'top'
:t.pageY,'width':0,'height':0});if(i.autoRefresh)
{this.refresh()};this.selectees.filter('.ui-selected').each(function(){var
i=e.data(this,'selectable-item');i.startselected=!0;if(!t.metaKey&&!t.ctrlKey)
{i.a$.removeClass('ui-selected');i.selected=!1;i.a$.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.a$.hasClass('ui-selected');i.a$.removeClass(s?'ui-unselecting':'ui-
selected').addClass(s?'ui-selecting':'ui-unselecting');i.unselecting=!
s;i.selecting=s;i.selected=s;if(s){n.t$('selecting',t,
{selecting:i.element})}else{n.t$('unselecting',t,{unselecting:i.element})};return!
1}})},w$:function(t){this.dragged=!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};this.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]){return};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.a$.removeClass('ui-selected');a.selected=!1};if(a.unselect
ing){a.a$.removeClass('ui-unselecting');a.unselecting=!1};if(!a.selecting)
{a.a$.addClass('ui-selecting');a.selecting=!0;o.t$('selecting',t,
{selecting:a.element})}}else{if(a.selecting){if((t.metaKey||
t.ctrlKey)&&a.startselected){a.a$.removeClass('ui-selecting');a.selecting=!
1;a.a$.addClass('ui-selected');a.selected=!0}else{a.a$.removeClass('ui-
selecting');a.selecting=!1;if(a.startselected){a.a$.addClass('ui-
unselecting');a.unselecting=!0};o.t$('unselecting',t,
{unselecting:a.element})}};if(a.selected){if(!t.metaKey&&!t.ctrlKey&&!
a.startselected){a.a$.removeClass('ui-selected');a.selected=!1;a.a$.addClass('ui-
unselecting');a.unselecting=!0;o.t$('unselecting',t,
{unselecting:a.element})}}}});return!1},O$:function(t){var i=this;this.dragged=!
1;e('.ui-unselecting',this.element[0]).each(function(){var
n=e.data(this,'selectable-item');n.a$.removeClass('ui-unselecting');n.unselecting=!
1;n.startselected=!1;i.t$('unselected',t,{unselected:n.element})});e('.ui-
selecting',this.element[0]).each(function(){var n=e.data(this,'selectable-
item');n.a$.removeClass('ui-selecting').addClass('ui-selected');n.selecting=!
1;n.selected=!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,forcePlaceholderSize:!1,forceHelperSize:!1,grid:!1,handle:!
1,helper:'original',items:'> *',opacity:!1,placeholder:!1,revert:!1,scroll:!
0,scrollSensitivity:20,scrollSpeed:20,scope:'default',tolerance:'intersect',zIndex:
1000,activate:null,beforeStop:null,change:null,deactivate:null,out:null,over:null,r
eceive:null,remove:null,sort:null,start:null,stop:null,update:null},D$: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=this.element.offset();this.B$();this.ready=!
0},S$:function(){this.element.removeClass('ui-sortable ui-sortable-
disabled');this.ee$();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)}},q$:function(t,i){var
n=null,r=!1,s=this;if(this.reverting){return!1};if(this.options.disabled||
this.options.type==='static'){return!1};this.ot$
(t);e(t.target).parents().each(function(){if(e.data(this,s.widgetName+'-item')===s)
{n=e(this);return!1}});if(e.data(t.target,s.widgetName+'-item')===s)
{n=e(t.target)};if(!n){return!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.vi$();return!
0},z$:function(t,i,n){var
o,r,s=this.options;this.currentContainer=this;this.refreshPositions();this.helper=t
his.be$(t);this.K$();this.Se$
();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.pageY-this.offset.top},parent:this.Q$(),relative:this.ne$
()});this.helper.css('position','absolute');this.cssPosition=this.helper.css('posit
ion');this.originalPosition=this.V$
(t);this.originalPageX=t.pageX;this.originalPageY=t.pageY;(s.cursorAt&&this.we$
(s.cursorAt));this.domPosition={prev:this.currentItem.prev()
[0],parent:this.currentItem.parent()[0]};if(this.helper[0]!==this.currentItem[0])
{this.currentItem.hide()};this.gi$();if(s.containment){this.Te$
()};if(s.cursor&&s.cursor!=='auto')
{r=this.document.find('body');this.storedCursor=r.css('cursor');r.css('cursor',s.cu
rsor);this.storedStylesheet=e('<style>*{ cursor: '+s.cursor+' !important; }
</style>').appendTo(r)};if(s.opacity){if(this.helper.css('opacity'))
{this.nt$=this.helper.css('opacity')};this.helper.css('opacity',s.opacity)};if(s.zI
ndex){if(this.helper.css('zIndex'))
{this.ve$=this.helper.css('zIndex')};this.helper.css('zIndex',s.zIndex)};if(this.sc
rollParent[0]!==document&&this.scrollParent[0].tagName!=='HTML')
{this.overflowOffset=this.scrollParent.offset()};this.t$('start',t,this.n$());if(!
this.Ni$){this.K$()};if(!n){for(o=this.containers.length-1;o>=0;o--)
{this.containers[o].t$('activate',t,this.n$(this))}};if(e.ui.ddmanager)
{e.ui.ddmanager.current=this};if(e.ui.ddmanager&&!s.dropBehaviour)
{e.ui.ddmanager.prepareOffsets(this,t)};this.dragging=!0;this.helper.addClass('ui-
sortable-helper');this.w$(t);return!0},w$:function(t){var
o,s,r,a,i=this.options,n=!1;this.position=this.V$(t);this.positionAbs=this.c$
('absolute');if(!this.lastPositionAbs)
{this.lastPositionAbs=this.positionAbs};if(this.options.scroll)
{if(this.scrollParent[0]!==document&&this.scrollParent[0].tagName!=='HTML')
{if((this.overflowOffset.top+this.scrollParent[0].offsetHeight)-
t.pageY<i.scrollSensitivity)
{this.scrollParent[0].scrollTop=n=this.scrollParent[0].scrollTop+i.scrollSpeed}else
if(t.pageY-this.overflowOffset.top<i.scrollSensitivity)
{this.scrollParent[0].scrollTop=n=this.scrollParent[0].scrollTop-
i.scrollSpeed};if((this.overflowOffset.left+this.scrollParent[0].offsetWidth)-
t.pageX<i.scrollSensitivity)
{this.scrollParent[0].scrollLeft=n=this.scrollParent[0].scrollLeft+i.scrollSpeed}el
se if(t.pageX-this.overflowOffset.left<i.scrollSensitivity)
{this.scrollParent[0].scrollLeft=n=this.scrollParent[0].scrollLeft-
i.scrollSpeed}}else{if(t.pageY-e(document).scrollTop()<i.scrollSensitivity)
{n=e(document).scrollTop(e(document).scrollTop()-i.scrollSpeed)}else
if(e(window).height()-(t.pageY-e(document).scrollTop())<i.scrollSensitivity)
{n=e(document).scrollTop(e(document).scrollTop()+i.scrollSpeed)};if(t.pageX-
e(document).scrollLeft()<i.scrollSensitivity)
{n=e(document).scrollLeft(e(document).scrollLeft()-i.scrollSpeed)}else
if(e(window).width()-(t.pageX-e(document).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.c$('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.pi$(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.options.tolerance==='pointer'||this.bi$
(s)){this.ge$(t,s)}else{break};this.t$('change',t,this.n$());break}};this.mi$
(t);if(e.ui.ddmanager){e.ui.ddmanager.drag(this,t)};this.t$('sort',t,this.n$
());this.lastPositionAbs=this.positionAbs;return!1},O$: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.placeholder.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.offsetParent[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].scrollTop)};this.reverting=!
0;e(this.helper).animate(s,parseInt(this.options.revert,10)||500,function(){o.H$
(t)})}else{this.H$(t,i)};return!1},cancel:function(){if(this.dragging){this.y$
({target:null});if(this.options.helper==='original')
{this.currentItem.css(this.X$).removeClass('ui-sortable-
helper')}else{this.currentItem.show()};for(var t=this.containers.length-1;t>=0;t--)
{this.containers[t].t$('deactivate',null,this.n$
(this));if(this.containers[t].containerCache.over){this.containers[t].t$
('out',null,this.n$
(this));this.containers[t].containerCache.over=0}}};if(this.placeholder)
{if(this.placeholder[0].parentNode)
{this.placeholder[0].parentNode.removeChild(this.placeholder[0])};if(this.options.h
elper!=='original'&&this.helper&&this.helper[0].parentNode)
{this.helper.remove()};e.extend(this,{helper:null,dragging:!1,reverting:!
1,lt$:null});if(this.domPosition.prev)
{e(this.domPosition.prev).after(this.currentItem)}else{e(this.domPosition.parent).p
repend(this.currentItem)}};return this},serialize:function(t){var n=this.at$
(t&&t.connected),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.at$(t&&t.connected),i=[];t=t||{};n.each(function(){i.push(e(t.item||
this).attr(t.attribute||'id')||'')});return i},Ie$: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.width,n=e.top,o=n+e.height,r=this.off
set.click.top,a=this.offset.click.left,f=(this.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.forcePointerForContainers||(this.options.tolerance!
=='pointer'&&this.helperProportions[this.floating?'width':'height']>e[this.floating
?'width':'height'])){return c}else{return(s<i+(this.helperProportions.width/2)&&h-
(this.helperProportions.width/2)<l&&n<t+(this.helperProportions.height/2)&&d-
(this.helperProportions.height/2)<o)}},pi$:function(e){var
r=(this.options.axis==='x')||
i(this.positionAbs.top+this.offset.click.top,e.top,e.height),s=(this.options.axis==
='y')||i(this.position
Abs.left+this.offset.click.left,e.left,e.width),o=r&&s,t=this.it$(),n=this.st$
();if(!o){return!1};return this.floating?(((n&&n==='right')||t==='down')?2:1):
(t&&(t==='down'?2:1))},bi$: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.it$(),t=this.st$();if(this.floating&&t)
{return((t==='right'&&s)||(t==='left'&&!s))}else{return n&&((n==='down'&&r)||
(n==='up'&&!r))}},it$:function(){var e=this.positionAbs.top-
this.lastPositionAbs.top;return e!==0&&(e>0?'down':'up')},st$:function(){var
e=this.positionAbs.left-this.lastPositionAbs.left;return e!
==0&&(e>0?'right':'left')},refresh:function(e){this.ot$
(e);this.refreshPositions();return this},rt$:function(){var e=this.options;return
e.connectWith.constructor===String?[e.connectWith]:e.connectWith},at$:function(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!
==this&&!i.options.disabled){r.push([e.isFunction(i.options.items)?
i.options.items.call(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.options.items.call(this.element,null,
{options:this.options,item:this.currentItem}):e(this.options.items,this.element).no
t('.ui-sortable-helper').not('.ui-sortable-placeholder'),this]);for(n=r.length-
1;n>=0;n--){r[n][0].each(function(){l.push(this)})};return e(l)},vi$:function(){var
t=this.currentItem.find(':data('+this.widgetName+'-
item)');this.items=e.grep(this.items,function(e){for(var i=0;i<t.length;i++)
{if(t[i]===e.item[0]){return!1}};return!0})},ot$: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.widgetFullName);if(i&&i!==this&&!i.options.disabled)
{r.push([e.isFunction(i.options.items)?i.options.items.call(i.element[0],t,
{item:this.currentItem}):e(i.options.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})}}},refreshPositi
ons:function(t){if(this.offsetParent&&this.helper){this.offset.parent=this.Q$
()};var i,n,r,s;for(i=this.items.length-1;i>=0;i--){n=this.items[i];if(n.instance!
==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.refreshContainers)
{this.options.custom.refreshContainers.call(this)}else{for(i=this.containers.length
-1;i>=0;i--)
{s=this.containers[i].element.offset();this.containers[i].containerCache.left=s.lef
t;this.containers[i].containerCache.top=s.top;this.containers[i].containerCache.wid
th=this.containers[i].element.outerWidth();this.containers[i].containerCache.height
=this.containers[i].element.outerHeight()}};return this},gi$:function(t){t=t||
this;var n,i=t.options;if(!i.placeholder||i.placeholder.constructor===String)
{n=i.placeholder;i.placeholder={element:function(){var
s=t.currentItem[0].nodeName.toLowerCase(),i=e('<'+s+'>',t.document[0]).addClass(n||
t.currentItem[0].className+' ui-sortable-placeholder').removeClass('ui-sortable-
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('visibility','hidden')};return i},update:function(e,s){if(n&&!
i.forcePlaceholderSize){return};if(!s.height())
{s.height(t.currentItem.innerHeight()-parseInt(t.currentItem.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.c
urrentItem.after(t.placeholder);i.placeholder.update(t,t.placeholder)},mi$: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.Ie$(this.containers[o].containerCache))
{if(l&&e.contains(this.containers[o].element[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.containers[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.floating|
|n(this.currentItem);h=f?'left':'top';d=f?'width':'height';c=this.positionAbs[h]
+this.offset.click[h];for(s=this.items.length-1;s>=0;s--){if(!
e.contains(this.containers[r].element[0],this.items[s].item[0]))
{continue};if(this.items[s].item[0]===this.currentItem[0]){continue};if(f&&!
i(this.positionAbs.top+this.offset.click.top,this.items[s].top,this.items[s].height
)){continue};a=this.items[s].item.offset()[h];m=!1;if(Math.abs(a-
c)>Math.abs(a+this.items[s][d]-c)){m=!0;a+=this.items[s][d]};if(Math.abs(a-c)<p)
{p=Math.abs(a-c);u=this.items[s];this.direction=m?'up':'down'}};if(!u&&!
this.options.dropOnEmpty){return};if(this.currentContainer===this.containers[r])
{return};u?this.ge$(t,u,null,!0):this.ge$(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.placeholder.update(th
is.currentContainer,this.placeholder);this.containers[r].t$('over',t,this.n$
(this));this.containers[r].containerCache.over=1}},be$: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.currentItem);if(!i.parents('body').length)
{e(n.appendTo!=='parent'?n.appendTo:this.currentItem[0].parentNode)
[0].appendChild(i[0])};if(i[0]===this.currentItem[0])
{this.X$={width:this.currentItem[0].style.width,height:this.currentItem[0].style.he
ight,position:this.currentItem.css('position'),top:this.currentItem.css('top'),left
:this.currentItem.css('left')}};if(!i[0].style.width||n.forceHelperSize)
{i.width(this.currentItem.width())};if(!i[0].style.height||n.forceHelperSize)
{i.height(this.currentItem.height())};return i},we$: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.top=this.helperProportions.height-
t.bottom+this.margins.top}},Q$:function()
{this.offsetParent=this.helper.offsetParent();var
t=this.offsetParent.offset();if(this.cssPosition==='absolute'&&this.scrollParent[0]
!==document&&e.contains(this.scrollParent[0],this.offsetParent[0]))
{t.left+=this.scrollParent.scrollLeft();t.top+=this.scrollParent.scrollTop()};if(th
is.offsetParent[0]===document.body||
(this.offsetParent[0].tagName&&this.offsetParent[0].tagName.toLowerCase()==='html'&
&e.ui.ie)){t={top:0,left:0}};return{top:t.top+
(parseInt(this.offsetParent.css('borderTopWidth'),10)||0),left:t.left+
(parseInt(this.offsetParent.css('borderLeftWidth'),10)||0)}},ne$:function()
{if(this.cssPosition==='relative'){var
e=this.currentItem.position();return{top:e.top-
(parseInt(this.helper.css('top'),10)||0)+this.scrollParent.scrollTop(),left:e.left-
(parseInt(this.helper.css('left'),10)||
0)+this.scrollParent.scrollLeft()}}else{return{top:0,left:0}}},Se$:function()
{this.margins={left:(parseInt(this.currentItem.css('marginLeft'),10)||0),top:
(parseInt(this.currentItem.css('marginTop'),10)||0)}},K$:function()
{this.helperProportions={width:this.helper.outerWidth(),height:this.helper.outerHei
ght()}},Te$: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.containment=[0-this.offset.relative.left-
this.offset.parent.left,0-this.offset.relative.top-
this.offset.parent.top,e(i.containment==='document'?document:window).width()-
this.helperProportions.width-this.margins.left,(e(i.containment==='document'?
document:window).height()||document.body.parentNode.scrollHeight)-
this.helperProportions.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('overflow')!
=='hidden');this.containment=[n.left+(parseInt(e(t).css('borderLeftWidth'),10)||0)+
(parseInt(e(t).css('paddingLeft'),10)||0)-this.margins.left,n.top+
(parseInt(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.offsetWidth)-
(parseInt(e(t).css('borderLeftWidth'),10)||0)-
(parseInt(e(t).css('paddingRight'),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.height-
this.margins.top]}},c$:function(t,i){if(!i){i=this.position};var n=t==='absolute'?
1:-1,s=this.cssPosition==='absolute'&&!(this.scrollParent[0]!
==document&&e.contains(this.scrollParent[0],this.offsetParent[0]))?
this.offsetParent:this.scrollParent,r=(/(html|
body)/i).test(s[0].tagName);return{top:(i.top+this.off
set.relative.top*n+this.offset.parent.top*n-((this.cssPosition==='fixed'?-
this.scrollParent.scrollTop():(r?0:s.scrollTop()))*n)),left:
(i.left+this.offset.relative.left*n+this.offset.parent.left*n-
((this.cssPosition==='fixed'?-this.scrollParent.scrollLeft():r?
0:s.scrollLeft())*n))}},V$:function(t){var
s,n,i=this.options,o=t.pageX,r=t.pageY,a=this.cssPosition==='absolute'&&!
(this.scrollParent[0]!
==document&&e.contains(this.scrollParent[0],this.offsetParent[0]))?
this.offsetParent:this.scrollParent,l=(/(html|
body)/i).test(a[0].tagName);if(this.cssPosition==='relative'&&!
(this.scrollParent[0]!==document&&this.scrollParent[0]!==this.offsetParent[0]))
{this.offset.relative=this.ne$()};if(this.originalPosition){if(this.containment)
{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-
this.offset.click.top>this.containment[3])
{r=this.containment[3]+this.offset.click.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>=this.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.click.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}};return{top:(r-this.offset.click.top-
this.offset.relative.top-this.offset.parent.top+((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.scrollLeft())))}},ge$:function(e,t,i,n){i?
i[0].appendChild(this.placeholder[0]):t.item[0].parentNode.insertBefore(this.placeh
older[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)}})},H$:function(e,t){this.reverting=!1;var i,n=[];if(!
this.lt$&&this.currentItem.parent().length)
{this.placeholder.before(this.currentItem)};this.lt$=null;if(this.helper[0]===this.
currentItem[0]){for(i in this.X$){if(this.X$[i]==='auto'||this.X$[i]==='static')
{this.X$[i]=''}};this.currentItem.css(this.X$).removeClass('ui-sortable-
helper')}else{this.currentItem.show()};if(this.fromOutside&&!t){n.push(function(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((function(e){return function(t){e.t$
('deactivate',t,this.n$
(this))}}).call(this,this.containers[i]))};if(this.containers[i].containerCache.ove
r){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.r
emove()};if(this.nt$){this.helper.css('opacity',this.nt$)};if(this.ve$)
{this.helper.css('zIndex',this.ve$==='auto'?'':this.ve$)};this.dragging=!
1;if(this.cancelHelperRemoval){if(!t){this.t$('beforeStop',e,this.n$
());for(i=0;i<n.length;i++){n[i].call(this,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.placeholder[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,originalPosition:i.originalPosition,offset:i.positionAbs,
item:i.currentItem,sender:t?t.element:null}}})})(jQuery);(function(e,t){var
i=0;e.widget('ui.autocomplete',{version:'1.10.3',defaultElement:'<input>',options:
{appendTo:null,autoFocus:!1,delay:300,minLength:1,position:{my:'left top',at:'left
bottom',collision:'none'},source:null,change:null,close:null,focus:null,open:null,r
esponse:null,search:null,select:null},pending:0,D$:function(){var
t,n,i,r=this.element[0].nodeName.toLowerCase(),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.isNewMenu=!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.d$
('previousPage',s);break;case r.PAGE_DOWN:t=!0;this.d$('nextPage',s);break;case
r.UP:t=!0;this.E$('previous',s);break;case r.DOWN:t=!0;this.E$('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.p$(this.term);this.close(s);s.preventDefault()};break;default:n=!0;this.tt$
(s);break}},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;switch(i.keyCode){case s.PAGE_UP:this.d$
('previousPage',i);break;case s.PAGE_DOWN:this.d$('nextPage',i);break;case
s.UP:this.E$('previous',i);break;case s.DOWN:this.E$
('next',i);break}},input:function(e){if(i){i=!1;e.preventDefault();return};this.tt$
(e)},focus:function(){this.selectedItem=null;this.previous=this.p$
()},blur:function(e){if(this.cancelBlur){delete
this.cancelBlur;return};clearTimeout(this.searching);this.close(e);this.h$
(e)}});this.Ze$();this.menu=e('<ul>').addClass('ui-autocomplete ui-
front').appendTo(this.Ge$()).menu({role:null}).hide().data('ui-menu');this.T$
(this.menu.element,{mousedown:function(t){t.preventDefault();this.cancelBlur=!
0;this.f$(function(){delete this.cancelBlur});var i=this.menu.element[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.target!==i&&!e.contains(i,n.target))
{t.close()}})})}},menufocus:function(t,i){if(this.isNewMenu){this.isNewMenu=!
1;if(t.originalEvent&&/^mouse/.test(t.originalEvent.type))
{this.menu.blur();this.document.one('mousemove',function()
{e(t.target).trigger(t.originalEvent)});return}};var n=i.item.data('ui-
autocomplete-item');if(!1!==this.t$('focus',t,{item:n}))
{if(t.originalEvent&&/^key/.test(t.originalEvent.type)){this.p$
(n.value)}}else{this.liveRegion.text(n.value)}},menuselect:function(e,t){var
i=t.item.data('ui-autocomplete-item'),n=this.previous;if(this.element[0]!
==this.document[0].activeElement){this.element.focus();this.previous=n;this.f$
(function(){this.previous=n;this.selectedItem=i})};if(!1!==this.t$('select',e,
{item:i})){this.p$(i.value)};this.term=this.p$
();this.close(e);this.selectedItem=i}});this.liveRegion=e('<span>',
{role:'status','aria-live':'polite'}).addClass('ui-helper-hidden-
accessible').insertBefore(this.element);this.T$(this.window,
{beforeunload:function(){this.element.removeAttr('autocomplete')}})},S$:function()
{clearTimeout(this.searching);this.element.removeClass('ui-autocomplete-
input').removeAttr('autocomplete');this.menu.element.remove();this.liveRegion.remov
e()},b$:function(e,t){this.ie$(e,t);if(e==='source'){this.Ze$()};if(e==='appendTo')
{this.menu.element.appendTo(this.Ge$())};if(e==='disabled'&&t&&this.xhr)
{this.xhr.abort()}},Ge$:function(){var t=this.options.appendTo;if(t){t=t.jquery||
t.nodeType?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},Ze$:function(){var
n,i,t=this;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.abort()};t.xhr=e.ajax({url:i,data:n,dataType:'json',success:function(e)
{s(e)},error:function()
{s([])}})}}else{this.source=this.options.source}},tt$:function(e)
{clearTimeout(this.searching);this.searching=this.f$(function(){if(this.term!
==this.p$())
{this.selectedItem=null;this.search(null,e)}},this.options.delay)},search:function(
e,t){e=e!=null?e:this.p$();this.term=this.p$();if(e.length<this.options.minLength)
{return this.close(t)};if(this.t$('search',t)===!1){return};return this.Nt$
(e)},Nt$:function(e){this.pending++;this.element.addClass('ui-autocomplete-
loading');this.cancelSearch=!1;this.source({term:e},this.Dt$())},Dt$:function(){var
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.At$(e)};this.t$('response',null,
{content:e});if(!this.options.disabled&&e&&e.length&&!this.cancelSearch){this.ni$
(e);this.t$('open')}else{this.j$()}},close:function(e){this.cancelSearch=!0;this.j$
(e)},j$:function(e){if(this.menu.element.is(':visible'))
{this.menu.element.hide();this.menu.blur();this.isNewMenu=!0;this.t$
('close',e)}},h$:function(e){if(this.previous!==this.p$(
)){this.t$('change',e,{item:this.selectedItem})}},At$:function(t)
{if(t.length&&t[0].label&&t[0].value){return t};return e.map(t,function(t)
{if(typeof t==='string'){return{label:t,value:t}};return e.extend({label:t.label||
t.value,value:t.value||t.label},t)})},ni$:function(t){var
i=this.menu.element.empty();this.Ot$(i,t);this.isNewMenu=!
0;this.menu.refresh();i.show();this.Lt$
();i.position(e.extend({of:this.element},this.options.position));if(this.options.au
toFocus){this.menu.next()}},Lt$:function(){var
e=this.menu.element;e.outerWidth(Math.max(e.width('').outerWidth()
+1,this.element.outerWidth()))},Ot$:function(t,i){var n=this;e.each(i,function(e,i)
{n.zt$(t,i)})},zt$:function(e,t){return this.Et$(e,t).data('ui-autocomplete-
item',t)},Et$:function(t,i){return
e('<li>').append(e('<a>').text(i.label)).appendTo(t)},d$:function(e,t){if(!
this.menu.element.is(':visible'))
{this.search(null,t);return};if(this.menu.isFirstItem()&&/^previous/.test(e)||
this.menu.isLastItem()&&/^next/.test(e)){this.p$
(this.term);this.menu.blur();return};this.menu[e](t)},widget:function(){return
this.menu.element},p$:function(){return
this.valueMethod.apply(this.element,arguments)},E$:function(e,t){if(!
this.isMultiLine||this.menu.element.is(':visible')){this.d$
(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.escapeRegex(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.xe$
(arguments);if(this.options.disabled||this.cancelSearch){return};if(e&&e.length)
{t=this.options.messages.results(e.length)}else{t=this.options.messages.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.m$=null;this.E$=!
1;this.L$=[];this.k$=!1;this.R$=!1;this.ae$='ui-datepicker-div';this.je$='ui-
datepicker-inline';this.qt$='ui-datepicker-append';this.Pe$='ui-datepicker-
trigger';this.Ve$='ui-datepicker-dialog';this.Pi$='ui-datepicker-
disabled';this.Ke$='ui-datepicker-unselectable';this.Xe$='ui-datepicker-current-
day';this.De$='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','Oct
ober','November','December'],monthNamesShort:
['Jan','Feb','Mar','Apr','May','Jun','Jul','Aug','Sep','Oct','Nov','Dec'],dayNames:
['Sunday','Monday','Tuesday','Wednesday','Thursday','Friday','Saturday'],dayNamesSh
ort:['Sun','Mon','Tue','Wed','Thu','Fri','Sat'],dayNamesMin:
['Su','Mo','Tu','We','Th','Fr','Sa'],weekHeader:'Wk',dateFormat:'mm/dd/yy',firstDay
:0,isRTL:!1,showMonthAfterYear:!
1,yearSuffix:''};this.l$={showOn:'focus',showAnim:'fadeIn',showOptions:
{},defaultDate:null,appendText:'',buttonText:'...',buttonImage:'',buttonImageOnly:!
1,hideIfNoPrevNext:!1,navigationAsDateFormat:!1,gotoCurrent:!1,changeMonth:!
1,changeYear:!1,yearRange:'c-10:c+10',showOtherMonths:!1,selectOtherMonths:!
1,showWeek:!
1,calculateWeek:this.iso8601Week,shortYearCutoff:'+10',minDate:null,maxDate:null,du
ration:'fast',beforeShowDay:null,beforeShow:null,onSelect:null,onChangeMonthYear:nu
ll,onClose:null,numberOfMonths:1,showCurrentAtPos:0,stepMonths:1,stepBigMonths:12,a
ltField:'',altFormat:'',constrainInput:!0,showButtonPanel:!1,autoSize:!1,disabled:!
1};e.extend(this.l$,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,Li$:function(){return
this.dpDiv},setDefaults:function(e){n(this.l$,e||{});return this},Qt$: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.yt$(e(t),r);n.settings=e.extend({},i||
{});if(s==='input'){this.Kt$(t,n)}else if(r){this.Vt$(t,n)}},yt$:function(t,i){var
n=t[0].id.replace(/([^A-Za-z0-9_\-])/g,'\\\\
$1');return{id:n,input:t,selectedDay:0,selectedMonth:0,selectedYear:0,drawMonth:0,d
rawYear:0,inline:i,dpDiv:(!i?this.dpDiv:o(e('<div class=\''+this.je$+' ui-
datepicker ui-widget ui-widget-content ui-helper-clearfix ui-corner-
all\'></div>')))}},Kt$:function(t,n){var
s=e(t);n.append=e([]);n.trigger=e([]);if(s.hasClass(this.markerClassName))
{return};this.xt$
(s,n);s.addClass(this.markerClassName).keydown(this.Fe$).keypress(this.bt$).keyup(t
his.vt$);this.kt$(n);e.data(t,i,n);if(n.settings.disabled){this.Ee$
(t)}},xt$: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.qt$+'\'>'+a+'</span>');t[o?'before':'after']
(i.append)};t.unbind('focus',this.W$);if(i.trigger){i.trigger.remove()};s=this.e$
(i,'showOn');if(s==='focus'||s==='both'){t.focus(this.W$)};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.Pe$).attr({src:r,alt:n,title:n}):e('<button
type=\'button\'></button>').addClass(this.Pe$).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.k$&&e.datepicker.U$===t[0])
{e.datepicker.v$()}else if(e.datepicker.k$&&e.datepicker.U$!==t[0]){e.datepicker.v$
();e.datepicker.W$(t[0])}else{e.datepicker.W$(t[0])};return!1})}},kt$:function(e)
{if(this.e$(e,'autoSize')&&!e.inline){var r,o,s,t,i=new Date(2009,12-
1,20),n=this.e$(e,'dateFormat');if(n.match(/[DM]/)){r=function(e)
{o=0;s=0;for(t=0;t<e.length;t++){if(e[t].length>o){o=e[t].length;s=t}};return
s};i.setMonth(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.A$(e,i).length)}},Vt$:function(t,n){var
s=e(t);if(s.hasClass(this.markerClassName))
{return};s.addClass(this.markerClassName).append(n.dpDiv);e.data(t,i,n);this.ze$
(n,this.Me$(n),!0);this.I$(n);this.Z$(n);if(n.settings.disabled){this.Ee$
(t)};n.dpDiv.css('display','block')},Mi$:function(t,s,r,o,a){var
f,h,d,u,c,l=this.Ft$;if(!l){this.uuid+=1;f='dp'+this.uuid;this.x$=e('<input
type=\'text\' id=\''+f+'\' style=\'position: absolute; top: -100px; width:
0px;\'/>');this.x$.keydown(this.Fe$);e('body').append(this.x$);l=this.Ft$=this.yt$
(this.x$,!1);l.settings={};e.data(this.x$[0],i,l)};n(l.settings,o||
{});s=(s&&s.constructor===Date?this.A$(l,s):s);this.x$.val(s);this.g$=(a?(a.length?
a:[a.pageX,a.pageY]):null);if(!this.g$)
{h=document.documentElement.clientWidth;d=document.documentElement.clientHeight;u=d
ocument.documentElement.scrollLeft||
document.body.scrollLeft;c=document.documentElement.scrollTop||
document.body.scrollTop;this.g$=[(h/2)-100+u,(d/2)-150+c]};this.x$.css('left',
(this.g$[0]+20)+'px').css('top',this.g$[1]+'px');l.settings.onSelect=r;this.R$=!
0;this.dpDiv.addClass(this.Ve$);this.W$(this.x$[0]);if(e.blockUI)
{e.blockUI(this.dpDiv)};e.data(this.x$[0],i,l);return this},Ii$: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.remove();r.trigger.remove();s.removeClass(this.markerClassName).unbind('f
ocus',this.W$).unbind('keydown',this.Fe$).unbind('keypress',this.bt$).unbind('keyup
',this.vt$)}else if(n==='div'||n==='span')
{s.removeClass(this.markerClassName).empty()}},Jt$: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==='input'){t.disabled=!
1;o.trigger.filter('button').each(function(){this.disabled=!
1}).end().filter('img').css({opacity:'1.0',cursor:''})}else if(n==='div'||
n==='span'){s=r.children('.'+this.je$);s.children().removeClass('ui-state-
disabled');s.find('select.ui-datepicker-month, select.ui-datepicker-
year').prop('disabled',!1)};this.L$=e.map(this.L$,function(e){return(e===t?
null:e)})},Ee$: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==='input'){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.je$);s.children().addClass('ui-state-
disabled');s.find('select.ui-datepicker-month, select.ui-datepicker-
year').prop('disabled',!0)};this.L$=e.map(this.L$,function(e){return(e===t?
null:e)});this.L$[this.L$.length]=t},oe$:function(e){if(!e){return!1};for(var
t=0;t<this.L$.length;t++){if(this.L$[t]===e){return!0}};return!1},o$:function(t)
{try{return e.data(t,i)}catch(n){throw'Missing instance data for this
datepicker';}},Xt$:function(i,s,r){var a,u,l,c,o=this.o$
(i);if(arguments.length===2&&typeof s==='string'){return(s==='defaults'?
e.extend({},e.datepicker.l$):(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.m$===o)
{this.v$()};u=this.Ut$(i,!0);l=this.M$(o,'min');c=this.M$
(o,'max');n(o.settings,a);if(l!==null&&a.dateFormat!==t&&a.minDate===t)
{o.settings.minDate=this.A$(o,l)};if(c!==null&&a.dateFormat!==t&&a.maxDate===t)
{o.settings.maxDate=this.A$(o,c)};if('disabled' in a){if(a.disabled){this.Ee$
(i)}else{this.Jt$(i)}};this.xt$(e(i),o);this.kt$(o);this.ze$(o,u);this.Z$
(o);this.I$(o)}},Ei$:function(e,t,i){this.Xt$(e,t,i)},ji$:function(e){var t=this.o$
(e);if(t){this.I$(t)}},Ai$:function(e,t){var i=this.o$(e);if(i){this.ze$
(i,t);this.I$(i);this.Z$(i)}},Ut$:function(e,t){var i=this.o$(e);if(i&&!i.inline)
{this.Le$(i,t)};return(i?this.Ae$(i):null)},Fe$:function(t){var
r,a,s,i=e.datepicker.o$(t.target),n=!0,o=i.dpDiv.is('.ui-datepicker-rtl');i.E$=!
0;if(e.datepicker.k$){switch(t.keyCode){case
9:e.datepicker.v$();n=!1;break;case 13:s=e('td.'+e.datepicker.De$
+':not(.'+e.datepicker.Xe$+')',i.dpDiv);if(s[0]){e.datepicker.pt$
(t.target,i.selectedMonth,i.selectedYear,s[0])};r=e.datepicker.e$
(i,'onSelect');if(r){a=e.datepicker.A$(i);r.apply((i.input?i.input[0]:null),
[a,i])}else{e.datepicker.v$()};return!1;case 27:e.datepicker.v$();break;case
33:e.datepicker.u$(t.target,(t.ctrlKey?-e.datepicker.e$(i,'stepBigMonths'):-
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,'stepMonths')),'M');break;case 35:if(t.ctrlKey||t.metaKey){e.datepicker.Gt$
(t.target)};n=t.ctrlKey||t.metaKey;break;case 36:if(t.ctrlKey||t.metaKey)
{e.datepicker.ct$(t.target)};n=t.ctrlKey||t.metaKey;break;case 37:if(t.ctrlKey||
t.metaKey){e.datepicker.u$(t.target,(o?+1:-1),'D')};n=t.ctrlKey||
t.metaKey;if(t.originalEvent.altKey){e.datepicker.u$(t.target,(t.ctrlKey?-
e.datepicker.e$(i,'stepBigMonths'):-e.datepicker.e$
(i,'stepMonths')),'M')};break;case 38:if(t.ctrlKey||t.metaKey){e.datepicker.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.originalEvent.altKey){e.datepicker.u$(t.target,(t.ctrlKey?
+e.datepicker.e$(i,'stepBigMonths'):+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;default:n=!1}}else
if(t.keyCode===36&&t.ctrlKey){e.datepicker.W$(this)}else{n=!1};if(n)
{t.preventDefault();t.stopPropagation()}},bt$:function(t){var n,i,s=e.datepicker.o$
(t.target);if(e.datepicker.e$(s,'constrainInput')){n=e.datepicker.Bt$
(e.datepicker.e$(s,'dateFormat'));i=String.fromCharCode(t.charCode==null?
t.keyCode:t.charCode);return t.ctrlKey||t.metaKey||(i<' '||!n||n.indexOf(i)>-
1)}},vt$:function(t){var s,n=e.datepicker.o$(t.target);if(n.input.val()!
==n.lastVal){try{s=e.datepicker.parseDate(e.datepicker.e$(n,'dateFormat'),(n.input?
n.input.val():null),e.datepicker.N$(n));if(s){e.datepicker.Le$(n);e.datepicker.Z$
(n);e.datepicker.I$(n)}}catch(i){}};return!0},W$:function(t){t=t.target||
t;if(t.nodeName.toLowerCase()!=='input'){t=e('input',t.parentNode)
[0]};if(e.datepicker.oe$(t)||e.datepicker.U$===t){return};var
i,c,l,s,o,r,a;i=e.datepicker.o$(t);if(e.datepicker.m$&&e.datepicker.m$!==i)
{e.datepicker.m$.dpDiv.stop(!0,!0);if(i&&e.datepicker.k$){e.datepicker.v$
(e.datepicker.m$.input[0])}};c=e.datepicker.e$(i,'beforeShow');l=c?c.apply(t,
[t,i]):{};if(l===!1)
{return};n(i.settings,l);i.lastVal=null;e.datepicker.U$=t;e.datepicker.Le$
(i);if(e.datepicker.R$){t.value=''};if(!e.datepicker.g$)
{e.datepicker.g$=e.datepicker.ii$(t);e.datepicker.g$[1]+=t.offsetHeight};s=!
1;e(t).parents().each(function(){s|=e(this).css('position')==='fixed';return!
s});o={left:e.datepicker.g$[0],top:e.datepicker.g$[1]};e.datepicker.g$=null;i.dpDiv
.empty();i.dpDiv.css({position:'absolute',display:'block',top:'-
1000px'});e.datepicker.I$(i);o=e.datepicker.ei$(i,o,s);i.dpDiv.css({position:
(e.datepicker.R$&&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.k$=!
0;if(e.effects&&e.effects.effect[r]){i.dpDiv.show(r,e.datepicker.e$
(i,'showOptions'),a)}else{i.dpDiv[r||'show'](r?a:null)};if(e.datepicker.ft$(i))
{i.input.focus()};e.datepicker.m$=i}},I$:function(t)
{this.maxRows=4;s=t;t.dpDiv.empty().append(this.Wt$(t));this.Rt$
(t);t.dpDiv.find('.'+this.De$+' a').mouseover();var r,n=this.ye$
(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.m$&&e.datepicker.k$&&e.datepicker.ft$(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.yearshtml=null},0)}},ft$:function(e)
{return e.input&&e.input.is(':visible')&&!e.input.is(':disabled')&&!
e.input.is(':focus')},ei$:function(t,i,n){var
s=t.dpDiv.outerWidth(),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).scrollLeft()),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().left)?e(document).scrollLeft():0;i.top-
=(n&&i.top===(t.input.offset().top+a))?e(document).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},ii$:function(t){var i,s=this.o$
(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]},v$:f
unction(t){var s,o,r,a,n=this.m$;if(!n||(t&&n!==e.data(t,i))){return};if(this.k$)
{s=this.e$(n,'showAnim');o=this.e$(n,'duration');r=function(){e.datepicker.ti$
(n)};if(e.effects&&(e.effects.effect[s]||e.effects[s]))
{n.dpDiv.hide(s,e.datepicker.e$
(n,'showOptions'),o,r)}else{n.dpDiv[(s==='slideDown'?'slideUp':
(s==='fadeIn'?'fadeOut':'hide'))]((s?o:null),r)};if(!s){r()};this.k$=!1;a=this.e$
(n,'onClose');if(a){a.apply((n.input?n.input[0]:null),[(n.input?
n.input.val():''),n])};this.U$=null;if(this.R$)
{this.x$.css({position:'absolute',left:'0',top:'-100px'});if(e.blockUI)
{e.unblockUI();e('body').append(this.dpDiv)}};this.R$=!1}},ti$:function(e)
{e.dpDiv.removeClass(this.Ve$).unbind('.ui-datepicker-calendar')},Zt$:function(t)
{if(!e.datepicker.m$){return};var i=e(t.target),n=e.datepicker.o$
(i[0]);if(((i[0].id!
==e.datepicker.ae$&&i.parents('#'+e.datepicker.ae$).length===0&&!
i.hasClass(e.datepicker.markerClassName)&&!
i.closest('.'+e.datepicker.Pe$).length&&e.datepicker.k$&&!
(e.datepicker.R$&&e.blockUI)))||
(i.hasClass(e.datepicker.markerClassName)&&e.datepicker.m$!==n)){e.datepicker.v$
()}},u$:function(t,i,n){var r=e(t),s=this.o$(r[0]);if(this.oe$(r[0]))
{return};this.Ce$(s,i+(n==='M'?this.e$(s,'showCurrentAtPos'):0),n);this.I$
(s)},ct$:function(t){var n,s=e(t),i=this.o$(s[0]);if(this.e$
(i,'gotoCurrent')&&i.currentDay)
{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.drawYea
r=i.selectedYear=n.getFullYear()};this.le$(i);this.u$(s)},ut$:function(t,i,n){var
r=e(t),s=this.o$(r[0]);s['selected'+(n==='M'?'Month':'Year')]=s['draw'+
(n==='M'?'Month':'Year')]=parseInt(i.options[i.selectedIndex].value,10);this.le$
(s);this.u$(r)},pt$:function(t,i,n,s){var r,o=e(t);if(e(s).hasClass(this.Ke$)||
this.oe$(o[0])){return};r=this.o$
(o[0]);r.selectedDay=r.currentDay=e('a',s).html();r.selectedMonth=r.currentMonth=i;
r.selectedYear=r.currentYear=n;this.mt$(t,this.A$
(r,r.currentDay,r.currentMonth,r.currentYear))},Gt$:function(t){var i=e(t);this.mt$
(i,'')},mt$:function(t,i){var s,r=e(t),n=this.o$(r[0]);i=(i!=null?i:this.A$
(n));if(n.input){n.input.val(i)};this.Z$(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.I$(n)}else{this.v$
();this.U$=n.input[0];if(typeof(n.input[0])!=='object')
{n.input.focus()};this.U$=null}},Z$:function(t){var r,s,n,i=this.e$
(t,'altField');if(i){r=this.e$(t,'altFormat')||this.e$(t,'dateFormat');s=this.Ae$
(t);n=this.formatDate(r,s,this.N$(t));e(i).each(function()
{e(this).val(n)})}},noWeekends:function(e){var
t=e.getDay();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.toString():i+'');if(i===''){return null};var
a,m,g,o=0,v=(n?n.shortYearCutoff:null)||this.l$.shortYearCutoff,x=(typeof v!
=='string'?v:new Date().getFullYear()%100+parseInt(v,10)),w=(n?
n.dayNamesShort:null)||this.l$.dayNamesShort,k=(n?n.dayNames:null)||
this.l$.dayNames,y=(n?n.monthNamesShort:null)||this.l$.monthNamesShort,C=(n?
n.monthNames:null)||this.l$.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.map(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).toLowerCase()===n.toLowerCase())
{r=t[0];o+=n.length;return!1}});if(r!==-1){return r+1}else{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.gt$)/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.substr(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.Y$(r,l-
1);if(c<=m){break};l++;c-=m}while(!0);};s=this.r$(new
Date(r,l-1,c));if(s.getFullYear()!==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',gt$:
(((1970-1)*365+Math.floor(1970/4)-
Math.floor(1970/100)+Math.floor(1970/400))*24*60*60*10000000),formatDate:function(e
,t,i){if(!t){return''};var s,u=(i?i.dayNamesShort:null)||
this.l$.dayNamesShort,f=(i?i.dayNames:null)||this.l$.dayNames,c=(i?
i.monthNamesShort:null)||this.l$.monthNamesShort,h=(i?i.monthNames:null)||
this.l$.monthNames,r=function(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.charAt(s)==='\''&&!r('\'')){o=!
1}else{n+=e.charAt(s)}}else{switch(e.charAt(s))
{case'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()).getTime()-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.gt$;brea
k;case'\'':if(r('\'')){n+='\''}else{o=!0};break;default:n+=e.charAt(s)}}}};return
n},Bt$: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.settings[i]!==t?e.settings[i]:this.l$
[i]},Le$: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.Me$(e),n=r,a=this.N$
(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.d
rawYear=e.selectedYear=n.getFullYear();e.currentDay=(s?
n.getDate():0);e.currentMonth=(s?n.getMonth():0);e.currentYear=(s?
n.getFullYear():0);this.Ce$(e)},Me$:function(e){return this.ke$(e,this.Oe$
(e,this.e$(e,'defaultDate'),new Date()))},Oe$:function(t,i,n){var o=function(e){var
t=new Date();t.setDate(t.getDate()+e);return t},r=function(i){try{return
e.datepicker.parseDate(e.datepicker.e$(t,'dateFormat'),i,e.datepicker.N$
(t))}catch(n){};var l=(i.toLowerCase().match(/^c/)?e.datepicker.Ae$(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')
{case'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.Y$
(a,o));break;case'y':case'Y':a+=parseInt(r[1],10);s=Math.min(s,e.datepicker.Y$
(a,o));break};r=c.exec(i)};return new Date(a,o,s)},s=(i==null||i===''?n:(typeof
i==='string'?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.setSeconds(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},ze$:function(e,t,i){var r=!
t,o=e.selectedMonth,s=e.selectedYear,n=this.ke$(e,this.Oe$(e,t,new
Date()));e.selectedDay=e.currentDay=n.getDate();e.drawMonth=e.selectedMonth=e.curre
ntMonth=n.getMonth();e.drawYear=e.selectedYear=e.currentYear=n.getFullYear();if((o!
==e.selectedMonth||s!==e.selectedYear)&&!i){this.le$(e)};this.Ce$(e);if(e.input)
{e.input.val(r?'':this.A$(e))}},Ae$:function(e){var t=(!e.currentYear||
(e.input&&e.input.val()==='')?null:this.r$(new
Date(e.currentYear,e.currentMonth,e.currentDay)));return t},Rt$: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:function(){e.datepicker.v$
()},today:function(){e.datepicker.ct$(i)},selectDay:function(){e.datepicker.pt$(i,
+this.getAttribute('data-month'),+this.getAttribute('data-year'),this);return!
1},selectMonth:function(){e.datepicker.ut$(i,this,'M');return!
1},selectYear:function(){e.datepicker.ut$(i,this,'Y');return!
1}};e(this).bind(this.getAttribute('data-event'),t[this.getAttribute('data-
handler')])})},Wt$: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.getDate())),o=this.e$
(e,'isRTL'),ie=this.e$(e,'showButtonPanel'),J=this.e$
(e,'hideIfNoPrevNext'),A=this.e$(e,'navigationAsDateFormat'),a=this.ye$
(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.currentDay))),g=this.M$(e,'min'),d=this.M$
(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=11;n--}}};e.drawMonth=t;e.drawYear=n;l=this.e$(e,'prevText');l=(!A?
l:this.formatDate(l,this.r$(new Date(n,t-ee,1)),this.N$(e)));S=(this.Ue$(e,-
1,n,t)?'<a class=\'ui-datepicker-prev ui-corner-all\' data-handler=\'prev\' data-
event=\'click\' title=\''+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-disabled\' 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,this.r$(new Date(n,t+ee,1)),this.N$(e)));B=(this.Ue$(e,
+1,n,t)?'<a class=\'ui-datepicker-next ui-corner-all\' data-handler=\'next\' data-
event=\'click\' title=\''+u+'\'><span class=\'ui-icon ui-icon-circle-triangle-'+
(o?'w':'e')+'\'>'+u+'</span></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.currentDay?N:P);y=(!A?
y:this.formatDate(y,H,this.N$(e)));O=(!e.inline?'<button type=\'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-
content\'>'+(o?O:'')+(this.Re$(e,H)?'<button type=\'button\' class=\'ui-datepicker-
current 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,'dayNames');K=this.e$(e,'dayNamesMin');Z=this.e$
(e,'monthNames');G=this.e$(e,'monthNamesShort');L=this.e$
(e,'beforeShowDay');w=this.e$(e,'showOtherMonths');V=this.e$
(e,'selectOtherMonths');W=this.Me$(e);C='';r;for(p=0;p<a[0];p++)
{Y='';this.maxRows=4;for(m=0;m<a[1];m++){U=this.r$(new Date(n,t,e.selectedDay));h='
ui-corner-all';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;default: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.Ht$(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><tbody>';R=this.Y$
(n,t);if(n===e.selectedYear&&t===e.selectedMonth)
{e.selectedDay=Math.min(e.selectedDay,R)};z=(this.Yt$(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,'calculateWeek')(i)+'</td>');for(r=0;r<7;r++){v=(L?L.apply((e.input?
e.input[0]:null),[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-other-month':'')+
((i.getTime()===U.getTime()&&t===e.selectedMonth&&e.E$)||
(W.getTime()===i.getTime()&&W.getTime()===U.getTime())?' '+this.De$:'')+(x?'
'+this.Ke$+' ui-state-disabled':'')+(f&&!w?'':' '+v[1]+(i.getTime()===N.getTime()?'
'+this.Xe$:'')+(i.getTime()===P.getTime()?' ui-datepicker-today':''))+'\''+((!f||
w)&&v[2]?' title=\''+v[2].replace(/'/g,'&#39;')+'\'':'')+(x?'':' data-
handler=\'selectDay\' data-event=\'click\' data-month=\''+i.getMonth()+'\' data-
year=\''+i.getFullYear()+'\'')+'>'+(f&&!w?'&#xa0;':(x?'<span class=\'ui-state-
default\'>'+i.getDate()+'</span>':'<a class=\'ui-state-default'+
(i.getTime()===P.getTime()?' ui-state-highlight':'')+(i.getTime()===N.getTime()?'
ui-state-active':'')+(f?' ui-priority-secondary':'')+'\' href=\'#\'>'+i.getDate()
+'</a>'))+'</td>';i.setDate(i.getDate()+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\'></div>':''):'');Y+=s};C+=Y};C+=Q;e.E$=!1;return
C},Ht$: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\' data-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?' selected=\'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=\'ui-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.substring(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.yearshtml+='<option value=\''+r+'\''+(r===i?' selected=\'selected\'':'')
+'>'+r+'</option>'};e.yearshtml+='</select>';l+=e.yearshtml;e.yearshtml=null}};l+=t
his.e$(e,'yearSuffix');if(y){l+=(a||!(h&&f)?'&#xa0;':'')+c};l+='</div>';return
l},Ce$:function(e,t,i){var s=e.drawYear+(i==='Y'?t:0),r=e.drawMonth+(i==='M'?
t:0),o=Math.min(e.selectedDay,this.Y$(s,r))+(i==='D'?t:0),n=this.ke$(e,this.r$(new
Date(s,r,o)));e.selectedDay=n.getDate();e.drawMonth=e.selectedMonth=n.getMonth();e.
drawYear=e.selectedYear=n.getFullYear();if(i==='M'||i==='Y'){this.le$
(e)}},ke$:function(e,t){var n=this.M$(e,'min'),i=this.M$(e,'max'),s=(n&&t<n?
n:t);return(i&&s>i?i:s)},le$:function(e){var t=this.e$(e,'onChangeMonthYear');if(t)
{t.apply((e.input?e.input[0]:null),
[e.selectedYear,e.selectedMonth+1,e])}},ye$:function(e){var t=this.e$
(e,'numberOfMonths');return(t==null?[1,1]:(typeof t==='number'?
[1,t]:t))},M$:function(e,t){return this.Oe$(e,this.e$
(e,t+'Date'),null)},Y$:function(e,t){return 32-this.r$(new
Date(e,t,32)).getDate()},Yt$:function(e,t){return new
Date(e,t,1).getDay()},Ue$:function(e,t,i,n){var r=this.ye$(e),s=this.r$(new
Date(i,n+(t<0?t:r[0]*r[1]),1));if(t<0){s.setDate(this.Y$
(s.getFullYear(),s.getMonth()))};return this.Re$(e,s)},Re$:function(e,t){var
i,r,a=this.M$(e,'min'),l=this.M$(e,'max'),n=null,s=null,o=this.e$
(e,'yearRange');if(o){i=o.split(':');r=new
Date().getFullYear();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))},N$: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')}},A$:function(e,t,i,n)
{if(!t)
{e.currentDay=e.selectedDay;e.currentMonth=e.selectedMonth;e.currentYear=e.selected
Year};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.N$(e))}});function o(t){var i='button, .ui-datepicker-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-hover')};if(this.className.indexOf('ui-
datepicker-next')!==-1){e(this).removeClass('ui-datepicker-next-
hover')}}).delegate(i,'mouseover',function(){if(!e.datepicker.oe$(s.inline?
t.parent()[0]:s.input[0])){e(this).parents('.ui-datepicker-
calendar').find('a').removeClass('ui-state-hover');e(this).addClass('ui-state-
hover');if(this.className.indexOf('ui-datepicker-prev')!==-1){e(this).addClass('ui-
datepicker-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(!this.length){return this};if(!
e.datepicker.initialized)
{e(document).mousedown(e.datepicker.Zt$);e.datepicker.initialized=!
0};if(e('#'+e.datepicker.ae$).length===0){e('body').append(e.datepicker.dpDiv)};var
i=Array.prototype.slice.call(arguments,1);if(typeof
t==='string'&&(t==='isDisabled'||t==='getDate'||t==='widget')){return
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
this.each(function(){typeof t==='string'?
e.datepicker['_'+t+'Datepicker'].apply(e.datepicker,
[this].concat(i)):e.datepicker.Qt$(this,t)})};e.datepicker=new
r();e.datepicker.initialized=!1;e.datepicker.uuid=new
Date().getTime();e.datepicker.version='1.10.3'})(jQuery);(function(e,t)
{e.widget('ui.menu',{version:'1.10.3',defaultElement:'<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,select:null},D$: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.eventNam
espace,e.proxy(function(e){if(this.options.disabled)
{e.preventDefault()}},this));if(this.options.disabled){this.element.addClass('ui-
state-disabled').attr('aria-disabled','true')};this.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.element.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-
state-active');this.focus(t,i)},mouseleave:'collapseAll','mouseleave .ui-
menu':'collapseAll',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.mouseHandled=!1}})},S$:function()
{this.element.removeAttr('aria-activedescendant').find('.ui-
menu').addBack().removeClass('ui-menu ui-widget ui-widget-content ui-corner-all ui-
menu-icons').removeAttr('role').removeAttr('tabIndex').removeAttr('aria-
labelledby').removeAttr('aria-expanded').removeAttr('aria-
hidden').removeAttr('aria-
disabled').removeUniqueId().show();this.element.find('.ui-menu-
item').removeClass('ui-menu-item').removeAttr('role').removeAttr('aria-
disabled').children('a').removeUniqueId().removeClass('ui-corner-all ui-state-
hover').removeAttr('tabIndex').removeAttr('role').removeAttr('aria-
haspopup').children().each(function(){var 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')},Ri$:function(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.d$
('first','first',t);break;case e.ui.keyCode.END:this.d$('last','last',t);break;case
e.ui.keyCode.UP:this.previous(t);break;case
e.ui.keyCode.DOWN:this.next(t);break;case
e.ui.keyCode.LEFT:this.collapse(t);break;case e.ui.keyCode.RIGHT:if(this.active&&!
this.active.is('.ui-state-disabled')){this.expand(t)};break;case
e.ui.keyCode.ENTER:case e.ui.keyCode.SPACE:this.pe$(t);break;case
e.ui.keyCode.ESCAPE:this.collapse(t);break;default:l=!
1;o=this.previousFilter||'';n=String.fromCharCode(t.keyCode);r=!
1;clearTimeout(this.filterTimer);if(n===o){r=!0}else{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(this.active.next())!==-
1?this.active.nextAll('.ui-menu-item'):i;if(!i.length)
{n=String.fromCharCode(t.keyCode);s=new
RegExp('^'+a(n),'i');i=this.activeMenu.children('.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.filterTimer=this.f$
(function(){delete this.previousFilter},1000)}else{delete
this.previousFilter}}else{delete this.previousFilter}};if(l)
{t.preventDefault()}},pe$:function(e){if(!this.active.is('.ui-state-disabled'))
{if(this.active.children('a[aria-haspopup=\'true\']').length)
{this.expand(e)}else{this.select(e)}}},refresh:function(){var
t,n=this.options.icons.submenu,i=this.element.find(this.options.menus);i.filter(':n
ot(.ui-menu)').addClass('ui-menu ui-widget ui-widget-content ui-corner-
all').hide().attr({role:this.options.role,'aria-hidden':'true','aria-
expanded':'false'}).each(function(){var
t=e(this),i=t.prev('a'),s=e('<span>').addClass('ui-menu-icon ui-icon '+n).data('ui-
menu-submenu-carat',!0);i.attr('aria-haspopup','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.It$()});t.children(':not(.ui-menu-
item)').each(function(){var t=e(this);if(!/[^\-\u2014\u2013\s]/.test(t.text()))
{t.addClass('ui-widget-content
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()}},It$: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.Mt$
(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().closest('.ui-menu-
item').children('a:first').addClass('ui-state-active');if(e&&e.type==='keydown')
{this.j$()}else{this.timer=this.f$(function(){this.j$
()},this.delay)};i=t.children('.ui-menu');if(i.length&&(/^mouse/.test(e.type)))
{this.Pt$(i)};this.activeMenu=t.parent();this.t$('focus',e,
{item:t})},Mt$:function(t){var o,a,i,r,s,n;if(this.de$())
{o=parseFloat(e.css(this.activeMenu[0],'borderTopWidth'))||
0;a=parseFloat(e.css(this.activeMenu[0],'paddingTop'))||0;i=t.offset().top-
this.activeMenu.offset().top-o-
a;r=this.activeMenu.scrollTop();s=this.activeMenu.height();n=t.height();if(i<0)
{this.activeMenu.scrollTop(r+i)}else if(i+n>s){this.activeMenu.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})},Pt$:function(e)
{clearTimeout(this.timer);if(e.attr('aria-hidden')!=='true')
{return};this.timer=this.f$(function(){this.j$();this.We$
(e)},this.delay)},We$:function(t){var
i=e.extend({of:this.active},this.options.position);clearTimeout(this.timer);this.el
ement.find('.ui-menu').not(t.parents('.ui-menu')).hide().attr('aria-
hidden','true');t.show().removeAttr('aria-hidden').attr('aria-
expanded','true').position(i)},collapseAll: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.j$
(n);this.blur(t);this.activeMenu=n},this.delay)},j$:function(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=this.active&&this.active.parent().closest('.ui-menu-
item',this.element);if(t&&t.length){this.j$();this.focus(e,t)}},expand:function(e)
{var t=this.active&&this.active.children('.ui-menu ').children('.ui-menu-
item').first();if(t&&t.length){this.We$(t.parent());this.f$(function()
{this.focus(e,t)})}},next:function(e){this.d$
('next','first',e)},previous:function(e){this.d$
('prev','last',e)},isFirstItem:function(){return this.active&&!
this.active.prevAll('.ui-menu-item').length},isLastItem:function(){return
this.active&&!this.active.nextAll('.ui-menu-item').length},d$: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.active[e+'All']('.ui-menu-item').eq(0)}};if(!n||!n.length||!
this.active){n=this.activeMenu.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(this.de$())
{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.focus(t,i)}else{this.focus(t,this.activeMenu.children('.ui-menu-item')[!
this.active?'first':'last']())}},previousPage:function(t){var i,s,n;if(!
this.active){this.next(t);return};if(this.isFirstItem()){return};if(this.de$())
{s=this.active.offset().top;n=this.element.height();this.active.prevAll('.ui-menu-
item').each(function(){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())}},de$:function(){return
this.element.outerHeight()<this.element.prop('scrollHeight')},select:function(t)
{this.active=this.active||e(t.target).closest('.ui-menu-item');var
i={item:this.active};if(!this.active.has('.ui-menu').length){this.collapseAll(t,!
0)};this.t$('select',t,i)}})}(jQuery));(function(e){e.support.touch='ontouchend' in
document;if(!e.support.touch){return};var n=e.ui.mouse.prototype,s=n.B$,i;function
t(e,t){if(e.originalEvent.touches.length>1){return};e.preventDefault();var
i=e.originalEvent.changedTouches[0],n=document.createEvent('MouseEvents');n.initMou
seEvent(t,!0,!0,window,1,i.screenX,i.screenY,i.clientX,i.clientY,!1,!1,!1,!
1,0,null);e.target.dispatchEvent(n)};n.Hi$=function(e){var n=this;if(i||!n.q$
(e.originalEvent.changedTouches[0])){return};i=!0;n.Ye$=!
1;t(e,'mouseover');t(e,'mousemove');t(e,'mousedown')};n.Fi$=function(e){if(!i)
{return};this.Ye$=!0;t(e,'mousemove')};n.zi$=function(e){if(!i)
{return};t(e,'mouseup');t(e,'mouseout');if(!this.Ye$){t(e,'click')};i=!
1};n.B$=function(){var
t=this;t.element.bind('touchstart',e.proxy(t,'_touchStart')).bind('touchmove',e.pro
xy(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.width='auto';i.height='auto';c.html('<p id="fancybox-
error">The requested content cannot 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('fancybox')=='undefined'?
i:e(n).data('fancybox')));a=i.onStart(f,h,i);if(a===!1){s=!1;return}else if(typeof
a=='object'){i=e.extend(i,a)};l=i.title||(n.nodeName?
e(n).attr('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.content}}else if(i.content){r='html'}else if(t){if(t.match(I)){r='image'}else
if(t.match(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.ti
tle=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.width='auto';i.height='auto'}else{i.autoDimensions=!1}};if(i.modal)
{i.overlayShow=!0;i.hideOnOverlayClick=!1;i.hideOnContentClick=!
1;i.enableEscapeButton=!1;i.showCloseButton=!
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())});switch(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=null;Y()};m.src=t;break;case'swf':i.scrolling='no';u='<object
classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="'+i.width+'"
height="'+i.height+'"><param name="movie"
value="'+t+'"></param>';d='';e.each(i.swf,function(e,t){u+='<param 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.showActivity();i.ajax.win=i.ajax.success;P=e.ajax(e.extend({},i.ajax,
{url:t,data:i.ajax.data||{},dataType:'json',error:function(e,t,i){if(e.status>0)
{O()}},success:function(e,n,s){var r=typeof s=='object'?s:P;if(r.status==200)
{if(typeof i.ajax.win=='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=='error'){var e='<h2>Error</h2><div
class="alertfield">'+e.html+'</div>'}else if(e.method=='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}}else if(e=='{"method":"ok","html":""}'){var
e='<h2>Reloading...</h2><br>';window.location.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(window).width()-
(i.margin*2))*parseFloat(n)/100,10)+'px'}else{n=n=='auto'?'auto':n+'px'};if(t.toStr
ing().indexOf('%')>-1){t=parseInt((e(window).height()-
(i.margin*2))*parseFloat(t)/100,10)+'px'}else{t=t=='auto'?'auto':t+'px'};c.wrapInne
r('<div style="width:'+n+';height:'+t+';overflow: '+(i.scrolling=='auto'?'visible':
(i.scrolling=='yes'?'scroll':'hidden'))
+';position:relative;"></div>');i.width=c.width();i.height=c.height();N()},Y=functi
on(){i.width=m.width;i.height=m.height;e('<img />').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.is(':visible')&&t.titlePosition!
=='outside'){n.css('height',n.height())};if(t.overlayShow){p.css({'background-
color':t.overlayColor,'opacity':t.overlayOpacity,'cursor':t.hideOnOverlayClick?'poi
nter':'auto','height':e(document).height()});if(!p.i
s(':visible')){p.show()}}else{p.hide()};r=W();U();if(n.is(':visible'))
{e(k.add(y).add(x)).hide();m=n.position(),d={top:m.top,left:m.left,width:n.width(),
height: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.width-
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.easingChange,step:E,complete:n})}});return};n.remo
veAttr('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.titlePositio
n=='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.contents());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"></td><td id="fancybox-title-
float-main">'+e+'</td><td id="fancybox-title-float-
right"></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.titleFormat)?t.titleFormat(v,a,u,t):B(v);if(!v||
v===''){l.hide();return};l.addClass('fancybox-
title-'+t.titlePosition).html(v).appendTo('body').show();switch(t.titlePosition)
{case'inside':l.css({'width':r.width-
(t.padding*2),'marginLeft':t.padding,'marginRight':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.padding}).appendTo(T);break;case'float':l.css('left',parse
Int((l.width()-r.width-40)/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);break}
;l.hide()},Q=function(){if(t.enableEscapeButton||t.enableKeyboardNav)
{e(document).bind('keydown.fb',function(i){if(i.keyCode==27&&t.enableEscapeButton)
{i.preventDefault();e.fancybox.close()}else if((i.keyCode==37||
i.keyCode==39)&&t.enableKeyboardNav&&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=function(){if(!
e.support.opacity)
{o.get(0).style.removeAttribute('filter');n.get(0).style.removeAttribute('filter')}
;if(i.autoDimensions)
{o.css('height','auto')};n.css('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.hideOnOverlayClick)
{p.bind('click',e.fancybox.close)};e(window).bind('resize.fb',e.fancybox.resize);if
(t.centerOnScroll)
{e(window).bind('scroll.fb',e.fancybox.center)};if(t.type=='iframe'){e('<iframe
id="fancybox-frame" name="fancybox-frame'+new Date().getTime()+'" frameborder="0"
hspace="0" allowtransparency="true" scrolling="'+i.scrolling+'"
src="'+t.href+'"></iframe>').appendTo(o)};n.show();s=!
1;e.fancybox.center();t.onComplete(a,u,t);o.find('[autofocus]').focus();X()},X=func
tion(){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.top+(r.top-
d.top)*e,10),left:parseInt(d.left+(r.left-d.left)*e,10)};if(typeof r.opacity!
=='undefined'){i.opacity=e<0.5?0.5:e};n.css(i);o.css({'width':i.width-
t.padding*2,'height':i.height-(b*e)-t.padding*2})},j=function()
{return[e(window).width()-(t.margin*2),e(window).height()-
(t.margin*2),e(document).scrollLeft()+t.margin,e(document).scrollTop()
+t.margin]},W=function(){var
n=j(),e={},o=t.autoScale,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.h
eight.toString().indexOf('%')>-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=='swf'){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.height-s)*r)
+s,10)}}else{e.width=Math.min(e.width,n[0]);e.height=Math.min(e.height,n[1])}};e.to
p=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=function(e){var
t=e.offset();t.top+=parseInt(e.css('paddingTop'),10)||
0;t.left+=parseInt(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.height();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,1
0),left:parseInt(n[2]+n[0]*0.5,10)}};return 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){return
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)
{return};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.ext
end({content:t[i]},n))}};f=jQuery.merge(f,t)}else{if(typeof t=='object')
{e(t).data('fancybox',e.extend({},n,t))}else{t=e({}).data('fancybox',e.extend({cont
ent: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=function(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,onCleanup: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{title:t.find('h1,h2,h3').eq(0).text(),div:e('<div/>').hide().appen
dTo('body').append(t.contents()),wrapTop:i.css('top'),wrapLeft:i.css('left'),wrapWi
dth:i.css('width'),contentWidth:t.css('width')}};e.fancybox.restoreState=function(t
){e('#fancybox-
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.remove
()};e.fancybox.showActivity=function()
{clearInterval(M);g.show();M=setInterval(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.length)
{h=e;D()}else if(t.cyclic&&a.length>1){h=e>=a.length?0:a.length-
1;D()};return};e.fancybox.cancel=function(){if(s){return};s=!
0;e.event.trigger('fancybox-cancel');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.onCleanup(a,u,t)){s=!
1;return};z();e(k.add(y).add(x)).hide();e(o.add(p)).unbind();e(window).unbind('resi
ze.fb
scroll.fb');e(document).unbind('keydown.fb');o.find('iframe').attr('src','about:bla
nk');if(t.titlePosition!=='inside'){l.empty()};n.stop();function c()
{p.fadeOut('fast');l.empty().hide();n.hide();e.event.trigger('fancybox-
cleanup');o.empty();t.onClosed(a,u,t);a=i=[];u=h=0;t=i={};s=!
1};if(t.transitionOut=='elastic'){d=F();var
f=n.position();r={top:f.top,left:f.left,width:n.width(),height:n.height()};if(t.opa
city){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.transi
tionOut=='none'?0:t.speedOut,c)}};e.fancybox.resize=function(){if(p.is(':visible'))
{p.css('height',e(document).height())};e.fancybox.center(!
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 arguments[0]=='number'?
arguments[0]:200)};e.fancybox.init=function(){if(e('#fancybox-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-
overlay"></div>'),n=e('<div id="fancybox-wrap"></div>'));T=e('<div id="fancybox-
outer"></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="fancybox-title"></div>'),y=e('<a
href="javascript:;" id="fancybox-left"><span
class="fancy-ico" id="fancybox-left-ico"></span></a>'),x=e('<a href="javascript:;"
id="fancybox-right"><span class="fancy-ico" id="fancybox-right-
ico"></span></a>'));k.click(e.fancybox.close);g.click(e.fancybox.cancel);y.click(fu
nction(t){t.preventDefault();e.fancybox.prev()});x.click(function(t)
{t.preventDefault();e.fancybox.next()});if(e.fn.mousewheel)
{n.bind('mousewheel.fb',function(t,i){if(s){t.preventDefault()}else
if(e(t.target).get(0).clientHeight==0||
e(t.target).get(0).scrollHeight===e(t.target).get(0).clientHeight)
{t.preventDefault();e.fancybox[i>0?'prev':'next']()}})};if(!e.support.opacity)
{n.addClass('fancybox-ie')}};e.fn.fancybox.defaults={padding:10,margin:40,opacity:!
1,modal:!1,cyclic:!1,scrolling:'auto',width:560,height:340,autoScale:!
0,autoDimensions:!0,centerOnScroll:!1,ajax:{},swf:
{wmode:'transparent'},hideOnOverlayClick:!0,hideOnContentClick:!1,overlayShow:!
0,overlayOpacity:0.9,titleShow:!
1,titlePosition:'float',titleFormat:null,titleFromAlt:!
1,transitionIn:'fade',transitionOut:'fade',speedIn:300,speedOut:300,changeSpeed:300
,changeFade:'fast',easingIn:'swing',easingOut:'swing',showCloseButton:!
0,showNavArrows:!0,enableEscapeButton:!0,enableKeyboardNav:!0,onStart:function()
{},onCancel:function(){},onComplete:function(){},onCleanup:function()
{},onClosed:function(){},onError:function(){}};e(document).ready(function()
{e.fancybox.init()})})(jQuery);(function(e)
{e.bbedit={baseURL:'//kastatic.com/images/',i18n:{'default':
{'b':'Bold','i':'Italic','u':'Underline','s':'Strike through','url':'Insert
link','torrent':'Insert torrent link','user':'Insert link to user
profile','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':'Loveliness','mad':'Mad','sad':'Sad','shocked':'Shocked','shy':'
Shy','sleepy':'Sleepy','smile':'Smile','sweat':'Sweat','titter':'Titter','tongue':'
Tongue out','pirate':'Pirate','nervous':'Nervous Laughter','white':'White
Flag','cold':'Cold Sweat','lucky':'Ya feelin lucky,
punk??','boo':'Boo','wink':'Little
D','dull':'Dull','chuckle':'Chuckle','clap':'Clap','drunk':'Drunk','finger':'Middle
finger','inlove':'In love','nerd':'Nerd','no':'No','rofl':'ROFL','sealed':'Lips
sealed','smirk':'Smirk','think':'Think','yes':'Yes','wait':'Wait','wave':'Wave','co
ol':'Cool
dude','evil':'Evil','punch':'Punch','doh':'Doh','yawn':'Yawn','tmi':'TMI','fubar':'
FUBAR','rock':'Rock','bandit':'Bandit','swear':'Swear','thumb_dwn':'Thumbs
Down','thump_up':'Thumbs Up'}}};e.fn.extend({bbedit:function(i)
{this.defaults={highlight:!0,enableToolbar:!0,enableSmileybar:!
0,lang:'default',tags:'b,i,u,s,image,url,torrent,user,code,quote,smiles,
spoiler',smilies:'biggrin,cry,dizzy,funk,huffy,lol,loveliness,mad,sad,shocked,shy,s
leepy,smile,sweat,titter,tongue,pirate,boo,wink,dull,chuckle,clap,drunk,finger,inlo
ve,nerd,no,rofl,sealed,smirk,think,yes,wait,wave,cool,evil,punch,doh,yawn,tmi,fubar
,rock,bandit,swear,thump_up,thumb_dwn',attachImage:!0};var
i=e.extend(this.defaults,i),o=i.tags.split(/,\s*/),a='<div class="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 click
keyup',function(){if(document.selection){var
i=document.selection.createRange(),t=s.ta.createTextRange(),e=t.duplicate();t.moveT
oBookmark(i.getBookmark());e.setEndPoint('EndToStart',t);s.selectionStart=e.text.le
ngth;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(function()
{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-code').click(function()
{t(s,'[code]','[/code]')});o.find('.bbedit-quote').click(function()
{t(s,'[quote]','[/quote]')});o.find('.bbedit-spoiler').click(function()
{t(s,'[spoiler]','[/spoiler]')});o.find('.bbedit-url').click(function()
{t(s,function(e){if(/^https?:\/\//i.test(e)){return'[url]'+e+'[/url]'}else{var
t=prompt('URL: ','');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]'}};return!
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)).append(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].name+']')}}}});o.find('
.bbedit-smiles').click(function(){if(e(s.ta).hasClass('activeSmiles'))
{e(s.ta).removeClass('activeSmiles')}else{e(s.ta).addClass('activeSmiles')};e('#'+l
).toggle();return!1});o.find('.bbedit-user').click(function(){t(s,function(e){var
t=prompt('Nickname: ',e);if(t!=null&&t!=''){t=t.replace(/https?.+\/user\/([^\/]
+)\/.*/,'$1');return'[user="'+t+'"]'}else{return!1}})});o.find('.bbedit-
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.click(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.selectionEnd||
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!='undefined'){var
o=n.createTextRange();if(e.highlight)
{o.moveStart('character',r);o.moveEnd('character',r+s.length)}else{o.moveStart('cha
racter',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.selectionStart=r+s.length;n.se
lectionEnd=r+s.length}}else{n.value+=s}}})(jQuery);(function(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);if(n.attachto){if(typeof(n.attachto)=='object')
{n.attachto.append(l)}else{e(n.attachto).append(l)}}else{s.after(l)};c=e('<div
class="facebook-auto">').width(n.width);if(n.complete_text!=''){var
t=n.complete_text;if(n.select_all_text){c.children('.default').append(e('<a href=""
class="select_all_items">'+n.select_all_text+'</a>').click(function()
{e(s).trigger('selectAll');return!1}))}};c.hover(function(){D=0},function()
{D=1});r=e('<ul
id="'+p+'_feed"></ul>').width(n.width);l.after(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).className+' 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.text(),n.val(),!
0,n.hasClass('locked'));t.append('<option value="'+n.val()+'" selected="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.append(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+'" class="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('deleted');v(1);return c};function b(t){if(!
t.hasClass('locked')){t.fadeOut('fast');var 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}};function A(t){var s=e('<li class="bit-
input" id="'+p+'_annoninput">'),i=e('<input type="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.attr('name',n.input_name);l.append(s.append(i));i.focus(function(){P=!
0;if(m()){c.fadeIn('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.length&&i.val().length>n.input_min_size)
{r.show()}else{v(1);c.childre
n('.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).width(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').hasClass('locked')){if(l.children('li.bit-box.deleted').length==0)
{l.children('li.bit-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.keyCode!=a.downarrow&&t.keyCode!
=a.uparrow&&t.keyCode!=a.leftarrow&&t.keyCode!
=a.rightarrow&&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.children('.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.value))})};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:visible: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)}catch(i){};return e};function j()
{r.children('li').mouseover(function(){r.children('li').removeClass('auto-
focus');o=e(this);o.addClass('auto-focus')});r.children('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('moused
own').mousedown(function(){var
t=e(this);u(t.text(),t.attr('rel'),0,0,1);v(1);c.hide()});t.unbind('keydown');t.key
down(function(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()){var i=o;u(i.text(),i.attr('rel'),0,0,1);return
y(t)};if((t.keyCode==a.enter||t.keyCode==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:visible:first');var
i=o;u(i.text(),i.attr('rel'),0,0,1);return y(t)}};if(t.keyCode==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=='first'?
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').le
ngth,10);if(((e=='first'?t:i)>Math.round(n.height/2)||(e=='first'?
t:i)<=Math.round(n.height/2))&&typeof(o.get(0))!='undefined')
{r.get(0).scrollTop=parseInt(o.get(0).scrollHeight,10)*(t-
Math.round(n.height/2))}};r.children('li').removeClass('auto-
focus');o.addClass('auto-focus')};function y(e)
{c.hide();e.preventDefault();o=null;return!1};function m(){return n.maxitems!
=0&&(l.children('li.bit-box').length<n.maxitems)};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!='undefined'){return e};return
unescape(e)};function v(e){r.children().remove();if(e){r.hide()}};function E(t)
{g=0;if(n.json_url&&m()){if(n.cache&&k.get(t)){w(t);x()}else{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,maxitems:10,oncreate:null,onselect:n
ull,onremove:null,attachto:null,delay:350,input_tabindex:0,input_min_size:1,input_n
ame:'',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,'leftarrow':37,'uparrow':38,'righta
rrow':39,'downarrow':40,'exclamation':33,'slash':47,'colon':58,'at':64,'squarebrick
et_left':91,'apostrof':96};var z=function(){var
t='0123456789ABCDEFGHIJKLMNOPQRSTUVWXTZabcdefghiklmnopqrstuvwxyz',e='';for(var
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':function(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('cache').length}},'init':function(){if(s.data('cache')=='undefined')
{s.data('cache',{})}}};O();k.init();f.init();return this})}})(jQuery);(function(e)
{e.fn.tooManyTabs=function(t){var i=this,s={moreTabSelector:'.more-
tab',dropdownSelector:'.menu-more',tabSelector:'li:not(.action-tab, .drop-
tab)',excludeSelector:'.action-tab:visible'};var r=2;i.readjustTabs=function()
{i.G$=e(i.config.moreTabSelector,this);i.Ct$=e(i.config.dropdownSelector,this);var
o=i.G$.outerWidth();i.G$.hide();var
n=e(e(i.config.tabSelector,this).get().reverse());n.show();var
r=50;e(i.config.excludeSelector,this).each(function()
{r+=parseInt(e(this).outerWidth())});var a=e(window).width(),s=a-
r,t=0;n.each(function()
{t+=parseInt(e(this).outerWidth())});i.freeRatio=Math.round(s/t);if(t>s)
{i.Ct$.html('');i.G$.show();s-=o;n.each(function(){if(t<s){return!1}else{t-
=e(this).outerWidth();i.addTabToDropdown(e(this));e(this).hide()}});i.G$.hover(func
tion(){clearTimeout(e.data(this,'timer'));e('ul',this).stop(!0,!
0).slideDown(200)},function(){e.data(this,'timer',setTimeout(e.proxy(function()
{e('ul',this).stop(!0,!
0).slideUp(200)},this),200))})}else{i.G$.hide();n.show()}};i.addTabToDropdown=funct
ion(t){var n=e('<li class=\'drop-tab\'>'+t.html()+'</li>');n.click(function()
{t.triggerHandler('click');e(this).remove()});i.Ct$.append(n)};i.bindEvents=functio
n(){e(window).resize(function(){i.readjustTabs()})};var n=function(t)
{i.config=e.extend({},s,t);i.bindEvents();i.readjustTabs()};n(t)}})(jQuery);
(function(e,t){'use strict';t.State={COOKIE_NAME:'state',last:0,get:function()
{return e.cookie(this.COOKIE_NAME)},set:function(t){e.cookie(this.COOKIE_NAME,t,
{path:'/'})},update:function(){this.last=new
Date().getTime();this.set(this.last)},init:function(){var i=this;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:'show',container:t,da
ta_attribute:'original',skip_invisible:!
0,appear:null,load:null,placeholder:'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAA
AAEAAAABCAYAAAAfFcSJAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsQAAA7EAZU
rDhsAAAANSURBVBhXYzh8+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(this,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};if(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.indexOf('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('resize',function(){l()});if((/iphone|ipod|
ipad.*os
5/gi).test(navigator.appVersion)){s.bind('pageshow',function(t)
{if(t.originalEvent&&t.originalEvent.persisted){a.each(function()
{e(this).trigger('appear')})}})};e(i).ready(function(){l()});return
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).offset().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()};return
o<=e(i).offset().left-r.threshold};e.abovethetop=function(i,r){var
o;if(r.container===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.container).offset().left};return
o>=e(i).offset().left+r.threshold+e(i).width()};e.inviewport=function(t,i){return!
e.rightoffold(t,i)&&!e.leftofbegin(t,i)&&!e.belowthefold(t,i)&&!
e.abovethetop(t,i)};e.extend(e.expr[':'],{'below-the-fold':function(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.rightoffold(t,{threshold:0})},'left-of-screen':function(t){return!
e.rightoffold(t,{threshold: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':function(t){return e.rightoffold(t,
{threshold:0})},'left-of-fold':function(t){return!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:'',text:'',timeout:0,zIndex:1100},t)
;this.div=e('<div class="ajaxAlert" style="left: 10px; bottom: 10px; display: none;
z-index: '+this.options.zIndex+';"><div class="ajaxAlertBody"><div
class="commentbody"><div class="userPic"><div class="height50px userPicHeight
relative"><img src="'+this.options.iconUrl+'" style="display:
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(this.div);e('.commentText',this.div).html(this.options.text);i.ad
d(this);if(this.options.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.div.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.J$=[];i.add=function(e)
{i.J$.push(e);i.reorder()};i.remove=function(t){var n=e.inArray(t,i.J$);if(n!=-1)
{i.J$.splice(n,1);i.reorder()}};i.reorder=function(){for(var e=i.J$.length-
1,t=0;e>=0;e--,t++){i.J$[e].move(t)}};t.AlertWindow=i})(jQuery,window);
(function(e,t){function i(i)
{this.state=null;this.xhr=null;this.options=e.extend({element:null,multiple:!
0,maxFiles:10,albumId:0,dragAndDrop:!
1,select:null,dragEnter:null,dragLeave:null},i);if(this.options.element){var
s=this,n=e(this.options.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.options.dragLeave=='function')
{e(t).bind('dragover',function(){r=!0});e(t).bind('dragleave',function(){r=!1});var
a=setInterval(function(){if(!o){if(r){if(typeof s.options.dragEnter=='function')
{s.options.dragEnter.call(s.options.element)}}else{if(typeof
s.options.dragLeave=='function')
{s.options.dragLeave.call(s.options.element)}}}},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',function(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,dataTyp
e:'json',cache:!1,processData:!1,contentType:!1,beforeSend:function(){o=!
0;n.next('.alertfield').remove();n.removeClass('ui-uploaded').addClass('ui-
uploading')},complete:function(){o=!1;n.removeClass('ui-uploading').addClass('ui-
uploaded')},success:function(t){if(t.method=='error')
{n.after(e('<div/>').addClass('alertfield').append(t.html))}else{s.parseResponse(t.
html)}},error:function(t)
{n.after(e('<div/>').addClass('alertfield').append(t.responseText))}})}}catch(i)
{};return!1})}}};i.prototype.open=function(){this.load('/image/select/'+
(this.options.albumId?'album/'+this.options.albumId:'recent')
+'/')};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.abort()},onComplete:function(){var t=e('#fancybox-
content'),s=e('.imageUploadError',t),o=e('.imageUploadFile',t),i=e('.imageUploadUrl
',t),r=e('.indicator',t);function a(t){var i=[];e(t).each(function(){var
t=e(this);i.push({id:t.data('imageId'),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 to
"'+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.options.multiple)
{e('.imageSelector',t).selectable({filter:'.galleryThumbSizerStills',stop:function(
){var s=e(this),i=s.find('.ui-selected
a'),t=i.size();s.next('button').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></button>').click(function()
{a(i)}))}}})}else{e('.imageSelector a',t).click(function(){a(this);return!
1})};e('.imageUpload',t).ajaxForm({dataType:'json',beforeSubmit: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.options.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.html(t).fadeIn('slow');return!1}},beforeSend:function()
{s.hide();e.fancybox.showActivity();e('button',t).prop('disabled',!
0)},complete:function(){e.fancybox.hideActivity();e('button',t).prop('disabled',!
1)},success:function(e){if(e.method=='error')
{s.html(e.html).fadeIn('slow');r.hide()}else{n.parseResponse(e.html)}},error:functi
on(e){r.hide();if(!e.aborted)
{s.html(e.responseText);s.fadeIn('slow')}},xhr:function(){var
t=e.ajaxSettings.xhr();t.upload.addEventListener('progress',function(e)
{if(e.lengthComputable){var
t=(e.loaded/e.total*100).toFixed(0)+'%';r.show();r.find('div').width(t);r.find('spa
n').html(t)}},!1);return t}});e('.switcherBox a',t).click(function(){var
t=e(this);t.parent().find('a').removeClass('active');t.addClass('active');if(t.hasC
lass('switchRight')){i.show();o.hide()};if(t.hasClass('switchLeft'))
{i.hide();o.show()}});e('.imageUploadInput
input[type=file]',t).attr('multiple',n.options.multiple).customFileInput()}})},'jso
n')};i.prototype.abort=function(){if(this.xhr&&!this.xhr.aborted){if(confirm('Abort
uploading?')){try{this.xhr.abort();return!0}catch(e){}}else{return!1}};return!
0};i.prototype.close=function()
{this.state=null;e.fancybox.close()};i.prototype.parseResponse=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})});th
is.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')
{this.options.select.call(this.options.element,t,this)}};t.ImageSelector=i;e.fn.ima
geSelector=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
strict';var i={playing:!1,timeout:500,play:function(e){if(i.playing)return!
1;i.playing=!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.src=e+'.mp3';n.play();return!0}}else{var
s=t.createElement('embed');s.setAttribute('autostart','true');s.setAttribute('hidde
n','true');s.setAttribute('loop','false');s.setAttribute('src',e+'.mp3');t.body.app
endChild(s);return!0};return!1}};e.Sound=i})(window,document);(function(e,t,i){'use
strict';e.fn.tabs=function(n){var s=null;n=e.extend({useHash:!
0,default:null,tabSelector:'> div',linkSelector:'.tabNavigation
a',selectedTabClass:'selectedTab',onShow:function(){}},n);function r(){var
e=t.hash.substring(1);e=e.replace(/\d+$/,'');return e};e(this).each(function(){var
l=e(n.tabSelector,this),a=e(n.linkSelector,this);l.hide();function c(e,r){if(!
e)return;a.removeClass(n.selectedTabClass);l.hide();l.filter('#'+e).show();l.filter
('#tab-'+e).show();a.filter('[rel='+e+']').addClass(n.selectedTabClass);if(n.useHas
h&&r){if(i.replaceState){i.replaceState({},'','#'+e)}else{t.hash=e}};s=e};var
o=e(),u=r();if(n.useHash&&u){o=a.filter('[rel='+u+']')};if(!o.size()&&n.default)
{o=a.filter('[rel='+n.default+']')};if(!o.size())
{o=a.filter('.'+n.selectedTabClass)};if(!o.size())
{o=a.filter(':first')};c(o.prop('rel'));a.click(function()
{n.onShow(s,e(this));c(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.clientWidth;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('folder');$
(t).parent().removeClass('folderopen')}};$
(document).on('click','#openAllFolders',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','.torFileSize')){$
('td').removeClass('folderopen')}});$
(document).on('click','#closeAllFolders',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('folder');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.Timeout)||
(e.Tache.Data[n-1].sIdentifier==r)){e.Tache.Data.splice(n-1,1)}}};function r()
{e.Tache.Data=[]};function n(i){if(typeof i.url!='string'){alert('No AJAX URL
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.Tache.Data[n-1].oData);return}};var o=i.success;i.success=function(t)
{e.Tache.Data.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="previewPopupContainer"> <div class="tail"></div>
<div class="prevAV topOriented darkivorybg" id="prevAV">Loading...</div> <div
id="previewPopupContent"><img style="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)clearTimeo
ut(e);var s=$(this).offset(),l=$(this).width(),n=s.left-340;if(n>0){var
a='leftPlacing previewPopupContainer'}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',torrentId: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){$('#previewPopupContent').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('mouseout',function()
{if(e)clearTimeout(e);e=setTimeout(function()
{t.css('display','none')},i)})});function doFade(e){for(var t=0;t<3;t++)
{doFadeOnce(e)}};function doFadeOnce(e){$
(e).css('opacity',1).animate({opacity:0.0},500).animate({opacity:1.0},500)};functio
n deleteLocation(e)
{$.ajax({type:'POST',url:'/moderator/torrent/deletelocation/',data:
{ajax:1,location:e},dataType:'json',success:function(t){$
('#tl_'+e).fadeOut(500,function(){$('#tl_'+e).remove()})}})};function
undeleteLocation(e)
{$.ajax({type:'POST',url:'/moderator/torrent/undeletelocation/',data:
{ajax: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=='error'){alert(s.html);$('#del_'+e).html(r);return!1};if(i){$
('#del_'+e).html('<a href="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 setVerification(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).html('<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>')}else{$('#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:function(){$('#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('error')}})};function rateTopMinus(e)
{rateTopComment(e,0)};function rateTopPlus(e){rateTopComment(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:function(i)
{if(i.method=='show'){if(!t){if(!$('#cshow_'+e).length){$
('#comment'+e).find('div.commentownerLeft').append('<a class="siteButton
smallButton reject showComment" id="cshow_'+e+'"
href="javascript:showComment('+e+')"><span>Show comment</span></a>')}else{$
('#cshow_'+e).href='javascript:showComment(\'+id+\')';$
('#cshow_'+e).html('<span>Show comment</span>')};if($
('#comment'+e).parent().hasClass('reply')){$
('#comment'+e).parent().parent().addClass('hiddenComment')}else{$
('#comment'+e).parent().addClass('hiddenComment')};$('#cpic_'+e).hide();$
('#cdate_'+e).hide();$('#ctext_'+e).hide();$('#rep_link'+e).hide()};$
('#ratediv_'+e).html(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))}}})};function rateMinus(e){rateComment(e,0)};function ratePlus(e)
{rateComment(e,1)};function 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/getfiles/'+e+'/',data:
{ajax:1,all:t,dir:i},dataType:'json',beforeSend:function(){$
('#torrent_files').html('<center style="margin:auto 0;width:100%;"><img
src="//kastatic.com/images/indicator.gif"></center>')},success:function(e){$
('#torrent_files').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.parent())}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.indexOf(e)}else{var n=i.match(e)}while(n!=-1)
{i=i.replace(e,t);n=i.indexOf(e)};return
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
class="highlightEntity">$1</span>');e=e.replace(/(%\d+)/gi,'<span
class="highlightParam">$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').replace(/\*/g,'%2A');if(!e)
{window.location='/new/';return!1};window.location='/usearch/'+e+'/';return!
1};function proof(e){$(e).append('<input type="hidden" name="turing"
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">')},success: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:'/community/report/post/'+e+'/',dataType:'json',beforeSend
:function(){$('#report_post_'+e).html('<img
src="//kastatic.com/images/indicator.gif">')},success:function(t)
{if(t.method=='error'){alert(t.html)}else{$('#report_post_'+e).replaceWith('<a
class="icon16 textButton ireport disabledButton
nohover"><span></span>reported</a>')}},error:function(t){$
('#report_post_'+e).html('<center>Something nasty happened. 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:'POST',url:'/community/report/thread/'+t+'/',data:
{reason:e.reason.value},dataType:'json',beforeSend:function(){$
('#report_thread_'+t).html('<img
src="//kastatic.com/images/indicator.gif">')},success:function(e)
{if(e.method=='error'){alert(e.html);
$.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:'POST',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){$
('.updatedStatus').hide();if(e.method=='error'){alert(e.html);$
('#status_message').html('&nbsp;');return!1};$('#status_message').html(e.html);$
('.updatedStatus').html('Just now').show()},error:function(e){$
('#status_message').html('<center>Something nasty happened. Please try to reload a
page or visit kastatus.com for details.</center>')}});return!1};last=0;function
comment(e){if(last){$('cf_'+last).setStyle('display','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/indicator.gif">')},success:function(t){$
(n).html(t.html);$(n).fadeIn('fast');$('#showmore_'+e).hide();$
('a.ajaxLink').fancybox();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();$
('#showmore_'+e).hide()}})};function getAll(e,t,i){var n='#morecomments_'+e;if($
('#comments').html()==''){n='#comments'};
$.ajax({type:'POST',url:'/comments/index/'+i+'/'+t+'/',data:
{ajax:'1',all:'1',page:e},dataType:'json',beforeSend:function(){$((n=='#comments'?
n:'#showmore_'+e)).html('<img
src="//kastatic.com/images/indicator.gif">')},success:function(t){$
(n).html(t.html);$(n).fadeIn('fast');$('#showmore_'+e).hide();$
('a.ajaxLink').fancybox();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();$
('#showmore_'+e).hide()}})};function loadTrailers(e)
{$.ajax({type:'POST',url:'/torrents/details/'+e+'/trailer/',dataType:'json',beforeS
end: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')},error: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 field');return!
1};if((e.content.value.length<3)){alert('Comment is too short');return!1};return!
0};function addComment(e,t){e.turing.value='iamhuman';var i=$
(e).serialize();i=i+'&ajax=1';var n=(typeof(e.pid)=='undefined')?
0:e.pid.value;if(i.indexOf('audio_rate')==-1){if(!validateComment(e))return!1};var
s=$(e).find('button[type=submit]');
$.ajax({type:'POST',url:'/comments/create/'+t+'/',data:i,dataType:'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="reply"><div
class="commentThread">'+t.html+'</div></div>');i.appendTo($
('#comment'+n).parent());hideReply(n)}else{var i=$('<div
class="commentThread">'+t.html+'</div>');i.prependTo('#comments')};i.hide();i.fadeI
n('fast');i.find('.ajaxLink').fancybox();e.reset();$
(e).find('.galleryThumbSizerStills').remove()},error:function(e){$
('#comments').html('<center>Something nasty happened. Please try to reload a page
or visit kastatus.com for details.</center>');$
('#comments').center()},complete:function(){s.prop('disabled',!
1).removeClass('disabledButton');$('.captcha',e).click()}});return!1};function
hideReply(e){$('#rep'+e).hide();$('#close_link'+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').click()};function deleteWidget(e)
{$.ajax({type:'POST',url:'/account/settings/widgets/',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 reload a page
or visit kastatus.com for details.</center>')}});return!1};function deletePost(e)
{$.ajax({type:'POST',url:'/community/delete/post/'+e+'/',dataType:'json',success:fu
nction(t){if(t.method=='error'){alert(t.html)}else $
('#post'+e).fadeOut(500,function(){$('#post'+e).remove()})},error:function(e)
{console.log(e)}})};function DeleteComment(e)
{$.ajax({type:'POST',url:'/comments/delete/',data:
{ajax:'1',cid:e},dataType:'json',success:function(t){if(t.method=='error')
{alert(t.html)}else $('#comment'+e).fadeOut(500,function(){$
('#comment'+e).remove()})},error:function(e){$('#comments').html('<center>Something
nasty happened. Please try 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',beforeSend:function(){$('#ctext_'+e).html('<img
src="//kastatic.com/images/indicator.gif">')},success:function(i){$
('#ctext_'+e).fadeIn(500,function(){$('#ctext_'+e).html(i.html)});$
('#restore_'+e).hide();$('#rep_link'+e).html('<a href="javascript:
DeleteComment('+e+');">delete</a>');$(t).removeClass('greenButton');$
(t).addClass('redButton');$
(t).attr('onClick','DeleteComment('+e+');')},error:function(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_comment>0){$((t?'#topctext_':'#ctext_')
+current_edit_comment).html($('#cbuffer').html())}else{if($('#cbuffer').length==0)$
('body').append('<div id="cbuffer"
style="display:none"></div>')};current_edit_comment=e;$('#cbuffer').html($
(i).html());
$.ajax({type:'GET',url:'/comments/edit/'+e+'/',dataType:'json',beforeSend:function(
){$(i).html('<img src="//kastatic.com/images/indicator.gif" alt="loading..."/>');$
(i).fadeIn('fast')},success:function(t){$('#edited_'+e).remove();$
(i).html(t.html).find('.ajaxLink').fancybox();current_edit_comment=0}});return!
1};function 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(!validateComment(e))return!1;e.submit.disabled=!
0;$.ajax({type:'POST',url:'/comments/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};$((top_edit?'#topctext_':'#ctext_')
+t).html(i.html).find('.ajaxLink').fancybox()},error:function(e){$
((top_edit?'#topctext_':'#ctext_')+t).html('<center>Something nasty happened.
Please try to reload a page or visit kastatus.com for
details.</center>')}});return!1};function replyPost(e){$
('#pid').val(e);doFadeOnce($('#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
src="//kastatic.com/images/indicator.gif" alt="loading..."/>');$
('#content_'+e).fadeIn('fast')},success:function(t){$('#edited_'+e).remove();$
('#content_'+e).html(t.html).find('.ajaxLink').fancybox();$
('#post'+e).find('.smallButtonsline').hide();current_edit_id=0}});return!
1};function cancelEditPost(e){current_edit_id=0;$('#content_'+e).html($
('#cbuffer').html());return!1};function savePost(e,t){var i=$
(e).serialize();i=i;var n=(typeof(e.pid)=='undefined')?0:e.pid.value;if(!
validateComment(e))return!1;e.submit.disabled=!
0;$.ajax({type:'POST',url:'/community/edit/'+t+'/',data:i,dataType:'json',beforeSen
d: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('.smallButtonsline').show()},error:function(e){$
('#content_'+t).html('<center>Something nasty happened. 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('.badgeUsernamejs').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"]');bbcodetext=bbcodetext.replace(/<\/BLOCKQUOTE>/gi,'[/quote]'
);bbcodetext=bbcodetext.replace(/<UL[^>]*>/gi,'[list]');bbcodetext=bbcodetext.repla
ce(/<\/UL>/gi,'[/list]');bbcodetext=bbcodetext.replace(/<OL[^>]*>/gi,'[list=1]');bb
codetext=bbcodetext.replace(/<\/OL>/gi,'[/list]');bbcodetext=bbcodetext.replace(/<L
I>/gi,'[*]');bbcodetext=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]');bbcodetext=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=bbcodetext.re
place(/<\/BIG>/gi,'[/b]');bbcodetext=bbcodetext.replace(/<B>/gi,'[b]');bbcodetext=b
bcodetext.replace(/<\/B>/gi,'[/b]');bbcodetext=bbcodetext.replace(/<U>/gi,'[u]');bb
codetext=bbcodetext.replace(/<\/U>/gi,'[/u]');bbcodetext=bbcodetext.replace(/<I>/gi
,'[i]');bbcodetext=bbcodetext.replace(/<\/I>/gi,'[/i]');bbcodetext=bbcodetext.repla
ce(/<span><\/span>/gi,'');bbcodetext=bbcodetext.replace(/<a class="plain"
href="\/user\/([^>"]+)\/"><strong>([^>]
+)<\/strong><\/a>/gi,'[user="$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(/class="repValue[^>]+>[^<]
+<\/span>/gi,'></span>');bbcodetext=bbcodetext.replace(/<a class="idownload
darkButton vtip widgetButton icon16[\S\s]+"hash font11px lightgrey">([A-F0-9]
{40})<\/span>[\S\s]
+<\/p><\/div><\/div>/igm,'[torrent=$1]');bbcodetext=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]');bbcodetext=bbcodetext.replace(/<STRONG>/gi,'[b]');bbcodetext=bbcodet
ext.replace(/<\/STRONG>/gi,'[/b]');bbcodetext=bbcodetext.replace(/<pre><code>/gi,'[
code]');bbcodetext=bbcodetext.replace(/<\/code><\/pre>/gi,'[/code]');bbcodetext=bbc
odetext.replace(/<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,'[user="$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.rep
lace(/<\/P>/gi,'');bbcodetext=bbcodetext.replace(/<P
[^>]*>/gi,'\r\r');bbcodetext=bbcodetext.replace(/<div class="quote"><div
class="quoteAuthor plain">[^>]+plain">([^>]
+)<\/a><\/div>/gi,'[quote="$1"]');bbcodetext=bbcodetext.replace(/<a[^>]+href=["']
([^>"']+)["'][^>]*>([^>]+)<\/a>/gi,'[url="$1"]
$2[\/url]');bbcodetext=bbcodetext.replace(/<A
HREF/i,'[url');bbcodetext=bbcodetext.replace(/<\/A>/i,'[/url]');bbcodetext=bbcodete
xt.replace(/<\/div>/gi,'[/quote]');bbcodetext=bbcodetext.replace(/<[^>]*>/g,'');bbc
odetext=bbcodetext.replace(/">/g,'"]');return bbcodetext};function showAlbum(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');r
eturn!1};
$.ajax({type:'POST',url:'/media/getalbum/'+t+'/',dataType:'json',error:function()
{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')}});r
eturn!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');r
eturn!1};
$.ajax({type:'POST',url:'/media/getepisode/'+t+'/',dataType:'json',error:function()
{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')}});r
eturn!1};function showAnimeEpisodeInfo(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');r
eturn!1};
$.ajax({type:'POST',url:'/media/getanimeepisode/'+t+'/',dataType:'json',error:funct
ion(){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')}});r
eturn!1};function toggleQuestions(e,t){if($('#'+e+'_group').is(':visible')){$
('#'+e+'_group').fadeOut('fast');$
(t).parent().removeClass('questionGroupUnFolded');$
(t).parent().addClass('questionGroupFolded');return!1}else{$
('#'+e+'_group').fadeIn('fast');$(t).parent().removeClass('questionGroupFolded');$
(t).parent().addClass('questionGroupUnFolded')}};function showNewComments(e){if($
('#torrent_'+e).is(':visible')){$('#torrent_'+e).fadeOut('fast');$
('#infoList_'+e).removeClass('versionsUnFolded');$
('#infoList_'+e).addClass('versionsFolded');return!1};
$.ajax({type:'POST',url:'/account/new_comments/',data:
{ajax:1,torrentId:e},dataType:'json',beforeSend:function(){$
('#torrent_'+e).html('<img src="//kastatic.com/images/indicator.gif"
alt="loading..."/>');$('#torrent_'+e).fadeIn('fast')},success:function(t){$
('#torrent_'+e).html(t.html);$('#infoList_'+e).removeClass('versionsFolded');$
('#infoList_'+e).addClass('versionsUnFolded')}});return!1};function
getCategories(e,t)
{$.ajax({type:'POST',url:'/torrents/getcategory/'+t+'/'+e+'/',dataType:'json',befor
eSend:function(){$('#cat_place_'+e).html('<img
src="//kastatic.com/images/indicator.gif" alt="loading..."/>')},success:function(t)
{$('#cat_place_'+e).html(t.html).show()}});return!1};function validateIdea(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))return!1;var t=$(e).serialize();t=t+'&ajax=1'+
(force_submit_idea?'&force=1':'');e.submit.disabled=!
0;$.ajax({type:'POST',url:'/ideabox/create/',data:t,dataType:'json',beforeSend:func
tion(){$('#similar_ideas').html('<img
src="//kastatic.com/images/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{$
('#butsave').html('<span>save</span>')};$('#similar_ideas').html(t.html);$
('#similar_ideas').fadeIn('fast');force_submit_idea=!0},error:function(t){$
('#similar_ideas').html('<center>Something nasty happened. Please try to reload a
page or visit kastatus.com for details.</center>');e.submit.disabled=!1}});return!
1};function getSubcategory(e){$.ajax({type:'POST',url:'/torrents/getcategory/'+$
('#categoryId_'+e+' :selected').val()
+'/'+e+'/',dataType:'json',beforeSend:function(){$('#cat_place_'+e).html('<img
src="//kastatic.com/images/indicator.gif">')},success:function(t){$
('#cat_place_'+e).html(t.html)}});return!1};function
setCategory(e){var i=$('#sub_cat_'+e+' :selected').val()!=undefined?$
('#sub_cat_'+e+' :selected').val():0,t=$('#cat_'+e).html();
$.ajax({type:'POST',url:'/moderator/torrent/changecategory/'+e+'/',data:
{ajax:1,categoryId:$('#categoryId_'+e+'
:selected').val(),sub_cat:i},dataType:'json',beforeSend:function(){$
('#cat_'+e).html('<img src="//kastatic.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.html)};$
('#cat_place_'+e).hide()}});return!1};function requestReseed(e,t)
{$.ajax({type:'POST',url:'/torrents/requestreseed/'+e+'/',data:
{ajax:1},dataType:'json',beforeSend:function(e){$(t).html('<img
src="//kastatic.com/images/indicator.gif" alt="loading..."/>')},success:function(e)
{$(t).hide();$('#reseed_div').html('RESEED HAS BEEN REQUESTED FOR THIS
TORRENT').show()}});return!1};function refreshTrackers(e){if($
('#darkenize').length==0){var n=jQuery('<div id="darkenize"
style="display:none"></div>');n.prependTo('#trackerBox');var t=(($
('#trackerBox').height()/2)-15);$('#darkenize').css('padding-top',t)};$
('#darkenize').fadeIn('fast');$('#darkenize').height($('#darkenize').height()-t);$
('#darkenize').width($('#trackerBox').width());$
('#darkenize').html('<center>Loading...<br><img align="bottom"
src="//kastatic.com/images/indicator.gif" border=0/></center>');
$.ajax({type:'POST',url:'/torrents/trackers/'+e+'/',data:
{ajax:'1'},dataType:'json',beforeSend:function(e){},success:function(e){var
t=e.html;if(t=='disabled'||t==''){$('#darkenize').fadeOut('slow')}else{$
('#darkenize').fadeOut('slow',function(){$
('#trackerBox').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[recent_write]','1',
{expires:i});return!1};function hideSidebar(){$('#sidebar').hide();$
('#hidesidebar').hide();$('#showsidebar').show();$.post('/account/hidesidebar/',
{hide:1,ajax:1});return!1};function showSidebar(){$('#sidebar').show();$
('#hidesidebar').show();$('#showsidebar').hide();$.post('/account/hidesidebar/',
{hide:0,ajax:1});return!1};function saveAndClosePartner(e)
{$.cookie('partner'+e,'1',{expires:365,path:'/'});$
('#promoPartner'+e).fadeOut('fast')};function saveAndCloseLeech()
{$.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(){$
('#subcat').html('<img
src="//kastatic.com/images/indicator.gif">')},success:function(e){var t=$
('#categoryId :selected').val();$
('#tvshow,#movie,#game,#book,#anime,#music,#langs,#subs,#scrcp,#scrns,#completeness
').hide();if(t==2){$('#movie,#langs,#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()}else 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)}})};function
toggleTags(e,t){t=t||0;if(t)
{$.ajax({type:'POST',url:'/account/toggletagcloud/show/',dataType:'json',success:fu
nction(e){$('#tagcloud').html(e.html).slideDown('normal')}});$(e).html('<span
class="font80perc">&#x25B2;</span>');$(e).prop('title','Hide tagcloud');$
(e).attr('onclick','toggleTags(this);')}else{$('#tagcloud').slideUp('normal');
$.post('/account/toggletagcloud/hide/');$(e).prop('title','Show tagcloud');$
(e).html('<span class="font80perc">&#x25BC;</span>');$
(e).attr('onclick','toggleTags(this, 1);')}};function uploadFile(e){$
(e).parent().find('.switchRight').removeClass('active');$(e).addClass('active');$
('#fileinput_container').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 longtextinput\' name=\'uploadUrl\' value=\'\'
/>');return!1};function setLanguage(e,t){$('#langSelectorLine').hide();
$.cookie('lang_code',e,
{expires:365,path:'/',domain: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/images/indicator.gif">')},success:function(e){$
('#prg'+t).replaceWith('ok')}});return!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).unbind('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.doubleTapToGo=function(n){if(!('ontouchstart' in t)&&!
navigator.msMaxTouchPoints&&!navigator.userAgent.toLowerCase().match(/windows phone
os 7/i))return!1;this.each(function(){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').fancybox();$
('a.postLink').makePost();$('#translate_link').fancybox({autoDimensions:!
1,width:500,height:150});$(document).on('click','td.forumhideJS',function(){var n=$
(this),t=n.attr('rel'),e=$('#forum_'+t),i=e.hasClass('hideBlockJS')?
null: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('showBlock
JS').addClass('hideBlockJS')}});$(document).on('click','.foldClose',function(){var
t=$(this).parent().parent().find('ul').attr('rel'),e=$
('#'+t),i=e.hasClass('hideBlockJS')?null:1;$.cookie('kat_settings[sidebar]
['+t+']',i,{expires:365,path:'/'});if(e.hasClass('hideBlockJS'))
{e.removeClass('hideBlockJS').addClass('showBlockJS');$(this).removeClass('ka-
180')}else{e.removeClass('showBlockJS').addClass('hideBlockJS');$
(this).addClass('ka-180')}});$(document).on('click','#toggleAch',function(){var e=$
('table .achTable'),t=e.hasClass('hideBlockJS')?
null:1;$.cookie('kat_settings[hide_achievements]',t,
{expires:365,path:'/'});e.toggle();if(e.hasClass('hideBlockJS'))
{e.removeClass('hideBlockJS').addClass('showBlockJS')}else{e.removeClass('showBlock
JS').addClass('hideBlockJS')}});$(document).on('click','.hideChatBar',function()
{$.cookie('kat_settings[chatbar]',1,{expires:365,path:'/'});$('#chat-bar-
full').hide();$('#chat-bar-short').show();$('.chat-bar').addClass('chat-bar-
short')});$(document).on('click','.showChatBar',function()
{$.cookie('kat_settings[chatbar]',null,{expires:365,path:'/'});$('#chat-bar-
full').show();$('#chat-bar-short').hide();$('.chat-bar').removeClass('chat-bar-
short')});$(document).on('click','.closeChatBar',function()
{$.cookie('kat_settings[chatbar]',2,{expires:365,path:'/'});$('.chat-
bar').hide()});$(document).on('keypress','.quicksubmit',function(e)
{if(e.keyCode==13&&e.shiftKey){$(this).parents('form').eq(0).submit();return!1}});$
('.comareajs').each(function(){$(this).bbedit()}).one('focus',function(e){var t=$
(this).parent().find('.captchaformjs');t.show();t.find('img').trigger('click')});
$.fancybox.queue($('#achievements').children().toArray(),
{timeout:30000,onNext:function(e){$.post('/achievement/mark/'+$
(e).data('achievement-id')+'/')}});$('#contentSearch').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:function(e){t($.map(e.query[0].options,function(e)
{return{label:e.text,value:e.text}}))}})},select:function(e,t)
{window.location='/usearch/'+t.item.value+'/'}});if(kat.detect_lang&&$.cookie('lang
_detected')==null)
{$.ajax({type:'POST',url:'/detectlang/',dataType:'json',success:function(e){if(e!
=null)$('#langSelectorLine').html(e.html).slideDown('normal')}})};try{$
('img.lazyjs').lazyload({effect:'fadeIn'})}catch(e){};$
(document).on('click','img.captcha',function()
{this.src='/captcha/show/?'+Math.floor(Math.random()*10000)});$
(document).on('click','.captchareload',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=='error')
{alert('Error:
'+e.html)}else{updateFeedback();document.location.href=i}},'json').error(function(e
){alert('XHR Error: '+e.responseText);console.log(e)});return!
1}else{updateFeedback()}});if(('ontouchstart' in document.documentElement)){$
('#tagcloud').hide().addClass('folded')};$('#navigation
li:has(ul)').doubleTapToGo();$('.icommentjs').doubleTapToGo();$
('.checkboxchecker').each(populateCheckBoxes());$
('#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{return!1};$.ajax({type:'POST',url:'/torrents/vote/'+e+'/'
+i+'/',dataType:'json',success:function(t){if(t.method=='error')
{alert(t.html);return};$('#thnxCount span').html(t.thanks_count!
=0?'+'+t.thanks_count:0);$('#fakeCount span').html(t.fakes_count!
=0?'-'+t.fakes_count:0);var n=$('#thnxLink'),i=$('#fakeLink');switch(e)
{case'like':n.removeClass('jslike').addClass('jsunlike');i.removeClass('jsdislike')
.addClass('gfunchecked');break;case'unlike':n.removeClass('jsunlike').addClass('jsl
ike');i.removeClass('gfunchecked').addClass('jsdislike');break;case'dislike':n.remo
veClass('jslike').addClass('gfunchecked');i.removeClass('jsdislike').addClass('jsun
dislike');break;case'undislike':n.removeClass('gfunchecked').addClass('jslike');i.r
emoveClass('jsundislike').addClass('jsdislike');break}}});return!1})});function
populateCheckBoxes(){return function(){var e=$(this),i=e.data('selector'),t=$
(i);e.click(function(i)
{t.prop('checked',e.prop('checked'));i.stopPropagation()});t.click(function(i){var
n=!0;t.each(function(){if(!$(this).prop('checked')){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.unbind('click.fb');t.attr('href'
,'/messenger/');i.remove()}};function confirm_url(e){dont=$(e).prop('checked')?
1:null;$.cookie('kat_settings[dont_ask]',dont,{expires:365,path:'/'})};$
(document).on('click','#readVulRules',function(){if($(this).is(':checked')){$
('#applyForVul').removeClass('disabledButton').prop('disabled',!1)}else{$
('#applyForVul').addClass('disabledButton').prop('disabled',!0)}});$
(document).on('click','#showHideSearch',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
/>').css({position:'absolute',zIndex:9990,cursor:'crosshair',left:0,top:0,width:$
(document).width(),height:$
(document).height(),background:'#000',opacity:0.5}).appendTo('body');var t=$
('<div
/>').css({color:'#fff',position:'fixed',top:'50%',left:'50%',width:'100px',marginLe
ft:'-50px',lineHeight:'16px',fontWeight:'bold'}).append($('<img
/>').attr('src','//kastatic.com/images/indicator.gif').css({marginRight:'5px',verti
calAlign:'top'})).append('Loading...').appendTo(e);$
(window).bind('keypress.fb',function(i){if(i.keyCode==27){$
(window).unbind('keypress.fb');t.remove();e.remove()}});
$.getScript('/content/js/feedback/html2canvas.min-'+kat.release_id+'.js',function()
{$.getJSON('/issue/form/?_='+new Date().getTime(),function(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})});

You might also like