emblem-source 0.1.11 → 0.1.12
Sign up to get free protection for your applications and to get access to all the features.
- data/dist/emblem.js +1 -1
- data/dist/emblem.min.js +2 -2
- metadata +2 -2
data/dist/emblem.js
CHANGED
data/dist/emblem.min.js
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
(function(e){(function(e){var t;t=function(){function e(e){this.str=e!=null?e:"",this.str=""+this.str,this.pos=0,this.lastMatch={reset:function(){return this.str=null,this.captures=[],this}}.reset(),this}return e.prototype.bol=function(){return this.pos<=0||this.str[this.pos-1]==="\n"},e.prototype.captures=function(){return this.lastMatch.captures},e.prototype.check=function(e){var t;return this.str.substr(this.pos).search(e)!==0?(this.lastMatch.reset(),null):(t=this.str.substr(this.pos).match(e),this.lastMatch.str=t[0],this.lastMatch.captures=t.slice(1),this.lastMatch.str)},e.prototype.checkUntil=function(e){var t,n;return n=this.str.substr(this.pos).search(e),n<0?(this.lastMatch.reset(),null):(t=this.str.substr(this.pos+n).match(e),this.lastMatch.captures=t.slice(1),this.lastMatch.str=this.str.substr(this.pos,n)+t[0])},e.prototype.clone=function(){var e,t,n,r;e=new this.constructor(this.str),e.pos=this.pos,e.lastMatch={},r=this.lastMatch;for(t in r)n=r[t],e.lastMatch[t]=n;return e},e.prototype.concat=function(e){return this.str+=e,this},e.prototype.eos=function(){return this.pos===this.str.length},e.prototype.exists=function(e){var t,n;return n=this.str.substr(this.pos).search(e),n<0?(this.lastMatch.reset(),null):(t=this.str.substr(this.pos+n).match(e),this.lastMatch.str=t[0],this.lastMatch.captures=t.slice(1),n)},e.prototype.getch=function(){return this.scan(/./)},e.prototype.match=function(){return this.lastMatch.str},e.prototype.matches=function(e){return this.check(e),this.matchSize()},e.prototype.matched=function(){return this.lastMatch.str!=null},e.prototype.matchSize=function(){return this.matched()?this.match().length:null},e.prototype.peek=function(e){return this.str.substr(this.pos,e)},e.prototype.pointer=function(){return this.pos},e.prototype.setPointer=function(e){return e=+e,e<0&&(e=0),e>this.str.length&&(e=this.str.length),this.pos=e},e.prototype.reset=function(){return this.lastMatch.reset(),this.pos=0,this},e.prototype.rest=function(){return this.str.substr(this.pos)},e.prototype.scan=function(e){var t;return t=this.check(e),t!=null&&(this.pos+=t.length),t},e.prototype.scanUntil=function(e){var t;return t=this.checkUntil(e),t!=null&&(this.pos+=t.length),t},e.prototype.skip=function(e){return this.scan(e),this.matchSize()},e.prototype.skipUntil=function(e){return this.scanUntil(e),this.matchSize()},e.prototype.string=function(){return this.str},e.prototype.terminate=function(){return this.pos=this.str.length,this.lastMatch.reset(),this},e.prototype.toString=function(){return"#<StringScanner "+(this.eos()?"fin":""+this.pos+"/"+this.str.length+" @ "+(this.str.length>8?""+this.str.substr(0,5)+"...":this.str))+">"},e}(),t.prototype.beginningOfLine=t.prototype.bol,t.prototype.clear=t.prototype.terminate,t.prototype.dup=t.prototype.clone,t.prototype.endOfString=t.prototype.eos,t.prototype.exist=t.prototype.exists,t.prototype.getChar=t.prototype.getch,t.prototype.position=t.prototype.pointer,t.StringScanner=t,this.StringScanner=t})(this);var t=this.StringScanner,n;this.Emblem={},n=this.Emblem,n.VERSION="0.1.9",n.Parser=function(){function e(e,t){function n(){this.constructor=e}n.prototype=t.prototype,e.prototype=new n}function t(e,t,n,r,i){function s(e,t){function n(e){function t(e){return e.charCodeAt(0).toString(16).toUpperCase()}return e.replace(/\\/g,"\\\\").replace(/"/g,'\\"').replace(/\x08/g,"\\b").replace(/\t/g,"\\t").replace(/\n/g,"\\n").replace(/\f/g,"\\f").replace(/\r/g,"\\r").replace(/[\x00-\x07\x0B\x0E\x0F]/g,function(e){return"\\x0"+t(e)}).replace(/[\x10-\x1F\x80-\xFF]/g,function(e){return"\\x"+t(e)}).replace(/[\u0180-\u0FFF]/g,function(e){return"\\u0"+t(e)}).replace(/[\u1080-\uFFFF]/g,function(e){return"\\u"+t(e)})}var r,i;switch(e.length){case 0:r="end of input";break;case 1:r=e[0];break;default:r=e.slice(0,-1).join(", ")+" or "+e[e.length-1]}return i=t?'"'+n(t)+'"':"end of input","Expected "+r+" but "+i+" found."}this.expected=e,this.found=t,this.offset=n,this.line=r,this.column=i,this.name="SyntaxError",this.message=s(e,t)}function r(e){function _r(){return e.substring(Nr,Tr)}function Dr(){return Nr}function Pr(){return Br(Nr).line}function Hr(){return Br(Nr).column}function Br(t){function n(t,n){var r,i;for(r=0;r<n;r++)i=e.charAt(r),i==="\n"?(t.seenCR||t.line++,t.column=1,t.seenCR=!1):i==="\r"||i==="\u2028"||i==="\u2029"?(t.line++,t.column=1,t.seenCR=!0):(t.column++,t.seenCR=!1)}return Cr!==t&&(Cr>t&&(Cr=0,kr={line:1,column:1,seenCR:!1}),Cr=t,n(kr,Cr)),kr}function jr(e){if(Tr<Lr)return;Tr>Lr&&(Lr=Tr,Ar=[]),Ar.push(e)}function Fr(e){var t=0;e.sort();while(t<e.length)e[t-1]===e[t]?e.splice(t,1):t++}function Ir(){var e;return e=qr(),e}function qr(){var t,n,r,i,s,h,p,d,v;return t=Tr,n=Rr(),n!==null?(r=Tr,i=Cs(),i!==null?(e.substr(Tr,4)===a?(s=a,Tr+=4):(s=null,Or===0&&jr(f)),s!==null?(h=Ms(),h!==null?(p=Ls(),p!==null?(d=Ts(),d!==null?(v=Rr(),v!==null?(Nr=r,i=l(v),i===null?(Tr=r,r=i):r=i):(Tr=r,r=o)):(Tr=r,r=o)):(Tr=r,r=o)):(Tr=r,r=o)):(Tr=r,r=o)):(Tr=r,r=o),r===null&&(r=u),r!==null?(Nr=t,n=c(n,r),n===null?(Tr=t,t=n):t=n):(Tr=t,t=o)):(Tr=t,t=o),t}function Rr(){var e,t,n;e=Tr,t=[],n=Ur();while(n!==null)t.push(n),n=Ur();return t!==null&&(Nr=e,t=p(t)),t===null?(Tr=e,e=t):e=t,e}function Ur(){var e,t;return Or++,e=zr(),e===null&&(e=Kr(),e===null&&(e=Wr(),e===null&&(e=Vr(),e===null&&(e=Ai(),e===null&&(e=$r()))))),Or--,e===null&&(t=null,Or===0&&jr(d)),e}function zr(){var e,t,n;return e=Tr,t=Ms(),t!==null?(n=Ls(),n!==null?(Nr=e,t=v(),t===null?(Tr=e,e=t):e=t):(Tr=e,e=o)):(Tr=e,e=o),e}function Wr(){var t,n,r,i,s,u,a,f;t=Tr,e.charCodeAt(Tr)===62?(n=m,Tr++):(n=null,Or===0&&jr(g));if(n!==null){r=Ms();if(r!==null){i=Xr();if(i!==null){s=Ms();if(s!==null){u=[],a=ai();while(a!==null)u.push(a),a=ai();u!==null?(a=Ms(),a!==null?(f=Ls(),f!==null?(Nr=t,n=y(i,u),n===null?(Tr=t,t=n):t=n):(Tr=t,t=o)):(Tr=t,t=o)):(Tr=t,t=o)}else Tr=t,t=o}else Tr=t,t=o}else Tr=t,t=o}else Tr=t,t=o;return t}function Xr(){var t,n,r,i;t=Tr,n=Tr,r=[],b.test(e.charAt(Tr))?(i=e.charAt(Tr),Tr++):(i=null,Or===0&&jr(w));if(i!==null)while(i!==null)r.push(i),b.test(e.charAt(Tr))?(i=e.charAt(Tr),Tr++):(i=null,Or===0&&jr(w));else r=o;return r!==null&&(r=e.substring(n,Tr)),n=r,n!==null&&(Nr=t,n=E(n)),n===null?(Tr=t,t=n):t=n,t}function Vr(){var e;return e=Yr(),e===null&&(e=Zr()),e}function $r(){var e,t;return e=Tr,t=ni(),t===null&&(t=Qr()),t!==null&&(Nr=e,t=S(t)),t===null?(Tr=e,e=t):e=t,e}function Jr(){var e,t,n,r,i,s,u,a;e=Tr,t=Ps();if(t!==null){n=Ls();if(n!==null){r=[],i=Tr,s=Ts();if(s!==null){u=[],a=Jr();if(a!==null)while(a!==null)u.push(a),a=Jr();else u=o;u!==null?(a=As(),a!==null?(s=[s,u,a],i=s):(Tr=i,i=o)):(Tr=i,i=o)}else Tr=i,i=o;while(i!==null){r.push(i),i=Tr,s=Ts();if(s!==null){u=[],a=Jr();if(a!==null)while(a!==null)u.push(a),a=Jr();else u=o;u!==null?(a=As(),a!==null?(s=[s,u,a],i=s):(Tr=i,i=o)):(Tr=i,i=o)}else Tr=i,i=o}r!==null?(Nr=e,t=v(),t===null?(Tr=e,e=t):e=t):(Tr=e,e=o)}else Tr=e,e=o}else Tr=e,e=o;return e}function Kr(){var t,n,r;return t=Tr,e.charCodeAt(Tr)===47?(n=x,Tr++):(n=null,Or===0&&jr(T)),n!==null?(r=Jr(),r!==null?(Nr=t,n=v(),n===null?(Tr=t,t=n):t=n):(Tr=t,t=o)):(Tr=t,t=o),t}function Qr(){var e;return e=Gr(),e===null&&(e=ei()),e}function Gr(){var t,n,r;return t=Tr,n=Tr,Or++,N.test(e.charAt(Tr))?(r=e.charAt(Tr),Tr++):(r=null,Or===0&&jr(C)),Or--,r!==null?(Tr=n,n=u):n=o,n!==null?(r=ei(),r!==null?(Nr=t,n=k(r),n===null?(Tr=t,t=n):t=n):(Tr=t,t=o)):(Tr=t,t=o),t}function Yr(){var e,t,n,r,i,s,a,f,l;e=Tr,t=Yi();if(t!==null){n=Ms();if(n!==null){r=Ls();if(r!==null){i=Tr,s=[],a=zr();while(a!==null)s.push(a),a=zr();s!==null?(a=Ts(),a!==null?(f=Rr(),f!==null?(l=Cs(),l!==null?(s=[s,a,f,l],i=s):(Tr=i,i=o)):(Tr=i,i=o)):(Tr=i,i=o)):(Tr=i,i=o),i===null&&(i=u),i!==null?(Nr=e,t=L(t,i),t===null?(Tr=e,e=t):e=t):(Tr=e,e=o)}else Tr=e,e=o}else Tr=e,e=o}else Tr=e,e=o;return e}function Zr(){var t,n,r,i,s,a,f,l;t=Tr,n=Yi();if(n!==null){e.charCodeAt(Tr)===32?(r=A,Tr++):(r=null,Or===0&&jr(O)),r===null&&(r=Tr,Or++,e.charCodeAt(Tr)===61?(i=M,Tr++):(i=null,Or===0&&jr(_)),Or--,i!==null?(Tr=r,r=u):r=o);if(r!==null){i=Ci();if(i!==null){s=Tr,a=Ts();if(a!==null){f=[],l=ki();if(l!==null)while(l!==null)f.push(l),l=ki();else f=o;f!==null?(l=Cs(),l!==null?(a=[a,f,l],s=a):(Tr=s,s=o)):(Tr=s,s=o)}else Tr=s,s=o;s===null&&(s=u),s!==null?(Nr=t,n=D(n,i,s),n===null?(Tr=t,t=n):t=n):(Tr=t,t=o)}else Tr=t,t=o}else Tr=t,t=o}else Tr=t,t=o;return t}function ei(){var e,t,n,r,i,s,a,f,l;e=ti();if(e===null){e=Tr,t=ri();if(t!==null){n=Ms();if(n!==null){r=Ls();if(r!==null){i=Tr,s=[],a=zr();while(a!==null)s.push(a),a=zr();s!==null?(a=Ts(),a!==null?(f=qr(),f!==null?(l=Cs(),l!==null?(s=[s,a,f,l],i=s):(Tr=i,i=o)):(Tr=i,i=o)):(Tr=i,i=o)):(Tr=i,i=o),i===null&&(i=u),i!==null?(Nr=e,t=P(t,i),t===null?(Tr=e,e=t):e=t):(Tr=e,e=o)}else Tr=e,e=o}else Tr=e,e=o}else Tr=e,e=o}return e}function ti(){var e,t,n,r;return e=Tr,t=ri(),t!==null?(n=Ms(),n!==null?(r=Ai(),r!==null?(Nr=e,t=H(t,r),t===null?(Tr=e,e=t):e=t):(Tr=e,e=o)):(Tr=e,e=o)):(Tr=e,e=o),e}function ni(){var e,t,n;return e=Tr,t=Gi(),t!==null?(n=ei(),n!==null?(Nr=e,t=B(t,n),t===null?(Tr=e,e=t):e=t):(Tr=e,e=o)):(Tr=e,e=o),e}function ri(){var t,n,r,i,s,a;t=Tr,e.charCodeAt(Tr)===62?(n=m,Tr++):(n=null,Or===0&&jr(g)),n===null&&(n=u);if(n!==null){r=Ms();if(r!==null){i=mi();if(i!==null){s=[],a=ai();while(a!==null)s.push(a),a=ai();s!==null?(a=fi(),a===null&&(a=u),a!==null?(Nr=t,n=j(n,i,s,a),n===null?(Tr=t,t=n):t=n):(Tr=t,t=o)):(Tr=t,t=o)}else Tr=t,t=o}else Tr=t,t=o}else Tr=t,t=o;return t}function ii(){var e,t;return e=Tr,t=cs(),t!==null&&(Nr=e,t=F(t)),t===null?(Tr=e,e=t):e=t,e===null&&(e=Tr,t=hs(),t!==null&&(Nr=e,t=I(t)),t===null?(Tr=e,e=t):e=t,e===null&&(e=Tr,t=ps(),t!==null&&(Nr=e,t=q(t)),t===null?(Tr=e,e=t):e=t)),e}function si(){var e;return e=oi(),e===null&&(e=ui()),e}function oi(){var e,t,n,r;e=Tr,t=hs();if(t!==null){n=[],r=ps();while(r!==null)n.push(r),r=ps();n!==null?(Nr=e,t=R(t,n),t===null?(Tr=e,e=t):e=t):(Tr=e,e=o)}else Tr=e,e=o;return e}function ui(){var e,t,n;e=Tr,t=[],n=ps();if(n!==null)while(n!==null)t.push(n),n=ps();else t=o;return t!==null&&(Nr=e,t=U(t)),t===null?(Tr=e,e=t):e=t,e}function ai(){var e,t,n;return e=Tr,t=Ms(),t!==null?(n=ii(),n===null&&(n=pi()),n!==null?(Nr=e,t=z(n),t===null?(Tr=e,e=t):e=t):(Tr=e,e=o)):(Tr=e,e=o),e}function fi(){var e,t,n;e=Tr,t=[],n=hi();if(n!==null)while(n!==null)t.push(n),n=hi();else t=o;return t!==null&&(Nr=e,t=W(t)),t===null?(Tr=e,e=t):e=t,e}function li(){var t,n,r,i;Or++,e.substr(Tr,2)===V?(t=V,Tr+=2):(t=null,Or===0&&jr($));if(t===null){e.charCodeAt(Tr)===46?(t=J,Tr++):(t=null,Or===0&&jr(K));if(t===null){t=Tr,n=Tr,r=[],Q.test(e.charAt(Tr))?(i=e.charAt(Tr),Tr++):(i=null,Or===0&&jr(G));if(i!==null)while(i!==null)r.push(i),Q.test(e.charAt(Tr))?(i=e.charAt(Tr),Tr++):(i=null,Or===0&&jr(G));else r=o;r!==null&&(r=e.substring(n,Tr)),n=r,n!==null?(r=Tr,Or++,e.charCodeAt(Tr)===61?(i=M,Tr++):(i=null,Or===0&&jr(_)),Or--,i===null?r=u:(Tr=r,r=o),r!==null?(Nr=t,n=Y(n),n===null?(Tr=t,t=n):t=n):(Tr=t,t=o)):(Tr=t,t=o)}}return Or--,t===null&&(n=null,Or===0&&jr(X)),t}function ci(){var e,t;return Or++,e=vs(),Or--,e===null&&(t=null,Or===0&&jr(Z)),e}function hi(){var t,n,r,i,s,u;return t=Tr,n=Ms(),n!==null?(r=Tr,i=ci(),i!==null?(e.charCodeAt(Tr)===61?(s=M,Tr++):(s=null,Or===0&&jr(_)),s!==null?(u=mi(),u!==null?(i=[i,s,u],r=i):(Tr=r,r=o)):(Tr=r,r=o)):(Tr=r,r=o),r===null&&(r=Tr,i=ci(),i!==null?(e.charCodeAt(Tr)===61?(s=M,Tr++):(s=null,Or===0&&jr(_)),s!==null?(u=gi(),u!==null?(i=[i,s,u],r=i):(Tr=r,r=o)):(Tr=r,r=o)):(Tr=r,r=o),r===null&&(r=Tr,i=ci(),i!==null?(e.charCodeAt(Tr)===61?(s=M,Tr++):(s=null,Or===0&&jr(_)),s!==null?(u=yi(),u!==null?(i=[i,s,u],r=i):(Tr=r,r=o)):(Tr=r,r=o)):(Tr=r,r=o),r===null&&(r=Tr,i=ci(),i!==null?(e.charCodeAt(Tr)===61?(s=M,Tr++):(s=null,Or===0&&jr(_)),s!==null?(u=bi(),u!==null?(i=[i,s,u],r=i):(Tr=r,r=o)):(Tr=r,r=o)):(Tr=r,r=o)))),r!==null?(Nr=t,n=et(r),n===null?(Tr=t,t=n):t=n):(Tr=t,t=o)):(Tr=t,t=o),t}function pi(){var e;return e=mi(),e===null&&(e=gi(),e===null&&(e=yi(),e===null&&(e=bi()))),e}function di(){var e,t,n,r,i,s;e=Tr,t=li();if(t!==null){n=[],r=Tr,i=vi(),i!==null?(s=li(),s!==null?(Nr=r,i=tt(s),i===null?(Tr=r,r=i):r=i):(Tr=r,r=o)):(Tr=r,r=o);while(r!==null)n.push(r),r=Tr,i=vi(),i!==null?(s=li(),s!==null?(Nr=r,i=tt(s),i===null?(Tr=r,r=i):r=i):(Tr=r,r=o)):(Tr=r,r=o);n!==null?(Nr=e,t=nt(t,n),t===null?(Tr=e,e=t):e=t):(Tr=e,e=o)}else Tr=e,e=o;return e}function vi(){var t,n;return Or++,it.test(e.charAt(Tr))?(t=e.charAt(Tr),Tr++):(t=null,Or===0&&jr(st)),Or--,t===null&&(n=null,Or===0&&jr(rt)),t}function mi(){var e,t;return e=Tr,t=di(),t!==null&&(Nr=e,t=ot(t)),t===null?(Tr=e,e=t):e=t,e}function gi(){var e,t;return e=Tr,t=Si(),t!==null&&(Nr=e,t=ut(t)),t===null?(Tr=e,e=t):e=t,e}function yi(){var e,t;return e=Tr,t=Ei(),t!==null&&(Nr=e,t=at(t)),t===null?(Tr=e,e=t):e=t,e}function bi(){var e,t;return e=Tr,t=wi(),t!==null&&(Nr=e,t=ft(t)),t===null?(Tr=e,e=t):e=t,e}function wi(){var t,n;return Or++,e.substr(Tr,4)===ct?(t=ct,Tr+=4):(t=null,Or===0&&jr(ht)),t===null&&(e.substr(Tr,5)===pt?(t=pt,Tr+=5):(t=null,Or===0&&jr(dt))),Or--,t===null&&(n=null,Or===0&&jr(lt)),t}function Ei(){var t,n,r,i;Or++,t=Tr,n=Tr,r=[],mt.test(e.charAt(Tr))?(i=e.charAt(Tr),Tr++):(i=null,Or===0&&jr(gt));if(i!==null)while(i!==null)r.push(i),mt.test(e.charAt(Tr))?(i=e.charAt(Tr),Tr++):(i=null,Or===0&&jr(gt));else r=o;return r!==null&&(r=e.substring(n,Tr)),n=r,n!==null&&(Nr=t,n=yt(n)),n===null?(Tr=t,t=n):t=n,Or--,t===null&&(n=null,Or===0&&jr(vt)),t}function Si(){var t,n,r,i,s;return t=Tr,n=Tr,e.charCodeAt(Tr)===34?(r=bt,Tr++):(r=null,Or===0&&jr(wt)),r!==null?(i=xi(),i!==null?(e.charCodeAt(Tr)===34?(s=bt,Tr++):(s=null,Or===0&&jr(wt)),s!==null?(r=[r,i,s],n=r):(Tr=n,n=o)):(Tr=n,n=o)):(Tr=n,n=o),n===null&&(n=Tr,e.charCodeAt(Tr)===39?(r=Et,Tr++):(r=null,Or===0&&jr(St)),r!==null?(i=Ti(),i!==null?(e.charCodeAt(Tr)===39?(s=Et,Tr++):(s=null,Or===0&&jr(St)),s!==null?(r=[r,i,s],n=r):(Tr=n,n=o)):(Tr=n,n=o)):(Tr=n,n=o)),n!==null&&(Nr=t,n=xt(n)),n===null?(Tr=t,t=n):t=n,t}function xi(){var t,n,r,i,s;t=Tr,n=[],r=Tr,i=Tr,Or++,s=Ls(),Or--,s===null?i=u:(Tr=i,i=o),i!==null?(Tt.test(e.charAt(Tr))?(s=e.charAt(Tr),Tr++):(s=null,Or===0&&jr(Nt)),s!==null?(i=[i,s],r=i):(Tr=r,r=o)):(Tr=r,r=o);while(r!==null)n.push(r),r=Tr,i=Tr,Or++,s=Ls(),Or--,s===null?i=u:(Tr=i,i=o),i!==null?(Tt.test(e.charAt(Tr))?(s=e.charAt(Tr),Tr++):(s=null,Or===0&&jr(Nt)),s!==null?(i=[i,s],r=i):(Tr=r,r=o)):(Tr=r,r=o);return n!==null&&(n=e.substring(t,Tr)),t=n,t}function Ti(){var t,n,r,i,s;t=Tr,n=[],r=Tr,i=Tr,Or++,s=Ls(),Or--,s===null?i=u:(Tr=i,i=o),i!==null?(Ct.test(e.charAt(Tr))?(s=e.charAt(Tr),Tr++):(s=null,Or===0&&jr(kt)),s!==null?(i=[i,s],r=i):(Tr=r,r=o)):(Tr=r,r=o);while(r!==null)n.push(r),r=Tr,i=Tr,Or++,s=Ls(),Or--,s===null?i=u:(Tr=i,i=o),i!==null?(Ct.test(e.charAt(Tr))?(s=e.charAt(Tr),Tr++):(s=null,Or===0&&jr(kt)),s!==null?(i=[i,s],r=i):(Tr=r,r=o)):(Tr=r,r=o);return n!==null&&(n=e.substring(t,Tr)),t=n,t}function Ni(){var t;return Lt.test(e.charAt(Tr))?(t=e.charAt(Tr),Tr++):(t=null,Or===0&&jr(At)),t}function Ci(){var e,t,n;return e=Tr,t=Ms(),t!==null?(n=ni(),n!==null?(Nr=e,t=Ot(n),t===null?(Tr=e,e=t):e=t):(Tr=e,e=o)):(Tr=e,e=o),e===null&&(e=Oi()),e}function ki(){var e,t,n,r,i;e=Tr,t=Ts();if(t!==null){n=Oi();if(n!==null){r=[],i=ki();while(i!==null)r.push(i),i=ki();r!==null?(i=As(),i!==null?(Nr=e,t=Mt(t,n,r),t===null?(Tr=e,e=t):e=t):(Tr=e,e=o)):(Tr=e,e=o)}else Tr=e,e=o}else Tr=e,e=o;return e===null&&(e=Oi()),e}function Li(){var t,n,r;return t=Tr,_t.test(e.charAt(Tr))?(n=e.charAt(Tr),Tr++):(n=null,Or===0&&jr(Dt)),n!==null?(e.charCodeAt(Tr)===32?(r=A,Tr++):(r=null,Or===0&&jr(O)),r===null&&(r=u),r!==null?(Nr=t,n=Y(n),n===null?(Tr=t,t=n):t=n):(Tr=t,t=o)):(Tr=t,t=o),t===null&&(t=Tr,n=Tr,Or++,e.charCodeAt(Tr)===60?(r=Pt,Tr++):(r=null,Or===0&&jr(Ht)),Or--,r!==null?(Tr=n,n=u):n=o,n!==null&&(Nr=t,n=Bt()),n===null?(Tr=t,t=n):t=n),t}function Ai(){var e,t,n,r,i,s,a;e=Tr,t=Li();if(t!==null){n=Oi();if(n!==null){r=Tr,i=Ts();if(i!==null){s=[],a=ki();while(a!==null)s.push(a),a=ki();s!==null?(a=Cs(),a!==null?(i=[i,s,a],r=i):(Tr=r,r=o)):(Tr=r,r=o)}else Tr=r,r=o;r===null&&(r=u),r!==null?(Nr=e,t=jt(t,n,r),t===null?(Tr=e,e=t):e=t):(Tr=e,e=o)}else Tr=e,e=o}else Tr=e,e=o;return e}function Oi(){var e,t,n,r,i,s;e=Tr,t=Fi(),t===null&&(t=u);if(t!==null){n=[],r=Tr,i=Di(),i!==null?(s=Fi(),s===null&&(s=u),s!==null?(i=[i,s],r=i):(Tr=r,r=o)):(Tr=r,r=o);while(r!==null)n.push(r),r=Tr,i=Di(),i!==null?(s=Fi(),s===null&&(s=u),s!==null?(i=[i,s],r=i):(Tr=r,r=o)):(Tr=r,r=o);n!==null?(r=Ls(),r!==null?(Nr=e,t=Ft(t,n),t===null?(Tr=e,e=t):e=t):(Tr=e,e=o)):(Tr=e,e=o)}else Tr=e,e=o;return e}function Mi(){var t,n,r,i;return t=Tr,e.charCodeAt(Tr)===34?(n=bt,Tr++):(n=null,Or===0&&jr(wt)),n!==null?(r=_i(),r!==null?(e.charCodeAt(Tr)===34?(i=bt,Tr++):(i=null,Or===0&&jr(wt)),i!==null?(Nr=t,n=It(r),n===null?(Tr=t,t=n):t=n):(Tr=t,t=o)):(Tr=t,t=o)):(Tr=t,t=o),t}function _i(){var e,t,n,r,i,s;e=Tr,t=Bi(),t===null&&(t=u);if(t!==null){n=[],r=Tr,i=Di(),i!==null?(s=Bi(),s===null&&(s=u),s!==null?(i=[i,s],r=i):(Tr=r,r=o)):(Tr=r,r=o);while(r!==null)n.push(r),r=Tr,i=Di(),i!==null?(s=Bi(),s===null&&(s=u),s!==null?(i=[i,s],r=i):(Tr=r,r=o)):(Tr=r,r=o);n!==null?(Nr=e,t=Ft(t,n),t===null?(Tr=e,e=t):e=t):(Tr=e,e=o)}else Tr=e,e=o;return e}function Di(){var e;return e=Hi(),e===null&&(e=Pi()),e}function Pi(){var e,t,n,r,i,s;return e=Tr,t=Wi(),t!==null?(n=Ms(),n!==null?(r=ri(),r!==null?(i=Ms(),i!==null?(s=$i(),s!==null?(Nr=e,t=qt(r),t===null?(Tr=e,e=t):e=t):(Tr=e,e=o)):(Tr=e,e=o)):(Tr=e,e=o)):(Tr=e,e=o)):(Tr=e,e=o),e===null&&(e=Tr,t=Ki(),t!==null?(n=Ms(),n!==null?(r=ri(),r!==null?(i=Ms(),i!==null?(s=Qi(),s!==null?(Nr=e,t=qt(r),t===null?(Tr=e,e=t):e=t):(Tr=e,e=o)):(Tr=e,e=o)):(Tr=e,e=o)):(Tr=e,e=o)):(Tr=e,e=o)),e}function Hi(){var e,t,n,r,i,s;return e=Tr,t=Xi(),t!==null?(n=Ms(),n!==null?(r=ri(),r!==null?(i=Ms(),i!==null?(s=Ji(),s!==null?(Nr=e,t=Rt(r),t===null?(Tr=e,e=t):e=t):(Tr=e,e=o)):(Tr=e,e=o)):(Tr=e,e=o)):(Tr=e,e=o)):(Tr=e,e=o),e}function Bi(){var t,n,r,i;t=Tr,n=Tr,r=[],i=ji();if(i!==null)while(i!==null)r.push(i),i=ji();else r=o;return r!==null&&(r=e.substring(n,Tr)),n=r,n!==null&&(Nr=t,n=Ut(n)),n===null?(Tr=t,t=n):t=n,t}function ji(){var t,n,r;return t=Tr,n=Tr,Or++,r=qi(),r===null&&(e.charCodeAt(Tr)===34?(r=bt,Tr++):(r=null,Or===0&&jr(wt))),Or--,r===null?n=u:(Tr=n,n=o),n!==null?(e.length>Tr?(r=e.charAt(Tr),Tr++):(r=null,Or===0&&jr(zt)),r!==null?(Nr=t,n=Wt(r),n===null?(Tr=t,t=n):t=n):(Tr=t,t=o)):(Tr=t,t=o),t}function Fi(){var t,n,r,i;t=Tr,n=Tr,r=[],i=Ii();if(i!==null)while(i!==null)r.push(i),i=Ii();else r=o;return r!==null&&(r=e.substring(n,Tr)),n=r,n!==null&&(Nr=t,n=Ut(n)),n===null?(Tr=t,t=n):t=n,t}function Ii(){var t,n,r;return t=Tr,n=Tr,Or++,r=qi(),Or--,r===null?n=u:(Tr=n,n=o),n!==null?(e.length>Tr?(r=e.charAt(Tr),Tr++):(r=null,Or===0&&jr(zt)),r!==null?(Nr=t,n=Wt(r),n===null?(Tr=t,t=n):t=n):(Tr=t,t=o)):(Tr=t,t=o),t}function qi(){var e;return e=Xi(),e===null&&(e=Wi(),e===null&&(e=Ki(),e===null&&(e=As(),e===null&&(e=Ls())))),e}function Ri(){var e,t,n,r,i,s;return e=Tr,t=zi(),t!==null?(n=Ms(),n!==null?(r=ri(),r!==null?(i=Ms(),i!==null?(s=Vi(),s!==null?(Nr=e,t=qt(r),t===null?(Tr=e,e=t):e=t):(Tr=e,e=o)):(Tr=e,e=o)):(Tr=e,e=o)):(Tr=e,e=o)):(Tr=e,e=o),e}function Ui(){var e;return e=Ri(),e===null&&(e=Hi(),e===null&&(e=Pi())),e}function zi(){var t,n;return Or++,e.charCodeAt(Tr)===123?(t=Vt,Tr++):(t=null,Or===0&&jr($t)),Or--,t===null&&(n=null,Or===0&&jr(Xt)),t}function Wi(){var t,n;return Or++,e.substr(Tr,2)===Kt?(t=Kt,Tr+=2):(t=null,Or===0&&jr(Qt)),Or--,t===null&&(n=null,Or===0&&jr(Jt)),t}function Xi(){var t,n;return Or++,e.substr(Tr,3)===Yt?(t=Yt,Tr+=3):(t=null,Or===0&&jr(Zt)),Or--,t===null&&(n=null,Or===0&&jr(Gt)),t}function Vi(){var t,n;return Or++,e.charCodeAt(Tr)===125?(t=tn,Tr++):(t=null,Or===0&&jr(nn)),Or--,t===null&&(n=null,Or===0&&jr(en)),t}function $i(){var t,n;return Or++,e.substr(Tr,2)===sn?(t=sn,Tr+=2):(t=null,Or===0&&jr(on)),Or--,t===null&&(n=null,Or===0&&jr(rn)),t}function Ji(){var t,n;return Or++,e.substr(Tr,3)===an?(t=an,Tr+=3):(t=null,Or===0&&jr(fn)),Or--,t===null&&(n=null,Or===0&&jr(un)),t}function Ki(){var t,n;return Or++,e.substr(Tr,2)===cn?(t=cn,Tr+=2):(t=null,Or===0&&jr(hn)),Or--,t===null&&(n=null,Or===0&&jr(ln)),t}function Qi(){var t,n;return Or++,e.charCodeAt(Tr)===125?(t=tn,Tr++):(t=null,Or===0&&jr(nn)),Or--,t===null&&(n=null,Or===0&&jr(pn)),t}function Gi(){var t,n,r;return t=Tr,e.substr(Tr,2)===dn?(n=dn,Tr+=2):(n=null,Or===0&&jr(vn)),n!==null?(e.charCodeAt(Tr)===32?(r=A,Tr++):(r=null,Or===0&&jr(O)),r===null&&(r=u),r!==null?(Nr=t,n=mn(),n===null?(Tr=t,t=n):t=n):(Tr=t,t=o)):(Tr=t,t=o),t===null&&(t=Tr,e.charCodeAt(Tr)===61?(n=M,Tr++):(n=null,Or===0&&jr(_)),n!==null?(e.charCodeAt(Tr)===32?(r=A,Tr++):(r=null,Or===0&&jr(O)),r===null&&(r=u),r!==null?(Nr=t,n=gn(),n===null?(Tr=t,t=n):t=n):(Tr=t,t=o)):(Tr=t,t=o)),t}function Yi(){var e,t,n,r,i,s,a;e=Tr,t=Tr,n=ws();if(n!==null){r=si(),r===null&&(r=u);if(r!==null){i=[],s=Ui();while(s!==null)i.push(s),s=Ui();if(i!==null){s=[],a=Zi();while(a!==null)s.push(a),a=Zi();s!==null?(Nr=t,n=yn(n,r,i,s),n===null?(Tr=t,t=n):t=n):(Tr=t,t=o)}else Tr=t,t=o}else Tr=t,t=o}else Tr=t,t=o;if(t===null){t=Tr,n=si();if(n!==null){r=[],i=Ui();while(i!==null)r.push(i),i=Ui();if(r!==null){i=[],s=Zi();while(s!==null)i.push(s),s=Zi();i!==null?(Nr=t,n=bn(n,r,i),n===null?(Tr=t,t=n):t=n):(Tr=t,t=o)}else Tr=t,t=o}else Tr=t,t=o}return t!==null&&(Nr=e,t=wn(t)),t===null?(Tr=e,e=t):e=t,e}function si(){var e;return e=oi(),e===null&&(e=ui()),e}function oi(){var e,t,n,r;e=Tr,t=hs();if(t!==null){n=[],r=ps();while(r!==null)n.push(r),r=ps();n!==null?(Nr=e,t=R(t,n),t===null?(Tr=e,e=t):e=t):(Tr=e,e=o)}else Tr=e,e=o;return e}function ui(){var e,t,n;e=Tr,t=[],n=ps();if(n!==null)while(n!==null)t.push(n),n=ps();else t=o;return t!==null&&(Nr=e,t=U(t)),t===null?(Tr=e,e=t):e=t,e}function Zi(){var t,n,r;t=Tr,n=[],e.charCodeAt(Tr)===32?(r=A,Tr++):(r=null,Or===0&&jr(O));if(r!==null)while(r!==null)n.push(r),e.charCodeAt(Tr)===32?(r=A,Tr++):(r=null,Or===0&&jr(O));else n=o;return n!==null?(r=rs(),r===null&&(r=ss(),r===null&&(r=os(),r===null&&(r=us()))),r!==null?(Nr=t,n=En(r),n===null?(Tr=t,t=n):t=n):(Tr=t,t=o)):(Tr=t,t=o),t}function es(){var t;return Sn.test(e.charAt(Tr))?(t=e.charAt(Tr),Tr++):(t=null,Or===0&&jr(xn)),t}function ts(){var e,t;return e=ns(),e===null&&(e=Tr,t=mi(),t!==null&&(Nr=e,t=Tn(t)),t===null?(Tr=e,e=t):e=t),e}function ns(){var t,n,r,i,s;return t=Tr,n=Tr,e.charCodeAt(Tr)===34?(r=bt,Tr++):(r=null,Or===0&&jr(wt)),r!==null?(i=ri(),i!==null?(e.charCodeAt(Tr)===34?(s=bt,Tr++):(s=null,Or===0&&jr(wt)),s!==null?(r=[r,i,s],n=r):(Tr=n,n=o)):(Tr=n,n=o)):(Tr=n,n=o),n===null&&(n=Tr,e.charCodeAt(Tr)===39?(r=Et,Tr++):(r=null,Or===0&&jr(St)),r!==null?(i=ri(),i!==null?(e.charCodeAt(Tr)===39?(s=Et,Tr++):(s=null,Or===0&&jr(St)),s!==null?(r=[r,i,s],n=r):(Tr=n,n=o)):(Tr=n,n=o)):(Tr=n,n=o)),n!==null&&(Nr=t,n=xt(n)),n===null?(Tr=t,t=n):t=n,t}function rs(){var t,n,r,i;return t=Tr,n=xs(),n!==null?(e.charCodeAt(Tr)===61?(r=M,Tr++):(r=null,Or===0&&jr(_)),r!==null?(i=ts(),i!==null?(Nr=t,n=Nn(n,i),n===null?(Tr=t,t=n):t=n):(Tr=t,t=o)):(Tr=t,t=o)):(Tr=t,t=o),t}function is(){var t,n,r,i,s,u;t=Tr,e.charCodeAt(Tr)===123?(n=Vt,Tr++):(n=null,Or===0&&jr($t));if(n!==null){r=Ms();if(r!==null){i=Tr,s=[],u=es(),u===null&&(e.charCodeAt(Tr)===32?(u=A,Tr++):(u=null,Or===0&&jr(O)));if(u!==null)while(u!==null)s.push(u),u=es(),u===null&&(e.charCodeAt(Tr)===32?(u=A,Tr++):(u=null,Or===0&&jr(O)));else s=o;s!==null&&(s=e.substring(i,Tr)),i=s,i!==null?(s=Ms(),s!==null?(e.charCodeAt(Tr)===125?(u=tn,Tr++):(u=null,Or===0&&jr(nn)),u!==null?(Nr=t,n=Cn(i),n===null?(Tr=t,t=n):t=n):(Tr=t,t=o)):(Tr=t,t=o)):(Tr=t,t=o)}else Tr=t,t=o}else Tr=t,t=o;if(t===null){t=Tr,n=[],r=es();if(r!==null)while(r!==null)n.push(r),r=es();else n=o;n!==null&&(n=e.substring(t,Tr)),t=n}return t}function ss(){var t,n,r,i,s,a;return t=Tr,n=ci(),n!==null?(e.charCodeAt(Tr)===61?(r=M,Tr++):(r=null,Or===0&&jr(_)),r!==null?(i=is(),i!==null?(s=Tr,Or++,e.charCodeAt(Tr)===33?(a=kn,Tr++):(a=null,Or===0&&jr(Ln)),Or--,a===null?s=u:(Tr=s,s=o),s!==null?(Nr=Tr,a=An(n,i),a?a=u:a=o,a!==null?(Nr=t,n=On(n,i),n===null?(Tr=t,t=n):t=n):(Tr=t,t=o)):(Tr=t,t=o)):(Tr=t,t=o)):(Tr=t,t=o)):(Tr=t,t=o),t}function os(){var t,n,r,i;return t=Tr,n=ci(),n!==null?(e.charCodeAt(Tr)===61?(r=M,Tr++):(r=null,Or===0&&jr(_)),r!==null?(i=mi(),i!==null?(Nr=t,n=Mn(n,i),n===null?(Tr=t,t=n):t=n):(Tr=t,t=o)):(Tr=t,t=o)):(Tr=t,t=o),t}function us(){var t,n,r,i;return t=Tr,n=ci(),n!==null?(e.charCodeAt(Tr)===61?(r=M,Tr++):(r=null,Or===0&&jr(_)),r!==null?(i=Mi(),i!==null?(Nr=t,n=_n(n,i),n===null?(Tr=t,t=n):t=n):(Tr=t,t=o)):(Tr=t,t=o)):(Tr=t,t=o),t}function as(){var t,n,r;t=Tr,n=[],r=ls();while(r!==null)n.push(r),r=ls();return n!==null&&(n=e.substring(t,Tr)),t=n,t}function fs(){var e;return e=Si(),e===null&&(e=pi()),e}function ls(){var t;return t=Ni(),t===null&&(mt.test(e.charAt(Tr))?(t=e.charAt(Tr),Tr++):(t=null,Or===0&&jr(gt)),t===null&&(e.charCodeAt(Tr)===95?(t=Dn,Tr++):(t=null,Or===0&&jr(Pn)),t===null&&(e.charCodeAt(Tr)===45?(t=Hn,Tr++):(t=null,Or===0&&jr(Bn))))),t}function cs(){var t,n,r;return t=Tr,e.charCodeAt(Tr)===37?(n=jn,Tr++):(n=null,Or===0&&jr(Fn)),n!==null?(r=ds(),r!==null?(Nr=t,n=Wt(r),n===null?(Tr=t,t=n):t=n):(Tr=t,t=o)):(Tr=t,t=o),t}function hs(){var t,n,r;return t=Tr,e.charCodeAt(Tr)===35?(n=In,Tr++):(n=null,Or===0&&jr(qn)),n!==null?(r=ds(),r!==null?(Nr=t,n=Rn(r),n===null?(Tr=t,t=n):t=n):(Tr=t,t=o)):(Tr=t,t=o),t}function ps(){var t,n,r;return t=Tr,e.charCodeAt(Tr)===46?(n=J,Tr++):(n=null,Or===0&&jr(K)),n!==null?(r=ds(),r!==null?(Nr=t,n=Wt(r),n===null?(Tr=t,t=n):t=n):(Tr=t,t=o)):(Tr=t,t=o),t}function ds(){var e,t;return Or++,e=vs(),Or--,e===null&&(t=null,Or===0&&jr(Un)),e}function vs(){var t,n,r,i,s;t=Tr,n=gs();if(n!==null){r=Tr,i=[],s=ms();while(s!==null)i.push(s),s=ms();i!==null&&(i=e.substring(r,Tr)),r=i,r!==null?(Nr=t,n=zn(n,r),n===null?(Tr=t,t=n):t=n):(Tr=t,t=o)}else Tr=t,t=o;return t}function ms(){var t;return Wn.test(e.charAt(Tr))?(t=e.charAt(Tr),Tr++):(t=null,Or===0&&jr(Xn)),t===null&&(t=ys()),t}function gs(){var t;return Vn.test(e.charAt(Tr))?(t=e.charAt(Tr),Tr++):(t=null,Or===0&&jr($n)),t===null&&(t=ys()),t}function ys(){var t;return Jn.test(e.charAt(Tr))?(t=e.charAt(Tr),Tr++):(t=null,Or===0&&jr(Kn)),t}function bs(){var t,n,r;t=Tr,n=[],r=Ss();if(r!==null)while(r!==null)n.push(r),r=Ss();else n=o;return n!==null&&(n=e.substring(t,Tr)),t=n,t}function ws(){var t,n,r;return Or++,t=Tr,e.charCodeAt(Tr)===37?(n=jn,Tr++):(n=null,Or===0&&jr(Fn)),n!==null?(r=bs(),r!==null?(Nr=t,n=Y(r),n===null?(Tr=t,t=n):t=n):(Tr=t,t=o)):(Tr=t,t=o),t===null&&(t=Es()),Or--,t===null&&(n=null,Or===0&&jr(Qn)),t}function Es(){var e,t,n;return e=Tr,t=bs(),t!==null?(Nr=Tr,n=Gn(t),n?n=u:n=o,n!==null?(Nr=e,t=Yn(t),t===null?(Tr=e,e=t):e=t):(Tr=e,e=o)):(Tr=e,e=o),e}function Ss(){var t;return Zn.test(e.charAt(Tr))?(t=e.charAt(Tr),Tr++):(t=null,Or===0&&jr(er)),t}function xs(){var e,t,n;return Or++,e=Tr,t=bs(),t!==null?(Nr=Tr,n=nr(t),n?n=u:n=o,n!==null?(Nr=e,t=Yn(t),t===null?(Tr=e,e=t):e=t):(Tr=e,e=o)):(Tr=e,e=o),Or--,e===null&&(t=null,Or===0&&jr(tr)),e}function Ts(){var e,t,n;return e=Tr,t=Ns(),t!==null?(n=Os(),n!==null?(Nr=e,t=Y(n),t===null?(Tr=e,e=t):e=t):(Tr=e,e=o)):(Tr=e,e=o),e}function Ns(){var t,n;return Or++,t=Tr,e.charCodeAt(Tr)===61423?(n=ir,Tr++):(n=null,Or===0&&jr(sr)),n!==null&&(Nr=t,n=or()),n===null?(Tr=t,t=n):t=n,Or--,t===null&&(n=null,Or===0&&jr(rr)),t}function Cs(){var t,n;return Or++,t=Tr,e.charCodeAt(Tr)===61438?(n=ar,Tr++):(n=null,Or===0&&jr(fr)),n!==null&&(Nr=t,n=or()),n===null?(Tr=t,t=n):t=n,Or--,t===null&&(n=null,Or===0&&jr(ur)),t}function ks(){var t,n;return Or++,t=Tr,e.charCodeAt(Tr)===61422?(n=cr,Tr++):(n=null,Or===0&&jr(hr)),n!==null&&(Nr=t,n=or()),n===null?(Tr=t,t=n):t=n,Or--,t===null&&(n=null,Or===0&&jr(lr)),t}function Ls(){var t,n,r;return Or++,t=Tr,e.charCodeAt(Tr)===61439?(n=dr,Tr++):(n=null,Or===0&&jr(vr)),n!==null?(e.charCodeAt(Tr)===10?(r=mr,Tr++):(r=null,Or===0&&jr(gr)),r!==null?(n=[n,r],t=n):(Tr=t,t=o)):(Tr=t,t=o),Or--,t===null&&(n=null,Or===0&&jr(pr)),t}function As(){var e,t;return Or++,e=Cs(),e===null&&(e=ks()),Or--,e===null&&(t=null,Or===0&&jr(yr)),e}function Os(){var t,n,r;Or++,t=Tr,n=[],r=_s();if(r!==null)while(r!==null)n.push(r),r=_s();else n=o;return n!==null&&(n=e.substring(t,Tr)),t=n,Or--,t===null&&(n=null,Or===0&&jr(br)),t}function Ms(){var e,t;Or++,e=[],t=_s();while(t!==null)e.push(t),t=_s();return Or--,e===null&&(t=null,Or===0&&jr(wr)),e}function _s(){var t,n;return Or++,Sr.test(e.charAt(Tr))?(t=e.charAt(Tr),Tr++):(t=null,Or===0&&jr(xr)),Or--,t===null&&(n=null,Or===0&&jr(Er)),t}function Ds(){var t,n,r;return t=Tr,n=Tr,Or++,r=Ns(),r===null&&(r=Cs(),r===null&&(r=Ls())),Or--,r===null?n=u:(Tr=n,n=o),n!==null?(e.length>Tr?(r=e.charAt(Tr),Tr++):(r=null,Or===0&&jr(zt)),r!==null?(Nr=t,n=Wt(r),n===null?(Tr=t,t=n):t=n):(Tr=t,t=o)):(Tr=t,t=o),t}function Ps(){var t,n,r;t=Tr,n=[],r=Ds();while(r!==null)n.push(r),r=Ds();return n!==null&&(n=e.substring(t,Tr)),t=n,t}function Rs(e,t,n){var r=e.hash;if(n){r=r||new js.HashNode([]);for(var i=0;i<n.length;++i)r.pairs.push(n[i])}var s=[e.id].concat(e.params);return s.unshift(new js.IdNode([t])),new js.MustacheNode(s,r,!e.escaped)}function Us(e,t){var n=[];e&&n.push(e);for(var r=0;r<t.length;++r){var i=t[r];n.push(i[0]),i[1]&&n.push(i[1])}return n}function zs(e){Hs.log(9,e)}var r=arguments.length>1?arguments[1]:{},i={start:Ir},s=Ir,o=null,u="",a="else",f='"else"',l=function(e){return e},c=function(e,t){return new js.ProgramNode(e,t||[])},h=[],p=function(e){var t=[],n=[];for(var r=0;r<e.length;++r){var i=e[r];for(var s=0;s<i.length;++s){var o=i[s];if(o.type==="content"){o.string&&n.push(o.string);continue}n.length&&(t.push(new js.ContentNode(n.join(""))),n=[]),t.push(o)}}return n.length&&t.push(new js.ContentNode(n.join(""))),t},d="BeginStatement",v=function(){return[]},m=">",g='">"',y=function(e,t){return[new js.PartialNode(e,t[0])]},b=/^[a-zA-Z0-9_$-\/]/,w="[a-zA-Z0-9_$-\\/]",E=function(e){return new js.PartialNameNode(e)},S=function(e){return[e]},x="/",T='"/"',N=/^[A-Z]/,C="[A-Z]",k=function(e){var t="view";if(e.mustache){var n=e.mustache.id.string.charAt(0);return!Bs||!n.match(/[A-Z]/)?e:(e.mustache=Rs(e.mustache,t),e)}var n=e.id.string.charAt(0);return!Bs||!n.match(/[A-Z]/)?e:Rs(e,t)},L=function(e,t){var n=e[0];return t&&(n=n.concat(t[2])),e[1]&&n.push(e[1]),n},A=" ",O='" "',M="=",_='"="',D=function(e,t,n){var r=e[0];t&&(r=r.concat(t));if(n){n=n[1];for(var i=0;i<n.length;++i)r.push(new js.ContentNode(" ")),r=r.concat(n[i])}return e[1]&&r.push(e[1]),r},P=function(e,t){if(!t)return e;var n=t[2];return new js.BlockNode(e,n,n.inverse,e.id)},H=function(e,t){var n=new js.ProgramNode(t,[]);return new js.BlockNode(e,n,n.inverse,e.id)},B=function(e,t){var n=t.mustache||t;return n.escaped=e,t},j=function(e,t,n,r){if(e){var i=new js.PartialNameNode(t.string);return new js.PartialNode(i,n[0])}var s=[],o={},u=!1;for(var a=0;a<n.length;++a){var f=n[a],l=f[0];l=="tagName"||l=="elementId"||l=="class"?(u=!0,o[l]=o[l]||[],o[l].push(f[1])):s.push(f)}if(u){r=r||new js.HashNode([]);for(var c in o){if(!o.hasOwnProperty(c))continue;r.pairs.push([c,new js.StringNode(o[c].join(" "))])}}s.unshift(t);var h=new js.MustacheNode(s,r),p=t._emblemSuffixModifier;return p==="!"?Rs(h,"unbound"):p==="?"?Rs(h,"if"):p==="^"?Rs(h,"unless"):h},F=function(e){return["tagName",e]},I=function(e){return["elementId",e]},q=function(e){return["class",e]},R=function(e,t){return[e,t]},U=function(e){return[null,e]},z=function(e){return e},W=function(e){return new js.HashNode(e)},X="PathIdent",V="..",$='".."',J=".",K='"."',Q=/^[a-zA-Z0-9_$\-!?\^]/,G="[a-zA-Z0-9_$\\-!?\\^]",Y=function(e){return e},Z="Key",et=function(e){return[e[0],e[2]]},tt=function(e){return e},nt=function(e,t){var n=[e];for(var r=0;r<t.length;++r)n.push(t[r]);return n},rt="PathSeparator",it=/^[\/.]/,st="[\\/.]",ot=function(e){var t=e[e.length-1],n,r;if(n=t.match(/[!\?\^]$/))r=n[0],e[e.length-1]=t.slice(0,-1);var i=new js.IdNode(e);return i._emblemSuffixModifier=r,i},ut=function(e){return new js.StringNode(e)},at=function(e){return new js.IntegerNode(e)},ft=function(e){return new js.BooleanNode(e)},lt="Boolean",ct="true",ht='"true"',pt="false",dt='"false"',vt="Integer",mt=/^[0-9]/,gt="[0-9]",yt=function(e){return parseInt(e)},bt='"',wt='"\\""',Et="'",St='"\'"',xt=function(e){return e[1]},Tt=/^[^"}]/,Nt='[^"}]',Ct=/^[^'}]/,kt="[^'}]",Lt=/^[A-Za-z]/,At="[A-Za-z]",Ot=function(e){return[e]},Mt=function(e,t,n){t.unshift(new js.ContentNode(e));for(var r=0;r<n.length;++r)t.push(new js.ContentNode(e)),t=t.concat(n[r]),t.push("\n");return t},_t=/^[|`]/,Dt="[|`]",Pt="<",Ht='"<"',Bt=function(){return"<"},jt=function(e,t,n){(t.length||!n)&&t.push("\n");if(n){n=n[1];for(var r=0;r<n.length;++r)t=t.concat(n[r]),t.push("\n")}var i=[],s=e!=="`";for(var r=0;r<t.length;++r){var o=t[r];o=="\n"?s||i.push(new js.ContentNode("\n")):i.push(o)}return i},Ft=function(e,t){return Us(e,t)},It=function(e){return e},qt=function(e){return e.escaped=!0,e},Rt=function(e)
|
2
|
-
{return e.escaped=!1,e},Ut=function(e){return new js.ContentNode(e)},zt="any character",Wt=function(e){return e},Xt="SingleMustacheOpen",Vt="{",$t='"{"',Jt="DoubleMustacheOpen",Kt="{{",Qt='"{{"',Gt="TripleMustacheOpen",Yt="{{{",Zt='"{{{"',en="SingleMustacheClose",tn="}",nn='"}"',rn="DoubleMustacheClose",sn="}}",on='"}}"',un="TripleMustacheClose",an="}}}",fn='"}}}"',ln="InterpolationOpen",cn="#{",hn='"#{"',pn="InterpolationClose",dn="==",vn='"=="',mn=function(){return!1},gn=function(){return!0},yn=function(e,t,n,r){return[e,t,n,r]},bn=function(e,t,n){return[null,e,t,n]},wn=function(e){var t=e[0]||"div",n=e[1]||[],r=e[2],i=e[3],s=n[0],o=n[1],u=[];u.push(new js.ContentNode("<"+t)),s&&u.push(new js.ContentNode(' id="'+s+'"')),o&&o.length&&u.push(new js.ContentNode(' class="'+o.join(" ")+'"'));for(var a=0;a<r.length;++a)u.push(new js.ContentNode(" ")),u.push(r[a]);for(var a=0;a<i.length;++a)u=u.concat(i[a]);return Fs[t]?(u.push(new js.ContentNode(" />")),[u]):(u.push(new js.ContentNode(">")),[u,new js.ContentNode("</"+t+">")])},En=function(e){return[new js.ContentNode(" ")].concat(e)},Sn=/^[A-Za-z.:0-9_\-]/,xn="[A-Za-z.:0-9_\\-]",Tn=function(e){return new js.MustacheNode([e])},Nn=function(e,t){return[Rs(t,"action",[["on",new js.StringNode(e)]])]},Cn=function(e){return e.replace(/ *$/,"")},kn="!",Ln='"!"',An=function(e,t){return Bs},On=function(e,t){var n=new js.HashNode([[e,new js.StringNode(t)]]),r=[new js.IdNode(["bindAttr"])],i=new js.MustacheNode(r,n);return[i]},Mn=function(e,t){var n=new js.MustacheNode([t]);return Bs&&t._emblemSuffixModifier==="!"&&(n=Rs(n,"unbound")),[new js.ContentNode(e+"="+'"'),n,new js.ContentNode('"')]},_n=function(e,t){var n=[new js.ContentNode(e+"="+'"')].concat(t);return n.concat([new js.ContentNode('"')])},Dn="_",Pn='"_"',Hn="-",Bn='"-"',jn="%",Fn='"%"',In="#",qn='"#"',Rn=function(e){return e},Un="CSSIdentifier",zn=function(e,t){return e+t},Wn=/^[_a-zA-Z0-9\-]/,Xn="[_a-zA-Z0-9\\-]",Vn=/^[_a-zA-Z]/,$n="[_a-zA-Z]",Jn=/^[\x80-\xFF]/,Kn="[\\x80-\\xFF]",Qn="KnownHTMLTagName",Gn=function(e){return!!Is[e]},Yn=function(e){return e},Zn=/^[:_a-zA-Z0-9\-]/,er="[:_a-zA-Z0-9\\-]",tr="a JS event",nr=function(e){return!!qs[e]},rr="INDENT",ir="",sr='"\\uEFEF"',or=function(){return""},ur="DEDENT",ar="",fr='"\\uEFFE"',lr="Unmatched DEDENT",cr="",hr='"\\uEFEE"',pr="LineEnd",dr="",vr='"\\uEFFF"',mr="\n",gr='"\\n"',yr="ANYDEDENT",br="RequiredWhitespace",wr="OptionalWhitespace",Er="InlineWhitespace",Sr=/^[ \t]/,xr="[ \\t]",Tr=0,Nr=0,Cr=0,kr={line:1,column:1,seenCR:!1},Lr=0,Ar=[],Or=0,Mr;if("startRule"in r){if(!(r.startRule in i))throw new Error("Can't start parsing from rule \""+r.startRule+'".');s=i[r.startRule]}var Hs=n.handlebarsVariant,Bs=Hs.JavaScriptCompiler.prototype.namespace==="Ember.Handlebars",js=Hs.AST,Fs={area:!0,base:!0,br:!0,col:!0,command:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0},Is={figcaption:!0,blockquote:!0,plaintext:!0,textarea:!0,progress:!0,optgroup:!0,noscript:!0,noframes:!0,frameset:!0,fieldset:!0,datalist:!0,colgroup:!0,basefont:!0,summary:!0,section:!0,marquee:!0,listing:!0,isindex:!0,details:!0,command:!0,caption:!0,bgsound:!0,article:!0,address:!0,acronym:!0,strong:!0,strike:!0,spacer:!0,source:!0,select:!0,script:!0,output:!0,option:!0,object:!0,legend:!0,keygen:!0,iframe:!0,hgroup:!0,header:!0,footer:!0,figure:!0,center:!0,canvas:!0,button:!0,applet:!0,video:!0,track:!0,title:!0,thead:!0,tfoot:!0,tbody:!0,table:!0,style:!0,small:!0,param:!0,meter:!0,label:!0,input:!0,frame:!0,embed:!0,blink:!0,audio:!0,aside:!0,time:!0,span:!0,samp:!0,ruby:!0,nobr:!0,meta:!0,menu:!0,mark:!0,main:!0,link:!0,html:!0,head:!0,form:!0,font:!0,data:!0,code:!0,cite:!0,body:!0,base:!0,area:!0,abbr:!0,xmp:!0,wbr:!0,"var":!0,sup:!0,sub:!0,pre:!0,nav:!0,map:!0,kbd:!0,ins:!0,img:!0,div:!0,dir:!0,dfn:!0,del:!0,col:!0,big:!0,bdo:!0,bdi:!0,ul:!0,tt:!0,tr:!0,th:!0,td:!0,rt:!0,rp:!0,ol:!0,li:!0,hr:!0,h6:!0,h5:!0,h4:!0,h3:!0,h2:!0,h1:!0,em:!0,dt:!0,dl:!0,dd:!0,br:!0,u:!0,s:!0,q:!0,p:!0,i:!0,b:!0,a:!0},qs={touchStart:!0,touchMove:!0,touchEnd:!0,touchCancel:!0,keyDown:!0,keyUp:!0,keyPress:!0,mouseDown:!0,mouseUp:!0,contextMenu:!0,click:!0,doubleClick:!0,mouseMove:!0,focusIn:!0,focusOut:!0,mouseEnter:!0,mouseLeave:!0,submit:!0,input:!0,change:!0,dragStart:!0,drag:!0,dragEnter:!0,dragLeave:!0,dragOver:!0,drop:!0,dragEnd:!0};Mr=s();if(Mr!==null&&Tr===e.length)return Mr;throw Fr(Ar),Nr=Math.max(Tr,Lr),new t(Ar,Nr<e.length?e.charAt(Nr):null,Nr,Br(Nr).line,Br(Nr).column)}return e(t,Error),{SyntaxError:t,parse:r}}();var n;n.throwCompileError=function(e,t){throw new Error("Emblem syntax error, line "+e+": "+t)},n.registerPartial=function(e,t,r){return r||(r=t,t=e,e=Handlebars),e.registerPartial(t,n.compile(e,r))},n.parse=function(e){var t,r,i,s;try{return s=n.Preprocessor.processSync(e),n.Parser.parse(s)}catch(o){if(o instanceof n.Parser.SyntaxError)return r=e.split("\n"),t=r[o.line-1],i=""+o.message+"\n"+t+"\n",i+=(new Array(o.column)).join("-"),i+="^",n.throwCompileError(o.line,i);throw o}},n.precompile=function(e,t,r){var i;return r==null&&(r={}),n.handlebarsVariant=e,i=n.parse(t),e.precompile(i,r)},n.compile=function(e,t,r){var i;return r==null&&(r={}),n.handlebarsVariant=e,i=n.parse(t),e.compile(i,r)};var n,r,t;n.Preprocessor=r=function(){function l(){this.base=null,this.indents=[],this.context=[],this.context.peek=function(){return this.length?this[this.length-1]:null},this.context.err=function(e){throw new Error("Unexpected "+e)},this.output="",this.context.observe=function(t){var n;n=this.peek();switch(t){case r:this.push(t);break;case e:n!==r&&this.err(t),this.pop();break;case"\n":n!=="/"&&this.err(t),this.pop();break;case"/":this.push(t);break;case"end-\\":n!=="\\"&&this.err(t),this.pop();break;default:throw new Error("undefined token observed: "+t)}return this},this.StringScanner?this.ss=new this.StringScanner(""):n.StringScanner?this.ss=new n.StringScanner(""):this.ss=new t("")}var e,r,i,s,o,u,a,f;return f="\\t\\x0B\\f \\xA0\\u1680\\u180E\\u2000-\\u200A\\u202F\\u205F\\u3000\\uFEFF",r="",e="",s="",i="",o=RegExp("["+f+"\\n]*$"),u=RegExp("(?:["+f+"]*\\n)+"),l.prototype.p=function(e){return e&&(this.output+=e),e},l.prototype.scan=function(e){return this.p(this.ss.scan(e))},l.prototype.discard=function(e){return this.ss.scan(e)},a=function(t){return function(n){var a,l,c,h;t||(this.ss.concat(n),this.discard(u));while(!this.ss.eos())switch(this.context.peek()){case null:case r:if(this.ss.bol()||this.discard(u)){if(this.discard(RegExp("["+f+"]*\\n"))){this.p(""+i+"\n");continue}if(this.base!=null){if(this.discard(this.base)==null)throw new Error("inconsistent base indentation")}else a=this.discard(RegExp("["+f+"]*")),this.base=RegExp(""+a);if(this.indents.length===0)this.ss.check(RegExp("["+f+"]+"))&&(this.p(r),this.context.observe(r),this.indents.push(this.scan(RegExp("(["+f+"]+)"))));else{c=this.indents[this.indents.length-1];if(l=this.ss.check(RegExp("("+c+")")))this.discard(l),this.ss.check(RegExp("(["+f+"]+)"))&&(this.p(r),this.context.observe(r),this.indents.push(l+this.scan(RegExp("(["+f+"]+)"))));else{while(this.indents.length){c=this.indents[this.indents.length-1];if(this.discard(RegExp("(?:"+c+")")))break;this.context.observe(e),this.p(e),this.indents.pop()}if(h=this.discard(RegExp("["+f+"]+")))this.output=this.output.slice(0,-1),this.output+=s,this.p(r),this.context.observe(r),this.indents.push(h)}}}this.scan(/[^\n\\]+/),this.discard(/\n/)&&this.p(""+i+"\n")}if(t){this.scan(o);while(this.context.length&&r===this.context.peek())this.context.observe(e),this.p(e);if(this.context.length)throw new Error("Unclosed "+this.context.peek()+" at EOF")}}},l.prototype.processData=a(!1),l.prototype.processEnd=a(!0),l.processSync=function(e){var t;return e+="\n",t=new l,t.processData(e),t.processEnd(),t.output},l}();var i,n,s;n.compileScriptTags=function(){if(typeof Ember=="undefined"||Ember===null)throw new Error("Can't run Emblem.enableEmber before Ember has been defined");if(typeof document!="undefined"&&document!==null)return Ember.$('script[type="text/x-emblem"], script[type="text/x-raw-emblem"]',Ember.$(document)).each(function(){var e,t,r;return t=Ember.$(this),e=t.attr("type")==="text/x-raw-handlebars"?Handlebars:Ember.Handlebars,r=t.attr("data-template-name")||t.attr("id")||"application",Ember.TEMPLATES[r]=n.compile(e,t.html()),t.remove()})},this.ENV||(this.ENV={}),i=this.ENV,i.EMBER_LOAD_HOOKS||(i.EMBER_LOAD_HOOKS={}),(s=i.EMBER_LOAD_HOOKS).application||(s.application=[]),i.EMBER_LOAD_HOOKS.application.push(function(){return n.compileScriptTags()}),e.Emblem=n})(this);
|
1
|
+
(function(e){(function(e){var t;t=function(){function e(e){this.str=e!=null?e:"",this.str=""+this.str,this.pos=0,this.lastMatch={reset:function(){return this.str=null,this.captures=[],this}}.reset(),this}return e.prototype.bol=function(){return this.pos<=0||this.str[this.pos-1]==="\n"},e.prototype.captures=function(){return this.lastMatch.captures},e.prototype.check=function(e){var t;return this.str.substr(this.pos).search(e)!==0?(this.lastMatch.reset(),null):(t=this.str.substr(this.pos).match(e),this.lastMatch.str=t[0],this.lastMatch.captures=t.slice(1),this.lastMatch.str)},e.prototype.checkUntil=function(e){var t,n;return n=this.str.substr(this.pos).search(e),n<0?(this.lastMatch.reset(),null):(t=this.str.substr(this.pos+n).match(e),this.lastMatch.captures=t.slice(1),this.lastMatch.str=this.str.substr(this.pos,n)+t[0])},e.prototype.clone=function(){var e,t,n,r;e=new this.constructor(this.str),e.pos=this.pos,e.lastMatch={},r=this.lastMatch;for(t in r)n=r[t],e.lastMatch[t]=n;return e},e.prototype.concat=function(e){return this.str+=e,this},e.prototype.eos=function(){return this.pos===this.str.length},e.prototype.exists=function(e){var t,n;return n=this.str.substr(this.pos).search(e),n<0?(this.lastMatch.reset(),null):(t=this.str.substr(this.pos+n).match(e),this.lastMatch.str=t[0],this.lastMatch.captures=t.slice(1),n)},e.prototype.getch=function(){return this.scan(/./)},e.prototype.match=function(){return this.lastMatch.str},e.prototype.matches=function(e){return this.check(e),this.matchSize()},e.prototype.matched=function(){return this.lastMatch.str!=null},e.prototype.matchSize=function(){return this.matched()?this.match().length:null},e.prototype.peek=function(e){return this.str.substr(this.pos,e)},e.prototype.pointer=function(){return this.pos},e.prototype.setPointer=function(e){return e=+e,e<0&&(e=0),e>this.str.length&&(e=this.str.length),this.pos=e},e.prototype.reset=function(){return this.lastMatch.reset(),this.pos=0,this},e.prototype.rest=function(){return this.str.substr(this.pos)},e.prototype.scan=function(e){var t;return t=this.check(e),t!=null&&(this.pos+=t.length),t},e.prototype.scanUntil=function(e){var t;return t=this.checkUntil(e),t!=null&&(this.pos+=t.length),t},e.prototype.skip=function(e){return this.scan(e),this.matchSize()},e.prototype.skipUntil=function(e){return this.scanUntil(e),this.matchSize()},e.prototype.string=function(){return this.str},e.prototype.terminate=function(){return this.pos=this.str.length,this.lastMatch.reset(),this},e.prototype.toString=function(){return"#<StringScanner "+(this.eos()?"fin":""+this.pos+"/"+this.str.length+" @ "+(this.str.length>8?""+this.str.substr(0,5)+"...":this.str))+">"},e}(),t.prototype.beginningOfLine=t.prototype.bol,t.prototype.clear=t.prototype.terminate,t.prototype.dup=t.prototype.clone,t.prototype.endOfString=t.prototype.eos,t.prototype.exist=t.prototype.exists,t.prototype.getChar=t.prototype.getch,t.prototype.position=t.prototype.pointer,t.StringScanner=t,this.StringScanner=t})(this);var t=this.StringScanner,n;this.Emblem={},n=this.Emblem,n.VERSION="0.1.11",n.Parser=function(){function e(e,t){function n(){this.constructor=e}n.prototype=t.prototype,e.prototype=new n}function t(e,t,n,r,i){function s(e,t){function n(e){function t(e){return e.charCodeAt(0).toString(16).toUpperCase()}return e.replace(/\\/g,"\\\\").replace(/"/g,'\\"').replace(/\x08/g,"\\b").replace(/\t/g,"\\t").replace(/\n/g,"\\n").replace(/\f/g,"\\f").replace(/\r/g,"\\r").replace(/[\x00-\x07\x0B\x0E\x0F]/g,function(e){return"\\x0"+t(e)}).replace(/[\x10-\x1F\x80-\xFF]/g,function(e){return"\\x"+t(e)}).replace(/[\u0180-\u0FFF]/g,function(e){return"\\u0"+t(e)}).replace(/[\u1080-\uFFFF]/g,function(e){return"\\u"+t(e)})}var r,i;switch(e.length){case 0:r="end of input";break;case 1:r=e[0];break;default:r=e.slice(0,-1).join(", ")+" or "+e[e.length-1]}return i=t?'"'+n(t)+'"':"end of input","Expected "+r+" but "+i+" found."}this.expected=e,this.found=t,this.offset=n,this.line=r,this.column=i,this.name="SyntaxError",this.message=s(e,t)}function r(e){function _r(){return e.substring(Nr,Tr)}function Dr(){return Nr}function Pr(){return Br(Nr).line}function Hr(){return Br(Nr).column}function Br(t){function n(t,n){var r,i;for(r=0;r<n;r++)i=e.charAt(r),i==="\n"?(t.seenCR||t.line++,t.column=1,t.seenCR=!1):i==="\r"||i==="\u2028"||i==="\u2029"?(t.line++,t.column=1,t.seenCR=!0):(t.column++,t.seenCR=!1)}return Cr!==t&&(Cr>t&&(Cr=0,kr={line:1,column:1,seenCR:!1}),Cr=t,n(kr,Cr)),kr}function jr(e){if(Tr<Lr)return;Tr>Lr&&(Lr=Tr,Ar=[]),Ar.push(e)}function Fr(e){var t=0;e.sort();while(t<e.length)e[t-1]===e[t]?e.splice(t,1):t++}function Ir(){var e;return e=qr(),e}function qr(){var t,n,r,i,s,h,p,d,v;return t=Tr,n=Rr(),n!==null?(r=Tr,i=Cs(),i!==null?(e.substr(Tr,4)===a?(s=a,Tr+=4):(s=null,Or===0&&jr(f)),s!==null?(h=Ms(),h!==null?(p=Ls(),p!==null?(d=Ts(),d!==null?(v=Rr(),v!==null?(Nr=r,i=l(v),i===null?(Tr=r,r=i):r=i):(Tr=r,r=o)):(Tr=r,r=o)):(Tr=r,r=o)):(Tr=r,r=o)):(Tr=r,r=o)):(Tr=r,r=o),r===null&&(r=u),r!==null?(Nr=t,n=c(n,r),n===null?(Tr=t,t=n):t=n):(Tr=t,t=o)):(Tr=t,t=o),t}function Rr(){var e,t,n;e=Tr,t=[],n=Ur();while(n!==null)t.push(n),n=Ur();return t!==null&&(Nr=e,t=p(t)),t===null?(Tr=e,e=t):e=t,e}function Ur(){var e,t;return Or++,e=zr(),e===null&&(e=Kr(),e===null&&(e=Wr(),e===null&&(e=Vr(),e===null&&(e=Ai(),e===null&&(e=$r()))))),Or--,e===null&&(t=null,Or===0&&jr(d)),e}function zr(){var e,t,n;return e=Tr,t=Ms(),t!==null?(n=Ls(),n!==null?(Nr=e,t=v(),t===null?(Tr=e,e=t):e=t):(Tr=e,e=o)):(Tr=e,e=o),e}function Wr(){var t,n,r,i,s,u,a,f;t=Tr,e.charCodeAt(Tr)===62?(n=m,Tr++):(n=null,Or===0&&jr(g));if(n!==null){r=Ms();if(r!==null){i=Xr();if(i!==null){s=Ms();if(s!==null){u=[],a=ai();while(a!==null)u.push(a),a=ai();u!==null?(a=Ms(),a!==null?(f=Ls(),f!==null?(Nr=t,n=y(i,u),n===null?(Tr=t,t=n):t=n):(Tr=t,t=o)):(Tr=t,t=o)):(Tr=t,t=o)}else Tr=t,t=o}else Tr=t,t=o}else Tr=t,t=o}else Tr=t,t=o;return t}function Xr(){var t,n,r,i;t=Tr,n=Tr,r=[],b.test(e.charAt(Tr))?(i=e.charAt(Tr),Tr++):(i=null,Or===0&&jr(w));if(i!==null)while(i!==null)r.push(i),b.test(e.charAt(Tr))?(i=e.charAt(Tr),Tr++):(i=null,Or===0&&jr(w));else r=o;return r!==null&&(r=e.substring(n,Tr)),n=r,n!==null&&(Nr=t,n=E(n)),n===null?(Tr=t,t=n):t=n,t}function Vr(){var e;return e=Yr(),e===null&&(e=Zr()),e}function $r(){var e,t;return e=Tr,t=ni(),t===null&&(t=Qr()),t!==null&&(Nr=e,t=S(t)),t===null?(Tr=e,e=t):e=t,e}function Jr(){var e,t,n,r,i,s,u,a;e=Tr,t=Ps();if(t!==null){n=Ls();if(n!==null){r=[],i=Tr,s=Ts();if(s!==null){u=[],a=Jr();if(a!==null)while(a!==null)u.push(a),a=Jr();else u=o;u!==null?(a=As(),a!==null?(s=[s,u,a],i=s):(Tr=i,i=o)):(Tr=i,i=o)}else Tr=i,i=o;while(i!==null){r.push(i),i=Tr,s=Ts();if(s!==null){u=[],a=Jr();if(a!==null)while(a!==null)u.push(a),a=Jr();else u=o;u!==null?(a=As(),a!==null?(s=[s,u,a],i=s):(Tr=i,i=o)):(Tr=i,i=o)}else Tr=i,i=o}r!==null?(Nr=e,t=v(),t===null?(Tr=e,e=t):e=t):(Tr=e,e=o)}else Tr=e,e=o}else Tr=e,e=o;return e}function Kr(){var t,n,r;return t=Tr,e.charCodeAt(Tr)===47?(n=x,Tr++):(n=null,Or===0&&jr(T)),n!==null?(r=Jr(),r!==null?(Nr=t,n=v(),n===null?(Tr=t,t=n):t=n):(Tr=t,t=o)):(Tr=t,t=o),t}function Qr(){var e;return e=Gr(),e===null&&(e=ei()),e}function Gr(){var t,n,r;return t=Tr,n=Tr,Or++,N.test(e.charAt(Tr))?(r=e.charAt(Tr),Tr++):(r=null,Or===0&&jr(C)),Or--,r!==null?(Tr=n,n=u):n=o,n!==null?(r=ei(),r!==null?(Nr=t,n=k(r),n===null?(Tr=t,t=n):t=n):(Tr=t,t=o)):(Tr=t,t=o),t}function Yr(){var e,t,n,r,i,s,a,f,l;e=Tr,t=Yi();if(t!==null){n=Ms();if(n!==null){r=Ls();if(r!==null){i=Tr,s=[],a=zr();while(a!==null)s.push(a),a=zr();s!==null?(a=Ts(),a!==null?(f=Rr(),f!==null?(l=Cs(),l!==null?(s=[s,a,f,l],i=s):(Tr=i,i=o)):(Tr=i,i=o)):(Tr=i,i=o)):(Tr=i,i=o),i===null&&(i=u),i!==null?(Nr=e,t=L(t,i),t===null?(Tr=e,e=t):e=t):(Tr=e,e=o)}else Tr=e,e=o}else Tr=e,e=o}else Tr=e,e=o;return e}function Zr(){var t,n,r,i,s,a,f,l;t=Tr,n=Yi();if(n!==null){e.charCodeAt(Tr)===32?(r=A,Tr++):(r=null,Or===0&&jr(O)),r===null&&(r=Tr,Or++,e.charCodeAt(Tr)===61?(i=M,Tr++):(i=null,Or===0&&jr(_)),Or--,i!==null?(Tr=r,r=u):r=o);if(r!==null){i=Ci();if(i!==null){s=Tr,a=Ts();if(a!==null){f=[],l=ki();if(l!==null)while(l!==null)f.push(l),l=ki();else f=o;f!==null?(l=Cs(),l!==null?(a=[a,f,l],s=a):(Tr=s,s=o)):(Tr=s,s=o)}else Tr=s,s=o;s===null&&(s=u),s!==null?(Nr=t,n=D(n,i,s),n===null?(Tr=t,t=n):t=n):(Tr=t,t=o)}else Tr=t,t=o}else Tr=t,t=o}else Tr=t,t=o;return t}function ei(){var e,t,n,r,i,s,a,f,l;e=ti();if(e===null){e=Tr,t=ri();if(t!==null){n=Ms();if(n!==null){r=Ls();if(r!==null){i=Tr,s=[],a=zr();while(a!==null)s.push(a),a=zr();s!==null?(a=Ts(),a!==null?(f=qr(),f!==null?(l=Cs(),l!==null?(s=[s,a,f,l],i=s):(Tr=i,i=o)):(Tr=i,i=o)):(Tr=i,i=o)):(Tr=i,i=o),i===null&&(i=u),i!==null?(Nr=e,t=P(t,i),t===null?(Tr=e,e=t):e=t):(Tr=e,e=o)}else Tr=e,e=o}else Tr=e,e=o}else Tr=e,e=o}return e}function ti(){var e,t,n,r;return e=Tr,t=ri(),t!==null?(n=Ms(),n!==null?(r=Ai(),r!==null?(Nr=e,t=H(t,r),t===null?(Tr=e,e=t):e=t):(Tr=e,e=o)):(Tr=e,e=o)):(Tr=e,e=o),e}function ni(){var e,t,n;return e=Tr,t=Gi(),t!==null?(n=ei(),n!==null?(Nr=e,t=B(t,n),t===null?(Tr=e,e=t):e=t):(Tr=e,e=o)):(Tr=e,e=o),e}function ri(){var t,n,r,i,s,a;t=Tr,e.charCodeAt(Tr)===62?(n=m,Tr++):(n=null,Or===0&&jr(g)),n===null&&(n=u);if(n!==null){r=Ms();if(r!==null){i=mi();if(i!==null){s=[],a=ai();while(a!==null)s.push(a),a=ai();s!==null?(a=fi(),a===null&&(a=u),a!==null?(Nr=t,n=j(n,i,s,a),n===null?(Tr=t,t=n):t=n):(Tr=t,t=o)):(Tr=t,t=o)}else Tr=t,t=o}else Tr=t,t=o}else Tr=t,t=o;return t}function ii(){var e,t;return e=Tr,t=cs(),t!==null&&(Nr=e,t=F(t)),t===null?(Tr=e,e=t):e=t,e===null&&(e=Tr,t=hs(),t!==null&&(Nr=e,t=I(t)),t===null?(Tr=e,e=t):e=t,e===null&&(e=Tr,t=ps(),t!==null&&(Nr=e,t=q(t)),t===null?(Tr=e,e=t):e=t)),e}function si(){var e;return e=oi(),e===null&&(e=ui()),e}function oi(){var e,t,n,r;e=Tr,t=hs();if(t!==null){n=[],r=ps();while(r!==null)n.push(r),r=ps();n!==null?(Nr=e,t=R(t,n),t===null?(Tr=e,e=t):e=t):(Tr=e,e=o)}else Tr=e,e=o;return e}function ui(){var e,t,n;e=Tr,t=[],n=ps();if(n!==null)while(n!==null)t.push(n),n=ps();else t=o;return t!==null&&(Nr=e,t=U(t)),t===null?(Tr=e,e=t):e=t,e}function ai(){var e,t,n;return e=Tr,t=Ms(),t!==null?(n=ii(),n===null&&(n=pi()),n!==null?(Nr=e,t=z(n),t===null?(Tr=e,e=t):e=t):(Tr=e,e=o)):(Tr=e,e=o),e}function fi(){var e,t,n;e=Tr,t=[],n=hi();if(n!==null)while(n!==null)t.push(n),n=hi();else t=o;return t!==null&&(Nr=e,t=W(t)),t===null?(Tr=e,e=t):e=t,e}function li(){var t,n,r,i;Or++,e.substr(Tr,2)===V?(t=V,Tr+=2):(t=null,Or===0&&jr($));if(t===null){e.charCodeAt(Tr)===46?(t=J,Tr++):(t=null,Or===0&&jr(K));if(t===null){t=Tr,n=Tr,r=[],Q.test(e.charAt(Tr))?(i=e.charAt(Tr),Tr++):(i=null,Or===0&&jr(G));if(i!==null)while(i!==null)r.push(i),Q.test(e.charAt(Tr))?(i=e.charAt(Tr),Tr++):(i=null,Or===0&&jr(G));else r=o;r!==null&&(r=e.substring(n,Tr)),n=r,n!==null?(r=Tr,Or++,e.charCodeAt(Tr)===61?(i=M,Tr++):(i=null,Or===0&&jr(_)),Or--,i===null?r=u:(Tr=r,r=o),r!==null?(Nr=t,n=Y(n),n===null?(Tr=t,t=n):t=n):(Tr=t,t=o)):(Tr=t,t=o)}}return Or--,t===null&&(n=null,Or===0&&jr(X)),t}function ci(){var e,t;return Or++,e=vs(),Or--,e===null&&(t=null,Or===0&&jr(Z)),e}function hi(){var t,n,r,i,s,u;return t=Tr,n=Ms(),n!==null?(r=Tr,i=ci(),i!==null?(e.charCodeAt(Tr)===61?(s=M,Tr++):(s=null,Or===0&&jr(_)),s!==null?(u=mi(),u!==null?(i=[i,s,u],r=i):(Tr=r,r=o)):(Tr=r,r=o)):(Tr=r,r=o),r===null&&(r=Tr,i=ci(),i!==null?(e.charCodeAt(Tr)===61?(s=M,Tr++):(s=null,Or===0&&jr(_)),s!==null?(u=gi(),u!==null?(i=[i,s,u],r=i):(Tr=r,r=o)):(Tr=r,r=o)):(Tr=r,r=o),r===null&&(r=Tr,i=ci(),i!==null?(e.charCodeAt(Tr)===61?(s=M,Tr++):(s=null,Or===0&&jr(_)),s!==null?(u=yi(),u!==null?(i=[i,s,u],r=i):(Tr=r,r=o)):(Tr=r,r=o)):(Tr=r,r=o),r===null&&(r=Tr,i=ci(),i!==null?(e.charCodeAt(Tr)===61?(s=M,Tr++):(s=null,Or===0&&jr(_)),s!==null?(u=bi(),u!==null?(i=[i,s,u],r=i):(Tr=r,r=o)):(Tr=r,r=o)):(Tr=r,r=o)))),r!==null?(Nr=t,n=et(r),n===null?(Tr=t,t=n):t=n):(Tr=t,t=o)):(Tr=t,t=o),t}function pi(){var e;return e=mi(),e===null&&(e=gi(),e===null&&(e=yi(),e===null&&(e=bi()))),e}function di(){var e,t,n,r,i,s;e=Tr,t=li();if(t!==null){n=[],r=Tr,i=vi(),i!==null?(s=li(),s!==null?(Nr=r,i=tt(s),i===null?(Tr=r,r=i):r=i):(Tr=r,r=o)):(Tr=r,r=o);while(r!==null)n.push(r),r=Tr,i=vi(),i!==null?(s=li(),s!==null?(Nr=r,i=tt(s),i===null?(Tr=r,r=i):r=i):(Tr=r,r=o)):(Tr=r,r=o);n!==null?(Nr=e,t=nt(t,n),t===null?(Tr=e,e=t):e=t):(Tr=e,e=o)}else Tr=e,e=o;return e}function vi(){var t,n;return Or++,it.test(e.charAt(Tr))?(t=e.charAt(Tr),Tr++):(t=null,Or===0&&jr(st)),Or--,t===null&&(n=null,Or===0&&jr(rt)),t}function mi(){var e,t;return e=Tr,t=di(),t!==null&&(Nr=e,t=ot(t)),t===null?(Tr=e,e=t):e=t,e}function gi(){var e,t;return e=Tr,t=Si(),t!==null&&(Nr=e,t=ut(t)),t===null?(Tr=e,e=t):e=t,e}function yi(){var e,t;return e=Tr,t=Ei(),t!==null&&(Nr=e,t=at(t)),t===null?(Tr=e,e=t):e=t,e}function bi(){var e,t;return e=Tr,t=wi(),t!==null&&(Nr=e,t=ft(t)),t===null?(Tr=e,e=t):e=t,e}function wi(){var t,n;return Or++,e.substr(Tr,4)===ct?(t=ct,Tr+=4):(t=null,Or===0&&jr(ht)),t===null&&(e.substr(Tr,5)===pt?(t=pt,Tr+=5):(t=null,Or===0&&jr(dt))),Or--,t===null&&(n=null,Or===0&&jr(lt)),t}function Ei(){var t,n,r,i;Or++,t=Tr,n=Tr,r=[],mt.test(e.charAt(Tr))?(i=e.charAt(Tr),Tr++):(i=null,Or===0&&jr(gt));if(i!==null)while(i!==null)r.push(i),mt.test(e.charAt(Tr))?(i=e.charAt(Tr),Tr++):(i=null,Or===0&&jr(gt));else r=o;return r!==null&&(r=e.substring(n,Tr)),n=r,n!==null&&(Nr=t,n=yt(n)),n===null?(Tr=t,t=n):t=n,Or--,t===null&&(n=null,Or===0&&jr(vt)),t}function Si(){var t,n,r,i,s;return t=Tr,n=Tr,e.charCodeAt(Tr)===34?(r=bt,Tr++):(r=null,Or===0&&jr(wt)),r!==null?(i=xi(),i!==null?(e.charCodeAt(Tr)===34?(s=bt,Tr++):(s=null,Or===0&&jr(wt)),s!==null?(r=[r,i,s],n=r):(Tr=n,n=o)):(Tr=n,n=o)):(Tr=n,n=o),n===null&&(n=Tr,e.charCodeAt(Tr)===39?(r=Et,Tr++):(r=null,Or===0&&jr(St)),r!==null?(i=Ti(),i!==null?(e.charCodeAt(Tr)===39?(s=Et,Tr++):(s=null,Or===0&&jr(St)),s!==null?(r=[r,i,s],n=r):(Tr=n,n=o)):(Tr=n,n=o)):(Tr=n,n=o)),n!==null&&(Nr=t,n=xt(n)),n===null?(Tr=t,t=n):t=n,t}function xi(){var t,n,r,i,s;t=Tr,n=[],r=Tr,i=Tr,Or++,s=Ls(),Or--,s===null?i=u:(Tr=i,i=o),i!==null?(Tt.test(e.charAt(Tr))?(s=e.charAt(Tr),Tr++):(s=null,Or===0&&jr(Nt)),s!==null?(i=[i,s],r=i):(Tr=r,r=o)):(Tr=r,r=o);while(r!==null)n.push(r),r=Tr,i=Tr,Or++,s=Ls(),Or--,s===null?i=u:(Tr=i,i=o),i!==null?(Tt.test(e.charAt(Tr))?(s=e.charAt(Tr),Tr++):(s=null,Or===0&&jr(Nt)),s!==null?(i=[i,s],r=i):(Tr=r,r=o)):(Tr=r,r=o);return n!==null&&(n=e.substring(t,Tr)),t=n,t}function Ti(){var t,n,r,i,s;t=Tr,n=[],r=Tr,i=Tr,Or++,s=Ls(),Or--,s===null?i=u:(Tr=i,i=o),i!==null?(Ct.test(e.charAt(Tr))?(s=e.charAt(Tr),Tr++):(s=null,Or===0&&jr(kt)),s!==null?(i=[i,s],r=i):(Tr=r,r=o)):(Tr=r,r=o);while(r!==null)n.push(r),r=Tr,i=Tr,Or++,s=Ls(),Or--,s===null?i=u:(Tr=i,i=o),i!==null?(Ct.test(e.charAt(Tr))?(s=e.charAt(Tr),Tr++):(s=null,Or===0&&jr(kt)),s!==null?(i=[i,s],r=i):(Tr=r,r=o)):(Tr=r,r=o);return n!==null&&(n=e.substring(t,Tr)),t=n,t}function Ni(){var t;return Lt.test(e.charAt(Tr))?(t=e.charAt(Tr),Tr++):(t=null,Or===0&&jr(At)),t}function Ci(){var e,t,n;return e=Tr,t=Ms(),t!==null?(n=ni(),n!==null?(Nr=e,t=Ot(n),t===null?(Tr=e,e=t):e=t):(Tr=e,e=o)):(Tr=e,e=o),e===null&&(e=Oi()),e}function ki(){var e,t,n,r,i;e=Tr,t=Ts();if(t!==null){n=Oi();if(n!==null){r=[],i=ki();while(i!==null)r.push(i),i=ki();r!==null?(i=As(),i!==null?(Nr=e,t=Mt(t,n,r),t===null?(Tr=e,e=t):e=t):(Tr=e,e=o)):(Tr=e,e=o)}else Tr=e,e=o}else Tr=e,e=o;return e===null&&(e=Oi()),e}function Li(){var t,n,r;return t=Tr,_t.test(e.charAt(Tr))?(n=e.charAt(Tr),Tr++):(n=null,Or===0&&jr(Dt)),n!==null?(e.charCodeAt(Tr)===32?(r=A,Tr++):(r=null,Or===0&&jr(O)),r===null&&(r=u),r!==null?(Nr=t,n=Y(n),n===null?(Tr=t,t=n):t=n):(Tr=t,t=o)):(Tr=t,t=o),t===null&&(t=Tr,n=Tr,Or++,e.charCodeAt(Tr)===60?(r=Pt,Tr++):(r=null,Or===0&&jr(Ht)),Or--,r!==null?(Tr=n,n=u):n=o,n!==null&&(Nr=t,n=Bt()),n===null?(Tr=t,t=n):t=n),t}function Ai(){var e,t,n,r,i,s,a;e=Tr,t=Li();if(t!==null){n=Oi();if(n!==null){r=Tr,i=Ts();if(i!==null){s=[],a=ki();while(a!==null)s.push(a),a=ki();s!==null?(a=Cs(),a!==null?(i=[i,s,a],r=i):(Tr=r,r=o)):(Tr=r,r=o)}else Tr=r,r=o;r===null&&(r=u),r!==null?(Nr=e,t=jt(t,n,r),t===null?(Tr=e,e=t):e=t):(Tr=e,e=o)}else Tr=e,e=o}else Tr=e,e=o;return e}function Oi(){var e,t,n,r,i,s;e=Tr,t=Fi(),t===null&&(t=u);if(t!==null){n=[],r=Tr,i=Di(),i!==null?(s=Fi(),s===null&&(s=u),s!==null?(i=[i,s],r=i):(Tr=r,r=o)):(Tr=r,r=o);while(r!==null)n.push(r),r=Tr,i=Di(),i!==null?(s=Fi(),s===null&&(s=u),s!==null?(i=[i,s],r=i):(Tr=r,r=o)):(Tr=r,r=o);n!==null?(r=Ls(),r!==null?(Nr=e,t=Ft(t,n),t===null?(Tr=e,e=t):e=t):(Tr=e,e=o)):(Tr=e,e=o)}else Tr=e,e=o;return e}function Mi(){var t,n,r,i;return t=Tr,e.charCodeAt(Tr)===34?(n=bt,Tr++):(n=null,Or===0&&jr(wt)),n!==null?(r=_i(),r!==null?(e.charCodeAt(Tr)===34?(i=bt,Tr++):(i=null,Or===0&&jr(wt)),i!==null?(Nr=t,n=It(r),n===null?(Tr=t,t=n):t=n):(Tr=t,t=o)):(Tr=t,t=o)):(Tr=t,t=o),t}function _i(){var e,t,n,r,i,s;e=Tr,t=Bi(),t===null&&(t=u);if(t!==null){n=[],r=Tr,i=Di(),i!==null?(s=Bi(),s===null&&(s=u),s!==null?(i=[i,s],r=i):(Tr=r,r=o)):(Tr=r,r=o);while(r!==null)n.push(r),r=Tr,i=Di(),i!==null?(s=Bi(),s===null&&(s=u),s!==null?(i=[i,s],r=i):(Tr=r,r=o)):(Tr=r,r=o);n!==null?(Nr=e,t=Ft(t,n),t===null?(Tr=e,e=t):e=t):(Tr=e,e=o)}else Tr=e,e=o;return e}function Di(){var e;return e=Hi(),e===null&&(e=Pi()),e}function Pi(){var e,t,n,r,i,s;return e=Tr,t=Wi(),t!==null?(n=Ms(),n!==null?(r=ri(),r!==null?(i=Ms(),i!==null?(s=$i(),s!==null?(Nr=e,t=qt(r),t===null?(Tr=e,e=t):e=t):(Tr=e,e=o)):(Tr=e,e=o)):(Tr=e,e=o)):(Tr=e,e=o)):(Tr=e,e=o),e===null&&(e=Tr,t=Ki(),t!==null?(n=Ms(),n!==null?(r=ri(),r!==null?(i=Ms(),i!==null?(s=Qi(),s!==null?(Nr=e,t=qt(r),t===null?(Tr=e,e=t):e=t):(Tr=e,e=o)):(Tr=e,e=o)):(Tr=e,e=o)):(Tr=e,e=o)):(Tr=e,e=o)),e}function Hi(){var e,t,n,r,i,s;return e=Tr,t=Xi(),t!==null?(n=Ms(),n!==null?(r=ri(),r!==null?(i=Ms(),i!==null?(s=Ji(),s!==null?(Nr=e,t=Rt(r),t===null?(Tr=e,e=t):e=t):(Tr=e,e=o)):(Tr=e,e=o)):(Tr=e,e=o)):(Tr=e,e=o)):(Tr=e,e=o),e}function Bi(){var t,n,r,i;t=Tr,n=Tr,r=[],i=ji();if(i!==null)while(i!==null)r.push(i),i=ji();else r=o;return r!==null&&(r=e.substring(n,Tr)),n=r,n!==null&&(Nr=t,n=Ut(n)),n===null?(Tr=t,t=n):t=n,t}function ji(){var t,n,r;return t=Tr,n=Tr,Or++,r=qi(),r===null&&(e.charCodeAt(Tr)===34?(r=bt,Tr++):(r=null,Or===0&&jr(wt))),Or--,r===null?n=u:(Tr=n,n=o),n!==null?(e.length>Tr?(r=e.charAt(Tr),Tr++):(r=null,Or===0&&jr(zt)),r!==null?(Nr=t,n=Wt(r),n===null?(Tr=t,t=n):t=n):(Tr=t,t=o)):(Tr=t,t=o),t}function Fi(){var t,n,r,i;t=Tr,n=Tr,r=[],i=Ii();if(i!==null)while(i!==null)r.push(i),i=Ii();else r=o;return r!==null&&(r=e.substring(n,Tr)),n=r,n!==null&&(Nr=t,n=Ut(n)),n===null?(Tr=t,t=n):t=n,t}function Ii(){var t,n,r;return t=Tr,n=Tr,Or++,r=qi(),Or--,r===null?n=u:(Tr=n,n=o),n!==null?(e.length>Tr?(r=e.charAt(Tr),Tr++):(r=null,Or===0&&jr(zt)),r!==null?(Nr=t,n=Wt(r),n===null?(Tr=t,t=n):t=n):(Tr=t,t=o)):(Tr=t,t=o),t}function qi(){var e;return e=Xi(),e===null&&(e=Wi(),e===null&&(e=Ki(),e===null&&(e=As(),e===null&&(e=Ls())))),e}function Ri(){var e,t,n,r,i,s;return e=Tr,t=zi(),t!==null?(n=Ms(),n!==null?(r=ri(),r!==null?(i=Ms(),i!==null?(s=Vi(),s!==null?(Nr=e,t=qt(r),t===null?(Tr=e,e=t):e=t):(Tr=e,e=o)):(Tr=e,e=o)):(Tr=e,e=o)):(Tr=e,e=o)):(Tr=e,e=o),e}function Ui(){var e;return e=Ri(),e===null&&(e=Hi(),e===null&&(e=Pi())),e}function zi(){var t,n;return Or++,e.charCodeAt(Tr)===123?(t=Vt,Tr++):(t=null,Or===0&&jr($t)),Or--,t===null&&(n=null,Or===0&&jr(Xt)),t}function Wi(){var t,n;return Or++,e.substr(Tr,2)===Kt?(t=Kt,Tr+=2):(t=null,Or===0&&jr(Qt)),Or--,t===null&&(n=null,Or===0&&jr(Jt)),t}function Xi(){var t,n;return Or++,e.substr(Tr,3)===Yt?(t=Yt,Tr+=3):(t=null,Or===0&&jr(Zt)),Or--,t===null&&(n=null,Or===0&&jr(Gt)),t}function Vi(){var t,n;return Or++,e.charCodeAt(Tr)===125?(t=tn,Tr++):(t=null,Or===0&&jr(nn)),Or--,t===null&&(n=null,Or===0&&jr(en)),t}function $i(){var t,n;return Or++,e.substr(Tr,2)===sn?(t=sn,Tr+=2):(t=null,Or===0&&jr(on)),Or--,t===null&&(n=null,Or===0&&jr(rn)),t}function Ji(){var t,n;return Or++,e.substr(Tr,3)===an?(t=an,Tr+=3):(t=null,Or===0&&jr(fn)),Or--,t===null&&(n=null,Or===0&&jr(un)),t}function Ki(){var t,n;return Or++,e.substr(Tr,2)===cn?(t=cn,Tr+=2):(t=null,Or===0&&jr(hn)),Or--,t===null&&(n=null,Or===0&&jr(ln)),t}function Qi(){var t,n;return Or++,e.charCodeAt(Tr)===125?(t=tn,Tr++):(t=null,Or===0&&jr(nn)),Or--,t===null&&(n=null,Or===0&&jr(pn)),t}function Gi(){var t,n,r;return t=Tr,e.substr(Tr,2)===dn?(n=dn,Tr+=2):(n=null,Or===0&&jr(vn)),n!==null?(e.charCodeAt(Tr)===32?(r=A,Tr++):(r=null,Or===0&&jr(O)),r===null&&(r=u),r!==null?(Nr=t,n=mn(),n===null?(Tr=t,t=n):t=n):(Tr=t,t=o)):(Tr=t,t=o),t===null&&(t=Tr,e.charCodeAt(Tr)===61?(n=M,Tr++):(n=null,Or===0&&jr(_)),n!==null?(e.charCodeAt(Tr)===32?(r=A,Tr++):(r=null,Or===0&&jr(O)),r===null&&(r=u),r!==null?(Nr=t,n=gn(),n===null?(Tr=t,t=n):t=n):(Tr=t,t=o)):(Tr=t,t=o)),t}function Yi(){var e,t,n,r,i,s,a;e=Tr,t=Tr,n=ws();if(n!==null){r=si(),r===null&&(r=u);if(r!==null){i=[],s=Ui();while(s!==null)i.push(s),s=Ui();if(i!==null){s=[],a=Zi();while(a!==null)s.push(a),a=Zi();s!==null?(Nr=t,n=yn(n,r,i,s),n===null?(Tr=t,t=n):t=n):(Tr=t,t=o)}else Tr=t,t=o}else Tr=t,t=o}else Tr=t,t=o;if(t===null){t=Tr,n=si();if(n!==null){r=[],i=Ui();while(i!==null)r.push(i),i=Ui();if(r!==null){i=[],s=Zi();while(s!==null)i.push(s),s=Zi();i!==null?(Nr=t,n=bn(n,r,i),n===null?(Tr=t,t=n):t=n):(Tr=t,t=o)}else Tr=t,t=o}else Tr=t,t=o}return t!==null&&(Nr=e,t=wn(t)),t===null?(Tr=e,e=t):e=t,e}function si(){var e;return e=oi(),e===null&&(e=ui()),e}function oi(){var e,t,n,r;e=Tr,t=hs();if(t!==null){n=[],r=ps();while(r!==null)n.push(r),r=ps();n!==null?(Nr=e,t=R(t,n),t===null?(Tr=e,e=t):e=t):(Tr=e,e=o)}else Tr=e,e=o;return e}function ui(){var e,t,n;e=Tr,t=[],n=ps();if(n!==null)while(n!==null)t.push(n),n=ps();else t=o;return t!==null&&(Nr=e,t=U(t)),t===null?(Tr=e,e=t):e=t,e}function Zi(){var t,n,r;t=Tr,n=[],e.charCodeAt(Tr)===32?(r=A,Tr++):(r=null,Or===0&&jr(O));if(r!==null)while(r!==null)n.push(r),e.charCodeAt(Tr)===32?(r=A,Tr++):(r=null,Or===0&&jr(O));else n=o;return n!==null?(r=rs(),r===null&&(r=ss(),r===null&&(r=os(),r===null&&(r=us()))),r!==null?(Nr=t,n=En(r),n===null?(Tr=t,t=n):t=n):(Tr=t,t=o)):(Tr=t,t=o),t}function es(){var t;return Sn.test(e.charAt(Tr))?(t=e.charAt(Tr),Tr++):(t=null,Or===0&&jr(xn)),t}function ts(){var e,t;return e=ns(),e===null&&(e=Tr,t=mi(),t!==null&&(Nr=e,t=Tn(t)),t===null?(Tr=e,e=t):e=t),e}function ns(){var t,n,r,i,s;return t=Tr,n=Tr,e.charCodeAt(Tr)===34?(r=bt,Tr++):(r=null,Or===0&&jr(wt)),r!==null?(i=ri(),i!==null?(e.charCodeAt(Tr)===34?(s=bt,Tr++):(s=null,Or===0&&jr(wt)),s!==null?(r=[r,i,s],n=r):(Tr=n,n=o)):(Tr=n,n=o)):(Tr=n,n=o),n===null&&(n=Tr,e.charCodeAt(Tr)===39?(r=Et,Tr++):(r=null,Or===0&&jr(St)),r!==null?(i=ri(),i!==null?(e.charCodeAt(Tr)===39?(s=Et,Tr++):(s=null,Or===0&&jr(St)),s!==null?(r=[r,i,s],n=r):(Tr=n,n=o)):(Tr=n,n=o)):(Tr=n,n=o)),n!==null&&(Nr=t,n=xt(n)),n===null?(Tr=t,t=n):t=n,t}function rs(){var t,n,r,i;return t=Tr,n=xs(),n!==null?(e.charCodeAt(Tr)===61?(r=M,Tr++):(r=null,Or===0&&jr(_)),r!==null?(i=ts(),i!==null?(Nr=t,n=Nn(n,i),n===null?(Tr=t,t=n):t=n):(Tr=t,t=o)):(Tr=t,t=o)):(Tr=t,t=o),t}function is(){var t,n,r,i,s,u;t=Tr,e.charCodeAt(Tr)===123?(n=Vt,Tr++):(n=null,Or===0&&jr($t));if(n!==null){r=Ms();if(r!==null){i=Tr,s=[],u=es(),u===null&&(e.charCodeAt(Tr)===32?(u=A,Tr++):(u=null,Or===0&&jr(O)));if(u!==null)while(u!==null)s.push(u),u=es(),u===null&&(e.charCodeAt(Tr)===32?(u=A,Tr++):(u=null,Or===0&&jr(O)));else s=o;s!==null&&(s=e.substring(i,Tr)),i=s,i!==null?(s=Ms(),s!==null?(e.charCodeAt(Tr)===125?(u=tn,Tr++):(u=null,Or===0&&jr(nn)),u!==null?(Nr=t,n=Cn(i),n===null?(Tr=t,t=n):t=n):(Tr=t,t=o)):(Tr=t,t=o)):(Tr=t,t=o)}else Tr=t,t=o}else Tr=t,t=o;if(t===null){t=Tr,n=[],r=es();if(r!==null)while(r!==null)n.push(r),r=es();else n=o;n!==null&&(n=e.substring(t,Tr)),t=n}return t}function ss(){var t,n,r,i,s,a;return t=Tr,n=ci(),n!==null?(e.charCodeAt(Tr)===61?(r=M,Tr++):(r=null,Or===0&&jr(_)),r!==null?(i=is(),i!==null?(s=Tr,Or++,e.charCodeAt(Tr)===33?(a=kn,Tr++):(a=null,Or===0&&jr(Ln)),Or--,a===null?s=u:(Tr=s,s=o),s!==null?(Nr=Tr,a=An(n,i),a?a=u:a=o,a!==null?(Nr=t,n=On(n,i),n===null?(Tr=t,t=n):t=n):(Tr=t,t=o)):(Tr=t,t=o)):(Tr=t,t=o)):(Tr=t,t=o)):(Tr=t,t=o),t}function os(){var t,n,r,i;return t=Tr,n=ci(),n!==null?(e.charCodeAt(Tr)===61?(r=M,Tr++):(r=null,Or===0&&jr(_)),r!==null?(i=mi(),i!==null?(Nr=t,n=Mn(n,i),n===null?(Tr=t,t=n):t=n):(Tr=t,t=o)):(Tr=t,t=o)):(Tr=t,t=o),t}function us(){var t,n,r,i;return t=Tr,n=ci(),n!==null?(e.charCodeAt(Tr)===61?(r=M,Tr++):(r=null,Or===0&&jr(_)),r!==null?(i=Mi(),i!==null?(Nr=t,n=_n(n,i),n===null?(Tr=t,t=n):t=n):(Tr=t,t=o)):(Tr=t,t=o)):(Tr=t,t=o),t}function as(){var t,n,r;t=Tr,n=[],r=ls();while(r!==null)n.push(r),r=ls();return n!==null&&(n=e.substring(t,Tr)),t=n,t}function fs(){var e;return e=Si(),e===null&&(e=pi()),e}function ls(){var t;return t=Ni(),t===null&&(mt.test(e.charAt(Tr))?(t=e.charAt(Tr),Tr++):(t=null,Or===0&&jr(gt)),t===null&&(e.charCodeAt(Tr)===95?(t=Dn,Tr++):(t=null,Or===0&&jr(Pn)),t===null&&(e.charCodeAt(Tr)===45?(t=Hn,Tr++):(t=null,Or===0&&jr(Bn))))),t}function cs(){var t,n,r;return t=Tr,e.charCodeAt(Tr)===37?(n=jn,Tr++):(n=null,Or===0&&jr(Fn)),n!==null?(r=ds(),r!==null?(Nr=t,n=Wt(r),n===null?(Tr=t,t=n):t=n):(Tr=t,t=o)):(Tr=t,t=o),t}function hs(){var t,n,r;return t=Tr,e.charCodeAt(Tr)===35?(n=In,Tr++):(n=null,Or===0&&jr(qn)),n!==null?(r=ds(),r!==null?(Nr=t,n=Rn(r),n===null?(Tr=t,t=n):t=n):(Tr=t,t=o)):(Tr=t,t=o),t}function ps(){var t,n,r;return t=Tr,e.charCodeAt(Tr)===46?(n=J,Tr++):(n=null,Or===0&&jr(K)),n!==null?(r=ds(),r!==null?(Nr=t,n=Wt(r),n===null?(Tr=t,t=n):t=n):(Tr=t,t=o)):(Tr=t,t=o),t}function ds(){var e,t;return Or++,e=vs(),Or--,e===null&&(t=null,Or===0&&jr(Un)),e}function vs(){var t,n,r,i,s;t=Tr,n=gs();if(n!==null){r=Tr,i=[],s=ms();while(s!==null)i.push(s),s=ms();i!==null&&(i=e.substring(r,Tr)),r=i,r!==null?(Nr=t,n=zn(n,r),n===null?(Tr=t,t=n):t=n):(Tr=t,t=o)}else Tr=t,t=o;return t}function ms(){var t;return Wn.test(e.charAt(Tr))?(t=e.charAt(Tr),Tr++):(t=null,Or===0&&jr(Xn)),t===null&&(t=ys()),t}function gs(){var t;return Vn.test(e.charAt(Tr))?(t=e.charAt(Tr),Tr++):(t=null,Or===0&&jr($n)),t===null&&(t=ys()),t}function ys(){var t;return Jn.test(e.charAt(Tr))?(t=e.charAt(Tr),Tr++):(t=null,Or===0&&jr(Kn)),t}function bs(){var t,n,r;t=Tr,n=[],r=Ss();if(r!==null)while(r!==null)n.push(r),r=Ss();else n=o;return n!==null&&(n=e.substring(t,Tr)),t=n,t}function ws(){var t,n,r;return Or++,t=Tr,e.charCodeAt(Tr)===37?(n=jn,Tr++):(n=null,Or===0&&jr(Fn)),n!==null?(r=bs(),r!==null?(Nr=t,n=Y(r),n===null?(Tr=t,t=n):t=n):(Tr=t,t=o)):(Tr=t,t=o),t===null&&(t=Es()),Or--,t===null&&(n=null,Or===0&&jr(Qn)),t}function Es(){var e,t,n;return e=Tr,t=bs(),t!==null?(Nr=Tr,n=Gn(t),n?n=u:n=o,n!==null?(Nr=e,t=Yn(t),t===null?(Tr=e,e=t):e=t):(Tr=e,e=o)):(Tr=e,e=o),e}function Ss(){var t;return Zn.test(e.charAt(Tr))?(t=e.charAt(Tr),Tr++):(t=null,Or===0&&jr(er)),t}function xs(){var e,t,n;return Or++,e=Tr,t=bs(),t!==null?(Nr=Tr,n=nr(t),n?n=u:n=o,n!==null?(Nr=e,t=Yn(t),t===null?(Tr=e,e=t):e=t):(Tr=e,e=o)):(Tr=e,e=o),Or--,e===null&&(t=null,Or===0&&jr(tr)),e}function Ts(){var e,t,n;return e=Tr,t=Ns(),t!==null?(n=Os(),n!==null?(Nr=e,t=Y(n),t===null?(Tr=e,e=t):e=t):(Tr=e,e=o)):(Tr=e,e=o),e}function Ns(){var t,n;return Or++,t=Tr,e.charCodeAt(Tr)===61423?(n=ir,Tr++):(n=null,Or===0&&jr(sr)),n!==null&&(Nr=t,n=or()),n===null?(Tr=t,t=n):t=n,Or--,t===null&&(n=null,Or===0&&jr(rr)),t}function Cs(){var t,n;return Or++,t=Tr,e.charCodeAt(Tr)===61438?(n=ar,Tr++):(n=null,Or===0&&jr(fr)),n!==null&&(Nr=t,n=or()),n===null?(Tr=t,t=n):t=n,Or--,t===null&&(n=null,Or===0&&jr(ur)),t}function ks(){var t,n;return Or++,t=Tr,e.charCodeAt(Tr)===61422?(n=cr,Tr++):(n=null,Or===0&&jr(hr)),n!==null&&(Nr=t,n=or()),n===null?(Tr=t,t=n):t=n,Or--,t===null&&(n=null,Or===0&&jr(lr)),t}function Ls(){var t,n,r;return Or++,t=Tr,e.charCodeAt(Tr)===61439?(n=dr,Tr++):(n=null,Or===0&&jr(vr)),n!==null?(e.charCodeAt(Tr)===10?(r=mr,Tr++):(r=null,Or===0&&jr(gr)),r!==null?(n=[n,r],t=n):(Tr=t,t=o)):(Tr=t,t=o),Or--,t===null&&(n=null,Or===0&&jr(pr)),t}function As(){var e,t;return Or++,e=Cs(),e===null&&(e=ks()),Or--,e===null&&(t=null,Or===0&&jr(yr)),e}function Os(){var t,n,r;Or++,t=Tr,n=[],r=_s();if(r!==null)while(r!==null)n.push(r),r=_s();else n=o;return n!==null&&(n=e.substring(t,Tr)),t=n,Or--,t===null&&(n=null,Or===0&&jr(br)),t}function Ms(){var e,t;Or++,e=[],t=_s();while(t!==null)e.push(t),t=_s();return Or--,e===null&&(t=null,Or===0&&jr(wr)),e}function _s(){var t,n;return Or++,Sr.test(e.charAt(Tr))?(t=e.charAt(Tr),Tr++):(t=null,Or===0&&jr(xr)),Or--,t===null&&(n=null,Or===0&&jr(Er)),t}function Ds(){var t,n,r;return t=Tr,n=Tr,Or++,r=Ns(),r===null&&(r=Cs(),r===null&&(r=Ls())),Or--,r===null?n=u:(Tr=n,n=o),n!==null?(e.length>Tr?(r=e.charAt(Tr),Tr++):(r=null,Or===0&&jr(zt)),r!==null?(Nr=t,n=Wt(r),n===null?(Tr=t,t=n):t=n):(Tr=t,t=o)):(Tr=t,t=o),t}function Ps(){var t,n,r;t=Tr,n=[],r=Ds();while(r!==null)n.push(r),r=Ds();return n!==null&&(n=e.substring(t,Tr)),t=n,t}function Rs(e,t,n){var r=e.hash;if(n){r=r||new js.HashNode([]);for(var i=0;i<n.length;++i)r.pairs.push(n[i])}var s=[e.id].concat(e.params);return s.unshift(new js.IdNode([t])),new js.MustacheNode(s,r,!e.escaped)}function Us(e,t){var n=[];e&&n.push(e);for(var r=0;r<t.length;++r){var i=t[r];n.push(i[0]),i[1]&&n.push(i[1])}return n}function zs(e){Hs.log(9,e)}var r=arguments.length>1?arguments[1]:{},i={start:Ir},s=Ir,o=null,u="",a="else",f='"else"',l=function(e){return e},c=function(e,t){return new js.ProgramNode(e,t||[])},h=[],p=function(e){var t=[],n=[];for(var r=0;r<e.length;++r){var i=e[r];for(var s=0;s<i.length;++s){var o=i[s];if(o.type==="content"){o.string&&n.push(o.string);continue}n.length&&(t.push(new js.ContentNode(n.join(""))),n=[]),t.push(o)}}return n.length&&t.push(new js.ContentNode(n.join(""))),t},d="BeginStatement",v=function(){return[]},m=">",g='">"',y=function(e,t){return[new js.PartialNode(e,t[0])]},b=/^[a-zA-Z0-9_$-\/]/,w="[a-zA-Z0-9_$-\\/]",E=function(e){return new js.PartialNameNode(e)},S=function(e){return[e]},x="/",T='"/"',N=/^[A-Z]/,C="[A-Z]",k=function(e){var t="view";if(e.mustache){var n=e.mustache.id.string.charAt(0);return!Bs||!n.match(/[A-Z]/)?e:(e.mustache=Rs(e.mustache,t),e)}var n=e.id.string.charAt(0);return!Bs||!n.match(/[A-Z]/)?e:Rs(e,t)},L=function(e,t){var n=e[0];return t&&(n=n.concat(t[2])),e[1]&&n.push(e[1]),n},A=" ",O='" "',M="=",_='"="',D=function(e,t,n){var r=e[0];t&&(r=r.concat(t));if(n){n=n[1];for(var i=0;i<n.length;++i)r.push(new js.ContentNode(" ")),r=r.concat(n[i])}return e[1]&&r.push(e[1]),r},P=function(e,t){if(!t)return e;var n=t[2];return new js.BlockNode(e,n,n.inverse,e.id)},H=function(e,t){var n=new js.ProgramNode(t,[]);return new js.BlockNode(e,n,n.inverse,e.id)},B=function(e,t){var n=t.mustache||t;return n.escaped=e,t},j=function(e,t,n,r){if(e){var i=new js.PartialNameNode(t.string);return new js.PartialNode(i,n[0])}var s=[],o={},u=!1;for(var a=0;a<n.length;++a){var f=n[a],l=f[0];l=="tagName"||l=="elementId"||l=="class"?(u=!0,o[l]=o[l]||[],o[l].push(f[1])):s.push(f)}if(u){r=r||new js.HashNode([]);for(var c in o){if(!o.hasOwnProperty(c))continue;r.pairs.push([c,new js.StringNode(o[c].join(" "))])}}s.unshift(t);var h=new js.MustacheNode(s,r),p=t._emblemSuffixModifier;return p==="!"?Rs(h,"unbound"):p==="?"?Rs(h,"if"):p==="^"?Rs(h,"unless"):h},F=function(e){return["tagName",e]},I=function(e){return["elementId",e]},q=function(e){return["class",e]},R=function(e,t){return[e,t]},U=function(e){return[null,e]},z=function(e){return e},W=function(e){return new js.HashNode(e)},X="PathIdent",V="..",$='".."',J=".",K='"."',Q=/^[a-zA-Z0-9_$\-!?\^]/,G="[a-zA-Z0-9_$\\-!?\\^]",Y=function(e){return e},Z="Key",et=function(e){return[e[0],e[2]]},tt=function(e){return e},nt=function(e,t){var n=[e];for(var r=0;r<t.length;++r)n.push(t[r]);return n},rt="PathSeparator",it=/^[\/.]/,st="[\\/.]",ot=function(e){var t=e[e.length-1],n,r;if(n=t.match(/[!\?\^]$/))r=n[0],e[e.length-1]=t.slice(0,-1);var i=new js.IdNode(e);return i._emblemSuffixModifier=r,i},ut=function(e){return new js.StringNode(e)},at=function(e){return new js.IntegerNode(e)},ft=function(e){return new js.BooleanNode(e)},lt="Boolean",ct="true",ht='"true"',pt="false",dt='"false"',vt="Integer",mt=/^[0-9]/,gt="[0-9]",yt=function(e){return parseInt(e)},bt='"',wt='"\\""',Et="'",St='"\'"',xt=function(e){return e[1]},Tt=/^[^"}]/,Nt='[^"}]',Ct=/^[^'}]/,kt="[^'}]",Lt=/^[A-Za-z]/,At="[A-Za-z]",Ot=function(e){return[e]},Mt=function(e,t,n){t.unshift(new js.ContentNode(e));for(var r=0;r<n.length;++r)t.push(new js.ContentNode(e)),t=t.concat(n[r]),t.push("\n");return t},_t=/^[|`]/,Dt="[|`]",Pt="<",Ht='"<"',Bt=function(){return"<"},jt=function(e,t,n){(t.length||!n)&&t.push("\n");if(n){n=n[1];for(var r=0;r<n.length;++r)t=t.concat(n[r]),t.push("\n")}var i=[],s=e!=="`";for(var r=0;r<t.length;++r){var o=t[r];o=="\n"?s||i.push(new js.ContentNode("\n")):i.push(o)}return i},Ft=function(e,t){return Us(e,t)},It=function(e){return e},qt=function(e){return e.escaped=!0,e},Rt=function(e
|
2
|
+
){return e.escaped=!1,e},Ut=function(e){return new js.ContentNode(e)},zt="any character",Wt=function(e){return e},Xt="SingleMustacheOpen",Vt="{",$t='"{"',Jt="DoubleMustacheOpen",Kt="{{",Qt='"{{"',Gt="TripleMustacheOpen",Yt="{{{",Zt='"{{{"',en="SingleMustacheClose",tn="}",nn='"}"',rn="DoubleMustacheClose",sn="}}",on='"}}"',un="TripleMustacheClose",an="}}}",fn='"}}}"',ln="InterpolationOpen",cn="#{",hn='"#{"',pn="InterpolationClose",dn="==",vn='"=="',mn=function(){return!1},gn=function(){return!0},yn=function(e,t,n,r){return[e,t,n,r]},bn=function(e,t,n){return[null,e,t,n]},wn=function(e){var t=e[0]||"div",n=e[1]||[],r=e[2],i=e[3],s=n[0],o=n[1],u=[];u.push(new js.ContentNode("<"+t)),s&&u.push(new js.ContentNode(' id="'+s+'"')),o&&o.length&&u.push(new js.ContentNode(' class="'+o.join(" ")+'"'));for(var a=0;a<r.length;++a)u.push(new js.ContentNode(" ")),u.push(r[a]);for(var a=0;a<i.length;++a)u=u.concat(i[a]);return Fs[t]?(u.push(new js.ContentNode(" />")),[u]):(u.push(new js.ContentNode(">")),[u,new js.ContentNode("</"+t+">")])},En=function(e){return[new js.ContentNode(" ")].concat(e)},Sn=/^[A-Za-z.:0-9_\-]/,xn="[A-Za-z.:0-9_\\-]",Tn=function(e){return new js.MustacheNode([e])},Nn=function(e,t){return[Rs(t,"action",[["on",new js.StringNode(e)]])]},Cn=function(e){return e.replace(/ *$/,"")},kn="!",Ln='"!"',An=function(e,t){return Bs},On=function(e,t){var n=new js.HashNode([[e,new js.StringNode(t)]]),r=[new js.IdNode(["bindAttr"])],i=new js.MustacheNode(r,n);return[i]},Mn=function(e,t){var n=new js.MustacheNode([t]);return Bs&&t._emblemSuffixModifier==="!"&&(n=Rs(n,"unbound")),[new js.ContentNode(e+"="+'"'),n,new js.ContentNode('"')]},_n=function(e,t){var n=[new js.ContentNode(e+"="+'"')].concat(t);return n.concat([new js.ContentNode('"')])},Dn="_",Pn='"_"',Hn="-",Bn='"-"',jn="%",Fn='"%"',In="#",qn='"#"',Rn=function(e){return e},Un="CSSIdentifier",zn=function(e,t){return e+t},Wn=/^[_a-zA-Z0-9\-]/,Xn="[_a-zA-Z0-9\\-]",Vn=/^[_a-zA-Z]/,$n="[_a-zA-Z]",Jn=/^[\x80-\xFF]/,Kn="[\\x80-\\xFF]",Qn="KnownHTMLTagName",Gn=function(e){return!!Is[e]},Yn=function(e){return e},Zn=/^[:_a-zA-Z0-9\-]/,er="[:_a-zA-Z0-9\\-]",tr="a JS event",nr=function(e){return!!qs[e]},rr="INDENT",ir="",sr='"\\uEFEF"',or=function(){return""},ur="DEDENT",ar="",fr='"\\uEFFE"',lr="Unmatched DEDENT",cr="",hr='"\\uEFEE"',pr="LineEnd",dr="",vr='"\\uEFFF"',mr="\n",gr='"\\n"',yr="ANYDEDENT",br="RequiredWhitespace",wr="OptionalWhitespace",Er="InlineWhitespace",Sr=/^[ \t]/,xr="[ \\t]",Tr=0,Nr=0,Cr=0,kr={line:1,column:1,seenCR:!1},Lr=0,Ar=[],Or=0,Mr;if("startRule"in r){if(!(r.startRule in i))throw new Error("Can't start parsing from rule \""+r.startRule+'".');s=i[r.startRule]}var Hs=n.handlebarsVariant,Bs=Hs.JavaScriptCompiler.prototype.namespace==="Ember.Handlebars",js=Hs.AST,Fs={area:!0,base:!0,br:!0,col:!0,command:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0},Is={figcaption:!0,blockquote:!0,plaintext:!0,textarea:!0,progress:!0,optgroup:!0,noscript:!0,noframes:!0,frameset:!0,fieldset:!0,datalist:!0,colgroup:!0,basefont:!0,summary:!0,section:!0,marquee:!0,listing:!0,isindex:!0,details:!0,command:!0,caption:!0,bgsound:!0,article:!0,address:!0,acronym:!0,strong:!0,strike:!0,spacer:!0,source:!0,select:!0,script:!0,output:!0,option:!0,object:!0,legend:!0,keygen:!0,iframe:!0,hgroup:!0,header:!0,footer:!0,figure:!0,center:!0,canvas:!0,button:!0,applet:!0,video:!0,track:!0,title:!0,thead:!0,tfoot:!0,tbody:!0,table:!0,style:!0,small:!0,param:!0,meter:!0,label:!0,input:!0,frame:!0,embed:!0,blink:!0,audio:!0,aside:!0,time:!0,span:!0,samp:!0,ruby:!0,nobr:!0,meta:!0,menu:!0,mark:!0,main:!0,link:!0,html:!0,head:!0,form:!0,font:!0,data:!0,code:!0,cite:!0,body:!0,base:!0,area:!0,abbr:!0,xmp:!0,wbr:!0,"var":!0,sup:!0,sub:!0,pre:!0,nav:!0,map:!0,kbd:!0,ins:!0,img:!0,div:!0,dir:!0,dfn:!0,del:!0,col:!0,big:!0,bdo:!0,bdi:!0,ul:!0,tt:!0,tr:!0,th:!0,td:!0,rt:!0,rp:!0,ol:!0,li:!0,hr:!0,h6:!0,h5:!0,h4:!0,h3:!0,h2:!0,h1:!0,em:!0,dt:!0,dl:!0,dd:!0,br:!0,u:!0,s:!0,q:!0,p:!0,i:!0,b:!0,a:!0},qs={touchStart:!0,touchMove:!0,touchEnd:!0,touchCancel:!0,keyDown:!0,keyUp:!0,keyPress:!0,mouseDown:!0,mouseUp:!0,contextMenu:!0,click:!0,doubleClick:!0,mouseMove:!0,focusIn:!0,focusOut:!0,mouseEnter:!0,mouseLeave:!0,submit:!0,input:!0,change:!0,dragStart:!0,drag:!0,dragEnter:!0,dragLeave:!0,dragOver:!0,drop:!0,dragEnd:!0};Mr=s();if(Mr!==null&&Tr===e.length)return Mr;throw Fr(Ar),Nr=Math.max(Tr,Lr),new t(Ar,Nr<e.length?e.charAt(Nr):null,Nr,Br(Nr).line,Br(Nr).column)}return e(t,Error),{SyntaxError:t,parse:r}}();var n;n.throwCompileError=function(e,t){throw new Error("Emblem syntax error, line "+e+": "+t)},n.registerPartial=function(e,t,r){return r||(r=t,t=e,e=Handlebars),e.registerPartial(t,n.compile(e,r))},n.parse=function(e){var t,r,i,s;try{return s=n.Preprocessor.processSync(e),n.Parser.parse(s)}catch(o){if(o instanceof n.Parser.SyntaxError)return r=e.split("\n"),t=r[o.line-1],i=""+o.message+"\n"+t+"\n",i+=(new Array(o.column)).join("-"),i+="^",n.throwCompileError(o.line,i);throw o}},n.precompile=function(e,t,r){var i;return r==null&&(r={}),n.handlebarsVariant=e,i=n.parse(t),e.precompile(i,r)},n.compile=function(e,t,r){var i;return r==null&&(r={}),n.handlebarsVariant=e,i=n.parse(t),e.compile(i,r)};var n,r,t;n.Preprocessor=r=function(){function l(){this.base=null,this.indents=[],this.context=[],this.context.peek=function(){return this.length?this[this.length-1]:null},this.context.err=function(e){throw new Error("Unexpected "+e)},this.output="",this.context.observe=function(t){var n;n=this.peek();switch(t){case r:this.push(t);break;case e:n!==r&&this.err(t),this.pop();break;case"\n":n!=="/"&&this.err(t),this.pop();break;case"/":this.push(t);break;case"end-\\":n!=="\\"&&this.err(t),this.pop();break;default:throw new Error("undefined token observed: "+t)}return this},this.StringScanner?this.ss=new this.StringScanner(""):n.StringScanner?this.ss=new n.StringScanner(""):this.ss=new t("")}var e,r,i,s,o,u,a,f;return f="\\t\\x0B\\f \\xA0\\u1680\\u180E\\u2000-\\u200A\\u202F\\u205F\\u3000\\uFEFF",r="",e="",s="",i="",o=RegExp("["+f+"\\n]*$"),u=RegExp("(?:["+f+"]*\\n)+"),l.prototype.p=function(e){return e&&(this.output+=e),e},l.prototype.scan=function(e){return this.p(this.ss.scan(e))},l.prototype.discard=function(e){return this.ss.scan(e)},a=function(t){return function(n){var a,l,c,h;t||(this.ss.concat(n),this.discard(u));while(!this.ss.eos())switch(this.context.peek()){case null:case r:if(this.ss.bol()||this.discard(u)){if(this.discard(RegExp("["+f+"]*\\n"))){this.p(""+i+"\n");continue}if(this.base!=null){if(this.discard(this.base)==null)throw new Error("inconsistent base indentation")}else a=this.discard(RegExp("["+f+"]*")),this.base=RegExp(""+a);if(this.indents.length===0)this.ss.check(RegExp("["+f+"]+"))&&(this.p(r),this.context.observe(r),this.indents.push(this.scan(RegExp("(["+f+"]+)"))));else{c=this.indents[this.indents.length-1];if(l=this.ss.check(RegExp("("+c+")")))this.discard(l),this.ss.check(RegExp("(["+f+"]+)"))&&(this.p(r),this.context.observe(r),this.indents.push(l+this.scan(RegExp("(["+f+"]+)"))));else{while(this.indents.length){c=this.indents[this.indents.length-1];if(this.discard(RegExp("(?:"+c+")")))break;this.context.observe(e),this.p(e),this.indents.pop()}if(h=this.discard(RegExp("["+f+"]+")))this.output=this.output.slice(0,-1),this.output+=s,this.p(r),this.context.observe(r),this.indents.push(h)}}}this.scan(/[^\n\\]+/),this.discard(/\n/)&&this.p(""+i+"\n")}if(t){this.scan(o);while(this.context.length&&r===this.context.peek())this.context.observe(e),this.p(e);if(this.context.length)throw new Error("Unclosed "+this.context.peek()+" at EOF")}}},l.prototype.processData=a(!1),l.prototype.processEnd=a(!0),l.processSync=function(e){var t;return e+="\n",t=new l,t.processData(e),t.processEnd(),t.output},l}();var i,n,s;n.compileScriptTags=function(){if(typeof Ember=="undefined"||Ember===null)throw new Error("Can't run Emblem.enableEmber before Ember has been defined");if(typeof document!="undefined"&&document!==null)return Ember.$('script[type="text/x-emblem"], script[type="text/x-raw-emblem"]',Ember.$(document)).each(function(){var e,t,r;return t=Ember.$(this),e=t.attr("type")==="text/x-raw-handlebars"?Handlebars:Ember.Handlebars,r=t.attr("data-template-name")||t.attr("id")||"application",Ember.TEMPLATES[r]=n.compile(e,t.html()),t.remove()})},this.ENV||(this.ENV={}),i=this.ENV,i.EMBER_LOAD_HOOKS||(i.EMBER_LOAD_HOOKS={}),(s=i.EMBER_LOAD_HOOKS).application||(s.application=[]),i.EMBER_LOAD_HOOKS.application.push(function(){return n.compileScriptTags()}),e.Emblem=n})(this);
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: emblem-source
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.12
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-02-
|
12
|
+
date: 2013-02-28 00:00:00.000000000 Z
|
13
13
|
dependencies: []
|
14
14
|
description: Emblem.js source code wrapper for (pre)compilation gems.
|
15
15
|
email:
|