UNPKG

23.4 kBJavaScriptView Raw
1(function(){var a=function(b,c){var d=a.resolve(b,c||"/"),e=a.modules[d];if(!e)throw new Error("Failed to resolve module "+b+", tried "+d);var f=e._cached?e._cached:e();return f},b=a;a.paths=[],a.modules={},a.extensions=[".js",".coffee"],a._core={assert:!0,events:!0,fs:!0,path:!0,vm:!0},a.resolve=function(){return function(b,c){function h(b){if(a.modules[b])return b;for(var c=0;c<a.extensions.length;c++){var d=a.extensions[c];if(a.modules[b+d])return b+d}}function i(b){b=b.replace(/\/+$/,"");var c=b+"/package.json";if(a.modules[c]){var e=a.modules[c](),f=e.browserify;if(typeof f=="object"&&f.main){var g=h(d.resolve(b,f.main));if(g)return g}else if(typeof f=="string"){var g=h(d.resolve(b,f));if(g)return g}else if(e.main){var g=h(d.resolve(b,e.main));if(g)return g}}return h(b+"/index")}function j(a,b){var c=k(b);for(var d=0;d<c.length;d++){var e=c[d],f=h(e+"/"+a);if(f)return f;var g=i(e+"/"+a);if(g)return g}var f=h(a);if(f)return f}function k(a){var b;a==="/"?b=[""]:b=d.normalize(a).split("/");var c=[];for(var e=b.length-1;e>=0;e--){if(b[e]==="node_modules")continue;var f=b.slice(0,e+1).join("/")+"/node_modules";c.push(f)}return c}c||(c="/");if(a._core[b])return b;var d=a.modules.path(),e=c||".";if(b.match(/^(?:\.\.?\/|\/)/)){var f=h(d.resolve(e,b))||i(d.resolve(e,b));if(f)return f}var g=j(b,e);if(g)return g;throw new Error("Cannot find module '"+b+"'")}}(),a.alias=function(b,d){var e=a.modules.path(),f=null;try{f=a.resolve(b+"/package.json","/")}catch(g){f=a.resolve(b,"/")}var h=e.dirname(f),i=c(a.modules);for(var j=0;j<i.length;j++){var k=i[j];if(k.slice(0,h.length+1)===h+"/"){var l=k.slice(h.length);a.modules[d+l]=a.modules[h+l]}else k===h&&(a.modules[d]=a.modules[h])}},a.define=function(b,c){var d=a._core[b]?"":a.modules.path().dirname(b),e=function(b){return a(b,d)};e.resolve=function(b){return a.resolve(b,d)},e.modules=a.modules;var f={exports:{}};a.modules[b]=function(){return c.call(f.exports,e,f,f.exports,d,b),a.modules[b]._cached=f.exports,f.exports}};var c=Object.keys||function(a){var b=[];for(var c in a)b.push(c);return b};typeof process=="undefined"&&(process={}),process.nextTick||(process.nextTick=function(a){setTimeout(a,0)}),process.title||(process.title="browser"),process.binding||(process.binding=function(b){if(b==="evals")return a("vm");throw new Error("No such module")}),process.cwd||(process.cwd=function(){return"."}),a.define("path",function(a,b,c,d,e){function f(a,b){var c=[];for(var d=0;d<a.length;d++)b(a[d],d,a)&&c.push(a[d]);return c}function g(a,b){var c=0;for(var d=a.length;d>=0;d--){var e=a[d];e=="."?a.splice(d,1):e===".."?(a.splice(d,1),c++):c&&(a.splice(d,1),c--)}if(b)for(;c--;c)a.unshift("..");return a}var h=/^(.+\/(?!$)|\/)?((?:.+?)?(\.[^.]*)?)$/;c.resolve=function(){var a="",b=!1;for(var c=arguments.length;c>=-1&&!b;c--){var d=c<0?process.cwd():arguments[c];if(typeof d!="string"||!d)continue;a=d+"/"+a,b=d.charAt(0)==="/"}return a=g(f(a.split("/"),function(a){return!!a}),!b).join("/"),(b?"/":"")+a||"."},c.normalize=function(a){var b=a.charAt(0)==="/",c=a.slice(-1)==="/";return a=g(f(a.split("/"),function(a){return!!a}),!b).join("/"),!a&&!b&&(a="."),a&&c&&(a+="/"),(b?"/":"")+a},c.join=function(){var a=Array.prototype.slice.call(arguments,0);return c.normalize(f(a,function(a,b){return a&&typeof a=="string"}).join("/"))},c.dirname=function(a){var b=h.exec(a)[1]||"",c=!1;return b?b.length===1||c&&b.length<=3&&b.charAt(1)===":"?b:b.substring(0,b.length-1):"."},c.basename=function(a,b){var c=h.exec(a)[2]||"";return b&&c.substr(-1*b.length)===b&&(c=c.substr(0,c.length-b.length)),c},c.extname=function(a){return h.exec(a)[3]||""}}),a.define("/dynamictemplate.js",function(a,b,c,d,e){(function(){var c,d,e,f;f=a("asyncxml"),d=f.Tag,c=f.Builder,e=a("./template"),b.exports={Tag:d,Builder:c,Template:e},process.title==="browser"&&function(){return this.dynamictemplate!=null?(this.dynamictemplate.Template=e,this.dynamictemplate.Builder=c,this.dynamictemplate.Tag=d):this.dynamictemplate=b.exports}.call(window)}).call(this)}),a.define("/node_modules/asyncxml/package.json",function(a,b,c,d,e){b.exports={name:"asyncxml",description:"async xml builder and generator",version:"0.4.0",homepage:"https://github.com/dodo/node-asyncxml",author:"dodo (https://github.com/dodo)",repository:{type:"git",url:"git://github.com/dodo/node-asyncxml.git"},main:"asyncxml.js",engines:{node:">= 0.4.x"},keywords:["async","xml","generation","stream","browser"],scripts:{test:"cake build && nodeunit test",prepublish:"cake build"},devDependencies:{"coffee-script":">= 1.1.2",muffin:">= 0.2.6",browserify:"1.6.1",scopify:">= 0.1.0","dt-stream":">= 0.1.1",nodeunit:">= 0.7.4"},licenses:[{type:"MIT",url:"http://github.com/dodo/node-asyncxml/raw/master/LICENSE"}]}}),a.define("/node_modules/asyncxml/asyncxml.js",function(a,b,c,d,e){b.exports=a("./lib/asyncxml")}),a.define("/node_modules/asyncxml/lib/asyncxml.js",function(a,b,c,d,e){(function(){var c,d,e;e=a("./xml"),d=e.Tag,c=e.Builder,this.asyncxml=b.exports={Tag:d,Builder:c}}).call(this)}),a.define("/node_modules/asyncxml/lib/xml.js",function(a,b,c,d,e){(function(){var c,d,e,f,g,h,i,j,k,l,m,n,o,p=Array.prototype.slice,q=function(a,b){return function(){return a.apply(b,arguments)}},r=Object.prototype.hasOwnProperty,s=function(a,b){function d(){this.constructor=a}for(var c in b)r.call(b,c)&&(a[c]=b[c]);return d.prototype=b.prototype,a.prototype=new d,a.__super__=b.prototype,a};e=a("events").EventEmitter,o=a("./util"),i=o.deep_merge,j=o.new_attrs,m=o.safe,d=["add","attr","data","text","raw","show","hide","remove","replace","close"],l=function(a,b,c,d){var e;return typeof b!="object"?(e=[c,b,{}],d=e[0],c=e[1],b=e[2]):b==null&&(b={}),d==null&&(d={}),[a,b,c,d]},h=function(a,b){var c,e,f,g,h,i;return e={},f=function(c){return typeof b.on=="function"?b.on(c,e[c]=function(){return a.emit.apply(a,[c].concat(p.call(arguments)))}):void 0},i=function(){var a,b,c,e;e=[];for(b=0,c=d.length;b<c;b++)a=d[b],e.push(f(a));return e},c=function(){var a,c,f,g,h;h=[];for(f=0,g=d.length;f<g;f++)a=d[f],(c=e[a])!=null?(typeof b.removeListener=="function"&&b.removeListener(a,c),h.push(e[a]=void 0)):h.push(void 0);return h},g=function(){return c(),this===b?a.removeListener("removed",g):b.removeListener("removed",g),a.removeListener("replaced",h),b.removeListener("replaced",h)},h=function(c){return this===b?(g.call(a),b=c,i()):(a.removeListener("removed",g),a=c),c.once("replaced",h),c.once("removed",g)},i(),b.once("removed",g),a.once("removed",g),b.once("replaced",h),a.once("replaced",h)},g=function(a,b){var c,d=this;return a==null?b!=null?b.call(this):void 0:(c=function(a,c){var e,f;return(e=c.builder)==null&&(c.builder=d.builder),(f=c.parent)==null&&(c.parent=d),h(d,c),d.emit("add",d,c),d.emit("new",c),d.isempty=!1,c.closed&&typeof c.emit=="function"&&c.emit("close",c),b!=null?b.call(d,c):void 0},this.builder!=null?this.builder.approve("new",this,a,c):c(this,a))},k=function(){var a,b,c,d,e,h,j,k,m,n,o,p;return j=l.apply(null,arguments),d=j[0],b=j[1],c=j[2],h=j[3],(k=h.level)==null&&(h.level=this.level+1),h=i((m=(n=this.builder)!=null?n.opts:void 0)!=null?m:{},h),h.builder=this.builder,a=(o=(p=this.builder)!=null?p.Tag:void 0)!=null?o:f,e=new a(d,b,null,h),e.parent=this,g.call(this,e,function(a){if(c!=null)return a.children(c,h)}),e},n=function(){var a,b,c,d,e,f;return f=l.apply(null,arguments),c=f[0],a=f[1],b=f[2],d=f[3],e=function(){return this.children(b),this.end()},k.call(this,c,a,e,d)},f=function(){function a(){this.ready=q(this.ready,this),this.remove=q(this.remove,this),this.replace=q(this.replace,this),this.add=q(this.add,this),this.toString=q(this.toString,this),this.end=q(this.end,this),this.hide=q(this.hide,this),this.show=q(this.show,this),this.up=q(this.up,this),this.write=q(this.write,this),this.raw=q(this.raw,this),this.text=q(this.text,this),this.children=q(this.children,this),this.removeAttr=q(this.removeAttr,this),this.attr=q(this.attr,this);var a,b,c,d,e;c=l.apply(null,arguments),this.name=c[0],this.attrs=c[1],a=c[2],b=c[3],this.pretty=(d=b.pretty)!=null?d:!1,this.level=(e=b.level)!=null?e:0,this.builder=b.builder,this.setMaxListeners(0),this.parent=this.builder,this.closed=!1,this.writable=!0,this.hidden=!1,this.isready=!1,this.isempty=!0,this.content="",this.children(a,b),this.$tag=n,this.tag=k}return s(a,e),a.prototype.attr=function(a,b){var c,d,e,f;if(typeof a=="string"){if(b==null&&(c=(f=this.builder)!=null?f.query("attr",this,a):void 0)!=null)return c!==void 0&&(this.attrs[a]=c),c;this.attrs[a]=b,this.emit("attr",this,a,b)}else for(d in a){if(!r.call(a,d))continue;e=a[d],e!==void 0?this.attrs[d]=e:delete this.attr[a],this.emit("attr",this,d,e)}return this},a.prototype.removeAttr=function(){var a,b,c,d;b=1>arguments.length?[]:p.call(arguments,0);for(c=0,d=b.length;c<d;c++)a=b[c],delete this.attrs[a],this.emit("attr",this,a,void 0);return this},a.prototype.children=function(a){return a==null?this:(typeof a=="function"?a.call(this):this.text(a),this)},a.prototype.text=function(a,b){var c;return b==null&&(b={}),a==null?this.content=(c=this.builder)!=null?c.query("text",this):void 0:(b.escape&&(a=m(a)),b.append?this.content+=a:this.content=a,this.emit("text",this,a),this.isempty=!1,this)},a.prototype.raw=function(a,b){return b==null&&(b={}),this.emit("raw",this,a),this.isempty=!1,this},a.prototype.write=function(a,b){var c,d,e;return e=b!=null?b:{},d=e.escape,c=e.append,d&&(a=m(a)),a&&this.emit("data",this,""+a),(c!=null?c:!0)?this.content+=a:this.content=a,this.isempty=!1,!0},a.prototype.up=function(a){var b;return a==null&&(a={}),(b=a.end)==null&&(a.end=!0),a.end&&this.end.apply(this,arguments),this.parent},a.prototype.show=function(){return this.hidden=!1,this.emit("show",this),this},a.prototype.hide=function(){return this.hidden=!0,this.emit("hide",this),this},a.prototype.end=function(){var a,b=this;return this.closed?this.closed!=="approving"&&(this.closed==="removed"?(this.emit("end"),this.writable=!1):(this.closed=!0,this.writable=!1)):(this.closed="approving",a=function(){var a;return b.isempty?b.closed="self":b.closed=!0,b.emit("close",b),b.emit("end"),b.writable=!1,a=function(){return b.isready=!0,b.emit("ready")},b.builder!=null?b.builder.approve("ready",b,a):a()},this.builder!=null?this.builder.approve("end",this,a):a(this,this)),this},a.prototype.toString=function(){return"<"+this.name+j(this.attrs)+(this.closed==="self"?"/>":this.closed?">"+this.content+"</"+this.name+">":">"+this.content)},a.prototype.add=function(a,b){var c,d;return c=(d=this.builder)!=null?d.query("tag",this,a):void 0,c==null&&this.builder==null&&(c=a),g.call(this,c,b),this},a.prototype.replace=function(a){var b,c,d,e;return b=(c=this.builder)!=null?c.query("tag",this,a):void 0,b==null&&this.builder==null&&(b=a),this===b?this:((d=b.parent)==null&&(b.parent=this.parent),(e=b.builder)==null&&(b.builder=this.builder),this.emit("replace",this,b),this.builder===b.builder&&(this.builder=null),this.parent=null,this.emit("replaced",b),b)},a.prototype.remove=function(){return this.closed||(this.closed="removed"),this.emit("remove",this),this.emit("removed"),this.removeAllListeners(),this},a.prototype.ready=function(a){return this.isready?(a!=null&&a.call(this),this):(this.once("ready",a),this)},a}(),c=function(){function a(a){var b,c,d;this.opts=a!=null?a:{},this.ready=q(this.ready,this),this.end=q(this.end,this),this.add=q(this.add,this),this.builder=this,this.checkers={},this.closed=!1,(c=(b=this.opts).pretty)==null&&(b.pretty=!1),this.level=(d=this.opts.level)!=null?d:-1,this.setMaxListeners(0),this.Tag=f,this.tag=k,this.$tag=n}return s(a,e),a.prototype.toString=function(){return"[object AsyncXMLBuilder]"},a.prototype.add=function(a,b){var c;return c=this.query("tag",this,a),c==null&&(c=a),g.call(this,c,b),this},a.prototype.end=function(){return this.closed=!0,this.emit("close",this),this.emit("end"),this},a.prototype.ready=function(a){return this.closed===!0?typeof a=="function"?a():void 0:this.once("end",a)},a.prototype.query=function(a,b,c){if(a==="attr")return b.attrs[c];if(a==="text")return b.content;if(a==="tag")return c},a.prototype.register=function(a,b){var c,d;if(a!=="new"&&a!=="end"&&a!=="ready")throw new Error("only type 'ready', 'new' or 'end' allowed.");return(d=(c=this.checkers)[a])==null&&(c[a]=[]),this.checkers[a].push(b)},a.prototype.approve=function(a,b,c,d){var e,f,g,h,i;e=(g=(h=this.checkers[a])!=null?typeof h.slice==="function"?h.slice():void 0:void 0)!=null?g:[];switch(a){case"new":f=function(a){var c,g;return c=(g=e.shift())!=null?g:d,c(b,a,f)};break;case"ready":case"end":i=[c,b],d=i[0],c=i[1],f=function(a){var b,c;return b=(c=e.shift())!=null?c:d,b(a,f)};break;default:throw new Error("type '"+a+"' not supported.")}return f(c)},a}(),b.exports={Tag:f,Builder:c}}).call(this)}),a.define("events",function(a,b,c,d,e){process.EventEmitter||(process.EventEmitter=function(){});var f=c.EventEmitter=process.EventEmitter,g=typeof Array.isArray=="function"?Array.isArray:function(a){return Object.toString.call(a)==="[object Array]"},h=10;f.prototype.setMaxListeners=function(a){this._events||(this._events={}),this._events.maxListeners=a},f.prototype.emit=function(a){if(a==="error")if(!this._events||!this._events.error||g(this._events.error)&&!this._events.error.length)throw arguments[1]instanceof Error?arguments[1]:new Error("Uncaught, unspecified 'error' event.");if(!this._events)return!1;var b=this._events[a];if(!b)return!1;if(typeof b=="function"){switch(arguments.length){case 1:b.call(this);break;case 2:b.call(this,arguments[1]);break;case 3:b.call(this,arguments[1],arguments[2]);break;default:var c=Array.prototype.slice.call(arguments,1);b.apply(this,c)}return!0}if(g(b)){var c=Array.prototype.slice.call(arguments,1),d=b.slice();for(var e=0,f=d.length;e<f;e++)d[e].apply(this,c);return!0}return!1},f.prototype.addListener=function(a,b){if("function"!=typeof b)throw new Error("addListener only takes instances of Function");this._events||(this._events={}),this.emit("newListener",a,b);if(!this._events[a])this._events[a]=b;else if(g(this._events[a])){if(!this._events[a].warned){var c;this._events.maxListeners!==undefined?c=this._events.maxListeners:c=h,c&&c>0&&this._events[a].length>c&&(this._events[a].warned=!0,console.error("(node) warning: possible EventEmitter memory leak detected. %d listeners added. Use emitter.setMaxListeners() to increase limit.",this._events[a].length),console.trace())}this._events[a].push(b)}else this._events[a]=[this._events[a],b];return this},f.prototype.on=f.prototype.addListener,f.prototype.once=function(a,b){var c=this;return c.on(a,function d(){c.removeListener(a,d),b.apply(this,arguments)}),this},f.prototype.removeListener=function(a,b){if("function"!=typeof b)throw new Error("removeListener only takes instances of Function");if(!this._events||!this._events[a])return this;var c=this._events[a];if(g(c)){var d=c.indexOf(b);if(d<0)return this;c.splice(d,1),c.length==0&&delete this._events[a]}else this._events[a]===b&&delete this._events[a];return this},f.prototype.removeAllListeners=function(a){return a&&this._events&&this._events[a]&&(this._events[a]=null),this},f.prototype.listeners=function(a){return this._events||(this._events={}),this._events[a]||(this._events[a]=[]),g(this._events[a])||(this._events[a]=[this._events[a]]),this._events[a]}}),a.define("/node_modules/asyncxml/lib/util.js",function(a,b,c,d,e){(function(){var a,c,d,e,f,g,h,i=Array.prototype.slice;e=Array.isArray,c=function(){var a,b,d,f,g,h,j;d=1>arguments.length?[]:i.call(arguments,0),e(d[0])&&(d=d[0]),f={};for(h=0,j=d.length;h<j;h++){b=d[h];for(a in b)g=b[a],typeof g=="object"&&!e(g)?f[a]=c(f[a]||{},g):f[a]=g}return f},d=function(a){var b,c;return b=a.level,c=a.pretty,!c||b===0?"":(c===!0&&(c=" "),c)},a=function(a,b){var c,d;return c=a.level,d=a.pretty,d?(b!=null?b[(b!=null?b.length:void 0)-1]:void 0)==="\n"?b:""+b+"\n":b},g=function(b,c){return(b!=null?!b.pretty:!void 0)?c:""+d(b)+a(b,c)},f=function(a){var b,c,d;return a==null&&(a={}),c=function(){var c;c=[];for(b in a)d=a[b],d!=null?(typeof d!="number"&&(d='"'+d+'"'),c.push(""+b+"="+d)):c.push(""+b);return c}(),c.length&&c.unshift(""),c.join(" ")},h=function(a){return String(a).replace(/&(?!\w+;)/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;")},b.exports={deep_merge:c,prettify:g,indent:d,new_attrs:f,safe:h}}).call(this)}),a.define("/template.js",function(a,b,c,d,e){(function(){var c,d,e,f,g,h,i,j,k,l,m,n=function(a,b){return function(){return a.apply(b,arguments)}},o=Object.prototype.hasOwnProperty,p=function(a,b){function d(){this.constructor=a}for(var c in b)o.call(b,c)&&(a[c]=b[c]);return d.prototype=b.prototype,a.prototype=new d,a.__super__=b.prototype,a},q=Array.prototype.slice;e=a("events").EventEmitter,c=a("asyncxml").Builder,m=a("./schema"),k=m.schema,l=m.self_closing,h=a("./doctype").doctype,g=a("./alias").aliases,d=["new","add","show","hide","attr","text","raw","remove","replace","data","close","end"],j=function(a,b){return a[b]=function(){var a;return this.tag.apply(this,(a=[b]).concat.apply(a,arguments))},a["$"+b]=function(){var a;return this.$tag.apply(this,(a=[b]).concat.apply(a,arguments))}},i=function(a,b){var c,d,e;for(d=0,e=b.length;d<e;d++)c=b[d],c&&j(a,c)},f=function(){function a(a,b){var e,f,j,m,o,r,s,t,u,v,w,x,y=this;a==null&&(a={}),this.ready=n(this.ready,this),this.end=n(this.end,this),this.register=n(this.register,this),typeof a=="function"&&(t=[a,{}],b=t[0],a=t[1]),(u=a.encoding)==null&&(a.encoding="utf-8"),(v=a.doctype)==null&&(a.doctype=!1),(w=a.end)==null&&(a.end=!0),s=a.schema,r=g[s]||s||"xml",a.self_closing=typeof l[r]=="function"?l[r](a):void 0,a.schema=typeof k[r]=="function"?k[r](a).split(" "):void 0,e=(x=a.Builder)!=null?x:c,f=function(){function a(){a.__super__.constructor.apply(this,arguments)}return p(a,e),a}(),i(f.prototype,a.schema),this.xml=new f(a),this.xml.template=this,o=this.xml.query,this.xml.query=function(a,b,c){var d;return a==="tag"?(d=c.xml)!=null?d:c:o.call(this,a,b,c)},m=this.xml.Tag,j=function(){function a(){a.__super__.constructor.apply(this,arguments)}return p(a,m),a}(),i(j.prototype,a.schema),this.xml.Tag=this.xml.opts.Tag=j,this.xml.register("end",function(b,c){return a.self_closing!==!0&&!a.self_closing.match(b.name)&&(b.isempty=!1),c(b)}),d.forEach(function(a){return y.xml.on(a,function(){var b;return b=1>arguments.length?[]:q.call(arguments,0),y.emit.apply(y,[a].concat(q.call(b)))})}),process.nextTick(function(){var c,d,e,f;a.doctype===!0&&(a.doctype="html"),c=g[a.doctype]||a.doctype,a.doctype&&(d=typeof h[c]=="function"?h[c](a):void 0)&&(a.pretty&&(d+="\n"),y.xml.emit("data",y.xml,d));if(typeof b!="function")return((f=y.xml)!=null?f._debug:void 0)&&console.error("PASS",y.xml._view.cid),y.end(b);((e=y.xml)!=null?e._debug:void 0)&&console.error("RUN",y.xml._view.cid),b.call(y.xml);if(a.end)return y.end()})}return p(a,e),a.prototype.toString=function(){return"[object Template]"},a.prototype.register=function(){var a;return(a=this.xml).register.apply(a,arguments)},a.prototype.end=function(){var a;return(a=this.xml).end.apply(a,arguments)},a.prototype.ready=function(){var a;return(a=this.xml).ready.apply(a,arguments)},a}(),f.schema=k,f.doctype=h,f.self_closing=l,f.aliases=g,b.exports=f}).call(this)}),a.define("/schema.js",function(a,b,c,d,e){(function(){var a,c;a={xml:function(){return""},html:function(){return""+a.xml()+" "+a["html-obsolete"]()+" iframe label legend "+(""+c.html()+" html body div ul li a b body button colgroup ")+"dfn div dl dt em dd del form h1 h2 h3 h4 h5 h6 head hgroup html ins "+"li map i mark menu meter nav noscript object ol optgroup option p "+"pre script select small span strong style sub sup table tbody tfoot "+"td textarea th thead title tr u ul"},html5:function(){return""+a.html()+" "+c.html5()+" section article video q s "+"audio abbr address aside bdi bdo blockquote canvas caption cite code "+"datalist details fieldset figcaption figure footer header kbd output "+"progress rp rt ruby samp summary time"},strict:function(){return""+a.html()},xhtml:function(){return""+a.html()},"xhtml1.1":function(){return""+a.xhtml()},frameset:function(){return""+a.xhtml()},transitional:function(){return""+a.xhtml()},mobile:function(){return""+a.xhtml()},"html-ce":function(){return""+a.xhtml()},"html-obsolete":function(){return"applet acronym bgsound dir frameset noframes isindex listing nextid noembed plaintext rb strike xmp big blink center font marquee nobr multicol spacer tt"},"svg1.1":function(){return"altGlyph altGlyphDef altGlyphItem animate animateColor animateMotiona animateTransform circle clipPath color-profile cursor defs descellipse feBlend feColorMatrix feComponentTransfer feCompositefeConvolveMatrix feDiffuseLighting feDisplacementMap feDistantLightfeFlood feFuncA feFuncB feFuncG feFuncR feGaussianBlur feImagefeMerge feMergeNode feMorphology feOffset fePointLight feSpotLightfeSpecularLighting feTile feTurbulence linearGradient polylinefilter font font-face font-face-format font-face-name font-face-srcfont-face-uri foreignObject g glyph glyphRef hkern image linemarker mask metadata missing-glyph mpath path pattern polygonradialGradient rect script set stop style svg switch symbol texttextPath title tref tspan use view vkern"}},c={xml:function(){return!0},"svg1.1":function(){return!0},html:function(){return"area br col embed hr img input link meta param"},html5:function(){return""+c.html()+" base command keygen source track wbr"},mobile:function(){return""+c.xhtml()},"html-ce":function(){return""+c.xhtml()},strict:function(){return""+c.xhtml()},"xhtml1.1":function(){return""+c.xhtml()},xhtml:function(){return""+c.html()},frameset:function(){return""+c.xhtml()},transitional:function(){return""+c.xhtml()}},b.exports={self_closing:c,schema:a}}).call(this)}),a.define("/doctype.js",function(a,b,c,d,e){(function(){var a;a={xml:function(a){var b;return b=a.encoding,'<?xml version="1.0" encoding="'+b+'" ?>'},html:function(){return"<!DOCTYPE html>"},html5:function(){return""+a.html()},mobile:function(){return'<!DOCTYPE html PUBLIC "-//WAPFORUM//DTD XHTML Mobile 1.2//EN" "http://www.openmobilealliance.org/tech/DTD/xhtml-mobile12.dtd">'},"html-ce":function(){return'<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "ce-html-1.0-transitional.dtd">'},strict:function(){return'<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">'},"xhtml1.1":function(){return'<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">'},xhtml:function(){return'<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML Basic 1.1//EN" "http://www.w3.org/TR/xhtml-basic/xhtml-basic11.dtd">'},frameset:function(){return'<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">'},transitional:function(){return'<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">'}},b.exports={doctype:a}}).call(this)}),a.define("/alias.js",function(a,b,c,d,e){(function(){var a;a={"default":"xml",5:"html5",5:"html5",ce:"html-ce",1.1:"xhtml1.1",html11:"xhtml1.1",basic:"xhtml",xhtml1:"xhtml","xhtml-basic":"xhtml","xhtml-strict":"strict","xhtml-mobile":"mobile","xhtml-frameset":"frameset","xhtml-trasitional":"transitional",svg:"svg1.1"},b.exports={aliases:a}}).call(this)}),a("./dynamictemplate")}).call(this)
\No newline at end of file