From 9ff2c0cdc07c211f4f37935e414d3f22dc6cb57f Mon Sep 17 00:00:00 2001 From: Dan Cox Date: Tue, 10 Oct 2023 17:22:10 -0400 Subject: [PATCH] Moving away from FileReader --- build/extwee.bundle.js | 2 + build/extwee.bundle.js.LICENSE.txt | 1 + docs/extwee/2.2.0/FileReader.js.html | 4 +- docs/extwee/2.2.0/JSONParser.js.html | 4 +- docs/extwee/2.2.0/Passage.js.html | 4 +- docs/extwee/2.2.0/Story.js.html | 4 +- docs/extwee/2.2.0/StoryFormat.js.html | 4 +- docs/extwee/2.2.0/StoryFormatParser.js.html | 4 +- docs/extwee/2.2.0/TWSParser.js.html | 4 +- docs/extwee/2.2.0/TweeParser.js.html | 4 +- docs/extwee/2.2.0/Twine1HTMLCompiler.js.html | 61 + docs/extwee/2.2.0/Twine1HTMLParser.js.html | 4 +- .../2.2.0/Twine2ArchiveHTMLCompiler.js.html | 39 + .../2.2.0/Twine2ArchiveHTMLParser.js.html | 4 +- docs/extwee/2.2.0/Twine2HTMLCompiler.js.html | 38 + docs/extwee/2.2.0/Twine2HTMLParser.js.html | 4 +- docs/extwee/2.2.0/data/search.json | 2 +- docs/extwee/2.2.0/external-HTML.html | 2 +- docs/extwee/2.2.0/global.html | 2 +- docs/extwee/2.2.0/index.html | 2 +- docs/extwee/2.2.0/module.exports.html | 2 +- .../2.2.0/module.exports_module.exports.html | 2 +- index.js | 41 +- package-lock.json | 1046 +++++++++++------ package.json | 11 +- src/FileReader.js | 47 - ...ne1HTMLWriter.js => Twine1HTMLCompiler.js} | 47 +- ...Writer.js => Twine2ArchiveHTMLCompiler.js} | 23 +- ...ne2HTMLWriter.js => Twine2HTMLCompiler.js} | 16 +- test/FileReader.test.js | 24 - test/FileReader/Example1.tws | 150 --- test/FileReader/t1.txt | 1 - test/Roundtrip.test.js | 25 +- test/StoryFormatParser.test.js | 30 +- test/TWSParser.test.js | 17 +- test/TweeParser.test.js | 18 +- ...ter.test.js => Twine1HTMLCompiler.test.js} | 102 +- .../Twine1HTMLCompiler/Twine1}/LICENSE | 0 .../Twine1HTMLCompiler/Twine1}/engine.js | 0 .../Twine1HTMLCompiler/Twine1}/jquery.js | 0 .../Twine1HTMLCompiler/Twine1}/modernizr.js | 0 .../engineTest.html | 0 .../jonah-1.4.2/LICENSE | 0 .../jonah-1.4.2/code.js | 0 .../jonah-1.4.2/header.html | 0 .../test.html | 0 .../test1.html | 0 .../test2.html | 0 .../test3.html | 0 .../test4.html | 0 .../test5.html | 0 test/Twine2ArchiveHTMLCompiler.test.js | 35 + .../test1.html | 0 test/Twine2ArchiveHTMLWriter.test.js | 58 - ...ter.test.js => Twine2HTMLCompiler.test.js} | 81 +- .../TestTags.html | 0 .../creator.html | 0 .../example6.twee | 0 .../missingStoryTitle.twee | 0 .../test11.html | 0 .../test2.html | 0 .../test3.html | 0 .../test4.html | 0 .../test6.html | 0 test/Twine2HTMLParser.test.js | 50 +- webpack.config.js | 10 + 66 files changed, 1086 insertions(+), 943 deletions(-) create mode 100644 build/extwee.bundle.js create mode 100644 build/extwee.bundle.js.LICENSE.txt create mode 100644 docs/extwee/2.2.0/Twine1HTMLCompiler.js.html create mode 100644 docs/extwee/2.2.0/Twine2ArchiveHTMLCompiler.js.html create mode 100644 docs/extwee/2.2.0/Twine2HTMLCompiler.js.html delete mode 100644 src/FileReader.js rename src/{Twine1HTMLWriter.js => Twine1HTMLCompiler.js} (50%) rename src/{Twine2ArchiveHTMLWriter.js => Twine2ArchiveHTMLCompiler.js} (55%) rename src/{Twine2HTMLWriter.js => Twine2HTMLCompiler.js} (72%) delete mode 100644 test/FileReader.test.js delete mode 100644 test/FileReader/Example1.tws delete mode 100644 test/FileReader/t1.txt rename test/{Twine1HTMLWriter.test.js => Twine1HTMLCompiler.test.js} (52%) rename {Twine1 => test/Twine1HTMLCompiler/Twine1}/LICENSE (100%) rename {Twine1 => test/Twine1HTMLCompiler/Twine1}/engine.js (100%) rename {Twine1 => test/Twine1HTMLCompiler/Twine1}/jquery.js (100%) rename {Twine1 => test/Twine1HTMLCompiler/Twine1}/modernizr.js (100%) rename test/{Twine1HTMLWriter => Twine1HTMLCompiler}/engineTest.html (100%) rename test/{Twine1HTMLWriter => Twine1HTMLCompiler}/jonah-1.4.2/LICENSE (100%) rename test/{Twine1HTMLWriter => Twine1HTMLCompiler}/jonah-1.4.2/code.js (100%) rename test/{Twine1HTMLWriter => Twine1HTMLCompiler}/jonah-1.4.2/header.html (100%) rename test/{Twine1HTMLWriter => Twine1HTMLCompiler}/test.html (100%) rename test/{Twine1HTMLWriter => Twine1HTMLCompiler}/test1.html (100%) rename test/{Twine1HTMLWriter => Twine1HTMLCompiler}/test2.html (100%) rename test/{Twine1HTMLWriter => Twine1HTMLCompiler}/test3.html (100%) rename test/{Twine1HTMLWriter => Twine1HTMLCompiler}/test4.html (100%) rename test/{Twine1HTMLWriter => Twine1HTMLCompiler}/test5.html (100%) create mode 100644 test/Twine2ArchiveHTMLCompiler.test.js rename test/{Twine2ArchiveHTMLWriter => Twine2ArchiveHTMLCompiler}/test1.html (100%) delete mode 100644 test/Twine2ArchiveHTMLWriter.test.js rename test/{Twine2HTMLWriter.test.js => Twine2HTMLCompiler.test.js} (65%) rename test/{Twine2HTMLWriter => Twine2HTMLCompiler}/TestTags.html (100%) rename test/{Twine2HTMLWriter => Twine2HTMLCompiler}/creator.html (100%) rename test/{Twine2HTMLWriter => Twine2HTMLCompiler}/example6.twee (100%) rename test/{Twine2HTMLWriter => Twine2HTMLCompiler}/missingStoryTitle.twee (100%) rename test/{Twine2HTMLWriter => Twine2HTMLCompiler}/test11.html (100%) rename test/{Twine2HTMLWriter => Twine2HTMLCompiler}/test2.html (100%) rename test/{Twine2HTMLWriter => Twine2HTMLCompiler}/test3.html (100%) rename test/{Twine2HTMLWriter => Twine2HTMLCompiler}/test4.html (100%) rename test/{Twine2HTMLWriter => Twine2HTMLCompiler}/test6.html (100%) create mode 100644 webpack.config.js diff --git a/build/extwee.bundle.js b/build/extwee.bundle.js new file mode 100644 index 00000000..0edb32d1 --- /dev/null +++ b/build/extwee.bundle.js @@ -0,0 +1,2 @@ +/*! For license information please see extwee.bundle.js.LICENSE.txt */ +(()=>{var e={1073:e=>{e.exports={trueFunc:function(){return!0},falseFunc:function(){return!1}}},996:function(e,r,t){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(r,"__esModule",{value:!0}),r.attributeRules=void 0;var a=n(t(1073)),o=/[-[\]{}()*+?.,\\^$|#\s]/g;function i(e){return e.replace(o,"\\$&")}var s=new Set(["accept","accept-charset","align","alink","axis","bgcolor","charset","checked","clear","codetype","color","compact","declare","defer","dir","direction","disabled","enctype","face","frame","hreflang","http-equiv","lang","language","link","media","method","multiple","nohref","noresize","noshade","nowrap","readonly","rel","rev","rules","scope","scrolling","selected","shape","target","text","type","valign","valuetype","vlink"]);function l(e,r){return"boolean"==typeof e.ignoreCase?e.ignoreCase:"quirks"===e.ignoreCase?!!r.quirksMode:!r.xmlMode&&s.has(e.name)}r.attributeRules={equals:function(e,r,t){var n=t.adapter,a=r.name,o=r.value;return l(r,t)?(o=o.toLowerCase(),function(r){var t=n.getAttributeValue(r,a);return null!=t&&t.length===o.length&&t.toLowerCase()===o&&e(r)}):function(r){return n.getAttributeValue(r,a)===o&&e(r)}},hyphen:function(e,r,t){var n=t.adapter,a=r.name,o=r.value,i=o.length;return l(r,t)?(o=o.toLowerCase(),function(r){var t=n.getAttributeValue(r,a);return null!=t&&(t.length===i||"-"===t.charAt(i))&&t.substr(0,i).toLowerCase()===o&&e(r)}):function(r){var t=n.getAttributeValue(r,a);return null!=t&&(t.length===i||"-"===t.charAt(i))&&t.substr(0,i)===o&&e(r)}},element:function(e,r,t){var n=t.adapter,o=r.name,s=r.value;if(/\s/.test(s))return a.default.falseFunc;var c=new RegExp("(?:^|\\s)".concat(i(s),"(?:$|\\s)"),l(r,t)?"i":"");return function(r){var t=n.getAttributeValue(r,o);return null!=t&&t.length>=s.length&&c.test(t)&&e(r)}},exists:function(e,r,t){var n=r.name,a=t.adapter;return function(r){return a.hasAttrib(r,n)&&e(r)}},start:function(e,r,t){var n=t.adapter,o=r.name,i=r.value,s=i.length;return 0===s?a.default.falseFunc:l(r,t)?(i=i.toLowerCase(),function(r){var t=n.getAttributeValue(r,o);return null!=t&&t.length>=s&&t.substr(0,s).toLowerCase()===i&&e(r)}):function(r){var t;return!!(null===(t=n.getAttributeValue(r,o))||void 0===t?void 0:t.startsWith(i))&&e(r)}},end:function(e,r,t){var n=t.adapter,o=r.name,i=r.value,s=-i.length;return 0===s?a.default.falseFunc:l(r,t)?(i=i.toLowerCase(),function(r){var t;return(null===(t=n.getAttributeValue(r,o))||void 0===t?void 0:t.substr(s).toLowerCase())===i&&e(r)}):function(r){var t;return!!(null===(t=n.getAttributeValue(r,o))||void 0===t?void 0:t.endsWith(i))&&e(r)}},any:function(e,r,t){var n=t.adapter,o=r.name,s=r.value;if(""===s)return a.default.falseFunc;if(l(r,t)){var c=new RegExp(i(s),"i");return function(r){var t=n.getAttributeValue(r,o);return null!=t&&t.length>=s.length&&c.test(t)&&e(r)}}return function(r){var t;return!!(null===(t=n.getAttributeValue(r,o))||void 0===t?void 0:t.includes(s))&&e(r)}},not:function(e,r,t){var n=t.adapter,a=r.name,o=r.value;return""===o?function(r){return!!n.getAttributeValue(r,a)&&e(r)}:l(r,t)?(o=o.toLowerCase(),function(r){var t=n.getAttributeValue(r,a);return(null==t||t.length!==o.length||t.toLowerCase()!==o)&&e(r)}):function(r){return n.getAttributeValue(r,a)!==o&&e(r)}}}},8866:function(e,r,t){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,r,t,n){void 0===n&&(n=t);var a=Object.getOwnPropertyDescriptor(r,t);a&&!("get"in a?!r.__esModule:a.writable||a.configurable)||(a={enumerable:!0,get:function(){return r[t]}}),Object.defineProperty(e,n,a)}:function(e,r,t,n){void 0===n&&(n=t),e[n]=r[t]}),a=this&&this.__setModuleDefault||(Object.create?function(e,r){Object.defineProperty(e,"default",{enumerable:!0,value:r})}:function(e,r){e.default=r}),o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var r={};if(null!=e)for(var t in e)"default"!==t&&Object.prototype.hasOwnProperty.call(e,t)&&n(r,e,t);return a(r,e),r},i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(r,"__esModule",{value:!0}),r.compileToken=r.compileUnsafe=r.compile=void 0;var s=t(7763),l=i(t(1073)),c=o(t(7353)),u=t(3621),p=t(1768);function d(e,r,t){return b("string"==typeof e?(0,s.parse)(e):e,r,t)}function f(e){return e.type===s.SelectorType.Pseudo&&("scope"===e.name||Array.isArray(e.data)&&e.data.some((function(e){return e.some(f)})))}r.compile=function(e,r,t){var n=d(e,r,t);return(0,p.ensureIsTag)(n,r.adapter)},r.compileUnsafe=d;var h={type:s.SelectorType.Descendant},g={type:"_flexibleDescendant"},m={type:s.SelectorType.Pseudo,name:"scope",data:null};function b(e,r,t){var n;e.forEach(c.default),t=null!==(n=r.context)&&void 0!==n?n:t;var a=Array.isArray(t),o=t&&(Array.isArray(t)?t:[t]);if(!1!==r.relativeSelector)!function(e,r,t){for(var n=r.adapter,a=!!(null==t?void 0:t.every((function(e){var r=n.isTag(e)&&n.getParent(e);return e===p.PLACEHOLDER_ELEMENT||r&&n.isTag(r)}))),o=0,i=e;o0&&(0,c.isTraversal)(l[0])&&l[0].type!==s.SelectorType.Descendant);else{if(!a||l.some(f))continue;l.unshift(h)}l.unshift(m)}}(e,r,o);else if(e.some((function(e){return e.length>0&&(0,c.isTraversal)(e[0])})))throw new Error("Relative selectors are not allowed when the `relativeSelector` option is disabled");var i=!1,d=e.map((function(e){if(e.length>=2){var t=e[0],n=e[1];t.type!==s.SelectorType.Pseudo||"scope"!==t.name||(a&&n.type===s.SelectorType.Descendant?e[1]=g:n.type!==s.SelectorType.Adjacent&&n.type!==s.SelectorType.Sibling||(i=!0))}return function(e,r,t){var n;return e.reduce((function(e,n){return e===l.default.falseFunc?l.default.falseFunc:(0,u.compileGeneralSelector)(e,n,r,t,b)}),null!==(n=r.rootFunc)&&void 0!==n?n:l.default.trueFunc)}(e,r,o)})).reduce(v,l.default.falseFunc);return d.shouldTestNextSiblings=i,d}function v(e,r){return r===l.default.falseFunc||e===l.default.trueFunc?e:e===l.default.falseFunc||r===l.default.trueFunc?r:function(t){return e(t)||r(t)}}r.compileToken=b},3621:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.compileGeneralSelector=void 0;var n=t(996),a=t(8677),o=t(7763);function i(e,r){var t=r.getParent(e);return t&&r.isTag(t)?t:null}r.compileGeneralSelector=function(e,r,t,s,l){var c=t.adapter,u=t.equals;switch(r.type){case o.SelectorType.PseudoElement:throw new Error("Pseudo-elements are not supported by css-select");case o.SelectorType.ColumnCombinator:throw new Error("Column combinators are not yet supported by css-select");case o.SelectorType.Attribute:if(null!=r.namespace)throw new Error("Namespaced attributes are not yet supported by css-select");return t.xmlMode&&!t.lowerCaseAttributeNames||(r.name=r.name.toLowerCase()),n.attributeRules[r.action](e,r,t);case o.SelectorType.Pseudo:return(0,a.compilePseudoSelector)(e,r,t,s,l);case o.SelectorType.Tag:if(null!=r.namespace)throw new Error("Namespaced tag names are not yet supported by css-select");var p=r.name;return t.xmlMode&&!t.lowerCaseTags||(p=p.toLowerCase()),function(r){return c.getName(r)===p&&e(r)};case o.SelectorType.Descendant:if(!1===t.cacheResults||"undefined"==typeof WeakSet)return function(r){for(var t=r;t=i(t,c);)if(e(t))return!0;return!1};var d=new WeakSet;return function(r){for(var t=r;t=i(t,c);)if(!d.has(t)){if(c.isTag(t)&&e(t))return!0;d.add(t)}return!1};case"_flexibleDescendant":return function(r){var t=r;do{if(e(t))return!0}while(t=i(t,c));return!1};case o.SelectorType.Parent:return function(r){return c.getChildren(r).some((function(r){return c.isTag(r)&&e(r)}))};case o.SelectorType.Child:return function(r){var t=c.getParent(r);return null!=t&&c.isTag(t)&&e(t)};case o.SelectorType.Sibling:return function(r){for(var t=c.getSiblings(r),n=0;n{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.aliases=void 0,r.aliases={"any-link":":is(a, area, link)[href]",link:":any-link:not(:visited)",disabled:":is(\n :is(button, input, select, textarea, optgroup, option)[disabled],\n optgroup[disabled] > option,\n fieldset[disabled]:not(fieldset[disabled] legend:first-of-type *)\n )",enabled:":not(:disabled)",checked:":is(:is(input[type=radio], input[type=checkbox])[checked], option:selected)",required:":is(input, select, textarea)[required]",optional:":is(input, select, textarea):not([required])",selected:"option:is([selected], select:not([multiple]):not(:has(> option[selected])) > :first-of-type)",checkbox:"[type=checkbox]",file:"[type=file]",password:"[type=password]",radio:"[type=radio]",reset:"[type=reset]",image:"[type=image]",submit:"[type=submit]",parent:":not(:empty)",header:":is(h1, h2, h3, h4, h5, h6)",button:":is(button, input[type=button])",input:":is(input, textarea, select, button)",text:"input:is(:not([type!='']), [type=text])"}},7689:function(e,r,t){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(r,"__esModule",{value:!0}),r.filters=void 0;var a=n(t(7540)),o=n(t(1073));function i(e,r){return function(t){var n=r.getParent(t);return null!=n&&r.isTag(n)&&e(t)}}function s(e){return function(r,t,n){var a=n.adapter[e];return"function"!=typeof a?o.default.falseFunc:function(e){return a(e)&&r(e)}}}r.filters={contains:function(e,r,t){var n=t.adapter;return function(t){return e(t)&&n.getText(t).includes(r)}},icontains:function(e,r,t){var n=t.adapter,a=r.toLowerCase();return function(r){return e(r)&&n.getText(r).toLowerCase().includes(a)}},"nth-child":function(e,r,t){var n=t.adapter,s=t.equals,l=(0,a.default)(r);return l===o.default.falseFunc?o.default.falseFunc:l===o.default.trueFunc?i(e,n):function(r){for(var t=n.getSiblings(r),a=0,o=0;o=0&&!s(r,t[o]);o--)n.isTag(t[o])&&a++;return l(a)&&e(r)}},"nth-of-type":function(e,r,t){var n=t.adapter,s=t.equals,l=(0,a.default)(r);return l===o.default.falseFunc?o.default.falseFunc:l===o.default.trueFunc?i(e,n):function(r){for(var t=n.getSiblings(r),a=0,o=0;o=0;o--){var i=t[o];if(s(r,i))break;n.isTag(i)&&n.getName(i)===n.getName(r)&&a++}return l(a)&&e(r)}},root:function(e,r,t){var n=t.adapter;return function(r){var t=n.getParent(r);return(null==t||!n.isTag(t))&&e(r)}},scope:function(e,t,n,a){var o=n.equals;return a&&0!==a.length?1===a.length?function(r){return o(a[0],r)&&e(r)}:function(r){return a.includes(r)&&e(r)}:r.filters.root(e,t,n)},hover:s("isHovered"),visited:s("isVisited"),active:s("isActive")}},8677:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.compilePseudoSelector=r.aliases=r.pseudos=r.filters=void 0;var n=t(7763),a=t(7689);Object.defineProperty(r,"filters",{enumerable:!0,get:function(){return a.filters}});var o=t(7221);Object.defineProperty(r,"pseudos",{enumerable:!0,get:function(){return o.pseudos}});var i=t(2968);Object.defineProperty(r,"aliases",{enumerable:!0,get:function(){return i.aliases}});var s=t(1768);r.compilePseudoSelector=function(e,r,t,l,c){var u,p=r.name,d=r.data;if(Array.isArray(d)){if(!(p in s.subselects))throw new Error("Unknown pseudo-class :".concat(p,"(").concat(d,")"));return s.subselects[p](e,d,t,l,c)}var f=null===(u=t.pseudos)||void 0===u?void 0:u[p],h="string"==typeof f?f:i.aliases[p];if("string"==typeof h){if(null!=d)throw new Error("Pseudo ".concat(p," doesn't have any arguments"));var g=(0,n.parse)(h);return s.subselects.is(e,g,t,l,c)}if("function"==typeof f)return(0,o.verifyPseudoArgs)(f,p,d,1),function(r){return f(r,d)&&e(r)};if(p in a.filters)return a.filters[p](e,d,t,l);if(p in o.pseudos){var m=o.pseudos[p];return(0,o.verifyPseudoArgs)(m,p,d,2),function(r){return m(r,t,d)&&e(r)}}throw new Error("Unknown pseudo-class :".concat(p))}},7221:(e,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.verifyPseudoArgs=r.pseudos=void 0,r.pseudos={empty:function(e,r){var t=r.adapter;return!t.getChildren(e).some((function(e){return t.isTag(e)||""!==t.getText(e)}))},"first-child":function(e,r){var t=r.adapter,n=r.equals;if(t.prevElementSibling)return null==t.prevElementSibling(e);var a=t.getSiblings(e).find((function(e){return t.isTag(e)}));return null!=a&&n(e,a)},"last-child":function(e,r){for(var t=r.adapter,n=r.equals,a=t.getSiblings(e),o=a.length-1;o>=0;o--){if(n(e,a[o]))return!0;if(t.isTag(a[o]))break}return!1},"first-of-type":function(e,r){for(var t=r.adapter,n=r.equals,a=t.getSiblings(e),o=t.getName(e),i=0;i=0;i--){var s=a[i];if(n(e,s))return!0;if(t.isTag(s)&&t.getName(s)===o)break}return!1},"only-of-type":function(e,r){var t=r.adapter,n=r.equals,a=t.getName(e);return t.getSiblings(e).every((function(r){return n(e,r)||!t.isTag(r)||t.getName(r)!==a}))},"only-child":function(e,r){var t=r.adapter,n=r.equals;return t.getSiblings(e).every((function(r){return n(e,r)||!t.isTag(r)}))}},r.verifyPseudoArgs=function(e,r,t,n){if(null===t){if(e.length>n)throw new Error("Pseudo-class :".concat(r," requires an argument"))}else if(e.length===n)throw new Error("Pseudo-class :".concat(r," doesn't have any arguments"))}},1768:function(e,r,t){"use strict";var n=this&&this.__spreadArray||function(e,r,t){if(t||2===arguments.length)for(var n,a=0,o=r.length;a{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.isTraversal=void 0;var n=t(7763),a=new Map([[n.SelectorType.Universal,50],[n.SelectorType.Tag,30],[n.SelectorType.Attribute,1],[n.SelectorType.Pseudo,0]]);r.isTraversal=function(e){return!a.has(e.type)};var o=new Map([[n.AttributeAction.Exists,10],[n.AttributeAction.Equals,8],[n.AttributeAction.Not,7],[n.AttributeAction.Start,6],[n.AttributeAction.End,6],[n.AttributeAction.Any,5]]);function i(e){var r,t,s=null!==(r=a.get(e.type))&&void 0!==r?r:-1;return e.type===n.SelectorType.Attribute?(s=null!==(t=o.get(e.action))&&void 0!==t?t:4,e.action===n.AttributeAction.Equals&&"id"===e.name&&(s=9),e.ignoreCase&&(s>>=1)):e.type===n.SelectorType.Pseudo&&(e.data?"has"===e.name||"contains"===e.name?s=0:Array.isArray(e.data)?(s=Math.min.apply(Math,e.data.map((function(e){return Math.min.apply(Math,e.map(i))}))))<0&&(s=0):s=2:s=3),s}r.default=function(e){for(var r=e.map(i),t=1;t=0&&n{"use strict";var n;t.r(r),t.d(r,{AttributeAction:()=>o,IgnoreCaseMode:()=>a,SelectorType:()=>n,isTraversal:()=>u,parse:()=>m,stringify:()=>T}),function(e){e.Attribute="attribute",e.Pseudo="pseudo",e.PseudoElement="pseudo-element",e.Tag="tag",e.Universal="universal",e.Adjacent="adjacent",e.Child="child",e.Descendant="descendant",e.Parent="parent",e.Sibling="sibling",e.ColumnCombinator="column-combinator"}(n||(n={}));const a={Unknown:null,QuirksMode:"quirks",IgnoreCase:!0,CaseSensitive:!1};var o;!function(e){e.Any="any",e.Element="element",e.End="end",e.Equals="equals",e.Exists="exists",e.Hyphen="hyphen",e.Not="not",e.Start="start"}(o||(o={}));const i=/^[^\\#]?(?:\\(?:[\da-f]{1,6}\s?|.)|[\w\-\u00b0-\uFFFF])+/,s=/\\([\da-f]{1,6}\s?|(\s)|.)/gi,l=new Map([[126,o.Element],[94,o.Start],[36,o.End],[42,o.Any],[33,o.Not],[124,o.Hyphen]]),c=new Set(["has","not","matches","is","where","host","host-context"]);function u(e){switch(e.type){case n.Adjacent:case n.Child:case n.Descendant:case n.Parent:case n.Sibling:case n.ColumnCombinator:return!0;default:return!1}}const p=new Set(["contains","icontains"]);function d(e,r,t){const n=parseInt(r,16)-65536;return n!=n||t?r:n<0?String.fromCharCode(n+65536):String.fromCharCode(n>>10|55296,1023&n|56320)}function f(e){return e.replace(s,d)}function h(e){return 39===e||34===e}function g(e){return 32===e||9===e||10===e||12===e||13===e}function m(e){const r=[],t=b(r,`${e}`,0);if(t0&&t0&&u(a[a.length-1]))throw new Error("Did not expect successive traversals.")}function E(e){a.length>0&&a[a.length-1].type===n.Descendant?a[a.length-1].type=e:(y(),a.push({type:e}))}function w(e,r){a.push({type:n.Attribute,name:e,action:r,value:s(1),namespace:null,ignoreCase:"quirks"})}function A(){if(a.length&&a[a.length-1].type===n.Descendant&&a.pop(),0===a.length)throw new Error("Empty sub-selector");e.push(a)}if(d(0),r.length===t)return t;e:for(;te.charCodeAt(0)))),w=new Set(y.map((e=>e.charCodeAt(0)))),A=new Set([...y,"~","^","$","*","+","!","|",":","[","]"," ","."].map((e=>e.charCodeAt(0))));function T(e){return e.map((e=>e.map(x).join(""))).join(", ")}function x(e,r,t){switch(e.type){case n.Child:return 0===r?"> ":" > ";case n.Parent:return 0===r?"< ":" < ";case n.Sibling:return 0===r?"~ ":" ~ ";case n.Adjacent:return 0===r?"+ ":" + ";case n.Descendant:return" ";case n.ColumnCombinator:return 0===r?"|| ":" || ";case n.Universal:return"*"===e.namespace&&r+10?n+e.slice(t):e}},7837:(e,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.attributeNames=r.elementNames=void 0,r.elementNames=new Map(["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","textPath"].map((function(e){return[e.toLowerCase(),e]}))),r.attributeNames=new Map(["definitionURL","attributeName","attributeType","baseFrequency","baseProfile","calcMode","clipPathUnits","diffuseConstant","edgeMode","filterUnits","glyphRef","gradientTransform","gradientUnits","kernelMatrix","kernelUnitLength","keyPoints","keySplines","keyTimes","lengthAdjust","limitingConeAngle","markerHeight","markerUnits","markerWidth","maskContentUnits","maskUnits","numOctaves","pathLength","patternContentUnits","patternTransform","patternUnits","pointsAtX","pointsAtY","pointsAtZ","preserveAlpha","preserveAspectRatio","primitiveUnits","refX","refY","repeatCount","repeatDur","requiredExtensions","requiredFeatures","specularConstant","specularExponent","spreadMethod","startOffset","stdDeviation","stitchTiles","surfaceScale","systemLanguage","tableValues","targetX","targetY","textLength","viewBox","viewTarget","xChannelSelector","yChannelSelector","zoomAndPan"].map((function(e){return[e.toLowerCase(),e]})))},7220:function(e,r,t){"use strict";var n=this&&this.__assign||function(){return n=Object.assign||function(e){for(var r,t=1,n=arguments.length;t");case s.Comment:return"\x3c!--".concat(e.data,"--\x3e");case s.CDATA:return function(e){return"")}(e);case s.Script:case s.Style:case s.Tag:return function(e,r){var t;"foreign"===r.xmlMode&&(e.name=null!==(t=c.elementNames.get(e.name))&&void 0!==t?t:e.name,e.parent&&g.has(e.parent.name)&&(r=n(n({},r),{xmlMode:!1}))),!r.xmlMode&&m.has(e.name)&&(r=n(n({},r),{xmlMode:"foreign"}));var a="<".concat(e.name),o=function(e,r){var t;if(e){var n=!1===(null!==(t=r.encodeEntities)&&void 0!==t?t:r.decodeEntities)?p:r.xmlMode||"utf8"!==r.encodeEntities?l.encodeXML:l.escapeAttribute;return Object.keys(e).map((function(t){var a,o,i=null!==(a=e[t])&&void 0!==a?a:"";return"foreign"===r.xmlMode&&(t=null!==(o=c.attributeNames.get(t))&&void 0!==o?o:t),r.emptyAttrs||r.xmlMode||""!==i?"".concat(t,'="').concat(n(i),'"'):t})).join(" ")}}(e.attribs,r);return o&&(a+=" ".concat(o)),0===e.children.length&&(r.xmlMode?!1!==r.selfClosingTags:r.selfClosingTags&&d.has(e.name))?(r.xmlMode||(a+=" "),a+="/>"):(a+=">",e.children.length>0&&(a+=f(e.children,r)),!r.xmlMode&&d.has(e.name)||(a+=""))),a}(e,r);case s.Text:return function(e,r){var t,n=e.data||"";return!1===(null!==(t=r.encodeEntities)&&void 0!==t?t:r.decodeEntities)||!r.xmlMode&&e.parent&&u.has(e.parent.name)||(n=r.xmlMode||"utf8"!==r.encodeEntities?(0,l.encodeXML)(n):(0,l.escapeText)(n)),n}(e,r)}}r.render=f,r.default=f;var g=new Set(["mi","mo","mn","ms","mtext","annotation-xml","foreignObject","desc","title"]),m=new Set(["svg","math"])},9960:(e,r)=>{"use strict";var t;Object.defineProperty(r,"__esModule",{value:!0}),r.Doctype=r.CDATA=r.Tag=r.Style=r.Script=r.Comment=r.Directive=r.Text=r.Root=r.isTag=r.ElementType=void 0,function(e){e.Root="root",e.Text="text",e.Directive="directive",e.Comment="comment",e.Script="script",e.Style="style",e.Tag="tag",e.CDATA="cdata",e.Doctype="doctype"}(t=r.ElementType||(r.ElementType={})),r.isTag=function(e){return e.type===t.Tag||e.type===t.Script||e.type===t.Style},r.Root=t.Root,r.Text=t.Text,r.Directive=t.Directive,r.Comment=t.Comment,r.Script=t.Script,r.Style=t.Style,r.Tag=t.Tag,r.CDATA=t.CDATA,r.Doctype=t.Doctype},7915:function(e,r,t){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,r,t,n){void 0===n&&(n=t);var a=Object.getOwnPropertyDescriptor(r,t);a&&!("get"in a?!r.__esModule:a.writable||a.configurable)||(a={enumerable:!0,get:function(){return r[t]}}),Object.defineProperty(e,n,a)}:function(e,r,t,n){void 0===n&&(n=t),e[n]=r[t]}),a=this&&this.__exportStar||function(e,r){for(var t in e)"default"===t||Object.prototype.hasOwnProperty.call(r,t)||n(r,e,t)};Object.defineProperty(r,"__esModule",{value:!0}),r.DomHandler=void 0;var o=t(9960),i=t(7790);a(t(7790),r);var s={withStartIndices:!1,withEndIndices:!1,xmlMode:!1},l=function(){function e(e,r,t){this.dom=[],this.root=new i.Document(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null,"function"==typeof r&&(t=r,r=s),"object"==typeof e&&(r=e,e=void 0),this.callback=null!=e?e:null,this.options=null!=r?r:s,this.elementCB=null!=t?t:null}return e.prototype.onparserinit=function(e){this.parser=e},e.prototype.onreset=function(){this.dom=[],this.root=new i.Document(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null},e.prototype.onend=function(){this.done||(this.done=!0,this.parser=null,this.handleCallback(null))},e.prototype.onerror=function(e){this.handleCallback(e)},e.prototype.onclosetag=function(){this.lastNode=null;var e=this.tagStack.pop();this.options.withEndIndices&&(e.endIndex=this.parser.endIndex),this.elementCB&&this.elementCB(e)},e.prototype.onopentag=function(e,r){var t=this.options.xmlMode?o.ElementType.Tag:void 0,n=new i.Element(e,r,void 0,t);this.addNode(n),this.tagStack.push(n)},e.prototype.ontext=function(e){var r=this.lastNode;if(r&&r.type===o.ElementType.Text)r.data+=e,this.options.withEndIndices&&(r.endIndex=this.parser.endIndex);else{var t=new i.Text(e);this.addNode(t),this.lastNode=t}},e.prototype.oncomment=function(e){if(this.lastNode&&this.lastNode.type===o.ElementType.Comment)this.lastNode.data+=e;else{var r=new i.Comment(e);this.addNode(r),this.lastNode=r}},e.prototype.oncommentend=function(){this.lastNode=null},e.prototype.oncdatastart=function(){var e=new i.Text(""),r=new i.CDATA([e]);this.addNode(r),e.parent=r,this.lastNode=e},e.prototype.oncdataend=function(){this.lastNode=null},e.prototype.onprocessinginstruction=function(e,r){var t=new i.ProcessingInstruction(e,r);this.addNode(t)},e.prototype.handleCallback=function(e){if("function"==typeof this.callback)this.callback(e,this.dom);else if(e)throw e},e.prototype.addNode=function(e){var r=this.tagStack[this.tagStack.length-1],t=r.children[r.children.length-1];this.options.withStartIndices&&(e.startIndex=this.parser.startIndex),this.options.withEndIndices&&(e.endIndex=this.parser.endIndex),r.children.push(e),t&&(e.prev=t,t.next=e),e.parent=r,this.lastNode=null},e}();r.DomHandler=l,r.default=l},7790:function(e,r,t){"use strict";var n,a=this&&this.__extends||(n=function(e,r){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,r){e.__proto__=r}||function(e,r){for(var t in r)Object.prototype.hasOwnProperty.call(r,t)&&(e[t]=r[t])},n(e,r)},function(e,r){if("function"!=typeof r&&null!==r)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");function t(){this.constructor=e}n(e,r),e.prototype=null===r?Object.create(r):(t.prototype=r.prototype,new t)}),o=this&&this.__assign||function(){return o=Object.assign||function(e){for(var r,t=1,n=arguments.length;t0?this.children[this.children.length-1]:null},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"childNodes",{get:function(){return this.children},set:function(e){this.children=e},enumerable:!1,configurable:!0}),r}(s);r.NodeWithChildren=d;var f=function(e){function r(){var r=null!==e&&e.apply(this,arguments)||this;return r.type=i.ElementType.CDATA,r}return a(r,e),Object.defineProperty(r.prototype,"nodeType",{get:function(){return 4},enumerable:!1,configurable:!0}),r}(d);r.CDATA=f;var h=function(e){function r(){var r=null!==e&&e.apply(this,arguments)||this;return r.type=i.ElementType.Root,r}return a(r,e),Object.defineProperty(r.prototype,"nodeType",{get:function(){return 9},enumerable:!1,configurable:!0}),r}(d);r.Document=h;var g=function(e){function r(r,t,n,a){void 0===n&&(n=[]),void 0===a&&(a="script"===r?i.ElementType.Script:"style"===r?i.ElementType.Style:i.ElementType.Tag);var o=e.call(this,n)||this;return o.name=r,o.attribs=t,o.type=a,o}return a(r,e),Object.defineProperty(r.prototype,"nodeType",{get:function(){return 1},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"tagName",{get:function(){return this.name},set:function(e){this.name=e},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"attributes",{get:function(){var e=this;return Object.keys(this.attribs).map((function(r){var t,n;return{name:r,value:e.attribs[r],namespace:null===(t=e["x-attribsNamespace"])||void 0===t?void 0:t[r],prefix:null===(n=e["x-attribsPrefix"])||void 0===n?void 0:n[r]}}))},enumerable:!1,configurable:!0}),r}(d);function m(e){return(0,i.isTag)(e)}function b(e){return e.type===i.ElementType.CDATA}function v(e){return e.type===i.ElementType.Text}function y(e){return e.type===i.ElementType.Comment}function E(e){return e.type===i.ElementType.Directive}function w(e){return e.type===i.ElementType.Root}function A(e,r){var t;if(void 0===r&&(r=!1),v(e))t=new c(e.data);else if(y(e))t=new u(e.data);else if(m(e)){var n=r?T(e.children):[],a=new g(e.name,o({},e.attribs),n);n.forEach((function(e){return e.parent=a})),null!=e.namespace&&(a.namespace=e.namespace),e["x-attribsNamespace"]&&(a["x-attribsNamespace"]=o({},e["x-attribsNamespace"])),e["x-attribsPrefix"]&&(a["x-attribsPrefix"]=o({},e["x-attribsPrefix"])),t=a}else if(b(e)){n=r?T(e.children):[];var i=new f(n);n.forEach((function(e){return e.parent=i})),t=i}else if(w(e)){n=r?T(e.children):[];var s=new h(n);n.forEach((function(e){return e.parent=s})),e["x-mode"]&&(s["x-mode"]=e["x-mode"]),t=s}else{if(!E(e))throw new Error("Not implemented yet: ".concat(e.type));var l=new p(e.name,e.data);null!=e["x-name"]&&(l["x-name"]=e["x-name"],l["x-publicId"]=e["x-publicId"],l["x-systemId"]=e["x-systemId"]),t=l}return t.startIndex=e.startIndex,t.endIndex=e.endIndex,null!=e.sourceCodeLocation&&(t.sourceCodeLocation=e.sourceCodeLocation),t}function T(e){for(var r=e.map((function(e){return A(e,!0)})),t=1;t{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.getFeed=void 0;var n=t(3346),a=t(3905);r.getFeed=function(e){var r=l(p,e);return r?"feed"===r.name?function(e){var r,t=e.children,n={type:"atom",items:(0,a.getElementsByTagName)("entry",t).map((function(e){var r,t=e.children,n={media:s(t)};u(n,"id","id",t),u(n,"title","title",t);var a=null===(r=l("link",t))||void 0===r?void 0:r.attribs.href;a&&(n.link=a);var o=c("summary",t)||c("content",t);o&&(n.description=o);var i=c("updated",t);return i&&(n.pubDate=new Date(i)),n}))};u(n,"id","id",t),u(n,"title","title",t);var o=null===(r=l("link",t))||void 0===r?void 0:r.attribs.href;o&&(n.link=o),u(n,"description","subtitle",t);var i=c("updated",t);return i&&(n.updated=new Date(i)),u(n,"author","email",t,!0),n}(r):function(e){var r,t,n=null!==(t=null===(r=l("channel",e.children))||void 0===r?void 0:r.children)&&void 0!==t?t:[],o={type:e.name.substr(0,3),id:"",items:(0,a.getElementsByTagName)("item",e.children).map((function(e){var r=e.children,t={media:s(r)};u(t,"id","guid",r),u(t,"title","title",r),u(t,"link","link",r),u(t,"description","description",r);var n=c("pubDate",r)||c("dc:date",r);return n&&(t.pubDate=new Date(n)),t}))};u(o,"title","title",n),u(o,"link","link",n),u(o,"description","description",n);var i=c("lastBuildDate",n);return i&&(o.updated=new Date(i)),u(o,"author","managingEditor",n,!0),o}(r):null};var o=["url","type","lang"],i=["fileSize","bitrate","framerate","samplingrate","channels","duration","height","width"];function s(e){return(0,a.getElementsByTagName)("media:content",e).map((function(e){for(var r=e.attribs,t={medium:r.medium,isDefault:!!r.isDefault},n=0,a=o;n{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.uniqueSort=r.compareDocumentPosition=r.DocumentPosition=r.removeSubsets=void 0;var n,a=t(7915);function o(e,r){var t=[],o=[];if(e===r)return 0;for(var i=(0,a.hasChildren)(e)?e:e.parent;i;)t.unshift(i),i=i.parent;for(i=(0,a.hasChildren)(r)?r:r.parent;i;)o.unshift(i),i=i.parent;for(var s=Math.min(t.length,o.length),l=0;lu.indexOf(d)?c===r?n.FOLLOWING|n.CONTAINED_BY:n.FOLLOWING:c===e?n.PRECEDING|n.CONTAINS:n.PRECEDING}r.removeSubsets=function(e){for(var r=e.length;--r>=0;){var t=e[r];if(r>0&&e.lastIndexOf(t,r-1)>=0)e.splice(r,1);else for(var n=t.parent;n;n=n.parent)if(e.includes(n)){e.splice(r,1);break}}return e},function(e){e[e.DISCONNECTED=1]="DISCONNECTED",e[e.PRECEDING=2]="PRECEDING",e[e.FOLLOWING=4]="FOLLOWING",e[e.CONTAINS=8]="CONTAINS",e[e.CONTAINED_BY=16]="CONTAINED_BY"}(n=r.DocumentPosition||(r.DocumentPosition={})),r.compareDocumentPosition=o,r.uniqueSort=function(e){return(e=e.filter((function(e,r,t){return!t.includes(e,r+1)}))).sort((function(e,r){var t=o(e,r);return t&n.PRECEDING?-1:t&n.FOLLOWING?1:0})),e}},9432:function(e,r,t){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,r,t,n){void 0===n&&(n=t);var a=Object.getOwnPropertyDescriptor(r,t);a&&!("get"in a?!r.__esModule:a.writable||a.configurable)||(a={enumerable:!0,get:function(){return r[t]}}),Object.defineProperty(e,n,a)}:function(e,r,t,n){void 0===n&&(n=t),e[n]=r[t]}),a=this&&this.__exportStar||function(e,r){for(var t in e)"default"===t||Object.prototype.hasOwnProperty.call(r,t)||n(r,e,t)};Object.defineProperty(r,"__esModule",{value:!0}),r.hasChildren=r.isDocument=r.isComment=r.isText=r.isCDATA=r.isTag=void 0,a(t(3346),r),a(t(5010),r),a(t(6765),r),a(t(8043),r),a(t(3905),r),a(t(4975),r),a(t(6996),r);var o=t(7915);Object.defineProperty(r,"isTag",{enumerable:!0,get:function(){return o.isTag}}),Object.defineProperty(r,"isCDATA",{enumerable:!0,get:function(){return o.isCDATA}}),Object.defineProperty(r,"isText",{enumerable:!0,get:function(){return o.isText}}),Object.defineProperty(r,"isComment",{enumerable:!0,get:function(){return o.isComment}}),Object.defineProperty(r,"isDocument",{enumerable:!0,get:function(){return o.isDocument}}),Object.defineProperty(r,"hasChildren",{enumerable:!0,get:function(){return o.hasChildren}})},3905:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.getElementsByTagType=r.getElementsByTagName=r.getElementById=r.getElements=r.testElement=void 0;var n=t(7915),a=t(8043),o={tag_name:function(e){return"function"==typeof e?function(r){return(0,n.isTag)(r)&&e(r.name)}:"*"===e?n.isTag:function(r){return(0,n.isTag)(r)&&r.name===e}},tag_type:function(e){return"function"==typeof e?function(r){return e(r.type)}:function(r){return r.type===e}},tag_contains:function(e){return"function"==typeof e?function(r){return(0,n.isText)(r)&&e(r.data)}:function(r){return(0,n.isText)(r)&&r.data===e}}};function i(e,r){return"function"==typeof r?function(t){return(0,n.isTag)(t)&&r(t.attribs[e])}:function(t){return(0,n.isTag)(t)&&t.attribs[e]===r}}function s(e,r){return function(t){return e(t)||r(t)}}function l(e){var r=Object.keys(e).map((function(r){var t=e[r];return Object.prototype.hasOwnProperty.call(o,r)?o[r](t):i(r,t)}));return 0===r.length?null:r.reduce(s)}r.testElement=function(e,r){var t=l(e);return!t||t(r)},r.getElements=function(e,r,t,n){void 0===n&&(n=1/0);var o=l(e);return o?(0,a.filter)(o,r,t,n):[]},r.getElementById=function(e,r,t){return void 0===t&&(t=!0),Array.isArray(r)||(r=[r]),(0,a.findOne)(i("id",e),r,t)},r.getElementsByTagName=function(e,r,t,n){return void 0===t&&(t=!0),void 0===n&&(n=1/0),(0,a.filter)(o.tag_name(e),r,t,n)},r.getElementsByTagType=function(e,r,t,n){return void 0===t&&(t=!0),void 0===n&&(n=1/0),(0,a.filter)(o.tag_type(e),r,t,n)}},6765:(e,r)=>{"use strict";function t(e){if(e.prev&&(e.prev.next=e.next),e.next&&(e.next.prev=e.prev),e.parent){var r=e.parent.children,t=r.lastIndexOf(e);t>=0&&r.splice(t,1)}e.next=null,e.prev=null,e.parent=null}Object.defineProperty(r,"__esModule",{value:!0}),r.prepend=r.prependChild=r.append=r.appendChild=r.replaceElement=r.removeElement=void 0,r.removeElement=t,r.replaceElement=function(e,r){var t=r.prev=e.prev;t&&(t.next=r);var n=r.next=e.next;n&&(n.prev=r);var a=r.parent=e.parent;if(a){var o=a.children;o[o.lastIndexOf(e)]=r,e.parent=null}},r.appendChild=function(e,r){if(t(r),r.next=null,r.parent=e,e.children.push(r)>1){var n=e.children[e.children.length-2];n.next=r,r.prev=n}else r.prev=null},r.append=function(e,r){t(r);var n=e.parent,a=e.next;if(r.next=a,r.prev=e,e.next=r,r.parent=n,a){if(a.prev=r,n){var o=n.children;o.splice(o.lastIndexOf(a),0,r)}}else n&&n.children.push(r)},r.prependChild=function(e,r){if(t(r),r.parent=e,r.prev=null,1!==e.children.unshift(r)){var n=e.children[1];n.prev=r,r.next=n}else r.next=null},r.prepend=function(e,r){t(r);var n=e.parent;if(n){var a=n.children;a.splice(a.indexOf(e),0,r)}e.prev&&(e.prev.next=r),r.parent=n,r.prev=e.prev,r.next=e,e.prev=r}},8043:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.findAll=r.existsOne=r.findOne=r.findOneChild=r.find=r.filter=void 0;var n=t(7915);function a(e,r,t,a){for(var o=[],i=[r],s=[0];;)if(s[0]>=i[0].length){if(1===s.length)return o;i.shift(),s.shift()}else{var l=i[0][s[0]++];if(e(l)&&(o.push(l),--a<=0))return o;t&&(0,n.hasChildren)(l)&&l.children.length>0&&(s.unshift(0),i.unshift(l.children))}}r.filter=function(e,r,t,n){return void 0===t&&(t=!0),void 0===n&&(n=1/0),a(e,Array.isArray(r)?r:[r],t,n)},r.find=a,r.findOneChild=function(e,r){return r.find(e)},r.findOne=function e(r,t,a){void 0===a&&(a=!0);for(var o=null,i=0;i0&&(o=e(r,s.children,!0)))}return o},r.existsOne=function e(r,t){return t.some((function(t){return(0,n.isTag)(t)&&(r(t)||e(r,t.children))}))},r.findAll=function(e,r){for(var t=[],a=[r],o=[0];;)if(o[0]>=a[0].length){if(1===a.length)return t;a.shift(),o.shift()}else{var i=a[0][o[0]++];(0,n.isTag)(i)&&(e(i)&&t.push(i),i.children.length>0&&(o.unshift(0),a.unshift(i.children)))}}},3346:function(e,r,t){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(r,"__esModule",{value:!0}),r.innerText=r.textContent=r.getText=r.getInnerHTML=r.getOuterHTML=void 0;var a=t(7915),o=n(t(7220)),i=t(9960);function s(e,r){return(0,o.default)(e,r)}r.getOuterHTML=s,r.getInnerHTML=function(e,r){return(0,a.hasChildren)(e)?e.children.map((function(e){return s(e,r)})).join(""):""},r.getText=function e(r){return Array.isArray(r)?r.map(e).join(""):(0,a.isTag)(r)?"br"===r.name?"\n":e(r.children):(0,a.isCDATA)(r)?e(r.children):(0,a.isText)(r)?r.data:""},r.textContent=function e(r){return Array.isArray(r)?r.map(e).join(""):(0,a.hasChildren)(r)&&!(0,a.isComment)(r)?e(r.children):(0,a.isText)(r)?r.data:""},r.innerText=function e(r){return Array.isArray(r)?r.map(e).join(""):(0,a.hasChildren)(r)&&(r.type===i.ElementType.Tag||(0,a.isCDATA)(r))?e(r.children):(0,a.isText)(r)?r.data:""}},5010:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.prevElementSibling=r.nextElementSibling=r.getName=r.hasAttrib=r.getAttributeValue=r.getSiblings=r.getParent=r.getChildren=void 0;var n=t(7915);function a(e){return(0,n.hasChildren)(e)?e.children:[]}function o(e){return e.parent||null}r.getChildren=a,r.getParent=o,r.getSiblings=function(e){var r=o(e);if(null!=r)return a(r);for(var t=[e],n=e.prev,i=e.next;null!=n;)t.unshift(n),n=n.prev;for(;null!=i;)t.push(i),i=i.next;return t},r.getAttributeValue=function(e,r){var t;return null===(t=e.attribs)||void 0===t?void 0:t[r]},r.hasAttrib=function(e,r){return null!=e.attribs&&Object.prototype.hasOwnProperty.call(e.attribs,r)&&null!=e.attribs[r]},r.getName=function(e){return e.name},r.nextElementSibling=function(e){for(var r=e.next;null!==r&&!(0,n.isTag)(r);)r=r.next;return r},r.prevElementSibling=function(e){for(var r=e.prev;null!==r&&!(0,n.isTag)(r);)r=r.prev;return r}},4076:function(e,r,t){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,r,t,n){void 0===n&&(n=t);var a=Object.getOwnPropertyDescriptor(r,t);a&&!("get"in a?!r.__esModule:a.writable||a.configurable)||(a={enumerable:!0,get:function(){return r[t]}}),Object.defineProperty(e,n,a)}:function(e,r,t,n){void 0===n&&(n=t),e[n]=r[t]}),a=this&&this.__setModuleDefault||(Object.create?function(e,r){Object.defineProperty(e,"default",{enumerable:!0,value:r})}:function(e,r){e.default=r}),o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var r={};if(null!=e)for(var t in e)"default"!==t&&Object.prototype.hasOwnProperty.call(e,t)&&n(r,e,t);return a(r,e),r},i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(r,"__esModule",{value:!0}),r.decodeXML=r.decodeHTMLStrict=r.decodeHTMLAttribute=r.decodeHTML=r.determineBranch=r.EntityDecoder=r.DecodingMode=r.BinTrieFlags=r.fromCodePoint=r.replaceCodePoint=r.decodeCodePoint=r.xmlDecodeTree=r.htmlDecodeTree=void 0;var s=i(t(3704));r.htmlDecodeTree=s.default;var l=i(t(2060));r.xmlDecodeTree=l.default;var c=o(t(26));r.decodeCodePoint=c.default;var u,p,d,f,h=t(26);function g(e){return e>=u.ZERO&&e<=u.NINE}Object.defineProperty(r,"replaceCodePoint",{enumerable:!0,get:function(){return h.replaceCodePoint}}),Object.defineProperty(r,"fromCodePoint",{enumerable:!0,get:function(){return h.fromCodePoint}}),function(e){e[e.NUM=35]="NUM",e[e.SEMI=59]="SEMI",e[e.EQUALS=61]="EQUALS",e[e.ZERO=48]="ZERO",e[e.NINE=57]="NINE",e[e.LOWER_A=97]="LOWER_A",e[e.LOWER_F=102]="LOWER_F",e[e.LOWER_X=120]="LOWER_X",e[e.LOWER_Z=122]="LOWER_Z",e[e.UPPER_A=65]="UPPER_A",e[e.UPPER_F=70]="UPPER_F",e[e.UPPER_Z=90]="UPPER_Z"}(u||(u={})),function(e){e[e.VALUE_LENGTH=49152]="VALUE_LENGTH",e[e.BRANCH_LENGTH=16256]="BRANCH_LENGTH",e[e.JUMP_TABLE=127]="JUMP_TABLE"}(p=r.BinTrieFlags||(r.BinTrieFlags={})),function(e){e[e.EntityStart=0]="EntityStart",e[e.NumericStart=1]="NumericStart",e[e.NumericDecimal=2]="NumericDecimal",e[e.NumericHex=3]="NumericHex",e[e.NamedEntity=4]="NamedEntity"}(d||(d={})),function(e){e[e.Legacy=0]="Legacy",e[e.Strict=1]="Strict",e[e.Attribute=2]="Attribute"}(f=r.DecodingMode||(r.DecodingMode={}));var m=function(){function e(e,r,t){this.decodeTree=e,this.emitCodePoint=r,this.errors=t,this.state=d.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=f.Strict}return e.prototype.startEntity=function(e){this.decodeMode=e,this.state=d.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1},e.prototype.write=function(e,r){switch(this.state){case d.EntityStart:return e.charCodeAt(r)===u.NUM?(this.state=d.NumericStart,this.consumed+=1,this.stateNumericStart(e,r+1)):(this.state=d.NamedEntity,this.stateNamedEntity(e,r));case d.NumericStart:return this.stateNumericStart(e,r);case d.NumericDecimal:return this.stateNumericDecimal(e,r);case d.NumericHex:return this.stateNumericHex(e,r);case d.NamedEntity:return this.stateNamedEntity(e,r)}},e.prototype.stateNumericStart=function(e,r){return r>=e.length?-1:(32|e.charCodeAt(r))===u.LOWER_X?(this.state=d.NumericHex,this.consumed+=1,this.stateNumericHex(e,r+1)):(this.state=d.NumericDecimal,this.stateNumericDecimal(e,r))},e.prototype.addToNumericResult=function(e,r,t,n){if(r!==t){var a=t-r;this.result=this.result*Math.pow(n,a)+parseInt(e.substr(r,a),n),this.consumed+=a}},e.prototype.stateNumericHex=function(e,r){for(var t,n=r;r=u.UPPER_A&&t<=u.UPPER_F||t>=u.LOWER_A&&t<=u.LOWER_F)))return this.addToNumericResult(e,n,r,16),this.emitNumericEntity(a,3);r+=1}return this.addToNumericResult(e,n,r,16),-1},e.prototype.stateNumericDecimal=function(e,r){for(var t=r;r>14;r=u.UPPER_A&&e<=u.UPPER_Z||e>=u.LOWER_A&&e<=u.LOWER_Z||g(e)}(i)))?0:this.emitNotTerminatedNamedEntity();if(0!=(a=((n=t[this.treeIndex])&p.VALUE_LENGTH)>>14)){if(o===u.SEMI)return this.emitNamedEntityData(this.treeIndex,a,this.consumed+this.excess);this.decodeMode!==f.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}var i;return-1},e.prototype.emitNotTerminatedNamedEntity=function(){var e,r=this.result,t=(this.decodeTree[r]&p.VALUE_LENGTH)>>14;return this.emitNamedEntityData(r,t,this.consumed),null===(e=this.errors)||void 0===e||e.missingSemicolonAfterCharacterReference(),this.consumed},e.prototype.emitNamedEntityData=function(e,r,t){var n=this.decodeTree;return this.emitCodePoint(1===r?n[e]&~p.VALUE_LENGTH:n[e+1],t),3===r&&this.emitCodePoint(n[e+2],t),t},e.prototype.end=function(){var e;switch(this.state){case d.NamedEntity:return 0===this.result||this.decodeMode===f.Attribute&&this.result!==this.treeIndex?0:this.emitNotTerminatedNamedEntity();case d.NumericDecimal:return this.emitNumericEntity(0,2);case d.NumericHex:return this.emitNumericEntity(0,3);case d.NumericStart:return null===(e=this.errors)||void 0===e||e.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case d.EntityStart:return 0}},e}();function b(e){var r="",t=new m(e,(function(e){return r+=(0,c.fromCodePoint)(e)}));return function(e,n){for(var a=0,o=0;(o=e.indexOf("&",o))>=0;){r+=e.slice(a,o),t.startEntity(n);var i=t.write(e,o+1);if(i<0){a=o+t.end();break}a=o+i,o=0===i?a+1:a}var s=r+e.slice(a);return r="",s}}function v(e,r,t,n){var a=(r&p.BRANCH_LENGTH)>>7,o=r&p.JUMP_TABLE;if(0===a)return 0!==o&&n===o?t:-1;if(o){var i=n-o;return i<0||i>=a?-1:e[t+i]-1}for(var s=t,l=s+a-1;s<=l;){var c=s+l>>>1,u=e[c];if(un))return e[c+a];l=c-1}}return-1}r.EntityDecoder=m,r.determineBranch=v;var y=b(s.default),E=b(l.default);r.decodeHTML=function(e,r){return void 0===r&&(r=f.Legacy),y(e,r)},r.decodeHTMLAttribute=function(e){return y(e,f.Attribute)},r.decodeHTMLStrict=function(e){return y(e,f.Strict)},r.decodeXML=function(e){return E(e,f.Strict)}},26:(e,r)=>{"use strict";var t;Object.defineProperty(r,"__esModule",{value:!0}),r.replaceCodePoint=r.fromCodePoint=void 0;var n=new Map([[0,65533],[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]);function a(e){var r;return e>=55296&&e<=57343||e>1114111?65533:null!==(r=n.get(e))&&void 0!==r?r:e}r.fromCodePoint=null!==(t=String.fromCodePoint)&&void 0!==t?t:function(e){var r="";return e>65535&&(e-=65536,r+=String.fromCharCode(e>>>10&1023|55296),e=56320|1023&e),r+String.fromCharCode(e)},r.replaceCodePoint=a,r.default=function(e){return(0,r.fromCodePoint)(a(e))}},7322:function(e,r,t){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(r,"__esModule",{value:!0}),r.encodeNonAsciiHTML=r.encodeHTML=void 0;var a=n(t(4021)),o=t(4625),i=/[\t\n!-,./:-@[-`\f{-}$\x80-\uFFFF]/g;function s(e,r){for(var t,n="",i=0;null!==(t=e.exec(r));){var s=t.index;n+=r.substring(i,s);var l=r.charCodeAt(s),c=a.default.get(l);if("object"==typeof c){if(s+1{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.escapeText=r.escapeAttribute=r.escapeUTF8=r.escape=r.encodeXML=r.getCodePoint=r.xmlReplacer=void 0,r.xmlReplacer=/["&'<>$\x80-\uFFFF]/g;var t=new Map([[34,"""],[38,"&"],[39,"'"],[60,"<"],[62,">"]]);function n(e){for(var n,a="",o=0;null!==(n=r.xmlReplacer.exec(e));){var i=n.index,s=e.charCodeAt(i),l=t.get(s);void 0!==l?(a+=e.substring(o,i)+l,o=i+1):(a+="".concat(e.substring(o,i),"&#x").concat((0,r.getCodePoint)(e,i).toString(16),";"),o=r.xmlReplacer.lastIndex+=Number(55296==(64512&s)))}return a+e.substr(o)}function a(e,r){return function(t){for(var n,a=0,o="";n=e.exec(t);)a!==n.index&&(o+=t.substring(a,n.index)),o+=r.get(n[0].charCodeAt(0)),a=n.index+1;return o+t.substring(a)}}r.getCodePoint=null!=String.prototype.codePointAt?function(e,r){return e.codePointAt(r)}:function(e,r){return 55296==(64512&e.charCodeAt(r))?1024*(e.charCodeAt(r)-55296)+e.charCodeAt(r+1)-56320+65536:e.charCodeAt(r)},r.encodeXML=n,r.escape=n,r.escapeUTF8=a(/[&<>'"]/g,t),r.escapeAttribute=a(/["&\u00A0]/g,new Map([[34,"""],[38,"&"],[160," "]])),r.escapeText=a(/[&<>\u00A0]/g,new Map([[38,"&"],[60,"<"],[62,">"],[160," "]]))},3704:(e,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=new Uint16Array('ᵁ<Õıʊҝջאٵ۞ޢߖࠏ੊ઑඡ๭༉༦჊ረዡᐕᒝᓃᓟᔥ\0\0\0\0\0\0ᕫᛍᦍᰒᷝ὾⁠↰⊍⏀⏻⑂⠤⤒ⴈ⹈⿎〖㊺㘹㞬㣾㨨㩱㫠㬮ࠀEMabcfglmnoprstu\\bfms„‹•˜¦³¹ÈÏlig耻Æ䃆P耻&䀦cute耻Á䃁reve;䄂Āiyx}rc耻Â䃂;䐐r;쀀𝔄rave耻À䃀pha;䎑acr;䄀d;橓Āgp¡on;䄄f;쀀𝔸plyFunction;恡ing耻Å䃅Ācs¾Ãr;쀀𝒜ign;扔ilde耻Ã䃃ml耻Ä䃄ЀaceforsuåûþėĜĢħĪĀcrêòkslash;或Ŷöø;櫧ed;挆y;䐑ƀcrtąċĔause;戵noullis;愬a;䎒r;쀀𝔅pf;쀀𝔹eve;䋘còēmpeq;扎܀HOacdefhilorsuōőŖƀƞƢƵƷƺǜȕɳɸɾcy;䐧PY耻©䂩ƀcpyŝŢźute;䄆Ā;iŧŨ拒talDifferentialD;慅leys;愭ȀaeioƉƎƔƘron;䄌dil耻Ç䃇rc;䄈nint;戰ot;䄊ĀdnƧƭilla;䂸terDot;䂷òſi;䎧rcleȀDMPTLJNjǑǖot;抙inus;抖lus;投imes;抗oĀcsǢǸkwiseContourIntegral;戲eCurlyĀDQȃȏoubleQuote;思uote;怙ȀlnpuȞȨɇɕonĀ;eȥȦ户;橴ƀgitȯȶȺruent;扡nt;戯ourIntegral;戮ĀfrɌɎ;愂oduct;成nterClockwiseContourIntegral;戳oss;樯cr;쀀𝒞pĀ;Cʄʅ拓ap;才րDJSZacefiosʠʬʰʴʸˋ˗ˡ˦̳ҍĀ;oŹʥtrahd;椑cy;䐂cy;䐅cy;䐏ƀgrsʿ˄ˇger;怡r;憡hv;櫤Āayː˕ron;䄎;䐔lĀ;t˝˞戇a;䎔r;쀀𝔇Āaf˫̧Ācm˰̢riticalȀADGT̖̜̀̆cute;䂴oŴ̋̍;䋙bleAcute;䋝rave;䁠ilde;䋜ond;拄ferentialD;慆Ѱ̽\0\0\0͔͂\0Ѕf;쀀𝔻ƀ;DE͈͉͍䂨ot;惜qual;扐blèCDLRUVͣͲ΂ϏϢϸontourIntegraìȹoɴ͹\0\0ͻ»͉nArrow;懓Āeo·ΤftƀARTΐΖΡrrow;懐ightArrow;懔eåˊngĀLRΫτeftĀARγιrrow;柸ightArrow;柺ightArrow;柹ightĀATϘϞrrow;懒ee;抨pɁϩ\0\0ϯrrow;懑ownArrow;懕erticalBar;戥ǹABLRTaВЪаўѿͼrrowƀ;BUНОТ憓ar;椓pArrow;懵reve;䌑eft˒к\0ц\0ѐightVector;楐eeVector;楞ectorĀ;Bљњ憽ar;楖ightǔѧ\0ѱeeVector;楟ectorĀ;BѺѻ懁ar;楗eeĀ;A҆҇护rrow;憧ĀctҒҗr;쀀𝒟rok;䄐ࠀNTacdfglmopqstuxҽӀӄӋӞӢӧӮӵԡԯԶՒ՝ՠեG;䅊H耻Ð䃐cute耻É䃉ƀaiyӒӗӜron;䄚rc耻Ê䃊;䐭ot;䄖r;쀀𝔈rave耻È䃈ement;戈ĀapӺӾcr;䄒tyɓԆ\0\0ԒmallSquare;旻erySmallSquare;斫ĀgpԦԪon;䄘f;쀀𝔼silon;䎕uĀaiԼՉlĀ;TՂՃ橵ilde;扂librium;懌Āci՗՚r;愰m;橳a;䎗ml耻Ë䃋Āipժկsts;戃onentialE;慇ʀcfiosօֈ֍ֲ׌y;䐤r;쀀𝔉lledɓ֗\0\0֣mallSquare;旼erySmallSquare;斪Ͱֺ\0ֿ\0\0ׄf;쀀𝔽All;戀riertrf;愱cò׋؀JTabcdfgorstר׬ׯ׺؀ؒؖ؛؝أ٬ٲcy;䐃耻>䀾mmaĀ;d׷׸䎓;䏜reve;䄞ƀeiy؇،ؐdil;䄢rc;䄜;䐓ot;䄠r;쀀𝔊;拙pf;쀀𝔾eater̀EFGLSTصلَٖٛ٦qualĀ;Lؾؿ扥ess;招ullEqual;执reater;檢ess;扷lantEqual;橾ilde;扳cr;쀀𝒢;扫ЀAacfiosuڅڋږڛڞڪھۊRDcy;䐪Āctڐڔek;䋇;䁞irc;䄤r;愌lbertSpace;愋ǰگ\0ڲf;愍izontalLine;攀Āctۃۅòکrok;䄦mpńېۘownHumðįqual;扏܀EJOacdfgmnostuۺ۾܃܇܎ܚܞܡܨ݄ݸދޏޕcy;䐕lig;䄲cy;䐁cute耻Í䃍Āiyܓܘrc耻Î䃎;䐘ot;䄰r;愑rave耻Ì䃌ƀ;apܠܯܿĀcgܴܷr;䄪inaryI;慈lieóϝǴ݉\0ݢĀ;eݍݎ戬Āgrݓݘral;戫section;拂isibleĀCTݬݲomma;恣imes;恢ƀgptݿރވon;䄮f;쀀𝕀a;䎙cr;愐ilde;䄨ǫޚ\0ޞcy;䐆l耻Ï䃏ʀcfosuެ޷޼߂ߐĀiyޱ޵rc;䄴;䐙r;쀀𝔍pf;쀀𝕁ǣ߇\0ߌr;쀀𝒥rcy;䐈kcy;䐄΀HJacfosߤߨ߽߬߱ࠂࠈcy;䐥cy;䐌ppa;䎚Āey߶߻dil;䄶;䐚r;쀀𝔎pf;쀀𝕂cr;쀀𝒦րJTaceflmostࠥࠩࠬࡐࡣ঳সে্਷ੇcy;䐉耻<䀼ʀcmnpr࠷࠼ࡁࡄࡍute;䄹bda;䎛g;柪lacetrf;愒r;憞ƀaeyࡗ࡜ࡡron;䄽dil;䄻;䐛Āfsࡨ॰tԀACDFRTUVarࡾࢩࢱࣦ࣠ࣼयज़ΐ४Ānrࢃ࢏gleBracket;柨rowƀ;BR࢙࢚࢞憐ar;懤ightArrow;懆eiling;挈oǵࢷ\0ࣃbleBracket;柦nǔࣈ\0࣒eeVector;楡ectorĀ;Bࣛࣜ懃ar;楙loor;挊ightĀAV࣯ࣵrrow;憔ector;楎Āerँगeƀ;AVउऊऐ抣rrow;憤ector;楚iangleƀ;BEतथऩ抲ar;槏qual;抴pƀDTVषूौownVector;楑eeVector;楠ectorĀ;Bॖॗ憿ar;楘ectorĀ;B॥०憼ar;楒ightáΜs̀EFGLSTॾঋকঝঢভqualGreater;拚ullEqual;扦reater;扶ess;檡lantEqual;橽ilde;扲r;쀀𝔏Ā;eঽা拘ftarrow;懚idot;䄿ƀnpw৔ਖਛgȀLRlr৞৷ਂਐeftĀAR০৬rrow;柵ightArrow;柷ightArrow;柶eftĀarγਊightáοightáϊf;쀀𝕃erĀLRਢਬeftArrow;憙ightArrow;憘ƀchtਾੀੂòࡌ;憰rok;䅁;扪Ѐacefiosuਗ਼੝੠੷੼અઋ઎p;椅y;䐜Ādl੥੯iumSpace;恟lintrf;愳r;쀀𝔐nusPlus;戓pf;쀀𝕄cò੶;䎜ҀJacefostuણધભીଔଙඑ඗ඞcy;䐊cute;䅃ƀaey઴હાron;䅇dil;䅅;䐝ƀgswે૰଎ativeƀMTV૓૟૨ediumSpace;怋hiĀcn૦૘ë૙eryThiî૙tedĀGL૸ଆreaterGreateòٳessLesóੈLine;䀊r;쀀𝔑ȀBnptଢନଷ଺reak;恠BreakingSpace;䂠f;愕ڀ;CDEGHLNPRSTV୕ୖ୪୼஡௫ఄ౞಄ದ೘ൡඅ櫬Āou୛୤ngruent;扢pCap;扭oubleVerticalBar;戦ƀlqxஃஊ஛ement;戉ualĀ;Tஒஓ扠ilde;쀀≂̸ists;戄reater΀;EFGLSTஶஷ஽௉௓௘௥扯qual;扱ullEqual;쀀≧̸reater;쀀≫̸ess;批lantEqual;쀀⩾̸ilde;扵umpń௲௽ownHump;쀀≎̸qual;쀀≏̸eĀfsఊధtTriangleƀ;BEచఛడ拪ar;쀀⧏̸qual;括s̀;EGLSTవశ఼ౄోౘ扮qual;扰reater;扸ess;쀀≪̸lantEqual;쀀⩽̸ilde;扴estedĀGL౨౹reaterGreater;쀀⪢̸essLess;쀀⪡̸recedesƀ;ESಒಓಛ技qual;쀀⪯̸lantEqual;拠ĀeiಫಹverseElement;戌ghtTriangleƀ;BEೋೌ೒拫ar;쀀⧐̸qual;拭ĀquೝഌuareSuĀbp೨೹setĀ;E೰ೳ쀀⊏̸qual;拢ersetĀ;Eഃആ쀀⊐̸qual;拣ƀbcpഓതൎsetĀ;Eഛഞ쀀⊂⃒qual;抈ceedsȀ;ESTലള഻െ抁qual;쀀⪰̸lantEqual;拡ilde;쀀≿̸ersetĀ;E൘൛쀀⊃⃒qual;抉ildeȀ;EFT൮൯൵ൿ扁qual;扄ullEqual;扇ilde;扉erticalBar;戤cr;쀀𝒩ilde耻Ñ䃑;䎝܀Eacdfgmoprstuvලෂ෉෕ෛ෠෧෼ขภยา฿ไlig;䅒cute耻Ó䃓Āiy෎ීrc耻Ô䃔;䐞blac;䅐r;쀀𝔒rave耻Ò䃒ƀaei෮ෲ෶cr;䅌ga;䎩cron;䎟pf;쀀𝕆enCurlyĀDQฎบoubleQuote;怜uote;怘;橔Āclวฬr;쀀𝒪ash耻Ø䃘iŬื฼de耻Õ䃕es;樷ml耻Ö䃖erĀBP๋๠Āar๐๓r;怾acĀek๚๜;揞et;掴arenthesis;揜Ҁacfhilors๿ງຊຏຒດຝະ໼rtialD;戂y;䐟r;쀀𝔓i;䎦;䎠usMinus;䂱Āipຢອncareplanåڝf;愙Ȁ;eio຺ູ໠໤檻cedesȀ;EST່້໏໚扺qual;檯lantEqual;扼ilde;找me;怳Ādp໩໮uct;戏ortionĀ;aȥ໹l;戝Āci༁༆r;쀀𝒫;䎨ȀUfos༑༖༛༟OT耻"䀢r;쀀𝔔pf;愚cr;쀀𝒬؀BEacefhiorsu༾གྷཇའཱིྦྷྪྭ႖ႩႴႾarr;椐G耻®䂮ƀcnrཎནབute;䅔g;柫rĀ;tཛྷཝ憠l;椖ƀaeyཧཬཱron;䅘dil;䅖;䐠Ā;vླྀཹ愜erseĀEUྂྙĀlq྇ྎement;戋uilibrium;懋pEquilibrium;楯r»ཹo;䎡ghtЀACDFTUVa࿁࿫࿳ဢဨၛႇϘĀnr࿆࿒gleBracket;柩rowƀ;BL࿜࿝࿡憒ar;懥eftArrow;懄eiling;按oǵ࿹\0စbleBracket;柧nǔည\0နeeVector;楝ectorĀ;Bဝသ懂ar;楕loor;挋Āerိ၃eƀ;AVဵံြ抢rrow;憦ector;楛iangleƀ;BEၐၑၕ抳ar;槐qual;抵pƀDTVၣၮၸownVector;楏eeVector;楜ectorĀ;Bႂႃ憾ar;楔ectorĀ;B႑႒懀ar;楓Āpuႛ႞f;愝ndImplies;楰ightarrow;懛ĀchႹႼr;愛;憱leDelayed;槴ڀHOacfhimoqstuფჱჷჽᄙᄞᅑᅖᅡᅧᆵᆻᆿĀCcჩხHcy;䐩y;䐨FTcy;䐬cute;䅚ʀ;aeiyᄈᄉᄎᄓᄗ檼ron;䅠dil;䅞rc;䅜;䐡r;쀀𝔖ortȀDLRUᄪᄴᄾᅉownArrow»ОeftArrow»࢚ightArrow»࿝pArrow;憑gma;䎣allCircle;战pf;쀀𝕊ɲᅭ\0\0ᅰt;戚areȀ;ISUᅻᅼᆉᆯ斡ntersection;抓uĀbpᆏᆞsetĀ;Eᆗᆘ抏qual;抑ersetĀ;Eᆨᆩ抐qual;抒nion;抔cr;쀀𝒮ar;拆ȀbcmpᇈᇛሉላĀ;sᇍᇎ拐etĀ;Eᇍᇕqual;抆ĀchᇠህeedsȀ;ESTᇭᇮᇴᇿ扻qual;檰lantEqual;扽ilde;承Tháྌ;我ƀ;esሒሓሣ拑rsetĀ;Eሜም抃qual;抇et»ሓրHRSacfhiorsሾቄ቉ቕ቞ቱቶኟዂወዑORN耻Þ䃞ADE;愢ĀHc቎ቒcy;䐋y;䐦Ābuቚቜ;䀉;䎤ƀaeyብቪቯron;䅤dil;䅢;䐢r;쀀𝔗Āeiቻ኉Dzኀ\0ኇefore;戴a;䎘Ācn኎ኘkSpace;쀀  Space;怉ldeȀ;EFTካኬኲኼ戼qual;扃ullEqual;扅ilde;扈pf;쀀𝕋ipleDot;惛Āctዖዛr;쀀𝒯rok;䅦ૡዷጎጚጦ\0ጬጱ\0\0\0\0\0ጸጽ፷ᎅ\0᏿ᐄᐊᐐĀcrዻጁute耻Ú䃚rĀ;oጇገ憟cir;楉rǣጓ\0጖y;䐎ve;䅬Āiyጞጣrc耻Û䃛;䐣blac;䅰r;쀀𝔘rave耻Ù䃙acr;䅪Ādiፁ፩erĀBPፈ፝Āarፍፐr;䁟acĀekፗፙ;揟et;掵arenthesis;揝onĀ;P፰፱拃lus;抎Āgp፻፿on;䅲f;쀀𝕌ЀADETadps᎕ᎮᎸᏄϨᏒᏗᏳrrowƀ;BDᅐᎠᎤar;椒ownArrow;懅ownArrow;憕quilibrium;楮eeĀ;AᏋᏌ报rrow;憥ownáϳerĀLRᏞᏨeftArrow;憖ightArrow;憗iĀ;lᏹᏺ䏒on;䎥ing;䅮cr;쀀𝒰ilde;䅨ml耻Ü䃜ҀDbcdefosvᐧᐬᐰᐳᐾᒅᒊᒐᒖash;披ar;櫫y;䐒ashĀ;lᐻᐼ抩;櫦Āerᑃᑅ;拁ƀbtyᑌᑐᑺar;怖Ā;iᑏᑕcalȀBLSTᑡᑥᑪᑴar;戣ine;䁼eparator;杘ilde;所ThinSpace;怊r;쀀𝔙pf;쀀𝕍cr;쀀𝒱dash;抪ʀcefosᒧᒬᒱᒶᒼirc;䅴dge;拀r;쀀𝔚pf;쀀𝕎cr;쀀𝒲Ȁfiosᓋᓐᓒᓘr;쀀𝔛;䎞pf;쀀𝕏cr;쀀𝒳ҀAIUacfosuᓱᓵᓹᓽᔄᔏᔔᔚᔠcy;䐯cy;䐇cy;䐮cute耻Ý䃝Āiyᔉᔍrc;䅶;䐫r;쀀𝔜pf;쀀𝕐cr;쀀𝒴ml;䅸ЀHacdefosᔵᔹᔿᕋᕏᕝᕠᕤcy;䐖cute;䅹Āayᕄᕉron;䅽;䐗ot;䅻Dzᕔ\0ᕛoWidtè૙a;䎖r;愨pf;愤cr;쀀𝒵௡ᖃᖊᖐ\0ᖰᖶᖿ\0\0\0\0ᗆᗛᗫᙟ᙭\0ᚕ᚛ᚲᚹ\0ᚾcute耻á䃡reve;䄃̀;Ediuyᖜᖝᖡᖣᖨᖭ戾;쀀∾̳;房rc耻â䃢te肻´̆;䐰lig耻æ䃦Ā;r²ᖺ;쀀𝔞rave耻à䃠ĀepᗊᗖĀfpᗏᗔsym;愵èᗓha;䎱ĀapᗟcĀclᗤᗧr;䄁g;樿ɤᗰ\0\0ᘊʀ;adsvᗺᗻᗿᘁᘇ戧nd;橕;橜lope;橘;橚΀;elmrszᘘᘙᘛᘞᘿᙏᙙ戠;榤e»ᘙsdĀ;aᘥᘦ戡ѡᘰᘲᘴᘶᘸᘺᘼᘾ;榨;榩;榪;榫;榬;榭;榮;榯tĀ;vᙅᙆ戟bĀ;dᙌᙍ抾;榝Āptᙔᙗh;戢»¹arr;捼Āgpᙣᙧon;䄅f;쀀𝕒΀;Eaeiop዁ᙻᙽᚂᚄᚇᚊ;橰cir;橯;扊d;手s;䀧roxĀ;e዁ᚒñᚃing耻å䃥ƀctyᚡᚦᚨr;쀀𝒶;䀪mpĀ;e዁ᚯñʈilde耻ã䃣ml耻ä䃤Āciᛂᛈoninôɲnt;樑ࠀNabcdefiklnoprsu᛭ᛱᜰ᜼ᝃᝈ᝸᝽០៦ᠹᡐᜍ᤽᥈ᥰot;櫭Ācrᛶ᜞kȀcepsᜀᜅᜍᜓong;扌psilon;䏶rime;怵imĀ;e᜚᜛戽q;拍Ŷᜢᜦee;抽edĀ;gᜬᜭ挅e»ᜭrkĀ;t፜᜷brk;掶Āoyᜁᝁ;䐱quo;怞ʀcmprtᝓ᝛ᝡᝤᝨausĀ;eĊĉptyv;榰séᜌnoõēƀahwᝯ᝱ᝳ;䎲;愶een;扬r;쀀𝔟g΀costuvwឍឝឳេ៕៛៞ƀaiuបពរðݠrc;旯p»፱ƀdptឤឨឭot;樀lus;樁imes;樂ɱឹ\0\0ើcup;樆ar;昅riangleĀdu៍្own;施p;斳plus;樄eåᑄåᒭarow;植ƀako៭ᠦᠵĀcn៲ᠣkƀlst៺֫᠂ozenge;槫riangleȀ;dlr᠒᠓᠘᠝斴own;斾eft;旂ight;斸k;搣Ʊᠫ\0ᠳƲᠯ\0ᠱ;斒;斑4;斓ck;斈ĀeoᠾᡍĀ;qᡃᡆ쀀=⃥uiv;쀀≡⃥t;挐Ȁptwxᡙᡞᡧᡬf;쀀𝕓Ā;tᏋᡣom»Ꮜtie;拈؀DHUVbdhmptuvᢅᢖᢪᢻᣗᣛᣬ᣿ᤅᤊᤐᤡȀLRlrᢎᢐᢒᢔ;敗;敔;敖;敓ʀ;DUduᢡᢢᢤᢦᢨ敐;敦;敩;敤;敧ȀLRlrᢳᢵᢷᢹ;敝;敚;敜;教΀;HLRhlrᣊᣋᣍᣏᣑᣓᣕ救;敬;散;敠;敫;敢;敟ox;槉ȀLRlrᣤᣦᣨᣪ;敕;敒;攐;攌ʀ;DUduڽ᣷᣹᣻᣽;敥;敨;攬;攴inus;抟lus;択imes;抠ȀLRlrᤙᤛᤝ᤟;敛;敘;攘;攔΀;HLRhlrᤰᤱᤳᤵᤷ᤻᤹攂;敪;敡;敞;攼;攤;攜Āevģ᥂bar耻¦䂦Ȁceioᥑᥖᥚᥠr;쀀𝒷mi;恏mĀ;e᜚᜜lƀ;bhᥨᥩᥫ䁜;槅sub;柈Ŭᥴ᥾lĀ;e᥹᥺怢t»᥺pƀ;Eeįᦅᦇ;檮Ā;qۜۛೡᦧ\0᧨ᨑᨕᨲ\0ᨷᩐ\0\0᪴\0\0᫁\0\0ᬡᬮ᭍᭒\0᯽\0ᰌƀcpr᦭ᦲ᧝ute;䄇̀;abcdsᦿᧀᧄ᧊᧕᧙戩nd;橄rcup;橉Āau᧏᧒p;橋p;橇ot;橀;쀀∩︀Āeo᧢᧥t;恁îړȀaeiu᧰᧻ᨁᨅǰ᧵\0᧸s;橍on;䄍dil耻ç䃧rc;䄉psĀ;sᨌᨍ橌m;橐ot;䄋ƀdmnᨛᨠᨦil肻¸ƭptyv;榲t脀¢;eᨭᨮ䂢räƲr;쀀𝔠ƀceiᨽᩀᩍy;䑇ckĀ;mᩇᩈ朓ark»ᩈ;䏇r΀;Ecefms᩟᩠ᩢᩫ᪤᪪᪮旋;槃ƀ;elᩩᩪᩭ䋆q;扗eɡᩴ\0\0᪈rrowĀlr᩼᪁eft;憺ight;憻ʀRSacd᪒᪔᪖᪚᪟»ཇ;擈st;抛irc;抚ash;抝nint;樐id;櫯cir;槂ubsĀ;u᪻᪼晣it»᪼ˬ᫇᫔᫺\0ᬊonĀ;eᫍᫎ䀺Ā;qÇÆɭ᫙\0\0᫢aĀ;t᫞᫟䀬;䁀ƀ;fl᫨᫩᫫戁îᅠeĀmx᫱᫶ent»᫩eóɍǧ᫾\0ᬇĀ;dኻᬂot;橭nôɆƀfryᬐᬔᬗ;쀀𝕔oäɔ脀©;sŕᬝr;愗Āaoᬥᬩrr;憵ss;朗Ācuᬲᬷr;쀀𝒸Ābpᬼ᭄Ā;eᭁᭂ櫏;櫑Ā;eᭉᭊ櫐;櫒dot;拯΀delprvw᭠᭬᭷ᮂᮬᯔ᯹arrĀlr᭨᭪;椸;椵ɰ᭲\0\0᭵r;拞c;拟arrĀ;p᭿ᮀ憶;椽̀;bcdosᮏᮐᮖᮡᮥᮨ截rcap;橈Āauᮛᮞp;橆p;橊ot;抍r;橅;쀀∪︀Ȁalrv᮵ᮿᯞᯣrrĀ;mᮼᮽ憷;椼yƀevwᯇᯔᯘqɰᯎ\0\0ᯒreã᭳uã᭵ee;拎edge;拏en耻¤䂤earrowĀlrᯮ᯳eft»ᮀight»ᮽeäᯝĀciᰁᰇoninôǷnt;戱lcty;挭ঀAHabcdefhijlorstuwz᰸᰻᰿ᱝᱩᱵᲊᲞᲬᲷ᳻᳿ᴍᵻᶑᶫᶻ᷆᷍rò΁ar;楥Ȁglrs᱈ᱍ᱒᱔ger;怠eth;愸òᄳhĀ;vᱚᱛ怐»ऊūᱡᱧarow;椏aã̕Āayᱮᱳron;䄏;䐴ƀ;ao̲ᱼᲄĀgrʿᲁr;懊tseq;橷ƀglmᲑᲔᲘ耻°䂰ta;䎴ptyv;榱ĀirᲣᲨsht;楿;쀀𝔡arĀlrᲳᲵ»ࣜ»သʀaegsv᳂͸᳖᳜᳠mƀ;oș᳊᳔ndĀ;ș᳑uit;晦amma;䏝in;拲ƀ;io᳧᳨᳸䃷de脀÷;o᳧ᳰntimes;拇nø᳷cy;䑒cɯᴆ\0\0ᴊrn;挞op;挍ʀlptuwᴘᴝᴢᵉᵕlar;䀤f;쀀𝕕ʀ;emps̋ᴭᴷᴽᵂqĀ;d͒ᴳot;扑inus;戸lus;戔quare;抡blebarwedgåúnƀadhᄮᵝᵧownarrowóᲃarpoonĀlrᵲᵶefôᲴighôᲶŢᵿᶅkaro÷གɯᶊ\0\0ᶎrn;挟op;挌ƀcotᶘᶣᶦĀryᶝᶡ;쀀𝒹;䑕l;槶rok;䄑Ādrᶰᶴot;拱iĀ;fᶺ᠖斿Āah᷀᷃ròЩaòྦangle;榦Āci᷒ᷕy;䑟grarr;柿ऀDacdefglmnopqrstuxḁḉḙḸոḼṉṡṾấắẽỡἪἷὄ὎὚ĀDoḆᴴoôᲉĀcsḎḔute耻é䃩ter;橮ȀaioyḢḧḱḶron;䄛rĀ;cḭḮ扖耻ê䃪lon;払;䑍ot;䄗ĀDrṁṅot;扒;쀀𝔢ƀ;rsṐṑṗ檚ave耻è䃨Ā;dṜṝ檖ot;檘Ȁ;ilsṪṫṲṴ檙nters;揧;愓Ā;dṹṺ檕ot;檗ƀapsẅẉẗcr;䄓tyƀ;svẒẓẕ戅et»ẓpĀ1;ẝẤijạả;怄;怅怃ĀgsẪẬ;䅋p;怂ĀgpẴẸon;䄙f;쀀𝕖ƀalsỄỎỒrĀ;sỊị拕l;槣us;橱iƀ;lvỚớở䎵on»ớ;䏵ȀcsuvỪỳἋἣĀioữḱrc»Ḯɩỹ\0\0ỻíՈantĀglἂἆtr»ṝess»Ṻƀaeiἒ἖Ἒls;䀽st;扟vĀ;DȵἠD;橸parsl;槥ĀDaἯἳot;打rr;楱ƀcdiἾὁỸr;愯oô͒ĀahὉὋ;䎷耻ð䃰Āmrὓὗl耻ë䃫o;悬ƀcipὡὤὧl;䀡sôծĀeoὬὴctatioîՙnentialåչৡᾒ\0ᾞ\0ᾡᾧ\0\0ῆῌ\0ΐ\0ῦῪ \0 ⁚llingdotseñṄy;䑄male;晀ƀilrᾭᾳ῁lig;耀ffiɩᾹ\0\0᾽g;耀ffig;耀ffl;쀀𝔣lig;耀filig;쀀fjƀaltῙ῜ῡt;晭ig;耀flns;斱of;䆒ǰ΅\0ῳf;쀀𝕗ĀakֿῷĀ;vῼ´拔;櫙artint;樍Āao‌⁕Ācs‑⁒ႉ‸⁅⁈\0⁐β•‥‧‪‬\0‮耻½䂽;慓耻¼䂼;慕;慙;慛Ƴ‴\0‶;慔;慖ʴ‾⁁\0\0⁃耻¾䂾;慗;慜5;慘ƶ⁌\0⁎;慚;慝8;慞l;恄wn;挢cr;쀀𝒻ࢀEabcdefgijlnorstv₂₉₟₥₰₴⃰⃵⃺⃿℃ℒℸ̗ℾ⅒↞Ā;lٍ₇;檌ƀcmpₐₕ₝ute;䇵maĀ;dₜ᳚䎳;檆reve;䄟Āiy₪₮rc;䄝;䐳ot;䄡Ȁ;lqsؾق₽⃉ƀ;qsؾٌ⃄lanô٥Ȁ;cdl٥⃒⃥⃕c;檩otĀ;o⃜⃝檀Ā;l⃢⃣檂;檄Ā;e⃪⃭쀀⋛︀s;檔r;쀀𝔤Ā;gٳ؛mel;愷cy;䑓Ȁ;Eajٚℌℎℐ;檒;檥;檤ȀEaesℛℝ℩ℴ;扩pĀ;p℣ℤ檊rox»ℤĀ;q℮ℯ檈Ā;q℮ℛim;拧pf;쀀𝕘Āci⅃ⅆr;愊mƀ;el٫ⅎ⅐;檎;檐茀>;cdlqr׮ⅠⅪⅮⅳⅹĀciⅥⅧ;檧r;橺ot;拗Par;榕uest;橼ʀadelsↄⅪ←ٖ↛ǰ↉\0↎proø₞r;楸qĀlqؿ↖lesó₈ií٫Āen↣↭rtneqq;쀀≩︀Å↪ԀAabcefkosy⇄⇇⇱⇵⇺∘∝∯≨≽ròΠȀilmr⇐⇔⇗⇛rsðᒄf»․ilôکĀdr⇠⇤cy;䑊ƀ;cwࣴ⇫⇯ir;楈;憭ar;意irc;䄥ƀalr∁∎∓rtsĀ;u∉∊晥it»∊lip;怦con;抹r;쀀𝔥sĀew∣∩arow;椥arow;椦ʀamopr∺∾≃≞≣rr;懿tht;戻kĀlr≉≓eftarrow;憩ightarrow;憪f;쀀𝕙bar;怕ƀclt≯≴≸r;쀀𝒽asè⇴rok;䄧Ābp⊂⊇ull;恃hen»ᱛૡ⊣\0⊪\0⊸⋅⋎\0⋕⋳\0\0⋸⌢⍧⍢⍿\0⎆⎪⎴cute耻í䃭ƀ;iyݱ⊰⊵rc耻î䃮;䐸Ācx⊼⊿y;䐵cl耻¡䂡ĀfrΟ⋉;쀀𝔦rave耻ì䃬Ȁ;inoܾ⋝⋩⋮Āin⋢⋦nt;樌t;戭fin;槜ta;愩lig;䄳ƀaop⋾⌚⌝ƀcgt⌅⌈⌗r;䄫ƀelpܟ⌏⌓inåގarôܠh;䄱f;抷ed;䆵ʀ;cfotӴ⌬⌱⌽⍁are;愅inĀ;t⌸⌹戞ie;槝doô⌙ʀ;celpݗ⍌⍐⍛⍡al;抺Āgr⍕⍙eróᕣã⍍arhk;樗rod;樼Ȁcgpt⍯⍲⍶⍻y;䑑on;䄯f;쀀𝕚a;䎹uest耻¿䂿Āci⎊⎏r;쀀𝒾nʀ;EdsvӴ⎛⎝⎡ӳ;拹ot;拵Ā;v⎦⎧拴;拳Ā;iݷ⎮lde;䄩ǫ⎸\0⎼cy;䑖l耻ï䃯̀cfmosu⏌⏗⏜⏡⏧⏵Āiy⏑⏕rc;䄵;䐹r;쀀𝔧ath;䈷pf;쀀𝕛ǣ⏬\0⏱r;쀀𝒿rcy;䑘kcy;䑔Ѐacfghjos␋␖␢␧␭␱␵␻ppaĀ;v␓␔䎺;䏰Āey␛␠dil;䄷;䐺r;쀀𝔨reen;䄸cy;䑅cy;䑜pf;쀀𝕜cr;쀀𝓀஀ABEHabcdefghjlmnoprstuv⑰⒁⒆⒍⒑┎┽╚▀♎♞♥♹♽⚚⚲⛘❝❨➋⟀⠁⠒ƀart⑷⑺⑼rò৆òΕail;椛arr;椎Ā;gঔ⒋;檋ar;楢ॣ⒥\0⒪\0⒱\0\0\0\0\0⒵Ⓔ\0ⓆⓈⓍ\0⓹ute;䄺mptyv;榴raîࡌbda;䎻gƀ;dlࢎⓁⓃ;榑åࢎ;檅uo耻«䂫rЀ;bfhlpst࢙ⓞⓦⓩ⓫⓮⓱⓵Ā;f࢝ⓣs;椟s;椝ë≒p;憫l;椹im;楳l;憢ƀ;ae⓿─┄檫il;椙Ā;s┉┊檭;쀀⪭︀ƀabr┕┙┝rr;椌rk;杲Āak┢┬cĀek┨┪;䁻;䁛Āes┱┳;榋lĀdu┹┻;榏;榍Ȁaeuy╆╋╖╘ron;䄾Ādi═╔il;䄼ìࢰâ┩;䐻Ȁcqrs╣╦╭╽a;椶uoĀ;rนᝆĀdu╲╷har;楧shar;楋h;憲ʀ;fgqs▋▌উ◳◿扤tʀahlrt▘▤▷◂◨rrowĀ;t࢙□aé⓶arpoonĀdu▯▴own»њp»०eftarrows;懇ightƀahs◍◖◞rrowĀ;sࣴࢧarpoonó྘quigarro÷⇰hreetimes;拋ƀ;qs▋ও◺lanôবʀ;cdgsব☊☍☝☨c;檨otĀ;o☔☕橿Ā;r☚☛檁;檃Ā;e☢☥쀀⋚︀s;檓ʀadegs☳☹☽♉♋pproøⓆot;拖qĀgq♃♅ôউgtò⒌ôছiíলƀilr♕࣡♚sht;楼;쀀𝔩Ā;Eজ♣;檑š♩♶rĀdu▲♮Ā;l॥♳;楪lk;斄cy;䑙ʀ;achtੈ⚈⚋⚑⚖rò◁orneòᴈard;楫ri;旺Āio⚟⚤dot;䅀ustĀ;a⚬⚭掰che»⚭ȀEaes⚻⚽⛉⛔;扨pĀ;p⛃⛄檉rox»⛄Ā;q⛎⛏檇Ā;q⛎⚻im;拦Ѐabnoptwz⛩⛴⛷✚✯❁❇❐Ānr⛮⛱g;柬r;懽rëࣁgƀlmr⛿✍✔eftĀar০✇ightá৲apsto;柼ightá৽parrowĀlr✥✩efô⓭ight;憬ƀafl✶✹✽r;榅;쀀𝕝us;樭imes;樴š❋❏st;戗áፎƀ;ef❗❘᠀旊nge»❘arĀ;l❤❥䀨t;榓ʀachmt❳❶❼➅➇ròࢨorneòᶌarĀ;d྘➃;業;怎ri;抿̀achiqt➘➝ੀ➢➮➻quo;怹r;쀀𝓁mƀ;egল➪➬;檍;檏Ābu┪➳oĀ;rฟ➹;怚rok;䅂萀<;cdhilqrࠫ⟒☹⟜⟠⟥⟪⟰Āci⟗⟙;檦r;橹reå◲mes;拉arr;楶uest;橻ĀPi⟵⟹ar;榖ƀ;ef⠀भ᠛旃rĀdu⠇⠍shar;楊har;楦Āen⠗⠡rtneqq;쀀≨︀Å⠞܀Dacdefhilnopsu⡀⡅⢂⢎⢓⢠⢥⢨⣚⣢⣤ઃ⣳⤂Dot;戺Ȁclpr⡎⡒⡣⡽r耻¯䂯Āet⡗⡙;時Ā;e⡞⡟朠se»⡟Ā;sျ⡨toȀ;dluျ⡳⡷⡻owîҌefôएðᏑker;斮Āoy⢇⢌mma;権;䐼ash;怔asuredangle»ᘦr;쀀𝔪o;愧ƀcdn⢯⢴⣉ro耻µ䂵Ȁ;acdᑤ⢽⣀⣄sôᚧir;櫰ot肻·Ƶusƀ;bd⣒ᤃ⣓戒Ā;uᴼ⣘;横ţ⣞⣡p;櫛ò−ðઁĀdp⣩⣮els;抧f;쀀𝕞Āct⣸⣽r;쀀𝓂pos»ᖝƀ;lm⤉⤊⤍䎼timap;抸ఀGLRVabcdefghijlmoprstuvw⥂⥓⥾⦉⦘⧚⧩⨕⨚⩘⩝⪃⪕⪤⪨⬄⬇⭄⭿⮮ⰴⱧⱼ⳩Āgt⥇⥋;쀀⋙̸Ā;v⥐௏쀀≫⃒ƀelt⥚⥲⥶ftĀar⥡⥧rrow;懍ightarrow;懎;쀀⋘̸Ā;v⥻ే쀀≪⃒ightarrow;懏ĀDd⦎⦓ash;抯ash;抮ʀbcnpt⦣⦧⦬⦱⧌la»˞ute;䅄g;쀀∠⃒ʀ;Eiop඄⦼⧀⧅⧈;쀀⩰̸d;쀀≋̸s;䅉roø඄urĀ;a⧓⧔普lĀ;s⧓ସdz⧟\0⧣p肻 ଷmpĀ;e௹ఀʀaeouy⧴⧾⨃⨐⨓ǰ⧹\0⧻;橃on;䅈dil;䅆ngĀ;dൾ⨊ot;쀀⩭̸p;橂;䐽ash;怓΀;Aadqsxஒ⨩⨭⨻⩁⩅⩐rr;懗rĀhr⨳⨶k;椤Ā;oᏲᏰot;쀀≐̸uiöୣĀei⩊⩎ar;椨í஘istĀ;s஠டr;쀀𝔫ȀEest௅⩦⩹⩼ƀ;qs஼⩭௡ƀ;qs஼௅⩴lanô௢ií௪Ā;rஶ⪁»ஷƀAap⪊⪍⪑rò⥱rr;憮ar;櫲ƀ;svྍ⪜ྌĀ;d⪡⪢拼;拺cy;䑚΀AEadest⪷⪺⪾⫂⫅⫶⫹rò⥦;쀀≦̸rr;憚r;急Ȁ;fqs఻⫎⫣⫯tĀar⫔⫙rro÷⫁ightarro÷⪐ƀ;qs఻⪺⫪lanôౕĀ;sౕ⫴»శiíౝĀ;rవ⫾iĀ;eచథiäඐĀpt⬌⬑f;쀀𝕟膀¬;in⬙⬚⬶䂬nȀ;Edvஉ⬤⬨⬮;쀀⋹̸ot;쀀⋵̸ǡஉ⬳⬵;拷;拶iĀ;vಸ⬼ǡಸ⭁⭃;拾;拽ƀaor⭋⭣⭩rȀ;ast୻⭕⭚⭟lleì୻l;쀀⫽⃥;쀀∂̸lint;樔ƀ;ceಒ⭰⭳uåಥĀ;cಘ⭸Ā;eಒ⭽ñಘȀAait⮈⮋⮝⮧rò⦈rrƀ;cw⮔⮕⮙憛;쀀⤳̸;쀀↝̸ghtarrow»⮕riĀ;eೋೖ΀chimpqu⮽⯍⯙⬄୸⯤⯯Ȁ;cerല⯆ഷ⯉uå൅;쀀𝓃ortɭ⬅\0\0⯖ará⭖mĀ;e൮⯟Ā;q൴൳suĀbp⯫⯭å೸åഋƀbcp⯶ⰑⰙȀ;Ees⯿ⰀഢⰄ抄;쀀⫅̸etĀ;eഛⰋqĀ;qണⰀcĀ;eലⰗñസȀ;EesⰢⰣൟⰧ抅;쀀⫆̸etĀ;e൘ⰮqĀ;qൠⰣȀgilrⰽⰿⱅⱇìௗlde耻ñ䃱çృiangleĀlrⱒⱜeftĀ;eచⱚñదightĀ;eೋⱥñ೗Ā;mⱬⱭ䎽ƀ;esⱴⱵⱹ䀣ro;愖p;怇ҀDHadgilrsⲏⲔⲙⲞⲣⲰⲶⳓⳣash;抭arr;椄p;쀀≍⃒ash;抬ĀetⲨⲬ;쀀≥⃒;쀀>⃒nfin;槞ƀAetⲽⳁⳅrr;椂;쀀≤⃒Ā;rⳊⳍ쀀<⃒ie;쀀⊴⃒ĀAtⳘⳜrr;椃rie;쀀⊵⃒im;쀀∼⃒ƀAan⳰⳴ⴂrr;懖rĀhr⳺⳽k;椣Ā;oᏧᏥear;椧ቓ᪕\0\0\0\0\0\0\0\0\0\0\0\0\0ⴭ\0ⴸⵈⵠⵥ⵲ⶄᬇ\0\0ⶍⶫ\0ⷈⷎ\0ⷜ⸙⸫⸾⹃Ācsⴱ᪗ute耻ó䃳ĀiyⴼⵅrĀ;c᪞ⵂ耻ô䃴;䐾ʀabios᪠ⵒⵗLjⵚlac;䅑v;樸old;榼lig;䅓Ācr⵩⵭ir;榿;쀀𝔬ͯ⵹\0\0⵼\0ⶂn;䋛ave耻ò䃲;槁Ābmⶈ෴ar;榵Ȁacitⶕ⶘ⶥⶨrò᪀Āir⶝ⶠr;榾oss;榻nå๒;槀ƀaeiⶱⶵⶹcr;䅍ga;䏉ƀcdnⷀⷅǍron;䎿;榶pf;쀀𝕠ƀaelⷔ⷗ǒr;榷rp;榹΀;adiosvⷪⷫⷮ⸈⸍⸐⸖戨rò᪆Ȁ;efmⷷⷸ⸂⸅橝rĀ;oⷾⷿ愴f»ⷿ耻ª䂪耻º䂺gof;抶r;橖lope;橗;橛ƀclo⸟⸡⸧ò⸁ash耻ø䃸l;折iŬⸯ⸴de耻õ䃵esĀ;aǛ⸺s;樶ml耻ö䃶bar;挽ૡ⹞\0⹽\0⺀⺝\0⺢⺹\0\0⻋ຜ\0⼓\0\0⼫⾼\0⿈rȀ;astЃ⹧⹲຅脀¶;l⹭⹮䂶leìЃɩ⹸\0\0⹻m;櫳;櫽y;䐿rʀcimpt⺋⺏⺓ᡥ⺗nt;䀥od;䀮il;怰enk;怱r;쀀𝔭ƀimo⺨⺰⺴Ā;v⺭⺮䏆;䏕maô੶ne;明ƀ;tv⺿⻀⻈䏀chfork»´;䏖Āau⻏⻟nĀck⻕⻝kĀ;h⇴⻛;愎ö⇴sҀ;abcdemst⻳⻴ᤈ⻹⻽⼄⼆⼊⼎䀫cir;樣ir;樢Āouᵀ⼂;樥;橲n肻±ຝim;樦wo;樧ƀipu⼙⼠⼥ntint;樕f;쀀𝕡nd耻£䂣Ԁ;Eaceinosu່⼿⽁⽄⽇⾁⾉⾒⽾⾶;檳p;檷uå໙Ā;c໎⽌̀;acens່⽙⽟⽦⽨⽾pproø⽃urlyeñ໙ñ໎ƀaes⽯⽶⽺pprox;檹qq;檵im;拨iíໟmeĀ;s⾈ຮ怲ƀEas⽸⾐⽺ð⽵ƀdfp໬⾙⾯ƀals⾠⾥⾪lar;挮ine;挒urf;挓Ā;t໻⾴ï໻rel;抰Āci⿀⿅r;쀀𝓅;䏈ncsp;怈̀fiopsu⿚⋢⿟⿥⿫⿱r;쀀𝔮pf;쀀𝕢rime;恗cr;쀀𝓆ƀaeo⿸〉〓tĀei⿾々rnionóڰnt;樖stĀ;e【】䀿ñἙô༔઀ABHabcdefhilmnoprstux぀けさすムㄎㄫㅇㅢㅲㆎ㈆㈕㈤㈩㉘㉮㉲㊐㊰㊷ƀartぇおがròႳòϝail;検aròᱥar;楤΀cdenqrtとふへみわゔヌĀeuねぱ;쀀∽̱te;䅕iãᅮmptyv;榳gȀ;del࿑らるろ;榒;榥å࿑uo耻»䂻rր;abcfhlpstw࿜ガクシスゼゾダッデナp;極Ā;f࿠ゴs;椠;椳s;椞ë≝ð✮l;楅im;楴l;憣;憝Āaiパフil;椚oĀ;nホボ戶aló༞ƀabrョリヮrò៥rk;杳ĀakンヽcĀekヹ・;䁽;䁝Āes㄂㄄;榌lĀduㄊㄌ;榎;榐Ȁaeuyㄗㄜㄧㄩron;䅙Ādiㄡㄥil;䅗ì࿲âヺ;䑀Ȁclqsㄴㄷㄽㅄa;椷dhar;楩uoĀ;rȎȍh;憳ƀacgㅎㅟངlȀ;ipsླྀㅘㅛႜnåႻarôྩt;断ƀilrㅩဣㅮsht;楽;쀀𝔯ĀaoㅷㆆrĀduㅽㅿ»ѻĀ;l႑ㆄ;楬Ā;vㆋㆌ䏁;䏱ƀgns㆕ㇹㇼht̀ahlrstㆤㆰ㇂㇘㇤㇮rrowĀ;t࿜ㆭaéトarpoonĀduㆻㆿowîㅾp»႒eftĀah㇊㇐rrowó࿪arpoonóՑightarrows;應quigarro÷ニhreetimes;拌g;䋚ingdotseñἲƀahm㈍㈐㈓rò࿪aòՑ;怏oustĀ;a㈞㈟掱che»㈟mid;櫮Ȁabpt㈲㈽㉀㉒Ānr㈷㈺g;柭r;懾rëဃƀafl㉇㉊㉎r;榆;쀀𝕣us;樮imes;樵Āap㉝㉧rĀ;g㉣㉤䀩t;榔olint;樒arò㇣Ȁachq㉻㊀Ⴜ㊅quo;怺r;쀀𝓇Ābu・㊊oĀ;rȔȓƀhir㊗㊛㊠reåㇸmes;拊iȀ;efl㊪ၙᠡ㊫方tri;槎luhar;楨;愞ൡ㋕㋛㋟㌬㌸㍱\0㍺㎤\0\0㏬㏰\0㐨㑈㑚㒭㒱㓊㓱\0㘖\0\0㘳cute;䅛quï➺Ԁ;Eaceinpsyᇭ㋳㋵㋿㌂㌋㌏㌟㌦㌩;檴ǰ㋺\0㋼;檸on;䅡uåᇾĀ;dᇳ㌇il;䅟rc;䅝ƀEas㌖㌘㌛;檶p;檺im;择olint;樓iíሄ;䑁otƀ;be㌴ᵇ㌵担;橦΀Aacmstx㍆㍊㍗㍛㍞㍣㍭rr;懘rĀhr㍐㍒ë∨Ā;oਸ਼਴t耻§䂧i;䀻war;椩mĀin㍩ðnuóñt;朶rĀ;o㍶⁕쀀𝔰Ȁacoy㎂㎆㎑㎠rp;景Āhy㎋㎏cy;䑉;䑈rtɭ㎙\0\0㎜iäᑤaraì⹯耻­䂭Āgm㎨㎴maƀ;fv㎱㎲㎲䏃;䏂Ѐ;deglnprካ㏅㏉㏎㏖㏞㏡㏦ot;橪Ā;q኱ኰĀ;E㏓㏔檞;檠Ā;E㏛㏜檝;檟e;扆lus;樤arr;楲aròᄽȀaeit㏸㐈㐏㐗Āls㏽㐄lsetmé㍪hp;樳parsl;槤Ādlᑣ㐔e;挣Ā;e㐜㐝檪Ā;s㐢㐣檬;쀀⪬︀ƀflp㐮㐳㑂tcy;䑌Ā;b㐸㐹䀯Ā;a㐾㐿槄r;挿f;쀀𝕤aĀdr㑍ЂesĀ;u㑔㑕晠it»㑕ƀcsu㑠㑹㒟Āau㑥㑯pĀ;sᆈ㑫;쀀⊓︀pĀ;sᆴ㑵;쀀⊔︀uĀbp㑿㒏ƀ;esᆗᆜ㒆etĀ;eᆗ㒍ñᆝƀ;esᆨᆭ㒖etĀ;eᆨ㒝ñᆮƀ;afᅻ㒦ְrť㒫ֱ»ᅼaròᅈȀcemt㒹㒾㓂㓅r;쀀𝓈tmîñiì㐕aræᆾĀar㓎㓕rĀ;f㓔ឿ昆Āan㓚㓭ightĀep㓣㓪psiloîỠhé⺯s»⡒ʀbcmnp㓻㕞ሉ㖋㖎Ҁ;Edemnprs㔎㔏㔑㔕㔞㔣㔬㔱㔶抂;櫅ot;檽Ā;dᇚ㔚ot;櫃ult;櫁ĀEe㔨㔪;櫋;把lus;檿arr;楹ƀeiu㔽㕒㕕tƀ;en㔎㕅㕋qĀ;qᇚ㔏eqĀ;q㔫㔨m;櫇Ābp㕚㕜;櫕;櫓c̀;acensᇭ㕬㕲㕹㕻㌦pproø㋺urlyeñᇾñᇳƀaes㖂㖈㌛pproø㌚qñ㌗g;晪ڀ123;Edehlmnps㖩㖬㖯ሜ㖲㖴㗀㗉㗕㗚㗟㗨㗭耻¹䂹耻²䂲耻³䂳;櫆Āos㖹㖼t;檾ub;櫘Ā;dሢ㗅ot;櫄sĀou㗏㗒l;柉b;櫗arr;楻ult;櫂ĀEe㗤㗦;櫌;抋lus;櫀ƀeiu㗴㘉㘌tƀ;enሜ㗼㘂qĀ;qሢ㖲eqĀ;q㗧㗤m;櫈Ābp㘑㘓;櫔;櫖ƀAan㘜㘠㘭rr;懙rĀhr㘦㘨ë∮Ā;oਫ਩war;椪lig耻ß䃟௡㙑㙝㙠ዎ㙳㙹\0㙾㛂\0\0\0\0\0㛛㜃\0㜉㝬\0\0\0㞇ɲ㙖\0\0㙛get;挖;䏄rë๟ƀaey㙦㙫㙰ron;䅥dil;䅣;䑂lrec;挕r;쀀𝔱Ȁeiko㚆㚝㚵㚼Dz㚋\0㚑eĀ4fኄኁaƀ;sv㚘㚙㚛䎸ym;䏑Ācn㚢㚲kĀas㚨㚮pproø዁im»ኬsðኞĀas㚺㚮ð዁rn耻þ䃾Ǭ̟㛆⋧es膀×;bd㛏㛐㛘䃗Ā;aᤏ㛕r;樱;樰ƀeps㛡㛣㜀á⩍Ȁ;bcf҆㛬㛰㛴ot;挶ir;櫱Ā;o㛹㛼쀀𝕥rk;櫚á㍢rime;怴ƀaip㜏㜒㝤dåቈ΀adempst㜡㝍㝀㝑㝗㝜㝟ngleʀ;dlqr㜰㜱㜶㝀㝂斵own»ᶻeftĀ;e⠀㜾ñम;扜ightĀ;e㊪㝋ñၚot;旬inus;樺lus;樹b;槍ime;樻ezium;揢ƀcht㝲㝽㞁Āry㝷㝻;쀀𝓉;䑆cy;䑛rok;䅧Āio㞋㞎xô᝷headĀlr㞗㞠eftarro÷ࡏightarrow»ཝऀAHabcdfghlmoprstuw㟐㟓㟗㟤㟰㟼㠎㠜㠣㠴㡑㡝㡫㢩㣌㣒㣪㣶ròϭar;楣Ācr㟜㟢ute耻ú䃺òᅐrǣ㟪\0㟭y;䑞ve;䅭Āiy㟵㟺rc耻û䃻;䑃ƀabh㠃㠆㠋ròᎭlac;䅱aòᏃĀir㠓㠘sht;楾;쀀𝔲rave耻ù䃹š㠧㠱rĀlr㠬㠮»ॗ»ႃlk;斀Āct㠹㡍ɯ㠿\0\0㡊rnĀ;e㡅㡆挜r»㡆op;挏ri;旸Āal㡖㡚cr;䅫肻¨͉Āgp㡢㡦on;䅳f;쀀𝕦̀adhlsuᅋ㡸㡽፲㢑㢠ownáᎳarpoonĀlr㢈㢌efô㠭ighô㠯iƀ;hl㢙㢚㢜䏅»ᏺon»㢚parrows;懈ƀcit㢰㣄㣈ɯ㢶\0\0㣁rnĀ;e㢼㢽挝r»㢽op;挎ng;䅯ri;旹cr;쀀𝓊ƀdir㣙㣝㣢ot;拰lde;䅩iĀ;f㜰㣨»᠓Āam㣯㣲rò㢨l耻ü䃼angle;榧ހABDacdeflnoprsz㤜㤟㤩㤭㦵㦸㦽㧟㧤㧨㧳㧹㧽㨁㨠ròϷarĀ;v㤦㤧櫨;櫩asèϡĀnr㤲㤷grt;榜΀eknprst㓣㥆㥋㥒㥝㥤㦖appá␕othinçẖƀhir㓫⻈㥙opô⾵Ā;hᎷ㥢ïㆍĀiu㥩㥭gmá㎳Ābp㥲㦄setneqĀ;q㥽㦀쀀⊊︀;쀀⫋︀setneqĀ;q㦏㦒쀀⊋︀;쀀⫌︀Āhr㦛㦟etá㚜iangleĀlr㦪㦯eft»थight»ၑy;䐲ash»ံƀelr㧄㧒㧗ƀ;beⷪ㧋㧏ar;抻q;扚lip;拮Ābt㧜ᑨaòᑩr;쀀𝔳tré㦮suĀbp㧯㧱»ജ»൙pf;쀀𝕧roð໻tré㦴Ācu㨆㨋r;쀀𝓋Ābp㨐㨘nĀEe㦀㨖»㥾nĀEe㦒㨞»㦐igzag;榚΀cefoprs㨶㨻㩖㩛㩔㩡㩪irc;䅵Ādi㩀㩑Ābg㩅㩉ar;機eĀ;qᗺ㩏;扙erp;愘r;쀀𝔴pf;쀀𝕨Ā;eᑹ㩦atèᑹcr;쀀𝓌ૣណ㪇\0㪋\0㪐㪛\0\0㪝㪨㪫㪯\0\0㫃㫎\0㫘ៜ៟tré៑r;쀀𝔵ĀAa㪔㪗ròσrò৶;䎾ĀAa㪡㪤ròθrò৫að✓is;拻ƀdptឤ㪵㪾Āfl㪺ឩ;쀀𝕩imåឲĀAa㫇㫊ròώròਁĀcq㫒ីr;쀀𝓍Āpt៖㫜ré។Ѐacefiosu㫰㫽㬈㬌㬑㬕㬛㬡cĀuy㫶㫻te耻ý䃽;䑏Āiy㬂㬆rc;䅷;䑋n耻¥䂥r;쀀𝔶cy;䑗pf;쀀𝕪cr;쀀𝓎Ācm㬦㬩y;䑎l耻ÿ䃿Ԁacdefhiosw㭂㭈㭔㭘㭤㭩㭭㭴㭺㮀cute;䅺Āay㭍㭒ron;䅾;䐷ot;䅼Āet㭝㭡træᕟa;䎶r;쀀𝔷cy;䐶grarr;懝pf;쀀𝕫cr;쀀𝓏Ājn㮅㮇;怍j;怌'.split("").map((function(e){return e.charCodeAt(0)})))},2060:(e,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=new Uint16Array("Ȁaglq\tɭ\0\0p;䀦os;䀧t;䀾t;䀼uot;䀢".split("").map((function(e){return e.charCodeAt(0)})))},4021:(e,r)=>{"use strict";function t(e){for(var r=1;r{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.decodeXMLStrict=r.decodeHTML5Strict=r.decodeHTML4Strict=r.decodeHTML5=r.decodeHTML4=r.decodeHTMLAttribute=r.decodeHTMLStrict=r.decodeHTML=r.decodeXML=r.DecodingMode=r.EntityDecoder=r.encodeHTML5=r.encodeHTML4=r.encodeNonAsciiHTML=r.encodeHTML=r.escapeText=r.escapeAttribute=r.escapeUTF8=r.escape=r.encodeXML=r.encode=r.decodeStrict=r.decode=r.EncodingMode=r.EntityLevel=void 0;var n,a,o=t(4076),i=t(7322),s=t(4625);function l(e,r){if(void 0===r&&(r=n.XML),("number"==typeof r?r:r.level)===n.HTML){var t="object"==typeof r?r.mode:void 0;return(0,o.decodeHTML)(e,t)}return(0,o.decodeXML)(e)}!function(e){e[e.XML=0]="XML",e[e.HTML=1]="HTML"}(n=r.EntityLevel||(r.EntityLevel={})),function(e){e[e.UTF8=0]="UTF8",e[e.ASCII=1]="ASCII",e[e.Extensive=2]="Extensive",e[e.Attribute=3]="Attribute",e[e.Text=4]="Text"}(a=r.EncodingMode||(r.EncodingMode={})),r.decode=l,r.decodeStrict=function(e,r){var t;void 0===r&&(r=n.XML);var a="number"==typeof r?{level:r}:r;return null!==(t=a.mode)&&void 0!==t||(a.mode=o.DecodingMode.Strict),l(e,a)},r.encode=function(e,r){void 0===r&&(r=n.XML);var t="number"==typeof r?{level:r}:r;return t.mode===a.UTF8?(0,s.escapeUTF8)(e):t.mode===a.Attribute?(0,s.escapeAttribute)(e):t.mode===a.Text?(0,s.escapeText)(e):t.level===n.HTML?t.mode===a.ASCII?(0,i.encodeNonAsciiHTML)(e):(0,i.encodeHTML)(e):(0,s.encodeXML)(e)};var c=t(4625);Object.defineProperty(r,"encodeXML",{enumerable:!0,get:function(){return c.encodeXML}}),Object.defineProperty(r,"escape",{enumerable:!0,get:function(){return c.escape}}),Object.defineProperty(r,"escapeUTF8",{enumerable:!0,get:function(){return c.escapeUTF8}}),Object.defineProperty(r,"escapeAttribute",{enumerable:!0,get:function(){return c.escapeAttribute}}),Object.defineProperty(r,"escapeText",{enumerable:!0,get:function(){return c.escapeText}});var u=t(7322);Object.defineProperty(r,"encodeHTML",{enumerable:!0,get:function(){return u.encodeHTML}}),Object.defineProperty(r,"encodeNonAsciiHTML",{enumerable:!0,get:function(){return u.encodeNonAsciiHTML}}),Object.defineProperty(r,"encodeHTML4",{enumerable:!0,get:function(){return u.encodeHTML}}),Object.defineProperty(r,"encodeHTML5",{enumerable:!0,get:function(){return u.encodeHTML}});var p=t(4076);Object.defineProperty(r,"EntityDecoder",{enumerable:!0,get:function(){return p.EntityDecoder}}),Object.defineProperty(r,"DecodingMode",{enumerable:!0,get:function(){return p.DecodingMode}}),Object.defineProperty(r,"decodeXML",{enumerable:!0,get:function(){return p.decodeXML}}),Object.defineProperty(r,"decodeHTML",{enumerable:!0,get:function(){return p.decodeHTML}}),Object.defineProperty(r,"decodeHTMLStrict",{enumerable:!0,get:function(){return p.decodeHTMLStrict}}),Object.defineProperty(r,"decodeHTMLAttribute",{enumerable:!0,get:function(){return p.decodeHTMLAttribute}}),Object.defineProperty(r,"decodeHTML4",{enumerable:!0,get:function(){return p.decodeHTML}}),Object.defineProperty(r,"decodeHTML5",{enumerable:!0,get:function(){return p.decodeHTML}}),Object.defineProperty(r,"decodeHTML4Strict",{enumerable:!0,get:function(){return p.decodeHTMLStrict}}),Object.defineProperty(r,"decodeHTML5Strict",{enumerable:!0,get:function(){return p.decodeHTMLStrict}}),Object.defineProperty(r,"decodeXMLStrict",{enumerable:!0,get:function(){return p.decodeXML}})},6492:function(e,r,t){var n;e=t.nmd(e),function(a){var o=(e&&e.exports,"object"==typeof t.g&&t.g);o.global!==o&&o.window;var i=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,s=/[\x01-\x7F]/g,l=/[\x01-\t\x0B\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g,c=/<\u20D2|=\u20E5|>\u20D2|\u205F\u200A|\u219D\u0338|\u2202\u0338|\u2220\u20D2|\u2229\uFE00|\u222A\uFE00|\u223C\u20D2|\u223D\u0331|\u223E\u0333|\u2242\u0338|\u224B\u0338|\u224D\u20D2|\u224E\u0338|\u224F\u0338|\u2250\u0338|\u2261\u20E5|\u2264\u20D2|\u2265\u20D2|\u2266\u0338|\u2267\u0338|\u2268\uFE00|\u2269\uFE00|\u226A\u0338|\u226A\u20D2|\u226B\u0338|\u226B\u20D2|\u227F\u0338|\u2282\u20D2|\u2283\u20D2|\u228A\uFE00|\u228B\uFE00|\u228F\u0338|\u2290\u0338|\u2293\uFE00|\u2294\uFE00|\u22B4\u20D2|\u22B5\u20D2|\u22D8\u0338|\u22D9\u0338|\u22DA\uFE00|\u22DB\uFE00|\u22F5\u0338|\u22F9\u0338|\u2933\u0338|\u29CF\u0338|\u29D0\u0338|\u2A6D\u0338|\u2A70\u0338|\u2A7D\u0338|\u2A7E\u0338|\u2AA1\u0338|\u2AA2\u0338|\u2AAC\uFE00|\u2AAD\uFE00|\u2AAF\u0338|\u2AB0\u0338|\u2AC5\u0338|\u2AC6\u0338|\u2ACB\uFE00|\u2ACC\uFE00|\u2AFD\u20E5|[\xA0-\u0113\u0116-\u0122\u0124-\u012B\u012E-\u014D\u0150-\u017E\u0192\u01B5\u01F5\u0237\u02C6\u02C7\u02D8-\u02DD\u0311\u0391-\u03A1\u03A3-\u03A9\u03B1-\u03C9\u03D1\u03D2\u03D5\u03D6\u03DC\u03DD\u03F0\u03F1\u03F5\u03F6\u0401-\u040C\u040E-\u044F\u0451-\u045C\u045E\u045F\u2002-\u2005\u2007-\u2010\u2013-\u2016\u2018-\u201A\u201C-\u201E\u2020-\u2022\u2025\u2026\u2030-\u2035\u2039\u203A\u203E\u2041\u2043\u2044\u204F\u2057\u205F-\u2063\u20AC\u20DB\u20DC\u2102\u2105\u210A-\u2113\u2115-\u211E\u2122\u2124\u2127-\u2129\u212C\u212D\u212F-\u2131\u2133-\u2138\u2145-\u2148\u2153-\u215E\u2190-\u219B\u219D-\u21A7\u21A9-\u21AE\u21B0-\u21B3\u21B5-\u21B7\u21BA-\u21DB\u21DD\u21E4\u21E5\u21F5\u21FD-\u2205\u2207-\u2209\u220B\u220C\u220F-\u2214\u2216-\u2218\u221A\u221D-\u2238\u223A-\u2257\u2259\u225A\u225C\u225F-\u2262\u2264-\u228B\u228D-\u229B\u229D-\u22A5\u22A7-\u22B0\u22B2-\u22BB\u22BD-\u22DB\u22DE-\u22E3\u22E6-\u22F7\u22F9-\u22FE\u2305\u2306\u2308-\u2310\u2312\u2313\u2315\u2316\u231C-\u231F\u2322\u2323\u232D\u232E\u2336\u233D\u233F\u237C\u23B0\u23B1\u23B4-\u23B6\u23DC-\u23DF\u23E2\u23E7\u2423\u24C8\u2500\u2502\u250C\u2510\u2514\u2518\u251C\u2524\u252C\u2534\u253C\u2550-\u256C\u2580\u2584\u2588\u2591-\u2593\u25A1\u25AA\u25AB\u25AD\u25AE\u25B1\u25B3-\u25B5\u25B8\u25B9\u25BD-\u25BF\u25C2\u25C3\u25CA\u25CB\u25EC\u25EF\u25F8-\u25FC\u2605\u2606\u260E\u2640\u2642\u2660\u2663\u2665\u2666\u266A\u266D-\u266F\u2713\u2717\u2720\u2736\u2758\u2772\u2773\u27C8\u27C9\u27E6-\u27ED\u27F5-\u27FA\u27FC\u27FF\u2902-\u2905\u290C-\u2913\u2916\u2919-\u2920\u2923-\u292A\u2933\u2935-\u2939\u293C\u293D\u2945\u2948-\u294B\u294E-\u2976\u2978\u2979\u297B-\u297F\u2985\u2986\u298B-\u2996\u299A\u299C\u299D\u29A4-\u29B7\u29B9\u29BB\u29BC\u29BE-\u29C5\u29C9\u29CD-\u29D0\u29DC-\u29DE\u29E3-\u29E5\u29EB\u29F4\u29F6\u2A00-\u2A02\u2A04\u2A06\u2A0C\u2A0D\u2A10-\u2A17\u2A22-\u2A27\u2A29\u2A2A\u2A2D-\u2A31\u2A33-\u2A3C\u2A3F\u2A40\u2A42-\u2A4D\u2A50\u2A53-\u2A58\u2A5A-\u2A5D\u2A5F\u2A66\u2A6A\u2A6D-\u2A75\u2A77-\u2A9A\u2A9D-\u2AA2\u2AA4-\u2AB0\u2AB3-\u2AC8\u2ACB\u2ACC\u2ACF-\u2ADB\u2AE4\u2AE6-\u2AE9\u2AEB-\u2AF3\u2AFD\uFB00-\uFB04]|\uD835[\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDCCF\uDD04\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDD6B]/g,u={"­":"shy","‌":"zwnj","‍":"zwj","‎":"lrm","⁣":"ic","⁢":"it","⁡":"af","‏":"rlm","​":"ZeroWidthSpace","⁠":"NoBreak","̑":"DownBreve","⃛":"tdot","⃜":"DotDot","\t":"Tab","\n":"NewLine"," ":"puncsp"," ":"MediumSpace"," ":"thinsp"," ":"hairsp"," ":"emsp13"," ":"ensp"," ":"emsp14"," ":"emsp"," ":"numsp"," ":"nbsp","  ":"ThickSpace","‾":"oline",_:"lowbar","‐":"dash","–":"ndash","—":"mdash","―":"horbar",",":"comma",";":"semi","⁏":"bsemi",":":"colon","⩴":"Colone","!":"excl","¡":"iexcl","?":"quest","¿":"iquest",".":"period","‥":"nldr","…":"mldr","·":"middot","'":"apos","‘":"lsquo","’":"rsquo","‚":"sbquo","‹":"lsaquo","›":"rsaquo",'"':"quot","“":"ldquo","”":"rdquo","„":"bdquo","«":"laquo","»":"raquo","(":"lpar",")":"rpar","[":"lsqb","]":"rsqb","{":"lcub","}":"rcub","⌈":"lceil","⌉":"rceil","⌊":"lfloor","⌋":"rfloor","⦅":"lopar","⦆":"ropar","⦋":"lbrke","⦌":"rbrke","⦍":"lbrkslu","⦎":"rbrksld","⦏":"lbrksld","⦐":"rbrkslu","⦑":"langd","⦒":"rangd","⦓":"lparlt","⦔":"rpargt","⦕":"gtlPar","⦖":"ltrPar","⟦":"lobrk","⟧":"robrk","⟨":"lang","⟩":"rang","⟪":"Lang","⟫":"Rang","⟬":"loang","⟭":"roang","❲":"lbbrk","❳":"rbbrk","‖":"Vert","§":"sect","¶":"para","@":"commat","*":"ast","/":"sol",undefined:null,"&":"amp","#":"num","%":"percnt","‰":"permil","‱":"pertenk","†":"dagger","‡":"Dagger","•":"bull","⁃":"hybull","′":"prime","″":"Prime","‴":"tprime","⁗":"qprime","‵":"bprime","⁁":"caret","`":"grave","´":"acute","˜":"tilde","^":"Hat","¯":"macr","˘":"breve","˙":"dot","¨":"die","˚":"ring","˝":"dblac","¸":"cedil","˛":"ogon",ˆ:"circ",ˇ:"caron","°":"deg","©":"copy","®":"reg","℗":"copysr",℘:"wp","℞":"rx","℧":"mho","℩":"iiota","←":"larr","↚":"nlarr","→":"rarr","↛":"nrarr","↑":"uarr","↓":"darr","↔":"harr","↮":"nharr","↕":"varr","↖":"nwarr","↗":"nearr","↘":"searr","↙":"swarr","↝":"rarrw","↝̸":"nrarrw","↞":"Larr","↟":"Uarr","↠":"Rarr","↡":"Darr","↢":"larrtl","↣":"rarrtl","↤":"mapstoleft","↥":"mapstoup","↦":"map","↧":"mapstodown","↩":"larrhk","↪":"rarrhk","↫":"larrlp","↬":"rarrlp","↭":"harrw","↰":"lsh","↱":"rsh","↲":"ldsh","↳":"rdsh","↵":"crarr","↶":"cularr","↷":"curarr","↺":"olarr","↻":"orarr","↼":"lharu","↽":"lhard","↾":"uharr","↿":"uharl","⇀":"rharu","⇁":"rhard","⇂":"dharr","⇃":"dharl","⇄":"rlarr","⇅":"udarr","⇆":"lrarr","⇇":"llarr","⇈":"uuarr","⇉":"rrarr","⇊":"ddarr","⇋":"lrhar","⇌":"rlhar","⇐":"lArr","⇍":"nlArr","⇑":"uArr","⇒":"rArr","⇏":"nrArr","⇓":"dArr","⇔":"iff","⇎":"nhArr","⇕":"vArr","⇖":"nwArr","⇗":"neArr","⇘":"seArr","⇙":"swArr","⇚":"lAarr","⇛":"rAarr","⇝":"zigrarr","⇤":"larrb","⇥":"rarrb","⇵":"duarr","⇽":"loarr","⇾":"roarr","⇿":"hoarr","∀":"forall","∁":"comp","∂":"part","∂̸":"npart","∃":"exist","∄":"nexist","∅":"empty","∇":"Del","∈":"in","∉":"notin","∋":"ni","∌":"notni","϶":"bepsi","∏":"prod","∐":"coprod","∑":"sum","+":"plus","±":"pm","÷":"div","×":"times","<":"lt","≮":"nlt","<⃒":"nvlt","=":"equals","≠":"ne","=⃥":"bne","⩵":"Equal",">":"gt","≯":"ngt",">⃒":"nvgt","¬":"not","|":"vert","¦":"brvbar","−":"minus","∓":"mp","∔":"plusdo","⁄":"frasl","∖":"setmn","∗":"lowast","∘":"compfn","√":"Sqrt","∝":"prop","∞":"infin","∟":"angrt","∠":"ang","∠⃒":"nang","∡":"angmsd","∢":"angsph","∣":"mid","∤":"nmid","∥":"par","∦":"npar","∧":"and","∨":"or","∩":"cap","∩︀":"caps","∪":"cup","∪︀":"cups","∫":"int","∬":"Int","∭":"tint","⨌":"qint","∮":"oint","∯":"Conint","∰":"Cconint","∱":"cwint","∲":"cwconint","∳":"awconint","∴":"there4","∵":"becaus","∶":"ratio","∷":"Colon","∸":"minusd","∺":"mDDot","∻":"homtht","∼":"sim","≁":"nsim","∼⃒":"nvsim","∽":"bsim","∽̱":"race","∾":"ac","∾̳":"acE","∿":"acd","≀":"wr","≂":"esim","≂̸":"nesim","≃":"sime","≄":"nsime","≅":"cong","≇":"ncong","≆":"simne","≈":"ap","≉":"nap","≊":"ape","≋":"apid","≋̸":"napid","≌":"bcong","≍":"CupCap","≭":"NotCupCap","≍⃒":"nvap","≎":"bump","≎̸":"nbump","≏":"bumpe","≏̸":"nbumpe","≐":"doteq","≐̸":"nedot","≑":"eDot","≒":"efDot","≓":"erDot","≔":"colone","≕":"ecolon","≖":"ecir","≗":"cire","≙":"wedgeq","≚":"veeeq","≜":"trie","≟":"equest","≡":"equiv","≢":"nequiv","≡⃥":"bnequiv","≤":"le","≰":"nle","≤⃒":"nvle","≥":"ge","≱":"nge","≥⃒":"nvge","≦":"lE","≦̸":"nlE","≧":"gE","≧̸":"ngE","≨︀":"lvnE","≨":"lnE","≩":"gnE","≩︀":"gvnE","≪":"ll","≪̸":"nLtv","≪⃒":"nLt","≫":"gg","≫̸":"nGtv","≫⃒":"nGt","≬":"twixt","≲":"lsim","≴":"nlsim","≳":"gsim","≵":"ngsim","≶":"lg","≸":"ntlg","≷":"gl","≹":"ntgl","≺":"pr","⊀":"npr","≻":"sc","⊁":"nsc","≼":"prcue","⋠":"nprcue","≽":"sccue","⋡":"nsccue","≾":"prsim","≿":"scsim","≿̸":"NotSucceedsTilde","⊂":"sub","⊄":"nsub","⊂⃒":"vnsub","⊃":"sup","⊅":"nsup","⊃⃒":"vnsup","⊆":"sube","⊈":"nsube","⊇":"supe","⊉":"nsupe","⊊︀":"vsubne","⊊":"subne","⊋︀":"vsupne","⊋":"supne","⊍":"cupdot","⊎":"uplus","⊏":"sqsub","⊏̸":"NotSquareSubset","⊐":"sqsup","⊐̸":"NotSquareSuperset","⊑":"sqsube","⋢":"nsqsube","⊒":"sqsupe","⋣":"nsqsupe","⊓":"sqcap","⊓︀":"sqcaps","⊔":"sqcup","⊔︀":"sqcups","⊕":"oplus","⊖":"ominus","⊗":"otimes","⊘":"osol","⊙":"odot","⊚":"ocir","⊛":"oast","⊝":"odash","⊞":"plusb","⊟":"minusb","⊠":"timesb","⊡":"sdotb","⊢":"vdash","⊬":"nvdash","⊣":"dashv","⊤":"top","⊥":"bot","⊧":"models","⊨":"vDash","⊭":"nvDash","⊩":"Vdash","⊮":"nVdash","⊪":"Vvdash","⊫":"VDash","⊯":"nVDash","⊰":"prurel","⊲":"vltri","⋪":"nltri","⊳":"vrtri","⋫":"nrtri","⊴":"ltrie","⋬":"nltrie","⊴⃒":"nvltrie","⊵":"rtrie","⋭":"nrtrie","⊵⃒":"nvrtrie","⊶":"origof","⊷":"imof","⊸":"mumap","⊹":"hercon","⊺":"intcal","⊻":"veebar","⊽":"barvee","⊾":"angrtvb","⊿":"lrtri","⋀":"Wedge","⋁":"Vee","⋂":"xcap","⋃":"xcup","⋄":"diam","⋅":"sdot","⋆":"Star","⋇":"divonx","⋈":"bowtie","⋉":"ltimes","⋊":"rtimes","⋋":"lthree","⋌":"rthree","⋍":"bsime","⋎":"cuvee","⋏":"cuwed","⋐":"Sub","⋑":"Sup","⋒":"Cap","⋓":"Cup","⋔":"fork","⋕":"epar","⋖":"ltdot","⋗":"gtdot","⋘":"Ll","⋘̸":"nLl","⋙":"Gg","⋙̸":"nGg","⋚︀":"lesg","⋚":"leg","⋛":"gel","⋛︀":"gesl","⋞":"cuepr","⋟":"cuesc","⋦":"lnsim","⋧":"gnsim","⋨":"prnsim","⋩":"scnsim","⋮":"vellip","⋯":"ctdot","⋰":"utdot","⋱":"dtdot","⋲":"disin","⋳":"isinsv","⋴":"isins","⋵":"isindot","⋵̸":"notindot","⋶":"notinvc","⋷":"notinvb","⋹":"isinE","⋹̸":"notinE","⋺":"nisd","⋻":"xnis","⋼":"nis","⋽":"notnivc","⋾":"notnivb","⌅":"barwed","⌆":"Barwed","⌌":"drcrop","⌍":"dlcrop","⌎":"urcrop","⌏":"ulcrop","⌐":"bnot","⌒":"profline","⌓":"profsurf","⌕":"telrec","⌖":"target","⌜":"ulcorn","⌝":"urcorn","⌞":"dlcorn","⌟":"drcorn","⌢":"frown","⌣":"smile","⌭":"cylcty","⌮":"profalar","⌶":"topbot","⌽":"ovbar","⌿":"solbar","⍼":"angzarr","⎰":"lmoust","⎱":"rmoust","⎴":"tbrk","⎵":"bbrk","⎶":"bbrktbrk","⏜":"OverParenthesis","⏝":"UnderParenthesis","⏞":"OverBrace","⏟":"UnderBrace","⏢":"trpezium","⏧":"elinters","␣":"blank","─":"boxh","│":"boxv","┌":"boxdr","┐":"boxdl","└":"boxur","┘":"boxul","├":"boxvr","┤":"boxvl","┬":"boxhd","┴":"boxhu","┼":"boxvh","═":"boxH","║":"boxV","╒":"boxdR","╓":"boxDr","╔":"boxDR","╕":"boxdL","╖":"boxDl","╗":"boxDL","╘":"boxuR","╙":"boxUr","╚":"boxUR","╛":"boxuL","╜":"boxUl","╝":"boxUL","╞":"boxvR","╟":"boxVr","╠":"boxVR","╡":"boxvL","╢":"boxVl","╣":"boxVL","╤":"boxHd","╥":"boxhD","╦":"boxHD","╧":"boxHu","╨":"boxhU","╩":"boxHU","╪":"boxvH","╫":"boxVh","╬":"boxVH","▀":"uhblk","▄":"lhblk","█":"block","░":"blk14","▒":"blk12","▓":"blk34","□":"squ","▪":"squf","▫":"EmptyVerySmallSquare","▭":"rect","▮":"marker","▱":"fltns","△":"xutri","▴":"utrif","▵":"utri","▸":"rtrif","▹":"rtri","▽":"xdtri","▾":"dtrif","▿":"dtri","◂":"ltrif","◃":"ltri","◊":"loz","○":"cir","◬":"tridot","◯":"xcirc","◸":"ultri","◹":"urtri","◺":"lltri","◻":"EmptySmallSquare","◼":"FilledSmallSquare","★":"starf","☆":"star","☎":"phone","♀":"female","♂":"male","♠":"spades","♣":"clubs","♥":"hearts","♦":"diams","♪":"sung","✓":"check","✗":"cross","✠":"malt","✶":"sext","❘":"VerticalSeparator","⟈":"bsolhsub","⟉":"suphsol","⟵":"xlarr","⟶":"xrarr","⟷":"xharr","⟸":"xlArr","⟹":"xrArr","⟺":"xhArr","⟼":"xmap","⟿":"dzigrarr","⤂":"nvlArr","⤃":"nvrArr","⤄":"nvHarr","⤅":"Map","⤌":"lbarr","⤍":"rbarr","⤎":"lBarr","⤏":"rBarr","⤐":"RBarr","⤑":"DDotrahd","⤒":"UpArrowBar","⤓":"DownArrowBar","⤖":"Rarrtl","⤙":"latail","⤚":"ratail","⤛":"lAtail","⤜":"rAtail","⤝":"larrfs","⤞":"rarrfs","⤟":"larrbfs","⤠":"rarrbfs","⤣":"nwarhk","⤤":"nearhk","⤥":"searhk","⤦":"swarhk","⤧":"nwnear","⤨":"toea","⤩":"tosa","⤪":"swnwar","⤳":"rarrc","⤳̸":"nrarrc","⤵":"cudarrr","⤶":"ldca","⤷":"rdca","⤸":"cudarrl","⤹":"larrpl","⤼":"curarrm","⤽":"cularrp","⥅":"rarrpl","⥈":"harrcir","⥉":"Uarrocir","⥊":"lurdshar","⥋":"ldrushar","⥎":"LeftRightVector","⥏":"RightUpDownVector","⥐":"DownLeftRightVector","⥑":"LeftUpDownVector","⥒":"LeftVectorBar","⥓":"RightVectorBar","⥔":"RightUpVectorBar","⥕":"RightDownVectorBar","⥖":"DownLeftVectorBar","⥗":"DownRightVectorBar","⥘":"LeftUpVectorBar","⥙":"LeftDownVectorBar","⥚":"LeftTeeVector","⥛":"RightTeeVector","⥜":"RightUpTeeVector","⥝":"RightDownTeeVector","⥞":"DownLeftTeeVector","⥟":"DownRightTeeVector","⥠":"LeftUpTeeVector","⥡":"LeftDownTeeVector","⥢":"lHar","⥣":"uHar","⥤":"rHar","⥥":"dHar","⥦":"luruhar","⥧":"ldrdhar","⥨":"ruluhar","⥩":"rdldhar","⥪":"lharul","⥫":"llhard","⥬":"rharul","⥭":"lrhard","⥮":"udhar","⥯":"duhar","⥰":"RoundImplies","⥱":"erarr","⥲":"simrarr","⥳":"larrsim","⥴":"rarrsim","⥵":"rarrap","⥶":"ltlarr","⥸":"gtrarr","⥹":"subrarr","⥻":"suplarr","⥼":"lfisht","⥽":"rfisht","⥾":"ufisht","⥿":"dfisht","⦚":"vzigzag","⦜":"vangrt","⦝":"angrtvbd","⦤":"ange","⦥":"range","⦦":"dwangle","⦧":"uwangle","⦨":"angmsdaa","⦩":"angmsdab","⦪":"angmsdac","⦫":"angmsdad","⦬":"angmsdae","⦭":"angmsdaf","⦮":"angmsdag","⦯":"angmsdah","⦰":"bemptyv","⦱":"demptyv","⦲":"cemptyv","⦳":"raemptyv","⦴":"laemptyv","⦵":"ohbar","⦶":"omid","⦷":"opar","⦹":"operp","⦻":"olcross","⦼":"odsold","⦾":"olcir","⦿":"ofcir","⧀":"olt","⧁":"ogt","⧂":"cirscir","⧃":"cirE","⧄":"solb","⧅":"bsolb","⧉":"boxbox","⧍":"trisb","⧎":"rtriltri","⧏":"LeftTriangleBar","⧏̸":"NotLeftTriangleBar","⧐":"RightTriangleBar","⧐̸":"NotRightTriangleBar","⧜":"iinfin","⧝":"infintie","⧞":"nvinfin","⧣":"eparsl","⧤":"smeparsl","⧥":"eqvparsl","⧫":"lozf","⧴":"RuleDelayed","⧶":"dsol","⨀":"xodot","⨁":"xoplus","⨂":"xotime","⨄":"xuplus","⨆":"xsqcup","⨍":"fpartint","⨐":"cirfnint","⨑":"awint","⨒":"rppolint","⨓":"scpolint","⨔":"npolint","⨕":"pointint","⨖":"quatint","⨗":"intlarhk","⨢":"pluscir","⨣":"plusacir","⨤":"simplus","⨥":"plusdu","⨦":"plussim","⨧":"plustwo","⨩":"mcomma","⨪":"minusdu","⨭":"loplus","⨮":"roplus","⨯":"Cross","⨰":"timesd","⨱":"timesbar","⨳":"smashp","⨴":"lotimes","⨵":"rotimes","⨶":"otimesas","⨷":"Otimes","⨸":"odiv","⨹":"triplus","⨺":"triminus","⨻":"tritime","⨼":"iprod","⨿":"amalg","⩀":"capdot","⩂":"ncup","⩃":"ncap","⩄":"capand","⩅":"cupor","⩆":"cupcap","⩇":"capcup","⩈":"cupbrcap","⩉":"capbrcup","⩊":"cupcup","⩋":"capcap","⩌":"ccups","⩍":"ccaps","⩐":"ccupssm","⩓":"And","⩔":"Or","⩕":"andand","⩖":"oror","⩗":"orslope","⩘":"andslope","⩚":"andv","⩛":"orv","⩜":"andd","⩝":"ord","⩟":"wedbar","⩦":"sdote","⩪":"simdot","⩭":"congdot","⩭̸":"ncongdot","⩮":"easter","⩯":"apacir","⩰":"apE","⩰̸":"napE","⩱":"eplus","⩲":"pluse","⩳":"Esim","⩷":"eDDot","⩸":"equivDD","⩹":"ltcir","⩺":"gtcir","⩻":"ltquest","⩼":"gtquest","⩽":"les","⩽̸":"nles","⩾":"ges","⩾̸":"nges","⩿":"lesdot","⪀":"gesdot","⪁":"lesdoto","⪂":"gesdoto","⪃":"lesdotor","⪄":"gesdotol","⪅":"lap","⪆":"gap","⪇":"lne","⪈":"gne","⪉":"lnap","⪊":"gnap","⪋":"lEg","⪌":"gEl","⪍":"lsime","⪎":"gsime","⪏":"lsimg","⪐":"gsiml","⪑":"lgE","⪒":"glE","⪓":"lesges","⪔":"gesles","⪕":"els","⪖":"egs","⪗":"elsdot","⪘":"egsdot","⪙":"el","⪚":"eg","⪝":"siml","⪞":"simg","⪟":"simlE","⪠":"simgE","⪡":"LessLess","⪡̸":"NotNestedLessLess","⪢":"GreaterGreater","⪢̸":"NotNestedGreaterGreater","⪤":"glj","⪥":"gla","⪦":"ltcc","⪧":"gtcc","⪨":"lescc","⪩":"gescc","⪪":"smt","⪫":"lat","⪬":"smte","⪬︀":"smtes","⪭":"late","⪭︀":"lates","⪮":"bumpE","⪯":"pre","⪯̸":"npre","⪰":"sce","⪰̸":"nsce","⪳":"prE","⪴":"scE","⪵":"prnE","⪶":"scnE","⪷":"prap","⪸":"scap","⪹":"prnap","⪺":"scnap","⪻":"Pr","⪼":"Sc","⪽":"subdot","⪾":"supdot","⪿":"subplus","⫀":"supplus","⫁":"submult","⫂":"supmult","⫃":"subedot","⫄":"supedot","⫅":"subE","⫅̸":"nsubE","⫆":"supE","⫆̸":"nsupE","⫇":"subsim","⫈":"supsim","⫋︀":"vsubnE","⫋":"subnE","⫌︀":"vsupnE","⫌":"supnE","⫏":"csub","⫐":"csup","⫑":"csube","⫒":"csupe","⫓":"subsup","⫔":"supsub","⫕":"subsub","⫖":"supsup","⫗":"suphsub","⫘":"supdsub","⫙":"forkv","⫚":"topfork","⫛":"mlcp","⫤":"Dashv","⫦":"Vdashl","⫧":"Barv","⫨":"vBar","⫩":"vBarv","⫫":"Vbar","⫬":"Not","⫭":"bNot","⫮":"rnmid","⫯":"cirmid","⫰":"midcir","⫱":"topcir","⫲":"nhpar","⫳":"parsim","⫽":"parsl","⫽⃥":"nparsl","♭":"flat","♮":"natur","♯":"sharp","¤":"curren","¢":"cent",$:"dollar","£":"pound","¥":"yen","€":"euro","¹":"sup1","½":"half","⅓":"frac13","¼":"frac14","⅕":"frac15","⅙":"frac16","⅛":"frac18","²":"sup2","⅔":"frac23","⅖":"frac25","³":"sup3","¾":"frac34","⅗":"frac35","⅜":"frac38","⅘":"frac45","⅚":"frac56","⅝":"frac58","⅞":"frac78",𝒶:"ascr",𝕒:"aopf",𝔞:"afr",𝔸:"Aopf",𝔄:"Afr",𝒜:"Ascr",ª:"ordf",á:"aacute",Á:"Aacute",à:"agrave",À:"Agrave",ă:"abreve",Ă:"Abreve",â:"acirc",Â:"Acirc",å:"aring",Å:"angst",ä:"auml",Ä:"Auml",ã:"atilde",Ã:"Atilde",ą:"aogon",Ą:"Aogon",ā:"amacr",Ā:"Amacr",æ:"aelig",Æ:"AElig",𝒷:"bscr",𝕓:"bopf",𝔟:"bfr",𝔹:"Bopf",ℬ:"Bscr",𝔅:"Bfr",𝔠:"cfr",𝒸:"cscr",𝕔:"copf",ℭ:"Cfr",𝒞:"Cscr",ℂ:"Copf",ć:"cacute",Ć:"Cacute",ĉ:"ccirc",Ĉ:"Ccirc",č:"ccaron",Č:"Ccaron",ċ:"cdot",Ċ:"Cdot",ç:"ccedil",Ç:"Ccedil","℅":"incare",𝔡:"dfr",ⅆ:"dd",𝕕:"dopf",𝒹:"dscr",𝒟:"Dscr",𝔇:"Dfr",ⅅ:"DD",𝔻:"Dopf",ď:"dcaron",Ď:"Dcaron",đ:"dstrok",Đ:"Dstrok",ð:"eth",Ð:"ETH",ⅇ:"ee",ℯ:"escr",𝔢:"efr",𝕖:"eopf",ℰ:"Escr",𝔈:"Efr",𝔼:"Eopf",é:"eacute",É:"Eacute",è:"egrave",È:"Egrave",ê:"ecirc",Ê:"Ecirc",ě:"ecaron",Ě:"Ecaron",ë:"euml",Ë:"Euml",ė:"edot",Ė:"Edot",ę:"eogon",Ę:"Eogon",ē:"emacr",Ē:"Emacr",𝔣:"ffr",𝕗:"fopf",𝒻:"fscr",𝔉:"Ffr",𝔽:"Fopf",ℱ:"Fscr",ff:"fflig",ffi:"ffilig",ffl:"ffllig",fi:"filig",fj:"fjlig",fl:"fllig",ƒ:"fnof",ℊ:"gscr",𝕘:"gopf",𝔤:"gfr",𝒢:"Gscr",𝔾:"Gopf",𝔊:"Gfr",ǵ:"gacute",ğ:"gbreve",Ğ:"Gbreve",ĝ:"gcirc",Ĝ:"Gcirc",ġ:"gdot",Ġ:"Gdot",Ģ:"Gcedil",𝔥:"hfr",ℎ:"planckh",𝒽:"hscr",𝕙:"hopf",ℋ:"Hscr",ℌ:"Hfr",ℍ:"Hopf",ĥ:"hcirc",Ĥ:"Hcirc",ℏ:"hbar",ħ:"hstrok",Ħ:"Hstrok",𝕚:"iopf",𝔦:"ifr",𝒾:"iscr",ⅈ:"ii",𝕀:"Iopf",ℐ:"Iscr",ℑ:"Im",í:"iacute",Í:"Iacute",ì:"igrave",Ì:"Igrave",î:"icirc",Î:"Icirc",ï:"iuml",Ï:"Iuml",ĩ:"itilde",Ĩ:"Itilde",İ:"Idot",į:"iogon",Į:"Iogon",ī:"imacr",Ī:"Imacr",ij:"ijlig",IJ:"IJlig",ı:"imath",𝒿:"jscr",𝕛:"jopf",𝔧:"jfr",𝒥:"Jscr",𝔍:"Jfr",𝕁:"Jopf",ĵ:"jcirc",Ĵ:"Jcirc",ȷ:"jmath",𝕜:"kopf",𝓀:"kscr",𝔨:"kfr",𝒦:"Kscr",𝕂:"Kopf",𝔎:"Kfr",ķ:"kcedil",Ķ:"Kcedil",𝔩:"lfr",𝓁:"lscr",ℓ:"ell",𝕝:"lopf",ℒ:"Lscr",𝔏:"Lfr",𝕃:"Lopf",ĺ:"lacute",Ĺ:"Lacute",ľ:"lcaron",Ľ:"Lcaron",ļ:"lcedil",Ļ:"Lcedil",ł:"lstrok",Ł:"Lstrok",ŀ:"lmidot",Ŀ:"Lmidot",𝔪:"mfr",𝕞:"mopf",𝓂:"mscr",𝔐:"Mfr",𝕄:"Mopf",ℳ:"Mscr",𝔫:"nfr",𝕟:"nopf",𝓃:"nscr",ℕ:"Nopf",𝒩:"Nscr",𝔑:"Nfr",ń:"nacute",Ń:"Nacute",ň:"ncaron",Ň:"Ncaron",ñ:"ntilde",Ñ:"Ntilde",ņ:"ncedil",Ņ:"Ncedil","№":"numero",ŋ:"eng",Ŋ:"ENG",𝕠:"oopf",𝔬:"ofr",ℴ:"oscr",𝒪:"Oscr",𝔒:"Ofr",𝕆:"Oopf",º:"ordm",ó:"oacute",Ó:"Oacute",ò:"ograve",Ò:"Ograve",ô:"ocirc",Ô:"Ocirc",ö:"ouml",Ö:"Ouml",ő:"odblac",Ő:"Odblac",õ:"otilde",Õ:"Otilde",ø:"oslash",Ø:"Oslash",ō:"omacr",Ō:"Omacr",œ:"oelig",Œ:"OElig",𝔭:"pfr",𝓅:"pscr",𝕡:"popf",ℙ:"Popf",𝔓:"Pfr",𝒫:"Pscr",𝕢:"qopf",𝔮:"qfr",𝓆:"qscr",𝒬:"Qscr",𝔔:"Qfr",ℚ:"Qopf",ĸ:"kgreen",𝔯:"rfr",𝕣:"ropf",𝓇:"rscr",ℛ:"Rscr",ℜ:"Re",ℝ:"Ropf",ŕ:"racute",Ŕ:"Racute",ř:"rcaron",Ř:"Rcaron",ŗ:"rcedil",Ŗ:"Rcedil",𝕤:"sopf",𝓈:"sscr",𝔰:"sfr",𝕊:"Sopf",𝔖:"Sfr",𝒮:"Sscr","Ⓢ":"oS",ś:"sacute",Ś:"Sacute",ŝ:"scirc",Ŝ:"Scirc",š:"scaron",Š:"Scaron",ş:"scedil",Ş:"Scedil",ß:"szlig",𝔱:"tfr",𝓉:"tscr",𝕥:"topf",𝒯:"Tscr",𝔗:"Tfr",𝕋:"Topf",ť:"tcaron",Ť:"Tcaron",ţ:"tcedil",Ţ:"Tcedil","™":"trade",ŧ:"tstrok",Ŧ:"Tstrok",𝓊:"uscr",𝕦:"uopf",𝔲:"ufr",𝕌:"Uopf",𝔘:"Ufr",𝒰:"Uscr",ú:"uacute",Ú:"Uacute",ù:"ugrave",Ù:"Ugrave",ŭ:"ubreve",Ŭ:"Ubreve",û:"ucirc",Û:"Ucirc",ů:"uring",Ů:"Uring",ü:"uuml",Ü:"Uuml",ű:"udblac",Ű:"Udblac",ũ:"utilde",Ũ:"Utilde",ų:"uogon",Ų:"Uogon",ū:"umacr",Ū:"Umacr",𝔳:"vfr",𝕧:"vopf",𝓋:"vscr",𝔙:"Vfr",𝕍:"Vopf",𝒱:"Vscr",𝕨:"wopf",𝓌:"wscr",𝔴:"wfr",𝒲:"Wscr",𝕎:"Wopf",𝔚:"Wfr",ŵ:"wcirc",Ŵ:"Wcirc",𝔵:"xfr",𝓍:"xscr",𝕩:"xopf",𝕏:"Xopf",𝔛:"Xfr",𝒳:"Xscr",𝔶:"yfr",𝓎:"yscr",𝕪:"yopf",𝒴:"Yscr",𝔜:"Yfr",𝕐:"Yopf",ý:"yacute",Ý:"Yacute",ŷ:"ycirc",Ŷ:"Ycirc",ÿ:"yuml",Ÿ:"Yuml",𝓏:"zscr",𝔷:"zfr",𝕫:"zopf",ℨ:"Zfr",ℤ:"Zopf",𝒵:"Zscr",ź:"zacute",Ź:"Zacute",ž:"zcaron",Ž:"Zcaron",ż:"zdot",Ż:"Zdot",Ƶ:"imped",þ:"thorn",Þ:"THORN",ʼn:"napos",α:"alpha",Α:"Alpha",β:"beta",Β:"Beta",γ:"gamma",Γ:"Gamma",δ:"delta",Δ:"Delta",ε:"epsi",ϵ:"epsiv",Ε:"Epsilon",ϝ:"gammad",Ϝ:"Gammad",ζ:"zeta",Ζ:"Zeta",η:"eta",Η:"Eta",θ:"theta",ϑ:"thetav",Θ:"Theta",ι:"iota",Ι:"Iota",κ:"kappa",ϰ:"kappav",Κ:"Kappa",λ:"lambda",Λ:"Lambda",μ:"mu",µ:"micro",Μ:"Mu",ν:"nu",Ν:"Nu",ξ:"xi",Ξ:"Xi",ο:"omicron",Ο:"Omicron",π:"pi",ϖ:"piv",Π:"Pi",ρ:"rho",ϱ:"rhov",Ρ:"Rho",σ:"sigma",Σ:"Sigma",ς:"sigmaf",τ:"tau",Τ:"Tau",υ:"upsi",Υ:"Upsilon",ϒ:"Upsi",φ:"phi",ϕ:"phiv",Φ:"Phi",χ:"chi",Χ:"Chi",ψ:"psi",Ψ:"Psi",ω:"omega",Ω:"ohm",а:"acy",А:"Acy",б:"bcy",Б:"Bcy",в:"vcy",В:"Vcy",г:"gcy",Г:"Gcy",ѓ:"gjcy",Ѓ:"GJcy",д:"dcy",Д:"Dcy",ђ:"djcy",Ђ:"DJcy",е:"iecy",Е:"IEcy",ё:"iocy",Ё:"IOcy",є:"jukcy",Є:"Jukcy",ж:"zhcy",Ж:"ZHcy",з:"zcy",З:"Zcy",ѕ:"dscy",Ѕ:"DScy",и:"icy",И:"Icy",і:"iukcy",І:"Iukcy",ї:"yicy",Ї:"YIcy",й:"jcy",Й:"Jcy",ј:"jsercy",Ј:"Jsercy",к:"kcy",К:"Kcy",ќ:"kjcy",Ќ:"KJcy",л:"lcy",Л:"Lcy",љ:"ljcy",Љ:"LJcy",м:"mcy",М:"Mcy",н:"ncy",Н:"Ncy",њ:"njcy",Њ:"NJcy",о:"ocy",О:"Ocy",п:"pcy",П:"Pcy",р:"rcy",Р:"Rcy",с:"scy",С:"Scy",т:"tcy",Т:"Tcy",ћ:"tshcy",Ћ:"TSHcy",у:"ucy",У:"Ucy",ў:"ubrcy",Ў:"Ubrcy",ф:"fcy",Ф:"Fcy",х:"khcy",Х:"KHcy",ц:"tscy",Ц:"TScy",ч:"chcy",Ч:"CHcy",џ:"dzcy",Џ:"DZcy",ш:"shcy",Ш:"SHcy",щ:"shchcy",Щ:"SHCHcy",ъ:"hardcy",Ъ:"HARDcy",ы:"ycy",Ы:"Ycy",ь:"softcy",Ь:"SOFTcy",э:"ecy",Э:"Ecy",ю:"yucy",Ю:"YUcy",я:"yacy",Я:"YAcy",ℵ:"aleph",ℶ:"beth",ℷ:"gimel",ℸ:"daleth"},p=/["&'<>`]/g,d={'"':""","&":"&","'":"'","<":"<",">":">","`":"`"},f=/&#(?:[xX][^a-fA-F0-9]|[^0-9xX])/,h=/[\0-\x08\x0B\x0E-\x1F\x7F-\x9F\uFDD0-\uFDEF\uFFFE\uFFFF]|[\uD83F\uD87F\uD8BF\uD8FF\uD93F\uD97F\uD9BF\uD9FF\uDA3F\uDA7F\uDABF\uDAFF\uDB3F\uDB7F\uDBBF\uDBFF][\uDFFE\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,g=/&(CounterClockwiseContourIntegral|DoubleLongLeftRightArrow|ClockwiseContourIntegral|NotNestedGreaterGreater|NotSquareSupersetEqual|DiacriticalDoubleAcute|NotRightTriangleEqual|NotSucceedsSlantEqual|NotPrecedesSlantEqual|CloseCurlyDoubleQuote|NegativeVeryThinSpace|DoubleContourIntegral|FilledVerySmallSquare|CapitalDifferentialD|OpenCurlyDoubleQuote|EmptyVerySmallSquare|NestedGreaterGreater|DoubleLongRightArrow|NotLeftTriangleEqual|NotGreaterSlantEqual|ReverseUpEquilibrium|DoubleLeftRightArrow|NotSquareSubsetEqual|NotDoubleVerticalBar|RightArrowLeftArrow|NotGreaterFullEqual|NotRightTriangleBar|SquareSupersetEqual|DownLeftRightVector|DoubleLongLeftArrow|leftrightsquigarrow|LeftArrowRightArrow|NegativeMediumSpace|blacktriangleright|RightDownVectorBar|PrecedesSlantEqual|RightDoubleBracket|SucceedsSlantEqual|NotLeftTriangleBar|RightTriangleEqual|SquareIntersection|RightDownTeeVector|ReverseEquilibrium|NegativeThickSpace|longleftrightarrow|Longleftrightarrow|LongLeftRightArrow|DownRightTeeVector|DownRightVectorBar|GreaterSlantEqual|SquareSubsetEqual|LeftDownVectorBar|LeftDoubleBracket|VerticalSeparator|rightleftharpoons|NotGreaterGreater|NotSquareSuperset|blacktriangleleft|blacktriangledown|NegativeThinSpace|LeftDownTeeVector|NotLessSlantEqual|leftrightharpoons|DoubleUpDownArrow|DoubleVerticalBar|LeftTriangleEqual|FilledSmallSquare|twoheadrightarrow|NotNestedLessLess|DownLeftTeeVector|DownLeftVectorBar|RightAngleBracket|NotTildeFullEqual|NotReverseElement|RightUpDownVector|DiacriticalTilde|NotSucceedsTilde|circlearrowright|NotPrecedesEqual|rightharpoondown|DoubleRightArrow|NotSucceedsEqual|NonBreakingSpace|NotRightTriangle|LessEqualGreater|RightUpTeeVector|LeftAngleBracket|GreaterFullEqual|DownArrowUpArrow|RightUpVectorBar|twoheadleftarrow|GreaterEqualLess|downharpoonright|RightTriangleBar|ntrianglerighteq|NotSupersetEqual|LeftUpDownVector|DiacriticalAcute|rightrightarrows|vartriangleright|UpArrowDownArrow|DiacriticalGrave|UnderParenthesis|EmptySmallSquare|LeftUpVectorBar|leftrightarrows|DownRightVector|downharpoonleft|trianglerighteq|ShortRightArrow|OverParenthesis|DoubleLeftArrow|DoubleDownArrow|NotSquareSubset|bigtriangledown|ntrianglelefteq|UpperRightArrow|curvearrowright|vartriangleleft|NotLeftTriangle|nleftrightarrow|LowerRightArrow|NotHumpDownHump|NotGreaterTilde|rightthreetimes|LeftUpTeeVector|NotGreaterEqual|straightepsilon|LeftTriangleBar|rightsquigarrow|ContourIntegral|rightleftarrows|CloseCurlyQuote|RightDownVector|LeftRightVector|nLeftrightarrow|leftharpoondown|circlearrowleft|SquareSuperset|OpenCurlyQuote|hookrightarrow|HorizontalLine|DiacriticalDot|NotLessGreater|ntriangleright|DoubleRightTee|InvisibleComma|InvisibleTimes|LowerLeftArrow|DownLeftVector|NotSubsetEqual|curvearrowleft|trianglelefteq|NotVerticalBar|TildeFullEqual|downdownarrows|NotGreaterLess|RightTeeVector|ZeroWidthSpace|looparrowright|LongRightArrow|doublebarwedge|ShortLeftArrow|ShortDownArrow|RightVectorBar|GreaterGreater|ReverseElement|rightharpoonup|LessSlantEqual|leftthreetimes|upharpoonright|rightarrowtail|LeftDownVector|Longrightarrow|NestedLessLess|UpperLeftArrow|nshortparallel|leftleftarrows|leftrightarrow|Leftrightarrow|LeftRightArrow|longrightarrow|upharpoonleft|RightArrowBar|ApplyFunction|LeftTeeVector|leftarrowtail|NotEqualTilde|varsubsetneqq|varsupsetneqq|RightTeeArrow|SucceedsEqual|SucceedsTilde|LeftVectorBar|SupersetEqual|hookleftarrow|DifferentialD|VerticalTilde|VeryThinSpace|blacktriangle|bigtriangleup|LessFullEqual|divideontimes|leftharpoonup|UpEquilibrium|ntriangleleft|RightTriangle|measuredangle|shortparallel|longleftarrow|Longleftarrow|LongLeftArrow|DoubleLeftTee|Poincareplane|PrecedesEqual|triangleright|DoubleUpArrow|RightUpVector|fallingdotseq|looparrowleft|PrecedesTilde|NotTildeEqual|NotTildeTilde|smallsetminus|Proportional|triangleleft|triangledown|UnderBracket|NotHumpEqual|exponentiale|ExponentialE|NotLessTilde|HilbertSpace|RightCeiling|blacklozenge|varsupsetneq|HumpDownHump|GreaterEqual|VerticalLine|LeftTeeArrow|NotLessEqual|DownTeeArrow|LeftTriangle|varsubsetneq|Intersection|NotCongruent|DownArrowBar|LeftUpVector|LeftArrowBar|risingdotseq|GreaterTilde|RoundImplies|SquareSubset|ShortUpArrow|NotSuperset|quaternions|precnapprox|backepsilon|preccurlyeq|OverBracket|blacksquare|MediumSpace|VerticalBar|circledcirc|circleddash|CircleMinus|CircleTimes|LessGreater|curlyeqprec|curlyeqsucc|diamondsuit|UpDownArrow|Updownarrow|RuleDelayed|Rrightarrow|updownarrow|RightVector|nRightarrow|nrightarrow|eqslantless|LeftCeiling|Equilibrium|SmallCircle|expectation|NotSucceeds|thickapprox|GreaterLess|SquareUnion|NotPrecedes|NotLessLess|straightphi|succnapprox|succcurlyeq|SubsetEqual|sqsupseteq|Proportion|Laplacetrf|ImaginaryI|supsetneqq|NotGreater|gtreqqless|NotElement|ThickSpace|TildeEqual|TildeTilde|Fouriertrf|rmoustache|EqualTilde|eqslantgtr|UnderBrace|LeftVector|UpArrowBar|nLeftarrow|nsubseteqq|subsetneqq|nsupseteqq|nleftarrow|succapprox|lessapprox|UpTeeArrow|upuparrows|curlywedge|lesseqqgtr|varepsilon|varnothing|RightFloor|complement|CirclePlus|sqsubseteq|Lleftarrow|circledast|RightArrow|Rightarrow|rightarrow|lmoustache|Bernoullis|precapprox|mapstoleft|mapstodown|longmapsto|dotsquare|downarrow|DoubleDot|nsubseteq|supsetneq|leftarrow|nsupseteq|subsetneq|ThinSpace|ngeqslant|subseteqq|HumpEqual|NotSubset|triangleq|NotCupCap|lesseqgtr|heartsuit|TripleDot|Leftarrow|Coproduct|Congruent|varpropto|complexes|gvertneqq|LeftArrow|LessTilde|supseteqq|MinusPlus|CircleDot|nleqslant|NotExists|gtreqless|nparallel|UnionPlus|LeftFloor|checkmark|CenterDot|centerdot|Mellintrf|gtrapprox|bigotimes|OverBrace|spadesuit|therefore|pitchfork|rationals|PlusMinus|Backslash|Therefore|DownBreve|backsimeq|backprime|DownArrow|nshortmid|Downarrow|lvertneqq|eqvparsl|imagline|imagpart|infintie|integers|Integral|intercal|LessLess|Uarrocir|intlarhk|sqsupset|angmsdaf|sqsubset|llcorner|vartheta|cupbrcap|lnapprox|Superset|SuchThat|succnsim|succneqq|angmsdag|biguplus|curlyvee|trpezium|Succeeds|NotTilde|bigwedge|angmsdah|angrtvbd|triminus|cwconint|fpartint|lrcorner|smeparsl|subseteq|urcorner|lurdshar|laemptyv|DDotrahd|approxeq|ldrushar|awconint|mapstoup|backcong|shortmid|triangle|geqslant|gesdotol|timesbar|circledR|circledS|setminus|multimap|naturals|scpolint|ncongdot|RightTee|boxminus|gnapprox|boxtimes|andslope|thicksim|angmsdaa|varsigma|cirfnint|rtriltri|angmsdab|rppolint|angmsdac|barwedge|drbkarow|clubsuit|thetasym|bsolhsub|capbrcup|dzigrarr|doteqdot|DotEqual|dotminus|UnderBar|NotEqual|realpart|otimesas|ulcorner|hksearow|hkswarow|parallel|PartialD|elinters|emptyset|plusacir|bbrktbrk|angmsdad|pointint|bigoplus|angmsdae|Precedes|bigsqcup|varkappa|notindot|supseteq|precneqq|precnsim|profalar|profline|profsurf|leqslant|lesdotor|raemptyv|subplus|notnivb|notnivc|subrarr|zigrarr|vzigzag|submult|subedot|Element|between|cirscir|larrbfs|larrsim|lotimes|lbrksld|lbrkslu|lozenge|ldrdhar|dbkarow|bigcirc|epsilon|simrarr|simplus|ltquest|Epsilon|luruhar|gtquest|maltese|npolint|eqcolon|npreceq|bigodot|ddagger|gtrless|bnequiv|harrcir|ddotseq|equivDD|backsim|demptyv|nsqsube|nsqsupe|Upsilon|nsubset|upsilon|minusdu|nsucceq|swarrow|nsupset|coloneq|searrow|boxplus|napprox|natural|asympeq|alefsym|congdot|nearrow|bigstar|diamond|supplus|tritime|LeftTee|nvinfin|triplus|NewLine|nvltrie|nvrtrie|nwarrow|nexists|Diamond|ruluhar|Implies|supmult|angzarr|suplarr|suphsub|questeq|because|digamma|Because|olcross|bemptyv|omicron|Omicron|rotimes|NoBreak|intprod|angrtvb|orderof|uwangle|suphsol|lesdoto|orslope|DownTee|realine|cudarrl|rdldhar|OverBar|supedot|lessdot|supdsub|topfork|succsim|rbrkslu|rbrksld|pertenk|cudarrr|isindot|planckh|lessgtr|pluscir|gesdoto|plussim|plustwo|lesssim|cularrp|rarrsim|Cayleys|notinva|notinvb|notinvc|UpArrow|Uparrow|uparrow|NotLess|dwangle|precsim|Product|curarrm|Cconint|dotplus|rarrbfs|ccupssm|Cedilla|cemptyv|notniva|quatint|frac35|frac38|frac45|frac56|frac58|frac78|tridot|xoplus|gacute|gammad|Gammad|lfisht|lfloor|bigcup|sqsupe|gbreve|Gbreve|lharul|sqsube|sqcups|Gcedil|apacir|llhard|lmidot|Lmidot|lmoust|andand|sqcaps|approx|Abreve|spades|circeq|tprime|divide|topcir|Assign|topbot|gesdot|divonx|xuplus|timesd|gesles|atilde|solbar|SOFTcy|loplus|timesb|lowast|lowbar|dlcorn|dlcrop|softcy|dollar|lparlt|thksim|lrhard|Atilde|lsaquo|smashp|bigvee|thinsp|wreath|bkarow|lsquor|lstrok|Lstrok|lthree|ltimes|ltlarr|DotDot|simdot|ltrPar|weierp|xsqcup|angmsd|sigmav|sigmaf|zeetrf|Zcaron|zcaron|mapsto|vsupne|thetav|cirmid|marker|mcomma|Zacute|vsubnE|there4|gtlPar|vsubne|bottom|gtrarr|SHCHcy|shchcy|midast|midcir|middot|minusb|minusd|gtrdot|bowtie|sfrown|mnplus|models|colone|seswar|Colone|mstpos|searhk|gtrsim|nacute|Nacute|boxbox|telrec|hairsp|Tcedil|nbumpe|scnsim|ncaron|Ncaron|ncedil|Ncedil|hamilt|Scedil|nearhk|hardcy|HARDcy|tcedil|Tcaron|commat|nequiv|nesear|tcaron|target|hearts|nexist|varrho|scedil|Scaron|scaron|hellip|Sacute|sacute|hercon|swnwar|compfn|rtimes|rthree|rsquor|rsaquo|zacute|wedgeq|homtht|barvee|barwed|Barwed|rpargt|horbar|conint|swarhk|roplus|nltrie|hslash|hstrok|Hstrok|rmoust|Conint|bprime|hybull|hyphen|iacute|Iacute|supsup|supsub|supsim|varphi|coprod|brvbar|agrave|Supset|supset|igrave|Igrave|notinE|Agrave|iiiint|iinfin|copysr|wedbar|Verbar|vangrt|becaus|incare|verbar|inodot|bullet|drcorn|intcal|drcrop|cularr|vellip|Utilde|bumpeq|cupcap|dstrok|Dstrok|CupCap|cupcup|cupdot|eacute|Eacute|supdot|iquest|easter|ecaron|Ecaron|ecolon|isinsv|utilde|itilde|Itilde|curarr|succeq|Bumpeq|cacute|ulcrop|nparsl|Cacute|nprcue|egrave|Egrave|nrarrc|nrarrw|subsup|subsub|nrtrie|jsercy|nsccue|Jsercy|kappav|kcedil|Kcedil|subsim|ulcorn|nsimeq|egsdot|veebar|kgreen|capand|elsdot|Subset|subset|curren|aacute|lacute|Lacute|emptyv|ntilde|Ntilde|lagran|lambda|Lambda|capcap|Ugrave|langle|subdot|emsp13|numero|emsp14|nvdash|nvDash|nVdash|nVDash|ugrave|ufisht|nvHarr|larrfs|nvlArr|larrhk|larrlp|larrpl|nvrArr|Udblac|nwarhk|larrtl|nwnear|oacute|Oacute|latail|lAtail|sstarf|lbrace|odblac|Odblac|lbrack|udblac|odsold|eparsl|lcaron|Lcaron|ograve|Ograve|lcedil|Lcedil|Aacute|ssmile|ssetmn|squarf|ldquor|capcup|ominus|cylcty|rharul|eqcirc|dagger|rfloor|rfisht|Dagger|daleth|equals|origof|capdot|equest|dcaron|Dcaron|rdquor|oslash|Oslash|otilde|Otilde|otimes|Otimes|urcrop|Ubreve|ubreve|Yacute|Uacute|uacute|Rcedil|rcedil|urcorn|parsim|Rcaron|Vdashl|rcaron|Tstrok|percnt|period|permil|Exists|yacute|rbrack|rbrace|phmmat|ccaron|Ccaron|planck|ccedil|plankv|tstrok|female|plusdo|plusdu|ffilig|plusmn|ffllig|Ccedil|rAtail|dfisht|bernou|ratail|Rarrtl|rarrtl|angsph|rarrpl|rarrlp|rarrhk|xwedge|xotime|forall|ForAll|Vvdash|vsupnE|preceq|bigcap|frac12|frac13|frac14|primes|rarrfs|prnsim|frac15|Square|frac16|square|lesdot|frac18|frac23|propto|prurel|rarrap|rangle|puncsp|frac25|Racute|qprime|racute|lesges|frac34|abreve|AElig|eqsim|utdot|setmn|urtri|Equal|Uring|seArr|uring|searr|dashv|Dashv|mumap|nabla|iogon|Iogon|sdote|sdotb|scsim|napid|napos|equiv|natur|Acirc|dblac|erarr|nbump|iprod|erDot|ucirc|awint|esdot|angrt|ncong|isinE|scnap|Scirc|scirc|ndash|isins|Ubrcy|nearr|neArr|isinv|nedot|ubrcy|acute|Ycirc|iukcy|Iukcy|xutri|nesim|caret|jcirc|Jcirc|caron|twixt|ddarr|sccue|exist|jmath|sbquo|ngeqq|angst|ccaps|lceil|ngsim|UpTee|delta|Delta|rtrif|nharr|nhArr|nhpar|rtrie|jukcy|Jukcy|kappa|rsquo|Kappa|nlarr|nlArr|TSHcy|rrarr|aogon|Aogon|fflig|xrarr|tshcy|ccirc|nleqq|filig|upsih|nless|dharl|nlsim|fjlig|ropar|nltri|dharr|robrk|roarr|fllig|fltns|roang|rnmid|subnE|subne|lAarr|trisb|Ccirc|acirc|ccups|blank|VDash|forkv|Vdash|langd|cedil|blk12|blk14|laquo|strns|diams|notin|vDash|larrb|blk34|block|disin|uplus|vdash|vBarv|aelig|starf|Wedge|check|xrArr|lates|lbarr|lBarr|notni|lbbrk|bcong|frasl|lbrke|frown|vrtri|vprop|vnsup|gamma|Gamma|wedge|xodot|bdquo|srarr|doteq|ldquo|boxdl|boxdL|gcirc|Gcirc|boxDl|boxDL|boxdr|boxdR|boxDr|TRADE|trade|rlhar|boxDR|vnsub|npart|vltri|rlarr|boxhd|boxhD|nprec|gescc|nrarr|nrArr|boxHd|boxHD|boxhu|boxhU|nrtri|boxHu|clubs|boxHU|times|colon|Colon|gimel|xlArr|Tilde|nsime|tilde|nsmid|nspar|THORN|thorn|xlarr|nsube|nsubE|thkap|xhArr|comma|nsucc|boxul|boxuL|nsupe|nsupE|gneqq|gnsim|boxUl|boxUL|grave|boxur|boxuR|boxUr|boxUR|lescc|angle|bepsi|boxvh|varpi|boxvH|numsp|Theta|gsime|gsiml|theta|boxVh|boxVH|boxvl|gtcir|gtdot|boxvL|boxVl|boxVL|crarr|cross|Cross|nvsim|boxvr|nwarr|nwArr|sqsup|dtdot|Uogon|lhard|lharu|dtrif|ocirc|Ocirc|lhblk|duarr|odash|sqsub|Hacek|sqcup|llarr|duhar|oelig|OElig|ofcir|boxvR|uogon|lltri|boxVr|csube|uuarr|ohbar|csupe|ctdot|olarr|olcir|harrw|oline|sqcap|omacr|Omacr|omega|Omega|boxVR|aleph|lneqq|lnsim|loang|loarr|rharu|lobrk|hcirc|operp|oplus|rhard|Hcirc|orarr|Union|order|ecirc|Ecirc|cuepr|szlig|cuesc|breve|reals|eDDot|Breve|hoarr|lopar|utrif|rdquo|Umacr|umacr|efDot|swArr|ultri|alpha|rceil|ovbar|swarr|Wcirc|wcirc|smtes|smile|bsemi|lrarr|aring|parsl|lrhar|bsime|uhblk|lrtri|cupor|Aring|uharr|uharl|slarr|rbrke|bsolb|lsime|rbbrk|RBarr|lsimg|phone|rBarr|rbarr|icirc|lsquo|Icirc|emacr|Emacr|ratio|simne|plusb|simlE|simgE|simeq|pluse|ltcir|ltdot|empty|xharr|xdtri|iexcl|Alpha|ltrie|rarrw|pound|ltrif|xcirc|bumpe|prcue|bumpE|asymp|amacr|cuvee|Sigma|sigma|iiint|udhar|iiota|ijlig|IJlig|supnE|imacr|Imacr|prime|Prime|image|prnap|eogon|Eogon|rarrc|mdash|mDDot|cuwed|imath|supne|imped|Amacr|udarr|prsim|micro|rarrb|cwint|raquo|infin|eplus|range|rangd|Ucirc|radic|minus|amalg|veeeq|rAarr|epsiv|ycirc|quest|sharp|quot|zwnj|Qscr|race|qscr|Qopf|qopf|qint|rang|Rang|Zscr|zscr|Zopf|zopf|rarr|rArr|Rarr|Pscr|pscr|prop|prod|prnE|prec|ZHcy|zhcy|prap|Zeta|zeta|Popf|popf|Zdot|plus|zdot|Yuml|yuml|phiv|YUcy|yucy|Yscr|yscr|perp|Yopf|yopf|part|para|YIcy|Ouml|rcub|yicy|YAcy|rdca|ouml|osol|Oscr|rdsh|yacy|real|oscr|xvee|andd|rect|andv|Xscr|oror|ordm|ordf|xscr|ange|aopf|Aopf|rHar|Xopf|opar|Oopf|xopf|xnis|rhov|oopf|omid|xmap|oint|apid|apos|ogon|ascr|Ascr|odot|odiv|xcup|xcap|ocir|oast|nvlt|nvle|nvgt|nvge|nvap|Wscr|wscr|auml|ntlg|ntgl|nsup|nsub|nsim|Nscr|nscr|nsce|Wopf|ring|npre|wopf|npar|Auml|Barv|bbrk|Nopf|nopf|nmid|nLtv|beta|ropf|Ropf|Beta|beth|nles|rpar|nleq|bnot|bNot|nldr|NJcy|rscr|Rscr|Vscr|vscr|rsqb|njcy|bopf|nisd|Bopf|rtri|Vopf|nGtv|ngtr|vopf|boxh|boxH|boxv|nges|ngeq|boxV|bscr|scap|Bscr|bsim|Vert|vert|bsol|bull|bump|caps|cdot|ncup|scnE|ncap|nbsp|napE|Cdot|cent|sdot|Vbar|nang|vBar|chcy|Mscr|mscr|sect|semi|CHcy|Mopf|mopf|sext|circ|cire|mldr|mlcp|cirE|comp|shcy|SHcy|vArr|varr|cong|copf|Copf|copy|COPY|malt|male|macr|lvnE|cscr|ltri|sime|ltcc|simg|Cscr|siml|csub|Uuml|lsqb|lsim|uuml|csup|Lscr|lscr|utri|smid|lpar|cups|smte|lozf|darr|Lopf|Uscr|solb|lopf|sopf|Sopf|lneq|uscr|spar|dArr|lnap|Darr|dash|Sqrt|LJcy|ljcy|lHar|dHar|Upsi|upsi|diam|lesg|djcy|DJcy|leqq|dopf|Dopf|dscr|Dscr|dscy|ldsh|ldca|squf|DScy|sscr|Sscr|dsol|lcub|late|star|Star|Uopf|Larr|lArr|larr|uopf|dtri|dzcy|sube|subE|Lang|lang|Kscr|kscr|Kopf|kopf|KJcy|kjcy|KHcy|khcy|DZcy|ecir|edot|eDot|Jscr|jscr|succ|Jopf|jopf|Edot|uHar|emsp|ensp|Iuml|iuml|eopf|isin|Iscr|iscr|Eopf|epar|sung|epsi|escr|sup1|sup2|sup3|Iota|iota|supe|supE|Iopf|iopf|IOcy|iocy|Escr|esim|Esim|imof|Uarr|QUOT|uArr|uarr|euml|IEcy|iecy|Idot|Euml|euro|excl|Hscr|hscr|Hopf|hopf|TScy|tscy|Tscr|hbar|tscr|flat|tbrk|fnof|hArr|harr|half|fopf|Fopf|tdot|gvnE|fork|trie|gtcc|fscr|Fscr|gdot|gsim|Gscr|gscr|Gopf|gopf|gneq|Gdot|tosa|gnap|Topf|topf|geqq|toea|GJcy|gjcy|tint|gesl|mid|Sfr|ggg|top|ges|gla|glE|glj|geq|gne|gEl|gel|gnE|Gcy|gcy|gap|Tfr|tfr|Tcy|tcy|Hat|Tau|Ffr|tau|Tab|hfr|Hfr|ffr|Fcy|fcy|icy|Icy|iff|ETH|eth|ifr|Ifr|Eta|eta|int|Int|Sup|sup|ucy|Ucy|Sum|sum|jcy|ENG|ufr|Ufr|eng|Jcy|jfr|els|ell|egs|Efr|efr|Jfr|uml|kcy|Kcy|Ecy|ecy|kfr|Kfr|lap|Sub|sub|lat|lcy|Lcy|leg|Dot|dot|lEg|leq|les|squ|div|die|lfr|Lfr|lgE|Dfr|dfr|Del|deg|Dcy|dcy|lne|lnE|sol|loz|smt|Cup|lrm|cup|lsh|Lsh|sim|shy|map|Map|mcy|Mcy|mfr|Mfr|mho|gfr|Gfr|sfr|cir|Chi|chi|nap|Cfr|vcy|Vcy|cfr|Scy|scy|ncy|Ncy|vee|Vee|Cap|cap|nfr|scE|sce|Nfr|nge|ngE|nGg|vfr|Vfr|ngt|bot|nGt|nis|niv|Rsh|rsh|nle|nlE|bne|Bfr|bfr|nLl|nlt|nLt|Bcy|bcy|not|Not|rlm|wfr|Wfr|npr|nsc|num|ocy|ast|Ocy|ofr|xfr|Xfr|Ofr|ogt|ohm|apE|olt|Rho|ape|rho|Rfr|rfr|ord|REG|ang|reg|orv|And|and|AMP|Rcy|amp|Afr|ycy|Ycy|yen|yfr|Yfr|rcy|par|pcy|Pcy|pfr|Pfr|phi|Phi|afr|Acy|acy|zcy|Zcy|piv|acE|acd|zfr|Zfr|pre|prE|psi|Psi|qfr|Qfr|zwj|Or|ge|Gg|gt|gg|el|oS|lt|Lt|LT|Re|lg|gl|eg|ne|Im|it|le|DD|wp|wr|nu|Nu|dd|lE|Sc|sc|pi|Pi|ee|af|ll|Ll|rx|gE|xi|pm|Xi|ic|pr|Pr|in|ni|mp|mu|ac|Mu|or|ap|Gt|GT|ii);|&(Aacute|Agrave|Atilde|Ccedil|Eacute|Egrave|Iacute|Igrave|Ntilde|Oacute|Ograve|Oslash|Otilde|Uacute|Ugrave|Yacute|aacute|agrave|atilde|brvbar|ccedil|curren|divide|eacute|egrave|frac12|frac14|frac34|iacute|igrave|iquest|middot|ntilde|oacute|ograve|oslash|otilde|plusmn|uacute|ugrave|yacute|AElig|Acirc|Aring|Ecirc|Icirc|Ocirc|THORN|Ucirc|acirc|acute|aelig|aring|cedil|ecirc|icirc|iexcl|laquo|micro|ocirc|pound|raquo|szlig|thorn|times|ucirc|Auml|COPY|Euml|Iuml|Ouml|QUOT|Uuml|auml|cent|copy|euml|iuml|macr|nbsp|ordf|ordm|ouml|para|quot|sect|sup1|sup2|sup3|uuml|yuml|AMP|ETH|REG|amp|deg|eth|not|reg|shy|uml|yen|GT|LT|gt|lt)(?!;)([=a-zA-Z0-9]?)|&#([0-9]+)(;?)|&#[xX]([a-fA-F0-9]+)(;?)|&([0-9a-zA-Z]+)/g,m={aacute:"á",Aacute:"Á",abreve:"ă",Abreve:"Ă",ac:"∾",acd:"∿",acE:"∾̳",acirc:"â",Acirc:"Â",acute:"´",acy:"а",Acy:"А",aelig:"æ",AElig:"Æ",af:"⁡",afr:"𝔞",Afr:"𝔄",agrave:"à",Agrave:"À",alefsym:"ℵ",aleph:"ℵ",alpha:"α",Alpha:"Α",amacr:"ā",Amacr:"Ā",amalg:"⨿",amp:"&",AMP:"&",and:"∧",And:"⩓",andand:"⩕",andd:"⩜",andslope:"⩘",andv:"⩚",ang:"∠",ange:"⦤",angle:"∠",angmsd:"∡",angmsdaa:"⦨",angmsdab:"⦩",angmsdac:"⦪",angmsdad:"⦫",angmsdae:"⦬",angmsdaf:"⦭",angmsdag:"⦮",angmsdah:"⦯",angrt:"∟",angrtvb:"⊾",angrtvbd:"⦝",angsph:"∢",angst:"Å",angzarr:"⍼",aogon:"ą",Aogon:"Ą",aopf:"𝕒",Aopf:"𝔸",ap:"≈",apacir:"⩯",ape:"≊",apE:"⩰",apid:"≋",apos:"'",ApplyFunction:"⁡",approx:"≈",approxeq:"≊",aring:"å",Aring:"Å",ascr:"𝒶",Ascr:"𝒜",Assign:"≔",ast:"*",asymp:"≈",asympeq:"≍",atilde:"ã",Atilde:"Ã",auml:"ä",Auml:"Ä",awconint:"∳",awint:"⨑",backcong:"≌",backepsilon:"϶",backprime:"‵",backsim:"∽",backsimeq:"⋍",Backslash:"∖",Barv:"⫧",barvee:"⊽",barwed:"⌅",Barwed:"⌆",barwedge:"⌅",bbrk:"⎵",bbrktbrk:"⎶",bcong:"≌",bcy:"б",Bcy:"Б",bdquo:"„",becaus:"∵",because:"∵",Because:"∵",bemptyv:"⦰",bepsi:"϶",bernou:"ℬ",Bernoullis:"ℬ",beta:"β",Beta:"Β",beth:"ℶ",between:"≬",bfr:"𝔟",Bfr:"𝔅",bigcap:"⋂",bigcirc:"◯",bigcup:"⋃",bigodot:"⨀",bigoplus:"⨁",bigotimes:"⨂",bigsqcup:"⨆",bigstar:"★",bigtriangledown:"▽",bigtriangleup:"△",biguplus:"⨄",bigvee:"⋁",bigwedge:"⋀",bkarow:"⤍",blacklozenge:"⧫",blacksquare:"▪",blacktriangle:"▴",blacktriangledown:"▾",blacktriangleleft:"◂",blacktriangleright:"▸",blank:"␣",blk12:"▒",blk14:"░",blk34:"▓",block:"█",bne:"=⃥",bnequiv:"≡⃥",bnot:"⌐",bNot:"⫭",bopf:"𝕓",Bopf:"𝔹",bot:"⊥",bottom:"⊥",bowtie:"⋈",boxbox:"⧉",boxdl:"┐",boxdL:"╕",boxDl:"╖",boxDL:"╗",boxdr:"┌",boxdR:"╒",boxDr:"╓",boxDR:"╔",boxh:"─",boxH:"═",boxhd:"┬",boxhD:"╥",boxHd:"╤",boxHD:"╦",boxhu:"┴",boxhU:"╨",boxHu:"╧",boxHU:"╩",boxminus:"⊟",boxplus:"⊞",boxtimes:"⊠",boxul:"┘",boxuL:"╛",boxUl:"╜",boxUL:"╝",boxur:"└",boxuR:"╘",boxUr:"╙",boxUR:"╚",boxv:"│",boxV:"║",boxvh:"┼",boxvH:"╪",boxVh:"╫",boxVH:"╬",boxvl:"┤",boxvL:"╡",boxVl:"╢",boxVL:"╣",boxvr:"├",boxvR:"╞",boxVr:"╟",boxVR:"╠",bprime:"‵",breve:"˘",Breve:"˘",brvbar:"¦",bscr:"𝒷",Bscr:"ℬ",bsemi:"⁏",bsim:"∽",bsime:"⋍",bsol:"\\",bsolb:"⧅",bsolhsub:"⟈",bull:"•",bullet:"•",bump:"≎",bumpe:"≏",bumpE:"⪮",bumpeq:"≏",Bumpeq:"≎",cacute:"ć",Cacute:"Ć",cap:"∩",Cap:"⋒",capand:"⩄",capbrcup:"⩉",capcap:"⩋",capcup:"⩇",capdot:"⩀",CapitalDifferentialD:"ⅅ",caps:"∩︀",caret:"⁁",caron:"ˇ",Cayleys:"ℭ",ccaps:"⩍",ccaron:"č",Ccaron:"Č",ccedil:"ç",Ccedil:"Ç",ccirc:"ĉ",Ccirc:"Ĉ",Cconint:"∰",ccups:"⩌",ccupssm:"⩐",cdot:"ċ",Cdot:"Ċ",cedil:"¸",Cedilla:"¸",cemptyv:"⦲",cent:"¢",centerdot:"·",CenterDot:"·",cfr:"𝔠",Cfr:"ℭ",chcy:"ч",CHcy:"Ч",check:"✓",checkmark:"✓",chi:"χ",Chi:"Χ",cir:"○",circ:"ˆ",circeq:"≗",circlearrowleft:"↺",circlearrowright:"↻",circledast:"⊛",circledcirc:"⊚",circleddash:"⊝",CircleDot:"⊙",circledR:"®",circledS:"Ⓢ",CircleMinus:"⊖",CirclePlus:"⊕",CircleTimes:"⊗",cire:"≗",cirE:"⧃",cirfnint:"⨐",cirmid:"⫯",cirscir:"⧂",ClockwiseContourIntegral:"∲",CloseCurlyDoubleQuote:"”",CloseCurlyQuote:"’",clubs:"♣",clubsuit:"♣",colon:":",Colon:"∷",colone:"≔",Colone:"⩴",coloneq:"≔",comma:",",commat:"@",comp:"∁",compfn:"∘",complement:"∁",complexes:"ℂ",cong:"≅",congdot:"⩭",Congruent:"≡",conint:"∮",Conint:"∯",ContourIntegral:"∮",copf:"𝕔",Copf:"ℂ",coprod:"∐",Coproduct:"∐",copy:"©",COPY:"©",copysr:"℗",CounterClockwiseContourIntegral:"∳",crarr:"↵",cross:"✗",Cross:"⨯",cscr:"𝒸",Cscr:"𝒞",csub:"⫏",csube:"⫑",csup:"⫐",csupe:"⫒",ctdot:"⋯",cudarrl:"⤸",cudarrr:"⤵",cuepr:"⋞",cuesc:"⋟",cularr:"↶",cularrp:"⤽",cup:"∪",Cup:"⋓",cupbrcap:"⩈",cupcap:"⩆",CupCap:"≍",cupcup:"⩊",cupdot:"⊍",cupor:"⩅",cups:"∪︀",curarr:"↷",curarrm:"⤼",curlyeqprec:"⋞",curlyeqsucc:"⋟",curlyvee:"⋎",curlywedge:"⋏",curren:"¤",curvearrowleft:"↶",curvearrowright:"↷",cuvee:"⋎",cuwed:"⋏",cwconint:"∲",cwint:"∱",cylcty:"⌭",dagger:"†",Dagger:"‡",daleth:"ℸ",darr:"↓",dArr:"⇓",Darr:"↡",dash:"‐",dashv:"⊣",Dashv:"⫤",dbkarow:"⤏",dblac:"˝",dcaron:"ď",Dcaron:"Ď",dcy:"д",Dcy:"Д",dd:"ⅆ",DD:"ⅅ",ddagger:"‡",ddarr:"⇊",DDotrahd:"⤑",ddotseq:"⩷",deg:"°",Del:"∇",delta:"δ",Delta:"Δ",demptyv:"⦱",dfisht:"⥿",dfr:"𝔡",Dfr:"𝔇",dHar:"⥥",dharl:"⇃",dharr:"⇂",DiacriticalAcute:"´",DiacriticalDot:"˙",DiacriticalDoubleAcute:"˝",DiacriticalGrave:"`",DiacriticalTilde:"˜",diam:"⋄",diamond:"⋄",Diamond:"⋄",diamondsuit:"♦",diams:"♦",die:"¨",DifferentialD:"ⅆ",digamma:"ϝ",disin:"⋲",div:"÷",divide:"÷",divideontimes:"⋇",divonx:"⋇",djcy:"ђ",DJcy:"Ђ",dlcorn:"⌞",dlcrop:"⌍",dollar:"$",dopf:"𝕕",Dopf:"𝔻",dot:"˙",Dot:"¨",DotDot:"⃜",doteq:"≐",doteqdot:"≑",DotEqual:"≐",dotminus:"∸",dotplus:"∔",dotsquare:"⊡",doublebarwedge:"⌆",DoubleContourIntegral:"∯",DoubleDot:"¨",DoubleDownArrow:"⇓",DoubleLeftArrow:"⇐",DoubleLeftRightArrow:"⇔",DoubleLeftTee:"⫤",DoubleLongLeftArrow:"⟸",DoubleLongLeftRightArrow:"⟺",DoubleLongRightArrow:"⟹",DoubleRightArrow:"⇒",DoubleRightTee:"⊨",DoubleUpArrow:"⇑",DoubleUpDownArrow:"⇕",DoubleVerticalBar:"∥",downarrow:"↓",Downarrow:"⇓",DownArrow:"↓",DownArrowBar:"⤓",DownArrowUpArrow:"⇵",DownBreve:"̑",downdownarrows:"⇊",downharpoonleft:"⇃",downharpoonright:"⇂",DownLeftRightVector:"⥐",DownLeftTeeVector:"⥞",DownLeftVector:"↽",DownLeftVectorBar:"⥖",DownRightTeeVector:"⥟",DownRightVector:"⇁",DownRightVectorBar:"⥗",DownTee:"⊤",DownTeeArrow:"↧",drbkarow:"⤐",drcorn:"⌟",drcrop:"⌌",dscr:"𝒹",Dscr:"𝒟",dscy:"ѕ",DScy:"Ѕ",dsol:"⧶",dstrok:"đ",Dstrok:"Đ",dtdot:"⋱",dtri:"▿",dtrif:"▾",duarr:"⇵",duhar:"⥯",dwangle:"⦦",dzcy:"џ",DZcy:"Џ",dzigrarr:"⟿",eacute:"é",Eacute:"É",easter:"⩮",ecaron:"ě",Ecaron:"Ě",ecir:"≖",ecirc:"ê",Ecirc:"Ê",ecolon:"≕",ecy:"э",Ecy:"Э",eDDot:"⩷",edot:"ė",eDot:"≑",Edot:"Ė",ee:"ⅇ",efDot:"≒",efr:"𝔢",Efr:"𝔈",eg:"⪚",egrave:"è",Egrave:"È",egs:"⪖",egsdot:"⪘",el:"⪙",Element:"∈",elinters:"⏧",ell:"ℓ",els:"⪕",elsdot:"⪗",emacr:"ē",Emacr:"Ē",empty:"∅",emptyset:"∅",EmptySmallSquare:"◻",emptyv:"∅",EmptyVerySmallSquare:"▫",emsp:" ",emsp13:" ",emsp14:" ",eng:"ŋ",ENG:"Ŋ",ensp:" ",eogon:"ę",Eogon:"Ę",eopf:"𝕖",Eopf:"𝔼",epar:"⋕",eparsl:"⧣",eplus:"⩱",epsi:"ε",epsilon:"ε",Epsilon:"Ε",epsiv:"ϵ",eqcirc:"≖",eqcolon:"≕",eqsim:"≂",eqslantgtr:"⪖",eqslantless:"⪕",Equal:"⩵",equals:"=",EqualTilde:"≂",equest:"≟",Equilibrium:"⇌",equiv:"≡",equivDD:"⩸",eqvparsl:"⧥",erarr:"⥱",erDot:"≓",escr:"ℯ",Escr:"ℰ",esdot:"≐",esim:"≂",Esim:"⩳",eta:"η",Eta:"Η",eth:"ð",ETH:"Ð",euml:"ë",Euml:"Ë",euro:"€",excl:"!",exist:"∃",Exists:"∃",expectation:"ℰ",exponentiale:"ⅇ",ExponentialE:"ⅇ",fallingdotseq:"≒",fcy:"ф",Fcy:"Ф",female:"♀",ffilig:"ffi",fflig:"ff",ffllig:"ffl",ffr:"𝔣",Ffr:"𝔉",filig:"fi",FilledSmallSquare:"◼",FilledVerySmallSquare:"▪",fjlig:"fj",flat:"♭",fllig:"fl",fltns:"▱",fnof:"ƒ",fopf:"𝕗",Fopf:"𝔽",forall:"∀",ForAll:"∀",fork:"⋔",forkv:"⫙",Fouriertrf:"ℱ",fpartint:"⨍",frac12:"½",frac13:"⅓",frac14:"¼",frac15:"⅕",frac16:"⅙",frac18:"⅛",frac23:"⅔",frac25:"⅖",frac34:"¾",frac35:"⅗",frac38:"⅜",frac45:"⅘",frac56:"⅚",frac58:"⅝",frac78:"⅞",frasl:"⁄",frown:"⌢",fscr:"𝒻",Fscr:"ℱ",gacute:"ǵ",gamma:"γ",Gamma:"Γ",gammad:"ϝ",Gammad:"Ϝ",gap:"⪆",gbreve:"ğ",Gbreve:"Ğ",Gcedil:"Ģ",gcirc:"ĝ",Gcirc:"Ĝ",gcy:"г",Gcy:"Г",gdot:"ġ",Gdot:"Ġ",ge:"≥",gE:"≧",gel:"⋛",gEl:"⪌",geq:"≥",geqq:"≧",geqslant:"⩾",ges:"⩾",gescc:"⪩",gesdot:"⪀",gesdoto:"⪂",gesdotol:"⪄",gesl:"⋛︀",gesles:"⪔",gfr:"𝔤",Gfr:"𝔊",gg:"≫",Gg:"⋙",ggg:"⋙",gimel:"ℷ",gjcy:"ѓ",GJcy:"Ѓ",gl:"≷",gla:"⪥",glE:"⪒",glj:"⪤",gnap:"⪊",gnapprox:"⪊",gne:"⪈",gnE:"≩",gneq:"⪈",gneqq:"≩",gnsim:"⋧",gopf:"𝕘",Gopf:"𝔾",grave:"`",GreaterEqual:"≥",GreaterEqualLess:"⋛",GreaterFullEqual:"≧",GreaterGreater:"⪢",GreaterLess:"≷",GreaterSlantEqual:"⩾",GreaterTilde:"≳",gscr:"ℊ",Gscr:"𝒢",gsim:"≳",gsime:"⪎",gsiml:"⪐",gt:">",Gt:"≫",GT:">",gtcc:"⪧",gtcir:"⩺",gtdot:"⋗",gtlPar:"⦕",gtquest:"⩼",gtrapprox:"⪆",gtrarr:"⥸",gtrdot:"⋗",gtreqless:"⋛",gtreqqless:"⪌",gtrless:"≷",gtrsim:"≳",gvertneqq:"≩︀",gvnE:"≩︀",Hacek:"ˇ",hairsp:" ",half:"½",hamilt:"ℋ",hardcy:"ъ",HARDcy:"Ъ",harr:"↔",hArr:"⇔",harrcir:"⥈",harrw:"↭",Hat:"^",hbar:"ℏ",hcirc:"ĥ",Hcirc:"Ĥ",hearts:"♥",heartsuit:"♥",hellip:"…",hercon:"⊹",hfr:"𝔥",Hfr:"ℌ",HilbertSpace:"ℋ",hksearow:"⤥",hkswarow:"⤦",hoarr:"⇿",homtht:"∻",hookleftarrow:"↩",hookrightarrow:"↪",hopf:"𝕙",Hopf:"ℍ",horbar:"―",HorizontalLine:"─",hscr:"𝒽",Hscr:"ℋ",hslash:"ℏ",hstrok:"ħ",Hstrok:"Ħ",HumpDownHump:"≎",HumpEqual:"≏",hybull:"⁃",hyphen:"‐",iacute:"í",Iacute:"Í",ic:"⁣",icirc:"î",Icirc:"Î",icy:"и",Icy:"И",Idot:"İ",iecy:"е",IEcy:"Е",iexcl:"¡",iff:"⇔",ifr:"𝔦",Ifr:"ℑ",igrave:"ì",Igrave:"Ì",ii:"ⅈ",iiiint:"⨌",iiint:"∭",iinfin:"⧜",iiota:"℩",ijlig:"ij",IJlig:"IJ",Im:"ℑ",imacr:"ī",Imacr:"Ī",image:"ℑ",ImaginaryI:"ⅈ",imagline:"ℐ",imagpart:"ℑ",imath:"ı",imof:"⊷",imped:"Ƶ",Implies:"⇒",in:"∈",incare:"℅",infin:"∞",infintie:"⧝",inodot:"ı",int:"∫",Int:"∬",intcal:"⊺",integers:"ℤ",Integral:"∫",intercal:"⊺",Intersection:"⋂",intlarhk:"⨗",intprod:"⨼",InvisibleComma:"⁣",InvisibleTimes:"⁢",iocy:"ё",IOcy:"Ё",iogon:"į",Iogon:"Į",iopf:"𝕚",Iopf:"𝕀",iota:"ι",Iota:"Ι",iprod:"⨼",iquest:"¿",iscr:"𝒾",Iscr:"ℐ",isin:"∈",isindot:"⋵",isinE:"⋹",isins:"⋴",isinsv:"⋳",isinv:"∈",it:"⁢",itilde:"ĩ",Itilde:"Ĩ",iukcy:"і",Iukcy:"І",iuml:"ï",Iuml:"Ï",jcirc:"ĵ",Jcirc:"Ĵ",jcy:"й",Jcy:"Й",jfr:"𝔧",Jfr:"𝔍",jmath:"ȷ",jopf:"𝕛",Jopf:"𝕁",jscr:"𝒿",Jscr:"𝒥",jsercy:"ј",Jsercy:"Ј",jukcy:"є",Jukcy:"Є",kappa:"κ",Kappa:"Κ",kappav:"ϰ",kcedil:"ķ",Kcedil:"Ķ",kcy:"к",Kcy:"К",kfr:"𝔨",Kfr:"𝔎",kgreen:"ĸ",khcy:"х",KHcy:"Х",kjcy:"ќ",KJcy:"Ќ",kopf:"𝕜",Kopf:"𝕂",kscr:"𝓀",Kscr:"𝒦",lAarr:"⇚",lacute:"ĺ",Lacute:"Ĺ",laemptyv:"⦴",lagran:"ℒ",lambda:"λ",Lambda:"Λ",lang:"⟨",Lang:"⟪",langd:"⦑",langle:"⟨",lap:"⪅",Laplacetrf:"ℒ",laquo:"«",larr:"←",lArr:"⇐",Larr:"↞",larrb:"⇤",larrbfs:"⤟",larrfs:"⤝",larrhk:"↩",larrlp:"↫",larrpl:"⤹",larrsim:"⥳",larrtl:"↢",lat:"⪫",latail:"⤙",lAtail:"⤛",late:"⪭",lates:"⪭︀",lbarr:"⤌",lBarr:"⤎",lbbrk:"❲",lbrace:"{",lbrack:"[",lbrke:"⦋",lbrksld:"⦏",lbrkslu:"⦍",lcaron:"ľ",Lcaron:"Ľ",lcedil:"ļ",Lcedil:"Ļ",lceil:"⌈",lcub:"{",lcy:"л",Lcy:"Л",ldca:"⤶",ldquo:"“",ldquor:"„",ldrdhar:"⥧",ldrushar:"⥋",ldsh:"↲",le:"≤",lE:"≦",LeftAngleBracket:"⟨",leftarrow:"←",Leftarrow:"⇐",LeftArrow:"←",LeftArrowBar:"⇤",LeftArrowRightArrow:"⇆",leftarrowtail:"↢",LeftCeiling:"⌈",LeftDoubleBracket:"⟦",LeftDownTeeVector:"⥡",LeftDownVector:"⇃",LeftDownVectorBar:"⥙",LeftFloor:"⌊",leftharpoondown:"↽",leftharpoonup:"↼",leftleftarrows:"⇇",leftrightarrow:"↔",Leftrightarrow:"⇔",LeftRightArrow:"↔",leftrightarrows:"⇆",leftrightharpoons:"⇋",leftrightsquigarrow:"↭",LeftRightVector:"⥎",LeftTee:"⊣",LeftTeeArrow:"↤",LeftTeeVector:"⥚",leftthreetimes:"⋋",LeftTriangle:"⊲",LeftTriangleBar:"⧏",LeftTriangleEqual:"⊴",LeftUpDownVector:"⥑",LeftUpTeeVector:"⥠",LeftUpVector:"↿",LeftUpVectorBar:"⥘",LeftVector:"↼",LeftVectorBar:"⥒",leg:"⋚",lEg:"⪋",leq:"≤",leqq:"≦",leqslant:"⩽",les:"⩽",lescc:"⪨",lesdot:"⩿",lesdoto:"⪁",lesdotor:"⪃",lesg:"⋚︀",lesges:"⪓",lessapprox:"⪅",lessdot:"⋖",lesseqgtr:"⋚",lesseqqgtr:"⪋",LessEqualGreater:"⋚",LessFullEqual:"≦",LessGreater:"≶",lessgtr:"≶",LessLess:"⪡",lesssim:"≲",LessSlantEqual:"⩽",LessTilde:"≲",lfisht:"⥼",lfloor:"⌊",lfr:"𝔩",Lfr:"𝔏",lg:"≶",lgE:"⪑",lHar:"⥢",lhard:"↽",lharu:"↼",lharul:"⥪",lhblk:"▄",ljcy:"љ",LJcy:"Љ",ll:"≪",Ll:"⋘",llarr:"⇇",llcorner:"⌞",Lleftarrow:"⇚",llhard:"⥫",lltri:"◺",lmidot:"ŀ",Lmidot:"Ŀ",lmoust:"⎰",lmoustache:"⎰",lnap:"⪉",lnapprox:"⪉",lne:"⪇",lnE:"≨",lneq:"⪇",lneqq:"≨",lnsim:"⋦",loang:"⟬",loarr:"⇽",lobrk:"⟦",longleftarrow:"⟵",Longleftarrow:"⟸",LongLeftArrow:"⟵",longleftrightarrow:"⟷",Longleftrightarrow:"⟺",LongLeftRightArrow:"⟷",longmapsto:"⟼",longrightarrow:"⟶",Longrightarrow:"⟹",LongRightArrow:"⟶",looparrowleft:"↫",looparrowright:"↬",lopar:"⦅",lopf:"𝕝",Lopf:"𝕃",loplus:"⨭",lotimes:"⨴",lowast:"∗",lowbar:"_",LowerLeftArrow:"↙",LowerRightArrow:"↘",loz:"◊",lozenge:"◊",lozf:"⧫",lpar:"(",lparlt:"⦓",lrarr:"⇆",lrcorner:"⌟",lrhar:"⇋",lrhard:"⥭",lrm:"‎",lrtri:"⊿",lsaquo:"‹",lscr:"𝓁",Lscr:"ℒ",lsh:"↰",Lsh:"↰",lsim:"≲",lsime:"⪍",lsimg:"⪏",lsqb:"[",lsquo:"‘",lsquor:"‚",lstrok:"ł",Lstrok:"Ł",lt:"<",Lt:"≪",LT:"<",ltcc:"⪦",ltcir:"⩹",ltdot:"⋖",lthree:"⋋",ltimes:"⋉",ltlarr:"⥶",ltquest:"⩻",ltri:"◃",ltrie:"⊴",ltrif:"◂",ltrPar:"⦖",lurdshar:"⥊",luruhar:"⥦",lvertneqq:"≨︀",lvnE:"≨︀",macr:"¯",male:"♂",malt:"✠",maltese:"✠",map:"↦",Map:"⤅",mapsto:"↦",mapstodown:"↧",mapstoleft:"↤",mapstoup:"↥",marker:"▮",mcomma:"⨩",mcy:"м",Mcy:"М",mdash:"—",mDDot:"∺",measuredangle:"∡",MediumSpace:" ",Mellintrf:"ℳ",mfr:"𝔪",Mfr:"𝔐",mho:"℧",micro:"µ",mid:"∣",midast:"*",midcir:"⫰",middot:"·",minus:"−",minusb:"⊟",minusd:"∸",minusdu:"⨪",MinusPlus:"∓",mlcp:"⫛",mldr:"…",mnplus:"∓",models:"⊧",mopf:"𝕞",Mopf:"𝕄",mp:"∓",mscr:"𝓂",Mscr:"ℳ",mstpos:"∾",mu:"μ",Mu:"Μ",multimap:"⊸",mumap:"⊸",nabla:"∇",nacute:"ń",Nacute:"Ń",nang:"∠⃒",nap:"≉",napE:"⩰̸",napid:"≋̸",napos:"ʼn",napprox:"≉",natur:"♮",natural:"♮",naturals:"ℕ",nbsp:" ",nbump:"≎̸",nbumpe:"≏̸",ncap:"⩃",ncaron:"ň",Ncaron:"Ň",ncedil:"ņ",Ncedil:"Ņ",ncong:"≇",ncongdot:"⩭̸",ncup:"⩂",ncy:"н",Ncy:"Н",ndash:"–",ne:"≠",nearhk:"⤤",nearr:"↗",neArr:"⇗",nearrow:"↗",nedot:"≐̸",NegativeMediumSpace:"​",NegativeThickSpace:"​",NegativeThinSpace:"​",NegativeVeryThinSpace:"​",nequiv:"≢",nesear:"⤨",nesim:"≂̸",NestedGreaterGreater:"≫",NestedLessLess:"≪",NewLine:"\n",nexist:"∄",nexists:"∄",nfr:"𝔫",Nfr:"𝔑",nge:"≱",ngE:"≧̸",ngeq:"≱",ngeqq:"≧̸",ngeqslant:"⩾̸",nges:"⩾̸",nGg:"⋙̸",ngsim:"≵",ngt:"≯",nGt:"≫⃒",ngtr:"≯",nGtv:"≫̸",nharr:"↮",nhArr:"⇎",nhpar:"⫲",ni:"∋",nis:"⋼",nisd:"⋺",niv:"∋",njcy:"њ",NJcy:"Њ",nlarr:"↚",nlArr:"⇍",nldr:"‥",nle:"≰",nlE:"≦̸",nleftarrow:"↚",nLeftarrow:"⇍",nleftrightarrow:"↮",nLeftrightarrow:"⇎",nleq:"≰",nleqq:"≦̸",nleqslant:"⩽̸",nles:"⩽̸",nless:"≮",nLl:"⋘̸",nlsim:"≴",nlt:"≮",nLt:"≪⃒",nltri:"⋪",nltrie:"⋬",nLtv:"≪̸",nmid:"∤",NoBreak:"⁠",NonBreakingSpace:" ",nopf:"𝕟",Nopf:"ℕ",not:"¬",Not:"⫬",NotCongruent:"≢",NotCupCap:"≭",NotDoubleVerticalBar:"∦",NotElement:"∉",NotEqual:"≠",NotEqualTilde:"≂̸",NotExists:"∄",NotGreater:"≯",NotGreaterEqual:"≱",NotGreaterFullEqual:"≧̸",NotGreaterGreater:"≫̸",NotGreaterLess:"≹",NotGreaterSlantEqual:"⩾̸",NotGreaterTilde:"≵",NotHumpDownHump:"≎̸",NotHumpEqual:"≏̸",notin:"∉",notindot:"⋵̸",notinE:"⋹̸",notinva:"∉",notinvb:"⋷",notinvc:"⋶",NotLeftTriangle:"⋪",NotLeftTriangleBar:"⧏̸",NotLeftTriangleEqual:"⋬",NotLess:"≮",NotLessEqual:"≰",NotLessGreater:"≸",NotLessLess:"≪̸",NotLessSlantEqual:"⩽̸",NotLessTilde:"≴",NotNestedGreaterGreater:"⪢̸",NotNestedLessLess:"⪡̸",notni:"∌",notniva:"∌",notnivb:"⋾",notnivc:"⋽",NotPrecedes:"⊀",NotPrecedesEqual:"⪯̸",NotPrecedesSlantEqual:"⋠",NotReverseElement:"∌",NotRightTriangle:"⋫",NotRightTriangleBar:"⧐̸",NotRightTriangleEqual:"⋭",NotSquareSubset:"⊏̸",NotSquareSubsetEqual:"⋢",NotSquareSuperset:"⊐̸",NotSquareSupersetEqual:"⋣",NotSubset:"⊂⃒",NotSubsetEqual:"⊈",NotSucceeds:"⊁",NotSucceedsEqual:"⪰̸",NotSucceedsSlantEqual:"⋡",NotSucceedsTilde:"≿̸",NotSuperset:"⊃⃒",NotSupersetEqual:"⊉",NotTilde:"≁",NotTildeEqual:"≄",NotTildeFullEqual:"≇",NotTildeTilde:"≉",NotVerticalBar:"∤",npar:"∦",nparallel:"∦",nparsl:"⫽⃥",npart:"∂̸",npolint:"⨔",npr:"⊀",nprcue:"⋠",npre:"⪯̸",nprec:"⊀",npreceq:"⪯̸",nrarr:"↛",nrArr:"⇏",nrarrc:"⤳̸",nrarrw:"↝̸",nrightarrow:"↛",nRightarrow:"⇏",nrtri:"⋫",nrtrie:"⋭",nsc:"⊁",nsccue:"⋡",nsce:"⪰̸",nscr:"𝓃",Nscr:"𝒩",nshortmid:"∤",nshortparallel:"∦",nsim:"≁",nsime:"≄",nsimeq:"≄",nsmid:"∤",nspar:"∦",nsqsube:"⋢",nsqsupe:"⋣",nsub:"⊄",nsube:"⊈",nsubE:"⫅̸",nsubset:"⊂⃒",nsubseteq:"⊈",nsubseteqq:"⫅̸",nsucc:"⊁",nsucceq:"⪰̸",nsup:"⊅",nsupe:"⊉",nsupE:"⫆̸",nsupset:"⊃⃒",nsupseteq:"⊉",nsupseteqq:"⫆̸",ntgl:"≹",ntilde:"ñ",Ntilde:"Ñ",ntlg:"≸",ntriangleleft:"⋪",ntrianglelefteq:"⋬",ntriangleright:"⋫",ntrianglerighteq:"⋭",nu:"ν",Nu:"Ν",num:"#",numero:"№",numsp:" ",nvap:"≍⃒",nvdash:"⊬",nvDash:"⊭",nVdash:"⊮",nVDash:"⊯",nvge:"≥⃒",nvgt:">⃒",nvHarr:"⤄",nvinfin:"⧞",nvlArr:"⤂",nvle:"≤⃒",nvlt:"<⃒",nvltrie:"⊴⃒",nvrArr:"⤃",nvrtrie:"⊵⃒",nvsim:"∼⃒",nwarhk:"⤣",nwarr:"↖",nwArr:"⇖",nwarrow:"↖",nwnear:"⤧",oacute:"ó",Oacute:"Ó",oast:"⊛",ocir:"⊚",ocirc:"ô",Ocirc:"Ô",ocy:"о",Ocy:"О",odash:"⊝",odblac:"ő",Odblac:"Ő",odiv:"⨸",odot:"⊙",odsold:"⦼",oelig:"œ",OElig:"Œ",ofcir:"⦿",ofr:"𝔬",Ofr:"𝔒",ogon:"˛",ograve:"ò",Ograve:"Ò",ogt:"⧁",ohbar:"⦵",ohm:"Ω",oint:"∮",olarr:"↺",olcir:"⦾",olcross:"⦻",oline:"‾",olt:"⧀",omacr:"ō",Omacr:"Ō",omega:"ω",Omega:"Ω",omicron:"ο",Omicron:"Ο",omid:"⦶",ominus:"⊖",oopf:"𝕠",Oopf:"𝕆",opar:"⦷",OpenCurlyDoubleQuote:"“",OpenCurlyQuote:"‘",operp:"⦹",oplus:"⊕",or:"∨",Or:"⩔",orarr:"↻",ord:"⩝",order:"ℴ",orderof:"ℴ",ordf:"ª",ordm:"º",origof:"⊶",oror:"⩖",orslope:"⩗",orv:"⩛",oS:"Ⓢ",oscr:"ℴ",Oscr:"𝒪",oslash:"ø",Oslash:"Ø",osol:"⊘",otilde:"õ",Otilde:"Õ",otimes:"⊗",Otimes:"⨷",otimesas:"⨶",ouml:"ö",Ouml:"Ö",ovbar:"⌽",OverBar:"‾",OverBrace:"⏞",OverBracket:"⎴",OverParenthesis:"⏜",par:"∥",para:"¶",parallel:"∥",parsim:"⫳",parsl:"⫽",part:"∂",PartialD:"∂",pcy:"п",Pcy:"П",percnt:"%",period:".",permil:"‰",perp:"⊥",pertenk:"‱",pfr:"𝔭",Pfr:"𝔓",phi:"φ",Phi:"Φ",phiv:"ϕ",phmmat:"ℳ",phone:"☎",pi:"π",Pi:"Π",pitchfork:"⋔",piv:"ϖ",planck:"ℏ",planckh:"ℎ",plankv:"ℏ",plus:"+",plusacir:"⨣",plusb:"⊞",pluscir:"⨢",plusdo:"∔",plusdu:"⨥",pluse:"⩲",PlusMinus:"±",plusmn:"±",plussim:"⨦",plustwo:"⨧",pm:"±",Poincareplane:"ℌ",pointint:"⨕",popf:"𝕡",Popf:"ℙ",pound:"£",pr:"≺",Pr:"⪻",prap:"⪷",prcue:"≼",pre:"⪯",prE:"⪳",prec:"≺",precapprox:"⪷",preccurlyeq:"≼",Precedes:"≺",PrecedesEqual:"⪯",PrecedesSlantEqual:"≼",PrecedesTilde:"≾",preceq:"⪯",precnapprox:"⪹",precneqq:"⪵",precnsim:"⋨",precsim:"≾",prime:"′",Prime:"″",primes:"ℙ",prnap:"⪹",prnE:"⪵",prnsim:"⋨",prod:"∏",Product:"∏",profalar:"⌮",profline:"⌒",profsurf:"⌓",prop:"∝",Proportion:"∷",Proportional:"∝",propto:"∝",prsim:"≾",prurel:"⊰",pscr:"𝓅",Pscr:"𝒫",psi:"ψ",Psi:"Ψ",puncsp:" ",qfr:"𝔮",Qfr:"𝔔",qint:"⨌",qopf:"𝕢",Qopf:"ℚ",qprime:"⁗",qscr:"𝓆",Qscr:"𝒬",quaternions:"ℍ",quatint:"⨖",quest:"?",questeq:"≟",quot:'"',QUOT:'"',rAarr:"⇛",race:"∽̱",racute:"ŕ",Racute:"Ŕ",radic:"√",raemptyv:"⦳",rang:"⟩",Rang:"⟫",rangd:"⦒",range:"⦥",rangle:"⟩",raquo:"»",rarr:"→",rArr:"⇒",Rarr:"↠",rarrap:"⥵",rarrb:"⇥",rarrbfs:"⤠",rarrc:"⤳",rarrfs:"⤞",rarrhk:"↪",rarrlp:"↬",rarrpl:"⥅",rarrsim:"⥴",rarrtl:"↣",Rarrtl:"⤖",rarrw:"↝",ratail:"⤚",rAtail:"⤜",ratio:"∶",rationals:"ℚ",rbarr:"⤍",rBarr:"⤏",RBarr:"⤐",rbbrk:"❳",rbrace:"}",rbrack:"]",rbrke:"⦌",rbrksld:"⦎",rbrkslu:"⦐",rcaron:"ř",Rcaron:"Ř",rcedil:"ŗ",Rcedil:"Ŗ",rceil:"⌉",rcub:"}",rcy:"р",Rcy:"Р",rdca:"⤷",rdldhar:"⥩",rdquo:"”",rdquor:"”",rdsh:"↳",Re:"ℜ",real:"ℜ",realine:"ℛ",realpart:"ℜ",reals:"ℝ",rect:"▭",reg:"®",REG:"®",ReverseElement:"∋",ReverseEquilibrium:"⇋",ReverseUpEquilibrium:"⥯",rfisht:"⥽",rfloor:"⌋",rfr:"𝔯",Rfr:"ℜ",rHar:"⥤",rhard:"⇁",rharu:"⇀",rharul:"⥬",rho:"ρ",Rho:"Ρ",rhov:"ϱ",RightAngleBracket:"⟩",rightarrow:"→",Rightarrow:"⇒",RightArrow:"→",RightArrowBar:"⇥",RightArrowLeftArrow:"⇄",rightarrowtail:"↣",RightCeiling:"⌉",RightDoubleBracket:"⟧",RightDownTeeVector:"⥝",RightDownVector:"⇂",RightDownVectorBar:"⥕",RightFloor:"⌋",rightharpoondown:"⇁",rightharpoonup:"⇀",rightleftarrows:"⇄",rightleftharpoons:"⇌",rightrightarrows:"⇉",rightsquigarrow:"↝",RightTee:"⊢",RightTeeArrow:"↦",RightTeeVector:"⥛",rightthreetimes:"⋌",RightTriangle:"⊳",RightTriangleBar:"⧐",RightTriangleEqual:"⊵",RightUpDownVector:"⥏",RightUpTeeVector:"⥜",RightUpVector:"↾",RightUpVectorBar:"⥔",RightVector:"⇀",RightVectorBar:"⥓",ring:"˚",risingdotseq:"≓",rlarr:"⇄",rlhar:"⇌",rlm:"‏",rmoust:"⎱",rmoustache:"⎱",rnmid:"⫮",roang:"⟭",roarr:"⇾",robrk:"⟧",ropar:"⦆",ropf:"𝕣",Ropf:"ℝ",roplus:"⨮",rotimes:"⨵",RoundImplies:"⥰",rpar:")",rpargt:"⦔",rppolint:"⨒",rrarr:"⇉",Rrightarrow:"⇛",rsaquo:"›",rscr:"𝓇",Rscr:"ℛ",rsh:"↱",Rsh:"↱",rsqb:"]",rsquo:"’",rsquor:"’",rthree:"⋌",rtimes:"⋊",rtri:"▹",rtrie:"⊵",rtrif:"▸",rtriltri:"⧎",RuleDelayed:"⧴",ruluhar:"⥨",rx:"℞",sacute:"ś",Sacute:"Ś",sbquo:"‚",sc:"≻",Sc:"⪼",scap:"⪸",scaron:"š",Scaron:"Š",sccue:"≽",sce:"⪰",scE:"⪴",scedil:"ş",Scedil:"Ş",scirc:"ŝ",Scirc:"Ŝ",scnap:"⪺",scnE:"⪶",scnsim:"⋩",scpolint:"⨓",scsim:"≿",scy:"с",Scy:"С",sdot:"⋅",sdotb:"⊡",sdote:"⩦",searhk:"⤥",searr:"↘",seArr:"⇘",searrow:"↘",sect:"§",semi:";",seswar:"⤩",setminus:"∖",setmn:"∖",sext:"✶",sfr:"𝔰",Sfr:"𝔖",sfrown:"⌢",sharp:"♯",shchcy:"щ",SHCHcy:"Щ",shcy:"ш",SHcy:"Ш",ShortDownArrow:"↓",ShortLeftArrow:"←",shortmid:"∣",shortparallel:"∥",ShortRightArrow:"→",ShortUpArrow:"↑",shy:"­",sigma:"σ",Sigma:"Σ",sigmaf:"ς",sigmav:"ς",sim:"∼",simdot:"⩪",sime:"≃",simeq:"≃",simg:"⪞",simgE:"⪠",siml:"⪝",simlE:"⪟",simne:"≆",simplus:"⨤",simrarr:"⥲",slarr:"←",SmallCircle:"∘",smallsetminus:"∖",smashp:"⨳",smeparsl:"⧤",smid:"∣",smile:"⌣",smt:"⪪",smte:"⪬",smtes:"⪬︀",softcy:"ь",SOFTcy:"Ь",sol:"/",solb:"⧄",solbar:"⌿",sopf:"𝕤",Sopf:"𝕊",spades:"♠",spadesuit:"♠",spar:"∥",sqcap:"⊓",sqcaps:"⊓︀",sqcup:"⊔",sqcups:"⊔︀",Sqrt:"√",sqsub:"⊏",sqsube:"⊑",sqsubset:"⊏",sqsubseteq:"⊑",sqsup:"⊐",sqsupe:"⊒",sqsupset:"⊐",sqsupseteq:"⊒",squ:"□",square:"□",Square:"□",SquareIntersection:"⊓",SquareSubset:"⊏",SquareSubsetEqual:"⊑",SquareSuperset:"⊐",SquareSupersetEqual:"⊒",SquareUnion:"⊔",squarf:"▪",squf:"▪",srarr:"→",sscr:"𝓈",Sscr:"𝒮",ssetmn:"∖",ssmile:"⌣",sstarf:"⋆",star:"☆",Star:"⋆",starf:"★",straightepsilon:"ϵ",straightphi:"ϕ",strns:"¯",sub:"⊂",Sub:"⋐",subdot:"⪽",sube:"⊆",subE:"⫅",subedot:"⫃",submult:"⫁",subne:"⊊",subnE:"⫋",subplus:"⪿",subrarr:"⥹",subset:"⊂",Subset:"⋐",subseteq:"⊆",subseteqq:"⫅",SubsetEqual:"⊆",subsetneq:"⊊",subsetneqq:"⫋",subsim:"⫇",subsub:"⫕",subsup:"⫓",succ:"≻",succapprox:"⪸",succcurlyeq:"≽",Succeeds:"≻",SucceedsEqual:"⪰",SucceedsSlantEqual:"≽",SucceedsTilde:"≿",succeq:"⪰",succnapprox:"⪺",succneqq:"⪶",succnsim:"⋩",succsim:"≿",SuchThat:"∋",sum:"∑",Sum:"∑",sung:"♪",sup:"⊃",Sup:"⋑",sup1:"¹",sup2:"²",sup3:"³",supdot:"⪾",supdsub:"⫘",supe:"⊇",supE:"⫆",supedot:"⫄",Superset:"⊃",SupersetEqual:"⊇",suphsol:"⟉",suphsub:"⫗",suplarr:"⥻",supmult:"⫂",supne:"⊋",supnE:"⫌",supplus:"⫀",supset:"⊃",Supset:"⋑",supseteq:"⊇",supseteqq:"⫆",supsetneq:"⊋",supsetneqq:"⫌",supsim:"⫈",supsub:"⫔",supsup:"⫖",swarhk:"⤦",swarr:"↙",swArr:"⇙",swarrow:"↙",swnwar:"⤪",szlig:"ß",Tab:"\t",target:"⌖",tau:"τ",Tau:"Τ",tbrk:"⎴",tcaron:"ť",Tcaron:"Ť",tcedil:"ţ",Tcedil:"Ţ",tcy:"т",Tcy:"Т",tdot:"⃛",telrec:"⌕",tfr:"𝔱",Tfr:"𝔗",there4:"∴",therefore:"∴",Therefore:"∴",theta:"θ",Theta:"Θ",thetasym:"ϑ",thetav:"ϑ",thickapprox:"≈",thicksim:"∼",ThickSpace:"  ",thinsp:" ",ThinSpace:" ",thkap:"≈",thksim:"∼",thorn:"þ",THORN:"Þ",tilde:"˜",Tilde:"∼",TildeEqual:"≃",TildeFullEqual:"≅",TildeTilde:"≈",times:"×",timesb:"⊠",timesbar:"⨱",timesd:"⨰",tint:"∭",toea:"⤨",top:"⊤",topbot:"⌶",topcir:"⫱",topf:"𝕥",Topf:"𝕋",topfork:"⫚",tosa:"⤩",tprime:"‴",trade:"™",TRADE:"™",triangle:"▵",triangledown:"▿",triangleleft:"◃",trianglelefteq:"⊴",triangleq:"≜",triangleright:"▹",trianglerighteq:"⊵",tridot:"◬",trie:"≜",triminus:"⨺",TripleDot:"⃛",triplus:"⨹",trisb:"⧍",tritime:"⨻",trpezium:"⏢",tscr:"𝓉",Tscr:"𝒯",tscy:"ц",TScy:"Ц",tshcy:"ћ",TSHcy:"Ћ",tstrok:"ŧ",Tstrok:"Ŧ",twixt:"≬",twoheadleftarrow:"↞",twoheadrightarrow:"↠",uacute:"ú",Uacute:"Ú",uarr:"↑",uArr:"⇑",Uarr:"↟",Uarrocir:"⥉",ubrcy:"ў",Ubrcy:"Ў",ubreve:"ŭ",Ubreve:"Ŭ",ucirc:"û",Ucirc:"Û",ucy:"у",Ucy:"У",udarr:"⇅",udblac:"ű",Udblac:"Ű",udhar:"⥮",ufisht:"⥾",ufr:"𝔲",Ufr:"𝔘",ugrave:"ù",Ugrave:"Ù",uHar:"⥣",uharl:"↿",uharr:"↾",uhblk:"▀",ulcorn:"⌜",ulcorner:"⌜",ulcrop:"⌏",ultri:"◸",umacr:"ū",Umacr:"Ū",uml:"¨",UnderBar:"_",UnderBrace:"⏟",UnderBracket:"⎵",UnderParenthesis:"⏝",Union:"⋃",UnionPlus:"⊎",uogon:"ų",Uogon:"Ų",uopf:"𝕦",Uopf:"𝕌",uparrow:"↑",Uparrow:"⇑",UpArrow:"↑",UpArrowBar:"⤒",UpArrowDownArrow:"⇅",updownarrow:"↕",Updownarrow:"⇕",UpDownArrow:"↕",UpEquilibrium:"⥮",upharpoonleft:"↿",upharpoonright:"↾",uplus:"⊎",UpperLeftArrow:"↖",UpperRightArrow:"↗",upsi:"υ",Upsi:"ϒ",upsih:"ϒ",upsilon:"υ",Upsilon:"Υ",UpTee:"⊥",UpTeeArrow:"↥",upuparrows:"⇈",urcorn:"⌝",urcorner:"⌝",urcrop:"⌎",uring:"ů",Uring:"Ů",urtri:"◹",uscr:"𝓊",Uscr:"𝒰",utdot:"⋰",utilde:"ũ",Utilde:"Ũ",utri:"▵",utrif:"▴",uuarr:"⇈",uuml:"ü",Uuml:"Ü",uwangle:"⦧",vangrt:"⦜",varepsilon:"ϵ",varkappa:"ϰ",varnothing:"∅",varphi:"ϕ",varpi:"ϖ",varpropto:"∝",varr:"↕",vArr:"⇕",varrho:"ϱ",varsigma:"ς",varsubsetneq:"⊊︀",varsubsetneqq:"⫋︀",varsupsetneq:"⊋︀",varsupsetneqq:"⫌︀",vartheta:"ϑ",vartriangleleft:"⊲",vartriangleright:"⊳",vBar:"⫨",Vbar:"⫫",vBarv:"⫩",vcy:"в",Vcy:"В",vdash:"⊢",vDash:"⊨",Vdash:"⊩",VDash:"⊫",Vdashl:"⫦",vee:"∨",Vee:"⋁",veebar:"⊻",veeeq:"≚",vellip:"⋮",verbar:"|",Verbar:"‖",vert:"|",Vert:"‖",VerticalBar:"∣",VerticalLine:"|",VerticalSeparator:"❘",VerticalTilde:"≀",VeryThinSpace:" ",vfr:"𝔳",Vfr:"𝔙",vltri:"⊲",vnsub:"⊂⃒",vnsup:"⊃⃒",vopf:"𝕧",Vopf:"𝕍",vprop:"∝",vrtri:"⊳",vscr:"𝓋",Vscr:"𝒱",vsubne:"⊊︀",vsubnE:"⫋︀",vsupne:"⊋︀",vsupnE:"⫌︀",Vvdash:"⊪",vzigzag:"⦚",wcirc:"ŵ",Wcirc:"Ŵ",wedbar:"⩟",wedge:"∧",Wedge:"⋀",wedgeq:"≙",weierp:"℘",wfr:"𝔴",Wfr:"𝔚",wopf:"𝕨",Wopf:"𝕎",wp:"℘",wr:"≀",wreath:"≀",wscr:"𝓌",Wscr:"𝒲",xcap:"⋂",xcirc:"◯",xcup:"⋃",xdtri:"▽",xfr:"𝔵",Xfr:"𝔛",xharr:"⟷",xhArr:"⟺",xi:"ξ",Xi:"Ξ",xlarr:"⟵",xlArr:"⟸",xmap:"⟼",xnis:"⋻",xodot:"⨀",xopf:"𝕩",Xopf:"𝕏",xoplus:"⨁",xotime:"⨂",xrarr:"⟶",xrArr:"⟹",xscr:"𝓍",Xscr:"𝒳",xsqcup:"⨆",xuplus:"⨄",xutri:"△",xvee:"⋁",xwedge:"⋀",yacute:"ý",Yacute:"Ý",yacy:"я",YAcy:"Я",ycirc:"ŷ",Ycirc:"Ŷ",ycy:"ы",Ycy:"Ы",yen:"¥",yfr:"𝔶",Yfr:"𝔜",yicy:"ї",YIcy:"Ї",yopf:"𝕪",Yopf:"𝕐",yscr:"𝓎",Yscr:"𝒴",yucy:"ю",YUcy:"Ю",yuml:"ÿ",Yuml:"Ÿ",zacute:"ź",Zacute:"Ź",zcaron:"ž",Zcaron:"Ž",zcy:"з",Zcy:"З",zdot:"ż",Zdot:"Ż",zeetrf:"ℨ",ZeroWidthSpace:"​",zeta:"ζ",Zeta:"Ζ",zfr:"𝔷",Zfr:"ℨ",zhcy:"ж",ZHcy:"Ж",zigrarr:"⇝",zopf:"𝕫",Zopf:"ℤ",zscr:"𝓏",Zscr:"𝒵",zwj:"‍",zwnj:"‌"},b={aacute:"á",Aacute:"Á",acirc:"â",Acirc:"Â",acute:"´",aelig:"æ",AElig:"Æ",agrave:"à",Agrave:"À",amp:"&",AMP:"&",aring:"å",Aring:"Å",atilde:"ã",Atilde:"Ã",auml:"ä",Auml:"Ä",brvbar:"¦",ccedil:"ç",Ccedil:"Ç",cedil:"¸",cent:"¢",copy:"©",COPY:"©",curren:"¤",deg:"°",divide:"÷",eacute:"é",Eacute:"É",ecirc:"ê",Ecirc:"Ê",egrave:"è",Egrave:"È",eth:"ð",ETH:"Ð",euml:"ë",Euml:"Ë",frac12:"½",frac14:"¼",frac34:"¾",gt:">",GT:">",iacute:"í",Iacute:"Í",icirc:"î",Icirc:"Î",iexcl:"¡",igrave:"ì",Igrave:"Ì",iquest:"¿",iuml:"ï",Iuml:"Ï",laquo:"«",lt:"<",LT:"<",macr:"¯",micro:"µ",middot:"·",nbsp:" ",not:"¬",ntilde:"ñ",Ntilde:"Ñ",oacute:"ó",Oacute:"Ó",ocirc:"ô",Ocirc:"Ô",ograve:"ò",Ograve:"Ò",ordf:"ª",ordm:"º",oslash:"ø",Oslash:"Ø",otilde:"õ",Otilde:"Õ",ouml:"ö",Ouml:"Ö",para:"¶",plusmn:"±",pound:"£",quot:'"',QUOT:'"',raquo:"»",reg:"®",REG:"®",sect:"§",shy:"­",sup1:"¹",sup2:"²",sup3:"³",szlig:"ß",thorn:"þ",THORN:"Þ",times:"×",uacute:"ú",Uacute:"Ú",ucirc:"û",Ucirc:"Û",ugrave:"ù",Ugrave:"Ù",uml:"¨",uuml:"ü",Uuml:"Ü",yacute:"ý",Yacute:"Ý",yen:"¥",yuml:"ÿ"},v={0:"�",128:"€",130:"‚",131:"ƒ",132:"„",133:"…",134:"†",135:"‡",136:"ˆ",137:"‰",138:"Š",139:"‹",140:"Œ",142:"Ž",145:"‘",146:"’",147:"“",148:"”",149:"•",150:"–",151:"—",152:"˜",153:"™",154:"š",155:"›",156:"œ",158:"ž",159:"Ÿ"},y=[1,2,3,4,5,6,7,8,11,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,64976,64977,64978,64979,64980,64981,64982,64983,64984,64985,64986,64987,64988,64989,64990,64991,64992,64993,64994,64995,64996,64997,64998,64999,65e3,65001,65002,65003,65004,65005,65006,65007,65534,65535,131070,131071,196606,196607,262142,262143,327678,327679,393214,393215,458750,458751,524286,524287,589822,589823,655358,655359,720894,720895,786430,786431,851966,851967,917502,917503,983038,983039,1048574,1048575,1114110,1114111],E=String.fromCharCode,w={}.hasOwnProperty,A=function(e,r){return w.call(e,r)},T=function(e,r){if(!e)return r;var t,n={};for(t in r)n[t]=A(e,t)?e[t]:r[t];return n},x=function(e,r){var t="";return e>=55296&&e<=57343||e>1114111?(r&&q("character reference outside the permissible Unicode range"),"�"):A(v,e)?(r&&q("disallowed character reference"),v[e]):(r&&function(e,r){for(var t=-1,n=e.length;++t65535&&(t+=E((e-=65536)>>>10&1023|55296),e=56320|1023&e),t+=E(e))},D=function(e){return"&#x"+e.toString(16).toUpperCase()+";"},N=function(e){return"&#"+e+";"},q=function(e){throw Error("Parse error: "+e)},L=function(e,r){(r=T(r,L.options)).strict&&h.test(e)&&q("forbidden code point");var t=r.encodeEverything,n=r.useNamedReferences,a=r.allowUnsafeSymbols,o=r.decimal?N:D,d=function(e){return o(e.charCodeAt(0))};return t?(e=e.replace(s,(function(e){return n&&A(u,e)?"&"+u[e]+";":d(e)})),n&&(e=e.replace(/>\u20D2/g,">⃒").replace(/<\u20D2/g,"<⃒").replace(/fj/g,"fj")),n&&(e=e.replace(c,(function(e){return"&"+u[e]+";"})))):n?(a||(e=e.replace(p,(function(e){return"&"+u[e]+";"}))),e=(e=e.replace(/>\u20D2/g,">⃒").replace(/<\u20D2/g,"<⃒")).replace(c,(function(e){return"&"+u[e]+";"}))):a||(e=e.replace(p,d)),e.replace(i,(function(e){var r=e.charCodeAt(0),t=e.charCodeAt(1);return o(1024*(r-55296)+t-56320+65536)})).replace(l,d)};L.options={allowUnsafeSymbols:!1,encodeEverything:!1,strict:!1,useNamedReferences:!1,decimal:!1};var S=function(e,r){var t=(r=T(r,S.options)).strict;return t&&f.test(e)&&q("malformed character reference"),e.replace(g,(function(e,n,a,o,i,s,l,c,u){var p,d,f,h,g,v;return n?m[g=n]:a?(g=a,(v=o)&&r.isAttributeValue?(t&&"="==v&&q("`&` did not start a character reference"),e):(t&&q("named character reference was not terminated by a semicolon"),b[g]+(v||""))):i?(f=i,d=s,t&&!d&&q("character reference was not terminated by a semicolon"),p=parseInt(f,10),x(p,t)):l?(h=l,d=c,t&&!d&&q("character reference was not terminated by a semicolon"),p=parseInt(h,16),x(p,t)):(t&&q("named character reference was not terminated by a semicolon"),e)}))};S.options={isAttributeValue:!1,strict:!1};var C={version:"1.2.0",encode:L,decode:S,escape:function(e){return e.replace(p,(function(e){return d[e]}))},unescape:S};void 0===(n=function(){return C}.call(r,t,r,e))||(e.exports=n)}()},9593:(e,r,t)=>{"use strict";const n=t(4411),a=Symbol("max"),o=Symbol("length"),i=Symbol("lengthCalculator"),s=Symbol("allowStale"),l=Symbol("maxAge"),c=Symbol("dispose"),u=Symbol("noDisposeOnSet"),p=Symbol("lruList"),d=Symbol("cache"),f=Symbol("updateAgeOnGet"),h=()=>1,g=(e,r,t)=>{const n=e[d].get(r);if(n){const r=n.value;if(m(e,r)){if(v(e,n),!e[s])return}else t&&(e[f]&&(n.value.now=Date.now()),e[p].unshiftNode(n));return r.value}},m=(e,r)=>{if(!r||!r.maxAge&&!e[l])return!1;const t=Date.now()-r.now;return r.maxAge?t>r.maxAge:e[l]&&t>e[l]},b=e=>{if(e[o]>e[a])for(let r=e[p].tail;e[o]>e[a]&&null!==r;){const t=r.prev;v(e,r),r=t}},v=(e,r)=>{if(r){const t=r.value;e[c]&&e[c](t.key,t.value),e[o]-=t.length,e[d].delete(t.key),e[p].removeNode(r)}};class y{constructor(e,r,t,n,a){this.key=e,this.value=r,this.length=t,this.now=n,this.maxAge=a||0}}const E=(e,r,t,n)=>{let a=t.value;m(e,a)&&(v(e,t),e[s]||(a=void 0)),a&&r.call(n,a.value,a.key,e)};e.exports=class{constructor(e){if("number"==typeof e&&(e={max:e}),e||(e={}),e.max&&("number"!=typeof e.max||e.max<0))throw new TypeError("max must be a non-negative number");this[a]=e.max||1/0;const r=e.length||h;if(this[i]="function"!=typeof r?h:r,this[s]=e.stale||!1,e.maxAge&&"number"!=typeof e.maxAge)throw new TypeError("maxAge must be a number");this[l]=e.maxAge||0,this[c]=e.dispose,this[u]=e.noDisposeOnSet||!1,this[f]=e.updateAgeOnGet||!1,this.reset()}set max(e){if("number"!=typeof e||e<0)throw new TypeError("max must be a non-negative number");this[a]=e||1/0,b(this)}get max(){return this[a]}set allowStale(e){this[s]=!!e}get allowStale(){return this[s]}set maxAge(e){if("number"!=typeof e)throw new TypeError("maxAge must be a non-negative number");this[l]=e,b(this)}get maxAge(){return this[l]}set lengthCalculator(e){"function"!=typeof e&&(e=h),e!==this[i]&&(this[i]=e,this[o]=0,this[p].forEach((e=>{e.length=this[i](e.value,e.key),this[o]+=e.length}))),b(this)}get lengthCalculator(){return this[i]}get length(){return this[o]}get itemCount(){return this[p].length}rforEach(e,r){r=r||this;for(let t=this[p].tail;null!==t;){const n=t.prev;E(this,e,t,r),t=n}}forEach(e,r){r=r||this;for(let t=this[p].head;null!==t;){const n=t.next;E(this,e,t,r),t=n}}keys(){return this[p].toArray().map((e=>e.key))}values(){return this[p].toArray().map((e=>e.value))}reset(){this[c]&&this[p]&&this[p].length&&this[p].forEach((e=>this[c](e.key,e.value))),this[d]=new Map,this[p]=new n,this[o]=0}dump(){return this[p].map((e=>!m(this,e)&&{k:e.key,v:e.value,e:e.now+(e.maxAge||0)})).toArray().filter((e=>e))}dumpLru(){return this[p]}set(e,r,t){if((t=t||this[l])&&"number"!=typeof t)throw new TypeError("maxAge must be a number");const n=t?Date.now():0,s=this[i](r,e);if(this[d].has(e)){if(s>this[a])return v(this,this[d].get(e)),!1;const i=this[d].get(e).value;return this[c]&&(this[u]||this[c](e,i.value)),i.now=n,i.maxAge=t,i.value=r,this[o]+=s-i.length,i.length=s,this.get(e),b(this),!0}const f=new y(e,r,s,n,t);return f.length>this[a]?(this[c]&&this[c](e,r),!1):(this[o]+=f.length,this[p].unshift(f),this[d].set(e,this[p].head),b(this),!0)}has(e){if(!this[d].has(e))return!1;const r=this[d].get(e).value;return!m(this,r)}get(e){return g(this,e,!0)}peek(e){return g(this,e,!1)}pop(){const e=this[p].tail;return e?(v(this,e),e.value):null}del(e){v(this,this[d].get(e))}load(e){this.reset();const r=Date.now();for(let t=e.length-1;t>=0;t--){const n=e[t],a=n.e||0;if(0===a)this.set(n.k,n.v);else{const e=a-r;e>0&&this.set(n.k,n.v,e)}}}prune(){this[d].forEach(((e,r)=>g(this,r,!1)))}}},8701:(e,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(e){return e[e.length-1]}},698:function(e,r,t){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(r,"__esModule",{value:!0}),r.NodeType=r.TextNode=r.Node=r.valid=r.CommentNode=r.HTMLElement=r.parse=void 0;var a=n(t(1271));r.CommentNode=a.default;var o=n(t(4382));r.HTMLElement=o.default;var i=n(t(4936));r.Node=i.default;var s=n(t(7923));r.TextNode=s.default;var l=n(t(9979));r.NodeType=l.default;var c=n(t(8821)),u=n(t(6389));function p(e,r){return void 0===r&&(r={}),(0,c.default)(e,r)}r.valid=u.default,r.default=p,r.parse=p,p.parse=c.default,p.HTMLElement=o.default,p.CommentNode=a.default,p.valid=u.default,p.Node=i.default,p.TextNode=s.default,p.NodeType=l.default},80:function(e,r,t){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(r,"__esModule",{value:!0});var a=n(t(9979));function o(e){return e&&e.nodeType===a.default.ELEMENT_NODE}function i(e,r){return o(e)?e.getAttribute(r):void 0}function s(e){return e&&e.childNodes}function l(e){return e?e.parentNode:null}r.default={isTag:o,getAttributeValue:i,getName:function(e){return(e&&e.rawTagName||"").toLowerCase()},getChildren:s,getParent:l,getText:function(e){return e.text},removeSubsets:function(e){for(var r,t,n,a=e.length;--a>-1;){for(r=t=e[a],e[a]=null,n=!0;t;){if(e.indexOf(t)>-1){n=!1,e.splice(a,1);break}t=l(t)}n&&(e[a]=r)}return e},existsOne:function e(r,t){return t.some((function(t){return!!o(t)&&(r(t)||e(r,s(t)))}))},getSiblings:function(e){var r=l(e);return r?s(r):[]},hasAttrib:function(e,r){return void 0!==i(e,r)},findOne:function e(r,t){for(var n=null,a=0,o=null==t?void 0:t.length;a0&&(n=e(r,l))}}return n},findAll:function e(r,t){for(var n=[],a=0,i=t.length;a0&&r.push(e=[]),n.childNodes.forEach(t),e.length>0&&r.push(e=[])):n.childNodes.forEach(t);else if(n.nodeType===m.default.TEXT_NODE)if(n.isWhitespace)e.prependWhitespace=!0;else{var a=n.trimmedText;e.prependWhitespace&&(a=" ".concat(a),e.prependWhitespace=!1),e.push(a)}}(this),r.map((function(e){return e.join("").replace(/\s{2,}/g," ")})).join("\n").replace(/\s+$/,"")},enumerable:!1,configurable:!0}),r.prototype.toString=function(){var e=this.rawTagName;if(e){var r=this.rawAttrs?" ".concat(this.rawAttrs):"";return this.voidTag.formatNode(e,r,this.innerHTML)}return this.innerHTML},Object.defineProperty(r.prototype,"innerHTML",{get:function(){return this.childNodes.map((function(e){return e.toString()})).join("")},set:function(e){var r=q(e,this._parseOptions),t=r.childNodes.length?r.childNodes:[new g.default(e,this)];L(t,this),L(this.childNodes,null),this.childNodes=t},enumerable:!1,configurable:!0}),r.prototype.set_content=function(e,r){if(void 0===r&&(r={}),e instanceof h.default)e=[e];else if("string"==typeof e){var t=q(e,r=o(o({},this._parseOptions),r));e=t.childNodes.length?t.childNodes:[new g.default(t.innerHTML,this)]}return L(this.childNodes,null),L(e,this),this.childNodes=e,this},r.prototype.replaceWith=function(){for(var e=this,r=[],t=0;t-1&&(t.rawText=t.rawText.substr(0,n),this.childNodes.length=r+1)}}return this},Object.defineProperty(r.prototype,"structure",{get:function(){var e=[],r=0;function t(t){e.push(" ".repeat(r)+t)}return function e(n){var a=n.id?"#".concat(n.id):"",o=n.classList.length?".".concat(n.classList.value.join(".")):"";t("".concat(n.rawTagName).concat(a).concat(o)),r++,n.childNodes.forEach((function(r){r.nodeType===m.default.ELEMENT_NODE?e(r):r.nodeType===m.default.TEXT_NODE&&(r.isWhitespace||t("#text"))})),r--}(this),e.join("\n")},enumerable:!1,configurable:!0}),r.prototype.removeWhitespace=function(){var e=this,r=0;return this.childNodes.forEach((function(t){if(t.nodeType===m.default.TEXT_NODE){if(t.isWhitespace)return;t.rawText=t.trimmedRawText}else t.nodeType===m.default.ELEMENT_NODE&&t.removeWhitespace();e.childNodes[r++]=t})),this.childNodes.length=r,this},r.prototype.querySelectorAll=function(e){return(0,l.selectAll)(e,this,{xmlMode:!0,adapter:p.default})},r.prototype.querySelector=function(e){return(0,l.selectOne)(e,this,{xmlMode:!0,adapter:p.default})},r.prototype.getElementsByTagName=function(e){for(var r=e.toUpperCase(),t=[],n=[],a=this,o=0;void 0!==o;){var i=void 0;do{i=a.childNodes[o++]}while(o0&&(n.push(o),a=i,o=0)):(a=a.parentNode,o=n.pop())}return t},r.prototype.getElementById=function(e){for(var r=[],t=this,n=0;void 0!==n;){var a=void 0;do{a=t.childNodes[n++]}while(n0&&(r.push(n),t=a,n=0)}}else t=t.parentNode,n=r.pop()}return null},r.prototype.closest=function(e){var r=new Map,t=this,n=null;function a(e,t){for(var n=null,o=0,i=t.length;o0;)if(this===e[--r])return e[r-1]||null;return null}},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"previousElementSibling",{get:function(){if(this.parentNode){for(var e=this.parentNode.childNodes,t=e.length,n=!1;t>0;){var a=e[--t];if(n){if(a instanceof r)return a||null}else this===a&&(n=!0)}return null}},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"classNames",{get:function(){return this.classList.toString()},enumerable:!1,configurable:!0}),r.prototype.clone=function(){return q(this.toString(),this._parseOptions).firstChild},r}(h.default);r.default=E;var w=/|<(\/?)([a-zA-Z][-.:0-9_a-zA-Z]*)((?:\s+[^>]*?(?:(?:'[^']*')|(?:"[^"]*"))?)*)\s*(\/?)>/g,A=/(?:^|\s)(id|class)\s*=\s*((?:'[^']*')|(?:"[^"]*")|\S+)/gi,T={li:{li:!0,LI:!0},LI:{li:!0,LI:!0},p:{p:!0,div:!0,P:!0,DIV:!0},P:{p:!0,div:!0,P:!0,DIV:!0},b:{div:!0,DIV:!0},B:{div:!0,DIV:!0},td:{td:!0,th:!0,TD:!0,TH:!0},TD:{td:!0,th:!0,TD:!0,TH:!0},th:{td:!0,th:!0,TD:!0,TH:!0},TH:{td:!0,th:!0,TD:!0,TH:!0},h1:{h1:!0,H1:!0},H1:{h1:!0,H1:!0},h2:{h2:!0,H2:!0},H2:{h2:!0,H2:!0},h3:{h3:!0,H3:!0},H3:{h3:!0,H3:!0},h4:{h4:!0,H4:!0},H4:{h4:!0,H4:!0},h5:{h5:!0,H5:!0},H5:{h5:!0,H5:!0},h6:{h6:!0,H6:!0},H6:{h6:!0,H6:!0}},x={li:{ul:!0,ol:!0,UL:!0,OL:!0},LI:{ul:!0,ol:!0,UL:!0,OL:!0},a:{div:!0,DIV:!0},A:{div:!0,DIV:!0},b:{div:!0,DIV:!0},B:{div:!0,DIV:!0},i:{div:!0,DIV:!0},I:{div:!0,DIV:!0},p:{div:!0,DIV:!0},P:{div:!0,DIV:!0},td:{tr:!0,table:!0,TR:!0,TABLE:!0},TD:{tr:!0,table:!0,TR:!0,TABLE:!0},th:{tr:!0,table:!0,TR:!0,TABLE:!0},TH:{tr:!0,table:!0,TR:!0,TABLE:!0}},D="documentfragmentcontainer";function N(e,r){var t,n;void 0===r&&(r={});var a=new d.default(null===(t=null==r?void 0:r.voidTag)||void 0===t?void 0:t.closingSlash,null===(n=null==r?void 0:r.voidTag)||void 0===n?void 0:n.tags),o=r.blockTextElements||{script:!0,noscript:!0,style:!0,pre:!0},i=Object.keys(o),s=i.map((function(e){return new RegExp("^".concat(e,"$"),"i")})),l=i.filter((function(e){return Boolean(o[e])})).map((function(e){return new RegExp("^".concat(e,"$"),"i")}));function c(e){return l.some((function(r){return r.test(e)}))}function p(e){return s.some((function(r){return r.test(e)}))}var h,m=function(e,r){return[e-O,r-O]},b=new E(null,{},"",null,[0,e.length],a,r),v=b,y=[b],N=-1,q=void 0;e="<".concat(D,">").concat(e,"");for(var L=r.lowerCaseTagName,S=r.fixNestedATags,C=e.length-(D.length+2),O=D.length+2;h=w.exec(e);){var R=h[0],k=h[1],P=h[2],_=h[3],I=h[4],j=R.length,M=w.lastIndex-j,B=w.lastIndex;if(N>-1&&N+j"),Y=L?e.toLocaleLowerCase().indexOf(J,w.lastIndex):e.indexOf(J,w.lastIndex),Z=-1===Y?C:Y;c(P)&&(U=e.substring(X,Z)).length>0&&/\S/.test(U)&&v.appendChild(new g.default(U,v,m(X,Z))),-1===Y?N=w.lastIndex=e.length+1:(N=w.lastIndex=Y+J.length,k="/")}}if(k||I||a.isVoidElement(P))for(;;){if(null==q||"a"!==P&&"A"!==P||(q=void 0),v.rawTagName===P){v.range[1]=m(-1,Math.max(N,B))[1],y.pop(),v=(0,u.default)(y);break}if(z=v.tagName,!x[z]||!x[z][P])break;y.pop(),v=(0,u.default)(y)}}else if(r.comment){U=e.substring(M+4,B-3);v.appendChild(new f.default(U,v,m(M,B)))}}return y}function q(e,r){void 0===r&&(r={});for(var t=N(e,r),n=t[0],a=function(){var e=t.pop(),n=(0,u.default)(t);e.parentNode&&e.parentNode.parentNode&&(e.parentNode===n&&e.tagName===n.tagName?!0!==r.parseNoneClosedTags&&(n.removeChild(e),e.childNodes.forEach((function(e){n.parentNode.appendChild(e)})),t.pop()):!0!==r.parseNoneClosedTags&&(n.removeChild(e),e.childNodes.forEach((function(e){n.appendChild(e)}))))};t.length>1;)a();return n}function L(e,r){return e.map((function(e){return e.parentNode=r,e}))}r.base_parse=N,r.parse=q},4936:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n=t(6492),a=function(){function e(e,r){void 0===e&&(e=null),this.parentNode=e,this.childNodes=[],Object.defineProperty(this,"range",{enumerable:!1,writable:!0,configurable:!0,value:null!=r?r:[-1,-1]})}return e.prototype.remove=function(){var e=this;if(this.parentNode){var r=this.parentNode.childNodes;this.parentNode.childNodes=r.filter((function(r){return e!==r})),this.parentNode=null}return this},Object.defineProperty(e.prototype,"innerText",{get:function(){return this.rawText},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"textContent",{get:function(){return(0,n.decode)(this.rawText)},set:function(e){this.rawText=(0,n.encode)(e)},enumerable:!1,configurable:!0}),e}();r.default=a},7923:function(e,r,t){"use strict";var n,a=this&&this.__extends||(n=function(e,r){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,r){e.__proto__=r}||function(e,r){for(var t in r)Object.prototype.hasOwnProperty.call(r,t)&&(e[t]=r[t])},n(e,r)},function(e,r){if("function"!=typeof r&&null!==r)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");function t(){this.constructor=e}n(e,r),e.prototype=null===r?Object.create(r):(t.prototype=r.prototype,new t)}),o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(r,"__esModule",{value:!0});var i=t(6492),s=o(t(4936)),l=o(t(9979)),c=function(e){function r(r,t,n){void 0===t&&(t=null);var a=e.call(this,t,n)||this;return a.nodeType=l.default.TEXT_NODE,a._rawText=r,a}return a(r,e),r.prototype.clone=function(){return new r(this._rawText,null)},Object.defineProperty(r.prototype,"rawText",{get:function(){return this._rawText},set:function(e){this._rawText=e,this._trimmedRawText=void 0,this._trimmedText=void 0},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"trimmedRawText",{get:function(){return void 0!==this._trimmedRawText||(this._trimmedRawText=u(this.rawText)),this._trimmedRawText},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"trimmedText",{get:function(){return void 0!==this._trimmedText||(this._trimmedText=u(this.text)),this._trimmedText},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"text",{get:function(){return(0,i.decode)(this.rawText)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"isWhitespace",{get:function(){return/^(\s| )*$/.test(this.rawText)},enumerable:!1,configurable:!0}),r.prototype.toString=function(){return this.rawText},r}(s.default);function u(e){for(var r,t,n=0;n>=0&&n0&&/[^\S\r\n]/.test(e[r-1]),o=t{"use strict";var t;Object.defineProperty(r,"__esModule",{value:!0}),function(e){e[e.ELEMENT_NODE=1]="ELEMENT_NODE",e[e.TEXT_NODE=3]="TEXT_NODE",e[e.COMMENT_NODE=8]="COMMENT_NODE"}(t||(t={})),r.default=t},8821:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var n=t(4382);Object.defineProperty(r,"default",{enumerable:!0,get:function(){return n.parse}})},6389:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n=t(4382);r.default=function(e,r){void 0===r&&(r={});var t=(0,n.base_parse)(e,r);return Boolean(1===t.length)}},4659:(e,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var t=function(){function e(e,r){void 0===e&&(e=!1),this.addClosingSlash=e,Array.isArray(r)?this.voidTags=r.reduce((function(e,r){return e.add(r.toLowerCase()).add(r.toUpperCase()).add(r)}),new Set):this.voidTags=["area","base","br","col","embed","hr","img","input","link","meta","param","source","track","wbr"].reduce((function(e,r){return e.add(r.toLowerCase()).add(r.toUpperCase()).add(r)}),new Set)}return e.prototype.formatNode=function(e,r,t){var n=this.addClosingSlash,a=n&&r&&!r.endsWith(" ")?" ":"",o=n?"".concat(a,"/"):"";return this.isVoidElement(e.toLowerCase())?"<".concat(e).concat(r).concat(o,">"):"<".concat(e).concat(r,">").concat(t,"")},e.prototype.isVoidElement=function(e){return this.voidTags.has(e)},e}();r.default=t},9769:function(e,r,t){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(r,"__esModule",{value:!0}),r.generate=r.compile=void 0;var a=n(t(1073));r.compile=function(e){var r=e[0],t=e[1]-1;if(t<0&&r<=0)return a.default.falseFunc;if(-1===r)return function(e){return e<=t};if(0===r)return function(e){return e===t};if(1===r)return t<0?a.default.trueFunc:function(e){return e>=t};var n=Math.abs(r),o=(t%n+n)%n;return r>1?function(e){return e>=t&&e%n===o}:function(e){return e<=t&&e%n===o}},r.generate=function(e){var r=e[0],t=e[1]-1,n=0;if(r<0){var a=-r,o=(t%a+a)%a;return function(){var e=o+a*n++;return e>t?null:e}}return 0===r?t<0?function(){return null}:function(){return 0==n++?t:null}:(t<0&&(t+=r*Math.ceil(-t/r)),function(){return r*n+++t})}},7540:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.sequence=r.generate=r.compile=r.parse=void 0;var n=t(7766);Object.defineProperty(r,"parse",{enumerable:!0,get:function(){return n.parse}});var a=t(9769);Object.defineProperty(r,"compile",{enumerable:!0,get:function(){return a.compile}}),Object.defineProperty(r,"generate",{enumerable:!0,get:function(){return a.generate}}),r.default=function(e){return(0,a.compile)((0,n.parse)(e))},r.sequence=function(e){return(0,a.generate)((0,n.parse)(e))}},7766:(e,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.parse=void 0;var t=new Set([9,10,12,13,32]),n="0".charCodeAt(0),a="9".charCodeAt(0);r.parse=function(e){if("even"===(e=e.trim().toLowerCase()))return[2,0];if("odd"===e)return[2,1];var r=0,o=0,i=l(),s=c();if(r=n&&e.charCodeAt(r)<=a;)o=10*o+(e.charCodeAt(r)-n),r++;return r===t?null:o}function u(){for(;r{const n=Symbol("SemVer ANY");class a{static get ANY(){return n}constructor(e,r){if(r=o(r),e instanceof a){if(e.loose===!!r.loose)return e;e=e.value}e=e.trim().split(/\s+/).join(" "),c("comparator",e,r),this.options=r,this.loose=!!r.loose,this.parse(e),this.semver===n?this.value="":this.value=this.operator+this.semver.version,c("comp",this)}parse(e){const r=this.options.loose?i[s.COMPARATORLOOSE]:i[s.COMPARATOR],t=e.match(r);if(!t)throw new TypeError(`Invalid comparator: ${e}`);this.operator=void 0!==t[1]?t[1]:"","="===this.operator&&(this.operator=""),t[2]?this.semver=new u(t[2],this.options.loose):this.semver=n}toString(){return this.value}test(e){if(c("Comparator.test",e,this.options.loose),this.semver===n||e===n)return!0;if("string"==typeof e)try{e=new u(e,this.options)}catch(e){return!1}return l(e,this.operator,this.semver,this.options)}intersects(e,r){if(!(e instanceof a))throw new TypeError("a Comparator is required");return""===this.operator?""===this.value||new p(e.value,r).test(this.value):""===e.operator?""===e.value||new p(this.value,r).test(e.semver):!((r=o(r)).includePrerelease&&("<0.0.0-0"===this.value||"<0.0.0-0"===e.value)||!r.includePrerelease&&(this.value.startsWith("<0.0.0")||e.value.startsWith("<0.0.0"))||(!this.operator.startsWith(">")||!e.operator.startsWith(">"))&&(!this.operator.startsWith("<")||!e.operator.startsWith("<"))&&(this.semver.version!==e.semver.version||!this.operator.includes("=")||!e.operator.includes("="))&&!(l(this.semver,"<",e.semver,r)&&this.operator.startsWith(">")&&e.operator.startsWith("<"))&&!(l(this.semver,">",e.semver,r)&&this.operator.startsWith("<")&&e.operator.startsWith(">")))}}e.exports=a;const o=t(2893),{safeRe:i,t:s}=t(5765),l=t(7539),c=t(4225),u=t(6376),p=t(6902)},6902:(e,r,t)=>{class n{constructor(e,r){if(r=o(r),e instanceof n)return e.loose===!!r.loose&&e.includePrerelease===!!r.includePrerelease?e:new n(e.raw,r);if(e instanceof i)return this.raw=e.value,this.set=[[e]],this.format(),this;if(this.options=r,this.loose=!!r.loose,this.includePrerelease=!!r.includePrerelease,this.raw=e.trim().split(/\s+/).join(" "),this.set=this.raw.split("||").map((e=>this.parseRange(e.trim()))).filter((e=>e.length)),!this.set.length)throw new TypeError(`Invalid SemVer Range: ${this.raw}`);if(this.set.length>1){const e=this.set[0];if(this.set=this.set.filter((e=>!m(e[0]))),0===this.set.length)this.set=[e];else if(this.set.length>1)for(const e of this.set)if(1===e.length&&b(e[0])){this.set=[e];break}}this.format()}format(){return this.range=this.set.map((e=>e.join(" ").trim())).join("||").trim(),this.range}toString(){return this.range}parseRange(e){const r=((this.options.includePrerelease&&h)|(this.options.loose&&g))+":"+e,t=a.get(r);if(t)return t;const n=this.options.loose,o=n?c[u.HYPHENRANGELOOSE]:c[u.HYPHENRANGE];e=e.replace(o,S(this.options.includePrerelease)),s("hyphen replace",e),e=e.replace(c[u.COMPARATORTRIM],p),s("comparator trim",e),e=e.replace(c[u.TILDETRIM],d),s("tilde trim",e),e=e.replace(c[u.CARETTRIM],f),s("caret trim",e);let l=e.split(" ").map((e=>y(e,this.options))).join(" ").split(/\s+/).map((e=>L(e,this.options)));n&&(l=l.filter((e=>(s("loose invalid filter",e,this.options),!!e.match(c[u.COMPARATORLOOSE]))))),s("range list",l);const b=new Map,v=l.map((e=>new i(e,this.options)));for(const e of v){if(m(e))return[e];b.set(e.value,e)}b.size>1&&b.has("")&&b.delete("");const E=[...b.values()];return a.set(r,E),E}intersects(e,r){if(!(e instanceof n))throw new TypeError("a Range is required");return this.set.some((t=>v(t,r)&&e.set.some((e=>v(e,r)&&t.every((t=>e.every((e=>t.intersects(e,r)))))))))}test(e){if(!e)return!1;if("string"==typeof e)try{e=new l(e,this.options)}catch(e){return!1}for(let r=0;r"<0.0.0-0"===e.value,b=e=>""===e.value,v=(e,r)=>{let t=!0;const n=e.slice();let a=n.pop();for(;t&&n.length;)t=n.every((e=>a.intersects(e,r))),a=n.pop();return t},y=(e,r)=>(s("comp",e,r),e=T(e,r),s("caret",e),e=w(e,r),s("tildes",e),e=D(e,r),s("xrange",e),e=q(e,r),s("stars",e),e),E=e=>!e||"x"===e.toLowerCase()||"*"===e,w=(e,r)=>e.trim().split(/\s+/).map((e=>A(e,r))).join(" "),A=(e,r)=>{const t=r.loose?c[u.TILDELOOSE]:c[u.TILDE];return e.replace(t,((r,t,n,a,o)=>{let i;return s("tilde",e,r,t,n,a,o),E(t)?i="":E(n)?i=`>=${t}.0.0 <${+t+1}.0.0-0`:E(a)?i=`>=${t}.${n}.0 <${t}.${+n+1}.0-0`:o?(s("replaceTilde pr",o),i=`>=${t}.${n}.${a}-${o} <${t}.${+n+1}.0-0`):i=`>=${t}.${n}.${a} <${t}.${+n+1}.0-0`,s("tilde return",i),i}))},T=(e,r)=>e.trim().split(/\s+/).map((e=>x(e,r))).join(" "),x=(e,r)=>{s("caret",e,r);const t=r.loose?c[u.CARETLOOSE]:c[u.CARET],n=r.includePrerelease?"-0":"";return e.replace(t,((r,t,a,o,i)=>{let l;return s("caret",e,r,t,a,o,i),E(t)?l="":E(a)?l=`>=${t}.0.0${n} <${+t+1}.0.0-0`:E(o)?l="0"===t?`>=${t}.${a}.0${n} <${t}.${+a+1}.0-0`:`>=${t}.${a}.0${n} <${+t+1}.0.0-0`:i?(s("replaceCaret pr",i),l="0"===t?"0"===a?`>=${t}.${a}.${o}-${i} <${t}.${a}.${+o+1}-0`:`>=${t}.${a}.${o}-${i} <${t}.${+a+1}.0-0`:`>=${t}.${a}.${o}-${i} <${+t+1}.0.0-0`):(s("no pr"),l="0"===t?"0"===a?`>=${t}.${a}.${o}${n} <${t}.${a}.${+o+1}-0`:`>=${t}.${a}.${o}${n} <${t}.${+a+1}.0-0`:`>=${t}.${a}.${o} <${+t+1}.0.0-0`),s("caret return",l),l}))},D=(e,r)=>(s("replaceXRanges",e,r),e.split(/\s+/).map((e=>N(e,r))).join(" ")),N=(e,r)=>{e=e.trim();const t=r.loose?c[u.XRANGELOOSE]:c[u.XRANGE];return e.replace(t,((t,n,a,o,i,l)=>{s("xRange",e,t,n,a,o,i,l);const c=E(a),u=c||E(o),p=u||E(i),d=p;return"="===n&&d&&(n=""),l=r.includePrerelease?"-0":"",c?t=">"===n||"<"===n?"<0.0.0-0":"*":n&&d?(u&&(o=0),i=0,">"===n?(n=">=",u?(a=+a+1,o=0,i=0):(o=+o+1,i=0)):"<="===n&&(n="<",u?a=+a+1:o=+o+1),"<"===n&&(l="-0"),t=`${n+a}.${o}.${i}${l}`):u?t=`>=${a}.0.0${l} <${+a+1}.0.0-0`:p&&(t=`>=${a}.${o}.0${l} <${a}.${+o+1}.0-0`),s("xRange return",t),t}))},q=(e,r)=>(s("replaceStars",e,r),e.trim().replace(c[u.STAR],"")),L=(e,r)=>(s("replaceGTE0",e,r),e.trim().replace(c[r.includePrerelease?u.GTE0PRE:u.GTE0],"")),S=e=>(r,t,n,a,o,i,s,l,c,u,p,d,f)=>`${t=E(n)?"":E(a)?`>=${n}.0.0${e?"-0":""}`:E(o)?`>=${n}.${a}.0${e?"-0":""}`:i?`>=${t}`:`>=${t}${e?"-0":""}`} ${l=E(c)?"":E(u)?`<${+c+1}.0.0-0`:E(p)?`<${c}.${+u+1}.0-0`:d?`<=${c}.${u}.${p}-${d}`:e?`<${c}.${u}.${+p+1}-0`:`<=${l}`}`.trim(),C=(e,r,t)=>{for(let t=0;t0){const n=e[t].semver;if(n.major===r.major&&n.minor===r.minor&&n.patch===r.patch)return!0}return!1}return!0}},6376:(e,r,t)=>{const n=t(4225),{MAX_LENGTH:a,MAX_SAFE_INTEGER:o}=t(3295),{safeRe:i,t:s}=t(5765),l=t(2893),{compareIdentifiers:c}=t(6742);class u{constructor(e,r){if(r=l(r),e instanceof u){if(e.loose===!!r.loose&&e.includePrerelease===!!r.includePrerelease)return e;e=e.version}else if("string"!=typeof e)throw new TypeError(`Invalid version. Must be a string. Got type "${typeof e}".`);if(e.length>a)throw new TypeError(`version is longer than ${a} characters`);n("SemVer",e,r),this.options=r,this.loose=!!r.loose,this.includePrerelease=!!r.includePrerelease;const t=e.trim().match(r.loose?i[s.LOOSE]:i[s.FULL]);if(!t)throw new TypeError(`Invalid Version: ${e}`);if(this.raw=e,this.major=+t[1],this.minor=+t[2],this.patch=+t[3],this.major>o||this.major<0)throw new TypeError("Invalid major version");if(this.minor>o||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>o||this.patch<0)throw new TypeError("Invalid patch version");t[4]?this.prerelease=t[4].split(".").map((e=>{if(/^[0-9]+$/.test(e)){const r=+e;if(r>=0&&r=0;)"number"==typeof this.prerelease[n]&&(this.prerelease[n]++,n=-2);if(-1===n){if(r===this.prerelease.join(".")&&!1===t)throw new Error("invalid increment argument: identifier already exists");this.prerelease.push(e)}}if(r){let n=[r,e];!1===t&&(n=[r]),0===c(this.prerelease[0],r)?isNaN(this.prerelease[1])&&(this.prerelease=n):this.prerelease=n}break}default:throw new Error(`invalid increment argument: ${e}`)}return this.raw=this.format(),this.build.length&&(this.raw+=`+${this.build.join(".")}`),this}}e.exports=u},3507:(e,r,t)=>{const n=t(3959);e.exports=(e,r)=>{const t=n(e.trim().replace(/^[=v]+/,""),r);return t?t.version:null}},7539:(e,r,t)=>{const n=t(8718),a=t(1194),o=t(1312),i=t(5903),s=t(1544),l=t(2056);e.exports=(e,r,t,c)=>{switch(r){case"===":return"object"==typeof e&&(e=e.version),"object"==typeof t&&(t=t.version),e===t;case"!==":return"object"==typeof e&&(e=e.version),"object"==typeof t&&(t=t.version),e!==t;case"":case"=":case"==":return n(e,t,c);case"!=":return a(e,t,c);case">":return o(e,t,c);case">=":return i(e,t,c);case"<":return s(e,t,c);case"<=":return l(e,t,c);default:throw new TypeError(`Invalid operator: ${r}`)}}},9038:(e,r,t)=>{const n=t(6376),a=t(3959),{safeRe:o,t:i}=t(5765);e.exports=(e,r)=>{if(e instanceof n)return e;if("number"==typeof e&&(e=String(e)),"string"!=typeof e)return null;let t=null;if((r=r||{}).rtl){let r;for(;(r=o[i.COERCERTL].exec(e))&&(!t||t.index+t[0].length!==e.length);)t&&r.index+r[0].length===t.index+t[0].length||(t=r),o[i.COERCERTL].lastIndex=r.index+r[1].length+r[2].length;o[i.COERCERTL].lastIndex=-1}else t=e.match(o[i.COERCE]);return null===t?null:a(`${t[2]}.${t[3]||"0"}.${t[4]||"0"}`,r)}},8880:(e,r,t)=>{const n=t(6376);e.exports=(e,r,t)=>{const a=new n(e,t),o=new n(r,t);return a.compare(o)||a.compareBuild(o)}},7880:(e,r,t)=>{const n=t(6269);e.exports=(e,r)=>n(e,r,!0)},6269:(e,r,t)=>{const n=t(6376);e.exports=(e,r,t)=>new n(e,t).compare(new n(r,t))},2378:(e,r,t)=>{const n=t(3959);e.exports=(e,r)=>{const t=n(e,null,!0),a=n(r,null,!0),o=t.compare(a);if(0===o)return null;const i=o>0,s=i?t:a,l=i?a:t,c=!!s.prerelease.length;if(l.prerelease.length&&!c)return l.patch||l.minor?s.patch?"patch":s.minor?"minor":"major":"major";const u=c?"pre":"";return t.major!==a.major?u+"major":t.minor!==a.minor?u+"minor":t.patch!==a.patch?u+"patch":"prerelease"}},8718:(e,r,t)=>{const n=t(6269);e.exports=(e,r,t)=>0===n(e,r,t)},1312:(e,r,t)=>{const n=t(6269);e.exports=(e,r,t)=>n(e,r,t)>0},5903:(e,r,t)=>{const n=t(6269);e.exports=(e,r,t)=>n(e,r,t)>=0},253:(e,r,t)=>{const n=t(6376);e.exports=(e,r,t,a,o)=>{"string"==typeof t&&(o=a,a=t,t=void 0);try{return new n(e instanceof n?e.version:e,t).inc(r,a,o).version}catch(e){return null}}},1544:(e,r,t)=>{const n=t(6269);e.exports=(e,r,t)=>n(e,r,t)<0},2056:(e,r,t)=>{const n=t(6269);e.exports=(e,r,t)=>n(e,r,t)<=0},8679:(e,r,t)=>{const n=t(6376);e.exports=(e,r)=>new n(e,r).major},7789:(e,r,t)=>{const n=t(6376);e.exports=(e,r)=>new n(e,r).minor},1194:(e,r,t)=>{const n=t(6269);e.exports=(e,r,t)=>0!==n(e,r,t)},3959:(e,r,t)=>{const n=t(6376);e.exports=(e,r,t=!1)=>{if(e instanceof n)return e;try{return new n(e,r)}catch(e){if(!t)return null;throw e}}},2358:(e,r,t)=>{const n=t(6376);e.exports=(e,r)=>new n(e,r).patch},7559:(e,r,t)=>{const n=t(3959);e.exports=(e,r)=>{const t=n(e,r);return t&&t.prerelease.length?t.prerelease:null}},9795:(e,r,t)=>{const n=t(6269);e.exports=(e,r,t)=>n(r,e,t)},3657:(e,r,t)=>{const n=t(8880);e.exports=(e,r)=>e.sort(((e,t)=>n(t,e,r)))},5712:(e,r,t)=>{const n=t(6902);e.exports=(e,r,t)=>{try{r=new n(r,t)}catch(e){return!1}return r.test(e)}},1100:(e,r,t)=>{const n=t(8880);e.exports=(e,r)=>e.sort(((e,t)=>n(e,t,r)))},6397:(e,r,t)=>{const n=t(3959);e.exports=(e,r)=>{const t=n(e,r);return t?t.version:null}},1249:(e,r,t)=>{const n=t(5765),a=t(3295),o=t(6376),i=t(6742),s=t(3959),l=t(6397),c=t(3507),u=t(253),p=t(2378),d=t(8679),f=t(7789),h=t(2358),g=t(7559),m=t(6269),b=t(9795),v=t(7880),y=t(8880),E=t(1100),w=t(3657),A=t(1312),T=t(1544),x=t(8718),D=t(1194),N=t(5903),q=t(2056),L=t(7539),S=t(9038),C=t(2257),O=t(6902),R=t(5712),k=t(1042),P=t(5775),_=t(1657),I=t(5316),j=t(9042),M=t(6826),B=t(7606),U=t(32),F=t(2937),V=t(7908),H=t(799);e.exports={parse:s,valid:l,clean:c,inc:u,diff:p,major:d,minor:f,patch:h,prerelease:g,compare:m,rcompare:b,compareLoose:v,compareBuild:y,sort:E,rsort:w,gt:A,lt:T,eq:x,neq:D,gte:N,lte:q,cmp:L,coerce:S,Comparator:C,Range:O,satisfies:R,toComparators:k,maxSatisfying:P,minSatisfying:_,minVersion:I,validRange:j,outside:M,gtr:B,ltr:U,intersects:F,simplifyRange:V,subset:H,SemVer:o,re:n.re,src:n.src,tokens:n.t,SEMVER_SPEC_VERSION:a.SEMVER_SPEC_VERSION,RELEASE_TYPES:a.RELEASE_TYPES,compareIdentifiers:i.compareIdentifiers,rcompareIdentifiers:i.rcompareIdentifiers}},3295:e=>{const r=Number.MAX_SAFE_INTEGER||9007199254740991;e.exports={MAX_LENGTH:256,MAX_SAFE_COMPONENT_LENGTH:16,MAX_SAFE_BUILD_LENGTH:250,MAX_SAFE_INTEGER:r,RELEASE_TYPES:["major","premajor","minor","preminor","patch","prepatch","prerelease"],SEMVER_SPEC_VERSION:"2.0.0",FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2}},4225:e=>{const r="object"==typeof process&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?(...e)=>console.error("SEMVER",...e):()=>{};e.exports=r},6742:e=>{const r=/^[0-9]+$/,t=(e,t)=>{const n=r.test(e),a=r.test(t);return n&&a&&(e=+e,t=+t),e===t?0:n&&!a?-1:a&&!n?1:et(r,e)}},2893:e=>{const r=Object.freeze({loose:!0}),t=Object.freeze({});e.exports=e=>e?"object"!=typeof e?r:e:t},5765:(e,r,t)=>{const{MAX_SAFE_COMPONENT_LENGTH:n,MAX_SAFE_BUILD_LENGTH:a,MAX_LENGTH:o}=t(3295),i=t(4225),s=(r=e.exports={}).re=[],l=r.safeRe=[],c=r.src=[],u=r.t={};let p=0;const d="[a-zA-Z0-9-]",f=[["\\s",1],["\\d",o],[d,a]],h=(e,r,t)=>{const n=(e=>{for(const[r,t]of f)e=e.split(`${r}*`).join(`${r}{0,${t}}`).split(`${r}+`).join(`${r}{1,${t}}`);return e})(r),a=p++;i(e,a,r),u[e]=a,c[a]=r,s[a]=new RegExp(r,t?"g":void 0),l[a]=new RegExp(n,t?"g":void 0)};h("NUMERICIDENTIFIER","0|[1-9]\\d*"),h("NUMERICIDENTIFIERLOOSE","\\d+"),h("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${d}*`),h("MAINVERSION",`(${c[u.NUMERICIDENTIFIER]})\\.(${c[u.NUMERICIDENTIFIER]})\\.(${c[u.NUMERICIDENTIFIER]})`),h("MAINVERSIONLOOSE",`(${c[u.NUMERICIDENTIFIERLOOSE]})\\.(${c[u.NUMERICIDENTIFIERLOOSE]})\\.(${c[u.NUMERICIDENTIFIERLOOSE]})`),h("PRERELEASEIDENTIFIER",`(?:${c[u.NUMERICIDENTIFIER]}|${c[u.NONNUMERICIDENTIFIER]})`),h("PRERELEASEIDENTIFIERLOOSE",`(?:${c[u.NUMERICIDENTIFIERLOOSE]}|${c[u.NONNUMERICIDENTIFIER]})`),h("PRERELEASE",`(?:-(${c[u.PRERELEASEIDENTIFIER]}(?:\\.${c[u.PRERELEASEIDENTIFIER]})*))`),h("PRERELEASELOOSE",`(?:-?(${c[u.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${c[u.PRERELEASEIDENTIFIERLOOSE]})*))`),h("BUILDIDENTIFIER",`${d}+`),h("BUILD",`(?:\\+(${c[u.BUILDIDENTIFIER]}(?:\\.${c[u.BUILDIDENTIFIER]})*))`),h("FULLPLAIN",`v?${c[u.MAINVERSION]}${c[u.PRERELEASE]}?${c[u.BUILD]}?`),h("FULL",`^${c[u.FULLPLAIN]}$`),h("LOOSEPLAIN",`[v=\\s]*${c[u.MAINVERSIONLOOSE]}${c[u.PRERELEASELOOSE]}?${c[u.BUILD]}?`),h("LOOSE",`^${c[u.LOOSEPLAIN]}$`),h("GTLT","((?:<|>)?=?)"),h("XRANGEIDENTIFIERLOOSE",`${c[u.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`),h("XRANGEIDENTIFIER",`${c[u.NUMERICIDENTIFIER]}|x|X|\\*`),h("XRANGEPLAIN",`[v=\\s]*(${c[u.XRANGEIDENTIFIER]})(?:\\.(${c[u.XRANGEIDENTIFIER]})(?:\\.(${c[u.XRANGEIDENTIFIER]})(?:${c[u.PRERELEASE]})?${c[u.BUILD]}?)?)?`),h("XRANGEPLAINLOOSE",`[v=\\s]*(${c[u.XRANGEIDENTIFIERLOOSE]})(?:\\.(${c[u.XRANGEIDENTIFIERLOOSE]})(?:\\.(${c[u.XRANGEIDENTIFIERLOOSE]})(?:${c[u.PRERELEASELOOSE]})?${c[u.BUILD]}?)?)?`),h("XRANGE",`^${c[u.GTLT]}\\s*${c[u.XRANGEPLAIN]}$`),h("XRANGELOOSE",`^${c[u.GTLT]}\\s*${c[u.XRANGEPLAINLOOSE]}$`),h("COERCE",`(^|[^\\d])(\\d{1,${n}})(?:\\.(\\d{1,${n}}))?(?:\\.(\\d{1,${n}}))?(?:$|[^\\d])`),h("COERCERTL",c[u.COERCE],!0),h("LONETILDE","(?:~>?)"),h("TILDETRIM",`(\\s*)${c[u.LONETILDE]}\\s+`,!0),r.tildeTrimReplace="$1~",h("TILDE",`^${c[u.LONETILDE]}${c[u.XRANGEPLAIN]}$`),h("TILDELOOSE",`^${c[u.LONETILDE]}${c[u.XRANGEPLAINLOOSE]}$`),h("LONECARET","(?:\\^)"),h("CARETTRIM",`(\\s*)${c[u.LONECARET]}\\s+`,!0),r.caretTrimReplace="$1^",h("CARET",`^${c[u.LONECARET]}${c[u.XRANGEPLAIN]}$`),h("CARETLOOSE",`^${c[u.LONECARET]}${c[u.XRANGEPLAINLOOSE]}$`),h("COMPARATORLOOSE",`^${c[u.GTLT]}\\s*(${c[u.LOOSEPLAIN]})$|^$`),h("COMPARATOR",`^${c[u.GTLT]}\\s*(${c[u.FULLPLAIN]})$|^$`),h("COMPARATORTRIM",`(\\s*)${c[u.GTLT]}\\s*(${c[u.LOOSEPLAIN]}|${c[u.XRANGEPLAIN]})`,!0),r.comparatorTrimReplace="$1$2$3",h("HYPHENRANGE",`^\\s*(${c[u.XRANGEPLAIN]})\\s+-\\s+(${c[u.XRANGEPLAIN]})\\s*$`),h("HYPHENRANGELOOSE",`^\\s*(${c[u.XRANGEPLAINLOOSE]})\\s+-\\s+(${c[u.XRANGEPLAINLOOSE]})\\s*$`),h("STAR","(<|>)?=?\\s*\\*"),h("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$"),h("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")},7606:(e,r,t)=>{const n=t(6826);e.exports=(e,r,t)=>n(e,r,">",t)},2937:(e,r,t)=>{const n=t(6902);e.exports=(e,r,t)=>(e=new n(e,t),r=new n(r,t),e.intersects(r,t))},32:(e,r,t)=>{const n=t(6826);e.exports=(e,r,t)=>n(e,r,"<",t)},5775:(e,r,t)=>{const n=t(6376),a=t(6902);e.exports=(e,r,t)=>{let o=null,i=null,s=null;try{s=new a(r,t)}catch(e){return null}return e.forEach((e=>{s.test(e)&&(o&&-1!==i.compare(e)||(o=e,i=new n(o,t)))})),o}},1657:(e,r,t)=>{const n=t(6376),a=t(6902);e.exports=(e,r,t)=>{let o=null,i=null,s=null;try{s=new a(r,t)}catch(e){return null}return e.forEach((e=>{s.test(e)&&(o&&1!==i.compare(e)||(o=e,i=new n(o,t)))})),o}},5316:(e,r,t)=>{const n=t(6376),a=t(6902),o=t(1312);e.exports=(e,r)=>{e=new a(e,r);let t=new n("0.0.0");if(e.test(t))return t;if(t=new n("0.0.0-0"),e.test(t))return t;t=null;for(let r=0;r{const r=new n(e.semver.version);switch(e.operator){case">":0===r.prerelease.length?r.patch++:r.prerelease.push(0),r.raw=r.format();case"":case">=":i&&!o(r,i)||(i=r);break;case"<":case"<=":break;default:throw new Error(`Unexpected operation: ${e.operator}`)}})),!i||t&&!o(t,i)||(t=i)}return t&&e.test(t)?t:null}},6826:(e,r,t)=>{const n=t(6376),a=t(2257),{ANY:o}=a,i=t(6902),s=t(5712),l=t(1312),c=t(1544),u=t(2056),p=t(5903);e.exports=(e,r,t,d)=>{let f,h,g,m,b;switch(e=new n(e,d),r=new i(r,d),t){case">":f=l,h=u,g=c,m=">",b=">=";break;case"<":f=c,h=p,g=l,m="<",b="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(s(e,r,d))return!1;for(let t=0;t{e.semver===o&&(e=new a(">=0.0.0")),i=i||e,s=s||e,f(e.semver,i.semver,d)?i=e:g(e.semver,s.semver,d)&&(s=e)})),i.operator===m||i.operator===b)return!1;if((!s.operator||s.operator===m)&&h(e,s.semver))return!1;if(s.operator===b&&g(e,s.semver))return!1}return!0}},7908:(e,r,t)=>{const n=t(5712),a=t(6269);e.exports=(e,r,t)=>{const o=[];let i=null,s=null;const l=e.sort(((e,r)=>a(e,r,t)));for(const e of l)n(e,r,t)?(s=e,i||(i=e)):(s&&o.push([i,s]),s=null,i=null);i&&o.push([i,null]);const c=[];for(const[e,r]of o)e===r?c.push(e):r||e!==l[0]?r?e===l[0]?c.push(`<=${r}`):c.push(`${e} - ${r}`):c.push(`>=${e}`):c.push("*");const u=c.join(" || "),p="string"==typeof r.raw?r.raw:String(r);return u.length{const n=t(6902),a=t(2257),{ANY:o}=a,i=t(5712),s=t(6269),l=[new a(">=0.0.0-0")],c=[new a(">=0.0.0")],u=(e,r,t)=>{if(e===r)return!0;if(1===e.length&&e[0].semver===o){if(1===r.length&&r[0].semver===o)return!0;e=t.includePrerelease?l:c}if(1===r.length&&r[0].semver===o){if(t.includePrerelease)return!0;r=c}const n=new Set;let a,u,f,h,g,m,b;for(const r of e)">"===r.operator||">="===r.operator?a=p(a,r,t):"<"===r.operator||"<="===r.operator?u=d(u,r,t):n.add(r.semver);if(n.size>1)return null;if(a&&u){if(f=s(a.semver,u.semver,t),f>0)return null;if(0===f&&(">="!==a.operator||"<="!==u.operator))return null}for(const e of n){if(a&&!i(e,String(a),t))return null;if(u&&!i(e,String(u),t))return null;for(const n of r)if(!i(e,String(n),t))return!1;return!0}let v=!(!u||t.includePrerelease||!u.semver.prerelease.length)&&u.semver,y=!(!a||t.includePrerelease||!a.semver.prerelease.length)&&a.semver;v&&1===v.prerelease.length&&"<"===u.operator&&0===v.prerelease[0]&&(v=!1);for(const e of r){if(b=b||">"===e.operator||">="===e.operator,m=m||"<"===e.operator||"<="===e.operator,a)if(y&&e.semver.prerelease&&e.semver.prerelease.length&&e.semver.major===y.major&&e.semver.minor===y.minor&&e.semver.patch===y.patch&&(y=!1),">"===e.operator||">="===e.operator){if(h=p(a,e,t),h===e&&h!==a)return!1}else if(">="===a.operator&&!i(a.semver,String(e),t))return!1;if(u)if(v&&e.semver.prerelease&&e.semver.prerelease.length&&e.semver.major===v.major&&e.semver.minor===v.minor&&e.semver.patch===v.patch&&(v=!1),"<"===e.operator||"<="===e.operator){if(g=d(u,e,t),g===e&&g!==u)return!1}else if("<="===u.operator&&!i(u.semver,String(e),t))return!1;if(!e.operator&&(u||a)&&0!==f)return!1}return!(a&&m&&!u&&0!==f||u&&b&&!a&&0!==f||y||v)},p=(e,r,t)=>{if(!e)return r;const n=s(e.semver,r.semver,t);return n>0?e:n<0||">"===r.operator&&">="===e.operator?r:e},d=(e,r,t)=>{if(!e)return r;const n=s(e.semver,r.semver,t);return n<0?e:n>0||"<"===r.operator&&"<="===e.operator?r:e};e.exports=(e,r,t={})=>{if(e===r)return!0;e=new n(e,t),r=new n(r,t);let a=!1;e:for(const n of e.set){for(const e of r.set){const r=u(n,e,t);if(a=a||null!==r,r)continue e}if(a)return!1}return!0}},1042:(e,r,t)=>{const n=t(6902);e.exports=(e,r)=>new n(e,r).set.map((e=>e.map((e=>e.value)).join(" ").trim().split(" ")))},9042:(e,r,t)=>{const n=t(6902);e.exports=(e,r)=>{try{return new n(e,r).range||"*"}catch(e){return null}}},9602:e=>{"use strict";e.exports=function(e){e.prototype[Symbol.iterator]=function*(){for(let e=this.head;e;e=e.next)yield e.value}}},4411:(e,r,t)=>{"use strict";function n(e){var r=this;if(r instanceof n||(r=new n),r.tail=null,r.head=null,r.length=0,e&&"function"==typeof e.forEach)e.forEach((function(e){r.push(e)}));else if(arguments.length>0)for(var t=0,a=arguments.length;t1)t=r;else{if(!this.head)throw new TypeError("Reduce of empty list with no initial value");n=this.head.next,t=this.head.value}for(var a=0;null!==n;a++)t=e(t,n.value,a),n=n.next;return t},n.prototype.reduceReverse=function(e,r){var t,n=this.tail;if(arguments.length>1)t=r;else{if(!this.tail)throw new TypeError("Reduce of empty list with no initial value");n=this.tail.prev,t=this.tail.value}for(var a=this.length-1;null!==n;a--)t=e(t,n.value,a),n=n.prev;return t},n.prototype.toArray=function(){for(var e=new Array(this.length),r=0,t=this.head;null!==t;r++)e[r]=t.value,t=t.next;return e},n.prototype.toArrayReverse=function(){for(var e=new Array(this.length),r=0,t=this.tail;null!==t;r++)e[r]=t.value,t=t.prev;return e},n.prototype.slice=function(e,r){(r=r||this.length)<0&&(r+=this.length),(e=e||0)<0&&(e+=this.length);var t=new n;if(rthis.length&&(r=this.length);for(var a=0,o=this.head;null!==o&&athis.length&&(r=this.length);for(var a=this.length,o=this.tail;null!==o&&a>r;a--)o=o.prev;for(;null!==o&&a>e;a--,o=o.prev)t.push(o.value);return t},n.prototype.splice=function(e,r,...t){e>this.length&&(e=this.length-1),e<0&&(e=this.length+e);for(var n=0,o=this.head;null!==o&&n{for(var n in r)t.o(r,n)&&!t.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:r[n]})},t.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),t.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),t.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},t.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),(()=>{"use strict";class e{#e=null;#r=[];#t={};#n="";constructor(e="",r="",t=[],n={}){this.name=e,this.tags=t,this.metadata=n,this.text=r}get name(){return this.#e}set name(e){if("string"!=typeof e)throw new Error("Name must be a String!");this.#e=e}get tags(){return this.#r}set tags(e){if(!Array.isArray(e))throw new Error("Tags must be an array!");this.#r=e}get metadata(){return this.#t}set metadata(e){if("object"!=typeof e)throw new Error("Metadata should be an object literal!");this.#t=e}get text(){return this.#n}set text(e){if("string"!=typeof e)throw new Error("Text should be a String!");this.#n=e}toTwee(){let e="";return e+=`:: ${this.name}`,this.tags.length>0&&(e+=` [${this.tags.join(" ")}]`),Object.keys(this.metadata).length>0&&(e+=` ${JSON.stringify(this.metadata)}`),e+=`\n${this.text}\n\n`,e}toJSON(){const e={name:this.name,tags:this.tags,metadata:this.metadata,text:this.text};return JSON.stringify(e)}toTwine2HTML(e=1){let r="\t${t=this.text,[["&","&"],["<","<"],[">",">"],['"',"""],["'","'"],["`","`"]].forEach((([e,r])=>{t=t.replaceAll(e,r)})),t}\n`,r}toTwine1HTML(){let e="\t${this.#n}`,e}}const r={randomUUID:"undefined"!=typeof crypto&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)};let n;const a=new Uint8Array(16);function o(){if(!n&&(n="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!n))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return n(a)}const i=[];for(let e=0;e<256;++e)i.push((e+256).toString(16).slice(1));const s=function(e,t,n){if(r.randomUUID&&!t&&!e)return r.randomUUID();const a=(e=e||{}).random||(e.rng||o)();if(a[6]=15&a[6]|64,a[8]=63&a[8]|128,t){n=n||0;for(let e=0;e<16;++e)t[n+e]=a[e];return t}return function(e,r=0){return i[e[r+0]]+i[e[r+1]]+i[e[r+2]]+i[e[r+3]]+"-"+i[e[r+4]]+i[e[r+5]]+"-"+i[e[r+6]]+i[e[r+7]]+"-"+i[e[r+8]]+i[e[r+9]]+"-"+i[e[r+10]]+i[e[r+11]]+i[e[r+12]]+i[e[r+13]]+i[e[r+14]]+i[e[r+15]]}(a)};class l{#e="";#a="";#o="";#i="";#s="";#l=0;#c=[];#u="";#p="";#t=null;#d={};constructor(e=""){this.name=e,this.#u="extwee",this.#p="2.2.0",this.#t={}}get name(){return this.#e}set name(e){if("string"!=typeof e)throw new Error("Story name must be a string");this.#e=e}get tagColors(){return this.#d}set tagColors(e){if(!(e instanceof Object))throw new Error("Tag colors must be an object!");this.#d=e}get IFID(){return this.#o}set IFID(e){if("string"!=typeof e)throw new Error("IFID must be a String!");this.#o=e}get start(){return this.#a}set start(e){if("string"!=typeof e)throw new Error("start (passage name) must be a String!");this.#a=e}get formatVersion(){return this.#s}set formatVersion(e){if("string"!=typeof e)throw new Error("Story format version must be a String!");this.#s=e}get metadata(){return this.#t}set metadata(e){if("object"!=typeof e)throw new Error("Story metadata must be Object!");this.#t=e}get format(){return this.#i}set format(e){if("string"!=typeof e)throw new Error("Story format must be a String!");this.#i=e}get creator(){return this.#u}set creator(e){if("string"!=typeof e)throw new Error("Creator must be String");this.#u=e}get creatorVersion(){return this.#p}set creatorVersion(e){if("string"!=typeof e)throw new Error("Creator version must be a string!");this.#p=e}get zoom(){return this.#l}set zoom(e){if("number"!=typeof e)throw new Error("Zoom level must be a Number!");this.#l=Number(Number.parseFloat(e).toFixed(2))}addPassage(r){if(!(r instanceof e))throw new Error("Can only add Passages to the story!");if(null===this.getPassageByName(r.name))if("StoryData"!==r.name)"StoryTitle"!==r.name?this.#c.push(r):this.name=r.text;else try{const e=JSON.parse(r.text);Object.prototype.hasOwnProperty.call(e,"ifid")&&(this.IFID=e.ifid),Object.prototype.hasOwnProperty.call(e,"format")&&(this.format=e.format),Object.prototype.hasOwnProperty.call(e,"format-version")&&(this.formatVersion=e["format-version"]),Object.prototype.hasOwnProperty.call(e,"zoom")&&(this.zoom=e.zoom),Object.prototype.hasOwnProperty.call(e,"start")&&(this.start=e.start),Object.prototype.hasOwnProperty.call(e,"tag-colors")&&(this.tagColors=e["tag-colors"])}catch(e){}else console.warn("Ignored passage with same name as existing one!")}removePassageByName(e){this.#c=this.#c.filter((r=>r.name!==e))}getPassagesByTag(e){return this.#c.filter((r=>r.tags.some((r=>e===r))))}getPassageByName(e){const r=this.#c.find((r=>r.name===e));return void 0!==r?r:null}size(){return this.#c.length}forEachPassage(e){if("function"!=typeof e)throw new Error("Callback must be a function!");this.#c.forEach(((r,t)=>{e(r,t)}))}toJSON(){const e={name:this.name,tagColors:this.tagColors,ifid:this.IFID,start:this.start,formatVersion:this.formatVersion,metadata:this.metadata,format:this.format,creator:this.creator,creatorVersion:this.creatorVersion,zoom:this.zoom,passages:[]};return this.forEachPassage((r=>{e.passages.push({name:r.name,tags:r.tags,metadata:r.metadata,text:r.text})})),JSON.stringify(e,null,4)}toTwee(){let e=":: StoryData\n";const r={};return""===this.IFID?r.ifid=s().toUpperCase():r.ifid=this.IFID,r.format=this.format,r["format-version"]=this.formatVersion,r.zoom=this.zoom,r.start=this.start,Object.keys(this.tagColors).length>0&&(r["tag-colors"]=this.tagColors),e+=`${JSON.stringify(r,void 0,2)}`,e+="\n\n",e+=":: StoryTitle\n"+this.name,e+="\n\n",this.forEachPassage((r=>{e+=r.toTwee()})),e}toTwine2HTML(){let e=`{e.name===this.start&&(t=r),r++})),e+=` startnode="${t}"`,e+=` creator="${this.creator}"`,e+=` creator-version="${this.creatorVersion}"`,""!==this.IFID?e+=` ifid="${this.IFID}"`:e+=` ifid="${s().toUpperCase()}"`,e+=` zoom="${this.zoom}"`,e+=` format="${this.#i}"`,e+=` format-version="${this.#s}"`,e+=" options hidden>\n",e+='\t\n",e+='\t
On this page

FileReader.js

import fs from 'fs';
+    
On this page

FileReader.js

import fs from 'fs';
 
 export default class FileReader {
   /**
@@ -47,4 +47,4 @@
     return Buffer.from(contents, 'binary');
   }
 }
-
\ No newline at end of file +
\ No newline at end of file diff --git a/docs/extwee/2.2.0/JSONParser.js.html b/docs/extwee/2.2.0/JSONParser.js.html index 3612d5e9..2a3ea8cc 100644 --- a/docs/extwee/2.2.0/JSONParser.js.html +++ b/docs/extwee/2.2.0/JSONParser.js.html @@ -1,6 +1,6 @@ Source: JSONParser.js
On this page

JSONParser.js

import Story from './Story.js';
+    
On this page

JSONParser.js

import Story from './Story.js';
 import Passage from './Passage.js';
 
 export default class JSONParser {
@@ -127,4 +127,4 @@
     return s;
   }
 }
-
\ No newline at end of file +
\ No newline at end of file diff --git a/docs/extwee/2.2.0/Passage.js.html b/docs/extwee/2.2.0/Passage.js.html index fca50107..028d6051 100644 --- a/docs/extwee/2.2.0/Passage.js.html +++ b/docs/extwee/2.2.0/Passage.js.html @@ -1,6 +1,6 @@ Source: Passage.js
On this page

Passage.js

/**
+    
On this page

Passage.js

/**
  * A passage is the smallest unit of a Twine story.
  */
 export default class Passage {
@@ -298,4 +298,4 @@
     return passageData;
   }
 }
-
\ No newline at end of file +
\ No newline at end of file diff --git a/docs/extwee/2.2.0/Story.js.html b/docs/extwee/2.2.0/Story.js.html index 971575d8..d0034115 100644 --- a/docs/extwee/2.2.0/Story.js.html +++ b/docs/extwee/2.2.0/Story.js.html @@ -1,6 +1,6 @@ Source: Story.js
On this page

Story.js

import Passage from './Passage.js';
+    
On this page

Story.js

import Passage from './Passage.js';
 import { v4 as uuidv4 } from 'uuid';
 
 const creatorName = 'extwee';
@@ -650,4 +650,4 @@
     return outputContents;
   }
 }
-
\ No newline at end of file +
\ No newline at end of file diff --git a/docs/extwee/2.2.0/StoryFormat.js.html b/docs/extwee/2.2.0/StoryFormat.js.html index 0fdafd3e..4574c5b1 100644 --- a/docs/extwee/2.2.0/StoryFormat.js.html +++ b/docs/extwee/2.2.0/StoryFormat.js.html @@ -1,6 +1,6 @@ Source: StoryFormat.js
On this page

StoryFormat.js

export default class StoryFormat {
+    
On this page

StoryFormat.js

export default class StoryFormat {
   /**
    * Internal name.
    * @private
@@ -281,4 +281,4 @@
     return JSON.stringify(s);
   }
 }
-
\ No newline at end of file +
\ No newline at end of file diff --git a/docs/extwee/2.2.0/StoryFormatParser.js.html b/docs/extwee/2.2.0/StoryFormatParser.js.html index 3d093114..dbdbc1e0 100644 --- a/docs/extwee/2.2.0/StoryFormatParser.js.html +++ b/docs/extwee/2.2.0/StoryFormatParser.js.html @@ -1,6 +1,6 @@ Source: StoryFormatParser.js
On this page

StoryFormatParser.js

import StoryFormat from './StoryFormat.js';
+    
On this page

StoryFormatParser.js

import StoryFormat from './StoryFormat.js';
 import semver from 'semver';
 
 export default class StoryFormatParser {
@@ -134,4 +134,4 @@
     );
   }
 }
-
\ No newline at end of file +
\ No newline at end of file diff --git a/docs/extwee/2.2.0/TWSParser.js.html b/docs/extwee/2.2.0/TWSParser.js.html index 12c2fa53..f437e3a3 100644 --- a/docs/extwee/2.2.0/TWSParser.js.html +++ b/docs/extwee/2.2.0/TWSParser.js.html @@ -1,6 +1,6 @@ Source: TWSParser.js
On this page

TWSParser.js

import Story from './Story.js';
+    
On this page

TWSParser.js

import Story from './Story.js';
 import Passage from './Passage.js';
 import { Parser } from 'pickleparser';
 
@@ -86,4 +86,4 @@
     return result;
   }
 }
-
\ No newline at end of file +
\ No newline at end of file diff --git a/docs/extwee/2.2.0/TweeParser.js.html b/docs/extwee/2.2.0/TweeParser.js.html index 2a451e1d..54a6ac94 100644 --- a/docs/extwee/2.2.0/TweeParser.js.html +++ b/docs/extwee/2.2.0/TweeParser.js.html @@ -1,6 +1,6 @@ Source: TweeParser.js
On this page

TweeParser.js

import Passage from './Passage.js';
+    
On this page

TweeParser.js

import Passage from './Passage.js';
 import Story from './Story.js';
 
 export default class TweeParser {
@@ -157,4 +157,4 @@
     return story;
   }
 }
-
\ No newline at end of file +
\ No newline at end of file diff --git a/docs/extwee/2.2.0/Twine1HTMLCompiler.js.html b/docs/extwee/2.2.0/Twine1HTMLCompiler.js.html new file mode 100644 index 00000000..6e88402e --- /dev/null +++ b/docs/extwee/2.2.0/Twine1HTMLCompiler.js.html @@ -0,0 +1,61 @@ +Source: Twine1HTMLCompiler.js
On this page

Twine1HTMLCompiler.js

import Story from './Story.js';
+
+export default class Twine1HTMLCompiler {
+  /**
+   * Write a combination of Story object, `engine.js` (from Twine 1), `header.html`, and optional `code.js`.
+   * @param {Story} story - Story object to write.
+   * @param {string} engine - Source of `engine.js` file from Twine 1.
+   * @param {string} header - `header.html` content for Twine 1 story format.
+   * @param {string} name - Name of the story format (needed for `code.js` inclusion).
+   * @param {string} codeJS - `code.js` content with additional JavaScript.
+   * @param {object} config - Limited configuration object acting in place of `StorySettings`.
+   * @param {string} config.jquery - jQuery source.
+   * @param {string} config.modernizr - Modernizr source.
+   * @returns {string} Twine 1 HTML.
+   */
+  static compile (story, engine = '', header = '', name = '', codeJS = '', config = { jquery: '', modernizr: '' }) {
+    // We must have a Story object.
+    if (!(story instanceof Story)) {
+      throw new TypeError('Error: story must be a Story object!');
+    }
+
+    // Replace the "VERSION" with story.creator.
+    header = header.replaceAll(/"VERSION"/gm, story.creator);
+
+    // Replace the "TIME" with new Date().
+    header = header.replaceAll(/"TIME"/gm, new Date());
+
+    // Replace the ENGINE with `engine.js` code.
+    header = header.replaceAll(/"ENGINE"/gm, engine);
+
+    // Replace the NAME (e.g. "JONAH") with `engine.js` code.
+    header = header.replaceAll(`"${name.toUpperCase()}"`, codeJS);
+
+    // Replace "STORY_SIZE".
+    header = header.replaceAll(/"STORY_SIZE"/gm, `"${story.size()}"`);
+
+    // Replace "STORY" with Twine 1 HTML.
+    header = header.replaceAll(/"STORY"/gm, story.toTwine1HTML());
+
+    // Replace START_AT with ''.
+    header = header.replaceAll(/"START_AT"/gm, '\'\'');
+
+    // Does 'jquery' exist?
+    if (Object.prototype.hasOwnProperty.call(config, 'jquery')) {
+      // Replace JQUERY with jQuery.
+      header = header.replaceAll(/"JQUERY"/gm, config.jquery);
+    }
+
+    // Does 'modernizr' exist?
+    if (Object.prototype.hasOwnProperty.call(config, 'modernizr')) {
+      // Replace "MODERNIZR" with Modernizr.
+      header = header.replaceAll(/"MODERNIZR"/gm, config.modernizr);
+    }
+
+    // Return code.
+    return header;
+  }
+}
+
\ No newline at end of file diff --git a/docs/extwee/2.2.0/Twine1HTMLParser.js.html b/docs/extwee/2.2.0/Twine1HTMLParser.js.html index 1d326584..e1a6ca3d 100644 --- a/docs/extwee/2.2.0/Twine1HTMLParser.js.html +++ b/docs/extwee/2.2.0/Twine1HTMLParser.js.html @@ -1,6 +1,6 @@ Source: Twine1HTMLParser.js
On this page

Twine1HTMLParser.js

/**
+    
On this page

Twine1HTMLParser.js

/**
  * @external HTML
  * @see {@link https://developer.mozilla.org/en-US/docs/Web/HTML|HTML}
  */
@@ -139,4 +139,4 @@
     return s;
   }
 }
-
\ No newline at end of file +
\ No newline at end of file diff --git a/docs/extwee/2.2.0/Twine2ArchiveHTMLCompiler.js.html b/docs/extwee/2.2.0/Twine2ArchiveHTMLCompiler.js.html new file mode 100644 index 00000000..cacd8872 --- /dev/null +++ b/docs/extwee/2.2.0/Twine2ArchiveHTMLCompiler.js.html @@ -0,0 +1,39 @@ +Source: Twine2ArchiveHTMLCompiler.js
On this page

Twine2ArchiveHTMLCompiler.js

import Story from './Story.js';
+
+export default class Twine2ArchiveHTMLCompiler {
+  /**
+   * Write array of Story objects into Twine 2 Archive HTML.
+   * @param {Array} stories - Array of Story objects.
+   * @returns {string} Twine 2 Archive HTML.
+   */
+  static compile (stories) {
+    // Can only accept array.
+    if (!Array.isArray(stories)) {
+      throw new TypeError('Stories is not array!');
+    }
+
+    // Output
+    let outputContents = '';
+
+    // Go through each entry (which must be a Story).
+    for (const story of stories) {
+      // If this is not a story, throw a TypeError.
+      if (!(story instanceof Story)) {
+        // Throw TypeError.
+        throw new TypeError('Error: story must be a Story object!');
+      }
+
+      // Append content.
+      outputContents += story.toTwine2HTML();
+
+      // Append newlines.
+      outputContents += '\n\n';
+    }
+
+    // Return output
+    return outputContents;
+  }
+}
+
\ No newline at end of file diff --git a/docs/extwee/2.2.0/Twine2ArchiveHTMLParser.js.html b/docs/extwee/2.2.0/Twine2ArchiveHTMLParser.js.html index 73b0878b..1e3c5fb9 100644 --- a/docs/extwee/2.2.0/Twine2ArchiveHTMLParser.js.html +++ b/docs/extwee/2.2.0/Twine2ArchiveHTMLParser.js.html @@ -1,6 +1,6 @@ Source: Twine2ArchiveHTMLParser.js
On this page

Twine2ArchiveHTMLParser.js

import { parse as HtmlParser } from 'node-html-parser';
+    
On this page

Twine2ArchiveHTMLParser.js

import { parse as HtmlParser } from 'node-html-parser';
 import Twine2HTMLParser from './Twine2HTMLParser.js';
 
 export default class Twine2ArchiveHTMLParser {
@@ -49,4 +49,4 @@
     return outputArray;
   }
 }
-
\ No newline at end of file +
\ No newline at end of file diff --git a/docs/extwee/2.2.0/Twine2HTMLCompiler.js.html b/docs/extwee/2.2.0/Twine2HTMLCompiler.js.html new file mode 100644 index 00000000..77c8c94b --- /dev/null +++ b/docs/extwee/2.2.0/Twine2HTMLCompiler.js.html @@ -0,0 +1,38 @@ +Source: Twine2HTMLCompiler.js
On this page

Twine2HTMLCompiler.js

import Story from './Story.js';
+import StoryFormat from './StoryFormat.js';
+
+export default class Twine2HTMLCompiler {
+  /**
+   * Write a combination of Story + StoryFormat into Twine 2 HTML file.
+   * @param {Story} story - Story object to write.
+   * @param {StoryFormat} storyFormat - StoryFormat to write.
+   * @returns {string} Twine 2 HTML.
+   */
+  static compile (story, storyFormat) {
+    if (!(story instanceof Story)) {
+      throw new Error('Error: story must be a Story object!');
+    }
+
+    if (!(storyFormat instanceof StoryFormat)) {
+      throw new Error('storyFormat must be a StoryFormat object!');
+    }
+
+    let outputContents = '';
+    const storyData = story.toTwine2HTML();
+
+    // Replace the story name in the source file.
+    storyFormat.source = storyFormat.source.replaceAll(/{{STORY_NAME}}/gm, story.name);
+
+    // Replace the story data.
+    storyFormat.source = storyFormat.source.replaceAll(/{{STORY_DATA}}/gm, storyData);
+
+    // Combine everything together.
+    outputContents += storyFormat.source;
+
+    // Return content.
+    return outputContents;
+  }
+}
+
\ No newline at end of file diff --git a/docs/extwee/2.2.0/Twine2HTMLParser.js.html b/docs/extwee/2.2.0/Twine2HTMLParser.js.html index ffb8290e..f9b7f6ff 100644 --- a/docs/extwee/2.2.0/Twine2HTMLParser.js.html +++ b/docs/extwee/2.2.0/Twine2HTMLParser.js.html @@ -1,6 +1,6 @@ Source: Twine2HTMLParser.js
On this page

Twine2HTMLParser.js

import { parse as HtmlParser } from 'node-html-parser';
+    
On this page

Twine2HTMLParser.js

import { parse as HtmlParser } from 'node-html-parser';
 import Story from './Story.js';
 import Passage from './Passage.js';
 
@@ -347,4 +347,4 @@
     return result;
   }
 }
-
\ No newline at end of file +
\ No newline at end of file diff --git a/docs/extwee/2.2.0/data/search.json b/docs/extwee/2.2.0/data/search.json index f86376cd..90c627ae 100644 --- a/docs/extwee/2.2.0/data/search.json +++ b/docs/extwee/2.2.0/data/search.json @@ -1 +1 @@ -{"list":[{"title":"~metadata.'format-version']","link":"'format-version']","description":"format-version: (string) Optional. Maps to ."},{"title":"~metadata.format","link":"format","description":"format: (string) Optional. Maps to ."},{"title":"~metadata.start","link":"start","description":"start: (string) Optional.\nMaps to of the node whose pid matches ."},{"title":"~metadata.zoom","link":"zoom","description":"zoom: (decimal) Optional. Maps to ."},{"title":"IFID","link":"IFID","description":"Interactive Fiction ID (IFID) of Story"},{"title":"IFID","link":"IFID"},{"title":"addPassage","link":"addPassage","description":"Add a passage to the story.\n`StoryData` will override story metadata and `StoryTitle` will override story name."},{"title":"author","link":"author","description":"Author"},{"title":"author","link":"author"},{"title":"creator","link":"creator","description":"Program used to create Story."},{"title":"creator","link":"creator"},{"title":"creatorVersion","link":"creatorVersion","description":"Version used to create Story."},{"title":"creatorVersion","link":"creatorVersion"},{"title":"description","link":"description","description":"Description"},{"title":"description","link":"description"},{"title":"escapeMetacharacters","link":"escapeMetacharacters","description":"Try to escape Twine 2 meta-characters."},{"title":"external:HTML","link":"HTML"},{"title":"forEachPassage","link":"forEachPassage","description":"forEach-style iterator of passages in Story."},{"title":"format","link":"format","description":"Story format of Story."},{"title":"format","link":"format"},{"title":"formatVersion","link":"formatVersion","description":"Story format version of Story."},{"title":"formatVersion","link":"formatVersion"},{"title":"getPassageByName","link":"getPassageByName","description":"Find passage by name."},{"title":"getPassagesByTag","link":"getPassagesByTag","description":"Find passages by tag."},{"title":"image","link":"image","description":"Image"},{"title":"image","link":"image"},{"title":"license","link":"license","description":"License"},{"title":"license","link":"license"},{"title":"metadata","link":"metadata","description":"Metadata"},{"title":"metadata","link":"metadata"},{"title":"metadata","link":"metadata","description":"Metadata of Story."},{"title":"metadata","link":"metadata"},{"title":"module.exports","link":"exports","description":"Create a passage."},{"title":"module.exports#module.exports","link":"exports","description":"Creates a story."},{"title":"module.exports#module.exports","link":"exports","description":"Create a story format."},{"title":"name","link":"name","description":"Name"},{"title":"name","link":"name"},{"title":"name","link":"name","description":"Each story has a name"},{"title":"name","link":"name"},{"title":"name","link":"name","description":"Name"},{"title":"name","link":"name"},{"title":"parse","link":"parse","description":"Parse JSON representation into Story."},{"title":"parse","link":"parse","description":"Parse a Story Format file."},{"title":"parse","link":"parse","description":"Parse TWS file (as Buffer) into Story.\nUnless it throws an error, it will return a Story object.\n\nSee: Twine 1 TWS Documentation [Approval Pending]"},{"title":"parse","link":"parse","description":"Parses Twee 3 text into a Story object.\n\nSee: Twee 3 Specification\n(https://github.com/iftechfoundation/twine-specs/blob/master/twee-3-specification.md)"},{"title":"parse","link":"parse","description":"Parses Twine 1 HTML into a Story object.\n\nSee: Twine 1 HTML Output Documentation\n(https://github.com/iftechfoundation/twine-specs/blob/master/twine-1-htmloutput-doc.md)"},{"title":"parse","link":"parse","description":"Parse HTML for one or more Twine 2 HTML elements and return array of story objects."},{"title":"parse","link":"parse","description":"Parse Twine 2 HTML into Story object.\n\nSee: Twine 2 HTML Output Specification\n(https://github.com/iftechfoundation/twine-specs/blob/master/twine-2-htmloutput-spec.md)"},{"title":"proofing","link":"proofing","description":"Proofing"},{"title":"proofing","link":"proofing"},{"title":"read","link":"read","description":"Read a text file."},{"title":"readBinaryAsBuffer","link":"readBinaryAsBuffer","description":"Read a binary file and return a Buffer of raw data."},{"title":"removePassageByName","link":"removePassageByName","description":"Remove a passage from the story by name."},{"title":"size","link":"size","description":"Size (number of passages)."},{"title":"source","link":"source","description":"Source"},{"title":"source","link":"source"},{"title":"start","link":"start","description":"Name of start passage."},{"title":"start","link":"start"},{"title":"tagColors","link":"tagColors","description":"Tag Colors object (each property is a tag and its color)"},{"title":"tagColors","link":"tagColors"},{"title":"tags","link":"tags","description":"Tags"},{"title":"tags","link":"tags"},{"title":"text","link":"text","description":"Text"},{"title":"text","link":"text"},{"title":"toJSON","link":"toJSON","description":"Return JSON representation."},{"title":"toJSON","link":"toJSON","description":"Export Story as JSON representation."},{"title":"toJSON","link":"toJSON","description":"Export as JSON representation."},{"title":"toTwee","link":"toTwee","description":"Return a Twee representation."},{"title":"toTwee","link":"toTwee","description":"Return Twee representation.\n\nSee: Twee 3 Specification\n(https://github.com/iftechfoundation/twine-specs/blob/master/twee-3-specification.md)"},{"title":"toTwine1HTML","link":"toTwine1HTML","description":"Return Twine 1 HTML representation."},{"title":"toTwine1HTML","link":"toTwine1HTML","description":"Return Twine 1 HTML.\n\nSee: Twine 1 HTML Output\n(https://github.com/iftechfoundation/twine-specs/blob/master/twine-1-htmloutput-doc.md)"},{"title":"toTwine2HTML","link":"toTwine2HTML","description":"Return Twine 2 HTML representation.\n(Default Passage ID is 1.)"},{"title":"toTwine2HTML","link":"toTwine2HTML","description":"Return Twine 2 HTML.\n\nSee: Twine 2 HTML Output\n(https://github.com/iftechfoundation/twine-specs/blob/master/twine-2-htmloutput-spec.md)"},{"title":"url","link":"url","description":"URL"},{"title":"url","link":"url"},{"title":"version","link":"version","description":"Version"},{"title":"version","link":"version"},{"title":"write","link":"write","description":"Write a combination of Story, `header.html`, and optional `code.js`.\nThe `engine.js` file is licensed under GPL from Twine 1.4.2 source code."},{"title":"write","link":"write","description":"Write array of Story objects into Twine 2 HTML Archive."},{"title":"write","link":"write","description":"Write a combination of Story + StoryFormat into Twine 2 HTML file."},{"title":"zoom","link":"zoom","description":"Zoom level."},{"title":"zoom","link":"zoom"}]} \ No newline at end of file +{"list":[{"title":"~metadata.'format-version']","link":"'format-version']","description":"format-version: (string) Optional. Maps to ."},{"title":"~metadata.format","link":"format","description":"format: (string) Optional. Maps to ."},{"title":"~metadata.start","link":"start","description":"start: (string) Optional.\nMaps to of the node whose pid matches ."},{"title":"~metadata.zoom","link":"zoom","description":"zoom: (decimal) Optional. Maps to ."},{"title":"IFID","link":"IFID","description":"Interactive Fiction ID (IFID) of Story"},{"title":"IFID","link":"IFID"},{"title":"addPassage","link":"addPassage","description":"Add a passage to the story.\n`StoryData` will override story metadata and `StoryTitle` will override story name."},{"title":"author","link":"author","description":"Author"},{"title":"author","link":"author"},{"title":"compile","link":"compile","description":"Write a combination of Story object, `engine.js` (from Twine 1), `header.html`, and optional `code.js`."},{"title":"compile","link":"compile","description":"Write array of Story objects into Twine 2 Archive HTML."},{"title":"compile","link":"compile","description":"Write a combination of Story + StoryFormat into Twine 2 HTML file."},{"title":"creator","link":"creator","description":"Program used to create Story."},{"title":"creator","link":"creator"},{"title":"creatorVersion","link":"creatorVersion","description":"Version used to create Story."},{"title":"creatorVersion","link":"creatorVersion"},{"title":"description","link":"description","description":"Description"},{"title":"description","link":"description"},{"title":"escapeMetacharacters","link":"escapeMetacharacters","description":"Try to escape Twine 2 meta-characters."},{"title":"external:HTML","link":"HTML"},{"title":"forEachPassage","link":"forEachPassage","description":"forEach-style iterator of passages in Story."},{"title":"format","link":"format","description":"Story format of Story."},{"title":"format","link":"format"},{"title":"formatVersion","link":"formatVersion","description":"Story format version of Story."},{"title":"formatVersion","link":"formatVersion"},{"title":"getPassageByName","link":"getPassageByName","description":"Find passage by name."},{"title":"getPassagesByTag","link":"getPassagesByTag","description":"Find passages by tag."},{"title":"image","link":"image","description":"Image"},{"title":"image","link":"image"},{"title":"license","link":"license","description":"License"},{"title":"license","link":"license"},{"title":"metadata","link":"metadata","description":"Metadata"},{"title":"metadata","link":"metadata"},{"title":"metadata","link":"metadata","description":"Metadata of Story."},{"title":"metadata","link":"metadata"},{"title":"module.exports","link":"exports","description":"Create a passage."},{"title":"module.exports#module.exports","link":"exports","description":"Creates a story."},{"title":"module.exports#module.exports","link":"exports","description":"Create a story format."},{"title":"name","link":"name","description":"Name"},{"title":"name","link":"name"},{"title":"name","link":"name","description":"Each story has a name"},{"title":"name","link":"name"},{"title":"name","link":"name","description":"Name"},{"title":"name","link":"name"},{"title":"parse","link":"parse","description":"Parse JSON representation into Story."},{"title":"parse","link":"parse","description":"Parse a Story Format file."},{"title":"parse","link":"parse","description":"Parse TWS file (as Buffer) into Story.\nUnless it throws an error, it will return a Story object.\n\nSee: Twine 1 TWS Documentation [Approval Pending]"},{"title":"parse","link":"parse","description":"Parses Twee 3 text into a Story object.\n\nSee: Twee 3 Specification\n(https://github.com/iftechfoundation/twine-specs/blob/master/twee-3-specification.md)"},{"title":"parse","link":"parse","description":"Parses Twine 1 HTML into a Story object.\n\nSee: Twine 1 HTML Output Documentation\n(https://github.com/iftechfoundation/twine-specs/blob/master/twine-1-htmloutput-doc.md)"},{"title":"parse","link":"parse","description":"Parse HTML for one or more Twine 2 HTML elements and return array of story objects."},{"title":"parse","link":"parse","description":"Parse Twine 2 HTML into Story object.\n\nSee: Twine 2 HTML Output Specification\n(https://github.com/iftechfoundation/twine-specs/blob/master/twine-2-htmloutput-spec.md)"},{"title":"proofing","link":"proofing","description":"Proofing"},{"title":"proofing","link":"proofing"},{"title":"removePassageByName","link":"removePassageByName","description":"Remove a passage from the story by name."},{"title":"size","link":"size","description":"Size (number of passages)."},{"title":"source","link":"source","description":"Source"},{"title":"source","link":"source"},{"title":"start","link":"start","description":"Name of start passage."},{"title":"start","link":"start"},{"title":"tagColors","link":"tagColors","description":"Tag Colors object (each property is a tag and its color)"},{"title":"tagColors","link":"tagColors"},{"title":"tags","link":"tags","description":"Tags"},{"title":"tags","link":"tags"},{"title":"text","link":"text","description":"Text"},{"title":"text","link":"text"},{"title":"toJSON","link":"toJSON","description":"Return JSON representation."},{"title":"toJSON","link":"toJSON","description":"Export Story as JSON representation."},{"title":"toJSON","link":"toJSON","description":"Export as JSON representation."},{"title":"toTwee","link":"toTwee","description":"Return a Twee representation."},{"title":"toTwee","link":"toTwee","description":"Return Twee representation.\n\nSee: Twee 3 Specification\n(https://github.com/iftechfoundation/twine-specs/blob/master/twee-3-specification.md)"},{"title":"toTwine1HTML","link":"toTwine1HTML","description":"Return Twine 1 HTML representation."},{"title":"toTwine1HTML","link":"toTwine1HTML","description":"Return Twine 1 HTML.\n\nSee: Twine 1 HTML Output\n(https://github.com/iftechfoundation/twine-specs/blob/master/twine-1-htmloutput-doc.md)"},{"title":"toTwine2HTML","link":"toTwine2HTML","description":"Return Twine 2 HTML representation.\n(Default Passage ID is 1.)"},{"title":"toTwine2HTML","link":"toTwine2HTML","description":"Return Twine 2 HTML.\n\nSee: Twine 2 HTML Output\n(https://github.com/iftechfoundation/twine-specs/blob/master/twine-2-htmloutput-spec.md)"},{"title":"url","link":"url","description":"URL"},{"title":"url","link":"url"},{"title":"version","link":"version","description":"Version"},{"title":"version","link":"version"},{"title":"zoom","link":"zoom","description":"Zoom level."},{"title":"zoom","link":"zoom"}]} \ No newline at end of file diff --git a/docs/extwee/2.2.0/external-HTML.html b/docs/extwee/2.2.0/external-HTML.html index 34c0a7cf..98e8fb80 100644 --- a/docs/extwee/2.2.0/external-HTML.html +++ b/docs/extwee/2.2.0/external-HTML.html @@ -1,3 +1,3 @@ External: HTML
On this page
\ No newline at end of file +
On this page
\ No newline at end of file diff --git a/docs/extwee/2.2.0/global.html b/docs/extwee/2.2.0/global.html index 77e9fc5d..0c5cc74d 100644 --- a/docs/extwee/2.2.0/global.html +++ b/docs/extwee/2.2.0/global.html @@ -1,3 +1,3 @@ Global
On this page

Members

IFID

Interactive Fiction ID (IFID) of Story

IFID

author

Author

author

creator

Program used to create Story.

creator

creatorVersion

Version used to create Story.

creatorVersion

description

Description

description

format

Story format of Story.

format

formatVersion

Story format version of Story.

formatVersion

image

Image

image

license

License

license

metadata

Metadata

metadata

metadata

Metadata of Story.

metadata

name

Name

name

name

Each story has a name

name

name

Name

name

proofing

Proofing

proofing

source

Source

source

start

Name of start passage.

start

tagColors

Tag Colors object (each property is a tag and its color)

tagColors

tags

Tags

tags

text

Text

text

url

URL

url

version

Version

version

zoom

Zoom level.

zoom

Methods

addPassage(p)

Add a passage to the story. `StoryData` will override story metadata and `StoryTitle` will override story name.
Parameters:
NameTypeDescription
pPassagePassage to add to Story.

escapeMetacharacters(result) → {string}

Try to escape Twine 2 meta-characters.
Parameters:
NameTypeDescription
resultstringText to parse
Returns:
Escaped characters
Type: 
string

forEachPassage(callback)

forEach-style iterator of passages in Story.
Parameters:
NameTypeDescription
callbackfunctionCallback function

getPassageByName(name) → {Passage|null}

Find passage by name.
Parameters:
NameTypeDescription
namestringPassage name to search for
Returns:
Return passage or null
Type: 
Passage | null

getPassagesByTag(t) → {Array}

Find passages by tag.
Parameters:
NameTypeDescription
tstringPassage name to search for
Returns:
Return array of passages
Type: 
Array

parse(jsonString) → {Story}

Parse JSON representation into Story.
Parameters:
NameTypeDescription
jsonStringstringJSON string to convert to Story.
Returns:
Story object.
Type: 
Story

parse(contents) → {StoryFormat}

Parse a Story Format file.
Parameters:
NameTypeDescription
contentsstringContent
Returns:
StoryFormat object
Type: 
StoryFormat

parse(binaryFileContents) → {Story}

Parse TWS file (as Buffer) into Story. Unless it throws an error, it will return a Story object. See: Twine 1 TWS Documentation [Approval Pending]
Parameters:
NameTypeDescription
binaryFileContentsBufferFile contents to parse as Buffer.
Returns:
Story object.
Type: 
Story

parse(fileContents) → {Story}

Parses Twee 3 text into a Story object. See: Twee 3 Specification (https://github.com/iftechfoundation/twine-specs/blob/master/twee-3-specification.md)
Parameters:
NameTypeDescription
fileContentsstringFile contents to parse
Returns:
story
Type: 
Story

parse(content) → {Story}

Parses Twine 1 HTML into a Story object. See: Twine 1 HTML Output Documentation (https://github.com/iftechfoundation/twine-specs/blob/master/twine-1-htmloutput-doc.md)
Parameters:
NameTypeDescription
contentstringTwine 1 HTML content to parse.
Returns:
Story object
Type: 
Story

parse(content) → {Array}

Parse HTML for one or more Twine 2 HTML elements and return array of story objects.
Parameters:
NameTypeDescription
contentstringContent to parse for Twine 2 HTML elements.
Returns:
Array of stories found in content.
Type: 
Array

parse(content) → {Story}

Parse Twine 2 HTML into Story object. See: Twine 2 HTML Output Specification (https://github.com/iftechfoundation/twine-specs/blob/master/twine-2-htmloutput-spec.md)
Parameters:
NameTypeDescription
contentstringTwine 2 HTML content to parse.
Returns:
Story
Type: 
Story

read(file) → {string}

Read a text file.
Parameters:
NameTypeDescription
filestringPath of file to read
Returns:
Content of file
Type: 
string

readBinaryAsBuffer(file) → {string}

Read a binary file and return a Buffer of raw data.
Parameters:
NameTypeDescription
filestringPath of file to read.
Returns:
Content of file.
Type: 
string

removePassageByName(name)

Remove a passage from the story by name.
Parameters:
NameTypeDescription
namestringPassage name to remove

size() → {number}

Size (number of passages).
Returns:
Return number of passages
Type: 
number

toJSON() → {string}

Return JSON representation.
Returns:
JSON string.
Type: 
string

toJSON() → {string}

Export Story as JSON representation.
Returns:
JSON string.
Type: 
string

toJSON() → {string}

Export as JSON representation.
Returns:
JSON string.
Type: 
string

toTwee() → {string}

Return a Twee representation.
Returns:
String form of passage.
Type: 
string

toTwee() → {string}

Return Twee representation. See: Twee 3 Specification (https://github.com/iftechfoundation/twine-specs/blob/master/twee-3-specification.md)
Returns:
Twee String
Type: 
string

toTwine1HTML() → {string}

Return Twine 1 HTML representation.
Returns:
Twine 1 HTML string.
Type: 
string

toTwine1HTML() → {string}

Return Twine 1 HTML. See: Twine 1 HTML Output (https://github.com/iftechfoundation/twine-specs/blob/master/twine-1-htmloutput-doc.md)
Returns:
Twine 1 HTML string.
Type: 
string

toTwine2HTML(pid) → {string}

Return Twine 2 HTML representation. (Default Passage ID is 1.)
Parameters:
NameTypeDefaultDescription
pidnumber1Passage ID (PID) to record in HTML.
Returns:
Twine 2 HTML string.
Type: 
string

toTwine2HTML() → {string}

Return Twine 2 HTML. See: Twine 2 HTML Output (https://github.com/iftechfoundation/twine-specs/blob/master/twine-2-htmloutput-spec.md)
Returns:
Twine 2 HTML string
Type: 
string

write(file, story, header, name, codeJS, config)

Write a combination of Story, `header.html`, and optional `code.js`. The `engine.js` file is licensed under GPL from Twine 1.4.2 source code.
Parameters:
NameTypeDescription
filestringFile to write.
storyStoryStory object to write.
headerstring`header.html` content for Twine 1 story format.
namestringName of the story format (needed for `code.js` inclusion).
codeJSstring`code.js` content with additional JavaScript.
configobjectLimited configuration object acting in place of `StorySettings`.
Properties
NameTypeDescription
jquerybooleanIf historical jQuery should be included or not.
modernizrbooleanIf historical Modernizr should be included or not.

write(file, stories)

Write array of Story objects into Twine 2 HTML Archive.
Parameters:
NameTypeDescription
filestringPath of where to write file.
storiesArrayArray of Story objects.

write(file, story, storyFormat)

Write a combination of Story + StoryFormat into Twine 2 HTML file.
Parameters:
NameTypeDescription
filestringFile to write.
storyStoryStory object to write.
storyFormatStoryFormatStoryFormat to write.
\ No newline at end of file +
On this page

Members

IFID

Interactive Fiction ID (IFID) of Story

IFID

author

Author

author

creator

Program used to create Story.

creator

creatorVersion

Version used to create Story.

creatorVersion

description

Description

description

format

Story format of Story.

format

formatVersion

Story format version of Story.

formatVersion

image

Image

image

license

License

license

metadata

Metadata

metadata

metadata

Metadata of Story.

metadata

name

Name

name

name

Each story has a name

name

name

Name

name

proofing

Proofing

proofing

source

Source

source

start

Name of start passage.

start

tagColors

Tag Colors object (each property is a tag and its color)

tagColors

tags

Tags

tags

text

Text

text

url

URL

url

version

Version

version

zoom

Zoom level.

zoom

Methods

addPassage(p)

Add a passage to the story. `StoryData` will override story metadata and `StoryTitle` will override story name.
Parameters:
NameTypeDescription
pPassagePassage to add to Story.

compile(story, engine, header, name, codeJS, config) → {string}

Write a combination of Story object, `engine.js` (from Twine 1), `header.html`, and optional `code.js`.
Parameters:
NameTypeDescription
storyStoryStory object to write.
enginestringSource of `engine.js` file from Twine 1.
headerstring`header.html` content for Twine 1 story format.
namestringName of the story format (needed for `code.js` inclusion).
codeJSstring`code.js` content with additional JavaScript.
configobjectLimited configuration object acting in place of `StorySettings`.
Properties
NameTypeDescription
jquerystringjQuery source.
modernizrstringModernizr source.
Returns:
Twine 1 HTML.
Type: 
string

compile(stories) → {string}

Write array of Story objects into Twine 2 Archive HTML.
Parameters:
NameTypeDescription
storiesArrayArray of Story objects.
Returns:
Twine 2 Archive HTML.
Type: 
string

compile(story, storyFormat) → {string}

Write a combination of Story + StoryFormat into Twine 2 HTML file.
Parameters:
NameTypeDescription
storyStoryStory object to write.
storyFormatStoryFormatStoryFormat to write.
Returns:
Twine 2 HTML.
Type: 
string

escapeMetacharacters(result) → {string}

Try to escape Twine 2 meta-characters.
Parameters:
NameTypeDescription
resultstringText to parse
Returns:
Escaped characters
Type: 
string

forEachPassage(callback)

forEach-style iterator of passages in Story.
Parameters:
NameTypeDescription
callbackfunctionCallback function

getPassageByName(name) → {Passage|null}

Find passage by name.
Parameters:
NameTypeDescription
namestringPassage name to search for
Returns:
Return passage or null
Type: 
Passage | null

getPassagesByTag(t) → {Array}

Find passages by tag.
Parameters:
NameTypeDescription
tstringPassage name to search for
Returns:
Return array of passages
Type: 
Array

parse(jsonString) → {Story}

Parse JSON representation into Story.
Parameters:
NameTypeDescription
jsonStringstringJSON string to convert to Story.
Returns:
Story object.
Type: 
Story

parse(contents) → {StoryFormat}

Parse a Story Format file.
Parameters:
NameTypeDescription
contentsstringContent
Returns:
StoryFormat object
Type: 
StoryFormat

parse(binaryFileContents) → {Story}

Parse TWS file (as Buffer) into Story. Unless it throws an error, it will return a Story object. See: Twine 1 TWS Documentation [Approval Pending]
Parameters:
NameTypeDescription
binaryFileContentsBufferFile contents to parse as Buffer.
Returns:
Story object.
Type: 
Story

parse(fileContents) → {Story}

Parses Twee 3 text into a Story object. See: Twee 3 Specification (https://github.com/iftechfoundation/twine-specs/blob/master/twee-3-specification.md)
Parameters:
NameTypeDescription
fileContentsstringFile contents to parse
Returns:
story
Type: 
Story

parse(content) → {Story}

Parses Twine 1 HTML into a Story object. See: Twine 1 HTML Output Documentation (https://github.com/iftechfoundation/twine-specs/blob/master/twine-1-htmloutput-doc.md)
Parameters:
NameTypeDescription
contentstringTwine 1 HTML content to parse.
Returns:
Story object
Type: 
Story

parse(content) → {Array}

Parse HTML for one or more Twine 2 HTML elements and return array of story objects.
Parameters:
NameTypeDescription
contentstringContent to parse for Twine 2 HTML elements.
Returns:
Array of stories found in content.
Type: 
Array

parse(content) → {Story}

Parse Twine 2 HTML into Story object. See: Twine 2 HTML Output Specification (https://github.com/iftechfoundation/twine-specs/blob/master/twine-2-htmloutput-spec.md)
Parameters:
NameTypeDescription
contentstringTwine 2 HTML content to parse.
Returns:
Story
Type: 
Story

removePassageByName(name)

Remove a passage from the story by name.
Parameters:
NameTypeDescription
namestringPassage name to remove

size() → {number}

Size (number of passages).
Returns:
Return number of passages
Type: 
number

toJSON() → {string}

Return JSON representation.
Returns:
JSON string.
Type: 
string

toJSON() → {string}

Export Story as JSON representation.
Returns:
JSON string.
Type: 
string

toJSON() → {string}

Export as JSON representation.
Returns:
JSON string.
Type: 
string

toTwee() → {string}

Return a Twee representation.
Returns:
String form of passage.
Type: 
string

toTwee() → {string}

Return Twee representation. See: Twee 3 Specification (https://github.com/iftechfoundation/twine-specs/blob/master/twee-3-specification.md)
Returns:
Twee String
Type: 
string

toTwine1HTML() → {string}

Return Twine 1 HTML representation.
Returns:
Twine 1 HTML string.
Type: 
string

toTwine1HTML() → {string}

Return Twine 1 HTML. See: Twine 1 HTML Output (https://github.com/iftechfoundation/twine-specs/blob/master/twine-1-htmloutput-doc.md)
Returns:
Twine 1 HTML string.
Type: 
string

toTwine2HTML(pid) → {string}

Return Twine 2 HTML representation. (Default Passage ID is 1.)
Parameters:
NameTypeDefaultDescription
pidnumber1Passage ID (PID) to record in HTML.
Returns:
Twine 2 HTML string.
Type: 
string

toTwine2HTML() → {string}

Return Twine 2 HTML. See: Twine 2 HTML Output (https://github.com/iftechfoundation/twine-specs/blob/master/twine-2-htmloutput-spec.md)
Returns:
Twine 2 HTML string
Type: 
string
\ No newline at end of file diff --git a/docs/extwee/2.2.0/index.html b/docs/extwee/2.2.0/index.html index 0fcc6db8..436746ba 100644 --- a/docs/extwee/2.2.0/index.html +++ b/docs/extwee/2.2.0/index.html @@ -1,3 +1,3 @@ Home
On this page

codecovnpm version

NPM Badge

Summary

Extwee is a story compilation tool supporting multiple historical and current Twine-compatible formats.

Format SupportInputOutput
Twine 1 HTML (2009 - 2015)YesPartial StorySettings support
Twine 1 TWS (2009 - 2015)YesNo
Twine 2 HTML (2015 - Present)YesYes
Twine 2 Archive HTML (2015 - Present)YesYes
Twee 3 (2021 - Present)YesYes
JSON (2023 - Present)YesYes

Objects, Parsers, and Writers

Extwee is organized into three categories of classes:

Objects

Passage, Story, and StoryFormat. An object must be created using either the new keyword in JavaScript or as the result of parsing data.

Parsers

Translates formats (Twine1HTMLParser, Twine2HTMLParser, Twine2ArchiveHTML TweeParser, and JSONParser) into Story objects or JSONP into a StoryFormat object (StoryFormatParser).

Every parser is static. They do not need to be created as objects and can be called using their corresponding parse() method (i.e. Twine1HTMLParser.parse()).

Note: Twine 1 story formats exist only as JavaScript without descriptive metadata. They cannot be parsed into a StoryFormat object.

Writers

Combines story, story formats, or other data into a combination format (Twine1HTMLWriter, Twine2HTMLWriter, Twine2ArchiveHTML).

Every writer is static. They do not need to be created as objects and can be called using their corresponding write() method (i.e. Twine2HTMLWriter.write()).

Story and Passage objects can generate multiple representations internally (toTwee(), toTwine1HTML(), toTwine2HTML(), and toJSON()) but stories cannot be played in a browser without the corresponding writer combining it with story format data.

Documentation

Extwee has documentation hosted on GitHub Pages.

Command-Line Usage

Extwee supports a CLI interface:

[TBD]

Escaping Meta-Characters

Extwee will attempt to escape the meta-characters of {, }, [, and ] when moving to and from Twee notation.

It is highly recommended to avoid these characters in passage name and tags to avoid confusion and potential issues.

Installation

Extwee can be installed via NPM.

npm i extwee

\ No newline at end of file +
On this page

codecovnpm version

NPM Badge

Summary

Extwee is a story compilation tool supporting multiple historical and current Twine-compatible formats.

Format SupportInputOutput
Twine 1 HTML (2009 - 2015)YesPartial StorySettings support
Twine 1 TWS (2009 - 2015)YesNo
Twine 2 HTML (2015 - Present)YesYes
Twine 2 Archive HTML (2015 - Present)YesYes
Twee 3 (2021 - Present)YesYes
JSON (2023 - Present)YesYes

Objects, Parsers, and Writers

Extwee is organized into three categories of classes:

Objects

Passage, Story, and StoryFormat. An object must be created using either the new keyword in JavaScript or as the result of parsing data.

Parsers

Translates formats (Twine1HTMLParser, Twine2HTMLParser, Twine2ArchiveHTML TweeParser, and JSONParser) into Story objects or JSONP into a StoryFormat object (StoryFormatParser).

Every parser is static. They do not need to be created as objects and can be called using their corresponding parse() method (i.e. Twine1HTMLParser.parse()).

Note: Twine 1 story formats exist only as JavaScript without descriptive metadata. They cannot be parsed into a StoryFormat object.

Writers

Combines story, story formats, or other data into a combination format (Twine1HTMLWriter, Twine2HTMLWriter, Twine2ArchiveHTML).

Every writer is static. They do not need to be created as objects and can be called using their corresponding write() method (i.e. Twine2HTMLWriter.write()).

Story and Passage objects can generate multiple representations internally (toTwee(), toTwine1HTML(), toTwine2HTML(), and toJSON()) but stories cannot be played in a browser without the corresponding writer combining it with story format data.

Documentation

Extwee has documentation hosted on GitHub Pages.

Command-Line Usage

Extwee supports a CLI interface:

[TBD]

Escaping Meta-Characters

Extwee will attempt to escape the meta-characters of {, }, [, and ] when moving to and from Twee notation.

It is highly recommended to avoid these characters in passage name and tags to avoid confusion and potential issues.

Installation

Extwee can be installed via NPM.

npm i extwee

\ No newline at end of file diff --git a/docs/extwee/2.2.0/module.exports.html b/docs/extwee/2.2.0/module.exports.html index 39274c24..3575cd41 100644 --- a/docs/extwee/2.2.0/module.exports.html +++ b/docs/extwee/2.2.0/module.exports.html @@ -1,3 +1,3 @@ Class: exports
On this page

exports

A passage is the smallest unit of a Twine story.

Constructor

new exports(name, text, tags, metadata)

Create a passage.
Parameters:
NameTypeDescription
namestringName
textstringContent
tagsArrayTags
metadataobjectMetadata
\ No newline at end of file +
On this page

exports

A passage is the smallest unit of a Twine story.

Constructor

new exports(name, text, tags, metadata)

Create a passage.
Parameters:
NameTypeDescription
namestringName
textstringContent
tagsArrayTags
metadataobjectMetadata
\ No newline at end of file diff --git a/docs/extwee/2.2.0/module.exports_module.exports.html b/docs/extwee/2.2.0/module.exports_module.exports.html index 3c527f3b..58012dc9 100644 --- a/docs/extwee/2.2.0/module.exports_module.exports.html +++ b/docs/extwee/2.2.0/module.exports_module.exports.html @@ -1,3 +1,3 @@ Class: exports
On this page

exports

new exports(name)

Creates a story.
Parameters:
NameTypeDescription
namestringName of the story.

exports

new exports(name, version, description, author, image, url, license, proofing, source)

Create a story format.
Parameters:
NameTypeDefaultDescription
namestringName
versionstringVersion
descriptionstringDescription
authorstringAuthor
imagestringImage
urlstringURL
licensestringLicense
proofingbooleanfalseIf proofing or not
sourcestringSource
\ No newline at end of file +
On this page

exports

new exports(name)

Creates a story.
Parameters:
NameTypeDescription
namestringName of the story.

exports

new exports(name, version, description, author, image, url, license, proofing, source)

Create a story format.
Parameters:
NameTypeDefaultDescription
namestringName
versionstringVersion
descriptionstringDescription
authorstringAuthor
imagestringImage
urlstringURL
licensestringLicense
proofingbooleanfalseIf proofing or not
sourcestringSource
\ No newline at end of file diff --git a/index.js b/index.js index 17d11361..b74864f4 100644 --- a/index.js +++ b/index.js @@ -1,31 +1,48 @@ -import FileReader from './src/FileReader.js'; import TweeParser from './src/TweeParser.js'; -import TweeWriter from './src/TweeWriter.js'; +import JSONParser from './src/JSONParser.js'; import StoryFormatParser from './src/StoryFormatParser.js'; +import Twine1HTMLParser from './src/Twine1HTMLParser.js'; import Twine2HTMLParser from './src/Twine2HTMLParser.js'; -import Twine2HTMLWriter from './src/Twine2HTMLWriter.js'; +import Twine2ArchiveHTMLParser from './src/Twine2ArchiveHTMLParser.js'; +import Twine1HTMLCompiler from './src/Twine1HTMLCompiler.js'; +import Twine2ArchiveHTMLCompiler from './src/Twine2ArchiveHTMLCompiler.js'; +import Twine2HTMLCompiler from './src/Twine2HTMLCompiler.js'; import Story from './src/Story.js'; import Passage from './src/Passage.js'; import StoryFormat from './src/StoryFormat.js'; -export { FileReader }; -export { TweeParser }; +// Code objects. export { StoryFormat }; export { Passage }; export { Story }; + +// Parsers. +export { TweeParser }; +export { JSONParser }; export { StoryFormatParser }; export { Twine2HTMLParser }; -export { Twine2HTMLWriter }; +export { Twine1HTMLParser }; +export { Twine2ArchiveHTMLParser }; -// Export everything by default +// Compilers. +export { Twine2HTMLCompiler }; +export { Twine1HTMLCompiler }; +export { Twine2ArchiveHTMLCompiler }; + +// Export everything by default. export default { - readFile: FileReader.read, - parseTwee: TweeParser.parse, - writeTwee: TweeWriter.write, + // Objects StoryFormat, Passage, Story, + // Parser shortcuts. + parseTwee: TweeParser.parse, parseStoryFormat: StoryFormatParser.parse, - parseHTML: Twine2HTMLParser.parse, - writeHTML: Twine2HTMLWriter.write + parseTwine1HTML: Twine1HTMLParser.parse, + parseTwine2HTML: Twine2HTMLParser.parse, + parseTwine2ArchiveHTML: Twine2ArchiveHTMLParser.parse, + // Compiler shortcuts. + compileTwine2HTML: Twine2HTMLCompiler.compile, + compileTwine1HTML: Twine1HTMLCompiler.compile, + compileTwine2ArchiveHTML: Twine2ArchiveHTMLCompiler.compile }; diff --git a/package-lock.json b/package-lock.json index 5571a31f..dc5a0b2b 100644 --- a/package-lock.json +++ b/package-lock.json @@ -27,7 +27,7 @@ "babel-loader": "^9.1.3", "clean-jsdoc-theme": "^4.2.13", "core-js": "^3.33.0", - "eslint": "^8.50.0", + "eslint": "^8.51.0", "eslint-config-standard": "^17.1.0", "eslint-plugin-import": "^2.28.1", "eslint-plugin-jest": "^27.4.2", @@ -37,7 +37,9 @@ "jest": "^29.7.0", "jsdoc": "^4.0.2", "regenerator-runtime": "^0.14.0", - "shelljs": "^0.8.4" + "shelljs": "^0.8.4", + "webpack": "^5.88.2", + "webpack-cli": "^5.1.4" } }, "node_modules/@aashutoshrathi/word-wrap": { @@ -1915,6 +1917,15 @@ "integrity": "sha512-0hYQ8SB4Db5zvZB4axdMHGwEaQjkZzFjQiN9LVYvIFB2nSUHW9tYpxWriPrWDASIxiaXax83REcLxuSdnGPZtw==", "dev": true }, + "node_modules/@discoveryjs/json-ext": { + "version": "0.5.7", + "resolved": "https://registry.npmjs.org/@discoveryjs/json-ext/-/json-ext-0.5.7.tgz", + "integrity": "sha512-dBVuXR082gk3jsFp7Rd/JI4kytwGHecnCoTtXFb7DB6CNHp4rg5k1bhg0nWdLGLnOV71lmDzGQaLMy8iPLY0pw==", + "dev": true, + "engines": { + "node": ">=10.0.0" + } + }, "node_modules/@es-joy/jsdoccomment": { "version": "0.40.1", "resolved": "https://registry.npmjs.org/@es-joy/jsdoccomment/-/jsdoccomment-0.40.1.tgz", @@ -2016,9 +2027,9 @@ } }, "node_modules/@eslint/js": { - "version": "8.50.0", - "resolved": "https://registry.npmjs.org/@eslint/js/-/js-8.50.0.tgz", - "integrity": "sha512-NCC3zz2+nvYd+Ckfh87rA47zfu2QsQpvc6k1yzTk+b9KzRj0wkGa8LSoGOXN6Zv4lRf/EIoZ80biDh9HOI+RNQ==", + "version": "8.51.0", + "resolved": "https://registry.npmjs.org/@eslint/js/-/js-8.51.0.tgz", + "integrity": "sha512-HxjQ8Qn+4SI3/AFv6sOrDB+g6PpUTDwSJiQqOrnneEk8L71161srI9gjzzZvYVbzHiVg/BvcH95+cK/zfIt4pg==", "dev": true, "engines": { "node": "^12.22.0 || ^14.17.0 || >=16.0.0" @@ -3078,7 +3089,6 @@ "resolved": "https://registry.npmjs.org/@types/eslint/-/eslint-8.4.3.tgz", "integrity": "sha512-YP1S7YJRMPs+7KZKDb9G63n8YejIwW9BALq7a5j2+H4yl6iOv9CB29edho+cuFRrvmJbbaH2yiVChKLJVysDGw==", "dev": true, - "peer": true, "dependencies": { "@types/estree": "*", "@types/json-schema": "*" @@ -3089,18 +3099,16 @@ "resolved": "https://registry.npmjs.org/@types/eslint-scope/-/eslint-scope-3.7.3.tgz", "integrity": "sha512-PB3ldyrcnAicT35TWPs5IcwKD8S333HMaa2VVv4+wdvebJkjWuW/xESoB8IwRcog8HYVYamb1g/R31Qv5Bx03g==", "dev": true, - "peer": true, "dependencies": { "@types/eslint": "*", "@types/estree": "*" } }, "node_modules/@types/estree": { - "version": "0.0.51", - "resolved": "https://registry.npmjs.org/@types/estree/-/estree-0.0.51.tgz", - "integrity": "sha512-CuPgU6f3eT/XgKKPqKd/gLZV1Xmvf1a2R5POBOGQa6uv82xpls89HU5zKeVoyR8XzHd1RGNOlQlvUe3CFkjWNQ==", - "dev": true, - "peer": true + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/@types/estree/-/estree-1.0.2.tgz", + "integrity": "sha512-VeiPZ9MMwXjO32/Xu7+OwflfmeoRwkE/qzndw42gGtgJwZopBnzy2gD//NN1+go1mADzkDcqf/KnFRSjTJ8xJA==", + "dev": true }, "node_modules/@types/graceful-fs": { "version": "4.1.6", @@ -3322,179 +3330,206 @@ } }, "node_modules/@webassemblyjs/ast": { - "version": "1.11.1", - "resolved": "https://registry.npmjs.org/@webassemblyjs/ast/-/ast-1.11.1.tgz", - "integrity": "sha512-ukBh14qFLjxTQNTXocdyksN5QdM28S1CxHt2rdskFyL+xFV7VremuBLVbmCePj+URalXBENx/9Lm7lnhihtCSw==", + "version": "1.11.6", + "resolved": "https://registry.npmjs.org/@webassemblyjs/ast/-/ast-1.11.6.tgz", + "integrity": "sha512-IN1xI7PwOvLPgjcf180gC1bqn3q/QaOCwYUahIOhbYUu8KA/3tw2RT/T0Gidi1l7Hhj5D/INhJxiICObqpMu4Q==", "dev": true, - "peer": true, "dependencies": { - "@webassemblyjs/helper-numbers": "1.11.1", - "@webassemblyjs/helper-wasm-bytecode": "1.11.1" + "@webassemblyjs/helper-numbers": "1.11.6", + "@webassemblyjs/helper-wasm-bytecode": "1.11.6" } }, "node_modules/@webassemblyjs/floating-point-hex-parser": { - "version": "1.11.1", - "resolved": "https://registry.npmjs.org/@webassemblyjs/floating-point-hex-parser/-/floating-point-hex-parser-1.11.1.tgz", - "integrity": "sha512-iGRfyc5Bq+NnNuX8b5hwBrRjzf0ocrJPI6GWFodBFzmFnyvrQ83SHKhmilCU/8Jv67i4GJZBMhEzltxzcNagtQ==", - "dev": true, - "peer": true + "version": "1.11.6", + "resolved": "https://registry.npmjs.org/@webassemblyjs/floating-point-hex-parser/-/floating-point-hex-parser-1.11.6.tgz", + "integrity": "sha512-ejAj9hfRJ2XMsNHk/v6Fu2dGS+i4UaXBXGemOfQ/JfQ6mdQg/WXtwleQRLLS4OvfDhv8rYnVwH27YJLMyYsxhw==", + "dev": true }, "node_modules/@webassemblyjs/helper-api-error": { - "version": "1.11.1", - "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-api-error/-/helper-api-error-1.11.1.tgz", - "integrity": "sha512-RlhS8CBCXfRUR/cwo2ho9bkheSXG0+NwooXcc3PAILALf2QLdFyj7KGsKRbVc95hZnhnERon4kW/D3SZpp6Tcg==", - "dev": true, - "peer": true + "version": "1.11.6", + "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-api-error/-/helper-api-error-1.11.6.tgz", + "integrity": "sha512-o0YkoP4pVu4rN8aTJgAyj9hC2Sv5UlkzCHhxqWj8butaLvnpdc2jOwh4ewE6CX0txSfLn/UYaV/pheS2Txg//Q==", + "dev": true }, "node_modules/@webassemblyjs/helper-buffer": { - "version": "1.11.1", - "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-buffer/-/helper-buffer-1.11.1.tgz", - "integrity": "sha512-gwikF65aDNeeXa8JxXa2BAk+REjSyhrNC9ZwdT0f8jc4dQQeDQ7G4m0f2QCLPJiMTTO6wfDmRmj/pW0PsUvIcA==", - "dev": true, - "peer": true + "version": "1.11.6", + "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-buffer/-/helper-buffer-1.11.6.tgz", + "integrity": "sha512-z3nFzdcp1mb8nEOFFk8DrYLpHvhKC3grJD2ardfKOzmbmJvEf/tPIqCY+sNcwZIY8ZD7IkB2l7/pqhUhqm7hLA==", + "dev": true }, "node_modules/@webassemblyjs/helper-numbers": { - "version": "1.11.1", - "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-numbers/-/helper-numbers-1.11.1.tgz", - "integrity": "sha512-vDkbxiB8zfnPdNK9Rajcey5C0w+QJugEglN0of+kmO8l7lDb77AnlKYQF7aarZuCrv+l0UvqL+68gSDr3k9LPQ==", + "version": "1.11.6", + "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-numbers/-/helper-numbers-1.11.6.tgz", + "integrity": "sha512-vUIhZ8LZoIWHBohiEObxVm6hwP034jwmc9kuq5GdHZH0wiLVLIPcMCdpJzG4C11cHoQ25TFIQj9kaVADVX7N3g==", "dev": true, - "peer": true, "dependencies": { - "@webassemblyjs/floating-point-hex-parser": "1.11.1", - "@webassemblyjs/helper-api-error": "1.11.1", + "@webassemblyjs/floating-point-hex-parser": "1.11.6", + "@webassemblyjs/helper-api-error": "1.11.6", "@xtuc/long": "4.2.2" } }, "node_modules/@webassemblyjs/helper-wasm-bytecode": { - "version": "1.11.1", - "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-wasm-bytecode/-/helper-wasm-bytecode-1.11.1.tgz", - "integrity": "sha512-PvpoOGiJwXeTrSf/qfudJhwlvDQxFgelbMqtq52WWiXC6Xgg1IREdngmPN3bs4RoO83PnL/nFrxucXj1+BX62Q==", - "dev": true, - "peer": true + "version": "1.11.6", + "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-wasm-bytecode/-/helper-wasm-bytecode-1.11.6.tgz", + "integrity": "sha512-sFFHKwcmBprO9e7Icf0+gddyWYDViL8bpPjJJl0WHxCdETktXdmtWLGVzoHbqUcY4Be1LkNfwTmXOJUFZYSJdA==", + "dev": true }, "node_modules/@webassemblyjs/helper-wasm-section": { - "version": "1.11.1", - "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-wasm-section/-/helper-wasm-section-1.11.1.tgz", - "integrity": "sha512-10P9No29rYX1j7F3EVPX3JvGPQPae+AomuSTPiF9eBQeChHI6iqjMIwR9JmOJXwpnn/oVGDk7I5IlskuMwU/pg==", + "version": "1.11.6", + "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-wasm-section/-/helper-wasm-section-1.11.6.tgz", + "integrity": "sha512-LPpZbSOwTpEC2cgn4hTydySy1Ke+XEu+ETXuoyvuyezHO3Kjdu90KK95Sh9xTbmjrCsUwvWwCOQQNta37VrS9g==", "dev": true, - "peer": true, "dependencies": { - "@webassemblyjs/ast": "1.11.1", - "@webassemblyjs/helper-buffer": "1.11.1", - "@webassemblyjs/helper-wasm-bytecode": "1.11.1", - "@webassemblyjs/wasm-gen": "1.11.1" + "@webassemblyjs/ast": "1.11.6", + "@webassemblyjs/helper-buffer": "1.11.6", + "@webassemblyjs/helper-wasm-bytecode": "1.11.6", + "@webassemblyjs/wasm-gen": "1.11.6" } }, "node_modules/@webassemblyjs/ieee754": { - "version": "1.11.1", - "resolved": "https://registry.npmjs.org/@webassemblyjs/ieee754/-/ieee754-1.11.1.tgz", - "integrity": "sha512-hJ87QIPtAMKbFq6CGTkZYJivEwZDbQUgYd3qKSadTNOhVY7p+gfP6Sr0lLRVTaG1JjFj+r3YchoqRYxNH3M0GQ==", + "version": "1.11.6", + "resolved": "https://registry.npmjs.org/@webassemblyjs/ieee754/-/ieee754-1.11.6.tgz", + "integrity": "sha512-LM4p2csPNvbij6U1f19v6WR56QZ8JcHg3QIJTlSwzFcmx6WSORicYj6I63f9yU1kEUtrpG+kjkiIAkevHpDXrg==", "dev": true, - "peer": true, "dependencies": { "@xtuc/ieee754": "^1.2.0" } }, "node_modules/@webassemblyjs/leb128": { - "version": "1.11.1", - "resolved": "https://registry.npmjs.org/@webassemblyjs/leb128/-/leb128-1.11.1.tgz", - "integrity": "sha512-BJ2P0hNZ0u+Th1YZXJpzW6miwqQUGcIHT1G/sf72gLVD9DZ5AdYTqPNbHZh6K1M5VmKvFXwGSWZADz+qBWxeRw==", + "version": "1.11.6", + "resolved": "https://registry.npmjs.org/@webassemblyjs/leb128/-/leb128-1.11.6.tgz", + "integrity": "sha512-m7a0FhE67DQXgouf1tbN5XQcdWoNgaAuoULHIfGFIEVKA6tu/edls6XnIlkmS6FrXAquJRPni3ZZKjw6FSPjPQ==", "dev": true, - "peer": true, "dependencies": { "@xtuc/long": "4.2.2" } }, "node_modules/@webassemblyjs/utf8": { - "version": "1.11.1", - "resolved": "https://registry.npmjs.org/@webassemblyjs/utf8/-/utf8-1.11.1.tgz", - "integrity": "sha512-9kqcxAEdMhiwQkHpkNiorZzqpGrodQQ2IGrHHxCy+Ozng0ofyMA0lTqiLkVs1uzTRejX+/O0EOT7KxqVPuXosQ==", - "dev": true, - "peer": true + "version": "1.11.6", + "resolved": "https://registry.npmjs.org/@webassemblyjs/utf8/-/utf8-1.11.6.tgz", + "integrity": "sha512-vtXf2wTQ3+up9Zsg8sa2yWiQpzSsMyXj0qViVP6xKGCUT8p8YJ6HqI7l5eCnWx1T/FYdsv07HQs2wTFbbof/RA==", + "dev": true }, "node_modules/@webassemblyjs/wasm-edit": { - "version": "1.11.1", - "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-edit/-/wasm-edit-1.11.1.tgz", - "integrity": "sha512-g+RsupUC1aTHfR8CDgnsVRVZFJqdkFHpsHMfJuWQzWU3tvnLC07UqHICfP+4XyL2tnr1amvl1Sdp06TnYCmVkA==", + "version": "1.11.6", + "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-edit/-/wasm-edit-1.11.6.tgz", + "integrity": "sha512-Ybn2I6fnfIGuCR+Faaz7YcvtBKxvoLV3Lebn1tM4o/IAJzmi9AWYIPWpyBfU8cC+JxAO57bk4+zdsTjJR+VTOw==", "dev": true, - "peer": true, "dependencies": { - "@webassemblyjs/ast": "1.11.1", - "@webassemblyjs/helper-buffer": "1.11.1", - "@webassemblyjs/helper-wasm-bytecode": "1.11.1", - "@webassemblyjs/helper-wasm-section": "1.11.1", - "@webassemblyjs/wasm-gen": "1.11.1", - "@webassemblyjs/wasm-opt": "1.11.1", - "@webassemblyjs/wasm-parser": "1.11.1", - "@webassemblyjs/wast-printer": "1.11.1" + "@webassemblyjs/ast": "1.11.6", + "@webassemblyjs/helper-buffer": "1.11.6", + "@webassemblyjs/helper-wasm-bytecode": "1.11.6", + "@webassemblyjs/helper-wasm-section": "1.11.6", + "@webassemblyjs/wasm-gen": "1.11.6", + "@webassemblyjs/wasm-opt": "1.11.6", + "@webassemblyjs/wasm-parser": "1.11.6", + "@webassemblyjs/wast-printer": "1.11.6" } }, "node_modules/@webassemblyjs/wasm-gen": { - "version": "1.11.1", - "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-gen/-/wasm-gen-1.11.1.tgz", - "integrity": "sha512-F7QqKXwwNlMmsulj6+O7r4mmtAlCWfO/0HdgOxSklZfQcDu0TpLiD1mRt/zF25Bk59FIjEuGAIyn5ei4yMfLhA==", + "version": "1.11.6", + "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-gen/-/wasm-gen-1.11.6.tgz", + "integrity": "sha512-3XOqkZP/y6B4F0PBAXvI1/bky7GryoogUtfwExeP/v7Nzwo1QLcq5oQmpKlftZLbT+ERUOAZVQjuNVak6UXjPA==", "dev": true, - "peer": true, "dependencies": { - "@webassemblyjs/ast": "1.11.1", - "@webassemblyjs/helper-wasm-bytecode": "1.11.1", - "@webassemblyjs/ieee754": "1.11.1", - "@webassemblyjs/leb128": "1.11.1", - "@webassemblyjs/utf8": "1.11.1" + "@webassemblyjs/ast": "1.11.6", + "@webassemblyjs/helper-wasm-bytecode": "1.11.6", + "@webassemblyjs/ieee754": "1.11.6", + "@webassemblyjs/leb128": "1.11.6", + "@webassemblyjs/utf8": "1.11.6" } }, "node_modules/@webassemblyjs/wasm-opt": { - "version": "1.11.1", - "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-opt/-/wasm-opt-1.11.1.tgz", - "integrity": "sha512-VqnkNqnZlU5EB64pp1l7hdm3hmQw7Vgqa0KF/KCNO9sIpI6Fk6brDEiX+iCOYrvMuBWDws0NkTOxYEb85XQHHw==", + "version": "1.11.6", + "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-opt/-/wasm-opt-1.11.6.tgz", + "integrity": "sha512-cOrKuLRE7PCe6AsOVl7WasYf3wbSo4CeOk6PkrjS7g57MFfVUF9u6ysQBBODX0LdgSvQqRiGz3CXvIDKcPNy4g==", "dev": true, - "peer": true, "dependencies": { - "@webassemblyjs/ast": "1.11.1", - "@webassemblyjs/helper-buffer": "1.11.1", - "@webassemblyjs/wasm-gen": "1.11.1", - "@webassemblyjs/wasm-parser": "1.11.1" + "@webassemblyjs/ast": "1.11.6", + "@webassemblyjs/helper-buffer": "1.11.6", + "@webassemblyjs/wasm-gen": "1.11.6", + "@webassemblyjs/wasm-parser": "1.11.6" } }, "node_modules/@webassemblyjs/wasm-parser": { - "version": "1.11.1", - "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-parser/-/wasm-parser-1.11.1.tgz", - "integrity": "sha512-rrBujw+dJu32gYB7/Lup6UhdkPx9S9SnobZzRVL7VcBH9Bt9bCBLEuX/YXOOtBsOZ4NQrRykKhffRWHvigQvOA==", + "version": "1.11.6", + "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-parser/-/wasm-parser-1.11.6.tgz", + "integrity": "sha512-6ZwPeGzMJM3Dqp3hCsLgESxBGtT/OeCvCZ4TA1JUPYgmhAx38tTPR9JaKy0S5H3evQpO/h2uWs2j6Yc/fjkpTQ==", "dev": true, - "peer": true, "dependencies": { - "@webassemblyjs/ast": "1.11.1", - "@webassemblyjs/helper-api-error": "1.11.1", - "@webassemblyjs/helper-wasm-bytecode": "1.11.1", - "@webassemblyjs/ieee754": "1.11.1", - "@webassemblyjs/leb128": "1.11.1", - "@webassemblyjs/utf8": "1.11.1" + "@webassemblyjs/ast": "1.11.6", + "@webassemblyjs/helper-api-error": "1.11.6", + "@webassemblyjs/helper-wasm-bytecode": "1.11.6", + "@webassemblyjs/ieee754": "1.11.6", + "@webassemblyjs/leb128": "1.11.6", + "@webassemblyjs/utf8": "1.11.6" } }, "node_modules/@webassemblyjs/wast-printer": { - "version": "1.11.1", - "resolved": "https://registry.npmjs.org/@webassemblyjs/wast-printer/-/wast-printer-1.11.1.tgz", - "integrity": "sha512-IQboUWM4eKzWW+N/jij2sRatKMh99QEelo3Eb2q0qXkvPRISAj8Qxtmw5itwqK+TTkBuUIE45AxYPToqPtL5gg==", + "version": "1.11.6", + "resolved": "https://registry.npmjs.org/@webassemblyjs/wast-printer/-/wast-printer-1.11.6.tgz", + "integrity": "sha512-JM7AhRcE+yW2GWYaKeHL5vt4xqee5N2WcezptmgyhNS+ScggqcT1OtXykhAb13Sn5Yas0j2uv9tHgrjwvzAP4A==", "dev": true, - "peer": true, "dependencies": { - "@webassemblyjs/ast": "1.11.1", + "@webassemblyjs/ast": "1.11.6", "@xtuc/long": "4.2.2" } }, + "node_modules/@webpack-cli/configtest": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/@webpack-cli/configtest/-/configtest-2.1.1.tgz", + "integrity": "sha512-wy0mglZpDSiSS0XHrVR+BAdId2+yxPSoJW8fsna3ZpYSlufjvxnP4YbKTCBZnNIcGN4r6ZPXV55X4mYExOfLmw==", + "dev": true, + "engines": { + "node": ">=14.15.0" + }, + "peerDependencies": { + "webpack": "5.x.x", + "webpack-cli": "5.x.x" + } + }, + "node_modules/@webpack-cli/info": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/@webpack-cli/info/-/info-2.0.2.tgz", + "integrity": "sha512-zLHQdI/Qs1UyT5UBdWNqsARasIA+AaF8t+4u2aS2nEpBQh2mWIVb8qAklq0eUENnC5mOItrIB4LiS9xMtph18A==", + "dev": true, + "engines": { + "node": ">=14.15.0" + }, + "peerDependencies": { + "webpack": "5.x.x", + "webpack-cli": "5.x.x" + } + }, + "node_modules/@webpack-cli/serve": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/@webpack-cli/serve/-/serve-2.0.5.tgz", + "integrity": "sha512-lqaoKnRYBdo1UgDX8uF24AfGMifWK19TxPmM5FHc2vAGxrJ/qtyUyFBWoY1tISZdelsQ5fBcOusifo5o5wSJxQ==", + "dev": true, + "engines": { + "node": ">=14.15.0" + }, + "peerDependencies": { + "webpack": "5.x.x", + "webpack-cli": "5.x.x" + }, + "peerDependenciesMeta": { + "webpack-dev-server": { + "optional": true + } + } + }, "node_modules/@xtuc/ieee754": { "version": "1.2.0", "resolved": "https://registry.npmjs.org/@xtuc/ieee754/-/ieee754-1.2.0.tgz", "integrity": "sha512-DX8nKgqcGwsc0eJSqYt5lwP4DH5FlHnmuWWBRy7X0NcaGR0ZtuyeESgMwTYVEtxmsNGY+qit4QYT/MIYTOTPeA==", - "dev": true, - "peer": true + "dev": true }, "node_modules/@xtuc/long": { "version": "4.2.2", "resolved": "https://registry.npmjs.org/@xtuc/long/-/long-4.2.2.tgz", "integrity": "sha512-NuHqBY1PB/D8xU6s/thBgOAiAP7HOYDQ32+BFZILJ8ivkUkAHQnWfn6WhL79Owj1qmUnoN/YPhktdIoucipkAQ==", - "dev": true, - "peer": true + "dev": true }, "node_modules/acorn": { "version": "8.10.0", @@ -3508,6 +3543,15 @@ "node": ">=0.4.0" } }, + "node_modules/acorn-import-assertions": { + "version": "1.9.0", + "resolved": "https://registry.npmjs.org/acorn-import-assertions/-/acorn-import-assertions-1.9.0.tgz", + "integrity": "sha512-cmMwop9x+8KFhxvKrKfPYmN6/pKTYYHBqLa0DfvVZcKMJWNyWLnaqND7dx/qn66R7ewM1UX5XMaDVP5wlVTaVA==", + "dev": true, + "peerDependencies": { + "acorn": "^8" + } + }, "node_modules/acorn-jsx": { "version": "5.3.2", "resolved": "https://registry.npmjs.org/acorn-jsx/-/acorn-jsx-5.3.2.tgz", @@ -3577,7 +3621,6 @@ "resolved": "https://registry.npmjs.org/ajv-keywords/-/ajv-keywords-3.5.2.tgz", "integrity": "sha512-5p6WTN0DdTGVQk6VjcEju19IgaHudalcfabD7yhDGeA6bcQnmL+CpveLJq/3hvfwd1aof6L386Ougkx6RfyMIQ==", "dev": true, - "peer": true, "peerDependencies": { "ajv": "^6.9.1" } @@ -4288,7 +4331,6 @@ "resolved": "https://registry.npmjs.org/chrome-trace-event/-/chrome-trace-event-1.0.3.tgz", "integrity": "sha512-p3KULyQg4S7NIHixdwbGX+nFHkoBiA4YQmyWtjb8XngSKV124nJmRysgAeujbUVb15vh+RvFUfCPqU7rXk+hZg==", "dev": true, - "peer": true, "engines": { "node": ">=6.0" } @@ -4358,6 +4400,20 @@ "node": ">=12" } }, + "node_modules/clone-deep": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/clone-deep/-/clone-deep-4.0.1.tgz", + "integrity": "sha512-neHB9xuzh/wk0dIHweyAXv2aPGZIVk3pLMe+/RNzINf17fe0OG96QroktYAUm7SM1PBnzTabaLboqqxDyMU+SQ==", + "dev": true, + "dependencies": { + "is-plain-object": "^2.0.4", + "kind-of": "^6.0.2", + "shallow-clone": "^3.0.0" + }, + "engines": { + "node": ">=6" + } + }, "node_modules/co": { "version": "4.6.0", "resolved": "https://registry.npmjs.org/co/-/co-4.6.0.tgz", @@ -4389,6 +4445,12 @@ "integrity": "sha512-72fSenhMw2HZMTVHeCA9KCmpEIbzWiQsjN+BHcBbS9vr1mtt+vJjPdksIBNUmKAW8TFUDPJK5SUU3QhE9NEXDw==", "dev": true }, + "node_modules/colorette": { + "version": "2.0.20", + "resolved": "https://registry.npmjs.org/colorette/-/colorette-2.0.20.tgz", + "integrity": "sha512-IfEDxwoWIjkeXL1eXcDiow4UbKjhLdq6/EuSVR9GMN7KVH3r9gQ83e73hsz1Nd1T3ijd5xv1wcWRYO+D6kCI2w==", + "dev": true + }, "node_modules/commander": { "version": "11.0.0", "resolved": "https://registry.npmjs.org/commander/-/commander-11.0.0.tgz", @@ -4778,11 +4840,10 @@ "dev": true }, "node_modules/enhanced-resolve": { - "version": "5.9.3", - "resolved": "https://registry.npmjs.org/enhanced-resolve/-/enhanced-resolve-5.9.3.tgz", - "integrity": "sha512-Bq9VSor+kjvW3f9/MiiR4eE3XYgOl7/rS8lnSxbRbF3kS0B2r+Y9w5krBWxZgDxASVZbdYrn5wT4j/Wb0J9qow==", + "version": "5.15.0", + "resolved": "https://registry.npmjs.org/enhanced-resolve/-/enhanced-resolve-5.15.0.tgz", + "integrity": "sha512-LXYT42KJ7lpIKECr2mAXIaMldcNCh/7E0KBKOu4KSfkHmP+mZmSs+8V5gBAqisWBy0OO4W5Oyys0GO1Y8KtdKg==", "dev": true, - "peer": true, "dependencies": { "graceful-fs": "^4.2.4", "tapable": "^2.2.0" @@ -4802,6 +4863,18 @@ "url": "https://github.com/fb55/entities?sponsor=1" } }, + "node_modules/envinfo": { + "version": "7.10.0", + "resolved": "https://registry.npmjs.org/envinfo/-/envinfo-7.10.0.tgz", + "integrity": "sha512-ZtUjZO6l5mwTHvc1L9+1q5p/R3wTopcfqMW8r5t8SJSKqeVI/LtajORwRFEKpEFuekjD0VBjwu1HMxL4UalIRw==", + "dev": true, + "bin": { + "envinfo": "dist/cli.js" + }, + "engines": { + "node": ">=4" + } + }, "node_modules/error-ex": { "version": "1.3.2", "resolved": "https://registry.npmjs.org/error-ex/-/error-ex-1.3.2.tgz", @@ -4865,11 +4938,10 @@ } }, "node_modules/es-module-lexer": { - "version": "0.9.3", - "resolved": "https://registry.npmjs.org/es-module-lexer/-/es-module-lexer-0.9.3.tgz", - "integrity": "sha512-1HQ2M2sPtxwnvOvT1ZClHyQDiggdNjURWpY2we6aMKCQiUVxTmVs2UYPLIrD84sS+kMdUwfBSylbJPwNnBrnHQ==", - "dev": true, - "peer": true + "version": "1.3.1", + "resolved": "https://registry.npmjs.org/es-module-lexer/-/es-module-lexer-1.3.1.tgz", + "integrity": "sha512-JUFAyicQV9mXc3YRxPnDlrfBKpqt6hUYzz9/boprUJHs4e4KVr3XwOF70doO6gwXUor6EWZJAyWAfKki84t20Q==", + "dev": true }, "node_modules/es-set-tostringtag": { "version": "2.0.1", @@ -4930,15 +5002,15 @@ } }, "node_modules/eslint": { - "version": "8.50.0", - "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.50.0.tgz", - "integrity": "sha512-FOnOGSuFuFLv/Sa+FDVRZl4GGVAAFFi8LecRsI5a1tMO5HIE8nCm4ivAlzt4dT3ol/PaaGC0rJEEXQmHJBGoOg==", + "version": "8.51.0", + "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.51.0.tgz", + "integrity": "sha512-2WuxRZBrlwnXi+/vFSJyjMqrNjtJqiasMzehF0shoLaW7DzS3/9Yvrmq5JiT66+pNjiX4UBnLDiKHcWAr/OInA==", "dev": true, "dependencies": { "@eslint-community/eslint-utils": "^4.2.0", "@eslint-community/regexpp": "^4.6.1", "@eslint/eslintrc": "^2.1.2", - "@eslint/js": "8.50.0", + "@eslint/js": "8.51.0", "@humanwhocodes/config-array": "^0.11.11", "@humanwhocodes/module-importer": "^1.0.1", "@nodelib/fs.walk": "^1.2.8", @@ -5650,7 +5722,6 @@ "resolved": "https://registry.npmjs.org/events/-/events-3.3.0.tgz", "integrity": "sha512-mQw+2fkQbALzQ7V0MY0IqdnXNOeTtP4r0lN9z7AAawCXgqea7bDii20AYrIBrFd/Hx0M2Ocz6S111CaFkUcb0Q==", "dev": true, - "peer": true, "engines": { "node": ">=0.8.x" } @@ -5737,6 +5808,15 @@ "integrity": "sha512-DCXu6Ifhqcks7TZKY3Hxp3y6qphY5SJZmrWMDrKcERSOXWQdMhU9Ig/PYrzyw/ul9jOIyh0N4M0tbC5hodg8dw==", "dev": true }, + "node_modules/fastest-levenshtein": { + "version": "1.0.16", + "resolved": "https://registry.npmjs.org/fastest-levenshtein/-/fastest-levenshtein-1.0.16.tgz", + "integrity": "sha512-eRnCtTTtGZFpQCwhJiUOuxPQWRXVKYDn0b2PeHfXL6/Zi53SLAzAHfVhVWK2AryC/WH05kGfxhFIPvTF0SXQzg==", + "dev": true, + "engines": { + "node": ">= 4.9.1" + } + }, "node_modules/fastq": { "version": "1.13.0", "resolved": "https://registry.npmjs.org/fastq/-/fastq-1.13.0.tgz", @@ -6018,8 +6098,7 @@ "version": "0.4.1", "resolved": "https://registry.npmjs.org/glob-to-regexp/-/glob-to-regexp-0.4.1.tgz", "integrity": "sha512-lkX1HJXwyMcprw/5YUZc2s7DrpAiHB21/V+E1rHUrVNokkvB6bqMzT0VfV6/86ZNabt1k14YOIaT7nDvOX3Iiw==", - "dev": true, - "peer": true + "dev": true }, "node_modules/globals": { "version": "11.12.0", @@ -6587,6 +6666,18 @@ "node": ">=8" } }, + "node_modules/is-plain-object": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/is-plain-object/-/is-plain-object-2.0.4.tgz", + "integrity": "sha512-h5PpgXkWitc38BBMYawTYMWJHFZJVnBquFE57xFpjB8pJFiF6gZ+bU+WyI/yqXiFR5mdLsgYNaPe8uao6Uv9Og==", + "dev": true, + "dependencies": { + "isobject": "^3.0.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, "node_modules/is-regex": { "version": "1.1.4", "resolved": "https://registry.npmjs.org/is-regex/-/is-regex-1.1.4.tgz", @@ -6696,6 +6787,15 @@ "integrity": "sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==", "dev": true }, + "node_modules/isobject": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/isobject/-/isobject-3.0.1.tgz", + "integrity": "sha512-WhB9zCku7EGTj/HQQRz5aUQEUeoQZH2bWcltRErOpymJ4boYE6wL9Tbr23krRPSZ+C5zqNSrSw+Cc7sZZ4b7vg==", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, "node_modules/istanbul-lib-coverage": { "version": "3.2.0", "resolved": "https://registry.npmjs.org/istanbul-lib-coverage/-/istanbul-lib-coverage-3.2.0.tgz", @@ -8432,7 +8532,6 @@ "resolved": "https://registry.npmjs.org/jest-worker/-/jest-worker-27.5.1.tgz", "integrity": "sha512-7vuh85V5cdDofPyxn58nrPjBktZo0u9x1g8WtjQol+jZDaE+fhN+cIvTj11GndBnMnyfrUOG1sZQxCdjKh+DKg==", "dev": true, - "peer": true, "dependencies": { "@types/node": "*", "merge-stream": "^2.0.0", @@ -8447,7 +8546,6 @@ "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", "dev": true, - "peer": true, "engines": { "node": ">=8" } @@ -8457,7 +8555,6 @@ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-8.1.1.tgz", "integrity": "sha512-MpUEN2OodtUzxvKQl72cUF7RQ5EiHsGvSsVG0ia9c5RbWGL2CI4C7EpPS8UTBIplnlzZiNuV56w+FuNxy3ty2Q==", "dev": true, - "peer": true, "dependencies": { "has-flag": "^4.0.0" }, @@ -8596,6 +8693,15 @@ "graceful-fs": "^4.1.6" } }, + "node_modules/kind-of": { + "version": "6.0.3", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-6.0.3.tgz", + "integrity": "sha512-dcS1ul+9tmeD95T+x28/ehLgd9mENa3LsvDTtzm3vyBEO7RPptvAD+t44WVXaUjTBRcrpFeFlC8WCruUR456hw==", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, "node_modules/klaw": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/klaw/-/klaw-3.0.0.tgz", @@ -8665,7 +8771,6 @@ "resolved": "https://registry.npmjs.org/loader-runner/-/loader-runner-4.3.0.tgz", "integrity": "sha512-3R/1M+yS3j5ou80Me59j7F9IMs4PXs3VqRrm0TU3AbKPxlmpoY1TNscJV/oGJXo8qCatFGTfDbY6W6ipGOYXfg==", "dev": true, - "peer": true, "engines": { "node": ">=6.11.5" } @@ -8846,7 +8951,6 @@ "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.52.0.tgz", "integrity": "sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==", "dev": true, - "peer": true, "engines": { "node": ">= 0.6" } @@ -8856,7 +8960,6 @@ "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.35.tgz", "integrity": "sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==", "dev": true, - "peer": true, "dependencies": { "mime-db": "1.52.0" }, @@ -8940,8 +9043,7 @@ "version": "2.6.2", "resolved": "https://registry.npmjs.org/neo-async/-/neo-async-2.6.2.tgz", "integrity": "sha512-Yd3UES5mWCSqR+qNT93S3UoYUkqAZ9lLg8a7g9rimsWmYGK8cVToA4/sF3RrshdyV3sAGMXVUmpMYOw+dLpOuw==", - "dev": true, - "peer": true + "dev": true }, "node_modules/no-case": { "version": "3.0.4", @@ -9518,7 +9620,6 @@ "resolved": "https://registry.npmjs.org/randombytes/-/randombytes-2.1.0.tgz", "integrity": "sha512-vYl3iOX+4CKUWuxGi9Ukhie6fsqXqS9FE2Zaic4tNFD2N2QQaXOMFbuKK4QmDHC0JO6B1Zp41J0LpT0oR68amQ==", "dev": true, - "peer": true, "dependencies": { "safe-buffer": "^5.1.0" } @@ -9900,15 +10001,26 @@ } }, "node_modules/serialize-javascript": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/serialize-javascript/-/serialize-javascript-6.0.0.tgz", - "integrity": "sha512-Qr3TosvguFt8ePWqsvRfrKyQXIiW+nGbYpy8XK24NQHE83caxWt+mIymTT19DGFbNWNLfEwsrkSmN64lVWB9ag==", + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/serialize-javascript/-/serialize-javascript-6.0.1.tgz", + "integrity": "sha512-owoXEFjWRllis8/M1Q+Cw5k8ZH40e3zhp/ovX+Xr/vi1qj6QesbyXXViFbpNvWvPNAD62SutwEXavefrLJWj7w==", "dev": true, - "peer": true, "dependencies": { "randombytes": "^2.1.0" } }, + "node_modules/shallow-clone": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/shallow-clone/-/shallow-clone-3.0.1.tgz", + "integrity": "sha512-/6KqX+GVUdqPuPPd2LxDDxzX6CAbjJehAAOKlNpqqUpAqPM6HeL8f+o3a+JsyGjn2lv0WY8UsTgUJjU9Ok55NA==", + "dev": true, + "dependencies": { + "kind-of": "^6.0.2" + }, + "engines": { + "node": ">=8" + } + }, "node_modules/shebang-command": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz", @@ -10218,7 +10330,6 @@ "resolved": "https://registry.npmjs.org/tapable/-/tapable-2.2.1.tgz", "integrity": "sha512-GNzQvQTOIP6RyTfE2Qxb8ZVlNmw0n88vp1szwWRimP02mnTsx3Wtn5qRdqY9w2XduFNUgvOwhNnQsjwCp+kqaQ==", "dev": true, - "peer": true, "engines": { "node": ">=6" } @@ -10242,17 +10353,16 @@ } }, "node_modules/terser-webpack-plugin": { - "version": "5.3.3", - "resolved": "https://registry.npmjs.org/terser-webpack-plugin/-/terser-webpack-plugin-5.3.3.tgz", - "integrity": "sha512-Fx60G5HNYknNTNQnzQ1VePRuu89ZVYWfjRAeT5rITuCY/1b08s49e5kSQwHDirKZWuoKOBRFS98EUUoZ9kLEwQ==", + "version": "5.3.9", + "resolved": "https://registry.npmjs.org/terser-webpack-plugin/-/terser-webpack-plugin-5.3.9.tgz", + "integrity": "sha512-ZuXsqE07EcggTWQjXUj+Aot/OMcD0bMKGgF63f7UxYcu5/AJF53aIpK1YoP5xR9l6s/Hy2b+t1AM0bLNPRuhwA==", "dev": true, - "peer": true, "dependencies": { - "@jridgewell/trace-mapping": "^0.3.7", + "@jridgewell/trace-mapping": "^0.3.17", "jest-worker": "^27.4.5", "schema-utils": "^3.1.1", - "serialize-javascript": "^6.0.0", - "terser": "^5.7.2" + "serialize-javascript": "^6.0.1", + "terser": "^5.16.8" }, "engines": { "node": ">= 10.13.0" @@ -10277,11 +10387,10 @@ } }, "node_modules/terser-webpack-plugin/node_modules/schema-utils": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-3.1.1.tgz", - "integrity": "sha512-Y5PQxS4ITlC+EahLuXaY86TXfR7Dc5lw294alXOq86JAHCihAIZfqv8nNCWvaEJvaC51uN9hbLGeV0cFBdH+Fw==", + "version": "3.3.0", + "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-3.3.0.tgz", + "integrity": "sha512-pN/yOAvcC+5rQ5nERGuwrjLlYvLTbCibnZ1I7B1LaiAz9BRBlE9GMgE/eqV30P7aJQUf7Ddimy/RsbYO/GrVGg==", "dev": true, - "peer": true, "dependencies": { "@types/json-schema": "^7.0.8", "ajv": "^6.12.5", @@ -10669,7 +10778,6 @@ "resolved": "https://registry.npmjs.org/watchpack/-/watchpack-2.4.0.tgz", "integrity": "sha512-Lcvm7MGST/4fup+ifyKi2hjyIAwcdI4HRgtvTpIUxBRhB+RFtUh8XtDOxUfctVCnhVi+QQj49i91OyvzkJl6cg==", "dev": true, - "peer": true, "dependencies": { "glob-to-regexp": "^0.4.1", "graceful-fs": "^4.1.2" @@ -10679,23 +10787,22 @@ } }, "node_modules/webpack": { - "version": "5.73.0", - "resolved": "https://registry.npmjs.org/webpack/-/webpack-5.73.0.tgz", - "integrity": "sha512-svjudQRPPa0YiOYa2lM/Gacw0r6PvxptHj4FuEKQ2kX05ZLkjbVc5MnPs6its5j7IZljnIqSVo/OsY2X0IpHGA==", + "version": "5.88.2", + "resolved": "https://registry.npmjs.org/webpack/-/webpack-5.88.2.tgz", + "integrity": "sha512-JmcgNZ1iKj+aiR0OvTYtWQqJwq37Pf683dY9bVORwVbUrDhLhdn/PlO2sHsFHPkj7sHNQF3JwaAkp49V+Sq1tQ==", "dev": true, - "peer": true, "dependencies": { "@types/eslint-scope": "^3.7.3", - "@types/estree": "^0.0.51", - "@webassemblyjs/ast": "1.11.1", - "@webassemblyjs/wasm-edit": "1.11.1", - "@webassemblyjs/wasm-parser": "1.11.1", - "acorn": "^8.4.1", - "acorn-import-assertions": "^1.7.6", + "@types/estree": "^1.0.0", + "@webassemblyjs/ast": "^1.11.5", + "@webassemblyjs/wasm-edit": "^1.11.5", + "@webassemblyjs/wasm-parser": "^1.11.5", + "acorn": "^8.7.1", + "acorn-import-assertions": "^1.9.0", "browserslist": "^4.14.5", "chrome-trace-event": "^1.0.2", - "enhanced-resolve": "^5.9.3", - "es-module-lexer": "^0.9.0", + "enhanced-resolve": "^5.15.0", + "es-module-lexer": "^1.2.1", "eslint-scope": "5.1.1", "events": "^3.2.0", "glob-to-regexp": "^0.4.1", @@ -10704,10 +10811,10 @@ "loader-runner": "^4.2.0", "mime-types": "^2.1.27", "neo-async": "^2.6.2", - "schema-utils": "^3.1.0", + "schema-utils": "^3.2.0", "tapable": "^2.1.1", - "terser-webpack-plugin": "^5.1.3", - "watchpack": "^2.3.1", + "terser-webpack-plugin": "^5.3.7", + "watchpack": "^2.4.0", "webpack-sources": "^3.2.3" }, "bin": { @@ -10726,32 +10833,108 @@ } } }, + "node_modules/webpack-cli": { + "version": "5.1.4", + "resolved": "https://registry.npmjs.org/webpack-cli/-/webpack-cli-5.1.4.tgz", + "integrity": "sha512-pIDJHIEI9LR0yxHXQ+Qh95k2EvXpWzZ5l+d+jIo+RdSm9MiHfzazIxwwni/p7+x4eJZuvG1AJwgC4TNQ7NRgsg==", + "dev": true, + "dependencies": { + "@discoveryjs/json-ext": "^0.5.0", + "@webpack-cli/configtest": "^2.1.1", + "@webpack-cli/info": "^2.0.2", + "@webpack-cli/serve": "^2.0.5", + "colorette": "^2.0.14", + "commander": "^10.0.1", + "cross-spawn": "^7.0.3", + "envinfo": "^7.7.3", + "fastest-levenshtein": "^1.0.12", + "import-local": "^3.0.2", + "interpret": "^3.1.1", + "rechoir": "^0.8.0", + "webpack-merge": "^5.7.3" + }, + "bin": { + "webpack-cli": "bin/cli.js" + }, + "engines": { + "node": ">=14.15.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/webpack" + }, + "peerDependencies": { + "webpack": "5.x.x" + }, + "peerDependenciesMeta": { + "@webpack-cli/generators": { + "optional": true + }, + "webpack-bundle-analyzer": { + "optional": true + }, + "webpack-dev-server": { + "optional": true + } + } + }, + "node_modules/webpack-cli/node_modules/commander": { + "version": "10.0.1", + "resolved": "https://registry.npmjs.org/commander/-/commander-10.0.1.tgz", + "integrity": "sha512-y4Mg2tXshplEbSGzx7amzPwKKOCGuoSRP/CjEdwwk0FOGlUbq6lKuoyDZTNZkmxHdJtp54hdfY/JUrdL7Xfdug==", + "dev": true, + "engines": { + "node": ">=14" + } + }, + "node_modules/webpack-cli/node_modules/interpret": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/interpret/-/interpret-3.1.1.tgz", + "integrity": "sha512-6xwYfHbajpoF0xLW+iwLkhwgvLoZDfjYfoFNu8ftMoXINzwuymNLd9u/KmwtdT2GbR+/Cz66otEGEVVUHX9QLQ==", + "dev": true, + "engines": { + "node": ">=10.13.0" + } + }, + "node_modules/webpack-cli/node_modules/rechoir": { + "version": "0.8.0", + "resolved": "https://registry.npmjs.org/rechoir/-/rechoir-0.8.0.tgz", + "integrity": "sha512-/vxpCXddiX8NGfGO/mTafwjq4aFa/71pvamip0++IQk3zG8cbCj0fifNPrjjF1XMXUne91jL9OoxmdykoEtifQ==", + "dev": true, + "dependencies": { + "resolve": "^1.20.0" + }, + "engines": { + "node": ">= 10.13.0" + } + }, + "node_modules/webpack-merge": { + "version": "5.9.0", + "resolved": "https://registry.npmjs.org/webpack-merge/-/webpack-merge-5.9.0.tgz", + "integrity": "sha512-6NbRQw4+Sy50vYNTw7EyOn41OZItPiXB8GNv3INSoe3PSFaHJEz3SHTrYVaRm2LilNGnFUzh0FAwqPEmU/CwDg==", + "dev": true, + "dependencies": { + "clone-deep": "^4.0.1", + "wildcard": "^2.0.0" + }, + "engines": { + "node": ">=10.0.0" + } + }, "node_modules/webpack-sources": { "version": "3.2.3", "resolved": "https://registry.npmjs.org/webpack-sources/-/webpack-sources-3.2.3.tgz", "integrity": "sha512-/DyMEOrDgLKKIG0fmvtz+4dUX/3Ghozwgm6iPp8KRhvn+eQf9+Q7GWxVNMk3+uCPWfdXYC4ExGBckIXdFEfH1w==", "dev": true, - "peer": true, "engines": { "node": ">=10.13.0" } }, - "node_modules/webpack/node_modules/acorn-import-assertions": { - "version": "1.8.0", - "resolved": "https://registry.npmjs.org/acorn-import-assertions/-/acorn-import-assertions-1.8.0.tgz", - "integrity": "sha512-m7VZ3jwz4eK6A4Vtt8Ew1/mNbP24u0FhdyfA7fSvnJR6LMdfOYnmuIrrJAgrYfYJ10F/otaHTtrtrtmHdMNzEw==", - "dev": true, - "peer": true, - "peerDependencies": { - "acorn": "^8" - } - }, "node_modules/webpack/node_modules/schema-utils": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-3.1.1.tgz", - "integrity": "sha512-Y5PQxS4ITlC+EahLuXaY86TXfR7Dc5lw294alXOq86JAHCihAIZfqv8nNCWvaEJvaC51uN9hbLGeV0cFBdH+Fw==", + "version": "3.3.0", + "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-3.3.0.tgz", + "integrity": "sha512-pN/yOAvcC+5rQ5nERGuwrjLlYvLTbCibnZ1I7B1LaiAz9BRBlE9GMgE/eqV30P7aJQUf7Ddimy/RsbYO/GrVGg==", "dev": true, - "peer": true, "dependencies": { "@types/json-schema": "^7.0.8", "ajv": "^6.12.5", @@ -10815,6 +10998,12 @@ "url": "https://github.com/sponsors/ljharb" } }, + "node_modules/wildcard": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/wildcard/-/wildcard-2.0.1.tgz", + "integrity": "sha512-CC1bOL87PIWSBhDcTrdeLo6eGT7mCFtrg0uIJtqJUFyK+eJnzl8A1niH56uu7KMa5XFrtiV+AQuHO3n7DsHnLQ==", + "dev": true + }, "node_modules/wrap-ansi": { "version": "7.0.0", "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz", @@ -12255,6 +12444,12 @@ "integrity": "sha512-0hYQ8SB4Db5zvZB4axdMHGwEaQjkZzFjQiN9LVYvIFB2nSUHW9tYpxWriPrWDASIxiaXax83REcLxuSdnGPZtw==", "dev": true }, + "@discoveryjs/json-ext": { + "version": "0.5.7", + "resolved": "https://registry.npmjs.org/@discoveryjs/json-ext/-/json-ext-0.5.7.tgz", + "integrity": "sha512-dBVuXR082gk3jsFp7Rd/JI4kytwGHecnCoTtXFb7DB6CNHp4rg5k1bhg0nWdLGLnOV71lmDzGQaLMy8iPLY0pw==", + "dev": true + }, "@es-joy/jsdoccomment": { "version": "0.40.1", "resolved": "https://registry.npmjs.org/@es-joy/jsdoccomment/-/jsdoccomment-0.40.1.tgz", @@ -12324,9 +12519,9 @@ } }, "@eslint/js": { - "version": "8.50.0", - "resolved": "https://registry.npmjs.org/@eslint/js/-/js-8.50.0.tgz", - "integrity": "sha512-NCC3zz2+nvYd+Ckfh87rA47zfu2QsQpvc6k1yzTk+b9KzRj0wkGa8LSoGOXN6Zv4lRf/EIoZ80biDh9HOI+RNQ==", + "version": "8.51.0", + "resolved": "https://registry.npmjs.org/@eslint/js/-/js-8.51.0.tgz", + "integrity": "sha512-HxjQ8Qn+4SI3/AFv6sOrDB+g6PpUTDwSJiQqOrnneEk8L71161srI9gjzzZvYVbzHiVg/BvcH95+cK/zfIt4pg==", "dev": true }, "@humanwhocodes/config-array": { @@ -13153,7 +13348,6 @@ "resolved": "https://registry.npmjs.org/@types/eslint/-/eslint-8.4.3.tgz", "integrity": "sha512-YP1S7YJRMPs+7KZKDb9G63n8YejIwW9BALq7a5j2+H4yl6iOv9CB29edho+cuFRrvmJbbaH2yiVChKLJVysDGw==", "dev": true, - "peer": true, "requires": { "@types/estree": "*", "@types/json-schema": "*" @@ -13164,18 +13358,16 @@ "resolved": "https://registry.npmjs.org/@types/eslint-scope/-/eslint-scope-3.7.3.tgz", "integrity": "sha512-PB3ldyrcnAicT35TWPs5IcwKD8S333HMaa2VVv4+wdvebJkjWuW/xESoB8IwRcog8HYVYamb1g/R31Qv5Bx03g==", "dev": true, - "peer": true, "requires": { "@types/eslint": "*", "@types/estree": "*" } }, "@types/estree": { - "version": "0.0.51", - "resolved": "https://registry.npmjs.org/@types/estree/-/estree-0.0.51.tgz", - "integrity": "sha512-CuPgU6f3eT/XgKKPqKd/gLZV1Xmvf1a2R5POBOGQa6uv82xpls89HU5zKeVoyR8XzHd1RGNOlQlvUe3CFkjWNQ==", - "dev": true, - "peer": true + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/@types/estree/-/estree-1.0.2.tgz", + "integrity": "sha512-VeiPZ9MMwXjO32/Xu7+OwflfmeoRwkE/qzndw42gGtgJwZopBnzy2gD//NN1+go1mADzkDcqf/KnFRSjTJ8xJA==", + "dev": true }, "@types/graceful-fs": { "version": "4.1.6", @@ -13346,179 +13538,183 @@ } }, "@webassemblyjs/ast": { - "version": "1.11.1", - "resolved": "https://registry.npmjs.org/@webassemblyjs/ast/-/ast-1.11.1.tgz", - "integrity": "sha512-ukBh14qFLjxTQNTXocdyksN5QdM28S1CxHt2rdskFyL+xFV7VremuBLVbmCePj+URalXBENx/9Lm7lnhihtCSw==", + "version": "1.11.6", + "resolved": "https://registry.npmjs.org/@webassemblyjs/ast/-/ast-1.11.6.tgz", + "integrity": "sha512-IN1xI7PwOvLPgjcf180gC1bqn3q/QaOCwYUahIOhbYUu8KA/3tw2RT/T0Gidi1l7Hhj5D/INhJxiICObqpMu4Q==", "dev": true, - "peer": true, "requires": { - "@webassemblyjs/helper-numbers": "1.11.1", - "@webassemblyjs/helper-wasm-bytecode": "1.11.1" + "@webassemblyjs/helper-numbers": "1.11.6", + "@webassemblyjs/helper-wasm-bytecode": "1.11.6" } }, "@webassemblyjs/floating-point-hex-parser": { - "version": "1.11.1", - "resolved": "https://registry.npmjs.org/@webassemblyjs/floating-point-hex-parser/-/floating-point-hex-parser-1.11.1.tgz", - "integrity": "sha512-iGRfyc5Bq+NnNuX8b5hwBrRjzf0ocrJPI6GWFodBFzmFnyvrQ83SHKhmilCU/8Jv67i4GJZBMhEzltxzcNagtQ==", - "dev": true, - "peer": true + "version": "1.11.6", + "resolved": "https://registry.npmjs.org/@webassemblyjs/floating-point-hex-parser/-/floating-point-hex-parser-1.11.6.tgz", + "integrity": "sha512-ejAj9hfRJ2XMsNHk/v6Fu2dGS+i4UaXBXGemOfQ/JfQ6mdQg/WXtwleQRLLS4OvfDhv8rYnVwH27YJLMyYsxhw==", + "dev": true }, "@webassemblyjs/helper-api-error": { - "version": "1.11.1", - "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-api-error/-/helper-api-error-1.11.1.tgz", - "integrity": "sha512-RlhS8CBCXfRUR/cwo2ho9bkheSXG0+NwooXcc3PAILALf2QLdFyj7KGsKRbVc95hZnhnERon4kW/D3SZpp6Tcg==", - "dev": true, - "peer": true + "version": "1.11.6", + "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-api-error/-/helper-api-error-1.11.6.tgz", + "integrity": "sha512-o0YkoP4pVu4rN8aTJgAyj9hC2Sv5UlkzCHhxqWj8butaLvnpdc2jOwh4ewE6CX0txSfLn/UYaV/pheS2Txg//Q==", + "dev": true }, "@webassemblyjs/helper-buffer": { - "version": "1.11.1", - "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-buffer/-/helper-buffer-1.11.1.tgz", - "integrity": "sha512-gwikF65aDNeeXa8JxXa2BAk+REjSyhrNC9ZwdT0f8jc4dQQeDQ7G4m0f2QCLPJiMTTO6wfDmRmj/pW0PsUvIcA==", - "dev": true, - "peer": true + "version": "1.11.6", + "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-buffer/-/helper-buffer-1.11.6.tgz", + "integrity": "sha512-z3nFzdcp1mb8nEOFFk8DrYLpHvhKC3grJD2ardfKOzmbmJvEf/tPIqCY+sNcwZIY8ZD7IkB2l7/pqhUhqm7hLA==", + "dev": true }, "@webassemblyjs/helper-numbers": { - "version": "1.11.1", - "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-numbers/-/helper-numbers-1.11.1.tgz", - "integrity": "sha512-vDkbxiB8zfnPdNK9Rajcey5C0w+QJugEglN0of+kmO8l7lDb77AnlKYQF7aarZuCrv+l0UvqL+68gSDr3k9LPQ==", + "version": "1.11.6", + "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-numbers/-/helper-numbers-1.11.6.tgz", + "integrity": "sha512-vUIhZ8LZoIWHBohiEObxVm6hwP034jwmc9kuq5GdHZH0wiLVLIPcMCdpJzG4C11cHoQ25TFIQj9kaVADVX7N3g==", "dev": true, - "peer": true, "requires": { - "@webassemblyjs/floating-point-hex-parser": "1.11.1", - "@webassemblyjs/helper-api-error": "1.11.1", + "@webassemblyjs/floating-point-hex-parser": "1.11.6", + "@webassemblyjs/helper-api-error": "1.11.6", "@xtuc/long": "4.2.2" } }, "@webassemblyjs/helper-wasm-bytecode": { - "version": "1.11.1", - "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-wasm-bytecode/-/helper-wasm-bytecode-1.11.1.tgz", - "integrity": "sha512-PvpoOGiJwXeTrSf/qfudJhwlvDQxFgelbMqtq52WWiXC6Xgg1IREdngmPN3bs4RoO83PnL/nFrxucXj1+BX62Q==", - "dev": true, - "peer": true + "version": "1.11.6", + "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-wasm-bytecode/-/helper-wasm-bytecode-1.11.6.tgz", + "integrity": "sha512-sFFHKwcmBprO9e7Icf0+gddyWYDViL8bpPjJJl0WHxCdETktXdmtWLGVzoHbqUcY4Be1LkNfwTmXOJUFZYSJdA==", + "dev": true }, "@webassemblyjs/helper-wasm-section": { - "version": "1.11.1", - "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-wasm-section/-/helper-wasm-section-1.11.1.tgz", - "integrity": "sha512-10P9No29rYX1j7F3EVPX3JvGPQPae+AomuSTPiF9eBQeChHI6iqjMIwR9JmOJXwpnn/oVGDk7I5IlskuMwU/pg==", + "version": "1.11.6", + "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-wasm-section/-/helper-wasm-section-1.11.6.tgz", + "integrity": "sha512-LPpZbSOwTpEC2cgn4hTydySy1Ke+XEu+ETXuoyvuyezHO3Kjdu90KK95Sh9xTbmjrCsUwvWwCOQQNta37VrS9g==", "dev": true, - "peer": true, "requires": { - "@webassemblyjs/ast": "1.11.1", - "@webassemblyjs/helper-buffer": "1.11.1", - "@webassemblyjs/helper-wasm-bytecode": "1.11.1", - "@webassemblyjs/wasm-gen": "1.11.1" + "@webassemblyjs/ast": "1.11.6", + "@webassemblyjs/helper-buffer": "1.11.6", + "@webassemblyjs/helper-wasm-bytecode": "1.11.6", + "@webassemblyjs/wasm-gen": "1.11.6" } }, "@webassemblyjs/ieee754": { - "version": "1.11.1", - "resolved": "https://registry.npmjs.org/@webassemblyjs/ieee754/-/ieee754-1.11.1.tgz", - "integrity": "sha512-hJ87QIPtAMKbFq6CGTkZYJivEwZDbQUgYd3qKSadTNOhVY7p+gfP6Sr0lLRVTaG1JjFj+r3YchoqRYxNH3M0GQ==", + "version": "1.11.6", + "resolved": "https://registry.npmjs.org/@webassemblyjs/ieee754/-/ieee754-1.11.6.tgz", + "integrity": "sha512-LM4p2csPNvbij6U1f19v6WR56QZ8JcHg3QIJTlSwzFcmx6WSORicYj6I63f9yU1kEUtrpG+kjkiIAkevHpDXrg==", "dev": true, - "peer": true, "requires": { "@xtuc/ieee754": "^1.2.0" } }, "@webassemblyjs/leb128": { - "version": "1.11.1", - "resolved": "https://registry.npmjs.org/@webassemblyjs/leb128/-/leb128-1.11.1.tgz", - "integrity": "sha512-BJ2P0hNZ0u+Th1YZXJpzW6miwqQUGcIHT1G/sf72gLVD9DZ5AdYTqPNbHZh6K1M5VmKvFXwGSWZADz+qBWxeRw==", + "version": "1.11.6", + "resolved": "https://registry.npmjs.org/@webassemblyjs/leb128/-/leb128-1.11.6.tgz", + "integrity": "sha512-m7a0FhE67DQXgouf1tbN5XQcdWoNgaAuoULHIfGFIEVKA6tu/edls6XnIlkmS6FrXAquJRPni3ZZKjw6FSPjPQ==", "dev": true, - "peer": true, "requires": { "@xtuc/long": "4.2.2" } }, "@webassemblyjs/utf8": { - "version": "1.11.1", - "resolved": "https://registry.npmjs.org/@webassemblyjs/utf8/-/utf8-1.11.1.tgz", - "integrity": "sha512-9kqcxAEdMhiwQkHpkNiorZzqpGrodQQ2IGrHHxCy+Ozng0ofyMA0lTqiLkVs1uzTRejX+/O0EOT7KxqVPuXosQ==", - "dev": true, - "peer": true + "version": "1.11.6", + "resolved": "https://registry.npmjs.org/@webassemblyjs/utf8/-/utf8-1.11.6.tgz", + "integrity": "sha512-vtXf2wTQ3+up9Zsg8sa2yWiQpzSsMyXj0qViVP6xKGCUT8p8YJ6HqI7l5eCnWx1T/FYdsv07HQs2wTFbbof/RA==", + "dev": true }, "@webassemblyjs/wasm-edit": { - "version": "1.11.1", - "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-edit/-/wasm-edit-1.11.1.tgz", - "integrity": "sha512-g+RsupUC1aTHfR8CDgnsVRVZFJqdkFHpsHMfJuWQzWU3tvnLC07UqHICfP+4XyL2tnr1amvl1Sdp06TnYCmVkA==", + "version": "1.11.6", + "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-edit/-/wasm-edit-1.11.6.tgz", + "integrity": "sha512-Ybn2I6fnfIGuCR+Faaz7YcvtBKxvoLV3Lebn1tM4o/IAJzmi9AWYIPWpyBfU8cC+JxAO57bk4+zdsTjJR+VTOw==", "dev": true, - "peer": true, "requires": { - "@webassemblyjs/ast": "1.11.1", - "@webassemblyjs/helper-buffer": "1.11.1", - "@webassemblyjs/helper-wasm-bytecode": "1.11.1", - "@webassemblyjs/helper-wasm-section": "1.11.1", - "@webassemblyjs/wasm-gen": "1.11.1", - "@webassemblyjs/wasm-opt": "1.11.1", - "@webassemblyjs/wasm-parser": "1.11.1", - "@webassemblyjs/wast-printer": "1.11.1" + "@webassemblyjs/ast": "1.11.6", + "@webassemblyjs/helper-buffer": "1.11.6", + "@webassemblyjs/helper-wasm-bytecode": "1.11.6", + "@webassemblyjs/helper-wasm-section": "1.11.6", + "@webassemblyjs/wasm-gen": "1.11.6", + "@webassemblyjs/wasm-opt": "1.11.6", + "@webassemblyjs/wasm-parser": "1.11.6", + "@webassemblyjs/wast-printer": "1.11.6" } }, "@webassemblyjs/wasm-gen": { - "version": "1.11.1", - "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-gen/-/wasm-gen-1.11.1.tgz", - "integrity": "sha512-F7QqKXwwNlMmsulj6+O7r4mmtAlCWfO/0HdgOxSklZfQcDu0TpLiD1mRt/zF25Bk59FIjEuGAIyn5ei4yMfLhA==", + "version": "1.11.6", + "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-gen/-/wasm-gen-1.11.6.tgz", + "integrity": "sha512-3XOqkZP/y6B4F0PBAXvI1/bky7GryoogUtfwExeP/v7Nzwo1QLcq5oQmpKlftZLbT+ERUOAZVQjuNVak6UXjPA==", "dev": true, - "peer": true, "requires": { - "@webassemblyjs/ast": "1.11.1", - "@webassemblyjs/helper-wasm-bytecode": "1.11.1", - "@webassemblyjs/ieee754": "1.11.1", - "@webassemblyjs/leb128": "1.11.1", - "@webassemblyjs/utf8": "1.11.1" + "@webassemblyjs/ast": "1.11.6", + "@webassemblyjs/helper-wasm-bytecode": "1.11.6", + "@webassemblyjs/ieee754": "1.11.6", + "@webassemblyjs/leb128": "1.11.6", + "@webassemblyjs/utf8": "1.11.6" } }, "@webassemblyjs/wasm-opt": { - "version": "1.11.1", - "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-opt/-/wasm-opt-1.11.1.tgz", - "integrity": "sha512-VqnkNqnZlU5EB64pp1l7hdm3hmQw7Vgqa0KF/KCNO9sIpI6Fk6brDEiX+iCOYrvMuBWDws0NkTOxYEb85XQHHw==", + "version": "1.11.6", + "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-opt/-/wasm-opt-1.11.6.tgz", + "integrity": "sha512-cOrKuLRE7PCe6AsOVl7WasYf3wbSo4CeOk6PkrjS7g57MFfVUF9u6ysQBBODX0LdgSvQqRiGz3CXvIDKcPNy4g==", "dev": true, - "peer": true, "requires": { - "@webassemblyjs/ast": "1.11.1", - "@webassemblyjs/helper-buffer": "1.11.1", - "@webassemblyjs/wasm-gen": "1.11.1", - "@webassemblyjs/wasm-parser": "1.11.1" + "@webassemblyjs/ast": "1.11.6", + "@webassemblyjs/helper-buffer": "1.11.6", + "@webassemblyjs/wasm-gen": "1.11.6", + "@webassemblyjs/wasm-parser": "1.11.6" } }, "@webassemblyjs/wasm-parser": { - "version": "1.11.1", - "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-parser/-/wasm-parser-1.11.1.tgz", - "integrity": "sha512-rrBujw+dJu32gYB7/Lup6UhdkPx9S9SnobZzRVL7VcBH9Bt9bCBLEuX/YXOOtBsOZ4NQrRykKhffRWHvigQvOA==", + "version": "1.11.6", + "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-parser/-/wasm-parser-1.11.6.tgz", + "integrity": "sha512-6ZwPeGzMJM3Dqp3hCsLgESxBGtT/OeCvCZ4TA1JUPYgmhAx38tTPR9JaKy0S5H3evQpO/h2uWs2j6Yc/fjkpTQ==", "dev": true, - "peer": true, "requires": { - "@webassemblyjs/ast": "1.11.1", - "@webassemblyjs/helper-api-error": "1.11.1", - "@webassemblyjs/helper-wasm-bytecode": "1.11.1", - "@webassemblyjs/ieee754": "1.11.1", - "@webassemblyjs/leb128": "1.11.1", - "@webassemblyjs/utf8": "1.11.1" + "@webassemblyjs/ast": "1.11.6", + "@webassemblyjs/helper-api-error": "1.11.6", + "@webassemblyjs/helper-wasm-bytecode": "1.11.6", + "@webassemblyjs/ieee754": "1.11.6", + "@webassemblyjs/leb128": "1.11.6", + "@webassemblyjs/utf8": "1.11.6" } }, "@webassemblyjs/wast-printer": { - "version": "1.11.1", - "resolved": "https://registry.npmjs.org/@webassemblyjs/wast-printer/-/wast-printer-1.11.1.tgz", - "integrity": "sha512-IQboUWM4eKzWW+N/jij2sRatKMh99QEelo3Eb2q0qXkvPRISAj8Qxtmw5itwqK+TTkBuUIE45AxYPToqPtL5gg==", + "version": "1.11.6", + "resolved": "https://registry.npmjs.org/@webassemblyjs/wast-printer/-/wast-printer-1.11.6.tgz", + "integrity": "sha512-JM7AhRcE+yW2GWYaKeHL5vt4xqee5N2WcezptmgyhNS+ScggqcT1OtXykhAb13Sn5Yas0j2uv9tHgrjwvzAP4A==", "dev": true, - "peer": true, "requires": { - "@webassemblyjs/ast": "1.11.1", + "@webassemblyjs/ast": "1.11.6", "@xtuc/long": "4.2.2" } }, + "@webpack-cli/configtest": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/@webpack-cli/configtest/-/configtest-2.1.1.tgz", + "integrity": "sha512-wy0mglZpDSiSS0XHrVR+BAdId2+yxPSoJW8fsna3ZpYSlufjvxnP4YbKTCBZnNIcGN4r6ZPXV55X4mYExOfLmw==", + "dev": true, + "requires": {} + }, + "@webpack-cli/info": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/@webpack-cli/info/-/info-2.0.2.tgz", + "integrity": "sha512-zLHQdI/Qs1UyT5UBdWNqsARasIA+AaF8t+4u2aS2nEpBQh2mWIVb8qAklq0eUENnC5mOItrIB4LiS9xMtph18A==", + "dev": true, + "requires": {} + }, + "@webpack-cli/serve": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/@webpack-cli/serve/-/serve-2.0.5.tgz", + "integrity": "sha512-lqaoKnRYBdo1UgDX8uF24AfGMifWK19TxPmM5FHc2vAGxrJ/qtyUyFBWoY1tISZdelsQ5fBcOusifo5o5wSJxQ==", + "dev": true, + "requires": {} + }, "@xtuc/ieee754": { "version": "1.2.0", "resolved": "https://registry.npmjs.org/@xtuc/ieee754/-/ieee754-1.2.0.tgz", "integrity": "sha512-DX8nKgqcGwsc0eJSqYt5lwP4DH5FlHnmuWWBRy7X0NcaGR0ZtuyeESgMwTYVEtxmsNGY+qit4QYT/MIYTOTPeA==", - "dev": true, - "peer": true + "dev": true }, "@xtuc/long": { "version": "4.2.2", "resolved": "https://registry.npmjs.org/@xtuc/long/-/long-4.2.2.tgz", "integrity": "sha512-NuHqBY1PB/D8xU6s/thBgOAiAP7HOYDQ32+BFZILJ8ivkUkAHQnWfn6WhL79Owj1qmUnoN/YPhktdIoucipkAQ==", - "dev": true, - "peer": true + "dev": true }, "acorn": { "version": "8.10.0", @@ -13526,6 +13722,13 @@ "integrity": "sha512-F0SAmZ8iUtS//m8DmCTA0jlh6TDKkHQyK6xc6V4KDTyZKA9dnvX9/3sRTVQrWm79glUAZbnmmNcdYwUIHWVybw==", "dev": true }, + "acorn-import-assertions": { + "version": "1.9.0", + "resolved": "https://registry.npmjs.org/acorn-import-assertions/-/acorn-import-assertions-1.9.0.tgz", + "integrity": "sha512-cmMwop9x+8KFhxvKrKfPYmN6/pKTYYHBqLa0DfvVZcKMJWNyWLnaqND7dx/qn66R7ewM1UX5XMaDVP5wlVTaVA==", + "dev": true, + "requires": {} + }, "acorn-jsx": { "version": "5.3.2", "resolved": "https://registry.npmjs.org/acorn-jsx/-/acorn-jsx-5.3.2.tgz", @@ -13579,7 +13782,6 @@ "resolved": "https://registry.npmjs.org/ajv-keywords/-/ajv-keywords-3.5.2.tgz", "integrity": "sha512-5p6WTN0DdTGVQk6VjcEju19IgaHudalcfabD7yhDGeA6bcQnmL+CpveLJq/3hvfwd1aof6L386Ougkx6RfyMIQ==", "dev": true, - "peer": true, "requires": {} }, "ansi-escapes": { @@ -14090,8 +14292,7 @@ "version": "1.0.3", "resolved": "https://registry.npmjs.org/chrome-trace-event/-/chrome-trace-event-1.0.3.tgz", "integrity": "sha512-p3KULyQg4S7NIHixdwbGX+nFHkoBiA4YQmyWtjb8XngSKV124nJmRysgAeujbUVb15vh+RvFUfCPqU7rXk+hZg==", - "dev": true, - "peer": true + "dev": true }, "ci-info": { "version": "3.8.0", @@ -14140,6 +14341,17 @@ "wrap-ansi": "^7.0.0" } }, + "clone-deep": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/clone-deep/-/clone-deep-4.0.1.tgz", + "integrity": "sha512-neHB9xuzh/wk0dIHweyAXv2aPGZIVk3pLMe+/RNzINf17fe0OG96QroktYAUm7SM1PBnzTabaLboqqxDyMU+SQ==", + "dev": true, + "requires": { + "is-plain-object": "^2.0.4", + "kind-of": "^6.0.2", + "shallow-clone": "^3.0.0" + } + }, "co": { "version": "4.6.0", "resolved": "https://registry.npmjs.org/co/-/co-4.6.0.tgz", @@ -14167,6 +14379,12 @@ "integrity": "sha512-72fSenhMw2HZMTVHeCA9KCmpEIbzWiQsjN+BHcBbS9vr1mtt+vJjPdksIBNUmKAW8TFUDPJK5SUU3QhE9NEXDw==", "dev": true }, + "colorette": { + "version": "2.0.20", + "resolved": "https://registry.npmjs.org/colorette/-/colorette-2.0.20.tgz", + "integrity": "sha512-IfEDxwoWIjkeXL1eXcDiow4UbKjhLdq6/EuSVR9GMN7KVH3r9gQ83e73hsz1Nd1T3ijd5xv1wcWRYO+D6kCI2w==", + "dev": true + }, "commander": { "version": "11.0.0", "resolved": "https://registry.npmjs.org/commander/-/commander-11.0.0.tgz", @@ -14446,11 +14664,10 @@ "dev": true }, "enhanced-resolve": { - "version": "5.9.3", - "resolved": "https://registry.npmjs.org/enhanced-resolve/-/enhanced-resolve-5.9.3.tgz", - "integrity": "sha512-Bq9VSor+kjvW3f9/MiiR4eE3XYgOl7/rS8lnSxbRbF3kS0B2r+Y9w5krBWxZgDxASVZbdYrn5wT4j/Wb0J9qow==", + "version": "5.15.0", + "resolved": "https://registry.npmjs.org/enhanced-resolve/-/enhanced-resolve-5.15.0.tgz", + "integrity": "sha512-LXYT42KJ7lpIKECr2mAXIaMldcNCh/7E0KBKOu4KSfkHmP+mZmSs+8V5gBAqisWBy0OO4W5Oyys0GO1Y8KtdKg==", "dev": true, - "peer": true, "requires": { "graceful-fs": "^4.2.4", "tapable": "^2.2.0" @@ -14461,6 +14678,12 @@ "resolved": "https://registry.npmjs.org/entities/-/entities-4.5.0.tgz", "integrity": "sha512-V0hjH4dGPh9Ao5p0MoRY6BVqtwCjhz6vI5LT8AJ55H+4g9/4vbHx1I54fS0XuclLhDHArPQCiMjDxjaL8fPxhw==" }, + "envinfo": { + "version": "7.10.0", + "resolved": "https://registry.npmjs.org/envinfo/-/envinfo-7.10.0.tgz", + "integrity": "sha512-ZtUjZO6l5mwTHvc1L9+1q5p/R3wTopcfqMW8r5t8SJSKqeVI/LtajORwRFEKpEFuekjD0VBjwu1HMxL4UalIRw==", + "dev": true + }, "error-ex": { "version": "1.3.2", "resolved": "https://registry.npmjs.org/error-ex/-/error-ex-1.3.2.tgz", @@ -14518,11 +14741,10 @@ } }, "es-module-lexer": { - "version": "0.9.3", - "resolved": "https://registry.npmjs.org/es-module-lexer/-/es-module-lexer-0.9.3.tgz", - "integrity": "sha512-1HQ2M2sPtxwnvOvT1ZClHyQDiggdNjURWpY2we6aMKCQiUVxTmVs2UYPLIrD84sS+kMdUwfBSylbJPwNnBrnHQ==", - "dev": true, - "peer": true + "version": "1.3.1", + "resolved": "https://registry.npmjs.org/es-module-lexer/-/es-module-lexer-1.3.1.tgz", + "integrity": "sha512-JUFAyicQV9mXc3YRxPnDlrfBKpqt6hUYzz9/boprUJHs4e4KVr3XwOF70doO6gwXUor6EWZJAyWAfKki84t20Q==", + "dev": true }, "es-set-tostringtag": { "version": "2.0.1", @@ -14568,15 +14790,15 @@ "dev": true }, "eslint": { - "version": "8.50.0", - "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.50.0.tgz", - "integrity": "sha512-FOnOGSuFuFLv/Sa+FDVRZl4GGVAAFFi8LecRsI5a1tMO5HIE8nCm4ivAlzt4dT3ol/PaaGC0rJEEXQmHJBGoOg==", + "version": "8.51.0", + "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.51.0.tgz", + "integrity": "sha512-2WuxRZBrlwnXi+/vFSJyjMqrNjtJqiasMzehF0shoLaW7DzS3/9Yvrmq5JiT66+pNjiX4UBnLDiKHcWAr/OInA==", "dev": true, "requires": { "@eslint-community/eslint-utils": "^4.2.0", "@eslint-community/regexpp": "^4.6.1", "@eslint/eslintrc": "^2.1.2", - "@eslint/js": "8.50.0", + "@eslint/js": "8.51.0", "@humanwhocodes/config-array": "^0.11.11", "@humanwhocodes/module-importer": "^1.0.1", "@nodelib/fs.walk": "^1.2.8", @@ -15061,8 +15283,7 @@ "version": "3.3.0", "resolved": "https://registry.npmjs.org/events/-/events-3.3.0.tgz", "integrity": "sha512-mQw+2fkQbALzQ7V0MY0IqdnXNOeTtP4r0lN9z7AAawCXgqea7bDii20AYrIBrFd/Hx0M2Ocz6S111CaFkUcb0Q==", - "dev": true, - "peer": true + "dev": true }, "execa": { "version": "5.1.1", @@ -15131,6 +15352,12 @@ "integrity": "sha512-DCXu6Ifhqcks7TZKY3Hxp3y6qphY5SJZmrWMDrKcERSOXWQdMhU9Ig/PYrzyw/ul9jOIyh0N4M0tbC5hodg8dw==", "dev": true }, + "fastest-levenshtein": { + "version": "1.0.16", + "resolved": "https://registry.npmjs.org/fastest-levenshtein/-/fastest-levenshtein-1.0.16.tgz", + "integrity": "sha512-eRnCtTTtGZFpQCwhJiUOuxPQWRXVKYDn0b2PeHfXL6/Zi53SLAzAHfVhVWK2AryC/WH05kGfxhFIPvTF0SXQzg==", + "dev": true + }, "fastq": { "version": "1.13.0", "resolved": "https://registry.npmjs.org/fastq/-/fastq-1.13.0.tgz", @@ -15339,8 +15566,7 @@ "version": "0.4.1", "resolved": "https://registry.npmjs.org/glob-to-regexp/-/glob-to-regexp-0.4.1.tgz", "integrity": "sha512-lkX1HJXwyMcprw/5YUZc2s7DrpAiHB21/V+E1rHUrVNokkvB6bqMzT0VfV6/86ZNabt1k14YOIaT7nDvOX3Iiw==", - "dev": true, - "peer": true + "dev": true }, "globals": { "version": "11.12.0", @@ -15737,6 +15963,15 @@ "integrity": "sha512-Fd4gABb+ycGAmKou8eMftCupSir5lRxqf4aD/vd0cD2qc4HL07OjCeuHMr8Ro4CoMaeCKDB0/ECBOVWjTwUvPQ==", "dev": true }, + "is-plain-object": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/is-plain-object/-/is-plain-object-2.0.4.tgz", + "integrity": "sha512-h5PpgXkWitc38BBMYawTYMWJHFZJVnBquFE57xFpjB8pJFiF6gZ+bU+WyI/yqXiFR5mdLsgYNaPe8uao6Uv9Og==", + "dev": true, + "requires": { + "isobject": "^3.0.1" + } + }, "is-regex": { "version": "1.1.4", "resolved": "https://registry.npmjs.org/is-regex/-/is-regex-1.1.4.tgz", @@ -15810,6 +16045,12 @@ "integrity": "sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==", "dev": true }, + "isobject": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/isobject/-/isobject-3.0.1.tgz", + "integrity": "sha512-WhB9zCku7EGTj/HQQRz5aUQEUeoQZH2bWcltRErOpymJ4boYE6wL9Tbr23krRPSZ+C5zqNSrSw+Cc7sZZ4b7vg==", + "dev": true + }, "istanbul-lib-coverage": { "version": "3.2.0", "resolved": "https://registry.npmjs.org/istanbul-lib-coverage/-/istanbul-lib-coverage-3.2.0.tgz", @@ -17099,7 +17340,6 @@ "resolved": "https://registry.npmjs.org/jest-worker/-/jest-worker-27.5.1.tgz", "integrity": "sha512-7vuh85V5cdDofPyxn58nrPjBktZo0u9x1g8WtjQol+jZDaE+fhN+cIvTj11GndBnMnyfrUOG1sZQxCdjKh+DKg==", "dev": true, - "peer": true, "requires": { "@types/node": "*", "merge-stream": "^2.0.0", @@ -17110,15 +17350,13 @@ "version": "4.0.0", "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", - "dev": true, - "peer": true + "dev": true }, "supports-color": { "version": "8.1.1", "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-8.1.1.tgz", "integrity": "sha512-MpUEN2OodtUzxvKQl72cUF7RQ5EiHsGvSsVG0ia9c5RbWGL2CI4C7EpPS8UTBIplnlzZiNuV56w+FuNxy3ty2Q==", "dev": true, - "peer": true, "requires": { "has-flag": "^4.0.0" } @@ -17226,6 +17464,12 @@ "universalify": "^2.0.0" } }, + "kind-of": { + "version": "6.0.3", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-6.0.3.tgz", + "integrity": "sha512-dcS1ul+9tmeD95T+x28/ehLgd9mENa3LsvDTtzm3vyBEO7RPptvAD+t44WVXaUjTBRcrpFeFlC8WCruUR456hw==", + "dev": true + }, "klaw": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/klaw/-/klaw-3.0.0.tgz", @@ -17285,8 +17529,7 @@ "version": "4.3.0", "resolved": "https://registry.npmjs.org/loader-runner/-/loader-runner-4.3.0.tgz", "integrity": "sha512-3R/1M+yS3j5ou80Me59j7F9IMs4PXs3VqRrm0TU3AbKPxlmpoY1TNscJV/oGJXo8qCatFGTfDbY6W6ipGOYXfg==", - "dev": true, - "peer": true + "dev": true }, "locate-path": { "version": "6.0.0", @@ -17433,15 +17676,13 @@ "version": "1.52.0", "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.52.0.tgz", "integrity": "sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==", - "dev": true, - "peer": true + "dev": true }, "mime-types": { "version": "2.1.35", "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.35.tgz", "integrity": "sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==", "dev": true, - "peer": true, "requires": { "mime-db": "1.52.0" } @@ -17495,8 +17736,7 @@ "version": "2.6.2", "resolved": "https://registry.npmjs.org/neo-async/-/neo-async-2.6.2.tgz", "integrity": "sha512-Yd3UES5mWCSqR+qNT93S3UoYUkqAZ9lLg8a7g9rimsWmYGK8cVToA4/sF3RrshdyV3sAGMXVUmpMYOw+dLpOuw==", - "dev": true, - "peer": true + "dev": true }, "no-case": { "version": "3.0.4", @@ -17908,7 +18148,6 @@ "resolved": "https://registry.npmjs.org/randombytes/-/randombytes-2.1.0.tgz", "integrity": "sha512-vYl3iOX+4CKUWuxGi9Ukhie6fsqXqS9FE2Zaic4tNFD2N2QQaXOMFbuKK4QmDHC0JO6B1Zp41J0LpT0oR68amQ==", "dev": true, - "peer": true, "requires": { "safe-buffer": "^5.1.0" } @@ -18186,15 +18425,23 @@ } }, "serialize-javascript": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/serialize-javascript/-/serialize-javascript-6.0.0.tgz", - "integrity": "sha512-Qr3TosvguFt8ePWqsvRfrKyQXIiW+nGbYpy8XK24NQHE83caxWt+mIymTT19DGFbNWNLfEwsrkSmN64lVWB9ag==", + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/serialize-javascript/-/serialize-javascript-6.0.1.tgz", + "integrity": "sha512-owoXEFjWRllis8/M1Q+Cw5k8ZH40e3zhp/ovX+Xr/vi1qj6QesbyXXViFbpNvWvPNAD62SutwEXavefrLJWj7w==", "dev": true, - "peer": true, "requires": { "randombytes": "^2.1.0" } }, + "shallow-clone": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/shallow-clone/-/shallow-clone-3.0.1.tgz", + "integrity": "sha512-/6KqX+GVUdqPuPPd2LxDDxzX6CAbjJehAAOKlNpqqUpAqPM6HeL8f+o3a+JsyGjn2lv0WY8UsTgUJjU9Ok55NA==", + "dev": true, + "requires": { + "kind-of": "^6.0.2" + } + }, "shebang-command": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz", @@ -18428,8 +18675,7 @@ "version": "2.2.1", "resolved": "https://registry.npmjs.org/tapable/-/tapable-2.2.1.tgz", "integrity": "sha512-GNzQvQTOIP6RyTfE2Qxb8ZVlNmw0n88vp1szwWRimP02mnTsx3Wtn5qRdqY9w2XduFNUgvOwhNnQsjwCp+kqaQ==", - "dev": true, - "peer": true + "dev": true }, "terser": { "version": "5.19.4", @@ -18452,25 +18698,23 @@ } }, "terser-webpack-plugin": { - "version": "5.3.3", - "resolved": "https://registry.npmjs.org/terser-webpack-plugin/-/terser-webpack-plugin-5.3.3.tgz", - "integrity": "sha512-Fx60G5HNYknNTNQnzQ1VePRuu89ZVYWfjRAeT5rITuCY/1b08s49e5kSQwHDirKZWuoKOBRFS98EUUoZ9kLEwQ==", + "version": "5.3.9", + "resolved": "https://registry.npmjs.org/terser-webpack-plugin/-/terser-webpack-plugin-5.3.9.tgz", + "integrity": "sha512-ZuXsqE07EcggTWQjXUj+Aot/OMcD0bMKGgF63f7UxYcu5/AJF53aIpK1YoP5xR9l6s/Hy2b+t1AM0bLNPRuhwA==", "dev": true, - "peer": true, "requires": { - "@jridgewell/trace-mapping": "^0.3.7", + "@jridgewell/trace-mapping": "^0.3.17", "jest-worker": "^27.4.5", "schema-utils": "^3.1.1", - "serialize-javascript": "^6.0.0", - "terser": "^5.7.2" + "serialize-javascript": "^6.0.1", + "terser": "^5.16.8" }, "dependencies": { "schema-utils": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-3.1.1.tgz", - "integrity": "sha512-Y5PQxS4ITlC+EahLuXaY86TXfR7Dc5lw294alXOq86JAHCihAIZfqv8nNCWvaEJvaC51uN9hbLGeV0cFBdH+Fw==", + "version": "3.3.0", + "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-3.3.0.tgz", + "integrity": "sha512-pN/yOAvcC+5rQ5nERGuwrjLlYvLTbCibnZ1I7B1LaiAz9BRBlE9GMgE/eqV30P7aJQUf7Ddimy/RsbYO/GrVGg==", "dev": true, - "peer": true, "requires": { "@types/json-schema": "^7.0.8", "ajv": "^6.12.5", @@ -18743,30 +18987,28 @@ "resolved": "https://registry.npmjs.org/watchpack/-/watchpack-2.4.0.tgz", "integrity": "sha512-Lcvm7MGST/4fup+ifyKi2hjyIAwcdI4HRgtvTpIUxBRhB+RFtUh8XtDOxUfctVCnhVi+QQj49i91OyvzkJl6cg==", "dev": true, - "peer": true, "requires": { "glob-to-regexp": "^0.4.1", "graceful-fs": "^4.1.2" } }, "webpack": { - "version": "5.73.0", - "resolved": "https://registry.npmjs.org/webpack/-/webpack-5.73.0.tgz", - "integrity": "sha512-svjudQRPPa0YiOYa2lM/Gacw0r6PvxptHj4FuEKQ2kX05ZLkjbVc5MnPs6its5j7IZljnIqSVo/OsY2X0IpHGA==", + "version": "5.88.2", + "resolved": "https://registry.npmjs.org/webpack/-/webpack-5.88.2.tgz", + "integrity": "sha512-JmcgNZ1iKj+aiR0OvTYtWQqJwq37Pf683dY9bVORwVbUrDhLhdn/PlO2sHsFHPkj7sHNQF3JwaAkp49V+Sq1tQ==", "dev": true, - "peer": true, "requires": { "@types/eslint-scope": "^3.7.3", - "@types/estree": "^0.0.51", - "@webassemblyjs/ast": "1.11.1", - "@webassemblyjs/wasm-edit": "1.11.1", - "@webassemblyjs/wasm-parser": "1.11.1", - "acorn": "^8.4.1", - "acorn-import-assertions": "^1.7.6", + "@types/estree": "^1.0.0", + "@webassemblyjs/ast": "^1.11.5", + "@webassemblyjs/wasm-edit": "^1.11.5", + "@webassemblyjs/wasm-parser": "^1.11.5", + "acorn": "^8.7.1", + "acorn-import-assertions": "^1.9.0", "browserslist": "^4.14.5", "chrome-trace-event": "^1.0.2", - "enhanced-resolve": "^5.9.3", - "es-module-lexer": "^0.9.0", + "enhanced-resolve": "^5.15.0", + "es-module-lexer": "^1.2.1", "eslint-scope": "5.1.1", "events": "^3.2.0", "glob-to-regexp": "^0.4.1", @@ -18775,27 +19017,18 @@ "loader-runner": "^4.2.0", "mime-types": "^2.1.27", "neo-async": "^2.6.2", - "schema-utils": "^3.1.0", + "schema-utils": "^3.2.0", "tapable": "^2.1.1", - "terser-webpack-plugin": "^5.1.3", - "watchpack": "^2.3.1", + "terser-webpack-plugin": "^5.3.7", + "watchpack": "^2.4.0", "webpack-sources": "^3.2.3" }, "dependencies": { - "acorn-import-assertions": { - "version": "1.8.0", - "resolved": "https://registry.npmjs.org/acorn-import-assertions/-/acorn-import-assertions-1.8.0.tgz", - "integrity": "sha512-m7VZ3jwz4eK6A4Vtt8Ew1/mNbP24u0FhdyfA7fSvnJR6LMdfOYnmuIrrJAgrYfYJ10F/otaHTtrtrtmHdMNzEw==", - "dev": true, - "peer": true, - "requires": {} - }, "schema-utils": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-3.1.1.tgz", - "integrity": "sha512-Y5PQxS4ITlC+EahLuXaY86TXfR7Dc5lw294alXOq86JAHCihAIZfqv8nNCWvaEJvaC51uN9hbLGeV0cFBdH+Fw==", + "version": "3.3.0", + "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-3.3.0.tgz", + "integrity": "sha512-pN/yOAvcC+5rQ5nERGuwrjLlYvLTbCibnZ1I7B1LaiAz9BRBlE9GMgE/eqV30P7aJQUf7Ddimy/RsbYO/GrVGg==", "dev": true, - "peer": true, "requires": { "@types/json-schema": "^7.0.8", "ajv": "^6.12.5", @@ -18804,12 +19037,65 @@ } } }, + "webpack-cli": { + "version": "5.1.4", + "resolved": "https://registry.npmjs.org/webpack-cli/-/webpack-cli-5.1.4.tgz", + "integrity": "sha512-pIDJHIEI9LR0yxHXQ+Qh95k2EvXpWzZ5l+d+jIo+RdSm9MiHfzazIxwwni/p7+x4eJZuvG1AJwgC4TNQ7NRgsg==", + "dev": true, + "requires": { + "@discoveryjs/json-ext": "^0.5.0", + "@webpack-cli/configtest": "^2.1.1", + "@webpack-cli/info": "^2.0.2", + "@webpack-cli/serve": "^2.0.5", + "colorette": "^2.0.14", + "commander": "^10.0.1", + "cross-spawn": "^7.0.3", + "envinfo": "^7.7.3", + "fastest-levenshtein": "^1.0.12", + "import-local": "^3.0.2", + "interpret": "^3.1.1", + "rechoir": "^0.8.0", + "webpack-merge": "^5.7.3" + }, + "dependencies": { + "commander": { + "version": "10.0.1", + "resolved": "https://registry.npmjs.org/commander/-/commander-10.0.1.tgz", + "integrity": "sha512-y4Mg2tXshplEbSGzx7amzPwKKOCGuoSRP/CjEdwwk0FOGlUbq6lKuoyDZTNZkmxHdJtp54hdfY/JUrdL7Xfdug==", + "dev": true + }, + "interpret": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/interpret/-/interpret-3.1.1.tgz", + "integrity": "sha512-6xwYfHbajpoF0xLW+iwLkhwgvLoZDfjYfoFNu8ftMoXINzwuymNLd9u/KmwtdT2GbR+/Cz66otEGEVVUHX9QLQ==", + "dev": true + }, + "rechoir": { + "version": "0.8.0", + "resolved": "https://registry.npmjs.org/rechoir/-/rechoir-0.8.0.tgz", + "integrity": "sha512-/vxpCXddiX8NGfGO/mTafwjq4aFa/71pvamip0++IQk3zG8cbCj0fifNPrjjF1XMXUne91jL9OoxmdykoEtifQ==", + "dev": true, + "requires": { + "resolve": "^1.20.0" + } + } + } + }, + "webpack-merge": { + "version": "5.9.0", + "resolved": "https://registry.npmjs.org/webpack-merge/-/webpack-merge-5.9.0.tgz", + "integrity": "sha512-6NbRQw4+Sy50vYNTw7EyOn41OZItPiXB8GNv3INSoe3PSFaHJEz3SHTrYVaRm2LilNGnFUzh0FAwqPEmU/CwDg==", + "dev": true, + "requires": { + "clone-deep": "^4.0.1", + "wildcard": "^2.0.0" + } + }, "webpack-sources": { "version": "3.2.3", "resolved": "https://registry.npmjs.org/webpack-sources/-/webpack-sources-3.2.3.tgz", "integrity": "sha512-/DyMEOrDgLKKIG0fmvtz+4dUX/3Ghozwgm6iPp8KRhvn+eQf9+Q7GWxVNMk3+uCPWfdXYC4ExGBckIXdFEfH1w==", - "dev": true, - "peer": true + "dev": true }, "which": { "version": "2.0.2", @@ -18846,6 +19132,12 @@ "has-tostringtag": "^1.0.0" } }, + "wildcard": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/wildcard/-/wildcard-2.0.1.tgz", + "integrity": "sha512-CC1bOL87PIWSBhDcTrdeLo6eGT7mCFtrg0uIJtqJUFyK+eJnzl8A1niH56uu7KMa5XFrtiV+AQuHO3n7DsHnLQ==", + "dev": true + }, "wrap-ansi": { "version": "7.0.0", "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz", diff --git a/package.json b/package.json index aa745124..0d0a58eb 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "extwee", "version": "2.2.0", - "description": "A story and Twee compiler tool using Twine-compatible formats", + "description": "A story compiler tool using Twine-compatible formats", "author": "Dan Cox", "main": "index.js", "bin": { @@ -12,7 +12,8 @@ "lint": "eslint ./src/**/*.js --fix", "lint:test": "eslint ./test/*.test.js --fix", "docs": "jsdoc --configure jsdocs.json --verbose", - "all": "npm run lint && npm run lint:test && npm run test && npm run docs" + "build": "webpack", + "all": "npm run lint && npm run lint:test && npm run test && npm run build && npm run docs" }, "keywords": [ "twine", @@ -37,7 +38,7 @@ "babel-loader": "^9.1.3", "clean-jsdoc-theme": "^4.2.13", "core-js": "^3.33.0", - "eslint": "^8.50.0", + "eslint": "^8.51.0", "eslint-config-standard": "^17.1.0", "eslint-plugin-import": "^2.28.1", "eslint-plugin-jest": "^27.4.2", @@ -47,7 +48,9 @@ "jest": "^29.7.0", "jsdoc": "^4.0.2", "regenerator-runtime": "^0.14.0", - "shelljs": "^0.8.4" + "shelljs": "^0.8.4", + "webpack": "^5.88.2", + "webpack-cli": "^5.1.4" }, "repository": { "type": "git", diff --git a/src/FileReader.js b/src/FileReader.js deleted file mode 100644 index 2976e048..00000000 --- a/src/FileReader.js +++ /dev/null @@ -1,47 +0,0 @@ -import fs from 'fs'; - -export default class FileReader { - /** - * Read a text file. - * @param {string} file - Path of file to read - * @returns {string} Content of file - */ - static read (file) { - // Setup default value. - let contents = ''; - - // Attempt to find the file. - if (fs.existsSync(file)) { - // The file exists. - contents = fs.readFileSync(file, 'utf8'); - } else { - // Throw error if file does not exist. - throw new Error('Error: File not found!'); - } - - // Return default or updated values. - return contents; - } - - /** - * Read a binary file and return a Buffer of raw data. - * @param {string} file - Path of file to read. - * @returns {string} Content of file. - */ - static readBinaryAsBuffer (file) { - // Setup default value. - let contents = ''; - - // Attempt to find the file. - if (fs.existsSync(file)) { - // The file exists. - contents = fs.readFileSync(file, 'binary'); - } else { - // Throw error if file does not exist. - throw new Error('Error: File not found!'); - } - - // Return default or updated values. - return Buffer.from(contents, 'binary'); - } -} diff --git a/src/Twine1HTMLWriter.js b/src/Twine1HTMLCompiler.js similarity index 50% rename from src/Twine1HTMLWriter.js rename to src/Twine1HTMLCompiler.js index c42c4775..f26aa4aa 100644 --- a/src/Twine1HTMLWriter.js +++ b/src/Twine1HTMLCompiler.js @@ -1,20 +1,19 @@ -import fs from 'fs'; import Story from './Story.js'; -export default class Twine1HTMLWriter { +export default class Twine1HTMLCompiler { /** - * Write a combination of Story, `header.html`, and optional `code.js`. - * The `engine.js` file is licensed under GPL from Twine 1.4.2 source code. - * @param {string} file - File to write. + * Write a combination of Story object, `engine.js` (from Twine 1), `header.html`, and optional `code.js`. * @param {Story} story - Story object to write. + * @param {string} engine - Source of `engine.js` file from Twine 1. * @param {string} header - `header.html` content for Twine 1 story format. * @param {string} name - Name of the story format (needed for `code.js` inclusion). * @param {string} codeJS - `code.js` content with additional JavaScript. * @param {object} config - Limited configuration object acting in place of `StorySettings`. - * @param {boolean} config.jquery - If historical jQuery should be included or not. - * @param {boolean} config.modernizr - If historical Modernizr should be included or not. + * @param {string} config.jquery - jQuery source. + * @param {string} config.modernizr - Modernizr source. + * @returns {string} Twine 1 HTML. */ - static write (file, story, header = '', name = '', codeJS = '', config = { jquery: false, modernizr: false }) { + static compile (story, engine = '', header = '', name = '', codeJS = '', config = { jquery: '', modernizr: '' }) { // We must have a Story object. if (!(story instanceof Story)) { throw new TypeError('Error: story must be a Story object!'); @@ -26,11 +25,8 @@ export default class Twine1HTMLWriter { // Replace the "TIME" with new Date(). header = header.replaceAll(/"TIME"/gm, new Date()); - // Read the `engine.js` code. - const engineJS = fs.readFileSync(`${process.cwd()}/Twine1/engine.js`); - // Replace the ENGINE with `engine.js` code. - header = header.replaceAll(/"ENGINE"/gm, engineJS); + header = header.replaceAll(/"ENGINE"/gm, engine); // Replace the NAME (e.g. "JONAH") with `engine.js` code. header = header.replaceAll(`"${name.toUpperCase()}"`, codeJS); @@ -46,32 +42,17 @@ export default class Twine1HTMLWriter { // Does 'jquery' exist? if (Object.prototype.hasOwnProperty.call(config, 'jquery')) { - // Is this true? - if (config.jquery === true) { - // Read the jquery code. - const jquery = fs.readFileSync(`${process.cwd()}/Twine1/jquery.js`); - // Replace JQUERY with jQuery. - header = header.replaceAll(/"JQUERY"/gm, jquery); - } + // Replace JQUERY with jQuery. + header = header.replaceAll(/"JQUERY"/gm, config.jquery); } // Does 'modernizr' exist? if (Object.prototype.hasOwnProperty.call(config, 'modernizr')) { - // Is this true? - if (config.modernizr === true) { - // Read the modernizr code. - const modernizr = fs.readFileSync(`${process.cwd()}/Twine1/modernizr.js`); - // Replace JQUERY with jQuery. - header = header.replaceAll(/"MODERNIZR"/gm, modernizr); - } + // Replace "MODERNIZR" with Modernizr. + header = header.replaceAll(/"MODERNIZR"/gm, config.modernizr); } - try { - // Try to write. - fs.writeFileSync(file, header); - } catch (event) { - // Throw error. - throw new Error('Error: Cannot write Twine 1 HTML file!'); - } + // Return code. + return header; } } diff --git a/src/Twine2ArchiveHTMLWriter.js b/src/Twine2ArchiveHTMLCompiler.js similarity index 55% rename from src/Twine2ArchiveHTMLWriter.js rename to src/Twine2ArchiveHTMLCompiler.js index 8d5bbd09..7ea791b0 100644 --- a/src/Twine2ArchiveHTMLWriter.js +++ b/src/Twine2ArchiveHTMLCompiler.js @@ -1,18 +1,12 @@ -import fs from 'node:fs'; import Story from './Story.js'; -export default class Twine2ArchiveHTMLWriter { +export default class Twine2ArchiveHTMLCompiler { /** - * Write array of Story objects into Twine 2 HTML Archive. - * @param {string} file - Path of where to write file. + * Write array of Story objects into Twine 2 Archive HTML. * @param {Array} stories - Array of Story objects. + * @returns {string} Twine 2 Archive HTML. */ - static write (file, stories) { - // Can only parse string values. - if (typeof file !== 'string') { - throw new TypeError('Content is not a string!'); - } - + static compile (stories) { // Can only accept array. if (!Array.isArray(stories)) { throw new TypeError('Stories is not array!'); @@ -36,12 +30,7 @@ export default class Twine2ArchiveHTMLWriter { outputContents += '\n\n'; } - try { - // Try to write. - fs.writeFileSync(file, outputContents); - } catch (event) { - // Throw error - throw new Error('Error: Cannot write Twine 2 HTML file!'); - } + // Return output + return outputContents; } } diff --git a/src/Twine2HTMLWriter.js b/src/Twine2HTMLCompiler.js similarity index 72% rename from src/Twine2HTMLWriter.js rename to src/Twine2HTMLCompiler.js index 34f85966..3b3b2d41 100644 --- a/src/Twine2HTMLWriter.js +++ b/src/Twine2HTMLCompiler.js @@ -1,15 +1,14 @@ -import fs from 'node:fs'; import Story from './Story.js'; import StoryFormat from './StoryFormat.js'; -export default class Twine2HTMLWriter { +export default class Twine2HTMLCompiler { /** * Write a combination of Story + StoryFormat into Twine 2 HTML file. - * @param {string} file - File to write. * @param {Story} story - Story object to write. * @param {StoryFormat} storyFormat - StoryFormat to write. + * @returns {string} Twine 2 HTML. */ - static write (file, story, storyFormat) { + static compile (story, storyFormat) { if (!(story instanceof Story)) { throw new Error('Error: story must be a Story object!'); } @@ -30,12 +29,7 @@ export default class Twine2HTMLWriter { // Combine everything together. outputContents += storyFormat.source; - try { - // Try to write. - fs.writeFileSync(file, outputContents); - } catch (event) { - // Throw error - throw new Error('Error: Cannot write Twine 2 HTML file!'); - } + // Return content. + return outputContents; } } diff --git a/test/FileReader.test.js b/test/FileReader.test.js deleted file mode 100644 index e1a65894..00000000 --- a/test/FileReader.test.js +++ /dev/null @@ -1,24 +0,0 @@ -import FileReader from '../src/FileReader.js'; - -describe('FileReader', () => { - describe('#read()', () => { - it('Should throw error if file not found', () => { - expect(() => { FileReader.read('test/FileReader/t2.txt'); }).toThrow(); - }); - - it('Should read the contents of a file', () => { - const fr = FileReader.read('test/FileReader/t1.txt'); - expect(fr).toBe('Gibberish'); - }); - }); - describe('#readBinaryAsBuffer()', () => { - it('Should throw error if file not found', () => { - expect(() => { FileReader.readBinaryAsBuffer('test/FileReader/Example2.tws'); }).toThrow(); - }); - - it('Should read the binary contents of a file and return a Buffer', () => { - const fr = FileReader.readBinaryAsBuffer('test/FileReader/Example1.tws'); - expect(Buffer.isBuffer(fr)).toBe(true); - }); - }); -}); diff --git a/test/FileReader/Example1.tws b/test/FileReader/Example1.tws deleted file mode 100644 index a0810ec5..00000000 --- a/test/FileReader/Example1.tws +++ /dev/null @@ -1,150 +0,0 @@ -(dp0 -S'buildDestination' -p1 -S'' -p2 -sS'saveDestination' -p3 -V\u005c\u005cMac\u005cDropbox\u005cExample1.tws -p4 -sS'metadata' -p5 -(dp6 -sS'target' -p7 -S'sugarcane' -p8 -sS'storyPanel' -p9 -(dp10 -S'widgets' -p11 -(lp12 -(dp13 -S'selected' -p14 -I00 -sS'pos' -p15 -(lp16 -I10 -aI10 -asS'passage' -p17 -(itiddlywiki -Tiddler -p18 -(dp20 -S'text' -p21 -S'Your story will display this passage first. Edit it by double clicking it.' -p22 -sS'title' -p23 -S'Start' -p24 -sS'modified' -p25 -ctime -struct_time -p26 -((I2023 -I9 -I3 -I14 -I38 -I52 -I6 -I246 -I1 -tp27 -(dp28 -tp29 -Rp30 -sS'tags' -p31 -(lp32 -sS'created' -p33 -g30 -sbsa(dp34 -g14 -I00 -sg15 -(lp35 -I10 -aI150 -asg17 -(itiddlywiki -Tiddler -p36 -(dp37 -g21 -S'Untitled Story' -p38 -sg23 -S'StoryTitle' -p39 -sg25 -g26 -((I2023 -I9 -I3 -I14 -I38 -I52 -I6 -I246 -I1 -tp40 -(dp41 -tp42 -Rp43 -sg31 -(lp44 -sg33 -g43 -sbsa(dp45 -g14 -I00 -sg15 -(lp46 -I10 -aI290 -asg17 -(itiddlywiki -Tiddler -p47 -(dp48 -g21 -S'Anonymous' -p49 -sg23 -S'StoryAuthor' -p50 -sg25 -g26 -((I2023 -I9 -I3 -I14 -I38 -I52 -I6 -I246 -I1 -tp51 -(dp52 -tp53 -Rp54 -sg31 -(lp55 -sg33 -g54 -sbsasS'scale' -p56 -I1 -sS'snapping' -p57 -I00 -ss. \ No newline at end of file diff --git a/test/FileReader/t1.txt b/test/FileReader/t1.txt deleted file mode 100644 index c803eb18..00000000 --- a/test/FileReader/t1.txt +++ /dev/null @@ -1 +0,0 @@ -Gibberish \ No newline at end of file diff --git a/test/Roundtrip.test.js b/test/Roundtrip.test.js index ffccffcf..61402217 100644 --- a/test/Roundtrip.test.js +++ b/test/Roundtrip.test.js @@ -1,13 +1,13 @@ -import FileReader from '../src/FileReader.js'; +import fs from 'node:fs'; import TweeParser from '../src/TweeParser.js'; import Twine2HTMLParser from '../src/Twine2HTMLParser.js'; -import Twine2HTMLWriter from '../src/Twine2HTMLWriter.js'; +import Twine2HTMLCompiler from '../src/Twine2HTMLCompiler.js'; import StoryFormatParser from '../src/StoryFormatParser.js'; describe('Round-trip testing', () => { it('Should round-trip Twine 2 HTML to Twee', () => { // Read HTML. - const fr = FileReader.read('test/Roundtrip/Example1.html'); + const fr = fs.readFileSync('test/Roundtrip/Example1.html', 'utf-8'); // Parse HTML. const s = Twine2HTMLParser.parse(fr); @@ -24,23 +24,20 @@ describe('Round-trip testing', () => { }); it('Should round-trip Twee to Twine 2 HTML', () => { - // Read StoryFormat - const storyFormat = FileReader.read('test/Roundtrip/harlowe.js'); + // Read StoryFormat. + const storyFormat = fs.readFileSync('test/Roundtrip/harlowe.js', 'utf-8'); - // Parse StoryFormat + // Parse StoryFormat. const sfp = StoryFormatParser.parse(storyFormat); - // Read Twee - const fr = FileReader.read('test/Roundtrip/example2.twee'); + // Read Twee. + const fr = fs.readFileSync('test/Roundtrip/example2.twee', 'utf-8'); - // Parse Twee + // Parse Twee. const story = TweeParser.parse(fr); - // Write HTML - Twine2HTMLWriter.write('test/Roundtrip/round.html', story, sfp); - - // Read HTML - const fr2 = FileReader.read('test/Roundtrip/round.html'); + // Write HTML. + const fr2 = Twine2HTMLCompiler.compile(story, sfp); // Parse HTML const story2 = Twine2HTMLParser.parse(fr2); diff --git a/test/StoryFormatParser.test.js b/test/StoryFormatParser.test.js index 820dd353..3560687e 100644 --- a/test/StoryFormatParser.test.js +++ b/test/StoryFormatParser.test.js @@ -1,88 +1,88 @@ import StoryFormatParser from '../src/StoryFormatParser.js'; -import FileReader from '../src/FileReader'; +import fs from 'node:fs'; describe('StoryFormatParser', () => { describe('#parse()', () => { it('Should throw error if JSON missing', () => { - const fr = FileReader.read('test/StoryFormatParser/example.js'); + const fr = fs.readFileSync('test/StoryFormatParser/example.js', 'utf-8'); expect(() => { StoryFormatParser.parse(fr); }).toThrow(); }); it('Should throw error if JSON malformed', () => { - const fr = FileReader.read('test/StoryFormatParser/example2.js'); + const fr = fs.readFileSync('test/StoryFormatParser/example2.js', 'utf-8'); expect(() => { StoryFormatParser.parse(fr); }).toThrow(); }); it('Should correctly parse a StoryFormat name', () => { - const fr = FileReader.read('test/StoryFormatParser/format.js'); + const fr = fs.readFileSync('test/StoryFormatParser/format.js', 'utf-8'); const sfp = StoryFormatParser.parse(fr); expect(sfp.name).toBe('Snowman'); }); it('Should correctly parse Harlowe story format', () => { - const fr = FileReader.read('test/StoryFormatParser/harlowe.js'); + const fr = fs.readFileSync('test/StoryFormatParser/harlowe.js', 'utf-8'); const sfp = StoryFormatParser.parse(fr); expect(sfp.name).toBe('Harlowe'); }); it('Should detect missing name and set default', () => { - const fr = FileReader.read('test/StoryFormatParser/missingName.js'); + const fr = fs.readFileSync('test/StoryFormatParser/missingName.js', 'utf-8'); const sfp = StoryFormatParser.parse(fr); expect(sfp.name).toBe('Untitled Story Format'); }); it('Should detect missing author and set default', () => { - const fr = FileReader.read('test/StoryFormatParser/missingAuthor.js'); + const fr = fs.readFileSync('test/StoryFormatParser/missingAuthor.js', 'utf-8'); const sfp = StoryFormatParser.parse(fr); expect(sfp.author).toBe(''); }); it('Should detect missing description and set default', () => { - const fr = FileReader.read('test/StoryFormatParser/missingDescription.js'); + const fr = fs.readFileSync('test/StoryFormatParser/missingDescription.js', 'utf-8'); const sfp = StoryFormatParser.parse(fr); expect(sfp.description).toBe(''); }); it('Should detect missing image and set default', () => { - const fr = FileReader.read('test/StoryFormatParser/missingImage.js'); + const fr = fs.readFileSync('test/StoryFormatParser/missingImage.js', 'utf-8'); const sfp = StoryFormatParser.parse(fr); expect(sfp.image).toBe(''); }); it('Should detect missing url and set default', () => { - const fr = FileReader.read('test/StoryFormatParser/missingURL.js'); + const fr = fs.readFileSync('test/StoryFormatParser/missingURL.js', 'utf-8'); const sfp = StoryFormatParser.parse(fr); expect(sfp.url).toBe(''); }); it('Should detect missing license and set default', () => { - const fr = FileReader.read('test/StoryFormatParser/missingLicense.js'); + const fr = fs.readFileSync('test/StoryFormatParser/missingLicense.js', 'utf-8'); const sfp = StoryFormatParser.parse(fr); expect(sfp.license).toBe(''); }); it('Should detect proofing license and set default', () => { - const fr = FileReader.read('test/StoryFormatParser/missingProofing.js'); + const fr = fs.readFileSync('test/StoryFormatParser/missingProofing.js', 'utf-8'); const sfp = StoryFormatParser.parse(fr); expect(sfp.proofing).toBe(false); }); it('Should throw error if version does not exist', () => { - const fr = FileReader.read('test/StoryFormatParser/missingVersion.js'); + const fr = fs.readFileSync('test/StoryFormatParser/missingVersion.js', 'utf-8'); expect(() => { StoryFormatParser.parse(fr); }).toThrow(); }); it('Should throw error if version is not semantic style', () => { - const fr = FileReader.read('test/StoryFormatParser/versionWrong.js'); + const fr = fs.readFileSync('test/StoryFormatParser/versionWrong.js', 'utf-8'); expect(() => { StoryFormatParser.parse(fr); }).toThrow(); }); it('Should throw error if source is not found', () => { - const fr = FileReader.read('test/StoryFormatParser/missingSource.js'); + const fr = fs.readFileSync('test/StoryFormatParser/missingSource.js', 'utf-8'); expect(() => { StoryFormatParser.parse(fr); }).toThrow(); diff --git a/test/TWSParser.test.js b/test/TWSParser.test.js index 0ce6aa3c..246c3153 100644 --- a/test/TWSParser.test.js +++ b/test/TWSParser.test.js @@ -1,4 +1,4 @@ -import FileReader from '../src/FileReader.js'; +import fs from 'node:fs'; import TWSParser from '../src/TWSParser.js'; describe('TWSParser', () => { @@ -11,7 +11,8 @@ describe('TWSParser', () => { let r = null; beforeAll(() => { - const b = FileReader.readBinaryAsBuffer('./test/TWSParser/Example1.tws'); + const contents = fs.readFileSync('./test/TWSParser/Example1.tws', 'binary'); + const b = Buffer.from(contents, 'binary'); r = TWSParser.parse(b); }); @@ -32,7 +33,8 @@ describe('TWSParser', () => { let r = null; beforeAll(() => { - const b = FileReader.readBinaryAsBuffer('./test/TWSParser/Example5.tws'); + const contents = fs.readFileSync('./test/TWSParser/Example5.tws', 'binary'); + const b = Buffer.from(contents, 'binary'); r = TWSParser.parse(b); }); @@ -53,18 +55,21 @@ describe('TWSParser', () => { describe('Exceptions and parsing issues', function () { it('Should throw error if parsing a Buffer but not pickle data', function () { - const b = FileReader.readBinaryAsBuffer('./test/FileReader/t1.txt'); + const contents = 'Test'; + const b = Buffer.from(contents); expect(() => { TWSParser.parse(b); }).toThrow(); }); it('Should create default Story object if pickle data but not TWS data', function () { - const b = FileReader.readBinaryAsBuffer('./test/TWSParser/nostory.tws'); + const contents = fs.readFileSync('./test/TWSParser/nostory.tws', 'binary'); + const b = Buffer.from(contents, 'binary'); const r = TWSParser.parse(b); expect(r.size()).toBe(0); }); it('Should parse storyPanel but no scale', function () { - const b = FileReader.readBinaryAsBuffer('./test/TWSParser/noscale.tws'); + const contents = fs.readFileSync('./test/TWSParser/noscale.tws', 'binary'); + const b = Buffer.from(contents, 'binary'); const r = TWSParser.parse(b); expect(r.zoom).toBe(0); }); diff --git a/test/TweeParser.test.js b/test/TweeParser.test.js index eaf8bea4..bc61e1ab 100644 --- a/test/TweeParser.test.js +++ b/test/TweeParser.test.js @@ -1,4 +1,4 @@ -import FileReader from '../src/FileReader.js'; +import fs from 'node:fs'; import TweeParser from '../src/TweeParser.js'; describe('TweeParser', () => { @@ -20,40 +20,40 @@ describe('TweeParser', () => { }); it('Should cut notes before passages', () => { - const fr = FileReader.read('test/TweeParser/notes.twee'); + const fr = fs.readFileSync('test/TweeParser/notes.twee', 'utf-8'); const story = TweeParser.parse(fr); expect(story.name).toBe('twineExample'); }); it('Should be able to parse Twee file for Story Name', () => { - const fr = FileReader.read('test/TweeParser/example.twee'); + const fr = fs.readFileSync('test/TweeParser/example.twee', 'utf-8'); const story = TweeParser.parse(fr); expect(story.name).toBe('twineExample'); }); it('Should parse single tag on Start passage', () => { - const fr = FileReader.read('test/TweeParser/singletag.twee'); + const fr = fs.readFileSync('test/TweeParser/singletag.twee', 'utf-8'); const story = TweeParser.parse(fr); const start = story.getPassageByName('Start'); expect(start.tags).toHaveLength(1); }); it('Should parse multiple tag', () => { - const fr = FileReader.read('test/TweeParser/multipletags.twee'); + const fr = fs.readFileSync('test/TweeParser/multipletags.twee', 'utf-8'); const story = TweeParser.parse(fr); const start = story.getPassageByName('Start'); expect(start.tags).toHaveLength(2); }); it('Should parse single script passage', () => { - const fr = FileReader.read('test/TweeParser/scriptPassage.twee'); + const fr = fs.readFileSync('test/TweeParser/scriptPassage.twee', 'utf-8'); const story = TweeParser.parse(fr); const p = story.getPassageByName('UserScript'); expect(p.tags).toHaveLength(1); }); it('Should parse single stylesheet passage', () => { - const fr = FileReader.read('test/TweeParser/stylePassage.twee'); + const fr = fs.readFileSync('test/TweeParser/stylePassage.twee', 'utf-8'); const story = TweeParser.parse(fr); const p = story.getPassageByName('UserStylesheet'); expect(p.tags).toHaveLength(1); @@ -61,13 +61,13 @@ describe('TweeParser', () => { }); it('Should parse StoryTitle', () => { - const fr = FileReader.read('test/TweeParser/test.twee'); + const fr = fs.readFileSync('test/TweeParser/test.twee', 'utf-8'); const story = TweeParser.parse(fr); expect(story.name).not.toBe(null); }); it('Should parse StoryAuthor', () => { - const fr = FileReader.read('test/TweeParser/example.twee'); + const fr = fs.readFileSync('test/TweeParser/example.twee', 'utf-8'); const story = TweeParser.parse(fr); const p = story.getPassageByName('StoryAuthor'); expect(p).not.toBe(null); diff --git a/test/Twine1HTMLWriter.test.js b/test/Twine1HTMLCompiler.test.js similarity index 52% rename from test/Twine1HTMLWriter.test.js rename to test/Twine1HTMLCompiler.test.js index 92551c7b..4ebc2f7c 100644 --- a/test/Twine1HTMLWriter.test.js +++ b/test/Twine1HTMLCompiler.test.js @@ -1,26 +1,23 @@ -import Twine1HTMLWriter from '../src/Twine1HTMLWriter.js'; +import Twine1HTMLCompiler from '../src/Twine1HTMLCompiler.js'; import Story from '../src/Story.js'; import fs from 'fs'; import Passage from '../src/Passage.js'; -describe('Twine1HTMLWriter', () => { +describe('Twine1HTMLCompiler', () => { describe('write()', () => { it('story should be instanceof Story', () => { - expect(() => { Twine1HTMLWriter.write('test/Twine1HTMLWriter/test.html', {}); }).toThrow(); + expect(() => { Twine1HTMLCompiler.compile({}); }).toThrow(); }); it('Should create an empty file without valid header.html', function () { // Create story. const s = new Story(); - // Write file. - Twine1HTMLWriter.write('test/Twine1HTMLWriter/test.html', s); - - // Read file. - const result = fs.readFileSync('test/Twine1HTMLWriter/test.html'); + // Compile Twine 1. + const t1 = Twine1HTMLCompiler.compile(s); // Test. - expect(result.length).toBe(0); + expect(t1.length).toBe(0); }); it('Should replace "VERSION" and "TIME" in mock header.html file', function () { @@ -31,13 +28,13 @@ describe('Twine1HTMLWriter', () => { s.creator = 'Test1'; // Read mock header.html - const header = fs.readFileSync('test/Twine1HTMLWriter/test1.html', 'utf-8'); + const header = fs.readFileSync('test/Twine1HTMLCompiler/test1.html', 'utf-8'); - // Write file. - Twine1HTMLWriter.write('test/Twine1HTMLWriter/test2.html', s, header); + // Read engine code. + const engine = fs.readFileSync('test/Twine1HTMLCompiler/Twine1/engine.js', 'utf-8'); - // Read file. - const result = fs.readFileSync('test/Twine1HTMLWriter/test2.html'); + // Compile file. + const result = Twine1HTMLCompiler.compile(s, engine, header); // Test for creator. expect(result.includes('Test1')).toBe(true); @@ -51,13 +48,16 @@ describe('Twine1HTMLWriter', () => { const s = new Story(); // Read mock header.html - const header = fs.readFileSync('test/Twine1HTMLWriter/engineTest.html', 'utf-8'); + const header = fs.readFileSync('test/Twine1HTMLCompiler/engineTest.html', 'utf-8'); + + // Read engine code. + const engine = fs.readFileSync('test/Twine1HTMLCompiler/Twine1/engine.js', 'utf-8'); - // Write file. - Twine1HTMLWriter.write('test/Twine1HTMLWriter/test3.html', s, header); + // Compile file. + Twine1HTMLCompiler.compile(s, engine, header); // Read file. - const result = fs.readFileSync('test/Twine1HTMLWriter/test3.html'); + const result = fs.readFileSync('test/Twine1HTMLCompiler/test3.html', 'utf-8'); // Test for engine. expect(result.includes('function clone(a)')).toBe(true); @@ -74,16 +74,16 @@ describe('Twine1HTMLWriter', () => { s.start = 'Start'; // Read header.html. - const header = fs.readFileSync('test/Twine1HTMLWriter/jonah-1.4.2/header.html', 'utf-8'); + const header = fs.readFileSync('test/Twine1HTMLCompiler/jonah-1.4.2/header.html', 'utf-8'); // Read code.js. - const codeJS = fs.readFileSync('test/Twine1HTMLWriter/jonah-1.4.2/code.js', 'utf-8'); + const codeJS = fs.readFileSync('test/Twine1HTMLCompiler/jonah-1.4.2/code.js', 'utf-8'); - // Write file. - Twine1HTMLWriter.write('test/Twine1HTMLWriter/test4.html', s, header, 'jonah', codeJS); + // Read engine code. + const engine = fs.readFileSync('test/Twine1HTMLCompiler/Twine1/engine.js', 'utf-8'); - // Read file. - const result = fs.readFileSync('test/Twine1HTMLWriter/test4.html'); + // Compile file. + const result = Twine1HTMLCompiler.compile(s, engine, header, 'jonah', codeJS); // Test for code.js. expect(result.includes('Tale.prototype.canBookmark')).toBe(true); @@ -106,16 +106,22 @@ describe('Twine1HTMLWriter', () => { s.start = 'Start'; // Read header.html. - const header = fs.readFileSync('test/Twine1HTMLWriter/jonah-1.4.2/header.html', 'utf-8'); + const header = fs.readFileSync('test/Twine1HTMLCompiler/jonah-1.4.2/header.html', 'utf-8'); // Read code.js. - const codeJS = fs.readFileSync('test/Twine1HTMLWriter/jonah-1.4.2/code.js', 'utf-8'); + const codeJS = fs.readFileSync('test/Twine1HTMLCompiler/jonah-1.4.2/code.js', 'utf-8'); - // Write file. - Twine1HTMLWriter.write('test/Twine1HTMLWriter/test5.html', s, header, 'jonah', codeJS, { jquery: true, modernizr: true }); + // Read engine code. + const engine = fs.readFileSync('test/Twine1HTMLCompiler/Twine1/engine.js', 'utf-8'); - // Read file. - const result = fs.readFileSync('test/Twine1HTMLWriter/test5.html'); + // Read Modernizr. + const Modernizr = fs.readFileSync('test/Twine1HTMLCompiler/Twine1/modernizr.js'); + + // Read jQuery. + const jQuery = fs.readFileSync('test/Twine1HTMLCompiler/Twine1/jquery.js'); + + // Compile file. + const result = Twine1HTMLCompiler.compile(s, engine, header, 'jonah', codeJS, { jquery: jQuery, modernizr: Modernizr }); // Test for code.js. expect(result.includes('Tale.prototype.canBookmark')).toBe(true); @@ -126,10 +132,10 @@ describe('Twine1HTMLWriter', () => { // Test for story size. expect(result.includes('data-size="1"')).toBe(true); - // Test for jQuery + // Test for jQuery. expect(result.includes('jQuery v1.11.0')).toBe(true); - // Test for Modernizr + // Test for Modernizr. expect(result.includes('Modernizr 2.6.2')).toBe(true); }); @@ -144,16 +150,16 @@ describe('Twine1HTMLWriter', () => { s.start = 'Start'; // Read header.html. - const header = fs.readFileSync('test/Twine1HTMLWriter/jonah-1.4.2/header.html', 'utf-8'); + const header = fs.readFileSync('test/Twine1HTMLCompiler/jonah-1.4.2/header.html', 'utf-8'); // Read code.js. - const codeJS = fs.readFileSync('test/Twine1HTMLWriter/jonah-1.4.2/code.js', 'utf-8'); + const codeJS = fs.readFileSync('test/Twine1HTMLCompiler/jonah-1.4.2/code.js', 'utf-8'); - // Write file. - Twine1HTMLWriter.write('test/Twine1HTMLWriter/test5.html', s, header, 'jonah', codeJS, {}); + // Read engine code. + const engine = fs.readFileSync('test/Twine1HTMLCompiler/Twine1/engine.js', 'utf-8'); - // Read file. - const result = fs.readFileSync('test/Twine1HTMLWriter/test5.html'); + // Compile file. + const result = Twine1HTMLCompiler.compile(s, engine, header, 'jonah', codeJS, {}); // Test for code.js. expect(result.includes('Tale.prototype.canBookmark')).toBe(true); @@ -170,25 +176,5 @@ describe('Twine1HTMLWriter', () => { // Test for Modernizr expect(result.includes('Modernizr 2.6.2')).not.toBe(true); }); - - it('Should throw error if cannot write to file', function () { - // Create story. - const s = new Story(); - - // Add passage. - s.addPassage(new Passage('Start', 'Work')); - - // Set story start. - s.start = 'Start'; - - // Read header.html. - const header = fs.readFileSync('test/Twine1HTMLWriter/jonah-1.4.2/header.html', 'utf-8'); - - // Read code.js. - const codeJS = fs.readFileSync('test/Twine1HTMLWriter/jonah-1.4.2/code.js', 'utf-8'); - - // Expect error - expect(() => { Twine1HTMLWriter.write('unknown/file', s, header, 'jonah', codeJS); }).toThrow(); - }); }); }); diff --git a/Twine1/LICENSE b/test/Twine1HTMLCompiler/Twine1/LICENSE similarity index 100% rename from Twine1/LICENSE rename to test/Twine1HTMLCompiler/Twine1/LICENSE diff --git a/Twine1/engine.js b/test/Twine1HTMLCompiler/Twine1/engine.js similarity index 100% rename from Twine1/engine.js rename to test/Twine1HTMLCompiler/Twine1/engine.js diff --git a/Twine1/jquery.js b/test/Twine1HTMLCompiler/Twine1/jquery.js similarity index 100% rename from Twine1/jquery.js rename to test/Twine1HTMLCompiler/Twine1/jquery.js diff --git a/Twine1/modernizr.js b/test/Twine1HTMLCompiler/Twine1/modernizr.js similarity index 100% rename from Twine1/modernizr.js rename to test/Twine1HTMLCompiler/Twine1/modernizr.js diff --git a/test/Twine1HTMLWriter/engineTest.html b/test/Twine1HTMLCompiler/engineTest.html similarity index 100% rename from test/Twine1HTMLWriter/engineTest.html rename to test/Twine1HTMLCompiler/engineTest.html diff --git a/test/Twine1HTMLWriter/jonah-1.4.2/LICENSE b/test/Twine1HTMLCompiler/jonah-1.4.2/LICENSE similarity index 100% rename from test/Twine1HTMLWriter/jonah-1.4.2/LICENSE rename to test/Twine1HTMLCompiler/jonah-1.4.2/LICENSE diff --git a/test/Twine1HTMLWriter/jonah-1.4.2/code.js b/test/Twine1HTMLCompiler/jonah-1.4.2/code.js similarity index 100% rename from test/Twine1HTMLWriter/jonah-1.4.2/code.js rename to test/Twine1HTMLCompiler/jonah-1.4.2/code.js diff --git a/test/Twine1HTMLWriter/jonah-1.4.2/header.html b/test/Twine1HTMLCompiler/jonah-1.4.2/header.html similarity index 100% rename from test/Twine1HTMLWriter/jonah-1.4.2/header.html rename to test/Twine1HTMLCompiler/jonah-1.4.2/header.html diff --git a/test/Twine1HTMLWriter/test.html b/test/Twine1HTMLCompiler/test.html similarity index 100% rename from test/Twine1HTMLWriter/test.html rename to test/Twine1HTMLCompiler/test.html diff --git a/test/Twine1HTMLWriter/test1.html b/test/Twine1HTMLCompiler/test1.html similarity index 100% rename from test/Twine1HTMLWriter/test1.html rename to test/Twine1HTMLCompiler/test1.html diff --git a/test/Twine1HTMLWriter/test2.html b/test/Twine1HTMLCompiler/test2.html similarity index 100% rename from test/Twine1HTMLWriter/test2.html rename to test/Twine1HTMLCompiler/test2.html diff --git a/test/Twine1HTMLWriter/test3.html b/test/Twine1HTMLCompiler/test3.html similarity index 100% rename from test/Twine1HTMLWriter/test3.html rename to test/Twine1HTMLCompiler/test3.html diff --git a/test/Twine1HTMLWriter/test4.html b/test/Twine1HTMLCompiler/test4.html similarity index 100% rename from test/Twine1HTMLWriter/test4.html rename to test/Twine1HTMLCompiler/test4.html diff --git a/test/Twine1HTMLWriter/test5.html b/test/Twine1HTMLCompiler/test5.html similarity index 100% rename from test/Twine1HTMLWriter/test5.html rename to test/Twine1HTMLCompiler/test5.html diff --git a/test/Twine2ArchiveHTMLCompiler.test.js b/test/Twine2ArchiveHTMLCompiler.test.js new file mode 100644 index 00000000..ae8ec3a8 --- /dev/null +++ b/test/Twine2ArchiveHTMLCompiler.test.js @@ -0,0 +1,35 @@ +import Twine2ArchiveHTMLCompiler from '../src/Twine2ArchiveHTMLCompiler.js'; +import Story from '../src/Story.js'; +import Passage from '../src/Passage.js'; + +describe('Twine2ArchiveHTMLCompiler', function () { + describe('#write()', function () { + it('Should throw error if stories is not an array', function () { + expect(() => { Twine2ArchiveHTMLCompiler.compile({}); }).toThrow(); + }); + + it('Should throw error array does not contain stories', function () { + expect(() => { Twine2ArchiveHTMLCompiler.compile([1]); }).toThrow(); + }); + + it('Should write one Story object', function () { + // Create an array of Stories. + const s = new Story('Test1'); + + // Add a passage (as Start passage) + s.addPassage(new Passage('Start', 'Work')); + + // Set startingPassage. + s.start = 'Start'; + + // Write to file. + const result = Twine2ArchiveHTMLCompiler.compile([s]); + + // Test for story name. + expect(result.includes('tw-storydata name="Test1"')).toBe(true); + + // Test for passage. + expect(result.includes('tw-passagedata pid="1" name="Start"')).toBe(true); + }); + }); +}); diff --git a/test/Twine2ArchiveHTMLWriter/test1.html b/test/Twine2ArchiveHTMLCompiler/test1.html similarity index 100% rename from test/Twine2ArchiveHTMLWriter/test1.html rename to test/Twine2ArchiveHTMLCompiler/test1.html diff --git a/test/Twine2ArchiveHTMLWriter.test.js b/test/Twine2ArchiveHTMLWriter.test.js deleted file mode 100644 index ddfd12cb..00000000 --- a/test/Twine2ArchiveHTMLWriter.test.js +++ /dev/null @@ -1,58 +0,0 @@ -import Twine2ArchiveHTMLWriter from '../src/Twine2ArchiveHTMLWriter.js'; -import Story from '../src/Story.js'; -import fs from 'node:fs'; -import Passage from '../src/Passage.js'; - -describe('Twine2ArchiveHTMLWriter', function () { - describe('#write()', function () { - it('Should throw error if path is not a string', function () { - expect(() => { Twine2ArchiveHTMLWriter.write({}, []); }).toThrow(); - }); - - it('Should throw error if stories is not an array', function () { - expect(() => { Twine2ArchiveHTMLWriter.write('test/Twine2ArchiveHTMLWriter/test1.html', {}); }).toThrow(); - }); - - it('Should throw error array does not contain stories', function () { - expect(() => { Twine2ArchiveHTMLWriter.write('test/Twine2ArchiveHTMLWriter/test1.html', [1]); }).toThrow(); - }); - - it('Should write one Story object', function () { - // Create an array of Stories. - const s = new Story('Test1'); - - // Add a passage (as Start passage) - s.addPassage(new Passage('Start', 'Work')); - - // Set startingPassage. - s.start = 'Start'; - - // Write to file. - Twine2ArchiveHTMLWriter.write('test/Twine2ArchiveHTMLWriter/test1.html', [s]); - - // Read file - const result = fs.readFileSync('test/Twine2ArchiveHTMLWriter/test1.html', 'utf-8'); - - // Test for story name. - expect(result.includes('tw-storydata name="Test1"')).toBe(true); - - // Test for passage. - expect(result.includes('tw-passagedata pid="1" name="Start"')).toBe(true); - }); - - it('Should throw error if path is invalid', function () { - // Create an array of Stories. - const s = new Story('Test1'); - - // Add a passage (as Start passage) - s.addPassage(new Passage('Start', 'Work')); - - // Set startingPassage. - s.start = 'Start'; - - // Path is invalid. - // Expect thrown error. - expect(() => { Twine2ArchiveHTMLWriter.write('unknown/path', [s]); }).toThrow(); - }); - }); -}); diff --git a/test/Twine2HTMLWriter.test.js b/test/Twine2HTMLCompiler.test.js similarity index 65% rename from test/Twine2HTMLWriter.test.js rename to test/Twine2HTMLCompiler.test.js index 18f3ec74..c8956e4e 100644 --- a/test/Twine2HTMLWriter.test.js +++ b/test/Twine2HTMLCompiler.test.js @@ -1,39 +1,36 @@ -import FileReader from '../src/FileReader.js'; import StoryFormatParser from '../src/StoryFormatParser.js'; import Twine2HTMLParser from '../src/Twine2HTMLParser.js'; -import Twine2HTMLWriter from '../src/Twine2HTMLWriter.js'; +import Twine2HTMLCompiler from '../src/Twine2HTMLCompiler.js'; import Story from '../src/Story.js'; import Passage from '../src/Passage.js'; +import fs from 'node:fs'; -describe('Twine2HTMLWriter', () => { - describe('write()', () => { +describe('Twine2HTMLCompiler', () => { + describe('compile()', () => { it('story should be instanceof Story', () => { - expect(() => { Twine2HTMLWriter.write('test/Twine2HTMLWriter/test.html', {}); }).toThrow(); + expect(() => { Twine2HTMLCompiler.compile({}); }).toThrow(); }); it('storyFormat should be instanceof StoryFormat', () => { const s = new Story(); - expect(() => { Twine2HTMLWriter.write('test/Twine2HTMLWriter/test.html', s, {}); }).toThrow(); + expect(() => { Twine2HTMLCompiler.compile(s, {}); }).toThrow(); }); it('Read, write, and read HTML', () => { // Read HTML. - const fr = FileReader.read('test/Twine2HTMLParser/twineExample3.html'); + const fr = fs.readFileSync('test/Twine2HTMLParser/twineExample3.html', 'utf-8'); // Parse HTML. const story = Twine2HTMLParser.parse(fr); // Read StoryFormat. - const fr2 = FileReader.read('test/StoryFormatParser/format.js'); + const fr2 = fs.readFileSync('test/StoryFormatParser/format.js', 'utf-8'); // Parse StoryFormat. const storyFormat = StoryFormatParser.parse(fr2); // Write HTML. - Twine2HTMLWriter.write('test/Twine2HTMLWriter/test2.html', story, storyFormat); - - // Read HTML. - const fr3 = FileReader.read('test/Twine2HTMLWriter/test2.html'); + const fr3 = Twine2HTMLCompiler.compile(story, storyFormat); // Parse HTML. const story2 = Twine2HTMLParser.parse(fr3); @@ -44,22 +41,19 @@ describe('Twine2HTMLWriter', () => { it('Should write one and two-tag passages', () => { // Read HTML. - const fr = FileReader.read('test/Twine2HTMLWriter/TestTags.html'); + const fr = fs.readFileSync('test/Twine2HTMLCompiler/TestTags.html', 'utf-8'); // Parse HTML. const story = Twine2HTMLParser.parse(fr); // Read StoryFormat. - const fr2 = FileReader.read('test/StoryFormatParser/format.js'); + const fr2 = fs.readFileSync('test/StoryFormatParser/format.js', 'utf-8'); // Parse StoryFormat. const storyFormat = StoryFormatParser.parse(fr2); // Write HTML. - Twine2HTMLWriter.write('test/Twine2HTMLWriter/test3.html', story, storyFormat); - - // Read HTML. - const fr3 = FileReader.read('test/Twine2HTMLWriter/test3.html'); + const fr3 = Twine2HTMLCompiler.compile(story, storyFormat); // Parse HTML. const story2 = Twine2HTMLParser.parse(fr3); @@ -82,25 +76,6 @@ describe('Twine2HTMLWriter', () => { expect(tags).toBe(tags2); }); - it('Should throw error if file path invalid', () => { - // Read HTML. - const fr = FileReader.read('test/Twine2HTMLParser/twineExample3.html'); - - // Parse HTML. - const story = Twine2HTMLParser.parse(fr); - - // Read StoryFormat. - const fr2 = FileReader.read('test/StoryFormatParser/format.js'); - - // Parse StoryFormat. - const storyFormat = StoryFormatParser.parse(fr2); - - // Throw error if path is invalid. - expect(() => { - Twine2HTMLWriter.write('test2/Twine2HTMLWriter/test2.html', story, storyFormat); - }).toThrow(); - }); - it('Should not add optional position to passages', () => { // Create Story. const story = new Story(); @@ -114,7 +89,7 @@ describe('Twine2HTMLWriter', () => { story.addPassage(new Passage('Start', 'Content')); // Read StoryFormat. - const fr2 = FileReader.read('test/StoryFormatParser/format.js'); + const fr2 = fs.readFileSync('test/StoryFormatParser/format.js', 'utf-8'); // Parse StoryFormat. const storyFormat = StoryFormatParser.parse(fr2); @@ -124,10 +99,7 @@ describe('Twine2HTMLWriter', () => { // Write out HTML with story and storyFormat. // (Will add position to passages without them.) - Twine2HTMLWriter.write('test/Twine2HTMLWriter/test4.html', story, storyFormat); - - // Read new HTML file. - const fr3 = FileReader.read('test/Twine2HTMLWriter/test4.html'); + const fr3 = Twine2HTMLCompiler.compile(story, storyFormat); // Parse new HTML file. const story2 = Twine2HTMLParser.parse(fr3); @@ -163,15 +135,14 @@ describe('Twine2HTMLWriter', () => { story.start = 'Start'; // Read StoryFormat. - const fr2 = FileReader.read('test/StoryFormatParser/format.js'); + const fr2 = fs.readFileSync('test/StoryFormatParser/format.js', 'utf-8'); + // Parse StoryFormat. const storyFormat = StoryFormatParser.parse(fr2); // Write the HTML. - Twine2HTMLWriter.write('test/Twine2HTMLWriter/creator.html', story, storyFormat); + const fr3 = Twine2HTMLCompiler.compile(story, storyFormat); - // Read HTML. - const fr3 = FileReader.read('test/Twine2HTMLWriter/creator.html'); // Parse HTML. const story2 = Twine2HTMLParser.parse(fr3); @@ -193,12 +164,13 @@ describe('Twine2HTMLWriter', () => { story.addPassage(new Passage('A')); // Read StoryFormat. - const fr2 = FileReader.read('test/StoryFormatParser/format.js'); + const fr2 = fs.readFileSync('test/StoryFormatParser/format.js', 'utf-8'); + // Parse StoryFormat. const storyFormat = StoryFormatParser.parse(fr2); expect(() => { - Twine2HTMLWriter.write('test', story, storyFormat); + Twine2HTMLCompiler.compile(story, storyFormat); }).toThrow(); }); @@ -213,13 +185,14 @@ describe('Twine2HTMLWriter', () => { story.addPassage(new Passage('StoryTitle', 'Name')); // Read StoryFormat. - const fr2 = FileReader.read('test/StoryFormatParser/format.js'); + const fr2 = fs.readFileSync('test/StoryFormatParser/format.js', 'utf-8'); + // Parse StoryFormat. const storyFormat = StoryFormatParser.parse(fr2); - // Throws error + // Throws error. expect(() => { - Twine2HTMLWriter.write('test/Twine2HTMLWriter/test6.html', story, storyFormat); + Twine2HTMLCompiler.compile(story, storyFormat); }).toThrow(); }); @@ -237,14 +210,14 @@ describe('Twine2HTMLWriter', () => { story.start = 'Nope'; // Read StoryFormat. - const fr2 = FileReader.read('test/StoryFormatParser/format.js'); + const fr2 = fs.readFileSync('test/StoryFormatParser/format.js', 'utf-8'); // Parse StoryFormat. const storyFormat = StoryFormatParser.parse(fr2); - // Throws error + // Throws error. expect(() => { - Twine2HTMLWriter.write('test/Twine2HTMLWriter/test7.html', story, storyFormat); + Twine2HTMLCompiler.compile(story, storyFormat); }).toThrow(); }); }); diff --git a/test/Twine2HTMLWriter/TestTags.html b/test/Twine2HTMLCompiler/TestTags.html similarity index 100% rename from test/Twine2HTMLWriter/TestTags.html rename to test/Twine2HTMLCompiler/TestTags.html diff --git a/test/Twine2HTMLWriter/creator.html b/test/Twine2HTMLCompiler/creator.html similarity index 100% rename from test/Twine2HTMLWriter/creator.html rename to test/Twine2HTMLCompiler/creator.html diff --git a/test/Twine2HTMLWriter/example6.twee b/test/Twine2HTMLCompiler/example6.twee similarity index 100% rename from test/Twine2HTMLWriter/example6.twee rename to test/Twine2HTMLCompiler/example6.twee diff --git a/test/Twine2HTMLWriter/missingStoryTitle.twee b/test/Twine2HTMLCompiler/missingStoryTitle.twee similarity index 100% rename from test/Twine2HTMLWriter/missingStoryTitle.twee rename to test/Twine2HTMLCompiler/missingStoryTitle.twee diff --git a/test/Twine2HTMLWriter/test11.html b/test/Twine2HTMLCompiler/test11.html similarity index 100% rename from test/Twine2HTMLWriter/test11.html rename to test/Twine2HTMLCompiler/test11.html diff --git a/test/Twine2HTMLWriter/test2.html b/test/Twine2HTMLCompiler/test2.html similarity index 100% rename from test/Twine2HTMLWriter/test2.html rename to test/Twine2HTMLCompiler/test2.html diff --git a/test/Twine2HTMLWriter/test3.html b/test/Twine2HTMLCompiler/test3.html similarity index 100% rename from test/Twine2HTMLWriter/test3.html rename to test/Twine2HTMLCompiler/test3.html diff --git a/test/Twine2HTMLWriter/test4.html b/test/Twine2HTMLCompiler/test4.html similarity index 100% rename from test/Twine2HTMLWriter/test4.html rename to test/Twine2HTMLCompiler/test4.html diff --git a/test/Twine2HTMLWriter/test6.html b/test/Twine2HTMLCompiler/test6.html similarity index 100% rename from test/Twine2HTMLWriter/test6.html rename to test/Twine2HTMLCompiler/test6.html diff --git a/test/Twine2HTMLParser.test.js b/test/Twine2HTMLParser.test.js index 1c4fbe51..6b45c7f1 100644 --- a/test/Twine2HTMLParser.test.js +++ b/test/Twine2HTMLParser.test.js @@ -1,9 +1,9 @@ -import FileReader from '../src/FileReader.js'; +import fs from 'node:fs'; import Twine2HTMLParser from '../src/Twine2HTMLParser.js'; // Pull the name and version of this project from package.json. // These are used as the 'creator' and 'creator-version'. -const { version } = JSON.parse(FileReader.read('package.json')); +const { version } = JSON.parse(fs.readFileSync('package.json', 'utf-8')); describe('Twine2HTMLParser', () => { describe('#parse()', () => { @@ -16,103 +16,103 @@ describe('Twine2HTMLParser', () => { }); it('Should be able to parse Twine 2 HTML for story name', () => { - const fr = FileReader.read('test/Twine2HTMLParser/twineExample.html'); + const fr = fs.readFileSync('test/Twine2HTMLParser/twineExample.html', 'utf-8'); const story = Twine2HTMLParser.parse(fr); expect(story.name).toBe('twineExample'); }); it('Should be able to parse Twine 2 HTML for correct number of passages', () => { - const fr = FileReader.read('test/Twine2HTMLParser/twineExample.html'); + const fr = fs.readFileSync('test/Twine2HTMLParser/twineExample.html', 'utf-8'); const tp = Twine2HTMLParser.parse(fr); expect(tp.size()).toBe(5); }); it('Should be able to correctly parse passage tags', () => { - const fr = FileReader.read('test/Twine2HTMLParser/Tags.html'); + const fr = fs.readFileSync('test/Twine2HTMLParser/Tags.html', 'utf-8'); const story = Twine2HTMLParser.parse(fr); const p = story.getPassageByName('Untitled Passage'); expect(p.tags).toHaveLength(2); }); it('Should have default name', () => { - const fr = FileReader.read('test/Twine2HTMLParser/missingName.html'); + const fr = fs.readFileSync('test/Twine2HTMLParser/missingName.html', 'utf-8'); const story = Twine2HTMLParser.parse(fr); expect(story.name).toBe(''); }); it('Should set a missing IFID to an empty string', () => { - const fr = FileReader.read('test/Twine2HTMLParser/missingIFID.html'); + const fr = fs.readFileSync('test/Twine2HTMLParser/missingIFID.html', 'utf-8'); const tp = Twine2HTMLParser.parse(fr); expect(tp.IFID).toBe(''); }); it('Should have Extwee for creator when missing', () => { - const fr = FileReader.read('test/Twine2HTMLParser/missingCreator.html'); + const fr = fs.readFileSync('test/Twine2HTMLParser/missingCreator.html', 'utf-8'); const tp = Twine2HTMLParser.parse(fr); expect(tp.creator).toBe('extwee'); }); it('Should have correct for creatorVersion when missing', () => { - const fr = FileReader.read('test/Twine2HTMLParser/missingCreatorVersion.html'); + const fr = fs.readFileSync('test/Twine2HTMLParser/missingCreatorVersion.html', 'utf-8'); const tp = Twine2HTMLParser.parse(fr); expect(tp.creatorVersion).toBe(version); }); it('Should have empty string as format when missing', () => { - const fr = FileReader.read('test/Twine2HTMLParser/missingFormat.html'); + const fr = fs.readFileSync('test/Twine2HTMLParser/missingFormat.html', 'utf-8'); const tp = Twine2HTMLParser.parse(fr); expect(tp.format).toBe(''); }); it('Should have empty string as formatVersion when missing', () => { - const fr = FileReader.read('test/Twine2HTMLParser/missingFormatVersion.html'); + const fr = fs.readFileSync('test/Twine2HTMLParser/missingFormatVersion.html', 'utf-8'); const tp = Twine2HTMLParser.parse(fr); expect(tp.formatVersion).toBe(''); }); it('Should have empty string as zoom when missing', () => { - const fr = FileReader.read('test/Twine2HTMLParser/missingZoom.html'); + const fr = fs.readFileSync('test/Twine2HTMLParser/missingZoom.html', 'utf-8'); const tp = Twine2HTMLParser.parse(fr); expect(tp.zoom).toBe(0); }); it('Should not have position if passage does not', () => { - const fr = FileReader.read('test/Twine2HTMLParser/missingPosition.html'); + const fr = fs.readFileSync('test/Twine2HTMLParser/missingPosition.html', 'utf-8'); const story = Twine2HTMLParser.parse(fr); const p = story.getPassageByName('Untitled Passage'); expect(Object.prototype.hasOwnProperty.call(p.metadata, 'position')).toBe(false); }); it('Should not have size if passage does not', () => { - const fr = FileReader.read('test/Twine2HTMLParser/missingSize.html'); + const fr = fs.readFileSync('test/Twine2HTMLParser/missingSize.html', 'utf-8'); const story = Twine2HTMLParser.parse(fr); const p = story.getPassageByName('Untitled Passage'); expect(Object.prototype.hasOwnProperty.call(p.metadata, 'size')).toBe(false); }); it('Should have empty array as tags if tags is missing', () => { - const fr = FileReader.read('test/Twine2HTMLParser/missingPassageTags.html'); + const fr = fs.readFileSync('test/Twine2HTMLParser/missingPassageTags.html', 'utf-8'); const story = Twine2HTMLParser.parse(fr); const p = story.getPassageByName('Untitled Passage'); expect(p.tags).toHaveLength(0); }); it('Should not have stylesheet tag if no passages exist with it', () => { - const fr = FileReader.read('test/Twine2HTMLParser/missingStyle.html'); + const fr = fs.readFileSync('test/Twine2HTMLParser/missingStyle.html', 'utf-8'); const story = Twine2HTMLParser.parse(fr); const passages = story.getPassagesByTag('stylesheet'); expect(passages.length).toBe(0); }); it('Should not have script tag if no passages exist with it', () => { - const fr = FileReader.read('test/Twine2HTMLParser/missingScript.html'); + const fr = fs.readFileSync('test/Twine2HTMLParser/missingScript.html', 'utf-8'); const story = Twine2HTMLParser.parse(fr); const passages = story.getPassagesByTag('script'); expect(passages.length).toBe(0); }); it('Should have script and style tags normally', () => { - const fr = FileReader.read('test/Twine2HTMLParser/Example1.html'); + const fr = fs.readFileSync('test/Twine2HTMLParser/Example1.html', 'utf-8'); const story = Twine2HTMLParser.parse(fr); const scriptPassages = story.getPassagesByTag('script'); const stylesheetPassages = story.getPassagesByTag('stylesheet'); @@ -121,22 +121,22 @@ describe('Twine2HTMLParser', () => { }); it('Should throw error if startNode is missing', () => { - const fr = FileReader.read('test/Twine2HTMLParser/missingStartnode.html'); + const fr = fs.readFileSync('test/Twine2HTMLParser/missingStartnode.html', 'utf-8'); expect(() => { Twine2HTMLParser.parse(fr); }).toThrow(); }); it('Should throw error if passage name is missing', () => { - const fr = FileReader.read('test/Twine2HTMLParser/missingPassageName.html'); + const fr = fs.readFileSync('test/Twine2HTMLParser/missingPassageName.html', 'utf-8'); expect(() => { Twine2HTMLParser.parse(fr); }).toThrow(); }); it('Should throw error without PID', () => { - const fr = FileReader.read('test/Twine2HTMLParser/missingPID.html'); + const fr = fs.readFileSync('test/Twine2HTMLParser/missingPID.html', 'utf-8'); expect(() => { Twine2HTMLParser.parse(fr); }).toThrow(); }); it('Should parse tag colors', () => { - const fr = FileReader.read('test/Twine2HTMLParser/tagColors.html'); + const fr = fs.readFileSync('test/Twine2HTMLParser/tagColors.html', 'utf-8'); const story = Twine2HTMLParser.parse(fr); // Test for tag colors const tagColors = story.tagColors; @@ -144,19 +144,19 @@ describe('Twine2HTMLParser', () => { }); it('Should throw error if startnode is missing', () => { - const fr = FileReader.read('test/Twine2HTMLParser/missingStartnode.html'); + const fr = fs.readFileSync('test/Twine2HTMLParser/missingStartnode.html', 'utf-8'); expect(() => { Twine2HTMLParser.parse(fr); }).toThrow(); }); it('Should throw error when startnode has PID that does not exist', () => { - const fr = FileReader.read('test/Twine2HTMLParser/lyingStartnode.html'); + const fr = fs.readFileSync('test/Twine2HTMLParser/lyingStartnode.html', 'utf-8'); expect(() => { Twine2HTMLParser.parse(fr); }).toThrow(); }); it('Do not update name and color if those attributes do not exist', () => { - const fr = FileReader.read('test/Twine2HTMLParser/lyingTagColors.html'); + const fr = fs.readFileSync('test/Twine2HTMLParser/lyingTagColors.html', 'utf-8'); const story = Twine2HTMLParser.parse(fr); const tagColorProperties = Object.keys(story.tagColors).length; expect(tagColorProperties).toBe(0); diff --git a/webpack.config.js b/webpack.config.js new file mode 100644 index 00000000..99f80e3b --- /dev/null +++ b/webpack.config.js @@ -0,0 +1,10 @@ +import path from 'node:path'; + +export default { + mode: 'production', + entry: './index.js', + output: { + path: path.resolve('./', 'build'), + filename: 'extwee.bundle.js', + }, +};