Created
February 16, 2024 10:59
-
-
Save aidenybai/36935283fe60eb5b5bd8eba109a0f60e to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "/Users/aidenybai/Projects/aidenybai/anya/notes-demo/src/components/FilterInput/index.jsx": { | |
| "components": { | |
| "FilterInput": { | |
| "componentName": "FilterInput", | |
| "loc": [ | |
| 3, | |
| 0, | |
| 14, | |
| 1 | |
| ], | |
| "externals": { | |
| "TextField": { | |
| "kind": "module", | |
| "loc": [ | |
| 1, | |
| 9, | |
| 1, | |
| 18 | |
| ], | |
| "jsx": false, | |
| "hints": [] | |
| } | |
| }, | |
| "renders": [ | |
| { | |
| "kind": "mount", | |
| "loc": [ | |
| 5, | |
| 4, | |
| 12, | |
| 6 | |
| ], | |
| "selfTime": 4.200000017881393, | |
| "totalTime": 3.4000000059604645, | |
| "count": 1, | |
| "filename": "/Users/aidenybai/Projects/aidenybai/anya/notes-demo/src/components/FilterInput/index.jsx", | |
| "parent": "/Users/aidenybai/Projects/aidenybai/anya/notes-demo/src/components/FilterInput/index.jsx::FilterInput", | |
| "owner": "/Users/aidenybai/Projects/aidenybai/anya/notes-demo/src/components/NotesList/index.jsx::null", | |
| "changes": [] | |
| }, | |
| { | |
| "kind": "props", | |
| "loc": [ | |
| 3, | |
| 21, | |
| 3, | |
| 52 | |
| ], | |
| "selfTime": 0.09999999403953552, | |
| "totalTime": 5.9000000059604645, | |
| "count": 10, | |
| "filename": "/Users/aidenybai/Projects/aidenybai/anya/notes-demo/src/components/FilterInput/index.jsx", | |
| "owner": "/Users/aidenybai/Projects/aidenybai/anya/notes-demo/src/components/NotesList/index.jsx::NotesList", | |
| "changes": [ | |
| { | |
| "name": "onChange", | |
| "unstable": true, | |
| "prev": "(nextValue) => {\n dispatcher(nextValue);\n if (Object.is(prevValue, nextValue))\n return;\n const { selfTime, totalTime } = getDuration(fiber);\n const prev = serialize(prevValue);\n const next = serialize(nextValue);\n const type = nextValue ? typeof nextValue : typeof prevValue;\n const unstable = prev === next && UNSTABLE_REFERENCE_TYPES.includes(type);\n const changes = [\n {\n unstable,\n prev,\n next,\n type,\n count: 1\n }\n ];\n const render = createValueRender(\n \"state\",\n loc,\n selfTime,\n totalTime,\n 1,\n filename,\n owner,\n changes\n );\n reportRender(filename, componentName, render);\n }", | |
| "next": "(nextValue) => {\n dispatcher(nextValue);\n if (Object.is(prevValue, nextValue))\n return;\n const { selfTime, totalTime } = getDuration(fiber);\n const prev = serialize(prevValue);\n const next = serialize(nextValue);\n const type = nextValue ? typeof nextValue : typeof prevValue;\n const unstable = prev === next && UNSTABLE_REFERENCE_TYPES.includes(type);\n const changes = [\n {\n unstable,\n prev,\n next,\n type,\n count: 1\n }\n ];\n const render = createValueRender(\n \"state\",\n loc,\n selfTime,\n totalTime,\n 1,\n filename,\n owner,\n changes\n );\n reportRender(filename, componentName, render);\n }", | |
| "type": "function", | |
| "count": 10 | |
| }, | |
| { | |
| "name": "filter", | |
| "unstable": false, | |
| "prev": "as", | |
| "next": "asd", | |
| "type": "string", | |
| "count": 3 | |
| } | |
| ], | |
| "parent": null | |
| }, | |
| { | |
| "kind": "update", | |
| "loc": [ | |
| 5, | |
| 4, | |
| 12, | |
| 6 | |
| ], | |
| "selfTime": 11.300000011920929, | |
| "totalTime": 17.400000005960464, | |
| "count": 18, | |
| "filename": "/Users/aidenybai/Projects/aidenybai/anya/notes-demo/src/components/FilterInput/index.jsx", | |
| "parent": "/Users/aidenybai/Projects/aidenybai/anya/notes-demo/src/components/FilterInput/index.jsx::FilterInput", | |
| "owner": "/Users/aidenybai/Projects/aidenybai/anya/notes-demo/src/components/NotesList/index.jsx::null", | |
| "changes": [] | |
| }, | |
| { | |
| "kind": "nested-update", | |
| "loc": [ | |
| 5, | |
| 4, | |
| 12, | |
| 6 | |
| ], | |
| "selfTime": 0.699999988079071, | |
| "totalTime": 11.099999994039536, | |
| "count": 11, | |
| "filename": "/Users/aidenybai/Projects/aidenybai/anya/notes-demo/src/components/FilterInput/index.jsx", | |
| "parent": "/Users/aidenybai/Projects/aidenybai/anya/notes-demo/src/components/FilterInput/index.jsx::FilterInput", | |
| "owner": "/Users/aidenybai/Projects/aidenybai/anya/notes-demo/src/components/NotesList/index.jsx::null", | |
| "changes": [] | |
| } | |
| ], | |
| "children": {}, | |
| "hints": [ | |
| [ | |
| 9, | |
| "Hoist this" | |
| ], | |
| [ | |
| 11, | |
| "Hoist this" | |
| ] | |
| ], | |
| "count": 40, | |
| "filename": "/Users/aidenybai/Projects/aidenybai/anya/notes-demo/src/components/FilterInput/index.jsx" | |
| } | |
| } | |
| }, | |
| "/Users/aidenybai/Projects/aidenybai/anya/notes-demo/src/components/NoteButton/index.jsx": { | |
| "components": { | |
| "NoteButton": { | |
| "componentName": "NoteButton", | |
| "loc": [ | |
| 6, | |
| 0, | |
| 23, | |
| 1 | |
| ], | |
| "externals": { | |
| "ReactMarkdown": { | |
| "kind": "module", | |
| "loc": [ | |
| 1, | |
| 7, | |
| 1, | |
| 20 | |
| ], | |
| "jsx": false, | |
| "hints": [] | |
| }, | |
| "gfm": { | |
| "kind": "module", | |
| "loc": [ | |
| 2, | |
| 7, | |
| 2, | |
| 10 | |
| ], | |
| "jsx": false, | |
| "hints": [] | |
| }, | |
| "format": { | |
| "kind": "module", | |
| "loc": [ | |
| 3, | |
| 9, | |
| 3, | |
| 15 | |
| ], | |
| "jsx": false, | |
| "hints": [] | |
| }, | |
| "generateNoteHeader": { | |
| "kind": "hoisted", | |
| "loc": [ | |
| 25, | |
| 0, | |
| 76, | |
| 1 | |
| ], | |
| "jsx": true, | |
| "hints": [ | |
| [ | |
| 34, | |
| "Hoist this" | |
| ], | |
| [ | |
| 67, | |
| "Potentially expensive component" | |
| ], | |
| [ | |
| 69, | |
| "Hoist this" | |
| ], | |
| [ | |
| 70, | |
| "Hoist this" | |
| ], | |
| [ | |
| 71, | |
| "Hoist this" | |
| ], | |
| [ | |
| 73, | |
| "Hoist this" | |
| ] | |
| ] | |
| } | |
| }, | |
| "renders": [ | |
| { | |
| "kind": "value", | |
| "loc": [ | |
| 20, | |
| 7, | |
| 20, | |
| 25 | |
| ], | |
| "selfTime": 49.49999979138374, | |
| "totalTime": 49.49999979138374, | |
| "count": 18505, | |
| "filename": "/Users/aidenybai/Projects/aidenybai/anya/notes-demo/src/components/NoteButton/index.jsx", | |
| "owner": "/Users/aidenybai/Projects/aidenybai/anya/notes-demo/src/components/NotesList/index.jsx::null", | |
| "changes": [ | |
| { | |
| "prev": "<ReactMarkdown …/>", | |
| "next": "<ReactMarkdown …/>", | |
| "unstable": true, | |
| "type": "object", | |
| "count": 18505 | |
| } | |
| ], | |
| "parent": null | |
| }, | |
| { | |
| "kind": "props", | |
| "loc": [ | |
| 6, | |
| 20, | |
| 6, | |
| 73 | |
| ], | |
| "selfTime": 137.8000001013279, | |
| "totalTime": 941.6000002622604, | |
| "count": 9252, | |
| "filename": "/Users/aidenybai/Projects/aidenybai/anya/notes-demo/src/components/NoteButton/index.jsx", | |
| "owner": "/Users/aidenybai/Projects/aidenybai/anya/notes-demo/src/components/NotesList/index.jsx::NotesList", | |
| "changes": [ | |
| { | |
| "name": "onNoteActivated", | |
| "unstable": true, | |
| "prev": "() => onNoteActivated(id)", | |
| "next": "() => onNoteActivated(id)", | |
| "type": "function", | |
| "count": 9252 | |
| }, | |
| { | |
| "name": "text", | |
| "unstable": false, | |
| "prev": "Lumikim gividep cim wob. Rodisirom _tobe._\n\nDetudemon ranihadara ciruruboc wiriqotab dacilob cunoqalap pidarabo siqucinu dobuc. Dumigeface mebaciyabi dut bir _pejuda_ noc _gapotipu_ **qid** ceruhe neh…", | |
| "next": "Liducukuvo. Buredoban _cubo_ kuz xagu pi.\n\nBucudat. Xonutir vofo qiz cepukoxil. **Zo** bunicevu qumapu hac sopacer domebu roreribere dimopec lafe kubitabop birujibe. _Bopedo_ cehacabu koboxudobo. Tole…", | |
| "type": "string", | |
| "count": 9252 | |
| }, | |
| { | |
| "name": "date", | |
| "unstable": true, | |
| "prev": "Date{…}", | |
| "next": "Date{…}", | |
| "type": "object", | |
| "count": 9252 | |
| }, | |
| { | |
| "name": "isActive", | |
| "unstable": false, | |
| "prev": "true", | |
| "next": "false", | |
| "type": "boolean", | |
| "count": 20 | |
| }, | |
| { | |
| "name": "filterText", | |
| "unstable": false, | |
| "prev": "as", | |
| "next": "asd", | |
| "type": "string", | |
| "count": 3 | |
| } | |
| ], | |
| "parent": null | |
| }, | |
| { | |
| "kind": "value", | |
| "loc": [ | |
| 12, | |
| 12, | |
| 12, | |
| 30 | |
| ], | |
| "selfTime": 0, | |
| "totalTime": 0, | |
| "count": 10, | |
| "filename": "/Users/aidenybai/Projects/aidenybai/anya/notes-demo/src/components/NoteButton/index.jsx", | |
| "owner": "/Users/aidenybai/Projects/aidenybai/anya/notes-demo/src/components/NotesList/index.jsx::null", | |
| "changes": [ | |
| { | |
| "prev": "true", | |
| "next": "false", | |
| "unstable": false, | |
| "type": "boolean", | |
| "count": 10 | |
| } | |
| ], | |
| "parent": null | |
| } | |
| ], | |
| "children": {}, | |
| "hints": [ | |
| [ | |
| 16, | |
| "Hoist this" | |
| ], | |
| [ | |
| 16, | |
| "Hoist this" | |
| ] | |
| ], | |
| "count": 27767, | |
| "filename": "/Users/aidenybai/Projects/aidenybai/anya/notes-demo/src/components/NoteButton/index.jsx" | |
| } | |
| } | |
| }, | |
| "/Users/aidenybai/Projects/aidenybai/anya/notes-demo/src/components/NotesList/index.jsx": { | |
| "components": { | |
| "NotesList": { | |
| "componentName": "NotesList", | |
| "loc": [ | |
| 7, | |
| 0, | |
| 80, | |
| 1 | |
| ], | |
| "externals": { | |
| "useState": { | |
| "kind": "module", | |
| "loc": [ | |
| 1, | |
| 9, | |
| 1, | |
| 17 | |
| ], | |
| "jsx": false, | |
| "hints": [] | |
| }, | |
| "Button": { | |
| "kind": "module", | |
| "loc": [ | |
| 2, | |
| 9, | |
| 2, | |
| 15 | |
| ], | |
| "jsx": false, | |
| "hints": [] | |
| }, | |
| "ButtonGroup": { | |
| "kind": "module", | |
| "loc": [ | |
| 2, | |
| 17, | |
| 2, | |
| 28 | |
| ], | |
| "jsx": false, | |
| "hints": [] | |
| }, | |
| "FilterInput": { | |
| "kind": "module", | |
| "loc": [ | |
| 3, | |
| 7, | |
| 3, | |
| 18 | |
| ], | |
| "jsx": false, | |
| "hints": [] | |
| }, | |
| "NoteButton": { | |
| "kind": "module", | |
| "loc": [ | |
| 4, | |
| 7, | |
| 4, | |
| 17 | |
| ], | |
| "jsx": false, | |
| "hints": [] | |
| } | |
| }, | |
| "renders": [ | |
| { | |
| "kind": "value", | |
| "loc": [ | |
| 28, | |
| 16, | |
| 28, | |
| 61 | |
| ], | |
| "selfTime": 5.000000029802322, | |
| "totalTime": 5.000000029802322, | |
| "count": 23188, | |
| "filename": "/Users/aidenybai/Projects/aidenybai/anya/notes-demo/src/components/NotesList/index.jsx", | |
| "owner": "/Users/aidenybai/Projects/aidenybai/anya/notes-demo/src/components/App/index.jsx::null", | |
| "changes": [ | |
| { | |
| "prev": "function FilterInput(_props) {\n let {\n filter,\n onChange,\n noteCount\n } = _props;\n _captureProps(7771382787459675, _props, [3, 21, 3, 52], 0);\n return (\n /*million ignore*/\n _captureJSX(7771382787459675, /* @__PURE__ */ jsxDEV(TextField, { className: \"notes-list__input\", type: \"search\", size: \"small\", value: filter, onChange: (e) => onChange(e.target.value), placeholder: `Filter ${noteCount} note${noteCount === 1 ? \"\" : \"s\"}` }, void 0, false, {\n fileName: \"/Users/aidenybai/Projects/aidenybai/anya/notes-demo/src/components/FilterInput/index.jsx\",\n lineNumber: 16,\n columnNumber: 59\n }, this), \"/Users/aidenybai/Projects/aidenybai/anya/notes-demo/src/components/FilterInput/index.jsx::FilterInput\", [5, 4, 12, 6], 1)\n );\n}", | |
| "next": "0", | |
| "unstable": false, | |
| "type": "function", | |
| "count": 21934 | |
| }, | |
| { | |
| "prev": "function FilterInput(_props) {\n let {\n filter,\n onChange,\n noteCount\n } = _props;\n _captureProps(7771382787459675, _props, [3, 21, 3, 52], 0);\n return (\n /*million ignore*/\n _captureJSX(7771382787459675, /* @__PURE__ */ jsxDEV(TextField, { className: \"notes-list__input\", type: \"search\", size: \"small\", value: filter, onChange: (e) => onChange(e.target.value), placeholder: `Filter ${noteCount} note${noteCount === 1 ? \"\" : \"s\"}` }, void 0, false, {\n fileName: \"/Users/aidenybai/Projects/aidenybai/anya/notes-demo/src/components/FilterInput/index.jsx\",\n lineNumber: 16,\n columnNumber: 59\n }, this), \"/Users/aidenybai/Projects/aidenybai/anya/notes-demo/src/components/FilterInput/index.jsx::FilterInput\", [5, 4, 12, 6], 1)\n );\n}", | |
| "next": "-1000", | |
| "unstable": false, | |
| "type": "number", | |
| "count": 902 | |
| }, | |
| { | |
| "prev": "function FilterInput(_props) {\n let {\n filter,\n onChange,\n noteCount\n } = _props;\n _captureProps(7771382787459675, _props, [3, 21, 3, 52], 0);\n return (\n /*million ignore*/\n _captureJSX(7771382787459675, /* @__PURE__ */ jsxDEV(TextField, { className: \"notes-list__input\", type: \"search\", size: \"small\", value: filter, onChange: (e) => onChange(e.target.value), placeholder: `Filter ${noteCount} note${noteCount === 1 ? \"\" : \"s\"}` }, void 0, false, {\n fileName: \"/Users/aidenybai/Projects/aidenybai/anya/notes-demo/src/components/FilterInput/index.jsx\",\n lineNumber: 16,\n columnNumber: 59\n }, this), \"/Users/aidenybai/Projects/aidenybai/anya/notes-demo/src/components/FilterInput/index.jsx::FilterInput\", [5, 4, 12, 6], 1)\n );\n}", | |
| "next": "-2000", | |
| "unstable": false, | |
| "type": "number", | |
| "count": 352 | |
| } | |
| ], | |
| "parent": null | |
| }, | |
| { | |
| "kind": "value", | |
| "loc": [ | |
| 36, | |
| 15, | |
| 45, | |
| 11 | |
| ], | |
| "selfTime": 23.400000154972076, | |
| "totalTime": 23.400000154972076, | |
| "count": 17506, | |
| "filename": "/Users/aidenybai/Projects/aidenybai/anya/notes-demo/src/components/NotesList/index.jsx", | |
| "owner": "/Users/aidenybai/Projects/aidenybai/anya/notes-demo/src/components/App/index.jsx::null", | |
| "changes": [ | |
| { | |
| "prev": "<NoteButton …/>", | |
| "next": "<NoteButton …/>", | |
| "unstable": true, | |
| "type": "object", | |
| "count": 17506 | |
| } | |
| ], | |
| "parent": null | |
| }, | |
| { | |
| "kind": "mount", | |
| "loc": [ | |
| 19, | |
| 8, | |
| 23, | |
| 10 | |
| ], | |
| "selfTime": 4.300000011920929, | |
| "totalTime": 3.5, | |
| "count": 1, | |
| "filename": "/Users/aidenybai/Projects/aidenybai/anya/notes-demo/src/components/NotesList/index.jsx", | |
| "parent": "/Users/aidenybai/Projects/aidenybai/anya/notes-demo/src/components/NotesList/index.jsx::NotesList", | |
| "owner": "/Users/aidenybai/Projects/aidenybai/anya/notes-demo/src/components/App/index.jsx::null", | |
| "changes": [ | |
| { | |
| "prev": "-1000", | |
| "next": "function FilterInput(_props) {\n let {\n filter,\n onChange,\n noteCount\n } = _props;\n _captureProps(7771382787459675, _props, [3, 21, 3, 52], 0);\n return (\n /*million ignore*/\n _captureJSX(7771382787459675, /* @__PURE__ */ jsxDEV(TextField, { className: \"notes-list__input\", type: \"search\", size: \"small\", value: filter, onChange: (e) => onChange(e.target.value), placeholder: `Filter ${noteCount} note${noteCount === 1 ? \"\" : \"s\"}` }, void 0, false, {\n fileName: \"/Users/aidenybai/Projects/aidenybai/anya/notes-demo/src/components/FilterInput/index.jsx\",\n lineNumber: 16,\n columnNumber: 59\n }, this), \"/Users/aidenybai/Projects/aidenybai/anya/notes-demo/src/components/FilterInput/index.jsx::FilterInput\", [5, 4, 12, 6], 1)\n );\n}", | |
| "unstable": false, | |
| "type": "function", | |
| "count": 1 | |
| } | |
| ] | |
| }, | |
| { | |
| "kind": "mount", | |
| "loc": [ | |
| 49, | |
| 8, | |
| 68, | |
| 22 | |
| ], | |
| "selfTime": 2.0999999940395355, | |
| "totalTime": 2.0999999940395355, | |
| "count": 1, | |
| "filename": "/Users/aidenybai/Projects/aidenybai/anya/notes-demo/src/components/NotesList/index.jsx", | |
| "parent": "/Users/aidenybai/Projects/aidenybai/anya/notes-demo/src/components/NotesList/index.jsx::NotesList", | |
| "owner": "/Users/aidenybai/Projects/aidenybai/anya/notes-demo/src/components/App/index.jsx::null", | |
| "changes": [] | |
| }, | |
| { | |
| "kind": "mount", | |
| "loc": [ | |
| 69, | |
| 8, | |
| 76, | |
| 22 | |
| ], | |
| "selfTime": 0.4000000059604645, | |
| "totalTime": 0.4000000059604645, | |
| "count": 1, | |
| "filename": "/Users/aidenybai/Projects/aidenybai/anya/notes-demo/src/components/NotesList/index.jsx", | |
| "parent": "/Users/aidenybai/Projects/aidenybai/anya/notes-demo/src/components/NotesList/index.jsx::NotesList", | |
| "owner": "/Users/aidenybai/Projects/aidenybai/anya/notes-demo/src/components/App/index.jsx::null", | |
| "changes": [] | |
| }, | |
| { | |
| "kind": "update", | |
| "loc": [ | |
| 49, | |
| 8, | |
| 68, | |
| 22 | |
| ], | |
| "selfTime": 11.699999988079071, | |
| "totalTime": 14.999999970197678, | |
| "count": 12, | |
| "filename": "/Users/aidenybai/Projects/aidenybai/anya/notes-demo/src/components/NotesList/index.jsx", | |
| "parent": "/Users/aidenybai/Projects/aidenybai/anya/notes-demo/src/components/NotesList/index.jsx::NotesList", | |
| "owner": "/Users/aidenybai/Projects/aidenybai/anya/notes-demo/src/components/App/index.jsx::null", | |
| "changes": [] | |
| }, | |
| { | |
| "kind": "update", | |
| "loc": [ | |
| 69, | |
| 8, | |
| 76, | |
| 22 | |
| ], | |
| "selfTime": 2.9000000059604645, | |
| "totalTime": 3.199999988079071, | |
| "count": 12, | |
| "filename": "/Users/aidenybai/Projects/aidenybai/anya/notes-demo/src/components/NotesList/index.jsx", | |
| "parent": "/Users/aidenybai/Projects/aidenybai/anya/notes-demo/src/components/NotesList/index.jsx::NotesList", | |
| "owner": "/Users/aidenybai/Projects/aidenybai/anya/notes-demo/src/components/App/index.jsx::null", | |
| "changes": [] | |
| }, | |
| { | |
| "kind": "nested-update", | |
| "loc": [ | |
| 49, | |
| 8, | |
| 68, | |
| 22 | |
| ], | |
| "selfTime": 0.19999998807907104, | |
| "totalTime": 2.6999999582767487, | |
| "count": 1, | |
| "filename": "/Users/aidenybai/Projects/aidenybai/anya/notes-demo/src/components/NotesList/index.jsx", | |
| "parent": "/Users/aidenybai/Projects/aidenybai/anya/notes-demo/src/components/NotesList/index.jsx::NotesList", | |
| "owner": "/Users/aidenybai/Projects/aidenybai/anya/notes-demo/src/components/App/index.jsx::null", | |
| "changes": [] | |
| }, | |
| { | |
| "kind": "nested-update", | |
| "loc": [ | |
| 69, | |
| 8, | |
| 76, | |
| 22 | |
| ], | |
| "selfTime": 0.09999999403953552, | |
| "totalTime": 0.5, | |
| "count": 1, | |
| "filename": "/Users/aidenybai/Projects/aidenybai/anya/notes-demo/src/components/NotesList/index.jsx", | |
| "parent": "/Users/aidenybai/Projects/aidenybai/anya/notes-demo/src/components/NotesList/index.jsx::NotesList", | |
| "owner": "/Users/aidenybai/Projects/aidenybai/anya/notes-demo/src/components/App/index.jsx::null", | |
| "changes": [] | |
| }, | |
| { | |
| "kind": "props", | |
| "loc": [ | |
| 7, | |
| 19, | |
| 13, | |
| 1 | |
| ], | |
| "selfTime": 0, | |
| "totalTime": 0.20000001788139343, | |
| "count": 7, | |
| "filename": "/Users/aidenybai/Projects/aidenybai/anya/notes-demo/src/components/NotesList/index.jsx", | |
| "owner": "/Users/aidenybai/Projects/aidenybai/anya/notes-demo/src/components/App/index.jsx::App", | |
| "changes": [ | |
| { | |
| "name": "activeNoteId", | |
| "unstable": false, | |
| "prev": "RztZDrZJHoU5Grd0ILvg9", | |
| "next": "YkGYqeY3Itfoaoc16CPip", | |
| "type": "string", | |
| "count": 4 | |
| }, | |
| { | |
| "name": "onNoteActivated", | |
| "unstable": true, | |
| "prev": "(nextValue) => {\n dispatcher(nextValue);\n if (Object.is(prevValue, nextValue))\n return;\n const { selfTime, totalTime } = getDuration(fiber);\n const prev = serialize(prevValue);\n const next = serialize(nextValue);\n const type = nextValue ? typeof nextValue : typeof prevValue;\n const unstable = prev === next && UNSTABLE_REFERENCE_TYPES.includes(type);\n const changes = [\n {\n unstable,\n prev,\n next,\n type,\n count: 1\n }\n ];\n const render = createValueRender(\n \"state\",\n loc,\n selfTime,\n totalTime,\n 1,\n filename,\n owner,\n changes\n );\n reportRender(filename, componentName, render);\n }", | |
| "next": "(nextValue) => {\n dispatcher(nextValue);\n if (Object.is(prevValue, nextValue))\n return;\n const { selfTime, totalTime } = getDuration(fiber);\n const prev = serialize(prevValue);\n const next = serialize(nextValue);\n const type = nextValue ? typeof nextValue : typeof prevValue;\n const unstable = prev === next && UNSTABLE_REFERENCE_TYPES.includes(type);\n const changes = [\n {\n unstable,\n prev,\n next,\n type,\n count: 1\n }\n ];\n const render = createValueRender(\n \"state\",\n loc,\n selfTime,\n totalTime,\n 1,\n filename,\n owner,\n changes\n );\n reportRender(filename, componentName, render);\n }", | |
| "type": "function", | |
| "count": 7 | |
| }, | |
| { | |
| "name": "onNewNotesRequested", | |
| "unstable": true, | |
| "prev": "function(...args) {\n const startTime = performance.now();\n const value = fn(...args);\n if (prevValue) {\n if (Object.is(prevValue, value))\n return value;\n const time = performance.now() - startTime;\n const prev = serialize(prevValue);\n const next = serialize(value);\n const type = value ? typeof value : typeof prevValue;\n const unstable = prev === next && UNSTABLE_REFERENCE_TYPES.includes(type);\n const changes = [\n {\n prev,\n next,\n unstable,\n type,\n count: 1\n }\n ];\n const render = createValueRender(\"value\", loc, time, time, 1, filename, owner, changes);\n reportRender(filename, componentName, render);\n }\n setPrev(value);\n return value;\n }", | |
| "next": "function(...args) {\n const startTime = performance.now();\n const value = fn(...args);\n if (prevValue) {\n if (Object.is(prevValue, value))\n return value;\n const time = performance.now() - startTime;\n const prev = serialize(prevValue);\n const next = serialize(value);\n const type = value ? typeof value : typeof prevValue;\n const unstable = prev === next && UNSTABLE_REFERENCE_TYPES.includes(type);\n const changes = [\n {\n prev,\n next,\n unstable,\n type,\n count: 1\n }\n ];\n const render = createValueRender(\"value\", loc, time, time, 1, filename, owner, changes);\n reportRender(filename, componentName, render);\n }\n setPrev(value);\n return value;\n }", | |
| "type": "function", | |
| "count": 7 | |
| }, | |
| { | |
| "name": "onDeleteAllRequested", | |
| "unstable": true, | |
| "prev": "() => {\n _captureFunctionCall(\n 5813676148412013,\n /*million ignore*/\n _captureFunctionDef(5813676148412013, deleteNotes, [90, 4, 90, 15], 17, null)(),\n [90, 4, 90, 17],\n 18,\n {\n name: \"deleteNotes\",\n loc: [7, 2, 7, 13]\n }\n );\n const newNotes = (\n /*million ignore*/\n _captureFunctionCall(\n 5813676148412013,\n /*million ignore*/\n _captureFunctionDef(5813676148412013, getNotes, [92, 21, 92, 29], 19, null)(),\n [92, 21, 92, 31],\n 20,\n {\n name: \"getNotes\",\n loc: [8, 2, 8, 10]\n }\n )\n );\n _captureFunctionCall(\n 5813676148412013,\n /*million ignore*/\n _captureFunctionDef(5813676148412013, setNotes, [93, 4, 93, 12], 21, null)(newNotes),\n [93, 4, 93, 22],\n 22,\n {\n name: \"setNotes\",\n loc: [23, 8, 23, 48]\n }\n );\n _captureFunctionCall(\n 5813676148412013,\n /*million ignore*/\n _captureFunctionDef(5813676148412013, setActiveNoteId, [94, 4, 94, 19], 23, null)(null),\n [94, 4, 94, 25],\n 24,\n {\n name: \"setActiveNoteId\",\n loc: [24, 8, 24, 56]\n }\n );\n }", | |
| "next": "() => {\n _captureFunctionCall(\n 5813676148412013,\n /*million ignore*/\n _captureFunctionDef(5813676148412013, deleteNotes, [90, 4, 90, 15], 17, null)(),\n [90, 4, 90, 17],\n 18,\n {\n name: \"deleteNotes\",\n loc: [7, 2, 7, 13]\n }\n );\n const newNotes = (\n /*million ignore*/\n _captureFunctionCall(\n 5813676148412013,\n /*million ignore*/\n _captureFunctionDef(5813676148412013, getNotes, [92, 21, 92, 29], 19, null)(),\n [92, 21, 92, 31],\n 20,\n {\n name: \"getNotes\",\n loc: [8, 2, 8, 10]\n }\n )\n );\n _captureFunctionCall(\n 5813676148412013,\n /*million ignore*/\n _captureFunctionDef(5813676148412013, setNotes, [93, 4, 93, 12], 21, null)(newNotes),\n [93, 4, 93, 22],\n 22,\n {\n name: \"setNotes\",\n loc: [23, 8, 23, 48]\n }\n );\n _captureFunctionCall(\n 5813676148412013,\n /*million ignore*/\n _captureFunctionDef(5813676148412013, setActiveNoteId, [94, 4, 94, 19], 23, null)(null),\n [94, 4, 94, 25],\n 24,\n {\n name: \"setActiveNoteId\",\n loc: [24, 8, 24, 56]\n }\n );\n }", | |
| "type": "function", | |
| "count": 7 | |
| }, | |
| { | |
| "name": "notes", | |
| "unstable": true, | |
| "prev": "{…}", | |
| "next": "{…}", | |
| "type": "object", | |
| "count": 3 | |
| } | |
| ], | |
| "parent": null | |
| }, | |
| { | |
| "kind": "update", | |
| "loc": [ | |
| 19, | |
| 8, | |
| 23, | |
| 10 | |
| ], | |
| "selfTime": 11.700000017881393, | |
| "totalTime": 18.19999998807907, | |
| "count": 18, | |
| "filename": "/Users/aidenybai/Projects/aidenybai/anya/notes-demo/src/components/NotesList/index.jsx", | |
| "parent": "/Users/aidenybai/Projects/aidenybai/anya/notes-demo/src/components/NotesList/index.jsx::NotesList", | |
| "owner": "/Users/aidenybai/Projects/aidenybai/anya/notes-demo/src/components/App/index.jsx::null", | |
| "changes": [ | |
| { | |
| "prev": "-1000", | |
| "next": "function FilterInput(_props) {\n let {\n filter,\n onChange,\n noteCount\n } = _props;\n _captureProps(7771382787459675, _props, [3, 21, 3, 52], 0);\n return (\n /*million ignore*/\n _captureJSX(7771382787459675, /* @__PURE__ */ jsxDEV(TextField, { className: \"notes-list__input\", type: \"search\", size: \"small\", value: filter, onChange: (e) => onChange(e.target.value), placeholder: `Filter ${noteCount} note${noteCount === 1 ? \"\" : \"s\"}` }, void 0, false, {\n fileName: \"/Users/aidenybai/Projects/aidenybai/anya/notes-demo/src/components/FilterInput/index.jsx\",\n lineNumber: 16,\n columnNumber: 59\n }, this), \"/Users/aidenybai/Projects/aidenybai/anya/notes-demo/src/components/FilterInput/index.jsx::FilterInput\", [5, 4, 12, 6], 1)\n );\n}", | |
| "unstable": false, | |
| "type": "function", | |
| "count": 18 | |
| } | |
| ] | |
| }, | |
| { | |
| "kind": "nested-update", | |
| "loc": [ | |
| 19, | |
| 8, | |
| 23, | |
| 10 | |
| ], | |
| "selfTime": 0.699999988079071, | |
| "totalTime": 11.700000017881393, | |
| "count": 11, | |
| "filename": "/Users/aidenybai/Projects/aidenybai/anya/notes-demo/src/components/NotesList/index.jsx", | |
| "parent": "/Users/aidenybai/Projects/aidenybai/anya/notes-demo/src/components/NotesList/index.jsx::NotesList", | |
| "owner": "/Users/aidenybai/Projects/aidenybai/anya/notes-demo/src/components/App/index.jsx::null", | |
| "changes": [ | |
| { | |
| "prev": "-1000", | |
| "next": "function FilterInput(_props) {\n let {\n filter,\n onChange,\n noteCount\n } = _props;\n _captureProps(7771382787459675, _props, [3, 21, 3, 52], 0);\n return (\n /*million ignore*/\n _captureJSX(7771382787459675, /* @__PURE__ */ jsxDEV(TextField, { className: \"notes-list__input\", type: \"search\", size: \"small\", value: filter, onChange: (e) => onChange(e.target.value), placeholder: `Filter ${noteCount} note${noteCount === 1 ? \"\" : \"s\"}` }, void 0, false, {\n fileName: \"/Users/aidenybai/Projects/aidenybai/anya/notes-demo/src/components/FilterInput/index.jsx\",\n lineNumber: 16,\n columnNumber: 59\n }, this), \"/Users/aidenybai/Projects/aidenybai/anya/notes-demo/src/components/FilterInput/index.jsx::FilterInput\", [5, 4, 12, 6], 1)\n );\n}", | |
| "unstable": false, | |
| "type": "function", | |
| "count": 11 | |
| } | |
| ] | |
| }, | |
| { | |
| "kind": "state", | |
| "loc": [ | |
| 14, | |
| 30, | |
| 14, | |
| 42 | |
| ], | |
| "selfTime": 0, | |
| "totalTime": 0, | |
| "count": 3, | |
| "filename": "/Users/aidenybai/Projects/aidenybai/anya/notes-demo/src/components/NotesList/index.jsx", | |
| "owner": "/Users/aidenybai/Projects/aidenybai/anya/notes-demo/src/components/App/index.jsx::App", | |
| "changes": [ | |
| { | |
| "unstable": false, | |
| "prev": "", | |
| "next": "a", | |
| "type": "string", | |
| "count": 1 | |
| }, | |
| { | |
| "unstable": false, | |
| "prev": "a", | |
| "next": "as", | |
| "type": "string", | |
| "count": 1 | |
| }, | |
| { | |
| "unstable": false, | |
| "prev": "as", | |
| "next": "asd", | |
| "type": "string", | |
| "count": 1 | |
| } | |
| ], | |
| "parent": null | |
| }, | |
| { | |
| "kind": "value", | |
| "loc": [ | |
| 29, | |
| 18, | |
| 35, | |
| 11 | |
| ], | |
| "selfTime": 0.30000001192092896, | |
| "totalTime": 0.30000001192092896, | |
| "count": 750, | |
| "filename": "/Users/aidenybai/Projects/aidenybai/anya/notes-demo/src/components/NotesList/index.jsx", | |
| "owner": "/Users/aidenybai/Projects/aidenybai/anya/notes-demo/src/components/App/index.jsx::null", | |
| "changes": [ | |
| { | |
| "prev": "true", | |
| "next": "false", | |
| "unstable": false, | |
| "type": "boolean", | |
| "count": 750 | |
| } | |
| ], | |
| "parent": null | |
| } | |
| ], | |
| "children": {}, | |
| "hints": [ | |
| [ | |
| 20, | |
| "Hoist this" | |
| ], | |
| [ | |
| 21, | |
| "Hoist this" | |
| ], | |
| [ | |
| 22, | |
| "Potentially add value || {} or value || []" | |
| ], | |
| [ | |
| 27, | |
| "Consider using virtualization" | |
| ], | |
| [ | |
| 38, | |
| "Hoist this" | |
| ], | |
| [ | |
| 41, | |
| "Hoist this" | |
| ], | |
| [ | |
| 42, | |
| "Hoist this" | |
| ], | |
| [ | |
| 43, | |
| "Hoist this" | |
| ] | |
| ], | |
| "count": 41512, | |
| "filename": "/Users/aidenybai/Projects/aidenybai/anya/notes-demo/src/components/NotesList/index.jsx" | |
| } | |
| } | |
| }, | |
| "/Users/aidenybai/Projects/aidenybai/anya/notes-demo/src/components/NoteEditor/index.jsx": { | |
| "components": { | |
| "NoteEditor": { | |
| "componentName": "NoteEditor", | |
| "loc": [ | |
| 7, | |
| 0, | |
| 35, | |
| 1 | |
| ], | |
| "externals": { | |
| "useEffect": { | |
| "kind": "module", | |
| "loc": [ | |
| 1, | |
| 9, | |
| 1, | |
| 18 | |
| ], | |
| "jsx": false, | |
| "hints": [] | |
| }, | |
| "useRef": { | |
| "kind": "module", | |
| "loc": [ | |
| 1, | |
| 20, | |
| 1, | |
| 26 | |
| ], | |
| "jsx": false, | |
| "hints": [] | |
| }, | |
| "CodeMirror": { | |
| "kind": "module", | |
| "loc": [ | |
| 2, | |
| 7, | |
| 2, | |
| 17 | |
| ], | |
| "jsx": false, | |
| "hints": [] | |
| } | |
| }, | |
| "renders": [ | |
| { | |
| "kind": "props", | |
| "loc": [ | |
| 7, | |
| 20, | |
| 7, | |
| 53 | |
| ], | |
| "selfTime": 0.3999999761581421, | |
| "totalTime": 0.699999988079071, | |
| "count": 6, | |
| "filename": "/Users/aidenybai/Projects/aidenybai/anya/notes-demo/src/components/NoteEditor/index.jsx", | |
| "owner": "/Users/aidenybai/Projects/aidenybai/anya/notes-demo/src/components/PrimaryPane/index.jsx::PrimaryPane", | |
| "changes": [ | |
| { | |
| "name": "saveNote", | |
| "unstable": true, | |
| "prev": "({\n text,\n date\n }) => saveNote(activeNoteId, {\n text,\n date\n })", | |
| "next": "({\n text,\n date\n }) => saveNote(activeNoteId, {\n text,\n date\n })", | |
| "type": "function", | |
| "count": 6 | |
| }, | |
| { | |
| "name": "activeNoteId", | |
| "unstable": false, | |
| "prev": "RztZDrZJHoU5Grd0ILvg9", | |
| "next": "YkGYqeY3Itfoaoc16CPip", | |
| "type": "string", | |
| "count": 3 | |
| }, | |
| { | |
| "name": "notes", | |
| "unstable": true, | |
| "prev": "{…}", | |
| "next": "{…}", | |
| "type": "object", | |
| "count": 3 | |
| } | |
| ], | |
| "parent": null | |
| }, | |
| { | |
| "kind": "deps", | |
| "loc": [ | |
| 11, | |
| 2, | |
| 24, | |
| 20 | |
| ], | |
| "selfTime": 0.09999999403953552, | |
| "totalTime": 0.4000000059604645, | |
| "count": 3, | |
| "filename": "/Users/aidenybai/Projects/aidenybai/anya/notes-demo/src/components/NoteEditor/index.jsx", | |
| "owner": "/Users/aidenybai/Projects/aidenybai/anya/notes-demo/src/components/PrimaryPane/index.jsx::PrimaryPane", | |
| "changes": [ | |
| { | |
| "unstable": false, | |
| "prev": "h7TPB4TdX_d2LXC1-hsL8", | |
| "next": "TONU5-6sqnRYSLtmm_YUS", | |
| "type": "string", | |
| "count": 1, | |
| "index": 0 | |
| }, | |
| { | |
| "unstable": false, | |
| "prev": "TONU5-6sqnRYSLtmm_YUS", | |
| "next": "RztZDrZJHoU5Grd0ILvg9", | |
| "type": "string", | |
| "count": 1, | |
| "index": 0 | |
| }, | |
| { | |
| "unstable": false, | |
| "prev": "RztZDrZJHoU5Grd0ILvg9", | |
| "next": "YkGYqeY3Itfoaoc16CPip", | |
| "type": "string", | |
| "count": 1, | |
| "index": 0 | |
| } | |
| ], | |
| "parent": null | |
| }, | |
| { | |
| "kind": "value", | |
| "loc": [ | |
| 11, | |
| 12, | |
| 24, | |
| 3 | |
| ], | |
| "selfTime": 5.799999982118607, | |
| "totalTime": 5.799999982118607, | |
| "count": 3, | |
| "filename": "/Users/aidenybai/Projects/aidenybai/anya/notes-demo/src/components/NoteEditor/index.jsx", | |
| "owner": "/Users/aidenybai/Projects/aidenybai/anya/notes-demo/src/components/PrimaryPane/index.jsx::null", | |
| "changes": [ | |
| { | |
| "prev": "() => editor.toTextArea()", | |
| "next": "() => editor.toTextArea()", | |
| "unstable": true, | |
| "type": "function", | |
| "count": 3 | |
| } | |
| ], | |
| "parent": null | |
| } | |
| ], | |
| "children": {}, | |
| "hints": [ | |
| [ | |
| 27, | |
| "Hoist this" | |
| ], | |
| [ | |
| 29, | |
| "Hoist this" | |
| ], | |
| [ | |
| 30, | |
| "Potentially add value || {} or value || []" | |
| ] | |
| ], | |
| "count": 12, | |
| "filename": "/Users/aidenybai/Projects/aidenybai/anya/notes-demo/src/components/NoteEditor/index.jsx" | |
| } | |
| } | |
| }, | |
| "/Users/aidenybai/Projects/aidenybai/anya/notes-demo/src/components/NoteView/index.jsx": { | |
| "components": { | |
| "NoteView": { | |
| "componentName": "NoteView", | |
| "loc": [ | |
| 5, | |
| 15, | |
| 11, | |
| 1 | |
| ], | |
| "externals": { | |
| "ReactMarkdown": { | |
| "kind": "module", | |
| "loc": [ | |
| 2, | |
| 7, | |
| 2, | |
| 20 | |
| ], | |
| "jsx": false, | |
| "hints": [] | |
| }, | |
| "gfm": { | |
| "kind": "module", | |
| "loc": [ | |
| 3, | |
| 7, | |
| 3, | |
| 10 | |
| ], | |
| "jsx": false, | |
| "hints": [] | |
| } | |
| }, | |
| "renders": [ | |
| { | |
| "kind": "props", | |
| "loc": [ | |
| 5, | |
| 33, | |
| 5, | |
| 41 | |
| ], | |
| "selfTime": 0.10000002384185791, | |
| "totalTime": 2.5, | |
| "count": 6, | |
| "filename": "/Users/aidenybai/Projects/aidenybai/anya/notes-demo/src/components/NoteView/index.jsx", | |
| "owner": "/Users/aidenybai/Projects/aidenybai/anya/notes-demo/src/components/PrimaryPane/index.jsx::PrimaryPane", | |
| "changes": [ | |
| { | |
| "name": "text", | |
| "unstable": false, | |
| "prev": "Yarixu. Go lamusel ho durigas con.\n\nCe degipi ru quralim perubib humuretor. Nimu taz. Don. Koburec ka kocibo pa. Bira qipobob nomaropu. Cimovuh jumebesi do dutabu kaharemat pepuroz ci. Boqobegib loce.…", | |
| "next": "Yarixu. Go lamusel ho durigas con.\n\nCe degipi ru quralim perubib humuretor. Nimu taz. Don. Koburec ka kocibo pa. Bira qipobob nomaropu. Cimovuh jumebesi do dutabu kaharemat pepuroz ci. Boqobegib loce.…", | |
| "type": "string", | |
| "count": 6 | |
| } | |
| ], | |
| "parent": null | |
| } | |
| ], | |
| "children": {}, | |
| "hints": [ | |
| [ | |
| 7, | |
| "Potentially expensive component" | |
| ], | |
| [ | |
| 8, | |
| "Hoist this" | |
| ] | |
| ], | |
| "count": 6, | |
| "filename": "/Users/aidenybai/Projects/aidenybai/anya/notes-demo/src/components/NoteView/index.jsx" | |
| } | |
| } | |
| }, | |
| "/Users/aidenybai/Projects/aidenybai/anya/notes-demo/src/components/DarkModeContext/index.jsx": { | |
| "components": { | |
| "DarkModeProvider": { | |
| "componentName": "DarkModeProvider", | |
| "loc": [ | |
| 6, | |
| 7, | |
| 22, | |
| 1 | |
| ], | |
| "externals": { | |
| "createContext": { | |
| "kind": "module", | |
| "loc": [ | |
| 1, | |
| 9, | |
| 1, | |
| 22 | |
| ], | |
| "jsx": false, | |
| "hints": [] | |
| }, | |
| "useEffect": { | |
| "kind": "module", | |
| "loc": [ | |
| 1, | |
| 24, | |
| 1, | |
| 33 | |
| ], | |
| "jsx": false, | |
| "hints": [] | |
| }, | |
| "useState": { | |
| "kind": "module", | |
| "loc": [ | |
| 1, | |
| 35, | |
| 1, | |
| 43 | |
| ], | |
| "jsx": false, | |
| "hints": [] | |
| }, | |
| "DarkModeContext": { | |
| "kind": "const", | |
| "loc": [ | |
| 4, | |
| 13, | |
| 4, | |
| 46 | |
| ], | |
| "jsx": false, | |
| "hints": [] | |
| } | |
| }, | |
| "renders": [ | |
| { | |
| "kind": "mount", | |
| "loc": [ | |
| 18, | |
| 4, | |
| 20, | |
| 31 | |
| ], | |
| "selfTime": 241.50000002980232, | |
| "totalTime": 229.40000009536743, | |
| "count": 1, | |
| "filename": "/Users/aidenybai/Projects/aidenybai/anya/notes-demo/src/components/DarkModeContext/index.jsx", | |
| "parent": "/Users/aidenybai/Projects/aidenybai/anya/notes-demo/src/components/DarkModeContext/index.jsx::DarkModeProvider", | |
| "owner": "/Users/aidenybai/Projects/aidenybai/anya/notes-demo/src/components/App/index.jsx::null", | |
| "changes": [] | |
| }, | |
| { | |
| "kind": "update", | |
| "loc": [ | |
| 18, | |
| 4, | |
| 20, | |
| 31 | |
| ], | |
| "selfTime": 2279.200000166893, | |
| "totalTime": 4499.899999141693, | |
| "count": 22, | |
| "filename": "/Users/aidenybai/Projects/aidenybai/anya/notes-demo/src/components/DarkModeContext/index.jsx", | |
| "parent": "/Users/aidenybai/Projects/aidenybai/anya/notes-demo/src/components/DarkModeContext/index.jsx::DarkModeProvider", | |
| "owner": "/Users/aidenybai/Projects/aidenybai/anya/notes-demo/src/components/App/index.jsx::null", | |
| "changes": [] | |
| }, | |
| { | |
| "kind": "nested-update", | |
| "loc": [ | |
| 18, | |
| 4, | |
| 20, | |
| 31 | |
| ], | |
| "selfTime": 1.1999999582767487, | |
| "totalTime": 3056.1999993026257, | |
| "count": 13, | |
| "filename": "/Users/aidenybai/Projects/aidenybai/anya/notes-demo/src/components/DarkModeContext/index.jsx", | |
| "parent": "/Users/aidenybai/Projects/aidenybai/anya/notes-demo/src/components/DarkModeContext/index.jsx::DarkModeProvider", | |
| "owner": "/Users/aidenybai/Projects/aidenybai/anya/notes-demo/src/components/App/index.jsx::null", | |
| "changes": [] | |
| }, | |
| { | |
| "kind": "props", | |
| "loc": [ | |
| 6, | |
| 33, | |
| 6, | |
| 45 | |
| ], | |
| "selfTime": 0, | |
| "totalTime": 391.0000000298023, | |
| "count": 7, | |
| "filename": "/Users/aidenybai/Projects/aidenybai/anya/notes-demo/src/components/DarkModeContext/index.jsx", | |
| "owner": "/Users/aidenybai/Projects/aidenybai/anya/notes-demo/src/components/App/index.jsx::App", | |
| "changes": [ | |
| { | |
| "name": "children", | |
| "unstable": true, | |
| "prev": "<div …/>", | |
| "next": "<div …/>", | |
| "type": "object", | |
| "count": 7 | |
| } | |
| ], | |
| "parent": null | |
| } | |
| ], | |
| "children": {}, | |
| "hints": [ | |
| [ | |
| 19, | |
| "Hoist this" | |
| ] | |
| ], | |
| "count": 43, | |
| "filename": "/Users/aidenybai/Projects/aidenybai/anya/notes-demo/src/components/DarkModeContext/index.jsx" | |
| } | |
| } | |
| }, | |
| "/Users/aidenybai/Projects/aidenybai/anya/notes-demo/src/components/DarkModeSwitcher/index.jsx": { | |
| "components": {} | |
| }, | |
| "/Users/aidenybai/Projects/aidenybai/anya/notes-demo/src/components/ActiveAuthors/index.jsx": { | |
| "components": {} | |
| }, | |
| "/Users/aidenybai/Projects/aidenybai/anya/notes-demo/src/components/PrimaryPane/index.jsx": { | |
| "components": { | |
| "PrimaryPane": { | |
| "componentName": "PrimaryPane", | |
| "loc": [ | |
| 11, | |
| 0, | |
| 86, | |
| 1 | |
| ], | |
| "externals": { | |
| "Button": { | |
| "kind": "module", | |
| "loc": [ | |
| 1, | |
| 9, | |
| 1, | |
| 15 | |
| ], | |
| "jsx": false, | |
| "hints": [] | |
| }, | |
| "useState": { | |
| "kind": "module", | |
| "loc": [ | |
| 2, | |
| 9, | |
| 2, | |
| 17 | |
| ], | |
| "jsx": false, | |
| "hints": [] | |
| }, | |
| "fakeApi": { | |
| "kind": "module", | |
| "loc": [ | |
| 3, | |
| 7, | |
| 3, | |
| 14 | |
| ], | |
| "jsx": false, | |
| "hints": [] | |
| }, | |
| "NoteEditor": { | |
| "kind": "module", | |
| "loc": [ | |
| 4, | |
| 7, | |
| 4, | |
| 17 | |
| ], | |
| "jsx": false, | |
| "hints": [] | |
| }, | |
| "NoteView": { | |
| "kind": "module", | |
| "loc": [ | |
| 5, | |
| 7, | |
| 5, | |
| 15 | |
| ], | |
| "jsx": false, | |
| "hints": [] | |
| }, | |
| "DarkModeSwitcher": { | |
| "kind": "module", | |
| "loc": [ | |
| 6, | |
| 7, | |
| 6, | |
| 23 | |
| ], | |
| "jsx": false, | |
| "hints": [] | |
| }, | |
| "ActiveAuthors": { | |
| "kind": "module", | |
| "loc": [ | |
| 7, | |
| 7, | |
| 7, | |
| 20 | |
| ], | |
| "jsx": false, | |
| "hints": [] | |
| }, | |
| "spinner": { | |
| "kind": "module", | |
| "loc": [ | |
| 8, | |
| 7, | |
| 8, | |
| 14 | |
| ], | |
| "jsx": false, | |
| "hints": [] | |
| } | |
| }, | |
| "renders": [ | |
| { | |
| "kind": "props", | |
| "loc": [ | |
| 11, | |
| 21, | |
| 11, | |
| 54 | |
| ], | |
| "selfTime": 0.30000001192092896, | |
| "totalTime": 6.200000017881393, | |
| "count": 7, | |
| "filename": "/Users/aidenybai/Projects/aidenybai/anya/notes-demo/src/components/PrimaryPane/index.jsx", | |
| "owner": "/Users/aidenybai/Projects/aidenybai/anya/notes-demo/src/components/App/index.jsx::App", | |
| "changes": [ | |
| { | |
| "name": "activeNoteId", | |
| "unstable": false, | |
| "prev": "RztZDrZJHoU5Grd0ILvg9", | |
| "next": "YkGYqeY3Itfoaoc16CPip", | |
| "type": "string", | |
| "count": 4 | |
| }, | |
| { | |
| "name": "saveNote", | |
| "unstable": true, | |
| "prev": "(id, {\n text,\n date\n }) => {\n _captureFunctionCall(\n 5813676148412013,\n /*million ignore*/\n _captureFunctionDef(5813676148412013, putNote, [33, 4, 33, 11], 8, null)(id, {\n text,\n date\n }),\n [33, 4, 33, 31],\n 9,\n {\n name: \"putNote\",\n loc: [9, 2, 9, 9]\n }\n );\n const newNotes = (\n /*million ignore*/\n _captureFunctionCall(\n 5813676148412013,\n /*million ignore*/\n _captureFunctionDef(5813676148412013, getNotes, [35, 21, 35, 29], 10, null)(),\n [35, 21, 35, 31],\n 11,\n {\n name: \"getNotes\",\n loc: [8, 2, 8, 10]\n }\n )\n );\n _captureFunctionCall(\n 5813676148412013,\n /*million ignore*/\n _captureFunctionDef(5813676148412013, setNotes, [36, 4, 36, 12], 12, null)(newNotes),\n [36, 4, 36, 22],\n 13,\n {\n name: \"setNotes\",\n loc: [23, 8, 23, 48]\n }\n );\n _captureFunctionCall(\n 5813676148412013,\n /*million ignore*/\n _captureFunctionDef(5813676148412013, dispatch, [38, 4, 38, 12], 14, null)(updateLastActiveDate(formatISO(new Date(), {\n representation: \"date\"\n }))),\n [38, 4, 40, 5],\n 15,\n {\n name: \"dispatch\",\n loc: [30, 8, 30, 32]\n }\n );\n }", | |
| "next": "(id, {\n text,\n date\n }) => {\n _captureFunctionCall(\n 5813676148412013,\n /*million ignore*/\n _captureFunctionDef(5813676148412013, putNote, [33, 4, 33, 11], 8, null)(id, {\n text,\n date\n }),\n [33, 4, 33, 31],\n 9,\n {\n name: \"putNote\",\n loc: [9, 2, 9, 9]\n }\n );\n const newNotes = (\n /*million ignore*/\n _captureFunctionCall(\n 5813676148412013,\n /*million ignore*/\n _captureFunctionDef(5813676148412013, getNotes, [35, 21, 35, 29], 10, null)(),\n [35, 21, 35, 31],\n 11,\n {\n name: \"getNotes\",\n loc: [8, 2, 8, 10]\n }\n )\n );\n _captureFunctionCall(\n 5813676148412013,\n /*million ignore*/\n _captureFunctionDef(5813676148412013, setNotes, [36, 4, 36, 12], 12, null)(newNotes),\n [36, 4, 36, 22],\n 13,\n {\n name: \"setNotes\",\n loc: [23, 8, 23, 48]\n }\n );\n _captureFunctionCall(\n 5813676148412013,\n /*million ignore*/\n _captureFunctionDef(5813676148412013, dispatch, [38, 4, 38, 12], 14, null)(updateLastActiveDate(formatISO(new Date(), {\n representation: \"date\"\n }))),\n [38, 4, 40, 5],\n 15,\n {\n name: \"dispatch\",\n loc: [30, 8, 30, 32]\n }\n );\n }", | |
| "type": "function", | |
| "count": 7 | |
| }, | |
| { | |
| "name": "notes", | |
| "unstable": true, | |
| "prev": "{…}", | |
| "next": "{…}", | |
| "type": "object", | |
| "count": 3 | |
| } | |
| ], | |
| "parent": null | |
| }, | |
| { | |
| "kind": "mount", | |
| "loc": [ | |
| 47, | |
| 8, | |
| 47, | |
| 25 | |
| ], | |
| "selfTime": 1.100000023841858, | |
| "totalTime": 0.9000000059604645, | |
| "count": 1, | |
| "filename": "/Users/aidenybai/Projects/aidenybai/anya/notes-demo/src/components/PrimaryPane/index.jsx", | |
| "parent": "/Users/aidenybai/Projects/aidenybai/anya/notes-demo/src/components/PrimaryPane/index.jsx::PrimaryPane", | |
| "owner": "/Users/aidenybai/Projects/aidenybai/anya/notes-demo/src/components/App/index.jsx::null", | |
| "changes": [ | |
| { | |
| "prev": "function NoteView(_props) {\n let {\n text\n } = _props;\n _captureProps(6816091797905125, _props, [5, 33, 5, 41], 0);\n return /* @__PURE__ */ jsxDEV(\"div\", {\n className: \"note-view\",\n /*million ignore*/\n children: _captureJSX(6816091797905125, /* @__PURE__ */ jsxDEV(ReactMarkdown, { remarkPlugins: [gfm], children: text }, void 0, false, {\n fileName: \"/Users/aidenybai/Projects/aidenybai/anya/notes-demo/src/components/NoteView/index.jsx\",\n lineNumber: 17,\n columnNumber: 56\n }, this), \"/Users/aidenybai/Projects/aidenybai/anya/notes-demo/src/components/NoteView/index.jsx::NoteView\", [8, 6, 8, 65], 1)\n }, void 0, false, {\n fileName: \"/Users/aidenybai/Projects/aidenybai/anya/notes-demo/src/components/NoteView/index.jsx\",\n lineNumber: 16,\n columnNumber: 10\n }, this);\n}", | |
| "next": "function ActiveAuthors() {\n _s();\n const activeThisMonth = useSelector((state) => state.users.filter((i) => new Date(i.lastActiveDate).getFullYear() === 2023 && new Date(i.lastActiveDate).getMonth() === 0));\n return /* @__PURE__ */ jsxDEV(\"div\", { className: \"primary-pane__authors\", children: [\n /* @__PURE__ */ jsxDEV(\"div\", { className: \"primary-pane__authors-last-active\", children: [\n activeThisMonth.length,\n \" users active this month:\",\n \" \",\n activeThisMonth.map((i) => i.name).join(\", \")\n ] }, void 0, true, {\n fileName: \"/Users/aidenybai/Projects/aidenybai/anya/notes-demo/src/components/ActiveAuthors/index.jsx\",\n lineNumber: 14,\n columnNumber: 7\n }, this),\n /* @__PURE__ */ jsxDEV(AvatarGroup, { max: 2, children: [\n /* @__PURE__ */ jsxDEV(Avatar, { src: avatar1 }, void 0, false, {\n fileName: \"/Users/aidenybai/Projects/aidenybai/anya/notes-demo/src/components/ActiveAuthors/index.jsx\",\n lineNumber: 19,\n columnNumber: 9\n }, this),\n /* @__PURE__ */ jsxDEV(Avatar, { src: avatar2 }, void 0, false, {\n fileName: \"/Users/aidenybai/Projects/aidenybai/anya/notes-demo/src/components/ActiveAuthors/index.jsx\",\n lineNumber: 20,\n columnNumber: 9\n }, this),\n /* @__PURE__ */ jsxDEV(Avatar, { src: avatar3 }, void 0, false, {\n fileName: \"/Users/aidenybai/Projects/aidenybai/anya/notes-demo/src/components/ActiveAuthors/index.jsx\",\n lineNumber: 21,\n columnNumber: 9\n }, this)\n ] }, void 0, true, {\n fileName: \"/Users/aidenybai/Projects/aidenybai/anya/notes-demo/src/components/ActiveAuthors/index.jsx\",\n lineNumber: 18,\n columnNumber: 7\n }, this)\n ] }, void 0, true, {\n fileName: \"/Users/aidenybai/Projects/aidenybai/anya/notes-demo/src/components/ActiveAuthors/index.jsx\",\n lineNumber: 13,\n columnNumber: 10\n }, this);\n}", | |
| "unstable": false, | |
| "type": "function", | |
| "count": 1 | |
| } | |
| ] | |
| }, | |
| { | |
| "kind": "mount", | |
| "loc": [ | |
| 48, | |
| 8, | |
| 48, | |
| 28 | |
| ], | |
| "selfTime": 1.399999976158142, | |
| "totalTime": 1.0999999642372131, | |
| "count": 1, | |
| "filename": "/Users/aidenybai/Projects/aidenybai/anya/notes-demo/src/components/PrimaryPane/index.jsx", | |
| "parent": "/Users/aidenybai/Projects/aidenybai/anya/notes-demo/src/components/PrimaryPane/index.jsx::PrimaryPane", | |
| "owner": "/Users/aidenybai/Projects/aidenybai/anya/notes-demo/src/components/App/index.jsx::null", | |
| "changes": [ | |
| { | |
| "prev": "function ActiveAuthors() {\n _s();\n const activeThisMonth = useSelector((state) => state.users.filter((i) => new Date(i.lastActiveDate).getFullYear() === 2023 && new Date(i.lastActiveDate).getMonth() === 0));\n return /* @__PURE__ */ jsxDEV(\"div\", { className: \"primary-pane__authors\", children: [\n /* @__PURE__ */ jsxDEV(\"div\", { className: \"primary-pane__authors-last-active\", children: [\n activeThisMonth.length,\n \" users active this month:\",\n \" \",\n activeThisMonth.map((i) => i.name).join(\", \")\n ] }, void 0, true, {\n fileName: \"/Users/aidenybai/Projects/aidenybai/anya/notes-demo/src/components/ActiveAuthors/index.jsx\",\n lineNumber: 14,\n columnNumber: 7\n }, this),\n /* @__PURE__ */ jsxDEV(AvatarGroup, { max: 2, children: [\n /* @__PURE__ */ jsxDEV(Avatar, { src: avatar1 }, void 0, false, {\n fileName: \"/Users/aidenybai/Projects/aidenybai/anya/notes-demo/src/components/ActiveAuthors/index.jsx\",\n lineNumber: 19,\n columnNumber: 9\n }, this),\n /* @__PURE__ */ jsxDEV(Avatar, { src: avatar2 }, void 0, false, {\n fileName: \"/Users/aidenybai/Projects/aidenybai/anya/notes-demo/src/components/ActiveAuthors/index.jsx\",\n lineNumber: 20,\n columnNumber: 9\n }, this),\n /* @__PURE__ */ jsxDEV(Avatar, { src: avatar3 }, void 0, false, {\n fileName: \"/Users/aidenybai/Projects/aidenybai/anya/notes-demo/src/components/ActiveAuthors/index.jsx\",\n lineNumber: 21,\n columnNumber: 9\n }, this)\n ] }, void 0, true, {\n fileName: \"/Users/aidenybai/Projects/aidenybai/anya/notes-demo/src/components/ActiveAuthors/index.jsx\",\n lineNumber: 18,\n columnNumber: 7\n }, this)\n ] }, void 0, true, {\n fileName: \"/Users/aidenybai/Projects/aidenybai/anya/notes-demo/src/components/ActiveAuthors/index.jsx\",\n lineNumber: 13,\n columnNumber: 10\n }, this);\n}", | |
| "next": "function DarkModeSwitcher() {\n _s();\n const {\n mode,\n setMode\n } = useContext(DarkModeContext);\n return /* @__PURE__ */ jsxDEV(\"div\", { className: \"theme-switcher\", children: /* @__PURE__ */ jsxDEV(ToggleButtonGroup, { size: \"small\", value: mode, exclusive: true, onChange: (_e, value) => setMode(value), \"aria-label\": \"text alignment\", children: [\n /* @__PURE__ */ jsxDEV(ToggleButton, { value: \"light\", children: /* @__PURE__ */ jsxDEV(WbSunnyIcon, {}, void 0, false, {\n fileName: \"/Users/aidenybai/Projects/aidenybai/anya/notes-demo/src/components/DarkModeSwitcher/index.jsx\",\n lineNumber: 20,\n columnNumber: 11\n }, this) }, void 0, false, {\n fileName: \"/Users/aidenybai/Projects/aidenybai/anya/notes-demo/src/components/DarkModeSwitcher/index.jsx\",\n lineNumber: 19,\n columnNumber: 9\n }, this),\n /* @__PURE__ */ jsxDEV(ToggleButton, { value: \"dark\", children: /* @__PURE__ */ jsxDEV(Brightness2Icon, {}, void 0, false, {\n fileName: \"/Users/aidenybai/Projects/aidenybai/anya/notes-demo/src/components/DarkModeSwitcher/index.jsx\",\n lineNumber: 23,\n columnNumber: 11\n }, this) }, void 0, false, {\n fileName: \"/Users/aidenybai/Projects/aidenybai/anya/notes-demo/src/components/DarkModeSwitcher/index.jsx\",\n lineNumber: 22,\n columnNumber: 9\n }, this)\n ] }, void 0, true, {\n fileName: \"/Users/aidenybai/Projects/aidenybai/anya/notes-demo/src/components/DarkModeSwitcher/index.jsx\",\n lineNumber: 18,\n columnNumber: 7\n }, this) }, void 0, false, {\n fileName: \"/Users/aidenybai/Projects/aidenybai/anya/notes-demo/src/components/DarkModeSwitcher/index.jsx\",\n lineNumber: 17,\n columnNumber: 10\n }, this);\n}", | |
| "unstable": false, | |
| "type": "function", | |
| "count": 1 | |
| } | |
| ] | |
| }, | |
| { | |
| "kind": "mount", | |
| "loc": [ | |
| 53, | |
| 10, | |
| 64, | |
| 19 | |
| ], | |
| "selfTime": 0.30000001192092896, | |
| "totalTime": 0.30000001192092896, | |
| "count": 1, | |
| "filename": "/Users/aidenybai/Projects/aidenybai/anya/notes-demo/src/components/PrimaryPane/index.jsx", | |
| "parent": "/Users/aidenybai/Projects/aidenybai/anya/notes-demo/src/components/PrimaryPane/index.jsx::PrimaryPane", | |
| "owner": "/Users/aidenybai/Projects/aidenybai/anya/notes-demo/src/components/App/index.jsx::null", | |
| "changes": [ | |
| { | |
| "prev": "function DarkModeSwitcher() {\n _s();\n const {\n mode,\n setMode\n } = useContext(DarkModeContext);\n return /* @__PURE__ */ jsxDEV(\"div\", { className: \"theme-switcher\", children: /* @__PURE__ */ jsxDEV(ToggleButtonGroup, { size: \"small\", value: mode, exclusive: true, onChange: (_e, value) => setMode(value), \"aria-label\": \"text alignment\", children: [\n /* @__PURE__ */ jsxDEV(ToggleButton, { value: \"light\", children: /* @__PURE__ */ jsxDEV(WbSunnyIcon, {}, void 0, false, {\n fileName: \"/Users/aidenybai/Projects/aidenybai/anya/notes-demo/src/components/DarkModeSwitcher/index.jsx\",\n lineNumber: 20,\n columnNumber: 11\n }, this) }, void 0, false, {\n fileName: \"/Users/aidenybai/Projects/aidenybai/anya/notes-demo/src/components/DarkModeSwitcher/index.jsx\",\n lineNumber: 19,\n columnNumber: 9\n }, this),\n /* @__PURE__ */ jsxDEV(ToggleButton, { value: \"dark\", children: /* @__PURE__ */ jsxDEV(Brightness2Icon, {}, void 0, false, {\n fileName: \"/Users/aidenybai/Projects/aidenybai/anya/notes-demo/src/components/DarkModeSwitcher/index.jsx\",\n lineNumber: 23,\n columnNumber: 11\n }, this) }, void 0, false, {\n fileName: \"/Users/aidenybai/Projects/aidenybai/anya/notes-demo/src/components/DarkModeSwitcher/index.jsx\",\n lineNumber: 22,\n columnNumber: 9\n }, this)\n ] }, void 0, true, {\n fileName: \"/Users/aidenybai/Projects/aidenybai/anya/notes-demo/src/components/DarkModeSwitcher/index.jsx\",\n lineNumber: 18,\n columnNumber: 7\n }, this) }, void 0, false, {\n fileName: \"/Users/aidenybai/Projects/aidenybai/anya/notes-demo/src/components/DarkModeSwitcher/index.jsx\",\n lineNumber: 17,\n columnNumber: 10\n }, this);\n}", | |
| "next": "null", | |
| "unstable": false, | |
| "type": "function", | |
| "count": 1 | |
| } | |
| ] | |
| }, | |
| { | |
| "kind": "mount", | |
| "loc": [ | |
| 67, | |
| 8, | |
| 71, | |
| 10 | |
| ], | |
| "selfTime": 0.30000001192092896, | |
| "totalTime": 0.09999999403953552, | |
| "count": 1, | |
| "filename": "/Users/aidenybai/Projects/aidenybai/anya/notes-demo/src/components/PrimaryPane/index.jsx", | |
| "parent": "/Users/aidenybai/Projects/aidenybai/anya/notes-demo/src/components/PrimaryPane/index.jsx::PrimaryPane", | |
| "owner": "/Users/aidenybai/Projects/aidenybai/anya/notes-demo/src/components/App/index.jsx::null", | |
| "changes": [] | |
| }, | |
| { | |
| "kind": "mount", | |
| "loc": [ | |
| 73, | |
| 10, | |
| 73, | |
| 54 | |
| ], | |
| "selfTime": 1.399999976158142, | |
| "totalTime": 1.399999976158142, | |
| "count": 1, | |
| "filename": "/Users/aidenybai/Projects/aidenybai/anya/notes-demo/src/components/PrimaryPane/index.jsx", | |
| "parent": "/Users/aidenybai/Projects/aidenybai/anya/notes-demo/src/components/PrimaryPane/index.jsx::PrimaryPane", | |
| "owner": "/Users/aidenybai/Projects/aidenybai/anya/notes-demo/src/components/App/index.jsx::null", | |
| "changes": [ | |
| { | |
| "prev": "function NoteEditor(_props) {\n _s();\n let {\n notes,\n activeNoteId,\n saveNote\n } = _props;\n _captureProps(5559609169833736, _props, [7, 20, 7, 53], 0);\n const currentNote = notes[activeNoteId];\n const textareaRef = (\n /*million ignore*/\n _captureRef(5559609169833736, useRef(), [9, 22, 9, 30], 1, null)\n );\n useEffect(\n /*million ignore*/\n _captureFunctionDef(5559609169833736, () => {\n const editor = CodeMirror.fromTextArea(textareaRef.current, {\n mode: \"markdown\",\n lineWrapping: true\n });\n editor.on(\"change\", (doc, change) => {\n if (change.origin !== \"setValue\") {\n saveNote({\n text: doc.getValue()\n });\n }\n });\n return () => editor.toTextArea();\n }, [11, 12, 24, 3], 3, null),\n /*million ignore*/\n _captureDeps(5559609169833736, [activeNoteId], [11, 2, 24, 20], 2, null)\n );\n return /* @__PURE__ */ jsxDEV(\"div\", { className: \"note-editor\", children: /* @__PURE__ */ jsxDEV(\"textarea\", { ref: textareaRef, defaultValue: currentNote.text, autoComplete: \"off\" }, void 0, false, {\n fileName: \"/Users/aidenybai/Projects/aidenybai/anya/notes-demo/src/components/NoteEditor/index.jsx\",\n lineNumber: 41,\n columnNumber: 7\n }, this) }, activeNoteId, false, {\n fileName: \"/Users/aidenybai/Projects/aidenybai/anya/notes-demo/src/components/NoteEditor/index.jsx\",\n lineNumber: 40,\n columnNumber: 10\n }, this);\n}", | |
| "next": "function NoteView(_props) {\n let {\n text\n } = _props;\n _captureProps(6816091797905125, _props, [5, 33, 5, 41], 0);\n return /* @__PURE__ */ jsxDEV(\"div\", {\n className: \"note-view\",\n /*million ignore*/\n children: _captureJSX(6816091797905125, /* @__PURE__ */ jsxDEV(ReactMarkdown, { remarkPlugins: [gfm], children: text }, void 0, false, {\n fileName: \"/Users/aidenybai/Projects/aidenybai/anya/notes-demo/src/components/NoteView/index.jsx\",\n lineNumber: 17,\n columnNumber: 56\n }, this), \"/Users/aidenybai/Projects/aidenybai/anya/notes-demo/src/components/NoteView/index.jsx::NoteView\", [8, 6, 8, 65], 1)\n }, void 0, false, {\n fileName: \"/Users/aidenybai/Projects/aidenybai/anya/notes-demo/src/components/NoteView/index.jsx\",\n lineNumber: 16,\n columnNumber: 10\n }, this);\n}", | |
| "unstable": false, | |
| "type": "function", | |
| "count": 1 | |
| } | |
| ] | |
| }, | |
| { | |
| "kind": "update", | |
| "loc": [ | |
| 48, | |
| 8, | |
| 48, | |
| 28 | |
| ], | |
| "selfTime": 3.9999999403953552, | |
| "totalTime": 7.999999791383743, | |
| "count": 8, | |
| "filename": "/Users/aidenybai/Projects/aidenybai/anya/notes-demo/src/components/PrimaryPane/index.jsx", | |
| "parent": "/Users/aidenybai/Projects/aidenybai/anya/notes-demo/src/components/PrimaryPane/index.jsx::PrimaryPane", | |
| "owner": "/Users/aidenybai/Projects/aidenybai/anya/notes-demo/src/components/App/index.jsx::null", | |
| "changes": [ | |
| { | |
| "prev": "function ActiveAuthors() {\n _s();\n const activeThisMonth = useSelector((state) => state.users.filter((i) => new Date(i.lastActiveDate).getFullYear() === 2023 && new Date(i.lastActiveDate).getMonth() === 0));\n return /* @__PURE__ */ jsxDEV(\"div\", { className: \"primary-pane__authors\", children: [\n /* @__PURE__ */ jsxDEV(\"div\", { className: \"primary-pane__authors-last-active\", children: [\n activeThisMonth.length,\n \" users active this month:\",\n \" \",\n activeThisMonth.map((i) => i.name).join(\", \")\n ] }, void 0, true, {\n fileName: \"/Users/aidenybai/Projects/aidenybai/anya/notes-demo/src/components/ActiveAuthors/index.jsx\",\n lineNumber: 14,\n columnNumber: 7\n }, this),\n /* @__PURE__ */ jsxDEV(AvatarGroup, { max: 2, children: [\n /* @__PURE__ */ jsxDEV(Avatar, { src: avatar1 }, void 0, false, {\n fileName: \"/Users/aidenybai/Projects/aidenybai/anya/notes-demo/src/components/ActiveAuthors/index.jsx\",\n lineNumber: 19,\n columnNumber: 9\n }, this),\n /* @__PURE__ */ jsxDEV(Avatar, { src: avatar2 }, void 0, false, {\n fileName: \"/Users/aidenybai/Projects/aidenybai/anya/notes-demo/src/components/ActiveAuthors/index.jsx\",\n lineNumber: 20,\n columnNumber: 9\n }, this),\n /* @__PURE__ */ jsxDEV(Avatar, { src: avatar3 }, void 0, false, {\n fileName: \"/Users/aidenybai/Projects/aidenybai/anya/notes-demo/src/components/ActiveAuthors/index.jsx\",\n lineNumber: 21,\n columnNumber: 9\n }, this)\n ] }, void 0, true, {\n fileName: \"/Users/aidenybai/Projects/aidenybai/anya/notes-demo/src/components/ActiveAuthors/index.jsx\",\n lineNumber: 18,\n columnNumber: 7\n }, this)\n ] }, void 0, true, {\n fileName: \"/Users/aidenybai/Projects/aidenybai/anya/notes-demo/src/components/ActiveAuthors/index.jsx\",\n lineNumber: 13,\n columnNumber: 10\n }, this);\n}", | |
| "next": "function DarkModeSwitcher() {\n _s();\n const {\n mode,\n setMode\n } = useContext(DarkModeContext);\n return /* @__PURE__ */ jsxDEV(\"div\", { className: \"theme-switcher\", children: /* @__PURE__ */ jsxDEV(ToggleButtonGroup, { size: \"small\", value: mode, exclusive: true, onChange: (_e, value) => setMode(value), \"aria-label\": \"text alignment\", children: [\n /* @__PURE__ */ jsxDEV(ToggleButton, { value: \"light\", children: /* @__PURE__ */ jsxDEV(WbSunnyIcon, {}, void 0, false, {\n fileName: \"/Users/aidenybai/Projects/aidenybai/anya/notes-demo/src/components/DarkModeSwitcher/index.jsx\",\n lineNumber: 20,\n columnNumber: 11\n }, this) }, void 0, false, {\n fileName: \"/Users/aidenybai/Projects/aidenybai/anya/notes-demo/src/components/DarkModeSwitcher/index.jsx\",\n lineNumber: 19,\n columnNumber: 9\n }, this),\n /* @__PURE__ */ jsxDEV(ToggleButton, { value: \"dark\", children: /* @__PURE__ */ jsxDEV(Brightness2Icon, {}, void 0, false, {\n fileName: \"/Users/aidenybai/Projects/aidenybai/anya/notes-demo/src/components/DarkModeSwitcher/index.jsx\",\n lineNumber: 23,\n columnNumber: 11\n }, this) }, void 0, false, {\n fileName: \"/Users/aidenybai/Projects/aidenybai/anya/notes-demo/src/components/DarkModeSwitcher/index.jsx\",\n lineNumber: 22,\n columnNumber: 9\n }, this)\n ] }, void 0, true, {\n fileName: \"/Users/aidenybai/Projects/aidenybai/anya/notes-demo/src/components/DarkModeSwitcher/index.jsx\",\n lineNumber: 18,\n columnNumber: 7\n }, this) }, void 0, false, {\n fileName: \"/Users/aidenybai/Projects/aidenybai/anya/notes-demo/src/components/DarkModeSwitcher/index.jsx\",\n lineNumber: 17,\n columnNumber: 10\n }, this);\n}", | |
| "unstable": false, | |
| "type": "function", | |
| "count": 8 | |
| } | |
| ] | |
| }, | |
| { | |
| "kind": "update", | |
| "loc": [ | |
| 53, | |
| 10, | |
| 64, | |
| 19 | |
| ], | |
| "selfTime": 1.7000000178813934, | |
| "totalTime": 2.0000000596046448, | |
| "count": 8, | |
| "filename": "/Users/aidenybai/Projects/aidenybai/anya/notes-demo/src/components/PrimaryPane/index.jsx", | |
| "parent": "/Users/aidenybai/Projects/aidenybai/anya/notes-demo/src/components/PrimaryPane/index.jsx::PrimaryPane", | |
| "owner": "/Users/aidenybai/Projects/aidenybai/anya/notes-demo/src/components/App/index.jsx::null", | |
| "changes": [ | |
| { | |
| "prev": "function DarkModeSwitcher() {\n _s();\n const {\n mode,\n setMode\n } = useContext(DarkModeContext);\n return /* @__PURE__ */ jsxDEV(\"div\", { className: \"theme-switcher\", children: /* @__PURE__ */ jsxDEV(ToggleButtonGroup, { size: \"small\", value: mode, exclusive: true, onChange: (_e, value) => setMode(value), \"aria-label\": \"text alignment\", children: [\n /* @__PURE__ */ jsxDEV(ToggleButton, { value: \"light\", children: /* @__PURE__ */ jsxDEV(WbSunnyIcon, {}, void 0, false, {\n fileName: \"/Users/aidenybai/Projects/aidenybai/anya/notes-demo/src/components/DarkModeSwitcher/index.jsx\",\n lineNumber: 20,\n columnNumber: 11\n }, this) }, void 0, false, {\n fileName: \"/Users/aidenybai/Projects/aidenybai/anya/notes-demo/src/components/DarkModeSwitcher/index.jsx\",\n lineNumber: 19,\n columnNumber: 9\n }, this),\n /* @__PURE__ */ jsxDEV(ToggleButton, { value: \"dark\", children: /* @__PURE__ */ jsxDEV(Brightness2Icon, {}, void 0, false, {\n fileName: \"/Users/aidenybai/Projects/aidenybai/anya/notes-demo/src/components/DarkModeSwitcher/index.jsx\",\n lineNumber: 23,\n columnNumber: 11\n }, this) }, void 0, false, {\n fileName: \"/Users/aidenybai/Projects/aidenybai/anya/notes-demo/src/components/DarkModeSwitcher/index.jsx\",\n lineNumber: 22,\n columnNumber: 9\n }, this)\n ] }, void 0, true, {\n fileName: \"/Users/aidenybai/Projects/aidenybai/anya/notes-demo/src/components/DarkModeSwitcher/index.jsx\",\n lineNumber: 18,\n columnNumber: 7\n }, this) }, void 0, false, {\n fileName: \"/Users/aidenybai/Projects/aidenybai/anya/notes-demo/src/components/DarkModeSwitcher/index.jsx\",\n lineNumber: 17,\n columnNumber: 10\n }, this);\n}", | |
| "next": "null", | |
| "unstable": false, | |
| "type": "function", | |
| "count": 8 | |
| } | |
| ] | |
| }, | |
| { | |
| "kind": "nested-update", | |
| "loc": [ | |
| 48, | |
| 8, | |
| 48, | |
| 28 | |
| ], | |
| "selfTime": 0.09999999403953552, | |
| "totalTime": 1.399999976158142, | |
| "count": 1, | |
| "filename": "/Users/aidenybai/Projects/aidenybai/anya/notes-demo/src/components/PrimaryPane/index.jsx", | |
| "parent": "/Users/aidenybai/Projects/aidenybai/anya/notes-demo/src/components/PrimaryPane/index.jsx::PrimaryPane", | |
| "owner": "/Users/aidenybai/Projects/aidenybai/anya/notes-demo/src/components/App/index.jsx::null", | |
| "changes": [ | |
| { | |
| "prev": "function ActiveAuthors() {\n _s();\n const activeThisMonth = useSelector((state) => state.users.filter((i) => new Date(i.lastActiveDate).getFullYear() === 2023 && new Date(i.lastActiveDate).getMonth() === 0));\n return /* @__PURE__ */ jsxDEV(\"div\", { className: \"primary-pane__authors\", children: [\n /* @__PURE__ */ jsxDEV(\"div\", { className: \"primary-pane__authors-last-active\", children: [\n activeThisMonth.length,\n \" users active this month:\",\n \" \",\n activeThisMonth.map((i) => i.name).join(\", \")\n ] }, void 0, true, {\n fileName: \"/Users/aidenybai/Projects/aidenybai/anya/notes-demo/src/components/ActiveAuthors/index.jsx\",\n lineNumber: 14,\n columnNumber: 7\n }, this),\n /* @__PURE__ */ jsxDEV(AvatarGroup, { max: 2, children: [\n /* @__PURE__ */ jsxDEV(Avatar, { src: avatar1 }, void 0, false, {\n fileName: \"/Users/aidenybai/Projects/aidenybai/anya/notes-demo/src/components/ActiveAuthors/index.jsx\",\n lineNumber: 19,\n columnNumber: 9\n }, this),\n /* @__PURE__ */ jsxDEV(Avatar, { src: avatar2 }, void 0, false, {\n fileName: \"/Users/aidenybai/Projects/aidenybai/anya/notes-demo/src/components/ActiveAuthors/index.jsx\",\n lineNumber: 20,\n columnNumber: 9\n }, this),\n /* @__PURE__ */ jsxDEV(Avatar, { src: avatar3 }, void 0, false, {\n fileName: \"/Users/aidenybai/Projects/aidenybai/anya/notes-demo/src/components/ActiveAuthors/index.jsx\",\n lineNumber: 21,\n columnNumber: 9\n }, this)\n ] }, void 0, true, {\n fileName: \"/Users/aidenybai/Projects/aidenybai/anya/notes-demo/src/components/ActiveAuthors/index.jsx\",\n lineNumber: 18,\n columnNumber: 7\n }, this)\n ] }, void 0, true, {\n fileName: \"/Users/aidenybai/Projects/aidenybai/anya/notes-demo/src/components/ActiveAuthors/index.jsx\",\n lineNumber: 13,\n columnNumber: 10\n }, this);\n}", | |
| "next": "function DarkModeSwitcher() {\n _s();\n const {\n mode,\n setMode\n } = useContext(DarkModeContext);\n return /* @__PURE__ */ jsxDEV(\"div\", { className: \"theme-switcher\", children: /* @__PURE__ */ jsxDEV(ToggleButtonGroup, { size: \"small\", value: mode, exclusive: true, onChange: (_e, value) => setMode(value), \"aria-label\": \"text alignment\", children: [\n /* @__PURE__ */ jsxDEV(ToggleButton, { value: \"light\", children: /* @__PURE__ */ jsxDEV(WbSunnyIcon, {}, void 0, false, {\n fileName: \"/Users/aidenybai/Projects/aidenybai/anya/notes-demo/src/components/DarkModeSwitcher/index.jsx\",\n lineNumber: 20,\n columnNumber: 11\n }, this) }, void 0, false, {\n fileName: \"/Users/aidenybai/Projects/aidenybai/anya/notes-demo/src/components/DarkModeSwitcher/index.jsx\",\n lineNumber: 19,\n columnNumber: 9\n }, this),\n /* @__PURE__ */ jsxDEV(ToggleButton, { value: \"dark\", children: /* @__PURE__ */ jsxDEV(Brightness2Icon, {}, void 0, false, {\n fileName: \"/Users/aidenybai/Projects/aidenybai/anya/notes-demo/src/components/DarkModeSwitcher/index.jsx\",\n lineNumber: 23,\n columnNumber: 11\n }, this) }, void 0, false, {\n fileName: \"/Users/aidenybai/Projects/aidenybai/anya/notes-demo/src/components/DarkModeSwitcher/index.jsx\",\n lineNumber: 22,\n columnNumber: 9\n }, this)\n ] }, void 0, true, {\n fileName: \"/Users/aidenybai/Projects/aidenybai/anya/notes-demo/src/components/DarkModeSwitcher/index.jsx\",\n lineNumber: 18,\n columnNumber: 7\n }, this) }, void 0, false, {\n fileName: \"/Users/aidenybai/Projects/aidenybai/anya/notes-demo/src/components/DarkModeSwitcher/index.jsx\",\n lineNumber: 17,\n columnNumber: 10\n }, this);\n}", | |
| "unstable": false, | |
| "type": "function", | |
| "count": 1 | |
| } | |
| ] | |
| }, | |
| { | |
| "kind": "nested-update", | |
| "loc": [ | |
| 53, | |
| 10, | |
| 64, | |
| 19 | |
| ], | |
| "selfTime": 0, | |
| "totalTime": 0.20000001788139343, | |
| "count": 1, | |
| "filename": "/Users/aidenybai/Projects/aidenybai/anya/notes-demo/src/components/PrimaryPane/index.jsx", | |
| "parent": "/Users/aidenybai/Projects/aidenybai/anya/notes-demo/src/components/PrimaryPane/index.jsx::PrimaryPane", | |
| "owner": "/Users/aidenybai/Projects/aidenybai/anya/notes-demo/src/components/App/index.jsx::null", | |
| "changes": [ | |
| { | |
| "prev": "function DarkModeSwitcher() {\n _s();\n const {\n mode,\n setMode\n } = useContext(DarkModeContext);\n return /* @__PURE__ */ jsxDEV(\"div\", { className: \"theme-switcher\", children: /* @__PURE__ */ jsxDEV(ToggleButtonGroup, { size: \"small\", value: mode, exclusive: true, onChange: (_e, value) => setMode(value), \"aria-label\": \"text alignment\", children: [\n /* @__PURE__ */ jsxDEV(ToggleButton, { value: \"light\", children: /* @__PURE__ */ jsxDEV(WbSunnyIcon, {}, void 0, false, {\n fileName: \"/Users/aidenybai/Projects/aidenybai/anya/notes-demo/src/components/DarkModeSwitcher/index.jsx\",\n lineNumber: 20,\n columnNumber: 11\n }, this) }, void 0, false, {\n fileName: \"/Users/aidenybai/Projects/aidenybai/anya/notes-demo/src/components/DarkModeSwitcher/index.jsx\",\n lineNumber: 19,\n columnNumber: 9\n }, this),\n /* @__PURE__ */ jsxDEV(ToggleButton, { value: \"dark\", children: /* @__PURE__ */ jsxDEV(Brightness2Icon, {}, void 0, false, {\n fileName: \"/Users/aidenybai/Projects/aidenybai/anya/notes-demo/src/components/DarkModeSwitcher/index.jsx\",\n lineNumber: 23,\n columnNumber: 11\n }, this) }, void 0, false, {\n fileName: \"/Users/aidenybai/Projects/aidenybai/anya/notes-demo/src/components/DarkModeSwitcher/index.jsx\",\n lineNumber: 22,\n columnNumber: 9\n }, this)\n ] }, void 0, true, {\n fileName: \"/Users/aidenybai/Projects/aidenybai/anya/notes-demo/src/components/DarkModeSwitcher/index.jsx\",\n lineNumber: 18,\n columnNumber: 7\n }, this) }, void 0, false, {\n fileName: \"/Users/aidenybai/Projects/aidenybai/anya/notes-demo/src/components/DarkModeSwitcher/index.jsx\",\n lineNumber: 17,\n columnNumber: 10\n }, this);\n}", | |
| "next": "null", | |
| "unstable": false, | |
| "type": "function", | |
| "count": 1 | |
| } | |
| ] | |
| }, | |
| { | |
| "kind": "update", | |
| "loc": [ | |
| 47, | |
| 8, | |
| 47, | |
| 25 | |
| ], | |
| "selfTime": 2.100000023841858, | |
| "totalTime": 2.800000011920929, | |
| "count": 7, | |
| "filename": "/Users/aidenybai/Projects/aidenybai/anya/notes-demo/src/components/PrimaryPane/index.jsx", | |
| "parent": "/Users/aidenybai/Projects/aidenybai/anya/notes-demo/src/components/PrimaryPane/index.jsx::PrimaryPane", | |
| "owner": "/Users/aidenybai/Projects/aidenybai/anya/notes-demo/src/components/App/index.jsx::null", | |
| "changes": [ | |
| { | |
| "prev": "function NoteView(_props) {\n let {\n text\n } = _props;\n _captureProps(6816091797905125, _props, [5, 33, 5, 41], 0);\n return /* @__PURE__ */ jsxDEV(\"div\", {\n className: \"note-view\",\n /*million ignore*/\n children: _captureJSX(6816091797905125, /* @__PURE__ */ jsxDEV(ReactMarkdown, { remarkPlugins: [gfm], children: text }, void 0, false, {\n fileName: \"/Users/aidenybai/Projects/aidenybai/anya/notes-demo/src/components/NoteView/index.jsx\",\n lineNumber: 17,\n columnNumber: 56\n }, this), \"/Users/aidenybai/Projects/aidenybai/anya/notes-demo/src/components/NoteView/index.jsx::NoteView\", [8, 6, 8, 65], 1)\n }, void 0, false, {\n fileName: \"/Users/aidenybai/Projects/aidenybai/anya/notes-demo/src/components/NoteView/index.jsx\",\n lineNumber: 16,\n columnNumber: 10\n }, this);\n}", | |
| "next": "function ActiveAuthors() {\n _s();\n const activeThisMonth = useSelector((state) => state.users.filter((i) => new Date(i.lastActiveDate).getFullYear() === 2023 && new Date(i.lastActiveDate).getMonth() === 0));\n return /* @__PURE__ */ jsxDEV(\"div\", { className: \"primary-pane__authors\", children: [\n /* @__PURE__ */ jsxDEV(\"div\", { className: \"primary-pane__authors-last-active\", children: [\n activeThisMonth.length,\n \" users active this month:\",\n \" \",\n activeThisMonth.map((i) => i.name).join(\", \")\n ] }, void 0, true, {\n fileName: \"/Users/aidenybai/Projects/aidenybai/anya/notes-demo/src/components/ActiveAuthors/index.jsx\",\n lineNumber: 14,\n columnNumber: 7\n }, this),\n /* @__PURE__ */ jsxDEV(AvatarGroup, { max: 2, children: [\n /* @__PURE__ */ jsxDEV(Avatar, { src: avatar1 }, void 0, false, {\n fileName: \"/Users/aidenybai/Projects/aidenybai/anya/notes-demo/src/components/ActiveAuthors/index.jsx\",\n lineNumber: 19,\n columnNumber: 9\n }, this),\n /* @__PURE__ */ jsxDEV(Avatar, { src: avatar2 }, void 0, false, {\n fileName: \"/Users/aidenybai/Projects/aidenybai/anya/notes-demo/src/components/ActiveAuthors/index.jsx\",\n lineNumber: 20,\n columnNumber: 9\n }, this),\n /* @__PURE__ */ jsxDEV(Avatar, { src: avatar3 }, void 0, false, {\n fileName: \"/Users/aidenybai/Projects/aidenybai/anya/notes-demo/src/components/ActiveAuthors/index.jsx\",\n lineNumber: 21,\n columnNumber: 9\n }, this)\n ] }, void 0, true, {\n fileName: \"/Users/aidenybai/Projects/aidenybai/anya/notes-demo/src/components/ActiveAuthors/index.jsx\",\n lineNumber: 18,\n columnNumber: 7\n }, this)\n ] }, void 0, true, {\n fileName: \"/Users/aidenybai/Projects/aidenybai/anya/notes-demo/src/components/ActiveAuthors/index.jsx\",\n lineNumber: 13,\n columnNumber: 10\n }, this);\n}", | |
| "unstable": false, | |
| "type": "function", | |
| "count": 7 | |
| } | |
| ] | |
| }, | |
| { | |
| "kind": "update", | |
| "loc": [ | |
| 67, | |
| 8, | |
| 71, | |
| 10 | |
| ], | |
| "selfTime": 0.699999988079071, | |
| "totalTime": 0.4999999701976776, | |
| "count": 6, | |
| "filename": "/Users/aidenybai/Projects/aidenybai/anya/notes-demo/src/components/PrimaryPane/index.jsx", | |
| "parent": "/Users/aidenybai/Projects/aidenybai/anya/notes-demo/src/components/PrimaryPane/index.jsx::PrimaryPane", | |
| "owner": "/Users/aidenybai/Projects/aidenybai/anya/notes-demo/src/components/App/index.jsx::null", | |
| "changes": [] | |
| }, | |
| { | |
| "kind": "update", | |
| "loc": [ | |
| 73, | |
| 10, | |
| 73, | |
| 54 | |
| ], | |
| "selfTime": 3.8000000417232513, | |
| "totalTime": 3.6000000536441803, | |
| "count": 6, | |
| "filename": "/Users/aidenybai/Projects/aidenybai/anya/notes-demo/src/components/PrimaryPane/index.jsx", | |
| "parent": "/Users/aidenybai/Projects/aidenybai/anya/notes-demo/src/components/PrimaryPane/index.jsx::PrimaryPane", | |
| "owner": "/Users/aidenybai/Projects/aidenybai/anya/notes-demo/src/components/App/index.jsx::null", | |
| "changes": [ | |
| { | |
| "prev": "function NoteEditor(_props) {\n _s();\n let {\n notes,\n activeNoteId,\n saveNote\n } = _props;\n _captureProps(5559609169833736, _props, [7, 20, 7, 53], 0);\n const currentNote = notes[activeNoteId];\n const textareaRef = (\n /*million ignore*/\n _captureRef(5559609169833736, useRef(), [9, 22, 9, 30], 1, null)\n );\n useEffect(\n /*million ignore*/\n _captureFunctionDef(5559609169833736, () => {\n const editor = CodeMirror.fromTextArea(textareaRef.current, {\n mode: \"markdown\",\n lineWrapping: true\n });\n editor.on(\"change\", (doc, change) => {\n if (change.origin !== \"setValue\") {\n saveNote({\n text: doc.getValue()\n });\n }\n });\n return () => editor.toTextArea();\n }, [11, 12, 24, 3], 3, null),\n /*million ignore*/\n _captureDeps(5559609169833736, [activeNoteId], [11, 2, 24, 20], 2, null)\n );\n return /* @__PURE__ */ jsxDEV(\"div\", { className: \"note-editor\", children: /* @__PURE__ */ jsxDEV(\"textarea\", { ref: textareaRef, defaultValue: currentNote.text, autoComplete: \"off\" }, void 0, false, {\n fileName: \"/Users/aidenybai/Projects/aidenybai/anya/notes-demo/src/components/NoteEditor/index.jsx\",\n lineNumber: 41,\n columnNumber: 7\n }, this) }, activeNoteId, false, {\n fileName: \"/Users/aidenybai/Projects/aidenybai/anya/notes-demo/src/components/NoteEditor/index.jsx\",\n lineNumber: 40,\n columnNumber: 10\n }, this);\n}", | |
| "next": "function NoteView(_props) {\n let {\n text\n } = _props;\n _captureProps(6816091797905125, _props, [5, 33, 5, 41], 0);\n return /* @__PURE__ */ jsxDEV(\"div\", {\n className: \"note-view\",\n /*million ignore*/\n children: _captureJSX(6816091797905125, /* @__PURE__ */ jsxDEV(ReactMarkdown, { remarkPlugins: [gfm], children: text }, void 0, false, {\n fileName: \"/Users/aidenybai/Projects/aidenybai/anya/notes-demo/src/components/NoteView/index.jsx\",\n lineNumber: 17,\n columnNumber: 56\n }, this), \"/Users/aidenybai/Projects/aidenybai/anya/notes-demo/src/components/NoteView/index.jsx::NoteView\", [8, 6, 8, 65], 1)\n }, void 0, false, {\n fileName: \"/Users/aidenybai/Projects/aidenybai/anya/notes-demo/src/components/NoteView/index.jsx\",\n lineNumber: 16,\n columnNumber: 10\n }, this);\n}", | |
| "unstable": false, | |
| "type": "function", | |
| "count": 6 | |
| } | |
| ] | |
| } | |
| ], | |
| "children": {}, | |
| "hints": [ | |
| [ | |
| 55, | |
| "Hoist this" | |
| ], | |
| [ | |
| 56, | |
| "Hoist this" | |
| ], | |
| [ | |
| 65, | |
| "Hoist this" | |
| ], | |
| [ | |
| 69, | |
| "Hoist this" | |
| ], | |
| [ | |
| 70, | |
| "Hoist this" | |
| ], | |
| [ | |
| 73, | |
| "Potentially add value || {} or value || []" | |
| ], | |
| [ | |
| 82, | |
| "Hoist this" | |
| ] | |
| ], | |
| "count": 49, | |
| "filename": "/Users/aidenybai/Projects/aidenybai/anya/notes-demo/src/components/PrimaryPane/index.jsx" | |
| } | |
| } | |
| }, | |
| "/Users/aidenybai/Projects/aidenybai/anya/notes-demo/src/components/DarkModeInfo/index.jsx": { | |
| "components": {} | |
| }, | |
| "/Users/aidenybai/Projects/aidenybai/anya/notes-demo/src/components/PublishingTo/index.jsx": { | |
| "components": { | |
| "PublishingTo": { | |
| "componentName": "PublishingTo", | |
| "loc": [ | |
| 4, | |
| 0, | |
| 19, | |
| 1 | |
| ], | |
| "externals": { | |
| "observer": { | |
| "kind": "module", | |
| "loc": [ | |
| 1, | |
| 9, | |
| 1, | |
| 17 | |
| ], | |
| "jsx": false, | |
| "hints": [] | |
| } | |
| }, | |
| "renders": [ | |
| { | |
| "kind": "props", | |
| "loc": [ | |
| 4, | |
| 22, | |
| 4, | |
| 68 | |
| ], | |
| "selfTime": 0.09999999403953552, | |
| "totalTime": 0.20000001788139343, | |
| "count": 1, | |
| "filename": "/Users/aidenybai/Projects/aidenybai/anya/notes-demo/src/components/PublishingTo/index.jsx", | |
| "owner": "/Users/aidenybai/Projects/aidenybai/anya/notes-demo/src/components/StatusBar/index.jsx::null", | |
| "changes": [ | |
| { | |
| "name": "onPublishingTargetChange", | |
| "unstable": true, | |
| "prev": "(newTarget) => {\n store.setPublishingTarget(newTarget);\n }", | |
| "next": "(newTarget) => {\n store.setPublishingTarget(newTarget);\n }", | |
| "type": "function", | |
| "count": 1 | |
| } | |
| ], | |
| "parent": null | |
| } | |
| ], | |
| "children": {}, | |
| "hints": [ | |
| [ | |
| 7, | |
| "Hoist this" | |
| ], | |
| [ | |
| 7, | |
| "Hoist this" | |
| ], | |
| [ | |
| 10, | |
| "Potentially add value || {} or value || []" | |
| ] | |
| ], | |
| "count": 1, | |
| "filename": "/Users/aidenybai/Projects/aidenybai/anya/notes-demo/src/components/PublishingTo/index.jsx" | |
| } | |
| } | |
| }, | |
| "/Users/aidenybai/Projects/aidenybai/anya/notes-demo/src/components/StatusBar/index.jsx": { | |
| "components": { | |
| "StatusBar": { | |
| "componentName": "StatusBar", | |
| "loc": [ | |
| 5, | |
| 0, | |
| 17, | |
| 1 | |
| ], | |
| "externals": { | |
| "observer": { | |
| "kind": "module", | |
| "loc": [ | |
| 1, | |
| 9, | |
| 1, | |
| 17 | |
| ], | |
| "jsx": false, | |
| "hints": [] | |
| }, | |
| "DarkModeInfo": { | |
| "kind": "module", | |
| "loc": [ | |
| 2, | |
| 7, | |
| 2, | |
| 19 | |
| ], | |
| "jsx": false, | |
| "hints": [] | |
| }, | |
| "PublishingTo": { | |
| "kind": "module", | |
| "loc": [ | |
| 3, | |
| 7, | |
| 3, | |
| 19 | |
| ], | |
| "jsx": false, | |
| "hints": [] | |
| } | |
| }, | |
| "renders": [ | |
| { | |
| "kind": "mount", | |
| "loc": [ | |
| 8, | |
| 6, | |
| 13, | |
| 8 | |
| ], | |
| "selfTime": 0.20000001788139343, | |
| "totalTime": 0.09999999403953552, | |
| "count": 1, | |
| "filename": "/Users/aidenybai/Projects/aidenybai/anya/notes-demo/src/components/StatusBar/index.jsx", | |
| "parent": "/Users/aidenybai/Projects/aidenybai/anya/notes-demo/src/components/StatusBar/index.jsx::StatusBar", | |
| "owner": "/Users/aidenybai/Projects/aidenybai/anya/notes-demo/src/components/App/index.jsx::null", | |
| "changes": [ | |
| { | |
| "prev": "function DarkModeInfo() {\n _s();\n const {\n mode\n } = useContext(DarkModeContext);\n return /* @__PURE__ */ jsxDEV(\"span\", { children: [\n \"Mode:\",\n \" \",\n /* @__PURE__ */ jsxDEV(Button, { classes: {\n root: \"dark-mode-info__button\"\n }, size: \"small\", onClick: () => alert(\"Ha, thought you can click me?\"), children: mode }, void 0, false, {\n fileName: \"/Users/aidenybai/Projects/aidenybai/anya/notes-demo/src/components/DarkModeInfo/index.jsx\",\n lineNumber: 16,\n columnNumber: 7\n }, this)\n ] }, void 0, true, {\n fileName: \"/Users/aidenybai/Projects/aidenybai/anya/notes-demo/src/components/DarkModeInfo/index.jsx\",\n lineNumber: 14,\n columnNumber: 10\n }, this);\n}", | |
| "next": "null", | |
| "unstable": false, | |
| "type": "function", | |
| "count": 1 | |
| } | |
| ] | |
| }, | |
| { | |
| "kind": "mount", | |
| "loc": [ | |
| 14, | |
| 8, | |
| 14, | |
| 24 | |
| ], | |
| "selfTime": 0.29999998211860657, | |
| "totalTime": 0.29999998211860657, | |
| "count": 1, | |
| "filename": "/Users/aidenybai/Projects/aidenybai/anya/notes-demo/src/components/StatusBar/index.jsx", | |
| "parent": "/Users/aidenybai/Projects/aidenybai/anya/notes-demo/src/components/StatusBar/index.jsx::StatusBar", | |
| "owner": "/Users/aidenybai/Projects/aidenybai/anya/notes-demo/src/components/App/index.jsx::null", | |
| "changes": [] | |
| }, | |
| { | |
| "kind": "update", | |
| "loc": [ | |
| 8, | |
| 6, | |
| 13, | |
| 8 | |
| ], | |
| "selfTime": 0.09999999403953552, | |
| "totalTime": 0.09999999403953552, | |
| "count": 1, | |
| "filename": "/Users/aidenybai/Projects/aidenybai/anya/notes-demo/src/components/StatusBar/index.jsx", | |
| "parent": "/Users/aidenybai/Projects/aidenybai/anya/notes-demo/src/components/StatusBar/index.jsx::StatusBar", | |
| "owner": "/Users/aidenybai/Projects/aidenybai/anya/notes-demo/src/components/App/index.jsx::null", | |
| "changes": [ | |
| { | |
| "prev": "function DarkModeInfo() {\n _s();\n const {\n mode\n } = useContext(DarkModeContext);\n return /* @__PURE__ */ jsxDEV(\"span\", { children: [\n \"Mode:\",\n \" \",\n /* @__PURE__ */ jsxDEV(Button, { classes: {\n root: \"dark-mode-info__button\"\n }, size: \"small\", onClick: () => alert(\"Ha, thought you can click me?\"), children: mode }, void 0, false, {\n fileName: \"/Users/aidenybai/Projects/aidenybai/anya/notes-demo/src/components/DarkModeInfo/index.jsx\",\n lineNumber: 16,\n columnNumber: 7\n }, this)\n ] }, void 0, true, {\n fileName: \"/Users/aidenybai/Projects/aidenybai/anya/notes-demo/src/components/DarkModeInfo/index.jsx\",\n lineNumber: 14,\n columnNumber: 10\n }, this);\n}", | |
| "next": "null", | |
| "unstable": false, | |
| "type": "function", | |
| "count": 1 | |
| } | |
| ] | |
| }, | |
| { | |
| "kind": "update", | |
| "loc": [ | |
| 14, | |
| 8, | |
| 14, | |
| 24 | |
| ], | |
| "selfTime": 2.4000000059604645, | |
| "totalTime": 2.4999999701976776, | |
| "count": 9, | |
| "filename": "/Users/aidenybai/Projects/aidenybai/anya/notes-demo/src/components/StatusBar/index.jsx", | |
| "parent": "/Users/aidenybai/Projects/aidenybai/anya/notes-demo/src/components/StatusBar/index.jsx::StatusBar", | |
| "owner": "/Users/aidenybai/Projects/aidenybai/anya/notes-demo/src/components/App/index.jsx::null", | |
| "changes": [] | |
| }, | |
| { | |
| "kind": "nested-update", | |
| "loc": [ | |
| 14, | |
| 8, | |
| 14, | |
| 24 | |
| ], | |
| "selfTime": 0, | |
| "totalTime": 0.4000000059604645, | |
| "count": 1, | |
| "filename": "/Users/aidenybai/Projects/aidenybai/anya/notes-demo/src/components/StatusBar/index.jsx", | |
| "parent": "/Users/aidenybai/Projects/aidenybai/anya/notes-demo/src/components/StatusBar/index.jsx::StatusBar", | |
| "owner": "/Users/aidenybai/Projects/aidenybai/anya/notes-demo/src/components/App/index.jsx::null", | |
| "changes": [] | |
| } | |
| ], | |
| "children": {}, | |
| "hints": [ | |
| [ | |
| 9, | |
| "Potentially add value || {} or value || []" | |
| ], | |
| [ | |
| 13, | |
| "Hoist this" | |
| ] | |
| ], | |
| "count": 13, | |
| "filename": "/Users/aidenybai/Projects/aidenybai/anya/notes-demo/src/components/StatusBar/index.jsx" | |
| } | |
| } | |
| }, | |
| "/Users/aidenybai/Projects/aidenybai/anya/notes-demo/src/components/App/index.jsx": { | |
| "components": { | |
| "App": { | |
| "componentName": "App", | |
| "loc": [ | |
| 22, | |
| 0, | |
| 129, | |
| 1 | |
| ], | |
| "externals": { | |
| "formatISO": { | |
| "kind": "module", | |
| "loc": [ | |
| 1, | |
| 9, | |
| 1, | |
| 18 | |
| ], | |
| "jsx": false, | |
| "hints": [] | |
| }, | |
| "Jabber": { | |
| "kind": "module", | |
| "loc": [ | |
| 2, | |
| 7, | |
| 2, | |
| 13 | |
| ], | |
| "jsx": false, | |
| "hints": [] | |
| }, | |
| "nanoid": { | |
| "kind": "module", | |
| "loc": [ | |
| 3, | |
| 9, | |
| 3, | |
| 15 | |
| ], | |
| "jsx": false, | |
| "hints": [] | |
| }, | |
| "memo": { | |
| "kind": "module", | |
| "loc": [ | |
| 4, | |
| 9, | |
| 4, | |
| 13 | |
| ], | |
| "jsx": false, | |
| "hints": [] | |
| }, | |
| "useEffect": { | |
| "kind": "module", | |
| "loc": [ | |
| 4, | |
| 15, | |
| 4, | |
| 24 | |
| ], | |
| "jsx": false, | |
| "hints": [] | |
| }, | |
| "useRef": { | |
| "kind": "module", | |
| "loc": [ | |
| 4, | |
| 26, | |
| 4, | |
| 32 | |
| ], | |
| "jsx": false, | |
| "hints": [] | |
| }, | |
| "useState": { | |
| "kind": "module", | |
| "loc": [ | |
| 4, | |
| 34, | |
| 4, | |
| 42 | |
| ], | |
| "jsx": false, | |
| "hints": [] | |
| }, | |
| "useDispatch": { | |
| "kind": "module", | |
| "loc": [ | |
| 5, | |
| 9, | |
| 5, | |
| 20 | |
| ], | |
| "jsx": false, | |
| "hints": [] | |
| }, | |
| "deleteNotes": { | |
| "kind": "module", | |
| "loc": [ | |
| 7, | |
| 2, | |
| 7, | |
| 13 | |
| ], | |
| "jsx": false, | |
| "hints": [] | |
| }, | |
| "getNotes": { | |
| "kind": "module", | |
| "loc": [ | |
| 8, | |
| 2, | |
| 8, | |
| 10 | |
| ], | |
| "jsx": false, | |
| "hints": [] | |
| }, | |
| "putNote": { | |
| "kind": "module", | |
| "loc": [ | |
| 9, | |
| 2, | |
| 9, | |
| 9 | |
| ], | |
| "jsx": false, | |
| "hints": [] | |
| }, | |
| "saveNotesToLocalStorage": { | |
| "kind": "module", | |
| "loc": [ | |
| 10, | |
| 2, | |
| 10, | |
| 25 | |
| ], | |
| "jsx": false, | |
| "hints": [] | |
| }, | |
| "updateLastActiveDate": { | |
| "kind": "module", | |
| "loc": [ | |
| 12, | |
| 9, | |
| 12, | |
| 29 | |
| ], | |
| "jsx": false, | |
| "hints": [] | |
| }, | |
| "NotesList": { | |
| "kind": "module", | |
| "loc": [ | |
| 13, | |
| 7, | |
| 13, | |
| 16 | |
| ], | |
| "jsx": false, | |
| "hints": [] | |
| }, | |
| "PrimaryPane": { | |
| "kind": "module", | |
| "loc": [ | |
| 14, | |
| 7, | |
| 14, | |
| 18 | |
| ], | |
| "jsx": false, | |
| "hints": [] | |
| }, | |
| "DarkModeProvider": { | |
| "kind": "module", | |
| "loc": [ | |
| 17, | |
| 9, | |
| 17, | |
| 25 | |
| ], | |
| "jsx": false, | |
| "hints": [] | |
| }, | |
| "StatusBar": { | |
| "kind": "module", | |
| "loc": [ | |
| 18, | |
| 7, | |
| 18, | |
| 16 | |
| ], | |
| "jsx": false, | |
| "hints": [] | |
| }, | |
| "jabber": { | |
| "kind": "const", | |
| "loc": [ | |
| 20, | |
| 6, | |
| 20, | |
| 27 | |
| ], | |
| "jsx": false, | |
| "hints": [] | |
| } | |
| }, | |
| "renders": [ | |
| { | |
| "kind": "state", | |
| "loc": [ | |
| 24, | |
| 42, | |
| 24, | |
| 56 | |
| ], | |
| "selfTime": 0, | |
| "totalTime": 205.80000001192093, | |
| "count": 4, | |
| "filename": "/Users/aidenybai/Projects/aidenybai/anya/notes-demo/src/components/App/index.jsx", | |
| "owner": "/Users/aidenybai/Projects/aidenybai/anya/notes-demo/src/index.jsx::null", | |
| "changes": [ | |
| { | |
| "unstable": false, | |
| "prev": "null", | |
| "next": "h7TPB4TdX_d2LXC1-hsL8", | |
| "type": "string", | |
| "count": 1 | |
| }, | |
| { | |
| "unstable": false, | |
| "prev": "h7TPB4TdX_d2LXC1-hsL8", | |
| "next": "TONU5-6sqnRYSLtmm_YUS", | |
| "type": "string", | |
| "count": 1 | |
| }, | |
| { | |
| "unstable": false, | |
| "prev": "TONU5-6sqnRYSLtmm_YUS", | |
| "next": "RztZDrZJHoU5Grd0ILvg9", | |
| "type": "string", | |
| "count": 1 | |
| }, | |
| { | |
| "unstable": false, | |
| "prev": "RztZDrZJHoU5Grd0ILvg9", | |
| "next": "YkGYqeY3Itfoaoc16CPip", | |
| "type": "string", | |
| "count": 1 | |
| } | |
| ], | |
| "parent": null | |
| }, | |
| { | |
| "kind": "deps", | |
| "loc": [ | |
| 26, | |
| 2, | |
| 28, | |
| 27 | |
| ], | |
| "selfTime": 0, | |
| "totalTime": 205.50000002980232, | |
| "count": 7, | |
| "filename": "/Users/aidenybai/Projects/aidenybai/anya/notes-demo/src/components/App/index.jsx", | |
| "owner": "/Users/aidenybai/Projects/aidenybai/anya/notes-demo/src/index.jsx::null", | |
| "changes": [ | |
| { | |
| "unstable": false, | |
| "prev": "null", | |
| "next": "h7TPB4TdX_d2LXC1-hsL8", | |
| "type": "string", | |
| "count": 1, | |
| "index": 1 | |
| }, | |
| { | |
| "unstable": false, | |
| "prev": "h7TPB4TdX_d2LXC1-hsL8", | |
| "next": "TONU5-6sqnRYSLtmm_YUS", | |
| "type": "string", | |
| "count": 1, | |
| "index": 1 | |
| }, | |
| { | |
| "unstable": false, | |
| "prev": "TONU5-6sqnRYSLtmm_YUS", | |
| "next": "RztZDrZJHoU5Grd0ILvg9", | |
| "type": "string", | |
| "count": 1, | |
| "index": 1 | |
| }, | |
| { | |
| "unstable": false, | |
| "prev": "RztZDrZJHoU5Grd0ILvg9", | |
| "next": "YkGYqeY3Itfoaoc16CPip", | |
| "type": "string", | |
| "count": 1, | |
| "index": 1 | |
| }, | |
| { | |
| "unstable": true, | |
| "prev": "{…}", | |
| "next": "{…}", | |
| "type": "object", | |
| "count": 3, | |
| "index": 0 | |
| } | |
| ], | |
| "parent": null | |
| }, | |
| { | |
| "kind": "state", | |
| "loc": [ | |
| 23, | |
| 28, | |
| 23, | |
| 48 | |
| ], | |
| "selfTime": 0.4000000059604645, | |
| "totalTime": 795.5000000596046, | |
| "count": 3, | |
| "filename": "/Users/aidenybai/Projects/aidenybai/anya/notes-demo/src/components/App/index.jsx", | |
| "owner": "/Users/aidenybai/Projects/aidenybai/anya/notes-demo/src/index.jsx::null", | |
| "changes": [ | |
| { | |
| "unstable": true, | |
| "prev": "{…}", | |
| "next": "{…}", | |
| "type": "object", | |
| "count": 3 | |
| } | |
| ], | |
| "parent": null | |
| }, | |
| { | |
| "kind": "value", | |
| "loc": [ | |
| 35, | |
| 21, | |
| 35, | |
| 29 | |
| ], | |
| "selfTime": 0, | |
| "totalTime": 0, | |
| "count": 2, | |
| "filename": "/Users/aidenybai/Projects/aidenybai/anya/notes-demo/src/components/App/index.jsx", | |
| "owner": "undefined::null", | |
| "changes": [ | |
| { | |
| "prev": "{…}", | |
| "next": "{…}", | |
| "unstable": true, | |
| "type": "object", | |
| "count": 2 | |
| } | |
| ], | |
| "parent": null | |
| }, | |
| { | |
| "kind": "value", | |
| "loc": [ | |
| 38, | |
| 4, | |
| 38, | |
| 12 | |
| ], | |
| "selfTime": 0.09999999403953552, | |
| "totalTime": 0.09999999403953552, | |
| "count": 2, | |
| "filename": "/Users/aidenybai/Projects/aidenybai/anya/notes-demo/src/components/App/index.jsx", | |
| "owner": "undefined::null", | |
| "changes": [ | |
| { | |
| "prev": "{…}", | |
| "next": "{…}", | |
| "unstable": true, | |
| "type": "object", | |
| "count": 2 | |
| } | |
| ], | |
| "parent": null | |
| } | |
| ], | |
| "children": {}, | |
| "hints": [ | |
| [ | |
| 44, | |
| "Hoist this" | |
| ], | |
| [ | |
| 48, | |
| "Hoist this" | |
| ], | |
| [ | |
| 105, | |
| "Hoist this" | |
| ], | |
| [ | |
| 106, | |
| "Hoist this" | |
| ], | |
| [ | |
| 107, | |
| "Hoist this" | |
| ], | |
| [ | |
| 108, | |
| "Hoist this" | |
| ], | |
| [ | |
| 109, | |
| "Hoist this" | |
| ], | |
| [ | |
| 116, | |
| "Hoist this" | |
| ], | |
| [ | |
| 117, | |
| "Hoist this" | |
| ], | |
| [ | |
| 118, | |
| "Hoist this" | |
| ], | |
| [ | |
| 124, | |
| "Potentially add value || {} or value || []" | |
| ] | |
| ], | |
| "count": 18, | |
| "filename": "/Users/aidenybai/Projects/aidenybai/anya/notes-demo/src/components/App/index.jsx" | |
| } | |
| } | |
| }, | |
| "/Users/aidenybai/Projects/aidenybai/anya/notes-demo/src/index.jsx": { | |
| "components": {} | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment