/*! Snakeskin v7.5.1 | https://github.com/SnakeskinTpl/Snakeskin/blob/master/LICENSE */ (function(){'use strict'; function xb(){function Oa(e){for(var a=[],b=0;b":!0},c=0;c":!0,"<":!0,"^":!0,",":!0,";":!0,"=":!0,"|":!0,"&":!0,"!":!0,"?":!0,":":!0,"(":!0,"{":!0,"[":!0},zb={"return":!0,yield:!0,await:!0,"typeof":!0,"void":!0,"instanceof":!0,"delete":!0,"in":!0,"new":!0},Eb={"(":!0,"[":!0,"{":!0},Fb={")":!0,"]":!0,"}":!0},Yc={"(":!0,"[":!0},hc={")":!0,"]":!0},ic={__STORE__:!0,__REQUIRE__:!0,__RESULT__:!0,__STRING_RESULT__:!0,__CDATA__:!0,__RETURN__:!0,__RETURN_VAL__:!0,__LENGTH__:!0,__ESCAPE_D_Q__:!0,__ATTR_STR__:!0,__ATTR_CONCAT_MAP__:!0, __TARGET_REF__:!0,__CALL_POS__:!0,__CALL_TMP__:!0,__CALL_CACHE__:!0,__FILTERS__:!0,__VARS__:!0,__LOCAL__:!0,__THIS__:!0,__INCLUDE__:!0,__INLINE_TAG__:!0,__INLINE_TAGS__:!0,__NODE__:!0,__JOIN__:!0,__GET_XML_ATTR_KEY_DECL__:!0,__APPEND_XML_ATTR_VAL__:!0,__GET_XML_ATTRS_DECL_START__:!0,__GET_XML_TAG_DECL_END__:!0,__GET_END_XML_TAG_DECL__:!0,__TARGET_END__:!0,__PUTIN_CALL__:!0,__PUTIN_TARGET__:!0,__SNAKESKIN_MODULES__:!0,__SNAKESKIN_MODULES_DECL__:!0,GLOBAL:!0,TRUE:!0,FALSE:!0,module:!0,exports:!0,require:!0, __dirname:!0,__filename:!0,TPL_NAME:!0,PARENT_TPL_NAME:!0,EOL:!0,Raw:!0,Unsafe:!0,Snakeskin:!0,getTplResult:!0,clearTplResult:!0,arguments:!0,self:!0,callee:!0,$_:!0,$0:!0,$class:!0,$tagName:!0,$attrKey:!0,$attrType:!0,$attrs:!0},rb=new RegExp("^"+T("@")+"+"),Jb=/^(?:__ESCAPER_QUOT__|__CDATA__)\d+_/,jc=[];n.forEach(Ib,function(e,a){jc.push(T(a))});var sb=new RegExp("^([^\\s]+?["+jc.join("")+"]\\(|\\()"),fa=/\r?\n|\r/,za=/\s/,Kc=/ |\t/,kc=new RegExp("^[ \\t]*(?:"+fa.source+")"),Zc=new RegExp("^(?:"+ fa.source+")[ \\t]*$"),db=/[^\s\/]/,Ab=/[a-z]/,Kb=/([^\s=]+)/,Bb=/\\/g,Cb=/'/g,Lb=/"/g,Ga=RegExp("[!$\\u0041-\\u005A\\u0061-\\u007A\\u00AA\\u00B5\\u00BA\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02C1\\u02C6-\\u02D1\\u02E0-\\u02E4\\u02EC\\u02EE\\u0370-\\u0374\\u0376\\u0377\\u037A-\\u037D\\u0386\\u0388-\\u038A\\u038C\\u038E-\\u03A1\\u03A3-\\u03F5\\u03F7-\\u0481\\u048A-\\u0525\\u0531-\\u0556\\u0559\\u0561-\\u0587\\u05D0-\\u05EA\\u05F0-\\u05F2\\u0621-\\u064A\\u066E\\u066F\\u0671-\\u06D3\\u06D5\\u06E5\\u06E6\\u06EE\\u06EF\\u06FA-\\u06FC\\u06FF\\u0710\\u0712-\\u072F\\u074D-\\u07A5\\u07B1\\u07CA-\\u07EA\\u07F4\\u07F5\\u07FA\\u0800-\\u0815\\u081A\\u0824\\u0828\\u0904-\\u0939\\u093D\\u0950\\u0958-\\u0961\\u0971\\u0972\\u0979-\\u097F\\u0985-\\u098C\\u098F\\u0990\\u0993-\\u09A8\\u09AA-\\u09B0\\u09B2\\u09B6-\\u09B9\\u09BD\\u09CE\\u09DC\\u09DD\\u09DF-\\u09E1\\u09F0\\u09F1\\u0A05-\\u0A0A\\u0A0F\\u0A10\\u0A13-\\u0A28\\u0A2A-\\u0A30\\u0A32\\u0A33\\u0A35\\u0A36\\u0A38\\u0A39\\u0A59-\\u0A5C\\u0A5E\\u0A72-\\u0A74\\u0A85-\\u0A8D\\u0A8F-\\u0A91\\u0A93-\\u0AA8\\u0AAA-\\u0AB0\\u0AB2\\u0AB3\\u0AB5-\\u0AB9\\u0ABD\\u0AD0\\u0AE0\\u0AE1\\u0B05-\\u0B0C\\u0B0F\\u0B10\\u0B13-\\u0B28\\u0B2A-\\u0B30\\u0B32\\u0B33\\u0B35-\\u0B39\\u0B3D\\u0B5C\\u0B5D\\u0B5F-\\u0B61\\u0B71\\u0B83\\u0B85-\\u0B8A\\u0B8E-\\u0B90\\u0B92-\\u0B95\\u0B99\\u0B9A\\u0B9C\\u0B9E\\u0B9F\\u0BA3\\u0BA4\\u0BA8-\\u0BAA\\u0BAE-\\u0BB9\\u0BD0\\u0C05-\\u0C0C\\u0C0E-\\u0C10\\u0C12-\\u0C28\\u0C2A-\\u0C33\\u0C35-\\u0C39\\u0C3D\\u0C58\\u0C59\\u0C60\\u0C61\\u0C85-\\u0C8C\\u0C8E-\\u0C90\\u0C92-\\u0CA8\\u0CAA-\\u0CB3\\u0CB5-\\u0CB9\\u0CBD\\u0CDE\\u0CE0\\u0CE1\\u0D05-\\u0D0C\\u0D0E-\\u0D10\\u0D12-\\u0D28\\u0D2A-\\u0D39\\u0D3D\\u0D60\\u0D61\\u0D7A-\\u0D7F\\u0D85-\\u0D96\\u0D9A-\\u0DB1\\u0DB3-\\u0DBB\\u0DBD\\u0DC0-\\u0DC6\\u0E01-\\u0E30\\u0E32\\u0E33\\u0E40-\\u0E46\\u0E81\\u0E82\\u0E84\\u0E87\\u0E88\\u0E8A\\u0E8D\\u0E94-\\u0E97\\u0E99-\\u0E9F\\u0EA1-\\u0EA3\\u0EA5\\u0EA7\\u0EAA\\u0EAB\\u0EAD-\\u0EB0\\u0EB2\\u0EB3\\u0EBD\\u0EC0-\\u0EC4\\u0EC6\\u0EDC\\u0EDD\\u0F00\\u0F40-\\u0F47\\u0F49-\\u0F6C\\u0F88-\\u0F8B\\u1000-\\u102A\\u103F\\u1050-\\u1055\\u105A-\\u105D\\u1061\\u1065\\u1066\\u106E-\\u1070\\u1075-\\u1081\\u108E\\u10A0-\\u10C5\\u10D0-\\u10FA\\u10FC\\u1100-\\u1248\\u124A-\\u124D\\u1250-\\u1256\\u1258\\u125A-\\u125D\\u1260-\\u1288\\u128A-\\u128D\\u1290-\\u12B0\\u12B2-\\u12B5\\u12B8-\\u12BE\\u12C0\\u12C2-\\u12C5\\u12C8-\\u12D6\\u12D8-\\u1310\\u1312-\\u1315\\u1318-\\u135A\\u1380-\\u138F\\u13A0-\\u13F4\\u1401-\\u166C\\u166F-\\u167F\\u1681-\\u169A\\u16A0-\\u16EA\\u1700-\\u170C\\u170E-\\u1711\\u1720-\\u1731\\u1740-\\u1751\\u1760-\\u176C\\u176E-\\u1770\\u1780-\\u17B3\\u17D7\\u17DC\\u1820-\\u1877\\u1880-\\u18A8\\u18AA\\u18B0-\\u18F5\\u1900-\\u191C\\u1950-\\u196D\\u1970-\\u1974\\u1980-\\u19AB\\u19C1-\\u19C7\\u1A00-\\u1A16\\u1A20-\\u1A54\\u1AA7\\u1B05-\\u1B33\\u1B45-\\u1B4B\\u1B83-\\u1BA0\\u1BAE\\u1BAF\\u1C00-\\u1C23\\u1C4D-\\u1C4F\\u1C5A-\\u1C7D\\u1CE9-\\u1CEC\\u1CEE-\\u1CF1\\u1D00-\\u1DBF\\u1E00-\\u1F15\\u1F18-\\u1F1D\\u1F20-\\u1F45\\u1F48-\\u1F4D\\u1F50-\\u1F57\\u1F59\\u1F5B\\u1F5D\\u1F5F-\\u1F7D\\u1F80-\\u1FB4\\u1FB6-\\u1FBC\\u1FBE\\u1FC2-\\u1FC4\\u1FC6-\\u1FCC\\u1FD0-\\u1FD3\\u1FD6-\\u1FDB\\u1FE0-\\u1FEC\\u1FF2-\\u1FF4\\u1FF6-\\u1FFC\\u2071\\u207F\\u2090-\\u2094\\u2102\\u2107\\u210A-\\u2113\\u2115\\u2119-\\u211D\\u2124\\u2126\\u2128\\u212A-\\u212D\\u212F-\\u2139\\u213C-\\u213F\\u2145-\\u2149\\u214E\\u2183\\u2184\\u2C00-\\u2C2E\\u2C30-\\u2C5E\\u2C60-\\u2CE4\\u2CEB-\\u2CEE\\u2D00-\\u2D25\\u2D30-\\u2D65\\u2D6F\\u2D80-\\u2D96\\u2DA0-\\u2DA6\\u2DA8-\\u2DAE\\u2DB0-\\u2DB6\\u2DB8-\\u2DBE\\u2DC0-\\u2DC6\\u2DC8-\\u2DCE\\u2DD0-\\u2DD6\\u2DD8-\\u2DDE\\u2E2F\\u3005\\u3006\\u3031-\\u3035\\u303B\\u303C\\u3041-\\u3096\\u309D-\\u309F\\u30A1-\\u30FA\\u30FC-\\u30FF\\u3105-\\u312D\\u3131-\\u318E\\u31A0-\\u31B7\\u31F0-\\u31FF\\u3400-\\u4DB5\\u4E00-\\u9FCB\\uA000-\\uA48C\\uA4D0-\\uA4FD\\uA500-\\uA60C\\uA610-\\uA61F\\uA62A\\uA62B\\uA640-\\uA65F\\uA662-\\uA66E\\uA67F-\\uA697\\uA6A0-\\uA6E5\\uA717-\\uA71F\\uA722-\\uA788\\uA78B\\uA78C\\uA7FB-\\uA801\\uA803-\\uA805\\uA807-\\uA80A\\uA80C-\\uA822\\uA840-\\uA873\\uA882-\\uA8B3\\uA8F2-\\uA8F7\\uA8FB\\uA90A-\\uA925\\uA930-\\uA946\\uA960-\\uA97C\\uA984-\\uA9B2\\uA9CF\\uAA00-\\uAA28\\uAA40-\\uAA42\\uAA44-\\uAA4B\\uAA60-\\uAA76\\uAA7A\\uAA80-\\uAAAF\\uAAB1\\uAAB5\\uAAB6\\uAAB9-\\uAABD\\uAAC0\\uAAC2\\uAADB-\\uAADD\\uABC0-\\uABE2\\uAC00-\\uD7A3\\uD7B0-\\uD7C6\\uD7CB-\\uD7FB\\uF900-\\uFA2D\\uFA30-\\uFA6D\\uFA70-\\uFAD9\\uFB00-\\uFB06\\uFB13-\\uFB17\\uFB1D\\uFB1F-\\uFB28\\uFB2A-\\uFB36\\uFB38-\\uFB3C\\uFB3E\\uFB40\\uFB41\\uFB43\\uFB44\\uFB46-\\uFBB1\\uFBD3-\\uFD3D\\uFD50-\\uFD8F\\uFD92-\\uFDC7\\uFDF0-\\uFDFB\\uFE70-\\uFE74\\uFE76-\\uFEFC\\uFF21-\\uFF3A\\uFF41-\\uFF5A\\uFF66-\\uFFBE\\uFFC2-\\uFFC7\\uFFCA-\\uFFCF\\uFFD2-\\uFFD7\\uFFDA-\\uFFDC_]"), K=n.Filters;n.importFilters=function(e,a){var b=K;a&&n.forEach(a.split("."),function(d){b[d]=b[d]||{};b=b[d]});n.forEach(e,function(d,f){return b[f]=d});return this};n.setFilterParams=function(e,a){function b(g,c){for(var h,m=arguments.length,l=Array(2":">"},$c=/[<>"'/]|&(?!#|[a-z]+;)/g,Ac={"'":"'","/":"/","&":"&",">":">","<":"<",""":'"'},ad=/&|<|>|"|'|//g;K.html=function(e,a,b,d,f){return!e||e instanceof n.Node?e:e instanceof n.HTMLObject?(n.forEach(e.value,function(g,c,h){e.attr?d[c]=h[c]=g[0]!==f?[K.html(g[0],a,e.attr,d,f)]:g:h[c]=K.html(g,a)}),e):ra(a)&&e instanceof a?e.value:String(b?K[b](e): e).replace($c,Bc)};n.setFilterParams("html",{bind:["Unsafe","$attrType",function(e){return e.getVar("$attrs")},"TRUE"],test:function(e){return Za(e)}});K.htmlObject=function(e){return e instanceof n.HTMLObject?"":e};n.setFilterParams("htmlObject",{test:function(e){return Za(e)}});K.undef=function(e){return void 0!==e?e:""};n.setFilterParams("undef",{test:function(e){return Za(e,{"false":!0,"null":!0,"true":!0})}});K.uhtml=function(e){return String(e).replace(ad,zc)};var bd=/<\/?[^>]+>/g;K.stripTags= function(e){return String(e).replace(bd,"")};var cd=/%5B/g,dd=/%5D/g;K.uri=function(e){return encodeURI(String(e)).replace(cd,"[").replace(dd,"]")};n.setFilterParams("uri",{safe:!0});K.upper=function(e){return String(e).toUpperCase()};n.setFilterParams("upper",{safe:!0});K.ucfirst=function(e){e=String(e);return e.charAt(0).toUpperCase()+e.slice(1)};n.setFilterParams("ucfirst",{safe:!0});K.lower=function(e){return String(e).toLowerCase()};n.setFilterParams("lower",{safe:!0});K.lcfirst=function(e){e= String(e);return e.charAt(0).toLowerCase()+e.slice(1)};n.setFilterParams("lcfirst",{safe:!0});K.trim=function(e){return String(e).trim()};n.setFilterParams("trim",{safe:!0});var ed=/\s{2,}/g;K.collapse=function(e){return String(e).replace(ed," ").trim()};n.setFilterParams("collapse",{safe:!0});K.truncate=function(e,a,b,d){e=String(e);if(!e||e.length<=a)return e;e=e.slice(0,a-1);a=e.length;for(var f=void 0;a--&&b;)if(" "===e.charAt(a))f=a;else if(void 0!==f)break;return(void 0!==f?e.slice(0,f):e)+ (d?"…":"\u2026")};K.repeat=function(e,a){return Array(null!=a?a+1:3).join(e)};n.setFilterParams("repeat",{safe:!0});K.remove=function(e,a){return String(e).replace(a,"")};K.replace=function(e,a,b){return String(e).replace(a,b)};var fd=/\${(.*?)}/g;K.tpl=function(e,a){return String(e).replace(fd,function(b,d){return d in a?a[d]:""})};K.json=function(e){return JSON.stringify(e)};K.string=function(e){return"object"===("undefined"===typeof e?"undefined":Ua(e))&&!1===e instanceof String?JSON.stringify(e): String(e)};K.parse=function(e){return Pa(e)?JSON.parse(e):e};K["default"]=function(e,a){return void 0===e?a:e};n.setFilterParams("default",{"!undef":!0});var gd=/\r?\n|\n/g;K.nl2br=function(e,a,b,d,f){e=e.split(gd);for(var g="",c=0;c")):(n.appendChild(a,h,b),m||n.appendChild(a,new n.Element("br",b),b))}return g};n.setFilterParams("nl2br",{"!html":!0,bind:["$0",function(e){return"'"+e.renderMode+"'"}, function(e){return e.stringResult},"$0",function(e){return"'"+e.doctype+"'"}]});K.attrKey=function(e){return(e=Kb.exec(String(e)))&&e[1]||"undefined"};K.attrKeyGroup=function(e){return(e=Kb.exec(String(e)))&&e[1]||""};var hd=/(javascript)(:|;)/g;K.attrValue=function(e){return String(e).replace(hd,"$1$2")};K.attr=function(e,a,b,d,f,g,c){function h(l,k){k=k||"";n.forEach(l,function(p,r){if(p!==c){if(p&&p.constructor===Object)return r=K.attrKeyGroup(r),h(p,k+(!r.length||Ib[r.slice(-1)]?r:r+"-")); r=k+r;for(var q=r[0].toLowerCase(),t=1;t=eb[g])){r[x]=eb[g];var D=c.readFileSync(x,"utf8");Xa.push("#{__setFile__ "+x+"}"+(f?"#{__set__ renderAs '"+f+"'}":"")+(""+(kc.test(D)?"":d))+D+(Zc.test(D)?"":""+d+"#{__cutLine__}")+"#{__endSetFile__}")}}}catch(E){return Xa.push("#{__setError__ "+E.message+"}"),!1}}return!0};var ub={};n.group=function(a){return"@"+a};var td={},ud={},vd={},Qb={},wd={},Rb={};n.addDirective=function(a,b,d,f){function g(k){k=na(k,2);return{cache:k[0], h:k[1]}}function c(k){return null!=k?[].concat(k):[]}ub={};var h=Object.assign({},b);[g([Mb,h.trim]),g([mc,h.block]),g([hb,h.logic]),g([nc,h.text]),g([oc,h.interpolation])].forEach(function(k){var p=k.cache;k=k.h;if(p===Mb){var r=void 0;switch(k){case !0:r={left:!0,right:!0};break;case !1:r={left:!1,right:!1}}p[a]=r}else p[a]=!!k});[g([Ka,h.group]),g([ua,h.with]),g([va,h.parents]),g([wa,h.endFor])].forEach(function(k){var p=k.cache;n.forEach(c(k.h),function(r){if(p===Ka&&"@"===r[0])throw Error('Invalid group name "'+ r+'" (group name can\'t begin with "@"');p[r]=p[r]||{};p[r][a]=!0})});[ua,va,wa].forEach(function(k){n.forEach(k,function(p,r){if("@"===r[0]){var q=k[r];n.forEach(Ka[r.slice(1)],function(t,v){k[v]=k[v]||{};n.forEach(q,function(u,y){return k[v][y]=!0})})}})});[g([va,h.children]),g([wa,h.endsWith])].forEach(function(k){var p=k.cache;c(k.h).forEach(function(r){p[a]=p[a]||{};p[a][r]=!0})});[va,wa].forEach(function(k){n.forEach(k,function(p){n.forEach(p,function(r,q){"@"===q[0]&&n.forEach(Ka[q.slice(1)], function(t,v){return p[v]=!0})})})});g=function(k){k=na(k,3);return{cache:k[0],sa:k[1],h:k[2]}};[g([td,ud,h.placement]),g([vd,Qb,h.ancestorsBlacklist]),g([wd,Rb,h.ancestorsWhitelist])].forEach(function(k){var p=k.cache,r=k.sa;p[a]=c(k.h).reduce(function(q,t){return q[t]=[t],q},{});n.forEach(p,function(q,t){n.forEach(q,function(v,u){"@"===u[0]&&(u=u.slice(1),Ka[u]&&(q[u]=Object.keys(Ka[u])))});r[t]={};n.forEach(q,function(v){return n.forEach(v,function(u){"@"!==u[0]&&(r[t][u]=!0)})})})});n.forEach(h.shorthands, function(k,p){if(2 2)');ta[p]&&jd&&console.log('Warning: replacer "'+p+'" already exists');ta[p]=ra(k)?k:function(r){return r.replace(p,k)};"/"!==p[0]&&(Aa[p]=!0)});h.alias&&(lc[a]=a.replace(/__(.*?)__/,"$1"));(h.selfInclude=!1!==h.selfInclude)||(h.block=!0);if(h.filters){var m=f;f=function(){this.G(h.filters);m&&m.call.apply(m,[this].concat(Array.prototype.slice.call(arguments)));this.filters.pop()}}n.j[a]=function(k,p){var r=this.structure, q=this.name=this.I(a),t=r.name,v=this.getGroup("ignore")[q];switch(h.placement){case "template":if(!this.tplName)return this.error('the directive "'+q+'" can be used only within directives '+Oa(this.getGroupList("template")));break;case "global":if(r.parent)return this.error('the directive "'+q+'" can be used only within the global space')}if(h.notEmpty&&!k)return this.error('the directive "'+q+'" must have a body');if(h.async&&!this.async&&!this.outerLink)return this.error('the directive "'+q+'" can be used only within an async template'); if(h.generator&&!this.generator&&!this.outerLink)return this.error('the directive "'+q+'" can be used only within a generator template');for(var u=c(h.renderModesBlacklist),y={},A=0;Al&&(l=p+1)),c=c.slice(0,z.from+x)+D+c.slice(z.J+x),m.push({l:k,h:z.from});else if(!z)switch(u){case "block_add":if(!A.external){c+=D;break}case "block_add":case "const_add":null===p&&(p=l,l+=x),D="const_add"===u?(A.needPrfx?"#":"")+"{"+ D+"}":D,c=c.slice(0,l)+D+c.slice(l),m.push({l:D.length,h:p}),l+=D.length}}}return c};var Wb=Object.keys(Xb),xd=/([^\s]+).*/,yd=/([^\\])\/\/\/\s?.*/,Ic=new RegExp("(?:"+T("#")+"?{__&-__"+T("}")+"|)\\s*$"),Hc=/\s*$/,zd=new RegExp("("+T("#")+"|\\\\)$"),bb=void 0,$a=void 0,ab=void 0;C.prototype.ga=function(a,b){function d(v){r++;var u=a[v],y=a[v+1],A=a.substr(v,2),z=a.substr(v+1,2);if(fa.test(u)){q++;if("\r\n"===A)return"continue";c&&(1===c&&$a&&(p+="#{__&-__}"),p+=u);c++;h=!0;m=0;l=ab}else if(h)if(za.test(u))m++, l+=u,q++;else{var x="#"===u?"#":"",D=!1,E=void 0;h=!1;c=0;E=x?Aa[z]?3:Aa[y]?2:1:Aa[A]?2:1;E=a[v+E];D=!E||za.test(E);var I=void 0;E=void 0;E=x?(I="#"===u&&"{"!==y&&D)&&(ta[z]||ta[y]):(I=!(!Aa[u]&&!Aa[A])&&"{"!==u&&D)&&(ta[A]||ta[u]);y=!1;k&&(k.u=m;)if(f(k,J),!(k=k.parent))return{P:{code:p,length:r-q-1}};J.parent=k;!J.l&&k.l&&y()}y=z=void 0;w.g=w.g.replace(zd, "\\$1");if(I){if(w.Z)z=[w.g];else{z=g.replaceDangerBlocks(w.g).split(" :: ");for(y=0;y)/,Nd=/\bfunction\b/,Od=/#;/g;C.prototype.out=function(a,b){function d(O,R){var V=R===E.local;V=[V?"(":"",V?")":""];for(var ca=0;ca";b="label <"+b.valueOf()+">";var g="includes <"+(this.environment.key.length?JSON.stringify(this.environment.key):"")+">";this.result="/* "+f+", "+a+", "+b+", "+g+", generated at <"+((new Date).valueOf()+">.")+(this.eol+" "+this.result);"native"!==this.module&&(this.result+="});");return this};C.prototype.isSimpleOutput=function(){return!this.parentTplName&&!this.outerLink};C.prototype.isAdvTest=function(){return!(this.outerLink||(!this.parentTplName||this.hasParentBlock(this.getGroup("block")))&& this.parentTplName)};C.prototype.save=function(a,b){var d=b||{};b=d.iface;var f=d.jsDoc;d=d.raw;return void 0===a?!1:!this.tplName||!1!==Ob[this.tplName]||b?(d||(a=this.pasteDangerBlocks(a)),f?(b=Number(f),this.result=this.result.slice(0,b)+a+this.result.slice(b)):this.result+=a,a):!1};C.prototype.append=function(a,b){return this.isSimpleOutput()?this.save(a,b):!1};C.prototype.aa=function(a){for(;;){if(!hb[a.name]||"block"===a.name&&a.params.isCallable)return a;a=a.parent}};C.prototype.getNonLogicParent= function(){return this.structure.parent?this.aa(this.structure.parent):null};C.prototype.isLogic=function(){var a=this.structure;return hb[a.name]&&("block"!==a.name||!a.params.isCallable)};C.prototype.o=function(a,b,d){if(Array.isArray(a)){for(var f={},g=0;g=q)continue;var E=r[x],I=D.from;for(null!=D.h&&(E=E.replace(v,D.h));null!=d[I];)D=d[I],I=D.from,E=E.replace(v,D.h);d.push({from:x,O:q,h:E});break}d.push({from:x,O:q,h:r[x]});break}else d.push({from:null,O:q,h:null});else d.push(null);f.push(!q);r.push("")}else"!"===x&&(b(),p.push(""))}}}if(q)return this.error("invalid syntax"),A;a=this.bemRef;for(g=0;gP&&U++: c.needPrfx=!1);c.text&&!c.strongSpace[c.strongSpace.length-1]&&(c.sysSpace=!1,c.space=c.prevSpace=!1);I=!1;c.text=!1;!1===k&&(m=0,l=!1);p=k="";r=0;continue}}}if(m)l&&c.isSimpleOutput()&&(c.save("'"+c.$$()+";"),l=!1),aa||(da||(P=!1,"|"===B&&Ga.test(ia)?(t=!0,qa=!1,P=!0):t&&za.test(B)&&(t=!1,P=qa=!0),P||(cb[B]||zb[Y]||q&&za.test(B)&&n.j[k.trim()]?(q=!1,qa=!0,Y=""):db.test(B)&&(qa=!1),Ab.test(B)?lb+=B:(Y=lb,lb=""))),Qa[B]&&!da&&!X&&("/"!==B||qa&&k)?da=B:da&&("\\"===B||Ma)?Ma=!Ma:Qa[B]&&da===B&&!Ma&& (qa=da=!1)),k+=B,r++;else{if(E)c.save(B,{raw:!0});else if(c.tplName){if(Na.chain&&!va[Na.name].text){if(" "===B){c.space=!1;continue}c.error("text can't be used within the \""+Na.name+'"');return!1}c.startInlineDir("text");c.isSimpleOutput()&&(l||(c.save(c.$()+"'"),l=!0),c.save(Ha(B),{raw:!0}));c.inline.pop();c.structure=c.structure.parent}else{if(" "===B)continue;if(Fa&&(Aa[B]||Aa[Z])){ia=c.lines[P].length-1;L=c.ga(c.source,c.i-ia);if(L.error)return!1;c.source=c.source.slice(0,c.i-ia)+L.code+c.source.slice(c.i+ L.length-ia);c.lines[P]=c.lines[P].slice(0,-1);c.i--;continue}c.error("text can't be used in the global space");return!1}E&&!l&&(E=!1,c.space=!0)}}if(m||c.structure.parent)return c.error("missing closing or opening directives in the template"),!1;for(var ya in c.preDefs){if(!c.preDefs.hasOwnProperty(ya))break;c.error('the template "'+ya+'" is not defined');return!1}c.end(g,h);b.prettyPrint&&(c.result=ld(c.result),c.result=c.result.replace(new RegExp(fa.source,"g"),b.eol));c.result+=b.eol;b.babel&& (ka=require("babel-core"),c.result=ka.transform(c.result,b.babel).code);b.debug&&(b.debug.code=c.result,b.debug.files=c.files);if(Uc(f,b,d,g,a,c))return!1;g&&(b.cache||Ta[g])&&(Ta[g]=Object.assign(Ta[g]||{},Q({},f,{debug:b.debug,text:c.result,words:b.words})));return c.result};n.addDirective("__setError__",{group:"ignore"},function(a){this.error(this.pasteDangerBlocks(a))});n.addDirective("__appendLine__",{deferInit:!0,group:"ignore",placement:"template"},function(a){this.startInlineDir("cdata").isSimpleOutput(); a=parseInt(a,10);this.info.line+=a;for(var b=0;b":"end case",">":"case "}},function(a){this.append("case "+this.out(a,{unsafe:!0})+ ": {")},function(){this.append("} break;")});n.addDirective("default",{block:!0,group:["case","logic"]},function(){this.append("default: {")},function(){this.append("}")});var ce=G(["\n\t\t\t\t","\n\t\t\t\t__RESULT__ = ",";\n\t\t\t"],["\n\t\t\t\t","\n\t\t\t\t__RESULT__ = ",";\n\t\t\t"]),de=G(["\n\t\t\t\tyield"," ",";\n\t\t\t\t__RESULT__ = ",";\n\t\t\t"],["\n\t\t\t\tyield"," ",";\n\t\t\t\t__RESULT__ = ",";\n\t\t\t"]),ee=G("\n\t\t\t\tif (__LENGTH__(__RESULT__)) {\n\t\t\t\t\tyield, ,;\n\t\t\t\t\t__RESULT__ = ,;\n\n\t\t\t\t} else {\n\t\t\t\t\t__RESULT__ = ,;\n\t\t\t\t\tyield, ,;\n\t\t\t\t\t__RESULT__ = ,;\n\t\t\t\t}\n\t\t\t".split(","), "\n\t\t\t\tif (__LENGTH__(__RESULT__)) {\n\t\t\t\t\tyield, ,;\n\t\t\t\t\t__RESULT__ = ,;\n\n\t\t\t\t} else {\n\t\t\t\t\t__RESULT__ = ,;\n\t\t\t\t\tyield, ,;\n\t\t\t\t\t__RESULT__ = ,;\n\t\t\t\t}\n\t\t\t".split(","));n.addDirective("yield",{ancestorsBlacklist:n.group("function"),block:!0,deferInit:!0,generator:!0,group:"yield",placement:"template"},function(a){var b="";"*"===a[0]&&(b="*",a=a.slice(1));"/"===a.slice(-1)?this.startInlineDir(null,{g:a.slice(0,-1),D:b,s:!0}):(this.startDir(null,{g:a,D:b}), a||this.append(F(ce,this.declVars("__CALL_CACHE__ = __RESULT__",{sys:!0}),this.getResultDecl())))},function(){var a=this.structure.params;if(a.g)this.append("yield"+a.D+" "+this.out(a.g,{unsafe:!0})+";");else if(a.s)this.append(F(de,a.D,this.getReturnResultDecl(),this.getResultDecl()));else{var b=this.getVar("__CALL_CACHE__");this.append(F(ee,a.D,this.getReturnResultDecl(),b,b,a.D,this.getReturnResultDecl(),this.getResultDecl()))}});var fe=G(["\n\t\t\t\t","\n\t\t\t\t__RESULT__ = ",";\n\t\t\t"],["\n\t\t\t\t", "\n\t\t\t\t__RESULT__ = ",";\n\t\t\t"]),ge=G(["\n\t\t\t\tawait ",";\n\t\t\t\t__RESULT__ = ",";\n\t\t\t"],["\n\t\t\t\tawait ",";\n\t\t\t\t__RESULT__ = ",";\n\t\t\t"]),he=G("\n\t\t\t\tif (__LENGTH__(__RESULT__)) {\n\t\t\t\t\tawait ,;\n\t\t\t\t\t__RESULT__ = ,;\n\n\t\t\t\t} else {\n\t\t\t\t\t__RESULT__ = ,;\n\t\t\t\t\tawait ,;\n\t\t\t\t\t__RESULT__ = ,;\n\t\t\t\t}\n\t\t\t".split(","),"\n\t\t\t\tif (__LENGTH__(__RESULT__)) {\n\t\t\t\t\tawait ,;\n\t\t\t\t\t__RESULT__ = ,;\n\n\t\t\t\t} else {\n\t\t\t\t\t__RESULT__ = ,;\n\t\t\t\t\tawait ,;\n\t\t\t\t\t__RESULT__ = ,;\n\t\t\t\t}\n\t\t\t".split(",")); n.addDirective("await",{ancestorsBlacklist:n.group("function"),async:!0,block:!0,deferInit:!0,group:"await",placement:"template"},function(a){"/"===a.slice(-1)?this.startInlineDir(null,{g:a.slice(0,-1),s:!0}):(this.startDir(null,{g:a}),a||this.append(F(fe,this.declVars("__CALL_CACHE__ = __RESULT__",{sys:!0}),this.getResultDecl())))},function(){var a=this.structure.params;a.g?this.append("await "+this.out(a.g,{unsafe:!0})+";"):a.s?this.append(F(ge,this.getReturnResultDecl(),this.getResultDecl())): (a=this.getVar("__CALL_CACHE__"),this.append(F(he,this.getReturnResultDecl(),a,a,this.getReturnResultDecl(),this.getResultDecl())))});n.addDirective("throw",{group:["throw","exception"],notEmpty:!0},function(a){this.append("throw "+this.out(a,{unsafe:!0})+";")});n.addDirective("try",{block:!0,group:["try","exception","dynamic"]},function(){this.append("try {")},function(){this.structure.params.chain?this.append("}"):this.append("} catch (ignore) {}")});n.addDirective("catch",{group:["catch","exception", "dynamic"],notEmpty:!0,with:n.group("try")},function(a){this.structure.params.chain=!0;this.append("} catch ("+this.declVar(a)+") {")});n.addDirective("finally",{group:["finally","exception"],with:n.group("try")},function(){this.structure.params.chain=!0;this.append("} finally {")});n.addDirective("var",{block:!0,deferInit:!0,group:"var",notEmpty:!0,shorthands:{":":"var "}},function(a){var b=/^putIn\s+([^\s=,]+)$/.exec(a);b?(this.append(this.declVars(b[1])),n.j.putIn.call(this,b[1])):((b="/"===a.slice(-1))&& (a=a.slice(0,-1)),this.append(this.declVars(a)),b?this.startInlineDir():this.startDir())},function(){});n.addDirective("with",{block:!0,group:"with",logic:!0,notEmpty:!0},function(a){this.scope.push(this.out(a,{unsafe:!0}))},function(){this.scope.pop()});n.addDirective("head",{block:!0,group:["head","define"],logic:!0,placement:"global"});n.addDirective("eval",{block:!0,deferInit:!0,group:"eval",logic:!0,placement:"global"},function(){this.startDir(null,{from:this.result.length})},function(){var a= this.structure.params;a["@result"]=this.result;this.result=this.result.slice(0,a.from)});n.addDirective("ignoreWhitespaces",{group:["ignoreWhitespaces","space"],placement:"template",shorthands:{"&":"ignoreWhitespaces "}},function(){this.prevSpace=this.space=!0});n.addDirective("ignoreAllWhitespaces",{block:!0,group:["ignoreAllWhitespaces","space"],placement:"template",shorthands:{"&+":"ignoreAllWhitespaces "}},function(){this.strongSpace.push(!0)},function(){this.strongSpace.pop();this.sysSpace=Number(this.sysSpace)}); n.addDirective("unIgnoreAllWhitespaces",{block:!0,group:["unIgnoreAllWhitespaces","space"],placement:"template",shorthands:{"&-":"unIgnoreAllWhitespaces "}},function(){this.strongSpace.push(!1)},function(){this.strongSpace.pop();this.sysSpace=Number(this.sysSpace)});n.addDirective("sp",{group:["sp","space"],shorthands:{"\\":"sp "},text:!0});n.addDirective("__sp__",{group:"ignore",text:!0});n.addDirective("__&+__",{group:"ignore"},function(){this.tolerateWhitespaces||(this.sysSpace=!0)});n.addDirective("__&-__", {group:"ignore"},function(){this.tolerateWhitespaces||(1===this.sysSpace&&(this.space=!1),this.sysSpace=!1)});n.addDirective("const",{deferInit:!0,group:["const","inherit","inlineInherit"]},function(a,b){var d=b.length,f=this.tplName;if(f){var g="?"===a.slice(-1);g&&(a=a.slice(0,-1));var c=a.split("=");if(!c[1]||!c[1].trim())return this.error('invalid "'+this.name+'" declaration');var h=c[0].trim();rb.test(h)&&(h=this.out(h,{unsafe:!0}));var m=this.pasteDangerBlocks(h).replace(/\[(['"`])(.*?)\1]/g, ".$2");this.startInlineDir(null,{name:m});this.outerLink||/[.\[]/.test(h)||this.consts.push("var "+h+";");c=h+" = "+this.out(c.slice(1).join("="),{unsafe:!g});this.text=g;this.append(g?this.wrap(c):c+";");if(this.isAdvTest()){if(ea[f][m])return this.error('the constant "'+m+'" is already defined');if(this.vars[f][m])return this.error('the constant "'+m+'" is already defined as variable');if(ic[m]||Jb.test(m))return this.error("can't declare the constant \""+m+'", try another name');c=this.parentTplName; h=this.i-this.startTemplateI;var l=this.hasParent(this.getGroup("dynamic")),k=void 0;c&&(k=ea[c][m]);ea[f][m]={block:!!(l||c&&k&&k.block),from:h-d,needPrfx:this.needPrfx,A:g?"?":null,J:h};l||(Nb[f]=h+1)}}else(g=n.j.global).call.apply(g,[this].concat(Array.prototype.slice.call(arguments)))});n.addDirective("global",{group:["global","var","output"],notEmpty:!0},function(a){var b="?"===a.slice(-1);b&&(a=a.slice(0,-1));var d=Zb(a,!0);if((!d||b)&&!this.tplName)return this.error('invalid "'+this.name+'" declaration'); b?(this.text=!0,this.append(this.wrap(this.out(d.key,{unsafe:!0})+" = "+this.out(d.value)))):(a="@"!==a[0]?"@@"+a:a.replace(rb,"@@"),this.save(this.out(a,{unsafe:!0})+";"))});n.addDirective("output",{group:"output",placement:"template",text:!0},function(a){this.append(this.wrap(this.out(a)))});var ie=G(["\n\t\t\t\t","\n\t\t\t\t__STRING_RESULT__ = '';\n\t\t\t"],["\n\t\t\t\t","\n\t\t\t\t__STRING_RESULT__ = '';\n\t\t\t"]);n.addDirective("comment",{block:!0,deferInit:!0,group:["comment","tag","output"], interpolation:!0,placement:"template",selfInclude:!1,shorthands:{"/!":"end comment","'"));this.append(b)},function(){var a=this.structure.params,b=a.la?" ',basic:'',frameset:'', html:"","mathml 1.0":'',"mathml 2.0":'',mobile:'',strict:'',"svg 1.0":'', "svg 1.1 basic":'',"svg 1.1 full":'',"svg 1.1 tiny":'',transitional:'', xml:''};n.addDirective("doctype",{group:["doctype","output"],placement:"template",renderModesWhitelist:["stringConcat","stringBuffer"]},function(a){a=(a||"html").toLowerCase();var b=je[a]||"";if(!b)return this.error("invalid doctype");this.doctype="html"!==a?"xml":b;this.append(this.out("__INLINE_TAGS__ = Snakeskin.inlineTags['"+a+"'] || Snakeskin.inlineTags['html'];",{unsafe:!0})+this.wrap("'"+b+"'"))});n.addDirective("namespace",{deferInit:!0,group:"namespace", notEmpty:!0,placement:"global"},function(a){if(this.namespace)return this.error("namespace can be set only once for a file");this.environment.namespace=a=this.L(a);this.namespaces[a]?this.namespaces[a].files.push(this.info.file):this.namespaces[a]={files:[this.info.file]};this.scope.push("exports"+sa(a))});n.addDirective("decorator",{group:"decorator",notEmpty:!0,placement:"global"},function(a){this.decorators.push(this.out(a,{unsafe:!0}))});var yc=G(["['","']"],["['","']"]),ke=G(["\n\t\t\t\t\t\tif (", " instanceof Object === false) {\n\t\t\t\t\t\t\t"," = {};\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\t","\n\t\t\t\t\t"],["\n\t\t\t\t\t\tif ("," instanceof Object === false) {\n\t\t\t\t\t\t\t"," = {};\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\t","\n\t\t\t\t\t"]),le=G("\n\t\t\t\t\texports; =\n\t\t\t\t\t\tSnakeskin.decorate([\n\t\t\t\t\t\t\t;],\n\t\t\t\t\t\t\t;,\n\t\t\t\t\t\t\t; function ;;(".split(";"),"\n\t\t\t\t\texports; =\n\t\t\t\t\t\tSnakeskin.decorate([\n\t\t\t\t\t\t\t;],\n\t\t\t\t\t\t\t;,\n\t\t\t\t\t\t\t; function ;;(".split(";")), me=G(["\n\t\t\t\tvar\n\t\t\t\t\t__THIS__ = this;\n\n\t\t\t\tvar\n\t\t\t\t\tcallee = exports",",\n\t\t\t\t\tself = callee.Blocks = {};\n\n\t\t\t\tvar\n\t\t\t\t\t__INLINE_TAGS__ = Snakeskin.inlineTags['","'] || Snakeskin.inlineTags['html'],\n\t\t\t\t\t__INLINE_TAG__;\n\n\t\t\t\tvar\n\t\t\t\t\t__STRING_RESULT__;\n\n\t\t\t\t","\n\n\t\t\t\tvar\n\t\t\t\t\t$0 = ",",\n\t\t\t\t\t$class,\n\t\t\t\t\t$tagName,\n\t\t\t\t\t$attrKey,\n\t\t\t\t\t$attrType,\n\t\t\t\t\t$attrs;\n\n\t\t\t\tvar\n\t\t\t\t\t__ATTR_STR__,\n\t\t\t\t\t__ATTR_CONCAT_MAP__ = {'class': true};\n\n\t\t\t\tfunction __GET_XML_ATTR_KEY_DECL__(val, cache, empty) {\n\t\t\t\t\tif (val != null && val !== '') {\n\t\t\t\t\t\tif (!__ATTR_CONCAT_MAP__[val] || !cache[val] || cache[val][0] === TRUE) {\n\t\t\t\t\t\t\tcache[val] = [];\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tcache[val].push(empty ? TRUE : __ATTR_STR__);\n\t\t\t\t\t}\n\n\t\t\t\t\t__ATTR_STR__ = $attrType = undefined;\n\t\t\t\t}\n\n\t\t\t\tfunction __APPEND_XML_ATTR_VAL__(val) {\n\t\t\t\t\t__ATTR_STR__ = __ATTR_STR__ + (__ATTR_STR__ ? ' ' : '') + (val != null ? val : '');\n\t\t\t\t}\n\n\t\t\t\tfunction __GET_XML_ATTRS_DECL_START__(res, link, renderMode, isDOMRenderMode, stringResult) {\n\t\t\t\t\tvar __RESULT__ = res;\n\n\t\t\t\t\tif (!stringResult && isDOMRenderMode) {\n\t\t\t\t\t\tif (link !== '?') {\n\t\t\t\t\t\t\t$0 = new Snakeskin.Element(link, renderMode);\n\t\t\t\t\t\t}\n\n\t\t\t\t\t} else {\n\t\t\t\t\t\tif (link !== '?') {\n\t\t\t\t\t\t\tif (stringResult) {\n\t\t\t\t\t\t\t\t__STRING_RESULT__ += '<' + link;\n\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t", "\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\n\t\t\t\t\treturn __RESULT__;\n\t\t\t\t}\n\n\t\t\t\tfunction __GET_XML_ATTRS_DECL_END__(res, link, cache, isDOMRenderMode, stringResult, isXMLDoctype, literalBounds) {\n\t\t\t\t\tvar __RESULT__ = res;\n\n\t\t\t\t\tif (typeof link === 'undefined' || link !== '?') {\n\t\t\t\t\t\tvar base = true;\n\t\t\t\t\t\tvar set = function (el, key) {\n\t\t\t\t\t\t\tif (!base && {'class': true, 'id': true}[key]) {\n\t\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\tvar\n\t\t\t\t\t\t\t\tattr = el[0] === TRUE ? isDOMRenderMode || isXMLDoctype ? key : TRUE : el.join(' '),\n\t\t\t\t\t\t\t\twrapper = literalBounds && attr !== TRUE && attr.slice(0, 2) === '{{' && attr.slice(-2) === '}}';\n\n\t\t\t\t\t\t\tif (!isDOMRenderMode) {\n\t\t\t\t\t\t\t\tif (attr === TRUE) {\n\t\t\t\t\t\t\t\t\tattr = '';\n\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\tif (wrapper) {\n\t\t\t\t\t\t\t\t\t\tattr = '=' + literalBounds[0] + attr.slice(2, -2) + literalBounds[1];\n\n\t\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\t\tattr = '=\"' + __ESCAPE_D_Q__(attr) + '\"';\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\tif (stringResult) {\n\t\t\t\t\t\t\t\t__STRING_RESULT__ += ' ' + key + attr;\n\n\t\t\t\t\t\t\t} else if (isDOMRenderMode) {\n\t\t\t\t\t\t\t\tSnakeskin.setAttribute($0, key, attr);\n\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t", "\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t};\n\n\t\t\t\t\t\tif (cache['id']) {\n\t\t\t\t\t\t\tset(cache['id'], 'id');\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tif (cache['class']) {\n\t\t\t\t\t\t\tset(cache['class'], 'class');\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tbase = false;\n\t\t\t\t\t\tSnakeskin.forEach(cache, set);\n\t\t\t\t\t}\n\n\t\t\t\t\treturn __RESULT__;\n\t\t\t\t}\n\n\t\t\t\tfunction __GET_XML_TAG_DECL_END__(res, link, inline, inlineTag, isDOMRenderMode, stringResult, isXMLDoctype) {\n\t\t\t\t\tvar __RESULT__ = res;\n\n\t\t\t\t\tif (isDOMRenderMode) {\n\t\t\t\t\t\tif (link !== '?') {\n\t\t\t\t\t\t\t", "\n\t\t\t\t\t\t\tif (inline && !inlineTag || inlineTag === true) {\n\t\t\t\t\t\t\t\t$0 = __RESULT__[__RESULT__.length - 1];\n\n\t\t\t\t\t\t\t} else if (inlineTag && inlineTag!== true) {\n\t\t\t\t\t\t\t\t__RESULT__ = ",";\n\t\t\t\t\t\t\t\t$0 = __RESULT__[__RESULT__.length - 1];\n\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t__RESULT__.push($0);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\n\t\t\t\t\t} else {\n\t\t\t\t\t\tif (link !== '?') {\n\t\t\t\t\t\t\tif (inline && !inlineTag || inlineTag === true) {\n\t\t\t\t\t\t\t\tif (stringResult) {\n\t\t\t\t\t\t\t\t\t__STRING_RESULT__ += (isXMLDoctype ? '/' : '') + '>';\n\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\t", "\n\t\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t} else if (inlineTag && inlineTag !== true) {\n\t\t\t\t\t\t\t\t__RESULT__ = ",";\n\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\tif (stringResult) {\n\t\t\t\t\t\t\t\t\t__STRING_RESULT__ += '>';\n\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\t","\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\n\t\t\t\t\treturn __RESULT__;\n\t\t\t\t}\n\n\t\t\t\tfunction __GET_END_XML_TAG_DECL__(\n\t\t\t\t\tres,\n\t\t\t\t\tlink,\n\t\t\t\t\tinline,\n\t\t\t\t\tinlineTag,\n\t\t\t\t\tattrCache,\n\t\t\t\t\tcallCache,\n\t\t\t\t\tcallTmp,\n\t\t\t\t\tisDOMRenderMode,\n\t\t\t\t\tstringResult,\n\t\t\t\t\tisXMLDoctype,\n\t\t\t\t\tnode\n\n\t\t\t\t) {\n\t\t\t\t\tvar __RESULT__ = res;\n\n\t\t\t\t\tif (isDOMRenderMode) {\n\t\t\t\t\t\tif (link !== '?') {\n\t\t\t\t\t\t\tif (inlineTag) {\n\t\t\t\t\t\t\t\tif (inlineTag !== true) {\n\t\t\t\t\t\t\t\t\t__RESULT__ = callCache;\n\t\t\t\t\t\t\t\t\tif (inlineTag in attrCache === false && callTmp) {\n\t\t\t\t\t\t\t\t\t\tSnakeskin.setAttribute(node, inlineTag, callTmp);\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t} else if (!inline) {\n\t\t\t\t\t\t\t\t__RESULT__.pop();\n\t\t\t\t\t\t\t\t$0 = __RESULT__[__RESULT__.length - 1];\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\n\t\t\t\t\t} else {\n\t\t\t\t\t\tif (link !== '?') {\n\t\t\t\t\t\t\tif (inlineTag) {\n\t\t\t\t\t\t\t\tif (inlineTag !== true) {\n\t\t\t\t\t\t\t\t\t__RESULT__ = callCache;\n\n\t\t\t\t\t\t\t\t\tif (inlineTag in attrCache === false && callTmp) {\n\t\t\t\t\t\t\t\t\t\tif (stringResult) {\n\t\t\t\t\t\t\t\t\t\t\t__STRING_RESULT__ += ' ' + inlineTag + '=\"' + callTmp + '\"';\n\n\t\t\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\t\t\t", "\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t\t\tif (stringResult) {\n\t\t\t\t\t\t\t\t\t\t__STRING_RESULT__ += (isXMLDoctype ? '/' : '') + '>';\n\n\t\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\t\t","\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t} else if (!inline) {\n\t\t\t\t\t\t\t\tif (stringResult) {\n\t\t\t\t\t\t\t\t\t__STRING_RESULT__ += '';\n\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\t","\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\n\t\t\t\t\treturn __RESULT__;\n\t\t\t\t}\n\n\t\t\t\tfunction __TARGET_END__(res, stack, ref) {\n\t\t\t\t\tvar __RESULT__ = res;\n\n\t\t\t\t\tif (__LENGTH__(__RESULT__)) {\n\t\t\t\t\t\tstack.push({\n\t\t\t\t\t\t\tkey: undefined,\n\t\t\t\t\t\t\tvalue: Unsafe(", ")\n\t\t\t\t\t\t});\n\t\t\t\t\t}\n\n\t\t\t\t\tSnakeskin.forEach(stack, function (el) {\n\t\t\t\t\t\tref[el.key || ref.length] = el.value;\n\t\t\t\t\t});\n\n\t\t\t\t\treturn __RESULT__;\n\t\t\t\t}\n\n\t\t\t\tfunction __PUTIN_CALL__(res, pos, stack) {\n\t\t\t\t\tvar __RESULT__ = res;\n\n\t\t\t\t\tif (pos === true || !pos && __LENGTH__(__RESULT__)) {\n\t\t\t\t\t\tstack.push(Unsafe(","));\n\t\t\t\t\t\t__RESULT__ = ",";\n\t\t\t\t\t}\n\n\t\t\t\t\treturn __RESULT__;\n\t\t\t\t}\n\n\t\t\t\tfunction __PUTIN_TARGET__(res, pos, stack, key) {\n\t\t\t\t\tvar __RESULT__ = res;\n\n\t\t\t\t\tif (pos === true || !pos && __LENGTH__(__RESULT__)) {\n\t\t\t\t\t\tstack.push({\n\t\t\t\t\t\t\tkey: key,\n\t\t\t\t\t\t\tvalue: Unsafe(", ")\n\t\t\t\t\t\t});\n\n\t\t\t\t\t\t__RESULT__ = ",';\n\t\t\t\t\t}\n\n\t\t\t\t\treturn __RESULT__;\n\t\t\t\t}\n\n\t\t\t\tvar\n\t\t\t\t\t__RETURN__ = false,\n\t\t\t\t\t__RETURN_VAL__;\n\n\t\t\t\tvar\n\t\t\t\t\tTPL_NAME = "','",\n\t\t\t\t\tPARENT_TPL_NAME',',\n\t\t\t\t\tEOL = "','";\n\n\t\t\t\t',"\n\t\t\t"],["\n\t\t\t\tvar\n\t\t\t\t\t__THIS__ = this;\n\n\t\t\t\tvar\n\t\t\t\t\tcallee = exports",",\n\t\t\t\t\tself = callee.Blocks = {};\n\n\t\t\t\tvar\n\t\t\t\t\t__INLINE_TAGS__ = Snakeskin.inlineTags['", "'] || Snakeskin.inlineTags['html'],\n\t\t\t\t\t__INLINE_TAG__;\n\n\t\t\t\tvar\n\t\t\t\t\t__STRING_RESULT__;\n\n\t\t\t\t","\n\n\t\t\t\tvar\n\t\t\t\t\t$0 = ",",\n\t\t\t\t\t$class,\n\t\t\t\t\t$tagName,\n\t\t\t\t\t$attrKey,\n\t\t\t\t\t$attrType,\n\t\t\t\t\t$attrs;\n\n\t\t\t\tvar\n\t\t\t\t\t__ATTR_STR__,\n\t\t\t\t\t__ATTR_CONCAT_MAP__ = {'class': true};\n\n\t\t\t\tfunction __GET_XML_ATTR_KEY_DECL__(val, cache, empty) {\n\t\t\t\t\tif (val != null && val !== '') {\n\t\t\t\t\t\tif (!__ATTR_CONCAT_MAP__[val] || !cache[val] || cache[val][0] === TRUE) {\n\t\t\t\t\t\t\tcache[val] = [];\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tcache[val].push(empty ? TRUE : __ATTR_STR__);\n\t\t\t\t\t}\n\n\t\t\t\t\t__ATTR_STR__ = $attrType = undefined;\n\t\t\t\t}\n\n\t\t\t\tfunction __APPEND_XML_ATTR_VAL__(val) {\n\t\t\t\t\t__ATTR_STR__ = __ATTR_STR__ + (__ATTR_STR__ ? ' ' : '') + (val != null ? val : '');\n\t\t\t\t}\n\n\t\t\t\tfunction __GET_XML_ATTRS_DECL_START__(res, link, renderMode, isDOMRenderMode, stringResult) {\n\t\t\t\t\tvar __RESULT__ = res;\n\n\t\t\t\t\tif (!stringResult && isDOMRenderMode) {\n\t\t\t\t\t\tif (link !== '?') {\n\t\t\t\t\t\t\t$0 = new Snakeskin.Element(link, renderMode);\n\t\t\t\t\t\t}\n\n\t\t\t\t\t} else {\n\t\t\t\t\t\tif (link !== '?') {\n\t\t\t\t\t\t\tif (stringResult) {\n\t\t\t\t\t\t\t\t__STRING_RESULT__ += '<' + link;\n\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t", "\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\n\t\t\t\t\treturn __RESULT__;\n\t\t\t\t}\n\n\t\t\t\tfunction __GET_XML_ATTRS_DECL_END__(res, link, cache, isDOMRenderMode, stringResult, isXMLDoctype, literalBounds) {\n\t\t\t\t\tvar __RESULT__ = res;\n\n\t\t\t\t\tif (typeof link === 'undefined' || link !== '?') {\n\t\t\t\t\t\tvar base = true;\n\t\t\t\t\t\tvar set = function (el, key) {\n\t\t\t\t\t\t\tif (!base && {'class': true, 'id': true}[key]) {\n\t\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\tvar\n\t\t\t\t\t\t\t\tattr = el[0] === TRUE ? isDOMRenderMode || isXMLDoctype ? key : TRUE : el.join(' '),\n\t\t\t\t\t\t\t\twrapper = literalBounds && attr !== TRUE && attr.slice(0, 2) === '{{' && attr.slice(-2) === '}}';\n\n\t\t\t\t\t\t\tif (!isDOMRenderMode) {\n\t\t\t\t\t\t\t\tif (attr === TRUE) {\n\t\t\t\t\t\t\t\t\tattr = '';\n\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\tif (wrapper) {\n\t\t\t\t\t\t\t\t\t\tattr = '=' + literalBounds[0] + attr.slice(2, -2) + literalBounds[1];\n\n\t\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\t\tattr = '=\"' + __ESCAPE_D_Q__(attr) + '\"';\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\tif (stringResult) {\n\t\t\t\t\t\t\t\t__STRING_RESULT__ += ' ' + key + attr;\n\n\t\t\t\t\t\t\t} else if (isDOMRenderMode) {\n\t\t\t\t\t\t\t\tSnakeskin.setAttribute($0, key, attr);\n\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t", "\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t};\n\n\t\t\t\t\t\tif (cache['id']) {\n\t\t\t\t\t\t\tset(cache['id'], 'id');\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tif (cache['class']) {\n\t\t\t\t\t\t\tset(cache['class'], 'class');\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tbase = false;\n\t\t\t\t\t\tSnakeskin.forEach(cache, set);\n\t\t\t\t\t}\n\n\t\t\t\t\treturn __RESULT__;\n\t\t\t\t}\n\n\t\t\t\tfunction __GET_XML_TAG_DECL_END__(res, link, inline, inlineTag, isDOMRenderMode, stringResult, isXMLDoctype) {\n\t\t\t\t\tvar __RESULT__ = res;\n\n\t\t\t\t\tif (isDOMRenderMode) {\n\t\t\t\t\t\tif (link !== '?') {\n\t\t\t\t\t\t\t", "\n\t\t\t\t\t\t\tif (inline && !inlineTag || inlineTag === true) {\n\t\t\t\t\t\t\t\t$0 = __RESULT__[__RESULT__.length - 1];\n\n\t\t\t\t\t\t\t} else if (inlineTag && inlineTag!== true) {\n\t\t\t\t\t\t\t\t__RESULT__ = ",";\n\t\t\t\t\t\t\t\t$0 = __RESULT__[__RESULT__.length - 1];\n\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t__RESULT__.push($0);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\n\t\t\t\t\t} else {\n\t\t\t\t\t\tif (link !== '?') {\n\t\t\t\t\t\t\tif (inline && !inlineTag || inlineTag === true) {\n\t\t\t\t\t\t\t\tif (stringResult) {\n\t\t\t\t\t\t\t\t\t__STRING_RESULT__ += (isXMLDoctype ? '/' : '') + '>';\n\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\t", "\n\t\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t} else if (inlineTag && inlineTag !== true) {\n\t\t\t\t\t\t\t\t__RESULT__ = ",";\n\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\tif (stringResult) {\n\t\t\t\t\t\t\t\t\t__STRING_RESULT__ += '>';\n\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\t","\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\n\t\t\t\t\treturn __RESULT__;\n\t\t\t\t}\n\n\t\t\t\tfunction __GET_END_XML_TAG_DECL__(\n\t\t\t\t\tres,\n\t\t\t\t\tlink,\n\t\t\t\t\tinline,\n\t\t\t\t\tinlineTag,\n\t\t\t\t\tattrCache,\n\t\t\t\t\tcallCache,\n\t\t\t\t\tcallTmp,\n\t\t\t\t\tisDOMRenderMode,\n\t\t\t\t\tstringResult,\n\t\t\t\t\tisXMLDoctype,\n\t\t\t\t\tnode\n\n\t\t\t\t) {\n\t\t\t\t\tvar __RESULT__ = res;\n\n\t\t\t\t\tif (isDOMRenderMode) {\n\t\t\t\t\t\tif (link !== '?') {\n\t\t\t\t\t\t\tif (inlineTag) {\n\t\t\t\t\t\t\t\tif (inlineTag !== true) {\n\t\t\t\t\t\t\t\t\t__RESULT__ = callCache;\n\t\t\t\t\t\t\t\t\tif (inlineTag in attrCache === false && callTmp) {\n\t\t\t\t\t\t\t\t\t\tSnakeskin.setAttribute(node, inlineTag, callTmp);\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t} else if (!inline) {\n\t\t\t\t\t\t\t\t__RESULT__.pop();\n\t\t\t\t\t\t\t\t$0 = __RESULT__[__RESULT__.length - 1];\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\n\t\t\t\t\t} else {\n\t\t\t\t\t\tif (link !== '?') {\n\t\t\t\t\t\t\tif (inlineTag) {\n\t\t\t\t\t\t\t\tif (inlineTag !== true) {\n\t\t\t\t\t\t\t\t\t__RESULT__ = callCache;\n\n\t\t\t\t\t\t\t\t\tif (inlineTag in attrCache === false && callTmp) {\n\t\t\t\t\t\t\t\t\t\tif (stringResult) {\n\t\t\t\t\t\t\t\t\t\t\t__STRING_RESULT__ += ' ' + inlineTag + '=\"' + callTmp + '\"';\n\n\t\t\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\t\t\t", "\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t\t\tif (stringResult) {\n\t\t\t\t\t\t\t\t\t\t__STRING_RESULT__ += (isXMLDoctype ? '/' : '') + '>';\n\n\t\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\t\t","\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t} else if (!inline) {\n\t\t\t\t\t\t\t\tif (stringResult) {\n\t\t\t\t\t\t\t\t\t__STRING_RESULT__ += '';\n\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\t","\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\n\t\t\t\t\treturn __RESULT__;\n\t\t\t\t}\n\n\t\t\t\tfunction __TARGET_END__(res, stack, ref) {\n\t\t\t\t\tvar __RESULT__ = res;\n\n\t\t\t\t\tif (__LENGTH__(__RESULT__)) {\n\t\t\t\t\t\tstack.push({\n\t\t\t\t\t\t\tkey: undefined,\n\t\t\t\t\t\t\tvalue: Unsafe(", ")\n\t\t\t\t\t\t});\n\t\t\t\t\t}\n\n\t\t\t\t\tSnakeskin.forEach(stack, function (el) {\n\t\t\t\t\t\tref[el.key || ref.length] = el.value;\n\t\t\t\t\t});\n\n\t\t\t\t\treturn __RESULT__;\n\t\t\t\t}\n\n\t\t\t\tfunction __PUTIN_CALL__(res, pos, stack) {\n\t\t\t\t\tvar __RESULT__ = res;\n\n\t\t\t\t\tif (pos === true || !pos && __LENGTH__(__RESULT__)) {\n\t\t\t\t\t\tstack.push(Unsafe(","));\n\t\t\t\t\t\t__RESULT__ = ",";\n\t\t\t\t\t}\n\n\t\t\t\t\treturn __RESULT__;\n\t\t\t\t}\n\n\t\t\t\tfunction __PUTIN_TARGET__(res, pos, stack, key) {\n\t\t\t\t\tvar __RESULT__ = res;\n\n\t\t\t\t\tif (pos === true || !pos && __LENGTH__(__RESULT__)) {\n\t\t\t\t\t\tstack.push({\n\t\t\t\t\t\t\tkey: key,\n\t\t\t\t\t\t\tvalue: Unsafe(", ")\n\t\t\t\t\t\t});\n\n\t\t\t\t\t\t__RESULT__ = ",';\n\t\t\t\t\t}\n\n\t\t\t\t\treturn __RESULT__;\n\t\t\t\t}\n\n\t\t\t\tvar\n\t\t\t\t\t__RETURN__ = false,\n\t\t\t\t\t__RETURN_VAL__;\n\n\t\t\t\tvar\n\t\t\t\t\tTPL_NAME = "','",\n\t\t\t\t\tPARENT_TPL_NAME',',\n\t\t\t\t\tEOL = "','";\n\n\t\t\t\t',"\n\t\t\t"]),ne=G(["\n\t\t\t\t\t\t","\n\t\t\t\t\t\treturn ",';\n\t\t\t\t\t});\n\n\t\t\t\t\tSnakeskin.cache["','"] = exports',";\n\t\t\t\t"],["\n\t\t\t\t\t\t","\n\t\t\t\t\t\treturn ",';\n\t\t\t\t\t});\n\n\t\t\t\t\tSnakeskin.cache["', '"] = exports',";\n\t\t\t\t"]);["async","template","interface","placeholder"].forEach(function(a){n.addDirective(a,{block:!0,deferInit:!0,group:[a,"template","rootTemplate","define"],notEmpty:!0,placement:"global"},function(b,d){function f(){g.info.template=g.tplName=l;delete Ob[p];Ob[l]="template"===g.name}var g=this,c=d.length,h=d.type,m=d.Y;d=d.jsDoc;if("async"===this.name)return this.async=!0,b=b.split(" "),n.j[b[0]].call(this,b.slice(1).join(" ").trim(),{type:b[0],length:c,Y:m,jsDoc:d});c=this.environment.namespace; m=["",""];if(!c)return this.error('the directive "'+this.name+"\" can't be declared without namespace");this.startTemplateI=this.i+1;this.startTemplateLine=this.info.line;var l=this.W(this.getFnName(b)),k=void 0;/\*/.test(l)&&(m[1]="*",l=l.replace(m[1],""),this.generator=!0);this.async&&(m[0]="async");var p=l=this.replaceDangerBlocks(c)+sa(l);c=b.split(/\s+@=\s+/).slice(1);for(var r=this.renderAs,q=0;q'"),this.getResultDecl(),this.wrap("'>'"),this.wrap("' ' + inlineTag + '=\"' + callTmp + '\"'"),this.wrap("(isXMLDoctype ? '/' : '') + '>'"),this.wrap("''"),this.getReturnResultDecl(),this.getReturnResultDecl(),this.getResultDecl(),this.getReturnResultDecl(),this.getResultDecl(),String(d).replace(Lb,'\\"'),k?' = "'+String(k).replace(Lb,'\\"')+'"':"",Ra(this.eol), b.def));b=this.preDefs[l];La[l]&&!z||!b||(this.source=this.source.slice(0,this.i+1)+b.text+this.source.slice(this.i+1),delete this.preDefs[l])},function(b,d){b=String(this.tplName);d=this.C(d.length);kb[b]=this.source.slice(this.startTemplateI,this.i-d);jb[b]=this.blockTable;this.parentTplName?(this.info.line=this.startTemplateLine,this.lines.splice(this.startTemplateLine,this.lines.length),this.source=this.source.slice(0,this.startTemplateI)+this.ea(b)+this.source.slice(this.i-d),this.needPrfx&& (this.needPrfx=1),this.T(b),this.startDir(this.structure.name),this.i=this.startTemplateI-1,this.parentTplName=void 0,this.blockTable={},this.vars[b]={}):(1===this.needPrfx&&(this.needPrfx=!1),(d="interface"===this.structure.name)?this.save("};",{iface:d}):(b=this.templates[b].ma,this.save(F(ne,this.consts.join(""),this.getReturnResultDecl(),String(b).replace(Lb,'\\"'),sa(b)))),this.save("/* Snakeskin template. */",{iface:d}),this.U(),this.canWrite=!0,this.tplName=void 0,this.generator=this.async= !1,delete this.info.template)})});var oe=G(["\n\t\t\t\t\t\t\t\ttypeof require === 'function' ?\n\t\t\t\t\t\t\t\t\trequire(",") : typeof "," !== 'undefined' ? "," : GLOBAL[","];\n\t\t\t\t\t\t\t"],["\n\t\t\t\t\t\t\t\ttypeof require === 'function' ?\n\t\t\t\t\t\t\t\t\trequire(",") : typeof "," !== 'undefined' ? "," : GLOBAL[","];\n\t\t\t\t\t\t\t"]);n.addDirective("import",{ancestorsBlacklist:[n.group("template"),n.group("dynamic"),n.group("logic")],group:["import","head"],notEmpty:!0},function(a){function b(k, p){if(!k.length)return"";k=k.split(/\s*,\s*/);for(var r=[],q=0;q>/g,"=>=>");var b=a.split(/\s*=>\s*/);if(!b.length||3\s*/);if(!b.length|| 2\s*/,"");var b=this.structure.params,d="",f="",g=this.getNonLogicParent();if(this.getGroup("async")[g.name]){b.type="async";for(b=d=0;b");if(!a.length||2=parseInt(a,10))&&this.freezeLine++},function(){this.freezeLine--});var ze={cljs:"application/clojurescript",coffee:"application/coffeescript", dart:"application/dart",html:"text/html",js:"text/javascript",json:"application/json",ls:"application/livescript",ss:"text/x-snakeskin-template",ts:"application/typescript"};n.addDirective("script",{block:!0,filters:{global:["attr",["html"],["undef"]],local:[["undef"]]},group:["script","tag","output"],interpolation:!0,placement:"template",selfInclude:!1,trim:!0},function(a,b){(b=" /"===b.raw.slice(-2))&&(a=a.slice(0,-2));a=a?a.replace(sb,"js $1"):"js";a=this.getTokens(a);var d=ze[a[0].toLowerCase()]|| this.replaceTplVars(a[0]);this.append(this.getXMLTagDecl("script","(( type = "+d+" )) "+a.slice(1).join(" ")));b&&(bc.call(this),this.endDir())},bc);var Ae={css:"text/css"};n.addDirective("style",{block:!0,filters:{global:["attr",["html"],["undef"]],local:[["undef"]]},group:["style","tag","output"],interpolation:!0,placement:"template",selfInclude:!1,trim:!0},function(a,b){(b=" /"===b.raw.slice(-2))&&(a=a.slice(0,-2));a=a?a.replace(sb,"css $1"):"css";a=this.getTokens(a);var d=Ae[a[0].toLowerCase()]|| this.replaceTplVars(a[0]);this.append(this.getXMLTagDecl("style","(( type = "+d+" )) "+a.slice(1).join(" ")));b&&(cc.call(this),this.endDir())},cc);var Be={acss:{rel:"alternate stylesheet",type:"text/css"},css:{rel:"stylesheet",type:"text/css"},icon:{rel:"icon",type:"image/x-icon"}};n.addDirective("link",{block:!0,filters:{global:["attr",["html"],["undef"]],local:[["undef"]]},group:["link","tag","output"],interpolation:!0,placement:"template",selfInclude:!1,trim:!0},function(a,b){(b=" /"===b.raw.slice(-2))&& (a=a.slice(0,-2));a=a?a.replace(sb,"css $1"):"css";a=this.getTokens(a);var d=Be[a[0].toLowerCase()]||this.replaceTplVars(a[0]);this.append(this.getXMLTagDecl("link","(( rel = "+(d.rel?""+d.rel:d)+(d.type?" | type = "+d.type:"")+" )) "+a.slice(1).join(" ")));b&&(dc.call(this),this.endDir())},dc);var Ce=G(["\n\t\t\t","\n\n\t\t\t__RESULT__ = ",";\n\t\t"],["\n\t\t\t","\n\n\t\t\t__RESULT__ = ",";\n\t\t"]),De=G(["\n\t\t\t\t\t__CALL_CACHE__ = __RESULT__,\n\t\t\t\t\t__CALL_TMP__ = [],\n\t\t\t\t\t__CALL_POS__ = 0\n\t\t\t\t"], ["\n\t\t\t\t\t__CALL_CACHE__ = __RESULT__,\n\t\t\t\t\t__CALL_TMP__ = [],\n\t\t\t\t\t__CALL_POS__ = 0\n\t\t\t\t"]),Ee=G(["\n\t\t\tif (__LENGTH__(__RESULT__)) {\n\t\t\t\t","++;\n\t\t\t\t",".push(Unsafe(","));\n\t\t\t}\n\t\t"],["\n\t\t\tif (__LENGTH__(__RESULT__)) {\n\t\t\t\t","++;\n\t\t\t\t",".push(Unsafe(","));\n\t\t\t}\n\t\t"]),Fe=G(["\n\t\t\t\t\t"," ? "," : ","\n\t\t\t\t"],["\n\t\t\t\t\t"," ? "," : ","\n\t\t\t\t"]),Ge=G(["\n\t\t\t__RESULT__ = ",";\n\t\t\t","\n\t\t"],["\n\t\t\t__RESULT__ = ",";\n\t\t\t", "\n\t\t"]);n.addDirective("call",{block:!0,deferInit:!0,filters:{global:[["undef"]]},group:["call","microTemplate","output"],notEmpty:!0,shorthands:{"+=":"call ","/+":"end call"},trim:!0},function(a){"/"===a.slice(-1)?(this.startInlineDir(null,{s:!0}),this.append(this.wrap(this.out(a.slice(0,-1))))):(this.startDir(null,{X:1,g:a}),this.append(F(Ce,this.declVars(F(De),{sys:!0}),this.getResultDecl())))},function(){this.text=!0;var a=this.structure.params;a.strongSpace&&this.strongSpace.pop();if(!a.s){var b= this.getVar("__CALL_TMP__"),d=this.getVar("__CALL_POS__");this.append(F(Ee,d,b,this.getReturnResultDecl()));for(var f=a.X,g=0,c="";f--;)c&&(c+=","),c+=b+"["+g++ +"]";b=void 0;b=a.g.replace(/([^\s]\s*)(?=\)$)/,function(h,m){"("!==h[0]&&(c=","+c);return m+c});f=this.getFnName(b);if("&"===f)if(a=this.hasBlock(this.getGroup("block"),!0))b=a.params.fn+this.out(b.replace(f,""),{unsafe:!0});else return this.error('invalid "'+this.name+'" declaration');else b=1===g?F(Fe,d,this.out(b),this.out(a.g)):this.out(b); this.append(F(Ge,this.getVar("__CALL_CACHE__"),this.wrap(b)))}});var He=G(["\n\t\t\t\t","\n\t\t\t\t__RESULT__ = ",";\n\t\t\t"],["\n\t\t\t\t","\n\t\t\t\t__RESULT__ = ",";\n\t\t\t"]),Ie=G(["\n\t\t\t\t\t__RESULT__ = __PUTIN_CALL__(__RESULT__, ",", ",");\n\t\t\t\t\t","++;\n\t\t\t\t"],["\n\t\t\t\t\t__RESULT__ = __PUTIN_CALL__(__RESULT__, ",", ",");\n\t\t\t\t\t","++;\n\t\t\t\t"]),Je=G(["\n\t\t\t\t\t__RESULT__ = __PUTIN_TARGET__(\n\t\t\t\t\t\t__RESULT__,\n\t\t\t\t\t\t",",\n\t\t\t\t\t\t",",\n\t\t\t\t\t\t'", "'\n\t\t\t\t\t);\n\n\t\t\t\t\t","++;\n\t\t\t\t"],["\n\t\t\t\t\t__RESULT__ = __PUTIN_TARGET__(\n\t\t\t\t\t\t__RESULT__,\n\t\t\t\t\t\t",",\n\t\t\t\t\t\t",",\n\t\t\t\t\t\t'","'\n\t\t\t\t\t);\n\n\t\t\t\t\t","++;\n\t\t\t\t"]),Ke=G(["\n\t\t\t\t\t__RESULT__ = __PUTIN_TARGET__(__RESULT__, true, ",", '","');\n\t\t\t\t"],["\n\t\t\t\t\t__RESULT__ = __PUTIN_TARGET__(__RESULT__, true, ",", '","');\n\t\t\t\t"]),Le=G(["\n\t\t\t\t\t",";\n\t\t\t\t\t__RESULT__ = ",";\n\t\t\t\t"],["\n\t\t\t\t\t",";\n\t\t\t\t\t__RESULT__ = ", ";\n\t\t\t\t"]);n.addDirective("putIn",{block:!0,deferInit:!0,group:["putIn","microTemplate","void"],interpolation:!0,shorthands:{"*":"putIn ","/*":"end putIn"},trim:!0},function(a){function b(){if(!a)return d.error('the directive "'+d.name+'" must have a body');d.append(F(He,d.declVars("__CALL_CACHE__ = __RESULT__",{sys:!0}),d.getResultDecl()))}var d=this;this.startDir(null,{F:a});var f=this.structure.params,g=this.getVar("__CALL_TMP__"),c=this.getVar("__CALL_POS__"),h=this.hasParentMicroTemplate(); h?(f.parent=h,h.params.strongSpace&&(h.params.strongSpace=!1,this.strongSpace.pop()),this.getGroup("call")[h.name]?(f.type="call",h.params.X++,this.append(F(Ie,c,g,c))):this.getGroup("target")[h.name]?(f.type="target",this.append(F(Je,c,g,this.replaceTplVars(a,{unsafe:!0}),c))):(f.type="microTemplate",b())):b()},function(){var a=this.structure.params,b=this.getVar("__CALL_TMP__");a.strongSpace&&this.strongSpace.pop();a.type&&(a.parent.params.strongSpace=!0,this.strongSpace.push(!0));switch(a.type){case "call":this.append("__RESULT__ = __PUTIN_CALL__(__RESULT__, true, "+ b+");");break;case "target":this.append(F(Ke,b,this.replaceTplVars(a.F,{unsafe:!0})));break;default:this.append(F(Le,this.out(a.F+" = Unsafe("+this.getReturnResultDecl()+")",{unsafe:!0}),this.getVar("__CALL_CACHE__")))}});var Me=G("\n\t\t\t\t\tif (!;) {\n\t\t\t\t\t\t; = function (;) {\n\t\t\t\t\t\t\t;\n\t\t\t\t\t\t\t;\n\t\t\t\t".split(";"),"\n\t\t\t\t\tif (!;) {\n\t\t\t\t\t\t; = function (;) {\n\t\t\t\t\t\t\t;\n\t\t\t\t\t\t\t;\n\t\t\t\t".split(";")),Ne=G("\n\t\t\t\t;;\n\t\t\t\t;__cutLine__;\n\n\t\t\t\t\t;__switchLine__ ;;\n\t\t\t\t\t\t;\n\t\t\t\t\t;__end__;\n\n\t\t\t\t;;\n\t\t\t\t;__cutLine__;\n\t\t\t".split(";"), "\n\t\t\t\t;;\n\t\t\t\t;__cutLine__;\n\n\t\t\t\t\t;__switchLine__ ;;\n\t\t\t\t\t\t;\n\t\t\t\t\t;__end__;\n\n\t\t\t\t;;\n\t\t\t\t;__cutLine__;\n\t\t\t".split(";")),Oe=G(["\n\t\t\t\t\t\treturn Unsafe(",");\n\t\t\t\t\t};\n\t\t\t\t}\n\n\t\t\t\t","\n\t\t\t"],["\n\t\t\t\t\t\treturn Unsafe(",");\n\t\t\t\t\t};\n\t\t\t\t}\n\n\t\t\t\t","\n\t\t\t"]),Pe=RegExp("^[^\\u0041-\\u005A\\u0061-\\u007A\\u00AA\\u00B5\\u00BA\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02C1\\u02C6-\\u02D1\\u02E0-\\u02E4\\u02EC\\u02EE\\u0370-\\u0374\\u0376\\u0377\\u037A-\\u037D\\u0386\\u0388-\\u038A\\u038C\\u038E-\\u03A1\\u03A3-\\u03F5\\u03F7-\\u0481\\u048A-\\u0525\\u0531-\\u0556\\u0559\\u0561-\\u0587\\u05D0-\\u05EA\\u05F0-\\u05F2\\u0621-\\u064A\\u066E\\u066F\\u0671-\\u06D3\\u06D5\\u06E5\\u06E6\\u06EE\\u06EF\\u06FA-\\u06FC\\u06FF\\u0710\\u0712-\\u072F\\u074D-\\u07A5\\u07B1\\u07CA-\\u07EA\\u07F4\\u07F5\\u07FA\\u0800-\\u0815\\u081A\\u0824\\u0828\\u0904-\\u0939\\u093D\\u0950\\u0958-\\u0961\\u0971\\u0972\\u0979-\\u097F\\u0985-\\u098C\\u098F\\u0990\\u0993-\\u09A8\\u09AA-\\u09B0\\u09B2\\u09B6-\\u09B9\\u09BD\\u09CE\\u09DC\\u09DD\\u09DF-\\u09E1\\u09F0\\u09F1\\u0A05-\\u0A0A\\u0A0F\\u0A10\\u0A13-\\u0A28\\u0A2A-\\u0A30\\u0A32\\u0A33\\u0A35\\u0A36\\u0A38\\u0A39\\u0A59-\\u0A5C\\u0A5E\\u0A72-\\u0A74\\u0A85-\\u0A8D\\u0A8F-\\u0A91\\u0A93-\\u0AA8\\u0AAA-\\u0AB0\\u0AB2\\u0AB3\\u0AB5-\\u0AB9\\u0ABD\\u0AD0\\u0AE0\\u0AE1\\u0B05-\\u0B0C\\u0B0F\\u0B10\\u0B13-\\u0B28\\u0B2A-\\u0B30\\u0B32\\u0B33\\u0B35-\\u0B39\\u0B3D\\u0B5C\\u0B5D\\u0B5F-\\u0B61\\u0B71\\u0B83\\u0B85-\\u0B8A\\u0B8E-\\u0B90\\u0B92-\\u0B95\\u0B99\\u0B9A\\u0B9C\\u0B9E\\u0B9F\\u0BA3\\u0BA4\\u0BA8-\\u0BAA\\u0BAE-\\u0BB9\\u0BD0\\u0C05-\\u0C0C\\u0C0E-\\u0C10\\u0C12-\\u0C28\\u0C2A-\\u0C33\\u0C35-\\u0C39\\u0C3D\\u0C58\\u0C59\\u0C60\\u0C61\\u0C85-\\u0C8C\\u0C8E-\\u0C90\\u0C92-\\u0CA8\\u0CAA-\\u0CB3\\u0CB5-\\u0CB9\\u0CBD\\u0CDE\\u0CE0\\u0CE1\\u0D05-\\u0D0C\\u0D0E-\\u0D10\\u0D12-\\u0D28\\u0D2A-\\u0D39\\u0D3D\\u0D60\\u0D61\\u0D7A-\\u0D7F\\u0D85-\\u0D96\\u0D9A-\\u0DB1\\u0DB3-\\u0DBB\\u0DBD\\u0DC0-\\u0DC6\\u0E01-\\u0E30\\u0E32\\u0E33\\u0E40-\\u0E46\\u0E81\\u0E82\\u0E84\\u0E87\\u0E88\\u0E8A\\u0E8D\\u0E94-\\u0E97\\u0E99-\\u0E9F\\u0EA1-\\u0EA3\\u0EA5\\u0EA7\\u0EAA\\u0EAB\\u0EAD-\\u0EB0\\u0EB2\\u0EB3\\u0EBD\\u0EC0-\\u0EC4\\u0EC6\\u0EDC\\u0EDD\\u0F00\\u0F40-\\u0F47\\u0F49-\\u0F6C\\u0F88-\\u0F8B\\u1000-\\u102A\\u103F\\u1050-\\u1055\\u105A-\\u105D\\u1061\\u1065\\u1066\\u106E-\\u1070\\u1075-\\u1081\\u108E\\u10A0-\\u10C5\\u10D0-\\u10FA\\u10FC\\u1100-\\u1248\\u124A-\\u124D\\u1250-\\u1256\\u1258\\u125A-\\u125D\\u1260-\\u1288\\u128A-\\u128D\\u1290-\\u12B0\\u12B2-\\u12B5\\u12B8-\\u12BE\\u12C0\\u12C2-\\u12C5\\u12C8-\\u12D6\\u12D8-\\u1310\\u1312-\\u1315\\u1318-\\u135A\\u1380-\\u138F\\u13A0-\\u13F4\\u1401-\\u166C\\u166F-\\u167F\\u1681-\\u169A\\u16A0-\\u16EA\\u1700-\\u170C\\u170E-\\u1711\\u1720-\\u1731\\u1740-\\u1751\\u1760-\\u176C\\u176E-\\u1770\\u1780-\\u17B3\\u17D7\\u17DC\\u1820-\\u1877\\u1880-\\u18A8\\u18AA\\u18B0-\\u18F5\\u1900-\\u191C\\u1950-\\u196D\\u1970-\\u1974\\u1980-\\u19AB\\u19C1-\\u19C7\\u1A00-\\u1A16\\u1A20-\\u1A54\\u1AA7\\u1B05-\\u1B33\\u1B45-\\u1B4B\\u1B83-\\u1BA0\\u1BAE\\u1BAF\\u1C00-\\u1C23\\u1C4D-\\u1C4F\\u1C5A-\\u1C7D\\u1CE9-\\u1CEC\\u1CEE-\\u1CF1\\u1D00-\\u1DBF\\u1E00-\\u1F15\\u1F18-\\u1F1D\\u1F20-\\u1F45\\u1F48-\\u1F4D\\u1F50-\\u1F57\\u1F59\\u1F5B\\u1F5D\\u1F5F-\\u1F7D\\u1F80-\\u1FB4\\u1FB6-\\u1FBC\\u1FBE\\u1FC2-\\u1FC4\\u1FC6-\\u1FCC\\u1FD0-\\u1FD3\\u1FD6-\\u1FDB\\u1FE0-\\u1FEC\\u1FF2-\\u1FF4\\u1FF6-\\u1FFC\\u2071\\u207F\\u2090-\\u2094\\u2102\\u2107\\u210A-\\u2113\\u2115\\u2119-\\u211D\\u2124\\u2126\\u2128\\u212A-\\u212D\\u212F-\\u2139\\u213C-\\u213F\\u2145-\\u2149\\u214E\\u2183\\u2184\\u2C00-\\u2C2E\\u2C30-\\u2C5E\\u2C60-\\u2CE4\\u2CEB-\\u2CEE\\u2D00-\\u2D25\\u2D30-\\u2D65\\u2D6F\\u2D80-\\u2D96\\u2DA0-\\u2DA6\\u2DA8-\\u2DAE\\u2DB0-\\u2DB6\\u2DB8-\\u2DBE\\u2DC0-\\u2DC6\\u2DC8-\\u2DCE\\u2DD0-\\u2DD6\\u2DD8-\\u2DDE\\u2E2F\\u3005\\u3006\\u3031-\\u3035\\u303B\\u303C\\u3041-\\u3096\\u309D-\\u309F\\u30A1-\\u30FA\\u30FC-\\u30FF\\u3105-\\u312D\\u3131-\\u318E\\u31A0-\\u31B7\\u31F0-\\u31FF\\u3400-\\u4DB5\\u4E00-\\u9FCB\\uA000-\\uA48C\\uA4D0-\\uA4FD\\uA500-\\uA60C\\uA610-\\uA61F\\uA62A\\uA62B\\uA640-\\uA65F\\uA662-\\uA66E\\uA67F-\\uA697\\uA6A0-\\uA6E5\\uA717-\\uA71F\\uA722-\\uA788\\uA78B\\uA78C\\uA7FB-\\uA801\\uA803-\\uA805\\uA807-\\uA80A\\uA80C-\\uA822\\uA840-\\uA873\\uA882-\\uA8B3\\uA8F2-\\uA8F7\\uA8FB\\uA90A-\\uA925\\uA930-\\uA946\\uA960-\\uA97C\\uA984-\\uA9B2\\uA9CF\\uAA00-\\uAA28\\uAA40-\\uAA42\\uAA44-\\uAA4B\\uAA60-\\uAA76\\uAA7A\\uAA80-\\uAAAF\\uAAB1\\uAAB5\\uAAB6\\uAAB9-\\uAABD\\uAAC0\\uAAC2\\uAADB-\\uAADD\\uABC0-\\uABE2\\uAC00-\\uD7A3\\uD7B0-\\uD7C6\\uD7CB-\\uD7FB\\uF900-\\uFA2D\\uFA30-\\uFA6D\\uFA70-\\uFAD9\\uFB00-\\uFB06\\uFB13-\\uFB17\\uFB1D\\uFB1F-\\uFB28\\uFB2A-\\uFB36\\uFB38-\\uFB3C\\uFB3E\\uFB40\\uFB41\\uFB43\\uFB44\\uFB46-\\uFBB1\\uFBD3-\\uFD3D\\uFD50-\\uFD8F\\uFD92-\\uFDC7\\uFDF0-\\uFDFB\\uFE70-\\uFE74\\uFE76-\\uFEFC\\uFF21-\\uFF3A\\uFF41-\\uFF5A\\uFF66-\\uFFBE\\uFFC2-\\uFFC7\\uFFCA-\\uFFCF\\uFFD2-\\uFFD7\\uFFDA-\\uFFDC_$][^$\\u0041-\\u005A\\u0061-\\u007A\\u00AA\\u00B5\\u00BA\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02C1\\u02C6-\\u02D1\\u02E0-\\u02E4\\u02EC\\u02EE\\u0370-\\u0374\\u0376\\u0377\\u037A-\\u037D\\u0386\\u0388-\\u038A\\u038C\\u038E-\\u03A1\\u03A3-\\u03F5\\u03F7-\\u0481\\u048A-\\u0525\\u0531-\\u0556\\u0559\\u0561-\\u0587\\u05D0-\\u05EA\\u05F0-\\u05F2\\u0621-\\u064A\\u066E\\u066F\\u0671-\\u06D3\\u06D5\\u06E5\\u06E6\\u06EE\\u06EF\\u06FA-\\u06FC\\u06FF\\u0710\\u0712-\\u072F\\u074D-\\u07A5\\u07B1\\u07CA-\\u07EA\\u07F4\\u07F5\\u07FA\\u0800-\\u0815\\u081A\\u0824\\u0828\\u0904-\\u0939\\u093D\\u0950\\u0958-\\u0961\\u0971\\u0972\\u0979-\\u097F\\u0985-\\u098C\\u098F\\u0990\\u0993-\\u09A8\\u09AA-\\u09B0\\u09B2\\u09B6-\\u09B9\\u09BD\\u09CE\\u09DC\\u09DD\\u09DF-\\u09E1\\u09F0\\u09F1\\u0A05-\\u0A0A\\u0A0F\\u0A10\\u0A13-\\u0A28\\u0A2A-\\u0A30\\u0A32\\u0A33\\u0A35\\u0A36\\u0A38\\u0A39\\u0A59-\\u0A5C\\u0A5E\\u0A72-\\u0A74\\u0A85-\\u0A8D\\u0A8F-\\u0A91\\u0A93-\\u0AA8\\u0AAA-\\u0AB0\\u0AB2\\u0AB3\\u0AB5-\\u0AB9\\u0ABD\\u0AD0\\u0AE0\\u0AE1\\u0B05-\\u0B0C\\u0B0F\\u0B10\\u0B13-\\u0B28\\u0B2A-\\u0B30\\u0B32\\u0B33\\u0B35-\\u0B39\\u0B3D\\u0B5C\\u0B5D\\u0B5F-\\u0B61\\u0B71\\u0B83\\u0B85-\\u0B8A\\u0B8E-\\u0B90\\u0B92-\\u0B95\\u0B99\\u0B9A\\u0B9C\\u0B9E\\u0B9F\\u0BA3\\u0BA4\\u0BA8-\\u0BAA\\u0BAE-\\u0BB9\\u0BD0\\u0C05-\\u0C0C\\u0C0E-\\u0C10\\u0C12-\\u0C28\\u0C2A-\\u0C33\\u0C35-\\u0C39\\u0C3D\\u0C58\\u0C59\\u0C60\\u0C61\\u0C85-\\u0C8C\\u0C8E-\\u0C90\\u0C92-\\u0CA8\\u0CAA-\\u0CB3\\u0CB5-\\u0CB9\\u0CBD\\u0CDE\\u0CE0\\u0CE1\\u0D05-\\u0D0C\\u0D0E-\\u0D10\\u0D12-\\u0D28\\u0D2A-\\u0D39\\u0D3D\\u0D60\\u0D61\\u0D7A-\\u0D7F\\u0D85-\\u0D96\\u0D9A-\\u0DB1\\u0DB3-\\u0DBB\\u0DBD\\u0DC0-\\u0DC6\\u0E01-\\u0E30\\u0E32\\u0E33\\u0E40-\\u0E46\\u0E81\\u0E82\\u0E84\\u0E87\\u0E88\\u0E8A\\u0E8D\\u0E94-\\u0E97\\u0E99-\\u0E9F\\u0EA1-\\u0EA3\\u0EA5\\u0EA7\\u0EAA\\u0EAB\\u0EAD-\\u0EB0\\u0EB2\\u0EB3\\u0EBD\\u0EC0-\\u0EC4\\u0EC6\\u0EDC\\u0EDD\\u0F00\\u0F40-\\u0F47\\u0F49-\\u0F6C\\u0F88-\\u0F8B\\u1000-\\u102A\\u103F\\u1050-\\u1055\\u105A-\\u105D\\u1061\\u1065\\u1066\\u106E-\\u1070\\u1075-\\u1081\\u108E\\u10A0-\\u10C5\\u10D0-\\u10FA\\u10FC\\u1100-\\u1248\\u124A-\\u124D\\u1250-\\u1256\\u1258\\u125A-\\u125D\\u1260-\\u1288\\u128A-\\u128D\\u1290-\\u12B0\\u12B2-\\u12B5\\u12B8-\\u12BE\\u12C0\\u12C2-\\u12C5\\u12C8-\\u12D6\\u12D8-\\u1310\\u1312-\\u1315\\u1318-\\u135A\\u1380-\\u138F\\u13A0-\\u13F4\\u1401-\\u166C\\u166F-\\u167F\\u1681-\\u169A\\u16A0-\\u16EA\\u1700-\\u170C\\u170E-\\u1711\\u1720-\\u1731\\u1740-\\u1751\\u1760-\\u176C\\u176E-\\u1770\\u1780-\\u17B3\\u17D7\\u17DC\\u1820-\\u1877\\u1880-\\u18A8\\u18AA\\u18B0-\\u18F5\\u1900-\\u191C\\u1950-\\u196D\\u1970-\\u1974\\u1980-\\u19AB\\u19C1-\\u19C7\\u1A00-\\u1A16\\u1A20-\\u1A54\\u1AA7\\u1B05-\\u1B33\\u1B45-\\u1B4B\\u1B83-\\u1BA0\\u1BAE\\u1BAF\\u1C00-\\u1C23\\u1C4D-\\u1C4F\\u1C5A-\\u1C7D\\u1CE9-\\u1CEC\\u1CEE-\\u1CF1\\u1D00-\\u1DBF\\u1E00-\\u1F15\\u1F18-\\u1F1D\\u1F20-\\u1F45\\u1F48-\\u1F4D\\u1F50-\\u1F57\\u1F59\\u1F5B\\u1F5D\\u1F5F-\\u1F7D\\u1F80-\\u1FB4\\u1FB6-\\u1FBC\\u1FBE\\u1FC2-\\u1FC4\\u1FC6-\\u1FCC\\u1FD0-\\u1FD3\\u1FD6-\\u1FDB\\u1FE0-\\u1FEC\\u1FF2-\\u1FF4\\u1FF6-\\u1FFC\\u2071\\u207F\\u2090-\\u2094\\u2102\\u2107\\u210A-\\u2113\\u2115\\u2119-\\u211D\\u2124\\u2126\\u2128\\u212A-\\u212D\\u212F-\\u2139\\u213C-\\u213F\\u2145-\\u2149\\u214E\\u2183\\u2184\\u2C00-\\u2C2E\\u2C30-\\u2C5E\\u2C60-\\u2CE4\\u2CEB-\\u2CEE\\u2D00-\\u2D25\\u2D30-\\u2D65\\u2D6F\\u2D80-\\u2D96\\u2DA0-\\u2DA6\\u2DA8-\\u2DAE\\u2DB0-\\u2DB6\\u2DB8-\\u2DBE\\u2DC0-\\u2DC6\\u2DC8-\\u2DCE\\u2DD0-\\u2DD6\\u2DD8-\\u2DDE\\u2E2F\\u3005\\u3006\\u3031-\\u3035\\u303B\\u303C\\u3041-\\u3096\\u309D-\\u309F\\u30A1-\\u30FA\\u30FC-\\u30FF\\u3105-\\u312D\\u3131-\\u318E\\u31A0-\\u31B7\\u31F0-\\u31FF\\u3400-\\u4DB5\\u4E00-\\u9FCB\\uA000-\\uA48C\\uA4D0-\\uA4FD\\uA500-\\uA60C\\uA610-\\uA61F\\uA62A\\uA62B\\uA640-\\uA65F\\uA662-\\uA66E\\uA67F-\\uA697\\uA6A0-\\uA6E5\\uA717-\\uA71F\\uA722-\\uA788\\uA78B\\uA78C\\uA7FB-\\uA801\\uA803-\\uA805\\uA807-\\uA80A\\uA80C-\\uA822\\uA840-\\uA873\\uA882-\\uA8B3\\uA8F2-\\uA8F7\\uA8FB\\uA90A-\\uA925\\uA930-\\uA946\\uA960-\\uA97C\\uA984-\\uA9B2\\uA9CF\\uAA00-\\uAA28\\uAA40-\\uAA42\\uAA44-\\uAA4B\\uAA60-\\uAA76\\uAA7A\\uAA80-\\uAAAF\\uAAB1\\uAAB5\\uAAB6\\uAAB9-\\uAABD\\uAAC0\\uAAC2\\uAADB-\\uAADD\\uABC0-\\uABE2\\uAC00-\\uD7A3\\uD7B0-\\uD7C6\\uD7CB-\\uD7FB\\uF900-\\uFA2D\\uFA30-\\uFA6D\\uFA70-\\uFAD9\\uFB00-\\uFB06\\uFB13-\\uFB17\\uFB1D\\uFB1F-\\uFB28\\uFB2A-\\uFB36\\uFB38-\\uFB3C\\uFB3E\\uFB40\\uFB41\\uFB43\\uFB44\\uFB46-\\uFBB1\\uFBD3-\\uFD3D\\uFD50-\\uFD8F\\uFD92-\\uFDC7\\uFDF0-\\uFDFB\\uFE70-\\uFE74\\uFE76-\\uFEFC\\uFF21-\\uFF3A\\uFF41-\\uFF5A\\uFF66-\\uFFBE\\uFFC2-\\uFFC7\\uFFCA-\\uFFCF\\uFFD2-\\uFFD7\\uFFDA-\\uFFDC0-9_]*|[^$\\u0041-\\u005A\\u0061-\\u007A\\u00AA\\u00B5\\u00BA\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02C1\\u02C6-\\u02D1\\u02E0-\\u02E4\\u02EC\\u02EE\\u0370-\\u0374\\u0376\\u0377\\u037A-\\u037D\\u0386\\u0388-\\u038A\\u038C\\u038E-\\u03A1\\u03A3-\\u03F5\\u03F7-\\u0481\\u048A-\\u0525\\u0531-\\u0556\\u0559\\u0561-\\u0587\\u05D0-\\u05EA\\u05F0-\\u05F2\\u0621-\\u064A\\u066E\\u066F\\u0671-\\u06D3\\u06D5\\u06E5\\u06E6\\u06EE\\u06EF\\u06FA-\\u06FC\\u06FF\\u0710\\u0712-\\u072F\\u074D-\\u07A5\\u07B1\\u07CA-\\u07EA\\u07F4\\u07F5\\u07FA\\u0800-\\u0815\\u081A\\u0824\\u0828\\u0904-\\u0939\\u093D\\u0950\\u0958-\\u0961\\u0971\\u0972\\u0979-\\u097F\\u0985-\\u098C\\u098F\\u0990\\u0993-\\u09A8\\u09AA-\\u09B0\\u09B2\\u09B6-\\u09B9\\u09BD\\u09CE\\u09DC\\u09DD\\u09DF-\\u09E1\\u09F0\\u09F1\\u0A05-\\u0A0A\\u0A0F\\u0A10\\u0A13-\\u0A28\\u0A2A-\\u0A30\\u0A32\\u0A33\\u0A35\\u0A36\\u0A38\\u0A39\\u0A59-\\u0A5C\\u0A5E\\u0A72-\\u0A74\\u0A85-\\u0A8D\\u0A8F-\\u0A91\\u0A93-\\u0AA8\\u0AAA-\\u0AB0\\u0AB2\\u0AB3\\u0AB5-\\u0AB9\\u0ABD\\u0AD0\\u0AE0\\u0AE1\\u0B05-\\u0B0C\\u0B0F\\u0B10\\u0B13-\\u0B28\\u0B2A-\\u0B30\\u0B32\\u0B33\\u0B35-\\u0B39\\u0B3D\\u0B5C\\u0B5D\\u0B5F-\\u0B61\\u0B71\\u0B83\\u0B85-\\u0B8A\\u0B8E-\\u0B90\\u0B92-\\u0B95\\u0B99\\u0B9A\\u0B9C\\u0B9E\\u0B9F\\u0BA3\\u0BA4\\u0BA8-\\u0BAA\\u0BAE-\\u0BB9\\u0BD0\\u0C05-\\u0C0C\\u0C0E-\\u0C10\\u0C12-\\u0C28\\u0C2A-\\u0C33\\u0C35-\\u0C39\\u0C3D\\u0C58\\u0C59\\u0C60\\u0C61\\u0C85-\\u0C8C\\u0C8E-\\u0C90\\u0C92-\\u0CA8\\u0CAA-\\u0CB3\\u0CB5-\\u0CB9\\u0CBD\\u0CDE\\u0CE0\\u0CE1\\u0D05-\\u0D0C\\u0D0E-\\u0D10\\u0D12-\\u0D28\\u0D2A-\\u0D39\\u0D3D\\u0D60\\u0D61\\u0D7A-\\u0D7F\\u0D85-\\u0D96\\u0D9A-\\u0DB1\\u0DB3-\\u0DBB\\u0DBD\\u0DC0-\\u0DC6\\u0E01-\\u0E30\\u0E32\\u0E33\\u0E40-\\u0E46\\u0E81\\u0E82\\u0E84\\u0E87\\u0E88\\u0E8A\\u0E8D\\u0E94-\\u0E97\\u0E99-\\u0E9F\\u0EA1-\\u0EA3\\u0EA5\\u0EA7\\u0EAA\\u0EAB\\u0EAD-\\u0EB0\\u0EB2\\u0EB3\\u0EBD\\u0EC0-\\u0EC4\\u0EC6\\u0EDC\\u0EDD\\u0F00\\u0F40-\\u0F47\\u0F49-\\u0F6C\\u0F88-\\u0F8B\\u1000-\\u102A\\u103F\\u1050-\\u1055\\u105A-\\u105D\\u1061\\u1065\\u1066\\u106E-\\u1070\\u1075-\\u1081\\u108E\\u10A0-\\u10C5\\u10D0-\\u10FA\\u10FC\\u1100-\\u1248\\u124A-\\u124D\\u1250-\\u1256\\u1258\\u125A-\\u125D\\u1260-\\u1288\\u128A-\\u128D\\u1290-\\u12B0\\u12B2-\\u12B5\\u12B8-\\u12BE\\u12C0\\u12C2-\\u12C5\\u12C8-\\u12D6\\u12D8-\\u1310\\u1312-\\u1315\\u1318-\\u135A\\u1380-\\u138F\\u13A0-\\u13F4\\u1401-\\u166C\\u166F-\\u167F\\u1681-\\u169A\\u16A0-\\u16EA\\u1700-\\u170C\\u170E-\\u1711\\u1720-\\u1731\\u1740-\\u1751\\u1760-\\u176C\\u176E-\\u1770\\u1780-\\u17B3\\u17D7\\u17DC\\u1820-\\u1877\\u1880-\\u18A8\\u18AA\\u18B0-\\u18F5\\u1900-\\u191C\\u1950-\\u196D\\u1970-\\u1974\\u1980-\\u19AB\\u19C1-\\u19C7\\u1A00-\\u1A16\\u1A20-\\u1A54\\u1AA7\\u1B05-\\u1B33\\u1B45-\\u1B4B\\u1B83-\\u1BA0\\u1BAE\\u1BAF\\u1C00-\\u1C23\\u1C4D-\\u1C4F\\u1C5A-\\u1C7D\\u1CE9-\\u1CEC\\u1CEE-\\u1CF1\\u1D00-\\u1DBF\\u1E00-\\u1F15\\u1F18-\\u1F1D\\u1F20-\\u1F45\\u1F48-\\u1F4D\\u1F50-\\u1F57\\u1F59\\u1F5B\\u1F5D\\u1F5F-\\u1F7D\\u1F80-\\u1FB4\\u1FB6-\\u1FBC\\u1FBE\\u1FC2-\\u1FC4\\u1FC6-\\u1FCC\\u1FD0-\\u1FD3\\u1FD6-\\u1FDB\\u1FE0-\\u1FEC\\u1FF2-\\u1FF4\\u1FF6-\\u1FFC\\u2071\\u207F\\u2090-\\u2094\\u2102\\u2107\\u210A-\\u2113\\u2115\\u2119-\\u211D\\u2124\\u2126\\u2128\\u212A-\\u212D\\u212F-\\u2139\\u213C-\\u213F\\u2145-\\u2149\\u214E\\u2183\\u2184\\u2C00-\\u2C2E\\u2C30-\\u2C5E\\u2C60-\\u2CE4\\u2CEB-\\u2CEE\\u2D00-\\u2D25\\u2D30-\\u2D65\\u2D6F\\u2D80-\\u2D96\\u2DA0-\\u2DA6\\u2DA8-\\u2DAE\\u2DB0-\\u2DB6\\u2DB8-\\u2DBE\\u2DC0-\\u2DC6\\u2DC8-\\u2DCE\\u2DD0-\\u2DD6\\u2DD8-\\u2DDE\\u2E2F\\u3005\\u3006\\u3031-\\u3035\\u303B\\u303C\\u3041-\\u3096\\u309D-\\u309F\\u30A1-\\u30FA\\u30FC-\\u30FF\\u3105-\\u312D\\u3131-\\u318E\\u31A0-\\u31B7\\u31F0-\\u31FF\\u3400-\\u4DB5\\u4E00-\\u9FCB\\uA000-\\uA48C\\uA4D0-\\uA4FD\\uA500-\\uA60C\\uA610-\\uA61F\\uA62A\\uA62B\\uA640-\\uA65F\\uA662-\\uA66E\\uA67F-\\uA697\\uA6A0-\\uA6E5\\uA717-\\uA71F\\uA722-\\uA788\\uA78B\\uA78C\\uA7FB-\\uA801\\uA803-\\uA805\\uA807-\\uA80A\\uA80C-\\uA822\\uA840-\\uA873\\uA882-\\uA8B3\\uA8F2-\\uA8F7\\uA8FB\\uA90A-\\uA925\\uA930-\\uA946\\uA960-\\uA97C\\uA984-\\uA9B2\\uA9CF\\uAA00-\\uAA28\\uAA40-\\uAA42\\uAA44-\\uAA4B\\uAA60-\\uAA76\\uAA7A\\uAA80-\\uAAAF\\uAAB1\\uAAB5\\uAAB6\\uAAB9-\\uAABD\\uAAC0\\uAAC2\\uAADB-\\uAADD\\uABC0-\\uABE2\\uAC00-\\uD7A3\\uD7B0-\\uD7C6\\uD7CB-\\uD7FB\\uF900-\\uFA2D\\uFA30-\\uFA6D\\uFA70-\\uFAD9\\uFB00-\\uFB06\\uFB13-\\uFB17\\uFB1D\\uFB1F-\\uFB28\\uFB2A-\\uFB36\\uFB38-\\uFB3C\\uFB3E\\uFB40\\uFB41\\uFB43\\uFB44\\uFB46-\\uFBB1\\uFBD3-\\uFD3D\\uFD50-\\uFD8F\\uFD92-\\uFDC7\\uFDF0-\\uFDFB\\uFE70-\\uFE74\\uFE76-\\uFEFC\\uFF21-\\uFF3A\\uFF41-\\uFF5A\\uFF66-\\uFFBE\\uFFC2-\\uFFC7\\uFFCA-\\uFFCF\\uFFD2-\\uFFD7\\uFFDA-\\uFFDC0-9_]+", "i");n.addDirective("block",{block:!0,deferInit:!0,filters:{global:[["undef"]]},group:"block template define inherit blockInherit dynamic".split(" "),logic:!0,notEmpty:!0},function(a,b){var d=b.length,f=this.tplName;b=this.getFnName(a);if(!b)return this.error('invalid "'+this.name+'" name');var g=b.split("->");if(g[1]){if(b=g[1].trim(),!f){if(this.structure.parent)return this.error('the directive "outer block" can be used only within the global space');var c=this.environment.namespace;if(!c)return this.error('the directive "outer block" can\'t be declared without namespace'); try{f=this.tplName=this.N(c+sa(this.L(g[0])))}catch(r){return this.error(r.message)}f in La&&(delete La[f],this.R(f));c=this.preDefs[f]=this.preDefs[f]||{text:""};c.ta=this.info.line;c.i=this.i+1;this.outerLink=b}}else if(!this.outerLink&&!this.tplName)return this.error('the directive "'+this.name+'" can be used only within a template');if(!b||!f||Pe.test(b))return this.error('invalid "'+this.name+'" declaration');c=pa[this.name][f]=pa[this.name][f]||{};var h=La[f],m=c[b],l=void 0;h&&(l=pa[this.name][h]= pa[this.name][h]||{});c[b]||(m=c[b]={children:{},id:this.environment.id,name:b});this.outerLink||m.root||(l=l&&l[b],m.parent=l,m.ya=!(!h||!this.parentTplName),m.root=l?l.root:c[b],l&&(l.children[f]=c[b]));m=this.i-this.startTemplateI;this.startDir(null,{from:this.outerLink?this.i-this.C(d):m+1,name:b});c=this.structure;var k=String(this.name);l=h=void 0;if(b!==a){var p=this.S(k);p&&(l=a.split("=>")[1],h=p[b],null!=l&&(h=p[b]=l))}if(this.isAdvTest()){if(Wa[f][b])return this.error('the block "'+b+'" is already defined'); a=this.declFnArgs(a,{dir:k,fnName:b,parentTplName:this.parentTplName});c.params.isCallable=a.isCallable;Wa[f][b]={ja:a,external:1