emblem-source 0.3.2 → 0.3.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/dist/emblem.js +592 -482
- data/dist/emblem.min.js +2 -2
- metadata +4 -3
data/dist/emblem.min.js
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
!function a(b,c,d){function e(g,h){if(!c[g]){if(!b[g]){var i="function"==typeof require&&require;if(!h&&i)return i(g,!0);if(f)return f(g,!0);throw new Error("Cannot find module '"+g+"'")}var j=c[g]={exports:{}};b[g][0].call(j.exports,function(a){var c=b[g][1][a];return e(c?c:a)},j,j.exports,a,b,c,d)}return c[g].exports}for(var f="function"==typeof require&&require,g=0;g<d.length;g++)e(d[g]);return e}({1:[function(a){var b;b=a("./emblem"),b.throwCompileError=function(a,b){throw new Error("Emblem syntax error, line "+a+": "+b)},b.registerPartial=function(a,c,d){return d||(d=c,c=a,a=Handlebars),a.registerPartial(c,b.compile(a,d))},b.parse=function(a){var c,d,e,f,g;try{return g=b.Preprocessor.processSync(a),b.Parser.parse(g)}catch(h){if(c=h,c instanceof b.Parser.SyntaxError)return e=a.split("\n"),d=e[c.line-1],f=""+c.message+"\n"+d+"\n",f+=new Array(c.column).join("-"),f+="^",b.throwCompileError(c.line,f);throw c}},b.precompile=function(a,c,d){var e;return null==d&&(d={}),b.handlebarsVariant=a,e=b.parse(c),a.precompile(e,d)},b.compile=function(a,c,d){var e;return null==d&&(d={}),b.handlebarsVariant=a,e=b.parse(c),a.compile(e,d)}},{"./emblem":3}],2:[function(a){var b,c,d,e;c=a("./emblem"),"undefined"!=typeof window&&null!==window&&(c.compileScriptTags=function(){if("undefined"==typeof Ember||null===Ember)throw new Error("Can't run Emblem.enableEmber before Ember has been defined");return"undefined"!=typeof document&&null!==document?Ember.$('script[type="text/x-emblem"], script[type="text/x-raw-emblem"]',Ember.$(document)).each(function(){var a,b,d;return b=Ember.$(this),a="text/x-raw-handlebars"===b.attr("type")?Handlebars:Ember.Handlebars,d=b.attr("data-template-name")||b.attr("id")||"application",Ember.TEMPLATES[d]=c.compile(a,b.html()),b.remove()}):void 0},window.ENV||(window.ENV={}),b=window.ENV,b.EMBER_LOAD_HOOKS||(b.EMBER_LOAD_HOOKS={}),(d=b.EMBER_LOAD_HOOKS).application||(d.application=[]),(e=b.EMBER_LOAD_HOOKS)["Ember.Application"]||(e["Ember.Application"]=[]),b.EMBER_LOAD_HOOKS.application.push(c.compileScriptTags),b.EMBER_LOAD_HOOKS["Ember.Application"].push(function(a){return a.initializer?a.initializer({name:"emblemDomTemplates",before:"registerComponents",initialize:c.compileScriptTags}):Ember.onLoad("application",c.compileScriptTags)}))},{"./emblem":3}],3:[function(a,b){var c,d=self;this.Emblem={},c=this.Emblem,c.VERSION="0.3.2",b.exports=c,"undefined"!=typeof window&&null!==window&&(window.Emblem=c),d.Emblem=c,a("./parser"),a("./compiler"),a("./preprocessor"),a("./emberties")},{"./compiler":1,"./emberties":2,"./parser":4,"./preprocessor":5}],4:[function(a,b){var c=a("./emblem");c.Parser=function(){function a(a,b){function c(){this.constructor=a}c.prototype=b.prototype,a.prototype=new c}function b(a,b,c,d,e){function f(a,b){function c(a){function b(a){return a.charCodeAt(0).toString(16).toUpperCase()}return a.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(a){return"\\x0"+b(a)}).replace(/[\x10-\x1F\x80-\xFF]/g,function(a){return"\\x"+b(a)}).replace(/[\u0180-\u0FFF]/g,function(a){return"\\u0"+b(a)}).replace(/[\u1080-\uFFFF]/g,function(a){return"\\u"+b(a)})}var d,e;switch(a.length){case 0:d="end of input";break;case 1:d=a[0];break;default:d=a.slice(0,-1).join(", ")+" or "+a[a.length-1]}return e=b?'"'+c(b)+'"':"end of input","Expected "+d+" but "+e+" found."}this.expected=a,this.found=b,this.offset=c,this.line=d,this.column=e,this.name="SyntaxError",this.message=f(a,b)}function d(a){function d(b){function c(b,c,d){var e,f;for(e=c;d>e;e++)f=a.charAt(e),"\n"===f?(b.seenCR||b.line++,b.column=1,b.seenCR=!1):"\r"===f||"\u2028"===f||"\u2029"===f?(b.line++,b.column=1,b.seenCR=!0):(b.column++,b.seenCR=!1)}return If!==b&&(If>b&&(If=0,Jf={line:1,column:1,seenCR:!1}),c(Jf,If,b),If=b),Jf}function e(a){Kf>Gf||(Gf>Kf&&(Kf=Gf,Lf=[]),Lf.push(a))}function f(a){var b=0;for(a.sort();b<a.length;)a[b-1]===a[b]?a.splice(b,1):b++}function g(){var a;return a=h()}function h(){var a,b,c,d,e,f,g,h,k;return a=Gf,b=j(),null!==b?(c=Gf,d=$b(),null!==d?(e=i(),null!==e?(f=dc(),null!==f?(g=ac(),null!==g?(h=Yb(),null!==h?(k=j(),null!==k?(Hf=c,d=pc(k),null===d?(Gf=c,c=d):c=d):(Gf=c,c=nc)):(Gf=c,c=nc)):(Gf=c,c=nc)):(Gf=c,c=nc)):(Gf=c,c=nc)):(Gf=c,c=nc),null===c&&(c=oc),null!==c?(Hf=a,b=qc(b,c),null===b?(Gf=a,a=b):a=b):(Gf=a,a=nc)):(Gf=a,a=nc),a}function i(){var b,c,d,f;return b=Gf,c=Gf,61===a.charCodeAt(Gf)?(d=rc,Gf++):(d=null,0===Mf&&e(sc)),null!==d?(f=dc(),null!==f?(d=[d,f],c=d):(Gf=c,c=nc)):(Gf=c,c=nc),null===c&&(c=oc),null!==c?(a.substr(Gf,4)===tc?(d=tc,Gf+=4):(d=null,0===Mf&&e(uc)),null!==d?(c=[c,d],b=c):(Gf=b,b=nc)):(Gf=b,b=nc),b}function j(){var a,b,c;for(a=Gf,b=[],c=k();null!==c;)b.push(c),c=k();return null!==b&&(Hf=a,b=vc(b)),null===b?(Gf=a,a=b):a=b,a}function k(){var a,b;return Mf++,a=m(),null===a&&(a=r(),null===a&&(a=l())),Mf--,null===a&&(b=null,0===Mf&&e(wc)),a}function l(){var a,b;return Mf++,a=n(),null===a&&(a=y(),null===a&&(a=_(),null===a&&(a=p()))),Mf--,null===a&&(b=null,0===Mf&&e(xc)),a}function m(){var a,b,c;return a=Gf,b=dc(),null!==b?(c=ac(),null!==c?(Hf=a,b=yc(),null===b?(Gf=a,a=b):a=b):(Gf=a,a=nc)):(Gf=a,a=nc),a}function n(){var b,c,d,f,g,h,i,j;if(b=Gf,62===a.charCodeAt(Gf)?(c=zc,Gf++):(c=null,0===Mf&&e(Ac)),null!==c)if(d=dc(),null!==d)if(f=o(),null!==f)if(g=dc(),null!==g){for(h=[],i=I();null!==i;)h.push(i),i=I();null!==h?(i=dc(),null!==i?(j=ac(),null!==j?(Hf=b,c=Bc(f,h),null===c?(Gf=b,b=c):b=c):(Gf=b,b=nc)):(Gf=b,b=nc)):(Gf=b,b=nc)}else Gf=b,b=nc;else Gf=b,b=nc;else Gf=b,b=nc;else Gf=b,b=nc;return b}function o(){var b,c,d,f;if(b=Gf,c=Gf,d=[],Cc.test(a.charAt(Gf))?(f=a.charAt(Gf),Gf++):(f=null,0===Mf&&e(Dc)),null!==f)for(;null!==f;)d.push(f),Cc.test(a.charAt(Gf))?(f=a.charAt(Gf),Gf++):(f=null,0===Mf&&e(Dc));else d=nc;return null!==d&&(d=a.substring(c,Gf)),c=d,null!==c&&(Hf=b,c=Ec(c)),null===c?(Gf=b,b=c):b=c,b}function p(){var a,b;return a=Gf,b=C(),null===b&&(b=t()),null!==b&&(Hf=a,b=Fc(b)),null===b?(Gf=a,a=b):a=b,a}function q(){var a,b,c,d,e,f,g,h;if(a=Gf,b=gc(),null!==b)if(c=ac(),null!==c){if(d=[],e=Gf,f=Yb(),null!==f){if(g=[],h=q(),null!==h)for(;null!==h;)g.push(h),h=q();else g=nc;null!==g?(h=bc(),null!==h?(f=[f,g,h],e=f):(Gf=e,e=nc)):(Gf=e,e=nc)}else Gf=e,e=nc;for(;null!==e;)if(d.push(e),e=Gf,f=Yb(),null!==f){if(g=[],h=q(),null!==h)for(;null!==h;)g.push(h),h=q();else g=nc;null!==g?(h=bc(),null!==h?(f=[f,g,h],e=f):(Gf=e,e=nc)):(Gf=e,e=nc)}else Gf=e,e=nc;null!==d?(Hf=a,b=yc(),null===b?(Gf=a,a=b):a=b):(Gf=a,a=nc)}else Gf=a,a=nc;else Gf=a,a=nc;return a}function r(){var b,c,d;return b=Gf,47===a.charCodeAt(Gf)?(c=Gc,Gf++):(c=null,0===Mf&&e(Hc)),null!==c?(d=q(),null!==d?(Hf=b,c=yc(),null===c?(Gf=b,b=c):b=c):(Gf=b,b=nc)):(Gf=b,b=nc),b}function s(){var b,c,d;return b=Gf,47===a.charCodeAt(Gf)?(c=Gc,Gf++):(c=null,0===Mf&&e(Hc)),null!==c?(d=gc(),null!==d?(c=[c,d],b=c):(Gf=b,b=nc)):(Gf=b,b=nc),b}function t(){var a;return a=u(),null===a&&(a=z()),a}function u(){var b,c,d;return b=Gf,c=Gf,Mf++,Ic.test(a.charAt(Gf))?(d=a.charAt(Gf),Gf++):(d=null,0===Mf&&e(Jc)),Mf--,null!==d?(Gf=c,c=oc):c=nc,null!==c?(d=z(),null!==d?(Hf=b,c=Kc(d),null===c?(Gf=b,b=c):b=c):(Gf=b,b=nc)):(Gf=b,b=nc),b}function v(){var b,c,d,f,g,h,i;if(b=Gf,32===a.charCodeAt(Gf)?(c=Lc,Gf++):(c=null,0===Mf&&e(Mc)),null!==c)if(d=ab(),null!==d){if(f=Gf,g=Yb(),null!==g){if(h=[],i=Z(),null!==i)for(;null!==i;)h.push(i),i=Z();else h=nc;null!==h?(i=$b(),null!==i?(g=[g,h,i],f=g):(Gf=f,f=nc)):(Gf=f,f=nc)}else Gf=f,f=nc;null===f&&(f=oc),null!==f?(Hf=b,c=Nc(d,f),null===c?(Gf=b,b=c):b=c):(Gf=b,b=nc)}else Gf=b,b=nc;else Gf=b,b=nc;return b}function w(){var a,b,c,d,e;for(a=Gf,b=[],c=m();null!==c;)b.push(c),c=m();return null!==b?(c=Yb(),null!==c?(d=j(),null!==d?(e=$b(),null!==e?(Hf=a,b=Oc(d),null===b?(Gf=a,a=b):a=b):(Gf=a,a=nc)):(Gf=a,a=nc)):(Gf=a,a=nc)):(Gf=a,a=nc),a}function x(){var a,b,c,d,e;return a=A(),null===a&&(a=Gf,b=dc(),null!==b?(c=C(),null!==c?(Hf=a,b=Pc(c),null===b?(Gf=a,a=b):a=b):(Gf=a,a=nc)):(Gf=a,a=nc),null===a&&(a=Gf,b=dc(),null!==b?(c=s(),null===c&&(c=oc),null!==c?(d=ac(),null!==d?(e=w(),null===e&&(e=oc),null!==e?(Hf=a,b=Oc(e),null===b?(Gf=a,a=b):a=b):(Gf=a,a=nc)):(Gf=a,a=nc)):(Gf=a,a=nc)):(Gf=a,a=nc),null===a&&(a=v()))),a}function y(){var a,b,c;return a=Gf,b=Bb(),null!==b?(c=x(),null!==c?(Hf=a,b=Qc(b,c),null===b?(Gf=a,a=b):a=b):(Gf=a,a=nc)):(Gf=a,a=nc),a}function z(){var a,b,c,d,e;return a=Gf,b=D(),null!==b?(c=dc(),null!==c?(d=s(),null===d&&(d=oc),null!==d?(e=B(),null!==e?(Hf=a,b=Rc(b,e),null===b?(Gf=a,a=b):a=b):(Gf=a,a=nc)):(Gf=a,a=nc)):(Gf=a,a=nc)):(Gf=a,a=nc),a}function h(){var a,b,c,d,e,f,g,h,k,l;if(a=Gf,b=j(),null!==b){if(c=Gf,d=$b(),null!==d)if(e=i(),null!==e)if(f=dc(),null!==f)if(g=ac(),null!==g){for(h=[],k=m();null!==k;)h.push(k),k=m();null!==h?(k=Yb(),null!==k?(l=j(),null!==l?(Hf=c,d=pc(l),null===d?(Gf=c,c=d):c=d):(Gf=c,c=nc)):(Gf=c,c=nc)):(Gf=c,c=nc)}else Gf=c,c=nc;else Gf=c,c=nc;else Gf=c,c=nc;else Gf=c,c=nc;null===c&&(c=oc),null!==c?(Hf=a,b=qc(b,c),null===b?(Gf=a,a=b):a=b):(Gf=a,a=nc)}else Gf=a,a=nc;return a}function A(){var b,c,d,f;return b=Gf,a.substr(Gf,2)===Sc?(c=Sc,Gf+=2):(c=null,0===Mf&&e(Tc)),null!==c?(d=dc(),null!==d?(f=l(),null!==f?(Hf=b,c=Oc(f),null===c?(Gf=b,b=c):b=c):(Gf=b,b=nc)):(Gf=b,b=nc)):(Gf=b,b=nc),b}function B(){var a,b,c,d,e,f,g;if(a=Gf,b=A(),null===b&&(b=_()),null!==b&&(Hf=a,b=Uc(b)),null===b?(Gf=a,a=b):a=b,null===a)if(a=Gf,b=ac(),null!==b){for(c=Gf,d=[],e=m();null!==e;)d.push(e),e=m();null!==d?(e=Yb(),null!==e?(f=h(),null!==f?(g=$b(),null!==g?(d=[d,e,f,g],c=d):(Gf=c,c=nc)):(Gf=c,c=nc)):(Gf=c,c=nc)):(Gf=c,c=nc),null===c&&(c=oc),null!==c?(Hf=a,b=Vc(c),null===b?(Gf=a,a=b):a=b):(Gf=a,a=nc)}else Gf=a,a=nc;return a}function C(){var a,b,c;return a=Gf,b=zb(),null!==b?(c=z(),null!==c?(Hf=a,b=Wc(b,c),null===b?(Gf=a,a=b):a=b):(Gf=a,a=nc)):(Gf=a,a=nc),a}function D(){var b,c,d,f,g,h;if(b=Gf,62===a.charCodeAt(Gf)?(c=zc,Gf++):(c=null,0===Mf&&e(Ac)),null===c&&(c=oc),null!==c)if(d=dc(),null!==d)if(f=Q(),null!==f){for(g=[],h=I();null!==h;)g.push(h),h=I();null!==g?(h=J(),null===h&&(h=oc),null!==h?(Hf=b,c=Xc(c,f,g,h),null===c?(Gf=b,b=c):b=c):(Gf=b,b=nc)):(Gf=b,b=nc)}else Gf=b,b=nc;else Gf=b,b=nc;else Gf=b,b=nc;return b}function E(){var a,b;return a=Gf,b=Lb(),null!==b&&(Hf=a,b=Yc(b)),null===b?(Gf=a,a=b):a=b,null===a&&(a=Gf,b=Mb(),null!==b&&(Hf=a,b=Zc(b)),null===b?(Gf=a,a=b):a=b,null===a&&(a=Gf,b=Nb(),null!==b&&(Hf=a,b=$c(b)),null===b?(Gf=a,a=b):a=b)),a}function F(){var a;return a=G(),null===a&&(a=H()),a}function G(){var a,b,c,d;if(a=Gf,b=Mb(),null!==b){for(c=[],d=Nb();null!==d;)c.push(d),d=Nb();null!==c?(Hf=a,b=_c(b,c),null===b?(Gf=a,a=b):a=b):(Gf=a,a=nc)}else Gf=a,a=nc;return a}function H(){var a,b,c;if(a=Gf,b=[],c=Nb(),null!==c)for(;null!==c;)b.push(c),c=Nb();else b=nc;return null!==b&&(Hf=a,b=ad(b)),null===b?(Gf=a,a=b):a=b,a}function I(){var a,b,c;return a=Gf,b=dc(),null!==b?(c=E(),null===c&&(c=N()),null!==c?(Hf=a,b=bd(c),null===b?(Gf=a,a=b):a=b):(Gf=a,a=nc)):(Gf=a,a=nc),a}function J(){var a,b,c;if(a=Gf,b=[],c=M(),null!==c)for(;null!==c;)b.push(c),c=M();else b=nc;return null!==b&&(Hf=a,b=cd(b)),null===b?(Gf=a,a=b):a=b,a}function K(){var b,c,d,f;if(Mf++,a.substr(Gf,2)===ed?(b=ed,Gf+=2):(b=null,0===Mf&&e(fd)),null===b&&(46===a.charCodeAt(Gf)?(b=gd,Gf++):(b=null,0===Mf&&e(hd)),null===b)){if(b=Gf,c=Gf,d=[],id.test(a.charAt(Gf))?(f=a.charAt(Gf),Gf++):(f=null,0===Mf&&e(jd)),null!==f)for(;null!==f;)d.push(f),id.test(a.charAt(Gf))?(f=a.charAt(Gf),Gf++):(f=null,0===Mf&&e(jd));else d=nc;null!==d&&(d=a.substring(c,Gf)),c=d,null!==c?(d=Gf,Mf++,61===a.charCodeAt(Gf)?(f=rc,Gf++):(f=null,0===Mf&&e(sc)),Mf--,null===f?d=oc:(Gf=d,d=nc),null!==d?(Hf=b,c=kd(c),null===c?(Gf=b,b=c):b=c):(Gf=b,b=nc)):(Gf=b,b=nc)}return Mf--,null===b&&(c=null,0===Mf&&e(dd)),b}function L(){var b,c,d;for(Mf++,b=Gf,c=[],d=Qb(),null===d&&(58===a.charCodeAt(Gf)?(d=md,Gf++):(d=null,0===Mf&&e(nd)));null!==d;)c.push(d),d=Qb(),null===d&&(58===a.charCodeAt(Gf)?(d=md,Gf++):(d=null,0===Mf&&e(nd)));return null!==c&&(c=a.substring(b,Gf)),b=c,Mf--,null===b&&(c=null,0===Mf&&e(ld)),b}function M(){var b,c,d,f,g,h;return b=Gf,c=dc(),null!==c?(d=Gf,f=L(),null!==f?(61===a.charCodeAt(Gf)?(g=rc,Gf++):(g=null,0===Mf&&e(sc)),null!==g?(h=T(),null!==h?(f=[f,g,h],d=f):(Gf=d,d=nc)):(Gf=d,d=nc)):(Gf=d,d=nc),null===d&&(d=Gf,f=L(),null!==f?(61===a.charCodeAt(Gf)?(g=rc,Gf++):(g=null,0===Mf&&e(sc)),null!==g?(h=S(),null!==h?(f=[f,g,h],d=f):(Gf=d,d=nc)):(Gf=d,d=nc)):(Gf=d,d=nc),null===d&&(d=Gf,f=L(),null!==f?(61===a.charCodeAt(Gf)?(g=rc,Gf++):(g=null,0===Mf&&e(sc)),null!==g?(h=Q(),null!==h?(f=[f,g,h],d=f):(Gf=d,d=nc)):(Gf=d,d=nc)):(Gf=d,d=nc),null===d&&(d=Gf,f=L(),null!==f?(61===a.charCodeAt(Gf)?(g=rc,Gf++):(g=null,0===Mf&&e(sc)),null!==g?(h=R(),null!==h?(f=[f,g,h],d=f):(Gf=d,d=nc)):(Gf=d,d=nc)):(Gf=d,d=nc)))),null!==d?(Hf=b,c=od(d),null===c?(Gf=b,b=c):b=c):(Gf=b,b=nc)):(Gf=b,b=nc),b}function N(){var a;return a=T(),null===a&&(a=S(),null===a&&(a=Q(),null===a&&(a=R()))),a}function O(){var a,b,c,d,e,f;if(a=Gf,b=K(),null!==b){for(c=[],d=Gf,e=P(),null!==e?(f=K(),null!==f?(Hf=d,e=pd(e,f),null===e?(Gf=d,d=e):d=e):(Gf=d,d=nc)):(Gf=d,d=nc);null!==d;)c.push(d),d=Gf,e=P(),null!==e?(f=K(),null!==f?(Hf=d,e=pd(e,f),null===e?(Gf=d,d=e):d=e):(Gf=d,d=nc)):(Gf=d,d=nc);null!==c?(Hf=a,b=qd(b,c),null===b?(Gf=a,a=b):a=b):(Gf=a,a=nc)}else Gf=a,a=nc;return a}function P(){var b,c;return Mf++,sd.test(a.charAt(Gf))?(b=a.charAt(Gf),Gf++):(b=null,0===Mf&&e(td)),Mf--,null===b&&(c=null,0===Mf&&e(rd)),b}function Q(){var a,b;return a=Gf,b=O(),null!==b&&(Hf=a,b=ud(b)),null===b?(Gf=a,a=b):a=b,a}function R(){var a,b;return a=Gf,b=W(),null!==b&&(Hf=a,b=vd(b)),null===b?(Gf=a,a=b):a=b,a}function S(){var a,b;return a=Gf,b=V(),null!==b&&(Hf=a,b=wd(b)),null===b?(Gf=a,a=b):a=b,a}function T(){var a,b;return a=Gf,b=U(),null!==b&&(Hf=a,b=xd(b)),null===b?(Gf=a,a=b):a=b,a}function U(){var b,c;return Mf++,a.substr(Gf,4)===zd?(b=zd,Gf+=4):(b=null,0===Mf&&e(Ad)),null===b&&(a.substr(Gf,5)===Bd?(b=Bd,Gf+=5):(b=null,0===Mf&&e(Cd))),Mf--,null===b&&(c=null,0===Mf&&e(yd)),b}function V(){var b,c,d,f;if(Mf++,b=Gf,c=Gf,d=[],Ed.test(a.charAt(Gf))?(f=a.charAt(Gf),Gf++):(f=null,0===Mf&&e(Fd)),null!==f)for(;null!==f;)d.push(f),Ed.test(a.charAt(Gf))?(f=a.charAt(Gf),Gf++):(f=null,0===Mf&&e(Fd));else d=nc;return null!==d&&(d=a.substring(c,Gf)),c=d,null!==c&&(Hf=b,c=Gd(c)),null===c?(Gf=b,b=c):b=c,Mf--,null===b&&(c=null,0===Mf&&e(Dd)),b}function W(){var b,c,d,f,g;return b=Gf,c=Gf,34===a.charCodeAt(Gf)?(d=Hd,Gf++):(d=null,0===Mf&&e(Id)),null!==d?(f=X(),null!==f?(34===a.charCodeAt(Gf)?(g=Hd,Gf++):(g=null,0===Mf&&e(Id)),null!==g?(d=[d,f,g],c=d):(Gf=c,c=nc)):(Gf=c,c=nc)):(Gf=c,c=nc),null===c&&(c=Gf,39===a.charCodeAt(Gf)?(d=Jd,Gf++):(d=null,0===Mf&&e(Kd)),null!==d?(f=Y(),null!==f?(39===a.charCodeAt(Gf)?(g=Jd,Gf++):(g=null,0===Mf&&e(Kd)),null!==g?(d=[d,f,g],c=d):(Gf=c,c=nc)):(Gf=c,c=nc)):(Gf=c,c=nc)),null!==c&&(Hf=b,c=Ld(c)),null===c?(Gf=b,b=c):b=c,b}function X(){var b,c,d,f,g;for(b=Gf,c=[],d=Gf,f=Gf,Mf++,g=ac(),Mf--,null===g?f=oc:(Gf=f,f=nc),null!==f?(Md.test(a.charAt(Gf))?(g=a.charAt(Gf),Gf++):(g=null,0===Mf&&e(Nd)),null!==g?(f=[f,g],d=f):(Gf=d,d=nc)):(Gf=d,d=nc);null!==d;)c.push(d),d=Gf,f=Gf,Mf++,g=ac(),Mf--,null===g?f=oc:(Gf=f,f=nc),null!==f?(Md.test(a.charAt(Gf))?(g=a.charAt(Gf),Gf++):(g=null,0===Mf&&e(Nd)),null!==g?(f=[f,g],d=f):(Gf=d,d=nc)):(Gf=d,d=nc);return null!==c&&(c=a.substring(b,Gf)),b=c}function Y(){var b,c,d,f,g;for(b=Gf,c=[],d=Gf,f=Gf,Mf++,g=ac(),Mf--,null===g?f=oc:(Gf=f,f=nc),null!==f?(Od.test(a.charAt(Gf))?(g=a.charAt(Gf),Gf++):(g=null,0===Mf&&e(Pd)),null!==g?(f=[f,g],d=f):(Gf=d,d=nc)):(Gf=d,d=nc);null!==d;)c.push(d),d=Gf,f=Gf,Mf++,g=ac(),Mf--,null===g?f=oc:(Gf=f,f=nc),null!==f?(Od.test(a.charAt(Gf))?(g=a.charAt(Gf),Gf++):(g=null,0===Mf&&e(Pd)),null!==g?(f=[f,g],d=f):(Gf=d,d=nc)):(Gf=d,d=nc);return null!==c&&(c=a.substring(b,Gf)),b=c}function Z(){var a,b,c,d,e;if(a=Gf,b=Yb(),null!==b)if(c=ab(),null!==c){for(d=[],e=Z();null!==e;)d.push(e),e=Z();null!==d?(e=bc(),null!==e?(Hf=a,b=Qd(b,c,d),null===b?(Gf=a,a=b):a=b):(Gf=a,a=nc)):(Gf=a,a=nc)}else Gf=a,a=nc;else Gf=a,a=nc;return null===a&&(a=ab()),a}function $(){var b,c,d;return b=Gf,Rd.test(a.charAt(Gf))?(c=a.charAt(Gf),Gf++):(c=null,0===Mf&&e(Sd)),null!==c?(32===a.charCodeAt(Gf)?(d=Lc,Gf++):(d=null,0===Mf&&e(Mc)),null===d&&(d=oc),null!==d?(Hf=b,c=kd(c),null===c?(Gf=b,b=c):b=c):(Gf=b,b=nc)):(Gf=b,b=nc),null===b&&(b=Gf,c=Gf,Mf++,60===a.charCodeAt(Gf)?(d=Td,Gf++):(d=null,0===Mf&&e(Ud)),Mf--,null!==d?(Gf=c,c=oc):c=nc,null!==c&&(Hf=b,c=Vd()),null===c?(Gf=b,b=c):b=c),b}function _(){var a,b,c,d,e,f,g;if(a=Gf,b=$(),null!==b)if(c=ab(),null!==c){if(d=Gf,e=Yb(),null!==e){for(f=[],g=Z();null!==g;)f.push(g),g=Z();null!==f?(g=$b(),null!==g?(e=[e,f,g],d=e):(Gf=d,d=nc)):(Gf=d,d=nc)}else Gf=d,d=nc;null===d&&(d=oc),null!==d?(Hf=a,b=Wd(b,c,d),null===b?(Gf=a,a=b):a=b):(Gf=a,a=nc)}else Gf=a,a=nc;else Gf=a,a=nc;return a}function ab(){var a,b,c,d,e,f;if(a=Gf,b=mb(),null===b&&(b=oc),null!==b){for(c=[],d=Gf,e=eb(),null!==e?(f=mb(),null===f&&(f=oc),null!==f?(e=[e,f],d=e):(Gf=d,d=nc)):(Gf=d,d=nc);null!==d;)c.push(d),d=Gf,e=eb(),null!==e?(f=mb(),null===f&&(f=oc),null!==f?(e=[e,f],d=e):(Gf=d,d=nc)):(Gf=d,d=nc);null!==c?(d=ac(),null!==d?(Hf=a,b=Xd(b,c),null===b?(Gf=a,a=b):a=b):(Gf=a,a=nc)):(Gf=a,a=nc)}else Gf=a,a=nc;return a}function bb(){var b,c,d,f;return b=Gf,34===a.charCodeAt(Gf)?(c=Hd,Gf++):(c=null,0===Mf&&e(Id)),null!==c?(d=cb(),null!==d?(34===a.charCodeAt(Gf)?(f=Hd,Gf++):(f=null,0===Mf&&e(Id)),null!==f?(Hf=b,c=bd(d),null===c?(Gf=b,b=c):b=c):(Gf=b,b=nc)):(Gf=b,b=nc)):(Gf=b,b=nc),null===b&&(b=Gf,39===a.charCodeAt(Gf)?(c=Jd,Gf++):(c=null,0===Mf&&e(Kd)),null!==c?(d=db(),null!==d?(39===a.charCodeAt(Gf)?(f=Jd,Gf++):(f=null,0===Mf&&e(Kd)),null!==f?(Hf=b,c=bd(d),null===c?(Gf=b,b=c):b=c):(Gf=b,b=nc)):(Gf=b,b=nc)):(Gf=b,b=nc)),b}function cb(){var a,b,c,d,e,f;if(a=Gf,b=ib(),null===b&&(b=oc),null!==b){for(c=[],d=Gf,e=eb(),null!==e?(f=ib(),null===f&&(f=oc),null!==f?(e=[e,f],d=e):(Gf=d,d=nc)):(Gf=d,d=nc);null!==d;)c.push(d),d=Gf,e=eb(),null!==e?(f=ib(),null===f&&(f=oc),null!==f?(e=[e,f],d=e):(Gf=d,d=nc)):(Gf=d,d=nc);null!==c?(Hf=a,b=Yd(b,c),null===b?(Gf=a,a=b):a=b):(Gf=a,a=nc)}else Gf=a,a=nc;return a}function db(){var a,b,c,d,e,f;if(a=Gf,b=jb(),null===b&&(b=oc),null!==b){for(c=[],d=Gf,e=eb(),null!==e?(f=jb(),null===f&&(f=oc),null!==f?(e=[e,f],d=e):(Gf=d,d=nc)):(Gf=d,d=nc);null!==d;)c.push(d),d=Gf,e=eb(),null!==e?(f=jb(),null===f&&(f=oc),null!==f?(e=[e,f],d=e):(Gf=d,d=nc)):(Gf=d,d=nc);null!==c?(Hf=a,b=Yd(b,c),null===b?(Gf=a,a=b):a=b):(Gf=a,a=nc)}else Gf=a,a=nc;return a}function eb(){var a;return a=hb(),null===a&&(a=gb()),a}function fb(){var b,c,d,f,g;if(b=Gf,c=Gf,Mf++,123===a.charCodeAt(Gf)?(d=Zd,Gf++):(d=null,0===Mf&&e($d)),Mf--,null===d?c=oc:(Gf=c,c=nc),null!==c){for(d=Gf,f=[],_d.test(a.charAt(Gf))?(g=a.charAt(Gf),Gf++):(g=null,0===Mf&&e(ae));null!==g;)f.push(g),_d.test(a.charAt(Gf))?(g=a.charAt(Gf),Gf++):(g=null,0===Mf&&e(ae));null!==f&&(f=a.substring(d,Gf)),d=f,null!==d?(Hf=b,c=be(d),null===c?(Gf=b,b=c):b=c):(Gf=b,b=nc)}else Gf=b,b=nc;return b}function gb(){var a,b,c,d,e,f;return a=Gf,b=sb(),null!==b?(c=dc(),null!==c?(d=fb(),null!==d?(e=dc(),null!==e?(f=vb(),null!==f?(Hf=a,b=ce(d),null===b?(Gf=a,a=b):a=b):(Gf=a,a=nc)):(Gf=a,a=nc)):(Gf=a,a=nc)):(Gf=a,a=nc)):(Gf=a,a=nc),null===a&&(a=Gf,b=xb(),null!==b?(c=dc(),null!==c?(d=fb(),null!==d?(e=dc(),null!==e?(f=yb(),null!==f?(Hf=a,b=ce(d),null===b?(Gf=a,a=b):a=b):(Gf=a,a=nc)):(Gf=a,a=nc)):(Gf=a,a=nc)):(Gf=a,a=nc)):(Gf=a,a=nc)),a}function hb(){var a,b,c,d,e,f;return a=Gf,b=tb(),null!==b?(c=dc(),null!==c?(d=fb(),null!==d?(e=dc(),null!==e?(f=wb(),null!==f?(Hf=a,b=de(d),null===b?(Gf=a,a=b):a=b):(Gf=a,a=nc)):(Gf=a,a=nc)):(Gf=a,a=nc)):(Gf=a,a=nc)):(Gf=a,a=nc),a}function ib(){var b,c,d,e;if(b=Gf,c=Gf,d=[],e=kb(),null!==e)for(;null!==e;)d.push(e),e=kb();else d=nc;return null!==d&&(d=a.substring(c,Gf)),c=d,null!==c&&(Hf=b,c=ee(c)),null===c?(Gf=b,b=c):b=c,b}function jb(){var b,c,d,e;if(b=Gf,c=Gf,d=[],e=lb(),null!==e)for(;null!==e;)d.push(e),e=lb();else d=nc;return null!==d&&(d=a.substring(c,Gf)),c=d,null!==c&&(Hf=b,c=ee(c)),null===c?(Gf=b,b=c):b=c,b}function kb(){var b,c,d;return b=Gf,c=Gf,Mf++,d=ob(),null===d&&(34===a.charCodeAt(Gf)?(d=Hd,Gf++):(d=null,0===Mf&&e(Id))),Mf--,null===d?c=oc:(Gf=c,c=nc),null!==c?(a.length>Gf?(d=a.charAt(Gf),Gf++):(d=null,0===Mf&&e(fe)),null!==d?(Hf=b,c=Oc(d),null===c?(Gf=b,b=c):b=c):(Gf=b,b=nc)):(Gf=b,b=nc),b}function lb(){var b,c,d;return b=Gf,c=Gf,Mf++,d=ob(),null===d&&(39===a.charCodeAt(Gf)?(d=Jd,Gf++):(d=null,0===Mf&&e(Kd))),Mf--,null===d?c=oc:(Gf=c,c=nc),null!==c?(a.length>Gf?(d=a.charAt(Gf),Gf++):(d=null,0===Mf&&e(fe)),null!==d?(Hf=b,c=Oc(d),null===c?(Gf=b,b=c):b=c):(Gf=b,b=nc)):(Gf=b,b=nc),b}function mb(){var b,c,d,e;if(b=Gf,c=Gf,d=[],e=nb(),null!==e)for(;null!==e;)d.push(e),e=nb();else d=nc;return null!==d&&(d=a.substring(c,Gf)),c=d,null!==c&&(Hf=b,c=ee(c)),null===c?(Gf=b,b=c):b=c,b}function nb(){var b,c,d;return b=Gf,c=Gf,Mf++,d=ob(),Mf--,null===d?c=oc:(Gf=c,c=nc),null!==c?(a.length>Gf?(d=a.charAt(Gf),Gf++):(d=null,0===Mf&&e(fe)),null!==d?(Hf=b,c=Oc(d),null===c?(Gf=b,b=c):b=c):(Gf=b,b=nc)):(Gf=b,b=nc),b}function ob(){var a;return a=tb(),null===a&&(a=sb(),null===a&&(a=xb(),null===a&&(a=bc(),null===a&&(a=ac())))),a}function pb(){var a,b,c,d,e,f;return a=Gf,b=rb(),null!==b?(c=dc(),null!==c?(d=fb(),null!==d?(e=dc(),null!==e?(f=ub(),null!==f?(Hf=a,b=ce(d),null===b?(Gf=a,a=b):a=b):(Gf=a,a=nc)):(Gf=a,a=nc)):(Gf=a,a=nc)):(Gf=a,a=nc)):(Gf=a,a=nc),a}function qb(){var a;return a=pb(),null===a&&(a=hb(),null===a&&(a=gb())),a}function rb(){var b,c;return Mf++,123===a.charCodeAt(Gf)?(b=Zd,Gf++):(b=null,0===Mf&&e($d)),Mf--,null===b&&(c=null,0===Mf&&e(ge)),b}function sb(){var b,c;return Mf++,a.substr(Gf,2)===ie?(b=ie,Gf+=2):(b=null,0===Mf&&e(je)),Mf--,null===b&&(c=null,0===Mf&&e(he)),b}function tb(){var b,c;return Mf++,a.substr(Gf,3)===le?(b=le,Gf+=3):(b=null,0===Mf&&e(me)),Mf--,null===b&&(c=null,0===Mf&&e(ke)),b}function ub(){var b,c;return Mf++,125===a.charCodeAt(Gf)?(b=oe,Gf++):(b=null,0===Mf&&e(pe)),Mf--,null===b&&(c=null,0===Mf&&e(ne)),b}function vb(){var b,c;return Mf++,a.substr(Gf,2)===re?(b=re,Gf+=2):(b=null,0===Mf&&e(se)),Mf--,null===b&&(c=null,0===Mf&&e(qe)),b}function wb(){var b,c;return Mf++,a.substr(Gf,3)===ue?(b=ue,Gf+=3):(b=null,0===Mf&&e(ve)),Mf--,null===b&&(c=null,0===Mf&&e(te)),b}function xb(){var b,c;return Mf++,a.substr(Gf,2)===xe?(b=xe,Gf+=2):(b=null,0===Mf&&e(ye)),Mf--,null===b&&(c=null,0===Mf&&e(we)),b}function yb(){var b,c;return Mf++,125===a.charCodeAt(Gf)?(b=oe,Gf++):(b=null,0===Mf&&e(pe)),Mf--,null===b&&(c=null,0===Mf&&e(ze)),b}function zb(){var b,c,d;return b=Gf,a.substr(Gf,2)===Ae?(c=Ae,Gf+=2):(c=null,0===Mf&&e(Be)),null!==c?(32===a.charCodeAt(Gf)?(d=Lc,Gf++):(d=null,0===Mf&&e(Mc)),null===d&&(d=oc),null!==d?(Hf=b,c=Ce(),null===c?(Gf=b,b=c):b=c):(Gf=b,b=nc)):(Gf=b,b=nc),null===b&&(b=Gf,61===a.charCodeAt(Gf)?(c=rc,Gf++):(c=null,0===Mf&&e(sc)),null!==c?(32===a.charCodeAt(Gf)?(d=Lc,Gf++):(d=null,0===Mf&&e(Mc)),null===d&&(d=oc),null!==d?(Hf=b,c=De(),null===c?(Gf=b,b=c):b=c):(Gf=b,b=nc)):(Gf=b,b=nc)),b}function Ab(){var b,c,d,f,g;return b=Gf,c=Tb(),null===c&&(c=oc),null!==c?(d=F(),null===d&&(d=oc),null!==d?(47===a.charCodeAt(Gf)?(f=Gc,Gf++):(f=null,0===Mf&&e(Hc)),null===f&&(f=oc),null!==f?(Hf=Gf,g=Ee(c,d),g=g?oc:nc,null!==g?(c=[c,d,f,g],b=c):(Gf=b,b=nc)):(Gf=b,b=nc)):(Gf=b,b=nc)):(Gf=b,b=nc),b}function Bb(){var a,b,c,d,e;if(a=Gf,b=Ab(),null!==b){for(c=[],d=qb();null!==d;)c.push(d),d=qb();if(null!==c){for(d=[],e=Cb();null!==e;)d.push(e),e=Cb();null!==d?(Hf=a,b=Fe(b,c,d),null===b?(Gf=a,a=b):a=b):(Gf=a,a=nc)}else Gf=a,a=nc}else Gf=a,a=nc;return a}function F(){var a,b,c,d;if(a=Gf,b=[],c=Gf,d=Mb(),null!==d&&(Hf=c,d=Ge(d)),null===d?(Gf=c,c=d):c=d,null===c&&(c=Gf,d=Nb(),null!==d&&(Hf=c,d=He(d)),null===d?(Gf=c,c=d):c=d),null!==c)for(;null!==c;)b.push(c),c=Gf,d=Mb(),null!==d&&(Hf=c,d=Ge(d)),null===d?(Gf=c,c=d):c=d,null===c&&(c=Gf,d=Nb(),null!==d&&(Hf=c,d=He(d)),null===d?(Gf=c,c=d):c=d);else b=nc;return null!==b&&(Hf=a,b=Ie(b)),null===b?(Gf=a,a=b):a=b,a}function Cb(){var b,c,d;if(b=Gf,c=[],32===a.charCodeAt(Gf)?(d=Lc,Gf++):(d=null,0===Mf&&e(Mc)),null!==d)for(;null!==d;)c.push(d),32===a.charCodeAt(Gf)?(d=Lc,Gf++):(d=null,0===Mf&&e(Mc));else c=nc;return null!==c?(d=Gb(),null===d&&(d=Ib(),null===d&&(d=Jb(),null===d&&(d=Kb()))),null!==d?(Hf=b,c=Je(d),null===c?(Gf=b,b=c):b=c):(Gf=b,b=nc)):(Gf=b,b=nc),b}function Db(){var b;return Ke.test(a.charAt(Gf))?(b=a.charAt(Gf),Gf++):(b=null,0===Mf&&e(Le)),null===b&&(b=Wb()),b}function Eb(){var a,b;return a=Fb(),null===a&&(a=Gf,b=Q(),null!==b&&(Hf=a,b=Me(b)),null===b?(Gf=a,a=b):a=b),a}function Fb(){var b,c,d,f,g;return b=Gf,c=Gf,34===a.charCodeAt(Gf)?(d=Hd,Gf++):(d=null,0===Mf&&e(Id)),null!==d?(f=D(),null!==f?(34===a.charCodeAt(Gf)?(g=Hd,Gf++):(g=null,0===Mf&&e(Id)),null!==g?(d=[d,f,g],c=d):(Gf=c,c=nc)):(Gf=c,c=nc)):(Gf=c,c=nc),null===c&&(c=Gf,39===a.charCodeAt(Gf)?(d=Jd,Gf++):(d=null,0===Mf&&e(Kd)),null!==d?(f=D(),null!==f?(39===a.charCodeAt(Gf)?(g=Jd,Gf++):(g=null,0===Mf&&e(Kd)),null!==g?(d=[d,f,g],c=d):(Gf=c,c=nc)):(Gf=c,c=nc)):(Gf=c,c=nc)),null!==c&&(Hf=b,c=Ld(c)),null===c?(Gf=b,b=c):b=c,b}function Gb(){var b,c,d,f;return b=Gf,c=Xb(),null!==c?(61===a.charCodeAt(Gf)?(d=rc,Gf++):(d=null,0===Mf&&e(sc)),null!==d?(f=Eb(),null!==f?(Hf=b,c=Ne(c,f),null===c?(Gf=b,b=c):b=c):(Gf=b,b=nc)):(Gf=b,b=nc)):(Gf=b,b=nc),b}function Hb(){var b,c,d,f,g,h;if(b=Gf,123===a.charCodeAt(Gf)?(c=Zd,Gf++):(c=null,0===Mf&&e($d)),null!==c)if(d=dc(),null!==d){if(f=Gf,g=[],h=Db(),null===h&&(32===a.charCodeAt(Gf)?(h=Lc,Gf++):(h=null,0===Mf&&e(Mc))),null!==h)for(;null!==h;)g.push(h),h=Db(),null===h&&(32===a.charCodeAt(Gf)?(h=Lc,Gf++):(h=null,0===Mf&&e(Mc)));else g=nc;null!==g&&(g=a.substring(f,Gf)),f=g,null!==f?(g=dc(),null!==g?(125===a.charCodeAt(Gf)?(h=oe,Gf++):(h=null,0===Mf&&e(pe)),null!==h?(Hf=b,c=Oe(f),null===c?(Gf=b,b=c):b=c):(Gf=b,b=nc)):(Gf=b,b=nc)):(Gf=b,b=nc)}else Gf=b,b=nc;else Gf=b,b=nc;if(null===b){if(b=Gf,c=[],d=Db(),null!==d)for(;null!==d;)c.push(d),d=Db();else c=nc;null!==c&&(c=a.substring(b,Gf)),b=c}return b}function Ib(){var b,c,d,f,g,h;return b=Gf,c=L(),null!==c?(61===a.charCodeAt(Gf)?(d=rc,Gf++):(d=null,0===Mf&&e(sc)),null!==d?(f=Hb(),null!==f?(g=Gf,Mf++,33===a.charCodeAt(Gf)?(h=Pe,Gf++):(h=null,0===Mf&&e(Qe)),Mf--,null===h?g=oc:(Gf=g,g=nc),null!==g?(Hf=Gf,h=Re(c,f),h=h?oc:nc,null!==h?(Hf=b,c=Se(c,f),null===c?(Gf=b,b=c):b=c):(Gf=b,b=nc)):(Gf=b,b=nc)):(Gf=b,b=nc)):(Gf=b,b=nc)):(Gf=b,b=nc),b}function Jb(){var b,c,d,f;return b=Gf,c=L(),null!==c?(61===a.charCodeAt(Gf)?(d=rc,Gf++):(d=null,0===Mf&&e(sc)),null!==d?(f=Q(),null!==f?(Hf=b,c=Te(c,f),null===c?(Gf=b,b=c):b=c):(Gf=b,b=nc)):(Gf=b,b=nc)):(Gf=b,b=nc),b}function Kb(){var b,c,d,f;return b=Gf,c=L(),null!==c?(61===a.charCodeAt(Gf)?(d=rc,Gf++):(d=null,0===Mf&&e(sc)),null!==d?(f=bb(),null!==f?(Hf=b,c=Ue(c,f),null===c?(Gf=b,b=c):b=c):(Gf=b,b=nc)):(Gf=b,b=nc)):(Gf=b,b=nc),b}function Lb(){var b,c,d;return b=Gf,37===a.charCodeAt(Gf)?(c=Ve,Gf++):(c=null,0===Mf&&e(We)),null!==c?(d=Ob(),null!==d?(Hf=b,c=Oc(d),null===c?(Gf=b,b=c):b=c):(Gf=b,b=nc)):(Gf=b,b=nc),b}function Mb(){var b,c,d;return b=Gf,35===a.charCodeAt(Gf)?(c=Xe,Gf++):(c=null,0===Mf&&e(Ye)),null!==c?(d=Ob(),null!==d?(Hf=b,c=Ze(d),null===c?(Gf=b,b=c):b=c):(Gf=b,b=nc)):(Gf=b,b=nc),b}function Nb(){var b,c,d;return b=Gf,46===a.charCodeAt(Gf)?(c=gd,Gf++):(c=null,0===Mf&&e(hd)),null!==c?(d=Ob(),null!==d?(Hf=b,c=Oc(d),null===c?(Gf=b,b=c):b=c):(Gf=b,b=nc)):(Gf=b,b=nc),b}function Ob(){var a,b;return Mf++,a=Pb(),Mf--,null===a&&(b=null,0===Mf&&e($e)),a}function Pb(){var b,c,d;for(b=Gf,c=[],d=Qb();null!==d;)c.push(d),d=Qb();return null!==c&&(c=a.substring(b,Gf)),b=c}function Qb(){var b;return _e.test(a.charAt(Gf))?(b=a.charAt(Gf),Gf++):(b=null,0===Mf&&e(af)),null===b&&(b=Rb()),b}function Rb(){var b;return bf.test(a.charAt(Gf))?(b=a.charAt(Gf),Gf++):(b=null,0===Mf&&e(cf)),b}function Sb(){var b,c,d;if(b=Gf,c=[],d=Vb(),null!==d)for(;null!==d;)c.push(d),d=Vb();else c=nc;return null!==c&&(c=a.substring(b,Gf)),b=c}function Tb(){var b,c,d,f;return Mf++,b=Gf,37===a.charCodeAt(Gf)?(c=Ve,Gf++):(c=null,0===Mf&&e(We)),null!==c?(d=dc(),null!==d?(f=Sb(),null!==f?(Hf=b,c=kd(f),null===c?(Gf=b,b=c):b=c):(Gf=b,b=nc)):(Gf=b,b=nc)):(Gf=b,b=nc),null===b&&(b=Ub()),Mf--,null===b&&(c=null,0===Mf&&e(df)),b}function Ub(){var a,b,c;return a=Gf,b=Sb(),null!==b?(Hf=Gf,c=ef(b),c=c?oc:nc,null!==c?(Hf=a,b=ff(b),null===b?(Gf=a,a=b):a=b):(Gf=a,a=nc)):(Gf=a,a=nc),a}function Vb(){var b;return _e.test(a.charAt(Gf))?(b=a.charAt(Gf),Gf++):(b=null,0===Mf&&e(af)),null===b&&(b=Wb()),b}function Wb(){var b,c,d,f;return b=Gf,58===a.charCodeAt(Gf)?(c=md,Gf++):(c=null,0===Mf&&e(nd)),null!==c?(d=Gf,Mf++,32===a.charCodeAt(Gf)?(f=Lc,Gf++):(f=null,0===Mf&&e(Mc)),Mf--,null===f?d=oc:(Gf=d,d=nc),null!==d?(Hf=b,c=Oc(c),null===c?(Gf=b,b=c):b=c):(Gf=b,b=nc)):(Gf=b,b=nc),b}function Xb(){var a,b,c;return Mf++,a=Gf,b=Sb(),null!==b?(Hf=Gf,c=hf(b),c=c?oc:nc,null!==c?(Hf=a,b=ff(b),null===b?(Gf=a,a=b):a=b):(Gf=a,a=nc)):(Gf=a,a=nc),Mf--,null===a&&(b=null,0===Mf&&e(gf)),a}function Yb(){var a,b,c;return a=Gf,b=Zb(),null!==b?(c=cc(),null!==c?(Hf=a,b=kd(c),null===b?(Gf=a,a=b):a=b):(Gf=a,a=nc)):(Gf=a,a=nc),a}function Zb(){var b,c;return Mf++,b=Gf,61423===a.charCodeAt(Gf)?(c=kf,Gf++):(c=null,0===Mf&&e(lf)),null!==c&&(Hf=b,c=mf()),null===c?(Gf=b,b=c):b=c,Mf--,null===b&&(c=null,0===Mf&&e(jf)),b}function $b(){var b,c;return Mf++,b=Gf,61438===a.charCodeAt(Gf)?(c=of,Gf++):(c=null,0===Mf&&e(pf)),null!==c&&(Hf=b,c=mf()),null===c?(Gf=b,b=c):b=c,Mf--,null===b&&(c=null,0===Mf&&e(nf)),b}function _b(){var b,c;return Mf++,b=Gf,61422===a.charCodeAt(Gf)?(c=rf,Gf++):(c=null,0===Mf&&e(sf)),null!==c&&(Hf=b,c=mf()),null===c?(Gf=b,b=c):b=c,Mf--,null===b&&(c=null,0===Mf&&e(qf)),b}function ac(){var b,c,d,f;return Mf++,b=Gf,13===a.charCodeAt(Gf)?(c=uf,Gf++):(c=null,0===Mf&&e(vf)),null===c&&(c=oc),null!==c?(61439===a.charCodeAt(Gf)?(d=wf,Gf++):(d=null,0===Mf&&e(xf)),null!==d?(10===a.charCodeAt(Gf)?(f=yf,Gf++):(f=null,0===Mf&&e(zf)),null!==f?(Hf=b,c=Ce(),null===c?(Gf=b,b=c):b=c):(Gf=b,b=nc)):(Gf=b,b=nc)):(Gf=b,b=nc),Mf--,null===b&&(c=null,0===Mf&&e(tf)),b}function bc(){var a,b;return Mf++,a=$b(),null===a&&(a=_b()),Mf--,null===a&&(b=null,0===Mf&&e(Af)),a}function cc(){var b,c,d;if(Mf++,b=Gf,c=[],d=ec(),null!==d)for(;null!==d;)c.push(d),d=ec();else c=nc;return null!==c&&(c=a.substring(b,Gf)),b=c,Mf--,null===b&&(c=null,0===Mf&&e(Bf)),b}function dc(){var a,b;for(Mf++,a=[],b=ec();null!==b;)a.push(b),b=ec();return Mf--,null===a&&(b=null,0===Mf&&e(Cf)),a}function ec(){var b,c;return Mf++,Ef.test(a.charAt(Gf))?(b=a.charAt(Gf),Gf++):(b=null,0===Mf&&e(Ff)),Mf--,null===b&&(c=null,0===Mf&&e(Df)),b}function fc(){var b,c,d;return b=Gf,c=Gf,Mf++,d=Zb(),null===d&&(d=$b(),null===d&&(d=ac())),Mf--,null===d?c=oc:(Gf=c,c=nc),null!==c?(a.length>Gf?(d=a.charAt(Gf),Gf++):(d=null,0===Mf&&e(fe)),null!==d?(Hf=b,c=Oc(d),null===c?(Gf=b,b=c):b=c):(Gf=b,b=nc)):(Gf=b,b=nc),b}function gc(){var b,c,d;for(b=Gf,c=[],d=fc();null!==d;)c.push(d),d=fc();return null!==c&&(c=a.substring(b,Gf)),b=c}function hc(a,b,c){var d=a.hash;if(c){d=d||new Pf.HashNode([]);for(var e=0;e<c.length;++e)d.pairs.push(c[e])}var f=[a.id].concat(a.params);return f.unshift(new Pf.IdNode([{part:b}])),new Pf.MustacheNode(f,d,!a.escaped)}function ic(a,b){var c=[];a&&c.push(a);for(var d=0;d<b.length;++d){var e=b[d];c.push(e[0]),e[1]&&c.push(e[1])}return c}var jc,kc=arguments.length>1?arguments[1]:{},lc={start:g},mc=g,nc=null,oc="",pc=function(a){return a},qc=function(a,b){return new Pf.ProgramNode(a,b||[])},rc="=",sc='"="',tc="else",uc='"else"',vc=function(a){for(var b=[],c=[],d=0;d<a.length;++d)for(var e=a[d],f=0;f<e.length;++f){var g=e[f];"content"!==g.type?(c.length&&(b.push(new Pf.ContentNode(c.join(""))),c=[]),b.push(g)):g.string&&c.push(g.string)}return c.length&&b.push(new Pf.ContentNode(c.join(""))),b},wc="BeginStatement",xc="ContentStatement",yc=function(){return[]},zc=">",Ac='">"',Bc=function(a,b){return[new Pf.PartialNode(a,b[0])]},Cc=/^[a-zA-Z0-9_$-\/]/,Dc="[a-zA-Z0-9_$-\\/]",Ec=function(a){return new Pf.PartialNameNode(new Pf.StringNode(a))},Fc=function(a){return[a]},Gc="/",Hc='"/"',Ic=/^[A-Z]/,Jc="[A-Z]",Kc=function(a){var b="view";
|
2
|
-
if(a.mustache){var c=a.mustache.id.string.charAt(0);return Of&&c.match(/[A-Z]/)?(a.mustache=hc(a.mustache,b),a):a}var c=a.id.string.charAt(0);return Of&&c.match(/[A-Z]/)?hc(a,b):a},Lc=" ",Mc='" "',Nc=function(a,b){if(b){b=b[1];for(var c=0,d=b.length;d>c;++c)a.push(new Pf.ContentNode(" ")),a=a.concat(b[c])}return a},Oc=function(a){return a},Pc=function(a){return[a]},Qc=function(a,b){var c=a[0];return b&&(c=c.concat(b)),a[1]&&c.push(a[1]),c},Rc=function(a,b){return b?new Pf.BlockNode(a,b,b.inverse,a.id):a},Sc=": ",Tc='": "',Uc=function(a){return new Pf.ProgramNode(a,[])},Vc=function(a){return a&&a[2]},Wc=function(a,b){var c=b.mustache||b;return c.escaped=a,b},Xc=function(a,b,c,d){if(a){var e=new Pf.PartialNameNode(new Pf.StringNode(b.string));return new Pf.PartialNode(e,c[0])}for(var f=[],g={},h=!1,i=0;i<c.length;++i){var j=c[i],k=j[0];"tagName"==k||"elementId"==k||"class"==k?(h=!0,g[k]=g[k]||[],g[k].push(j[1])):f.push(j)}if(h){d=d||new Pf.HashNode([]);for(var l in g)g.hasOwnProperty(l)&&d.pairs.push([l,new Pf.StringNode(g[l].join(" "))])}f.unshift(b);var m=new Pf.MustacheNode(f,d),n=b._emblemSuffixModifier;return"!"===n?hc(m,"unbound"):"?"===n?hc(m,"if"):"^"===n?hc(m,"unless"):m},Yc=function(a){return["tagName",a]},Zc=function(a){return["elementId",a]},$c=function(a){return["class",a]},_c=function(a,b){return[a,b]},ad=function(a){return[null,a]},bd=function(a){return a},cd=function(a){return new Pf.HashNode(a)},dd="PathIdent",ed="..",fd='".."',gd=".",hd='"."',id=/^[a-zA-Z0-9_$\-!?\^]/,jd="[a-zA-Z0-9_$\\-!?\\^]",kd=function(a){return a},ld="Key",md=":",nd='":"',od=function(a){return[a[0],a[2]]},pd=function(a,b){return{part:b,separator:a}},qd=function(a,b){for(var c=[{part:a}],d=0;d<b.length;++d)c.push(b[d]);return c},rd="PathSeparator",sd=/^[\/.]/,td="[\\/.]",ud=function(a){var b,c,d=a[a.length-1];(b=d.part.match(/[!\?\^]$/))&&(c=b[0],d.part=d.part.slice(0,-1));var e=new Pf.IdNode(a);return e._emblemSuffixModifier=c,e},vd=function(a){return new Pf.StringNode(a)},wd=function(a){return new Pf.IntegerNode(a)},xd=function(a){return new Pf.BooleanNode(a)},yd="Boolean",zd="true",Ad='"true"',Bd="false",Cd='"false"',Dd="Integer",Ed=/^[0-9]/,Fd="[0-9]",Gd=function(a){return parseInt(a)},Hd='"',Id='"\\""',Jd="'",Kd='"\'"',Ld=function(a){return a[1]},Md=/^[^"}]/,Nd='[^"}]',Od=/^[^'}]/,Pd="[^'}]",Qd=function(a,b,c){b.unshift(new Pf.ContentNode(a));for(var d=0;d<c.length;++d)b.push(new Pf.ContentNode(a)),b=b.concat(c[d]),b.push("\n");return b},Rd=/^[|`']/,Sd="[|`']",Td="<",Ud='"<"',Vd=function(){return"<"},Wd=function(a,b,c){if((b.length||!c)&&b.push("\n"),c){c=c[1];for(var d=0;d<c.length;++d)b=b.concat(c[d]),b.push("\n")}for(var e=[],f="`"!==a,d=0;d<b.length;++d){var g=b[d];"\n"==g?f||e.push(new Pf.ContentNode("\n")):e.push(g)}return"'"===a&&e.push(new Pf.ContentNode(" ")),e},Xd=function(a,b){return ic(a,b)},Yd=function(a,b){return ic(a,b)},Zd="{",$d='"{"',_d=/^[^}]/,ae="[^}]",be=function(a){return a="="+a,c.parse(a).statements[0]},ce=function(a){return a.escaped=!0,a},de=function(a){return a.escaped=!1,a},ee=function(a){return new Pf.ContentNode(a)},fe="any character",ge="SingleMustacheOpen",he="DoubleMustacheOpen",ie="{{",je='"{{"',ke="TripleMustacheOpen",le="{{{",me='"{{{"',ne="SingleMustacheClose",oe="}",pe='"}"',qe="DoubleMustacheClose",re="}}",se='"}}"',te="TripleMustacheClose",ue="}}}",ve='"}}}"',we="InterpolationOpen",xe="#{",ye='"#{"',ze="InterpolationClose",Ae="==",Be='"=="',Ce=function(){return!1},De=function(){return!0},Ee=function(a,b){return a||b},Fe=function(a,b,c){var d=a[0]||"div",e=a[1]||[],f=e[0],g=e[1],h=[];h.push(new Pf.ContentNode("<"+d)),f&&h.push(new Pf.ContentNode(' id="'+f+'"')),g&&g.length&&h.push(new Pf.ContentNode(' class="'+g.join(" ")+'"'));for(var i=0;i<b.length;++i)h.push(new Pf.ContentNode(" ")),h.push(b[i]);for(var i=0;i<c.length;++i)h=h.concat(c[i]);var j=!!a[2];return Qf[d]||j?(h.push(new Pf.ContentNode(" />")),[h]):(h.push(new Pf.ContentNode(">")),[h,new Pf.ContentNode("</"+d+">")])},Ge=function(a){return{shorthand:a,id:!0}},He=function(a){return{shorthand:a}},Ie=function(a){for(var b,c=[],d=0,e=a.length;e>d;++d){var f=a[d];f.id?b=f.shorthand:c.push(f.shorthand)}return[b,c]},Je=function(a){return[new Pf.ContentNode(" ")].concat(a)},Ke=/^[A-Za-z.0-9_\-]/,Le="[A-Za-z.0-9_\\-]",Me=function(a){return new Pf.MustacheNode([a])},Ne=function(a,b){return[hc(b,"action",[["on",new Pf.StringNode(a)]])]},Oe=function(a){return a.replace(/ *$/,"")},Pe="!",Qe='"!"',Re=function(){return Of},Se=function(a,b){var c=new Pf.HashNode([[a,new Pf.StringNode(b)]]),d=[new Pf.IdNode([{part:"bindAttr"}])],e=new Pf.MustacheNode(d,c);return[e]},Te=function(a,b){var c=new Pf.MustacheNode([b]);return Of&&"!"===b._emblemSuffixModifier&&(c=hc(c,"unbound")),[new Pf.ContentNode(a+"="+'"'),c,new Pf.ContentNode('"')]},Ue=function(a,b){var c=[new Pf.ContentNode(a+"="+'"')].concat(b);return c.concat([new Pf.ContentNode('"')])},Ve="%",We='"%"',Xe="#",Ye='"#"',Ze=function(a){return a},$e="CSSIdentifier",_e=/^[_a-zA-Z0-9\-]/,af="[_a-zA-Z0-9\\-]",bf=/^[\x80-\xFF]/,cf="[\\x80-\\xFF]",df="KnownHTMLTagName",ef=function(a){return!!Rf[a]},ff=function(a){return a},gf="a JS event",hf=function(a){return!!Sf[a]},jf="INDENT",kf="\uefef",lf='"\\uEFEF"',mf=function(){return""},nf="DEDENT",of="\ueffe",pf='"\\uEFFE"',qf="Unmatched DEDENT",rf="\uefee",sf='"\\uEFEE"',tf="LineEnd",uf="\r",vf='"\\r"',wf="\uefff",xf='"\\uEFFF"',yf="\n",zf='"\\n"',Af="ANYDEDENT",Bf="RequiredWhitespace",Cf="OptionalWhitespace",Df="InlineWhitespace",Ef=/^[ \t]/,Ff="[ \\t]",Gf=0,Hf=0,If=0,Jf={line:1,column:1,seenCR:!1},Kf=0,Lf=[],Mf=0;if("startRule"in kc){if(!(kc.startRule in lc))throw new Error("Can't start parsing from rule \""+kc.startRule+'".');mc=lc[kc.startRule]}var Nf=c.handlebarsVariant,Of="Ember.Handlebars"===Nf.JavaScriptCompiler.prototype.namespace,Pf=Nf.AST,Qf={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},Rf={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},Sf={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};if(jc=mc(),null!==jc&&Gf===a.length)return jc;throw f(Lf),Hf=Math.max(Gf,Kf),new b(Lf,Hf<a.length?a.charAt(Hf):null,Hf,d(Hf).line,d(Hf).column)}return a(b,Error),{SyntaxError:b,parse:d}}(),b.exports=c.Parser},{"./emblem":3}],5:[function(a){var b,c,d;d=a("StringScanner"),b=a("./emblem"),b.Preprocessor=c=function(){function a(){this.base=null,this.indents=[],this.context=[],this.context.peek=function(){return this.length?this[this.length-1]:null},this.context.err=function(a){throw new Error("Unexpected "+a)},this.output="",this.context.observe=function(a){var b;switch(b=this.peek(),a){case e:this.push(a);break;case c:b!==e&&this.err(a),this.pop();break;case"\r":"/"!==b&&this.err(a),this.pop();break;case"\n":"/"!==b&&this.err(a),this.pop();break;case"/":this.push(a);break;case"end-\\":"\\"!==b&&this.err(a),this.pop();break;default:throw new Error("undefined token observed: "+a)}return this},this.ss=this.StringScanner?new this.StringScanner(""):b.StringScanner?new b.StringScanner(""):new d("")}var c,e,f,g,h,i,j,k;return k="\\t\\x0B\\f \\xA0\\u1680\\u180E\\u2000-\\u200A\\u202F\\u205F\\u3000\\uFEFF",e="\uefef",c="\ueffe",g="\uefee",f="\uefff",h=RegExp("["+k+"\\r?\\n]*$"),i=RegExp("(?:["+k+"]*\\r?\\n)+"),a.prototype.p=function(a){return a&&(this.output+=a),a},a.prototype.scan=function(a){return this.p(this.ss.scan(a))},a.prototype.discard=function(a){return this.ss.scan(a)},j=function(a){return function(b){var d,j,l,m;for(a||(this.ss.concat(b),this.discard(i));!this.ss.eos();)switch(this.context.peek()){case null:case e:if(this.ss.bol()||this.discard(i)){if(this.discard(RegExp("["+k+"]*\\r?\\n"))){this.p(""+f+"\n");continue}if(null!=this.base){if(null==this.discard(this.base))throw new Error("inconsistent base indentation")}else d=this.discard(RegExp("["+k+"]*")),this.base=RegExp(""+d);if(0===this.indents.length)this.ss.check(RegExp("["+k+"]+"))&&(this.p(e),this.context.observe(e),this.indents.push(this.scan(RegExp("(["+k+"]+)"))));else if(l=this.indents[this.indents.length-1],j=this.ss.check(RegExp("("+l+")")))this.discard(j),this.ss.check(RegExp("(["+k+"]+)"))&&(this.p(e),this.context.observe(e),this.indents.push(j+this.scan(RegExp("(["+k+"]+)"))));else{for(;this.indents.length&&(l=this.indents[this.indents.length-1],!this.discard(RegExp("(?:"+l+")")));)this.context.observe(c),this.p(c),this.indents.pop();(m=this.discard(RegExp("["+k+"]+")))&&(this.output=this.output.slice(0,-1),this.output+=g,this.p(e),this.context.observe(e),this.indents.push(m))}}this.scan(/[^\r\n]+/),this.discard(/\r?\n/)&&this.p(""+f+"\n")}if(a){for(this.scan(h);this.context.length&&e===this.context.peek();)this.context.observe(c),this.p(c);if(this.context.length)throw new Error("Unclosed "+this.context.peek()+" at EOF")}}},a.prototype.processData=j(!1),a.prototype.processEnd=j(!0),a.processSync=function(b){var c;return b+="\n",c=new a,c.processData(b),c.processEnd(),c.output},a}()},{"./emblem":3,StringScanner:6}],6:[function(a,b){!function(){var a;a=function(){function a(a){this.str=null!=a?a:"",this.str=""+this.str,this.pos=0,this.lastMatch={reset:function(){return this.str=null,this.captures=[],this}}.reset()}return a.prototype.bol=function(){return this.pos<=0||"\n"===this.str[this.pos-1]},a.prototype.captures=function(){return this.lastMatch.captures},a.prototype.check=function(a){var b;return 0!==this.str.substr(this.pos).search(a)?(this.lastMatch.reset(),null):(b=this.str.substr(this.pos).match(a),this.lastMatch.str=b[0],this.lastMatch.captures=b.slice(1),this.lastMatch.str)},a.prototype.checkUntil=function(a){var b,c;return c=this.str.substr(this.pos).search(a),0>c?(this.lastMatch.reset(),null):(b=this.str.substr(this.pos+c).match(a),this.lastMatch.captures=b.slice(1),this.lastMatch.str=this.str.substr(this.pos,c)+b[0])},a.prototype.clone=function(){var a,b,c,d;a=new this.constructor(this.str),a.pos=this.pos,a.lastMatch={},d=this.lastMatch;for(b in d)c=d[b],a.lastMatch[b]=c;return a},a.prototype.concat=function(a){return this.str+=a,this},a.prototype.eos=function(){return this.pos===this.str.length},a.prototype.exists=function(a){var b,c;return c=this.str.substr(this.pos).search(a),0>c?(this.lastMatch.reset(),null):(b=this.str.substr(this.pos+c).match(a),this.lastMatch.str=b[0],this.lastMatch.captures=b.slice(1),c)},a.prototype.getch=function(){return this.scan(/./)},a.prototype.match=function(){return this.lastMatch.str},a.prototype.matches=function(a){return this.check(a),this.matchSize()},a.prototype.matched=function(){return null!=this.lastMatch.str},a.prototype.matchSize=function(){return this.matched()?this.match().length:null},a.prototype.peek=function(a){return this.str.substr(this.pos,a)},a.prototype.pointer=function(){return this.pos},a.prototype.setPointer=function(a){return a=+a,0>a&&(a=0),a>this.str.length&&(a=this.str.length),this.pos=a},a.prototype.reset=function(){return this.lastMatch.reset(),this.pos=0,this},a.prototype.rest=function(){return this.str.substr(this.pos)},a.prototype.scan=function(a){var b;return b=this.check(a),null!=b&&(this.pos+=b.length),b},a.prototype.scanUntil=function(a){var b;return b=this.checkUntil(a),null!=b&&(this.pos+=b.length),b},a.prototype.skip=function(a){return this.scan(a),this.matchSize()},a.prototype.skipUntil=function(a){return this.scanUntil(a),this.matchSize()},a.prototype.string=function(){return this.str},a.prototype.terminate=function(){return this.pos=this.str.length,this.lastMatch.reset(),this},a.prototype.toString=function(){return"#<StringScanner "+(this.eos()?"fin":""+this.pos+"/"+this.str.length+" @ "+(this.str.length>8?""+this.str.substr(0,5)+"...":this.str))+">"},a}(),a.prototype.beginningOfLine=a.prototype.bol,a.prototype.clear=a.prototype.terminate,a.prototype.dup=a.prototype.clone,a.prototype.endOfString=a.prototype.eos,a.prototype.exist=a.prototype.exists,a.prototype.getChar=a.prototype.getch,a.prototype.position=a.prototype.pointer,a.StringScanner=a,b.exports=a}.call(this)},{}]},{},[3]);
|
1
|
+
!function a(b,c,d){function e(g,h){if(!c[g]){if(!b[g]){var i="function"==typeof require&&require;if(!h&&i)return i(g,!0);if(f)return f(g,!0);throw new Error("Cannot find module '"+g+"'")}var j=c[g]={exports:{}};b[g][0].call(j.exports,function(a){var c=b[g][1][a];return e(c?c:a)},j,j.exports,a,b,c,d)}return c[g].exports}for(var f="function"==typeof require&&require,g=0;g<d.length;g++)e(d[g]);return e}({1:[function(a){var b;b=a("./emblem"),b.throwCompileError=function(a,b){throw new Error("Emblem syntax error, line "+a+": "+b)},b.registerPartial=function(a,c,d){return d||(d=c,c=a,a=Handlebars),a.registerPartial(c,b.compile(a,d))},b.parse=function(a){var c,d,e,f,g;try{return g=b.Preprocessor.processSync(a),b.Parser.parse(g)}catch(h){if(c=h,c instanceof b.Parser.SyntaxError)return e=a.split("\n"),d=e[c.line-1],f=""+c.message+"\n"+d+"\n",f+=new Array(c.column).join("-"),f+="^",b.throwCompileError(c.line,f);throw c}},b.precompile=function(a,c,d){var e;return null==d&&(d={}),b.handlebarsVariant=a,e=b.parse(c),a.precompile(e,d)},b.compile=function(a,c,d){var e;return null==d&&(d={}),b.handlebarsVariant=a,e=b.parse(c),a.compile(e,d)}},{"./emblem":3}],2:[function(a){var b,c,d,e;c=a("./emblem"),"undefined"!=typeof window&&null!==window&&(c.compileScriptTags=function(){if("undefined"==typeof Ember||null===Ember)throw new Error("Can't run Emblem.enableEmber before Ember has been defined");return"undefined"!=typeof document&&null!==document?Ember.$('script[type="text/x-emblem"], script[type="text/x-raw-emblem"]',Ember.$(document)).each(function(){var a,b,d;return b=Ember.$(this),a="text/x-raw-handlebars"===b.attr("type")?Handlebars:Ember.Handlebars,d=b.attr("data-template-name")||b.attr("id")||"application",Ember.TEMPLATES[d]=c.compile(a,b.html()),b.remove()}):void 0},window.ENV||(window.ENV={}),b=window.ENV,b.EMBER_LOAD_HOOKS||(b.EMBER_LOAD_HOOKS={}),(d=b.EMBER_LOAD_HOOKS).application||(d.application=[]),(e=b.EMBER_LOAD_HOOKS)["Ember.Application"]||(e["Ember.Application"]=[]),b.EMBER_LOAD_HOOKS.application.push(c.compileScriptTags),b.EMBER_LOAD_HOOKS["Ember.Application"].push(function(a){return a.initializer?a.initializer({name:"emblemDomTemplates",before:"registerComponents",initialize:c.compileScriptTags}):Ember.onLoad("application",c.compileScriptTags)}))},{"./emblem":3}],3:[function(a,b){var c,d=self;this.Emblem={},c=this.Emblem,c.VERSION="0.3.4",b.exports=c,"undefined"!=typeof window&&null!==window&&(window.Emblem=c),d.Emblem=c,a("./parser"),a("./compiler"),a("./preprocessor"),a("./emberties")},{"./compiler":1,"./emberties":2,"./parser":4,"./preprocessor":5}],4:[function(a,b){var c=a("./emblem");c.Parser=function(){function a(a,b){function c(){this.constructor=a}c.prototype=b.prototype,a.prototype=new c}function b(a,b,c,d,e){function f(a,b){function c(a){function b(a){return a.charCodeAt(0).toString(16).toUpperCase()}return a.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(a){return"\\x0"+b(a)}).replace(/[\x10-\x1F\x80-\xFF]/g,function(a){return"\\x"+b(a)}).replace(/[\u0180-\u0FFF]/g,function(a){return"\\u0"+b(a)}).replace(/[\u1080-\uFFFF]/g,function(a){return"\\u"+b(a)})}var d,e;switch(a.length){case 0:d="end of input";break;case 1:d=a[0];break;default:d=a.slice(0,-1).join(", ")+" or "+a[a.length-1]}return e=b?'"'+c(b)+'"':"end of input","Expected "+d+" but "+e+" found."}this.expected=a,this.found=b,this.offset=c,this.line=d,this.column=e,this.name="SyntaxError",this.message=f(a,b)}function d(a){function d(b){function c(b,c,d){var e,f;for(e=c;d>e;e++)f=a.charAt(e),"\n"===f?(b.seenCR||b.line++,b.column=1,b.seenCR=!1):"\r"===f||"\u2028"===f||"\u2029"===f?(b.line++,b.column=1,b.seenCR=!0):(b.column++,b.seenCR=!1)}return Of!==b&&(Of>b&&(Of=0,Pf={line:1,column:1,seenCR:!1}),c(Pf,Of,b),Of=b),Pf}function e(a){Qf>Mf||(Mf>Qf&&(Qf=Mf,Rf=[]),Rf.push(a))}function f(a){var b=0;for(a.sort();b<a.length;)a[b-1]===a[b]?a.splice(b,1):b++}function g(){var a;return a=h()}function h(){var a,b,c,d,e,f,g,h,k;return a=Mf,b=j(),null!==b?(c=Mf,d=_b(),null!==d?(e=i(),null!==e?(f=ec(),null!==f?(g=bc(),null!==g?(h=Zb(),null!==h?(k=j(),null!==k?(Nf=c,d=qc(k),null===d?(Mf=c,c=d):c=d):(Mf=c,c=oc)):(Mf=c,c=oc)):(Mf=c,c=oc)):(Mf=c,c=oc)):(Mf=c,c=oc)):(Mf=c,c=oc),null===c&&(c=pc),null!==c?(Nf=a,b=rc(b,c),null===b?(Mf=a,a=b):a=b):(Mf=a,a=oc)):(Mf=a,a=oc),a}function i(){var b,c,d,f;return b=Mf,c=Mf,61===a.charCodeAt(Mf)?(d=sc,Mf++):(d=null,0===Sf&&e(tc)),null!==d?(f=ec(),null!==f?(d=[d,f],c=d):(Mf=c,c=oc)):(Mf=c,c=oc),null===c&&(c=pc),null!==c?(a.substr(Mf,4)===uc?(d=uc,Mf+=4):(d=null,0===Sf&&e(vc)),null!==d?(c=[c,d],b=c):(Mf=b,b=oc)):(Mf=b,b=oc),b}function j(){var a,b,c;for(a=Mf,b=[],c=k();null!==c;)b.push(c),c=k();return null!==b&&(Nf=a,b=wc(b)),null===b?(Mf=a,a=b):a=b,a}function k(){var a,b;return Sf++,a=m(),null===a&&(a=r(),null===a&&(a=l())),Sf--,null===a&&(b=null,0===Sf&&e(xc)),a}function l(){var a,b;return Sf++,a=n(),null===a&&(a=y(),null===a&&(a=_(),null===a&&(a=p()))),Sf--,null===a&&(b=null,0===Sf&&e(yc)),a}function m(){var a,b,c;return a=Mf,b=ec(),null!==b?(c=bc(),null!==c?(Nf=a,b=zc(),null===b?(Mf=a,a=b):a=b):(Mf=a,a=oc)):(Mf=a,a=oc),a}function n(){var b,c,d,f,g,h,i;if(b=Mf,62===a.charCodeAt(Mf)?(c=Ac,Mf++):(c=null,0===Sf&&e(Bc)),null!==c)if(d=ec(),null!==d)if(f=o(),null!==f){for(g=[],h=I();null!==h;)g.push(h),h=I();null!==g?(h=ec(),null!==h?(i=bc(),null!==i?(Nf=b,c=Cc(f,g),null===c?(Mf=b,b=c):b=c):(Mf=b,b=oc)):(Mf=b,b=oc)):(Mf=b,b=oc)}else Mf=b,b=oc;else Mf=b,b=oc;else Mf=b,b=oc;return b}function o(){var b,c,d,f;if(b=Mf,c=Mf,d=[],Dc.test(a.charAt(Mf))?(f=a.charAt(Mf),Mf++):(f=null,0===Sf&&e(Ec)),null!==f)for(;null!==f;)d.push(f),Dc.test(a.charAt(Mf))?(f=a.charAt(Mf),Mf++):(f=null,0===Sf&&e(Ec));else d=oc;return null!==d&&(d=a.substring(c,Mf)),c=d,null!==c&&(Nf=b,c=Fc(c)),null===c?(Mf=b,b=c):b=c,b}function p(){var a,b;return a=Mf,b=C(),null===b&&(b=t()),null!==b&&(Nf=a,b=Gc(b)),null===b?(Mf=a,a=b):a=b,a}function q(){var a,b,c,d,e,f,g,h;if(a=Mf,b=hc(),null!==b)if(c=bc(),null!==c){if(d=[],e=Mf,f=Zb(),null!==f){if(g=[],h=q(),null!==h)for(;null!==h;)g.push(h),h=q();else g=oc;null!==g?(h=cc(),null!==h?(f=[f,g,h],e=f):(Mf=e,e=oc)):(Mf=e,e=oc)}else Mf=e,e=oc;for(;null!==e;)if(d.push(e),e=Mf,f=Zb(),null!==f){if(g=[],h=q(),null!==h)for(;null!==h;)g.push(h),h=q();else g=oc;null!==g?(h=cc(),null!==h?(f=[f,g,h],e=f):(Mf=e,e=oc)):(Mf=e,e=oc)}else Mf=e,e=oc;null!==d?(Nf=a,b=zc(),null===b?(Mf=a,a=b):a=b):(Mf=a,a=oc)}else Mf=a,a=oc;else Mf=a,a=oc;return a}function r(){var b,c,d;return b=Mf,47===a.charCodeAt(Mf)?(c=Hc,Mf++):(c=null,0===Sf&&e(Ic)),null!==c?(d=q(),null!==d?(Nf=b,c=zc(),null===c?(Mf=b,b=c):b=c):(Mf=b,b=oc)):(Mf=b,b=oc),b}function s(){var b,c,d;return b=Mf,47===a.charCodeAt(Mf)?(c=Hc,Mf++):(c=null,0===Sf&&e(Ic)),null!==c?(d=hc(),null!==d?(c=[c,d],b=c):(Mf=b,b=oc)):(Mf=b,b=oc),b}function t(){var a;return a=u(),null===a&&(a=z()),a}function u(){var b,c,d;return b=Mf,c=Mf,Sf++,Jc.test(a.charAt(Mf))?(d=a.charAt(Mf),Mf++):(d=null,0===Sf&&e(Kc)),Sf--,null!==d?(Mf=c,c=pc):c=oc,null!==c?(d=z(),null!==d?(Nf=b,c=Lc(d),null===c?(Mf=b,b=c):b=c):(Mf=b,b=oc)):(Mf=b,b=oc),b}function v(){var b,c,d,f,g,h,i;if(b=Mf,32===a.charCodeAt(Mf)?(c=Mc,Mf++):(c=null,0===Sf&&e(Nc)),null!==c)if(d=ab(),null!==d){if(f=Mf,g=Zb(),null!==g){if(h=[],i=Z(),null!==i)for(;null!==i;)h.push(i),i=Z();else h=oc;null!==h?(i=_b(),null!==i?(g=[g,h,i],f=g):(Mf=f,f=oc)):(Mf=f,f=oc)}else Mf=f,f=oc;null===f&&(f=pc),null!==f?(Nf=b,c=Oc(d,f),null===c?(Mf=b,b=c):b=c):(Mf=b,b=oc)}else Mf=b,b=oc;else Mf=b,b=oc;return b}function w(){var a,b,c,d,e;for(a=Mf,b=[],c=m();null!==c;)b.push(c),c=m();return null!==b?(c=Zb(),null!==c?(d=j(),null!==d?(e=_b(),null!==e?(Nf=a,b=Pc(d),null===b?(Mf=a,a=b):a=b):(Mf=a,a=oc)):(Mf=a,a=oc)):(Mf=a,a=oc)):(Mf=a,a=oc),a}function x(){var a,b,c,d,e;return a=A(),null===a&&(a=Mf,b=ec(),null!==b?(c=C(),null!==c?(Nf=a,b=Qc(c),null===b?(Mf=a,a=b):a=b):(Mf=a,a=oc)):(Mf=a,a=oc),null===a&&(a=Mf,b=ec(),null!==b?(c=s(),null===c&&(c=pc),null!==c?(d=bc(),null!==d?(e=w(),null===e&&(e=pc),null!==e?(Nf=a,b=Pc(e),null===b?(Mf=a,a=b):a=b):(Mf=a,a=oc)):(Mf=a,a=oc)):(Mf=a,a=oc)):(Mf=a,a=oc),null===a&&(a=v()))),a}function y(){var a,b,c;return a=Mf,b=Bb(),null!==b?(c=x(),null!==c?(Nf=a,b=Rc(b,c),null===b?(Mf=a,a=b):a=b):(Mf=a,a=oc)):(Mf=a,a=oc),a}function z(){var a,b,c,d,e;return a=Mf,b=D(),null!==b?(c=ec(),null!==c?(d=s(),null===d&&(d=pc),null!==d?(e=B(),null!==e?(Nf=a,b=Sc(b,e),null===b?(Mf=a,a=b):a=b):(Mf=a,a=oc)):(Mf=a,a=oc)):(Mf=a,a=oc)):(Mf=a,a=oc),a}function h(){var a,b,c,d,e,f,g,h,k,l;if(a=Mf,b=j(),null!==b){if(c=Mf,d=_b(),null!==d)if(e=i(),null!==e)if(f=ec(),null!==f)if(g=bc(),null!==g){for(h=[],k=m();null!==k;)h.push(k),k=m();null!==h?(k=Zb(),null!==k?(l=j(),null!==l?(Nf=c,d=qc(l),null===d?(Mf=c,c=d):c=d):(Mf=c,c=oc)):(Mf=c,c=oc)):(Mf=c,c=oc)}else Mf=c,c=oc;else Mf=c,c=oc;else Mf=c,c=oc;else Mf=c,c=oc;null===c&&(c=pc),null!==c?(Nf=a,b=rc(b,c),null===b?(Mf=a,a=b):a=b):(Mf=a,a=oc)}else Mf=a,a=oc;return a}function A(){var b,c,d,f;return b=Mf,a.substr(Mf,2)===Tc?(c=Tc,Mf+=2):(c=null,0===Sf&&e(Uc)),null!==c?(d=ec(),null!==d?(f=l(),null!==f?(Nf=b,c=Pc(f),null===c?(Mf=b,b=c):b=c):(Mf=b,b=oc)):(Mf=b,b=oc)):(Mf=b,b=oc),b}function B(){var a,b,c,d,e,f,g;if(a=Mf,b=A(),null===b&&(b=_()),null!==b&&(Nf=a,b=Vc(b)),null===b?(Mf=a,a=b):a=b,null===a)if(a=Mf,b=bc(),null!==b){for(c=Mf,d=[],e=m();null!==e;)d.push(e),e=m();null!==d?(e=Zb(),null!==e?(f=h(),null!==f?(g=_b(),null!==g?(d=[d,e,f,g],c=d):(Mf=c,c=oc)):(Mf=c,c=oc)):(Mf=c,c=oc)):(Mf=c,c=oc),null===c&&(c=pc),null!==c?(Nf=a,b=Wc(c),null===b?(Mf=a,a=b):a=b):(Mf=a,a=oc)}else Mf=a,a=oc;return a}function C(){var a,b,c;return a=Mf,b=zb(),null!==b?(c=z(),null!==c?(Nf=a,b=Xc(b,c),null===b?(Mf=a,a=b):a=b):(Mf=a,a=oc)):(Mf=a,a=oc),a}function D(){var b,c,d,f,g,h;if(b=Mf,62===a.charCodeAt(Mf)?(c=Ac,Mf++):(c=null,0===Sf&&e(Bc)),null===c&&(c=pc),null!==c)if(d=ec(),null!==d)if(f=Q(),null!==f){for(g=[],h=I();null!==h;)g.push(h),h=I();null!==g?(h=J(),null===h&&(h=pc),null!==h?(Nf=b,c=Yc(c,f,g,h),null===c?(Mf=b,b=c):b=c):(Mf=b,b=oc)):(Mf=b,b=oc)}else Mf=b,b=oc;else Mf=b,b=oc;else Mf=b,b=oc;return b}function E(){var a,b,c,d;return a=Mf,b=ec(),null!==b?(c=Mf,d=Mb(),null!==d&&(Nf=c,d=Zc(d)),null===d?(Mf=c,c=d):c=d,null===c&&(c=Mf,d=Nb(),null!==d&&(Nf=c,d=$c(d)),null===d?(Mf=c,c=d):c=d,null===c&&(c=Mf,d=Ob(),null!==d&&(Nf=c,d=_c(d)),null===d?(Mf=c,c=d):c=d)),null!==c?(Nf=a,b=ad(c),null===b?(Mf=a,a=b):a=b):(Mf=a,a=oc)):(Mf=a,a=oc),a}function F(){var a;return a=G(),null===a&&(a=H()),a}function G(){var a,b,c,d;if(a=Mf,b=Nb(),null!==b){for(c=[],d=Ob();null!==d;)c.push(d),d=Ob();null!==c?(Nf=a,b=bd(b,c),null===b?(Mf=a,a=b):a=b):(Mf=a,a=oc)}else Mf=a,a=oc;return a}function H(){var a,b,c;if(a=Mf,b=[],c=Ob(),null!==c)for(;null!==c;)b.push(c),c=Ob();else b=oc;return null!==b&&(Nf=a,b=cd(b)),null===b?(Mf=a,a=b):a=b,a}function I(){var a,b;return a=Mf,b=E(),null===b&&(b=N()),null!==b&&(Nf=a,b=dd(b)),null===b?(Mf=a,a=b):a=b,a}function J(){var a,b,c;if(a=Mf,b=[],c=M(),null!==c)for(;null!==c;)b.push(c),c=M();else b=oc;return null!==b&&(Nf=a,b=ed(b)),null===b?(Mf=a,a=b):a=b,a}function K(){var b,c,d,f;if(Sf++,a.substr(Mf,2)===gd?(b=gd,Mf+=2):(b=null,0===Sf&&e(hd)),null===b&&(46===a.charCodeAt(Mf)?(b=id,Mf++):(b=null,0===Sf&&e(jd)),null===b)){if(b=Mf,c=Mf,d=[],kd.test(a.charAt(Mf))?(f=a.charAt(Mf),Mf++):(f=null,0===Sf&&e(ld)),null!==f)for(;null!==f;)d.push(f),kd.test(a.charAt(Mf))?(f=a.charAt(Mf),Mf++):(f=null,0===Sf&&e(ld));else d=oc;null!==d&&(d=a.substring(c,Mf)),c=d,null!==c?(d=Mf,Sf++,61===a.charCodeAt(Mf)?(f=sc,Mf++):(f=null,0===Sf&&e(tc)),Sf--,null===f?d=pc:(Mf=d,d=oc),null!==d?(Nf=b,c=md(c),null===c?(Mf=b,b=c):b=c):(Mf=b,b=oc)):(Mf=b,b=oc)}return Sf--,null===b&&(c=null,0===Sf&&e(fd)),b}function L(){var b,c,d;for(Sf++,b=Mf,c=[],d=Rb(),null===d&&(58===a.charCodeAt(Mf)?(d=od,Mf++):(d=null,0===Sf&&e(pd)));null!==d;)c.push(d),d=Rb(),null===d&&(58===a.charCodeAt(Mf)?(d=od,Mf++):(d=null,0===Sf&&e(pd)));return null!==c&&(c=a.substring(b,Mf)),b=c,Sf--,null===b&&(c=null,0===Sf&&e(nd)),b}function M(){var b,c,d,f,g,h;return b=Mf,c=dc(),null!==c?(d=Mf,f=L(),null!==f?(61===a.charCodeAt(Mf)?(g=sc,Mf++):(g=null,0===Sf&&e(tc)),null!==g?(h=T(),null!==h?(f=[f,g,h],d=f):(Mf=d,d=oc)):(Mf=d,d=oc)):(Mf=d,d=oc),null===d&&(d=Mf,f=L(),null!==f?(61===a.charCodeAt(Mf)?(g=sc,Mf++):(g=null,0===Sf&&e(tc)),null!==g?(h=S(),null!==h?(f=[f,g,h],d=f):(Mf=d,d=oc)):(Mf=d,d=oc)):(Mf=d,d=oc),null===d&&(d=Mf,f=L(),null!==f?(61===a.charCodeAt(Mf)?(g=sc,Mf++):(g=null,0===Sf&&e(tc)),null!==g?(h=Q(),null!==h?(f=[f,g,h],d=f):(Mf=d,d=oc)):(Mf=d,d=oc)):(Mf=d,d=oc),null===d&&(d=Mf,f=L(),null!==f?(61===a.charCodeAt(Mf)?(g=sc,Mf++):(g=null,0===Sf&&e(tc)),null!==g?(h=R(),null!==h?(f=[f,g,h],d=f):(Mf=d,d=oc)):(Mf=d,d=oc)):(Mf=d,d=oc)))),null!==d?(Nf=b,c=qd(d),null===c?(Mf=b,b=c):b=c):(Mf=b,b=oc)):(Mf=b,b=oc),b}function N(){var a,b,c;return a=Mf,b=dc(),null!==b?(c=T(),null===c&&(c=S(),null===c&&(c=Q(),null===c&&(c=R()))),null!==c?(Nf=a,b=rd(c),null===b?(Mf=a,a=b):a=b):(Mf=a,a=oc)):(Mf=a,a=oc),a}function O(){var a,b,c,d,e,f;if(a=Mf,b=K(),null!==b){for(c=[],d=Mf,e=P(),null!==e?(f=K(),null!==f?(Nf=d,e=sd(e,f),null===e?(Mf=d,d=e):d=e):(Mf=d,d=oc)):(Mf=d,d=oc);null!==d;)c.push(d),d=Mf,e=P(),null!==e?(f=K(),null!==f?(Nf=d,e=sd(e,f),null===e?(Mf=d,d=e):d=e):(Mf=d,d=oc)):(Mf=d,d=oc);null!==c?(Nf=a,b=td(b,c),null===b?(Mf=a,a=b):a=b):(Mf=a,a=oc)}else Mf=a,a=oc;return a}function P(){var b,c;return Sf++,vd.test(a.charAt(Mf))?(b=a.charAt(Mf),Mf++):(b=null,0===Sf&&e(wd)),Sf--,null===b&&(c=null,0===Sf&&e(ud)),b}function Q(){var a,b;return a=Mf,b=O(),null!==b&&(Nf=a,b=xd(b)),null===b?(Mf=a,a=b):a=b,a}function R(){var a,b;return a=Mf,b=W(),null!==b&&(Nf=a,b=yd(b)),null===b?(Mf=a,a=b):a=b,a}function S(){var a,b;return a=Mf,b=V(),null!==b&&(Nf=a,b=zd(b)),null===b?(Mf=a,a=b):a=b,a}function T(){var a,b;return a=Mf,b=U(),null!==b&&(Nf=a,b=Ad(b)),null===b?(Mf=a,a=b):a=b,a}function U(){var b,c;return Sf++,a.substr(Mf,4)===Cd?(b=Cd,Mf+=4):(b=null,0===Sf&&e(Dd)),null===b&&(a.substr(Mf,5)===Ed?(b=Ed,Mf+=5):(b=null,0===Sf&&e(Fd))),Sf--,null===b&&(c=null,0===Sf&&e(Bd)),b}function V(){var b,c,d,f,g,h;if(Sf++,b=Mf,c=Mf,d=Mf,45===a.charCodeAt(Mf)?(f=Hd,Mf++):(f=null,0===Sf&&e(Id)),null===f&&(f=pc),null!==f){if(g=[],Jd.test(a.charAt(Mf))?(h=a.charAt(Mf),Mf++):(h=null,0===Sf&&e(Kd)),null!==h)for(;null!==h;)g.push(h),Jd.test(a.charAt(Mf))?(h=a.charAt(Mf),Mf++):(h=null,0===Sf&&e(Kd));else g=oc;null!==g?(f=[f,g],d=f):(Mf=d,d=oc)}else Mf=d,d=oc;return null!==d&&(d=a.substring(c,Mf)),c=d,null!==c&&(Nf=b,c=Ld(c)),null===c?(Mf=b,b=c):b=c,Sf--,null===b&&(c=null,0===Sf&&e(Gd)),b}function W(){var b,c,d,f,g;return b=Mf,c=Mf,34===a.charCodeAt(Mf)?(d=Md,Mf++):(d=null,0===Sf&&e(Nd)),null!==d?(f=X(),null!==f?(34===a.charCodeAt(Mf)?(g=Md,Mf++):(g=null,0===Sf&&e(Nd)),null!==g?(d=[d,f,g],c=d):(Mf=c,c=oc)):(Mf=c,c=oc)):(Mf=c,c=oc),null===c&&(c=Mf,39===a.charCodeAt(Mf)?(d=Od,Mf++):(d=null,0===Sf&&e(Pd)),null!==d?(f=Y(),null!==f?(39===a.charCodeAt(Mf)?(g=Od,Mf++):(g=null,0===Sf&&e(Pd)),null!==g?(d=[d,f,g],c=d):(Mf=c,c=oc)):(Mf=c,c=oc)):(Mf=c,c=oc)),null!==c&&(Nf=b,c=Qd(c)),null===c?(Mf=b,b=c):b=c,b}function X(){var b,c,d,f,g;for(b=Mf,c=[],d=Mf,f=Mf,Sf++,g=bc(),Sf--,null===g?f=pc:(Mf=f,f=oc),null!==f?(Rd.test(a.charAt(Mf))?(g=a.charAt(Mf),Mf++):(g=null,0===Sf&&e(Sd)),null!==g?(f=[f,g],d=f):(Mf=d,d=oc)):(Mf=d,d=oc);null!==d;)c.push(d),d=Mf,f=Mf,Sf++,g=bc(),Sf--,null===g?f=pc:(Mf=f,f=oc),null!==f?(Rd.test(a.charAt(Mf))?(g=a.charAt(Mf),Mf++):(g=null,0===Sf&&e(Sd)),null!==g?(f=[f,g],d=f):(Mf=d,d=oc)):(Mf=d,d=oc);return null!==c&&(c=a.substring(b,Mf)),b=c}function Y(){var b,c,d,f,g;for(b=Mf,c=[],d=Mf,f=Mf,Sf++,g=bc(),Sf--,null===g?f=pc:(Mf=f,f=oc),null!==f?(Td.test(a.charAt(Mf))?(g=a.charAt(Mf),Mf++):(g=null,0===Sf&&e(Ud)),null!==g?(f=[f,g],d=f):(Mf=d,d=oc)):(Mf=d,d=oc);null!==d;)c.push(d),d=Mf,f=Mf,Sf++,g=bc(),Sf--,null===g?f=pc:(Mf=f,f=oc),null!==f?(Td.test(a.charAt(Mf))?(g=a.charAt(Mf),Mf++):(g=null,0===Sf&&e(Ud)),null!==g?(f=[f,g],d=f):(Mf=d,d=oc)):(Mf=d,d=oc);return null!==c&&(c=a.substring(b,Mf)),b=c}function Z(){var a,b,c,d,e;if(a=Mf,b=Zb(),null!==b)if(c=ab(),null!==c){for(d=[],e=Z();null!==e;)d.push(e),e=Z();null!==d?(e=cc(),null!==e?(Nf=a,b=Vd(b,c,d),null===b?(Mf=a,a=b):a=b):(Mf=a,a=oc)):(Mf=a,a=oc)}else Mf=a,a=oc;else Mf=a,a=oc;return null===a&&(a=ab()),a}function $(){var b,c,d;return b=Mf,Wd.test(a.charAt(Mf))?(c=a.charAt(Mf),Mf++):(c=null,0===Sf&&e(Xd)),null!==c?(32===a.charCodeAt(Mf)?(d=Mc,Mf++):(d=null,0===Sf&&e(Nc)),null===d&&(d=pc),null!==d?(Nf=b,c=md(c),null===c?(Mf=b,b=c):b=c):(Mf=b,b=oc)):(Mf=b,b=oc),null===b&&(b=Mf,c=Mf,Sf++,60===a.charCodeAt(Mf)?(d=Yd,Mf++):(d=null,0===Sf&&e(Zd)),Sf--,null!==d?(Mf=c,c=pc):c=oc,null!==c&&(Nf=b,c=$d()),null===c?(Mf=b,b=c):b=c),b}function _(){var a,b,c,d,e,f,g;if(a=Mf,b=$(),null!==b)if(c=ab(),null!==c){if(d=Mf,e=Zb(),null!==e){for(f=[],g=Z();null!==g;)f.push(g),g=Z();null!==f?(g=_b(),null!==g?(e=[e,f,g],d=e):(Mf=d,d=oc)):(Mf=d,d=oc)}else Mf=d,d=oc;null===d&&(d=pc),null!==d?(Nf=a,b=_d(b,c,d),null===b?(Mf=a,a=b):a=b):(Mf=a,a=oc)}else Mf=a,a=oc;else Mf=a,a=oc;return a}function ab(){var a,b,c,d,e,f;if(a=Mf,b=mb(),null===b&&(b=pc),null!==b){for(c=[],d=Mf,e=eb(),null!==e?(f=mb(),null===f&&(f=pc),null!==f?(e=[e,f],d=e):(Mf=d,d=oc)):(Mf=d,d=oc);null!==d;)c.push(d),d=Mf,e=eb(),null!==e?(f=mb(),null===f&&(f=pc),null!==f?(e=[e,f],d=e):(Mf=d,d=oc)):(Mf=d,d=oc);null!==c?(d=bc(),null!==d?(Nf=a,b=ae(b,c),null===b?(Mf=a,a=b):a=b):(Mf=a,a=oc)):(Mf=a,a=oc)}else Mf=a,a=oc;return a}function bb(){var b,c,d,f;return b=Mf,34===a.charCodeAt(Mf)?(c=Md,Mf++):(c=null,0===Sf&&e(Nd)),null!==c?(d=cb(),null!==d?(34===a.charCodeAt(Mf)?(f=Md,Mf++):(f=null,0===Sf&&e(Nd)),null!==f?(Nf=b,c=dd(d),null===c?(Mf=b,b=c):b=c):(Mf=b,b=oc)):(Mf=b,b=oc)):(Mf=b,b=oc),null===b&&(b=Mf,39===a.charCodeAt(Mf)?(c=Od,Mf++):(c=null,0===Sf&&e(Pd)),null!==c?(d=db(),null!==d?(39===a.charCodeAt(Mf)?(f=Od,Mf++):(f=null,0===Sf&&e(Pd)),null!==f?(Nf=b,c=dd(d),null===c?(Mf=b,b=c):b=c):(Mf=b,b=oc)):(Mf=b,b=oc)):(Mf=b,b=oc)),b}function cb(){var a,b,c,d,e,f;if(a=Mf,b=ib(),null===b&&(b=pc),null!==b){for(c=[],d=Mf,e=eb(),null!==e?(f=ib(),null===f&&(f=pc),null!==f?(e=[e,f],d=e):(Mf=d,d=oc)):(Mf=d,d=oc);null!==d;)c.push(d),d=Mf,e=eb(),null!==e?(f=ib(),null===f&&(f=pc),null!==f?(e=[e,f],d=e):(Mf=d,d=oc)):(Mf=d,d=oc);null!==c?(Nf=a,b=be(b,c),null===b?(Mf=a,a=b):a=b):(Mf=a,a=oc)}else Mf=a,a=oc;return a}function db(){var a,b,c,d,e,f;if(a=Mf,b=jb(),null===b&&(b=pc),null!==b){for(c=[],d=Mf,e=eb(),null!==e?(f=jb(),null===f&&(f=pc),null!==f?(e=[e,f],d=e):(Mf=d,d=oc)):(Mf=d,d=oc);null!==d;)c.push(d),d=Mf,e=eb(),null!==e?(f=jb(),null===f&&(f=pc),null!==f?(e=[e,f],d=e):(Mf=d,d=oc)):(Mf=d,d=oc);null!==c?(Nf=a,b=be(b,c),null===b?(Mf=a,a=b):a=b):(Mf=a,a=oc)}else Mf=a,a=oc;return a}function eb(){var a;return a=hb(),null===a&&(a=gb()),a}function fb(){var b,c,d,f,g;if(b=Mf,c=Mf,Sf++,123===a.charCodeAt(Mf)?(d=ce,Mf++):(d=null,0===Sf&&e(de)),Sf--,null===d?c=pc:(Mf=c,c=oc),null!==c){for(d=Mf,f=[],ee.test(a.charAt(Mf))?(g=a.charAt(Mf),Mf++):(g=null,0===Sf&&e(fe));null!==g;)f.push(g),ee.test(a.charAt(Mf))?(g=a.charAt(Mf),Mf++):(g=null,0===Sf&&e(fe));null!==f&&(f=a.substring(d,Mf)),d=f,null!==d?(Nf=b,c=ge(d),null===c?(Mf=b,b=c):b=c):(Mf=b,b=oc)}else Mf=b,b=oc;return b}function gb(){var a,b,c,d,e,f;return a=Mf,b=sb(),null!==b?(c=ec(),null!==c?(d=fb(),null!==d?(e=ec(),null!==e?(f=vb(),null!==f?(Nf=a,b=he(d),null===b?(Mf=a,a=b):a=b):(Mf=a,a=oc)):(Mf=a,a=oc)):(Mf=a,a=oc)):(Mf=a,a=oc)):(Mf=a,a=oc),null===a&&(a=Mf,b=xb(),null!==b?(c=ec(),null!==c?(d=fb(),null!==d?(e=ec(),null!==e?(f=yb(),null!==f?(Nf=a,b=he(d),null===b?(Mf=a,a=b):a=b):(Mf=a,a=oc)):(Mf=a,a=oc)):(Mf=a,a=oc)):(Mf=a,a=oc)):(Mf=a,a=oc)),a}function hb(){var a,b,c,d,e,f;return a=Mf,b=tb(),null!==b?(c=ec(),null!==c?(d=fb(),null!==d?(e=ec(),null!==e?(f=wb(),null!==f?(Nf=a,b=ie(d),null===b?(Mf=a,a=b):a=b):(Mf=a,a=oc)):(Mf=a,a=oc)):(Mf=a,a=oc)):(Mf=a,a=oc)):(Mf=a,a=oc),a}function ib(){var b,c,d,e;if(b=Mf,c=Mf,d=[],e=kb(),null!==e)for(;null!==e;)d.push(e),e=kb();else d=oc;return null!==d&&(d=a.substring(c,Mf)),c=d,null!==c&&(Nf=b,c=je(c)),null===c?(Mf=b,b=c):b=c,b}function jb(){var b,c,d,e;if(b=Mf,c=Mf,d=[],e=lb(),null!==e)for(;null!==e;)d.push(e),e=lb();else d=oc;return null!==d&&(d=a.substring(c,Mf)),c=d,null!==c&&(Nf=b,c=je(c)),null===c?(Mf=b,b=c):b=c,b}function kb(){var b,c,d;return b=Mf,c=Mf,Sf++,d=ob(),null===d&&(34===a.charCodeAt(Mf)?(d=Md,Mf++):(d=null,0===Sf&&e(Nd))),Sf--,null===d?c=pc:(Mf=c,c=oc),null!==c?(a.length>Mf?(d=a.charAt(Mf),Mf++):(d=null,0===Sf&&e(ke)),null!==d?(Nf=b,c=Pc(d),null===c?(Mf=b,b=c):b=c):(Mf=b,b=oc)):(Mf=b,b=oc),b}function lb(){var b,c,d;return b=Mf,c=Mf,Sf++,d=ob(),null===d&&(39===a.charCodeAt(Mf)?(d=Od,Mf++):(d=null,0===Sf&&e(Pd))),Sf--,null===d?c=pc:(Mf=c,c=oc),null!==c?(a.length>Mf?(d=a.charAt(Mf),Mf++):(d=null,0===Sf&&e(ke)),null!==d?(Nf=b,c=Pc(d),null===c?(Mf=b,b=c):b=c):(Mf=b,b=oc)):(Mf=b,b=oc),b}function mb(){var b,c,d,e;if(b=Mf,c=Mf,d=[],e=nb(),null!==e)for(;null!==e;)d.push(e),e=nb();else d=oc;return null!==d&&(d=a.substring(c,Mf)),c=d,null!==c&&(Nf=b,c=je(c)),null===c?(Mf=b,b=c):b=c,b}function nb(){var b,c,d;return b=Mf,c=Mf,Sf++,d=ob(),Sf--,null===d?c=pc:(Mf=c,c=oc),null!==c?(a.length>Mf?(d=a.charAt(Mf),Mf++):(d=null,0===Sf&&e(ke)),null!==d?(Nf=b,c=Pc(d),null===c?(Mf=b,b=c):b=c):(Mf=b,b=oc)):(Mf=b,b=oc),b}function ob(){var a;return a=tb(),null===a&&(a=sb(),null===a&&(a=xb(),null===a&&(a=cc(),null===a&&(a=bc())))),a}function pb(){var a,b,c,d,e,f;return a=Mf,b=rb(),null!==b?(c=ec(),null!==c?(d=fb(),null!==d?(e=ec(),null!==e?(f=ub(),null!==f?(Nf=a,b=he(d),null===b?(Mf=a,a=b):a=b):(Mf=a,a=oc)):(Mf=a,a=oc)):(Mf=a,a=oc)):(Mf=a,a=oc)):(Mf=a,a=oc),a}function qb(){var a;return a=pb(),null===a&&(a=hb(),null===a&&(a=gb())),a}function rb(){var b,c;return Sf++,123===a.charCodeAt(Mf)?(b=ce,Mf++):(b=null,0===Sf&&e(de)),Sf--,null===b&&(c=null,0===Sf&&e(le)),b}function sb(){var b,c;return Sf++,a.substr(Mf,2)===ne?(b=ne,Mf+=2):(b=null,0===Sf&&e(oe)),Sf--,null===b&&(c=null,0===Sf&&e(me)),b}function tb(){var b,c;return Sf++,a.substr(Mf,3)===qe?(b=qe,Mf+=3):(b=null,0===Sf&&e(re)),Sf--,null===b&&(c=null,0===Sf&&e(pe)),b}function ub(){var b,c;return Sf++,125===a.charCodeAt(Mf)?(b=te,Mf++):(b=null,0===Sf&&e(ue)),Sf--,null===b&&(c=null,0===Sf&&e(se)),b}function vb(){var b,c;return Sf++,a.substr(Mf,2)===we?(b=we,Mf+=2):(b=null,0===Sf&&e(xe)),Sf--,null===b&&(c=null,0===Sf&&e(ve)),b}function wb(){var b,c;return Sf++,a.substr(Mf,3)===ze?(b=ze,Mf+=3):(b=null,0===Sf&&e(Ae)),Sf--,null===b&&(c=null,0===Sf&&e(ye)),b}function xb(){var b,c;return Sf++,a.substr(Mf,2)===Ce?(b=Ce,Mf+=2):(b=null,0===Sf&&e(De)),Sf--,null===b&&(c=null,0===Sf&&e(Be)),b}function yb(){var b,c;return Sf++,125===a.charCodeAt(Mf)?(b=te,Mf++):(b=null,0===Sf&&e(ue)),Sf--,null===b&&(c=null,0===Sf&&e(Ee)),b}function zb(){var b,c,d;return b=Mf,a.substr(Mf,2)===Fe?(c=Fe,Mf+=2):(c=null,0===Sf&&e(Ge)),null!==c?(32===a.charCodeAt(Mf)?(d=Mc,Mf++):(d=null,0===Sf&&e(Nc)),null===d&&(d=pc),null!==d?(Nf=b,c=He(),null===c?(Mf=b,b=c):b=c):(Mf=b,b=oc)):(Mf=b,b=oc),null===b&&(b=Mf,61===a.charCodeAt(Mf)?(c=sc,Mf++):(c=null,0===Sf&&e(tc)),null!==c?(32===a.charCodeAt(Mf)?(d=Mc,Mf++):(d=null,0===Sf&&e(Nc)),null===d&&(d=pc),null!==d?(Nf=b,c=Ie(),null===c?(Mf=b,b=c):b=c):(Mf=b,b=oc)):(Mf=b,b=oc)),b}function Ab(){var b,c,d,f,g;return b=Mf,c=Ub(),null===c&&(c=pc),null!==c?(d=F(),null===d&&(d=pc),null!==d?(47===a.charCodeAt(Mf)?(f=Hc,Mf++):(f=null,0===Sf&&e(Ic)),null===f&&(f=pc),null!==f?(Nf=Mf,g=Je(c,d),g=g?pc:oc,null!==g?(c=[c,d,f,g],b=c):(Mf=b,b=oc)):(Mf=b,b=oc)):(Mf=b,b=oc)):(Mf=b,b=oc),b}function Bb(){var a,b,c,d,e;if(a=Mf,b=Ab(),null!==b){for(c=[],d=qb();null!==d;)c.push(d),d=qb();if(null!==c){for(d=[],e=Cb();null!==e;)d.push(e),e=Cb();null!==d?(Nf=a,b=Ke(b,c,d),null===b?(Mf=a,a=b):a=b):(Mf=a,a=oc)}else Mf=a,a=oc}else Mf=a,a=oc;return a}function F(){var a,b,c,d;if(a=Mf,b=[],c=Mf,d=Nb(),null!==d&&(Nf=c,d=Le(d)),null===d?(Mf=c,c=d):c=d,null===c&&(c=Mf,d=Ob(),null!==d&&(Nf=c,d=Me(d)),null===d?(Mf=c,c=d):c=d),null!==c)for(;null!==c;)b.push(c),c=Mf,d=Nb(),null!==d&&(Nf=c,d=Le(d)),null===d?(Mf=c,c=d):c=d,null===c&&(c=Mf,d=Ob(),null!==d&&(Nf=c,d=Me(d)),null===d?(Mf=c,c=d):c=d);else b=oc;return null!==b&&(Nf=a,b=Ne(b)),null===b?(Mf=a,a=b):a=b,a}function Cb(){var b,c,d;if(b=Mf,c=[],32===a.charCodeAt(Mf)?(d=Mc,Mf++):(d=null,0===Sf&&e(Nc)),null!==d)for(;null!==d;)c.push(d),32===a.charCodeAt(Mf)?(d=Mc,Mf++):(d=null,0===Sf&&e(Nc));else c=oc;return null!==c?(d=Gb(),null===d&&(d=Hb(),null===d&&(d=Jb(),null===d&&(d=Kb(),null===d&&(d=Lb())))),null!==d?(Nf=b,c=Oe(d),null===c?(Mf=b,b=c):b=c):(Mf=b,b=oc)):(Mf=b,b=oc),b}function Db(){var b;return Pe.test(a.charAt(Mf))?(b=a.charAt(Mf),Mf++):(b=null,0===Sf&&e(Qe)),null===b&&(b=Xb()),b}function Eb(){var a,b;return a=Fb(),null===a&&(a=Mf,b=Q(),null!==b&&(Nf=a,b=Re(b)),null===b?(Mf=a,a=b):a=b),a}function Fb(){var b,c,d,f,g;return b=Mf,c=Mf,34===a.charCodeAt(Mf)?(d=Md,Mf++):(d=null,0===Sf&&e(Nd)),null!==d?(f=D(),null!==f?(34===a.charCodeAt(Mf)?(g=Md,Mf++):(g=null,0===Sf&&e(Nd)),null!==g?(d=[d,f,g],c=d):(Mf=c,c=oc)):(Mf=c,c=oc)):(Mf=c,c=oc),null===c&&(c=Mf,39===a.charCodeAt(Mf)?(d=Od,Mf++):(d=null,0===Sf&&e(Pd)),null!==d?(f=D(),null!==f?(39===a.charCodeAt(Mf)?(g=Od,Mf++):(g=null,0===Sf&&e(Pd)),null!==g?(d=[d,f,g],c=d):(Mf=c,c=oc)):(Mf=c,c=oc)):(Mf=c,c=oc)),null!==c&&(Nf=b,c=Qd(c)),null===c?(Mf=b,b=c):b=c,b}function Gb(){var b,c,d,f;return b=Mf,c=Yb(),null!==c?(61===a.charCodeAt(Mf)?(d=sc,Mf++):(d=null,0===Sf&&e(tc)),null!==d?(f=Eb(),null!==f?(Nf=b,c=Se(c,f),null===c?(Mf=b,b=c):b=c):(Mf=b,b=oc)):(Mf=b,b=oc)):(Mf=b,b=oc),b}function Hb(){var b,c,d,f;return b=Mf,c=L(),null!==c?(61===a.charCodeAt(Mf)?(d=sc,Mf++):(d=null,0===Sf&&e(tc)),null!==d?(a.substr(Mf,4)===Cd?(f=Cd,Mf+=4):(f=null,0===Sf&&e(Dd)),null===f&&(a.substr(Mf,5)===Ed?(f=Ed,Mf+=5):(f=null,0===Sf&&e(Fd))),null!==f?(Nf=b,c=Te(c,f),null===c?(Mf=b,b=c):b=c):(Mf=b,b=oc)):(Mf=b,b=oc)):(Mf=b,b=oc),b}function Ib(){var b,c,d,f,g,h;if(b=Mf,123===a.charCodeAt(Mf)?(c=ce,Mf++):(c=null,0===Sf&&e(de)),null!==c)if(d=ec(),null!==d){if(f=Mf,g=[],h=Db(),null===h&&(32===a.charCodeAt(Mf)?(h=Mc,Mf++):(h=null,0===Sf&&e(Nc))),null!==h)for(;null!==h;)g.push(h),h=Db(),null===h&&(32===a.charCodeAt(Mf)?(h=Mc,Mf++):(h=null,0===Sf&&e(Nc)));else g=oc;null!==g&&(g=a.substring(f,Mf)),f=g,null!==f?(g=ec(),null!==g?(125===a.charCodeAt(Mf)?(h=te,Mf++):(h=null,0===Sf&&e(ue)),null!==h?(Nf=b,c=Ue(f),null===c?(Mf=b,b=c):b=c):(Mf=b,b=oc)):(Mf=b,b=oc)):(Mf=b,b=oc)}else Mf=b,b=oc;else Mf=b,b=oc;if(null===b){if(b=Mf,c=[],d=Db(),null!==d)for(;null!==d;)c.push(d),d=Db();else c=oc;null!==c&&(c=a.substring(b,Mf)),b=c}return b}function Jb(){var b,c,d,f,g,h;return b=Mf,c=L(),null!==c?(61===a.charCodeAt(Mf)?(d=sc,Mf++):(d=null,0===Sf&&e(tc)),null!==d?(f=Ib(),null!==f?(g=Mf,Sf++,33===a.charCodeAt(Mf)?(h=Ve,Mf++):(h=null,0===Sf&&e(We)),Sf--,null===h?g=pc:(Mf=g,g=oc),null!==g?(Nf=Mf,h=Xe(c,f),h=h?pc:oc,null!==h?(Nf=b,c=Ye(c,f),null===c?(Mf=b,b=c):b=c):(Mf=b,b=oc)):(Mf=b,b=oc)):(Mf=b,b=oc)):(Mf=b,b=oc)):(Mf=b,b=oc),b}function Kb(){var b,c,d,f;return b=Mf,c=L(),null!==c?(61===a.charCodeAt(Mf)?(d=sc,Mf++):(d=null,0===Sf&&e(tc)),null!==d?(f=Q(),null!==f?(Nf=b,c=Ze(c,f),null===c?(Mf=b,b=c):b=c):(Mf=b,b=oc)):(Mf=b,b=oc)):(Mf=b,b=oc),b}function Lb(){var b,c,d,f;return b=Mf,c=L(),null!==c?(61===a.charCodeAt(Mf)?(d=sc,Mf++):(d=null,0===Sf&&e(tc)),null!==d?(f=bb(),null!==f?(Nf=b,c=$e(c,f),null===c?(Mf=b,b=c):b=c):(Mf=b,b=oc)):(Mf=b,b=oc)):(Mf=b,b=oc),b}function Mb(){var b,c,d;return b=Mf,37===a.charCodeAt(Mf)?(c=_e,Mf++):(c=null,0===Sf&&e(af)),null!==c?(d=Pb(),null!==d?(Nf=b,c=Pc(d),null===c?(Mf=b,b=c):b=c):(Mf=b,b=oc)):(Mf=b,b=oc),b}function Nb(){var b,c,d;return b=Mf,35===a.charCodeAt(Mf)?(c=bf,Mf++):(c=null,0===Sf&&e(cf)),null!==c?(d=Pb(),null!==d?(Nf=b,c=df(d),null===c?(Mf=b,b=c):b=c):(Mf=b,b=oc)):(Mf=b,b=oc),b}function Ob(){var b,c,d;return b=Mf,46===a.charCodeAt(Mf)?(c=id,Mf++):(c=null,0===Sf&&e(jd)),null!==c?(d=Pb(),null!==d?(Nf=b,c=Pc(d),null===c?(Mf=b,b=c):b=c):(Mf=b,b=oc)):(Mf=b,b=oc),b}function Pb(){var a,b;return Sf++,a=Qb(),Sf--,null===a&&(b=null,0===Sf&&e(ef)),a}function Qb(){var b,c,d;for(b=Mf,c=[],d=Rb();null!==d;)c.push(d),d=Rb();return null!==c&&(c=a.substring(b,Mf)),b=c}function Rb(){var b;return ff.test(a.charAt(Mf))?(b=a.charAt(Mf),Mf++):(b=null,0===Sf&&e(gf)),null===b&&(b=Sb()),b}function Sb(){var b;return hf.test(a.charAt(Mf))?(b=a.charAt(Mf),Mf++):(b=null,0===Sf&&e(jf)),b}function Tb(){var b,c,d;if(b=Mf,c=[],d=Wb(),null!==d)for(;null!==d;)c.push(d),d=Wb();else c=oc;return null!==c&&(c=a.substring(b,Mf)),b=c}function Ub(){var b,c,d,f;return Sf++,b=Mf,37===a.charCodeAt(Mf)?(c=_e,Mf++):(c=null,0===Sf&&e(af)),null!==c?(d=ec(),null!==d?(f=Tb(),null!==f?(Nf=b,c=md(f),null===c?(Mf=b,b=c):b=c):(Mf=b,b=oc)):(Mf=b,b=oc)):(Mf=b,b=oc),null===b&&(b=Vb()),Sf--,null===b&&(c=null,0===Sf&&e(kf)),b}function Vb(){var a,b,c;return a=Mf,b=Tb(),null!==b?(Nf=Mf,c=lf(b),c=c?pc:oc,null!==c?(Nf=a,b=mf(b),null===b?(Mf=a,a=b):a=b):(Mf=a,a=oc)):(Mf=a,a=oc),a}function Wb(){var b;return ff.test(a.charAt(Mf))?(b=a.charAt(Mf),Mf++):(b=null,0===Sf&&e(gf)),null===b&&(b=Xb()),b}function Xb(){var b,c,d,f;return b=Mf,58===a.charCodeAt(Mf)?(c=od,Mf++):(c=null,0===Sf&&e(pd)),null!==c?(d=Mf,Sf++,32===a.charCodeAt(Mf)?(f=Mc,Mf++):(f=null,0===Sf&&e(Nc)),Sf--,null===f?d=pc:(Mf=d,d=oc),null!==d?(Nf=b,c=Pc(c),null===c?(Mf=b,b=c):b=c):(Mf=b,b=oc)):(Mf=b,b=oc),b}function Yb(){var a,b,c;return Sf++,a=Mf,b=Tb(),null!==b?(Nf=Mf,c=of(b),c=c?pc:oc,null!==c?(Nf=a,b=mf(b),null===b?(Mf=a,a=b):a=b):(Mf=a,a=oc)):(Mf=a,a=oc),Sf--,null===a&&(b=null,0===Sf&&e(nf)),a}function Zb(){var a,b,c;return a=Mf,b=$b(),null!==b?(c=dc(),null!==c?(Nf=a,b=md(c),null===b?(Mf=a,a=b):a=b):(Mf=a,a=oc)):(Mf=a,a=oc),a}function $b(){var b,c;return Sf++,b=Mf,61423===a.charCodeAt(Mf)?(c=qf,Mf++):(c=null,0===Sf&&e(rf)),null!==c&&(Nf=b,c=sf()),null===c?(Mf=b,b=c):b=c,Sf--,null===b&&(c=null,0===Sf&&e(pf)),b}function _b(){var b,c;return Sf++,b=Mf,61438===a.charCodeAt(Mf)?(c=uf,Mf++):(c=null,0===Sf&&e(vf)),null!==c&&(Nf=b,c=sf()),null===c?(Mf=b,b=c):b=c,Sf--,null===b&&(c=null,0===Sf&&e(tf)),b}function ac(){var b,c;return Sf++,b=Mf,61422===a.charCodeAt(Mf)?(c=xf,Mf++):(c=null,0===Sf&&e(yf)),null!==c&&(Nf=b,c=sf()),null===c?(Mf=b,b=c):b=c,Sf--,null===b&&(c=null,0===Sf&&e(wf)),b}function bc(){var b,c,d,f;return Sf++,b=Mf,13===a.charCodeAt(Mf)?(c=Af,Mf++):(c=null,0===Sf&&e(Bf)),null===c&&(c=pc),null!==c?(61439===a.charCodeAt(Mf)?(d=Cf,Mf++):(d=null,0===Sf&&e(Df)),null!==d?(10===a.charCodeAt(Mf)?(f=Ef,Mf++):(f=null,0===Sf&&e(Ff)),null!==f?(Nf=b,c=He(),null===c?(Mf=b,b=c):b=c):(Mf=b,b=oc)):(Mf=b,b=oc)):(Mf=b,b=oc),Sf--,null===b&&(c=null,0===Sf&&e(zf)),b}function cc(){var a,b;return Sf++,a=_b(),null===a&&(a=ac()),Sf--,null===a&&(b=null,0===Sf&&e(Gf)),a}function dc(){var b,c,d;if(Sf++,b=Mf,c=[],d=fc(),null!==d)for(;null!==d;)c.push(d),d=fc();else c=oc;return null!==c&&(c=a.substring(b,Mf)),b=c,Sf--,null===b&&(c=null,0===Sf&&e(Hf)),b}function ec(){var a,b;for(Sf++,a=[],b=fc();null!==b;)a.push(b),b=fc();return Sf--,null===a&&(b=null,0===Sf&&e(If)),a}function fc(){var b,c;return Sf++,Kf.test(a.charAt(Mf))?(b=a.charAt(Mf),Mf++):(b=null,0===Sf&&e(Lf)),Sf--,null===b&&(c=null,0===Sf&&e(Jf)),b}function gc(){var b,c,d;return b=Mf,c=Mf,Sf++,d=$b(),null===d&&(d=_b(),null===d&&(d=bc())),Sf--,null===d?c=pc:(Mf=c,c=oc),null!==c?(a.length>Mf?(d=a.charAt(Mf),Mf++):(d=null,0===Sf&&e(ke)),null!==d?(Nf=b,c=Pc(d),null===c?(Mf=b,b=c):b=c):(Mf=b,b=oc)):(Mf=b,b=oc),b}function hc(){var b,c,d;for(b=Mf,c=[],d=gc();null!==d;)c.push(d),d=gc();return null!==c&&(c=a.substring(b,Mf)),b=c}function ic(a,b,c){var d=a.hash;if(c){d=d||new Vf.HashNode([]);for(var e=0;e<c.length;++e)d.pairs.push(c[e])}var f=[a.id].concat(a.params);return f.unshift(new Vf.IdNode([{part:b}])),new Vf.MustacheNode(f,d,!a.escaped)}function jc(a,b){var c=[];a&&c.push(a);for(var d=0;d<b.length;++d){var e=b[d];c.push(e[0]),e[1]&&c.push(e[1])}return c}var kc,lc=arguments.length>1?arguments[1]:{},mc={start:g},nc=g,oc=null,pc="",qc=function(a){return a},rc=function(a,b){return new Vf.ProgramNode(a,b||[])
|
2
|
+
},sc="=",tc='"="',uc="else",vc='"else"',wc=function(a){for(var b=[],c=[],d=0;d<a.length;++d)for(var e=a[d],f=0;f<e.length;++f){var g=e[f];"content"!==g.type?(c.length&&(b.push(new Vf.ContentNode(c.join(""))),c=[]),b.push(g)):g.string&&c.push(g.string)}return c.length&&b.push(new Vf.ContentNode(c.join(""))),b},xc="BeginStatement",yc="ContentStatement",zc=function(){return[]},Ac=">",Bc='">"',Cc=function(a,b){return[new Vf.PartialNode(a,b[0])]},Dc=/^[a-zA-Z0-9_$-\/]/,Ec="[a-zA-Z0-9_$-\\/]",Fc=function(a){return new Vf.PartialNameNode(new Vf.StringNode(a))},Gc=function(a){return[a]},Hc="/",Ic='"/"',Jc=/^[A-Z]/,Kc="[A-Z]",Lc=function(a){var b="view";if(a.mustache){var c=a.mustache.id.string.charAt(0);return Uf&&c.match(/[A-Z]/)?(a.mustache=ic(a.mustache,b),a):a}var c=a.id.string.charAt(0);return Uf&&c.match(/[A-Z]/)?ic(a,b):a},Mc=" ",Nc='" "',Oc=function(a,b){if(b){b=b[1];for(var c=0,d=b.length;d>c;++c)a.push(new Vf.ContentNode(" ")),a=a.concat(b[c])}return a},Pc=function(a){return a},Qc=function(a){return[a]},Rc=function(a,b){var c=a[0];return b&&(c=c.concat(b)),a[1]&&c.push(a[1]),c},Sc=function(a,b){return b?new Vf.BlockNode(a,b,b.inverse,a.id):a},Tc=": ",Uc='": "',Vc=function(a){return new Vf.ProgramNode(a,[])},Wc=function(a){return a&&a[2]},Xc=function(a,b){var c=b.mustache||b;return c.escaped=a,b},Yc=function(a,b,c,d){if(a){var e=new Vf.PartialNameNode(new Vf.StringNode(b.string));return new Vf.PartialNode(e,c[0])}for(var f=[],g={},h=!1,i=0;i<c.length;++i){var j=c[i],k=j[0];"tagName"==k||"elementId"==k||"class"==k?(h=!0,g[k]=g[k]||[],g[k].push(j[1])):f.push(j)}if(h){d=d||new Vf.HashNode([]);for(var l in g)g.hasOwnProperty(l)&&d.pairs.push([l,new Vf.StringNode(g[l].join(" "))])}f.unshift(b);var m=new Vf.MustacheNode(f,d),n=b._emblemSuffixModifier;return"!"===n?ic(m,"unbound"):"?"===n?ic(m,"if"):"^"===n?ic(m,"unless"):m},Zc=function(a){return["tagName",a]},$c=function(a){return["elementId",a]},_c=function(a){return["class",a]},ad=function(a){return a},bd=function(a,b){return[a,b]},cd=function(a){return[null,a]},dd=function(a){return a},ed=function(a){return new Vf.HashNode(a)},fd="PathIdent",gd="..",hd='".."',id=".",jd='"."',kd=/^[a-zA-Z0-9_$\-!?\^]/,ld="[a-zA-Z0-9_$\\-!?\\^]",md=function(a){return a},nd="Key",od=":",pd='":"',qd=function(a){return[a[0],a[2]]},rd=function(a){return a},sd=function(a,b){return{part:b,separator:a}},td=function(a,b){for(var c=[{part:a}],d=0;d<b.length;++d)c.push(b[d]);return c},ud="PathSeparator",vd=/^[\/.]/,wd="[\\/.]",xd=function(a){var b,c,d=a[a.length-1];(b=d.part.match(/[!\?\^]$/))&&(c=b[0],d.part=d.part.slice(0,-1));var e=new Vf.IdNode(a);return e._emblemSuffixModifier=c,e},yd=function(a){return new Vf.StringNode(a)},zd=function(a){return new Vf.IntegerNode(a)},Ad=function(a){return new Vf.BooleanNode(a)},Bd="Boolean",Cd="true",Dd='"true"',Ed="false",Fd='"false"',Gd="Integer",Hd="-",Id='"-"',Jd=/^[0-9]/,Kd="[0-9]",Ld=function(a){return parseInt(a)},Md='"',Nd='"\\""',Od="'",Pd='"\'"',Qd=function(a){return a[1]},Rd=/^[^"}]/,Sd='[^"}]',Td=/^[^'}]/,Ud="[^'}]",Vd=function(a,b,c){b.unshift(new Vf.ContentNode(a));for(var d=0;d<c.length;++d)b.push(new Vf.ContentNode(a)),b=b.concat(c[d]),b.push("\n");return b},Wd=/^[|`']/,Xd="[|`']",Yd="<",Zd='"<"',$d=function(){return"<"},_d=function(a,b,c){if((b.length||!c)&&b.push("\n"),c){c=c[1];for(var d=0;d<c.length;++d)b=b.concat(c[d]),b.push("\n")}for(var e=[],f="`"!==a,d=0;d<b.length;++d){var g=b[d];"\n"==g?f||e.push(new Vf.ContentNode("\n")):e.push(g)}return"'"===a&&e.push(new Vf.ContentNode(" ")),e},ae=function(a,b){return jc(a,b)},be=function(a,b){return jc(a,b)},ce="{",de='"{"',ee=/^[^}]/,fe="[^}]",ge=function(a){return a="="+a,c.parse(a).statements[0]},he=function(a){return a.escaped=!0,a},ie=function(a){return a.escaped=!1,a},je=function(a){return new Vf.ContentNode(a)},ke="any character",le="SingleMustacheOpen",me="DoubleMustacheOpen",ne="{{",oe='"{{"',pe="TripleMustacheOpen",qe="{{{",re='"{{{"',se="SingleMustacheClose",te="}",ue='"}"',ve="DoubleMustacheClose",we="}}",xe='"}}"',ye="TripleMustacheClose",ze="}}}",Ae='"}}}"',Be="InterpolationOpen",Ce="#{",De='"#{"',Ee="InterpolationClose",Fe="==",Ge='"=="',He=function(){return!1},Ie=function(){return!0},Je=function(a,b){return a||b},Ke=function(a,b,c){var d=a[0]||"div",e=a[1]||[],f=e[0],g=e[1],h=[];h.push(new Vf.ContentNode("<"+d)),f&&h.push(new Vf.ContentNode(' id="'+f+'"')),g&&g.length&&h.push(new Vf.ContentNode(' class="'+g.join(" ")+'"'));for(var i=0;i<b.length;++i)h.push(new Vf.ContentNode(" ")),h.push(b[i]);for(var i=0;i<c.length;++i)h=h.concat(c[i]);var j=!!a[2];return Wf[d]||j?(h.push(new Vf.ContentNode(" />")),[h]):(h.push(new Vf.ContentNode(">")),[h,new Vf.ContentNode("</"+d+">")])},Le=function(a){return{shorthand:a,id:!0}},Me=function(a){return{shorthand:a}},Ne=function(a){for(var b,c=[],d=0,e=a.length;e>d;++d){var f=a[d];f.id?b=f.shorthand:c.push(f.shorthand)}return[b,c]},Oe=function(a){return a.length?[new Vf.ContentNode(" ")].concat(a):[]},Pe=/^[A-Za-z.0-9_\-]/,Qe="[A-Za-z.0-9_\\-]",Re=function(a){return new Vf.MustacheNode([a])},Se=function(a,b){return[ic(b,"action",[["on",new Vf.StringNode(a)]])]},Te=function(a,b){return"true"===b?[new Vf.ContentNode(a)]:[]},Ue=function(a){return a.replace(/ *$/,"")},Ve="!",We='"!"',Xe=function(){return Uf},Ye=function(a,b){var c=new Vf.HashNode([[a,new Vf.StringNode(b)]]),d=[new Vf.IdNode([{part:"bindAttr"}])],e=new Vf.MustacheNode(d,c);return[e]},Ze=function(a,b){var c=new Vf.MustacheNode([b]);return Uf&&"!"===b._emblemSuffixModifier&&(c=ic(c,"unbound")),[new Vf.ContentNode(a+"="+'"'),c,new Vf.ContentNode('"')]},$e=function(a,b){var c=[new Vf.ContentNode(a+"="+'"')].concat(b);return c.concat([new Vf.ContentNode('"')])},_e="%",af='"%"',bf="#",cf='"#"',df=function(a){return a},ef="CSSIdentifier",ff=/^[_a-zA-Z0-9\-]/,gf="[_a-zA-Z0-9\\-]",hf=/^[\x80-\xFF]/,jf="[\\x80-\\xFF]",kf="KnownHTMLTagName",lf=function(a){return!!Xf[a]},mf=function(a){return a},nf="a JS event",of=function(a){return!!Yf[a]},pf="INDENT",qf="\uefef",rf='"\\uEFEF"',sf=function(){return""},tf="DEDENT",uf="\ueffe",vf='"\\uEFFE"',wf="Unmatched DEDENT",xf="\uefee",yf='"\\uEFEE"',zf="LineEnd",Af="\r",Bf='"\\r"',Cf="\uefff",Df='"\\uEFFF"',Ef="\n",Ff='"\\n"',Gf="ANYDEDENT",Hf="RequiredWhitespace",If="OptionalWhitespace",Jf="InlineWhitespace",Kf=/^[ \t]/,Lf="[ \\t]",Mf=0,Nf=0,Of=0,Pf={line:1,column:1,seenCR:!1},Qf=0,Rf=[],Sf=0;if("startRule"in lc){if(!(lc.startRule in mc))throw new Error("Can't start parsing from rule \""+lc.startRule+'".');nc=mc[lc.startRule]}var Tf=c.handlebarsVariant,Uf="Ember.Handlebars"===Tf.JavaScriptCompiler.prototype.namespace,Vf=Tf.AST,Wf={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},Xf={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},Yf={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};if(kc=nc(),null!==kc&&Mf===a.length)return kc;throw f(Rf),Nf=Math.max(Mf,Qf),new b(Rf,Nf<a.length?a.charAt(Nf):null,Nf,d(Nf).line,d(Nf).column)}return a(b,Error),{SyntaxError:b,parse:d}}(),b.exports=c.Parser},{"./emblem":3}],5:[function(a){var b,c,d;d=a("StringScanner"),b=a("./emblem"),b.Preprocessor=c=function(){function a(){this.base=null,this.indents=[],this.context=[],this.context.peek=function(){return this.length?this[this.length-1]:null},this.context.err=function(a){throw new Error("Unexpected "+a)},this.output="",this.context.observe=function(a){var b;switch(b=this.peek(),a){case e:this.push(a);break;case c:b!==e&&this.err(a),this.pop();break;case"\r":"/"!==b&&this.err(a),this.pop();break;case"\n":"/"!==b&&this.err(a),this.pop();break;case"/":this.push(a);break;case"end-\\":"\\"!==b&&this.err(a),this.pop();break;default:throw new Error("undefined token observed: "+a)}return this},this.ss=this.StringScanner?new this.StringScanner(""):b.StringScanner?new b.StringScanner(""):new d("")}var c,e,f,g,h,i,j,k;return k="\\t\\x0B\\f \\xA0\\u1680\\u180E\\u2000-\\u200A\\u202F\\u205F\\u3000\\uFEFF",e="\uefef",c="\ueffe",g="\uefee",f="\uefff",h=RegExp("["+k+"\\r?\\n]*$"),i=RegExp("(?:["+k+"]*\\r?\\n)+"),a.prototype.p=function(a){return a&&(this.output+=a),a},a.prototype.scan=function(a){return this.p(this.ss.scan(a))},a.prototype.discard=function(a){return this.ss.scan(a)},j=function(a){return function(b){var d,j,l,m;for(a||(this.ss.concat(b),this.discard(i));!this.ss.eos();)switch(this.context.peek()){case null:case e:if(this.ss.bol()||this.discard(i)){if(this.discard(RegExp("["+k+"]*\\r?\\n"))){this.p(""+f+"\n");continue}if(null!=this.base){if(null==this.discard(this.base))throw new Error("inconsistent base indentation")}else d=this.discard(RegExp("["+k+"]*")),this.base=RegExp(""+d);if(0===this.indents.length)this.ss.check(RegExp("["+k+"]+"))&&(this.p(e),this.context.observe(e),this.indents.push(this.scan(RegExp("(["+k+"]+)"))));else if(l=this.indents[this.indents.length-1],j=this.ss.check(RegExp("("+l+")")))this.discard(j),this.ss.check(RegExp("(["+k+"]+)"))&&(this.p(e),this.context.observe(e),this.indents.push(j+this.scan(RegExp("(["+k+"]+)"))));else{for(;this.indents.length&&(l=this.indents[this.indents.length-1],!this.discard(RegExp("(?:"+l+")")));)this.context.observe(c),this.p(c),this.indents.pop();(m=this.discard(RegExp("["+k+"]+")))&&(this.output=this.output.slice(0,-1),this.output+=g,this.p(e),this.context.observe(e),this.indents.push(m))}}this.scan(/[^\r\n]+/),this.discard(/\r?\n/)&&this.p(""+f+"\n")}if(a){for(this.scan(h);this.context.length&&e===this.context.peek();)this.context.observe(c),this.p(c);if(this.context.length)throw new Error("Unclosed "+this.context.peek()+" at EOF")}}},a.prototype.processData=j(!1),a.prototype.processEnd=j(!0),a.processSync=function(b){var c;return b+="\n",c=new a,c.processData(b),c.processEnd(),c.output},a}()},{"./emblem":3,StringScanner:6}],6:[function(a,b){!function(){var a;a=function(){function a(a){this.str=null!=a?a:"",this.str=""+this.str,this.pos=0,this.lastMatch={reset:function(){return this.str=null,this.captures=[],this}}.reset()}return a.prototype.bol=function(){return this.pos<=0||"\n"===this.str[this.pos-1]},a.prototype.captures=function(){return this.lastMatch.captures},a.prototype.check=function(a){var b;return 0!==this.str.substr(this.pos).search(a)?(this.lastMatch.reset(),null):(b=this.str.substr(this.pos).match(a),this.lastMatch.str=b[0],this.lastMatch.captures=b.slice(1),this.lastMatch.str)},a.prototype.checkUntil=function(a){var b,c;return c=this.str.substr(this.pos).search(a),0>c?(this.lastMatch.reset(),null):(b=this.str.substr(this.pos+c).match(a),this.lastMatch.captures=b.slice(1),this.lastMatch.str=this.str.substr(this.pos,c)+b[0])},a.prototype.clone=function(){var a,b,c,d;a=new this.constructor(this.str),a.pos=this.pos,a.lastMatch={},d=this.lastMatch;for(b in d)c=d[b],a.lastMatch[b]=c;return a},a.prototype.concat=function(a){return this.str+=a,this},a.prototype.eos=function(){return this.pos===this.str.length},a.prototype.exists=function(a){var b,c;return c=this.str.substr(this.pos).search(a),0>c?(this.lastMatch.reset(),null):(b=this.str.substr(this.pos+c).match(a),this.lastMatch.str=b[0],this.lastMatch.captures=b.slice(1),c)},a.prototype.getch=function(){return this.scan(/./)},a.prototype.match=function(){return this.lastMatch.str},a.prototype.matches=function(a){return this.check(a),this.matchSize()},a.prototype.matched=function(){return null!=this.lastMatch.str},a.prototype.matchSize=function(){return this.matched()?this.match().length:null},a.prototype.peek=function(a){return this.str.substr(this.pos,a)},a.prototype.pointer=function(){return this.pos},a.prototype.setPointer=function(a){return a=+a,0>a&&(a=0),a>this.str.length&&(a=this.str.length),this.pos=a},a.prototype.reset=function(){return this.lastMatch.reset(),this.pos=0,this},a.prototype.rest=function(){return this.str.substr(this.pos)},a.prototype.scan=function(a){var b;return b=this.check(a),null!=b&&(this.pos+=b.length),b},a.prototype.scanUntil=function(a){var b;return b=this.checkUntil(a),null!=b&&(this.pos+=b.length),b},a.prototype.skip=function(a){return this.scan(a),this.matchSize()},a.prototype.skipUntil=function(a){return this.scanUntil(a),this.matchSize()},a.prototype.string=function(){return this.str},a.prototype.terminate=function(){return this.pos=this.str.length,this.lastMatch.reset(),this},a.prototype.toString=function(){return"#<StringScanner "+(this.eos()?"fin":""+this.pos+"/"+this.str.length+" @ "+(this.str.length>8?""+this.str.substr(0,5)+"...":this.str))+">"},a}(),a.prototype.beginningOfLine=a.prototype.bol,a.prototype.clear=a.prototype.terminate,a.prototype.dup=a.prototype.clone,a.prototype.endOfString=a.prototype.eos,a.prototype.exist=a.prototype.exists,a.prototype.getChar=a.prototype.getch,a.prototype.position=a.prototype.pointer,a.StringScanner=a,b.exports=a}.call(this)},{}]},{},[3]);
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: emblem-source
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Alex Matchneer
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-
|
11
|
+
date: 2013-11-03 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: Emblem.js source code wrapper for (pre)compilation gems.
|
14
14
|
email:
|
@@ -21,7 +21,8 @@ files:
|
|
21
21
|
- dist/emblem.min.js
|
22
22
|
- lib/emblem/source.rb
|
23
23
|
homepage: https://github.com/machty/emblem.js/
|
24
|
-
licenses:
|
24
|
+
licenses:
|
25
|
+
- MIT
|
25
26
|
metadata: {}
|
26
27
|
post_install_message:
|
27
28
|
rdoc_options: []
|