mirror of
https://github.com/telekom-security/tpotce.git
synced 2025-04-29 19:58:52 +00:00
5 lines
No EOL
155 KiB
Text
5 lines
No EOL
155 KiB
Text
function setCookie(e,t,n,r,i,o){document.cookie=e+"="+escape(t)+(n?"; expires="+n.toGMTString():"")+(r?"; path="+r:"")+(i?"; domain="+i:"")+(o?"; secure":"")}function getCookie(e){var t=document.cookie,n=e+"=",r=t.indexOf("; "+n);if(-1==r){if(0!=(r=t.indexOf(n)))return null}else r+=2;var i=document.cookie.indexOf(";",r);return-1==i&&(i=t.length),unescape(decodeURI(t.substring(r+n.length,i))).split("+").join(" ")}function deleteCookie(e,t,n){getCookie(e)&&(document.cookie=e+"="+(t?"; path="+t:"")+(n?"; domain="+n:"")+"; expires=Thu, 01-Jan-70 00:00:01 GMT")}!function(e,t){"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(N,e){function s(e){var t=!!e&&"length"in e&&e.length,n=he.type(e);return"function"!==n&&!he.isWindow(e)&&("array"===n||0===t||"number"==typeof t&&0<t&&t-1 in e)}function t(e,n,r){if(he.isFunction(n))return he.grep(e,function(e,t){return!!n.call(e,t,e)!==r});if(n.nodeType)return he.grep(e,function(e){return e===n!==r});if("string"==typeof n){if(Ne.test(n))return he.filter(n,e,r);n=he.filter(n,e)}return he.grep(e,function(e){return-1<he.inArray(e,n)!==r})}function n(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}function l(e){var n={};return he.each(e.match(Ee)||[],function(e,t){n[t]=!0}),n}function i(){re.addEventListener?(re.removeEventListener("DOMContentLoaded",o),N.removeEventListener("load",o)):(re.detachEvent("onreadystatechange",o),N.detachEvent("onload",o))}function o(){(re.addEventListener||"load"===N.event.type||"complete"===re.readyState)&&(i(),he.ready())}function u(e,t,n){if(n===undefined&&1===e.nodeType){var r="data-"+t.replace(qe,"-$1").toLowerCase();if("string"==typeof(n=e.getAttribute(r))){try{n="true"===n||"false"!==n&&("null"===n?null:+n+""===n?+n:Le.test(n)?he.parseJSON(n):n)}catch(i){}he.data(e,t,n)}else n=undefined}return n}function d(e){var t;for(t in e)if(("data"!==t||!he.isEmptyObject(e[t]))&&"toJSON"!==t)return!1;return!0}function r(e,t,n,r){if(De(e)){var i,o,a=he.expando,s=e.nodeType,u=s?he.cache:e,d=s?e[a]:e[a]&&a;if(d&&u[d]&&(r||u[d].data)||n!==undefined||"string"!=typeof t)return d||(d=s?e[a]=ne.pop()||he.guid++:a),u[d]||(u[d]=s?{}:{toJSON:he.noop}),"object"!=typeof t&&"function"!=typeof t||(r?u[d]=he.extend(u[d],t):u[d].data=he.extend(u[d].data,t)),o=u[d],r||(o.data||(o.data={}),o=o.data),n!==undefined&&(o[he.camelCase(t)]=n),"string"==typeof t?null==(i=o[t])&&(i=o[he.camelCase(t)]):i=o,i}}function a(e,t,n){if(De(e)){var r,i,o=e.nodeType,a=o?he.cache:e,s=o?e[he.expando]:he.expando;if(a[s]){if(t&&(r=n?a[s]:a[s].data)){i=(t=he.isArray(t)?t.concat(he.map(t,he.camelCase)):t in r?[t]:(t=he.camelCase(t))in r?[t]:t.split(" ")).length;for(;i--;)delete r[t[i]];if(n?!d(r):!he.isEmptyObject(r))return}(n||(delete a[s].data,d(a[s])))&&(o?he.cleanData([e],!0):ce.deleteExpando||a!=a.window?delete a[s]:a[s]=undefined)}}}function c(e,t,n,r){var i,o=1,a=20,s=r?function(){return r.cur()}:function(){return he.css(e,t,"")},u=s(),d=n&&n[3]||(he.cssNumber[t]?"":"px"),l=(he.cssNumber[t]||"px"!==d&&+u)&&Oe.exec(he.css(e,t));if(l&&l[3]!==d)for(d=d||l[3],n=n||[],l=+u||1;l/=o=o||".5",he.style(e,t,l+d),o!==(o=s()/u)&&1!==o&&--a;);return n&&(l=+l||+u||0,i=n[1]?l+(n[1]+1)*n[2]:+n[2],r&&(r.unit=d,r.start=l,r.end=i)),i}function g(e){var t=Ve.split("|"),n=e.createDocumentFragment();if(n.createElement)for(;t.length;)n.createElement(t.pop());return n}function y(e,t){var n,r,i=0,o="undefined"!=typeof e.getElementsByTagName?e.getElementsByTagName(t||"*"):"undefined"!=typeof e.querySelectorAll?e.querySelectorAll(t||"*"):undefined;if(!o)for(o=[],n=e.childNodes||e;null!=(r=n[i]);i++)!t||he.nodeName(r,t)?o.push(r):he.merge(o,y(r,t));return t===undefined||t&&he.nodeName(e,t)?he.merge([e],o):o}function v(e,t){for(var n,r=0;null!=(n=e[r]);r++)he._data(n,"globalEval",!t||he._data(t[r],"globalEval"))}function x(e){Qe.test(e.type)&&(e.defaultChecked=e.checked)}function p(e,t,n,r,i){for(var o,a,s,u,d,l,c,f=e.length,h=g(t),m=[],p=0;p<f;p++)if((a=e[p])||0===a)if("object"===he.type(a))he.merge(m,a.nodeType?[a]:a);else if(Ye.test(a)){for(u=u||h.appendChild(t.createElement("div")),d=(Be.exec(a)||["",""])[1].toLowerCase(),c=Ue[d]||Ue._default,u.innerHTML=c[1]+he.htmlPrefilter(a)+c[2],o=c[0];o--;)u=u.lastChild;if(!ce.leadingWhitespace&&Xe.test(a)&&m.push(t.createTextNode(Xe.exec(a)[0])),!ce.tbody)for(o=(a="table"!==d||Je.test(a)?"<table>"!==c[1]||Je.test(a)?0:u:u.firstChild)&&a.childNodes.length;o--;)he.nodeName(l=a.childNodes[o],"tbody")&&!l.childNodes.length&&a.removeChild(l);for(he.merge(m,u.childNodes),u.textContent="";u.firstChild;)u.removeChild(u.firstChild);u=h.lastChild}else m.push(t.createTextNode(a));for(u&&h.removeChild(u),ce.appendChecked||he.grep(y(m,"input"),x),p=0;a=m[p++];)if(r&&-1<he.inArray(a,r))i&&i.push(a);else if(s=he.contains(a.ownerDocument,a),u=y(h.appendChild(a),"script"),s&&v(u),n)for(o=0;a=u[o++];)We.test(a.type||"")&&n.push(a);return u=null,h}function f(){return!0}function h(){return!1}function m(){try{return re.activeElement}catch(e){}}function b(e,t,n,r,i,o){var a,s;if("object"==typeof t){for(s in"string"!=typeof n&&(r=r||n,n=undefined),t)b(e,s,n,r,t[s],o);return e}if(null==r&&null==i?(i=n,r=n=undefined):null==i&&("string"==typeof n?(i=r,r=undefined):(i=r,r=n,n=undefined)),!1===i)i=h;else if(!i)return e;return 1===o&&(a=i,(i=function(e){return he().off(e),a.apply(this,arguments)}).guid=a.guid||(a.guid=he.guid++)),e.each(function(){he.event.add(this,t,i,r,n)})}function w(e,t){return he.nodeName(e,"table")&&he.nodeName(11!==t.nodeType?t:t.firstChild,"tr")?e.getElementsByTagName("tbody")[0]||e.appendChild(e.ownerDocument.createElement("tbody")):e}function k(e){return e.type=(null!==he.find.attr(e,"type"))+"/"+e.type,e}function j(e){var t=st.exec(e.type);return t?e.type=t[1]:e.removeAttribute("type"),e}function T(e,t){if(1===t.nodeType&&he.hasData(e)){var n,r,i,o=he._data(e),a=he._data(t,o),s=o.events;if(s)for(n in delete a.handle,a.events={},s)for(r=0,i=s[n].length;r<i;r++)he.event.add(t,n,s[n][r]);a.data&&(a.data=he.extend({},a.data))}}function A(e,t){var n,r,i;if(1===t.nodeType){if(n=t.nodeName.toLowerCase(),!ce.noCloneEvent&&t[he.expando]){for(r in(i=he._data(t)).events)he.removeEvent(t,r,i.handle);t.removeAttribute(he.expando)}"script"===n&&t.text!==e.text?(k(t).text=e.text,j(t)):"object"===n?(t.parentNode&&(t.outerHTML=e.outerHTML),ce.html5Clone&&e.innerHTML&&!he.trim(t.innerHTML)&&(t.innerHTML=e.innerHTML)):"input"===n&&Qe.test(e.type)?(t.defaultChecked=t.checked=e.checked,t.value!==e.value&&(t.value=e.value)):"option"===n?t.defaultSelected=t.selected=e.defaultSelected:"input"!==n&&"textarea"!==n||(t.defaultValue=e.defaultValue)}}function C(n,r,i,o){r=oe.apply([],r);var e,t,a,s,u,d,l=0,c=n.length,f=c-1,h=r[0],m=he.isFunction(h);if(m||1<c&&"string"==typeof h&&!ce.checkClone&&at.test(h))return n.each(function(e){var t=n.eq(e);m&&(r[0]=h.call(this,e,t.html())),C(t,r,i,o)});if(c&&(e=(d=p(r,n[0].ownerDocument,!1,n,o)).firstChild,1===d.childNodes.length&&(d=e),e||o)){for(a=(s=he.map(y(d,"script"),k)).length;l<c;l++)t=d,l!==f&&(t=he.clone(t,!0,!0),a&&he.merge(s,y(t,"script"))),i.call(n[l],t,l);if(a)for(u=s[s.length-1].ownerDocument,he.map(s,j),l=0;l<a;l++)t=s[l],We.test(t.type||"")&&!he._data(t,"globalEval")&&he.contains(u,t)&&(t.src?he._evalUrl&&he._evalUrl(t.src):he.globalEval((t.text||t.textContent||t.innerHTML||"").replace(ut,"")));d=e=null}return n}function S(e,t,n){for(var r,i=t?he.filter(t,e):e,o=0;null!=(r=i[o]);o++)n||1!==r.nodeType||he.cleanData(y(r)),r.parentNode&&(n&&he.contains(r.ownerDocument,r)&&v(y(r,"script")),r.parentNode.removeChild(r));return e}function F(e,t){var n=he(t.createElement(e)).appendTo(t.body),r=he.css(n[0],"display");return n.detach(),r}function E(e){var t=re,n=ct[e];return n||("none"!==(n=F(e,t))&&n||((t=((lt=(lt||he("<iframe frameborder='0' width='0' height='0'/>")).appendTo(t.documentElement))[0].contentWindow||lt[0].contentDocument).document).write(),t.close(),n=F(e,t),lt.detach()),ct[e]=n),n}function _(e,t){return{get:function(){if(!e())return(this.get=t).apply(this,arguments);delete this.get}}}function D(e){if(e in At)return e;for(var t=e.charAt(0).toUpperCase()+e.slice(1),n=Tt.length;n--;)if((e=Tt[n]+t)in At)return e}function L(e,t){for(var n,r,i,o=[],a=0,s=e.length;a<s;a++)(r=e[a]).style&&(o[a]=he._data(r,"olddisplay"),n=r.style.display,t?(o[a]||"none"!==n||(r.style.display=""),""===r.style.display&&Pe(r)&&(o[a]=he._data(r,"olddisplay",E(r.nodeName)))):(i=Pe(r),(n&&"none"!==n||!i)&&he._data(r,"olddisplay",i?n:he.css(r,"display"))));for(a=0;a<s;a++)(r=e[a]).style&&(t&&"none"!==r.style.display&&""!==r.style.display||(r.style.display=t?o[a]||"":"none"));return e}function q(e,t,n){var r=kt.exec(t);return r?Math.max(0,r[1]-(n||0))+(r[2]||"px"):t}function H(e,t,n,r,i){for(var o=n===(r?"border":"content")?4:"width"===t?1:0,a=0;o<4;o+=2)"margin"===n&&(a+=he.css(e,n+$e[o],!0,i)),r?("content"===n&&(a-=he.css(e,"padding"+$e[o],!0,i)),"margin"!==n&&(a-=he.css(e,"border"+$e[o]+"Width",!0,i))):(a+=he.css(e,"padding"+$e[o],!0,i),"padding"!==n&&(a+=he.css(e,"border"+$e[o]+"Width",!0,i)));return a}function M(e,t,n){var r=!0,i="width"===t?e.offsetWidth:e.offsetHeight,o=gt(e),a=ce.boxSizing&&"border-box"===he.css(e,"boxSizing",!1,o);if(i<=0||null==i){if(((i=yt(e,t,o))<0||null==i)&&(i=e.style[t]),ht.test(i))return i;r=a&&(ce.boxSizingReliable()||i===e.style[t]),i=parseFloat(i)||0}return i+H(e,t,n||(a?"border":"content"),r,o)+"px"}function I(e,t,n,r,i){return new I.prototype.init(e,t,n,r,i)}function R(){return N.setTimeout(function(){Ct=undefined}),Ct=he.now()}function O(e,t){var n,r={height:e},i=0;for(t=t?1:0;i<4;i+=2-t)r["margin"+(n=$e[i])]=r["padding"+n]=e;return t&&(r.opacity=r.width=e),r}function $(e,t,n){for(var r,i=(Q.tweeners[t]||[]).concat(Q.tweeners["*"]),o=0,a=i.length;o<a;o++)if(r=i[o].call(n,t,e))return r}function P(t,e,n){var r,i,o,a,s,u,d,l=this,c={},f=t.style,h=t.nodeType&&Pe(t),m=he._data(t,"fxshow");for(r in n.queue||(null==(s=he._queueHooks(t,"fx")).unqueued&&(s.unqueued=0,u=s.empty.fire,s.empty.fire=function(){s.unqueued||u()}),s.unqueued++,l.always(function(){l.always(function(){s.unqueued--,he.queue(t,"fx").length||s.empty.fire()})})),1===t.nodeType&&("height"in e||"width"in e)&&(n.overflow=[f.overflow,f.overflowX,f.overflowY],"inline"===("none"===(d=he.css(t,"display"))?he._data(t,"olddisplay")||E(t.nodeName):d)&&"none"===he.css(t,"float")&&(ce.inlineBlockNeedsLayout&&"inline"!==E(t.nodeName)?f.zoom=1:f.display="inline-block")),n.overflow&&(f.overflow="hidden",ce.shrinkWrapBlocks()||l.always(function(){f.overflow=n.overflow[0],f.overflowX=n.overflow[1],f.overflowY=n.overflow[2]})),e)if(i=e[r],qt.exec(i)){if(delete e[r],o=o||"toggle"===i,i===(h?"hide":"show")){if("show"!==i||!m||m[r]===undefined)continue;h=!0}c[r]=m&&m[r]||he.style(t,r)}else d=undefined;if(he.isEmptyObject(c))"inline"===("none"===d?E(t.nodeName):d)&&(f.display=d);else for(r in m?"hidden"in m&&(h=m.hidden):m=he._data(t,"fxshow",{}),o&&(m.hidden=!h),h?he(t).show():l.done(function(){he(t).hide()}),l.done(function(){var e;for(e in he._removeData(t,"fxshow"),c)he.style(t,e,c[e])}),c)a=$(h?m[r]:0,r,l),r in m||(m[r]=a.start,h&&(a.end=a.start,a.start="width"===r||"height"===r?1:0))}function z(e,t){var n,r,i,o,a;for(n in e)if(i=t[r=he.camelCase(n)],o=e[n],he.isArray(o)&&(i=o[1],o=e[n]=o[0]),n!==r&&(e[r]=o,delete e[n]),(a=he.cssHooks[r])&&"expand"in a)for(n in o=a.expand(o),delete e[r],o)n in e||(e[n]=o[n],t[n]=i);else t[r]=i}function Q(o,e,t){var n,a,r=0,i=Q.prefilters.length,s=he.Deferred().always(function(){delete u.elem}),u=function(){if(a)return!1;for(var e=Ct||R(),t=Math.max(0,d.startTime+d.duration-e),n=1-(t/d.duration||0),r=0,i=d.tweens.length;r<i;r++)d.tweens[r].run(n);return s.notifyWith(o,[d,n,t]),n<1&&i?t:(s.resolveWith(o,[d]),!1)},d=s.promise({elem:o,props:he.extend({},e),opts:he.extend(!0,{specialEasing:{},easing:he.easing._default},t),originalProperties:e,originalOptions:t,startTime:Ct||R(),duration:t.duration,tweens:[],createTween:function(e,t){var n=he.Tween(o,d.opts,e,t,d.opts.specialEasing[e]||d.opts.easing);return d.tweens.push(n),n},stop:function(e){var t=0,n=e?d.tweens.length:0;if(a)return this;for(a=!0;t<n;t++)d.tweens[t].run(1);return e?(s.notifyWith(o,[d,1,0]),s.resolveWith(o,[d,e])):s.rejectWith(o,[d,e]),this}}),l=d.props;for(z(l,d.opts.specialEasing);r<i;r++)if(n=Q.prefilters[r].call(d,o,l,d.opts))return he.isFunction(n.stop)&&(he._queueHooks(d.elem,d.opts.queue).stop=he.proxy(n.stop,n)),n;return he.map(l,$,d),he.isFunction(d.opts.start)&&d.opts.start.call(o,d),he.fx.timer(he.extend(u,{elem:o,anim:d,queue:d.opts.queue})),d.progress(d.opts.progress).done(d.opts.done,d.opts.complete).fail(d.opts.fail).always(d.opts.always)}function B(e){return he.attr(e,"class")||""}function W(o){return function(e,t){"string"!=typeof e&&(t=e,e="*");var n,r=0,i=e.toLowerCase().match(Ee)||[];if(he.isFunction(t))for(;n=i[r++];)"+"===n.charAt(0)?(n=n.slice(1)||"*",(o[n]=o[n]||[]).unshift(t)):(o[n]=o[n]||[]).push(t)}}function X(t,i,o,a){function s(e){var r;return u[e]=!0,he.each(t[e]||[],function(e,t){var n=t(i,o,a);return"string"!=typeof n||d||u[n]?d?!(r=n):void 0:(i.dataTypes.unshift(n),s(n),!1)}),r}var u={},d=t===an;return s(i.dataTypes[0])||!u["*"]&&s("*")}function V(e,t){var n,r,i=he.ajaxSettings.flatOptions||{};for(r in t)t[r]!==undefined&&((i[r]?e:n||(n={}))[r]=t[r]);return n&&he.extend(!0,e,n),e}function U(e,t,n){for(var r,i,o,a,s=e.contents,u=e.dataTypes;"*"===u[0];)u.shift(),i===undefined&&(i=e.mimeType||t.getResponseHeader("Content-Type"));if(i)for(a in s)if(s[a]&&s[a].test(i)){u.unshift(a);break}if(u[0]in n)o=u[0];else{for(a in n){if(!u[0]||e.converters[a+" "+u[0]]){o=a;break}r||(r=a)}o=o||r}if(o)return o!==u[0]&&u.unshift(o),n[o]}function Y(e,t,n,r){var i,o,a,s,u,d={},l=e.dataTypes.slice();if(l[1])for(a in e.converters)d[a.toLowerCase()]=e.converters[a];for(o=l.shift();o;)if(e.responseFields[o]&&(n[e.responseFields[o]]=t),!u&&r&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),u=o,o=l.shift())if("*"===o)o=u;else if("*"!==u&&u!==o){if(!(a=d[u+" "+o]||d["* "+o]))for(i in d)if((s=i.split(" "))[1]===o&&(a=d[u+" "+s[0]]||d["* "+s[0]])){!0===a?a=d[i]:!0!==d[i]&&(o=s[0],l.unshift(s[1]));break}if(!0!==a)if(a&&e["throws"])t=a(t);else try{t=a(t)}catch(c){return{state:"parsererror",error:a?c:"No conversion from "+u+" to "+o}}}return{state:"success",data:t}}function J(e){return e.style&&e.style.display||he.css(e,"display")}function G(e){if(!he.contains(e.ownerDocument||re,e))return!0;for(;e&&1===e.nodeType;){if("none"===J(e)||"hidden"===e.type)return!0;e=e.parentNode}return!1}function K(n,e,r,i){var t;if(he.isArray(e))he.each(e,function(e,t){r||cn.test(n)?i(n,t):K(n+"["+("object"==typeof t&&null!=t?e:"")+"]",t,r,i)});else if(r||"object"!==he.type(e))i(n,e);else for(t in e)K(n+"["+t+"]",e[t],r,i)}function Z(){try{return new N.XMLHttpRequest}catch(e){}}function ee(){try{return new N.ActiveXObject("Microsoft.XMLHTTP")}catch(e){}}function te(e){return he.isWindow(e)?e:9===e.nodeType&&(e.defaultView||e.parentWindow)}var ne=[],re=N.document,ie=ne.slice,oe=ne.concat,ae=ne.push,se=ne.indexOf,ue={},de=ue.toString,le=ue.hasOwnProperty,ce={},fe="1.12.4",he=function(e,t){return new he.fn.init(e,t)},me=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,pe=/^-ms-/,ge=/-([\da-z])/gi,ye=function(e,t){return t.toUpperCase()};he.fn=he.prototype={jquery:fe,constructor:he,selector:"",length:0,toArray:function(){return ie.call(this)},get:function(e){return null!=e?e<0?this[e+this.length]:this[e]:ie.call(this)},pushStack:function(e){var t=he.merge(this.constructor(),e);return t.prevObject=this,t.context=this.context,t},each:function(e){return he.each(this,e)},map:function(n){return this.pushStack(he.map(this,function(e,t){return n.call(e,t,e)}))},slice:function(){return this.pushStack(ie.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},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:ae,sort:ne.sort,splice:ne.splice},he.extend=he.fn.extend=function(e){var t,n,r,i,o,a,s=e||{},u=1,d=arguments.length,l=!1;for("boolean"==typeof s&&(l=s,s=arguments[u]||{},u++),"object"==typeof s||he.isFunction(s)||(s={}),u===d&&(s=this,u--);u<d;u++)if(null!=(o=arguments[u]))for(i in o)t=s[i],s!==(r=o[i])&&(l&&r&&(he.isPlainObject(r)||(n=he.isArray(r)))?(n?(n=!1,a=t&&he.isArray(t)?t:[]):a=t&&he.isPlainObject(t)?t:{},s[i]=he.extend(l,a,r)):r!==undefined&&(s[i]=r));return s},he.extend({expando:"jQuery"+(fe+Math.random()).replace(/\D/g,""),isReady:!0,error:function(e){throw new Error(e)},noop:function(){},isFunction:function(e){return"function"===he.type(e)},isArray:Array.isArray||function(e){return"array"===he.type(e)},isWindow:function(e){return null!=e&&e==e.window},isNumeric:function(e){var t=e&&e.toString();return!he.isArray(e)&&0<=t-parseFloat(t)+1},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},isPlainObject:function(e){var t;if(!e||"object"!==he.type(e)||e.nodeType||he.isWindow(e))return!1;try{if(e.constructor&&!le.call(e,"constructor")&&!le.call(e.constructor.prototype,"isPrototypeOf"))return!1}catch(n){return!1}if(!ce.ownFirst)for(t in e)return le.call(e,t);for(t in e);return t===undefined||le.call(e,t)},type:function(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?ue[de.call(e)]||"object":typeof e},globalEval:function(e){e&&he.trim(e)&&(N.execScript||function(e){N.eval.call(N,e)})(e)},camelCase:function(e){return e.replace(pe,"ms-").replace(ge,ye)},nodeName:function(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()},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},trim:function(e){return null==e?"":(e+"").replace(me,"")},makeArray:function(e,t){var n=t||[];return null!=e&&(s(Object(e))?he.merge(n,"string"==typeof e?[e]:e):ae.call(n,e)),n},inArray:function(e,t,n){var r;if(t){if(se)return se.call(t,e,n);for(r=t.length,n=n?n<0?Math.max(0,r+n):n:0;n<r;n++)if(n in t&&t[n]===e)return n}return-1},merge:function(e,t){for(var n=+t.length,r=0,i=e.length;r<n;)e[i++]=t[r++];if(n!=n)for(;t[r]!==undefined;)e[i++]=t[r++];return e.length=i,e},grep:function(e,t,n){for(var r=[],i=0,o=e.length,a=!n;i<o;i++)!t(e[i],i)!==a&&r.push(e[i]);return r},map:function(e,t,n){var r,i,o=0,a=[];if(s(e))for(r=e.length;o<r;o++)null!=(i=t(e[o],o,n))&&a.push(i);else for(o in e)null!=(i=t(e[o],o,n))&&a.push(i);return oe.apply([],a)},guid:1,proxy:function(e,t){var n,r,i;return"string"==typeof t&&(i=e[t],t=e,e=i),he.isFunction(e)?(n=ie.call(arguments,2),(r=function(){return e.apply(t||this,n.concat(ie.call(arguments)))}).guid=e.guid=e.guid||he.guid++,r):undefined},now:function(){return+new Date},support:ce}),"function"==typeof Symbol&&(he.fn[Symbol.iterator]=ne[Symbol.iterator]),he.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(e,t){ue["[object "+t+"]"]=t.toLowerCase()});var ve=function(n){function b(e,t,n,r){var i,o,a,s,u,d,l,c,f=t&&t.ownerDocument,h=t?t.nodeType:9;if(n=n||[],"string"!=typeof e||!e||1!==h&&9!==h&&11!==h)return n;if(!r&&((t?t.ownerDocument||t:$)!==D&&_(t),t=t||D,q)){if(11!==h&&(d=ye.exec(e)))if(i=d[1]){if(9===h){if(!(a=t.getElementById(i)))return n;if(a.id===i)return n.push(a),n}else if(f&&(a=f.getElementById(i))&&R(t,a)&&a.id===i)return n.push(a),n}else{if(d[2])return K.apply(n,t.getElementsByTagName(e)),n;if((i=d[3])&&y.getElementsByClassName&&t.getElementsByClassName)return K.apply(n,t.getElementsByClassName(i)),n}if(y.qsa&&!W[e+" "]&&(!H||!H.test(e))){if(1!==h)f=t,c=e;else if("object"!==t.nodeName.toLowerCase()){for((s=t.getAttribute("id"))?s=s.replace(xe,"\\$&"):t.setAttribute("id",s=O),o=(l=T(e)).length,u=fe.test(s)?"#"+s:"[id='"+s+"']";o--;)l[o]=u+" "+g(l[o]);c=l.join(","),f=ve.test(e)&&p(t.parentNode)||t}if(c)try{return K.apply(n,f.querySelectorAll(c)),n}catch(m){}finally{s===O&&t.removeAttribute("id")}}}return C(e.replace(se,"$1"),t,n,r)}function e(){function n(e,t){return r.push(e+" ")>k.cacheLength&&delete n[r.shift()],n[e+" "]=t}var r=[];return n}function u(e){return e[O]=!0,e}function i(e){var t=D.createElement("div");try{return!!e(t)}catch(n){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function t(e,t){for(var n=e.split("|"),r=n.length;r--;)k.attrHandle[n[r]]=t}function d(e,t){var n=t&&e,r=n&&1===e.nodeType&&1===t.nodeType&&(~t.sourceIndex||V)-(~e.sourceIndex||V);if(r)return r;if(n)for(;n=n.nextSibling;)if(n===t)return-1;return e?1:-1}function r(t){return function(e){return"input"===e.nodeName.toLowerCase()&&e.type===t}}function o(n){return function(e){var t=e.nodeName.toLowerCase();return("input"===t||"button"===t)&&e.type===n}}function a(a){return u(function(o){return o=+o,u(function(e,t){for(var n,r=a([],e.length,o),i=r.length;i--;)e[n=r[i]]&&(e[n]=!(t[n]=e[n]))})})}function p(e){return e&&"undefined"!=typeof e.getElementsByTagName&&e}function s(){}function g(e){for(var t=0,n=e.length,r="";t<n;t++)r+=e[t].value;return r}function c(s,e,t){var u=e.dir,d=t&&"parentNode"===u,l=z++;return e.first?function(e,t,n){for(;e=e[u];)if(1===e.nodeType||d)return s(e,t,n)}:function(e,t,n){var r,i,o,a=[P,l];if(n){for(;e=e[u];)if((1===e.nodeType||d)&&s(e,t,n))return!0}else for(;e=e[u];)if(1===e.nodeType||d){if((r=(i=(o=e[O]||(e[O]={}))[e.uniqueID]||(o[e.uniqueID]={}))[u])&&r[0]===P&&r[1]===l)return a[2]=r[2];if((i[u]=a)[2]=s(e,t,n))return!0}}}function f(i){return 1<i.length?function(e,t,n){for(var r=i.length;r--;)if(!i[r](e,t,n))return!1;return!0}:i[0]}function v(e,t,n){for(var r=0,i=t.length;r<i;r++)b(e,t[r],n);return n}function w(e,t,n,r,i){for(var o,a=[],s=0,u=e.length,d=null!=t;s<u;s++)(o=e[s])&&(n&&!n(o,r,i)||(a.push(o),d&&t.push(s)));return a}function x(h,m,p,g,y,e){return g&&!g[O]&&(g=x(g)),y&&!y[O]&&(y=x(y,e)),u(function(e,t,n,r){var i,o,a,s=[],u=[],d=t.length,l=e||v(m||"*",n.nodeType?[n]:n,[]),c=!h||!e&&m?l:w(l,s,h,n,r),f=p?y||(e?h:d||g)?[]:t:c;if(p&&p(c,f,n,r),g)for(i=w(f,u),g(i,[],n,r),o=i.length;o--;)(a=i[o])&&(f[u[o]]=!(c[u[o]]=a));if(e){if(y||h){if(y){for(i=[],o=f.length;o--;)(a=f[o])&&i.push(c[o]=a);y(null,f=[],i,r)}for(o=f.length;o--;)(a=f[o])&&-1<(i=y?ee(e,a):s[o])&&(e[i]=!(t[i]=a))}}else f=w(f===t?f.splice(d,f.length):f),y?y(null,t,f,r):K.apply(t,f)})}function h(e){for(var i,t,n,r=e.length,o=k.relative[e[0].type],a=o||k.relative[" "],s=o?1:0,u=c(function(e){return e===i},a,!0),d=c(function(e){return-1<ee(i,e)},a,!0),l=[function(e,t,n){var r=!o&&(n||t!==S)||((i=t).nodeType?u(e,t,n):d(e,t,n));return i=null,r}];s<r;s++)if(t=k.relative[e[s].type])l=[c(f(l),t)];else{if((t=k.filter[e[s].type].apply(null,e[s].matches))[O]){for(n=++s;n<r&&!k.relative[e[n].type];n++);return x(1<s&&f(l),1<s&&g(e.slice(0,s-1).concat({value:" "===e[s-2].type?"*":""})).replace(se,"$1"),t,s<n&&h(e.slice(s,n)),n<r&&h(e=e.slice(n)),n<r&&g(e))}l.push(t)}return f(l)}function l(g,y){var v=0<y.length,x=0<g.length,e=function(e,t,n,r,i){var o,a,s,u=0,d="0",l=e&&[],c=[],f=S,h=e||x&&k.find.TAG("*",i),m=P+=null==f?1:Math.random()||.1,p=h.length;for(i&&(S=t===D||t||i);d!==p&&null!=(o=h[d]);d++){if(x&&o){for(a=0,t||o.ownerDocument===D||(_(o),n=!q);s=g[a++];)if(s(o,t||D,n)){r.push(o);break}i&&(P=m)}v&&((o=!s&&o)&&u--,e&&l.push(o))}if(u+=d,v&&d!==u){for(a=0;s=y[a++];)s(l,c,t,n);if(e){if(0<u)for(;d--;)l[d]||c[d]||(c[d]=J.call(r));c=w(c)}K.apply(r,c),i&&!e&&0<c.length&&1<u+y.length&&b.uniqueSort(r)}return i&&(P=m,S=f),l};return v?u(e):e}var m,y,k,N,j,T,A,C,S,F,E,_,D,L,q,H,M,I,R,O="sizzle"+1*new Date,$=n.document,P=0,z=0,Q=e(),B=e(),W=e(),X=function(e,t){return e===t&&(E=!0),0},V=1<<31,U={}.hasOwnProperty,Y=[],J=Y.pop,G=Y.push,K=Y.push,Z=Y.slice,ee=function(e,t){for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return-1},te="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",ne="[\\x20\\t\\r\\n\\f]",re="(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",ie="\\["+ne+"*("+re+")(?:"+ne+"*([*^$|!~]?=)"+ne+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+re+"))|)"+ne+"*\\]",oe=":("+re+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+ie+")*)|.*)\\)|)",ae=new RegExp(ne+"+","g"),se=new RegExp("^"+ne+"+|((?:^|[^\\\\])(?:\\\\.)*)"+ne+"+$","g"),ue=new RegExp("^"+ne+"*,"+ne+"*"),de=new RegExp("^"+ne+"*([>+~]|"+ne+")"+ne+"*"),le=new RegExp("="+ne+"*([^\\]'\"]*?)"+ne+"*\\]","g"),ce=new RegExp(oe),fe=new RegExp("^"+re+"$"),he={ID:new RegExp("^#("+re+")"),CLASS:new RegExp("^\\.("+re+")"),TAG:new RegExp("^("+re+"|[*])"),ATTR:new RegExp("^"+ie),PSEUDO:new RegExp("^"+oe),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+ne+"*(even|odd|(([+-]|)(\\d*)n|)"+ne+"*(?:([+-]|)"+ne+"*(\\d+)|))"+ne+"*\\)|)","i"),bool:new RegExp("^(?:"+te+")$","i"),needsContext:new RegExp("^"+ne+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+ne+"*((?:-\\d)?\\d*)"+ne+"*\\)|)(?=[^-]|$)","i")},me=/^(?:input|select|textarea|button)$/i,pe=/^h\d$/i,ge=/^[^{]+\{\s*\[native \w/,ye=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ve=/[+~]/,xe=/'|\\/g,be=new RegExp("\\\\([\\da-f]{1,6}"+ne+"?|("+ne+")|.)","ig"),we=function(e,t,n){var r="0x"+t-65536;return r!=r||n?t:r<0?String.fromCharCode(r+65536):String.fromCharCode(r>>10|55296,1023&r|56320)},ke=function(){_()};try{K.apply(Y=Z.call($.childNodes),$.childNodes),Y[$.childNodes.length].nodeType}catch(Ne){K={apply:Y.length?function(e,t){G.apply(e,Z.call(t))}:function(e,t){for(var n=e.length,r=0;e[n++]=t[r++];);e.length=n-1}}}for(m in y=b.support={},j=b.isXML=function(e){var t=e&&(e.ownerDocument||e).documentElement;return!!t&&"HTML"!==t.nodeName},_=b.setDocument=function(e){var t,n,r=e?e.ownerDocument||e:$;return r!==D&&9===r.nodeType&&r.documentElement&&(L=(D=r).documentElement,q=!j(D),(n=D.defaultView)&&n.top!==n&&(n.addEventListener?n.addEventListener("unload",ke,!1):n.attachEvent&&n.attachEvent("onunload",ke)),y.attributes=i(function(e){return e.className="i",!e.getAttribute("className")}),y.getElementsByTagName=i(function(e){return e.appendChild(D.createComment("")),!e.getElementsByTagName("*").length}),y.getElementsByClassName=ge.test(D.getElementsByClassName),y.getById=i(function(e){return L.appendChild(e).id=O,!D.getElementsByName||!D.getElementsByName(O).length}),y.getById?(k.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&q){var n=t.getElementById(e);return n?[n]:[]}},k.filter.ID=function(e){var t=e.replace(be,we);return function(e){return e.getAttribute("id")===t}}):(delete k.find.ID,k.filter.ID=function(e){var n=e.replace(be,we);return function(e){var t="undefined"!=typeof e.getAttributeNode&&e.getAttributeNode("id");return t&&t.value===n}}),k.find.TAG=y.getElementsByTagName?function(e,t){return"undefined"!=typeof t.getElementsByTagName?t.getElementsByTagName(e):y.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,r=[],i=0,o=t.getElementsByTagName(e);if("*"===e){for(;n=o[i++];)1===n.nodeType&&r.push(n);return r}return o},k.find.CLASS=y.getElementsByClassName&&function(e,t){if("undefined"!=typeof t.getElementsByClassName&&q)return t.getElementsByClassName(e)},M=[],H=[],(y.qsa=ge.test(D.querySelectorAll))&&(i(function(e){L.appendChild(e).innerHTML="<a id='"+O+"'></a><select id='"+O+"-\r\\' msallowcapture=''><option selected=''></option></select>",e.querySelectorAll("[msallowcapture^='']").length&&H.push("[*^$]="+ne+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||H.push("\\["+ne+"*(?:value|"+te+")"),e.querySelectorAll("[id~="+O+"-]").length||H.push("~="),e.querySelectorAll(":checked").length||H.push(":checked"),e.querySelectorAll("a#"+O+"+*").length||H.push(".#.+[+~]")}),i(function(e){var t=D.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&H.push("name"+ne+"*[*^$|!~]?="),e.querySelectorAll(":enabled").length||H.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),H.push(",.*:")})),(y.matchesSelector=ge.test(I=L.matches||L.webkitMatchesSelector||L.mozMatchesSelector||L.oMatchesSelector||L.msMatchesSelector))&&i(function(e){y.disconnectedMatch=I.call(e,"div"),I.call(e,"[s!='']:x"),M.push("!=",oe)}),H=H.length&&new RegExp(H.join("|")),M=M.length&&new RegExp(M.join("|")),t=ge.test(L.compareDocumentPosition),R=t||ge.test(L.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,r=t&&t.parentNode;return e===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):e.compareDocumentPosition&&16&e.compareDocumentPosition(r)))}:function(e,t){if(t)for(;t=t.parentNode;)if(t===e)return!0;return!1},X=t?function(e,t){if(e===t)return E=!0,0;var n=!e.compareDocumentPosition-!t.compareDocumentPosition;return n||(1&(n=(e.ownerDocument||e)===(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!y.sortDetached&&t.compareDocumentPosition(e)===n?e===D||e.ownerDocument===$&&R($,e)?-1:t===D||t.ownerDocument===$&&R($,t)?1:F?ee(F,e)-ee(F,t):0:4&n?-1:1)}:function(e,t){if(e===t)return E=!0,0;var n,r=0,i=e.parentNode,o=t.parentNode,a=[e],s=[t];if(!i||!o)return e===D?-1:t===D?1:i?-1:o?1:F?ee(F,e)-ee(F,t):0;if(i===o)return d(e,t);for(n=e;n=n.parentNode;)a.unshift(n);for(n=t;n=n.parentNode;)s.unshift(n);for(;a[r]===s[r];)r++;return r?d(a[r],s[r]):a[r]===$?-1:s[r]===$?1:0}),D},b.matches=function(e,t){return b(e,null,null,t)},b.matchesSelector=function(e,t){if((e.ownerDocument||e)!==D&&_(e),t=t.replace(le,"='$1']"),y.matchesSelector&&q&&!W[t+" "]&&(!M||!M.test(t))&&(!H||!H.test(t)))try{var n=I.call(e,t);if(n||y.disconnectedMatch||e.document&&11!==e.document.nodeType)return n}catch(Ne){}return 0<b(t,D,null,[e]).length},b.contains=function(e,t){return(e.ownerDocument||e)!==D&&_(e),R(e,t)},b.attr=function(e,t){(e.ownerDocument||e)!==D&&_(e);var n=k.attrHandle[t.toLowerCase()],r=n&&U.call(k.attrHandle,t.toLowerCase())?n(e,t,!q):undefined;return r!==undefined?r:y.attributes||!q?e.getAttribute(t):(r=e.getAttributeNode(t))&&r.specified?r.value:null},b.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},b.uniqueSort=function(e){var t,n=[],r=0,i=0;if(E=!y.detectDuplicates,F=!y.sortStable&&e.slice(0),e.sort(X),E){for(;t=e[i++];)t===e[i]&&(r=n.push(i));for(;r--;)e.splice(n[r],1)}return F=null,e},N=b.getText=function(e){var t,n="",r=0,i=e.nodeType;if(i){if(1===i||9===i||11===i){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=N(e)}else if(3===i||4===i)return e.nodeValue}else for(;t=e[r++];)n+=N(t);return n},(k=b.selectors={cacheLength:50,createPseudo:u,match:he,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(be,we),e[3]=(e[3]||e[4]||e[5]||"").replace(be,we),"~="===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]||b.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]&&b.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return he.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&ce.test(n)&&(t=T(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(be,we).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=Q[e+" "];return t||(t=new RegExp("(^|"+ne+")"+e+"("+ne+"|$)"))&&Q(e,function(e){return t.test("string"==typeof e.className&&e.className||"undefined"!=typeof e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(n,r,i){return function(e){var t=b.attr(e,n);return null==t?"!="===r:!r||(t+="","="===r?t===i:"!="===r?t!==i:"^="===r?i&&0===t.indexOf(i):"*="===r?i&&-1<t.indexOf(i):"$="===r?i&&t.slice(-i.length)===i:"~="===r?-1<(" "+t.replace(ae," ")+" ").indexOf(i):"|="===r&&(t===i||t.slice(0,i.length+1)===i+"-"))}},CHILD:function(m,e,t,p,g){var y="nth"!==m.slice(0,3),v="last"!==m.slice(-4),x="of-type"===e;return 1===p&&0===g?function(e){return!!e.parentNode}:function(e,t,n){var r,i,o,a,s,u,d=y!==v?"nextSibling":"previousSibling",l=e.parentNode,c=x&&e.nodeName.toLowerCase(),f=!n&&!x,h=!1;if(l){if(y){for(;d;){for(a=e;a=a[d];)if(x?a.nodeName.toLowerCase()===c:1===a.nodeType)return!1;u=d="only"===m&&!u&&"nextSibling"}return!0}if(u=[v?l.firstChild:l.lastChild],v&&f){for(h=(s=(r=(i=(o=(a=l)[O]||(a[O]={}))[a.uniqueID]||(o[a.uniqueID]={}))[m]||[])[0]===P&&r[1])&&r[2],a=s&&l.childNodes[s];a=++s&&a&&a[d]||(h=s=0)||u.pop();)if(1===a.nodeType&&++h&&a===e){i[m]=[P,s,h];break}
|
|
}else if(f&&(h=s=(r=(i=(o=(a=e)[O]||(a[O]={}))[a.uniqueID]||(o[a.uniqueID]={}))[m]||[])[0]===P&&r[1]),!1===h)for(;(a=++s&&a&&a[d]||(h=s=0)||u.pop())&&((x?a.nodeName.toLowerCase()!==c:1!==a.nodeType)||!++h||(f&&((i=(o=a[O]||(a[O]={}))[a.uniqueID]||(o[a.uniqueID]={}))[m]=[P,h]),a!==e)););return(h-=g)===p||h%p==0&&0<=h/p}}},PSEUDO:function(e,o){var t,a=k.pseudos[e]||k.setFilters[e.toLowerCase()]||b.error("unsupported pseudo: "+e);return a[O]?a(o):1<a.length?(t=[e,e,"",o],k.setFilters.hasOwnProperty(e.toLowerCase())?u(function(e,t){for(var n,r=a(e,o),i=r.length;i--;)e[n=ee(e,r[i])]=!(t[n]=r[i])}):function(e){return a(e,0,t)}):a}},pseudos:{not:u(function(e){var r=[],i=[],s=A(e.replace(se,"$1"));return s[O]?u(function(e,t,n,r){for(var i,o=s(e,null,r,[]),a=e.length;a--;)(i=o[a])&&(e[a]=!(t[a]=i))}):function(e,t,n){return r[0]=e,s(r,null,n,i),r[0]=null,!i.pop()}}),has:u(function(t){return function(e){return 0<b(t,e).length}}),contains:u(function(t){return t=t.replace(be,we),function(e){return-1<(e.textContent||e.innerText||N(e)).indexOf(t)}}),lang:u(function(n){return fe.test(n||"")||b.error("unsupported lang: "+n),n=n.replace(be,we).toLowerCase(),function(e){var t;do{if(t=q?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=n.location&&n.location.hash;return t&&t.slice(1)===e.id},root:function(e){return e===L},focus:function(e){return e===D.activeElement&&(!D.hasFocus||D.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:function(e){return!1===e.disabled},disabled:function(e){return!0===e.disabled},checked:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&!!e.checked||"option"===t&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,!0===e.selected},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType<6)return!1;return!0},parent:function(e){return!k.pseudos.empty(e)},header:function(e){return pe.test(e.nodeName)},input:function(e){return me.test(e.nodeName)},button:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&"button"===e.type||"button"===t},text:function(e){var t;return"input"===e.nodeName.toLowerCase()&&"text"===e.type&&(null==(t=e.getAttribute("type"))||"text"===t.toLowerCase())},first:a(function(){return[0]}),last:a(function(e,t){return[t-1]}),eq:a(function(e,t,n){return[n<0?n+t:n]}),even:a(function(e,t){for(var n=0;n<t;n+=2)e.push(n);return e}),odd:a(function(e,t){for(var n=1;n<t;n+=2)e.push(n);return e}),lt:a(function(e,t,n){for(var r=n<0?n+t:n;0<=--r;)e.push(r);return e}),gt:a(function(e,t,n){for(var r=n<0?n+t:n;++r<t;)e.push(r);return e})}}).pseudos.nth=k.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})k.pseudos[m]=r(m);for(m in{submit:!0,reset:!0})k.pseudos[m]=o(m);return s.prototype=k.filters=k.pseudos,k.setFilters=new s,T=b.tokenize=function(e,t){var n,r,i,o,a,s,u,d=B[e+" "];if(d)return t?0:d.slice(0);for(a=e,s=[],u=k.preFilter;a;){for(o in n&&!(r=ue.exec(a))||(r&&(a=a.slice(r[0].length)||a),s.push(i=[])),n=!1,(r=de.exec(a))&&(n=r.shift(),i.push({value:n,type:r[0].replace(se," ")}),a=a.slice(n.length)),k.filter)!(r=he[o].exec(a))||u[o]&&!(r=u[o](r))||(n=r.shift(),i.push({value:n,type:o,matches:r}),a=a.slice(n.length));if(!n)break}return t?a.length:a?b.error(e):B(e,s).slice(0)},A=b.compile=function(e,t){var n,r=[],i=[],o=W[e+" "];if(!o){for(t||(t=T(e)),n=t.length;n--;)(o=h(t[n]))[O]?r.push(o):i.push(o);(o=W(e,l(i,r))).selector=e}return o},C=b.select=function(e,t,n,r){var i,o,a,s,u,d="function"==typeof e&&e,l=!r&&T(e=d.selector||e);if(n=n||[],1===l.length){if(2<(o=l[0]=l[0].slice(0)).length&&"ID"===(a=o[0]).type&&y.getById&&9===t.nodeType&&q&&k.relative[o[1].type]){if(!(t=(k.find.ID(a.matches[0].replace(be,we),t)||[])[0]))return n;d&&(t=t.parentNode),e=e.slice(o.shift().value.length)}for(i=he.needsContext.test(e)?0:o.length;i--&&(a=o[i],!k.relative[s=a.type]);)if((u=k.find[s])&&(r=u(a.matches[0].replace(be,we),ve.test(o[0].type)&&p(t.parentNode)||t))){if(o.splice(i,1),!(e=r.length&&g(o)))return K.apply(n,r),n;break}}return(d||A(e,l))(r,t,!q,n,!t||ve.test(e)&&p(t.parentNode)||t),n},y.sortStable=O.split("").sort(X).join("")===O,y.detectDuplicates=!!E,_(),y.sortDetached=i(function(e){return 1&e.compareDocumentPosition(D.createElement("div"))}),i(function(e){return e.innerHTML="<a href='#'></a>","#"===e.firstChild.getAttribute("href")})||t("type|href|height|width",function(e,t,n){if(!n)return e.getAttribute(t,"type"===t.toLowerCase()?1:2)}),y.attributes&&i(function(e){return e.innerHTML="<input/>",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")})||t("value",function(e,t,n){if(!n&&"input"===e.nodeName.toLowerCase())return e.defaultValue}),i(function(e){return null==e.getAttribute("disabled")})||t(te,function(e,t,n){var r;if(!n)return!0===e[t]?t.toLowerCase():(r=e.getAttributeNode(t))&&r.specified?r.value:null}),b}(N);he.find=ve,he.expr=ve.selectors,he.expr[":"]=he.expr.pseudos,he.uniqueSort=he.unique=ve.uniqueSort,he.text=ve.getText,he.isXMLDoc=ve.isXML,he.contains=ve.contains;var xe=function(e,t,n){for(var r=[],i=n!==undefined;(e=e[t])&&9!==e.nodeType;)if(1===e.nodeType){if(i&&he(e).is(n))break;r.push(e)}return r},be=function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n},we=he.expr.match.needsContext,ke=/^<([\w-]+)\s*\/?>(?:<\/\1>|)$/,Ne=/^.[^:#\[\.,]*$/;he.filter=function(e,t,n){var r=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===r.nodeType?he.find.matchesSelector(r,e)?[r]:[]:he.find.matches(e,he.grep(t,function(e){return 1===e.nodeType}))},he.fn.extend({find:function(e){var t,n=[],r=this,i=r.length;if("string"!=typeof e)return this.pushStack(he(e).filter(function(){for(t=0;t<i;t++)if(he.contains(r[t],this))return!0}));for(t=0;t<i;t++)he.find(e,r[t],n);return(n=this.pushStack(1<i?he.unique(n):n)).selector=this.selector?this.selector+" "+e:e,n},filter:function(e){return this.pushStack(t(this,e||[],!1))},not:function(e){return this.pushStack(t(this,e||[],!0))},is:function(e){return!!t(this,"string"==typeof e&&we.test(e)?he(e):e||[],!1).length}});var je,Te=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/;(he.fn.init=function(e,t,n){var r,i;if(!e)return this;if(n=n||je,"string"==typeof e){if(!(r="<"===e.charAt(0)&&">"===e.charAt(e.length-1)&&3<=e.length?[null,e,null]:Te.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 he?t[0]:t,he.merge(this,he.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:re,!0)),ke.test(r[1])&&he.isPlainObject(t))for(r in t)he.isFunction(this[r])?this[r](t[r]):this.attr(r,t[r]);return this}if((i=re.getElementById(r[2]))&&i.parentNode){if(i.id!==r[2])return je.find(e);this.length=1,this[0]=i}return this.context=re,this.selector=e,this}return e.nodeType?(this.context=this[0]=e,this.length=1,this):he.isFunction(e)?"undefined"!=typeof n.ready?n.ready(e):e(he):(e.selector!==undefined&&(this.selector=e.selector,this.context=e.context),he.makeArray(e,this))}).prototype=he.fn,je=he(re);var Ae=/^(?:parents|prev(?:Until|All))/,Ce={children:!0,contents:!0,next:!0,prev:!0};he.fn.extend({has:function(e){var t,n=he(e,this),r=n.length;return this.filter(function(){for(t=0;t<r;t++)if(he.contains(this,n[t]))return!0})},closest:function(e,t){for(var n,r=0,i=this.length,o=[],a=we.test(e)||"string"!=typeof e?he(e,t||this.context):0;r<i;r++)for(n=this[r];n&&n!==t;n=n.parentNode)if(n.nodeType<11&&(a?-1<a.index(n):1===n.nodeType&&he.find.matchesSelector(n,e))){o.push(n);break}return this.pushStack(1<o.length?he.uniqueSort(o):o)},index:function(e){return e?"string"==typeof e?he.inArray(this[0],he(e)):he.inArray(e.jquery?e[0]:e,this):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(he.uniqueSort(he.merge(this.get(),he(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),he.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return xe(e,"parentNode")},parentsUntil:function(e,t,n){return xe(e,"parentNode",n)},next:function(e){return n(e,"nextSibling")},prev:function(e){return n(e,"previousSibling")},nextAll:function(e){return xe(e,"nextSibling")},prevAll:function(e){return xe(e,"previousSibling")},nextUntil:function(e,t,n){return xe(e,"nextSibling",n)},prevUntil:function(e,t,n){return xe(e,"previousSibling",n)},siblings:function(e){return be((e.parentNode||{}).firstChild,e)},children:function(e){return be(e.firstChild)},contents:function(e){return he.nodeName(e,"iframe")?e.contentDocument||e.contentWindow.document:he.merge([],e.childNodes)}},function(r,i){he.fn[r]=function(e,t){var n=he.map(this,i,e);return"Until"!==r.slice(-5)&&(t=e),t&&"string"==typeof t&&(n=he.filter(t,n)),1<this.length&&(Ce[r]||(n=he.uniqueSort(n)),Ae.test(r)&&(n=n.reverse())),this.pushStack(n)}});var Se,Fe,Ee=/\S+/g;for(Fe in he.Callbacks=function(r){r="string"==typeof r?l(r):he.extend({},r);var i,e,t,n,o=[],a=[],s=-1,u=function(){for(n=r.once,t=i=!0;a.length;s=-1)for(e=a.shift();++s<o.length;)!1===o[s].apply(e[0],e[1])&&r.stopOnFalse&&(s=o.length,e=!1);r.memory||(e=!1),i=!1,n&&(o=e?[]:"")},d={add:function(){return o&&(e&&!i&&(s=o.length-1,a.push(e)),function n(e){he.each(e,function(e,t){he.isFunction(t)?r.unique&&d.has(t)||o.push(t):t&&t.length&&"string"!==he.type(t)&&n(t)})}(arguments),e&&!i&&u()),this},remove:function(){return he.each(arguments,function(e,t){for(var n;-1<(n=he.inArray(t,o,n));)o.splice(n,1),n<=s&&s--}),this},has:function(e){return e?-1<he.inArray(e,o):0<o.length},empty:function(){return o&&(o=[]),this},disable:function(){return n=a=[],o=e="",this},disabled:function(){return!o},lock:function(){return n=!0,e||d.disable(),this},locked:function(){return!!n},fireWith:function(e,t){return n||(t=[e,(t=t||[]).slice?t.slice():t],a.push(t),i||u()),this},fire:function(){return d.fireWith(this,arguments),this},fired:function(){return!!t}};return d},he.extend({Deferred:function(e){var o=[["resolve","done",he.Callbacks("once memory"),"resolved"],["reject","fail",he.Callbacks("once memory"),"rejected"],["notify","progress",he.Callbacks("memory")]],i="pending",a={state:function(){return i},always:function(){return s.done(arguments).fail(arguments),this},then:function(){var i=arguments;return he.Deferred(function(r){he.each(o,function(e,t){var n=he.isFunction(i[e])&&i[e];s[t[1]](function(){var e=n&&n.apply(this,arguments);e&&he.isFunction(e.promise)?e.promise().progress(r.notify).done(r.resolve).fail(r.reject):r[t[0]+"With"](this===a?r.promise():this,n?[e]:arguments)})}),i=null}).promise()},promise:function(e){return null!=e?he.extend(e,a):a}},s={};return a.pipe=a.then,he.each(o,function(e,t){var n=t[2],r=t[3];a[t[1]]=n.add,r&&n.add(function(){i=r},o[1^e][2].disable,o[2][2].lock),s[t[0]]=function(){return s[t[0]+"With"](this===s?a:this,arguments),this},s[t[0]+"With"]=n.fireWith}),a.promise(s),e&&e.call(s,s),s},when:function(e){var i,t,n,r=0,o=ie.call(arguments),a=o.length,s=1!==a||e&&he.isFunction(e.promise)?a:0,u=1===s?e:he.Deferred(),d=function(t,n,r){return function(e){n[t]=this,r[t]=1<arguments.length?ie.call(arguments):e,r===i?u.notifyWith(n,r):--s||u.resolveWith(n,r)}};if(1<a)for(i=new Array(a),t=new Array(a),n=new Array(a);r<a;r++)o[r]&&he.isFunction(o[r].promise)?o[r].promise().progress(d(r,t,i)).done(d(r,n,o)).fail(u.reject):--s;return s||u.resolveWith(n,o),u.promise()}}),he.fn.ready=function(e){return he.ready.promise().done(e),this},he.extend({isReady:!1,readyWait:1,holdReady:function(e){e?he.readyWait++:he.ready(!0)},ready:function(e){(!0===e?--he.readyWait:he.isReady)||(he.isReady=!0)!==e&&0<--he.readyWait||(Se.resolveWith(re,[he]),he.fn.triggerHandler&&(he(re).triggerHandler("ready"),he(re).off("ready")))}}),he.ready.promise=function(t){if(!Se)if(Se=he.Deferred(),"complete"===re.readyState||"loading"!==re.readyState&&!re.documentElement.doScroll)N.setTimeout(he.ready);else if(re.addEventListener)re.addEventListener("DOMContentLoaded",o),N.addEventListener("load",o);else{re.attachEvent("onreadystatechange",o),N.attachEvent("onload",o);var n=!1;try{n=null==N.frameElement&&re.documentElement}catch(r){}n&&n.doScroll&&function e(){if(!he.isReady){try{n.doScroll("left")}catch(r){return N.setTimeout(e,50)}i(),he.ready()}}()}return Se.promise(t)},he.ready.promise(),he(ce))break;ce.ownFirst="0"===Fe,ce.inlineBlockNeedsLayout=!1,he(function(){var e,t,n,r;(n=re.getElementsByTagName("body")[0])&&n.style&&(t=re.createElement("div"),(r=re.createElement("div")).style.cssText="position:absolute;border:0;width:0;height:0;top:0;left:-9999px",n.appendChild(r).appendChild(t),"undefined"!=typeof t.style.zoom&&(t.style.cssText="display:inline;margin:0;border:0;padding:1px;width:1px;zoom:1",ce.inlineBlockNeedsLayout=e=3===t.offsetWidth,e&&(n.style.zoom=1)),n.removeChild(r))}),function(){var e=re.createElement("div");ce.deleteExpando=!0;try{delete e.test}catch(t){ce.deleteExpando=!1}e=null}();var _e,De=function(e){var t=he.noData[(e.nodeName+" ").toLowerCase()],n=+e.nodeType||1;return(1===n||9===n)&&(!t||!0!==t&&e.getAttribute("classid")===t)},Le=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,qe=/([A-Z])/g;he.extend({cache:{},noData:{"applet ":!0,"embed ":!0,"object ":"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"},hasData:function(e){return!!(e=e.nodeType?he.cache[e[he.expando]]:e[he.expando])&&!d(e)},data:function(e,t,n){return r(e,t,n)},removeData:function(e,t){return a(e,t)},_data:function(e,t,n){return r(e,t,n,!0)},_removeData:function(e,t){return a(e,t,!0)}}),he.fn.extend({data:function(e,t){var n,r,i,o=this[0],a=o&&o.attributes;if(e===undefined){if(this.length&&(i=he.data(o),1===o.nodeType&&!he._data(o,"parsedAttrs"))){for(n=a.length;n--;)a[n]&&0===(r=a[n].name).indexOf("data-")&&u(o,r=he.camelCase(r.slice(5)),i[r]);he._data(o,"parsedAttrs",!0)}return i}return"object"==typeof e?this.each(function(){he.data(this,e)}):1<arguments.length?this.each(function(){he.data(this,e,t)}):o?u(o,e,he.data(o,e)):undefined},removeData:function(e){return this.each(function(){he.removeData(this,e)})}}),he.extend({queue:function(e,t,n){var r;if(e)return t=(t||"fx")+"queue",r=he._data(e,t),n&&(!r||he.isArray(n)?r=he._data(e,t,he.makeArray(n)):r.push(n)),r||[]},dequeue:function(e,t){t=t||"fx";var n=he.queue(e,t),r=n.length,i=n.shift(),o=he._queueHooks(e,t),a=function(){he.dequeue(e,t)};"inprogress"===i&&(i=n.shift(),r--),i&&("fx"===t&&n.unshift("inprogress"),delete o.stop,i.call(e,a,o)),!r&&o&&o.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return he._data(e,n)||he._data(e,n,{empty:he.Callbacks("once memory").add(function(){he._removeData(e,t+"queue"),he._removeData(e,n)})})}}),he.fn.extend({queue:function(t,n){var e=2;return"string"!=typeof t&&(n=t,t="fx",e--),arguments.length<e?he.queue(this[0],t):n===undefined?this:this.each(function(){var e=he.queue(this,t,n);he._queueHooks(this,t),"fx"===t&&"inprogress"!==e[0]&&he.dequeue(this,t)})},dequeue:function(e){return this.each(function(){he.dequeue(this,e)})},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){var n,r=1,i=he.Deferred(),o=this,a=this.length,s=function(){--r||i.resolveWith(o,[o])};for("string"!=typeof e&&(t=e,e=undefined),e=e||"fx";a--;)(n=he._data(o[a],e+"queueHooks"))&&n.empty&&(r++,n.empty.add(s));return s(),i.promise(t)}}),ce.shrinkWrapBlocks=function(){return null!=_e?_e:(_e=!1,(t=re.getElementsByTagName("body")[0])&&t.style?(e=re.createElement("div"),(n=re.createElement("div")).style.cssText="position:absolute;border:0;width:0;height:0;top:0;left:-9999px",t.appendChild(n).appendChild(e),"undefined"!=typeof e.style.zoom&&(e.style.cssText="-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;display:block;margin:0;border:0;padding:1px;width:1px;zoom:1",e.appendChild(re.createElement("div")).style.width="5px",_e=3!==e.offsetWidth),t.removeChild(n),_e):void 0);var e,t,n};var He,Me,Ie,Re=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,Oe=new RegExp("^(?:([+-])=|)("+Re+")([a-z%]*)$","i"),$e=["Top","Right","Bottom","Left"],Pe=function(e,t){return e=t||e,"none"===he.css(e,"display")||!he.contains(e.ownerDocument,e)},ze=function(e,t,n,r,i,o,a){var s=0,u=e.length,d=null==n;if("object"===he.type(n))for(s in i=!0,n)ze(e,t,s,n[s],!0,o,a);else if(r!==undefined&&(i=!0,he.isFunction(r)||(a=!0),d&&(a?(t.call(e,r),t=null):(d=t,t=function(e,t,n){return d.call(he(e),n)})),t))for(;s<u;s++)t(e[s],n,a?r:r.call(e[s],s,t(e[s],n)));return i?e:d?t.call(e):u?t(e[0],n):o},Qe=/^(?:checkbox|radio)$/i,Be=/<([\w:-]+)/,We=/^$|\/(?:java|ecma)script/i,Xe=/^\s+/,Ve="abbr|article|aside|audio|bdi|canvas|data|datalist|details|dialog|figcaption|figure|footer|header|hgroup|main|mark|meter|nav|output|picture|progress|section|summary|template|time|video";He=re.createElement("div"),Me=re.createDocumentFragment(),Ie=re.createElement("input"),He.innerHTML=" <link/><table></table><a href='/a'>a</a><input type='checkbox'/>",ce.leadingWhitespace=3===He.firstChild.nodeType,ce.tbody=!He.getElementsByTagName("tbody").length,ce.htmlSerialize=!!He.getElementsByTagName("link").length,ce.html5Clone="<:nav></:nav>"!==re.createElement("nav").cloneNode(!0).outerHTML,Ie.type="checkbox",Ie.checked=!0,Me.appendChild(Ie),ce.appendChecked=Ie.checked,He.innerHTML="<textarea>x</textarea>",ce.noCloneChecked=!!He.cloneNode(!0).lastChild.defaultValue,Me.appendChild(He),(Ie=re.createElement("input")).setAttribute("type","radio"),Ie.setAttribute("checked","checked"),Ie.setAttribute("name","t"),He.appendChild(Ie),ce.checkClone=He.cloneNode(!0).cloneNode(!0).lastChild.checked,ce.noCloneEvent=!!He.addEventListener,He[he.expando]=1,ce.attributes=!He.getAttribute(he.expando);var Ue={option:[1,"<select multiple='multiple'>","</select>"],legend:[1,"<fieldset>","</fieldset>"],area:[1,"<map>","</map>"],param:[1,"<object>","</object>"],thead:[1,"<table>","</table>"],tr:[2,"<table><tbody>","</tbody></table>"],col:[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:ce.htmlSerialize?[0,"",""]:[1,"X<div>","</div>"]};Ue.optgroup=Ue.option,Ue.tbody=Ue.tfoot=Ue.colgroup=Ue.caption=Ue.thead,Ue.th=Ue.td;var Ye=/<|&#?\w+;/,Je=/<tbody/i;!function(){var e,t,n=re.createElement("div");for(e in{submit:!0,change:!0,focusin:!0})t="on"+e,(ce[e]=t in N)||(n.setAttribute(t,"t"),ce[e]=!1===n.attributes[t].expando);n=null}();var Ge=/^(?:input|select|textarea)$/i,Ke=/^key/,Ze=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,et=/^(?:focusinfocus|focusoutblur)$/,tt=/^([^.]*)(?:\.(.+)|)/;he.event={global:{},add:function(e,t,n,r,i){var o,a,s,u,d,l,c,f,h,m,p,g=he._data(e);if(g){for(n.handler&&(n=(u=n).handler,i=u.selector),n.guid||(n.guid=he.guid++),(a=g.events)||(a=g.events={}),(l=g.handle)||((l=g.handle=function(e){return void 0===he||e&&he.event.triggered===e.type?undefined:he.event.dispatch.apply(l.elem,arguments)}).elem=e),s=(t=(t||"").match(Ee)||[""]).length;s--;)h=p=(o=tt.exec(t[s])||[])[1],m=(o[2]||"").split(".").sort(),h&&(d=he.event.special[h]||{},h=(i?d.delegateType:d.bindType)||h,d=he.event.special[h]||{},c=he.extend({type:h,origType:p,data:r,handler:n,guid:n.guid,selector:i,needsContext:i&&he.expr.match.needsContext.test(i),namespace:m.join(".")},u),(f=a[h])||((f=a[h]=[]).delegateCount=0,d.setup&&!1!==d.setup.call(e,r,m,l)||(e.addEventListener?e.addEventListener(h,l,!1):e.attachEvent&&e.attachEvent("on"+h,l))),d.add&&(d.add.call(e,c),c.handler.guid||(c.handler.guid=n.guid)),i?f.splice(f.delegateCount++,0,c):f.push(c),he.event.global[h]=!0);e=null}},remove:function(e,t,n,r,i){var o,a,s,u,d,l,c,f,h,m,p,g=he.hasData(e)&&he._data(e);if(g&&(l=g.events)){for(d=(t=(t||"").match(Ee)||[""]).length;d--;)if(h=p=(s=tt.exec(t[d])||[])[1],m=(s[2]||"").split(".").sort(),h){for(c=he.event.special[h]||{},f=l[h=(r?c.delegateType:c.bindType)||h]||[],s=s[2]&&new RegExp("(^|\\.)"+m.join("\\.(?:.*\\.|)")+"(\\.|$)"),u=o=f.length;o--;)a=f[o],!i&&p!==a.origType||n&&n.guid!==a.guid||s&&!s.test(a.namespace)||r&&r!==a.selector&&("**"!==r||!a.selector)||(f.splice(o,1),a.selector&&f.delegateCount--,c.remove&&c.remove.call(e,a));u&&!f.length&&(c.teardown&&!1!==c.teardown.call(e,m,g.handle)||he.removeEvent(e,h,g.handle),delete l[h])}else for(h in l)he.event.remove(e,h+t[d],n,r,!0);he.isEmptyObject(l)&&(delete g.handle,he._removeData(e,"events"))}},trigger:function(e,t,n,r){var i,o,a,s,u,d,l,c=[n||re],f=le.call(e,"type")?e.type:e,h=le.call(e,"namespace")?e.namespace.split("."):[];if(a=d=n=n||re,3!==n.nodeType&&8!==n.nodeType&&!et.test(f+he.event.triggered)&&(-1<f.indexOf(".")&&(f=(h=f.split(".")).shift(),h.sort()),o=f.indexOf(":")<0&&"on"+f,(e=e[he.expando]?e:new he.Event(f,"object"==typeof e&&e)).isTrigger=r?2:3,e.namespace=h.join("."),e.rnamespace=e.namespace?new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=undefined,e.target||(e.target=n),t=null==t?[e]:he.makeArray(t,[e]),u=he.event.special[f]||{},r||!u.trigger||!1!==u.trigger.apply(n,t))){if(!r&&!u.noBubble&&!he.isWindow(n)){for(s=u.delegateType||f,et.test(s+f)||(a=a.parentNode);a;a=a.parentNode)c.push(a),d=a;d===(n.ownerDocument||re)&&c.push(d.defaultView||d.parentWindow||N)}for(l=0;(a=c[l++])&&!e.isPropagationStopped();)e.type=1<l?s:u.bindType||f,(i=(he._data(a,"events")||{})[e.type]&&he._data(a,"handle"))&&i.apply(a,t),(i=o&&a[o])&&i.apply&&De(a)&&(e.result=i.apply(a,t),!1===e.result&&e.preventDefault());if(e.type=f,!r&&!e.isDefaultPrevented()&&(!u._default||!1===u._default.apply(c.pop(),t))&&De(n)&&o&&n[f]&&!he.isWindow(n)){(d=n[o])&&(n[o]=null),he.event.triggered=f;try{n[f]()}catch(m){}he.event.triggered=undefined,d&&(n[o]=d)}return e.result}},dispatch:function(e){e=he.event.fix(e);var t,n,r,i,o,a=[],s=ie.call(arguments),u=(he._data(this,"events")||{})[e.type]||[],d=he.event.special[e.type]||{};if((s[0]=e).delegateTarget=this,!d.preDispatch||!1!==d.preDispatch.call(this,e)){for(a=he.event.handlers.call(this,e,u),t=0;(i=a[t++])&&!e.isPropagationStopped();)for(e.currentTarget=i.elem,n=0;(o=i.handlers[n++])&&!e.isImmediatePropagationStopped();)e.rnamespace&&!e.rnamespace.test(o.namespace)||(e.handleObj=o,e.data=o.data,(r=((he.event.special[o.origType]||{}).handle||o.handler).apply(i.elem,s))!==undefined&&!1===(e.result=r)&&(e.preventDefault(),e.stopPropagation()));return d.postDispatch&&d.postDispatch.call(this,e),e.result}},handlers:function(e,t){var n,r,i,o,a=[],s=t.delegateCount,u=e.target;if(s&&u.nodeType&&("click"!==e.type||isNaN(e.button)||e.button<1))for(;u!=this;u=u.parentNode||this)if(1===u.nodeType&&(!0!==u.disabled||"click"!==e.type)){for(r=[],n=0;n<s;n++)r[i=(o=t[n]).selector+" "]===undefined&&(r[i]=o.needsContext?-1<he(i,this).index(u):he.find(i,this,null,[u]).length),r[i]&&r.push(o);r.length&&a.push({elem:u,handlers:r})}return s<t.length&&a.push({elem:this,handlers:t.slice(s)}),a},fix:function(e){if(e[he.expando])return e;var t,n,r,i=e.type,o=e,a=this.fixHooks[i];for(a||(this.fixHooks[i]=a=Ze.test(i)?this.mouseHooks:Ke.test(i)?this.keyHooks:{}),r=a.props?this.props.concat(a.props):this.props,e=new he.Event(o),t=r.length;t--;)e[n=r[t]]=o[n];return e.target||(e.target=o.srcElement||re),3===e.target.nodeType&&(e.target=e.target.parentNode),e.metaKey=!!e.metaKey,a.filter?a.filter(e,o):e},props:"altKey bubbles cancelable ctrlKey currentTarget detail eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "),fixHooks:{},keyHooks:{props:"char charCode key keyCode".split(" "),filter:function(e,t){return null==e.which&&(e.which=null!=t.charCode?t.charCode:t.keyCode),e}},mouseHooks:{props:"button buttons clientX clientY fromElement offsetX offsetY pageX pageY screenX screenY toElement".split(" "),filter:function(e,t){var n,r,i,o=t.button,a=t.fromElement;return null==e.pageX&&null!=t.clientX&&(i=(r=e.target.ownerDocument||re).documentElement,n=r.body,e.pageX=t.clientX+(i&&i.scrollLeft||n&&n.scrollLeft||0)-(i&&i.clientLeft||n&&n.clientLeft||0),e.pageY=t.clientY+(i&&i.scrollTop||n&&n.scrollTop||0)-(i&&i.clientTop||n&&n.clientTop||0)),!e.relatedTarget&&a&&(e.relatedTarget=a===e.target?t.toElement:a),e.which||o===undefined||(e.which=1&o?1:2&o?3:4&o?2:0),e}},special:{load:{noBubble:!0},focus:{trigger:function(){if(this!==m()&&this.focus)try{return this.focus(),!1}catch(e){}},delegateType:"focusin"},blur:{trigger:function(){if(this===m()&&this.blur)return this.blur(),!1},delegateType:"focusout"},click:{trigger:function(){if(he.nodeName(this,"input")&&"checkbox"===this.type&&this.click)return this.click(),!1},_default:function(e){return he.nodeName(e.target,"a")}},beforeunload:{postDispatch:function(e){e.result!==undefined&&e.originalEvent&&(e.originalEvent.returnValue=e.result)}}},simulate:function(e,t,n){var r=he.extend(new he.Event,n,{type:e,isSimulated:!0});he.event.trigger(r,null,t),r.isDefaultPrevented()&&n.preventDefault()}},he.removeEvent=re.removeEventListener?function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n)}:function(e,t,n){var r="on"+t;e.detachEvent&&("undefined"==typeof e[r]&&(e[r]=null),e.detachEvent(r,n))},he.Event=function(e,t){if(!(this instanceof he.Event))return new he.Event(e,t);e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||e.defaultPrevented===undefined&&!1===e.returnValue?f:h):this.type=e,t&&he.extend(this,t),this.timeStamp=e&&e.timeStamp||he.now(),this[he.expando]=!0},he.Event.prototype={constructor:he.Event,isDefaultPrevented:h,isPropagationStopped:h,isImmediatePropagationStopped:h,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=f,e&&(e.preventDefault?e.preventDefault():e.returnValue=!1)},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=f,e&&!this.isSimulated&&(e.stopPropagation&&e.stopPropagation(),e.cancelBubble=!0)},stopImmediatePropagation:function(){var e=this.originalEvent;this.isImmediatePropagationStopped=f,e&&e.stopImmediatePropagation&&e.stopImmediatePropagation(),this.stopPropagation()}},he.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(e,o){he.event.special[e]={delegateType:o,bindType:o,handle:function(e){var t,n=this,r=e.relatedTarget,i=e.handleObj;return r&&(r===n||he.contains(n,r))||(e.type=i.origType,t=i.handler.apply(this,arguments),e.type=o),t}}}),ce.submit||(he.event.special.submit={setup:function(){if(he.nodeName(this,"form"))return!1;he.event.add(this,"click._submit keypress._submit",function(e){var t=e.target,n=he.nodeName(t,"input")||he.nodeName(t,"button")?he.prop(t,"form"):undefined;n&&!he._data(n,"submit")&&(he.event.add(n,"submit._submit",function(e){e._submitBubble=!0}),he._data(n,"submit",!0))})},postDispatch:function(e){e._submitBubble&&(delete e._submitBubble,this.parentNode&&!e.isTrigger&&he.event.simulate("submit",this.parentNode,e))},teardown:function(){if(he.nodeName(this,"form"))return!1;he.event.remove(this,"._submit")}}),ce.change||(he.event.special.change={setup:function(){if(Ge.test(this.nodeName))return"checkbox"!==this.type&&"radio"!==this.type||(he.event.add(this,"propertychange._change",function(e){"checked"===e.originalEvent.propertyName&&(this._justChanged=!0)}),he.event.add(this,"click._change",function(e){this._justChanged&&!e.isTrigger&&(this._justChanged=!1),he.event.simulate("change",this,e)})),!1;he.event.add(this,"beforeactivate._change",function(e){var t=e.target;Ge.test(t.nodeName)&&!he._data(t,"change")&&(he.event.add(t,"change._change",function(e){!this.parentNode||e.isSimulated||e.isTrigger||he.event.simulate("change",this.parentNode,e)}),he._data(t,"change",!0))})},handle:function(e){var t=e.target;if(this!==t||e.isSimulated||e.isTrigger||"radio"!==t.type&&"checkbox"!==t.type)return e.handleObj.handler.apply(this,arguments)},teardown:function(){return he.event.remove(this,"._change"),!Ge.test(this.nodeName)}}),ce.focusin||he.each({focus:"focusin",blur:"focusout"},function(n,r){var i=function(e){he.event.simulate(r,e.target,he.event.fix(e))};he.event.special[r]={setup:function(){var e=this.ownerDocument||this,t=he._data(e,r);t||e.addEventListener(n,i,!0),he._data(e,r,(t||0)+1)},teardown:function(){var e=this.ownerDocument||this,t=he._data(e,r)-1;t?he._data(e,r,t):(e.removeEventListener(n,i,!0),he._removeData(e,r))}}}),he.fn.extend({on:function(e,t,n,r){return b(this,e,t,n,r)},one:function(e,t,n,r){return b(this,e,t,n,r,1)},off:function(e,t,n){var r,i;if(e&&e.preventDefault&&e.handleObj)return r=e.handleObj,he(e.delegateTarget).off(r.namespace?r.origType+"."+r.namespace:r.origType,r.selector,r.handler),this;if("object"==typeof e){for(i in e)this.off(i,t,e[i]);return this}return!1!==t&&"function"!=typeof t||(n=t,t=undefined),!1===n&&(n=h),this.each(function(){he.event.remove(this,e,n,t)})},trigger:function(e,t){return this.each(function(){he.event.trigger(e,t,this)})},triggerHandler:function(e,t){var n=this[0];if(n)return he.event.trigger(e,t,n,!0)}});var nt=/ jQuery\d+="(?:null|\d+)"/g,rt=new RegExp("<(?:"+Ve+")[\\s/>]","i"),it=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:-]+)[^>]*)\/>/gi,ot=/<script|<style|<link/i,at=/checked\s*(?:[^=]|=\s*.checked.)/i,st=/^true\/(.*)/,ut=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g,dt=g(re).appendChild(re.createElement("div"));he.extend({htmlPrefilter:function(e){return e.replace(it,"<$1></$2>")},clone:function(e,t,n){var r,i,o,a,s,u=he.contains(e.ownerDocument,e);if(ce.html5Clone||he.isXMLDoc(e)||!rt.test("<"+e.nodeName+">")?o=e.cloneNode(!0):(dt.innerHTML=e.outerHTML,dt.removeChild(o=dt.firstChild)),!(ce.noCloneEvent&&ce.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||he.isXMLDoc(e)))for(r=y(o),s=y(e),a=0;null!=(i=s[a]);++a)r[a]&&A(i,r[a]);if(t)if(n)for(s=s||y(e),r=r||y(o),a=0;null!=(i=s[a]);a++)T(i,r[a]);else T(e,o);return 0<(r=y(o,"script")).length&&v(r,!u&&y(e,"script")),r=s=i=null,o},cleanData:function(e,t){for(var n,r,i,o,a=0,s=he.expando,u=he.cache,d=ce.attributes,l=he.event.special;null!=(n=e[a]);a++)if((t||De(n))&&(o=(i=n[s])&&u[i])){if(o.events)for(r in o.events)l[r]?he.event.remove(n,r):he.removeEvent(n,r,o.handle);u[i]&&(delete u[i],d||"undefined"==typeof n.removeAttribute?n[s]=undefined:n.removeAttribute(s),ne.push(i))}}}),he.fn.extend({domManip:C,detach:function(e){return S(this,e,!0)},remove:function(e){return S(this,e)},text:function(e){return ze(this,function(e){return e===undefined?he.text(this):this.empty().append((this[0]&&this[0].ownerDocument||re).createTextNode(e))},null,e,arguments.length)},append:function(){return C(this,arguments,function(e){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||w(this,e).appendChild(e)})},prepend:function(){return C(this,arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=w(this,e);t.insertBefore(e,t.firstChild)}})},before:function(){return C(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return C(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)})},empty:function(){for(var e,t=0;null!=(e=this[t]);t++){for(1===e.nodeType&&he.cleanData(y(e,!1));e.firstChild;)e.removeChild(e.firstChild);e.options&&he.nodeName(e,"select")&&(e.options.length=0)}return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map(function(){return he.clone(this,e,t)})},html:function(e){return ze(this,function(e){var t=this[0]||{},n=0,r=this.length;if(e===undefined)return 1===t.nodeType?t.innerHTML.replace(nt,""):undefined;if("string"==typeof e&&!ot.test(e)&&(ce.htmlSerialize||!rt.test(e))&&(ce.leadingWhitespace||!Xe.test(e))&&!Ue[(Be.exec(e)||["",""])[1].toLowerCase()]){e=he.htmlPrefilter(e);try{for(;n<r;n++)1===(t=this[n]||{}).nodeType&&(he.cleanData(y(t,!1)),t.innerHTML=e);t=0}catch(i){}}t&&this.empty().append(e)},null,e,arguments.length)},replaceWith:function(){var n=[];return C(this,arguments,function(e){var t=this.parentNode;he.inArray(this,n)<0&&(he.cleanData(y(this)),t&&t.replaceChild(e,this))},n)}}),he.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,a){he.fn[e]=function(e){for(var t,n=0,r=[],i=he(e),o=i.length-1;n<=o;n++)t=n===o?this:this.clone(!0),he(i[n])[a](t),ae.apply(r,t.get());return this.pushStack(r)}});var lt,ct={HTML:"block",BODY:"block"},ft=/^margin/,ht=new RegExp("^("+Re+")(?!px)[a-z%]+$","i"),mt=function(e,t,n,r){var i,o,a={};for(o in t)a[o]=e.style[o],e.style[o]=t[o];for(o in i=n.apply(e,r||[]),t)e.style[o]=a[o];return i},pt=re.documentElement;!function(){function e(){var e,t,n=re.documentElement;n.appendChild(d),l.style.cssText="-webkit-box-sizing:border-box;box-sizing:border-box;position:relative;display:block;margin:auto;border:1px;padding:1px;top:1%;width:50%",r=o=u=!1,i=s=!0,N.getComputedStyle&&(t=N.getComputedStyle(l),r="1%"!==(t||{}).top,u="2px"===(t||{}).marginLeft,
|
|
o="4px"===(t||{width:"4px"}).width,l.style.marginRight="50%",i="4px"===(t||{marginRight:"4px"}).marginRight,(e=l.appendChild(re.createElement("div"))).style.cssText=l.style.cssText="-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;display:block;margin:0;border:0;padding:0",e.style.marginRight=e.style.width="0",l.style.width="1px",s=!parseFloat((N.getComputedStyle(e)||{}).marginRight),l.removeChild(e)),l.style.display="none",(a=0===l.getClientRects().length)&&(l.style.display="",l.innerHTML="<table><tr><td></td><td>t</td></tr></table>",l.childNodes[0].style.borderCollapse="separate",(e=l.getElementsByTagName("td"))[0].style.cssText="margin:0;border:0;padding:0;display:none",(a=0===e[0].offsetHeight)&&(e[0].style.display="",e[1].style.display="none",a=0===e[0].offsetHeight)),n.removeChild(d)}var r,i,o,a,s,u,d=re.createElement("div"),l=re.createElement("div");l.style&&(l.style.cssText="float:left;opacity:.5",ce.opacity="0.5"===l.style.opacity,ce.cssFloat=!!l.style.cssFloat,l.style.backgroundClip="content-box",l.cloneNode(!0).style.backgroundClip="",ce.clearCloneStyle="content-box"===l.style.backgroundClip,(d=re.createElement("div")).style.cssText="border:0;width:8px;height:0;top:0;left:-9999px;padding:0;margin-top:1px;position:absolute",l.innerHTML="",d.appendChild(l),ce.boxSizing=""===l.style.boxSizing||""===l.style.MozBoxSizing||""===l.style.WebkitBoxSizing,he.extend(ce,{reliableHiddenOffsets:function(){return null==r&&e(),a},boxSizingReliable:function(){return null==r&&e(),o},pixelMarginRight:function(){return null==r&&e(),i},pixelPosition:function(){return null==r&&e(),r},reliableMarginRight:function(){return null==r&&e(),s},reliableMarginLeft:function(){return null==r&&e(),u}}))}();var gt,yt,vt=/^(top|right|bottom|left)$/;N.getComputedStyle?(gt=function(e){var t=e.ownerDocument.defaultView;return t&&t.opener||(t=N),t.getComputedStyle(e)},yt=function(e,t,n){var r,i,o,a,s=e.style;return""!==(a=(n=n||gt(e))?n.getPropertyValue(t)||n[t]:undefined)&&a!==undefined||he.contains(e.ownerDocument,e)||(a=he.style(e,t)),n&&!ce.pixelMarginRight()&&ht.test(a)&&ft.test(t)&&(r=s.width,i=s.minWidth,o=s.maxWidth,s.minWidth=s.maxWidth=s.width=a,a=n.width,s.width=r,s.minWidth=i,s.maxWidth=o),a===undefined?a:a+""}):pt.currentStyle&&(gt=function(e){return e.currentStyle},yt=function(e,t,n){var r,i,o,a,s=e.style;return null==(a=(n=n||gt(e))?n[t]:undefined)&&s&&s[t]&&(a=s[t]),ht.test(a)&&!vt.test(t)&&(r=s.left,(o=(i=e.runtimeStyle)&&i.left)&&(i.left=e.currentStyle.left),s.left="fontSize"===t?"1em":a,a=s.pixelLeft+"px",s.left=r,o&&(i.left=o)),a===undefined?a:a+""||"auto"});var xt=/alpha\([^)]*\)/i,bt=/opacity\s*=\s*([^)]*)/i,wt=/^(none|table(?!-c[ea]).+)/,kt=new RegExp("^("+Re+")(.*)$","i"),Nt={position:"absolute",visibility:"hidden",display:"block"},jt={letterSpacing:"0",fontWeight:"400"},Tt=["Webkit","O","Moz","ms"],At=re.createElement("div").style;he.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=yt(e,"opacity");return""===n?"1":n}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{"float":ce.cssFloat?"cssFloat":"styleFloat"},style:function(e,t,n,r){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var i,o,a,s=he.camelCase(t),u=e.style;if(t=he.cssProps[s]||(he.cssProps[s]=D(s)||s),a=he.cssHooks[t]||he.cssHooks[s],n===undefined)return a&&"get"in a&&(i=a.get(e,!1,r))!==undefined?i:u[t];if("string"===(o=typeof n)&&(i=Oe.exec(n))&&i[1]&&(n=c(e,t,i),o="number"),null!=n&&n==n&&("number"===o&&(n+=i&&i[3]||(he.cssNumber[s]?"":"px")),ce.clearCloneStyle||""!==n||0!==t.indexOf("background")||(u[t]="inherit"),!(a&&"set"in a&&(n=a.set(e,n,r))===undefined)))try{u[t]=n}catch(d){}}},css:function(e,t,n,r){var i,o,a,s=he.camelCase(t);return t=he.cssProps[s]||(he.cssProps[s]=D(s)||s),(a=he.cssHooks[t]||he.cssHooks[s])&&"get"in a&&(o=a.get(e,!0,n)),o===undefined&&(o=yt(e,t,r)),"normal"===o&&t in jt&&(o=jt[t]),""===n||n?(i=parseFloat(o),!0===n||isFinite(i)?i||0:o):o}}),he.each(["height","width"],function(e,i){he.cssHooks[i]={get:function(e,t,n){if(t)return wt.test(he.css(e,"display"))&&0===e.offsetWidth?mt(e,Nt,function(){return M(e,i,n)}):M(e,i,n)},set:function(e,t,n){var r=n&>(e);return q(e,t,n?H(e,i,n,ce.boxSizing&&"border-box"===he.css(e,"boxSizing",!1,r),r):0)}}}),ce.opacity||(he.cssHooks.opacity={get:function(e,t){return bt.test((t&&e.currentStyle?e.currentStyle.filter:e.style.filter)||"")?.01*parseFloat(RegExp.$1)+"":t?"1":""},set:function(e,t){var n=e.style,r=e.currentStyle,i=he.isNumeric(t)?"alpha(opacity="+100*t+")":"",o=r&&r.filter||n.filter||"";((n.zoom=1)<=t||""===t)&&""===he.trim(o.replace(xt,""))&&n.removeAttribute&&(n.removeAttribute("filter"),""===t||r&&!r.filter)||(n.filter=xt.test(o)?o.replace(xt,i):o+" "+i)}}),he.cssHooks.marginRight=_(ce.reliableMarginRight,function(e,t){if(t)return mt(e,{display:"inline-block"},yt,[e,"marginRight"])}),he.cssHooks.marginLeft=_(ce.reliableMarginLeft,function(e,t){if(t)return(parseFloat(yt(e,"marginLeft"))||(he.contains(e.ownerDocument,e)?e.getBoundingClientRect().left-mt(e,{marginLeft:0},function(){return e.getBoundingClientRect().left}):0))+"px"}),he.each({margin:"",padding:"",border:"Width"},function(i,o){he.cssHooks[i+o]={expand:function(e){for(var t=0,n={},r="string"==typeof e?e.split(" "):[e];t<4;t++)n[i+$e[t]+o]=r[t]||r[t-2]||r[0];return n}},ft.test(i)||(he.cssHooks[i+o].set=q)}),he.fn.extend({css:function(e,t){return ze(this,function(e,t,n){var r,i,o={},a=0;if(he.isArray(t)){for(r=gt(e),i=t.length;a<i;a++)o[t[a]]=he.css(e,t[a],!1,r);return o}return n!==undefined?he.style(e,t,n):he.css(e,t)},e,t,1<arguments.length)},show:function(){return L(this,!0)},hide:function(){return L(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each(function(){Pe(this)?he(this).show():he(this).hide()})}}),(he.Tween=I).prototype={constructor:I,init:function(e,t,n,r,i,o){this.elem=e,this.prop=n,this.easing=i||he.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=r,this.unit=o||(he.cssNumber[n]?"":"px")},cur:function(){var e=I.propHooks[this.prop];return e&&e.get?e.get(this):I.propHooks._default.get(this)},run:function(e){var t,n=I.propHooks[this.prop];return this.options.duration?this.pos=t=he.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):I.propHooks._default.set(this),this}},I.prototype.init.prototype=I.prototype,I.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=he.css(e.elem,e.prop,""))&&"auto"!==t?t:0},set:function(e){he.fx.step[e.prop]?he.fx.step[e.prop](e):1!==e.elem.nodeType||null==e.elem.style[he.cssProps[e.prop]]&&!he.cssHooks[e.prop]?e.elem[e.prop]=e.now:he.style(e.elem,e.prop,e.now+e.unit)}}},I.propHooks.scrollTop=I.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},he.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},he.fx=I.prototype.init,he.fx.step={};var Ct,St,Ft,Et,_t,Dt,Lt,qt=/^(?:toggle|show|hide)$/,Ht=/queueHooks$/;he.Animation=he.extend(Q,{tweeners:{"*":[function(e,t){var n=this.createTween(e,t);return c(n.elem,e,Oe.exec(t),n),n}]},tweener:function(e,t){he.isFunction(e)?(t=e,e=["*"]):e=e.match(Ee);for(var n,r=0,i=e.length;r<i;r++)n=e[r],Q.tweeners[n]=Q.tweeners[n]||[],Q.tweeners[n].unshift(t)},prefilters:[P],prefilter:function(e,t){t?Q.prefilters.unshift(e):Q.prefilters.push(e)}}),he.speed=function(e,t,n){var r=e&&"object"==typeof e?he.extend({},e):{complete:n||!n&&t||he.isFunction(e)&&e,duration:e,easing:n&&t||t&&!he.isFunction(t)&&t};return r.duration=he.fx.off?0:"number"==typeof r.duration?r.duration:r.duration in he.fx.speeds?he.fx.speeds[r.duration]:he.fx.speeds._default,null!=r.queue&&!0!==r.queue||(r.queue="fx"),r.old=r.complete,r.complete=function(){he.isFunction(r.old)&&r.old.call(this),r.queue&&he.dequeue(this,r.queue)},r},he.fn.extend({fadeTo:function(e,t,n,r){return this.filter(Pe).css("opacity",0).show().end().animate({opacity:t},e,n,r)},animate:function(t,e,n,r){var i=he.isEmptyObject(t),o=he.speed(e,n,r),a=function(){var e=Q(this,he.extend({},t),o);(i||he._data(this,"finish"))&&e.stop(!0)};return a.finish=a,i||!1===o.queue?this.each(a):this.queue(o.queue,a)},stop:function(i,e,o){var a=function(e){var t=e.stop;delete e.stop,t(o)};return"string"!=typeof i&&(o=e,e=i,i=undefined),e&&!1!==i&&this.queue(i||"fx",[]),this.each(function(){var e=!0,t=null!=i&&i+"queueHooks",n=he.timers,r=he._data(this);if(t)r[t]&&r[t].stop&&a(r[t]);else for(t in r)r[t]&&r[t].stop&&Ht.test(t)&&a(r[t]);for(t=n.length;t--;)n[t].elem!==this||null!=i&&n[t].queue!==i||(n[t].anim.stop(o),e=!1,n.splice(t,1));!e&&o||he.dequeue(this,i)})},finish:function(a){return!1!==a&&(a=a||"fx"),this.each(function(){var e,t=he._data(this),n=t[a+"queue"],r=t[a+"queueHooks"],i=he.timers,o=n?n.length:0;for(t.finish=!0,he.queue(this,a,[]),r&&r.stop&&r.stop.call(this,!0),e=i.length;e--;)i[e].elem===this&&i[e].queue===a&&(i[e].anim.stop(!0),i.splice(e,1));for(e=0;e<o;e++)n[e]&&n[e].finish&&n[e].finish.call(this);delete t.finish})}}),he.each(["toggle","show","hide"],function(e,r){var i=he.fn[r];he.fn[r]=function(e,t,n){return null==e||"boolean"==typeof e?i.apply(this,arguments):this.animate(O(r,!0),e,t,n)}}),he.each({slideDown:O("show"),slideUp:O("hide"),slideToggle:O("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(e,r){he.fn[e]=function(e,t,n){return this.animate(r,e,t,n)}}),he.timers=[],he.fx.tick=function(){var e,t=he.timers,n=0;for(Ct=he.now();n<t.length;n++)(e=t[n])()||t[n]!==e||t.splice(n--,1);t.length||he.fx.stop(),Ct=undefined},he.fx.timer=function(e){he.timers.push(e),e()?he.fx.start():he.timers.pop()},he.fx.interval=13,he.fx.start=function(){St||(St=N.setInterval(he.fx.tick,he.fx.interval))},he.fx.stop=function(){N.clearInterval(St),St=null},he.fx.speeds={slow:600,fast:200,_default:400},he.fn.delay=function(r,e){return r=he.fx&&he.fx.speeds[r]||r,e=e||"fx",this.queue(e,function(e,t){var n=N.setTimeout(e,r);t.stop=function(){N.clearTimeout(n)}})},Et=re.createElement("input"),_t=re.createElement("div"),Dt=re.createElement("select"),Lt=Dt.appendChild(re.createElement("option")),(_t=re.createElement("div")).setAttribute("className","t"),_t.innerHTML=" <link/><table></table><a href='/a'>a</a><input type='checkbox'/>",Ft=_t.getElementsByTagName("a")[0],Et.setAttribute("type","checkbox"),_t.appendChild(Et),(Ft=_t.getElementsByTagName("a")[0]).style.cssText="top:1px",ce.getSetAttribute="t"!==_t.className,ce.style=/top/.test(Ft.getAttribute("style")),ce.hrefNormalized="/a"===Ft.getAttribute("href"),ce.checkOn=!!Et.value,ce.optSelected=Lt.selected,ce.enctype=!!re.createElement("form").enctype,Dt.disabled=!0,ce.optDisabled=!Lt.disabled,(Et=re.createElement("input")).setAttribute("value",""),ce.input=""===Et.getAttribute("value"),Et.value="t",Et.setAttribute("type","radio"),ce.radioValue="t"===Et.value;var Mt=/\r/g,It=/[\x20\t\r\n\f]+/g;he.fn.extend({val:function(n){var r,e,i,t=this[0];return arguments.length?(i=he.isFunction(n),this.each(function(e){var t;1===this.nodeType&&(null==(t=i?n.call(this,e,he(this).val()):n)?t="":"number"==typeof t?t+="":he.isArray(t)&&(t=he.map(t,function(e){return null==e?"":e+""})),(r=he.valHooks[this.type]||he.valHooks[this.nodeName.toLowerCase()])&&"set"in r&&r.set(this,t,"value")!==undefined||(this.value=t))})):t?(r=he.valHooks[t.type]||he.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}}),he.extend({valHooks:{option:{get:function(e){var t=he.find.attr(e,"value");return null!=t?t:he.trim(he.text(e)).replace(It," ")}},select:{get:function(e){for(var t,n,r=e.options,i=e.selectedIndex,o="select-one"===e.type||i<0,a=o?null:[],s=o?i+1:r.length,u=i<0?s:o?i:0;u<s;u++)if(((n=r[u]).selected||u===i)&&(ce.optDisabled?!n.disabled:null===n.getAttribute("disabled"))&&(!n.parentNode.disabled||!he.nodeName(n.parentNode,"optgroup"))){if(t=he(n).val(),o)return t;a.push(t)}return a},set:function(e,t){for(var n,r,i=e.options,o=he.makeArray(t),a=i.length;a--;)if(r=i[a],-1<he.inArray(he.valHooks.option.get(r),o))try{r.selected=n=!0}catch(s){r.scrollHeight}else r.selected=!1;return n||(e.selectedIndex=-1),i}}}}),he.each(["radio","checkbox"],function(){he.valHooks[this]={set:function(e,t){if(he.isArray(t))return e.checked=-1<he.inArray(he(e).val(),t)}},ce.checkOn||(he.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})});var Rt,Ot,$t=he.expr.attrHandle,Pt=/^(?:checked|selected)$/i,zt=ce.getSetAttribute,Qt=ce.input;he.fn.extend({attr:function(e,t){return ze(this,he.attr,e,t,1<arguments.length)},removeAttr:function(e){return this.each(function(){he.removeAttr(this,e)})}}),he.extend({attr:function(e,t,n){var r,i,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return"undefined"==typeof e.getAttribute?he.prop(e,t,n):(1===o&&he.isXMLDoc(e)||(t=t.toLowerCase(),i=he.attrHooks[t]||(he.expr.match.bool.test(t)?Ot:Rt)),n!==undefined?null===n?void he.removeAttr(e,t):i&&"set"in i&&(r=i.set(e,n,t))!==undefined?r:(e.setAttribute(t,n+""),n):i&&"get"in i&&null!==(r=i.get(e,t))?r:null==(r=he.find.attr(e,t))?undefined:r)},attrHooks:{type:{set:function(e,t){if(!ce.radioValue&&"radio"===t&&he.nodeName(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}},removeAttr:function(e,t){var n,r,i=0,o=t&&t.match(Ee);if(o&&1===e.nodeType)for(;n=o[i++];)r=he.propFix[n]||n,he.expr.match.bool.test(n)?Qt&&zt||!Pt.test(n)?e[r]=!1:e[he.camelCase("default-"+n)]=e[r]=!1:he.attr(e,n,""),e.removeAttribute(zt?n:r)}}),Ot={set:function(e,t,n){return!1===t?he.removeAttr(e,n):Qt&&zt||!Pt.test(n)?e.setAttribute(!zt&&he.propFix[n]||n,n):e[he.camelCase("default-"+n)]=e[n]=!0,n}},he.each(he.expr.match.bool.source.match(/\w+/g),function(e,t){var o=$t[t]||he.find.attr;Qt&&zt||!Pt.test(t)?$t[t]=function(e,t,n){var r,i;return n||(i=$t[t],$t[t]=r,r=null!=o(e,t,n)?t.toLowerCase():null,$t[t]=i),r}:$t[t]=function(e,t,n){if(!n)return e[he.camelCase("default-"+t)]?t.toLowerCase():null}}),Qt&&zt||(he.attrHooks.value={set:function(e,t,n){if(!he.nodeName(e,"input"))return Rt&&Rt.set(e,t,n);e.defaultValue=t}}),zt||(Rt={set:function(e,t,n){var r=e.getAttributeNode(n);if(r||e.setAttributeNode(r=e.ownerDocument.createAttribute(n)),r.value=t+="","value"===n||t===e.getAttribute(n))return t}},$t.id=$t.name=$t.coords=function(e,t,n){var r;if(!n)return(r=e.getAttributeNode(t))&&""!==r.value?r.value:null},he.valHooks.button={get:function(e,t){var n=e.getAttributeNode(t);if(n&&n.specified)return n.value},set:Rt.set},he.attrHooks.contenteditable={set:function(e,t,n){Rt.set(e,""!==t&&t,n)}},he.each(["width","height"],function(e,n){he.attrHooks[n]={set:function(e,t){if(""===t)return e.setAttribute(n,"auto"),t}}})),ce.style||(he.attrHooks.style={get:function(e){return e.style.cssText||undefined},set:function(e,t){return e.style.cssText=t+""}});var Bt=/^(?:input|select|textarea|button|object)$/i,Wt=/^(?:a|area)$/i;he.fn.extend({prop:function(e,t){return ze(this,he.prop,e,t,1<arguments.length)},removeProp:function(t){return t=he.propFix[t]||t,this.each(function(){try{this[t]=undefined,delete this[t]}catch(e){}})}}),he.extend({prop:function(e,t,n){var r,i,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return 1===o&&he.isXMLDoc(e)||(t=he.propFix[t]||t,i=he.propHooks[t]),n!==undefined?i&&"set"in i&&(r=i.set(e,n,t))!==undefined?r:e[t]=n:i&&"get"in i&&null!==(r=i.get(e,t))?r:e[t]},propHooks:{tabIndex:{get:function(e){var t=he.find.attr(e,"tabindex");return t?parseInt(t,10):Bt.test(e.nodeName)||Wt.test(e.nodeName)&&e.href?0:-1}}},propFix:{"for":"htmlFor","class":"className"}}),ce.hrefNormalized||he.each(["href","src"],function(e,t){he.propHooks[t]={get:function(e){return e.getAttribute(t,4)}}}),ce.optSelected||(he.propHooks.selected={get:function(e){var t=e.parentNode;return t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex),null},set:function(e){var t=e.parentNode;t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex)}}),he.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){he.propFix[this.toLowerCase()]=this}),ce.enctype||(he.propFix.enctype="encoding");var Xt=/[\t\r\n\f]/g;he.fn.extend({addClass:function(t){var e,n,r,i,o,a,s,u=0;if(he.isFunction(t))return this.each(function(e){he(this).addClass(t.call(this,e,B(this)))});if("string"==typeof t&&t)for(e=t.match(Ee)||[];n=this[u++];)if(i=B(n),r=1===n.nodeType&&(" "+i+" ").replace(Xt," ")){for(a=0;o=e[a++];)r.indexOf(" "+o+" ")<0&&(r+=o+" ");i!==(s=he.trim(r))&&he.attr(n,"class",s)}return this},removeClass:function(t){var e,n,r,i,o,a,s,u=0;if(he.isFunction(t))return this.each(function(e){he(this).removeClass(t.call(this,e,B(this)))});if(!arguments.length)return this.attr("class","");if("string"==typeof t&&t)for(e=t.match(Ee)||[];n=this[u++];)if(i=B(n),r=1===n.nodeType&&(" "+i+" ").replace(Xt," ")){for(a=0;o=e[a++];)for(;-1<r.indexOf(" "+o+" ");)r=r.replace(" "+o+" "," ");i!==(s=he.trim(r))&&he.attr(n,"class",s)}return this},toggleClass:function(i,t){var o=typeof i;return"boolean"==typeof t&&"string"===o?t?this.addClass(i):this.removeClass(i):he.isFunction(i)?this.each(function(e){he(this).toggleClass(i.call(this,e,B(this),t),t)}):this.each(function(){var e,t,n,r;if("string"===o)for(t=0,n=he(this),r=i.match(Ee)||[];e=r[t++];)n.hasClass(e)?n.removeClass(e):n.addClass(e);else i!==undefined&&"boolean"!==o||((e=B(this))&&he._data(this,"__className__",e),he.attr(this,"class",e||!1===i?"":he._data(this,"__className__")||""))})},hasClass:function(e){var t,n,r=0;for(t=" "+e+" ";n=this[r++];)if(1===n.nodeType&&-1<(" "+B(n)+" ").replace(Xt," ").indexOf(t))return!0;return!1}}),he.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error contextmenu".split(" "),function(e,n){he.fn[n]=function(e,t){return 0<arguments.length?this.on(n,null,e,t):this.trigger(n)}}),he.fn.extend({hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)}});var Vt=N.location,Ut=he.now(),Yt=/\?/,Jt=/(,)|(\[|{)|(}|])|"(?:[^"\\\r\n]|\\["\\\/bfnrt]|\\u[\da-fA-F]{4})*"\s*:?|true|false|null|-?(?!0\d)\d+(?:\.\d+|)(?:[eE][+-]?\d+|)/g;he.parseJSON=function(e){if(N.JSON&&N.JSON.parse)return N.JSON.parse(e+"");var i,o=null,t=he.trim(e+"");return t&&!he.trim(t.replace(Jt,function(e,t,n,r){return i&&t&&(o=0),0===o?e:(i=n||t,o+=!r-!n,"")}))?Function("return "+t)():he.error("Invalid JSON: "+e)},he.parseXML=function(e){var t;if(!e||"string"!=typeof e)return null;try{N.DOMParser?t=(new N.DOMParser).parseFromString(e,"text/xml"):((t=new N.ActiveXObject("Microsoft.XMLDOM")).async="false",t.loadXML(e))}catch(n){t=undefined}return t&&t.documentElement&&!t.getElementsByTagName("parsererror").length||he.error("Invalid XML: "+e),t};var Gt=/#.*$/,Kt=/([?&])_=[^&]*/,Zt=/^(.*?):[ \t]*([^\r\n]*)\r?$/gm,en=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,tn=/^(?:GET|HEAD)$/,nn=/^\/\//,rn=/^([\w.+-]+:)(?:\/\/(?:[^\/?#]*@|)([^\/?#:]*)(?::(\d+)|)|)/,on={},an={},sn="*/".concat("*"),un=Vt.href,dn=rn.exec(un.toLowerCase())||[];he.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:un,type:"GET",isLocal:en.test(dn[1]),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":sn,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":he.parseJSON,"text xml":he.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?V(V(e,he.ajaxSettings),t):V(he.ajaxSettings,e)},ajaxPrefilter:W(on),ajaxTransport:W(an),ajax:function(e,t){function n(e,t,n,r){var i,o,a,s,u,d=t;2!==w&&(w=2,f&&N.clearTimeout(f),m=undefined,c=r||"",k.readyState=0<e?4:0,i=200<=e&&e<300||304===e,n&&(s=U(p,k,n)),s=Y(p,s,k,i),i?(p.ifModified&&((u=k.getResponseHeader("Last-Modified"))&&(he.lastModified[l]=u),(u=k.getResponseHeader("etag"))&&(he.etag[l]=u)),204===e||"HEAD"===p.type?d="nocontent":304===e?d="notmodified":(d=s.state,o=s.data,i=!(a=s.error))):(a=d,!e&&d||(d="error",e<0&&(e=0))),k.status=e,k.statusText=(t||d)+"",i?v.resolveWith(g,[o,d,k]):v.rejectWith(g,[k,d,a]),k.statusCode(b),b=undefined,h&&y.trigger(i?"ajaxSuccess":"ajaxError",[k,p,i?o:a]),x.fireWith(g,[k,d]),h&&(y.trigger("ajaxComplete",[k,p]),--he.active||he.event.trigger("ajaxStop")))}"object"==typeof e&&(t=e,e=undefined),t=t||{};var r,i,l,c,f,h,m,o,p=he.ajaxSetup({},t),g=p.context||p,y=p.context&&(g.nodeType||g.jquery)?he(g):he.event,v=he.Deferred(),x=he.Callbacks("once memory"),b=p.statusCode||{},a={},s={},w=0,u="canceled",k={readyState:0,getResponseHeader:function(e){var t;if(2===w){if(!o)for(o={};t=Zt.exec(c);)o[t[1].toLowerCase()]=t[2];t=o[e.toLowerCase()]}return null==t?null:t},getAllResponseHeaders:function(){return 2===w?c:null},setRequestHeader:function(e,t){var n=e.toLowerCase();return w||(e=s[n]=s[n]||e,a[e]=t),this},overrideMimeType:function(e){return w||(p.mimeType=e),this},statusCode:function(e){var t;if(e)if(w<2)for(t in e)b[t]=[b[t],e[t]];else k.always(e[k.status]);return this},abort:function(e){var t=e||u;return m&&m.abort(t),n(0,t),this}};if(v.promise(k).complete=x.add,k.success=k.done,k.error=k.fail,p.url=((e||p.url||un)+"").replace(Gt,"").replace(nn,dn[1]+"//"),p.type=t.method||t.type||p.method||p.type,p.dataTypes=he.trim(p.dataType||"*").toLowerCase().match(Ee)||[""],null==p.crossDomain&&(r=rn.exec(p.url.toLowerCase()),p.crossDomain=!(!r||r[1]===dn[1]&&r[2]===dn[2]&&(r[3]||("http:"===r[1]?"80":"443"))===(dn[3]||("http:"===dn[1]?"80":"443")))),p.data&&p.processData&&"string"!=typeof p.data&&(p.data=he.param(p.data,p.traditional)),X(on,p,t,k),2===w)return k;for(i in(h=he.event&&p.global)&&0==he.active++&&he.event.trigger("ajaxStart"),p.type=p.type.toUpperCase(),p.hasContent=!tn.test(p.type),l=p.url,p.hasContent||(p.data&&(l=p.url+=(Yt.test(l)?"&":"?")+p.data,delete p.data),!1===p.cache&&(p.url=Kt.test(l)?l.replace(Kt,"$1_="+Ut++):l+(Yt.test(l)?"&":"?")+"_="+Ut++)),p.ifModified&&(he.lastModified[l]&&k.setRequestHeader("If-Modified-Since",he.lastModified[l]),he.etag[l]&&k.setRequestHeader("If-None-Match",he.etag[l])),(p.data&&p.hasContent&&!1!==p.contentType||t.contentType)&&k.setRequestHeader("Content-Type",p.contentType),k.setRequestHeader("Accept",p.dataTypes[0]&&p.accepts[p.dataTypes[0]]?p.accepts[p.dataTypes[0]]+("*"!==p.dataTypes[0]?", "+sn+"; q=0.01":""):p.accepts["*"]),p.headers)k.setRequestHeader(i,p.headers[i]);if(p.beforeSend&&(!1===p.beforeSend.call(g,k,p)||2===w))return k.abort();for(i in u="abort",{success:1,error:1,complete:1})k[i](p[i]);if(m=X(an,p,t,k)){if(k.readyState=1,h&&y.trigger("ajaxSend",[k,p]),2===w)return k;p.async&&0<p.timeout&&(f=N.setTimeout(function(){k.abort("timeout")},p.timeout));try{w=1,m.send(a,n)}catch(d){if(!(w<2))throw d;n(-1,d)}}else n(-1,"No Transport");return k},getJSON:function(e,t,n){return he.get(e,t,n,"json")},getScript:function(e,t){return he.get(e,undefined,t,"script")}}),he.each(["get","post"],function(e,i){he[i]=function(e,t,n,r){return he.isFunction(t)&&(r=r||n,n=t,t=undefined),he.ajax(he.extend({url:e,type:i,dataType:r,data:t,success:n},he.isPlainObject(e)&&e))}}),he._evalUrl=function(e){return he.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,"throws":!0})},he.fn.extend({wrapAll:function(t){if(he.isFunction(t))return this.each(function(e){he(this).wrapAll(t.call(this,e))});if(this[0]){var e=he(t,this[0].ownerDocument).eq(0).clone(!0);this[0].parentNode&&e.insertBefore(this[0]),e.map(function(){for(var e=this;e.firstChild&&1===e.firstChild.nodeType;)e=e.firstChild;return e}).append(this)}return this},wrapInner:function(n){return he.isFunction(n)?this.each(function(e){he(this).wrapInner(n.call(this,e))}):this.each(function(){var e=he(this),t=e.contents();t.length?t.wrapAll(n):e.append(n)})},wrap:function(t){var n=he.isFunction(t);return this.each(function(e){he(this).wrapAll(n?t.call(this,e):t)})},unwrap:function(){return this.parent().each(function(){he.nodeName(this,"body")||he(this).replaceWith(this.childNodes)}).end()}}),he.expr.filters.hidden=function(e){return ce.reliableHiddenOffsets()?e.offsetWidth<=0&&e.offsetHeight<=0&&!e.getClientRects().length:G(e)},he.expr.filters.visible=function(e){return!he.expr.filters.hidden(e)};var ln=/%20/g,cn=/\[\]$/,fn=/\r?\n/g,hn=/^(?:submit|button|image|reset|file)$/i,mn=/^(?:input|select|textarea|keygen)/i;he.param=function(e,t){var n,r=[],i=function(e,t){t=he.isFunction(t)?t():null==t?"":t,r[r.length]=encodeURIComponent(e)+"="+encodeURIComponent(t)};if(t===undefined&&(t=he.ajaxSettings&&he.ajaxSettings.traditional),he.isArray(e)||e.jquery&&!he.isPlainObject(e))he.each(e,function(){i(this.name,this.value)});else for(n in e)K(n,e[n],t,i);return r.join("&").replace(ln,"+")},he.fn.extend({serialize:function(){return he.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var e=he.prop(this,"elements");return e?he.makeArray(e):this}).filter(function(){var e=this.type;return this.name&&!he(this).is(":disabled")&&mn.test(this.nodeName)&&!hn.test(e)&&(this.checked||!Qe.test(e))}).map(function(e,t){var n=he(this).val();return null==n?null:he.isArray(n)?he.map(n,function(e){return{name:t.name,value:e.replace(fn,"\r\n")}}):{name:t.name,value:n.replace(fn,"\r\n")}}).get()}}),he.ajaxSettings.xhr=N.ActiveXObject!==undefined?function(){return this.isLocal?ee():8<re.documentMode?Z():/^(get|post|head|put|delete|options)$/i.test(this.type)&&Z()||ee()}:Z;var pn=0,gn={},yn=he.ajaxSettings.xhr();N.attachEvent&&N.attachEvent("onunload",function(){for(var e in gn)gn[e](undefined,!0)}),ce.cors=!!yn&&"withCredentials"in yn,(yn=ce.ajax=!!yn)&&he.ajaxTransport(function(d){var l;if(!d.crossDomain||ce.cors)return{send:function(e,a){var t,s=d.xhr(),u=++pn;if(s.open(d.type,d.url,d.async,d.username,d.password),d.xhrFields)for(t in d.xhrFields)s[t]=d.xhrFields[t];for(t in d.mimeType&&s.overrideMimeType&&s.overrideMimeType(d.mimeType),d.crossDomain||e["X-Requested-With"]||(e["X-Requested-With"]="XMLHttpRequest"),e)e[t]!==undefined&&s.setRequestHeader(t,e[t]+"");s.send(d.hasContent&&d.data||null),l=function(e,t){var n,r,i;if(l&&(t||4===s.readyState))if(delete gn[u],l=undefined,s.onreadystatechange=he.noop,t)4!==s.readyState&&s.abort();else{i={},n=s.status,"string"==typeof s.responseText&&(i.text=s.responseText);try{r=s.statusText}catch(o){r=""}n||!d.isLocal||d.crossDomain?1223===n&&(n=204):n=i.text?200:404}i&&a(n,r,i,s.getAllResponseHeaders())},d.async?4===s.readyState?N.setTimeout(l):s.onreadystatechange=gn[u]=l:l()},abort:function(){l&&l(undefined,!0)}}}),he.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 he.globalEval(e),e}}}),he.ajaxPrefilter("script",function(e){e.cache===undefined&&(e.cache=!1),e.crossDomain&&(e.type="GET",e.global=!1)}),he.ajaxTransport("script",function(t){if(t.crossDomain){var r,i=re.head||he("head")[0]||re.documentElement;return{send:function(e,n){(r=re.createElement("script")).async=!0,t.scriptCharset&&(r.charset=t.scriptCharset),r.src=t.url,r.onload=r.onreadystatechange=function(e,t){(t||!r.readyState||/loaded|complete/.test(r.readyState))&&(r.onload=r.onreadystatechange=null,r.parentNode&&r.parentNode.removeChild(r),r=null,t||n(200,"success"))},i.insertBefore(r,i.firstChild)},abort:function(){r&&r.onload(undefined,!0)}}}});var vn=[],xn=/(=)\?(?=&|$)|\?\?/;he.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=vn.pop()||he.expando+"_"+Ut++;return this[e]=!0,e}}),he.ajaxPrefilter("json jsonp",function(e,t,n){var r,i,o,a=!1!==e.jsonp&&(xn.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&xn.test(e.data)&&"data");if(a||"jsonp"===e.dataTypes[0])return r=e.jsonpCallback=he.isFunction(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,a?e[a]=e[a].replace(xn,"$1"+r):!1!==e.jsonp&&(e.url+=(Yt.test(e.url)?"&":"?")+e.jsonp+"="+r),e.converters["script json"]=function(){return o||he.error(r+" was not called"),o[0]},e.dataTypes[0]="json",i=N[r],N[r]=function(){o=arguments},n.always(function(){i===undefined?he(N).removeProp(r):N[r]=i,e[r]&&(e.jsonpCallback=t.jsonpCallback,vn.push(r)),o&&he.isFunction(i)&&i(o[0]),o=i=undefined}),"script"}),he.parseHTML=function(e,t,n){if(!e||"string"!=typeof e)return null;"boolean"==typeof t&&(n=t,t=!1),t=t||re;var r=ke.exec(e),i=!n&&[];return r?[t.createElement(r[1])]:(r=p([e],t,i),i&&i.length&&he(i).remove(),he.merge([],r.childNodes))};var bn=he.fn.load;he.fn.load=function(e,t,n){if("string"!=typeof e&&bn)return bn.apply(this,arguments);var r,i,o,a=this,s=e.indexOf(" ");return-1<s&&(r=he.trim(e.slice(s,e.length)),e=e.slice(0,s)),he.isFunction(t)?(n=t,t=undefined):t&&"object"==typeof t&&(i="POST"),0<a.length&&he.ajax({url:e,type:i||"GET",dataType:"html",data:t}).done(function(e){o=arguments,a.html(r?he("<div>").append(he.parseHTML(e)).find(r):e)}).always(n&&function(e,t){a.each(function(){n.apply(this,o||[e.responseText,t,e])})}),this},he.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){he.fn[t]=function(e){return this.on(t,e)}}),he.expr.filters.animated=function(t){return he.grep(he.timers,function(e){return t===e.elem}).length},he.offset={setOffset:function(e,t,n){var r,i,o,a,s,u,d=he.css(e,"position"),l=he(e),c={};"static"===d&&(e.style.position="relative"),s=l.offset(),o=he.css(e,"top"),u=he.css(e,"left"),("absolute"===d||"fixed"===d)&&-1<he.inArray("auto",[o,u])?(a=(r=l.position()).top,i=r.left):(a=parseFloat(o)||0,i=parseFloat(u)||0),he.isFunction(t)&&(t=t.call(e,n,he.extend({},s))),null!=t.top&&(c.top=t.top-s.top+a),null!=t.left&&(c.left=t.left-s.left+i),"using"in t?t.using.call(e,c):l.css(c)}},he.fn.extend({offset:function(t){if(arguments.length)return t===undefined?this:this.each(function(e){he.offset.setOffset(this,t,e)});var e,n,r={top:0,left:0},i=this[0],o=i&&i.ownerDocument;return o?(e=o.documentElement,he.contains(e,i)?("undefined"!=typeof i.getBoundingClientRect&&(r=i.getBoundingClientRect()),n=te(o),{top:r.top+(n.pageYOffset||e.scrollTop)-(e.clientTop||0),left:r.left+(n.pageXOffset||e.scrollLeft)-(e.clientLeft||0)}):r):void 0},position:function(){if(this[0]){var e,t,n={top:0,left:0},r=this[0];return"fixed"===he.css(r,"position")?t=r.getBoundingClientRect():(e=this.offsetParent(),t=this.offset(),he.nodeName(e[0],"html")||(n=e.offset()),n.top+=he.css(e[0],"borderTopWidth",!0),n.left+=he.css(e[0],"borderLeftWidth",!0)),{top:t.top-n.top-he.css(r,"marginTop",!0),left:t.left-n.left-he.css(r,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var e=this.offsetParent;e&&!he.nodeName(e,"html")&&"static"===he.css(e,"position");)e=e.offsetParent;return e||pt})}}),he.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(t,i){var o=/Y/.test(i);he.fn[t]=function(e){return ze(this,function(e,t,n){var r=te(e);if(n===undefined)return r?i in r?r[i]:r.document.documentElement[t]:e[t];r?r.scrollTo(o?he(r).scrollLeft():n,o?n:he(r).scrollTop()):e[t]=n},t,e,arguments.length,null)}}),he.each(["top","left"],function(e,n){he.cssHooks[n]=_(ce.pixelPosition,function(e,t){if(t)return t=yt(e,n),ht.test(t)?he(e).position()[n]+"px":t})}),he.each({Height:"height",Width:"width"},function(o,a){he.each({padding:"inner"+o,content:a,"":"outer"+o},function(r,e){he.fn[e]=function(e,t){var n=arguments.length&&(r||"boolean"!=typeof e),i=r||(!0===e||!0===t?"margin":"border");return ze(this,function(e,t,n){var r;return he.isWindow(e)?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?he.css(e,t,i):he.style(e,t,n,i)},a,n?e:undefined,n,null)}})}),he.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)}}),he.fn.size=function(){return this.length},he.fn.andSelf=he.fn.addBack,
|
|
"function"==typeof define&&define.amd&&define("jquery",[],function(){return he});var wn=N.jQuery,kn=N.$;return he.noConflict=function(e){return N.$===he&&(N.$=kn),e&&N.jQuery===he&&(N.jQuery=wn),he},e||(N.jQuery=N.$=he),he}),function(e){"function"==typeof define&&define.amd?define(["jquery"],e):"object"==typeof module&&"object"==typeof module.exports?e(require("jquery")):e(jQuery)}(function(h){function n(){var e=a.settings;if(e.autoDispose&&!h.contains(document.documentElement,this))return h(this).timeago("dispose"),this;var t=r(this);return isNaN(t.datetime)||(0===e.cutoff||Math.abs(o(t.datetime))<e.cutoff?h(this).text(i(t.datetime,h(this).attr("lang")?h(this).attr("lang"):a.settings.lang)):0<h(this).attr("title").length&&h(this).text(h(this).attr("title"))),this}function r(e){if(!(e=h(e)).data("timeago")){e.data("timeago",{datetime:a.datetime(e)});var t=h.trim(e.text());a.settings.localeTitle?e.attr("title",e.data("timeago").datetime.toLocaleString()):!(0<t.length)||a.isTime(e)&&e.attr("title")||e.attr("title",t)}return e.data("timeago")}function i(e,t){return a.inWords(o(e),t)}function o(e){return(new Date).getTime()-e.getTime()}h.timeago=function(e){return e instanceof Date?i(e):i("string"==typeof e?h.timeago.parse(e):"number"==typeof e?new Date(e):h.timeago.datetime(e))};var a=h.timeago;h.extend(h.timeago,{settings:{refreshMillis:6e4,allowPast:!0,allowFuture:!1,localeTitle:!1,cutoff:0,autoDispose:!0,lang:"en",strings:{en:{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(i,e){function t(e,t){var n=h.isFunction(e)?e(t,i):e,r=o.numbers&&o.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 o=this.settings.strings[e]||this.settings.strings[this.settings.lang]||this.settings.strings.en,n=o.prefixAgo,r=o.suffixAgo;if(this.settings.allowFuture&&i<0&&(n=o.prefixFromNow,r=o.suffixFromNow),!this.settings.allowPast&&0<=i)return o.inPast;var a=Math.abs(i)/1e3,s=a/60,u=s/60,d=u/24,l=d/365,c=a<45&&t(o.seconds,Math.round(a))||a<90&&t(o.minute,1)||s<45&&t(o.minutes,Math.round(s))||s<90&&t(o.hour,1)||u<24&&t(o.hours,Math.round(u))||u<42&&t(o.day,1)||d<30&&t(o.days,Math.round(d))||d<45&&t(o.month,1)||d<365&&t(o.months,Math.round(d/30))||l<1.5&&t(o.year,1)||t(o.years,Math.round(l)),f=o.wordSeparator||"";return o.wordSeparator===undefined&&(f=" "),h.trim([n,c,r].join(f))},parse:function(e){var t=h.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=a.isTime(e)?h(e).attr("datetime"):h(e).attr("title");return a.parse(t)},isTime:function(e){return"time"===h(e).get(0).tagName.toLowerCase()}});var s={init:function(){s.dispose.call(this);var e=h.proxy(n,this);e();var t=a.settings;0<t.refreshMillis&&(this._timeagoInterval=setInterval(e,t.refreshMillis))},update:function(e){var t=e instanceof Date?e:a.parse(e);h(this).data("timeago",{datetime:t}),a.settings.localeTitle&&h(this).attr("title",t.toLocaleString()),n.apply(this)},updateFromDOM:function(){h(this).data("timeago",{datetime:a.parse(a.isTime(this)?h(this).attr("datetime"):h(this).attr("title"))}),n.apply(this)},dispose:function(){this._timeagoInterval&&(window.clearInterval(this._timeagoInterval),this._timeagoInterval=null)}};h.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")}),function(e){var t=function(){e("time[data-time-ago]").timeago()};e(t),e(document).on("turbolinks:load page:load ajax:success",t)}(jQuery),jQuery.timeago.settings.strings.af={prefixAgo:null,prefixFromNow:null,suffixAgo:"gelede",suffixFromNow:"van nou af",seconds:"%d sekondes",minute:"1 minuut",minutes:"%d minute",hour:"1 uur",hours:"%d ure",day:"1 dag",days:"%d dae",month:"1 maand",months:"%d maande",year:"1 jaar",years:"%d jaar",wordSeparator:" ",numbers:[]},function(){function t(e,t){return t[plural=0===e?0:1===e?1:2===e?2:3<=e%100&&e%100<=10?3:11<=e%100?4:5]}jQuery.timeago.settings.strings.ar={prefixAgo:"\u0645\u0646\u0630",prefixFromNow:"\u0628\u0639\u062f",suffixAgo:null,suffixFromNow:null,second:function(e){return t(e,["\u0623\u0642\u0644 \u0645\u0646 \u062b\u0627\u0646\u064a\u0629","\u062b\u0627\u0646\u064a\u0629 \u0648\u0627\u062d\u062f\u0629","\u062b\u0627\u0646\u064a\u062a\u064a\u0646","%d \u062b\u0648\u0627\u0646\u064d","%d \u062b\u0627\u0646\u064a\u0629","%d \u062b\u0627\u0646\u064a\u0629"])},seconds:function(e){return t(e,["\u0623\u0642\u0644 \u0645\u0646 \u062b\u0627\u0646\u064a\u0629","\u062b\u0627\u0646\u064a\u0629 \u0648\u0627\u062d\u062f\u0629","\u062b\u0627\u0646\u064a\u062a\u064a\u0646","%d \u062b\u0648\u0627\u0646\u064d","%d \u062b\u0627\u0646\u064a\u0629","%d \u062b\u0627\u0646\u064a\u0629"])},minute:function(e){return t(e,["\u0623\u0642\u0644 \u0645\u0646 \u062f\u0642\u064a\u0642\u0629","\u062f\u0642\u064a\u0642\u0629 \u0648\u0627\u062d\u062f\u0629","\u062f\u0642\u064a\u0642\u062a\u064a\u0646","%d \u062f\u0642\u0627\u0626\u0642","%d \u062f\u0642\u064a\u0642\u0629","\u062f\u0642\u064a\u0642\u0629"])},minutes:function(e){return t(e,["\u0623\u0642\u0644 \u0645\u0646 \u062f\u0642\u064a\u0642\u0629","\u062f\u0642\u064a\u0642\u0629 \u0648\u0627\u062d\u062f\u0629","\u062f\u0642\u064a\u0642\u062a\u064a\u0646","%d \u062f\u0642\u0627\u0626\u0642","%d \u062f\u0642\u064a\u0642\u0629","\u062f\u0642\u064a\u0642\u0629"])},hour:function(e){return t(e,["\u0623\u0642\u0644 \u0645\u0646 \u0633\u0627\u0639\u0629","\u0633\u0627\u0639\u0629 \u0648\u0627\u062d\u062f\u0629","\u0633\u0627\u0639\u062a\u064a\u0646","%d \u0633\u0627\u0639\u0627\u062a","%d \u0633\u0627\u0639\u0629","%d \u0633\u0627\u0639\u0629"])},hours:function(e){return t(e,["\u0623\u0642\u0644 \u0645\u0646 \u0633\u0627\u0639\u0629","\u0633\u0627\u0639\u0629 \u0648\u0627\u062d\u062f\u0629","\u0633\u0627\u0639\u062a\u064a\u0646","%d \u0633\u0627\u0639\u0627\u062a","%d \u0633\u0627\u0639\u0629","%d \u0633\u0627\u0639\u0629"])},day:function(e){return t(e,["\u0623\u0642\u0644 \u0645\u0646 \u064a\u0648\u0645","\u064a\u0648\u0645 \u0648\u0627\u062d\u062f","\u064a\u0648\u0645\u064a\u0646","%d \u0623\u064a\u0627\u0645","%d \u064a\u0648\u0645\u064b\u0627","%d \u064a\u0648\u0645"])},days:function(e){return t(e,["\u0623\u0642\u0644 \u0645\u0646 \u064a\u0648\u0645","\u064a\u0648\u0645 \u0648\u0627\u062d\u062f","\u064a\u0648\u0645\u064a\u0646","%d \u0623\u064a\u0627\u0645","%d \u064a\u0648\u0645\u064b\u0627","%d \u064a\u0648\u0645"])},month:function(e){return t(e,["\u0623\u0642\u0644 \u0645\u0646 \u0634\u0647\u0631","\u0634\u0647\u0631 \u0648\u0627\u062d\u062f","\u0634\u0647\u0631\u064a\u0646","%d \u0623\u0634\u0647\u0631","%d \u0634\u0647\u0631\u064b\u0627","%d \u0634\u0647\u0631"])},months:function(e){return t(e,["\u0623\u0642\u0644 \u0645\u0646 \u0634\u0647\u0631","\u0634\u0647\u0631 \u0648\u0627\u062d\u062f","\u0634\u0647\u0631\u064a\u0646","%d \u0623\u0634\u0647\u0631","%d \u0634\u0647\u0631\u064b\u0627","%d \u0634\u0647\u0631"])},year:function(e){return t(e,["\u0623\u0642\u0644 \u0645\u0646 \u0639\u0627\u0645","\u0639\u0627\u0645 \u0648\u0627\u062d\u062f","%d \u0639\u0627\u0645\u064a\u0646","%d \u0623\u0639\u0648\u0627\u0645","%d \u0639\u0627\u0645\u064b\u0627"])},years:function(e){return t(e,["\u0623\u0642\u0644 \u0645\u0646 \u0639\u0627\u0645","\u0639\u0627\u0645 \u0648\u0627\u062d\u062f","\u0639\u0627\u0645\u064a\u0646","%d \u0623\u0639\u0648\u0627\u0645","%d \u0639\u0627\u0645\u064b\u0627","%d \u0639\u0627\u0645"])}}}(),jQuery.timeago.settings.strings["az-short"]={prefixAgo:null,prefixFromNow:null,suffixAgo:"",suffixFromNow:"",seconds:"1 d\u0259q",minute:"1 d\u0259q",minutes:"%d d\u0259q",hour:"1 saat",hours:"%d saat",day:"1 g\xfcn",days:"%d g\xfcn",month:"1 ay",months:"%d ay",year:"1 il",years:"%d il",wordSeparator:"",numbers:[]},jQuery.timeago.settings.strings.az={prefixAgo:null,prefixFromNow:null,suffixAgo:"\u0259vv\u0259l",suffixFromNow:"sonra",seconds:"saniy\u0259l\u0259r",minute:"1 d\u0259qiq\u0259",minutes:"%d d\u0259qiq\u0259",hour:"1 saat",hours:"%d saat",day:"1 g\xfcn",days:"%d g\xfcn",month:"1 ay",months:"%d ay",year:"1 il",years:"%d il",wordSeparator:"",numbers:[]},jQuery.timeago.settings.strings.bg={prefixAgo:"\u043f\u0440\u0435\u0434\u0438",prefixFromNow:"\u0441\u043b\u0435\u0434",suffixAgo:null,suffixFromNow:null,seconds:"\u043f\u043e-\u043c\u0430\u043b\u043a\u043e \u043e\u0442 \u043c\u0438\u043d\u0443\u0442\u0430",minute:"\u0435\u0434\u043d\u0430 \u043c\u0438\u043d\u0443\u0442\u0430",minutes:"%d \u043c\u0438\u043d\u0443\u0442\u0438",hour:"\u0435\u0434\u0438\u043d \u0447\u0430\u0441",hours:"%d \u0447\u0430\u0441\u0430",day:"\u0435\u0434\u0438\u043d \u0434\u0435\u043d",days:"%d \u0434\u043d\u0438",month:"\u0435\u0434\u0438\u043d \u043c\u0435\u0441\u0435\u0446",months:"%d \u043c\u0435\u0441\u0435\u0446\u0430",year:"\u0435\u0434\u043d\u0430 \u0433\u043e\u0434\u0438\u043d\u0430",years:"%d \u0433\u043e\u0434\u0438\u043d\u0438"},function(){var t;t=function(e,t,n,r){var i;return 1===(i=e%10)&&(1===e||20<e)?t:1<i&&i<5&&(20<e||e<10)?n:r},jQuery.timeago.settings.strings.bs={prefixAgo:"prije",prefixFromNow:"za",suffixAgo:null,suffixFromNow:null,second:"sekund",seconds:function(e){return t(e,"%d sekund","%d sekunde","%d sekundi")},minute:"oko minut",minutes:function(e){return t(e,"%d minut","%d minute","%d minuta")},hour:"oko sat",hours:function(e){return t(e,"%d sat","%d sata","%d sati")},day:"oko jednog dana",days:function(e){return t(e,"%d dan","%d dana","%d dana")},month:"mjesec dana",months:function(e){return t(e,"%d mjesec","%d mjeseca","%d mjeseci")},year:"prije godinu dana ",years:function(e){return t(e,"%d godinu","%d godine","%d godina")},wordSeparator:" "}}.call(this),jQuery.timeago.settings.strings.ca={prefixAgo:"fa",prefixFromNow:"d'aqu\xed",suffixAgo:null,suffixFromNow:null,seconds:"menys d'un minut",minute:"un minut",minutes:"%d minuts",hour:"una hora",hours:"%d hores",day:"un dia",days:"%d dies",month:"un mes",months:"%d mesos",year:"un any",years:"%d anys",wordSeparator:" ",numbers:[]},function(){function n(e,t,n){return n[0<=t?0:2===n.length||e<5?1:2]}jQuery.timeago.settings.strings.cs={prefixAgo:"p\u0159ed",prefixFromNow:"za",suffixAgo:null,suffixFromNow:null,seconds:function(e,t){return n(e,t,["m\xe9n\u011b ne\u017e minutou","m\xe9n\u011b ne\u017e minutu"])},minute:function(e,t){return n(e,t,["minutou","minutu"])},minutes:function(e,t){return n(e,t,["%d minutami","%d minuty","%d minut"])},hour:function(e,t){return n(e,t,["hodinou","hodinu"])},hours:function(e,t){return n(e,t,["%d hodinami","%d hodiny","%d hodin"])},day:function(e,t){return n(e,t,["%d dnem","%d den"])},days:function(e,t){return n(e,t,["%d dny","%d dny","%d dn\xed"])},month:function(e,t){return n(e,t,["%d m\u011bs\xedcem","%d m\u011bs\xedc"])},months:function(e,t){return n(e,t,["%d m\u011bs\xedci","%d m\u011bs\xedce","%d m\u011bs\xedc\u016f"])},year:function(e,t){return n(e,t,["%d rokem","%d rok"])},years:function(e,t){return n(e,t,["%d lety","%d roky","%d let"])}}}(),jQuery.timeago.settings.strings.cy={prefixAgo:null,prefixFromNow:null,suffixAgo:"yn \xf4l",suffixFromNow:"o hyn",seconds:"llai na munud",minute:"am funud",minutes:"%d munud",hour:"tua awr",hours:"am %d awr",day:"y dydd",days:"%d diwrnod",month:"tua mis",months:"%d mis",year:"am y flwyddyn",years:"%d blynedd",wordSeparator:" ",numbers:[]},jQuery.timeago.settings.strings.da={prefixAgo:"for",prefixFromNow:"om",suffixAgo:"siden",suffixFromNow:"",seconds:"mindre end et minut",minute:"ca. et minut",minutes:"%d minutter",hour:"ca. en time",hours:"ca. %d timer",day:"en dag",days:"%d dage",month:"ca. en m\xe5ned",months:"%d m\xe5neder",year:"ca. et \xe5r",years:"%d \xe5r"},jQuery.timeago.settings.strings["de-short"]={prefixAgo:null,prefixFromNow:null,suffixAgo:"",suffixFromNow:"",seconds:"s",minute:"1m",minutes:"%dm",hour:"1h",hours:"%dh",day:"1T.",days:"%dT.",month:"1Mt.",months:"%dMt.",year:"1J.",years:"%dJ.",wordSeparator:" ",numbers:[]},jQuery.timeago.settings.strings.de={prefixAgo:"vor",prefixFromNow:"in",suffixAgo:"",suffixFromNow:"",seconds:"wenigen Sekunden",minute:"etwa einer Minute",minutes:"%d Minuten",hour:"etwa einer Stunde",hours:"%d Stunden",day:"etwa einem Tag",days:"%d Tagen",month:"etwa einem Monat",months:"%d Monaten",year:"etwa einem Jahr",years:"%d Jahren"},jQuery.timeago.settings.strings.dv={prefixAgo:null,prefixFromNow:null,suffixAgo:"\u0786\u07aa\u0783\u07a8\u0782\u07b0",suffixFromNow:"\u078a\u07a6\u0780\u07aa\u0782\u07b0",seconds:"\u0790\u07a8\u0786\u07aa\u0782\u07b0\u078c\u07aa\u0786\u07ae\u0785\u07ac\u0787\u07b0",minute:"\u0789\u07a8\u0782\u07a8\u0793\u07ac\u0787\u07b0\u0788\u07a6\u0783\u07aa",minutes:"%d \u0789\u07a8\u0782\u07a8\u0793\u07aa",hour:"\u078e\u07a6\u0791\u07a8\u0787\u07ac\u0787\u07b0\u0788\u07a6\u0783\u07aa",hours:"\u078e\u07a7\u078c\u07b0\u078e\u07a6\u0782\u0791\u07a6\u0786\u07a6\u0781\u07b0 %d \u078e\u07a6\u0791\u07a8\u0787\u07a8\u0783\u07aa",day:"\u0787\u07ac\u0787\u07b0 \u078b\u07aa\u0788\u07a6\u0790\u07b0",days:"\u0789\u07a9\u078e\u07ac %d \u078b\u07aa\u0788\u07a6\u0790\u07b0",month:"\u0789\u07a6\u0780\u07ac\u0787\u07b0\u0788\u07a6\u0783\u07aa",months:"\u0789\u07a9\u078e\u07ac %d \u0789\u07a6\u0790\u07b0",year:"\u0787\u07a6\u0780\u07a6\u0783\u07ac\u0787\u07b0\u0788\u07a6\u0783\u07aa",years:"\u0789\u07a9\u078e\u07ac %d \u0787\u07a6\u0780\u07a6\u0783\u07aa",wordSeparator:" ",numbers:[]},jQuery.timeago.settings.strings.el={prefixAgo:"\u03c0\u03c1\u03b9\u03bd",prefixFromNow:"\u03c3\u03b5",suffixAgo:"",suffixFromNow:"",seconds:"\u03bb\u03b9\u03b3\u03cc\u03c4\u03b5\u03c1\u03bf \u03b1\u03c0\u03cc \u03ad\u03bd\u03b1 \u03bb\u03b5\u03c0\u03c4\u03cc",minute:"\u03c0\u03b5\u03c1\u03af\u03c0\u03bf\u03c5 \u03ad\u03bd\u03b1 \u03bb\u03b5\u03c0\u03c4\u03cc",minutes:"%d \u03bb\u03b5\u03c0\u03c4\u03ac",hour:"\u03c0\u03b5\u03c1\u03af\u03c0\u03bf\u03c5 \u03bc\u03af\u03b1 \u03ce\u03c1\u03b1",hours:"\u03c0\u03b5\u03c1\u03af\u03c0\u03bf\u03c5 %d \u03ce\u03c1\u03b5\u03c2",day:"\u03bc\u03af\u03b1 \u03bc\u03ad\u03c1\u03b1",days:"%d \u03bc\u03ad\u03c1\u03b5\u03c2",month:"\u03c0\u03b5\u03c1\u03af\u03c0\u03bf\u03c5 \u03ad\u03bd\u03b1 \u03bc\u03ae\u03bd\u03b1",months:"%d \u03bc\u03ae\u03bd\u03b5\u03c2",year:"\u03c0\u03b5\u03c1\u03af\u03c0\u03bf\u03c5 \u03ad\u03bd\u03b1 \u03c7\u03c1\u03cc\u03bd\u03bf",years:"%d \u03c7\u03c1\u03cc\u03bd\u03b9\u03b1"},jQuery.timeago.settings.strings["en-short"]={prefixAgo:null,prefixFromNow:null,suffixAgo:"",suffixFromNow:"",seconds:"1m",minute:"1m",minutes:"%dm",hour:"1h",hours:"%dh",day:"1d",days:"%dd",month:"1mo",months:"%dmo",year:"1yr",years:"%dyr",wordSeparator:" ",numbers:[]},jQuery.timeago.settings.strings["es-short"]={prefixAgo:null,prefixFromNow:null,suffixAgo:"",suffixFromNow:"",seconds:"1m",minute:"1m",minutes:"%dm",hour:"1h",hours:"%dh",day:"1d",days:"%dd",month:"1me",months:"%dme",year:"1a",years:"%da",wordSeparator:" ",numbers:[]},jQuery.timeago.settings.strings.es={prefixAgo:"hace",prefixFromNow:"dentro de",suffixAgo:"",suffixFromNow:"",seconds:"menos de un minuto",minute:"un minuto",minutes:"unos %d minutos",hour:"una hora",hours:"%d horas",day:"un d\xeda",days:"%d d\xedas",month:"un mes",months:"%d meses",year:"un a\xf1o",years:"%d a\xf1os"},jQuery.timeago.settings.strings.et={prefixAgo:null,prefixFromNow:null,suffixAgo:"tagasi",suffixFromNow:"p\xe4rast",seconds:function(e,t){return t<0?"v\xe4hem kui minuti aja":"v\xe4hem kui minut aega"},minute:function(e,t){return t<0?"umbes minuti aja":"umbes minut aega"},minutes:function(e,t){return t<0?"%d minuti":"%d minutit"},hour:function(e,t){return t<0?"umbes tunni aja":"umbes tund aega"},hours:function(e,t){return t<0?"%d tunni":"%d tundi"},day:function(e,t){return t<0?"umbes p\xe4eva":"umbes p\xe4ev"},days:"%d p\xe4eva",month:function(e,t){return t<0?"umbes kuu aja":"umbes kuu aega"},months:function(e,t){return t<0?"%d kuu":"%d kuud"},year:function(e,t){return t<0?"umbes aasta aja":"umbes aasta aega"},years:function(e,t){return t<0?"%d aasta":"%d aastat"}},jQuery.timeago.settings.strings.eu={prefixAgo:"duela",prefixFromNow:"hemendik",suffixAgo:"",suffixFromNow:"barru",seconds:"minutu bat bainu gutxiago",minute:"minutu bat",minutes:"%d minutu inguru",hour:"ordu bat",hours:"%d ordu",day:"egun bat",days:"%d egun",month:"hilabete bat",months:"%d hilabete",year:"urte bat",years:"%d urte"},jQuery.timeago.settings.strings["fa-short"]={prefixAgo:null,prefixFromNow:null,suffixAgo:"",suffixFromNow:"",seconds:"1\u062f\u0642\u06cc\u0642\u0647",minute:"1\u062f\u0642\u06cc\u0642\u0647",minutes:"%d\u062f\u0642\u06cc\u0642\u0647",hour:"1\u0633\u0627\u0639\u062a",hours:"%d\u0633\u0627\u0639\u062a",day:"1\u0631\u0648\u0632",days:"%d\u0631\u0648\u0632",month:"1\u0645\u0627\u0647",months:"%d\u0645\u0627\u0647",year:"1\u0633\u0627\u0644",years:"%d\u0633\u0627\u0644",wordSeparator:" ",numbers:["\u06f0","\u06f1","\u06f2","\u06f3","\u06f4","\u06f5","\u06f6","\u06f7","\u06f8","\u06f9"]},jQuery.timeago.settings.strings.fa={prefixAgo:null,prefixFromNow:null,suffixAgo:"\u067e\u06cc\u0634",suffixFromNow:"\u0627\u0632 \u062d\u0627\u0644",seconds:"\u06a9\u0645\u062a\u0631 \u0627\u0632 \u06cc\u06a9 \u062f\u0642\u06cc\u0642\u0647",minute:"\u062d\u062f\u0648\u062f \u06cc\u06a9 \u062f\u0642\u06cc\u0642\u0647",minutes:"%d \u062f\u0642\u06cc\u0642\u0647",hour:"\u062d\u062f\u0648\u062f \u06cc\u06a9 \u0633\u0627\u0639\u062a",hours:"\u062d\u062f\u0648\u062f %d \u0633\u0627\u0639\u062a",day:"\u06cc\u06a9 \u0631\u0648\u0632",days:"%d \u0631\u0648\u0632",month:"\u062d\u062f\u0648\u062f \u06cc\u06a9 \u0645\u0627\u0647",months:"%d \u0645\u0627\u0647",year:"\u062d\u062f\u0648\u062f \u06cc\u06a9 \u0633\u0627\u0644",years:"%d \u0633\u0627\u0644",wordSeparator:" ",numbers:["\u06f0","\u06f1","\u06f2","\u06f3","\u06f4","\u06f5","\u06f6","\u06f7","\u06f8","\u06f9"]},jQuery.timeago.settings.strings.fi={prefixAgo:null,prefixFromNow:null,suffixAgo:"sitten",suffixFromNow:"tulevaisuudessa",seconds:"alle minuutti",minute:"minuutti",minutes:"%d minuuttia",hour:"tunti",hours:"%d tuntia",day:"p\xe4iv\xe4",days:"%d p\xe4iv\xe4\xe4",month:"kuukausi",months:"%d kuukautta",year:"vuosi",years:"%d vuotta"},jQuery.timeago.settings.strings["fr-short"]={prefixAgo:"il y a",prefixFromNow:"d'ici",seconds:"moins d'une minute",minute:"une minute",minutes:"%d minutes",hour:"une heure",hours:"%d heures",day:"un jour",days:"%d jours",month:"un mois",months:"%d mois",year:"un an",years:"%d ans"},jQuery.timeago.settings.strings.fr={prefixAgo:"il y a",prefixFromNow:"d'ici",seconds:"moins d'une minute",minute:"environ une minute",minutes:"environ %d minutes",hour:"environ une heure",hours:"environ %d heures",day:"environ un jour",days:"environ %d jours",month:"environ un mois",months:"environ %d mois",year:"un an",years:"%d ans"},jQuery.timeago.settings.strings.gl={prefixAgo:"hai",prefixFromNow:"dentro de",suffixAgo:"",suffixFromNow:"",seconds:"menos dun minuto",minute:"un minuto",minutes:"uns %d minutos",hour:"unha hora",hours:"%d horas",day:"un d\xeda",days:"%d d\xedas",month:"un mes",months:"%d meses",year:"un ano",years:"%d anos"},jQuery.timeago.settings.strings.he={prefixAgo:"\u05dc\u05e4\u05e0\u05d9",prefixFromNow:"\u05e2\u05d5\u05d3",seconds:"\u05e4\u05d7\u05d5\u05ea \u05de\u05d3\u05e7\u05d4",minute:"\u05d3\u05e7\u05d4",minutes:"%d \u05d3\u05e7\u05d5\u05ea",hour:"\u05e9\u05e2\u05d4",hours:function(e){return 2===e?"\u05e9\u05e2\u05ea\u05d9\u05d9\u05dd":"%d \u05e9\u05e2\u05d5\u05ea"},day:"\u05d9\u05d5\u05dd",days:function(e){return 2===e?"\u05d9\u05d5\u05de\u05d9\u05d9\u05dd":"%d \u05d9\u05de\u05d9\u05dd"},month:"\u05d7\u05d5\u05d3\u05e9",months:function(e){return 2===e?"\u05d7\u05d5\u05d3\u05e9\u05d9\u05d9\u05dd":"%d \u05d7\u05d5\u05d3\u05e9\u05d9\u05dd"},year:"\u05e9\u05e0\u05d4",years:function(e){return 2===e?"\u05e9\u05e0\u05ea\u05d9\u05d9\u05dd":"%d \u05e9\u05e0\u05d9\u05dd"}},function(){var t;t=function(e,t,n,r){var i;return 1===(i=e%10)&&(1===e||20<e)?t:1<i&&i<5&&(20<e||e<10)?n:r},jQuery.timeago.settings.strings.hr={prefixAgo:"prije",prefixFromNow:"za",suffixAgo:null,suffixFromNow:null,second:"sekundu",seconds:function(e){return t(e,"%d sekundu","%d sekunde","%d sekundi")},minute:"oko minutu",minutes:function(e){return t(e,"%d minutu","%d minute","%d minuta")},hour:"oko jedan sat",hours:function(e){return t(e,"%d sat","%d sata","%d sati")},day:"jedan dan",days:function(e){return t(e,"%d dan","%d dana","%d dana")},month:"mjesec dana",months:function(e){return t(e,"%d mjesec","%d mjeseca","%d mjeseci")},year:"prije godinu dana",years:function(e){return t(e,"%d godinu","%d godine","%d godina")},wordSeparator:" "}}.call(this),jQuery.timeago.settings.strings.hu={prefixAgo:null,prefixFromNow:null,suffixAgo:null,suffixFromNow:null,seconds:"kevesebb mint egy perce",minute:"k\xf6r\xfclbel\xfcl egy perce",minutes:"%d perce",hour:"k\xf6r\xfclbel\xfcl egy \xf3r\xe1ja",hours:"k\xf6r\xfclbel\xfcl %d \xf3r\xe1ja",day:"k\xf6r\xfclbel\xfcl egy napja",days:"%d napja",month:"k\xf6r\xfclbel\xfcl egy h\xf3napja",months:"%d h\xf3napja",year:"k\xf6r\xfclbel\xfcl egy \xe9ve",years:"%d \xe9ve"},jQuery.timeago.settings.strings.hy={prefixAgo:null,prefixFromNow:null,suffixAgo:"\u0561\u057c\u0561\u057b",suffixFromNow:"\u0570\u0565\u057f\u0578",seconds:"\u057e\u0561\u0575\u0580\u056f\u0575\u0561\u0576\u0576\u0565\u0580",minute:"\u0574\u0565\u056f \u0580\u0578\u057a\u0565",minutes:"%d \u0580\u0578\u057a\u0565",hour:"\u0574\u0565\u056f \u056a\u0561\u0574",hours:"%d \u056a\u0561\u0574",day:"\u0574\u0565\u056f \u0585\u0580",days:"%d \u0585\u0580",month:"\u0574\u0565\u056f \u0561\u0574\u056b\u057d",months:"%d \u0561\u0574\u056b\u057d",year:"\u0574\u0565\u056f \u057f\u0561\u0580\u056b",years:"%d \u057f\u0561\u0580\u056b"},jQuery.timeago.settings.strings.id={prefixAgo:null,prefixFromNow:null,suffixAgo:"yang lalu",suffixFromNow:"dari sekarang",seconds:"kurang dari semenit",minute:"sekitar satu menit",minutes:"%d menit",hour:"sekitar sejam",hours:"sekitar %d jam",day:"sehari",days:"%d hari",month:"sekitar sebulan",months:"%d bulan",year:"sekitar setahun",years:"%d tahun"},jQuery.timeago.settings.strings.is={prefixAgo:"fyrir",prefixFromNow:"eftir",suffixAgo:"s\xed\xf0an",suffixFromNow:null,seconds:"minna en m\xedn\xfatu",minute:"m\xedn\xfatu",minutes:"%d m\xedn\xfatum",hour:"klukkut\xedma",hours:"um %d klukkut\xedmum",day:"degi",days:"%d d\xf6gum",month:"m\xe1nu\xf0i",months:"%d m\xe1nu\xf0um",year:"\xe1ri",years:"%d \xe1rum",wordSeparator:" ",numbers:[]},jQuery.timeago.settings.strings["it-short"]={prefixAgo:null,prefixFromNow:null,suffixAgo:"",suffixFromNow:"",seconds:"1m",minute:"1m",minutes:"%dm",hour:"1h",hours:"%dh",day:"1g",days:"%dg",month:"1me",months:"%dme",year:"1a",years:"%da",wordSeparator:" ",numbers:[]},jQuery.timeago.settings.strings.it={suffixAgo:"fa",suffixFromNow:"da ora",seconds:"meno di un minuto",minute:"circa un minuto",minutes:"%d minuti",hour:"circa un'ora",hours:"circa %d ore",day:"un giorno",days:"%d giorni",month:"circa un mese",months:"%d mesi",year:"circa un anno",years:"%d anni"},jQuery.timeago.settings.strings.ja={prefixAgo:"",prefixFromNow:"\u4eca\u304b\u3089",suffixAgo:"\u524d",suffixFromNow:"\u5f8c",seconds:"1 \u5206\u672a\u6e80",minute:"\u7d04 1 \u5206",minutes:"%d \u5206",hour:"\u7d04 1 \u6642\u9593",hours:"\u7d04 %d \u6642\u9593",day:"\u7d04 1 \u65e5",days:"\u7d04 %d \u65e5",month:"\u7d04 1 \u30f6\u6708",months:"\u7d04 %d \u30f6\u6708",year:"\u7d04 1 \u5e74",years:"\u7d04 %d \u5e74",wordSeparator:""},jQuery.timeago.settings.strings.jv={prefixAgo:null,prefixFromNow:null,suffixAgo:"kepungkur",suffixFromNow:"seko saiki",seconds:"kurang seko sakmenit",minute:"kurang luwih sakmenit",minutes:"%d menit",hour:"kurang luwih sakjam",hours:"kurang luwih %d jam",day:"sedina",days:"%d dina",month:"kurang luwih sewulan",months:"%d wulan",year:"kurang luwih setahun",years:"%d tahun"},jQuery.timeago.settings.strings.ko={prefixAgo:null,prefixFromNow:null,suffixAgo:"\uc804",suffixFromNow:"\ud6c4",seconds:"1\ubd84",minute:"\uc57d 1\ubd84",minutes:"%d\ubd84",hour:"\uc57d 1\uc2dc\uac04",hours:"\uc57d %d\uc2dc\uac04",day:"\ud558\ub8e8",days:"%d\uc77c",month:"\uc57d 1\uac1c\uc6d4",months:"%d\uac1c\uc6d4",year:"\uc57d 1\ub144",years:"%d\ub144",wordSeparator:" ",numbers:[]},function(){function t(e,t,n,r){var i=e%10;return 1===i&&(1===e||20<e)?t:1<i&&i<5&&(20<e||e<10)?n:r}jQuery.timeago.settings.strings.ky={prefixAgo:null,prefixFromNow:"\u0447\u0435\u0440\u0435\u0437",suffixAgo:"\u043c\u0443\u0440\u0443\u043d",suffixFromNow:null,seconds:"1 \u043c\u0438\u043d\u0443\u0442\u0442\u0430\u043d \u0430\u0437",minute:"\u043c\u0438\u043d\u0443\u0442\u0430",minutes:function(e){return t(e,"%d \u043c\u0438\u043d\u0443\u0442\u0430","%d \u043c\u0438\u043d\u0443\u0442\u0430","%d \u043c\u0438\u043d\u0443\u0442")},hour:"\u0441\u0430\u0430\u0442",hours:function(e){return t(e,"%d \u0441\u0430\u0430\u0442","%d \u0441\u0430\u0430\u0442","%d \u0441\u0430\u0430\u0442")},day:"\u043a\u04af\u043d",days:function(e){return t(e,"%d \u043a\u04af\u043d","%d \u043a\u04af\u043d","%d \u043a\u04af\u043d")},month:"\u0430\u0439",months:function(e){return t(e,"%d \u0430\u0439","%d \u0430\u0439","%d \u0430\u0439")},year:"\u0436\u044b\u043b",years:function(e){return t(e,"%d \u0436\u044b\u043b","%d \u0436\u044b\u043b","%d \u0436\u044b\u043b")}}}(),jQuery.timeago.settings.strings.lt={prefixAgo:"prie\u0161",prefixFromNow:null,suffixAgo:null,suffixFromNow:"nuo dabar",seconds:"%d sek.",minute:"min.",minutes:"%d min.",hour:"val.",hours:"%d val.",day:"1 d.",days:"%d d.",month:"m\u0117n.",months:"%d m\u0117n.",year:"metus",years:"%d metus",wordSeparator:" ",numbers:[]},jQuery.timeago.settings.strings.lv={prefixAgo:"pirms",prefixFromNow:null,suffixAgo:null,suffixFromNow:"no \u0161\u012b br\u012b\u017ea",seconds:"%d sek.",minute:"min.",minutes:"%d min.",hour:"st.",hours:"%d st.",day:"1 d.",days:"%d d.",month:"m\u0113nesis.",months:"%d m\u0113nesis.",year:"gads",years:"%d gads",wordSeparator:" ",numbers:[]},jQuery.timeago.settings.strings.mk={prefixAgo:"\u043f\u0440\u0435\u0434",prefixFromNow:"\u0437\u0430",suffixAgo:null,suffixFromNow:null,seconds:"%d \u0441\u0435\u043a\u0443\u043d\u0434\u0438",minute:"%d \u043c\u0438\u043d\u0443\u0442\u0430",minutes:"%d \u043c\u0438\u043d\u0443\u0442\u0438",hour:"%d \u0447\u0430\u0441",hours:"%d \u0447\u0430\u0441\u0430",day:"%d \u0434\u0435\u043d",days:"%d \u0434\u0435\u043d\u043e\u0432\u0438",month:"%d \u043c\u0435\u0441\u0435\u0446",months:"%d \u043c\u0435\u0441\u0435\u0446\u0438",year:"%d \u0433\u043e\u0434\u0438\u043d\u0430",years:"%d \u0433\u043e\u0434\u0438\u043d\u0438"},jQuery.timeago.settings.strings.nl={prefixAgo:null,prefixFromNow:"over",suffixAgo:"geleden",suffixFromNow:null,seconds:"minder dan een minuut",minute:"ongeveer een minuut",minutes:"%d minuten",hour:"ongeveer een uur",hours:"ongeveer %d uur",day:"een dag",days:"%d dagen",month:"ongeveer een maand",months:"%d maanden",year:"ongeveer een jaar",years:"%d jaar",wordSeparator:" ",numbers:[]},jQuery.timeago.settings.strings.no={prefixAgo:"for",prefixFromNow:"om",suffixAgo:"siden",suffixFromNow:"",seconds:"mindre enn et minutt",minute:"ca. et minutt",minutes:"%d minutter",hour:"ca. en time",hours:"ca. %d timer",day:"en dag",days:"%d dager",month:"ca. en m\xe5ned",months:"%d m\xe5neder",year:"ca. et \xe5r",years:"%d \xe5r"},function(){function t(e,t,n){var r=e%10;return 1<r&&r<5&&(20<e||e<10)?t:n}jQuery.timeago.settings.strings.pl={prefixAgo:null,prefixFromNow:"za",suffixAgo:"temu",suffixFromNow:null,seconds:"mniej ni\u017c minut\u0119",minute:"minut\u0119",minutes:function(e){return t(e,"%d minuty","%d minut")},hour:"godzin\u0119",hours:function(e){return t(e,"%d godziny","%d godzin")},day:"dzie\u0144",days:"%d dni",month:"miesi\u0105c",months:function(e){return t(e,"%d miesi\u0105ce","%d miesi\u0119cy")},year:"rok",years:function(e){return t(e,"%d lata","%d lat")}}}(),jQuery.timeago.settings.strings["pt-br-short"]={prefixAgo:null,prefixFromNow:null,suffixAgo:"",suffixFromNow:"",seconds:"1m",minute:"1m",minutes:"%dm",hour:"1h",hours:"%dh",day:"1d",days:"%dd",month:"1M",months:"%dM",year:"1a",years:"%da",wordSeparator:" ",numbers:[]},jQuery.timeago.settings.strings["pt-br"]={prefixAgo:"h\xe1",prefixFromNow:"em",suffixAgo:null,suffixFromNow:null,seconds:"alguns segundos",minute:"um minuto",minutes:"%d minutos",hour:"uma hora",hours:"%d horas",day:"um dia",days:"%d dias",month:"um m\xeas",months:"%d meses",year:"um ano",years:"%d anos"},jQuery.timeago.settings.strings["pt-short"]={prefixAgo:null,prefixFromNow:null,suffixAgo:"",suffixFromNow:"",seconds:"1m",minute:"1m",minutes:"%dm",hour:"1h",hours:"%dh",day:"1d",days:"%dd",month:"1M",months:"%dM",year:"1a",years:"%da",wordSeparator:" ",numbers:[]},jQuery.timeago.settings.strings.pt={suffixAgo:"atr\xe1s",suffixFromNow:"a partir de agora",seconds:"menos de um minuto",minute:"cerca de um minuto",minutes:"%d minutos",hour:"cerca de uma hora",hours:"cerca de %d horas",day:"um dia",days:"%d dias",month:"cerca de um m\xeas",months:"%d meses",year:"cerca de um ano",years:"%d anos"},jQuery.timeago.settings.strings.ro={prefixAgo:"acum",prefixFromNow:"in timp de",suffixAgo:"",suffixFromNow:"",seconds:"mai putin de un minut",minute:"un minut",minutes:"%d minute",hour:"o ora",hours:"%d ore",day:"o zi",days:"%d zile",month:"o luna",months:"%d luni",year:"un an",years:"%d ani"},function(){var t;t=function(e,t,n,r){var i;return 1===(i=e%10)&&(1===e||20<e)?t:1<i&&i<5&&(20<e||e<10)?n:r},jQuery.timeago.settings.strings.rs={prefixAgo:"pre",prefixFromNow:"za",suffixAgo:null,suffixFromNow:null,second:"sekund",seconds:function(e){return t(e,"%d sekund","%d sekunde","%d sekundi")},minute:"oko minut",minutes:function(e){return t(e,"%d minut","%d minuta","%d minuta")},hour:"oko jedan sat",hours:function(e){return t(e,"%d sat","%d sata","%d sati")},day:"jedan dan",days:function(e){return t(e,"%d dan","%d dana","%d dana")},month:"mesec dana",months:function(e){return t(e,"%d mesec","%d meseca","%d meseci")},year:"godinu dana",years:function(e){return t(e,"%d godinu","%d godine","%d godina")},wordSeparator:" "}}.call(this),function(){function t(e,t,n,r){var i=(e%=100)%10;return 1===i&&(1===e||20<e)?t:1<i&&i<5&&(20<e||e<10)?n:r}jQuery.timeago.settings.strings.ru={prefixAgo:null,prefixFromNow:"\u0447\u0435\u0440\u0435\u0437",suffixAgo:"\u043d\u0430\u0437\u0430\u0434",suffixFromNow:null,seconds:"\u043c\u0435\u043d\u044c\u0448\u0435 \u043c\u0438\u043d\u0443\u0442\u044b",minute:"\u043c\u0438\u043d\u0443\u0442\u0443",minutes:function(e){return t(e,"%d \u043c\u0438\u043d\u0443\u0442\u0443","%d \u043c\u0438\u043d\u0443\u0442\u044b","%d \u043c\u0438\u043d\u0443\u0442")},hour:"\u0447\u0430\u0441",hours:function(e){return t(e,"%d \u0447\u0430\u0441","%d \u0447\u0430\u0441\u0430","%d \u0447\u0430\u0441\u043e\u0432")},day:"\u0434\u0435\u043d\u044c",days:function(e){return t(e,"%d \u0434\u0435\u043d\u044c","%d \u0434\u043d\u044f","%d \u0434\u043d\u0435\u0439")},month:"\u043c\u0435\u0441\u044f\u0446",months:function(e){return t(e,"%d \u043c\u0435\u0441\u044f\u0446","%d \u043c\u0435\u0441\u044f\u0446\u0430","%d \u043c\u0435\u0441\u044f\u0446\u0435\u0432")},year:"\u0433\u043e\u0434",years:function(e){return t(e,"%d \u0433\u043e\u0434","%d \u0433\u043e\u0434\u0430","%d \u043b\u0435\u0442")}}}(),jQuery.timeago.settings.strings.rw={prefixAgo:"hashize",prefixFromNow:"mu",suffixAgo:null,suffixFromNow:null,seconds:"amasegonda macye",minute:"umunota",minutes:"iminota %d",hour:"isaha",hours:"amasaha %d",day:"umunsi",days:"iminsi %d",month:"ukwezi",months:"amezi %d",year:"umwaka",years:"imyaka %d",wordSeparator:" ",numbers:[]},jQuery.timeago.settings.strings.si={prefixAgo:null,prefixFromNow:null,suffixAgo:"\u0db4\u0dd9\u0dbb",suffixFromNow:"\u0db4\u0dc3\u0dd4\u0dc0",seconds:"\u0dad\u0dad\u0dca\u0db4\u0dbb \u0d9a\u0dd2\u0dc4\u0dd2\u0db4\u0dba\u0d9a\u0da7",minute:"\u0db8\u0dd2\u0db1\u0dd2\u0dad\u0dca\u0dad\u0dd4\u0dc0\u0d9a\u0da7 \u0db4\u0db8\u0dab",minutes:"\u0db8\u0dd2\u0db1\u0dd2\u0dad\u0dca\u0dad\u0dd4 %d \u0d9a\u0da7",hour:"\u0db4\u0dd0\u0dba\u0d9a\u0dca \u0db4\u0db8\u0dab ",hours:"\u0db4\u0dd0\u0dba %d \u0d9a\u0da7 \u0db4\u0db8\u0dab",day:"\u0daf\u0dc0\u0dc3\u0d9a \u0da7",days:"\u0daf\u0dc0\u0dc3\u0dca %d \u0d9a\u0da7 ",month:"\u0db8\u0dcf\u0dc3\u0dba\u0d9a\u0dca \u0db4\u0db8\u0dab",months:"\u0db8\u0dcf\u0dc3 %d \u0d9a\u0da7",
|
|
year:"\u0dc0\u0dc3\u0dbb\u0d9a\u0dca \u0db4\u0db8\u0dab",years:"\u0dc0\u0dc3\u0dbb\u0d9a\u0dca %d \u0d9a\u0da7 \u0db4\u0db8\u0dab"},function(){function n(e,t,n){return n[0<=t?0:2===n.length||e<5?1:2]}jQuery.timeago.settings.strings.sk={prefixAgo:"pred",prefixFromNow:"o",suffixAgo:null,suffixFromNow:null,seconds:function(e,t){return n(e,t,["menej ako min\xfatou","menej ako min\xfatu"])},minute:function(e,t){return n(e,t,["min\xfatou","min\xfatu"])},minutes:function(e,t){return n(e,t,["%d min\xfatami","%d min\xfaty","%d min\xfat"])},hour:function(e,t){return n(e,t,["hodinou","hodinu"])},hours:function(e,t){return n(e,t,["%d hodinami","%d hodiny","%d hod\xedn"])},day:function(e,t){return n(e,t,["%d d\u0148om","%d de\u0148"])},days:function(e,t){return n(e,t,["%d d\u0148ami","%d dni","%d dn\xed"])},month:function(e,t){return n(e,t,["%d mesiacom","%d mesiac"])},months:function(e,t){return n(e,t,["%d mesiacmi","%d mesiace","%d mesiacov"])},year:function(e,t){return n(e,t,["%d rokom","%d rok"])},years:function(e,t){return n(e,t,["%d rokmi","%d roky","%d rokov"])}}}(),function(){var t;t=function(e,t){return t[e%100==1?1:e%100==2?2:e%100==3||e%100==4?3:0]},jQuery.timeago.settings.strings.sl={prefixAgo:null,prefixFromNow:"\u010dez",suffixAgo:"nazaj",suffixFromNow:null,second:"sekundo",seconds:function(e){return t(e,["%d sekund","%d sekundo","%d sekundi","%d sekunde"])},minute:"minuto",minutes:function(e){return t(e,["%d minut","%d minuto","%d minuti","%d minute"])},hour:"eno uro",hours:function(e){return t(e,["%d ur","%d uro","%d uri","%d ure"])},day:"en dan",days:function(e){return t(e,["%d dni","%d dan","%d dneva","%d dni"])},month:"en mesec",months:function(e){return t(e,["%d mesecev","%d mesec","%d meseca","%d mesece"])},year:"eno leto",years:function(e){return t(e,["%d let","%d leto","%d leti","%d leta"])},wordSeparator:" "}}.call(this),function(){var t;t=function(e,t,n,r){var i;return 1===(i=e%10)&&(1===e||20<e)?t:1<i&&i<5&&(20<e||e<10)?n:r},jQuery.timeago.settings.strings.sr={prefixAgo:"\u043f\u0440\u0435",prefixFromNow:"\u0437\u0430",suffixAgo:null,suffixFromNow:null,second:"\u0441\u0435\u043a\u0443\u043d\u0434",seconds:function(e){return t(e,"%d \u0441\u0435\u043a\u0443\u043d\u0434","%d \u0441\u0435\u043a\u0443\u043d\u0434\u0435","%d \u0441\u0435\u043a\u0443\u043d\u0434\u0438")},minute:"\u0458\u0435\u0434\u0430\u043d \u043c\u0438\u043d\u0443\u0442",minutes:function(e){return t(e,"%d \u043c\u0438\u043d\u0443\u0442","%d \u043c\u0438\u043d\u0443\u0442\u0430","%d \u043c\u0438\u043d\u0443\u0442\u0430")},hour:"\u0458\u0435\u0434\u0430\u043d \u0441\u0430\u0442",hours:function(e){return t(e,"%d \u0441\u0430\u0442","%d \u0441\u0430\u0442\u0430","%d \u0441\u0430\u0442\u0438")},day:"\u0458\u0435\u0434\u0430\u043d \u0434\u0430\u043d",days:function(e){return t(e,"%d \u0434\u0430\u043d","%d \u0434\u0430\u043d\u0430","%d \u0434\u0430\u043d\u0430")},month:"\u043c\u0435\u0441\u0435\u0446 \u0434\u0430\u043d\u0430",months:function(e){return t(e,"%d \u043c\u0435\u0441\u0435\u0446","%d \u043c\u0435\u0441\u0435\u0446\u0430","%d \u043c\u0435\u0441\u0435\u0446\u0438")},year:"\u0433\u043e\u0434\u0438\u043d\u0443 \u0434\u0430\u043d\u0430",years:function(e){return t(e,"%d \u0433\u043e\u0434\u0438\u043d\u0443","%d \u0433\u043e\u0434\u0438\u043d\u0435","%d \u0433\u043e\u0434\u0438\u043d\u0430")},wordSeparator:" "}}.call(this),jQuery.timeago.settings.strings.sv={prefixAgo:"f\xf6r",prefixFromNow:"om",suffixAgo:"sedan",suffixFromNow:"",seconds:"mindre \xe4n en minut",minute:"ungef\xe4r en minut",minutes:"%d minuter",hour:"ungef\xe4r en timme",hours:"ungef\xe4r %d timmar",day:"en dag",days:"%d dagar",month:"ungef\xe4r en m\xe5nad",months:"%d m\xe5nader",year:"ungef\xe4r ett \xe5r",years:"%d \xe5r"},jQuery.timeago.settings.strings.th={prefixAgo:null,prefixFromNow:null,suffixAgo:"\u0e17\u0e35\u0e48\u0e41\u0e25\u0e49\u0e27",suffixFromNow:"\u0e08\u0e32\u0e01\u0e15\u0e2d\u0e19\u0e19\u0e35\u0e49",seconds:"\u0e19\u0e49\u0e2d\u0e22\u0e01\u0e27\u0e48\u0e32\u0e2b\u0e19\u0e36\u0e48\u0e07\u0e19\u0e32\u0e17\u0e35",minute:"\u0e1b\u0e23\u0e30\u0e21\u0e32\u0e13\u0e2b\u0e19\u0e36\u0e48\u0e07\u0e19\u0e32\u0e17\u0e35",minutes:"%d \u0e19\u0e32\u0e17\u0e35",hour:"\u0e1b\u0e23\u0e30\u0e21\u0e32\u0e13\u0e2b\u0e19\u0e36\u0e48\u0e07\u0e0a\u0e31\u0e48\u0e27\u0e42\u0e21\u0e07",hours:"\u0e1b\u0e23\u0e30\u0e21\u0e32\u0e13 %d \u0e0a\u0e31\u0e48\u0e27\u0e42\u0e21\u0e07",day:"\u0e2b\u0e19\u0e36\u0e48\u0e07\u0e27\u0e31\u0e19",days:"%d \u0e27\u0e31\u0e19",month:"\u0e1b\u0e23\u0e30\u0e21\u0e32\u0e13\u0e2b\u0e19\u0e36\u0e48\u0e07\u0e40\u0e14\u0e37\u0e2d\u0e19",months:"%d \u0e40\u0e14\u0e37\u0e2d\u0e19",year:"\u0e1b\u0e23\u0e30\u0e21\u0e32\u0e13\u0e2b\u0e19\u0e36\u0e48\u0e07\u0e1b\u0e35",years:"%d \u0e1b\u0e35",wordSeparator:"",numbers:[]},jQuery.timeago.settings.strings["tr-short"]={prefixAgo:null,prefixFromNow:null,suffixAgo:"",suffixFromNow:"",seconds:"1sn",minute:"1d",minutes:"%dd",hour:"1s",hours:"%ds",day:"1g",days:"%dg",month:"1ay",months:"%day",year:"1y",years:"%dy",wordSeparator:" ",numbers:[]},jQuery.timeago.settings.strings.tr={suffixAgo:"\xf6nce",suffixFromNow:null,seconds:"1 dakikadan",minute:"1 dakika",minutes:"%d dakika",hour:"1 saat",hours:"%d saat",day:"1 g\xfcn",days:"%d g\xfcn",month:"1 ay",months:"%d ay",year:"1 y\u0131l",years:"%d y\u0131l"},function(){function t(e,t,n,r){var i=e%10;return 1===i&&(1===e||20<e)?t:1<i&&i<5&&(20<e||e<10)?n:r}jQuery.timeago.settings.strings.uk={prefixAgo:null,prefixFromNow:"\u0447\u0435\u0440\u0435\u0437",suffixAgo:"\u0442\u043e\u043c\u0443",suffixFromNow:null,seconds:"\u043c\u0435\u043d\u0448\u0435 \u0445\u0432\u0438\u043b\u0438\u043d\u0438",minute:"\u0445\u0432\u0438\u043b\u0438\u043d\u0430",minutes:function(e){return t(e,"%d \u0445\u0432\u0438\u043b\u0438\u043d\u0430","%d \u0445\u0432\u0438\u043b\u0438\u043d\u0438","%d \u0445\u0432\u0438\u043b\u0438\u043d")},hour:"\u0433\u043e\u0434\u0438\u043d\u0430",hours:function(e){return t(e,"%d \u0433\u043e\u0434\u0438\u043d\u0430","%d \u0433\u043e\u0434\u0438\u043d\u0438","%d \u0433\u043e\u0434\u0438\u043d")},day:"\u0434\u0435\u043d\u044c",days:function(e){return t(e,"%d \u0434\u0435\u043d\u044c","%d \u0434\u043d\u0456","%d \u0434\u043d\u0456\u0432")},month:"\u043c\u0456\u0441\u044f\u0446\u044c",months:function(e){return t(e,"%d \u043c\u0456\u0441\u044f\u0446\u044c","%d \u043c\u0456\u0441\u044f\u0446\u0456","%d \u043c\u0456\u0441\u044f\u0446\u0456\u0432")},year:"\u0440\u0456\u043a",years:function(e){return t(e,"%d \u0440\u0456\u043a","%d \u0440\u043e\u043a\u0438","%d \u0440\u043e\u043a\u0456\u0432")}}}(),jQuery.timeago.settings.strings.uz={prefixAgo:null,prefixFromNow:"keyin",suffixAgo:"avval",suffixFromNow:null,seconds:"bir necha soniya",minute:"1 daqiqa",minutes:function(){return"%d daqiqa"},hour:"1 soat",hours:function(){return"%d soat"},day:"1 kun",days:function(){return"%d kun"},month:"1 oy",months:function(){return"%d oy"},year:"1 yil",years:function(){return"%d yil"},wordSeparator:" "},jQuery.timeago.settings.strings.vi={prefixAgo:"c\xe1ch \u0111\xe2y",prefixFromNow:null,suffixAgo:null,suffixFromNow:"tr\u01b0\u1edbc",seconds:"ch\u01b0a \u0111\u1ebfn m\u1ed9t ph\xfat",minute:"kho\u1ea3ng m\u1ed9t ph\xfat",minutes:"%d ph\xfat",hour:"kho\u1ea3ng m\u1ed9t ti\u1ebfng",hours:"kho\u1ea3ng %d ti\u1ebfng",day:"m\u1ed9t ng\xe0y",days:"%d ng\xe0y",month:"kho\u1ea3ng m\u1ed9t th\xe1ng",months:"%d th\xe1ng",year:"kho\u1ea3ng m\u1ed9t n\u0103m",years:"%d n\u0103m",wordSeparator:" ",numbers:[]},jQuery.timeago.settings.strings["zh-CN"]={prefixAgo:null,prefixFromNow:"\u4ece\u73b0\u5728\u5f00\u59cb",suffixAgo:"\u4e4b\u524d",suffixFromNow:null,seconds:"\u4e0d\u52301\u5206\u949f",minute:"\u5927\u7ea61\u5206\u949f",minutes:"%d\u5206\u949f",hour:"\u5927\u7ea61\u5c0f\u65f6",hours:"\u5927\u7ea6%d\u5c0f\u65f6",day:"1\u5929",days:"%d\u5929",month:"\u5927\u7ea61\u4e2a\u6708",months:"%d\u6708",year:"\u5927\u7ea61\u5e74",years:"%d\u5e74",numbers:[],wordSeparator:""},jQuery.timeago.settings.strings["zh-TW"]={prefixAgo:null,prefixFromNow:"\u5f9e\u73fe\u5728\u958b\u59cb",suffixAgo:"\u4e4b\u524d",suffixFromNow:null,seconds:"\u4e0d\u52301\u5206\u9418",minute:"\u5927\u7d041\u5206\u9418",minutes:"%d\u5206\u9418",hour:"\u5927\u7d041\u5c0f\u6642",hours:"%d\u5c0f\u6642",day:"\u5927\u7d041\u5929",days:"%d\u5929",month:"\u5927\u7d041\u500b\u6708",months:"%d\u500b\u6708",year:"\u5927\u7d041\u5e74",years:"%d\u5e74",numbers:[],wordSeparator:""},$(document).ready(function(){jQuery.timeago.settings.lang=$("html").attr("lang")}),function(l,u){"use strict";var d;l.rails!==u&&l.error("jquery-ujs has already been loaded!");var e=l(document);l.rails=d={linkClickSelector:"a[data-confirm], a[data-method], a[data-remote]:not([disabled]), a[data-disable-with], a[data-disable]",buttonClickSelector:"button[data-remote]:not([form]):not(form button), button[data-confirm]:not([form]):not(form button)",inputChangeSelector:"select[data-remote], input[data-remote], textarea[data-remote]",formSubmitSelector:"form",formInputClickSelector:"form input[type=submit], form input[type=image], form button[type=submit], form button:not([type]), input[type=submit][form], input[type=image][form], button[type=submit][form], button[form]:not([type])",disableSelector:"input[data-disable-with]:enabled, button[data-disable-with]:enabled, textarea[data-disable-with]:enabled, input[data-disable]:enabled, button[data-disable]:enabled, textarea[data-disable]:enabled",enableSelector:"input[data-disable-with]:disabled, button[data-disable-with]:disabled, textarea[data-disable-with]:disabled, input[data-disable]:disabled, button[data-disable]:disabled, textarea[data-disable]:disabled",requiredInputSelector:"input[name][required]:not([disabled]), textarea[name][required]:not([disabled])",fileInputSelector:"input[name][type=file]:not([disabled])",linkDisableSelector:"a[data-disable-with], a[data-disable]",buttonDisableSelector:"button[data-remote][data-disable-with], button[data-remote][data-disable]",csrfToken:function(){return l("meta[name=csrf-token]").attr("content")},csrfParam:function(){return l("meta[name=csrf-param]").attr("content")},CSRFProtection:function(e){var t=d.csrfToken();t&&e.setRequestHeader("X-CSRF-Token",t)},refreshCSRFTokens:function(){l('form input[name="'+d.csrfParam()+'"]').val(d.csrfToken())},fire:function(e,t,n){var r=l.Event(t);return e.trigger(r,n),!1!==r.result},confirm:function(e){return confirm(e)},ajax:function(e){return l.ajax(e)},href:function(e){return e[0].href},isRemote:function(e){return e.data("remote")!==u&&!1!==e.data("remote")},handleRemote:function(r){var e,t,n,i,o,a;if(d.fire(r,"ajax:before")){if(i=r.data("with-credentials")||null,o=r.data("type")||l.ajaxSettings&&l.ajaxSettings.dataType,r.is("form")){e=r.data("ujs:submit-button-formmethod")||r.attr("method"),t=r.data("ujs:submit-button-formaction")||r.attr("action"),n=l(r[0]).serializeArray();var s=r.data("ujs:submit-button");s&&(n.push(s),r.data("ujs:submit-button",null)),r.data("ujs:submit-button-formmethod",null),r.data("ujs:submit-button-formaction",null)}else r.is(d.inputChangeSelector)?(e=r.data("method"),t=r.data("url"),n=r.serialize(),r.data("params")&&(n=n+"&"+r.data("params"))):r.is(d.buttonClickSelector)?(e=r.data("method")||"get",t=r.data("url"),n=r.serialize(),r.data("params")&&(n=n+"&"+r.data("params"))):(e=r.data("method"),t=d.href(r),n=r.data("params")||null);return a={type:e||"GET",data:n,dataType:o,beforeSend:function(e,t){if(t.dataType===u&&e.setRequestHeader("accept","*/*;q=0.5, "+t.accepts.script),!d.fire(r,"ajax:beforeSend",[e,t]))return!1;r.trigger("ajax:send",e)},success:function(e,t,n){r.trigger("ajax:success",[e,t,n])},complete:function(e,t){r.trigger("ajax:complete",[e,t])},error:function(e,t,n){r.trigger("ajax:error",[e,t,n])},crossDomain:d.isCrossDomain(t)},i&&(a.xhrFields={withCredentials:i}),t&&(a.url=t),d.ajax(a)}return!1},isCrossDomain:function(e){var t=document.createElement("a");t.href=location.href;var n=document.createElement("a");try{return n.href=e,n.href=n.href,!((!n.protocol||":"===n.protocol)&&!n.host||t.protocol+"//"+t.host==n.protocol+"//"+n.host)}catch(r){return!0}},handleMethod:function(e){var t=d.href(e),n=e.data("method"),r=e.attr("target"),i=d.csrfToken(),o=d.csrfParam(),a=l('<form method="post" action="'+t+'"></form>'),s='<input name="_method" value="'+n+'" type="hidden" />';o===u||i===u||d.isCrossDomain(t)||(s+='<input name="'+o+'" value="'+i+'" type="hidden" />'),r&&a.attr("target",r),a.hide().append(s).appendTo("body"),a.submit()},formElements:function(e,t){return e.is("form")?l(e[0].elements).filter(t):e.find(t)},disableFormElements:function(e){d.formElements(e,d.disableSelector).each(function(){d.disableFormElement(l(this))})},disableFormElement:function(e){var t,n;t=e.is("button")?"html":"val",(n=e.data("disable-with"))!==u&&(e.data("ujs:enable-with",e[t]()),e[t](n)),e.prop("disabled",!0),e.data("ujs:disabled",!0)},enableFormElements:function(e){d.formElements(e,d.enableSelector).each(function(){d.enableFormElement(l(this))})},enableFormElement:function(e){var t=e.is("button")?"html":"val";e.data("ujs:enable-with")!==u&&(e[t](e.data("ujs:enable-with")),e.removeData("ujs:enable-with")),e.prop("disabled",!1),e.removeData("ujs:disabled")},allowAction:function(e){var t,n=e.data("confirm"),r=!1;if(!n)return!0;if(d.fire(e,"confirm")){try{r=d.confirm(n)}catch(i){(console.error||console.log).call(console,i.stack||i)}t=d.fire(e,"confirm:complete",[r])}return r&&t},blankInputs:function(e,t,n){var r,i,o,a=l(),s=t||"input,textarea",u=e.find(s),d={};return u.each(function(){(r=l(this)).is("input[type=radio]")?(o=r.attr("name"),d[o]||(0===e.find('input[type=radio]:checked[name="'+o+'"]').length&&(i=e.find('input[type=radio][name="'+o+'"]'),a=a.add(i)),d[o]=o)):(r.is("input[type=checkbox],input[type=radio]")?r.is(":checked"):!!r.val())===n&&(a=a.add(r))}),!!a.length&&a},nonBlankInputs:function(e,t){return d.blankInputs(e,t,!0)},stopEverything:function(e){return l(e.target).trigger("ujs:everythingStopped"),e.stopImmediatePropagation(),!1},disableElement:function(e){var t=e.data("disable-with");t!==u&&(e.data("ujs:enable-with",e.html()),e.html(t)),e.bind("click.railsDisable",function(e){return d.stopEverything(e)}),e.data("ujs:disabled",!0)},enableElement:function(e){e.data("ujs:enable-with")!==u&&(e.html(e.data("ujs:enable-with")),e.removeData("ujs:enable-with")),e.unbind("click.railsDisable"),e.removeData("ujs:disabled")}},d.fire(e,"rails:attachBindings")&&(l.ajaxPrefilter(function(e,t,n){e.crossDomain||d.CSRFProtection(n)}),l(window).on("pageshow.rails",function(){l(l.rails.enableSelector).each(function(){var e=l(this);e.data("ujs:disabled")&&l.rails.enableFormElement(e)}),l(l.rails.linkDisableSelector).each(function(){var e=l(this);e.data("ujs:disabled")&&l.rails.enableElement(e)})}),e.on("ajax:complete",d.linkDisableSelector,function(){d.enableElement(l(this))}),e.on("ajax:complete",d.buttonDisableSelector,function(){d.enableFormElement(l(this))}),e.on("click.rails",d.linkClickSelector,function(e){var t=l(this),n=t.data("method"),r=t.data("params"),i=e.metaKey||e.ctrlKey;if(!d.allowAction(t))return d.stopEverything(e);if(!i&&t.is(d.linkDisableSelector)&&d.disableElement(t),d.isRemote(t)){if(i&&(!n||"GET"===n)&&!r)return!0;var o=d.handleRemote(t);return!1===o?d.enableElement(t):o.fail(function(){d.enableElement(t)}),!1}return n?(d.handleMethod(t),!1):void 0}),e.on("click.rails",d.buttonClickSelector,function(e){var t=l(this);if(!d.allowAction(t)||!d.isRemote(t))return d.stopEverything(e);t.is(d.buttonDisableSelector)&&d.disableFormElement(t);var n=d.handleRemote(t);return!1===n?d.enableFormElement(t):n.fail(function(){d.enableFormElement(t)}),!1}),e.on("change.rails",d.inputChangeSelector,function(e){var t=l(this);return d.allowAction(t)&&d.isRemote(t)?(d.handleRemote(t),!1):d.stopEverything(e)}),e.on("submit.rails",d.formSubmitSelector,function(e){var t,n,r=l(this),i=d.isRemote(r);if(!d.allowAction(r))return d.stopEverything(e);if(r.attr("novalidate")===u)if(r.data("ujs:formnovalidate-button")===u){if((t=d.blankInputs(r,d.requiredInputSelector,!1))&&d.fire(r,"ajax:aborted:required",[t]))return d.stopEverything(e)}else r.data("ujs:formnovalidate-button",u);if(i){if(n=d.nonBlankInputs(r,d.fileInputSelector)){setTimeout(function(){d.disableFormElements(r)},13);var o=d.fire(r,"ajax:aborted:file",[n]);return o||setTimeout(function(){d.enableFormElements(r)},13),o}return d.handleRemote(r),!1}setTimeout(function(){d.disableFormElements(r)},13)}),e.on("click.rails",d.formInputClickSelector,function(e){var t=l(this);if(!d.allowAction(t))return d.stopEverything(e);var n=t.attr("name"),r=n?{name:n,value:t.val()}:null,i=t.closest("form");0===i.length&&(i=l("#"+t.attr("form"))),i.data("ujs:submit-button",r),i.data("ujs:formnovalidate-button",t.attr("formnovalidate")),i.data("ujs:submit-button-formaction",t.attr("formaction")),i.data("ujs:submit-button-formmethod",t.attr("formmethod"))}),e.on("ajax:send.rails",d.formSubmitSelector,function(e){this===e.target&&d.disableFormElements(l(this))}),e.on("ajax:complete.rails",d.formSubmitSelector,function(e){this===e.target&&d.enableFormElements(l(this))}),l(function(){d.refreshCSRFTokens()}))}(jQuery),function(){"use strict";var o,n;o=jQuery,(n=function(e,t){var n,r,i=this;return this.options=o.extend({title:null,footer:null,remote:null},o.fn.ekkoLightbox.defaults,t||{}),this.$element=o(e),"",this.modal_id=this.options.modal_id?this.options.modal_id:"ekkoLightbox-"+Math.floor(1e3*Math.random()+1),r='<div class="modal-header"'+(this.options.title||this.options.always_show_close?"":' style="display:none"')+'><button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button><h4 class="modal-title">'+(this.options.title||" ")+"</h4></div>",n='<div class="modal-footer"'+(this.options.footer?"":' style="display:none"')+">"+this.options.footer+"</div>",o(document.body).append('<div id="'+this.modal_id+'" class="ekko-lightbox modal fade" tabindex="-1"><div class="modal-dialog"><div class="modal-content">'+r+'<div class="modal-body"><div class="ekko-lightbox-container"><div></div></div></div>'+n+"</div></div></div>"),this.modal=o("#"+this.modal_id),this.modal_dialog=this.modal.find(".modal-dialog").first(),this.modal_content=this.modal.find(".modal-content").first(),this.modal_body=this.modal.find(".modal-body").first(),this.lightbox_container=this.modal_body.find(".ekko-lightbox-container").first(),this.lightbox_body=this.lightbox_container.find("> div:first-child").first(),this.showLoading(),this.modal_arrows=null,this.border={top:parseFloat(this.modal_dialog.css("border-top-width"))+parseFloat(this.modal_content.css("border-top-width"))+parseFloat(this.modal_body.css("border-top-width")),right:parseFloat(this.modal_dialog.css("border-right-width"))+parseFloat(this.modal_content.css("border-right-width"))+parseFloat(this.modal_body.css("border-right-width")),bottom:parseFloat(this.modal_dialog.css("border-bottom-width"))+parseFloat(this.modal_content.css("border-bottom-width"))+parseFloat(this.modal_body.css("border-bottom-width")),left:parseFloat(this.modal_dialog.css("border-left-width"))+parseFloat(this.modal_content.css("border-left-width"))+parseFloat(this.modal_body.css("border-left-width"))},this.padding={top:parseFloat(this.modal_dialog.css("padding-top"))+parseFloat(this.modal_content.css("padding-top"))+parseFloat(this.modal_body.css("padding-top")),right:parseFloat(this.modal_dialog.css("padding-right"))+parseFloat(this.modal_content.css("padding-right"))+parseFloat(this.modal_body.css("padding-right")),bottom:parseFloat(this.modal_dialog.css("padding-bottom"))+parseFloat(this.modal_content.css("padding-bottom"))+parseFloat(this.modal_body.css("padding-bottom")),left:parseFloat(this.modal_dialog.css("padding-left"))+parseFloat(this.modal_content.css("padding-left"))+parseFloat(this.modal_body.css("padding-left"))},this.modal.on("show.bs.modal",this.options.onShow.bind(this)).on("shown.bs.modal",function(){return i.modal_shown(),i.options.onShown.call(i)}).on("hide.bs.modal",this.options.onHide.bind(this)).on("hidden.bs.modal",function(){return i.gallery&&o(document).off("keydown.ekkoLightbox"),i.modal.remove(),i.options.onHidden.call(i)}).modal("show",t),this.modal}).prototype={modal_shown:function(){var e,t=this;return this.options.remote?(this.gallery=this.$element.data("gallery"),this.gallery&&("document.body"===this.options.gallery_parent_selector||""===this.options.gallery_parent_selector?this.gallery_items=o(document.body).find('*[data-toggle="lightbox"][data-gallery="'+this.gallery+'"]'):this.gallery_items=this.$element.parents(this.options.gallery_parent_selector).first().find('*[data-toggle="lightbox"][data-gallery="'+this.gallery+'"]'),this.gallery_index=this.gallery_items.index(this.$element),o(document).on("keydown.ekkoLightbox",this.navigate.bind(this)),this.options.directional_arrows&&1<this.gallery_items.length&&(this.lightbox_container.prepend('<div class="ekko-lightbox-nav-overlay"><a href="#" class="'+this.strip_stops(this.options.left_arrow_class)+'"></a><a href="#" class="'+this.strip_stops(this.options.right_arrow_class)+'"></a></div>'),this.modal_arrows=this.lightbox_container.find("div.ekko-lightbox-nav-overlay").first(),this.lightbox_container.find("a"+this.strip_spaces(this.options.left_arrow_class)).on("click",function(e){return e.preventDefault(),t.navigate_left()}),this.lightbox_container.find("a"+this.strip_spaces(this.options.right_arrow_class)).on("click",function(e){return e.preventDefault(),t.navigate_right()}))),this.options.type?"image"===this.options.type?this.preloadImage(this.options.remote,!0):"youtube"===this.options.type&&(e=this.getYoutubeId(this.options.remote))?this.showYoutubeVideo(e):"vimeo"===this.options.type?this.showVimeoVideo(this.options.remote):"instagram"===this.options.type?this.showInstagramVideo(this.options.remote):this.error('Could not detect remote target type. Force the type using data-type="image|youtube|vimeo"'):this.detectRemoteType(this.options.remote)):this.error("No remote target given")},strip_stops:function(e){return e.replace(/\./g,"")},strip_spaces:function(e){return e.replace(/\s/g,"")},isImage:function(e){return e.match(/(^data:image\/.*,)|(\.(jp(e|g|eg)|gif|png|bmp|webp|svg)((\?|#).*)?$)/i)},isSwf:function(e){return e.match(/\.(swf)((\?|#).*)?$/i)},getYoutubeId:function(e){var t;return!(!(t=e.match(/^.*(youtu.be\/|v\/|u\/\w\/|embed\/|watch\?v=|\&v=)([^#\&\?]*).*/))||11!==t[2].length)&&t[2]},getVimeoId:function(e){return 0<e.indexOf("vimeo")&&e},getInstagramId:function(e){return 0<e.indexOf("instagram")&&e},navigate:function(e){if(39===(e=e||window.event).keyCode||37===e.keyCode){if(39===e.keyCode)return this.navigate_right();if(37===e.keyCode)return this.navigate_left()}},navigate_left:function(){var e;if(this.showLoading(),1!==this.gallery_items.length)return 0===this.gallery_index?this.gallery_index=this.gallery_items.length-1:this.gallery_index--,this.$element=o(this.gallery_items.get(this.gallery_index)),this.updateTitleAndFooter(),e=this.$element.attr("data-remote")||this.$element.attr("href"),this.detectRemoteType(e,this.$element.attr("data-type"))},navigate_right:function(){var e,t;if(this.showLoading(),1!==this.gallery_items.length)return this.gallery_index===this.gallery_items.length-1?this.gallery_index=0:this.gallery_index++,this.$element=o(this.gallery_items.get(this.gallery_index)),t=this.$element.attr("data-remote")||this.$element.attr("href"),this.updateTitleAndFooter(),this.detectRemoteType(t,this.$element.attr("data-type")),this.gallery_index+1<this.gallery_items.length&&(t=(e=o(this.gallery_items.get(this.gallery_index+1),!1)).attr("data-remote")||e.attr("href"),"image"===e.attr("data-type")||this.isImage(t))?this.preloadImage(t,!1):void 0},detectRemoteType:function(e,t){var n;return"image"===t||this.isImage(e)?(this.options.type="image",this.preloadImage(e,!0)):"youtube"===t||(n=this.getYoutubeId(e))?(this.options.type="youtube",this.showYoutubeVideo(n)):"vimeo"===t||(n=this.getVimeoId(e))?(this.options.type="vimeo",this.showVimeoVideo(n)):"instagram"===t||(n=this.getInstagramId(e))?(this.options.type="instagram",this.showInstagramVideo(n)):this.error('Could not detect remote target type. Force the type using data-type="image|youtube|vimeo"')},updateTitleAndFooter:function(){var e,t,n,r;return n=this.modal_content.find(".modal-header"),t=this.modal_content.find(".modal-footer"),r=this.$element.data("title")||"",e=this.$element.data("footer")||"",r||this.options.always_show_close?n.css("display","").find(".modal-title").html(r||" "):n.css("display","none"),e?t.css("display","").html(e):t.css("display","none"),this},showLoading:function(){return this.lightbox_body.html('<div class="modal-loading">Loading..</div>'),this},showYoutubeVideo:function(e){var t,n,r;if(t=560/315,r=this.$element.data("width")||560,n=(r=this.checkDimensions(r))/t,this.resize(r),this.lightbox_body.html('<iframe width="'+r+'" height="'+n+'" src="//www.youtube.com/embed/'+e+'?badge=0&autoplay=1&html5=1" frameborder="0" allowfullscreen></iframe>'),this.modal_arrows)return this.modal_arrows.css("display","none")},showVimeoVideo:function(e){var t,n,r;if(t=500/281,r=this.$element.data("width")||560,n=(r=this.checkDimensions(r))/t,this.resize(r),this.lightbox_body.html('<iframe width="'+r+'" height="'+n+'" src="'+e+'?autoplay=1" frameborder="0" allowfullscreen></iframe>'),this.modal_arrows)return this.modal_arrows.css("display","none")},showInstagramVideo:function(e){var t,n;if(n=this.$element.data("width")||612,t=n=this.checkDimensions(n),this.resize(n),this.lightbox_body.html('<iframe width="'+n+'" height="'+t+'" src="'+this.addTrailingSlash(e)+'embed/" frameborder="0" allowfullscreen></iframe>'),this.modal_arrows)return this.modal_arrows.css("display","none")},error:function(e){return this.lightbox_body.html(e),this},preloadImage:function(e,t){var n,r=this;return n=new Image,null!=t&&!0!==t||(n.onload=function(){var e;return(e=o("<img />")).attr("src",n.src),e.addClass("img-responsive"),r.lightbox_body.html(e),r.modal_arrows&&r.modal_arrows.css("display","block"),r.resize(n.width)},n.onerror=function(){return r.error("Failed to load image: "+e)}),n.src=e,n},resize:function(e){var t;return t=e+this.border.left+this.padding.left+this.padding.right+this.border.right,this.modal_dialog.css("width","auto").css("max-width",t),this.lightbox_container.find("a").css("padding-top",function(){return o(this).parent().height()/2}),this},checkDimensions:function(e){var t;return t=e+this.border.left+this.padding.left+this.padding.right+this.border.right,document.body.clientWidth<t&&(e=this.modal_body.width()),e},close:function(){return this.modal.modal("hide")},addTrailingSlash:function(e){return"/"!==e.substr(-1)&&(e+="/"),e}},o.fn.ekkoLightbox=function(t){return this.each(function(){var e;return e=o(this),t=o.extend({remote:e.attr("data-remote")||e.attr("href"),gallery_parent_selector:e.attr("data-parent"),type:e.attr("data-type")},t,e.data()),new n(this,t),this})},o.fn.ekkoLightbox.defaults={gallery_parent_selector:"*:not(.row)",left_arrow_class:".glyphicon .glyphicon-chevron-left",right_arrow_class:".glyphicon .glyphicon-chevron-right",directional_arrows:!0,type:null,always_show_close:!0,onShow:function(){},onShown:function(){},onHide:function(){},onHidden:function(){}}}.call(this),$(document).ready(function(){var t=0,n=function(e){var t=$(e.target),n=t.data("url"),r=t.data("target"),i=t.data("spinner");$(i).show(),$.ajax({type:"GET",url:n,dataType:"html",data:t.serialize(),success:function(e){$(r).html(e)},complete:function(){$(i).hide()}})},r=function(e){clearTimeout(t),t=setTimeout(e,200)};$(".observable").on("keyup keydown paste",function(e){r(function(){n(e)})})}); |