radius 0.7.5 → 0.8.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG +5 -0
- data/CONTRIBUTORS +2 -0
- data/Gemfile +9 -5
- data/README.rdoc +2 -6
- data/Rakefile +9 -0
- data/coverage/assets/0.13.1/DataTables-1.10.20/images/sort_asc.png +0 -0
- data/coverage/assets/0.13.1/DataTables-1.10.20/images/sort_asc_disabled.png +0 -0
- data/coverage/assets/0.13.1/DataTables-1.10.20/images/sort_both.png +0 -0
- data/coverage/assets/0.13.1/DataTables-1.10.20/images/sort_desc.png +0 -0
- data/coverage/assets/0.13.1/DataTables-1.10.20/images/sort_desc_disabled.png +0 -0
- data/coverage/assets/0.13.1/application.css +1 -0
- data/coverage/assets/0.13.1/application.js +7 -0
- data/coverage/assets/0.13.1/colorbox/border.png +0 -0
- data/coverage/assets/0.13.1/colorbox/controls.png +0 -0
- data/coverage/assets/0.13.1/colorbox/loading.gif +0 -0
- data/coverage/assets/0.13.1/colorbox/loading_background.png +0 -0
- data/coverage/assets/0.13.1/favicon_green.png +0 -0
- data/coverage/assets/0.13.1/favicon_red.png +0 -0
- data/coverage/assets/0.13.1/favicon_yellow.png +0 -0
- data/coverage/assets/0.13.1/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
- data/coverage/assets/0.13.1/images/ui-bg_flat_75_ffffff_40x100.png +0 -0
- data/coverage/assets/0.13.1/images/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
- data/coverage/assets/0.13.1/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
- data/coverage/assets/0.13.1/images/ui-bg_glass_75_dadada_1x400.png +0 -0
- data/coverage/assets/0.13.1/images/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
- data/coverage/assets/0.13.1/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
- data/coverage/assets/0.13.1/images/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
- data/coverage/assets/0.13.1/images/ui-icons_222222_256x240.png +0 -0
- data/coverage/assets/0.13.1/images/ui-icons_2e83ff_256x240.png +0 -0
- data/coverage/assets/0.13.1/images/ui-icons_454545_256x240.png +0 -0
- data/coverage/assets/0.13.1/images/ui-icons_888888_256x240.png +0 -0
- data/coverage/assets/0.13.1/images/ui-icons_cd0a0a_256x240.png +0 -0
- data/coverage/assets/0.13.1/loading.gif +0 -0
- data/coverage/assets/0.13.1/magnify.png +0 -0
- data/lib/radius/context.rb +2 -1
- data/lib/radius/delegating_open_struct.rb +15 -19
- data/lib/radius/ord_string.rb +6 -8
- data/lib/radius/parser/JavaScanner.class +0 -0
- data/lib/radius/parser/JavaScanner.java +211 -161
- data/lib/radius/parser/JavaScanner.rl +36 -7
- data/lib/radius/parser.rb +69 -40
- data/lib/radius/utility.rb +5 -14
- data/lib/radius/version.rb +1 -1
- data/lib/radius.rb +11 -11
- data/pkg/radius-0.8.0.gem +0 -0
- data/radius.gemspec +12 -4
- data/test/context_test.rb +13 -5
- data/test/multithreaded_test.rb +60 -43
- data/test/ord_string_test.rb +3 -3
- data/test/parser_test.rb +3 -3
- data/test/quickstart_test.rb +2 -2
- data/test/squiggle_test.rb +3 -3
- data/test/test_helper.rb +21 -26
- data/test/utility_test.rb +3 -3
- metadata +52 -16
@@ -0,0 +1,7 @@
|
|
1
|
+
!function(e,t){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return t(e)}:t(e)}("undefined"!=typeof window?window:this,function(le,e){"use strict";function g(e,t,n){var r,a,i=(n=n||xe).createElement("script");if(i.text=e,t)for(r in we)(a=t[r]||t.getAttribute&&t.getAttribute(r))&&i.setAttribute(r,a);n.head.appendChild(i).parentNode.removeChild(i)}function m(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?se[he.call(e)]||"object":typeof e}function s(e){var t=!!e&&"length"in e&&e.length,n=m(e);return!ye(e)&&!be(e)&&("array"===n||0===t||"number"==typeof t&&0<t&&t-1 in e)}function ue(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()}function t(e,t){return t?"\0"===e?"\ufffd":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e}function n(e,n,r){return ye(n)?De.grep(e,function(e,t){return!!n.call(e,t,e)!==r}):n.nodeType?De.grep(e,function(e){return e===n!==r}):"string"!=typeof n?De.grep(e,function(e){return-1<de.call(n,e)!==r}):De.filter(n,e,r)}function r(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}function c(e){var n={};return De.each(e.match(We)||[],function(e,t){n[t]=!0}),n}function f(e){return e}function d(e){throw e}function l(e,t,n,r){var a;try{e&&ye(a=e.promise)?a.call(e).done(t).fail(n):e&&ye(a=e.then)?a.call(e,t,n):t.apply(undefined,[e].slice(r))}catch(e){n.apply(undefined,[e])}}function a(){xe.removeEventListener("DOMContentLoaded",a),le.removeEventListener("load",a),De.ready()}function i(e,t){return t.toUpperCase()}function h(e){return e.replace(ze,"ms-").replace(Xe,i)}function o(){this.expando=De.expando+o.uid++}function u(e){return"true"===e||"false"!==e&&("null"===e?null:e===+e+""?+e:Ye.test(e)?JSON.parse(e):e)}function p(e,t,n){var r;if(n===undefined&&1===e.nodeType)if(r="data-"+t.replace(Ze,"-$&").toLowerCase(),"string"==typeof(n=e.getAttribute(r))){try{n=u(n)}catch(a){}Je.set(e,t,n)}else n=undefined;return n}function v(e,t,n,r){var a,i,o=20,s=r?function(){return r.cur()}:function(){return De.css(e,t,"")},l=s(),u=n&&n[3]||(De.cssNumber[t]?"":"px"),c=e.nodeType&&(De.cssNumber[t]||"px"!==u&&+l)&&Qe.exec(De.css(e,t));if(c&&c[3]!==u){for(l/=2,u=u||c[3],c=+l||1;o--;)De.style(e,t,c+u),(1-i)*(1-(i=s()/l||.5))<=0&&(o=0),c/=i;c*=2,De.style(e,t,c+u),n=n||[]}return n&&(c=+c||+l||0,a=n[1]?c+(n[1]+1)*n[2]:+n[2],r&&(r.unit=u,r.start=c,r.end=a)),a}function y(e){var t,n=e.ownerDocument,r=e.nodeName,a=it[r];return a||(t=n.body.appendChild(n.createElement(r)),a=De.css(t,"display"),t.parentNode.removeChild(t),"none"===a&&(a="block"),it[r]=a)}function b(e,t){for(var n,r,a=[],i=0,o=e.length;i<o;i++)(r=e[i]).style&&(n=r.style.display,t?("none"===n&&(a[i]=Ge.get(r,"display")||null,a[i]||(r.style.display="")),""===r.style.display&&at(r)&&(a[i]=y(r))):"none"!==n&&(a[i]="none",Ge.set(r,"display",n)));for(i=0;i<o;i++)null!=a[i]&&(e[i].style.display=a[i]);return e}function x(e,t){var n;return n="undefined"!=typeof e.getElementsByTagName?e.getElementsByTagName(t||"*"):"undefined"!=typeof e.querySelectorAll?e.querySelectorAll(t||"*"):[],t===undefined||t&&ue(e,t)?De.merge([e],n):n}function w(e,t){for(var n=0,r=e.length;n<r;n++)Ge.set(e[n],"globalEval",!t||Ge.get(t[n],"globalEval"))}function S(e,t,n,r,a){for(var i,o,s,l,u,c,f=t.createDocumentFragment(),d=[],h=0,p=e.length;h<p;h++)if((i=e[h])||0===i)if("object"===m(i))De.merge(d,i.nodeType?[i]:i);else if(dt.test(i)){for(o=o||f.appendChild(t.createElement("div")),s=(ut.exec(i)||["",""])[1].toLowerCase(),l=ft[s]||ft._default,o.innerHTML=l[1]+De.htmlPrefilter(i)+l[2],c=l[0];c--;)o=o.lastChild;De.merge(d,o.childNodes),(o=f.firstChild).textContent=""}else d.push(t.createTextNode(i));for(f.textContent="",h=0;i=d[h++];)if(r&&-1<De.inArray(i,r))a&&a.push(i);else if(u=nt(i),o=x(f.appendChild(i),"script"),u&&w(o),n)for(c=0;i=o[c++];)ct.test(i.type||"")&&n.push(i);return f}function T(){return!0}function D(){return!1}function C(e,t,n,r,a,i){var o,s;if("object"==typeof t){for(s in"string"!=typeof n&&(r=r||n,n=undefined),t)C(e,s,n,r,t[s],i);return e}if(null==r&&null==a?(a=n,r=n=undefined):null==a&&("string"==typeof n?(a=r,r=undefined):(a=r,r=n,n=undefined)),!1===a)a=D;else if(!a)return e;return 1===i&&(o=a,(a=function(e){return De().off(e),o.apply(this,arguments)}).guid=o.guid||(o.guid=De.guid++)),e.each(function(){De.event.add(this,t,a,r,n)})}function _(e,r,t){t?(Ge.set(e,r,!1),De.event.add(e,r,{namespace:!1,handler:function(e){var t,n=Ge.get(this,r);if(1&e.isTrigger&&this[r]){if(n)(De.event.special[r]||{}).delegateType&&e.stopPropagation();else if(n=fe.call(arguments),Ge.set(this,r,n),this[r](),t=Ge.get(this,r),Ge.set(this,r,!1),n!==t)return e.stopImmediatePropagation(),e.preventDefault(),t}else n&&(Ge.set(this,r,De.event.trigger(n[0],n.slice(1),this)),e.stopPropagation(),e.isImmediatePropagationStopped=T)}})):Ge.get(e,r)===undefined&&De.event.add(e,r,T)}function A(e,t){return ue(e,"table")&&ue(11!==t.nodeType?t:t.firstChild,"tr")&&De(e).children("tbody")[0]||e}function k(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function N(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function j(e,t){var n,r,a,i,o,s;if(1===t.nodeType){if(Ge.hasData(e)&&(s=Ge.get(e).events))for(a in Ge.remove(t,"handle events"),s)for(n=0,r=s[a].length;n<r;n++)De.event.add(t,a,s[a][n]);Je.hasData(e)&&(i=Je.access(e),o=De.extend({},i),Je.set(t,o))}}function I(e,t){var n=t.nodeName.toLowerCase();"input"===n&<.test(e.type)?t.checked=e.checked:"input"!==n&&"textarea"!==n||(t.defaultValue=e.defaultValue)}function L(n,r,a,i){r=ie(r);var e,t,o,s,l,u,c=0,f=n.length,d=f-1,h=r[0],p=ye(h);if(p||1<f&&"string"==typeof h&&!ve.checkClone&>.test(h))return n.each(function(e){var t=n.eq(e);p&&(r[0]=h.call(this,e,t.html())),L(t,r,a,i)});if(f&&(t=(e=S(r,n[0].ownerDocument,!1,n,i)).firstChild,1===e.childNodes.length&&(e=t),t||i)){for(s=(o=De.map(x(e,"script"),k)).length;c<f;c++)l=e,c!==d&&(l=De.clone(l,!0,!0),s&&De.merge(o,x(l,"script"))),a.call(n[c],l,c);if(s)for(u=o[o.length-1].ownerDocument,De.map(o,N),c=0;c<s;c++)l=o[c],ct.test(l.type||"")&&!Ge.access(l,"globalEval")&&De.contains(u,l)&&(l.src&&"module"!==(l.type||"").toLowerCase()?De._evalUrl&&!l.noModule&&De._evalUrl(l.src,{nonce:l.nonce||l.getAttribute("nonce")},u):g(l.textContent.replace(mt,""),l,u))}return n}function E(e,t,n){for(var r,a=t?De.filter(t,e):e,i=0;null!=(r=a[i]);i++)n||1!==r.nodeType||De.cleanData(x(r)),r.parentNode&&(n&&nt(r)&&w(x(r,"script")),r.parentNode.removeChild(r));return e}function R(e,t,n){var r,a,i,o,s=yt.test(t),l=e.style;return(n=n||bt(e))&&(o=n.getPropertyValue(t)||n[t],s&&o&&(o=o.replace(Ne,"$1")||undefined),""!==o||nt(e)||(o=De.style(e,t)),!ve.pixelBoxStyles()&&vt.test(o)&&wt.test(t)&&(r=l.width,a=l.minWidth,i=l.maxWidth,l.minWidth=l.maxWidth=l.width=o,o=n.width,l.width=r,l.minWidth=a,l.maxWidth=i)),o!==undefined?o+"":o}function F(e,t){return{get:function(){if(!e())return(this.get=t).apply(this,arguments);delete this.get}}}function P(e){for(var t=e[0].toUpperCase()+e.slice(1),n=St.length;n--;)if((e=St[n]+t)in Tt)return e}function H(e){var t=De.cssProps[e]||Dt[e];return t||(e in Tt?e:Dt[e]=P(e)||e)}function M(e,t,n){var r=Qe.exec(t);return r?Math.max(0,r[2]-(n||0))+(r[3]||"px"):t}function O(e,t,n,r,a,i){var o="width"===t?1:0,s=0,l=0,u=0;if(n===(r?"border":"content"))return 0;for(;o<4;o+=2)"margin"===n&&(u+=De.css(e,n+et[o],!0,a)),r?("content"===n&&(l-=De.css(e,"padding"+et[o],!0,a)),"margin"!==n&&(l-=De.css(e,"border"+et[o]+"Width",!0,a))):(l+=De.css(e,"padding"+et[o],!0,a),"padding"!==n?l+=De.css(e,"border"+et[o]+"Width",!0,a):s+=De.css(e,"border"+et[o]+"Width",!0,a));return!r&&0<=i&&(l+=Math.max(0,Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-i-l-s-.5))||0),l+u}function q(e,t,n){var r=bt(e),a=(!ve.boxSizingReliable()||n)&&"border-box"===De.css(e,"boxSizing",!1,r),i=a,o=R(e,t,r),s="offset"+t[0].toUpperCase()+t.slice(1);if(vt.test(o)){if(!n)return o;o="auto"}return(!ve.boxSizingReliable()&&a||!ve.reliableTrDimensions()&&ue(e,"tr")||"auto"===o||!parseFloat(o)&&"inline"===De.css(e,"display",!1,r))&&e.getClientRects().length&&(a="border-box"===De.css(e,"boxSizing",!1,r),(i=s in e)&&(o=e[s])),(o=parseFloat(o)||0)+O(e,t,n||(a?"border":"content"),i,r,o)+"px"}function W(e,t,n,r,a){return new W.prototype.init(e,t,n,r,a)}function $(){Nt&&(!1===xe.hidden&&le.requestAnimationFrame?le.requestAnimationFrame($):le.setTimeout($,De.fx.interval),De.fx.tick())}function B(){return le.setTimeout(function(){kt=undefined}),kt=Date.now()}function U(e,t){var n,r=0,a={height:e};for(t=t?1:0;r<4;r+=2-t)a["margin"+(n=et[r])]=a["padding"+n]=e;return t&&(a.opacity=a.width=e),a}function z(e,t,n){for(var r,a=(G.tweeners[t]||[]).concat(G.tweeners["*"]),i=0,o=a.length;i<o;i++)if(r=a[i].call(n,t,e))return r}function X(e,t,n){var r,a,i,o,s,l,u,c,f="width"in t||"height"in t,d=this,h={},p=e.style,g=e.nodeType&&at(e),m=Ge.get(e,"fxshow");for(r in n.queue||(null==(o=De._queueHooks(e,"fx")).unqueued&&(o.unqueued=0,s=o.empty.fire,o.empty.fire=function(){o.unqueued||s()}),o.unqueued++,d.always(function(){d.always(function(){o.unqueued--,De.queue(e,"fx").length||o.empty.fire()})})),t)if(a=t[r],Lt.test(a)){if(delete t[r],i=i||"toggle"===a,a===(g?"hide":"show")){if("show"!==a||!m||m[r]===undefined)continue;g=!0}h[r]=m&&m[r]||De.style(e,r)}if((l=!De.isEmptyObject(t))||!De.isEmptyObject(h))for(r in f&&1===e.nodeType&&(n.overflow=[p.overflow,p.overflowX,p.overflowY],null==(u=m&&m.display)&&(u=Ge.get(e,"display")),"none"===(c=De.css(e,"display"))&&(u?c=u:(b([e],!0),u=e.style.display||u,c=De.css(e,"display"),b([e]))),("inline"===c||"inline-block"===c&&null!=u)&&"none"===De.css(e,"float")&&(l||(d.done(function(){p.display=u}),null==u&&(c=p.display,u="none"===c?"":c)),p.display="inline-block")),n.overflow&&(p.overflow="hidden",d.always(function(){p.overflow=n.overflow[0],p.overflowX=n.overflow[1],p.overflowY=n.overflow[2]})),l=!1,h)l||(m?"hidden"in m&&(g=m.hidden):m=Ge.access(e,"fxshow",{display:u}),i&&(m.hidden=!g),g&&b([e],!0),d.done(function(){for(r in g||b([e]),Ge.remove(e,"fxshow"),h)De.style(e,r,h[r])})),l=z(g?m[r]:0,r,d),r in m||(m[r]=l.start,g&&(l.end=l.start,l.start=0))}function V(e,t){var n,r,a,i,o;for(n in e)if(a=t[r=h(n)],i=e[n],Array.isArray(i)&&(a=i[1],i=e[n]=i[0]),n!==r&&(e[r]=i,delete e[n]),(o=De.cssHooks[r])&&"expand"in o)for(n in i=o.expand(i),delete e[r],i)n in e||(e[n]=i[n],t[n]=a);else t[r]=a}function G(i,e,t){var n,o,r=0,a=G.prefilters.length,s=De.Deferred().always(function(){delete l.elem}),l=function(){if(o)return!1;for(var e=kt||B(),t=Math.max(0,u.startTime+u.duration-e),n=1-(t/u.duration||0),r=0,a=u.tweens.length;r<a;r++)u.tweens[r].run(n);return s.notifyWith(i,[u,n,t]),n<1&&a?t:(a||s.notifyWith(i,[u,1,0]),s.resolveWith(i,[u]),!1)},u=s.promise({elem:i,props:De.extend({},e),opts:De.extend(!0,{specialEasing:{},easing:De.easing._default},t),originalProperties:e,originalOptions:t,startTime:kt||B(),duration:t.duration,tweens:[],createTween:function(e,t){var n=De.Tween(i,u.opts,e,t,u.opts.specialEasing[e]||u.opts.easing);return u.tweens.push(n),n},stop:function(e){var t=0,n=e?u.tweens.length:0;if(o)return this;for(o=!0;t<n;t++)u.tweens[t].run(1);return e?(s.notifyWith(i,[u,1,0]),s.resolveWith(i,[u,e])):s.rejectWith(i,[u,e]),this}}),c=u.props;for(V(c,u.opts.specialEasing);r<a;r++)if(n=G.prefilters[r].call(u,i,c,u.opts))return ye(n.stop)&&(De._queueHooks(u.elem,u.opts.queue).stop=n.stop.bind(n)),n;return De.map(c,z,u),ye(u.opts.start)&&u.opts.start.call(i,u),u.progress(u.opts.progress).done(u.opts.done,u.opts.complete).fail(u.opts.fail).always(u.opts.always),De.fx.timer(De.extend(l,{elem:i,anim:u,queue:u.opts.queue})),u}function J(e){return(e.match(We)||[]).join(" ")}function Y(e){return e.getAttribute&&e.getAttribute("class")||""}function Z(e){return Array.isArray(e)?e:"string"==typeof e&&e.match(We)||[]}function K(n,e,r,a){var t;if(Array.isArray(e))De.each(e,function(e,t){r||Ut.test(n)?a(n,t):K(n+"["+("object"==typeof t&&null!=t?e:"")+"]",t,r,a)});else if(r||"object"!==m(e))a(n,e);else for(t in e)K(n+"["+t+"]",e[t],r,a)}function Q(i){return function(e,t){"string"!=typeof e&&(t=e,e="*");var n,r=0,a=e.toLowerCase().match(We)||[];if(ye(t))for(;n=a[r++];)"+"===n[0]?(n=n.slice(1)||"*",(i[n]=i[n]||[]).unshift(t)):(i[n]=i[n]||[]).push(t)}}function ee(t,a,i,o){function s(e){var r;return l[e]=!0,De.each(t[e]||[],function(e,t){var n=t(a,i,o);return"string"!=typeof n||u||l[n]?u?!(r=n):void 0:(a.dataTypes.unshift(n),s(n),!1)}),r}var l={},u=t===nn;return s(a.dataTypes[0])||!l["*"]&&s("*")}function te(e,t){var n,r,a=De.ajaxSettings.flatOptions||{};for(n in t)t[n]!==undefined&&((a[n]?e:r||(r={}))[n]=t[n]);return r&&De.extend(!0,e,r),e}function ne(e,t,n){for(var r,a,i,o,s=e.contents,l=e.dataTypes;"*"===l[0];)l.shift(),r===undefined&&(r=e.mimeType||t.getResponseHeader("Content-Type"));if(r)for(a in s)if(s[a]&&s[a].test(r)){l.unshift(a);break}if(l[0]in n)i=l[0];else{for(a in n){if(!l[0]||e.converters[a+" "+l[0]]){i=a;break}o||(o=a)}i=i||o}if(i)return i!==l[0]&&l.unshift(i),n[i]}function re(e,t,n,r){var a,i,o,s,l,u={},c=e.dataTypes.slice();if(c[1])for(o in e.converters)u[o.toLowerCase()]=e.converters[o];for(i=c.shift();i;)if(e.responseFields[i]&&(n[e.responseFields[i]]=t),!l&&r&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),l=i,i=c.shift())if("*"===i)i=l;else if("*"!==l&&l!==i){if(!(o=u[l+" "+i]||u["* "+i]))for(a in u)if((s=a.split(" "))[1]===i&&(o=u[l+" "+s[0]]||u["* "+s[0]])){!0===o?o=u[a]:!0!==u[a]&&(i=s[0],c.unshift(s[1]));break}if(!0!==o)if(o&&e["throws"])t=o(t);else try{t=o(t)}catch(f){return{state:"parsererror",error:o?f:"No conversion from "+l+" to "+i}}}return{state:"success",data:t}}var ce=[],ae=Object.getPrototypeOf,fe=ce.slice,ie=ce.flat?function(e){return ce.flat.call(e)}:function(e){return ce.concat.apply([],e)},oe=ce.push,de=ce.indexOf,se={},he=se.toString,pe=se.hasOwnProperty,ge=pe.toString,me=ge.call(Object),ve={},ye=function ye(e){return"function"==typeof e&&"number"!=typeof e.nodeType&&"function"!=typeof e.item},be=function be(e){return null!=e&&e===e.window},xe=le.document,we={type:!0,src:!0,nonce:!0,noModule:!0},Se="3.7.1",Te=/HTML$/i,De=function(e,t){return new De.fn.init(e,t)};De.fn=De.prototype={jquery:Se,constructor:De,length:0,toArray:function(){return fe.call(this)},get:function(e){return null==e?fe.call(this):e<0?this[e+this.length]:this[e]},pushStack:function(e){var t=De.merge(this.constructor(),e);return t.prevObject=this,t},each:function(e){return De.each(this,e)},map:function(n){return this.pushStack(De.map(this,function(e,t){return n.call(e,t,e)}))},slice:function(){return this.pushStack(fe.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(De.grep(this,function(e,t){return(t+1)%2}))},odd:function(){return this.pushStack(De.grep(this,function(e,t){return t%2}))},eq:function(e){var t=this.length,n=+e+(e<0?t:0);return this.pushStack(0<=n&&n<t?[this[n]]:[])},end:function(){return this.prevObject||this.constructor()},push:oe,sort:ce.sort,splice:ce.splice},De.extend=De.fn.extend=function(e){var t,n,r,a,i,o,s=e||{},l=1,u=arguments.length,c=!1;for("boolean"==typeof s&&(c=s,s=arguments[l]||{},l++),"object"==typeof s||ye(s)||(s={}),l===u&&(s=this,l--);l<u;l++)if(null!=(t=arguments[l]))for(n in t)a=t[n],"__proto__"!==n&&s!==a&&(c&&a&&(De.isPlainObject(a)||(i=Array.isArray(a)))?(r=s[n],o=i&&!Array.isArray(r)?[]:i||De.isPlainObject(r)?r:{},i=!1,s[n]=De.extend(c,o,a)):a!==undefined&&(s[n]=a));return s},De.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]"!==he.call(e))&&(!(t=ae(e))||"function"==typeof(n=pe.call(t,"constructor")&&t.constructor)&&ge.call(n)===me)},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},globalEval:function(e,t,n){g(e,{nonce:t&&t.nonce},n)},each:function(e,t){var n,r=0;if(s(e))for(n=e.length;r<n&&!1!==t.call(e[r],r,e[r]);r++);else for(r in e)if(!1===t.call(e[r],r,e[r]))break;return e},text:function(e){var t,n="",r=0,a=e.nodeType;if(!a)for(;t=e[r++];)n+=De.text(t);return 1===a||11===a?e.textContent:9===a?e.documentElement.textContent:3===a||4===a?e.nodeValue:n},makeArray:function(e,t){var n=t||[];return null!=e&&(s(Object(e))?De.merge(n,"string"==typeof e?[e]:e):oe.call(n,e)),n},inArray:function(e,t,n){return null==t?-1:de.call(t,e,n)},isXMLDoc:function(e){var t=e&&e.namespaceURI,n=e&&(e.ownerDocument||e).documentElement;return!Te.test(t||n&&n.nodeName||"HTML")},merge:function(e,t){for(var n=+t.length,r=0,a=e.length;r<n;r++)e[a++]=t[r];return e.length=a,e},grep:function(e,t,n){for(var r=[],a=0,i=e.length,o=!n;a<i;a++)!t(e[a],a)!==o&&r.push(e[a]);return r},map:function(e,t,n){var r,a,i=0,o=[];if(s(e))for(r=e.length;i<r;i++)null!=(a=t(e[i],i,n))&&o.push(a);else for(i in e)null!=(a=t(e[i],i,n))&&o.push(a);return ie(o)},guid:1,support:ve}),"function"==typeof Symbol&&(De.fn[Symbol.iterator]=ce[Symbol.iterator]),De.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(e,t){se["[object "+t+"]"]=t.toLowerCase()});var Ce=ce.pop,_e=ce.sort,Ae=ce.splice,ke="[\\x20\\t\\r\\n\\f]",Ne=new RegExp("^"+ke+"+|((?:^|[^\\\\])(?:\\\\.)*)"+ke+"+$","g");De.contains=function(e,t){var n=t&&t.parentNode;return e===n||!(!n||1!==n.nodeType||!(e.contains?e.contains(n):e.compareDocumentPosition&&16&e.compareDocumentPosition(n)))};var je=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\x80-\uFFFF\w-]/g;De.escapeSelector=function(e){return(e+"").replace(je,t)};var Ie=xe,Le=oe;!function(){function t(){try{return k.activeElement}catch(e){}}function p(e,t,n,r){var a,i,o,s,l,u,c,f=t&&t.ownerDocument,d=t?t.nodeType:9;if(n=n||[],"string"!=typeof e||!e||1!==d&&9!==d&&11!==d)return n;if(!r&&(x(t),t=t||k,j)){if(11!==d&&(l=te.exec(e)))if(a=l[1]){if(9===d){if(!(o=t.getElementById(a)))return n;if(o.id===a)return E.call(n,o),n}else if(f&&(o=f.getElementById(a))&&p.contains(t,o)&&o.id===a)return E.call(n,o),n}else{if(l[2])return E.apply(n,t.getElementsByTagName(e)),n;if((a=l[3])&&t.getElementsByClassName)return E.apply(n,t.getElementsByClassName(a)),n}if(!(q[e+" "]||I&&I.test(e))){if(c=e,f=t,1===d&&(J.test(e)||G.test(e))){for((f=ne.test(e)&&g(t.parentNode)||t)==t&&ve.scope||((s=t.getAttribute("id"))?s=De.escapeSelector(s):t.setAttribute("id",s=R)),i=(u=m(e)).length;i--;)u[i]=(s?"#"+s:":scope")+" "+v(u[i]);c=u.join(",")}try{return E.apply(n,f.querySelectorAll(c)),n}catch(h){q(e,!0)}finally{s===R&&t.removeAttribute("id")}}}return T(e.replace(Ne,"$1"),t,n,r)}function e(){function n(e,t){return r.push(e+" ")>D.cacheLength&&delete n[r.shift()],n[e+" "]=t}var r=[];return n}function n(e){return e[R]=!0,e}function r(e){var t=k.createElement("fieldset");try{return!!e(t)}catch(n){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function a(t){return function(e){return ue(e,"input")&&e.type===t}}function i(t){return function(e){return(ue(e,"input")||ue(e,"button"))&&e.type===t}}function o(t){return function(e){return"form"in e?e.parentNode&&!1===e.disabled?"label"in e?"label"in e.parentNode?e.parentNode.disabled===t:e.disabled===t:e.isDisabled===t||e.isDisabled!==!t&&oe(e)===t:e.disabled===t:"label"in e&&e.disabled===t}}function s(o){return n(function(i){return i=+i,n(function(e,t){for(var n,r=o([],e.length,i),a=r.length;a--;)e[n=r[a]]&&(e[n]=!(t[n]=e[n]))})})}function g(e){return e&&"undefined"!=typeof e.getElementsByTagName&&e}function x(e){var t,n=e?e.ownerDocument||e:Ie;return n!=k&&9===n.nodeType&&n.documentElement&&(N=(k=n).documentElement,j=!De.isXMLDoc(k),L=N.matches||N.webkitMatchesSelector||N.msMatchesSelector,N.msMatchesSelector&&Ie!=k&&(t=k.defaultView)&&t.top!==t&&t.addEventListener("unload",ie),ve.getById=r(function(e){return N.appendChild(e).id=De.expando,!k.getElementsByName||!k.getElementsByName(De.expando).length}),ve.disconnectedMatch=r(function(e){return L.call(e,"*")}),ve.scope=r(function(){return k.querySelectorAll(":scope")}),ve.cssHas=r(function(){try{return k.querySelector(":has(*,:jqfake)"),!1}catch(e){return!0}}),ve.getById?(D.filter.ID=function(e){var t=e.replace(re,ae);return function(e){return e.getAttribute("id")===t}},D.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&j){var n=t.getElementById(e);return n?[n]:[]}}):(D.filter.ID=function(e){var n=e.replace(re,ae);return function(e){var t="undefined"!=typeof e.getAttributeNode&&e.getAttributeNode("id");return t&&t.value===n}},D.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&j){var n,r,a,i=t.getElementById(e);if(i){if((n=i.getAttributeNode("id"))&&n.value===e)return[i];for(a=t.getElementsByName(e),r=0;i=a[r++];)if((n=i.getAttributeNode("id"))&&n.value===e)return[i]}return[]}}),D.find.TAG=function(e,t){return"undefined"!=typeof t.getElementsByTagName?t.getElementsByTagName(e):t.querySelectorAll(e)},D.find.CLASS=function(e,t){if("undefined"!=typeof t.getElementsByClassName&&j)return t.getElementsByClassName(e)},I=[],r(function(e){var t;N.appendChild(e).innerHTML="<a id='"+R+"' href='' disabled='disabled'></a><select id='"+R+"-\r\\' disabled='disabled'><option selected=''></option></select>",e.querySelectorAll("[selected]").length||I.push("\\["+ke+"*(?:value|"+$+")"),e.querySelectorAll("[id~="+R+"-]").length||I.push("~="),e.querySelectorAll("a#"+R+"+*").length||I.push(".#.+[+~]"),e.querySelectorAll(":checked").length||I.push(":checked"),(t=k.createElement("input")).setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),N.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&I.push(":enabled",":disabled"),(t=k.createElement("input")).setAttribute("name",""),e.appendChild(t),e.querySelectorAll("[name='']").length||I.push("\\["+ke+"*name"+ke+"*="+ke+"*(?:''|\"\")")}),ve.cssHas||I.push(":has"),I=I.length&&new RegExp(I.join("|")),W=function(e,t){if(e===t)return A=!0,0;var n=!e.compareDocumentPosition-!t.compareDocumentPosition;return n||(1&(n=(e.ownerDocument||e)==(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!ve.sortDetached&&t.compareDocumentPosition(e)===n?e===k||e.ownerDocument==Ie&&p.contains(Ie,e)?-1:t===k||t.ownerDocument==Ie&&p.contains(Ie,t)?1:_?de.call(_,e)-de.call(_,t):0:4&n?-1:1)}),k}function l(){}function m(e,t){var n,r,a,i,o,s,l,u=M[e+" "];if(u)return t?0:u.slice(0);for(o=e,s=[],l=D.preFilter;o;){for(i in n&&!(r=V.exec(o))||(r&&(o=o.slice(r[0].length)||o),s.push(a=[])),n=!1,(r=G.exec(o))&&(n=r.shift(),a.push({value:n,type:r[0].replace(Ne," ")}),o=o.slice(n.length)),D.filter)!(r=K[i].exec(o))||l[i]&&!(r=l[i](r))||(n=r.shift(),a.push({value:n,type:i,matches:r}),o=o.slice(n.length));if(!n)break}return t?o.length:o?p.error(e):M(e,s).slice(0)}function v(e){for(var t=0,n=e.length,r="";t<n;t++)r+=e[t].value;return r}function f(o,e,t){var s=e.dir,l=e.next,u=l||s,c=t&&"parentNode"===u,f=P++;return e.first?function(e,t,n){for(;e=e[s];)if(1===e.nodeType||c)return o(e,t,n);return!1}:function(e,t,n){var r,a,i=[F,f];if(n){for(;e=e[s];)if((1===e.nodeType||c)&&o(e,t,n))return!0}else for(;e=e[s];)if(1===e.nodeType||c)if(a=e[R]||(e[R]={}),l&&ue(e,l))e=e[s]||e;else{if((r=a[u])&&r[0]===F&&r[1]===f)return i[2]=r[2];if((a[u]=i)[2]=o(e,t,n))return!0}return!1}}function d(a){return 1<a.length?function(e,t,n){for(var r=a.length;r--;)if(!a[r](e,t,n))return!1;return!0}:a[0]}function y(e,t,n){for(var r=0,a=t.length;r<a;r++)p(e,t[r],n);return n}function w(e,t,n,r,a){for(var i,o=[],s=0,l=e.length,u=null!=t;s<l;s++)(i=e[s])&&(n&&!n(i,r,a)||(o.push(i),u&&t.push(s)));return o}function b(h,p,g,m,v,e){return m&&!m[R]&&(m=b(m)),v&&!v[R]&&(v=b(v,e)),n(function(e,t,n,r){var a,i,o,s,l=[],u=[],c=t.length,f=e||y(p||"*",n.nodeType?[n]:n,[]),d=!h||!e&&p?f:w(f,l,h,n,r);if(g?g(d,s=v||(e?h:c||m)?[]:t,n,r):s=d,m)for(a=w(s,u),m(a,[],n,r),i=a.length;i--;)(o=a[i])&&(s[u[i]]=!(d[u[i]]=o));if(e){if(v||h){if(v){for(a=[],i=s.length;i--;)(o=s[i])&&a.push(d[i]=o);v(null,s=[],a,r)}for(i=s.length;i--;)(o=s[i])&&-1<(a=v?de.call(e,o):l[i])&&(e[a]=!(t[a]=o))}}else s=w(s===t?s.splice(c,s.length):s),v?v(null,t,s,r):E.apply(t,s)})}function h(e){for(var a,t,n,r=e.length,i=D.relative[e[0].type],o=i||D.relative[" "],s=i?1:0,l=f(function(e){return e===a},o,!0),u=f(function(e){return-1<de.call(a,e)},o,!0),c=[function(e,t,n){var r=!i&&(n||t!=C)||((a=t).nodeType?l(e,t,n):u(e,t,n));return a=null,r}];s<r;s++)if(t=D.relative[e[s].type])c=[f(d(c),t)];else{if((t=D.filter[e[s].type].apply(null,e[s].matches))[R]){for(n=++s;n<r&&!D.relative[e[n].type];n++);return b(1<s&&d(c),1<s&&v(e.slice(0,s-1).concat({value:" "===e[s-2].type?"*":""})).replace(Ne,"$1"),t,s<n&&h(e.slice(s,n)),n<r&&h(e=e.slice(n)),n<r&&v(e))}c.push(t)}return d(c)}function u(m,v){var y=0<v.length,b=0<m.length,e=function(e,t,n,r,a){var i,o,s,l=0,u="0",c=e&&[],f=[],d=C,h=e||b&&D.find.TAG("*",a),p=F+=null==d?1:Math.random()||.1,g=h.length;for(a&&(C=t==k||t||a);u!==g&&null!=(i=h[u]);u++){if(b&&i){for(o=0,t||i.ownerDocument==k||(x(i),n=!j);s=m[o++];)if(s(i,t||k,n)){E.call(r,i);break}a&&(F=p)}y&&((i=!s&&i)&&l--,e&&c.push(i))}if(l+=u,y&&u!==l){for(o=0;s=v[o++];)s(c,f,t,n);if(e){if(0<l)for(;u--;)c[u]||f[u]||(f[u]=Ce.call(r));f=w(f)}E.apply(r,f),a&&!e&&0<f.length&&1<l+v.length&&De.uniqueSort(r)}return a&&(F=p,C=d),c};return y?n(e):e}function S(e,t){var n,r=[],a=[],i=O[e+" "];if(!i){for(t||(t=m(e)),n=t.length;n--;)(i=h(t[n]))[R]?r.push(i):a.push(i);(i=O(e,u(a,r))).selector=e}return i}function T(e,t,n,r){var a,i,o,s,l,u="function"==typeof e&&e,c=!r&&m(e=u.selector||e);if(n=n||[],1===c.length){if(2<(i=c[0]=c[0].slice(0)).length&&"ID"===(o=i[0]).type&&9===t.nodeType&&j&&D.relative[i[1].type]){if(!(t=(D.find.ID(o.matches[0].replace(re,ae),t)||[])[0]))return n;u&&(t=t.parentNode),e=e.slice(i.shift().value.length)}for(a=K.needsContext.test(e)?0:i.length;a--&&(o=i[a],!D.relative[s=o.type]);)if((l=D.find[s])&&(r=l(o.matches[0].replace(re,ae),ne.test(i[0].type)&&g(t.parentNode)||t))){if(i.splice(a,1),!(e=r.length&&v(i)))return E.apply(n,r),n;break}}return(u||S(e,c))(r,t,!j,n,!t||ne.test(e)&&g(t.parentNode)||t),n}var c,D,C,_,A,k,N,j,I,L,E=Le,R=De.expando,F=0,P=0,H=e(),M=e(),O=e(),q=e(),W=function(e,t){return e===t&&(A=!0),0},$="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",B="(?:\\\\[\\da-fA-F]{1,6}"+ke+"?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",U="\\["+ke+"*("+B+")(?:"+ke+"*([*^$|!~]?=)"+ke+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+B+"))|)"+ke+"*\\]",z=":("+B+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+U+")*)|.*)\\)|)",X=new RegExp(ke+"+","g"),V=new RegExp("^"+ke+"*,"+ke+"*"),G=new RegExp("^"+ke+"*([>+~]|"+ke+")"+ke+"*"),J=new RegExp(ke+"|>"),Y=new RegExp(z),Z=new RegExp("^"+B+"$"),K={ID:new RegExp("^#("+B+")"),CLASS:new RegExp("^\\.("+B+")"),TAG:new RegExp("^("+B+"|[*])"),ATTR:new RegExp("^"+U),PSEUDO:new RegExp("^"+z),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+ke+"*(even|odd|(([+-]|)(\\d*)n|)"+ke+"*(?:([+-]|)"+ke+"*(\\d+)|))"+ke+"*\\)|)","i"),bool:new RegExp("^(?:"+$+")$","i"),needsContext:new RegExp("^"+ke+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+ke+"*((?:-\\d)?\\d*)"+ke+"*\\)|)(?=[^-]|$)","i")},Q=/^(?:input|select|textarea|button)$/i,ee=/^h\d$/i,te=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ne=/[+~]/,re=new RegExp("\\\\[\\da-fA-F]{1,6}"+ke+"?|\\\\([^\\r\\n\\f])","g"),ae=function(e,t){var n="0x"+e.slice(1)-65536;return t||(n<0?String.fromCharCode(n+65536):String.fromCharCode(n>>10|55296,1023&n|56320))},ie=function(){x()},oe=f(function(e){return!0===e.disabled&&ue(e,"fieldset")},{dir:"parentNode",next:"legend"});try{E.apply(ce=fe.call(Ie.childNodes),Ie.childNodes),ce[Ie.childNodes.length].nodeType}catch(se){E={apply:function(e,t){Le.apply(e,fe.call(t))},call:function(e){Le.apply(e,fe.call(arguments,1))}}}for(c in p.matches=function(e,t){return p(e,null,null,t)},p.matchesSelector=function(e,t){if(x(e),j&&!q[t+" "]&&(!I||!I.test(t)))try{var n=L.call(e,t);if(n||ve.disconnectedMatch||e.document&&11!==e.document.nodeType)return n}catch(se){q(t,!0)}return 0<p(t,k,null,[e]).length},p.contains=function(e,t){return(e.ownerDocument||e)!=k&&x(e),De.contains(e,t)},p.attr=function(e,t){(e.ownerDocument||e)!=k&&x(e);var n=D.attrHandle[t.toLowerCase()],r=n&&pe.call(D.attrHandle,t.toLowerCase())?n(e,t,!j):undefined;return r!==undefined?r:e.getAttribute(t)},p.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},De.uniqueSort=function(e){var t,n=[],r=0,a=0;if(A=!ve.sortStable,_=!ve.sortStable&&fe.call(e,0),_e.call(e,W),A){for(;t=e[a++];)t===e[a]&&(r=n.push(a));for(;r--;)Ae.call(e,n[r],1)}return _=null,e},De.fn.uniqueSort=function(){return this.pushStack(De.uniqueSort(fe.apply(this)))},(D=De.expr={cacheLength:50,createPseudo:n,match:K,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(re,ae),e[3]=(e[3]||e[4]||e[5]||"").replace(re,ae),"~="===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]||p.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]&&p.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return K.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&Y.test(n)&&(t=m(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(re,ae).toLowerCase();return"*"===e?function(){return!0}:function(e){return ue(e,t)}},CLASS:function(e){var t=H[e+" "];return t||(t=new RegExp("(^|"+ke+")"+e+"("+ke+"|$)"))&&H(e,function(e){return t.test("string"==typeof e.className&&e.className||"undefined"!=typeof e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(n,r,a){return function(e){var t=p.attr(e,n);return null==t?"!="===r:!r||(t+="","="===r?t===a:"!="===r?t!==a:"^="===r?a&&0===t.indexOf(a):"*="===r?a&&-1<t.indexOf(a):"$="===r?a&&t.slice(-a.length)===a:"~="===r?-1<(" "+t.replace(X," ")+" ").indexOf(a):"|="===r&&(t===a||t.slice(0,a.length+1)===a+"-"))}},CHILD:function(h,e,t,p,g){var m="nth"!==h.slice(0,3),v="last"!==h.slice(-4),y="of-type"===e;return 1===p&&0===g?function(e){return!!e.parentNode}:function(e,t,n){var r,a,i,o,s,l=m!==v?"nextSibling":"previousSibling",u=e.parentNode,c=y&&e.nodeName.toLowerCase(),f=!n&&!y,d=!1;if(u){if(m){for(;l;){for(i=e;i=i[l];)if(y?ue(i,c):1===i.nodeType)return!1;s=l="only"===h&&!s&&"nextSibling"}return!0}if(s=[v?u.firstChild:u.lastChild],v&&f){for(d=(o=(r=(a=u[R]||(u[R]={}))[h]||[])[0]===F&&r[1])&&r[2],i=o&&u.childNodes[o];i=++o&&i&&i[l]||(d=o=0)||s.pop();)if(1===i.nodeType&&++d&&i===e){a[h]=[F,o,d];break}}else if(f&&(d=o=(r=(a=e[R]||(e[R]={}))[h]||[])[0]===F&&r[1]),!1===d)for(;(i=++o&&i&&i[l]||(d=o=0)||s.pop())&&((y?!ue(i,c):1!==i.nodeType)||!++d||(f&&((a=i[R]||(i[R]={}))[h]=[F,d]),i!==e)););return(d-=g)===p||d%p==0&&0<=d/p}}},PSEUDO:function(e,i){var t,o=D.pseudos[e]||D.setFilters[e.toLowerCase()]||p.error("unsupported pseudo: "+e);return o[R]?o(i):1<o.length?(t=[e,e,"",i],D.setFilters.hasOwnProperty(e.toLowerCase())?n(function(e,t){for(var n,r=o(e,i),a=r.length;a--;)e[n=de.call(e,r[a])]=!(t[n]=r[a])}):function(e){return o(e,0,t)}):o}},pseudos:{not:n(function(e){var r=[],a=[],s=S(e.replace(Ne,"$1"));return s[R]?n(function(e,t,n,r){for(var a,i=s(e,null,r,[]),o=e.length;o--;)(a=i[o])&&(e[o]=!(t[o]=a))}):function(e,t,n){return r[0]=e,s(r,null,n,a),r[0]=null,!a.pop()}}),has:n(function(t){return function(e){return 0<p(t,e).length}}),contains:n(function(t){return t=t.replace(re,ae),function(e){return-1<(e.textContent||De.text(e)).indexOf(t)}}),lang:n(function(n){return Z.test(n||"")||p.error("unsupported lang: "+n),n=n.replace(re,ae).toLowerCase(),function(e){var t;do{if(t=j?e.lang:e.getAttribute("xml:lang")||e.getAttribute("lang"))return(t=t.toLowerCase())===n||0===t.indexOf(n+"-")}while((e=e.parentNode)&&1===e.nodeType);return!1}}),target:function(e){var t=le.location&&le.location.hash;return t&&t.slice(1)===e.id},root:function(e){return e===N},focus:function(e){return e===t()&&k.hasFocus()&&!!(e.type||e.href||~e.tabIndex)},enabled:o(!1),disabled:o(!0),checked:function(e){return ue(e,"input")&&!!e.checked||ue(e,"option")&&!!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(e.nodeType<6)return!1;return!0},parent:function(e){return!D.pseudos.empty(e)},header:function(e){return ee.test(e.nodeName)},input:function(e){return Q.test(e.nodeName)},button:function(e){return ue(e,"input")&&"button"===e.type||ue(e,"button")},
|
2
|
+
text:function(e){var t;return ue(e,"input")&&"text"===e.type&&(null==(t=e.getAttribute("type"))||"text"===t.toLowerCase())},first:s(function(){return[0]}),last:s(function(e,t){return[t-1]}),eq:s(function(e,t,n){return[n<0?n+t:n]}),even:s(function(e,t){for(var n=0;n<t;n+=2)e.push(n);return e}),odd:s(function(e,t){for(var n=1;n<t;n+=2)e.push(n);return e}),lt:s(function(e,t,n){var r;for(r=n<0?n+t:t<n?t:n;0<=--r;)e.push(r);return e}),gt:s(function(e,t,n){for(var r=n<0?n+t:n;++r<t;)e.push(r);return e})}}).pseudos.nth=D.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})D.pseudos[c]=a(c);for(c in{submit:!0,reset:!0})D.pseudos[c]=i(c);l.prototype=D.filters=D.pseudos,D.setFilters=new l,ve.sortStable=R.split("").sort(W).join("")===R,x(),ve.sortDetached=r(function(e){return 1&e.compareDocumentPosition(k.createElement("fieldset"))}),De.find=p,De.expr[":"]=De.expr.pseudos,De.unique=De.uniqueSort,p.compile=S,p.select=T,p.setDocument=x,p.tokenize=m,p.escape=De.escapeSelector,p.getText=De.text,p.isXML=De.isXMLDoc,p.selectors=De.expr,p.support=De.support,p.uniqueSort=De.uniqueSort}();var Ee=function(e,t,n){for(var r=[],a=n!==undefined;(e=e[t])&&9!==e.nodeType;)if(1===e.nodeType){if(a&&De(e).is(n))break;r.push(e)}return r},Re=function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n},Fe=De.expr.match.needsContext,Pe=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;De.filter=function(e,t,n){var r=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===r.nodeType?De.find.matchesSelector(r,e)?[r]:[]:De.find.matches(e,De.grep(t,function(e){return 1===e.nodeType}))},De.fn.extend({find:function(e){var t,n,r=this.length,a=this;if("string"!=typeof e)return this.pushStack(De(e).filter(function(){for(t=0;t<r;t++)if(De.contains(a[t],this))return!0}));for(n=this.pushStack([]),t=0;t<r;t++)De.find(e,a[t],n);return 1<r?De.uniqueSort(n):n},filter:function(e){return this.pushStack(n(this,e||[],!1))},not:function(e){return this.pushStack(n(this,e||[],!0))},is:function(e){return!!n(this,"string"==typeof e&&Fe.test(e)?De(e):e||[],!1).length}});var He,Me=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(De.fn.init=function(e,t,n){var r,a;if(!e)return this;if(n=n||He,"string"!=typeof e)return e.nodeType?(this[0]=e,this.length=1,this):ye(e)?n.ready!==undefined?n.ready(e):e(De):De.makeArray(e,this);if(!(r="<"===e[0]&&">"===e[e.length-1]&&3<=e.length?[null,e,null]:Me.exec(e))||!r[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(r[1]){if(t=t instanceof De?t[0]:t,De.merge(this,De.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:xe,!0)),Pe.test(r[1])&&De.isPlainObject(t))for(r in t)ye(this[r])?this[r](t[r]):this.attr(r,t[r]);return this}return(a=xe.getElementById(r[2]))&&(this[0]=a,this.length=1),this}).prototype=De.fn,He=De(xe);var Oe=/^(?:parents|prev(?:Until|All))/,qe={children:!0,contents:!0,next:!0,prev:!0};De.fn.extend({has:function(e){var t=De(e,this),n=t.length;return this.filter(function(){for(var e=0;e<n;e++)if(De.contains(this,t[e]))return!0})},closest:function(e,t){var n,r=0,a=this.length,i=[],o="string"!=typeof e&&De(e);if(!Fe.test(e))for(;r<a;r++)for(n=this[r];n&&n!==t;n=n.parentNode)if(n.nodeType<11&&(o?-1<o.index(n):1===n.nodeType&&De.find.matchesSelector(n,e))){i.push(n);break}return this.pushStack(1<i.length?De.uniqueSort(i):i)},index:function(e){return e?"string"==typeof e?de.call(De(e),this[0]):de.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(De.uniqueSort(De.merge(this.get(),De(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),De.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return Ee(e,"parentNode")},parentsUntil:function(e,t,n){return Ee(e,"parentNode",n)},next:function(e){return r(e,"nextSibling")},prev:function(e){return r(e,"previousSibling")},nextAll:function(e){return Ee(e,"nextSibling")},prevAll:function(e){return Ee(e,"previousSibling")},nextUntil:function(e,t,n){return Ee(e,"nextSibling",n)},prevUntil:function(e,t,n){return Ee(e,"previousSibling",n)},siblings:function(e){return Re((e.parentNode||{}).firstChild,e)},children:function(e){return Re(e.firstChild)},contents:function(e){return null!=e.contentDocument&&ae(e.contentDocument)?e.contentDocument:(ue(e,"template")&&(e=e.content||e),De.merge([],e.childNodes))}},function(r,a){De.fn[r]=function(e,t){var n=De.map(this,a,e);return"Until"!==r.slice(-5)&&(t=e),t&&"string"==typeof t&&(n=De.filter(t,n)),1<this.length&&(qe[r]||De.uniqueSort(n),Oe.test(r)&&n.reverse()),this.pushStack(n)}});var We=/[^\x20\t\r\n\f]+/g;De.Callbacks=function(r){r="string"==typeof r?c(r):De.extend({},r);var a,e,t,n,i=[],o=[],s=-1,l=function(){for(n=n||r.once,t=a=!0;o.length;s=-1)for(e=o.shift();++s<i.length;)!1===i[s].apply(e[0],e[1])&&r.stopOnFalse&&(s=i.length,e=!1);r.memory||(e=!1),a=!1,n&&(i=e?[]:"")},u={add:function(){return i&&(e&&!a&&(s=i.length-1,o.push(e)),function n(e){De.each(e,function(e,t){ye(t)?r.unique&&u.has(t)||i.push(t):t&&t.length&&"string"!==m(t)&&n(t)})}(arguments),e&&!a&&l()),this},remove:function(){return De.each(arguments,function(e,t){for(var n;-1<(n=De.inArray(t,i,n));)i.splice(n,1),n<=s&&s--}),this},has:function(e){return e?-1<De.inArray(e,i):0<i.length},empty:function(){return i&&(i=[]),this},disable:function(){return n=o=[],i=e="",this},disabled:function(){return!i},lock:function(){return n=o=[],e||a||(i=e=""),this},locked:function(){return!!n},fireWith:function(e,t){return n||(t=[e,(t=t||[]).slice?t.slice():t],o.push(t),a||l()),this},fire:function(){return u.fireWith(this,arguments),this},fired:function(){return!!t}};return u},De.extend({Deferred:function(e){var i=[["notify","progress",De.Callbacks("memory"),De.Callbacks("memory"),2],["resolve","done",De.Callbacks("once memory"),De.Callbacks("once memory"),0,"resolved"],["reject","fail",De.Callbacks("once memory"),De.Callbacks("once memory"),1,"rejected"]],a="pending",o={state:function(){return a},always:function(){return s.done(arguments).fail(arguments),this},"catch":function(e){return o.then(null,e)},pipe:function(){var a=arguments;return De.Deferred(function(r){De.each(i,function(e,t){var n=ye(a[t[4]])&&a[t[4]];s[t[1]](function(){var e=n&&n.apply(this,arguments);e&&ye(e.promise)?e.promise().progress(r.notify).done(r.resolve).fail(r.reject):r[t[0]+"With"](this,n?[e]:arguments)})}),a=null}).promise()},then:function(t,n,r){function u(i,o,s,l){return function(){var n=this,r=arguments,t=function(){var e,t;if(!(i<c)){if((e=s.apply(n,r))===o.promise())throw new TypeError("Thenable self-resolution");t=e&&("object"==typeof e||"function"==typeof e)&&e.then,ye(t)?l?t.call(e,u(c,o,f,l),u(c,o,d,l)):(c++,t.call(e,u(c,o,f,l),u(c,o,d,l),u(c,o,f,o.notifyWith))):(s!==f&&(n=undefined,r=[e]),(l||o.resolveWith)(n,r))}},a=l?t:function(){try{t()}catch(e){De.Deferred.exceptionHook&&De.Deferred.exceptionHook(e,a.error),c<=i+1&&(s!==d&&(n=undefined,r=[e]),o.rejectWith(n,r))}};i?a():(De.Deferred.getErrorHook?a.error=De.Deferred.getErrorHook():De.Deferred.getStackHook&&(a.error=De.Deferred.getStackHook()),le.setTimeout(a))}}var c=0;return De.Deferred(function(e){i[0][3].add(u(0,e,ye(r)?r:f,e.notifyWith)),i[1][3].add(u(0,e,ye(t)?t:f)),i[2][3].add(u(0,e,ye(n)?n:d))}).promise()},promise:function(e){return null!=e?De.extend(e,o):o}},s={};return De.each(i,function(e,t){var n=t[2],r=t[5];o[t[1]]=n.add,r&&n.add(function(){a=r},i[3-e][2].disable,i[3-e][3].disable,i[0][2].lock,i[0][3].lock),n.add(t[3].fire),s[t[0]]=function(){return s[t[0]+"With"](this===s?undefined:this,arguments),this},s[t[0]+"With"]=n.fireWith}),o.promise(s),e&&e.call(s,s),s},when:function(e){var n=arguments.length,t=n,r=Array(t),a=fe.call(arguments),i=De.Deferred(),o=function(t){return function(e){r[t]=this,a[t]=1<arguments.length?fe.call(arguments):e,--n||i.resolveWith(r,a)}};if(n<=1&&(l(e,i.done(o(t)).resolve,i.reject,!n),"pending"===i.state()||ye(a[t]&&a[t].then)))return i.then();for(;t--;)l(a[t],o(t),i.reject);return i.promise()}});var $e=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;De.Deferred.exceptionHook=function(e,t){le.console&&le.console.warn&&e&&$e.test(e.name)&&le.console.warn("jQuery.Deferred exception: "+e.message,e.stack,t)},De.readyException=function(e){le.setTimeout(function(){throw e})};var Be=De.Deferred();De.fn.ready=function(e){return Be.then(e)["catch"](function(e){De.readyException(e)}),this},De.extend({isReady:!1,readyWait:1,ready:function(e){(!0===e?--De.readyWait:De.isReady)||(De.isReady=!0)!==e&&0<--De.readyWait||Be.resolveWith(xe,[De])}}),De.ready.then=Be.then,"complete"===xe.readyState||"loading"!==xe.readyState&&!xe.documentElement.doScroll?le.setTimeout(De.ready):(xe.addEventListener("DOMContentLoaded",a),le.addEventListener("load",a));var Ue=function(e,t,n,r,a,i,o){var s=0,l=e.length,u=null==n;if("object"===m(n))for(s in a=!0,n)Ue(e,t,s,n[s],!0,i,o);else if(r!==undefined&&(a=!0,ye(r)||(o=!0),u&&(o?(t.call(e,r),t=null):(u=t,t=function(e,t,n){return u.call(De(e),n)})),t))for(;s<l;s++)t(e[s],n,o?r:r.call(e[s],s,t(e[s],n)));return a?e:u?t.call(e):l?t(e[0],n):i},ze=/^-ms-/,Xe=/-([a-z])/g,Ve=function(e){return 1===e.nodeType||9===e.nodeType||!+e.nodeType};o.uid=1,o.prototype={cache:function(e){var t=e[this.expando];return t||(t={},Ve(e)&&(e.nodeType?e[this.expando]=t:Object.defineProperty(e,this.expando,{value:t,configurable:!0}))),t},set:function(e,t,n){var r,a=this.cache(e);if("string"==typeof t)a[h(t)]=n;else for(r in t)a[h(r)]=t[r];return a},get:function(e,t){return t===undefined?this.cache(e):e[this.expando]&&e[this.expando][h(t)]},access:function(e,t,n){return t===undefined||t&&"string"==typeof t&&n===undefined?this.get(e,t):(this.set(e,t,n),n!==undefined?n:t)},remove:function(e,t){var n,r=e[this.expando];if(r!==undefined){if(t!==undefined){n=(t=Array.isArray(t)?t.map(h):(t=h(t))in r?[t]:t.match(We)||[]).length;for(;n--;)delete r[t[n]]}(t===undefined||De.isEmptyObject(r))&&(e.nodeType?e[this.expando]=undefined:delete e[this.expando])}},hasData:function(e){var t=e[this.expando];return t!==undefined&&!De.isEmptyObject(t)}};var Ge=new o,Je=new o,Ye=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,Ze=/[A-Z]/g;De.extend({hasData:function(e){return Je.hasData(e)||Ge.hasData(e)},data:function(e,t,n){return Je.access(e,t,n)},removeData:function(e,t){Je.remove(e,t)},_data:function(e,t,n){return Ge.access(e,t,n)},_removeData:function(e,t){Ge.remove(e,t)}}),De.fn.extend({data:function(n,e){var t,r,a,i=this[0],o=i&&i.attributes;if(n!==undefined)return"object"==typeof n?this.each(function(){Je.set(this,n)}):Ue(this,function(e){var t;if(i&&e===undefined)return(t=Je.get(i,n))!==undefined?t:(t=p(i,n))!==undefined?t:void 0;this.each(function(){Je.set(this,n,e)})},null,e,1<arguments.length,null,!0);if(this.length&&(a=Je.get(i),1===i.nodeType&&!Ge.get(i,"hasDataAttrs"))){for(t=o.length;t--;)o[t]&&0===(r=o[t].name).indexOf("data-")&&(r=h(r.slice(5)),p(i,r,a[r]));Ge.set(i,"hasDataAttrs",!0)}return a},removeData:function(e){return this.each(function(){Je.remove(this,e)})}}),De.extend({queue:function(e,t,n){var r;if(e)return t=(t||"fx")+"queue",r=Ge.get(e,t),n&&(!r||Array.isArray(n)?r=Ge.access(e,t,De.makeArray(n)):r.push(n)),r||[]},dequeue:function(e,t){t=t||"fx";var n=De.queue(e,t),r=n.length,a=n.shift(),i=De._queueHooks(e,t),o=function(){De.dequeue(e,t)};"inprogress"===a&&(a=n.shift(),r--),a&&("fx"===t&&n.unshift("inprogress"),delete i.stop,a.call(e,o,i)),!r&&i&&i.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return Ge.get(e,n)||Ge.access(e,n,{empty:De.Callbacks("once memory").add(function(){Ge.remove(e,[t+"queue",n])})})}}),De.fn.extend({queue:function(t,n){var e=2;return"string"!=typeof t&&(n=t,t="fx",e--),arguments.length<e?De.queue(this[0],t):n===undefined?this:this.each(function(){var e=De.queue(this,t,n);De._queueHooks(this,t),"fx"===t&&"inprogress"!==e[0]&&De.dequeue(this,t)})},dequeue:function(e){return this.each(function(){De.dequeue(this,e)})},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){var n,r=1,a=De.Deferred(),i=this,o=this.length,s=function(){--r||a.resolveWith(i,[i])};for("string"!=typeof e&&(t=e,e=undefined),e=e||"fx";o--;)(n=Ge.get(i[o],e+"queueHooks"))&&n.empty&&(r++,n.empty.add(s));return s(),a.promise(t)}});var Ke=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,Qe=new RegExp("^(?:([+-])=|)("+Ke+")([a-z%]*)$","i"),et=["Top","Right","Bottom","Left"],tt=xe.documentElement,nt=function(e){return De.contains(e.ownerDocument,e)},rt={composed:!0};tt.getRootNode&&(nt=function(e){return De.contains(e.ownerDocument,e)||e.getRootNode(rt)===e.ownerDocument});var at=function(e,t){return"none"===(e=t||e).style.display||""===e.style.display&&nt(e)&&"none"===De.css(e,"display")},it={};De.fn.extend({show:function(){return b(this,!0)},hide:function(){return b(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each(function(){at(this)?De(this).show():De(this).hide()})}});var ot,st,lt=/^(?:checkbox|radio)$/i,ut=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,ct=/^$|^module$|\/(?:java|ecma)script/i;ot=xe.createDocumentFragment().appendChild(xe.createElement("div")),(st=xe.createElement("input")).setAttribute("type","radio"),st.setAttribute("checked","checked"),st.setAttribute("name","t"),ot.appendChild(st),ve.checkClone=ot.cloneNode(!0).cloneNode(!0).lastChild.checked,ot.innerHTML="<textarea>x</textarea>",ve.noCloneChecked=!!ot.cloneNode(!0).lastChild.defaultValue,ot.innerHTML="<option></option>",ve.option=!!ot.lastChild;var ft={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,"",""]};ft.tbody=ft.tfoot=ft.colgroup=ft.caption=ft.thead,ft.th=ft.td,ve.option||(ft.optgroup=ft.option=[1,"<select multiple='multiple'>","</select>"]);var dt=/<|&#?\w+;/,ht=/^([^.]*)(?:\.(.+)|)/;De.event={global:{},add:function(t,e,n,r,a){var i,o,s,l,u,c,f,d,h,p,g,m=Ge.get(t);if(Ve(t))for(n.handler&&(n=(i=n).handler,a=i.selector),a&&De.find.matchesSelector(tt,a),n.guid||(n.guid=De.guid++),(l=m.events)||(l=m.events=Object.create(null)),(o=m.handle)||(o=m.handle=function(e){return void 0!==De&&De.event.triggered!==e.type?De.event.dispatch.apply(t,arguments):undefined}),u=(e=(e||"").match(We)||[""]).length;u--;)h=g=(s=ht.exec(e[u])||[])[1],p=(s[2]||"").split(".").sort(),h&&(f=De.event.special[h]||{},h=(a?f.delegateType:f.bindType)||h,f=De.event.special[h]||{},c=De.extend({type:h,origType:g,data:r,handler:n,guid:n.guid,selector:a,needsContext:a&&De.expr.match.needsContext.test(a),namespace:p.join(".")},i),(d=l[h])||((d=l[h]=[]).delegateCount=0,f.setup&&!1!==f.setup.call(t,r,p,o)||t.addEventListener&&t.addEventListener(h,o)),f.add&&(f.add.call(t,c),c.handler.guid||(c.handler.guid=n.guid)),a?d.splice(d.delegateCount++,0,c):d.push(c),De.event.global[h]=!0)},remove:function(e,t,n,r,a){var i,o,s,l,u,c,f,d,h,p,g,m=Ge.hasData(e)&&Ge.get(e);if(m&&(l=m.events)){for(u=(t=(t||"").match(We)||[""]).length;u--;)if(h=g=(s=ht.exec(t[u])||[])[1],p=(s[2]||"").split(".").sort(),h){for(f=De.event.special[h]||{},d=l[h=(r?f.delegateType:f.bindType)||h]||[],s=s[2]&&new RegExp("(^|\\.)"+p.join("\\.(?:.*\\.|)")+"(\\.|$)"),o=i=d.length;i--;)c=d[i],!a&&g!==c.origType||n&&n.guid!==c.guid||s&&!s.test(c.namespace)||r&&r!==c.selector&&("**"!==r||!c.selector)||(d.splice(i,1),c.selector&&d.delegateCount--,f.remove&&f.remove.call(e,c));o&&!d.length&&(f.teardown&&!1!==f.teardown.call(e,p,m.handle)||De.removeEvent(e,h,m.handle),delete l[h])}else for(h in l)De.event.remove(e,h+t[u],n,r,!0);De.isEmptyObject(l)&&Ge.remove(e,"handle events")}},dispatch:function(e){var t,n,r,a,i,o,s=new Array(arguments.length),l=De.event.fix(e),u=(Ge.get(this,"events")||Object.create(null))[l.type]||[],c=De.event.special[l.type]||{};for(s[0]=l,t=1;t<arguments.length;t++)s[t]=arguments[t];if(l.delegateTarget=this,!c.preDispatch||!1!==c.preDispatch.call(this,l)){for(o=De.event.handlers.call(this,l,u),t=0;(a=o[t++])&&!l.isPropagationStopped();)for(l.currentTarget=a.elem,n=0;(i=a.handlers[n++])&&!l.isImmediatePropagationStopped();)l.rnamespace&&!1!==i.namespace&&!l.rnamespace.test(i.namespace)||(l.handleObj=i,l.data=i.data,(r=((De.event.special[i.origType]||{}).handle||i.handler).apply(a.elem,s))!==undefined&&!1===(l.result=r)&&(l.preventDefault(),l.stopPropagation()));return c.postDispatch&&c.postDispatch.call(this,l),l.result}},handlers:function(e,t){var n,r,a,i,o,s=[],l=t.delegateCount,u=e.target;if(l&&u.nodeType&&!("click"===e.type&&1<=e.button))for(;u!==this;u=u.parentNode||this)if(1===u.nodeType&&("click"!==e.type||!0!==u.disabled)){for(i=[],o={},n=0;n<l;n++)o[a=(r=t[n]).selector+" "]===undefined&&(o[a]=r.needsContext?-1<De(a,this).index(u):De.find(a,this,null,[u]).length),o[a]&&i.push(r);i.length&&s.push({elem:u,handlers:i})}return u=this,l<t.length&&s.push({elem:u,handlers:t.slice(l)}),s},addProp:function(t,e){Object.defineProperty(De.Event.prototype,t,{enumerable:!0,configurable:!0,get:ye(e)?function(){if(this.originalEvent)return e(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[t]},set:function(e){Object.defineProperty(this,t,{enumerable:!0,configurable:!0,writable:!0,value:e})}})},fix:function(e){return e[De.expando]?e:new De.Event(e)},special:{load:{noBubble:!0},click:{setup:function(e){var t=this||e;return lt.test(t.type)&&t.click&&ue(t,"input")&&_(t,"click",!0),!1},trigger:function(e){var t=this||e;return lt.test(t.type)&&t.click&&ue(t,"input")&&_(t,"click"),!0},_default:function(e){var t=e.target;return lt.test(t.type)&&t.click&&ue(t,"input")&&Ge.get(t,"click")||ue(t,"a")}},beforeunload:{postDispatch:function(e){e.result!==undefined&&e.originalEvent&&(e.originalEvent.returnValue=e.result)}}}},De.removeEvent=function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n)},De.Event=function(e,t){if(!(this instanceof De.Event))return new De.Event(e,t);e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||e.defaultPrevented===undefined&&!1===e.returnValue?T:D,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&&De.extend(this,t),this.timeStamp=e&&e.timeStamp||Date.now(),this[De.expando]=!0},De.Event.prototype={constructor:De.Event,isDefaultPrevented:D,isPropagationStopped:D,isImmediatePropagationStopped:D,isSimulated:!1,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=T,e&&!this.isSimulated&&e.preventDefault()},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=T,e&&!this.isSimulated&&e.stopPropagation()},stopImmediatePropagation:function(){var e=this.originalEvent;this.isImmediatePropagationStopped=T,e&&!this.isSimulated&&e.stopImmediatePropagation(),this.stopPropagation()}},De.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,code:!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:!0},De.event.addProp),De.each({focus:"focusin",blur:"focusout"},function(r,a){function i(e){if(xe.documentMode){var t=Ge.get(this,"handle"),n=De.event.fix(e);n.type="focusin"===e.type?"focus":"blur",n.isSimulated=!0,t(e),n.target===n.currentTarget&&t(n)}else De.event.simulate(a,e.target,De.event.fix(e))}De.event.special[r]={setup:function(){var e;if(_(this,r,!0),!xe.documentMode)return!1;(e=Ge.get(this,a))||this.addEventListener(a,i),Ge.set(this,a,(e||0)+1)},trigger:function(){return _(this,r),!0},teardown:function(){var e;if(!xe.documentMode)return!1;(e=Ge.get(this,a)-1)?Ge.set(this,a,e):(this.removeEventListener(a,i),Ge.remove(this,a))},_default:function(e){return Ge.get(e.target,r)},delegateType:a},De.event.special[a]={setup:function(){var e=this.ownerDocument||this.document||this,t=xe.documentMode?this:e,n=Ge.get(t,a);n||(xe.documentMode?this.addEventListener(a,i):e.addEventListener(r,i,!0)),Ge.set(t,a,(n||0)+1)},teardown:function(){var e=this.ownerDocument||this.document||this,t=xe.documentMode?this:e,n=Ge.get(t,a)-1;n?Ge.set(t,a,n):(xe.documentMode?this.removeEventListener(a,i):e.removeEventListener(r,i,!0),Ge.remove(t,a))}}}),De.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(e,i){De.event.special[e]={delegateType:i,bindType:i,handle:function(e){var t,n=this,r=e.relatedTarget,a=e.handleObj;return r&&(r===n||De.contains(n,r))||(e.type=a.origType,t=a.handler.apply(this,arguments),e.type=i),t}}}),De.fn.extend({on:function(e,t,n,r){return C(this,e,t,n,r)},one:function(e,t,n,r){return C(this,e,t,n,r,1)},off:function(e,t,n){var r,a;if(e&&e.preventDefault&&e.handleObj)return r=e.handleObj,De(e.delegateTarget).off(r.namespace?r.origType+"."+r.namespace:r.origType,r.selector,r.handler),this;if("object"!=typeof e)return!1!==t&&"function"!=typeof t||(n=t,t=undefined),!1===n&&(n=D),this.each(function(){De.event.remove(this,e,n,t)});for(a in e)this.off(a,t,e[a]);return this}});var pt=/<script|<style|<link/i,gt=/checked\s*(?:[^=]|=\s*.checked.)/i,mt=/^\s*<!\[CDATA\[|\]\]>\s*$/g;De.extend({htmlPrefilter:function(e){return e},clone:function(e,t,n){var r,a,i,o,s=e.cloneNode(!0),l=nt(e);if(!(ve.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||De.isXMLDoc(e)))for(o=x(s),r=0,a=(i=x(e)).length;r<a;r++)I(i[r],o[r]);if(t)if(n)for(i=i||x(e),o=o||x(s),r=0,a=i.length;r<a;r++)j(i[r],o[r]);else j(e,s);return 0<(o=x(s,"script")).length&&w(o,!l&&x(e,"script")),s},cleanData:function(e){for(var t,n,r,a=De.event.special,i=0;(n=e[i])!==undefined;i++)if(Ve(n)){if(t=n[Ge.expando]){if(t.events)for(r in t.events)a[r]?De.event.remove(n,r):De.removeEvent(n,r,t.handle);n[Ge.expando]=undefined}n[Je.expando]&&(n[Je.expando]=undefined)}}}),De.fn.extend({detach:function(e){return E(this,e,!0)},remove:function(e){return E(this,e)},text:function(e){return Ue(this,function(e){return e===undefined?De.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 L(this,arguments,function(e){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||A(this,e).appendChild(e)})},prepend:function(){return L(this,arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=A(this,e);t.insertBefore(e,t.firstChild)}})},before:function(){return L(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return L(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)})},empty:function(){for(var e,t=0;null!=(e=this[t]);t++)1===e.nodeType&&(De.cleanData(x(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map(function(){return De.clone(this,e,t)})},html:function(e){return Ue(this,function(e){var t=this[0]||{},n=0,r=this.length;if(e===undefined&&1===t.nodeType)return t.innerHTML;if("string"==typeof e&&!pt.test(e)&&!ft[(ut.exec(e)||["",""])[1].toLowerCase()]){e=De.htmlPrefilter(e);try{for(;n<r;n++)1===(t=this[n]||{}).nodeType&&(De.cleanData(x(t,!1)),t.innerHTML=e);t=0}catch(a){}}t&&this.empty().append(e)},null,e,arguments.length)},replaceWith:function(){var n=[];return L(this,arguments,function(e){var t=this.parentNode;De.inArray(this,n)<0&&(De.cleanData(x(this)),t&&t.replaceChild(e,this))},n)}}),De.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,o){De.fn[e]=function(e){for(var t,n=[],r=De(e),a=r.length-1,i=0;i<=a;i++)t=i===a?this:this.clone(!0),De(r[i])[o](t),oe.apply(n,t.get());return this.pushStack(n)}});var vt=new RegExp("^("+Ke+")(?!px)[a-z%]+$","i"),yt=/^--/,bt=function(e){var t=e.ownerDocument.defaultView;return t&&t.opener||(t=le),t.getComputedStyle(e)},xt=function(e,t,n){var r,a,i={};for(a in t)i[a]=e.style[a],e.style[a]=t[a];for(a in r=n.call(e),t)e.style[a]=i[a];return r},wt=new RegExp(et.join("|"),"i");!function(){function e(){if(u){l.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0",u.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",tt.appendChild(l).appendChild(u);var e=le.getComputedStyle(u);n="1%"!==e.top,s=12===t(e.marginLeft),u.style.right="60%",i=36===t(e.right),r=36===t(e.width),u.style.position="absolute",a=12===t(u.offsetWidth/3),tt.removeChild(l),u=null}}function t(e){return Math.round(parseFloat(e))}var n,r,a,i,o,s,l=xe.createElement("div"),u=xe.createElement("div");u.style&&(u.style.backgroundClip="content-box",u.cloneNode(!0).style.backgroundClip="",ve.clearCloneStyle="content-box"===u.style.backgroundClip,De.extend(ve,{boxSizingReliable:function(){return e(),r},pixelBoxStyles:function(){return e(),i},pixelPosition:function(){return e(),n},reliableMarginLeft:function(){return e(),s},scrollboxSize:function(){return e(),a},reliableTrDimensions:function(){var e,t,n,r;return null==o&&(e=xe.createElement("table"),t=xe.createElement("tr"),n=xe.createElement("div"),e.style.cssText="position:absolute;left:-11111px;border-collapse:separate",t.style.cssText="box-sizing:content-box;border:1px solid",t.style.height="1px",n.style.height="9px",n.style.display="block",tt.appendChild(e).appendChild(t).appendChild(n),r=le.getComputedStyle(t),o=parseInt(r.height,10)+parseInt(r.borderTopWidth,10)+parseInt(r.borderBottomWidth,10)===t.offsetHeight,tt.removeChild(e)),o}}))}();var St=["Webkit","Moz","ms"],Tt=xe.createElement("div").style,Dt={},Ct=/^(none|table(?!-c[ea]).+)/,_t={position:"absolute",visibility:"hidden",display:"block"},At={letterSpacing:"0",fontWeight:"400"};De.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=R(e,"opacity");return""===n?"1":n}}}},cssNumber:{animationIterationCount:!0,aspectRatio:!0,borderImageSlice:!0,columnCount:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,scale:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeMiterlimit:!0,strokeOpacity:!0},cssProps:{},style:function(e,t,n,r){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var a,i,o,s=h(t),l=yt.test(t),u=e.style;if(l||(t=H(s)),o=De.cssHooks[t]||De.cssHooks[s],n===undefined)return o&&"get"in o&&(a=o.get(e,!1,r))!==undefined?a:u[t];"string"===(i=typeof n)&&(a=Qe.exec(n))&&a[1]&&(n=v(e,t,a),i="number"),null!=n&&n==n&&("number"!==i||l||(n+=a&&a[3]||(De.cssNumber[s]?"":"px")),ve.clearCloneStyle||""!==n||0!==t.indexOf("background")||(u[t]="inherit"),o&&"set"in o&&(n=o.set(e,n,r))===undefined||(l?u.setProperty(t,n):u[t]=n))}},css:function(e,t,n,r){var a,i,o,s=h(t);return yt.test(t)||(t=H(s)),(o=De.cssHooks[t]||De.cssHooks[s])&&"get"in o&&(a=o.get(e,!0,n)),a===undefined&&(a=R(e,t,r)),"normal"===a&&t in At&&(a=At[t]),""===n||n?(i=parseFloat(a),!0===n||isFinite(i)?i||0:a):a}}),De.each(["height","width"],function(e,l){De.cssHooks[l]={get:function(e,t,n){if(t)return!Ct.test(De.css(e,"display"))||e.getClientRects().length&&e.getBoundingClientRect().width?q(e,l,n):xt(e,_t,function(){return q(e,l,n)})},set:function(e,t,n){var r,a=bt(e),i=!ve.scrollboxSize()&&"absolute"===a.position,o=(i||n)&&"border-box"===De.css(e,"boxSizing",!1,a),s=n?O(e,l,n,o,a):0;return o&&i&&(s-=Math.ceil(e["offset"+l[0].toUpperCase()+l.slice(1)]-parseFloat(a[l])-O(e,l,"border",!1,a)-.5)),s&&(r=Qe.exec(t))&&"px"!==(r[3]||"px")&&(e.style[l]=t,t=De.css(e,l)),M(e,t,s)}}}),De.cssHooks.marginLeft=F(ve.reliableMarginLeft,function(e,t){if(t)return(parseFloat(R(e,"marginLeft"))||e.getBoundingClientRect().left-xt(e,{marginLeft:0},function(){return e.getBoundingClientRect().left}))+"px"}),De.each({margin:"",padding:"",border:"Width"},function(a,i){De.cssHooks[a+i]={expand:function(e){for(var t=0,n={},r="string"==typeof e?e.split(" "):[e];t<4;t++)n[a+et[t]+i]=r[t]||r[t-2]||r[0];return n}},"margin"!==a&&(De.cssHooks[a+i].set=M)}),De.fn.extend({css:function(e,t){return Ue(this,function(e,t,n){var r,a,i={},o=0;if(Array.isArray(t)){for(r=bt(e),a=t.length;o<a;o++)i[t[o]]=De.css(e,t[o],!1,r);return i}return n!==undefined?De.style(e,t,n):De.css(e,t)},e,t,1<arguments.length)}}),(De.Tween=W).prototype={constructor:W,init:function(e,t,n,r,a,i){this.elem=e,this.prop=n,this.easing=a||De.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=r,this.unit=i||(De.cssNumber[n]?"":"px")},cur:function(){var e=W.propHooks[this.prop];return e&&e.get?e.get(this):W.propHooks._default.get(this)},run:function(e){var t,n=W.propHooks[this.prop];return this.options.duration?this.pos=t=De.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):this.pos=t=e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):W.propHooks._default.set(this),this}},W.prototype.init.prototype=W.prototype,W.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=De.css(e.elem,e.prop,""))&&"auto"!==t?t:0},set:function(e){De.fx.step[e.prop]?De.fx.step[e.prop](e):1!==e.elem.nodeType||!De.cssHooks[e.prop]&&null==e.elem.style[H(e.prop)]?e.elem[e.prop]=e.now:De.style(e.elem,e.prop,e.now+e.unit)}}},W.propHooks.scrollTop=W.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},De.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},De.fx=W.prototype.init,De.fx.step={};var kt,Nt,jt,It,Lt=/^(?:toggle|show|hide)$/,Et=/queueHooks$/;De.Animation=De.extend(G,{tweeners:{"*":[function(e,t){var n=this.createTween(e,t);return v(n.elem,e,Qe.exec(t),n),n}]},tweener:function(e,t){ye(e)?(t=e,e=["*"]):e=e.match(We);for(var n,r=0,a=e.length;r<a;r++)n=e[r],G.tweeners[n]=G.tweeners[n]||[],G.tweeners[n].unshift(t)},prefilters:[X],prefilter:function(e,t){t?G.prefilters.unshift(e):G.prefilters.push(e)}}),De.speed=function(e,t,n){var r=e&&"object"==typeof e?De.extend({},e):{complete:n||!n&&t||ye(e)&&e,duration:e,easing:n&&t||t&&!ye(t)&&t};return De.fx.off?r.duration=0:"number"!=typeof r.duration&&(r.duration in De.fx.speeds?r.duration=De.fx.speeds[r.duration]:r.duration=De.fx.speeds._default),null!=r.queue&&!0!==r.queue||(r.queue="fx"),r.old=r.complete,r.complete=function(){ye(r.old)&&r.old.call(this),r.queue&&De.dequeue(this,r.queue)},r},De.fn.extend({fadeTo:function(e,t,n,r){return this.filter(at).css("opacity",0).show().end().animate({opacity:t},e,n,r)},animate:function(t,e,n,r){var a=De.isEmptyObject(t),i=De.speed(e,n,r),o=function(){var e=G(this,De.extend({},t),i);(a||Ge.get(this,"finish"))&&e.stop(!0)};return o.finish=o,a||!1===i.queue?this.each(o):this.queue(i.queue,o)},stop:function(a,e,i){var o=function(e){var t=e.stop;delete e.stop,t(i)};return"string"!=typeof a&&(i=e,e=a,a=undefined),e&&this.queue(a||"fx",[]),this.each(function(){var e=!0,t=null!=a&&a+"queueHooks",n=De.timers,r=Ge.get(this);if(t)r[t]&&r[t].stop&&o(r[t]);else for(t in r)r[t]&&r[t].stop&&Et.test(t)&&o(r[t]);for(t=n.length;t--;)n[t].elem!==this||null!=a&&n[t].queue!==a||(n[t].anim.stop(i),e=!1,n.splice(t,1));!e&&i||De.dequeue(this,a)})},finish:function(o){return!1!==o&&(o=o||"fx"),this.each(function(){var e,t=Ge.get(this),n=t[o+"queue"],r=t[o+"queueHooks"],a=De.timers,i=n?n.length:0;for(t.finish=!0,De.queue(this,o,[]),r&&r.stop&&r.stop.call(this,!0),e=a.length;e--;)a[e].elem===this&&a[e].queue===o&&(a[e].anim.stop(!0),a.splice(e,1));for(e=0;e<i;e++)n[e]&&n[e].finish&&n[e].finish.call(this);delete t.finish})}}),De.each(["toggle","show","hide"],function(e,r){var a=De.fn[r];De.fn[r]=function(e,t,n){return null==e||"boolean"==typeof e?a.apply(this,arguments):this.animate(U(r,!0),e,t,n)}}),De.each({slideDown:U("show"),slideUp:U("hide"),slideToggle:U("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(e,r){De.fn[e]=function(e,t,n){return this.animate(r,e,t,n)}}),De.timers=[],De.fx.tick=function(){var e,t=0,n=De.timers;for(kt=Date.now();t<n.length;t++)(e=n[t])()||n[t]!==e||n.splice(t--,1);n.length||De.fx.stop(),kt=undefined},De.fx.timer=function(e){De.timers.push(e),De.fx.start()},De.fx.interval=13,De.fx.start=function(){Nt||(Nt=!0,$())},De.fx.stop=function(){Nt=null},De.fx.speeds={slow:600,fast:200,_default:400},De.fn.delay=function(r,e){return r=De.fx&&De.fx.speeds[r]||r,e=e||"fx",this.queue(e,function(e,t){var n=le.setTimeout(e,r);t.stop=function(){le.clearTimeout(n)}})},
|
3
|
+
jt=xe.createElement("input"),It=xe.createElement("select").appendChild(xe.createElement("option")),jt.type="checkbox",ve.checkOn=""!==jt.value,ve.optSelected=It.selected,(jt=xe.createElement("input")).value="t",jt.type="radio",ve.radioValue="t"===jt.value;var Rt,Ft=De.expr.attrHandle;De.fn.extend({attr:function(e,t){return Ue(this,De.attr,e,t,1<arguments.length)},removeAttr:function(e){return this.each(function(){De.removeAttr(this,e)})}}),De.extend({attr:function(e,t,n){var r,a,i=e.nodeType;if(3!==i&&8!==i&&2!==i)return"undefined"==typeof e.getAttribute?De.prop(e,t,n):(1===i&&De.isXMLDoc(e)||(a=De.attrHooks[t.toLowerCase()]||(De.expr.match.bool.test(t)?Rt:undefined)),n!==undefined?null===n?void De.removeAttr(e,t):a&&"set"in a&&(r=a.set(e,n,t))!==undefined?r:(e.setAttribute(t,n+""),n):a&&"get"in a&&null!==(r=a.get(e,t))?r:null==(r=De.find.attr(e,t))?undefined:r)},attrHooks:{type:{set:function(e,t){if(!ve.radioValue&&"radio"===t&&ue(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}},removeAttr:function(e,t){var n,r=0,a=t&&t.match(We);if(a&&1===e.nodeType)for(;n=a[r++];)e.removeAttribute(n)}}),Rt={set:function(e,t,n){return!1===t?De.removeAttr(e,n):e.setAttribute(n,n),n}},De.each(De.expr.match.bool.source.match(/\w+/g),function(e,t){var o=Ft[t]||De.find.attr;Ft[t]=function(e,t,n){var r,a,i=t.toLowerCase();return n||(a=Ft[i],Ft[i]=r,r=null!=o(e,t,n)?i:null,Ft[i]=a),r}});var Pt=/^(?:input|select|textarea|button)$/i,Ht=/^(?:a|area)$/i;De.fn.extend({prop:function(e,t){return Ue(this,De.prop,e,t,1<arguments.length)},removeProp:function(e){return this.each(function(){delete this[De.propFix[e]||e]})}}),De.extend({prop:function(e,t,n){var r,a,i=e.nodeType;if(3!==i&&8!==i&&2!==i)return 1===i&&De.isXMLDoc(e)||(t=De.propFix[t]||t,a=De.propHooks[t]),n!==undefined?a&&"set"in a&&(r=a.set(e,n,t))!==undefined?r:e[t]=n:a&&"get"in a&&null!==(r=a.get(e,t))?r:e[t]},propHooks:{tabIndex:{get:function(e){var t=De.find.attr(e,"tabindex");return t?parseInt(t,10):Pt.test(e.nodeName)||Ht.test(e.nodeName)&&e.href?0:-1}}},propFix:{"for":"htmlFor","class":"className"}}),ve.optSelected||(De.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)}}),De.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){De.propFix[this.toLowerCase()]=this}),De.fn.extend({addClass:function(t){var e,n,r,a,i,o;return ye(t)?this.each(function(e){De(this).addClass(t.call(this,e,Y(this)))}):(e=Z(t)).length?this.each(function(){if(r=Y(this),n=1===this.nodeType&&" "+J(r)+" "){for(i=0;i<e.length;i++)a=e[i],n.indexOf(" "+a+" ")<0&&(n+=a+" ");o=J(n),r!==o&&this.setAttribute("class",o)}}):this},removeClass:function(t){var e,n,r,a,i,o;return ye(t)?this.each(function(e){De(this).removeClass(t.call(this,e,Y(this)))}):arguments.length?(e=Z(t)).length?this.each(function(){if(r=Y(this),n=1===this.nodeType&&" "+J(r)+" "){for(i=0;i<e.length;i++)for(a=e[i];-1<n.indexOf(" "+a+" ");)n=n.replace(" "+a+" "," ");o=J(n),r!==o&&this.setAttribute("class",o)}}):this:this.attr("class","")},toggleClass:function(t,n){var e,r,a,i,o=typeof t,s="string"===o||Array.isArray(t);return ye(t)?this.each(function(e){De(this).toggleClass(t.call(this,e,Y(this),n),n)}):"boolean"==typeof n&&s?n?this.addClass(t):this.removeClass(t):(e=Z(t),this.each(function(){if(s)for(i=De(this),a=0;a<e.length;a++)r=e[a],i.hasClass(r)?i.removeClass(r):i.addClass(r);else t!==undefined&&"boolean"!==o||((r=Y(this))&&Ge.set(this,"__className__",r),this.setAttribute&&this.setAttribute("class",r||!1===t?"":Ge.get(this,"__className__")||""))}))},hasClass:function(e){var t,n,r=0;for(t=" "+e+" ";n=this[r++];)if(1===n.nodeType&&-1<(" "+J(Y(n))+" ").indexOf(t))return!0;return!1}});var Mt=/\r/g;De.fn.extend({val:function(n){var r,e,a,t=this[0];return arguments.length?(a=ye(n),this.each(function(e){var t;1===this.nodeType&&(null==(t=a?n.call(this,e,De(this).val()):n)?t="":"number"==typeof t?t+="":Array.isArray(t)&&(t=De.map(t,function(e){return null==e?"":e+""})),(r=De.valHooks[this.type]||De.valHooks[this.nodeName.toLowerCase()])&&"set"in r&&r.set(this,t,"value")!==undefined||(this.value=t))})):t?(r=De.valHooks[t.type]||De.valHooks[t.nodeName.toLowerCase()])&&"get"in r&&(e=r.get(t,"value"))!==undefined?e:"string"==typeof(e=t.value)?e.replace(Mt,""):null==e?"":e:void 0}}),De.extend({valHooks:{option:{get:function(e){var t=De.find.attr(e,"value");return null!=t?t:J(De.text(e))}},select:{get:function(e){var t,n,r,a=e.options,i=e.selectedIndex,o="select-one"===e.type,s=o?null:[],l=o?i+1:a.length;for(r=i<0?l:o?i:0;r<l;r++)if(((n=a[r]).selected||r===i)&&!n.disabled&&(!n.parentNode.disabled||!ue(n.parentNode,"optgroup"))){if(t=De(n).val(),o)return t;s.push(t)}return s},set:function(e,t){for(var n,r,a=e.options,i=De.makeArray(t),o=a.length;o--;)((r=a[o]).selected=-1<De.inArray(De.valHooks.option.get(r),i))&&(n=!0);return n||(e.selectedIndex=-1),i}}}}),De.each(["radio","checkbox"],function(){De.valHooks[this]={set:function(e,t){if(Array.isArray(t))return e.checked=-1<De.inArray(De(e).val(),t)}},ve.checkOn||(De.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})});var Ot=le.location,qt={guid:Date.now()},Wt=/\?/;De.parseXML=function(e){var t,n;if(!e||"string"!=typeof e)return null;try{t=(new le.DOMParser).parseFromString(e,"text/xml")}catch(r){}return n=t&&t.getElementsByTagName("parsererror")[0],t&&!n||De.error("Invalid XML: "+(n?De.map(n.childNodes,function(e){return e.textContent}).join("\n"):e)),t};var $t=/^(?:focusinfocus|focusoutblur)$/,Bt=function(e){e.stopPropagation()};De.extend(De.event,{trigger:function(e,t,n,r){var a,i,o,s,l,u,c,f,d=[n||xe],h=pe.call(e,"type")?e.type:e,p=pe.call(e,"namespace")?e.namespace.split("."):[];if(i=f=o=n=n||xe,3!==n.nodeType&&8!==n.nodeType&&!$t.test(h+De.event.triggered)&&(-1<h.indexOf(".")&&(h=(p=h.split(".")).shift(),p.sort()),l=h.indexOf(":")<0&&"on"+h,(e=e[De.expando]?e:new De.Event(h,"object"==typeof e&&e)).isTrigger=r?2:3,e.namespace=p.join("."),e.rnamespace=e.namespace?new RegExp("(^|\\.)"+p.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=undefined,e.target||(e.target=n),t=null==t?[e]:De.makeArray(t,[e]),c=De.event.special[h]||{},r||!c.trigger||!1!==c.trigger.apply(n,t))){if(!r&&!c.noBubble&&!be(n)){for(s=c.delegateType||h,$t.test(s+h)||(i=i.parentNode);i;i=i.parentNode)d.push(i),o=i;o===(n.ownerDocument||xe)&&d.push(o.defaultView||o.parentWindow||le)}for(a=0;(i=d[a++])&&!e.isPropagationStopped();)f=i,e.type=1<a?s:c.bindType||h,(u=(Ge.get(i,"events")||Object.create(null))[e.type]&&Ge.get(i,"handle"))&&u.apply(i,t),(u=l&&i[l])&&u.apply&&Ve(i)&&(e.result=u.apply(i,t),!1===e.result&&e.preventDefault());return e.type=h,r||e.isDefaultPrevented()||c._default&&!1!==c._default.apply(d.pop(),t)||!Ve(n)||l&&ye(n[h])&&!be(n)&&((o=n[l])&&(n[l]=null),De.event.triggered=h,e.isPropagationStopped()&&f.addEventListener(h,Bt),n[h](),e.isPropagationStopped()&&f.removeEventListener(h,Bt),De.event.triggered=undefined,o&&(n[l]=o)),e.result}},simulate:function(e,t,n){var r=De.extend(new De.Event,n,{type:e,isSimulated:!0});De.event.trigger(r,null,t)}}),De.fn.extend({trigger:function(e,t){return this.each(function(){De.event.trigger(e,t,this)})},triggerHandler:function(e,t){var n=this[0];if(n)return De.event.trigger(e,t,n,!0)}});var Ut=/\[\]$/,zt=/\r?\n/g,Xt=/^(?:submit|button|image|reset|file)$/i,Vt=/^(?:input|select|textarea|keygen)/i;De.param=function(e,t){var n,r=[],a=function(e,t){var n=ye(t)?t():t;r[r.length]=encodeURIComponent(e)+"="+encodeURIComponent(null==n?"":n)};if(null==e)return"";if(Array.isArray(e)||e.jquery&&!De.isPlainObject(e))De.each(e,function(){a(this.name,this.value)});else for(n in e)K(n,e[n],t,a);return r.join("&")},De.fn.extend({serialize:function(){return De.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var e=De.prop(this,"elements");return e?De.makeArray(e):this}).filter(function(){var e=this.type;return this.name&&!De(this).is(":disabled")&&Vt.test(this.nodeName)&&!Xt.test(e)&&(this.checked||!lt.test(e))}).map(function(e,t){var n=De(this).val();return null==n?null:Array.isArray(n)?De.map(n,function(e){return{name:t.name,value:e.replace(zt,"\r\n")}}):{name:t.name,value:n.replace(zt,"\r\n")}}).get()}});var Gt=/%20/g,Jt=/#.*$/,Yt=/([?&])_=[^&]*/,Zt=/^(.*?):[ \t]*([^\r\n]*)$/gm,Kt=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,Qt=/^(?:GET|HEAD)$/,en=/^\/\//,tn={},nn={},rn="*/".concat("*"),an=xe.createElement("a");an.href=Ot.href,De.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:Ot.href,type:"GET",isLocal:Kt.test(Ot.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":rn,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":De.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?te(te(e,De.ajaxSettings),t):te(De.ajaxSettings,e)},ajaxPrefilter:Q(tn),ajaxTransport:Q(nn),ajax:function(e,t){function n(e,t,n,r){var a,i,o,s,l,u=t;p||(p=!0,h&&le.clearTimeout(h),c=undefined,d=r||"",S.readyState=0<e?4:0,a=200<=e&&e<300||304===e,n&&(s=ne(m,S,n)),!a&&-1<De.inArray("script",m.dataTypes)&&De.inArray("json",m.dataTypes)<0&&(m.converters["text script"]=function(){}),s=re(m,s,S,a),a?(m.ifModified&&((l=S.getResponseHeader("Last-Modified"))&&(De.lastModified[f]=l),(l=S.getResponseHeader("etag"))&&(De.etag[f]=l)),204===e||"HEAD"===m.type?u="nocontent":304===e?u="notmodified":(u=s.state,i=s.data,a=!(o=s.error))):(o=u,!e&&u||(u="error",e<0&&(e=0))),S.status=e,S.statusText=(t||u)+"",a?b.resolveWith(v,[i,u,S]):b.rejectWith(v,[S,u,o]),S.statusCode(w),w=undefined,g&&y.trigger(a?"ajaxSuccess":"ajaxError",[S,m,a?i:o]),x.fireWith(v,[S,u]),g&&(y.trigger("ajaxComplete",[S,m]),--De.active||De.event.trigger("ajaxStop")))}"object"==typeof e&&(t=e,e=undefined),t=t||{};var c,f,d,r,h,a,p,g,i,o,m=De.ajaxSetup({},t),v=m.context||m,y=m.context&&(v.nodeType||v.jquery)?De(v):De.event,b=De.Deferred(),x=De.Callbacks("once memory"),w=m.statusCode||{},s={},l={},u="canceled",S={readyState:0,getResponseHeader:function(e){var t;if(p){if(!r)for(r={};t=Zt.exec(d);)r[t[1].toLowerCase()+" "]=(r[t[1].toLowerCase()+" "]||[]).concat(t[2]);t=r[e.toLowerCase()+" "]}return null==t?null:t.join(", ")},getAllResponseHeaders:function(){return p?d:null},setRequestHeader:function(e,t){return null==p&&(e=l[e.toLowerCase()]=l[e.toLowerCase()]||e,s[e]=t),this},overrideMimeType:function(e){return null==p&&(m.mimeType=e),this},statusCode:function(e){var t;if(e)if(p)S.always(e[S.status]);else for(t in e)w[t]=[w[t],e[t]];return this},abort:function(e){var t=e||u;return c&&c.abort(t),n(0,t),this}};if(b.promise(S),m.url=((e||m.url||Ot.href)+"").replace(en,Ot.protocol+"//"),m.type=t.method||t.type||m.method||m.type,m.dataTypes=(m.dataType||"*").toLowerCase().match(We)||[""],null==m.crossDomain){a=xe.createElement("a");try{a.href=m.url,a.href=a.href,m.crossDomain=an.protocol+"//"+an.host!=a.protocol+"//"+a.host}catch(T){m.crossDomain=!0}}if(m.data&&m.processData&&"string"!=typeof m.data&&(m.data=De.param(m.data,m.traditional)),ee(tn,m,t,S),p)return S;for(i in(g=De.event&&m.global)&&0==De.active++&&De.event.trigger("ajaxStart"),m.type=m.type.toUpperCase(),m.hasContent=!Qt.test(m.type),f=m.url.replace(Jt,""),m.hasContent?m.data&&m.processData&&0===(m.contentType||"").indexOf("application/x-www-form-urlencoded")&&(m.data=m.data.replace(Gt,"+")):(o=m.url.slice(f.length),m.data&&(m.processData||"string"==typeof m.data)&&(f+=(Wt.test(f)?"&":"?")+m.data,delete m.data),!1===m.cache&&(f=f.replace(Yt,"$1"),o=(Wt.test(f)?"&":"?")+"_="+qt.guid+++o),m.url=f+o),m.ifModified&&(De.lastModified[f]&&S.setRequestHeader("If-Modified-Since",De.lastModified[f]),De.etag[f]&&S.setRequestHeader("If-None-Match",De.etag[f])),(m.data&&m.hasContent&&!1!==m.contentType||t.contentType)&&S.setRequestHeader("Content-Type",m.contentType),S.setRequestHeader("Accept",m.dataTypes[0]&&m.accepts[m.dataTypes[0]]?m.accepts[m.dataTypes[0]]+("*"!==m.dataTypes[0]?", "+rn+"; q=0.01":""):m.accepts["*"]),m.headers)S.setRequestHeader(i,m.headers[i]);if(m.beforeSend&&(!1===m.beforeSend.call(v,S,m)||p))return S.abort();if(u="abort",x.add(m.complete),S.done(m.success),S.fail(m.error),c=ee(nn,m,t,S)){if(S.readyState=1,g&&y.trigger("ajaxSend",[S,m]),p)return S;m.async&&0<m.timeout&&(h=le.setTimeout(function(){S.abort("timeout")},m.timeout));try{p=!1,c.send(s,n)}catch(T){if(p)throw T;n(-1,T)}}else n(-1,"No Transport");return S},getJSON:function(e,t,n){return De.get(e,t,n,"json")},getScript:function(e,t){return De.get(e,undefined,t,"script")}}),De.each(["get","post"],function(e,a){De[a]=function(e,t,n,r){return ye(t)&&(r=r||n,n=t,t=undefined),De.ajax(De.extend({url:e,type:a,dataType:r,data:t,success:n},De.isPlainObject(e)&&e))}}),De.ajaxPrefilter(function(e){var t;for(t in e.headers)"content-type"===t.toLowerCase()&&(e.contentType=e.headers[t]||"")}),De._evalUrl=function(e,t,n){return De.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(e){De.globalEval(e,t,n)}})},De.fn.extend({wrapAll:function(e){var t;return this[0]&&(ye(e)&&(e=e.call(this[0])),t=De(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(n){return ye(n)?this.each(function(e){De(this).wrapInner(n.call(this,e))}):this.each(function(){var e=De(this),t=e.contents();t.length?t.wrapAll(n):e.append(n)})},wrap:function(t){var n=ye(t);return this.each(function(e){De(this).wrapAll(n?t.call(this,e):t)})},unwrap:function(e){return this.parent(e).not("body").each(function(){De(this).replaceWith(this.childNodes)}),this}}),De.expr.pseudos.hidden=function(e){return!De.expr.pseudos.visible(e)},De.expr.pseudos.visible=function(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)},De.ajaxSettings.xhr=function(){try{return new le.XMLHttpRequest}catch(e){}};var on={0:200,1223:204},sn=De.ajaxSettings.xhr();ve.cors=!!sn&&"withCredentials"in sn,ve.ajax=sn=!!sn,De.ajaxTransport(function(i){var o,s;if(ve.cors||sn&&!i.crossDomain)return{send:function(e,t){var n,r=i.xhr();if(r.open(i.type,i.url,i.async,i.username,i.password),i.xhrFields)for(n in i.xhrFields)r[n]=i.xhrFields[n];for(n in i.mimeType&&r.overrideMimeType&&r.overrideMimeType(i.mimeType),i.crossDomain||e["X-Requested-With"]||(e["X-Requested-With"]="XMLHttpRequest"),e)r.setRequestHeader(n,e[n]);o=function(e){return function(){o&&(o=s=r.onload=r.onerror=r.onabort=r.ontimeout=r.onreadystatechange=null,"abort"===e?r.abort():"error"===e?"number"!=typeof r.status?t(0,"error"):t(r.status,r.statusText):t(on[r.status]||r.status,r.statusText,"text"!==(r.responseType||"text")||"string"!=typeof r.responseText?{binary:r.response}:{text:r.responseText},r.getAllResponseHeaders()))}},r.onload=o(),s=r.onerror=r.ontimeout=o("error"),r.onabort!==undefined?r.onabort=s:r.onreadystatechange=function(){4===r.readyState&&le.setTimeout(function(){o&&s()})},o=o("abort");try{r.send(i.hasContent&&i.data||null)}catch(a){if(o)throw a}},abort:function(){o&&o()}}}),De.ajaxPrefilter(function(e){e.crossDomain&&(e.contents.script=!1)}),De.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 De.globalEval(e),e}}}),De.ajaxPrefilter("script",function(e){e.cache===undefined&&(e.cache=!1),e.crossDomain&&(e.type="GET")}),De.ajaxTransport("script",function(n){var r,a;if(n.crossDomain||n.scriptAttrs)return{send:function(e,t){r=De("<script>").attr(n.scriptAttrs||{}).prop({charset:n.scriptCharset,src:n.url}).on("load error",a=function(e){r.remove(),a=null,e&&t("error"===e.type?404:200,e.type)}),xe.head.appendChild(r[0])},abort:function(){a&&a()}}});var ln,un=[],cn=/(=)\?(?=&|$)|\?\?/;De.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=un.pop()||De.expando+"_"+qt.guid++;return this[e]=!0,e}}),De.ajaxPrefilter("json jsonp",function(e,t,n){var r,a,i,o=!1!==e.jsonp&&(cn.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&cn.test(e.data)&&"data");if(o||"jsonp"===e.dataTypes[0])return r=e.jsonpCallback=ye(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,o?e[o]=e[o].replace(cn,"$1"+r):!1!==e.jsonp&&(e.url+=(Wt.test(e.url)?"&":"?")+e.jsonp+"="+r),e.converters["script json"]=function(){return i||De.error(r+" was not called"),i[0]},e.dataTypes[0]="json",a=le[r],le[r]=function(){i=arguments},n.always(function(){a===undefined?De(le).removeProp(r):le[r]=a,e[r]&&(e.jsonpCallback=t.jsonpCallback,un.push(r)),i&&ye(a)&&a(i[0]),i=a=undefined}),"script"}),ve.createHTMLDocument=((ln=xe.implementation.createHTMLDocument("").body).innerHTML="<form></form><form></form>",2===ln.childNodes.length),De.parseHTML=function(e,t,n){return"string"!=typeof e?[]:("boolean"==typeof t&&(n=t,t=!1),t||(ve.createHTMLDocument?((r=(t=xe.implementation.createHTMLDocument("")).createElement("base")).href=xe.location.href,t.head.appendChild(r)):t=xe),i=!n&&[],(a=Pe.exec(e))?[t.createElement(a[1])]:(a=S([e],t,i),i&&i.length&&De(i).remove(),De.merge([],a.childNodes)));var r,a,i},De.fn.load=function(e,t,n){var r,a,i,o=this,s=e.indexOf(" ");return-1<s&&(r=J(e.slice(s)),e=e.slice(0,s)),ye(t)?(n=t,t=undefined):t&&"object"==typeof t&&(a="POST"),0<o.length&&De.ajax({url:e,type:a||"GET",dataType:"html",data:t}).done(function(e){i=arguments,o.html(r?De("<div>").append(De.parseHTML(e)).find(r):e)}).always(n&&function(e,t){o.each(function(){n.apply(this,i||[e.responseText,t,e])})}),this},De.expr.pseudos.animated=function(t){return De.grep(De.timers,function(e){return t===e.elem}).length},De.offset={setOffset:function(e,t,n){var r,a,i,o,s,l,u=De.css(e,"position"),c=De(e),f={};"static"===u&&(e.style.position="relative"),s=c.offset(),i=De.css(e,"top"),l=De.css(e,"left"),("absolute"===u||"fixed"===u)&&-1<(i+l).indexOf("auto")?(o=(r=c.position()).top,a=r.left):(o=parseFloat(i)||0,a=parseFloat(l)||0),ye(t)&&(t=t.call(e,n,De.extend({},s))),null!=t.top&&(f.top=t.top-s.top+o),null!=t.left&&(f.left=t.left-s.left+a),"using"in t?t.using.call(e,f):c.css(f)}},De.fn.extend({offset:function(t){if(arguments.length)return t===undefined?this:this.each(function(e){De.offset.setOffset(this,t,e)});var e,n,r=this[0];return r?r.getClientRects().length?(e=r.getBoundingClientRect(),n=r.ownerDocument.defaultView,{top:e.top+n.pageYOffset,left:e.left+n.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var e,t,n,r=this[0],a={top:0,left:0};if("fixed"===De.css(r,"position"))t=r.getBoundingClientRect();else{for(t=this.offset(),n=r.ownerDocument,e=r.offsetParent||n.documentElement;e&&(e===n.body||e===n.documentElement)&&"static"===De.css(e,"position");)e=e.parentNode;e&&e!==r&&1===e.nodeType&&((a=De(e).offset()).top+=De.css(e,"borderTopWidth",!0),a.left+=De.css(e,"borderLeftWidth",!0))}return{top:t.top-a.top-De.css(r,"marginTop",!0),left:t.left-a.left-De.css(r,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var e=this.offsetParent;e&&"static"===De.css(e,"position");)e=e.offsetParent;return e||tt})}}),De.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(t,a){var i="pageYOffset"===a;De.fn[t]=function(e){return Ue(this,function(e,t,n){var r;if(be(e)?r=e:9===e.nodeType&&(r=e.defaultView),n===undefined)return r?r[a]:e[t];r?r.scrollTo(i?r.pageXOffset:n,i?n:r.pageYOffset):e[t]=n},t,e,arguments.length)}}),De.each(["top","left"],function(e,n){De.cssHooks[n]=F(ve.pixelPosition,function(e,t){if(t)return t=R(e,n),vt.test(t)?De(e).position()[n]+"px":t})}),De.each({Height:"height",Width:"width"},function(o,s){De.each({padding:"inner"+o,content:s,"":"outer"+o},function(r,i){De.fn[i]=function(e,t){var n=arguments.length&&(r||"boolean"!=typeof e),a=r||(!0===e||!0===t?"margin":"border");return Ue(this,function(e,t,n){var r;return be(e)?0===i.indexOf("outer")?e["inner"+o]:e.document.documentElement["client"+o]:9===e.nodeType?(r=e.documentElement,Math.max(e.body["scroll"+o],r["scroll"+o],e.body["offset"+o],r["offset"+o],r["client"+o])):n===undefined?De.css(e,t,a):De.style(e,t,n,a)},s,n?e:undefined,n)}})}),De.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){De.fn[t]=function(e){return this.on(t,e)}}),De.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,r){return this.on(t,e,n,r)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)},hover:function(e,t){return this.on("mouseenter",e).on("mouseleave",t||e)}}),De.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(e,n){De.fn[n]=function(e,t){return 0<arguments.length?this.on(n,null,e,t):this.trigger(n)}});var fn=/^[\s\uFEFF\xA0]+|([^\s\uFEFF\xA0])[\s\uFEFF\xA0]+$/g;De.proxy=function(e,t){var n,r,a;return"string"==typeof t&&(n=e[t],t=e,e=n),ye(e)?(r=fe.call(arguments,2),(a=function(){return e.apply(t||this,r.concat(fe.call(arguments)))}).guid=e.guid=e.guid||De.guid++,a):undefined},De.holdReady=function(e){e?De.readyWait++:De.ready(!0)},De.isArray=Array.isArray,De.parseJSON=JSON.parse,De.nodeName=ue,De.isFunction=ye,De.isWindow=be,De.camelCase=h,De.type=m,De.now=Date.now,De.isNumeric=function(e){var t=De.type(e);return("number"===t||"string"===t)&&!isNaN(e-parseFloat(e))},De.trim=function(e){return null==e?"":(e+"").replace(fn,"$1")},"function"==typeof define&&define.amd&&define("jquery",[],function(){return De});var dn=le.jQuery,hn=le.$;return De.noConflict=function(e){return le.$===De&&(le.$=hn),e&&le.jQuery===De&&(le.jQuery=dn),De},void 0===e&&(le.jQuery=le.$=De),De});var hljs=new function(){function w(e){return e.replace(/&/gm,"&").replace(/</gm,"<")}function S(e,t,n){return RegExp(t,"m"+(e.cI?"i":"")+(n?"g":""))}function r(e){for(var t=0;t<e.childNodes.length;t++){var n=e.childNodes[t];if("CODE"==n.nodeName)return n;if(3!=n.nodeType||!n.nodeValue.match(/\s+/))break}}function h(e,t){for(var n="",r=0;r<e.childNodes.length;r++)if(3==e.childNodes[r].nodeType){var a=e.childNodes[r].nodeValue;t&&(a=a.replace(/\n/g,"")),n+=a}else"BR"==e.childNodes[r].nodeName?n+="\n":n+=h(e.childNodes[r]);return/MSIE [678]/.test(navigator.userAgent)&&(n=n.replace(/\r/g,"\n")),n}function p(e){var t=e.className.split(/\s+/);t=t.concat(e.parentNode.className.split(/\s+/));for(var n=0;n<t.length;n++){var r=t[n].replace(/^language-/,"");if(D[r]||"no-highlight"==r)return r}}function g(e){var r=[];return function(e,t){for(var n=0;n<e.childNodes.length;n++)3==e.childNodes[n].nodeType?t+=e.childNodes[n].nodeValue.length:"BR"==e.childNodes[n].nodeName?t+=1:(r.push({event:"start",offset:t,node:e.childNodes[n]}),t=arguments.callee(e.childNodes[n],t),r.push({event:"stop",offset:t,node:e.childNodes[n]}))}(e,0),r}function m(e,t,n){function r(){return e.length&&t.length?e[0].offset!=t[0].offset?e[0].offset<t[0].offset?e:t:"start"==t[0].event?e:t:e.length?e:t}function a(e){for(var t="<"+e.nodeName.toLowerCase(),n=0;n<e.attributes.length;n++){var r=e.attributes[n];t+=" "+r.nodeName.toLowerCase(),r.nodeValue!=undefined&&(t+='="'+w(r.nodeValue)+'"')}return t+">"}for(var i=0,o="",s=[];e.length||t.length;){var l=r().splice(0,1)[0];if(o+=w(n.substr(i,l.offset-i)),i=l.offset,"start"==l.event)o+=a(l.node),s.push(l.node);else if("stop"==l.event){var u=s.length;do{var c=s[--u];o+="</"+c.nodeName.toLowerCase()+">"}while(c!=l.node);for(s.splice(u,1);u<s.length;)o+=a(s[u]),u++}}return o+=n.substr(i)}function T(e,t){function l(e,t){for(var n=0;n<t.c.length;n++)if(t.c[n].bR.test(e))return t.c[n]}function u(e,t){if(h[e].e&&h[e].eR.test(t))return 1;if(h[e].eW){var n=u(e-1,t);return n?n+1:0}return 0}function c(e,t){return t.iR&&t.iR.test(e)}function a(e,t){for(var n=[],r=0;r<e.c.length;r++)n.push(e.c[r].b);for(var a=h.length-1;h[a].e&&n.push(h[a].e),h[--a+1].eW;);return e.i&&n.push(e.i),S(t,"("+n.join("|")+")",!0)}function n(e,t){var n=h[h.length-1];n.t||(n.t=a(n,s)),n.t.lastIndex=t;var r=n.t.exec(e);return r?[e.substr(t,r.index-t),r[0],!1]:[e.substr(t),"",!0]}function o(e,t){var n=s.cI?t[0].toLowerCase():t[0];for(var r in e.kG)if(e.kG.hasOwnProperty(r)){var a=e.kG[r].hasOwnProperty(n);if(a)return[r,a]}return!1}function r(e,t){if(!t.k)return w(e);var n="",r=0;t.lR.lastIndex=0;for(var a=t.lR.exec(e);a;){n+=w(e.substr(r,a.index-r));var i=o(t,a);i?(g+=i[1],n+='<span class="'+i[0]+'">'+w(a[0])+"</span>"):n+=w(a[0]),r=t.lR.lastIndex,a=t.lR.exec(e)}return n+=w(e.substr(r,e.length-r))}function f(e,t){if(t.sL&&D[t.sL]){var n=T(t.sL,e);return g+=n.keyword_count,n.value}return r(e,t)}function d(e,t){var n=e.cN?'<span class="'+e.cN+'">':"";e.rB?(m+=n,e.buffer=""):e.eB?(m+=w(t)+n,e.buffer=""):(m+=n,e.buffer=t),h.push(e),p+=e.r}function i(e,t,n){var r=h[h.length-1];if(n)return m+=f(r.buffer+e,r),!1;var a=l(t,r);if(a)return m+=f(r.buffer+e,r),d(a,t),a.rB;var i=u(h.length-1,t);if(i){var o=r.cN?"</span>":"";for(r.rE?m+=f(r.buffer+e,r)+o:r.eE?m+=f(r.buffer+e,r)+o+w(t):m+=f(r.buffer+e+t,r)+o;1<i;)o=h[h.length-2].cN?"</span>":"",m+=o,i--,h.length--;var s=h[h.length-1];return h.length--,h[h.length-1].buffer="",s.starts&&d(s.starts,""),r.rE}if(c(t,r))throw"Illegal"}var s=D[e],h=[s.dM],p=0,g=0,m="";try{var v=0;s.dM.buffer="";do{var y=n(t,v),b=i(y[0],y[1],y[2]);v+=y[0].length,b||(v+=y[1].length)}while(!y[2]);if(1<h.length)throw"Illegal";return{language:e,r:p,keyword_count:g,value:m}}catch(x){if("Illegal"==x)return{language:null,r:0,keyword_count:0,value:w(t)};throw x}}function e(){function i(e,t,n){if(!e.compiled){for(var r in n||(e.bR=S(t,e.b?e.b:"\\B|\\b"),e.e||e.eW||(e.e="\\B|\\b"),e.e&&(e.eR=S(t,e.e))),e.i&&(e.iR=S(t,e.i)),e.r==undefined&&(e.r=1),e.k&&(e.lR=S(t,e.l||hljs.IR,!0)),e.k)if(e.k.hasOwnProperty(r)){e.k[r]instanceof Object?e.kG=e.k:e.kG={keyword:e.k};break}e.c||(e.c=[]),e.compiled=!0;for(var a=0;a<e.c.length;a++)i(e.c[a],t,!1);e.starts&&i(e.starts,t,!1)}}for(var e in D)D.hasOwnProperty(e)&&i(D[e].dM,D[e],!0)}function v(){v.called||(v.called=!0,e())}function a(e,n,t){v();var r=h(e,t),a=p(e);if("no-highlight"!=a){if(a)var i=T(a,r);else{var o=i={language:"",keyword_count:0,r:0,value:w(r)};for(var s in D)if(D.hasOwnProperty(s)){var l=T(s,r);l.keyword_count+l.r>o.keyword_count+o.r&&(o=l),l.keyword_count+l.r>i.keyword_count+i.r&&(o=i,i=l)}}var u=e.className;u.match(i.language)||(u=u?u+" "+i.language:i.language);var c=g(e);if(c.length)(f=document.createElement("pre")).innerHTML=i.value,i.value=m(c,g(f),r);if(n&&(i.value=i.value.replace(/^((<[^>]+>|\t)+)/gm,function(e,t){return t.replace(/\t/g,n)})),t&&(i.value=i.value.replace(/\n/g,"<br>")),/MSIE [678]/.test(navigator.userAgent)&&"CODE"==e.tagName&&"PRE"==e.parentNode.tagName){var f=e.parentNode,d=document.createElement("div");d.innerHTML="<pre><code>"+i.value+"</code></pre>",e=d.firstChild.firstChild,d.firstChild.cN=f.cN,f.parentNode.replaceChild(d.firstChild,f)}else e.innerHTML=i.value;e.className=u,e.dataset={},e.dataset.result={language:i.language,kw:i.keyword_count,re:i.r},o&&o.language&&(e.dataset.second_best={language:o.language,kw:o.keyword_count,re:o.r})}}function i(){if(!i.called){i.called=!0,v();for(var e=document.getElementsByTagName("pre"),t=0;t<e.length;t++){var n=r(e[t]);n&&a(n,hljs.tabReplace)}}}function t(){var e=arguments,t=function(){i.apply(null,e)};window.addEventListener?(window.addEventListener("DOMContentLoaded",t,!1),window.addEventListener("load",t,!1)):window.attachEvent?window.attachEvent("onload",t):window.onload=t}var D={};this.LANGUAGES=D,this.initHighlightingOnLoad=t,this.highlightBlock=a,this.initHighlighting=i,this.IR="[a-zA-Z][a-zA-Z0-9_]*",this.UIR="[a-zA-Z_][a-zA-Z0-9_]*",this.NR="\\b\\d+(\\.\\d+)?",this.CNR="\\b(0x[A-Za-z0-9]+|\\d+(\\.\\d+)?)",this.RSR="!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|\\.|-|-=|/|/=|:|;|<|<<|<<=|<=|=|==|===|>|>=|>>|>>=|>>>|>>>=|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~",this.BE={b:"\\\\.",r:0},this.ASM={cN:"string",b:"'",e:"'",i:"\\n",c:[this.BE],r:0},this.QSM={cN:"string",b:'"',e:'"',i:"\\n",c:[this.BE],r:0},this.CLCM={cN:"comment",b:"//",e:"$"},this.CBLCLM={cN:"comment",b:"/\\*",e:"\\*/"},this.HCM={cN:"comment",b:"#",e:"$"},this.NM={cN:"number",b:this.NR,r:0},this.CNM={cN:"number",b:this.CNR,r:0},this.inherit=function(e,t){var n={};for(var r in e)n[r]=e[r];if(t)for(var r in t)n[r]=t[r];return n}};hljs.LANGUAGES.ruby=function(){var e="[a-zA-Z_][a-zA-Z0-9_]*(\\!|\\?)?",t="[a-zA-Z_]\\w*[!?=]?|[-+~]\\@|<<|>>|=~|===?|<=>|[<>]=?|\\*\\*|[-/+%^&*~`|]|\\[\\]=?",n={keyword:{and:1,"false":1,then:1,defined:1,module:1,"in":1,"return":1,redo:1,"if":1,BEGIN:1,retry:1,end:1,"for":1,"true":1,self:1,when:1,next:1,until:1,"do":1,begin:1,unless:1,END:1,rescue:1,nil:1,"else":1,"break":1,undef:1,not:1,"super":1,"class":1,"case":1,require:1,"yield":1,alias:1,"while":1,ensure:1,elsif:1,or:1,def:1},keymethods:{__id__:1,__send__:1,abort:1,abs:1,"all?":1,allocate:1,ancestors:1,"any?":1,arity:1,assoc:1,at:1,at_exit:1,autoload:1,"autoload?":1,"between?":1,binding:1,binmode:1,"block_given?":1,call:1,callcc:1,caller:1,capitalize:1,"capitalize!":1,casecmp:1,"catch":1,ceil:1,center:1,chomp:1,"chomp!":1,chop:1,"chop!":1,chr:1,"class":1,class_eval:1,"class_variable_defined?":1,class_variables:1,clear:1,clone:1,close:1,close_read:1,close_write:1,"closed?":1,coerce:1,collect:1,"collect!":1,compact:1,"compact!":1,concat:1,"const_defined?":1,const_get:1,const_missing:1,const_set:1,constants:1,count:1,crypt:1,"default":1,default_proc:1,"delete":1,"delete!":1,delete_at:1,delete_if:1,detect:1,display:1,div:1,divmod:1,downcase:1,"downcase!":1,downto:1,dump:1,dup:1,each:1,each_byte:1,each_index:1,each_key:1,each_line:1,each_pair:1,each_value:1,each_with_index:1,"empty?":1,entries:1,eof:1,"eof?":1,"eql?":1,"equal?":1,eval:1,exec:1,exit:1,"exit!":1,extend:1,fail:1,fcntl:1,fetch:1,fileno:1,fill:1,find:1,find_all:1,first:1,flatten:1,"flatten!":1,floor:1,flush:1,for_fd:1,foreach:1,fork:1,format:1,freeze:1,"frozen?":1,fsync:1,getc:1,gets:1,global_variables:1,grep:1,gsub:1,"gsub!":1,"has_key?":1,"has_value?":1,hash:1,hex:1,id:1,include:1,"include?":1,included_modules:1,index:1,indexes:1,indices:1,induced_from:1,inject:1,insert:1,inspect:1,instance_eval:1,instance_method:1,instance_methods:1,"instance_of?":1,"instance_variable_defined?":1,instance_variable_get:1,instance_variable_set:1,instance_variables:1,"integer?":1,intern:1,invert:1,ioctl:1,"is_a?":1,isatty:1,"iterator?":1,join:1,"key?":1,keys:1,"kind_of?":1,lambda:1,last:1,length:1,lineno:1,ljust:1,load:1,local_variables:1,loop:1,lstrip:1,"lstrip!":1,map:1,"map!":1,match:1,max:1,"member?":1,merge:1,"merge!":1,method:1,"method_defined?":1,method_missing:1,methods:1,min:1,module_eval:1,modulo:1,name:1,nesting:1,"new":1,next:1,"next!":1,"nil?":1,nitems:1,"nonzero?":1,object_id:1,oct:1,open:1,pack:1,partition:1,pid:1,pipe:1,pop:1,popen:1,pos:1,prec:1,prec_f:1,prec_i:1,print:1,printf:1,private_class_method:1,private_instance_methods:1,"private_method_defined?":1,private_methods:1,proc:1,protected_instance_methods:1,"protected_method_defined?":1,protected_methods:1,public_class_method:1,public_instance_methods:1,"public_method_defined?":1,public_methods:1,push:1,putc:1,puts:1,quo:1,raise:1,rand:1,rassoc:1,read:1,read_nonblock:1,readchar:1,readline:1,readlines:1,readpartial:1,rehash:1,reject:1,"reject!":1,remainder:1,reopen:1,replace:1,require:1,"respond_to?":1,reverse:1,"reverse!":1,reverse_each:1,rewind:1,rindex:1,rjust:1,round:1,rstrip:1,"rstrip!":1,scan:1,seek:1,select:1,send:1,set_trace_func:1,shift:1,singleton_method_added:1,singleton_methods:1,size:1,sleep:1,slice:1,"slice!":1,sort:1,"sort!":1,sort_by:1,split:1,sprintf:1,squeeze:1,"squeeze!":1,srand:1,stat:1,step:1,store:1,strip:1,"strip!":1,sub:1,"sub!":1,succ:1,"succ!":1,sum:1,superclass:1,swapcase:1,"swapcase!":1,sync:1,syscall:1,sysopen:1,sysread:1,sysseek:1,system:1,syswrite:1,taint:1,"tainted?":1,tell:1,test:1,"throw":1,times:1,to_a:1,to_ary:1,to_f:1,to_hash:1,to_i:1,to_int:1,to_io:1,to_proc:1,to_s:1,to_str:1,to_sym:1,tr:1,"tr!":1,tr_s:1,"tr_s!":1,trace_var:1,transpose:1,trap:1,truncate:1,"tty?":1,type:1,ungetc:1,uniq:1,"uniq!":1,unpack:1,unshift:1,untaint:1,untrace_var:1,upcase:1,"upcase!":1,
|
4
|
+
update:1,upto:1,"value?":1,values:1,values_at:1,warn:1,write:1,write_nonblock:1,"zero?":1,zip:1}},r={cN:"yardoctag",b:"@[A-Za-z]+"},a={cN:"comment",b:"#",e:"$",c:[r]},i={cN:"comment",b:"^\\=begin",e:"^\\=end",c:[r],r:10},o={cN:"comment",b:"^__END__",e:"\\n$"},s={cN:"subst",b:"#\\{",e:"}",l:e,k:n},l=[hljs.BE,s],u={cN:"string",b:"'",e:"'",c:l,r:0},c={cN:"string",b:'"',e:'"',c:l,r:0},f={cN:"string",b:"%[qw]?\\(",e:"\\)",c:l,r:10},d={cN:"string",b:"%[qw]?\\[",e:"\\]",c:l,r:10},h={cN:"string",b:"%[qw]?{",e:"}",c:l,r:10},p={cN:"string",b:"%[qw]?<",e:">",c:l,r:10},g={cN:"string",b:"%[qw]?/",e:"/",c:l,r:10},m={cN:"string",b:"%[qw]?%",e:"%",c:l,r:10},v={cN:"string",b:"%[qw]?-",e:"-",c:l,r:10},y={cN:"string",b:"%[qw]?\\|",e:"\\|",c:l,r:10},b={cN:"function",b:"\\bdef\\s+",e:" |$|;",l:e,k:n,c:[{cN:"title",b:t,l:e,k:n},{cN:"params",b:"\\(",e:"\\)",l:e,k:n},a,i,o]},x={cN:"identifier",b:e,l:e,k:n,r:0},w=[a,i,o,u,c,f,d,h,p,g,m,v,y,{cN:"class",b:"\\b(class|module)\\b",e:"$|;",k:{"class":1,module:1},c:[{cN:"title",b:"[A-Za-z_]\\w*(::\\w+)*(\\?|\\!)?",r:0},{cN:"inheritance",b:"<\\s*",c:[{cN:"parent",b:"("+hljs.IR+"::)?"+hljs.IR}]},a,i,o]},b,{cN:"constant",b:"(::)?([A-Z]\\w*(::)?)+",r:0},{cN:"symbol",b:":",c:[u,c,f,d,h,p,g,m,v,y,x],r:0},{cN:"number",b:"(\\b0[0-7_]+)|(\\b0x[0-9a-fA-F_]+)|(\\b[1-9][0-9_]*(\\.[0-9_]+)?)|[0_]\\b",r:0},{cN:"number",b:"\\?\\w"},{cN:"variable",b:"(\\$\\W)|((\\$|\\@\\@?)(\\w+))"},x,{b:"("+hljs.RSR+")\\s*",c:[a,i,o,{cN:"regexp",b:"/",e:"/[a-z]*",i:"\\n",c:[hljs.BE]}],r:0}];return s.c=w,{dM:{l:e,k:n,c:b.c[1].c=w}}}(),function(c,s,o){function l(e,t,n){var r=s.createElement(e);return t&&(r.id=te+t),n&&(r.style.cssText=n),c(r)}function f(){return o.innerHeight?o.innerHeight:c(o).height()}function u(e,n){n!==Object(n)&&(n={}),this.cache={},this.el=e,this.value=function(e){var t;return this.cache[e]===undefined&&((t=c(this.el).attr("data-cbox-"+e))!==undefined?this.cache[e]=t:n[e]!==undefined?this.cache[e]=n[e]:Q[e]!==undefined&&(this.cache[e]=Q[e])),this.cache[e]},this.get=function(e){var t=this.value(e);return c.isFunction(t)?t.call(this.el,this):t}}function i(e){var t=N.length,n=(X+e)%t;return n<0?t+n:n}function d(e,t){return Math.round((/%/.test(e)?("x"===t?j.width():f())/100:1)*parseInt(e,10))}function h(e,t){return e.get("photo")||e.get("photoRegex").test(t)}function p(e,t){return e.get("retinaUrl")&&1<o.devicePixelRatio?t.replace(e.get("photoRegex"),e.get("retinaSuffix")):t}function g(e){"contains"in S[0]&&!S[0].contains(e.target)&&e.target!==w[0]&&(e.stopPropagation(),S.focus())}function m(e){m.str!==e&&(S.add(w).removeClass(m.str).addClass(e),m.str=e)}function v(e){X=0,e&&!1!==e&&"nofollow"!==e?(N=c("."+ne).filter(function(){return new u(this,c.data(this,ee)).get("rel")===e}),-1===(X=N.index(W.el))&&(N=N.add(W.el),X=N.length-1)):N=c(W.el)}function y(e){c(s).trigger(e),ue.triggerHandler(e)}function r(e){var t;if(!Y){if(t=c(e).data(ee),v((W=new u(e,t)).get("rel")),!G){G=J=!0,m(W.get("className")),S.css({visibility:"hidden",display:"block",opacity:""}),I=l(ce,"LoadedContent","width:0; height:0; overflow:hidden; visibility:hidden"),D.css({width:"",height:""}).append(I),$=C.height()+k.height()+D.outerHeight(!0)-D.height(),B=_.width()+A.width()+D.outerWidth(!0)-D.width(),U=I.outerHeight(!0),z=I.outerWidth(!0);var n=d(W.get("initialWidth"),"x"),r=d(W.get("initialHeight"),"y"),a=W.get("maxWidth"),i=W.get("maxHeight");W.w=Math.max((!1!==a?Math.min(n,d(a,"x")):n)-z-B,0),W.h=Math.max((!1!==i?Math.min(r,d(i,"y")):r)-U-$,0),I.css({width:"",height:W.h}),K.position(),y(re),W.get("onOpen"),q.add(R).hide(),S.focus(),W.get("trapFocus")&&s.addEventListener&&(s.addEventListener("focus",g,!0),ue.one(se,function(){s.removeEventListener("focus",g,!0)})),W.get("returnFocus")&&ue.one(se,function(){c(W.el).focus()})}var o=parseFloat(W.get("opacity"));w.css({opacity:o==o?o:"",cursor:W.get("overlayClose")?"pointer":"",visibility:"visible"}).show(),W.get("closeButton")?O.html(W.get("close")).appendTo(D):O.appendTo("<div/>"),x()}}function a(){S||(t=!1,j=c(o),S=l(ce).attr({id:ee,"class":!1===c.support.opacity?te+"IE":"",role:"dialog",tabindex:"-1"}).hide(),w=l(ce,"Overlay").hide(),E=c([l(ce,"LoadingOverlay")[0],l(ce,"LoadingGraphic")[0]]),T=l(ce,"Wrapper"),D=l(ce,"Content").append(R=l(ce,"Title"),F=l(ce,"Current"),M=c('<button type="button"/>').attr({id:te+"Previous"}),H=c('<button type="button"/>').attr({id:te+"Next"}),P=c('<button type="button"/>').attr({id:te+"Slideshow"}),E),O=c('<button type="button"/>').attr({id:te+"Close"}),T.append(l(ce).append(l(ce,"TopLeft"),C=l(ce,"TopCenter"),l(ce,"TopRight")),l(ce,!1,"clear:left").append(_=l(ce,"MiddleLeft"),D,A=l(ce,"MiddleRight")),l(ce,!1,"clear:left").append(l(ce,"BottomLeft"),k=l(ce,"BottomCenter"),l(ce,"BottomRight"))).find("div div").css({"float":"left"}),L=l(ce,!1,"position:absolute; width:9999px; visibility:hidden; display:none; max-width:none;"),q=H.add(M).add(F).add(P)),s.body&&!S.parent().length&&c(s.body).append(w,S.append(T,L))}function b(){function e(e){1<e.which||e.shiftKey||e.altKey||e.metaKey||e.ctrlKey||(e.preventDefault(),r(this))}return!!S&&(t||(t=!0,H.click(function(){K.next()}),M.click(function(){K.prev()}),O.click(function(){K.close()}),w.click(function(){W.get("overlayClose")&&K.close()}),c(s).bind("keydown."+te,function(e){var t=e.keyCode;G&&W.get("escKey")&&27===t&&(e.preventDefault(),K.close()),G&&W.get("arrowKey")&&N[1]&&!e.altKey&&(37===t?(e.preventDefault(),M.click()):39===t&&(e.preventDefault(),H.click()))}),c.isFunction(c.fn.on)?c(s).on("click."+te,"."+ne,e):c("."+ne).live("click."+te,e)),!0)}function x(){var e,t,n,r=K.prep,a=++fe;if(V=!(J=!0),y(le),y(ae),W.get("onLoad"),W.h=W.get("height")?d(W.get("height"),"y")-U-$:W.get("innerHeight")&&d(W.get("innerHeight"),"y"),W.w=W.get("width")?d(W.get("width"),"x")-z-B:W.get("innerWidth")&&d(W.get("innerWidth"),"x"),W.mw=W.w,W.mh=W.h,W.get("maxWidth")&&(W.mw=d(W.get("maxWidth"),"x")-z-B,W.mw=W.w&&W.w<W.mw?W.w:W.mw),W.get("maxHeight")&&(W.mh=d(W.get("maxHeight"),"y")-U-$,W.mh=W.h&&W.h<W.mh?W.h:W.mh),e=W.get("href"),Z=setTimeout(function(){E.show()},100),W.get("inline")){var i=c(e).eq(0);n=c("<div>").hide().insertBefore(i),ue.one(le,function(){n.replaceWith(i)}),r(i)}else W.get("iframe")?r(" "):W.get("html")?r(W.get("html")):h(W,e)?(e=p(W,e),V=W.get("createImg"),c(V).addClass(te+"Photo").bind("error."+te,function(){r(l(ce,"Error").html(W.get("imgError")))}).one("load",function(){a===fe&&setTimeout(function(){var e;W.get("retinaImage")&&1<o.devicePixelRatio&&(V.height=V.height/o.devicePixelRatio,V.width=V.width/o.devicePixelRatio),W.get("scalePhotos")&&(t=function(){V.height-=V.height*e,V.width-=V.width*e},W.mw&&V.width>W.mw&&(e=(V.width-W.mw)/V.width,t()),W.mh&&V.height>W.mh&&(e=(V.height-W.mh)/V.height,t())),W.h&&(V.style.marginTop=Math.max(W.mh-V.height,0)/2+"px"),N[1]&&(W.get("loop")||N[X+1])&&(V.style.cursor="pointer",c(V).bind("click."+te,function(){K.next()})),V.style.width=V.width+"px",V.style.height=V.height+"px",r(V)},1)}),V.src=e):e&&L.load(e,W.get("data"),function(e,t){a===fe&&r("error"===t?l(ce,"Error").html(W.get("xhrError")):c(this).contents())})}var w,S,T,D,C,_,A,k,N,j,I,L,E,R,F,P,H,M,O,q,W,$,B,U,z,X,V,G,J,Y,Z,K,t,Q={html:!1,photo:!1,iframe:!1,inline:!1,transition:"elastic",speed:300,fadeOut:300,width:!1,initialWidth:"600",innerWidth:!1,maxWidth:!1,height:!1,initialHeight:"450",innerHeight:!1,maxHeight:!1,scalePhotos:!0,scrolling:!0,opacity:.9,preloading:!0,className:!1,overlayClose:!0,escKey:!0,arrowKey:!0,top:!1,bottom:!1,left:!1,right:!1,fixed:!1,data:undefined,closeButton:!0,fastIframe:!0,open:!1,reposition:!0,loop:!0,slideshow:!1,slideshowAuto:!0,slideshowSpeed:2500,slideshowStart:"start slideshow",slideshowStop:"stop slideshow",photoRegex:/\.(gif|png|jp(e|g|eg)|bmp|ico|webp|jxr|svg)((#|\?).*)?$/i,retinaImage:!1,retinaUrl:!1,retinaSuffix:"@2x.$1",current:"image {current} of {total}",previous:"previous",next:"next",close:"close",xhrError:"This content failed to load.",imgError:"This image failed to load.",returnFocus:!0,trapFocus:!0,onOpen:!1,onLoad:!1,onComplete:!1,onCleanup:!1,onClosed:!1,rel:function(){return this.rel},href:function(){return c(this).attr("href")},title:function(){return this.title},createImg:function(){var n=new Image,e=c(this).data("cbox-img-attrs");return"object"==typeof e&&c.each(e,function(e,t){n[e]=t}),n},createIframe:function(){var n=s.createElement("iframe"),e=c(this).data("cbox-iframe-attrs");return"object"==typeof e&&c.each(e,function(e,t){n[e]=t}),"frameBorder"in n&&(n.frameBorder=0),"allowTransparency"in n&&(n.allowTransparency="true"),n.name=(new Date).getTime(),n.allowFullscreen=!0,n}},ee="colorbox",te="cbox",ne=te+"Element",re=te+"_open",ae=te+"_load",ie=te+"_complete",oe=te+"_cleanup",se=te+"_closed",le=te+"_purge",ue=c("<a/>"),ce="div",fe=0,de={},he=function(){function e(){clearTimeout(o)}function t(){(W.get("loop")||N[X+1])&&(e(),o=setTimeout(K.next,W.get("slideshowSpeed")))}function n(){P.html(W.get("slideshowStop")).unbind(l).one(l,r),ue.bind(ie,t).bind(ae,e),S.removeClass(s+"off").addClass(s+"on")}function r(){e(),ue.unbind(ie,t).unbind(ae,e),P.html(W.get("slideshowStart")).unbind(l).one(l,function(){K.next(),n()}),S.removeClass(s+"on").addClass(s+"off")}function a(){i=!1,P.hide(),e(),ue.unbind(ie,t).unbind(ae,e),S.removeClass(s+"off "+s+"on")}var i,o,s=te+"Slideshow_",l="click."+te;return function(){i?W.get("slideshow")||(ue.unbind(oe,a),a()):W.get("slideshow")&&N[1]&&(i=!0,ue.one(oe,a),W.get("slideshowAuto")?n():r(),P.show())}}();c[ee]||(c(a),(K=c.fn[ee]=c[ee]=function(t,e){var n=this;return t=t||{},c.isFunction(n)&&(n=c("<a/>"),t.open=!0),n[0]&&(a(),b()&&(e&&(t.onComplete=e),n.each(function(){var e=c.data(this,ee)||{};c.data(this,ee,c.extend(e,t))}).addClass(ne),new u(n[0],t).get("open")&&r(n[0]))),n}).position=function(t,e){function n(){C[0].style.width=k[0].style.width=D[0].style.width=parseInt(S[0].style.width,10)-B+"px",D[0].style.height=_[0].style.height=A[0].style.height=parseInt(S[0].style.height,10)-$+"px"}var r,a,i,o=0,s=0,l=S.offset();if(j.unbind("resize."+te),S.css({top:-9e4,left:-9e4}),a=j.scrollTop(),i=j.scrollLeft(),W.get("fixed")?(l.top-=a,l.left-=i,S.css({position:"fixed"})):(o=a,s=i,S.css({position:"absolute"})),!1!==W.get("right")?s+=Math.max(j.width()-W.w-z-B-d(W.get("right"),"x"),0):!1!==W.get("left")?s+=d(W.get("left"),"x"):s+=Math.round(Math.max(j.width()-W.w-z-B,0)/2),!1!==W.get("bottom")?o+=Math.max(f()-W.h-U-$-d(W.get("bottom"),"y"),0):!1!==W.get("top")?o+=d(W.get("top"),"y"):o+=Math.round(Math.max(f()-W.h-U-$,0)/2),S.css({top:l.top,left:l.left,visibility:"visible"}),T[0].style.width=T[0].style.height="9999px",r={width:W.w+z+B,height:W.h+U+$,top:o,left:s},t){var u=0;c.each(r,function(e){r[e]===de[e]||(u=t)}),t=u}de=r,t||S.css(r),S.dequeue().animate(r,{duration:t||0,complete:function(){n(),J=!1,T[0].style.width=W.w+z+B+"px",T[0].style.height=W.h+U+$+"px",W.get("reposition")&&setTimeout(function(){j.bind("resize."+te,K.position)},1),c.isFunction(e)&&e()},step:n})},K.resize=function(e){var t;G&&((e=e||{}).width&&(W.w=d(e.width,"x")-z-B),e.innerWidth&&(W.w=d(e.innerWidth,"x")),I.css({width:W.w}),e.height&&(W.h=d(e.height,"y")-U-$),e.innerHeight&&(W.h=d(e.innerHeight,"y")),e.innerHeight||e.height||(t=I.scrollTop(),I.css({height:"auto"}),W.h=I.height()),I.css({height:W.h}),t&&I.scrollTop(t),K.position("none"===W.get("transition")?0:W.get("speed")))},K.prep=function(e){function t(){return W.w=W.w||I.width(),W.w=W.mw&&W.mw<W.w?W.mw:W.w,W.w}function n(){return W.h=W.h||I.height(),W.h=W.mh&&W.mh<W.h?W.mh:W.h,W.h}if(G){var r,a="none"===W.get("transition")?0:W.get("speed");I.remove(),(I=l(ce,"LoadedContent").append(e)).hide().appendTo(L.show()).css({width:t(),overflow:W.get("scrolling")?"auto":"hidden"}).css({height:n()}).prependTo(D),L.hide(),c(V).css({"float":"none"}),m(W.get("className")),r=function(){function e(){!1===c.support.opacity&&S[0].style.removeAttribute("filter")}var t,n,r=N.length;G&&(n=function(){clearTimeout(Z),E.hide(),y(ie),W.get("onComplete")},R.html(W.get("title")).show(),I.show(),1<r?("string"==typeof W.get("current")&&F.html(W.get("current").replace("{current}",X+1).replace("{total}",r)).show(),H[W.get("loop")||X<r-1?"show":"hide"]().html(W.get("next")),M[W.get("loop")||X?"show":"hide"]().html(W.get("previous")),he(),W.get("preloading")&&c.each([i(-1),i(1)],function(){var e=N[this],t=new u(e,c.data(e,ee)),n=t.get("href");n&&h(t,n)&&(n=p(t,n),s.createElement("img").src=n)})):q.hide(),W.get("iframe")?(t=W.get("createIframe"),W.get("scrolling")||(t.scrolling="no"),c(t).attr({src:W.get("href"),"class":te+"Iframe"}).one("load",n).appendTo(I),ue.one(le,function(){t.src="//about:blank"}),W.get("fastIframe")&&c(t).trigger("load")):n(),"fade"===W.get("transition")?S.fadeTo(a,1,e):e())},"fade"===W.get("transition")?S.fadeTo(a,0,function(){K.position(0,r)}):K.position(a,r)}},K.next=function(){!J&&N[1]&&(W.get("loop")||N[X+1])&&(X=i(1),r(N[X]))},K.prev=function(){!J&&N[1]&&(W.get("loop")||X)&&(X=i(-1),r(N[X]))},K.close=function(){G&&!Y&&(G=!(Y=!0),y(oe),W.get("onCleanup"),j.unbind("."+te),w.fadeTo(W.get("fadeOut")||0,0),S.stop().fadeTo(W.get("fadeOut")||0,0,function(){S.hide(),w.hide(),y(le),I.remove(),setTimeout(function(){Y=!1,y(se),W.get("onClosed")},1)}))},K.remove=function(){S&&(S.stop(),c[ee].close(),S.stop(!1,!0).remove(),w.remove(),Y=!1,S=null,c("."+ne).removeData(ee).removeClass(ne),c(s).unbind("click."+te).unbind("keydown."+te))},K.element=function(){return c(W.el)},K.settings=Q)}(jQuery,document,window),function(n){"use strict";"function"==typeof define&&define.amd?define(["jquery"],function(e){return n(e,window,document)}):"object"==typeof exports?module.exports=function(e,t){return e||(e=window),t||(t="undefined"!=typeof window?require("jquery"):require("jquery")(e)),n(t,e,e.document)}:n(jQuery,window,document)}(function($,k,x,B){"use strict";function o(t){var n,r,a="a aa ai ao as b fn i m o s ",i={};$.each(t,function(e){(n=e.match(/^([^A-Z]+?)([A-Z])/))&&-1!==a.indexOf(n[1]+" ")&&(r=e.replace(n[0],n[2].toLowerCase()),i[r]=e,"o"===n[1]&&o(t[e]))}),t._hungarianMap=i}function A(t,n,r){var a;t._hungarianMap||o(t),$.each(n,function(e){(a=t._hungarianMap[e])===B||!r&&n[a]!==B||("o"===a.charAt(0)?(n[a]||(n[a]={}),$.extend(!0,n[a],n[e]),A(t[a],n[a],r)):n[a]=n[e])})}function N(e){var t=Ge.defaults.oLanguage,n=t.sDecimal;if(n&&$e(n),e){var r=e.sZeroRecords;!e.sEmptyTable&&r&&"No data available in table"===t.sEmptyTable&&Ee(e,e,"sZeroRecords","sEmptyTable"),!e.sLoadingRecords&&r&&"Loading..."===t.sLoadingRecords&&Ee(e,e,"sZeroRecords","sLoadingRecords"),e.sInfoThousands&&(e.sThousands=e.sInfoThousands);var a=e.sDecimal;a&&n!==a&&$e(a)}}function j(e){pt(e,"ordering","bSort"),pt(e,"orderMulti","bSortMulti"),pt(e,"orderClasses","bSortClasses"),pt(e,"orderCellsTop","bSortCellsTop"),pt(e,"order","aaSorting"),pt(e,"orderFixed","aaSortingFixed"),pt(e,"paging","bPaginate"),pt(e,"pagingType","sPaginationType"),pt(e,"pageLength","iDisplayLength"),pt(e,"searching","bFilter"),"boolean"==typeof e.sScrollX&&(e.sScrollX=e.sScrollX?"100%":""),"boolean"==typeof e.scrollX&&(e.scrollX=e.scrollX?"100%":"");var t=e.aoSearchCols;if(t)for(var n=0,r=t.length;n<r;n++)t[n]&&A(Ge.models.oSearch,t[n])}function I(e){pt(e,"orderable","bSortable"),pt(e,"orderData","aDataSort"),pt(e,"orderSequence","asSorting"),pt(e,"orderDataType","sortDataType");var t=e.aDataSort;"number"!=typeof t||$.isArray(t)||(e.aDataSort=[t])}function L(e){if(!Ge.__browser){var t={};Ge.__browser=t;var n=$("<div/>").css({position:"fixed",top:0,left:-1*$(k).scrollLeft(),height:1,width:1,overflow:"hidden"}).append($("<div/>").css({position:"absolute",top:1,left:1,width:100,overflow:"scroll"}).append($("<div/>").css({width:"100%",height:10}))).appendTo("body"),r=n.children(),a=r.children();t.barWidth=r[0].offsetWidth-r[0].clientWidth,t.bScrollOversize=100===a[0].offsetWidth&&100!==r[0].clientWidth,t.bScrollbarLeft=1!==Math.round(a.offset().left),t.bBounding=!!n[0].getBoundingClientRect().width,n.remove()}$.extend(e.oBrowser,Ge.__browser),e.oScroll.iBarWidth=Ge.__browser.barWidth}function n(e,t,n,r,a,i){var o,s=r,l=!1;for(n!==B&&(o=n,l=!0);s!==a;)e.hasOwnProperty(s)&&(o=l?t(o,e[s],s,e):e[s],l=!0,s+=i);return o}function E(e,t){var n=Ge.defaults.column,r=e.aoColumns.length,a=$.extend({},Ge.models.oColumn,n,{nTh:t||x.createElement("th"),sTitle:n.sTitle?n.sTitle:t?t.innerHTML:"",aDataSort:n.aDataSort?n.aDataSort:[r],mData:n.mData?n.mData:r,idx:r});e.aoColumns.push(a);var i=e.aoPreSearchCols;i[r]=$.extend({},Ge.models.oSearch,i[r]),R(e,r,$(t).data())}function R(e,t,n){var r=e.aoColumns[t],a=e.oClasses,i=$(r.nTh);if(!r.sWidthOrig){r.sWidthOrig=i.attr("width")||null;var o=(i.attr("style")||"").match(/width:\s*(\d+[pxem%]+)/);o&&(r.sWidthOrig=o[1])}n!==B&&null!==n&&(I(n),A(Ge.defaults.column,n,!0),n.mDataProp===B||n.mData||(n.mData=n.mDataProp),n.sType&&(r._sManualType=n.sType),n.className&&!n.sClass&&(n.sClass=n.className),n.sClass&&i.addClass(n.sClass),$.extend(r,n),Ee(r,n,"sWidth","sWidthOrig"),n.iDataSort!==B&&(r.aDataSort=[n.iDataSort]),Ee(r,n,"aDataSort"));var s=r.mData,l=q(s),u=r.mRender?q(r.mRender):null,c=function(e){return"string"==typeof e&&-1!==e.indexOf("@")};r._bAttrSrc=$.isPlainObject(s)&&(c(s.sort)||c(s.type)||c(s.filter)),r._setter=null,r.fnGetData=function(e,t,n){var r=l(e,t,B,n);return u&&t?u(r,t,e,n):r},r.fnSetData=function(e,t,n){return y(s)(e,t,n)},"number"!=typeof s&&(e._rowReadObject=!0),e.oFeatures.bSort||(r.bSortable=!1,i.addClass(a.sSortableNone));var f=-1!==$.inArray("asc",r.asSorting),d=-1!==$.inArray("desc",r.asSorting);r.bSortable&&(f||d)?f&&!d?(r.sSortingClass=a.sSortableAsc,r.sSortingClassJUI=a.sSortJUIAscAllowed):!f&&d?(r.sSortingClass=a.sSortableDesc,r.sSortingClassJUI=a.sSortJUIDescAllowed):(r.sSortingClass=a.sSortable,r.sSortingClassJUI=a.sSortJUI):(r.sSortingClass=a.sSortableNone,r.sSortingClassJUI="")}function U(e){if(!1!==e.oFeatures.bAutoWidth){var t=e.aoColumns;ve(e);for(var n=0,r=t.length;n<r;n++)t[n].nTh.style.width=t[n].sWidth}var a=e.oScroll;""===a.sY&&""===a.sX||ge(e),He(e,null,"column-sizing",[e])}function z(e,t){var n=P(e,"bVisible");return"number"==typeof n[t]?n[t]:null}function c(e,t){var n=P(e,"bVisible"),r=$.inArray(t,n);return-1!==r?r:null}function F(e){var n=0;return $.each(e.aoColumns,function(e,t){t.bVisible&&"none"!==$(t.nTh).css("display")&&n++}),n}function P(e,n){var r=[];return $.map(e.aoColumns,function(e,t){e[n]&&r.push(t)}),r}function l(e){var t,n,r,a,i,o,s,l,u,c=e.aoColumns,f=e.aoData,d=Ge.ext.type.detect;for(t=0,n=c.length;t<n;t++)if(u=[],!(s=c[t]).sType&&s._sManualType)s.sType=s._sManualType;else if(!s.sType){for(r=0,a=d.length;r<a;r++){for(i=0,o=f.length;i<o&&(u[i]===B&&(u[i]=g(e,i,t,"type")),(l=d[r](u[i],e))||r===d.length-1)&&"html"!==l;i++);if(l){s.sType=l;break}}s.sType||(s.sType="string")}}function H(e,t,n,r){var a,i,o,s,l,u,c,f=e.aoColumns;if(t)for(a=t.length-1;0<=a;a--){var d=(c=t[a]).targets!==B?c.targets:c.aTargets;for($.isArray(d)||(d=[d]),o=0,s=d.length;o<s;o++)if("number"==typeof d[o]&&0<=d[o]){for(;f.length<=d[o];)E(e);r(d[o],c)}else if("number"==typeof d[o]&&d[o]<0)r(f.length+d[o],c);else if("string"==typeof d[o])for(l=0,u=f.length;l<u;l++)("_all"==d[o]||$(f[l].nTh).hasClass(d[o]))&&r(l,c)}if(n)for(a=0,i=n.length;a<i;a++)r(a,n[a])}function M(e,t,n,r){var a=e.aoData.length,i=$.extend(!0,{},Ge.models.oRow,{src:n?"dom":"data",idx:a});i._aData=t,e.aoData.push(i);for(var o=e.aoColumns,s=0,l=o.length;s<l;s++)o[s].sType=null;e.aiDisplayMaster.push(a);var u=e.rowIdFn(t);return u!==B&&(e.aIds[u]=i),!n&&e.oFeatures.bDeferRender||S(e,a,n,r),a}function O(n,e){var r;return e instanceof $||(e=$(e)),e.map(function(e,t){return r=f(n,t),M(n,r.data,t,r.cells)})}function e(e,t){return t._DT_RowIndex!==B?t._DT_RowIndex:null}function t(e,t,n){return $.inArray(n,e.aoData[t].anCells)}function g(e,t,n,r){var a=e.iDraw,i=e.aoColumns[n],o=e.aoData[t]._aData,s=i.sDefaultContent,l=i.fnGetData(o,r,{settings:e,row:t,col:n});if(l===B)return e.iDrawError!=a&&null===s&&(Le(e,0,"Requested unknown parameter "+("function"==typeof i.mData?"{function}":"'"+i.mData+"'")+" for row "+t+", column "+n,4),e.iDrawError=a),s;if(l!==o&&null!==l||null===s||r===B){if("function"==typeof l)return l.call(o)}else l=s;return null===l&&"display"==r?"":l}function r(e,t,n,r){var a=e.aoColumns[n],i=e.aoData[t]._aData;a.fnSetData(i,r,{settings:e,row:t,col:n})}function m(e){return $.map(e.match(/(\\.|[^\.])+/g)||[""],function(e){return e.replace(/\\\./g,".")})}function q(a){if($.isPlainObject(a)){var i={};return $.each(a,function(e,t){t&&(i[e]=q(t))}),function(e,t,n,r){var a=i[t]||i._;return a!==B?a(e,t,n,r):e}}if(null===a)return function(e){return e};if("function"==typeof a)return function(e,t,n,r){return a(e,t,n,r)};if("string"!=typeof a||-1===a.indexOf(".")&&-1===a.indexOf("[")&&-1===a.indexOf("("))return function(e){return e[a]};var h=function(e,t,n){var r,a,i,o;if(""!==n)for(var s=m(n),l=0,u=s.length;l<u;l++){if(r=s[l].match(gt),a=s[l].match(mt),r){if(s[l]=s[l].replace(gt,""),""!==s[l]&&(e=e[s[l]]),i=[],s.splice(0,l+1),o=s.join("."),$.isArray(e))for(var c=0,f=e.length;c<f;c++)i.push(h(e[c],t,o));var d=r[0].substring(1,r[0].length-1);e=""===d?i:i.join(d);break}if(a)s[l]=s[l].replace(mt,""),e=e[s[l]]();else{if(null===e||e[s[l]]===B)return B;e=e[s[l]]}}return e};return function(e,t){return h(e,t,a)}}function y(r){if($.isPlainObject(r))return y(r._);if(null===r)return function(){};if("function"==typeof r)return function(e,t,n){r(e,"set",t,n)};if("string"!=typeof r||-1===r.indexOf(".")&&-1===r.indexOf("[")&&-1===r.indexOf("("))return function(e,t){e[r]=t};var p=function(e,t,n){for(var r,a,i,o,s,l=m(n),u=l[l.length-1],c=0,f=l.length-1;c<f;c++){if(a=l[c].match(gt),i=l[c].match(mt),a){if(l[c]=l[c].replace(gt,""),e[l[c]]=[],(r=l.slice()).splice(0,c+1),s=r.join("."),$.isArray(t))for(var d=0,h=t.length;d<h;d++)p(o={},t[d],s),e[l[c]].push(o);else e[l[c]]=t;return}i&&(l[c]=l[c].replace(mt,""),e=e[l[c]](t)),null!==e[l[c]]&&e[l[c]]!==B||(e[l[c]]={}),e=e[l[c]]}u.match(mt)?e=e[u.replace(mt,"")](t):e[u.replace(gt,"")]=t};return function(e,t){return p(e,t,r)}}function w(e){return st(e.aoData,"_aData")}function u(e){e.aoData.length=0,e.aiDisplayMaster.length=0,e.aiDisplay.length=0,e.aIds={}}function h(e,t,n){for(var r=-1,a=0,i=e.length;a<i;a++)e[a]==t?r=a:e[a]>t&&e[a]--;-1!=r&&n===B&&e.splice(r,1)}function a(n,r,e,t){var a,i,o=n.aoData[r],s=function(e,t){for(;e.childNodes.length;)e.removeChild(e.firstChild);e.innerHTML=g(n,r,t,"display")};if("dom"!==e&&(e&&"auto"!==e||"dom"!==o.src)){var l=o.anCells;if(l)if(t!==B)s(l[t],t);else for(a=0,i=l.length;a<i;a++)s(l[a],a)}else o._aData=f(n,o,t,t===B?B:o._aData).data;o._aSortData=null,o._aFilterData=null;var u=n.aoColumns;if(t!==B)u[t].sType=null;else{for(a=0,i=u.length;a<i;a++)u[a].sType=null;p(n,o)}}function f(e,t,n,a){var r,i,o,s=[],l=t.firstChild,u=0,c=e.aoColumns,f=e._rowReadObject;a=a!==B?a:f?{}:[];var d=function(e,t){if("string"==typeof e){var n=e.indexOf("@");if(-1!==n){var r=e.substring(n+1);y(e)(a,t.getAttribute(r))}}},h=function(e){n!==B&&n!==u||(i=c[u],o=$.trim(e.innerHTML),i&&i._bAttrSrc?(y(i.mData._)(a,o),d(i.mData.sort,e),d(i.mData.type,e),d(i.mData.filter,e)):f?(i._setter||(i._setter=y(i.mData)),i._setter(a,o)):a[u]=o);u++};if(l)for(;l;)"TD"!=(r=l.nodeName.toUpperCase())&&"TH"!=r||(h(l),s.push(l)),l=l.nextSibling;else for(var p=0,g=(s=t.anCells).length;p<g;p++)h(s[p]);var m=t.firstChild?t:t.nTr;if(m){var v=m.getAttribute("id");v&&y(e.rowId)(a,v)}return{data:a,cells:s}}function S(e,t,n,r){var a,i,o,s,l,u,c=e.aoData[t],f=c._aData,d=[];if(null===c.nTr){for(a=n||x.createElement("tr"),c.nTr=a,c.anCells=d,a._DT_RowIndex=t,p(e,c),s=0,l=e.aoColumns.length;s<l;s++)o=e.aoColumns[s],(i=(u=!n)?x.createElement(o.sCellType):r[s])._DT_CellIndex={row:t,column:s},d.push(i),!u&&(n&&!o.mRender&&o.mData===s||$.isPlainObject(o.mData)&&o.mData._===s+".display")||(i.innerHTML=g(e,t,s,"display")),o.sClass&&(i.className+=" "+o.sClass),o.bVisible&&!n?a.appendChild(i):!o.bVisible&&n&&i.parentNode.removeChild(i),o.fnCreatedCell&&o.fnCreatedCell.call(e.oInstance,i,g(e,t,s),f,t,s);He(e,"aoRowCreatedCallback",null,[a,f,t,d])}c.nTr.setAttribute("role","row")}function p(e,t){var n=t.nTr,r=t._aData;if(n){var a=e.rowIdFn(r);if(a&&(n.id=a),r.DT_RowClass){var i=r.DT_RowClass.split(" ");t.__rowc=t.__rowc?ht(t.__rowc.concat(i)):i,$(n).removeClass(t.__rowc.join(" ")).addClass(r.DT_RowClass)}r.DT_RowAttr&&$(n).attr(r.DT_RowAttr),r.DT_RowData&&$(n).data(r.DT_RowData)}}function d(e){var t,n,r,a,i,o=e.nTHead,s=e.nTFoot,l=0===$("th, td",o).length,u=e.oClasses,c=e.aoColumns;for(l&&(a=$("<tr/>").appendTo(o)),t=0,n=c.length;t<n;t++)i=c[t],r=$(i.nTh).addClass(i.sClass),l&&r.appendTo(a),e.oFeatures.bSort&&(r.addClass(i.sSortingClass),!1!==i.bSortable&&(r.attr("tabindex",e.iTabIndex).attr("aria-controls",e.sTableId),_e(e,i.nTh,t))),i.sTitle!=r[0].innerHTML&&r.html(i.sTitle),Oe(e,"header")(e,r,i,u);if(l&&W(e.aoHeader,o),$(o).find(">tr").attr("role","row"),$(o).find(">tr>th, >tr>td").addClass(u.sHeaderTH),$(s).find(">tr>th, >tr>td").addClass(u.sFooterTH),null!==s){var f=e.aoFooter[0];for(t=0,n=f.length;t<n;t++)(i=c[t]).nTf=f[t].cell,i.sClass&&$(i.nTf).addClass(i.sClass)}}function v(e,t,n){var r,a,i,o,s,l,u,c,f,d=[],h=[],p=e.aoColumns.length;if(t){for(n===B&&(n=!1),r=0,a=t.length;r<a;r++){for(d[r]=t[r].slice(),d[r].nTr=t[r].nTr,i=p-1;0<=i;i--)e.aoColumns[i].bVisible||n||d[r].splice(i,1);h.push([])}for(r=0,a=d.length;r<a;r++){if(u=d[r].nTr)for(;l=u.firstChild;)u.removeChild(l);for(i=0,o=d[r].length;i<o;i++)if(f=c=1,h[r][i]===B){for(u.appendChild(d[r][i].cell),h[r][i]=1;d[r+c]!==B&&d[r][i].cell==d[r+c][i].cell;)h[r+c][i]=1,c++;for(;d[r][i+f]!==B&&d[r][i].cell==d[r][i+f].cell;){for(s=0;s<c;s++)h[r+s][i+f]=1;f++}$(d[r][i].cell).attr("rowspan",c).attr("colspan",f)}}}}function b(e){var t=He(e,"aoPreDrawCallback","preDraw",[e]);if(-1===$.inArray(!1,t)){var n=[],r=0,a=e.asStripeClasses,i=a.length,o=(e.aoOpenRows.length,e.oLanguage),s=e.iInitDisplayStart,l="ssp"==qe(e),u=e.aiDisplay;e.bDrawing=!0,s!==B&&-1!==s&&(e._iDisplayStart=l?s:s>=e.fnRecordsDisplay()?0:s,e.iInitDisplayStart=-1);var c=e._iDisplayStart,f=e.fnDisplayEnd();if(e.bDeferLoading)e.bDeferLoading=!1,e.iDraw++,he(e,!1);else if(l){if(!e.bDestroying&&!_(e))return}else e.iDraw++;if(0!==u.length)for(var d=l?0:c,h=l?e.aoData.length:f,p=d;p<h;p++){var g=u[p],m=e.aoData[g];null===m.nTr&&S(e,g);var v=m.nTr;if(0!==i){var y=a[r%i];m._sRowStripe!=y&&($(v).removeClass(m._sRowStripe).addClass(y),m._sRowStripe=y)}He(e,"aoRowCallback",null,[v,m._aData,r,p,g]),n.push(v),r++}else{var b=o.sZeroRecords;1==e.iDraw&&"ajax"==qe(e)?b=o.sLoadingRecords:o.sEmptyTable&&0===e.fnRecordsTotal()&&(b=o.sEmptyTable),n[0]=$("<tr/>",{"class":i?a[0]:""}).append($("<td />",{valign:"top",colSpan:F(e),"class":e.oClasses.sRowEmpty}).html(b))[0]}He(e,"aoHeaderCallback","header",[$(e.nTHead).children("tr")[0],w(e),c,f,u]),He(e,"aoFooterCallback","footer",[$(e.nTFoot).children("tr")[0],w(e),c,f,u]);var x=$(e.nTBody);x.children().detach(),x.append($(n)),He(e,"aoDrawCallback","draw",[e]),e.bSorted=!1,e.bFiltered=!1,e.bDrawing=!1}else he(e,!1)}function T(e,t){var n=e.oFeatures,r=n.bSort,a=n.bFilter;r&&Te(e),a?J(e,e.oPreviousSearch):e.aiDisplay=e.aiDisplayMaster.slice(),!0!==t&&(e._iDisplayStart=0),e._drawHold=t,b(e),e._drawHold=!1}function D(e){var t=e.oClasses,n=$(e.nTable),r=$("<div/>").insertBefore(n),a=e.oFeatures,i=$("<div/>",{id:e.sTableId+"_wrapper","class":t.sWrapper+(e.nTFoot?"":" "+t.sNoFooter)});e.nHolding=r[0],e.nTableWrapper=i[0],e.nTableReinsertBefore=e.nTable.nextSibling;for(var o,s,l,u,c,f,d=e.sDom.split(""),h=0;h<d.length;h++){if(o=null,"<"==(s=d[h])){if(l=$("<div/>")[0],"'"==(u=d[h+1])||'"'==u){for(c="",f=2;d[h+f]!=u;)c+=d[h+f],f++;if("H"==c?c=t.sJUIHeader:"F"==c&&(c=t.sJUIFooter),-1!=c.indexOf(".")){var p=c.split(".");l.id=p[0].substr(1,p[0].length-1),l.className=p[1]}else"#"==c.charAt(0)?l.id=c.substr(1,c.length-1):l.className=c;h+=f}i.append(l),i=$(l)}else if(">"==s)i=i.parent();else if("l"==s&&a.bPaginate&&a.bLengthChange)o=ue(e);else if("f"==s&&a.bFilter)o=G(e);else if("r"==s&&a.bProcessing)o=de(e);else if("t"==s)o=pe(e);else if("i"==s&&a.bInfo)o=re(e);else if("p"==s&&a.bPaginate)o=ce(e);else if(0!==Ge.ext.feature.length)for(var g=Ge.ext.feature,m=0,v=g.length;m<v;m++)if(s==g[m].cFeature){o=g[m].fnInit(e);break}if(o){var y=e.aanFeatures;y[s]||(y[s]=[]),y[s].push(o),i.append(o)}}r.replaceWith(i),e.nHolding=null}function W(e,t){var n,r,a,i,o,s,l,u,c,f,d,h=$(t).children("tr"),p=function(e,t,n){for(var r=e[t];r[n];)n++;return n};for(e.splice(0,e.length),a=0,s=h.length;a<s;a++)e.push([]);for(a=0,s=h.length;a<s;a++)for(u=0,r=(n=h[a]).firstChild;r;){if("TD"==r.nodeName.toUpperCase()||"TH"==r.nodeName.toUpperCase())for(c=(c=1*r.getAttribute("colspan"))&&0!==c&&1!==c?c:1,f=(f=1*r.getAttribute("rowspan"))&&0!==f&&1!==f?f:1,l=p(e,a,u),d=1===c,o=0;o<c;o++)for(i=0;i<f;i++)e[a+i][l+o]={cell:r,unique:d},e[a+i].nTr=n;r=r.nextSibling}}function X(e,t,n){var r=[];n||(n=e.aoHeader,t&&W(n=[],t));for(var a=0,i=n.length;a<i;a++)for(var o=0,s=n[a].length;o<s;o++)!n[a][o].unique||r[o]&&e.bSortCellsTop||(r[o]=n[a][o].cell);return r}function C(r,e,t){if(He(r,"aoServerParams","serverParams",[e]),e&&$.isArray(e)){var a={},i=/(.*?)\[\]$/;$.each(e,function(e,t){var n=t.name.match(i);if(n){var r=n[0];a[r]||(a[r]=[]),a[r].push(t.value)}else a[t.name]=t.value}),e=a}var n,o=r.ajax,s=r.oInstance,l=function(e){He(r,null,"xhr",[r,e,r.jqXHR]),t(e)};if($.isPlainObject(o)&&o.data){var u="function"==typeof(n=o.data)?n(e,r):n;e="function"==typeof n&&u?u:$.extend(!0,e,u),delete o.data}var c={data:e,success:function(e){var t=e.error||e.sError;t&&Le(r,0,t),r.json=e,l(e)},dataType:"json",cache:!1,type:r.sServerMethod,error:function(e,t){var n=He(r,null,"xhr",[r,null,r.jqXHR]);-1===$.inArray(!0,n)&&("parsererror"==t?Le(r,0,"Invalid JSON response",1):4===e.readyState&&Le(r,0,"Ajax error",7)),he(r,!1)}};r.oAjaxData=e,He(r,null,"preXhr",[r,e]),r.fnServerData?r.fnServerData.call(s,r.sAjaxSource,$.map(e,function(e,t){return{name:t,value:e}}),l,r):r.sAjaxSource||"string"==typeof o?r.jqXHR=$.ajax($.extend(c,{url:o||r.sAjaxSource})):"function"==typeof o?r.jqXHR=o.call(s,e,l,r):(r.jqXHR=$.ajax($.extend(c,o)),o.data=n)}function _(t){return!t.bAjaxDataGet||(t.iDraw++,he(t,!0),C(t,i(t),function(e){s(t,e)}),!1)}function i(e){var t,n,r,a,i=e.aoColumns,o=i.length,s=e.oFeatures,l=e.oPreviousSearch,u=e.aoPreSearchCols,c=[],f=Se(e),d=e._iDisplayStart,h=!1!==s.bPaginate?e._iDisplayLength:-1,p=function(e,t){c.push({name:e,value:t})};p("sEcho",e.iDraw),p("iColumns",o),p("sColumns",st(i,"sName").join(",")),p("iDisplayStart",d),p("iDisplayLength",h);var g={draw:e.iDraw,columns:[],order:[],start:d,length:h,search:{value:l.sSearch,regex:l.bRegex}};for(t=0;t<o;t++)r=i[t],a=u[t],n="function"==typeof r.mData?"function":r.mData,g.columns.push({data:n,name:r.sName,searchable:r.bSearchable,orderable:r.bSortable,search:{value:a.sSearch,regex:a.bRegex}}),p("mDataProp_"+t,n),s.bFilter&&(p("sSearch_"+t,a.sSearch),p("bRegex_"+t,a.bRegex),p("bSearchable_"+t,r.bSearchable)),s.bSort&&p("bSortable_"+t,r.bSortable);s.bFilter&&(p("sSearch",l.sSearch),p("bRegex",l.bRegex)),s.bSort&&($.each(f,function(e,t){g.order.push({column:t.col,dir:t.dir}),p("iSortCol_"+e,t.col),p("sSortDir_"+e,t.dir)}),p("iSortingCols",f.length));var m=Ge.ext.legacy.ajax;return null===m?e.sAjaxSource?c:g:m?c:g}function s(e,n){var t=function(e,t){return n[e]!==B?n[e]:n[t]},r=V(e,n),a=t("sEcho","draw"),i=t("iTotalRecords","recordsTotal"),o=t("iTotalDisplayRecords","recordsFiltered");if(a){if(1*a<e.iDraw)return;e.iDraw=1*a}u(e),e._iRecordsTotal=parseInt(i,10),e._iRecordsDisplay=parseInt(o,10);for(var s=0,l=r.length;s<l;s++)M(e,r[s]);e.aiDisplay=e.aiDisplayMaster.slice(),e.bAjaxDataGet=!1,b(e),e._bInitComplete||se(e,n),e.bAjaxDataGet=!0,he(e,!1)}function V(e,t){var n=$.isPlainObject(e.ajax)&&e.ajax.dataSrc!==B?e.ajax.dataSrc:e.sAjaxDataProp;return"data"===n?t.aaData||t[n]:""!==n?q(n)(t):t}function G(r){var e=r.oClasses,t=r.sTableId,n=r.oLanguage,a=r.oPreviousSearch,i=r.aanFeatures,o='<input type="search" class="'+e.sFilterInput+'"/>',s=n.sSearch;s=s.match(/_INPUT_/)?s.replace("_INPUT_",o):s+o;var l=$("<div/>",{id:i.f?null:t+"_filter","class":e.sFilter}).append($("<label/>").append(s)),u=function(){i.f;var e=this.value?this.value:"";e!=a.sSearch&&(J(r,{sSearch:e,bRegex:a.bRegex,bSmart:a.bSmart,bCaseInsensitive:a.bCaseInsensitive}),r._iDisplayStart=0,b(r))},c=null!==r.searchDelay?r.searchDelay:"ssp"===qe(r)?400:0,f=$("input",l).val(a.sSearch).attr("placeholder",n.sSearchPlaceholder).on("keyup.DT search.DT input.DT paste.DT cut.DT",c?wt(u,c):u).on("keypress.DT",function(e){if(13==e.keyCode)return!1}).attr("aria-controls",t);return $(r.nTable).on("search.dt.DT",function(e,t){if(r===t)try{f[0]!==x.activeElement&&f.val(a.sSearch)}catch(n){}}),l[0]}function J(e,t,n){var r=e.oPreviousSearch,
|
5
|
+
a=e.aoPreSearchCols,i=function(e){r.sSearch=e.sSearch,r.bRegex=e.bRegex,r.bSmart=e.bSmart,r.bCaseInsensitive=e.bCaseInsensitive},o=function(e){return e.bEscapeRegex!==B?!e.bEscapeRegex:e.bRegex};if(l(e),"ssp"!=qe(e)){K(e,t.sSearch,n,o(t),t.bSmart,t.bCaseInsensitive),i(t);for(var s=0;s<a.length;s++)Z(e,a[s].sSearch,s,o(a[s]),a[s].bSmart,a[s].bCaseInsensitive);Y(e)}else i(t);e.bFiltered=!0,He(e,null,"search",[e])}function Y(e){for(var t,n,r=Ge.ext.search,a=e.aiDisplay,i=0,o=r.length;i<o;i++){for(var s=[],l=0,u=a.length;l<u;l++)n=a[l],t=e.aoData[n],r[i](e,t._aFilterData,n,t._aData,l)&&s.push(n);a.length=0,$.merge(a,s)}}function Z(e,t,n,r,a,i){if(""!==t){for(var o,s=[],l=e.aiDisplay,u=Q(t,r,a,i),c=0;c<l.length;c++)o=e.aoData[l[c]]._aFilterData[n],u.test(o)&&s.push(l[c]);e.aiDisplay=s}}function K(e,t,n,r,a,i){var o,s,l,u=Q(t,r,a,i),c=e.oPreviousSearch.sSearch,f=e.aiDisplayMaster,d=[];if(0!==Ge.ext.search.length&&(n=!0),s=ee(e),t.length<=0)e.aiDisplay=f.slice();else{for((s||n||r||c.length>t.length||0!==t.indexOf(c)||e.bSorted)&&(e.aiDisplay=f.slice()),o=e.aiDisplay,l=0;l<o.length;l++)u.test(e.aoData[o[l]]._sFilterRow)&&d.push(o[l]);e.aiDisplay=d}}function Q(e,t,n,r){(e=t?e:vt(e),n)&&(e="^(?=.*?"+$.map(e.match(/"[^"]+"|[^ ]+/g)||[""],function(e){if('"'===e.charAt(0)){var t=e.match(/^"(.*)"$/);e=t?t[1]:e}return e.replace('"',"")}).join(")(?=.*?")+").*$");return new RegExp(e,r?"i":"")}function ee(e){var t,n,r,a,i,o,s,l,u=e.aoColumns,c=Ge.ext.type.search,f=!1;for(n=0,a=e.aoData.length;n<a;n++)if(!(l=e.aoData[n])._aFilterData){for(o=[],r=0,i=u.length;r<i;r++)(t=u[r]).bSearchable?(s=g(e,n,r,"filter"),c[t.sType]&&(s=c[t.sType](s)),null===s&&(s=""),"string"!=typeof s&&s.toString&&(s=s.toString())):s="",s.indexOf&&-1!==s.indexOf("&")&&(yt.innerHTML=s,s=bt?yt.textContent:yt.innerText),s.replace&&(s=s.replace(/[\r\n\u2028]/g,"")),o.push(s);l._aFilterData=o,l._sFilterRow=o.join(" "),f=!0}return f}function te(e){return{search:e.sSearch,smart:e.bSmart,regex:e.bRegex,caseInsensitive:e.bCaseInsensitive}}function ne(e){return{sSearch:e.search,bSmart:e.smart,bRegex:e.regex,bCaseInsensitive:e.caseInsensitive}}function re(e){var t=e.sTableId,n=e.aanFeatures.i,r=$("<div/>",{"class":e.oClasses.sInfo,id:n?null:t+"_info"});return n||(e.aoDrawCallback.push({fn:ae,sName:"information"}),r.attr("role","status").attr("aria-live","polite"),$(e.nTable).attr("aria-describedby",t+"_info")),r[0]}function ae(e){var t=e.aanFeatures.i;if(0!==t.length){var n=e.oLanguage,r=e._iDisplayStart+1,a=e.fnDisplayEnd(),i=e.fnRecordsTotal(),o=e.fnRecordsDisplay(),s=o?n.sInfo:n.sInfoEmpty;o!==i&&(s+=" "+n.sInfoFiltered),s=ie(e,s+=n.sInfoPostFix);var l=n.fnInfoCallback;null!==l&&(s=l.call(e.oInstance,e,r,a,i,o,s)),$(t).html(s)}}function ie(e,t){var n=e.fnFormatNumber,r=e._iDisplayStart+1,a=e._iDisplayLength,i=e.fnRecordsDisplay(),o=-1===a;return t.replace(/_START_/g,n.call(e,r)).replace(/_END_/g,n.call(e,e.fnDisplayEnd())).replace(/_MAX_/g,n.call(e,e.fnRecordsTotal())).replace(/_TOTAL_/g,n.call(e,i)).replace(/_PAGE_/g,n.call(e,o?1:Math.ceil(r/a))).replace(/_PAGES_/g,n.call(e,o?1:Math.ceil(i/a)))}function oe(n){var r,e,t,a=n.iInitDisplayStart,i=n.aoColumns,o=n.oFeatures,s=n.bDeferLoading;if(n.bInitialised){for(D(n),d(n),v(n,n.aoHeader),v(n,n.aoFooter),he(n,!0),o.bAutoWidth&&ve(n),r=0,e=i.length;r<e;r++)(t=i[r]).sWidth&&(t.nTh.style.width=we(t.sWidth));He(n,null,"preInit",[n]),T(n);var l=qe(n);("ssp"!=l||s)&&("ajax"==l?C(n,[],function(e){var t=V(n,e);for(r=0;r<t.length;r++)M(n,t[r]);n.iInitDisplayStart=a,T(n),he(n,!1),se(n,e)},n):(he(n,!1),se(n)))}else setTimeout(function(){oe(n)},200)}function se(e,t){e._bInitComplete=!0,(t||e.oInit.aaData)&&U(e),He(e,null,"plugin-init",[e,t]),He(e,"aoInitComplete","init",[e,t])}function le(e,t){var n=parseInt(t,10);e._iDisplayLength=n,Me(e),He(e,null,"length",[e,n])}function ue(r){for(var e=r.oClasses,t=r.sTableId,n=r.aLengthMenu,a=$.isArray(n[0]),i=a?n[0]:n,o=a?n[1]:n,s=$("<select/>",{name:t+"_length","aria-controls":t,"class":e.sLengthSelect}),l=0,u=i.length;l<u;l++)s[0][l]=new Option("number"==typeof o[l]?r.fnFormatNumber(o[l]):o[l],i[l]);var c=$("<div><label/></div>").addClass(e.sLength);return r.aanFeatures.l||(c[0].id=t+"_length"),c.children().append(r.oLanguage.sLengthMenu.replace("_MENU_",s[0].outerHTML)),$("select",c).val(r._iDisplayLength).on("change.DT",function(){le(r,$(this).val()),b(r)}),$(r.nTable).on("length.dt.DT",function(e,t,n){r===t&&$("select",c).val(n)}),c[0]}function ce(e){var t=e.sPaginationType,c=Ge.ext.pager[t],f="function"==typeof c,d=function(e){b(e)},n=$("<div/>").addClass(e.oClasses.sPaging+t)[0],h=e.aanFeatures;return f||c.fnInit(e,n,d),h.p||(n.id=e.sTableId+"_paginate",e.aoDrawCallback.push({fn:function(e){if(f){var t,n,r=e._iDisplayStart,a=e._iDisplayLength,i=e.fnRecordsDisplay(),o=-1===a,s=o?0:Math.ceil(r/a),l=o?1:Math.ceil(i/a),u=c(s,l);for(t=0,n=h.p.length;t<n;t++)Oe(e,"pageButton")(e,h.p[t],t,u,s,l)}else c.fnUpdate(e,d)},sName:"pagination"})),n}function fe(e,t,n){var r=e._iDisplayStart,a=e._iDisplayLength,i=e.fnRecordsDisplay();0===i||-1===a?r=0:"number"==typeof t?i<(r=t*a)&&(r=0):"first"==t?r=0:"previous"==t?(r=0<=a?r-a:0)<0&&(r=0):"next"==t?r+a<i&&(r+=a):"last"==t?r=Math.floor((i-1)/a)*a:Le(e,0,"Unknown paging action: "+t,5);var o=e._iDisplayStart!==r;return e._iDisplayStart=r,o&&(He(e,null,"page",[e]),n&&b(e)),o}function de(e){return $("<div/>",{id:e.aanFeatures.r?null:e.sTableId+"_processing","class":e.oClasses.sProcessing}).html(e.oLanguage.sProcessing).insertBefore(e.nTable)[0]}function he(e,t){e.oFeatures.bProcessing&&$(e.aanFeatures.r).css("display",t?"block":"none"),He(e,null,"processing",[e,t])}function pe(e){var t=$(e.nTable);t.attr("role","grid");var n=e.oScroll;if(""===n.sX&&""===n.sY)return e.nTable;var r=n.sX,a=n.sY,i=e.oClasses,o=t.children("caption"),s=o.length?o[0]._captionSide:null,l=$(t[0].cloneNode(!1)),u=$(t[0].cloneNode(!1)),c=t.children("tfoot"),f="<div/>",d=function(e){return e?we(e):null};c.length||(c=null);var h=$(f,{"class":i.sScrollWrapper}).append($(f,{"class":i.sScrollHead}).css({overflow:"hidden",position:"relative",border:0,width:r?d(r):"100%"}).append($(f,{"class":i.sScrollHeadInner}).css({"box-sizing":"content-box",width:n.sXInner||"100%"}).append(l.removeAttr("id").css("margin-left",0).append("top"===s?o:null).append(t.children("thead"))))).append($(f,{"class":i.sScrollBody}).css({position:"relative",overflow:"auto",width:d(r)}).append(t));c&&h.append($(f,{"class":i.sScrollFoot}).css({overflow:"hidden",border:0,width:r?d(r):"100%"}).append($(f,{"class":i.sScrollFootInner}).append(u.removeAttr("id").css("margin-left",0).append("bottom"===s?o:null).append(t.children("tfoot")))));var p=h.children(),g=p[0],m=p[1],v=c?p[2]:null;return r&&$(m).on("scroll.DT",function(){var e=this.scrollLeft;g.scrollLeft=e,c&&(v.scrollLeft=e)}),$(m).css(a&&n.bCollapse?"max-height":"height",a),e.nScrollHead=g,e.nScrollBody=m,e.nScrollFoot=v,e.aoDrawCallback.push({fn:ge,sName:"scrolling"}),h[0]}function ge(n){var e,t,r,a,i,o,s,l,u,c=n.oScroll,f=c.sX,d=c.sXInner,h=c.sY,p=c.iBarWidth,g=$(n.nScrollHead),m=g[0].style,v=g.children("div"),y=v[0].style,b=v.children("table"),x=n.nScrollBody,w=$(x),S=x.style,T=$(n.nScrollFoot).children("div"),D=T.children("table"),C=$(n.nTHead),_=$(n.nTable),A=_[0],k=A.style,N=n.nTFoot?$(n.nTFoot):null,j=n.oBrowser,I=j.bScrollOversize,L=st(n.aoColumns,"nTh"),E=[],R=[],F=[],P=[],H=function(e){var t=e.style;t.paddingTop="0",t.paddingBottom="0",t.borderTopWidth="0",t.borderBottomWidth="0",t.height=0},M=x.scrollHeight>x.clientHeight;if(n.scrollBarVis!==M&&n.scrollBarVis!==B)return n.scrollBarVis=M,void U(n);n.scrollBarVis=M,_.children("thead, tfoot").remove(),N&&(o=N.clone().prependTo(_),t=N.find("tr"),a=o.find("tr")),i=C.clone().prependTo(_),e=C.find("tr"),r=i.find("tr"),i.find("th, td").removeAttr("tabindex"),f||(S.width="100%",g[0].style.width="100%"),$.each(X(n,i),function(e,t){s=z(n,e),t.style.width=n.aoColumns[s].sWidth}),N&&me(function(e){e.style.width=""},a),u=_.outerWidth(),""===f?(k.width="100%",I&&(_.find("tbody").height()>x.offsetHeight||"scroll"==w.css("overflow-y"))&&(k.width=we(_.outerWidth()-p)),u=_.outerWidth()):""!==d&&(k.width=we(d),u=_.outerWidth()),me(H,r),me(function(e){F.push(e.innerHTML),E.push(we($(e).css("width")))},r),me(function(e,t){-1!==$.inArray(e,L)&&(e.style.width=E[t])},e),$(r).height(0),N&&(me(H,a),me(function(e){P.push(e.innerHTML),R.push(we($(e).css("width")))},a),me(function(e,t){e.style.width=R[t]},t),$(a).height(0)),me(function(e,t){e.innerHTML='<div class="dataTables_sizing">'+F[t]+"</div>",e.childNodes[0].style.height="0",e.childNodes[0].style.overflow="hidden",e.style.width=E[t]},r),N&&me(function(e,t){e.innerHTML='<div class="dataTables_sizing">'+P[t]+"</div>",e.childNodes[0].style.height="0",e.childNodes[0].style.overflow="hidden",e.style.width=R[t]},a),_.outerWidth()<u?(l=x.scrollHeight>x.offsetHeight||"scroll"==w.css("overflow-y")?u+p:u,I&&(x.scrollHeight>x.offsetHeight||"scroll"==w.css("overflow-y"))&&(k.width=we(l-p)),""!==f&&""===d||Le(n,1,"Possible column misalignment",6)):l="100%",S.width=we(l),m.width=we(l),N&&(n.nScrollFoot.style.width=we(l)),h||I&&(S.height=we(A.offsetHeight+p));var O=_.outerWidth();b[0].style.width=we(O),y.width=we(O);var q=_.height()>x.clientHeight||"scroll"==w.css("overflow-y"),W="padding"+(j.bScrollbarLeft?"Left":"Right");y[W]=q?p+"px":"0px",N&&(D[0].style.width=we(O),T[0].style.width=we(O),T[0].style[W]=q?p+"px":"0px"),_.children("colgroup").insertBefore(_.children("thead")),w.trigger("scroll"),!n.bSorted&&!n.bFiltered||n._drawHold||(x.scrollTop=0)}function me(e,t,n){for(var r,a,i=0,o=0,s=t.length;o<s;){for(r=t[o].firstChild,a=n?n[o].firstChild:null;r;)1===r.nodeType&&(n?e(r,a,i):e(r,i),i++),r=r.nextSibling,a=n?a.nextSibling:null;o++}}function ve(e){var t,n,r,a=e.nTable,i=e.aoColumns,o=e.oScroll,s=o.sY,l=o.sX,u=o.sXInner,c=i.length,f=P(e,"bVisible"),d=$("th",e.nTHead),h=a.getAttribute("width"),p=a.parentNode,g=!1,m=e.oBrowser,v=m.bScrollOversize,y=a.style.width;for(y&&-1!==y.indexOf("%")&&(h=y),t=0;t<f.length;t++)null!==(n=i[f[t]]).sWidth&&(n.sWidth=ye(n.sWidthOrig,p),g=!0);if(v||!g&&!l&&!s&&c==F(e)&&c==d.length)for(t=0;t<c;t++){var b=z(e,t);null!==b&&(i[b].sWidth=we(d.eq(t).width()))}else{var x=$(a).clone().css("visibility","hidden").removeAttr("id");x.find("tbody tr").remove();var w=$("<tr/>").appendTo(x.find("tbody"));for(x.find("thead, tfoot").remove(),x.append($(e.nTHead).clone()).append($(e.nTFoot).clone()),x.find("tfoot th, tfoot td").css("width",""),d=X(e,x.find("thead")[0]),t=0;t<f.length;t++)n=i[f[t]],d[t].style.width=null!==n.sWidthOrig&&""!==n.sWidthOrig?we(n.sWidthOrig):"",n.sWidthOrig&&l&&$(d[t]).append($("<div/>").css({width:n.sWidthOrig,margin:0,padding:0,border:0,height:1}));if(e.aoData.length)for(t=0;t<f.length;t++)n=i[r=f[t]],$(be(e,r)).clone(!1).append(n.sContentPadding).appendTo(w);$("[name]",x).removeAttr("name");var S=$("<div/>").css(l||s?{position:"absolute",top:0,left:0,height:1,right:0,overflow:"hidden"}:{}).append(x).appendTo(p);l&&u?x.width(u):l?(x.css("width","auto"),x.removeAttr("width"),x.width()<p.clientWidth&&h&&x.width(p.clientWidth)):s?x.width(p.clientWidth):h&&x.width(h);var T=0;for(t=0;t<f.length;t++){var D=$(d[t]),C=D.outerWidth()-D.width(),_=m.bBounding?Math.ceil(d[t].getBoundingClientRect().width):D.outerWidth();T+=_,i[f[t]].sWidth=we(_-C)}a.style.width=we(T),S.remove()}if(h&&(a.style.width=we(h)),(h||l)&&!e._reszEvt){var A=function(){$(k).on("resize.DT-"+e.sInstance,wt(function(){U(e)}))};v?setTimeout(A,1e3):A(),e._reszEvt=!0}}function ye(e,t){if(!e)return 0;var n=$("<div/>").css("width",we(e)).appendTo(t||x.body),r=n[0].offsetWidth;return n.remove(),r}function be(e,t){var n=xe(e,t);if(n<0)return null;var r=e.aoData[n];return r.nTr?r.anCells[t]:$("<td/>").html(g(e,n,t,"display"))[0]}function xe(e,t){for(var n,r=-1,a=-1,i=0,o=e.aoData.length;i<o;i++)(n=(n=(n=g(e,i,t,"display")+"").replace(xt,"")).replace(/ /g," ")).length>r&&(r=n.length,a=i);return a}function we(e){return null===e?"0px":"number"==typeof e?e<0?"0px":e+"px":e.match(/\d$/)?e+"px":e}function Se(e){var t,n,r,a,i,o,s,l=[],u=e.aoColumns,c=e.aaSortingFixed,f=$.isPlainObject(c),d=[],h=function(e){e.length&&!$.isArray(e[0])?d.push(e):$.merge(d,e)};for($.isArray(c)&&h(c),f&&c.pre&&h(c.pre),h(e.aaSorting),f&&c.post&&h(c.post),t=0;t<d.length;t++)for(n=0,r=(a=u[s=d[t][0]].aDataSort).length;n<r;n++)o=u[i=a[n]].sType||"string",d[t]._idx===B&&(d[t]._idx=$.inArray(d[t][1],u[i].asSorting)),l.push({src:s,col:i,dir:d[t][1],index:d[t]._idx,type:o,formatter:Ge.ext.type.order[o+"-pre"]});return l}function Te(e){var t,n,r,a,c,f=[],d=Ge.ext.type.order,h=e.aoData,i=(e.aoColumns,0),o=e.aiDisplayMaster;for(l(e),t=0,n=(c=Se(e)).length;t<n;t++)(a=c[t]).formatter&&i++,ke(e,a.col);if("ssp"!=qe(e)&&0!==c.length){for(t=0,r=o.length;t<r;t++)f[o[t]]=t;i===c.length?o.sort(function(e,t){var n,r,a,i,o,s=c.length,l=h[e]._aSortData,u=h[t]._aSortData;for(a=0;a<s;a++)if(0!==(i=(n=l[(o=c[a]).col])<(r=u[o.col])?-1:r<n?1:0))return"asc"===o.dir?i:-i;return(n=f[e])<(r=f[t])?-1:r<n?1:0}):o.sort(function(e,t){var n,r,a,i,o,s=c.length,l=h[e]._aSortData,u=h[t]._aSortData;for(a=0;a<s;a++)if(n=l[(o=c[a]).col],r=u[o.col],0!==(i=(d[o.type+"-"+o.dir]||d["string-"+o.dir])(n,r)))return i;return(n=f[e])<(r=f[t])?-1:r<n?1:0})}e.bSorted=!0}function De(e){for(var t,n,r=e.aoColumns,a=Se(e),i=e.oLanguage.oAria,o=0,s=r.length;o<s;o++){var l=r[o],u=l.asSorting,c=l.sTitle.replace(/<.*?>/g,""),f=l.nTh;f.removeAttribute("aria-sort"),l.bSortable?(0<a.length&&a[0].col==o?(f.setAttribute("aria-sort","asc"==a[0].dir?"ascending":"descending"),n=u[a[0].index+1]||u[0]):n=u[0],t=c+("asc"===n?i.sSortAscending:i.sSortDescending)):t=c,f.setAttribute("aria-label",t)}}function Ce(e,t,n,r){var a,i=e.aoColumns[t],o=e.aaSorting,s=i.asSorting,l=function(e,t){var n=e._idx;return n===B&&(n=$.inArray(e[1],s)),n+1<s.length?n+1:t?null:0};if("number"==typeof o[0]&&(o=e.aaSorting=[o]),n&&e.oFeatures.bSortMulti){var u=$.inArray(t,st(o,"0"));-1!==u?(null===(a=l(o[u],!0))&&1===o.length&&(a=0),null===a?o.splice(u,1):(o[u][1]=s[a],o[u]._idx=a)):(o.push([t,s[0],0]),o[o.length-1]._idx=0)}else o.length&&o[0][0]==t?(a=l(o[0]),o.length=1,o[0][1]=s[a],o[0]._idx=a):(o.length=0,o.push([t,s[0]]),o[0]._idx=0);T(e),"function"==typeof r&&r(e)}function _e(t,e,n,r){var a=t.aoColumns[n];Fe(e,{},function(e){!1!==a.bSortable&&(t.oFeatures.bProcessing?(he(t,!0),setTimeout(function(){Ce(t,n,e.shiftKey,r),"ssp"!==qe(t)&&he(t,!1)},0)):Ce(t,n,e.shiftKey,r))})}function Ae(e){var t,n,r,a=e.aLastSort,i=e.oClasses.sSortColumn,o=Se(e),s=e.oFeatures;if(s.bSort&&s.bSortClasses){for(t=0,n=a.length;t<n;t++)r=a[t].src,$(st(e.aoData,"anCells",r)).removeClass(i+(t<2?t+1:3));for(t=0,n=o.length;t<n;t++)r=o[t].src,$(st(e.aoData,"anCells",r)).addClass(i+(t<2?t+1:3))}e.aLastSort=o}function ke(e,t){var n,r,a,i=e.aoColumns[t],o=Ge.ext.order[i.sSortDataType];o&&(n=o.call(e.oInstance,e,t,c(e,t)));for(var s=Ge.ext.type.order[i.sType+"-pre"],l=0,u=e.aoData.length;l<u;l++)(r=e.aoData[l])._aSortData||(r._aSortData=[]),r._aSortData[t]&&!o||(a=o?n[l]:g(e,l,t,"sort"),r._aSortData[t]=s?s(a):a)}function Ne(n){if(n.oFeatures.bStateSave&&!n.bDestroying){var e={time:+new Date,start:n._iDisplayStart,length:n._iDisplayLength,order:$.extend(!0,[],n.aaSorting),search:te(n.oPreviousSearch),columns:$.map(n.aoColumns,function(e,t){return{visible:e.bVisible,search:te(n.aoPreSearchCols[t])}})};He(n,"aoStateSaveParams","stateSaveParams",[n,e]),n.oSavedState=e,n.fnStateSaveCallback.call(n.oInstance,n,e)}}function je(a,e,i){var o,s,l=a.aoColumns,t=function(e){if(e&&e.time){var t=He(a,"aoStateLoadParams","stateLoadParams",[a,e]);if(-1===$.inArray(!1,t)){var n=a.iStateDuration;if(0<n&&e.time<+new Date-1e3*n)i();else if(e.columns&&l.length!==e.columns.length)i();else{if(a.oLoadedState=$.extend(!0,{},e),e.start!==B&&(a._iDisplayStart=e.start,a.iInitDisplayStart=e.start),e.length!==B&&(a._iDisplayLength=e.length),e.order!==B&&(a.aaSorting=[],$.each(e.order,function(e,t){a.aaSorting.push(t[0]>=l.length?[0,t[1]]:t)})),e.search!==B&&$.extend(a.oPreviousSearch,ne(e.search)),e.columns)for(o=0,s=e.columns.length;o<s;o++){var r=e.columns[o];r.visible!==B&&(l[o].bVisible=r.visible),r.search!==B&&$.extend(a.aoPreSearchCols[o],ne(r.search))}He(a,"aoStateLoaded","stateLoaded",[a,e]),i()}}else i()}else i()};if(a.oFeatures.bStateSave){var n=a.fnStateLoadCallback.call(a.oInstance,a,t);n!==B&&t(n)}else i()}function Ie(e){var t=Ge.settings,n=$.inArray(e,st(t,"nTable"));return-1!==n?t[n]:null}function Le(e,t,n,r){if(n="DataTables warning: "+(e?"table id="+e.sTableId+" - ":"")+n,r&&(n+=". For more information about this error, please see http://datatables.net/tn/"+r),t)k.console&&console.log&&console.log(n);else{var a=Ge.ext,i=a.sErrMode||a.errMode;if(e&&He(e,null,"error",[e,r,n]),"alert"==i)alert(n);else{if("throw"==i)throw new Error(n);"function"==typeof i&&i(e,r,n)}}}function Ee(n,r,e,t){$.isArray(e)?$.each(e,function(e,t){$.isArray(t)?Ee(n,r,t[0],t[1]):Ee(n,r,t)}):(t===B&&(t=e),r[e]!==B&&(n[t]=r[e]))}function Re(e,t,n){var r;for(var a in t)t.hasOwnProperty(a)&&(r=t[a],$.isPlainObject(r)?($.isPlainObject(e[a])||(e[a]={}),$.extend(!0,e[a],r)):n&&"data"!==a&&"aaData"!==a&&$.isArray(r)?e[a]=r.slice():e[a]=r);return e}function Fe(t,e,n){$(t).on("click.DT",e,function(e){$(t).blur(),n(e)}).on("keypress.DT",e,function(e){13===e.which&&(e.preventDefault(),n(e))}).on("selectstart.DT",function(){return!1})}function Pe(e,t,n,r){n&&e[t].push({fn:n,sName:r})}function He(t,e,n,r){var a=[];if(e&&(a=$.map(t[e].slice().reverse(),function(e){return e.fn.apply(t.oInstance,r)})),null!==n){var i=$.Event(n+".dt");$(t.nTable).trigger(i,r),a.push(i.result)}return a}function Me(e){var t=e._iDisplayStart,n=e.fnDisplayEnd(),r=e._iDisplayLength;n<=t&&(t=n-r),t-=t%r,(-1===r||t<0)&&(t=0),e._iDisplayStart=t}function Oe(e,t){var n=e.renderer,r=Ge.ext.renderer[t];return $.isPlainObject(n)&&n[t]?r[n[t]]||r._:"string"==typeof n&&r[n]||r._}function qe(e){return e.oFeatures.bServerSide?"ssp":e.ajax||e.sAjaxSource?"ajax":"dom"}function We(e,t){var n=[],r=Bt.numbers_length,a=Math.floor(r/2);return t<=r?n=ut(0,t):e<=a?((n=ut(0,r-2)).push("ellipsis"),n.push(t-1)):(t-1-a<=e?(n=ut(t-(r-2),t)).splice(0,0,"ellipsis"):((n=ut(e-a+2,e+a-1)).push("ellipsis"),n.push(t-1),n.splice(0,0,"ellipsis")),n.splice(0,0,0)),n.DT_el="span",n}function $e(n){$.each({num:function(e){return Ut(e,n)},"num-fmt":function(e){return Ut(e,n,et)},"html-num":function(e){return Ut(e,n,Ze)},"html-num-fmt":function(e){return Ut(e,n,Ze,et)}},function(e,t){Ue.type.order[e+n+"-pre"]=t,e.match(/^html\-/)&&(Ue.type.search[e+n]=Ue.type.search.html)})}function Be(t){return function(){var e=[Ie(this[Ge.ext.iApiIndex])].concat(Array.prototype.slice.call(arguments));return Ge.ext.internal[t].apply(this,e)}}var Ue,ze,Xe,Ve,Ge=function(T){this.$=function(e,t){return this.api(!0).$(e,t)},this._=function(e,t){return this.api(!0).rows(e,t).data()},this.api=function(e){return new ze(e?Ie(this[Ue.iApiIndex]):this)},this.fnAddData=function(e,t){var n=this.api(!0),r=$.isArray(e)&&($.isArray(e[0])||$.isPlainObject(e[0]))?n.rows.add(e):n.row.add(e);return(t===B||t)&&n.draw(),r.flatten().toArray()},this.fnAdjustColumnSizing=function(e){var t=this.api(!0).columns.adjust(),n=t.settings()[0],r=n.oScroll;e===B||e?t.draw(!1):""===r.sX&&""===r.sY||ge(n)},this.fnClearTable=function(e){var t=this.api(!0).clear();(e===B||e)&&t.draw()},this.fnClose=function(e){this.api(!0).row(e).child.hide()},this.fnDeleteRow=function(e,t,n){var r=this.api(!0),a=r.rows(e),i=a.settings()[0],o=i.aoData[a[0][0]];return a.remove(),t&&t.call(this,i,o),(n===B||n)&&r.draw(),o},this.fnDestroy=function(e){this.api(!0).destroy(e)},this.fnDraw=function(e){this.api(!0).draw(e)},this.fnFilter=function(e,t,n,r,a,i){var o=this.api(!0);null===t||t===B?o.search(e,n,r,i):o.column(t).search(e,n,r,i),o.draw()},this.fnGetData=function(e,t){var n=this.api(!0);if(e===B)return n.data().toArray();var r=e.nodeName?e.nodeName.toLowerCase():"";return t!==B||"td"==r||"th"==r?n.cell(e,t).data():n.row(e).data()||null},this.fnGetNodes=function(e){var t=this.api(!0);return e!==B?t.row(e).node():t.rows().nodes().flatten().toArray()},this.fnGetPosition=function(e){var t=this.api(!0),n=e.nodeName.toUpperCase();if("TR"==n)return t.row(e).index();if("TD"!=n&&"TH"!=n)return null;var r=t.cell(e).index();return[r.row,r.columnVisible,r.column]},this.fnIsOpen=function(e){return this.api(!0).row(e).child.isShown()},this.fnOpen=function(e,t,n){return this.api(!0).row(e).child(t,n).show().child()[0]},this.fnPageChange=function(e,t){var n=this.api(!0).page(e);(t===B||t)&&n.draw(!1)},this.fnSetColumnVis=function(e,t,n){var r=this.api(!0).column(e).visible(t);(n===B||n)&&r.columns.adjust().draw()},this.fnSettings=function(){return Ie(this[Ue.iApiIndex])},this.fnSort=function(e){this.api(!0).order(e).draw()},this.fnSortListener=function(e,t,n){this.api(!0).order.listener(e,t,n)},this.fnUpdate=function(e,t,n,r,a){var i=this.api(!0);return n===B||null===n?i.row(t).data(e):i.cell(t,n).data(e),(a===B||a)&&i.columns.adjust(),(r===B||r)&&i.draw(),0},this.fnVersionCheck=Ue.fnVersionCheck;var D=this,C=T===B,_=this.length;for(var e in C&&(T={}),this.oApi=this.internal=Ue.internal,Ge.ext.internal)e&&(this[e]=Be(e));return this.each(function(){var i,o=1<_?Re({},T,!0):T,s=0,e=this.getAttribute("id"),l=!1,t=Ge.defaults,u=$(this);if("table"==this.nodeName.toLowerCase()){j(t),I(t.column),A(t,t,!0),A(t.column,t.column,!0),A(t,$.extend(o,u.data()),!0);var n=Ge.settings;for(s=0,i=n.length;s<i;s++){var r=n[s];if(r.nTable==this||r.nTHead&&r.nTHead.parentNode==this||r.nTFoot&&r.nTFoot.parentNode==this){var a=o.bRetrieve!==B?o.bRetrieve:t.bRetrieve,c=o.bDestroy!==B?o.bDestroy:t.bDestroy;if(C||a)return r.oInstance;if(c){r.oInstance.fnDestroy();break}return void Le(r,0,"Cannot reinitialise DataTable",3)}if(r.sTableId==this.id){n.splice(s,1);break}}null!==e&&""!==e||(e="DataTables_Table_"+Ge.ext._unique++,this.id=e);var f=$.extend(!0,{},Ge.models.oSettings,{sDestroyWidth:u[0].style.width,sInstance:e,sTableId:e});f.nTable=this,f.oApi=D.internal,f.oInit=o,n.push(f),f.oInstance=1===D.length?D:u.dataTable(),j(o),N(o.oLanguage),o.aLengthMenu&&!o.iDisplayLength&&(o.iDisplayLength=$.isArray(o.aLengthMenu[0])?o.aLengthMenu[0][0]:o.aLengthMenu[0]),o=Re($.extend(!0,{},t),o),Ee(f.oFeatures,o,["bPaginate","bLengthChange","bFilter","bSort","bSortMulti","bInfo","bProcessing","bAutoWidth","bSortClasses","bServerSide","bDeferRender"]),Ee(f,o,["asStripeClasses","ajax","fnServerData","fnFormatNumber","sServerMethod","aaSorting","aaSortingFixed","aLengthMenu","sPaginationType","sAjaxSource","sAjaxDataProp","iStateDuration","sDom","bSortCellsTop","iTabIndex","fnStateLoadCallback","fnStateSaveCallback","renderer","searchDelay","rowId",["iCookieDuration","iStateDuration"],["oSearch","oPreviousSearch"],["aoSearchCols","aoPreSearchCols"],["iDisplayLength","_iDisplayLength"]]),Ee(f.oScroll,o,[["sScrollX","sX"],["sScrollXInner","sXInner"],["sScrollY","sY"],["bScrollCollapse","bCollapse"]]),Ee(f.oLanguage,o,"fnInfoCallback"),Pe(f,"aoDrawCallback",o.fnDrawCallback,"user"),Pe(f,"aoServerParams",o.fnServerParams,"user"),Pe(f,"aoStateSaveParams",o.fnStateSaveParams,"user"),Pe(f,"aoStateLoadParams",o.fnStateLoadParams,"user"),Pe(f,"aoStateLoaded",o.fnStateLoaded,"user"),Pe(f,"aoRowCallback",o.fnRowCallback,"user"),Pe(f,"aoRowCreatedCallback",o.fnCreatedRow,"user"),Pe(f,"aoHeaderCallback",o.fnHeaderCallback,"user"),Pe(f,"aoFooterCallback",o.fnFooterCallback,"user"),Pe(f,"aoInitComplete",o.fnInitComplete,"user"),Pe(f,"aoPreDrawCallback",o.fnPreDrawCallback,"user"),f.rowIdFn=q(o.rowId),L(f);var d=f.oClasses;if($.extend(d,Ge.ext.classes,o.oClasses),u.addClass(d.sTable),f.iInitDisplayStart===B&&(f.iInitDisplayStart=o.iDisplayStart,f._iDisplayStart=o.iDisplayStart),null!==o.iDeferLoading){f.bDeferLoading=!0;var h=$.isArray(o.iDeferLoading);f._iRecordsDisplay=h?o.iDeferLoading[0]:o.iDeferLoading,f._iRecordsTotal=h?o.iDeferLoading[1]:o.iDeferLoading}var p=f.oLanguage;$.extend(!0,p,o.oLanguage),p.sUrl&&($.ajax({dataType:"json",url:p.sUrl,success:function(e){N(e),A(t.oLanguage,e),$.extend(!0,p,e),oe(f)},error:function(){oe(f)}}),l=!0),null===o.asStripeClasses&&(f.asStripeClasses=[d.sStripeOdd,d.sStripeEven]);var g=f.asStripeClasses,m=u.children("tbody").find("tr").eq(0);-1!==$.inArray(!0,$.map(g,function(e){return m.hasClass(e)}))&&($("tbody tr",this).removeClass(g.join(" ")),f.asDestroyStripes=g.slice());var v,y=[],b=this.getElementsByTagName("thead");if(0!==b.length&&(W(f.aoHeader,b[0]),y=X(f)),null===o.aoColumns)for(v=[],s=0,i=y.length;s<i;s++)v.push(null);else v=o.aoColumns;for(s=0,i=v.length;s<i;s++)E(f,y?y[s]:null);if(H(f,o.aoColumnDefs,v,function(e,t){R(f,e,t)}),m.length){var x=function(e,t){return null!==e.getAttribute("data-"+t)?t:null};$(m[0]).children("th, td").each(function(e,t){var n=f.aoColumns[e];if(n.mData===e){var r=x(t,"sort")||x(t,"order"),a=x(t,"filter")||x(t,"search");null===r&&null===a||(n.mData={_:e+".display",sort:null!==r?e+".@data-"+r:B,type:null!==r?e+".@data-"+r:B,filter:null!==a?e+".@data-"+a:B},R(f,e))}})}var w=f.oFeatures,S=function(){if(o.aaSorting===B){var e=f.aaSorting;for(s=0,i=e.length;s<i;s++)e[s][1]=f.aoColumns[s].asSorting[0]}Ae(f),w.bSort&&Pe(f,"aoDrawCallback",function(){if(f.bSorted){var e=Se(f),n={};$.each(e,function(e,t){n[t.src]=t.dir}),He(f,null,"order",[f,e,n]),De(f)}}),Pe(f,"aoDrawCallback",function(){(f.bSorted||"ssp"===qe(f)||w.bDeferRender)&&Ae(f)},"sc");var t=u.children("caption").each(function(){this._captionSide=$(this).css("caption-side")}),n=u.children("thead");0===n.length&&(n=$("<thead/>").appendTo(u)),f.nTHead=n[0];var r=u.children("tbody");0===r.length&&(r=$("<tbody/>").appendTo(u)),f.nTBody=r[0];var a=u.children("tfoot");if(0===a.length&&0<t.length&&(""!==f.oScroll.sX||""!==f.oScroll.sY)&&(a=$("<tfoot/>").appendTo(u)),0===a.length||0===a.children().length?u.addClass(d.sNoFooter):0<a.length&&(f.nTFoot=a[0],W(f.aoFooter,f.nTFoot)),o.aaData)for(s=0;s<o.aaData.length;s++)M(f,o.aaData[s]);else(f.bDeferLoading||"dom"==qe(f))&&O(f,$(f.nTBody).children("tr"));f.aiDisplay=f.aiDisplayMaster.slice(),!(f.bInitialised=!0)===l&&oe(f)};o.bStateSave?(w.bStateSave=!0,Pe(f,"aoDrawCallback",Ne,"state_save"),je(f,o,S)):S()}else Le(null,0,"Non-table node initialisation ("+this.nodeName+")",2)}),D=null,this},Je={},Ye=/[\r\n\u2028]/g,Ze=/<.*?>/g,Ke=/^\d{2,4}[\.\/\-]\d{1,2}[\.\/\-]\d{1,2}([T ]{1}\d{1,2}[:\.]\d{2}([\.:]\d{2})?)?$/,Qe=new RegExp("(\\"+["/",".","*","+","?","|","(",")","[","]","{","}","\\","$","^","-"].join("|\\")+")","g"),et=/[',$\xa3\u20ac\xa5%\u2009\u202F\u20BD\u20a9\u20BArfk\u0243\u039e]/gi,tt=function(e){return!e||!0===e||"-"===e},nt=function(e){var t=parseInt(e,10);return!isNaN(t)&&isFinite(e)?t:null},rt=function(e,t){return Je[t]||(Je[t]=new RegExp(vt(t),"g")),"string"==typeof e&&"."!==t?e.replace(/\./g,"").replace(Je[t],"."):e},at=function(e,t,n){var r="string"==typeof e;return!!tt(e)||(t&&r&&(e=rt(e,t)),n&&r&&(e=e.replace(et,"")),!isNaN(parseFloat(e))&&isFinite(e))},it=function(e){return tt(e)||"string"==typeof e},ot=function(e,t,n){return!!tt(e)||(it(e)&&!!at(ft(e),t,n)||null)},st=function(e,t,n){var r=[],a=0,i=e.length;if(n!==B)for(;a<i;a++)e[a]&&e[a][t]&&r.push(e[a][t][n]);else for(;a<i;a++)e[a]&&r.push(e[a][t]);return r},lt=function(e,t,n,r){var a=[],i=0,o=t.length;if(r!==B)for(;i<o;i++)e[t[i]][n]&&a.push(e[t[i]][n][r]);else for(;i<o;i++)a.push(e[t[i]][n]);return a},ut=function(e,t){var n,r=[];t===B?(t=0,n=e):(n=t,t=e);for(var a=t;a<n;a++)r.push(a);return r},ct=function(e){for(var t=[],n=0,r=e.length;n<r;n++)e[n]&&t.push(e[n]);return t},ft=function(e){return e.replace(Ze,"")},dt=function(e){if(e.length<2)return!0;for(var t=e.slice().sort(),n=t[0],r=1,a=t.length;r<a;r++){if(t[r]===n)return!1;n=t[r]}return!0},ht=function(e){if(dt(e))return e.slice();var t,n,r,a=[],i=e.length,o=0;e:for(n=0;n<i;n++){for(t=e[n],r=0;r<o;r++)if(a[r]===t)continue e;a.push(t),o++}return a};Ge.util={throttle:function(r,e){var a,i,o=e!==B?e:200;return function(){var e=this,t=+new Date,n=arguments;a&&t<a+o?(clearTimeout(i),i=setTimeout(function(){a=B,r.apply(e,n)},o)):(a=t,r.apply(e,n))}},escapeRegex:function(e){return e.replace(Qe,"\\$1")}};var pt=function(e,t,n){e[t]!==B&&(e[n]=e[t])},gt=/\[.*?\]$/,mt=/\(\)$/,vt=Ge.util.escapeRegex,yt=$("<div>")[0],bt=yt.textContent!==B,xt=/<.*?>/g,wt=Ge.util.throttle,St=[],Tt=Array.prototype,Dt=function(e){var t,n,r=Ge.settings,a=$.map(r,function(e){return e.nTable});return e?e.nTable&&e.oApi?[e]:e.nodeName&&"table"===e.nodeName.toLowerCase()?-1!==(t=$.inArray(e,a))?[r[t]]:null:e&&"function"==typeof e.settings?e.settings().toArray():("string"==typeof e?n=$(e):e instanceof $&&(n=e),n?n.map(function(){return-1!==(t=$.inArray(this,a))?r[t]:null}).toArray():void 0):[]};ze=function(e,t){if(!(this instanceof ze))return new ze(e,t);var n=[],r=function(e){var t=Dt(e);t&&n.push.apply(n,t)};if($.isArray(e))for(var a=0,i=e.length;a<i;a++)r(e[a]);else r(e);this.context=ht(n),t&&$.merge(this,t),this.selector={rows:null,cols:null,opts:null},ze.extend(this,this,St)},Ge.Api=ze,$.extend(ze.prototype,{any:function(){return 0!==this.count()},concat:Tt.concat,context:[],count:function(){return this.flatten().length},each:function(e){for(var t=0,n=this.length;t<n;t++)e.call(this,this[t],t,this);return this},eq:function(e){var t=this.context;return t.length>e?new ze(t[e],this[e]):null},filter:function(e){var t=[];if(Tt.filter)t=Tt.filter.call(this,e,this);else for(var n=0,r=this.length;n<r;n++)e.call(this,this[n],n,this)&&t.push(this[n]);return new ze(this.context,t)},flatten:function(){var e=[];return new ze(this.context,e.concat.apply(e,this.toArray()))},join:Tt.join,indexOf:Tt.indexOf||function(e,t){for(var n=t||0,r=this.length;n<r;n++)if(this[n]===e)return n;return-1},iterator:function(e,t,n,r){var a,i,o,s,l,u,c,f,d=[],h=this.context,p=this.selector;for("string"==typeof e&&(r=n,n=t,t=e,e=!1),i=0,o=h.length;i<o;i++){var g=new ze(h[i]);if("table"===t)(a=n.call(g,h[i],i))!==B&&d.push(a);else if("columns"===t||"rows"===t)(a=n.call(g,h[i],this[i],i))!==B&&d.push(a);else if("column"===t||"column-rows"===t||"row"===t||"cell"===t)for(c=this[i],"column-rows"===t&&(u=jt(h[i],p.opts)),s=0,l=c.length;s<l;s++)f=c[s],(a="cell"===t?n.call(g,h[i],f.row,f.column,i,s):n.call(g,h[i],f,i,s,u))!==B&&d.push(a)}if(d.length||r){var m=new ze(h,e?d.concat.apply([],d):d),v=m.selector;return v.rows=p.rows,v.cols=p.cols,v.opts=p.opts,m}return this},lastIndexOf:Tt.lastIndexOf||function(){return this.indexOf.apply(this.toArray.reverse(),arguments)},length:0,map:function(e){var t=[];if(Tt.map)t=Tt.map.call(this,e,this);else for(var n=0,r=this.length;n<r;n++)t.push(e.call(this,this[n],n));return new ze(this.context,t)},pluck:function(t){return this.map(function(e){return e[t]})},pop:Tt.pop,push:Tt.push,reduce:Tt.reduce||function(e,t){return n(this,e,t,0,this.length,1)},reduceRight:Tt.reduceRight||function(e,t){return n(this,e,t,this.length-1,-1,-1)},reverse:Tt.reverse,selector:null,shift:Tt.shift,slice:function(){return new ze(this.context,this)},sort:Tt.sort,splice:Tt.splice,toArray:function(){return Tt.slice.call(this)},to$:function(){return $(this)},toJQuery:function(){return $(this)},unique:function(){return new ze(this.context,ht(this))},unshift:Tt.unshift}),ze.extend=function(e,t,n){if(n.length&&t&&(t instanceof ze||t.__dt_wrapper)){var r,a,i,o=function(t,n,r){return function(){var e=n.apply(t,arguments);return ze.extend(e,e,r.methodExt),e}};for(r=0,a=n.length;r<a;r++)t[(i=n[r]).name]="function"===i.type?o(e,i.val,i):"object"===i.type?{}:i.val,t[i.name].__dt_wrapper=!0,ze.extend(e,t[i.name],i.propExt)}},ze.register=Xe=function(e,t){if($.isArray(e))for(var n=0,r=e.length;n<r;n++)ze.register(e[n],t);else{var a,i,o,s,l=e.split("."),u=St,c=function(e,t){for(var n=0,r=e.length;n<r;n++)if(e[n].name===t)return e[n];return null};for(a=0,i=l.length;a<i;a++){var f=c(u,o=(s=-1!==l[a].indexOf("()"))?l[a].replace("()",""):l[a]);f||(f={name:o,val:{},methodExt:[],propExt:[],type:"object"},u.push(f)),a===i-1?(f.val=t,f.type="function"==typeof t?"function":$.isPlainObject(t)?"object":"other"):u=s?f.methodExt:f.propExt}}},ze.registerPlural=Ve=function(e,t,n){ze.register(e,n),ze.register(t,function(){var e=n.apply(this,arguments);return e===this?this:e instanceof ze?e.length?$.isArray(e[0])?new ze(e.context,e[0]):e[0]:B:e})};var Ct=function(e,t){if("number"==typeof e)return[t[e]];var n=$.map(t,function(e){return e.nTable});return $(n).filter(e).map(function(){var e=$.inArray(this,n);return t[e]}).toArray()};Xe("tables()",function(e){return e?new ze(Ct(e,this.context)):this}),Xe("table()",function(e){var t=this.tables(e),n=t.context;return n.length?new ze(n[0]):t}),Ve("tables().nodes()","table().node()",function(){return this.iterator("table",function(e){return e.nTable},1)}),Ve("tables().body()","table().body()",
|
6
|
+
function(){return this.iterator("table",function(e){return e.nTBody},1)}),Ve("tables().header()","table().header()",function(){return this.iterator("table",function(e){return e.nTHead},1)}),Ve("tables().footer()","table().footer()",function(){return this.iterator("table",function(e){return e.nTFoot},1)}),Ve("tables().containers()","table().container()",function(){return this.iterator("table",function(e){return e.nTableWrapper},1)}),Xe("draw()",function(t){return this.iterator("table",function(e){"page"===t?b(e):("string"==typeof t&&(t="full-hold"!==t),T(e,!1===t))})}),Xe("page()",function(t){return t===B?this.page.info().page:this.iterator("table",function(e){fe(e,t)})}),Xe("page.info()",function(){if(0===this.context.length)return B;var e=this.context[0],t=e._iDisplayStart,n=e.oFeatures.bPaginate?e._iDisplayLength:-1,r=e.fnRecordsDisplay(),a=-1===n;return{page:a?0:Math.floor(t/n),pages:a?1:Math.ceil(r/n),start:t,end:e.fnDisplayEnd(),length:n,recordsTotal:e.fnRecordsTotal(),recordsDisplay:r,serverSide:"ssp"===qe(e)}}),Xe("page.len()",function(t){return t===B?0!==this.context.length?this.context[0]._iDisplayLength:B:this.iterator("table",function(e){le(e,t)})});var _t=function(a,i,e){if(e){var t=new ze(a);t.one("draw",function(){e(t.ajax.json())})}if("ssp"==qe(a))T(a,i);else{he(a,!0);var n=a.jqXHR;n&&4!==n.readyState&&n.abort(),C(a,[],function(e){u(a);for(var t=V(a,e),n=0,r=t.length;n<r;n++)M(a,t[n]);T(a,i),he(a,!1)})}};Xe("ajax.json()",function(){var e=this.context;if(0<e.length)return e[0].json}),Xe("ajax.params()",function(){var e=this.context;if(0<e.length)return e[0].oAjaxData}),Xe("ajax.reload()",function(t,n){return this.iterator("table",function(e){_t(e,!1===n,t)})}),Xe("ajax.url()",function(t){var e=this.context;return t===B?0===e.length?B:(e=e[0]).ajax?$.isPlainObject(e.ajax)?e.ajax.url:e.ajax:e.sAjaxSource:this.iterator("table",function(e){$.isPlainObject(e.ajax)?e.ajax.url=t:e.ajax=t})}),Xe("ajax.url().load()",function(t,n){return this.iterator("table",function(e){_t(e,!1===n,t)})});var At=function(e,t,n,r,a){var i,o,s,l,u,c,f=[],d=typeof t;for(t&&"string"!==d&&"function"!==d&&t.length!==B||(t=[t]),s=0,l=t.length;s<l;s++)for(u=0,c=(o=t[s]&&t[s].split&&!t[s].match(/[\[\(:]/)?t[s].split(","):[t[s]]).length;u<c;u++)(i=n("string"==typeof o[u]?$.trim(o[u]):o[u]))&&i.length&&(f=f.concat(i));var h=Ue.selector[e];if(h.length)for(s=0,l=h.length;s<l;s++)f=h[s](r,a,f);return ht(f)},kt=function(e){return e||(e={}),e.filter&&e.search===B&&(e.search=e.filter),$.extend({search:"none",order:"current",page:"all"},e)},Nt=function(e){for(var t=0,n=e.length;t<n;t++)if(0<e[t].length)return e[0]=e[t],e[0].length=1,e.length=1,e.context=[e.context[t]],e;return e.length=0,e},jt=function(e,t){var n,r=[],a=e.aiDisplay,i=e.aiDisplayMaster,o=t.search,s=t.order,l=t.page;if("ssp"==qe(e))return"removed"===o?[]:ut(0,i.length);if("current"==l)for(c=e._iDisplayStart,f=e.fnDisplayEnd();c<f;c++)r.push(a[c]);else if("current"==s||"applied"==s){if("none"==o)r=i.slice();else if("applied"==o)r=a.slice();else if("removed"==o){for(var u={},c=0,f=a.length;c<f;c++)u[a[c]]=null;r=$.map(i,function(e){return u.hasOwnProperty(e)?null:e})}}else if("index"==s||"original"==s)for(c=0,f=e.aoData.length;c<f;c++)"none"==o?r.push(c):(-1===(n=$.inArray(c,a))&&"removed"==o||0<=n&&"applied"==o)&&r.push(c);return r},It=function(l,e,u){var c;return At("row",e,function(n){var e=nt(n),r=l.aoData;if(null!==e&&!u)return[e];if(c||(c=jt(l,u)),null!==e&&-1!==$.inArray(e,c))return[e];if(null===n||n===B||""===n)return c;if("function"==typeof n)return $.map(c,function(e){var t=r[e];return n(e,t._aData,t.nTr)?e:null});if(n.nodeName){var t=n._DT_RowIndex,a=n._DT_CellIndex;if(t!==B)return r[t]&&r[t].nTr===n?[t]:[];if(a)return r[a.row]&&r[a.row].nTr===n.parentNode?[a.row]:[];var i=$(n).closest("*[data-dt-row]");return i.length?[i.data("dt-row")]:[]}if("string"==typeof n&&"#"===n.charAt(0)){var o=l.aIds[n.replace(/^#/,"")];if(o!==B)return[o.idx]}var s=ct(lt(l.aoData,c,"nTr"));return $(s).filter(n).map(function(){return this._DT_RowIndex}).toArray()},l,u)};Xe("rows()",function(t,n){t===B?t="":$.isPlainObject(t)&&(n=t,t=""),n=kt(n);var e=this.iterator("table",function(e){return It(e,t,n)},1);return e.selector.rows=t,e.selector.opts=n,e}),Xe("rows().nodes()",function(){return this.iterator("row",function(e,t){return e.aoData[t].nTr||B},1)}),Xe("rows().data()",function(){return this.iterator(!0,"rows",function(e,t){return lt(e.aoData,t,"_aData")},1)}),Ve("rows().cache()","row().cache()",function(r){return this.iterator("row",function(e,t){var n=e.aoData[t];return"search"===r?n._aFilterData:n._aSortData},1)}),Ve("rows().invalidate()","row().invalidate()",function(n){return this.iterator("row",function(e,t){a(e,t,n)})}),Ve("rows().indexes()","row().index()",function(){return this.iterator("row",function(e,t){return t},1)}),Ve("rows().ids()","row().id()",function(e){for(var t=[],n=this.context,r=0,a=n.length;r<a;r++)for(var i=0,o=this[r].length;i<o;i++){var s=n[r].rowIdFn(n[r].aoData[this[r][i]]._aData);t.push((!0===e?"#":"")+s)}return new ze(n,t)}),Ve("rows().remove()","row().remove()",function(){var d=this;return this.iterator("row",function(e,t,n){var r,a,i,o,s,l,u=e.aoData,c=u[t];for(u.splice(t,1),r=0,a=u.length;r<a;r++)if(l=(s=u[r]).anCells,null!==s.nTr&&(s.nTr._DT_RowIndex=r),null!==l)for(i=0,o=l.length;i<o;i++)l[i]._DT_CellIndex.row=r;h(e.aiDisplayMaster,t),h(e.aiDisplay,t),h(d[n],t,!1),0<e._iRecordsDisplay&&e._iRecordsDisplay--,Me(e);var f=e.rowIdFn(c._aData);f!==B&&delete e.aIds[f]}),this.iterator("table",function(e){for(var t=0,n=e.aoData.length;t<n;t++)e.aoData[t].idx=t}),this}),Xe("rows.add()",function(i){var e=this.iterator("table",function(e){var t,n,r,a=[];for(n=0,r=i.length;n<r;n++)(t=i[n]).nodeName&&"TR"===t.nodeName.toUpperCase()?a.push(O(e,t)[0]):a.push(M(e,t));return a},1),t=this.rows(-1);return t.pop(),$.merge(t,e),t}),Xe("row()",function(e,t){return Nt(this.rows(e,t))}),Xe("row().data()",function(e){var t=this.context;if(e===B)return t.length&&this.length?t[0].aoData[this[0]]._aData:B;var n=t[0].aoData[this[0]];return n._aData=e,$.isArray(e)&&n.nTr.id&&y(t[0].rowId)(e,n.nTr.id),a(t[0],this[0],"data"),this}),Xe("row().node()",function(){var e=this.context;return e.length&&this.length&&e[0].aoData[this[0]].nTr||null}),Xe("row.add()",function(t){t instanceof $&&t.length&&(t=t[0]);var e=this.iterator("table",function(e){return t.nodeName&&"TR"===t.nodeName.toUpperCase()?O(e,t)[0]:M(e,t)});return this.row(e[0])});var Lt=function(i,e,t,n){var o=[],s=function(e,t){if($.isArray(e)||e instanceof $)for(var n=0,r=e.length;n<r;n++)s(e[n],t);else if(e.nodeName&&"tr"===e.nodeName.toLowerCase())o.push(e);else{var a=$("<tr><td/></tr>").addClass(t);$("td",a).addClass(t).html(e)[0].colSpan=F(i),o.push(a[0])}};s(t,n),e._details&&e._details.detach(),e._details=$(o),e._detailsShow&&e._details.insertAfter(e.nTr)},Et=function(e,t){var n=e.context;if(n.length){var r=n[0].aoData[t!==B?t:e[0]];r&&r._details&&(r._details.remove(),r._detailsShow=B,r._details=B)}},Rt=function(e,t){var n=e.context;if(n.length&&e.length){var r=n[0].aoData[e[0]];r._details&&((r._detailsShow=t)?r._details.insertAfter(r.nTr):r._details.detach(),Ft(n[0]))}},Ft=function(o){var a=new ze(o),e=".dt.DT_details",t="draw"+e,n="column-visibility"+e,r="destroy"+e,s=o.aoData;a.off(t+" "+n+" "+r),0<st(s,"_details").length&&(a.on(t,function(e,t){o===t&&a.rows({page:"current"}).eq(0).each(function(e){var t=s[e];t._detailsShow&&t._details.insertAfter(t.nTr)})}),a.on(n,function(e,t){if(o===t)for(var n,r=F(t),a=0,i=s.length;a<i;a++)(n=s[a])._details&&n._details.children("td[colspan]").attr("colspan",r)}),a.on(r,function(e,t){if(o===t)for(var n=0,r=s.length;n<r;n++)s[n]._details&&Et(a,n)}))},Pt=""+"row().child",Ht=Pt+"()";Xe(Ht,function(e,t){var n=this.context;return e===B?n.length&&this.length?n[0].aoData[this[0]]._details:B:(!0===e?this.child.show():!1===e?Et(this):n.length&&this.length&&Lt(n[0],n[0].aoData[this[0]],e,t),this)}),Xe([Pt+".show()",Ht+".show()"],function(){return Rt(this,!0),this}),Xe([Pt+".hide()",Ht+".hide()"],function(){return Rt(this,!1),this}),Xe([Pt+".remove()",Ht+".remove()"],function(){return Et(this),this}),Xe(Pt+".isShown()",function(){var e=this.context;return e.length&&this.length&&e[0].aoData[this[0]]._detailsShow||!1});var Mt=/^([^:]+):(name|visIdx|visible)$/,Ot=function(e,t,n,r,a){for(var i=[],o=0,s=a.length;o<s;o++)i.push(g(e,a[o],t));return i},qt=function(l,e,u){var c=l.aoColumns,f=st(c,"sName"),d=st(c,"nTh");return At("column",e,function(n){var e=nt(n);if(""===n)return ut(c.length);if(null!==e)return[0<=e?e:c.length+e];if("function"==typeof n){var r=jt(l,u);return $.map(c,function(e,t){return n(t,Ot(l,t,0,0,r),d[t])?t:null})}var a="string"==typeof n?n.match(Mt):"";if(a)switch(a[2]){case"visIdx":case"visible":var t=parseInt(a[1],10);if(t<0){var i=$.map(c,function(e,t){return e.bVisible?t:null});return[i[i.length+t]]}return[z(l,t)];case"name":return $.map(f,function(e,t){return e===a[1]?t:null});default:return[]}if(n.nodeName&&n._DT_CellIndex)return[n._DT_CellIndex.column];var o=$(d).filter(n).map(function(){return $.inArray(this,d)}).toArray();if(o.length||!n.nodeName)return o;var s=$(n).closest("*[data-dt-column]");return s.length?[s.data("dt-column")]:[]},l,u)},Wt=function(e,t,n){var r,a,i,o,s=e.aoColumns,l=s[t],u=e.aoData;if(n===B)return l.bVisible;if(l.bVisible!==n){if(n){var c=$.inArray(!0,st(s,"bVisible"),t+1);for(a=0,i=u.length;a<i;a++)o=u[a].nTr,r=u[a].anCells,o&&o.insertBefore(r[t],r[c]||null)}else $(st(e.aoData,"anCells",t)).detach();l.bVisible=n}};Xe("columns()",function(t,n){t===B?t="":$.isPlainObject(t)&&(n=t,t=""),n=kt(n);var e=this.iterator("table",function(e){return qt(e,t,n)},1);return e.selector.cols=t,e.selector.opts=n,e}),Ve("columns().header()","column().header()",function(){return this.iterator("column",function(e,t){return e.aoColumns[t].nTh},1)}),Ve("columns().footer()","column().footer()",function(){return this.iterator("column",function(e,t){return e.aoColumns[t].nTf},1)}),Ve("columns().data()","column().data()",function(){return this.iterator("column-rows",Ot,1)}),Ve("columns().dataSrc()","column().dataSrc()",function(){return this.iterator("column",function(e,t){return e.aoColumns[t].mData},1)}),Ve("columns().cache()","column().cache()",function(i){return this.iterator("column-rows",function(e,t,n,r,a){return lt(e.aoData,a,"search"===i?"_aFilterData":"_aSortData",t)},1)}),Ve("columns().nodes()","column().nodes()",function(){return this.iterator("column-rows",function(e,t,n,r,a){return lt(e.aoData,a,"anCells",t)},1)}),Ve("columns().visible()","column().visible()",function(n,r){var t=this,e=this.iterator("column",function(e,t){if(n===B)return e.aoColumns[t].bVisible;Wt(e,t,n)});return n!==B&&this.iterator("table",function(e){v(e,e.aoHeader),v(e,e.aoFooter),e.aiDisplay.length||$(e.nTBody).find("td[colspan]").attr("colspan",F(e)),Ne(e),t.iterator("column",function(e,t){He(e,null,"column-visibility",[e,t,n,r])}),(r===B||r)&&t.columns.adjust()}),e}),Ve("columns().indexes()","column().index()",function(n){return this.iterator("column",function(e,t){return"visible"===n?c(e,t):t},1)}),Xe("columns.adjust()",function(){return this.iterator("table",function(e){U(e)},1)}),Xe("column.index()",function(e,t){if(0!==this.context.length){var n=this.context[0];if("fromVisible"===e||"toData"===e)return z(n,t);if("fromData"===e||"toVisible"===e)return c(n,t)}}),Xe("column()",function(e,t){return Nt(this.columns(e,t))});var $t=function(r,e,t){var a,i,o,s,l,u,c,f=r.aoData,d=jt(r,t),n=ct(lt(f,d,"anCells")),h=$([].concat.apply([],n)),p=r.aoColumns.length;return At("cell",e,function(e){var t="function"==typeof e;if(null===e||e===B||t){for(i=[],o=0,s=d.length;o<s;o++)for(a=d[o],l=0;l<p;l++)u={row:a,column:l},t?(c=f[a],e(u,g(r,a,l),c.anCells?c.anCells[l]:null)&&i.push(u)):i.push(u);return i}if($.isPlainObject(e))return e.column!==B&&e.row!==B&&-1!==$.inArray(e.row,d)?[e]:[];var n=h.filter(e).map(function(e,t){return{row:t._DT_CellIndex.row,column:t._DT_CellIndex.column}}).toArray();return n.length||!e.nodeName?n:(c=$(e).closest("*[data-dt-row]")).length?[{row:c.data("dt-row"),column:c.data("dt-column")}]:[]},r,t)};Xe("cells()",function(t,e,n){if($.isPlainObject(t)&&(t.row===B?(n=t,t=null):(n=e,e=null)),$.isPlainObject(e)&&(n=e,e=null),null===e||e===B)return this.iterator("table",function(e){return $t(e,t,kt(n))});var r,a,i,o,s=n?{page:n.page,order:n.order,search:n.search}:{},l=this.columns(e,s),u=this.rows(t,s),c=this.iterator("table",function(e,t){var n=[];for(r=0,a=u[t].length;r<a;r++)for(i=0,o=l[t].length;i<o;i++)n.push({row:u[t][r],column:l[t][i]});return n},1),f=n&&n.selected?this.cells(c,n):c;return $.extend(f.selector,{cols:e,rows:t,opts:n}),f}),Ve("cells().nodes()","cell().node()",function(){return this.iterator("cell",function(e,t,n){var r=e.aoData[t];return r&&r.anCells?r.anCells[n]:B},1)}),Xe("cells().data()",function(){return this.iterator("cell",function(e,t,n){return g(e,t,n)},1)}),Ve("cells().cache()","cell().cache()",function(r){return r="search"===r?"_aFilterData":"_aSortData",this.iterator("cell",function(e,t,n){return e.aoData[t][r][n]},1)}),Ve("cells().render()","cell().render()",function(r){return this.iterator("cell",function(e,t,n){return g(e,t,n,r)},1)}),Ve("cells().indexes()","cell().index()",function(){return this.iterator("cell",function(e,t,n){return{row:t,column:n,columnVisible:c(e,n)}},1)}),Ve("cells().invalidate()","cell().invalidate()",function(r){return this.iterator("cell",function(e,t,n){a(e,t,r,n)})}),Xe("cell()",function(e,t,n){return Nt(this.cells(e,t,n))}),Xe("cell().data()",function(e){var t=this.context,n=this[0];return e===B?t.length&&n.length?g(t[0],n[0].row,n[0].column):B:(r(t[0],n[0].row,n[0].column,e),a(t[0],n[0].row,"data",n[0].column),this)}),Xe("order()",function(t,e){var n=this.context;return t===B?0!==n.length?n[0].aaSorting:B:("number"==typeof t?t=[[t,e]]:t.length&&!$.isArray(t[0])&&(t=Array.prototype.slice.call(arguments)),this.iterator("table",function(e){e.aaSorting=t.slice()}))}),Xe("order.listener()",function(t,n,r){return this.iterator("table",function(e){_e(e,t,n,r)})}),Xe("order.fixed()",function(t){if(t)return this.iterator("table",function(e){e.aaSortingFixed=$.extend(!0,{},t)});var e=this.context,n=e.length?e[0].aaSortingFixed:B;return $.isArray(n)?{pre:n}:n}),Xe(["columns().order()","column().order()"],function(r){var a=this;return this.iterator("table",function(e,t){var n=[];$.each(a[t],function(e,t){n.push([t,r])}),e.aaSorting=n})}),Xe("search()",function(t,n,r,a){var e=this.context;return t===B?0!==e.length?e[0].oPreviousSearch.sSearch:B:this.iterator("table",function(e){e.oFeatures.bFilter&&J(e,$.extend({},e.oPreviousSearch,{sSearch:t+"",bRegex:null!==n&&n,bSmart:null===r||r,bCaseInsensitive:null===a||a}),1)})}),Ve("columns().search()","column().search()",function(r,a,i,o){return this.iterator("column",function(e,t){var n=e.aoPreSearchCols;if(r===B)return n[t].sSearch;e.oFeatures.bFilter&&($.extend(n[t],{sSearch:r+"",bRegex:null!==a&&a,bSmart:null===i||i,bCaseInsensitive:null===o||o}),J(e,e.oPreviousSearch,1))})}),Xe("state()",function(){return this.context.length?this.context[0].oSavedState:null}),Xe("state.clear()",function(){return this.iterator("table",function(e){e.fnStateSaveCallback.call(e.oInstance,e,{})})}),Xe("state.loaded()",function(){return this.context.length?this.context[0].oLoadedState:null}),Xe("state.save()",function(){return this.iterator("table",function(e){Ne(e)})}),Ge.versionCheck=Ge.fnVersionCheck=function(e){for(var t,n,r=Ge.version.split("."),a=e.split("."),i=0,o=a.length;i<o;i++)if((t=parseInt(r[i],10)||0)!==(n=parseInt(a[i],10)||0))return n<t;return!0},Ge.isDataTable=Ge.fnIsDataTable=function(e){var a=$(e).get(0),i=!1;return e instanceof Ge.Api||($.each(Ge.settings,function(e,t){var n=t.nScrollHead?$("table",t.nScrollHead)[0]:null,r=t.nScrollFoot?$("table",t.nScrollFoot)[0]:null;t.nTable!==a&&n!==a&&r!==a||(i=!0)}),i)},Ge.tables=Ge.fnTables=function(t){var e=!1;$.isPlainObject(t)&&(e=t.api,t=t.visible);var n=$.map(Ge.settings,function(e){if(!t||t&&$(e.nTable).is(":visible"))return e.nTable});return e?new ze(n):n},Ge.camelToHungarian=A,Xe("$()",function(e,t){var n=this.rows(t).nodes(),r=$(n);return $([].concat(r.filter(e).toArray(),r.find(e).toArray()))}),$.each(["on","one","off"],function(e,n){Xe(n+"()",function(){var e=Array.prototype.slice.call(arguments);e[0]=$.map(e[0].split(/\s/),function(e){return e.match(/\.dt\b/)?e:e+".dt"}).join(" ");var t=$(this.tables().nodes());return t[n].apply(t,e),this})}),Xe("clear()",function(){return this.iterator("table",function(e){u(e)})}),Xe("settings()",function(){return new ze(this.context,this.context)}),Xe("init()",function(){var e=this.context;return e.length?e[0].oInit:null}),Xe("data()",function(){return this.iterator("table",function(e){return st(e.aoData,"_aData")}).flatten()}),Xe("destroy()",function(p){return p=p||!1,this.iterator("table",function(t){var n,e=t.nTableWrapper.parentNode,r=t.oClasses,a=t.nTable,i=t.nTBody,o=t.nTHead,s=t.nTFoot,l=$(a),u=$(i),c=$(t.nTableWrapper),f=$.map(t.aoData,function(e){return e.nTr});t.bDestroying=!0,He(t,"aoDestroyCallback","destroy",[t]),p||new ze(t).columns().visible(!0),c.off(".DT").find(":not(tbody *)").off(".DT"),$(k).off(".DT-"+t.sInstance),a!=o.parentNode&&(l.children("thead").detach(),l.append(o)),s&&a!=s.parentNode&&(l.children("tfoot").detach(),l.append(s)),t.aaSorting=[],t.aaSortingFixed=[],Ae(t),$(f).removeClass(t.asStripeClasses.join(" ")),$("th, td",o).removeClass(r.sSortable+" "+r.sSortableAsc+" "+r.sSortableDesc+" "+r.sSortableNone),u.children().detach(),u.append(f);var d=p?"remove":"detach";l[d](),c[d](),!p&&e&&(e.insertBefore(a,t.nTableReinsertBefore),l.css("width",t.sDestroyWidth).removeClass(r.sTable),(n=t.asDestroyStripes.length)&&u.children().each(function(e){$(this).addClass(t.asDestroyStripes[e%n])}));var h=$.inArray(t,Ge.settings);-1!==h&&Ge.settings.splice(h,1)})}),$.each(["column","row","cell"],function(e,l){Xe(l+"s().every()",function(i){var o=this.selector.opts,s=this;return this.iterator(l,function(e,t,n,r,a){i.call(s[l](t,"cell"===l?n:o,"cell"===l?o:B),t,n,r,a)})})}),Xe("i18n()",function(e,t,n){var r=this.context[0],a=q(e)(r.oLanguage);return a===B&&(a=t),n!==B&&$.isPlainObject(a)&&(a=a[n]!==B?a[n]:a._),a.replace("%d",n)}),Ge.version="1.10.20",Ge.settings=[],Ge.models={},Ge.models.oSearch={bCaseInsensitive:!0,sSearch:"",bRegex:!1,bSmart:!0},Ge.models.oRow={nTr:null,anCells:null,_aData:[],_aSortData:null,_aFilterData:null,_sFilterRow:null,_sRowStripe:"",src:null,idx:-1},Ge.models.oColumn={idx:null,aDataSort:null,asSorting:null,bSearchable:null,bSortable:null,bVisible:null,_sManualType:null,_bAttrSrc:!1,fnCreatedCell:null,fnGetData:null,fnSetData:null,mData:null,mRender:null,nTh:null,nTf:null,sClass:null,sContentPadding:null,sDefaultContent:null,sName:null,sSortDataType:"std",sSortingClass:null,sSortingClassJUI:null,sTitle:null,sType:null,sWidth:null,sWidthOrig:null},Ge.defaults={aaData:null,aaSorting:[[0,"asc"]],aaSortingFixed:[],ajax:null,aLengthMenu:[10,25,50,100],aoColumns:null,aoColumnDefs:null,aoSearchCols:[],asStripeClasses:null,bAutoWidth:!0,bDeferRender:!1,bDestroy:!1,bFilter:!0,bInfo:!0,bLengthChange:!0,bPaginate:!0,bProcessing:!1,bRetrieve:!1,bScrollCollapse:!1,bServerSide:!1,bSort:!0,bSortMulti:!0,bSortCellsTop:!1,bSortClasses:!0,bStateSave:!1,fnCreatedRow:null,fnDrawCallback:null,fnFooterCallback:null,fnFormatNumber:function(e){return e.toString().replace(/\B(?=(\d{3})+(?!\d))/g,this.oLanguage.sThousands)},fnHeaderCallback:null,fnInfoCallback:null,fnInitComplete:null,fnPreDrawCallback:null,fnRowCallback:null,fnServerData:null,fnServerParams:null,fnStateLoadCallback:function(e){try{return JSON.parse((-1===e.iStateDuration?sessionStorage:localStorage).getItem("DataTables_"+e.sInstance+"_"+location.pathname))}catch(t){}},fnStateLoadParams:null,fnStateLoaded:null,fnStateSaveCallback:function(e,t){try{(-1===e.iStateDuration?sessionStorage:localStorage).setItem("DataTables_"+e.sInstance+"_"+location.pathname,JSON.stringify(t))}catch(n){}},fnStateSaveParams:null,iStateDuration:7200,iDeferLoading:null,iDisplayLength:10,iDisplayStart:0,iTabIndex:0,oClasses:{},oLanguage:{oAria:{sSortAscending:": activate to sort column ascending",sSortDescending:": activate to sort column descending"},oPaginate:{sFirst:"First",sLast:"Last",sNext:"Next",sPrevious:"Previous"},sEmptyTable:"No data available in table",sInfo:"Showing _START_ to _END_ of _TOTAL_ entries",sInfoEmpty:"Showing 0 to 0 of 0 entries",sInfoFiltered:"(filtered from _MAX_ total entries)",sInfoPostFix:"",sDecimal:"",sThousands:",",sLengthMenu:"Show _MENU_ entries",sLoadingRecords:"Loading...",sProcessing:"Processing...",sSearch:"Search:",sSearchPlaceholder:"",sUrl:"",sZeroRecords:"No matching records found"},oSearch:$.extend({},Ge.models.oSearch),sAjaxDataProp:"data",sAjaxSource:null,sDom:"lfrtip",searchDelay:null,sPaginationType:"simple_numbers",sScrollX:"",sScrollXInner:"",sScrollY:"",sServerMethod:"GET",renderer:null,rowId:"DT_RowId"},o(Ge.defaults),Ge.defaults.column={aDataSort:null,iDataSort:-1,asSorting:["asc","desc"],bSearchable:!0,bSortable:!0,bVisible:!0,fnCreatedCell:null,mData:null,mRender:null,sCellType:"td",sClass:"",sContentPadding:"",sDefaultContent:null,sName:"",sSortDataType:"std",sTitle:null,sType:null,sWidth:null},o(Ge.defaults.column),Ge.models.oSettings={oFeatures:{bAutoWidth:null,bDeferRender:null,bFilter:null,bInfo:null,bLengthChange:null,bPaginate:null,bProcessing:null,bServerSide:null,bSort:null,bSortMulti:null,bSortClasses:null,bStateSave:null},oScroll:{bCollapse:null,iBarWidth:0,sX:null,sXInner:null,sY:null},oLanguage:{fnInfoCallback:null},oBrowser:{bScrollOversize:!1,bScrollbarLeft:!1,bBounding:!1,barWidth:0},ajax:null,aanFeatures:[],aoData:[],aiDisplay:[],aiDisplayMaster:[],aIds:{},aoColumns:[],aoHeader:[],aoFooter:[],oPreviousSearch:{},aoPreSearchCols:[],aaSorting:null,aaSortingFixed:[],asStripeClasses:null,asDestroyStripes:[],sDestroyWidth:0,aoRowCallback:[],aoHeaderCallback:[],aoFooterCallback:[],aoDrawCallback:[],aoRowCreatedCallback:[],aoPreDrawCallback:[],aoInitComplete:[],aoStateSaveParams:[],aoStateLoadParams:[],aoStateLoaded:[],sTableId:"",nTable:null,nTHead:null,nTFoot:null,nTBody:null,nTableWrapper:null,bDeferLoading:!1,bInitialised:!1,aoOpenRows:[],sDom:null,searchDelay:null,sPaginationType:"two_button",iStateDuration:0,aoStateSave:[],aoStateLoad:[],oSavedState:null,oLoadedState:null,sAjaxSource:null,sAjaxDataProp:null,bAjaxDataGet:!0,jqXHR:null,json:B,oAjaxData:B,fnServerData:null,aoServerParams:[],sServerMethod:null,fnFormatNumber:null,aLengthMenu:null,iDraw:0,bDrawing:!1,iDrawError:-1,_iDisplayLength:10,_iDisplayStart:0,_iRecordsTotal:0,_iRecordsDisplay:0,oClasses:{},bFiltered:!1,bSorted:!1,bSortCellsTop:null,oInit:null,aoDestroyCallback:[],fnRecordsTotal:function(){return"ssp"==qe(this)?1*this._iRecordsTotal:this.aiDisplayMaster.length},fnRecordsDisplay:function(){return"ssp"==qe(this)?1*this._iRecordsDisplay:this.aiDisplay.length},fnDisplayEnd:function(){var e=this._iDisplayLength,t=this._iDisplayStart,n=t+e,r=this.aiDisplay.length,a=this.oFeatures,i=a.bPaginate;return a.bServerSide?!1===i||-1===e?t+r:Math.min(t+e,this._iRecordsDisplay):!i||r<n||-1===e?r:n},oInstance:null,sInstance:null,iTabIndex:0,nScrollHead:null,nScrollFoot:null,aLastSort:[],oPlugins:{},rowIdFn:null,rowId:null},Ge.ext=Ue={buttons:{},classes:{},build:"dt/dt-1.10.20",errMode:"alert",feature:[],search:[],selector:{cell:[],column:[],row:[]},internal:{},legacy:{ajax:null},pager:{},renderer:{pageButton:{},header:{}},order:{},type:{detect:[],search:{},order:{}},_unique:0,fnVersionCheck:Ge.fnVersionCheck,iApiIndex:0,oJUIClasses:{},sVersion:Ge.version},$.extend(Ue,{afnFiltering:Ue.search,aTypes:Ue.type.detect,ofnSearch:Ue.type.search,oSort:Ue.type.order,afnSortData:Ue.order,aoFeatures:Ue.feature,oApi:Ue.internal,oStdClasses:Ue.classes,oPagination:Ue.pager}),$.extend(Ge.ext.classes,{sTable:"dataTable",sNoFooter:"no-footer",sPageButton:"paginate_button",sPageButtonActive:"current",sPageButtonDisabled:"disabled",sStripeOdd:"odd",sStripeEven:"even",sRowEmpty:"dataTables_empty",sWrapper:"dataTables_wrapper",sFilter:"dataTables_filter",sInfo:"dataTables_info",sPaging:"dataTables_paginate paging_",sLength:"dataTables_length",sProcessing:"dataTables_processing",sSortAsc:"sorting_asc",sSortDesc:"sorting_desc",sSortable:"sorting",sSortableAsc:"sorting_asc_disabled",sSortableDesc:"sorting_desc_disabled",sSortableNone:"sorting_disabled",sSortColumn:"sorting_",sFilterInput:"",sLengthSelect:"",sScrollWrapper:"dataTables_scroll",sScrollHead:"dataTables_scrollHead",sScrollHeadInner:"dataTables_scrollHeadInner",sScrollBody:"dataTables_scrollBody",sScrollFoot:"dataTables_scrollFoot",sScrollFootInner:"dataTables_scrollFootInner",sHeaderTH:"",sFooterTH:"",sSortJUIAsc:"",sSortJUIDesc:"",sSortJUI:"",sSortJUIAscAllowed:"",sSortJUIDescAllowed:"",sSortJUIWrapper:"",sSortIcon:"",sJUIHeader:"",sJUIFooter:""});var Bt=Ge.ext.pager;$.extend(Bt,{simple:function(){return["previous","next"]},full:function(){return["first","previous","next","last"]},numbers:function(e,t){return[We(e,t)]},simple_numbers:function(e,t){return["previous",We(e,t),"next"]},full_numbers:function(e,t){return["first","previous",We(e,t),"next","last"]},first_last_numbers:function(e,t){return["first",We(e,t),"last"]},_numbers:We,numbers_length:7}),$.extend(!0,Ge.ext.renderer,{pageButton:{_:function(u,e,c,t,f,d){var h,p,n,g=u.oClasses,m=u.oLanguage.oPaginate,v=u.oLanguage.oAria.paginate||{},y=0,b=function(e,t){var n,r,a,i,o=g.sPageButtonDisabled,s=function(e){fe(u,e.data.action,!0)};for(n=0,r=t.length;n<r;n++)if(a=t[n],$.isArray(a)){var l=$("<"+(a.DT_el||"div")+"/>").appendTo(e);b(l,a)}else{switch(h=null,p=a,i=u.iTabIndex,a){case"ellipsis":e.append('<span class="ellipsis">…</span>');break;case"first":h=m.sFirst,0===f&&(i=-1,p+=" "+o);break;case"previous":h=m.sPrevious,0===f&&(i=-1,p+=" "+o);break;case"next":h=m.sNext,f===d-1&&(i=-1,p+=" "+o);break;case"last":h=m.sLast,f===d-1&&(i=-1,p+=" "+o);break;default:h=a+1,p=f===a?g.sPageButtonActive:""}null!==h&&(Fe($("<a>",{"class":g.sPageButton+" "+p,"aria-controls":u.sTableId,"aria-label":v[a],"data-dt-idx":y,tabindex:i,id:0===c&&"string"==typeof a?u.sTableId+"_"+a:null}).html(h).appendTo(e),{action:a},s),y++)}};try{n=$(e).find(x.activeElement).data("dt-idx")}catch(r){}b($(e).empty(),t),n!==B&&$(e).find("[data-dt-idx="+n+"]").focus()}}}),$.extend(Ge.ext.type.detect,[function(e,t){var n=t.oLanguage.sDecimal;return at(e,n)?"num"+n:null},function(e){if(e&&!(e instanceof Date)&&!Ke.test(e))return null;var t=Date.parse(e);return null!==t&&!isNaN(t)||tt(e)?"date":null},function(e,t){var n=t.oLanguage.sDecimal;return at(e,n,!0)?"num-fmt"+n:null},function(e,t){var n=t.oLanguage.sDecimal;return ot(e,n)?"html-num"+n:null},function(e,t){var n=t.oLanguage.sDecimal;return ot(e,n,!0)?"html-num-fmt"+n:null},function(e){return tt(e)||"string"==typeof e&&-1!==e.indexOf("<")?"html":null}]),$.extend(Ge.ext.type.search,{html:function(e){return tt(e)?e:"string"==typeof e?e.replace(Ye," ").replace(Ze,""):""},string:function(e){return tt(e)?e:"string"==typeof e?e.replace(Ye," "):e}});var Ut=function(e,t,n,r){return 0===e||e&&"-"!==e?(t&&(e=rt(e,t)),e.replace&&(n&&(e=e.replace(n,"")),r&&(e=e.replace(r,""))),1*e):-Infinity};$.extend(Ue.type.order,{"date-pre":function(e){var t=Date.parse(e);return isNaN(t)?-Infinity:t},"html-pre":function(e){return tt(e)?"":e.replace?e.replace(/<.*?>/g,"").toLowerCase():e+""},"string-pre":function(e){return tt(e)?"":"string"==typeof e?e.toLowerCase():e.toString?e.toString():""},"string-asc":function(e,t){return e<t?-1:t<e?1:0},"string-desc":function(e,t){return e<t?1:t<e?-1:0}}),$e(""),$.extend(!0,Ge.ext.renderer,{header:{_:function(i,o,s,l){$(i.nTable).on("order.dt.DT",function(e,t,n,r){if(i===t){var a=s.idx;o.removeClass(s.sSortingClass+" "+l.sSortAsc+" "+l.sSortDesc).addClass("asc"==r[a]?l.sSortAsc:"desc"==r[a]?l.sSortDesc:s.sSortingClass)}})},jqueryui:function(i,o,s,l){$("<div/>").addClass(l.sSortJUIWrapper).append(o.contents()).append($("<span/>").addClass(l.sSortIcon+" "+s.sSortingClassJUI)).appendTo(o),$(i.nTable).on("order.dt.DT",function(e,t,n,r){if(i===t){var a=s.idx;o.removeClass(l.sSortAsc+" "+l.sSortDesc).addClass("asc"==r[a]?l.sSortAsc:"desc"==r[a]?l.sSortDesc:s.sSortingClass),o.find("span."+l.sSortIcon).removeClass(l.sSortJUIAsc+" "+l.sSortJUIDesc+" "+l.sSortJUI+" "+l.sSortJUIAscAllowed+" "+l.sSortJUIDescAllowed).addClass("asc"==r[a]?l.sSortJUIAsc:"desc"==r[a]?l.sSortJUIDesc:s.sSortingClassJUI)}})}}});var zt=function(e){return"string"==typeof e?e.replace(/</g,"<").replace(/>/g,">").replace(/"/g,"""):e};return Ge.render={number:function(i,o,s,l,u){return{display:function(e){if("number"!=typeof e&&"string"!=typeof e)return e;var t=e<0?"-":"",n=parseFloat(e);if(isNaN(n))return zt(e);n=n.toFixed(s),e=Math.abs(n);var r=parseInt(e,10),a=s?o+(e-r).toFixed(s).substring(2):"";return t+(l||"")+r.toString().replace(/\B(?=(\d{3})+(?!\d))/g,i)+a+(u||"")}}},text:function(){return{display:zt,filter:zt}}},$.extend(Ge.ext.internal,{_fnExternApiFunc:Be,_fnBuildAjax:C,_fnAjaxUpdate:_,_fnAjaxParameters:i,_fnAjaxUpdateDraw:s,_fnAjaxDataSrc:V,_fnAddColumn:E,_fnColumnOptions:R,_fnAdjustColumnSizing:U,_fnVisibleToColumnIndex:z,_fnColumnIndexToVisible:c,_fnVisbleColumns:F,_fnGetColumns:P,_fnColumnTypes:l,_fnApplyColumnDefs:H,_fnHungarianMap:o,_fnCamelToHungarian:A,_fnLanguageCompat:N,_fnBrowserDetect:L,_fnAddData:M,_fnAddTr:O,_fnNodeToDataIndex:e,_fnNodeToColumnIndex:t,_fnGetCellData:g,_fnSetCellData:r,_fnSplitObjNotation:m,_fnGetObjectDataFn:q,_fnSetObjectDataFn:y,_fnGetDataMaster:w,_fnClearTable:u,_fnDeleteIndex:h,_fnInvalidate:a,_fnGetRowElements:f,_fnCreateTr:S,_fnBuildHead:d,_fnDrawHead:v,_fnDraw:b,_fnReDraw:T,_fnAddOptionsHtml:D,_fnDetectHeader:W,_fnGetUniqueThs:X,_fnFeatureHtmlFilter:G,_fnFilterComplete:J,_fnFilterCustom:Y,_fnFilterColumn:Z,_fnFilter:K,_fnFilterCreateSearch:Q,_fnEscapeRegex:vt,_fnFilterData:ee,_fnFeatureHtmlInfo:re,_fnUpdateInfo:ae,_fnInfoMacros:ie,_fnInitialise:oe,_fnInitComplete:se,_fnLengthChange:le,_fnFeatureHtmlLength:ue,_fnFeatureHtmlPaginate:ce,_fnPageChange:fe,_fnFeatureHtmlProcessing:de,_fnProcessingDisplay:he,_fnFeatureHtmlTable:pe,_fnScrollDraw:ge,_fnApplyToChildren:me,_fnCalculateColumnWidths:ve,_fnThrottle:wt,_fnConvertToWidth:ye,_fnGetWidestNode:be,_fnGetMaxLenString:xe,_fnStringToCss:we,_fnSortFlatten:Se,_fnSort:Te,_fnSortAria:De,_fnSortListener:Ce,_fnSortAttachListener:_e,_fnSortingClasses:Ae,_fnSortData:ke,_fnSaveState:Ne,_fnLoadState:je,_fnSettingsFromNode:Ie,_fnLog:Le,_fnMap:Ee,_fnBindAction:Fe,_fnCallbackReg:Pe,_fnCallbackFire:He,_fnLengthOverflow:Me,_fnRenderer:Oe,_fnDataSource:qe,_fnRowAttributes:p,_fnExtend:Re,_fnCalculateEnd:function(){}}),(($.fn.dataTable=Ge).$=$).fn.dataTableSettings=Ge.settings,$.fn.dataTableExt=Ge.ext,$.fn.DataTable=function(e){return $(this).dataTable(e).api()},$.each(Ge,function(e,t){$.fn.DataTable[e]=t}),$.fn.dataTable}),function(e){"function"==typeof define&&define.amd?define(["jquery"],e):"object"==typeof module&&"object"==typeof module.exports?e(require("jquery")):e(jQuery)}(function(d){function n(){var e=o.settings;if(e.autoDispose&&!d.contains(document.documentElement,this))return d(this).timeago("dispose"),this;var t=r(this);return isNaN(t.datetime)||(0===e.cutoff||Math.abs(i(t.datetime))<e.cutoff?d(this).text(a(t.datetime)):0<d(this).attr("title").length&&d(this).text(d(this).attr("title"))),this}function r(e){if(!(e=d(e)).data("timeago")){e.data("timeago",{datetime:o.datetime(e)});var t=d.trim(e.text());o.settings.localeTitle?e.attr("title",e.data("timeago").datetime.toLocaleString()):!(0<t.length)||o.isTime(e)&&e.attr("title")||e.attr("title",t)}return e.data("timeago")}function a(e){return o.inWords(i(e))}function i(e){return(new Date).getTime()-e.getTime()}d.timeago=function(e){return e instanceof Date?a(e):a("string"==typeof e?d.timeago.parse(e):"number"==typeof e?new Date(e):d.timeago.datetime(e))};var o=d.timeago;d.extend(d.timeago,{settings:{refreshMillis:6e4,allowPast:!0,allowFuture:!1,localeTitle:!1,cutoff:0,autoDispose:!0,strings:{prefixAgo:null,prefixFromNow:null,suffixAgo:"ago",suffixFromNow:"from now",inPast:"any moment now",seconds:"less than a minute",minute:"about a minute",minutes:"%d minutes",hour:"about an hour",hours:"about %d hours",day:"a day",days:"%d days",month:"about a month",months:"%d months",year:"about a year",years:"%d years",wordSeparator:" ",numbers:[]}},inWords:function(a){function e(e,t){var n=d.isFunction(e)?e(t,a):e,r=i.numbers&&i.numbers[t]||t;return n.replace(/%d/i,r)}if(!this.settings.allowPast&&!this.settings.allowFuture)throw"timeago allowPast and allowFuture settings can not both be set to false.";var i=this.settings.strings,
|
7
|
+
t=i.prefixAgo,n=i.suffixAgo;if(this.settings.allowFuture&&a<0&&(t=i.prefixFromNow,n=i.suffixFromNow),!this.settings.allowPast&&0<=a)return this.settings.strings.inPast;var r=Math.abs(a)/1e3,o=r/60,s=o/60,l=s/24,u=l/365,c=r<45&&e(i.seconds,Math.round(r))||r<90&&e(i.minute,1)||o<45&&e(i.minutes,Math.round(o))||o<90&&e(i.hour,1)||s<24&&e(i.hours,Math.round(s))||s<42&&e(i.day,1)||l<30&&e(i.days,Math.round(l))||l<45&&e(i.month,1)||l<365&&e(i.months,Math.round(l/30))||u<1.5&&e(i.year,1)||e(i.years,Math.round(u)),f=i.wordSeparator||"";return i.wordSeparator===undefined&&(f=" "),d.trim([t,c,n].join(f))},parse:function(e){var t=d.trim(e);return t=(t=(t=(t=(t=t.replace(/\.\d+/,"")).replace(/-/,"/").replace(/-/,"/")).replace(/T/," ").replace(/Z/," UTC")).replace(/([\+\-]\d\d)\:?(\d\d)/," $1$2")).replace(/([\+\-]\d\d)$/," $100"),new Date(t)},datetime:function(e){var t=o.isTime(e)?d(e).attr("datetime"):d(e).attr("title");return o.parse(t)},isTime:function(e){return"time"===d(e).get(0).tagName.toLowerCase()}});var s={init:function(){s.dispose.call(this);var e=d.proxy(n,this);e();var t=o.settings;0<t.refreshMillis&&(this._timeagoInterval=setInterval(e,t.refreshMillis))},update:function(e){var t=e instanceof Date?e:o.parse(e);d(this).data("timeago",{datetime:t}),o.settings.localeTitle&&d(this).attr("title",t.toLocaleString()),n.apply(this)},updateFromDOM:function(){d(this).data("timeago",{datetime:o.parse(o.isTime(this)?d(this).attr("datetime"):d(this).attr("title"))}),n.apply(this)},dispose:function(){this._timeagoInterval&&(window.clearInterval(this._timeagoInterval),this._timeagoInterval=null)}};d.fn.timeago=function(e,t){var n=e?s[e]:s.init;if(!n)throw new Error("Unknown function name '"+e+"' for timeago");return this.each(function(){n.call(this,t)}),this},document.createElement("abbr"),document.createElement("time")}),$(document).ready(function(){var t,r;$(".file_list").dataTable({order:[[1,"asc"]],paging:!1}),$("a.src_link").click(function(){var e=$($(this).attr("href"));e.hasClass("highlighted")||(e.find("pre code").each(function(e,t){hljs.highlightBlock(t," ")}),e.addClass("highlighted"))}),$("a.src_link").colorbox({transition:"none",inline:!0,opacity:1,width:"95%",height:"95%",onLoad:function(){t=r||window.location.hash.substring(1),r=this.href.split("#")[1],window.location.hash=r,$(".file_list_container").hide()},onCleanup:function(){t&&t!=r?($('a[href="#'+t+'"]').click(),r=t):($(".group_tabs a:first").click(),t=r,r="#_AllFiles"),window.location.hash=r;var e=$(".group_tabs li.active a").attr("class");$("#"+e+".file_list_container").show()}}),$(".source_table li[data-linenumber]").click(function(){$("#cboxLoadedContent").scrollTop(this.offsetTop);var e=r.replace(/-.*/,"")+"-L"+$(this).data("linenumber");return window.location.replace(window.location.href.replace(/#.*/,"#"+e)),r=e,!1}),window.onpopstate=function(){if("#_"==window.location.hash.substring(0,2))$.colorbox.close(),r=window.location.hash.substring(1);else if($("#colorbox").is(":hidden")){var e=window.location.hash.substring(1).split("-L"),t=e[0],n=e[1];$('a.src_link[href="#'+t+'"]').colorbox({open:!0}),n!==undefined&&$("#cboxLoadedContent").scrollTop($('#cboxLoadedContent .source_table li[data-linenumber="'+n+'"]')[0].offsetTop)}},$(".source_files").hide(),$(".file_list_container").hide(),$(".file_list_container h2").each(function(){var e=$(this).parent().attr("id"),t=$(this).find(".group_name").first().html(),n=$(this).find(".covered_percent").first().html();$(".group_tabs").append('<li><a href="#'+e+'">'+t+" ("+n+")</a></li>")}),$(".group_tabs a").each(function(){$(this).addClass($(this).attr("href").replace("#",""))}),$(".group_tabs").on("focus","a",function(){$(this).blur()});var e=$('link[rel="icon"]').attr("href");if($(".group_tabs").on("click","a",function(){return $(this).parent().hasClass("active")||($(".group_tabs a").parent().removeClass("active"),$(this).parent().addClass("active"),$(".file_list_container").hide(),$(".file_list_container"+$(this).attr("href")).show(),window.location.href=window.location.href.split("#")[0]+$(this).attr("href").replace("#","#_"),$('link[rel="icon"]').remove(),$("head").append('<link rel="icon" type="image/png" href="'+e+'" />')),!1}),window.location.hash){var n=window.location.hash.substring(1);if(40===n.length)$('a.src_link[href="#'+n+'"]').click();else if(40<n.length){var a=n.split("-L"),i=a[0],o=a[1];$('a.src_link[href="#'+i+'"]').colorbox({open:!0}),$("#"+i+' li[data-linenumber="'+o+'"]').click()}else $(".group_tabs a."+n.replace("_","")).click()}else $(".group_tabs a:first").click();$("abbr.timeago").timeago(),$("#loading").fadeOut(),$("#wrapper").show(),$(".dataTables_filter input").focus()});
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|