emblem-source 0.2.9 → 0.3.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +15 -0
  2. data/dist/emblem.js +10 -12
  3. data/dist/emblem.min.js +2 -2
  4. metadata +5 -7
checksums.yaml ADDED
@@ -0,0 +1,15 @@
1
+ ---
2
+ !binary "U0hBMQ==":
3
+ metadata.gz: !binary |-
4
+ ZmMwZjIxMTA0MTJiNTc5NGZhNWJhMzg5M2RlMjhhMjM4YTQ0ZmJjMA==
5
+ data.tar.gz: !binary |-
6
+ YmEzNmY5MjU1YWM1M2QxYzZkMDM0N2JkNDNhNTM2MGU1ZTE2YjJmZg==
7
+ !binary "U0hBNTEy":
8
+ metadata.gz: !binary |-
9
+ ZDM3ODBiZmRmYzIyMGIwNGM0Mzg2MmRkNTRkNDkxY2JmYjEwNmQyMzY2M2Y0
10
+ ZjI4OTM4MGVhYjkyNDMyYThiMmVlN2Q0M2IzNzY1ZjhkZjgyZmQ2M2ZlNjEy
11
+ MjI1MTgwZDg3ZTIzNDI0NmY3Mzk2MGVkYzRmYjY0Y2Q1NjVjMjI=
12
+ data.tar.gz: !binary |-
13
+ ZjEzZTVlN2JhN2VlMTYxZjEzNDEzNTE4ZGUxOGJlODU3NWZjYzBjN2JjMTBh
14
+ NGFiZTI5NjVmYTUzYmEwYTRiYTdhMTgyZjBjZDkwYTAyYTEyMjhhOTA5MWRj
15
+ ZTdhNTc3YWUxMjA0MDIwMjg4OTFkNjg4MDZlNzJkMjUzYjJkMDc=
data/dist/emblem.js CHANGED
@@ -320,7 +320,7 @@ Emblem.Parser = (function() {
320
320
  },
321
321
  peg$c16 = /^[a-zA-Z0-9_$-\/]/,
322
322
  peg$c17 = "[a-zA-Z0-9_$-\\/]",
323
- peg$c18 = function(s) { return new AST.PartialNameNode(s); },
323
+ peg$c18 = function(s) { return new AST.PartialNameNode(new AST.StringNode(s)); },
324
324
  peg$c19 = function(m) {
325
325
  return [m];
326
326
  },
@@ -389,7 +389,7 @@ Emblem.Parser = (function() {
389
389
  },
390
390
  peg$c37 = function(isPartial, path, params, hash) {
391
391
  if(isPartial) {
392
- var n = new AST.PartialNameNode(path.string);
392
+ var n = new AST.PartialNameNode(new AST.StringNode(path.string));
393
393
  return new AST.PartialNode(n, params[0]);
394
394
  }
395
395
 
@@ -452,11 +452,10 @@ Emblem.Parser = (function() {
452
452
  peg$c54 = ":",
453
453
  peg$c55 = "\":\"",
454
454
  peg$c56 = function(h) { return [h[0], h[2]]; },
455
- peg$c57 = function(p) { return p; },
455
+ peg$c57 = function(s, p) { return { part: p, separator: s }; },
456
456
  peg$c58 = function(first, tail) {
457
- var ret = [first];
457
+ var ret = [{ part: first }];
458
458
  for(var i = 0; i < tail.length; ++i) {
459
- //ret = ret.concat(tail[i]);
460
459
  ret.push(tail[i]);
461
460
  }
462
461
  return ret;
@@ -468,9 +467,9 @@ Emblem.Parser = (function() {
468
467
  var last = v[v.length - 1];
469
468
  var match;
470
469
  var suffixModifier;
471
- if(match = last.match(/[!\?\^]$/)) {
470
+ if(match = last.part.match(/[!\?\^]$/)) {
472
471
  suffixModifier = match[0];
473
- v[v.length - 1] = last.slice(0, -1);
472
+ last.part = last.part.slice(0, -1);
474
473
  }
475
474
 
476
475
  var idNode = new AST.IdNode(v);
@@ -659,7 +658,7 @@ Emblem.Parser = (function() {
659
658
  peg$c141 = function(key, value) { return IS_EMBER; },
660
659
  peg$c142 = function(key, value) {
661
660
  var hashNode = new AST.HashNode([[key, new AST.StringNode(value)]]);
662
- var params = [new AST.IdNode(['bindAttr'])];
661
+ var params = [new AST.IdNode([{part: 'bindAttr'}])];
663
662
  var mustacheNode = new AST.MustacheNode(params, hashNode);
664
663
 
665
664
  return [mustacheNode];
@@ -2439,7 +2438,7 @@ Emblem.Parser = (function() {
2439
2438
  s5 = peg$parsepathIdent();
2440
2439
  if (s5 !== null) {
2441
2440
  peg$reportedPos = s3;
2442
- s4 = peg$c57(s5);
2441
+ s4 = peg$c57(s4,s5);
2443
2442
  if (s4 === null) {
2444
2443
  peg$currPos = s3;
2445
2444
  s3 = s4;
@@ -2462,7 +2461,7 @@ Emblem.Parser = (function() {
2462
2461
  s5 = peg$parsepathIdent();
2463
2462
  if (s5 !== null) {
2464
2463
  peg$reportedPos = s3;
2465
- s4 = peg$c57(s5);
2464
+ s4 = peg$c57(s4,s5);
2466
2465
  if (s4 === null) {
2467
2466
  peg$currPos = s3;
2468
2467
  s3 = s4;
@@ -5712,7 +5711,7 @@ Emblem.Parser = (function() {
5712
5711
  }
5713
5712
 
5714
5713
  var params = [mustacheNode.id].concat(mustacheNode.params);
5715
- params.unshift(new AST.IdNode([helperName]));
5714
+ params.unshift(new AST.IdNode([{ part: helperName}]));
5716
5715
  return new AST.MustacheNode(params, hash, !mustacheNode.escaped);
5717
5716
  }
5718
5717
 
@@ -5869,7 +5868,6 @@ Emblem.Preprocessor = Preprocessor = (function() {
5869
5868
  this.pop();
5870
5869
  break;
5871
5870
  case '\r':
5872
- oiasoijdoiaj.asdasd.asdasd;
5873
5871
  if (top !== '/') {
5874
5872
  this.err(c);
5875
5873
  }
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.2.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 Ur(){return e.substring(Hr,Pr)}function zr(){return Hr}function Wr(){return Vr(Hr).line}function Xr(){return Vr(Hr).column}function Vr(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 Br!==t&&(Br>t&&(Br=0,jr={line:1,column:1,seenCR:!1}),Br=t,n(jr,Br)),jr}function $r(e){if(Pr<Fr)return;Pr>Fr&&(Fr=Pr,Ir=[]),Ir.push(e)}function Jr(e){var t=0;e.sort();while(t<e.length)e[t-1]===e[t]?e.splice(t,1):t++}function Kr(){var e;return e=Qr(),e}function Qr(){var e,t,n,r,i,s,l,c,h;return e=Pr,t=Yr(),t!==null?(n=Pr,r=Vs(),r!==null?(i=Gr(),i!==null?(s=Gs(),s!==null?(l=Js(),l!==null?(c=Ws(),c!==null?(h=Yr(),h!==null?(Hr=n,r=a(h),r===null?(Pr=n,n=r):n=r):(Pr=n,n=o)):(Pr=n,n=o)):(Pr=n,n=o)):(Pr=n,n=o)):(Pr=n,n=o)):(Pr=n,n=o),n===null&&(n=u),n!==null?(Hr=e,t=f(t,n),t===null?(Pr=e,e=t):e=t):(Pr=e,e=o)):(Pr=e,e=o),e}function Gr(){var t,n,r,i;return t=Pr,n=Pr,e.charCodeAt(Pr)===61?(r=l,Pr++):(r=null,qr===0&&$r(c)),r!==null?(i=Gs(),i!==null?(r=[r,i],n=r):(Pr=n,n=o)):(Pr=n,n=o),n===null&&(n=u),n!==null?(e.substr(Pr,4)===h?(r=h,Pr+=4):(r=null,qr===0&&$r(p)),r!==null?(n=[n,r],t=n):(Pr=t,t=o)):(Pr=t,t=o),t}function Yr(){var e,t,n;e=Pr,t=[],n=Zr();while(n!==null)t.push(n),n=Zr();return t!==null&&(Hr=e,t=v(t)),t===null?(Pr=e,e=t):e=t,e}function Zr(){var e,t;return qr++,e=ti(),e===null&&(e=oi(),e===null&&(e=ei())),qr--,e===null&&(t=null,qr===0&&$r(m)),e}function ei(){var e,t;return qr++,e=ni(),e===null&&(e=pi(),e===null&&(e=zi(),e===null&&(e=ii()))),qr--,e===null&&(t=null,qr===0&&$r(g)),e}function ti(){var e,t,n;return e=Pr,t=Gs(),t!==null?(n=Js(),n!==null?(Hr=e,t=y(),t===null?(Pr=e,e=t):e=t):(Pr=e,e=o)):(Pr=e,e=o),e}function ni(){var t,n,r,i,s,u,a,f;t=Pr,e.charCodeAt(Pr)===62?(n=b,Pr++):(n=null,qr===0&&$r(w));if(n!==null){r=Gs();if(r!==null){i=ri();if(i!==null){s=Gs();if(s!==null){u=[],a=xi();while(a!==null)u.push(a),a=xi();u!==null?(a=Gs(),a!==null?(f=Js(),f!==null?(Hr=t,n=E(i,u),n===null?(Pr=t,t=n):t=n):(Pr=t,t=o)):(Pr=t,t=o)):(Pr=t,t=o)}else Pr=t,t=o}else Pr=t,t=o}else Pr=t,t=o}else Pr=t,t=o;return t}function ri(){var t,n,r,i;t=Pr,n=Pr,r=[],S.test(e.charAt(Pr))?(i=e.charAt(Pr),Pr++):(i=null,qr===0&&$r(x));if(i!==null)while(i!==null)r.push(i),S.test(e.charAt(Pr))?(i=e.charAt(Pr),Pr++):(i=null,qr===0&&$r(x));else r=o;return r!==null&&(r=e.substring(n,Pr)),n=r,n!==null&&(Hr=t,n=T(n)),n===null?(Pr=t,t=n):t=n,t}function ii(){var e,t;return e=Pr,t=gi(),t===null&&(t=ai()),t!==null&&(Hr=e,t=N(t)),t===null?(Pr=e,e=t):e=t,e}function si(){var e,t,n,r,i,s,u,a;e=Pr,t=eo();if(t!==null){n=Js();if(n!==null){r=[],i=Pr,s=Ws();if(s!==null){u=[],a=si();if(a!==null)while(a!==null)u.push(a),a=si();else u=o;u!==null?(a=Ks(),a!==null?(s=[s,u,a],i=s):(Pr=i,i=o)):(Pr=i,i=o)}else Pr=i,i=o;while(i!==null){r.push(i),i=Pr,s=Ws();if(s!==null){u=[],a=si();if(a!==null)while(a!==null)u.push(a),a=si();else u=o;u!==null?(a=Ks(),a!==null?(s=[s,u,a],i=s):(Pr=i,i=o)):(Pr=i,i=o)}else Pr=i,i=o}r!==null?(Hr=e,t=y(),t===null?(Pr=e,e=t):e=t):(Pr=e,e=o)}else Pr=e,e=o}else Pr=e,e=o;return e}function oi(){var t,n,r;return t=Pr,e.charCodeAt(Pr)===47?(n=C,Pr++):(n=null,qr===0&&$r(k)),n!==null?(r=si(),r!==null?(Hr=t,n=y(),n===null?(Pr=t,t=n):t=n):(Pr=t,t=o)):(Pr=t,t=o),t}function ui(){var t,n,r;return t=Pr,e.charCodeAt(Pr)===47?(n=C,Pr++):(n=null,qr===0&&$r(k)),n!==null?(r=eo(),r!==null?(n=[n,r],t=n):(Pr=t,t=o)):(Pr=t,t=o),t}function ai(){var e;return e=fi(),e===null&&(e=di()),e}function fi(){var t,n,r;return t=Pr,n=Pr,qr++,L.test(e.charAt(Pr))?(r=e.charAt(Pr),Pr++):(r=null,qr===0&&$r(A)),qr--,r!==null?(Pr=n,n=u):n=o,n!==null?(r=di(),r!==null?(Hr=t,n=O(r),n===null?(Pr=t,t=n):t=n):(Pr=t,t=o)):(Pr=t,t=o),t}function li(){var t,n,r,i,s,a,f;t=Pr,e.charCodeAt(Pr)===32?(n=M,Pr++):(n=null,qr===0&&$r(_));if(n!==null){r=Wi();if(r!==null){i=Pr,s=Ws();if(s!==null){a=[],f=Ri();if(f!==null)while(f!==null)a.push(f),f=Ri();else a=o;a!==null?(f=Vs(),f!==null?(s=[s,a,f],i=s):(Pr=i,i=o)):(Pr=i,i=o)}else Pr=i,i=o;i===null&&(i=u),i!==null?(Hr=t,n=D(r,i),n===null?(Pr=t,t=n):t=n):(Pr=t,t=o)}else Pr=t,t=o}else Pr=t,t=o;return t}function ci(){var e,t,n,r,i;e=Pr,t=[],n=ti();while(n!==null)t.push(n),n=ti();return t!==null?(n=Ws(),n!==null?(r=Yr(),r!==null?(i=Vs(),i!==null?(Hr=e,t=P(r),t===null?(Pr=e,e=t):e=t):(Pr=e,e=o)):(Pr=e,e=o)):(Pr=e,e=o)):(Pr=e,e=o),e}function hi(){var e,t,n,r,i;return e=vi(),e===null&&(e=Pr,t=Gs(),t!==null?(n=gi(),n!==null?(Hr=e,t=H(n),t===null?(Pr=e,e=t):e=t):(Pr=e,e=o)):(Pr=e,e=o),e===null&&(e=Pr,t=Gs(),t!==null?(n=ui(),n===null&&(n=u),n!==null?(r=Js(),r!==null?(i=ci(),i===null&&(i=u),i!==null?(Hr=e,t=P(i),t===null?(Pr=e,e=t):e=t):(Pr=e,e=o)):(Pr=e,e=o)):(Pr=e,e=o)):(Pr=e,e=o),e===null&&(e=li()))),e}function pi(){var e,t,n;return e=Pr,t=gs(),t!==null?(n=hi(),n!==null?(Hr=e,t=B(t,n),t===null?(Pr=e,e=t):e=t):(Pr=e,e=o)):(Pr=e,e=o),e}function di(){var e,t,n,r,i;return e=Pr,t=yi(),t!==null?(n=Gs(),n!==null?(r=ui(),r===null&&(r=u),r!==null?(i=mi(),i!==null?(Hr=e,t=j(t,i),t===null?(Pr=e,e=t):e=t):(Pr=e,e=o)):(Pr=e,e=o)):(Pr=e,e=o)):(Pr=e,e=o),e}function Qr(){var e,t,n,r,i,s,l,c,h,p;e=Pr,t=Yr();if(t!==null){n=Pr,r=Vs();if(r!==null){i=Gr();if(i!==null){s=Gs();if(s!==null){l=Js();if(l!==null){c=[],h=ti();while(h!==null)c.push(h),h=ti();c!==null?(h=Ws(),h!==null?(p=Yr(),p!==null?(Hr=n,r=a(p),r===null?(Pr=n,n=r):n=r):(Pr=n,n=o)):(Pr=n,n=o)):(Pr=n,n=o)}else Pr=n,n=o}else Pr=n,n=o}else Pr=n,n=o}else Pr=n,n=o;n===null&&(n=u),n!==null?(Hr=e,t=f(t,n),t===null?(Pr=e,e=t):e=t):(Pr=e,e=o)}else Pr=e,e=o;return e}function vi(){var t,n,r,i;return t=Pr,e.substr(Pr,2)===F?(n=F,Pr+=2):(n=null,qr===0&&$r(I)),n!==null?(r=Gs(),r!==null?(i=ei(),i!==null?(Hr=t,n=P(i),n===null?(Pr=t,t=n):t=n):(Pr=t,t=o)):(Pr=t,t=o)):(Pr=t,t=o),t}function mi(){var e,t,n,r,i,s,a;e=Pr,t=vi(),t===null&&(t=zi()),t!==null&&(Hr=e,t=q(t)),t===null?(Pr=e,e=t):e=t;if(e===null){e=Pr,t=Js();if(t!==null){n=Pr,r=[],i=ti();while(i!==null)r.push(i),i=ti();r!==null?(i=Ws(),i!==null?(s=Qr(),s!==null?(a=Vs(),a!==null?(r=[r,i,s,a],n=r):(Pr=n,n=o)):(Pr=n,n=o)):(Pr=n,n=o)):(Pr=n,n=o),n===null&&(n=u),n!==null?(Hr=e,t=R(n),t===null?(Pr=e,e=t):e=t):(Pr=e,e=o)}else Pr=e,e=o}return e}function gi(){var e,t,n;return e=Pr,t=vs(),t!==null?(n=di(),n!==null?(Hr=e,t=U(t,n),t===null?(Pr=e,e=t):e=t):(Pr=e,e=o)):(Pr=e,e=o),e}function yi(){var t,n,r,i,s,a;t=Pr,e.charCodeAt(Pr)===62?(n=b,Pr++):(n=null,qr===0&&$r(w)),n===null&&(n=u);if(n!==null){r=Gs();if(r!==null){i=Mi();if(i!==null){s=[],a=xi();while(a!==null)s.push(a),a=xi();s!==null?(a=Ti(),a===null&&(a=u),a!==null?(Hr=t,n=z(n,i,s,a),n===null?(Pr=t,t=n):t=n):(Pr=t,t=o)):(Pr=t,t=o)}else Pr=t,t=o}else Pr=t,t=o}else Pr=t,t=o;return t}function bi(){var e,t;return e=Pr,t=Os(),t!==null&&(Hr=e,t=W(t)),t===null?(Pr=e,e=t):e=t,e===null&&(e=Pr,t=Ms(),t!==null&&(Hr=e,t=X(t)),t===null?(Pr=e,e=t):e=t,e===null&&(e=Pr,t=_s(),t!==null&&(Hr=e,t=V(t)),t===null?(Pr=e,e=t):e=t)),e}function wi(){var e;return e=Ei(),e===null&&(e=Si()),e}function Ei(){var e,t,n,r;e=Pr,t=Ms();if(t!==null){n=[],r=_s();while(r!==null)n.push(r),r=_s();n!==null?(Hr=e,t=$(t,n),t===null?(Pr=e,e=t):e=t):(Pr=e,e=o)}else Pr=e,e=o;return e}function Si(){var e,t,n;e=Pr,t=[],n=_s();if(n!==null)while(n!==null)t.push(n),n=_s();else t=o;return t!==null&&(Hr=e,t=J(t)),t===null?(Pr=e,e=t):e=t,e}function xi(){var e,t,n;return e=Pr,t=Gs(),t!==null?(n=bi(),n===null&&(n=Li()),n!==null?(Hr=e,t=K(n),t===null?(Pr=e,e=t):e=t):(Pr=e,e=o)):(Pr=e,e=o),e}function Ti(){var e,t,n;e=Pr,t=[],n=ki();if(n!==null)while(n!==null)t.push(n),n=ki();else t=o;return t!==null&&(Hr=e,t=Q(t)),t===null?(Pr=e,e=t):e=t,e}function Ni(){var t,n,r,i;qr++,e.substr(Pr,2)===Y?(t=Y,Pr+=2):(t=null,qr===0&&$r(Z));if(t===null){e.charCodeAt(Pr)===46?(t=et,Pr++):(t=null,qr===0&&$r(tt));if(t===null){t=Pr,n=Pr,r=[],nt.test(e.charAt(Pr))?(i=e.charAt(Pr),Pr++):(i=null,qr===0&&$r(rt));if(i!==null)while(i!==null)r.push(i),nt.test(e.charAt(Pr))?(i=e.charAt(Pr),Pr++):(i=null,qr===0&&$r(rt));else r=o;r!==null&&(r=e.substring(n,Pr)),n=r,n!==null?(r=Pr,qr++,e.charCodeAt(Pr)===61?(i=l,Pr++):(i=null,qr===0&&$r(c)),qr--,i===null?r=u:(Pr=r,r=o),r!==null?(Hr=t,n=it(n),n===null?(Pr=t,t=n):t=n):(Pr=t,t=o)):(Pr=t,t=o)}}return qr--,t===null&&(n=null,qr===0&&$r(G)),t}function Ci(){var t,n,r;qr++,t=Pr,n=[],r=Hs(),r===null&&(e.charCodeAt(Pr)===58?(r=ot,Pr++):(r=null,qr===0&&$r(ut)));while(r!==null)n.push(r),r=Hs(),r===null&&(e.charCodeAt(Pr)===58?(r=ot,Pr++):(r=null,qr===0&&$r(ut)));return n!==null&&(n=e.substring(t,Pr)),t=n,qr--,t===null&&(n=null,qr===0&&$r(st)),t}function ki(){var t,n,r,i,s,u;return t=Pr,n=Gs(),n!==null?(r=Pr,i=Ci(),i!==null?(e.charCodeAt(Pr)===61?(s=l,Pr++):(s=null,qr===0&&$r(c)),s!==null?(u=Pi(),u!==null?(i=[i,s,u],r=i):(Pr=r,r=o)):(Pr=r,r=o)):(Pr=r,r=o),r===null&&(r=Pr,i=Ci(),i!==null?(e.charCodeAt(Pr)===61?(s=l,Pr++):(s=null,qr===0&&$r(c)),s!==null?(u=Di(),u!==null?(i=[i,s,u],r=i):(Pr=r,r=o)):(Pr=r,r=o)):(Pr=r,r=o),r===null&&(r=Pr,i=Ci(),i!==null?(e.charCodeAt(Pr)===61?(s=l,Pr++):(s=null,qr===0&&$r(c)),s!==null?(u=Mi(),u!==null?(i=[i,s,u],r=i):(Pr=r,r=o)):(Pr=r,r=o)):(Pr=r,r=o),r===null&&(r=Pr,i=Ci(),i!==null?(e.charCodeAt(Pr)===61?(s=l,Pr++):(s=null,qr===0&&$r(c)),s!==null?(u=_i(),u!==null?(i=[i,s,u],r=i):(Pr=r,r=o)):(Pr=r,r=o)):(Pr=r,r=o)))),r!==null?(Hr=t,n=at(r),n===null?(Pr=t,t=n):t=n):(Pr=t,t=o)):(Pr=t,t=o),t}function Li(){var e;return e=Pi(),e===null&&(e=Di(),e===null&&(e=Mi(),e===null&&(e=_i()))),e}function Ai(){var e,t,n,r,i,s;e=Pr,t=Ni();if(t!==null){n=[],r=Pr,i=Oi(),i!==null?(s=Ni(),s!==null?(Hr=r,i=ft(s),i===null?(Pr=r,r=i):r=i):(Pr=r,r=o)):(Pr=r,r=o);while(r!==null)n.push(r),r=Pr,i=Oi(),i!==null?(s=Ni(),s!==null?(Hr=r,i=ft(s),i===null?(Pr=r,r=i):r=i):(Pr=r,r=o)):(Pr=r,r=o);n!==null?(Hr=e,t=lt(t,n),t===null?(Pr=e,e=t):e=t):(Pr=e,e=o)}else Pr=e,e=o;return e}function Oi(){var t,n;return qr++,ht.test(e.charAt(Pr))?(t=e.charAt(Pr),Pr++):(t=null,qr===0&&$r(pt)),qr--,t===null&&(n=null,qr===0&&$r(ct)),t}function Mi(){var e,t;return e=Pr,t=Ai(),t!==null&&(Hr=e,t=dt(t)),t===null?(Pr=e,e=t):e=t,e}function _i(){var e,t;return e=Pr,t=ji(),t!==null&&(Hr=e,t=vt(t)),t===null?(Pr=e,e=t):e=t,e}function Di(){var e,t;return e=Pr,t=Bi(),t!==null&&(Hr=e,t=mt(t)),t===null?(Pr=e,e=t):e=t,e}function Pi(){var e,t;return e=Pr,t=Hi(),t!==null&&(Hr=e,t=gt(t)),t===null?(Pr=e,e=t):e=t,e}function Hi(){var t,n;return qr++,e.substr(Pr,4)===bt?(t=bt,Pr+=4):(t=null,qr===0&&$r(wt)),t===null&&(e.substr(Pr,5)===Et?(t=Et,Pr+=5):(t=null,qr===0&&$r(St))),qr--,t===null&&(n=null,qr===0&&$r(yt)),t}function Bi(){var t,n,r,i;qr++,t=Pr,n=Pr,r=[],Tt.test(e.charAt(Pr))?(i=e.charAt(Pr),Pr++):(i=null,qr===0&&$r(Nt));if(i!==null)while(i!==null)r.push(i),Tt.test(e.charAt(Pr))?(i=e.charAt(Pr),Pr++):(i=null,qr===0&&$r(Nt));else r=o;return r!==null&&(r=e.substring(n,Pr)),n=r,n!==null&&(Hr=t,n=Ct(n)),n===null?(Pr=t,t=n):t=n,qr--,t===null&&(n=null,qr===0&&$r(xt)),t}function ji(){var t,n,r,i,s;return t=Pr,n=Pr,e.charCodeAt(Pr)===34?(r=kt,Pr++):(r=null,qr===0&&$r(Lt)),r!==null?(i=Fi(),i!==null?(e.charCodeAt(Pr)===34?(s=kt,Pr++):(s=null,qr===0&&$r(Lt)),s!==null?(r=[r,i,s],n=r):(Pr=n,n=o)):(Pr=n,n=o)):(Pr=n,n=o),n===null&&(n=Pr,e.charCodeAt(Pr)===39?(r=At,Pr++):(r=null,qr===0&&$r(Ot)),r!==null?(i=Ii(),i!==null?(e.charCodeAt(Pr)===39?(s=At,Pr++):(s=null,qr===0&&$r(Ot)),s!==null?(r=[r,i,s],n=r):(Pr=n,n=o)):(Pr=n,n=o)):(Pr=n,n=o)),n!==null&&(Hr=t,n=Mt(n)),n===null?(Pr=t,t=n):t=n,t}function Fi(){var t,n,r,i,s;t=Pr,n=[],r=Pr,i=Pr,qr++,s=Js(),qr--,s===null?i=u:(Pr=i,i=o),i!==null?(_t.test(e.charAt(Pr))?(s=e.charAt(Pr),Pr++):(s=null,qr===0&&$r(Dt)),s!==null?(i=[i,s],r=i):(Pr=r,r=o)):(Pr=r,r=o);while(r!==null)n.push(r),r=Pr,i=Pr,qr++,s=Js(),qr--,s===null?i=u:(Pr=i,i=o),i!==null?(_t.test(e.charAt(Pr))?(s=e.charAt(Pr),Pr++):(s=null,qr===0&&$r(Dt)),s!==null?(i=[i,s],r=i):(Pr=r,r=o)):(Pr=r,r=o);return n!==null&&(n=e.substring(t,Pr)),t=n,t}function Ii(){var t,n,r,i,s;t=Pr,n=[],r=Pr,i=Pr,qr++,s=Js(),qr--,s===null?i=u:(Pr=i,i=o),i!==null?(Pt.test(e.charAt(Pr))?(s=e.charAt(Pr),Pr++):(s=null,qr===0&&$r(Ht)),s!==null?(i=[i,s],r=i):(Pr=r,r=o)):(Pr=r,r=o);while(r!==null)n.push(r),r=Pr,i=Pr,qr++,s=Js(),qr--,s===null?i=u:(Pr=i,i=o),i!==null?(Pt.test(e.charAt(Pr))?(s=e.charAt(Pr),Pr++):(s=null,qr===0&&$r(Ht)),s!==null?(i=[i,s],r=i):(Pr=r,r=o)):(Pr=r,r=o);return n!==null&&(n=e.substring(t,Pr)),t=n,t}function qi(){var t;return Bt.test(e.charAt(Pr))?(t=e.charAt(Pr),Pr++):(t=null,qr===0&&$r(jt)),t}function Ri(){var e,t,n,r,i;e=Pr,t=Ws();if(t!==null){n=Wi();if(n!==null){r=[],i=Ri();while(i!==null)r.push(i),i=Ri();r!==null?(i=Ks(),i!==null?(Hr=e,t=Ft(t,n,r),t===null?(Pr=e,e=t):e=t):(Pr=e,e=o)):(Pr=e,e=o)}else Pr=e,e=o}else Pr=e,e=o;return e===null&&(e=Wi()),e}function Ui(){var t,n,r;return t=Pr,It.test(e.charAt(Pr))?(n=e.charAt(Pr),Pr++):(n=null,qr===0&&$r(qt)),n!==null?(e.charCodeAt(Pr)===32?(r=M,Pr++):(r=null,qr===0&&$r(_)),r===null&&(r=u),r!==null?(Hr=t,n=it(n),n===null?(Pr=t,t=n):t=n):(Pr=t,t=o)):(Pr=t,t=o),t===null&&(t=Pr,n=Pr,qr++,e.charCodeAt(Pr)===60?(r=Rt,Pr++):(r=null,qr===0&&$r(Ut)),qr--,r!==null?(Pr=n,n=u):n=o,n!==null&&(Hr=t,n=zt()),n===null?(Pr=t,t=n):t=n),t}function zi(){var e,t,n,r,i,s,a;e=Pr,t=Ui();if(t!==null){n=Wi();if(n!==null){r=Pr,i=Ws();if(i!==null){s=[],a=Ri();while(a!==null)s.push(a),a=Ri();s!==null?(a=Vs(),a!==null?(i=[i,s,a],r=i):(Pr=r,r=o)):(Pr=r,r=o)}else Pr=r,r=o;r===null&&(r=u),r!==null?(Hr=e,t=Wt(t,n,r),t===null?(Pr=e,e=t):e=t):(Pr=e,e=o)}else Pr=e,e=o}else Pr=e,e=o;return e}function Wi(){var e,t,n,r,i,s;e=Pr,t=ns(),t===null&&(t=u);if(t!==null){n=[],r=Pr,i=Ji(),i!==null?(s=ns(),s===null&&(s=u),s!==null?(i=[i,s],r=i):(Pr=r,r=o)):(Pr=r,r=o);while(r!==null)n.push(r),r=Pr,i=Ji(),i!==null?(s=ns(),s===null&&(s=u),s!==null?(i=[i,s],r=i):(Pr=r,r=o)):(Pr=r,r=o);n!==null?(r=Js(),r!==null?(Hr=e,t=Xt(t,n),t===null?(Pr=e,e=t):e=t):(Pr=e,e=o)):(Pr=e,e=o)}else Pr=e,e=o;return e}function Xi(){var t,n,r,i;return t=Pr,e.charCodeAt(Pr)===34?(n=kt,Pr++):(n=null,qr===0&&$r(Lt)),n!==null?(r=Vi(),r!==null?(e.charCodeAt(Pr)===34?(i=kt,Pr++):(i=null,qr===0&&$r(Lt)),i!==null?(Hr=t,n=K(r),n===null?(Pr=t,t=n):t=n):(Pr=t,t=o)):(Pr=t,t=o)):(Pr=t,t=o),t===null&&(t=Pr,e.charCodeAt(Pr)===39?(n=At,Pr++):(n=null,qr===0&&$r(Ot)),n!==null?(r=$i(),r!==null?(e.charCodeAt(Pr)===39?(i=At,Pr++):(i=null,qr===0&&$r(Ot)),i!==null?(Hr=t,n=K(r),n===null?(Pr=t,t=n):t=n):(Pr=t,t=o)):(Pr=t,t=o)):(Pr=t,t=o)),t}function Vi(){var e,t,n,r,i,s;e=Pr,t=Yi(),t===null&&(t=u);if(t!==null){n=[],r=Pr,i=Ji(),i!==null?(s=Yi(),s===null&&(s=u),s!==null?(i=[i,s],r=i):(Pr=r,r=o)):(Pr=r,r=o);while(r!==null)n.push(r),r=Pr,i=Ji(),i!==null?(s=Yi(),s===null&&(s=u),s!==null?(i=[i,s],r=i):(Pr=r,r=o)):(Pr=r,r=o);n!==null?(Hr=e,t=Vt(t,n),t===null?(Pr=e,e=t):e=t):(Pr=e,e=o)}else Pr=e,e=o;return e}function $i(){var e,t,n,r,i,s;e=Pr,t=Zi(),t===null&&(t=u);if(t!==null){n=[],r=Pr,i=Ji(),i!==null?(s=Zi(),s===null&&(s=u),s!==null?(i=[i,s],r=i):(Pr=r,r=o)):(Pr=r,r=o);while(r!==null)n.push(r),r=Pr,i=Ji(),i!==null?(s=Zi(),s===null&&(s=u),s!==null?(i=[i,s],r=i):(Pr=r,r=o)):(Pr=r,r=o);n!==null?(Hr=e,t=Vt(t,n),t===null?(Pr=e,e=t):e=t):(Pr=e,e=o)}else Pr=e,e=o;return e}function Ji(){var e;return e=Gi(),e===null&&(e=Qi()),e}function Ki(){var t,n,r,i,s;t=Pr,n=Pr,qr++,e.charCodeAt(Pr)===123?(r=$t,Pr++):(r=null,qr===0&&$r(Jt)),qr--,r===null?n=u:(Pr=n,n=o);if(n!==null){r=Pr,i=[],Kt.test(e.charAt(Pr))?(s=e.charAt(Pr),Pr++):(s=null,qr===0&&$r(Qt));while(s!==null)i.push(s),Kt.test(e.charAt(Pr))?(s=e.charAt(Pr),Pr++):(s=null,qr===0&&$r(Qt));i!==null&&(i=e.substring(r,Pr)),r=i,r!==null?(Hr=t,n=Gt(r),n===null?(Pr=t,t=n):t=n):(Pr=t,t=o)}else Pr=t,t=o;return t}function Qi(){var e,t,n,r,i,s;return e=Pr,t=as(),t!==null?(n=Gs(),n!==null?(r=Ki(),r!==null?(i=Gs(),i!==null?(s=cs(),s!==null?(Hr=e,t=Yt(r),t===null?(Pr=e,e=t):e=t):(Pr=e,e=o)):(Pr=e,e=o)):(Pr=e,e=o)):(Pr=e,e=o)):(Pr=e,e=o),e===null&&(e=Pr,t=ps(),t!==null?(n=Gs(),n!==null?(r=Ki(),r!==null?(i=Gs(),i!==null?(s=ds(),s!==null?(Hr=e,t=Yt(r),t===null?(Pr=e,e=t):e=t):(Pr=e,e=o)):(Pr=e,e=o)):(Pr=e,e=o)):(Pr=e,e=o)):(Pr=e,e=o)),e}function Gi(){var e,t,n,r,i,s;return e=Pr,t=fs(),t!==null?(n=Gs(),n!==null?(r=Ki(),r!==null?(i=Gs(),i!==null?(s=hs(),s!==null?(Hr=e,t=Zt(r),t===null?(Pr=e,e=t):e=t):(Pr=e,e=o)):(Pr=e,e=o)):(Pr=e,e=o)):(Pr=e,e=o)):(Pr=e,e=o),e}function Yi(){var t,n,r,i;t=Pr,n=Pr,r=[],i=es();if(i!==null)while(i!==null)r.push(i),i=es();else r=o;return r!==null&&(r=e.substring(n,Pr)),n=r,n!==null&&(Hr=t,n=en(n)),n===null?(Pr=t,t=n):t=n,t}function Zi(){var t,n,r,i;t=Pr,n=Pr,r=[],i=ts();if(i!==null)while(i!==null)r.push(i),i=ts();else r=o;return r!==null&&(r=e.substring(n,Pr)),n=r,n!==null&&(Hr=t,n=en(n)),n===null?(Pr=t,t=n):t=n,t}function es(){var t,n,r;return t=Pr,n=Pr,qr++,r=is(),r===null&&(e.charCodeAt(Pr)===34?(r=kt,Pr++):(r=null,qr===0&&$r(Lt))),qr--,r===null?n=u:(Pr=n,n=o),n!==null?(e.length>Pr?(r=e.charAt(Pr),Pr++):(r=null,qr===0&&$r(tn)),r!==null?(Hr=t,n=P(r),n===null?(Pr=t,t=n):t=n):(Pr=t,t=o)):(Pr=t,t=o),t}function ts(){var t,n,r;return t=Pr,n=Pr,qr++,r=is(),r===null&&(e.charCodeAt(Pr)===39?(r=At,Pr++):(r=null,qr===0&&$r(Ot))),qr--,r===null?n=u:(Pr=n,n=o),n!==null?(e.length>Pr?(r=e.charAt(Pr),Pr++):(r=null,qr===0&&$r(tn)),r!==null?(Hr=t,n=P(r),n===null?(Pr=t,t=n):t=n):(Pr=t,t=o)):(Pr=t,t=o),t}function ns(){var t,n,r,i;t=Pr,n=Pr,r=[],i=rs();if(i!==null)while(i!==null)r.push(i),i=rs();else r=o;return r!==null&&(r=e.substring(n,Pr)),n=r,n!==null&&(Hr=t,n=en(n)),n===null?(Pr=t,t=n):t=n,t}function rs(){var t,n,r;return t=Pr,n=Pr,qr++,r=is(),qr--,r===null?n=u:(Pr=n,n=o),n!==null?(e.length>Pr?(r=e.charAt(Pr),Pr++):(r=null,qr===0&&$r(tn)),r!==null?(Hr=t,n=P(r),n===null?(Pr=t,t=n):t=n):(Pr=t,t=o)):(Pr=t,t=o),t}function is(){var e;return e=fs(),e===null&&(e=as(),e===null&&(e=ps(),e===null&&(e=Ks(),e===null&&(e=Js())))),e}function ss(){var e,t,n,r,i,s;return e=Pr,t=us(),t!==null?(n=Gs(),n!==null?(r=Ki(),r!==null?(i=Gs(),i!==null?(s=ls(),s!==null?(Hr=e,t=Yt(r),t===null?(Pr=e,e=t):e=t):(Pr=e,e=o)):(Pr=e,e=o)):(Pr=e,e=o)):(Pr=e,e=o)):(Pr=e,e=o),e}function os(){var e;return e=ss(),e===null&&(e=Gi(),e===null&&(e=Qi())),e}function us(){var t,n;return qr++,e.charCodeAt(Pr)===123?(t=$t,Pr++):(t=null,qr===0&&$r(Jt)),qr--,t===null&&(n=null,qr===0&&$r(nn)),t}function as(){var t,n;return qr++,e.substr(Pr,2)===sn?(t=sn,Pr+=2):(t=null,qr===0&&$r(on)),qr--,t===null&&(n=null,qr===0&&$r(rn)),t}function fs(){var t,n;return qr++,e.substr(Pr,3)===an?(t=an,Pr+=3):(t=null,qr===0&&$r(fn)),qr--,t===null&&(n=null,qr===0&&$r(un)),t}function ls(){var t,n;return qr++,e.charCodeAt(Pr)===125?(t=cn,Pr++):(t=null,qr===0&&$r(hn)),qr--,t===null&&(n=null,qr===0&&$r(ln)),t}function cs(){var t,n;return qr++,e.substr(Pr,2)===dn?(t=dn,Pr+=2):(t=null,qr===0&&$r(vn)),qr--,t===null&&(n=null,qr===0&&$r(pn)),t}function hs(){var t,n;return qr++,e.substr(Pr,3)===gn?(t=gn,Pr+=3):(t=null,qr===0&&$r(yn)),qr--,t===null&&(n=null,qr===0&&$r(mn)),t}function ps(){var t,n;return qr++,e.substr(Pr,2)===wn?(t=wn,Pr+=2):(t=null,qr===0&&$r(En)),qr--,t===null&&(n=null,qr===0&&$r(bn)),t}function ds(){var t,n;return qr++,e.charCodeAt(Pr)===125?(t=cn,Pr++):(t=null,qr===0&&$r(hn)),qr--,t===null&&(n=null,qr===0&&$r(Sn)),t}function vs(){var t,n,r;return t=Pr,e.substr(Pr,2)===xn?(n=xn,Pr+=2):(n=null,qr===0&&$r(Tn)),n!==null?(e.charCodeAt(Pr)===32?(r=M,Pr++):(r=null,qr===0&&$r(_)),r===null&&(r=u),r!==null?(Hr=t,n=Nn(),n===null?(Pr=t,t=n):t=n):(Pr=t,t=o)):(Pr=t,t=o),t===null&&(t=Pr,e.charCodeAt(Pr)===61?(n=l,Pr++):(n=null,qr===0&&$r(c)),n!==null?(e.charCodeAt(Pr)===32?(r=M,Pr++):(r=null,qr===0&&$r(_)),r===null&&(r=u),r!==null?(Hr=t,n=Cn(),n===null?(Pr=t,t=n):t=n):(Pr=t,t=o)):(Pr=t,t=o)),t}function ms(){var t,n,r,i,s;return t=Pr,n=Is(),n===null&&(n=u),n!==null?(r=wi(),r===null&&(r=u),r!==null?(e.charCodeAt(Pr)===47?(i=C,Pr++):(i=null,qr===0&&$r(k)),i===null&&(i=u),i!==null?(Hr=Pr,s=kn(n,r),s?s=u:s=o,s!==null?(n=[n,r,i,s],t=n):(Pr=t,t=o)):(Pr=t,t=o)):(Pr=t,t=o)):(Pr=t,t=o),t}function gs(){var e,t,n,r,i;e=Pr,t=ms();if(t!==null){n=[],r=os();while(r!==null)n.push(r),r=os();if(n!==null){r=[],i=ys();while(i!==null)r.push(i),i=ys();r!==null?(Hr=e,t=Ln(t,n,r),t===null?(Pr=e,e=t):e=t):(Pr=e,e=o)}else Pr=e,e=o}else Pr=e,e=o;return e}function wi(){var e,t,n,r;e=Pr,t=[],n=Pr,r=Ms(),r!==null&&(Hr=n,r=An(r)),r===null?(Pr=n,n=r):n=r,n===null&&(n=Pr,r=_s(),r!==null&&(Hr=n,r=On(r)),r===null?(Pr=n,n=r):n=r);if(n!==null)while(n!==null)t.push(n),n=Pr,r=Ms(),r!==null&&(Hr=n,r=An(r)),r===null?(Pr=n,n=r):n=r,n===null&&(n=Pr,r=_s(),r!==null&&(Hr=n,r=On(r)),r===null?(Pr=n,n=r):n=r);else t=o;return t!==null&&(Hr=e,t=Mn(t)),t===null?(Pr=e,e=t):e=t,e}function ys(){var t,n,r;t=Pr,n=[],e.charCodeAt(Pr)===32?(r=M,Pr++):(r=null,qr===0&&$r(_));if(r!==null)while(r!==null)n.push(r),e.charCodeAt(Pr)===32?(r=M,Pr++):(r=null,qr===0&&$r(_));else n=o;return n!==null?(r=Ss(),r===null&&(r=Ts(),r===null&&(r=Ns(),r===null&&(r=Cs()))),r!==null?(Hr=t,n=_n(r),n===null?(Pr=t,t=n):t=n):(Pr=t,t=o)):(Pr=t,t=o),t}function bs(){var t;return Dn.test(e.charAt(Pr))?(t=e.charAt(Pr),Pr++):(t=null,qr===0&&$r(Pn)),t===null&&(t=Us()),t}function ws(){var e,t;return e=Es(),e===null&&(e=Pr,t=Mi(),t!==null&&(Hr=e,t=Hn(t)),t===null?(Pr=e,e=t):e=t),e}function Es(){var t,n,r,i,s;return t=Pr,n=Pr,e.charCodeAt(Pr)===34?(r=kt,Pr++):(r=null,qr===0&&$r(Lt)),r!==null?(i=yi(),i!==null?(e.charCodeAt(Pr)===34?(s=kt,Pr++):(s=null,qr===0&&$r(Lt)),s!==null?(r=[r,i,s],n=r):(Pr=n,n=o)):(Pr=n,n=o)):(Pr=n,n=o),n===null&&(n=Pr,e.charCodeAt(Pr)===39?(r=At,Pr++):(r=null,qr===0&&$r(Ot)),r!==null?(i=yi(),i!==null?(e.charCodeAt(Pr)===39?(s=At,Pr++):(s=null,qr===0&&$r(Ot)),s!==null?(r=[r,i,s],n=r):(Pr=n,n=o)):(Pr=n,n=o)):(Pr=n,n=o)),n!==null&&(Hr=t,n=Mt(n)),n===null?(Pr=t,t=n):t=n,t}function Ss(){var t,n,r,i;return t=Pr,n=zs(),n!==null?(e.charCodeAt(Pr)===61?(r=l,Pr++):(r=null,qr===0&&$r(c)),r!==null?(i=ws(),i!==null?(Hr=t,n=Bn(n,i),n===null?(Pr=t,t=n):t=n):(Pr=t,t=o)):(Pr=t,t=o)):(Pr=t,t=o),t}function xs(){var t,n,r,i,s,u;t=Pr,e.charCodeAt(Pr)===123?(n=$t,Pr++):(n=null,qr===0&&$r(Jt));if(n!==null){r=Gs();if(r!==null){i=Pr,s=[],u=bs(),u===null&&(e.charCodeAt(Pr)===32?(u=M,Pr++):(u=null,qr===0&&$r(_)));if(u!==null)while(u!==null)s.push(u),u=bs(),u===null&&(e.charCodeAt(Pr)===32?(u=M,Pr++):(u=null,qr===0&&$r(_)));else s=o;s!==null&&(s=e.substring(i,Pr)),i=s,i!==null?(s=Gs(),s!==null?(e.charCodeAt(Pr)===125?(u=cn,Pr++):(u=null,qr===0&&$r(hn)),u!==null?(Hr=t,n=jn(i),n===null?(Pr=t,t=n):t=n):(Pr=t,t=o)):(Pr=t,t=o)):(Pr=t,t=o)}else Pr=t,t=o}else Pr=t,t=o;if(t===null){t=Pr,n=[],r=bs();if(r!==null)while(r!==null)n.push(r),r=bs();else n=o;n!==null&&(n=e.substring(t,Pr)),t=n}return t}function Ts(){var t,n,r,i,s,a;return t=Pr,n=Ci(),n!==null?(e.charCodeAt(Pr)===61?(r=l,Pr++):(r=null,qr===0&&$r(c)),r!==null?(i=xs(),i!==null?(s=Pr,qr++,e.charCodeAt(Pr)===33?(a=Fn,Pr++):(a=null,qr===0&&$r(In)),qr--,a===null?s=u:(Pr=s,s=o),s!==null?(Hr=Pr,a=qn(n,i),a?a=u:a=o,a!==null?(Hr=t,n=Rn(n,i),n===null?(Pr=t,t=n):t=n):(Pr=t,t=o)):(Pr=t,t=o)):(Pr=t,t=o)):(Pr=t,t=o)):(Pr=t,t=o),t}function Ns(){var t,n,r,i;return t=Pr,n=Ci(),n!==null?(e.charCodeAt(Pr)===61?(r=l,Pr++):(r=null,qr===0&&$r(c)),r!==null?(i=Mi(),i!==null?(Hr=t,n=Un(n,i),n===null?(Pr=t,t=n):t=n):(Pr=t,t=o)):(Pr=t,t=o)):(Pr=t,t=o),t}function Cs(){var t,n,r,i;return t=Pr,n=Ci(),n!==null?(e.charCodeAt(Pr)===61?(r=l,Pr++):(r=null,qr===0&&$r(c)),r!==null?(i=Xi(),i!==null?(Hr=t,n=zn(n,i),n===null?(Pr=t,t=n):t=n):(Pr=t,t=o)):(Pr=t,t=o)):(Pr=t,t=o),t}function ks(){var t,n,r;t=Pr,n=[],r=As();while(r!==null)n.push(r),r=As();return n!==null&&(n=e.substring(t,Pr)),t=n,t}function Ls(){var e;return e=ji(),e===null&&(e=Li()),e}function As(){var t;return t=qi(),t===null&&(Tt.test(e.charAt(Pr))?(t=e.charAt(Pr),Pr++):(t=null,qr===0&&$r(Nt)),t===null&&(e.charCodeAt(Pr)===95?(t=Wn,Pr++):(t=null,qr===0&&$r(Xn)),t===null&&(e.charCodeAt(Pr)===45?(t=Vn,Pr++):(t=null,qr===0&&$r($n))))),t}function Os(){var t,n,r;return t=Pr,e.charCodeAt(Pr)===37?(n=Jn,Pr++):(n=null,qr===0&&$r(Kn)),n!==null?(r=Ds(),r!==null?(Hr=t,n=P(r),n===null?(Pr=t,t=n):t=n):(Pr=t,t=o)):(Pr=t,t=o),t}function Ms(){var t,n,r;return t=Pr,e.charCodeAt(Pr)===35?(n=Qn,Pr++):(n=null,qr===0&&$r(Gn)),n!==null?(r=Ds(),r!==null?(Hr=t,n=Yn(r),n===null?(Pr=t,t=n):t=n):(Pr=t,t=o)):(Pr=t,t=o),t}function _s(){var t,n,r;return t=Pr,e.charCodeAt(Pr)===46?(n=et,Pr++):(n=null,qr===0&&$r(tt)),n!==null?(r=Ds(),r!==null?(Hr=t,n=P(r),n===null?(Pr=t,t=n):t=n):(Pr=t,t=o)):(Pr=t,t=o),t}function Ds(){var e,t;return qr++,e=Ps(),qr--,e===null&&(t=null,qr===0&&$r(Zn)),e}function Ps(){var t,n,r;t=Pr,n=[],r=Hs();while(r!==null)n.push(r),r=Hs();return n!==null&&(n=e.substring(t,Pr)),t=n,t}function Hs(){var t;return er.test(e.charAt(Pr))?(t=e.charAt(Pr),Pr++):(t=null,qr===0&&$r(tr)),t===null&&(t=js()),t}function Bs(){var t;return nr.test(e.charAt(Pr))?(t=e.charAt(Pr),Pr++):(t=null,qr===0&&$r(rr)),t===null&&(t=js()),t}function js(){var t;return ir.test(e.charAt(Pr))?(t=e.charAt(Pr),Pr++):(t=null,qr===0&&$r(sr)),t}function Fs(){var t,n,r;t=Pr,n=[],r=Rs();if(r!==null)while(r!==null)n.push(r),r=Rs();else n=o;return n!==null&&(n=e.substring(t,Pr)),t=n,t}function Is(){var t,n,r,i;return qr++,t=Pr,e.charCodeAt(Pr)===37?(n=Jn,Pr++):(n=null,qr===0&&$r(Kn)),n!==null?(r=Gs(),r!==null?(i=Fs(),i!==null?(Hr=t,n=it(i),n===null?(Pr=t,t=n):t=n):(Pr=t,t=o)):(Pr=t,t=o)):(Pr=t,t=o),t===null&&(t=qs()),qr--,t===null&&(n=null,qr===0&&$r(or)),t}function qs(){var e,t,n;return e=Pr,t=Fs(),t!==null?(Hr=Pr,n=ur(t),n?n=u:n=o,n!==null?(Hr=e,t=ar(t),t===null?(Pr=e,e=t):e=t):(Pr=e,e=o)):(Pr=e,e=o),e}function Rs(){var t;return er.test(e.charAt(Pr))?(t=e.charAt(Pr),Pr++):(t=null,qr===0&&$r(tr)),t===null&&(t=Us()),t}function Us(){var t,n,r,i;return t=Pr,e.charCodeAt(Pr)===58?(n=ot,Pr++):(n=null,qr===0&&$r(ut)),n!==null?(r=Pr,qr++,e.charCodeAt(Pr)===32?(i=M,Pr++):(i=null,qr===0&&$r(_)),qr--,i===null?r=u:(Pr=r,r=o),r!==null?(Hr=t,n=P(n),n===null?(Pr=t,t=n):t=n):(Pr=t,t=o)):(Pr=t,t=o),t}function zs(){var e,t,n;return qr++,e=Pr,t=Fs(),t!==null?(Hr=Pr,n=lr(t),n?n=u:n=o,n!==null?(Hr=e,t=ar(t),t===null?(Pr=e,e=t):e=t):(Pr=e,e=o)):(Pr=e,e=o),qr--,e===null&&(t=null,qr===0&&$r(fr)),e}function Ws(){var e,t,n;return e=Pr,t=Xs(),t!==null?(n=Qs(),n!==null?(Hr=e,t=it(n),t===null?(Pr=e,e=t):e=t):(Pr=e,e=o)):(Pr=e,e=o),e}function Xs(){var t,n;return qr++,t=Pr,e.charCodeAt(Pr)===61423?(n=hr,Pr++):(n=null,qr===0&&$r(pr)),n!==null&&(Hr=t,n=dr()),n===null?(Pr=t,t=n):t=n,qr--,t===null&&(n=null,qr===0&&$r(cr)),t}function Vs(){var t,n;return qr++,t=Pr,e.charCodeAt(Pr)===61438?(n=mr,Pr++):(n=null,qr===0&&$r(gr)),n!==null&&(Hr=t,n=dr()),n===null?(Pr=t,t=n):t=n,qr--,t===null&&(n=null,qr===0&&$r(vr)),t}function $s(){var t,n;return qr++,t=Pr,e.charCodeAt(Pr)===61422?(n=br,Pr++):(n=null,qr===0&&$r(wr)),n!==null&&(Hr=t,n=dr()),n===null?(Pr=t,t=n):t=n,qr--,t===null&&(n=null,qr===0&&$r(yr)),t}function Js(){var t,n,r,i;return qr++,t=Pr,e.charCodeAt(Pr)===13?(n=Sr,Pr++):(n=null,qr===0&&$r(xr)),n===null&&(n=u),n!==null?(e.charCodeAt(Pr)===61439?(r=Tr,Pr++):(r=null,qr===0&&$r(Nr)),r!==null?(e.charCodeAt(Pr)===10?(i=Cr,Pr++):(i=null,qr===0&&$r(kr)),i!==null?(Hr=t,n=Nn(),n===null?(Pr=t,t=n):t=n):(Pr=t,t=o)):(Pr=t,t=o)):(Pr=t,t=o),qr--,t===null&&(n=null,qr===0&&$r(Er)),t}function Ks(){var e,t;return qr++,e=Vs(),e===null&&(e=$s()),qr--,e===null&&(t=null,qr===0&&$r(Lr)),e}function Qs(){var t,n,r;qr++,t=Pr,n=[],r=Ys();if(r!==null)while(r!==null)n.push(r),r=Ys();else n=o;return n!==null&&(n=e.substring(t,Pr)),t=n,qr--,t===null&&(n=null,qr===0&&$r(Ar)),t}function Gs(){var e,t;qr++,e=[],t=Ys();while(t!==null)e.push(t),t=Ys();return qr--,e===null&&(t=null,qr===0&&$r(Or)),e}function Ys(){var t,n;return qr++,_r.test(e.charAt(Pr))?(t=e.charAt(Pr),Pr++):(t=null,qr===0&&$r(Dr)),qr--,t===null&&(n=null,qr===0&&$r(Mr)),t}function Zs(){var t,n,r;return t=Pr,n=Pr,qr++,r=Xs(),r===null&&(r=Vs(),r===null&&(r=Js())),qr--,r===null?n=u:(Pr=n,n=o),n!==null?(e.length>Pr?(r=e.charAt(Pr),Pr++):(r=null,qr===0&&$r(tn)),r!==null?(Hr=t,n=P(r),n===null?(Pr=t,t=n):t=n):(Pr=t,t=o)):(Pr=t,t=o),t}function eo(){var t,n,r;t=Pr,n=[],r=Zs();while(r!==null)n.push(r),r=Zs();return n!==null&&(n=e.substring(t,Pr)),t=n,t}function uo(e,t,n){var r=e.hash;if(n){r=r||new ro.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 ro.IdNode([t])),new ro.MustacheNode(s,r,!e.escaped)}function ao(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 fo(e){to.log(9,e)}var r=arguments.length>1?arguments[1]:{},i={start:Kr},s=Kr,o=null,u="",a=function(e){return e},f=function(e,t){return new ro.ProgramNode(e,t||[])},l="=",c='"="',h="else",p='"else"',d=[],v=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 ro.ContentNode
2
- (n.join(""))),n=[]),t.push(o)}}return n.length&&t.push(new ro.ContentNode(n.join(""))),t},m="BeginStatement",g="ContentStatement",y=function(){return[]},b=">",w='">"',E=function(e,t){return[new ro.PartialNode(e,t[0])]},S=/^[a-zA-Z0-9_$-\/]/,x="[a-zA-Z0-9_$-\\/]",T=function(e){return new ro.PartialNameNode(e)},N=function(e){return[e]},C="/",k='"/"',L=/^[A-Z]/,A="[A-Z]",O=function(e){var t="view";if(e.mustache){var n=e.mustache.id.string.charAt(0);return!no||!n.match(/[A-Z]/)?e:(e.mustache=uo(e.mustache,t),e)}var n=e.id.string.charAt(0);return!no||!n.match(/[A-Z]/)?e:uo(e,t)},M=" ",_='" "',D=function(e,t){if(t){t=t[1];for(var n=0,r=t.length;n<r;++n)e.push(new ro.ContentNode(" ")),e=e.concat(t[n])}return e},P=function(e){return e},H=function(e){return[e]},B=function(e,t){var n=e[0];return t&&(n=n.concat(t)),e[1]&&n.push(e[1]),n},j=function(e,t){return t?new ro.BlockNode(e,t,t.inverse,e.id):e},F=": ",I='": "',q=function(e){return new ro.ProgramNode(e,[])},R=function(e){return e&&e[2]},U=function(e,t){var n=t.mustache||t;return n.escaped=e,t},z=function(e,t,n,r){if(e){var i=new ro.PartialNameNode(t.string);return new ro.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 ro.HashNode([]);for(var c in o){if(!o.hasOwnProperty(c))continue;r.pairs.push([c,new ro.StringNode(o[c].join(" "))])}}s.unshift(t);var h=new ro.MustacheNode(s,r),p=t._emblemSuffixModifier;return p==="!"?uo(h,"unbound"):p==="?"?uo(h,"if"):p==="^"?uo(h,"unless"):h},W=function(e){return["tagName",e]},X=function(e){return["elementId",e]},V=function(e){return["class",e]},$=function(e,t){return[e,t]},J=function(e){return[null,e]},K=function(e){return e},Q=function(e){return new ro.HashNode(e)},G="PathIdent",Y="..",Z='".."',et=".",tt='"."',nt=/^[a-zA-Z0-9_$\-!?\^]/,rt="[a-zA-Z0-9_$\\-!?\\^]",it=function(e){return e},st="Key",ot=":",ut='":"',at=function(e){return[e[0],e[2]]},ft=function(e){return e},lt=function(e,t){var n=[e];for(var r=0;r<t.length;++r)n.push(t[r]);return n},ct="PathSeparator",ht=/^[\/.]/,pt="[\\/.]",dt=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 ro.IdNode(e);return i._emblemSuffixModifier=r,i},vt=function(e){return new ro.StringNode(e)},mt=function(e){return new ro.IntegerNode(e)},gt=function(e){return new ro.BooleanNode(e)},yt="Boolean",bt="true",wt='"true"',Et="false",St='"false"',xt="Integer",Tt=/^[0-9]/,Nt="[0-9]",Ct=function(e){return parseInt(e)},kt='"',Lt='"\\""',At="'",Ot='"\'"',Mt=function(e){return e[1]},_t=/^[^"}]/,Dt='[^"}]',Pt=/^[^'}]/,Ht="[^'}]",Bt=/^[A-Za-z]/,jt="[A-Za-z]",Ft=function(e,t,n){t.unshift(new ro.ContentNode(e));for(var r=0;r<n.length;++r)t.push(new ro.ContentNode(e)),t=t.concat(n[r]),t.push("\n");return t},It=/^[|`']/,qt="[|`']",Rt="<",Ut='"<"',zt=function(){return"<"},Wt=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 ro.ContentNode("\n")):i.push(o)}return e==="'"&&i.push(new ro.ContentNode(" ")),i},Xt=function(e,t){return ao(e,t)},Vt=function(e,t){return ao(e,t)},$t="{",Jt='"{"',Kt=/^[^}]/,Qt="[^}]",Gt=function(e){return e="="+e,n.parse(e).statements[0]},Yt=function(e){return e.escaped=!0,e},Zt=function(e){return e.escaped=!1,e},en=function(e){return new ro.ContentNode(e)},tn="any character",nn="SingleMustacheOpen",rn="DoubleMustacheOpen",sn="{{",on='"{{"',un="TripleMustacheOpen",an="{{{",fn='"{{{"',ln="SingleMustacheClose",cn="}",hn='"}"',pn="DoubleMustacheClose",dn="}}",vn='"}}"',mn="TripleMustacheClose",gn="}}}",yn='"}}}"',bn="InterpolationOpen",wn="#{",En='"#{"',Sn="InterpolationClose",xn="==",Tn='"=="',Nn=function(){return!1},Cn=function(){return!0},kn=function(e,t){return e||t},Ln=function(e,t,n){var r=e[0]||"div",i=e[1]||[],s=i[0],o=i[1],u=[];u.push(new ro.ContentNode("<"+r)),s&&u.push(new ro.ContentNode(' id="'+s+'"')),o&&o.length&&u.push(new ro.ContentNode(' class="'+o.join(" ")+'"'));for(var a=0;a<t.length;++a)u.push(new ro.ContentNode(" ")),u.push(t[a]);for(var a=0;a<n.length;++a)u=u.concat(n[a]);var f=!!e[2];return io[r]||f?(u.push(new ro.ContentNode(" />")),[u]):(u.push(new ro.ContentNode(">")),[u,new ro.ContentNode("</"+r+">")])},An=function(e){return{shorthand:e,id:!0}},On=function(e){return{shorthand:e}},Mn=function(e){var t,n=[];for(var r=0,i=e.length;r<i;++r){var s=e[r];s.id?t=s.shorthand:n.push(s.shorthand)}return[t,n]},_n=function(e){return[new ro.ContentNode(" ")].concat(e)},Dn=/^[A-Za-z.0-9_\-]/,Pn="[A-Za-z.0-9_\\-]",Hn=function(e){return new ro.MustacheNode([e])},Bn=function(e,t){return[uo(t,"action",[["on",new ro.StringNode(e)]])]},jn=function(e){return e.replace(/ *$/,"")},Fn="!",In='"!"',qn=function(e,t){return no},Rn=function(e,t){var n=new ro.HashNode([[e,new ro.StringNode(t)]]),r=[new ro.IdNode(["bindAttr"])],i=new ro.MustacheNode(r,n);return[i]},Un=function(e,t){var n=new ro.MustacheNode([t]);return no&&t._emblemSuffixModifier==="!"&&(n=uo(n,"unbound")),[new ro.ContentNode(e+"="+'"'),n,new ro.ContentNode('"')]},zn=function(e,t){var n=[new ro.ContentNode(e+"="+'"')].concat(t);return n.concat([new ro.ContentNode('"')])},Wn="_",Xn='"_"',Vn="-",$n='"-"',Jn="%",Kn='"%"',Qn="#",Gn='"#"',Yn=function(e){return e},Zn="CSSIdentifier",er=/^[_a-zA-Z0-9\-]/,tr="[_a-zA-Z0-9\\-]",nr=/^[_a-zA-Z]/,rr="[_a-zA-Z]",ir=/^[\x80-\xFF]/,sr="[\\x80-\\xFF]",or="KnownHTMLTagName",ur=function(e){return!!so[e]},ar=function(e){return e},fr="a JS event",lr=function(e){return!!oo[e]},cr="INDENT",hr="",pr='"\\uEFEF"',dr=function(){return""},vr="DEDENT",mr="",gr='"\\uEFFE"',yr="Unmatched DEDENT",br="",wr='"\\uEFEE"',Er="LineEnd",Sr="\r",xr='"\\r"',Tr="",Nr='"\\uEFFF"',Cr="\n",kr='"\\n"',Lr="ANYDEDENT",Ar="RequiredWhitespace",Or="OptionalWhitespace",Mr="InlineWhitespace",_r=/^[ \t]/,Dr="[ \\t]",Pr=0,Hr=0,Br=0,jr={line:1,column:1,seenCR:!1},Fr=0,Ir=[],qr=0,Rr;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 to=n.handlebarsVariant,no=to.JavaScriptCompiler.prototype.namespace==="Ember.Handlebars",ro=to.AST,io={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},so={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},oo={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};Rr=s();if(Rr!==null&&Pr===e.length)return Rr;throw Jr(Ir),Hr=Math.max(Pr,Fr),new t(Ir,Hr<e.length?e.charAt(Hr):null,Hr,Vr(Hr).line,Vr(Hr).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"\r":oiasoijdoiaj.asdasd.asdasd,n!=="/"&&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+"\\r?\\n]*$"),u=RegExp("(?:["+f+"]*\\r?\\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+"]*\\r?\\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(/[^\r\n]+/),this.discard(/\r?\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.2.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 Ur(){return e.substring(Hr,Pr)}function zr(){return Hr}function Wr(){return Vr(Hr).line}function Xr(){return Vr(Hr).column}function Vr(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 Br!==t&&(Br>t&&(Br=0,jr={line:1,column:1,seenCR:!1}),Br=t,n(jr,Br)),jr}function $r(e){if(Pr<Fr)return;Pr>Fr&&(Fr=Pr,Ir=[]),Ir.push(e)}function Jr(e){var t=0;e.sort();while(t<e.length)e[t-1]===e[t]?e.splice(t,1):t++}function Kr(){var e;return e=Qr(),e}function Qr(){var e,t,n,r,i,s,l,c,h;return e=Pr,t=Yr(),t!==null?(n=Pr,r=Vs(),r!==null?(i=Gr(),i!==null?(s=Gs(),s!==null?(l=Js(),l!==null?(c=Ws(),c!==null?(h=Yr(),h!==null?(Hr=n,r=a(h),r===null?(Pr=n,n=r):n=r):(Pr=n,n=o)):(Pr=n,n=o)):(Pr=n,n=o)):(Pr=n,n=o)):(Pr=n,n=o)):(Pr=n,n=o),n===null&&(n=u),n!==null?(Hr=e,t=f(t,n),t===null?(Pr=e,e=t):e=t):(Pr=e,e=o)):(Pr=e,e=o),e}function Gr(){var t,n,r,i;return t=Pr,n=Pr,e.charCodeAt(Pr)===61?(r=l,Pr++):(r=null,qr===0&&$r(c)),r!==null?(i=Gs(),i!==null?(r=[r,i],n=r):(Pr=n,n=o)):(Pr=n,n=o),n===null&&(n=u),n!==null?(e.substr(Pr,4)===h?(r=h,Pr+=4):(r=null,qr===0&&$r(p)),r!==null?(n=[n,r],t=n):(Pr=t,t=o)):(Pr=t,t=o),t}function Yr(){var e,t,n;e=Pr,t=[],n=Zr();while(n!==null)t.push(n),n=Zr();return t!==null&&(Hr=e,t=v(t)),t===null?(Pr=e,e=t):e=t,e}function Zr(){var e,t;return qr++,e=ti(),e===null&&(e=oi(),e===null&&(e=ei())),qr--,e===null&&(t=null,qr===0&&$r(m)),e}function ei(){var e,t;return qr++,e=ni(),e===null&&(e=pi(),e===null&&(e=zi(),e===null&&(e=ii()))),qr--,e===null&&(t=null,qr===0&&$r(g)),e}function ti(){var e,t,n;return e=Pr,t=Gs(),t!==null?(n=Js(),n!==null?(Hr=e,t=y(),t===null?(Pr=e,e=t):e=t):(Pr=e,e=o)):(Pr=e,e=o),e}function ni(){var t,n,r,i,s,u,a,f;t=Pr,e.charCodeAt(Pr)===62?(n=b,Pr++):(n=null,qr===0&&$r(w));if(n!==null){r=Gs();if(r!==null){i=ri();if(i!==null){s=Gs();if(s!==null){u=[],a=xi();while(a!==null)u.push(a),a=xi();u!==null?(a=Gs(),a!==null?(f=Js(),f!==null?(Hr=t,n=E(i,u),n===null?(Pr=t,t=n):t=n):(Pr=t,t=o)):(Pr=t,t=o)):(Pr=t,t=o)}else Pr=t,t=o}else Pr=t,t=o}else Pr=t,t=o}else Pr=t,t=o;return t}function ri(){var t,n,r,i;t=Pr,n=Pr,r=[],S.test(e.charAt(Pr))?(i=e.charAt(Pr),Pr++):(i=null,qr===0&&$r(x));if(i!==null)while(i!==null)r.push(i),S.test(e.charAt(Pr))?(i=e.charAt(Pr),Pr++):(i=null,qr===0&&$r(x));else r=o;return r!==null&&(r=e.substring(n,Pr)),n=r,n!==null&&(Hr=t,n=T(n)),n===null?(Pr=t,t=n):t=n,t}function ii(){var e,t;return e=Pr,t=gi(),t===null&&(t=ai()),t!==null&&(Hr=e,t=N(t)),t===null?(Pr=e,e=t):e=t,e}function si(){var e,t,n,r,i,s,u,a;e=Pr,t=eo();if(t!==null){n=Js();if(n!==null){r=[],i=Pr,s=Ws();if(s!==null){u=[],a=si();if(a!==null)while(a!==null)u.push(a),a=si();else u=o;u!==null?(a=Ks(),a!==null?(s=[s,u,a],i=s):(Pr=i,i=o)):(Pr=i,i=o)}else Pr=i,i=o;while(i!==null){r.push(i),i=Pr,s=Ws();if(s!==null){u=[],a=si();if(a!==null)while(a!==null)u.push(a),a=si();else u=o;u!==null?(a=Ks(),a!==null?(s=[s,u,a],i=s):(Pr=i,i=o)):(Pr=i,i=o)}else Pr=i,i=o}r!==null?(Hr=e,t=y(),t===null?(Pr=e,e=t):e=t):(Pr=e,e=o)}else Pr=e,e=o}else Pr=e,e=o;return e}function oi(){var t,n,r;return t=Pr,e.charCodeAt(Pr)===47?(n=C,Pr++):(n=null,qr===0&&$r(k)),n!==null?(r=si(),r!==null?(Hr=t,n=y(),n===null?(Pr=t,t=n):t=n):(Pr=t,t=o)):(Pr=t,t=o),t}function ui(){var t,n,r;return t=Pr,e.charCodeAt(Pr)===47?(n=C,Pr++):(n=null,qr===0&&$r(k)),n!==null?(r=eo(),r!==null?(n=[n,r],t=n):(Pr=t,t=o)):(Pr=t,t=o),t}function ai(){var e;return e=fi(),e===null&&(e=di()),e}function fi(){var t,n,r;return t=Pr,n=Pr,qr++,L.test(e.charAt(Pr))?(r=e.charAt(Pr),Pr++):(r=null,qr===0&&$r(A)),qr--,r!==null?(Pr=n,n=u):n=o,n!==null?(r=di(),r!==null?(Hr=t,n=O(r),n===null?(Pr=t,t=n):t=n):(Pr=t,t=o)):(Pr=t,t=o),t}function li(){var t,n,r,i,s,a,f;t=Pr,e.charCodeAt(Pr)===32?(n=M,Pr++):(n=null,qr===0&&$r(_));if(n!==null){r=Wi();if(r!==null){i=Pr,s=Ws();if(s!==null){a=[],f=Ri();if(f!==null)while(f!==null)a.push(f),f=Ri();else a=o;a!==null?(f=Vs(),f!==null?(s=[s,a,f],i=s):(Pr=i,i=o)):(Pr=i,i=o)}else Pr=i,i=o;i===null&&(i=u),i!==null?(Hr=t,n=D(r,i),n===null?(Pr=t,t=n):t=n):(Pr=t,t=o)}else Pr=t,t=o}else Pr=t,t=o;return t}function ci(){var e,t,n,r,i;e=Pr,t=[],n=ti();while(n!==null)t.push(n),n=ti();return t!==null?(n=Ws(),n!==null?(r=Yr(),r!==null?(i=Vs(),i!==null?(Hr=e,t=P(r),t===null?(Pr=e,e=t):e=t):(Pr=e,e=o)):(Pr=e,e=o)):(Pr=e,e=o)):(Pr=e,e=o),e}function hi(){var e,t,n,r,i;return e=vi(),e===null&&(e=Pr,t=Gs(),t!==null?(n=gi(),n!==null?(Hr=e,t=H(n),t===null?(Pr=e,e=t):e=t):(Pr=e,e=o)):(Pr=e,e=o),e===null&&(e=Pr,t=Gs(),t!==null?(n=ui(),n===null&&(n=u),n!==null?(r=Js(),r!==null?(i=ci(),i===null&&(i=u),i!==null?(Hr=e,t=P(i),t===null?(Pr=e,e=t):e=t):(Pr=e,e=o)):(Pr=e,e=o)):(Pr=e,e=o)):(Pr=e,e=o),e===null&&(e=li()))),e}function pi(){var e,t,n;return e=Pr,t=gs(),t!==null?(n=hi(),n!==null?(Hr=e,t=B(t,n),t===null?(Pr=e,e=t):e=t):(Pr=e,e=o)):(Pr=e,e=o),e}function di(){var e,t,n,r,i;return e=Pr,t=yi(),t!==null?(n=Gs(),n!==null?(r=ui(),r===null&&(r=u),r!==null?(i=mi(),i!==null?(Hr=e,t=j(t,i),t===null?(Pr=e,e=t):e=t):(Pr=e,e=o)):(Pr=e,e=o)):(Pr=e,e=o)):(Pr=e,e=o),e}function Qr(){var e,t,n,r,i,s,l,c,h,p;e=Pr,t=Yr();if(t!==null){n=Pr,r=Vs();if(r!==null){i=Gr();if(i!==null){s=Gs();if(s!==null){l=Js();if(l!==null){c=[],h=ti();while(h!==null)c.push(h),h=ti();c!==null?(h=Ws(),h!==null?(p=Yr(),p!==null?(Hr=n,r=a(p),r===null?(Pr=n,n=r):n=r):(Pr=n,n=o)):(Pr=n,n=o)):(Pr=n,n=o)}else Pr=n,n=o}else Pr=n,n=o}else Pr=n,n=o}else Pr=n,n=o;n===null&&(n=u),n!==null?(Hr=e,t=f(t,n),t===null?(Pr=e,e=t):e=t):(Pr=e,e=o)}else Pr=e,e=o;return e}function vi(){var t,n,r,i;return t=Pr,e.substr(Pr,2)===F?(n=F,Pr+=2):(n=null,qr===0&&$r(I)),n!==null?(r=Gs(),r!==null?(i=ei(),i!==null?(Hr=t,n=P(i),n===null?(Pr=t,t=n):t=n):(Pr=t,t=o)):(Pr=t,t=o)):(Pr=t,t=o),t}function mi(){var e,t,n,r,i,s,a;e=Pr,t=vi(),t===null&&(t=zi()),t!==null&&(Hr=e,t=q(t)),t===null?(Pr=e,e=t):e=t;if(e===null){e=Pr,t=Js();if(t!==null){n=Pr,r=[],i=ti();while(i!==null)r.push(i),i=ti();r!==null?(i=Ws(),i!==null?(s=Qr(),s!==null?(a=Vs(),a!==null?(r=[r,i,s,a],n=r):(Pr=n,n=o)):(Pr=n,n=o)):(Pr=n,n=o)):(Pr=n,n=o),n===null&&(n=u),n!==null?(Hr=e,t=R(n),t===null?(Pr=e,e=t):e=t):(Pr=e,e=o)}else Pr=e,e=o}return e}function gi(){var e,t,n;return e=Pr,t=vs(),t!==null?(n=di(),n!==null?(Hr=e,t=U(t,n),t===null?(Pr=e,e=t):e=t):(Pr=e,e=o)):(Pr=e,e=o),e}function yi(){var t,n,r,i,s,a;t=Pr,e.charCodeAt(Pr)===62?(n=b,Pr++):(n=null,qr===0&&$r(w)),n===null&&(n=u);if(n!==null){r=Gs();if(r!==null){i=Mi();if(i!==null){s=[],a=xi();while(a!==null)s.push(a),a=xi();s!==null?(a=Ti(),a===null&&(a=u),a!==null?(Hr=t,n=z(n,i,s,a),n===null?(Pr=t,t=n):t=n):(Pr=t,t=o)):(Pr=t,t=o)}else Pr=t,t=o}else Pr=t,t=o}else Pr=t,t=o;return t}function bi(){var e,t;return e=Pr,t=Os(),t!==null&&(Hr=e,t=W(t)),t===null?(Pr=e,e=t):e=t,e===null&&(e=Pr,t=Ms(),t!==null&&(Hr=e,t=X(t)),t===null?(Pr=e,e=t):e=t,e===null&&(e=Pr,t=_s(),t!==null&&(Hr=e,t=V(t)),t===null?(Pr=e,e=t):e=t)),e}function wi(){var e;return e=Ei(),e===null&&(e=Si()),e}function Ei(){var e,t,n,r;e=Pr,t=Ms();if(t!==null){n=[],r=_s();while(r!==null)n.push(r),r=_s();n!==null?(Hr=e,t=$(t,n),t===null?(Pr=e,e=t):e=t):(Pr=e,e=o)}else Pr=e,e=o;return e}function Si(){var e,t,n;e=Pr,t=[],n=_s();if(n!==null)while(n!==null)t.push(n),n=_s();else t=o;return t!==null&&(Hr=e,t=J(t)),t===null?(Pr=e,e=t):e=t,e}function xi(){var e,t,n;return e=Pr,t=Gs(),t!==null?(n=bi(),n===null&&(n=Li()),n!==null?(Hr=e,t=K(n),t===null?(Pr=e,e=t):e=t):(Pr=e,e=o)):(Pr=e,e=o),e}function Ti(){var e,t,n;e=Pr,t=[],n=ki();if(n!==null)while(n!==null)t.push(n),n=ki();else t=o;return t!==null&&(Hr=e,t=Q(t)),t===null?(Pr=e,e=t):e=t,e}function Ni(){var t,n,r,i;qr++,e.substr(Pr,2)===Y?(t=Y,Pr+=2):(t=null,qr===0&&$r(Z));if(t===null){e.charCodeAt(Pr)===46?(t=et,Pr++):(t=null,qr===0&&$r(tt));if(t===null){t=Pr,n=Pr,r=[],nt.test(e.charAt(Pr))?(i=e.charAt(Pr),Pr++):(i=null,qr===0&&$r(rt));if(i!==null)while(i!==null)r.push(i),nt.test(e.charAt(Pr))?(i=e.charAt(Pr),Pr++):(i=null,qr===0&&$r(rt));else r=o;r!==null&&(r=e.substring(n,Pr)),n=r,n!==null?(r=Pr,qr++,e.charCodeAt(Pr)===61?(i=l,Pr++):(i=null,qr===0&&$r(c)),qr--,i===null?r=u:(Pr=r,r=o),r!==null?(Hr=t,n=it(n),n===null?(Pr=t,t=n):t=n):(Pr=t,t=o)):(Pr=t,t=o)}}return qr--,t===null&&(n=null,qr===0&&$r(G)),t}function Ci(){var t,n,r;qr++,t=Pr,n=[],r=Hs(),r===null&&(e.charCodeAt(Pr)===58?(r=ot,Pr++):(r=null,qr===0&&$r(ut)));while(r!==null)n.push(r),r=Hs(),r===null&&(e.charCodeAt(Pr)===58?(r=ot,Pr++):(r=null,qr===0&&$r(ut)));return n!==null&&(n=e.substring(t,Pr)),t=n,qr--,t===null&&(n=null,qr===0&&$r(st)),t}function ki(){var t,n,r,i,s,u;return t=Pr,n=Gs(),n!==null?(r=Pr,i=Ci(),i!==null?(e.charCodeAt(Pr)===61?(s=l,Pr++):(s=null,qr===0&&$r(c)),s!==null?(u=Pi(),u!==null?(i=[i,s,u],r=i):(Pr=r,r=o)):(Pr=r,r=o)):(Pr=r,r=o),r===null&&(r=Pr,i=Ci(),i!==null?(e.charCodeAt(Pr)===61?(s=l,Pr++):(s=null,qr===0&&$r(c)),s!==null?(u=Di(),u!==null?(i=[i,s,u],r=i):(Pr=r,r=o)):(Pr=r,r=o)):(Pr=r,r=o),r===null&&(r=Pr,i=Ci(),i!==null?(e.charCodeAt(Pr)===61?(s=l,Pr++):(s=null,qr===0&&$r(c)),s!==null?(u=Mi(),u!==null?(i=[i,s,u],r=i):(Pr=r,r=o)):(Pr=r,r=o)):(Pr=r,r=o),r===null&&(r=Pr,i=Ci(),i!==null?(e.charCodeAt(Pr)===61?(s=l,Pr++):(s=null,qr===0&&$r(c)),s!==null?(u=_i(),u!==null?(i=[i,s,u],r=i):(Pr=r,r=o)):(Pr=r,r=o)):(Pr=r,r=o)))),r!==null?(Hr=t,n=at(r),n===null?(Pr=t,t=n):t=n):(Pr=t,t=o)):(Pr=t,t=o),t}function Li(){var e;return e=Pi(),e===null&&(e=Di(),e===null&&(e=Mi(),e===null&&(e=_i()))),e}function Ai(){var e,t,n,r,i,s;e=Pr,t=Ni();if(t!==null){n=[],r=Pr,i=Oi(),i!==null?(s=Ni(),s!==null?(Hr=r,i=ft(i,s),i===null?(Pr=r,r=i):r=i):(Pr=r,r=o)):(Pr=r,r=o);while(r!==null)n.push(r),r=Pr,i=Oi(),i!==null?(s=Ni(),s!==null?(Hr=r,i=ft(i,s),i===null?(Pr=r,r=i):r=i):(Pr=r,r=o)):(Pr=r,r=o);n!==null?(Hr=e,t=lt(t,n),t===null?(Pr=e,e=t):e=t):(Pr=e,e=o)}else Pr=e,e=o;return e}function Oi(){var t,n;return qr++,ht.test(e.charAt(Pr))?(t=e.charAt(Pr),Pr++):(t=null,qr===0&&$r(pt)),qr--,t===null&&(n=null,qr===0&&$r(ct)),t}function Mi(){var e,t;return e=Pr,t=Ai(),t!==null&&(Hr=e,t=dt(t)),t===null?(Pr=e,e=t):e=t,e}function _i(){var e,t;return e=Pr,t=ji(),t!==null&&(Hr=e,t=vt(t)),t===null?(Pr=e,e=t):e=t,e}function Di(){var e,t;return e=Pr,t=Bi(),t!==null&&(Hr=e,t=mt(t)),t===null?(Pr=e,e=t):e=t,e}function Pi(){var e,t;return e=Pr,t=Hi(),t!==null&&(Hr=e,t=gt(t)),t===null?(Pr=e,e=t):e=t,e}function Hi(){var t,n;return qr++,e.substr(Pr,4)===bt?(t=bt,Pr+=4):(t=null,qr===0&&$r(wt)),t===null&&(e.substr(Pr,5)===Et?(t=Et,Pr+=5):(t=null,qr===0&&$r(St))),qr--,t===null&&(n=null,qr===0&&$r(yt)),t}function Bi(){var t,n,r,i;qr++,t=Pr,n=Pr,r=[],Tt.test(e.charAt(Pr))?(i=e.charAt(Pr),Pr++):(i=null,qr===0&&$r(Nt));if(i!==null)while(i!==null)r.push(i),Tt.test(e.charAt(Pr))?(i=e.charAt(Pr),Pr++):(i=null,qr===0&&$r(Nt));else r=o;return r!==null&&(r=e.substring(n,Pr)),n=r,n!==null&&(Hr=t,n=Ct(n)),n===null?(Pr=t,t=n):t=n,qr--,t===null&&(n=null,qr===0&&$r(xt)),t}function ji(){var t,n,r,i,s;return t=Pr,n=Pr,e.charCodeAt(Pr)===34?(r=kt,Pr++):(r=null,qr===0&&$r(Lt)),r!==null?(i=Fi(),i!==null?(e.charCodeAt(Pr)===34?(s=kt,Pr++):(s=null,qr===0&&$r(Lt)),s!==null?(r=[r,i,s],n=r):(Pr=n,n=o)):(Pr=n,n=o)):(Pr=n,n=o),n===null&&(n=Pr,e.charCodeAt(Pr)===39?(r=At,Pr++):(r=null,qr===0&&$r(Ot)),r!==null?(i=Ii(),i!==null?(e.charCodeAt(Pr)===39?(s=At,Pr++):(s=null,qr===0&&$r(Ot)),s!==null?(r=[r,i,s],n=r):(Pr=n,n=o)):(Pr=n,n=o)):(Pr=n,n=o)),n!==null&&(Hr=t,n=Mt(n)),n===null?(Pr=t,t=n):t=n,t}function Fi(){var t,n,r,i,s;t=Pr,n=[],r=Pr,i=Pr,qr++,s=Js(),qr--,s===null?i=u:(Pr=i,i=o),i!==null?(_t.test(e.charAt(Pr))?(s=e.charAt(Pr),Pr++):(s=null,qr===0&&$r(Dt)),s!==null?(i=[i,s],r=i):(Pr=r,r=o)):(Pr=r,r=o);while(r!==null)n.push(r),r=Pr,i=Pr,qr++,s=Js(),qr--,s===null?i=u:(Pr=i,i=o),i!==null?(_t.test(e.charAt(Pr))?(s=e.charAt(Pr),Pr++):(s=null,qr===0&&$r(Dt)),s!==null?(i=[i,s],r=i):(Pr=r,r=o)):(Pr=r,r=o);return n!==null&&(n=e.substring(t,Pr)),t=n,t}function Ii(){var t,n,r,i,s;t=Pr,n=[],r=Pr,i=Pr,qr++,s=Js(),qr--,s===null?i=u:(Pr=i,i=o),i!==null?(Pt.test(e.charAt(Pr))?(s=e.charAt(Pr),Pr++):(s=null,qr===0&&$r(Ht)),s!==null?(i=[i,s],r=i):(Pr=r,r=o)):(Pr=r,r=o);while(r!==null)n.push(r),r=Pr,i=Pr,qr++,s=Js(),qr--,s===null?i=u:(Pr=i,i=o),i!==null?(Pt.test(e.charAt(Pr))?(s=e.charAt(Pr),Pr++):(s=null,qr===0&&$r(Ht)),s!==null?(i=[i,s],r=i):(Pr=r,r=o)):(Pr=r,r=o);return n!==null&&(n=e.substring(t,Pr)),t=n,t}function qi(){var t;return Bt.test(e.charAt(Pr))?(t=e.charAt(Pr),Pr++):(t=null,qr===0&&$r(jt)),t}function Ri(){var e,t,n,r,i;e=Pr,t=Ws();if(t!==null){n=Wi();if(n!==null){r=[],i=Ri();while(i!==null)r.push(i),i=Ri();r!==null?(i=Ks(),i!==null?(Hr=e,t=Ft(t,n,r),t===null?(Pr=e,e=t):e=t):(Pr=e,e=o)):(Pr=e,e=o)}else Pr=e,e=o}else Pr=e,e=o;return e===null&&(e=Wi()),e}function Ui(){var t,n,r;return t=Pr,It.test(e.charAt(Pr))?(n=e.charAt(Pr),Pr++):(n=null,qr===0&&$r(qt)),n!==null?(e.charCodeAt(Pr)===32?(r=M,Pr++):(r=null,qr===0&&$r(_)),r===null&&(r=u),r!==null?(Hr=t,n=it(n),n===null?(Pr=t,t=n):t=n):(Pr=t,t=o)):(Pr=t,t=o),t===null&&(t=Pr,n=Pr,qr++,e.charCodeAt(Pr)===60?(r=Rt,Pr++):(r=null,qr===0&&$r(Ut)),qr--,r!==null?(Pr=n,n=u):n=o,n!==null&&(Hr=t,n=zt()),n===null?(Pr=t,t=n):t=n),t}function zi(){var e,t,n,r,i,s,a;e=Pr,t=Ui();if(t!==null){n=Wi();if(n!==null){r=Pr,i=Ws();if(i!==null){s=[],a=Ri();while(a!==null)s.push(a),a=Ri();s!==null?(a=Vs(),a!==null?(i=[i,s,a],r=i):(Pr=r,r=o)):(Pr=r,r=o)}else Pr=r,r=o;r===null&&(r=u),r!==null?(Hr=e,t=Wt(t,n,r),t===null?(Pr=e,e=t):e=t):(Pr=e,e=o)}else Pr=e,e=o}else Pr=e,e=o;return e}function Wi(){var e,t,n,r,i,s;e=Pr,t=ns(),t===null&&(t=u);if(t!==null){n=[],r=Pr,i=Ji(),i!==null?(s=ns(),s===null&&(s=u),s!==null?(i=[i,s],r=i):(Pr=r,r=o)):(Pr=r,r=o);while(r!==null)n.push(r),r=Pr,i=Ji(),i!==null?(s=ns(),s===null&&(s=u),s!==null?(i=[i,s],r=i):(Pr=r,r=o)):(Pr=r,r=o);n!==null?(r=Js(),r!==null?(Hr=e,t=Xt(t,n),t===null?(Pr=e,e=t):e=t):(Pr=e,e=o)):(Pr=e,e=o)}else Pr=e,e=o;return e}function Xi(){var t,n,r,i;return t=Pr,e.charCodeAt(Pr)===34?(n=kt,Pr++):(n=null,qr===0&&$r(Lt)),n!==null?(r=Vi(),r!==null?(e.charCodeAt(Pr)===34?(i=kt,Pr++):(i=null,qr===0&&$r(Lt)),i!==null?(Hr=t,n=K(r),n===null?(Pr=t,t=n):t=n):(Pr=t,t=o)):(Pr=t,t=o)):(Pr=t,t=o),t===null&&(t=Pr,e.charCodeAt(Pr)===39?(n=At,Pr++):(n=null,qr===0&&$r(Ot)),n!==null?(r=$i(),r!==null?(e.charCodeAt(Pr)===39?(i=At,Pr++):(i=null,qr===0&&$r(Ot)),i!==null?(Hr=t,n=K(r),n===null?(Pr=t,t=n):t=n):(Pr=t,t=o)):(Pr=t,t=o)):(Pr=t,t=o)),t}function Vi(){var e,t,n,r,i,s;e=Pr,t=Yi(),t===null&&(t=u);if(t!==null){n=[],r=Pr,i=Ji(),i!==null?(s=Yi(),s===null&&(s=u),s!==null?(i=[i,s],r=i):(Pr=r,r=o)):(Pr=r,r=o);while(r!==null)n.push(r),r=Pr,i=Ji(),i!==null?(s=Yi(),s===null&&(s=u),s!==null?(i=[i,s],r=i):(Pr=r,r=o)):(Pr=r,r=o);n!==null?(Hr=e,t=Vt(t,n),t===null?(Pr=e,e=t):e=t):(Pr=e,e=o)}else Pr=e,e=o;return e}function $i(){var e,t,n,r,i,s;e=Pr,t=Zi(),t===null&&(t=u);if(t!==null){n=[],r=Pr,i=Ji(),i!==null?(s=Zi(),s===null&&(s=u),s!==null?(i=[i,s],r=i):(Pr=r,r=o)):(Pr=r,r=o);while(r!==null)n.push(r),r=Pr,i=Ji(),i!==null?(s=Zi(),s===null&&(s=u),s!==null?(i=[i,s],r=i):(Pr=r,r=o)):(Pr=r,r=o);n!==null?(Hr=e,t=Vt(t,n),t===null?(Pr=e,e=t):e=t):(Pr=e,e=o)}else Pr=e,e=o;return e}function Ji(){var e;return e=Gi(),e===null&&(e=Qi()),e}function Ki(){var t,n,r,i,s;t=Pr,n=Pr,qr++,e.charCodeAt(Pr)===123?(r=$t,Pr++):(r=null,qr===0&&$r(Jt)),qr--,r===null?n=u:(Pr=n,n=o);if(n!==null){r=Pr,i=[],Kt.test(e.charAt(Pr))?(s=e.charAt(Pr),Pr++):(s=null,qr===0&&$r(Qt));while(s!==null)i.push(s),Kt.test(e.charAt(Pr))?(s=e.charAt(Pr),Pr++):(s=null,qr===0&&$r(Qt));i!==null&&(i=e.substring(r,Pr)),r=i,r!==null?(Hr=t,n=Gt(r),n===null?(Pr=t,t=n):t=n):(Pr=t,t=o)}else Pr=t,t=o;return t}function Qi(){var e,t,n,r,i,s;return e=Pr,t=as(),t!==null?(n=Gs(),n!==null?(r=Ki(),r!==null?(i=Gs(),i!==null?(s=cs(),s!==null?(Hr=e,t=Yt(r),t===null?(Pr=e,e=t):e=t):(Pr=e,e=o)):(Pr=e,e=o)):(Pr=e,e=o)):(Pr=e,e=o)):(Pr=e,e=o),e===null&&(e=Pr,t=ps(),t!==null?(n=Gs(),n!==null?(r=Ki(),r!==null?(i=Gs(),i!==null?(s=ds(),s!==null?(Hr=e,t=Yt(r),t===null?(Pr=e,e=t):e=t):(Pr=e,e=o)):(Pr=e,e=o)):(Pr=e,e=o)):(Pr=e,e=o)):(Pr=e,e=o)),e}function Gi(){var e,t,n,r,i,s;return e=Pr,t=fs(),t!==null?(n=Gs(),n!==null?(r=Ki(),r!==null?(i=Gs(),i!==null?(s=hs(),s!==null?(Hr=e,t=Zt(r),t===null?(Pr=e,e=t):e=t):(Pr=e,e=o)):(Pr=e,e=o)):(Pr=e,e=o)):(Pr=e,e=o)):(Pr=e,e=o),e}function Yi(){var t,n,r,i;t=Pr,n=Pr,r=[],i=es();if(i!==null)while(i!==null)r.push(i),i=es();else r=o;return r!==null&&(r=e.substring(n,Pr)),n=r,n!==null&&(Hr=t,n=en(n)),n===null?(Pr=t,t=n):t=n,t}function Zi(){var t,n,r,i;t=Pr,n=Pr,r=[],i=ts();if(i!==null)while(i!==null)r.push(i),i=ts();else r=o;return r!==null&&(r=e.substring(n,Pr)),n=r,n!==null&&(Hr=t,n=en(n)),n===null?(Pr=t,t=n):t=n,t}function es(){var t,n,r;return t=Pr,n=Pr,qr++,r=is(),r===null&&(e.charCodeAt(Pr)===34?(r=kt,Pr++):(r=null,qr===0&&$r(Lt))),qr--,r===null?n=u:(Pr=n,n=o),n!==null?(e.length>Pr?(r=e.charAt(Pr),Pr++):(r=null,qr===0&&$r(tn)),r!==null?(Hr=t,n=P(r),n===null?(Pr=t,t=n):t=n):(Pr=t,t=o)):(Pr=t,t=o),t}function ts(){var t,n,r;return t=Pr,n=Pr,qr++,r=is(),r===null&&(e.charCodeAt(Pr)===39?(r=At,Pr++):(r=null,qr===0&&$r(Ot))),qr--,r===null?n=u:(Pr=n,n=o),n!==null?(e.length>Pr?(r=e.charAt(Pr),Pr++):(r=null,qr===0&&$r(tn)),r!==null?(Hr=t,n=P(r),n===null?(Pr=t,t=n):t=n):(Pr=t,t=o)):(Pr=t,t=o),t}function ns(){var t,n,r,i;t=Pr,n=Pr,r=[],i=rs();if(i!==null)while(i!==null)r.push(i),i=rs();else r=o;return r!==null&&(r=e.substring(n,Pr)),n=r,n!==null&&(Hr=t,n=en(n)),n===null?(Pr=t,t=n):t=n,t}function rs(){var t,n,r;return t=Pr,n=Pr,qr++,r=is(),qr--,r===null?n=u:(Pr=n,n=o),n!==null?(e.length>Pr?(r=e.charAt(Pr),Pr++):(r=null,qr===0&&$r(tn)),r!==null?(Hr=t,n=P(r),n===null?(Pr=t,t=n):t=n):(Pr=t,t=o)):(Pr=t,t=o),t}function is(){var e;return e=fs(),e===null&&(e=as(),e===null&&(e=ps(),e===null&&(e=Ks(),e===null&&(e=Js())))),e}function ss(){var e,t,n,r,i,s;return e=Pr,t=us(),t!==null?(n=Gs(),n!==null?(r=Ki(),r!==null?(i=Gs(),i!==null?(s=ls(),s!==null?(Hr=e,t=Yt(r),t===null?(Pr=e,e=t):e=t):(Pr=e,e=o)):(Pr=e,e=o)):(Pr=e,e=o)):(Pr=e,e=o)):(Pr=e,e=o),e}function os(){var e;return e=ss(),e===null&&(e=Gi(),e===null&&(e=Qi())),e}function us(){var t,n;return qr++,e.charCodeAt(Pr)===123?(t=$t,Pr++):(t=null,qr===0&&$r(Jt)),qr--,t===null&&(n=null,qr===0&&$r(nn)),t}function as(){var t,n;return qr++,e.substr(Pr,2)===sn?(t=sn,Pr+=2):(t=null,qr===0&&$r(on)),qr--,t===null&&(n=null,qr===0&&$r(rn)),t}function fs(){var t,n;return qr++,e.substr(Pr,3)===an?(t=an,Pr+=3):(t=null,qr===0&&$r(fn)),qr--,t===null&&(n=null,qr===0&&$r(un)),t}function ls(){var t,n;return qr++,e.charCodeAt(Pr)===125?(t=cn,Pr++):(t=null,qr===0&&$r(hn)),qr--,t===null&&(n=null,qr===0&&$r(ln)),t}function cs(){var t,n;return qr++,e.substr(Pr,2)===dn?(t=dn,Pr+=2):(t=null,qr===0&&$r(vn)),qr--,t===null&&(n=null,qr===0&&$r(pn)),t}function hs(){var t,n;return qr++,e.substr(Pr,3)===gn?(t=gn,Pr+=3):(t=null,qr===0&&$r(yn)),qr--,t===null&&(n=null,qr===0&&$r(mn)),t}function ps(){var t,n;return qr++,e.substr(Pr,2)===wn?(t=wn,Pr+=2):(t=null,qr===0&&$r(En)),qr--,t===null&&(n=null,qr===0&&$r(bn)),t}function ds(){var t,n;return qr++,e.charCodeAt(Pr)===125?(t=cn,Pr++):(t=null,qr===0&&$r(hn)),qr--,t===null&&(n=null,qr===0&&$r(Sn)),t}function vs(){var t,n,r;return t=Pr,e.substr(Pr,2)===xn?(n=xn,Pr+=2):(n=null,qr===0&&$r(Tn)),n!==null?(e.charCodeAt(Pr)===32?(r=M,Pr++):(r=null,qr===0&&$r(_)),r===null&&(r=u),r!==null?(Hr=t,n=Nn(),n===null?(Pr=t,t=n):t=n):(Pr=t,t=o)):(Pr=t,t=o),t===null&&(t=Pr,e.charCodeAt(Pr)===61?(n=l,Pr++):(n=null,qr===0&&$r(c)),n!==null?(e.charCodeAt(Pr)===32?(r=M,Pr++):(r=null,qr===0&&$r(_)),r===null&&(r=u),r!==null?(Hr=t,n=Cn(),n===null?(Pr=t,t=n):t=n):(Pr=t,t=o)):(Pr=t,t=o)),t}function ms(){var t,n,r,i,s;return t=Pr,n=Is(),n===null&&(n=u),n!==null?(r=wi(),r===null&&(r=u),r!==null?(e.charCodeAt(Pr)===47?(i=C,Pr++):(i=null,qr===0&&$r(k)),i===null&&(i=u),i!==null?(Hr=Pr,s=kn(n,r),s?s=u:s=o,s!==null?(n=[n,r,i,s],t=n):(Pr=t,t=o)):(Pr=t,t=o)):(Pr=t,t=o)):(Pr=t,t=o),t}function gs(){var e,t,n,r,i;e=Pr,t=ms();if(t!==null){n=[],r=os();while(r!==null)n.push(r),r=os();if(n!==null){r=[],i=ys();while(i!==null)r.push(i),i=ys();r!==null?(Hr=e,t=Ln(t,n,r),t===null?(Pr=e,e=t):e=t):(Pr=e,e=o)}else Pr=e,e=o}else Pr=e,e=o;return e}function wi(){var e,t,n,r;e=Pr,t=[],n=Pr,r=Ms(),r!==null&&(Hr=n,r=An(r)),r===null?(Pr=n,n=r):n=r,n===null&&(n=Pr,r=_s(),r!==null&&(Hr=n,r=On(r)),r===null?(Pr=n,n=r):n=r);if(n!==null)while(n!==null)t.push(n),n=Pr,r=Ms(),r!==null&&(Hr=n,r=An(r)),r===null?(Pr=n,n=r):n=r,n===null&&(n=Pr,r=_s(),r!==null&&(Hr=n,r=On(r)),r===null?(Pr=n,n=r):n=r);else t=o;return t!==null&&(Hr=e,t=Mn(t)),t===null?(Pr=e,e=t):e=t,e}function ys(){var t,n,r;t=Pr,n=[],e.charCodeAt(Pr)===32?(r=M,Pr++):(r=null,qr===0&&$r(_));if(r!==null)while(r!==null)n.push(r),e.charCodeAt(Pr)===32?(r=M,Pr++):(r=null,qr===0&&$r(_));else n=o;return n!==null?(r=Ss(),r===null&&(r=Ts(),r===null&&(r=Ns(),r===null&&(r=Cs()))),r!==null?(Hr=t,n=_n(r),n===null?(Pr=t,t=n):t=n):(Pr=t,t=o)):(Pr=t,t=o),t}function bs(){var t;return Dn.test(e.charAt(Pr))?(t=e.charAt(Pr),Pr++):(t=null,qr===0&&$r(Pn)),t===null&&(t=Us()),t}function ws(){var e,t;return e=Es(),e===null&&(e=Pr,t=Mi(),t!==null&&(Hr=e,t=Hn(t)),t===null?(Pr=e,e=t):e=t),e}function Es(){var t,n,r,i,s;return t=Pr,n=Pr,e.charCodeAt(Pr)===34?(r=kt,Pr++):(r=null,qr===0&&$r(Lt)),r!==null?(i=yi(),i!==null?(e.charCodeAt(Pr)===34?(s=kt,Pr++):(s=null,qr===0&&$r(Lt)),s!==null?(r=[r,i,s],n=r):(Pr=n,n=o)):(Pr=n,n=o)):(Pr=n,n=o),n===null&&(n=Pr,e.charCodeAt(Pr)===39?(r=At,Pr++):(r=null,qr===0&&$r(Ot)),r!==null?(i=yi(),i!==null?(e.charCodeAt(Pr)===39?(s=At,Pr++):(s=null,qr===0&&$r(Ot)),s!==null?(r=[r,i,s],n=r):(Pr=n,n=o)):(Pr=n,n=o)):(Pr=n,n=o)),n!==null&&(Hr=t,n=Mt(n)),n===null?(Pr=t,t=n):t=n,t}function Ss(){var t,n,r,i;return t=Pr,n=zs(),n!==null?(e.charCodeAt(Pr)===61?(r=l,Pr++):(r=null,qr===0&&$r(c)),r!==null?(i=ws(),i!==null?(Hr=t,n=Bn(n,i),n===null?(Pr=t,t=n):t=n):(Pr=t,t=o)):(Pr=t,t=o)):(Pr=t,t=o),t}function xs(){var t,n,r,i,s,u;t=Pr,e.charCodeAt(Pr)===123?(n=$t,Pr++):(n=null,qr===0&&$r(Jt));if(n!==null){r=Gs();if(r!==null){i=Pr,s=[],u=bs(),u===null&&(e.charCodeAt(Pr)===32?(u=M,Pr++):(u=null,qr===0&&$r(_)));if(u!==null)while(u!==null)s.push(u),u=bs(),u===null&&(e.charCodeAt(Pr)===32?(u=M,Pr++):(u=null,qr===0&&$r(_)));else s=o;s!==null&&(s=e.substring(i,Pr)),i=s,i!==null?(s=Gs(),s!==null?(e.charCodeAt(Pr)===125?(u=cn,Pr++):(u=null,qr===0&&$r(hn)),u!==null?(Hr=t,n=jn(i),n===null?(Pr=t,t=n):t=n):(Pr=t,t=o)):(Pr=t,t=o)):(Pr=t,t=o)}else Pr=t,t=o}else Pr=t,t=o;if(t===null){t=Pr,n=[],r=bs();if(r!==null)while(r!==null)n.push(r),r=bs();else n=o;n!==null&&(n=e.substring(t,Pr)),t=n}return t}function Ts(){var t,n,r,i,s,a;return t=Pr,n=Ci(),n!==null?(e.charCodeAt(Pr)===61?(r=l,Pr++):(r=null,qr===0&&$r(c)),r!==null?(i=xs(),i!==null?(s=Pr,qr++,e.charCodeAt(Pr)===33?(a=Fn,Pr++):(a=null,qr===0&&$r(In)),qr--,a===null?s=u:(Pr=s,s=o),s!==null?(Hr=Pr,a=qn(n,i),a?a=u:a=o,a!==null?(Hr=t,n=Rn(n,i),n===null?(Pr=t,t=n):t=n):(Pr=t,t=o)):(Pr=t,t=o)):(Pr=t,t=o)):(Pr=t,t=o)):(Pr=t,t=o),t}function Ns(){var t,n,r,i;return t=Pr,n=Ci(),n!==null?(e.charCodeAt(Pr)===61?(r=l,Pr++):(r=null,qr===0&&$r(c)),r!==null?(i=Mi(),i!==null?(Hr=t,n=Un(n,i),n===null?(Pr=t,t=n):t=n):(Pr=t,t=o)):(Pr=t,t=o)):(Pr=t,t=o),t}function Cs(){var t,n,r,i;return t=Pr,n=Ci(),n!==null?(e.charCodeAt(Pr)===61?(r=l,Pr++):(r=null,qr===0&&$r(c)),r!==null?(i=Xi(),i!==null?(Hr=t,n=zn(n,i),n===null?(Pr=t,t=n):t=n):(Pr=t,t=o)):(Pr=t,t=o)):(Pr=t,t=o),t}function ks(){var t,n,r;t=Pr,n=[],r=As();while(r!==null)n.push(r),r=As();return n!==null&&(n=e.substring(t,Pr)),t=n,t}function Ls(){var e;return e=ji(),e===null&&(e=Li()),e}function As(){var t;return t=qi(),t===null&&(Tt.test(e.charAt(Pr))?(t=e.charAt(Pr),Pr++):(t=null,qr===0&&$r(Nt)),t===null&&(e.charCodeAt(Pr)===95?(t=Wn,Pr++):(t=null,qr===0&&$r(Xn)),t===null&&(e.charCodeAt(Pr)===45?(t=Vn,Pr++):(t=null,qr===0&&$r($n))))),t}function Os(){var t,n,r;return t=Pr,e.charCodeAt(Pr)===37?(n=Jn,Pr++):(n=null,qr===0&&$r(Kn)),n!==null?(r=Ds(),r!==null?(Hr=t,n=P(r),n===null?(Pr=t,t=n):t=n):(Pr=t,t=o)):(Pr=t,t=o),t}function Ms(){var t,n,r;return t=Pr,e.charCodeAt(Pr)===35?(n=Qn,Pr++):(n=null,qr===0&&$r(Gn)),n!==null?(r=Ds(),r!==null?(Hr=t,n=Yn(r),n===null?(Pr=t,t=n):t=n):(Pr=t,t=o)):(Pr=t,t=o),t}function _s(){var t,n,r;return t=Pr,e.charCodeAt(Pr)===46?(n=et,Pr++):(n=null,qr===0&&$r(tt)),n!==null?(r=Ds(),r!==null?(Hr=t,n=P(r),n===null?(Pr=t,t=n):t=n):(Pr=t,t=o)):(Pr=t,t=o),t}function Ds(){var e,t;return qr++,e=Ps(),qr--,e===null&&(t=null,qr===0&&$r(Zn)),e}function Ps(){var t,n,r;t=Pr,n=[],r=Hs();while(r!==null)n.push(r),r=Hs();return n!==null&&(n=e.substring(t,Pr)),t=n,t}function Hs(){var t;return er.test(e.charAt(Pr))?(t=e.charAt(Pr),Pr++):(t=null,qr===0&&$r(tr)),t===null&&(t=js()),t}function Bs(){var t;return nr.test(e.charAt(Pr))?(t=e.charAt(Pr),Pr++):(t=null,qr===0&&$r(rr)),t===null&&(t=js()),t}function js(){var t;return ir.test(e.charAt(Pr))?(t=e.charAt(Pr),Pr++):(t=null,qr===0&&$r(sr)),t}function Fs(){var t,n,r;t=Pr,n=[],r=Rs();if(r!==null)while(r!==null)n.push(r),r=Rs();else n=o;return n!==null&&(n=e.substring(t,Pr)),t=n,t}function Is(){var t,n,r,i;return qr++,t=Pr,e.charCodeAt(Pr)===37?(n=Jn,Pr++):(n=null,qr===0&&$r(Kn)),n!==null?(r=Gs(),r!==null?(i=Fs(),i!==null?(Hr=t,n=it(i),n===null?(Pr=t,t=n):t=n):(Pr=t,t=o)):(Pr=t,t=o)):(Pr=t,t=o),t===null&&(t=qs()),qr--,t===null&&(n=null,qr===0&&$r(or)),t}function qs(){var e,t,n;return e=Pr,t=Fs(),t!==null?(Hr=Pr,n=ur(t),n?n=u:n=o,n!==null?(Hr=e,t=ar(t),t===null?(Pr=e,e=t):e=t):(Pr=e,e=o)):(Pr=e,e=o),e}function Rs(){var t;return er.test(e.charAt(Pr))?(t=e.charAt(Pr),Pr++):(t=null,qr===0&&$r(tr)),t===null&&(t=Us()),t}function Us(){var t,n,r,i;return t=Pr,e.charCodeAt(Pr)===58?(n=ot,Pr++):(n=null,qr===0&&$r(ut)),n!==null?(r=Pr,qr++,e.charCodeAt(Pr)===32?(i=M,Pr++):(i=null,qr===0&&$r(_)),qr--,i===null?r=u:(Pr=r,r=o),r!==null?(Hr=t,n=P(n),n===null?(Pr=t,t=n):t=n):(Pr=t,t=o)):(Pr=t,t=o),t}function zs(){var e,t,n;return qr++,e=Pr,t=Fs(),t!==null?(Hr=Pr,n=lr(t),n?n=u:n=o,n!==null?(Hr=e,t=ar(t),t===null?(Pr=e,e=t):e=t):(Pr=e,e=o)):(Pr=e,e=o),qr--,e===null&&(t=null,qr===0&&$r(fr)),e}function Ws(){var e,t,n;return e=Pr,t=Xs(),t!==null?(n=Qs(),n!==null?(Hr=e,t=it(n),t===null?(Pr=e,e=t):e=t):(Pr=e,e=o)):(Pr=e,e=o),e}function Xs(){var t,n;return qr++,t=Pr,e.charCodeAt(Pr)===61423?(n=hr,Pr++):(n=null,qr===0&&$r(pr)),n!==null&&(Hr=t,n=dr()),n===null?(Pr=t,t=n):t=n,qr--,t===null&&(n=null,qr===0&&$r(cr)),t}function Vs(){var t,n;return qr++,t=Pr,e.charCodeAt(Pr)===61438?(n=mr,Pr++):(n=null,qr===0&&$r(gr)),n!==null&&(Hr=t,n=dr()),n===null?(Pr=t,t=n):t=n,qr--,t===null&&(n=null,qr===0&&$r(vr)),t}function $s(){var t,n;return qr++,t=Pr,e.charCodeAt(Pr)===61422?(n=br,Pr++):(n=null,qr===0&&$r(wr)),n!==null&&(Hr=t,n=dr()),n===null?(Pr=t,t=n):t=n,qr--,t===null&&(n=null,qr===0&&$r(yr)),t}function Js(){var t,n,r,i;return qr++,t=Pr,e.charCodeAt(Pr)===13?(n=Sr,Pr++):(n=null,qr===0&&$r(xr)),n===null&&(n=u),n!==null?(e.charCodeAt(Pr)===61439?(r=Tr,Pr++):(r=null,qr===0&&$r(Nr)),r!==null?(e.charCodeAt(Pr)===10?(i=Cr,Pr++):(i=null,qr===0&&$r(kr)),i!==null?(Hr=t,n=Nn(),n===null?(Pr=t,t=n):t=n):(Pr=t,t=o)):(Pr=t,t=o)):(Pr=t,t=o),qr--,t===null&&(n=null,qr===0&&$r(Er)),t}function Ks(){var e,t;return qr++,e=Vs(),e===null&&(e=$s()),qr--,e===null&&(t=null,qr===0&&$r(Lr)),e}function Qs(){var t,n,r;qr++,t=Pr,n=[],r=Ys();if(r!==null)while(r!==null)n.push(r),r=Ys();else n=o;return n!==null&&(n=e.substring(t,Pr)),t=n,qr--,t===null&&(n=null,qr===0&&$r(Ar)),t}function Gs(){var e,t;qr++,e=[],t=Ys();while(t!==null)e.push(t),t=Ys();return qr--,e===null&&(t=null,qr===0&&$r(Or)),e}function Ys(){var t,n;return qr++,_r.test(e.charAt(Pr))?(t=e.charAt(Pr),Pr++):(t=null,qr===0&&$r(Dr)),qr--,t===null&&(n=null,qr===0&&$r(Mr)),t}function Zs(){var t,n,r;return t=Pr,n=Pr,qr++,r=Xs(),r===null&&(r=Vs(),r===null&&(r=Js())),qr--,r===null?n=u:(Pr=n,n=o),n!==null?(e.length>Pr?(r=e.charAt(Pr),Pr++):(r=null,qr===0&&$r(tn)),r!==null?(Hr=t,n=P(r),n===null?(Pr=t,t=n):t=n):(Pr=t,t=o)):(Pr=t,t=o),t}function eo(){var t,n,r;t=Pr,n=[],r=Zs();while(r!==null)n.push(r),r=Zs();return n!==null&&(n=e.substring(t,Pr)),t=n,t}function uo(e,t,n){var r=e.hash;if(n){r=r||new ro.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 ro.IdNode([{part:t}])),new ro.MustacheNode(s,r,!e.escaped)}function ao(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 fo(e){to.log(9,e)}var r=arguments.length>1?arguments[1]:{},i={start:Kr},s=Kr,o=null,u="",a=function(e){return e},f=function(e,t){return new ro.ProgramNode(e,t||[])},l="=",c='"="',h="else",p='"else"',d=[],v=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
2
+ ro.ContentNode(n.join(""))),n=[]),t.push(o)}}return n.length&&t.push(new ro.ContentNode(n.join(""))),t},m="BeginStatement",g="ContentStatement",y=function(){return[]},b=">",w='">"',E=function(e,t){return[new ro.PartialNode(e,t[0])]},S=/^[a-zA-Z0-9_$-\/]/,x="[a-zA-Z0-9_$-\\/]",T=function(e){return new ro.PartialNameNode(new ro.StringNode(e))},N=function(e){return[e]},C="/",k='"/"',L=/^[A-Z]/,A="[A-Z]",O=function(e){var t="view";if(e.mustache){var n=e.mustache.id.string.charAt(0);return!no||!n.match(/[A-Z]/)?e:(e.mustache=uo(e.mustache,t),e)}var n=e.id.string.charAt(0);return!no||!n.match(/[A-Z]/)?e:uo(e,t)},M=" ",_='" "',D=function(e,t){if(t){t=t[1];for(var n=0,r=t.length;n<r;++n)e.push(new ro.ContentNode(" ")),e=e.concat(t[n])}return e},P=function(e){return e},H=function(e){return[e]},B=function(e,t){var n=e[0];return t&&(n=n.concat(t)),e[1]&&n.push(e[1]),n},j=function(e,t){return t?new ro.BlockNode(e,t,t.inverse,e.id):e},F=": ",I='": "',q=function(e){return new ro.ProgramNode(e,[])},R=function(e){return e&&e[2]},U=function(e,t){var n=t.mustache||t;return n.escaped=e,t},z=function(e,t,n,r){if(e){var i=new ro.PartialNameNode(new ro.StringNode(t.string));return new ro.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 ro.HashNode([]);for(var c in o){if(!o.hasOwnProperty(c))continue;r.pairs.push([c,new ro.StringNode(o[c].join(" "))])}}s.unshift(t);var h=new ro.MustacheNode(s,r),p=t._emblemSuffixModifier;return p==="!"?uo(h,"unbound"):p==="?"?uo(h,"if"):p==="^"?uo(h,"unless"):h},W=function(e){return["tagName",e]},X=function(e){return["elementId",e]},V=function(e){return["class",e]},$=function(e,t){return[e,t]},J=function(e){return[null,e]},K=function(e){return e},Q=function(e){return new ro.HashNode(e)},G="PathIdent",Y="..",Z='".."',et=".",tt='"."',nt=/^[a-zA-Z0-9_$\-!?\^]/,rt="[a-zA-Z0-9_$\\-!?\\^]",it=function(e){return e},st="Key",ot=":",ut='":"',at=function(e){return[e[0],e[2]]},ft=function(e,t){return{part:t,separator:e}},lt=function(e,t){var n=[{part:e}];for(var r=0;r<t.length;++r)n.push(t[r]);return n},ct="PathSeparator",ht=/^[\/.]/,pt="[\\/.]",dt=function(e){var t=e[e.length-1],n,r;if(n=t.part.match(/[!\?\^]$/))r=n[0],t.part=t.part.slice(0,-1);var i=new ro.IdNode(e);return i._emblemSuffixModifier=r,i},vt=function(e){return new ro.StringNode(e)},mt=function(e){return new ro.IntegerNode(e)},gt=function(e){return new ro.BooleanNode(e)},yt="Boolean",bt="true",wt='"true"',Et="false",St='"false"',xt="Integer",Tt=/^[0-9]/,Nt="[0-9]",Ct=function(e){return parseInt(e)},kt='"',Lt='"\\""',At="'",Ot='"\'"',Mt=function(e){return e[1]},_t=/^[^"}]/,Dt='[^"}]',Pt=/^[^'}]/,Ht="[^'}]",Bt=/^[A-Za-z]/,jt="[A-Za-z]",Ft=function(e,t,n){t.unshift(new ro.ContentNode(e));for(var r=0;r<n.length;++r)t.push(new ro.ContentNode(e)),t=t.concat(n[r]),t.push("\n");return t},It=/^[|`']/,qt="[|`']",Rt="<",Ut='"<"',zt=function(){return"<"},Wt=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 ro.ContentNode("\n")):i.push(o)}return e==="'"&&i.push(new ro.ContentNode(" ")),i},Xt=function(e,t){return ao(e,t)},Vt=function(e,t){return ao(e,t)},$t="{",Jt='"{"',Kt=/^[^}]/,Qt="[^}]",Gt=function(e){return e="="+e,n.parse(e).statements[0]},Yt=function(e){return e.escaped=!0,e},Zt=function(e){return e.escaped=!1,e},en=function(e){return new ro.ContentNode(e)},tn="any character",nn="SingleMustacheOpen",rn="DoubleMustacheOpen",sn="{{",on='"{{"',un="TripleMustacheOpen",an="{{{",fn='"{{{"',ln="SingleMustacheClose",cn="}",hn='"}"',pn="DoubleMustacheClose",dn="}}",vn='"}}"',mn="TripleMustacheClose",gn="}}}",yn='"}}}"',bn="InterpolationOpen",wn="#{",En='"#{"',Sn="InterpolationClose",xn="==",Tn='"=="',Nn=function(){return!1},Cn=function(){return!0},kn=function(e,t){return e||t},Ln=function(e,t,n){var r=e[0]||"div",i=e[1]||[],s=i[0],o=i[1],u=[];u.push(new ro.ContentNode("<"+r)),s&&u.push(new ro.ContentNode(' id="'+s+'"')),o&&o.length&&u.push(new ro.ContentNode(' class="'+o.join(" ")+'"'));for(var a=0;a<t.length;++a)u.push(new ro.ContentNode(" ")),u.push(t[a]);for(var a=0;a<n.length;++a)u=u.concat(n[a]);var f=!!e[2];return io[r]||f?(u.push(new ro.ContentNode(" />")),[u]):(u.push(new ro.ContentNode(">")),[u,new ro.ContentNode("</"+r+">")])},An=function(e){return{shorthand:e,id:!0}},On=function(e){return{shorthand:e}},Mn=function(e){var t,n=[];for(var r=0,i=e.length;r<i;++r){var s=e[r];s.id?t=s.shorthand:n.push(s.shorthand)}return[t,n]},_n=function(e){return[new ro.ContentNode(" ")].concat(e)},Dn=/^[A-Za-z.0-9_\-]/,Pn="[A-Za-z.0-9_\\-]",Hn=function(e){return new ro.MustacheNode([e])},Bn=function(e,t){return[uo(t,"action",[["on",new ro.StringNode(e)]])]},jn=function(e){return e.replace(/ *$/,"")},Fn="!",In='"!"',qn=function(e,t){return no},Rn=function(e,t){var n=new ro.HashNode([[e,new ro.StringNode(t)]]),r=[new ro.IdNode([{part:"bindAttr"}])],i=new ro.MustacheNode(r,n);return[i]},Un=function(e,t){var n=new ro.MustacheNode([t]);return no&&t._emblemSuffixModifier==="!"&&(n=uo(n,"unbound")),[new ro.ContentNode(e+"="+'"'),n,new ro.ContentNode('"')]},zn=function(e,t){var n=[new ro.ContentNode(e+"="+'"')].concat(t);return n.concat([new ro.ContentNode('"')])},Wn="_",Xn='"_"',Vn="-",$n='"-"',Jn="%",Kn='"%"',Qn="#",Gn='"#"',Yn=function(e){return e},Zn="CSSIdentifier",er=/^[_a-zA-Z0-9\-]/,tr="[_a-zA-Z0-9\\-]",nr=/^[_a-zA-Z]/,rr="[_a-zA-Z]",ir=/^[\x80-\xFF]/,sr="[\\x80-\\xFF]",or="KnownHTMLTagName",ur=function(e){return!!so[e]},ar=function(e){return e},fr="a JS event",lr=function(e){return!!oo[e]},cr="INDENT",hr="",pr='"\\uEFEF"',dr=function(){return""},vr="DEDENT",mr="",gr='"\\uEFFE"',yr="Unmatched DEDENT",br="",wr='"\\uEFEE"',Er="LineEnd",Sr="\r",xr='"\\r"',Tr="",Nr='"\\uEFFF"',Cr="\n",kr='"\\n"',Lr="ANYDEDENT",Ar="RequiredWhitespace",Or="OptionalWhitespace",Mr="InlineWhitespace",_r=/^[ \t]/,Dr="[ \\t]",Pr=0,Hr=0,Br=0,jr={line:1,column:1,seenCR:!1},Fr=0,Ir=[],qr=0,Rr;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 to=n.handlebarsVariant,no=to.JavaScriptCompiler.prototype.namespace==="Ember.Handlebars",ro=to.AST,io={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},so={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},oo={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};Rr=s();if(Rr!==null&&Pr===e.length)return Rr;throw Jr(Ir),Hr=Math.max(Pr,Fr),new t(Ir,Hr<e.length?e.charAt(Hr):null,Hr,Vr(Hr).line,Vr(Hr).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"\r":n!=="/"&&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+"\\r?\\n]*$"),u=RegExp("(?:["+f+"]*\\r?\\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+"]*\\r?\\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(/[^\r\n]+/),this.discard(/\r?\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,15 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: emblem-source
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.9
5
- prerelease:
4
+ version: 0.3.0
6
5
  platform: ruby
7
6
  authors:
8
7
  - Alex Matchneer
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2013-06-15 00:00:00.000000000 Z
11
+ date: 2013-07-01 00:00:00.000000000 Z
13
12
  dependencies: []
14
13
  description: Emblem.js source code wrapper for (pre)compilation gems.
15
14
  email:
@@ -23,27 +22,26 @@ files:
23
22
  - lib/emblem/source.rb
24
23
  homepage: https://github.com/machty/emblem.js/
25
24
  licenses: []
25
+ metadata: {}
26
26
  post_install_message:
27
27
  rdoc_options: []
28
28
  require_paths:
29
29
  - lib
30
30
  required_ruby_version: !ruby/object:Gem::Requirement
31
- none: false
32
31
  requirements:
33
32
  - - ! '>='
34
33
  - !ruby/object:Gem::Version
35
34
  version: '0'
36
35
  required_rubygems_version: !ruby/object:Gem::Requirement
37
- none: false
38
36
  requirements:
39
37
  - - ! '>='
40
38
  - !ruby/object:Gem::Version
41
39
  version: '0'
42
40
  requirements: []
43
41
  rubyforge_project:
44
- rubygems_version: 1.8.24
42
+ rubygems_version: 2.0.3
45
43
  signing_key:
46
- specification_version: 3
44
+ specification_version: 4
47
45
  summary: Emblem.js source code wrapper
48
46
  test_files: []
49
47
  has_rdoc: