!function(d,k){return"function"===typeof require&&typeof exports===typeof module?module.exports=k:d.MiniCoffeeCup=k}(this,function(){var d;d=function(k,d){this.o=null!=k?k:{};this.templates=null!=d?d:{};this.o.doctypes=this.o.doctypes||{};this.o.doctypes[5]="";this.o.doctypes.xml='';this.o.doctypes["1.1"]='';this.o.doctypes.basic=''; this.o.doctypes.frameset='';this.o.doctypes.mobile='';this.o.doctypes.strict='';this.o.doctypes.transitional=''; this.o.html_block_tags="a abbr acronym address applet article aside audio b bdo big blockquote body button canvas caption center cite code colgroup command datalist dd del details dfn dir div dl dt em embed fieldset figcaption figure font footer form frameset h1 h2 h3 h4 h5 h6 head header hgroup html i iframe ins keygen kbd label legend li map mark menu meter nav noframes noscript object ol optgroup option output p pre progress q rp rt ruby s samp script section select small source span strike strong style sub summary sup table tbody td textarea tfoot th thead time title tr tt u ul var video wbr xmp".split(" "); this.o.html_atomic_tags="area base basefont br col frame hr img input link meta param".split(" ");this.o.autoescape=this.o.autoescape||!1;this.o.special_chars={"&":"&","<":"<",">":">",'"':""","'":"'"};this.o.format=this.o.format||!1;this.o.indent=(this.o.format||"")&&(this.o.indent||" ");return this.o.newline=(this.o.format||"")&&(this.o.newline||"\n")};d.prototype.render=function(d,p){var e,n,l,c,a,f,g,m,j;a="";l=0;c=this.o;var q=c.indent;c.indent=function(){return Array(l).join(q)}; e={h:function(b){return(""+b).replace(/[&<>"']/g,function(b){return c.special_chars[b]||b})},tag:function(b,r,d,g){return function(){var h,f;h=arguments[arguments.length-1];"function"!==typeof h&&(h="");l++;f="object"===typeof arguments[0]?r(arguments[0]):"";if("function"===typeof h){var j=a;a="";h.call(p);""!==a&&(a=c.newline+a+c.indent());h=a=c.indent()+b+f+d+a+g+c.newline;a=j+h}else a+=c.indent()+b+f+d+("undefined"===typeof h?"":c.autoescape?e.h(h):h)+g+c.newline;return l--}},coffeescript:function(b){return e.script((""+ b).slice(11))},comment:function(b){return e.tag("\x3c!--","--\x3e")(b)},doctype:function(b){return a=c.doctypes[b||5]+a},ie:function(b,a){return e.tag("\x3c!--[if "+b+"]>","","");j=c.html_atomic_tags;g=0;for(m=j.length;g","");Function("globals","locals","with(globals){("+d+").call(locals)}")(e,p);return a};return d}());