text: module.exports={html_image:function(e){var a=e.height?' height="'+e.height+'"':"";var t=e.width?' width="'+e.width+'"':"";var r=e.border?' border="'+e.border+'"':"";var o=e.alt?' alt="'+e.alt+'"':"";return'<img src="'+(e.file||"")+'"'+a+t+r+o+"/>"},html_checkboxes:function(e){var a="";var t=e.name||"checkboxs";if(e.values&&e.output){for(var r in e.values){if(e.values.hasOwnProperty(r)){var o=e.values[r];var n=e.output[r];a+='<label><input type="checkbox" name="'+t+'" value="'+o+'"'+(o==e.selected?" checked":"")+"/>"+n+"</label>"+(e.separator||"")}}}else if(e.options){var i=e.options;for(var l in i){if(i.hasOwnProperty(l)){a+='<label><input type="checkbox" name="'+t+'" value="'+l+'"'+(l==e.selected?" checked":"")+"/>"+i[l]+"</label>"+(e.separator||"")}}}return a},html_options:function(e){var a=e.name||"select";var t='<select name="'+a+'">';if(e.values&&e.output){for(var r in e.values){if(e.values.hasOwnProperty(r)){var o=e.values[r];var n=e.output[r];t+='<option label="'+n+'" value="'+o+'"'+(o==e.selected?" selected":"")+">"+n+"</option>"}}}else if(e.options){var i=e.options;for(var l in i){if(i.hasOwnProperty(l)){t+='<option label="'+i[l]+'" value="'+l+'"'+(l==e.selected?" selected":"")+">"+i[l]+"</option>"}}}return t+"</select>"},html_radios:function(e){var a="";var t=e.name||"radios";if(e.values&&e.output){for(var r in e.values){if(e.values.hasOwnProperty(r)){var o=e.values[r];var n=e.output[r];a+='<label for="'+t+"_"+o+'">'+'<input type="radio" name="'+t+'" value="'+t+"_"+o+'"'+(o==e.checked?" checked":"")+"/>"+n+"</label>"+(e.separator||"")}}}else if(e.options){var i=e.options;for(var l in i){if(i.hasOwnProperty(l)){a+='<label for="'+t+"_"+l+'">'+'<input type="radio" name="'+t+'" value="'+t+"_"+l+'"'+(l==e.checked?" checked":"")+"/>"+i[l]+"</label>"+(e.separator||"")}}}return a},math:function(e){var a="";if(e.equation){a=new Function("o","return "+e.equation.replace(/[_\w][_\w\d]*/g,function(e){return(Math[e]?"Math.":"o.")+e}))(e)}if(e.format){a=__f["string_format"](""+a,e.format)}if(e.assign){__da[e.assign]=a;a=""}return a}};