From fb4fc6e3bb2a3485b35218359f85670f50e6b327 Mon Sep 17 00:00:00 2001 From: Jannik ZANDER Date: Wed, 1 Aug 2018 09:52:35 +0200 Subject: [PATCH] Site updated: 2018-08-01 09:52:35 --- 2018/07/22/babyskak/index.html | 1 + 2018/07/26/garden/index.html | 1 + .../page/_app.js | 1 - .../page/_app.js.map | 1 - .../page/_error.js | 1 - .../page/_error.js.map | 1 - .../page/index.js | 1 - .../page/index.js.map | 1 - .../page/post.js | 1 - .../page/post.js.map | 1 - .../page/_app.js | 1 - .../page/_app.js.map | 1 - .../page/_error.js | 1 - .../page/_error.js.map | 1 - .../page/index.js | 1 - .../page/index.js.map | 1 - .../page/post.js | 1 - .../commons/main-bb9351c5cf1d1412f5d0.js | 29 - .../commons/main-cfccfa62797d34e8e939.js | 29 - _next/static/commons/main.js | 35334 ---------------- _next/static/commons/main.js.map | 1 - _next/static/commons/manifest.js | 818 - _next/static/commons/manifest.js.map | 1 - about/index.html | 19 +- archives/2018/07/index.html | 1 + archives/2018/index.html | 1 + archives/index.html | 1 + atom.xml | 59 + blog/babyskak/index.html | 17 - blog/garden/index.html | 18 - contact/index.html | 23 +- css/fonts/FontAwesome.otf | Bin 0 -> 62856 bytes css/fonts/fontawesome-webfont.eot | Bin 0 -> 38205 bytes css/fonts/fontawesome-webfont.svg | 1 + css/fonts/fontawesome-webfont.ttf | Bin 0 -> 80652 bytes css/fonts/fontawesome-webfont.woff | Bin 0 -> 44432 bytes css/images/banner.jpg | Bin 0 -> 39613 bytes css/style.css | 1 + fancybox/blank.gif | Bin 0 -> 43 bytes fancybox/fancybox_loading.gif | Bin 0 -> 4455 bytes fancybox/fancybox_loading@2x.gif | Bin 0 -> 11680 bytes fancybox/fancybox_overlay.png | Bin 0 -> 84 bytes fancybox/fancybox_sprite.png | Bin 0 -> 1362 bytes fancybox/fancybox_sprite@2x.png | Bin 0 -> 6508 bytes fancybox/helpers/fancybox_buttons.png | Bin 0 -> 1080 bytes fancybox/helpers/jquery.fancybox-buttons.css | 1 + fancybox/helpers/jquery.fancybox-buttons.js | 1 + fancybox/helpers/jquery.fancybox-media.js | 1 + fancybox/helpers/jquery.fancybox-thumbs.css | 1 + fancybox/helpers/jquery.fancybox-thumbs.js | 1 + fancybox/jquery.fancybox.css | 1 + fancybox/jquery.fancybox.js | 1 + fancybox/jquery.fancybox.pack.js | 1 + images/20180724_164339.jpg | Bin 0 -> 26693 bytes images/baby1.jpg | Bin 0 -> 23154 bytes images/banner.jpg | Bin 0 -> 4643468 bytes images/jaza.png | Bin 0 -> 11454 bytes images/thumb_IMG_3833_1024.jpg | Bin 0 -> 31369 bytes index.html | 17 +- js/script.js | 1 + links/index.html | 1 + sitemap.xml | 46 + static/images/20180724_164339.jpg | Bin 54956 -> 0 bytes static/images/baby1.jpg | Bin 26482 -> 0 bytes static/images/jaza.png | Bin 32242 -> 0 bytes static/images/thumb_IMG_3833_1024.jpg | Bin 38989 -> 0 bytes static/stylesheet.css | 43 - tags/chess/index.html | 1 + tags/house/index.html | 1 + 69 files changed, 127 insertions(+), 36361 deletions(-) create mode 100644 2018/07/22/babyskak/index.html create mode 100644 2018/07/26/garden/index.html delete mode 100644 _next/c913c13c-23a6-4187-bfef-38325f829ed9/page/_app.js delete mode 100644 _next/c913c13c-23a6-4187-bfef-38325f829ed9/page/_app.js.map delete mode 100644 _next/c913c13c-23a6-4187-bfef-38325f829ed9/page/_error.js delete mode 100644 _next/c913c13c-23a6-4187-bfef-38325f829ed9/page/_error.js.map delete mode 100644 _next/c913c13c-23a6-4187-bfef-38325f829ed9/page/index.js delete mode 100644 _next/c913c13c-23a6-4187-bfef-38325f829ed9/page/index.js.map delete mode 100644 _next/c913c13c-23a6-4187-bfef-38325f829ed9/page/post.js delete mode 100644 _next/c913c13c-23a6-4187-bfef-38325f829ed9/page/post.js.map delete mode 100644 _next/e24738ec-443f-42c4-952a-7ce593ed0c8b/page/_app.js delete mode 100644 _next/e24738ec-443f-42c4-952a-7ce593ed0c8b/page/_app.js.map delete mode 100644 _next/e24738ec-443f-42c4-952a-7ce593ed0c8b/page/_error.js delete mode 100644 _next/e24738ec-443f-42c4-952a-7ce593ed0c8b/page/_error.js.map delete mode 100644 _next/e24738ec-443f-42c4-952a-7ce593ed0c8b/page/index.js delete mode 100644 _next/e24738ec-443f-42c4-952a-7ce593ed0c8b/page/index.js.map delete mode 100644 _next/e24738ec-443f-42c4-952a-7ce593ed0c8b/page/post.js delete mode 100644 _next/static/commons/main-bb9351c5cf1d1412f5d0.js delete mode 100644 _next/static/commons/main-cfccfa62797d34e8e939.js delete mode 100644 _next/static/commons/main.js delete mode 100644 _next/static/commons/main.js.map delete mode 100644 _next/static/commons/manifest.js delete mode 100644 _next/static/commons/manifest.js.map create mode 100644 archives/2018/07/index.html create mode 100644 archives/2018/index.html create mode 100644 archives/index.html create mode 100644 atom.xml delete mode 100644 blog/babyskak/index.html delete mode 100644 blog/garden/index.html create mode 100644 css/fonts/FontAwesome.otf create mode 100644 css/fonts/fontawesome-webfont.eot create mode 100644 css/fonts/fontawesome-webfont.svg create mode 100644 css/fonts/fontawesome-webfont.ttf create mode 100644 css/fonts/fontawesome-webfont.woff create mode 100644 css/images/banner.jpg create mode 100644 css/style.css create mode 100644 fancybox/blank.gif create mode 100644 fancybox/fancybox_loading.gif create mode 100644 fancybox/fancybox_loading@2x.gif create mode 100644 fancybox/fancybox_overlay.png create mode 100644 fancybox/fancybox_sprite.png create mode 100644 fancybox/fancybox_sprite@2x.png create mode 100644 fancybox/helpers/fancybox_buttons.png create mode 100644 fancybox/helpers/jquery.fancybox-buttons.css create mode 100644 fancybox/helpers/jquery.fancybox-buttons.js create mode 100644 fancybox/helpers/jquery.fancybox-media.js create mode 100644 fancybox/helpers/jquery.fancybox-thumbs.css create mode 100644 fancybox/helpers/jquery.fancybox-thumbs.js create mode 100644 fancybox/jquery.fancybox.css create mode 100644 fancybox/jquery.fancybox.js create mode 100644 fancybox/jquery.fancybox.pack.js create mode 100644 images/20180724_164339.jpg create mode 100644 images/baby1.jpg create mode 100644 images/banner.jpg create mode 100644 images/jaza.png create mode 100644 images/thumb_IMG_3833_1024.jpg create mode 100644 js/script.js create mode 100644 links/index.html create mode 100644 sitemap.xml delete mode 100644 static/images/20180724_164339.jpg delete mode 100644 static/images/baby1.jpg delete mode 100644 static/images/jaza.png delete mode 100644 static/images/thumb_IMG_3833_1024.jpg delete mode 100644 static/stylesheet.css create mode 100644 tags/chess/index.html create mode 100644 tags/house/index.html diff --git a/2018/07/22/babyskak/index.html b/2018/07/22/babyskak/index.html new file mode 100644 index 0000000..a75d53d --- /dev/null +++ b/2018/07/22/babyskak/index.html @@ -0,0 +1 @@ +Babyskakmester 2018 | Jannik Zander
\ No newline at end of file diff --git a/2018/07/26/garden/index.html b/2018/07/26/garden/index.html new file mode 100644 index 0000000..d0b2da6 --- /dev/null +++ b/2018/07/26/garden/index.html @@ -0,0 +1 @@ +Garden | Jannik Zander
\ No newline at end of file diff --git a/_next/c913c13c-23a6-4187-bfef-38325f829ed9/page/_app.js b/_next/c913c13c-23a6-4187-bfef-38325f829ed9/page/_app.js deleted file mode 100644 index 0afda58..0000000 --- a/_next/c913c13c-23a6-4187-bfef-38325f829ed9/page/_app.js +++ /dev/null @@ -1 +0,0 @@ -module.exports=__NEXT_REGISTER_PAGE("/_app",function(){return{page:webpackJsonp([1],{340:function(e,t,n){e.exports=n(341)},341:function(e,t,n){e.exports=n(342)},342:function(e,t,n){e.exports=n(343)},343:function(e,t,n){"use strict";var r=n(14),a=n(3);Object.defineProperty(t,"__esModule",{value:!0}),t.createUrl=k,t.Container=t.default=void 0;var u=a(n(44)),o=a(n(46)),l=a(n(344)),i=a(n(29)),p=a(n(19)),c=a(n(6)),s=a(n(7)),f=a(n(20)),d=a(n(21)),h=r(n(5)),v=a(n(38)),y=a(n(117)),m=n(18),b=n(36),_=function(e){function t(){return(0,c.default)(this,t),(0,f.default)(this,(t.__proto__||(0,p.default)(t)).apply(this,arguments))}var n;return(0,d.default)(t,e),(0,s.default)(t,[{key:"getChildContext",value:function(){return{headManager:this.props.headManager,router:(0,b.makePublicRouterInstance)(this.props.router),_containerProps:(0,i.default)({},this.props)}}},{key:"componentDidCatch",value:function(e){throw e}},{key:"render",value:function(){var e=this.props,t=e.router,n=e.Component,r=e.pageProps,a=k(t);return h.default.createElement(g,null,h.default.createElement(n,(0,l.default)({},r,{url:a})))}}],[{key:"getInitialProps",value:(n=(0,o.default)(u.default.mark(function e(t){var n,r,a;return u.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.Component,t.router,r=t.ctx,e.next=3,(0,m.loadGetInitialProps)(n,r);case 3:return a=e.sent,e.abrupt("return",{pageProps:a});case 5:case"end":return e.stop()}},e,this)})),function(e){return n.apply(this,arguments)})}]),t}(h.Component);t.default=_,Object.defineProperty(_,"displayName",{configurable:!0,enumerable:!0,writable:!0,value:"App"}),Object.defineProperty(_,"childContextTypes",{configurable:!0,enumerable:!0,writable:!0,value:{_containerProps:v.default.any,headManager:v.default.object,router:v.default.object}});var g=function(e){function t(){return(0,c.default)(this,t),(0,f.default)(this,(t.__proto__||(0,p.default)(t)).apply(this,arguments))}return(0,d.default)(t,e),(0,s.default)(t,[{key:"componentDidMount",value:function(){this.scrollToHash()}},{key:"componentDidUpdate",value:function(){this.scrollToHash()}},{key:"scrollToHash",value:function(){var e=this.props.hash;if(e){var t=document.getElementById(e);t&&setTimeout(function(){return t.scrollIntoView()},0)}}},{key:"shouldComponentUpdate",value:function(e){return!(0,y.default)(this.props,e)}},{key:"render",value:function(){var e=this.props.children;return h.default.createElement(h.default.Fragment,null,e)}}]),t}(h.Component);t.Container=g,Object.defineProperty(g,"contextTypes",{configurable:!0,enumerable:!0,writable:!0,value:{_containerProps:v.default.any}});var P=(0,m.execOnce)(function(){0});function k(e){var t=e.pathname,n=e.asPath,r=e.query;return{get query(){return P(),r},get pathname(){return P(),t},get asPath(){return P(),n},back:function(){P(),e.back()},push:function(t,n){return P(),e.push(t,n)},pushTo:function(t,n){P();var r=n?t:null,a=n||t;return e.push(r,a)},replace:function(t,n){return P(),e.replace(t,n)},replaceTo:function(t,n){P();var r=n?t:null,a=n||t;return e.replace(r,a)}}}},344:function(e,t,n){var r=n(80);function a(){return e.exports=a=r||function(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:{}).includeSubCategories,n=void 0!==t&&t;return function(t){var r=t.data.category,o=void 0===r?"":r,a=n?o.startsWith(e):o===e;return!e||a}},t.sortByDate=function(e,t){var n=new Date(e.data.date).getTime();return new Date(t.data.date).getTime()-n};var p=(t.withPostsFilterBy=function(e){return function(t){var n,f,p=(0,s.getDisplayName)(t),y=e?"FilterBy":"";return(0,u.default)((f=n=function(n){function u(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,u),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(u.__proto__||Object.getPrototypeOf(u)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(u,a.Component),o(u,[{key:"render",value:function(){return i.default.createElement(t,this.props)}}],[{key:"getInitialProps",value:async function(){var n=t.getInitialProps,o=n?await n.apply(void 0,arguments):{},a=await(0,l.default)(),i=e?a.filter(e):a;return r({},o,{posts:i,_entries:a,_entriesMap:(0,c.default)(a)})}}]),u}(),n.displayName="WithPosts"+y+"("+p+")",f),t,{getInitialProps:!0})}})();t.default=p}},[235]).default}}); \ No newline at end of file diff --git a/_next/c913c13c-23a6-4187-bfef-38325f829ed9/page/index.js.map b/_next/c913c13c-23a6-4187-bfef-38325f829ed9/page/index.js.map deleted file mode 100644 index 1577eb0..0000000 --- a/_next/c913c13c-23a6-4187-bfef-38325f829ed9/page/index.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"bundles/pages/index.js","sources":["webpack:///components/navigation.js","webpack:///./node_modules/@babel/runtime/core-js/json/stringify.js","webpack:///./node_modules/bail/index.js","webpack:///./node_modules/boolbase/index.js","webpack:///./node_modules/ccount/index.js","webpack:///./node_modules/character-entities-html4/index.json","webpack:///./node_modules/character-entities-legacy/index.json","webpack:///./node_modules/comma-separated-tokens/index.js","webpack:///./node_modules/core-js/library/fn/json/stringify.js","webpack:///./node_modules/css-selector-parser/index.js","webpack:///./node_modules/css-selector-parser/lib/css-selector-parser.js","webpack:///./node_modules/define-properties/index.js","webpack:///./node_modules/extend/index.js","webpack:///./node_modules/foreach/index.js","webpack:///./node_modules/function-bind/implementation.js","webpack:///./node_modules/function-bind/index.js","webpack:///./node_modules/has-symbols/shams.js","webpack:///./node_modules/has/src/index.js","webpack:///./node_modules/hast-util-from-parse5/index.js","webpack:///./node_modules/hast-util-from-parse5/node_modules/camelcase/index.js","webpack:///./node_modules/hast-util-is-element/index.js","webpack:///./node_modules/hast-util-parse-selector/index.js","webpack:///./node_modules/hast-util-to-html/index.js","webpack:///./node_modules/hast-util-to-html/lib/all.js","webpack:///./node_modules/hast-util-to-html/lib/comment.js","webpack:///./node_modules/hast-util-to-html/lib/doctype.js","webpack:///./node_modules/hast-util-to-html/lib/element.js","webpack:///./node_modules/hast-util-to-html/lib/index.js","webpack:///./node_modules/hast-util-to-html/lib/omission/closing.js","webpack:///./node_modules/hast-util-to-html/lib/omission/index.js","webpack:///./node_modules/hast-util-to-html/lib/omission/omission.js","webpack:///./node_modules/hast-util-to-html/lib/omission/opening.js","webpack:///./node_modules/hast-util-to-html/lib/omission/util/first.js","webpack:///./node_modules/hast-util-to-html/lib/omission/util/place.js","webpack:///./node_modules/hast-util-to-html/lib/omission/util/siblings.js","webpack:///./node_modules/hast-util-to-html/lib/omission/util/white-space-left.js","webpack:///./node_modules/hast-util-to-html/lib/one.js","webpack:///./node_modules/hast-util-to-html/lib/raw.js","webpack:///./node_modules/hast-util-to-html/lib/text.js","webpack:///./node_modules/hast-util-whitespace/index.js","webpack:///./node_modules/hastscript/index.js","webpack:///./node_modules/hastscript/node_modules/camelcase/index.js","webpack:///./node_modules/html-void-elements/index.json","webpack:///./node_modules/inherits/inherits_browser.js","webpack:///./node_modules/is-alphabetical/index.js","webpack:///./node_modules/is-alphanumerical/index.js","webpack:///./node_modules/is-decimal/index.js","webpack:///./node_modules/is-hexadecimal/index.js","webpack:///./node_modules/is-nan/implementation.js","webpack:///./node_modules/is-nan/index.js","webpack:///./node_modules/is-nan/polyfill.js","webpack:///./node_modules/is-nan/shim.js","webpack:///./node_modules/is-plain-obj/index.js","webpack:///./node_modules/kebab-case/index.js","webpack:///./node_modules/ms/index.js","webpack:///./node_modules/next/dist/lib/link.js","webpack:///./node_modules/next/head.js","webpack:///./node_modules/next/link.js","webpack:///./node_modules/next/router.js","webpack:///./node_modules/nextein/dist/components/link.js","webpack:///./node_modules/nextein/dist/components/post.js","webpack:///./node_modules/nextein/dist/components/posts.js","webpack:///./node_modules/nextein/dist/components/utils.js","webpack:///./node_modules/nextein/dist/entries/load.js","webpack:///./node_modules/nextein/dist/entries/map.js","webpack:///./node_modules/nextein/link.js","webpack:///./node_modules/nextein/post.js","webpack:///./node_modules/nextein/posts.js","webpack:///./node_modules/nth-check/compile.js","webpack:///./node_modules/nth-check/index.js","webpack:///./node_modules/nth-check/parse.js","webpack:///./node_modules/object-keys/index.js","webpack:///./node_modules/object-keys/isArguments.js","webpack:///./node_modules/object.assign/implementation.js","webpack:///./node_modules/object.assign/index.js","webpack:///./node_modules/object.assign/polyfill.js","webpack:///./node_modules/object.assign/shim.js","webpack:///./node_modules/parse5/lib/common/doctype.js","webpack:///./node_modules/parse5/lib/common/foreign_content.js","webpack:///./node_modules/parse5/lib/common/html.js","webpack:///./node_modules/parse5/lib/common/unicode.js","webpack:///./node_modules/parse5/lib/extensions/location_info/open_element_stack_mixin.js","webpack:///./node_modules/parse5/lib/extensions/location_info/parser_mixin.js","webpack:///./node_modules/parse5/lib/extensions/location_info/tokenizer_mixin.js","webpack:///./node_modules/parse5/lib/extensions/position_tracking/preprocessor_mixin.js","webpack:///./node_modules/parse5/lib/parser/formatting_element_list.js","webpack:///./node_modules/parse5/lib/parser/index.js","webpack:///./node_modules/parse5/lib/parser/open_element_stack.js","webpack:///./node_modules/parse5/lib/tokenizer/index.js","webpack:///./node_modules/parse5/lib/tokenizer/named_entity_data.js","webpack:///./node_modules/parse5/lib/tokenizer/preprocessor.js","webpack:///./node_modules/parse5/lib/tree_adapters/default.js","webpack:///./node_modules/parse5/lib/utils/merge_options.js","webpack:///./node_modules/parse5/lib/utils/mixin.js","webpack:///./node_modules/path-browserify/index.js","webpack:///./node_modules/prop-types-exact/build/helpers/isPlainObject.js","webpack:///./node_modules/prop-types-exact/build/index.js","webpack:///./node_modules/property-information/index.js","webpack:///./node_modules/rehype-parse/index.js","webpack:///./node_modules/rehype-react/index.js","webpack:///./node_modules/rehype-react/node_modules/hast-to-hyperscript/index.js","webpack:///./node_modules/rehype-stringify/index.js","webpack:///./node_modules/replace-ext/index.js","webpack:///./node_modules/space-separated-tokens/index.js","webpack:///./node_modules/stringify-entities/dangerous.json","webpack:///./node_modules/stringify-entities/index.js","webpack:///./node_modules/trim/index.js","webpack:///./node_modules/trough/index.js","webpack:///./node_modules/unified/index.js","webpack:///./node_modules/unist-util-is/index.js","webpack:///./node_modules/unist-util-select/index.js","webpack:///./node_modules/unist-util-select/lib/ast-walkers.js","webpack:///./node_modules/unist-util-select/lib/collector.js","webpack:///./node_modules/unist-util-select/lib/match-node.js","webpack:///./node_modules/unist-util-select/lib/select.js","webpack:///./node_modules/unist-util-select/lib/selector.js","webpack:///./node_modules/unist-util-select/lib/type-index.js","webpack:///./node_modules/unist-util-select/node_modules/debug/src/browser.js","webpack:///./node_modules/unist-util-select/node_modules/debug/src/debug.js","webpack:///./node_modules/unist-util-stringify-position/index.js","webpack:///./node_modules/util/support/isBufferBrowser.js","webpack:///./node_modules/util/util.js","webpack:///./node_modules/vfile-location/index.js","webpack:///./node_modules/vfile-message/index.js","webpack:///./node_modules/vfile/core.js","webpack:///./node_modules/vfile/index.js","webpack:///./node_modules/vfile/node_modules/is-buffer/index.js","webpack:///(webpack)/buildin/harmony-module.js","webpack:///./node_modules/x-is-string/index.js","webpack:///./node_modules/xtend/immutable.js","webpack:///pages/index.js"],"sourcesContent":["import React from 'react'\nimport Link from 'nextein/link'\nimport Head from 'next/head'\nimport Router from 'next/router'\n\n\nconst Navigation = ({ style }) => {\n return (\n \n )\n}\n\nexport default Navigation\n\nconst styles = {\n nav: {\n display: 'flex'\n },\n item: {\n padding: 5\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// components/navigation.js","module.exports = require(\"core-js/library/fn/json/stringify\");\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/@babel/runtime/core-js/json/stringify.js\n// module id = ./node_modules/@babel/runtime/core-js/json/stringify.js\n// module chunks = 4 5","'use strict'\n\nmodule.exports = bail\n\nfunction bail(err) {\n if (err) {\n throw err\n }\n}\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/bail/index.js\n// module id = ./node_modules/bail/index.js\n// module chunks = 4 5","module.exports = {\n\ttrueFunc: function trueFunc(){\n\t\treturn true;\n\t},\n\tfalseFunc: function falseFunc(){\n\t\treturn false;\n\t}\n};\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/boolbase/index.js\n// module id = ./node_modules/boolbase/index.js\n// module chunks = 4 5","'use strict'\n\nmodule.exports = ccount\n\nfunction ccount(value, character) {\n var count = 0\n var index\n\n value = String(value)\n\n if (typeof character !== 'string' || character.length !== 1) {\n throw new Error('Expected character')\n }\n\n index = value.indexOf(character)\n\n while (index !== -1) {\n count++\n index = value.indexOf(character, index + 1)\n }\n\n return count\n}\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/ccount/index.js\n// module id = ./node_modules/ccount/index.js\n// module chunks = 4 5","module.exports = {\"nbsp\":\" \",\"iexcl\":\"¡\",\"cent\":\"¢\",\"pound\":\"£\",\"curren\":\"¤\",\"yen\":\"¥\",\"brvbar\":\"¦\",\"sect\":\"§\",\"uml\":\"¨\",\"copy\":\"©\",\"ordf\":\"ª\",\"laquo\":\"«\",\"not\":\"¬\",\"shy\":\"­\",\"reg\":\"®\",\"macr\":\"¯\",\"deg\":\"°\",\"plusmn\":\"±\",\"sup2\":\"²\",\"sup3\":\"³\",\"acute\":\"´\",\"micro\":\"µ\",\"para\":\"¶\",\"middot\":\"·\",\"cedil\":\"¸\",\"sup1\":\"¹\",\"ordm\":\"º\",\"raquo\":\"»\",\"frac14\":\"¼\",\"frac12\":\"½\",\"frac34\":\"¾\",\"iquest\":\"¿\",\"Agrave\":\"À\",\"Aacute\":\"Á\",\"Acirc\":\"Â\",\"Atilde\":\"Ã\",\"Auml\":\"Ä\",\"Aring\":\"Å\",\"AElig\":\"Æ\",\"Ccedil\":\"Ç\",\"Egrave\":\"È\",\"Eacute\":\"É\",\"Ecirc\":\"Ê\",\"Euml\":\"Ë\",\"Igrave\":\"Ì\",\"Iacute\":\"Í\",\"Icirc\":\"Î\",\"Iuml\":\"Ï\",\"ETH\":\"Ð\",\"Ntilde\":\"Ñ\",\"Ograve\":\"Ò\",\"Oacute\":\"Ó\",\"Ocirc\":\"Ô\",\"Otilde\":\"Õ\",\"Ouml\":\"Ö\",\"times\":\"×\",\"Oslash\":\"Ø\",\"Ugrave\":\"Ù\",\"Uacute\":\"Ú\",\"Ucirc\":\"Û\",\"Uuml\":\"Ü\",\"Yacute\":\"Ý\",\"THORN\":\"Þ\",\"szlig\":\"ß\",\"agrave\":\"à\",\"aacute\":\"á\",\"acirc\":\"â\",\"atilde\":\"ã\",\"auml\":\"ä\",\"aring\":\"å\",\"aelig\":\"æ\",\"ccedil\":\"ç\",\"egrave\":\"è\",\"eacute\":\"é\",\"ecirc\":\"ê\",\"euml\":\"ë\",\"igrave\":\"ì\",\"iacute\":\"í\",\"icirc\":\"î\",\"iuml\":\"ï\",\"eth\":\"ð\",\"ntilde\":\"ñ\",\"ograve\":\"ò\",\"oacute\":\"ó\",\"ocirc\":\"ô\",\"otilde\":\"õ\",\"ouml\":\"ö\",\"divide\":\"÷\",\"oslash\":\"ø\",\"ugrave\":\"ù\",\"uacute\":\"ú\",\"ucirc\":\"û\",\"uuml\":\"ü\",\"yacute\":\"ý\",\"thorn\":\"þ\",\"yuml\":\"ÿ\",\"fnof\":\"ƒ\",\"Alpha\":\"Α\",\"Beta\":\"Β\",\"Gamma\":\"Γ\",\"Delta\":\"Δ\",\"Epsilon\":\"Ε\",\"Zeta\":\"Ζ\",\"Eta\":\"Η\",\"Theta\":\"Θ\",\"Iota\":\"Ι\",\"Kappa\":\"Κ\",\"Lambda\":\"Λ\",\"Mu\":\"Μ\",\"Nu\":\"Ν\",\"Xi\":\"Ξ\",\"Omicron\":\"Ο\",\"Pi\":\"Π\",\"Rho\":\"Ρ\",\"Sigma\":\"Σ\",\"Tau\":\"Τ\",\"Upsilon\":\"Υ\",\"Phi\":\"Φ\",\"Chi\":\"Χ\",\"Psi\":\"Ψ\",\"Omega\":\"Ω\",\"alpha\":\"α\",\"beta\":\"β\",\"gamma\":\"γ\",\"delta\":\"δ\",\"epsilon\":\"ε\",\"zeta\":\"ζ\",\"eta\":\"η\",\"theta\":\"θ\",\"iota\":\"ι\",\"kappa\":\"κ\",\"lambda\":\"λ\",\"mu\":\"μ\",\"nu\":\"ν\",\"xi\":\"ξ\",\"omicron\":\"ο\",\"pi\":\"π\",\"rho\":\"ρ\",\"sigmaf\":\"ς\",\"sigma\":\"σ\",\"tau\":\"τ\",\"upsilon\":\"υ\",\"phi\":\"φ\",\"chi\":\"χ\",\"psi\":\"ψ\",\"omega\":\"ω\",\"thetasym\":\"ϑ\",\"upsih\":\"ϒ\",\"piv\":\"ϖ\",\"bull\":\"•\",\"hellip\":\"…\",\"prime\":\"′\",\"Prime\":\"″\",\"oline\":\"‾\",\"frasl\":\"⁄\",\"weierp\":\"℘\",\"image\":\"ℑ\",\"real\":\"ℜ\",\"trade\":\"™\",\"alefsym\":\"ℵ\",\"larr\":\"←\",\"uarr\":\"↑\",\"rarr\":\"→\",\"darr\":\"↓\",\"harr\":\"↔\",\"crarr\":\"↵\",\"lArr\":\"⇐\",\"uArr\":\"⇑\",\"rArr\":\"⇒\",\"dArr\":\"⇓\",\"hArr\":\"⇔\",\"forall\":\"∀\",\"part\":\"∂\",\"exist\":\"∃\",\"empty\":\"∅\",\"nabla\":\"∇\",\"isin\":\"∈\",\"notin\":\"∉\",\"ni\":\"∋\",\"prod\":\"∏\",\"sum\":\"∑\",\"minus\":\"−\",\"lowast\":\"∗\",\"radic\":\"√\",\"prop\":\"∝\",\"infin\":\"∞\",\"ang\":\"∠\",\"and\":\"∧\",\"or\":\"∨\",\"cap\":\"∩\",\"cup\":\"∪\",\"int\":\"∫\",\"there4\":\"∴\",\"sim\":\"∼\",\"cong\":\"≅\",\"asymp\":\"≈\",\"ne\":\"≠\",\"equiv\":\"≡\",\"le\":\"≤\",\"ge\":\"≥\",\"sub\":\"⊂\",\"sup\":\"⊃\",\"nsub\":\"⊄\",\"sube\":\"⊆\",\"supe\":\"⊇\",\"oplus\":\"⊕\",\"otimes\":\"⊗\",\"perp\":\"⊥\",\"sdot\":\"⋅\",\"lceil\":\"⌈\",\"rceil\":\"⌉\",\"lfloor\":\"⌊\",\"rfloor\":\"⌋\",\"lang\":\"〈\",\"rang\":\"〉\",\"loz\":\"◊\",\"spades\":\"♠\",\"clubs\":\"♣\",\"hearts\":\"♥\",\"diams\":\"♦\",\"quot\":\"\\\"\",\"amp\":\"&\",\"lt\":\"<\",\"gt\":\">\",\"OElig\":\"Œ\",\"oelig\":\"œ\",\"Scaron\":\"Š\",\"scaron\":\"š\",\"Yuml\":\"Ÿ\",\"circ\":\"ˆ\",\"tilde\":\"˜\",\"ensp\":\" \",\"emsp\":\" \",\"thinsp\":\" \",\"zwnj\":\"‌\",\"zwj\":\"‍\",\"lrm\":\"‎\",\"rlm\":\"‏\",\"ndash\":\"–\",\"mdash\":\"—\",\"lsquo\":\"‘\",\"rsquo\":\"’\",\"sbquo\":\"‚\",\"ldquo\":\"“\",\"rdquo\":\"”\",\"bdquo\":\"„\",\"dagger\":\"†\",\"Dagger\":\"‡\",\"permil\":\"‰\",\"lsaquo\":\"‹\",\"rsaquo\":\"›\",\"euro\":\"€\"}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/character-entities-html4/index.json\n// module id = ./node_modules/character-entities-html4/index.json\n// module chunks = 4 5","module.exports = {\"AElig\":\"Æ\",\"AMP\":\"&\",\"Aacute\":\"Á\",\"Acirc\":\"Â\",\"Agrave\":\"À\",\"Aring\":\"Å\",\"Atilde\":\"Ã\",\"Auml\":\"Ä\",\"COPY\":\"©\",\"Ccedil\":\"Ç\",\"ETH\":\"Ð\",\"Eacute\":\"É\",\"Ecirc\":\"Ê\",\"Egrave\":\"È\",\"Euml\":\"Ë\",\"GT\":\">\",\"Iacute\":\"Í\",\"Icirc\":\"Î\",\"Igrave\":\"Ì\",\"Iuml\":\"Ï\",\"LT\":\"<\",\"Ntilde\":\"Ñ\",\"Oacute\":\"Ó\",\"Ocirc\":\"Ô\",\"Ograve\":\"Ò\",\"Oslash\":\"Ø\",\"Otilde\":\"Õ\",\"Ouml\":\"Ö\",\"QUOT\":\"\\\"\",\"REG\":\"®\",\"THORN\":\"Þ\",\"Uacute\":\"Ú\",\"Ucirc\":\"Û\",\"Ugrave\":\"Ù\",\"Uuml\":\"Ü\",\"Yacute\":\"Ý\",\"aacute\":\"á\",\"acirc\":\"â\",\"acute\":\"´\",\"aelig\":\"æ\",\"agrave\":\"à\",\"amp\":\"&\",\"aring\":\"å\",\"atilde\":\"ã\",\"auml\":\"ä\",\"brvbar\":\"¦\",\"ccedil\":\"ç\",\"cedil\":\"¸\",\"cent\":\"¢\",\"copy\":\"©\",\"curren\":\"¤\",\"deg\":\"°\",\"divide\":\"÷\",\"eacute\":\"é\",\"ecirc\":\"ê\",\"egrave\":\"è\",\"eth\":\"ð\",\"euml\":\"ë\",\"frac12\":\"½\",\"frac14\":\"¼\",\"frac34\":\"¾\",\"gt\":\">\",\"iacute\":\"í\",\"icirc\":\"î\",\"iexcl\":\"¡\",\"igrave\":\"ì\",\"iquest\":\"¿\",\"iuml\":\"ï\",\"laquo\":\"«\",\"lt\":\"<\",\"macr\":\"¯\",\"micro\":\"µ\",\"middot\":\"·\",\"nbsp\":\" \",\"not\":\"¬\",\"ntilde\":\"ñ\",\"oacute\":\"ó\",\"ocirc\":\"ô\",\"ograve\":\"ò\",\"ordf\":\"ª\",\"ordm\":\"º\",\"oslash\":\"ø\",\"otilde\":\"õ\",\"ouml\":\"ö\",\"para\":\"¶\",\"plusmn\":\"±\",\"pound\":\"£\",\"quot\":\"\\\"\",\"raquo\":\"»\",\"reg\":\"®\",\"sect\":\"§\",\"shy\":\"­\",\"sup1\":\"¹\",\"sup2\":\"²\",\"sup3\":\"³\",\"szlig\":\"ß\",\"thorn\":\"þ\",\"times\":\"×\",\"uacute\":\"ú\",\"ucirc\":\"û\",\"ugrave\":\"ù\",\"uml\":\"¨\",\"uuml\":\"ü\",\"yacute\":\"ý\",\"yen\":\"¥\",\"yuml\":\"ÿ\"}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/character-entities-legacy/index.json\n// module id = ./node_modules/character-entities-legacy/index.json\n// module chunks = 4 5","'use strict'\n\nexports.parse = parse\nexports.stringify = stringify\n\nvar trim = require('trim')\n\nvar comma = ','\nvar space = ' '\nvar empty = ''\n\n/* Parse comma-separated tokens to an array. */\nfunction parse(value) {\n var values = []\n var input = String(value || empty)\n var index = input.indexOf(comma)\n var lastIndex = 0\n var end = false\n var val\n\n while (!end) {\n if (index === -1) {\n index = input.length\n end = true\n }\n\n val = trim(input.slice(lastIndex, index))\n\n if (val || !end) {\n values.push(val)\n }\n\n lastIndex = index + 1\n index = input.indexOf(comma, lastIndex)\n }\n\n return values\n}\n\n/* Compile an array to comma-separated tokens.\n * `options.padLeft` (default: `true`) pads a space left of each\n * token, and `options.padRight` (default: `false`) pads a space\n * to the right of each token. */\nfunction stringify(values, options) {\n var settings = options || {}\n var left = settings.padLeft === false ? empty : space\n var right = settings.padRight ? space : empty\n\n /* Ensure the last empty entry is seen. */\n if (values[values.length - 1] === empty) {\n values = values.concat(empty)\n }\n\n return trim(values.join(right + comma + left))\n}\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/comma-separated-tokens/index.js\n// module id = ./node_modules/comma-separated-tokens/index.js\n// module chunks = 4 5","var core = require('../../modules/_core');\nvar $JSON = core.JSON || (core.JSON = { stringify: JSON.stringify });\nmodule.exports = function stringify(it) { // eslint-disable-line no-unused-vars\n return $JSON.stringify.apply($JSON, arguments);\n};\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/core-js/library/fn/json/stringify.js\n// module id = ./node_modules/core-js/library/fn/json/stringify.js\n// module chunks = 4 5","module.exports = {\n CssSelectorParser: require('./lib/css-selector-parser.js').CssSelectorParser\n};\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/css-selector-parser/index.js\n// module id = ./node_modules/css-selector-parser/index.js\n// module chunks = 4 5","function CssSelectorParser() {\n this.pseudos = {};\n this.attrEqualityMods = {};\n this.ruleNestingOperators = {};\n this.substitutesEnabled = false;\n}\n\nCssSelectorParser.prototype.registerSelectorPseudos = function(name) {\n for (var j = 0, len = arguments.length; j < len; j++) {\n name = arguments[j];\n this.pseudos[name] = 'selector';\n }\n return this;\n};\n\nCssSelectorParser.prototype.unregisterSelectorPseudos = function(name) {\n for (var j = 0, len = arguments.length; j < len; j++) {\n name = arguments[j];\n delete this.pseudos[name];\n }\n return this;\n};\n\nCssSelectorParser.prototype.registerNumericPseudos = function(name) {\n for (var j = 0, len = arguments.length; j < len; j++) {\n name = arguments[j];\n this.pseudos[name] = 'numeric';\n }\n return this;\n};\n\nCssSelectorParser.prototype.unregisterNumericPseudos = function(name) {\n for (var j = 0, len = arguments.length; j < len; j++) {\n name = arguments[j];\n delete this.pseudos[name];\n }\n return this;\n};\n\nCssSelectorParser.prototype.registerNestingOperators = function(operator) {\n for (var j = 0, len = arguments.length; j < len; j++) {\n operator = arguments[j];\n this.ruleNestingOperators[operator] = true;\n }\n return this;\n};\n\nCssSelectorParser.prototype.unregisterNestingOperators = function(operator) {\n for (var j = 0, len = arguments.length; j < len; j++) {\n operator = arguments[j];\n delete this.ruleNestingOperators[operator];\n }\n return this;\n};\n\nCssSelectorParser.prototype.registerAttrEqualityMods = function(mod) {\n for (var j = 0, len = arguments.length; j < len; j++) {\n mod = arguments[j];\n this.attrEqualityMods[mod] = true;\n }\n return this;\n};\n\nCssSelectorParser.prototype.unregisterAttrEqualityMods = function(mod) {\n for (var j = 0, len = arguments.length; j < len; j++) {\n mod = arguments[j];\n delete this.attrEqualityMods[mod];\n }\n return this;\n};\n\nCssSelectorParser.prototype.enableSubstitutes = function() {\n this.substitutesEnabled = true;\n return this;\n};\n\nCssSelectorParser.prototype.disableSubstitutes = function() {\n this.substitutesEnabled = false;\n return this;\n};\n\nfunction isIdentStart(c) {\n return (c >= 'a' && c <= 'z') || (c >= 'A' && c <= 'Z') || (c === '-') || (c === '_');\n}\n\nfunction isIdent(c) {\n return (c >= 'a' && c <= 'z') || (c >= 'A' && c <= 'Z') || (c >= '0' && c <= '9') || c === '-' || c === '_';\n}\n\nfunction isHex(c) {\n return (c >= 'a' && c <= 'f') || (c >= 'A' && c <= 'F') || (c >= '0' && c <= '9');\n}\n\nfunction isDecimal(c) {\n return c >= '0' && c <= '9';\n}\n\nfunction isAttrMatchOperator(chr) {\n return chr === '=' || chr === '^' || chr === '$' || chr === '*' || chr === '~';\n}\n\nvar identSpecialChars = {\n '!': true,\n '\"': true,\n '#': true,\n '$': true,\n '%': true,\n '&': true,\n '\\'': true,\n '(': true,\n ')': true,\n '*': true,\n '+': true,\n ',': true,\n '.': true,\n '/': true,\n ';': true,\n '<': true,\n '=': true,\n '>': true,\n '?': true,\n '@': true,\n '[': true,\n '\\\\': true,\n ']': true,\n '^': true,\n '`': true,\n '{': true,\n '|': true,\n '}': true,\n '~': true\n};\n\nvar strReplacementsRev = {\n '\\n': '\\\\n',\n '\\r': '\\\\r',\n '\\t': '\\\\t',\n '\\f': '\\\\f',\n '\\v': '\\\\v'\n};\n\nvar singleQuoteEscapeChars = {\n n: '\\n',\n r: '\\r',\n t: '\\t',\n f: '\\f',\n '\\\\': '\\\\',\n '\\'': '\\''\n};\n\nvar doubleQuotesEscapeChars = {\n n: '\\n',\n r: '\\r',\n t: '\\t',\n f: '\\f',\n '\\\\': '\\\\',\n '\"': '\"'\n};\n\nfunction ParseContext(str, pos, pseudos, attrEqualityMods, ruleNestingOperators, substitutesEnabled) {\n var chr, getIdent, getStr, l, skipWhitespace;\n l = str.length;\n chr = null;\n getStr = function(quote, escapeTable) {\n var esc, hex, result;\n result = '';\n pos++;\n chr = str.charAt(pos);\n while (pos < l) {\n if (chr === quote) {\n pos++;\n return result;\n } else if (chr === '\\\\') {\n pos++;\n chr = str.charAt(pos);\n if (chr === quote) {\n result += quote;\n } else if (esc = escapeTable[chr]) {\n result += esc;\n } else if (isHex(chr)) {\n hex = chr;\n pos++;\n chr = str.charAt(pos);\n while (isHex(chr)) {\n hex += chr;\n pos++;\n chr = str.charAt(pos);\n }\n if (chr === ' ') {\n pos++;\n chr = str.charAt(pos);\n }\n result += String.fromCharCode(parseInt(hex, 16));\n continue;\n } else {\n result += chr;\n }\n } else {\n result += chr;\n }\n pos++;\n chr = str.charAt(pos);\n }\n return result;\n };\n getIdent = function() {\n var result = '';\n chr = str.charAt(pos);\n while (pos < l) {\n if (isIdent(chr)) {\n result += chr;\n } else if (chr === '\\\\') {\n pos++;\n if (pos >= l) {\n throw Error('Expected symbol but end of file reached.');\n }\n chr = str.charAt(pos);\n if (identSpecialChars[chr]) {\n result += chr;\n } else if (isHex(chr)) {\n var hex = chr;\n pos++;\n chr = str.charAt(pos);\n while (isHex(chr)) {\n hex += chr;\n pos++;\n chr = str.charAt(pos);\n }\n if (chr === ' ') {\n pos++;\n chr = str.charAt(pos);\n }\n result += String.fromCharCode(parseInt(hex, 16));\n continue;\n } else {\n result += chr;\n }\n } else {\n return result;\n }\n pos++;\n chr = str.charAt(pos);\n }\n return result;\n };\n skipWhitespace = function() {\n chr = str.charAt(pos);\n var result = false;\n while (chr === ' ' || chr === \"\\t\" || chr === \"\\n\" || chr === \"\\r\" || chr === \"\\f\") {\n result = true;\n pos++;\n chr = str.charAt(pos);\n }\n return result;\n };\n this.parse = function() {\n var res = this.parseSelector();\n if (pos < l) {\n throw Error('Rule expected but \"' + str.charAt(pos) + '\" found.');\n }\n return res;\n };\n this.parseSelector = function() {\n var res;\n var selector = res = this.parseSingleSelector();\n chr = str.charAt(pos);\n while (chr === ',') {\n pos++;\n skipWhitespace();\n if (res.type !== 'selectors') {\n res = {\n type: 'selectors',\n selectors: [selector]\n };\n }\n selector = this.parseSingleSelector();\n if (!selector) {\n throw Error('Rule expected after \",\".');\n }\n res.selectors.push(selector);\n }\n return res;\n };\n\n this.parseSingleSelector = function() {\n skipWhitespace();\n var selector = {\n type: 'ruleSet'\n };\n var rule = this.parseRule();\n if (!rule) {\n return null;\n }\n var currentRule = selector;\n while (rule) {\n rule.type = 'rule';\n currentRule.rule = rule;\n currentRule = rule;\n skipWhitespace();\n chr = str.charAt(pos);\n if (pos >= l || chr === ',' || chr === ')') {\n break;\n }\n if (ruleNestingOperators[chr]) {\n var op = chr;\n pos++;\n skipWhitespace();\n rule = this.parseRule();\n if (!rule) {\n throw Error('Rule expected after \"' + op + '\".');\n }\n rule.nestingOperator = op;\n } else {\n rule = this.parseRule();\n if (rule) {\n rule.nestingOperator = null;\n }\n }\n }\n return selector;\n };\n\n this.parseRule = function() {\n var rule = null;\n while (pos < l) {\n chr = str.charAt(pos);\n if (chr === '*') {\n pos++;\n (rule = rule || {}).tagName = '*';\n } else if (isIdentStart(chr) || chr === '\\\\') {\n (rule = rule || {}).tagName = getIdent();\n } else if (chr === '.') {\n pos++;\n rule = rule || {};\n (rule.classNames = rule.classNames || []).push(getIdent());\n } else if (chr === '#') {\n pos++;\n (rule = rule || {}).id = getIdent();\n } else if (chr === '[') {\n pos++;\n skipWhitespace();\n var attr = {\n name: getIdent()\n };\n skipWhitespace();\n if (chr === ']') {\n pos++;\n } else {\n var operator = '';\n if (attrEqualityMods[chr]) {\n operator = chr;\n pos++;\n chr = str.charAt(pos);\n }\n if (pos >= l) {\n throw Error('Expected \"=\" but end of file reached.');\n }\n if (chr !== '=') {\n throw Error('Expected \"=\" but \"' + chr + '\" found.');\n }\n attr.operator = operator + '=';\n pos++;\n skipWhitespace();\n var attrValue = '';\n attr.valueType = 'string';\n if (chr === '\"') {\n attrValue = getStr('\"', doubleQuotesEscapeChars);\n } else if (chr === '\\'') {\n attrValue = getStr('\\'', singleQuoteEscapeChars);\n } else if (substitutesEnabled && chr === '$') {\n pos++;\n attrValue = getIdent();\n attr.valueType = 'substitute';\n } else {\n while (pos < l) {\n if (chr === ']') {\n break;\n }\n attrValue += chr;\n pos++;\n chr = str.charAt(pos);\n }\n attrValue = attrValue.trim();\n }\n skipWhitespace();\n if (pos >= l) {\n throw Error('Expected \"]\" but end of file reached.');\n }\n if (chr !== ']') {\n throw Error('Expected \"]\" but \"' + chr + '\" found.');\n }\n pos++;\n attr.value = attrValue;\n }\n rule = rule || {};\n (rule.attrs = rule.attrs || []).push(attr);\n } else if (chr === ':') {\n pos++;\n var pseudoName = getIdent();\n var pseudo = {\n name: pseudoName\n };\n if (chr === '(') {\n pos++;\n var value = '';\n skipWhitespace();\n if (pseudos[pseudoName] === 'selector') {\n pseudo.valueType = 'selector';\n value = this.parseSelector();\n } else {\n pseudo.valueType = pseudos[pseudoName] || 'string';\n if (chr === '\"') {\n value = getStr('\"', doubleQuotesEscapeChars);\n } else if (chr === '\\'') {\n value = getStr('\\'', singleQuoteEscapeChars);\n } else if (substitutesEnabled && chr === '$') {\n pos++;\n value = getIdent();\n pseudo.valueType = 'substitute';\n } else {\n while (pos < l) {\n if (chr === ')') {\n break;\n }\n value += chr;\n pos++;\n chr = str.charAt(pos);\n }\n value = value.trim();\n }\n skipWhitespace();\n }\n if (pos >= l) {\n throw Error('Expected \")\" but end of file reached.');\n }\n if (chr !== ')') {\n throw Error('Expected \")\" but \"' + chr + '\" found.');\n }\n pos++;\n pseudo.value = value;\n }\n rule = rule || {};\n (rule.pseudos = rule.pseudos || []).push(pseudo);\n } else {\n break;\n }\n }\n return rule;\n };\n return this;\n}\n\nCssSelectorParser.prototype.parse = function(str) {\n var context = new ParseContext(\n str,\n 0,\n this.pseudos,\n this.attrEqualityMods,\n this.ruleNestingOperators,\n this.substitutesEnabled\n );\n return context.parse();\n};\n\nCssSelectorParser.prototype.escapeIdentifier = function(s) {\n var result = '';\n var i = 0;\n var len = s.length;\n while (i < len) {\n var chr = s.charAt(i);\n if (identSpecialChars[chr]) {\n result += '\\\\' + chr;\n } else {\n if (\n !(\n chr === '_' || chr === '-' ||\n (chr >= 'A' && chr <= 'Z') ||\n (chr >= 'a' && chr <= 'z') ||\n (i !== 0 && chr >= '0' && chr <= '9')\n )\n ) {\n var charCode = chr.charCodeAt(0);\n if ((charCode & 0xF800) === 0xD800) {\n var extraCharCode = s.charCodeAt(i++);\n if ((charCode & 0xFC00) !== 0xD800 || (extraCharCode & 0xFC00) !== 0xDC00) {\n throw Error('UCS-2(decode): illegal sequence');\n }\n charCode = ((charCode & 0x3FF) << 10) + (extraCharCode & 0x3FF) + 0x10000;\n }\n result += '\\\\' + charCode.toString(16) + ' ';\n } else {\n result += chr;\n }\n }\n i++;\n }\n return result;\n};\n\nCssSelectorParser.prototype.escapeStr = function(s) {\n var result = '';\n var i = 0;\n var len = s.length;\n var chr, replacement;\n while (i < len) {\n chr = s.charAt(i);\n if (chr === '\"') {\n chr = '\\\\\"';\n } else if (chr === '\\\\') {\n chr = '\\\\\\\\';\n } else if (replacement = strReplacementsRev[chr]) {\n chr = replacement;\n }\n result += chr;\n i++;\n }\n return \"\\\"\" + result + \"\\\"\";\n};\n\nCssSelectorParser.prototype.render = function(path) {\n return this._renderEntity(path).trim();\n};\n\nCssSelectorParser.prototype._renderEntity = function(entity) {\n var currentEntity, parts, res;\n res = '';\n switch (entity.type) {\n case 'ruleSet':\n currentEntity = entity.rule;\n parts = [];\n while (currentEntity) {\n if (currentEntity.nestingOperator) {\n parts.push(currentEntity.nestingOperator);\n }\n parts.push(this._renderEntity(currentEntity));\n currentEntity = currentEntity.rule;\n }\n res = parts.join(' ');\n break;\n case 'selectors':\n res = entity.selectors.map(this._renderEntity, this).join(', ');\n break;\n case 'rule':\n if (entity.tagName) {\n if (entity.tagName === '*') {\n res = '*';\n } else {\n res = this.escapeIdentifier(entity.tagName);\n }\n }\n if (entity.id) {\n res += \"#\" + this.escapeIdentifier(entity.id);\n }\n if (entity.classNames) {\n res += entity.classNames.map(function(cn) {\n return \".\" + (this.escapeIdentifier(cn));\n }, this).join('');\n }\n if (entity.attrs) {\n res += entity.attrs.map(function(attr) {\n if (attr.operator) {\n if (attr.valueType === 'substitute') {\n return \"[\" + this.escapeIdentifier(attr.name) + attr.operator + \"$\" + attr.value + \"]\";\n } else {\n return \"[\" + this.escapeIdentifier(attr.name) + attr.operator + this.escapeStr(attr.value) + \"]\";\n }\n } else {\n return \"[\" + this.escapeIdentifier(attr.name) + \"]\";\n }\n }, this).join('');\n }\n if (entity.pseudos) {\n res += entity.pseudos.map(function(pseudo) {\n if (pseudo.valueType) {\n if (pseudo.valueType === 'selector') {\n return \":\" + this.escapeIdentifier(pseudo.name) + \"(\" + this._renderEntity(pseudo.value) + \")\";\n } else if (pseudo.valueType === 'substitute') {\n return \":\" + this.escapeIdentifier(pseudo.name) + \"($\" + pseudo.value + \")\";\n } else if (pseudo.valueType === 'numeric') {\n return \":\" + this.escapeIdentifier(pseudo.name) + \"(\" + pseudo.value + \")\";\n } else {\n return \":\" + this.escapeIdentifier(pseudo.name) + \"(\" + this.escapeIdentifier(pseudo.value) + \")\";\n }\n } else {\n return \":\" + this.escapeIdentifier(pseudo.name);\n }\n }, this).join('');\n }\n break;\n default:\n throw Error('Unknown entity type: \"' + entity.type(+'\".'));\n }\n return res;\n};\n\nexports.CssSelectorParser = CssSelectorParser;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/css-selector-parser/lib/css-selector-parser.js\n// module id = ./node_modules/css-selector-parser/lib/css-selector-parser.js\n// module chunks = 4 5","'use strict';\n\nvar keys = require('object-keys');\nvar foreach = require('foreach');\nvar hasSymbols = typeof Symbol === 'function' && typeof Symbol() === 'symbol';\n\nvar toStr = Object.prototype.toString;\n\nvar isFunction = function (fn) {\n\treturn typeof fn === 'function' && toStr.call(fn) === '[object Function]';\n};\n\nvar arePropertyDescriptorsSupported = function () {\n\tvar obj = {};\n\ttry {\n\t\tObject.defineProperty(obj, 'x', { enumerable: false, value: obj });\n /* eslint-disable no-unused-vars, no-restricted-syntax */\n for (var _ in obj) { return false; }\n /* eslint-enable no-unused-vars, no-restricted-syntax */\n\t\treturn obj.x === obj;\n\t} catch (e) { /* this is IE 8. */\n\t\treturn false;\n\t}\n};\nvar supportsDescriptors = Object.defineProperty && arePropertyDescriptorsSupported();\n\nvar defineProperty = function (object, name, value, predicate) {\n\tif (name in object && (!isFunction(predicate) || !predicate())) {\n\t\treturn;\n\t}\n\tif (supportsDescriptors) {\n\t\tObject.defineProperty(object, name, {\n\t\t\tconfigurable: true,\n\t\t\tenumerable: false,\n\t\t\tvalue: value,\n\t\t\twritable: true\n\t\t});\n\t} else {\n\t\tobject[name] = value;\n\t}\n};\n\nvar defineProperties = function (object, map) {\n\tvar predicates = arguments.length > 2 ? arguments[2] : {};\n\tvar props = keys(map);\n\tif (hasSymbols) {\n\t\tprops = props.concat(Object.getOwnPropertySymbols(map));\n\t}\n\tforeach(props, function (name) {\n\t\tdefineProperty(object, name, map[name], predicates[name]);\n\t});\n};\n\ndefineProperties.supportsDescriptors = !!supportsDescriptors;\n\nmodule.exports = defineProperties;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/define-properties/index.js\n// module id = ./node_modules/define-properties/index.js\n// module chunks = 4 5","'use strict';\n\nvar hasOwn = Object.prototype.hasOwnProperty;\nvar toStr = Object.prototype.toString;\nvar defineProperty = Object.defineProperty;\nvar gOPD = Object.getOwnPropertyDescriptor;\n\nvar isArray = function isArray(arr) {\n\tif (typeof Array.isArray === 'function') {\n\t\treturn Array.isArray(arr);\n\t}\n\n\treturn toStr.call(arr) === '[object Array]';\n};\n\nvar isPlainObject = function isPlainObject(obj) {\n\tif (!obj || toStr.call(obj) !== '[object Object]') {\n\t\treturn false;\n\t}\n\n\tvar hasOwnConstructor = hasOwn.call(obj, 'constructor');\n\tvar hasIsPrototypeOf = obj.constructor && obj.constructor.prototype && hasOwn.call(obj.constructor.prototype, 'isPrototypeOf');\n\t// Not own constructor property must be Object\n\tif (obj.constructor && !hasOwnConstructor && !hasIsPrototypeOf) {\n\t\treturn false;\n\t}\n\n\t// Own properties are enumerated firstly, so to speed up,\n\t// if last one is own, then all properties are own.\n\tvar key;\n\tfor (key in obj) { /**/ }\n\n\treturn typeof key === 'undefined' || hasOwn.call(obj, key);\n};\n\n// If name is '__proto__', and Object.defineProperty is available, define __proto__ as an own property on target\nvar setProperty = function setProperty(target, options) {\n\tif (defineProperty && options.name === '__proto__') {\n\t\tdefineProperty(target, options.name, {\n\t\t\tenumerable: true,\n\t\t\tconfigurable: true,\n\t\t\tvalue: options.newValue,\n\t\t\twritable: true\n\t\t});\n\t} else {\n\t\ttarget[options.name] = options.newValue;\n\t}\n};\n\n// Return undefined instead of __proto__ if '__proto__' is not an own property\nvar getProperty = function getProperty(obj, name) {\n\tif (name === '__proto__') {\n\t\tif (!hasOwn.call(obj, name)) {\n\t\t\treturn void 0;\n\t\t} else if (gOPD) {\n\t\t\t// In early versions of node, obj['__proto__'] is buggy when obj has\n\t\t\t// __proto__ as an own property. Object.getOwnPropertyDescriptor() works.\n\t\t\treturn gOPD(obj, name).value;\n\t\t}\n\t}\n\n\treturn obj[name];\n};\n\nmodule.exports = function extend() {\n\tvar options, name, src, copy, copyIsArray, clone;\n\tvar target = arguments[0];\n\tvar i = 1;\n\tvar length = arguments.length;\n\tvar deep = false;\n\n\t// Handle a deep copy situation\n\tif (typeof target === 'boolean') {\n\t\tdeep = target;\n\t\ttarget = arguments[1] || {};\n\t\t// skip the boolean and the target\n\t\ti = 2;\n\t}\n\tif (target == null || (typeof target !== 'object' && typeof target !== 'function')) {\n\t\ttarget = {};\n\t}\n\n\tfor (; i < length; ++i) {\n\t\toptions = arguments[i];\n\t\t// Only deal with non-null/undefined values\n\t\tif (options != null) {\n\t\t\t// Extend the base object\n\t\t\tfor (name in options) {\n\t\t\t\tsrc = getProperty(target, name);\n\t\t\t\tcopy = getProperty(options, name);\n\n\t\t\t\t// Prevent never-ending loop\n\t\t\t\tif (target !== copy) {\n\t\t\t\t\t// Recurse if we're merging plain objects or arrays\n\t\t\t\t\tif (deep && copy && (isPlainObject(copy) || (copyIsArray = isArray(copy)))) {\n\t\t\t\t\t\tif (copyIsArray) {\n\t\t\t\t\t\t\tcopyIsArray = false;\n\t\t\t\t\t\t\tclone = src && isArray(src) ? src : [];\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tclone = src && isPlainObject(src) ? src : {};\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\t// Never move original objects, clone them\n\t\t\t\t\t\tsetProperty(target, { name: name, newValue: extend(deep, clone, copy) });\n\n\t\t\t\t\t// Don't bring in undefined values\n\t\t\t\t\t} else if (typeof copy !== 'undefined') {\n\t\t\t\t\t\tsetProperty(target, { name: name, newValue: copy });\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\t// Return the modified object\n\treturn target;\n};\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/extend/index.js\n// module id = ./node_modules/extend/index.js\n// module chunks = 4 5","\nvar hasOwn = Object.prototype.hasOwnProperty;\nvar toString = Object.prototype.toString;\n\nmodule.exports = function forEach (obj, fn, ctx) {\n if (toString.call(fn) !== '[object Function]') {\n throw new TypeError('iterator must be a function');\n }\n var l = obj.length;\n if (l === +l) {\n for (var i = 0; i < l; i++) {\n fn.call(ctx, obj[i], i, obj);\n }\n } else {\n for (var k in obj) {\n if (hasOwn.call(obj, k)) {\n fn.call(ctx, obj[k], k, obj);\n }\n }\n }\n};\n\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/foreach/index.js\n// module id = ./node_modules/foreach/index.js\n// module chunks = 4 5","'use strict';\n\n/* eslint no-invalid-this: 1 */\n\nvar ERROR_MESSAGE = 'Function.prototype.bind called on incompatible ';\nvar slice = Array.prototype.slice;\nvar toStr = Object.prototype.toString;\nvar funcType = '[object Function]';\n\nmodule.exports = function bind(that) {\n var target = this;\n if (typeof target !== 'function' || toStr.call(target) !== funcType) {\n throw new TypeError(ERROR_MESSAGE + target);\n }\n var args = slice.call(arguments, 1);\n\n var bound;\n var binder = function () {\n if (this instanceof bound) {\n var result = target.apply(\n this,\n args.concat(slice.call(arguments))\n );\n if (Object(result) === result) {\n return result;\n }\n return this;\n } else {\n return target.apply(\n that,\n args.concat(slice.call(arguments))\n );\n }\n };\n\n var boundLength = Math.max(0, target.length - args.length);\n var boundArgs = [];\n for (var i = 0; i < boundLength; i++) {\n boundArgs.push('$' + i);\n }\n\n bound = Function('binder', 'return function (' + boundArgs.join(',') + '){ return binder.apply(this,arguments); }')(binder);\n\n if (target.prototype) {\n var Empty = function Empty() {};\n Empty.prototype = target.prototype;\n bound.prototype = new Empty();\n Empty.prototype = null;\n }\n\n return bound;\n};\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/function-bind/implementation.js\n// module id = ./node_modules/function-bind/implementation.js\n// module chunks = 4 5","'use strict';\n\nvar implementation = require('./implementation');\n\nmodule.exports = Function.prototype.bind || implementation;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/function-bind/index.js\n// module id = ./node_modules/function-bind/index.js\n// module chunks = 4 5","'use strict';\n\n/* eslint complexity: [2, 17], max-statements: [2, 33] */\nmodule.exports = function hasSymbols() {\n\tif (typeof Symbol !== 'function' || typeof Object.getOwnPropertySymbols !== 'function') { return false; }\n\tif (typeof Symbol.iterator === 'symbol') { return true; }\n\n\tvar obj = {};\n\tvar sym = Symbol('test');\n\tvar symObj = Object(sym);\n\tif (typeof sym === 'string') { return false; }\n\n\tif (Object.prototype.toString.call(sym) !== '[object Symbol]') { return false; }\n\tif (Object.prototype.toString.call(symObj) !== '[object Symbol]') { return false; }\n\n\t// temp disabled per https://github.com/ljharb/object.assign/issues/17\n\t// if (sym instanceof Symbol) { return false; }\n\t// temp disabled per https://github.com/WebReflection/get-own-property-symbols/issues/4\n\t// if (!(symObj instanceof Symbol)) { return false; }\n\n\t// if (typeof Symbol.prototype.toString !== 'function') { return false; }\n\t// if (String(sym) !== Symbol.prototype.toString.call(sym)) { return false; }\n\n\tvar symVal = 42;\n\tobj[sym] = symVal;\n\tfor (sym in obj) { return false; } // eslint-disable-line no-restricted-syntax\n\tif (typeof Object.keys === 'function' && Object.keys(obj).length !== 0) { return false; }\n\n\tif (typeof Object.getOwnPropertyNames === 'function' && Object.getOwnPropertyNames(obj).length !== 0) { return false; }\n\n\tvar syms = Object.getOwnPropertySymbols(obj);\n\tif (syms.length !== 1 || syms[0] !== sym) { return false; }\n\n\tif (!Object.prototype.propertyIsEnumerable.call(obj, sym)) { return false; }\n\n\tif (typeof Object.getOwnPropertyDescriptor === 'function') {\n\t\tvar descriptor = Object.getOwnPropertyDescriptor(obj, sym);\n\t\tif (descriptor.value !== symVal || descriptor.enumerable !== true) { return false; }\n\t}\n\n\treturn true;\n};\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/has-symbols/shams.js\n// module id = ./node_modules/has-symbols/shams.js\n// module chunks = 4 5","'use strict';\n\nvar bind = require('function-bind');\n\nmodule.exports = bind.call(Function.call, Object.prototype.hasOwnProperty);\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/has/src/index.js\n// module id = ./node_modules/has/src/index.js\n// module chunks = 4 5","'use strict';\n\nvar information = require('property-information');\nvar camelcase = require('camelcase');\nvar vfileLocation = require('vfile-location');\nvar h = require('hastscript');\n\nmodule.exports = wrapper;\n\nvar own = {}.hasOwnProperty;\n\n/* Handlers. */\nvar map = {\n '#document': root,\n '#document-fragment': root,\n '#text': text,\n '#comment': comment,\n '#documentType': doctype\n};\n\n/* Wrapper to normalise options. */\nfunction wrapper(ast, options) {\n var settings = options || {};\n var file;\n\n if (settings.messages) {\n file = settings;\n settings = {};\n } else {\n file = settings.file;\n }\n\n return transform(ast, {\n file: file,\n toPosition: file ? vfileLocation(file).toPosition : null,\n verbose: settings.verbose,\n location: false\n });\n}\n\n/* Transform a node. */\nfunction transform(ast, config) {\n var fn = own.call(map, ast.nodeName) ? map[ast.nodeName] : element;\n var children;\n var node;\n var position;\n\n if (ast.childNodes) {\n children = nodes(ast.childNodes, config);\n }\n\n node = fn(ast, children, config);\n\n if (ast.__location && config.toPosition) {\n config.location = true;\n position = location(ast.__location, ast, node, config);\n\n if (position) {\n node.position = position;\n }\n }\n\n return node;\n}\n\n/* Transform children. */\nfunction nodes(children, config) {\n var length = children.length;\n var index = -1;\n var result = [];\n\n while (++index < length) {\n result[index] = transform(children[index], config);\n }\n\n return result;\n}\n\n/* Transform a document.\n * Stores `ast.quirksMode` in `node.data.quirksMode`. */\nfunction root(ast, children, config) {\n var quirks = ast.mode === 'quirks' || ast.mode === 'limited-quirks';\n var node = {type: 'root', children: children};\n var position;\n\n node.data = {quirksMode: quirks};\n\n if (ast.__location) {\n if (config.toPosition) {\n config.location = true;\n position = ast.__location;\n }\n } else if (config.file && config.location) {\n position = {startOffset: 0, endOffset: String(config.file).length};\n }\n\n position = position && location(position, ast, node, config);\n\n if (position) {\n node.position = position;\n }\n\n return node;\n}\n\n/* Transform a doctype. */\nfunction doctype(ast) {\n return {\n type: 'doctype',\n name: ast.name || '',\n public: ast.publicId || null,\n system: ast.systemId || null\n };\n}\n\n/* Transform a text. */\nfunction text(ast) {\n return {type: 'text', value: ast.value};\n}\n\n/* Transform a comment. */\nfunction comment(ast) {\n return {type: 'comment', value: ast.data};\n}\n\n/* Transform an element. */\nfunction element(ast, children, config) {\n var props = {};\n var values = ast.attrs;\n var length = values.length;\n var index = -1;\n var attr;\n var node;\n var fragment;\n\n while (++index < length) {\n attr = values[index];\n props[(attr.prefix ? attr.prefix + ':' : '') + attr.name] = attr.value;\n }\n\n node = h(ast.tagName, props, children);\n\n if (ast.nodeName === 'template' && 'content' in ast) {\n fragment = ast.content;\n\n if (ast.__location) {\n fragment.__location = {\n startOffset: ast.__location.startTag.endOffset,\n endOffset: ast.__location.endTag.startOffset\n };\n }\n\n node.content = transform(ast.content, config);\n }\n\n return node;\n}\n\n/* Create clean positional information. */\nfunction loc(toPosition, dirty) {\n return {\n start: toPosition(dirty.startOffset),\n end: toPosition(dirty.endOffset)\n };\n}\n\n/* Create clean positional information. */\nfunction location(info, ast, node, config) {\n var start = info.startOffset;\n var end = info.endOffset;\n var values = info.attrs || {};\n var propPositions = {};\n var prop;\n var name;\n var reference;\n\n for (prop in values) {\n name = (information(prop) || {}).propertyName || camelcase(prop);\n propPositions[name] = loc(config.toPosition, values[prop]);\n }\n\n /* Upstream: https://github.com/inikulin/parse5/issues/109 */\n if (node.type === 'element' && !info.endTag) {\n reference = node.children[node.children.length - 1];\n\n /* Unclosed with children: */\n if (reference && reference.position) {\n if (reference.position.end) {\n end = reference.position.end.offset;\n } else {\n end = null;\n }\n /* Unclosed without children: */\n } else if (info.startTag) {\n end = info.startTag.endOffset;\n }\n }\n\n if (config.verbose && node.type === 'element') {\n node.data = {\n position: {\n opening: loc(config.toPosition, info.startTag || info),\n closing: info.endTag ? loc(config.toPosition, info.endTag) : null,\n properties: propPositions\n }\n };\n }\n\n start = typeof start === 'number' ? config.toPosition(start) : null;\n end = typeof end === 'number' ? config.toPosition(end) : null;\n\n if (!start && !end) {\n return undefined;\n }\n\n return {start: start, end: end};\n}\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/hast-util-from-parse5/index.js\n// module id = ./node_modules/hast-util-from-parse5/index.js\n// module chunks = 4 5","'use strict';\n\nfunction preserveCamelCase(str) {\n\tvar isLastCharLower = false;\n\n\tfor (var i = 0; i < str.length; i++) {\n\t\tvar c = str.charAt(i);\n\n\t\tif (isLastCharLower && (/[a-zA-Z]/).test(c) && c.toUpperCase() === c) {\n\t\t\tstr = str.substr(0, i) + '-' + str.substr(i);\n\t\t\tisLastCharLower = false;\n\t\t\ti++;\n\t\t} else {\n\t\t\tisLastCharLower = (c.toLowerCase() === c);\n\t\t}\n\t}\n\n\treturn str;\n}\n\nmodule.exports = function () {\n\tvar str = [].map.call(arguments, function (str) {\n\t\treturn str.trim();\n\t}).filter(function (str) {\n\t\treturn str.length;\n\t}).join('-');\n\n\tif (!str.length) {\n\t\treturn '';\n\t}\n\n\tif (str.length === 1) {\n\t\treturn str.toLowerCase();\n\t}\n\n\tif (!(/[_.\\- ]+/).test(str)) {\n\t\tif (str === str.toUpperCase()) {\n\t\t\treturn str.toLowerCase();\n\t\t}\n\n\t\tif (str[0] !== str[0].toLowerCase()) {\n\t\t\treturn str[0].toLowerCase() + str.slice(1);\n\t\t}\n\n\t\treturn str;\n\t}\n\n\tstr = preserveCamelCase(str);\n\n\treturn str\n\t.replace(/^[_.\\- ]+/, '')\n\t.toLowerCase()\n\t.replace(/[_.\\- ]+(\\w|$)/g, function (m, p1) {\n\t\treturn p1.toUpperCase();\n\t});\n};\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/hast-util-from-parse5/node_modules/camelcase/index.js\n// module id = ./node_modules/hast-util-from-parse5/node_modules/camelcase/index.js\n// module chunks = 4 5","'use strict'\n\nmodule.exports = isElement\n\n/* Check if, whether `tagNames` is given, a node is an element\n * or an element matching `tagNames`. */\nfunction isElement(node, tagNames) {\n var name\n\n if (\n !(\n tagNames === null ||\n tagNames === undefined ||\n typeof tagNames === 'string' ||\n (typeof tagNames === 'object' && tagNames.length !== 0)\n )\n ) {\n throw new Error(\n 'Expected `string` or `Array.` for `tagNames`, not `' +\n tagNames +\n '`'\n )\n }\n\n if (\n !node ||\n typeof node !== 'object' ||\n node.type !== 'element' ||\n typeof node.tagName !== 'string'\n ) {\n return false\n }\n\n if (tagNames === null || tagNames === undefined) {\n return true\n }\n\n name = node.tagName\n\n if (typeof tagNames === 'string') {\n return name === tagNames\n }\n\n return tagNames.indexOf(name) !== -1\n}\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/hast-util-is-element/index.js\n// module id = ./node_modules/hast-util-is-element/index.js\n// module chunks = 4 5","'use strict'\n\nmodule.exports = parse\n\nvar dot = '.'.charCodeAt(0)\nvar hash = '#'.charCodeAt(0)\n\n/* Parse a simple CSS selector into a HAST node. */\nfunction parse(selector, defaultTagName) {\n var value = selector || ''\n var name = defaultTagName || 'div'\n var props = {}\n var index = -1\n var length = value.length\n var className\n var type\n var code\n var subvalue\n var lastIndex\n\n while (++index <= length) {\n code = value.charCodeAt(index)\n\n if (!code || code === dot || code === hash) {\n subvalue = value.slice(lastIndex, index)\n\n if (subvalue) {\n if (type === dot) {\n if (className) {\n className.push(subvalue)\n } else {\n className = [subvalue]\n props.className = className\n }\n } else if (type === hash) {\n props.id = subvalue\n } else {\n name = subvalue\n }\n }\n\n lastIndex = index + 1\n type = code\n }\n }\n\n return {\n type: 'element',\n tagName: name,\n properties: props,\n children: []\n }\n}\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/hast-util-parse-selector/index.js\n// module id = ./node_modules/hast-util-parse-selector/index.js\n// module chunks = 4 5","'use strict';\nmodule.exports = require('./lib');\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/hast-util-to-html/index.js\n// module id = ./node_modules/hast-util-to-html/index.js\n// module chunks = 4 5","'use strict';\n\nvar one = require('./one');\n\nmodule.exports = all;\n\n/* Stringify all children of `parent`. */\nfunction all(ctx, parent) {\n var children = parent && parent.children;\n var length = children && children.length;\n var index = -1;\n var results = [];\n\n while (++index < length) {\n results[index] = one(ctx, children[index], index, parent);\n }\n\n return results.join('');\n}\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/hast-util-to-html/lib/all.js\n// module id = ./node_modules/hast-util-to-html/lib/all.js\n// module chunks = 4 5","'use strict';\n\nmodule.exports = comment;\n\n/* Stringify a comment `node`. */\nfunction comment(ctx, node) {\n return '';\n}\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/hast-util-to-html/lib/comment.js\n// module id = ./node_modules/hast-util-to-html/lib/comment.js\n// module chunks = 4 5","'use strict';\n\nmodule.exports = doctype;\n\n/* Stringify a doctype `node`. */\nfunction doctype(ctx, node) {\n var pub = node.public;\n var sys = node.system;\n var val = '';\n }\n\n val += ' ' + node.name;\n\n if (pub != null) {\n val += ' PUBLIC ' + smart(pub);\n } else if (sys != null) {\n val += ' SYSTEM';\n }\n\n if (sys != null) {\n val += ' ' + smart(sys);\n }\n\n return val + '>';\n}\n\nfunction smart(value) {\n var quote = value.indexOf('\"') === -1 ? '\"' : '\\'';\n return quote + value + quote;\n}\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/hast-util-to-html/lib/doctype.js\n// module id = ./node_modules/hast-util-to-html/lib/doctype.js\n// module chunks = 4 5","'use strict';\n\nvar xtend = require('xtend');\nvar spaces = require('space-separated-tokens').stringify;\nvar commas = require('comma-separated-tokens').stringify;\nvar information = require('property-information');\nvar entities = require('stringify-entities');\nvar kebab = require('kebab-case');\nvar ccount = require('ccount');\nvar all = require('./all');\n\nmodule.exports = element;\n\n/* Constants. */\nvar DATA = 'data';\nvar EMPTY = '';\n\n/* Characters. */\nvar SPACE = ' ';\nvar DQ = '\"';\nvar SQ = '\\'';\nvar EQ = '=';\nvar LT = '<';\nvar GT = '>';\nvar SO = '/';\n\n/* Stringify an element `node`. */\nfunction element(ctx, node, index, parent) {\n var name = node.tagName;\n var content = all(ctx, name === 'template' ? node.content : node);\n var selfClosing = ctx.voids.indexOf(name.toLowerCase()) !== -1;\n var attrs = attributes(ctx, node.properties);\n var omit = ctx.omit;\n var value = '';\n\n /* If the node is categorised as void, but it has\n * children, remove the categorisation. This\n * enables for example `menuitem`s, which are\n * void in W3C HTML but not void in WHATWG HTML, to\n * be stringified properly. */\n selfClosing = content ? false : selfClosing;\n\n if (attrs || !omit || !omit.opening(node, index, parent)) {\n value = LT + name + (attrs ? SPACE + attrs : EMPTY);\n\n if (selfClosing && ctx.close) {\n if (!ctx.tightClose || attrs.charAt(attrs.length - 1) === SO) {\n value += SPACE;\n }\n\n value += SO;\n }\n\n value += GT;\n }\n\n value += content;\n\n if (!selfClosing && (!omit || !omit.closing(node, index, parent))) {\n value += LT + SO + name + GT;\n }\n\n return value;\n}\n\n/* Stringify all attributes. */\nfunction attributes(ctx, props) {\n var values = [];\n var key;\n var value;\n var result;\n var length;\n var index;\n var last;\n\n for (key in props) {\n value = props[key];\n\n if (value == null) {\n continue;\n }\n\n result = attribute(ctx, key, value);\n\n if (result) {\n values.push(result);\n }\n }\n\n length = values.length;\n index = -1;\n\n while (++index < length) {\n result = values[index];\n last = ctx.tight && result.charAt(result.length - 1);\n\n /* In tight mode, don’t add a space after quoted attributes. */\n if (index !== length - 1 && last !== DQ && last !== SQ) {\n values[index] = result + SPACE;\n }\n }\n\n return values.join(EMPTY);\n}\n\n/* Stringify one attribute. */\nfunction attribute(ctx, key, value) {\n var info = information(key) || {};\n var name;\n\n if (\n value == null ||\n (typeof value === 'number' && isNaN(value)) ||\n (!value && info.boolean) ||\n (value === false && info.overloadedBoolean)\n ) {\n return EMPTY;\n }\n\n name = attributeName(ctx, key);\n\n if ((value && info.boolean) || (value === true && info.overloadedBoolean)) {\n return name;\n }\n\n return name + attributeValue(ctx, key, value);\n}\n\n/* Stringify the attribute name. */\nfunction attributeName(ctx, key) {\n var info = information(key) || {};\n var name = info.name || kebab(key);\n\n if (\n name.slice(0, DATA.length) === DATA &&\n /[0-9]/.test(name.charAt(DATA.length))\n ) {\n name = DATA + '-' + name.slice(4);\n }\n\n return entities(name, xtend(ctx.entities, {\n subset: ctx.NAME\n }));\n}\n\n/* Stringify the attribute value. */\nfunction attributeValue(ctx, key, value) {\n var info = information(key) || {};\n var options = ctx.entities;\n var quote = ctx.quote;\n var alternative = ctx.alternative;\n var unquoted;\n\n if (typeof value === 'object' && 'length' in value) {\n /* `spaces` doesn’t accept a second argument, but it’s\n * given here just to keep the code cleaner. */\n value = (info.commaSeparated ? commas : spaces)(value, {\n padLeft: !ctx.tightLists\n });\n }\n\n value = String(value);\n\n if (value || !ctx.collapseEmpty) {\n unquoted = value;\n\n /* Check unquoted value. */\n if (ctx.unquoted) {\n unquoted = entities(value, xtend(options, {\n subset: ctx.UNQUOTED,\n attribute: true\n }));\n }\n\n /* If `value` contains entities when unquoted... */\n if (!ctx.unquoted || unquoted !== value) {\n /* If the alternative is less common than `quote`, switch. */\n if (\n alternative &&\n ccount(value, quote) > ccount(value, alternative)\n ) {\n quote = alternative;\n }\n\n value = entities(value, xtend(options, {\n subset: quote === SQ ? ctx.SINGLE_QUOTED : ctx.DOUBLE_QUOTED,\n attribute: true\n }));\n\n value = quote + value + quote;\n }\n\n /* Don’t add a `=` for unquoted empties. */\n value = value ? EQ + value : value;\n }\n\n return value;\n}\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/hast-util-to-html/lib/element.js\n// module id = ./node_modules/hast-util-to-html/lib/element.js\n// module chunks = 4 5","'use strict';\n\nvar voids = require('html-void-elements');\nvar omission = require('./omission');\nvar one = require('./one');\n\nmodule.exports = toHTML;\n\n/* Characters. */\nvar NULL = '\\0';\nvar AMP = '&';\nvar SPACE = ' ';\nvar TAB = '\\t';\nvar GR = '`';\nvar DQ = '\"';\nvar SQ = '\\'';\nvar EQ = '=';\nvar LT = '<';\nvar GT = '>';\nvar SO = '/';\nvar LF = '\\n';\nvar CR = '\\r';\nvar FF = '\\f';\n\n/* https://html.spec.whatwg.org/#attribute-name-state */\nvar NAME = [AMP, SPACE, TAB, LF, CR, FF, SO, GT, EQ];\nvar CLEAN_NAME = NAME.concat(NULL, DQ, SQ, LT);\n\n/* In safe mode, all attribute values contain DQ (`\"`),\n * SQ (`'`), and GR (`` ` ``), as those can create XSS\n * issues in older browsers:\n * - https://html5sec.org/#59\n * - https://html5sec.org/#102\n * - https://html5sec.org/#108 */\nvar QUOTES = [DQ, SQ, GR];\n\n/* https://html.spec.whatwg.org/#attribute-value-(unquoted)-state */\nvar UQ_VALUE = [AMP, SPACE, TAB, LF, CR, FF, GT];\nvar UQ_VALUE_CLEAN = UQ_VALUE.concat(NULL, DQ, SQ, LT, EQ, GR);\n\n/* https://html.spec.whatwg.org/#attribute-value-(single-quoted)-state */\nvar SQ_VALUE = [AMP, SQ];\nvar SQ_VALUE_CLEAN = SQ_VALUE.concat(NULL);\n\n/* https://html.spec.whatwg.org/#attribute-value-(double-quoted)-state */\nvar DQ_VALUE = [AMP, DQ];\nvar DQ_VALUE_CLEAN = DQ_VALUE.concat(NULL);\n\n/* Stringify the given HAST node. */\nfunction toHTML(node, options) {\n var settings = options || {};\n var quote = settings.quote || DQ;\n var smart = settings.quoteSmart;\n var errors = settings.allowParseErrors;\n var characters = settings.allowDangerousCharacters;\n var alternative = quote === DQ ? SQ : DQ;\n var name = errors ? NAME : CLEAN_NAME;\n var unquoted = errors ? UQ_VALUE : UQ_VALUE_CLEAN;\n var singleQuoted = errors ? SQ_VALUE : SQ_VALUE_CLEAN;\n var doubleQuoted = errors ? DQ_VALUE : DQ_VALUE_CLEAN;\n\n if (quote !== DQ && quote !== SQ) {\n throw new Error(\n 'Invalid quote `' + quote + '`, expected `' +\n SQ + '` or `' + DQ + '`'\n );\n }\n\n return one({\n NAME: name.concat(characters ? [] : QUOTES),\n UNQUOTED: unquoted.concat(characters ? [] : QUOTES),\n DOUBLE_QUOTED: doubleQuoted.concat(characters ? [] : QUOTES),\n SINGLE_QUOTED: singleQuoted.concat(characters ? [] : QUOTES),\n omit: settings.omitOptionalTags && omission,\n quote: quote,\n alternative: smart ? alternative : null,\n unquoted: Boolean(settings.preferUnquoted),\n tight: settings.tightAttributes,\n tightLists: settings.tightCommaSeparatedLists,\n tightClose: settings.tightSelfClosing,\n collapseEmpty: settings.collapseEmptyAttributes,\n dangerous: settings.allowDangerousHTML,\n voids: settings.voids || voids.concat(),\n entities: settings.entities || {},\n close: settings.closeSelfClosing\n }, node);\n}\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/hast-util-to-html/lib/index.js\n// module id = ./node_modules/hast-util-to-html/lib/index.js\n// module chunks = 4 5","'use strict';\n\nvar is = require('unist-util-is');\nvar element = require('hast-util-is-element');\nvar whiteSpaceLeft = require('./util/white-space-left');\nvar after = require('./util/siblings').after;\nvar omission = require('./omission');\n\nmodule.exports = omission({\n html: html,\n head: headOrColgroupOrCaption,\n body: body,\n p: p,\n li: li,\n dt: dt,\n dd: dd,\n rt: rubyElement,\n rp: rubyElement,\n optgroup: optgroup,\n option: option,\n menuitem: menuitem,\n colgroup: headOrColgroupOrCaption,\n caption: headOrColgroupOrCaption,\n thead: thead,\n tbody: tbody,\n tfoot: tfoot,\n tr: tr,\n td: cells,\n th: cells\n});\n\n/* Macro for ``, ``, and ``. */\nfunction headOrColgroupOrCaption(node, index, parent) {\n var next = after(parent, index, true);\n return !next || (!is('comment', next) && !whiteSpaceLeft(next));\n}\n\n/* Whether to omit ``. */\nfunction html(node, index, parent) {\n var next = after(parent, index);\n return !next || !is('comment', next);\n}\n\n/* Whether to omit ``. */\nfunction body(node, index, parent) {\n var next = after(parent, index);\n return !next || !is('comment', next);\n}\n\n/* Whether to omit `

`. */\nfunction p(node, index, parent) {\n var next = after(parent, index);\n\n if (next) {\n return element(next, [\n 'address', 'article', 'aside', 'blockquote', 'details',\n 'div', 'dl', 'fieldset', 'figcaption', 'figure', 'footer',\n 'form', 'h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'header',\n 'hgroup', 'hr', 'main', 'menu', 'nav', 'ol', 'p', 'pre',\n 'section', 'table', 'ul'\n ]);\n }\n\n return !parent || !element(parent, [\n 'a', 'audio', 'del', 'ins', 'map', 'noscript', 'video'\n ]);\n}\n\n/* Whether to omit ``. */\nfunction li(node, index, parent) {\n var next = after(parent, index);\n return !next || element(next, 'li');\n}\n\n/* Whether to omit ``. */\nfunction dt(node, index, parent) {\n var next = after(parent, index);\n return next && element(next, ['dt', 'dd']);\n}\n\n/* Whether to omit ``. */\nfunction dd(node, index, parent) {\n var next = after(parent, index);\n return !next || element(next, ['dt', 'dd']);\n}\n\n/* Whether to omit `` or ``. */\nfunction rubyElement(node, index, parent) {\n var next = after(parent, index);\n return !next || element(next, ['rp', 'rt']);\n}\n\n/* Whether to omit ``. */\nfunction optgroup(node, index, parent) {\n var next = after(parent, index);\n return !next || element(next, 'optgroup');\n}\n\n/* Whether to omit ``. */\nfunction option(node, index, parent) {\n var next = after(parent, index);\n return !next || element(next, ['option', 'optgroup']);\n}\n\n/* Whether to omit ``. */\nfunction menuitem(node, index, parent) {\n var next = after(parent, index);\n return !next || element(next, ['menuitem', 'hr', 'menu']);\n}\n\n/* Whether to omit ``. */\nfunction thead(node, index, parent) {\n var next = after(parent, index);\n return next && element(next, ['tbody', 'tfoot']);\n}\n\n/* Whether to omit ``. */\nfunction tbody(node, index, parent) {\n var next = after(parent, index);\n return !next || element(next, ['tbody', 'tfoot']);\n}\n\n/* Whether to omit ``. */\nfunction tfoot(node, index, parent) {\n return !after(parent, index);\n}\n\n/* Whether to omit ``. */\nfunction tr(node, index, parent) {\n var next = after(parent, index);\n return !next || element(next, 'tr');\n}\n\n/* Whether to omit `` or ``. */\nfunction cells(node, index, parent) {\n var next = after(parent, index);\n return !next || element(next, ['td', 'th']);\n}\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/hast-util-to-html/lib/omission/closing.js\n// module id = ./node_modules/hast-util-to-html/lib/omission/closing.js\n// module chunks = 4 5","'use strict';\nexports.opening = require('./opening');\nexports.closing = require('./closing');\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/hast-util-to-html/lib/omission/index.js\n// module id = ./node_modules/hast-util-to-html/lib/omission/index.js\n// module chunks = 4 5","'use strict';\n\nmodule.exports = omission;\n\nvar own = {}.hasOwnProperty;\n\n/* Factory to check if a given node can have a tag omitted. */\nfunction omission(handlers) {\n return omit;\n\n /* Check if a given node can have a tag omitted. */\n function omit(node, index, parent) {\n var name = node.tagName;\n var fn = own.call(handlers, name) ? handlers[name] : false;\n\n return fn ? fn(node, index, parent) : false;\n }\n}\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/hast-util-to-html/lib/omission/omission.js\n// module id = ./node_modules/hast-util-to-html/lib/omission/omission.js\n// module chunks = 4 5","'use strict';\n\nvar is = require('unist-util-is');\nvar element = require('hast-util-is-element');\nvar before = require('./util/siblings').before;\nvar first = require('./util/first');\nvar place = require('./util/place');\nvar whiteSpaceLeft = require('./util/white-space-left');\nvar closing = require('./closing');\nvar omission = require('./omission');\n\nvar own = {}.hasOwnProperty;\n\nmodule.exports = omission({\n html: html,\n head: head,\n body: body,\n colgroup: colgroup,\n tbody: tbody\n});\n\n/* Whether to omit ``. */\nfunction html(node) {\n var head = first(node);\n return !head || !is('comment', head);\n}\n\n/* Whether to omit ``. */\nfunction head(node) {\n var children = node.children;\n var length = children.length;\n var map = {};\n var index = -1;\n var child;\n var name;\n\n while (++index < length) {\n child = children[index];\n name = child.tagName;\n\n if (\n child.type === 'element' &&\n (name === 'title' || name === 'base')\n ) {\n if (own.call(map, name)) {\n return false;\n }\n\n map[name] = true;\n }\n }\n\n return Boolean(length);\n}\n\n/* Whether to omit ``. */\nfunction body(node) {\n var head = first(node, true);\n\n return !head || (\n !is('comment', head) &&\n !whiteSpaceLeft(head) &&\n !element(head, ['meta', 'link', 'script', 'style', 'template'])\n );\n}\n\n/* Whether to omit ``.\n * The spec describes some logic for the opening tag,\n * but it’s easier to implement in the closing tag, to\n * the same effect, so we handle it there instead. */\nfunction colgroup(node, index, parent) {\n var prev = before(parent, index);\n var head = first(node, true);\n\n /* Previous colgroup was already omitted. */\n if (\n element(prev, 'colgroup') &&\n closing(prev, place(parent, prev), parent)\n ) {\n return false;\n }\n\n return head && element(head, 'col');\n}\n\n/* Whether to omit ``. */\nfunction tbody(node, index, parent) {\n var prev = before(parent, index);\n var head = first(node);\n\n /* Previous table section was already omitted. */\n if (\n element(prev, ['thead', 'tbody']) &&\n closing(prev, place(parent, prev), parent)\n ) {\n return false;\n }\n\n return head && element(head, 'tr');\n}\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/hast-util-to-html/lib/omission/opening.js\n// module id = ./node_modules/hast-util-to-html/lib/omission/opening.js\n// module chunks = 4 5","'use strict';\n\nvar after = require('./siblings').after;\n\nmodule.exports = first;\n\n/* Get the first child in `parent`. */\nfunction first(parent, includeWhiteSpace) {\n return after(parent, -1, includeWhiteSpace);\n}\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/hast-util-to-html/lib/omission/util/first.js\n// module id = ./node_modules/hast-util-to-html/lib/omission/util/first.js\n// module chunks = 4 5","'use strict';\n\nmodule.exports = place;\n\n/* Get the position of `node` in `parent`. */\nfunction place(parent, child) {\n return parent && parent.children && parent.children.indexOf(child);\n}\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/hast-util-to-html/lib/omission/util/place.js\n// module id = ./node_modules/hast-util-to-html/lib/omission/util/place.js\n// module chunks = 4 5","'use strict';\n\nvar whiteSpace = require('hast-util-whitespace');\n\nexports.before = siblings(-1);\nexports.after = siblings(1);\n\n/* Factory to check siblings in a direction. */\nfunction siblings(increment) {\n return sibling;\n\n /* Find applicable siblings in a direction. */\n function sibling(parent, index, includeWhiteSpace) {\n var siblings = parent && parent.children;\n var next;\n\n index += increment;\n next = siblings && siblings[index];\n\n if (!includeWhiteSpace) {\n while (next && whiteSpace(next)) {\n index += increment;\n next = siblings[index];\n }\n }\n\n return next;\n }\n}\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/hast-util-to-html/lib/omission/util/siblings.js\n// module id = ./node_modules/hast-util-to-html/lib/omission/util/siblings.js\n// module chunks = 4 5","'use strict';\n\nvar is = require('unist-util-is');\nvar whiteSpace = require('hast-util-whitespace');\n\nmodule.exports = whiteSpaceLeft;\n\n/* Check if `node` starts with white-space. */\nfunction whiteSpaceLeft(node) {\n return is('text', node) && whiteSpace(node.value.charAt(0));\n}\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/hast-util-to-html/lib/omission/util/white-space-left.js\n// module id = ./node_modules/hast-util-to-html/lib/omission/util/white-space-left.js\n// module chunks = 4 5","'use strict';\n\nmodule.exports = one;\n\nvar own = {}.hasOwnProperty;\n\nvar handlers = {};\n\nhandlers.root = require('./all');\nhandlers.text = require('./text');\nhandlers.element = require('./element');\nhandlers.doctype = require('./doctype');\nhandlers.comment = require('./comment');\nhandlers.raw = require('./raw');\n\n/* Stringify `node`. */\nfunction one(ctx, node, index, parent) {\n var type = node && node.type;\n\n if (!type) {\n throw new Error('Expected node, not `' + node + '`');\n }\n\n if (!own.call(handlers, type)) {\n throw new Error('Cannot compile unknown node `' + type + '`');\n }\n\n return handlers[type](ctx, node, index, parent);\n}\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/hast-util-to-html/lib/one.js\n// module id = ./node_modules/hast-util-to-html/lib/one.js\n// module chunks = 4 5","'use strict';\n\nvar text = require('./text');\n\nmodule.exports = raw;\n\n/* Stringify `raw`. */\nfunction raw(ctx, node) {\n return ctx.dangerous ? node.value : text(ctx, node);\n}\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/hast-util-to-html/lib/raw.js\n// module id = ./node_modules/hast-util-to-html/lib/raw.js\n// module chunks = 4 5","'use strict';\n\nvar xtend = require('xtend');\nvar entities = require('stringify-entities');\n\nmodule.exports = text;\n\n/* Stringify `text`. */\nfunction text(ctx, node, index, parent) {\n var value = node.value;\n\n return isLiteral(parent) ? value : entities(value, xtend(ctx.entities, {\n subset: ['<', '&']\n }));\n}\n\n/* Check if content of `node` should be escaped. */\nfunction isLiteral(node) {\n return node && (node.tagName === 'script' || node.tagName === 'style');\n}\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/hast-util-to-html/lib/text.js\n// module id = ./node_modules/hast-util-to-html/lib/text.js\n// module chunks = 4 5","'use strict'\n\nmodule.exports = interElementWhiteSpace\n\n/* HTML white-space expression.\n * See . */\nvar re = /[ \\t\\n\\f\\r]/g\n\n/* Check if `node` is a inter-element white-space. */\nfunction interElementWhiteSpace(node) {\n var value\n\n if (node && typeof node === 'object' && node.type === 'text') {\n value = node.value || ''\n } else if (typeof node === 'string') {\n value = node\n } else {\n return false\n }\n\n return value.replace(re, '') === ''\n}\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/hast-util-whitespace/index.js\n// module id = ./node_modules/hast-util-whitespace/index.js\n// module chunks = 4 5","'use strict';\n\nvar parseSelector = require('hast-util-parse-selector');\nvar camelcase = require('camelcase');\nvar propertyInformation = require('property-information');\nvar spaces = require('space-separated-tokens').parse;\nvar commas = require('comma-separated-tokens').parse;\n\nmodule.exports = h;\n\n/* Hyperscript compatible DSL for creating virtual HAST\n * trees. */\nfunction h(selector, properties, children) {\n var node = parseSelector(selector);\n var property;\n\n if (\n properties &&\n !children &&\n (\n typeof properties === 'string' ||\n 'length' in properties ||\n isNode(node.tagName, properties)\n )\n ) {\n children = properties;\n properties = null;\n }\n\n if (properties) {\n for (property in properties) {\n addProperty(node.properties, property, properties[property]);\n }\n }\n\n addChild(node.children, children);\n\n if (node.tagName === 'template') {\n node.content = {type: 'root', children: node.children};\n node.children = [];\n }\n\n return node;\n}\n\n/* Check if `value` is a valid child node of `tagName`. */\nfunction isNode(tagName, value) {\n var type = value.type;\n\n if (typeof type === 'string') {\n type = type.toLowerCase();\n }\n\n if (tagName === 'input' || !type || typeof type !== 'string') {\n return false;\n }\n\n if (typeof value.children === 'object' && 'length' in value.children) {\n return true;\n }\n\n if (tagName === 'button') {\n return type !== 'menu' &&\n type !== 'submit' &&\n type !== 'reset' &&\n type !== 'button';\n }\n\n return 'value' in value;\n}\n\n/* Add `value` as a child to `nodes`. */\nfunction addChild(nodes, value) {\n var index;\n var length;\n\n if (value === null || value === undefined) {\n return;\n }\n\n if (typeof value === 'string' || typeof value === 'number') {\n value = {type: 'text', value: String(value)};\n }\n\n if (typeof value === 'object' && 'length' in value) {\n index = -1;\n length = value.length;\n\n while (++index < length) {\n addChild(nodes, value[index]);\n }\n\n return;\n }\n\n if (typeof value !== 'object' || !('type' in value)) {\n throw new Error('Expected node, nodes, or string, got `' + value + '`');\n }\n\n nodes.push(value);\n}\n\n/* Add `name` and its `value` to `properties`. `properties` can\n * be prefilled by `parseSelector`: it can have `id` and `className`\n * properties. */\nfunction addProperty(properties, name, value) {\n var info = propertyInformation(name) || {};\n var result = value;\n var key;\n\n /* Ignore nully and NaN values. */\n if (value === null || value === undefined || value !== value) {\n return;\n }\n\n /* Handle values. */\n if (name === 'style') {\n /* Accept `object`. */\n if (typeof value !== 'string') {\n result = [];\n\n for (key in value) {\n result.push([key, value[key]].join(': '));\n }\n\n result = result.join('; ');\n }\n } else if (info.spaceSeparated) {\n /* Accept both `string` and `Array`. */\n result = typeof value === 'string' ? spaces(result) : result;\n\n /* Class-names (which can be added both on\n * the `selector` and here). */\n if (name === 'class' && properties.className) {\n result = properties.className.concat(result);\n }\n } else if (info.commaSeparated) {\n /* Accept both `string` and `Array`. */\n result = typeof value === 'string' ? commas(result) : result;\n }\n\n result = parsePrimitive(info, name, result);\n\n properties[info.propertyName || camelcase(name)] = result;\n}\n\n/* Parse a (list of) primitives. */\nfunction parsePrimitive(info, name, value) {\n var result = value;\n var index;\n var length;\n\n if (typeof value === 'object' && 'length' in value) {\n length = value.length;\n index = -1;\n result = [];\n\n while (++index < length) {\n result[index] = parsePrimitive(info, name, value[index]);\n }\n\n return result;\n }\n\n if (info.numeric || info.positiveNumeric) {\n if (!isNaN(result) && result !== '') {\n result = Number(result);\n }\n } else if (info.boolean || info.overloadedBoolean) {\n /* Accept `boolean` and `string`. */\n if (\n typeof result === 'string' &&\n (result === '' || value.toLowerCase() === name)\n ) {\n result = true;\n }\n }\n\n return result;\n}\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/hastscript/index.js\n// module id = ./node_modules/hastscript/index.js\n// module chunks = 4 5","'use strict';\n\nfunction preserveCamelCase(str) {\n\tvar isLastCharLower = false;\n\n\tfor (var i = 0; i < str.length; i++) {\n\t\tvar c = str.charAt(i);\n\n\t\tif (isLastCharLower && (/[a-zA-Z]/).test(c) && c.toUpperCase() === c) {\n\t\t\tstr = str.substr(0, i) + '-' + str.substr(i);\n\t\t\tisLastCharLower = false;\n\t\t\ti++;\n\t\t} else {\n\t\t\tisLastCharLower = (c.toLowerCase() === c);\n\t\t}\n\t}\n\n\treturn str;\n}\n\nmodule.exports = function () {\n\tvar str = [].map.call(arguments, function (str) {\n\t\treturn str.trim();\n\t}).filter(function (str) {\n\t\treturn str.length;\n\t}).join('-');\n\n\tif (!str.length) {\n\t\treturn '';\n\t}\n\n\tif (str.length === 1) {\n\t\treturn str.toLowerCase();\n\t}\n\n\tif (!(/[_.\\- ]+/).test(str)) {\n\t\tif (str === str.toUpperCase()) {\n\t\t\treturn str.toLowerCase();\n\t\t}\n\n\t\tif (str[0] !== str[0].toLowerCase()) {\n\t\t\treturn str[0].toLowerCase() + str.slice(1);\n\t\t}\n\n\t\treturn str;\n\t}\n\n\tstr = preserveCamelCase(str);\n\n\treturn str\n\t.replace(/^[_.\\- ]+/, '')\n\t.toLowerCase()\n\t.replace(/[_.\\- ]+(\\w|$)/g, function (m, p1) {\n\t\treturn p1.toUpperCase();\n\t});\n};\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/hastscript/node_modules/camelcase/index.js\n// module id = ./node_modules/hastscript/node_modules/camelcase/index.js\n// module chunks = 4 5","module.exports = [\"area\",\"base\",\"basefont\",\"bgsound\",\"br\",\"col\",\"command\",\"embed\",\"frame\",\"hr\",\"image\",\"img\",\"input\",\"isindex\",\"keygen\",\"link\",\"menuitem\",\"meta\",\"nextid\",\"param\",\"source\",\"track\",\"wbr\"]\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/html-void-elements/index.json\n// module id = ./node_modules/html-void-elements/index.json\n// module chunks = 4 5","if (typeof Object.create === 'function') {\n // implementation from standard node.js 'util' module\n module.exports = function inherits(ctor, superCtor) {\n ctor.super_ = superCtor\n ctor.prototype = Object.create(superCtor.prototype, {\n constructor: {\n value: ctor,\n enumerable: false,\n writable: true,\n configurable: true\n }\n });\n };\n} else {\n // old school shim for old browsers\n module.exports = function inherits(ctor, superCtor) {\n ctor.super_ = superCtor\n var TempCtor = function () {}\n TempCtor.prototype = superCtor.prototype\n ctor.prototype = new TempCtor()\n ctor.prototype.constructor = ctor\n }\n}\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/inherits/inherits_browser.js\n// module id = ./node_modules/inherits/inherits_browser.js\n// module chunks = 4 5","'use strict'\n\nmodule.exports = alphabetical\n\n/* Check if the given character code, or the character\n * code at the first character, is alphabetical. */\nfunction alphabetical(character) {\n var code = typeof character === 'string' ? character.charCodeAt(0) : character\n\n return (\n (code >= 97 && code <= 122) /* a-z */ ||\n (code >= 65 && code <= 90) /* A-Z */\n )\n}\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/is-alphabetical/index.js\n// module id = ./node_modules/is-alphabetical/index.js\n// module chunks = 4 5","'use strict'\n\nvar alphabetical = require('is-alphabetical')\nvar decimal = require('is-decimal')\n\nmodule.exports = alphanumerical\n\n/* Check if the given character code, or the character\n * code at the first character, is alphanumerical. */\nfunction alphanumerical(character) {\n return alphabetical(character) || decimal(character)\n}\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/is-alphanumerical/index.js\n// module id = ./node_modules/is-alphanumerical/index.js\n// module chunks = 4 5","'use strict'\n\nmodule.exports = decimal\n\n/* Check if the given character code, or the character\n * code at the first character, is decimal. */\nfunction decimal(character) {\n var code = typeof character === 'string' ? character.charCodeAt(0) : character\n\n return code >= 48 && code <= 57 /* 0-9 */\n}\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/is-decimal/index.js\n// module id = ./node_modules/is-decimal/index.js\n// module chunks = 4 5","'use strict'\n\nmodule.exports = hexadecimal\n\n/* Check if the given character code, or the character\n * code at the first character, is hexadecimal. */\nfunction hexadecimal(character) {\n var code = typeof character === 'string' ? character.charCodeAt(0) : character\n\n return (\n (code >= 97 /* a */ && code <= 102) /* z */ ||\n (code >= 65 /* A */ && code <= 70) /* Z */ ||\n (code >= 48 /* A */ && code <= 57) /* Z */\n )\n}\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/is-hexadecimal/index.js\n// module id = ./node_modules/is-hexadecimal/index.js\n// module chunks = 4 5","'use strict';\n\n/* http://www.ecma-international.org/ecma-262/6.0/#sec-number.isnan */\n\nmodule.exports = function isNaN(value) {\n\treturn value !== value;\n};\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/is-nan/implementation.js\n// module id = ./node_modules/is-nan/implementation.js\n// module chunks = 4 5","'use strict';\n\nvar define = require('define-properties');\n\nvar implementation = require('./implementation');\nvar getPolyfill = require('./polyfill');\nvar shim = require('./shim');\n\n/* http://www.ecma-international.org/ecma-262/6.0/#sec-number.isnan */\n\ndefine(implementation, {\n\tgetPolyfill: getPolyfill,\n\timplementation: implementation,\n\tshim: shim\n});\n\nmodule.exports = implementation;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/is-nan/index.js\n// module id = ./node_modules/is-nan/index.js\n// module chunks = 4 5","'use strict';\n\nvar implementation = require('./implementation');\n\nmodule.exports = function getPolyfill() {\n\tif (Number.isNaN && Number.isNaN(NaN) && !Number.isNaN('a')) {\n\t\treturn Number.isNaN;\n\t}\n\treturn implementation;\n};\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/is-nan/polyfill.js\n// module id = ./node_modules/is-nan/polyfill.js\n// module chunks = 4 5","'use strict';\n\nvar define = require('define-properties');\nvar getPolyfill = require('./polyfill');\n\n/* http://www.ecma-international.org/ecma-262/6.0/#sec-number.isnan */\n\nmodule.exports = function shimNumberIsNaN() {\n\tvar polyfill = getPolyfill();\n\tdefine(Number, { isNaN: polyfill }, { isNaN: function () { return Number.isNaN !== polyfill; } });\n\treturn polyfill;\n};\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/is-nan/shim.js\n// module id = ./node_modules/is-nan/shim.js\n// module chunks = 4 5","'use strict';\nvar toString = Object.prototype.toString;\n\nmodule.exports = function (x) {\n\tvar prototype;\n\treturn toString.call(x) === '[object Object]' && (prototype = Object.getPrototypeOf(x), prototype === null || prototype === Object.getPrototypeOf({}));\n};\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/is-plain-obj/index.js\n// module id = ./node_modules/is-plain-obj/index.js\n// module chunks = 4 5","'use strict';\nvar KEBAB_REGEX = /[A-Z\\u00C0-\\u00D6\\u00D8-\\u00DE]/g;\nvar REVERSE_REGEX = /-[a-z\\u00E0-\\u00F6\\u00F8-\\u00FE]/g;\n\nmodule.exports = exports = function kebabCase(str) {\n\treturn str.replace(KEBAB_REGEX, function (match) {\n\t\treturn '-' + match.toLowerCase();\n\t});\n};\n\nexports.reverse = function (str) {\n\treturn str.replace(REVERSE_REGEX, function (match) {\n\t\treturn match.slice(1).toUpperCase();\n\t});\n};\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/kebab-case/index.js\n// module id = ./node_modules/kebab-case/index.js\n// module chunks = 4 5","/**\n * Helpers.\n */\n\nvar s = 1000;\nvar m = s * 60;\nvar h = m * 60;\nvar d = h * 24;\nvar y = d * 365.25;\n\n/**\n * Parse or format the given `val`.\n *\n * Options:\n *\n * - `long` verbose formatting [false]\n *\n * @param {String|Number} val\n * @param {Object} [options]\n * @throws {Error} throw an error if val is not a non-empty string or a number\n * @return {String|Number}\n * @api public\n */\n\nmodule.exports = function(val, options) {\n options = options || {};\n var type = typeof val;\n if (type === 'string' && val.length > 0) {\n return parse(val);\n } else if (type === 'number' && isNaN(val) === false) {\n return options.long ? fmtLong(val) : fmtShort(val);\n }\n throw new Error(\n 'val is not a non-empty string or a valid number. val=' +\n JSON.stringify(val)\n );\n};\n\n/**\n * Parse the given `str` and return milliseconds.\n *\n * @param {String} str\n * @return {Number}\n * @api private\n */\n\nfunction parse(str) {\n str = String(str);\n if (str.length > 100) {\n return;\n }\n var match = /^((?:\\d+)?\\.?\\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|years?|yrs?|y)?$/i.exec(\n str\n );\n if (!match) {\n return;\n }\n var n = parseFloat(match[1]);\n var type = (match[2] || 'ms').toLowerCase();\n switch (type) {\n case 'years':\n case 'year':\n case 'yrs':\n case 'yr':\n case 'y':\n return n * y;\n case 'days':\n case 'day':\n case 'd':\n return n * d;\n case 'hours':\n case 'hour':\n case 'hrs':\n case 'hr':\n case 'h':\n return n * h;\n case 'minutes':\n case 'minute':\n case 'mins':\n case 'min':\n case 'm':\n return n * m;\n case 'seconds':\n case 'second':\n case 'secs':\n case 'sec':\n case 's':\n return n * s;\n case 'milliseconds':\n case 'millisecond':\n case 'msecs':\n case 'msec':\n case 'ms':\n return n;\n default:\n return undefined;\n }\n}\n\n/**\n * Short format for `ms`.\n *\n * @param {Number} ms\n * @return {String}\n * @api private\n */\n\nfunction fmtShort(ms) {\n if (ms >= d) {\n return Math.round(ms / d) + 'd';\n }\n if (ms >= h) {\n return Math.round(ms / h) + 'h';\n }\n if (ms >= m) {\n return Math.round(ms / m) + 'm';\n }\n if (ms >= s) {\n return Math.round(ms / s) + 's';\n }\n return ms + 'ms';\n}\n\n/**\n * Long format for `ms`.\n *\n * @param {Number} ms\n * @return {String}\n * @api private\n */\n\nfunction fmtLong(ms) {\n return plural(ms, d, 'day') ||\n plural(ms, h, 'hour') ||\n plural(ms, m, 'minute') ||\n plural(ms, s, 'second') ||\n ms + ' ms';\n}\n\n/**\n * Pluralization helper.\n */\n\nfunction plural(ms, n, name) {\n if (ms < n) {\n return;\n }\n if (ms < n * 1.5) {\n return Math.floor(ms / n) + ' ' + name;\n }\n return Math.ceil(ms / n) + ' ' + name + 's';\n}\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/ms/index.js\n// module id = ./node_modules/ms/index.js\n// module chunks = 4 5","\"use strict\";\n\nvar _interopRequireWildcard = require(\"@babel/runtime/helpers/interopRequireWildcard\");\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\n\nvar _typeof2 = _interopRequireDefault(require(\"@babel/runtime/helpers/typeof\"));\n\nvar _stringify = _interopRequireDefault(require(\"@babel/runtime/core-js/json/stringify\"));\n\nvar _getPrototypeOf = _interopRequireDefault(require(\"@babel/runtime/core-js/object/get-prototype-of\"));\n\nvar _classCallCheck2 = _interopRequireDefault(require(\"@babel/runtime/helpers/classCallCheck\"));\n\nvar _createClass2 = _interopRequireDefault(require(\"@babel/runtime/helpers/createClass\"));\n\nvar _possibleConstructorReturn2 = _interopRequireDefault(require(\"@babel/runtime/helpers/possibleConstructorReturn\"));\n\nvar _inherits2 = _interopRequireDefault(require(\"@babel/runtime/helpers/inherits\"));\n\nvar _assertThisInitialized2 = _interopRequireDefault(require(\"@babel/runtime/helpers/assertThisInitialized\"));\n\nvar _url = require(\"url\");\n\nvar _react = _interopRequireWildcard(require(\"react\"));\n\nvar _propTypes = _interopRequireDefault(require(\"prop-types\"));\n\nvar _propTypesExact = _interopRequireDefault(require(\"prop-types-exact\"));\n\nvar _router = _interopRequireWildcard(require(\"./router\"));\n\nvar _utils = require(\"./utils\");\n\n/* global __NEXT_DATA__ */\nvar Link =\n/*#__PURE__*/\nfunction (_Component) {\n (0, _inherits2.default)(Link, _Component);\n\n function Link(props) {\n var _ref;\n\n var _this;\n\n (0, _classCallCheck2.default)(this, Link);\n\n for (var _len = arguments.length, rest = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {\n rest[_key - 1] = arguments[_key];\n }\n\n _this = (0, _possibleConstructorReturn2.default)(this, (_ref = Link.__proto__ || (0, _getPrototypeOf.default)(Link)).call.apply(_ref, [this, props].concat(rest)));\n _this.linkClicked = _this.linkClicked.bind((0, _assertThisInitialized2.default)(_this));\n\n _this.formatUrls(props);\n\n return _this;\n }\n\n (0, _createClass2.default)(Link, [{\n key: \"componentWillReceiveProps\",\n value: function componentWillReceiveProps(nextProps) {\n this.formatUrls(nextProps);\n }\n }, {\n key: \"linkClicked\",\n value: function linkClicked(e) {\n var _this2 = this;\n\n if (e.currentTarget.nodeName === 'A' && (e.metaKey || e.ctrlKey || e.shiftKey || e.nativeEvent && e.nativeEvent.which === 2)) {\n // ignore click for new tab / new window behavior\n return;\n }\n\n var shallow = this.props.shallow;\n var href = this.href,\n as = this.as;\n\n if (!isLocal(href)) {\n // ignore click if it's outside our scope\n return;\n }\n\n var pathname = window.location.pathname;\n href = (0, _url.resolve)(pathname, href);\n as = as ? (0, _url.resolve)(pathname, as) : href;\n e.preventDefault(); // avoid scroll for urls with anchor refs\n\n var scroll = this.props.scroll;\n\n if (scroll == null) {\n scroll = as.indexOf('#') < 0;\n } // replace state instead of push if prop is present\n\n\n var replace = this.props.replace;\n var changeMethod = replace ? 'replace' : 'push'; // straight up redirect\n\n _router.default[changeMethod](href, as, {\n shallow: shallow\n }).then(function (success) {\n if (!success) return;\n\n if (scroll) {\n window.scrollTo(0, 0);\n document.body.focus();\n }\n }).catch(function (err) {\n if (_this2.props.onError) _this2.props.onError(err);\n });\n }\n }, {\n key: \"prefetch\",\n value: function prefetch() {\n if (!this.props.prefetch) return;\n if (typeof window === 'undefined') return; // Prefetch the JSON page if asked (only in the client)\n\n var pathname = window.location.pathname;\n var href = (0, _url.resolve)(pathname, this.href);\n\n _router.default.prefetch(href);\n }\n }, {\n key: \"componentDidMount\",\n value: function componentDidMount() {\n this.prefetch();\n }\n }, {\n key: \"componentDidUpdate\",\n value: function componentDidUpdate(prevProps) {\n if ((0, _stringify.default)(this.props.href) !== (0, _stringify.default)(prevProps.href)) {\n this.prefetch();\n }\n } // We accept both 'href' and 'as' as objects which we can pass to `url.format`.\n // We'll handle it here.\n\n }, {\n key: \"formatUrls\",\n value: function formatUrls(props) {\n this.href = props.href && (0, _typeof2.default)(props.href) === 'object' ? (0, _url.format)(props.href) : props.href;\n this.as = props.as && (0, _typeof2.default)(props.as) === 'object' ? (0, _url.format)(props.as) : props.as;\n }\n }, {\n key: \"render\",\n value: function render() {\n var _this3 = this;\n\n var children = this.props.children;\n var href = this.href,\n as = this.as; // Deprecated. Warning shown by propType check. If the childen provided is a string (example) we wrap it in an tag\n\n if (typeof children === 'string') {\n children = _react.default.createElement(\"a\", null, children);\n } // This will return the first child, if multiple are provided it will throw an error\n\n\n var child = _react.Children.only(children);\n\n var props = {\n onClick: function onClick(e) {\n if (child.props && typeof child.props.onClick === 'function') {\n child.props.onClick(e);\n }\n\n if (!e.defaultPrevented) {\n _this3.linkClicked(e);\n }\n } // If child is an tag and doesn't have a href attribute, or if the 'passHref' property is\n // defined, we specify the current 'href', so that repetition is not needed by the user\n\n };\n\n if (this.props.passHref || child.type === 'a' && !('href' in child.props)) {\n props.href = as || href;\n } // Add the ending slash to the paths. So, we can serve the\n // \"/index.html\" directly.\n\n\n if (props.href && typeof __NEXT_DATA__ !== 'undefined' && __NEXT_DATA__.nextExport) {\n props.href = (0, _router._rewriteUrlForNextExport)(props.href);\n }\n\n return _react.default.cloneElement(child, props);\n }\n }]);\n return Link;\n}(_react.Component);\n\nexports.default = Link;\nObject.defineProperty(Link, \"propTypes\", {\n configurable: true,\n enumerable: true,\n writable: true,\n value: (0, _propTypesExact.default)({\n href: _propTypes.default.oneOfType([_propTypes.default.string, _propTypes.default.object]).isRequired,\n as: _propTypes.default.oneOfType([_propTypes.default.string, _propTypes.default.object]),\n prefetch: _propTypes.default.bool,\n replace: _propTypes.default.bool,\n shallow: _propTypes.default.bool,\n passHref: _propTypes.default.bool,\n scroll: _propTypes.default.bool,\n children: _propTypes.default.oneOfType([_propTypes.default.element, function (props, propName) {\n var value = props[propName];\n\n if (typeof value === 'string') {\n warnLink(\"Warning: You're using a string directly inside . This usage has been deprecated. Please add an tag as child of \");\n }\n\n return null;\n }]).isRequired\n })\n});\n\nfunction isLocal(href) {\n var url = (0, _url.parse)(href, false, true);\n var origin = (0, _url.parse)((0, _utils.getLocationOrigin)(), false, true);\n return !url.host || url.protocol === origin.protocol && url.host === origin.host;\n}\n\nvar warnLink = (0, _utils.execOnce)(_utils.warn);\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/next/dist/lib/link.js\n// module id = ./node_modules/next/dist/lib/link.js\n// module chunks = 4 5","module.exports = require('./dist/lib/head')\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/next/head.js\n// module id = ./node_modules/next/head.js\n// module chunks = 4 5","module.exports = require('./dist/lib/link')\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/next/link.js\n// module id = ./node_modules/next/link.js\n// module chunks = 4 5","module.exports = require('./dist/lib/router')\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/next/router.js\n// module id = ./node_modules/next/router.js\n// module chunks = 4 5","'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };\n\nvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nvar _react = require('react');\n\nvar _react2 = _interopRequireDefault(_react);\n\nvar _link = require('next/link');\n\nvar _link2 = _interopRequireDefault(_link);\n\nvar _load = require('../entries/load');\n\nvar _load2 = _interopRequireDefault(_load);\n\nvar _map = require('../entries/map');\n\nvar _map2 = _interopRequireDefault(_map);\n\nvar _utils = require('./utils');\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\nvar NexteinLink = function (_Component) {\n _inherits(NexteinLink, _Component);\n\n function NexteinLink() {\n var _ref;\n\n var _temp, _this, _ret;\n\n _classCallCheck(this, NexteinLink);\n\n for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n return _ret = (_temp = (_this = _possibleConstructorReturn(this, (_ref = NexteinLink.__proto__ || Object.getPrototypeOf(NexteinLink)).call.apply(_ref, [this].concat(args))), _this), _this.state = {\n href: _this.props.href,\n as: _this.props.as\n }, _temp), _possibleConstructorReturn(_this, _ret);\n }\n\n _createClass(NexteinLink, [{\n key: 'componentWillReceiveProps',\n value: function componentWillReceiveProps(_ref2) {\n var href = _ref2.href,\n as = _ref2.as;\n\n if (this.state.href !== href) {\n this.setState({ href: href, as: as });\n }\n }\n }, {\n key: 'componentDidMount',\n value: async function componentDidMount() {\n var all = await (0, _load2.default)();\n var map = (0, _map2.default)(all);\n var href = this.state.href;\n\n if (href) {\n var entry = map[href];\n if (entry) {\n this.setState({\n href: { pathname: (0, _utils.prefixed)(entry.pathname), query: entry.query },\n as: href\n });\n }\n }\n }\n }, {\n key: 'render',\n value: function render() {\n var _state = this.state,\n href = _state.href,\n as = _state.as;\n\n var _props = this.props,\n data = _props.data,\n children = _props.children,\n content = _props.content,\n raw = _props.raw,\n rest = _objectWithoutProperties(_props, ['data', 'children', 'content', 'raw']); // content & raw are not used but required to remove them from rest\n\n if (data) {\n var _data$page = data.page,\n page = _data$page === undefined ? 'post' : _data$page,\n _entry = data._entry,\n url = data.url;\n\n href = { pathname: '/' + page, query: { _entry: _entry } };\n as = url;\n }\n\n href = (0, _utils.prefixed)(href);\n as = (0, _utils.prefixed)(as);\n\n return _react2.default.createElement(\n _link2.default,\n _extends({}, rest, { href: href, as: as }),\n children\n );\n }\n }]);\n\n return NexteinLink;\n}(_react.Component);\n\nexports.default = NexteinLink;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/nextein/dist/components/link.js\n// module id = ./node_modules/nextein/dist/components/link.js\n// module chunks = 4 5","'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.Content = undefined;\n\nvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nvar _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };\n\nvar _react = require('react');\n\nvar _react2 = _interopRequireDefault(_react);\n\nvar _hoistNonReactStatics = require('hoist-non-react-statics');\n\nvar _hoistNonReactStatics2 = _interopRequireDefault(_hoistNonReactStatics);\n\nvar _unified = require('unified');\n\nvar _unified2 = _interopRequireDefault(_unified);\n\nvar _rehypeParse = require('rehype-parse');\n\nvar _rehypeParse2 = _interopRequireDefault(_rehypeParse);\n\nvar _rehypeStringify = require('rehype-stringify');\n\nvar _rehypeStringify2 = _interopRequireDefault(_rehypeStringify);\n\nvar _rehypeReact = require('rehype-react');\n\nvar _rehypeReact2 = _interopRequireDefault(_rehypeReact);\n\nvar _unistUtilSelect = require('unist-util-select');\n\nvar _unistUtilSelect2 = _interopRequireDefault(_unistUtilSelect);\n\nvar _load = require('../entries/load');\n\nvar _load2 = _interopRequireDefault(_load);\n\nvar _map = require('../entries/map');\n\nvar _map2 = _interopRequireDefault(_map);\n\nvar _utils = require('./utils');\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\nfunction _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }\n\nvar extractExcerpt = function extractExcerpt(excerpt) {\n var selector = typeof excerpt === 'string' ? excerpt : ':root > element[tagName=p]:first-child';\n\n return function () {\n return (/* attacher */function (tree) {\n /* transformer */\n if (excerpt) {\n tree.children = (0, _unistUtilSelect2.default)(tree, selector);\n }\n return tree;\n }\n );\n };\n};\n\nvar toReact = function toReact(_ref) {\n var content = _ref.content,\n excerpt = _ref.excerpt,\n renderers = _ref.renderers,\n _ref$prefix = _ref.prefix,\n prefix = _ref$prefix === undefined ? 'entry-' : _ref$prefix;\n\n var hast = JSON.parse(JSON.stringify(content));\n var p = (0, _unified2.default)().use(_rehypeParse2.default).use(extractExcerpt(excerpt)).use(_rehypeStringify2.default).use(_rehypeReact2.default, {\n createElement: _react2.default.createElement,\n prefix: prefix,\n components: renderers\n });\n\n return p.stringify(p.runSync(hast));\n};\n\nvar Content = function Content(props) {\n var content = props.content,\n excerpt = props.excerpt,\n renderers = props.renderers,\n data = props.data,\n prefix = props.prefix,\n raw = props.raw,\n componentProps = _objectWithoutProperties(props, ['content', 'excerpt', 'renderers', 'data', 'prefix', 'raw']);\n\n var cmp = toReact({ content: content, excerpt: excerpt, renderers: renderers, prefix: prefix });\n var cmpProps = cmp.props;\n\n\n return _extends({}, cmp, {\n props: _extends({}, cmpProps, componentProps)\n });\n};\n\nexports.Content = Content;\n\nexports.default = function (WrappedComponent) {\n var _class, _temp;\n\n var displayName = (0, _utils.getDisplayName)(WrappedComponent);\n\n return (0, _hoistNonReactStatics2.default)((_temp = _class = function (_Component) {\n _inherits(_class, _Component);\n\n function _class() {\n _classCallCheck(this, _class);\n\n return _possibleConstructorReturn(this, (_class.__proto__ || Object.getPrototypeOf(_class)).apply(this, arguments));\n }\n\n _createClass(_class, [{\n key: 'render',\n value: function render() {\n var props = this.props;\n\n\n return _react2.default.createElement(WrappedComponent, props);\n }\n }], [{\n key: 'getInitialProps',\n value: async function getInitialProps() {\n var wrappedInitial = WrappedComponent.getInitialProps;\n\n for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n var wrapped = wrappedInitial ? await wrappedInitial.apply(undefined, args) : {};\n var _args$0$query = args[0].query,\n query = _args$0$query === undefined ? {} : _args$0$query;\n var _entry = query._entry;\n\n var post = _entry ? await (0, _load.byFileName)(_entry) : undefined;\n var _entries = await (0, _load2.default)();\n\n return _extends({}, wrapped, {\n post: post,\n _entries: _entries,\n _entriesMap: (0, _map2.default)(_entries)\n });\n }\n }]);\n\n return _class;\n }(_react.Component), _class.displayName = 'WithPost(' + displayName + ')', _temp), WrappedComponent, { 'getInitialProps': true });\n};\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/nextein/dist/components/post.js\n// module id = ./node_modules/nextein/dist/components/post.js\n// module chunks = 4 5","'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.withPostsFilterBy = exports.sortByDate = exports.inCategory = exports.entries = undefined;\n\nvar _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };\n\nvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nvar _react = require('react');\n\nvar _react2 = _interopRequireDefault(_react);\n\nvar _hoistNonReactStatics = require('hoist-non-react-statics');\n\nvar _hoistNonReactStatics2 = _interopRequireDefault(_hoistNonReactStatics);\n\nvar _load = require('../entries/load');\n\nvar _load2 = _interopRequireDefault(_load);\n\nvar _map = require('../entries/map');\n\nvar _map2 = _interopRequireDefault(_map);\n\nvar _utils = require('./utils');\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\nvar entries = exports.entries = _load2.default;\n\nvar inCategory = exports.inCategory = function inCategory(category) {\n var _ref = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {},\n _ref$includeSubCatego = _ref.includeSubCategories,\n includeSubCategories = _ref$includeSubCatego === undefined ? false : _ref$includeSubCatego;\n\n return function (post) {\n var data = post.data;\n var _data$category = data.category,\n postCategory = _data$category === undefined ? '' : _data$category;\n\n var result = !includeSubCategories ? postCategory === category : postCategory.startsWith(category);\n\n return category ? result : true;\n };\n};\n\nvar sortByDate = exports.sortByDate = function sortByDate(a, b) {\n var aTime = new Date(a.data.date).getTime();\n var bTime = new Date(b.data.date).getTime();\n return bTime - aTime;\n};\n\nvar withPostsFilterBy = exports.withPostsFilterBy = function withPostsFilterBy(filter) {\n return function (WrappedComponent) {\n var _class, _temp;\n\n var displayName = (0, _utils.getDisplayName)(WrappedComponent);\n var postfix = filter ? 'FilterBy' : '';\n\n return (0, _hoistNonReactStatics2.default)((_temp = _class = function (_Component) {\n _inherits(_class, _Component);\n\n function _class() {\n _classCallCheck(this, _class);\n\n return _possibleConstructorReturn(this, (_class.__proto__ || Object.getPrototypeOf(_class)).apply(this, arguments));\n }\n\n _createClass(_class, [{\n key: 'render',\n value: function render() {\n return _react2.default.createElement(WrappedComponent, this.props);\n }\n }], [{\n key: 'getInitialProps',\n value: async function getInitialProps() {\n var wrappedInitial = WrappedComponent.getInitialProps;\n var wrapped = wrappedInitial ? await wrappedInitial.apply(undefined, arguments) : {};\n var _entries = await (0, _load2.default)();\n var posts = filter ? _entries.filter(filter) : _entries;\n\n return _extends({}, wrapped, {\n posts: posts,\n _entries: _entries,\n _entriesMap: (0, _map2.default)(_entries)\n });\n }\n }]);\n\n return _class;\n }(_react.Component), _class.displayName = 'WithPosts' + postfix + '(' + displayName + ')', _temp), WrappedComponent, { 'getInitialProps': true });\n };\n};\n\nvar withPosts = withPostsFilterBy();\n\nexports.default = withPosts;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/nextein/dist/components/posts.js\n// module id = ./node_modules/nextein/dist/components/posts.js\n// module chunks = 4","'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };\n\nfunction _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n\nvar getDisplayName = exports.getDisplayName = function getDisplayName(Component) {\n return Component.displayName || Component.name || 'Unknown';\n};\n\nvar entriesMapReducer = exports.entriesMapReducer = function entriesMapReducer(prev, _ref) {\n var data = _ref.data;\n var url = data.url,\n page = data.page,\n _entry = data._entry;\n\n var query = _entry ? { _entry: _entry } : undefined;\n return page ? _extends({}, prev, _defineProperty({}, url, { pathname: '/' + page, query: query })) : prev;\n};\n\nvar prefixed = exports.prefixed = function prefixed(path) {\n var prefix = ensureNoEndSlash(process.env.PUBLIC_URL);\n if (!prefix || typeof path !== 'string' || /^https?:\\/\\//.test(path)) return path;\n return '' + prefix + path;\n};\n\nvar ensureNoEndSlash = function ensureNoEndSlash(path) {\n if (!path || typeof path !== 'string') return path;\n if (path.endsWith('/')) return path.substr(path, path.length - 1);\n return path;\n};\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/nextein/dist/components/utils.js\n// module id = ./node_modules/nextein/dist/components/utils.js\n// module chunks = 4 5","'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.byFileName = undefined;\n\nvar _path = require('path');\n\nvar _unfetch = require('unfetch');\n\nvar _unfetch2 = _interopRequireDefault(_unfetch);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\n/**\n * THIS FILE IS LOADED BY WEBPACK TO REPLACE load.js in dev client\n */\n\nvar loadEntries = async function loadEntries() {\n var path = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 'posts';\n\n var resp = await (0, _unfetch2.default)('/_load_entries');\n return resp.json();\n};\n\nexports.default = loadEntries;\nvar byFileName = exports.byFileName = async function byFileName(path) {\n var root = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'posts';\n\n var resp = await (0, _unfetch2.default)('/_load_entry/' + path.replace(_path.sep, '/'));\n return resp.json();\n};\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/nextein/dist/entries/load.js\n// module id = ./node_modules/nextein/dist/entries/load.js\n// module chunks = 4 5","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\n/* global __NEXT_DATA__ */\n\n// entriesMap = entries => object\nexports.default = function () {\n var entries = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];\n var _NEXT_DATA__ = __NEXT_DATA__,\n props = _NEXT_DATA__.props;\n\n var _ref = props.pageProps || props,\n _entriesMap = _ref._entriesMap;\n\n return _entriesMap;\n};\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/nextein/dist/entries/map.js\n// module id = ./node_modules/nextein/dist/entries/map.js\n// module chunks = 4 5","module.exports = require('./dist/components/link')\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/nextein/link.js\n// module id = ./node_modules/nextein/link.js\n// module chunks = 4 5","module.exports = require('./dist/components/post')\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/nextein/post.js\n// module id = ./node_modules/nextein/post.js\n// module chunks = 4 5","module.exports = require('./dist/components/posts')\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/nextein/posts.js\n// module id = ./node_modules/nextein/posts.js\n// module chunks = 4","module.exports = compile;\n\nvar BaseFuncs = require(\"boolbase\"),\n trueFunc = BaseFuncs.trueFunc,\n falseFunc = BaseFuncs.falseFunc;\n\n/*\n\treturns a function that checks if an elements index matches the given rule\n\thighly optimized to return the fastest solution\n*/\nfunction compile(parsed){\n\tvar a = parsed[0],\n\t b = parsed[1] - 1;\n\n\t//when b <= 0, a*n won't be possible for any matches when a < 0\n\t//besides, the specification says that no element is matched when a and b are 0\n\tif(b < 0 && a <= 0) return falseFunc;\n\n\t//when a is in the range -1..1, it matches any element (so only b is checked)\n\tif(a ===-1) return function(pos){ return pos <= b; };\n\tif(a === 0) return function(pos){ return pos === b; };\n\t//when b <= 0 and a === 1, they match any element\n\tif(a === 1) return b < 0 ? trueFunc : function(pos){ return pos >= b; };\n\n\t//when a > 0, modulo can be used to check if there is a match\n\tvar bMod = b % a;\n\tif(bMod < 0) bMod += a;\n\n\tif(a > 1){\n\t\treturn function(pos){\n\t\t\treturn pos >= b && pos % a === bMod;\n\t\t};\n\t}\n\n\ta *= -1; //make `a` positive\n\n\treturn function(pos){\n\t\treturn pos <= b && pos % a === bMod;\n\t};\n}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/nth-check/compile.js\n// module id = ./node_modules/nth-check/compile.js\n// module chunks = 4 5","var parse = require(\"./parse.js\"),\n compile = require(\"./compile.js\");\n\nmodule.exports = function nthCheck(formula){\n\treturn compile(parse(formula));\n};\n\nmodule.exports.parse = parse;\nmodule.exports.compile = compile;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/nth-check/index.js\n// module id = ./node_modules/nth-check/index.js\n// module chunks = 4 5","module.exports = parse;\n\n//following http://www.w3.org/TR/css3-selectors/#nth-child-pseudo\n\n//[ ['-'|'+']? INTEGER? {N} [ S* ['-'|'+'] S* INTEGER ]?\nvar re_nthElement = /^([+\\-]?\\d*n)?\\s*(?:([+\\-]?)\\s*(\\d+))?$/;\n\n/*\n\tparses a nth-check formula, returns an array of two numbers\n*/\nfunction parse(formula){\n\tformula = formula.trim().toLowerCase();\n\n\tif(formula === \"even\"){\n\t\treturn [2, 0];\n\t} else if(formula === \"odd\"){\n\t\treturn [2, 1];\n\t} else {\n\t\tvar parsed = formula.match(re_nthElement);\n\n\t\tif(!parsed){\n\t\t\tthrow new SyntaxError(\"n-th rule couldn't be parsed ('\" + formula + \"')\");\n\t\t}\n\n\t\tvar a;\n\n\t\tif(parsed[1]){\n\t\t\ta = parseInt(parsed[1], 10);\n\t\t\tif(isNaN(a)){\n\t\t\t\tif(parsed[1].charAt(0) === \"-\") a = -1;\n\t\t\t\telse a = 1;\n\t\t\t}\n\t\t} else a = 0;\n\n\t\treturn [\n\t\t\ta,\n\t\t\tparsed[3] ? parseInt((parsed[2] || \"\") + parsed[3], 10) : 0\n\t\t];\n\t}\n}\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/nth-check/parse.js\n// module id = ./node_modules/nth-check/parse.js\n// module chunks = 4 5","'use strict';\n\n// modified from https://github.com/es-shims/es5-shim\nvar has = Object.prototype.hasOwnProperty;\nvar toStr = Object.prototype.toString;\nvar slice = Array.prototype.slice;\nvar isArgs = require('./isArguments');\nvar isEnumerable = Object.prototype.propertyIsEnumerable;\nvar hasDontEnumBug = !isEnumerable.call({ toString: null }, 'toString');\nvar hasProtoEnumBug = isEnumerable.call(function () {}, 'prototype');\nvar dontEnums = [\n\t'toString',\n\t'toLocaleString',\n\t'valueOf',\n\t'hasOwnProperty',\n\t'isPrototypeOf',\n\t'propertyIsEnumerable',\n\t'constructor'\n];\nvar equalsConstructorPrototype = function (o) {\n\tvar ctor = o.constructor;\n\treturn ctor && ctor.prototype === o;\n};\nvar excludedKeys = {\n\t$applicationCache: true,\n\t$console: true,\n\t$external: true,\n\t$frame: true,\n\t$frameElement: true,\n\t$frames: true,\n\t$innerHeight: true,\n\t$innerWidth: true,\n\t$outerHeight: true,\n\t$outerWidth: true,\n\t$pageXOffset: true,\n\t$pageYOffset: true,\n\t$parent: true,\n\t$scrollLeft: true,\n\t$scrollTop: true,\n\t$scrollX: true,\n\t$scrollY: true,\n\t$self: true,\n\t$webkitIndexedDB: true,\n\t$webkitStorageInfo: true,\n\t$window: true\n};\nvar hasAutomationEqualityBug = (function () {\n\t/* global window */\n\tif (typeof window === 'undefined') { return false; }\n\tfor (var k in window) {\n\t\ttry {\n\t\t\tif (!excludedKeys['$' + k] && has.call(window, k) && window[k] !== null && typeof window[k] === 'object') {\n\t\t\t\ttry {\n\t\t\t\t\tequalsConstructorPrototype(window[k]);\n\t\t\t\t} catch (e) {\n\t\t\t\t\treturn true;\n\t\t\t\t}\n\t\t\t}\n\t\t} catch (e) {\n\t\t\treturn true;\n\t\t}\n\t}\n\treturn false;\n}());\nvar equalsConstructorPrototypeIfNotBuggy = function (o) {\n\t/* global window */\n\tif (typeof window === 'undefined' || !hasAutomationEqualityBug) {\n\t\treturn equalsConstructorPrototype(o);\n\t}\n\ttry {\n\t\treturn equalsConstructorPrototype(o);\n\t} catch (e) {\n\t\treturn false;\n\t}\n};\n\nvar keysShim = function keys(object) {\n\tvar isObject = object !== null && typeof object === 'object';\n\tvar isFunction = toStr.call(object) === '[object Function]';\n\tvar isArguments = isArgs(object);\n\tvar isString = isObject && toStr.call(object) === '[object String]';\n\tvar theKeys = [];\n\n\tif (!isObject && !isFunction && !isArguments) {\n\t\tthrow new TypeError('Object.keys called on a non-object');\n\t}\n\n\tvar skipProto = hasProtoEnumBug && isFunction;\n\tif (isString && object.length > 0 && !has.call(object, 0)) {\n\t\tfor (var i = 0; i < object.length; ++i) {\n\t\t\ttheKeys.push(String(i));\n\t\t}\n\t}\n\n\tif (isArguments && object.length > 0) {\n\t\tfor (var j = 0; j < object.length; ++j) {\n\t\t\ttheKeys.push(String(j));\n\t\t}\n\t} else {\n\t\tfor (var name in object) {\n\t\t\tif (!(skipProto && name === 'prototype') && has.call(object, name)) {\n\t\t\t\ttheKeys.push(String(name));\n\t\t\t}\n\t\t}\n\t}\n\n\tif (hasDontEnumBug) {\n\t\tvar skipConstructor = equalsConstructorPrototypeIfNotBuggy(object);\n\n\t\tfor (var k = 0; k < dontEnums.length; ++k) {\n\t\t\tif (!(skipConstructor && dontEnums[k] === 'constructor') && has.call(object, dontEnums[k])) {\n\t\t\t\ttheKeys.push(dontEnums[k]);\n\t\t\t}\n\t\t}\n\t}\n\treturn theKeys;\n};\n\nkeysShim.shim = function shimObjectKeys() {\n\tif (Object.keys) {\n\t\tvar keysWorksWithArguments = (function () {\n\t\t\t// Safari 5.0 bug\n\t\t\treturn (Object.keys(arguments) || '').length === 2;\n\t\t}(1, 2));\n\t\tif (!keysWorksWithArguments) {\n\t\t\tvar originalKeys = Object.keys;\n\t\t\tObject.keys = function keys(object) { // eslint-disable-line func-name-matching\n\t\t\t\tif (isArgs(object)) {\n\t\t\t\t\treturn originalKeys(slice.call(object));\n\t\t\t\t} else {\n\t\t\t\t\treturn originalKeys(object);\n\t\t\t\t}\n\t\t\t};\n\t\t}\n\t} else {\n\t\tObject.keys = keysShim;\n\t}\n\treturn Object.keys || keysShim;\n};\n\nmodule.exports = keysShim;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/object-keys/index.js\n// module id = ./node_modules/object-keys/index.js\n// module chunks = 4 5","'use strict';\n\nvar toStr = Object.prototype.toString;\n\nmodule.exports = function isArguments(value) {\n\tvar str = toStr.call(value);\n\tvar isArgs = str === '[object Arguments]';\n\tif (!isArgs) {\n\t\tisArgs = str !== '[object Array]' &&\n\t\t\tvalue !== null &&\n\t\t\ttypeof value === 'object' &&\n\t\t\ttypeof value.length === 'number' &&\n\t\t\tvalue.length >= 0 &&\n\t\t\ttoStr.call(value.callee) === '[object Function]';\n\t}\n\treturn isArgs;\n};\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/object-keys/isArguments.js\n// module id = ./node_modules/object-keys/isArguments.js\n// module chunks = 4 5","'use strict';\n\n// modified from https://github.com/es-shims/es6-shim\nvar keys = require('object-keys');\nvar bind = require('function-bind');\nvar canBeObject = function (obj) {\n\treturn typeof obj !== 'undefined' && obj !== null;\n};\nvar hasSymbols = require('has-symbols/shams')();\nvar toObject = Object;\nvar push = bind.call(Function.call, Array.prototype.push);\nvar propIsEnumerable = bind.call(Function.call, Object.prototype.propertyIsEnumerable);\nvar originalGetSymbols = hasSymbols ? Object.getOwnPropertySymbols : null;\n\nmodule.exports = function assign(target, source1) {\n\tif (!canBeObject(target)) { throw new TypeError('target must be an object'); }\n\tvar objTarget = toObject(target);\n\tvar s, source, i, props, syms, value, key;\n\tfor (s = 1; s < arguments.length; ++s) {\n\t\tsource = toObject(arguments[s]);\n\t\tprops = keys(source);\n\t\tvar getSymbols = hasSymbols && (Object.getOwnPropertySymbols || originalGetSymbols);\n\t\tif (getSymbols) {\n\t\t\tsyms = getSymbols(source);\n\t\t\tfor (i = 0; i < syms.length; ++i) {\n\t\t\t\tkey = syms[i];\n\t\t\t\tif (propIsEnumerable(source, key)) {\n\t\t\t\t\tpush(props, key);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tfor (i = 0; i < props.length; ++i) {\n\t\t\tkey = props[i];\n\t\t\tvalue = source[key];\n\t\t\tif (propIsEnumerable(source, key)) {\n\t\t\t\tobjTarget[key] = value;\n\t\t\t}\n\t\t}\n\t}\n\treturn objTarget;\n};\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/object.assign/implementation.js\n// module id = ./node_modules/object.assign/implementation.js\n// module chunks = 4 5","'use strict';\n\nvar defineProperties = require('define-properties');\n\nvar implementation = require('./implementation');\nvar getPolyfill = require('./polyfill');\nvar shim = require('./shim');\n\nvar polyfill = getPolyfill();\n\ndefineProperties(polyfill, {\n\tgetPolyfill: getPolyfill,\n\timplementation: implementation,\n\tshim: shim\n});\n\nmodule.exports = polyfill;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/object.assign/index.js\n// module id = ./node_modules/object.assign/index.js\n// module chunks = 4 5","'use strict';\n\nvar implementation = require('./implementation');\n\nvar lacksProperEnumerationOrder = function () {\n\tif (!Object.assign) {\n\t\treturn false;\n\t}\n\t// v8, specifically in node 4.x, has a bug with incorrect property enumeration order\n\t// note: this does not detect the bug unless there's 20 characters\n\tvar str = 'abcdefghijklmnopqrst';\n\tvar letters = str.split('');\n\tvar map = {};\n\tfor (var i = 0; i < letters.length; ++i) {\n\t\tmap[letters[i]] = letters[i];\n\t}\n\tvar obj = Object.assign({}, map);\n\tvar actual = '';\n\tfor (var k in obj) {\n\t\tactual += k;\n\t}\n\treturn str !== actual;\n};\n\nvar assignHasPendingExceptions = function () {\n\tif (!Object.assign || !Object.preventExtensions) {\n\t\treturn false;\n\t}\n\t// Firefox 37 still has \"pending exception\" logic in its Object.assign implementation,\n\t// which is 72% slower than our shim, and Firefox 40's native implementation.\n\tvar thrower = Object.preventExtensions({ 1: 2 });\n\ttry {\n\t\tObject.assign(thrower, 'xy');\n\t} catch (e) {\n\t\treturn thrower[1] === 'y';\n\t}\n\treturn false;\n};\n\nmodule.exports = function getPolyfill() {\n\tif (!Object.assign) {\n\t\treturn implementation;\n\t}\n\tif (lacksProperEnumerationOrder()) {\n\t\treturn implementation;\n\t}\n\tif (assignHasPendingExceptions()) {\n\t\treturn implementation;\n\t}\n\treturn Object.assign;\n};\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/object.assign/polyfill.js\n// module id = ./node_modules/object.assign/polyfill.js\n// module chunks = 4 5","'use strict';\n\nvar define = require('define-properties');\nvar getPolyfill = require('./polyfill');\n\nmodule.exports = function shimAssign() {\n\tvar polyfill = getPolyfill();\n\tdefine(\n\t\tObject,\n\t\t{ assign: polyfill },\n\t\t{ assign: function () { return Object.assign !== polyfill; } }\n\t);\n\treturn polyfill;\n};\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/object.assign/shim.js\n// module id = ./node_modules/object.assign/shim.js\n// module chunks = 4 5","'use strict';\n\nvar DOCUMENT_MODE = require('./html').DOCUMENT_MODE;\n\n//Const\nvar VALID_DOCTYPE_NAME = 'html',\n QUIRKS_MODE_SYSTEM_ID = 'http://www.ibm.com/data/dtd/v11/ibmxhtml1-transitional.dtd',\n QUIRKS_MODE_PUBLIC_ID_PREFIXES = [\n '+//silmaril//dtd html pro v0r11 19970101//en',\n '-//advasoft ltd//dtd html 3.0 aswedit + extensions//en',\n '-//as//dtd html 3.0 aswedit + extensions//en',\n '-//ietf//dtd html 2.0 level 1//en',\n '-//ietf//dtd html 2.0 level 2//en',\n '-//ietf//dtd html 2.0 strict level 1//en',\n '-//ietf//dtd html 2.0 strict level 2//en',\n '-//ietf//dtd html 2.0 strict//en',\n '-//ietf//dtd html 2.0//en',\n '-//ietf//dtd html 2.1e//en',\n '-//ietf//dtd html 3.0//en',\n '-//ietf//dtd html 3.0//en//',\n '-//ietf//dtd html 3.2 final//en',\n '-//ietf//dtd html 3.2//en',\n '-//ietf//dtd html 3//en',\n '-//ietf//dtd html level 0//en',\n '-//ietf//dtd html level 0//en//2.0',\n '-//ietf//dtd html level 1//en',\n '-//ietf//dtd html level 1//en//2.0',\n '-//ietf//dtd html level 2//en',\n '-//ietf//dtd html level 2//en//2.0',\n '-//ietf//dtd html level 3//en',\n '-//ietf//dtd html level 3//en//3.0',\n '-//ietf//dtd html strict level 0//en',\n '-//ietf//dtd html strict level 0//en//2.0',\n '-//ietf//dtd html strict level 1//en',\n '-//ietf//dtd html strict level 1//en//2.0',\n '-//ietf//dtd html strict level 2//en',\n '-//ietf//dtd html strict level 2//en//2.0',\n '-//ietf//dtd html strict level 3//en',\n '-//ietf//dtd html strict level 3//en//3.0',\n '-//ietf//dtd html strict//en',\n '-//ietf//dtd html strict//en//2.0',\n '-//ietf//dtd html strict//en//3.0',\n '-//ietf//dtd html//en',\n '-//ietf//dtd html//en//2.0',\n '-//ietf//dtd html//en//3.0',\n '-//metrius//dtd metrius presentational//en',\n '-//microsoft//dtd internet explorer 2.0 html strict//en',\n '-//microsoft//dtd internet explorer 2.0 html//en',\n '-//microsoft//dtd internet explorer 2.0 tables//en',\n '-//microsoft//dtd internet explorer 3.0 html strict//en',\n '-//microsoft//dtd internet explorer 3.0 html//en',\n '-//microsoft//dtd internet explorer 3.0 tables//en',\n '-//netscape comm. corp.//dtd html//en',\n '-//netscape comm. corp.//dtd strict html//en',\n '-//o\\'reilly and associates//dtd html 2.0//en',\n '-//o\\'reilly and associates//dtd html extended 1.0//en',\n '-//spyglass//dtd html 2.0 extended//en',\n '-//sq//dtd html 2.0 hotmetal + extensions//en',\n '-//sun microsystems corp.//dtd hotjava html//en',\n '-//sun microsystems corp.//dtd hotjava strict html//en',\n '-//w3c//dtd html 3 1995-03-24//en',\n '-//w3c//dtd html 3.2 draft//en',\n '-//w3c//dtd html 3.2 final//en',\n '-//w3c//dtd html 3.2//en',\n '-//w3c//dtd html 3.2s draft//en',\n '-//w3c//dtd html 4.0 frameset//en',\n '-//w3c//dtd html 4.0 transitional//en',\n '-//w3c//dtd html experimental 19960712//en',\n '-//w3c//dtd html experimental 970421//en',\n '-//w3c//dtd w3 html//en',\n '-//w3o//dtd w3 html 3.0//en',\n '-//w3o//dtd w3 html 3.0//en//',\n '-//webtechs//dtd mozilla html 2.0//en',\n '-//webtechs//dtd mozilla html//en'\n ],\n QUIRKS_MODE_NO_SYSTEM_ID_PUBLIC_ID_PREFIXES = QUIRKS_MODE_PUBLIC_ID_PREFIXES.concat([\n '-//w3c//dtd html 4.01 frameset//',\n '-//w3c//dtd html 4.01 transitional//'\n ]),\n QUIRKS_MODE_PUBLIC_IDS = [\n '-//w3o//dtd w3 html strict 3.0//en//',\n '-/w3c/dtd html 4.0 transitional/en',\n 'html'\n ],\n LIMITED_QUIRKS_PUBLIC_ID_PREFIXES = [\n '-//W3C//DTD XHTML 1.0 Frameset//',\n '-//W3C//DTD XHTML 1.0 Transitional//'\n ],\n LIMITED_QUIRKS_WITH_SYSTEM_ID_PUBLIC_ID_PREFIXES = LIMITED_QUIRKS_PUBLIC_ID_PREFIXES.concat([\n '-//W3C//DTD HTML 4.01 Frameset//',\n '-//W3C//DTD HTML 4.01 Transitional//'\n ]);\n\n\n//Utils\nfunction enquoteDoctypeId(id) {\n var quote = id.indexOf('\"') !== -1 ? '\\'' : '\"';\n\n return quote + id + quote;\n}\n\nfunction hasPrefix(publicId, prefixes) {\n for (var i = 0; i < prefixes.length; i++) {\n if (publicId.indexOf(prefixes[i]) === 0)\n return true;\n }\n\n return false;\n}\n\n\n//API\nexports.getDocumentMode = function (name, publicId, systemId) {\n if (name !== VALID_DOCTYPE_NAME)\n return DOCUMENT_MODE.QUIRKS;\n\n if (systemId && systemId.toLowerCase() === QUIRKS_MODE_SYSTEM_ID)\n return DOCUMENT_MODE.QUIRKS;\n\n if (publicId !== null) {\n publicId = publicId.toLowerCase();\n\n if (QUIRKS_MODE_PUBLIC_IDS.indexOf(publicId) > -1)\n return DOCUMENT_MODE.QUIRKS;\n\n var prefixes = systemId === null ? QUIRKS_MODE_NO_SYSTEM_ID_PUBLIC_ID_PREFIXES : QUIRKS_MODE_PUBLIC_ID_PREFIXES;\n\n if (hasPrefix(publicId, prefixes))\n return DOCUMENT_MODE.QUIRKS;\n\n prefixes = systemId === null ? LIMITED_QUIRKS_PUBLIC_ID_PREFIXES : LIMITED_QUIRKS_WITH_SYSTEM_ID_PUBLIC_ID_PREFIXES;\n\n if (hasPrefix(publicId, prefixes))\n return DOCUMENT_MODE.LIMITED_QUIRKS;\n }\n\n return DOCUMENT_MODE.NO_QUIRKS;\n};\n\nexports.serializeContent = function (name, publicId, systemId) {\n var str = '!DOCTYPE ';\n\n if (name)\n str += name;\n\n if (publicId !== null)\n str += ' PUBLIC ' + enquoteDoctypeId(publicId);\n\n else if (systemId !== null)\n str += ' SYSTEM';\n\n if (systemId !== null)\n str += ' ' + enquoteDoctypeId(systemId);\n\n return str;\n};\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/parse5/lib/common/doctype.js\n// module id = ./node_modules/parse5/lib/common/doctype.js\n// module chunks = 4 5","'use strict';\n\nvar Tokenizer = require('../tokenizer'),\n HTML = require('./html');\n\n//Aliases\nvar $ = HTML.TAG_NAMES,\n NS = HTML.NAMESPACES,\n ATTRS = HTML.ATTRS;\n\n\n//MIME types\nvar MIME_TYPES = {\n TEXT_HTML: 'text/html',\n APPLICATION_XML: 'application/xhtml+xml'\n};\n\n//Attributes\nvar DEFINITION_URL_ATTR = 'definitionurl',\n ADJUSTED_DEFINITION_URL_ATTR = 'definitionURL',\n SVG_ATTRS_ADJUSTMENT_MAP = {\n 'attributename': 'attributeName',\n 'attributetype': 'attributeType',\n 'basefrequency': 'baseFrequency',\n 'baseprofile': 'baseProfile',\n 'calcmode': 'calcMode',\n 'clippathunits': 'clipPathUnits',\n 'diffuseconstant': 'diffuseConstant',\n 'edgemode': 'edgeMode',\n 'filterunits': 'filterUnits',\n 'glyphref': 'glyphRef',\n 'gradienttransform': 'gradientTransform',\n 'gradientunits': 'gradientUnits',\n 'kernelmatrix': 'kernelMatrix',\n 'kernelunitlength': 'kernelUnitLength',\n 'keypoints': 'keyPoints',\n 'keysplines': 'keySplines',\n 'keytimes': 'keyTimes',\n 'lengthadjust': 'lengthAdjust',\n 'limitingconeangle': 'limitingConeAngle',\n 'markerheight': 'markerHeight',\n 'markerunits': 'markerUnits',\n 'markerwidth': 'markerWidth',\n 'maskcontentunits': 'maskContentUnits',\n 'maskunits': 'maskUnits',\n 'numoctaves': 'numOctaves',\n 'pathlength': 'pathLength',\n 'patterncontentunits': 'patternContentUnits',\n 'patterntransform': 'patternTransform',\n 'patternunits': 'patternUnits',\n 'pointsatx': 'pointsAtX',\n 'pointsaty': 'pointsAtY',\n 'pointsatz': 'pointsAtZ',\n 'preservealpha': 'preserveAlpha',\n 'preserveaspectratio': 'preserveAspectRatio',\n 'primitiveunits': 'primitiveUnits',\n 'refx': 'refX',\n 'refy': 'refY',\n 'repeatcount': 'repeatCount',\n 'repeatdur': 'repeatDur',\n 'requiredextensions': 'requiredExtensions',\n 'requiredfeatures': 'requiredFeatures',\n 'specularconstant': 'specularConstant',\n 'specularexponent': 'specularExponent',\n 'spreadmethod': 'spreadMethod',\n 'startoffset': 'startOffset',\n 'stddeviation': 'stdDeviation',\n 'stitchtiles': 'stitchTiles',\n 'surfacescale': 'surfaceScale',\n 'systemlanguage': 'systemLanguage',\n 'tablevalues': 'tableValues',\n 'targetx': 'targetX',\n 'targety': 'targetY',\n 'textlength': 'textLength',\n 'viewbox': 'viewBox',\n 'viewtarget': 'viewTarget',\n 'xchannelselector': 'xChannelSelector',\n 'ychannelselector': 'yChannelSelector',\n 'zoomandpan': 'zoomAndPan'\n },\n XML_ATTRS_ADJUSTMENT_MAP = {\n 'xlink:actuate': {prefix: 'xlink', name: 'actuate', namespace: NS.XLINK},\n 'xlink:arcrole': {prefix: 'xlink', name: 'arcrole', namespace: NS.XLINK},\n 'xlink:href': {prefix: 'xlink', name: 'href', namespace: NS.XLINK},\n 'xlink:role': {prefix: 'xlink', name: 'role', namespace: NS.XLINK},\n 'xlink:show': {prefix: 'xlink', name: 'show', namespace: NS.XLINK},\n 'xlink:title': {prefix: 'xlink', name: 'title', namespace: NS.XLINK},\n 'xlink:type': {prefix: 'xlink', name: 'type', namespace: NS.XLINK},\n 'xml:base': {prefix: 'xml', name: 'base', namespace: NS.XML},\n 'xml:lang': {prefix: 'xml', name: 'lang', namespace: NS.XML},\n 'xml:space': {prefix: 'xml', name: 'space', namespace: NS.XML},\n 'xmlns': {prefix: '', name: 'xmlns', namespace: NS.XMLNS},\n 'xmlns:xlink': {prefix: 'xmlns', name: 'xlink', namespace: NS.XMLNS}\n\n };\n\n//SVG tag names adjustment map\nvar SVG_TAG_NAMES_ADJUSTMENT_MAP = exports.SVG_TAG_NAMES_ADJUSTMENT_MAP = {\n 'altglyph': 'altGlyph',\n 'altglyphdef': 'altGlyphDef',\n 'altglyphitem': 'altGlyphItem',\n 'animatecolor': 'animateColor',\n 'animatemotion': 'animateMotion',\n 'animatetransform': 'animateTransform',\n 'clippath': 'clipPath',\n 'feblend': 'feBlend',\n 'fecolormatrix': 'feColorMatrix',\n 'fecomponenttransfer': 'feComponentTransfer',\n 'fecomposite': 'feComposite',\n 'feconvolvematrix': 'feConvolveMatrix',\n 'fediffuselighting': 'feDiffuseLighting',\n 'fedisplacementmap': 'feDisplacementMap',\n 'fedistantlight': 'feDistantLight',\n 'feflood': 'feFlood',\n 'fefunca': 'feFuncA',\n 'fefuncb': 'feFuncB',\n 'fefuncg': 'feFuncG',\n 'fefuncr': 'feFuncR',\n 'fegaussianblur': 'feGaussianBlur',\n 'feimage': 'feImage',\n 'femerge': 'feMerge',\n 'femergenode': 'feMergeNode',\n 'femorphology': 'feMorphology',\n 'feoffset': 'feOffset',\n 'fepointlight': 'fePointLight',\n 'fespecularlighting': 'feSpecularLighting',\n 'fespotlight': 'feSpotLight',\n 'fetile': 'feTile',\n 'feturbulence': 'feTurbulence',\n 'foreignobject': 'foreignObject',\n 'glyphref': 'glyphRef',\n 'lineargradient': 'linearGradient',\n 'radialgradient': 'radialGradient',\n 'textpath': 'textPath'\n};\n\n//Tags that causes exit from foreign content\nvar EXITS_FOREIGN_CONTENT = Object.create(null);\n\nEXITS_FOREIGN_CONTENT[$.B] = true;\nEXITS_FOREIGN_CONTENT[$.BIG] = true;\nEXITS_FOREIGN_CONTENT[$.BLOCKQUOTE] = true;\nEXITS_FOREIGN_CONTENT[$.BODY] = true;\nEXITS_FOREIGN_CONTENT[$.BR] = true;\nEXITS_FOREIGN_CONTENT[$.CENTER] = true;\nEXITS_FOREIGN_CONTENT[$.CODE] = true;\nEXITS_FOREIGN_CONTENT[$.DD] = true;\nEXITS_FOREIGN_CONTENT[$.DIV] = true;\nEXITS_FOREIGN_CONTENT[$.DL] = true;\nEXITS_FOREIGN_CONTENT[$.DT] = true;\nEXITS_FOREIGN_CONTENT[$.EM] = true;\nEXITS_FOREIGN_CONTENT[$.EMBED] = true;\nEXITS_FOREIGN_CONTENT[$.H1] = true;\nEXITS_FOREIGN_CONTENT[$.H2] = true;\nEXITS_FOREIGN_CONTENT[$.H3] = true;\nEXITS_FOREIGN_CONTENT[$.H4] = true;\nEXITS_FOREIGN_CONTENT[$.H5] = true;\nEXITS_FOREIGN_CONTENT[$.H6] = true;\nEXITS_FOREIGN_CONTENT[$.HEAD] = true;\nEXITS_FOREIGN_CONTENT[$.HR] = true;\nEXITS_FOREIGN_CONTENT[$.I] = true;\nEXITS_FOREIGN_CONTENT[$.IMG] = true;\nEXITS_FOREIGN_CONTENT[$.LI] = true;\nEXITS_FOREIGN_CONTENT[$.LISTING] = true;\nEXITS_FOREIGN_CONTENT[$.MENU] = true;\nEXITS_FOREIGN_CONTENT[$.META] = true;\nEXITS_FOREIGN_CONTENT[$.NOBR] = true;\nEXITS_FOREIGN_CONTENT[$.OL] = true;\nEXITS_FOREIGN_CONTENT[$.P] = true;\nEXITS_FOREIGN_CONTENT[$.PRE] = true;\nEXITS_FOREIGN_CONTENT[$.RUBY] = true;\nEXITS_FOREIGN_CONTENT[$.S] = true;\nEXITS_FOREIGN_CONTENT[$.SMALL] = true;\nEXITS_FOREIGN_CONTENT[$.SPAN] = true;\nEXITS_FOREIGN_CONTENT[$.STRONG] = true;\nEXITS_FOREIGN_CONTENT[$.STRIKE] = true;\nEXITS_FOREIGN_CONTENT[$.SUB] = true;\nEXITS_FOREIGN_CONTENT[$.SUP] = true;\nEXITS_FOREIGN_CONTENT[$.TABLE] = true;\nEXITS_FOREIGN_CONTENT[$.TT] = true;\nEXITS_FOREIGN_CONTENT[$.U] = true;\nEXITS_FOREIGN_CONTENT[$.UL] = true;\nEXITS_FOREIGN_CONTENT[$.VAR] = true;\n\n//Check exit from foreign content\nexports.causesExit = function (startTagToken) {\n var tn = startTagToken.tagName;\n var isFontWithAttrs = tn === $.FONT && (Tokenizer.getTokenAttr(startTagToken, ATTRS.COLOR) !== null ||\n Tokenizer.getTokenAttr(startTagToken, ATTRS.SIZE) !== null ||\n Tokenizer.getTokenAttr(startTagToken, ATTRS.FACE) !== null);\n\n return isFontWithAttrs ? true : EXITS_FOREIGN_CONTENT[tn];\n};\n\n//Token adjustments\nexports.adjustTokenMathMLAttrs = function (token) {\n for (var i = 0; i < token.attrs.length; i++) {\n if (token.attrs[i].name === DEFINITION_URL_ATTR) {\n token.attrs[i].name = ADJUSTED_DEFINITION_URL_ATTR;\n break;\n }\n }\n};\n\nexports.adjustTokenSVGAttrs = function (token) {\n for (var i = 0; i < token.attrs.length; i++) {\n var adjustedAttrName = SVG_ATTRS_ADJUSTMENT_MAP[token.attrs[i].name];\n\n if (adjustedAttrName)\n token.attrs[i].name = adjustedAttrName;\n }\n};\n\nexports.adjustTokenXMLAttrs = function (token) {\n for (var i = 0; i < token.attrs.length; i++) {\n var adjustedAttrEntry = XML_ATTRS_ADJUSTMENT_MAP[token.attrs[i].name];\n\n if (adjustedAttrEntry) {\n token.attrs[i].prefix = adjustedAttrEntry.prefix;\n token.attrs[i].name = adjustedAttrEntry.name;\n token.attrs[i].namespace = adjustedAttrEntry.namespace;\n }\n }\n};\n\nexports.adjustTokenSVGTagName = function (token) {\n var adjustedTagName = SVG_TAG_NAMES_ADJUSTMENT_MAP[token.tagName];\n\n if (adjustedTagName)\n token.tagName = adjustedTagName;\n};\n\n//Integration points\nfunction isMathMLTextIntegrationPoint(tn, ns) {\n return ns === NS.MATHML && (tn === $.MI || tn === $.MO || tn === $.MN || tn === $.MS || tn === $.MTEXT);\n}\n\nfunction isHtmlIntegrationPoint(tn, ns, attrs) {\n if (ns === NS.MATHML && tn === $.ANNOTATION_XML) {\n for (var i = 0; i < attrs.length; i++) {\n if (attrs[i].name === ATTRS.ENCODING) {\n var value = attrs[i].value.toLowerCase();\n\n return value === MIME_TYPES.TEXT_HTML || value === MIME_TYPES.APPLICATION_XML;\n }\n }\n }\n\n return ns === NS.SVG && (tn === $.FOREIGN_OBJECT || tn === $.DESC || tn === $.TITLE);\n}\n\nexports.isIntegrationPoint = function (tn, ns, attrs, foreignNS) {\n if ((!foreignNS || foreignNS === NS.HTML) && isHtmlIntegrationPoint(tn, ns, attrs))\n return true;\n\n if ((!foreignNS || foreignNS === NS.MATHML) && isMathMLTextIntegrationPoint(tn, ns))\n return true;\n\n return false;\n};\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/parse5/lib/common/foreign_content.js\n// module id = ./node_modules/parse5/lib/common/foreign_content.js\n// module chunks = 4 5","'use strict';\n\nvar NS = exports.NAMESPACES = {\n HTML: 'http://www.w3.org/1999/xhtml',\n MATHML: 'http://www.w3.org/1998/Math/MathML',\n SVG: 'http://www.w3.org/2000/svg',\n XLINK: 'http://www.w3.org/1999/xlink',\n XML: 'http://www.w3.org/XML/1998/namespace',\n XMLNS: 'http://www.w3.org/2000/xmlns/'\n};\n\nexports.ATTRS = {\n TYPE: 'type',\n ACTION: 'action',\n ENCODING: 'encoding',\n PROMPT: 'prompt',\n NAME: 'name',\n COLOR: 'color',\n FACE: 'face',\n SIZE: 'size'\n};\n\nexports.DOCUMENT_MODE = {\n NO_QUIRKS: 'no-quirks',\n QUIRKS: 'quirks',\n LIMITED_QUIRKS: 'limited-quirks'\n};\n\nvar $ = exports.TAG_NAMES = {\n A: 'a',\n ADDRESS: 'address',\n ANNOTATION_XML: 'annotation-xml',\n APPLET: 'applet',\n AREA: 'area',\n ARTICLE: 'article',\n ASIDE: 'aside',\n\n B: 'b',\n BASE: 'base',\n BASEFONT: 'basefont',\n BGSOUND: 'bgsound',\n BIG: 'big',\n BLOCKQUOTE: 'blockquote',\n BODY: 'body',\n BR: 'br',\n BUTTON: 'button',\n\n CAPTION: 'caption',\n CENTER: 'center',\n CODE: 'code',\n COL: 'col',\n COLGROUP: 'colgroup',\n\n DD: 'dd',\n DESC: 'desc',\n DETAILS: 'details',\n DIALOG: 'dialog',\n DIR: 'dir',\n DIV: 'div',\n DL: 'dl',\n DT: 'dt',\n\n EM: 'em',\n EMBED: 'embed',\n\n FIELDSET: 'fieldset',\n FIGCAPTION: 'figcaption',\n FIGURE: 'figure',\n FONT: 'font',\n FOOTER: 'footer',\n FOREIGN_OBJECT: 'foreignObject',\n FORM: 'form',\n FRAME: 'frame',\n FRAMESET: 'frameset',\n\n H1: 'h1',\n H2: 'h2',\n H3: 'h3',\n H4: 'h4',\n H5: 'h5',\n H6: 'h6',\n HEAD: 'head',\n HEADER: 'header',\n HGROUP: 'hgroup',\n HR: 'hr',\n HTML: 'html',\n\n I: 'i',\n IMG: 'img',\n IMAGE: 'image',\n INPUT: 'input',\n IFRAME: 'iframe',\n\n KEYGEN: 'keygen',\n\n LABEL: 'label',\n LI: 'li',\n LINK: 'link',\n LISTING: 'listing',\n\n MAIN: 'main',\n MALIGNMARK: 'malignmark',\n MARQUEE: 'marquee',\n MATH: 'math',\n MENU: 'menu',\n MENUITEM: 'menuitem',\n META: 'meta',\n MGLYPH: 'mglyph',\n MI: 'mi',\n MO: 'mo',\n MN: 'mn',\n MS: 'ms',\n MTEXT: 'mtext',\n\n NAV: 'nav',\n NOBR: 'nobr',\n NOFRAMES: 'noframes',\n NOEMBED: 'noembed',\n NOSCRIPT: 'noscript',\n\n OBJECT: 'object',\n OL: 'ol',\n OPTGROUP: 'optgroup',\n OPTION: 'option',\n\n P: 'p',\n PARAM: 'param',\n PLAINTEXT: 'plaintext',\n PRE: 'pre',\n\n RB: 'rb',\n RP: 'rp',\n RT: 'rt',\n RTC: 'rtc',\n RUBY: 'ruby',\n\n S: 's',\n SCRIPT: 'script',\n SECTION: 'section',\n SELECT: 'select',\n SOURCE: 'source',\n SMALL: 'small',\n SPAN: 'span',\n STRIKE: 'strike',\n STRONG: 'strong',\n STYLE: 'style',\n SUB: 'sub',\n SUMMARY: 'summary',\n SUP: 'sup',\n\n TABLE: 'table',\n TBODY: 'tbody',\n TEMPLATE: 'template',\n TEXTAREA: 'textarea',\n TFOOT: 'tfoot',\n TD: 'td',\n TH: 'th',\n THEAD: 'thead',\n TITLE: 'title',\n TR: 'tr',\n TRACK: 'track',\n TT: 'tt',\n\n U: 'u',\n UL: 'ul',\n\n SVG: 'svg',\n\n VAR: 'var',\n\n WBR: 'wbr',\n\n XMP: 'xmp'\n};\n\nvar SPECIAL_ELEMENTS = exports.SPECIAL_ELEMENTS = Object.create(null);\n\nSPECIAL_ELEMENTS[NS.HTML] = Object.create(null);\nSPECIAL_ELEMENTS[NS.HTML][$.ADDRESS] = true;\nSPECIAL_ELEMENTS[NS.HTML][$.APPLET] = true;\nSPECIAL_ELEMENTS[NS.HTML][$.AREA] = true;\nSPECIAL_ELEMENTS[NS.HTML][$.ARTICLE] = true;\nSPECIAL_ELEMENTS[NS.HTML][$.ASIDE] = true;\nSPECIAL_ELEMENTS[NS.HTML][$.BASE] = true;\nSPECIAL_ELEMENTS[NS.HTML][$.BASEFONT] = true;\nSPECIAL_ELEMENTS[NS.HTML][$.BGSOUND] = true;\nSPECIAL_ELEMENTS[NS.HTML][$.BLOCKQUOTE] = true;\nSPECIAL_ELEMENTS[NS.HTML][$.BODY] = true;\nSPECIAL_ELEMENTS[NS.HTML][$.BR] = true;\nSPECIAL_ELEMENTS[NS.HTML][$.BUTTON] = true;\nSPECIAL_ELEMENTS[NS.HTML][$.CAPTION] = true;\nSPECIAL_ELEMENTS[NS.HTML][$.CENTER] = true;\nSPECIAL_ELEMENTS[NS.HTML][$.COL] = true;\nSPECIAL_ELEMENTS[NS.HTML][$.COLGROUP] = true;\nSPECIAL_ELEMENTS[NS.HTML][$.DD] = true;\nSPECIAL_ELEMENTS[NS.HTML][$.DETAILS] = true;\nSPECIAL_ELEMENTS[NS.HTML][$.DIR] = true;\nSPECIAL_ELEMENTS[NS.HTML][$.DIV] = true;\nSPECIAL_ELEMENTS[NS.HTML][$.DL] = true;\nSPECIAL_ELEMENTS[NS.HTML][$.DT] = true;\nSPECIAL_ELEMENTS[NS.HTML][$.EMBED] = true;\nSPECIAL_ELEMENTS[NS.HTML][$.FIELDSET] = true;\nSPECIAL_ELEMENTS[NS.HTML][$.FIGCAPTION] = true;\nSPECIAL_ELEMENTS[NS.HTML][$.FIGURE] = true;\nSPECIAL_ELEMENTS[NS.HTML][$.FOOTER] = true;\nSPECIAL_ELEMENTS[NS.HTML][$.FORM] = true;\nSPECIAL_ELEMENTS[NS.HTML][$.FRAME] = true;\nSPECIAL_ELEMENTS[NS.HTML][$.FRAMESET] = true;\nSPECIAL_ELEMENTS[NS.HTML][$.H1] = true;\nSPECIAL_ELEMENTS[NS.HTML][$.H2] = true;\nSPECIAL_ELEMENTS[NS.HTML][$.H3] = true;\nSPECIAL_ELEMENTS[NS.HTML][$.H4] = true;\nSPECIAL_ELEMENTS[NS.HTML][$.H5] = true;\nSPECIAL_ELEMENTS[NS.HTML][$.H6] = true;\nSPECIAL_ELEMENTS[NS.HTML][$.HEAD] = true;\nSPECIAL_ELEMENTS[NS.HTML][$.HEADER] = true;\nSPECIAL_ELEMENTS[NS.HTML][$.HGROUP] = true;\nSPECIAL_ELEMENTS[NS.HTML][$.HR] = true;\nSPECIAL_ELEMENTS[NS.HTML][$.HTML] = true;\nSPECIAL_ELEMENTS[NS.HTML][$.IFRAME] = true;\nSPECIAL_ELEMENTS[NS.HTML][$.IMG] = true;\nSPECIAL_ELEMENTS[NS.HTML][$.INPUT] = true;\nSPECIAL_ELEMENTS[NS.HTML][$.LI] = true;\nSPECIAL_ELEMENTS[NS.HTML][$.LINK] = true;\nSPECIAL_ELEMENTS[NS.HTML][$.LISTING] = true;\nSPECIAL_ELEMENTS[NS.HTML][$.MAIN] = true;\nSPECIAL_ELEMENTS[NS.HTML][$.MARQUEE] = true;\nSPECIAL_ELEMENTS[NS.HTML][$.MENU] = true;\nSPECIAL_ELEMENTS[NS.HTML][$.META] = true;\nSPECIAL_ELEMENTS[NS.HTML][$.NAV] = true;\nSPECIAL_ELEMENTS[NS.HTML][$.NOEMBED] = true;\nSPECIAL_ELEMENTS[NS.HTML][$.NOFRAMES] = true;\nSPECIAL_ELEMENTS[NS.HTML][$.NOSCRIPT] = true;\nSPECIAL_ELEMENTS[NS.HTML][$.OBJECT] = true;\nSPECIAL_ELEMENTS[NS.HTML][$.OL] = true;\nSPECIAL_ELEMENTS[NS.HTML][$.P] = true;\nSPECIAL_ELEMENTS[NS.HTML][$.PARAM] = true;\nSPECIAL_ELEMENTS[NS.HTML][$.PLAINTEXT] = true;\nSPECIAL_ELEMENTS[NS.HTML][$.PRE] = true;\nSPECIAL_ELEMENTS[NS.HTML][$.SCRIPT] = true;\nSPECIAL_ELEMENTS[NS.HTML][$.SECTION] = true;\nSPECIAL_ELEMENTS[NS.HTML][$.SELECT] = true;\nSPECIAL_ELEMENTS[NS.HTML][$.SOURCE] = true;\nSPECIAL_ELEMENTS[NS.HTML][$.STYLE] = true;\nSPECIAL_ELEMENTS[NS.HTML][$.SUMMARY] = true;\nSPECIAL_ELEMENTS[NS.HTML][$.TABLE] = true;\nSPECIAL_ELEMENTS[NS.HTML][$.TBODY] = true;\nSPECIAL_ELEMENTS[NS.HTML][$.TD] = true;\nSPECIAL_ELEMENTS[NS.HTML][$.TEMPLATE] = true;\nSPECIAL_ELEMENTS[NS.HTML][$.TEXTAREA] = true;\nSPECIAL_ELEMENTS[NS.HTML][$.TFOOT] = true;\nSPECIAL_ELEMENTS[NS.HTML][$.TH] = true;\nSPECIAL_ELEMENTS[NS.HTML][$.THEAD] = true;\nSPECIAL_ELEMENTS[NS.HTML][$.TITLE] = true;\nSPECIAL_ELEMENTS[NS.HTML][$.TR] = true;\nSPECIAL_ELEMENTS[NS.HTML][$.TRACK] = true;\nSPECIAL_ELEMENTS[NS.HTML][$.UL] = true;\nSPECIAL_ELEMENTS[NS.HTML][$.WBR] = true;\nSPECIAL_ELEMENTS[NS.HTML][$.XMP] = true;\n\nSPECIAL_ELEMENTS[NS.MATHML] = Object.create(null);\nSPECIAL_ELEMENTS[NS.MATHML][$.MI] = true;\nSPECIAL_ELEMENTS[NS.MATHML][$.MO] = true;\nSPECIAL_ELEMENTS[NS.MATHML][$.MN] = true;\nSPECIAL_ELEMENTS[NS.MATHML][$.MS] = true;\nSPECIAL_ELEMENTS[NS.MATHML][$.MTEXT] = true;\nSPECIAL_ELEMENTS[NS.MATHML][$.ANNOTATION_XML] = true;\n\nSPECIAL_ELEMENTS[NS.SVG] = Object.create(null);\nSPECIAL_ELEMENTS[NS.SVG][$.TITLE] = true;\nSPECIAL_ELEMENTS[NS.SVG][$.FOREIGN_OBJECT] = true;\nSPECIAL_ELEMENTS[NS.SVG][$.DESC] = true;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/parse5/lib/common/html.js\n// module id = ./node_modules/parse5/lib/common/html.js\n// module chunks = 4 5","'use strict';\n\nexports.REPLACEMENT_CHARACTER = '\\uFFFD';\n\nexports.CODE_POINTS = {\n EOF: -1,\n NULL: 0x00,\n TABULATION: 0x09,\n CARRIAGE_RETURN: 0x0D,\n LINE_FEED: 0x0A,\n FORM_FEED: 0x0C,\n SPACE: 0x20,\n EXCLAMATION_MARK: 0x21,\n QUOTATION_MARK: 0x22,\n NUMBER_SIGN: 0x23,\n AMPERSAND: 0x26,\n APOSTROPHE: 0x27,\n HYPHEN_MINUS: 0x2D,\n SOLIDUS: 0x2F,\n DIGIT_0: 0x30,\n DIGIT_9: 0x39,\n SEMICOLON: 0x3B,\n LESS_THAN_SIGN: 0x3C,\n EQUALS_SIGN: 0x3D,\n GREATER_THAN_SIGN: 0x3E,\n QUESTION_MARK: 0x3F,\n LATIN_CAPITAL_A: 0x41,\n LATIN_CAPITAL_F: 0x46,\n LATIN_CAPITAL_X: 0x58,\n LATIN_CAPITAL_Z: 0x5A,\n GRAVE_ACCENT: 0x60,\n LATIN_SMALL_A: 0x61,\n LATIN_SMALL_F: 0x66,\n LATIN_SMALL_X: 0x78,\n LATIN_SMALL_Z: 0x7A,\n REPLACEMENT_CHARACTER: 0xFFFD\n};\n\nexports.CODE_POINT_SEQUENCES = {\n DASH_DASH_STRING: [0x2D, 0x2D], //--\n DOCTYPE_STRING: [0x44, 0x4F, 0x43, 0x54, 0x59, 0x50, 0x45], //DOCTYPE\n CDATA_START_STRING: [0x5B, 0x43, 0x44, 0x41, 0x54, 0x41, 0x5B], //[CDATA[\n CDATA_END_STRING: [0x5D, 0x5D, 0x3E], //]]>\n SCRIPT_STRING: [0x73, 0x63, 0x72, 0x69, 0x70, 0x74], //script\n PUBLIC_STRING: [0x50, 0x55, 0x42, 0x4C, 0x49, 0x43], //PUBLIC\n SYSTEM_STRING: [0x53, 0x59, 0x53, 0x54, 0x45, 0x4D] //SYSTEM\n};\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/parse5/lib/common/unicode.js\n// module id = ./node_modules/parse5/lib/common/unicode.js\n// module chunks = 4 5","'use strict';\n\nvar Mixin = require('../../utils/mixin'),\n inherits = require('util').inherits;\n\nvar LocationInfoOpenElementStackMixin = module.exports = function (stack, options) {\n Mixin.call(this, stack);\n\n this.onItemPop = options.onItemPop;\n};\n\ninherits(LocationInfoOpenElementStackMixin, Mixin);\n\nLocationInfoOpenElementStackMixin.prototype._getOverriddenMethods = function (mxn, orig) {\n return {\n pop: function () {\n mxn.onItemPop(this.current);\n orig.pop.call(this);\n },\n\n popAllUpToHtmlElement: function () {\n for (var i = this.stackTop; i > 0; i--)\n mxn.onItemPop(this.items[i]);\n\n orig.popAllUpToHtmlElement.call(this);\n },\n\n remove: function (element) {\n mxn.onItemPop(this.current);\n orig.remove.call(this, element);\n }\n };\n};\n\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/parse5/lib/extensions/location_info/open_element_stack_mixin.js\n// module id = ./node_modules/parse5/lib/extensions/location_info/open_element_stack_mixin.js\n// module chunks = 4 5","'use strict';\n\nvar Mixin = require('../../utils/mixin'),\n Tokenizer = require('../../tokenizer'),\n LocationInfoTokenizerMixin = require('./tokenizer_mixin'),\n PositionTrackingPreprocessorMixin = require('../position_tracking/preprocessor_mixin'),\n LocationInfoOpenElementStackMixin = require('./open_element_stack_mixin'),\n HTML = require('../../common/html'),\n inherits = require('util').inherits;\n\n\n//Aliases\nvar $ = HTML.TAG_NAMES;\n\nvar LocationInfoParserMixin = module.exports = function (parser) {\n Mixin.call(this, parser);\n\n this.parser = parser;\n this.posTracker = null;\n this.lastStartTagToken = null;\n this.lastFosterParentingLocation = null;\n this.currentToken = null;\n};\n\ninherits(LocationInfoParserMixin, Mixin);\n\n\nLocationInfoParserMixin.prototype._setStartLocation = function (element) {\n if (this.lastStartTagToken) {\n element.__location = Object.create(this.lastStartTagToken.location);\n element.__location.startTag = this.lastStartTagToken.location;\n }\n else\n element.__location = null;\n};\n\nLocationInfoParserMixin.prototype._setEndLocation = function (element, closingToken) {\n var loc = element.__location;\n\n if (loc) {\n if (closingToken.location) {\n var ctLoc = closingToken.location,\n tn = this.parser.treeAdapter.getTagName(element);\n\n // NOTE: For cases like

- First 'p' closes without a closing\n // tag and for cases like

- 'p' closes without a closing tag.\n var isClosingEndTag = closingToken.type === Tokenizer.END_TAG_TOKEN && tn === closingToken.tagName;\n\n if (isClosingEndTag) {\n loc.endTag = Object.create(ctLoc);\n loc.endOffset = ctLoc.endOffset;\n }\n\n else\n loc.endOffset = ctLoc.startOffset;\n }\n\n else if (closingToken.type === Tokenizer.EOF_TOKEN)\n loc.endOffset = this.posTracker.offset;\n }\n};\n\nLocationInfoParserMixin.prototype._getOverriddenMethods = function (mxn, orig) {\n return {\n _bootstrap: function (document, fragmentContext) {\n orig._bootstrap.call(this, document, fragmentContext);\n\n mxn.lastStartTagToken = null;\n mxn.lastFosterParentingLocation = null;\n mxn.currentToken = null;\n mxn.posTracker = new PositionTrackingPreprocessorMixin(this.tokenizer.preprocessor);\n\n new LocationInfoTokenizerMixin(this.tokenizer);\n\n new LocationInfoOpenElementStackMixin(this.openElements, {\n onItemPop: function (element) {\n mxn._setEndLocation(element, mxn.currentToken);\n }\n });\n },\n\n _runParsingLoop: function (scriptHandler) {\n orig._runParsingLoop.call(this, scriptHandler);\n\n // NOTE: generate location info for elements\n // that remains on open element stack\n for (var i = this.openElements.stackTop; i >= 0; i--)\n mxn._setEndLocation(this.openElements.items[i], mxn.currentToken);\n },\n\n\n //Token processing\n _processTokenInForeignContent: function (token) {\n mxn.currentToken = token;\n orig._processTokenInForeignContent.call(this, token);\n },\n\n _processToken: function (token) {\n mxn.currentToken = token;\n orig._processToken.call(this, token);\n\n //NOTE: and are never popped from the stack, so we need to updated\n //their end location explicitly.\n var requireExplicitUpdate = token.type === Tokenizer.END_TAG_TOKEN &&\n (token.tagName === $.HTML ||\n token.tagName === $.BODY && this.openElements.hasInScope($.BODY));\n\n if (requireExplicitUpdate) {\n for (var i = this.openElements.stackTop; i >= 0; i--) {\n var element = this.openElements.items[i];\n\n if (this.treeAdapter.getTagName(element) === token.tagName) {\n mxn._setEndLocation(element, token);\n break;\n }\n }\n }\n },\n\n\n //Doctype\n _setDocumentType: function (token) {\n orig._setDocumentType.call(this, token);\n\n var documentChildren = this.treeAdapter.getChildNodes(this.document),\n cnLength = documentChildren.length;\n\n for (var i = 0; i < cnLength; i++) {\n var node = documentChildren[i];\n\n if (this.treeAdapter.isDocumentTypeNode(node)) {\n node.__location = token.location;\n break;\n }\n }\n },\n\n\n //Elements\n _attachElementToTree: function (element) {\n //NOTE: _attachElementToTree is called from _appendElement, _insertElement and _insertTemplate methods.\n //So we will use token location stored in this methods for the element.\n mxn._setStartLocation(element);\n mxn.lastStartTagToken = null;\n orig._attachElementToTree.call(this, element);\n },\n\n _appendElement: function (token, namespaceURI) {\n mxn.lastStartTagToken = token;\n orig._appendElement.call(this, token, namespaceURI);\n },\n\n _insertElement: function (token, namespaceURI) {\n mxn.lastStartTagToken = token;\n orig._insertElement.call(this, token, namespaceURI);\n },\n\n _insertTemplate: function (token) {\n mxn.lastStartTagToken = token;\n orig._insertTemplate.call(this, token);\n\n var tmplContent = this.treeAdapter.getTemplateContent(this.openElements.current);\n\n tmplContent.__location = null;\n },\n\n _insertFakeRootElement: function () {\n orig._insertFakeRootElement.call(this);\n this.openElements.current.__location = null;\n },\n\n //Comments\n _appendCommentNode: function (token, parent) {\n orig._appendCommentNode.call(this, token, parent);\n\n var children = this.treeAdapter.getChildNodes(parent),\n commentNode = children[children.length - 1];\n\n commentNode.__location = token.location;\n },\n\n //Text\n _findFosterParentingLocation: function () {\n //NOTE: store last foster parenting location, so we will be able to find inserted text\n //in case of foster parenting\n mxn.lastFosterParentingLocation = orig._findFosterParentingLocation.call(this);\n\n return mxn.lastFosterParentingLocation;\n },\n\n _insertCharacters: function (token) {\n orig._insertCharacters.call(this, token);\n\n var hasFosterParent = this._shouldFosterParentOnInsertion(),\n parent = hasFosterParent && mxn.lastFosterParentingLocation.parent ||\n this.openElements.currentTmplContent ||\n this.openElements.current,\n siblings = this.treeAdapter.getChildNodes(parent),\n textNodeIdx = hasFosterParent && mxn.lastFosterParentingLocation.beforeElement ?\n siblings.indexOf(mxn.lastFosterParentingLocation.beforeElement) - 1 :\n siblings.length - 1,\n textNode = siblings[textNodeIdx];\n\n //NOTE: if we have location assigned by another token, then just update end position\n if (textNode.__location)\n textNode.__location.endOffset = token.location.endOffset;\n\n else\n textNode.__location = token.location;\n }\n };\n};\n\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/parse5/lib/extensions/location_info/parser_mixin.js\n// module id = ./node_modules/parse5/lib/extensions/location_info/parser_mixin.js\n// module chunks = 4 5","'use strict';\n\nvar Mixin = require('../../utils/mixin'),\n Tokenizer = require('../../tokenizer'),\n PositionTrackingPreprocessorMixin = require('../position_tracking/preprocessor_mixin'),\n inherits = require('util').inherits;\n\nvar LocationInfoTokenizerMixin = module.exports = function (tokenizer) {\n Mixin.call(this, tokenizer);\n\n this.tokenizer = tokenizer;\n this.posTracker = new PositionTrackingPreprocessorMixin(tokenizer.preprocessor);\n this.currentAttrLocation = null;\n this.currentTokenLocation = null;\n};\n\ninherits(LocationInfoTokenizerMixin, Mixin);\n\nLocationInfoTokenizerMixin.prototype._getCurrentLocation = function () {\n return {\n line: this.posTracker.line,\n col: this.posTracker.col,\n startOffset: this.posTracker.offset,\n endOffset: -1\n };\n};\n\nLocationInfoTokenizerMixin.prototype._attachCurrentAttrLocationInfo = function () {\n this.currentAttrLocation.endOffset = this.posTracker.offset;\n\n var currentToken = this.tokenizer.currentToken,\n currentAttr = this.tokenizer.currentAttr;\n\n if (!currentToken.location.attrs)\n currentToken.location.attrs = Object.create(null);\n\n currentToken.location.attrs[currentAttr.name] = this.currentAttrLocation;\n};\n\nLocationInfoTokenizerMixin.prototype._getOverriddenMethods = function (mxn, orig) {\n var methods = {\n _createStartTagToken: function () {\n orig._createStartTagToken.call(this);\n this.currentToken.location = mxn.currentTokenLocation;\n },\n\n _createEndTagToken: function () {\n orig._createEndTagToken.call(this);\n this.currentToken.location = mxn.currentTokenLocation;\n },\n\n _createCommentToken: function () {\n orig._createCommentToken.call(this);\n this.currentToken.location = mxn.currentTokenLocation;\n },\n\n _createDoctypeToken: function (initialName) {\n orig._createDoctypeToken.call(this, initialName);\n this.currentToken.location = mxn.currentTokenLocation;\n },\n\n _createCharacterToken: function (type, ch) {\n orig._createCharacterToken.call(this, type, ch);\n this.currentCharacterToken.location = mxn.currentTokenLocation;\n },\n\n _createAttr: function (attrNameFirstCh) {\n orig._createAttr.call(this, attrNameFirstCh);\n mxn.currentAttrLocation = mxn._getCurrentLocation();\n },\n\n _leaveAttrName: function (toState) {\n orig._leaveAttrName.call(this, toState);\n mxn._attachCurrentAttrLocationInfo();\n },\n\n _leaveAttrValue: function (toState) {\n orig._leaveAttrValue.call(this, toState);\n mxn._attachCurrentAttrLocationInfo();\n },\n\n _emitCurrentToken: function () {\n //NOTE: if we have pending character token make it's end location equal to the\n //current token's start location.\n if (this.currentCharacterToken)\n this.currentCharacterToken.location.endOffset = this.currentToken.location.startOffset;\n\n this.currentToken.location.endOffset = mxn.posTracker.offset + 1;\n orig._emitCurrentToken.call(this);\n },\n\n _emitCurrentCharacterToken: function () {\n //NOTE: if we have character token and it's location wasn't set in the _emitCurrentToken(),\n //then set it's location at the current preprocessor position.\n //We don't need to increment preprocessor position, since character token\n //emission is always forced by the start of the next character token here.\n //So, we already have advanced position.\n if (this.currentCharacterToken && this.currentCharacterToken.location.endOffset === -1)\n this.currentCharacterToken.location.endOffset = mxn.posTracker.offset;\n\n orig._emitCurrentCharacterToken.call(this);\n }\n };\n\n //NOTE: patch initial states for each mode to obtain token start position\n Object.keys(Tokenizer.MODE).forEach(function (modeName) {\n var state = Tokenizer.MODE[modeName];\n\n methods[state] = function (cp) {\n mxn.currentTokenLocation = mxn._getCurrentLocation();\n orig[state].call(this, cp);\n };\n });\n\n return methods;\n};\n\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/parse5/lib/extensions/location_info/tokenizer_mixin.js\n// module id = ./node_modules/parse5/lib/extensions/location_info/tokenizer_mixin.js\n// module chunks = 4 5","'use strict';\n\nvar Mixin = require('../../utils/mixin'),\n inherits = require('util').inherits,\n UNICODE = require('../../common/unicode');\n\n//Aliases\nvar $ = UNICODE.CODE_POINTS;\n\nvar PositionTrackingPreprocessorMixin = module.exports = function (preprocessor) {\n // NOTE: avoid installing tracker twice\n if (!preprocessor.__locTracker) {\n preprocessor.__locTracker = this;\n\n Mixin.call(this, preprocessor);\n\n this.preprocessor = preprocessor;\n this.isEol = false;\n this.lineStartPos = 0;\n this.droppedBufferSize = 0;\n\n this.col = -1;\n this.line = 1;\n }\n\n return preprocessor.__locTracker;\n};\n\ninherits(PositionTrackingPreprocessorMixin, Mixin);\n\nObject.defineProperty(PositionTrackingPreprocessorMixin.prototype, 'offset', {\n get: function () {\n return this.droppedBufferSize + this.preprocessor.pos;\n }\n});\n\nPositionTrackingPreprocessorMixin.prototype._getOverriddenMethods = function (mxn, orig) {\n return {\n advance: function () {\n var cp = orig.advance.call(this);\n\n //NOTE: LF should be in the last column of the line\n if (mxn.isEol) {\n mxn.isEol = false;\n mxn.line++;\n mxn.lineStartPos = mxn.offset;\n }\n\n if (cp === $.LINE_FEED)\n mxn.isEol = true;\n\n mxn.col = mxn.offset - mxn.lineStartPos + 1;\n\n return cp;\n },\n\n retreat: function () {\n orig.retreat.call(this);\n mxn.isEol = false;\n\n mxn.col = mxn.offset - mxn.lineStartPos + 1;\n },\n\n dropParsedChunk: function () {\n var prevPos = this.pos;\n\n orig.dropParsedChunk.call(this);\n\n mxn.droppedBufferSize += prevPos - this.pos;\n }\n };\n};\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/parse5/lib/extensions/position_tracking/preprocessor_mixin.js\n// module id = ./node_modules/parse5/lib/extensions/position_tracking/preprocessor_mixin.js\n// module chunks = 4 5","'use strict';\n\n//Const\nvar NOAH_ARK_CAPACITY = 3;\n\n//List of formatting elements\nvar FormattingElementList = module.exports = function (treeAdapter) {\n this.length = 0;\n this.entries = [];\n this.treeAdapter = treeAdapter;\n this.bookmark = null;\n};\n\n//Entry types\nFormattingElementList.MARKER_ENTRY = 'MARKER_ENTRY';\nFormattingElementList.ELEMENT_ENTRY = 'ELEMENT_ENTRY';\n\n//Noah Ark's condition\n//OPTIMIZATION: at first we try to find possible candidates for exclusion using\n//lightweight heuristics without thorough attributes check.\nFormattingElementList.prototype._getNoahArkConditionCandidates = function (newElement) {\n var candidates = [];\n\n if (this.length >= NOAH_ARK_CAPACITY) {\n var neAttrsLength = this.treeAdapter.getAttrList(newElement).length,\n neTagName = this.treeAdapter.getTagName(newElement),\n neNamespaceURI = this.treeAdapter.getNamespaceURI(newElement);\n\n for (var i = this.length - 1; i >= 0; i--) {\n var entry = this.entries[i];\n\n if (entry.type === FormattingElementList.MARKER_ENTRY)\n break;\n\n var element = entry.element,\n elementAttrs = this.treeAdapter.getAttrList(element),\n isCandidate = this.treeAdapter.getTagName(element) === neTagName &&\n this.treeAdapter.getNamespaceURI(element) === neNamespaceURI &&\n elementAttrs.length === neAttrsLength;\n\n if (isCandidate)\n candidates.push({idx: i, attrs: elementAttrs});\n }\n }\n\n return candidates.length < NOAH_ARK_CAPACITY ? [] : candidates;\n};\n\nFormattingElementList.prototype._ensureNoahArkCondition = function (newElement) {\n var candidates = this._getNoahArkConditionCandidates(newElement),\n cLength = candidates.length;\n\n if (cLength) {\n var neAttrs = this.treeAdapter.getAttrList(newElement),\n neAttrsLength = neAttrs.length,\n neAttrsMap = Object.create(null);\n\n //NOTE: build attrs map for the new element so we can perform fast lookups\n for (var i = 0; i < neAttrsLength; i++) {\n var neAttr = neAttrs[i];\n\n neAttrsMap[neAttr.name] = neAttr.value;\n }\n\n for (i = 0; i < neAttrsLength; i++) {\n for (var j = 0; j < cLength; j++) {\n var cAttr = candidates[j].attrs[i];\n\n if (neAttrsMap[cAttr.name] !== cAttr.value) {\n candidates.splice(j, 1);\n cLength--;\n }\n\n if (candidates.length < NOAH_ARK_CAPACITY)\n return;\n }\n }\n\n //NOTE: remove bottommost candidates until Noah's Ark condition will not be met\n for (i = cLength - 1; i >= NOAH_ARK_CAPACITY - 1; i--) {\n this.entries.splice(candidates[i].idx, 1);\n this.length--;\n }\n }\n};\n\n//Mutations\nFormattingElementList.prototype.insertMarker = function () {\n this.entries.push({type: FormattingElementList.MARKER_ENTRY});\n this.length++;\n};\n\nFormattingElementList.prototype.pushElement = function (element, token) {\n this._ensureNoahArkCondition(element);\n\n this.entries.push({\n type: FormattingElementList.ELEMENT_ENTRY,\n element: element,\n token: token\n });\n\n this.length++;\n};\n\nFormattingElementList.prototype.insertElementAfterBookmark = function (element, token) {\n var bookmarkIdx = this.length - 1;\n\n for (; bookmarkIdx >= 0; bookmarkIdx--) {\n if (this.entries[bookmarkIdx] === this.bookmark)\n break;\n }\n\n this.entries.splice(bookmarkIdx + 1, 0, {\n type: FormattingElementList.ELEMENT_ENTRY,\n element: element,\n token: token\n });\n\n this.length++;\n};\n\nFormattingElementList.prototype.removeEntry = function (entry) {\n for (var i = this.length - 1; i >= 0; i--) {\n if (this.entries[i] === entry) {\n this.entries.splice(i, 1);\n this.length--;\n break;\n }\n }\n};\n\nFormattingElementList.prototype.clearToLastMarker = function () {\n while (this.length) {\n var entry = this.entries.pop();\n\n this.length--;\n\n if (entry.type === FormattingElementList.MARKER_ENTRY)\n break;\n }\n};\n\n//Search\nFormattingElementList.prototype.getElementEntryInScopeWithTagName = function (tagName) {\n for (var i = this.length - 1; i >= 0; i--) {\n var entry = this.entries[i];\n\n if (entry.type === FormattingElementList.MARKER_ENTRY)\n return null;\n\n if (this.treeAdapter.getTagName(entry.element) === tagName)\n return entry;\n }\n\n return null;\n};\n\nFormattingElementList.prototype.getElementEntry = function (element) {\n for (var i = this.length - 1; i >= 0; i--) {\n var entry = this.entries[i];\n\n if (entry.type === FormattingElementList.ELEMENT_ENTRY && entry.element === element)\n return entry;\n }\n\n return null;\n};\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/parse5/lib/parser/formatting_element_list.js\n// module id = ./node_modules/parse5/lib/parser/formatting_element_list.js\n// module chunks = 4 5","'use strict';\n\nvar Tokenizer = require('../tokenizer'),\n OpenElementStack = require('./open_element_stack'),\n FormattingElementList = require('./formatting_element_list'),\n LocationInfoParserMixin = require('../extensions/location_info/parser_mixin'),\n defaultTreeAdapter = require('../tree_adapters/default'),\n mergeOptions = require('../utils/merge_options'),\n doctype = require('../common/doctype'),\n foreignContent = require('../common/foreign_content'),\n UNICODE = require('../common/unicode'),\n HTML = require('../common/html');\n\n//Aliases\nvar $ = HTML.TAG_NAMES,\n NS = HTML.NAMESPACES,\n ATTRS = HTML.ATTRS;\n\nvar DEFAULT_OPTIONS = {\n locationInfo: false,\n treeAdapter: defaultTreeAdapter\n};\n\n//Misc constants\nvar HIDDEN_INPUT_TYPE = 'hidden';\n\n//Adoption agency loops iteration count\nvar AA_OUTER_LOOP_ITER = 8,\n AA_INNER_LOOP_ITER = 3;\n\n//Insertion modes\nvar INITIAL_MODE = 'INITIAL_MODE',\n BEFORE_HTML_MODE = 'BEFORE_HTML_MODE',\n BEFORE_HEAD_MODE = 'BEFORE_HEAD_MODE',\n IN_HEAD_MODE = 'IN_HEAD_MODE',\n AFTER_HEAD_MODE = 'AFTER_HEAD_MODE',\n IN_BODY_MODE = 'IN_BODY_MODE',\n TEXT_MODE = 'TEXT_MODE',\n IN_TABLE_MODE = 'IN_TABLE_MODE',\n IN_TABLE_TEXT_MODE = 'IN_TABLE_TEXT_MODE',\n IN_CAPTION_MODE = 'IN_CAPTION_MODE',\n IN_COLUMN_GROUP_MODE = 'IN_COLUMN_GROUP_MODE',\n IN_TABLE_BODY_MODE = 'IN_TABLE_BODY_MODE',\n IN_ROW_MODE = 'IN_ROW_MODE',\n IN_CELL_MODE = 'IN_CELL_MODE',\n IN_SELECT_MODE = 'IN_SELECT_MODE',\n IN_SELECT_IN_TABLE_MODE = 'IN_SELECT_IN_TABLE_MODE',\n IN_TEMPLATE_MODE = 'IN_TEMPLATE_MODE',\n AFTER_BODY_MODE = 'AFTER_BODY_MODE',\n IN_FRAMESET_MODE = 'IN_FRAMESET_MODE',\n AFTER_FRAMESET_MODE = 'AFTER_FRAMESET_MODE',\n AFTER_AFTER_BODY_MODE = 'AFTER_AFTER_BODY_MODE',\n AFTER_AFTER_FRAMESET_MODE = 'AFTER_AFTER_FRAMESET_MODE';\n\n//Insertion mode reset map\nvar INSERTION_MODE_RESET_MAP = Object.create(null);\n\nINSERTION_MODE_RESET_MAP[$.TR] = IN_ROW_MODE;\nINSERTION_MODE_RESET_MAP[$.TBODY] =\nINSERTION_MODE_RESET_MAP[$.THEAD] =\nINSERTION_MODE_RESET_MAP[$.TFOOT] = IN_TABLE_BODY_MODE;\nINSERTION_MODE_RESET_MAP[$.CAPTION] = IN_CAPTION_MODE;\nINSERTION_MODE_RESET_MAP[$.COLGROUP] = IN_COLUMN_GROUP_MODE;\nINSERTION_MODE_RESET_MAP[$.TABLE] = IN_TABLE_MODE;\nINSERTION_MODE_RESET_MAP[$.BODY] = IN_BODY_MODE;\nINSERTION_MODE_RESET_MAP[$.FRAMESET] = IN_FRAMESET_MODE;\n\n//Template insertion mode switch map\nvar TEMPLATE_INSERTION_MODE_SWITCH_MAP = Object.create(null);\n\nTEMPLATE_INSERTION_MODE_SWITCH_MAP[$.CAPTION] =\nTEMPLATE_INSERTION_MODE_SWITCH_MAP[$.COLGROUP] =\nTEMPLATE_INSERTION_MODE_SWITCH_MAP[$.TBODY] =\nTEMPLATE_INSERTION_MODE_SWITCH_MAP[$.TFOOT] =\nTEMPLATE_INSERTION_MODE_SWITCH_MAP[$.THEAD] = IN_TABLE_MODE;\nTEMPLATE_INSERTION_MODE_SWITCH_MAP[$.COL] = IN_COLUMN_GROUP_MODE;\nTEMPLATE_INSERTION_MODE_SWITCH_MAP[$.TR] = IN_TABLE_BODY_MODE;\nTEMPLATE_INSERTION_MODE_SWITCH_MAP[$.TD] =\nTEMPLATE_INSERTION_MODE_SWITCH_MAP[$.TH] = IN_ROW_MODE;\n\n//Token handlers map for insertion modes\nvar _ = Object.create(null);\n\n_[INITIAL_MODE] = Object.create(null);\n_[INITIAL_MODE][Tokenizer.CHARACTER_TOKEN] =\n_[INITIAL_MODE][Tokenizer.NULL_CHARACTER_TOKEN] = tokenInInitialMode;\n_[INITIAL_MODE][Tokenizer.WHITESPACE_CHARACTER_TOKEN] = ignoreToken;\n_[INITIAL_MODE][Tokenizer.COMMENT_TOKEN] = appendComment;\n_[INITIAL_MODE][Tokenizer.DOCTYPE_TOKEN] = doctypeInInitialMode;\n_[INITIAL_MODE][Tokenizer.START_TAG_TOKEN] =\n_[INITIAL_MODE][Tokenizer.END_TAG_TOKEN] =\n_[INITIAL_MODE][Tokenizer.EOF_TOKEN] = tokenInInitialMode;\n\n_[BEFORE_HTML_MODE] = Object.create(null);\n_[BEFORE_HTML_MODE][Tokenizer.CHARACTER_TOKEN] =\n_[BEFORE_HTML_MODE][Tokenizer.NULL_CHARACTER_TOKEN] = tokenBeforeHtml;\n_[BEFORE_HTML_MODE][Tokenizer.WHITESPACE_CHARACTER_TOKEN] = ignoreToken;\n_[BEFORE_HTML_MODE][Tokenizer.COMMENT_TOKEN] = appendComment;\n_[BEFORE_HTML_MODE][Tokenizer.DOCTYPE_TOKEN] = ignoreToken;\n_[BEFORE_HTML_MODE][Tokenizer.START_TAG_TOKEN] = startTagBeforeHtml;\n_[BEFORE_HTML_MODE][Tokenizer.END_TAG_TOKEN] = endTagBeforeHtml;\n_[BEFORE_HTML_MODE][Tokenizer.EOF_TOKEN] = tokenBeforeHtml;\n\n_[BEFORE_HEAD_MODE] = Object.create(null);\n_[BEFORE_HEAD_MODE][Tokenizer.CHARACTER_TOKEN] =\n_[BEFORE_HEAD_MODE][Tokenizer.NULL_CHARACTER_TOKEN] = tokenBeforeHead;\n_[BEFORE_HEAD_MODE][Tokenizer.WHITESPACE_CHARACTER_TOKEN] = ignoreToken;\n_[BEFORE_HEAD_MODE][Tokenizer.COMMENT_TOKEN] = appendComment;\n_[BEFORE_HEAD_MODE][Tokenizer.DOCTYPE_TOKEN] = ignoreToken;\n_[BEFORE_HEAD_MODE][Tokenizer.START_TAG_TOKEN] = startTagBeforeHead;\n_[BEFORE_HEAD_MODE][Tokenizer.END_TAG_TOKEN] = endTagBeforeHead;\n_[BEFORE_HEAD_MODE][Tokenizer.EOF_TOKEN] = tokenBeforeHead;\n\n_[IN_HEAD_MODE] = Object.create(null);\n_[IN_HEAD_MODE][Tokenizer.CHARACTER_TOKEN] =\n_[IN_HEAD_MODE][Tokenizer.NULL_CHARACTER_TOKEN] = tokenInHead;\n_[IN_HEAD_MODE][Tokenizer.WHITESPACE_CHARACTER_TOKEN] = insertCharacters;\n_[IN_HEAD_MODE][Tokenizer.COMMENT_TOKEN] = appendComment;\n_[IN_HEAD_MODE][Tokenizer.DOCTYPE_TOKEN] = ignoreToken;\n_[IN_HEAD_MODE][Tokenizer.START_TAG_TOKEN] = startTagInHead;\n_[IN_HEAD_MODE][Tokenizer.END_TAG_TOKEN] = endTagInHead;\n_[IN_HEAD_MODE][Tokenizer.EOF_TOKEN] = tokenInHead;\n\n_[AFTER_HEAD_MODE] = Object.create(null);\n_[AFTER_HEAD_MODE][Tokenizer.CHARACTER_TOKEN] =\n_[AFTER_HEAD_MODE][Tokenizer.NULL_CHARACTER_TOKEN] = tokenAfterHead;\n_[AFTER_HEAD_MODE][Tokenizer.WHITESPACE_CHARACTER_TOKEN] = insertCharacters;\n_[AFTER_HEAD_MODE][Tokenizer.COMMENT_TOKEN] = appendComment;\n_[AFTER_HEAD_MODE][Tokenizer.DOCTYPE_TOKEN] = ignoreToken;\n_[AFTER_HEAD_MODE][Tokenizer.START_TAG_TOKEN] = startTagAfterHead;\n_[AFTER_HEAD_MODE][Tokenizer.END_TAG_TOKEN] = endTagAfterHead;\n_[AFTER_HEAD_MODE][Tokenizer.EOF_TOKEN] = tokenAfterHead;\n\n_[IN_BODY_MODE] = Object.create(null);\n_[IN_BODY_MODE][Tokenizer.CHARACTER_TOKEN] = characterInBody;\n_[IN_BODY_MODE][Tokenizer.NULL_CHARACTER_TOKEN] = ignoreToken;\n_[IN_BODY_MODE][Tokenizer.WHITESPACE_CHARACTER_TOKEN] = whitespaceCharacterInBody;\n_[IN_BODY_MODE][Tokenizer.COMMENT_TOKEN] = appendComment;\n_[IN_BODY_MODE][Tokenizer.DOCTYPE_TOKEN] = ignoreToken;\n_[IN_BODY_MODE][Tokenizer.START_TAG_TOKEN] = startTagInBody;\n_[IN_BODY_MODE][Tokenizer.END_TAG_TOKEN] = endTagInBody;\n_[IN_BODY_MODE][Tokenizer.EOF_TOKEN] = eofInBody;\n\n_[TEXT_MODE] = Object.create(null);\n_[TEXT_MODE][Tokenizer.CHARACTER_TOKEN] =\n_[TEXT_MODE][Tokenizer.NULL_CHARACTER_TOKEN] =\n_[TEXT_MODE][Tokenizer.WHITESPACE_CHARACTER_TOKEN] = insertCharacters;\n_[TEXT_MODE][Tokenizer.COMMENT_TOKEN] =\n_[TEXT_MODE][Tokenizer.DOCTYPE_TOKEN] =\n_[TEXT_MODE][Tokenizer.START_TAG_TOKEN] = ignoreToken;\n_[TEXT_MODE][Tokenizer.END_TAG_TOKEN] = endTagInText;\n_[TEXT_MODE][Tokenizer.EOF_TOKEN] = eofInText;\n\n_[IN_TABLE_MODE] = Object.create(null);\n_[IN_TABLE_MODE][Tokenizer.CHARACTER_TOKEN] =\n_[IN_TABLE_MODE][Tokenizer.NULL_CHARACTER_TOKEN] =\n_[IN_TABLE_MODE][Tokenizer.WHITESPACE_CHARACTER_TOKEN] = characterInTable;\n_[IN_TABLE_MODE][Tokenizer.COMMENT_TOKEN] = appendComment;\n_[IN_TABLE_MODE][Tokenizer.DOCTYPE_TOKEN] = ignoreToken;\n_[IN_TABLE_MODE][Tokenizer.START_TAG_TOKEN] = startTagInTable;\n_[IN_TABLE_MODE][Tokenizer.END_TAG_TOKEN] = endTagInTable;\n_[IN_TABLE_MODE][Tokenizer.EOF_TOKEN] = eofInBody;\n\n_[IN_TABLE_TEXT_MODE] = Object.create(null);\n_[IN_TABLE_TEXT_MODE][Tokenizer.CHARACTER_TOKEN] = characterInTableText;\n_[IN_TABLE_TEXT_MODE][Tokenizer.NULL_CHARACTER_TOKEN] = ignoreToken;\n_[IN_TABLE_TEXT_MODE][Tokenizer.WHITESPACE_CHARACTER_TOKEN] = whitespaceCharacterInTableText;\n_[IN_TABLE_TEXT_MODE][Tokenizer.COMMENT_TOKEN] =\n_[IN_TABLE_TEXT_MODE][Tokenizer.DOCTYPE_TOKEN] =\n_[IN_TABLE_TEXT_MODE][Tokenizer.START_TAG_TOKEN] =\n_[IN_TABLE_TEXT_MODE][Tokenizer.END_TAG_TOKEN] =\n_[IN_TABLE_TEXT_MODE][Tokenizer.EOF_TOKEN] = tokenInTableText;\n\n_[IN_CAPTION_MODE] = Object.create(null);\n_[IN_CAPTION_MODE][Tokenizer.CHARACTER_TOKEN] = characterInBody;\n_[IN_CAPTION_MODE][Tokenizer.NULL_CHARACTER_TOKEN] = ignoreToken;\n_[IN_CAPTION_MODE][Tokenizer.WHITESPACE_CHARACTER_TOKEN] = whitespaceCharacterInBody;\n_[IN_CAPTION_MODE][Tokenizer.COMMENT_TOKEN] = appendComment;\n_[IN_CAPTION_MODE][Tokenizer.DOCTYPE_TOKEN] = ignoreToken;\n_[IN_CAPTION_MODE][Tokenizer.START_TAG_TOKEN] = startTagInCaption;\n_[IN_CAPTION_MODE][Tokenizer.END_TAG_TOKEN] = endTagInCaption;\n_[IN_CAPTION_MODE][Tokenizer.EOF_TOKEN] = eofInBody;\n\n_[IN_COLUMN_GROUP_MODE] = Object.create(null);\n_[IN_COLUMN_GROUP_MODE][Tokenizer.CHARACTER_TOKEN] =\n_[IN_COLUMN_GROUP_MODE][Tokenizer.NULL_CHARACTER_TOKEN] = tokenInColumnGroup;\n_[IN_COLUMN_GROUP_MODE][Tokenizer.WHITESPACE_CHARACTER_TOKEN] = insertCharacters;\n_[IN_COLUMN_GROUP_MODE][Tokenizer.COMMENT_TOKEN] = appendComment;\n_[IN_COLUMN_GROUP_MODE][Tokenizer.DOCTYPE_TOKEN] = ignoreToken;\n_[IN_COLUMN_GROUP_MODE][Tokenizer.START_TAG_TOKEN] = startTagInColumnGroup;\n_[IN_COLUMN_GROUP_MODE][Tokenizer.END_TAG_TOKEN] = endTagInColumnGroup;\n_[IN_COLUMN_GROUP_MODE][Tokenizer.EOF_TOKEN] = eofInBody;\n\n_[IN_TABLE_BODY_MODE] = Object.create(null);\n_[IN_TABLE_BODY_MODE][Tokenizer.CHARACTER_TOKEN] =\n_[IN_TABLE_BODY_MODE][Tokenizer.NULL_CHARACTER_TOKEN] =\n_[IN_TABLE_BODY_MODE][Tokenizer.WHITESPACE_CHARACTER_TOKEN] = characterInTable;\n_[IN_TABLE_BODY_MODE][Tokenizer.COMMENT_TOKEN] = appendComment;\n_[IN_TABLE_BODY_MODE][Tokenizer.DOCTYPE_TOKEN] = ignoreToken;\n_[IN_TABLE_BODY_MODE][Tokenizer.START_TAG_TOKEN] = startTagInTableBody;\n_[IN_TABLE_BODY_MODE][Tokenizer.END_TAG_TOKEN] = endTagInTableBody;\n_[IN_TABLE_BODY_MODE][Tokenizer.EOF_TOKEN] = eofInBody;\n\n_[IN_ROW_MODE] = Object.create(null);\n_[IN_ROW_MODE][Tokenizer.CHARACTER_TOKEN] =\n_[IN_ROW_MODE][Tokenizer.NULL_CHARACTER_TOKEN] =\n_[IN_ROW_MODE][Tokenizer.WHITESPACE_CHARACTER_TOKEN] = characterInTable;\n_[IN_ROW_MODE][Tokenizer.COMMENT_TOKEN] = appendComment;\n_[IN_ROW_MODE][Tokenizer.DOCTYPE_TOKEN] = ignoreToken;\n_[IN_ROW_MODE][Tokenizer.START_TAG_TOKEN] = startTagInRow;\n_[IN_ROW_MODE][Tokenizer.END_TAG_TOKEN] = endTagInRow;\n_[IN_ROW_MODE][Tokenizer.EOF_TOKEN] = eofInBody;\n\n_[IN_CELL_MODE] = Object.create(null);\n_[IN_CELL_MODE][Tokenizer.CHARACTER_TOKEN] = characterInBody;\n_[IN_CELL_MODE][Tokenizer.NULL_CHARACTER_TOKEN] = ignoreToken;\n_[IN_CELL_MODE][Tokenizer.WHITESPACE_CHARACTER_TOKEN] = whitespaceCharacterInBody;\n_[IN_CELL_MODE][Tokenizer.COMMENT_TOKEN] = appendComment;\n_[IN_CELL_MODE][Tokenizer.DOCTYPE_TOKEN] = ignoreToken;\n_[IN_CELL_MODE][Tokenizer.START_TAG_TOKEN] = startTagInCell;\n_[IN_CELL_MODE][Tokenizer.END_TAG_TOKEN] = endTagInCell;\n_[IN_CELL_MODE][Tokenizer.EOF_TOKEN] = eofInBody;\n\n_[IN_SELECT_MODE] = Object.create(null);\n_[IN_SELECT_MODE][Tokenizer.CHARACTER_TOKEN] = insertCharacters;\n_[IN_SELECT_MODE][Tokenizer.NULL_CHARACTER_TOKEN] = ignoreToken;\n_[IN_SELECT_MODE][Tokenizer.WHITESPACE_CHARACTER_TOKEN] = insertCharacters;\n_[IN_SELECT_MODE][Tokenizer.COMMENT_TOKEN] = appendComment;\n_[IN_SELECT_MODE][Tokenizer.DOCTYPE_TOKEN] = ignoreToken;\n_[IN_SELECT_MODE][Tokenizer.START_TAG_TOKEN] = startTagInSelect;\n_[IN_SELECT_MODE][Tokenizer.END_TAG_TOKEN] = endTagInSelect;\n_[IN_SELECT_MODE][Tokenizer.EOF_TOKEN] = eofInBody;\n\n_[IN_SELECT_IN_TABLE_MODE] = Object.create(null);\n_[IN_SELECT_IN_TABLE_MODE][Tokenizer.CHARACTER_TOKEN] = insertCharacters;\n_[IN_SELECT_IN_TABLE_MODE][Tokenizer.NULL_CHARACTER_TOKEN] = ignoreToken;\n_[IN_SELECT_IN_TABLE_MODE][Tokenizer.WHITESPACE_CHARACTER_TOKEN] = insertCharacters;\n_[IN_SELECT_IN_TABLE_MODE][Tokenizer.COMMENT_TOKEN] = appendComment;\n_[IN_SELECT_IN_TABLE_MODE][Tokenizer.DOCTYPE_TOKEN] = ignoreToken;\n_[IN_SELECT_IN_TABLE_MODE][Tokenizer.START_TAG_TOKEN] = startTagInSelectInTable;\n_[IN_SELECT_IN_TABLE_MODE][Tokenizer.END_TAG_TOKEN] = endTagInSelectInTable;\n_[IN_SELECT_IN_TABLE_MODE][Tokenizer.EOF_TOKEN] = eofInBody;\n\n_[IN_TEMPLATE_MODE] = Object.create(null);\n_[IN_TEMPLATE_MODE][Tokenizer.CHARACTER_TOKEN] = characterInBody;\n_[IN_TEMPLATE_MODE][Tokenizer.NULL_CHARACTER_TOKEN] = ignoreToken;\n_[IN_TEMPLATE_MODE][Tokenizer.WHITESPACE_CHARACTER_TOKEN] = whitespaceCharacterInBody;\n_[IN_TEMPLATE_MODE][Tokenizer.COMMENT_TOKEN] = appendComment;\n_[IN_TEMPLATE_MODE][Tokenizer.DOCTYPE_TOKEN] = ignoreToken;\n_[IN_TEMPLATE_MODE][Tokenizer.START_TAG_TOKEN] = startTagInTemplate;\n_[IN_TEMPLATE_MODE][Tokenizer.END_TAG_TOKEN] = endTagInTemplate;\n_[IN_TEMPLATE_MODE][Tokenizer.EOF_TOKEN] = eofInTemplate;\n\n_[AFTER_BODY_MODE] = Object.create(null);\n_[AFTER_BODY_MODE][Tokenizer.CHARACTER_TOKEN] =\n_[AFTER_BODY_MODE][Tokenizer.NULL_CHARACTER_TOKEN] = tokenAfterBody;\n_[AFTER_BODY_MODE][Tokenizer.WHITESPACE_CHARACTER_TOKEN] = whitespaceCharacterInBody;\n_[AFTER_BODY_MODE][Tokenizer.COMMENT_TOKEN] = appendCommentToRootHtmlElement;\n_[AFTER_BODY_MODE][Tokenizer.DOCTYPE_TOKEN] = ignoreToken;\n_[AFTER_BODY_MODE][Tokenizer.START_TAG_TOKEN] = startTagAfterBody;\n_[AFTER_BODY_MODE][Tokenizer.END_TAG_TOKEN] = endTagAfterBody;\n_[AFTER_BODY_MODE][Tokenizer.EOF_TOKEN] = stopParsing;\n\n_[IN_FRAMESET_MODE] = Object.create(null);\n_[IN_FRAMESET_MODE][Tokenizer.CHARACTER_TOKEN] =\n_[IN_FRAMESET_MODE][Tokenizer.NULL_CHARACTER_TOKEN] = ignoreToken;\n_[IN_FRAMESET_MODE][Tokenizer.WHITESPACE_CHARACTER_TOKEN] = insertCharacters;\n_[IN_FRAMESET_MODE][Tokenizer.COMMENT_TOKEN] = appendComment;\n_[IN_FRAMESET_MODE][Tokenizer.DOCTYPE_TOKEN] = ignoreToken;\n_[IN_FRAMESET_MODE][Tokenizer.START_TAG_TOKEN] = startTagInFrameset;\n_[IN_FRAMESET_MODE][Tokenizer.END_TAG_TOKEN] = endTagInFrameset;\n_[IN_FRAMESET_MODE][Tokenizer.EOF_TOKEN] = stopParsing;\n\n_[AFTER_FRAMESET_MODE] = Object.create(null);\n_[AFTER_FRAMESET_MODE][Tokenizer.CHARACTER_TOKEN] =\n_[AFTER_FRAMESET_MODE][Tokenizer.NULL_CHARACTER_TOKEN] = ignoreToken;\n_[AFTER_FRAMESET_MODE][Tokenizer.WHITESPACE_CHARACTER_TOKEN] = insertCharacters;\n_[AFTER_FRAMESET_MODE][Tokenizer.COMMENT_TOKEN] = appendComment;\n_[AFTER_FRAMESET_MODE][Tokenizer.DOCTYPE_TOKEN] = ignoreToken;\n_[AFTER_FRAMESET_MODE][Tokenizer.START_TAG_TOKEN] = startTagAfterFrameset;\n_[AFTER_FRAMESET_MODE][Tokenizer.END_TAG_TOKEN] = endTagAfterFrameset;\n_[AFTER_FRAMESET_MODE][Tokenizer.EOF_TOKEN] = stopParsing;\n\n_[AFTER_AFTER_BODY_MODE] = Object.create(null);\n_[AFTER_AFTER_BODY_MODE][Tokenizer.CHARACTER_TOKEN] = tokenAfterAfterBody;\n_[AFTER_AFTER_BODY_MODE][Tokenizer.NULL_CHARACTER_TOKEN] = tokenAfterAfterBody;\n_[AFTER_AFTER_BODY_MODE][Tokenizer.WHITESPACE_CHARACTER_TOKEN] = whitespaceCharacterInBody;\n_[AFTER_AFTER_BODY_MODE][Tokenizer.COMMENT_TOKEN] = appendCommentToDocument;\n_[AFTER_AFTER_BODY_MODE][Tokenizer.DOCTYPE_TOKEN] = ignoreToken;\n_[AFTER_AFTER_BODY_MODE][Tokenizer.START_TAG_TOKEN] = startTagAfterAfterBody;\n_[AFTER_AFTER_BODY_MODE][Tokenizer.END_TAG_TOKEN] = tokenAfterAfterBody;\n_[AFTER_AFTER_BODY_MODE][Tokenizer.EOF_TOKEN] = stopParsing;\n\n_[AFTER_AFTER_FRAMESET_MODE] = Object.create(null);\n_[AFTER_AFTER_FRAMESET_MODE][Tokenizer.CHARACTER_TOKEN] =\n_[AFTER_AFTER_FRAMESET_MODE][Tokenizer.NULL_CHARACTER_TOKEN] = ignoreToken;\n_[AFTER_AFTER_FRAMESET_MODE][Tokenizer.WHITESPACE_CHARACTER_TOKEN] = whitespaceCharacterInBody;\n_[AFTER_AFTER_FRAMESET_MODE][Tokenizer.COMMENT_TOKEN] = appendCommentToDocument;\n_[AFTER_AFTER_FRAMESET_MODE][Tokenizer.DOCTYPE_TOKEN] = ignoreToken;\n_[AFTER_AFTER_FRAMESET_MODE][Tokenizer.START_TAG_TOKEN] = startTagAfterAfterFrameset;\n_[AFTER_AFTER_FRAMESET_MODE][Tokenizer.END_TAG_TOKEN] = ignoreToken;\n_[AFTER_AFTER_FRAMESET_MODE][Tokenizer.EOF_TOKEN] = stopParsing;\n\n\n//Parser\nvar Parser = module.exports = function (options) {\n this.options = mergeOptions(DEFAULT_OPTIONS, options);\n\n this.treeAdapter = this.options.treeAdapter;\n this.pendingScript = null;\n\n if (this.options.locationInfo)\n new LocationInfoParserMixin(this);\n};\n\n// API\nParser.prototype.parse = function (html) {\n var document = this.treeAdapter.createDocument();\n\n this._bootstrap(document, null);\n this.tokenizer.write(html, true);\n this._runParsingLoop(null);\n\n return document;\n};\n\nParser.prototype.parseFragment = function (html, fragmentContext) {\n //NOTE: use