ece-docs-components 1.0.68 → 1.0.70

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (82) hide show
  1. package/dist/cjs/components/Header.js +4 -10
  2. package/dist/cjs/components/Header.js.map +1 -1
  3. package/dist/cjs/components/Modal.js +28 -15
  4. package/dist/cjs/components/Modal.js.map +1 -1
  5. package/dist/cjs/components/SidebarV2.js +3 -3
  6. package/dist/cjs/components/SidebarV2.js.map +1 -1
  7. package/dist/cjs/node_modules/domelementtype/lib/index.js +14 -14
  8. package/dist/cjs/node_modules/domelementtype/lib/index.js.map +1 -1
  9. package/dist/cjs/node_modules/domhandler/lib/index.js +8 -8
  10. package/dist/cjs/node_modules/domhandler/lib/index.js.map +1 -1
  11. package/dist/cjs/node_modules/domutils/lib/index.js +18 -18
  12. package/dist/cjs/node_modules/domutils/lib/index.js.map +1 -1
  13. package/dist/cjs/node_modules/entities/lib/decode.js +16 -16
  14. package/dist/cjs/node_modules/entities/lib/decode.js.map +1 -1
  15. package/dist/cjs/node_modules/entities/lib/decode_codepoint.js +7 -7
  16. package/dist/cjs/node_modules/entities/lib/decode_codepoint.js.map +1 -1
  17. package/dist/cjs/node_modules/entities/lib/escape.js +13 -13
  18. package/dist/cjs/node_modules/entities/lib/escape.js.map +1 -1
  19. package/dist/cjs/node_modules/entities/lib/index.js +28 -28
  20. package/dist/cjs/node_modules/entities/lib/index.js.map +1 -1
  21. package/dist/cjs/node_modules/html-dom-parser/lib/index.js +7 -7
  22. package/dist/cjs/node_modules/html-dom-parser/lib/index.js.map +1 -1
  23. package/dist/cjs/node_modules/html-react-parser/lib/index.js +11 -11
  24. package/dist/cjs/node_modules/html-react-parser/lib/index.js.map +1 -1
  25. package/dist/cjs/node_modules/html-react-parser/lib/utilities.js +10 -10
  26. package/dist/cjs/node_modules/html-react-parser/lib/utilities.js.map +1 -1
  27. package/dist/cjs/node_modules/htmlparser2/dist/commonjs/index.js +16 -16
  28. package/dist/cjs/node_modules/htmlparser2/dist/commonjs/index.js.map +1 -1
  29. package/dist/cjs/node_modules/htmlparser2/node_modules/entities/dist/commonjs/decode-codepoint.js +7 -7
  30. package/dist/cjs/node_modules/htmlparser2/node_modules/entities/dist/commonjs/decode-codepoint.js.map +1 -1
  31. package/dist/cjs/node_modules/htmlparser2/node_modules/entities/dist/commonjs/decode.js +16 -16
  32. package/dist/cjs/node_modules/htmlparser2/node_modules/entities/dist/commonjs/decode.js.map +1 -1
  33. package/dist/cjs/themes/ECETheme.js +3 -3
  34. package/dist/cjs/themes/ECETheme.js.map +1 -1
  35. package/dist/cjs/themes/GPTheme.js +3 -3
  36. package/dist/cjs/themes/GPTheme.js.map +1 -1
  37. package/dist/cjs/themes/SchoolTheme.js +3 -3
  38. package/dist/cjs/themes/SchoolTheme.js.map +1 -1
  39. package/dist/esm/_virtual/index10.js +2 -2
  40. package/dist/esm/_virtual/index8.js +2 -2
  41. package/dist/esm/components/Header.js +4 -10
  42. package/dist/esm/components/Header.js.map +1 -1
  43. package/dist/esm/components/Modal.d.ts +1 -0
  44. package/dist/esm/components/Modal.js +28 -15
  45. package/dist/esm/components/Modal.js.map +1 -1
  46. package/dist/esm/components/SidebarV2.js +3 -3
  47. package/dist/esm/components/SidebarV2.js.map +1 -1
  48. package/dist/esm/node_modules/dom-serializer/lib/index.js +1 -1
  49. package/dist/esm/node_modules/domelementtype/lib/index.js +14 -14
  50. package/dist/esm/node_modules/domelementtype/lib/index.js.map +1 -1
  51. package/dist/esm/node_modules/domhandler/lib/index.js +9 -9
  52. package/dist/esm/node_modules/domhandler/lib/index.js.map +1 -1
  53. package/dist/esm/node_modules/domutils/lib/index.js +19 -19
  54. package/dist/esm/node_modules/domutils/lib/index.js.map +1 -1
  55. package/dist/esm/node_modules/entities/lib/decode.js +16 -16
  56. package/dist/esm/node_modules/entities/lib/decode.js.map +1 -1
  57. package/dist/esm/node_modules/entities/lib/decode_codepoint.js +7 -7
  58. package/dist/esm/node_modules/entities/lib/decode_codepoint.js.map +1 -1
  59. package/dist/esm/node_modules/entities/lib/escape.js +13 -13
  60. package/dist/esm/node_modules/entities/lib/escape.js.map +1 -1
  61. package/dist/esm/node_modules/entities/lib/index.js +28 -28
  62. package/dist/esm/node_modules/entities/lib/index.js.map +1 -1
  63. package/dist/esm/node_modules/html-dom-parser/lib/index.js +8 -8
  64. package/dist/esm/node_modules/html-dom-parser/lib/index.js.map +1 -1
  65. package/dist/esm/node_modules/html-react-parser/lib/index.js +11 -11
  66. package/dist/esm/node_modules/html-react-parser/lib/index.js.map +1 -1
  67. package/dist/esm/node_modules/html-react-parser/lib/utilities.js +10 -10
  68. package/dist/esm/node_modules/html-react-parser/lib/utilities.js.map +1 -1
  69. package/dist/esm/node_modules/htmlparser2/dist/commonjs/index.js +16 -16
  70. package/dist/esm/node_modules/htmlparser2/dist/commonjs/index.js.map +1 -1
  71. package/dist/esm/node_modules/htmlparser2/node_modules/entities/dist/commonjs/decode-codepoint.js +7 -7
  72. package/dist/esm/node_modules/htmlparser2/node_modules/entities/dist/commonjs/decode-codepoint.js.map +1 -1
  73. package/dist/esm/node_modules/htmlparser2/node_modules/entities/dist/commonjs/decode.js +16 -16
  74. package/dist/esm/node_modules/htmlparser2/node_modules/entities/dist/commonjs/decode.js.map +1 -1
  75. package/dist/esm/node_modules/style-to-object/cjs/index.js +1 -1
  76. package/dist/esm/themes/ECETheme.js +3 -3
  77. package/dist/esm/themes/ECETheme.js.map +1 -1
  78. package/dist/esm/themes/GPTheme.js +3 -3
  79. package/dist/esm/themes/GPTheme.js.map +1 -1
  80. package/dist/esm/themes/SchoolTheme.js +3 -3
  81. package/dist/esm/themes/SchoolTheme.js.map +1 -1
  82. package/package.json +1 -3
