scordi-extension 1.16.2 → 1.16.4

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 (240) hide show
  1. package/README.md +61 -29
  2. package/dist/blocks/AiParseDataBlock.d.ts.map +1 -1
  3. package/dist/blocks/EventClickBlock.d.ts.map +1 -1
  4. package/dist/blocks/ExportDataBlock.d.ts.map +1 -1
  5. package/dist/blocks/KeypressBlock.d.ts.map +1 -1
  6. package/dist/blocks/NetworkCatchBlock.d.ts.map +1 -1
  7. package/dist/blocks/WaitForConditionBlock.d.ts.map +1 -1
  8. package/dist/blocks/index.d.ts +1 -1
  9. package/dist/blocks/index.d.ts.map +1 -1
  10. package/dist/sdk/EightGClient.d.ts +9 -6
  11. package/dist/sdk/EightGClient.d.ts.map +1 -1
  12. package/dist/sdk/index.cjs +4 -4
  13. package/dist/sdk/index.js +175 -160
  14. package/dist/sdk/types.d.ts.map +1 -1
  15. package/dist/types/internal-messages.d.ts.map +1 -1
  16. package/dist/workflow/context/execution-context/binding.d.ts.map +1 -1
  17. package/dist/workflow/context/execution-context/condition.d.ts.map +1 -1
  18. package/dist/workflow/context/execution-context/index.d.ts +3 -3
  19. package/dist/workflow/context/execution-context/index.d.ts.map +1 -1
  20. package/dist/workflow/context/execution-context/resolver.d.ts.map +1 -1
  21. package/dist/workflow/context/loop-context/index.d.ts +1 -1
  22. package/dist/workflow/context/loop-context/index.d.ts.map +1 -1
  23. package/dist/workflow/context/loop-context/loop-context.d.ts.map +1 -1
  24. package/dist/workflow/context/loop-context/resolver.d.ts.map +1 -1
  25. package/dist/workflow/context/step-context/index.d.ts +1 -1
  26. package/dist/workflow/context/step-context/index.d.ts.map +1 -1
  27. package/dist/workflow/context/step-context/resolver.d.ts.map +1 -1
  28. package/dist/workflow/context/step-context/step-context.d.ts.map +1 -1
  29. package/dist/workflow/context/var-context/index.d.ts +1 -1
  30. package/dist/workflow/context/var-context/index.d.ts.map +1 -1
  31. package/dist/workflow/context/var-context/resolver.d.ts.map +1 -1
  32. package/dist/workflow/context/var-context/var-context.d.ts.map +1 -1
  33. package/package.json +1 -1
  34. package/dist/.vite/manifest.json +0 -75
  35. package/dist/assets/index-B45Q7XiR.js +0 -49
  36. package/dist/assets/index-BqQ8JinV.js +0 -1
  37. package/dist/assets/index-CVzjlC_s.js +0 -1
  38. package/dist/assets/index-CYVwV_2L.js +0 -1
  39. package/dist/assets/index-DkFIvNAm.css +0 -1
  40. package/dist/assets/index-DxZcS402.js +0 -1
  41. package/dist/assets/index-tW55lo_h.js +0 -4
  42. package/dist/assets/index.html-DZ7AUTQZ.js +0 -1
  43. package/dist/assets/index.ts-2nFLTUkL.js +0 -238
  44. package/dist/assets/index.ts-BRPHoTRl.js +0 -256
  45. package/dist/assets/index.ts-C2f2hGoV.js +0 -158
  46. package/dist/assets/index.ts-CD2jVezi.js +0 -256
  47. package/dist/assets/index.ts-COMnxBfB.js +0 -238
  48. package/dist/assets/index.ts-mAOhzdZJ.js +0 -238
  49. package/dist/assets/internal-messages-BMRA0i8A.js +0 -1
  50. package/dist/assets/internal-messages-BS1uEgeS.js +0 -1
  51. package/dist/assets/internal-messages-CP1ANEcL.js +0 -1
  52. package/dist/assets/internal-messages-Drf0Gb9U.js +0 -1
  53. package/dist/assets/loading-page-1924caaa.js +0 -51
  54. package/dist/assets/main.tsx-CHn9k-P7.js +0 -38
  55. package/dist/assets/main.tsx-DnGNeWWr.js +0 -38
  56. package/dist/assets/main.tsx-DtStYr-r.js +0 -2
  57. package/dist/assets/main.tsx-UFslEqbd.js +0 -38
  58. package/dist/assets/main.tsx-loader-6Ftbg0YS.js +0 -13
  59. package/dist/assets/main.tsx-loader-ByFSLdJ4.js +0 -13
  60. package/dist/assets/main.tsx-loader-CuF0J02t.js +0 -13
  61. package/dist/assets/main.tsx-loader-sjxNXQPw.js +0 -13
  62. package/dist/assets/types-BId3CBm7.js +0 -1
  63. package/dist/assets/types-CeXfY5Yv.js +0 -4
  64. package/dist/assets/types-Dzn4eD9c.js +0 -22
  65. package/dist/assets/types-q2_wITfk.js +0 -4
  66. package/dist/blocks/CaptureNetworkBlock.d.ts +0 -75
  67. package/dist/blocks/CaptureNetworkBlock.d.ts.map +0 -1
  68. package/dist/blocks/DataExtractBlock.d.ts +0 -23
  69. package/dist/blocks/DataExtractBlock.d.ts.map +0 -1
  70. package/dist/blocks/index.cjs +0 -4
  71. package/dist/blocks/index.js +0 -7839
  72. package/dist/blocks/logo.png +0 -0
  73. package/dist/logo.png +0 -0
  74. package/dist/manifest.json +0 -55
  75. package/dist/public/logo.png +0 -0
  76. package/dist/service-worker-loader.js +0 -3
  77. package/dist/src/blocks/AiParseDataBlock.ts.js +0 -111
  78. package/dist/src/blocks/CaptureNetworkBlock.ts.js +0 -55
  79. package/dist/src/blocks/ClearValueFormBlock.ts.js +0 -55
  80. package/dist/src/blocks/DataExtractBlock.ts.js +0 -28
  81. package/dist/src/blocks/ElementExistsBlock.ts.js +0 -26
  82. package/dist/src/blocks/EventClickBlock.ts.js +0 -143
  83. package/dist/src/blocks/ExportDataBlock.ts.js +0 -47
  84. package/dist/src/blocks/FetchApiBlock.ts.js +0 -50
  85. package/dist/src/blocks/GetAttributeValueBlock.ts.js +0 -33
  86. package/dist/src/blocks/GetElementDataBlock.ts.js +0 -114
  87. package/dist/src/blocks/GetTextBlock.ts.js +0 -152
  88. package/dist/src/blocks/GetValueFormBlock.ts.js +0 -52
  89. package/dist/src/blocks/KeypressBlock.ts.js +0 -89
  90. package/dist/src/blocks/NavigateBlock.ts.js +0 -48
  91. package/dist/src/blocks/NetworkCatchBlock.ts.js +0 -61
  92. package/dist/src/blocks/SaveAssetsBlock.ts.js +0 -35
  93. package/dist/src/blocks/ScrollBlock.ts.js +0 -111
  94. package/dist/src/blocks/SetValueFormBlock.ts.js +0 -56
  95. package/dist/src/blocks/TransformDataBlock.ts.js +0 -42
  96. package/dist/src/blocks/WaitBlock.ts.js +0 -24
  97. package/dist/src/blocks/WaitForConditionBlock.ts.js +0 -187
  98. package/dist/src/blocks/index.ts.js +0 -198
  99. package/dist/src/blocks/types.ts.js +0 -11
  100. package/dist/src/content/components/ConfirmationUI.tsx.js +0 -244
  101. package/dist/src/content/components/ExecutionStatusUI.tsx.js +0 -223
  102. package/dist/src/content/elements/finders/CssSelector.ts.js +0 -51
  103. package/dist/src/content/elements/finders/ElementSelector.ts.js +0 -20
  104. package/dist/src/content/elements/finders/IframeSelector.ts.js +0 -32
  105. package/dist/src/content/elements/finders/ShadowDOMSelector.ts.js +0 -38
  106. package/dist/src/content/elements/finders/XPathFinder.ts.js +0 -32
  107. package/dist/src/content/elements/index.ts.js +0 -26
  108. package/dist/src/content/elements/utils/CSSSelectorGenerator.ts.js +0 -72
  109. package/dist/src/content/elements/utils/XPathGenerator.ts.js +0 -62
  110. package/dist/src/content/handler/ExternalMessageHandler.ts.js +0 -78
  111. package/dist/src/content/handler/InternalMessageHandler.ts.js +0 -40
  112. package/dist/src/content/kernel/MessageKernel.ts.js +0 -83
  113. package/dist/src/content/main.tsx-loader.js +0 -22
  114. package/dist/src/content/main.tsx.js +0 -50
  115. package/dist/src/content/utils/index.ts.js +0 -1
  116. package/dist/src/content/utils/synchronizedLock.ts.js +0 -35
  117. package/dist/src/popup/index.html +0 -12
  118. package/dist/src/sdk/types.ts.js +0 -150
  119. package/dist/src/types/internal-messages.ts.js +0 -27
  120. package/dist/src/workflow/context/execution-context/types.ts.js +0 -0
  121. package/dist/vendor/.vite-deps-chunk-2TUXWMP5.js__v--29d58732.js +0 -45
  122. package/dist/vendor/.vite-deps-chunk-2TUXWMP5.js__v--34285d49.js +0 -45
  123. package/dist/vendor/.vite-deps-chunk-2TUXWMP5.js__v--36a0c079.js +0 -45
  124. package/dist/vendor/.vite-deps-chunk-2TUXWMP5.js__v--7cce5f32.js +0 -45
  125. package/dist/vendor/.vite-deps-chunk-2TUXWMP5.js__v--8598b0e0.js +0 -45
  126. package/dist/vendor/.vite-deps-chunk-2TUXWMP5.js__v--9054997c.js +0 -45
  127. package/dist/vendor/.vite-deps-chunk-2TUXWMP5.js__v--a79cb78d.js +0 -45
  128. package/dist/vendor/.vite-deps-chunk-2TUXWMP5.js__v--af906259.js +0 -45
  129. package/dist/vendor/.vite-deps-chunk-2TUXWMP5.js__v--e041f26d.js +0 -45
  130. package/dist/vendor/.vite-deps-chunk-2TUXWMP5.js__v--e1405dc4.js +0 -45
  131. package/dist/vendor/.vite-deps-chunk-2TUXWMP5.js__v--e2a1f584.js +0 -45
  132. package/dist/vendor/.vite-deps-chunk-DC5AMYBS.js__v--87b685c1.js +0 -38
  133. package/dist/vendor/.vite-deps-chunk-EL3BNLGW.js__v--29d58732.js +0 -975
  134. package/dist/vendor/.vite-deps-chunk-EL3BNLGW.js__v--34285d49.js +0 -975
  135. package/dist/vendor/.vite-deps-chunk-EL3BNLGW.js__v--36a0c079.js +0 -975
  136. package/dist/vendor/.vite-deps-chunk-EL3BNLGW.js__v--7cce5f32.js +0 -975
  137. package/dist/vendor/.vite-deps-chunk-EL3BNLGW.js__v--8598b0e0.js +0 -975
  138. package/dist/vendor/.vite-deps-chunk-EL3BNLGW.js__v--a79cb78d.js +0 -975
  139. package/dist/vendor/.vite-deps-chunk-EL3BNLGW.js__v--af906259.js +0 -975
  140. package/dist/vendor/.vite-deps-chunk-EL3BNLGW.js__v--e041f26d.js +0 -975
  141. package/dist/vendor/.vite-deps-chunk-EL3BNLGW.js__v--e1405dc4.js +0 -975
  142. package/dist/vendor/.vite-deps-chunk-EL3BNLGW.js__v--e2a1f584.js +0 -975
  143. package/dist/vendor/.vite-deps-chunk-KDMJ4XM7.js__v--87b685c1.js +0 -4154
  144. package/dist/vendor/.vite-deps-chunk-MANNBT4V.js__v--87b685c1.js +0 -280
  145. package/dist/vendor/.vite-deps-chunk-NZP3G7XT.js__v--87b685c1.js +0 -975
  146. package/dist/vendor/.vite-deps-chunk-QIBDMRD4.js__v--36a0c079.js +0 -4158
  147. package/dist/vendor/.vite-deps-chunk-QIBDMRD4.js__v--8598b0e0.js +0 -4158
  148. package/dist/vendor/.vite-deps-chunk-QIBDMRD4.js__v--9054997c.js +0 -4158
  149. package/dist/vendor/.vite-deps-chunk-QIBDMRD4.js__v--a79cb78d.js +0 -4158
  150. package/dist/vendor/.vite-deps-chunk-QIBDMRD4.js__v--e041f26d.js +0 -4158
  151. package/dist/vendor/.vite-deps-chunk-QIBDMRD4.js__v--e2a1f584.js +0 -4158
  152. package/dist/vendor/.vite-deps-chunk-UW5CEYRC.js__v--29d58732.js +0 -4154
  153. package/dist/vendor/.vite-deps-chunk-UW5CEYRC.js__v--34285d49.js +0 -4154
  154. package/dist/vendor/.vite-deps-chunk-UW5CEYRC.js__v--7cce5f32.js +0 -4154
  155. package/dist/vendor/.vite-deps-chunk-UW5CEYRC.js__v--af906259.js +0 -4154
  156. package/dist/vendor/.vite-deps-chunk-UW5CEYRC.js__v--e1405dc4.js +0 -4154
  157. package/dist/vendor/.vite-deps-chunk-XHY3JSIG.js__v--29d58732.js +0 -280
  158. package/dist/vendor/.vite-deps-chunk-XHY3JSIG.js__v--34285d49.js +0 -280
  159. package/dist/vendor/.vite-deps-chunk-XHY3JSIG.js__v--36a0c079.js +0 -280
  160. package/dist/vendor/.vite-deps-chunk-XHY3JSIG.js__v--7cce5f32.js +0 -280
  161. package/dist/vendor/.vite-deps-chunk-XHY3JSIG.js__v--8598b0e0.js +0 -280
  162. package/dist/vendor/.vite-deps-chunk-XHY3JSIG.js__v--a79cb78d.js +0 -280
  163. package/dist/vendor/.vite-deps-chunk-XHY3JSIG.js__v--af906259.js +0 -280
  164. package/dist/vendor/.vite-deps-chunk-XHY3JSIG.js__v--e041f26d.js +0 -280
  165. package/dist/vendor/.vite-deps-chunk-XHY3JSIG.js__v--e1405dc4.js +0 -280
  166. package/dist/vendor/.vite-deps-chunk-XHY3JSIG.js__v--e2a1f584.js +0 -280
  167. package/dist/vendor/.vite-deps-jsonata.js__v--1f855851.js +0 -5761
  168. package/dist/vendor/.vite-deps-jsonata.js__v--34285d49.js +0 -5761
  169. package/dist/vendor/.vite-deps-jsonata.js__v--370b8ffe.js +0 -5761
  170. package/dist/vendor/.vite-deps-jsonata.js__v--7496ecd5.js +0 -5761
  171. package/dist/vendor/.vite-deps-jsonata.js__v--7cce5f32.js +0 -5761
  172. package/dist/vendor/.vite-deps-jsonata.js__v--8598b0e0.js +0 -5761
  173. package/dist/vendor/.vite-deps-jsonata.js__v--989ee283.js +0 -5761
  174. package/dist/vendor/.vite-deps-jsonata.js__v--aa4cf553.js +0 -5761
  175. package/dist/vendor/.vite-deps-jsonata.js__v--af906259.js +0 -5761
  176. package/dist/vendor/.vite-deps-jsonata.js__v--d602c657.js +0 -5761
  177. package/dist/vendor/.vite-deps-jsonata.js__v--e041f26d.js +0 -5761
  178. package/dist/vendor/.vite-deps-jsonata.js__v--e2a1f584.js +0 -5761
  179. package/dist/vendor/.vite-deps-react-dom.js__v--1217aa43.js +0 -6
  180. package/dist/vendor/.vite-deps-react-dom.js__v--34285d49.js +0 -6
  181. package/dist/vendor/.vite-deps-react-dom.js__v--36c31e85.js +0 -6
  182. package/dist/vendor/.vite-deps-react-dom.js__v--7cce5f32.js +0 -6
  183. package/dist/vendor/.vite-deps-react-dom.js__v--8313ef2c.js +0 -6
  184. package/dist/vendor/.vite-deps-react-dom.js__v--8598b0e0.js +0 -6
  185. package/dist/vendor/.vite-deps-react-dom.js__v--87af57af.js +0 -6
  186. package/dist/vendor/.vite-deps-react-dom.js__v--9967e564.js +0 -6
  187. package/dist/vendor/.vite-deps-react-dom.js__v--af906259.js +0 -6
  188. package/dist/vendor/.vite-deps-react-dom.js__v--e041f26d.js +0 -6
  189. package/dist/vendor/.vite-deps-react-dom.js__v--e2a1f584.js +0 -6
  190. package/dist/vendor/.vite-deps-react-dom_client.js__v--05e7db8c.js +0 -18108
  191. package/dist/vendor/.vite-deps-react-dom_client.js__v--34285d49.js +0 -18108
  192. package/dist/vendor/.vite-deps-react-dom_client.js__v--7cce5f32.js +0 -18108
  193. package/dist/vendor/.vite-deps-react-dom_client.js__v--8598b0e0.js +0 -18108
  194. package/dist/vendor/.vite-deps-react-dom_client.js__v--8ec6d0f4.js +0 -18108
  195. package/dist/vendor/.vite-deps-react-dom_client.js__v--a69c8f91.js +0 -18108
  196. package/dist/vendor/.vite-deps-react-dom_client.js__v--aaaed31d.js +0 -18108
  197. package/dist/vendor/.vite-deps-react-dom_client.js__v--af906259.js +0 -18108
  198. package/dist/vendor/.vite-deps-react-dom_client.js__v--e041f26d.js +0 -18108
  199. package/dist/vendor/.vite-deps-react-dom_client.js__v--e2a1f584.js +0 -18108
  200. package/dist/vendor/.vite-deps-react-dom_client.js__v--f80719e9.js +0 -18108
  201. package/dist/vendor/.vite-deps-react.js__v--1217aa43.js +0 -5
  202. package/dist/vendor/.vite-deps-react.js__v--34285d49.js +0 -5
  203. package/dist/vendor/.vite-deps-react.js__v--36c31e85.js +0 -5
  204. package/dist/vendor/.vite-deps-react.js__v--7cce5f32.js +0 -5
  205. package/dist/vendor/.vite-deps-react.js__v--8313ef2c.js +0 -5
  206. package/dist/vendor/.vite-deps-react.js__v--8598b0e0.js +0 -5
  207. package/dist/vendor/.vite-deps-react.js__v--87af57af.js +0 -5
  208. package/dist/vendor/.vite-deps-react.js__v--9967e564.js +0 -5
  209. package/dist/vendor/.vite-deps-react.js__v--af906259.js +0 -5
  210. package/dist/vendor/.vite-deps-react.js__v--e041f26d.js +0 -5
  211. package/dist/vendor/.vite-deps-react.js__v--e2a1f584.js +0 -5
  212. package/dist/vendor/.vite-deps-react_jsx-dev-runtime.js__v--1217aa43.js +0 -281
  213. package/dist/vendor/.vite-deps-react_jsx-dev-runtime.js__v--34285d49.js +0 -281
  214. package/dist/vendor/.vite-deps-react_jsx-dev-runtime.js__v--36c31e85.js +0 -281
  215. package/dist/vendor/.vite-deps-react_jsx-dev-runtime.js__v--7cce5f32.js +0 -281
  216. package/dist/vendor/.vite-deps-react_jsx-dev-runtime.js__v--8313ef2c.js +0 -281
  217. package/dist/vendor/.vite-deps-react_jsx-dev-runtime.js__v--8598b0e0.js +0 -281
  218. package/dist/vendor/.vite-deps-react_jsx-dev-runtime.js__v--87af57af.js +0 -281
  219. package/dist/vendor/.vite-deps-react_jsx-dev-runtime.js__v--9967e564.js +0 -281
  220. package/dist/vendor/.vite-deps-react_jsx-dev-runtime.js__v--af906259.js +0 -281
  221. package/dist/vendor/.vite-deps-react_jsx-dev-runtime.js__v--e041f26d.js +0 -281
  222. package/dist/vendor/.vite-deps-react_jsx-dev-runtime.js__v--e2a1f584.js +0 -281
  223. package/dist/vendor/.vite-deps-zod.js__v--34285d49.js +0 -222
  224. package/dist/vendor/.vite-deps-zod.js__v--6548a37a.js +0 -222
  225. package/dist/vendor/.vite-deps-zod.js__v--706a718e.js +0 -219
  226. package/dist/vendor/.vite-deps-zod.js__v--7cce5f32.js +0 -222
  227. package/dist/vendor/.vite-deps-zod.js__v--8598b0e0.js +0 -219
  228. package/dist/vendor/.vite-deps-zod.js__v--9e0f4cc1.js +0 -219
  229. package/dist/vendor/.vite-deps-zod.js__v--af906259.js +0 -222
  230. package/dist/vendor/.vite-deps-zod.js__v--b73c580c.js +0 -219
  231. package/dist/vendor/.vite-deps-zod.js__v--dc9842e6.js +0 -222
  232. package/dist/vendor/.vite-deps-zod.js__v--e041f26d.js +0 -219
  233. package/dist/vendor/.vite-deps-zod.js__v--e2a1f584.js +0 -219
  234. package/dist/vendor/.vite-deps-zod.js__v--e4714212.js +0 -222
  235. package/dist/vendor/crx-client-port.js +0 -66
  236. package/dist/vendor/crx-client-preamble.js +0 -4
  237. package/dist/vendor/react-refresh.js +0 -670
  238. package/dist/vendor/vite-client.js +0 -1134
  239. package/dist/vendor/vite-dist-client-env.mjs.js +0 -24
  240. package/dist/vendor/webcomponents-custom-elements.js +0 -47
