1(function(a,b){"object"===typeof exports&&exports&&"string"!==typeof exports.nodeName?b(exports):"function"===typeof define&&define.amd?define(["exports"],b):(a.Mustache={},b(a.Mustache))})(this,function(a){function b(a){return"function"===typeof a}function c(a){return u(a)?"array":typeof a}function e(a){return a.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$\x26")}function g(a,b){return null!=a&&"object"===typeof a&&b in a}function k(b,c){function g(a){"string"===typeof a&&(a=a.split(E,2));if(!u(a)|| 22!==a.length)throw Error("Invalid tags: "+a);H=RegExp(e(a[0])+"\\s*");N=RegExp("\\s*"+e(a[1]));Y=RegExp("\\s*"+e("}"+a[1]))}if(!b)return[];var k=[],r=[],t=[],w=!1,F=!1,H,N,Y;g(c||a.tags);for(var S=new q(b),O,Q,R,W;!S.eos();){O=S.pos;if(R=S.scanUntil(H)){W=0;for(var ha=R.length;W<ha;++W)if(Q=R.charAt(W),z.call(A,Q)?F=!0:t.push(r.length),r.push(["text",Q,O,O+1]),O+=1,"\n"===Q){if(w&&!F)for(;t.length;)delete r[t.pop()];else t=[];F=w=!1}}if(!S.scan(H))break;w=!0;Q=S.scan(I)||"name";S.scan(C);"\x3d"=== 3Q?(R=S.scanUntil(B),S.scan(B),S.scanUntil(N)):"{"===Q?(R=S.scanUntil(Y),S.scan(D),S.scanUntil(N),Q="\x26"):R=S.scanUntil(N);if(!S.scan(N))throw Error("Unclosed tag at "+S.pos);W=[Q,R,O,S.pos];r.push(W);if("#"===Q||"^"===Q)k.push(W);else if("/"===Q){Q=k.pop();if(!Q)throw Error('Unopened section "'+R+'" at '+O);if(Q[1]!==R)throw Error('Unclosed section "'+Q[1]+'" at '+O);}else"name"===Q||"{"===Q||"\x26"===Q?F=!0:"\x3d"===Q&&g(R)}if(Q=k.pop())throw Error('Unclosed section "'+Q[1]+'" at '+S.pos);return n(p(r))} 4function p(a){for(var b=[],c,e,g=0,k=a.length;g<k;++g)if(c=a[g])"text"===c[0]&&e&&"text"===e[0]?(e[1]+=c[1],e[3]=c[3]):(b.push(c),e=c);return b}function n(a){for(var b=[],c=b,e=[],g,k=0,n=a.length;k<n;++k)switch(g=a[k],g[0]){case "#":case "^":c.push(g);e.push(g);c=g[4]=[];break;case "/":c=e.pop();c[5]=g[2];c=0<e.length?e[e.length-1][4]:b;break;default:c.push(g)}return b}function q(a){this.tail=this.string=a;this.pos=0}function r(a,b){this.view=a;this.cache={".":this.view};this.parent=b}function t(){this.cache= 5{}}var w=Object.prototype.toString,u=Array.isArray||function(a){return"[object Array]"===w.call(a)},z=RegExp.prototype.test,A=/\S/,F={"\x26":"\x26amp;","\x3c":"\x26lt;","\x3e":"\x26gt;",'"':"\x26quot;","'":"\x26#39;","/":"\x26#x2F;","`":"\x26#x60;","\x3d":"\x26#x3D;"},C=/\s*/,E=/\s+/,B=/\s*=/,D=/\s*\}/,I=/#|\^|\/|>|\{|&|=|!/;q.prototype.eos=function(){return""===this.tail};q.prototype.scan=function(a){a=this.tail.match(a);if(!a||0!==a.index)return"";a=a[0];this.tail=this.tail.substring(a.length); 6this.pos+=a.length;return a};q.prototype.scanUntil=function(a){a=this.tail.search(a);var b;switch(a){case -1:b=this.tail;this.tail="";break;case 0:b="";break;default:b=this.tail.substring(0,a),this.tail=this.tail.substring(a)}this.pos+=b.length;return b};r.prototype.push=function(a){return new r(a,this)};r.prototype.lookup=function(a){var c=this.cache,e;if(c.hasOwnProperty(a))e=c[a];else{for(var k=this,n,p,q=!1;k;){if(0<a.indexOf("."))for(e=k.view,n=a.split("."),p=0;null!=e&&p<n.length;)p===n.length- 71&&(q=g(e,n[p])),e=e[n[p++]];else e=k.view[a],q=g(k.view,a);if(q)break;k=k.parent}c[a]=e}b(e)&&(e=e.call(this.view));return e};t.prototype.clearCache=function(){this.cache={}};t.prototype.parse=function(a,b){var c=this.cache,e=c[a];null==e&&(e=c[a]=k(a,b));return e};t.prototype.render=function(a,b,c){var e=this.parse(a);b=b instanceof r?b:new r(b);return this.renderTokens(e,b,c,a)};t.prototype.renderTokens=function(a,b,c,e){for(var g="",k,n,p,q=0,r=a.length;q<r;++q)p=void 0,k=a[q],n=k[0],"#"===n? 8p=this.renderSection(k,b,c,e):"^"===n?p=this.renderInverted(k,b,c,e):"\x3e"===n?p=this.renderPartial(k,b,c,e):"\x26"===n?p=this.unescapedValue(k,b):"name"===n?p=this.escapedValue(k,b):"text"===n&&(p=this.rawValue(k)),void 0!==p&&(g+=p);return g};t.prototype.renderSection=function(a,c,e,g){function k(a){return n.render(a,c,e)}var n=this,p="",q=c.lookup(a[1]);if(q){if(u(q))for(var r=0,t=q.length;r<t;++r)p+=this.renderTokens(a[4],c.push(q[r]),e,g);else if("object"===typeof q||"string"===typeof q||"number"=== 9typeof q)p+=this.renderTokens(a[4],c.push(q),e,g);else if(b(q)){if("string"!==typeof g)throw Error("Cannot use higher-order sections without the original template");q=q.call(c.view,g.slice(a[3],a[5]),k);null!=q&&(p+=q)}else p+=this.renderTokens(a[4],c,e,g);return p}};t.prototype.renderInverted=function(a,b,c,e){var g=b.lookup(a[1]);if(!g||u(g)&&0===g.length)return this.renderTokens(a[4],b,c,e)};t.prototype.renderPartial=function(a,c,e){if(e&&(a=b(e)?e(a[1]):e[a[1]],null!=a))return this.renderTokens(this.parse(a), 10c,e,a)};t.prototype.unescapedValue=function(a,b){var c=b.lookup(a[1]);if(null!=c)return c};t.prototype.escapedValue=function(b,c){var e=c.lookup(b[1]);if(null!=e)return a.escape(e)};t.prototype.rawValue=function(a){return a[1]};a.name="mustache.js";a.version="2.2.1";a.tags=["{{","}}"];var H=new t;a.clearCache=function(){return H.clearCache()};a.parse=function(a,b){return H.parse(a,b)};a.render=function(a,b,e){if("string"!==typeof a)throw new TypeError('Invalid template! Template should be a "string" but "'+ 11c(a)+'" was given as the first argument for mustache#render(template, view, partials)');return H.render(a,b,e)};a.to_html=function(c,e,g,k){c=a.render(c,e,g);if(b(k))k(c);else return c};a.escape=function(a){return String(a).replace(/[&<>"'`=\/]/g,function(a){return F[a]})};a.Scanner=q;a.Context=r;a.Writer=t});
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.