tocco-sso-login 1.0.48-hotfix33.2 → 1.0.50

Sign up to get free protection for your applications and to get access to all the features.
Files changed (82) hide show
  1. package/changelog.md +4 -3
  2. package/dist/078dd0bd08c93b1512e3d1b777591b21.js +1 -0
  3. package/dist/0ca4856bacc99d59caaf8d6b0b8aa4c4.js +1 -0
  4. package/dist/144adc7fc170515d7ad0848f62750212.js +1 -0
  5. package/dist/{e0e32c3798e8895695ce5b372a0c989f.js → 17d6fad347d03f1f2e65fb4479b3f7b5.js} +1 -1
  6. package/dist/1d2edec11ed8c1921ed26bf5d16211a9.js +1 -0
  7. package/dist/1f61828212266980fa7429ad97f1f03a.js +1 -0
  8. package/dist/29412d07e2305a1c0f405f772230ff13.js +1 -0
  9. package/dist/330cb4f683608bf642291154235eb108.js +1 -0
  10. package/dist/36a42bf8f97fcc2f60e7ac238af8e132.js +1 -0
  11. package/dist/39398a0fc9612e2955292f1f6685e899.js +1 -0
  12. package/dist/39bc702796f79cda52cc9212f16ca98e.js +1 -0
  13. package/dist/3ce124d5c58fb2e6d1e5e6c8b08007c8.js +1 -0
  14. package/dist/3ec2ce7cdb0155466b585d94276aa5e9.js +1 -0
  15. package/dist/3f601e84c82edff0c1f70dfd55e793b2.js +1 -0
  16. package/dist/46cf0eb693fb264adccd486408cd153e.js +1 -0
  17. package/dist/4f3d9fe6a71eada52161766ffc07bc5b.js +1 -0
  18. package/dist/4fbad606f7168c43979349735a8172b9.js +1 -0
  19. package/dist/542e43220c9098c8a7c5bcb91772c1bd.js +1 -0
  20. package/dist/5f38028427c0348fbcd2e1d0f629608e.js +1 -0
  21. package/dist/63596b4896732fb322ab0496b4be1e74.js +1 -0
  22. package/dist/6a63f612728a4abdfd72ae8146aae21e.js +1 -0
  23. package/dist/6f767c6e3ff325a4e8b3f454a31d2792.js +1 -0
  24. package/dist/72b9dbd845087db7875bce3ed63af440.js +1 -0
  25. package/dist/744aef747001c7b433be1c2506249a70.js +1 -0
  26. package/dist/7abd9b8a6443d2700a17ac98da076145.js +1 -0
  27. package/dist/7d3181e5ababe06834584618705eb4e6.js +1 -0
  28. package/dist/7f79ecefa1fc3addf8b44266280ad1af.js +1 -0
  29. package/dist/7fb50a6507529be796f6f419966d135e.js +1 -0
  30. package/dist/{27ccb71fa24357a0919a861351d5b82d.js → 82d81a8c6de5021d55e1050a93fb8a89.js} +1 -1
  31. package/dist/85841f44fb83ebfe4fde3802e0146941.js +1 -0
  32. package/dist/8f1c8dfd4a163864c29da13625af9830.js +1 -0
  33. package/dist/9a63d1335ad4809036e34eb68c19aad2.js +1 -0
  34. package/dist/{7735af777659608bcd8cd6525e3bbe58.js → 9c0f556f943f797def423b4f822aaaac.js} +0 -0
  35. package/dist/acc41319993667f1f1396aeac2384b88.js +1 -0
  36. package/dist/af302c14557e2d4ea99ba5d5151b656b.js +1 -0
  37. package/dist/b68df8e7aa6fa65a922c39af0f7f1da2.js +1 -0
  38. package/dist/b7b1369f7d92d41c9e1a8ed18ff55f4f.js +1 -0
  39. package/dist/bac1da6651107290d1f5c0454d65f51e.js +1 -0
  40. package/dist/c7d34fa67452aa932714bde5be811755.js +1 -0
  41. package/dist/c838ad50c9f760381a55e995a354f711.js +1 -0
  42. package/dist/chunk-911.e0bc2789d88555190ff1.js +1 -0
  43. package/dist/{chunk-vendor-icons.ade79dcd0fe0af821e3c.js → chunk-vendor-icons.60c4d3d269fef78fdbde.js} +1 -1
  44. package/dist/{ad215d7ba317c941cdcc96ae78e86666.js → d0b7d391d6f314e33c05e23eadacfedf.js} +1 -1
  45. package/dist/{85a977f41a907dba8c672f9bf4943da0.js → d348e85dc2ed1ebfe2efcb918cb4a10f.js} +1 -1
  46. package/dist/e2edc11d0c5133fcca87ccb38a04f4bb.js +1 -0
  47. package/dist/e48948a9f1295bf7d546ee48c7b88d35.js +1 -0
  48. package/dist/e9c8f7e13e00284ce126890bf7ac46fd.js +1 -0
  49. package/dist/f487a8cc561dfae6c0b18f62a284c519.js +1 -0
  50. package/dist/{3646668820dc96864fbed7746f805947.js → f4b5e6253813413316fa56c85d891303.js} +1 -1
  51. package/dist/f8c168b135f9d7f1a4a767ae159f4119.js +1 -0
  52. package/dist/index.js +28 -24
  53. package/package.json +1 -1
  54. package/dist/03371bf1d5cbb1eab58e3a0130d1e9c2.js +0 -1
  55. package/dist/04770a551c5b6daa744be9b180a8d0fe.js +0 -1
  56. package/dist/0794fa2b9c882c72fa7d586069b61055.js +0 -1
  57. package/dist/0a858573915ab9b03fe79f98f8c51a04.js +0 -1
  58. package/dist/0beea7b55cf3b8c9f9b0bd46170bb30e.js +0 -1
  59. package/dist/11dc77ef2ea3a04834945a52f7de2072.js +0 -1
  60. package/dist/18cfa6de2de3832aa10439fbf963217a.js +0 -1
  61. package/dist/25c99a71d30112583893bc5277402c46.js +0 -1
  62. package/dist/28acb3b48578dfd30dd555fff7c822f7.js +0 -1
  63. package/dist/2d2a42eeeeec801ab35f2fff7d900e43.js +0 -1
  64. package/dist/36474100e81ab63c4ddbc94ab2cc8667.js +0 -1
  65. package/dist/37afa466cdb7fa8fc2e043164d48f29e.js +0 -1
  66. package/dist/38270ad5088729f40c461c4a5a6bad5d.js +0 -1
  67. package/dist/3dcc18a5dee46b57ad7f85c0bee86802.js +0 -1
  68. package/dist/5bad2df0e3bfd8fdc1a332fb6276cb39.js +0 -1
  69. package/dist/637e363c105dce85c12fb99d7ef2fa7d.js +0 -1
  70. package/dist/63b15fb6fc8f897b22a4bf72b7e8452a.js +0 -1
  71. package/dist/6bb61adbbc13088ee1c32d88b5c7e754.js +0 -1
  72. package/dist/7f12d133c88ce53d0837a6c4c0287a37.js +0 -1
  73. package/dist/964646d64dd3196a9c27fe302511414a.js +0 -1
  74. package/dist/97e72973d750ecb3bc2e75b75bf63c5b.js +0 -1
  75. package/dist/ab4b314445b23359319c14cce9a0e321.js +0 -1
  76. package/dist/b7b7be8216519adf62d75f123f9c6423.js +0 -1
  77. package/dist/b8197742452dd2e77090dde34cb2dc4d.js +0 -1
  78. package/dist/bb4d542cb170b3f7b27a42c69262975b.js +0 -1
  79. package/dist/c733414555a126e689832ffb55cc203f.js +0 -1
  80. package/dist/chunk-247.4346fadf4ac552a143f6.js +0 -1
  81. package/dist/f42342b39da2c42adc65ebcf52839f90.js +0 -1
  82. package/dist/f7186078e00d958aa2b316483dfc7e1c.js +0 -1
