schild/geradeaus_rechts_files/l113.js.Download

90 lines
155 KiB
Plaintext
Raw Normal View History

2019-06-09 21:49:38 +02:00
if(!String.prototype.includes){String.prototype.includes=function(a,b){if(typeof b!=="number"){b=0}if(b+a.length>this.length){return false}else{return this.indexOf(a,b)!==-1}}}if(!Array.prototype.find){Object.defineProperty(Array.prototype,"find",{value:function(b){if(this==null){throw new TypeError('"this" is null or not defined')}var f=Object(this);var a=f.length>>>0;if(typeof b!=="function"){throw new TypeError("predicate must be a function")}var c=arguments[1];var d=0;while(d<a){var e=f[d];if(b.call(c,e,d,f)){return e}d++}return undefined},configurable:true,writable:true})}window.Modernizr=function(ap,ao,an){function aa(b){ag.cssText=b}function Y(d,c){return aa(ad.join(d+";")+(c||""))}function W(d,c){return typeof d===c}function U(d,c){return !!~(""+d).indexOf(c)}function S(f,c){for(var h in f){var g=f[h];if(!U(g,"-")&&ag[g]!==an){return c=="pfx"?g:!0}}return !1}function Q(g,c,j){for(var i in g){var h=c[g[i]];if(h!==an){return j===!1?g[i]:W(h,"function")?h.bind(j||c):h}}return !1}function O(g,f,j){var i=g.charAt(0).toUpperCase()+g.slice(1),h=(g+" "+ab.join(i+" ")+i).split(" ");return W(f,"string")||W(f,"undefined")?S(h,f):(h=(g+" "+Z.join(i+" ")+i).split(" "),Q(h,f,j))}var am="2.8.3",al={},ak=!0,aj=ao.documentElement,ai="modernizr",ah=ao.createElement(ai),ag=ah.style,af,ae={}.toString,ad=" -webkit- -moz- -o- -ms- ".split(" "),ac="Webkit Moz O ms",ab=ac.split(" "),Z=ac.toLowerCase().split(" "),X={svg:"http://www.w3.org/2000/svg"},V={},T={},R={},P=[],N=P.slice,M,K=function(v,u,t,s){var r,q,p,o,h=ao.createElement("div"),g=ao.body,b=g||ao.createElement("body");if(parseInt(t,10)){while(t--){p=ao.createElement("div"),p.id=s?s[t]:ai+(t+1),h.appendChild(p)}}return r=["&#173;",'<style id="s',ai,'">',v,"</style>"].join(""),h.id=ai,(g?h:b).innerHTML+=r,b.appendChild(h),g||(b.style.background="",b.style.overflow="hidden",o=aj.style.overflow,aj.style.overflow="hidden",aj.appendChild(b)),q=u(h,v),g?h.parentNode.removeChild(h):(b.parentNode.removeChild(b),aj.style.overflow=o),!!q},J={}.hasOwnProperty,I;!W(J,"undefined")&&!W(J.call,"undefined")?I=function(d,c){return J.call(d,c)}:I=function(d,c){return c in d&&W(d.constructor.prototype[c],"undefined")},Function.prototype.bind||(Function.prototype.bind=function(a){var h=this;if(typeof h!="function"){throw new TypeError}var g=N.call(arguments,1),f=function(){if(this instanceof f){var b=function(){};b.prototype=h.prototype;var d=new b,c=h.apply(d,g.concat(N.call(arguments)));return Object(c)===c?c:d}return h.apply(a,g.concat(N.call(arguments)))};return f}),V.touch=function(){var a;return"ontouchstart" in ap||ap.DocumentTouch&&ao instanceof DocumentTouch?a=!0:K(["@media (",ad.join("touch-enabled),("),ai,")","{#modernizr{top:9px;position:absolute}}"].join(""),function(b){a=b.offsetTop===9}),a},V.opacity=function(){return Y("opacity:.55"),/^0.55$/.test(ag.opacity)},V.csstransforms3d=function(){var b=!!O("perspective");return b&&"webkitPerspective" in aj.style&&K("@media (transform-3d),(-webkit-transform-3d){#modernizr{left:9px;position:absolute;height:3px;}}",function(a,d){b=a.offsetLeft===9&&a.offsetHeight===3}),b},V.csstransitions=function(){return O("transition")},V.svg=function(){return !!ao.createElementNS&&!!ao.createElementNS(X.svg,"svg").createSVGRect};for(var L in V){I(V,L)&&(M=L.toLowerCase(),al[M]=V[L](),P.push((al[M]?"":"no-")+M))}return al.addTest=function(e,c){if(typeof e=="object"){for(var f in e){I(e,f)&&al.addTest(f,e[f])}}else{e=e.toLowerCase();if(al[e]!==an){return al}c=typeof c=="function"?c():c,typeof ak!="undefined"&&ak&&(aj.className+=" "+(c?"":"no-")+e),al[e]=c}return al},aa(""),ah=af=null,function(au,at){function A(f,e){var h=f.createElement("p"),g=f.getElementsByTagName("head")[0]||f.documentElement;return h.innerHTML="x<style>"+e+"</style>",g.insertBefore(h.lastChild,g.firstChild)}function z(){var b=t.elements;return typeof b=="string"?b.split(" "):b}function y(d){var c=C[d[E]];return c||(c={},D++,d[E]=D,C[D]=c),c}function x(b,h,f){h||(h=at);if(B){return h.createElement(b)}f||(f=y(h));var e;return f.cache[b]?e=f.cache[b].cloneNode():G.test(b)?e=(f.cache[b]=f.cr
/*!
* jQuery JavaScript Library v1.10.2
* http://jquery.com/
*
* Includes Sizzle.js
* http://sizzlejs.com/
*
* Copyright 2005, 2013 jQuery Foundation, Inc. and other contributors
* Released under the MIT license
* http://jquery.org/license
*
* Date: 2013-07-03T13:48Z
*/
(function(a2,aF){var ah,x,aB=typeof aF,aK=a2.location,m=a2.document,bW=m.documentElement,bi=a2.jQuery,H=a2.$,Z={},a6=[],t="1.10.2",aH=a6.concat,an=a6.push,a4=a6.slice,aL=a6.indexOf,z=Z.toString,U=Z.hasOwnProperty,aP=t.trim,bJ=function(e,b4){return new bJ.fn.init(e,b4,x)},bA=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,ab=/\S+/g,C=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,br=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/,a=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,bh=/^[\],:{}\s]*$/,bk=/(?:^|:|,)(?:\s*\[)+/g,bG=/\\(?:["\\\/bfnrt]|u[\da-fA-F]{4})/g,aY=/"[^"\\\r\n]*"|true|false|null|-?(?:\d+\.|)\d+(?:[eE][+-]?\d+|)/g,bS=/^-ms-/,aU=/-([\da-z])/gi,L=function(e,b4){return b4.toUpperCase()},bX=function(e){if(m.addEventListener||e.type==="load"||m.readyState==="complete"){bl();bJ.ready()}},bl=function(){if(m.addEventListener){m.removeEventListener("DOMContentLoaded",bX,false);a2.removeEventListener("load",bX,false)}else{m.detachEvent("onreadystatechange",bX);a2.detachEvent("onload",bX)}};bJ.fn=bJ.prototype={jquery:t,constructor:bJ,init:function(e,b6,b5){var b4,b7;if(!e){return this}if(typeof e==="string"){if(e.charAt(0)==="<"&&e.charAt(e.length-1)===">"&&e.length>=3){b4=[null,e,null]}else{b4=br.exec(e)}if(b4&&(b4[1]||!b6)){if(b4[1]){b6=b6 instanceof bJ?b6[0]:b6;bJ.merge(this,bJ.parseHTML(b4[1],b6&&b6.nodeType?b6.ownerDocument||b6:m,true));if(a.test(b4[1])&&bJ.isPlainObject(b6)){for(b4 in b6){if(bJ.isFunction(this[b4])){this[b4](b6[b4])}else{this.attr(b4,b6[b4])}}}return this}else{b7=m.getElementById(b4[2]);if(b7&&b7.parentNode){if(b7.id!==b4[2]){return b5.find(e)}this.length=1;this[0]=b7}this.context=m;this.selector=e;return this}}else{if(!b6||b6.jquery){return(b6||b5).find(e)}else{return this.constructor(b6).find(e)}}}else{if(e.nodeType){this.context=this[0]=e;this.length=1;return this}else{if(bJ.isFunction(e)){return b5.ready(e)}}}if(e.selector!==aF){this.selector=e.selector;this.context=e.context}return bJ.makeArray(e,this)},selector:"",length:0,toArray:function(){return a4.call(this)},get:function(e){return e==null?this.toArray():(e<0?this[this.length+e]:this[e])},pushStack:function(e){var b4=bJ.merge(this.constructor(),e);b4.prevObject=this;b4.context=this.context;return b4},each:function(b4,e){return bJ.each(this,b4,e)},ready:function(e){bJ.ready.promise().done(e);return this},slice:function(){return this.pushStack(a4.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(b5){var e=this.length,b4=+b5+(b5<0?e:0);return this.pushStack(b4>=0&&b4<e?[this[b4]]:[])},map:function(e){return this.pushStack(bJ.map(this,function(b5,b4){return e.call(b5,b4,b5)}))},end:function(){return this.prevObject||this.constructor(null)},push:an,sort:[].sort,splice:[].splice};bJ.fn.init.prototype=bJ.fn;bJ.extend=bJ.fn.extend=function(){var e,b9,b4,b5,cc,ca,b8=arguments[0]||{},b7=1,b6=arguments.length,cb=false;if(typeof b8==="boolean"){cb=b8;b8=arguments[1]||{};b7=2}if(typeof b8!=="object"&&!bJ.isFunction(b8)){b8={}}if(b6===b7){b8=this;--b7}for(;b7<b6;b7++){if((cc=arguments[b7])!=null){for(b5 in cc){e=b8[b5];b4=cc[b5];if(b8===b4){continue}if(cb&&b4&&(bJ.isPlainObject(b4)||(b9=bJ.isArray(b4)))){if(b9){b9=false;ca=e&&bJ.isArray(e)?e:[]}else{ca=e&&bJ.isPlainObject(e)?e:{}}b8[b5]=bJ.extend(cb,ca,b4)}else{if(b4!==aF){b8[b5]=b4}}}}}return b8};bJ.extend({expando:"jQuery"+(t+Math.random()).replace(/\D/g,""),noConflict:function(e){if(a2.$===bJ){a2.$=H}if(e&&a2.jQuery===bJ){a2.jQuery=bi}return bJ},isReady:false,readyWait:1,holdReady:function(e){if(e){bJ.readyWait++}else{bJ.ready(true)}},ready:function(e){if(e===true?--bJ.readyWait:bJ.isReady){return}if(!m.body){return setTimeout(bJ.ready)}bJ.isReady=true;if(e!==true&&--bJ.readyWait>0){return}ah.resolveWith(m,[bJ]);if(bJ.fn.trigger){bJ(m).trigger("ready").off("ready")}},isFunction:function(e){return bJ.type(e)==="function"},isArray:Array.isArray||function(e){return bJ.type(e)==="array"},isWindow:function(e){return e!=null&&e==e.window},isNumeric:function(e){return !isNaN(parseFloat(e))&&isFinite(e)},type:function(e){if(e==null){return String(e)}return typeof e==="object"||typeof e=
/*!
* Sizzle CSS Selector Engine v1.10.2
* http://sizzlejs.com/
*
* Copyright 2013 jQuery Foundation, Inc. and other contributors
* Released under the MIT license
* http://jquery.org/license
*
* Date: 2013-07-03
*/
(function(dd,ci){var cx,dg,cd,cn,cG,cJ,cU,dk,cH,cX,cB,co,c6,c1,de,cc,cE,c8="sizzle"+-(new Date()),cI=dd.document,dh=0,c2=0,b7=cz(),c7=cz(),cF=cz(),cV=false,cD=function(dl,e){if(dl===e){cV=true;return 0}return 0},dc=typeof ci,cP=1<<31,cN=({}).hasOwnProperty,da=[],db=da.pop,cL=da.push,b5=da.push,cm=da.slice,cb=da.indexOf||function(dm){var dl=0,e=this.length;for(;dl<e;dl++){if(this[dl]===dm){return dl}}return -1},b6="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",cp="[\\x20\\t\\r\\n\\f]",b4="(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",cK=b4.replace("w","w#"),c4="\\["+cp+"*("+b4+")"+cp+"*(?:([*^$|!~]?=)"+cp+"*(?:(['\"])((?:\\\\.|[^\\\\])*?)\\3|("+cK+")|)|)"+cp+"*\\]",ck=":("+b4+")(?:\\(((['\"])((?:\\\\.|[^\\\\])*?)\\3|((?:\\\\.|[^\\\\()[\\]]|"+c4.replace(3,8)+")*)|.*)\\)|)",cr=new RegExp("^"+cp+"+|((?:^|[^\\\\])(?:\\\\.)*)"+cp+"+$","g"),cu=new RegExp("^"+cp+"*,"+cp+"*"),cA=new RegExp("^"+cp+"*([>+~]|"+cp+")"+cp+"*"),cZ=new RegExp(cp+"*[+~]"),ct=new RegExp("="+cp+"*([^\\]'\"]*)"+cp+"*\\]","g"),cR=new RegExp(ck),cS=new RegExp("^"+cK+"$"),c0={ID:new RegExp("^#("+b4+")"),CLASS:new RegExp("^\\.("+b4+")"),TAG:new RegExp("^("+b4.replace("w","w*")+")"),ATTR:new RegExp("^"+c4),PSEUDO:new RegExp("^"+ck),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+cp+"*(even|odd|(([+-]|)(\\d*)n|)"+cp+"*(?:([+-]|)"+cp+"*(\\d+)|))"+cp+"*\\)|)","i"),bool:new RegExp("^(?:"+b6+")$","i"),needsContext:new RegExp("^"+cp+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+cp+"*((?:-\\d)?\\d*)"+cp+"*\\)|)(?=[^-]|$)","i")},cO=/^[^{]+\{\s*\[native \w/,cQ=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ca=/^(?:input|select|textarea|button)$/i,cl=/^h\d$/i,cM=/'|\\/g,cs=new RegExp("\\\\([\\da-f]{1,6}"+cp+"?|("+cp+")|.)","ig"),c3=function(e,dn,dl){var dm="0x"+dn-65536;return dm!==dm||dl?dn:dm<0?String.fromCharCode(dm+65536):String.fromCharCode(dm>>10|55296,dm&1023|56320)};try{b5.apply((da=cm.call(cI.childNodes)),cI.childNodes);da[cI.childNodes.length].nodeType}catch(cC){b5={apply:da.length?function(dl,e){cL.apply(dl,cm.call(e))}:function(dn,dm){var e=dn.length,dl=0;while((dn[e++]=dm[dl++])){}dn.length=e-1}}}function cv(dt,dl,dx,dz){var dy,dq,dr,dv,dw,dp,dn,e,dm,du;if((dl?dl.ownerDocument||dl:cI)!==cB){cX(dl)}dl=dl||cB;dx=dx||[];if(!dt||typeof dt!=="string"){return dx}if((dv=dl.nodeType)!==1&&dv!==9){return[]}if(c6&&!dz){if((dy=cQ.exec(dt))){if((dr=dy[1])){if(dv===9){dq=dl.getElementById(dr);if(dq&&dq.parentNode){if(dq.id===dr){dx.push(dq);return dx}}else{return dx}}else{if(dl.ownerDocument&&(dq=dl.ownerDocument.getElementById(dr))&&cE(dl,dq)&&dq.id===dr){dx.push(dq);return dx}}}else{if(dy[2]){b5.apply(dx,dl.getElementsByTagName(dt));return dx}else{if((dr=dy[3])&&dg.getElementsByClassName&&dl.getElementsByClassName){b5.apply(dx,dl.getElementsByClassName(dr));return dx}}}}if(dg.qsa&&(!c1||!c1.test(dt))){e=dn=c8;dm=dl;du=dv===9&&dt;if(dv===1&&dl.nodeName.toLowerCase()!=="object"){dp=cg(dt);if((dn=dl.getAttribute("id"))){e=dn.replace(cM,"\\$&")}else{dl.setAttribute("id",e)}e="[id='"+e+"'] ";dw=dp.length;while(dw--){dp[dw]=e+ch(dp[dw])}dm=cZ.test(dt)&&dl.parentNode||dl;du=dp.join(",")}if(du){try{b5.apply(dx,dm.querySelectorAll(du));return dx}catch(ds){}finally{if(!dn){dl.removeAttribute("id")}}}}}return df(dt.replace(cr,"$1"),dl,dx,dz)}function cz(){var dl=[];function e(dm,dn){if(dl.push(dm+=" ")>cn.cacheLength){delete e[dl.shift()]}return(e[dm]=dn)}return e}function cj(e){e[c8]=true;return e}function ce(dl){var dn=cB.createElement("div");try{return !!dl(dn)}catch(dm){return false}finally{if(dn.parentNode){dn.parentNode.removeChild(dn)}dn=null}}function di(dl,dn){var e=dl.split("|"),dm=dl.length;while(dm--){cn.attrHandle[e[dm]]=dn}}function b8(dl,e){var dn=e&&dl,dm=dn&&dl.nodeType===1&&e.nodeType===1&&(~e.sourceIndex||cP)-(~dl.sourceIndex||cP);if(dm){return dm}if(dn){while((dn=dn.nextSibling)){if(dn===e){return -1}}}return dl?1:-1}function cw(e){return function(dm){var dl=dm.nodeName.toLowerCase();return dl==="input"&&dm.type===e}}function b9(e){return function(dm){var dl=dm.nodeName.toLowe
/*!
* EventEmitter2
* https://github.com/hij1nx/EventEmitter2
*
* Copyright (c) 2013 hij1nx
* Licensed under the MIT license.
*/
;!function(b){var d=Array.isArray?Array.isArray:function g(j){return Object.prototype.toString.call(j)==="[object Array]"};var e=10;function h(){this._events={};if(this._conf){a.call(this,this._conf)}}function a(j){if(j){this._conf=j;j.delimiter&&(this.delimiter=j.delimiter);j.maxListeners&&(this._events.maxListeners=j.maxListeners);j.wildcard&&(this.wildcard=j.wildcard);j.newListener&&(this.newListener=j.newListener);if(this.wildcard){this.listenerTree={}}}}function i(j){this._events={};this.newListener=false;a.call(this,j)}function c(k,t,y,n){if(!y){return[]}var u=[],q,p,w,x,s,r,m,j=t.length,o=t[n],v=t[n+1];if(n===j&&y._listeners){if(typeof y._listeners==="function"){k&&k.push(y._listeners);return[y]}else{for(q=0,p=y._listeners.length;q<p;q++){k&&k.push(y._listeners[q])}return[y]}}if((o==="*"||o==="**")||y[o]){if(o==="*"){for(w in y){if(w!=="_listeners"&&y.hasOwnProperty(w)){u=u.concat(c(k,t,y[w],n+1))}}return u}else{if(o==="**"){m=(n+1===j||(n+2===j&&v==="*"));if(m&&y._listeners){u=u.concat(c(k,t,y,j))}for(w in y){if(w!=="_listeners"&&y.hasOwnProperty(w)){if(w==="*"||w==="**"){if(y[w]._listeners&&!m){u=u.concat(c(k,t,y[w],j))}u=u.concat(c(k,t,y[w],n))}else{if(w===v){u=u.concat(c(k,t,y[w],n+2))}else{u=u.concat(c(k,t,y[w],n))}}}}return u}}u=u.concat(c(k,t,y[o],n+1))}x=y["*"];if(x){c(k,t,x,n+1)}s=y["**"];if(s){if(n<j){if(s._listeners){c(k,t,s,j)}for(w in s){if(w!=="_listeners"&&s.hasOwnProperty(w)){if(w===v){c(k,t,s[w],n+2)}else{if(w===o){c(k,t,s[w],n+1)}else{r={};r[w]=s[w];c(k,t,{"**":r},n+1)}}}}}else{if(s._listeners){c(k,t,s,j)}else{if(s["*"]&&s["*"]._listeners){c(k,t,s["*"],j)}}}}return u}function f(q,r){q=typeof q==="string"?q.split(this.delimiter):q.slice();for(var p=0,n=q.length;p+1<n;p++){if(q[p]==="**"&&q[p+1]==="**"){return}}var k=this.listenerTree;var o=q.shift();while(o){if(!k[o]){k[o]={}}k=k[o];if(q.length===0){if(!k._listeners){k._listeners=r}else{if(typeof k._listeners==="function"){k._listeners=[k._listeners,r]}else{if(d(k._listeners)){k._listeners.push(r);if(!k._listeners.warned){var j=e;if(typeof this._events.maxListeners!=="undefined"){j=this._events.maxListeners}if(j>0&&k._listeners.length>j){k._listeners.warned=true}}}}}return true}o=q.shift()}return true}i.prototype.delimiter=".";i.prototype.setMaxListeners=function(j){this._events||h.call(this);this._events.maxListeners=j;if(!this._conf){this._conf={}}this._conf.maxListeners=j};i.prototype.event="";i.prototype.once=function(k,j){this.many(k,1,j);return this};i.prototype.many=function(n,j,m){var k=this;if(typeof m!=="function"){throw new Error("many only accepts instances of Function")}function o(){if(--j===0){k.off(n,o)}m.apply(this,arguments)}o._origin=m;this.on(n,o);return k};i.prototype.emit=function(){this._events||h.call(this);var q=arguments[0];if(q==="newListener"&&!this.newListener){if(!this._events.newListener){return false}}if(this._all){var j=arguments.length;var k=new Array(j-1);for(var m=1;m<j;m++){k[m-1]=arguments[m]}for(m=0,j=this._all.length;m<j;m++){this.event=q;this._all[m].apply(this,k)}}if(q==="error"){if(!this._all&&!this._events.error&&!(this.wildcard&&this.listenerTree.error)){if(arguments[1] instanceof Error){throw arguments[1]}else{throw new Error("Uncaught, unspecified 'error' event.")}return false}}var p;if(this.wildcard){p=[];var o=typeof q==="string"?q.split(this.delimiter):q.slice();c.call(this,p,o,this.listenerTree,0)}else{p=this._events[q]}if(typeof p==="function"){this.event=q;if(arguments.length===1){p.call(this)}else{if(arguments.length>1){switch(arguments.length){case 2:p.call(this,arguments[1]);break;case 3:p.call(this,arguments[1],arguments[2]);break;default:var j=arguments.length;var k=new Array(j-1);for(var m=1;m<j;m++){k[m-1]=arguments[m]}p.apply(this,k)}}}return true}else{if(p){var j=arguments.length;var k=new Array(j-1);for(var m=1;m<j;m++){k[m-1]=arguments[m]}var n=p.slice();for(var m=0,j=n.length;m<j;m++){this.event=q;n[m].apply(this,k)}return(n.length>0)||!!this._all}else{return !!this._all}}};i.prototype.on=function(k,n){if(typeof k==="function"){this.onAny(k);return this}if(typeof n!=="function"){thro
/*!
* jQuery throttle / debounce - v1.1 - 3/7/2010
* http://benalman.com/projects/jquery-throttle-debounce-plugin/
*
* Copyright (c) 2010 "Cowboy" Ben Alman
* Dual licensed under the MIT and GPL licenses.
* http://benalman.com/about/license/
*/
(function(b,c){var $=b.jQuery||b.Cowboy||(b.Cowboy={}),a;$.throttle=a=function(e,f,j,i){var h,d=0;if(typeof f!=="boolean"){i=j;j=f;f=c}function g(){var p=this,n=+new Date()-d,o=arguments;function m(){d=+new Date();j.apply(p,o)}function k(){h=c}if(i&&!h){m()}h&&clearTimeout(h);if(i===c&&n>e){m()}else{if(f!==true){h=setTimeout(i?k:m,i===c?e-n:e)}}}if($.guid){g.guid=j.guid=j.guid||$.guid++}return g};$.debounce=function(d,e,f){return f===c?a(d,e,false):a(d,f,e!==false)}})(this);function sprintf(){var g=/%%|%(\d+\$)?([-+\'#0 ]*)(\*\d+\$|\*|\d+)?(\.(\*\d+\$|\*|\d+))?([scboxXuidfegEG])/g;var h=arguments,f=0,k=h[f++];var b=function(o,a,i,n){if(!i){i=" "}var m=(o.length>=a)?"":Array(1+a-o.length>>>0).join(i);return n?o+m:m+o};var c=function(n,m,q,a,i,p){var o=a-n.length;if(o>0){if(q||!i){n=b(n,a,p,q)}else{n=n.slice(0,m.length)+b("",o,"0",true)+n.slice(m.length)}}return n};var j=function(q,p,o,r,i,a,n){var m=q>>>0;o=o&&m&&{"2":"0b","8":"0","16":"0x"}[p]||"";q=o+b(m.toString(p),a||0,"0",false);return c(q,o,r,i,n)};var e=function(n,p,i,a,m,o){if(a!=null){n=n.slice(0,a)}return c(n,"",p,i,m,o)};var d=function(A,n,o,s,C,x,m){var a;var w;var i;var B;var u;if(A=="%%"){return"%"}var t=false,p="",r=false,z=false,y=" ";var q=o.length;for(var v=0;o&&v<q;v++){switch(o.charAt(v)){case" ":p=" ";break;case"+":p="+";break;case"-":t=true;break;case"'":y=o.charAt(v+1);break;case"0":r=true;break;case"#":z=true;break}}if(!s){s=0}else{if(s=="*"){s=+h[f++]}else{if(s.charAt(0)=="*"){s=+h[s.slice(1,-1)]}else{s=+s}}}if(s<0){s=-s;t=true}if(!isFinite(s)){throw new Error("sprintf: (minimum-)width must be finite")}if(!x){x="fFeE".indexOf(m)>-1?6:(m=="d")?0:undefined}else{if(x=="*"){x=+h[f++]}else{if(x.charAt(0)=="*"){x=+h[x.slice(1,-1)]}else{x=+x}}}u=n?h[n.slice(0,-1)]:h[f++];switch(m){case"s":return e(String(u),t,s,x,r,y);case"c":return e(String.fromCharCode(+u),t,s,x,r);case"b":return j(u,2,z,t,s,x,r);case"o":return j(u,8,z,t,s,x,r);case"x":return j(u,16,z,t,s,x,r);case"X":return j(u,16,z,t,s,x,r).toUpperCase();case"u":return j(u,10,z,t,s,x,r);case"i":case"d":a=(+u)|0;w=a<0?"-":p;u=w+b(String(Math.abs(a)),x,"0",false);return c(u,w,t,s,r);case"e":case"E":case"f":case"F":case"g":case"G":a=+u;w=a<0?"-":p;i=["toExponential","toFixed","toPrecision"]["efg".indexOf(m.toLowerCase())];B=["toString","toUpperCase"]["eEfFgG".indexOf(m)%2];u=w+Math.abs(a)[i](x);return c(u,w,t,s,r)[B]();default:return A}};return k.replace(g,d)}
/*!
Pure Javascript implementation of Uniforum message translation.
Copyright (C) 2008 Joshua I. Miller <unrtst@cpan.org>, all rights reserved
This program is free software; you can redistribute it and/or modify it
under the terms of the GNU Library General Public License as published
by the Free Software Foundation; either version 2, or (at your option)
any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Library General Public License for more details.
You should have received a copy of the GNU Library General Public
License along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
USA.
*/
;Gettext=function(c){this.domain="messages";this.locale_data=undefined;var b=["domain","locale_data"];if(this.isValidObject(c)){for(var d in c){for(var a=0;a<b.length;a++){if(d==b[a]){if(this.isValidObject(c[d])){this[d]=c[d]}}}}}this.try_load_lang();return this};Gettext.context_glue="\004";Gettext._locale_data={};Gettext.prototype.try_load_lang=function(){if(typeof(this.locale_data)!="undefined"){var d=this.locale_data;this.locale_data=undefined;this.parse_locale_data(d);if(typeof(Gettext._locale_data[this.domain])=="undefined"){throw new Error("Error: Gettext 'locale_data' does not contain the domain '"+this.domain+"'")}}var b=this.get_lang_refs();if(typeof(b)=="object"&&b.length>0){for(var a=0;a<b.length;a++){var c=b[a];if(c.type=="application/json"){if(!this.try_load_lang_json(c.href)){throw new Error("Error: Gettext 'try_load_lang_json' failed. Unable to exec xmlhttprequest for link ["+c.href+"]")}}else{if(c.type=="application/x-po"){if(!this.try_load_lang_po(c.href)){throw new Error("Error: Gettext 'try_load_lang_po' failed. Unable to exec xmlhttprequest for link ["+c.href+"]")}}else{throw new Error("TODO: link type ["+c.type+"] found, and support is planned, but not implemented at this time.")}}}}};Gettext.prototype.parse_locale_data=function(f){if(typeof(Gettext._locale_data)=="undefined"){Gettext._locale_data={}}for(var e in f){if((!f.hasOwnProperty(e))||(!this.isValidObject(f[e]))){continue}var b=false;for(var a in f[e]){b=true;break}if(!b){continue}var g=f[e];if(e==""){e="messages"}if(!this.isValidObject(Gettext._locale_data[e])){Gettext._locale_data[e]={}}if(!this.isValidObject(Gettext._locale_data[e].head)){Gettext._locale_data[e].head={}}if(!this.isValidObject(Gettext._locale_data[e].msgs)){Gettext._locale_data[e].msgs={}}for(var o in g){if(o==""){var j=g[o];for(var n in j){var i=n.toLowerCase();Gettext._locale_data[e].head[i]=j[n]}}else{Gettext._locale_data[e].msgs[o]=g[o]}}}for(var e in Gettext._locale_data){if(this.isValidObject(Gettext._locale_data[e].head["plural-forms"])&&typeof(Gettext._locale_data[e].head.plural_func)=="undefined"){var m=Gettext._locale_data[e].head["plural-forms"];var d=new RegExp("^(\\s*nplurals\\s*=\\s*[0-9]+\\s*;\\s*plural\\s*=\\s*(?:\\s|[-\\?\\|&=!<>+*/%:;a-zA-Z0-9_()])+)","m");if(d.test(m)){var k=Gettext._locale_data[e].head["plural-forms"];if(!/;\s*$/.test(k)){k=k.concat(";")}var c="var plural; var nplurals; "+k+' return { "nplural" : nplurals, "plural" : (plural === true ? 1 : plural ? plural : 0) };';Gettext._locale_data[e].head.plural_func=new Function("n",c)}else{throw new Error("Syntax error in language file. Plural-Forms header is invalid ["+m+"]")}}else{if(typeof(Gettext._locale_data[e].head.plural_func)=="undefined"){Gettext._locale_data[e].head.plural_func=function(q){var h=(q!=1)?1:0;return{nplural:2,plural:h}}}}}return};Gettext.prototype.try_load_lang_po=function(b){var d=this.sjax(b);if(!d){return}var c=this.uri_basename(b);var a=this.parse_po(d);var e={};if(a){if(!a[""]){a[""]={}}if(!a[""]["domain"]){a[""]["domain"]=c}c=a[""]["domain"];e[c]=a;this.parse_locale_data(e)}return 1};Gettext.prototype.uri_basename=function(b){var c;if(c=b.match(/^(.*\/)?(.*)/)){var a;if(a=c[2].match(/^(.*)\..+$/)){return a[1]}else{return c[2]}}else{return""}};Gettext.prototype.parse_po=function(r){var e={};var m={};var j="";var g=[];var a=r.split("\n");for(var o=0;o<a.length;o++){a[o]=a[o].replace(/(\n|\r)+$/,"");var f;if(/^$/.test(a[o])){if(typeof(m.msgid)!="undefined"){var q=(typeof(m.msgctxt)!="undefined"&&m.msgctxt.length)?m.msgctxt+Gettext.context_glue+m.msgid:m.msgid;var n=(typeof(m.msgid_plural)!="undefined"&&m.msgid_plural.length)?m.msgid_plural:null;var c=[];for(var k in m){var f;if(f=k.match(/^msgstr_(\d+)/)){c[parseInt(f[1])]=m[k]}}c.unshift(n);if(c.length>1){e[q]=c}m={};j=""}}else{if(/^#/.test(a[o])){continue}else{if(f=a[o].match(/^msgctxt\s+(.*)/)){j="msgctxt";m[j]=this.parse_po_dequote(f[1])}else{if(f=a[o].match(/^msgid\s+(.*)/)){j="msgid";m[j]=this.parse_po_dequote(f[1])}else{if(f=a[o].match(/^msgid_plural\s+(.*)/)){j="msgid_plural";m[j]=this.parse_po_dequote(f[1])}else
/*!
handlebars v1.3.0
Copyright (C) 2011 by Yehuda Katz
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
@license
*/
;var Handlebars=(function(){var f=(function(){var g;function h(i){this.string=i}h.prototype.toString=function(){return""+this.string};g=h;return g})();var c=(function(q){var r={};var j=q;var s={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#x27;","`":"&#x60;"};var g=/[&<>"'`]/g;var k=/[&<>"'`]/;function t(u){return s[u]||"&amp;"}function p(w,v){for(var u in v){if(Object.prototype.hasOwnProperty.call(v,u)){w[u]=v[u]}}}r.extend=p;var i=Object.prototype.toString;r.toString=i;var h=function(u){return typeof u==="function"};if(h(/x/)){h=function(u){return typeof u==="function"&&i.call(u)==="[object Function]"}}var h;r.isFunction=h;var o=Array.isArray||function(u){return(u&&typeof u==="object")?i.call(u)==="[object Array]":false};r.isArray=o;function n(u){if(u instanceof j){return u.toString()}else{if(!u&&u!==0){return""}}u=""+u;if(!k.test(u)){return u}return u.replace(g,t)}r.escapeExpression=n;function m(u){if(!u&&u!==0){return true}else{if(o(u)&&u.length===0){return true}else{return false}}}r.isEmpty=m;return r})(f);var d=(function(){var h;var i=["description","fileName","lineNumber","message","name","number","stack"];function g(o,n){var k;if(n&&n.firstLine){k=n.firstLine;o+=" - "+k+":"+n.firstColumn}var m=Error.prototype.constructor.call(this,o);for(var j=0;j<i.length;j++){this[i[j]]=m[i[j]]}if(k){this.lineNumber=k;this.column=n.firstColumn}}g.prototype=new Error();h=g;return h})();var e=(function(s,v){var u={};var q=s;var o=v;var x="1.3.0";u.VERSION=x;var h=4;u.COMPILER_REVISION=h;var k={1:"<= 1.0.rc.2",2:"== 1.0.0-rc.3",3:"== 1.0.0-rc.4",4:">= 1.0.0"};u.REVISION_CHANGES=k;var p=q.isArray,j=q.isFunction,i=q.toString,g="[object Object]";function n(z,y){this.helpers=z||{};this.partials=y||{};r(this)}u.HandlebarsEnvironment=n;n.prototype={constructor:n,logger:t,log:m,registerHelper:function(z,A,y){if(i.call(z)===g){if(y||A){throw new o("Arg not supported with multiple helpers")}q.extend(this.helpers,z)}else{if(y){A.not=y}this.helpers[z]=A}},registerPartial:function(y,z){if(i.call(y)===g){q.extend(this.partials,y)}else{this.partials[y]=z}}};function r(y){y.registerHelper("helperMissing",function(z){if(arguments.length===2){return undefined}else{throw new o("Missing helper: '"+z+"'")}});y.registerHelper("blockHelperMissing",function(B,A){var z=A.inverse||function(){},C=A.fn;if(j(B)){B=B.call(this)}if(B===true){return C(this)}else{if(B===false||B==null){return z(this)}else{if(p(B)){if(B.length>0){return y.helpers.each(B,A)}else{return z(this)}}else{return C(B)}}}});y.registerHelper("each",function(z,H){var F=H.fn,B=H.inverse;var D=0,E="",C;if(j(z)){z=z.call(this)}if(H.data){C=w(H.data)}if(z&&typeof z==="object"){if(p(z)){for(var A=z.length;D<A;D++){if(C){C.index=D;C.first=(D===0);C.last=(D===(z.length-1))}E=E+F(z[D],{data:C})}}else{for(var G in z){if(z.hasOwnProperty(G)){if(C){C.key=G;C.index=D;C.first=(D===0)}E=E+F(z[G],{data:C});D++}}}}if(D===0){E=B(this)}return E});y.registerHelper("if",function(A,z){if(j(A)){A=A.call(this)}if((!z.hash.includeZero&&!A)||q.isEmpty(A)){return z.inverse(this)}else{return z.fn(this)}});y.registerHelper("unless",function(A,z){return y.helpers["if"].call(this,A,{fn:z.inverse,inverse:z.fn,hash:z.hash})});y.registerHelper("with",function(A,z){if(j(A)){A=A.call(this)}if(!q.isEmpty(A)){return z.fn(A)}});y.registerHelper("log",function(A,z){var B=z.data&&z.data.level!=null?parseInt(z.data.level,10):1;y.log(B,A)})}var t={methodMap:{0:"debug",1:"info",2:"warn",3:"error"},DEBUG:0,INFO:1,WARN:2,ERROR:3,level:3,log:function(A,y){if(t.level<=A){var z=t.methodMap[A];if(typeof console!=="undefined"&&console[z]){console[z].call(console,y)}}}};u.logger=t;function m(z,y){t.log(z,y)}u.log=m;var w=function(y){var z={};q.extend(z,y);return z};u.createFrame=w;return u})(c,d);var b=(function(q,u,j){var s={};var p=q;var n=u;var i=j.COMPILER_REVISION;var m=j.REVISION_CHANGES;function h(x){var w=x&&x[0]||1,z=i;if(w!==z){if(w<z){var v=m[z],y=m[w];throw new n("Template was precompiled with an older version of Handlebars than the current runtime. Please update your precompiler to a newer version ("+v+") or downgrade