{\n // if (!data.count) return ;\n return (\n \n \n \n );\n }}\n />\n )\n};\nexport default Demo"},187:{name:187,meta:{},code:'"use strict";\n\nfunction _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }\nvar _react = _interopRequireWildcard(require("react"));\nvar _reactHeatMap = _interopRequireDefault(require("@uiw/react-heat-map"));\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }\nfunction _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }\nfunction _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { "default": e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n["default"] = e, t && t.set(e, n), n; }\nfunction _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }\nfunction _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }\nfunction _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t["return"] && (u = t["return"](), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }\nfunction _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }\nfunction _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }\nfunction _nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }\nfunction _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }\nfunction _iterableToArray(iter) { if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter); }\nfunction _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); }\nfunction _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }\nvar value = [{\n date: \'2016/01/11\',\n count: 2\n}].concat(_toConsumableArray(_toConsumableArray(Array(17)).map(function (_, idx) {\n return {\n date: "2016/01/".concat(idx + 10),\n count: idx\n };\n})), _toConsumableArray(_toConsumableArray(Array(17)).map(function (_, idx) {\n return {\n date: "2016/02/".concat(idx + 10),\n count: idx\n };\n})), [{\n date: \'2016/04/12\',\n count: 2\n}, {\n date: \'2016/05/01\',\n count: 5\n}, {\n date: \'2016/05/02\',\n count: 5\n}, {\n date: \'2016/05/03\',\n count: 1\n}, {\n date: \'2016/05/04\',\n count: 11\n}, {\n date: \'2016/05/08\',\n count: 32\n}]);\nvar Demo = function Demo() {\n var _useState = (0, _react.useState)(0),\n _useState2 = _slicedToArray(_useState, 2),\n size = _useState2[0],\n setSize = _useState2[1];\n return /*#__PURE__*/_react["default"].createElement("div", null, /*#__PURE__*/_react["default"].createElement("label", {\n style: {\n userSelect: \'none\'\n }\n }, /*#__PURE__*/_react["default"].createElement("input", {\n type: "checkbox",\n checked: size === 0,\n onChange: function onChange(e) {\n return setSize(e.target.checked ? 0 : 12);\n }\n }), size === 0 ? \' Hide\' : \' Show\', " Legend"), /*#__PURE__*/_react["default"].createElement(_reactHeatMap["default"], {\n width: 600,\n value: value,\n legendCellSize: size,\n startDate: new Date(\'2016/01/01\')\n }));\n};\nreturn Demo;',language:"jsx",value:"import React, { useState } from 'react';\nimport HeatMap from '@uiw/react-heat-map';\n\nconst value = [\n { date: '2016/01/11', count:2 },\n ...[...Array(17)].map((_, idx) => ({ date: `2016/01/${idx + 10}`, count: idx })),\n ...[...Array(17)].map((_, idx) => ({ date: `2016/02/${idx + 10}`, count: idx })),\n { date: '2016/04/12', count:2 },\n { date: '2016/05/01', count:5 },\n { date: '2016/05/02', count:5 },\n { date: '2016/05/03', count:1 },\n { date: '2016/05/04', count:11 },\n { date: '2016/05/08', count:32 },\n];\n\nconst Demo = () => {\n const [size, setSize] = useState(0)\n return (\n \n \n \n
\n )\n};\nexport default Demo"},229:{name:229,meta:{},code:'"use strict";\n\nfunction _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }\nvar _react = _interopRequireWildcard(require("react"));\nvar _reactHeatMap = _interopRequireDefault(require("@uiw/react-heat-map"));\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }\nfunction _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }\nfunction _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { "default": e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n["default"] = e, t && t.set(e, n), n; }\nfunction _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\nfunction _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }\nfunction _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }\nfunction _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t["return"] && (u = t["return"](), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }\nfunction _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }\nfunction _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }\nfunction _nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }\nfunction _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }\nfunction _iterableToArray(iter) { if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter); }\nfunction _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); }\nfunction _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }\nvar value = [{\n date: \'2016/01/11\',\n count: 2\n}].concat(_toConsumableArray(_toConsumableArray(Array(17)).map(function (_, idx) {\n return {\n date: "2016/01/".concat(idx + 10),\n count: idx\n };\n})), _toConsumableArray(_toConsumableArray(Array(17)).map(function (_, idx) {\n return {\n date: "2016/02/".concat(idx + 10),\n count: idx\n };\n})), [{\n date: \'2016/04/12\',\n count: 2\n}, {\n date: \'2016/05/01\',\n count: 5\n}, {\n date: \'2016/05/02\',\n count: 5\n}, {\n date: \'2016/05/03\',\n count: 1\n}, {\n date: \'2016/05/04\',\n count: 11\n}, {\n date: \'2016/05/08\',\n count: 32\n}]);\nvar Demo = function Demo() {\n var _useState = (0, _react.useState)(\'\'),\n _useState2 = _slicedToArray(_useState, 2),\n selected = _useState2[0],\n setSelected = _useState2[1];\n return /*#__PURE__*/_react["default"].createElement("div", null, /*#__PURE__*/_react["default"].createElement(_reactHeatMap["default"], {\n width: 600,\n value: value,\n startDate: new Date(\'2016/01/01\'),\n rectRender: function rectRender(props, data) {\n if (selected !== \'\') {\n props.opacity = data.date === selected ? 1 : 0.45;\n }\n return /*#__PURE__*/_react["default"].createElement("rect", _extends({}, props, {\n onClick: function onClick() {\n setSelected(data.date === selected ? \'\' : data.date);\n }\n }));\n }\n }));\n};\nreturn Demo;',language:"jsx",value:"import React, { useState } from 'react';\nimport HeatMap from '@uiw/react-heat-map';\n\nconst value = [\n { date: '2016/01/11', count:2 },\n ...[...Array(17)].map((_, idx) => ({ date: `2016/01/${idx + 10}`, count: idx })),\n ...[...Array(17)].map((_, idx) => ({ date: `2016/02/${idx + 10}`, count: idx })),\n { date: '2016/04/12', count:2 },\n { date: '2016/05/01', count:5 },\n { date: '2016/05/02', count:5 },\n { date: '2016/05/03', count:1 },\n { date: '2016/05/04', count:11 },\n { date: '2016/05/08', count:32 },\n];\n\nconst Demo = () => {\n const [selected, setSelected] = useState('')\n return (\n \n {\n if (selected !== '') {\n props.opacity = data.date === selected ? 1 : 0.45\n }\n return (\n {\n setSelected(data.date === selected ? '' : data.date);\n }} />\n );\n }}\n />\n
\n )\n};\nexport default Demo"}},source:"HeatMap \u65e5\u5386\u70ed\u56fe\n===\n\x3c!--rehype:style=text-align: center;--\x3e\n\n[![Buy me a coffee](https://img.shields.io/badge/Buy%20me%20a%20coffee-048754?logo=buymeacoffee)](https://jaywcjlove.github.io/#/sponsor)\n[![Build & Deploy](https://github.com/uiwjs/react-heat-map/actions/workflows/ci.yml/badge.svg)](https://github.com/uiwjs/react-heat-map/actions/workflows/ci.yml)\n[![Coverage Status](https://img.shields.io/npm/dm/@uiw/react-heat-map.svg?style=flat)](https://www.npmjs.com/package/@uiw/react-heat-map)\n[![npm version](https://img.shields.io/npm/v/@uiw/react-heat-map.svg)](https://www.npmjs.com/package/@uiw/react-heat-map)\n[![npm bundle size](https://img.shields.io/bundlephobia/minzip/@uiw/react-heat-map)](https://bundlephobia.com/result?p=@uiw/react-heat-map)\n[![Open in Gitpod](https://shields.io/badge/Open%20in-Gitpod-green?logo=Gitpod)](https://gitpod.io/#https://github.com/uiwjs/react-codemirror)\n\x3c!--rehype:style=text-align: center;--\x3e\n\nA lightweight calendar heatmap react component built on SVG, customizable version of GitHub's contribution graph. Try it out on [website example](https://uiwjs.github.io/react-heat-map/).\n\n\x3c!--rehype:ignore:start--\x3e\n\n[![](https://user-images.githubusercontent.com/1680273/186116433-d58c2b6d-8468-4322-943c-9b63c2e447e4.png)](https://uiwjs.github.io/react-heat-map)\n\n\x3c!--rehype:ignore:end--\x3e\n\n## Install\n\n```bash\n# Not dependent on uiw.\nnpm install @uiw/react-heat-map --save\n```\n\n## Basic Usage\n\nBasic usage example, Please pay warning to the time setting.\n\n\u26a0\ufe0f Example: ~~`2016-01-11`\x3c!--rehype:style=color: red;background-color: #ffd8d8;--\x3e~~ -> `2016/01/11`\x3c!--rehype:style=color: green;background: #a7e4b5;--\x3e, Support `Safari`\x3c!--rehype:style=background-color: #87d499;--\x3e\n\n```jsx mdx:preview\nimport React from 'react';\nimport HeatMap from '@uiw/react-heat-map';\n\nconst value = [\n { date: '2016/01/11', count: 2 },\n { date: '2016/01/12', count: 20 },\n { date: '2016/01/13', count: 10 },\n ...[...Array(17)].map((_, idx) => ({ date: `2016/02/${idx + 10}`, count: idx, content: '' })),\n { date: '2016/04/11', count: 2 },\n { date: '2016/05/01', count: 5 },\n { date: '2016/05/02', count: 5 },\n { date: '2016/05/04', count: 11 },\n];\n\nconst Demo = () => {\n return (\n \n \n
\n )\n};\n\nexport default Demo\n```\n\n## Set Color\n\nSet the theme color style.\n\n```jsx mdx:preview\nimport React from 'react';\nimport HeatMap from '@uiw/react-heat-map';\n\nconst value = [\n { date: '2016/01/11', count:2 },\n { date: '2016/04/12', count:2 },\n { date: '2016/05/01', count:5 },\n { date: '2016/05/02', count:5 },\n { date: '2016/05/03', count:1 },\n { date: '2016/05/04', count:11 },\n { date: '2016/05/08', count:32 },\n];\n\nconst Demo = () => {\n return (\n \n )\n};\nexport default Demo\n```\n\n## Set Rect Style\n\nSet the radius of the rect.\n\n```jsx mdx:preview\nimport React, { useState } from 'react';\nimport HeatMap from '@uiw/react-heat-map';\n\nconst value = [\n { date: '2016/01/11', count:2 },\n ...[...Array(17)].map((_, idx) => ({ date: `2016/01/${idx + 10}`, count: idx })),\n ...[...Array(17)].map((_, idx) => ({ date: `2016/02/${idx + 10}`, count: idx })),\n { date: '2016/04/12', count:2 },\n { date: '2016/05/01', count:5 },\n { date: '2016/05/02', count:5 },\n { date: '2016/05/03', count:1 },\n { date: '2016/05/04', count:11 },\n { date: '2016/05/08', count:32 },\n];\n\nconst Demo = () => {\n const [range, setRange] = useState(5)\n return (\n \n setRange(e.target.value)} /> {range}\n }\n rectProps={{\n rx: range\n }}\n />\n
\n )\n};\nexport default Demo\n```\n\n## Tooltip\n\nA simple text popup tip.\n\n```jsx mdx:preview\nimport React from 'react';\nimport Tooltip from '@uiw/react-tooltip';\nimport HeatMap from '@uiw/react-heat-map';\n\nconst value = [\n { date: '2016/01/11', count:2 },\n ...[...Array(17)].map((_, idx) => ({ date: `2016/01/${idx + 10}`, count: idx, })),\n ...[...Array(17)].map((_, idx) => ({ date: `2016/02/${idx + 10}`, count: idx, })),\n { date: '2016/04/12', count:2 },\n { date: '2016/05/01', count:5 },\n { date: '2016/05/02', count:5 },\n { date: '2016/05/03', count:1 },\n { date: '2016/05/04', count:11 },\n { date: '2016/05/08', count:32 },\n];\n\nconst Demo = () => {\n return (\n {\n // if (!data.count) return ;\n return (\n \n \n \n );\n }}\n />\n )\n};\nexport default Demo\n```\n\n## Show/Hide Legend\n\n```jsx mdx:preview\nimport React, { useState } from 'react';\nimport HeatMap from '@uiw/react-heat-map';\n\nconst value = [\n { date: '2016/01/11', count:2 },\n ...[...Array(17)].map((_, idx) => ({ date: `2016/01/${idx + 10}`, count: idx })),\n ...[...Array(17)].map((_, idx) => ({ date: `2016/02/${idx + 10}`, count: idx })),\n { date: '2016/04/12', count:2 },\n { date: '2016/05/01', count:5 },\n { date: '2016/05/02', count:5 },\n { date: '2016/05/03', count:1 },\n { date: '2016/05/04', count:11 },\n { date: '2016/05/08', count:32 },\n];\n\nconst Demo = () => {\n const [size, setSize] = useState(0)\n return (\n \n \n \n
\n )\n};\nexport default Demo\n```\n\n## Selected Rect\n\n```jsx mdx:preview\nimport React, { useState } from 'react';\nimport HeatMap from '@uiw/react-heat-map';\n\nconst value = [\n { date: '2016/01/11', count:2 },\n ...[...Array(17)].map((_, idx) => ({ date: `2016/01/${idx + 10}`, count: idx })),\n ...[...Array(17)].map((_, idx) => ({ date: `2016/02/${idx + 10}`, count: idx })),\n { date: '2016/04/12', count:2 },\n { date: '2016/05/01', count:5 },\n { date: '2016/05/02', count:5 },\n { date: '2016/05/03', count:1 },\n { date: '2016/05/04', count:11 },\n { date: '2016/05/08', count:32 },\n];\n\nconst Demo = () => {\n const [selected, setSelected] = useState('')\n return (\n \n {\n if (selected !== '') {\n props.opacity = data.date === selected ? 1 : 0.45\n }\n return (\n {\n setSelected(data.date === selected ? '' : data.date);\n }} />\n );\n }}\n />\n
\n )\n};\nexport default Demo\n```\n\n## Props\n\n| Property | Description | Type | Default |\n| ---- | ---- | ---- | ---- |\n| value | Data to be displayed, **required** | Array | `[]` |\n| rectSize | Grid size | number | `11` |\n| legendCellSize | Size of the legend cells, in pixel. Value equal to `0` hide legend. | number | `11` |\n| startDate | Start date | Date | `new Date()` |\n| endDate | End date | Date | - |\n| space | Interval between grid sizes | number | `2` |\xa0\n| monthPlacement | position of month labels | `'top' | 'bottom'` | `top` |\xa0\n| rectProps | Grid node attribute settings | `React.SVGProps` | `2` |\n| weekLabels | Week display | string[] | `['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat']` |\xa0\n| monthLabels | Month display | string[] | `['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec']` |\xa0\n| panelColors | Backgroud color of active colors | `Record` | `{ 0: '#EBEDF0', 8: '#7BC96F', 4: '#C6E48B', 12: '#239A3B', 32: '#196127' }` |\xa0\n| rectRender | Single `day` block re-render | `(data: E & { key: number }, valueItem: HeatMapValue & { date: string, column: number, row: number, index: number }) => React.ReactElement` | - |\n| legendRender | Single `legend` block re-render | `(props: React.SVGProps) => React.ReactNode` | - |\n\n## Development\n\n**`development`**\n\nRuns the project in development mode. \n\n```bash\nnpm install\n```\n\n```bash\n# Step 1, run first, listen to the component compile and output the .js file\n# listen for compilation output type .d.ts file\nnpm run watch\n# Step 2, development mode, listen to compile preview website instance\nnpm run start\n```\n\n**`production`**\n\nBuilds the app for production to the build folder.\n\n```bash\nnpm run build\nnpm run doc\n```\n\nThe build is minified and the filenames include the hashes.\nYour app is ready to be deployed!\n\n## Contributors\n\nAs always, thanks to our amazing contributors!\n\n\n \n\n\nMade with [github-action-contributors](https://github.com/jaywcjlove/github-action-contributors).\n\n## License\n\nLicensed under the MIT License.\n",headings:[],headingsList:[]};function Ld(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}var Ud,zd,Wd,qd=r(5895),Hd=r(3287);const Vd=Kt.div(Ud||(Ud=Ld(["\n background-color: #fff;\n border-radius: 5px;\n box-shadow: 0 0 0 1px rgb(16 22 26 / 10%), 0 0 0 rgb(16 22 26 / 0%), 0 1px 1px rgb(16 22 26 / 20%);\n margin: 0 auto;\n margin-top: 70px;\n width: 663px;\n svg {\n border-radius: 5px;\n }\n"]))),Gd=Kt.div(zd||(zd=Ld(["\n user-select: none;\n font-size: 12px;\n margin-top: 10px !important;\n padding: 10px;\n padding-left: 0px;\n border-radius: 5px;\n width: 663px;\n margin: 0 auto;\n label {\n display: flex;\n align-items: center;\n input {\n margin-right: 5px;\n margin-left: 10px;\n }\n }\n"]))),Kd=Kt.div(Wd||(Wd=Ld(["\n display: flex;\n flex-direction: column;\n"]))),Yd=[{date:"2016/01/11",count:2,content:""},...[...Array(17)].map(((e,t)=>({date:"2016/02/".concat(t+10),count:t,content:""}))),{date:"2016/03/02",count:5,content:""},{date:"2016/03/04",count:11,content:""},{date:"2016/03/14",count:31,content:""},{date:"2016/03/16",count:2,content:""},{date:"2016/04/11",count:2,content:""},{date:"2016/05/01",count:5,content:""},{date:"2016/05/02",count:5,content:""},{date:"2016/05/04",count:11,content:""},{date:"2016/05/14",count:31,content:""},{date:"2016/05/16",count:2,content:""},{date:"2016/05/17",count:2,content:""},{date:"2016/05/18",count:2,content:""},{date:"2016/05/19",count:8,content:""},{date:"2016/05/20",count:6,content:""},{date:"2016/05/21",count:41,content:""},{date:"2016/05/22",count:6,content:""},{date:"2016/06/11",count:2,content:""},{date:"2016/07/01",count:5,content:""},{date:"2016/07/02",count:5,content:""},{date:"2016/07/04",count:11,content:""},{date:"2016/07/14",count:31,content:""},{date:"2016/07/16",count:2,content:""},{date:"2016/07/17",count:2,content:""},{date:"2016/07/18",count:2,content:""},{date:"2016/07/19",count:8,content:""},{date:"2016/07/20",count:6,content:""},{date:"2016/07/21",count:41,content:""},{date:"2016/07/22",count:6,content:""},...[...Array(17)].map(((e,t)=>({date:"2016/08/".concat(t+10),count:t,content:""})))],Xd=[{date:"2016/04/02",count:5,content:""},{date:"2016/04/04",count:11,content:""},{date:"2016/04/14",count:31,content:""},{date:"2016/04/16",count:2,content:""},{date:"2016/04/17",count:2,content:""},{date:"2016/04/18",count:2,content:""},{date:"2016/04/19",count:8,content:""},{date:"2016/04/11",count:2,content:""},{date:"2016/04/01",count:5,content:""},{date:"2016/04/02",count:5,content:""},{date:"2016/04/04",count:11,content:""},{date:"2016/04/14",count:31,content:""},{date:"2016/04/16",count:2,content:""},{date:"2016/04/17",count:2,content:""},{date:"2016/04/18",count:2,content:""},{date:"2016/04/19",count:8,content:""},{date:"2016/04/20",count:6,content:""},{date:"2016/04/21",count:41,content:""},{date:"2016/04/22",count:6,content:""}],Jd={0:"rgb(255 255 255 / 25%)",8:"#7BC96F",4:"#C6E48B",12:"#239A3B",32:"#ff7b00"};function $d(){const[e,t]=(0,o.useState)(Yd),[r,n]=(0,o.useState)(),[a,s]=(0,o.useState)(!1),[i,d]=(0,o.useState)(!1),[l,c]=(0,o.useState)(!1),[u,p]=(0,o.useState)(11),[f,g]=(0,o.useState)("top"),[h,m]=(0,o.useState)(),[y,v]=(0,o.useState)(void 0),[b,x]=(0,o.useState)(void 0);return(0,Jt.jsxs)(Kd,{children:[(0,Jt.jsx)(Vd,{children:(0,Jt.jsx)(Hd.default,{style:{backgroundColor:i?"#000":"#fff",color:i?"#888":"#000"},panelColors:i?Jd:void 0,width:663,rectSize:u,legendCellSize:h,weekLabels:y,monthLabels:b,startDate:new Date("2016/01/01"),endDate:a?new Date("2016/6/01"):void 0,monthPlacement:f,value:e,rectProps:{rx:l?5:0,onClick:e=>{n(e.target.dataset.date)}},legendRender:e=>(0,Jt.jsx)("rect",{...e,rx:l?5:0}),rectRender:(e,t)=>(0,Jt.jsx)(qd.default,{placement:"top",content:"count: ".concat(t.count||0),children:(0,Jt.jsx)("rect",{...e})})})}),(0,Jt.jsxs)(Gd,{children:[(0,Jt.jsxs)("div",{style:{paddingLeft:10,paddingBottom:20},children:[(0,Jt.jsx)("button",{onClick:()=>t(Yd),children:"Value 1"}),(0,Jt.jsx)("button",{onClick:()=>t(Xd),children:"Value 2"}),(0,Jt.jsx)("span",{children:r})]}),(0,Jt.jsxs)("label",{children:[(0,Jt.jsx)("input",{type:"checkbox",checked:a,onChange:e=>s(e.target.checked)}),"endDate = ",a?"2016/6/01":"undefined"]}),(0,Jt.jsxs)("label",{children:[(0,Jt.jsx)("input",{type:"checkbox",checked:i,onChange:e=>d(e.target.checked)}),i?"Dark":"Light"]}),(0,Jt.jsxs)("label",{children:[(0,Jt.jsx)("input",{type:"checkbox",checked:l,onChange:e=>c(e.target.checked)}),l?"Circle":"Rect"]}),(0,Jt.jsxs)("label",{style:{marginTop:15},children:[(0,Jt.jsx)("input",{type:"radio",name:"weekLabels",checked:void 0===y,onChange:e=>v(void 0)}),"weekLabels = undefined, Default: ",JSON.stringify(["Sun","Mon","Tue","Wed","Thu","Fri","Sat"])]}),(0,Jt.jsxs)("label",{children:[(0,Jt.jsx)("input",{type:"radio",name:"weekLabels",checked:!1===y,onChange:e=>v(!1)}),"weekLabels = false"]}),(0,Jt.jsxs)("label",{children:[(0,Jt.jsx)("input",{type:"radio",name:"weekLabels",checked:Array.isArray(y),onChange:e=>v(["\u65e5","\u4e00","","\u4e09","","\u4e94","\u516d"])}),"weekLabels = ",JSON.stringify(["\u65e5","\u4e00","","\u4e09","","\u4e94","\u516d"])]}),(0,Jt.jsxs)("label",{style:{marginTop:15},children:[(0,Jt.jsx)("input",{type:"radio",name:"monthLabels",checked:void 0===b,onChange:e=>x(void 0)}),"monthLabels = undefined, Default:"," ",JSON.stringify(["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"])]}),(0,Jt.jsxs)("label",{children:[(0,Jt.jsx)("input",{type:"radio",name:"monthLabels",checked:!1===b,onChange:e=>x(!1)}),"monthLabels = false"]}),(0,Jt.jsxs)("label",{children:[(0,Jt.jsx)("input",{type:"radio",name:"monthLabels",checked:Array.isArray(b),onChange:e=>x(["\u4e00","\u4e8c","\u4e09","\u56db","\u4e94","\u516d","\u4e03","\u516b","\u4e5d","\u5341","\u5341\u4e00","\u5341\u4e8c"])}),"monthLabels = ",JSON.stringify(["\u4e00","\u4e8c","\u4e09","\u56db","\u4e94","\u516d","\u4e03","\u516b","\u4e5d","\u5341","\u5341\u4e00","\u5341\u4e8c"])]}),(0,Jt.jsxs)("div",{style:{display:"flex",marginTop:10},children:[(0,Jt.jsxs)("label",{children:[(0,Jt.jsx)("input",{type:"radio",name:"rectSize",checked:11===u,onChange:e=>p(11)}),"rectSize = 11"]}),(0,Jt.jsxs)("label",{children:[(0,Jt.jsx)("input",{type:"radio",name:"rectSize",checked:12===u,onChange:e=>p(12)}),"rectSize = 12"]}),(0,Jt.jsxs)("label",{children:[(0,Jt.jsx)("input",{type:"radio",name:"rectSize",checked:14===u,onChange:e=>p(14)}),"rectSize = 14"]})]}),(0,Jt.jsxs)("div",{style:{display:"flex",marginTop:16},children:[(0,Jt.jsx)("label",{children:(0,Jt.jsxs)("select",{value:f,onChange:e=>g(e.target.value),children:[(0,Jt.jsx)("option",{value:"top",children:"monthPlacement = top"}),(0,Jt.jsx)("option",{value:"bottom",children:"monthPlacement = bottom"})]})}),(0,Jt.jsxs)("label",{children:[(0,Jt.jsx)("input",{type:"number",value:h||"",onChange:e=>m(Number(e.target.value)||0)}),"legendCellSize = ",h]})]})]})]})}const Zd=Bd.Github,Qd=Bd.Example,el=document.getElementById("root");(0,n.s)(el).render((0,Jt.jsxs)(Bd,{source:Md.source,components:Md.components,data:Md.data,title:"HeatMap for React",description:"React component create calendar heatmap to visualize time series data, a la github contribution graph.",version:"v".concat("2.2.0"),children:[(0,Jt.jsx)(Zd,{href:"https://github.com/uiwjs/react-heat-map"}),(0,Jt.jsx)(Qd,{children:(0,Jt.jsx)($d,{})})]}))},3287:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>R});var n=r(5773),a=r(808),s=r(8573),i=r(4760),o={textAnchor:"middle",fontSize:"inherit",fill:"currentColor"},d=e=>{var{weekLabels:t=[],rectSize:r=0,topPad:n=0,space:a=0}=e;return(0,s.useMemo)((()=>(0,i.jsx)(s.Fragment,{children:[...Array(7)].map(((e,s)=>t&&t[s]?(0,i.jsx)("text",{className:"w-heatmap-week",x:15,y:n,dy:(s+1)*(r+a)-5,style:o,children:t[s]},s):null))})),[r,a,n,t])},l=864e5;function c(e){return e instanceof Date&&!isNaN(e.getTime())}function u(e){return e.getFullYear()+"/"+(e.getMonth()+1)+"/"+e.getDate()}var p=e=>{var{monthLabels:t=[],rectSize:r=0,space:n=0,leftPad:a=0,colNum:d=0,rectY:c=15,startDate:u}=e,p=(0,s.useMemo)((()=>!1===t||d<1?[]:[...Array(7*d)].map(((e,r)=>{if(r/7%1===0){var n=new Date(u.getTime()+r*l),a=n.getMonth();return{col:r/7,index:r,month:a,day:n.getDate(),monthStr:t[a],date:n}}return null})).filter(Boolean).filter(((e,t,r)=>r[t-1]&&r[t-1].month!==e.month))),[d,t,u]);return(0,i.jsx)(s.Fragment,{children:[...p].map(((e,t)=>(0,i.jsx)("text",{"data-size":r,x:a+n+n,y:c,dx:e.col*(r+n),textAnchor:"start",style:o,children:e.monthStr},t)))})},f=["style","value","render","key"],g=e=>{var{style:t,value:r,render:o}=e,d=(0,a.Z)(e,f),l=(0,n.Z)({},d,{style:(0,n.Z)({display:"block",cursor:"pointer"},t)});if(o&&"function"===typeof o){var c=o((0,n.Z)({},l),r);if(c&&s.isValidElement(c))return c}return(0,i.jsx)("rect",(0,n.Z)({},l))},h=["panelColors","leftPad","topPad","rectY","space","rectSize","legendCellSize","legendRender"];function m(e){var{panelColors:t,leftPad:r=0,topPad:o=0,rectY:d=15,space:l=0,rectSize:c=0,legendCellSize:u=0,legendRender:p}=e,f=(0,a.Z)(e,h),m=u||c;return(0,s.useMemo)((()=>(0,i.jsx)(s.Fragment,{children:Object.keys(t||{}).map(((e,a)=>{var s=(0,n.Z)({},f,{key:a,x:(m+1)*a+r,y:d,fill:t[Number(e)],width:m,height:m});return p?p(s):(0,i.jsx)(g,(0,n.Z)({},s))}))})),[t,f,m,d,r,c,p])}var y=e=>{var{transform:t,gridNum:r=0,startY:a=0,panelColors:o={},initStartDate:d,space:p=2,value:f=[],rectSize:h=11,endDate:m,rectProps:y,rectRender:v}=e,b=(0,s.useMemo)((()=>function(e){void 0===e&&(e=[]);var t={};return e.forEach((e=>{e.date&&c(new Date(e.date))&&(e.date=u(new Date(e.date)),t[e.date]=e)})),t}(f)),[f]),x=(0,s.useMemo)((()=>{return void 0===(e=Object.keys(o).map((e=>parseInt(e,10))))&&(e=[]),e.sort(((e,t)=>et?1:0));var e}),[o]);return(0,i.jsx)("g",{transform:t,children:r>0&&[...Array(r)].map(((e,t)=>(0,i.jsx)("g",{"data-column":t,children:[...Array(7)].map(((e,r)=>{var a=new Date(d.getTime()+l*(7*t+r)),s=u(a),c=(0,n.Z)({},b[s],{date:s,row:r,column:t,index:7*t+r}),f=(0,n.Z)({},y,{key:r,fill:"var(--rhm-rect, #EBEDF0)",width:h,height:h,x:t*(h+p),y:(h+p)*r,render:v,value:c});return m instanceof Date&&a.getTime()>m.getTime()?null:(s&&b[s]&&o&&Object.keys(o).length>0?f.fill=function(e,t,r){void 0===e&&(e=0),void 0===r&&(r={});for(var n="",a=0;ae){n=r[t[a]];break}n=r[t[a]]}return n}(b[s].count||0,x,o):o&&o[0]&&(f.fill=o[0]),(0,i.jsx)(g,(0,n.Z)({},f,{value:c,"data-date":s,"data-index":c.index,"data-row":c.row,"data-column":c.column})))}))},t)))})},v=["rectSize","legendCellSize","space","monthPlacement","startDate","endDate","rectProps","rectRender","legendRender","value","weekLabels","monthLabels","panelColors","style"];function b(e){var t=e||{},{rectSize:r=11,legendCellSize:o=11,space:u=2,monthPlacement:f="top",startDate:g=new Date,endDate:h,rectProps:b,rectRender:x,legendRender:R,value:E=[],weekLabels:w=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],monthLabels:j=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],panelColors:S={0:"var(--rhm-rect, #EBEDF0)",8:"#7BC96F",4:"#C6E48B",12:"#239A3B",32:"#196127"},style:T}=t,A=(0,a.Z)(t,v),[C,k]=(0,s.useState)(0),[P,_]=(0,s.useState)(w?28:5),D="top"===f?20:5,[I,O]=(0,s.useState)(j?D:5),N=s.createRef();(0,s.useEffect)((()=>_(w?28:5)),[w]),(0,s.useEffect)((()=>{if(N.current){var e=N.current.clientWidth-P||0;k(Math.floor(e/(r+u))||0)}}),[r,N,u,P]),(0,s.useEffect)((()=>{O(j?D:5)}),[j]);var F=(0,s.useMemo)((()=>{if(c(g))return g.getDay()?new Date(g.getTime()-g.getDay()*l):g;var e=new Date;return new Date(e.getTime()-e.getDay()*l)}),[g]),B="top"===f?15:105+u,M="top"===f?I+8*r+6:(j?I+r+u:I)+8*r+6;return(0,i.jsxs)("svg",(0,n.Z)({ref:N,style:(0,n.Z)({},{color:"var(--rhm-text-color, #24292e)",userSelect:"none",display:"block",fontSize:10},T)},A,{children:[0!==o&&(0,i.jsx)(m,{legendRender:R,panelColors:S,rectSize:r,rectY:M,legendCellSize:o,leftPad:P,topPad:I,space:u}),(0,i.jsx)(d,{weekLabels:w,rectSize:r,space:u,topPad:I}),(0,i.jsx)(p,{monthLabels:j,rectSize:r,space:u,leftPad:P,colNum:C,rectY:B,startDate:F}),(0,i.jsx)(y,{transform:"translate("+P+", "+I+")",gridNum:C,initStartDate:F,endDate:h,rectProps:b,rectSize:r,rectRender:x,panelColors:S,value:E,space:u})]}))}var x=["prefixCls","className"];function R(e){var{prefixCls:t="w-heatmap",className:r}=e,s=(0,a.Z)(e,x),o=[r,t].filter(Boolean).join(" ");return(0,i.jsx)(b,(0,n.Z)({className:o},s))}},3376:function(e){e.exports=function(){"use strict";function e(e,t){if("undefined"===typeof document)return;const r=document.createElement("textarea");r.value=e,r.setAttribute("readonly",""),r.style={position:"absolute",left:"-9999px"},document.body.appendChild(r);const n=document.getSelection().rangeCount>0&&document.getSelection().getRangeAt(0);r.select();let a=!1;try{a=!!document.execCommand("copy")}catch(s){a=!1}document.body.removeChild(r),n&&document.getSelection&&(document.getSelection().removeAllRanges(),document.getSelection().addRange(n)),t&&t(a)}return e}()},5895:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>K});var n=r(5773),a=r(808),s=r(8573);function i(){}function o(e,t){return o=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},o(e,t)}function d(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,o(e,t)}function l(e,t){return e.replace(new RegExp("(^|\\s)"+t+"(?:\\s|$)","g"),"$1").replace(/\s+/g," ").replace(/^\s*|\s*$/g,"")}var c=r(6836);const u=!1,p=s.createContext(null);var f=function(e){return e.scrollTop},g="unmounted",h="exited",m="entering",y="entered",v="exiting",b=function(e){function t(t,r){var n;n=e.call(this,t,r)||this;var a,s=r&&!r.isMounting?t.enter:t.appear;return n.appearStatus=null,t.in?s?(a=h,n.appearStatus=m):a=y:a=t.unmountOnExit||t.mountOnEnter?g:h,n.state={status:a},n.nextCallback=null,n}d(t,e),t.getDerivedStateFromProps=function(e,t){return e.in&&t.status===g?{status:h}:null};var r=t.prototype;return r.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},r.componentDidUpdate=function(e){var t=null;if(e!==this.props){var r=this.state.status;this.props.in?r!==m&&r!==y&&(t=m):r!==m&&r!==y||(t=v)}this.updateStatus(!1,t)},r.componentWillUnmount=function(){this.cancelNextCallback()},r.getTimeouts=function(){var e,t,r,n=this.props.timeout;return e=t=r=n,null!=n&&"number"!==typeof n&&(e=n.exit,t=n.enter,r=void 0!==n.appear?n.appear:t),{exit:e,enter:t,appear:r}},r.updateStatus=function(e,t){if(void 0===e&&(e=!1),null!==t)if(this.cancelNextCallback(),t===m){if(this.props.unmountOnExit||this.props.mountOnEnter){var r=this.props.nodeRef?this.props.nodeRef.current:c.findDOMNode(this);r&&f(r)}this.performEnter(e)}else this.performExit();else this.props.unmountOnExit&&this.state.status===h&&this.setState({status:g})},r.performEnter=function(e){var t=this,r=this.props.enter,n=this.context?this.context.isMounting:e,a=this.props.nodeRef?[n]:[c.findDOMNode(this),n],s=a[0],i=a[1],o=this.getTimeouts(),d=n?o.appear:o.enter;!e&&!r||u?this.safeSetState({status:y},(function(){t.props.onEntered(s)})):(this.props.onEnter(s,i),this.safeSetState({status:m},(function(){t.props.onEntering(s,i),t.onTransitionEnd(d,(function(){t.safeSetState({status:y},(function(){t.props.onEntered(s,i)}))}))})))},r.performExit=function(){var e=this,t=this.props.exit,r=this.getTimeouts(),n=this.props.nodeRef?void 0:c.findDOMNode(this);t&&!u?(this.props.onExit(n),this.safeSetState({status:v},(function(){e.props.onExiting(n),e.onTransitionEnd(r.exit,(function(){e.safeSetState({status:h},(function(){e.props.onExited(n)}))}))}))):this.safeSetState({status:h},(function(){e.props.onExited(n)}))},r.cancelNextCallback=function(){null!==this.nextCallback&&(this.nextCallback.cancel(),this.nextCallback=null)},r.safeSetState=function(e,t){t=this.setNextCallback(t),this.setState(e,t)},r.setNextCallback=function(e){var t=this,r=!0;return this.nextCallback=function(n){r&&(r=!1,t.nextCallback=null,e(n))},this.nextCallback.cancel=function(){r=!1},this.nextCallback},r.onTransitionEnd=function(e,t){this.setNextCallback(t);var r=this.props.nodeRef?this.props.nodeRef.current:c.findDOMNode(this),n=null==e&&!this.props.addEndListener;if(r&&!n){if(this.props.addEndListener){var a=this.props.nodeRef?[this.nextCallback]:[r,this.nextCallback],s=a[0],i=a[1];this.props.addEndListener(s,i)}null!=e&&setTimeout(this.nextCallback,e)}else setTimeout(this.nextCallback,0)},r.render=function(){var e=this.state.status;if(e===g)return null;var t=this.props,r=t.children,n=(t.in,t.mountOnEnter,t.unmountOnExit,t.appear,t.enter,t.exit,t.timeout,t.addEndListener,t.onEnter,t.onEntering,t.onEntered,t.onExit,t.onExiting,t.onExited,t.nodeRef,(0,a.Z)(t,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]));return s.createElement(p.Provider,{value:null},"function"===typeof r?r(e,n):s.cloneElement(s.Children.only(r),n))},t}(s.Component);function x(){}b.contextType=p,b.propTypes={},b.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:x,onEntering:x,onEntered:x,onExit:x,onExiting:x,onExited:x},b.UNMOUNTED=g,b.EXITED=h,b.ENTERING=m,b.ENTERED=y,b.EXITING=v;const R=b;var E=function(e,t){return e&&t&&t.split(" ").forEach((function(t){return n=t,void((r=e).classList?r.classList.remove(n):"string"===typeof r.className?r.className=l(r.className,n):r.setAttribute("class",l(r.className&&r.className.baseVal||"",n)));var r,n}))},w=function(e){function t(){for(var t,r=arguments.length,n=new Array(r),a=0;a()=>{r.current&&n.current&&(n.current.removeChild(r.current),r.current=void 0)}),[]),S?(n.current||(n.current=document.body),r.current||(r.current=document.createElement("div"),n.current.appendChild(r.current)),c.createPortal(e.children,r.current)):null}var A=r(4760),C=["className","style","isOpen","prefixCls","usePortal","maskClosable","backdropProps","portalProps","hasBackdrop","unmountOnExit","timeout","transitionName","onOpening","onOpened","onClosing","onClosed","onClose","onEnter","onExiting","onEntering","onEntered","onExit","children","dialogProps"];function k(e){var{className:t,style:r,isOpen:o=!1,prefixCls:d="w-overlay",usePortal:l=!0,maskClosable:c=!0,backdropProps:u={},portalProps:p={},hasBackdrop:f=!0,unmountOnExit:g=!0,timeout:h=300,transitionName:m="w-overlay",onOpening:y=i,onOpened:v=i,onClosing:b=i,onClosed:x=i,onClose:R=i,onEnter:E=i,onExiting:w=i,onEntering:S=i,onEntered:k=i,onExit:P=i,children:_,dialogProps:D={}}=e,I=(0,a.Z)(e,C),[O,N]=(0,s.useState)(),[F,B]=(0,s.useState)(!1),M=(0,s.useRef)(null),L=(0,s.useRef)(null);(0,s.useEffect)((()=>{O!==e.isOpen&&e.isOpen&&B(!0),O===e.isOpen||e.isOpen||(W(),N(!1))}),[e.isOpen]),(0,s.useEffect)((()=>{F&&(f&&l&&document.body.classList.add(d+"-open"),N(!0))}),[F]);var U="object"===typeof _?(0,s.cloneElement)(_,(0,n.Z)({},D,{style:(0,n.Z)({},_.props.style,D.style),className:[_.props.className,d+"-content"].filter(Boolean).join(" ").trim(),tabIndex:0})):(0,A.jsx)("span",(0,n.Z)({},D,{className:d+"-content",children:_}));function z(e){e.target!==M.current&&l||(c&&f&&(W(),N(!1),R&&R(e)),u&&u.onMouseDown&&u.onMouseDown(e))}function W(){f&&l&&document.body.classList.remove(d+"-open")}var q=(0,A.jsx)(j,(0,n.Z)({classNames:m,unmountOnExit:g,timeout:h,in:O,onEnter:e=>{E(L.current,e)},onEntering:e=>{y(L.current,e),S(L.current)},onEntered:e=>{v(L.current,e),k(L.current)},onExiting:()=>{b(L.current),w(L.current)},onExited:()=>{var e;e=L.current,B(!1),x&&x(e),P(L.current)},nodeRef:L},I,{children:e=>(0,A.jsxs)("div",{style:r,ref:L,className:[d,t,l?null:d+"-inline",O?d+"-enter-done":null].filter(Boolean).join(" ").trim(),children:[f&&(0,s.cloneElement)((0,A.jsx)("div",{}),(0,n.Z)({},u,{onMouseDown:z,className:[d+"-backdrop",u.className].filter(Boolean).join(" ").trim(),tabIndex:c?0:null})),l?(0,A.jsx)("div",{ref:M,onMouseDown:z,className:d+"-container",children:(0,s.cloneElement)(U,{"data-status":e})}):(0,s.cloneElement)(U,{"data-status":e})]})}));return F&&l?(0,A.jsx)(T,(0,n.Z)({},(0,n.Z)({},p),{children:q})):q}function P(e,t){if(t)do{if(t===e)return!0}while(t=t.parentNode);return!1}function _(e){return"function"===typeof HTMLElement?e instanceof HTMLElement:e&&"object"===typeof e&&1===e.nodeType&&"string"===typeof e.nodeName}const D=!("undefined"===typeof window||!window.document||!window.document.createElement)?function(e,t){return e&&e.contains&&"function"===typeof e.contains&&_(t)?e.contains(t):e&&e.compareDocumentPosition&&_(t)?e===t||!!e.compareDocumentPosition(t):P(e,t)}:P;function I(e,t){if("undefined"===typeof window)return 0;var r=t?"scrollTop":"scrollLeft",n=e===window,a=n?e[t?"pageYOffset":"pageXOffset"]:e[r];return n&&"number"!==typeof a&&(a=document.documentElement[r]),a}function O(e,t){var r="x"===t?"Left":"Top",n="Left"===r?"Right":"Bottom";return parseFloat(e["border"+r+"Width"])+parseFloat(e["border"+n+"Width"])}const N="undefined"!==typeof window&&"undefined"!==typeof document;var F=N&&!(!window.MSInputMethodContext||!document.documentMode),B=N&&/MSIE 10/.test(navigator.userAgent);function M(e){return 11===e?F:10===e?B:F||B}function L(e,t,r,n){return Math.max(t["offset"+e],t["scroll"+e],r["client"+e],r["offset"+e],r["scroll"+e],M(10)?parseInt(r["offset"+e],10)+parseInt(n["margin"+("Height"===e?"Top":"Left")],10)+parseInt(n["margin"+("Height"===e?"Bottom":"Right")],10):0)}function U(e){var t={};try{if(M(10)){t=e.getBoundingClientRect();var r=I(e,!0),a=I(e);t.top+=r,t.left+=a,t.bottom+=r,t.right+=a}else t=e.getBoundingClientRect()}catch(f){}var s,i={left:t.left,top:t.top,width:t.right-t.left,height:t.bottom-t.top},o="HTML"===e.nodeName?function(e){var t=e.body,r=e.documentElement,n=getComputedStyle(r);return{height:L("Height",t,r,n),width:L("Width",t,r,n)}}(e.ownerDocument):{},d=o.width||e.clientWidth||i.right-i.left,l=o.height||e.clientHeight||i.bottom-i.top,c=e.offsetWidth-d,u=e.offsetHeight-l;if(i.offsetLeft=e.offsetLeft||e.scrollLeft||0,i.offsetTop=e.offsetTop||e.offsetTop||0,c||u){var p=function(e,t){if(1!==e.nodeType)return[];var r=e.ownerDocument.defaultView.getComputedStyle(e,null);return t?r[t]:r}(e);c-=O(p,"x"),u-=O(p,"y"),i.width-=c,i.height-=u}return s=i,(0,n.Z)({},s,{right:s.left+s.width,bottom:s.top+s.height})}function z(e){var t=e.getBoundingClientRect();return{width:e.offsetWidth||e.scrollWidth||t.width||0,height:e.offsetHeight||e.scrollHeight||t.height||0}}function W(e){var{trigger:t,popup:r,placement:a,usePortal:s,autoAdjustOverflow:i}=e||{},o={left:0,top:0,placement:a};if(!t||!r||!document)return o;var d=Math.max(document.documentElement.clientHeight,window.innerHeight||0),l=Math.max(document.documentElement.clientWidth,window.innerWidth||0);o.placement=a;var c=I(t.ownerDocument.documentElement,!0),u=I(t.ownerDocument.documentElement),p=(0,n.Z)({},U(t),z(t)),f=(0,n.Z)({},U(r),z(r)),g=d-p.bottom,h=l-p.left-p.width;switch(o.top=p.top+c,o.left=p.left,s||(o.top=p.offsetTop,o.left=p.offsetLeft),a&&/^(top)/.test(a)&&(o.top-=f.height),a&&/^(right)/.test(a)&&(o.left+=p.width),a&&/^(bottom)/.test(a)&&(o.top+=p.height),a&&/^(left)/.test(a)&&(o.left-=f.width),o.placement){case"bottomLeft":case"topLeft":case"rightTop":case"leftTop":default:break;case"bottom":case"top":o.left=o.left-(f.width-p.width)/2;break;case"bottomRight":case"topRight":o.left=o.left+u+p.width-f.width;break;case"right":case"left":o.top=o.top-(f.height-p.height)/2;break;case"rightBottom":case"leftBottom":o.top=o.top-f.height+p.height}return i&&(a&&/^(top)/.test(a)&&p.topf.height&&(o.placement=a.replace(/^top/,"bottom"),o.top=o.top+f.height+p.height),a&&/^(bottom)/.test(a)&&gf.height&&(o.placement=a.replace(/^bottom/,"top"),o.top=o.top-f.height-p.height),a&&/^(right)/.test(a)&&he&&"object"===typeof e?e:{show:e,hide:e};const V=s.forwardRef(((e,t)=>{var r,{className:o,prefixCls:d="w-overlay-trigger",usePortal:l=!0,isOutside:c=!1,isClickOutside:u=!0,disabled:p=!1,isOpen:f=!1,trigger:g="hover",placement:h="top",autoAdjustOverflow:m,transitionName:y,children:v,overlay:b,onVisibleChange:x=i,onEnter:R=i}=e,E=(0,a.Z)(e,q),w=(0,s.useRef)(999),j=(0,s.useRef)(),S=(0,s.useRef)(),T=(0,s.useRef)([]),C=(0,s.useRef)(null),[P,_]=(0,s.useState)(!!e.isOpen),[I,O]=(0,s.useState)({placement:h,top:0,bottom:0,left:0,right:0,zIndex:w.current});(0,s.useImperativeHandle)(t,(()=>({hide:()=>K(),show:()=>Y(),overlayDom:S})));var N=s.Children.only(v),F=(0,n.Z)({},E,{placement:h,isOpen:P,dialogProps:{}}),B={};(0,s.useEffect)((()=>(u&&P&&(document&&document.addEventListener("mousedown",L),window.addEventListener("resize",M)),()=>{document&&u&&document.removeEventListener("mousedown",L),window.removeEventListener("resize",M)})),[P]),(0,s.useEffect)((()=>{e.isOpen!==P&&_(!!e.isOpen)}),[e.isOpen]),(0,s.useEffect)((()=>{var e=W({placement:I.placement||h,trigger:j.current,popup:S.current,usePortal:l,autoAdjustOverflow:m});O((0,n.Z)({},e,{zIndex:w.current})),x(P)}),[P]);var M=()=>{P&&(w.current-=1,_(!1),x&&x(!1))},L=e=>{var t=S.current,r=j.current;t&&r&&e.target&&!D(t,e.target)&&!D(r,e.target)&&(w.current-=1,_(!1),x&&x(!1))};function U(){if(T.current.length>0){for(var e of T.current)window.clearTimeout(e);T.current=[]}}function z(){var t;U(),C.current="show";var r=H(e.delay);if(r.show||null!=(t=e.children)&&t.props.disabled){var n=window.setTimeout((()=>{"show"===C.current&&Y()}),r.show);clearTimeout(n),T.current.push(n)}else Y()}function V(t){if(U(),t||!e.isOutside){C.current="hide";var r=H(e.delay);if(r.hide){var n=window.setTimeout((()=>{"hide"===C.current&&K()}),r.hide);T.current.push(n)}else K()}}function G(e,t,r){var n=t.currentTarget,a=t.relatedTarget||t.nativeEvent[r],s=!0;(S.current&&D(S.current,a)||j.current&&D(j.current,a))&&(s=!1),a&&a===n||D(n,a)||e(s,t)}function K(){P&&(w.current<=999?w.current=999:w.current-=1,_(!1))}function Y(){var e;if(!P){var t=null==(e=j.current)?void 0:e.style.zIndex;t?w.current=Number(t)+1:w.current+=1,_(!0)}}return"click"!==g||p||(B.onClick=e=>{var{onClick:t}=N&&s.isValidElement(N)?N.props:{};P?K():Y(),t&&t(e,!P)}),"focus"!==g||p||(B.onFocus=()=>z()),"hover"!==g||p||(B.onMouseOver=B.onMouseEnter=e=>{G(z,e,"fromElement")},B.onMouseOut=B.onMouseLeave=e=>{G(V,e,"toElement")},F.dialogProps&&(F.dialogProps.onMouseLeave=e=>{G(V,e,"toElement")})),F.style=(0,n.Z)({},F.style,I),(0,A.jsxs)(s.Fragment,{children:[(0,s.cloneElement)(N,Object.assign({},N.props,(0,n.Z)({},B,{ref:j,style:(0,n.Z)({},null==(r=N.props)?void 0:r.style,{zIndex:w.current}),className:[N.props.className,p?d+"-disabled":null].filter(Boolean).join(" ").trim()}))),(0,A.jsx)(k,(0,n.Z)({},F,{style:(0,n.Z)({},F.style,I),onEnter:function(e,t){R&&R(e,t);var r=W({placement:I.placement||h,trigger:j.current,popup:S.current,usePortal:l,autoAdjustOverflow:m});O((0,n.Z)({},r,{zIndex:w.current}))},className:[d,o,I.placement].filter(Boolean).join(" ").trim(),usePortal:l,transitionName:y,isOpen:P,hasBackdrop:!1,children:(0,s.cloneElement)(b,Object.assign((0,n.Z)({},b.props,{ref:S,className:[b.props&&b.props.className,h].filter(Boolean).join(" ").trim()})))}))]})}));var G=["prefixCls","className","placement","isOpen","trigger","delay","usePortal","visibleArrow","onVisibleChange"];const K=function(e){void 0===e&&(e={});var{prefixCls:t="w-tooltip",className:r,placement:s="top",isOpen:i=!1,trigger:o,delay:d,usePortal:l=!0,visibleArrow:c=!0,onVisibleChange:u}=e,p=(0,a.Z)(e,G),f=[t,r,c?null:"no-arrow"].filter(Boolean).join(" ").trim();return(0,A.jsx)(V,(0,n.Z)({usePortal:l,isOpen:i,trigger:o,delay:d,onVisibleChange:u,placement:s},p,{overlay:(0,A.jsxs)("div",{className:f,children:[c&&(0,A.jsx)("div",{className:t+"-arrow"}),(0,A.jsx)("div",{className:t+"-inner",children:e.content})]}),children:"object"===typeof e.children?e.children:(0,A.jsx)("span",{children:e.children})}))}},6155:(e,t,r)=>{var n=r(3231).default;const a=document,s="_dark_mode_theme_",i="permanent",o="colorschemechange",d="light",l="dark",c=function(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:t;Object.defineProperty(e,r,{enumerable:!0,get(){const e=this.getAttribute(t);return null===e?"":e},set(e){this.setAttribute(t,e)}})};class u extends HTMLElement{static get observedAttributes(){return["mode",d,l,i]}constructor(){super(),n(this,"LOCAL_NANE",s),this.t()}connectedCallback(){c(this,"mode"),c(this,l),c(this,d),function(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:t;Object.defineProperty(e,r,{enumerable:!0,get(){return this.hasAttribute(t)},set(e){e?this.setAttribute(t,""):this.removeAttribute(t)}})}(this,i);const e=localStorage.getItem(s);e&&[d,l].includes(e)&&(this.mode=e,this.permanent=!0),this.permanent&&!e&&localStorage.setItem(s,this.mode);const t=[d,l].includes(e);this.permanent&&e?this.o():(window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches&&(this.mode=l,this.o()),window.matchMedia&&window.matchMedia("(prefers-color-scheme: light)").matches&&(this.mode=d,this.o())),this.permanent||t||(window.matchMedia("(prefers-color-scheme: light)").onchange=e=>{this.mode=e.matches?d:l,this.o()},window.matchMedia("(prefers-color-scheme: dark)").onchange=e=>{this.mode=e.matches?l:d,this.o()});new MutationObserver(((e,r)=>{this.mode=a.documentElement.dataset.colorMode,this.permanent&&t&&(localStorage.setItem(s,this.mode),this.i("permanentcolorscheme",{permanent:this.permanent})),this.h(),this.i(o,{colorScheme:this.mode})})).observe(a.documentElement,{attributes:!0}),this.i(o,{colorScheme:this.mode}),this.h()}attributeChangedCallback(e,t,r){if("mode"===e&&t!==r&&[d,l].includes(r)){const e=localStorage.getItem(s);this.mode===e?(this.mode=r,this.h(),this.o()):this.mode&&this.mode!==e&&(this.h(),this.o())}else e!==d&&e!==l||t===r||this.h();"permanent"===e&&"boolean"===typeof this.permanent&&(this.permanent?localStorage.setItem(s,this.mode):localStorage.removeItem(s))}o(){a.documentElement.setAttribute("data-color-mode",this.mode)}h(){this.icon.textContent=this.mode===d?"\ud83c\udf12":"\ud83c\udf1e",this.text.textContent=this.mode===d?this.getAttribute(l):this.getAttribute(d),!this.text.textContent&&this.text.parentElement&&this.text&&this.text.parentElement.removeChild(this.text)}t(){var e=this.attachShadow({mode:"open"});this.label=a.createElement("span"),this.label.setAttribute("class","wrapper"),this.label.onclick=()=>{this.mode=this.mode===d?l:d,this.permanent&&localStorage.setItem(s,this.mode),this.o(),this.h()},e.appendChild(this.label),this.icon=a.createElement("span"),this.label.appendChild(this.icon),this.text=a.createElement("span"),this.label.appendChild(this.text);const t="_dark_mode_style_";if(!a.getElementById(t)){var r=a.createElement("style");r.id=t,r.textContent="\n[data-color-mode*='dark'], [data-color-mode*='dark'] body {\n color-scheme: dark;\n --color-theme-bg: #0d1117;\n --color-theme-text: #c9d1d9;\n background-color: var(--color-theme-bg);\n color: var(--color-theme-text);\n}\n\n[data-color-mode*='light'], [data-color-mode*='light'] body {\n color-scheme: light;\n --color-theme-bg: #fff;\n --color-theme-text: #24292f;\n background-color: var(--color-theme-bg);\n color: var(--color-theme-text);\n}",a.head.appendChild(r)}var n=a.createElement("style");n.textContent="\n .wrapper { cursor: pointer; user-select: none; position: relative; }\n .wrapper > span + span { margin-left: .4rem; }\n ",e.appendChild(n)}i(e,t){this.dispatchEvent(new CustomEvent(e,{bubbles:!0,composed:!0,detail:t}))}}customElements.define("dark-mode",u)},4838:(e,t)=>{"use strict";function r(e,t){return(Array.isArray(t)?t:[t]).some((function(t){return"string"===typeof t&&(t=new RegExp(t)),t.test(e||"")}))}},8916:(e,t)=>{"use strict"},7190:e=>{e.exports={trueFunc:function(){return!0},falseFunc:function(){return!1}}},6408:(e,t,r)=>{"use strict";var n=r(4272),a=r(3914),s=function(){function e(){this.pseudos={},this.attrEqualityMods={},this.ruleNestingOperators={},this.substitutesEnabled=!1}return e.prototype.registerSelectorPseudos=function(){for(var e=[],t=0;t{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(6274);t.parseCssSelector=function(e,t,r,a,s,i){var o=e.length,d="";function l(r,a){var s="";for(t++,d=e.charAt(t);t=o)throw Error("Expected symbol but end of file reached.");if(d=e.charAt(t),n.identSpecialChars[d])r+=d;else{if(n.isHex(d)){var a=d;for(t++,d=e.charAt(t);n.isHex(d);)a+=d,t++,d=e.charAt(t);" "===d&&(t++,d=e.charAt(t)),r+=String.fromCharCode(parseInt(a,16));continue}r+=d}}t++,d=e.charAt(t)}return r}function u(){d=e.charAt(t);for(var r=!1;" "===d||"\t"===d||"\n"===d||"\r"===d||"\f"===d;)r=!0,t++,d=e.charAt(t);return r}function p(){var r=f();if(!r)return null;var n=r;for(d=e.charAt(t);","===d;){if(t++,u(),"selectors"!==n.type&&(n={type:"selectors",selectors:[r]}),!(r=f()))throw Error('Rule expected after ",".');n.selectors.push(r)}return n}function f(){u();var r={type:"ruleSet"},n=g();if(!n)return null;for(var a=r;n&&(n.type="rule",a.rule=n,a=n,u(),d=e.charAt(t),!(t>=o||","===d||")"===d));)if(s[d]){var i=d;if(t++,u(),!(n=g()))throw Error('Rule expected after "'+i+'".');n.nestingOperator=i}else(n=g())&&(n.nestingOperator=null);return r}function g(){for(var s=null;t=o)throw Error('Expected "=" but end of file reached.');if("="!==d)throw Error('Expected "=" but "'+d+'" found.');f.operator=g+"=",t++,u();var h="";if(f.valueType="string",'"'===d)h=l('"',n.doubleQuotesEscapeChars);else if("'"===d)h=l("'",n.singleQuoteEscapeChars);else if(i&&"$"===d)t++,h=c(),f.valueType="substitute";else{for(;t=o)throw Error('Expected "]" but end of file reached.');if("]"!==d)throw Error('Expected "]" but "'+d+'" found.');t++,f.value=h}((s=s||{}).attrs=s.attrs||[]).push(f)}else{if(":"!==d)break;t++;var m=c(),y={name:m};if("("===d){t++;var v="";if(u(),"selector"===r[m])y.valueType="selector",v=p();else{if(y.valueType=r[m]||"string",'"'===d)v=l('"',n.doubleQuotesEscapeChars);else if("'"===d)v=l("'",n.singleQuoteEscapeChars);else if(i&&"$"===d)t++,v=c(),y.valueType="substitute";else{for(;t=o)throw Error('Expected ")" but end of file reached.');if(")"!==d)throw Error('Expected ")" but "'+d+'" found.');t++,y.value=v}((s=s||{}).pseudos=s.pseudos||[]).push(y)}return s}return function(){var r=p();if(t{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(6274);t.renderEntity=function e(t){var r="";switch(t.type){case"ruleSet":for(var a=t.rule,s=[];a;)a.nestingOperator&&s.push(a.nestingOperator),s.push(e(a)),a=a.rule;r=s.join(" ");break;case"selectors":r=t.selectors.map(e).join(", ");break;case"rule":t.tagName&&(r="*"===t.tagName?"*":n.escapeIdentifier(t.tagName)),t.id&&(r+="#"+n.escapeIdentifier(t.id)),t.classNames&&(r+=t.classNames.map((function(e){return"."+n.escapeIdentifier(e)})).join("")),t.attrs&&(r+=t.attrs.map((function(e){return"operator"in e?"substitute"===e.valueType?"["+n.escapeIdentifier(e.name)+e.operator+"$"+e.value+"]":"["+n.escapeIdentifier(e.name)+e.operator+n.escapeStr(e.value)+"]":"["+n.escapeIdentifier(e.name)+"]"})).join("")),t.pseudos&&(r+=t.pseudos.map((function(t){return t.valueType?"selector"===t.valueType?":"+n.escapeIdentifier(t.name)+"("+e(t.value)+")":"substitute"===t.valueType?":"+n.escapeIdentifier(t.name)+"($"+t.value+")":"numeric"===t.valueType?":"+n.escapeIdentifier(t.name)+"("+t.value+")":":"+n.escapeIdentifier(t.name)+"("+n.escapeIdentifier(t.value)+")":":"+n.escapeIdentifier(t.name)})).join(""));break;default:throw Error('Unknown entity type: "'+t.type+'".')}return r}},6274:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isIdentStart=function(e){return e>="a"&&e<="z"||e>="A"&&e<="Z"||"-"===e||"_"===e},t.isIdent=function(e){return e>="a"&&e<="z"||e>="A"&&e<="Z"||e>="0"&&e<="9"||"-"===e||"_"===e},t.isHex=function(e){return e>="a"&&e<="f"||e>="A"&&e<="F"||e>="0"&&e<="9"},t.escapeIdentifier=function(e){for(var r=e.length,n="",a=0;a="A"&&s<="Z"||s>="a"&&s<="z"||0!==a&&s>="0"&&s<="9")n+=s;else{var i=s.charCodeAt(0);if(55296===(63488&i)){var o=e.charCodeAt(a++);if(55296!==(64512&i)||56320!==(64512&o))throw Error("UCS-2(decode): illegal sequence");i=((1023&i)<<10)+(1023&o)+65536}n+="\\"+i.toString(16)+" "}a++}return n},t.escapeStr=function(e){for(var r,n=e.length,a="",s=0;s":!0,"?":!0,"@":!0,"[":!0,"\\":!0,"]":!0,"^":!0,"`":!0,"{":!0,"|":!0,"}":!0,"~":!0},t.strReplacementsRev={"\n":"\\n","\r":"\\r","\t":"\\t","\f":"\\f","\v":"\\v"},t.singleQuoteEscapeChars={n:"\n",r:"\r",t:"\t",f:"\f","\\":"\\","'":"'"},t.doubleQuotesEscapeChars={n:"\n",r:"\r",t:"\t",f:"\f","\\":"\\",'"':'"'}},432:e=>{"use strict";var t=Object.prototype.hasOwnProperty,r=Object.prototype.toString,n=Object.defineProperty,a=Object.getOwnPropertyDescriptor,s=function(e){return"function"===typeof Array.isArray?Array.isArray(e):"[object Array]"===r.call(e)},i=function(e){if(!e||"[object Object]"!==r.call(e))return!1;var n,a=t.call(e,"constructor"),s=e.constructor&&e.constructor.prototype&&t.call(e.constructor.prototype,"isPrototypeOf");if(e.constructor&&!a&&!s)return!1;for(n in e);return"undefined"===typeof n||t.call(e,n)},o=function(e,t){n&&"__proto__"===t.name?n(e,t.name,{enumerable:!0,configurable:!0,value:t.newValue,writable:!0}):e[t.name]=t.newValue},d=function(e,r){if("__proto__"===r){if(!t.call(e,r))return;if(a)return a(e,r).value}return e[r]};e.exports=function e(){var t,r,n,a,l,c,u=arguments[0],p=1,f=arguments.length,g=!1;for("boolean"===typeof u&&(g=u,u=arguments[1]||{},p=2),(null==u||"object"!==typeof u&&"function"!==typeof u)&&(u={});p{var t=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,r=/\n/g,n=/^\s*/,a=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,s=/^:\s*/,i=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,o=/^[;\s]*/,d=/^\s+|\s+$/g,l="";function c(e){return e?e.replace(d,l):l}e.exports=function(e,d){if("string"!==typeof e)throw new TypeError("First argument must be a string");if(!e)return[];d=d||{};var u=1,p=1;function f(e){var t=e.match(r);t&&(u+=t.length);var n=e.lastIndexOf("\n");p=~n?e.length-n:p+e.length}function g(){var e={line:u,column:p};return function(t){return t.position=new h(e),b(),t}}function h(e){this.start=e,this.end={line:u,column:p},this.source=d.source}h.prototype.content=e;var m=[];function y(t){var r=new Error(d.source+":"+u+":"+p+": "+t);if(r.reason=t,r.filename=d.source,r.line=u,r.column=p,r.source=e,!d.silent)throw r;m.push(r)}function v(t){var r=t.exec(e);if(r){var n=r[0];return f(n),e=e.slice(n.length),r}}function b(){v(n)}function x(e){var t;for(e=e||[];t=R();)!1!==t&&e.push(t);return e}function R(){var t=g();if("/"==e.charAt(0)&&"*"==e.charAt(1)){for(var r=2;l!=e.charAt(r)&&("*"!=e.charAt(r)||"/"!=e.charAt(r+1));)++r;if(r+=2,l===e.charAt(r-1))return y("End of comment missing");var n=e.slice(2,r-2);return p+=2,f(n),e=e.slice(r),p+=2,t({type:"comment",comment:n})}}function E(){var e=g(),r=v(a);if(r){if(R(),!v(s))return y("property missing ':'");var n=v(i),d=e({type:"declaration",property:c(r[0].replace(t,l)),value:n?c(n[0].replace(t,l)):l});return v(o),d}}return b(),function(){var e,t=[];for(x(t);e=E();)!1!==e&&(t.push(e),x(t));return t}()}},1046:e=>{e.exports=function(e){return null!=e&&null!=e.constructor&&"function"===typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}},5318:(e,t)=>{function r(e){let t,r=[];for(let n of e.split(",").map((e=>e.trim())))if(/^-?\d+$/.test(n))r.push(parseInt(n,10));else if(t=n.match(/^(-?\d+)(-|\.\.\.?|\u2025|\u2026|\u22EF)(-?\d+)$/)){let[e,n,a,s]=t;if(n&&s){n=parseInt(n),s=parseInt(s);const e=n{var t,r,n=e.exports={};function a(){throw new Error("setTimeout has not been defined")}function s(){throw new Error("clearTimeout has not been defined")}function i(e){if(t===setTimeout)return setTimeout(e,0);if((t===a||!t)&&setTimeout)return t=setTimeout,setTimeout(e,0);try{return t(e,0)}catch(r){try{return t.call(null,e,0)}catch(r){return t.call(this,e,0)}}}!function(){try{t="function"===typeof setTimeout?setTimeout:a}catch(e){t=a}try{r="function"===typeof clearTimeout?clearTimeout:s}catch(e){r=s}}();var o,d=[],l=!1,c=-1;function u(){l&&o&&(l=!1,o.length?d=o.concat(d):c=-1,d.length&&p())}function p(){if(!l){var e=i(u);l=!0;for(var t=d.length;t;){for(o=d,d=[];++c1)for(var r=1;r{"use strict";var n=r(6606);function a(){}function s(){}s.resetWarningCache=a,e.exports=function(){function e(e,t,r,a,s,i){if(i!==n){var o=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw o.name="Invariant Violation",o}}function t(){return e}e.isRequired=e;var r={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:s,resetWarningCache:a};return r.PropTypes=r,r}},9308:(e,t,r)=>{e.exports=r(8339)()},6606:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},1117:(e,t)=>{"use strict";var r,n=Symbol.for("react.element"),a=Symbol.for("react.portal"),s=Symbol.for("react.fragment"),i=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),d=Symbol.for("react.provider"),l=Symbol.for("react.context"),c=Symbol.for("react.server_context"),u=Symbol.for("react.forward_ref"),p=Symbol.for("react.suspense"),f=Symbol.for("react.suspense_list"),g=Symbol.for("react.memo"),h=Symbol.for("react.lazy"),m=Symbol.for("react.offscreen");function y(e){if("object"===typeof e&&null!==e){var t=e.$$typeof;switch(t){case n:switch(e=e.type){case s:case o:case i:case p:case f:return e;default:switch(e=e&&e.$$typeof){case c:case l:case u:case h:case g:case d:return e;default:return t}}case a:return t}}}r=Symbol.for("react.module.reference"),t.ContextConsumer=l,t.ContextProvider=d,t.Element=n,t.ForwardRef=u,t.Fragment=s,t.Lazy=h,t.Memo=g,t.Portal=a,t.Profiler=o,t.StrictMode=i,t.Suspense=p,t.SuspenseList=f,t.isAsyncMode=function(){return!1},t.isConcurrentMode=function(){return!1},t.isContextConsumer=function(e){return y(e)===l},t.isContextProvider=function(e){return y(e)===d},t.isElement=function(e){return"object"===typeof e&&null!==e&&e.$$typeof===n},t.isForwardRef=function(e){return y(e)===u},t.isFragment=function(e){return y(e)===s},t.isLazy=function(e){return y(e)===h},t.isMemo=function(e){return y(e)===g},t.isPortal=function(e){return y(e)===a},t.isProfiler=function(e){return y(e)===o},t.isStrictMode=function(e){return y(e)===i},t.isSuspense=function(e){return y(e)===p},t.isSuspenseList=function(e){return y(e)===f},t.isValidElementType=function(e){return"string"===typeof e||"function"===typeof e||e===s||e===o||e===i||e===p||e===f||e===m||"object"===typeof e&&null!==e&&(e.$$typeof===h||e.$$typeof===g||e.$$typeof===d||e.$$typeof===l||e.$$typeof===u||e.$$typeof===r||void 0!==e.getModuleId)},t.typeOf=y},9043:(e,t,r)=>{"use strict";e.exports=r(1117)},6638:(e,t,r)=>{"use strict";e.exports=function(e){var t=this;this.Compiler=function(r){return n(r,Object.assign({},t.data("settings"),e,{extensions:t.data("toMarkdownExtensions")||[]}))}};var n=r(8397)},9528:e=>{"use strict";e.exports=function(e,t){var r,n,a=0,s=0;if("string"!==typeof t||1!==t.length)throw new Error("Expected character");e=String(e),n=e.indexOf(t),r=n;for(;-1!==n;)a++,n===r?a>s&&(s=a):a=1,r=n+1,n=e.indexOf(t,r);return s}},8397:(e,t,r)=>{e.exports=r(4059)},7282:e=>{e.exports=function e(t,r){var n,a=-1;if(r.extensions)for(;++a{e.exports=function(e,t,r){var i=r.enter("blockquote"),o=a(n(e,r),s);return i(),o};var n=r(5162),a=r(2357);function s(e,t,r){return">"+(r?"":" ")+e}},114:(e,t,r)=>{e.exports=function(e,t,r,a){var s=-1;for(;++s{e.exports=function(e,t,r){var c,u,p,f,g=i(r),h=e.value||"",m="`"===g?"GraveAccent":"Tilde";s(e,r)?(p=r.enter("codeIndented"),c=o(h,l)):(u=n(g,Math.max(a(h,g)+1,3)),p=r.enter("codeFenced"),c=u,e.lang&&(f=r.enter("codeFencedLang"+m),c+=d(r,e.lang,{before:"`",after:" ",encode:["`"]}),f()),e.lang&&e.meta&&(f=r.enter("codeFencedMeta"+m),c+=" "+d(r,e.meta,{before:" ",after:"\n",encode:["`"]}),f()),c+="\n",h&&(c+=h+"\n"),c+=u);return p(),c};var n=r(4400),a=r(9528),s=r(6363),i=r(8827),o=r(2357),d=r(4586);function l(e,t,r){return(r?"":" ")+e}},2654:(e,t,r)=>{e.exports=function(e,t,r){var i=a(r),o='"'===i?"Quote":"Apostrophe",d=r.enter("definition"),l=r.enter("label"),c="["+s(r,n(e),{before:"[",after:"]"})+"]: ";l(),!e.url||/[ \t\r\n]/.test(e.url)?(l=r.enter("destinationLiteral"),c+="<"+s(r,e.url,{before:"<",after:">"})+">"):(l=r.enter("destinationRaw"),c+=s(r,e.url,{before:" ",after:" "}));l(),e.title&&(l=r.enter("title"+o),c+=" "+i+s(r,e.title,{before:i,after:i})+i,l());return d(),c};var n=r(2638),a=r(5661),s=r(4586)},2486:(e,t,r)=>{e.exports=s,s.peek=function(e,t,r){return r.options.emphasis||"*"};var n=r(7166),a=r(7462);function s(e,t,r){var s=n(r),i=r.enter("emphasis"),o=a(e,r,{before:s,after:s});return i(),s+o+s}},6216:(e,t,r)=>{e.exports=function(e,t,r){var i,o,d,l,c=Math.max(Math.min(6,e.depth||1),1);if(a(e,r))return i=r.enter("headingSetext"),o=r.enter("phrasing"),d=s(e,r,{before:"\n",after:"\n"}),o(),i(),d+"\n"+n(1===c?"=":"-",d.length-(Math.max(d.lastIndexOf("\r"),d.lastIndexOf("\n"))+1));l=n("#",c),i=r.enter("headingAtx"),o=r.enter("phrasing"),d=(d=s(e,r,{before:"# ",after:"\n"}))?l+" "+d:l,r.options.closeAtx&&(d+=" "+l);return o(),i(),d};var n=r(4400),a=r(4797),s=r(7462)},2841:e=>{function t(e){return e.value||""}e.exports=t,t.peek=function(){return"<"}},4610:(e,t,r)=>{e.exports=s,s.peek=function(){return"!"};var n=r(2638),a=r(4586);function s(e,t,r){var s,i,o=e.referenceType,d=r.enter("imageReference"),l=r.enter("label"),c=a(r,e.alt,{before:"[",after:"]"}),u="!["+c+"]";return l(),i=r.stack,r.stack=[],l=r.enter("reference"),s=a(r,n(e),{before:"[",after:"]"}),l(),r.stack=i,d(),"full"!==o&&c&&c===s?"shortcut"!==o&&(u+="[]"):u+="["+s+"]",u}},7968:(e,t,r)=>{e.exports=s,s.peek=function(){return"!"};var n=r(5661),a=r(4586);function s(e,t,r){var s=n(r),i='"'===s?"Quote":"Apostrophe",o=r.enter("image"),d=r.enter("label"),l="!["+a(r,e.alt,{before:"[",after:"]"})+"](";return d(),!e.url&&e.title||/[ \t\r\n]/.test(e.url)?(d=r.enter("destinationLiteral"),l+="<"+a(r,e.url,{before:"<",after:">"})+">"):(d=r.enter("destinationRaw"),l+=a(r,e.url,{before:"(",after:e.title?" ":")"})),d(),e.title&&(d=r.enter("title"+i),l+=" "+s+a(r,e.title,{before:s,after:s})+s,d()),l+=")",o(),l}},875:(e,t,r)=>{t.blockquote=r(5673),t.break=r(114),t.code=r(854),t.definition=r(2654),t.emphasis=r(2486),t.hardBreak=r(114),t.heading=r(6216),t.html=r(2841),t.image=r(7968),t.imageReference=r(4610),t.inlineCode=r(5197),t.link=r(3215),t.linkReference=r(8134),t.list=r(107),t.listItem=r(3805),t.paragraph=r(2183),t.root=r(2580),t.strong=r(580),t.text=r(9329),t.thematicBreak=r(8369)},5197:(e,t,r)=>{e.exports=a,a.peek=function(){return"`"};var n=r(6020);function a(e,t,r){for(var a,s,i,o,d=e.value||"",l="`",c=-1;new RegExp("(^|[^`])"+l+"([^`]|$)").test(d);)l+="`";for(/[^ \r\n]/.test(d)&&(/[ \r\n`]/.test(d.charAt(0))||/[ \r\n`]/.test(d.charAt(d.length-1)))&&(d=" "+d+" ");++c{e.exports=i,i.peek=function(){return"["};var n=r(2638),a=r(7462),s=r(4586);function i(e,t,r){var i,o,d=e.referenceType,l=r.enter("linkReference"),c=r.enter("label"),u=a(e,r,{before:"[",after:"]"}),p="["+u+"]";return c(),o=r.stack,r.stack=[],c=r.enter("reference"),i=s(r,n(e),{before:"[",after:"]"}),c(),r.stack=o,l(),"full"!==d&&u&&u===i?"shortcut"!==d&&(p+="[]"):p+="["+i+"]",p}},3215:(e,t,r)=>{e.exports=o,o.peek=function(e,t,r){return a(e,r)?"<":"["};var n=r(5661),a=r(2787),s=r(7462),i=r(4586);function o(e,t,r){var o,d,l,c,u=n(r),p='"'===u?"Quote":"Apostrophe";return a(e,r)?(c=r.stack,r.stack=[],o=r.enter("autolink"),l="<"+s(e,r,{before:"<",after:">"})+">",o(),r.stack=c,l):(o=r.enter("link"),d=r.enter("label"),l="["+s(e,r,{before:"[",after:"]"})+"](",d(),!e.url&&e.title||/[ \t\r\n]/.test(e.url)?(d=r.enter("destinationLiteral"),l+="<"+i(r,e.url,{before:"<",after:">"})+">"):(d=r.enter("destinationRaw"),l+=i(r,e.url,{before:"(",after:e.title?" ":")"})),d(),e.title&&(d=r.enter("title"+p),l+=" "+u+i(r,e.title,{before:u,after:u})+u,d()),l+=")",o(),l)}},3805:(e,t,r)=>{e.exports=function(e,t,r){var d,l,c,u=a(r),p=s(r);t&&t.ordered&&(u=(t.start>-1?t.start:1)+(!1===r.options.incrementListMarker?0:t.children.indexOf(e))+".");d=u.length+1,("tab"===p||"mixed"===p&&(t&&t.spread||e.spread))&&(d=4*Math.ceil(d/4));return c=r.enter("listItem"),l=o(i(e,r),(function(e,t,r){if(t)return(r?"":n(" ",d))+e;return(r?u:u+n(" ",d-u.length))+e})),c(),l};var n=r(4400),a=r(7697),s=r(5211),i=r(5162),o=r(2357)},107:(e,t,r)=>{e.exports=function(e,t,r){var a=r.enter("list"),s=n(e,r);return a(),s};var n=r(5162)},2183:(e,t,r)=>{e.exports=function(e,t,r){var a=r.enter("paragraph"),s=r.enter("phrasing"),i=n(e,r,{before:"\n",after:"\n"});return s(),a(),i};var n=r(7462)},2580:(e,t,r)=>{e.exports=function(e,t,r){return n(e,r)};var n=r(5162)},580:(e,t,r)=>{e.exports=s,s.peek=function(e,t,r){return r.options.strong||"*"};var n=r(3312),a=r(7462);function s(e,t,r){var s=n(r),i=r.enter("strong"),o=a(e,r,{before:s,after:s});return i(),s+s+o+s+s}},9329:(e,t,r)=>{e.exports=function(e,t,r,a){return n(r,e.value,a)};var n=r(4586)},8369:(e,t,r)=>{e.exports=function(e,t,r){var i=n(s(r)+(r.options.ruleSpaces?" ":""),a(r));return r.options.ruleSpaces?i.slice(0,-1):i};var n=r(4400),a=r(9095),s=r(6899)},4059:(e,t,r)=>{e.exports=function(e,t){var r,u=t||{},p={enter:function(e){return p.stack.push(e),t;function t(){p.stack.pop()}},stack:[],unsafe:[],join:[],handlers:{},options:{}};a(p,{unsafe:o,join:i,handlers:s}),a(p,u),p.options.tightDefinitions&&(p.join=[c].concat(p.join));p.handle=n("type",{invalid:d,unknown:l,handlers:p.handlers}),(r=p.handle(e,null,p,{before:"\n",after:"\n"}))&&10!==r.charCodeAt(r.length-1)&&13!==r.charCodeAt(r.length-1)&&(r+="\n");return r};var n=r(1569),a=r(7282),s=r(875),i=r(9312),o=r(4459);function d(e){throw new Error("Cannot handle value `"+e+"`, expected node")}function l(e){throw new Error("Cannot handle unknown node `"+e.type+"`")}function c(e,t){if("definition"===e.type&&e.type===t.type)return 0}},9312:(e,t,r)=>{e.exports=[function(e,t,r,s){if("list"===t.type&&t.type===e.type&&Boolean(e.ordered)===Boolean(t.ordered)||"code"===t.type&&n(t,s)&&("list"===e.type||e.type===t.type&&n(e,s)))return!1;if("boolean"===typeof r.spread){if("paragraph"===e.type&&(e.type===t.type||"definition"===t.type||"heading"===t.type&&a(t,s)))return;return r.spread?1:0}}];var n=r(6363),a=r(4797)},4459:e=>{e.exports=[{character:"\t",inConstruct:["codeFencedLangGraveAccent","codeFencedLangTilde"]},{character:"\r",inConstruct:["codeFencedLangGraveAccent","codeFencedLangTilde","codeFencedMetaGraveAccent","codeFencedMetaTilde","destinationLiteral","headingAtx"]},{character:"\n",inConstruct:["codeFencedLangGraveAccent","codeFencedLangTilde","codeFencedMetaGraveAccent","codeFencedMetaTilde","destinationLiteral","headingAtx"]},{character:" ",inConstruct:["codeFencedLangGraveAccent","codeFencedLangTilde"]},{character:"!",after:"\\[",inConstruct:"phrasing"},{character:'"',inConstruct:"titleQuote"},{atBreak:!0,character:"#"},{character:"#",inConstruct:"headingAtx",after:"(?:[\r\n]|$)"},{character:"&",after:"[#A-Za-z]",inConstruct:"phrasing"},{character:"'",inConstruct:"titleApostrophe"},{character:"(",inConstruct:"destinationRaw"},{before:"\\]",character:"(",inConstruct:"phrasing"},{atBreak:!0,before:"\\d+",character:")"},{character:")",inConstruct:"destinationRaw"},{atBreak:!0,character:"*"},{character:"*",inConstruct:"phrasing"},{atBreak:!0,character:"+"},{atBreak:!0,character:"-"},{atBreak:!0,before:"\\d+",character:".",after:"(?:[ \t\r\n]|$)"},{atBreak:!0,character:"<",after:"[!/?A-Za-z]"},{character:"<",after:"[!/?A-Za-z]",inConstruct:"phrasing"},{character:"<",inConstruct:"destinationLiteral"},{atBreak:!0,character:"="},{atBreak:!0,character:">"},{character:">",inConstruct:"destinationLiteral"},{atBreak:!0,character:"["},{character:"[",inConstruct:["phrasing","label","reference"]},{character:"\\",after:"[\\r\\n]",inConstruct:"phrasing"},{character:"]",inConstruct:["label","reference"]},{atBreak:!0,character:"_"},{before:"[^A-Za-z]",character:"_",inConstruct:"phrasing"},{character:"_",after:"[^A-Za-z]",inConstruct:"phrasing"},{atBreak:!0,character:"`"},{character:"`",inConstruct:["codeFencedLangGraveAccent","codeFencedMetaGraveAccent","phrasing"]},{atBreak:!0,character:"~"}]},2638:(e,t,r)=>{e.exports=function(e){if(e.label||!e.identifier)return e.label||"";return e.identifier.replace(a,"$1").replace(s,i)};var n=r(7849),a=/\\([!-/:-@[-`{-~])/g,s=/&(#(\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function i(e,t){return n(t)||e}},7697:e=>{e.exports=function(e){var t=e.options.bullet||"*";if("*"!==t&&"+"!==t&&"-"!==t)throw new Error("Cannot serialize items with `"+t+"` for `options.bullet`, expected `*`, `+`, or `-`");return t}},7166:e=>{e.exports=function(e){var t=e.options.emphasis||"*";if("*"!==t&&"_"!==t)throw new Error("Cannot serialize emphasis with `"+t+"` for `options.emphasis`, expected `*`, or `_`");return t}},8827:e=>{e.exports=function(e){var t=e.options.fence||"`";if("`"!==t&&"~"!==t)throw new Error("Cannot serialize code with `"+t+"` for `options.fence`, expected `` ` `` or `~`");return t}},5211:e=>{e.exports=function(e){var t=e.options.listItemIndent||"tab";if(1===t||"1"===t)return"one";if("tab"!==t&&"one"!==t&&"mixed"!==t)throw new Error("Cannot serialize items with `"+t+"` for `options.listItemIndent`, expected `tab`, `one`, or `mixed`");return t}},5661:e=>{e.exports=function(e){var t=e.options.quote||'"';if('"'!==t&&"'"!==t)throw new Error("Cannot serialize title with `"+t+"` for `options.quote`, expected `\"`, or `'`");return t}},9095:e=>{e.exports=function(e){var t=e.options.ruleRepetition||3;if(t<3)throw new Error("Cannot serialize rules with repetition `"+t+"` for `options.ruleRepetition`, expected `3` or more");return t}},6899:e=>{e.exports=function(e){var t=e.options.rule||"*";if("*"!==t&&"-"!==t&&"_"!==t)throw new Error("Cannot serialize rules with `"+t+"` for `options.rule`, expected `*`, `-`, or `_`");return t}},3312:e=>{e.exports=function(e){var t=e.options.strong||"*";if("*"!==t&&"_"!==t)throw new Error("Cannot serialize strong with `"+t+"` for `options.strong`, expected `*`, or `_`");return t}},5162:(e,t,r)=>{e.exports=function(e,t){var r,a=e.children||[],s=[],i=-1;for(;++i{e.exports=function(e,t,r){var n,a,s,i=e.children||[],o=[],d=-1,l=r.before;for(;++d0&&("\r"===l||"\n"===l)&&"html"===s.type&&(o[o.length-1]=o[o.length-1].replace(/(\r?\n|\r)$/," "),l=" "),o.push(t.handle(s,e,t,{before:l,after:n})),l=o[o.length-1].slice(-1);return o.join("")}},6363:e=>{e.exports=function(e,t){return!t.options.fences&&e.value&&!e.lang&&/[^ \r\n]/.test(e.value)&&!/^[\t ]*(?:[\r\n]|$)|(?:^|[\r\n])[\t ]*$/.test(e.value)}},4797:(e,t,r)=>{e.exports=function(e,t){return t.options.setext&&(!e.depth||e.depth<3)&&n(e)};var n=r(9033)},2787:(e,t,r)=>{e.exports=function(e,t){var r=n(e);return!t.options.resourceLink&&e.url&&!e.title&&e.children&&1===e.children.length&&"text"===e.children[0].type&&(r===e.url||"mailto:"+r===e.url)&&/^[a-z][a-z+.-]+:/i.test(e.url)&&!/[\0- <>\u007F]/.test(e.url)};var n=r(9033)},2357:e=>{e.exports=function(e,r){var n,a=[],s=0,i=0;for(;n=t.exec(e);)o(e.slice(s,n.index)),a.push(n[0]),s=n.index+n[0].length,i++;return o(e.slice(s)),a.join("");function o(e){a.push(r(e,i,!e))}};var t=/\r?\n|\r/g},6020:e=>{e.exports=function(e){var t,r;e._compiled||(t=e.before?"(?:"+e.before+")":"",r=e.after?"(?:"+e.after+")":"",e.atBreak&&(t="[\\r\\n][\\t ]*"+t),e._compiled=new RegExp((t?"("+t+")":"")+(/[|\\{}()[\]^$+*?.-]/.test(e.character)?"\\":"")+e.character+(r||""),"g"));return e._compiled}},9906:e=>{function t(e,t,r){var n;if(!t)return r;for("string"===typeof t&&(t=[t]),n=-1;++n{e.exports=function(e,t,r){var o,d,l,c,u,p,f,g,h=(r.before||"")+(t||"")+(r.after||""),m=[],y=[],v={},b=-1;for(;++b=g||l+1{"use strict";function t(e){return e&&(e.value||e.alt||e.title||"children"in e&&r(e.children)||"length"in e&&r(e))||""}function r(e){for(var r=[],n=-1;++n{"use strict";var t;e.exports=function(e){var r,n="&"+e+";";if((t=t||document.createElement("i")).innerHTML=n,59===(r=t.textContent).charCodeAt(r.length-1)&&"semi"!==e)return!1;return r!==n&&r}},1569:e=>{"use strict";e.exports=function(e,n){var a=n||{};function s(n){var a=s.invalid,i=s.handlers;return n&&r.call(n,e)&&(a=r.call(i,n[e])?i[n[e]]:s.unknown),(a||t).apply(this,arguments)}return s.handlers=a.handlers||{},s.invalid=a.invalid,s.unknown=a.unknown,s};var t=Function.prototype,r={}.hasOwnProperty},8634:(e,t,r)=>{"use strict";var n=r(282),a=r(1676),s=r(6638);e.exports=n().use(a).use(s).freeze()},6415:e=>{"use strict";e.exports=function(e){if(e)throw e}},3731:e=>{"use strict";e.exports=e=>{if("[object Object]"!==Object.prototype.toString.call(e))return!1;const t=Object.getPrototypeOf(e);return null===t||t===Object.prototype}},5715:(e,t,r)=>{"use strict";e.exports=function(e,t,r){"string"!==typeof t&&(r=t,t=void 0);return function(e){var t=e||{},r=function(e,t){var r=-1;for(;++r-1&&(B.call(this,e),M.call(this,e))}function U(){g("atHardBreak",!0)}function z(){var e=this.resume();this.stack[this.stack.length-1].value=e}function W(){var e=this.resume();this.stack[this.stack.length-1].value=e}function q(){var e=this.resume();this.stack[this.stack.length-1].value=e}function H(){var e=this.stack[this.stack.length-1];h("inReference")?(e.type+="Reference",e.referenceType=h("referenceType")||"shortcut",delete e.url,delete e.title):(delete e.identifier,delete e.label,delete e.referenceType),g("referenceType")}function V(){var e=this.stack[this.stack.length-1];h("inReference")?(e.type+="Reference",e.referenceType=h("referenceType")||"shortcut",delete e.url,delete e.title):(delete e.identifier,delete e.label,delete e.referenceType),g("referenceType")}function G(e){this.stack[this.stack.length-2].identifier=i(this.sliceSerialize(e)).toLowerCase()}function K(){var e=this.stack[this.stack.length-1],t=this.resume();this.stack[this.stack.length-1].label=t,g("inReference",!0),"link"===this.stack[this.stack.length-1].type?this.stack[this.stack.length-1].children=e.children:this.stack[this.stack.length-1].alt=t}function Y(){var e=this.resume();this.stack[this.stack.length-1].url=e}function X(){var e=this.resume();this.stack[this.stack.length-1].title=e}function J(){g("inReference")}function $(){g("referenceType","collapsed")}function Z(e){var t=this.resume();this.stack[this.stack.length-1].label=t,this.stack[this.stack.length-1].identifier=i(this.sliceSerialize(e)).toLowerCase(),g("referenceType","full")}function Q(e){g("characterReferenceType",e.type)}function ee(e){var t,r,n=this.sliceSerialize(e),a=h("characterReferenceType");a?(t=o(n,"characterReferenceMarkerNumeric"===a?10:16),g("characterReferenceType")):t=u(n),(r=this.stack.pop()).value+=t,r.position.end=m(e.end)}function te(e){M.call(this,e),this.stack[this.stack.length-1].url=this.sliceSerialize(e)}function re(e){M.call(this,e),this.stack[this.stack.length-1].url="mailto:"+this.sliceSerialize(e)}function ne(){return{type:"blockquote",children:[]}}function ae(){return{type:"code",lang:null,meta:null,value:""}}function se(){return{type:"inlineCode",value:""}}function ie(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function oe(){return{type:"emphasis",children:[]}}function de(){return{type:"heading",depth:void 0,children:[]}}function le(){return{type:"break"}}function ce(){return{type:"html",value:""}}function ue(){return{type:"image",title:null,url:"",alt:null}}function pe(){return{type:"link",title:null,url:"",children:[]}}function fe(e){return{type:"list",ordered:"listOrdered"===e.type,start:null,spread:e._spread,children:[]}}function ge(e){return{type:"listItem",spread:e._spread,checked:null,children:[]}}function he(){return{type:"paragraph",children:[]}}function me(){return{type:"strong",children:[]}}function ye(){return{type:"text",value:""}}function ve(){return{type:"thematicBreak"}}}(r)(c(d(r).document().write(l()(e,t,!0))))};var n=r(8765),a=r(3667),s=r(8025),i=r(4991),o=r(1744),d=r(4751),l=r(5265),c=r(4811),u=r(4537),p=r(6934);function f(e,t){var r,n;for(r in t)n=s.call(e,r)?e[r]:e[r]={},"canContainEols"===r||"transforms"===r?e[r]=[].concat(n,t[r]):Object.assign(n,t[r])}},5184:(e,t,r)=>{"use strict";e.exports=r(5715)},8765:e=>{"use strict";function t(e){return e&&(e.value||e.alt||e.title||"children"in e&&r(e.children)||"length"in e&&r(e))||""}function r(e){for(var r=[],n=-1;++n{"use strict";var t;e.exports=function(e){var r,n="&"+e+";";if((t=t||document.createElement("i")).innerHTML=n,59===(r=t.textContent).charCodeAt(r.length-1)&&"semi"!==e)return!1;return r!==n&&r}},1676:(e,t,r)=>{"use strict";e.exports=function(e){var t=this;this.Parser=function(r){return n(r,Object.assign({},t.data("settings"),e,{extensions:t.data("micromarkExtensions")||[],mdastExtensions:t.data("fromMarkdownExtensions")||[]}))}};var n=r(5184)},6745:(e,t,r)=>{"use strict";var n=r(4918);e.exports=s,s.wrap=n;var a=[].slice;function s(){var e=[],t={run:function(){var t=-1,r=a.call(arguments,0,-1),s=arguments[arguments.length-1];if("function"!==typeof s)throw new Error("Expected function as last argument, not "+s);(function i(o){var d=e[++t],l=a.call(arguments,0).slice(1),c=r.length,u=-1;if(o)s(o);else{for(;++u{"use strict";var t=[].slice;e.exports=function(e,r){var n;return function(){var r,i=t.call(arguments,0),o=e.length>i.length;o&&i.push(a);try{r=e.apply(null,i)}catch(d){if(o&&n)throw d;return a(d)}o||(r&&"function"===typeof r.then?r.then(s,a):r instanceof Error?a(r):s(r))};function a(){n||(n=!0,r.apply(null,arguments))}function s(e){a(null,e)}}},282:(e,t,r)=>{"use strict";var n=r(6415),a=r(1046),s=r(432),i=r(3731),o=r(6745),d=r(9418);e.exports=function e(){var t,r=[],a=o(),v={},b=-1;return x.data=function(e,r){if("string"===typeof e)return 2===arguments.length?(h("data",t),v[e]=r,x):c.call(v,e)&&v[e]||null;if(e)return h("data",t),v=e,x;return v},x.freeze=R,x.attachers=r,x.use=function(e){var n;if(h("use",t),null===e||void 0===e);else if("function"===typeof e)c.apply(null,arguments);else{if("object"!==typeof e)throw new Error("Expected usable value, not `"+e+"`");"length"in e?d(e):a(e)}n&&(v.settings=s(v.settings||{},n));return x;function a(e){d(e.plugins),e.settings&&(n=s(n||{},e.settings))}function o(e){if("function"===typeof e)c(e);else{if("object"!==typeof e)throw new Error("Expected usable value, not `"+e+"`");"length"in e?c.apply(null,e):a(e)}}function d(e){var t=-1;if(null===e||void 0===e);else{if("object"!==typeof e||!("length"in e))throw new Error("Expected a list of plugins, not `"+e+"`");for(;++t{"use strict";var t={}.hasOwnProperty;function r(e){return e&&"object"===typeof e||(e={}),a(e.line)+":"+a(e.column)}function n(e){return e&&"object"===typeof e||(e={}),r(e.start)+"-"+r(e.end)}function a(e){return e&&"number"===typeof e?e:1}e.exports=function(e){if(!e||"object"!==typeof e)return"";if(t.call(e,"position")||t.call(e,"type"))return n(e.position);if(t.call(e,"start")||t.call(e,"end"))return n(e);if(t.call(e,"line")||t.call(e,"column"))return r(e);return""}},851:(e,t,r)=>{"use strict";var n=r(6934);function a(){}e.exports=i,a.prototype=Error.prototype,i.prototype=new a;var s=i.prototype;function i(e,t,r){var a,s,i;"string"===typeof t&&(r=t,t=null),a=function(e){var t,r=[null,null];"string"===typeof e&&(-1===(t=e.indexOf(":"))?r[1]=e:(r[0]=e.slice(0,t),r[1]=e.slice(t+1)));return r}(r),s=n(t)||"1:1",i={start:{line:null,column:null},end:{line:null,column:null}},t&&t.position&&(t=t.position),t&&(t.start?(i=t,t=t.start):i.start=t),e.stack&&(this.stack=e.stack,e=e.message),this.message=e,this.name=s,this.reason=e,this.line=t?t.line:null,this.column=t?t.column:null,this.location=i,this.source=a[0],this.ruleId=a[1]}s.file="",s.name="",s.reason="",s.message="",s.stack="",s.fatal=null,s.column=null,s.line=null},9418:(e,t,r)=>{"use strict";e.exports=r(2276)},8884:(e,t,r)=>{"use strict";var n=r(4322),a=r(8833),s=r(1046);e.exports=d;var i={}.hasOwnProperty,o=["history","path","basename","stem","extname","dirname"];function d(e){var t,r;if(e){if("string"===typeof e||s(e))e={contents:e};else if("message"in e&&"messages"in e)return e}else e={};if(!(this instanceof d))return new d(e);for(this.data={},this.messages=[],this.history=[],this.cwd=a.cwd(),r=-1;++r-1)throw new Error("`"+t+"` cannot be a path: did not expect `"+n.sep+"`")}function c(e,t){if(!e)throw new Error("`"+t+"` cannot be empty")}function u(e,t){if(!e)throw new Error("Setting `"+t+"` requires `path` to be set too")}d.prototype.toString=function(e){return(this.contents||"").toString(e)},Object.defineProperty(d.prototype,"path",{get:function(){return this.history[this.history.length-1]},set:function(e){c(e,"path"),this.path!==e&&this.history.push(e)}}),Object.defineProperty(d.prototype,"dirname",{get:function(){return"string"===typeof this.path?n.dirname(this.path):void 0},set:function(e){u(this.path,"dirname"),this.path=n.join(e||"",this.basename)}}),Object.defineProperty(d.prototype,"basename",{get:function(){return"string"===typeof this.path?n.basename(this.path):void 0},set:function(e){c(e,"basename"),l(e,"basename"),this.path=n.join(this.dirname||"",e)}}),Object.defineProperty(d.prototype,"extname",{get:function(){return"string"===typeof this.path?n.extname(this.path):void 0},set:function(e){if(l(e,"extname"),u(this.path,"extname"),e){if(46!==e.charCodeAt(0))throw new Error("`extname` must start with `.`");if(e.indexOf(".",1)>-1)throw new Error("`extname` cannot contain multiple dots")}this.path=n.join(this.dirname,this.stem+(e||""))}}),Object.defineProperty(d.prototype,"stem",{get:function(){return"string"===typeof this.path?n.basename(this.path,this.extname):void 0},set:function(e){c(e,"stem"),l(e,"stem"),this.path=n.join(this.dirname||"",e+(this.extname||""))}})},2276:(e,t,r)=>{"use strict";var n=r(851),a=r(8884);e.exports=a,a.prototype.message=function(e,t,r){var a=new n(e,t,r);this.path&&(a.name=this.path+":"+a.name,a.file=this.path);return a.fatal=!1,this.messages.push(a),a},a.prototype.info=function(){var e=this.message.apply(this,arguments);return e.fatal=null,e},a.prototype.fail=function(){var e=this.message.apply(this,arguments);throw e.fatal=!0,e}},4322:(e,t)=>{"use strict";function r(e){if("string"!==typeof e)throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}t.basename=function(e,t){var n,a,s,i,o=0,d=-1;if(void 0!==t&&"string"!==typeof t)throw new TypeError('"ext" argument must be a string');if(r(e),n=e.length,void 0===t||!t.length||t.length>e.length){for(;n--;)if(47===e.charCodeAt(n)){if(s){o=n+1;break}}else d<0&&(s=!0,d=n+1);return d<0?"":e.slice(o,d)}if(t===e)return"";a=-1,i=t.length-1;for(;n--;)if(47===e.charCodeAt(n)){if(s){o=n+1;break}}else a<0&&(s=!0,a=n+1),i>-1&&(e.charCodeAt(n)===t.charCodeAt(i--)?i<0&&(d=n):(i=-1,d=a));o===d?d=a:d<0&&(d=e.length);return e.slice(o,d)},t.dirname=function(e){var t,n,a;if(r(e),!e.length)return".";t=-1,a=e.length;for(;--a;)if(47===e.charCodeAt(a)){if(n){t=a;break}}else n||(n=!0);return t<0?47===e.charCodeAt(0)?"/":".":1===t&&47===e.charCodeAt(0)?"//":e.slice(0,t)},t.extname=function(e){var t,n,a,s=-1,i=0,o=-1,d=0;r(e),a=e.length;for(;a--;)if(47!==(n=e.charCodeAt(a)))o<0&&(t=!0,o=a+1),46===n?s<0?s=a:1!==d&&(d=1):s>-1&&(d=-1);else if(t){i=a+1;break}if(s<0||o<0||0===d||1===d&&s===o-1&&s===i+1)return"";return e.slice(s,o)},t.join=function(){var e,t=-1;for(;++t2){if((n=a.lastIndexOf("/"))!==a.length-1){n<0?(a="",s=0):s=(a=a.slice(0,n)).length-1-a.lastIndexOf("/"),i=d,o=0;continue}}else if(a.length){a="",s=0,i=d,o=0;continue}t&&(a=a.length?a+"/..":"..",s=2)}else a.length?a+="/"+e.slice(i+1,d):a=e.slice(i+1,d),s=d-i-1;i=d,o=0}else 46===r&&o>-1?o++:o=-1}return a}(e,!t),n.length||t||(n=".");n.length&&47===e.charCodeAt(e.length-1)&&(n+="/");return t?"/"+n:n}(e)},t.sep="/"},8833:(e,t)=>{"use strict";t.cwd=function(){return"/"}},4400:e=>{"use strict";var t,r="";e.exports=function(e,n){if("string"!==typeof e)throw new TypeError("expected a string");if(1===n)return e;if(2===n)return e+e;var a=e.length*n;if(t!==e||"undefined"===typeof t)t=e,r="";else if(r.length>=a)return r.substr(0,a);for(;a>r.length&&n>1;)1&n&&(r+=e),n>>=1,e+=e;return r=(r+=e).substr(0,a)}},4478:(e,t)=>{"use strict";function r(e,t){var r=e.length;e.push(t);e:for(;0>>1,a=e[n];if(!(0>>1;ns(d,r))ls(c,d)?(e[n]=c,e[l]=r,n=l):(e[n]=d,e[o]=r,n=o);else{if(!(ls(c,r)))break e;e[n]=c,e[l]=r,n=l}}}return t}function s(e,t){var r=e.sortIndex-t.sortIndex;return 0!==r?r:e.id-t.id}if("object"===typeof performance&&"function"===typeof performance.now){var i=performance;t.unstable_now=function(){return i.now()}}else{var o=Date,d=o.now();t.unstable_now=function(){return o.now()-d}}var l=[],c=[],u=1,p=null,f=3,g=!1,h=!1,m=!1,y="function"===typeof setTimeout?setTimeout:null,v="function"===typeof clearTimeout?clearTimeout:null,b="undefined"!==typeof setImmediate?setImmediate:null;function x(e){for(var t=n(c);null!==t;){if(null===t.callback)a(c);else{if(!(t.startTime<=e))break;a(c),t.sortIndex=t.expirationTime,r(l,t)}t=n(c)}}function R(e){if(m=!1,x(e),!h)if(null!==n(l))h=!0,I(E);else{var t=n(c);null!==t&&O(R,t.startTime-e)}}function E(e,r){h=!1,m&&(m=!1,v(T),T=-1),g=!0;var s=f;try{for(x(r),p=n(l);null!==p&&(!(p.expirationTime>r)||e&&!k());){var i=p.callback;if("function"===typeof i){p.callback=null,f=p.priorityLevel;var o=i(p.expirationTime<=r);r=t.unstable_now(),"function"===typeof o?p.callback=o:p===n(l)&&a(l),x(r)}else a(l);p=n(l)}if(null!==p)var d=!0;else{var u=n(c);null!==u&&O(R,u.startTime-r),d=!1}return d}finally{p=null,f=s,g=!1}}"undefined"!==typeof navigator&&void 0!==navigator.scheduling&&void 0!==navigator.scheduling.isInputPending&&navigator.scheduling.isInputPending.bind(navigator.scheduling);var w,j=!1,S=null,T=-1,A=5,C=-1;function k(){return!(t.unstable_now()-Ce||125i?(e.sortIndex=s,r(c,e),null===n(l)&&e===n(c)&&(m?(v(T),T=-1):m=!0,O(R,s-i))):(e.sortIndex=o,r(l,e),h||g||(h=!0,I(E))),e},t.unstable_shouldYield=k,t.unstable_wrapCallback=function(e){var t=f;return function(){var r=f;f=t;try{return e.apply(this,arguments)}finally{f=r}}}},7029:(e,t,r)=>{"use strict";e.exports=r(4478)},1985:e=>{e.exports=function(e,t,r,n){var a=r?r.call(n,e,t):void 0;if(void 0!==a)return!!a;if(e===t)return!0;if("object"!==typeof e||!e||"object"!==typeof t||!t)return!1;var s=Object.keys(e),i=Object.keys(t);if(s.length!==i.length)return!1;for(var o=Object.prototype.hasOwnProperty.bind(t),d=0;d{var n=r(5965);function a(e,t){var r,a=null;if(!e||"string"!==typeof e)return a;for(var s,i,o=n(e),d="function"===typeof t,l=0,c=o.length;l{var n=r(4040);e.exports=function(e,t,r){return(t=n(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e},e.exports.__esModule=!0,e.exports.default=e.exports},6027:(e,t,r)=>{var n=r(7501).default;e.exports=function(e,t){if("object"!==n(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var a=r.call(e,t||"default");if("object"!==n(a))return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)},e.exports.__esModule=!0,e.exports.default=e.exports},4040:(e,t,r)=>{var n=r(7501).default,a=r(6027);e.exports=function(e){var t=a(e,"string");return"symbol"===n(t)?t:String(t)},e.exports.__esModule=!0,e.exports.default=e.exports},7501:e=>{function t(r){return e.exports=t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e.exports.__esModule=!0,e.exports.default=e.exports,t(r)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},872:function(e,t,r){!function(e){"use strict";function t(e,t){return t.forEach((function(t){t&&"string"!==typeof t&&!Array.isArray(t)&&Object.keys(t).forEach((function(r){if("default"!==r&&!(r in e)){var n=Object.getOwnPropertyDescriptor(t,r);Object.defineProperty(e,r,n.get?n:{enumerable:!0,get:function(){return t[r]}})}}))})),Object.freeze(e)}var n=Object.freeze({__proto__:null,get DEFAULT_EXTENSIONS(){return Q7},get File(){return y$},get buildExternalHelpers(){return q$},get createConfigItem(){return H4},get createConfigItemAsync(){return W4},get createConfigItemSync(){return q4},get getEnv(){return iZ},get loadOptions(){return U4},get loadOptionsAsync(){return M4},get loadOptionsSync(){return L4},get loadPartialConfig(){return N4},get loadPartialConfigAsync(){return I4},get loadPartialConfigSync(){return O4},get parse(){return X7},get parseAsync(){return $7},get parseSync(){return J7},get resolvePlugin(){return rZ},get resolvePreset(){return nZ},get template(){return QU},get tokTypes(){return ZM},get transform(){return M7},get transformAsync(){return U7},get transformFile(){return z7},get transformFileAsync(){return q7},get transformFileSync(){return W7},get transformFromAst(){return V7},get transformFromAstAsync(){return K7},get transformFromAstSync(){return G7},get transformSync(){return L7},get traverse(){return cV},get types(){return vR},get version(){return Z7}});function a(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,a,s,i,o=[],d=!0,l=!1;try{if(s=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;d=!1}else for(;!(d=(n=s.call(r)).done)&&(o.push(n.value),o.length!==t);d=!0);}catch(e){l=!0,a=e}finally{try{if(!d&&null!=r.return&&(i=r.return(),Object(i)!==i))return}finally{if(l)throw a}}return o}}function s(){s=function(){return t};var e,t={},r=Object.prototype,n=r.hasOwnProperty,a=Object.defineProperty||function(e,t,r){e[t]=r.value},i="function"==typeof Symbol?Symbol:{},o=i.iterator||"@@iterator",d=i.asyncIterator||"@@asyncIterator",l=i.toStringTag||"@@toStringTag";function c(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,r){return e[t]=r}}function u(e,t,r,n){var s=t&&t.prototype instanceof v?t:v,i=Object.create(s.prototype),o=new _(n||[]);return a(i,"_invoke",{value:A(e,r,o)}),i}function p(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}t.wrap=u;var f="suspendedStart",g="suspendedYield",h="executing",m="completed",y={};function v(){}function b(){}function x(){}var R={};c(R,o,(function(){return this}));var E=Object.getPrototypeOf,w=E&&E(E(D([])));w&&w!==r&&n.call(w,o)&&(R=w);var j=x.prototype=v.prototype=Object.create(R);function S(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function T(e,t){function r(a,s,i,o){var d=p(e[a],e,s);if("throw"!==d.type){var l=d.arg,c=l.value;return c&&"object"==typeof c&&n.call(c,"__await")?t.resolve(c.__await).then((function(e){r("next",e,i,o)}),(function(e){r("throw",e,i,o)})):t.resolve(c).then((function(e){l.value=e,i(l)}),(function(e){return r("throw",e,i,o)}))}o(d.arg)}var s;a(this,"_invoke",{value:function(e,n){function a(){return new t((function(t,a){r(e,n,t,a)}))}return s=s?s.then(a,a):a()}})}function A(t,r,n){var a=f;return function(s,i){if(a===h)throw new Error("Generator is already running");if(a===m){if("throw"===s)throw i;return{value:e,done:!0}}for(n.method=s,n.arg=i;;){var o=n.delegate;if(o){var d=C(o,n);if(d){if(d===y)continue;return d}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(a===f)throw a=m,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);a=h;var l=p(t,r,n);if("normal"===l.type){if(a=n.done?m:g,l.arg===y)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(a=m,n.method="throw",n.arg=l.arg)}}}function C(t,r){var n=r.method,a=t.iterator[n];if(a===e)return r.delegate=null,"throw"===n&&t.iterator.return&&(r.method="return",r.arg=e,C(t,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),y;var s=p(a,t.iterator,r.arg);if("throw"===s.type)return r.method="throw",r.arg=s.arg,r.delegate=null,y;var i=s.arg;return i?i.done?(r[t.resultName]=i.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,y):i:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,y)}function k(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function P(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function _(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(k,this),this.reset(!0)}function D(t){if(t||""===t){var r=t[o];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var a=-1,s=function r(){for(;++a=0;--s){var i=this.tryEntries[s],o=i.completion;if("root"===i.tryLoc)return a("end");if(i.tryLoc<=this.prev){var d=n.call(i,"catchLoc"),l=n.call(i,"finallyLoc");if(d&&l){if(this.prev=0;--r){var a=this.tryEntries[r];if(a.tryLoc<=this.prev&&n.call(a,"finallyLoc")&&this.prev=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),P(r),y}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var a=n.arg;P(r)}return a}}throw new Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:D(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),y}},t}function i(e,t,r,n,a,s,i){try{var o=e[s](i),d=o.value}catch(RQ){return void r(RQ)}o.done?t(d):Promise.resolve(d).then(n,a)}function o(e){return function(){var t=this,r=arguments;return new Promise((function(n,a){var s=e.apply(t,r);function o(e){i(s,n,a,o,d,"next",e)}function d(e){i(s,n,a,o,d,"throw",e)}o(void 0)}))}}function d(e,t){for(var r=0;r=0||(a[r]=e[r]);return a}function v(e,t){if(null==e)return{};var r,n,a=y(e,t);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}function b(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function x(e,t){return t||(t=e.slice(0)),e.raw=t,e}function R(e,t){return j(e)||a(e,t)||T(e,t)||k()}function E(e){return w(e)||S(e)||T(e)||C()}function w(e){if(Array.isArray(e))return A(e)}function j(e){if(Array.isArray(e))return e}function S(e){if("undefined"!==typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}function T(e,t){if(e){if("string"===typeof e)return A(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?A(e,t):void 0}}function A(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r=e.length?{done:!0}:{done:!1,value:e[n++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function _(e,t){if("object"!==typeof e||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!==typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}function D(e){var t=_(e,"string");return"symbol"===typeof t?t:String(t)}var I=["Identifier","JSXIdentifier"],O=["MemberExpression"],N=["Identifier"],F=["Statement"],B=["Expression"],M=["Scopable","Pattern"],L=null,U=null,z=["VariableDeclaration"],W=null,q=null,H=null,V=["Flow","ImportDeclaration","ExportDeclaration","ImportSpecifier"],G=["RestElement"],K=["RestElement"],Y=["ExistsTypeAnnotation"],X=["NumberLiteralTypeAnnotation"],J=["ForOfStatement"],$=Object.freeze({__proto__:null,BindingIdentifier:N,BlockScoped:U,ExistentialTypeParam:Y,Expression:B,Flow:V,ForAwaitStatement:J,Generated:q,NumericLiteralTypeAnnotation:X,Pure:H,Referenced:L,ReferencedIdentifier:I,ReferencedMemberExpression:O,RestProperty:G,Scope:M,SpreadProperty:K,Statement:F,User:W,Var:z});function Z(e,t){for(var r=0,n=Object.keys(t);ra.length)return!1;for(var i=0,o=s.length-1;i1)for(var r=1;re)return!1;if((r+=t[n+1])>=e)return!0}return!1}function Vi(e){return e<65?36===e:e<=90||(e<97?95===e:e<=122||(e<=65535?e>=170&&Ui.test(String.fromCharCode(e)):Hi(e,Wi)))}function Gi(e){return e<48?36===e:e<58||!(e<65)&&(e<=90||(e<97?95===e:e<=122||(e<=65535?e>=170&&zi.test(String.fromCharCode(e)):Hi(e,Wi)||Hi(e,qi))))}function Ki(e){for(var t=!0,r=0;r=48&&e<=57},so={decBinOct:new Set([46,66,69,79,95,98,101,111]),hex:new Set([46,88,95,120])},io={bin:function(e){return 48===e||49===e},oct:function(e){return e>=48&&e<=55},dec:function(e){return e>=48&&e<=57},hex:function(e){return e>=48&&e<=57||e>=65&&e<=70||e>=97&&e<=102}};function oo(e,t,r,n,a,s){for(var i=r,o=n,d=a,l="",c=null,u=r,p=t.length;;){if(r>=p){s.unterminated(i,o,d),l+=t.slice(u,r);break}var f=t.charCodeAt(r);if(lo(e,f,t,r)){l+=t.slice(u,r);break}if(92===f){l+=t.slice(u,r);var g=co(t,r,n,a,"template"===e,s);null!==g.ch||c?l+=g.ch:c={pos:r,lineStart:n,curLine:a},r=g.pos,n=g.lineStart,a=g.curLine,u=r}else 8232===f||8233===f?(++a,n=++r):10===f||13===f?"template"===e?(l+=t.slice(u,r)+"\n",++r,13===f&&10===t.charCodeAt(r)&&++r,++a,u=n=r):s.unterminated(i,o,d):++r}return{pos:r,str:l,firstInvalidLoc:c,lineStart:n,curLine:a,containsInvalid:!!c}}function lo(e,t,r,n){return"template"===e?96===t||36===t&&123===r.charCodeAt(n+1):t===("double"===e?34:39)}function co(e,t,r,n,a,s){var i=!a;t++;var o=function(e){return{pos:t,ch:e,lineStart:r,curLine:n}},d=e.charCodeAt(t++);switch(d){case 110:return o("\n");case 114:return o("\r");case 120:var l,c=uo(e,t,r,n,2,!1,i,s);return l=c.code,t=c.pos,o(null===l?null:String.fromCharCode(l));case 117:var u,p=fo(e,t,r,n,i,s);return u=p.code,t=p.pos,o(null===u?null:String.fromCodePoint(u));case 116:return o("\t");case 98:return o("\b");case 118:return o("\v");case 102:return o("\f");case 13:10===e.charCodeAt(t)&&++t;case 10:r=t,++n;case 8232:case 8233:return o("");case 56:case 57:if(a)return o(null);s.strictNumericEscape(t-1,r,n);default:if(d>=48&&d<=55){var f=t-1,g=e.slice(f,t+2).match(/^[0-7]+/)[0],h=parseInt(g,8);h>255&&(g=g.slice(0,-1),h=parseInt(g,8)),t+=g.length-1;var m=e.charCodeAt(t);if("0"!==g||56===m||57===m){if(a)return o(null);s.strictNumericEscape(f,r,n)}return o(String.fromCharCode(h))}return o(String.fromCharCode(d))}}function uo(e,t,r,n,a,s,i,o){var d,l=t,c=po(e,t,r,n,16,a,s,!1,o,!i);return d=c.n,t=c.pos,null===d&&(i?o.invalidEscapeSequence(l,r,n):t=l-1),{code:d,pos:t}}function po(e,t,r,n,a,s,i,o,d,l){for(var c=t,u=16===a?so.hex:so.decBinOct,p=16===a?io.hex:10===a?io.dec:8===a?io.oct:io.bin,f=!1,g=0,h=0,m=null==s?1/0:s;h=97?y-97+10:y>=65?y-65+10:ao(y)?y-48:1/0)>=a){if(v<=9&&l)return{n:null,pos:t};if(v<=9&&d.invalidDigit(t,r,n,a))v=0;else{if(!i)break;v=0,f=!0}}++t,g=g*a+v}else{var b=e.charCodeAt(t-1),x=e.charCodeAt(t+1);if(o){if(Number.isNaN(x)||!p(x)||u.has(b)||u.has(x)){if(l)return{n:null,pos:t};d.unexpectedNumericSeparator(t,r,n)}}else{if(l)return{n:null,pos:t};d.numericSeparatorInEscapeSequence(t,r,n)}++t}}return t===c||null!=s&&t-c!==s||f?{n:null,pos:t}:{n:g,pos:t}}function fo(e,t,r,n,a,s){var i;if(123===e.charCodeAt(t)){var o=uo(e,++t,r,n,e.indexOf("}",t)-t,!0,a,s);if(i=o.code,t=o.pos,++t,null!==i&&i>1114111){if(!a)return{code:null,pos:t};s.invalidCodePoint(t,r,n)}}else{var d=uo(e,t,r,n,4,!1,a,s);i=d.code,t=d.pos}return{code:i,pos:t}}var go=["consequent","body","alternate"],ho=["body","expressions"],mo=["left","init"],yo=["leadingComments","trailingComments","innerComments"],vo=["||","&&","??"],bo=["++","--"],xo=[">","<",">=","<="],Ro=["==","===","!=","!=="],Eo=[].concat(Ro,["in","instanceof"]),wo=[].concat(E(Eo),xo),jo=["-","/","%","*","**","&","|",">>",">>>","<<","^"],So=["+"].concat(jo,E(wo),["|>"]),To=["=","+="].concat(E(jo.map((function(e){return e+"="}))),E(vo.map((function(e){return e+"="})))),Ao=["delete","!"],Co=["+","-","~"],ko=["typeof"],Po=["void","throw"].concat(Ao,Co,ko),_o={optional:["typeAnnotation","typeParameters","returnType"],force:["start","loc","end"]},Do=Symbol.for("var used to be block scoped"),Io=Symbol.for("should not be considered a local binding"),Oo={},No={},Fo={},Bo={},Mo={},Lo={},Uo={};function zo(e){return Array.isArray(e)?"array":null===e?"null":typeof e}function Wo(e){return{validate:e}}function qo(e){return"string"===typeof e?Zo(e):Zo.apply(void 0,E(e))}function Ho(e){return Wo(qo(e))}function Vo(e){return{validate:e,optional:!0}}function Go(e){return{validate:qo(e),optional:!0}}function Ko(e){return nd(ed("array"),Jo(e))}function Yo(e){return Ko(qo(e))}function Xo(e){return Wo(Yo(e))}function Jo(e){function t(t,r,n){if(Array.isArray(n))for(var a=0;a=2&&"type"in t[0]&&"array"===t[0].type&&!("each"in t[1]))throw new Error('An assertValueType("array") validator can only be followed by an assertEach(...) validator.');return n}var ad=["aliases","builder","deprecatedAlias","fields","inherits","visitor","validate"],sd=["default","optional","deprecated","validate"],id={};function od(){for(var e=arguments.length,t=new Array(e),r=0;r0:d&&"object"===typeof d)throw new Error("field defaults can only be primitives or empty arrays currently");n[i]={default:Array.isArray(d)?[]:d,optional:o.optional,deprecated:o.deprecated,validate:o.validate}}for(var l=t.visitor||r.visitor||[],c=t.aliases||r.aliases||[],u=t.builder||r.builder||t.visitor||[],p=0,f=Object.keys(t);p+s+1)throw new TypeError("RestElement must be last element of "+a)}}}),ld("ReturnStatement",{visitor:["argument"],aliases:["Statement","Terminatorless","CompletionStatement"],fields:{argument:{validate:Zo("Expression"),optional:!0}}}),ld("SequenceExpression",{visitor:["expressions"],fields:{expressions:{validate:nd(ed("array"),Jo(Zo("Expression")))}},aliases:["Expression"]}),ld("ParenthesizedExpression",{visitor:["expression"],aliases:["Expression","ExpressionWrapper"],fields:{expression:{validate:Zo("Expression")}}}),ld("SwitchCase",{visitor:["test","consequent"],fields:{test:{validate:Zo("Expression"),optional:!0},consequent:{validate:nd(ed("array"),Jo(Zo("Statement")))}}}),ld("SwitchStatement",{visitor:["discriminant","cases"],aliases:["Statement","BlockParent","Scopable"],fields:{discriminant:{validate:Zo("Expression")},cases:{validate:nd(ed("array"),Jo(Zo("SwitchCase")))}}}),ld("ThisExpression",{aliases:["Expression"]}),ld("ThrowStatement",{visitor:["argument"],aliases:["Statement","Terminatorless","CompletionStatement"],fields:{argument:{validate:Zo("Expression")}}}),ld("TryStatement",{visitor:["block","handler","finalizer"],aliases:["Statement"],fields:{block:{validate:nd(Zo("BlockStatement"),Object.assign((function(e){if(ki.env.BABEL_TYPES_8_BREAKING&&!e.handler&&!e.finalizer)throw new TypeError("TryStatement expects either a handler or finalizer, or both")}),{oneOfNodeTypes:["BlockStatement"]}))},handler:{optional:!0,validate:Zo("CatchClause")},finalizer:{optional:!0,validate:Zo("BlockStatement")}}}),ld("UnaryExpression",{builder:["operator","argument","prefix"],fields:{prefix:{default:!0},argument:{validate:Zo("Expression")},operator:{validate:$o.apply(void 0,E(Po))}},visitor:["argument"],aliases:["UnaryLike","Expression"]}),ld("UpdateExpression",{builder:["operator","argument","prefix"],fields:{prefix:{default:!1},argument:{validate:ki.env.BABEL_TYPES_8_BREAKING?Zo("Identifier","MemberExpression"):Zo("Expression")},operator:{validate:$o.apply(void 0,E(bo))}},visitor:["argument"],aliases:["Expression"]}),ld("VariableDeclaration",{builder:["kind","declarations"],visitor:["declarations"],aliases:["Statement","Declaration"],fields:{declare:{validate:ed("boolean"),optional:!0},kind:{validate:$o("var","let","const","using","await using")},declarations:{validate:nd(ed("array"),Jo(Zo("VariableDeclarator")))}},validate:function(e,t,r){if(ki.env.BABEL_TYPES_8_BREAKING&&Bi("ForXStatement",e,{left:r})&&1!==r.declarations.length)throw new TypeError("Exactly one VariableDeclarator is required in the VariableDeclaration of a "+e.type)}}),ld("VariableDeclarator",{visitor:["id","init"],fields:{id:{validate:function(){if(!ki.env.BABEL_TYPES_8_BREAKING)return Zo("LVal");var e=Zo("Identifier","ArrayPattern","ObjectPattern"),t=Zo("Identifier");return function(r,n,a){(r.init?e:t)(r,n,a)}}()},definite:{optional:!0,validate:ed("boolean")},init:{optional:!0,validate:Zo("Expression")}}}),ld("WhileStatement",{visitor:["test","body"],aliases:["Statement","BlockParent","Loop","While","Scopable"],fields:{test:{validate:Zo("Expression")},body:{validate:Zo("Statement")}}}),ld("WithStatement",{visitor:["object","body"],aliases:["Statement"],fields:{object:{validate:Zo("Expression")},body:{validate:Zo("Statement")}}}),ld("AssignmentPattern",{visitor:["left","right","decorators"],builder:["left","right"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},fd(),{left:{validate:Zo("Identifier","ObjectPattern","ArrayPattern","MemberExpression","TSAsExpression","TSSatisfiesExpression","TSTypeAssertion","TSNonNullExpression")},right:{validate:Zo("Expression")},decorators:{validate:nd(ed("array"),Jo(Zo("Decorator"))),optional:!0}})}),ld("ArrayPattern",{visitor:["elements","typeAnnotation"],builder:["elements"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},fd(),{elements:{validate:nd(ed("array"),Jo(Qo("null","PatternLike","LVal")))}})}),ld("ArrowFunctionExpression",{builder:["params","body","async"],visitor:["params","body","returnType","typeParameters"],aliases:["Scopable","Function","BlockParent","FunctionParent","Expression","Pureish"],fields:Object.assign({},cd(),ud(),{expression:{validate:ed("boolean")},body:{validate:Zo("BlockStatement","Expression")},predicate:{validate:Zo("DeclaredPredicate","InferredPredicate"),optional:!0}})}),ld("ClassBody",{visitor:["body"],fields:{body:{validate:nd(ed("array"),Jo(Zo("ClassMethod","ClassPrivateMethod","ClassProperty","ClassPrivateProperty","ClassAccessorProperty","TSDeclareMethod","TSIndexSignature","StaticBlock")))}}}),ld("ClassExpression",{builder:["id","superClass","body","decorators"],visitor:["id","body","superClass","mixins","typeParameters","superTypeParameters","implements","decorators"],aliases:["Scopable","Class","Expression"],fields:{id:{validate:Zo("Identifier"),optional:!0},typeParameters:{validate:Zo("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:!0},body:{validate:Zo("ClassBody")},superClass:{optional:!0,validate:Zo("Expression")},superTypeParameters:{validate:Zo("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:!0},implements:{validate:nd(ed("array"),Jo(Zo("TSExpressionWithTypeArguments","ClassImplements"))),optional:!0},decorators:{validate:nd(ed("array"),Jo(Zo("Decorator"))),optional:!0},mixins:{validate:Zo("InterfaceExtends"),optional:!0}}}),ld("ClassDeclaration",{inherits:"ClassExpression",aliases:["Scopable","Class","Statement","Declaration"],fields:{id:{validate:Zo("Identifier"),optional:!0},typeParameters:{validate:Zo("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:!0},body:{validate:Zo("ClassBody")},superClass:{optional:!0,validate:Zo("Expression")},superTypeParameters:{validate:Zo("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:!0},implements:{validate:nd(ed("array"),Jo(Zo("TSExpressionWithTypeArguments","ClassImplements"))),optional:!0},decorators:{validate:nd(ed("array"),Jo(Zo("Decorator"))),optional:!0},mixins:{validate:Zo("InterfaceExtends"),optional:!0},declare:{validate:ed("boolean"),optional:!0},abstract:{validate:ed("boolean"),optional:!0}},validate:function(){var e=Zo("Identifier");return function(t,r,n){ki.env.BABEL_TYPES_8_BREAKING&&(Bi("ExportDefaultDeclaration",t)||e(n,"id",n.id))}}()}),ld("ExportAllDeclaration",{builder:["source"],visitor:["source","attributes","assertions"],aliases:["Statement","Declaration","ImportOrExportDeclaration","ExportDeclaration"],fields:{source:{validate:Zo("StringLiteral")},exportKind:Vo($o("type","value")),attributes:{optional:!0,validate:nd(ed("array"),Jo(Zo("ImportAttribute")))},assertions:{optional:!0,validate:nd(ed("array"),Jo(Zo("ImportAttribute")))}}}),ld("ExportDefaultDeclaration",{visitor:["declaration"],aliases:["Statement","Declaration","ImportOrExportDeclaration","ExportDeclaration"],fields:{declaration:{validate:Zo("TSDeclareFunction","FunctionDeclaration","ClassDeclaration","Expression")},exportKind:Vo($o("value"))}}),ld("ExportNamedDeclaration",{builder:["declaration","specifiers","source"],visitor:["declaration","specifiers","source","attributes","assertions"],aliases:["Statement","Declaration","ImportOrExportDeclaration","ExportDeclaration"],fields:{declaration:{optional:!0,validate:nd(Zo("Declaration"),Object.assign((function(e,t,r){if(ki.env.BABEL_TYPES_8_BREAKING&&r&&e.specifiers.length)throw new TypeError("Only declaration or specifiers is allowed on ExportNamedDeclaration")}),{oneOfNodeTypes:["Declaration"]}),(function(e,t,r){if(ki.env.BABEL_TYPES_8_BREAKING&&r&&e.source)throw new TypeError("Cannot export a declaration from a source")}))},attributes:{optional:!0,validate:nd(ed("array"),Jo(Zo("ImportAttribute")))},assertions:{optional:!0,validate:nd(ed("array"),Jo(Zo("ImportAttribute")))},specifiers:{default:[],validate:nd(ed("array"),Jo(function(){var e=Zo("ExportSpecifier","ExportDefaultSpecifier","ExportNamespaceSpecifier"),t=Zo("ExportSpecifier");return ki.env.BABEL_TYPES_8_BREAKING?function(r,n,a){(r.source?e:t)(r,n,a)}:e}()))},source:{validate:Zo("StringLiteral"),optional:!0},exportKind:Vo($o("type","value"))}}),ld("ExportSpecifier",{visitor:["local","exported"],aliases:["ModuleSpecifier"],fields:{local:{validate:Zo("Identifier")},exported:{validate:Zo("Identifier","StringLiteral")},exportKind:{validate:$o("type","value"),optional:!0}}}),ld("ForOfStatement",{visitor:["left","right","body"],builder:["left","right","body","await"],aliases:["Scopable","Statement","For","BlockParent","Loop","ForXStatement"],fields:{left:{validate:function(){if(!ki.env.BABEL_TYPES_8_BREAKING)return Zo("VariableDeclaration","LVal");var e=Zo("VariableDeclaration"),t=Zo("Identifier","MemberExpression","ArrayPattern","ObjectPattern","TSAsExpression","TSSatisfiesExpression","TSTypeAssertion","TSNonNullExpression");return function(r,n,a){Bi("VariableDeclaration",a)?e(r,n,a):t(r,n,a)}}()},right:{validate:Zo("Expression")},body:{validate:Zo("Statement")},await:{default:!1}}}),ld("ImportDeclaration",{builder:["specifiers","source"],visitor:["specifiers","source","attributes","assertions"],aliases:["Statement","Declaration","ImportOrExportDeclaration"],fields:{attributes:{optional:!0,validate:nd(ed("array"),Jo(Zo("ImportAttribute")))},assertions:{optional:!0,validate:nd(ed("array"),Jo(Zo("ImportAttribute")))},module:{optional:!0,validate:ed("boolean")},phase:{default:null,validate:$o("source","defer")},specifiers:{validate:nd(ed("array"),Jo(Zo("ImportSpecifier","ImportDefaultSpecifier","ImportNamespaceSpecifier")))},source:{validate:Zo("StringLiteral")},importKind:{validate:$o("type","typeof","value"),optional:!0}}}),ld("ImportDefaultSpecifier",{visitor:["local"],aliases:["ModuleSpecifier"],fields:{local:{validate:Zo("Identifier")}}}),ld("ImportNamespaceSpecifier",{visitor:["local"],aliases:["ModuleSpecifier"],fields:{local:{validate:Zo("Identifier")}}}),ld("ImportSpecifier",{visitor:["local","imported"],aliases:["ModuleSpecifier"],fields:{local:{validate:Zo("Identifier")},imported:{validate:Zo("Identifier","StringLiteral")},importKind:{validate:$o("type","typeof","value"),optional:!0}}}),ld("ImportExpression",{visitor:["source","options"],aliases:["Expression"],fields:{phase:{default:null,validate:$o("source","defer")},source:{validate:Zo("Expression")},options:{validate:Zo("Expression"),optional:!0}}}),ld("MetaProperty",{visitor:["meta","property"],aliases:["Expression"],fields:{meta:{validate:nd(Zo("Identifier"),Object.assign((function(e,t,r){if(ki.env.BABEL_TYPES_8_BREAKING){var n;switch(r.name){case"function":n="sent";break;case"new":n="target";break;case"import":n="meta"}if(!Bi("Identifier",e.property,{name:n}))throw new TypeError("Unrecognised MetaProperty")}}),{oneOfNodeTypes:["Identifier"]}))},property:{validate:Zo("Identifier")}}});var gd=function(){return{abstract:{validate:ed("boolean"),optional:!0},accessibility:{validate:$o("public","private","protected"),optional:!0},static:{default:!1},override:{default:!1},computed:{default:!1},optional:{validate:ed("boolean"),optional:!0},key:{validate:nd(function(){var e=Zo("Identifier","StringLiteral","NumericLiteral"),t=Zo("Expression");return function(r,n,a){(r.computed?t:e)(r,n,a)}}(),Zo("Identifier","StringLiteral","NumericLiteral","BigIntLiteral","Expression"))}}},hd=function(){return Object.assign({},cd(),gd(),{params:{validate:nd(ed("array"),Jo(Zo("Identifier","Pattern","RestElement","TSParameterProperty")))},kind:{validate:$o("get","set","method","constructor"),default:"method"},access:{validate:nd(ed("string"),$o("public","private","protected")),optional:!0},decorators:{validate:nd(ed("array"),Jo(Zo("Decorator"))),optional:!0}})};ld("ClassMethod",{aliases:["Function","Scopable","BlockParent","FunctionParent","Method"],builder:["kind","key","params","body","computed","static","generator","async"],visitor:["key","params","body","decorators","returnType","typeParameters"],fields:Object.assign({},hd(),ud(),{body:{validate:Zo("BlockStatement")}})}),ld("ObjectPattern",{visitor:["properties","typeAnnotation","decorators"],builder:["properties"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},fd(),{properties:{validate:nd(ed("array"),Jo(Zo("RestElement","ObjectProperty")))}})}),ld("SpreadElement",{visitor:["argument"],aliases:["UnaryLike"],deprecatedAlias:"SpreadProperty",fields:{argument:{validate:Zo("Expression")}}}),ld("Super",{aliases:["Expression"]}),ld("TaggedTemplateExpression",{visitor:["tag","quasi","typeParameters"],builder:["tag","quasi"],aliases:["Expression"],fields:{tag:{validate:Zo("Expression")},quasi:{validate:Zo("TemplateLiteral")},typeParameters:{validate:Zo("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:!0}}}),ld("TemplateElement",{builder:["value","tail"],fields:{value:{validate:nd(td({raw:{validate:ed("string")},cooked:{validate:ed("string"),optional:!0}}),(function(e){var t=e.value.raw,r=!1,n=function(){throw new Error("Internal @babel/types error.")},a=oo("template",t,0,0,0,{unterminated:function(){r=!0},strictNumericEscape:n,invalidEscapeSequence:n,numericSeparatorInEscapeSequence:n,unexpectedNumericSeparator:n,invalidDigit:n,invalidCodePoint:n}),s=a.str,i=a.firstInvalidLoc;if(!r)throw new Error("Invalid raw");e.value.cooked=i?null:s}))},tail:{default:!1}}}),ld("TemplateLiteral",{visitor:["quasis","expressions"],aliases:["Expression","Literal"],fields:{quasis:{validate:nd(ed("array"),Jo(Zo("TemplateElement")))},expressions:{validate:nd(ed("array"),Jo(Zo("Expression","TSType")),(function(e,t,r){if(e.quasis.length!==r.length+1)throw new TypeError("Number of "+e.type+" quasis should be exactly one more than the number of expressions.\nExpected "+(r.length+1)+" quasis but got "+e.quasis.length)}))}}}),ld("YieldExpression",{builder:["argument","delegate"],visitor:["argument"],aliases:["Expression","Terminatorless"],fields:{delegate:{validate:nd(ed("boolean"),Object.assign((function(e,t,r){if(ki.env.BABEL_TYPES_8_BREAKING&&r&&!e.argument)throw new TypeError("Property delegate of YieldExpression cannot be true if there is no argument")}),{type:"boolean"})),default:!1},argument:{optional:!0,validate:Zo("Expression")}}}),ld("AwaitExpression",{builder:["argument"],visitor:["argument"],aliases:["Expression","Terminatorless"],fields:{argument:{validate:Zo("Expression")}}}),ld("Import",{aliases:["Expression"]}),ld("BigIntLiteral",{builder:["value"],fields:{value:{validate:ed("string")}},aliases:["Expression","Pureish","Literal","Immutable"]}),ld("ExportNamespaceSpecifier",{visitor:["exported"],aliases:["ModuleSpecifier"],fields:{exported:{validate:Zo("Identifier")}}}),ld("OptionalMemberExpression",{builder:["object","property","computed","optional"],visitor:["object","property"],aliases:["Expression"],fields:{object:{validate:Zo("Expression")},property:{validate:function(){var e=Zo("Identifier"),t=Zo("Expression"),r=Object.assign((function(r,n,a){(r.computed?t:e)(r,n,a)}),{oneOfNodeTypes:["Expression","Identifier"]});return r}()},computed:{default:!1},optional:{validate:ki.env.BABEL_TYPES_8_BREAKING?nd(ed("boolean"),rd()):ed("boolean")}}}),ld("OptionalCallExpression",{visitor:["callee","arguments","typeParameters","typeArguments"],builder:["callee","arguments","optional"],aliases:["Expression"],fields:{callee:{validate:Zo("Expression")},arguments:{validate:nd(ed("array"),Jo(Zo("Expression","SpreadElement","JSXNamespacedName","ArgumentPlaceholder")))},optional:{validate:ki.env.BABEL_TYPES_8_BREAKING?nd(ed("boolean"),rd()):ed("boolean")},typeArguments:{validate:Zo("TypeParameterInstantiation"),optional:!0},typeParameters:{validate:Zo("TSTypeParameterInstantiation"),optional:!0}}}),ld("ClassProperty",{visitor:["key","value","typeAnnotation","decorators"],builder:["key","value","typeAnnotation","decorators","computed","static"],aliases:["Property"],fields:Object.assign({},gd(),{value:{validate:Zo("Expression"),optional:!0},definite:{validate:ed("boolean"),optional:!0},typeAnnotation:{validate:Zo("TypeAnnotation","TSTypeAnnotation","Noop"),optional:!0},decorators:{validate:nd(ed("array"),Jo(Zo("Decorator"))),optional:!0},readonly:{validate:ed("boolean"),optional:!0},declare:{validate:ed("boolean"),optional:!0},variance:{validate:Zo("Variance"),optional:!0}})}),ld("ClassAccessorProperty",{visitor:["key","value","typeAnnotation","decorators"],builder:["key","value","typeAnnotation","decorators","computed","static"],aliases:["Property","Accessor"],fields:Object.assign({},gd(),{key:{validate:nd(function(){var e=Zo("Identifier","StringLiteral","NumericLiteral","BigIntLiteral","PrivateName"),t=Zo("Expression");return function(r,n,a){(r.computed?t:e)(r,n,a)}}(),Zo("Identifier","StringLiteral","NumericLiteral","BigIntLiteral","Expression","PrivateName"))},value:{validate:Zo("Expression"),optional:!0},definite:{validate:ed("boolean"),optional:!0},typeAnnotation:{validate:Zo("TypeAnnotation","TSTypeAnnotation","Noop"),optional:!0},decorators:{validate:nd(ed("array"),Jo(Zo("Decorator"))),optional:!0},readonly:{validate:ed("boolean"),optional:!0},declare:{validate:ed("boolean"),optional:!0},variance:{validate:Zo("Variance"),optional:!0}})}),ld("ClassPrivateProperty",{visitor:["key","value","decorators","typeAnnotation"],builder:["key","value","decorators","static"],aliases:["Property","Private"],fields:{key:{validate:Zo("PrivateName")},value:{validate:Zo("Expression"),optional:!0},typeAnnotation:{validate:Zo("TypeAnnotation","TSTypeAnnotation","Noop"),optional:!0},decorators:{validate:nd(ed("array"),Jo(Zo("Decorator"))),optional:!0},static:{validate:ed("boolean"),default:!1},readonly:{validate:ed("boolean"),optional:!0},definite:{validate:ed("boolean"),optional:!0},variance:{validate:Zo("Variance"),optional:!0}}}),ld("ClassPrivateMethod",{builder:["kind","key","params","body","static"],visitor:["key","params","body","decorators","returnType","typeParameters"],aliases:["Function","Scopable","BlockParent","FunctionParent","Method","Private"],fields:Object.assign({},hd(),ud(),{kind:{validate:$o("get","set","method"),default:"method"},key:{validate:Zo("PrivateName")},body:{validate:Zo("BlockStatement")}})}),ld("PrivateName",{visitor:["id"],aliases:["Private"],fields:{id:{validate:Zo("Identifier")}}}),ld("StaticBlock",{visitor:["body"],fields:{body:{validate:nd(ed("array"),Jo(Zo("Statement")))}},aliases:["Scopable","BlockParent","FunctionParent"]});var md=od("Flow"),yd=function(e){var t="DeclareClass"===e;md(e,{builder:["id","typeParameters","extends","body"],visitor:["id","typeParameters","extends"].concat(E(t?["mixins","implements"]:[]),["body"]),aliases:["FlowDeclaration","Statement","Declaration"],fields:Object.assign({id:Ho("Identifier"),typeParameters:Go("TypeParameterDeclaration"),extends:Vo(Yo("InterfaceExtends"))},t?{mixins:Vo(Yo("InterfaceExtends")),implements:Vo(Yo("ClassImplements"))}:{},{body:Ho("ObjectTypeAnnotation")})})};md("AnyTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]}),md("ArrayTypeAnnotation",{visitor:["elementType"],aliases:["FlowType"],fields:{elementType:Ho("FlowType")}}),md("BooleanTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]}),md("BooleanLiteralTypeAnnotation",{builder:["value"],aliases:["FlowType"],fields:{value:Wo(ed("boolean"))}}),md("NullLiteralTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]}),md("ClassImplements",{visitor:["id","typeParameters"],fields:{id:Ho("Identifier"),typeParameters:Go("TypeParameterInstantiation")}}),yd("DeclareClass"),md("DeclareFunction",{visitor:["id"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:Ho("Identifier"),predicate:Go("DeclaredPredicate")}}),yd("DeclareInterface"),md("DeclareModule",{builder:["id","body","kind"],visitor:["id","body"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:Ho(["Identifier","StringLiteral"]),body:Ho("BlockStatement"),kind:Vo($o("CommonJS","ES"))}}),md("DeclareModuleExports",{visitor:["typeAnnotation"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{typeAnnotation:Ho("TypeAnnotation")}}),md("DeclareTypeAlias",{visitor:["id","typeParameters","right"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:Ho("Identifier"),typeParameters:Go("TypeParameterDeclaration"),right:Ho("FlowType")}}),md("DeclareOpaqueType",{visitor:["id","typeParameters","supertype"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:Ho("Identifier"),typeParameters:Go("TypeParameterDeclaration"),supertype:Go("FlowType"),impltype:Go("FlowType")}}),md("DeclareVariable",{visitor:["id"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:Ho("Identifier")}}),md("DeclareExportDeclaration",{visitor:["declaration","specifiers","source"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{declaration:Go("Flow"),specifiers:Vo(Yo(["ExportSpecifier","ExportNamespaceSpecifier"])),source:Go("StringLiteral"),default:Vo(ed("boolean"))}}),md("DeclareExportAllDeclaration",{visitor:["source"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{source:Ho("StringLiteral"),exportKind:Vo($o("type","value"))}}),md("DeclaredPredicate",{visitor:["value"],aliases:["FlowPredicate"],fields:{value:Ho("Flow")}}),md("ExistsTypeAnnotation",{aliases:["FlowType"]}),md("FunctionTypeAnnotation",{visitor:["typeParameters","params","rest","returnType"],aliases:["FlowType"],fields:{typeParameters:Go("TypeParameterDeclaration"),params:Wo(Yo("FunctionTypeParam")),rest:Go("FunctionTypeParam"),this:Go("FunctionTypeParam"),returnType:Ho("FlowType")}}),md("FunctionTypeParam",{visitor:["name","typeAnnotation"],fields:{name:Go("Identifier"),typeAnnotation:Ho("FlowType"),optional:Vo(ed("boolean"))}}),md("GenericTypeAnnotation",{visitor:["id","typeParameters"],aliases:["FlowType"],fields:{id:Ho(["Identifier","QualifiedTypeIdentifier"]),typeParameters:Go("TypeParameterInstantiation")}}),md("InferredPredicate",{aliases:["FlowPredicate"]}),md("InterfaceExtends",{visitor:["id","typeParameters"],fields:{id:Ho(["Identifier","QualifiedTypeIdentifier"]),typeParameters:Go("TypeParameterInstantiation")}}),yd("InterfaceDeclaration"),md("InterfaceTypeAnnotation",{visitor:["extends","body"],aliases:["FlowType"],fields:{extends:Vo(Yo("InterfaceExtends")),body:Ho("ObjectTypeAnnotation")}}),md("IntersectionTypeAnnotation",{visitor:["types"],aliases:["FlowType"],fields:{types:Wo(Yo("FlowType"))}}),md("MixedTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]}),md("EmptyTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]}),md("NullableTypeAnnotation",{visitor:["typeAnnotation"],aliases:["FlowType"],fields:{typeAnnotation:Ho("FlowType")}}),md("NumberLiteralTypeAnnotation",{builder:["value"],aliases:["FlowType"],fields:{value:Wo(ed("number"))}}),md("NumberTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]}),md("ObjectTypeAnnotation",{visitor:["properties","indexers","callProperties","internalSlots"],aliases:["FlowType"],builder:["properties","indexers","callProperties","internalSlots","exact"],fields:{properties:Wo(Yo(["ObjectTypeProperty","ObjectTypeSpreadProperty"])),indexers:{validate:Yo("ObjectTypeIndexer"),optional:!0,default:[]},callProperties:{validate:Yo("ObjectTypeCallProperty"),optional:!0,default:[]},internalSlots:{validate:Yo("ObjectTypeInternalSlot"),optional:!0,default:[]},exact:{validate:ed("boolean"),default:!1},inexact:Vo(ed("boolean"))}}),md("ObjectTypeInternalSlot",{visitor:["id","value","optional","static","method"],aliases:["UserWhitespacable"],fields:{id:Ho("Identifier"),value:Ho("FlowType"),optional:Wo(ed("boolean")),static:Wo(ed("boolean")),method:Wo(ed("boolean"))}}),md("ObjectTypeCallProperty",{visitor:["value"],aliases:["UserWhitespacable"],fields:{value:Ho("FlowType"),static:Wo(ed("boolean"))}}),md("ObjectTypeIndexer",{visitor:["id","key","value","variance"],aliases:["UserWhitespacable"],fields:{id:Go("Identifier"),key:Ho("FlowType"),value:Ho("FlowType"),static:Wo(ed("boolean")),variance:Go("Variance")}}),md("ObjectTypeProperty",{visitor:["key","value","variance"],aliases:["UserWhitespacable"],fields:{key:Ho(["Identifier","StringLiteral"]),value:Ho("FlowType"),kind:Wo($o("init","get","set")),static:Wo(ed("boolean")),proto:Wo(ed("boolean")),optional:Wo(ed("boolean")),variance:Go("Variance"),method:Wo(ed("boolean"))}}),md("ObjectTypeSpreadProperty",{visitor:["argument"],aliases:["UserWhitespacable"],fields:{argument:Ho("FlowType")}}),md("OpaqueType",{visitor:["id","typeParameters","supertype","impltype"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:Ho("Identifier"),typeParameters:Go("TypeParameterDeclaration"),supertype:Go("FlowType"),impltype:Ho("FlowType")}}),md("QualifiedTypeIdentifier",{visitor:["id","qualification"],fields:{id:Ho("Identifier"),qualification:Ho(["Identifier","QualifiedTypeIdentifier"])}}),md("StringLiteralTypeAnnotation",{builder:["value"],aliases:["FlowType"],fields:{value:Wo(ed("string"))}}),md("StringTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]}),md("SymbolTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]}),md("ThisTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]}),md("TupleTypeAnnotation",{visitor:["types"],aliases:["FlowType"],fields:{types:Wo(Yo("FlowType"))}}),md("TypeofTypeAnnotation",{visitor:["argument"],aliases:["FlowType"],fields:{argument:Ho("FlowType")}}),md("TypeAlias",{visitor:["id","typeParameters","right"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:Ho("Identifier"),typeParameters:Go("TypeParameterDeclaration"),right:Ho("FlowType")}}),md("TypeAnnotation",{visitor:["typeAnnotation"],fields:{typeAnnotation:Ho("FlowType")}}),md("TypeCastExpression",{visitor:["expression","typeAnnotation"],aliases:["ExpressionWrapper","Expression"],fields:{expression:Ho("Expression"),typeAnnotation:Ho("TypeAnnotation")}}),md("TypeParameter",{visitor:["bound","default","variance"],fields:{name:Wo(ed("string")),bound:Go("TypeAnnotation"),default:Go("FlowType"),variance:Go("Variance")}}),md("TypeParameterDeclaration",{visitor:["params"],fields:{params:Wo(Yo("TypeParameter"))}}),md("TypeParameterInstantiation",{visitor:["params"],fields:{params:Wo(Yo("FlowType"))}}),md("UnionTypeAnnotation",{visitor:["types"],aliases:["FlowType"],fields:{types:Wo(Yo("FlowType"))}}),md("Variance",{builder:["kind"],fields:{kind:Wo($o("minus","plus"))}}),md("VoidTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]}),md("EnumDeclaration",{aliases:["Statement","Declaration"],visitor:["id","body"],fields:{id:Ho("Identifier"),body:Ho(["EnumBooleanBody","EnumNumberBody","EnumStringBody","EnumSymbolBody"])}}),md("EnumBooleanBody",{aliases:["EnumBody"],visitor:["members"],fields:{explicitType:Wo(ed("boolean")),members:Xo("EnumBooleanMember"),hasUnknownMembers:Wo(ed("boolean"))}}),md("EnumNumberBody",{aliases:["EnumBody"],visitor:["members"],fields:{explicitType:Wo(ed("boolean")),members:Xo("EnumNumberMember"),hasUnknownMembers:Wo(ed("boolean"))}}),md("EnumStringBody",{aliases:["EnumBody"],visitor:["members"],fields:{explicitType:Wo(ed("boolean")),members:Xo(["EnumStringMember","EnumDefaultedMember"]),hasUnknownMembers:Wo(ed("boolean"))}}),md("EnumSymbolBody",{aliases:["EnumBody"],visitor:["members"],fields:{members:Xo("EnumDefaultedMember"),hasUnknownMembers:Wo(ed("boolean"))}}),md("EnumBooleanMember",{aliases:["EnumMember"],visitor:["id"],fields:{id:Ho("Identifier"),init:Ho("BooleanLiteral")}}),md("EnumNumberMember",{aliases:["EnumMember"],visitor:["id","init"],fields:{id:Ho("Identifier"),init:Ho("NumericLiteral")}}),md("EnumStringMember",{aliases:["EnumMember"],visitor:["id","init"],fields:{id:Ho("Identifier"),init:Ho("StringLiteral")}}),md("EnumDefaultedMember",{aliases:["EnumMember"],visitor:["id"],fields:{id:Ho("Identifier")}}),md("IndexedAccessType",{visitor:["objectType","indexType"],aliases:["FlowType"],fields:{objectType:Ho("FlowType"),indexType:Ho("FlowType")}}),md("OptionalIndexedAccessType",{visitor:["objectType","indexType"],aliases:["FlowType"],fields:{objectType:Ho("FlowType"),indexType:Ho("FlowType"),optional:Wo(ed("boolean"))}});var vd=od("JSX");vd("JSXAttribute",{visitor:["name","value"],aliases:["Immutable"],fields:{name:{validate:Zo("JSXIdentifier","JSXNamespacedName")},value:{optional:!0,validate:Zo("JSXElement","JSXFragment","StringLiteral","JSXExpressionContainer")}}}),vd("JSXClosingElement",{visitor:["name"],aliases:["Immutable"],fields:{name:{validate:Zo("JSXIdentifier","JSXMemberExpression","JSXNamespacedName")}}}),vd("JSXElement",{builder:["openingElement","closingElement","children","selfClosing"],visitor:["openingElement","children","closingElement"],aliases:["Immutable","Expression"],fields:Object.assign({openingElement:{validate:Zo("JSXOpeningElement")},closingElement:{optional:!0,validate:Zo("JSXClosingElement")},children:{validate:nd(ed("array"),Jo(Zo("JSXText","JSXExpressionContainer","JSXSpreadChild","JSXElement","JSXFragment")))}},{selfClosing:{validate:ed("boolean"),optional:!0}})}),vd("JSXEmptyExpression",{}),vd("JSXExpressionContainer",{visitor:["expression"],aliases:["Immutable"],fields:{expression:{validate:Zo("Expression","JSXEmptyExpression")}}}),vd("JSXSpreadChild",{visitor:["expression"],aliases:["Immutable"],fields:{expression:{validate:Zo("Expression")}}}),vd("JSXIdentifier",{builder:["name"],fields:{name:{validate:ed("string")}}}),vd("JSXMemberExpression",{visitor:["object","property"],fields:{object:{validate:Zo("JSXMemberExpression","JSXIdentifier")},property:{validate:Zo("JSXIdentifier")}}}),vd("JSXNamespacedName",{visitor:["namespace","name"],fields:{namespace:{validate:Zo("JSXIdentifier")},name:{validate:Zo("JSXIdentifier")}}}),vd("JSXOpeningElement",{builder:["name","attributes","selfClosing"],visitor:["name","attributes"],aliases:["Immutable"],fields:{name:{validate:Zo("JSXIdentifier","JSXMemberExpression","JSXNamespacedName")},selfClosing:{default:!1},attributes:{validate:nd(ed("array"),Jo(Zo("JSXAttribute","JSXSpreadAttribute")))},typeParameters:{validate:Zo("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:!0}}}),vd("JSXSpreadAttribute",{visitor:["argument"],fields:{argument:{validate:Zo("Expression")}}}),vd("JSXText",{aliases:["Immutable"],builder:["value"],fields:{value:{validate:ed("string")}}}),vd("JSXFragment",{builder:["openingFragment","closingFragment","children"],visitor:["openingFragment","children","closingFragment"],aliases:["Immutable","Expression"],fields:{openingFragment:{validate:Zo("JSXOpeningFragment")},closingFragment:{validate:Zo("JSXClosingFragment")},children:{validate:nd(ed("array"),Jo(Zo("JSXText","JSXExpressionContainer","JSXSpreadChild","JSXElement","JSXFragment")))}}}),vd("JSXOpeningFragment",{aliases:["Immutable"]}),vd("JSXClosingFragment",{aliases:["Immutable"]});for(var bd=["Identifier","StringLiteral","Expression","Statement","Declaration","BlockStatement","ClassBody","Pattern"],xd={Declaration:["Statement"],Pattern:["PatternLike","LVal"]},Rd=0,Ed=bd;Rd=0)){if(Ft(o))return[o];if(xs(o))n.set(o.type,o);else if(Ir(o))a.has(o.types)||(t.push.apply(t,E(o.types)),a.add(o.types));else if(rr(o)){var d=hb(o.id);if(r.has(d)){var l,c=r.get(d);c.typeParameters?o.typeParameters&&((l=c.typeParameters.params).push.apply(l,E(o.typeParameters.params)),c.typeParameters.params=mb(c.typeParameters.params)):c=o.typeParameters}else r.set(d,o)}else s.push(o)}}for(var u,p=P(n);!(u=p()).done;){var f=R(u.value,2)[1];s.push(f)}for(var g,h=P(r);!(g=h()).done;){var m=R(g.value,2)[1];s.push(m)}return s}function yb(e){var t=mb(e);return 1===t.length?t[0]:Ru(t)}function vb(e){return we(e)?e.name:e.right.name+"."+vb(e.left)}function bb(e){for(var t=Array.from(e),r=new Map,n=new Map,a=new Set,s=[],i=0;i=0)){if(Nn(o))return[o];if(Ps(o))n.set(o.type,o);else if(ia(o))a.has(o.types)||(t.push.apply(t,E(o.types)),a.add(o.types));else if($n(o)&&o.typeParameters){var d=vb(o.typeName);if(r.has(d)){var l,c=r.get(d);c.typeParameters?o.typeParameters&&((l=c.typeParameters.params).push.apply(l,E(o.typeParameters.params)),c.typeParameters.params=bb(c.typeParameters.params)):c=o.typeParameters}else r.set(d,o)}else s.push(o)}}for(var u,p=P(n);!(u=p()).done;){var f=R(u.value,2)[1];s.push(f)}for(var g,h=P(r);!(g=h()).done;){var m=R(g.value,2)[1];s.push(m)}return s}function xb(e){var t=e.map((function(e){return Ia(e)?e.typeAnnotation:e})),r=bb(t);return 1===r.length?r[0]:Kp(r)}function Rb(){return Nl("void",hl(0),!0)}var Eb=Function.call.bind(Object.prototype.hasOwnProperty);function wb(e,t,r,n){return e&&"string"===typeof e.type?Tb(e,t,r,n):e}function jb(e,t,r,n){return Array.isArray(e)?e.map((function(e){return wb(e,t,r,n)})):wb(e,t,r,n)}function Sb(e,t,r){return void 0===t&&(t=!0),void 0===r&&(r=!1),Tb(e,t,r,new Map)}function Tb(e,t,r,n){if(void 0===t&&(t=!0),void 0===r&&(r=!1),!e)return e;var a=e.type,s={type:e.type};if(we(e))s.name=e.name,Eb(e,"optional")&&"boolean"===typeof e.optional&&(s.optional=e.optional),Eb(e,"typeAnnotation")&&(s.typeAnnotation=t?jb(e.typeAnnotation,!0,r,n):e.typeAnnotation);else{if(!Eb(Bo,a))throw new Error('Unknown node type: "'+a+'"');for(var i=0,o=Object.keys(Bo[a]);i=Number.MAX_SAFE_INTEGER?Kx.uid=0:Kx.uid++};var Xx=Function.call.bind(Object.prototype.toString);function Jx(e){return"[object RegExp]"===Xx(e)}function $x(e){if("object"!==typeof e||null===e||"[object Object]"!==Object.prototype.toString.call(e))return!1;var t=Object.getPrototypeOf(e);return null===t||null===Object.getPrototypeOf(t)}function Zx(e){if(void 0===e)return ul("undefined");if(!0===e||!1===e)return yl(e);if(null===e)return ml();if("string"===typeof e)return gl(e);var t;if("number"===typeof e)return t=Number.isFinite(e)?hl(Math.abs(e)):Gd("/",Number.isNaN(e)?hl(0):hl(1),hl(0)),(e<0||Object.is(e,-0))&&(t=Nl("-",t)),t;if(Jx(e))return vl(e.source,e.toString().match(/\/([a-z]+|)$/)[1]);if(Array.isArray(e))return Hd(e.map(Zx));if($x(e)){for(var r=[],n=0,a=Object.keys(e);n=0)return!0}else if(s===e)return!0}return!1}function oR(e){return Xe(e)&&("var"!==e.kind||e[Do])}function dR(e){return Re(e)||at(e)||oR(e)}function lR(e){return!!Ni(e.type,"Immutable")||!!we(e)&&"undefined"===e.name}function cR(e,t){if("object"!==typeof e||"object"!==typeof t||null==e||null==t)return e===t;if(e.type!==t.type)return!1;for(var r=Object.keys(Bo[e.type]||e.type),n=Oo[e.type],a=0,s=r;a100)){var o=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(i);if(o){var d=parseFloat(o[1]);switch((o[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return d*s;case"weeks":case"week":case"w":return d*a;case"days":case"day":case"d":return d*n;case"hours":case"hour":case"hrs":case"hr":case"h":return d*r;case"minutes":case"minute":case"mins":case"min":case"m":return d*t;case"seconds":case"second":case"secs":case"sec":case"s":return d*e;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return d;default:return}}}}function o(a){var s=Math.abs(a);return s>=n?Math.round(a/n)+"d":s>=r?Math.round(a/r)+"h":s>=t?Math.round(a/t)+"m":s>=e?Math.round(a/e)+"s":a+"ms"}function d(a){var s=Math.abs(a);return s>=n?l(a,s,n,"day"):s>=r?l(a,s,r,"hour"):s>=t?l(a,s,t,"minute"):s>=e?l(a,s,e,"second"):a+" ms"}function l(e,t,r,n){var a=t>=1.5*r;return Math.round(e/r)+" "+n+(a?"s":"")}return kE=function(e,t){t=t||{};var r=typeof e;if("string"===r&&e.length>0)return i(e);if("number"===r&&isFinite(e))return t.long?d(e):o(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))},kE}function OE(e){function t(e){for(var t=0,n=0;n=31||"undefined"!==typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/))}function n(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),this.useColors){var r="color: "+this.color;t.splice(1,0,r,"color: inherit");var n=0,a=0;t[0].replace(/%[a-zA-Z%]/g,(function(e){"%%"!==e&&(n++,"%c"===e&&(a=n))})),t.splice(a,0,r)}}function a(e){try{e?t.storage.setItem("debug",e):t.storage.removeItem("debug")}catch(RQ){}}function s(){var e;try{e=t.storage.getItem("debug")}catch(RQ){}return!e&&"undefined"!==typeof ki&&"env"in ki&&(e=ki.env.DEBUG),e}function i(){try{return localStorage}catch(RQ){}}t.formatArgs=n,t.save=a,t.load=s,t.useColors=r,t.storage=i(),t.destroy=function(){var e=!1;return function(){e||(e=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}}(),t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],t.log=console.debug||console.log||function(){},e.exports=NE(t),e.exports.formatters.j=function(e){try{return JSON.stringify(e)}catch(RQ){return"[UnexpectedJSONParseError]: "+RQ.message}}}(DE,DE.exports);var FE=DE.exports,BE=Sb,ME=Xl,LE=Jl,UE=ul,zE=Bl,WE=Ml;function qE(e){if(!e.isExportDeclaration()||e.isExportAllDeclaration())throw new Error("Only default and named export declarations can be split.");if(e.isExportDefaultDeclaration()){var t=e.get("declaration"),r=t.isFunctionDeclaration()||t.isClassDeclaration(),n=t.isFunctionExpression()||t.isClassExpression(),a=t.isScope()?t.scope.parent:t.scope,s=t.node.id,i=!1;s?n&&a.hasBinding(s.name)&&(i=!0,s=a.generateUidIdentifier(s.name)):(i=!0,s=a.generateUidIdentifier("default"),(r||n)&&(t.node.id=BE(s)));var o=r?t.node:zE("var",[WE(BE(s),t.node)]),d=ME(null,[LE(BE(s),UE("default"))]);return e.insertAfter(d),e.replaceWith(o),i&&a.registerDeclaration(e),e}if(e.get("specifiers").length>0)throw new Error("It doesn't make sense to split exported specifiers.");var l=e.get("declaration"),c=l.getOuterBindingIdentifiers(),u=Object.keys(c).map((function(e){return LE(UE(e),UE(e))})),p=ME(null,u);return e.insertAfter(p),e.replaceWith(l.node),e}function HE(e){var t=e.context,r=e.node;if(r.computed&&t.maybeQueue(e.get("key")),r.decorators)for(var n,a=P(e.get("decorators"));!(n=a()).done;){var s=n.value;t.maybeQueue(s)}}var VE={FunctionParent:function(e){e.isArrowFunctionExpression()||(e.skip(),e.isMethod()&&HE(e))},Property:function(e){e.isObjectProperty()||(e.skip(),HE(e))}},GE={ReferencedIdentifier:function(e,t){var r=e.node;r.name===t.oldName&&(r.name=t.newName)},Scope:function(e,t){e.scope.bindingIdentifierEquals(t.oldName,t.binding.identifier)||(e.skip(),e.isMethod()&&HE(e))},ObjectProperty:function(e,t){var r,n=e.node,a=e.scope,s=n.key.name;!n.shorthand||s!==t.oldName&&s!==t.newName||a.getBindingIdentifier(s)!==t.binding.identifier||(n.shorthand=!1,null!=(r=n.extra)&&r.shorthand&&(n.extra.shorthand=!1))},"AssignmentExpression|Declaration|VariableDeclarator":function(e,t){if(!e.isVariableDeclaration()){var r=e.getOuterBindingIdentifiers();for(var n in r)n===t.oldName&&(r[n].name=t.newName)}}},KE=function(){function e(e,t,r){this.newName=r,this.oldName=t,this.binding=e}var t=e.prototype;return t.maybeConvertFromExportDeclaration=function(e){var t=e.parentPath;if(t.isExportDeclaration()){if(t.isExportDefaultDeclaration()){var r=t.node.declaration;if(ts(r)&&!r.id)return}t.isExportAllDeclaration()||qE(t)}},t.maybeConvertFromClassFunctionDeclaration=function(e){return e},t.maybeConvertFromClassFunctionExpression=function(e){return e},t.rename=function(){var e=this.binding,t=this.oldName,r=this.newName,n=e.scope,a=e.path,s=a.find((function(e){return e.isDeclaration()||e.isFunctionExpression()||e.isClassExpression()}));s&&s.getOuterBindingIdentifiers()[t]===e.identifier&&this.maybeConvertFromExportDeclaration(s),iV(arguments[0]||n.block,cE(GE),n,this,n.path,{discriminant:!0}),arguments[0]||(n.removeOwnBinding(t),n.bindings[r]=e,this.binding.identifier.name=r),s&&(this.maybeConvertFromClassFunctionDeclaration(a),this.maybeConvertFromClassFunctionExpression(a))},l(e)}(),YE=function(){function e(e){var t=e.identifier,r=e.scope,n=e.path,a=e.kind;this.identifier=void 0,this.scope=void 0,this.path=void 0,this.kind=void 0,this.constantViolations=[],this.constant=!0,this.referencePaths=[],this.referenced=!1,this.references=0,this.identifier=t,this.scope=r,this.path=n,this.kind=a,"var"!==a&&"hoisted"!==a||!XE(n)||this.reassign(n),this.clearValue()}var t=e.prototype;return t.deoptValue=function(){this.clearValue(),this.hasDeoptedValue=!0},t.setValue=function(e){this.hasDeoptedValue||(this.hasValue=!0,this.value=e)},t.clearValue=function(){this.hasDeoptedValue=!1,this.hasValue=!1,this.value=null},t.reassign=function(e){this.constant=!1,-1===this.constantViolations.indexOf(e)&&this.constantViolations.push(e)},t.reference=function(e){-1===this.referencePaths.indexOf(e)&&(this.referenced=!0,this.references++,this.referencePaths.push(e))},t.dereference=function(){this.references--,this.referenced=!!this.references},l(e)}();function XE(e){for(var t=e.parentPath,r=e.key;t;t=(n=t).parentPath,r=n.key,n){var n;if(t.isFunctionParent())return!1;if(t.isWhile()||t.isForXStatement()||t.isForStatement()&&"body"===r)return!0}return!1}var JE,$E,ZE={builtin:{Array:!1,ArrayBuffer:!1,Atomics:!1,BigInt:!1,BigInt64Array:!1,BigUint64Array:!1,Boolean:!1,constructor:!1,DataView:!1,Date:!1,decodeURI:!1,decodeURIComponent:!1,encodeURI:!1,encodeURIComponent:!1,Error:!1,escape:!1,eval:!1,EvalError:!1,Float32Array:!1,Float64Array:!1,Function:!1,globalThis:!1,hasOwnProperty:!1,Infinity:!1,Int16Array:!1,Int32Array:!1,Int8Array:!1,isFinite:!1,isNaN:!1,isPrototypeOf:!1,JSON:!1,Map:!1,Math:!1,NaN:!1,Number:!1,Object:!1,parseFloat:!1,parseInt:!1,Promise:!1,propertyIsEnumerable:!1,Proxy:!1,RangeError:!1,ReferenceError:!1,Reflect:!1,RegExp:!1,Set:!1,SharedArrayBuffer:!1,String:!1,Symbol:!1,SyntaxError:!1,toLocaleString:!1,toString:!1,TypeError:!1,Uint16Array:!1,Uint32Array:!1,Uint8Array:!1,Uint8ClampedArray:!1,undefined:!1,unescape:!1,URIError:!1,valueOf:!1,WeakMap:!1,WeakSet:!1},es5:{Array:!1,Boolean:!1,constructor:!1,Date:!1,decodeURI:!1,decodeURIComponent:!1,encodeURI:!1,encodeURIComponent:!1,Error:!1,escape:!1,eval:!1,EvalError:!1,Function:!1,hasOwnProperty:!1,Infinity:!1,isFinite:!1,isNaN:!1,isPrototypeOf:!1,JSON:!1,Math:!1,NaN:!1,Number:!1,Object:!1,parseFloat:!1,parseInt:!1,propertyIsEnumerable:!1,RangeError:!1,ReferenceError:!1,RegExp:!1,String:!1,SyntaxError:!1,toLocaleString:!1,toString:!1,TypeError:!1,undefined:!1,unescape:!1,URIError:!1,valueOf:!1},es2015:{Array:!1,ArrayBuffer:!1,Boolean:!1,constructor:!1,DataView:!1,Date:!1,decodeURI:!1,decodeURIComponent:!1,encodeURI:!1,encodeURIComponent:!1,Error:!1,escape:!1,eval:!1,EvalError:!1,Float32Array:!1,Float64Array:!1,Function:!1,hasOwnProperty:!1,Infinity:!1,Int16Array:!1,Int32Array:!1,Int8Array:!1,isFinite:!1,isNaN:!1,isPrototypeOf:!1,JSON:!1,Map:!1,Math:!1,NaN:!1,Number:!1,Object:!1,parseFloat:!1,parseInt:!1,Promise:!1,propertyIsEnumerable:!1,Proxy:!1,RangeError:!1,ReferenceError:!1,Reflect:!1,RegExp:!1,Set:!1,String:!1,Symbol:!1,SyntaxError:!1,toLocaleString:!1,toString:!1,TypeError:!1,Uint16Array:!1,Uint32Array:!1,Uint8Array:!1,Uint8ClampedArray:!1,undefined:!1,unescape:!1,URIError:!1,valueOf:!1,WeakMap:!1,WeakSet:!1},es2017:{Array:!1,ArrayBuffer:!1,Atomics:!1,Boolean:!1,constructor:!1,DataView:!1,Date:!1,decodeURI:!1,decodeURIComponent:!1,encodeURI:!1,encodeURIComponent:!1,Error:!1,escape:!1,eval:!1,EvalError:!1,Float32Array:!1,Float64Array:!1,Function:!1,hasOwnProperty:!1,Infinity:!1,Int16Array:!1,Int32Array:!1,Int8Array:!1,isFinite:!1,isNaN:!1,isPrototypeOf:!1,JSON:!1,Map:!1,Math:!1,NaN:!1,Number:!1,Object:!1,parseFloat:!1,parseInt:!1,Promise:!1,propertyIsEnumerable:!1,Proxy:!1,RangeError:!1,ReferenceError:!1,Reflect:!1,RegExp:!1,Set:!1,SharedArrayBuffer:!1,String:!1,Symbol:!1,SyntaxError:!1,toLocaleString:!1,toString:!1,TypeError:!1,Uint16Array:!1,Uint32Array:!1,Uint8Array:!1,Uint8ClampedArray:!1,undefined:!1,unescape:!1,URIError:!1,valueOf:!1,WeakMap:!1,WeakSet:!1},browser:{AbortController:!1,AbortSignal:!1,addEventListener:!1,alert:!1,AnalyserNode:!1,Animation:!1,AnimationEffectReadOnly:!1,AnimationEffectTiming:!1,AnimationEffectTimingReadOnly:!1,AnimationEvent:!1,AnimationPlaybackEvent:!1,AnimationTimeline:!1,applicationCache:!1,ApplicationCache:!1,ApplicationCacheErrorEvent:!1,atob:!1,Attr:!1,Audio:!1,AudioBuffer:!1,AudioBufferSourceNode:!1,AudioContext:!1,AudioDestinationNode:!1,AudioListener:!1,AudioNode:!1,AudioParam:!1,AudioProcessingEvent:!1,AudioScheduledSourceNode:!1,"AudioWorkletGlobalScope ":!1,AudioWorkletNode:!1,AudioWorkletProcessor:!1,BarProp:!1,BaseAudioContext:!1,BatteryManager:!1,BeforeUnloadEvent:!1,BiquadFilterNode:!1,Blob:!1,BlobEvent:!1,blur:!1,BroadcastChannel:!1,btoa:!1,BudgetService:!1,ByteLengthQueuingStrategy:!1,Cache:!1,caches:!1,CacheStorage:!1,cancelAnimationFrame:!1,cancelIdleCallback:!1,CanvasCaptureMediaStreamTrack:!1,CanvasGradient:!1,CanvasPattern:!1,CanvasRenderingContext2D:!1,ChannelMergerNode:!1,ChannelSplitterNode:!1,CharacterData:!1,clearInterval:!1,clearTimeout:!1,clientInformation:!1,ClipboardEvent:!1,close:!1,closed:!1,CloseEvent:!1,Comment:!1,CompositionEvent:!1,confirm:!1,console:!1,ConstantSourceNode:!1,ConvolverNode:!1,CountQueuingStrategy:!1,createImageBitmap:!1,Credential:!1,CredentialsContainer:!1,crypto:!1,Crypto:!1,CryptoKey:!1,CSS:!1,CSSConditionRule:!1,CSSFontFaceRule:!1,CSSGroupingRule:!1,CSSImportRule:!1,CSSKeyframeRule:!1,CSSKeyframesRule:!1,CSSMediaRule:!1,CSSNamespaceRule:!1,CSSPageRule:!1,CSSRule:!1,CSSRuleList:!1,CSSStyleDeclaration:!1,CSSStyleRule:!1,CSSStyleSheet:!1,CSSSupportsRule:!1,CustomElementRegistry:!1,customElements:!1,CustomEvent:!1,DataTransfer:!1,DataTransferItem:!1,DataTransferItemList:!1,defaultstatus:!1,defaultStatus:!1,DelayNode:!1,DeviceMotionEvent:!1,DeviceOrientationEvent:!1,devicePixelRatio:!1,dispatchEvent:!1,document:!1,Document:!1,DocumentFragment:!1,DocumentType:!1,DOMError:!1,DOMException:!1,DOMImplementation:!1,DOMMatrix:!1,DOMMatrixReadOnly:!1,DOMParser:!1,DOMPoint:!1,DOMPointReadOnly:!1,DOMQuad:!1,DOMRect:!1,DOMRectReadOnly:!1,DOMStringList:!1,DOMStringMap:!1,DOMTokenList:!1,DragEvent:!1,DynamicsCompressorNode:!1,Element:!1,ErrorEvent:!1,event:!1,Event:!1,EventSource:!1,EventTarget:!1,external:!1,fetch:!1,File:!1,FileList:!1,FileReader:!1,find:!1,focus:!1,FocusEvent:!1,FontFace:!1,FontFaceSetLoadEvent:!1,FormData:!1,frameElement:!1,frames:!1,GainNode:!1,Gamepad:!1,GamepadButton:!1,GamepadEvent:!1,getComputedStyle:!1,getSelection:!1,HashChangeEvent:!1,Headers:!1,history:!1,History:!1,HTMLAllCollection:!1,HTMLAnchorElement:!1,HTMLAreaElement:!1,HTMLAudioElement:!1,HTMLBaseElement:!1,HTMLBodyElement:!1,HTMLBRElement:!1,HTMLButtonElement:!1,HTMLCanvasElement:!1,HTMLCollection:!1,HTMLContentElement:!1,HTMLDataElement:!1,HTMLDataListElement:!1,HTMLDetailsElement:!1,HTMLDialogElement:!1,HTMLDirectoryElement:!1,HTMLDivElement:!1,HTMLDListElement:!1,HTMLDocument:!1,HTMLElement:!1,HTMLEmbedElement:!1,HTMLFieldSetElement:!1,HTMLFontElement:!1,HTMLFormControlsCollection:!1,HTMLFormElement:!1,HTMLFrameElement:!1,HTMLFrameSetElement:!1,HTMLHeadElement:!1,HTMLHeadingElement:!1,HTMLHRElement:!1,HTMLHtmlElement:!1,HTMLIFrameElement:!1,HTMLImageElement:!1,HTMLInputElement:!1,HTMLLabelElement:!1,HTMLLegendElement:!1,HTMLLIElement:!1,HTMLLinkElement:!1,HTMLMapElement:!1,HTMLMarqueeElement:!1,HTMLMediaElement:!1,HTMLMenuElement:!1,HTMLMetaElement:!1,HTMLMeterElement:!1,HTMLModElement:!1,HTMLObjectElement:!1,HTMLOListElement:!1,HTMLOptGroupElement:!1,HTMLOptionElement:!1,HTMLOptionsCollection:!1,HTMLOutputElement:!1,HTMLParagraphElement:!1,HTMLParamElement:!1,HTMLPictureElement:!1,HTMLPreElement:!1,HTMLProgressElement:!1,HTMLQuoteElement:!1,HTMLScriptElement:!1,HTMLSelectElement:!1,HTMLShadowElement:!1,HTMLSlotElement:!1,HTMLSourceElement:!1,HTMLSpanElement:!1,HTMLStyleElement:!1,HTMLTableCaptionElement:!1,HTMLTableCellElement:!1,HTMLTableColElement:!1,HTMLTableElement:!1,HTMLTableRowElement:!1,HTMLTableSectionElement:!1,HTMLTemplateElement:!1,HTMLTextAreaElement:!1,HTMLTimeElement:!1,HTMLTitleElement:!1,HTMLTrackElement:!1,HTMLUListElement:!1,HTMLUnknownElement:!1,HTMLVideoElement:!1,IDBCursor:!1,IDBCursorWithValue:!1,IDBDatabase:!1,IDBFactory:!1,IDBIndex:!1,IDBKeyRange:!1,IDBObjectStore:!1,IDBOpenDBRequest:!1,IDBRequest:!1,IDBTransaction:!1,IDBVersionChangeEvent:!1,IdleDeadline:!1,IIRFilterNode:!1,Image:!1,ImageBitmap:!1,ImageBitmapRenderingContext:!1,ImageCapture:!1,ImageData:!1,indexedDB:!1,innerHeight:!1,innerWidth:!1,InputEvent:!1,IntersectionObserver:!1,IntersectionObserverEntry:!1,Intl:!1,isSecureContext:!1,KeyboardEvent:!1,KeyframeEffect:!1,KeyframeEffectReadOnly:!1,length:!1,localStorage:!1,location:!0,Location:!1,locationbar:!1,matchMedia:!1,MediaDeviceInfo:!1,MediaDevices:!1,MediaElementAudioSourceNode:!1,MediaEncryptedEvent:!1,MediaError:!1,MediaKeyMessageEvent:!1,MediaKeySession:!1,MediaKeyStatusMap:!1,MediaKeySystemAccess:!1,MediaList:!1,MediaQueryList:!1,MediaQueryListEvent:!1,MediaRecorder:!1,MediaSettingsRange:!1,MediaSource:!1,MediaStream:!1,MediaStreamAudioDestinationNode:!1,MediaStreamAudioSourceNode:!1,MediaStreamEvent:!1,MediaStreamTrack:!1,MediaStreamTrackEvent:!1,menubar:!1,MessageChannel:!1,MessageEvent:!1,MessagePort:!1,MIDIAccess:!1,MIDIConnectionEvent:!1,MIDIInput:!1,MIDIInputMap:!1,MIDIMessageEvent:!1,MIDIOutput:!1,MIDIOutputMap:!1,MIDIPort:!1,MimeType:!1,MimeTypeArray:!1,MouseEvent:!1,moveBy:!1,moveTo:!1,MutationEvent:!1,MutationObserver:!1,MutationRecord:!1,name:!1,NamedNodeMap:!1,NavigationPreloadManager:!1,navigator:!1,Navigator:!1,NetworkInformation:!1,Node:!1,NodeFilter:!1,NodeIterator:!1,NodeList:!1,Notification:!1,OfflineAudioCompletionEvent:!1,OfflineAudioContext:!1,offscreenBuffering:!1,OffscreenCanvas:!0,onabort:!0,onafterprint:!0,onanimationend:!0,onanimationiteration:!0,onanimationstart:!0,onappinstalled:!0,onauxclick:!0,onbeforeinstallprompt:!0,onbeforeprint:!0,onbeforeunload:!0,onblur:!0,oncancel:!0,oncanplay:!0,oncanplaythrough:!0,onchange:!0,onclick:!0,onclose:!0,oncontextmenu:!0,oncuechange:!0,ondblclick:!0,ondevicemotion:!0,ondeviceorientation:!0,ondeviceorientationabsolute:!0,ondrag:!0,ondragend:!0,ondragenter:!0,ondragleave:!0,ondragover:!0,ondragstart:!0,ondrop:!0,ondurationchange:!0,onemptied:!0,onended:!0,onerror:!0,onfocus:!0,ongotpointercapture:!0,onhashchange:!0,oninput:!0,oninvalid:!0,onkeydown:!0,onkeypress:!0,onkeyup:!0,onlanguagechange:!0,onload:!0,onloadeddata:!0,onloadedmetadata:!0,onloadstart:!0,onlostpointercapture:!0,onmessage:!0,onmessageerror:!0,onmousedown:!0,onmouseenter:!0,onmouseleave:!0,onmousemove:!0,onmouseout:!0,onmouseover:!0,onmouseup:!0,onmousewheel:!0,onoffline:!0,ononline:!0,onpagehide:!0,onpageshow:!0,onpause:!0,onplay:!0,onplaying:!0,onpointercancel:!0,onpointerdown:!0,onpointerenter:!0,onpointerleave:!0,onpointermove:!0,onpointerout:!0,onpointerover:!0,onpointerup:!0,onpopstate:!0,onprogress:!0,onratechange:!0,onrejectionhandled:!0,onreset:!0,onresize:!0,onscroll:!0,onsearch:!0,onseeked:!0,onseeking:!0,onselect:!0,onstalled:!0,onstorage:!0,onsubmit:!0,onsuspend:!0,ontimeupdate:!0,ontoggle:!0,ontransitionend:!0,onunhandledrejection:!0,onunload:!0,onvolumechange:!0,onwaiting:!0,onwheel:!0,open:!1,openDatabase:!1,opener:!1,Option:!1,origin:!1,OscillatorNode:!1,outerHeight:!1,outerWidth:!1,PageTransitionEvent:!1,pageXOffset:!1,pageYOffset:!1,PannerNode:!1,parent:!1,Path2D:!1,PaymentAddress:!1,PaymentRequest:!1,PaymentRequestUpdateEvent:!1,PaymentResponse:!1,performance:!1,Performance:!1,PerformanceEntry:!1,PerformanceLongTaskTiming:!1,PerformanceMark:!1,PerformanceMeasure:!1,PerformanceNavigation:!1,PerformanceNavigationTiming:!1,PerformanceObserver:!1,PerformanceObserverEntryList:!1,PerformancePaintTiming:!1,PerformanceResourceTiming:!1,PerformanceTiming:!1,PeriodicWave:!1,Permissions:!1,PermissionStatus:!1,personalbar:!1,PhotoCapabilities:!1,Plugin:!1,PluginArray:!1,PointerEvent:!1,PopStateEvent:!1,postMessage:!1,Presentation:!1,PresentationAvailability:!1,PresentationConnection:!1,PresentationConnectionAvailableEvent:!1,PresentationConnectionCloseEvent:!1,PresentationConnectionList:!1,PresentationReceiver:!1,PresentationRequest:!1,print:!1,ProcessingInstruction:!1,ProgressEvent:!1,PromiseRejectionEvent:!1,prompt:!1,PushManager:!1,PushSubscription:!1,PushSubscriptionOptions:!1,queueMicrotask:!1,RadioNodeList:!1,Range:!1,ReadableStream:!1,registerProcessor:!1,RemotePlayback:!1,removeEventListener:!1,Request:!1,requestAnimationFrame:!1,requestIdleCallback:!1,resizeBy:!1,ResizeObserver:!1,ResizeObserverEntry:!1,resizeTo:!1,Response:!1,RTCCertificate:!1,RTCDataChannel:!1,RTCDataChannelEvent:!1,RTCDtlsTransport:!1,RTCIceCandidate:!1,RTCIceGatherer:!1,RTCIceTransport:!1,RTCPeerConnection:!1,RTCPeerConnectionIceEvent:!1,RTCRtpContributingSource:!1,RTCRtpReceiver:!1,RTCRtpSender:!1,RTCSctpTransport:!1,RTCSessionDescription:!1,RTCStatsReport:!1,RTCTrackEvent:!1,screen:!1,Screen:!1,screenLeft:!1,ScreenOrientation:!1,screenTop:!1,screenX:!1,screenY:!1,ScriptProcessorNode:!1,scroll:!1,scrollbars:!1,scrollBy:!1,scrollTo:!1,scrollX:!1,scrollY:!1,SecurityPolicyViolationEvent:!1,Selection:!1,self:!1,ServiceWorker:!1,ServiceWorkerContainer:!1,ServiceWorkerRegistration:!1,sessionStorage:!1,setInterval:!1,setTimeout:!1,ShadowRoot:!1,SharedWorker:!1,SourceBuffer:!1,SourceBufferList:!1,speechSynthesis:!1,SpeechSynthesisEvent:!1,SpeechSynthesisUtterance:!1,StaticRange:!1,status:!1,statusbar:!1,StereoPannerNode:!1,stop:!1,Storage:!1,StorageEvent:!1,StorageManager:!1,styleMedia:!1,StyleSheet:!1,StyleSheetList:!1,SubtleCrypto:!1,SVGAElement:!1,SVGAngle:!1,SVGAnimatedAngle:!1,SVGAnimatedBoolean:!1,SVGAnimatedEnumeration:!1,SVGAnimatedInteger:!1,SVGAnimatedLength:!1,SVGAnimatedLengthList:!1,SVGAnimatedNumber:!1,SVGAnimatedNumberList:!1,SVGAnimatedPreserveAspectRatio:!1,SVGAnimatedRect:!1,SVGAnimatedString:!1,SVGAnimatedTransformList:!1,SVGAnimateElement:!1,SVGAnimateMotionElement:!1,SVGAnimateTransformElement:!1,SVGAnimationElement:!1,SVGCircleElement:!1,SVGClipPathElement:!1,SVGComponentTransferFunctionElement:!1,SVGDefsElement:!1,SVGDescElement:!1,SVGDiscardElement:!1,SVGElement:!1,SVGEllipseElement:!1,SVGFEBlendElement:!1,SVGFEColorMatrixElement:!1,SVGFEComponentTransferElement:!1,SVGFECompositeElement:!1,SVGFEConvolveMatrixElement:!1,SVGFEDiffuseLightingElement:!1,SVGFEDisplacementMapElement:!1,SVGFEDistantLightElement:!1,SVGFEDropShadowElement:!1,SVGFEFloodElement:!1,SVGFEFuncAElement:!1,SVGFEFuncBElement:!1,SVGFEFuncGElement:!1,SVGFEFuncRElement:!1,SVGFEGaussianBlurElement:!1,SVGFEImageElement:!1,SVGFEMergeElement:!1,SVGFEMergeNodeElement:!1,SVGFEMorphologyElement:!1,SVGFEOffsetElement:!1,SVGFEPointLightElement:!1,SVGFESpecularLightingElement:!1,SVGFESpotLightElement:!1,SVGFETileElement:!1,SVGFETurbulenceElement:!1,SVGFilterElement:!1,SVGForeignObjectElement:!1,SVGGElement:!1,SVGGeometryElement:!1,SVGGradientElement:!1,SVGGraphicsElement:!1,SVGImageElement:!1,SVGLength:!1,SVGLengthList:!1,SVGLinearGradientElement:!1,SVGLineElement:!1,SVGMarkerElement:!1,SVGMaskElement:!1,SVGMatrix:!1,SVGMetadataElement:!1,SVGMPathElement:!1,SVGNumber:!1,SVGNumberList:!1,SVGPathElement:!1,SVGPatternElement:!1,SVGPoint:!1,SVGPointList:!1,SVGPolygonElement:!1,SVGPolylineElement:!1,SVGPreserveAspectRatio:!1,SVGRadialGradientElement:!1,SVGRect:!1,SVGRectElement:!1,SVGScriptElement:!1,SVGSetElement:!1,SVGStopElement:!1,SVGStringList:!1,SVGStyleElement:!1,SVGSVGElement:!1,SVGSwitchElement:!1,SVGSymbolElement:!1,SVGTextContentElement:!1,SVGTextElement:!1,SVGTextPathElement:!1,SVGTextPositioningElement:!1,SVGTitleElement:!1,SVGTransform:!1,SVGTransformList:!1,SVGTSpanElement:!1,SVGUnitTypes:!1,SVGUseElement:!1,SVGViewElement:!1,TaskAttributionTiming:!1,Text:!1,TextDecoder:!1,TextEncoder:!1,TextEvent:!1,TextMetrics:!1,TextTrack:!1,TextTrackCue:!1,TextTrackCueList:!1,TextTrackList:!1,TimeRanges:!1,toolbar:!1,top:!1,Touch:!1,TouchEvent:!1,TouchList:!1,TrackEvent:!1,TransitionEvent:!1,TreeWalker:!1,UIEvent:!1,URL:!1,URLSearchParams:!1,ValidityState:!1,visualViewport:!1,VisualViewport:!1,VTTCue:!1,WaveShaperNode:!1,WebAssembly:!1,WebGL2RenderingContext:!1,WebGLActiveInfo:!1,WebGLBuffer:!1,WebGLContextEvent:!1,WebGLFramebuffer:!1,WebGLProgram:!1,WebGLQuery:!1,WebGLRenderbuffer:!1,WebGLRenderingContext:!1,WebGLSampler:!1,WebGLShader:!1,WebGLShaderPrecisionFormat:!1,WebGLSync:!1,WebGLTexture:!1,WebGLTransformFeedback:!1,WebGLUniformLocation:!1,WebGLVertexArrayObject:!1,WebSocket:!1,WheelEvent:!1,window:!1,Window:!1,Worker:!1,WritableStream:!1,XMLDocument:!1,XMLHttpRequest:!1,XMLHttpRequestEventTarget:!1,XMLHttpRequestUpload:!1,XMLSerializer:!1,XPathEvaluator:!1,XPathExpression:!1,XPathResult:!1,XSLTProcessor:!1},worker:{addEventListener:!1,applicationCache:!1,atob:!1,Blob:!1,BroadcastChannel:!1,btoa:!1,Cache:!1,caches:!1,clearInterval:!1,clearTimeout:!1,close:!0,console:!1,fetch:!1,FileReaderSync:!1,FormData:!1,Headers:!1,IDBCursor:!1,IDBCursorWithValue:!1,IDBDatabase:!1,IDBFactory:!1,IDBIndex:!1,IDBKeyRange:!1,IDBObjectStore:!1,IDBOpenDBRequest:!1,IDBRequest:!1,IDBTransaction:!1,IDBVersionChangeEvent:!1,ImageData:!1,importScripts:!0,indexedDB:!1,location:!1,MessageChannel:!1,MessagePort:!1,name:!1,navigator:!1,Notification:!1,onclose:!0,onconnect:!0,onerror:!0,onlanguagechange:!0,onmessage:!0,onoffline:!0,ononline:!0,onrejectionhandled:!0,onunhandledrejection:!0,performance:!1,Performance:!1,PerformanceEntry:!1,PerformanceMark:!1,PerformanceMeasure:!1,PerformanceNavigation:!1,PerformanceResourceTiming:!1,PerformanceTiming:!1,postMessage:!0,Promise:!1,queueMicrotask:!1,removeEventListener:!1,Request:!1,Response:!1,self:!0,ServiceWorkerRegistration:!1,setInterval:!1,setTimeout:!1,TextDecoder:!1,TextEncoder:!1,URL:!1,URLSearchParams:!1,WebSocket:!1,Worker:!1,WorkerGlobalScope:!1,XMLHttpRequest:!1},node:{__dirname:!1,__filename:!1,Buffer:!1,clearImmediate:!1,clearInterval:!1,clearTimeout:!1,console:!1,exports:!0,global:!1,Intl:!1,module:!1,process:!1,queueMicrotask:!1,require:!1,setImmediate:!1,setInterval:!1,setTimeout:!1,TextDecoder:!1,TextEncoder:!1,URL:!1,URLSearchParams:!1},commonjs:{exports:!0,global:!1,module:!1,require:!1},amd:{define:!1,require:!1},mocha:{after:!1,afterEach:!1,before:!1,beforeEach:!1,context:!1,describe:!1,it:!1,mocha:!1,run:!1,setup:!1,specify:!1,suite:!1,suiteSetup:!1,suiteTeardown:!1,teardown:!1,test:!1,xcontext:!1,xdescribe:!1,xit:!1,xspecify:!1},jasmine:{afterAll:!1,afterEach:!1,beforeAll:!1,beforeEach:!1,describe:!1,expect:!1,fail:!1,fdescribe:!1,fit:!1,it:!1,jasmine:!1,pending:!1,runs:!1,spyOn:!1,spyOnProperty:!1,waits:!1,waitsFor:!1,xdescribe:!1,xit:!1},jest:{afterAll:!1,afterEach:!1,beforeAll:!1,beforeEach:!1,describe:!1,expect:!1,fdescribe:!1,fit:!1,it:!1,jest:!1,pit:!1,require:!1,test:!1,xdescribe:!1,xit:!1,xtest:!1},qunit:{asyncTest:!1,deepEqual:!1,equal:!1,expect:!1,module:!1,notDeepEqual:!1,notEqual:!1,notOk:!1,notPropEqual:!1,notStrictEqual:!1,ok:!1,propEqual:!1,QUnit:!1,raises:!1,start:!1,stop:!1,strictEqual:!1,test:!1,throws:!1},phantomjs:{console:!0,exports:!0,phantom:!0,require:!0,WebPage:!0},couch:{emit:!1,exports:!1,getRow:!1,log:!1,module:!1,provides:!1,require:!1,respond:!1,send:!1,start:!1,sum:!1},rhino:{defineClass:!1,deserialize:!1,gc:!1,help:!1,importClass:!1,importPackage:!1,java:!1,load:!1,loadClass:!1,Packages:!1,print:!1,quit:!1,readFile:!1,readUrl:!1,runCommand:!1,seal:!1,serialize:!1,spawn:!1,sync:!1,toint32:!1,version:!1},nashorn:{__DIR__:!1,__FILE__:!1,__LINE__:!1,com:!1,edu:!1,exit:!1,java:!1,Java:!1,javafx:!1,JavaImporter:!1,javax:!1,JSAdapter:!1,load:!1,loadWithNewGlobal:!1,org:!1,Packages:!1,print:!1,quit:!1},wsh:{ActiveXObject:!0,Enumerator:!0,GetObject:!0,ScriptEngine:!0,ScriptEngineBuildVersion:!0,ScriptEngineMajorVersion:!0,ScriptEngineMinorVersion:!0,VBArray:!0,WScript:!0,WSH:!0,XDomainRequest:!0},jquery:{$:!1,jQuery:!1},yui:{YAHOO:!1,YAHOO_config:!1,YUI:!1,YUI_config:!1},shelljs:{cat:!1,cd:!1,chmod:!1,config:!1,cp:!1,dirs:!1,echo:!1,env:!1,error:!1,exec:!1,exit:!1,find:!1,grep:!1,ln:!1,ls:!1,mkdir:!1,mv:!1,popd:!1,pushd:!1,pwd:!1,rm:!1,sed:!1,set:!1,target:!1,tempdir:!1,test:!1,touch:!1,which:!1},prototypejs:{$:!1,$$:!1,$A:!1,$break:!1,$continue:!1,$F:!1,$H:!1,$R:!1,$w:!1,Abstract:!1,Ajax:!1,Autocompleter:!1,Builder:!1,Class:!1,Control:!1,Draggable:!1,Draggables:!1,Droppables:!1,Effect:!1,Element:!1,Enumerable:!1,Event:!1,Field:!1,Form:!1,Hash:!1,Insertion:!1,ObjectRange:!1,PeriodicalExecuter:!1,Position:!1,Prototype:!1,Scriptaculous:!1,Selector:!1,Sortable:!1,SortableObserver:!1,Sound:!1,Template:!1,Toggle:!1,Try:!1},meteor:{_:!1,$:!1,Accounts:!1,AccountsClient:!1,AccountsCommon:!1,AccountsServer:!1,App:!1,Assets:!1,Blaze:!1,check:!1,Cordova:!1,DDP:!1,DDPRateLimiter:!1,DDPServer:!1,Deps:!1,EJSON:!1,Email:!1,HTTP:!1,Log:!1,Match:!1,Meteor:!1,Mongo:!1,MongoInternals:!1,Npm:!1,Package:!1,Plugin:!1,process:!1,Random:!1,ReactiveDict:!1,ReactiveVar:!1,Router:!1,ServiceConfiguration:!1,Session:!1,share:!1,Spacebars:!1,Template:!1,Tinytest:!1,Tracker:!1,UI:!1,Utils:!1,WebApp:!1,WebAppInternals:!1},mongo:{_isWindows:!1,_rand:!1,BulkWriteResult:!1,cat:!1,cd:!1,connect:!1,db:!1,getHostName:!1,getMemInfo:!1,hostname:!1,ISODate:!1,listFiles:!1,load:!1,ls:!1,md5sumFile:!1,mkdir:!1,Mongo:!1,NumberInt:!1,NumberLong:!1,ObjectId:!1,PlanCache:!1,print:!1,printjson:!1,pwd:!1,quit:!1,removeFile:!1,rs:!1,sh:!1,UUID:!1,version:!1,WriteResult:!1},applescript:{$:!1,Application:!1,Automation:!1,console:!1,delay:!1,Library:!1,ObjC:!1,ObjectSpecifier:!1,Path:!1,Progress:!1,Ref:!1},serviceworker:{addEventListener:!1,applicationCache:!1,atob:!1,Blob:!1,BroadcastChannel:!1,btoa:!1,Cache:!1,caches:!1,CacheStorage:!1,clearInterval:!1,clearTimeout:!1,Client:!1,clients:!1,Clients:!1,close:!0,console:!1,ExtendableEvent:!1,ExtendableMessageEvent:!1,fetch:!1,FetchEvent:!1,FileReaderSync:!1,FormData:!1,Headers:!1,IDBCursor:!1,IDBCursorWithValue:!1,IDBDatabase:!1,IDBFactory:!1,IDBIndex:!1,IDBKeyRange:!1,IDBObjectStore:!1,IDBOpenDBRequest:!1,IDBRequest:!1,IDBTransaction:!1,IDBVersionChangeEvent:!1,ImageData:!1,importScripts:!1,indexedDB:!1,location:!1,MessageChannel:!1,MessagePort:!1,name:!1,navigator:!1,Notification:!1,onclose:!0,onconnect:!0,onerror:!0,onfetch:!0,oninstall:!0,onlanguagechange:!0,onmessage:!0,onmessageerror:!0,onnotificationclick:!0,onnotificationclose:!0,onoffline:!0,ononline:!0,onpush:!0,onpushsubscriptionchange:!0,onrejectionhandled:!0,onsync:!0,onunhandledrejection:!0,performance:!1,Performance:!1,PerformanceEntry:!1,PerformanceMark:!1,PerformanceMeasure:!1,PerformanceNavigation:!1,PerformanceResourceTiming:!1,PerformanceTiming:!1,postMessage:!0,Promise:!1,queueMicrotask:!1,registration:!1,removeEventListener:!1,Request:!1,Response:!1,self:!1,ServiceWorker:!1,ServiceWorkerContainer:!1,ServiceWorkerGlobalScope:!1,ServiceWorkerMessageEvent:!1,ServiceWorkerRegistration:!1,setInterval:!1,setTimeout:!1,skipWaiting:!1,TextDecoder:!1,TextEncoder:!1,URL:!1,URLSearchParams:!1,WebSocket:!1,WindowClient:!1,Worker:!1,WorkerGlobalScope:!1,XMLHttpRequest:!1},atomtest:{advanceClock:!1,fakeClearInterval:!1,fakeClearTimeout:!1,fakeSetInterval:!1,fakeSetTimeout:!1,resetTimeouts:!1,waitsForPromise:!1},embertest:{andThen:!1,click:!1,currentPath:!1,currentRouteName:!1,currentURL:!1,fillIn:!1,find:!1,findAll:!1,findWithAssert:!1,keyEvent:!1,pauseTest:!1,resumeTest:!1,triggerEvent:!1,visit:!1,wait:!1},protractor:{$:!1,$$:!1,browser:!1,by:!1,By:!1,DartObject:!1,element:!1,protractor:!1},"shared-node-browser":{clearInterval:!1,clearTimeout:!1,console:!1,setInterval:!1,setTimeout:!1,URL:!1,URLSearchParams:!1},webextensions:{browser:!1,chrome:!1,opr:!1},greasemonkey:{cloneInto:!1,createObjectIn:!1,exportFunction:!1,GM:!1,GM_addStyle:!1,GM_deleteValue:!1,GM_getResourceText:!1,GM_getResourceURL:!1,GM_getValue:!1,GM_info:!1,GM_listValues:!1,GM_log:!1,GM_openInTab:!1,GM_registerMenuCommand:!1,GM_setClipboard:!1,GM_setValue:!1,GM_xmlhttpRequest:!1,unsafeWindow:!1},devtools:{$:!1,$_:!1,$$:!1,$0:!1,$1:!1,$2:!1,$3:!1,$4:!1,$x:!1,chrome:!1,clear:!1,copy:!1,debug:!1,dir:!1,dirxml:!1,getEventListeners:!1,inspect:!1,keys:!1,monitor:!1,monitorEvents:!1,profile:!1,profileEnd:!1,queryObjects:!1,table:!1,undebug:!1,unmonitor:!1,unmonitorEvents:!1,values:!1}};function QE(){return $E?JE:($E=1,JE=ZE)}function ew(e){return null!=e&&e&&"false"!==e&&"0"!==e}var tw=(ew(ki.env.BABEL_8_BREAKING),QE()),rw=Io,nw=Zd,aw=Sb,sw=rR,iw=ul,ow=re,dw=La,lw=ps,cw=rt,uw=at,pw=st,fw=it,gw=ot,hw=Re,mw=we,yw=ct,vw=ss,bw=os,xw=hs,Rw=Ce,Ew=Ne,ww=ls,jw=es,Sw=Pe,Tw=bt,Aw=xt,Cw=Et,kw=He,Pw=Ke,_w=Xe,Dw=Fs,Iw=xl,Ow=hl,Nw=Mx,Fw=Bl,Bw=Ml,Mw=vn,Lw=bn,Uw=Be,zw=En,Ww=ht,qw=Ot,Hw=gs,Vw=Rb;function Gw(e,t){switch(null==e?void 0:e.type){default:var r;if(yw(e)||Hw(e))if((pw(e)||gw(e)||yw(e))&&e.source)Gw(e.source,t);else if((gw(e)||yw(e))&&null!=(r=e.specifiers)&&r.length)for(var n,a=P(e.specifiers);!(n=a()).done;)Gw(n.value,t);else(fw(e)||gw(e))&&e.declaration&&Gw(e.declaration,t);else xw(e)?Gw(e.local,t):!vw(e)||Rw(e)||Sw(e)||Cw(e)||t.push(e.value);break;case"MemberExpression":case"OptionalMemberExpression":case"JSXMemberExpression":Gw(e.object,t),Gw(e.property,t);break;case"Identifier":case"JSXIdentifier":t.push(e.name);break;case"CallExpression":case"OptionalCallExpression":case"NewExpression":Gw(e.callee,t);break;case"ObjectExpression":case"ObjectPattern":for(var s,i=P(e.properties);!(s=i()).done;)Gw(s.value,t);break;case"SpreadElement":case"RestElement":case"UnaryExpression":case"UpdateExpression":Gw(e.argument,t);break;case"ObjectProperty":case"ObjectMethod":case"ClassProperty":case"ClassMethod":case"ClassPrivateProperty":case"ClassPrivateMethod":Gw(e.key,t);break;case"ThisExpression":t.push("this");break;case"Super":t.push("super");break;case"Import":t.push("import");break;case"DoExpression":t.push("do");break;case"YieldExpression":t.push("yield"),Gw(e.argument,t);break;case"AwaitExpression":t.push("await"),Gw(e.argument,t);break;case"AssignmentExpression":Gw(e.left,t);break;case"VariableDeclarator":case"FunctionExpression":case"FunctionDeclaration":case"ClassExpression":case"ClassDeclaration":case"PrivateName":Gw(e.id,t);break;case"ParenthesizedExpression":Gw(e.expression,t);break;case"MetaProperty":Gw(e.meta,t),Gw(e.property,t);break;case"JSXElement":Gw(e.openingElement,t);break;case"JSXOpeningElement":Gw(e.name,t);break;case"JSXFragment":Gw(e.openingFragment,t);break;case"JSXOpeningFragment":t.push("Fragment");break;case"JSXNamespacedName":Gw(e.namespace,t),Gw(e.name,t)}}var Kw={ForStatement:function(e){var t=e.get("init");if(t.isVar()){var r=e.scope;(r.getFunctionParent()||r.getProgramParent()).registerBinding("var",t)}},Declaration:function(e){e.isBlockScoped()||e.isImportDeclaration()||e.isExportDeclaration()||(e.scope.getFunctionParent()||e.scope.getProgramParent()).registerDeclaration(e)},ImportDeclaration:function(e){e.scope.getBlockParent().registerDeclaration(e)},ReferencedIdentifier:function(e,t){t.references.push(e)},ForXStatement:function(e,t){var r=e.get("left");if(r.isPattern()||r.isIdentifier())t.constantViolations.push(e);else if(r.isVar()){var n=e.scope;(n.getFunctionParent()||n.getProgramParent()).registerBinding("var",r)}},ExportDeclaration:{exit:function(e){var t=e.node,r=e.scope;if(!pw(t)){var n=t.declaration;if(uw(n)||hw(n)){var a=n.id;if(!a)return;var s=r.getBinding(a.name);null==s||s.reference(e)}else if(_w(n))for(var i,o=P(n.declarations);!(i=o()).done;)for(var d=i.value,l=0,c=Object.keys(sw(d));l1&&(r+=t),"_"+r},t.generateUidBasedOnNode=function(e,t){var r=[];Gw(e,r);var n=r.join("$");return n=n.replace(/^_/,"")||t||"ref",this.generateUid(n.slice(0,20))},t.generateUidIdentifierBasedOnNode=function(e,t){return iw(this.generateUidBasedOnNode(e,t))},t.isStatic=function(e){if(kw(e)||Tw(e)||zw(e))return!0;if(mw(e)){var t=this.getBinding(e.name);return t?t.constant:this.hasBinding(e.name)}return!1},t.maybeGenerateMemoised=function(e,t){if(this.isStatic(e))return null;var r=this.generateUidIdentifierBasedOnNode(e);return t?r:(this.push({id:r}),aw(r))},t.checkBlockScopedCollisions=function(e,t,r,n){if("param"!==t&&"local"!==e.kind&&("let"===t||"let"===e.kind||"const"===e.kind||"module"===e.kind||"param"===e.kind&&"const"===t))throw this.hub.buildError(n,'Duplicate declaration "'+r+'"',TypeError)},t.rename=function(e,t){var r=this.getBinding(e);r&&(t||(t=this.generateUidIdentifier(e).name),new KE(r,e,t).rename(arguments[2]))},t._renameFromMap=function(e,t,r,n){e[t]&&(e[r]=n,e[t]=null)},t.dump=function(){var e="-".repeat(60);console.log(e);var t=this;do{console.log("#",t.block.type);for(var r=0,n=Object.keys(t.bindings);r0)&&this.isPure(e.body,t);if(cw(e)){for(var i,o=P(e.body);!(i=o()).done;){var d=i.value;if(!this.isPure(d,t))return!1}return!0}if(dw(e))return this.isPure(e.left,t)&&this.isPure(e.right,t);if(ow(e)||Lw(e)){for(var l,c=P(e.elements);!(l=c()).done;){var u=l.value;if(null!==u&&!this.isPure(u,t))return!1}return!0}if(Ew(e)||Mw(e)){for(var p,f=P(e.properties);!(p=f()).done;){var g=p.value;if(!this.isPure(g,t))return!1}return!0}if(bw(e))return!(e.computed&&!this.isPure(e.key,t))&&!((null==(a=e.decorators)?void 0:a.length)>0);if(ww(e))return!(e.computed&&!this.isPure(e.key,t))&&!((null==(s=e.decorators)?void 0:s.length)>0)&&!((Uw(e)||e.static)&&null!==e.value&&!this.isPure(e.value,t));if(Pw(e))return this.isPure(e.argument,t);if(Aw(e))return Dw(e.tag,"String.raw")&&!this.hasBinding("String",!0)&&this.isPure(e.quasi,t);if(Cw(e)){for(var h,m=P(e.expressions);!(h=m()).done;){var y=h.value;if(!this.isPure(y,t))return!1}return!0}return jw(e)},t.setData=function(e,t){return this.data[e]=t},t.getData=function(e){var t=this;do{var r=t.data[e];if(null!=r)return r}while(t=t.parent)},t.removeData=function(e){var t=this;do{null!=t.data[e]&&(t.data[e]=null)}while(t=t.parent)},t.init=function(){this.inited||(this.inited=!0,this.crawl())},t.crawl=function(){var e=this.path;this.references=Object.create(null),this.bindings=Object.create(null),this.globals=Object.create(null),this.uids=Object.create(null),this.data=Object.create(null);var t=this.getProgramParent();if(!t.crawling){var r={references:[],constantViolations:[],assignments:[]};if(this.crawling=!0,"Program"!==e.type&&lE(Kw)){for(var n,a=P(Kw.enter);!(n=a()).done;)n.value.call(r,e,r);var s=Kw[e.type];if(s)for(var i,o=P(s.enter);!(i=o()).done;)i.value.call(r,e,r)}e.traverse(Kw,r),this.crawling=!1;for(var d,l=P(r.assignments);!(d=l()).done;){for(var c=d.value,u=c.getBindingIdentifiers(),p=0,f=Object.keys(u);p0)throw new Error("Invalid string. Length must be a multiple of 4");s="="===e[o-2]?2:"="===e[o-1]?1:0,i=new rj(3*o/4-s),n=s>0?o-4:o;var d=0;for(t=0,r=0;t>16&255,i[d++]=a>>8&255,i[d++]=255&a;return 2===s?(a=tj[e.charCodeAt(t)]<<2|tj[e.charCodeAt(t+1)]>>4,i[d++]=255&a):1===s&&(a=tj[e.charCodeAt(t)]<<10|tj[e.charCodeAt(t+1)]<<4|tj[e.charCodeAt(t+2)]>>2,i[d++]=a>>8&255,i[d++]=255&a),i}function ij(e){return ej[e>>18&63]+ej[e>>12&63]+ej[e>>6&63]+ej[63&e]}function oj(e,t,r){for(var n,a=[],s=t;s