@@ -10,7 +10,7 @@ var hasRequiredCommonjs;
10
10
  function requireCommonjs () {
11
11
  if (hasRequiredCommonjs) return commonjs;
12
12
  hasRequiredCommonjs = 1;
13
- (function (exports) {
13
+ (function (exports$1) {
14
14
  var __createBinding = (commonjs && commonjs.__createBinding) || (Object.create ? (function(o, m, k, k2) {
15
15
  if (k2 === undefined) k2 = k;
16
16
  var desc = Object.getOwnPropertyDescriptor(m, k);
@@ -47,21 +47,21 @@ function requireCommonjs () {
47
47
  var __importDefault = (commonjs && commonjs.__importDefault) || function (mod) {
48
48
  return (mod && mod.__esModule) ? mod : { "default": mod };
49
49
  };
50
- Object.defineProperty(exports, "__esModule", { value: true });
51
- exports.DomUtils = exports.getFeed = exports.ElementType = exports.QuoteType = exports.Tokenizer = exports.DefaultHandler = exports.DomHandler = exports.Parser = void 0;
52
- exports.parseDocument = parseDocument;
53
- exports.parseDOM = parseDOM;
54
- exports.createDocumentStream = createDocumentStream;
55
- exports.createDomStream = createDomStream;
56
- exports.parseFeed = parseFeed;
50
+ Object.defineProperty(exports$1, "__esModule", { value: true });
51
+ exports$1.DomUtils = exports$1.getFeed = exports$1.ElementType = exports$1.QuoteType = exports$1.Tokenizer = exports$1.DefaultHandler = exports$1.DomHandler = exports$1.Parser = void 0;
52
+ exports$1.parseDocument = parseDocument;
53
+ exports$1.parseDOM = parseDOM;
54
+ exports$1.createDocumentStream = createDocumentStream;
55
+ exports$1.createDomStream = createDomStream;
56
+ exports$1.parseFeed = parseFeed;
57
57
  const Parser_js_1 = requireParser();
58
58
  var Parser_js_2 = requireParser();
59
- Object.defineProperty(exports, "Parser", { enumerable: true, get: function () { return Parser_js_2.Parser; } });
59
+ Object.defineProperty(exports$1, "Parser", { enumerable: true, get: function () { return Parser_js_2.Parser; } });
60
60
  const domhandler_1 = /*@__PURE__*/ requireLib();
61
61
  var domhandler_2 = /*@__PURE__*/ requireLib();
62
- Object.defineProperty(exports, "DomHandler", { enumerable: true, get: function () { return domhandler_2.DomHandler; } });
62
+ Object.defineProperty(exports$1, "DomHandler", { enumerable: true, get: function () { return domhandler_2.DomHandler; } });
63
63
  // Old name for DomHandler
64
- Object.defineProperty(exports, "DefaultHandler", { enumerable: true, get: function () { return domhandler_2.DomHandler; } });
64
+ Object.defineProperty(exports$1, "DefaultHandler", { enumerable: true, get: function () { return domhandler_2.DomHandler; } });
65
65
  // Helper methods
66
66
  /**
67
67
  * Parses the data, returns the resulting document.
@@ -111,16 +111,16 @@ function requireCommonjs () {
111
111
  return new Parser_js_1.Parser(handler, options);
112
112
  }
113
113
  var Tokenizer_js_1 = requireTokenizer();
114
- Object.defineProperty(exports, "Tokenizer", { enumerable: true, get: function () { return __importDefault(Tokenizer_js_1).default; } });
115
- Object.defineProperty(exports, "QuoteType", { enumerable: true, get: function () { return Tokenizer_js_1.QuoteType; } });
114
+ Object.defineProperty(exports$1, "Tokenizer", { enumerable: true, get: function () { return __importDefault(Tokenizer_js_1).default; } });
115
+ Object.defineProperty(exports$1, "QuoteType", { enumerable: true, get: function () { return Tokenizer_js_1.QuoteType; } });
116
116
  /*
117
117
  * All of the following exports exist for backwards-compatibility.
118
118
  * They should probably be removed eventually.
119
119
  */
120
- exports.ElementType = __importStar(/*@__PURE__*/ requireLib$1());
120
+ exports$1.ElementType = __importStar(/*@__PURE__*/ requireLib$1());
121
121
  const domutils_1 = /*@__PURE__*/ requireLib$2();
122
122
  var domutils_2 = /*@__PURE__*/ requireLib$2();
123
- Object.defineProperty(exports, "getFeed", { enumerable: true, get: function () { return domutils_2.getFeed; } });
123
+ Object.defineProperty(exports$1, "getFeed", { enumerable: true, get: function () { return domutils_2.getFeed; } });
124
124
  const parseFeedDefaultOptions = { xmlMode: true };
125
125
  /**
126
126
  * Parse a feed.
@@ -131,7 +131,7 @@ function requireCommonjs () {
131
131
  function parseFeed(feed, options = parseFeedDefaultOptions) {
132
132
  return (0, domutils_1.getFeed)(parseDOM(feed, options));
133
133
  }
134
- exports.DomUtils = __importStar(/*@__PURE__*/ requireLib$2());
134
+ exports$1.DomUtils = __importStar(/*@__PURE__*/ requireLib$2());
135
135
 
136
136
  } (commonjs));
137
137
  return commonjs;
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":["../../../../../../node_modules/htmlparser2/dist/commonjs/index.js"],"sourcesContent":["\"use strict\";\nvar __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n var desc = Object.getOwnPropertyDescriptor(m, k);\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\n desc = { enumerable: true, get: function() { return m[k]; } };\n }\n Object.defineProperty(o, k2, desc);\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n}));\nvar __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\n}) : function(o, v) {\n o[\"default\"] = v;\n});\nvar __importStar = (this && this.__importStar) || (function () {\n var ownKeys = function(o) {\n ownKeys = Object.getOwnPropertyNames || function (o) {\n var ar = [];\n for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;\n return ar;\n };\n return ownKeys(o);\n };\n return function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== \"default\") __createBinding(result, mod, k[i]);\n __setModuleDefault(result, mod);\n return result;\n };\n})();\nvar __importDefault = (this && this.__importDefault) || function (mod) {\n return (mod && mod.__esModule) ? mod : { \"default\": mod };\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.DomUtils = exports.getFeed = exports.ElementType = exports.QuoteType = exports.Tokenizer = exports.DefaultHandler = exports.DomHandler = exports.Parser = void 0;\nexports.parseDocument = parseDocument;\nexports.parseDOM = parseDOM;\nexports.createDocumentStream = createDocumentStream;\nexports.createDomStream = createDomStream;\nexports.parseFeed = parseFeed;\nconst Parser_js_1 = require(\"./Parser.js\");\nvar Parser_js_2 = require(\"./Parser.js\");\nObject.defineProperty(exports, \"Parser\", { enumerable: true, get: function () { return Parser_js_2.Parser; } });\nconst domhandler_1 = require(\"domhandler\");\nvar domhandler_2 = require(\"domhandler\");\nObject.defineProperty(exports, \"DomHandler\", { enumerable: true, get: function () { return domhandler_2.DomHandler; } });\n// Old name for DomHandler\nObject.defineProperty(exports, \"DefaultHandler\", { enumerable: true, get: function () { return domhandler_2.DomHandler; } });\n// Helper methods\n/**\n * Parses the data, returns the resulting document.\n *\n * @param data The data that should be parsed.\n * @param options Optional options for the parser and DOM handler.\n */\nfunction parseDocument(data, options) {\n const handler = new domhandler_1.DomHandler(undefined, options);\n new Parser_js_1.Parser(handler, options).end(data);\n return handler.root;\n}\n/**\n * Parses data, returns an array of the root nodes.\n *\n * Note that the root nodes still have a `Document` node as their parent.\n * Use `parseDocument` to get the `Document` node instead.\n *\n * @param data The data that should be parsed.\n * @param options Optional options for the parser and DOM handler.\n * @deprecated Use `parseDocument` instead.\n */\nfunction parseDOM(data, options) {\n return parseDocument(data, options).children;\n}\n/**\n * Creates a parser instance, with an attached DOM handler.\n *\n * @param callback A callback that will be called once parsing has been completed, with the resulting document.\n * @param options Optional options for the parser and DOM handler.\n * @param elementCallback An optional callback that will be called every time a tag has been completed inside of the DOM.\n */\nfunction createDocumentStream(callback, options, elementCallback) {\n const handler = new domhandler_1.DomHandler((error) => callback(error, handler.root), options, elementCallback);\n return new Parser_js_1.Parser(handler, options);\n}\n/**\n * Creates a parser instance, with an attached DOM handler.\n *\n * @param callback A callback that will be called once parsing has been completed, with an array of root nodes.\n * @param options Optional options for the parser and DOM handler.\n * @param elementCallback An optional callback that will be called every time a tag has been completed inside of the DOM.\n * @deprecated Use `createDocumentStream` instead.\n */\nfunction createDomStream(callback, options, elementCallback) {\n const handler = new domhandler_1.DomHandler(callback, options, elementCallback);\n return new Parser_js_1.Parser(handler, options);\n}\nvar Tokenizer_js_1 = require(\"./Tokenizer.js\");\nObject.defineProperty(exports, \"Tokenizer\", { enumerable: true, get: function () { return __importDefault(Tokenizer_js_1).default; } });\nObject.defineProperty(exports, \"QuoteType\", { enumerable: true, get: function () { return Tokenizer_js_1.QuoteType; } });\n/*\n * All of the following exports exist for backwards-compatibility.\n * They should probably be removed eventually.\n */\nexports.ElementType = __importStar(require(\"domelementtype\"));\nconst domutils_1 = require(\"domutils\");\nvar domutils_2 = require(\"domutils\");\nObject.defineProperty(exports, \"getFeed\", { enumerable: true, get: function () { return domutils_2.getFeed; } });\nconst parseFeedDefaultOptions = { xmlMode: true };\n/**\n * Parse a feed.\n *\n * @param feed The feed that should be parsed, as a string.\n * @param options Optionally, options for parsing. When using this, you should set `xmlMode` to `true`.\n */\nfunction parseFeed(feed, options = parseFeedDefaultOptions) {\n return (0, domutils_1.getFeed)(parseDOM(feed, options));\n}\nexports.DomUtils = __importStar(require(\"domutils\"));\n//# sourceMappingURL=index.js.map"],"names":["this","require$$0","require$$1","require$$2","require$$3","require$$4"],"mappings":";;;;;;;;;;;;;EACA,IAAI,eAAe,GAAG,CAACA,QAAI,IAAIA,QAAI,CAAC,eAAe,MAAM,MAAM,CAAC,MAAM,IAAI,SAAS,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,EAAE,EAAE;AAChG,MAAI,IAAI,EAAE,KAAK,SAAS,EAAE,EAAE,GAAG,CAAC;MAC5B,IAAI,IAAI,GAAG,MAAM,CAAC,wBAAwB,CAAC,CAAC,EAAE,CAAC,CAAC;MAChD,IAAI,CAAC,IAAI,KAAK,KAAK,IAAI,IAAI,GAAG,CAAC,CAAC,CAAC,UAAU,GAAG,IAAI,CAAC,QAAQ,IAAI,IAAI,CAAC,YAAY,CAAC,EAAE;AACvF,QAAM,IAAI,GAAG,EAAE,UAAU,EAAE,IAAI,EAAE,GAAG,EAAE,WAAW,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE,EAAE;AACnE,MAAA;MACI,MAAM,CAAC,cAAc,CAAC,CAAC,EAAE,EAAE,EAAE,IAAI,CAAC;EACtC,CAAC,KAAK,SAAS,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,EAAE,EAAE;AAC5B,MAAI,IAAI,EAAE,KAAK,SAAS,EAAE,EAAE,GAAG,CAAC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,eAACA,YAAA,EAAmB,CAAC;AACpD;;;;;;;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.js","sources":["../../../../../../node_modules/htmlparser2/dist/commonjs/index.js"],"sourcesContent":["\"use strict\";\nvar __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n var desc = Object.getOwnPropertyDescriptor(m, k);\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\n desc = { enumerable: true, get: function() { return m[k]; } };\n }\n Object.defineProperty(o, k2, desc);\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n}));\nvar __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\n}) : function(o, v) {\n o[\"default\"] = v;\n});\nvar __importStar = (this && this.__importStar) || (function () {\n var ownKeys = function(o) {\n ownKeys = Object.getOwnPropertyNames || function (o) {\n var ar = [];\n for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;\n return ar;\n };\n return ownKeys(o);\n };\n return function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== \"default\") __createBinding(result, mod, k[i]);\n __setModuleDefault(result, mod);\n return result;\n };\n})();\nvar __importDefault = (this && this.__importDefault) || function (mod) {\n return (mod && mod.__esModule) ? mod : { \"default\": mod };\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.DomUtils = exports.getFeed = exports.ElementType = exports.QuoteType = exports.Tokenizer = exports.DefaultHandler = exports.DomHandler = exports.Parser = void 0;\nexports.parseDocument = parseDocument;\nexports.parseDOM = parseDOM;\nexports.createDocumentStream = createDocumentStream;\nexports.createDomStream = createDomStream;\nexports.parseFeed = parseFeed;\nconst Parser_js_1 = require(\"./Parser.js\");\nvar Parser_js_2 = require(\"./Parser.js\");\nObject.defineProperty(exports, \"Parser\", { enumerable: true, get: function () { return Parser_js_2.Parser; } });\nconst domhandler_1 = require(\"domhandler\");\nvar domhandler_2 = require(\"domhandler\");\nObject.defineProperty(exports, \"DomHandler\", { enumerable: true, get: function () { return domhandler_2.DomHandler; } });\n// Old name for DomHandler\nObject.defineProperty(exports, \"DefaultHandler\", { enumerable: true, get: function () { return domhandler_2.DomHandler; } });\n// Helper methods\n/**\n * Parses the data, returns the resulting document.\n *\n * @param data The data that should be parsed.\n * @param options Optional options for the parser and DOM handler.\n */\nfunction parseDocument(data, options) {\n const handler = new domhandler_1.DomHandler(undefined, options);\n new Parser_js_1.Parser(handler, options).end(data);\n return handler.root;\n}\n/**\n * Parses data, returns an array of the root nodes.\n *\n * Note that the root nodes still have a `Document` node as their parent.\n * Use `parseDocument` to get the `Document` node instead.\n *\n * @param data The data that should be parsed.\n * @param options Optional options for the parser and DOM handler.\n * @deprecated Use `parseDocument` instead.\n */\nfunction parseDOM(data, options) {\n return parseDocument(data, options).children;\n}\n/**\n * Creates a parser instance, with an attached DOM handler.\n *\n * @param callback A callback that will be called once parsing has been completed, with the resulting document.\n * @param options Optional options for the parser and DOM handler.\n * @param elementCallback An optional callback that will be called every time a tag has been completed inside of the DOM.\n */\nfunction createDocumentStream(callback, options, elementCallback) {\n const handler = new domhandler_1.DomHandler((error) => callback(error, handler.root), options, elementCallback);\n return new Parser_js_1.Parser(handler, options);\n}\n/**\n * Creates a parser instance, with an attached DOM handler.\n *\n * @param callback A callback that will be called once parsing has been completed, with an array of root nodes.\n * @param options Optional options for the parser and DOM handler.\n * @param elementCallback An optional callback that will be called every time a tag has been completed inside of the DOM.\n * @deprecated Use `createDocumentStream` instead.\n */\nfunction createDomStream(callback, options, elementCallback) {\n const handler = new domhandler_1.DomHandler(callback, options, elementCallback);\n return new Parser_js_1.Parser(handler, options);\n}\nvar Tokenizer_js_1 = require(\"./Tokenizer.js\");\nObject.defineProperty(exports, \"Tokenizer\", { enumerable: true, get: function () { return __importDefault(Tokenizer_js_1).default; } });\nObject.defineProperty(exports, \"QuoteType\", { enumerable: true, get: function () { return Tokenizer_js_1.QuoteType; } });\n/*\n * All of the following exports exist for backwards-compatibility.\n * They should probably be removed eventually.\n */\nexports.ElementType = __importStar(require(\"domelementtype\"));\nconst domutils_1 = require(\"domutils\");\nvar domutils_2 = require(\"domutils\");\nObject.defineProperty(exports, \"getFeed\", { enumerable: true, get: function () { return domutils_2.getFeed; } });\nconst parseFeedDefaultOptions = { xmlMode: true };\n/**\n * Parse a feed.\n *\n * @param feed The feed that should be parsed, as a string.\n * @param options Optionally, options for parsing. When using this, you should set `xmlMode` to `true`.\n */\nfunction parseFeed(feed, options = parseFeedDefaultOptions) {\n return (0, domutils_1.getFeed)(parseDOM(feed, options));\n}\nexports.DomUtils = __importStar(require(\"domutils\"));\n//# sourceMappingURL=index.js.map"],"names":["this","exports","require$$0","require$$1","require$$2","require$$3","require$$4"],"mappings":";;;;;;;;;;;;;EACA,IAAI,eAAe,GAAG,CAACA,QAAI,IAAIA,QAAI,CAAC,eAAe,MAAM,MAAM,CAAC,MAAM,IAAI,SAAS,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,EAAE,EAAE;AAChG,MAAI,IAAI,EAAE,KAAK,SAAS,EAAE,EAAE,GAAG,CAAC;MAC5B,IAAI,IAAI,GAAG,MAAM,CAAC,wBAAwB,CAAC,CAAC,EAAE,CAAC,CAAC;MAChD,IAAI,CAAC,IAAI,KAAK,KAAK,IAAI,IAAI,GAAG,CAAC,CAAC,CAAC,UAAU,GAAG,IAAI,CAAC,QAAQ,IAAI,IAAI,CAAC,YAAY,CAAC,EAAE;AACvF,QAAM,IAAI,GAAG,EAAE,UAAU,EAAE,IAAI,EAAE,GAAG,EAAE,WAAW,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE,EAAE;AACnE,MAAA;MACI,MAAM,CAAC,cAAc,CAAC,CAAC,EAAE,EAAE,EAAE,IAAI,CAAC;EACtC,CA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;AAC5D,MAAI,OAAO,IAAI,UAAU,CAAC,OAAO,EAAE,QAAQ,CAAC,IAAI,EAAE,OAAO,CAAC,CAAC;AAC3D,EAAA;EACAA,SAAA,CAAA,QAAA,GAAmB,YAAY,eAACK,YAAA,EAAmB,CAAC;AACpD;;;;;;;","x_google_ignoreList":[0]}
@@ -5,13 +5,13 @@ var hasRequiredDecodeCodepoint;
5
5
  function requireDecodeCodepoint () {
6
6
  if (hasRequiredDecodeCodepoint) return decodeCodepoint;
7
7
  hasRequiredDecodeCodepoint = 1;
8
- (function (exports) {
8
+ (function (exports$1) {
9
9
  // Adapted from https://github.com/mathiasbynens/he/blob/36afe179392226cf1b6ccdb16ebbb7a5a844d93a/src/he.js#L106-L134
10
10
  var _a;
11
- Object.defineProperty(exports, "__esModule", { value: true });
12
- exports.fromCodePoint = void 0;
13
- exports.replaceCodePoint = replaceCodePoint;
14
- exports.decodeCodePoint = decodeCodePoint;
11
+ Object.defineProperty(exports$1, "__esModule", { value: true });
12
+ exports$1.fromCodePoint = void 0;
13
+ exports$1.replaceCodePoint = replaceCodePoint;
14
+ exports$1.decodeCodePoint = decodeCodePoint;
15
15
  const decodeMap = new Map([
16
16
  [0, 65533],
17
17
  // C1 Unicode control character reference replacements
@@ -46,7 +46,7 @@ function requireDecodeCodepoint () {
46
46
  /**
47
47
  * Polyfill for `String.fromCodePoint`. It is used to create a string from a Unicode code point.
48
48
  */
49
- exports.fromCodePoint =
49
+ exports$1.fromCodePoint =
50
50
  // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition, n/no-unsupported-features/es-builtins
51
51
  (_a = String.fromCodePoint) !== null && _a !== void 0 ? _a : function (codePoint) {
52
52
  let output = "";
@@ -79,7 +79,7 @@ function requireDecodeCodepoint () {
79
79
  * @returns The decoded code point.
80
80
  */
81
81
  function decodeCodePoint(codePoint) {
82
- return (0, exports.fromCodePoint)(replaceCodePoint(codePoint));
82
+ return (0, exports$1.fromCodePoint)(replaceCodePoint(codePoint));
83
83
  }
84
84
 
85
85
  } (decodeCodepoint));
@@ -1 +1 @@
1
- {"version":3,"file":"decode-codepoint.js","sources":["../../../../../../../../node_modules/htmlparser2/node_modules/entities/dist/commonjs/decode-codepoint.js"],"sourcesContent":["\"use strict\";\n// Adapted from https://github.com/mathiasbynens/he/blob/36afe179392226cf1b6ccdb16ebbb7a5a844d93a/src/he.js#L106-L134\nvar _a;\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.fromCodePoint = void 0;\nexports.replaceCodePoint = replaceCodePoint;\nexports.decodeCodePoint = decodeCodePoint;\nconst decodeMap = new Map([\n [0, 65533],\n // C1 Unicode control character reference replacements\n [128, 8364],\n [130, 8218],\n [131, 402],\n [132, 8222],\n [133, 8230],\n [134, 8224],\n [135, 8225],\n [136, 710],\n [137, 8240],\n [138, 352],\n [139, 8249],\n [140, 338],\n [142, 381],\n [145, 8216],\n [146, 8217],\n [147, 8220],\n [148, 8221],\n [149, 8226],\n [150, 8211],\n [151, 8212],\n [152, 732],\n [153, 8482],\n [154, 353],\n [155, 8250],\n [156, 339],\n [158, 382],\n [159, 376],\n]);\n/**\n * Polyfill for `String.fromCodePoint`. It is used to create a string from a Unicode code point.\n */\nexports.fromCodePoint = \n// eslint-disable-next-line @typescript-eslint/no-unnecessary-condition, n/no-unsupported-features/es-builtins\n(_a = String.fromCodePoint) !== null && _a !== void 0 ? _a : function (codePoint) {\n let output = \"\";\n if (codePoint > 65535) {\n codePoint -= 65536;\n output += String.fromCharCode(((codePoint >>> 10) & 1023) | 55296);\n codePoint = 56320 | (codePoint & 1023);\n }\n output += String.fromCharCode(codePoint);\n return output;\n};\n/**\n * Replace the given code point with a replacement character if it is a\n * surrogate or is outside the valid range. Otherwise return the code\n * point unchanged.\n */\nfunction replaceCodePoint(codePoint) {\n var _a;\n if ((codePoint >= 55296 && codePoint <= 57343) ||\n codePoint > 1114111) {\n return 65533;\n }\n return (_a = decodeMap.get(codePoint)) !== null && _a !== void 0 ? _a : codePoint;\n}\n/**\n * Replace the code point if relevant, then convert it to a string.\n *\n * @deprecated Use `fromCodePoint(replaceCodePoint(codePoint))` instead.\n * @param codePoint The code point to decode.\n * @returns The decoded code point.\n */\nfunction decodeCodePoint(codePoint) {\n return (0, exports.fromCodePoint)(replaceCodePoint(codePoint));\n}\n//# sourceMappingURL=decode-codepoint.js.map"],"names":[],"mappings":";;;;;;;;AACA;AACA,EAAA,IAAI,EAAE;EACN,MAAM,CAAC,cAAc,CAAA,OAAA,EAAU,YAAY,EAAE,EAAE,KAAK,EAAE,IAAI,EAAE,CAAC;AAC7D,EAAA,OAAA,CAAA,aAAA,GAAwB,MAAM;AAC9B,EAAA,OAAA,CAAA,gBAAA,GAA2B,gBAAgB;AAC3C,EAAA,OAAA,CAAA,eAAA,GAA0B,eAAe;AACzC,EAAA,MAAM,SAAS,GAAG,IAAI,GAAG,CAAC;AAC1B,MAAI,CAAC,CAAC,EAAE,KAAK,CAAC;AACd;AACA,MAAI,CAAC,GAAG,EAAE,IAAI,CAAC;AACf,MAAI,CAAC,GAAG,EAAE,IAAI,CAAC;AACf,MAAI,CAAC,GAAG,EAAE,GAAG,CAAC;AACd,MAAI,CAAC,GAAG,EAAE,IAAI,CAAC;AACf,MAAI,CAAC,GAAG,EAAE,IAAI,CAAC;AACf,MAAI,CAAC,GAAG,EAAE,IAAI,CAAC;AACf,MAAI,CAAC,GAAG,EAAE,IAAI,CAAC;AACf,MAAI,CAAC,GAAG,EAAE,GAAG,CAAC;AACd,MAAI,CAAC,GAAG,EAAE,IAAI,CAAC;AACf,MAAI,CAAC,GAAG,EAAE,GAAG,CAAC;AACd,MAAI,CAAC,GAAG,EAAE,IAAI,CAAC;AACf,MAAI,CAAC,GAAG,EAAE,GAAG,CAAC;AACd,MAAI,CAAC,GAAG,EAAE,GAAG,CAAC;AACd,MAAI,CAAC,GAAG,EAAE,IAAI,CAAC;AACf,MAAI,CAAC,GAAG,EAAE,IAAI,CAAC;AACf,MAAI,CAAC,GAAG,EAAE,IAAI,CAA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I,OAAO,CAAC,EAAE,GAAG,SAAS,CAAC,GAAG,CAAC,SAAS,CAAC,MAAM,IAAI,IAAI,EAAE,KAAK,MAAM,GAAG,EAAE,GAAG,SAAS;AACrF,EAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;EACA,SAAS,eAAe,CAAC,SAAS,EAAE;AACpC,MAAI,OAAO,IAAI,OAAO,CAAC,aAAa,EAAE,gBAAgB,CAAC,SAAS,CAAC,CAAC;AAClE,EAAA;AACA;;;;;;;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"decode-codepoint.js","sources":["../../../../../../../../node_modules/htmlparser2/node_modules/entities/dist/commonjs/decode-codepoint.js"],"sourcesContent":["\"use strict\";\n// Adapted from https://github.com/mathiasbynens/he/blob/36afe179392226cf1b6ccdb16ebbb7a5a844d93a/src/he.js#L106-L134\nvar _a;\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.fromCodePoint = void 0;\nexports.replaceCodePoint = replaceCodePoint;\nexports.decodeCodePoint = decodeCodePoint;\nconst decodeMap = new Map([\n [0, 65533],\n // C1 Unicode control character reference replacements\n [128, 8364],\n [130, 8218],\n [131, 402],\n [132, 8222],\n [133, 8230],\n [134, 8224],\n [135, 8225],\n [136, 710],\n [137, 8240],\n [138, 352],\n [139, 8249],\n [140, 338],\n [142, 381],\n [145, 8216],\n [146, 8217],\n [147, 8220],\n [148, 8221],\n [149, 8226],\n [150, 8211],\n [151, 8212],\n [152, 732],\n [153, 8482],\n [154, 353],\n [155, 8250],\n [156, 339],\n [158, 382],\n [159, 376],\n]);\n/**\n * Polyfill for `String.fromCodePoint`. It is used to create a string from a Unicode code point.\n */\nexports.fromCodePoint = \n// eslint-disable-next-line @typescript-eslint/no-unnecessary-condition, n/no-unsupported-features/es-builtins\n(_a = String.fromCodePoint) !== null && _a !== void 0 ? _a : function (codePoint) {\n let output = \"\";\n if (codePoint > 65535) {\n codePoint -= 65536;\n output += String.fromCharCode(((codePoint >>> 10) & 1023) | 55296);\n codePoint = 56320 | (codePoint & 1023);\n }\n output += String.fromCharCode(codePoint);\n return output;\n};\n/**\n * Replace the given code point with a replacement character if it is a\n * surrogate or is outside the valid range. Otherwise return the code\n * point unchanged.\n */\nfunction replaceCodePoint(codePoint) {\n var _a;\n if ((codePoint >= 55296 && codePoint <= 57343) ||\n codePoint > 1114111) {\n return 65533;\n }\n return (_a = decodeMap.get(codePoint)) !== null && _a !== void 0 ? _a : codePoint;\n}\n/**\n * Replace the code point if relevant, then convert it to a string.\n *\n * @deprecated Use `fromCodePoint(replaceCodePoint(codePoint))` instead.\n * @param codePoint The code point to decode.\n * @returns The decoded code point.\n */\nfunction decodeCodePoint(codePoint) {\n return (0, exports.fromCodePoint)(replaceCodePoint(codePoint));\n}\n//# sourceMappingURL=decode-codepoint.js.map"],"names":["exports"],"mappings":";;;;;;;;AACA;AACA,EAAA,IAAI,EAAE;EACN,MAAM,CAAC,cAAc,CAAAA,SAAA,EAAU,YAAY,EAAE,EAAE,KAAK,EAAE,IAAI,EAAE,CAAC;AAC7D,EAAAA,SAAA,CAAA,aAAA,GAAwB,MAAM;AAC9B,EAAAA,SAAA,CAAA,gBAAA,GAA2B,gBAAgB;AAC3C,EAAAA,SAAA,CAAA,eAAA,GAA0B,eAAe;AACzC,EAAA,MAAM,SAAS,GAAG,IAAI,GAAG,CAAC;AAC1B,MAAI,CAAC,CAAC,EAAE,KAAK,CAAC;AACd;AACA,MAAI,CAAC,GAAG,EAAE,IAAI,CAAC;AACf,MAAI,CAAC,GAAG,EAAE,IAAI,CAAC;AACf,MAAI,CAAC,GAAG,EAAE,GAAG,CAAC;AACd,MAAI,CAAC,GAAG,EAAE,IAAI,CAAC;AACf,MAAI,CAAC,GAAG,EAAE,IAAI,CAAC;AACf,MAAI,CAAC,GAAG,EAAE,IAAI,CAAC;AACf,MAAI,CAAC,GAAG,EAAE,IAAI,CAAC;AACf,MAAI,CAAC,GAAG,EAAE,GAAG,CAAC;AACd,MAAI,CAAC,GAAG,EAAE,IAA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AAI,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC;AAC5C,MAAI,OAAO,MAAM;EACjB,CAAC;AACD;AACA;AACA;AACA;AACA;EACA,SAAS,gBAAgB,CAAC,SAAS,EAAE;AACrC,MAAI,IAAI,EAAE;MACN,IAAI,CAAC,SAAS,IAAI,KAAK,IAAI,SAAS,IAAI,KAAK;UACzC,SAAS,GAAG,OAAO,EAAE;AAC7B,UAAQ,OAAO,KAAK;AACpB,MAAA;MACI,OAAO,CAAC,EAAE,GAAG,SAAS,CAAC,GAAG,CAAC,SAAS,CAAC,MAAM,IAAI,IAAI,EAAE,KAAK,MAAM,GAAG,EAAE,GAAG,SAAS;AACrF,EAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;EACA,SAAS,eAAe,CAAC,SAAS,EAAE;AACpC,MAAI,OAAO,IAAIA,SAAO,CAAC,aAAa,EAAE,gBAAgB,CAAC,SAAS,CAAC,CAAC;AAClE,EAAA;AACA;;;;;;;","x_google_ignoreList":[0]}
@@ -8,14 +8,14 @@ var hasRequiredDecode;
8
8
  function requireDecode () {
9
9
  if (hasRequiredDecode) return decode;
10
10
  hasRequiredDecode = 1;
11
- (function (exports) {
12
- Object.defineProperty(exports, "__esModule", { value: true });
13
- exports.fromCodePoint = exports.replaceCodePoint = exports.decodeCodePoint = exports.xmlDecodeTree = exports.htmlDecodeTree = exports.EntityDecoder = exports.DecodingMode = exports.BinTrieFlags = void 0;
14
- exports.determineBranch = determineBranch;
15
- exports.decodeHTML = decodeHTML;
16
- exports.decodeHTMLAttribute = decodeHTMLAttribute;
17
- exports.decodeHTMLStrict = decodeHTMLStrict;
18
- exports.decodeXML = decodeXML;
11
+ (function (exports$1) {
12
+ Object.defineProperty(exports$1, "__esModule", { value: true });
13
+ exports$1.fromCodePoint = exports$1.replaceCodePoint = exports$1.decodeCodePoint = exports$1.xmlDecodeTree = exports$1.htmlDecodeTree = exports$1.EntityDecoder = exports$1.DecodingMode = exports$1.BinTrieFlags = void 0;
14
+ exports$1.determineBranch = determineBranch;
15
+ exports$1.decodeHTML = decodeHTML;
16
+ exports$1.decodeHTMLAttribute = decodeHTMLAttribute;
17
+ exports$1.decodeHTMLStrict = decodeHTMLStrict;
18
+ exports$1.decodeXML = decodeXML;
19
19
  const decode_data_html_js_1 = requireDecodeDataHtml();
20
20
  const decode_data_xml_js_1 = requireDecodeDataXml();
21
21
  const decode_codepoint_js_1 = requireDecodeCodepoint();
@@ -41,7 +41,7 @@ function requireDecode () {
41
41
  BinTrieFlags[BinTrieFlags["VALUE_LENGTH"] = 49152] = "VALUE_LENGTH";
42
42
  BinTrieFlags[BinTrieFlags["BRANCH_LENGTH"] = 16256] = "BRANCH_LENGTH";
43
43
  BinTrieFlags[BinTrieFlags["JUMP_TABLE"] = 127] = "JUMP_TABLE";
44
- })(BinTrieFlags || (exports.BinTrieFlags = BinTrieFlags = {}));
44
+ })(BinTrieFlags || (exports$1.BinTrieFlags = BinTrieFlags = {}));
45
45
  function isNumber(code) {
46
46
  return code >= CharCodes.ZERO && code <= CharCodes.NINE;
47
47
  }
@@ -79,7 +79,7 @@ function requireDecode () {
79
79
  DecodingMode[DecodingMode["Strict"] = 1] = "Strict";
80
80
  /** Entities in attributes have limitations on ending characters. */
81
81
  DecodingMode[DecodingMode["Attribute"] = 2] = "Attribute";
82
- })(DecodingMode || (exports.DecodingMode = DecodingMode = {}));
82
+ })(DecodingMode || (exports$1.DecodingMode = DecodingMode = {}));
83
83
  /**
84
84
  * Token decoder with support of writing partial entities.
85
85
  */
@@ -394,7 +394,7 @@ function requireDecode () {
394
394
  }
395
395
  }
396
396
  }
397
- exports.EntityDecoder = EntityDecoder;
397
+ exports$1.EntityDecoder = EntityDecoder;
398
398
  /**
399
399
  * Creates a function that decodes entities in a string.
400
400
  *
@@ -511,13 +511,13 @@ function requireDecode () {
511
511
  }
512
512
  // Re-export for use by eg. htmlparser2
513
513
  var decode_data_html_js_2 = requireDecodeDataHtml();
514
- Object.defineProperty(exports, "htmlDecodeTree", { enumerable: true, get: function () { return decode_data_html_js_2.htmlDecodeTree; } });
514
+ Object.defineProperty(exports$1, "htmlDecodeTree", { enumerable: true, get: function () { return decode_data_html_js_2.htmlDecodeTree; } });
515
515
  var decode_data_xml_js_2 = requireDecodeDataXml();
516
- Object.defineProperty(exports, "xmlDecodeTree", { enumerable: true, get: function () { return decode_data_xml_js_2.xmlDecodeTree; } });
516
+ Object.defineProperty(exports$1, "xmlDecodeTree", { enumerable: true, get: function () { return decode_data_xml_js_2.xmlDecodeTree; } });
517
517
  var decode_codepoint_js_2 = requireDecodeCodepoint();
518
- Object.defineProperty(exports, "decodeCodePoint", { enumerable: true, get: function () { return decode_codepoint_js_2.decodeCodePoint; } });
519
- Object.defineProperty(exports, "replaceCodePoint", { enumerable: true, get: function () { return decode_codepoint_js_2.replaceCodePoint; } });
520
- Object.defineProperty(exports, "fromCodePoint", { enumerable: true, get: function () { return decode_codepoint_js_2.fromCodePoint; } });
518
+ Object.defineProperty(exports$1, "decodeCodePoint", { enumerable: true, get: function () { return decode_codepoint_js_2.decodeCodePoint; } });
519
+ Object.defineProperty(exports$1, "replaceCodePoint", { enumerable: true, get: function () { return decode_codepoint_js_2.replaceCodePoint; } });
520
+ Object.defineProperty(exports$1, "fromCodePoint", { enumerable: true, get: function () { return decode_codepoint_js_2.fromCodePoint; } });
521
521
 
522
522
  } (decode));
523
523
  return decode;
@@ -1 +1 @@
1
- {"version":3,"file":"decode.js","sources":["../../../../../../../../node_modules/htmlparser2/node_modules/entities/dist/commonjs/decode.js"],"sourcesContent":["\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.fromCodePoint = exports.replaceCodePoint = exports.decodeCodePoint = exports.xmlDecodeTree = exports.htmlDecodeTree = exports.EntityDecoder = exports.DecodingMode = exports.BinTrieFlags = void 0;\nexports.determineBranch = determineBranch;\nexports.decodeHTML = decodeHTML;\nexports.decodeHTMLAttribute = decodeHTMLAttribute;\nexports.decodeHTMLStrict = decodeHTMLStrict;\nexports.decodeXML = decodeXML;\nconst decode_data_html_js_1 = require(\"./generated/decode-data-html.js\");\nconst decode_data_xml_js_1 = require(\"./generated/decode-data-xml.js\");\nconst decode_codepoint_js_1 = require(\"./decode-codepoint.js\");\nvar CharCodes;\n(function (CharCodes) {\n CharCodes[CharCodes[\"NUM\"] = 35] = \"NUM\";\n CharCodes[CharCodes[\"SEMI\"] = 59] = \"SEMI\";\n CharCodes[CharCodes[\"EQUALS\"] = 61] = \"EQUALS\";\n CharCodes[CharCodes[\"ZERO\"] = 48] = \"ZERO\";\n CharCodes[CharCodes[\"NINE\"] = 57] = \"NINE\";\n CharCodes[CharCodes[\"LOWER_A\"] = 97] = \"LOWER_A\";\n CharCodes[CharCodes[\"LOWER_F\"] = 102] = \"LOWER_F\";\n CharCodes[CharCodes[\"LOWER_X\"] = 120] = \"LOWER_X\";\n CharCodes[CharCodes[\"LOWER_Z\"] = 122] = \"LOWER_Z\";\n CharCodes[CharCodes[\"UPPER_A\"] = 65] = \"UPPER_A\";\n CharCodes[CharCodes[\"UPPER_F\"] = 70] = \"UPPER_F\";\n CharCodes[CharCodes[\"UPPER_Z\"] = 90] = \"UPPER_Z\";\n})(CharCodes || (CharCodes = {}));\n/** Bit that needs to be set to convert an upper case ASCII character to lower case */\nconst TO_LOWER_BIT = 32;\nvar BinTrieFlags;\n(function (BinTrieFlags) {\n BinTrieFlags[BinTrieFlags[\"VALUE_LENGTH\"] = 49152] = \"VALUE_LENGTH\";\n BinTrieFlags[BinTrieFlags[\"BRANCH_LENGTH\"] = 16256] = \"BRANCH_LENGTH\";\n BinTrieFlags[BinTrieFlags[\"JUMP_TABLE\"] = 127] = \"JUMP_TABLE\";\n})(BinTrieFlags || (exports.BinTrieFlags = BinTrieFlags = {}));\nfunction isNumber(code) {\n return code >= CharCodes.ZERO && code <= CharCodes.NINE;\n}\nfunction isHexadecimalCharacter(code) {\n return ((code >= CharCodes.UPPER_A && code <= CharCodes.UPPER_F) ||\n (code >= CharCodes.LOWER_A && code <= CharCodes.LOWER_F));\n}\nfunction isAsciiAlphaNumeric(code) {\n return ((code >= CharCodes.UPPER_A && code <= CharCodes.UPPER_Z) ||\n (code >= CharCodes.LOWER_A && code <= CharCodes.LOWER_Z) ||\n isNumber(code));\n}\n/**\n * Checks if the given character is a valid end character for an entity in an attribute.\n *\n * Attribute values that aren't terminated properly aren't parsed, and shouldn't lead to a parser error.\n * See the example in https://html.spec.whatwg.org/multipage/parsing.html#named-character-reference-state\n */\nfunction isEntityInAttributeInvalidEnd(code) {\n return code === CharCodes.EQUALS || isAsciiAlphaNumeric(code);\n}\nvar EntityDecoderState;\n(function (EntityDecoderState) {\n EntityDecoderState[EntityDecoderState[\"EntityStart\"] = 0] = \"EntityStart\";\n EntityDecoderState[EntityDecoderState[\"NumericStart\"] = 1] = \"NumericStart\";\n EntityDecoderState[EntityDecoderState[\"NumericDecimal\"] = 2] = \"NumericDecimal\";\n EntityDecoderState[EntityDecoderState[\"NumericHex\"] = 3] = \"NumericHex\";\n EntityDecoderState[EntityDecoderState[\"NamedEntity\"] = 4] = \"NamedEntity\";\n})(EntityDecoderState || (EntityDecoderState = {}));\nvar DecodingMode;\n(function (DecodingMode) {\n /** Entities in text nodes that can end with any character. */\n DecodingMode[DecodingMode[\"Legacy\"] = 0] = \"Legacy\";\n /** Only allow entities terminated with a semicolon. */\n DecodingMode[DecodingMode[\"Strict\"] = 1] = \"Strict\";\n /** Entities in attributes have limitations on ending characters. */\n DecodingMode[DecodingMode[\"Attribute\"] = 2] = \"Attribute\";\n})(DecodingMode || (exports.DecodingMode = DecodingMode = {}));\n/**\n * Token decoder with support of writing partial entities.\n */\nclass EntityDecoder {\n constructor(\n /** The tree used to decode entities. */\n decodeTree, \n /**\n * The function that is called when a codepoint is decoded.\n *\n * For multi-byte named entities, this will be called multiple times,\n * with the second codepoint, and the same `consumed` value.\n *\n * @param codepoint The decoded codepoint.\n * @param consumed The number of bytes consumed by the decoder.\n */\n emitCodePoint, \n /** An object that is used to produce errors. */\n errors) {\n this.decodeTree = decodeTree;\n this.emitCodePoint = emitCodePoint;\n this.errors = errors;\n /** The current state of the decoder. */\n this.state = EntityDecoderState.EntityStart;\n /** Characters that were consumed while parsing an entity. */\n this.consumed = 1;\n /**\n * The result of the entity.\n *\n * Either the result index of a numeric entity, or the codepoint of a\n * numeric entity.\n */\n this.result = 0;\n /** The current index in the decode tree. */\n this.treeIndex = 0;\n /** The number of characters that were consumed in excess. */\n this.excess = 1;\n /** The mode in which the decoder is operating. */\n this.decodeMode = DecodingMode.Strict;\n }\n /** Resets the instance to make it reusable. */\n startEntity(decodeMode) {\n this.decodeMode = decodeMode;\n this.state = EntityDecoderState.EntityStart;\n this.result = 0;\n this.treeIndex = 0;\n this.excess = 1;\n this.consumed = 1;\n }\n /**\n * Write an entity to the decoder. This can be called multiple times with partial entities.\n * If the entity is incomplete, the decoder will return -1.\n *\n * Mirrors the implementation of `getDecoder`, but with the ability to stop decoding if the\n * entity is incomplete, and resume when the next string is written.\n *\n * @param input The string containing the entity (or a continuation of the entity).\n * @param offset The offset at which the entity begins. Should be 0 if this is not the first call.\n * @returns The number of characters that were consumed, or -1 if the entity is incomplete.\n */\n write(input, offset) {\n switch (this.state) {\n case EntityDecoderState.EntityStart: {\n if (input.charCodeAt(offset) === CharCodes.NUM) {\n this.state = EntityDecoderState.NumericStart;\n this.consumed += 1;\n return this.stateNumericStart(input, offset + 1);\n }\n this.state = EntityDecoderState.NamedEntity;\n return this.stateNamedEntity(input, offset);\n }\n case EntityDecoderState.NumericStart: {\n return this.stateNumericStart(input, offset);\n }\n case EntityDecoderState.NumericDecimal: {\n return this.stateNumericDecimal(input, offset);\n }\n case EntityDecoderState.NumericHex: {\n return this.stateNumericHex(input, offset);\n }\n case EntityDecoderState.NamedEntity: {\n return this.stateNamedEntity(input, offset);\n }\n }\n }\n /**\n * Switches between the numeric decimal and hexadecimal states.\n *\n * Equivalent to the `Numeric character reference state` in the HTML spec.\n *\n * @param input The string containing the entity (or a continuation of the entity).\n * @param offset The current offset.\n * @returns The number of characters that were consumed, or -1 if the entity is incomplete.\n */\n stateNumericStart(input, offset) {\n if (offset >= input.length) {\n return -1;\n }\n if ((input.charCodeAt(offset) | TO_LOWER_BIT) === CharCodes.LOWER_X) {\n this.state = EntityDecoderState.NumericHex;\n this.consumed += 1;\n return this.stateNumericHex(input, offset + 1);\n }\n this.state = EntityDecoderState.NumericDecimal;\n return this.stateNumericDecimal(input, offset);\n }\n addToNumericResult(input, start, end, base) {\n if (start !== end) {\n const digitCount = end - start;\n this.result =\n this.result * Math.pow(base, digitCount) +\n Number.parseInt(input.substr(start, digitCount), base);\n this.consumed += digitCount;\n }\n }\n /**\n * Parses a hexadecimal numeric entity.\n *\n * Equivalent to the `Hexademical character reference state` in the HTML spec.\n *\n * @param input The string containing the entity (or a continuation of the entity).\n * @param offset The current offset.\n * @returns The number of characters that were consumed, or -1 if the entity is incomplete.\n */\n stateNumericHex(input, offset) {\n const startIndex = offset;\n while (offset < input.length) {\n const char = input.charCodeAt(offset);\n if (isNumber(char) || isHexadecimalCharacter(char)) {\n offset += 1;\n }\n else {\n this.addToNumericResult(input, startIndex, offset, 16);\n return this.emitNumericEntity(char, 3);\n }\n }\n this.addToNumericResult(input, startIndex, offset, 16);\n return -1;\n }\n /**\n * Parses a decimal numeric entity.\n *\n * Equivalent to the `Decimal character reference state` in the HTML spec.\n *\n * @param input The string containing the entity (or a continuation of the entity).\n * @param offset The current offset.\n * @returns The number of characters that were consumed, or -1 if the entity is incomplete.\n */\n stateNumericDecimal(input, offset) {\n const startIndex = offset;\n while (offset < input.length) {\n const char = input.charCodeAt(offset);\n if (isNumber(char)) {\n offset += 1;\n }\n else {\n this.addToNumericResult(input, startIndex, offset, 10);\n return this.emitNumericEntity(char, 2);\n }\n }\n this.addToNumericResult(input, startIndex, offset, 10);\n return -1;\n }\n /**\n * Validate and emit a numeric entity.\n *\n * Implements the logic from the `Hexademical character reference start\n * state` and `Numeric character reference end state` in the HTML spec.\n *\n * @param lastCp The last code point of the entity. Used to see if the\n * entity was terminated with a semicolon.\n * @param expectedLength The minimum number of characters that should be\n * consumed. Used to validate that at least one digit\n * was consumed.\n * @returns The number of characters that were consumed.\n */\n emitNumericEntity(lastCp, expectedLength) {\n var _a;\n // Ensure we consumed at least one digit.\n if (this.consumed <= expectedLength) {\n (_a = this.errors) === null || _a === void 0 ? void 0 : _a.absenceOfDigitsInNumericCharacterReference(this.consumed);\n return 0;\n }\n // Figure out if this is a legit end of the entity\n if (lastCp === CharCodes.SEMI) {\n this.consumed += 1;\n }\n else if (this.decodeMode === DecodingMode.Strict) {\n return 0;\n }\n this.emitCodePoint((0, decode_codepoint_js_1.replaceCodePoint)(this.result), this.consumed);\n if (this.errors) {\n if (lastCp !== CharCodes.SEMI) {\n this.errors.missingSemicolonAfterCharacterReference();\n }\n this.errors.validateNumericCharacterReference(this.result);\n }\n return this.consumed;\n }\n /**\n * Parses a named entity.\n *\n * Equivalent to the `Named character reference state` in the HTML spec.\n *\n * @param input The string containing the entity (or a continuation of the entity).\n * @param offset The current offset.\n * @returns The number of characters that were consumed, or -1 if the entity is incomplete.\n */\n stateNamedEntity(input, offset) {\n const { decodeTree } = this;\n let current = decodeTree[this.treeIndex];\n // The mask is the number of bytes of the value, including the current byte.\n let valueLength = (current & BinTrieFlags.VALUE_LENGTH) >> 14;\n for (; offset < input.length; offset++, this.excess++) {\n const char = input.charCodeAt(offset);\n this.treeIndex = determineBranch(decodeTree, current, this.treeIndex + Math.max(1, valueLength), char);\n if (this.treeIndex < 0) {\n return this.result === 0 ||\n // If we are parsing an attribute\n (this.decodeMode === DecodingMode.Attribute &&\n // We shouldn't have consumed any characters after the entity,\n (valueLength === 0 ||\n // And there should be no invalid characters.\n isEntityInAttributeInvalidEnd(char)))\n ? 0\n : this.emitNotTerminatedNamedEntity();\n }\n current = decodeTree[this.treeIndex];\n valueLength = (current & BinTrieFlags.VALUE_LENGTH) >> 14;\n // If the branch is a value, store it and continue\n if (valueLength !== 0) {\n // If the entity is terminated by a semicolon, we are done.\n if (char === CharCodes.SEMI) {\n return this.emitNamedEntityData(this.treeIndex, valueLength, this.consumed + this.excess);\n }\n // If we encounter a non-terminated (legacy) entity while parsing strictly, then ignore it.\n if (this.decodeMode !== DecodingMode.Strict) {\n this.result = this.treeIndex;\n this.consumed += this.excess;\n this.excess = 0;\n }\n }\n }\n return -1;\n }\n /**\n * Emit a named entity that was not terminated with a semicolon.\n *\n * @returns The number of characters consumed.\n */\n emitNotTerminatedNamedEntity() {\n var _a;\n const { result, decodeTree } = this;\n const valueLength = (decodeTree[result] & BinTrieFlags.VALUE_LENGTH) >> 14;\n this.emitNamedEntityData(result, valueLength, this.consumed);\n (_a = this.errors) === null || _a === void 0 ? void 0 : _a.missingSemicolonAfterCharacterReference();\n return this.consumed;\n }\n /**\n * Emit a named entity.\n *\n * @param result The index of the entity in the decode tree.\n * @param valueLength The number of bytes in the entity.\n * @param consumed The number of characters consumed.\n *\n * @returns The number of characters consumed.\n */\n emitNamedEntityData(result, valueLength, consumed) {\n const { decodeTree } = this;\n this.emitCodePoint(valueLength === 1\n ? decodeTree[result] & ~BinTrieFlags.VALUE_LENGTH\n : decodeTree[result + 1], consumed);\n if (valueLength === 3) {\n // For multi-byte values, we need to emit the second byte.\n this.emitCodePoint(decodeTree[result + 2], consumed);\n }\n return consumed;\n }\n /**\n * Signal to the parser that the end of the input was reached.\n *\n * Remaining data will be emitted and relevant errors will be produced.\n *\n * @returns The number of characters consumed.\n */\n end() {\n var _a;\n switch (this.state) {\n case EntityDecoderState.NamedEntity: {\n // Emit a named entity if we have one.\n return this.result !== 0 &&\n (this.decodeMode !== DecodingMode.Attribute ||\n this.result === this.treeIndex)\n ? this.emitNotTerminatedNamedEntity()\n : 0;\n }\n // Otherwise, emit a numeric entity if we have one.\n case EntityDecoderState.NumericDecimal: {\n return this.emitNumericEntity(0, 2);\n }\n case EntityDecoderState.NumericHex: {\n return this.emitNumericEntity(0, 3);\n }\n case EntityDecoderState.NumericStart: {\n (_a = this.errors) === null || _a === void 0 ? void 0 : _a.absenceOfDigitsInNumericCharacterReference(this.consumed);\n return 0;\n }\n case EntityDecoderState.EntityStart: {\n // Return 0 if we have no entity.\n return 0;\n }\n }\n }\n}\nexports.EntityDecoder = EntityDecoder;\n/**\n * Creates a function that decodes entities in a string.\n *\n * @param decodeTree The decode tree.\n * @returns A function that decodes entities in a string.\n */\nfunction getDecoder(decodeTree) {\n let returnValue = \"\";\n const decoder = new EntityDecoder(decodeTree, (data) => (returnValue += (0, decode_codepoint_js_1.fromCodePoint)(data)));\n return function decodeWithTrie(input, decodeMode) {\n let lastIndex = 0;\n let offset = 0;\n while ((offset = input.indexOf(\"&\", offset)) >= 0) {\n returnValue += input.slice(lastIndex, offset);\n decoder.startEntity(decodeMode);\n const length = decoder.write(input, \n // Skip the \"&\"\n offset + 1);\n if (length < 0) {\n lastIndex = offset + decoder.end();\n break;\n }\n lastIndex = offset + length;\n // If `length` is 0, skip the current `&` and continue.\n offset = length === 0 ? lastIndex + 1 : lastIndex;\n }\n const result = returnValue + input.slice(lastIndex);\n // Make sure we don't keep a reference to the final string.\n returnValue = \"\";\n return result;\n };\n}\n/**\n * Determines the branch of the current node that is taken given the current\n * character. This function is used to traverse the trie.\n *\n * @param decodeTree The trie.\n * @param current The current node.\n * @param nodeIdx The index right after the current node and its value.\n * @param char The current character.\n * @returns The index of the next node, or -1 if no branch is taken.\n */\nfunction determineBranch(decodeTree, current, nodeIndex, char) {\n const branchCount = (current & BinTrieFlags.BRANCH_LENGTH) >> 7;\n const jumpOffset = current & BinTrieFlags.JUMP_TABLE;\n // Case 1: Single branch encoded in jump offset\n if (branchCount === 0) {\n return jumpOffset !== 0 && char === jumpOffset ? nodeIndex : -1;\n }\n // Case 2: Multiple branches encoded in jump table\n if (jumpOffset) {\n const value = char - jumpOffset;\n return value < 0 || value >= branchCount\n ? -1\n : decodeTree[nodeIndex + value] - 1;\n }\n // Case 3: Multiple branches encoded in dictionary\n // Binary search for the character.\n let lo = nodeIndex;\n let hi = lo + branchCount - 1;\n while (lo <= hi) {\n const mid = (lo + hi) >>> 1;\n const midValue = decodeTree[mid];\n if (midValue < char) {\n lo = mid + 1;\n }\n else if (midValue > char) {\n hi = mid - 1;\n }\n else {\n return decodeTree[mid + branchCount];\n }\n }\n return -1;\n}\nconst htmlDecoder = /* #__PURE__ */ getDecoder(decode_data_html_js_1.htmlDecodeTree);\nconst xmlDecoder = /* #__PURE__ */ getDecoder(decode_data_xml_js_1.xmlDecodeTree);\n/**\n * Decodes an HTML string.\n *\n * @param htmlString The string to decode.\n * @param mode The decoding mode.\n * @returns The decoded string.\n */\nfunction decodeHTML(htmlString, mode = DecodingMode.Legacy) {\n return htmlDecoder(htmlString, mode);\n}\n/**\n * Decodes an HTML string in an attribute.\n *\n * @param htmlAttribute The string to decode.\n * @returns The decoded string.\n */\nfunction decodeHTMLAttribute(htmlAttribute) {\n return htmlDecoder(htmlAttribute, DecodingMode.Attribute);\n}\n/**\n * Decodes an HTML string, requiring all entities to be terminated by a semicolon.\n *\n * @param htmlString The string to decode.\n * @returns The decoded string.\n */\nfunction decodeHTMLStrict(htmlString) {\n return htmlDecoder(htmlString, DecodingMode.Strict);\n}\n/**\n * Decodes an XML string, requiring all entities to be terminated by a semicolon.\n *\n * @param xmlString The string to decode.\n * @returns The decoded string.\n */\nfunction decodeXML(xmlString) {\n return xmlDecoder(xmlString, DecodingMode.Strict);\n}\n// Re-export for use by eg. htmlparser2\nvar decode_data_html_js_2 = require(\"./generated/decode-data-html.js\");\nObject.defineProperty(exports, \"htmlDecodeTree\", { enumerable: true, get: function () { return decode_data_html_js_2.htmlDecodeTree; } });\nvar decode_data_xml_js_2 = require(\"./generated/decode-data-xml.js\");\nObject.defineProperty(exports, \"xmlDecodeTree\", { enumerable: true, get: function () { return decode_data_xml_js_2.xmlDecodeTree; } });\nvar decode_codepoint_js_2 = require(\"./decode-codepoint.js\");\nObject.defineProperty(exports, \"decodeCodePoint\", { enumerable: true, get: function () { return decode_codepoint_js_2.decodeCodePoint; } });\nObject.defineProperty(exports, \"replaceCodePoint\", { enumerable: true, get: function () { return decode_codepoint_js_2.replaceCodePoint; } });\nObject.defineProperty(exports, \"fromCodePoint\", { enumerable: true, get: function () { return decode_codepoint_js_2.fromCodePoint; } });\n//# sourceMappingURL=decode.js.map"],"names":["require$$0","require$$1","require$$2"],"mappings":";;;;;;;;;;;EACA,MAAM,CAAC,cAAc,CAAA,OAAA,EAAU,YAAY,EAAE,EAAE,KAAK,EAAE,IAAI,EAAE,CAAC;EAC7D,OAAA,CAAA,aAAA,GAAwB,OAAA,CAAA,gBAAA,GAA2B,0BAA0B,OAAA,CAAA,aAAA,GAAwB,OAAA,CAAA,cAAA,GAAyB,wBAAwB,OAAA,CAAA,YAAA,GAAuB,OAAA,CAAA,YAAA,GAAuB,MAAM;AAC1M,EAAA,OAAA,CAAA,eAAA,GAA0B,eAAe;AACzC,EAAA,OAAA,CAAA,UAAA,GAAqB,UAAU;AAC/B,EAAA,OAAA,CAAA,mBAAA,GAA8B,mBAAmB;AACjD,EAAA,OAAA,CAAA,gBAAA,GAA2B,gBAAgB;AAC3C,EAAA,OAAA,CAAA,SAAA,GAAoB,SAAS;EAC7B,MAAM,qBAAqB,GAAGA,qBAAA,EAA0C;EACxE,MAAM,oBAAoB,GAAGC,oBAAA,EAAyC;EACtE,MAAM,qBAAqB,GAAGC,sBAAA,EAAgC;AAC9D,EAAA,IAAI,SAAS;EACb,CAAC,UAAU,SAAS,EAAE;MAClB,SAAS,CAAC,SAAS,CAAC,KAAK,CAAC,GAAG,EAAE,CAAC,GAAG,KAAK;MACxC,SAAS,CAAC,SAAS,CAAC,MAAM,CAAC,GAAG,EAAE,CAAC,GAAG,MAAM;MAC1C,SAAS,CAAC,SAAS,CAAC,QAAQ,CAAC,GAAG,EAAE,CAAC,GAAG,QAAQ;MAC9C,SAAS,CAAC,SAAS,CAAC,MAAM,CAAC,GAAG,EAAE,CAAC,GAAG,MAAM;MAC1C,SA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B,CAAC,cAAc,CAAC,CAAA,CAAE,EAAE,CAAC;EACzI,IAAI,oBAAoB,GAAGC,oBAAA,EAAyC;EACpE,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,eAAe,EAAE,EAAE,UAAU,EAAE,IAAI,EAAE,GAAG,EAAE,YAAY,EAAE,OAAO,oBAAoB,CAAC,aAAa,CAAC,CAAA,CAAE,EAAE,CAAC;EACtI,IAAI,qBAAqB,GAAGC,sBAAA,EAAgC;EAC5D,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,iBAAiB,EAAE,EAAE,UAAU,EAAE,IAAI,EAAE,GAAG,EAAE,YAAY,EAAE,OAAO,qBAAqB,CAAC,eAAe,CAAC,CAAA,CAAE,EAAE,CAAC;EAC3I,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,kBAAkB,EAAE,EAAE,UAAU,EAAE,IAAI,EAAE,GAAG,EAAE,YAAY,EAAE,OAAO,qBAAqB,CAAC,gBAAgB,CAAC,CAAA,CAAE,EAAE,CAAC;EAC7I,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,eAAe,EAAE,EAAE,UAAU,EAAE,IAAI,EAAE,GAAG,EAAE,YAAY,EAAE,OAAO,qBAAqB,CAAC,aAAa,CAAC,CAAA,CAAE,EAAE,CAAC;AACvI;;;;;;;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"decode.js","sources":["../../../../../../../../node_modules/htmlparser2/node_modules/entities/dist/commonjs/decode.js"],"sourcesContent":["\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.fromCodePoint = exports.replaceCodePoint = exports.decodeCodePoint = exports.xmlDecodeTree = exports.htmlDecodeTree = exports.EntityDecoder = exports.DecodingMode = exports.BinTrieFlags = void 0;\nexports.determineBranch = determineBranch;\nexports.decodeHTML = decodeHTML;\nexports.decodeHTMLAttribute = decodeHTMLAttribute;\nexports.decodeHTMLStrict = decodeHTMLStrict;\nexports.decodeXML = decodeXML;\nconst decode_data_html_js_1 = require(\"./generated/decode-data-html.js\");\nconst decode_data_xml_js_1 = require(\"./generated/decode-data-xml.js\");\nconst decode_codepoint_js_1 = require(\"./decode-codepoint.js\");\nvar CharCodes;\n(function (CharCodes) {\n CharCodes[CharCodes[\"NUM\"] = 35] = \"NUM\";\n CharCodes[CharCodes[\"SEMI\"] = 59] = \"SEMI\";\n CharCodes[CharCodes[\"EQUALS\"] = 61] = \"EQUALS\";\n CharCodes[CharCodes[\"ZERO\"] = 48] = \"ZERO\";\n CharCodes[CharCodes[\"NINE\"] = 57] = \"NINE\";\n CharCodes[CharCodes[\"LOWER_A\"] = 97] = \"LOWER_A\";\n CharCodes[CharCodes[\"LOWER_F\"] = 102] = \"LOWER_F\";\n CharCodes[CharCodes[\"LOWER_X\"] = 120] = \"LOWER_X\";\n CharCodes[CharCodes[\"LOWER_Z\"] = 122] = \"LOWER_Z\";\n CharCodes[CharCodes[\"UPPER_A\"] = 65] = \"UPPER_A\";\n CharCodes[CharCodes[\"UPPER_F\"] = 70] = \"UPPER_F\";\n CharCodes[CharCodes[\"UPPER_Z\"] = 90] = \"UPPER_Z\";\n})(CharCodes || (CharCodes = {}));\n/** Bit that needs to be set to convert an upper case ASCII character to lower case */\nconst TO_LOWER_BIT = 32;\nvar BinTrieFlags;\n(function (BinTrieFlags) {\n BinTrieFlags[BinTrieFlags[\"VALUE_LENGTH\"] = 49152] = \"VALUE_LENGTH\";\n BinTrieFlags[BinTrieFlags[\"BRANCH_LENGTH\"] = 16256] = \"BRANCH_LENGTH\";\n BinTrieFlags[BinTrieFlags[\"JUMP_TABLE\"] = 127] = \"JUMP_TABLE\";\n})(BinTrieFlags || (exports.BinTrieFlags = BinTrieFlags = {}));\nfunction isNumber(code) {\n return code >= CharCodes.ZERO && code <= CharCodes.NINE;\n}\nfunction isHexadecimalCharacter(code) {\n return ((code >= CharCodes.UPPER_A && code <= CharCodes.UPPER_F) ||\n (code >= CharCodes.LOWER_A && code <= CharCodes.LOWER_F));\n}\nfunction isAsciiAlphaNumeric(code) {\n return ((code >= CharCodes.UPPER_A && code <= CharCodes.UPPER_Z) ||\n (code >= CharCodes.LOWER_A && code <= CharCodes.LOWER_Z) ||\n isNumber(code));\n}\n/**\n * Checks if the given character is a valid end character for an entity in an attribute.\n *\n * Attribute values that aren't terminated properly aren't parsed, and shouldn't lead to a parser error.\n * See the example in https://html.spec.whatwg.org/multipage/parsing.html#named-character-reference-state\n */\nfunction isEntityInAttributeInvalidEnd(code) {\n return code === CharCodes.EQUALS || isAsciiAlphaNumeric(code);\n}\nvar EntityDecoderState;\n(function (EntityDecoderState) {\n EntityDecoderState[EntityDecoderState[\"EntityStart\"] = 0] = \"EntityStart\";\n EntityDecoderState[EntityDecoderState[\"NumericStart\"] = 1] = \"NumericStart\";\n EntityDecoderState[EntityDecoderState[\"NumericDecimal\"] = 2] = \"NumericDecimal\";\n EntityDecoderState[EntityDecoderState[\"NumericHex\"] = 3] = \"NumericHex\";\n EntityDecoderState[EntityDecoderState[\"NamedEntity\"] = 4] = \"NamedEntity\";\n})(EntityDecoderState || (EntityDecoderState = {}));\nvar DecodingMode;\n(function (DecodingMode) {\n /** Entities in text nodes that can end with any character. */\n DecodingMode[DecodingMode[\"Legacy\"] = 0] = \"Legacy\";\n /** Only allow entities terminated with a semicolon. */\n DecodingMode[DecodingMode[\"Strict\"] = 1] = \"Strict\";\n /** Entities in attributes have limitations on ending characters. */\n DecodingMode[DecodingMode[\"Attribute\"] = 2] = \"Attribute\";\n})(DecodingMode || (exports.DecodingMode = DecodingMode = {}));\n/**\n * Token decoder with support of writing partial entities.\n */\nclass EntityDecoder {\n constructor(\n /** The tree used to decode entities. */\n decodeTree, \n /**\n * The function that is called when a codepoint is decoded.\n *\n * For multi-byte named entities, this will be called multiple times,\n * with the second codepoint, and the same `consumed` value.\n *\n * @param codepoint The decoded codepoint.\n * @param consumed The number of bytes consumed by the decoder.\n */\n emitCodePoint, \n /** An object that is used to produce errors. */\n errors) {\n this.decodeTree = decodeTree;\n this.emitCodePoint = emitCodePoint;\n this.errors = errors;\n /** The current state of the decoder. */\n this.state = EntityDecoderState.EntityStart;\n /** Characters that were consumed while parsing an entity. */\n this.consumed = 1;\n /**\n * The result of the entity.\n *\n * Either the result index of a numeric entity, or the codepoint of a\n * numeric entity.\n */\n this.result = 0;\n /** The current index in the decode tree. */\n this.treeIndex = 0;\n /** The number of characters that were consumed in excess. */\n this.excess = 1;\n /** The mode in which the decoder is operating. */\n this.decodeMode = DecodingMode.Strict;\n }\n /** Resets the instance to make it reusable. */\n startEntity(decodeMode) {\n this.decodeMode = decodeMode;\n this.state = EntityDecoderState.EntityStart;\n this.result = 0;\n this.treeIndex = 0;\n this.excess = 1;\n this.consumed = 1;\n }\n /**\n * Write an entity to the decoder. This can be called multiple times with partial entities.\n * If the entity is incomplete, the decoder will return -1.\n *\n * Mirrors the implementation of `getDecoder`, but with the ability to stop decoding if the\n * entity is incomplete, and resume when the next string is written.\n *\n * @param input The string containing the entity (or a continuation of the entity).\n * @param offset The offset at which the entity begins. Should be 0 if this is not the first call.\n * @returns The number of characters that were consumed, or -1 if the entity is incomplete.\n */\n write(input, offset) {\n switch (this.state) {\n case EntityDecoderState.EntityStart: {\n if (input.charCodeAt(offset) === CharCodes.NUM) {\n this.state = EntityDecoderState.NumericStart;\n this.consumed += 1;\n return this.stateNumericStart(input, offset + 1);\n }\n this.state = EntityDecoderState.NamedEntity;\n return this.stateNamedEntity(input, offset);\n }\n case EntityDecoderState.NumericStart: {\n return this.stateNumericStart(input, offset);\n }\n case EntityDecoderState.NumericDecimal: {\n return this.stateNumericDecimal(input, offset);\n }\n case EntityDecoderState.NumericHex: {\n return this.stateNumericHex(input, offset);\n }\n case EntityDecoderState.NamedEntity: {\n return this.stateNamedEntity(input, offset);\n }\n }\n }\n /**\n * Switches between the numeric decimal and hexadecimal states.\n *\n * Equivalent to the `Numeric character reference state` in the HTML spec.\n *\n * @param input The string containing the entity (or a continuation of the entity).\n * @param offset The current offset.\n * @returns The number of characters that were consumed, or -1 if the entity is incomplete.\n */\n stateNumericStart(input, offset) {\n if (offset >= input.length) {\n return -1;\n }\n if ((input.charCodeAt(offset) | TO_LOWER_BIT) === CharCodes.LOWER_X) {\n this.state = EntityDecoderState.NumericHex;\n this.consumed += 1;\n return this.stateNumericHex(input, offset + 1);\n }\n this.state = EntityDecoderState.NumericDecimal;\n return this.stateNumericDecimal(input, offset);\n }\n addToNumericResult(input, start, end, base) {\n if (start !== end) {\n const digitCount = end - start;\n this.result =\n this.result * Math.pow(base, digitCount) +\n Number.parseInt(input.substr(start, digitCount), base);\n this.consumed += digitCount;\n }\n }\n /**\n * Parses a hexadecimal numeric entity.\n *\n * Equivalent to the `Hexademical character reference state` in the HTML spec.\n *\n * @param input The string containing the entity (or a continuation of the entity).\n * @param offset The current offset.\n * @returns The number of characters that were consumed, or -1 if the entity is incomplete.\n */\n stateNumericHex(input, offset) {\n const startIndex = offset;\n while (offset < input.length) {\n const char = input.charCodeAt(offset);\n if (isNumber(char) || isHexadecimalCharacter(char)) {\n offset += 1;\n }\n else {\n this.addToNumericResult(input, startIndex, offset, 16);\n return this.emitNumericEntity(char, 3);\n }\n }\n this.addToNumericResult(input, startIndex, offset, 16);\n return -1;\n }\n /**\n * Parses a decimal numeric entity.\n *\n * Equivalent to the `Decimal character reference state` in the HTML spec.\n *\n * @param input The string containing the entity (or a continuation of the entity).\n * @param offset The current offset.\n * @returns The number of characters that were consumed, or -1 if the entity is incomplete.\n */\n stateNumericDecimal(input, offset) {\n const startIndex = offset;\n while (offset < input.length) {\n const char = input.charCodeAt(offset);\n if (isNumber(char)) {\n offset += 1;\n }\n else {\n this.addToNumericResult(input, startIndex, offset, 10);\n return this.emitNumericEntity(char, 2);\n }\n }\n this.addToNumericResult(input, startIndex, offset, 10);\n return -1;\n }\n /**\n * Validate and emit a numeric entity.\n *\n * Implements the logic from the `Hexademical character reference start\n * state` and `Numeric character reference end state` in the HTML spec.\n *\n * @param lastCp The last code point of the entity. Used to see if the\n * entity was terminated with a semicolon.\n * @param expectedLength The minimum number of characters that should be\n * consumed. Used to validate that at least one digit\n * was consumed.\n * @returns The number of characters that were consumed.\n */\n emitNumericEntity(lastCp, expectedLength) {\n var _a;\n // Ensure we consumed at least one digit.\n if (this.consumed <= expectedLength) {\n (_a = this.errors) === null || _a === void 0 ? void 0 : _a.absenceOfDigitsInNumericCharacterReference(this.consumed);\n return 0;\n }\n // Figure out if this is a legit end of the entity\n if (lastCp === CharCodes.SEMI) {\n this.consumed += 1;\n }\n else if (this.decodeMode === DecodingMode.Strict) {\n return 0;\n }\n this.emitCodePoint((0, decode_codepoint_js_1.replaceCodePoint)(this.result), this.consumed);\n if (this.errors) {\n if (lastCp !== CharCodes.SEMI) {\n this.errors.missingSemicolonAfterCharacterReference();\n }\n this.errors.validateNumericCharacterReference(this.result);\n }\n return this.consumed;\n }\n /**\n * Parses a named entity.\n *\n * Equivalent to the `Named character reference state` in the HTML spec.\n *\n * @param input The string containing the entity (or a continuation of the entity).\n * @param offset The current offset.\n * @returns The number of characters that were consumed, or -1 if the entity is incomplete.\n */\n stateNamedEntity(input, offset) {\n const { decodeTree } = this;\n let current = decodeTree[this.treeIndex];\n // The mask is the number of bytes of the value, including the current byte.\n let valueLength = (current & BinTrieFlags.VALUE_LENGTH) >> 14;\n for (; offset < input.length; offset++, this.excess++) {\n const char = input.charCodeAt(offset);\n this.treeIndex = determineBranch(decodeTree, current, this.treeIndex + Math.max(1, valueLength), char);\n if (this.treeIndex < 0) {\n return this.result === 0 ||\n // If we are parsing an attribute\n (this.decodeMode === DecodingMode.Attribute &&\n // We shouldn't have consumed any characters after the entity,\n (valueLength === 0 ||\n // And there should be no invalid characters.\n isEntityInAttributeInvalidEnd(char)))\n ? 0\n : this.emitNotTerminatedNamedEntity();\n }\n current = decodeTree[this.treeIndex];\n valueLength = (current & BinTrieFlags.VALUE_LENGTH) >> 14;\n // If the branch is a value, store it and continue\n if (valueLength !== 0) {\n // If the entity is terminated by a semicolon, we are done.\n if (char === CharCodes.SEMI) {\n return this.emitNamedEntityData(this.treeIndex, valueLength, this.consumed + this.excess);\n }\n // If we encounter a non-terminated (legacy) entity while parsing strictly, then ignore it.\n if (this.decodeMode !== DecodingMode.Strict) {\n this.result = this.treeIndex;\n this.consumed += this.excess;\n this.excess = 0;\n }\n }\n }\n return -1;\n }\n /**\n * Emit a named entity that was not terminated with a semicolon.\n *\n * @returns The number of characters consumed.\n */\n emitNotTerminatedNamedEntity() {\n var _a;\n const { result, decodeTree } = this;\n const valueLength = (decodeTree[result] & BinTrieFlags.VALUE_LENGTH) >> 14;\n this.emitNamedEntityData(result, valueLength, this.consumed);\n (_a = this.errors) === null || _a === void 0 ? void 0 : _a.missingSemicolonAfterCharacterReference();\n return this.consumed;\n }\n /**\n * Emit a named entity.\n *\n * @param result The index of the entity in the decode tree.\n * @param valueLength The number of bytes in the entity.\n * @param consumed The number of characters consumed.\n *\n * @returns The number of characters consumed.\n */\n emitNamedEntityData(result, valueLength, consumed) {\n const { decodeTree } = this;\n this.emitCodePoint(valueLength === 1\n ? decodeTree[result] & ~BinTrieFlags.VALUE_LENGTH\n : decodeTree[result + 1], consumed);\n if (valueLength === 3) {\n // For multi-byte values, we need to emit the second byte.\n this.emitCodePoint(decodeTree[result + 2], consumed);\n }\n return consumed;\n }\n /**\n * Signal to the parser that the end of the input was reached.\n *\n * Remaining data will be emitted and relevant errors will be produced.\n *\n * @returns The number of characters consumed.\n */\n end() {\n var _a;\n switch (this.state) {\n case EntityDecoderState.NamedEntity: {\n // Emit a named entity if we have one.\n return this.result !== 0 &&\n (this.decodeMode !== DecodingMode.Attribute ||\n this.result === this.treeIndex)\n ? this.emitNotTerminatedNamedEntity()\n : 0;\n }\n // Otherwise, emit a numeric entity if we have one.\n case EntityDecoderState.NumericDecimal: {\n return this.emitNumericEntity(0, 2);\n }\n case EntityDecoderState.NumericHex: {\n return this.emitNumericEntity(0, 3);\n }\n case EntityDecoderState.NumericStart: {\n (_a = this.errors) === null || _a === void 0 ? void 0 : _a.absenceOfDigitsInNumericCharacterReference(this.consumed);\n return 0;\n }\n case EntityDecoderState.EntityStart: {\n // Return 0 if we have no entity.\n return 0;\n }\n }\n }\n}\nexports.EntityDecoder = EntityDecoder;\n/**\n * Creates a function that decodes entities in a string.\n *\n * @param decodeTree The decode tree.\n * @returns A function that decodes entities in a string.\n */\nfunction getDecoder(decodeTree) {\n let returnValue = \"\";\n const decoder = new EntityDecoder(decodeTree, (data) => (returnValue += (0, decode_codepoint_js_1.fromCodePoint)(data)));\n return function decodeWithTrie(input, decodeMode) {\n let lastIndex = 0;\n let offset = 0;\n while ((offset = input.indexOf(\"&\", offset)) >= 0) {\n returnValue += input.slice(lastIndex, offset);\n decoder.startEntity(decodeMode);\n const length = decoder.write(input, \n // Skip the \"&\"\n offset + 1);\n if (length < 0) {\n lastIndex = offset + decoder.end();\n break;\n }\n lastIndex = offset + length;\n // If `length` is 0, skip the current `&` and continue.\n offset = length === 0 ? lastIndex + 1 : lastIndex;\n }\n const result = returnValue + input.slice(lastIndex);\n // Make sure we don't keep a reference to the final string.\n returnValue = \"\";\n return result;\n };\n}\n/**\n * Determines the branch of the current node that is taken given the current\n * character. This function is used to traverse the trie.\n *\n * @param decodeTree The trie.\n * @param current The current node.\n * @param nodeIdx The index right after the current node and its value.\n * @param char The current character.\n * @returns The index of the next node, or -1 if no branch is taken.\n */\nfunction determineBranch(decodeTree, current, nodeIndex, char) {\n const branchCount = (current & BinTrieFlags.BRANCH_LENGTH) >> 7;\n const jumpOffset = current & BinTrieFlags.JUMP_TABLE;\n // Case 1: Single branch encoded in jump offset\n if (branchCount === 0) {\n return jumpOffset !== 0 && char === jumpOffset ? nodeIndex : -1;\n }\n // Case 2: Multiple branches encoded in jump table\n if (jumpOffset) {\n const value = char - jumpOffset;\n return value < 0 || value >= branchCount\n ? -1\n : decodeTree[nodeIndex + value] - 1;\n }\n // Case 3: Multiple branches encoded in dictionary\n // Binary search for the character.\n let lo = nodeIndex;\n let hi = lo + branchCount - 1;\n while (lo <= hi) {\n const mid = (lo + hi) >>> 1;\n const midValue = decodeTree[mid];\n if (midValue < char) {\n lo = mid + 1;\n }\n else if (midValue > char) {\n hi = mid - 1;\n }\n else {\n return decodeTree[mid + branchCount];\n }\n }\n return -1;\n}\nconst htmlDecoder = /* #__PURE__ */ getDecoder(decode_data_html_js_1.htmlDecodeTree);\nconst xmlDecoder = /* #__PURE__ */ getDecoder(decode_data_xml_js_1.xmlDecodeTree);\n/**\n * Decodes an HTML string.\n *\n * @param htmlString The string to decode.\n * @param mode The decoding mode.\n * @returns The decoded string.\n */\nfunction decodeHTML(htmlString, mode = DecodingMode.Legacy) {\n return htmlDecoder(htmlString, mode);\n}\n/**\n * Decodes an HTML string in an attribute.\n *\n * @param htmlAttribute The string to decode.\n * @returns The decoded string.\n */\nfunction decodeHTMLAttribute(htmlAttribute) {\n return htmlDecoder(htmlAttribute, DecodingMode.Attribute);\n}\n/**\n * Decodes an HTML string, requiring all entities to be terminated by a semicolon.\n *\n * @param htmlString The string to decode.\n * @returns The decoded string.\n */\nfunction decodeHTMLStrict(htmlString) {\n return htmlDecoder(htmlString, DecodingMode.Strict);\n}\n/**\n * Decodes an XML string, requiring all entities to be terminated by a semicolon.\n *\n * @param xmlString The string to decode.\n * @returns The decoded string.\n */\nfunction decodeXML(xmlString) {\n return xmlDecoder(xmlString, DecodingMode.Strict);\n}\n// Re-export for use by eg. htmlparser2\nvar decode_data_html_js_2 = require(\"./generated/decode-data-html.js\");\nObject.defineProperty(exports, \"htmlDecodeTree\", { enumerable: true, get: function () { return decode_data_html_js_2.htmlDecodeTree; } });\nvar decode_data_xml_js_2 = require(\"./generated/decode-data-xml.js\");\nObject.defineProperty(exports, \"xmlDecodeTree\", { enumerable: true, get: function () { return decode_data_xml_js_2.xmlDecodeTree; } });\nvar decode_codepoint_js_2 = require(\"./decode-codepoint.js\");\nObject.defineProperty(exports, \"decodeCodePoint\", { enumerable: true, get: function () { return decode_codepoint_js_2.decodeCodePoint; } });\nObject.defineProperty(exports, \"replaceCodePoint\", { enumerable: true, get: function () { return decode_codepoint_js_2.replaceCodePoint; } });\nObject.defineProperty(exports, \"fromCodePoint\", { enumerable: true, get: function () { return decode_codepoint_js_2.fromCodePoint; } });\n//# sourceMappingURL=decode.js.map"],"names":["exports","require$$0","require$$1","require$$2"],"mappings":";;;;;;;;;;;EACA,MAAM,CAAC,cAAc,CAAAA,SAAA,EAAU,YAAY,EAAE,EAAE,KAAK,EAAE,IAAI,EAAE,CAAC;EAC7DA,SAAA,CAAA,aAAA,GAAwBA,SAAA,CAAA,gBAAA,GAA2BA,4BAA0BA,SAAA,CAAA,aAAA,GAAwBA,SAAA,CAAA,cAAA,GAAyBA,0BAAwBA,SAAA,CAAA,YAAA,GAAuBA,SAAA,CAAA,YAAA,GAAuB,MAAM;AAC1M,EAAAA,SAAA,CAAA,eAAA,GAA0B,eAAe;AACzC,EAAAA,SAAA,CAAA,UAAA,GAAqB,UAAU;AAC/B,EAAAA,SAAA,CAAA,mBAAA,GAA8B,mBAAmB;AACjD,EAAAA,SAAA,CAAA,gBAAA,GAA2B,gBAAgB;AAC3C,EAAAA,SAAA,CAAA,SAAA,GAAoB,SAAS;EAC7B,MAAM,qBAAqB,GAAGC,qBAAA,EAA0C;EACxE,MAAM,oBAAoB,GAAGC,oBAAA,EAAyC;EACtE,MAAM,qBAAqB,GAAGC,sBAAA,EAAgC;AAC9D,EAAA,IAAI,SAAS;EACb,CAAC,UAAU,SAAS,EAAE;MAClB,SAAS,CAAC,SAAS,CAAC,KAAK,CAAC,GAAG,EAAE,CAAC,GAAG,KAAK;MACxC,SAAS,CAAC,SAAS,CAAC,MAAM,CAAC,GAAG,EAAE,CAAC,GAAG,MAAM;MAC1C,SAAS,CAAC,SAAS,CAAC,QAAQ,CAAC,GAAG,EAAE,CAAC,GAAG,QAAQ;MAC9C,SAAS,CAAC,SAAS,CAAC,MAAM,CAAC,GAAG,EAAE,CAAC,GAAG,MAAM;MAC1C,SAAS,CAAC,SAAS,CAA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AAC,CAAA,CAAE,EAAE,CAAC;EACzI,IAAI,oBAAoB,GAAGE,oBAAA,EAAyC;EACpE,MAAM,CAAC,cAAc,CAACF,SAAO,EAAE,eAAe,EAAE,EAAE,UAAU,EAAE,IAAI,EAAE,GAAG,EAAE,YAAY,EAAE,OAAO,oBAAoB,CAAC,aAAa,CAAC,CAAA,CAAE,EAAE,CAAC;EACtI,IAAI,qBAAqB,GAAGG,sBAAA,EAAgC;EAC5D,MAAM,CAAC,cAAc,CAACH,SAAO,EAAE,iBAAiB,EAAE,EAAE,UAAU,EAAE,IAAI,EAAE,GAAG,EAAE,YAAY,EAAE,OAAO,qBAAqB,CAAC,eAAe,CAAC,CAAA,CAAE,EAAE,CAAC;EAC3I,MAAM,CAAC,cAAc,CAACA,SAAO,EAAE,kBAAkB,EAAE,EAAE,UAAU,EAAE,IAAI,EAAE,GAAG,EAAE,YAAY,EAAE,OAAO,qBAAqB,CAAC,gBAAgB,CAAC,CAAA,CAAE,EAAE,CAAC;EAC7I,MAAM,CAAC,cAAc,CAACA,SAAO,EAAE,eAAe,EAAE,EAAE,UAAU,EAAE,IAAI,EAAE,GAAG,EAAE,YAAY,EAAE,OAAO,qBAAqB,CAAC,aAAa,CAAC,CAAA,CAAE,EAAE,CAAC;AACvI;;;;;;;","x_google_ignoreList":[0]}
@@ -1,4 +1,4 @@
1
- import { __exports as cjs } from '../../../_virtual/index8.js';
1
+ import { __exports as cjs } from '../../../_virtual/index10.js';
2
2
  import { __require as requireCjs$1 } from '../../inline-style-parser/cjs/index.js';
3
3
 
4
4
  var hasRequiredCjs;
@@ -64,11 +64,11 @@ const ECETheme = createTheme({
64
64
  custom: {
65
65
  iconColor: '#AD46FF',
66
66
  primaryButtonTextColor: '#FFFFFF',
67
- readByBackgroundColor: '#ebc7ff',
67
+ readByBackgroundColor: '#AD46FF1a',
68
68
  stepIndicatorTextColor: '#FFFFFF',
69
- markAsReadBackgroundColor: '#ebc7ff',
69
+ markAsReadBackgroundColor: '#AD46FF1a',
70
70
  markAsReadBorderColor: '#AD46FF',
71
- tabBackgroundColor: '#ebc7ff',
71
+ tabBackgroundColor: '#AD46FF1a',
72
72
  statusBarBackgroundColor: '#F5C98E',
73
73
  },
74
74
  },
@@ -1 +1 @@
1
- {"version":3,"file":"ECETheme.js","sources":["../../../../src/themes/ECETheme.tsx"],"sourcesContent":["import { createTheme } from \"@mui/material\";\n\nconst ECETheme = createTheme({\n palette: {\n mode: 'light',\n primary: {\n main: '#AD46FF',\n light: '#AD46FF',\n dark: '#AD46FF',\n contrastText: '#FFFFFF',\n },\n secondary: {\n main: '#D79AFC',\n light: '#D79AFC',\n dark: '#D79AFC',\n contrastText: '#FFFFFF',\n },\n error: {\n main: '#F56B6B',\n light: '#F56B6B',\n dark: '#F56B6B',\n contrastText: '#FFFFFF',\n },\n warning: {\n main: '#F5D76E',\n light: '#F5D76E',\n dark: '#F5D76E',\n contrastText: '#FFFBFF',\n },\n info: {\n main: '#F5A623',\n light: '#F5A623',\n dark: '#F5A623',\n contrastText: '#FFFFFF',\n },\n success: {\n main: '#A3D977',\n light: '#A3D977',\n dark: '#A3D977',\n contrastText: '#FFFFFF',\n },\n background: {\n default: '#FDFCEE',\n paper: '#FEFDF7',\n },\n text: {\n primary: '#4D3019',\n secondary: '#826E5C',\n disabled: '#93908F',\n },\n divider: '#C6C7C0',\n accent: {\n main: '#FFEDD1',\n },\n dark: {\n main: '#4D3019',\n },\n light: {\n main: '#FEFDF7',\n },\n markedRead: {\n main: '#A3D977',\n },\n custom: {\n iconColor: '#AD46FF',\n primaryButtonTextColor: '#FFFFFF',\n readByBackgroundColor: '#ebc7ff',\n stepIndicatorTextColor: '#FFFFFF',\n markAsReadBackgroundColor: '#ebc7ff',\n markAsReadBorderColor: '#AD46FF',\n tabBackgroundColor: '#ebc7ff',\n statusBarBackgroundColor: '#F5C98E',\n },\n },\n typography: {\n fontFamily: ['Inter', '-apple-system', 'BlinkMacSystemFont', 'Segoe UI', 'Roboto', 'sans-serif'].join(','),\n h1: {\n color: '#4D3019',\n fontWeight: 700,\n fontSize: '2.5rem',\n lineHeight: 1.2,\n },\n h2: {\n color: '#4D3019',\n fontWeight: 700,\n fontSize: '2rem',\n lineHeight: 1.3,\n },\n h3: {\n color: '#4D3019',\n fontWeight: 600,\n fontSize: '1.75rem',\n lineHeight: 1.3,\n },\n h4: {\n color: '#4D3019',\n fontWeight: 600,\n fontSize: '1.5rem',\n lineHeight: 1.4,\n },\n h5: {\n color: '#4D3019',\n fontWeight: 600,\n fontSize: '1.25rem',\n lineHeight: 1.4,\n },\n h6: {\n color: '#4D3019',\n fontWeight: 600,\n fontSize: '1rem',\n lineHeight: 1.4,\n },\n body1: {\n color: '#4D3019',\n fontWeight: 400,\n fontSize: '1rem',\n lineHeight: 1.5,\n },\n body2: {\n color: '#826E5C',\n fontWeight: 400,\n fontSize: '0.875rem',\n lineHeight: 1.5,\n },\n subtitle1: {\n color: '#4D3019',\n fontWeight: 500,\n fontSize: '1rem',\n lineHeight: 1.5,\n },\n subtitle2: {\n color: '#826E5C',\n fontWeight: 500,\n fontSize: '0.875rem',\n lineHeight: 1.5,\n },\n button: {\n color: '#4D3019',\n fontWeight: 500,\n fontSize: '0.875rem',\n lineHeight: 1.75,\n textTransform: 'none',\n },\n caption: {\n color: '#826E5C',\n fontWeight: 400,\n fontSize: '0.75rem',\n lineHeight: 1.66,\n },\n overline: {\n color: '#826E5C',\n fontWeight: 500,\n fontSize: '0.75rem',\n lineHeight: 2.66,\n textTransform: 'uppercase',\n letterSpacing: '0.08em',\n },\n },\n shape: {\n borderRadius: 4,\n },\n breakpoints: {\n values: {\n xs: 320,\n sm: 640,\n md: 768,\n lg: 1024,\n xl: 1280,\n },\n },\n components: {\n MuiLink: {\n styleOverrides: {\n root: {\n color: '#AD46FF',\n textDecorationColor: '#AD46FF',\n '&:hover': {\n color: '#AD46FF',\n textDecorationColor: '#AD46FF',\n },\n '&:active': {\n color: '#FFEDD1',\n },\n '&:visited': {\n color: '#652997',\n }\n },\n underlineAlways: {\n color: '#AD46FF',\n textDecorationColor: '#AD46FF',\n }\n },\n },\n MuiTypography: {\n defaultProps: {\n variantMapping: {\n h1: 'h1',\n h2: 'h2',\n h3: 'h3',\n h4: 'h4',\n h5: 'h5',\n h6: 'h6',\n subtitle1: 'p',\n subtitle2: 'p',\n body1: 'p',\n body2: 'p',\n },\n },\n },\n MuiCssBaseline: {\n styleOverrides: {\n body: {\n WebkitFontSmoothing: 'antialiased',\n MozOsxFontSmoothing: 'grayscale',\n backgroundColor: '#FDFCEE',\n color: '#4D3019',\n },\n 'input[type=\"checkbox\"], input[type=\"radio\"]': {\n accentColor: '#FFEDD1',\n },\n 'h1, h2, h3, h4, h5, h6': {\n fontWeight: 'inherit !important',\n },\n '.MuiTypography-h1': {\n fontWeight: '700 !important',\n },\n '.MuiTypography-h2': {\n fontWeight: '700 !important',\n },\n '.MuiTypography-h3': {\n fontWeight: '600 !important',\n },\n '.MuiTypography-h4': {\n fontWeight: '600 !important',\n },\n '.MuiTypography-h5': {\n fontWeight: '600 !important',\n },\n '.MuiTypography-h6': {\n fontWeight: '600 !important',\n },\n 'a, a.MuiLink-root': {\n color: '#AD46FF !important',\n '&:hover': {\n color: '#AD46FF !important',\n },\n '&:visited': {\n color: '#652997 !important',\n }\n },\n },\n },\n },\n appName: 'ECEDocs',\n contact: {\n email: 'team@ecedocs.co.nz'\n }\n});\n\nexport default ECETheme"],"names":[],"mappings":";;AAEA,MAAM,QAAQ,GAAG,WAAW,CAAC;AAC3B,IAAA,OAAO,EAAE;AACP,QAAA,IAAI,EAAE,OAAO;AACb,QAAA,OAAO,EAAE;AACP,YAAA,IAAI,EAAE,SAAS;AACf,YAAA,KAAK,EAAE,SAAS;AAChB,YAAA,IAAI,EAAE,SAAS;AACf,YAAA,YAAY,EAAE,SAAS;AACxB,SAAA;AACD,QAAA,SAAS,EAAE;AACT,YAAA,IAAI,EAAE,SAAS;AACf,YAAA,KAAK,EAAE,SAAS;AAChB,YAAA,IAAI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;AACF,SAAA;AACD,QAAA,cAAc,EAAE;AACd,YAAA,cAAc,EAAE;AACd,gBAAA,IAAI,EAAE;AACJ,oBAAA,mBAAmB,EAAE,aAAa;AAClC,oBAAA,mBAAmB,EAAE,WAAW;AAChC,oBAAA,eAAe,EAAE,SAAS;AAC1B,oBAAA,KAAK,EAAE,SAAS;AACjB,iBAAA;AACD,gBAAA,6CAA6C,EAAE;AAC7C,oBAAA,WAAW,EAAE,SAAS;AACvB,iBAAA;AACD,gBAAA,wBAAwB,EAAE;AACxB,oBAAA,UAAU,EAAE,oBAAoB;AACjC,iBAAA;AACD,gBAAA,mBAAmB,EAAE;AACnB,oBAAA,UAAU,EAAE,gBAAgB;AAC7B,iBAAA;AACD,gBAAA,mBAAmB,EAAE;AACnB,oBAAA,UAAU,EAAE,gBAAgB;AAC7B,iBAAA;AACD,gBAAA,mBAAmB,EAAE;AACnB,oBAAA,UAAU,EAAE,gBAAgB;AAC7B,iBAAA;AACD,gBAAA,mBAAmB,EAAE;AACnB,oBAAA,UAAU,EAAE,gBAAgB;AAC7B,iBAAA;AACD,gBAAA,mBAAmB,EAAE;AACnB,oBAAA,UAAU,EAAE,gBAAgB;AAC7B,iBAAA;AACD,gBAAA,mBAAmB,EAAE;AACnB,oBAAA,UAAU,EAAE,gBAAgB;AAC7B,iBAAA;AACD,gBAAA,mBAAmB,EAAE;AACnB,oBAAA,KAAK,EAAE,oBAAoB;AAC3B,oBAAA,SAAS,EAAE;AACT,wBAAA,KAAK,EAAE,oBAAoB;AAC5B,qBAAA;AACD,oBAAA,WAAW,EAAE;AACX,wBAAA,KAAK,EAAE,oBAAoB;AAC5B;AACF,iBAAA;AACF,aAAA;AACF,SAAA;AACF,KAAA;AACD,IAAA,OAAO,EAAE,SAAS;AAClB,IAAA,OAAO,EAAE;AACP,QAAA,KAAK,EAAE;AACR;AACF,CAAA;;;;"}
1
+ {"version":3,"file":"ECETheme.js","sources":["../../../../src/themes/ECETheme.tsx"],"sourcesContent":["import { createTheme } from \"@mui/material\";\n\nconst ECETheme = createTheme({\n palette: {\n mode: 'light',\n primary: {\n main: '#AD46FF',\n light: '#AD46FF',\n dark: '#AD46FF',\n contrastText: '#FFFFFF',\n },\n secondary: {\n main: '#D79AFC',\n light: '#D79AFC',\n dark: '#D79AFC',\n contrastText: '#FFFFFF',\n },\n error: {\n main: '#F56B6B',\n light: '#F56B6B',\n dark: '#F56B6B',\n contrastText: '#FFFFFF',\n },\n warning: {\n main: '#F5D76E',\n light: '#F5D76E',\n dark: '#F5D76E',\n contrastText: '#FFFBFF',\n },\n info: {\n main: '#F5A623',\n light: '#F5A623',\n dark: '#F5A623',\n contrastText: '#FFFFFF',\n },\n success: {\n main: '#A3D977',\n light: '#A3D977',\n dark: '#A3D977',\n contrastText: '#FFFFFF',\n },\n background: {\n default: '#FDFCEE',\n paper: '#FEFDF7',\n },\n text: {\n primary: '#4D3019',\n secondary: '#826E5C',\n disabled: '#93908F',\n },\n divider: '#C6C7C0',\n accent: {\n main: '#FFEDD1',\n },\n dark: {\n main: '#4D3019',\n },\n light: {\n main: '#FEFDF7',\n },\n markedRead: {\n main: '#A3D977',\n },\n custom: {\n iconColor: '#AD46FF',\n primaryButtonTextColor: '#FFFFFF',\n readByBackgroundColor: '#AD46FF1a',\n stepIndicatorTextColor: '#FFFFFF',\n markAsReadBackgroundColor: '#AD46FF1a',\n markAsReadBorderColor: '#AD46FF',\n tabBackgroundColor: '#AD46FF1a',\n statusBarBackgroundColor: '#F5C98E',\n },\n },\n typography: {\n fontFamily: ['Inter', '-apple-system', 'BlinkMacSystemFont', 'Segoe UI', 'Roboto', 'sans-serif'].join(','),\n h1: {\n color: '#4D3019',\n fontWeight: 700,\n fontSize: '2.5rem',\n lineHeight: 1.2,\n },\n h2: {\n color: '#4D3019',\n fontWeight: 700,\n fontSize: '2rem',\n lineHeight: 1.3,\n },\n h3: {\n color: '#4D3019',\n fontWeight: 600,\n fontSize: '1.75rem',\n lineHeight: 1.3,\n },\n h4: {\n color: '#4D3019',\n fontWeight: 600,\n fontSize: '1.5rem',\n lineHeight: 1.4,\n },\n h5: {\n color: '#4D3019',\n fontWeight: 600,\n fontSize: '1.25rem',\n lineHeight: 1.4,\n },\n h6: {\n color: '#4D3019',\n fontWeight: 600,\n fontSize: '1rem',\n lineHeight: 1.4,\n },\n body1: {\n color: '#4D3019',\n fontWeight: 400,\n fontSize: '1rem',\n lineHeight: 1.5,\n },\n body2: {\n color: '#826E5C',\n fontWeight: 400,\n fontSize: '0.875rem',\n lineHeight: 1.5,\n },\n subtitle1: {\n color: '#4D3019',\n fontWeight: 500,\n fontSize: '1rem',\n lineHeight: 1.5,\n },\n subtitle2: {\n color: '#826E5C',\n fontWeight: 500,\n fontSize: '0.875rem',\n lineHeight: 1.5,\n },\n button: {\n color: '#4D3019',\n fontWeight: 500,\n fontSize: '0.875rem',\n lineHeight: 1.75,\n textTransform: 'none',\n },\n caption: {\n color: '#826E5C',\n fontWeight: 400,\n fontSize: '0.75rem',\n lineHeight: 1.66,\n },\n overline: {\n color: '#826E5C',\n fontWeight: 500,\n fontSize: '0.75rem',\n lineHeight: 2.66,\n textTransform: 'uppercase',\n letterSpacing: '0.08em',\n },\n },\n shape: {\n borderRadius: 4,\n },\n breakpoints: {\n values: {\n xs: 320,\n sm: 640,\n md: 768,\n lg: 1024,\n xl: 1280,\n },\n },\n components: {\n MuiLink: {\n styleOverrides: {\n root: {\n color: '#AD46FF',\n textDecorationColor: '#AD46FF',\n '&:hover': {\n color: '#AD46FF',\n textDecorationColor: '#AD46FF',\n },\n '&:active': {\n color: '#FFEDD1',\n },\n '&:visited': {\n color: '#652997',\n }\n },\n underlineAlways: {\n color: '#AD46FF',\n textDecorationColor: '#AD46FF',\n }\n },\n },\n MuiTypography: {\n defaultProps: {\n variantMapping: {\n h1: 'h1',\n h2: 'h2',\n h3: 'h3',\n h4: 'h4',\n h5: 'h5',\n h6: 'h6',\n subtitle1: 'p',\n subtitle2: 'p',\n body1: 'p',\n body2: 'p',\n },\n },\n },\n MuiCssBaseline: {\n styleOverrides: {\n body: {\n WebkitFontSmoothing: 'antialiased',\n MozOsxFontSmoothing: 'grayscale',\n backgroundColor: '#FDFCEE',\n color: '#4D3019',\n },\n 'input[type=\"checkbox\"], input[type=\"radio\"]': {\n accentColor: '#FFEDD1',\n },\n 'h1, h2, h3, h4, h5, h6': {\n fontWeight: 'inherit !important',\n },\n '.MuiTypography-h1': {\n fontWeight: '700 !important',\n },\n '.MuiTypography-h2': {\n fontWeight: '700 !important',\n },\n '.MuiTypography-h3': {\n fontWeight: '600 !important',\n },\n '.MuiTypography-h4': {\n fontWeight: '600 !important',\n },\n '.MuiTypography-h5': {\n fontWeight: '600 !important',\n },\n '.MuiTypography-h6': {\n fontWeight: '600 !important',\n },\n 'a, a.MuiLink-root': {\n color: '#AD46FF !important',\n '&:hover': {\n color: '#AD46FF !important',\n },\n '&:visited': {\n color: '#652997 !important',\n }\n },\n },\n },\n },\n appName: 'ECEDocs',\n contact: {\n email: 'team@ecedocs.co.nz'\n }\n});\n\nexport default ECETheme"],"names":[],"mappings":";;AAEA,MAAM,QAAQ,GAAG,WAAW,CAAC;AAC3B,IAAA,OAAO,EAAE;AACP,QAAA,IAAI,EAAE,OAAO;AACb,QAAA,OAAO,EAAE;AACP,YAAA,IAAI,EAAE,SAAS;AACf,YAAA,KAAK,EAAE,SAAS;AAChB,YAAA,IAAI,EAAE,SAAS;AACf,YAAA,YAAY,EAAE,SAAS;AACxB,SAAA;AACD,QAAA,SAAS,EAAE;AACT,YAAA,IAAI,EAAE,SAAS;AACf,YAAA,KAAK,EAAE,SAAS;AAChB,YAAA,IAAI,EAAE,SAAS;AACf,YAAA,YAAY,EAAE,SAAS;AACxB,SAAA;AACD,QAAA,KAAK,EAAE;AACL,YAAA,IAAI,EAAE,SAAS;AACf,YAAA,KAAK,EAAE,SAAS;AAChB,YAAA,IAAI,EAAE,SAAS;AACf,YAAA,YAAY,EAAE,SAAS;AACxB,SAAA;AACD,QAAA,OAAO,E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A;AACD,gBAAA,6CAA6C,EAAE;AAC7C,oBAAA,WAAW,EAAE,SAAS;AACvB,iBAAA;AACD,gBAAA,wBAAwB,EAAE;AACxB,oBAAA,UAAU,EAAE,oBAAoB;AACjC,iBAAA;AACD,gBAAA,mBAAmB,EAAE;AACnB,oBAAA,UAAU,EAAE,gBAAgB;AAC7B,iBAAA;AACD,gBAAA,mBAAmB,EAAE;AACnB,oBAAA,UAAU,EAAE,gBAAgB;AAC7B,iBAAA;AACD,gBAAA,mBAAmB,EAAE;AACnB,oBAAA,UAAU,EAAE,gBAAgB;AAC7B,iBAAA;AACD,gBAAA,mBAAmB,EAAE;AACnB,oBAAA,UAAU,EAAE,gBAAgB;AAC7B,iBAAA;AACD,gBAAA,mBAAmB,EAAE;AACnB,oBAAA,UAAU,EAAE,gBAAgB;AAC7B,iBAAA;AACD,gBAAA,mBAAmB,EAAE;AACnB,oBAAA,UAAU,EAAE,gBAAgB;AAC7B,iBAAA;AACD,gBAAA,mBAAmB,EAAE;AACnB,oBAAA,KAAK,EAAE,oBAAoB;AAC3B,oBAAA,SAAS,EAAE;AACT,wBAAA,KAAK,EAAE,oBAAoB;AAC5B,qBAAA;AACD,oBAAA,WAAW,EAAE;AACX,wBAAA,KAAK,EAAE,oBAAoB;AAC5B;AACF,iBAAA;AACF,aAAA;AACF,SAAA;AACF,KAAA;AACD,IAAA,OAAO,EAAE,SAAS;AAClB,IAAA,OAAO,EAAE;AACP,QAAA,KAAK,EAAE;AACR;AACF,CAAA;;;;"}
@@ -64,11 +64,11 @@ const GPTheme = createTheme({
64
64
  custom: {
65
65
  iconColor: '#4871cf',
66
66
  primaryButtonTextColor: '#FFFFFF',
67
- readByBackgroundColor: '#a4d6ff',
67
+ readByBackgroundColor: '#4871cf1a',
68
68
  stepIndicatorTextColor: '#FFFFFF',
69
- markAsReadBackgroundColor: '#a4d6ff',
69
+ markAsReadBackgroundColor: '#4871cf1a',
70
70
  markAsReadBorderColor: '#4871cf',
71
- tabBackgroundColor: '#a4d6ff',
71
+ tabBackgroundColor: '#4871cf1a',
72
72
  },
73
73
  },
74
74
  typography: {
@@ -1 +1 @@
1
- {"version":3,"file":"GPTheme.js","sources":["../../../../src/themes/GPTheme.tsx"],"sourcesContent":["import { createTheme } from \"@mui/material\";\r\n\r\nconst GPTheme = createTheme({\r\n palette: {\r\n mode: 'light',\r\n primary: {\r\n main: '#4871cf',\r\n light: '#4871cf',\r\n dark: '#4871cf',\r\n contrastText: '#FFFFFF',\r\n },\r\n secondary: {\r\n main: '#a4d6ff',\r\n light: '#a4d6ff',\r\n dark: '#a4d6ff',\r\n contrastText: '#FFFFFF',\r\n },\r\n error: {\r\n main: '#F56B6B',\r\n light: '#F56B6B',\r\n dark: '#F56B6B',\r\n contrastText: '#FFFFFF',\r\n },\r\n warning: {\r\n main: '#F5D76E',\r\n light: '#F5D76E',\r\n dark: '#F5D76E',\r\n contrastText: '#FFFBFF',\r\n },\r\n info: {\r\n main: '#F5A623',\r\n light: '#F5A623',\r\n dark: '#F5A623',\r\n contrastText: '#FFFFFF',\r\n },\r\n success: {\r\n main: '#A3D977',\r\n light: '#A3D977',\r\n dark: '#A3D977',\r\n contrastText: '#FFFFFF',\r\n },\r\n background: {\r\n default: '#FDFCEE',\r\n paper: '#FEFDF7',\r\n },\r\n text: {\r\n primary: '#4D3019',\r\n secondary: '#826E5C',\r\n disabled: '#93908F',\r\n },\r\n divider: '#C6C7C0',\r\n accent: {\r\n main: '#FF9ecb',\r\n },\r\n dark: {\r\n main: '#4D3019',\r\n },\r\n light: {\r\n main: '#FEFDF7',\r\n },\r\n markedRead: {\r\n main: '#A3D977',\r\n },\r\n custom: {\r\n iconColor: '#4871cf',\r\n primaryButtonTextColor: '#FFFFFF',\r\n readByBackgroundColor: '#a4d6ff',\r\n stepIndicatorTextColor: '#FFFFFF',\r\n markAsReadBackgroundColor: '#a4d6ff',\r\n markAsReadBorderColor: '#4871cf',\r\n tabBackgroundColor: '#a4d6ff',\r\n },\r\n },\r\n typography: {\r\n fontFamily: ['Inter', '-apple-system', 'BlinkMacSystemFont', 'Segoe UI', 'Roboto', 'sans-serif'].join(','),\r\n h1: {\r\n color: '#4D3019',\r\n fontWeight: 700,\r\n fontSize: '2.5rem',\r\n lineHeight: 1.2,\r\n },\r\n h2: {\r\n color: '#4D3019',\r\n fontWeight: 700,\r\n fontSize: '2rem',\r\n lineHeight: 1.3,\r\n },\r\n h3: {\r\n color: '#4D3019',\r\n fontWeight: 600,\r\n fontSize: '1.75rem',\r\n lineHeight: 1.3,\r\n },\r\n h4: {\r\n color: '#4D3019',\r\n fontWeight: 600,\r\n fontSize: '1.5rem',\r\n lineHeight: 1.4,\r\n },\r\n h5: {\r\n color: '#4D3019',\r\n fontWeight: 600,\r\n fontSize: '1.25rem',\r\n lineHeight: 1.4,\r\n },\r\n h6: {\r\n color: '#4D3019',\r\n fontWeight: 600,\r\n fontSize: '1rem',\r\n lineHeight: 1.4,\r\n },\r\n body1: {\r\n color: '#4D3019',\r\n fontWeight: 400,\r\n fontSize: '1rem',\r\n lineHeight: 1.5,\r\n },\r\n body2: {\r\n color: '#826E5C',\r\n fontWeight: 400,\r\n fontSize: '0.875rem',\r\n lineHeight: 1.5,\r\n },\r\n subtitle1: {\r\n color: '#4D3019',\r\n fontWeight: 500,\r\n fontSize: '1rem',\r\n lineHeight: 1.5,\r\n },\r\n subtitle2: {\r\n color: '#826E5C',\r\n fontWeight: 500,\r\n fontSize: '0.875rem',\r\n lineHeight: 1.5,\r\n },\r\n button: {\r\n color: '#4D3019',\r\n fontWeight: 500,\r\n fontSize: '0.875rem',\r\n lineHeight: 1.75,\r\n textTransform: 'none',\r\n },\r\n caption: {\r\n color: '#826E5C',\r\n fontWeight: 400,\r\n fontSize: '0.75rem',\r\n lineHeight: 1.66,\r\n },\r\n overline: {\r\n color: '#826E5C',\r\n fontWeight: 500,\r\n fontSize: '0.75rem',\r\n lineHeight: 2.66,\r\n textTransform: 'uppercase',\r\n letterSpacing: '0.08em',\r\n },\r\n },\r\n shape: {\r\n borderRadius: 4,\r\n },\r\n breakpoints: {\r\n values: {\r\n xs: 320,\r\n sm: 640,\r\n md: 768,\r\n lg: 1024,\r\n xl: 1280,\r\n },\r\n },\r\n components: {\r\n MuiLink: {\r\n styleOverrides: {\r\n root: {\r\n color: '#4871cf',\r\n textDecorationColor: '#4871cf',\r\n '&:hover': {\r\n color: '#4871cf',\r\n textDecorationColor: '#4871cf',\r\n },\r\n '&:active': {\r\n color: '#FFEDD1',\r\n },\r\n '&:visited': {\r\n color: '#2d4783',\r\n }\r\n },\r\n underlineAlways: {\r\n color: '#4871cf',\r\n textDecorationColor: '#4871cf',\r\n }\r\n },\r\n },\r\n MuiTypography: {\r\n defaultProps: {\r\n variantMapping: {\r\n h1: 'h1',\r\n h2: 'h2',\r\n h3: 'h3',\r\n h4: 'h4',\r\n h5: 'h5',\r\n h6: 'h6',\r\n subtitle1: 'p',\r\n subtitle2: 'p',\r\n body1: 'p',\r\n body2: 'p',\r\n },\r\n },\r\n },\r\n MuiCssBaseline: {\r\n styleOverrides: {\r\n body: {\r\n WebkitFontSmoothing: 'antialiased',\r\n MozOsxFontSmoothing: 'grayscale',\r\n backgroundColor: '#FDFCEE',\r\n color: '#4D3019',\r\n },\r\n 'input[type=\"checkbox\"], input[type=\"radio\"]': {\r\n accentColor: '#FF9ecb',\r\n },\r\n 'h1, h2, h3, h4, h5, h6': {\r\n fontWeight: 'inherit !important',\r\n },\r\n '.MuiTypography-h1': {\r\n fontWeight: '700 !important',\r\n },\r\n '.MuiTypography-h2': {\r\n fontWeight: '700 !important',\r\n },\r\n '.MuiTypography-h3': {\r\n fontWeight: '600 !important',\r\n },\r\n '.MuiTypography-h4': {\r\n fontWeight: '600 !important',\r\n },\r\n '.MuiTypography-h5': {\r\n fontWeight: '600 !important',\r\n },\r\n '.MuiTypography-h6': {\r\n fontWeight: '600 !important',\r\n },\r\n 'a, a.MuiLink-root': {\r\n color: '#4871cf !important',\r\n '&:hover': {\r\n color: '#4871cf !important',\r\n },\r\n '&:visited': {\r\n color: '#2d4783 !important',\r\n }\r\n },\r\n },\r\n },\r\n },\r\n appName: 'GPDocs',\r\n contact: {\r\n email: 'team@gpdocs.co.nz'\r\n }\r\n});\r\n\r\nexport default GPTheme"],"names":[],"mappings":";;AAEA,MAAM,OAAO,GAAG,WAAW,CAAC;AAC1B,IAAA,OAAO,EAAE;AACP,QAAA,IAAI,EAAE,OAAO;AACb,QAAA,OAAO,EAAE;AACP,YAAA,IAAI,EAAE,SAAS;AACf,YAAA,KAAK,EAAE,SAAS;AAChB,YAAA,IAAI,EAAE,SAAS;AACf,YAAA,YAAY,EAAE,SAAS;AACxB,SAAA;AACD,QAAA,SAAS,EAAE;AACT,YAAA,IAAI,EAAE,SAAS;AACf,YAAA,KAAK,EAAE,SAAS;AAChB,YAAA,IAAI,EAAE,SAAS;AACf,YAAA,YAAY,EAAE,SAAS;AACxB,SAAA;AACD,QAAA,KAAK,EAAE;AACL,YAAA,IAAI,EAAE,SAAS;AACf,YAAA,KAAK,EAAE,SAAS;AAChB,YAAA,IAAI,EAAE,SAAS;AACf,YAAA,YAAY,EAAE,SAAS;AACxB,SAAA;AACD,QAAA,OAAO,EAAE;AACP,YAAA,IAAI,EAAE,SAAS;AACf,YAAA,KAAK,EAAE,SAAS;AAChB,YAAA,IAAI,EAAE,SAAS;AACf,YAAA,YAAY,EAAE,SAAS;AACxB,SAAA;AACD,QAAA,IAAI,EAAE;AACJ,YAAA,IAAI,EAAE,SAAS;AACf,YAAA,KAAK,EAAE,SAAS;AAChB,YAAA,IAAI,EAAE,SAAS;AACf,YAAA,YAAY,EAAE,SAAS;AACxB,SAAA;AACD,QAAA,OAAO,EAAE;AACP,YAAA,IAAI,EAAE,SAAS;AACf,YAAA,KAAK,EAAE,SAAS;AAChB,YAAA,IAAI,EAAE,SAAS;AACf,YAAA,YAAY,EAAE,SAAS;AACxB,SAAA;AACD,QAAA,UAAU,EAAE;AACV,YAAA,OAAO,EAAE,SAAS;AAClB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BAAA,mBAAmB,EAAE;AACnB,oBAAA,UAAU,EAAE,gBAAgB;AAC7B,iBAAA;AACD,gBAAA,mBAAmB,EAAE;AACnB,oBAAA,KAAK,EAAE,oBAAoB;AAC3B,oBAAA,SAAS,EAAE;AACT,wBAAA,KAAK,EAAE,oBAAoB;AAC5B,qBAAA;AACD,oBAAA,WAAW,EAAE;AACX,wBAAA,KAAK,EAAE,oBAAoB;AAC5B;AACF,iBAAA;AACF,aAAA;AACF,SAAA;AACF,KAAA;AACD,IAAA,OAAO,EAAE,QAAQ;AACjB,IAAA,OAAO,EAAE;AACP,QAAA,KAAK,EAAE;AACR;AACF,CAAA;;;;"}
1
+ {"version":3,"file":"GPTheme.js","sources":["../../../../src/themes/GPTheme.tsx"],"sourcesContent":["import { createTheme } from \"@mui/material\";\r\n\r\nconst GPTheme = createTheme({\r\n palette: {\r\n mode: 'light',\r\n primary: {\r\n main: '#4871cf',\r\n light: '#4871cf',\r\n dark: '#4871cf',\r\n contrastText: '#FFFFFF',\r\n },\r\n secondary: {\r\n main: '#a4d6ff',\r\n light: '#a4d6ff',\r\n dark: '#a4d6ff',\r\n contrastText: '#FFFFFF',\r\n },\r\n error: {\r\n main: '#F56B6B',\r\n light: '#F56B6B',\r\n dark: '#F56B6B',\r\n contrastText: '#FFFFFF',\r\n },\r\n warning: {\r\n main: '#F5D76E',\r\n light: '#F5D76E',\r\n dark: '#F5D76E',\r\n contrastText: '#FFFBFF',\r\n },\r\n info: {\r\n main: '#F5A623',\r\n light: '#F5A623',\r\n dark: '#F5A623',\r\n contrastText: '#FFFFFF',\r\n },\r\n success: {\r\n main: '#A3D977',\r\n light: '#A3D977',\r\n dark: '#A3D977',\r\n contrastText: '#FFFFFF',\r\n },\r\n background: {\r\n default: '#FDFCEE',\r\n paper: '#FEFDF7',\r\n },\r\n text: {\r\n primary: '#4D3019',\r\n secondary: '#826E5C',\r\n disabled: '#93908F',\r\n },\r\n divider: '#C6C7C0',\r\n accent: {\r\n main: '#FF9ecb',\r\n },\r\n dark: {\r\n main: '#4D3019',\r\n },\r\n light: {\r\n main: '#FEFDF7',\r\n },\r\n markedRead: {\r\n main: '#A3D977',\r\n },\r\n custom: {\r\n iconColor: '#4871cf',\r\n primaryButtonTextColor: '#FFFFFF',\r\n readByBackgroundColor: '#4871cf1a',\r\n stepIndicatorTextColor: '#FFFFFF',\r\n markAsReadBackgroundColor: '#4871cf1a',\r\n markAsReadBorderColor: '#4871cf',\r\n tabBackgroundColor: '#4871cf1a',\r\n },\r\n },\r\n typography: {\r\n fontFamily: ['Inter', '-apple-system', 'BlinkMacSystemFont', 'Segoe UI', 'Roboto', 'sans-serif'].join(','),\r\n h1: {\r\n color: '#4D3019',\r\n fontWeight: 700,\r\n fontSize: '2.5rem',\r\n lineHeight: 1.2,\r\n },\r\n h2: {\r\n color: '#4D3019',\r\n fontWeight: 700,\r\n fontSize: '2rem',\r\n lineHeight: 1.3,\r\n },\r\n h3: {\r\n color: '#4D3019',\r\n fontWeight: 600,\r\n fontSize: '1.75rem',\r\n lineHeight: 1.3,\r\n },\r\n h4: {\r\n color: '#4D3019',\r\n fontWeight: 600,\r\n fontSize: '1.5rem',\r\n lineHeight: 1.4,\r\n },\r\n h5: {\r\n color: '#4D3019',\r\n fontWeight: 600,\r\n fontSize: '1.25rem',\r\n lineHeight: 1.4,\r\n },\r\n h6: {\r\n color: '#4D3019',\r\n fontWeight: 600,\r\n fontSize: '1rem',\r\n lineHeight: 1.4,\r\n },\r\n body1: {\r\n color: '#4D3019',\r\n fontWeight: 400,\r\n fontSize: '1rem',\r\n lineHeight: 1.5,\r\n },\r\n body2: {\r\n color: '#826E5C',\r\n fontWeight: 400,\r\n fontSize: '0.875rem',\r\n lineHeight: 1.5,\r\n },\r\n subtitle1: {\r\n color: '#4D3019',\r\n fontWeight: 500,\r\n fontSize: '1rem',\r\n lineHeight: 1.5,\r\n },\r\n subtitle2: {\r\n color: '#826E5C',\r\n fontWeight: 500,\r\n fontSize: '0.875rem',\r\n lineHeight: 1.5,\r\n },\r\n button: {\r\n color: '#4D3019',\r\n fontWeight: 500,\r\n fontSize: '0.875rem',\r\n lineHeight: 1.75,\r\n textTransform: 'none',\r\n },\r\n caption: {\r\n color: '#826E5C',\r\n fontWeight: 400,\r\n fontSize: '0.75rem',\r\n lineHeight: 1.66,\r\n },\r\n overline: {\r\n color: '#826E5C',\r\n fontWeight: 500,\r\n fontSize: '0.75rem',\r\n lineHeight: 2.66,\r\n textTransform: 'uppercase',\r\n letterSpacing: '0.08em',\r\n },\r\n },\r\n shape: {\r\n borderRadius: 4,\r\n },\r\n breakpoints: {\r\n values: {\r\n xs: 320,\r\n sm: 640,\r\n md: 768,\r\n lg: 1024,\r\n xl: 1280,\r\n },\r\n },\r\n components: {\r\n MuiLink: {\r\n styleOverrides: {\r\n root: {\r\n color: '#4871cf',\r\n textDecorationColor: '#4871cf',\r\n '&:hover': {\r\n color: '#4871cf',\r\n textDecorationColor: '#4871cf',\r\n },\r\n '&:active': {\r\n color: '#FFEDD1',\r\n },\r\n '&:visited': {\r\n color: '#2d4783',\r\n }\r\n },\r\n underlineAlways: {\r\n color: '#4871cf',\r\n textDecorationColor: '#4871cf',\r\n }\r\n },\r\n },\r\n MuiTypography: {\r\n defaultProps: {\r\n variantMapping: {\r\n h1: 'h1',\r\n h2: 'h2',\r\n h3: 'h3',\r\n h4: 'h4',\r\n h5: 'h5',\r\n h6: 'h6',\r\n subtitle1: 'p',\r\n subtitle2: 'p',\r\n body1: 'p',\r\n body2: 'p',\r\n },\r\n },\r\n },\r\n MuiCssBaseline: {\r\n styleOverrides: {\r\n body: {\r\n WebkitFontSmoothing: 'antialiased',\r\n MozOsxFontSmoothing: 'grayscale',\r\n backgroundColor: '#FDFCEE',\r\n color: '#4D3019',\r\n },\r\n 'input[type=\"checkbox\"], input[type=\"radio\"]': {\r\n accentColor: '#FF9ecb',\r\n },\r\n 'h1, h2, h3, h4, h5, h6': {\r\n fontWeight: 'inherit !important',\r\n },\r\n '.MuiTypography-h1': {\r\n fontWeight: '700 !important',\r\n },\r\n '.MuiTypography-h2': {\r\n fontWeight: '700 !important',\r\n },\r\n '.MuiTypography-h3': {\r\n fontWeight: '600 !important',\r\n },\r\n '.MuiTypography-h4': {\r\n fontWeight: '600 !important',\r\n },\r\n '.MuiTypography-h5': {\r\n fontWeight: '600 !important',\r\n },\r\n '.MuiTypography-h6': {\r\n fontWeight: '600 !important',\r\n },\r\n 'a, a.MuiLink-root': {\r\n color: '#4871cf !important',\r\n '&:hover': {\r\n color: '#4871cf !important',\r\n },\r\n '&:visited': {\r\n color: '#2d4783 !important',\r\n }\r\n },\r\n },\r\n },\r\n },\r\n appName: 'GPDocs',\r\n contact: {\r\n email: 'team@gpdocs.co.nz'\r\n }\r\n});\r\n\r\nexport default GPTheme"],"names":[],"mappings":";;AAEA,MAAM,OAAO,GAAG,WAAW,CAAC;AAC1B,IAAA,OAAO,EAAE;AACP,QAAA,IAAI,EAAE,OAAO;AACb,QAAA,OAAO,EAAE;AACP,YAAA,IAAI,EAAE,SAAS;AACf,YAAA,KAAK,EAAE,SAAS;AAChB,YAAA,IAAI,EAAE,SAAS;AACf,YAAA,YAAY,EAAE,SAAS;AACxB,SAAA;AACD,QAAA,SAAS,EAAE;AACT,YAAA,IAAI,EAAE,SAAS;AACf,YAAA,KAAK,EAAE,SAAS;AAChB,YAAA,IAAI,EAAE,SAAS;AACf,YAAA,YAAY,EAAE,SAAS;AACxB,SAAA;AACD,QAAA,KAAK,EAAE;AACL,YAAA,IAAI,EAAE,SAAS;AACf,YAAA,KAAK,EAAE,SAAS;AAChB,YAAA,IAAI,EAAE,SAAS;AACf,YAAA,YAAY,EAAE,SAAS;AACxB,SAAA;AACD,QAAA,OAAO,EAAE;AACP,YAAA,IAAI,EAAE,SAAS;AACf,YAAA,KAAK,EAAE,SAAS;AAChB,YAAA,IAAI,EAAE,SAAS;AACf,YAAA,YAAY,EAAE,SAAS;AACxB,SAAA;AACD,QAAA,IAAI,EAAE;AACJ,YAAA,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