create-leo-app 0.9.18 → 0.10.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (164) hide show
  1. package/package.json +1 -1
  2. package/template-build-and-execute-authorization-ts/package.json +1 -1
  3. package/template-extension/package.json +2 -1
  4. package/template-nextjs-ts/node_modules/@types/node/README.md +1 -1
  5. package/template-nextjs-ts/node_modules/@types/node/package.json +2 -2
  6. package/template-nextjs-ts/node_modules/@types/node/process.d.ts +0 -19
  7. package/template-nextjs-ts/node_modules/@types/node/tls.d.ts +0 -4
  8. package/template-nextjs-ts/package.json +2 -2
  9. package/template-node/package.json +1 -1
  10. package/template-node-credits-aleo-functions-ts/package.json +1 -1
  11. package/template-node-ts/dist/index.js +96 -92
  12. package/template-node-ts/dist/index.js.map +1 -1
  13. package/template-node-ts/package.json +1 -1
  14. package/template-node-ts/src/index.ts +44 -0
  15. package/template-offline-public-transaction-ts/package.json +1 -1
  16. package/template-react-credits-aleo-functions-ts/node_modules/@types/node/LICENSE +21 -0
  17. package/template-react-credits-aleo-functions-ts/node_modules/@types/node/README.md +15 -0
  18. package/template-react-credits-aleo-functions-ts/node_modules/@types/node/assert/strict.d.ts +111 -0
  19. package/template-react-credits-aleo-functions-ts/node_modules/@types/node/assert.d.ts +1078 -0
  20. package/template-react-credits-aleo-functions-ts/node_modules/@types/node/async_hooks.d.ts +603 -0
  21. package/template-react-credits-aleo-functions-ts/node_modules/@types/node/buffer.buffer.d.ts +472 -0
  22. package/template-react-credits-aleo-functions-ts/node_modules/@types/node/buffer.d.ts +1934 -0
  23. package/template-react-credits-aleo-functions-ts/node_modules/@types/node/child_process.d.ts +1476 -0
  24. package/template-react-credits-aleo-functions-ts/node_modules/@types/node/cluster.d.ts +578 -0
  25. package/template-react-credits-aleo-functions-ts/node_modules/@types/node/compatibility/disposable.d.ts +14 -0
  26. package/template-react-credits-aleo-functions-ts/node_modules/@types/node/compatibility/index.d.ts +9 -0
  27. package/template-react-credits-aleo-functions-ts/node_modules/@types/node/compatibility/indexable.d.ts +20 -0
  28. package/template-react-credits-aleo-functions-ts/node_modules/@types/node/compatibility/iterators.d.ts +20 -0
  29. package/template-react-credits-aleo-functions-ts/node_modules/@types/node/console.d.ts +452 -0
  30. package/template-react-credits-aleo-functions-ts/node_modules/@types/node/constants.d.ts +21 -0
  31. package/template-react-credits-aleo-functions-ts/node_modules/@types/node/crypto.d.ts +4545 -0
  32. package/template-react-credits-aleo-functions-ts/node_modules/@types/node/dgram.d.ts +600 -0
  33. package/template-react-credits-aleo-functions-ts/node_modules/@types/node/diagnostics_channel.d.ts +578 -0
  34. package/template-react-credits-aleo-functions-ts/node_modules/@types/node/dns/promises.d.ts +503 -0
  35. package/template-react-credits-aleo-functions-ts/node_modules/@types/node/dns.d.ts +923 -0
  36. package/template-react-credits-aleo-functions-ts/node_modules/@types/node/domain.d.ts +170 -0
  37. package/template-react-credits-aleo-functions-ts/node_modules/@types/node/events.d.ts +976 -0
  38. package/template-react-credits-aleo-functions-ts/node_modules/@types/node/fs/promises.d.ts +1295 -0
  39. package/template-react-credits-aleo-functions-ts/node_modules/@types/node/fs.d.ts +4461 -0
  40. package/template-react-credits-aleo-functions-ts/node_modules/@types/node/globals.d.ts +172 -0
  41. package/template-react-credits-aleo-functions-ts/node_modules/@types/node/globals.typedarray.d.ts +38 -0
  42. package/template-react-credits-aleo-functions-ts/node_modules/@types/node/http.d.ts +2089 -0
  43. package/template-react-credits-aleo-functions-ts/node_modules/@types/node/http2.d.ts +2644 -0
  44. package/template-react-credits-aleo-functions-ts/node_modules/@types/node/https.d.ts +579 -0
  45. package/template-react-credits-aleo-functions-ts/node_modules/@types/node/index.d.ts +97 -0
  46. package/template-react-credits-aleo-functions-ts/node_modules/@types/node/inspector.d.ts +253 -0
  47. package/template-react-credits-aleo-functions-ts/node_modules/@types/node/inspector.generated.d.ts +4052 -0
  48. package/template-react-credits-aleo-functions-ts/node_modules/@types/node/module.d.ts +891 -0
  49. package/template-react-credits-aleo-functions-ts/node_modules/@types/node/net.d.ts +1057 -0
  50. package/template-react-credits-aleo-functions-ts/node_modules/@types/node/os.d.ts +506 -0
  51. package/template-react-credits-aleo-functions-ts/node_modules/@types/node/package.json +145 -0
  52. package/template-react-credits-aleo-functions-ts/node_modules/@types/node/path.d.ts +200 -0
  53. package/template-react-credits-aleo-functions-ts/node_modules/@types/node/perf_hooks.d.ts +968 -0
  54. package/template-react-credits-aleo-functions-ts/node_modules/@types/node/process.d.ts +2070 -0
  55. package/template-react-credits-aleo-functions-ts/node_modules/@types/node/punycode.d.ts +117 -0
  56. package/template-react-credits-aleo-functions-ts/node_modules/@types/node/querystring.d.ts +152 -0
  57. package/template-react-credits-aleo-functions-ts/node_modules/@types/node/readline/promises.d.ts +161 -0
  58. package/template-react-credits-aleo-functions-ts/node_modules/@types/node/readline.d.ts +594 -0
  59. package/template-react-credits-aleo-functions-ts/node_modules/@types/node/repl.d.ts +428 -0
  60. package/template-react-credits-aleo-functions-ts/node_modules/@types/node/sea.d.ts +153 -0
  61. package/template-react-credits-aleo-functions-ts/node_modules/@types/node/sqlite.d.ts +721 -0
  62. package/template-react-credits-aleo-functions-ts/node_modules/@types/node/stream/consumers.d.ts +38 -0
  63. package/template-react-credits-aleo-functions-ts/node_modules/@types/node/stream/promises.d.ts +90 -0
  64. package/template-react-credits-aleo-functions-ts/node_modules/@types/node/stream/web.d.ts +622 -0
  65. package/template-react-credits-aleo-functions-ts/node_modules/@types/node/stream.d.ts +1664 -0
  66. package/template-react-credits-aleo-functions-ts/node_modules/@types/node/string_decoder.d.ts +67 -0
  67. package/template-react-credits-aleo-functions-ts/node_modules/@types/node/test.d.ts +2162 -0
  68. package/template-react-credits-aleo-functions-ts/node_modules/@types/node/timers/promises.d.ts +108 -0
  69. package/template-react-credits-aleo-functions-ts/node_modules/@types/node/timers.d.ts +287 -0
  70. package/template-react-credits-aleo-functions-ts/node_modules/@types/node/tls.d.ts +1315 -0
  71. package/template-react-credits-aleo-functions-ts/node_modules/@types/node/trace_events.d.ts +197 -0
  72. package/template-react-credits-aleo-functions-ts/node_modules/@types/node/ts5.6/buffer.buffer.d.ts +468 -0
  73. package/template-react-credits-aleo-functions-ts/node_modules/@types/node/ts5.6/globals.typedarray.d.ts +34 -0
  74. package/template-react-credits-aleo-functions-ts/node_modules/@types/node/ts5.6/index.d.ts +97 -0
  75. package/template-react-credits-aleo-functions-ts/node_modules/@types/node/tty.d.ts +208 -0
  76. package/template-react-credits-aleo-functions-ts/node_modules/@types/node/url.d.ts +984 -0
  77. package/template-react-credits-aleo-functions-ts/node_modules/@types/node/util.d.ts +2606 -0
  78. package/template-react-credits-aleo-functions-ts/node_modules/@types/node/v8.d.ts +920 -0
  79. package/template-react-credits-aleo-functions-ts/node_modules/@types/node/vm.d.ts +1000 -0
  80. package/template-react-credits-aleo-functions-ts/node_modules/@types/node/wasi.d.ts +181 -0
  81. package/template-react-credits-aleo-functions-ts/node_modules/@types/node/web-globals/abortcontroller.d.ts +34 -0
  82. package/template-react-credits-aleo-functions-ts/node_modules/@types/node/web-globals/domexception.d.ts +68 -0
  83. package/template-react-credits-aleo-functions-ts/node_modules/@types/node/web-globals/events.d.ts +97 -0
  84. package/template-react-credits-aleo-functions-ts/node_modules/@types/node/web-globals/fetch.d.ts +46 -0
  85. package/template-react-credits-aleo-functions-ts/node_modules/@types/node/web-globals/navigator.d.ts +22 -0
  86. package/template-react-credits-aleo-functions-ts/node_modules/@types/node/web-globals/storage.d.ts +24 -0
  87. package/template-react-credits-aleo-functions-ts/node_modules/@types/node/worker_threads.d.ts +784 -0
  88. package/template-react-credits-aleo-functions-ts/node_modules/@types/node/zlib.d.ts +683 -0
  89. package/template-react-credits-aleo-functions-ts/node_modules/undici-types/LICENSE +21 -0
  90. package/template-react-credits-aleo-functions-ts/node_modules/undici-types/README.md +6 -0
  91. package/template-react-credits-aleo-functions-ts/node_modules/undici-types/agent.d.ts +31 -0
  92. package/template-react-credits-aleo-functions-ts/node_modules/undici-types/api.d.ts +43 -0
  93. package/template-react-credits-aleo-functions-ts/node_modules/undici-types/balanced-pool.d.ts +29 -0
  94. package/template-react-credits-aleo-functions-ts/node_modules/undici-types/cache.d.ts +36 -0
  95. package/template-react-credits-aleo-functions-ts/node_modules/undici-types/client.d.ts +108 -0
  96. package/template-react-credits-aleo-functions-ts/node_modules/undici-types/connector.d.ts +34 -0
  97. package/template-react-credits-aleo-functions-ts/node_modules/undici-types/content-type.d.ts +21 -0
  98. package/template-react-credits-aleo-functions-ts/node_modules/undici-types/cookies.d.ts +28 -0
  99. package/template-react-credits-aleo-functions-ts/node_modules/undici-types/diagnostics-channel.d.ts +66 -0
  100. package/template-react-credits-aleo-functions-ts/node_modules/undici-types/dispatcher.d.ts +256 -0
  101. package/template-react-credits-aleo-functions-ts/node_modules/undici-types/env-http-proxy-agent.d.ts +21 -0
  102. package/template-react-credits-aleo-functions-ts/node_modules/undici-types/errors.d.ts +149 -0
  103. package/template-react-credits-aleo-functions-ts/node_modules/undici-types/eventsource.d.ts +61 -0
  104. package/template-react-credits-aleo-functions-ts/node_modules/undici-types/fetch.d.ts +209 -0
  105. package/template-react-credits-aleo-functions-ts/node_modules/undici-types/file.d.ts +39 -0
  106. package/template-react-credits-aleo-functions-ts/node_modules/undici-types/filereader.d.ts +54 -0
  107. package/template-react-credits-aleo-functions-ts/node_modules/undici-types/formdata.d.ts +108 -0
  108. package/template-react-credits-aleo-functions-ts/node_modules/undici-types/global-dispatcher.d.ts +9 -0
  109. package/template-react-credits-aleo-functions-ts/node_modules/undici-types/global-origin.d.ts +7 -0
  110. package/template-react-credits-aleo-functions-ts/node_modules/undici-types/handlers.d.ts +15 -0
  111. package/template-react-credits-aleo-functions-ts/node_modules/undici-types/header.d.ts +4 -0
  112. package/template-react-credits-aleo-functions-ts/node_modules/undici-types/index.d.ts +71 -0
  113. package/template-react-credits-aleo-functions-ts/node_modules/undici-types/interceptors.d.ts +17 -0
  114. package/template-react-credits-aleo-functions-ts/node_modules/undici-types/mock-agent.d.ts +50 -0
  115. package/template-react-credits-aleo-functions-ts/node_modules/undici-types/mock-client.d.ts +25 -0
  116. package/template-react-credits-aleo-functions-ts/node_modules/undici-types/mock-errors.d.ts +12 -0
  117. package/template-react-credits-aleo-functions-ts/node_modules/undici-types/mock-interceptor.d.ts +93 -0
  118. package/template-react-credits-aleo-functions-ts/node_modules/undici-types/mock-pool.d.ts +25 -0
  119. package/template-react-credits-aleo-functions-ts/node_modules/undici-types/package.json +55 -0
  120. package/template-react-credits-aleo-functions-ts/node_modules/undici-types/patch.d.ts +33 -0
  121. package/template-react-credits-aleo-functions-ts/node_modules/undici-types/pool-stats.d.ts +19 -0
  122. package/template-react-credits-aleo-functions-ts/node_modules/undici-types/pool.d.ts +39 -0
  123. package/template-react-credits-aleo-functions-ts/node_modules/undici-types/proxy-agent.d.ts +28 -0
  124. package/template-react-credits-aleo-functions-ts/node_modules/undici-types/readable.d.ts +65 -0
  125. package/template-react-credits-aleo-functions-ts/node_modules/undici-types/retry-agent.d.ts +8 -0
  126. package/template-react-credits-aleo-functions-ts/node_modules/undici-types/retry-handler.d.ts +116 -0
  127. package/template-react-credits-aleo-functions-ts/node_modules/undici-types/util.d.ts +18 -0
  128. package/template-react-credits-aleo-functions-ts/node_modules/undici-types/webidl.d.ts +228 -0
  129. package/template-react-credits-aleo-functions-ts/node_modules/undici-types/websocket.d.ts +150 -0
  130. package/template-react-credits-aleo-functions-ts/package.json +2 -2
  131. package/template-react-leo/package.json +2 -2
  132. package/template-react-managed-worker/package.json +2 -2
  133. package/template-react-ts/node_modules/@types/node/README.md +1 -1
  134. package/template-react-ts/node_modules/@types/node/package.json +2 -2
  135. package/template-react-ts/node_modules/@types/node/process.d.ts +0 -19
  136. package/template-react-ts/node_modules/@types/node/tls.d.ts +0 -4
  137. package/template-react-ts/package.json +2 -2
  138. package/template-react-ts/src/App.tsx +72 -0
  139. package/template-react-ts/src/workers/worker.ts +12 -1
  140. package/template-vanilla/package.json +1 -1
  141. package/template-react-ts/node_modules/.vite/deps/@scure_base.js +0 -534
  142. package/template-react-ts/node_modules/.vite/deps/@scure_base.js.map +0 -7
  143. package/template-react-ts/node_modules/.vite/deps/_metadata.json +0 -67
  144. package/template-react-ts/node_modules/.vite/deps/chunk-BUSYA2B4.js +0 -8
  145. package/template-react-ts/node_modules/.vite/deps/chunk-BUSYA2B4.js.map +0 -7
  146. package/template-react-ts/node_modules/.vite/deps/chunk-CEAIHRR2.js +0 -280
  147. package/template-react-ts/node_modules/.vite/deps/chunk-CEAIHRR2.js.map +0 -7
  148. package/template-react-ts/node_modules/.vite/deps/chunk-IWTZO5RK.js +0 -1004
  149. package/template-react-ts/node_modules/.vite/deps/chunk-IWTZO5RK.js.map +0 -7
  150. package/template-react-ts/node_modules/.vite/deps/comlink.js +0 -352
  151. package/template-react-ts/node_modules/.vite/deps/comlink.js.map +0 -7
  152. package/template-react-ts/node_modules/.vite/deps/core-js_proposals_json-parse-with-source__js.js +0 -1662
  153. package/template-react-ts/node_modules/.vite/deps/core-js_proposals_json-parse-with-source__js.js.map +0 -7
  154. package/template-react-ts/node_modules/.vite/deps/package.json +0 -3
  155. package/template-react-ts/node_modules/.vite/deps/react-dom.js +0 -6
  156. package/template-react-ts/node_modules/.vite/deps/react-dom.js.map +0 -7
  157. package/template-react-ts/node_modules/.vite/deps/react-dom_client.js +0 -20217
  158. package/template-react-ts/node_modules/.vite/deps/react-dom_client.js.map +0 -7
  159. package/template-react-ts/node_modules/.vite/deps/react.js +0 -5
  160. package/template-react-ts/node_modules/.vite/deps/react.js.map +0 -7
  161. package/template-react-ts/node_modules/.vite/deps/react_jsx-dev-runtime.js +0 -278
  162. package/template-react-ts/node_modules/.vite/deps/react_jsx-dev-runtime.js.map +0 -7
  163. package/template-react-ts/node_modules/.vite/deps/react_jsx-runtime.js +0 -289
  164. package/template-react-ts/node_modules/.vite/deps/react_jsx-runtime.js.map +0 -7
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../../../../node_modules/react/cjs/react.development.js", "../../../../../node_modules/react/index.js"],
4
- "sourcesContent": ["/**\n * @license React\n * react.development.js\n *\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n\"use strict\";\n\"production\" !== process.env.NODE_ENV &&\n (function () {\n function defineDeprecationWarning(methodName, info) {\n Object.defineProperty(Component.prototype, methodName, {\n get: function () {\n console.warn(\n \"%s(...) is deprecated in plain JavaScript React classes. %s\",\n info[0],\n info[1]\n );\n }\n });\n }\n function getIteratorFn(maybeIterable) {\n if (null === maybeIterable || \"object\" !== typeof maybeIterable)\n return null;\n maybeIterable =\n (MAYBE_ITERATOR_SYMBOL && maybeIterable[MAYBE_ITERATOR_SYMBOL]) ||\n maybeIterable[\"@@iterator\"];\n return \"function\" === typeof maybeIterable ? maybeIterable : null;\n }\n function warnNoop(publicInstance, callerName) {\n publicInstance =\n ((publicInstance = publicInstance.constructor) &&\n (publicInstance.displayName || publicInstance.name)) ||\n \"ReactClass\";\n var warningKey = publicInstance + \".\" + callerName;\n didWarnStateUpdateForUnmountedComponent[warningKey] ||\n (console.error(\n \"Can't call %s on a component that is not yet mounted. This is a no-op, but it might indicate a bug in your application. Instead, assign to `this.state` directly or define a `state = {};` class property with the desired state in the %s component.\",\n callerName,\n publicInstance\n ),\n (didWarnStateUpdateForUnmountedComponent[warningKey] = !0));\n }\n function Component(props, context, updater) {\n this.props = props;\n this.context = context;\n this.refs = emptyObject;\n this.updater = updater || ReactNoopUpdateQueue;\n }\n function ComponentDummy() {}\n function PureComponent(props, context, updater) {\n this.props = props;\n this.context = context;\n this.refs = emptyObject;\n this.updater = updater || ReactNoopUpdateQueue;\n }\n function noop() {}\n function testStringCoercion(value) {\n return \"\" + value;\n }\n function checkKeyStringCoercion(value) {\n try {\n testStringCoercion(value);\n var JSCompiler_inline_result = !1;\n } catch (e) {\n JSCompiler_inline_result = !0;\n }\n if (JSCompiler_inline_result) {\n JSCompiler_inline_result = console;\n var JSCompiler_temp_const = JSCompiler_inline_result.error;\n var JSCompiler_inline_result$jscomp$0 =\n (\"function\" === typeof Symbol &&\n Symbol.toStringTag &&\n value[Symbol.toStringTag]) ||\n value.constructor.name ||\n \"Object\";\n JSCompiler_temp_const.call(\n JSCompiler_inline_result,\n \"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.\",\n JSCompiler_inline_result$jscomp$0\n );\n return testStringCoercion(value);\n }\n }\n function getComponentNameFromType(type) {\n if (null == type) return null;\n if (\"function\" === typeof type)\n return type.$$typeof === REACT_CLIENT_REFERENCE\n ? null\n : type.displayName || type.name || null;\n if (\"string\" === typeof type) return type;\n switch (type) {\n case REACT_FRAGMENT_TYPE:\n return \"Fragment\";\n case REACT_PROFILER_TYPE:\n return \"Profiler\";\n case REACT_STRICT_MODE_TYPE:\n return \"StrictMode\";\n case REACT_SUSPENSE_TYPE:\n return \"Suspense\";\n case REACT_SUSPENSE_LIST_TYPE:\n return \"SuspenseList\";\n case REACT_ACTIVITY_TYPE:\n return \"Activity\";\n }\n if (\"object\" === typeof type)\n switch (\n (\"number\" === typeof type.tag &&\n console.error(\n \"Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue.\"\n ),\n type.$$typeof)\n ) {\n case REACT_PORTAL_TYPE:\n return \"Portal\";\n case REACT_CONTEXT_TYPE:\n return type.displayName || \"Context\";\n case REACT_CONSUMER_TYPE:\n return (type._context.displayName || \"Context\") + \".Consumer\";\n case REACT_FORWARD_REF_TYPE:\n var innerType = type.render;\n type = type.displayName;\n type ||\n ((type = innerType.displayName || innerType.name || \"\"),\n (type = \"\" !== type ? \"ForwardRef(\" + type + \")\" : \"ForwardRef\"));\n return type;\n case REACT_MEMO_TYPE:\n return (\n (innerType = type.displayName || null),\n null !== innerType\n ? innerType\n : getComponentNameFromType(type.type) || \"Memo\"\n );\n case REACT_LAZY_TYPE:\n innerType = type._payload;\n type = type._init;\n try {\n return getComponentNameFromType(type(innerType));\n } catch (x) {}\n }\n return null;\n }\n function getTaskName(type) {\n if (type === REACT_FRAGMENT_TYPE) return \"<>\";\n if (\n \"object\" === typeof type &&\n null !== type &&\n type.$$typeof === REACT_LAZY_TYPE\n )\n return \"<...>\";\n try {\n var name = getComponentNameFromType(type);\n return name ? \"<\" + name + \">\" : \"<...>\";\n } catch (x) {\n return \"<...>\";\n }\n }\n function getOwner() {\n var dispatcher = ReactSharedInternals.A;\n return null === dispatcher ? null : dispatcher.getOwner();\n }\n function UnknownOwner() {\n return Error(\"react-stack-top-frame\");\n }\n function hasValidKey(config) {\n if (hasOwnProperty.call(config, \"key\")) {\n var getter = Object.getOwnPropertyDescriptor(config, \"key\").get;\n if (getter && getter.isReactWarning) return !1;\n }\n return void 0 !== config.key;\n }\n function defineKeyPropWarningGetter(props, displayName) {\n function warnAboutAccessingKey() {\n specialPropKeyWarningShown ||\n ((specialPropKeyWarningShown = !0),\n console.error(\n \"%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)\",\n displayName\n ));\n }\n warnAboutAccessingKey.isReactWarning = !0;\n Object.defineProperty(props, \"key\", {\n get: warnAboutAccessingKey,\n configurable: !0\n });\n }\n function elementRefGetterWithDeprecationWarning() {\n var componentName = getComponentNameFromType(this.type);\n didWarnAboutElementRef[componentName] ||\n ((didWarnAboutElementRef[componentName] = !0),\n console.error(\n \"Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.\"\n ));\n componentName = this.props.ref;\n return void 0 !== componentName ? componentName : null;\n }\n function ReactElement(type, key, props, owner, debugStack, debugTask) {\n var refProp = props.ref;\n type = {\n $$typeof: REACT_ELEMENT_TYPE,\n type: type,\n key: key,\n props: props,\n _owner: owner\n };\n null !== (void 0 !== refProp ? refProp : null)\n ? Object.defineProperty(type, \"ref\", {\n enumerable: !1,\n get: elementRefGetterWithDeprecationWarning\n })\n : Object.defineProperty(type, \"ref\", { enumerable: !1, value: null });\n type._store = {};\n Object.defineProperty(type._store, \"validated\", {\n configurable: !1,\n enumerable: !1,\n writable: !0,\n value: 0\n });\n Object.defineProperty(type, \"_debugInfo\", {\n configurable: !1,\n enumerable: !1,\n writable: !0,\n value: null\n });\n Object.defineProperty(type, \"_debugStack\", {\n configurable: !1,\n enumerable: !1,\n writable: !0,\n value: debugStack\n });\n Object.defineProperty(type, \"_debugTask\", {\n configurable: !1,\n enumerable: !1,\n writable: !0,\n value: debugTask\n });\n Object.freeze && (Object.freeze(type.props), Object.freeze(type));\n return type;\n }\n function cloneAndReplaceKey(oldElement, newKey) {\n newKey = ReactElement(\n oldElement.type,\n newKey,\n oldElement.props,\n oldElement._owner,\n oldElement._debugStack,\n oldElement._debugTask\n );\n oldElement._store &&\n (newKey._store.validated = oldElement._store.validated);\n return newKey;\n }\n function validateChildKeys(node) {\n isValidElement(node)\n ? node._store && (node._store.validated = 1)\n : \"object\" === typeof node &&\n null !== node &&\n node.$$typeof === REACT_LAZY_TYPE &&\n (\"fulfilled\" === node._payload.status\n ? isValidElement(node._payload.value) &&\n node._payload.value._store &&\n (node._payload.value._store.validated = 1)\n : node._store && (node._store.validated = 1));\n }\n function isValidElement(object) {\n return (\n \"object\" === typeof object &&\n null !== object &&\n object.$$typeof === REACT_ELEMENT_TYPE\n );\n }\n function escape(key) {\n var escaperLookup = { \"=\": \"=0\", \":\": \"=2\" };\n return (\n \"$\" +\n key.replace(/[=:]/g, function (match) {\n return escaperLookup[match];\n })\n );\n }\n function getElementKey(element, index) {\n return \"object\" === typeof element &&\n null !== element &&\n null != element.key\n ? (checkKeyStringCoercion(element.key), escape(\"\" + element.key))\n : index.toString(36);\n }\n function resolveThenable(thenable) {\n switch (thenable.status) {\n case \"fulfilled\":\n return thenable.value;\n case \"rejected\":\n throw thenable.reason;\n default:\n switch (\n (\"string\" === typeof thenable.status\n ? thenable.then(noop, noop)\n : ((thenable.status = \"pending\"),\n thenable.then(\n function (fulfilledValue) {\n \"pending\" === thenable.status &&\n ((thenable.status = \"fulfilled\"),\n (thenable.value = fulfilledValue));\n },\n function (error) {\n \"pending\" === thenable.status &&\n ((thenable.status = \"rejected\"),\n (thenable.reason = error));\n }\n )),\n thenable.status)\n ) {\n case \"fulfilled\":\n return thenable.value;\n case \"rejected\":\n throw thenable.reason;\n }\n }\n throw thenable;\n }\n function mapIntoArray(children, array, escapedPrefix, nameSoFar, callback) {\n var type = typeof children;\n if (\"undefined\" === type || \"boolean\" === type) children = null;\n var invokeCallback = !1;\n if (null === children) invokeCallback = !0;\n else\n switch (type) {\n case \"bigint\":\n case \"string\":\n case \"number\":\n invokeCallback = !0;\n break;\n case \"object\":\n switch (children.$$typeof) {\n case REACT_ELEMENT_TYPE:\n case REACT_PORTAL_TYPE:\n invokeCallback = !0;\n break;\n case REACT_LAZY_TYPE:\n return (\n (invokeCallback = children._init),\n mapIntoArray(\n invokeCallback(children._payload),\n array,\n escapedPrefix,\n nameSoFar,\n callback\n )\n );\n }\n }\n if (invokeCallback) {\n invokeCallback = children;\n callback = callback(invokeCallback);\n var childKey =\n \"\" === nameSoFar ? \".\" + getElementKey(invokeCallback, 0) : nameSoFar;\n isArrayImpl(callback)\n ? ((escapedPrefix = \"\"),\n null != childKey &&\n (escapedPrefix =\n childKey.replace(userProvidedKeyEscapeRegex, \"$&/\") + \"/\"),\n mapIntoArray(callback, array, escapedPrefix, \"\", function (c) {\n return c;\n }))\n : null != callback &&\n (isValidElement(callback) &&\n (null != callback.key &&\n ((invokeCallback && invokeCallback.key === callback.key) ||\n checkKeyStringCoercion(callback.key)),\n (escapedPrefix = cloneAndReplaceKey(\n callback,\n escapedPrefix +\n (null == callback.key ||\n (invokeCallback && invokeCallback.key === callback.key)\n ? \"\"\n : (\"\" + callback.key).replace(\n userProvidedKeyEscapeRegex,\n \"$&/\"\n ) + \"/\") +\n childKey\n )),\n \"\" !== nameSoFar &&\n null != invokeCallback &&\n isValidElement(invokeCallback) &&\n null == invokeCallback.key &&\n invokeCallback._store &&\n !invokeCallback._store.validated &&\n (escapedPrefix._store.validated = 2),\n (callback = escapedPrefix)),\n array.push(callback));\n return 1;\n }\n invokeCallback = 0;\n childKey = \"\" === nameSoFar ? \".\" : nameSoFar + \":\";\n if (isArrayImpl(children))\n for (var i = 0; i < children.length; i++)\n (nameSoFar = children[i]),\n (type = childKey + getElementKey(nameSoFar, i)),\n (invokeCallback += mapIntoArray(\n nameSoFar,\n array,\n escapedPrefix,\n type,\n callback\n ));\n else if (((i = getIteratorFn(children)), \"function\" === typeof i))\n for (\n i === children.entries &&\n (didWarnAboutMaps ||\n console.warn(\n \"Using Maps as children is not supported. Use an array of keyed ReactElements instead.\"\n ),\n (didWarnAboutMaps = !0)),\n children = i.call(children),\n i = 0;\n !(nameSoFar = children.next()).done;\n\n )\n (nameSoFar = nameSoFar.value),\n (type = childKey + getElementKey(nameSoFar, i++)),\n (invokeCallback += mapIntoArray(\n nameSoFar,\n array,\n escapedPrefix,\n type,\n callback\n ));\n else if (\"object\" === type) {\n if (\"function\" === typeof children.then)\n return mapIntoArray(\n resolveThenable(children),\n array,\n escapedPrefix,\n nameSoFar,\n callback\n );\n array = String(children);\n throw Error(\n \"Objects are not valid as a React child (found: \" +\n (\"[object Object]\" === array\n ? \"object with keys {\" + Object.keys(children).join(\", \") + \"}\"\n : array) +\n \"). If you meant to render a collection of children, use an array instead.\"\n );\n }\n return invokeCallback;\n }\n function mapChildren(children, func, context) {\n if (null == children) return children;\n var result = [],\n count = 0;\n mapIntoArray(children, result, \"\", \"\", function (child) {\n return func.call(context, child, count++);\n });\n return result;\n }\n function lazyInitializer(payload) {\n if (-1 === payload._status) {\n var ioInfo = payload._ioInfo;\n null != ioInfo && (ioInfo.start = ioInfo.end = performance.now());\n ioInfo = payload._result;\n var thenable = ioInfo();\n thenable.then(\n function (moduleObject) {\n if (0 === payload._status || -1 === payload._status) {\n payload._status = 1;\n payload._result = moduleObject;\n var _ioInfo = payload._ioInfo;\n null != _ioInfo && (_ioInfo.end = performance.now());\n void 0 === thenable.status &&\n ((thenable.status = \"fulfilled\"),\n (thenable.value = moduleObject));\n }\n },\n function (error) {\n if (0 === payload._status || -1 === payload._status) {\n payload._status = 2;\n payload._result = error;\n var _ioInfo2 = payload._ioInfo;\n null != _ioInfo2 && (_ioInfo2.end = performance.now());\n void 0 === thenable.status &&\n ((thenable.status = \"rejected\"), (thenable.reason = error));\n }\n }\n );\n ioInfo = payload._ioInfo;\n if (null != ioInfo) {\n ioInfo.value = thenable;\n var displayName = thenable.displayName;\n \"string\" === typeof displayName && (ioInfo.name = displayName);\n }\n -1 === payload._status &&\n ((payload._status = 0), (payload._result = thenable));\n }\n if (1 === payload._status)\n return (\n (ioInfo = payload._result),\n void 0 === ioInfo &&\n console.error(\n \"lazy: Expected the result of a dynamic import() call. Instead received: %s\\n\\nYour code should look like: \\n const MyComponent = lazy(() => import('./MyComponent'))\\n\\nDid you accidentally put curly braces around the import?\",\n ioInfo\n ),\n \"default\" in ioInfo ||\n console.error(\n \"lazy: Expected the result of a dynamic import() call. Instead received: %s\\n\\nYour code should look like: \\n const MyComponent = lazy(() => import('./MyComponent'))\",\n ioInfo\n ),\n ioInfo.default\n );\n throw payload._result;\n }\n function resolveDispatcher() {\n var dispatcher = ReactSharedInternals.H;\n null === dispatcher &&\n console.error(\n \"Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:\\n1. You might have mismatching versions of React and the renderer (such as React DOM)\\n2. You might be breaking the Rules of Hooks\\n3. You might have more than one copy of React in the same app\\nSee https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.\"\n );\n return dispatcher;\n }\n function releaseAsyncTransition() {\n ReactSharedInternals.asyncTransitions--;\n }\n function enqueueTask(task) {\n if (null === enqueueTaskImpl)\n try {\n var requireString = (\"require\" + Math.random()).slice(0, 7);\n enqueueTaskImpl = (module && module[requireString]).call(\n module,\n \"timers\"\n ).setImmediate;\n } catch (_err) {\n enqueueTaskImpl = function (callback) {\n !1 === didWarnAboutMessageChannel &&\n ((didWarnAboutMessageChannel = !0),\n \"undefined\" === typeof MessageChannel &&\n console.error(\n \"This browser does not have a MessageChannel implementation, so enqueuing tasks via await act(async () => ...) will fail. Please file an issue at https://github.com/facebook/react/issues if you encounter this warning.\"\n ));\n var channel = new MessageChannel();\n channel.port1.onmessage = callback;\n channel.port2.postMessage(void 0);\n };\n }\n return enqueueTaskImpl(task);\n }\n function aggregateErrors(errors) {\n return 1 < errors.length && \"function\" === typeof AggregateError\n ? new AggregateError(errors)\n : errors[0];\n }\n function popActScope(prevActQueue, prevActScopeDepth) {\n prevActScopeDepth !== actScopeDepth - 1 &&\n console.error(\n \"You seem to have overlapping act() calls, this is not supported. Be sure to await previous act() calls before making a new one. \"\n );\n actScopeDepth = prevActScopeDepth;\n }\n function recursivelyFlushAsyncActWork(returnValue, resolve, reject) {\n var queue = ReactSharedInternals.actQueue;\n if (null !== queue)\n if (0 !== queue.length)\n try {\n flushActQueue(queue);\n enqueueTask(function () {\n return recursivelyFlushAsyncActWork(returnValue, resolve, reject);\n });\n return;\n } catch (error) {\n ReactSharedInternals.thrownErrors.push(error);\n }\n else ReactSharedInternals.actQueue = null;\n 0 < ReactSharedInternals.thrownErrors.length\n ? ((queue = aggregateErrors(ReactSharedInternals.thrownErrors)),\n (ReactSharedInternals.thrownErrors.length = 0),\n reject(queue))\n : resolve(returnValue);\n }\n function flushActQueue(queue) {\n if (!isFlushing) {\n isFlushing = !0;\n var i = 0;\n try {\n for (; i < queue.length; i++) {\n var callback = queue[i];\n do {\n ReactSharedInternals.didUsePromise = !1;\n var continuation = callback(!1);\n if (null !== continuation) {\n if (ReactSharedInternals.didUsePromise) {\n queue[i] = callback;\n queue.splice(0, i);\n return;\n }\n callback = continuation;\n } else break;\n } while (1);\n }\n queue.length = 0;\n } catch (error) {\n queue.splice(0, i + 1), ReactSharedInternals.thrownErrors.push(error);\n } finally {\n isFlushing = !1;\n }\n }\n }\n \"undefined\" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&\n \"function\" ===\n typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart &&\n __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());\n var REACT_ELEMENT_TYPE = Symbol.for(\"react.transitional.element\"),\n REACT_PORTAL_TYPE = Symbol.for(\"react.portal\"),\n REACT_FRAGMENT_TYPE = Symbol.for(\"react.fragment\"),\n REACT_STRICT_MODE_TYPE = Symbol.for(\"react.strict_mode\"),\n REACT_PROFILER_TYPE = Symbol.for(\"react.profiler\"),\n REACT_CONSUMER_TYPE = Symbol.for(\"react.consumer\"),\n REACT_CONTEXT_TYPE = Symbol.for(\"react.context\"),\n REACT_FORWARD_REF_TYPE = Symbol.for(\"react.forward_ref\"),\n REACT_SUSPENSE_TYPE = Symbol.for(\"react.suspense\"),\n REACT_SUSPENSE_LIST_TYPE = Symbol.for(\"react.suspense_list\"),\n REACT_MEMO_TYPE = Symbol.for(\"react.memo\"),\n REACT_LAZY_TYPE = Symbol.for(\"react.lazy\"),\n REACT_ACTIVITY_TYPE = Symbol.for(\"react.activity\"),\n MAYBE_ITERATOR_SYMBOL = Symbol.iterator,\n didWarnStateUpdateForUnmountedComponent = {},\n ReactNoopUpdateQueue = {\n isMounted: function () {\n return !1;\n },\n enqueueForceUpdate: function (publicInstance) {\n warnNoop(publicInstance, \"forceUpdate\");\n },\n enqueueReplaceState: function (publicInstance) {\n warnNoop(publicInstance, \"replaceState\");\n },\n enqueueSetState: function (publicInstance) {\n warnNoop(publicInstance, \"setState\");\n }\n },\n assign = Object.assign,\n emptyObject = {};\n Object.freeze(emptyObject);\n Component.prototype.isReactComponent = {};\n Component.prototype.setState = function (partialState, callback) {\n if (\n \"object\" !== typeof partialState &&\n \"function\" !== typeof partialState &&\n null != partialState\n )\n throw Error(\n \"takes an object of state variables to update or a function which returns an object of state variables.\"\n );\n this.updater.enqueueSetState(this, partialState, callback, \"setState\");\n };\n Component.prototype.forceUpdate = function (callback) {\n this.updater.enqueueForceUpdate(this, callback, \"forceUpdate\");\n };\n var deprecatedAPIs = {\n isMounted: [\n \"isMounted\",\n \"Instead, make sure to clean up subscriptions and pending requests in componentWillUnmount to prevent memory leaks.\"\n ],\n replaceState: [\n \"replaceState\",\n \"Refactor your code to use setState instead (see https://github.com/facebook/react/issues/3236).\"\n ]\n };\n for (fnName in deprecatedAPIs)\n deprecatedAPIs.hasOwnProperty(fnName) &&\n defineDeprecationWarning(fnName, deprecatedAPIs[fnName]);\n ComponentDummy.prototype = Component.prototype;\n deprecatedAPIs = PureComponent.prototype = new ComponentDummy();\n deprecatedAPIs.constructor = PureComponent;\n assign(deprecatedAPIs, Component.prototype);\n deprecatedAPIs.isPureReactComponent = !0;\n var isArrayImpl = Array.isArray,\n REACT_CLIENT_REFERENCE = Symbol.for(\"react.client.reference\"),\n ReactSharedInternals = {\n H: null,\n A: null,\n T: null,\n S: null,\n actQueue: null,\n asyncTransitions: 0,\n isBatchingLegacy: !1,\n didScheduleLegacyUpdate: !1,\n didUsePromise: !1,\n thrownErrors: [],\n getCurrentStack: null,\n recentlyCreatedOwnerStacks: 0\n },\n hasOwnProperty = Object.prototype.hasOwnProperty,\n createTask = console.createTask\n ? console.createTask\n : function () {\n return null;\n };\n deprecatedAPIs = {\n react_stack_bottom_frame: function (callStackForError) {\n return callStackForError();\n }\n };\n var specialPropKeyWarningShown, didWarnAboutOldJSXRuntime;\n var didWarnAboutElementRef = {};\n var unknownOwnerDebugStack = deprecatedAPIs.react_stack_bottom_frame.bind(\n deprecatedAPIs,\n UnknownOwner\n )();\n var unknownOwnerDebugTask = createTask(getTaskName(UnknownOwner));\n var didWarnAboutMaps = !1,\n userProvidedKeyEscapeRegex = /\\/+/g,\n reportGlobalError =\n \"function\" === typeof reportError\n ? reportError\n : function (error) {\n if (\n \"object\" === typeof window &&\n \"function\" === typeof window.ErrorEvent\n ) {\n var event = new window.ErrorEvent(\"error\", {\n bubbles: !0,\n cancelable: !0,\n message:\n \"object\" === typeof error &&\n null !== error &&\n \"string\" === typeof error.message\n ? String(error.message)\n : String(error),\n error: error\n });\n if (!window.dispatchEvent(event)) return;\n } else if (\n \"object\" === typeof process &&\n \"function\" === typeof process.emit\n ) {\n process.emit(\"uncaughtException\", error);\n return;\n }\n console.error(error);\n },\n didWarnAboutMessageChannel = !1,\n enqueueTaskImpl = null,\n actScopeDepth = 0,\n didWarnNoAwaitAct = !1,\n isFlushing = !1,\n queueSeveralMicrotasks =\n \"function\" === typeof queueMicrotask\n ? function (callback) {\n queueMicrotask(function () {\n return queueMicrotask(callback);\n });\n }\n : enqueueTask;\n deprecatedAPIs = Object.freeze({\n __proto__: null,\n c: function (size) {\n return resolveDispatcher().useMemoCache(size);\n }\n });\n var fnName = {\n map: mapChildren,\n forEach: function (children, forEachFunc, forEachContext) {\n mapChildren(\n children,\n function () {\n forEachFunc.apply(this, arguments);\n },\n forEachContext\n );\n },\n count: function (children) {\n var n = 0;\n mapChildren(children, function () {\n n++;\n });\n return n;\n },\n toArray: function (children) {\n return (\n mapChildren(children, function (child) {\n return child;\n }) || []\n );\n },\n only: function (children) {\n if (!isValidElement(children))\n throw Error(\n \"React.Children.only expected to receive a single React element child.\"\n );\n return children;\n }\n };\n exports.Activity = REACT_ACTIVITY_TYPE;\n exports.Children = fnName;\n exports.Component = Component;\n exports.Fragment = REACT_FRAGMENT_TYPE;\n exports.Profiler = REACT_PROFILER_TYPE;\n exports.PureComponent = PureComponent;\n exports.StrictMode = REACT_STRICT_MODE_TYPE;\n exports.Suspense = REACT_SUSPENSE_TYPE;\n exports.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE =\n ReactSharedInternals;\n exports.__COMPILER_RUNTIME = deprecatedAPIs;\n exports.act = function (callback) {\n var prevActQueue = ReactSharedInternals.actQueue,\n prevActScopeDepth = actScopeDepth;\n actScopeDepth++;\n var queue = (ReactSharedInternals.actQueue =\n null !== prevActQueue ? prevActQueue : []),\n didAwaitActCall = !1;\n try {\n var result = callback();\n } catch (error) {\n ReactSharedInternals.thrownErrors.push(error);\n }\n if (0 < ReactSharedInternals.thrownErrors.length)\n throw (\n (popActScope(prevActQueue, prevActScopeDepth),\n (callback = aggregateErrors(ReactSharedInternals.thrownErrors)),\n (ReactSharedInternals.thrownErrors.length = 0),\n callback)\n );\n if (\n null !== result &&\n \"object\" === typeof result &&\n \"function\" === typeof result.then\n ) {\n var thenable = result;\n queueSeveralMicrotasks(function () {\n didAwaitActCall ||\n didWarnNoAwaitAct ||\n ((didWarnNoAwaitAct = !0),\n console.error(\n \"You called act(async () => ...) without await. This could lead to unexpected testing behaviour, interleaving multiple act calls and mixing their scopes. You should - await act(async () => ...);\"\n ));\n });\n return {\n then: function (resolve, reject) {\n didAwaitActCall = !0;\n thenable.then(\n function (returnValue) {\n popActScope(prevActQueue, prevActScopeDepth);\n if (0 === prevActScopeDepth) {\n try {\n flushActQueue(queue),\n enqueueTask(function () {\n return recursivelyFlushAsyncActWork(\n returnValue,\n resolve,\n reject\n );\n });\n } catch (error$0) {\n ReactSharedInternals.thrownErrors.push(error$0);\n }\n if (0 < ReactSharedInternals.thrownErrors.length) {\n var _thrownError = aggregateErrors(\n ReactSharedInternals.thrownErrors\n );\n ReactSharedInternals.thrownErrors.length = 0;\n reject(_thrownError);\n }\n } else resolve(returnValue);\n },\n function (error) {\n popActScope(prevActQueue, prevActScopeDepth);\n 0 < ReactSharedInternals.thrownErrors.length\n ? ((error = aggregateErrors(\n ReactSharedInternals.thrownErrors\n )),\n (ReactSharedInternals.thrownErrors.length = 0),\n reject(error))\n : reject(error);\n }\n );\n }\n };\n }\n var returnValue$jscomp$0 = result;\n popActScope(prevActQueue, prevActScopeDepth);\n 0 === prevActScopeDepth &&\n (flushActQueue(queue),\n 0 !== queue.length &&\n queueSeveralMicrotasks(function () {\n didAwaitActCall ||\n didWarnNoAwaitAct ||\n ((didWarnNoAwaitAct = !0),\n console.error(\n \"A component suspended inside an `act` scope, but the `act` call was not awaited. When testing React components that depend on asynchronous data, you must await the result:\\n\\nawait act(() => ...)\"\n ));\n }),\n (ReactSharedInternals.actQueue = null));\n if (0 < ReactSharedInternals.thrownErrors.length)\n throw (\n ((callback = aggregateErrors(ReactSharedInternals.thrownErrors)),\n (ReactSharedInternals.thrownErrors.length = 0),\n callback)\n );\n return {\n then: function (resolve, reject) {\n didAwaitActCall = !0;\n 0 === prevActScopeDepth\n ? ((ReactSharedInternals.actQueue = queue),\n enqueueTask(function () {\n return recursivelyFlushAsyncActWork(\n returnValue$jscomp$0,\n resolve,\n reject\n );\n }))\n : resolve(returnValue$jscomp$0);\n }\n };\n };\n exports.cache = function (fn) {\n return function () {\n return fn.apply(null, arguments);\n };\n };\n exports.cacheSignal = function () {\n return null;\n };\n exports.captureOwnerStack = function () {\n var getCurrentStack = ReactSharedInternals.getCurrentStack;\n return null === getCurrentStack ? null : getCurrentStack();\n };\n exports.cloneElement = function (element, config, children) {\n if (null === element || void 0 === element)\n throw Error(\n \"The argument must be a React element, but you passed \" +\n element +\n \".\"\n );\n var props = assign({}, element.props),\n key = element.key,\n owner = element._owner;\n if (null != config) {\n var JSCompiler_inline_result;\n a: {\n if (\n hasOwnProperty.call(config, \"ref\") &&\n (JSCompiler_inline_result = Object.getOwnPropertyDescriptor(\n config,\n \"ref\"\n ).get) &&\n JSCompiler_inline_result.isReactWarning\n ) {\n JSCompiler_inline_result = !1;\n break a;\n }\n JSCompiler_inline_result = void 0 !== config.ref;\n }\n JSCompiler_inline_result && (owner = getOwner());\n hasValidKey(config) &&\n (checkKeyStringCoercion(config.key), (key = \"\" + config.key));\n for (propName in config)\n !hasOwnProperty.call(config, propName) ||\n \"key\" === propName ||\n \"__self\" === propName ||\n \"__source\" === propName ||\n (\"ref\" === propName && void 0 === config.ref) ||\n (props[propName] = config[propName]);\n }\n var propName = arguments.length - 2;\n if (1 === propName) props.children = children;\n else if (1 < propName) {\n JSCompiler_inline_result = Array(propName);\n for (var i = 0; i < propName; i++)\n JSCompiler_inline_result[i] = arguments[i + 2];\n props.children = JSCompiler_inline_result;\n }\n props = ReactElement(\n element.type,\n key,\n props,\n owner,\n element._debugStack,\n element._debugTask\n );\n for (key = 2; key < arguments.length; key++)\n validateChildKeys(arguments[key]);\n return props;\n };\n exports.createContext = function (defaultValue) {\n defaultValue = {\n $$typeof: REACT_CONTEXT_TYPE,\n _currentValue: defaultValue,\n _currentValue2: defaultValue,\n _threadCount: 0,\n Provider: null,\n Consumer: null\n };\n defaultValue.Provider = defaultValue;\n defaultValue.Consumer = {\n $$typeof: REACT_CONSUMER_TYPE,\n _context: defaultValue\n };\n defaultValue._currentRenderer = null;\n defaultValue._currentRenderer2 = null;\n return defaultValue;\n };\n exports.createElement = function (type, config, children) {\n for (var i = 2; i < arguments.length; i++)\n validateChildKeys(arguments[i]);\n i = {};\n var key = null;\n if (null != config)\n for (propName in (didWarnAboutOldJSXRuntime ||\n !(\"__self\" in config) ||\n \"key\" in config ||\n ((didWarnAboutOldJSXRuntime = !0),\n console.warn(\n \"Your app (or one of its dependencies) is using an outdated JSX transform. Update to the modern JSX transform for faster performance: https://react.dev/link/new-jsx-transform\"\n )),\n hasValidKey(config) &&\n (checkKeyStringCoercion(config.key), (key = \"\" + config.key)),\n config))\n hasOwnProperty.call(config, propName) &&\n \"key\" !== propName &&\n \"__self\" !== propName &&\n \"__source\" !== propName &&\n (i[propName] = config[propName]);\n var childrenLength = arguments.length - 2;\n if (1 === childrenLength) i.children = children;\n else if (1 < childrenLength) {\n for (\n var childArray = Array(childrenLength), _i = 0;\n _i < childrenLength;\n _i++\n )\n childArray[_i] = arguments[_i + 2];\n Object.freeze && Object.freeze(childArray);\n i.children = childArray;\n }\n if (type && type.defaultProps)\n for (propName in ((childrenLength = type.defaultProps), childrenLength))\n void 0 === i[propName] && (i[propName] = childrenLength[propName]);\n key &&\n defineKeyPropWarningGetter(\n i,\n \"function\" === typeof type\n ? type.displayName || type.name || \"Unknown\"\n : type\n );\n var propName = 1e4 > ReactSharedInternals.recentlyCreatedOwnerStacks++;\n return ReactElement(\n type,\n key,\n i,\n getOwner(),\n propName ? Error(\"react-stack-top-frame\") : unknownOwnerDebugStack,\n propName ? createTask(getTaskName(type)) : unknownOwnerDebugTask\n );\n };\n exports.createRef = function () {\n var refObject = { current: null };\n Object.seal(refObject);\n return refObject;\n };\n exports.forwardRef = function (render) {\n null != render && render.$$typeof === REACT_MEMO_TYPE\n ? console.error(\n \"forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...)).\"\n )\n : \"function\" !== typeof render\n ? console.error(\n \"forwardRef requires a render function but was given %s.\",\n null === render ? \"null\" : typeof render\n )\n : 0 !== render.length &&\n 2 !== render.length &&\n console.error(\n \"forwardRef render functions accept exactly two parameters: props and ref. %s\",\n 1 === render.length\n ? \"Did you forget to use the ref parameter?\"\n : \"Any additional parameter will be undefined.\"\n );\n null != render &&\n null != render.defaultProps &&\n console.error(\n \"forwardRef render functions do not support defaultProps. Did you accidentally pass a React component?\"\n );\n var elementType = { $$typeof: REACT_FORWARD_REF_TYPE, render: render },\n ownName;\n Object.defineProperty(elementType, \"displayName\", {\n enumerable: !1,\n configurable: !0,\n get: function () {\n return ownName;\n },\n set: function (name) {\n ownName = name;\n render.name ||\n render.displayName ||\n (Object.defineProperty(render, \"name\", { value: name }),\n (render.displayName = name));\n }\n });\n return elementType;\n };\n exports.isValidElement = isValidElement;\n exports.lazy = function (ctor) {\n ctor = { _status: -1, _result: ctor };\n var lazyType = {\n $$typeof: REACT_LAZY_TYPE,\n _payload: ctor,\n _init: lazyInitializer\n },\n ioInfo = {\n name: \"lazy\",\n start: -1,\n end: -1,\n value: null,\n owner: null,\n debugStack: Error(\"react-stack-top-frame\"),\n debugTask: console.createTask ? console.createTask(\"lazy()\") : null\n };\n ctor._ioInfo = ioInfo;\n lazyType._debugInfo = [{ awaited: ioInfo }];\n return lazyType;\n };\n exports.memo = function (type, compare) {\n null == type &&\n console.error(\n \"memo: The first argument must be a component. Instead received: %s\",\n null === type ? \"null\" : typeof type\n );\n compare = {\n $$typeof: REACT_MEMO_TYPE,\n type: type,\n compare: void 0 === compare ? null : compare\n };\n var ownName;\n Object.defineProperty(compare, \"displayName\", {\n enumerable: !1,\n configurable: !0,\n get: function () {\n return ownName;\n },\n set: function (name) {\n ownName = name;\n type.name ||\n type.displayName ||\n (Object.defineProperty(type, \"name\", { value: name }),\n (type.displayName = name));\n }\n });\n return compare;\n };\n exports.startTransition = function (scope) {\n var prevTransition = ReactSharedInternals.T,\n currentTransition = {};\n currentTransition._updatedFibers = new Set();\n ReactSharedInternals.T = currentTransition;\n try {\n var returnValue = scope(),\n onStartTransitionFinish = ReactSharedInternals.S;\n null !== onStartTransitionFinish &&\n onStartTransitionFinish(currentTransition, returnValue);\n \"object\" === typeof returnValue &&\n null !== returnValue &&\n \"function\" === typeof returnValue.then &&\n (ReactSharedInternals.asyncTransitions++,\n returnValue.then(releaseAsyncTransition, releaseAsyncTransition),\n returnValue.then(noop, reportGlobalError));\n } catch (error) {\n reportGlobalError(error);\n } finally {\n null === prevTransition &&\n currentTransition._updatedFibers &&\n ((scope = currentTransition._updatedFibers.size),\n currentTransition._updatedFibers.clear(),\n 10 < scope &&\n console.warn(\n \"Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table.\"\n )),\n null !== prevTransition &&\n null !== currentTransition.types &&\n (null !== prevTransition.types &&\n prevTransition.types !== currentTransition.types &&\n console.error(\n \"We expected inner Transitions to have transferred the outer types set and that you cannot add to the outer Transition while inside the inner.This is a bug in React.\"\n ),\n (prevTransition.types = currentTransition.types)),\n (ReactSharedInternals.T = prevTransition);\n }\n };\n exports.unstable_useCacheRefresh = function () {\n return resolveDispatcher().useCacheRefresh();\n };\n exports.use = function (usable) {\n return resolveDispatcher().use(usable);\n };\n exports.useActionState = function (action, initialState, permalink) {\n return resolveDispatcher().useActionState(\n action,\n initialState,\n permalink\n );\n };\n exports.useCallback = function (callback, deps) {\n return resolveDispatcher().useCallback(callback, deps);\n };\n exports.useContext = function (Context) {\n var dispatcher = resolveDispatcher();\n Context.$$typeof === REACT_CONSUMER_TYPE &&\n console.error(\n \"Calling useContext(Context.Consumer) is not supported and will cause bugs. Did you mean to call useContext(Context) instead?\"\n );\n return dispatcher.useContext(Context);\n };\n exports.useDebugValue = function (value, formatterFn) {\n return resolveDispatcher().useDebugValue(value, formatterFn);\n };\n exports.useDeferredValue = function (value, initialValue) {\n return resolveDispatcher().useDeferredValue(value, initialValue);\n };\n exports.useEffect = function (create, deps) {\n null == create &&\n console.warn(\n \"React Hook useEffect requires an effect callback. Did you forget to pass a callback to the hook?\"\n );\n return resolveDispatcher().useEffect(create, deps);\n };\n exports.useEffectEvent = function (callback) {\n return resolveDispatcher().useEffectEvent(callback);\n };\n exports.useId = function () {\n return resolveDispatcher().useId();\n };\n exports.useImperativeHandle = function (ref, create, deps) {\n return resolveDispatcher().useImperativeHandle(ref, create, deps);\n };\n exports.useInsertionEffect = function (create, deps) {\n null == create &&\n console.warn(\n \"React Hook useInsertionEffect requires an effect callback. Did you forget to pass a callback to the hook?\"\n );\n return resolveDispatcher().useInsertionEffect(create, deps);\n };\n exports.useLayoutEffect = function (create, deps) {\n null == create &&\n console.warn(\n \"React Hook useLayoutEffect requires an effect callback. Did you forget to pass a callback to the hook?\"\n );\n return resolveDispatcher().useLayoutEffect(create, deps);\n };\n exports.useMemo = function (create, deps) {\n return resolveDispatcher().useMemo(create, deps);\n };\n exports.useOptimistic = function (passthrough, reducer) {\n return resolveDispatcher().useOptimistic(passthrough, reducer);\n };\n exports.useReducer = function (reducer, initialArg, init) {\n return resolveDispatcher().useReducer(reducer, initialArg, init);\n };\n exports.useRef = function (initialValue) {\n return resolveDispatcher().useRef(initialValue);\n };\n exports.useState = function (initialState) {\n return resolveDispatcher().useState(initialState);\n };\n exports.useSyncExternalStore = function (\n subscribe,\n getSnapshot,\n getServerSnapshot\n ) {\n return resolveDispatcher().useSyncExternalStore(\n subscribe,\n getSnapshot,\n getServerSnapshot\n );\n };\n exports.useTransition = function () {\n return resolveDispatcher().useTransition();\n };\n exports.version = \"19.2.3\";\n \"undefined\" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&\n \"function\" ===\n typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&\n __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error());\n })();\n", "'use strict';\n\nif (process.env.NODE_ENV === 'production') {\n module.exports = require('./cjs/react.production.js');\n} else {\n module.exports = require('./cjs/react.development.js');\n}\n"],
5
- "mappings": ";;;;;AAAA;AAAA;AAAA;AAWA,KACG,WAAY;AACX,eAAS,yBAAyB,YAAY,MAAM;AAClD,eAAO,eAAe,UAAU,WAAW,YAAY;AAAA,UACrD,KAAK,WAAY;AACf,oBAAQ;AAAA,cACN;AAAA,cACA,KAAK,CAAC;AAAA,cACN,KAAK,CAAC;AAAA,YACR;AAAA,UACF;AAAA,QACF,CAAC;AAAA,MACH;AACA,eAAS,cAAc,eAAe;AACpC,YAAI,SAAS,iBAAiB,aAAa,OAAO;AAChD,iBAAO;AACT,wBACG,yBAAyB,cAAc,qBAAqB,KAC7D,cAAc,YAAY;AAC5B,eAAO,eAAe,OAAO,gBAAgB,gBAAgB;AAAA,MAC/D;AACA,eAAS,SAAS,gBAAgB,YAAY;AAC5C,0BACI,iBAAiB,eAAe,iBAC/B,eAAe,eAAe,eAAe,SAChD;AACF,YAAI,aAAa,iBAAiB,MAAM;AACxC,gDAAwC,UAAU,MAC/C,QAAQ;AAAA,UACP;AAAA,UACA;AAAA,UACA;AAAA,QACF,GACC,wCAAwC,UAAU,IAAI;AAAA,MAC3D;AACA,eAAS,UAAU,OAAO,SAAS,SAAS;AAC1C,aAAK,QAAQ;AACb,aAAK,UAAU;AACf,aAAK,OAAO;AACZ,aAAK,UAAU,WAAW;AAAA,MAC5B;AACA,eAAS,iBAAiB;AAAA,MAAC;AAC3B,eAAS,cAAc,O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AAgB,QAAQ,IAAI;AAAA,MACzD;AACA,cAAQ,UAAU,SAAU,QAAQ,MAAM;AACxC,eAAO,kBAAkB,EAAE,QAAQ,QAAQ,IAAI;AAAA,MACjD;AACA,cAAQ,gBAAgB,SAAU,aAAa,SAAS;AACtD,eAAO,kBAAkB,EAAE,cAAc,aAAa,OAAO;AAAA,MAC/D;AACA,cAAQ,aAAa,SAAU,SAAS,YAAY,MAAM;AACxD,eAAO,kBAAkB,EAAE,WAAW,SAAS,YAAY,IAAI;AAAA,MACjE;AACA,cAAQ,SAAS,SAAU,cAAc;AACvC,eAAO,kBAAkB,EAAE,OAAO,YAAY;AAAA,MAChD;AACA,cAAQ,WAAW,SAAU,cAAc;AACzC,eAAO,kBAAkB,EAAE,SAAS,YAAY;AAAA,MAClD;AACA,cAAQ,uBAAuB,SAC7B,WACA,aACA,mBACA;AACA,eAAO,kBAAkB,EAAE;AAAA,UACzB;AAAA,UACA;AAAA,UACA;AAAA,QACF;AAAA,MACF;AACA,cAAQ,gBAAgB,WAAY;AAClC,eAAO,kBAAkB,EAAE,cAAc;AAAA,MAC3C;AACA,cAAQ,UAAU;AAClB,sBAAgB,OAAO,kCACrB,eACE,OAAO,+BAA+B,8BACxC,+BAA+B,2BAA2B,MAAM,CAAC;AAAA,IACrE,GAAG;AAAA;AAAA;;;ACnwCL;AAAA;AAEA,QAAI,OAAuC;AACzC,aAAO,UAAU;AAAA,IACnB,OAAO;AACL,aAAO,UAAU;AAAA,IACnB;AAAA;AAAA;",
6
- "names": []
7
- }
@@ -1,352 +0,0 @@
1
- import "./chunk-BUSYA2B4.js";
2
-
3
- // ../../node_modules/comlink/dist/esm/comlink.mjs
4
- var proxyMarker = Symbol("Comlink.proxy");
5
- var createEndpoint = Symbol("Comlink.endpoint");
6
- var releaseProxy = Symbol("Comlink.releaseProxy");
7
- var finalizer = Symbol("Comlink.finalizer");
8
- var throwMarker = Symbol("Comlink.thrown");
9
- var isObject = (val) => typeof val === "object" && val !== null || typeof val === "function";
10
- var proxyTransferHandler = {
11
- canHandle: (val) => isObject(val) && val[proxyMarker],
12
- serialize(obj) {
13
- const { port1, port2 } = new MessageChannel();
14
- expose(obj, port1);
15
- return [port2, [port2]];
16
- },
17
- deserialize(port) {
18
- port.start();
19
- return wrap(port);
20
- }
21
- };
22
- var throwTransferHandler = {
23
- canHandle: (value) => isObject(value) && throwMarker in value,
24
- serialize({ value }) {
25
- let serialized;
26
- if (value instanceof Error) {
27
- serialized = {
28
- isError: true,
29
- value: {
30
- message: value.message,
31
- name: value.name,
32
- stack: value.stack
33
- }
34
- };
35
- } else {
36
- serialized = { isError: false, value };
37
- }
38
- return [serialized, []];
39
- },
40
- deserialize(serialized) {
41
- if (serialized.isError) {
42
- throw Object.assign(new Error(serialized.value.message), serialized.value);
43
- }
44
- throw serialized.value;
45
- }
46
- };
47
- var transferHandlers = /* @__PURE__ */ new Map([
48
- ["proxy", proxyTransferHandler],
49
- ["throw", throwTransferHandler]
50
- ]);
51
- function isAllowedOrigin(allowedOrigins, origin) {
52
- for (const allowedOrigin of allowedOrigins) {
53
- if (origin === allowedOrigin || allowedOrigin === "*") {
54
- return true;
55
- }
56
- if (allowedOrigin instanceof RegExp && allowedOrigin.test(origin)) {
57
- return true;
58
- }
59
- }
60
- return false;
61
- }
62
- function expose(obj, ep = globalThis, allowedOrigins = ["*"]) {
63
- ep.addEventListener("message", function callback(ev) {
64
- if (!ev || !ev.data) {
65
- return;
66
- }
67
- if (!isAllowedOrigin(allowedOrigins, ev.origin)) {
68
- console.warn(`Invalid origin '${ev.origin}' for comlink proxy`);
69
- return;
70
- }
71
- const { id, type, path } = Object.assign({ path: [] }, ev.data);
72
- const argumentList = (ev.data.argumentList || []).map(fromWireValue);
73
- let returnValue;
74
- try {
75
- const parent = path.slice(0, -1).reduce((obj2, prop) => obj2[prop], obj);
76
- const rawValue = path.reduce((obj2, prop) => obj2[prop], obj);
77
- switch (type) {
78
- case "GET":
79
- {
80
- returnValue = rawValue;
81
- }
82
- break;
83
- case "SET":
84
- {
85
- parent[path.slice(-1)[0]] = fromWireValue(ev.data.value);
86
- returnValue = true;
87
- }
88
- break;
89
- case "APPLY":
90
- {
91
- returnValue = rawValue.apply(parent, argumentList);
92
- }
93
- break;
94
- case "CONSTRUCT":
95
- {
96
- const value = new rawValue(...argumentList);
97
- returnValue = proxy(value);
98
- }
99
- break;
100
- case "ENDPOINT":
101
- {
102
- const { port1, port2 } = new MessageChannel();
103
- expose(obj, port2);
104
- returnValue = transfer(port1, [port1]);
105
- }
106
- break;
107
- case "RELEASE":
108
- {
109
- returnValue = void 0;
110
- }
111
- break;
112
- default:
113
- return;
114
- }
115
- } catch (value) {
116
- returnValue = { value, [throwMarker]: 0 };
117
- }
118
- Promise.resolve(returnValue).catch((value) => {
119
- return { value, [throwMarker]: 0 };
120
- }).then((returnValue2) => {
121
- const [wireValue, transferables] = toWireValue(returnValue2);
122
- ep.postMessage(Object.assign(Object.assign({}, wireValue), { id }), transferables);
123
- if (type === "RELEASE") {
124
- ep.removeEventListener("message", callback);
125
- closeEndPoint(ep);
126
- if (finalizer in obj && typeof obj[finalizer] === "function") {
127
- obj[finalizer]();
128
- }
129
- }
130
- }).catch((error) => {
131
- const [wireValue, transferables] = toWireValue({
132
- value: new TypeError("Unserializable return value"),
133
- [throwMarker]: 0
134
- });
135
- ep.postMessage(Object.assign(Object.assign({}, wireValue), { id }), transferables);
136
- });
137
- });
138
- if (ep.start) {
139
- ep.start();
140
- }
141
- }
142
- function isMessagePort(endpoint) {
143
- return endpoint.constructor.name === "MessagePort";
144
- }
145
- function closeEndPoint(endpoint) {
146
- if (isMessagePort(endpoint))
147
- endpoint.close();
148
- }
149
- function wrap(ep, target) {
150
- const pendingListeners = /* @__PURE__ */ new Map();
151
- ep.addEventListener("message", function handleMessage(ev) {
152
- const { data } = ev;
153
- if (!data || !data.id) {
154
- return;
155
- }
156
- const resolver = pendingListeners.get(data.id);
157
- if (!resolver) {
158
- return;
159
- }
160
- try {
161
- resolver(data);
162
- } finally {
163
- pendingListeners.delete(data.id);
164
- }
165
- });
166
- return createProxy(ep, pendingListeners, [], target);
167
- }
168
- function throwIfProxyReleased(isReleased) {
169
- if (isReleased) {
170
- throw new Error("Proxy has been released and is not useable");
171
- }
172
- }
173
- function releaseEndpoint(ep) {
174
- return requestResponseMessage(ep, /* @__PURE__ */ new Map(), {
175
- type: "RELEASE"
176
- }).then(() => {
177
- closeEndPoint(ep);
178
- });
179
- }
180
- var proxyCounter = /* @__PURE__ */ new WeakMap();
181
- var proxyFinalizers = "FinalizationRegistry" in globalThis && new FinalizationRegistry((ep) => {
182
- const newCount = (proxyCounter.get(ep) || 0) - 1;
183
- proxyCounter.set(ep, newCount);
184
- if (newCount === 0) {
185
- releaseEndpoint(ep);
186
- }
187
- });
188
- function registerProxy(proxy2, ep) {
189
- const newCount = (proxyCounter.get(ep) || 0) + 1;
190
- proxyCounter.set(ep, newCount);
191
- if (proxyFinalizers) {
192
- proxyFinalizers.register(proxy2, ep, proxy2);
193
- }
194
- }
195
- function unregisterProxy(proxy2) {
196
- if (proxyFinalizers) {
197
- proxyFinalizers.unregister(proxy2);
198
- }
199
- }
200
- function createProxy(ep, pendingListeners, path = [], target = function() {
201
- }) {
202
- let isProxyReleased = false;
203
- const proxy2 = new Proxy(target, {
204
- get(_target, prop) {
205
- throwIfProxyReleased(isProxyReleased);
206
- if (prop === releaseProxy) {
207
- return () => {
208
- unregisterProxy(proxy2);
209
- releaseEndpoint(ep);
210
- pendingListeners.clear();
211
- isProxyReleased = true;
212
- };
213
- }
214
- if (prop === "then") {
215
- if (path.length === 0) {
216
- return { then: () => proxy2 };
217
- }
218
- const r = requestResponseMessage(ep, pendingListeners, {
219
- type: "GET",
220
- path: path.map((p) => p.toString())
221
- }).then(fromWireValue);
222
- return r.then.bind(r);
223
- }
224
- return createProxy(ep, pendingListeners, [...path, prop]);
225
- },
226
- set(_target, prop, rawValue) {
227
- throwIfProxyReleased(isProxyReleased);
228
- const [value, transferables] = toWireValue(rawValue);
229
- return requestResponseMessage(ep, pendingListeners, {
230
- type: "SET",
231
- path: [...path, prop].map((p) => p.toString()),
232
- value
233
- }, transferables).then(fromWireValue);
234
- },
235
- apply(_target, _thisArg, rawArgumentList) {
236
- throwIfProxyReleased(isProxyReleased);
237
- const last = path[path.length - 1];
238
- if (last === createEndpoint) {
239
- return requestResponseMessage(ep, pendingListeners, {
240
- type: "ENDPOINT"
241
- }).then(fromWireValue);
242
- }
243
- if (last === "bind") {
244
- return createProxy(ep, pendingListeners, path.slice(0, -1));
245
- }
246
- const [argumentList, transferables] = processArguments(rawArgumentList);
247
- return requestResponseMessage(ep, pendingListeners, {
248
- type: "APPLY",
249
- path: path.map((p) => p.toString()),
250
- argumentList
251
- }, transferables).then(fromWireValue);
252
- },
253
- construct(_target, rawArgumentList) {
254
- throwIfProxyReleased(isProxyReleased);
255
- const [argumentList, transferables] = processArguments(rawArgumentList);
256
- return requestResponseMessage(ep, pendingListeners, {
257
- type: "CONSTRUCT",
258
- path: path.map((p) => p.toString()),
259
- argumentList
260
- }, transferables).then(fromWireValue);
261
- }
262
- });
263
- registerProxy(proxy2, ep);
264
- return proxy2;
265
- }
266
- function myFlat(arr) {
267
- return Array.prototype.concat.apply([], arr);
268
- }
269
- function processArguments(argumentList) {
270
- const processed = argumentList.map(toWireValue);
271
- return [processed.map((v) => v[0]), myFlat(processed.map((v) => v[1]))];
272
- }
273
- var transferCache = /* @__PURE__ */ new WeakMap();
274
- function transfer(obj, transfers) {
275
- transferCache.set(obj, transfers);
276
- return obj;
277
- }
278
- function proxy(obj) {
279
- return Object.assign(obj, { [proxyMarker]: true });
280
- }
281
- function windowEndpoint(w, context = globalThis, targetOrigin = "*") {
282
- return {
283
- postMessage: (msg, transferables) => w.postMessage(msg, targetOrigin, transferables),
284
- addEventListener: context.addEventListener.bind(context),
285
- removeEventListener: context.removeEventListener.bind(context)
286
- };
287
- }
288
- function toWireValue(value) {
289
- for (const [name, handler] of transferHandlers) {
290
- if (handler.canHandle(value)) {
291
- const [serializedValue, transferables] = handler.serialize(value);
292
- return [
293
- {
294
- type: "HANDLER",
295
- name,
296
- value: serializedValue
297
- },
298
- transferables
299
- ];
300
- }
301
- }
302
- return [
303
- {
304
- type: "RAW",
305
- value
306
- },
307
- transferCache.get(value) || []
308
- ];
309
- }
310
- function fromWireValue(value) {
311
- switch (value.type) {
312
- case "HANDLER":
313
- return transferHandlers.get(value.name).deserialize(value.value);
314
- case "RAW":
315
- return value.value;
316
- }
317
- }
318
- function requestResponseMessage(ep, pendingListeners, msg, transfers) {
319
- return new Promise((resolve) => {
320
- const id = generateUUID();
321
- pendingListeners.set(id, resolve);
322
- if (ep.start) {
323
- ep.start();
324
- }
325
- ep.postMessage(Object.assign({ id }, msg), transfers);
326
- });
327
- }
328
- function generateUUID() {
329
- return new Array(4).fill(0).map(() => Math.floor(Math.random() * Number.MAX_SAFE_INTEGER).toString(16)).join("-");
330
- }
331
- export {
332
- createEndpoint,
333
- expose,
334
- finalizer,
335
- proxy,
336
- proxyMarker,
337
- releaseProxy,
338
- transfer,
339
- transferHandlers,
340
- windowEndpoint,
341
- wrap
342
- };
343
- /*! Bundled license information:
344
-
345
- comlink/dist/esm/comlink.mjs:
346
- (**
347
- * @license
348
- * Copyright 2019 Google LLC
349
- * SPDX-License-Identifier: Apache-2.0
350
- *)
351
- */
352
- //# sourceMappingURL=comlink.js.map
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../../../../node_modules/comlink/src/comlink.ts"],
4
- "sourcesContent": ["/**\n * @license\n * Copyright 2019 Google LLC\n * SPDX-License-Identifier: Apache-2.0\n */\n\nimport {\n Endpoint,\n EventSource,\n Message,\n MessageType,\n PostMessageWithOrigin,\n WireValue,\n WireValueType,\n} from \"./protocol\";\nexport type { Endpoint };\n\nexport const proxyMarker = Symbol(\"Comlink.proxy\");\nexport const createEndpoint = Symbol(\"Comlink.endpoint\");\nexport const releaseProxy = Symbol(\"Comlink.releaseProxy\");\nexport const finalizer = Symbol(\"Comlink.finalizer\");\n\nconst throwMarker = Symbol(\"Comlink.thrown\");\n\n/**\n * Interface of values that were marked to be proxied with `comlink.proxy()`.\n * Can also be implemented by classes.\n */\nexport interface ProxyMarked {\n [proxyMarker]: true;\n}\n\n/**\n * Takes a type and wraps it in a Promise, if it not already is one.\n * This is to avoid `Promise<Promise<T>>`.\n *\n * This is the inverse of `Unpromisify<T>`.\n */\ntype Promisify<T> = T extends Promise<unknown> ? T : Promise<T>;\n/**\n * Takes a type that may be Promise and unwraps the Promise type.\n * If `P` is not a Promise, it returns `P`.\n *\n * This is the inverse of `Promisify<T>`.\n */\ntype Unpromisify<P> = P extends Promise<infer T> ? T : P;\n\n/**\n * Takes the raw type of a remote property and returns the type that is visible to the local thread on the proxy.\n *\n * Note: This needs to be its own type alias, otherwise it will not distribute over unions.\n * See https://www.typescriptlang.org/docs/handbook/advanced-types.html#distributive-conditional-types\n */\ntype RemoteProperty<T> =\n // If the value is a method, comlink will proxy it automatically.\n // Objects are only proxied if they are marked to be proxied.\n // Otherwise, the property is converted to a Promise that resolves the cloned value.\n T extends Function | ProxyMarked ? Remote<T> : Promisify<T>;\n\n/**\n * Takes the raw type of a property as a remote thread would see it through a proxy (e.g. when passed in as a function\n * argument) and returns the type that the local thread has to supply.\n *\n * This is the inverse of `RemoteProperty<T>`.\n *\n * Note: This needs to be its own type alias, otherwise it will not distribute over unions. See\n * https://www.typescriptlang.org/docs/handbook/advanced-types.html#distributive-conditional-types\n */\ntype LocalProperty<T> = T extends Function | ProxyMarked\n ? Local<T>\n : Unpromisify<T>;\n\n/**\n * Proxies `T` if it is a `ProxyMarked`, clones it otherwise (as handled by structured cloning and transfer handlers).\n */\nexport type ProxyOrClone<T> = T extends ProxyMarked ? Remote<T> : T;\n/**\n * Inverse of `ProxyOrClone<T>`.\n */\nexport type UnproxyOrClone<T> = T extends RemoteObject<ProxyMarked>\n ? Local<T>\n : T;\n\n/**\n * Takes the raw type of a remote object in the other thread and returns the type as it is visible to the local thread\n * when proxied with `Comlink.proxy()`.\n *\n * This does not handle call signatures, which is handled by the more general `Remote<T>` type.\n *\n * @template T The raw type of a remote object as seen in the other thread.\n */\nexport type RemoteObject<T> = { [P in keyof T]: RemoteProperty<T[P]> };\n/**\n * Takes the type of an object as a remote thread would see it through a proxy (e.g. when passed in as a function\n * argument) and returns the type that the local thread has to supply.\n *\n * This does not handle call signatures, which is handled by the more general `Local<T>` type.\n *\n * This is the inverse of `RemoteObject<T>`.\n *\n * @template T The type of a proxied object.\n */\nexport type LocalObject<T> = { [P in keyof T]: LocalProperty<T[P]> };\n\n/**\n * Additional special comlink methods available on each proxy returned by `Comlink.wrap()`.\n */\nexport interface ProxyMethods {\n [createEndpoint]: () => Promise<MessagePort>;\n [releaseProxy]: () => void;\n}\n\n/**\n * Takes the raw type of a remote object, function or class in the other thread and returns the type as it is visible to\n * the local thread from the proxy return value of `Comlink.wrap()` or `Comlink.proxy()`.\n */\nexport type Remote<T> =\n // Handle properties\n RemoteObject<T> &\n // Handle call signature (if present)\n (T extends (...args: infer TArguments) => infer TReturn\n ? (\n ...args: { [I in keyof TArguments]: UnproxyOrClone<TArguments[I]> }\n ) => Promisify<ProxyOrClone<Unpromisify<TReturn>>>\n : unknown) &\n // Handle construct signature (if present)\n // The return of construct signatures is always proxied (whether marked or not)\n (T extends { new (...args: infer TArguments): infer TInstance }\n ? {\n new (\n ...args: {\n [I in keyof TArguments]: UnproxyOrClone<TArguments[I]>;\n }\n ): Promisify<Remote<TInstance>>;\n }\n : unknown) &\n // Include additional special comlink methods available on the proxy.\n ProxyMethods;\n\n/**\n * Expresses that a type can be either a sync or async.\n */\ntype MaybePromise<T> = Promise<T> | T;\n\n/**\n * Takes the raw type of a remote object, function or class as a remote thread would see it through a proxy (e.g. when\n * passed in as a function argument) and returns the type the local thread has to supply.\n *\n * This is the inverse of `Remote<T>`. It takes a `Remote<T>` and returns its original input `T`.\n */\nexport type Local<T> =\n // Omit the special proxy methods (they don't need to be supplied, comlink adds them)\n Omit<LocalObject<T>, keyof ProxyMethods> &\n // Handle call signatures (if present)\n (T extends (...args: infer TArguments) => infer TReturn\n ? (\n ...args: { [I in keyof TArguments]: ProxyOrClone<TArguments[I]> }\n ) => // The raw function could either be sync or async, but is always proxied automatically\n MaybePromise<UnproxyOrClone<Unpromisify<TReturn>>>\n : unknown) &\n // Handle construct signature (if present)\n // The return of construct signatures is always proxied (whether marked or not)\n (T extends { new (...args: infer TArguments): infer TInstance }\n ? {\n new (\n ...args: {\n [I in keyof TArguments]: ProxyOrClone<TArguments[I]>;\n }\n ): // The raw constructor could either be sync or async, but is always proxied automatically\n MaybePromise<Local<Unpromisify<TInstance>>>;\n }\n : unknown);\n\nconst isObject = (val: unknown): val is object =>\n (typeof val === \"object\" && val !== null) || typeof val === \"function\";\n\n/**\n * Customizes the serialization of certain values as determined by `canHandle()`.\n *\n * @template T The input type being handled by this transfer handler.\n * @template S The serialized type sent over the wire.\n */\nexport interface TransferHandler<T, S> {\n /**\n * Gets called for every value to determine whether this transfer handler\n * should serialize the value, which includes checking that it is of the right\n * type (but can perform checks beyond that as well).\n */\n canHandle(value: unknown): value is T;\n\n /**\n * Gets called with the value if `canHandle()` returned `true` to produce a\n * value that can be sent in a message, consisting of structured-cloneable\n * values and/or transferrable objects.\n */\n serialize(value: T): [S, Transferable[]];\n\n /**\n * Gets called to deserialize an incoming value that was serialized in the\n * other thread with this transfer handler (known through the name it was\n * registered under).\n */\n deserialize(value: S): T;\n}\n\n/**\n * Internal transfer handle to handle objects marked to proxy.\n */\nconst proxyTransferHandler: TransferHandler<object, MessagePort> = {\n canHandle: (val): val is ProxyMarked =>\n isObject(val) && (val as ProxyMarked)[proxyMarker],\n serialize(obj) {\n const { port1, port2 } = new MessageChannel();\n expose(obj, port1);\n return [port2, [port2]];\n },\n deserialize(port) {\n port.start();\n return wrap(port);\n },\n};\n\ninterface ThrownValue {\n [throwMarker]: unknown; // just needs to be present\n value: unknown;\n}\ntype SerializedThrownValue =\n | { isError: true; value: Error }\n | { isError: false; value: unknown };\ntype PendingListenersMap = Map<\n string,\n (value: WireValue | PromiseLike<WireValue>) => void\n>;\n\n/**\n * Internal transfer handler to handle thrown exceptions.\n */\nconst throwTransferHandler: TransferHandler<\n ThrownValue,\n SerializedThrownValue\n> = {\n canHandle: (value): value is ThrownValue =>\n isObject(value) && throwMarker in value,\n serialize({ value }) {\n let serialized: SerializedThrownValue;\n if (value instanceof Error) {\n serialized = {\n isError: true,\n value: {\n message: value.message,\n name: value.name,\n stack: value.stack,\n },\n };\n } else {\n serialized = { isError: false, value };\n }\n return [serialized, []];\n },\n deserialize(serialized) {\n if (serialized.isError) {\n throw Object.assign(\n new Error(serialized.value.message),\n serialized.value\n );\n }\n throw serialized.value;\n },\n};\n\n/**\n * Allows customizing the serialization of certain values.\n */\nexport const transferHandlers = new Map<\n string,\n TransferHandler<unknown, unknown>\n>([\n [\"proxy\", proxyTransferHandler],\n [\"throw\", throwTransferHandler],\n]);\n\nfunction isAllowedOrigin(\n allowedOrigins: (string | RegExp)[],\n origin: string\n): boolean {\n for (const allowedOrigin of allowedOrigins) {\n if (origin === allowedOrigin || allowedOrigin === \"*\") {\n return true;\n }\n if (allowedOrigin instanceof RegExp && allowedOrigin.test(origin)) {\n return true;\n }\n }\n return false;\n}\n\nexport function expose(\n obj: any,\n ep: Endpoint = globalThis as any,\n allowedOrigins: (string | RegExp)[] = [\"*\"]\n) {\n ep.addEventListener(\"message\", function callback(ev: MessageEvent) {\n if (!ev || !ev.data) {\n return;\n }\n if (!isAllowedOrigin(allowedOrigins, ev.origin)) {\n console.warn(`Invalid origin '${ev.origin}' for comlink proxy`);\n return;\n }\n const { id, type, path } = {\n path: [] as string[],\n ...(ev.data as Message),\n };\n const argumentList = (ev.data.argumentList || []).map(fromWireValue);\n let returnValue;\n try {\n const parent = path.slice(0, -1).reduce((obj, prop) => obj[prop], obj);\n const rawValue = path.reduce((obj, prop) => obj[prop], obj);\n switch (type) {\n case MessageType.GET:\n {\n returnValue = rawValue;\n }\n break;\n case MessageType.SET:\n {\n parent[path.slice(-1)[0]] = fromWireValue(ev.data.value);\n returnValue = true;\n }\n break;\n case MessageType.APPLY:\n {\n returnValue = rawValue.apply(parent, argumentList);\n }\n break;\n case MessageType.CONSTRUCT:\n {\n const value = new rawValue(...argumentList);\n returnValue = proxy(value);\n }\n break;\n case MessageType.ENDPOINT:\n {\n const { port1, port2 } = new MessageChannel();\n expose(obj, port2);\n returnValue = transfer(port1, [port1]);\n }\n break;\n case MessageType.RELEASE:\n {\n returnValue = undefined;\n }\n break;\n default:\n return;\n }\n } catch (value) {\n returnValue = { value, [throwMarker]: 0 };\n }\n Promise.resolve(returnValue)\n .catch((value) => {\n return { value, [throwMarker]: 0 };\n })\n .then((returnValue) => {\n const [wireValue, transferables] = toWireValue(returnValue);\n ep.postMessage({ ...wireValue, id }, transferables);\n if (type === MessageType.RELEASE) {\n // detach and deactive after sending release response above.\n ep.removeEventListener(\"message\", callback as any);\n closeEndPoint(ep);\n if (finalizer in obj && typeof obj[finalizer] === \"function\") {\n obj[finalizer]();\n }\n }\n })\n .catch((error) => {\n // Send Serialization Error To Caller\n const [wireValue, transferables] = toWireValue({\n value: new TypeError(\"Unserializable return value\"),\n [throwMarker]: 0,\n });\n ep.postMessage({ ...wireValue, id }, transferables);\n });\n } as any);\n if (ep.start) {\n ep.start();\n }\n}\n\nfunction isMessagePort(endpoint: Endpoint): endpoint is MessagePort {\n return endpoint.constructor.name === \"MessagePort\";\n}\n\nfunction closeEndPoint(endpoint: Endpoint) {\n if (isMessagePort(endpoint)) endpoint.close();\n}\n\nexport function wrap<T>(ep: Endpoint, target?: any): Remote<T> {\n const pendingListeners : PendingListenersMap = new Map();\n\n ep.addEventListener(\"message\", function handleMessage(ev: Event) {\n const { data } = ev as MessageEvent;\n if (!data || !data.id) {\n return;\n }\n const resolver = pendingListeners.get(data.id);\n if (!resolver) {\n return;\n }\n\n try {\n resolver(data);\n } finally {\n pendingListeners.delete(data.id);\n }\n });\n\n return createProxy<T>(ep, pendingListeners, [], target) as any;\n}\n\nfunction throwIfProxyReleased(isReleased: boolean) {\n if (isReleased) {\n throw new Error(\"Proxy has been released and is not useable\");\n }\n}\n\nfunction releaseEndpoint(ep: Endpoint) {\n return requestResponseMessage(ep, new Map(), {\n type: MessageType.RELEASE,\n }).then(() => {\n closeEndPoint(ep);\n });\n}\n\ninterface FinalizationRegistry<T> {\n new (cb: (heldValue: T) => void): FinalizationRegistry<T>;\n register(\n weakItem: object,\n heldValue: T,\n unregisterToken?: object | undefined\n ): void;\n unregister(unregisterToken: object): void;\n}\ndeclare var FinalizationRegistry: FinalizationRegistry<Endpoint>;\n\nconst proxyCounter = new WeakMap<Endpoint, number>();\nconst proxyFinalizers =\n \"FinalizationRegistry\" in globalThis &&\n new FinalizationRegistry((ep: Endpoint) => {\n const newCount = (proxyCounter.get(ep) || 0) - 1;\n proxyCounter.set(ep, newCount);\n if (newCount === 0) {\n releaseEndpoint(ep);\n }\n });\n\nfunction registerProxy(proxy: object, ep: Endpoint) {\n const newCount = (proxyCounter.get(ep) || 0) + 1;\n proxyCounter.set(ep, newCount);\n if (proxyFinalizers) {\n proxyFinalizers.register(proxy, ep, proxy);\n }\n}\n\nfunction unregisterProxy(proxy: object) {\n if (proxyFinalizers) {\n proxyFinalizers.unregister(proxy);\n }\n}\n\nfunction createProxy<T>(\n ep: Endpoint,\n pendingListeners: PendingListenersMap,\n path: (string | number | symbol)[] = [],\n target: object = function () {}\n): Remote<T> {\n let isProxyReleased = false;\n const proxy = new Proxy(target, {\n get(_target, prop) {\n throwIfProxyReleased(isProxyReleased);\n if (prop === releaseProxy) {\n return () => {\n unregisterProxy(proxy);\n releaseEndpoint(ep);\n pendingListeners.clear();\n isProxyReleased = true;\n };\n }\n if (prop === \"then\") {\n if (path.length === 0) {\n return { then: () => proxy };\n }\n const r = requestResponseMessage(ep, pendingListeners, {\n type: MessageType.GET,\n path: path.map((p) => p.toString()),\n }).then(fromWireValue);\n return r.then.bind(r);\n }\n return createProxy(ep, pendingListeners, [...path, prop]);\n },\n set(_target, prop, rawValue) {\n throwIfProxyReleased(isProxyReleased);\n // FIXME: ES6 Proxy Handler `set` methods are supposed to return a\n // boolean. To show good will, we return true asynchronously ¯\\_(ツ)_/¯\n const [value, transferables] = toWireValue(rawValue);\n return requestResponseMessage(\n ep,\n pendingListeners,\n {\n type: MessageType.SET,\n path: [...path, prop].map((p) => p.toString()),\n value,\n },\n transferables\n ).then(fromWireValue) as any;\n },\n apply(_target, _thisArg, rawArgumentList) {\n throwIfProxyReleased(isProxyReleased);\n const last = path[path.length - 1];\n if ((last as any) === createEndpoint) {\n return requestResponseMessage(ep, pendingListeners, {\n type: MessageType.ENDPOINT,\n }).then(fromWireValue);\n }\n // We just pretend that `bind()` didn’t happen.\n if (last === \"bind\") {\n return createProxy(ep, pendingListeners, path.slice(0, -1));\n }\n const [argumentList, transferables] = processArguments(rawArgumentList);\n return requestResponseMessage(\n ep,\n pendingListeners,\n {\n type: MessageType.APPLY,\n path: path.map((p) => p.toString()),\n argumentList,\n },\n transferables\n ).then(fromWireValue);\n },\n construct(_target, rawArgumentList) {\n throwIfProxyReleased(isProxyReleased);\n const [argumentList, transferables] = processArguments(rawArgumentList);\n return requestResponseMessage(\n ep,\n pendingListeners,\n {\n type: MessageType.CONSTRUCT,\n path: path.map((p) => p.toString()),\n argumentList,\n },\n transferables\n ).then(fromWireValue);\n },\n });\n registerProxy(proxy, ep);\n return proxy as any;\n}\n\nfunction myFlat<T>(arr: (T | T[])[]): T[] {\n return Array.prototype.concat.apply([], arr);\n}\n\nfunction processArguments(argumentList: any[]): [WireValue[], Transferable[]] {\n const processed = argumentList.map(toWireValue);\n return [processed.map((v) => v[0]), myFlat(processed.map((v) => v[1]))];\n}\n\nconst transferCache = new WeakMap<any, Transferable[]>();\nexport function transfer<T>(obj: T, transfers: Transferable[]): T {\n transferCache.set(obj, transfers);\n return obj;\n}\n\nexport function proxy<T extends {}>(obj: T): T & ProxyMarked {\n return Object.assign(obj, { [proxyMarker]: true }) as any;\n}\n\nexport function windowEndpoint(\n w: PostMessageWithOrigin,\n context: EventSource = globalThis,\n targetOrigin = \"*\"\n): Endpoint {\n return {\n postMessage: (msg: any, transferables: Transferable[]) =>\n w.postMessage(msg, targetOrigin, transferables),\n addEventListener: context.addEventListener.bind(context),\n removeEventListener: context.removeEventListener.bind(context),\n };\n}\n\nfunction toWireValue(value: any): [WireValue, Transferable[]] {\n for (const [name, handler] of transferHandlers) {\n if (handler.canHandle(value)) {\n const [serializedValue, transferables] = handler.serialize(value);\n return [\n {\n type: WireValueType.HANDLER,\n name,\n value: serializedValue,\n },\n transferables,\n ];\n }\n }\n return [\n {\n type: WireValueType.RAW,\n value,\n },\n transferCache.get(value) || [],\n ];\n}\n\nfunction fromWireValue(value: WireValue): any {\n switch (value.type) {\n case WireValueType.HANDLER:\n return transferHandlers.get(value.name)!.deserialize(value.value);\n case WireValueType.RAW:\n return value.value;\n }\n}\n\nfunction requestResponseMessage(\n ep: Endpoint,\n pendingListeners: PendingListenersMap,\n msg: Message,\n transfers?: Transferable[]\n): Promise<WireValue> {\n return new Promise((resolve) => {\n const id = generateUUID();\n pendingListeners.set(id, resolve);\n if (ep.start) {\n ep.start();\n }\n ep.postMessage({ id, ...msg }, transfers);\n});\n}\n\nfunction generateUUID(): string {\n return new Array(4)\n .fill(0)\n .map(() => Math.floor(Math.random() * Number.MAX_SAFE_INTEGER).toString(16))\n .join(\"-\");\n}\n"],
5
- "mappings": ";;;IAiBa,cAAc,OAAO,eAAe;IACpC,iBAAiB,OAAO,kBAAkB;IAC1C,eAAe,OAAO,sBAAsB;IAC5C,YAAY,OAAO,mBAAmB;AAEnD,IAAM,cAAc,OAAO,gBAAgB;AAuJ3C,IAAM,WAAW,CAAC,QACf,OAAO,QAAQ,YAAY,QAAQ,QAAS,OAAO,QAAQ;AAkC9D,IAAM,uBAA6D;EACjE,WAAW,CAAC,QACV,SAAS,GAAG,KAAM,IAAoB,WAAW;EAC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