@@ -0,0 +1 @@
1
+ !function(e){if(!(void 0!==e.window&&e.document||e.require&&e.define)){e.console||(e.console=function(){var e=Array.prototype.slice.call(arguments,0);postMessage({type:"log",data:e})},e.console.error=e.console.warn=e.console.log=e.console.trace=e.console),e.window=e,e.ace=e,e.onerror=function(e,t,r,n,a){postMessage({type:"error",data:{message:e,data:a&&a.data,file:t,line:r,col:n,stack:a&&a.stack}})},e.normalizeModule=function(t,r){if(-1!==r.indexOf("!")){var n=r.split("!");return e.normalizeModule(t,n[0])+"!"+e.normalizeModule(t,n[1])}if("."==r.charAt(0)){var a=t.split("/").slice(0,-1).join("/");for(r=(a?a+"/":"")+r;-1!==r.indexOf(".")&&o!=r;){var o=r;r=r.replace(/^\.\//,"").replace(/\/\.\//,"/").replace(/[^\/]+\/\.\.\//,"")}}return r},e.require=function(t,r){if(r||(r=t,t=null),!r.charAt)throw new Error("worker.js require() accepts only (parentId, id) as arguments");r=e.normalizeModule(t,r);var n=e.require.modules[r];if(n)return n.initialized||(n.initialized=!0,n.exports=n.factory().exports),n.exports;if(!e.require.tlns)return console.log("unable to load "+r);var a=function(e,t){var r=e,n="";for(;r;){var a=t[r];if("string"==typeof a)return a+n;if(a)return a.location.replace(/\/*$/,"/")+(n||a.main||a.name);if(!1===a)return"";var o=r.lastIndexOf("/");if(-1===o)break;n=r.substr(o)+n,r=r.slice(0,o)}return e}(r,e.require.tlns);return".js"!=a.slice(-3)&&(a+=".js"),e.require.id=r,e.require.modules[r]={},importScripts(a),e.require(t,r)},e.require.modules={},e.require.tlns={},e.define=function(t,r,n){if(2==arguments.length?(n=r,"string"!=typeof t&&(r=t,t=e.require.id)):1==arguments.length&&(n=t,r=[],t=e.require.id),"function"==typeof n){r.length||(r=["require","exports","module"]);var a=function(r){return e.require(t,r)};e.require.modules[t]={exports:{},factory:function(){var e=this,t=n.apply(this,r.slice(0,n.length).map((function(t){switch(t){case"require":return a;case"exports":return e.exports;case"module":return e;default:return a(t)}})));return t&&(e.exports=t),e}}}else e.require.modules[t]={exports:n,initialized:!0}},e.define.amd={},e.require.tlns={},e.initBaseUrls=function(e){for(var t in e)this.require.tlns[t]=e[t]},e.initSender=function(){var t=e.require("ace/lib/event_emitter").EventEmitter,r=e.require("ace/lib/oop"),n=function(){};return function(){r.implement(this,t),this.callback=function(e,t){postMessage({type:"call",id:t,data:e})},this.emit=function(e,t){postMessage({type:"event",name:e,data:t})}}.call(n.prototype),new n};var t=e.main=null,r=e.sender=null;e.onmessage=function(n){var a=n.data;if(a.event&&r)r._signal(a.event,a.data);else if(a.command)if(t[a.command])t[a.command].apply(t,a.args);else{if(!e[a.command])throw new Error("Unknown command:"+a.command);e[a.command].apply(e,a.args)}else if(a.init){e.initBaseUrls(a.tlns),r=e.sender=e.initSender();var o=this.require(a.module)[a.classname];t=e.main=new o(r)}}}}(this),ace.define("ace/lib/oop",[],(function(e,t,r){"use strict";t.inherits=function(e,t){e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}})},t.mixin=function(e,t){for(var r in t)e[r]=t[r];return e},t.implement=function(e,r){t.mixin(e,r)}})),ace.define("ace/lib/lang",[],(function(e,t,r){"use strict";t.last=function(e){return e[e.length-1]},t.stringReverse=function(e){return e.split("").reverse().join("")},t.stringRepeat=function(e,t){for(var r="";t>0;)1&t&&(r+=e),(t>>=1)&&(e+=e);return r};var n=/^\s\s*/,a=/\s\s*$/;t.stringTrimLeft=function(e){return e.replace(n,"")},t.stringTrimRight=function(e){return e.replace(a,"")},t.copyObject=function(e){var t={};for(var r in e)t[r]=e[r];return t},t.copyArray=function(e){for(var t=[],r=0,n=e.length;r<n;r++)e[r]&&"object"==typeof e[r]?t[r]=this.copyObject(e[r]):t[r]=e[r];return t},t.deepCopy=function e(t){if("object"!=typeof t||!t)return t;var r;if(Array.isArray(t)){r=[];for(var n=0;n<t.length;n++)r[n]=e(t[n]);return r}if("[object Object]"!==Object.prototype.toString.call(t))return t;for(var n in r={},t)r[n]=e(t[n]);return r},t.arrayToMap=function(e){for(var t={},r=0;r<e.length;r++)t[e[r]]=1;return t},t.createMap=function(e){var t=Object.create(null);for(var r in e)t[r]=e[r];return t},t.arrayRemove=function(e,t){for(var r=0;r<=e.length;r++)t===e[r]&&e.splice(r,1)},t.escapeRegExp=function(e){return e.replace(/([.*+?^${}()|[\]\/\\])/g,"\\$1")},t.escapeHTML=function(e){return(""+e).replace(/&/g,"&#38;").replace(/"/g,"&#34;").replace(/'/g,"&#39;").replace(/</g,"&#60;")},t.getMatchOffsets=function(e,t){var r=[];return e.replace(t,(function(e){r.push({offset:arguments[arguments.length-2],length:e.length})})),r},t.deferredCall=function(e){var t=null,r=function(){t=null,e()},n=function(e){return n.cancel(),t=setTimeout(r,e||0),n};return n.schedule=n,n.call=function(){return this.cancel(),e(),n},n.cancel=function(){return clearTimeout(t),t=null,n},n.isPending=function(){return t},n},t.delayedCall=function(e,t){var r=null,n=function(){r=null,e()},a=function(e){null==r&&(r=setTimeout(n,e||t))};return a.delay=function(e){r&&clearTimeout(r),r=setTimeout(n,e||t)},a.schedule=a,a.call=function(){this.cancel(),e()},a.cancel=function(){r&&clearTimeout(r),r=null},a.isPending=function(){return r},a}})),ace.define("ace/apply_delta",[],(function(e,t,r){"use strict";t.applyDelta=function(e,t,r){var n=t.start.row,a=t.start.column,o=e[n]||"";switch(t.action){case"insert":if(1===t.lines.length)e[n]=o.substring(0,a)+t.lines[0]+o.substring(a);else{var i=[n,1].concat(t.lines);e.splice.apply(e,i),e[n]=o.substring(0,a)+e[n],e[n+t.lines.length-1]+=o.substring(a)}break;case"remove":var s=t.end.column,c=t.end.row;n===c?e[n]=o.substring(0,a)+o.substring(s):e.splice(n,c-n+1,o.substring(0,a)+e[c].substring(s))}}})),ace.define("ace/lib/event_emitter",[],(function(e,t,r){"use strict";var n={},a=function(){this.propagationStopped=!0},o=function(){this.defaultPrevented=!0};n._emit=n._dispatchEvent=function(e,t){this._eventRegistry||(this._eventRegistry={}),this._defaultHandlers||(this._defaultHandlers={});var r=this._eventRegistry[e]||[],n=this._defaultHandlers[e];if(r.length||n){"object"==typeof t&&t||(t={}),t.type||(t.type=e),t.stopPropagation||(t.stopPropagation=a),t.preventDefault||(t.preventDefault=o),r=r.slice();for(var i=0;i<r.length&&(r[i](t,this),!t.propagationStopped);i++);return n&&!t.defaultPrevented?n(t,this):void 0}},n._signal=function(e,t){var r=(this._eventRegistry||{})[e];if(r){r=r.slice();for(var n=0;n<r.length;n++)r[n](t,this)}},n.once=function(e,t){var r=this;if(this.on(e,(function n(){r.off(e,n),t.apply(null,arguments)})),!t)return new Promise((function(e){t=e}))},n.setDefaultHandler=function(e,t){var r=this._defaultHandlers;if(r||(r=this._defaultHandlers={_disabled_:{}}),r[e]){var n=r[e],a=r._disabled_[e];a||(r._disabled_[e]=a=[]),a.push(n);var o=a.indexOf(t);-1!=o&&a.splice(o,1)}r[e]=t},n.removeDefaultHandler=function(e,t){var r=this._defaultHandlers;if(r){var n=r._disabled_[e];if(r[e]==t)n&&this.setDefaultHandler(e,n.pop());else if(n){var a=n.indexOf(t);-1!=a&&n.splice(a,1)}}},n.on=n.addEventListener=function(e,t,r){this._eventRegistry=this._eventRegistry||{};var n=this._eventRegistry[e];return n||(n=this._eventRegistry[e]=[]),-1==n.indexOf(t)&&n[r?"unshift":"push"](t),t},n.off=n.removeListener=n.removeEventListener=function(e,t){this._eventRegistry=this._eventRegistry||{};var r=this._eventRegistry[e];if(r){var n=r.indexOf(t);-1!==n&&r.splice(n,1)}},n.removeAllListeners=function(e){e||(this._eventRegistry=this._defaultHandlers=void 0),this._eventRegistry&&(this._eventRegistry[e]=void 0),this._defaultHandlers&&(this._defaultHandlers[e]=void 0)},t.EventEmitter=n})),ace.define("ace/range",[],(function(e,t,r){"use strict";var n=function(e,t,r,n){this.start={row:e,column:t},this.end={row:r,column:n}};(function(){this.isEqual=function(e){return this.start.row===e.start.row&&this.end.row===e.end.row&&this.start.column===e.start.column&&this.end.column===e.end.column},this.toString=function(){return"Range: ["+this.start.row+"/"+this.start.column+"] -> ["+this.end.row+"/"+this.end.column+"]"},this.contains=function(e,t){return 0==this.compare(e,t)},this.compareRange=function(e){var t,r=e.end,n=e.start;return 1==(t=this.compare(r.row,r.column))?1==(t=this.compare(n.row,n.column))?2:0==t?1:0:-1==t?-2:-1==(t=this.compare(n.row,n.column))?-1:1==t?42:0},this.comparePoint=function(e){return this.compare(e.row,e.column)},this.containsRange=function(e){return 0==this.comparePoint(e.start)&&0==this.comparePoint(e.end)},this.intersects=function(e){var t=this.compareRange(e);return-1==t||0==t||1==t},this.isEnd=function(e,t){return this.end.row==e&&this.end.column==t},this.isStart=function(e,t){return this.start.row==e&&this.start.column==t},this.setStart=function(e,t){"object"==typeof e?(this.start.column=e.column,this.start.row=e.row):(this.start.row=e,this.start.column=t)},this.setEnd=function(e,t){"object"==typeof e?(this.end.column=e.column,this.end.row=e.row):(this.end.row=e,this.end.column=t)},this.inside=function(e,t){return 0==this.compare(e,t)&&(!this.isEnd(e,t)&&!this.isStart(e,t))},this.insideStart=function(e,t){return 0==this.compare(e,t)&&!this.isEnd(e,t)},this.insideEnd=function(e,t){return 0==this.compare(e,t)&&!this.isStart(e,t)},this.compare=function(e,t){return this.isMultiLine()||e!==this.start.row?e<this.start.row?-1:e>this.end.row?1:this.start.row===e?t>=this.start.column?0:-1:this.end.row===e?t<=this.end.column?0:1:0:t<this.start.column?-1:t>this.end.column?1:0},this.compareStart=function(e,t){return this.start.row==e&&this.start.column==t?-1:this.compare(e,t)},this.compareEnd=function(e,t){return this.end.row==e&&this.end.column==t?1:this.compare(e,t)},this.compareInside=function(e,t){return this.end.row==e&&this.end.column==t?1:this.start.row==e&&this.start.column==t?-1:this.compare(e,t)},this.clipRows=function(e,t){if(this.end.row>t)var r={row:t+1,column:0};else if(this.end.row<e)r={row:e,column:0};if(this.start.row>t)var a={row:t+1,column:0};else if(this.start.row<e)a={row:e,column:0};return n.fromPoints(a||this.start,r||this.end)},this.extend=function(e,t){var r=this.compare(e,t);if(0==r)return this;if(-1==r)var a={row:e,column:t};else var o={row:e,column:t};return n.fromPoints(a||this.start,o||this.end)},this.isEmpty=function(){return this.start.row===this.end.row&&this.start.column===this.end.column},this.isMultiLine=function(){return this.start.row!==this.end.row},this.clone=function(){return n.fromPoints(this.start,this.end)},this.collapseRows=function(){return 0==this.end.column?new n(this.start.row,0,Math.max(this.start.row,this.end.row-1),0):new n(this.start.row,0,this.end.row,0)},this.toScreenRange=function(e){var t=e.documentToScreenPosition(this.start),r=e.documentToScreenPosition(this.end);return new n(t.row,t.column,r.row,r.column)},this.moveBy=function(e,t){this.start.row+=e,this.start.column+=t,this.end.row+=e,this.end.column+=t}}).call(n.prototype),n.fromPoints=function(e,t){return new n(e.row,e.column,t.row,t.column)},n.comparePoints=function(e,t){return e.row-t.row||e.column-t.column},n.comparePoints=function(e,t){return e.row-t.row||e.column-t.column},t.Range=n})),ace.define("ace/anchor",[],(function(e,t,r){"use strict";var n=e("./lib/oop"),a=e("./lib/event_emitter").EventEmitter,o=t.Anchor=function(e,t,r){this.$onChange=this.onChange.bind(this),this.attach(e),void 0===r?this.setPosition(t.row,t.column):this.setPosition(t,r)};(function(){function e(e,t,r){var n=r?e.column<=t.column:e.column<t.column;return e.row<t.row||e.row==t.row&&n}n.implement(this,a),this.getPosition=function(){return this.$clipPositionToDocument(this.row,this.column)},this.getDocument=function(){return this.document},this.$insertRight=!1,this.onChange=function(t){if(!(t.start.row==t.end.row&&t.start.row!=this.row||t.start.row>this.row)){var r=function(t,r,n){var a="insert"==t.action,o=(a?1:-1)*(t.end.row-t.start.row),i=(a?1:-1)*(t.end.column-t.start.column),s=t.start,c=a?s:t.end;if(e(r,s,n))return{row:r.row,column:r.column};if(e(c,r,!n))return{row:r.row+o,column:r.column+(r.row==c.row?i:0)};return{row:s.row,column:s.column}}(t,{row:this.row,column:this.column},this.$insertRight);this.setPosition(r.row,r.column,!0)}},this.setPosition=function(e,t,r){var n;if(n=r?{row:e,column:t}:this.$clipPositionToDocument(e,t),this.row!=n.row||this.column!=n.column){var a={row:this.row,column:this.column};this.row=n.row,this.column=n.column,this._signal("change",{old:a,value:n})}},this.detach=function(){this.document.off("change",this.$onChange)},this.attach=function(e){this.document=e||this.document,this.document.on("change",this.$onChange)},this.$clipPositionToDocument=function(e,t){var r={};return e>=this.document.getLength()?(r.row=Math.max(0,this.document.getLength()-1),r.column=this.document.getLine(r.row).length):e<0?(r.row=0,r.column=0):(r.row=e,r.column=Math.min(this.document.getLine(r.row).length,Math.max(0,t))),t<0&&(r.column=0),r}}).call(o.prototype)})),ace.define("ace/document",[],(function(e,t,r){"use strict";var n=e("./lib/oop"),a=e("./apply_delta").applyDelta,o=e("./lib/event_emitter").EventEmitter,i=e("./range").Range,s=e("./anchor").Anchor,c=function(e){this.$lines=[""],0===e.length?this.$lines=[""]:Array.isArray(e)?this.insertMergedLines({row:0,column:0},e):this.insert({row:0,column:0},e)};(function(){n.implement(this,o),this.setValue=function(e){var t=this.getLength()-1;this.remove(new i(0,0,t,this.getLine(t).length)),this.insert({row:0,column:0},e)},this.getValue=function(){return this.getAllLines().join(this.getNewLineCharacter())},this.createAnchor=function(e,t){return new s(this,e,t)},0==="aaa".split(/a/).length?this.$split=function(e){return e.replace(/\r\n|\r/g,"\n").split("\n")}:this.$split=function(e){return e.split(/\r\n|\r|\n/)},this.$detectNewLine=function(e){var t=e.match(/^.*?(\r\n|\r|\n)/m);this.$autoNewLine=t?t[1]:"\n",this._signal("changeNewLineMode")},this.getNewLineCharacter=function(){switch(this.$newLineMode){case"windows":return"\r\n";case"unix":return"\n";default:return this.$autoNewLine||"\n"}},this.$autoNewLine="",this.$newLineMode="auto",this.setNewLineMode=function(e){this.$newLineMode!==e&&(this.$newLineMode=e,this._signal("changeNewLineMode"))},this.getNewLineMode=function(){return this.$newLineMode},this.isNewLine=function(e){return"\r\n"==e||"\r"==e||"\n"==e},this.getLine=function(e){return this.$lines[e]||""},this.getLines=function(e,t){return this.$lines.slice(e,t+1)},this.getAllLines=function(){return this.getLines(0,this.getLength())},this.getLength=function(){return this.$lines.length},this.getTextRange=function(e){return this.getLinesForRange(e).join(this.getNewLineCharacter())},this.getLinesForRange=function(e){var t;if(e.start.row===e.end.row)t=[this.getLine(e.start.row).substring(e.start.column,e.end.column)];else{(t=this.getLines(e.start.row,e.end.row))[0]=(t[0]||"").substring(e.start.column);var r=t.length-1;e.end.row-e.start.row==r&&(t[r]=t[r].substring(0,e.end.column))}return t},this.insertLines=function(e,t){return console.warn("Use of document.insertLines is deprecated. Use the insertFullLines method instead."),this.insertFullLines(e,t)},this.removeLines=function(e,t){return console.warn("Use of document.removeLines is deprecated. Use the removeFullLines method instead."),this.removeFullLines(e,t)},this.insertNewLine=function(e){return console.warn("Use of document.insertNewLine is deprecated. Use insertMergedLines(position, ['', '']) instead."),this.insertMergedLines(e,["",""])},this.insert=function(e,t){return this.getLength()<=1&&this.$detectNewLine(t),this.insertMergedLines(e,this.$split(t))},this.insertInLine=function(e,t){var r=this.clippedPos(e.row,e.column),n=this.pos(e.row,e.column+t.length);return this.applyDelta({start:r,end:n,action:"insert",lines:[t]},!0),this.clonePos(n)},this.clippedPos=function(e,t){var r=this.getLength();void 0===e?e=r:e<0?e=0:e>=r&&(e=r-1,t=void 0);var n=this.getLine(e);return null==t&&(t=n.length),{row:e,column:t=Math.min(Math.max(t,0),n.length)}},this.clonePos=function(e){return{row:e.row,column:e.column}},this.pos=function(e,t){return{row:e,column:t}},this.$clipPosition=function(e){var t=this.getLength();return e.row>=t?(e.row=Math.max(0,t-1),e.column=this.getLine(t-1).length):(e.row=Math.max(0,e.row),e.column=Math.min(Math.max(e.column,0),this.getLine(e.row).length)),e},this.insertFullLines=function(e,t){var r=0;(e=Math.min(Math.max(e,0),this.getLength()))<this.getLength()?(t=t.concat([""]),r=0):(t=[""].concat(t),e--,r=this.$lines[e].length),this.insertMergedLines({row:e,column:r},t)},this.insertMergedLines=function(e,t){var r=this.clippedPos(e.row,e.column),n={row:r.row+t.length-1,column:(1==t.length?r.column:0)+t[t.length-1].length};return this.applyDelta({start:r,end:n,action:"insert",lines:t}),this.clonePos(n)},this.remove=function(e){var t=this.clippedPos(e.start.row,e.start.column),r=this.clippedPos(e.end.row,e.end.column);return this.applyDelta({start:t,end:r,action:"remove",lines:this.getLinesForRange({start:t,end:r})}),this.clonePos(t)},this.removeInLine=function(e,t,r){var n=this.clippedPos(e,t),a=this.clippedPos(e,r);return this.applyDelta({start:n,end:a,action:"remove",lines:this.getLinesForRange({start:n,end:a})},!0),this.clonePos(n)},this.removeFullLines=function(e,t){e=Math.min(Math.max(0,e),this.getLength()-1);var r=(t=Math.min(Math.max(0,t),this.getLength()-1))==this.getLength()-1&&e>0,n=t<this.getLength()-1,a=r?e-1:e,o=r?this.getLine(a).length:0,s=n?t+1:t,c=n?0:this.getLine(s).length,l=new i(a,o,s,c),d=this.$lines.slice(e,t+1);return this.applyDelta({start:l.start,end:l.end,action:"remove",lines:this.getLinesForRange(l)}),d},this.removeNewLine=function(e){e<this.getLength()-1&&e>=0&&this.applyDelta({start:this.pos(e,this.getLine(e).length),end:this.pos(e+1,0),action:"remove",lines:["",""]})},this.replace=function(e,t){return e instanceof i||(e=i.fromPoints(e.start,e.end)),0===t.length&&e.isEmpty()?e.start:t==this.getTextRange(e)?e.end:(this.remove(e),t?this.insert(e.start,t):e.start)},this.applyDeltas=function(e){for(var t=0;t<e.length;t++)this.applyDelta(e[t])},this.revertDeltas=function(e){for(var t=e.length-1;t>=0;t--)this.revertDelta(e[t])},this.applyDelta=function(e,t){var r="insert"==e.action;(r?e.lines.length<=1&&!e.lines[0]:!i.comparePoints(e.start,e.end))||(r&&e.lines.length>2e4?this.$splitAndapplyLargeDelta(e,2e4):(a(this.$lines,e,t),this._signal("change",e)))},this.$safeApplyDelta=function(e){var t=this.$lines.length;("remove"==e.action&&e.start.row<t&&e.end.row<t||"insert"==e.action&&e.start.row<=t)&&this.applyDelta(e)},this.$splitAndapplyLargeDelta=function(e,t){for(var r=e.lines,n=r.length-t+1,a=e.start.row,o=e.start.column,i=0,s=0;i<n;i=s){s+=t-1;var c=r.slice(i,s);c.push(""),this.applyDelta({start:this.pos(a+i,o),end:this.pos(a+s,o=0),action:e.action,lines:c},!0)}e.lines=r.slice(i),e.start.row=a+i,e.start.column=o,this.applyDelta(e,!0)},this.revertDelta=function(e){this.$safeApplyDelta({start:this.clonePos(e.start),end:this.clonePos(e.end),action:"insert"==e.action?"remove":"insert",lines:e.lines.slice()})},this.indexToPosition=function(e,t){for(var r=this.$lines||this.getAllLines(),n=this.getNewLineCharacter().length,a=t||0,o=r.length;a<o;a++)if((e-=r[a].length+n)<0)return{row:a,column:e+r[a].length+n};return{row:o-1,column:e+r[o-1].length+n}},this.positionToIndex=function(e,t){for(var r=this.$lines||this.getAllLines(),n=this.getNewLineCharacter().length,a=0,o=Math.min(e.row,r.length),i=t||0;i<o;++i)a+=r[i].length+n;return a+e.column}}).call(c.prototype),t.Document=c})),ace.define("ace/worker/mirror",[],(function(e,t,r){"use strict";var n=e("../document").Document,a=e("../lib/lang"),o=t.Mirror=function(e){this.sender=e;var t=this.doc=new n(""),r=this.deferredUpdate=a.delayedCall(this.onUpdate.bind(this)),o=this;e.on("change",(function(e){var n=e.data;if(n[0].start)t.applyDeltas(n);else for(var a=0;a<n.length;a+=2){var i,s;if(("insert"==(i=Array.isArray(n[a+1])?{action:"insert",start:n[a],lines:n[a+1]}:{action:"remove",start:n[a],end:n[a+1]}).action?i.start:i.end).row>=t.$lines.length)throw(s=new Error("Invalid delta")).data={path:o.$path,linesLength:t.$lines.length,start:i.start,end:i.end},s;t.applyDelta(i,!0)}if(o.$timeout)return r.schedule(o.$timeout);o.onUpdate()}))};(function(){this.$timeout=500,this.setTimeout=function(e){this.$timeout=e},this.setValue=function(e){this.doc.setValue(e),this.deferredUpdate.schedule(this.$timeout)},this.getValue=function(e){this.sender.callback(this.doc.getValue(),e)},this.onUpdate=function(){},this.isPending=function(){return this.deferredUpdate.isPending()}}).call(o.prototype)})),ace.define("ace/mode/html/saxparser",[],(function(e,t,r){r.exports=function t(r,n,a){function o(s,c){if(!n[s]){if(!r[s]){var l="function"==typeof e&&e;if(!c&&l)return l(s,!0);if(i)return i(s,!0);throw new Error("Cannot find module '"+s+"'")}var d=n[s]={exports:{}};r[s][0].call(d.exports,(function(e){var t=r[s][1][e];return o(t||e)}),d,d.exports,t,r,n,a)}return n[s].exports}for(var i="function"==typeof e&&e,s=0;s<a.length;s++)o(a[s]);return o}({1:[function(e,t,r){function n(e){return"http://www.w3.org/1999/xhtml"===e.namespaceURI?"applet"===e.localName||"caption"===e.localName||"marquee"===e.localName||"object"===e.localName||"table"===e.localName||"td"===e.localName||"th"===e.localName:"http://www.w3.org/1998/Math/MathML"===e.namespaceURI?"mi"===e.localName||"mo"===e.localName||"mn"===e.localName||"ms"===e.localName||"mtext"===e.localName||"annotation-xml"===e.localName:"http://www.w3.org/2000/svg"===e.namespaceURI?"foreignObject"===e.localName||"desc"===e.localName||"title"===e.localName:void 0}function a(e){return n(e)||"http://www.w3.org/1999/xhtml"===e.namespaceURI&&"ol"===e.localName||"http://www.w3.org/1999/xhtml"===e.namespaceURI&&"ul"===e.localName}function o(e){return"http://www.w3.org/1999/xhtml"===e.namespaceURI&&"table"===e.localName||"http://www.w3.org/1999/xhtml"===e.namespaceURI&&"html"===e.localName}function i(e){return n(e)||"http://www.w3.org/1999/xhtml"===e.namespaceURI&&"button"===e.localName}function s(e){return!("http://www.w3.org/1999/xhtml"===e.namespaceURI&&"optgroup"===e.localName||"http://www.w3.org/1999/xhtml"===e.namespaceURI&&"option"===e.localName)}function c(){this.elements=[],this.rootNode=null,this.headElement=null,this.bodyElement=null}c.prototype._inScope=function(e,t){for(var r=this.elements.length-1;r>=0;r--){var n=this.elements[r];if(n.localName===e)return!0;if(t(n))return!1}},c.prototype.push=function(e){this.elements.push(e)},c.prototype.pushHtmlElement=function(e){this.rootNode=e.node,this.push(e)},c.prototype.pushHeadElement=function(e){this.headElement=e.node,this.push(e)},c.prototype.pushBodyElement=function(e){this.bodyElement=e.node,this.push(e)},c.prototype.pop=function(){return this.elements.pop()},c.prototype.remove=function(e){this.elements.splice(this.elements.indexOf(e),1)},c.prototype.popUntilPopped=function(e){var t;do{t=this.pop()}while(t.localName!=e)},c.prototype.popUntilTableScopeMarker=function(){for(;!o(this.top);)this.pop()},c.prototype.popUntilTableBodyScopeMarker=function(){for(;!("http://www.w3.org/1999/xhtml"===(e=this.top).namespaceURI&&"tbody"===e.localName||"http://www.w3.org/1999/xhtml"===e.namespaceURI&&"tfoot"===e.localName||"http://www.w3.org/1999/xhtml"===e.namespaceURI&&"thead"===e.localName||"http://www.w3.org/1999/xhtml"===e.namespaceURI&&"html"===e.localName);)this.pop();var e},c.prototype.popUntilTableRowScopeMarker=function(){for(;!("http://www.w3.org/1999/xhtml"===(e=this.top).namespaceURI&&"tr"===e.localName||"http://www.w3.org/1999/xhtml"===e.namespaceURI&&"html"===e.localName);)this.pop();var e},c.prototype.item=function(e){return this.elements[e]},c.prototype.contains=function(e){return-1!==this.elements.indexOf(e)},c.prototype.inScope=function(e){return this._inScope(e,n)},c.prototype.inListItemScope=function(e){return this._inScope(e,a)},c.prototype.inTableScope=function(e){return this._inScope(e,o)},c.prototype.inButtonScope=function(e){return this._inScope(e,i)},c.prototype.inSelectScope=function(e){return this._inScope(e,s)},c.prototype.hasNumberedHeaderElementInScope=function(){for(var e=this.elements.length-1;e>=0;e--){var t=this.elements[e];if(t.isNumberedHeader())return!0;if(n(t))return!1}},c.prototype.furthestBlockForFormattingElement=function(e){for(var t=null,r=this.elements.length-1;r>=0;r--){var n=this.elements[r];if(n.node===e)break;n.isSpecial()&&(t=n)}return t},c.prototype.findIndex=function(e){for(var t=this.elements.length-1;t>=0;t--)if(this.elements[t].localName==e)return t;return-1},c.prototype.remove_openElements_until=function(e){for(var t,r=!1;!r;)r=e(t=this.elements.pop());return t},Object.defineProperty(c.prototype,"top",{get:function(){return this.elements[this.elements.length-1]}}),Object.defineProperty(c.prototype,"length",{get:function(){return this.elements.length}}),r.ElementStack=c},{}],2:[function(e,t,r){var n=e("html5-entities"),a=e("./InputStream").InputStream,o={};function i(e){return e>="0"&&e<="9"||e>="a"&&e<="f"||e>="A"&&e<="F"}function s(e){return e>="0"&&e<="9"}Object.keys(n).forEach((function(e){for(var t=0;t<e.length;t++)o[e.substring(0,t+1)]=!0}));var c={consumeEntity:function(e,t,r){var c,l="",d="",p=e.char();if(p===a.EOF)return!1;if(d+=p,"\t"==p||"\n"==p||"\v"==p||" "==p||"<"==p||"&"==p)return e.unget(d),!1;if(r===p)return e.unget(d),!1;if("#"==p){if((p=e.shift(1))===a.EOF)return t._parseError("expected-numeric-entity-but-got-eof"),e.unget(d),!1;d+=p;var u=10,h=s;if("x"==p||"X"==p){if(u=16,h=i,(p=e.shift(1))===a.EOF)return t._parseError("expected-numeric-entity-but-got-eof"),e.unget(d),!1;d+=p}if(h(p)){for(var m="";p!==a.EOF&&h(p);)m+=p,p=e.char();m=parseInt(m,u);var g=this.replaceEntityNumbers(m);if(g&&(t._parseError("invalid-numeric-entity-replaced"),m=g),m>65535&&m<=1114111){var f=55296+((1047552&(m-=65536))>>10),T=56320+(1023&m);l=String.fromCharCode(f,T)}else l=String.fromCharCode(m);return";"!==p&&(t._parseError("numeric-entity-without-semicolon"),e.unget(p)),l}return e.unget(d),t._parseError("expected-numeric-entity"),!1}if(p>="a"&&p<="z"||p>="A"&&p<="Z"){for(var b="";o[d]&&(n[d]&&(b=d),";"!=p)&&(p=e.char())!==a.EOF;)d+=p;return b?(l=n[b],";"!==p&&r&&((c=p)>="0"&&c<="9"||c>="a"&&c<="z"||c>="A"&&c<="Z"||"="===p)?(e.unget(d),!1):(d.length>b.length&&e.unget(d.substring(b.length)),";"!==p&&t._parseError("named-entity-without-semicolon"),l)):(t._parseError("expected-named-entity"),e.unget(d),!1)}},replaceEntityNumbers:function(e){switch(e){case 0:return 65533;case 19:return 16;case 128:return 8364;case 129:return 129;case 130:return 8218;case 131:return 402;case 132:return 8222;case 133:return 8230;case 134:return 8224;case 135:return 8225;case 136:return 710;case 137:return 8240;case 138:return 352;case 139:return 8249;case 140:return 338;case 141:return 141;case 142:return 381;case 143:return 143;case 144:return 144;case 145:return 8216;case 146:return 8217;case 147:return 8220;case 148:return 8221;case 149:return 8226;case 150:return 8211;case 151:return 8212;case 152:return 732;case 153:return 8482;case 154:return 353;case 155:return 8250;case 156:return 339;case 157:return 157;case 158:return 382;case 159:return 376;default:if(e>=55296&&e<=57343||e>1114111)return 65533;if(e>=1&&e<=8||e>=14&&e<=31||e>=127&&e<=159||e>=64976&&e<=65007||11==e||65534==e||131070==e||3145726==e||196607==e||262142==e||262143==e||327678==e||327679==e||393214==e||393215==e||458750==e||458751==e||524286==e||524287==e||589822==e||589823==e||655358==e||655359==e||720894==e||720895==e||786430==e||786431==e||851966==e||851967==e||917502==e||917503==e||983038==e||983039==e||1048574==e||1048575==e||1114110==e||1114111==e)return e}}};r.EntityParser=c},{"./InputStream":3,"html5-entities":12}],3:[function(e,t,r){function n(){this.data="",this.start=0,this.committed=0,this.eof=!1,this.lastLocation={line:0,column:0}}n.EOF=-1,n.DRAIN=-2,n.prototype={slice:function(){if(this.start>=this.data.length){if(!this.eof)throw n.DRAIN;return n.EOF}return this.data.slice(this.start,this.data.length)},char:function(){if(!this.eof&&this.start>=this.data.length-1)throw n.DRAIN;if(this.start>=this.data.length)return n.EOF;var e=this.data[this.start++];return"\r"===e&&(e="\n"),e},advance:function(e){if(this.start+=e,this.start>=this.data.length){if(!this.eof)throw n.DRAIN;return n.EOF}this.committed>this.data.length/2&&(this.lastLocation=this.location(),this.data=this.data.slice(this.committed),this.start=this.start-this.committed,this.committed=0)},matchWhile:function(e){if(this.eof&&this.start>=this.data.length)return"";var t=new RegExp("^"+e+"+").exec(this.slice());if(t){if(!this.eof&&t[0].length==this.data.length-this.start)throw n.DRAIN;return this.advance(t[0].length),t[0]}return""},matchUntil:function(e){var t,r;if((r=this.slice())===n.EOF)return"";if(t=new RegExp(e+(this.eof?"|$":"")).exec(r)){var a=this.data.slice(this.start,this.start+t.index);return this.advance(t.index),a.replace(/\r/g,"\n").replace(/\n{2,}/g,"\n")}throw n.DRAIN},append:function(e){this.data+=e},shift:function(e){if(!this.eof&&this.start+e>=this.data.length)throw n.DRAIN;if(this.eof&&this.start>=this.data.length)return n.EOF;var t=this.data.slice(this.start,this.start+e).toString();return this.advance(Math.min(e,this.data.length-this.start)),t},peek:function(e){if(!this.eof&&this.start+e>=this.data.length)throw n.DRAIN;return this.eof&&this.start>=this.data.length?n.EOF:this.data.slice(this.start,Math.min(this.start+e,this.data.length)).toString()},length:function(){return this.data.length-this.start-1},unget:function(e){e!==n.EOF&&(this.start-=e.length)},undo:function(){this.start=this.committed},commit:function(){this.committed=this.start},location:function(){var e=this.lastLocation.line,t=this.lastLocation.column,r=this.data.slice(0,this.committed),n=r.match(/\n/g);return{line:n?e+n.length:e,column:n?r.length-r.lastIndexOf("\n")-1:t+r.length}}},r.InputStream=n},{}],4:[function(e,t,r){var n={"http://www.w3.org/1999/xhtml":["address","applet","area","article","aside","base","basefont","bgsound","blockquote","body","br","button","caption","center","col","colgroup","dd","details","dir","div","dl","dt","embed","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","iframe","img","input","isindex","li","link","listing","main","marquee","menu","menuitem","meta","nav","noembed","noframes","noscript","object","ol","p","param","plaintext","pre","script","section","select","source","style","summary","table","tbody","td","textarea","tfoot","th","thead","title","tr","track","ul","wbr","xmp"],"http://www.w3.org/1998/Math/MathML":["mi","mo","mn","ms","mtext","annotation-xml"],"http://www.w3.org/2000/svg":["foreignObject","desc","title"]};function a(e,t,r,n){this.localName=t,this.namespaceURI=e,this.attributes=r,this.node=n}a.prototype.isSpecial=function(){return this.namespaceURI in n&&n[this.namespaceURI].indexOf(this.localName)>-1},a.prototype.isFosterParenting=function(){return"http://www.w3.org/1999/xhtml"===this.namespaceURI&&("table"===this.localName||"tbody"===this.localName||"tfoot"===this.localName||"thead"===this.localName||"tr"===this.localName)},a.prototype.isNumberedHeader=function(){return"http://www.w3.org/1999/xhtml"===this.namespaceURI&&("h1"===this.localName||"h2"===this.localName||"h3"===this.localName||"h4"===this.localName||"h5"===this.localName||"h6"===this.localName)},a.prototype.isForeign=function(){return"http://www.w3.org/1999/xhtml"!=this.namespaceURI},a.prototype.isHtmlIntegrationPoint=function(){if("http://www.w3.org/1998/Math/MathML"===this.namespaceURI){if("annotation-xml"!==this.localName)return!1;var e=function(e,t){for(var r=0;r<e.attributes.length;r++)if(e.attributes[r].nodeName==t)return e.attributes[r].nodeValue;return null}(this,"encoding");return!!e&&("text/html"===(e=e.toLowerCase())||"application/xhtml+xml"===e)}return"http://www.w3.org/2000/svg"===this.namespaceURI&&("foreignObject"===this.localName||"desc"===this.localName||"title"===this.localName)},a.prototype.isMathMLTextIntegrationPoint=function(){return"http://www.w3.org/1998/Math/MathML"===this.namespaceURI&&("mi"===this.localName||"mo"===this.localName||"mn"===this.localName||"ms"===this.localName||"mtext"===this.localName)},r.StackItem=a},{}],5:[function(e,t,r){var n=e("./InputStream").InputStream,a=e("./EntityParser").EntityParser;function o(e){return" "===e||"\n"===e||"\t"===e||"\r"===e||"\f"===e}function i(e){return e>="A"&&e<="Z"||e>="a"&&e<="z"}function s(e){this._tokenHandler=e,this._state=s.DATA,this._inputStream=new n,this._currentToken=null,this._temporaryBuffer="",this._additionalAllowedCharacter=""}s.prototype._parseError=function(e,t){this._tokenHandler.parseError(e,t)},s.prototype._emitToken=function(e){if("StartTag"===e.type)for(var t=1;t<e.data.length;t++)e.data[t].nodeName||e.data.splice(t--,1);else"EndTag"===e.type&&(e.selfClosing&&this._parseError("self-closing-flag-on-end-tag"),0!==e.data.length&&this._parseError("attributes-in-end-tag"));this._tokenHandler.processToken(e),"StartTag"===e.type&&e.selfClosing&&!this._tokenHandler.isSelfClosingFlagAcknowledged()&&this._parseError("non-void-element-with-trailing-solidus",{name:e.name})},s.prototype._emitCurrentToken=function(){this._state=s.DATA,this._emitToken(this._currentToken)},s.prototype._currentAttribute=function(){return this._currentToken.data[this._currentToken.data.length-1]},s.prototype.setState=function(e){this._state=e},s.prototype.tokenize=function(e){s.DATA=r,s.RCDATA=l,s.RAWTEXT=p,s.SCRIPT_DATA=u,s.PLAINTEXT=function(e){var r=e.char();if(r===n.EOF)return t._emitToken({type:"EOF",data:null}),!1;if("\0"===r)t._parseError("invalid-codepoint"),t._emitToken({type:"Characters",data:"�"}),e.commit();else{var a=e.matchUntil("\0");t._emitToken({type:"Characters",data:r+a})}return!0},this._state=s.DATA,this._inputStream.append(e),this._tokenHandler.startTokenization(this),this._inputStream.eof=!0;for(var t=this;this._state.call(this,this._inputStream););function r(e){var r=e.char();if(r===n.EOF)return t._emitToken({type:"EOF",data:null}),!1;if("&"===r)t.setState(c);else if("<"===r)t.setState(q);else if("\0"===r)t._emitToken({type:"Characters",data:r}),e.commit();else{var a=e.matchUntil("&|<|\0");t._emitToken({type:"Characters",data:r+a}),e.commit()}return!0}function c(e){var n=a.consumeEntity(e,t);return t.setState(r),t._emitToken({type:"Characters",data:n||"&"}),!0}function l(e){var r=e.char();if(r===n.EOF)return t._emitToken({type:"EOF",data:null}),!1;if("&"===r)t.setState(d);else if("<"===r)t.setState(h);else if("\0"===r)t._parseError("invalid-codepoint"),t._emitToken({type:"Characters",data:"�"}),e.commit();else{var a=e.matchUntil("&|<|\0");t._emitToken({type:"Characters",data:r+a}),e.commit()}return!0}function d(e){var r=a.consumeEntity(e,t);return t.setState(l),t._emitToken({type:"Characters",data:r||"&"}),!0}function p(e){var r=e.char();if(r===n.EOF)return t._emitToken({type:"EOF",data:null}),!1;if("<"===r)t.setState(f);else if("\0"===r)t._parseError("invalid-codepoint"),t._emitToken({type:"Characters",data:"�"}),e.commit();else{var a=e.matchUntil("<|\0");t._emitToken({type:"Characters",data:r+a})}return!0}function u(e){var r=e.char();if(r===n.EOF)return t._emitToken({type:"EOF",data:null}),!1;if("<"===r)t.setState(y);else if("\0"===r)t._parseError("invalid-codepoint"),t._emitToken({type:"Characters",data:"�"}),e.commit();else{var a=e.matchUntil("<|\0");t._emitToken({type:"Characters",data:r+a})}return!0}function h(e){var r=e.char();return"/"===r?(this._temporaryBuffer="",t.setState(m)):(t._emitToken({type:"Characters",data:"<"}),e.unget(r),t.setState(l)),!0}function m(e){var r=e.char();return i(r)?(this._temporaryBuffer+=r,t.setState(g)):(t._emitToken({type:"Characters",data:"</"}),e.unget(r),t.setState(l)),!0}function g(e){var n=t._currentToken&&t._currentToken.name===this._temporaryBuffer.toLowerCase(),a=e.char();return o(a)&&n?(t._currentToken={type:"EndTag",name:this._temporaryBuffer,data:[],selfClosing:!1},t.setState(R)):"/"===a&&n?(t._currentToken={type:"EndTag",name:this._temporaryBuffer,data:[],selfClosing:!1},t.setState(Y)):">"===a&&n?(t._currentToken={type:"EndTag",name:this._temporaryBuffer,data:[],selfClosing:!1},t._emitCurrentToken(),t.setState(r)):i(a)?(this._temporaryBuffer+=a,e.commit()):(t._emitToken({type:"Characters",data:"</"+this._temporaryBuffer}),e.unget(a),t.setState(l)),!0}function f(e){var r=e.char();return"/"===r?(this._temporaryBuffer="",t.setState(T)):(t._emitToken({type:"Characters",data:"<"}),e.unget(r),t.setState(p)),!0}function T(e){var r=e.char();return i(r)?(this._temporaryBuffer+=r,t.setState(b)):(t._emitToken({type:"Characters",data:"</"}),e.unget(r),t.setState(p)),!0}function b(e){var n=t._currentToken&&t._currentToken.name===this._temporaryBuffer.toLowerCase(),a=e.char();return o(a)&&n?(t._currentToken={type:"EndTag",name:this._temporaryBuffer,data:[],selfClosing:!1},t.setState(R)):"/"===a&&n?(t._currentToken={type:"EndTag",name:this._temporaryBuffer,data:[],selfClosing:!1},t.setState(Y)):">"===a&&n?(t._currentToken={type:"EndTag",name:this._temporaryBuffer,data:[],selfClosing:!1},t._emitCurrentToken(),t.setState(r)):i(a)?(this._temporaryBuffer+=a,e.commit()):(t._emitToken({type:"Characters",data:"</"+this._temporaryBuffer}),e.unget(a),t.setState(p)),!0}function y(e){var r=e.char();return"/"===r?(this._temporaryBuffer="",t.setState(E)):"!"===r?(t._emitToken({type:"Characters",data:"<!"}),t.setState(v)):(t._emitToken({type:"Characters",data:"<"}),e.unget(r),t.setState(u)),!0}function E(e){var r=e.char();return i(r)?(this._temporaryBuffer+=r,t.setState(w)):(t._emitToken({type:"Characters",data:"</"}),e.unget(r),t.setState(u)),!0}function w(e){var r=t._currentToken&&t._currentToken.name===this._temporaryBuffer.toLowerCase(),n=e.char();return o(n)&&r?(t._currentToken={type:"EndTag",name:"script",data:[],selfClosing:!1},t.setState(R)):"/"===n&&r?(t._currentToken={type:"EndTag",name:"script",data:[],selfClosing:!1},t.setState(Y)):">"===n&&r?(t._currentToken={type:"EndTag",name:"script",data:[],selfClosing:!1},t._emitCurrentToken()):i(n)?(this._temporaryBuffer+=n,e.commit()):(t._emitToken({type:"Characters",data:"</"+this._temporaryBuffer}),e.unget(n),t.setState(u)),!0}function v(e){var r=e.char();return"-"===r?(t._emitToken({type:"Characters",data:"-"}),t.setState(x)):(e.unget(r),t.setState(u)),!0}function x(e){var r=e.char();return"-"===r?(t._emitToken({type:"Characters",data:"-"}),t.setState(_)):(e.unget(r),t.setState(u)),!0}function k(e){var a=e.char();if(a===n.EOF)e.unget(a),t.setState(r);else if("-"===a)t._emitToken({type:"Characters",data:"-"}),t.setState(S);else if("<"===a)t.setState(C);else if("\0"===a)t._parseError("invalid-codepoint"),t._emitToken({type:"Characters",data:"�"}),e.commit();else{var o=e.matchUntil("<|-|\0");t._emitToken({type:"Characters",data:a+o})}return!0}function S(e){var a=e.char();return a===n.EOF?(e.unget(a),t.setState(r)):"-"===a?(t._emitToken({type:"Characters",data:"-"}),t.setState(_)):"<"===a?t.setState(C):"\0"===a?(t._parseError("invalid-codepoint"),t._emitToken({type:"Characters",data:"�"}),t.setState(k)):(t._emitToken({type:"Characters",data:a}),t.setState(k)),!0}function _(e){var a=e.char();return a===n.EOF?(t._parseError("eof-in-script"),e.unget(a),t.setState(r)):"<"===a?t.setState(C):">"===a?(t._emitToken({type:"Characters",data:">"}),t.setState(u)):"\0"===a?(t._parseError("invalid-codepoint"),t._emitToken({type:"Characters",data:"�"}),t.setState(k)):(t._emitToken({type:"Characters",data:a}),t.setState(k)),!0}function C(e){var r=e.char();return"/"===r?(this._temporaryBuffer="",t.setState(N)):i(r)?(t._emitToken({type:"Characters",data:"<"+r}),this._temporaryBuffer=r,t.setState(O)):(t._emitToken({type:"Characters",data:"<"}),e.unget(r),t.setState(k)),!0}function N(e){var r=e.char();return i(r)?(this._temporaryBuffer=r,t.setState(I)):(t._emitToken({type:"Characters",data:"</"}),e.unget(r),t.setState(k)),!0}function I(e){var n=t._currentToken&&t._currentToken.name===this._temporaryBuffer.toLowerCase(),a=e.char();return o(a)&&n?(t._currentToken={type:"EndTag",name:"script",data:[],selfClosing:!1},t.setState(R)):"/"===a&&n?(t._currentToken={type:"EndTag",name:"script",data:[],selfClosing:!1},t.setState(Y)):">"===a&&n?(t._currentToken={type:"EndTag",name:"script",data:[],selfClosing:!1},t.setState(r),t._emitCurrentToken()):i(a)?(this._temporaryBuffer+=a,e.commit()):(t._emitToken({type:"Characters",data:"</"+this._temporaryBuffer}),e.unget(a),t.setState(k)),!0}function O(e){var r=e.char();return o(r)||"/"===r||">"===r?(t._emitToken({type:"Characters",data:r}),"script"===this._temporaryBuffer.toLowerCase()?t.setState(M):t.setState(k)):i(r)?(t._emitToken({type:"Characters",data:r}),this._temporaryBuffer+=r,e.commit()):(e.unget(r),t.setState(k)),!0}function M(e){var a=e.char();return a===n.EOF?(t._parseError("eof-in-script"),e.unget(a),t.setState(r)):"-"===a?(t._emitToken({type:"Characters",data:"-"}),t.setState(F)):"<"===a?(t._emitToken({type:"Characters",data:"<"}),t.setState(A)):"\0"===a?(t._parseError("invalid-codepoint"),t._emitToken({type:"Characters",data:"�"}),e.commit()):(t._emitToken({type:"Characters",data:a}),e.commit()),!0}function F(e){var a=e.char();return a===n.EOF?(t._parseError("eof-in-script"),e.unget(a),t.setState(r)):"-"===a?(t._emitToken({type:"Characters",data:"-"}),t.setState(L)):"<"===a?(t._emitToken({type:"Characters",data:"<"}),t.setState(A)):"\0"===a?(t._parseError("invalid-codepoint"),t._emitToken({type:"Characters",data:"�"}),t.setState(M)):(t._emitToken({type:"Characters",data:a}),t.setState(M)),!0}function L(e){var a=e.char();return a===n.EOF?(t._parseError("eof-in-script"),e.unget(a),t.setState(r)):"-"===a?(t._emitToken({type:"Characters",data:"-"}),e.commit()):"<"===a?(t._emitToken({type:"Characters",data:"<"}),t.setState(A)):">"===a?(t._emitToken({type:"Characters",data:">"}),t.setState(u)):"\0"===a?(t._parseError("invalid-codepoint"),t._emitToken({type:"Characters",data:"�"}),t.setState(M)):(t._emitToken({type:"Characters",data:a}),t.setState(M)),!0}function A(e){var r=e.char();return"/"===r?(t._emitToken({type:"Characters",data:"/"}),this._temporaryBuffer="",t.setState(B)):(e.unget(r),t.setState(M)),!0}function B(e){var r=e.char();return o(r)||"/"===r||">"===r?(t._emitToken({type:"Characters",data:r}),"script"===this._temporaryBuffer.toLowerCase()?t.setState(k):t.setState(M)):i(r)?(t._emitToken({type:"Characters",data:r}),this._temporaryBuffer+=r,e.commit()):(e.unget(r),t.setState(M)),!0}function q(e){var a=e.char();return a===n.EOF?(t._parseError("bare-less-than-sign-at-eof"),t._emitToken({type:"Characters",data:"<"}),e.unget(a),t.setState(r)):i(a)?(t._currentToken={type:"StartTag",name:a.toLowerCase(),data:[]},t.setState(D)):"!"===a?t.setState(X):"/"===a?t.setState(H):">"===a?(t._parseError("expected-tag-name-but-got-right-bracket"),t._emitToken({type:"Characters",data:"<>"}),t.setState(r)):"?"===a?(t._parseError("expected-tag-name-but-got-question-mark"),e.unget(a),t.setState(W)):(t._parseError("expected-tag-name"),t._emitToken({type:"Characters",data:"<"}),e.unget(a),t.setState(r)),!0}function H(e){var a=e.char();return a===n.EOF?(t._parseError("expected-closing-tag-but-got-eof"),t._emitToken({type:"Characters",data:"</"}),e.unget(a),t.setState(r)):i(a)?(t._currentToken={type:"EndTag",name:a.toLowerCase(),data:[]},t.setState(D)):">"===a?(t._parseError("expected-closing-tag-but-got-right-bracket"),t.setState(r)):(t._parseError("expected-closing-tag-but-got-char",{data:a}),e.unget(a),t.setState(W)),!0}function D(e){var a=e.char();return a===n.EOF?(t._parseError("eof-in-tag-name"),e.unget(a),t.setState(r)):o(a)?t.setState(R):i(a)?t._currentToken.name+=a.toLowerCase():">"===a?t._emitCurrentToken():"/"===a?t.setState(Y):"\0"===a?(t._parseError("invalid-codepoint"),t._currentToken.name+="�"):t._currentToken.name+=a,e.commit(),!0}function R(e){var a=e.char();if(a===n.EOF)t._parseError("expected-attribute-name-but-got-eof"),e.unget(a),t.setState(r);else{if(o(a))return!0;i(a)?(t._currentToken.data.push({nodeName:a.toLowerCase(),nodeValue:""}),t.setState(U)):">"===a?t._emitCurrentToken():"/"===a?t.setState(Y):"'"===a||'"'===a||"="===a||"<"===a?(t._parseError("invalid-character-in-attribute-name"),t._currentToken.data.push({nodeName:a,nodeValue:""}),t.setState(U)):"\0"===a?(t._parseError("invalid-codepoint"),t._currentToken.data.push({nodeName:"�",nodeValue:""})):(t._currentToken.data.push({nodeName:a,nodeValue:""}),t.setState(U))}return!0}function U(e){var a=e.char(),s=!0,c=!1;if(a===n.EOF?(t._parseError("eof-in-attribute-name"),e.unget(a),t.setState(r),c=!0):"="===a?t.setState(j):i(a)?(t._currentAttribute().nodeName+=a.toLowerCase(),s=!1):">"===a?c=!0:o(a)?t.setState(P):"/"===a?t.setState(Y):"'"===a||'"'===a?(t._parseError("invalid-character-in-attribute-name"),t._currentAttribute().nodeName+=a,s=!1):"\0"===a?(t._parseError("invalid-codepoint"),t._currentAttribute().nodeName+="�"):(t._currentAttribute().nodeName+=a,s=!1),s){for(var l=t._currentToken.data,d=l[l.length-1],p=l.length-2;p>=0;p--)if(d.nodeName===l[p].nodeName){t._parseError("duplicate-attribute",{name:d.nodeName}),d.nodeName=null;break}c&&t._emitCurrentToken()}else e.commit();return!0}function P(e){var a=e.char();if(a===n.EOF)t._parseError("expected-end-of-tag-but-got-eof"),e.unget(a),t.setState(r);else{if(o(a))return!0;"="===a?t.setState(j):">"===a?t._emitCurrentToken():i(a)?(t._currentToken.data.push({nodeName:a,nodeValue:""}),t.setState(U)):"/"===a?t.setState(Y):"'"===a||'"'===a||"<"===a?(t._parseError("invalid-character-after-attribute-name"),t._currentToken.data.push({nodeName:a,nodeValue:""}),t.setState(U)):"\0"===a?(t._parseError("invalid-codepoint"),t._currentToken.data.push({nodeName:"�",nodeValue:""})):(t._currentToken.data.push({nodeName:a,nodeValue:""}),t.setState(U))}return!0}function j(e){var a=e.char();if(a===n.EOF)t._parseError("expected-attribute-value-but-got-eof"),e.unget(a),t.setState(r);else{if(o(a))return!0;'"'===a?t.setState(V):"&"===a?(t.setState(z),e.unget(a)):"'"===a?t.setState(G):">"===a?(t._parseError("expected-attribute-value-but-got-right-bracket"),t._emitCurrentToken()):"="===a||"<"===a||"`"===a?(t._parseError("unexpected-character-in-unquoted-attribute-value"),t._currentAttribute().nodeValue+=a,t.setState(z)):"\0"===a?(t._parseError("invalid-codepoint"),t._currentAttribute().nodeValue+="�"):(t._currentAttribute().nodeValue+=a,t.setState(z))}return!0}function V(e){var a=e.char();if(a===n.EOF)t._parseError("eof-in-attribute-value-double-quote"),e.unget(a),t.setState(r);else if('"'===a)t.setState(Q);else if("&"===a)this._additionalAllowedCharacter='"',t.setState($);else if("\0"===a)t._parseError("invalid-codepoint"),t._currentAttribute().nodeValue+="�";else{a+=e.matchUntil('[\0"&]'),t._currentAttribute().nodeValue+=a}return!0}function G(e){var a=e.char();return a===n.EOF?(t._parseError("eof-in-attribute-value-single-quote"),e.unget(a),t.setState(r)):"'"===a?t.setState(Q):"&"===a?(this._additionalAllowedCharacter="'",t.setState($)):"\0"===a?(t._parseError("invalid-codepoint"),t._currentAttribute().nodeValue+="�"):t._currentAttribute().nodeValue+=a+e.matchUntil("\0|['&]"),!0}function z(e){var a=e.char();if(a===n.EOF)t._parseError("eof-after-attribute-value"),e.unget(a),t.setState(r);else if(o(a))t.setState(R);else if("&"===a)this._additionalAllowedCharacter=">",t.setState($);else if(">"===a)t._emitCurrentToken();else if('"'===a||"'"===a||"="===a||"`"===a||"<"===a)t._parseError("unexpected-character-in-unquoted-attribute-value"),t._currentAttribute().nodeValue+=a,e.commit();else if("\0"===a)t._parseError("invalid-codepoint"),t._currentAttribute().nodeValue+="�";else{var i=e.matchUntil("\0|[\t\n\v\f \r&<>\"'=`]");i===n.EOF&&(t._parseError("eof-in-attribute-value-no-quotes"),t._emitCurrentToken()),e.commit(),t._currentAttribute().nodeValue+=a+i}return!0}function $(e){var r=a.consumeEntity(e,t,this._additionalAllowedCharacter);return this._currentAttribute().nodeValue+=r||"&",'"'===this._additionalAllowedCharacter?t.setState(V):"'"===this._additionalAllowedCharacter?t.setState(G):">"===this._additionalAllowedCharacter&&t.setState(z),!0}function Q(e){var a=e.char();return a===n.EOF?(t._parseError("eof-after-attribute-value"),e.unget(a),t.setState(r)):o(a)?t.setState(R):">"===a?(t.setState(r),t._emitCurrentToken()):"/"===a?t.setState(Y):(t._parseError("unexpected-character-after-attribute-value"),e.unget(a),t.setState(R)),!0}function Y(e){var a=e.char();return a===n.EOF?(t._parseError("unexpected-eof-after-solidus-in-tag"),e.unget(a),t.setState(r)):">"===a?(t._currentToken.selfClosing=!0,t.setState(r),t._emitCurrentToken()):(t._parseError("unexpected-character-after-solidus-in-tag"),e.unget(a),t.setState(R)),!0}function W(e){var n=e.matchUntil(">");return n=n.replace(/\u0000/g,"�"),e.char(),t._emitToken({type:"Comment",data:n}),t.setState(r),!0}function X(e){var r=e.shift(2);if("--"===r)t._currentToken={type:"Comment",data:""},t.setState(Z);else{var a=e.shift(5);if(a===n.EOF||r===n.EOF)return t._parseError("expected-dashes-or-doctype"),t.setState(W),e.unget(r),!0;"DOCTYPE"===(r+=a).toUpperCase()?(t._currentToken={type:"Doctype",name:"",publicId:null,systemId:null,forceQuirks:!1},t.setState(ae)):t._tokenHandler.isCdataSectionAllowed()&&"[CDATA["===r?t.setState(J):(t._parseError("expected-dashes-or-doctype"),e.unget(r),t.setState(W))}return!0}function J(e){var n=e.matchUntil("]]>");return e.shift(3),n&&t._emitToken({type:"Characters",data:n}),t.setState(r),!0}function Z(e){var a=e.char();return a===n.EOF?(t._parseError("eof-in-comment"),t._emitToken(t._currentToken),e.unget(a),t.setState(r)):"-"===a?t.setState(K):">"===a?(t._parseError("incorrect-comment"),t._emitToken(t._currentToken),t.setState(r)):"\0"===a?(t._parseError("invalid-codepoint"),t._currentToken.data+="�"):(t._currentToken.data+=a,t.setState(ee)),!0}function K(e){var a=e.char();return a===n.EOF?(t._parseError("eof-in-comment"),t._emitToken(t._currentToken),e.unget(a),t.setState(r)):"-"===a?t.setState(re):">"===a?(t._parseError("incorrect-comment"),t._emitToken(t._currentToken),t.setState(r)):"\0"===a?(t._parseError("invalid-codepoint"),t._currentToken.data+="�"):(t._currentToken.data+="-"+a,t.setState(ee)),!0}function ee(e){var a=e.char();return a===n.EOF?(t._parseError("eof-in-comment"),t._emitToken(t._currentToken),e.unget(a),t.setState(r)):"-"===a?t.setState(te):"\0"===a?(t._parseError("invalid-codepoint"),t._currentToken.data+="�"):(t._currentToken.data+=a,e.commit()),!0}function te(e){var a=e.char();return a===n.EOF?(t._parseError("eof-in-comment-end-dash"),t._emitToken(t._currentToken),e.unget(a),t.setState(r)):"-"===a?t.setState(re):"\0"===a?(t._parseError("invalid-codepoint"),t._currentToken.data+="-�",t.setState(ee)):(t._currentToken.data+="-"+a+e.matchUntil("\0|-"),e.char()),!0}function re(e){var a=e.char();return a===n.EOF?(t._parseError("eof-in-comment-double-dash"),t._emitToken(t._currentToken),e.unget(a),t.setState(r)):">"===a?(t._emitToken(t._currentToken),t.setState(r)):"!"===a?(t._parseError("unexpected-bang-after-double-dash-in-comment"),t.setState(ne)):"-"===a?(t._parseError("unexpected-dash-after-double-dash-in-comment"),t._currentToken.data+=a):"\0"===a?(t._parseError("invalid-codepoint"),t._currentToken.data+="--�",t.setState(ee)):(t._parseError("unexpected-char-in-comment"),t._currentToken.data+="--"+a,t.setState(ee)),!0}function ne(e){var a=e.char();return a===n.EOF?(t._parseError("eof-in-comment-end-bang-state"),t._emitToken(t._currentToken),e.unget(a),t.setState(r)):">"===a?(t._emitToken(t._currentToken),t.setState(r)):"-"===a?(t._currentToken.data+="--!",t.setState(te)):(t._currentToken.data+="--!"+a,t.setState(ee)),!0}function ae(e){var a=e.char();return a===n.EOF?(t._parseError("expected-doctype-name-but-got-eof"),t._currentToken.forceQuirks=!0,e.unget(a),t.setState(r),t._emitCurrentToken()):(o(a)||(t._parseError("need-space-after-doctype"),e.unget(a)),t.setState(oe)),!0}function oe(e){var a=e.char();return a===n.EOF?(t._parseError("expected-doctype-name-but-got-eof"),t._currentToken.forceQuirks=!0,e.unget(a),t.setState(r),t._emitCurrentToken()):o(a)||(">"===a?(t._parseError("expected-doctype-name-but-got-right-bracket"),t._currentToken.forceQuirks=!0,t.setState(r),t._emitCurrentToken()):(i(a)&&(a=a.toLowerCase()),t._currentToken.name=a,t.setState(ie))),!0}function ie(e){var a=e.char();return a===n.EOF?(t._currentToken.forceQuirks=!0,e.unget(a),t._parseError("eof-in-doctype-name"),t.setState(r),t._emitCurrentToken()):o(a)?t.setState(se):">"===a?(t.setState(r),t._emitCurrentToken()):(i(a)&&(a=a.toLowerCase()),t._currentToken.name+=a,e.commit()),!0}function se(e){var a=e.char();if(a===n.EOF)t._currentToken.forceQuirks=!0,e.unget(a),t._parseError("eof-in-doctype"),t.setState(r),t._emitCurrentToken();else if(o(a));else if(">"===a)t.setState(r),t._emitCurrentToken();else{if(["p","P"].indexOf(a)>-1){var i=[["u","U"],["b","B"],["l","L"],["i","I"],["c","C"]].every((function(t){return a=e.char(),t.indexOf(a)>-1}));if(i)return t.setState(ce),!0}else if(["s","S"].indexOf(a)>-1){i=[["y","Y"],["s","S"],["t","T"],["e","E"],["m","M"]].every((function(t){return a=e.char(),t.indexOf(a)>-1}));if(i)return t.setState(me),!0}e.unget(a),t._currentToken.forceQuirks=!0,a===n.EOF?(t._parseError("eof-in-doctype"),e.unget(a),t.setState(r),t._emitCurrentToken()):(t._parseError("expected-space-or-right-bracket-in-doctype",{data:a}),t.setState(ye))}return!0}function ce(e){var a=e.char();return a===n.EOF?(t._parseError("eof-in-doctype"),t._currentToken.forceQuirks=!0,e.unget(a),t.setState(r),t._emitCurrentToken()):o(a)?t.setState(le):"'"===a||'"'===a?(t._parseError("unexpected-char-in-doctype"),e.unget(a),t.setState(le)):(e.unget(a),t.setState(le)),!0}function le(e){var a=e.char();return a===n.EOF?(t._parseError("eof-in-doctype"),t._currentToken.forceQuirks=!0,e.unget(a),t.setState(r),t._emitCurrentToken()):o(a)||('"'===a?(t._currentToken.publicId="",t.setState(de)):"'"===a?(t._currentToken.publicId="",t.setState(pe)):">"===a?(t._parseError("unexpected-end-of-doctype"),t._currentToken.forceQuirks=!0,t.setState(r),t._emitCurrentToken()):(t._parseError("unexpected-char-in-doctype"),t._currentToken.forceQuirks=!0,t.setState(ye))),!0}function de(e){var a=e.char();return a===n.EOF?(t._parseError("eof-in-doctype"),t._currentToken.forceQuirks=!0,e.unget(a),t.setState(r),t._emitCurrentToken()):'"'===a?t.setState(ue):">"===a?(t._parseError("unexpected-end-of-doctype"),t._currentToken.forceQuirks=!0,t.setState(r),t._emitCurrentToken()):t._currentToken.publicId+=a,!0}function pe(e){var a=e.char();return a===n.EOF?(t._parseError("eof-in-doctype"),t._currentToken.forceQuirks=!0,e.unget(a),t.setState(r),t._emitCurrentToken()):"'"===a?t.setState(ue):">"===a?(t._parseError("unexpected-end-of-doctype"),t._currentToken.forceQuirks=!0,t.setState(r),t._emitCurrentToken()):t._currentToken.publicId+=a,!0}function ue(e){var a=e.char();return a===n.EOF?(t._parseError("eof-in-doctype"),t._currentToken.forceQuirks=!0,t._emitCurrentToken(),e.unget(a),t.setState(r)):o(a)?t.setState(he):">"===a?(t.setState(r),t._emitCurrentToken()):'"'===a?(t._parseError("unexpected-char-in-doctype"),t._currentToken.systemId="",t.setState(fe)):"'"===a?(t._parseError("unexpected-char-in-doctype"),t._currentToken.systemId="",t.setState(Te)):(t._parseError("unexpected-char-in-doctype"),t._currentToken.forceQuirks=!0,t.setState(ye)),!0}function he(e){var a=e.char();return a===n.EOF?(t._parseError("eof-in-doctype"),t._currentToken.forceQuirks=!0,t._emitCurrentToken(),e.unget(a),t.setState(r)):o(a)||(">"===a?(t._emitCurrentToken(),t.setState(r)):'"'===a?(t._currentToken.systemId="",t.setState(fe)):"'"===a?(t._currentToken.systemId="",t.setState(Te)):(t._parseError("unexpected-char-in-doctype"),t._currentToken.forceQuirks=!0,t.setState(ye))),!0}function me(e){var a=e.char();return a===n.EOF?(t._parseError("eof-in-doctype"),t._currentToken.forceQuirks=!0,t._emitCurrentToken(),e.unget(a),t.setState(r)):o(a)?t.setState(ge):"'"===a||'"'===a?(t._parseError("unexpected-char-in-doctype"),e.unget(a),t.setState(ge)):(e.unget(a),t.setState(ge)),!0}function ge(e){var a=e.char();return a===n.EOF?(t._parseError("eof-in-doctype"),t._currentToken.forceQuirks=!0,t._emitCurrentToken(),e.unget(a),t.setState(r)):o(a)||('"'===a?(t._currentToken.systemId="",t.setState(fe)):"'"===a?(t._currentToken.systemId="",t.setState(Te)):">"===a?(t._parseError("unexpected-end-of-doctype"),t._currentToken.forceQuirks=!0,t._emitCurrentToken(),t.setState(r)):(t._parseError("unexpected-char-in-doctype"),t._currentToken.forceQuirks=!0,t.setState(ye))),!0}function fe(e){var a=e.char();return a===n.EOF?(t._parseError("eof-in-doctype"),t._currentToken.forceQuirks=!0,t._emitCurrentToken(),e.unget(a),t.setState(r)):'"'===a?t.setState(be):">"===a?(t._parseError("unexpected-end-of-doctype"),t._currentToken.forceQuirks=!0,t._emitCurrentToken(),t.setState(r)):t._currentToken.systemId+=a,!0}function Te(e){var a=e.char();return a===n.EOF?(t._parseError("eof-in-doctype"),t._currentToken.forceQuirks=!0,t._emitCurrentToken(),e.unget(a),t.setState(r)):"'"===a?t.setState(be):">"===a?(t._parseError("unexpected-end-of-doctype"),t._currentToken.forceQuirks=!0,t._emitCurrentToken(),t.setState(r)):t._currentToken.systemId+=a,!0}function be(e){var a=e.char();return a===n.EOF?(t._parseError("eof-in-doctype"),t._currentToken.forceQuirks=!0,t._emitCurrentToken(),e.unget(a),t.setState(r)):o(a)||(">"===a?(t._emitCurrentToken(),t.setState(r)):(t._parseError("unexpected-char-in-doctype"),t.setState(ye))),!0}function ye(e){var a=e.char();return a===n.EOF?(e.unget(a),t._emitCurrentToken(),t.setState(r)):">"===a&&(t._emitCurrentToken(),t.setState(r)),!0}},Object.defineProperty(s.prototype,"lineNumber",{get:function(){return this._inputStream.location().line}}),Object.defineProperty(s.prototype,"columnNumber",{get:function(){return this._inputStream.location().column}}),r.Tokenizer=s},{"./EntityParser":2,"./InputStream":3}],6:[function(e,t,r){var n=e("assert"),a=e("./messages.json"),o=e("./constants"),i=(e("events").EventEmitter,e("./Tokenizer").Tokenizer),s=e("./ElementStack").ElementStack,c=e("./StackItem").StackItem,l={};function d(e){return" "===e||"\n"===e||"\t"===e||"\r"===e||"\f"===e}function p(e){return d(e)||"�"===e}function u(e){for(var t=0;t<e.length;t++){if(!d(e[t]))return!1}return!0}function h(e){for(var t=0;t<e.length;t++){if(!p(e[t]))return!1}return!0}function m(e,t){for(var r=0;r<e.attributes.length;r++){var n=e.attributes[r];if(n.nodeName===t)return n}return null}function g(e){this.characters=e,this.current=0,this.end=this.characters.length}function f(){this.tokenizer=null,this.errorHandler=null,this.scriptingEnabled=!1,this.document=null,this.head=null,this.form=null,this.openElements=new s,this.activeFormattingElements=[],this.insertionMode=null,this.insertionModeName="",this.originalInsertionMode="",this.inQuirksMode=!1,this.compatMode="no quirks",this.framesetOk=!0,this.redirectAttachToFosterParent=!1,this.selfClosingFlagAcknowledged=!1,this.context="",this.pendingTableCharacters=[],this.shouldSkipLeadingNewline=!1;var e=this,t=this.insertionModes={};t.base={end_tag_handlers:{"-default":"endTagOther"},start_tag_handlers:{"-default":"startTagOther"},processEOF:function(){e.generateImpliedEndTags(),e.openElements.length>2||2==e.openElements.length&&"body"!=e.openElements.item(1).localName?e.parseError("expected-closing-tag-but-got-eof"):e.context&&e.openElements.length},processComment:function(t){e.insertComment(t,e.currentStackItem().node)},processDoctype:function(t,r,n,a){e.parseError("unexpected-doctype")},processStartTag:function(e,t,r){if(this[this.start_tag_handlers[e]])this[this.start_tag_handlers[e]](e,t,r);else{if(!this[this.start_tag_handlers["-default"]])throw new Error("No handler found for "+e);this[this.start_tag_handlers["-default"]](e,t,r)}},processEndTag:function(e){if(this[this.end_tag_handlers[e]])this[this.end_tag_handlers[e]](e);else{if(!this[this.end_tag_handlers["-default"]])throw new Error("No handler found for "+e);this[this.end_tag_handlers["-default"]](e)}},startTagHtml:function(e,r){t.inBody.startTagHtml(e,r)}},t.initial=Object.create(t.base),t.initial.processEOF=function(){e.parseError("expected-doctype-but-got-eof"),this.anythingElse(),e.insertionMode.processEOF()},t.initial.processComment=function(t){e.insertComment(t,e.document)},t.initial.processDoctype=function(t,r,n,a){function o(e){return 0===r.toLowerCase().indexOf(e)}e.insertDoctype(t||"",r||"",n||""),a||"html"!=t||null!=r&&(["+//silmaril//dtd html pro v0r11 19970101//","-//advasoft ltd//dtd html 3.0 aswedit + extensions//","-//as//dtd html 3.0 aswedit + extensions//","-//ietf//dtd html 2.0 level 1//","-//ietf//dtd html 2.0 level 2//","-//ietf//dtd html 2.0 strict level 1//","-//ietf//dtd html 2.0 strict level 2//","-//ietf//dtd html 2.0 strict//","-//ietf//dtd html 2.0//","-//ietf//dtd html 2.1e//","-//ietf//dtd html 3.0//","-//ietf//dtd html 3.0//","-//ietf//dtd html 3.2 final//","-//ietf//dtd html 3.2//","-//ietf//dtd html 3//","-//ietf//dtd html level 0//","-//ietf//dtd html level 0//","-//ietf//dtd html level 1//","-//ietf//dtd html level 1//","-//ietf//dtd html level 2//","-//ietf//dtd html level 2//","-//ietf//dtd html level 3//","-//ietf//dtd html level 3//","-//ietf//dtd html strict level 0//","-//ietf//dtd html strict level 0//","-//ietf//dtd html strict level 1//","-//ietf//dtd html strict level 1//","-//ietf//dtd html strict level 2//","-//ietf//dtd html strict level 2//","-//ietf//dtd html strict level 3//","-//ietf//dtd html strict level 3//","-//ietf//dtd html strict//","-//ietf//dtd html strict//","-//ietf//dtd html strict//","-//ietf//dtd html//","-//ietf//dtd html//","-//ietf//dtd html//","-//metrius//dtd metrius presentational//","-//microsoft//dtd internet explorer 2.0 html strict//","-//microsoft//dtd internet explorer 2.0 html//","-//microsoft//dtd internet explorer 2.0 tables//","-//microsoft//dtd internet explorer 3.0 html strict//","-//microsoft//dtd internet explorer 3.0 html//","-//microsoft//dtd internet explorer 3.0 tables//","-//netscape comm. corp.//dtd html//","-//netscape comm. corp.//dtd strict html//","-//o'reilly and associates//dtd html 2.0//","-//o'reilly and associates//dtd html extended 1.0//","-//spyglass//dtd html 2.0 extended//","-//sq//dtd html 2.0 hotmetal + extensions//","-//sun microsystems corp.//dtd hotjava html//","-//sun microsystems corp.//dtd hotjava strict html//","-//w3c//dtd html 3 1995-03-24//","-//w3c//dtd html 3.2 draft//","-//w3c//dtd html 3.2 final//","-//w3c//dtd html 3.2//","-//w3c//dtd html 3.2s draft//","-//w3c//dtd html 4.0 frameset//","-//w3c//dtd html 4.0 transitional//","-//w3c//dtd html experimental 19960712//","-//w3c//dtd html experimental 970421//","-//w3c//dtd w3 html//","-//w3o//dtd w3 html 3.0//","-//webtechs//dtd mozilla html 2.0//","-//webtechs//dtd mozilla html//","html"].some(o)||["-//w3o//dtd w3 html strict 3.0//en//","-/w3c/dtd html 4.0 transitional/en","html"].indexOf(r.toLowerCase())>-1||null==n&&["-//w3c//dtd html 4.01 transitional//","-//w3c//dtd html 4.01 frameset//"].some(o))||null!=n&&"http://www.ibm.com/data/dtd/v11/ibmxhtml1-transitional.dtd"==n.toLowerCase()?(e.compatMode="quirks",e.parseError("quirky-doctype")):null!=r&&(["-//w3c//dtd xhtml 1.0 transitional//","-//w3c//dtd xhtml 1.0 frameset//"].some(o)||null!=n&&["-//w3c//dtd html 4.01 transitional//","-//w3c//dtd html 4.01 frameset//"].indexOf(r.toLowerCase())>-1)?(e.compatMode="limited quirks",e.parseError("almost-standards-doctype")):"-//W3C//DTD HTML 4.0//EN"==r&&(null==n||"http://www.w3.org/TR/REC-html40/strict.dtd"==n)||"-//W3C//DTD HTML 4.01//EN"==r&&(null==n||"http://www.w3.org/TR/html4/strict.dtd"==n)||"-//W3C//DTD XHTML 1.0 Strict//EN"==r&&"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"==n||"-//W3C//DTD XHTML 1.1//EN"==r&&"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"==n||(null!=n&&"about:legacy-compat"!=n||null!=r)&&e.parseError("unknown-doctype"),e.setInsertionMode("beforeHTML")},t.initial.processCharacters=function(t){t.skipLeadingWhitespace(),t.length&&(e.parseError("expected-doctype-but-got-chars"),this.anythingElse(),e.insertionMode.processCharacters(t))},t.initial.processStartTag=function(t,r,n){e.parseError("expected-doctype-but-got-start-tag",{name:t}),this.anythingElse(),e.insertionMode.processStartTag(t,r,n)},t.initial.processEndTag=function(t){e.parseError("expected-doctype-but-got-end-tag",{name:t}),this.anythingElse(),e.insertionMode.processEndTag(t)},t.initial.anythingElse=function(){e.compatMode="quirks",e.setInsertionMode("beforeHTML")},t.beforeHTML=Object.create(t.base),t.beforeHTML.start_tag_handlers={html:"startTagHtml","-default":"startTagOther"},t.beforeHTML.processEOF=function(){this.anythingElse(),e.insertionMode.processEOF()},t.beforeHTML.processComment=function(t){e.insertComment(t,e.document)},t.beforeHTML.processCharacters=function(t){t.skipLeadingWhitespace(),t.length&&(this.anythingElse(),e.insertionMode.processCharacters(t))},t.beforeHTML.startTagHtml=function(t,r,n){e.insertHtmlElement(r),e.setInsertionMode("beforeHead")},t.beforeHTML.startTagOther=function(t,r,n){this.anythingElse(),e.insertionMode.processStartTag(t,r,n)},t.beforeHTML.processEndTag=function(t){this.anythingElse(),e.insertionMode.processEndTag(t)},t.beforeHTML.anythingElse=function(){e.insertHtmlElement(),e.setInsertionMode("beforeHead")},t.afterAfterBody=Object.create(t.base),t.afterAfterBody.start_tag_handlers={html:"startTagHtml","-default":"startTagOther"},t.afterAfterBody.processComment=function(t){e.insertComment(t,e.document)},t.afterAfterBody.processDoctype=function(e){t.inBody.processDoctype(e)},t.afterAfterBody.startTagHtml=function(e,r){t.inBody.startTagHtml(e,r)},t.afterAfterBody.startTagOther=function(t,r,n){e.parseError("unexpected-start-tag",{name:t}),e.setInsertionMode("inBody"),e.insertionMode.processStartTag(t,r,n)},t.afterAfterBody.endTagOther=function(t){e.parseError("unexpected-end-tag",{name:t}),e.setInsertionMode("inBody"),e.insertionMode.processEndTag(t)},t.afterAfterBody.processCharacters=function(r){if(!u(r.characters))return e.parseError("unexpected-char-after-body"),e.setInsertionMode("inBody"),e.insertionMode.processCharacters(r);t.inBody.processCharacters(r)},t.afterBody=Object.create(t.base),t.afterBody.end_tag_handlers={html:"endTagHtml","-default":"endTagOther"},t.afterBody.processComment=function(t){e.insertComment(t,e.openElements.rootNode)},t.afterBody.processCharacters=function(r){if(!u(r.characters))return e.parseError("unexpected-char-after-body"),e.setInsertionMode("inBody"),e.insertionMode.processCharacters(r);t.inBody.processCharacters(r)},t.afterBody.processStartTag=function(t,r,n){e.parseError("unexpected-start-tag-after-body",{name:t}),e.setInsertionMode("inBody"),e.insertionMode.processStartTag(t,r,n)},t.afterBody.endTagHtml=function(t){e.context?e.parseError("end-html-in-innerhtml"):e.setInsertionMode("afterAfterBody")},t.afterBody.endTagOther=function(t){e.parseError("unexpected-end-tag-after-body",{name:t}),e.setInsertionMode("inBody"),e.insertionMode.processEndTag(t)},t.afterFrameset=Object.create(t.base),t.afterFrameset.start_tag_handlers={html:"startTagHtml",noframes:"startTagNoframes","-default":"startTagOther"},t.afterFrameset.end_tag_handlers={html:"endTagHtml","-default":"endTagOther"},t.afterFrameset.processCharacters=function(t){for(var r=t.takeRemaining(),n="",a=0;a<r.length;a++){var o=r[a];d(o)&&(n+=o)}n&&e.insertText(n),n.length<r.length&&e.parseError("expected-eof-but-got-char")},t.afterFrameset.startTagNoframes=function(e,r){t.inHead.processStartTag(e,r)},t.afterFrameset.startTagOther=function(t,r){e.parseError("unexpected-start-tag-after-frameset",{name:t})},t.afterFrameset.endTagHtml=function(t){e.setInsertionMode("afterAfterFrameset")},t.afterFrameset.endTagOther=function(t){e.parseError("unexpected-end-tag-after-frameset",{name:t})},t.beforeHead=Object.create(t.base),t.beforeHead.start_tag_handlers={html:"startTagHtml",head:"startTagHead","-default":"startTagOther"},t.beforeHead.end_tag_handlers={html:"endTagImplyHead",head:"endTagImplyHead",body:"endTagImplyHead",br:"endTagImplyHead","-default":"endTagOther"},t.beforeHead.processEOF=function(){this.startTagHead("head",[]),e.insertionMode.processEOF()},t.beforeHead.processCharacters=function(t){t.skipLeadingWhitespace(),t.length&&(this.startTagHead("head",[]),e.insertionMode.processCharacters(t))},t.beforeHead.startTagHead=function(t,r){e.insertHeadElement(r),e.setInsertionMode("inHead")},t.beforeHead.startTagOther=function(t,r,n){this.startTagHead("head",[]),e.insertionMode.processStartTag(t,r,n)},t.beforeHead.endTagImplyHead=function(t){this.startTagHead("head",[]),e.insertionMode.processEndTag(t)},t.beforeHead.endTagOther=function(t){e.parseError("end-tag-after-implied-root",{name:t})},t.inHead=Object.create(t.base),t.inHead.start_tag_handlers={html:"startTagHtml",head:"startTagHead",title:"startTagTitle",script:"startTagScript",style:"startTagNoFramesStyle",noscript:"startTagNoScript",noframes:"startTagNoFramesStyle",base:"startTagBaseBasefontBgsoundLink",basefont:"startTagBaseBasefontBgsoundLink",bgsound:"startTagBaseBasefontBgsoundLink",link:"startTagBaseBasefontBgsoundLink",meta:"startTagMeta","-default":"startTagOther"},t.inHead.end_tag_handlers={head:"endTagHead",html:"endTagHtmlBodyBr",body:"endTagHtmlBodyBr",br:"endTagHtmlBodyBr","-default":"endTagOther"},t.inHead.processEOF=function(){var t=e.currentStackItem().localName;-1!=["title","style","script"].indexOf(t)&&(e.parseError("expected-named-closing-tag-but-got-eof",{name:t}),e.popElement()),this.anythingElse(),e.insertionMode.processEOF()},t.inHead.processCharacters=function(t){var r=t.takeLeadingWhitespace();r&&e.insertText(r),t.length&&(this.anythingElse(),e.insertionMode.processCharacters(t))},t.inHead.startTagHtml=function(e,r){t.inBody.processStartTag(e,r)},t.inHead.startTagHead=function(t,r){e.parseError("two-heads-are-not-better-than-one")},t.inHead.startTagTitle=function(t,r){e.processGenericRCDATAStartTag(t,r)},t.inHead.startTagNoScript=function(t,r){if(e.scriptingEnabled)return e.processGenericRawTextStartTag(t,r);e.insertElement(t,r),e.setInsertionMode("inHeadNoscript")},t.inHead.startTagNoFramesStyle=function(t,r){e.processGenericRawTextStartTag(t,r)},t.inHead.startTagScript=function(t,r){e.insertElement(t,r),e.tokenizer.setState(i.SCRIPT_DATA),e.originalInsertionMode=e.insertionModeName,e.setInsertionMode("text")},t.inHead.startTagBaseBasefontBgsoundLink=function(t,r){e.insertSelfClosingElement(t,r)},t.inHead.startTagMeta=function(t,r){e.insertSelfClosingElement(t,r)},t.inHead.startTagOther=function(t,r,n){this.anythingElse(),e.insertionMode.processStartTag(t,r,n)},t.inHead.endTagHead=function(t){"head"==e.openElements.item(e.openElements.length-1).localName?e.openElements.pop():e.parseError("unexpected-end-tag",{name:"head"}),e.setInsertionMode("afterHead")},t.inHead.endTagHtmlBodyBr=function(t){this.anythingElse(),e.insertionMode.processEndTag(t)},t.inHead.endTagOther=function(t){e.parseError("unexpected-end-tag",{name:t})},t.inHead.anythingElse=function(){this.endTagHead("head")},t.afterHead=Object.create(t.base),t.afterHead.start_tag_handlers={html:"startTagHtml",head:"startTagHead",body:"startTagBody",frameset:"startTagFrameset",base:"startTagFromHead",link:"startTagFromHead",meta:"startTagFromHead",script:"startTagFromHead",style:"startTagFromHead",title:"startTagFromHead","-default":"startTagOther"},t.afterHead.end_tag_handlers={body:"endTagBodyHtmlBr",html:"endTagBodyHtmlBr",br:"endTagBodyHtmlBr","-default":"endTagOther"},t.afterHead.processEOF=function(){this.anythingElse(),e.insertionMode.processEOF()},t.afterHead.processCharacters=function(t){var r=t.takeLeadingWhitespace();r&&e.insertText(r),t.length&&(this.anythingElse(),e.insertionMode.processCharacters(t))},t.afterHead.startTagHtml=function(e,r){t.inBody.processStartTag(e,r)},t.afterHead.startTagBody=function(t,r){e.framesetOk=!1,e.insertBodyElement(r),e.setInsertionMode("inBody")},t.afterHead.startTagFrameset=function(t,r){e.insertElement(t,r),e.setInsertionMode("inFrameset")},t.afterHead.startTagFromHead=function(r,n,a){e.parseError("unexpected-start-tag-out-of-my-head",{name:r}),e.openElements.push(e.head),t.inHead.processStartTag(r,n,a),e.openElements.remove(e.head)},t.afterHead.startTagHead=function(t,r,n){e.parseError("unexpected-start-tag",{name:t})},t.afterHead.startTagOther=function(t,r,n){this.anythingElse(),e.insertionMode.processStartTag(t,r,n)},t.afterHead.endTagBodyHtmlBr=function(t){this.anythingElse(),e.insertionMode.processEndTag(t)},t.afterHead.endTagOther=function(t){e.parseError("unexpected-end-tag",{name:t})},t.afterHead.anythingElse=function(){e.insertBodyElement([]),e.setInsertionMode("inBody"),e.framesetOk=!0},t.inBody=Object.create(t.base),t.inBody.start_tag_handlers={html:"startTagHtml",head:"startTagMisplaced",base:"startTagProcessInHead",basefont:"startTagProcessInHead",bgsound:"startTagProcessInHead",link:"startTagProcessInHead",meta:"startTagProcessInHead",noframes:"startTagProcessInHead",script:"startTagProcessInHead",style:"startTagProcessInHead",title:"startTagProcessInHead",body:"startTagBody",form:"startTagForm",plaintext:"startTagPlaintext",a:"startTagA",button:"startTagButton",xmp:"startTagXmp",table:"startTagTable",hr:"startTagHr",image:"startTagImage",input:"startTagInput",textarea:"startTagTextarea",select:"startTagSelect",isindex:"startTagIsindex",applet:"startTagAppletMarqueeObject",marquee:"startTagAppletMarqueeObject",object:"startTagAppletMarqueeObject",li:"startTagListItem",dd:"startTagListItem",dt:"startTagListItem",address:"startTagCloseP",article:"startTagCloseP",aside:"startTagCloseP",blockquote:"startTagCloseP",center:"startTagCloseP",details:"startTagCloseP",dir:"startTagCloseP",div:"startTagCloseP",dl:"startTagCloseP",fieldset:"startTagCloseP",figcaption:"startTagCloseP",figure:"startTagCloseP",footer:"startTagCloseP",header:"startTagCloseP",hgroup:"startTagCloseP",main:"startTagCloseP",menu:"startTagCloseP",nav:"startTagCloseP",ol:"startTagCloseP",p:"startTagCloseP",section:"startTagCloseP",summary:"startTagCloseP",ul:"startTagCloseP",listing:"startTagPreListing",pre:"startTagPreListing",b:"startTagFormatting",big:"startTagFormatting",code:"startTagFormatting",em:"startTagFormatting",font:"startTagFormatting",i:"startTagFormatting",s:"startTagFormatting",small:"startTagFormatting",strike:"startTagFormatting",strong:"startTagFormatting",tt:"startTagFormatting",u:"startTagFormatting",nobr:"startTagNobr",area:"startTagVoidFormatting",br:"startTagVoidFormatting",embed:"startTagVoidFormatting",img:"startTagVoidFormatting",keygen:"startTagVoidFormatting",wbr:"startTagVoidFormatting",param:"startTagParamSourceTrack",source:"startTagParamSourceTrack",track:"startTagParamSourceTrack",iframe:"startTagIFrame",noembed:"startTagRawText",noscript:"startTagRawText",h1:"startTagHeading",h2:"startTagHeading",h3:"startTagHeading",h4:"startTagHeading",h5:"startTagHeading",h6:"startTagHeading",caption:"startTagMisplaced",col:"startTagMisplaced",colgroup:"startTagMisplaced",frame:"startTagMisplaced",frameset:"startTagFrameset",tbody:"startTagMisplaced",td:"startTagMisplaced",tfoot:"startTagMisplaced",th:"startTagMisplaced",thead:"startTagMisplaced",tr:"startTagMisplaced",option:"startTagOptionOptgroup",optgroup:"startTagOptionOptgroup",math:"startTagMath",svg:"startTagSVG",rt:"startTagRpRt",rp:"startTagRpRt","-default":"startTagOther"},t.inBody.end_tag_handlers={p:"endTagP",body:"endTagBody",html:"endTagHtml",address:"endTagBlock",article:"endTagBlock",aside:"endTagBlock",blockquote:"endTagBlock",button:"endTagBlock",center:"endTagBlock",details:"endTagBlock",dir:"endTagBlock",div:"endTagBlock",dl:"endTagBlock",fieldset:"endTagBlock",figcaption:"endTagBlock",figure:"endTagBlock",footer:"endTagBlock",header:"endTagBlock",hgroup:"endTagBlock",listing:"endTagBlock",main:"endTagBlock",menu:"endTagBlock",nav:"endTagBlock",ol:"endTagBlock",pre:"endTagBlock",section:"endTagBlock",summary:"endTagBlock",ul:"endTagBlock",form:"endTagForm",applet:"endTagAppletMarqueeObject",marquee:"endTagAppletMarqueeObject",object:"endTagAppletMarqueeObject",dd:"endTagListItem",dt:"endTagListItem",li:"endTagListItem",h1:"endTagHeading",h2:"endTagHeading",h3:"endTagHeading",h4:"endTagHeading",h5:"endTagHeading",h6:"endTagHeading",a:"endTagFormatting",b:"endTagFormatting",big:"endTagFormatting",code:"endTagFormatting",em:"endTagFormatting",font:"endTagFormatting",i:"endTagFormatting",nobr:"endTagFormatting",s:"endTagFormatting",small:"endTagFormatting",strike:"endTagFormatting",strong:"endTagFormatting",tt:"endTagFormatting",u:"endTagFormatting",br:"endTagBr","-default":"endTagOther"},t.inBody.processCharacters=function(t){e.shouldSkipLeadingNewline&&(e.shouldSkipLeadingNewline=!1,t.skipAtMostOneLeadingNewline()),e.reconstructActiveFormattingElements();var r=t.takeRemaining();(r=r.replace(/\u0000/g,(function(t,r){return e.parseError("invalid-codepoint"),""})))&&(e.insertText(r),e.framesetOk&&!h(r)&&(e.framesetOk=!1))},t.inBody.startTagHtml=function(t,r){e.parseError("non-html-root"),e.addAttributesToElement(e.openElements.rootNode,r)},t.inBody.startTagProcessInHead=function(e,r){t.inHead.processStartTag(e,r)},t.inBody.startTagBody=function(t,r){e.parseError("unexpected-start-tag",{name:"body"}),1==e.openElements.length||"body"!=e.openElements.item(1).localName?n.ok(e.context):(e.framesetOk=!1,e.addAttributesToElement(e.openElements.bodyElement,r))},t.inBody.startTagFrameset=function(t,r){if(e.parseError("unexpected-start-tag",{name:"frameset"}),1==e.openElements.length||"body"!=e.openElements.item(1).localName)n.ok(e.context);else if(e.framesetOk){for(e.detachFromParent(e.openElements.bodyElement);e.openElements.length>1;)e.openElements.pop();e.insertElement(t,r),e.setInsertionMode("inFrameset")}},t.inBody.startTagCloseP=function(t,r){e.openElements.inButtonScope("p")&&this.endTagP("p"),e.insertElement(t,r)},t.inBody.startTagPreListing=function(t,r){e.openElements.inButtonScope("p")&&this.endTagP("p"),e.insertElement(t,r),e.framesetOk=!1,e.shouldSkipLeadingNewline=!0},t.inBody.startTagForm=function(t,r){e.form?e.parseError("unexpected-start-tag",{name:t}):(e.openElements.inButtonScope("p")&&this.endTagP("p"),e.insertElement(t,r),e.form=e.currentStackItem())},t.inBody.startTagRpRt=function(t,r){e.openElements.inScope("ruby")&&(e.generateImpliedEndTags(),"ruby"!=e.currentStackItem().localName&&e.parseError("unexpected-start-tag",{name:t})),e.insertElement(t,r)},t.inBody.startTagListItem=function(t,r){for(var n={li:["li"],dd:["dd","dt"],dt:["dd","dt"]}[t],a=e.openElements,o=a.length-1;o>=0;o--){var i=a.item(o);if(-1!=n.indexOf(i.localName)){e.insertionMode.processEndTag(i.localName);break}if(i.isSpecial()&&"p"!==i.localName&&"address"!==i.localName&&"div"!==i.localName)break}e.openElements.inButtonScope("p")&&this.endTagP("p"),e.insertElement(t,r),e.framesetOk=!1},t.inBody.startTagPlaintext=function(t,r){e.openElements.inButtonScope("p")&&this.endTagP("p"),e.insertElement(t,r),e.tokenizer.setState(i.PLAINTEXT)},t.inBody.startTagHeading=function(t,r){e.openElements.inButtonScope("p")&&this.endTagP("p"),e.currentStackItem().isNumberedHeader()&&(e.parseError("unexpected-start-tag",{name:t}),e.popElement()),e.insertElement(t,r)},t.inBody.startTagA=function(t,r){var n=e.elementInActiveFormattingElements("a");n&&(e.parseError("unexpected-start-tag-implies-end-tag",{startName:"a",endName:"a"}),e.adoptionAgencyEndTag("a"),e.openElements.contains(n)&&e.openElements.remove(n),e.removeElementFromActiveFormattingElements(n)),e.reconstructActiveFormattingElements(),e.insertFormattingElement(t,r)},t.inBody.startTagFormatting=function(t,r){e.reconstructActiveFormattingElements(),e.insertFormattingElement(t,r)},t.inBody.startTagNobr=function(t,r){e.reconstructActiveFormattingElements(),e.openElements.inScope("nobr")&&(e.parseError("unexpected-start-tag-implies-end-tag",{startName:"nobr",endName:"nobr"}),this.processEndTag("nobr"),e.reconstructActiveFormattingElements()),e.insertFormattingElement(t,r)},t.inBody.startTagButton=function(t,r){e.openElements.inScope("button")?(e.parseError("unexpected-start-tag-implies-end-tag",{startName:"button",endName:"button"}),this.processEndTag("button"),e.insertionMode.processStartTag(t,r)):(e.framesetOk=!1,e.reconstructActiveFormattingElements(),e.insertElement(t,r))},t.inBody.startTagAppletMarqueeObject=function(t,r){e.reconstructActiveFormattingElements(),e.insertElement(t,r),e.activeFormattingElements.push(l),e.framesetOk=!1},t.inBody.endTagAppletMarqueeObject=function(t){e.openElements.inScope(t)?(e.generateImpliedEndTags(),e.currentStackItem().localName!=t&&e.parseError("end-tag-too-early",{name:t}),e.openElements.popUntilPopped(t),e.clearActiveFormattingElements()):e.parseError("unexpected-end-tag",{name:t})},t.inBody.startTagXmp=function(t,r){e.openElements.inButtonScope("p")&&this.processEndTag("p"),e.reconstructActiveFormattingElements(),e.processGenericRawTextStartTag(t,r),e.framesetOk=!1},t.inBody.startTagTable=function(t,r){"quirks"!==e.compatMode&&e.openElements.inButtonScope("p")&&this.processEndTag("p"),e.insertElement(t,r),e.setInsertionMode("inTable"),e.framesetOk=!1},t.inBody.startTagVoidFormatting=function(t,r){e.reconstructActiveFormattingElements(),e.insertSelfClosingElement(t,r),e.framesetOk=!1},t.inBody.startTagParamSourceTrack=function(t,r){e.insertSelfClosingElement(t,r)},t.inBody.startTagHr=function(t,r){e.openElements.inButtonScope("p")&&this.endTagP("p"),e.insertSelfClosingElement(t,r),e.framesetOk=!1},t.inBody.startTagImage=function(t,r){e.parseError("unexpected-start-tag-treated-as",{originalName:"image",newName:"img"}),this.processStartTag("img",r)},t.inBody.startTagInput=function(t,r){var n=e.framesetOk;for(var a in this.startTagVoidFormatting(t,r),r)if("type"==r[a].nodeName){"hidden"==r[a].nodeValue.toLowerCase()&&(e.framesetOk=n);break}},t.inBody.startTagIsindex=function(t,r){if(e.parseError("deprecated-tag",{name:"isindex"}),e.selfClosingFlagAcknowledged=!0,!e.form){var n=[],a=[],o="This is a searchable index. Enter search keywords: ";for(var i in r)switch(r[i].nodeName){case"action":n.push({nodeName:"action",nodeValue:r[i].nodeValue});break;case"prompt":o=r[i].nodeValue;break;case"name":break;default:a.push({nodeName:r[i].nodeName,nodeValue:r[i].nodeValue})}a.push({nodeName:"name",nodeValue:"isindex"}),this.processStartTag("form",n),this.processStartTag("hr"),this.processStartTag("label"),this.processCharacters(new g(o)),this.processStartTag("input",a),this.processEndTag("label"),this.processStartTag("hr"),this.processEndTag("form")}},t.inBody.startTagTextarea=function(t,r){e.insertElement(t,r),e.tokenizer.setState(i.RCDATA),e.originalInsertionMode=e.insertionModeName,e.shouldSkipLeadingNewline=!0,e.framesetOk=!1,e.setInsertionMode("text")},t.inBody.startTagIFrame=function(t,r){e.framesetOk=!1,this.startTagRawText(t,r)},t.inBody.startTagRawText=function(t,r){e.processGenericRawTextStartTag(t,r)},t.inBody.startTagSelect=function(t,r){e.reconstructActiveFormattingElements(),e.insertElement(t,r),e.framesetOk=!1;var n=e.insertionModeName;"inTable"==n||"inCaption"==n||"inColumnGroup"==n||"inTableBody"==n||"inRow"==n||"inCell"==n?e.setInsertionMode("inSelectInTable"):e.setInsertionMode("inSelect")},t.inBody.startTagMisplaced=function(t,r){e.parseError("unexpected-start-tag-ignored",{name:t})},t.inBody.endTagMisplaced=function(t){e.parseError("unexpected-end-tag",{name:t})},t.inBody.endTagBr=function(t){e.parseError("unexpected-end-tag-treated-as",{originalName:"br",newName:"br element"}),e.reconstructActiveFormattingElements(),e.insertElement(t,[]),e.popElement()},t.inBody.startTagOptionOptgroup=function(t,r){"option"==e.currentStackItem().localName&&e.popElement(),e.reconstructActiveFormattingElements(),e.insertElement(t,r)},t.inBody.startTagOther=function(t,r){e.reconstructActiveFormattingElements(),e.insertElement(t,r)},t.inBody.endTagOther=function(t){for(var r,n=e.openElements.length-1;n>0;n--){if((r=e.openElements.item(n)).localName==t){e.generateImpliedEndTags(t),e.currentStackItem().localName!=t&&e.parseError("unexpected-end-tag",{name:t}),e.openElements.remove_openElements_until((function(e){return e===r}));break}if(r.isSpecial()){e.parseError("unexpected-end-tag",{name:t});break}}},t.inBody.startTagMath=function(t,r,n){e.reconstructActiveFormattingElements(),r=e.adjustMathMLAttributes(r),r=e.adjustForeignAttributes(r),e.insertForeignElement(t,r,"http://www.w3.org/1998/Math/MathML",n)},t.inBody.startTagSVG=function(t,r,n){e.reconstructActiveFormattingElements(),r=e.adjustSVGAttributes(r),r=e.adjustForeignAttributes(r),e.insertForeignElement(t,r,"http://www.w3.org/2000/svg",n)},t.inBody.endTagP=function(t){e.openElements.inButtonScope("p")?(e.generateImpliedEndTags("p"),"p"!=e.currentStackItem().localName&&e.parseError("unexpected-implied-end-tag",{name:"p"}),e.openElements.popUntilPopped(t)):(e.parseError("unexpected-end-tag",{name:"p"}),this.startTagCloseP("p",[]),this.endTagP("p"))},t.inBody.endTagBody=function(t){e.openElements.inScope("body")?("body"!=e.currentStackItem().localName&&e.parseError("expected-one-end-tag-but-got-another",{expectedName:e.currentStackItem().localName,gotName:t}),e.setInsertionMode("afterBody")):e.parseError("unexpected-end-tag",{name:t})},t.inBody.endTagHtml=function(t){e.openElements.inScope("body")?("body"!=e.currentStackItem().localName&&e.parseError("expected-one-end-tag-but-got-another",{expectedName:e.currentStackItem().localName,gotName:t}),e.setInsertionMode("afterBody"),e.insertionMode.processEndTag(t)):e.parseError("unexpected-end-tag",{name:t})},t.inBody.endTagBlock=function(t){e.openElements.inScope(t)?(e.generateImpliedEndTags(),e.currentStackItem().localName!=t&&e.parseError("end-tag-too-early",{name:t}),e.openElements.popUntilPopped(t)):e.parseError("unexpected-end-tag",{name:t})},t.inBody.endTagForm=function(t){var r=e.form;e.form=null,r&&e.openElements.inScope(t)?(e.generateImpliedEndTags(),e.currentStackItem()!=r&&e.parseError("end-tag-too-early-ignored",{name:"form"}),e.openElements.remove(r)):e.parseError("unexpected-end-tag",{name:t})},t.inBody.endTagListItem=function(t){e.openElements.inListItemScope(t)?(e.generateImpliedEndTags(t),e.currentStackItem().localName!=t&&e.parseError("end-tag-too-early",{name:t}),e.openElements.popUntilPopped(t)):e.parseError("unexpected-end-tag",{name:t})},t.inBody.endTagHeading=function(t){e.openElements.hasNumberedHeaderElementInScope()?(e.generateImpliedEndTags(),e.currentStackItem().localName!=t&&e.parseError("end-tag-too-early",{name:t}),e.openElements.remove_openElements_until((function(e){return e.isNumberedHeader()}))):e.parseError("unexpected-end-tag",{name:t})},t.inBody.endTagFormatting=function(t,r){e.adoptionAgencyEndTag(t)||this.endTagOther(t,r)},t.inCaption=Object.create(t.base),t.inCaption.start_tag_handlers={html:"startTagHtml",caption:"startTagTableElement",col:"startTagTableElement",colgroup:"startTagTableElement",tbody:"startTagTableElement",td:"startTagTableElement",tfoot:"startTagTableElement",thead:"startTagTableElement",tr:"startTagTableElement","-default":"startTagOther"},t.inCaption.end_tag_handlers={caption:"endTagCaption",table:"endTagTable",body:"endTagIgnore",col:"endTagIgnore",colgroup:"endTagIgnore",html:"endTagIgnore",tbody:"endTagIgnore",td:"endTagIgnore",tfood:"endTagIgnore",thead:"endTagIgnore",tr:"endTagIgnore","-default":"endTagOther"},t.inCaption.processCharacters=function(e){t.inBody.processCharacters(e)},t.inCaption.startTagTableElement=function(t,r){e.parseError("unexpected-end-tag",{name:t});var n=!e.openElements.inTableScope("caption");e.insertionMode.processEndTag("caption"),n||e.insertionMode.processStartTag(t,r)},t.inCaption.startTagOther=function(e,r,n){t.inBody.processStartTag(e,r,n)},t.inCaption.endTagCaption=function(t){e.openElements.inTableScope("caption")?(e.generateImpliedEndTags(),"caption"!=e.currentStackItem().localName&&e.parseError("expected-one-end-tag-but-got-another",{gotName:"caption",expectedName:e.currentStackItem().localName}),e.openElements.popUntilPopped("caption"),e.clearActiveFormattingElements(),e.setInsertionMode("inTable")):(n.ok(e.context),e.parseError("unexpected-end-tag",{name:t}))},t.inCaption.endTagTable=function(t){e.parseError("unexpected-end-table-in-caption");var r=!e.openElements.inTableScope("caption");e.insertionMode.processEndTag("caption"),r||e.insertionMode.processEndTag(t)},t.inCaption.endTagIgnore=function(t){e.parseError("unexpected-end-tag",{name:t})},t.inCaption.endTagOther=function(e){t.inBody.processEndTag(e)},t.inCell=Object.create(t.base),t.inCell.start_tag_handlers={html:"startTagHtml",caption:"startTagTableOther",col:"startTagTableOther",colgroup:"startTagTableOther",tbody:"startTagTableOther",td:"startTagTableOther",tfoot:"startTagTableOther",th:"startTagTableOther",thead:"startTagTableOther",tr:"startTagTableOther","-default":"startTagOther"},t.inCell.end_tag_handlers={td:"endTagTableCell",th:"endTagTableCell",body:"endTagIgnore",caption:"endTagIgnore",col:"endTagIgnore",colgroup:"endTagIgnore",html:"endTagIgnore",table:"endTagImply",tbody:"endTagImply",tfoot:"endTagImply",thead:"endTagImply",tr:"endTagImply","-default":"endTagOther"},t.inCell.processCharacters=function(e){t.inBody.processCharacters(e)},t.inCell.startTagTableOther=function(t,r,n){e.openElements.inTableScope("td")||e.openElements.inTableScope("th")?(this.closeCell(),e.insertionMode.processStartTag(t,r,n)):e.parseError("unexpected-start-tag",{name:t})},t.inCell.startTagOther=function(e,r,n){t.inBody.processStartTag(e,r,n)},t.inCell.endTagTableCell=function(t){e.openElements.inTableScope(t)?(e.generateImpliedEndTags(t),e.currentStackItem().localName!=t.toLowerCase()?(e.parseError("unexpected-cell-end-tag",{name:t}),e.openElements.popUntilPopped(t)):e.popElement(),e.clearActiveFormattingElements(),e.setInsertionMode("inRow")):e.parseError("unexpected-end-tag",{name:t})},t.inCell.endTagIgnore=function(t){e.parseError("unexpected-end-tag",{name:t})},t.inCell.endTagImply=function(t){e.openElements.inTableScope(t)?(this.closeCell(),e.insertionMode.processEndTag(t)):e.parseError("unexpected-end-tag",{name:t})},t.inCell.endTagOther=function(e){t.inBody.processEndTag(e)},t.inCell.closeCell=function(){e.openElements.inTableScope("td")?this.endTagTableCell("td"):e.openElements.inTableScope("th")&&this.endTagTableCell("th")},t.inColumnGroup=Object.create(t.base),t.inColumnGroup.start_tag_handlers={html:"startTagHtml",col:"startTagCol","-default":"startTagOther"},t.inColumnGroup.end_tag_handlers={colgroup:"endTagColgroup",col:"endTagCol","-default":"endTagOther"},t.inColumnGroup.ignoreEndTagColgroup=function(){return"html"==e.currentStackItem().localName},t.inColumnGroup.processCharacters=function(t){var r=t.takeLeadingWhitespace();if(r&&e.insertText(r),t.length){var n=this.ignoreEndTagColgroup();this.endTagColgroup("colgroup"),n||e.insertionMode.processCharacters(t)}},t.inColumnGroup.startTagCol=function(t,r){e.insertSelfClosingElement(t,r)},t.inColumnGroup.startTagOther=function(t,r,n){var a=this.ignoreEndTagColgroup();this.endTagColgroup("colgroup"),a||e.insertionMode.processStartTag(t,r,n)},t.inColumnGroup.endTagColgroup=function(t){this.ignoreEndTagColgroup()?(n.ok(e.context),e.parseError("unexpected-end-tag",{name:t})):(e.popElement(),e.setInsertionMode("inTable"))},t.inColumnGroup.endTagCol=function(t){e.parseError("no-end-tag",{name:"col"})},t.inColumnGroup.endTagOther=function(t){var r=this.ignoreEndTagColgroup();this.endTagColgroup("colgroup"),r||e.insertionMode.processEndTag(t)},t.inForeignContent=Object.create(t.base),t.inForeignContent.processStartTag=function(t,r,n){if(-1!=["b","big","blockquote","body","br","center","code","dd","div","dl","dt","em","embed","h1","h2","h3","h4","h5","h6","head","hr","i","img","li","listing","menu","meta","nobr","ol","p","pre","ruby","s","small","span","strong","strike","sub","sup","table","tt","u","ul","var"].indexOf(t)||"font"==t&&r.some((function(e){return["color","face","size"].indexOf(e.nodeName)>=0}))){for(e.parseError("unexpected-html-element-in-foreign-content",{name:t});e.currentStackItem().isForeign()&&!e.currentStackItem().isHtmlIntegrationPoint()&&!e.currentStackItem().isMathMLTextIntegrationPoint();)e.openElements.pop();e.insertionMode.processStartTag(t,r,n)}else"http://www.w3.org/1998/Math/MathML"==e.currentStackItem().namespaceURI&&(r=e.adjustMathMLAttributes(r)),"http://www.w3.org/2000/svg"==e.currentStackItem().namespaceURI&&(t=e.adjustSVGTagNameCase(t),r=e.adjustSVGAttributes(r)),r=e.adjustForeignAttributes(r),e.insertForeignElement(t,r,e.currentStackItem().namespaceURI,n)},t.inForeignContent.processEndTag=function(t){var r=e.currentStackItem(),n=e.openElements.length-1;for(r.localName.toLowerCase()!=t&&e.parseError("unexpected-end-tag",{name:t});0!==n;){if(r.localName.toLowerCase()==t){for(;e.openElements.pop()!=r;);break}if(n-=1,!(r=e.openElements.item(n)).isForeign()){e.insertionMode.processEndTag(t);break}}},t.inForeignContent.processCharacters=function(t){var r=t.takeRemaining();r=r.replace(/\u0000/g,(function(t,r){return e.parseError("invalid-codepoint"),"�"})),e.framesetOk&&!h(r)&&(e.framesetOk=!1),e.insertText(r)},t.inHeadNoscript=Object.create(t.base),t.inHeadNoscript.start_tag_handlers={html:"startTagHtml",basefont:"startTagBasefontBgsoundLinkMetaNoframesStyle",bgsound:"startTagBasefontBgsoundLinkMetaNoframesStyle",link:"startTagBasefontBgsoundLinkMetaNoframesStyle",meta:"startTagBasefontBgsoundLinkMetaNoframesStyle",noframes:"startTagBasefontBgsoundLinkMetaNoframesStyle",style:"startTagBasefontBgsoundLinkMetaNoframesStyle",head:"startTagHeadNoscript",noscript:"startTagHeadNoscript","-default":"startTagOther"},t.inHeadNoscript.end_tag_handlers={noscript:"endTagNoscript",br:"endTagBr","-default":"endTagOther"},t.inHeadNoscript.processCharacters=function(t){var r=t.takeLeadingWhitespace();r&&e.insertText(r),t.length&&(e.parseError("unexpected-char-in-frameset"),this.anythingElse(),e.insertionMode.processCharacters(t))},t.inHeadNoscript.processComment=function(e){t.inHead.processComment(e)},t.inHeadNoscript.startTagBasefontBgsoundLinkMetaNoframesStyle=function(e,r){t.inHead.processStartTag(e,r)},t.inHeadNoscript.startTagHeadNoscript=function(t,r){e.parseError("unexpected-start-tag-in-frameset",{name:t})},t.inHeadNoscript.startTagOther=function(t,r){e.parseError("unexpected-start-tag-in-frameset",{name:t}),this.anythingElse(),e.insertionMode.processStartTag(t,r)},t.inHeadNoscript.endTagBr=function(t,r){e.parseError("unexpected-end-tag-in-frameset",{name:t}),this.anythingElse(),e.insertionMode.processEndTag(t,r)},t.inHeadNoscript.endTagNoscript=function(t,r){e.popElement(),e.setInsertionMode("inHead")},t.inHeadNoscript.endTagOther=function(t,r){e.parseError("unexpected-end-tag-in-frameset",{name:t})},t.inHeadNoscript.anythingElse=function(){e.popElement(),e.setInsertionMode("inHead")},t.inFrameset=Object.create(t.base),t.inFrameset.start_tag_handlers={html:"startTagHtml",frameset:"startTagFrameset",frame:"startTagFrame",noframes:"startTagNoframes","-default":"startTagOther"},t.inFrameset.end_tag_handlers={frameset:"endTagFrameset",noframes:"endTagNoframes","-default":"endTagOther"},t.inFrameset.processCharacters=function(t){e.parseError("unexpected-char-in-frameset")},t.inFrameset.startTagFrameset=function(t,r){e.insertElement(t,r)},t.inFrameset.startTagFrame=function(t,r){e.insertSelfClosingElement(t,r)},t.inFrameset.startTagNoframes=function(e,r){t.inBody.processStartTag(e,r)},t.inFrameset.startTagOther=function(t,r){e.parseError("unexpected-start-tag-in-frameset",{name:t})},t.inFrameset.endTagFrameset=function(t,r){"html"==e.currentStackItem().localName?e.parseError("unexpected-frameset-in-frameset-innerhtml"):e.popElement(),e.context||"frameset"==e.currentStackItem().localName||e.setInsertionMode("afterFrameset")},t.inFrameset.endTagNoframes=function(e){t.inBody.processEndTag(e)},t.inFrameset.endTagOther=function(t){e.parseError("unexpected-end-tag-in-frameset",{name:t})},t.inTable=Object.create(t.base),t.inTable.start_tag_handlers={html:"startTagHtml",caption:"startTagCaption",colgroup:"startTagColgroup",col:"startTagCol",table:"startTagTable",tbody:"startTagRowGroup",tfoot:"startTagRowGroup",thead:"startTagRowGroup",td:"startTagImplyTbody",th:"startTagImplyTbody",tr:"startTagImplyTbody",style:"startTagStyleScript",script:"startTagStyleScript",input:"startTagInput",form:"startTagForm","-default":"startTagOther"},t.inTable.end_tag_handlers={table:"endTagTable",body:"endTagIgnore",caption:"endTagIgnore",col:"endTagIgnore",colgroup:"endTagIgnore",html:"endTagIgnore",tbody:"endTagIgnore",td:"endTagIgnore",tfoot:"endTagIgnore",th:"endTagIgnore",thead:"endTagIgnore",tr:"endTagIgnore","-default":"endTagOther"},t.inTable.processCharacters=function(r){if(e.currentStackItem().isFosterParenting()){var n=e.insertionModeName;e.setInsertionMode("inTableText"),e.originalInsertionMode=n,e.insertionMode.processCharacters(r)}else e.redirectAttachToFosterParent=!0,t.inBody.processCharacters(r),e.redirectAttachToFosterParent=!1},t.inTable.startTagCaption=function(t,r){e.openElements.popUntilTableScopeMarker(),e.activeFormattingElements.push(l),e.insertElement(t,r),e.setInsertionMode("inCaption")},t.inTable.startTagColgroup=function(t,r){e.openElements.popUntilTableScopeMarker(),e.insertElement(t,r),e.setInsertionMode("inColumnGroup")},t.inTable.startTagCol=function(t,r){this.startTagColgroup("colgroup",[]),e.insertionMode.processStartTag(t,r)},t.inTable.startTagRowGroup=function(t,r){e.openElements.popUntilTableScopeMarker(),e.insertElement(t,r),e.setInsertionMode("inTableBody")},t.inTable.startTagImplyTbody=function(t,r){this.startTagRowGroup("tbody",[]),e.insertionMode.processStartTag(t,r)},t.inTable.startTagTable=function(t,r){e.parseError("unexpected-start-tag-implies-end-tag",{startName:"table",endName:"table"}),e.insertionMode.processEndTag("table"),e.context||e.insertionMode.processStartTag(t,r)},t.inTable.startTagStyleScript=function(e,r){t.inHead.processStartTag(e,r)},t.inTable.startTagInput=function(t,r){for(var n in r)if("type"==r[n].nodeName.toLowerCase()){if("hidden"==r[n].nodeValue.toLowerCase())return e.parseError("unexpected-hidden-input-in-table"),e.insertElement(t,r),void e.openElements.pop();break}this.startTagOther(t,r)},t.inTable.startTagForm=function(t,r){e.parseError("unexpected-form-in-table"),e.form||(e.insertElement(t,r),e.form=e.currentStackItem(),e.openElements.pop())},t.inTable.startTagOther=function(r,n,a){e.parseError("unexpected-start-tag-implies-table-voodoo",{name:r}),e.redirectAttachToFosterParent=!0,t.inBody.processStartTag(r,n,a),e.redirectAttachToFosterParent=!1},t.inTable.endTagTable=function(t){e.openElements.inTableScope(t)?(e.generateImpliedEndTags(),e.currentStackItem().localName!=t&&e.parseError("end-tag-too-early-named",{gotName:"table",expectedName:e.currentStackItem().localName}),e.openElements.popUntilPopped("table"),e.resetInsertionMode()):(n.ok(e.context),e.parseError("unexpected-end-tag",{name:t}))},t.inTable.endTagIgnore=function(t){e.parseError("unexpected-end-tag",{name:t})},t.inTable.endTagOther=function(r){e.parseError("unexpected-end-tag-implies-table-voodoo",{name:r}),e.redirectAttachToFosterParent=!0,t.inBody.processEndTag(r),e.redirectAttachToFosterParent=!1},t.inTableText=Object.create(t.base),t.inTableText.flushCharacters=function(){var t=e.pendingTableCharacters.join("");u(t)?e.insertText(t):(e.redirectAttachToFosterParent=!0,e.reconstructActiveFormattingElements(),e.insertText(t),e.framesetOk=!1,e.redirectAttachToFosterParent=!1),e.pendingTableCharacters=[]},t.inTableText.processComment=function(t){this.flushCharacters(),e.setInsertionMode(e.originalInsertionMode),e.insertionMode.processComment(t)},t.inTableText.processEOF=function(t){this.flushCharacters(),e.setInsertionMode(e.originalInsertionMode),e.insertionMode.processEOF()},t.inTableText.processCharacters=function(t){var r=t.takeRemaining();(r=r.replace(/\u0000/g,(function(t,r){return e.parseError("invalid-codepoint"),""})))&&e.pendingTableCharacters.push(r)},t.inTableText.processStartTag=function(t,r,n){this.flushCharacters(),e.setInsertionMode(e.originalInsertionMode),e.insertionMode.processStartTag(t,r,n)},t.inTableText.processEndTag=function(t,r){this.flushCharacters(),e.setInsertionMode(e.originalInsertionMode),e.insertionMode.processEndTag(t,r)},t.inTableBody=Object.create(t.base),t.inTableBody.start_tag_handlers={html:"startTagHtml",tr:"startTagTr",td:"startTagTableCell",th:"startTagTableCell",caption:"startTagTableOther",col:"startTagTableOther",colgroup:"startTagTableOther",tbody:"startTagTableOther",tfoot:"startTagTableOther",thead:"startTagTableOther","-default":"startTagOther"},t.inTableBody.end_tag_handlers={table:"endTagTable",tbody:"endTagTableRowGroup",tfoot:"endTagTableRowGroup",thead:"endTagTableRowGroup",body:"endTagIgnore",caption:"endTagIgnore",col:"endTagIgnore",colgroup:"endTagIgnore",html:"endTagIgnore",td:"endTagIgnore",th:"endTagIgnore",tr:"endTagIgnore","-default":"endTagOther"},t.inTableBody.processCharacters=function(e){t.inTable.processCharacters(e)},t.inTableBody.startTagTr=function(t,r){e.openElements.popUntilTableBodyScopeMarker(),e.insertElement(t,r),e.setInsertionMode("inRow")},t.inTableBody.startTagTableCell=function(t,r){e.parseError("unexpected-cell-in-table-body",{name:t}),this.startTagTr("tr",[]),e.insertionMode.processStartTag(t,r)},t.inTableBody.startTagTableOther=function(t,r){e.openElements.inTableScope("tbody")||e.openElements.inTableScope("thead")||e.openElements.inTableScope("tfoot")?(e.openElements.popUntilTableBodyScopeMarker(),this.endTagTableRowGroup(e.currentStackItem().localName),e.insertionMode.processStartTag(t,r)):e.parseError("unexpected-start-tag",{name:t})},t.inTableBody.startTagOther=function(e,r){t.inTable.processStartTag(e,r)},t.inTableBody.endTagTableRowGroup=function(t){e.openElements.inTableScope(t)?(e.openElements.popUntilTableBodyScopeMarker(),e.popElement(),e.setInsertionMode("inTable")):e.parseError("unexpected-end-tag-in-table-body",{name:t})},t.inTableBody.endTagTable=function(t){e.openElements.inTableScope("tbody")||e.openElements.inTableScope("thead")||e.openElements.inTableScope("tfoot")?(e.openElements.popUntilTableBodyScopeMarker(),this.endTagTableRowGroup(e.currentStackItem().localName),e.insertionMode.processEndTag(t)):e.parseError("unexpected-end-tag",{name:t})},t.inTableBody.endTagIgnore=function(t){e.parseError("unexpected-end-tag-in-table-body",{name:t})},t.inTableBody.endTagOther=function(e){t.inTable.processEndTag(e)},t.inSelect=Object.create(t.base),t.inSelect.start_tag_handlers={html:"startTagHtml",option:"startTagOption",optgroup:"startTagOptgroup",select:"startTagSelect",input:"startTagInput",keygen:"startTagInput",textarea:"startTagInput",script:"startTagScript","-default":"startTagOther"},t.inSelect.end_tag_handlers={option:"endTagOption",optgroup:"endTagOptgroup",select:"endTagSelect",caption:"endTagTableElements",table:"endTagTableElements",tbody:"endTagTableElements",tfoot:"endTagTableElements",thead:"endTagTableElements",tr:"endTagTableElements",td:"endTagTableElements",th:"endTagTableElements","-default":"endTagOther"},t.inSelect.processCharacters=function(t){var r=t.takeRemaining();(r=r.replace(/\u0000/g,(function(t,r){return e.parseError("invalid-codepoint"),""})))&&e.insertText(r)},t.inSelect.startTagOption=function(t,r){"option"==e.currentStackItem().localName&&e.popElement(),e.insertElement(t,r)},t.inSelect.startTagOptgroup=function(t,r){"option"==e.currentStackItem().localName&&e.popElement(),"optgroup"==e.currentStackItem().localName&&e.popElement(),e.insertElement(t,r)},t.inSelect.endTagOption=function(t){"option"===e.currentStackItem().localName?e.popElement():e.parseError("unexpected-end-tag-in-select",{name:t})},t.inSelect.endTagOptgroup=function(t){"option"==e.currentStackItem().localName&&"optgroup"==e.openElements.item(e.openElements.length-2).localName&&e.popElement(),"optgroup"==e.currentStackItem().localName?e.popElement():e.parseError("unexpected-end-tag-in-select",{name:"optgroup"})},t.inSelect.startTagSelect=function(t){e.parseError("unexpected-select-in-select"),this.endTagSelect("select")},t.inSelect.endTagSelect=function(t){e.openElements.inTableScope("select")?(e.openElements.popUntilPopped("select"),e.resetInsertionMode()):e.parseError("unexpected-end-tag",{name:t})},t.inSelect.startTagInput=function(t,r){e.parseError("unexpected-input-in-select"),e.openElements.inSelectScope("select")&&(this.endTagSelect("select"),e.insertionMode.processStartTag(t,r))},t.inSelect.startTagScript=function(e,r){t.inHead.processStartTag(e,r)},t.inSelect.endTagTableElements=function(t){e.parseError("unexpected-end-tag-in-select",{name:t}),e.openElements.inTableScope(t)&&(this.endTagSelect("select"),e.insertionMode.processEndTag(t))},t.inSelect.startTagOther=function(t,r){e.parseError("unexpected-start-tag-in-select",{name:t})},t.inSelect.endTagOther=function(t){e.parseError("unexpected-end-tag-in-select",{name:t})},t.inSelectInTable=Object.create(t.base),t.inSelectInTable.start_tag_handlers={caption:"startTagTable",table:"startTagTable",tbody:"startTagTable",tfoot:"startTagTable",thead:"startTagTable",tr:"startTagTable",td:"startTagTable",th:"startTagTable","-default":"startTagOther"},t.inSelectInTable.end_tag_handlers={caption:"endTagTable",table:"endTagTable",tbody:"endTagTable",tfoot:"endTagTable",thead:"endTagTable",tr:"endTagTable",td:"endTagTable",th:"endTagTable","-default":"endTagOther"},t.inSelectInTable.processCharacters=function(e){t.inSelect.processCharacters(e)},t.inSelectInTable.startTagTable=function(t,r){e.parseError("unexpected-table-element-start-tag-in-select-in-table",{name:t}),this.endTagOther("select"),e.insertionMode.processStartTag(t,r)},t.inSelectInTable.startTagOther=function(e,r,n){t.inSelect.processStartTag(e,r,n)},t.inSelectInTable.endTagTable=function(t){e.parseError("unexpected-table-element-end-tag-in-select-in-table",{name:t}),e.openElements.inTableScope(t)&&(this.endTagOther("select"),e.insertionMode.processEndTag(t))},t.inSelectInTable.endTagOther=function(e){t.inSelect.processEndTag(e)},t.inRow=Object.create(t.base),t.inRow.start_tag_handlers={html:"startTagHtml",td:"startTagTableCell",th:"startTagTableCell",caption:"startTagTableOther",col:"startTagTableOther",colgroup:"startTagTableOther",tbody:"startTagTableOther",tfoot:"startTagTableOther",thead:"startTagTableOther",tr:"startTagTableOther","-default":"startTagOther"},t.inRow.end_tag_handlers={tr:"endTagTr",table:"endTagTable",tbody:"endTagTableRowGroup",tfoot:"endTagTableRowGroup",thead:"endTagTableRowGroup",body:"endTagIgnore",caption:"endTagIgnore",col:"endTagIgnore",colgroup:"endTagIgnore",html:"endTagIgnore",td:"endTagIgnore",th:"endTagIgnore","-default":"endTagOther"},t.inRow.processCharacters=function(e){t.inTable.processCharacters(e)},t.inRow.startTagTableCell=function(t,r){e.openElements.popUntilTableRowScopeMarker(),e.insertElement(t,r),e.setInsertionMode("inCell"),e.activeFormattingElements.push(l)},t.inRow.startTagTableOther=function(t,r){var n=this.ignoreEndTagTr();this.endTagTr("tr"),n||e.insertionMode.processStartTag(t,r)},t.inRow.startTagOther=function(e,r,n){t.inTable.processStartTag(e,r,n)},t.inRow.endTagTr=function(t){this.ignoreEndTagTr()?(n.ok(e.context),e.parseError("unexpected-end-tag",{name:t})):(e.openElements.popUntilTableRowScopeMarker(),e.popElement(),e.setInsertionMode("inTableBody"))},t.inRow.endTagTable=function(t){var r=this.ignoreEndTagTr();this.endTagTr("tr"),r||e.insertionMode.processEndTag(t)},t.inRow.endTagTableRowGroup=function(t){e.openElements.inTableScope(t)?(this.endTagTr("tr"),e.insertionMode.processEndTag(t)):e.parseError("unexpected-end-tag",{name:t})},t.inRow.endTagIgnore=function(t){e.parseError("unexpected-end-tag-in-table-row",{name:t})},t.inRow.endTagOther=function(e){t.inTable.processEndTag(e)},t.inRow.ignoreEndTagTr=function(){return!e.openElements.inTableScope("tr")},t.afterAfterFrameset=Object.create(t.base),t.afterAfterFrameset.start_tag_handlers={html:"startTagHtml",noframes:"startTagNoFrames","-default":"startTagOther"},t.afterAfterFrameset.processEOF=function(){},t.afterAfterFrameset.processComment=function(t){e.insertComment(t,e.document)},t.afterAfterFrameset.processCharacters=function(t){for(var r=t.takeRemaining(),n="",a=0;a<r.length;a++){var o=r[a];d(o)&&(n+=o)}n&&(e.reconstructActiveFormattingElements(),e.insertText(n)),n.length<r.length&&e.parseError("expected-eof-but-got-char")},t.afterAfterFrameset.startTagNoFrames=function(e,r){t.inHead.processStartTag(e,r)},t.afterAfterFrameset.startTagOther=function(t,r,n){e.parseError("expected-eof-but-got-start-tag",{name:t})},t.afterAfterFrameset.processEndTag=function(t,r){e.parseError("expected-eof-but-got-end-tag",{name:t})},t.text=Object.create(t.base),t.text.start_tag_handlers={"-default":"startTagOther"},t.text.end_tag_handlers={script:"endTagScript","-default":"endTagOther"},t.text.processCharacters=function(t){e.shouldSkipLeadingNewline&&(e.shouldSkipLeadingNewline=!1,t.skipAtMostOneLeadingNewline());var r=t.takeRemaining();r&&e.insertText(r)},t.text.processEOF=function(){e.parseError("expected-named-closing-tag-but-got-eof",{name:e.currentStackItem().localName}),e.openElements.pop(),e.setInsertionMode(e.originalInsertionMode),e.insertionMode.processEOF()},t.text.startTagOther=function(e){throw"Tried to process start tag "+e+" in RCDATA/RAWTEXT mode"},t.text.endTagScript=function(t){var r=e.openElements.pop();n.ok("script"==r.localName),e.setInsertionMode(e.originalInsertionMode)},t.text.endTagOther=function(t){e.openElements.pop(),e.setInsertionMode(e.originalInsertionMode)}}g.prototype.skipAtMostOneLeadingNewline=function(){"\n"===this.characters[this.current]&&this.current++},g.prototype.skipLeadingWhitespace=function(){for(;d(this.characters[this.current]);)if(++this.current==this.end)return},g.prototype.skipLeadingNonWhitespace=function(){for(;!d(this.characters[this.current]);)if(++this.current==this.end)return},g.prototype.takeRemaining=function(){return this.characters.substring(this.current)},g.prototype.takeLeadingWhitespace=function(){var e=this.current;return this.skipLeadingWhitespace(),e===this.current?"":this.characters.substring(e,this.current-e)},Object.defineProperty(g.prototype,"length",{get:function(){return this.end-this.current}}),f.prototype.setInsertionMode=function(e){this.insertionMode=this.insertionModes[e],this.insertionModeName=e},f.prototype.adoptionAgencyEndTag=function(e){var t;function r(e){return e===t}for(var n=0;n++<8;){if(!(t=this.elementInActiveFormattingElements(e))||this.openElements.contains(t)&&!this.openElements.inScope(t.localName))return this.parseError("adoption-agency-1.1",{name:e}),!1;if(!this.openElements.contains(t))return this.parseError("adoption-agency-1.2",{name:e}),this.removeElementFromActiveFormattingElements(t),!0;this.openElements.inScope(t.localName)||this.parseError("adoption-agency-4.4",{name:e}),t!=this.currentStackItem()&&this.parseError("adoption-agency-1.3",{name:e});var a=this.openElements.furthestBlockForFormattingElement(t.node);if(!a)return this.openElements.remove_openElements_until(r),this.removeElementFromActiveFormattingElements(t),!0;for(var o=this.openElements.elements.indexOf(t),i=this.openElements.item(o-1),s=this.activeFormattingElements.indexOf(t),l=a,d=a,p=this.openElements.elements.indexOf(l),u=0;u++<3;)if(p-=1,l=this.openElements.item(p),this.activeFormattingElements.indexOf(l)<0)this.openElements.elements.splice(p,1);else{if(l==t)break;d==a&&(s=this.activeFormattingElements.indexOf(l)+1);var h=this.createElement(l.namespaceURI,l.localName,l.attributes),m=new c(l.namespaceURI,l.localName,l.attributes,h);this.activeFormattingElements[this.activeFormattingElements.indexOf(l)]=m,this.openElements.elements[this.openElements.elements.indexOf(l)]=m,l=m,this.detachFromParent(d.node),this.attachNode(d.node,l.node),d=l}this.detachFromParent(d.node),i.isFosterParenting()?this.insertIntoFosterParent(d.node):this.attachNode(d.node,i.node);h=this.createElement("http://www.w3.org/1999/xhtml",t.localName,t.attributes);var g=new c(t.namespaceURI,t.localName,t.attributes,h);this.reparentChildren(a.node,h),this.attachNode(h,a.node),this.removeElementFromActiveFormattingElements(t),this.activeFormattingElements.splice(Math.min(s,this.activeFormattingElements.length),0,g),this.openElements.remove(t),this.openElements.elements.splice(this.openElements.elements.indexOf(a)+1,0,g)}return!0},f.prototype.start=function(){throw"Not mplemented"},f.prototype.startTokenization=function(e){if(this.tokenizer=e,this.compatMode="no quirks",this.originalInsertionMode="initial",this.framesetOk=!0,this.openElements=new s,this.activeFormattingElements=[],this.start(),this.context){switch(this.context){case"title":case"textarea":this.tokenizer.setState(i.RCDATA);break;case"style":case"xmp":case"iframe":case"noembed":case"noframes":this.tokenizer.setState(i.RAWTEXT);break;case"script":this.tokenizer.setState(i.SCRIPT_DATA);break;case"noscript":this.scriptingEnabled&&this.tokenizer.setState(i.RAWTEXT);break;case"plaintext":this.tokenizer.setState(i.PLAINTEXT)}this.insertHtmlElement(),"head"===this.context?this.insertHeadElement():this.insertBodyElement(),this.resetInsertionMode()}else this.setInsertionMode("initial")},f.prototype.processToken=function(e){this.selfClosingFlagAcknowledged=!1;var t,r=this.openElements.top||null;switch(t=!r||!r.isForeign()||r.isMathMLTextIntegrationPoint()&&("StartTag"==e.type&&!(e.name in{mglyph:0,malignmark:0})||"Characters"===e.type)||"http://www.w3.org/1998/Math/MathML"==r.namespaceURI&&"annotation-xml"==r.localName&&"StartTag"==e.type&&"svg"==e.name||r.isHtmlIntegrationPoint()&&e.type in{StartTag:0,Characters:0}||"EOF"==e.type?this.insertionMode:this.insertionModes.inForeignContent,e.type){case"Characters":var n=new g(e.data);t.processCharacters(n);break;case"Comment":t.processComment(e.data);break;case"StartTag":t.processStartTag(e.name,e.data,e.selfClosing);break;case"EndTag":t.processEndTag(e.name);break;case"Doctype":t.processDoctype(e.name,e.publicId,e.systemId,e.forceQuirks);break;case"EOF":t.processEOF()}},f.prototype.isCdataSectionAllowed=function(){return this.openElements.length>0&&this.currentStackItem().isForeign()},f.prototype.isSelfClosingFlagAcknowledged=function(){return this.selfClosingFlagAcknowledged},f.prototype.createElement=function(e,t,r){throw new Error("Not implemented")},f.prototype.attachNode=function(e,t){throw new Error("Not implemented")},f.prototype.attachNodeToFosterParent=function(e,t,r){throw new Error("Not implemented")},f.prototype.detachFromParent=function(e){throw new Error("Not implemented")},f.prototype.addAttributesToElement=function(e,t){throw new Error("Not implemented")},f.prototype.insertHtmlElement=function(e){var t=this.createElement("http://www.w3.org/1999/xhtml","html",e);return this.attachNode(t,this.document),this.openElements.pushHtmlElement(new c("http://www.w3.org/1999/xhtml","html",e,t)),t},f.prototype.insertHeadElement=function(e){var t=this.createElement("http://www.w3.org/1999/xhtml","head",e);return this.head=new c("http://www.w3.org/1999/xhtml","head",e,t),this.attachNode(t,this.openElements.top.node),this.openElements.pushHeadElement(this.head),t},f.prototype.insertBodyElement=function(e){var t=this.createElement("http://www.w3.org/1999/xhtml","body",e);return this.attachNode(t,this.openElements.top.node),this.openElements.pushBodyElement(new c("http://www.w3.org/1999/xhtml","body",e,t)),t},f.prototype.insertIntoFosterParent=function(e){var t=this.openElements.findIndex("table"),r=this.openElements.item(t).node;if(0===t)return this.attachNode(e,r);this.attachNodeToFosterParent(e,r,this.openElements.item(t-1).node)},f.prototype.insertElement=function(e,t,r,n){r||(r="http://www.w3.org/1999/xhtml");var a=this.createElement(r,e,t);this.shouldFosterParent()?this.insertIntoFosterParent(a):this.attachNode(a,this.openElements.top.node),n||this.openElements.push(new c(r,e,t,a))},f.prototype.insertFormattingElement=function(e,t){this.insertElement(e,t,"http://www.w3.org/1999/xhtml"),this.appendElementToActiveFormattingElements(this.currentStackItem())},f.prototype.insertSelfClosingElement=function(e,t){this.selfClosingFlagAcknowledged=!0,this.insertElement(e,t,"http://www.w3.org/1999/xhtml",!0)},f.prototype.insertForeignElement=function(e,t,r,n){n&&(this.selfClosingFlagAcknowledged=!0),this.insertElement(e,t,r,n)},f.prototype.insertComment=function(e,t){throw new Error("Not implemented")},f.prototype.insertDoctype=function(e,t,r){throw new Error("Not implemented")},f.prototype.insertText=function(e){throw new Error("Not implemented")},f.prototype.currentStackItem=function(){return this.openElements.top},f.prototype.popElement=function(){return this.openElements.pop()},f.prototype.shouldFosterParent=function(){return this.redirectAttachToFosterParent&&this.currentStackItem().isFosterParenting()},f.prototype.generateImpliedEndTags=function(e){var t=this.openElements.top.localName;-1!=["dd","dt","li","option","optgroup","p","rp","rt"].indexOf(t)&&t!=e&&(this.popElement(),this.generateImpliedEndTags(e))},f.prototype.reconstructActiveFormattingElements=function(){if(0!==this.activeFormattingElements.length){var e=this.activeFormattingElements.length-1,t=this.activeFormattingElements[e];if(t!=l&&!this.openElements.contains(t)){for(;t!=l&&!this.openElements.contains(t)&&(e-=1,t=this.activeFormattingElements[e]););for(;;){e+=1,t=this.activeFormattingElements[e],this.insertElement(t.localName,t.attributes);var r=this.currentStackItem();if(this.activeFormattingElements[e]=r,r==this.activeFormattingElements[this.activeFormattingElements.length-1])break}}}},f.prototype.ensureNoahsArkCondition=function(e){if(!(this.activeFormattingElements.length<3)){for(var t=[],r=e.attributes.length,n=this.activeFormattingElements.length-1;n>=0;n--){if((c=this.activeFormattingElements[n])===l)break;e.localName===c.localName&&e.namespaceURI===c.namespaceURI&&(c.attributes.length==r&&t.push(c))}if(!(t.length<3)){var a=[],o=e.attributes;for(n=0;n<o.length;n++){for(var i=o[n],s=0;s<t.length;s++){var c,d=m(c=t[s],i.nodeName);d&&d.nodeValue===i.nodeValue&&a.push(c)}if(a.length<3)return;t=a,a=[]}for(n=2;n<t.length;n++)this.removeElementFromActiveFormattingElements(t[n])}}},f.prototype.appendElementToActiveFormattingElements=function(e){this.ensureNoahsArkCondition(e),this.activeFormattingElements.push(e)},f.prototype.removeElementFromActiveFormattingElements=function(e){var t=this.activeFormattingElements.indexOf(e);t>=0&&this.activeFormattingElements.splice(t,1)},f.prototype.elementInActiveFormattingElements=function(e){for(var t=this.activeFormattingElements,r=t.length-1;r>=0&&t[r]!=l;r--)if(t[r].localName==e)return t[r];return!1},f.prototype.clearActiveFormattingElements=function(){for(;0!==this.activeFormattingElements.length&&this.activeFormattingElements.pop()!=l;);},f.prototype.reparentChildren=function(e,t){throw new Error("Not implemented")},f.prototype.setFragmentContext=function(e){this.context=e},f.prototype.parseError=function(e,t){if(this.errorHandler){var r=function(e,t){return e.replace(new RegExp("{[0-9a-z-]+}","gi"),(function(e){return t[e.slice(1,-1)]||e}))}(a[e],t);this.errorHandler.error(r,this.tokenizer._inputStream.location(),e)}},f.prototype.resetInsertionMode=function(){for(var e=!1,t=null,r=this.openElements.length-1;r>=0;r--){if(t=this.openElements.item(r),0===r&&(n.ok(this.context),e=!0,t=new c("http://www.w3.org/1999/xhtml",this.context,[],null)),"http://www.w3.org/1999/xhtml"===t.namespaceURI){if("select"===t.localName)return this.setInsertionMode("inSelect");if("td"===t.localName||"th"===t.localName)return this.setInsertionMode("inCell");if("tr"===t.localName)return this.setInsertionMode("inRow");if("tbody"===t.localName||"thead"===t.localName||"tfoot"===t.localName)return this.setInsertionMode("inTableBody");if("caption"===t.localName)return this.setInsertionMode("inCaption");if("colgroup"===t.localName)return this.setInsertionMode("inColumnGroup");if("table"===t.localName)return this.setInsertionMode("inTable");if("head"===t.localName)return this.setInsertionMode("inHead");if("body"===t.localName)return this.setInsertionMode("inBody");if("frameset"===t.localName)return this.setInsertionMode("inFrameset");if("html"===t.localName)return this.openElements.headElement?this.setInsertionMode("afterHead"):this.setInsertionMode("beforeHead")}if(e)return this.setInsertionMode("inBody")}},f.prototype.processGenericRCDATAStartTag=function(e,t){this.insertElement(e,t),this.tokenizer.setState(i.RCDATA),this.originalInsertionMode=this.insertionModeName,this.setInsertionMode("text")},f.prototype.processGenericRawTextStartTag=function(e,t){this.insertElement(e,t),this.tokenizer.setState(i.RAWTEXT),this.originalInsertionMode=this.insertionModeName,this.setInsertionMode("text")},f.prototype.adjustMathMLAttributes=function(e){return e.forEach((function(e){e.namespaceURI="http://www.w3.org/1998/Math/MathML",o.MATHMLAttributeMap[e.nodeName]&&(e.nodeName=o.MATHMLAttributeMap[e.nodeName])})),e},f.prototype.adjustSVGTagNameCase=function(e){return o.SVGTagMap[e]||e},f.prototype.adjustSVGAttributes=function(e){return e.forEach((function(e){e.namespaceURI="http://www.w3.org/2000/svg",o.SVGAttributeMap[e.nodeName]&&(e.nodeName=o.SVGAttributeMap[e.nodeName])})),e},f.prototype.adjustForeignAttributes=function(e){for(var t=0;t<e.length;t++){var r=e[t],n=o.ForeignAttributeMap[r.nodeName];n&&(r.nodeName=n.localName,r.prefix=n.prefix,r.namespaceURI=n.namespaceURI)}return e},r.TreeBuilder=f},{"./ElementStack":1,"./StackItem":4,"./Tokenizer":5,"./constants":7,"./messages.json":8,assert:13,events:16}],7:[function(e,t,r){r.SVGTagMap={altglyph:"altGlyph",altglyphdef:"altGlyphDef",altglyphitem:"altGlyphItem",animatecolor:"animateColor",animatemotion:"animateMotion",animatetransform:"animateTransform",clippath:"clipPath",feblend:"feBlend",fecolormatrix:"feColorMatrix",fecomponenttransfer:"feComponentTransfer",fecomposite:"feComposite",feconvolvematrix:"feConvolveMatrix",fediffuselighting:"feDiffuseLighting",fedisplacementmap:"feDisplacementMap",fedistantlight:"feDistantLight",feflood:"feFlood",fefunca:"feFuncA",fefuncb:"feFuncB",fefuncg:"feFuncG",fefuncr:"feFuncR",fegaussianblur:"feGaussianBlur",feimage:"feImage",femerge:"feMerge",femergenode:"feMergeNode",femorphology:"feMorphology",feoffset:"feOffset",fepointlight:"fePointLight",fespecularlighting:"feSpecularLighting",fespotlight:"feSpotLight",fetile:"feTile",feturbulence:"feTurbulence",foreignobject:"foreignObject",glyphref:"glyphRef",lineargradient:"linearGradient",radialgradient:"radialGradient",textpath:"textPath"},r.MATHMLAttributeMap={definitionurl:"definitionURL"},r.SVGAttributeMap={attributename:"attributeName",attributetype:"attributeType",basefrequency:"baseFrequency",baseprofile:"baseProfile",calcmode:"calcMode",clippathunits:"clipPathUnits",contentscripttype:"contentScriptType",contentstyletype:"contentStyleType",diffuseconstant:"diffuseConstant",edgemode:"edgeMode",externalresourcesrequired:"externalResourcesRequired",filterres:"filterRes",filterunits:"filterUnits",glyphref:"glyphRef",gradienttransform:"gradientTransform",gradientunits:"gradientUnits",kernelmatrix:"kernelMatrix",kernelunitlength:"kernelUnitLength",keypoints:"keyPoints",keysplines:"keySplines",keytimes:"keyTimes",lengthadjust:"lengthAdjust",limitingconeangle:"limitingConeAngle",markerheight:"markerHeight",markerunits:"markerUnits",markerwidth:"markerWidth",maskcontentunits:"maskContentUnits",maskunits:"maskUnits",numoctaves:"numOctaves",pathlength:"pathLength",patterncontentunits:"patternContentUnits",patterntransform:"patternTransform",patternunits:"patternUnits",pointsatx:"pointsAtX",pointsaty:"pointsAtY",pointsatz:"pointsAtZ",preservealpha:"preserveAlpha",preserveaspectratio:"preserveAspectRatio",primitiveunits:"primitiveUnits",refx:"refX",refy:"refY",repeatcount:"repeatCount",repeatdur:"repeatDur",requiredextensions:"requiredExtensions",requiredfeatures:"requiredFeatures",specularconstant:"specularConstant",specularexponent:"specularExponent",spreadmethod:"spreadMethod",startoffset:"startOffset",stddeviation:"stdDeviation",stitchtiles:"stitchTiles",surfacescale:"surfaceScale",systemlanguage:"systemLanguage",tablevalues:"tableValues",targetx:"targetX",targety:"targetY",textlength:"textLength",viewbox:"viewBox",viewtarget:"viewTarget",xchannelselector:"xChannelSelector",ychannelselector:"yChannelSelector",zoomandpan:"zoomAndPan"},r.ForeignAttributeMap={"xlink:actuate":{prefix:"xlink",localName:"actuate",namespaceURI:"http://www.w3.org/1999/xlink"},"xlink:arcrole":{prefix:"xlink",localName:"arcrole",namespaceURI:"http://www.w3.org/1999/xlink"},"xlink:href":{prefix:"xlink",localName:"href",namespaceURI:"http://www.w3.org/1999/xlink"},"xlink:role":{prefix:"xlink",localName:"role",namespaceURI:"http://www.w3.org/1999/xlink"},"xlink:show":{prefix:"xlink",localName:"show",namespaceURI:"http://www.w3.org/1999/xlink"},"xlink:title":{prefix:"xlink",localName:"title",namespaceURI:"http://www.w3.org/1999/xlink"},"xlink:type":{prefix:"xlink",localName:"title",namespaceURI:"http://www.w3.org/1999/xlink"},"xml:base":{prefix:"xml",localName:"base",namespaceURI:"http://www.w3.org/XML/1998/namespace"},"xml:lang":{prefix:"xml",localName:"lang",namespaceURI:"http://www.w3.org/XML/1998/namespace"},"xml:space":{prefix:"xml",localName:"space",namespaceURI:"http://www.w3.org/XML/1998/namespace"},xmlns:{prefix:null,localName:"xmlns",namespaceURI:"http://www.w3.org/2000/xmlns/"},"xmlns:xlink":{prefix:"xmlns",localName:"xlink",namespaceURI:"http://www.w3.org/2000/xmlns/"}}},{}],8:[function(e,t,r){t.exports={"null-character":"Null character in input stream, replaced with U+FFFD.","invalid-codepoint":"Invalid codepoint in stream","incorrectly-placed-solidus":"Solidus (/) incorrectly placed in tag.","incorrect-cr-newline-entity":"Incorrect CR newline entity, replaced with LF.","illegal-windows-1252-entity":"Entity used with illegal number (windows-1252 reference).","cant-convert-numeric-entity":"Numeric entity couldn't be converted to character (codepoint U+{charAsInt}).","invalid-numeric-entity-replaced":"Numeric entity represents an illegal codepoint. Expanded to the C1 controls range.","numeric-entity-without-semicolon":"Numeric entity didn't end with ';'.","expected-numeric-entity-but-got-eof":"Numeric entity expected. Got end of file instead.","expected-numeric-entity":"Numeric entity expected but none found.","named-entity-without-semicolon":"Named entity didn't end with ';'.","expected-named-entity":"Named entity expected. Got none.","attributes-in-end-tag":"End tag contains unexpected attributes.","self-closing-flag-on-end-tag":"End tag contains unexpected self-closing flag.","bare-less-than-sign-at-eof":"End of file after <.","expected-tag-name-but-got-right-bracket":"Expected tag name. Got '>' instead.","expected-tag-name-but-got-question-mark":"Expected tag name. Got '?' instead. (HTML doesn't support processing instructions.)","expected-tag-name":"Expected tag name. Got something else instead.","expected-closing-tag-but-got-right-bracket":"Expected closing tag. Got '>' instead. Ignoring '</>'.","expected-closing-tag-but-got-eof":"Expected closing tag. Unexpected end of file.","expected-closing-tag-but-got-char":"Expected closing tag. Unexpected character '{data}' found.","eof-in-tag-name":"Unexpected end of file in the tag name.","expected-attribute-name-but-got-eof":"Unexpected end of file. Expected attribute name instead.","eof-in-attribute-name":"Unexpected end of file in attribute name.","invalid-character-in-attribute-name":"Invalid character in attribute name.","duplicate-attribute":"Dropped duplicate attribute '{name}' on tag.","expected-end-of-tag-but-got-eof":"Unexpected end of file. Expected = or end of tag.","expected-attribute-value-but-got-eof":"Unexpected end of file. Expected attribute value.","expected-attribute-value-but-got-right-bracket":"Expected attribute value. Got '>' instead.","unexpected-character-in-unquoted-attribute-value":"Unexpected character in unquoted attribute","invalid-character-after-attribute-name":"Unexpected character after attribute name.","unexpected-character-after-attribute-value":"Unexpected character after attribute value.","eof-in-attribute-value-double-quote":'Unexpected end of file in attribute value (").',"eof-in-attribute-value-single-quote":"Unexpected end of file in attribute value (').","eof-in-attribute-value-no-quotes":"Unexpected end of file in attribute value.","eof-after-attribute-value":"Unexpected end of file after attribute value.","unexpected-eof-after-solidus-in-tag":"Unexpected end of file in tag. Expected >.","unexpected-character-after-solidus-in-tag":"Unexpected character after / in tag. Expected >.","expected-dashes-or-doctype":"Expected '--' or 'DOCTYPE'. Not found.","unexpected-bang-after-double-dash-in-comment":"Unexpected ! after -- in comment.","incorrect-comment":"Incorrect comment.","eof-in-comment":"Unexpected end of file in comment.","eof-in-comment-end-dash":"Unexpected end of file in comment (-).","unexpected-dash-after-double-dash-in-comment":"Unexpected '-' after '--' found in comment.","eof-in-comment-double-dash":"Unexpected end of file in comment (--).","eof-in-comment-end-bang-state":"Unexpected end of file in comment.","unexpected-char-in-comment":"Unexpected character in comment found.","need-space-after-doctype":"No space after literal string 'DOCTYPE'.","expected-doctype-name-but-got-right-bracket":"Unexpected > character. Expected DOCTYPE name.","expected-doctype-name-but-got-eof":"Unexpected end of file. Expected DOCTYPE name.","eof-in-doctype-name":"Unexpected end of file in DOCTYPE name.","eof-in-doctype":"Unexpected end of file in DOCTYPE.","expected-space-or-right-bracket-in-doctype":"Expected space or '>'. Got '{data}'.","unexpected-end-of-doctype":"Unexpected end of DOCTYPE.","unexpected-char-in-doctype":"Unexpected character in DOCTYPE.","eof-in-bogus-doctype":"Unexpected end of file in bogus doctype.","eof-in-innerhtml":"Unexpected EOF in inner html mode.","unexpected-doctype":"Unexpected DOCTYPE. Ignored.","non-html-root":"html needs to be the first start tag.","expected-doctype-but-got-eof":"Unexpected End of file. Expected DOCTYPE.","unknown-doctype":"Erroneous DOCTYPE. Expected <!DOCTYPE html>.","quirky-doctype":"Quirky doctype. Expected <!DOCTYPE html>.","almost-standards-doctype":"Almost standards mode doctype. Expected <!DOCTYPE html>.","obsolete-doctype":"Obsolete doctype. Expected <!DOCTYPE html>.","expected-doctype-but-got-chars":"Non-space characters found without seeing a doctype first. Expected e.g. <!DOCTYPE html>.","expected-doctype-but-got-start-tag":"Start tag seen without seeing a doctype first. Expected e.g. <!DOCTYPE html>.","expected-doctype-but-got-end-tag":"End tag seen without seeing a doctype first. Expected e.g. <!DOCTYPE html>.","end-tag-after-implied-root":"Unexpected end tag ({name}) after the (implied) root element.","expected-named-closing-tag-but-got-eof":"Unexpected end of file. Expected end tag ({name}).","two-heads-are-not-better-than-one":"Unexpected start tag head in existing head. Ignored.","unexpected-end-tag":"Unexpected end tag ({name}). Ignored.","unexpected-implied-end-tag":"End tag {name} implied, but there were open elements.","unexpected-start-tag-out-of-my-head":"Unexpected start tag ({name}) that can be in head. Moved.","unexpected-start-tag":"Unexpected start tag ({name}).","missing-end-tag":"Missing end tag ({name}).","missing-end-tags":"Missing end tags ({name}).","unexpected-start-tag-implies-end-tag":"Unexpected start tag ({startName}) implies end tag ({endName}).","unexpected-start-tag-treated-as":"Unexpected start tag ({originalName}). Treated as {newName}.","deprecated-tag":"Unexpected start tag {name}. Don't use it!","unexpected-start-tag-ignored":"Unexpected start tag {name}. Ignored.","expected-one-end-tag-but-got-another":"Unexpected end tag ({gotName}). Missing end tag ({expectedName}).","end-tag-too-early":"End tag ({name}) seen too early. Expected other end tag.","end-tag-too-early-named":"Unexpected end tag ({gotName}). Expected end tag ({expectedName}.","end-tag-too-early-ignored":"End tag ({name}) seen too early. Ignored.","adoption-agency-1.1":"End tag ({name}) violates step 1, paragraph 1 of the adoption agency algorithm.","adoption-agency-1.2":"End tag ({name}) violates step 1, paragraph 2 of the adoption agency algorithm.","adoption-agency-1.3":"End tag ({name}) violates step 1, paragraph 3 of the adoption agency algorithm.","adoption-agency-4.4":"End tag ({name}) violates step 4, paragraph 4 of the adoption agency algorithm.","unexpected-end-tag-treated-as":"Unexpected end tag ({originalName}). Treated as {newName}.","no-end-tag":"This element ({name}) has no end tag.","unexpected-implied-end-tag-in-table":"Unexpected implied end tag ({name}) in the table phase.","unexpected-implied-end-tag-in-table-body":"Unexpected implied end tag ({name}) in the table body phase.","unexpected-char-implies-table-voodoo":"Unexpected non-space characters in table context caused voodoo mode.","unexpected-hidden-input-in-table":"Unexpected input with type hidden in table context.","unexpected-form-in-table":"Unexpected form in table context.","unexpected-start-tag-implies-table-voodoo":"Unexpected start tag ({name}) in table context caused voodoo mode.","unexpected-end-tag-implies-table-voodoo":"Unexpected end tag ({name}) in table context caused voodoo mode.","unexpected-cell-in-table-body":"Unexpected table cell start tag ({name}) in the table body phase.","unexpected-cell-end-tag":"Got table cell end tag ({name}) while required end tags are missing.","unexpected-end-tag-in-table-body":"Unexpected end tag ({name}) in the table body phase. Ignored.","unexpected-implied-end-tag-in-table-row":"Unexpected implied end tag ({name}) in the table row phase.","unexpected-end-tag-in-table-row":"Unexpected end tag ({name}) in the table row phase. Ignored.","unexpected-select-in-select":"Unexpected select start tag in the select phase treated as select end tag.","unexpected-input-in-select":"Unexpected input start tag in the select phase.","unexpected-start-tag-in-select":"Unexpected start tag token ({name}) in the select phase. Ignored.","unexpected-end-tag-in-select":"Unexpected end tag ({name}) in the select phase. Ignored.","unexpected-table-element-start-tag-in-select-in-table":"Unexpected table element start tag ({name}) in the select in table phase.","unexpected-table-element-end-tag-in-select-in-table":"Unexpected table element end tag ({name}) in the select in table phase.","unexpected-char-after-body":"Unexpected non-space characters in the after body phase.","unexpected-start-tag-after-body":"Unexpected start tag token ({name}) in the after body phase.","unexpected-end-tag-after-body":"Unexpected end tag token ({name}) in the after body phase.","unexpected-char-in-frameset":"Unepxected characters in the frameset phase. Characters ignored.","unexpected-start-tag-in-frameset":"Unexpected start tag token ({name}) in the frameset phase. Ignored.","unexpected-frameset-in-frameset-innerhtml":"Unexpected end tag token (frameset in the frameset phase (innerHTML).","unexpected-end-tag-in-frameset":"Unexpected end tag token ({name}) in the frameset phase. Ignored.","unexpected-char-after-frameset":"Unexpected non-space characters in the after frameset phase. Ignored.","unexpected-start-tag-after-frameset":"Unexpected start tag ({name}) in the after frameset phase. Ignored.","unexpected-end-tag-after-frameset":"Unexpected end tag ({name}) in the after frameset phase. Ignored.","expected-eof-but-got-char":"Unexpected non-space characters. Expected end of file.","expected-eof-but-got-start-tag":"Unexpected start tag ({name}). Expected end of file.","expected-eof-but-got-end-tag":"Unexpected end tag ({name}). Expected end of file.","unexpected-end-table-in-caption":"Unexpected end table tag in caption. Generates implied end caption.","end-html-in-innerhtml":"Unexpected html end tag in inner html mode.","eof-in-table":"Unexpected end of file. Expected table content.","eof-in-script":"Unexpected end of file. Expected script content.","non-void-element-with-trailing-solidus":"Trailing solidus not allowed on element {name}.","unexpected-html-element-in-foreign-content":'HTML start tag "{name}" in a foreign namespace context.',"unexpected-start-tag-in-table":"Unexpected {name}. Expected table content."}},{}],9:[function(e,t,r){var n=e("./SAXTreeBuilder").SAXTreeBuilder,a=e("../Tokenizer").Tokenizer,o=e("./TreeParser").TreeParser;function i(){this.contentHandler=null,this._errorHandler=null,this._treeBuilder=new n,this._tokenizer=new a(this._treeBuilder),this._scriptingEnabled=!1}i.prototype.parse=function(e,t){t&&this._treeBuilder.setFragmentContext(t),this._tokenizer.tokenize(e);var r=this._treeBuilder.document;r&&new o(this.contentHandler).parse(r)},i.prototype.parseFragment=function(e,t){this._treeBuilder.setFragmentContext(t),this._tokenizer.tokenize(e);var r=this._treeBuilder.getFragment();r&&new o(this.contentHandler).parse(r)},Object.defineProperty(i.prototype,"scriptingEnabled",{get:function(){return this._scriptingEnabled},set:function(e){this._scriptingEnabled=e,this._treeBuilder.scriptingEnabled=e}}),Object.defineProperty(i.prototype,"errorHandler",{get:function(){return this._errorHandler},set:function(e){this._errorHandler=e,this._treeBuilder.errorHandler=e}}),r.SAXParser=i},{"../Tokenizer":5,"./SAXTreeBuilder":10,"./TreeParser":11}],10:[function(e,t,r){var n=e("util"),a=e("../TreeBuilder").TreeBuilder;function o(){a.call(this)}function i(e,t){for(var r=0;r<e.attributes.length;r++){var n=e.attributes[r];if(n.nodeName===t)return n.nodeValue}}n.inherits(o,a),o.prototype.start=function(e){this.document=new E(this.tokenizer)},o.prototype.end=function(){this.document.endLocator=this.tokenizer},o.prototype.insertDoctype=function(e,t,r){var n=new O(this.tokenizer,e,t,r);n.endLocator=this.tokenizer,this.document.appendChild(n)},o.prototype.createElement=function(e,t,r){return new v(this.tokenizer,e,t,t,r||[])},o.prototype.insertComment=function(e,t){t||(t=this.currentStackItem());var r=new S(this.tokenizer,e);t.appendChild(r)},o.prototype.appendCharacters=function(e,t){var r=new x(this.tokenizer,t);e.appendChild(r)},o.prototype.insertText=function(e){if(this.redirectAttachToFosterParent&&this.openElements.top.isFosterParenting()){var t=this.openElements.findIndex("table"),r=this.openElements.item(t).node;if(0===t)return this.appendCharacters(r,e);var n=new x(this.tokenizer,e),a=r.parentNode;return a?void a.insertBetween(n,r.previousSibling,r):void this.openElements.item(t-1).node.appendChild(n)}this.appendCharacters(this.currentStackItem().node,e)},o.prototype.attachNode=function(e,t){t.appendChild(e)},o.prototype.attachNodeToFosterParent=function(e,t,r){var n=t.parentNode;n?n.insertBetween(e,t.previousSibling,t):r.appendChild(e)},o.prototype.detachFromParent=function(e){e.detach()},o.prototype.reparentChildren=function(e,t){t.appendChildren(e.firstChild)},o.prototype.getFragment=function(){var e=new w;return this.reparentChildren(this.openElements.rootNode,e),e},o.prototype.addAttributesToElement=function(e,t){for(var r=0;r<t.length;r++){var n=t[r];i(e,n.nodeName)||e.attributes.push(n)}};var s=1,c=2,l=3,d=4,p=5,u=6,h=7,m=8,g=9,f=10,T=11;function b(e){e?(this.columnNumber=e.columnNumber,this.lineNumber=e.lineNumber):(this.columnNumber=-1,this.lineNumber=-1),this.parentNode=null,this.nextSibling=null,this.firstChild=null}function y(e){b.call(this,e),this.lastChild=null,this._endLocator=null}function E(e){y.call(this,e),this.nodeType=d}function w(){y.call(this,new Locator),this.nodeType=p}function v(e,t,r,n,a,o){y.call(this,e),this.uri=t,this.localName=r,this.qName=n,this.attributes=a,this.prefixMappings=o,this.nodeType=h}function x(e,t){b.call(this,e),this.data=t,this.nodeType=c}function k(e,t){b.call(this,e),this.data=t,this.nodeType=g}function S(e,t){b.call(this,e),this.data=t,this.nodeType=l}function _(e){y.call(this,e),this.nodeType=s}function C(e){y.call(this),this.name=e,this.nodeType=m}function N(e){b.call(this),this.name=e,this.nodeType=T}function I(e,t){b.call(this),this.target=e,this.data=t}function O(e,t,r){y.call(this),this.name=e,this.publicIdentifier=t,this.systemIdentifier=r,this.nodeType=u}b.prototype.visit=function(e){throw new Error("Not Implemented")},b.prototype.revisit=function(e){},b.prototype.detach=function(){null!==this.parentNode&&(this.parentNode.removeChild(this),this.parentNode=null)},Object.defineProperty(b.prototype,"previousSibling",{get:function(){for(var e=null,t=this.parentNode.firstChild;;){if(this==t)return e;e=t,t=t.nextSibling}}}),y.prototype=Object.create(b.prototype),y.prototype.insertBefore=function(e,t){if(!t)return this.appendChild(e);if(e.detach(),e.parentNode=this,this.firstChild==t)e.nextSibling=t,this.firstChild=e;else{for(var r=this.firstChild,n=this.firstChild.nextSibling;n!=t;)r=n,n=n.nextSibling;r.nextSibling=e,e.nextSibling=n}return e},y.prototype.insertBetween=function(e,t,r){return r?(e.detach(),e.parentNode=this,e.nextSibling=r,t?t.nextSibling=e:firstChild=e,e):this.appendChild(e)},y.prototype.appendChild=function(e){return e.detach(),e.parentNode=this,this.firstChild?this.lastChild.nextSibling=e:this.firstChild=e,this.lastChild=e,e},y.prototype.appendChildren=function(e){var t=e.firstChild;if(t){var r=e;this.firstChild?this.lastChild.nextSibling=t:this.firstChild=t,this.lastChild=r.lastChild;do{t.parentNode=this}while(t=t.nextSibling);r.firstChild=null,r.lastChild=null}},y.prototype.removeChild=function(e){if(this.firstChild==e)this.firstChild=e.nextSibling,this.lastChild==e&&(this.lastChild=null);else{for(var t=this.firstChild,r=this.firstChild.nextSibling;r!=e;)t=r,r=r.nextSibling;t.nextSibling=e.nextSibling,this.lastChild==e&&(this.lastChild=t)}return e.parentNode=null,e},Object.defineProperty(y.prototype,"endLocator",{get:function(){return this._endLocator},set:function(e){this._endLocator={lineNumber:e.lineNumber,columnNumber:e.columnNumber}}}),E.prototype=Object.create(y.prototype),E.prototype.visit=function(e){e.startDocument(this)},E.prototype.revisit=function(e){e.endDocument(this.endLocator)},w.prototype=Object.create(y.prototype),w.prototype.visit=function(e){},v.prototype=Object.create(y.prototype),v.prototype.visit=function(e){if(this.prefixMappings)for(var t in prefixMappings){var r=prefixMappings[t];e.startPrefixMapping(r.getPrefix(),r.getUri(),this)}e.startElement(this.uri,this.localName,this.qName,this.attributes,this)},v.prototype.revisit=function(e){if(e.endElement(this.uri,this.localName,this.qName,this.endLocator),this.prefixMappings)for(var t in prefixMappings){var r=prefixMappings[t];e.endPrefixMapping(r.getPrefix(),this.endLocator)}},x.prototype=Object.create(b.prototype),x.prototype.visit=function(e){e.characters(this.data,0,this.data.length,this)},k.prototype=Object.create(b.prototype),k.prototype.visit=function(e){e.ignorableWhitespace(this.data,0,this.data.length,this)},S.prototype=Object.create(b.prototype),S.prototype.visit=function(e){e.comment(this.data,0,this.data.length,this)},_.prototype=Object.create(y.prototype),_.prototype.visit=function(e){e.startCDATA(this)},_.prototype.revisit=function(e){e.endCDATA(this.endLocator)},C.prototype=Object.create(y.prototype),C.prototype.visit=function(e){e.startEntity(this.name,this)},C.prototype.revisit=function(e){e.endEntity(this.name)},N.prototype=Object.create(b.prototype),N.prototype.visit=function(e){e.skippedEntity(this.name,this)},I.prototype=Object.create(b.prototype),I.prototype.visit=function(e){e.processingInstruction(this.target,this.data,this)},I.prototype.getNodeType=function(){return f},O.prototype=Object.create(y.prototype),O.prototype.visit=function(e){e.startDTD(this.name,this.publicIdentifier,this.systemIdentifier,this)},O.prototype.revisit=function(e){e.endDTD()},r.SAXTreeBuilder=o},{"../TreeBuilder":6,util:20}],11:[function(e,t,r){function n(e,t){if(this.contentHandler,this.lexicalHandler,this.locatorDelegate,!e)throw new IllegalArgumentException("contentHandler was null.");this.contentHandler=e,this.lexicalHandler=t||new a}function a(){}n.prototype.parse=function(e){this.contentHandler.documentLocator=this;for(var t,r=e;;)if(r.visit(this),t=r.firstChild)r=t;else for(;;){if(r.revisit(this),r==e)return;if(t=r.nextSibling){r=t;break}r=r.parentNode}},n.prototype.characters=function(e,t,r,n){this.locatorDelegate=n,this.contentHandler.characters(e,t,r)},n.prototype.endDocument=function(e){this.locatorDelegate=e,this.contentHandler.endDocument()},n.prototype.endElement=function(e,t,r,n){this.locatorDelegate=n,this.contentHandler.endElement(e,t,r)},n.prototype.endPrefixMapping=function(e,t){this.locatorDelegate=t,this.contentHandler.endPrefixMapping(e)},n.prototype.ignorableWhitespace=function(e,t,r,n){this.locatorDelegate=n,this.contentHandler.ignorableWhitespace(e,t,r)},n.prototype.processingInstruction=function(e,t,r){this.locatorDelegate=r,this.contentHandler.processingInstruction(e,t)},n.prototype.skippedEntity=function(e,t){this.locatorDelegate=t,this.contentHandler.skippedEntity(e)},n.prototype.startDocument=function(e){this.locatorDelegate=e,this.contentHandler.startDocument()},n.prototype.startElement=function(e,t,r,n,a){this.locatorDelegate=a,this.contentHandler.startElement(e,t,r,n)},n.prototype.startPrefixMapping=function(e,t,r){this.locatorDelegate=r,this.contentHandler.startPrefixMapping(e,t)},n.prototype.comment=function(e,t,r,n){this.locatorDelegate=n,this.lexicalHandler.comment(e,t,r)},n.prototype.endCDATA=function(e){this.locatorDelegate=e,this.lexicalHandler.endCDATA()},n.prototype.endDTD=function(e){this.locatorDelegate=e,this.lexicalHandler.endDTD()},n.prototype.endEntity=function(e,t){this.locatorDelegate=t,this.lexicalHandler.endEntity(e)},n.prototype.startCDATA=function(e){this.locatorDelegate=e,this.lexicalHandler.startCDATA()},n.prototype.startDTD=function(e,t,r,n){this.locatorDelegate=n,this.lexicalHandler.startDTD(e,t,r)},n.prototype.startEntity=function(e,t){this.locatorDelegate=t,this.lexicalHandler.startEntity(e)},Object.defineProperty(n.prototype,"columnNumber",{get:function(){return this.locatorDelegate?this.locatorDelegate.columnNumber:-1}}),Object.defineProperty(n.prototype,"lineNumber",{get:function(){return this.locatorDelegate?this.locatorDelegate.lineNumber:-1}}),a.prototype.comment=function(){},a.prototype.endCDATA=function(){},a.prototype.endDTD=function(){},a.prototype.endEntity=function(){},a.prototype.startCDATA=function(){},a.prototype.startDTD=function(){},a.prototype.startEntity=function(){},r.TreeParser=n},{}],12:[function(e,t,r){t.exports={"Aacute;":"Á",Aacute:"Á","aacute;":"á",aacute:"á","Abreve;":"Ă","abreve;":"ă","ac;":"∾","acd;":"∿","acE;":"∾̳","Acirc;":"Â",Acirc:"Â","acirc;":"â",acirc:"â","acute;":"´",acute:"´","Acy;":"А","acy;":"а","AElig;":"Æ",AElig:"Æ","aelig;":"æ",aelig:"æ","af;":"⁡","Afr;":"𝔄","afr;":"𝔞","Agrave;":"À",Agrave:"À","agrave;":"à",agrave:"à","alefsym;":"ℵ","aleph;":"ℵ","Alpha;":"Α","alpha;":"α","Amacr;":"Ā","amacr;":"ā","amalg;":"⨿","amp;":"&",amp:"&","AMP;":"&",AMP:"&","andand;":"⩕","And;":"⩓","and;":"∧","andd;":"⩜","andslope;":"⩘","andv;":"⩚","ang;":"∠","ange;":"⦤","angle;":"∠","angmsdaa;":"⦨","angmsdab;":"⦩","angmsdac;":"⦪","angmsdad;":"⦫","angmsdae;":"⦬","angmsdaf;":"⦭","angmsdag;":"⦮","angmsdah;":"⦯","angmsd;":"∡","angrt;":"∟","angrtvb;":"⊾","angrtvbd;":"⦝","angsph;":"∢","angst;":"Å","angzarr;":"⍼","Aogon;":"Ą","aogon;":"ą","Aopf;":"𝔸","aopf;":"𝕒","apacir;":"⩯","ap;":"≈","apE;":"⩰","ape;":"≊","apid;":"≋","apos;":"'","ApplyFunction;":"⁡","approx;":"≈","approxeq;":"≊","Aring;":"Å",Aring:"Å","aring;":"å",aring:"å","Ascr;":"𝒜","ascr;":"𝒶","Assign;":"≔","ast;":"*","asymp;":"≈","asympeq;":"≍","Atilde;":"Ã",Atilde:"Ã","atilde;":"ã",atilde:"ã","Auml;":"Ä",Auml:"Ä","auml;":"ä",auml:"ä","awconint;":"∳","awint;":"⨑","backcong;":"≌","backepsilon;":"϶","backprime;":"‵","backsim;":"∽","backsimeq;":"⋍","Backslash;":"∖","Barv;":"⫧","barvee;":"⊽","barwed;":"⌅","Barwed;":"⌆","barwedge;":"⌅","bbrk;":"⎵","bbrktbrk;":"⎶","bcong;":"≌","Bcy;":"Б","bcy;":"б","bdquo;":"„","becaus;":"∵","because;":"∵","Because;":"∵","bemptyv;":"⦰","bepsi;":"϶","bernou;":"ℬ","Bernoullis;":"ℬ","Beta;":"Β","beta;":"β","beth;":"ℶ","between;":"≬","Bfr;":"𝔅","bfr;":"𝔟","bigcap;":"⋂","bigcirc;":"◯","bigcup;":"⋃","bigodot;":"⨀","bigoplus;":"⨁","bigotimes;":"⨂","bigsqcup;":"⨆","bigstar;":"★","bigtriangledown;":"▽","bigtriangleup;":"△","biguplus;":"⨄","bigvee;":"⋁","bigwedge;":"⋀","bkarow;":"⤍","blacklozenge;":"⧫","blacksquare;":"▪","blacktriangle;":"▴","blacktriangledown;":"▾","blacktriangleleft;":"◂","blacktriangleright;":"▸","blank;":"␣","blk12;":"▒","blk14;":"░","blk34;":"▓","block;":"█","bne;":"=⃥","bnequiv;":"≡⃥","bNot;":"⫭","bnot;":"⌐","Bopf;":"𝔹","bopf;":"𝕓","bot;":"⊥","bottom;":"⊥","bowtie;":"⋈","boxbox;":"⧉","boxdl;":"┐","boxdL;":"╕","boxDl;":"╖","boxDL;":"╗","boxdr;":"┌","boxdR;":"╒","boxDr;":"╓","boxDR;":"╔","boxh;":"─","boxH;":"═","boxhd;":"┬","boxHd;":"╤","boxhD;":"╥","boxHD;":"╦","boxhu;":"┴","boxHu;":"╧","boxhU;":"╨","boxHU;":"╩","boxminus;":"⊟","boxplus;":"⊞","boxtimes;":"⊠","boxul;":"┘","boxuL;":"╛","boxUl;":"╜","boxUL;":"╝","boxur;":"└","boxuR;":"╘","boxUr;":"╙","boxUR;":"╚","boxv;":"│","boxV;":"║","boxvh;":"┼","boxvH;":"╪","boxVh;":"╫","boxVH;":"╬","boxvl;":"┤","boxvL;":"╡","boxVl;":"╢","boxVL;":"╣","boxvr;":"├","boxvR;":"╞","boxVr;":"╟","boxVR;":"╠","bprime;":"‵","breve;":"˘","Breve;":"˘","brvbar;":"¦",brvbar:"¦","bscr;":"𝒷","Bscr;":"ℬ","bsemi;":"⁏","bsim;":"∽","bsime;":"⋍","bsolb;":"⧅","bsol;":"\\","bsolhsub;":"⟈","bull;":"•","bullet;":"•","bump;":"≎","bumpE;":"⪮","bumpe;":"≏","Bumpeq;":"≎","bumpeq;":"≏","Cacute;":"Ć","cacute;":"ć","capand;":"⩄","capbrcup;":"⩉","capcap;":"⩋","cap;":"∩","Cap;":"⋒","capcup;":"⩇","capdot;":"⩀","CapitalDifferentialD;":"ⅅ","caps;":"∩︀","caret;":"⁁","caron;":"ˇ","Cayleys;":"ℭ","ccaps;":"⩍","Ccaron;":"Č","ccaron;":"č","Ccedil;":"Ç",Ccedil:"Ç","ccedil;":"ç",ccedil:"ç","Ccirc;":"Ĉ","ccirc;":"ĉ","Cconint;":"∰","ccups;":"⩌","ccupssm;":"⩐","Cdot;":"Ċ","cdot;":"ċ","cedil;":"¸",cedil:"¸","Cedilla;":"¸","cemptyv;":"⦲","cent;":"¢",cent:"¢","centerdot;":"·","CenterDot;":"·","cfr;":"𝔠","Cfr;":"ℭ","CHcy;":"Ч","chcy;":"ч","check;":"✓","checkmark;":"✓","Chi;":"Χ","chi;":"χ","circ;":"ˆ","circeq;":"≗","circlearrowleft;":"↺","circlearrowright;":"↻","circledast;":"⊛","circledcirc;":"⊚","circleddash;":"⊝","CircleDot;":"⊙","circledR;":"®","circledS;":"Ⓢ","CircleMinus;":"⊖","CirclePlus;":"⊕","CircleTimes;":"⊗","cir;":"○","cirE;":"⧃","cire;":"≗","cirfnint;":"⨐","cirmid;":"⫯","cirscir;":"⧂","ClockwiseContourIntegral;":"∲","CloseCurlyDoubleQuote;":"”","CloseCurlyQuote;":"’","clubs;":"♣","clubsuit;":"♣","colon;":":","Colon;":"∷","Colone;":"⩴","colone;":"≔","coloneq;":"≔","comma;":",","commat;":"@","comp;":"∁","compfn;":"∘","complement;":"∁","complexes;":"ℂ","cong;":"≅","congdot;":"⩭","Congruent;":"≡","conint;":"∮","Conint;":"∯","ContourIntegral;":"∮","copf;":"𝕔","Copf;":"ℂ","coprod;":"∐","Coproduct;":"∐","copy;":"©",copy:"©","COPY;":"©",COPY:"©","copysr;":"℗","CounterClockwiseContourIntegral;":"∳","crarr;":"↵","cross;":"✗","Cross;":"⨯","Cscr;":"𝒞","cscr;":"𝒸","csub;":"⫏","csube;":"⫑","csup;":"⫐","csupe;":"⫒","ctdot;":"⋯","cudarrl;":"⤸","cudarrr;":"⤵","cuepr;":"⋞","cuesc;":"⋟","cularr;":"↶","cularrp;":"⤽","cupbrcap;":"⩈","cupcap;":"⩆","CupCap;":"≍","cup;":"∪","Cup;":"⋓","cupcup;":"⩊","cupdot;":"⊍","cupor;":"⩅","cups;":"∪︀","curarr;":"↷","curarrm;":"⤼","curlyeqprec;":"⋞","curlyeqsucc;":"⋟","curlyvee;":"⋎","curlywedge;":"⋏","curren;":"¤",curren:"¤","curvearrowleft;":"↶","curvearrowright;":"↷","cuvee;":"⋎","cuwed;":"⋏","cwconint;":"∲","cwint;":"∱","cylcty;":"⌭","dagger;":"†","Dagger;":"‡","daleth;":"ℸ","darr;":"↓","Darr;":"↡","dArr;":"⇓","dash;":"‐","Dashv;":"⫤","dashv;":"⊣","dbkarow;":"⤏","dblac;":"˝","Dcaron;":"Ď","dcaron;":"ď","Dcy;":"Д","dcy;":"д","ddagger;":"‡","ddarr;":"⇊","DD;":"ⅅ","dd;":"ⅆ","DDotrahd;":"⤑","ddotseq;":"⩷","deg;":"°",deg:"°","Del;":"∇","Delta;":"Δ","delta;":"δ","demptyv;":"⦱","dfisht;":"⥿","Dfr;":"𝔇","dfr;":"𝔡","dHar;":"⥥","dharl;":"⇃","dharr;":"⇂","DiacriticalAcute;":"´","DiacriticalDot;":"˙","DiacriticalDoubleAcute;":"˝","DiacriticalGrave;":"`","DiacriticalTilde;":"˜","diam;":"⋄","diamond;":"⋄","Diamond;":"⋄","diamondsuit;":"♦","diams;":"♦","die;":"¨","DifferentialD;":"ⅆ","digamma;":"ϝ","disin;":"⋲","div;":"÷","divide;":"÷",divide:"÷","divideontimes;":"⋇","divonx;":"⋇","DJcy;":"Ђ","djcy;":"ђ","dlcorn;":"⌞","dlcrop;":"⌍","dollar;":"$","Dopf;":"𝔻","dopf;":"𝕕","Dot;":"¨","dot;":"˙","DotDot;":"⃜","doteq;":"≐","doteqdot;":"≑","DotEqual;":"≐","dotminus;":"∸","dotplus;":"∔","dotsquare;":"⊡","doublebarwedge;":"⌆","DoubleContourIntegral;":"∯","DoubleDot;":"¨","DoubleDownArrow;":"⇓","DoubleLeftArrow;":"⇐","DoubleLeftRightArrow;":"⇔","DoubleLeftTee;":"⫤","DoubleLongLeftArrow;":"⟸","DoubleLongLeftRightArrow;":"⟺","DoubleLongRightArrow;":"⟹","DoubleRightArrow;":"⇒","DoubleRightTee;":"⊨","DoubleUpArrow;":"⇑","DoubleUpDownArrow;":"⇕","DoubleVerticalBar;":"∥","DownArrowBar;":"⤓","downarrow;":"↓","DownArrow;":"↓","Downarrow;":"⇓","DownArrowUpArrow;":"⇵","DownBreve;":"̑","downdownarrows;":"⇊","downharpoonleft;":"⇃","downharpoonright;":"⇂","DownLeftRightVector;":"⥐","DownLeftTeeVector;":"⥞","DownLeftVectorBar;":"⥖","DownLeftVector;":"↽","DownRightTeeVector;":"⥟","DownRightVectorBar;":"⥗","DownRightVector;":"⇁","DownTeeArrow;":"↧","DownTee;":"⊤","drbkarow;":"⤐","drcorn;":"⌟","drcrop;":"⌌","Dscr;":"𝒟","dscr;":"𝒹","DScy;":"Ѕ","dscy;":"ѕ","dsol;":"⧶","Dstrok;":"Đ","dstrok;":"đ","dtdot;":"⋱","dtri;":"▿","dtrif;":"▾","duarr;":"⇵","duhar;":"⥯","dwangle;":"⦦","DZcy;":"Џ","dzcy;":"џ","dzigrarr;":"⟿","Eacute;":"É",Eacute:"É","eacute;":"é",eacute:"é","easter;":"⩮","Ecaron;":"Ě","ecaron;":"ě","Ecirc;":"Ê",Ecirc:"Ê","ecirc;":"ê",ecirc:"ê","ecir;":"≖","ecolon;":"≕","Ecy;":"Э","ecy;":"э","eDDot;":"⩷","Edot;":"Ė","edot;":"ė","eDot;":"≑","ee;":"ⅇ","efDot;":"≒","Efr;":"𝔈","efr;":"𝔢","eg;":"⪚","Egrave;":"È",Egrave:"È","egrave;":"è",egrave:"è","egs;":"⪖","egsdot;":"⪘","el;":"⪙","Element;":"∈","elinters;":"⏧","ell;":"ℓ","els;":"⪕","elsdot;":"⪗","Emacr;":"Ē","emacr;":"ē","empty;":"∅","emptyset;":"∅","EmptySmallSquare;":"◻","emptyv;":"∅","EmptyVerySmallSquare;":"▫","emsp13;":" ","emsp14;":" ","emsp;":" ","ENG;":"Ŋ","eng;":"ŋ","ensp;":" ","Eogon;":"Ę","eogon;":"ę","Eopf;":"𝔼","eopf;":"𝕖","epar;":"⋕","eparsl;":"⧣","eplus;":"⩱","epsi;":"ε","Epsilon;":"Ε","epsilon;":"ε","epsiv;":"ϵ","eqcirc;":"≖","eqcolon;":"≕","eqsim;":"≂","eqslantgtr;":"⪖","eqslantless;":"⪕","Equal;":"⩵","equals;":"=","EqualTilde;":"≂","equest;":"≟","Equilibrium;":"⇌","equiv;":"≡","equivDD;":"⩸","eqvparsl;":"⧥","erarr;":"⥱","erDot;":"≓","escr;":"ℯ","Escr;":"ℰ","esdot;":"≐","Esim;":"⩳","esim;":"≂","Eta;":"Η","eta;":"η","ETH;":"Ð",ETH:"Ð","eth;":"ð",eth:"ð","Euml;":"Ë",Euml:"Ë","euml;":"ë",euml:"ë","euro;":"€","excl;":"!","exist;":"∃","Exists;":"∃","expectation;":"ℰ","exponentiale;":"ⅇ","ExponentialE;":"ⅇ","fallingdotseq;":"≒","Fcy;":"Ф","fcy;":"ф","female;":"♀","ffilig;":"ffi","fflig;":"ff","ffllig;":"ffl","Ffr;":"𝔉","ffr;":"𝔣","filig;":"fi","FilledSmallSquare;":"◼","FilledVerySmallSquare;":"▪","fjlig;":"fj","flat;":"♭","fllig;":"fl","fltns;":"▱","fnof;":"ƒ","Fopf;":"𝔽","fopf;":"𝕗","forall;":"∀","ForAll;":"∀","fork;":"⋔","forkv;":"⫙","Fouriertrf;":"ℱ","fpartint;":"⨍","frac12;":"½",frac12:"½","frac13;":"⅓","frac14;":"¼",frac14:"¼","frac15;":"⅕","frac16;":"⅙","frac18;":"⅛","frac23;":"⅔","frac25;":"⅖","frac34;":"¾",frac34:"¾","frac35;":"⅗","frac38;":"⅜","frac45;":"⅘","frac56;":"⅚","frac58;":"⅝","frac78;":"⅞","frasl;":"⁄","frown;":"⌢","fscr;":"𝒻","Fscr;":"ℱ","gacute;":"ǵ","Gamma;":"Γ","gamma;":"γ","Gammad;":"Ϝ","gammad;":"ϝ","gap;":"⪆","Gbreve;":"Ğ","gbreve;":"ğ","Gcedil;":"Ģ","Gcirc;":"Ĝ","gcirc;":"ĝ","Gcy;":"Г","gcy;":"г","Gdot;":"Ġ","gdot;":"ġ","ge;":"≥","gE;":"≧","gEl;":"⪌","gel;":"⋛","geq;":"≥","geqq;":"≧","geqslant;":"⩾","gescc;":"⪩","ges;":"⩾","gesdot;":"⪀","gesdoto;":"⪂","gesdotol;":"⪄","gesl;":"⋛︀","gesles;":"⪔","Gfr;":"𝔊","gfr;":"𝔤","gg;":"≫","Gg;":"⋙","ggg;":"⋙","gimel;":"ℷ","GJcy;":"Ѓ","gjcy;":"ѓ","gla;":"⪥","gl;":"≷","glE;":"⪒","glj;":"⪤","gnap;":"⪊","gnapprox;":"⪊","gne;":"⪈","gnE;":"≩","gneq;":"⪈","gneqq;":"≩","gnsim;":"⋧","Gopf;":"𝔾","gopf;":"𝕘","grave;":"`","GreaterEqual;":"≥","GreaterEqualLess;":"⋛","GreaterFullEqual;":"≧","GreaterGreater;":"⪢","GreaterLess;":"≷","GreaterSlantEqual;":"⩾","GreaterTilde;":"≳","Gscr;":"𝒢","gscr;":"ℊ","gsim;":"≳","gsime;":"⪎","gsiml;":"⪐","gtcc;":"⪧","gtcir;":"⩺","gt;":">",gt:">","GT;":">",GT:">","Gt;":"≫","gtdot;":"⋗","gtlPar;":"⦕","gtquest;":"⩼","gtrapprox;":"⪆","gtrarr;":"⥸","gtrdot;":"⋗","gtreqless;":"⋛","gtreqqless;":"⪌","gtrless;":"≷","gtrsim;":"≳","gvertneqq;":"≩︀","gvnE;":"≩︀","Hacek;":"ˇ","hairsp;":" ","half;":"½","hamilt;":"ℋ","HARDcy;":"Ъ","hardcy;":"ъ","harrcir;":"⥈","harr;":"↔","hArr;":"⇔","harrw;":"↭","Hat;":"^","hbar;":"ℏ","Hcirc;":"Ĥ","hcirc;":"ĥ","hearts;":"♥","heartsuit;":"♥","hellip;":"…","hercon;":"⊹","hfr;":"𝔥","Hfr;":"ℌ","HilbertSpace;":"ℋ","hksearow;":"⤥","hkswarow;":"⤦","hoarr;":"⇿","homtht;":"∻","hookleftarrow;":"↩","hookrightarrow;":"↪","hopf;":"𝕙","Hopf;":"ℍ","horbar;":"―","HorizontalLine;":"─","hscr;":"𝒽","Hscr;":"ℋ","hslash;":"ℏ","Hstrok;":"Ħ","hstrok;":"ħ","HumpDownHump;":"≎","HumpEqual;":"≏","hybull;":"⁃","hyphen;":"‐","Iacute;":"Í",Iacute:"Í","iacute;":"í",iacute:"í","ic;":"⁣","Icirc;":"Î",Icirc:"Î","icirc;":"î",icirc:"î","Icy;":"И","icy;":"и","Idot;":"İ","IEcy;":"Е","iecy;":"е","iexcl;":"¡",iexcl:"¡","iff;":"⇔","ifr;":"𝔦","Ifr;":"ℑ","Igrave;":"Ì",Igrave:"Ì","igrave;":"ì",igrave:"ì","ii;":"ⅈ","iiiint;":"⨌","iiint;":"∭","iinfin;":"⧜","iiota;":"℩","IJlig;":"IJ","ijlig;":"ij","Imacr;":"Ī","imacr;":"ī","image;":"ℑ","ImaginaryI;":"ⅈ","imagline;":"ℐ","imagpart;":"ℑ","imath;":"ı","Im;":"ℑ","imof;":"⊷","imped;":"Ƶ","Implies;":"⇒","incare;":"℅","in;":"∈","infin;":"∞","infintie;":"⧝","inodot;":"ı","intcal;":"⊺","int;":"∫","Int;":"∬","integers;":"ℤ","Integral;":"∫","intercal;":"⊺","Intersection;":"⋂","intlarhk;":"⨗","intprod;":"⨼","InvisibleComma;":"⁣","InvisibleTimes;":"⁢","IOcy;":"Ё","iocy;":"ё","Iogon;":"Į","iogon;":"į","Iopf;":"𝕀","iopf;":"𝕚","Iota;":"Ι","iota;":"ι","iprod;":"⨼","iquest;":"¿",iquest:"¿","iscr;":"𝒾","Iscr;":"ℐ","isin;":"∈","isindot;":"⋵","isinE;":"⋹","isins;":"⋴","isinsv;":"⋳","isinv;":"∈","it;":"⁢","Itilde;":"Ĩ","itilde;":"ĩ","Iukcy;":"І","iukcy;":"і","Iuml;":"Ï",Iuml:"Ï","iuml;":"ï",iuml:"ï","Jcirc;":"Ĵ","jcirc;":"ĵ","Jcy;":"Й","jcy;":"й","Jfr;":"𝔍","jfr;":"𝔧","jmath;":"ȷ","Jopf;":"𝕁","jopf;":"𝕛","Jscr;":"𝒥","jscr;":"𝒿","Jsercy;":"Ј","jsercy;":"ј","Jukcy;":"Є","jukcy;":"є","Kappa;":"Κ","kappa;":"κ","kappav;":"ϰ","Kcedil;":"Ķ","kcedil;":"ķ","Kcy;":"К","kcy;":"к","Kfr;":"𝔎","kfr;":"𝔨","kgreen;":"ĸ","KHcy;":"Х","khcy;":"х","KJcy;":"Ќ","kjcy;":"ќ","Kopf;":"𝕂","kopf;":"𝕜","Kscr;":"𝒦","kscr;":"𝓀","lAarr;":"⇚","Lacute;":"Ĺ","lacute;":"ĺ","laemptyv;":"⦴","lagran;":"ℒ","Lambda;":"Λ","lambda;":"λ","lang;":"⟨","Lang;":"⟪","langd;":"⦑","langle;":"⟨","lap;":"⪅","Laplacetrf;":"ℒ","laquo;":"«",laquo:"«","larrb;":"⇤","larrbfs;":"⤟","larr;":"←","Larr;":"↞","lArr;":"⇐","larrfs;":"⤝","larrhk;":"↩","larrlp;":"↫","larrpl;":"⤹","larrsim;":"⥳","larrtl;":"↢","latail;":"⤙","lAtail;":"⤛","lat;":"⪫","late;":"⪭","lates;":"⪭︀","lbarr;":"⤌","lBarr;":"⤎","lbbrk;":"❲","lbrace;":"{","lbrack;":"[","lbrke;":"⦋","lbrksld;":"⦏","lbrkslu;":"⦍","Lcaron;":"Ľ","lcaron;":"ľ","Lcedil;":"Ļ","lcedil;":"ļ","lceil;":"⌈","lcub;":"{","Lcy;":"Л","lcy;":"л","ldca;":"⤶","ldquo;":"“","ldquor;":"„","ldrdhar;":"⥧","ldrushar;":"⥋","ldsh;":"↲","le;":"≤","lE;":"≦","LeftAngleBracket;":"⟨","LeftArrowBar;":"⇤","leftarrow;":"←","LeftArrow;":"←","Leftarrow;":"⇐","LeftArrowRightArrow;":"⇆","leftarrowtail;":"↢","LeftCeiling;":"⌈","LeftDoubleBracket;":"⟦","LeftDownTeeVector;":"⥡","LeftDownVectorBar;":"⥙","LeftDownVector;":"⇃","LeftFloor;":"⌊","leftharpoondown;":"↽","leftharpoonup;":"↼","leftleftarrows;":"⇇","leftrightarrow;":"↔","LeftRightArrow;":"↔","Leftrightarrow;":"⇔","leftrightarrows;":"⇆","leftrightharpoons;":"⇋","leftrightsquigarrow;":"↭","LeftRightVector;":"⥎","LeftTeeArrow;":"↤","LeftTee;":"⊣","LeftTeeVector;":"⥚","leftthreetimes;":"⋋","LeftTriangleBar;":"⧏","LeftTriangle;":"⊲","LeftTriangleEqual;":"⊴","LeftUpDownVector;":"⥑","LeftUpTeeVector;":"⥠","LeftUpVectorBar;":"⥘","LeftUpVector;":"↿","LeftVectorBar;":"⥒","LeftVector;":"↼","lEg;":"⪋","leg;":"⋚","leq;":"≤","leqq;":"≦","leqslant;":"⩽","lescc;":"⪨","les;":"⩽","lesdot;":"⩿","lesdoto;":"⪁","lesdotor;":"⪃","lesg;":"⋚︀","lesges;":"⪓","lessapprox;":"⪅","lessdot;":"⋖","lesseqgtr;":"⋚","lesseqqgtr;":"⪋","LessEqualGreater;":"⋚","LessFullEqual;":"≦","LessGreater;":"≶","lessgtr;":"≶","LessLess;":"⪡","lesssim;":"≲","LessSlantEqual;":"⩽","LessTilde;":"≲","lfisht;":"⥼","lfloor;":"⌊","Lfr;":"𝔏","lfr;":"𝔩","lg;":"≶","lgE;":"⪑","lHar;":"⥢","lhard;":"↽","lharu;":"↼","lharul;":"⥪","lhblk;":"▄","LJcy;":"Љ","ljcy;":"љ","llarr;":"⇇","ll;":"≪","Ll;":"⋘","llcorner;":"⌞","Lleftarrow;":"⇚","llhard;":"⥫","lltri;":"◺","Lmidot;":"Ŀ","lmidot;":"ŀ","lmoustache;":"⎰","lmoust;":"⎰","lnap;":"⪉","lnapprox;":"⪉","lne;":"⪇","lnE;":"≨","lneq;":"⪇","lneqq;":"≨","lnsim;":"⋦","loang;":"⟬","loarr;":"⇽","lobrk;":"⟦","longleftarrow;":"⟵","LongLeftArrow;":"⟵","Longleftarrow;":"⟸","longleftrightarrow;":"⟷","LongLeftRightArrow;":"⟷","Longleftrightarrow;":"⟺","longmapsto;":"⟼","longrightarrow;":"⟶","LongRightArrow;":"⟶","Longrightarrow;":"⟹","looparrowleft;":"↫","looparrowright;":"↬","lopar;":"⦅","Lopf;":"𝕃","lopf;":"𝕝","loplus;":"⨭","lotimes;":"⨴","lowast;":"∗","lowbar;":"_","LowerLeftArrow;":"↙","LowerRightArrow;":"↘","loz;":"◊","lozenge;":"◊","lozf;":"⧫","lpar;":"(","lparlt;":"⦓","lrarr;":"⇆","lrcorner;":"⌟","lrhar;":"⇋","lrhard;":"⥭","lrm;":"‎","lrtri;":"⊿","lsaquo;":"‹","lscr;":"𝓁","Lscr;":"ℒ","lsh;":"↰","Lsh;":"↰","lsim;":"≲","lsime;":"⪍","lsimg;":"⪏","lsqb;":"[","lsquo;":"‘","lsquor;":"‚","Lstrok;":"Ł","lstrok;":"ł","ltcc;":"⪦","ltcir;":"⩹","lt;":"<",lt:"<","LT;":"<",LT:"<","Lt;":"≪","ltdot;":"⋖","lthree;":"⋋","ltimes;":"⋉","ltlarr;":"⥶","ltquest;":"⩻","ltri;":"◃","ltrie;":"⊴","ltrif;":"◂","ltrPar;":"⦖","lurdshar;":"⥊","luruhar;":"⥦","lvertneqq;":"≨︀","lvnE;":"≨︀","macr;":"¯",macr:"¯","male;":"♂","malt;":"✠","maltese;":"✠","Map;":"⤅","map;":"↦","mapsto;":"↦","mapstodown;":"↧","mapstoleft;":"↤","mapstoup;":"↥","marker;":"▮","mcomma;":"⨩","Mcy;":"М","mcy;":"м","mdash;":"—","mDDot;":"∺","measuredangle;":"∡","MediumSpace;":" ","Mellintrf;":"ℳ","Mfr;":"𝔐","mfr;":"𝔪","mho;":"℧","micro;":"µ",micro:"µ","midast;":"*","midcir;":"⫰","mid;":"∣","middot;":"·",middot:"·","minusb;":"⊟","minus;":"−","minusd;":"∸","minusdu;":"⨪","MinusPlus;":"∓","mlcp;":"⫛","mldr;":"…","mnplus;":"∓","models;":"⊧","Mopf;":"𝕄","mopf;":"𝕞","mp;":"∓","mscr;":"𝓂","Mscr;":"ℳ","mstpos;":"∾","Mu;":"Μ","mu;":"μ","multimap;":"⊸","mumap;":"⊸","nabla;":"∇","Nacute;":"Ń","nacute;":"ń","nang;":"∠⃒","nap;":"≉","napE;":"⩰̸","napid;":"≋̸","napos;":"ʼn","napprox;":"≉","natural;":"♮","naturals;":"ℕ","natur;":"♮","nbsp;":" ",nbsp:" ","nbump;":"≎̸","nbumpe;":"≏̸","ncap;":"⩃","Ncaron;":"Ň","ncaron;":"ň","Ncedil;":"Ņ","ncedil;":"ņ","ncong;":"≇","ncongdot;":"⩭̸","ncup;":"⩂","Ncy;":"Н","ncy;":"н","ndash;":"–","nearhk;":"⤤","nearr;":"↗","neArr;":"⇗","nearrow;":"↗","ne;":"≠","nedot;":"≐̸","NegativeMediumSpace;":"​","NegativeThickSpace;":"​","NegativeThinSpace;":"​","NegativeVeryThinSpace;":"​","nequiv;":"≢","nesear;":"⤨","nesim;":"≂̸","NestedGreaterGreater;":"≫","NestedLessLess;":"≪","NewLine;":"\n","nexist;":"∄","nexists;":"∄","Nfr;":"𝔑","nfr;":"𝔫","ngE;":"≧̸","nge;":"≱","ngeq;":"≱","ngeqq;":"≧̸","ngeqslant;":"⩾̸","nges;":"⩾̸","nGg;":"⋙̸","ngsim;":"≵","nGt;":"≫⃒","ngt;":"≯","ngtr;":"≯","nGtv;":"≫̸","nharr;":"↮","nhArr;":"⇎","nhpar;":"⫲","ni;":"∋","nis;":"⋼","nisd;":"⋺","niv;":"∋","NJcy;":"Њ","njcy;":"њ","nlarr;":"↚","nlArr;":"⇍","nldr;":"‥","nlE;":"≦̸","nle;":"≰","nleftarrow;":"↚","nLeftarrow;":"⇍","nleftrightarrow;":"↮","nLeftrightarrow;":"⇎","nleq;":"≰","nleqq;":"≦̸","nleqslant;":"⩽̸","nles;":"⩽̸","nless;":"≮","nLl;":"⋘̸","nlsim;":"≴","nLt;":"≪⃒","nlt;":"≮","nltri;":"⋪","nltrie;":"⋬","nLtv;":"≪̸","nmid;":"∤","NoBreak;":"⁠","NonBreakingSpace;":" ","nopf;":"𝕟","Nopf;":"ℕ","Not;":"⫬","not;":"¬",not:"¬","NotCongruent;":"≢","NotCupCap;":"≭","NotDoubleVerticalBar;":"∦","NotElement;":"∉","NotEqual;":"≠","NotEqualTilde;":"≂̸","NotExists;":"∄","NotGreater;":"≯","NotGreaterEqual;":"≱","NotGreaterFullEqual;":"≧̸","NotGreaterGreater;":"≫̸","NotGreaterLess;":"≹","NotGreaterSlantEqual;":"⩾̸","NotGreaterTilde;":"≵","NotHumpDownHump;":"≎̸","NotHumpEqual;":"≏̸","notin;":"∉","notindot;":"⋵̸","notinE;":"⋹̸","notinva;":"∉","notinvb;":"⋷","notinvc;":"⋶","NotLeftTriangleBar;":"⧏̸","NotLeftTriangle;":"⋪","NotLeftTriangleEqual;":"⋬","NotLess;":"≮","NotLessEqual;":"≰","NotLessGreater;":"≸","NotLessLess;":"≪̸","NotLessSlantEqual;":"⩽̸","NotLessTilde;":"≴","NotNestedGreaterGreater;":"⪢̸","NotNestedLessLess;":"⪡̸","notni;":"∌","notniva;":"∌","notnivb;":"⋾","notnivc;":"⋽","NotPrecedes;":"⊀","NotPrecedesEqual;":"⪯̸","NotPrecedesSlantEqual;":"⋠","NotReverseElement;":"∌","NotRightTriangleBar;":"⧐̸","NotRightTriangle;":"⋫","NotRightTriangleEqual;":"⋭","NotSquareSubset;":"⊏̸","NotSquareSubsetEqual;":"⋢","NotSquareSuperset;":"⊐̸","NotSquareSupersetEqual;":"⋣","NotSubset;":"⊂⃒","NotSubsetEqual;":"⊈","NotSucceeds;":"⊁","NotSucceedsEqual;":"⪰̸","NotSucceedsSlantEqual;":"⋡","NotSucceedsTilde;":"≿̸","NotSuperset;":"⊃⃒","NotSupersetEqual;":"⊉","NotTilde;":"≁","NotTildeEqual;":"≄","NotTildeFullEqual;":"≇","NotTildeTilde;":"≉","NotVerticalBar;":"∤","nparallel;":"∦","npar;":"∦","nparsl;":"⫽⃥","npart;":"∂̸","npolint;":"⨔","npr;":"⊀","nprcue;":"⋠","nprec;":"⊀","npreceq;":"⪯̸","npre;":"⪯̸","nrarrc;":"⤳̸","nrarr;":"↛","nrArr;":"⇏","nrarrw;":"↝̸","nrightarrow;":"↛","nRightarrow;":"⇏","nrtri;":"⋫","nrtrie;":"⋭","nsc;":"⊁","nsccue;":"⋡","nsce;":"⪰̸","Nscr;":"𝒩","nscr;":"𝓃","nshortmid;":"∤","nshortparallel;":"∦","nsim;":"≁","nsime;":"≄","nsimeq;":"≄","nsmid;":"∤","nspar;":"∦","nsqsube;":"⋢","nsqsupe;":"⋣","nsub;":"⊄","nsubE;":"⫅̸","nsube;":"⊈","nsubset;":"⊂⃒","nsubseteq;":"⊈","nsubseteqq;":"⫅̸","nsucc;":"⊁","nsucceq;":"⪰̸","nsup;":"⊅","nsupE;":"⫆̸","nsupe;":"⊉","nsupset;":"⊃⃒","nsupseteq;":"⊉","nsupseteqq;":"⫆̸","ntgl;":"≹","Ntilde;":"Ñ",Ntilde:"Ñ","ntilde;":"ñ",ntilde:"ñ","ntlg;":"≸","ntriangleleft;":"⋪","ntrianglelefteq;":"⋬","ntriangleright;":"⋫","ntrianglerighteq;":"⋭","Nu;":"Ν","nu;":"ν","num;":"#","numero;":"№","numsp;":" ","nvap;":"≍⃒","nvdash;":"⊬","nvDash;":"⊭","nVdash;":"⊮","nVDash;":"⊯","nvge;":"≥⃒","nvgt;":">⃒","nvHarr;":"⤄","nvinfin;":"⧞","nvlArr;":"⤂","nvle;":"≤⃒","nvlt;":"<⃒","nvltrie;":"⊴⃒","nvrArr;":"⤃","nvrtrie;":"⊵⃒","nvsim;":"∼⃒","nwarhk;":"⤣","nwarr;":"↖","nwArr;":"⇖","nwarrow;":"↖","nwnear;":"⤧","Oacute;":"Ó",Oacute:"Ó","oacute;":"ó",oacute:"ó","oast;":"⊛","Ocirc;":"Ô",Ocirc:"Ô","ocirc;":"ô",ocirc:"ô","ocir;":"⊚","Ocy;":"О","ocy;":"о","odash;":"⊝","Odblac;":"Ő","odblac;":"ő","odiv;":"⨸","odot;":"⊙","odsold;":"⦼","OElig;":"Œ","oelig;":"œ","ofcir;":"⦿","Ofr;":"𝔒","ofr;":"𝔬","ogon;":"˛","Ograve;":"Ò",Ograve:"Ò","ograve;":"ò",ograve:"ò","ogt;":"⧁","ohbar;":"⦵","ohm;":"Ω","oint;":"∮","olarr;":"↺","olcir;":"⦾","olcross;":"⦻","oline;":"‾","olt;":"⧀","Omacr;":"Ō","omacr;":"ō","Omega;":"Ω","omega;":"ω","Omicron;":"Ο","omicron;":"ο","omid;":"⦶","ominus;":"⊖","Oopf;":"𝕆","oopf;":"𝕠","opar;":"⦷","OpenCurlyDoubleQuote;":"“","OpenCurlyQuote;":"‘","operp;":"⦹","oplus;":"⊕","orarr;":"↻","Or;":"⩔","or;":"∨","ord;":"⩝","order;":"ℴ","orderof;":"ℴ","ordf;":"ª",ordf:"ª","ordm;":"º",ordm:"º","origof;":"⊶","oror;":"⩖","orslope;":"⩗","orv;":"⩛","oS;":"Ⓢ","Oscr;":"𝒪","oscr;":"ℴ","Oslash;":"Ø",Oslash:"Ø","oslash;":"ø",oslash:"ø","osol;":"⊘","Otilde;":"Õ",Otilde:"Õ","otilde;":"õ",otilde:"õ","otimesas;":"⨶","Otimes;":"⨷","otimes;":"⊗","Ouml;":"Ö",Ouml:"Ö","ouml;":"ö",ouml:"ö","ovbar;":"⌽","OverBar;":"‾","OverBrace;":"⏞","OverBracket;":"⎴","OverParenthesis;":"⏜","para;":"¶",para:"¶","parallel;":"∥","par;":"∥","parsim;":"⫳","parsl;":"⫽","part;":"∂","PartialD;":"∂","Pcy;":"П","pcy;":"п","percnt;":"%","period;":".","permil;":"‰","perp;":"⊥","pertenk;":"‱","Pfr;":"𝔓","pfr;":"𝔭","Phi;":"Φ","phi;":"φ","phiv;":"ϕ","phmmat;":"ℳ","phone;":"☎","Pi;":"Π","pi;":"π","pitchfork;":"⋔","piv;":"ϖ","planck;":"ℏ","planckh;":"ℎ","plankv;":"ℏ","plusacir;":"⨣","plusb;":"⊞","pluscir;":"⨢","plus;":"+","plusdo;":"∔","plusdu;":"⨥","pluse;":"⩲","PlusMinus;":"±","plusmn;":"±",plusmn:"±","plussim;":"⨦","plustwo;":"⨧","pm;":"±","Poincareplane;":"ℌ","pointint;":"⨕","popf;":"𝕡","Popf;":"ℙ","pound;":"£",pound:"£","prap;":"⪷","Pr;":"⪻","pr;":"≺","prcue;":"≼","precapprox;":"⪷","prec;":"≺","preccurlyeq;":"≼","Precedes;":"≺","PrecedesEqual;":"⪯","PrecedesSlantEqual;":"≼","PrecedesTilde;":"≾","preceq;":"⪯","precnapprox;":"⪹","precneqq;":"⪵","precnsim;":"⋨","pre;":"⪯","prE;":"⪳","precsim;":"≾","prime;":"′","Prime;":"″","primes;":"ℙ","prnap;":"⪹","prnE;":"⪵","prnsim;":"⋨","prod;":"∏","Product;":"∏","profalar;":"⌮","profline;":"⌒","profsurf;":"⌓","prop;":"∝","Proportional;":"∝","Proportion;":"∷","propto;":"∝","prsim;":"≾","prurel;":"⊰","Pscr;":"𝒫","pscr;":"𝓅","Psi;":"Ψ","psi;":"ψ","puncsp;":" ","Qfr;":"𝔔","qfr;":"𝔮","qint;":"⨌","qopf;":"𝕢","Qopf;":"ℚ","qprime;":"⁗","Qscr;":"𝒬","qscr;":"𝓆","quaternions;":"ℍ","quatint;":"⨖","quest;":"?","questeq;":"≟","quot;":'"',quot:'"',"QUOT;":'"',QUOT:'"',"rAarr;":"⇛","race;":"∽̱","Racute;":"Ŕ","racute;":"ŕ","radic;":"√","raemptyv;":"⦳","rang;":"⟩","Rang;":"⟫","rangd;":"⦒","range;":"⦥","rangle;":"⟩","raquo;":"»",raquo:"»","rarrap;":"⥵","rarrb;":"⇥","rarrbfs;":"⤠","rarrc;":"⤳","rarr;":"→","Rarr;":"↠","rArr;":"⇒","rarrfs;":"⤞","rarrhk;":"↪","rarrlp;":"↬","rarrpl;":"⥅","rarrsim;":"⥴","Rarrtl;":"⤖","rarrtl;":"↣","rarrw;":"↝","ratail;":"⤚","rAtail;":"⤜","ratio;":"∶","rationals;":"ℚ","rbarr;":"⤍","rBarr;":"⤏","RBarr;":"⤐","rbbrk;":"❳","rbrace;":"}","rbrack;":"]","rbrke;":"⦌","rbrksld;":"⦎","rbrkslu;":"⦐","Rcaron;":"Ř","rcaron;":"ř","Rcedil;":"Ŗ","rcedil;":"ŗ","rceil;":"⌉","rcub;":"}","Rcy;":"Р","rcy;":"р","rdca;":"⤷","rdldhar;":"⥩","rdquo;":"”","rdquor;":"”","rdsh;":"↳","real;":"ℜ","realine;":"ℛ","realpart;":"ℜ","reals;":"ℝ","Re;":"ℜ","rect;":"▭","reg;":"®",reg:"®","REG;":"®",REG:"®","ReverseElement;":"∋","ReverseEquilibrium;":"⇋","ReverseUpEquilibrium;":"⥯","rfisht;":"⥽","rfloor;":"⌋","rfr;":"𝔯","Rfr;":"ℜ","rHar;":"⥤","rhard;":"⇁","rharu;":"⇀","rharul;":"⥬","Rho;":"Ρ","rho;":"ρ","rhov;":"ϱ","RightAngleBracket;":"⟩","RightArrowBar;":"⇥","rightarrow;":"→","RightArrow;":"→","Rightarrow;":"⇒","RightArrowLeftArrow;":"⇄","rightarrowtail;":"↣","RightCeiling;":"⌉","RightDoubleBracket;":"⟧","RightDownTeeVector;":"⥝","RightDownVectorBar;":"⥕","RightDownVector;":"⇂","RightFloor;":"⌋","rightharpoondown;":"⇁","rightharpoonup;":"⇀","rightleftarrows;":"⇄","rightleftharpoons;":"⇌","rightrightarrows;":"⇉","rightsquigarrow;":"↝","RightTeeArrow;":"↦","RightTee;":"⊢","RightTeeVector;":"⥛","rightthreetimes;":"⋌","RightTriangleBar;":"⧐","RightTriangle;":"⊳","RightTriangleEqual;":"⊵","RightUpDownVector;":"⥏","RightUpTeeVector;":"⥜","RightUpVectorBar;":"⥔","RightUpVector;":"↾","RightVectorBar;":"⥓","RightVector;":"⇀","ring;":"˚","risingdotseq;":"≓","rlarr;":"⇄","rlhar;":"⇌","rlm;":"‏","rmoustache;":"⎱","rmoust;":"⎱","rnmid;":"⫮","roang;":"⟭","roarr;":"⇾","robrk;":"⟧","ropar;":"⦆","ropf;":"𝕣","Ropf;":"ℝ","roplus;":"⨮","rotimes;":"⨵","RoundImplies;":"⥰","rpar;":")","rpargt;":"⦔","rppolint;":"⨒","rrarr;":"⇉","Rrightarrow;":"⇛","rsaquo;":"›","rscr;":"𝓇","Rscr;":"ℛ","rsh;":"↱","Rsh;":"↱","rsqb;":"]","rsquo;":"’","rsquor;":"’","rthree;":"⋌","rtimes;":"⋊","rtri;":"▹","rtrie;":"⊵","rtrif;":"▸","rtriltri;":"⧎","RuleDelayed;":"⧴","ruluhar;":"⥨","rx;":"℞","Sacute;":"Ś","sacute;":"ś","sbquo;":"‚","scap;":"⪸","Scaron;":"Š","scaron;":"š","Sc;":"⪼","sc;":"≻","sccue;":"≽","sce;":"⪰","scE;":"⪴","Scedil;":"Ş","scedil;":"ş","Scirc;":"Ŝ","scirc;":"ŝ","scnap;":"⪺","scnE;":"⪶","scnsim;":"⋩","scpolint;":"⨓","scsim;":"≿","Scy;":"С","scy;":"с","sdotb;":"⊡","sdot;":"⋅","sdote;":"⩦","searhk;":"⤥","searr;":"↘","seArr;":"⇘","searrow;":"↘","sect;":"§",sect:"§","semi;":";","seswar;":"⤩","setminus;":"∖","setmn;":"∖","sext;":"✶","Sfr;":"𝔖","sfr;":"𝔰","sfrown;":"⌢","sharp;":"♯","SHCHcy;":"Щ","shchcy;":"щ","SHcy;":"Ш","shcy;":"ш","ShortDownArrow;":"↓","ShortLeftArrow;":"←","shortmid;":"∣","shortparallel;":"∥","ShortRightArrow;":"→","ShortUpArrow;":"↑","shy;":"­",shy:"­","Sigma;":"Σ","sigma;":"σ","sigmaf;":"ς","sigmav;":"ς","sim;":"∼","simdot;":"⩪","sime;":"≃","simeq;":"≃","simg;":"⪞","simgE;":"⪠","siml;":"⪝","simlE;":"⪟","simne;":"≆","simplus;":"⨤","simrarr;":"⥲","slarr;":"←","SmallCircle;":"∘","smallsetminus;":"∖","smashp;":"⨳","smeparsl;":"⧤","smid;":"∣","smile;":"⌣","smt;":"⪪","smte;":"⪬","smtes;":"⪬︀","SOFTcy;":"Ь","softcy;":"ь","solbar;":"⌿","solb;":"⧄","sol;":"/","Sopf;":"𝕊","sopf;":"𝕤","spades;":"♠","spadesuit;":"♠","spar;":"∥","sqcap;":"⊓","sqcaps;":"⊓︀","sqcup;":"⊔","sqcups;":"⊔︀","Sqrt;":"√","sqsub;":"⊏","sqsube;":"⊑","sqsubset;":"⊏","sqsubseteq;":"⊑","sqsup;":"⊐","sqsupe;":"⊒","sqsupset;":"⊐","sqsupseteq;":"⊒","square;":"□","Square;":"□","SquareIntersection;":"⊓","SquareSubset;":"⊏","SquareSubsetEqual;":"⊑","SquareSuperset;":"⊐","SquareSupersetEqual;":"⊒","SquareUnion;":"⊔","squarf;":"▪","squ;":"□","squf;":"▪","srarr;":"→","Sscr;":"𝒮","sscr;":"𝓈","ssetmn;":"∖","ssmile;":"⌣","sstarf;":"⋆","Star;":"⋆","star;":"☆","starf;":"★","straightepsilon;":"ϵ","straightphi;":"ϕ","strns;":"¯","sub;":"⊂","Sub;":"⋐","subdot;":"⪽","subE;":"⫅","sube;":"⊆","subedot;":"⫃","submult;":"⫁","subnE;":"⫋","subne;":"⊊","subplus;":"⪿","subrarr;":"⥹","subset;":"⊂","Subset;":"⋐","subseteq;":"⊆","subseteqq;":"⫅","SubsetEqual;":"⊆","subsetneq;":"⊊","subsetneqq;":"⫋","subsim;":"⫇","subsub;":"⫕","subsup;":"⫓","succapprox;":"⪸","succ;":"≻","succcurlyeq;":"≽","Succeeds;":"≻","SucceedsEqual;":"⪰","SucceedsSlantEqual;":"≽","SucceedsTilde;":"≿","succeq;":"⪰","succnapprox;":"⪺","succneqq;":"⪶","succnsim;":"⋩","succsim;":"≿","SuchThat;":"∋","sum;":"∑","Sum;":"∑","sung;":"♪","sup1;":"¹",sup1:"¹","sup2;":"²",sup2:"²","sup3;":"³",sup3:"³","sup;":"⊃","Sup;":"⋑","supdot;":"⪾","supdsub;":"⫘","supE;":"⫆","supe;":"⊇","supedot;":"⫄","Superset;":"⊃","SupersetEqual;":"⊇","suphsol;":"⟉","suphsub;":"⫗","suplarr;":"⥻","supmult;":"⫂","supnE;":"⫌","supne;":"⊋","supplus;":"⫀","supset;":"⊃","Supset;":"⋑","supseteq;":"⊇","supseteqq;":"⫆","supsetneq;":"⊋","supsetneqq;":"⫌","supsim;":"⫈","supsub;":"⫔","supsup;":"⫖","swarhk;":"⤦","swarr;":"↙","swArr;":"⇙","swarrow;":"↙","swnwar;":"⤪","szlig;":"ß",szlig:"ß","Tab;":"\t","target;":"⌖","Tau;":"Τ","tau;":"τ","tbrk;":"⎴","Tcaron;":"Ť","tcaron;":"ť","Tcedil;":"Ţ","tcedil;":"ţ","Tcy;":"Т","tcy;":"т","tdot;":"⃛","telrec;":"⌕","Tfr;":"𝔗","tfr;":"𝔱","there4;":"∴","therefore;":"∴","Therefore;":"∴","Theta;":"Θ","theta;":"θ","thetasym;":"ϑ","thetav;":"ϑ","thickapprox;":"≈","thicksim;":"∼","ThickSpace;":"  ","ThinSpace;":" ","thinsp;":" ","thkap;":"≈","thksim;":"∼","THORN;":"Þ",THORN:"Þ","thorn;":"þ",thorn:"þ","tilde;":"˜","Tilde;":"∼","TildeEqual;":"≃","TildeFullEqual;":"≅","TildeTilde;":"≈","timesbar;":"⨱","timesb;":"⊠","times;":"×",times:"×","timesd;":"⨰","tint;":"∭","toea;":"⤨","topbot;":"⌶","topcir;":"⫱","top;":"⊤","Topf;":"𝕋","topf;":"𝕥","topfork;":"⫚","tosa;":"⤩","tprime;":"‴","trade;":"™","TRADE;":"™","triangle;":"▵","triangledown;":"▿","triangleleft;":"◃","trianglelefteq;":"⊴","triangleq;":"≜","triangleright;":"▹","trianglerighteq;":"⊵","tridot;":"◬","trie;":"≜","triminus;":"⨺","TripleDot;":"⃛","triplus;":"⨹","trisb;":"⧍","tritime;":"⨻","trpezium;":"⏢","Tscr;":"𝒯","tscr;":"𝓉","TScy;":"Ц","tscy;":"ц","TSHcy;":"Ћ","tshcy;":"ћ","Tstrok;":"Ŧ","tstrok;":"ŧ","twixt;":"≬","twoheadleftarrow;":"↞","twoheadrightarrow;":"↠","Uacute;":"Ú",Uacute:"Ú","uacute;":"ú",uacute:"ú","uarr;":"↑","Uarr;":"↟","uArr;":"⇑","Uarrocir;":"⥉","Ubrcy;":"Ў","ubrcy;":"ў","Ubreve;":"Ŭ","ubreve;":"ŭ","Ucirc;":"Û",Ucirc:"Û","ucirc;":"û",ucirc:"û","Ucy;":"У","ucy;":"у","udarr;":"⇅","Udblac;":"Ű","udblac;":"ű","udhar;":"⥮","ufisht;":"⥾","Ufr;":"𝔘","ufr;":"𝔲","Ugrave;":"Ù",Ugrave:"Ù","ugrave;":"ù",ugrave:"ù","uHar;":"⥣","uharl;":"↿","uharr;":"↾","uhblk;":"▀","ulcorn;":"⌜","ulcorner;":"⌜","ulcrop;":"⌏","ultri;":"◸","Umacr;":"Ū","umacr;":"ū","uml;":"¨",uml:"¨","UnderBar;":"_","UnderBrace;":"⏟","UnderBracket;":"⎵","UnderParenthesis;":"⏝","Union;":"⋃","UnionPlus;":"⊎","Uogon;":"Ų","uogon;":"ų","Uopf;":"𝕌","uopf;":"𝕦","UpArrowBar;":"⤒","uparrow;":"↑","UpArrow;":"↑","Uparrow;":"⇑","UpArrowDownArrow;":"⇅","updownarrow;":"↕","UpDownArrow;":"↕","Updownarrow;":"⇕","UpEquilibrium;":"⥮","upharpoonleft;":"↿","upharpoonright;":"↾","uplus;":"⊎","UpperLeftArrow;":"↖","UpperRightArrow;":"↗","upsi;":"υ","Upsi;":"ϒ","upsih;":"ϒ","Upsilon;":"Υ","upsilon;":"υ","UpTeeArrow;":"↥","UpTee;":"⊥","upuparrows;":"⇈","urcorn;":"⌝","urcorner;":"⌝","urcrop;":"⌎","Uring;":"Ů","uring;":"ů","urtri;":"◹","Uscr;":"𝒰","uscr;":"𝓊","utdot;":"⋰","Utilde;":"Ũ","utilde;":"ũ","utri;":"▵","utrif;":"▴","uuarr;":"⇈","Uuml;":"Ü",Uuml:"Ü","uuml;":"ü",uuml:"ü","uwangle;":"⦧","vangrt;":"⦜","varepsilon;":"ϵ","varkappa;":"ϰ","varnothing;":"∅","varphi;":"ϕ","varpi;":"ϖ","varpropto;":"∝","varr;":"↕","vArr;":"⇕","varrho;":"ϱ","varsigma;":"ς","varsubsetneq;":"⊊︀","varsubsetneqq;":"⫋︀","varsupsetneq;":"⊋︀","varsupsetneqq;":"⫌︀","vartheta;":"ϑ","vartriangleleft;":"⊲","vartriangleright;":"⊳","vBar;":"⫨","Vbar;":"⫫","vBarv;":"⫩","Vcy;":"В","vcy;":"в","vdash;":"⊢","vDash;":"⊨","Vdash;":"⊩","VDash;":"⊫","Vdashl;":"⫦","veebar;":"⊻","vee;":"∨","Vee;":"⋁","veeeq;":"≚","vellip;":"⋮","verbar;":"|","Verbar;":"‖","vert;":"|","Vert;":"‖","VerticalBar;":"∣","VerticalLine;":"|","VerticalSeparator;":"❘","VerticalTilde;":"≀","VeryThinSpace;":" ","Vfr;":"𝔙","vfr;":"𝔳","vltri;":"⊲","vnsub;":"⊂⃒","vnsup;":"⊃⃒","Vopf;":"𝕍","vopf;":"𝕧","vprop;":"∝","vrtri;":"⊳","Vscr;":"𝒱","vscr;":"𝓋","vsubnE;":"⫋︀","vsubne;":"⊊︀","vsupnE;":"⫌︀","vsupne;":"⊋︀","Vvdash;":"⊪","vzigzag;":"⦚","Wcirc;":"Ŵ","wcirc;":"ŵ","wedbar;":"⩟","wedge;":"∧","Wedge;":"⋀","wedgeq;":"≙","weierp;":"℘","Wfr;":"𝔚","wfr;":"𝔴","Wopf;":"𝕎","wopf;":"𝕨","wp;":"℘","wr;":"≀","wreath;":"≀","Wscr;":"𝒲","wscr;":"𝓌","xcap;":"⋂","xcirc;":"◯","xcup;":"⋃","xdtri;":"▽","Xfr;":"𝔛","xfr;":"𝔵","xharr;":"⟷","xhArr;":"⟺","Xi;":"Ξ","xi;":"ξ","xlarr;":"⟵","xlArr;":"⟸","xmap;":"⟼","xnis;":"⋻","xodot;":"⨀","Xopf;":"𝕏","xopf;":"𝕩","xoplus;":"⨁","xotime;":"⨂","xrarr;":"⟶","xrArr;":"⟹","Xscr;":"𝒳","xscr;":"𝓍","xsqcup;":"⨆","xuplus;":"⨄","xutri;":"△","xvee;":"⋁","xwedge;":"⋀","Yacute;":"Ý",Yacute:"Ý","yacute;":"ý",yacute:"ý","YAcy;":"Я","yacy;":"я","Ycirc;":"Ŷ","ycirc;":"ŷ","Ycy;":"Ы","ycy;":"ы","yen;":"¥",yen:"¥","Yfr;":"𝔜","yfr;":"𝔶","YIcy;":"Ї","yicy;":"ї","Yopf;":"𝕐","yopf;":"𝕪","Yscr;":"𝒴","yscr;":"𝓎","YUcy;":"Ю","yucy;":"ю","yuml;":"ÿ",yuml:"ÿ","Yuml;":"Ÿ","Zacute;":"Ź","zacute;":"ź","Zcaron;":"Ž","zcaron;":"ž","Zcy;":"З","zcy;":"з","Zdot;":"Ż","zdot;":"ż","zeetrf;":"ℨ","ZeroWidthSpace;":"​","Zeta;":"Ζ","zeta;":"ζ","zfr;":"𝔷","Zfr;":"ℨ","ZHcy;":"Ж","zhcy;":"ж","zigrarr;":"⇝","zopf;":"𝕫","Zopf;":"ℤ","Zscr;":"𝒵","zscr;":"𝓏","zwj;":"‍","zwnj;":"‌"}},{}],13:[function(e,t,r){var n=e("util/"),a=Array.prototype.slice,o=Object.prototype.hasOwnProperty,i=t.exports=d;function s(e,t){return n.isUndefined(t)?""+t:!n.isNumber(t)||!isNaN(t)&&isFinite(t)?n.isFunction(t)||n.isRegExp(t)?t.toString():t:t.toString()}function c(e,t){return n.isString(e)?e.length<t?e:e.slice(0,t):e}function l(e,t,r,n,a){throw new i.AssertionError({message:r,actual:e,expected:t,operator:n,stackStartFunction:a})}function d(e,t){e||l(e,!0,t,"==",i.ok)}function p(e,t){if(e===t)return!0;if(n.isBuffer(e)&&n.isBuffer(t)){if(e.length!=t.length)return!1;for(var r=0;r<e.length;r++)if(e[r]!==t[r])return!1;return!0}return n.isDate(e)&&n.isDate(t)?e.getTime()===t.getTime():n.isRegExp(e)&&n.isRegExp(t)?e.source===t.source&&e.global===t.global&&e.multiline===t.multiline&&e.lastIndex===t.lastIndex&&e.ignoreCase===t.ignoreCase:n.isObject(e)||n.isObject(t)?function(e,t){if(n.isNullOrUndefined(e)||n.isNullOrUndefined(t))return!1;if(e.prototype!==t.prototype)return!1;if(u(e))return!!u(t)&&p(e=a.call(e),t=a.call(t));try{var r,o,i=g(e),s=g(t)}catch(e){return!1}if(i.length!=s.length)return!1;for(i.sort(),s.sort(),o=i.length-1;o>=0;o--)if(i[o]!=s[o])return!1;for(o=i.length-1;o>=0;o--)if(!p(e[r=i[o]],t[r]))return!1;return!0}(e,t):e==t}function u(e){return"[object Arguments]"==Object.prototype.toString.call(e)}function h(e,t){return!(!e||!t)&&("[object RegExp]"==Object.prototype.toString.call(t)?t.test(e):e instanceof t||!0===t.call({},e))}function m(e,t,r,a){var o;n.isString(r)&&(a=r,r=null);try{t()}catch(e){o=e}if(a=(r&&r.name?" ("+r.name+").":".")+(a?" "+a:"."),e&&!o&&l(o,r,"Missing expected exception"+a),!e&&h(o,r)&&l(o,r,"Got unwanted exception"+a),e&&o&&r&&!h(o,r)||!e&&o)throw o}i.AssertionError=function(e){this.name="AssertionError",this.actual=e.actual,this.expected=e.expected,this.operator=e.operator,e.message?(this.message=e.message,this.generatedMessage=!1):(this.message=function(e){return c(JSON.stringify(e.actual,s),128)+" "+e.operator+" "+c(JSON.stringify(e.expected,s),128)}(this),this.generatedMessage=!0);var t=e.stackStartFunction||l;if(Error.captureStackTrace)Error.captureStackTrace(this,t);else{var r=new Error;if(r.stack){var n=r.stack,a=t.name,o=n.indexOf("\n"+a);if(o>=0){var i=n.indexOf("\n",o+1);n=n.substring(i+1)}this.stack=n}}},n.inherits(i.AssertionError,Error),i.fail=l,i.ok=d,i.equal=function(e,t,r){e!=t&&l(e,t,r,"==",i.equal)},i.notEqual=function(e,t,r){e==t&&l(e,t,r,"!=",i.notEqual)},i.deepEqual=function(e,t,r){p(e,t)||l(e,t,r,"deepEqual",i.deepEqual)},i.notDeepEqual=function(e,t,r){p(e,t)&&l(e,t,r,"notDeepEqual",i.notDeepEqual)},i.strictEqual=function(e,t,r){e!==t&&l(e,t,r,"===",i.strictEqual)},i.notStrictEqual=function(e,t,r){e===t&&l(e,t,r,"!==",i.notStrictEqual)},i.throws=function(e,t,r){m.apply(this,[!0].concat(a.call(arguments)))},i.doesNotThrow=function(e,t){m.apply(this,[!1].concat(a.call(arguments)))},i.ifError=function(e){if(e)throw e};var g=Object.keys||function(e){var t=[];for(var r in e)o.call(e,r)&&t.push(r);return t}},{"util/":15}],14:[function(e,t,r){t.exports=function(e){return e&&"object"==typeof e&&"function"==typeof e.copy&&"function"==typeof e.fill&&"function"==typeof e.readUInt8}},{}],15:[function(e,t,r){(function(t,n){var a=/%[sdj%]/g;r.format=function(e){if(!T(e)){for(var t=[],r=0;r<arguments.length;r++)t.push(s(arguments[r]));return t.join(" ")}r=1;for(var n=arguments,o=n.length,i=String(e).replace(a,(function(e){if("%%"===e)return"%";if(r>=o)return e;switch(e){case"%s":return String(n[r++]);case"%d":return Number(n[r++]);case"%j":try{return JSON.stringify(n[r++])}catch(e){return"[Circular]"}default:return e}})),c=n[r];r<o;c=n[++r])g(c)||!E(c)?i+=" "+c:i+=" "+s(c);return i},r.deprecate=function(e,a){if(b(n.process))return function(){return r.deprecate(e,a).apply(this,arguments)};if(!0===t.noDeprecation)return e;var o=!1;return function(){if(!o){if(t.throwDeprecation)throw new Error(a);t.traceDeprecation?console.trace(a):console.error(a),o=!0}return e.apply(this,arguments)}};var o,i={};function s(e,t){var n={seen:[],stylize:l};return arguments.length>=3&&(n.depth=arguments[2]),arguments.length>=4&&(n.colors=arguments[3]),m(t)?n.showHidden=t:t&&r._extend(n,t),b(n.showHidden)&&(n.showHidden=!1),b(n.depth)&&(n.depth=2),b(n.colors)&&(n.colors=!1),b(n.customInspect)&&(n.customInspect=!0),n.colors&&(n.stylize=c),d(n,e,n.depth)}function c(e,t){var r=s.styles[t];return r?"["+s.colors[r][0]+"m"+e+"["+s.colors[r][1]+"m":e}function l(e,t){return e}function d(e,t,n){if(e.customInspect&&t&&x(t.inspect)&&t.inspect!==r.inspect&&(!t.constructor||t.constructor.prototype!==t)){var a=t.inspect(n,e);return T(a)||(a=d(e,a,n)),a}var o=function(e,t){if(b(t))return e.stylize("undefined","undefined");if(T(t)){var r="'"+JSON.stringify(t).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return e.stylize(r,"string")}if(f(t))return e.stylize(""+t,"number");if(m(t))return e.stylize(""+t,"boolean");if(g(t))return e.stylize("null","null")}(e,t);if(o)return o;var i=Object.keys(t),s=function(e){var t={};return e.forEach((function(e,r){t[e]=!0})),t}(i);if(e.showHidden&&(i=Object.getOwnPropertyNames(t)),v(t)&&(i.indexOf("message")>=0||i.indexOf("description")>=0))return p(t);if(0===i.length){if(x(t)){var c=t.name?": "+t.name:"";return e.stylize("[Function"+c+"]","special")}if(y(t))return e.stylize(RegExp.prototype.toString.call(t),"regexp");if(w(t))return e.stylize(Date.prototype.toString.call(t),"date");if(v(t))return p(t)}var l,E="",k=!1,S=["{","}"];(h(t)&&(k=!0,S=["[","]"]),x(t))&&(E=" [Function"+(t.name?": "+t.name:"")+"]");return y(t)&&(E=" "+RegExp.prototype.toString.call(t)),w(t)&&(E=" "+Date.prototype.toUTCString.call(t)),v(t)&&(E=" "+p(t)),0!==i.length||k&&0!=t.length?n<0?y(t)?e.stylize(RegExp.prototype.toString.call(t),"regexp"):e.stylize("[Object]","special"):(e.seen.push(t),l=k?function(e,t,r,n,a){for(var o=[],i=0,s=t.length;i<s;++i)N(t,String(i))?o.push(u(e,t,r,n,String(i),!0)):o.push("");return a.forEach((function(a){a.match(/^\d+$/)||o.push(u(e,t,r,n,a,!0))})),o}(e,t,n,s,i):i.map((function(r){return u(e,t,n,s,r,k)})),e.seen.pop(),function(e,t,r){if(e.reduce((function(e,t){return t.indexOf("\n")>=0&&0,e+t.replace(/\u001b\[\d\d?m/g,"").length+1}),0)>60)return r[0]+(""===t?"":t+"\n ")+" "+e.join(",\n ")+" "+r[1];return r[0]+t+" "+e.join(", ")+" "+r[1]}(l,E,S)):S[0]+E+S[1]}function p(e){return"["+Error.prototype.toString.call(e)+"]"}function u(e,t,r,n,a,o){var i,s,c;if((c=Object.getOwnPropertyDescriptor(t,a)||{value:t[a]}).get?s=c.set?e.stylize("[Getter/Setter]","special"):e.stylize("[Getter]","special"):c.set&&(s=e.stylize("[Setter]","special")),N(n,a)||(i="["+a+"]"),s||(e.seen.indexOf(c.value)<0?(s=g(r)?d(e,c.value,null):d(e,c.value,r-1)).indexOf("\n")>-1&&(s=o?s.split("\n").map((function(e){return" "+e})).join("\n").substr(2):"\n"+s.split("\n").map((function(e){return" "+e})).join("\n")):s=e.stylize("[Circular]","special")),b(i)){if(o&&a.match(/^\d+$/))return s;(i=JSON.stringify(""+a)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(i=i.substr(1,i.length-2),i=e.stylize(i,"name")):(i=i.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),i=e.stylize(i,"string"))}return i+": "+s}function h(e){return Array.isArray(e)}function m(e){return"boolean"==typeof e}function g(e){return null===e}function f(e){return"number"==typeof e}function T(e){return"string"==typeof e}function b(e){return void 0===e}function y(e){return E(e)&&"[object RegExp]"===k(e)}function E(e){return"object"==typeof e&&null!==e}function w(e){return E(e)&&"[object Date]"===k(e)}function v(e){return E(e)&&("[object Error]"===k(e)||e instanceof Error)}function x(e){return"function"==typeof e}function k(e){return Object.prototype.toString.call(e)}function S(e){return e<10?"0"+e.toString(10):e.toString(10)}r.debuglog=function(e){if(b(o)&&(o=t.env.NODE_DEBUG||""),e=e.toUpperCase(),!i[e])if(new RegExp("\\b"+e+"\\b","i").test(o)){var n=t.pid;i[e]=function(){var t=r.format.apply(r,arguments);console.error("%s %d: %s",e,n,t)}}else i[e]=function(){};return i[e]},r.inspect=s,s.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},s.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"},r.isArray=h,r.isBoolean=m,r.isNull=g,r.isNullOrUndefined=function(e){return null==e},r.isNumber=f,r.isString=T,r.isSymbol=function(e){return"symbol"==typeof e},r.isUndefined=b,r.isRegExp=y,r.isObject=E,r.isDate=w,r.isError=v,r.isFunction=x,r.isPrimitive=function(e){return null===e||"boolean"==typeof e||"number"==typeof e||"string"==typeof e||"symbol"==typeof e||void 0===e},r.isBuffer=e("./support/isBuffer");var _=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function C(){var e=new Date,t=[S(e.getHours()),S(e.getMinutes()),S(e.getSeconds())].join(":");return[e.getDate(),_[e.getMonth()],t].join(" ")}function N(e,t){return Object.prototype.hasOwnProperty.call(e,t)}r.log=function(){console.log("%s - %s",C(),r.format.apply(r,arguments))},r.inherits=e("inherits"),r._extend=function(e,t){if(!t||!E(t))return e;for(var r=Object.keys(t),n=r.length;n--;)e[r[n]]=t[r[n]];return e}}).call(this,e("/usr/local/lib/node_modules/browserify/node_modules/insert-module-globals/node_modules/process/browser.js"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"./support/isBuffer":14,"/usr/local/lib/node_modules/browserify/node_modules/insert-module-globals/node_modules/process/browser.js":18,inherits:17}],16:[function(e,t,r){function n(){this._events=this._events||{},this._maxListeners=this._maxListeners||void 0}function a(e){return"function"==typeof e}function o(e){return"object"==typeof e&&null!==e}function i(e){return void 0===e}t.exports=n,n.EventEmitter=n,n.prototype._events=void 0,n.prototype._maxListeners=void 0,n.defaultMaxListeners=10,n.prototype.setMaxListeners=function(e){if("number"!=typeof e||e<0||isNaN(e))throw TypeError("n must be a positive number");return this._maxListeners=e,this},n.prototype.emit=function(e){var t,r,n,s,c,l;if(this._events||(this._events={}),"error"===e&&(!this._events.error||o(this._events.error)&&!this._events.error.length))throw(t=arguments[1])instanceof Error?t:TypeError('Uncaught, unspecified "error" event.');if(i(r=this._events[e]))return!1;if(a(r))switch(arguments.length){case 1:r.call(this);break;case 2:r.call(this,arguments[1]);break;case 3:r.call(this,arguments[1],arguments[2]);break;default:for(n=arguments.length,s=new Array(n-1),c=1;c<n;c++)s[c-1]=arguments[c];r.apply(this,s)}else if(o(r)){for(n=arguments.length,s=new Array(n-1),c=1;c<n;c++)s[c-1]=arguments[c];for(n=(l=r.slice()).length,c=0;c<n;c++)l[c].apply(this,s)}return!0},n.prototype.addListener=function(e,t){var r;if(!a(t))throw TypeError("listener must be a function");(this._events||(this._events={}),this._events.newListener&&this.emit("newListener",e,a(t.listener)?t.listener:t),this._events[e]?o(this._events[e])?this._events[e].push(t):this._events[e]=[this._events[e],t]:this._events[e]=t,o(this._events[e])&&!this._events[e].warned)&&((r=i(this._maxListeners)?n.defaultMaxListeners:this._maxListeners)&&r>0&&this._events[e].length>r&&(this._events[e].warned=!0,console.error("(node) warning: possible EventEmitter memory leak detected. %d listeners added. Use emitter.setMaxListeners() to increase limit.",this._events[e].length),console.trace()));return this},n.prototype.on=n.prototype.addListener,n.prototype.once=function(e,t){if(!a(t))throw TypeError("listener must be a function");var r=!1;function n(){this.removeListener(e,n),r||(r=!0,t.apply(this,arguments))}return n.listener=t,this.on(e,n),this},n.prototype.removeListener=function(e,t){var r,n,i,s;if(!a(t))throw TypeError("listener must be a function");if(!this._events||!this._events[e])return this;if(i=(r=this._events[e]).length,n=-1,r===t||a(r.listener)&&r.listener===t)delete this._events[e],this._events.removeListener&&this.emit("removeListener",e,t);else if(o(r)){for(s=i;s-- >0;)if(r[s]===t||r[s].listener&&r[s].listener===t){n=s;break}if(n<0)return this;1===r.length?(r.length=0,delete this._events[e]):r.splice(n,1),this._events.removeListener&&this.emit("removeListener",e,t)}return this},n.prototype.removeAllListeners=function(e){var t,r;if(!this._events)return this;if(!this._events.removeListener)return 0===arguments.length?this._events={}:this._events[e]&&delete this._events[e],this;if(0===arguments.length){for(t in this._events)"removeListener"!==t&&this.removeAllListeners(t);return this.removeAllListeners("removeListener"),this._events={},this}if(a(r=this._events[e]))this.removeListener(e,r);else for(;r.length;)this.removeListener(e,r[r.length-1]);return delete this._events[e],this},n.prototype.listeners=function(e){return this._events&&this._events[e]?a(this._events[e])?[this._events[e]]:this._events[e].slice():[]},n.listenerCount=function(e,t){return e._events&&e._events[t]?a(e._events[t])?1:e._events[t].length:0}},{}],17:[function(e,t,r){"function"==typeof Object.create?t.exports=function(e,t){e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}})}:t.exports=function(e,t){e.super_=t;var r=function(){};r.prototype=t.prototype,e.prototype=new r,e.prototype.constructor=e}},{}],18:[function(e,t,r){var n=t.exports={};function a(){}n.nextTick=function(){var e="undefined"!=typeof window&&window.setImmediate,t="undefined"!=typeof window&&window.postMessage&&window.addEventListener;if(e)return function(e){return window.setImmediate(e)};if(t){var r=[];return window.addEventListener("message",(function(e){var t=e.source;t!==window&&null!==t||"process-tick"!==e.data||(e.stopPropagation(),r.length>0&&r.shift()())}),!0),function(e){r.push(e),window.postMessage("process-tick","*")}}return function(e){setTimeout(e,0)}}(),n.title="browser",n.browser=!0,n.env={},n.argv=[],n.on=a,n.once=a,n.off=a,n.emit=a,n.binding=function(e){throw new Error("process.binding is not supported")},n.cwd=function(){return"/"},n.chdir=function(e){throw new Error("process.chdir is not supported")}},{}],19:[function(e,t,r){t.exports=e(14)},{}],20:[function(e,t,r){t.exports=e(15)},{"./support/isBuffer":19,"/usr/local/lib/node_modules/browserify/node_modules/insert-module-globals/node_modules/process/browser.js":18,inherits:17}]},{},[9])(9)})),ace.define("ace/mode/html_worker",[],(function(e,t,r){"use strict";var n=e("../lib/oop"),a=(e("../lib/lang"),e("../worker/mirror").Mirror),o=e("./html/saxparser").SAXParser,i={"expected-doctype-but-got-start-tag":"info","expected-doctype-but-got-chars":"info","non-html-root":"info"},s=t.Worker=function(e){a.call(this,e),this.setTimeout(400),this.context=null};n.inherits(s,a),function(){this.setOptions=function(e){this.context=e.context},this.onUpdate=function(){var e=this.doc.getValue();if(e){var t=new o,r=[],n=function(){};t.contentHandler={startDocument:n,endDocument:n,startElement:n,endElement:n,characters:n},t.errorHandler={error:function(e,t,n){r.push({row:t.line,column:t.column,text:e,type:i[n]||"error"})}},t.parse(e,this.context),this.sender.emit("error",r)}}}.call(s.prototype)}));