@@ -1,975 +0,0 @@
1
- import {
2
- __commonJS
3
- } from "/vendor/.vite-deps-chunk-2TUXWMP5.js__v--e041f26d.js";
4
-
5
- // node_modules/react/cjs/react.development.js
6
- var require_react_development = __commonJS({
7
- "node_modules/react/cjs/react.development.js"(exports, module) {
8
- "use strict";
9
- (function() {
10
- function defineDeprecationWarning(methodName, info) {
11
- Object.defineProperty(Component.prototype, methodName, {
12
- get: function() {
13
- console.warn(
14
- "%s(...) is deprecated in plain JavaScript React classes. %s",
15
- info[0],
16
- info[1]
17
- );
18
- }
19
- });
20
- }
21
- function getIteratorFn(maybeIterable) {
22
- if (null === maybeIterable || "object" !== typeof maybeIterable)
23
- return null;
24
- maybeIterable = MAYBE_ITERATOR_SYMBOL && maybeIterable[MAYBE_ITERATOR_SYMBOL] || maybeIterable["@@iterator"];
25
- return "function" === typeof maybeIterable ? maybeIterable : null;
26
- }
27
- function warnNoop(publicInstance, callerName) {
28
- publicInstance = (publicInstance = publicInstance.constructor) && (publicInstance.displayName || publicInstance.name) || "ReactClass";
29
- var warningKey = publicInstance + "." + callerName;
30
- didWarnStateUpdateForUnmountedComponent[warningKey] || (console.error(
31
- "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.",
32
- callerName,
33
- publicInstance
34
- ), didWarnStateUpdateForUnmountedComponent[warningKey] = true);
35
- }
36
- function Component(props, context, updater) {
37
- this.props = props;
38
- this.context = context;
39
- this.refs = emptyObject;
40
- this.updater = updater || ReactNoopUpdateQueue;
41
- }
42
- function ComponentDummy() {
43
- }
44
- function PureComponent(props, context, updater) {
45
- this.props = props;
46
- this.context = context;
47
- this.refs = emptyObject;
48
- this.updater = updater || ReactNoopUpdateQueue;
49
- }
50
- function testStringCoercion(value) {
51
- return "" + value;
52
- }
53
- function checkKeyStringCoercion(value) {
54
- try {
55
- testStringCoercion(value);
56
- var JSCompiler_inline_result = false;
57
- } catch (e) {
58
- JSCompiler_inline_result = true;
59
- }
60
- if (JSCompiler_inline_result) {
61
- JSCompiler_inline_result = console;
62
- var JSCompiler_temp_const = JSCompiler_inline_result.error;
63
- var JSCompiler_inline_result$jscomp$0 = "function" === typeof Symbol && Symbol.toStringTag && value[Symbol.toStringTag] || value.constructor.name || "Object";
64
- JSCompiler_temp_const.call(
65
- JSCompiler_inline_result,
66
- "The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",
67
- JSCompiler_inline_result$jscomp$0
68
- );
69
- return testStringCoercion(value);
70
- }
71
- }
72
- function getComponentNameFromType(type) {
73
- if (null == type) return null;
74
- if ("function" === typeof type)
75
- return type.$$typeof === REACT_CLIENT_REFERENCE ? null : type.displayName || type.name || null;
76
- if ("string" === typeof type) return type;
77
- switch (type) {
78
- case REACT_FRAGMENT_TYPE:
79
- return "Fragment";
80
- case REACT_PROFILER_TYPE:
81
- return "Profiler";
82
- case REACT_STRICT_MODE_TYPE:
83
- return "StrictMode";
84
- case REACT_SUSPENSE_TYPE:
85
- return "Suspense";
86
- case REACT_SUSPENSE_LIST_TYPE:
87
- return "SuspenseList";
88
- case REACT_ACTIVITY_TYPE:
89
- return "Activity";
90
- }
91
- if ("object" === typeof type)
92
- switch ("number" === typeof type.tag && console.error(
93
- "Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."
94
- ), type.$$typeof) {
95
- case REACT_PORTAL_TYPE:
96
- return "Portal";
97
- case REACT_CONTEXT_TYPE:
98
- return (type.displayName || "Context") + ".Provider";
99
- case REACT_CONSUMER_TYPE:
100
- return (type._context.displayName || "Context") + ".Consumer";
101
- case REACT_FORWARD_REF_TYPE:
102
- var innerType = type.render;
103
- type = type.displayName;
104
- type || (type = innerType.displayName || innerType.name || "", type = "" !== type ? "ForwardRef(" + type + ")" : "ForwardRef");
105
- return type;
106
- case REACT_MEMO_TYPE:
107
- return innerType = type.displayName || null, null !== innerType ? innerType : getComponentNameFromType(type.type) || "Memo";
108
- case REACT_LAZY_TYPE:
109
- innerType = type._payload;
110
- type = type._init;
111
- try {
112
- return getComponentNameFromType(type(innerType));
113
- } catch (x) {
114
- }
115
- }
116
- return null;
117
- }
118
- function getTaskName(type) {
119
- if (type === REACT_FRAGMENT_TYPE) return "<>";
120
- if ("object" === typeof type && null !== type && type.$$typeof === REACT_LAZY_TYPE)
121
- return "<...>";
122
- try {
123
- var name = getComponentNameFromType(type);
124
- return name ? "<" + name + ">" : "<...>";
125
- } catch (x) {
126
- return "<...>";
127
- }
128
- }
129
- function getOwner() {
130
- var dispatcher = ReactSharedInternals.A;
131
- return null === dispatcher ? null : dispatcher.getOwner();
132
- }
133
- function UnknownOwner() {
134
- return Error("react-stack-top-frame");
135
- }
136
- function hasValidKey(config) {
137
- if (hasOwnProperty.call(config, "key")) {
138
- var getter = Object.getOwnPropertyDescriptor(config, "key").get;
139
- if (getter && getter.isReactWarning) return false;
140
- }
141
- return void 0 !== config.key;
142
- }
143
- function defineKeyPropWarningGetter(props, displayName) {
144
- function warnAboutAccessingKey() {
145
- specialPropKeyWarningShown || (specialPropKeyWarningShown = true, console.error(
146
- "%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)",
147
- displayName
148
- ));
149
- }
150
- warnAboutAccessingKey.isReactWarning = true;
151
- Object.defineProperty(props, "key", {
152
- get: warnAboutAccessingKey,
153
- configurable: true
154
- });
155
- }
156
- function elementRefGetterWithDeprecationWarning() {
157
- var componentName = getComponentNameFromType(this.type);
158
- didWarnAboutElementRef[componentName] || (didWarnAboutElementRef[componentName] = true, console.error(
159
- "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."
160
- ));
161
- componentName = this.props.ref;
162
- return void 0 !== componentName ? componentName : null;
163
- }
164
- function ReactElement(type, key, self, source, owner, props, debugStack, debugTask) {
165
- self = props.ref;
166
- type = {
167
- $$typeof: REACT_ELEMENT_TYPE,
168
- type,
169
- key,
170
- props,
171
- _owner: owner
172
- };
173
- null !== (void 0 !== self ? self : null) ? Object.defineProperty(type, "ref", {
174
- enumerable: false,
175
- get: elementRefGetterWithDeprecationWarning
176
- }) : Object.defineProperty(type, "ref", { enumerable: false, value: null });
177
- type._store = {};
178
- Object.defineProperty(type._store, "validated", {
179
- configurable: false,
180
- enumerable: false,
181
- writable: true,
182
- value: 0
183
- });
184
- Object.defineProperty(type, "_debugInfo", {
185
- configurable: false,
186
- enumerable: false,
187
- writable: true,
188
- value: null
189
- });
190
- Object.defineProperty(type, "_debugStack", {
191
- configurable: false,
192
- enumerable: false,
193
- writable: true,
194
- value: debugStack
195
- });
196
- Object.defineProperty(type, "_debugTask", {
197
- configurable: false,
198
- enumerable: false,
199
- writable: true,
200
- value: debugTask
201
- });
202
- Object.freeze && (Object.freeze(type.props), Object.freeze(type));
203
- return type;
204
- }
205
- function cloneAndReplaceKey(oldElement, newKey) {
206
- newKey = ReactElement(
207
- oldElement.type,
208
- newKey,
209
- void 0,
210
- void 0,
211
- oldElement._owner,
212
- oldElement.props,
213
- oldElement._debugStack,
214
- oldElement._debugTask
215
- );
216
- oldElement._store && (newKey._store.validated = oldElement._store.validated);
217
- return newKey;
218
- }
219
- function isValidElement(object) {
220
- return "object" === typeof object && null !== object && object.$$typeof === REACT_ELEMENT_TYPE;
221
- }
222
- function escape(key) {
223
- var escaperLookup = { "=": "=0", ":": "=2" };
224
- return "$" + key.replace(/[=:]/g, function(match) {
225
- return escaperLookup[match];
226
- });
227
- }
228
- function getElementKey(element, index) {
229
- return "object" === typeof element && null !== element && null != element.key ? (checkKeyStringCoercion(element.key), escape("" + element.key)) : index.toString(36);
230
- }
231
- function noop$1() {
232
- }
233
- function resolveThenable(thenable) {
234
- switch (thenable.status) {
235
- case "fulfilled":
236
- return thenable.value;
237
- case "rejected":
238
- throw thenable.reason;
239
- default:
240
- switch ("string" === typeof thenable.status ? thenable.then(noop$1, noop$1) : (thenable.status = "pending", thenable.then(
241
- function(fulfilledValue) {
242
- "pending" === thenable.status && (thenable.status = "fulfilled", thenable.value = fulfilledValue);
243
- },
244
- function(error) {
245
- "pending" === thenable.status && (thenable.status = "rejected", thenable.reason = error);
246
- }
247
- )), thenable.status) {
248
- case "fulfilled":
249
- return thenable.value;
250
- case "rejected":
251
- throw thenable.reason;
252
- }
253
- }
254
- throw thenable;
255
- }
256
- function mapIntoArray(children, array, escapedPrefix, nameSoFar, callback) {
257
- var type = typeof children;
258
- if ("undefined" === type || "boolean" === type) children = null;
259
- var invokeCallback = false;
260
- if (null === children) invokeCallback = true;
261
- else
262
- switch (type) {
263
- case "bigint":
264
- case "string":
265
- case "number":
266
- invokeCallback = true;
267
- break;
268
- case "object":
269
- switch (children.$$typeof) {
270
- case REACT_ELEMENT_TYPE:
271
- case REACT_PORTAL_TYPE:
272
- invokeCallback = true;
273
- break;
274
- case REACT_LAZY_TYPE:
275
- return invokeCallback = children._init, mapIntoArray(
276
- invokeCallback(children._payload),
277
- array,
278
- escapedPrefix,
279
- nameSoFar,
280
- callback
281
- );
282
- }
283
- }
284
- if (invokeCallback) {
285
- invokeCallback = children;
286
- callback = callback(invokeCallback);
287
- var childKey = "" === nameSoFar ? "." + getElementKey(invokeCallback, 0) : nameSoFar;
288
- isArrayImpl(callback) ? (escapedPrefix = "", null != childKey && (escapedPrefix = childKey.replace(userProvidedKeyEscapeRegex, "$&/") + "/"), mapIntoArray(callback, array, escapedPrefix, "", function(c) {
289
- return c;
290
- })) : null != callback && (isValidElement(callback) && (null != callback.key && (invokeCallback && invokeCallback.key === callback.key || checkKeyStringCoercion(callback.key)), escapedPrefix = cloneAndReplaceKey(
291
- callback,
292
- escapedPrefix + (null == callback.key || invokeCallback && invokeCallback.key === callback.key ? "" : ("" + callback.key).replace(
293
- userProvidedKeyEscapeRegex,
294
- "$&/"
295
- ) + "/") + childKey
296
- ), "" !== nameSoFar && null != invokeCallback && isValidElement(invokeCallback) && null == invokeCallback.key && invokeCallback._store && !invokeCallback._store.validated && (escapedPrefix._store.validated = 2), callback = escapedPrefix), array.push(callback));
297
- return 1;
298
- }
299
- invokeCallback = 0;
300
- childKey = "" === nameSoFar ? "." : nameSoFar + ":";
301
- if (isArrayImpl(children))
302
- for (var i = 0; i < children.length; i++)
303
- nameSoFar = children[i], type = childKey + getElementKey(nameSoFar, i), invokeCallback += mapIntoArray(
304
- nameSoFar,
305
- array,
306
- escapedPrefix,
307
- type,
308
- callback
309
- );
310
- else if (i = getIteratorFn(children), "function" === typeof i)
311
- for (i === children.entries && (didWarnAboutMaps || console.warn(
312
- "Using Maps as children is not supported. Use an array of keyed ReactElements instead."
313
- ), didWarnAboutMaps = true), children = i.call(children), i = 0; !(nameSoFar = children.next()).done; )
314
- nameSoFar = nameSoFar.value, type = childKey + getElementKey(nameSoFar, i++), invokeCallback += mapIntoArray(
315
- nameSoFar,
316
- array,
317
- escapedPrefix,
318
- type,
319
- callback
320
- );
321
- else if ("object" === type) {
322
- if ("function" === typeof children.then)
323
- return mapIntoArray(
324
- resolveThenable(children),
325
- array,
326
- escapedPrefix,
327
- nameSoFar,
328
- callback
329
- );
330
- array = String(children);
331
- throw Error(
332
- "Objects are not valid as a React child (found: " + ("[object Object]" === array ? "object with keys {" + Object.keys(children).join(", ") + "}" : array) + "). If you meant to render a collection of children, use an array instead."
333
- );
334
- }
335
- return invokeCallback;
336
- }
337
- function mapChildren(children, func, context) {
338
- if (null == children) return children;
339
- var result = [], count = 0;
340
- mapIntoArray(children, result, "", "", function(child) {
341
- return func.call(context, child, count++);
342
- });
343
- return result;
344
- }
345
- function lazyInitializer(payload) {
346
- if (-1 === payload._status) {
347
- var ctor = payload._result;
348
- ctor = ctor();
349
- ctor.then(
350
- function(moduleObject) {
351
- if (0 === payload._status || -1 === payload._status)
352
- payload._status = 1, payload._result = moduleObject;
353
- },
354
- function(error) {
355
- if (0 === payload._status || -1 === payload._status)
356
- payload._status = 2, payload._result = error;
357
- }
358
- );
359
- -1 === payload._status && (payload._status = 0, payload._result = ctor);
360
- }
361
- if (1 === payload._status)
362
- return ctor = payload._result, void 0 === ctor && console.error(
363
- "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?",
364
- ctor
365
- ), "default" in ctor || console.error(
366
- "lazy: Expected the result of a dynamic import() call. Instead received: %s\n\nYour code should look like: \n const MyComponent = lazy(() => import('./MyComponent'))",
367
- ctor
368
- ), ctor.default;
369
- throw payload._result;
370
- }
371
- function resolveDispatcher() {
372
- var dispatcher = ReactSharedInternals.H;
373
- null === dispatcher && console.error(
374
- "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."
375
- );
376
- return dispatcher;
377
- }
378
- function noop() {
379
- }
380
- function enqueueTask(task) {
381
- if (null === enqueueTaskImpl)
382
- try {
383
- var requireString = ("require" + Math.random()).slice(0, 7);
384
- enqueueTaskImpl = (module && module[requireString]).call(
385
- module,
386
- "timers"
387
- ).setImmediate;
388
- } catch (_err) {
389
- enqueueTaskImpl = function(callback) {
390
- false === didWarnAboutMessageChannel && (didWarnAboutMessageChannel = true, "undefined" === typeof MessageChannel && console.error(
391
- "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."
392
- ));
393
- var channel = new MessageChannel();
394
- channel.port1.onmessage = callback;
395
- channel.port2.postMessage(void 0);
396
- };
397
- }
398
- return enqueueTaskImpl(task);
399
- }
400
- function aggregateErrors(errors) {
401
- return 1 < errors.length && "function" === typeof AggregateError ? new AggregateError(errors) : errors[0];
402
- }
403
- function popActScope(prevActQueue, prevActScopeDepth) {
404
- prevActScopeDepth !== actScopeDepth - 1 && console.error(
405
- "You seem to have overlapping act() calls, this is not supported. Be sure to await previous act() calls before making a new one. "
406
- );
407
- actScopeDepth = prevActScopeDepth;
408
- }
409
- function recursivelyFlushAsyncActWork(returnValue, resolve, reject) {
410
- var queue = ReactSharedInternals.actQueue;
411
- if (null !== queue)
412
- if (0 !== queue.length)
413
- try {
414
- flushActQueue(queue);
415
- enqueueTask(function() {
416
- return recursivelyFlushAsyncActWork(returnValue, resolve, reject);
417
- });
418
- return;
419
- } catch (error) {
420
- ReactSharedInternals.thrownErrors.push(error);
421
- }
422
- else ReactSharedInternals.actQueue = null;
423
- 0 < ReactSharedInternals.thrownErrors.length ? (queue = aggregateErrors(ReactSharedInternals.thrownErrors), ReactSharedInternals.thrownErrors.length = 0, reject(queue)) : resolve(returnValue);
424
- }
425
- function flushActQueue(queue) {
426
- if (!isFlushing) {
427
- isFlushing = true;
428
- var i = 0;
429
- try {
430
- for (; i < queue.length; i++) {
431
- var callback = queue[i];
432
- do {
433
- ReactSharedInternals.didUsePromise = false;
434
- var continuation = callback(false);
435
- if (null !== continuation) {
436
- if (ReactSharedInternals.didUsePromise) {
437
- queue[i] = callback;
438
- queue.splice(0, i);
439
- return;
440
- }
441
- callback = continuation;
442
- } else break;
443
- } while (1);
444
- }
445
- queue.length = 0;
446
- } catch (error) {
447
- queue.splice(0, i + 1), ReactSharedInternals.thrownErrors.push(error);
448
- } finally {
449
- isFlushing = false;
450
- }
451
- }
452
- }
453
- "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ && "function" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());
454
- var REACT_ELEMENT_TYPE = Symbol.for("react.transitional.element"), REACT_PORTAL_TYPE = Symbol.for("react.portal"), REACT_FRAGMENT_TYPE = Symbol.for("react.fragment"), REACT_STRICT_MODE_TYPE = Symbol.for("react.strict_mode"), REACT_PROFILER_TYPE = Symbol.for("react.profiler");
455
- Symbol.for("react.provider");
456
- var REACT_CONSUMER_TYPE = Symbol.for("react.consumer"), REACT_CONTEXT_TYPE = Symbol.for("react.context"), REACT_FORWARD_REF_TYPE = Symbol.for("react.forward_ref"), REACT_SUSPENSE_TYPE = Symbol.for("react.suspense"), REACT_SUSPENSE_LIST_TYPE = Symbol.for("react.suspense_list"), REACT_MEMO_TYPE = Symbol.for("react.memo"), REACT_LAZY_TYPE = Symbol.for("react.lazy"), REACT_ACTIVITY_TYPE = Symbol.for("react.activity"), MAYBE_ITERATOR_SYMBOL = Symbol.iterator, didWarnStateUpdateForUnmountedComponent = {}, ReactNoopUpdateQueue = {
457
- isMounted: function() {
458
- return false;
459
- },
460
- enqueueForceUpdate: function(publicInstance) {
461
- warnNoop(publicInstance, "forceUpdate");
462
- },
463
- enqueueReplaceState: function(publicInstance) {
464
- warnNoop(publicInstance, "replaceState");
465
- },
466
- enqueueSetState: function(publicInstance) {
467
- warnNoop(publicInstance, "setState");
468
- }
469
- }, assign = Object.assign, emptyObject = {};
470
- Object.freeze(emptyObject);
471
- Component.prototype.isReactComponent = {};
472
- Component.prototype.setState = function(partialState, callback) {
473
- if ("object" !== typeof partialState && "function" !== typeof partialState && null != partialState)
474
- throw Error(
475
- "takes an object of state variables to update or a function which returns an object of state variables."
476
- );
477
- this.updater.enqueueSetState(this, partialState, callback, "setState");
478
- };
479
- Component.prototype.forceUpdate = function(callback) {
480
- this.updater.enqueueForceUpdate(this, callback, "forceUpdate");
481
- };
482
- var deprecatedAPIs = {
483
- isMounted: [
484
- "isMounted",
485
- "Instead, make sure to clean up subscriptions and pending requests in componentWillUnmount to prevent memory leaks."
486
- ],
487
- replaceState: [
488
- "replaceState",
489
- "Refactor your code to use setState instead (see https://github.com/facebook/react/issues/3236)."
490
- ]
491
- }, fnName;
492
- for (fnName in deprecatedAPIs)
493
- deprecatedAPIs.hasOwnProperty(fnName) && defineDeprecationWarning(fnName, deprecatedAPIs[fnName]);
494
- ComponentDummy.prototype = Component.prototype;
495
- deprecatedAPIs = PureComponent.prototype = new ComponentDummy();
496
- deprecatedAPIs.constructor = PureComponent;
497
- assign(deprecatedAPIs, Component.prototype);
498
- deprecatedAPIs.isPureReactComponent = true;
499
- var isArrayImpl = Array.isArray, REACT_CLIENT_REFERENCE = Symbol.for("react.client.reference"), ReactSharedInternals = {
500
- H: null,
501
- A: null,
502
- T: null,
503
- S: null,
504
- V: null,
505
- actQueue: null,
506
- isBatchingLegacy: false,
507
- didScheduleLegacyUpdate: false,
508
- didUsePromise: false,
509
- thrownErrors: [],
510
- getCurrentStack: null,
511
- recentlyCreatedOwnerStacks: 0
512
- }, hasOwnProperty = Object.prototype.hasOwnProperty, createTask = console.createTask ? console.createTask : function() {
513
- return null;
514
- };
515
- deprecatedAPIs = {
516
- react_stack_bottom_frame: function(callStackForError) {
517
- return callStackForError();
518
- }
519
- };
520
- var specialPropKeyWarningShown, didWarnAboutOldJSXRuntime;
521
- var didWarnAboutElementRef = {};
522
- var unknownOwnerDebugStack = deprecatedAPIs.react_stack_bottom_frame.bind(
523
- deprecatedAPIs,
524
- UnknownOwner
525
- )();
526
- var unknownOwnerDebugTask = createTask(getTaskName(UnknownOwner));
527
- var didWarnAboutMaps = false, userProvidedKeyEscapeRegex = /\/+/g, reportGlobalError = "function" === typeof reportError ? reportError : function(error) {
528
- if ("object" === typeof window && "function" === typeof window.ErrorEvent) {
529
- var event = new window.ErrorEvent("error", {
530
- bubbles: true,
531
- cancelable: true,
532
- message: "object" === typeof error && null !== error && "string" === typeof error.message ? String(error.message) : String(error),
533
- error
534
- });
535
- if (!window.dispatchEvent(event)) return;
536
- } else if ("object" === typeof process && "function" === typeof process.emit) {
537
- process.emit("uncaughtException", error);
538
- return;
539
- }
540
- console.error(error);
541
- }, didWarnAboutMessageChannel = false, enqueueTaskImpl = null, actScopeDepth = 0, didWarnNoAwaitAct = false, isFlushing = false, queueSeveralMicrotasks = "function" === typeof queueMicrotask ? function(callback) {
542
- queueMicrotask(function() {
543
- return queueMicrotask(callback);
544
- });
545
- } : enqueueTask;
546
- deprecatedAPIs = Object.freeze({
547
- __proto__: null,
548
- c: function(size) {
549
- return resolveDispatcher().useMemoCache(size);
550
- }
551
- });
552
- exports.Children = {
553
- map: mapChildren,
554
- forEach: function(children, forEachFunc, forEachContext) {
555
- mapChildren(
556
- children,
557
- function() {
558
- forEachFunc.apply(this, arguments);
559
- },
560
- forEachContext
561
- );
562
- },
563
- count: function(children) {
564
- var n = 0;
565
- mapChildren(children, function() {
566
- n++;
567
- });
568
- return n;
569
- },
570
- toArray: function(children) {
571
- return mapChildren(children, function(child) {
572
- return child;
573
- }) || [];
574
- },
575
- only: function(children) {
576
- if (!isValidElement(children))
577
- throw Error(
578
- "React.Children.only expected to receive a single React element child."
579
- );
580
- return children;
581
- }
582
- };
583
- exports.Component = Component;
584
- exports.Fragment = REACT_FRAGMENT_TYPE;
585
- exports.Profiler = REACT_PROFILER_TYPE;
586
- exports.PureComponent = PureComponent;
587
- exports.StrictMode = REACT_STRICT_MODE_TYPE;
588
- exports.Suspense = REACT_SUSPENSE_TYPE;
589
- exports.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE = ReactSharedInternals;
590
- exports.__COMPILER_RUNTIME = deprecatedAPIs;
591
- exports.act = function(callback) {
592
- var prevActQueue = ReactSharedInternals.actQueue, prevActScopeDepth = actScopeDepth;
593
- actScopeDepth++;
594
- var queue = ReactSharedInternals.actQueue = null !== prevActQueue ? prevActQueue : [], didAwaitActCall = false;
595
- try {
596
- var result = callback();
597
- } catch (error) {
598
- ReactSharedInternals.thrownErrors.push(error);
599
- }
600
- if (0 < ReactSharedInternals.thrownErrors.length)
601
- throw popActScope(prevActQueue, prevActScopeDepth), callback = aggregateErrors(ReactSharedInternals.thrownErrors), ReactSharedInternals.thrownErrors.length = 0, callback;
602
- if (null !== result && "object" === typeof result && "function" === typeof result.then) {
603
- var thenable = result;
604
- queueSeveralMicrotasks(function() {
605
- didAwaitActCall || didWarnNoAwaitAct || (didWarnNoAwaitAct = true, console.error(
606
- "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 () => ...);"
607
- ));
608
- });
609
- return {
610
- then: function(resolve, reject) {
611
- didAwaitActCall = true;
612
- thenable.then(
613
- function(returnValue) {
614
- popActScope(prevActQueue, prevActScopeDepth);
615
- if (0 === prevActScopeDepth) {
616
- try {
617
- flushActQueue(queue), enqueueTask(function() {
618
- return recursivelyFlushAsyncActWork(
619
- returnValue,
620
- resolve,
621
- reject
622
- );
623
- });
624
- } catch (error$0) {
625
- ReactSharedInternals.thrownErrors.push(error$0);
626
- }
627
- if (0 < ReactSharedInternals.thrownErrors.length) {
628
- var _thrownError = aggregateErrors(
629
- ReactSharedInternals.thrownErrors
630
- );
631
- ReactSharedInternals.thrownErrors.length = 0;
632
- reject(_thrownError);
633
- }
634
- } else resolve(returnValue);
635
- },
636
- function(error) {
637
- popActScope(prevActQueue, prevActScopeDepth);
638
- 0 < ReactSharedInternals.thrownErrors.length ? (error = aggregateErrors(
639
- ReactSharedInternals.thrownErrors
640
- ), ReactSharedInternals.thrownErrors.length = 0, reject(error)) : reject(error);
641
- }
642
- );
643
- }
644
- };
645
- }
646
- var returnValue$jscomp$0 = result;
647
- popActScope(prevActQueue, prevActScopeDepth);
648
- 0 === prevActScopeDepth && (flushActQueue(queue), 0 !== queue.length && queueSeveralMicrotasks(function() {
649
- didAwaitActCall || didWarnNoAwaitAct || (didWarnNoAwaitAct = true, console.error(
650
- "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(() => ...)"
651
- ));
652
- }), ReactSharedInternals.actQueue = null);
653
- if (0 < ReactSharedInternals.thrownErrors.length)
654
- throw callback = aggregateErrors(ReactSharedInternals.thrownErrors), ReactSharedInternals.thrownErrors.length = 0, callback;
655
- return {
656
- then: function(resolve, reject) {
657
- didAwaitActCall = true;
658
- 0 === prevActScopeDepth ? (ReactSharedInternals.actQueue = queue, enqueueTask(function() {
659
- return recursivelyFlushAsyncActWork(
660
- returnValue$jscomp$0,
661
- resolve,
662
- reject
663
- );
664
- })) : resolve(returnValue$jscomp$0);
665
- }
666
- };
667
- };
668
- exports.cache = function(fn) {
669
- return function() {
670
- return fn.apply(null, arguments);
671
- };
672
- };
673
- exports.captureOwnerStack = function() {
674
- var getCurrentStack = ReactSharedInternals.getCurrentStack;
675
- return null === getCurrentStack ? null : getCurrentStack();
676
- };
677
- exports.cloneElement = function(element, config, children) {
678
- if (null === element || void 0 === element)
679
- throw Error(
680
- "The argument must be a React element, but you passed " + element + "."
681
- );
682
- var props = assign({}, element.props), key = element.key, owner = element._owner;
683
- if (null != config) {
684
- var JSCompiler_inline_result;
685
- a: {
686
- if (hasOwnProperty.call(config, "ref") && (JSCompiler_inline_result = Object.getOwnPropertyDescriptor(
687
- config,
688
- "ref"
689
- ).get) && JSCompiler_inline_result.isReactWarning) {
690
- JSCompiler_inline_result = false;
691
- break a;
692
- }
693
- JSCompiler_inline_result = void 0 !== config.ref;
694
- }
695
- JSCompiler_inline_result && (owner = getOwner());
696
- hasValidKey(config) && (checkKeyStringCoercion(config.key), key = "" + config.key);
697
- for (propName in config)
698
- !hasOwnProperty.call(config, propName) || "key" === propName || "__self" === propName || "__source" === propName || "ref" === propName && void 0 === config.ref || (props[propName] = config[propName]);
699
- }
700
- var propName = arguments.length - 2;
701
- if (1 === propName) props.children = children;
702
- else if (1 < propName) {
703
- JSCompiler_inline_result = Array(propName);
704
- for (var i = 0; i < propName; i++)
705
- JSCompiler_inline_result[i] = arguments[i + 2];
706
- props.children = JSCompiler_inline_result;
707
- }
708
- props = ReactElement(
709
- element.type,
710
- key,
711
- void 0,
712
- void 0,
713
- owner,
714
- props,
715
- element._debugStack,
716
- element._debugTask
717
- );
718
- for (key = 2; key < arguments.length; key++)
719
- owner = arguments[key], isValidElement(owner) && owner._store && (owner._store.validated = 1);
720
- return props;
721
- };
722
- exports.createContext = function(defaultValue) {
723
- defaultValue = {
724
- $$typeof: REACT_CONTEXT_TYPE,
725
- _currentValue: defaultValue,
726
- _currentValue2: defaultValue,
727
- _threadCount: 0,
728
- Provider: null,
729
- Consumer: null
730
- };
731
- defaultValue.Provider = defaultValue;
732
- defaultValue.Consumer = {
733
- $$typeof: REACT_CONSUMER_TYPE,
734
- _context: defaultValue
735
- };
736
- defaultValue._currentRenderer = null;
737
- defaultValue._currentRenderer2 = null;
738
- return defaultValue;
739
- };
740
- exports.createElement = function(type, config, children) {
741
- for (var i = 2; i < arguments.length; i++) {
742
- var node = arguments[i];
743
- isValidElement(node) && node._store && (node._store.validated = 1);
744
- }
745
- i = {};
746
- node = null;
747
- if (null != config)
748
- for (propName in didWarnAboutOldJSXRuntime || !("__self" in config) || "key" in config || (didWarnAboutOldJSXRuntime = true, console.warn(
749
- "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"
750
- )), hasValidKey(config) && (checkKeyStringCoercion(config.key), node = "" + config.key), config)
751
- hasOwnProperty.call(config, propName) && "key" !== propName && "__self" !== propName && "__source" !== propName && (i[propName] = config[propName]);
752
- var childrenLength = arguments.length - 2;
753
- if (1 === childrenLength) i.children = children;
754
- else if (1 < childrenLength) {
755
- for (var childArray = Array(childrenLength), _i = 0; _i < childrenLength; _i++)
756
- childArray[_i] = arguments[_i + 2];
757
- Object.freeze && Object.freeze(childArray);
758
- i.children = childArray;
759
- }
760
- if (type && type.defaultProps)
761
- for (propName in childrenLength = type.defaultProps, childrenLength)
762
- void 0 === i[propName] && (i[propName] = childrenLength[propName]);
763
- node && defineKeyPropWarningGetter(
764
- i,
765
- "function" === typeof type ? type.displayName || type.name || "Unknown" : type
766
- );
767
- var propName = 1e4 > ReactSharedInternals.recentlyCreatedOwnerStacks++;
768
- return ReactElement(
769
- type,
770
- node,
771
- void 0,
772
- void 0,
773
- getOwner(),
774
- i,
775
- propName ? Error("react-stack-top-frame") : unknownOwnerDebugStack,
776
- propName ? createTask(getTaskName(type)) : unknownOwnerDebugTask
777
- );
778
- };
779
- exports.createRef = function() {
780
- var refObject = { current: null };
781
- Object.seal(refObject);
782
- return refObject;
783
- };
784
- exports.forwardRef = function(render) {
785
- null != render && render.$$typeof === REACT_MEMO_TYPE ? console.error(
786
- "forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...))."
787
- ) : "function" !== typeof render ? console.error(
788
- "forwardRef requires a render function but was given %s.",
789
- null === render ? "null" : typeof render
790
- ) : 0 !== render.length && 2 !== render.length && console.error(
791
- "forwardRef render functions accept exactly two parameters: props and ref. %s",
792
- 1 === render.length ? "Did you forget to use the ref parameter?" : "Any additional parameter will be undefined."
793
- );
794
- null != render && null != render.defaultProps && console.error(
795
- "forwardRef render functions do not support defaultProps. Did you accidentally pass a React component?"
796
- );
797
- var elementType = { $$typeof: REACT_FORWARD_REF_TYPE, render }, ownName;
798
- Object.defineProperty(elementType, "displayName", {
799
- enumerable: false,
800
- configurable: true,
801
- get: function() {
802
- return ownName;
803
- },
804
- set: function(name) {
805
- ownName = name;
806
- render.name || render.displayName || (Object.defineProperty(render, "name", { value: name }), render.displayName = name);
807
- }
808
- });
809
- return elementType;
810
- };
811
- exports.isValidElement = isValidElement;
812
- exports.lazy = function(ctor) {
813
- return {
814
- $$typeof: REACT_LAZY_TYPE,
815
- _payload: { _status: -1, _result: ctor },
816
- _init: lazyInitializer
817
- };
818
- };
819
- exports.memo = function(type, compare) {
820
- null == type && console.error(
821
- "memo: The first argument must be a component. Instead received: %s",
822
- null === type ? "null" : typeof type
823
- );
824
- compare = {
825
- $$typeof: REACT_MEMO_TYPE,
826
- type,
827
- compare: void 0 === compare ? null : compare
828
- };
829
- var ownName;
830
- Object.defineProperty(compare, "displayName", {
831
- enumerable: false,
832
- configurable: true,
833
- get: function() {
834
- return ownName;
835
- },
836
- set: function(name) {
837
- ownName = name;
838
- type.name || type.displayName || (Object.defineProperty(type, "name", { value: name }), type.displayName = name);
839
- }
840
- });
841
- return compare;
842
- };
843
- exports.startTransition = function(scope) {
844
- var prevTransition = ReactSharedInternals.T, currentTransition = {};
845
- ReactSharedInternals.T = currentTransition;
846
- currentTransition._updatedFibers = /* @__PURE__ */ new Set();
847
- try {
848
- var returnValue = scope(), onStartTransitionFinish = ReactSharedInternals.S;
849
- null !== onStartTransitionFinish && onStartTransitionFinish(currentTransition, returnValue);
850
- "object" === typeof returnValue && null !== returnValue && "function" === typeof returnValue.then && returnValue.then(noop, reportGlobalError);
851
- } catch (error) {
852
- reportGlobalError(error);
853
- } finally {
854
- null === prevTransition && currentTransition._updatedFibers && (scope = currentTransition._updatedFibers.size, currentTransition._updatedFibers.clear(), 10 < scope && console.warn(
855
- "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."
856
- )), ReactSharedInternals.T = prevTransition;
857
- }
858
- };
859
- exports.unstable_useCacheRefresh = function() {
860
- return resolveDispatcher().useCacheRefresh();
861
- };
862
- exports.use = function(usable) {
863
- return resolveDispatcher().use(usable);
864
- };
865
- exports.useActionState = function(action, initialState, permalink) {
866
- return resolveDispatcher().useActionState(
867
- action,
868
- initialState,
869
- permalink
870
- );
871
- };
872
- exports.useCallback = function(callback, deps) {
873
- return resolveDispatcher().useCallback(callback, deps);
874
- };
875
- exports.useContext = function(Context) {
876
- var dispatcher = resolveDispatcher();
877
- Context.$$typeof === REACT_CONSUMER_TYPE && console.error(
878
- "Calling useContext(Context.Consumer) is not supported and will cause bugs. Did you mean to call useContext(Context) instead?"
879
- );
880
- return dispatcher.useContext(Context);
881
- };
882
- exports.useDebugValue = function(value, formatterFn) {
883
- return resolveDispatcher().useDebugValue(value, formatterFn);
884
- };
885
- exports.useDeferredValue = function(value, initialValue) {
886
- return resolveDispatcher().useDeferredValue(value, initialValue);
887
- };
888
- exports.useEffect = function(create, createDeps, update) {
889
- null == create && console.warn(
890
- "React Hook useEffect requires an effect callback. Did you forget to pass a callback to the hook?"
891
- );
892
- var dispatcher = resolveDispatcher();
893
- if ("function" === typeof update)
894
- throw Error(
895
- "useEffect CRUD overload is not enabled in this build of React."
896
- );
897
- return dispatcher.useEffect(create, createDeps);
898
- };
899
- exports.useId = function() {
900
- return resolveDispatcher().useId();
901
- };
902
- exports.useImperativeHandle = function(ref, create, deps) {
903
- return resolveDispatcher().useImperativeHandle(ref, create, deps);
904
- };
905
- exports.useInsertionEffect = function(create, deps) {
906
- null == create && console.warn(
907
- "React Hook useInsertionEffect requires an effect callback. Did you forget to pass a callback to the hook?"
908
- );
909
- return resolveDispatcher().useInsertionEffect(create, deps);
910
- };
911
- exports.useLayoutEffect = function(create, deps) {
912
- null == create && console.warn(
913
- "React Hook useLayoutEffect requires an effect callback. Did you forget to pass a callback to the hook?"
914
- );
915
- return resolveDispatcher().useLayoutEffect(create, deps);
916
- };
917
- exports.useMemo = function(create, deps) {
918
- return resolveDispatcher().useMemo(create, deps);
919
- };
920
- exports.useOptimistic = function(passthrough, reducer) {
921
- return resolveDispatcher().useOptimistic(passthrough, reducer);
922
- };
923
- exports.useReducer = function(reducer, initialArg, init) {
924
- return resolveDispatcher().useReducer(reducer, initialArg, init);
925
- };
926
- exports.useRef = function(initialValue) {
927
- return resolveDispatcher().useRef(initialValue);
928
- };
929
- exports.useState = function(initialState) {
930
- return resolveDispatcher().useState(initialState);
931
- };
932
- exports.useSyncExternalStore = function(subscribe, getSnapshot, getServerSnapshot) {
933
- return resolveDispatcher().useSyncExternalStore(
934
- subscribe,
935
- getSnapshot,
936
- getServerSnapshot
937
- );
938
- };
939
- exports.useTransition = function() {
940
- return resolveDispatcher().useTransition();
941
- };
942
- exports.version = "19.1.1";
943
- "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ && "function" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error());
944
- })();
945
- }
946
- });
947
-
948
- // node_modules/react/index.js
949
- var require_react = __commonJS({
950
- "node_modules/react/index.js"(exports, module) {
951
- if (false) {
952
- module.exports = null;
953
- } else {
954
- module.exports = require_react_development();
955
- }
956
- }
957
- });
958
-
959
- export {
960
- require_react
961
- };
962
- /*! Bundled license information:
963
-
964
- react/cjs/react.development.js:
965
- (**
966
- * @license React
967
- * react.development.js
968
- *
969
- * Copyright (c) Meta Platforms, Inc. and affiliates.
970
- *
971
- * This source code is licensed under the MIT license found in the
972
- * LICENSE file in the root directory of this source tree.
973
- *)
974
- */
975
- //# sourceMappingURL=chunk-EL3BNLGW.js.map