-
Notifications
You must be signed in to change notification settings - Fork 0
/
metaTicTacToe.js
22 lines (22 loc) · 118 KB
/
metaTicTacToe.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
(function(e){function t(a){if(n[a])return n[a].exports;var o=n[a]={i:a,l:!1,exports:{}};return e[a].call(o.exports,o,o.exports,t),o.l=!0,o.exports}var n={};return t.m=e,t.c=n,t.d=function(e,n,a){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:a})},t.n=function(e){var n=e&&e.__esModule?function(){return e['default']}:function(){return e};return t.d(n,'a',n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p='',t(t.s=5)})([function(e,t){var a=Math.max,n,o;(function(){function i(e){function t(t,n,a,o,i,s){for(;0<=i&&i<s;i+=e){var r=o?o[i]:i;a=n(a,t[r],r,t)}return a}return function(n,a,o,i){a=j(a,i,4);var s=!L(n)&&k.keys(n),r=(s||n).length,d=0<e?0:r-1;return 3>arguments.length&&(o=n[s?s[d]:d],d+=e),t(n,a,o,s,d,r)}}function s(e){return function(t,n,a){n=N(n,a);for(var o=D(t),i=0<e?0:o-1;0<=i&&i<o;i+=e)if(n(t[i],i,t))return i;return-1}}function r(e,t,n){return function(o,s,r){var d=0,i=D(o);if('number'==typeof r)0<e?d=0<=r?r:a(r+i,d):i=0<=r?Math.min(r+1,i):r+i+1;else if(n&&r&&i)return r=n(o,s),o[r]===s?r:-1;if(s!==s)return r=t(g.call(o,d,i),k.isNaN),0<=r?r+d:-1;for(r=0<e?d:i-1;0<=r&&r<i;r+=e)if(o[r]===s)return r;return-1}}function d(e,t){var n=P.length,a=e.constructor,o=k.isFunction(a)&&a.prototype||h,i='constructor';for(k.has(e,i)&&!k.contains(t,i)&&t.push(i);n--;)i=P[n],i in e&&e[i]!==o[i]&&!k.contains(t,i)&&t.push(i)}var l=Math.floor,p=this,c=p._,u=Array.prototype,h=Object.prototype,f=Function.prototype,m=u.push,g=u.slice,y=h.toString,x=h.hasOwnProperty,b=Array.isArray,v=Object.keys,w=f.bind,T=Object.create,C=function(){},k=function(e){return e instanceof k?e:this instanceof k?void(this._wrapped=e):new k(e)};('undefined'!=typeof e&&e.exports&&(t=e.exports=k),t._=k),k.VERSION='1.8.3';var j=function(e,t,n){if(void 0===t)return e;switch(null==n?3:n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,a){return e.call(t,n,a)};case 3:return function(n,a,o){return e.call(t,n,a,o)};case 4:return function(n,a,o,i){return e.call(t,n,a,o,i)};}return function(){return e.apply(t,arguments)}},N=function(e,t,n){return null==e?k.identity:k.isFunction(e)?j(e,t,n):k.isObject(e)?k.matcher(e):k.property(e)};k.iteratee=function(e,t){return N(e,t,Infinity)};var S=function(e,t){return function(n){var a=arguments.length;if(2>a||null==n)return n;for(var o=1;o<a;o++)for(var s=arguments[o],r=e(s),d=r.length,l=0,i;l<d;l++)i=r[l],t&&void 0!==n[i]||(n[i]=s[i]);return n}},A=function(e){if(!k.isObject(e))return{};if(T)return T(e);C.prototype=e;var t=new C;return C.prototype=null,t},E=function(e){return function(t){return null==t?void 0:t[e]}},D=E('length'),L=function(e){var t=D(e);return'number'==typeof t&&0<=t&&t<=9007199254740991};k.each=k.forEach=function(e,t,n){t=j(t,n);var a,o;if(L(e))for(a=0,o=e.length;a<o;a++)t(e[a],a,e);else{var i=k.keys(e);for(a=0,o=i.length;a<o;a++)t(e[i[a]],i[a],e)}return e},k.map=k.collect=function(e,t,n){t=N(t,n);for(var a=!L(e)&&k.keys(e),o=(a||e).length,i=Array(o),s=0,r;s<o;s++)r=a?a[s]:s,i[s]=t(e[r],r,e);return i},k.reduce=k.foldl=k.inject=i(1),k.reduceRight=k.foldr=i(-1),k.find=k.detect=function(e,t,n){var a;if(a=L(e)?k.findIndex(e,t,n):k.findKey(e,t,n),void 0!==a&&-1!==a)return e[a]},k.filter=k.select=function(e,t,n){var a=[];return t=N(t,n),k.each(e,function(e,n,o){t(e,n,o)&&a.push(e)}),a},k.reject=function(e,t,n){return k.filter(e,k.negate(N(t)),n)},k.every=k.all=function(e,t,n){t=N(t,n);for(var a=!L(e)&&k.keys(e),o=(a||e).length,i=0,s;i<o;i++)if(s=a?a[i]:i,!t(e[s],s,e))return!1;return!0},k.some=k.any=function(e,t,n){t=N(t,n);for(var a=!L(e)&&k.keys(e),o=(a||e).length,i=0,s;i<o;i++)if(s=a?a[i]:i,t(e[s],s,e))return!0;return!1},k.contains=k.includes=k.include=function(e,t,n,a){return L(e)||(e=k.values(e)),('number'!=typeof n||a)&&(n=0),0<=k.indexOf(e,t,n)},k.invoke=function(e,t){var n=g.call(arguments,2),a=k.isFunction(t);return k.map(e,function(e){var o=a?t:e[t];return null==o?o:o.apply(e,n)})},k.pluck=function(e,t){return k.map(e,k.property(t))},k.where=function(e,t){return k.filter(e,k.matcher(t))},k.findWhere=function(e,t){return k.find(e,k.matcher(t))},k.max=function(e,t,n){var a=-Infinity,o=-Infinity,s,r;if(null==t&&null!=e){e=L(e)?e:k.values(e);for(var d=0,i=e.length;d<i;d++)s=e[d],s>a&&(a=s)}else t=N(t,n),k.each(e,function(e,n,i){r=t(e,n,i),(r>o||r===-Infinity&&a===-Infinity)&&(a=e,o=r)});return a},k.min=function(e,t,n){var a=Infinity,o=Infinity,s,r;if(null==t&&null!=e){e=L(e)?e:k.values(e);for(var d=0,i=e.length;d<i;d++)s=e[d],s<a&&(a=s)}else t=N(t,n),k.each(e,function(e,n,i){r=t(e,n,i),(r<o||r===Infinity&&a===Infinity)&&(a=e,o=r)});return a},k.shuffle=function(e){for(var t=L(e)?e:k.values(e),n=t.length,a=Array(n),o=0,i;o<n;o++)i=k.random(0,o),i!==o&&(a[o]=a[i]),a[i]=t[o];return a},k.sample=function(e,t,n){return null==t||n?(L(e)||(e=k.values(e)),e[k.random(e.length-1)]):k.shuffle(e).slice(0,a(0,t))},k.sortBy=function(e,t,n){return t=N(t,n),k.pluck(k.map(e,function(e,n,a){return{value:e,index:n,criteria:t(e,n,a)}}).sort(function(e,t){var n=e.criteria,a=t.criteria;if(n!==a){if(n>a||void 0===n)return 1;if(n<a||void 0===a)return-1}return e.index-t.index}),'value')};var O=function(e){return function(t,n,a){var o={};return n=N(n,a),k.each(t,function(a,i){var s=n(a,i,t);e(o,a,s)}),o}};k.groupBy=O(function(e,t,n){k.has(e,n)?e[n].push(t):e[n]=[t]}),k.indexBy=O(function(e,t,n){e[n]=t}),k.countBy=O(function(e,t,n){k.has(e,n)?e[n]++:e[n]=1}),k.toArray=function(e){return e?k.isArray(e)?g.call(e):L(e)?k.map(e,k.identity):k.values(e):[]},k.size=function(e){return null==e?0:L(e)?e.length:k.keys(e).length},k.partition=function(e,t,n){t=N(t,n);var a=[],o=[];return k.each(e,function(e,n,i){(t(e,n,i)?a:o).push(e)}),[a,o]},k.first=k.head=k.take=function(e,t,n){return null==e?void 0:null==t||n?e[0]:k.initial(e,e.length-t)},k.initial=function(e,t,n){return g.call(e,0,a(0,e.length-(null==t||n?1:t)))},k.last=function(e,t,n){return null==e?void 0:null==t||n?e[e.length-1]:k.rest(e,a(0,e.length-t))},k.rest=k.tail=k.drop=function(e,t,n){return g.call(e,null==t||n?1:t)},k.compact=function(e){return k.filter(e,k.identity)};var q=function(e,t,n,a){for(var o=[],s=0,r=a||0,i=D(e),d;r<i;r++)if(d=e[r],L(d)&&(k.isArray(d)||k.isArguments(d))){t||(d=q(d,t,n));var l=0,p=d.length;for(o.length+=p;l<p;)o[s++]=d[l++]}else n||(o[s++]=d);return o};k.flatten=function(e,t){return q(e,t,!1)},k.without=function(e){return k.difference(e,g.call(arguments,1))},k.uniq=k.unique=function(e,t,n,a){k.isBoolean(t)||(a=n,n=t,t=!1),null!=n&&(n=N(n,a));for(var o=[],s=[],r=0,d=D(e);r<d;r++){var l=e[r],p=n?n(l,r,e):l;t?((!r||s!==p)&&o.push(l),s=p):n?!k.contains(s,p)&&(s.push(p),o.push(l)):!k.contains(o,l)&&o.push(l)}return o},k.union=function(){return k.uniq(q(arguments,!0,!0))},k.intersection=function(e){for(var t=[],n=arguments.length,a=0,o=D(e),i;a<o;a++)if(i=e[a],!k.contains(t,i)){for(var s=1;s<n&&!!k.contains(arguments[s],i);s++);s===n&&t.push(i)}return t},k.difference=function(e){var t=q(arguments,!0,!0,1);return k.filter(e,function(e){return!k.contains(t,e)})},k.zip=function(){return k.unzip(arguments)},k.unzip=function(e){for(var t=e&&k.max(e,D).length||0,n=Array(t),a=0;a<t;a++)n[a]=k.pluck(e,a);return n},k.object=function(e,t){for(var n={},a=0,o=D(e);a<o;a++)t?n[e[a]]=t[a]:n[e[a][0]]=e[a][1];return n},k.findIndex=s(1),k.findLastIndex=s(-1),k.sortedIndex=function(e,t,n,a){n=N(n,a,1);for(var o=n(t),i=0,s=D(e);i<s;){var r=l((i+s)/2);n(e[r])<o?i=r+1:s=r}return i},k.indexOf=r(1,k.findIndex,k.sortedIndex),k.lastIndexOf=r(-1,k.findLastIndex),k.range=function(e,t,n){null==t&&(t=e||0,e=0),n=n||1;for(var o=a(Math.ceil((t-e)/n),0),i=Array(o),s=0;s<o;s++,e+=n)i[s]=e;return i};var H=function(e,t,n,a,o){if(!(a instanceof t))return e.apply(n,o);var i=A(e.prototype),s=e.apply(i,o);return k.isObject(s)?s:i};k.bind=function(e,t){if(w&&e.bind===w)return w.apply(e,g.call(arguments,1));if(!k.isFunction(e))throw new TypeError('Bind must be called on a function');var n=g.call(arguments,2),a=function(){return H(e,a,t,this,n.concat(g.call(arguments)))};return a},k.partial=function(e){var t=g.call(arguments,1),n=function(){for(var a=0,o=t.length,s=Array(o),r=0;r<o;r++)s[r]=t[r]===k?arguments[a++]:t[r];for(;a<arguments.length;)s.push(arguments[a++]);return H(e,n,this,this,s)};return n},k.bindAll=function(e){var t=arguments.length,n,a;if(1>=t)throw new Error('bindAll must be passed function names');for(n=1;n<t;n++)a=arguments[n],e[a]=k.bind(e[a],e);return e},k.memoize=function(e,t){var n=function(a){var o=n.cache,i=''+(t?t.apply(this,arguments):a);return k.has(o,i)||(o[i]=e.apply(this,arguments)),o[i]};return n.cache={},n},k.delay=function(e,t){var n=g.call(arguments,2);return setTimeout(function(){return e.apply(null,n)},t)},k.defer=k.partial(k.delay,k,1),k.throttle=function(e,t,n){var a=null,o=0,i,s,r;n||(n={});var d=function(){o=!1===n.leading?0:k.now(),a=null,r=e.apply(i,s),a||(i=s=null)};return function(){var l=k.now();o||!1!==n.leading||(o=l);var p=t-(l-o);return i=this,s=arguments,0>=p||p>t?(a&&(clearTimeout(a),a=null),o=l,r=e.apply(i,s),!a&&(i=s=null)):!a&&!1!==n.trailing&&(a=setTimeout(d,p)),r}},k.debounce=function(e,t,n){var a=function(){var l=k.now()-r;l<t&&0<=l?o=setTimeout(a,t-l):(o=null,!n&&(d=e.apply(s,i),!o&&(s=i=null)))},o,i,s,r,d;return function(){s=this,i=arguments,r=k.now();var l=n&&!o;return o||(o=setTimeout(a,t)),l&&(d=e.apply(s,i),s=i=null),d}},k.wrap=function(e,t){return k.partial(t,e)},k.negate=function(e){return function(){return!e.apply(this,arguments)}},k.compose=function(){var e=arguments,t=e.length-1;return function(){for(var n=t,a=e[t].apply(this,arguments);n--;)a=e[n].call(this,a);return a}},k.after=function(e,t){return function(){if(1>--e)return t.apply(this,arguments)}},k.before=function(e,t){var n;return function(){return 0<--e&&(n=t.apply(this,arguments)),1>=e&&(t=null),n}},k.once=k.partial(k.before,2);var M=!{toString:null}.propertyIsEnumerable('toString'),P=['valueOf','isPrototypeOf','toString','propertyIsEnumerable','hasOwnProperty','toLocaleString'];k.keys=function(e){if(!k.isObject(e))return[];if(v)return v(e);var t=[];for(var n in e)k.has(e,n)&&t.push(n);return M&&d(e,t),t},k.allKeys=function(e){if(!k.isObject(e))return[];var t=[];for(var n in e)t.push(n);return M&&d(e,t),t},k.values=function(e){for(var t=k.keys(e),n=t.length,a=Array(n),o=0;o<n;o++)a[o]=e[t[o]];return a},k.mapObject=function(e,t,n){t=N(t,n);for(var a=k.keys(e),o=a.length,i={},s=0,r;s<o;s++)r=a[s],i[r]=t(e[r],r,e);return i},k.pairs=function(e){for(var t=k.keys(e),n=t.length,a=Array(n),o=0;o<n;o++)a[o]=[t[o],e[t[o]]];return a},k.invert=function(e){for(var t={},n=k.keys(e),a=0,o=n.length;a<o;a++)t[e[n[a]]]=n[a];return t},k.functions=k.methods=function(e){var t=[];for(var n in e)k.isFunction(e[n])&&t.push(n);return t.sort()},k.extend=S(k.allKeys),k.extendOwn=k.assign=S(k.keys),k.findKey=function(e,t,n){t=N(t,n);for(var a=k.keys(e),o=0,i=a.length,s;o<i;o++)if(s=a[o],t(e[s],s,e))return s},k.pick=function(e,t,n){var a={},o=e,s,r;if(null==o)return a;k.isFunction(t)?(r=k.allKeys(o),s=j(t,n)):(r=q(arguments,!1,!1,1),s=function(e,t,n){return t in n},o=Object(o));for(var d=0,i=r.length;d<i;d++){var l=r[d],p=o[l];s(p,l,o)&&(a[l]=p)}return a},k.omit=function(e,t,n){if(k.isFunction(t))t=k.negate(t);else{var a=k.map(q(arguments,!1,!1,1),String);t=function(e,t){return!k.contains(a,t)}}return k.pick(e,t,n)},k.defaults=S(k.allKeys,!0),k.create=function(e,t){var n=A(e);return t&&k.extendOwn(n,t),n},k.clone=function(e){return k.isObject(e)?k.isArray(e)?e.slice():k.extend({},e):e},k.tap=function(e,t){return t(e),e},k.isMatch=function(e,t){var n=k.keys(t),a=n.length;if(null==e)return!a;for(var o=Object(e),s=0,i;s<a;s++)if(i=n[s],t[i]!==o[i]||!(i in o))return!1;return!0};var I=function(e,t,n,o){if(e===t)return 0!==e||1/e==1/t;if(null==e||null==t)return e===t;e instanceof k&&(e=e._wrapped),t instanceof k&&(t=t._wrapped);var i=y.call(e);if(i!==y.call(t))return!1;switch(i){case'[object RegExp]':case'[object String]':return''+e==''+t;case'[object Number]':return+e==+e?0==+e?1/+e==1/t:+e==+t:+t!=+t;case'[object Date]':case'[object Boolean]':return+e==+t;}var s='[object Array]'===i;if(!s){if('object'!=typeof e||'object'!=typeof t)return!1;var r=e.constructor,d=t.constructor;if(r!==d&&!(k.isFunction(r)&&r instanceof r&&k.isFunction(d)&&d instanceof d)&&'constructor'in e&&'constructor'in t)return!1}n=n||[],o=o||[];for(var l=n.length;l--;)if(n[l]===e)return o[l]===t;if(n.push(e),o.push(t),s){if(l=e.length,l!==t.length)return!1;for(;l--;)if(!I(e[l],t[l],n,o))return!1}else{var p=k.keys(e),c;if(l=p.length,k.keys(t).length!==l)return!1;for(;l--;)if(c=p[l],!(k.has(t,c)&&I(e[c],t[c],n,o)))return!1}return n.pop(),o.pop(),!0};k.isEqual=function(e,t){return I(e,t)},k.isEmpty=function(e){return!(null!=e)||(L(e)&&(k.isArray(e)||k.isString(e)||k.isArguments(e))?0===e.length:0===k.keys(e).length)},k.isElement=function(e){return!!(e&&1===e.nodeType)},k.isArray=b||function(e){return'[object Array]'===y.call(e)},k.isObject=function(e){var t=typeof e;return'function'==t||'object'==t&&!!e},k.each(['Arguments','Function','String','Number','Date','RegExp','Error'],function(e){k['is'+e]=function(t){return y.call(t)==='[object '+e+']'}}),k.isArguments(arguments)||(k.isArguments=function(e){return k.has(e,'callee')}),'function'!=typeof /./&&'object'!=typeof Int8Array&&(k.isFunction=function(e){return'function'==typeof e||!1}),k.isFinite=function(e){return isFinite(e)&&!isNaN(parseFloat(e))},k.isNaN=function(e){return k.isNumber(e)&&e!==+e},k.isBoolean=function(e){return!0===e||!1===e||'[object Boolean]'===y.call(e)},k.isNull=function(e){return null===e},k.isUndefined=function(e){return void 0===e},k.has=function(e,t){return null!=e&&x.call(e,t)},k.noConflict=function(){return p._=c,this},k.identity=function(e){return e},k.constant=function(e){return function(){return e}},k.noop=function(){},k.property=E,k.propertyOf=function(e){return null==e?function(){}:function(t){return e[t]}},k.matcher=k.matches=function(e){return e=k.extendOwn({},e),function(t){return k.isMatch(t,e)}},k.times=function(e,t,n){var o=Array(a(0,e));t=j(t,n,1);for(var s=0;s<e;s++)o[s]=t(s);return o},k.random=function(e,t){return null==t&&(t=e,e=0),e+l(Math.random()*(t-e+1))},k.now=Date.now||function(){return new Date().getTime()};var B={"&":'&',"<":'<',">":'>','"':'"',"'":''',"`":'`'},_=k.invert(B),R=function(e){var t=function(t){return e[t]},n='(?:'+k.keys(e).join('|')+')',a=RegExp(n),o=RegExp(n,'g');return function(e){return e=null==e?'':''+e,a.test(e)?e.replace(o,t):e}};k.escape=R(B),k.unescape=R(_),k.result=function(e,t,n){var a=null==e?void 0:e[t];return void 0===a&&(a=n),k.isFunction(a)?a.call(e):a};var W=0;k.uniqueId=function(e){var t=++W+'';return e?e+t:t},k.templateSettings={evaluate:/<%([\s\S]+?)%>/g,interpolate:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g};var z=/(.)^/,F={"'":'\'',"\\":'\\',"\r":'r',"\n":'n',"\u2028":'u2028',"\u2029":'u2029'},U=/\\|'|\r|\n|\u2028|\u2029/g,X=function(e){return'\\'+F[e]};k.template=function(e,t,n){!t&&n&&(t=n),t=k.defaults({},t,k.templateSettings);var a=RegExp([(t.escape||z).source,(t.interpolate||z).source,(t.evaluate||z).source].join('|')+'|$','g'),o=0,i='__p+=\'';e.replace(a,function(t,n,a,s,r){return i+=e.slice(o,r).replace(U,X),o=r+t.length,n?i+='\'+\n((__t=('+n+'))==null?\'\':_.escape(__t))+\n\'':a?i+='\'+\n((__t=('+a+'))==null?\'\':__t)+\n\'':s&&(i+='\';\n'+s+'\n__p+=\''),t}),i+='\';\n',t.variable||(i='with(obj||{}){\n'+i+'}\n'),i='var __t,__p=\'\',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,\'\');};\n'+i+'return __p;\n';try{var s=new Function(t.variable||'obj','_',i)}catch(t){throw t.source=i,t}var r=function(e){return s.call(this,e,k)},d=t.variable||'obj';return r.source='function('+d+'){\n'+i+'}',r},k.chain=function(e){var t=k(e);return t._chain=!0,t};var $=function(e,t){return e._chain?k(t).chain():t};k.mixin=function(e){k.each(k.functions(e),function(t){var n=k[t]=e[t];k.prototype[t]=function(){var e=[this._wrapped];return m.apply(e,arguments),$(this,n.apply(k,e))}})},k.mixin(k),k.each(['pop','push','reverse','shift','sort','splice','unshift'],function(e){var t=u[e];k.prototype[e]=function(){var n=this._wrapped;return t.apply(n,arguments),('shift'===e||'splice'===e)&&0===n.length&&delete n[0],$(this,n)}}),k.each(['concat','join','slice'],function(e){var t=u[e];k.prototype[e]=function(){return $(this,t.apply(this._wrapped,arguments))}}),k.prototype.value=function(){return this._wrapped},k.prototype.valueOf=k.prototype.toJSON=k.prototype.value,k.prototype.toString=function(){return''+this._wrapped},n=[],o=function(){return k}.apply(t,n),!(o!==void 0&&(e.exports=o))}).call(this)},function(e,t){var n=Math.ceil,a=Math.max,o,i;/*!
* jQuery JavaScript Library v3.3.1
* https://jquery.com/
*
* Includes Sizzle.js
* https://sizzlejs.com/
*
* Copyright JS Foundation and other contributors
* Released under the MIT license
* https://jquery.org/license
*
* Date: 2018-01-20T17:24Z
*/(function(t,n){'use strict';'object'==typeof e&&'object'==typeof e.exports?e.exports=t.document?n(t,!0):function(e){if(!e.document)throw new Error('jQuery requires a window with a document');return n(e)}:n(t)})('undefined'==typeof window?this:window,function(r,s){'use strict';function d(e,t,n){t=t||ue;var a=t.createElement('script'),o;if(a.text=e,n)for(o in Ne)n[o]&&(a[o]=n[o]);t.head.appendChild(a).parentNode.removeChild(a)}function p(e){return null==e?e+'':'object'==typeof e||'function'==typeof e?xe[be.call(e)]||'object':typeof e}function l(e){var t=!!e&&'length'in e&&e.length,n=p(e);return!(ke(e)||je(e))&&('array'===n||0===t||'number'==typeof t&&0<t&&t-1 in e)}function c(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()}function u(e,t,n){return ke(t)?Ae.grep(e,function(e,a){return!!t.call(e,a,e)!==n}):t.nodeType?Ae.grep(e,function(e){return e===t!==n}):'string'==typeof t?Ae.filter(t,e,n):Ae.grep(e,function(e){return-1<ye.call(t,e)!==n})}function h(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}function f(e){var t={};return Ae.each(e.match(Re)||[],function(e,n){t[n]=!0}),t}function m(e){return e}function g(e){throw e}function y(e,t,n,a){var o;try{e&&ke(o=e.promise)?o.call(e).done(t).fail(n):e&&ke(o=e.then)?o.call(e,t,n):t.apply(void 0,[e].slice(a))}catch(e){n.apply(void 0,[e])}}function x(){ue.removeEventListener('DOMContentLoaded',x),r.removeEventListener('load',x),Ae.ready()}function b(e,t){return t.toUpperCase()}function v(e){return e.replace(Ue,'ms-').replace(Xe,b)}function w(){this.expando=Ae.expando+w.uid++}function T(e){return'true'===e||'false'!==e&&('null'===e?null:e===+e+''?+e:Ge.test(e)?JSON.parse(e):e)}function C(e,t,n){var a;if(void 0===n&&1===e.nodeType)if(a='data-'+t.replace(Ye,'-$&').toLowerCase(),n=e.getAttribute(a),'string'==typeof n){try{n=T(n)}catch(t){}Ke.set(e,t,n)}else n=void 0;return n}function k(e,t,n,a){var o=20,i=a?function(){return a.cur()}:function(){return Ae.css(e,t,'')},s=i(),r=n&&n[3]||(Ae.cssNumber[t]?'':'px'),d=(Ae.cssNumber[t]||'px'!==r&&+s)&&Je.exec(Ae.css(e,t)),l,p;if(d&&d[3]!==r){for(s/=2,r=r||d[3],d=+s||1;o--;)Ae.style(e,t,d+r),0>=(1-p)*(1-(p=i()/s||.5))&&(o=0),d/=p;d*=2,Ae.style(e,t,d+r),n=n||[]}return n&&(d=+d||+s||0,l=n[1]?d+(n[1]+1)*n[2]:+n[2],a&&(a.unit=r,a.start=d,a.end=l)),l}function j(e){var t=e.ownerDocument,n=e.nodeName,a=nt[n],o;return a?a:(o=t.body.appendChild(t.createElement(n)),a=Ae.css(o,'display'),o.parentNode.removeChild(o),'none'===a&&(a='block'),nt[n]=a,a)}function N(e,t){for(var n=[],a=0,o=e.length,i,s;a<o;a++)(s=e[a],!!s.style)&&(i=s.style.display,t?('none'===i&&(n[a]=Ve.get(s,'display')||null,!n[a]&&(s.style.display='')),''===s.style.display&&et(s)&&(n[a]=j(s))):'none'!==i&&(n[a]='none',Ve.set(s,'display',i)));for(a=0;a<o;a++)null!=n[a]&&(e[a].style.display=n[a]);return e}function S(e,t){var n;return n='undefined'==typeof e.getElementsByTagName?'undefined'==typeof e.querySelectorAll?[]:e.querySelectorAll(t||'*'):e.getElementsByTagName(t||'*'),void 0===t||t&&c(e,t)?Ae.merge([e],n):n}function A(e,t){for(var n=0,a=e.length;n<a;n++)Ve.set(e[n],'globalEval',!t||Ve.get(t[n],'globalEval'))}function E(e,t,n,a,o){for(var s=t.createDocumentFragment(),r=[],d=0,i=e.length,l,c,u,h,f,m;d<i;d++)if(l=e[d],l||0===l)if('object'===p(l))Ae.merge(r,l.nodeType?[l]:l);else if(!rt.test(l))r.push(t.createTextNode(l));else{for(c=c||s.appendChild(t.createElement('div')),u=(ot.exec(l)||['',''])[1].toLowerCase(),h=st[u]||st._default,c.innerHTML=h[1]+Ae.htmlPrefilter(l)+h[2],m=h[0];m--;)c=c.lastChild;Ae.merge(r,c.childNodes),c=s.firstChild,c.textContent=''}for(s.textContent='',d=0;l=r[d++];){if(a&&-1<Ae.inArray(l,a)){o&&o.push(l);continue}if(f=Ae.contains(l.ownerDocument,l),c=S(s.appendChild(l),'script'),f&&A(c),n)for(m=0;l=c[m++];)it.test(l.type||'')&&n.push(l)}return s}function D(){return!0}function L(){return!1}function O(){try{return ue.activeElement}catch(e){}}function q(e,t,n,a,o,i){var s,r;if('object'==typeof t){for(r in'string'!=typeof n&&(a=a||n,n=void 0),t)q(e,r,n,a,t[r],i);return e}if(null==a&&null==o?(o=n,a=n=void 0):null==o&&('string'==typeof n?(o=a,a=void 0):(o=a,a=n,n=void 0)),!1===o)o=L;else if(!o)return e;return 1===i&&(s=o,o=function(e){return Ae().off(e),s.apply(this,arguments)},o.guid=s.guid||(s.guid=Ae.guid++)),e.each(function(){Ae.event.add(this,t,o,a,n)})}function H(e,t){return c(e,'table')&&c(11===t.nodeType?t.firstChild:t,'tr')?Ae(e).children('tbody')[0]||e:e}function M(e){return e.type=(null!==e.getAttribute('type'))+'/'+e.type,e}function P(e){return'true/'===(e.type||'').slice(0,5)?e.type=e.type.slice(5):e.removeAttribute('type'),e}function I(e,t){var n,a,o,i,s,r,d,l;if(1===t.nodeType){if(Ve.hasData(e)&&(i=Ve.access(e),s=Ve.set(t,i),l=i.events,l))for(o in delete s.handle,s.events={},l)for(n=0,a=l[o].length;n<a;n++)Ae.event.add(t,o,l[o][n]);Ke.hasData(e)&&(r=Ke.access(e),d=Ae.extend({},r),Ke.set(t,d))}}function B(e,t){var n=t.nodeName.toLowerCase();'input'===n&&at.test(e.type)?t.checked=e.checked:('input'===n||'textarea'===n)&&(t.defaultValue=e.defaultValue)}function _(e,t,n,a){t=me.apply([],t);var o=0,i=e.length,s=t[0],r=ke(s),l,p,c,u,h,f;if(r||1<i&&'string'==typeof s&&!Ce.checkClone&&ft.test(s))return e.each(function(o){var i=e.eq(o);r&&(t[0]=s.call(this,o,i.html())),_(i,t,n,a)});if(i&&(l=E(t,e[0].ownerDocument,!1,e,a),p=l.firstChild,1===l.childNodes.length&&(l=p),p||a)){for(c=Ae.map(S(l,'script'),M),u=c.length;o<i;o++)h=l,o!=i-1&&(h=Ae.clone(h,!0,!0),u&&Ae.merge(c,S(h,'script'))),n.call(e[o],h,o);if(u)for(f=c[c.length-1].ownerDocument,Ae.map(c,P),o=0;o<u;o++)h=c[o],it.test(h.type||'')&&!Ve.access(h,'globalEval')&&Ae.contains(f,h)&&(h.src&&'module'!==(h.type||'').toLowerCase()?Ae._evalUrl&&Ae._evalUrl(h.src):d(h.textContent.replace(mt,''),f,h))}return e}function R(e,t,n){for(var a=t?Ae.filter(t,e):e,o=0,i;null!=(i=a[o]);o++)n||1!==i.nodeType||Ae.cleanData(S(i)),i.parentNode&&(n&&Ae.contains(i.ownerDocument,i)&&A(S(i,'script')),i.parentNode.removeChild(i));return e}function W(e,t,n){var a=e.style,o,i,s,r;return n=n||yt(e),n&&(r=n.getPropertyValue(t)||n[t],''===r&&!Ae.contains(e.ownerDocument,e)&&(r=Ae.style(e,t)),!Ce.pixelBoxStyles()&>.test(r)&&xt.test(t)&&(o=a.width,i=a.minWidth,s=a.maxWidth,a.minWidth=a.maxWidth=a.width=r,r=n.width,a.width=o,a.minWidth=i,a.maxWidth=s)),void 0===r?r:r+''}function z(e,t){return{get:function(){return e()?void delete this.get:(this.get=t).apply(this,arguments)}}}function F(e){if(e in kt)return e;for(var t=e[0].toUpperCase()+e.slice(1),n=Ct.length;n--;)if(e=Ct[n]+t,e in kt)return e}function U(e){var t=Ae.cssProps[e];return t||(t=Ae.cssProps[e]=F(e)||e),t}function X(e,t,n){var o=Je.exec(t);return o?a(0,o[2]-(n||0))+(o[3]||'px'):t}function $(e,t,o,s,r,d){var l='width'===t?1:0,i=0,p=0;if(o===(s?'border':'content'))return 0;for(;4>l;l+=2)'margin'===o&&(p+=Ae.css(e,o+Ze[l],!0,r)),s?('content'===o&&(p-=Ae.css(e,'padding'+Ze[l],!0,r)),'margin'!==o&&(p-=Ae.css(e,'border'+Ze[l]+'Width',!0,r))):(p+=Ae.css(e,'padding'+Ze[l],!0,r),'padding'===o?i+=Ae.css(e,'border'+Ze[l]+'Width',!0,r):p+=Ae.css(e,'border'+Ze[l]+'Width',!0,r));return!s&&0<=d&&(p+=a(0,n(e['offset'+t[0].toUpperCase()+t.slice(1)]-d-p-i-.5))),p}function V(e,t,n){var a=yt(e),o=W(e,t,a),i='border-box'===Ae.css(e,'boxSizing',!1,a),s=i;if(gt.test(o)){if(!n)return o;o='auto'}return s=s&&(Ce.boxSizingReliable()||o===e.style[t]),'auto'!==o&&(parseFloat(o)||'inline'!==Ae.css(e,'display',!1,a))||(o=e['offset'+t[0].toUpperCase()+t.slice(1)],s=!0),o=parseFloat(o)||0,o+$(e,t,n||(i?'border':'content'),s,a,o)+'px'}function K(e,t,n,a,o){return new K.prototype.init(e,t,n,a,o)}function G(){At&&(!1===ue.hidden&&r.requestAnimationFrame?r.requestAnimationFrame(G):r.setTimeout(G,Ae.fx.interval),Ae.fx.tick())}function Y(){return r.setTimeout(function(){St=void 0}),St=Date.now()}function Q(e,t){var n=0,a={height:e},o;for(t=t?1:0;4>n;n+=2-t)o=Ze[n],a['margin'+o]=a['padding'+o]=e;return t&&(a.opacity=a.width=e),a}function J(e,t,n){for(var a=(te.tweeners[t]||[]).concat(te.tweeners['*']),o=0,i=a.length,s;o<i;o++)if(s=a[o].call(n,t,e))return s}function Z(e,t,n){var a='width'in t||'height'in t,o=this,i={},s=e.style,r=e.nodeType&&et(e),d=Ve.get(e,'fxshow'),l,p,c,u,h,f,m,g;for(l in n.queue||(u=Ae._queueHooks(e,'fx'),null==u.unqueued&&(u.unqueued=0,h=u.empty.fire,u.empty.fire=function(){u.unqueued||h()}),u.unqueued++,o.always(function(){o.always(function(){u.unqueued--,Ae.queue(e,'fx').length||u.empty.fire()})})),t)if(p=t[l],jt.test(p)){if(delete t[l],c=c||'toggle'===p,p===(r?'hide':'show'))if('show'===p&&d&&void 0!==d[l])r=!0;else continue;i[l]=d&&d[l]||Ae.style(e,l)}if(f=!Ae.isEmptyObject(t),f||!Ae.isEmptyObject(i))for(l in a&&1===e.nodeType&&(n.overflow=[s.overflow,s.overflowX,s.overflowY],m=d&&d.display,null==m&&(m=Ve.get(e,'display')),g=Ae.css(e,'display'),'none'===g&&(m?g=m:(N([e],!0),m=e.style.display||m,g=Ae.css(e,'display'),N([e]))),('inline'===g||'inline-block'===g&&null!=m)&&'none'===Ae.css(e,'float')&&(!f&&(o.done(function(){s.display=m}),null==m&&(g=s.display,m='none'===g?'':g)),s.display='inline-block')),n.overflow&&(s.overflow='hidden',o.always(function(){s.overflow=n.overflow[0],s.overflowX=n.overflow[1],s.overflowY=n.overflow[2]})),f=!1,i)f||(d?'hidden'in d&&(r=d.hidden):d=Ve.access(e,'fxshow',{display:m}),c&&(d.hidden=!r),r&&N([e],!0),o.done(function(){for(l in r||N([e]),Ve.remove(e,'fxshow'),i)Ae.style(e,l,i[l])})),f=J(r?d[l]:0,l,o),l in d||(d[l]=f.start,r&&(f.end=f.start,f.start=0))}function ee(e,t){var n,a,o,i,s;for(n in e)if(a=v(n),o=t[a],i=e[n],Array.isArray(i)&&(o=i[1],i=e[n]=i[0]),n!=a&&(e[a]=i,delete e[n]),s=Ae.cssHooks[a],s&&'expand'in s)for(n in i=s.expand(i),delete e[a],i)n in e||(e[n]=i[n],t[n]=o);else t[a]=o}function te(e,t,n){var o=0,i=te.prefilters.length,s=Ae.Deferred().always(function(){delete r.elem}),r=function(){if(c)return!1;for(var t=St||Y(),n=a(0,d.startTime+d.duration-t),o=n/d.duration||0,i=1-o,r=0,l=d.tweens.length;r<l;r++)d.tweens[r].run(i);return(s.notifyWith(e,[d,i,n]),1>i&&l)?n:(l||s.notifyWith(e,[d,1,0]),s.resolveWith(e,[d]),!1)},d=s.promise({elem:e,props:Ae.extend({},t),opts:Ae.extend(!0,{specialEasing:{},easing:Ae.easing._default},n),originalProperties:t,originalOptions:n,startTime:St||Y(),duration:n.duration,tweens:[],createTween:function(t,n){var a=Ae.Tween(e,d.opts,t,n,d.opts.specialEasing[t]||d.opts.easing);return d.tweens.push(a),a},stop:function(t){var n=0,a=t?d.tweens.length:0;if(c)return this;for(c=!0;n<a;n++)d.tweens[n].run(1);return t?(s.notifyWith(e,[d,1,0]),s.resolveWith(e,[d,t])):s.rejectWith(e,[d,t]),this}}),l=d.props,p,c;for(ee(l,d.opts.specialEasing);o<i;o++)if(p=te.prefilters[o].call(d,e,l,d.opts),p)return ke(p.stop)&&(Ae._queueHooks(d.elem,d.opts.queue).stop=p.stop.bind(p)),p;return Ae.map(l,J,d),ke(d.opts.start)&&d.opts.start.call(e,d),d.progress(d.opts.progress).done(d.opts.done,d.opts.complete).fail(d.opts.fail).always(d.opts.always),Ae.fx.timer(Ae.extend(r,{elem:e,anim:d,queue:d.opts.queue})),d}function ne(e){var t=e.match(Re)||[];return t.join(' ')}function ae(e){return e.getAttribute&&e.getAttribute('class')||''}function oe(e){return Array.isArray(e)?e:'string'==typeof e?e.match(Re)||[]:[]}function ie(e,t,n,a){if(Array.isArray(t))Ae.each(t,function(t,o){n||_t.test(e)?a(e,o):ie(e+'['+('object'==typeof o&&null!=o?t:'')+']',o,n,a)});else if(!n&&'object'===p(t))for(var o in t)ie(e+'['+o+']',t[o],n,a);else a(e,t)}function se(e){return function(t,n){'string'!=typeof t&&(n=t,t='*');var a=0,o=t.toLowerCase().match(Re)||[],i;if(ke(n))for(;i=o[a++];)'+'===i[0]?(i=i.slice(1)||'*',(e[i]=e[i]||[]).unshift(n)):(e[i]=e[i]||[]).push(n)}}function re(e,t,n,a){function o(r){var d;return i[r]=!0,Ae.each(e[r]||[],function(e,r){var l=r(t,n,a);return'string'!=typeof l||s||i[l]?s?!(d=l):void 0:(t.dataTypes.unshift(l),o(l),!1)}),d}var i={},s=e===Qt;return o(t.dataTypes[0])||!i['*']&&o('*')}function de(e,t){var n=Ae.ajaxSettings.flatOptions||{},a,o;for(a in t)void 0!==t[a]&&((n[a]?e:o||(o={}))[a]=t[a]);return o&&Ae.extend(!0,e,o),e}function le(e,t,n){for(var a=e.contents,o=e.dataTypes,i,s,r,d;'*'===o[0];)o.shift(),void 0===i&&(i=e.mimeType||t.getResponseHeader('Content-Type'));if(i)for(s in a)if(a[s]&&a[s].test(i)){o.unshift(s);break}if(o[0]in n)r=o[0];else{for(s in n){if(!o[0]||e.converters[s+' '+o[0]]){r=s;break}d||(d=s)}r=r||d}return r?(r!==o[0]&&o.unshift(r),n[r]):void 0}function pe(e,t,n,a){var o={},i=e.dataTypes.slice(),s,r,d,l,p;if(i[1])for(d in e.converters)o[d.toLowerCase()]=e.converters[d];for(r=i.shift();r;)if(e.responseFields[r]&&(n[e.responseFields[r]]=t),!p&&a&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),p=r,r=i.shift(),r)if('*'===r)r=p;else if('*'!==p&&p!=r){if(d=o[p+' '+r]||o['* '+r],!d)for(s in o)if(l=s.split(' '),l[1]===r&&(d=o[p+' '+l[0]]||o['* '+l[0]],d)){!0===d?d=o[s]:!0!==o[s]&&(r=l[0],i.unshift(l[1]));break}if(!0!==d)if(d&&e.throws)t=d(t);else try{t=d(t)}catch(t){return{state:'parsererror',error:d?t:'No conversion from '+p+' to '+r}}}return{state:'success',data:t}}var ce=[],ue=r.document,he=Object.getPrototypeOf,fe=ce.slice,me=ce.concat,ge=ce.push,ye=ce.indexOf,xe={},be=xe.toString,ve=xe.hasOwnProperty,we=ve.toString,Te=we.call(Object),Ce={},ke=function(e){return'function'==typeof e&&'number'!=typeof e.nodeType},je=function(e){return null!=e&&e===e.window},Ne={type:!0,src:!0,noModule:!0},Se='3.3.1',Ae=function(e,t){return new Ae.fn.init(e,t)},Ee=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g;Ae.fn=Ae.prototype={jquery:Se,constructor:Ae,length:0,toArray:function(){return fe.call(this)},get:function(e){return null==e?fe.call(this):0>e?this[e+this.length]:this[e]},pushStack:function(e){var t=Ae.merge(this.constructor(),e);return t.prevObject=this,t},each:function(e){return Ae.each(this,e)},map:function(e){return this.pushStack(Ae.map(this,function(t,n){return e.call(t,n,t)}))},slice:function(){return this.pushStack(fe.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(e){var t=this.length,n=+e+(0>e?t:0);return this.pushStack(0<=n&&n<t?[this[n]]:[])},end:function(){return this.prevObject||this.constructor()},push:ge,sort:ce.sort,splice:ce.splice},Ae.extend=Ae.fn.extend=function(){var e=arguments[0]||{},t=1,n=arguments.length,a=!1,o,i,s,r,d,l;for('boolean'==typeof e&&(a=e,e=arguments[t]||{},t++),'object'==typeof e||ke(e)||(e={}),t===n&&(e=this,t--);t<n;t++)if(null!=(o=arguments[t]))for(i in o)(s=e[i],r=o[i],e!==r)&&(a&&r&&(Ae.isPlainObject(r)||(d=Array.isArray(r)))?(d?(d=!1,l=s&&Array.isArray(s)?s:[]):l=s&&Ae.isPlainObject(s)?s:{},e[i]=Ae.extend(a,l,r)):void 0!==r&&(e[i]=r));return e},Ae.extend({expando:'jQuery'+(Se+Math.random()).replace(/\D/g,''),isReady:!0,error:function(e){throw new Error(e)},noop:function(){},isPlainObject:function(e){var t,n;return!!(e&&'[object Object]'===be.call(e))&&((t=he(e),!!!t)||(n=ve.call(t,'constructor')&&t.constructor,'function'==typeof n&&we.call(n)===Te))},isEmptyObject:function(e){for(var t in e)return!1;return!0},globalEval:function(e){d(e)},each:function(e,t){var n=0,a;if(l(e))for(a=e.length;n<a&&!1!==t.call(e[n],n,e[n]);n++);else for(n in e)if(!1===t.call(e[n],n,e[n]))break;return e},trim:function(e){return null==e?'':(e+'').replace(Ee,'')},makeArray:function(e,t){var n=t||[];return null!=e&&(l(Object(e))?Ae.merge(n,'string'==typeof e?[e]:e):ge.call(n,e)),n},inArray:function(e,t,n){return null==t?-1:ye.call(t,e,n)},merge:function(e,t){for(var n=+t.length,a=0,o=e.length;a<n;a++)e[o++]=t[a];return e.length=o,e},grep:function(e,t,n){for(var a=[],o=0,i=e.length,s;o<i;o++)s=!t(e[o],o),s!==!n&&a.push(e[o]);return a},map:function(e,t,n){var a=0,o=[],i,s;if(l(e))for(i=e.length;a<i;a++)s=t(e[a],a,n),null!=s&&o.push(s);else for(a in e)s=t(e[a],a,n),null!=s&&o.push(s);return me.apply([],o)},guid:1,support:Ce}),'function'==typeof Symbol&&(Ae.fn[Symbol.iterator]=ce[Symbol.iterator]),Ae.each(['Boolean','Number','String','Function','Array','Date','RegExp','Object','Error','Symbol'],function(e,t){xe['[object '+t+']']=t.toLowerCase()});var De=/*!
* Sizzle CSS Selector Engine v2.3.3
* https://sizzlejs.com/
*
* Copyright jQuery Foundation and other contributors
* Released under the MIT license
* http://jquery.org/license
*
* Date: 2016-08-08
*/function(e){function t(e,t,n,a){var o=t&&t.ownerDocument,s=t?t.nodeType:9,r,d,i,l,p,c,h;if(n=n||[],'string'!=typeof e||!e||1!==s&&9!==s&&11!==s)return n;if(!a&&((t?t.ownerDocument||t:C)!==ge&&me(t),t=t||ge,xe)){if(11!==s&&(p=Q.exec(e)))if(!(r=p[1])){if(p[2])return H.apply(n,t.getElementsByTagName(e)),n;if((r=p[3])&&se.getElementsByClassName&&t.getElementsByClassName)return H.apply(n,t.getElementsByClassName(r)),n}else if(9===s){if(!(i=t.getElementById(r)))return n;if(i.id===r)return n.push(i),n}else if(o&&(i=o.getElementById(r))&&Te(t,i)&&i.id===r)return n.push(i),n;if(se.qsa&&!A[e+' ']&&(!be||!be.test(e))){if(1!==s)o=t,h=e;else if('object'!==t.nodeName.toLowerCase()){for((l=t.getAttribute('id'))?l=l.replace(te,ne):t.setAttribute('id',l=T),c=le(e),d=c.length;d--;)c[d]='#'+l+' '+f(c[d]);h=c.join(','),o=J.test(e)&&u(t.parentNode)||t}if(h)try{return H.apply(n,o.querySelectorAll(h)),n}catch(e){}finally{l===T&&t.removeAttribute('id')}}}return ce(e.replace(W,'$1'),t,n,a)}function n(){function e(n,a){return t.push(n+' ')>re.cacheLength&&delete e[t.shift()],e[n+' ']=a}var t=[];return e}function a(e){return e[T]=!0,e}function o(e){var t=ge.createElement('fieldset');try{return!!e(t)}catch(t){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function s(e,t){for(var n=e.split('|'),a=n.length;a--;)re.attrHandle[n[a]]=t}function r(e,t){var n=t&&e,a=n&&1===e.nodeType&&1===t.nodeType&&e.sourceIndex-t.sourceIndex;if(a)return a;if(n)for(;n=n.nextSibling;)if(n===t)return-1;return e?1:-1}function d(e){return function(t){var n=t.nodeName.toLowerCase();return'input'===n&&t.type===e}}function l(e){return function(t){var n=t.nodeName.toLowerCase();return('input'===n||'button'===n)&&t.type===e}}function p(e){return function(t){return'form'in t?t.parentNode&&!1===t.disabled?'label'in t?'label'in t.parentNode?t.parentNode.disabled===e:t.disabled===e:t.isDisabled===e||t.isDisabled!==!e&&oe(t)===e:t.disabled===e:!!('label'in t)&&t.disabled===e}}function c(e){return a(function(t){return t=+t,a(function(n,a){for(var o=e([],n.length,t),s=o.length,i;s--;)n[i=o[s]]&&(n[i]=!(a[i]=n[i]))})})}function u(e){return e&&'undefined'!=typeof e.getElementsByTagName&&e}function h(){}function f(e){for(var t=0,n=e.length,a='';t<n;t++)a+=e[t].value;return a}function m(e,t,n){var a=t.dir,o=t.next,i=o||a,s=n&&'parentNode'===i,r=j++;return t.first?function(t,n,o){for(;t=t[a];)if(1===t.nodeType||s)return e(t,n,o);return!1}:function(t,n,d){var l=[k,r],p,c,u;if(d){for(;t=t[a];)if((1===t.nodeType||s)&&e(t,n,d))return!0;}else for(;t=t[a];)if(1===t.nodeType||s)if(u=t[T]||(t[T]={}),c=u[t.uniqueID]||(u[t.uniqueID]={}),o&&o===t.nodeName.toLowerCase())t=t[a]||t;else{if((p=c[i])&&p[0]===k&&p[1]===r)return l[2]=p[2];if(c[i]=l,l[2]=e(t,n,d))return!0}return!1}}function g(e){return 1<e.length?function(t,n,a){for(var o=e.length;o--;)if(!e[o](t,n,a))return!1;return!0}:e[0]}function y(e,n,a){for(var o=0,i=n.length;o<i;o++)t(e,n[o],a);return a}function x(e,t,n,a,o){for(var s=[],r=0,i=e.length,d;r<i;r++)(d=e[r])&&(!n||n(d,a,o))&&(s.push(d),null!=t&&t.push(r));return s}function b(e,t,n,o,s,i){return o&&!o[T]&&(o=b(o)),s&&!s[T]&&(s=b(s,i)),a(function(a,r,d,l){var p=[],c=[],u=r.length,h=a||y(t||'*',d.nodeType?[d]:d,[]),f=e&&(a||!t)?x(h,p,e,d,l):h,m=n?s||(a?e:u||o)?[]:r:f,g,b,i;if(n&&n(f,m,d,l),o)for(g=x(m,c),o(g,[],d,l),b=g.length;b--;)(i=g[b])&&(m[c[b]]=!(f[c[b]]=i));if(!a)m=x(m===r?m.splice(u,m.length):m),s?s(null,r,m,l):H.apply(r,m);else if(s||e){if(s){for(g=[],b=m.length;b--;)(i=m[b])&&g.push(f[b]=i);s(null,m=[],g,l)}for(b=m.length;b--;)(i=m[b])&&-1<(g=s?P(a,i):p[b])&&(a[g]=!(r[g]=i))}})}function v(e){for(var t=e.length,n=re.relative[e[0].type],a=n||re.relative[' '],o=n?1:0,i=m(function(e){return e===d},a,!0),s=m(function(e){return-1<P(d,e)},a,!0),r=[function(e,t,a){var o=!n&&(a||t!==ue)||((d=t).nodeType?i(e,t,a):s(e,t,a));return d=null,o}],d,l,p;o<t;o++)if(l=re.relative[e[o].type])r=[m(g(r),l)];else{if(l=re.filter[e[o].type].apply(null,e[o].matches),l[T]){for(p=++o;p<t&&!re.relative[e[p].type];p++);return b(1<o&&g(r),1<o&&f(e.slice(0,o-1).concat({value:' '===e[o-2].type?'*':''})).replace(W,'$1'),l,o<p&&v(e.slice(o,p)),p<t&&v(e=e.slice(p)),p<t&&f(e))}r.push(l)}return g(r)}function w(e,n){var o=0<n.length,s=0<e.length,i=function(a,r,d,l,p){var c=0,u='0',i=a&&[],h=[],f=ue,m=a||s&&re.find.TAG('*',p),g=k+=null==f?1:Math.random()||.1,y=m.length,b,v,w;for(p&&(ue=r===ge||r||p);u!==y&&null!=(b=m[u]);u++){if(s&&b){for(v=0,r||b.ownerDocument===ge||(me(b),d=!xe);w=e[v++];)if(w(b,r||ge,d)){l.push(b);break}p&&(k=g)}o&&((b=!w&&b)&&c--,a&&i.push(b))}if(c+=u,o&&u!==c){for(v=0;w=n[v++];)w(i,h,r,d);if(a){if(0<c)for(;u--;)i[u]||h[u]||(h[u]=O.call(l));h=x(h)}H.apply(l,h),p&&!a&&0<h.length&&1<c+n.length&&t.uniqueSort(l)}return p&&(k=g,ue=f),i};return o?a(i):i}var T='sizzle'+1*new Date,C=e.document,k=0,j=0,N=n(),S=n(),A=n(),E=function(e,t){return e===t&&(fe=!0),0},D={}.hasOwnProperty,L=[],O=L.pop,q=L.push,H=L.push,M=L.slice,P=function(e,t){for(var n=0,a=e.length;n<a;n++)if(e[n]===t)return n;return-1},I='checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped',B='[\\x20\\t\\r\\n\\f]',_='(?:\\\\.|[\\w-]|[^\0-\\xa0])+',R=/[\x20\t\r\n\f]+/g,W=/^[\x20\t\r\n\f]+|((?:^|[^\\])(?:\\.)*)[\x20\t\r\n\f]+$/g,z=/^[\x20\t\r\n\f]*,[\x20\t\r\n\f]*/,F=/^[\x20\t\r\n\f]*([>+~]|[\x20\t\r\n\f])[\x20\t\r\n\f]*/,U=/=[\x20\t\r\n\f]*([^\]'"]*?)[\x20\t\r\n\f]*\]/g,X=/:((?:\\.|[\w-]|[^\0-\xa0])+)(?:\((('((?:\\.|[^\\'])*)'|"((?:\\.|[^\\"])*)")|((?:\\.|[^\\()[\]]|\[[\x20\t\r\n\f]*((?:\\.|[\w-]|[^\0-\xa0])+)(?:[\x20\t\r\n\f]*([*^$|!~]?=)[\x20\t\r\n\f]*(?:'((?:\\.|[^\\'])*)'|"((?:\\.|[^\\"])*)"|((?:\\.|[\w-]|[^\0-\xa0])+))|)[\x20\t\r\n\f]*\])*)|.*)\)|)/,$=/^(?:\\.|[\w-]|[^\0-\xa0])+$/,V={ID:/^#((?:\\.|[\w-]|[^\0-\xa0])+)/,CLASS:/^\.((?:\\.|[\w-]|[^\0-\xa0])+)/,TAG:/^((?:\\.|[\w-]|[^\0-\xa0])+|[*])/,ATTR:/^\[[\x20\t\r\n\f]*((?:\\.|[\w-]|[^\0-\xa0])+)(?:[\x20\t\r\n\f]*([*^$|!~]?=)[\x20\t\r\n\f]*(?:'((?:\\.|[^\\'])*)'|"((?:\\.|[^\\"])*)"|((?:\\.|[\w-]|[^\0-\xa0])+))|)[\x20\t\r\n\f]*\]/,PSEUDO:/^:((?:\\.|[\w-]|[^\0-\xa0])+)(?:\((('((?:\\.|[^\\'])*)'|"((?:\\.|[^\\"])*)")|((?:\\.|[^\\()[\]]|\[[\x20\t\r\n\f]*((?:\\.|[\w-]|[^\0-\xa0])+)(?:[\x20\t\r\n\f]*([*^$|!~]?=)[\x20\t\r\n\f]*(?:'((?:\\.|[^\\'])*)'|"((?:\\.|[^\\"])*)"|((?:\\.|[\w-]|[^\0-\xa0])+))|)[\x20\t\r\n\f]*\])*)|.*)\)|)/,CHILD:/^:(only|first|last|nth|nth-last)-(child|of-type)(?:\([\x20\t\r\n\f]*(even|odd|(([+-]|)(\d*)n|)[\x20\t\r\n\f]*(?:([+-]|)[\x20\t\r\n\f]*(\d+)|))[\x20\t\r\n\f]*\)|)/i,bool:/^(?:checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped)$/i,needsContext:/^[\x20\t\r\n\f]*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\([\x20\t\r\n\f]*((?:-\d)?\d*)[\x20\t\r\n\f]*\)|)(?=[^-]|$)/i},K=/^(?:input|select|textarea|button)$/i,G=/^h\d$/i,Y=/^[^{]+\{\s*\[native \w/,Q=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,J=/[+~]/,Z=/\\([\da-f]{1,6}[\x20\t\r\n\f]?|([\x20\t\r\n\f])|.)/ig,ee=function(e,t,n){var a=String.fromCharCode,o='0x'+t-65536;return o!=o||n?t:0>o?a(o+65536):a(55296|o>>10,56320|1023&o)},te=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,ne=function(e,t){return t?'\0'===e?'\uFFFD':e.slice(0,-1)+'\\'+e.charCodeAt(e.length-1).toString(16)+' ':'\\'+e},ae=function(){me()},oe=m(function(e){return!0===e.disabled&&('form'in e||'label'in e)},{dir:'parentNode',next:'legend'}),ie,se,re,de,i,le,pe,ce,ue,he,fe,me,ge,ye,xe,be,ve,we,Te;try{H.apply(L=M.call(C.childNodes),C.childNodes),L[C.childNodes.length].nodeType}catch(t){H={apply:L.length?function(e,t){q.apply(e,M.call(t))}:function(e,t){for(var n=e.length,a=0;e[n++]=t[a++];);e.length=n-1}}}for(ie in se=t.support={},i=t.isXML=function(e){var t=e&&(e.ownerDocument||e).documentElement;return!!t&&'HTML'!==t.nodeName},me=t.setDocument=function(e){var t=e?e.ownerDocument||e:C,n,a;return t!==ge&&9===t.nodeType&&t.documentElement?(ge=t,ye=ge.documentElement,xe=!i(ge),C!==ge&&(a=ge.defaultView)&&a.top!==a&&(a.addEventListener?a.addEventListener('unload',ae,!1):a.attachEvent&&a.attachEvent('onunload',ae)),se.attributes=o(function(e){return e.className='i',!e.getAttribute('className')}),se.getElementsByTagName=o(function(e){return e.appendChild(ge.createComment('')),!e.getElementsByTagName('*').length}),se.getElementsByClassName=Y.test(ge.getElementsByClassName),se.getById=o(function(e){return ye.appendChild(e).id=T,!ge.getElementsByName||!ge.getElementsByName(T).length}),se.getById?(re.filter.ID=function(e){var t=e.replace(Z,ee);return function(e){return e.getAttribute('id')===t}},re.find.ID=function(e,t){if('undefined'!=typeof t.getElementById&&xe){var n=t.getElementById(e);return n?[n]:[]}}):(re.filter.ID=function(e){var t=e.replace(Z,ee);return function(e){var n='undefined'!=typeof e.getAttributeNode&&e.getAttributeNode('id');return n&&n.value===t}},re.find.ID=function(e,t){if('undefined'!=typeof t.getElementById&&xe){var n=t.getElementById(e),a,o,i;if(n){if(a=n.getAttributeNode('id'),a&&a.value===e)return[n];for(i=t.getElementsByName(e),o=0;n=i[o++];)if(a=n.getAttributeNode('id'),a&&a.value===e)return[n]}return[]}}),re.find.TAG=se.getElementsByTagName?function(e,t){return'undefined'==typeof t.getElementsByTagName?se.qsa?t.querySelectorAll(e):void 0:t.getElementsByTagName(e)}:function(e,t){var n=[],a=0,o=t.getElementsByTagName(e),i;if('*'===e){for(;i=o[a++];)1===i.nodeType&&n.push(i);return n}return o},re.find.CLASS=se.getElementsByClassName&&function(e,t){if('undefined'!=typeof t.getElementsByClassName&&xe)return t.getElementsByClassName(e)},ve=[],be=[],(se.qsa=Y.test(ge.querySelectorAll))&&(o(function(e){ye.appendChild(e).innerHTML='<a id=\''+T+'\'></a><select id=\''+T+'-\r\\\' msallowcapture=\'\'><option selected=\'\'></option></select>',e.querySelectorAll('[msallowcapture^=\'\']').length&&be.push('[*^$]='+B+'*(?:\'\'|"")'),e.querySelectorAll('[selected]').length||be.push('\\['+B+'*(?:value|'+I+')'),e.querySelectorAll('[id~='+T+'-]').length||be.push('~='),e.querySelectorAll(':checked').length||be.push(':checked'),e.querySelectorAll('a#'+T+'+*').length||be.push('.#.+[+~]')}),o(function(e){e.innerHTML='<a href=\'\' disabled=\'disabled\'></a><select disabled=\'disabled\'><option/></select>';var t=ge.createElement('input');t.setAttribute('type','hidden'),e.appendChild(t).setAttribute('name','D'),e.querySelectorAll('[name=d]').length&&be.push('name'+B+'*[*^$|!~]?='),2!==e.querySelectorAll(':enabled').length&&be.push(':enabled',':disabled'),ye.appendChild(e).disabled=!0,2!==e.querySelectorAll(':disabled').length&&be.push(':enabled',':disabled'),e.querySelectorAll('*,:x'),be.push(',.*:')})),(se.matchesSelector=Y.test(we=ye.matches||ye.webkitMatchesSelector||ye.mozMatchesSelector||ye.oMatchesSelector||ye.msMatchesSelector))&&o(function(e){se.disconnectedMatch=we.call(e,'*'),we.call(e,'[s!=\'\']:x'),ve.push('!=',':('+_+')(?:\\(((\'((?:\\\\.|[^\\\\\'])*)\'|"((?:\\\\.|[^\\\\"])*)")|((?:\\\\.|[^\\\\()[\\]]|'+('\\['+B+'*('+_+')(?:'+B+'*([*^$|!~]?=)'+B+'*(?:\'((?:\\\\.|[^\\\\\'])*)\'|"((?:\\\\.|[^\\\\"])*)"|('+_+'))|)'+B+'*\\]')+')*)|.*)\\)|)')}),be=be.length&&new RegExp(be.join('|')),ve=ve.length&&new RegExp(ve.join('|')),n=Y.test(ye.compareDocumentPosition),Te=n||Y.test(ye.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,a=t&&t.parentNode;return e===a||!!(a&&1===a.nodeType&&(n.contains?n.contains(a):e.compareDocumentPosition&&16&e.compareDocumentPosition(a)))}:function(e,t){if(t)for(;t=t.parentNode;)if(t===e)return!0;return!1},E=n?function(e,t){if(e===t)return fe=!0,0;var n=!e.compareDocumentPosition-!t.compareDocumentPosition;return n?n:(n=(e.ownerDocument||e)===(t.ownerDocument||t)?e.compareDocumentPosition(t):1,1&n||!se.sortDetached&&t.compareDocumentPosition(e)===n?e===ge||e.ownerDocument===C&&Te(C,e)?-1:t===ge||t.ownerDocument===C&&Te(C,t)?1:he?P(he,e)-P(he,t):0:4&n?-1:1)}:function(e,t){if(e===t)return fe=!0,0;var n=0,a=e.parentNode,o=t.parentNode,i=[e],s=[t],d;if(!a||!o)return e===ge?-1:t===ge?1:a?-1:o?1:he?P(he,e)-P(he,t):0;if(a===o)return r(e,t);for(d=e;d=d.parentNode;)i.unshift(d);for(d=t;d=d.parentNode;)s.unshift(d);for(;i[n]===s[n];)n++;return n?r(i[n],s[n]):i[n]===C?-1:s[n]===C?1:0},ge):ge},t.matches=function(e,n){return t(e,null,null,n)},t.matchesSelector=function(e,n){if((e.ownerDocument||e)!==ge&&me(e),n=n.replace(U,'=\'$1\']'),se.matchesSelector&&xe&&!A[n+' ']&&(!ve||!ve.test(n))&&(!be||!be.test(n)))try{var a=we.call(e,n);if(a||se.disconnectedMatch||e.document&&11!==e.document.nodeType)return a}catch(t){}return 0<t(n,ge,null,[e]).length},t.contains=function(e,t){return(e.ownerDocument||e)!==ge&&me(e),Te(e,t)},t.attr=function(e,t){(e.ownerDocument||e)!==ge&&me(e);var n=re.attrHandle[t.toLowerCase()],a=n&&D.call(re.attrHandle,t.toLowerCase())?n(e,t,!xe):void 0;return void 0===a?se.attributes||!xe?e.getAttribute(t):(a=e.getAttributeNode(t))&&a.specified?a.value:null:a},t.escape=function(e){return(e+'').replace(te,ne)},t.error=function(e){throw new Error('Syntax error, unrecognized expression: '+e)},t.uniqueSort=function(e){var t=[],n=0,a=0,o;if(fe=!se.detectDuplicates,he=!se.sortStable&&e.slice(0),e.sort(E),fe){for(;o=e[a++];)o===e[a]&&(n=t.push(a));for(;n--;)e.splice(t[n],1)}return he=null,e},de=t.getText=function(e){var t='',n=0,a=e.nodeType,o;if(!a)for(;o=e[n++];)t+=de(o);else if(1===a||9===a||11===a){if('string'==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)t+=de(e)}else if(3===a||4===a)return e.nodeValue;return t},re=t.selectors={cacheLength:50,createPseudo:a,match:V,attrHandle:{},find:{},relative:{">":{dir:'parentNode',first:!0}," ":{dir:'parentNode'},"+":{dir:'previousSibling',first:!0},"~":{dir:'previousSibling'}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(Z,ee),e[3]=(e[3]||e[4]||e[5]||'').replace(Z,ee),'~='===e[2]&&(e[3]=' '+e[3]+' '),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),'nth'===e[1].slice(0,3)?(!e[3]&&t.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*('even'===e[3]||'odd'===e[3])),e[5]=+(e[7]+e[8]||'odd'===e[3])):e[3]&&t.error(e[0]),e},PSEUDO:function(e){var t=!e[6]&&e[2],n;return V.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||'':t&&X.test(t)&&(n=le(t,!0))&&(n=t.indexOf(')',t.length-n)-t.length)&&(e[0]=e[0].slice(0,n),e[2]=t.slice(0,n)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(Z,ee).toLowerCase();return'*'===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=N[e+' '];return t||(t=new RegExp('(^|'+B+')'+e+'('+B+'|$)'))&&N(e,function(e){return t.test('string'==typeof e.className&&e.className||'undefined'!=typeof e.getAttribute&&e.getAttribute('class')||'')})},ATTR:function(e,n,a){return function(o){var i=t.attr(o,e);return null==i?'!='===n:!n||(i+='','='===n?i===a:'!='===n?i!==a:'^='===n?a&&0===i.indexOf(a):'*='===n?a&&-1<i.indexOf(a):'$='===n?a&&i.slice(-a.length)===a:'~='===n?-1<(' '+i.replace(R,' ')+' ').indexOf(a):'|='==n&&(i===a||i.slice(0,a.length+1)===a+'-'))}},CHILD:function(e,t,n,a,o){var i='nth'!==e.slice(0,3),s='last'!==e.slice(-4),r='of-type'===t;return 1===a&&0===o?function(e){return!!e.parentNode}:function(t,n,d){var l=i==s?'previousSibling':'nextSibling',p=t.parentNode,c=r&&t.nodeName.toLowerCase(),u=!d&&!r,h=!1,f,m,g,y,x,b;if(p){if(i){for(;l;){for(y=t;y=y[l];)if(r?y.nodeName.toLowerCase()===c:1===y.nodeType)return!1;b=l='only'===e&&!b&&'nextSibling'}return!0}if(b=[s?p.firstChild:p.lastChild],s&&u){for(y=p,g=y[T]||(y[T]={}),m=g[y.uniqueID]||(g[y.uniqueID]={}),f=m[e]||[],x=f[0]===k&&f[1],h=x&&f[2],y=x&&p.childNodes[x];y=++x&&y&&y[l]||(h=x=0)||b.pop();)if(1===y.nodeType&&++h&&y===t){m[e]=[k,x,h];break}}else if(u&&(y=t,g=y[T]||(y[T]={}),m=g[y.uniqueID]||(g[y.uniqueID]={}),f=m[e]||[],x=f[0]===k&&f[1],h=x),!1===h)for(;(y=++x&&y&&y[l]||(h=x=0)||b.pop())&&!((r?y.nodeName.toLowerCase()===c:1===y.nodeType)&&++h&&(u&&(g=y[T]||(y[T]={}),m=g[y.uniqueID]||(g[y.uniqueID]={}),m[e]=[k,h]),y===t)););return h-=o,h===a||0==h%a&&0<=h/a}}},PSEUDO:function(e,n){var o=re.pseudos[e]||re.setFilters[e.toLowerCase()]||t.error('unsupported pseudo: '+e),i;return o[T]?o(n):1<o.length?(i=[e,e,'',n],re.setFilters.hasOwnProperty(e.toLowerCase())?a(function(e,t){for(var a=o(e,n),s=a.length,i;s--;)i=P(e,a[s]),e[i]=!(t[i]=a[s])}):function(e){return o(e,0,i)}):o}},pseudos:{not:a(function(e){var t=[],n=[],o=pe(e.replace(W,'$1'));return o[T]?a(function(e,t,n,a){for(var s=o(e,null,a,[]),r=e.length,i;r--;)(i=s[r])&&(e[r]=!(t[r]=i))}):function(e,a,i){return t[0]=e,o(t,null,i,n),t[0]=null,!n.pop()}}),has:a(function(e){return function(n){return 0<t(e,n).length}}),contains:a(function(e){return e=e.replace(Z,ee),function(t){return-1<(t.textContent||t.innerText||de(t)).indexOf(e)}}),lang:a(function(e){return $.test(e||'')||t.error('unsupported lang: '+e),e=e.replace(Z,ee).toLowerCase(),function(t){var n;do if(n=xe?t.lang:t.getAttribute('xml:lang')||t.getAttribute('lang'))return n=n.toLowerCase(),n===e||0===n.indexOf(e+'-');while((t=t.parentNode)&&1===t.nodeType);return!1}}),target:function(t){var n=e.location&&e.location.hash;return n&&n.slice(1)===t.id},root:function(e){return e===ye},focus:function(e){return e===ge.activeElement&&(!ge.hasFocus||ge.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:p(!1),disabled:p(!0),checked:function(e){var t=e.nodeName.toLowerCase();return'input'===t&&!!e.checked||'option'===t&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,!0===e.selected},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(6>e.nodeType)return!1;return!0},parent:function(e){return!re.pseudos.empty(e)},header:function(e){return G.test(e.nodeName)},input:function(e){return K.test(e.nodeName)},button:function(e){var t=e.nodeName.toLowerCase();return'input'===t&&'button'===e.type||'button'===t},text:function(e){var t;return'input'===e.nodeName.toLowerCase()&&'text'===e.type&&(null==(t=e.getAttribute('type'))||'text'===t.toLowerCase())},first:c(function(){return[0]}),last:c(function(e,t){return[t-1]}),eq:c(function(e,t,n){return[0>n?n+t:n]}),even:c(function(e,t){for(var n=0;n<t;n+=2)e.push(n);return e}),odd:c(function(e,t){for(var n=1;n<t;n+=2)e.push(n);return e}),lt:c(function(e,t,n){for(var a=0>n?n+t:n;0<=--a;)e.push(a);return e}),gt:c(function(e,t,n){for(var a=0>n?n+t:n;++a<t;)e.push(a);return e})}},re.pseudos.nth=re.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})re.pseudos[ie]=d(ie);for(ie in{submit:!0,reset:!0})re.pseudos[ie]=l(ie);return h.prototype=re.filters=re.pseudos,re.setFilters=new h,le=t.tokenize=function(e,n){var a=S[e+' '],o,i,s,r,d,l,p;if(a)return n?0:a.slice(0);for(d=e,l=[],p=re.preFilter;d;){for(r in(!o||(i=z.exec(d)))&&(i&&(d=d.slice(i[0].length)||d),l.push(s=[])),o=!1,(i=F.exec(d))&&(o=i.shift(),s.push({value:o,type:i[0].replace(W,' ')}),d=d.slice(o.length)),re.filter)(i=V[r].exec(d))&&(!p[r]||(i=p[r](i)))&&(o=i.shift(),s.push({value:o,type:r,matches:i}),d=d.slice(o.length));if(!o)break}return n?d.length:d?t.error(e):S(e,l).slice(0)},pe=t.compile=function(e,t){var n=[],a=[],o=A[e+' '],s;if(!o){for(t||(t=le(e)),s=t.length;s--;)o=v(t[s]),o[T]?n.push(o):a.push(o);o=A(e,w(a,n)),o.selector=e}return o},ce=t.select=function(e,t,n,a){var o='function'==typeof e&&e,s=!a&&le(e=o.selector||e),r,i,d,l,p;if(n=n||[],1===s.length){if(i=s[0]=s[0].slice(0),2<i.length&&'ID'===(d=i[0]).type&&9===t.nodeType&&xe&&re.relative[i[1].type]){if(t=(re.find.ID(d.matches[0].replace(Z,ee),t)||[])[0],!t)return n;o&&(t=t.parentNode),e=e.slice(i.shift().value.length)}for(r=V.needsContext.test(e)?0:i.length;r--&&(d=i[r],!re.relative[l=d.type]);)if((p=re.find[l])&&(a=p(d.matches[0].replace(Z,ee),J.test(i[0].type)&&u(t.parentNode)||t))){if(i.splice(r,1),e=a.length&&f(i),!e)return H.apply(n,a),n;break}}return(o||pe(e,s))(a,t,!xe,n,!t||J.test(e)&&u(t.parentNode)||t),n},se.sortStable=T.split('').sort(E).join('')===T,se.detectDuplicates=!!fe,me(),se.sortDetached=o(function(e){return 1&e.compareDocumentPosition(ge.createElement('fieldset'))}),o(function(e){return e.innerHTML='<a href=\'#\'></a>','#'===e.firstChild.getAttribute('href')})||s('type|href|height|width',function(e,t,n){if(!n)return e.getAttribute(t,'type'===t.toLowerCase()?1:2)}),se.attributes&&o(function(e){return e.innerHTML='<input/>',e.firstChild.setAttribute('value',''),''===e.firstChild.getAttribute('value')})||s('value',function(e,t,n){if(!n&&'input'===e.nodeName.toLowerCase())return e.defaultValue}),o(function(e){return null==e.getAttribute('disabled')})||s(I,function(e,t,n){var a;if(!n)return!0===e[t]?t.toLowerCase():(a=e.getAttributeNode(t))&&a.specified?a.value:null}),t}(r);Ae.find=De,Ae.expr=De.selectors,Ae.expr[':']=Ae.expr.pseudos,Ae.uniqueSort=Ae.unique=De.uniqueSort,Ae.text=De.getText,Ae.isXMLDoc=De.isXML,Ae.contains=De.contains,Ae.escapeSelector=De.escape;var Le=function(e,t,n){for(var a=[];(e=e[t])&&9!==e.nodeType;)if(1===e.nodeType){if(void 0!==n&&Ae(e).is(n))break;a.push(e)}return a},Oe=function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n},qe=Ae.expr.match.needsContext,He=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;Ae.filter=function(e,t,n){var a=t[0];return n&&(e=':not('+e+')'),1===t.length&&1===a.nodeType?Ae.find.matchesSelector(a,e)?[a]:[]:Ae.find.matches(e,Ae.grep(t,function(e){return 1===e.nodeType}))},Ae.fn.extend({find:function(e){var t=this.length,n=this,a,o;if('string'!=typeof e)return this.pushStack(Ae(e).filter(function(){for(a=0;a<t;a++)if(Ae.contains(n[a],this))return!0}));for(o=this.pushStack([]),a=0;a<t;a++)Ae.find(e,n[a],o);return 1<t?Ae.uniqueSort(o):o},filter:function(e){return this.pushStack(u(this,e||[],!1))},not:function(e){return this.pushStack(u(this,e||[],!0))},is:function(e){return!!u(this,'string'==typeof e&&qe.test(e)?Ae(e):e||[],!1).length}});var Me=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/,Pe=Ae.fn.init=function(e,t,n){var a,o;if(!e)return this;if(n=n||Ie,'string'==typeof e){if(a='<'===e[0]&&'>'===e[e.length-1]&&3<=e.length?[null,e,null]:Me.exec(e),a&&(a[1]||!t)){if(a[1]){if(t=t instanceof Ae?t[0]:t,Ae.merge(this,Ae.parseHTML(a[1],t&&t.nodeType?t.ownerDocument||t:ue,!0)),He.test(a[1])&&Ae.isPlainObject(t))for(a in t)ke(this[a])?this[a](t[a]):this.attr(a,t[a]);return this}return o=ue.getElementById(a[2]),o&&(this[0]=o,this.length=1),this}return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e)}return e.nodeType?(this[0]=e,this.length=1,this):ke(e)?void 0===n.ready?e(Ae):n.ready(e):Ae.makeArray(e,this)},Ie;Pe.prototype=Ae.fn,Ie=Ae(ue);var Be=/^(?:parents|prev(?:Until|All))/,_e={children:!0,contents:!0,next:!0,prev:!0};Ae.fn.extend({has:function(e){var t=Ae(e,this),n=t.length;return this.filter(function(){for(var e=0;e<n;e++)if(Ae.contains(this,t[e]))return!0})},closest:function(e,t){var n=0,a=this.length,o=[],i='string'!=typeof e&&Ae(e),s;if(!qe.test(e))for(;n<a;n++)for(s=this[n];s&&s!==t;s=s.parentNode)if(11>s.nodeType&&(i?-1<i.index(s):1===s.nodeType&&Ae.find.matchesSelector(s,e))){o.push(s);break}return this.pushStack(1<o.length?Ae.uniqueSort(o):o)},index:function(e){return e?'string'==typeof e?ye.call(Ae(e),this[0]):ye.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(Ae.uniqueSort(Ae.merge(this.get(),Ae(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),Ae.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return Le(e,'parentNode')},parentsUntil:function(e,t,n){return Le(e,'parentNode',n)},next:function(e){return h(e,'nextSibling')},prev:function(e){return h(e,'previousSibling')},nextAll:function(e){return Le(e,'nextSibling')},prevAll:function(e){return Le(e,'previousSibling')},nextUntil:function(e,t,n){return Le(e,'nextSibling',n)},prevUntil:function(e,t,n){return Le(e,'previousSibling',n)},siblings:function(e){return Oe((e.parentNode||{}).firstChild,e)},children:function(e){return Oe(e.firstChild)},contents:function(e){return c(e,'iframe')?e.contentDocument:(c(e,'template')&&(e=e.content||e),Ae.merge([],e.childNodes))}},function(e,t){Ae.fn[e]=function(n,a){var o=Ae.map(this,t,n);return'Until'!==e.slice(-5)&&(a=n),a&&'string'==typeof a&&(o=Ae.filter(a,o)),1<this.length&&(!_e[e]&&Ae.uniqueSort(o),Be.test(e)&&o.reverse()),this.pushStack(o)}});var Re=/[^\x20\t\r\n\f]+/g;Ae.Callbacks=function(e){e='string'==typeof e?f(e):Ae.extend({},e);var t=[],n=[],a=-1,o=function(){for(l=l||e.once,d=s=!0;n.length;a=-1)for(r=n.shift();++a<t.length;)!1===t[a].apply(r[0],r[1])&&e.stopOnFalse&&(a=t.length,r=!1);e.memory||(r=!1),s=!1,l&&(r?t=[]:t='')},i={add:function(){return t&&(r&&!s&&(a=t.length-1,n.push(r)),function n(a){Ae.each(a,function(a,o){ke(o)?(!e.unique||!i.has(o))&&t.push(o):o&&o.length&&'string'!==p(o)&&n(o)})}(arguments),r&&!s&&o()),this},remove:function(){return Ae.each(arguments,function(e,n){for(var o;-1<(o=Ae.inArray(n,t,o));)t.splice(o,1),o<=a&&a--}),this},has:function(e){return e?-1<Ae.inArray(e,t):0<t.length},empty:function(){return t&&(t=[]),this},disable:function(){return l=n=[],t=r='',this},disabled:function(){return!t},lock:function(){return l=n=[],r||s||(t=r=''),this},locked:function(){return!!l},fireWith:function(e,t){return l||(t=t||[],t=[e,t.slice?t.slice():t],n.push(t),!s&&o()),this},fire:function(){return i.fireWith(this,arguments),this},fired:function(){return!!d}},s,r,d,l;return i},Ae.extend({Deferred:function(e){var t=[['notify','progress',Ae.Callbacks('memory'),Ae.Callbacks('memory'),2],['resolve','done',Ae.Callbacks('once memory'),Ae.Callbacks('once memory'),0,'resolved'],['reject','fail',Ae.Callbacks('once memory'),Ae.Callbacks('once memory'),1,'rejected']],n='pending',a={state:function(){return n},always:function(){return o.done(arguments).fail(arguments),this},catch:function(e){return a.then(null,e)},pipe:function(){var e=arguments;return Ae.Deferred(function(n){Ae.each(t,function(t,a){var i=ke(e[a[4]])&&e[a[4]];o[a[1]](function(){var e=i&&i.apply(this,arguments);e&&ke(e.promise)?e.promise().progress(n.notify).done(n.resolve).fail(n.reject):n[a[0]+'With'](this,i?[e]:arguments)})}),e=null}).promise()},then:function(e,n,a){function o(t,n,a,e){return function(){var s=this,d=arguments,l=function(){var r,l;if(!(t<i)){if(r=a.apply(s,d),r===n.promise())throw new TypeError('Thenable self-resolution');l=r&&('object'==typeof r||'function'==typeof r)&&r.then,ke(l)?e?l.call(r,o(i,n,m,e),o(i,n,g,e)):(i++,l.call(r,o(i,n,m,e),o(i,n,g,e),o(i,n,m,n.notifyWith))):(a!==m&&(s=void 0,d=[r]),(e||n.resolveWith)(s,d))}},p=e?l:function(){try{l()}catch(o){Ae.Deferred.exceptionHook&&Ae.Deferred.exceptionHook(o,p.stackTrace),t+1>=i&&(a!==g&&(s=void 0,d=[o]),n.rejectWith(s,d))}};t?p():(Ae.Deferred.getStackHook&&(p.stackTrace=Ae.Deferred.getStackHook()),r.setTimeout(p))}}var i=0;return Ae.Deferred(function(i){t[0][3].add(o(0,i,ke(a)?a:m,i.notifyWith)),t[1][3].add(o(0,i,ke(e)?e:m)),t[2][3].add(o(0,i,ke(n)?n:g))}).promise()},promise:function(e){return null==e?a:Ae.extend(e,a)}},o={};return Ae.each(t,function(e,i){var s=i[2],r=i[5];a[i[1]]=s.add,r&&s.add(function(){n=r},t[3-e][2].disable,t[3-e][3].disable,t[0][2].lock,t[0][3].lock),s.add(i[3].fire),o[i[0]]=function(){return o[i[0]+'With'](this===o?void 0:this,arguments),this},o[i[0]+'With']=s.fireWith}),a.promise(o),e&&e.call(o,o),o},when:function(e){var t=arguments.length,n=t,a=Array(n),o=fe.call(arguments),s=Ae.Deferred(),i=function(e){return function(n){a[e]=this,o[e]=1<arguments.length?fe.call(arguments):n,--t||s.resolveWith(a,o)}};if(1>=t&&(y(e,s.done(i(n)).resolve,s.reject,!t),'pending'===s.state()||ke(o[n]&&o[n].then)))return s.then();for(;n--;)y(o[n],i(n),s.reject);return s.promise()}});var We=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;Ae.Deferred.exceptionHook=function(e,t){r.console&&r.console.warn&&e&&We.test(e.name)&&r.console.warn('jQuery.Deferred exception: '+e.message,e.stack,t)},Ae.readyException=function(e){r.setTimeout(function(){throw e})};var ze=Ae.Deferred();Ae.fn.ready=function(e){return ze.then(e).catch(function(e){Ae.readyException(e)}),this},Ae.extend({isReady:!1,readyWait:1,ready:function(e){(!0===e?! --Ae.readyWait:!Ae.isReady)&&(Ae.isReady=!0,!0!==e&&0<--Ae.readyWait||ze.resolveWith(ue,[Ae]))}}),Ae.ready.then=ze.then,'complete'!==ue.readyState&&('loading'===ue.readyState||ue.documentElement.doScroll)?(ue.addEventListener('DOMContentLoaded',x),r.addEventListener('load',x)):r.setTimeout(Ae.ready);var Fe=function(e,t,n,a,o,s,r){var d=0,i=e.length,l=null==n;if('object'===p(n))for(d in o=!0,n)Fe(e,t,d,n[d],!0,s,r);else if(void 0!==a&&(o=!0,ke(a)||(r=!0),l&&(r?(t.call(e,a),t=null):(l=t,t=function(e,t,n){return l.call(Ae(e),n)})),t))for(;d<i;d++)t(e[d],n,r?a:a.call(e[d],d,t(e[d],n)));return o?e:l?t.call(e):i?t(e[0],n):s},Ue=/^-ms-/,Xe=/-([a-z])/g,$e=function(e){return 1===e.nodeType||9===e.nodeType||!+e.nodeType};w.uid=1,w.prototype={cache:function(e){var t=e[this.expando];return t||(t={},$e(e)&&(e.nodeType?e[this.expando]=t:Object.defineProperty(e,this.expando,{value:t,configurable:!0}))),t},set:function(e,t,n){var a=this.cache(e),o;if('string'==typeof t)a[v(t)]=n;else for(o in t)a[v(o)]=t[o];return a},get:function(e,t){return void 0===t?this.cache(e):e[this.expando]&&e[this.expando][v(t)]},access:function(e,t,n){return void 0===t||t&&'string'==typeof t&&void 0===n?this.get(e,t):(this.set(e,t,n),void 0===n?t:n)},remove:function(e,t){var n=e[this.expando],a;if(void 0!==n){if(void 0!==t)for(Array.isArray(t)?t=t.map(v):(t=v(t),t=(t in n)?[t]:t.match(Re)||[]),a=t.length;a--;)delete n[t[a]];(void 0===t||Ae.isEmptyObject(n))&&(e.nodeType?e[this.expando]=void 0:delete e[this.expando])}},hasData:function(e){var t=e[this.expando];return void 0!==t&&!Ae.isEmptyObject(t)}};var Ve=new w,Ke=new w,Ge=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,Ye=/[A-Z]/g;Ae.extend({hasData:function(e){return Ke.hasData(e)||Ve.hasData(e)},data:function(e,t,n){return Ke.access(e,t,n)},removeData:function(e,t){Ke.remove(e,t)},_data:function(e,t,n){return Ve.access(e,t,n)},_removeData:function(e,t){Ve.remove(e,t)}}),Ae.fn.extend({data:function(e,t){var n=this[0],a=n&&n.attributes,o,i,s;if(void 0===e){if(this.length&&(s=Ke.get(n),1===n.nodeType&&!Ve.get(n,'hasDataAttrs'))){for(o=a.length;o--;)a[o]&&(i=a[o].name,0===i.indexOf('data-')&&(i=v(i.slice(5)),C(n,i,s[i])));Ve.set(n,'hasDataAttrs',!0)}return s}return'object'==typeof e?this.each(function(){Ke.set(this,e)}):Fe(this,function(t){var a;return n&&void 0===t?(a=Ke.get(n,e),void 0!==a)?a:(a=C(n,e),void 0===a?void 0:a):void this.each(function(){Ke.set(this,e,t)})},null,t,1<arguments.length,null,!0)},removeData:function(e){return this.each(function(){Ke.remove(this,e)})}}),Ae.extend({queue:function(e,t,n){var a;if(e)return t=(t||'fx')+'queue',a=Ve.get(e,t),n&&(!a||Array.isArray(n)?a=Ve.access(e,t,Ae.makeArray(n)):a.push(n)),a||[]},dequeue:function(e,t){t=t||'fx';var n=Ae.queue(e,t),a=n.length,o=n.shift(),i=Ae._queueHooks(e,t),s=function(){Ae.dequeue(e,t)};'inprogress'===o&&(o=n.shift(),a--),o&&('fx'===t&&n.unshift('inprogress'),delete i.stop,o.call(e,s,i)),!a&&i&&i.empty.fire()},_queueHooks:function(e,t){var n=t+'queueHooks';return Ve.get(e,n)||Ve.access(e,n,{empty:Ae.Callbacks('once memory').add(function(){Ve.remove(e,[t+'queue',n])})})}}),Ae.fn.extend({queue:function(e,t){var n=2;return'string'!=typeof e&&(t=e,e='fx',n--),arguments.length<n?Ae.queue(this[0],e):void 0===t?this:this.each(function(){var n=Ae.queue(this,e,t);Ae._queueHooks(this,e),'fx'===e&&'inprogress'!==n[0]&&Ae.dequeue(this,e)})},dequeue:function(e){return this.each(function(){Ae.dequeue(this,e)})},clearQueue:function(e){return this.queue(e||'fx',[])},promise:function(e,t){var n=1,a=Ae.Deferred(),o=this,s=this.length,i=function(){--n||a.resolveWith(o,[o])},r;for('string'!=typeof e&&(t=e,e=void 0),e=e||'fx';s--;)r=Ve.get(o[s],e+'queueHooks'),r&&r.empty&&(n++,r.empty.add(i));return i(),a.promise(t)}});var Qe=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,Je=new RegExp('^(?:([+-])=|)('+Qe+')([a-z%]*)$','i'),Ze=['Top','Right','Bottom','Left'],et=function(e,t){return e=t||e,'none'===e.style.display||''===e.style.display&&Ae.contains(e.ownerDocument,e)&&'none'===Ae.css(e,'display')},tt=function(e,t,n,a){var o={},i,s;for(s in t)o[s]=e.style[s],e.style[s]=t[s];for(s in i=n.apply(e,a||[]),t)e.style[s]=o[s];return i},nt={};Ae.fn.extend({show:function(){return N(this,!0)},hide:function(){return N(this)},toggle:function(e){return'boolean'==typeof e?e?this.show():this.hide():this.each(function(){et(this)?Ae(this).show():Ae(this).hide()})}});var at=/^(?:checkbox|radio)$/i,ot=/<([a-z][^\/\0>\x20\t\r\n\f]+)/i,it=/^$|^module$|\/(?:java|ecma)script/i,st={option:[1,'<select multiple=\'multiple\'>','</select>'],thead:[1,'<table>','</table>'],col:[2,'<table><colgroup>','</colgroup></table>'],tr:[2,'<table><tbody>','</tbody></table>'],td:[3,'<table><tbody><tr>','</tr></tbody></table>'],_default:[0,'','']};st.optgroup=st.option,st.tbody=st.tfoot=st.colgroup=st.caption=st.thead,st.th=st.td;var rt=/<|&#?\w+;/;(function(){var e=ue.createDocumentFragment(),t=e.appendChild(ue.createElement('div')),n=ue.createElement('input');n.setAttribute('type','radio'),n.setAttribute('checked','checked'),n.setAttribute('name','t'),t.appendChild(n),Ce.checkClone=t.cloneNode(!0).cloneNode(!0).lastChild.checked,t.innerHTML='<textarea>x</textarea>',Ce.noCloneChecked=!!t.cloneNode(!0).lastChild.defaultValue})();var dt=ue.documentElement,lt=/^key/,pt=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,ct=/^([^.]*)(?:\.(.+)|)/;Ae.event={global:{},add:function(n,e,a,o,i){var s=Ve.get(n),r,d,l,p,c,t,u,h,f,m,g;if(s)for(a.handler&&(r=a,a=r.handler,i=r.selector),i&&Ae.find.matchesSelector(dt,i),a.guid||(a.guid=Ae.guid++),(p=s.events)||(p=s.events={}),(d=s.handle)||(d=s.handle=function(t){return'undefined'!=typeof Ae&&Ae.event.triggered!==t.type?Ae.event.dispatch.apply(n,arguments):void 0}),e=(e||'').match(Re)||[''],c=e.length;c--;)(l=ct.exec(e[c])||[],f=g=l[1],m=(l[2]||'').split('.').sort(),!!f)&&(u=Ae.event.special[f]||{},f=(i?u.delegateType:u.bindType)||f,u=Ae.event.special[f]||{},t=Ae.extend({type:f,origType:g,data:o,handler:a,guid:a.guid,selector:i,needsContext:i&&Ae.expr.match.needsContext.test(i),namespace:m.join('.')},r),(h=p[f])||(h=p[f]=[],h.delegateCount=0,(!u.setup||!1===u.setup.call(n,o,m,d))&&n.addEventListener&&n.addEventListener(f,d)),u.add&&(u.add.call(n,t),!t.handler.guid&&(t.handler.guid=a.guid)),i?h.splice(h.delegateCount++,0,t):h.push(t),Ae.event.global[f]=!0)},remove:function(e,n,a,o,i){var s=Ve.hasData(e)&&Ve.get(e),r,d,l,p,c,t,u,h,f,m,g;if(s&&(p=s.events)){for(n=(n||'').match(Re)||[''],c=n.length;c--;){if(l=ct.exec(n[c])||[],f=g=l[1],m=(l[2]||'').split('.').sort(),!f){for(f in p)Ae.event.remove(e,f+n[c],a,o,!0);continue}for(u=Ae.event.special[f]||{},f=(o?u.delegateType:u.bindType)||f,h=p[f]||[],l=l[2]&&new RegExp('(^|\\.)'+m.join('\\.(?:.*\\.|)')+'(\\.|$)'),d=r=h.length;r--;)t=h[r],(i||g===t.origType)&&(!a||a.guid===t.guid)&&(!l||l.test(t.namespace))&&(!o||o===t.selector||'**'===o&&t.selector)&&(h.splice(r,1),t.selector&&h.delegateCount--,u.remove&&u.remove.call(e,t));d&&!h.length&&((!u.teardown||!1===u.teardown.call(e,m,s.handle))&&Ae.removeEvent(e,f,s.handle),delete p[f])}Ae.isEmptyObject(p)&&Ve.remove(e,'handle events')}},dispatch:function(e){var t=Ae.event.fix(e),n=Array(arguments.length),a=(Ve.get(this,'events')||{})[t.type]||[],o=Ae.event.special[t.type]||{},s,i,r,d,l,p;for(n[0]=t,s=1;s<arguments.length;s++)n[s]=arguments[s];if(t.delegateTarget=this,!(o.preDispatch&&!1===o.preDispatch.call(this,t))){for(p=Ae.event.handlers.call(this,t,a),s=0;(d=p[s++])&&!t.isPropagationStopped();)for(t.currentTarget=d.elem,i=0;(l=d.handlers[i++])&&!t.isImmediatePropagationStopped();)(!t.rnamespace||t.rnamespace.test(l.namespace))&&(t.handleObj=l,t.data=l.data,r=((Ae.event.special[l.origType]||{}).handle||l.handler).apply(d.elem,n),void 0!==r&&!1===(t.result=r)&&(t.preventDefault(),t.stopPropagation()));return o.postDispatch&&o.postDispatch.call(this,t),t.result}},handlers:function(e,t){var n=[],a=t.delegateCount,o=e.target,s,i,r,d,l;if(a&&o.nodeType&&!('click'===e.type&&1<=e.button))for(;o!==this;o=o.parentNode||this)if(1===o.nodeType&&('click'!==e.type||!0!==o.disabled)){for(d=[],l={},s=0;s<a;s++)i=t[s],r=i.selector+' ',void 0===l[r]&&(l[r]=i.needsContext?-1<Ae(r,this).index(o):Ae.find(r,this,null,[o]).length),l[r]&&d.push(i);d.length&&n.push({elem:o,handlers:d})}return o=this,a<t.length&&n.push({elem:o,handlers:t.slice(a)}),n},addProp:function(e,t){Object.defineProperty(Ae.Event.prototype,e,{enumerable:!0,configurable:!0,get:ke(t)?function(){if(this.originalEvent)return t(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[e]},set:function(t){Object.defineProperty(this,e,{enumerable:!0,configurable:!0,writable:!0,value:t})}})},fix:function(e){return e[Ae.expando]?e:new Ae.Event(e)},special:{load:{noBubble:!0},focus:{trigger:function(){if(this!==O()&&this.focus)return this.focus(),!1},delegateType:'focusin'},blur:{trigger:function(){if(this===O()&&this.blur)return this.blur(),!1},delegateType:'focusout'},click:{trigger:function(){if('checkbox'===this.type&&this.click&&c(this,'input'))return this.click(),!1},_default:function(e){return c(e.target,'a')}},beforeunload:{postDispatch:function(e){void 0!==e.result&&e.originalEvent&&(e.originalEvent.returnValue=e.result)}}}},Ae.removeEvent=function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n)},Ae.Event=function(e,t){return this instanceof Ae.Event?void(e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||void 0===e.defaultPrevented&&!1===e.returnValue?D:L,this.target=e.target&&3===e.target.nodeType?e.target.parentNode:e.target,this.currentTarget=e.currentTarget,this.relatedTarget=e.relatedTarget):this.type=e,t&&Ae.extend(this,t),this.timeStamp=e&&e.timeStamp||Date.now(),this[Ae.expando]=!0):new Ae.Event(e,t)},Ae.Event.prototype={constructor:Ae.Event,isDefaultPrevented:L,isPropagationStopped:L,isImmediatePropagationStopped:L,isSimulated:!1,preventDefault:function(){var t=this.originalEvent;this.isDefaultPrevented=D,t&&!this.isSimulated&&t.preventDefault()},stopPropagation:function(){var t=this.originalEvent;this.isPropagationStopped=D,t&&!this.isSimulated&&t.stopPropagation()},stopImmediatePropagation:function(){var t=this.originalEvent;this.isImmediatePropagationStopped=D,t&&!this.isSimulated&&t.stopImmediatePropagation(),this.stopPropagation()}},Ae.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,char:!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:function(e){var t=e.button;return null==e.which&<.test(e.type)?null==e.charCode?e.keyCode:e.charCode:!e.which&&void 0!==t&&pt.test(e.type)?1&t?1:2&t?3:4&t?2:0:e.which}},Ae.event.addProp),Ae.each({mouseenter:'mouseover',mouseleave:'mouseout',pointerenter:'pointerover',pointerleave:'pointerout'},function(e,t){Ae.event.special[e]={delegateType:t,bindType:t,handle:function(e){var n=this,a=e.relatedTarget,o=e.handleObj,i;return a&&(a===n||Ae.contains(n,a))||(e.type=o.origType,i=o.handler.apply(this,arguments),e.type=t),i}}}),Ae.fn.extend({on:function(e,t,n,a){return q(this,e,t,n,a)},one:function(e,t,n,a){return q(this,e,t,n,a,1)},off:function(e,t,n){var a,o;if(e&&e.preventDefault&&e.handleObj)return a=e.handleObj,Ae(e.delegateTarget).off(a.namespace?a.origType+'.'+a.namespace:a.origType,a.selector,a.handler),this;if('object'==typeof e){for(o in e)this.off(o,t,e[o]);return this}return(!1===t||'function'==typeof t)&&(n=t,t=void 0),!1===n&&(n=L),this.each(function(){Ae.event.remove(this,e,n,t)})}});var ut=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([a-z][^\/\0>\x20\t\r\n\f]*)[^>]*)\/>/gi,ht=/<script|<style|<link/i,ft=/checked\s*(?:[^=]|=\s*.checked.)/i,mt=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g;Ae.extend({htmlPrefilter:function(e){return e.replace(ut,'<$1></$2>')},clone:function(e,t,n){var a=e.cloneNode(!0),o=Ae.contains(e.ownerDocument,e),s,i,r,d;if(!Ce.noCloneChecked&&(1===e.nodeType||11===e.nodeType)&&!Ae.isXMLDoc(e))for(d=S(a),r=S(e),(s=0,i=r.length);s<i;s++)B(r[s],d[s]);if(t)if(n)for(r=r||S(e),d=d||S(a),(s=0,i=r.length);s<i;s++)I(r[s],d[s]);else I(e,a);return d=S(a,'script'),0<d.length&&A(d,!o&&S(e,'script')),a},cleanData:function(e){for(var t=Ae.event.special,n=0,a,o,i;void 0!==(o=e[n]);n++)if($e(o)){if(a=o[Ve.expando]){if(a.events)for(i in a.events)t[i]?Ae.event.remove(o,i):Ae.removeEvent(o,i,a.handle);o[Ve.expando]=void 0}o[Ke.expando]&&(o[Ke.expando]=void 0)}}}),Ae.fn.extend({detach:function(e){return R(this,e,!0)},remove:function(e){return R(this,e)},text:function(e){return Fe(this,function(e){return void 0===e?Ae.text(this):this.empty().each(function(){(1===this.nodeType||11===this.nodeType||9===this.nodeType)&&(this.textContent=e)})},null,e,arguments.length)},append:function(){return _(this,arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=H(this,e);t.appendChild(e)}})},prepend:function(){return _(this,arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=H(this,e);t.insertBefore(e,t.firstChild)}})},before:function(){return _(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return _(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)})},empty:function(){for(var e=0,t;null!=(t=this[e]);e++)1===t.nodeType&&(Ae.cleanData(S(t,!1)),t.textContent='');return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map(function(){return Ae.clone(this,e,t)})},html:function(e){return Fe(this,function(e){var t=this[0]||{},n=0,a=this.length;if(void 0===e&&1===t.nodeType)return t.innerHTML;if('string'==typeof e&&!ht.test(e)&&!st[(ot.exec(e)||['',''])[1].toLowerCase()]){e=Ae.htmlPrefilter(e);try{for(;n<a;n++)t=this[n]||{},1===t.nodeType&&(Ae.cleanData(S(t,!1)),t.innerHTML=e);t=0}catch(t){}}t&&this.empty().append(e)},null,e,arguments.length)},replaceWith:function(){var e=[];return _(this,arguments,function(t){var n=this.parentNode;0>Ae.inArray(this,e)&&(Ae.cleanData(S(this)),n&&n.replaceChild(t,this))},e)}}),Ae.each({appendTo:'append',prependTo:'prepend',insertBefore:'before',insertAfter:'after',replaceAll:'replaceWith'},function(e,t){Ae.fn[e]=function(e){for(var n=[],a=Ae(e),o=a.length-1,s=0,i;s<=o;s++)i=s===o?this:this.clone(!0),Ae(a[s])[t](i),ge.apply(n,i.get());return this.pushStack(n)}});var gt=new RegExp('^('+Qe+')(?!px)[a-z%]+$','i'),yt=function(e){var t=e.ownerDocument.defaultView;return t&&t.opener||(t=r),t.getComputedStyle(e)},xt=new RegExp(Ze.join('|'),'i');(function(){function e(){if(a){n.style.cssText='position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0',a.style.cssText='position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%',dt.appendChild(n).appendChild(a);var e=r.getComputedStyle(a);o='1%'!==e.top,l=12===t(e.marginLeft),a.style.right='60%',d=36===t(e.right),i=36===t(e.width),a.style.position='absolute',s=36===a.offsetWidth||'absolute',dt.removeChild(n),a=null}}function t(e){return Math.round(parseFloat(e))}var n=ue.createElement('div'),a=ue.createElement('div'),o,i,s,d,l;a.style&&(a.style.backgroundClip='content-box',a.cloneNode(!0).style.backgroundClip='',Ce.clearCloneStyle='content-box'===a.style.backgroundClip,Ae.extend(Ce,{boxSizingReliable:function(){return e(),i},pixelBoxStyles:function(){return e(),d},pixelPosition:function(){return e(),o},reliableMarginLeft:function(){return e(),l},scrollboxSize:function(){return e(),s}}))})();var bt=/^(none|table(?!-c[ea]).+)/,vt=/^--/,wt={position:'absolute',visibility:'hidden',display:'block'},Tt={letterSpacing:'0',fontWeight:'400'},Ct=['Webkit','Moz','ms'],kt=ue.createElement('div').style;Ae.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=W(e,'opacity');return''===n?'1':n}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{},style:function(e,t,n,a){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var o=v(t),i=vt.test(t),s=e.style,r,d,l;if(i||(t=U(o)),l=Ae.cssHooks[t]||Ae.cssHooks[o],void 0!==n){if(d=typeof n,'string'===d&&(r=Je.exec(n))&&r[1]&&(n=k(e,t,r),d='number'),null==n||n!==n)return;'number'===d&&(n+=r&&r[3]||(Ae.cssNumber[o]?'':'px')),Ce.clearCloneStyle||''!==n||0!==t.indexOf('background')||(s[t]='inherit'),l&&'set'in l&&void 0===(n=l.set(e,n,a))||(i?s.setProperty(t,n):s[t]=n)}else return l&&'get'in l&&void 0!==(r=l.get(e,!1,a))?r:s[t]}},css:function(e,t,n,a){var o=v(t),i=vt.test(t),s,r,d;return i||(t=U(o)),d=Ae.cssHooks[t]||Ae.cssHooks[o],d&&'get'in d&&(s=d.get(e,!0,n)),void 0===s&&(s=W(e,t,a)),'normal'===s&&t in Tt&&(s=Tt[t]),''===n||n?(r=parseFloat(s),!0===n||isFinite(r)?r||0:s):s}}),Ae.each(['height','width'],function(e,t){Ae.cssHooks[t]={get:function(e,n,a){if(n)return!bt.test(Ae.css(e,'display'))||e.getClientRects().length&&e.getBoundingClientRect().width?V(e,t,a):tt(e,wt,function(){return V(e,t,a)})},set:function(e,a,o){var i=yt(e),s='border-box'===Ae.css(e,'boxSizing',!1,i),r=o&&$(e,t,o,s,i),d;return s&&Ce.scrollboxSize()===i.position&&(r-=n(e['offset'+t[0].toUpperCase()+t.slice(1)]-parseFloat(i[t])-$(e,t,'border',!1,i)-.5)),r&&(d=Je.exec(a))&&'px'!==(d[3]||'px')&&(e.style[t]=a,a=Ae.css(e,t)),X(e,a,r)}}}),Ae.cssHooks.marginLeft=z(Ce.reliableMarginLeft,function(e,t){if(t)return(parseFloat(W(e,'marginLeft'))||e.getBoundingClientRect().left-tt(e,{marginLeft:0},function(){return e.getBoundingClientRect().left}))+'px'}),Ae.each({margin:'',padding:'',border:'Width'},function(e,t){Ae.cssHooks[e+t]={expand:function(n){for(var a=0,o={},i='string'==typeof n?n.split(' '):[n];4>a;a++)o[e+Ze[a]+t]=i[a]||i[a-2]||i[0];return o}},'margin'!==e&&(Ae.cssHooks[e+t].set=X)}),Ae.fn.extend({css:function(e,t){return Fe(this,function(e,t,n){var a={},o=0,i,s;if(Array.isArray(t)){for(i=yt(e),s=t.length;o<s;o++)a[t[o]]=Ae.css(e,t[o],!1,i);return a}return void 0===n?Ae.css(e,t):Ae.style(e,t,n)},e,t,1<arguments.length)}}),Ae.Tween=K,K.prototype={constructor:K,init:function(e,t,n,a,o,i){this.elem=e,this.prop=n,this.easing=o||Ae.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=a,this.unit=i||(Ae.cssNumber[n]?'':'px')},cur:function(){var e=K.propHooks[this.prop];return e&&e.get?e.get(this):K.propHooks._default.get(this)},run:function(e){var t=K.propHooks[this.prop],n;return this.pos=this.options.duration?n=Ae.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):n=e,this.now=(this.end-this.start)*n+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),t&&t.set?t.set(this):K.propHooks._default.set(this),this}},K.prototype.init.prototype=K.prototype,K.propHooks={_default:{get:function(e){var t;return 1!==e.elem.nodeType||null!=e.elem[e.prop]&&null==e.elem.style[e.prop]?e.elem[e.prop]:(t=Ae.css(e.elem,e.prop,''),t&&'auto'!==t?t:0)},set:function(e){Ae.fx.step[e.prop]?Ae.fx.step[e.prop](e):1===e.elem.nodeType&&(null!=e.elem.style[Ae.cssProps[e.prop]]||Ae.cssHooks[e.prop])?Ae.style(e.elem,e.prop,e.now+e.unit):e.elem[e.prop]=e.now}}},K.propHooks.scrollTop=K.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},Ae.easing={linear:function(e){return e},swing:function(e){return .5-Math.cos(e*Math.PI)/2},_default:'swing'},Ae.fx=K.prototype.init,Ae.fx.step={};var jt=/^(?:toggle|show|hide)$/,Nt=/queueHooks$/,St,At;Ae.Animation=Ae.extend(te,{tweeners:{"*":[function(e,t){var n=this.createTween(e,t);return k(n.elem,e,Je.exec(t),n),n}]},tweener:function(e,t){ke(e)?(t=e,e=['*']):e=e.match(Re);for(var n=0,a=e.length,o;n<a;n++)o=e[n],te.tweeners[o]=te.tweeners[o]||[],te.tweeners[o].unshift(t)},prefilters:[Z],prefilter:function(e,t){t?te.prefilters.unshift(e):te.prefilters.push(e)}}),Ae.speed=function(e,t,n){var a=e&&'object'==typeof e?Ae.extend({},e):{complete:n||!n&&t||ke(e)&&e,duration:e,easing:n&&t||t&&!ke(t)&&t};return Ae.fx.off?a.duration=0:'number'!=typeof a.duration&&(a.duration in Ae.fx.speeds?a.duration=Ae.fx.speeds[a.duration]:a.duration=Ae.fx.speeds._default),(null==a.queue||!0===a.queue)&&(a.queue='fx'),a.old=a.complete,a.complete=function(){ke(a.old)&&a.old.call(this),a.queue&&Ae.dequeue(this,a.queue)},a},Ae.fn.extend({fadeTo:function(e,t,n,a){return this.filter(et).css('opacity',0).show().end().animate({opacity:t},e,n,a)},animate:function(e,t,n,a){var o=Ae.isEmptyObject(e),i=Ae.speed(t,n,a),s=function(){var t=te(this,Ae.extend({},e),i);(o||Ve.get(this,'finish'))&&t.stop(!0)};return s.finish=s,o||!1===i.queue?this.each(s):this.queue(i.queue,s)},stop:function(e,t,n){var a=function(e){var t=e.stop;delete e.stop,t(n)};return'string'!=typeof e&&(n=t,t=e,e=void 0),t&&!1!==e&&this.queue(e||'fx',[]),this.each(function(){var t=!0,o=null!=e&&e+'queueHooks',i=Ae.timers,s=Ve.get(this);if(o)s[o]&&s[o].stop&&a(s[o]);else for(o in s)s[o]&&s[o].stop&&Nt.test(o)&&a(s[o]);for(o=i.length;o--;)i[o].elem===this&&(null==e||i[o].queue===e)&&(i[o].anim.stop(n),t=!1,i.splice(o,1));(t||!n)&&Ae.dequeue(this,e)})},finish:function(e){return!1!==e&&(e=e||'fx'),this.each(function(){var t=Ve.get(this),n=t[e+'queue'],a=t[e+'queueHooks'],o=Ae.timers,i=n?n.length:0,s;for(t.finish=!0,Ae.queue(this,e,[]),a&&a.stop&&a.stop.call(this,!0),s=o.length;s--;)o[s].elem===this&&o[s].queue===e&&(o[s].anim.stop(!0),o.splice(s,1));for(s=0;s<i;s++)n[s]&&n[s].finish&&n[s].finish.call(this);delete t.finish})}}),Ae.each(['toggle','show','hide'],function(e,t){var n=Ae.fn[t];Ae.fn[t]=function(e,a,o){return null==e||'boolean'==typeof e?n.apply(this,arguments):this.animate(Q(t,!0),e,a,o)}}),Ae.each({slideDown:Q('show'),slideUp:Q('hide'),slideToggle:Q('toggle'),fadeIn:{opacity:'show'},fadeOut:{opacity:'hide'},fadeToggle:{opacity:'toggle'}},function(e,t){Ae.fn[e]=function(e,n,a){return this.animate(t,e,n,a)}}),Ae.timers=[],Ae.fx.tick=function(){var e=0,t=Ae.timers,n;for(St=Date.now();e<t.length;e++)n=t[e],n()||t[e]!==n||t.splice(e--,1);t.length||Ae.fx.stop(),St=void 0},Ae.fx.timer=function(e){Ae.timers.push(e),Ae.fx.start()},Ae.fx.interval=13,Ae.fx.start=function(){At||(At=!0,G())},Ae.fx.stop=function(){At=null},Ae.fx.speeds={slow:600,fast:200,_default:400},Ae.fn.delay=function(e,t){return e=Ae.fx?Ae.fx.speeds[e]||e:e,t=t||'fx',this.queue(t,function(t,n){var a=r.setTimeout(t,e);n.stop=function(){r.clearTimeout(a)}})},function(){var e=ue.createElement('input'),t=ue.createElement('select'),n=t.appendChild(ue.createElement('option'));e.type='checkbox',Ce.checkOn=''!==e.value,Ce.optSelected=n.selected,e=ue.createElement('input'),e.value='t',e.type='radio',Ce.radioValue='t'===e.value}();var Et=Ae.expr.attrHandle,Dt;Ae.fn.extend({attr:function(e,t){return Fe(this,Ae.attr,e,t,1<arguments.length)},removeAttr:function(e){return this.each(function(){Ae.removeAttr(this,e)})}}),Ae.extend({attr:function(e,t,n){var a=e.nodeType,o,i;if(3!==a&&8!==a&&2!==a)return'undefined'==typeof e.getAttribute?Ae.prop(e,t,n):(1===a&&Ae.isXMLDoc(e)||(i=Ae.attrHooks[t.toLowerCase()]||(Ae.expr.match.bool.test(t)?Dt:void 0)),void 0!==n)?null===n?void Ae.removeAttr(e,t):i&&'set'in i&&void 0!==(o=i.set(e,n,t))?o:(e.setAttribute(t,n+''),n):i&&'get'in i&&null!==(o=i.get(e,t))?o:(o=Ae.find.attr(e,t),null==o?void 0:o)},attrHooks:{type:{set:function(e,t){if(!Ce.radioValue&&'radio'===t&&c(e,'input')){var n=e.value;return e.setAttribute('type',t),n&&(e.value=n),t}}}},removeAttr:function(e,t){var n=0,a=t&&t.match(Re),o;if(a&&1===e.nodeType)for(;o=a[n++];)e.removeAttribute(o)}}),Dt={set:function(e,t,n){return!1===t?Ae.removeAttr(e,n):e.setAttribute(n,n),n}},Ae.each(Ae.expr.match.bool.source.match(/\w+/g),function(e,t){var n=Et[t]||Ae.find.attr;Et[t]=function(e,t,a){var o=t.toLowerCase(),i,s;return a||(s=Et[o],Et[o]=i,i=null==n(e,t,a)?null:o,Et[o]=s),i}});var Lt=/^(?:input|select|textarea|button)$/i,Ot=/^(?:a|area)$/i;Ae.fn.extend({prop:function(e,t){return Fe(this,Ae.prop,e,t,1<arguments.length)},removeProp:function(e){return this.each(function(){delete this[Ae.propFix[e]||e]})}}),Ae.extend({prop:function(e,t,n){var a=e.nodeType,o,i;if(3!==a&&8!==a&&2!==a)return 1===a&&Ae.isXMLDoc(e)||(t=Ae.propFix[t]||t,i=Ae.propHooks[t]),void 0===n?i&&'get'in i&&null!==(o=i.get(e,t))?o:e[t]:i&&'set'in i&&void 0!==(o=i.set(e,n,t))?o:e[t]=n},propHooks:{tabIndex:{get:function(e){var t=Ae.find.attr(e,'tabindex');return t?parseInt(t,10):Lt.test(e.nodeName)||Ot.test(e.nodeName)&&e.href?0:-1}}},propFix:{for:'htmlFor',class:'className'}}),Ce.optSelected||(Ae.propHooks.selected={get:function(e){var t=e.parentNode;return t&&t.parentNode&&t.parentNode.selectedIndex,null},set:function(e){var t=e.parentNode;t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex)}}),Ae.each(['tabIndex','readOnly','maxLength','cellSpacing','cellPadding','rowSpan','colSpan','useMap','frameBorder','contentEditable'],function(){Ae.propFix[this.toLowerCase()]=this}),Ae.fn.extend({addClass:function(e){var t=0,n,a,o,i,s,r,d;if(ke(e))return this.each(function(t){Ae(this).addClass(e.call(this,t,ae(this)))});if(n=oe(e),n.length)for(;a=this[t++];)if(i=ae(a),o=1===a.nodeType&&' '+ne(i)+' ',o){for(r=0;s=n[r++];)0>o.indexOf(' '+s+' ')&&(o+=s+' ');d=ne(o),i!==d&&a.setAttribute('class',d)}return this},removeClass:function(e){var t=0,n,a,o,i,s,r,d;if(ke(e))return this.each(function(t){Ae(this).removeClass(e.call(this,t,ae(this)))});if(!arguments.length)return this.attr('class','');if(n=oe(e),n.length)for(;a=this[t++];)if(i=ae(a),o=1===a.nodeType&&' '+ne(i)+' ',o){for(r=0;s=n[r++];)for(;-1<o.indexOf(' '+s+' ');)o=o.replace(' '+s+' ',' ');d=ne(o),i!==d&&a.setAttribute('class',d)}return this},toggleClass:function(e,t){var n=typeof e,a='string'==n||Array.isArray(e);return'boolean'==typeof t&&a?t?this.addClass(e):this.removeClass(e):ke(e)?this.each(function(n){Ae(this).toggleClass(e.call(this,n,ae(this),t),t)}):this.each(function(){var t,o,i,s;if(a)for(o=0,i=Ae(this),s=oe(e);t=s[o++];)i.hasClass(t)?i.removeClass(t):i.addClass(t);else(void 0===e||'boolean'==n)&&(t=ae(this),t&&Ve.set(this,'__className__',t),this.setAttribute&&this.setAttribute('class',t||!1===e?'':Ve.get(this,'__className__')||''))})},hasClass:function(e){var t=0,n,a;for(n=' '+e+' ';a=this[t++];)if(1===a.nodeType&&-1<(' '+ne(ae(a))+' ').indexOf(n))return!0;return!1}});var qt=/\r/g;Ae.fn.extend({val:function(e){var t=this[0],n,a,o;return arguments.length?(o=ke(e),this.each(function(t){var a;1!==this.nodeType||(a=o?e.call(this,t,Ae(this).val()):e,null==a?a='':'number'==typeof a?a+='':Array.isArray(a)&&(a=Ae.map(a,function(e){return null==e?'':e+''})),n=Ae.valHooks[this.type]||Ae.valHooks[this.nodeName.toLowerCase()],(!n||!('set'in n)||void 0===n.set(this,a,'value'))&&(this.value=a))})):t?(n=Ae.valHooks[t.type]||Ae.valHooks[t.nodeName.toLowerCase()],n&&'get'in n&&void 0!==(a=n.get(t,'value')))?a:(a=t.value,'string'==typeof a?a.replace(qt,''):null==a?'':a):void 0}}),Ae.extend({valHooks:{option:{get:function(e){var t=Ae.find.attr(e,'value');return null==t?ne(Ae.text(e)):t}},select:{get:function(e){var t=e.options,n=e.selectedIndex,a='select-one'===e.type,o=a?null:[],s=a?n+1:t.length,r,d,l;for(l=0>n?s:a?n:0;l<s;l++)if(d=t[l],(d.selected||l===n)&&!d.disabled&&(!d.parentNode.disabled||!c(d.parentNode,'optgroup'))){if(r=Ae(d).val(),a)return r;o.push(r)}return o},set:function(e,t){for(var n=e.options,a=Ae.makeArray(t),o=n.length,i,s;o--;)s=n[o],(s.selected=-1<Ae.inArray(Ae.valHooks.option.get(s),a))&&(i=!0);return i||(e.selectedIndex=-1),a}}}}),Ae.each(['radio','checkbox'],function(){Ae.valHooks[this]={set:function(e,t){if(Array.isArray(t))return e.checked=-1<Ae.inArray(Ae(e).val(),t)}},Ce.checkOn||(Ae.valHooks[this].get=function(e){return null===e.getAttribute('value')?'on':e.value})}),Ce.focusin='onfocusin'in r;var Ht=/^(?:focusinfocus|focusoutblur)$/,Mt=function(t){t.stopPropagation()};Ae.extend(Ae.event,{trigger:function(e,t,n,a){var o=[n||ue],s=ve.call(e,'type')?e.type:e,d=ve.call(e,'namespace')?e.namespace.split('.'):[],l,i,p,c,u,h,f,m;if((i=m=p=n=n||ue,3!==n.nodeType&&8!==n.nodeType)&&!Ht.test(s+Ae.event.triggered)&&(-1<s.indexOf('.')&&(d=s.split('.'),s=d.shift(),d.sort()),u=0>s.indexOf(':')&&'on'+s,e=e[Ae.expando]?e:new Ae.Event(s,'object'==typeof e&&e),e.isTrigger=a?2:3,e.namespace=d.join('.'),e.rnamespace=e.namespace?new RegExp('(^|\\.)'+d.join('\\.(?:.*\\.|)')+'(\\.|$)'):null,e.result=void 0,e.target||(e.target=n),t=null==t?[e]:Ae.makeArray(t,[e]),f=Ae.event.special[s]||{},a||!f.trigger||!1!==f.trigger.apply(n,t))){if(!a&&!f.noBubble&&!je(n)){for(c=f.delegateType||s,Ht.test(c+s)||(i=i.parentNode);i;i=i.parentNode)o.push(i),p=i;p===(n.ownerDocument||ue)&&o.push(p.defaultView||p.parentWindow||r)}for(l=0;(i=o[l++])&&!e.isPropagationStopped();)m=i,e.type=1<l?c:f.bindType||s,h=(Ve.get(i,'events')||{})[e.type]&&Ve.get(i,'handle'),h&&h.apply(i,t),h=u&&i[u],h&&h.apply&&$e(i)&&(e.result=h.apply(i,t),!1===e.result&&e.preventDefault());return e.type=s,a||e.isDefaultPrevented()||f._default&&!1!==f._default.apply(o.pop(),t)||!$e(n)||!u||!ke(n[s])||je(n)||(p=n[u],p&&(n[u]=null),Ae.event.triggered=s,e.isPropagationStopped()&&m.addEventListener(s,Mt),n[s](),e.isPropagationStopped()&&m.removeEventListener(s,Mt),Ae.event.triggered=void 0,p&&(n[u]=p)),e.result}},simulate:function(t,n,a){var o=Ae.extend(new Ae.Event,a,{type:t,isSimulated:!0});Ae.event.trigger(o,null,n)}}),Ae.fn.extend({trigger:function(e,t){return this.each(function(){Ae.event.trigger(e,t,this)})},triggerHandler:function(e,t){var n=this[0];if(n)return Ae.event.trigger(e,t,n,!0)}}),Ce.focusin||Ae.each({focus:'focusin',blur:'focusout'},function(e,t){var n=function(e){Ae.event.simulate(t,e.target,Ae.event.fix(e))};Ae.event.special[t]={setup:function(){var a=this.ownerDocument||this,o=Ve.access(a,t);o||a.addEventListener(e,n,!0),Ve.access(a,t,(o||0)+1)},teardown:function(){var a=this.ownerDocument||this,o=Ve.access(a,t)-1;o?Ve.access(a,t,o):(a.removeEventListener(e,n,!0),Ve.remove(a,t))}}});var Pt=r.location,It=Date.now(),Bt=/\?/;Ae.parseXML=function(e){var t;if(!e||'string'!=typeof e)return null;try{t=new r.DOMParser().parseFromString(e,'text/xml')}catch(n){t=void 0}return(!t||t.getElementsByTagName('parsererror').length)&&Ae.error('Invalid XML: '+e),t};var _t=/\[\]$/,Rt=/\r?\n/g,Wt=/^(?:submit|button|image|reset|file)$/i,zt=/^(?:input|select|textarea|keygen)/i;Ae.param=function(e,t){var n=[],a=function(e,t){var a=ke(t)?t():t;n[n.length]=encodeURIComponent(e)+'='+encodeURIComponent(null==a?'':a)},o;if(Array.isArray(e)||e.jquery&&!Ae.isPlainObject(e))Ae.each(e,function(){a(this.name,this.value)});else for(o in e)ie(o,e[o],t,a);return n.join('&')},Ae.fn.extend({serialize:function(){return Ae.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var e=Ae.prop(this,'elements');return e?Ae.makeArray(e):this}).filter(function(){var e=this.type;return this.name&&!Ae(this).is(':disabled')&&zt.test(this.nodeName)&&!Wt.test(e)&&(this.checked||!at.test(e))}).map(function(e,t){var n=Ae(this).val();return null==n?null:Array.isArray(n)?Ae.map(n,function(e){return{name:t.name,value:e.replace(Rt,'\r\n')}}):{name:t.name,value:n.replace(Rt,'\r\n')}}).get()}});var Ft=/%20/g,Ut=/#.*$/,Xt=/([?&])_=[^&]*/,$t=/^(.*?):[ \t]*([^\r\n]*)$/mg,Vt=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,Kt=/^(?:GET|HEAD)$/,Gt=/^\/\//,Yt={},Qt={},Jt='*/'.concat('*'),Zt=ue.createElement('a');Zt.href=Pt.href,Ae.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:Pt.href,type:'GET',isLocal:Vt.test(Pt.protocol),global:!0,processData:!0,async:!0,contentType:'application/x-www-form-urlencoded; charset=UTF-8',accepts:{"*":Jt,text:'text/plain',html:'text/html',xml:'application/xml, text/xml',json:'application/json, text/javascript'},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:'responseXML',text:'responseText',json:'responseJSON'},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":Ae.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?de(de(e,Ae.ajaxSettings),t):de(Ae.ajaxSettings,e)},ajaxPrefilter:se(Yt),ajaxTransport:se(Qt),ajax:function(e,t){function n(e,t,n,i){var c=t,u,h,x,v,C;w||(w=!0,b&&r.clearTimeout(b),m=void 0,y=i||'',f.readyState=0<e?4:0,u=200<=e&&300>e||304===e,n&&(v=le(a,f,n)),v=pe(a,v,f,u),u?(a.ifModified&&(C=f.getResponseHeader('Last-Modified'),C&&(Ae.lastModified[g]=C),C=f.getResponseHeader('etag'),C&&(Ae.etag[g]=C)),204===e||'HEAD'===a.type?c='nocontent':304===e?c='notmodified':(c=v.state,h=v.data,x=v.error,u=!x)):(x=c,(e||!c)&&(c='error',0>e&&(e=0))),f.status=e,f.statusText=(t||c)+'',u?d.resolveWith(o,[h,c,f]):d.rejectWith(o,[f,c,x]),f.statusCode(p),p=void 0,T&&s.trigger(u?'ajaxSuccess':'ajaxError',[f,a,u?h:x]),l.fireWith(o,[f,c]),T&&(s.trigger('ajaxComplete',[f,a]),! --Ae.active&&Ae.event.trigger('ajaxStop')))}'object'==typeof e&&(t=e,e=void 0),t=t||{};var a=Ae.ajaxSetup({},t),o=a.context||a,s=a.context&&(o.nodeType||o.jquery)?Ae(o):Ae.event,d=Ae.Deferred(),l=Ae.Callbacks('once memory'),p=a.statusCode||{},c={},u={},h='canceled',f={readyState:0,getResponseHeader:function(e){var t;if(w){if(!x)for(x={};t=$t.exec(y);)x[t[1].toLowerCase()]=t[2];t=x[e.toLowerCase()]}return null==t?null:t},getAllResponseHeaders:function(){return w?y:null},setRequestHeader:function(e,t){return null==w&&(e=u[e.toLowerCase()]=u[e.toLowerCase()]||e,c[e]=t),this},overrideMimeType:function(e){return null==w&&(a.mimeType=e),this},statusCode:function(e){if(e)if(w)f.always(e[f.status]);else for(var t in e)p[t]=[p[t],e[t]];return this},abort:function(e){var t=e||h;return m&&m.abort(t),n(0,t),this}},m,g,y,x,b,v,w,T,C,i;if(d.promise(f),a.url=((e||a.url||Pt.href)+'').replace(Gt,Pt.protocol+'//'),a.type=t.method||t.type||a.method||a.type,a.dataTypes=(a.dataType||'*').toLowerCase().match(Re)||[''],null==a.crossDomain){v=ue.createElement('a');try{v.href=a.url,v.href=v.href,a.crossDomain=Zt.protocol+'//'+Zt.host!=v.protocol+'//'+v.host}catch(t){a.crossDomain=!0}}if(a.data&&a.processData&&'string'!=typeof a.data&&(a.data=Ae.param(a.data,a.traditional)),re(Yt,a,t,f),w)return f;for(C in T=Ae.event&&a.global,T&&0==Ae.active++&&Ae.event.trigger('ajaxStart'),a.type=a.type.toUpperCase(),a.hasContent=!Kt.test(a.type),g=a.url.replace(Ut,''),a.hasContent?a.data&&a.processData&&0===(a.contentType||'').indexOf('application/x-www-form-urlencoded')&&(a.data=a.data.replace(Ft,'+')):(i=a.url.slice(g.length),a.data&&(a.processData||'string'==typeof a.data)&&(g+=(Bt.test(g)?'&':'?')+a.data,delete a.data),!1===a.cache&&(g=g.replace(Xt,'$1'),i=(Bt.test(g)?'&':'?')+'_='+It++ +i),a.url=g+i),a.ifModified&&(Ae.lastModified[g]&&f.setRequestHeader('If-Modified-Since',Ae.lastModified[g]),Ae.etag[g]&&f.setRequestHeader('If-None-Match',Ae.etag[g])),(a.data&&a.hasContent&&!1!==a.contentType||t.contentType)&&f.setRequestHeader('Content-Type',a.contentType),f.setRequestHeader('Accept',a.dataTypes[0]&&a.accepts[a.dataTypes[0]]?a.accepts[a.dataTypes[0]]+('*'===a.dataTypes[0]?'':', '+Jt+'; q=0.01'):a.accepts['*']),a.headers)f.setRequestHeader(C,a.headers[C]);if(a.beforeSend&&(!1===a.beforeSend.call(o,f,a)||w))return f.abort();if(h='abort',l.add(a.complete),f.done(a.success),f.fail(a.error),m=re(Qt,a,t,f),!m)n(-1,'No Transport');else{if(f.readyState=1,T&&s.trigger('ajaxSend',[f,a]),w)return f;a.async&&0<a.timeout&&(b=r.setTimeout(function(){f.abort('timeout')},a.timeout));try{w=!1,m.send(c,n)}catch(t){if(w)throw t;n(-1,t)}}return f},getJSON:function(e,t,n){return Ae.get(e,t,n,'json')},getScript:function(e,t){return Ae.get(e,void 0,t,'script')}}),Ae.each(['get','post'],function(e,t){Ae[t]=function(e,n,a,o){return ke(n)&&(o=o||a,a=n,n=void 0),Ae.ajax(Ae.extend({url:e,type:t,dataType:o,data:n,success:a},Ae.isPlainObject(e)&&e))}}),Ae._evalUrl=function(e){return Ae.ajax({url:e,type:'GET',dataType:'script',cache:!0,async:!1,global:!1,throws:!0})},Ae.fn.extend({wrapAll:function(e){var t;return this[0]&&(ke(e)&&(e=e.call(this[0])),t=Ae(e,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){for(var e=this;e.firstElementChild;)e=e.firstElementChild;return e}).append(this)),this},wrapInner:function(e){return ke(e)?this.each(function(t){Ae(this).wrapInner(e.call(this,t))}):this.each(function(){var t=Ae(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)})},wrap:function(e){var t=ke(e);return this.each(function(n){Ae(this).wrapAll(t?e.call(this,n):e)})},unwrap:function(e){return this.parent(e).not('body').each(function(){Ae(this).replaceWith(this.childNodes)}),this}}),Ae.expr.pseudos.hidden=function(e){return!Ae.expr.pseudos.visible(e)},Ae.expr.pseudos.visible=function(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)},Ae.ajaxSettings.xhr=function(){try{return new r.XMLHttpRequest}catch(t){}};var en={0:200,1223:204},tn=Ae.ajaxSettings.xhr();Ce.cors=!!tn&&'withCredentials'in tn,Ce.ajax=tn=!!tn,Ae.ajaxTransport(function(e){var t,n;if(Ce.cors||tn&&!e.crossDomain)return{send:function(a,o){var s=e.xhr(),d;if(s.open(e.type,e.url,e.async,e.username,e.password),e.xhrFields)for(d in e.xhrFields)s[d]=e.xhrFields[d];for(d in e.mimeType&&s.overrideMimeType&&s.overrideMimeType(e.mimeType),e.crossDomain||a['X-Requested-With']||(a['X-Requested-With']='XMLHttpRequest'),a)s.setRequestHeader(d,a[d]);t=function(e){return function(){t&&(t=n=s.onload=s.onerror=s.onabort=s.ontimeout=s.onreadystatechange=null,'abort'===e?s.abort():'error'===e?'number'==typeof s.status?o(s.status,s.statusText):o(0,'error'):o(en[s.status]||s.status,s.statusText,'text'!==(s.responseType||'text')||'string'!=typeof s.responseText?{binary:s.response}:{text:s.responseText},s.getAllResponseHeaders()))}},s.onload=t(),n=s.onerror=s.ontimeout=t('error'),void 0===s.onabort?s.onreadystatechange=function(){4===s.readyState&&r.setTimeout(function(){t&&n()})}:s.onabort=n,t=t('abort');try{s.send(e.hasContent&&e.data||null)}catch(n){if(t)throw n}},abort:function(){t&&t()}}}),Ae.ajaxPrefilter(function(e){e.crossDomain&&(e.contents.script=!1)}),Ae.ajaxSetup({accepts:{script:'text/javascript, application/javascript, application/ecmascript, application/x-ecmascript'},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(e){return Ae.globalEval(e),e}}}),Ae.ajaxPrefilter('script',function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type='GET')}),Ae.ajaxTransport('script',function(e){if(e.crossDomain){var t,n;return{send:function(a,o){t=Ae('<script>').prop({charset:e.scriptCharset,src:e.url}).on('load error',n=function(e){t.remove(),n=null,e&&o('error'===e.type?404:200,e.type)}),ue.head.appendChild(t[0])},abort:function(){n&&n()}}}});var nn=[],an=/(=)\?(?=&|$)|\?\?/;Ae.ajaxSetup({jsonp:'callback',jsonpCallback:function(){var e=nn.pop()||Ae.expando+'_'+It++;return this[e]=!0,e}}),Ae.ajaxPrefilter('json jsonp',function(e,t,n){var a=!1!==e.jsonp&&(an.test(e.url)?'url':'string'==typeof e.data&&0===(e.contentType||'').indexOf('application/x-www-form-urlencoded')&&an.test(e.data)&&'data'),o,i,s;if(a||'jsonp'===e.dataTypes[0])return o=e.jsonpCallback=ke(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,a?e[a]=e[a].replace(an,'$1'+o):!1!==e.jsonp&&(e.url+=(Bt.test(e.url)?'&':'?')+e.jsonp+'='+o),e.converters['script json']=function(){return s||Ae.error(o+' was not called'),s[0]},e.dataTypes[0]='json',i=r[o],r[o]=function(){s=arguments},n.always(function(){void 0===i?Ae(r).removeProp(o):r[o]=i,e[o]&&(e.jsonpCallback=t.jsonpCallback,nn.push(o)),s&&ke(i)&&i(s[0]),s=i=void 0}),'script'}),Ce.createHTMLDocument=function(){var e=ue.implementation.createHTMLDocument('').body;return e.innerHTML='<form></form><form></form>',2===e.childNodes.length}(),Ae.parseHTML=function(e,t,n){if('string'!=typeof e)return[];'boolean'==typeof t&&(n=t,t=!1);var a,o,i;return(t||(Ce.createHTMLDocument?(t=ue.implementation.createHTMLDocument(''),a=t.createElement('base'),a.href=ue.location.href,t.head.appendChild(a)):t=ue),o=He.exec(e),i=!n&&[],o)?[t.createElement(o[1])]:(o=E([e],t,i),i&&i.length&&Ae(i).remove(),Ae.merge([],o.childNodes))},Ae.fn.load=function(e,t,n){var a=this,o=e.indexOf(' '),i,s,r;return-1<o&&(i=ne(e.slice(o)),e=e.slice(0,o)),ke(t)?(n=t,t=void 0):t&&'object'==typeof t&&(s='POST'),0<a.length&&Ae.ajax({url:e,type:s||'GET',dataType:'html',data:t}).done(function(e){r=arguments,a.html(i?Ae('<div>').append(Ae.parseHTML(e)).find(i):e)}).always(n&&function(e,t){a.each(function(){n.apply(this,r||[e.responseText,t,e])})}),this},Ae.each(['ajaxStart','ajaxStop','ajaxComplete','ajaxError','ajaxSuccess','ajaxSend'],function(e,t){Ae.fn[t]=function(e){return this.on(t,e)}}),Ae.expr.pseudos.animated=function(e){return Ae.grep(Ae.timers,function(t){return e===t.elem}).length},Ae.offset={setOffset:function(e,t,n){var a=Ae.css(e,'position'),o=Ae(e),i={},s,r,d,l,p,c,u;'static'===a&&(e.style.position='relative'),p=o.offset(),d=Ae.css(e,'top'),c=Ae.css(e,'left'),u=('absolute'===a||'fixed'===a)&&-1<(d+c).indexOf('auto'),u?(s=o.position(),l=s.top,r=s.left):(l=parseFloat(d)||0,r=parseFloat(c)||0),ke(t)&&(t=t.call(e,n,Ae.extend({},p))),null!=t.top&&(i.top=t.top-p.top+l),null!=t.left&&(i.left=t.left-p.left+r),'using'in t?t.using.call(e,i):o.css(i)}},Ae.fn.extend({offset:function(e){if(arguments.length)return void 0===e?this:this.each(function(t){Ae.offset.setOffset(this,e,t)});var t=this[0],n,a;if(t)return t.getClientRects().length?(n=t.getBoundingClientRect(),a=t.ownerDocument.defaultView,{top:n.top+a.pageYOffset,left:n.left+a.pageXOffset}):{top:0,left:0}},position:function(){if(this[0]){var e=this[0],t={top:0,left:0},n,a,o;if('fixed'===Ae.css(e,'position'))a=e.getBoundingClientRect();else{for(a=this.offset(),o=e.ownerDocument,n=e.offsetParent||o.documentElement;n&&(n===o.body||n===o.documentElement)&&'static'===Ae.css(n,'position');)n=n.parentNode;n&&n!==e&&1===n.nodeType&&(t=Ae(n).offset(),t.top+=Ae.css(n,'borderTopWidth',!0),t.left+=Ae.css(n,'borderLeftWidth',!0))}return{top:a.top-t.top-Ae.css(e,'marginTop',!0),left:a.left-t.left-Ae.css(e,'marginLeft',!0)}}},offsetParent:function(){return this.map(function(){for(var e=this.offsetParent;e&&'static'===Ae.css(e,'position');)e=e.offsetParent;return e||dt})}}),Ae.each({scrollLeft:'pageXOffset',scrollTop:'pageYOffset'},function(e,t){var n='pageYOffset'===t;Ae.fn[e]=function(a){return Fe(this,function(e,a,o){var i;return je(e)?i=e:9===e.nodeType&&(i=e.defaultView),void 0===o?i?i[t]:e[a]:void(i?i.scrollTo(n?i.pageXOffset:o,n?o:i.pageYOffset):e[a]=o)},e,a,arguments.length)}}),Ae.each(['top','left'],function(e,t){Ae.cssHooks[t]=z(Ce.pixelPosition,function(e,n){if(n)return n=W(e,t),gt.test(n)?Ae(e).position()[t]+'px':n})}),Ae.each({Height:'height',Width:'width'},function(e,t){Ae.each({padding:'inner'+e,content:t,"":'outer'+e},function(n,o){Ae.fn[o]=function(i,s){var r=arguments.length&&(n||'boolean'!=typeof i),d=n||(!0===i||!0===s?'margin':'border');return Fe(this,function(t,n,i){var s;return je(t)?0===o.indexOf('outer')?t['inner'+e]:t.document.documentElement['client'+e]:9===t.nodeType?(s=t.documentElement,a(t.body['scroll'+e],s['scroll'+e],t.body['offset'+e],s['offset'+e],s['client'+e])):void 0===i?Ae.css(t,n,d):Ae.style(t,n,i,d)},t,r?i:void 0,r)}})}),Ae.each(['blur','focus','focusin','focusout','resize','scroll','click','dblclick','mousedown','mouseup','mousemove','mouseover','mouseout','mouseenter','mouseleave','change','select','submit','keydown','keypress','keyup','contextmenu'],function(e,t){Ae.fn[t]=function(e,n){return 0<arguments.length?this.on(t,null,e,n):this.trigger(t)}}),Ae.fn.extend({hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)}}),Ae.fn.extend({bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,a){return this.on(t,e,n,a)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,'**'):this.off(t,e||'**',n)}}),Ae.proxy=function(e,t){var n,a,o;if('string'==typeof t&&(n=e[t],t=e,e=n),!!ke(e))return a=fe.call(arguments,2),o=function(){return e.apply(t||this,a.concat(fe.call(arguments)))},o.guid=e.guid=e.guid||Ae.guid++,o},Ae.holdReady=function(e){e?Ae.readyWait++:Ae.ready(!0)},Ae.isArray=Array.isArray,Ae.parseJSON=JSON.parse,Ae.nodeName=c,Ae.isFunction=ke,Ae.isWindow=je,Ae.camelCase=v,Ae.type=p,Ae.now=Date.now,Ae.isNumeric=function(e){var t=Ae.type(e);return('number'===t||'string'===t)&&!isNaN(e-parseFloat(e))},o=[],i=function(){return Ae}.apply(t,o),!(void 0!==i&&(e.exports=i));var on=r.jQuery,sn=r.$;return Ae.noConflict=function(e){return r.$===Ae&&(r.$=sn),e&&r.jQuery===Ae&&(r.jQuery=on),Ae},s||(r.jQuery=r.$=Ae),Ae})},function(e,t,n){'use strict';function a(){const e=o();e.on('click',b.a.sels.cell,p),g()(b.a.sels.startOver).on('click',h),g()(window).on('beforeunload',function(){return b.a.msg.unload})}function o(){return g()(b.a.sels.domRoot).find(b.a.sels.metaBoard)}function i(){const e=o();e.empty();for(let t=0,n;3>t;t++){n=g()('<div>').addClass(b.a.cls.metaRow),e.append(n);for(let e=0;3>e;e++)n.append(d(t,e))}}function s(){o().hide()}function r(){o().fadeIn(b.a.fadeInTime)}function d(e,t){const n=g()('<div>').addClass('board board-'+e+'-'+t).data('mbRow',e).data('mbCol',t);for(let a=0,o;3>a;a++){o=g()('<div>').addClass('row row-'+a);for(let e=0;3>e;e++)g()('<span>').data('col',e).data('row',a).addClass('col col-'+e).appendTo(o);n.append(o)}return n}function l(e){let t=g()();return x.a.isObject(e)&&(x.a.isNumber(e.row)&&x.a.isNumber(e.col)?t=o().find('.board-'+e.row+'-'+e.col):x.a.isObject(e.cellEl)&&(t=g()(e.cellEl).closest(b.a.sels.board))),t}function p(e){const t=x.a.result(e,'target');x.a.isObject(t)&&v.a.doPlayerTurn(c(t))}function c(e){const t=g()(e);return{metaRow:t.closest(b.a.sels.board).data('mbRow'),metaCol:t.closest(b.a.sels.board).data('mbCol'),miniRow:t.data('row'),miniCol:t.data('col')}}function u(e){const t=v.a.getPlayerForTurn(e);g()(b.a.sels.turn).removeClass().addClass(t),g()(b.a.sels.turnPlayer).text(t),g()(b.a.sels.startOver).attr('disabled',1===e)}function h(){f()&&v.a.init()}function f(){return window.confirm(b.a.msg.newGame)}var m=n(1),g=n.n(m),y=n(0),x=n.n(y),b=n(3),v=n(4),w=n(7),T=n(8),C=n.n(T),k=n(9),j=n.n(k);t.a={init:function(){const e=g()(b.a.sels.domRoot);e.empty().append(j.a).append(C.a),i(),a(),w.a.init(),s(),u(),r()},bindEvents:a,findMetaEl:o,buildMetaBoard:i,updateMetaBoard:function(e,t){const n=g()(b.a.sels.board+'-'+(e+'-'+t)),a=g()(b.a.sels.metaBoard).find(b.a.sels.board);a.removeClass(b.a.cls.inactive),n.hasClass(b.a.cls.won)||n.hasClass(b.a.cls.cats)||a.not(n).addClass(b.a.cls.inactive)},hideMetaBoard:s,fadeInMetaBoard:r,buildMiniBoard:d,findMiniBoard:l,markMiniBoard:function(e,t){const n=l({row:e.metaRow,col:e.metaCol});n.find('.row-'+e.miniRow+' .col-'+e.miniCol).text(t).removeClass('X O').addClass(t)},getDataForMiniBoardCell:c,setMiniBoardWon:function(e,t,n){x.a.isString(n)&&l({row:e,col:t}).addClass(b.a.cls.won+' '+n).text(n)},setMiniBoardCats:function(e,t){l({row:e,col:t}).addClass(b.a.cls.cats)},setGameOver:function(e){const t=o();t.find(b.a.sels.board).removeClass(b.a.cls.inactive).not('.won.'+e).addClass(b.a.cls.inactive)},updateControls:u,showWinMessage:function(e){window.alert(x.a.template(b.a.msg.win)({winner:e}))},handleStartOver:h,showNewGameConfirm:f}},function(e,t){'use strict';t.a={cls:{board:'board',cats:'cats',inactive:'inactive',metaRow:'mb-row',won:'won'},fadeInTime:500,msg:{newGame:'Start new game?',unload:'Are you sure you want to leave?',win:'And the winner is... <%= winner %>!!!'},sels:{board:'.board',cell:'.col',domRoot:'body',metaBoard:'#meta-board',startOver:'#start-over',turn:'#turn',turnPlayer:'#turn-player',undoMove:'#undo-move',zoomIn:'#zoom-in',zoomOut:'#zoom-out'},zoom:[{scale:'1.5',offset:'17%'},{scale:'1.25',offset:'10%'},{scale:'1.0',offset:'0px'},{scale:'0.75',offset:'-17%'},{scale:'0.5',offset:'-50%'}],zoomDef:2}},function(e,t,n){'use strict';function a(){f=s(),c.a.isObject(h)&&c.a.isFunction(h.init)&&h.init()}function o(){return f}function i(){return h}function s(){const e=Object(u.a)();c.a.extend(e,m);for(let t=0;3>t;t++)for(let n=0,a;3>n;n++)a=Object(u.a)(),e.setCell(t,n,a);return e}function r(e){const t=d(),n=f.getCell(e.metaRow,e.metaCol);if(n&&null===n.getCell(e.miniRow,e.miniCol)){n.setCell(e.miniRow,e.miniCol,t),h.markMiniBoard(e,t);const a=n.findWin();a?h.setMiniBoardWon(e.metaRow,e.metaCol,a):n.isCats()&&h.setMiniBoardCats(e.metaRow,e.metaCol);const o=f.findWin();o?l(o):(h.updateMetaBoard(e.miniRow,e.miniCol),f.turn++,h.updateControls(f.turn))}}function d(e){return e=e||f.turn,e%2?'X':'O'}function l(e){f.ended=!0,h.setGameOver(e),h.showWinMessage(e)}var p=n(0),c=n.n(p),u=n(6);t.a={init:a,getMetaBoard:o,setMetaBoard:function(e){f=e},getDom:i,setDom:function(e){h=e},createBoardData:s,doPlayerTurn:r,getPlayerForTurn:d,gameOver:l};let h=null,f=null;const m={ended:!1,turn:1}},function(e,t,n){'use strict';Object.defineProperty(t,'__esModule',{value:!0});var a=n(1),o=n.n(a),i=n(2),s=n(4),r=n(10),d=n.n(r);s.a.setDom(i.a),o()(document).ready(s.a.init)},function(e,t,n){'use strict';var a=n(0),o=n.n(a);t.a=function(){function e(e){let t=null;return 0<=e&&e<a.length&&(t=a[e]),t}function t(e,t){let n=null;return 0<=e&&e<a.length&&0<=t&&t<a[e].length&&(n=a[e][t]),n}function n(){function n(e){return o.a.isObject(e)?o.a.result(e,'findWin',null):e}let a,i,s,r,d;for(a=!1,s=0;3>s;s++)if(r=e(s),i=n(r[0]),a=null!==i&&i===n(r[1])&&i===n(r[2]),a)return i;for(d=0;3>d;d++)if(i=n(t(0,d)),a=null!==i&&i===n(t(1,d))&&i===n(t(2,d)),a)return i;return(i=n(t(0,0)),a=null!==i&&i===n(t(1,1))&&i===n(t(2,2)),a)?i:(i=n(t(0,2)),a=null!==i&&i===n(t(1,1))&&i===n(t(2,0)),!!a&&i)}let a=[[null,null,null],[null,null,null],[null,null,null]];return{getRow:e,getCell:t,setCell:function(e,t,n){0<=e&&e<a.length&&0<=t&&t<a[e].length&&(a[e][t]=n)},findWin:n,isCats:function(){let e=!0,a=n(),o,i;for(o=0;3>o;o++){for(i=0;3>i;i++)if(null===t(o,i)){e=!1;break}if(e)break}return e&&!a}}}},function(e,t,n){'use strict';function a(){localStorage&&(y=localStorage.getItem(g),!c.a.isNumber(y)&&(y=u.a.zoomDef)),o(),r()}function o(){l()(f).on('click',i)}function i(e){const t=c.a.result(e.target,'id','');s(t),r()}function s(e){let t=y;m.in.test(e)?t--:m.out.test(e)&&t++,t=Math.max(t,0),t=Math.min(t,u.a.zoom.length-1),y=t,localStorage&&localStorage.setItem(g,y)}function r(){const e=c.a.chain(u.a.zoom).result(y,u.a.zoomDef).result('scale').value(),t=['scale('+e+')','translate(0px, '+u.a.zoom[y].offset+')'].join(' ');h.a.findMetaEl().css('transform',t)}var d=n(1),l=n.n(d),p=n(0),c=n.n(p),u=n(3),h=n(2);t.a={init:a,setZoomLevel:s,applyZoomToElement:r};const f=[u.a.sels.zoomIn,u.a.sels.zoomOut].join(','),m={in:/in/,out:/out/},g='zoomLevel';let y=u.a.zoomDef},function(e){e.exports='<div id="meta-board"></div>\n'},function(e){e.exports='<div id="controls">\n\n <div id="title"><b>M</b>T<sup><i>3</i></sup></div>\n\n <div id="turn">\n Turn: <span id="turn-player"> </span>\n </div>\n\n <button id="start-over">New Game</button>\n\n <!-- <button id="undo-move">Undo Move</button> -->\n\n <button id="zoom-in">Zoom +</button>\n <button id="zoom-out">Zoom –</button>\n\n</div>\n'},function(e,t,n){var a=n(11);'string'==typeof a&&(a=[[e.i,a,'']]);var o={hmr:!0},i;o.transform=i,o.insertInto=void 0;n(13)(a,o);a.locals&&(e.exports=a.locals),!1},function(e,t,n){t=e.exports=n(12)(!1),t.push([e.i,'html,\nbody {\n margin: 0;\n padding: 0;\n background-color: #f3f3f3;\n font-family: Verdana, Helvetica, Arial, sans-serif;\n user-select: none;\n -moz-user-select: none;\n -webkit-user-select: none;\n -ms-user-select: none;\n}\n/*=== Controls ===*/\n#controls {\n left: 0;\n top: 0;\n width: 100%;\n margin: 0 auto 1em;\n background-image: linear-gradient(0deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.3));\n text-align: center;\n}\n#controls #title {\n display: inline-block;\n vertical-align: middle;\n margin: 0 0.25em;\n padding: 0;\n color: #999;\n font-size: 28px;\n text-shadow: 4px 4px 2px #ddd;\n}\n#controls #title sup {\n color: #69d;\n font-size: 14px;\n}\n#controls #turn {\n display: inline-block;\n vertical-align: middle;\n min-width: 75px;\n border: 1px solid #ccc;\n border-radius: 4px;\n font-size: 8px;\n}\n#controls #turn #turn-player {\n display: inline-block;\n vertical-align: middle;\n height: 26px;\n width: 24px;\n line-height: 24px;\n font-size: 24px;\n font-weight: bold;\n}\n#controls button {\n font-size: 1.2em;\n}\n#controls button:not(:disabled) {\n cursor: pointer;\n}\n/*=== Players ====*/\n.X {\n background-color: rgba(255, 128, 128, 0.2);\n}\n.O {\n background-color: rgba(128, 255, 128, 0.2);\n}\n/*=== Boards ===*/\n#meta-board {\n width: 486px;\n margin: 0 auto 1.5em;\n background-color: white;\n box-shadow: 0px 0px 12px #999;\n transition: transform 80ms linear;\n}\n#meta-board .mb-row {\n width: 500px;\n}\n.board {\n display: inline-block;\n vertical-align: middle;\n height: 138px;\n width: 138px;\n padding: 10px;\n border: 2px solid black;\n line-height: 138px;\n font-size: 80px;\n font-weight: 700;\n text-align: center;\n}\n.board:not(.won):hover {\n background-color: rgba(128, 128, 255, 0.2);\n}\n.board.won * {\n pointer-events: none;\n opacity: 0.5;\n}\n.board.cats,\n.board.inactive {\n pointer-events: none;\n opacity: 0.333;\n}\n.board .row {\n height: 44px;\n}\n.board .row.row-1 {\n border-top: 3px solid black;\n border-bottom: 3px solid black;\n}\n.board .col {\n display: inline-block;\n vertical-align: middle;\n height: 44px;\n width: 44px;\n cursor: pointer;\n line-height: 44px;\n text-align: center;\n font-size: 32px;\n font-weight: 700;\n}\n.board .col:hover {\n background-color: rgba(128, 128, 255, 0.2);\n}\n.board .col.col-1 {\n border-left: 3px solid black;\n border-right: 3px solid black;\n}\n',''])},function(e){function t(e,t){var a=e[1]||'',o=e[3];if(!o)return a;if(t&&'function'==typeof btoa){var i=n(o),s=o.sources.map(function(e){return'/*# sourceURL='+o.sourceRoot+e+' */'});return[a].concat(s).concat([i]).join('\n')}return[a].join('\n')}function n(e){var t=btoa(unescape(encodeURIComponent(JSON.stringify(e))));return'/*# '+('sourceMappingURL=data:application/json;charset=utf-8;base64,'+t)+' */'}e.exports=function(e){var n=[];return n.toString=function(){return this.map(function(n){var a=t(n,e);return n[2]?'@media '+n[2]+'{'+a+'}':a}).join('')},n.i=function(e,t){'string'==typeof e&&(e=[[null,e,'']]);for(var a={},o=0,i;o<this.length;o++)i=this[o][0],'number'==typeof i&&(a[i]=!0);for(o=0;o<e.length;o++){var s=e[o];'number'==typeof s[0]&&a[s[0]]||(t&&!s[2]?s[2]=t:t&&(s[2]='('+s[2]+') and ('+t+')'),n.push(s))}},n}},function(e,t,n){function a(e,t){for(var n=0;n<e.length;n++){var a=e[n],o=f[a.id];if(o){o.refs++;for(var i=0;i<o.parts.length;i++)o.parts[i](a.parts[i]);for(;i<a.parts.length;i++)o.parts.push(p(a.parts[i],t))}else{for(var s=[],i=0;i<a.parts.length;i++)s.push(p(a.parts[i],t));f[a.id]={id:a.id,refs:1,parts:s}}}}function o(e,t){for(var n=[],a={},o=0;o<e.length;o++){var i=e[o],s=t.base?i[0]+t.base:i[0],r=i[1],d=i[2],l=i[3],p={css:r,media:d,sourceMap:l};a[s]?a[s].parts.push(p):n.push(a[s]={id:s,parts:[p]})}return n}function i(e,t){var n=y(e.insertInto);if(!n)throw new Error('Couldn\'t find a style target. This probably means that the value for the \'insertInto\' parameter is invalid.');var a=v[v.length-1];if('top'===e.insertAt)a?a.nextSibling?n.insertBefore(t,a.nextSibling):n.appendChild(t):n.insertBefore(t,n.firstChild),v.push(t);else if('bottom'===e.insertAt)n.appendChild(t);else if('object'==typeof e.insertAt&&e.insertAt.before){var o=y(e.insertInto+' '+e.insertAt.before);n.insertBefore(t,o)}else throw new Error('[Style Loader]\n\n Invalid value for parameter \'insertAt\' (\'options.insertAt\') found.\n Must be \'top\', \'bottom\', or Object.\n (https://github.com/webpack-contrib/style-loader#insertat)\n')}function s(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e);var t=v.indexOf(e);0<=t&&v.splice(t,1)}function r(e){var t=document.createElement('style');return e.attrs.type='text/css',l(t,e.attrs),i(e,t),t}function d(e){var t=document.createElement('link');return e.attrs.type='text/css',e.attrs.rel='stylesheet',l(t,e.attrs),i(e,t),t}function l(e,t){Object.keys(t).forEach(function(n){e.setAttribute(n,t[n])})}function p(e,t){var n,a,o,i;if(t.transform&&e.css)if(i=t.transform(e.css),i)e.css=i;else return function(){};if(t.singleton){var l=b++;n=x||(x=r(t)),a=c.bind(null,n,l,!1),o=c.bind(null,n,l,!0)}else e.sourceMap&&'function'==typeof URL&&'function'==typeof URL.createObjectURL&&'function'==typeof URL.revokeObjectURL&&'function'==typeof Blob&&'function'==typeof btoa?(n=d(t),a=h.bind(null,n,t),o=function(){s(n),n.href&&URL.revokeObjectURL(n.href)}):(n=r(t),a=u.bind(null,n),o=function(){s(n)});return a(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;a(e=t)}else o()}}function c(e,t,n,a){var o=n?'':a.css;if(e.styleSheet)e.styleSheet.cssText=T(t,o);else{var i=document.createTextNode(o),s=e.childNodes;s[t]&&e.removeChild(s[t]),s.length?e.insertBefore(i,s[t]):e.appendChild(i)}}function u(e,t){var n=t.css,a=t.media;if(a&&e.setAttribute('media',a),e.styleSheet)e.styleSheet.cssText=n;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(n))}}function h(e,t,n){var a=n.css,o=n.sourceMap,i=t.convertToAbsoluteUrls===void 0&&o;(t.convertToAbsoluteUrls||i)&&(a=w(a)),o&&(a+='\n/*# sourceMappingURL=data:application/json;base64,'+btoa(unescape(encodeURIComponent(JSON.stringify(o))))+' */');var s=new Blob([a],{type:'text/css'}),r=e.href;e.href=URL.createObjectURL(s),r&&URL.revokeObjectURL(r)}var f={},m=function(e){var t;return function(){return'undefined'==typeof t&&(t=e.apply(this,arguments)),t}}(function(){return window&&document&&document.all&&!window.atob}),g=function(e){return document.querySelector(e)},y=function(){var e={};return function(t){if('function'==typeof t)return t();if('undefined'==typeof e[t]){var n=g.call(this,t);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(t){n=null}e[t]=n}return e[t]}}(),x=null,b=0,v=[],w=n(14);e.exports=function(e,t){if('undefined'!=typeof DEBUG&&DEBUG&&'object'!=typeof document)throw new Error('The style-loader cannot be used in a non-browser environment');t=t||{},t.attrs='object'==typeof t.attrs?t.attrs:{},t.singleton||'boolean'==typeof t.singleton||(t.singleton=m()),t.insertInto||(t.insertInto='head'),t.insertAt||(t.insertAt='bottom');var n=o(e,t);return a(n,t),function(e){for(var s=[],r=0;r<n.length;r++){var i=n[r],d=f[i.id];d.refs--,s.push(d)}if(e){var l=o(e,t);a(l,t)}for(var r=0,d;r<s.length;r++)if(d=s[r],0===d.refs){for(var p=0;p<d.parts.length;p++)d.parts[p]();delete f[d.id]}}};var T=function(){var e=[];return function(t,n){return e[t]=n,e.filter(Boolean).join('\n')}}()},function(e){e.exports=function(e){var t='undefined'!=typeof window&&window.location;if(!t)throw new Error('fixUrls requires window.location');if(!e||'string'!=typeof e)return e;var n=t.protocol+'//'+t.host,a=n+t.pathname.replace(/\/[^\/]*$/,'/'),o=e.replace(/url\s*\(((?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)\)/gi,function(e,t){var o=t.trim().replace(/^"(.*)"$/,function(e,t){return t}).replace(/^'(.*)'$/,function(e,t){return t});if(/^(#|data:|http:\/\/|https:\/\/|file:\/\/\/|\s*$)/i.test(o))return e;var i;return i=0===o.indexOf('//')?o:0===o.indexOf('/')?n+o:a+o.replace(/^\.\//,''),'url('+JSON.stringify(i)+')'});return o}}]);