/*! art-template@4.13.2 for browser | https://github.com/aui/art-template */(function(f,p){typeof exports=="object"&&typeof module=="object"?module.exports=p():typeof define=="function"&&define.amd?define([],p):typeof exports=="object"?exports.template=p():f.template=p()})(typeof self!="undefined"?self:this,function(){return function(f){function p(e){if(i[e])return i[e].exports;var a=i[e]={i:e,l:!1,exports:{}};return f[e].call(a.exports,a,a.exports,p),a.l=!0,a.exports}var i={};return p.m=f,p.c=i,p.d=function(e,a,l){p.o(e,a)||Object.defineProperty(e,a,{configurable:!1,enumerable:!0,get:l})},p.n=function(e){var a=e&&e.__esModule?function(){return e.default}:function(){return e};return p.d(a,"a",a),a},p.o=function(e,a){return Object.prototype.hasOwnProperty.call(e,a)},p.p="",p(p.s=4)}([function(f,p,i){"use strict";var e=i(6),a=i(2),l=i(22),s=function(r,t){t.onerror(r,t);var n=function(){return"{Template Error}"};return n.mappings=[],n.sourcesContent=[],n},o=function r(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};typeof t!="string"?n=t:n.source=t,n=a.$extend(n),t=n.source,n.debug===!0&&(n.cache=!1,n.minimize=!1,n.compileDebug=!0),n.compileDebug&&(n.minimize=!1),n.filename&&(n.filename=n.resolveFilename(n.filename,n));var c=n.filename,w=n.cache,m=n.caches;if(w&&c){var x=m.get(c);if(x)return x}if(!t)try{t=n.loader(c,n),n.source=t}catch(h){var d=new l({name:"CompileError",path:c,message:"template not found: "+h.message,stack:h.stack});if(n.bail)throw d;return s(d,n)}var b=void 0,k=new e(n);try{b=k.build()}catch(h){if(h=new l(h),n.bail)throw h;return s(h,n)}var T=function(h,E){try{return b(h,E)}catch(j){if(!n.compileDebug)return n.cache=!1,n.compileDebug=!0,r(n)(h,E);if(j=new l(j),n.bail)throw j;return s(j,n)()}};return T.mappings=b.mappings,T.sourcesContent=b.sourcesContent,T.toString=function(){return b.toString()},w&&c&&m.set(c,T),T};o.Compiler=e,f.exports=o},function(f,p){Object.defineProperty(p,"__esModule",{value:!0}),p.default=/((['"])(?:(?!\2|\\).|\\(?:\r\n|[\s\S]))*(\2)?|`(?:[^`\\$]|\\[\s\S]|\$(?!\{)|\$\{(?:[^{}]|\{[^}]*\}?)*\}?)*(`)?)|(\/\/.*)|(\/\*(?:[^*]|\*(?!\/))*(\*\/)?)|(\/(?!\*)(?:\[(?:(?![\]\\]).|\\.)*\]|(?![\/\]\\]).|\\.)+\/(?:(?!\s*(?:\b|[\u0080-\uFFFF$\\'"~({]|[+\-!](?!=)|\.?\d))|[gmiyu]{1,5}\b(?![\u0080-\uFFFF$\\]|\s*(?:[+\-*%&|^<>!=?({]|\/(?![\/*])))))|(0[xX][\da-fA-F]+|0[oO][0-7]+|0[bB][01]+|(?:\d*\.\d+|\d+\.?)(?:[eE][+-]?\d+)?)|((?!\d)(?:(?!\s)[$\w\u0080-\uFFFF]|\\u[\da-fA-F]{4}|\\u\{[\da-fA-F]+\})+)|(--|\+\+|&&|\|\||=>|\.{3}|(?:[+\-\/%&|^]|\*{1,2}|<{1,2}|>{1,3}|!=?|={1,2})=?|[?~.,:;[\](){}])|(\s+)|(^$|[\s\S])/g,p.matchToToken=function(i){var e={type:"invalid",value:i[0]};return i[1]?(e.type="string",e.closed=!(!i[3]&&!i[4])):i[5]?e.type="comment":i[6]?(e.type="comment",e.closed=!!i[7]):i[8]?e.type="regex":i[9]?e.type="number":i[10]?e.type="name":i[11]?e.type="punctuator":i[12]&&(e.type="whitespace"),e}},function(f,p,i){"use strict";function e(){this.$extend=function(b){return b=b||{},l(b,b instanceof e?b:this)}}var a=i(10),l=i(12),s=i(13),o=i(14),r=i(15),t=i(16),n=i(17),c=i(18),w=i(19),m=i(21),x=typeof window=="undefined",d={source:null,filename:null,rules:[c,n],escape:!0,debug:!!x&&process.env.NODE_ENV!=="production",bail:!0,cache:!0,minimize:!0,compileDebug:!1,resolveFilename:m,include:s,htmlMinifier:w,htmlMinifierOptions:{collapseWhitespace:!0,minifyCSS:!0,minifyJS:!0,ignoreCustomFragments:[]},onerror:o,loader:t,caches:r,root:"/",extname:".art",ignore:[],imports:a};e.prototype=d,f.exports=new e},function(f,p){},function(f,p,i){"use strict";var e=i(5),a=i(0),l=i(23),s=function(o,r){return r instanceof Object?e({filename:o},r):a({filename:o,source:r})};s.render=e,s.compile=a,s.defaults=l,f.exports=s},function(f,p,i){"use strict";var e=i(0),a=function(l,s,o){return e(l,o)(s)};f.exports=a},function(f,p,i){"use strict";function e(O,u,g){return u in O?Object.defineProperty(O,u,{value:g,enumerable:!0,configurable:!0,writable:!0}):O[u]=g,O}function a(O){if(Array.isArray(O)){for(var u=0,g=Array(O.length);u|\([\w\W]*?\))\s*{[\s;]*$)/,"$1})"],[/(^[\w\W]*?\([\w\W]*?\)\s*{[\s;]*$)/,"$1}"]],v=0;v2&&arguments[2]!==void 0?arguments[2]:{},t=[new a("string",s)],n=0;nT&&(b=new a("string",E.slice(T,k.index),b),h.push(b)),b=new a("expression",k[0],b),k[0]=e(b),b.script=c.use.apply(r,k),h.push(b),T=k.index+k[0].length;T]/;o.$escape=function(t){return l(a(t))},o.$each=function(t,n){if(Array.isArray(t))for(var c=0,w=t.length;c {{"+E+"}}")};switch(l==="#"&&b("#value","@value"),d){case"set":o="var "+c.join("").trim();break;case"if":o="if("+c.join("").trim()+"){";break;case"else":var k=c.indexOf("if");~k?(c.splice(0,k+1),o="}else if("+c.join("").trim()+"){"):o="}else{";break;case"/if":o="}";break;case"each":m=e._split(n),m.shift(),m[1]==="as"&&(b("each object as value index","each object value index"),m.splice(1,1)),o="$each("+(m[0]||"$data")+",function("+(m[1]||"$value")+","+(m[2]||"$index")+"){";break;case"/each":o="})";break;case"block":m=e._split(n),m.shift(),o="block("+m.join(",").trim()+",function(){";break;case"/block":o="})";break;case"echo":d="print",b("echo value","value");case"print":case"include":case"extend":if(c.join("").trim().indexOf("(")!==0){m=e._split(n),m.shift(),o=d+"("+m.join(",")+")";break}default:if(~c.indexOf("|")){var T=n.reduce(function(h,E){var j=E.value,P=E.type;return j==="|"?h.push([]):P!=="whitespace"&&P!=="comment"&&(h.length||h.push([]),j===":"&&h[h.length-1].length===1?b("value | filter: argv","value | filter argv"):h[h.length-1].push(E)),h},[]).map(function(h){return e._split(h)});o=T.reduce(function(h,E){var j=E.shift();return E.unshift(h),"$imports."+j+"("+E.join(",")+")"},T.shift().join(" ").trim())}x=x||"escape"}return w.code=o,w.output=x,w},_split:function(a){a=a.filter(function(n){var c=n.type;return c!=="whitespace"&&c!=="comment"});for(var l=0,s=a.shift(),o=/\]|\)/,r=[[s]];l/,use:function(a,l,s,o){return s={"-":"raw","=":"escape","":!1,"==":"raw","=#":"raw"}[s],l&&(o="/*"+o+"*/",s=!1),{code:o,output:s}}};f.exports=e},function(f,p,i){"use strict";function e(s){if(Array.isArray(s)){for(var o=0,r=Array(s.length);o> ":" ")+P+"| "+E}).join(` `);return(c||"anonymous")+":"+w+":"+m+` `+h+` `+t+": "+d+(x?` generated: `+x:"")}var o=function(r){function t(n){e(this,t);var c=a(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,n.message));return c.name="TemplateError",c.message=s(n),Error.captureStackTrace&&Error.captureStackTrace(c,c.constructor),c}return l(t,r),t}(Error);f.exports=o},function(f,p,i){"use strict";f.exports=i(2)}])});