@frontify/guideline-blocks-settings 0.27.0 → 0.28.1

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 (485) hide show
  1. package/.eslintrc.js +1 -1
  2. package/CHANGELOG.md +21 -0
  3. package/README.md +24 -5
  4. package/dist/_virtual/_commonjsHelpers.es.js +7 -0
  5. package/dist/_virtual/_commonjsHelpers.es.js.map +1 -0
  6. package/dist/_virtual/index.es.js +5 -0
  7. package/dist/_virtual/index.es.js.map +1 -0
  8. package/dist/_virtual/index.es2.js +5 -0
  9. package/dist/_virtual/index.es2.js.map +1 -0
  10. package/dist/_virtual/index.es3.js +5 -0
  11. package/dist/_virtual/index.es3.js.map +1 -0
  12. package/dist/_virtual/jsx-runtime.es.js +5 -0
  13. package/dist/_virtual/jsx-runtime.es.js.map +1 -0
  14. package/dist/_virtual/react-dom.development.es.js +5 -0
  15. package/dist/_virtual/react-dom.development.es.js.map +1 -0
  16. package/dist/_virtual/react-dom.production.min.es.js +5 -0
  17. package/dist/_virtual/react-dom.production.min.es.js.map +1 -0
  18. package/dist/_virtual/react-jsx-runtime.development.es.js +5 -0
  19. package/dist/_virtual/react-jsx-runtime.development.es.js.map +1 -0
  20. package/dist/_virtual/react-jsx-runtime.production.min.es.js +5 -0
  21. package/dist/_virtual/react-jsx-runtime.production.min.es.js.map +1 -0
  22. package/dist/_virtual/react.development.es.js +5 -0
  23. package/dist/_virtual/react.development.es.js.map +1 -0
  24. package/dist/_virtual/react.production.min.es.js +5 -0
  25. package/dist/_virtual/react.production.min.es.js.map +1 -0
  26. package/dist/_virtual/scheduler.development.es.js +5 -0
  27. package/dist/_virtual/scheduler.development.es.js.map +1 -0
  28. package/dist/_virtual/scheduler.production.min.es.js +5 -0
  29. package/dist/_virtual/scheduler.production.min.es.js.map +1 -0
  30. package/dist/components/Attachments/AttachmentItem.es.js +180 -0
  31. package/dist/components/Attachments/AttachmentItem.es.js.map +1 -0
  32. package/dist/components/Attachments/Attachments.es.js +145 -0
  33. package/dist/components/Attachments/Attachments.es.js.map +1 -0
  34. package/dist/components/BlockInjectButton/BlockInjectButton.es.js +150 -0
  35. package/dist/components/BlockInjectButton/BlockInjectButton.es.js.map +1 -0
  36. package/dist/components/BlockItemWrapper/BlockItemWrapper.es.js +73 -0
  37. package/dist/components/BlockItemWrapper/BlockItemWrapper.es.js.map +1 -0
  38. package/dist/components/BlockItemWrapper/Toolbar.es.js +113 -0
  39. package/dist/components/BlockItemWrapper/Toolbar.es.js.map +1 -0
  40. package/dist/components/BlockItemWrapper/constants.es.js +6 -0
  41. package/dist/components/BlockItemWrapper/constants.es.js.map +1 -0
  42. package/dist/components/DownloadButton/DownloadButton.es.js +39 -0
  43. package/dist/components/DownloadButton/DownloadButton.es.js.map +1 -0
  44. package/dist/components/RichTextEditor/RichTextEditor.es.js +42 -0
  45. package/dist/components/RichTextEditor/RichTextEditor.es.js.map +1 -0
  46. package/dist/components/RichTextEditor/SerializedText.es.js +13 -0
  47. package/dist/components/RichTextEditor/SerializedText.es.js.map +1 -0
  48. package/dist/components/RichTextEditor/constants.es.js +5 -0
  49. package/dist/components/RichTextEditor/constants.es.js.map +1 -0
  50. package/dist/components/RichTextEditor/pluginPresets/defaultPluginsWithLinkChooser.es.js +34 -0
  51. package/dist/components/RichTextEditor/pluginPresets/defaultPluginsWithLinkChooser.es.js.map +1 -0
  52. package/dist/components/RichTextEditor/plugins/ButtonPlugin/ButtonMarkupElement/ButtonMarkupElementNode.es.js +54 -0
  53. package/dist/components/RichTextEditor/plugins/ButtonPlugin/ButtonMarkupElement/ButtonMarkupElementNode.es.js.map +1 -0
  54. package/dist/components/RichTextEditor/plugins/ButtonPlugin/ButtonMarkupElement/index.es.js +12 -0
  55. package/dist/components/RichTextEditor/plugins/ButtonPlugin/ButtonMarkupElement/index.es.js.map +1 -0
  56. package/dist/components/RichTextEditor/plugins/ButtonPlugin/components/ButtonButton.es.js +17 -0
  57. package/dist/components/RichTextEditor/plugins/ButtonPlugin/components/ButtonButton.es.js.map +1 -0
  58. package/dist/components/RichTextEditor/plugins/ButtonPlugin/components/ButtonToolbarButton.es.js +30 -0
  59. package/dist/components/RichTextEditor/plugins/ButtonPlugin/components/ButtonToolbarButton.es.js.map +1 -0
  60. package/dist/components/RichTextEditor/plugins/ButtonPlugin/components/FloatingButton/CustomFloatingButton.es.js +16 -0
  61. package/dist/components/RichTextEditor/plugins/ButtonPlugin/components/FloatingButton/CustomFloatingButton.es.js.map +1 -0
  62. package/dist/components/RichTextEditor/plugins/ButtonPlugin/components/FloatingButton/EditButtonModal/EditModal.es.js +37 -0
  63. package/dist/components/RichTextEditor/plugins/ButtonPlugin/components/FloatingButton/EditButtonModal/EditModal.es.js.map +1 -0
  64. package/dist/components/RichTextEditor/plugins/ButtonPlugin/components/FloatingButton/FloatingButton.es.js +25 -0
  65. package/dist/components/RichTextEditor/plugins/ButtonPlugin/components/FloatingButton/FloatingButton.es.js.map +1 -0
  66. package/dist/components/RichTextEditor/plugins/ButtonPlugin/components/FloatingButton/FloatingButtonEditButton.es.js +20 -0
  67. package/dist/components/RichTextEditor/plugins/ButtonPlugin/components/FloatingButton/FloatingButtonEditButton.es.js.map +1 -0
  68. package/dist/components/RichTextEditor/plugins/ButtonPlugin/components/FloatingButton/FloatingButtonUrlInput.es.js +26 -0
  69. package/dist/components/RichTextEditor/plugins/ButtonPlugin/components/FloatingButton/FloatingButtonUrlInput.es.js.map +1 -0
  70. package/dist/components/RichTextEditor/plugins/ButtonPlugin/components/FloatingButton/InsertButtonModal/InsertButtonModal.es.js +69 -0
  71. package/dist/components/RichTextEditor/plugins/ButtonPlugin/components/FloatingButton/InsertButtonModal/InsertButtonModal.es.js.map +1 -0
  72. package/dist/components/RichTextEditor/plugins/ButtonPlugin/components/FloatingButton/InsertButtonModal/useInsertModal.es.js +105 -0
  73. package/dist/components/RichTextEditor/plugins/ButtonPlugin/components/FloatingButton/InsertButtonModal/useInsertModal.es.js.map +1 -0
  74. package/dist/components/RichTextEditor/plugins/ButtonPlugin/components/FloatingButton/UnlinkButton.es.js +20 -0
  75. package/dist/components/RichTextEditor/plugins/ButtonPlugin/components/FloatingButton/UnlinkButton.es.js.map +1 -0
  76. package/dist/components/RichTextEditor/plugins/ButtonPlugin/components/FloatingButton/floatingButtonStore.es.js +32 -0
  77. package/dist/components/RichTextEditor/plugins/ButtonPlugin/components/FloatingButton/floatingButtonStore.es.js.map +1 -0
  78. package/dist/components/RichTextEditor/plugins/ButtonPlugin/components/FloatingButton/useFloatingButtonEdit.es.js +58 -0
  79. package/dist/components/RichTextEditor/plugins/ButtonPlugin/components/FloatingButton/useFloatingButtonEdit.es.js.map +1 -0
  80. package/dist/components/RichTextEditor/plugins/ButtonPlugin/components/FloatingButton/useFloatingButtonEnter.es.js +19 -0
  81. package/dist/components/RichTextEditor/plugins/ButtonPlugin/components/FloatingButton/useFloatingButtonEnter.es.js.map +1 -0
  82. package/dist/components/RichTextEditor/plugins/ButtonPlugin/components/FloatingButton/useFloatingButtonEscape.es.js +26 -0
  83. package/dist/components/RichTextEditor/plugins/ButtonPlugin/components/FloatingButton/useFloatingButtonEscape.es.js.map +1 -0
  84. package/dist/components/RichTextEditor/plugins/ButtonPlugin/components/FloatingButton/useFloatingButtonInsert.es.js +43 -0
  85. package/dist/components/RichTextEditor/plugins/ButtonPlugin/components/FloatingButton/useFloatingButtonInsert.es.js.map +1 -0
  86. package/dist/components/RichTextEditor/plugins/ButtonPlugin/components/FloatingButton/useVirtualFloatingButton.es.js +18 -0
  87. package/dist/components/RichTextEditor/plugins/ButtonPlugin/components/FloatingButton/useVirtualFloatingButton.es.js.map +1 -0
  88. package/dist/components/RichTextEditor/plugins/ButtonPlugin/createButtonPlugin.es.js +62 -0
  89. package/dist/components/RichTextEditor/plugins/ButtonPlugin/createButtonPlugin.es.js.map +1 -0
  90. package/dist/components/RichTextEditor/plugins/ButtonPlugin/transforms/insertButton.es.js +13 -0
  91. package/dist/components/RichTextEditor/plugins/ButtonPlugin/transforms/insertButton.es.js.map +1 -0
  92. package/dist/components/RichTextEditor/plugins/ButtonPlugin/transforms/submitFloatingButton.es.js +25 -0
  93. package/dist/components/RichTextEditor/plugins/ButtonPlugin/transforms/submitFloatingButton.es.js.map +1 -0
  94. package/dist/components/RichTextEditor/plugins/ButtonPlugin/transforms/unwrapButton.es.js +35 -0
  95. package/dist/components/RichTextEditor/plugins/ButtonPlugin/transforms/unwrapButton.es.js.map +1 -0
  96. package/dist/components/RichTextEditor/plugins/ButtonPlugin/transforms/upsertButton.es.js +86 -0
  97. package/dist/components/RichTextEditor/plugins/ButtonPlugin/transforms/upsertButton.es.js.map +1 -0
  98. package/dist/components/RichTextEditor/plugins/ButtonPlugin/transforms/upsertButtonText.es.js +24 -0
  99. package/dist/components/RichTextEditor/plugins/ButtonPlugin/transforms/upsertButtonText.es.js.map +1 -0
  100. package/dist/components/RichTextEditor/plugins/ButtonPlugin/transforms/wrapButton.es.js +19 -0
  101. package/dist/components/RichTextEditor/plugins/ButtonPlugin/transforms/wrapButton.es.js.map +1 -0
  102. package/dist/components/RichTextEditor/plugins/ButtonPlugin/utils/createButtonNode.es.js +13 -0
  103. package/dist/components/RichTextEditor/plugins/ButtonPlugin/utils/createButtonNode.es.js.map +1 -0
  104. package/dist/components/RichTextEditor/plugins/ButtonPlugin/utils/getButtonStyle.es.js +11 -0
  105. package/dist/components/RichTextEditor/plugins/ButtonPlugin/utils/getButtonStyle.es.js.map +1 -0
  106. package/dist/components/RichTextEditor/plugins/ButtonPlugin/utils/getUrl.es.js +10 -0
  107. package/dist/components/RichTextEditor/plugins/ButtonPlugin/utils/getUrl.es.js.map +1 -0
  108. package/dist/components/RichTextEditor/plugins/ButtonPlugin/utils/styles.es.js +75 -0
  109. package/dist/components/RichTextEditor/plugins/ButtonPlugin/utils/styles.es.js.map +1 -0
  110. package/dist/components/RichTextEditor/plugins/ButtonPlugin/utils/triggerFloatingButton.es.js +18 -0
  111. package/dist/components/RichTextEditor/plugins/ButtonPlugin/utils/triggerFloatingButton.es.js.map +1 -0
  112. package/dist/components/RichTextEditor/plugins/ButtonPlugin/utils/triggerFloatingButtonEdit.es.js +17 -0
  113. package/dist/components/RichTextEditor/plugins/ButtonPlugin/utils/triggerFloatingButtonEdit.es.js.map +1 -0
  114. package/dist/components/RichTextEditor/plugins/ButtonPlugin/utils/triggerFloatingButtonInsert.es.js +14 -0
  115. package/dist/components/RichTextEditor/plugins/ButtonPlugin/utils/triggerFloatingButtonInsert.es.js.map +1 -0
  116. package/dist/components/RichTextEditor/plugins/ButtonPlugin/withButton.es.js +53 -0
  117. package/dist/components/RichTextEditor/plugins/ButtonPlugin/withButton.es.js.map +1 -0
  118. package/dist/components/RichTextEditor/plugins/LinkPlugin/FloatingLink/CustomFloatingLink.es.js +19 -0
  119. package/dist/components/RichTextEditor/plugins/LinkPlugin/FloatingLink/CustomFloatingLink.es.js.map +1 -0
  120. package/dist/components/RichTextEditor/plugins/LinkPlugin/FloatingLink/EditLinkModal/EditModal.es.js +37 -0
  121. package/dist/components/RichTextEditor/plugins/LinkPlugin/FloatingLink/EditLinkModal/EditModal.es.js.map +1 -0
  122. package/dist/components/RichTextEditor/plugins/LinkPlugin/FloatingLink/EditLinkModal/useFloatingLinkEdit.es.js +53 -0
  123. package/dist/components/RichTextEditor/plugins/LinkPlugin/FloatingLink/EditLinkModal/useFloatingLinkEdit.es.js.map +1 -0
  124. package/dist/components/RichTextEditor/plugins/LinkPlugin/FloatingLink/FloatingLink.es.js +29 -0
  125. package/dist/components/RichTextEditor/plugins/LinkPlugin/FloatingLink/FloatingLink.es.js.map +1 -0
  126. package/dist/components/RichTextEditor/plugins/LinkPlugin/FloatingLink/InsertLinkModal/InsertLinkModal.es.js +8 -0
  127. package/dist/components/RichTextEditor/plugins/LinkPlugin/FloatingLink/InsertLinkModal/InsertLinkModal.es.js.map +1 -0
  128. package/dist/components/RichTextEditor/plugins/LinkPlugin/FloatingLink/InsertLinkModal/InsertModal.es.js +80 -0
  129. package/dist/components/RichTextEditor/plugins/LinkPlugin/FloatingLink/InsertLinkModal/InsertModal.es.js.map +1 -0
  130. package/dist/components/RichTextEditor/plugins/LinkPlugin/FloatingLink/InsertLinkModal/useFloatingLinkInsert.es.js +40 -0
  131. package/dist/components/RichTextEditor/plugins/LinkPlugin/FloatingLink/InsertLinkModal/useFloatingLinkInsert.es.js.map +1 -0
  132. package/dist/components/RichTextEditor/plugins/LinkPlugin/FloatingLink/InsertLinkModal/useInsertModal.es.js +93 -0
  133. package/dist/components/RichTextEditor/plugins/LinkPlugin/FloatingLink/InsertLinkModal/useInsertModal.es.js.map +1 -0
  134. package/dist/components/RichTextEditor/plugins/LinkPlugin/LinkButton.es.js +25 -0
  135. package/dist/components/RichTextEditor/plugins/LinkPlugin/LinkButton.es.js.map +1 -0
  136. package/dist/components/RichTextEditor/plugins/LinkPlugin/LinkMarkupElement/LinkMarkupElementNode.es.js +27 -0
  137. package/dist/components/RichTextEditor/plugins/LinkPlugin/LinkMarkupElement/LinkMarkupElementNode.es.js.map +1 -0
  138. package/dist/components/RichTextEditor/plugins/LinkPlugin/LinkMarkupElement/index.es.js +12 -0
  139. package/dist/components/RichTextEditor/plugins/LinkPlugin/LinkMarkupElement/index.es.js.map +1 -0
  140. package/dist/components/RichTextEditor/plugins/LinkPlugin/id.es.js +5 -0
  141. package/dist/components/RichTextEditor/plugins/LinkPlugin/id.es.js.map +1 -0
  142. package/dist/components/RichTextEditor/plugins/LinkPlugin/index.es.js +39 -0
  143. package/dist/components/RichTextEditor/plugins/LinkPlugin/index.es.js.map +1 -0
  144. package/dist/components/RichTextEditor/plugins/LinkPlugin/utils/getUrl.es.js +18 -0
  145. package/dist/components/RichTextEditor/plugins/LinkPlugin/utils/getUrl.es.js.map +1 -0
  146. package/dist/components/RichTextEditor/plugins/LinkPlugin/utils/relativeUrlRegex.es.js +5 -0
  147. package/dist/components/RichTextEditor/plugins/LinkPlugin/utils/relativeUrlRegex.es.js.map +1 -0
  148. package/dist/components/RichTextEditor/plugins/LinkPlugin/utils/url.es.js +17 -0
  149. package/dist/components/RichTextEditor/plugins/LinkPlugin/utils/url.es.js.map +1 -0
  150. package/dist/components/RichTextEditor/plugins/TextStylePlugins/custom1Plugin.es.js +45 -0
  151. package/dist/components/RichTextEditor/plugins/TextStylePlugins/custom1Plugin.es.js.map +1 -0
  152. package/dist/components/RichTextEditor/plugins/TextStylePlugins/custom2Plugin.es.js +45 -0
  153. package/dist/components/RichTextEditor/plugins/TextStylePlugins/custom2Plugin.es.js.map +1 -0
  154. package/dist/components/RichTextEditor/plugins/TextStylePlugins/custom3Plugin.es.js +45 -0
  155. package/dist/components/RichTextEditor/plugins/TextStylePlugins/custom3Plugin.es.js.map +1 -0
  156. package/dist/components/RichTextEditor/plugins/TextStylePlugins/heading1Plugin.es.js +46 -0
  157. package/dist/components/RichTextEditor/plugins/TextStylePlugins/heading1Plugin.es.js.map +1 -0
  158. package/dist/components/RichTextEditor/plugins/TextStylePlugins/heading2Plugin.es.js +39 -0
  159. package/dist/components/RichTextEditor/plugins/TextStylePlugins/heading2Plugin.es.js.map +1 -0
  160. package/dist/components/RichTextEditor/plugins/TextStylePlugins/heading3Plugin.es.js +39 -0
  161. package/dist/components/RichTextEditor/plugins/TextStylePlugins/heading3Plugin.es.js.map +1 -0
  162. package/dist/components/RichTextEditor/plugins/TextStylePlugins/heading4Plugin.es.js +39 -0
  163. package/dist/components/RichTextEditor/plugins/TextStylePlugins/heading4Plugin.es.js.map +1 -0
  164. package/dist/components/RichTextEditor/plugins/TextStylePlugins/helpers.es.js +40 -0
  165. package/dist/components/RichTextEditor/plugins/TextStylePlugins/helpers.es.js.map +1 -0
  166. package/dist/components/RichTextEditor/plugins/TextStylePlugins/imageCaptionPlugin.es.js +46 -0
  167. package/dist/components/RichTextEditor/plugins/TextStylePlugins/imageCaptionPlugin.es.js.map +1 -0
  168. package/dist/components/RichTextEditor/plugins/TextStylePlugins/imageTitlePlugin.es.js +46 -0
  169. package/dist/components/RichTextEditor/plugins/TextStylePlugins/imageTitlePlugin.es.js.map +1 -0
  170. package/dist/components/RichTextEditor/plugins/TextStylePlugins/paragraphPlugin.es.js +41 -0
  171. package/dist/components/RichTextEditor/plugins/TextStylePlugins/paragraphPlugin.es.js.map +1 -0
  172. package/dist/components/RichTextEditor/plugins/TextStylePlugins/quotePlugin.es.js +48 -0
  173. package/dist/components/RichTextEditor/plugins/TextStylePlugins/quotePlugin.es.js.map +1 -0
  174. package/dist/components/RichTextEditor/plugins/shared/LinkSelector/DocumentLink.es.js +68 -0
  175. package/dist/components/RichTextEditor/plugins/shared/LinkSelector/DocumentLink.es.js.map +1 -0
  176. package/dist/components/RichTextEditor/plugins/shared/LinkSelector/DocumentLinks.es.js +55 -0
  177. package/dist/components/RichTextEditor/plugins/shared/LinkSelector/DocumentLinks.es.js.map +1 -0
  178. package/dist/components/RichTextEditor/plugins/shared/LinkSelector/LinkSelector.es.js +62 -0
  179. package/dist/components/RichTextEditor/plugins/shared/LinkSelector/LinkSelector.es.js.map +1 -0
  180. package/dist/components/RichTextEditor/plugins/shared/LinkSelector/PageLink.es.js +61 -0
  181. package/dist/components/RichTextEditor/plugins/shared/LinkSelector/PageLink.es.js.map +1 -0
  182. package/dist/components/RichTextEditor/plugins/shared/LinkSelector/PageLinks.es.js +34 -0
  183. package/dist/components/RichTextEditor/plugins/shared/LinkSelector/PageLinks.es.js.map +1 -0
  184. package/dist/components/RichTextEditor/plugins/shared/LinkSelector/SectionLink.es.js +26 -0
  185. package/dist/components/RichTextEditor/plugins/shared/LinkSelector/SectionLink.es.js.map +1 -0
  186. package/dist/components/RichTextEditor/plugins/styles.es.js +168 -0
  187. package/dist/components/RichTextEditor/plugins/styles.es.js.map +1 -0
  188. package/dist/components/RichTextEditor/serializer/nodes/button.es.js +16 -0
  189. package/dist/components/RichTextEditor/serializer/nodes/button.es.js.map +1 -0
  190. package/dist/components/RichTextEditor/serializer/nodes/checkItemNode.es.js +19 -0
  191. package/dist/components/RichTextEditor/serializer/nodes/checkItemNode.es.js.map +1 -0
  192. package/dist/components/RichTextEditor/serializer/nodes/default.es.js +17 -0
  193. package/dist/components/RichTextEditor/serializer/nodes/default.es.js.map +1 -0
  194. package/dist/components/RichTextEditor/serializer/nodes/link.es.js +15 -0
  195. package/dist/components/RichTextEditor/serializer/nodes/link.es.js.map +1 -0
  196. package/dist/components/RichTextEditor/serializer/nodes/mentionHtmlNode.es.js +12 -0
  197. package/dist/components/RichTextEditor/serializer/nodes/mentionHtmlNode.es.js.map +1 -0
  198. package/dist/components/RichTextEditor/serializer/serializeNodesToHtmlRecursive.es.js +61 -0
  199. package/dist/components/RichTextEditor/serializer/serializeNodesToHtmlRecursive.es.js.map +1 -0
  200. package/dist/components/RichTextEditor/serializer/serializeToHtml.es.js +25 -0
  201. package/dist/components/RichTextEditor/serializer/serializeToHtml.es.js.map +1 -0
  202. package/dist/components/RichTextEditor/serializer/utlis/reactCssPropsToCss.es.js +8 -0
  203. package/dist/components/RichTextEditor/serializer/utlis/reactCssPropsToCss.es.js.map +1 -0
  204. package/dist/components/RichTextEditor/serializer/utlis/serializeLeafToHtml.es.js +13 -0
  205. package/dist/components/RichTextEditor/serializer/utlis/serializeLeafToHtml.es.js.map +1 -0
  206. package/dist/helpers/addHttps.es.js +14 -0
  207. package/dist/helpers/addHttps.es.js.map +1 -0
  208. package/dist/helpers/convertToRichTextValue.es.js +6 -0
  209. package/dist/helpers/convertToRichTextValue.es.js.map +1 -0
  210. package/dist/helpers/customCoordinatesGetterFactory.es.js +32 -0
  211. package/dist/helpers/customCoordinatesGetterFactory.es.js.map +1 -0
  212. package/dist/helpers/hasRichTextValue.es.js +15 -0
  213. package/dist/helpers/hasRichTextValue.es.js.map +1 -0
  214. package/dist/helpers/isDownloadable.es.js +6 -0
  215. package/dist/helpers/isDownloadable.es.js.map +1 -0
  216. package/dist/helpers/mapColorPalettes.es.js +16 -0
  217. package/dist/helpers/mapColorPalettes.es.js.map +1 -0
  218. package/dist/hooks/useAttachments.es.js +31 -0
  219. package/dist/hooks/useAttachments.es.js.map +1 -0
  220. package/dist/hooks/useDndSensors.es.js +20 -0
  221. package/dist/hooks/useDndSensors.es.js.map +1 -0
  222. package/dist/index.cjs.js +252 -1
  223. package/dist/index.cjs.js.map +1 -1
  224. package/dist/index.d.ts +816 -1
  225. package/dist/index.es.js +172 -3
  226. package/dist/index.es.js.map +1 -1
  227. package/dist/index.umd.js +252 -1
  228. package/dist/index.umd.js.map +1 -1
  229. package/dist/settings/background.es.js +22 -0
  230. package/dist/settings/background.es.js.map +1 -0
  231. package/dist/settings/border.es.js +61 -0
  232. package/dist/settings/border.es.js.map +1 -0
  233. package/dist/settings/borderRadius.es.js +56 -0
  234. package/dist/settings/borderRadius.es.js.map +1 -0
  235. package/dist/settings/borderRadiusExtended.es.js +64 -0
  236. package/dist/settings/borderRadiusExtended.es.js.map +1 -0
  237. package/dist/settings/defaultValues.es.js +19 -0
  238. package/dist/settings/defaultValues.es.js.map +1 -0
  239. package/dist/settings/gutter.es.js +56 -0
  240. package/dist/settings/gutter.es.js.map +1 -0
  241. package/dist/settings/margin.es.js +53 -0
  242. package/dist/settings/margin.es.js.map +1 -0
  243. package/dist/settings/marginExtended.es.js +65 -0
  244. package/dist/settings/marginExtended.es.js.map +1 -0
  245. package/dist/settings/padding.es.js +53 -0
  246. package/dist/settings/padding.es.js.map +1 -0
  247. package/dist/settings/paddingExtended.es.js +65 -0
  248. package/dist/settings/paddingExtended.es.js.map +1 -0
  249. package/dist/settings/securityDownloadable.es.js +19 -0
  250. package/dist/settings/securityDownloadable.es.js.map +1 -0
  251. package/dist/settings/securityGlobalControl.es.js +33 -0
  252. package/dist/settings/securityGlobalControl.es.js.map +1 -0
  253. package/dist/settings/types.es.js +48 -0
  254. package/dist/settings/types.es.js.map +1 -0
  255. package/dist/style.css +1 -0
  256. package/dist/utilities/color/getReadableColor.es.js +14 -0
  257. package/dist/utilities/color/getReadableColor.es.js.map +1 -0
  258. package/dist/utilities/color/isDark.es.js +10 -0
  259. package/dist/utilities/color/isDark.es.js.map +1 -0
  260. package/dist/utilities/color/setAlpha.es.js +6 -0
  261. package/dist/utilities/color/setAlpha.es.js.map +1 -0
  262. package/dist/utilities/color/toColorObject.es.js +9 -0
  263. package/dist/utilities/color/toColorObject.es.js.map +1 -0
  264. package/dist/utilities/color/toHex8String.es.js +7 -0
  265. package/dist/utilities/color/toHex8String.es.js.map +1 -0
  266. package/dist/utilities/color/toHexString.es.js +7 -0
  267. package/dist/utilities/color/toHexString.es.js.map +1 -0
  268. package/dist/utilities/color/toRgbaString.es.js +7 -0
  269. package/dist/utilities/color/toRgbaString.es.js.map +1 -0
  270. package/dist/utilities/color/toShortRgba.es.js +11 -0
  271. package/dist/utilities/color/toShortRgba.es.js.map +1 -0
  272. package/dist/utilities/moveItemInArray.es.js +12 -0
  273. package/dist/utilities/moveItemInArray.es.js.map +1 -0
  274. package/dist/utilities/react/getBackgroundColorStyles.es.js +8 -0
  275. package/dist/utilities/react/getBackgroundColorStyles.es.js.map +1 -0
  276. package/dist/utilities/react/getBorderStyles.es.js +12 -0
  277. package/dist/utilities/react/getBorderStyles.es.js.map +1 -0
  278. package/dist/utilities/react/getRadiusStyles.es.js +8 -0
  279. package/dist/utilities/react/getRadiusStyles.es.js.map +1 -0
  280. package/dist/utilities/react/joinClassNames.es.js +5 -0
  281. package/dist/utilities/react/joinClassNames.es.js.map +1 -0
  282. package/package.json +46 -10
  283. package/postcss.config.js +8 -0
  284. package/setupTests.ts +13 -0
  285. package/src/components/Attachments/AttachmentItem.tsx +257 -0
  286. package/src/components/Attachments/Attachments.spec.ct.tsx +151 -0
  287. package/src/components/Attachments/Attachments.tsx +221 -0
  288. package/src/components/Attachments/index.ts +4 -0
  289. package/src/components/Attachments/types.ts +30 -0
  290. package/src/components/BlockInjectButton/BlockInjectButton.spec.ct.tsx +48 -0
  291. package/src/components/BlockInjectButton/BlockInjectButton.tsx +212 -0
  292. package/src/components/BlockInjectButton/index.ts +4 -0
  293. package/src/components/BlockInjectButton/types.ts +18 -0
  294. package/src/components/BlockItemWrapper/BlockItemWrapper.spec.ct.tsx +146 -0
  295. package/src/components/BlockItemWrapper/BlockItemWrapper.tsx +76 -0
  296. package/src/components/BlockItemWrapper/Toolbar.tsx +128 -0
  297. package/src/components/BlockItemWrapper/constants.ts +4 -0
  298. package/src/components/BlockItemWrapper/index.ts +5 -0
  299. package/src/components/BlockItemWrapper/types.ts +46 -0
  300. package/src/components/DownloadButton/DownloadButton.spec.ct.tsx +20 -0
  301. package/src/components/DownloadButton/DownloadButton.tsx +36 -0
  302. package/src/components/DownloadButton/index.ts +3 -0
  303. package/src/components/DownloadButton/types.ts +5 -0
  304. package/src/components/RichTextEditor/RichTextEditor.spec.ct.tsx +204 -0
  305. package/src/components/RichTextEditor/RichTextEditor.tsx +62 -0
  306. package/src/components/RichTextEditor/SerializedText.tsx +25 -0
  307. package/src/components/RichTextEditor/constants.ts +3 -0
  308. package/src/components/RichTextEditor/index.ts +6 -0
  309. package/src/components/RichTextEditor/pluginPresets/defaultPluginsWithLinkChooser.tsx +53 -0
  310. package/src/components/RichTextEditor/pluginPresets/index.ts +3 -0
  311. package/src/components/RichTextEditor/plugins/ButtonPlugin/ButtonMarkupElement/ButtonMarkupElementNode.tsx +74 -0
  312. package/src/components/RichTextEditor/plugins/ButtonPlugin/ButtonMarkupElement/index.ts +11 -0
  313. package/src/components/RichTextEditor/plugins/ButtonPlugin/components/ButtonButton.tsx +20 -0
  314. package/src/components/RichTextEditor/plugins/ButtonPlugin/components/ButtonToolbarButton.tsx +56 -0
  315. package/src/components/RichTextEditor/plugins/ButtonPlugin/components/FloatingButton/CustomFloatingButton.tsx +19 -0
  316. package/src/components/RichTextEditor/plugins/ButtonPlugin/components/FloatingButton/EditButtonModal/EditModal.tsx +42 -0
  317. package/src/components/RichTextEditor/plugins/ButtonPlugin/components/FloatingButton/FloatingButton.tsx +37 -0
  318. package/src/components/RichTextEditor/plugins/ButtonPlugin/components/FloatingButton/FloatingButtonEditButton.tsx +22 -0
  319. package/src/components/RichTextEditor/plugins/ButtonPlugin/components/FloatingButton/FloatingButtonUrlInput.tsx +30 -0
  320. package/src/components/RichTextEditor/plugins/ButtonPlugin/components/FloatingButton/InsertButtonModal/InsertButtonModal.tsx +81 -0
  321. package/src/components/RichTextEditor/plugins/ButtonPlugin/components/FloatingButton/InsertButtonModal/types.ts +13 -0
  322. package/src/components/RichTextEditor/plugins/ButtonPlugin/components/FloatingButton/InsertButtonModal/useInsertModal.ts +143 -0
  323. package/src/components/RichTextEditor/plugins/ButtonPlugin/components/FloatingButton/UnlinkButton.tsx +31 -0
  324. package/src/components/RichTextEditor/plugins/ButtonPlugin/components/FloatingButton/floatingButtonStore.ts +46 -0
  325. package/src/components/RichTextEditor/plugins/ButtonPlugin/components/FloatingButton/index.ts +12 -0
  326. package/src/components/RichTextEditor/plugins/ButtonPlugin/components/FloatingButton/useFloatingButtonEdit.ts +113 -0
  327. package/src/components/RichTextEditor/plugins/ButtonPlugin/components/FloatingButton/useFloatingButtonEnter.ts +21 -0
  328. package/src/components/RichTextEditor/plugins/ButtonPlugin/components/FloatingButton/useFloatingButtonEscape.ts +30 -0
  329. package/src/components/RichTextEditor/plugins/ButtonPlugin/components/FloatingButton/useFloatingButtonInsert.ts +71 -0
  330. package/src/components/RichTextEditor/plugins/ButtonPlugin/components/FloatingButton/useVirtualFloatingButton.ts +22 -0
  331. package/src/components/RichTextEditor/plugins/ButtonPlugin/components/index.ts +3 -0
  332. package/src/components/RichTextEditor/plugins/ButtonPlugin/createButtonPlugin.ts +116 -0
  333. package/src/components/RichTextEditor/plugins/ButtonPlugin/index.ts +7 -0
  334. package/src/components/RichTextEditor/plugins/ButtonPlugin/transforms/index.ts +8 -0
  335. package/src/components/RichTextEditor/plugins/ButtonPlugin/transforms/insertButton.ts +17 -0
  336. package/src/components/RichTextEditor/plugins/ButtonPlugin/transforms/submitFloatingButton.ts +40 -0
  337. package/src/components/RichTextEditor/plugins/ButtonPlugin/transforms/unwrapButton.ts +68 -0
  338. package/src/components/RichTextEditor/plugins/ButtonPlugin/transforms/upsertButton.ts +198 -0
  339. package/src/components/RichTextEditor/plugins/ButtonPlugin/transforms/upsertButtonText.ts +40 -0
  340. package/src/components/RichTextEditor/plugins/ButtonPlugin/transforms/wrapButton.ts +30 -0
  341. package/src/components/RichTextEditor/plugins/ButtonPlugin/types.ts +13 -0
  342. package/src/components/RichTextEditor/plugins/ButtonPlugin/utils/createButtonNode.ts +28 -0
  343. package/src/components/RichTextEditor/plugins/ButtonPlugin/utils/getButtonStyle.ts +14 -0
  344. package/src/components/RichTextEditor/plugins/ButtonPlugin/utils/getUrl.ts +18 -0
  345. package/src/components/RichTextEditor/plugins/ButtonPlugin/utils/index.ts +8 -0
  346. package/src/components/RichTextEditor/plugins/ButtonPlugin/utils/styles.ts +77 -0
  347. package/src/components/RichTextEditor/plugins/ButtonPlugin/utils/triggerFloatingButton.ts +23 -0
  348. package/src/components/RichTextEditor/plugins/ButtonPlugin/utils/triggerFloatingButtonEdit.ts +30 -0
  349. package/src/components/RichTextEditor/plugins/ButtonPlugin/utils/triggerFloatingButtonInsert.ts +45 -0
  350. package/src/components/RichTextEditor/plugins/ButtonPlugin/withButton.ts +106 -0
  351. package/src/components/RichTextEditor/plugins/LinkPlugin/FloatingLink/CustomFloatingLink.tsx +26 -0
  352. package/src/components/RichTextEditor/plugins/LinkPlugin/FloatingLink/EditLinkModal/EditModal.tsx +43 -0
  353. package/src/components/RichTextEditor/plugins/LinkPlugin/FloatingLink/EditLinkModal/index.ts +4 -0
  354. package/src/components/RichTextEditor/plugins/LinkPlugin/FloatingLink/EditLinkModal/useFloatingLinkEdit.ts +113 -0
  355. package/src/components/RichTextEditor/plugins/LinkPlugin/FloatingLink/FloatingLink.tsx +45 -0
  356. package/src/components/RichTextEditor/plugins/LinkPlugin/FloatingLink/InsertLinkModal/InsertLinkModal.tsx +5 -0
  357. package/src/components/RichTextEditor/plugins/LinkPlugin/FloatingLink/InsertLinkModal/InsertModal.tsx +105 -0
  358. package/src/components/RichTextEditor/plugins/LinkPlugin/FloatingLink/InsertLinkModal/index.ts +4 -0
  359. package/src/components/RichTextEditor/plugins/LinkPlugin/FloatingLink/InsertLinkModal/types.ts +16 -0
  360. package/src/components/RichTextEditor/plugins/LinkPlugin/FloatingLink/InsertLinkModal/useFloatingLinkInsert.ts +73 -0
  361. package/src/components/RichTextEditor/plugins/LinkPlugin/FloatingLink/InsertLinkModal/useInsertModal.ts +136 -0
  362. package/src/components/RichTextEditor/plugins/LinkPlugin/LinkButton.tsx +38 -0
  363. package/src/components/RichTextEditor/plugins/LinkPlugin/LinkMarkupElement/LinkMarkupElementNode.tsx +36 -0
  364. package/src/components/RichTextEditor/plugins/LinkPlugin/LinkMarkupElement/index.ts +11 -0
  365. package/src/components/RichTextEditor/plugins/LinkPlugin/id.ts +3 -0
  366. package/src/components/RichTextEditor/plugins/LinkPlugin/index.ts +48 -0
  367. package/src/components/RichTextEditor/plugins/LinkPlugin/types.ts +12 -0
  368. package/src/components/RichTextEditor/plugins/LinkPlugin/utils/getUrl.ts +30 -0
  369. package/src/components/RichTextEditor/plugins/LinkPlugin/utils/index.ts +4 -0
  370. package/src/components/RichTextEditor/plugins/LinkPlugin/utils/relativeUrlRegex.spec.ts +35 -0
  371. package/src/components/RichTextEditor/plugins/LinkPlugin/utils/relativeUrlRegex.ts +3 -0
  372. package/src/components/RichTextEditor/plugins/LinkPlugin/utils/url.spec.ts +75 -0
  373. package/src/components/RichTextEditor/plugins/LinkPlugin/utils/url.ts +21 -0
  374. package/src/components/RichTextEditor/plugins/TextStylePlugins/custom1Plugin.tsx +61 -0
  375. package/src/components/RichTextEditor/plugins/TextStylePlugins/custom2Plugin.tsx +61 -0
  376. package/src/components/RichTextEditor/plugins/TextStylePlugins/custom3Plugin.tsx +62 -0
  377. package/src/components/RichTextEditor/plugins/TextStylePlugins/heading1Plugin.tsx +61 -0
  378. package/src/components/RichTextEditor/plugins/TextStylePlugins/heading2Plugin.tsx +58 -0
  379. package/src/components/RichTextEditor/plugins/TextStylePlugins/heading3Plugin.tsx +58 -0
  380. package/src/components/RichTextEditor/plugins/TextStylePlugins/heading4Plugin.tsx +59 -0
  381. package/src/components/RichTextEditor/plugins/TextStylePlugins/helpers.tsx +44 -0
  382. package/src/components/RichTextEditor/plugins/TextStylePlugins/imageCaptionPlugin.tsx +61 -0
  383. package/src/components/RichTextEditor/plugins/TextStylePlugins/imageTitlePlugin.tsx +61 -0
  384. package/src/components/RichTextEditor/plugins/TextStylePlugins/index.ts +15 -0
  385. package/src/components/RichTextEditor/plugins/TextStylePlugins/paragraphPlugin.tsx +58 -0
  386. package/src/components/RichTextEditor/plugins/TextStylePlugins/quotePlugin.tsx +62 -0
  387. package/src/components/RichTextEditor/plugins/index.ts +6 -0
  388. package/src/components/RichTextEditor/plugins/shared/LinkSelector/DocumentLink.tsx +80 -0
  389. package/src/components/RichTextEditor/plugins/shared/LinkSelector/DocumentLinks.tsx +97 -0
  390. package/src/components/RichTextEditor/plugins/shared/LinkSelector/LinkSelector.spec.ct.tsx +138 -0
  391. package/src/components/RichTextEditor/plugins/shared/LinkSelector/LinkSelector.tsx +80 -0
  392. package/src/components/RichTextEditor/plugins/shared/LinkSelector/PageLink.tsx +83 -0
  393. package/src/components/RichTextEditor/plugins/shared/LinkSelector/PageLinks.tsx +68 -0
  394. package/src/components/RichTextEditor/plugins/shared/LinkSelector/SectionLink.tsx +37 -0
  395. package/src/components/RichTextEditor/plugins/shared/LinkSelector/index.ts +3 -0
  396. package/src/components/RichTextEditor/plugins/styles.ts +179 -0
  397. package/src/components/RichTextEditor/serializer/index.ts +3 -0
  398. package/src/components/RichTextEditor/serializer/nodes/button.ts +25 -0
  399. package/src/components/RichTextEditor/serializer/nodes/checkItemNode.ts +29 -0
  400. package/src/components/RichTextEditor/serializer/nodes/default.ts +52 -0
  401. package/src/components/RichTextEditor/serializer/nodes/link.ts +25 -0
  402. package/src/components/RichTextEditor/serializer/nodes/mentionHtmlNode.ts +17 -0
  403. package/src/components/RichTextEditor/serializer/serializeNodesToHtmlRecursive.ts +134 -0
  404. package/src/components/RichTextEditor/serializer/serializeToHtml.ts +49 -0
  405. package/src/components/RichTextEditor/serializer/utlis/reactCssPropsToCss.ts +21 -0
  406. package/src/components/RichTextEditor/serializer/utlis/serializeLeafToHtml.ts +32 -0
  407. package/src/components/RichTextEditor/types.ts +23 -0
  408. package/src/components/index.ts +7 -0
  409. package/src/helpers/addHttps.spec.ts +42 -0
  410. package/src/helpers/addHttps.ts +15 -0
  411. package/src/helpers/convertToRichTextValue.spec.ts +32 -0
  412. package/src/helpers/convertToRichTextValue.ts +6 -0
  413. package/src/helpers/customCoordinatesGetterFactory.spec.ts +69 -0
  414. package/src/helpers/customCoordinatesGetterFactory.ts +39 -0
  415. package/src/helpers/hasRichTextValue.spec.ts +63 -0
  416. package/src/helpers/hasRichTextValue.ts +29 -0
  417. package/src/helpers/index.ts +8 -0
  418. package/src/helpers/isDownloadable.spec.ts +47 -0
  419. package/src/helpers/isDownloadable.ts +7 -0
  420. package/src/helpers/mapColorPalettes.spec.ts +146 -0
  421. package/src/helpers/mapColorPalettes.ts +22 -0
  422. package/src/hooks/index.ts +4 -0
  423. package/src/hooks/useAttachments.spec.ts +79 -0
  424. package/src/hooks/useAttachments.ts +46 -0
  425. package/src/hooks/useDndSensors.spec.ts +40 -0
  426. package/src/hooks/useDndSensors.ts +23 -0
  427. package/src/index.ts +8 -0
  428. package/src/settings/background.spec.ts +173 -0
  429. package/src/settings/background.ts +49 -0
  430. package/src/settings/border.spec.ts +76 -0
  431. package/src/settings/border.ts +90 -0
  432. package/src/settings/borderRadius.spec.ts +30 -0
  433. package/src/settings/borderRadius.ts +73 -0
  434. package/src/settings/borderRadiusExtended.spec.ts +52 -0
  435. package/src/settings/borderRadiusExtended.ts +84 -0
  436. package/src/settings/defaultValues.ts +21 -0
  437. package/src/settings/gutter.spec.ts +60 -0
  438. package/src/settings/gutter.ts +75 -0
  439. package/src/settings/index.ts +14 -0
  440. package/src/settings/margin.spec.ts +42 -0
  441. package/src/settings/margin.ts +72 -0
  442. package/src/settings/marginExtended.spec.ts +45 -0
  443. package/src/settings/marginExtended.ts +91 -0
  444. package/src/settings/padding.spec.ts +42 -0
  445. package/src/settings/padding.ts +73 -0
  446. package/src/settings/paddingExtended.spec.ts +45 -0
  447. package/src/settings/paddingExtended.ts +91 -0
  448. package/src/settings/security.spec.ts +87 -0
  449. package/src/settings/security.ts +61 -0
  450. package/src/settings/securityDownloadable.spec.ts +46 -0
  451. package/src/settings/securityDownloadable.ts +33 -0
  452. package/src/settings/securityGlobalControl.ts +42 -0
  453. package/src/settings/types.ts +128 -0
  454. package/src/utilities/color/getReadableColor.spec.ts +32 -0
  455. package/src/utilities/color/getReadableColor.ts +34 -0
  456. package/src/utilities/color/index.ts +10 -0
  457. package/src/utilities/color/isDark.spec.ts +33 -0
  458. package/src/utilities/color/isDark.ts +29 -0
  459. package/src/utilities/color/setAlpha.spec.ts +28 -0
  460. package/src/utilities/color/setAlpha.ts +14 -0
  461. package/src/utilities/color/toColorObject.spec.ts +19 -0
  462. package/src/utilities/color/toColorObject.ts +16 -0
  463. package/src/utilities/color/toHex8String.spec.ts +17 -0
  464. package/src/utilities/color/toHex8String.ts +14 -0
  465. package/src/utilities/color/toHexString.spec.ts +17 -0
  466. package/src/utilities/color/toHexString.ts +10 -0
  467. package/src/utilities/color/toRgbaString.spec.ts +12 -0
  468. package/src/utilities/color/toRgbaString.ts +14 -0
  469. package/src/utilities/color/toShortRgba.spec.ts +16 -0
  470. package/src/utilities/color/toShortRgba.ts +35 -0
  471. package/src/utilities/index.ts +5 -0
  472. package/src/utilities/moveItemInArray.spec.ts +17 -0
  473. package/src/utilities/moveItemInArray.ts +21 -0
  474. package/src/utilities/react/getBackgroundColorStyles.spec.ts +18 -0
  475. package/src/utilities/react/getBackgroundColorStyles.ts +11 -0
  476. package/src/utilities/react/getBorderStyles.spec.ts +39 -0
  477. package/src/utilities/react/getBorderStyles.ts +21 -0
  478. package/src/utilities/react/getRadiusStyles.spec.ts +25 -0
  479. package/src/utilities/react/getRadiusStyles.ts +8 -0
  480. package/src/utilities/react/index.ts +6 -0
  481. package/src/utilities/react/joinClassNames.spec.ts +18 -0
  482. package/src/utilities/react/joinClassNames.ts +10 -0
  483. package/tailwind.config.js +27 -0
  484. package/tsconfig.json +3 -1
  485. package/vite.config.ts +11 -1
package/dist/index.cjs.js CHANGED
@@ -1,2 +1,253 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("@frontify/sidebar-settings");var r=(e=>(e.Main="main",e.Basics="basics",e.Layout="layout",e.Style="style",e.Security="security",e.Targets="targets",e))(r||{});const a=e=>e,i=e=>e;exports.Sections=r;exports.defineBlock=a;exports.defineSettings=i;Object.keys(t).forEach(e=>{e!=="default"&&!exports.hasOwnProperty(e)&&Object.defineProperty(exports,e,{enumerable:!0,get:()=>t[e]})});
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const De=require("@frontify/sidebar-settings"),L=require("@frontify/fondue"),gc=require("@frontify/app-bridge"),Xn=require("@dnd-kit/core"),dg=require("@dnd-kit/sortable"),fb=require("@react-aria/focus"),$D=require("@dnd-kit/modifiers"),N=require("@udecode/plate"),qE=require("escape-html"),db=require("slate-react"),YD=require("@react-stately/overlays"),WD=require("slate"),Xu=require("@ctrl/tinycolor");function QD(s){return s&&s.__esModule&&Object.prototype.hasOwnProperty.call(s,"default")?s.default:s}var KE={exports:{}},Cv={},XE={exports:{}},Ut={};/**
2
+ * @license React
3
+ * react.production.min.js
4
+ *
5
+ * Copyright (c) Facebook, Inc. and its affiliates.
6
+ *
7
+ * This source code is licensed under the MIT license found in the
8
+ * LICENSE file in the root directory of this source tree.
9
+ */var eb;function GD(){if(eb)return Ut;eb=1;var s=Symbol.for("react.element"),h=Symbol.for("react.portal"),v=Symbol.for("react.fragment"),x=Symbol.for("react.strict_mode"),b=Symbol.for("react.profiler"),j=Symbol.for("react.provider"),E=Symbol.for("react.context"),Q=Symbol.for("react.forward_ref"),A=Symbol.for("react.suspense"),G=Symbol.for("react.memo"),ne=Symbol.for("react.lazy"),F=Symbol.iterator;function te(D){return D===null||typeof D!="object"?null:(D=F&&D[F]||D["@@iterator"],typeof D=="function"?D:null)}var le={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},we=Object.assign,Ke={};function Je(D,ee,ye){this.props=D,this.context=ee,this.refs=Ke,this.updater=ye||le}Je.prototype.isReactComponent={},Je.prototype.setState=function(D,ee){if(typeof D!="object"&&typeof D!="function"&&D!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,D,ee,"setState")},Je.prototype.forceUpdate=function(D){this.updater.enqueueForceUpdate(this,D,"forceUpdate")};function it(){}it.prototype=Je.prototype;function We(D,ee,ye){this.props=D,this.context=ee,this.refs=Ke,this.updater=ye||le}var Ie=We.prototype=new it;Ie.constructor=We,we(Ie,Je.prototype),Ie.isPureReactComponent=!0;var pt=Array.isArray,Re=Object.prototype.hasOwnProperty,ke={current:null},Le={key:!0,ref:!0,__self:!0,__source:!0};function Tt(D,ee,ye){var ut,tt={},Lt=null,yt=null;if(ee!=null)for(ut in ee.ref!==void 0&&(yt=ee.ref),ee.key!==void 0&&(Lt=""+ee.key),ee)Re.call(ee,ut)&&!Le.hasOwnProperty(ut)&&(tt[ut]=ee[ut]);var Rt=arguments.length-2;if(Rt===1)tt.children=ye;else if(1<Rt){for(var St=Array(Rt),Wt=0;Wt<Rt;Wt++)St[Wt]=arguments[Wt+2];tt.children=St}if(D&&D.defaultProps)for(ut in Rt=D.defaultProps,Rt)tt[ut]===void 0&&(tt[ut]=Rt[ut]);return{$$typeof:s,type:D,key:Lt,ref:yt,props:tt,_owner:ke.current}}function tn(D,ee){return{$$typeof:s,type:D.type,key:ee,ref:D.ref,props:D.props,_owner:D._owner}}function zt(D){return typeof D=="object"&&D!==null&&D.$$typeof===s}function Ct(D){var ee={"=":"=0",":":"=2"};return"$"+D.replace(/[=:]/g,function(ye){return ee[ye]})}var pn=/\/+/g;function Qe(D,ee){return typeof D=="object"&&D!==null&&D.key!=null?Ct(""+D.key):ee.toString(36)}function ft(D,ee,ye,ut,tt){var Lt=typeof D;(Lt==="undefined"||Lt==="boolean")&&(D=null);var yt=!1;if(D===null)yt=!0;else switch(Lt){case"string":case"number":yt=!0;break;case"object":switch(D.$$typeof){case s:case h:yt=!0}}if(yt)return yt=D,tt=tt(yt),D=ut===""?"."+Qe(yt,0):ut,pt(tt)?(ye="",D!=null&&(ye=D.replace(pn,"$&/")+"/"),ft(tt,ee,ye,"",function(Wt){return Wt})):tt!=null&&(zt(tt)&&(tt=tn(tt,ye+(!tt.key||yt&&yt.key===tt.key?"":(""+tt.key).replace(pn,"$&/")+"/")+D)),ee.push(tt)),1;if(yt=0,ut=ut===""?".":ut+":",pt(D))for(var Rt=0;Rt<D.length;Rt++){Lt=D[Rt];var St=ut+Qe(Lt,Rt);yt+=ft(Lt,ee,ye,St,tt)}else if(St=te(D),typeof St=="function")for(D=St.call(D),Rt=0;!(Lt=D.next()).done;)Lt=Lt.value,St=ut+Qe(Lt,Rt++),yt+=ft(Lt,ee,ye,St,tt);else if(Lt==="object")throw ee=String(D),Error("Objects are not valid as a React child (found: "+(ee==="[object Object]"?"object with keys {"+Object.keys(D).join(", ")+"}":ee)+"). If you meant to render a collection of children, use an array instead.");return yt}function Ae(D,ee,ye){if(D==null)return D;var ut=[],tt=0;return ft(D,ut,"","",function(Lt){return ee.call(ye,Lt,tt++)}),ut}function lt(D){if(D._status===-1){var ee=D._result;ee=ee(),ee.then(function(ye){(D._status===0||D._status===-1)&&(D._status=1,D._result=ye)},function(ye){(D._status===0||D._status===-1)&&(D._status=2,D._result=ye)}),D._status===-1&&(D._status=0,D._result=ee)}if(D._status===1)return D._result.default;throw D._result}var ge={current:null},ce={transition:null},ze={ReactCurrentDispatcher:ge,ReactCurrentBatchConfig:ce,ReactCurrentOwner:ke};return Ut.Children={map:Ae,forEach:function(D,ee,ye){Ae(D,function(){ee.apply(this,arguments)},ye)},count:function(D){var ee=0;return Ae(D,function(){ee++}),ee},toArray:function(D){return Ae(D,function(ee){return ee})||[]},only:function(D){if(!zt(D))throw Error("React.Children.only expected to receive a single React element child.");return D}},Ut.Component=Je,Ut.Fragment=v,Ut.Profiler=b,Ut.PureComponent=We,Ut.StrictMode=x,Ut.Suspense=A,Ut.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=ze,Ut.cloneElement=function(D,ee,ye){if(D==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+D+".");var ut=we({},D.props),tt=D.key,Lt=D.ref,yt=D._owner;if(ee!=null){if(ee.ref!==void 0&&(Lt=ee.ref,yt=ke.current),ee.key!==void 0&&(tt=""+ee.key),D.type&&D.type.defaultProps)var Rt=D.type.defaultProps;for(St in ee)Re.call(ee,St)&&!Le.hasOwnProperty(St)&&(ut[St]=ee[St]===void 0&&Rt!==void 0?Rt[St]:ee[St])}var St=arguments.length-2;if(St===1)ut.children=ye;else if(1<St){Rt=Array(St);for(var Wt=0;Wt<St;Wt++)Rt[Wt]=arguments[Wt+2];ut.children=Rt}return{$$typeof:s,type:D.type,key:tt,ref:Lt,props:ut,_owner:yt}},Ut.createContext=function(D){return D={$$typeof:E,_currentValue:D,_currentValue2:D,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},D.Provider={$$typeof:j,_context:D},D.Consumer=D},Ut.createElement=Tt,Ut.createFactory=function(D){var ee=Tt.bind(null,D);return ee.type=D,ee},Ut.createRef=function(){return{current:null}},Ut.forwardRef=function(D){return{$$typeof:Q,render:D}},Ut.isValidElement=zt,Ut.lazy=function(D){return{$$typeof:ne,_payload:{_status:-1,_result:D},_init:lt}},Ut.memo=function(D,ee){return{$$typeof:G,type:D,compare:ee===void 0?null:ee}},Ut.startTransition=function(D){var ee=ce.transition;ce.transition={};try{D()}finally{ce.transition=ee}},Ut.unstable_act=function(){throw Error("act(...) is not supported in production builds of React.")},Ut.useCallback=function(D,ee){return ge.current.useCallback(D,ee)},Ut.useContext=function(D){return ge.current.useContext(D)},Ut.useDebugValue=function(){},Ut.useDeferredValue=function(D){return ge.current.useDeferredValue(D)},Ut.useEffect=function(D,ee){return ge.current.useEffect(D,ee)},Ut.useId=function(){return ge.current.useId()},Ut.useImperativeHandle=function(D,ee,ye){return ge.current.useImperativeHandle(D,ee,ye)},Ut.useInsertionEffect=function(D,ee){return ge.current.useInsertionEffect(D,ee)},Ut.useLayoutEffect=function(D,ee){return ge.current.useLayoutEffect(D,ee)},Ut.useMemo=function(D,ee){return ge.current.useMemo(D,ee)},Ut.useReducer=function(D,ee,ye){return ge.current.useReducer(D,ee,ye)},Ut.useRef=function(D){return ge.current.useRef(D)},Ut.useState=function(D){return ge.current.useState(D)},Ut.useSyncExternalStore=function(D,ee,ye){return ge.current.useSyncExternalStore(D,ee,ye)},Ut.useTransition=function(){return ge.current.useTransition()},Ut.version="18.2.0",Ut}var xv={exports:{}};/**
10
+ * @license React
11
+ * react.development.js
12
+ *
13
+ * Copyright (c) Facebook, Inc. and its affiliates.
14
+ *
15
+ * This source code is licensed under the MIT license found in the
16
+ * LICENSE file in the root directory of this source tree.
17
+ */xv.exports;var tb;function qD(){return tb||(tb=1,function(s,h){process.env.NODE_ENV!=="production"&&function(){typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error);var v="18.2.0",x=Symbol.for("react.element"),b=Symbol.for("react.portal"),j=Symbol.for("react.fragment"),E=Symbol.for("react.strict_mode"),Q=Symbol.for("react.profiler"),A=Symbol.for("react.provider"),G=Symbol.for("react.context"),ne=Symbol.for("react.forward_ref"),F=Symbol.for("react.suspense"),te=Symbol.for("react.suspense_list"),le=Symbol.for("react.memo"),we=Symbol.for("react.lazy"),Ke=Symbol.for("react.offscreen"),Je=Symbol.iterator,it="@@iterator";function We(y){if(y===null||typeof y!="object")return null;var R=Je&&y[Je]||y[it];return typeof R=="function"?R:null}var Ie={current:null},pt={transition:null},Re={current:null,isBatchingLegacy:!1,didScheduleLegacyUpdate:!1},ke={current:null},Le={},Tt=null;function tn(y){Tt=y}Le.setExtraStackFrame=function(y){Tt=y},Le.getCurrentStack=null,Le.getStackAddendum=function(){var y="";Tt&&(y+=Tt);var R=Le.getCurrentStack;return R&&(y+=R()||""),y};var zt=!1,Ct=!1,pn=!1,Qe=!1,ft=!1,Ae={ReactCurrentDispatcher:Ie,ReactCurrentBatchConfig:pt,ReactCurrentOwner:ke};Ae.ReactDebugCurrentFrame=Le,Ae.ReactCurrentActQueue=Re;function lt(y){{for(var R=arguments.length,$=new Array(R>1?R-1:0),q=1;q<R;q++)$[q-1]=arguments[q];ce("warn",y,$)}}function ge(y){{for(var R=arguments.length,$=new Array(R>1?R-1:0),q=1;q<R;q++)$[q-1]=arguments[q];ce("error",y,$)}}function ce(y,R,$){{var q=Ae.ReactDebugCurrentFrame,se=q.getStackAddendum();se!==""&&(R+="%s",$=$.concat([se]));var Xe=$.map(function(me){return String(me)});Xe.unshift("Warning: "+R),Function.prototype.apply.call(console[y],console,Xe)}}var ze={};function D(y,R){{var $=y.constructor,q=$&&($.displayName||$.name)||"ReactClass",se=q+"."+R;if(ze[se])return;ge("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.",R,q),ze[se]=!0}}var ee={isMounted:function(y){return!1},enqueueForceUpdate:function(y,R,$){D(y,"forceUpdate")},enqueueReplaceState:function(y,R,$,q){D(y,"replaceState")},enqueueSetState:function(y,R,$,q){D(y,"setState")}},ye=Object.assign,ut={};Object.freeze(ut);function tt(y,R,$){this.props=y,this.context=R,this.refs=ut,this.updater=$||ee}tt.prototype.isReactComponent={},tt.prototype.setState=function(y,R){if(typeof y!="object"&&typeof y!="function"&&y!=null)throw new Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,y,R,"setState")},tt.prototype.forceUpdate=function(y){this.updater.enqueueForceUpdate(this,y,"forceUpdate")};{var Lt={isMounted:["isMounted","Instead, make sure to clean up subscriptions and pending requests in componentWillUnmount to prevent memory leaks."],replaceState:["replaceState","Refactor your code to use setState instead (see https://github.com/facebook/react/issues/3236)."]},yt=function(y,R){Object.defineProperty(tt.prototype,y,{get:function(){lt("%s(...) is deprecated in plain JavaScript React classes. %s",R[0],R[1])}})};for(var Rt in Lt)Lt.hasOwnProperty(Rt)&&yt(Rt,Lt[Rt])}function St(){}St.prototype=tt.prototype;function Wt(y,R,$){this.props=y,this.context=R,this.refs=ut,this.updater=$||ee}var Kr=Wt.prototype=new St;Kr.constructor=Wt,ye(Kr,tt.prototype),Kr.isPureReactComponent=!0;function xr(){var y={current:null};return Object.seal(y),y}var Xr=Array.isArray;function Cn(y){return Xr(y)}function Zn(y){{var R=typeof Symbol=="function"&&Symbol.toStringTag,$=R&&y[Symbol.toStringTag]||y.constructor.name||"Object";return $}}function Vn(y){try{return $n(y),!1}catch{return!0}}function $n(y){return""+y}function Mn(y){if(Vn(y))return ge("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",Zn(y)),$n(y)}function Zr(y,R,$){var q=y.displayName;if(q)return q;var se=R.displayName||R.name||"";return se!==""?$+"("+se+")":$}function Jr(y){return y.displayName||"Context"}function Jn(y){if(y==null)return null;if(typeof y.tag=="number"&&ge("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof y=="function")return y.displayName||y.name||null;if(typeof y=="string")return y;switch(y){case j:return"Fragment";case b:return"Portal";case Q:return"Profiler";case E:return"StrictMode";case F:return"Suspense";case te:return"SuspenseList"}if(typeof y=="object")switch(y.$$typeof){case G:var R=y;return Jr(R)+".Consumer";case A:var $=y;return Jr($._context)+".Provider";case ne:return Zr(y,y.render,"ForwardRef");case le:var q=y.displayName||null;return q!==null?q:Jn(y.type)||"Memo";case we:{var se=y,Xe=se._payload,me=se._init;try{return Jn(me(Xe))}catch{return null}}}return null}var br=Object.prototype.hasOwnProperty,ea={key:!0,ref:!0,__self:!0,__source:!0},Tr,Sa,cr;cr={};function ta(y){if(br.call(y,"ref")){var R=Object.getOwnPropertyDescriptor(y,"ref").get;if(R&&R.isReactWarning)return!1}return y.ref!==void 0}function wn(y){if(br.call(y,"key")){var R=Object.getOwnPropertyDescriptor(y,"key").get;if(R&&R.isReactWarning)return!1}return y.key!==void 0}function Ar(y,R){var $=function(){Tr||(Tr=!0,ge("%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://reactjs.org/link/special-props)",R))};$.isReactWarning=!0,Object.defineProperty(y,"key",{get:$,configurable:!0})}function gi(y,R){var $=function(){Sa||(Sa=!0,ge("%s: `ref` 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://reactjs.org/link/special-props)",R))};$.isReactWarning=!0,Object.defineProperty(y,"ref",{get:$,configurable:!0})}function Ea(y){if(typeof y.ref=="string"&&ke.current&&y.__self&&ke.current.stateNode!==y.__self){var R=Jn(ke.current.type);cr[R]||(ge('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',R,y.ref),cr[R]=!0)}}var de=function(y,R,$,q,se,Xe,me){var Ge={$$typeof:x,type:y,key:R,ref:$,props:me,_owner:Xe};return Ge._store={},Object.defineProperty(Ge._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(Ge,"_self",{configurable:!1,enumerable:!1,writable:!1,value:q}),Object.defineProperty(Ge,"_source",{configurable:!1,enumerable:!1,writable:!1,value:se}),Object.freeze&&(Object.freeze(Ge.props),Object.freeze(Ge)),Ge};function Be(y,R,$){var q,se={},Xe=null,me=null,Ge=null,xt=null;if(R!=null){ta(R)&&(me=R.ref,Ea(R)),wn(R)&&(Mn(R.key),Xe=""+R.key),Ge=R.__self===void 0?null:R.__self,xt=R.__source===void 0?null:R.__source;for(q in R)br.call(R,q)&&!ea.hasOwnProperty(q)&&(se[q]=R[q])}var Ft=arguments.length-2;if(Ft===1)se.children=$;else if(Ft>1){for(var an=Array(Ft),en=0;en<Ft;en++)an[en]=arguments[en+2];Object.freeze&&Object.freeze(an),se.children=an}if(y&&y.defaultProps){var ln=y.defaultProps;for(q in ln)se[q]===void 0&&(se[q]=ln[q])}if(Xe||me){var fn=typeof y=="function"?y.displayName||y.name||"Unknown":y;Xe&&Ar(se,fn),me&&gi(se,fn)}return de(y,Xe,me,Ge,xt,ke.current,se)}function Et(y,R){var $=de(y.type,R,y.ref,y._self,y._source,y._owner,y.props);return $}function $t(y,R,$){if(y==null)throw new Error("React.cloneElement(...): The argument must be a React element, but you passed "+y+".");var q,se=ye({},y.props),Xe=y.key,me=y.ref,Ge=y._self,xt=y._source,Ft=y._owner;if(R!=null){ta(R)&&(me=R.ref,Ft=ke.current),wn(R)&&(Mn(R.key),Xe=""+R.key);var an;y.type&&y.type.defaultProps&&(an=y.type.defaultProps);for(q in R)br.call(R,q)&&!ea.hasOwnProperty(q)&&(R[q]===void 0&&an!==void 0?se[q]=an[q]:se[q]=R[q])}var en=arguments.length-2;if(en===1)se.children=$;else if(en>1){for(var ln=Array(en),fn=0;fn<en;fn++)ln[fn]=arguments[fn+2];se.children=ln}return de(y.type,Xe,me,Ge,xt,Ft,se)}function Qt(y){return typeof y=="object"&&y!==null&&y.$$typeof===x}var An=".",xn=":";function Rr(y){var R=/[=:]/g,$={"=":"=0",":":"=2"},q=y.replace(R,function(se){return $[se]});return"$"+q}var Jt=!1,Ur=/\/+/g;function Gt(y){return y.replace(Ur,"$&/")}function qt(y,R){return typeof y=="object"&&y!==null&&y.key!=null?(Mn(y.key),Rr(""+y.key)):R.toString(36)}function ai(y,R,$,q,se){var Xe=typeof y;(Xe==="undefined"||Xe==="boolean")&&(y=null);var me=!1;if(y===null)me=!0;else switch(Xe){case"string":case"number":me=!0;break;case"object":switch(y.$$typeof){case x:case b:me=!0}}if(me){var Ge=y,xt=se(Ge),Ft=q===""?An+qt(Ge,0):q;if(Cn(xt)){var an="";Ft!=null&&(an=Gt(Ft)+"/"),ai(xt,R,an,"",function(hd){return hd})}else xt!=null&&(Qt(xt)&&(xt.key&&(!Ge||Ge.key!==xt.key)&&Mn(xt.key),xt=Et(xt,$+(xt.key&&(!Ge||Ge.key!==xt.key)?Gt(""+xt.key)+"/":"")+Ft)),R.push(xt));return 1}var en,ln,fn=0,Dt=q===""?An:q+xn;if(Cn(y))for(var Ii=0;Ii<y.length;Ii++)en=y[Ii],ln=Dt+qt(en,Ii),fn+=ai(en,R,$,ln,se);else{var po=We(y);if(typeof po=="function"){var ds=y;po===ds.entries&&(Jt||lt("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),Jt=!0);for(var vd=po.call(ds),oi,ps=0;!(oi=vd.next()).done;)en=oi.value,ln=Dt+qt(en,ps++),fn+=ai(en,R,$,ln,se)}else if(Xe==="object"){var vs=String(y);throw new Error("Objects are not valid as a React child (found: "+(vs==="[object Object]"?"object with keys {"+Object.keys(y).join(", ")+"}":vs)+"). If you meant to render a collection of children, use an array instead.")}}return fn}function za(y,R,$){if(y==null)return y;var q=[],se=0;return ai(y,q,"","",function(Xe){return R.call($,Xe,se++)}),q}function ml(y){var R=0;return za(y,function(){R++}),R}function uu(y,R,$){za(y,function(){R.apply(this,arguments)},$)}function eo(y){return za(y,function(R){return R})||[]}function Fi(y){if(!Qt(y))throw new Error("React.Children.only expected to receive a single React element child.");return y}function gl(y){var R={$$typeof:G,_currentValue:y,_currentValue2:y,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null};R.Provider={$$typeof:A,_context:R};var $=!1,q=!1,se=!1;{var Xe={$$typeof:G,_context:R};Object.defineProperties(Xe,{Provider:{get:function(){return q||(q=!0,ge("Rendering <Context.Consumer.Provider> is not supported and will be removed in a future major release. Did you mean to render <Context.Provider> instead?")),R.Provider},set:function(me){R.Provider=me}},_currentValue:{get:function(){return R._currentValue},set:function(me){R._currentValue=me}},_currentValue2:{get:function(){return R._currentValue2},set:function(me){R._currentValue2=me}},_threadCount:{get:function(){return R._threadCount},set:function(me){R._threadCount=me}},Consumer:{get:function(){return $||($=!0,ge("Rendering <Context.Consumer.Consumer> is not supported and will be removed in a future major release. Did you mean to render <Context.Consumer> instead?")),R.Consumer}},displayName:{get:function(){return R.displayName},set:function(me){se||(lt("Setting `displayName` on Context.Consumer has no effect. You should set it directly on the context with Context.displayName = '%s'.",me),se=!0)}}}),R.Consumer=Xe}return R._currentRenderer=null,R._currentRenderer2=null,R}var Ca=-1,yi=0,wa=1,Si=2;function zr(y){if(y._status===Ca){var R=y._result,$=R();if($.then(function(Xe){if(y._status===yi||y._status===Ca){var me=y;me._status=wa,me._result=Xe}},function(Xe){if(y._status===yi||y._status===Ca){var me=y;me._status=Si,me._result=Xe}}),y._status===Ca){var q=y;q._status=yi,q._result=$}}if(y._status===wa){var se=y._result;return se===void 0&&ge(`lazy: Expected the result of a dynamic import() call. Instead received: %s
18
+
19
+ Your code should look like:
20
+ const MyComponent = lazy(() => import('./MyComponent'))
21
+
22
+ Did you accidentally put curly braces around the import?`,se),"default"in se||ge(`lazy: Expected the result of a dynamic import() call. Instead received: %s
23
+
24
+ Your code should look like:
25
+ const MyComponent = lazy(() => import('./MyComponent'))`,se),se.default}else throw y._result}function xa(y){var R={_status:Ca,_result:y},$={$$typeof:we,_payload:R,_init:zr};{var q,se;Object.defineProperties($,{defaultProps:{configurable:!0,get:function(){return q},set:function(Xe){ge("React.lazy(...): It is not supported to assign `defaultProps` to a lazy component import. Either specify them where the component is defined, or create a wrapping component around it."),q=Xe,Object.defineProperty($,"defaultProps",{enumerable:!0})}},propTypes:{configurable:!0,get:function(){return se},set:function(Xe){ge("React.lazy(...): It is not supported to assign `propTypes` to a lazy component import. Either specify them where the component is defined, or create a wrapping component around it."),se=Xe,Object.defineProperty($,"propTypes",{enumerable:!0})}}})}return $}function Ei(y){y!=null&&y.$$typeof===le?ge("forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...))."):typeof y!="function"?ge("forwardRef requires a render function but was given %s.",y===null?"null":typeof y):y.length!==0&&y.length!==2&&ge("forwardRef render functions accept exactly two parameters: props and ref. %s",y.length===1?"Did you forget to use the ref parameter?":"Any additional parameter will be undefined."),y!=null&&(y.defaultProps!=null||y.propTypes!=null)&&ge("forwardRef render functions do not support propTypes or defaultProps. Did you accidentally pass a React component?");var R={$$typeof:ne,render:y};{var $;Object.defineProperty(R,"displayName",{enumerable:!1,configurable:!0,get:function(){return $},set:function(q){$=q,!y.name&&!y.displayName&&(y.displayName=q)}})}return R}var k;k=Symbol.for("react.module.reference");function re(y){return!!(typeof y=="string"||typeof y=="function"||y===j||y===Q||ft||y===E||y===F||y===te||Qe||y===Ke||zt||Ct||pn||typeof y=="object"&&y!==null&&(y.$$typeof===we||y.$$typeof===le||y.$$typeof===A||y.$$typeof===G||y.$$typeof===ne||y.$$typeof===k||y.getModuleId!==void 0))}function pe(y,R){re(y)||ge("memo: The first argument must be a component. Instead received: %s",y===null?"null":typeof y);var $={$$typeof:le,type:y,compare:R===void 0?null:R};{var q;Object.defineProperty($,"displayName",{enumerable:!1,configurable:!0,get:function(){return q},set:function(se){q=se,!y.name&&!y.displayName&&(y.displayName=se)}})}return $}function xe(){var y=Ie.current;return y===null&&ge(`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:
26
+ 1. You might have mismatching versions of React and the renderer (such as React DOM)
27
+ 2. You might be breaking the Rules of Hooks
28
+ 3. You might have more than one copy of React in the same app
29
+ See https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.`),y}function vt(y){var R=xe();if(y._context!==void 0){var $=y._context;$.Consumer===y?ge("Calling useContext(Context.Consumer) is not supported, may cause bugs, and will be removed in a future major release. Did you mean to call useContext(Context) instead?"):$.Provider===y&&ge("Calling useContext(Context.Provider) is not supported. Did you mean to call useContext(Context) instead?")}return R.useContext(y)}function Ot(y){var R=xe();return R.useState(y)}function ht(y,R,$){var q=xe();return q.useReducer(y,R,$)}function $e(y){var R=xe();return R.useRef(y)}function Pn(y,R){var $=xe();return $.useEffect(y,R)}function sn(y,R){var $=xe();return $.useInsertionEffect(y,R)}function cn(y,R){var $=xe();return $.useLayoutEffect(y,R)}function fr(y,R){var $=xe();return $.useCallback(y,R)}function Ci(y,R){var $=xe();return $.useMemo(y,R)}function to(y,R,$){var q=xe();return q.useImperativeHandle(y,R,$)}function jt(y,R){{var $=xe();return $.useDebugValue(y,R)}}function dd(){var y=xe();return y.useTransition()}function ii(y){var R=xe();return R.useDeferredValue(y)}function wt(){var y=xe();return y.useId()}function wi(y,R,$){var q=xe();return q.useSyncExternalStore(y,R,$)}var yl=0,no,Sl,na,os,jr,ss,cs;function Sc(){}Sc.__reactDisabledLog=!0;function ro(){{if(yl===0){no=console.log,Sl=console.info,na=console.warn,os=console.error,jr=console.group,ss=console.groupCollapsed,cs=console.groupEnd;var y={configurable:!0,enumerable:!0,value:Sc,writable:!0};Object.defineProperties(console,{info:y,log:y,warn:y,error:y,group:y,groupCollapsed:y,groupEnd:y})}yl++}}function El(){{if(yl--,yl===0){var y={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:ye({},y,{value:no}),info:ye({},y,{value:Sl}),warn:ye({},y,{value:na}),error:ye({},y,{value:os}),group:ye({},y,{value:jr}),groupCollapsed:ye({},y,{value:ss}),groupEnd:ye({},y,{value:cs})})}yl<0&&ge("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var li=Ae.ReactCurrentDispatcher,Pr;function Cl(y,R,$){{if(Pr===void 0)try{throw Error()}catch(se){var q=se.stack.trim().match(/\n( *(at )?)/);Pr=q&&q[1]||""}return`
30
+ `+Pr+y}}var wl=!1,xl;{var ao=typeof WeakMap=="function"?WeakMap:Map;xl=new ao}function io(y,R){if(!y||wl)return"";{var $=xl.get(y);if($!==void 0)return $}var q;wl=!0;var se=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var Xe;Xe=li.current,li.current=null,ro();try{if(R){var me=function(){throw Error()};if(Object.defineProperty(me.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(me,[])}catch(Dt){q=Dt}Reflect.construct(y,[],me)}else{try{me.call()}catch(Dt){q=Dt}y.call(me.prototype)}}else{try{throw Error()}catch(Dt){q=Dt}y()}}catch(Dt){if(Dt&&q&&typeof Dt.stack=="string"){for(var Ge=Dt.stack.split(`
31
+ `),xt=q.stack.split(`
32
+ `),Ft=Ge.length-1,an=xt.length-1;Ft>=1&&an>=0&&Ge[Ft]!==xt[an];)an--;for(;Ft>=1&&an>=0;Ft--,an--)if(Ge[Ft]!==xt[an]){if(Ft!==1||an!==1)do if(Ft--,an--,an<0||Ge[Ft]!==xt[an]){var en=`
33
+ `+Ge[Ft].replace(" at new "," at ");return y.displayName&&en.includes("<anonymous>")&&(en=en.replace("<anonymous>",y.displayName)),typeof y=="function"&&xl.set(y,en),en}while(Ft>=1&&an>=0);break}}}finally{wl=!1,li.current=Xe,El(),Error.prepareStackTrace=se}var ln=y?y.displayName||y.name:"",fn=ln?Cl(ln):"";return typeof y=="function"&&xl.set(y,fn),fn}function Bi(y,R,$){return io(y,!1)}function pd(y){var R=y.prototype;return!!(R&&R.isReactComponent)}function xi(y,R,$){if(y==null)return"";if(typeof y=="function")return io(y,pd(y));if(typeof y=="string")return Cl(y);switch(y){case F:return Cl("Suspense");case te:return Cl("SuspenseList")}if(typeof y=="object")switch(y.$$typeof){case ne:return Bi(y.render);case le:return xi(y.type,R,$);case we:{var q=y,se=q._payload,Xe=q._init;try{return xi(Xe(se),R,$)}catch{}}}return""}var Ht={},lo=Ae.ReactDebugCurrentFrame;function ou(y){if(y){var R=y._owner,$=xi(y.type,y._source,R?R.type:null);lo.setExtraStackFrame($)}else lo.setExtraStackFrame(null)}function uo(y,R,$,q,se){{var Xe=Function.call.bind(br);for(var me in y)if(Xe(y,me)){var Ge=void 0;try{if(typeof y[me]!="function"){var xt=Error((q||"React class")+": "+$+" type `"+me+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof y[me]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw xt.name="Invariant Violation",xt}Ge=y[me](R,me,q,$,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(Ft){Ge=Ft}Ge&&!(Ge instanceof Error)&&(ou(se),ge("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",q||"React class",$,me,typeof Ge),ou(null)),Ge instanceof Error&&!(Ge.message in Ht)&&(Ht[Ge.message]=!0,ou(se),ge("Failed %s type: %s",$,Ge.message),ou(null))}}}function Pt(y){if(y){var R=y._owner,$=xi(y.type,y._source,R?R.type:null);tn($)}else tn(null)}var oo;oo=!1;function so(){if(ke.current){var y=Jn(ke.current.type);if(y)return`
34
+
35
+ Check the render method of \``+y+"`."}return""}function ot(y){if(y!==void 0){var R=y.fileName.replace(/^.*[\\\/]/,""),$=y.lineNumber;return`
36
+
37
+ Check your code at `+R+":"+$+"."}return""}function su(y){return y!=null?ot(y.__source):""}var bn={};function ra(y){var R=so();if(!R){var $=typeof y=="string"?y:y.displayName||y.name;$&&(R=`
38
+
39
+ Check the top-level render call using <`+$+">.")}return R}function Fr(y,R){if(!(!y._store||y._store.validated||y.key!=null)){y._store.validated=!0;var $=ra(R);if(!bn[$]){bn[$]=!0;var q="";y&&y._owner&&y._owner!==ke.current&&(q=" It was passed a child from "+Jn(y._owner.type)+"."),Pt(y),ge('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',$,q),Pt(null)}}}function bl(y,R){if(typeof y=="object"){if(Cn(y))for(var $=0;$<y.length;$++){var q=y[$];Qt(q)&&Fr(q,R)}else if(Qt(y))y._store&&(y._store.validated=!0);else if(y){var se=We(y);if(typeof se=="function"&&se!==y.entries)for(var Xe=se.call(y),me;!(me=Xe.next()).done;)Qt(me.value)&&Fr(me.value,R)}}}function Dn(y){{var R=y.type;if(R==null||typeof R=="string")return;var $;if(typeof R=="function")$=R.propTypes;else if(typeof R=="object"&&(R.$$typeof===ne||R.$$typeof===le))$=R.propTypes;else return;if($){var q=Jn(R);uo($,y.props,"prop",q,y)}else if(R.PropTypes!==void 0&&!oo){oo=!0;var se=Jn(R);ge("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",se||"Unknown")}typeof R.getDefaultProps=="function"&&!R.getDefaultProps.isReactClassApproved&&ge("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function Kt(y){{for(var R=Object.keys(y.props),$=0;$<R.length;$++){var q=R[$];if(q!=="children"&&q!=="key"){Pt(y),ge("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",q),Pt(null);break}}y.ref!==null&&(Pt(y),ge("Invalid attribute `ref` supplied to `React.Fragment`."),Pt(null))}}function Ec(y,R,$){var q=re(y);if(!q){var se="";(y===void 0||typeof y=="object"&&y!==null&&Object.keys(y).length===0)&&(se+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var Xe=su(R);Xe?se+=Xe:se+=so();var me;y===null?me="null":Cn(y)?me="array":y!==void 0&&y.$$typeof===x?(me="<"+(Jn(y.type)||"Unknown")+" />",se=" Did you accidentally export a JSX literal instead of a component?"):me=typeof y,ge("React.createElement: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",me,se)}var Ge=Be.apply(this,arguments);if(Ge==null)return Ge;if(q)for(var xt=2;xt<arguments.length;xt++)bl(arguments[xt],y);return y===j?Kt(Ge):Dn(Ge),Ge}var aa=!1;function er(y){var R=Ec.bind(null,y);return R.type=y,aa||(aa=!0,lt("React.createFactory() is deprecated and will be removed in a future major release. Consider using JSX or use React.createElement() directly instead.")),Object.defineProperty(R,"type",{enumerable:!1,get:function(){return lt("Factory.type is deprecated. Access the class directly before passing it to createFactory."),Object.defineProperty(this,"type",{value:y}),y}}),R}function bi(y,R,$){for(var q=$t.apply(this,arguments),se=2;se<arguments.length;se++)bl(arguments[se],q.type);return Dn(q),q}function Cc(y,R){var $=pt.transition;pt.transition={};var q=pt.transition;pt.transition._updatedFibers=new Set;try{y()}finally{if(pt.transition=$,$===null&&q._updatedFibers){var se=q._updatedFibers.size;se>10&&lt("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."),q._updatedFibers.clear()}}}var Hi=!1,Tl=null;function wc(y){if(Tl===null)try{var R=("require"+Math.random()).slice(0,7),$=s&&s[R];Tl=$.call(s,"timers").setImmediate}catch{Tl=function(se){Hi===!1&&(Hi=!0,typeof MessageChannel>"u"&&ge("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."));var Xe=new MessageChannel;Xe.port1.onmessage=se,Xe.port2.postMessage(void 0)}}return Tl(y)}var ja=0,Rl=!1;function kl(y){{var R=ja;ja++,Re.current===null&&(Re.current=[]);var $=Re.isBatchingLegacy,q;try{if(Re.isBatchingLegacy=!0,q=y(),!$&&Re.didScheduleLegacyUpdate){var se=Re.current;se!==null&&(Re.didScheduleLegacyUpdate=!1,Dl(se))}}catch(ln){throw Pa(R),ln}finally{Re.isBatchingLegacy=$}if(q!==null&&typeof q=="object"&&typeof q.then=="function"){var Xe=q,me=!1,Ge={then:function(ln,fn){me=!0,Xe.then(function(Dt){Pa(R),ja===0?co(Dt,ln,fn):ln(Dt)},function(Dt){Pa(R),fn(Dt)})}};return!Rl&&typeof Promise<"u"&&Promise.resolve().then(function(){}).then(function(){me||(Rl=!0,ge("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 () => ...);"))}),Ge}else{var xt=q;if(Pa(R),ja===0){var Ft=Re.current;Ft!==null&&(Dl(Ft),Re.current=null);var an={then:function(ln,fn){Re.current===null?(Re.current=[],co(xt,ln,fn)):ln(xt)}};return an}else{var en={then:function(ln,fn){ln(xt)}};return en}}}}function Pa(y){y!==ja-1&&ge("You seem to have overlapping act() calls, this is not supported. Be sure to await previous act() calls before making a new one. "),ja=y}function co(y,R,$){{var q=Re.current;if(q!==null)try{Dl(q),wc(function(){q.length===0?(Re.current=null,R(y)):co(y,R,$)})}catch(se){$(se)}else R(y)}}var _l=!1;function Dl(y){if(!_l){_l=!0;var R=0;try{for(;R<y.length;R++){var $=y[R];do $=$(!0);while($!==null)}y.length=0}catch(q){throw y=y.slice(R+1),q}finally{_l=!1}}}var cu=Ec,fo=bi,fs=er,ui={map:za,forEach:uu,count:ml,toArray:eo,only:Fi};h.Children=ui,h.Component=tt,h.Fragment=j,h.Profiler=Q,h.PureComponent=Wt,h.StrictMode=E,h.Suspense=F,h.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Ae,h.cloneElement=fo,h.createContext=gl,h.createElement=cu,h.createFactory=fs,h.createRef=xr,h.forwardRef=Ei,h.isValidElement=Qt,h.lazy=xa,h.memo=pe,h.startTransition=Cc,h.unstable_act=kl,h.useCallback=fr,h.useContext=vt,h.useDebugValue=jt,h.useDeferredValue=ii,h.useEffect=Pn,h.useId=wt,h.useImperativeHandle=to,h.useInsertionEffect=sn,h.useLayoutEffect=cn,h.useMemo=Ci,h.useReducer=ht,h.useRef=$e,h.useState=Ot,h.useSyncExternalStore=wi,h.useTransition=dd,h.version=v,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)}()}(xv,xv.exports)),xv.exports}process.env.NODE_ENV==="production"?XE.exports=GD():XE.exports=qD();var Fe=XE.exports;/**
40
+ * @license React
41
+ * react-jsx-runtime.production.min.js
42
+ *
43
+ * Copyright (c) Facebook, Inc. and its affiliates.
44
+ *
45
+ * This source code is licensed under the MIT license found in the
46
+ * LICENSE file in the root directory of this source tree.
47
+ */var nb;function KD(){if(nb)return Cv;nb=1;var s=Fe,h=Symbol.for("react.element"),v=Symbol.for("react.fragment"),x=Object.prototype.hasOwnProperty,b=s.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,j={key:!0,ref:!0,__self:!0,__source:!0};function E(Q,A,G){var ne,F={},te=null,le=null;G!==void 0&&(te=""+G),A.key!==void 0&&(te=""+A.key),A.ref!==void 0&&(le=A.ref);for(ne in A)x.call(A,ne)&&!j.hasOwnProperty(ne)&&(F[ne]=A[ne]);if(Q&&Q.defaultProps)for(ne in A=Q.defaultProps,A)F[ne]===void 0&&(F[ne]=A[ne]);return{$$typeof:h,type:Q,key:te,ref:le,props:F,_owner:b.current}}return Cv.Fragment=v,Cv.jsx=E,Cv.jsxs=E,Cv}var wv={};/**
48
+ * @license React
49
+ * react-jsx-runtime.development.js
50
+ *
51
+ * Copyright (c) Facebook, Inc. and its affiliates.
52
+ *
53
+ * This source code is licensed under the MIT license found in the
54
+ * LICENSE file in the root directory of this source tree.
55
+ */var rb;function XD(){return rb||(rb=1,process.env.NODE_ENV!=="production"&&function(){var s=Fe,h=Symbol.for("react.element"),v=Symbol.for("react.portal"),x=Symbol.for("react.fragment"),b=Symbol.for("react.strict_mode"),j=Symbol.for("react.profiler"),E=Symbol.for("react.provider"),Q=Symbol.for("react.context"),A=Symbol.for("react.forward_ref"),G=Symbol.for("react.suspense"),ne=Symbol.for("react.suspense_list"),F=Symbol.for("react.memo"),te=Symbol.for("react.lazy"),le=Symbol.for("react.offscreen"),we=Symbol.iterator,Ke="@@iterator";function Je(k){if(k===null||typeof k!="object")return null;var re=we&&k[we]||k[Ke];return typeof re=="function"?re:null}var it=s.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function We(k){{for(var re=arguments.length,pe=new Array(re>1?re-1:0),xe=1;xe<re;xe++)pe[xe-1]=arguments[xe];Ie("error",k,pe)}}function Ie(k,re,pe){{var xe=it.ReactDebugCurrentFrame,vt=xe.getStackAddendum();vt!==""&&(re+="%s",pe=pe.concat([vt]));var Ot=pe.map(function(ht){return String(ht)});Ot.unshift("Warning: "+re),Function.prototype.apply.call(console[k],console,Ot)}}var pt=!1,Re=!1,ke=!1,Le=!1,Tt=!1,tn;tn=Symbol.for("react.module.reference");function zt(k){return!!(typeof k=="string"||typeof k=="function"||k===x||k===j||Tt||k===b||k===G||k===ne||Le||k===le||pt||Re||ke||typeof k=="object"&&k!==null&&(k.$$typeof===te||k.$$typeof===F||k.$$typeof===E||k.$$typeof===Q||k.$$typeof===A||k.$$typeof===tn||k.getModuleId!==void 0))}function Ct(k,re,pe){var xe=k.displayName;if(xe)return xe;var vt=re.displayName||re.name||"";return vt!==""?pe+"("+vt+")":pe}function pn(k){return k.displayName||"Context"}function Qe(k){if(k==null)return null;if(typeof k.tag=="number"&&We("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof k=="function")return k.displayName||k.name||null;if(typeof k=="string")return k;switch(k){case x:return"Fragment";case v:return"Portal";case j:return"Profiler";case b:return"StrictMode";case G:return"Suspense";case ne:return"SuspenseList"}if(typeof k=="object")switch(k.$$typeof){case Q:var re=k;return pn(re)+".Consumer";case E:var pe=k;return pn(pe._context)+".Provider";case A:return Ct(k,k.render,"ForwardRef");case F:var xe=k.displayName||null;return xe!==null?xe:Qe(k.type)||"Memo";case te:{var vt=k,Ot=vt._payload,ht=vt._init;try{return Qe(ht(Ot))}catch{return null}}}return null}var ft=Object.assign,Ae=0,lt,ge,ce,ze,D,ee,ye;function ut(){}ut.__reactDisabledLog=!0;function tt(){{if(Ae===0){lt=console.log,ge=console.info,ce=console.warn,ze=console.error,D=console.group,ee=console.groupCollapsed,ye=console.groupEnd;var k={configurable:!0,enumerable:!0,value:ut,writable:!0};Object.defineProperties(console,{info:k,log:k,warn:k,error:k,group:k,groupCollapsed:k,groupEnd:k})}Ae++}}function Lt(){{if(Ae--,Ae===0){var k={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:ft({},k,{value:lt}),info:ft({},k,{value:ge}),warn:ft({},k,{value:ce}),error:ft({},k,{value:ze}),group:ft({},k,{value:D}),groupCollapsed:ft({},k,{value:ee}),groupEnd:ft({},k,{value:ye})})}Ae<0&&We("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var yt=it.ReactCurrentDispatcher,Rt;function St(k,re,pe){{if(Rt===void 0)try{throw Error()}catch(vt){var xe=vt.stack.trim().match(/\n( *(at )?)/);Rt=xe&&xe[1]||""}return`
56
+ `+Rt+k}}var Wt=!1,Kr;{var xr=typeof WeakMap=="function"?WeakMap:Map;Kr=new xr}function Xr(k,re){if(!k||Wt)return"";{var pe=Kr.get(k);if(pe!==void 0)return pe}var xe;Wt=!0;var vt=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var Ot;Ot=yt.current,yt.current=null,tt();try{if(re){var ht=function(){throw Error()};if(Object.defineProperty(ht.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(ht,[])}catch(jt){xe=jt}Reflect.construct(k,[],ht)}else{try{ht.call()}catch(jt){xe=jt}k.call(ht.prototype)}}else{try{throw Error()}catch(jt){xe=jt}k()}}catch(jt){if(jt&&xe&&typeof jt.stack=="string"){for(var $e=jt.stack.split(`
57
+ `),Pn=xe.stack.split(`
58
+ `),sn=$e.length-1,cn=Pn.length-1;sn>=1&&cn>=0&&$e[sn]!==Pn[cn];)cn--;for(;sn>=1&&cn>=0;sn--,cn--)if($e[sn]!==Pn[cn]){if(sn!==1||cn!==1)do if(sn--,cn--,cn<0||$e[sn]!==Pn[cn]){var fr=`
59
+ `+$e[sn].replace(" at new "," at ");return k.displayName&&fr.includes("<anonymous>")&&(fr=fr.replace("<anonymous>",k.displayName)),typeof k=="function"&&Kr.set(k,fr),fr}while(sn>=1&&cn>=0);break}}}finally{Wt=!1,yt.current=Ot,Lt(),Error.prepareStackTrace=vt}var Ci=k?k.displayName||k.name:"",to=Ci?St(Ci):"";return typeof k=="function"&&Kr.set(k,to),to}function Cn(k,re,pe){return Xr(k,!1)}function Zn(k){var re=k.prototype;return!!(re&&re.isReactComponent)}function Vn(k,re,pe){if(k==null)return"";if(typeof k=="function")return Xr(k,Zn(k));if(typeof k=="string")return St(k);switch(k){case G:return St("Suspense");case ne:return St("SuspenseList")}if(typeof k=="object")switch(k.$$typeof){case A:return Cn(k.render);case F:return Vn(k.type,re,pe);case te:{var xe=k,vt=xe._payload,Ot=xe._init;try{return Vn(Ot(vt),re,pe)}catch{}}}return""}var $n=Object.prototype.hasOwnProperty,Mn={},Zr=it.ReactDebugCurrentFrame;function Jr(k){if(k){var re=k._owner,pe=Vn(k.type,k._source,re?re.type:null);Zr.setExtraStackFrame(pe)}else Zr.setExtraStackFrame(null)}function Jn(k,re,pe,xe,vt){{var Ot=Function.call.bind($n);for(var ht in k)if(Ot(k,ht)){var $e=void 0;try{if(typeof k[ht]!="function"){var Pn=Error((xe||"React class")+": "+pe+" type `"+ht+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof k[ht]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw Pn.name="Invariant Violation",Pn}$e=k[ht](re,ht,xe,pe,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(sn){$e=sn}$e&&!($e instanceof Error)&&(Jr(vt),We("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",xe||"React class",pe,ht,typeof $e),Jr(null)),$e instanceof Error&&!($e.message in Mn)&&(Mn[$e.message]=!0,Jr(vt),We("Failed %s type: %s",pe,$e.message),Jr(null))}}}var br=Array.isArray;function ea(k){return br(k)}function Tr(k){{var re=typeof Symbol=="function"&&Symbol.toStringTag,pe=re&&k[Symbol.toStringTag]||k.constructor.name||"Object";return pe}}function Sa(k){try{return cr(k),!1}catch{return!0}}function cr(k){return""+k}function ta(k){if(Sa(k))return We("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",Tr(k)),cr(k)}var wn=it.ReactCurrentOwner,Ar={key:!0,ref:!0,__self:!0,__source:!0},gi,Ea,de;de={};function Be(k){if($n.call(k,"ref")){var re=Object.getOwnPropertyDescriptor(k,"ref").get;if(re&&re.isReactWarning)return!1}return k.ref!==void 0}function Et(k){if($n.call(k,"key")){var re=Object.getOwnPropertyDescriptor(k,"key").get;if(re&&re.isReactWarning)return!1}return k.key!==void 0}function $t(k,re){if(typeof k.ref=="string"&&wn.current&&re&&wn.current.stateNode!==re){var pe=Qe(wn.current.type);de[pe]||(We('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',Qe(wn.current.type),k.ref),de[pe]=!0)}}function Qt(k,re){{var pe=function(){gi||(gi=!0,We("%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://reactjs.org/link/special-props)",re))};pe.isReactWarning=!0,Object.defineProperty(k,"key",{get:pe,configurable:!0})}}function An(k,re){{var pe=function(){Ea||(Ea=!0,We("%s: `ref` 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://reactjs.org/link/special-props)",re))};pe.isReactWarning=!0,Object.defineProperty(k,"ref",{get:pe,configurable:!0})}}var xn=function(k,re,pe,xe,vt,Ot,ht){var $e={$$typeof:h,type:k,key:re,ref:pe,props:ht,_owner:Ot};return $e._store={},Object.defineProperty($e._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty($e,"_self",{configurable:!1,enumerable:!1,writable:!1,value:xe}),Object.defineProperty($e,"_source",{configurable:!1,enumerable:!1,writable:!1,value:vt}),Object.freeze&&(Object.freeze($e.props),Object.freeze($e)),$e};function Rr(k,re,pe,xe,vt){{var Ot,ht={},$e=null,Pn=null;pe!==void 0&&(ta(pe),$e=""+pe),Et(re)&&(ta(re.key),$e=""+re.key),Be(re)&&(Pn=re.ref,$t(re,vt));for(Ot in re)$n.call(re,Ot)&&!Ar.hasOwnProperty(Ot)&&(ht[Ot]=re[Ot]);if(k&&k.defaultProps){var sn=k.defaultProps;for(Ot in sn)ht[Ot]===void 0&&(ht[Ot]=sn[Ot])}if($e||Pn){var cn=typeof k=="function"?k.displayName||k.name||"Unknown":k;$e&&Qt(ht,cn),Pn&&An(ht,cn)}return xn(k,$e,Pn,vt,xe,wn.current,ht)}}var Jt=it.ReactCurrentOwner,Ur=it.ReactDebugCurrentFrame;function Gt(k){if(k){var re=k._owner,pe=Vn(k.type,k._source,re?re.type:null);Ur.setExtraStackFrame(pe)}else Ur.setExtraStackFrame(null)}var qt;qt=!1;function ai(k){return typeof k=="object"&&k!==null&&k.$$typeof===h}function za(){{if(Jt.current){var k=Qe(Jt.current.type);if(k)return`
60
+
61
+ Check the render method of \``+k+"`."}return""}}function ml(k){{if(k!==void 0){var re=k.fileName.replace(/^.*[\\\/]/,""),pe=k.lineNumber;return`
62
+
63
+ Check your code at `+re+":"+pe+"."}return""}}var uu={};function eo(k){{var re=za();if(!re){var pe=typeof k=="string"?k:k.displayName||k.name;pe&&(re=`
64
+
65
+ Check the top-level render call using <`+pe+">.")}return re}}function Fi(k,re){{if(!k._store||k._store.validated||k.key!=null)return;k._store.validated=!0;var pe=eo(re);if(uu[pe])return;uu[pe]=!0;var xe="";k&&k._owner&&k._owner!==Jt.current&&(xe=" It was passed a child from "+Qe(k._owner.type)+"."),Gt(k),We('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',pe,xe),Gt(null)}}function gl(k,re){{if(typeof k!="object")return;if(ea(k))for(var pe=0;pe<k.length;pe++){var xe=k[pe];ai(xe)&&Fi(xe,re)}else if(ai(k))k._store&&(k._store.validated=!0);else if(k){var vt=Je(k);if(typeof vt=="function"&&vt!==k.entries)for(var Ot=vt.call(k),ht;!(ht=Ot.next()).done;)ai(ht.value)&&Fi(ht.value,re)}}}function Ca(k){{var re=k.type;if(re==null||typeof re=="string")return;var pe;if(typeof re=="function")pe=re.propTypes;else if(typeof re=="object"&&(re.$$typeof===A||re.$$typeof===F))pe=re.propTypes;else return;if(pe){var xe=Qe(re);Jn(pe,k.props,"prop",xe,k)}else if(re.PropTypes!==void 0&&!qt){qt=!0;var vt=Qe(re);We("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",vt||"Unknown")}typeof re.getDefaultProps=="function"&&!re.getDefaultProps.isReactClassApproved&&We("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function yi(k){{for(var re=Object.keys(k.props),pe=0;pe<re.length;pe++){var xe=re[pe];if(xe!=="children"&&xe!=="key"){Gt(k),We("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",xe),Gt(null);break}}k.ref!==null&&(Gt(k),We("Invalid attribute `ref` supplied to `React.Fragment`."),Gt(null))}}function wa(k,re,pe,xe,vt,Ot){{var ht=zt(k);if(!ht){var $e="";(k===void 0||typeof k=="object"&&k!==null&&Object.keys(k).length===0)&&($e+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var Pn=ml(vt);Pn?$e+=Pn:$e+=za();var sn;k===null?sn="null":ea(k)?sn="array":k!==void 0&&k.$$typeof===h?(sn="<"+(Qe(k.type)||"Unknown")+" />",$e=" Did you accidentally export a JSX literal instead of a component?"):sn=typeof k,We("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",sn,$e)}var cn=Rr(k,re,pe,vt,Ot);if(cn==null)return cn;if(ht){var fr=re.children;if(fr!==void 0)if(xe)if(ea(fr)){for(var Ci=0;Ci<fr.length;Ci++)gl(fr[Ci],k);Object.freeze&&Object.freeze(fr)}else We("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else gl(fr,k)}return k===x?yi(cn):Ca(cn),cn}}function Si(k,re,pe){return wa(k,re,pe,!0)}function zr(k,re,pe){return wa(k,re,pe,!1)}var xa=zr,Ei=Si;wv.Fragment=x,wv.jsx=xa,wv.jsxs=Ei}()),wv}process.env.NODE_ENV==="production"?KE.exports=KD():KE.exports=XD();var _=KE.exports;const Zu=s=>s.filter(Boolean).join(" "),ZD=({onDrop:s,label:h,icon:v,secondaryLabel:x,isLoading:b,fillParentContainer:j,onAssetChooseClick:E,onUploadClick:Q,withMenu:A=!0,onClick:G,validFileType:ne,verticalLayout:F})=>{const[te,le]=Fe.useState(!1),[we,Ke]=Fe.useState(),Je=Fe.useRef(null),[it,We]=Fe.useState(void 0),Ie=ke=>{if(ke.preventDefault(),le(!1),!pt(ke.dataTransfer.files)){We("Invalid"),setTimeout(()=>{We(void 0)},1e3);return}s==null||s(ke.dataTransfer.files)},pt=ke=>{if(!ne)return!0;for(let Le=0;Le<ke.length;Le++){const Tt=ke[Le].name.split(".").pop()??"";if(!gc.FileExtensionSets[ne].includes(Tt))return!1}return!0},Re=ke=>{if(!Je.current||b)return;const{left:Le,top:Tt}=Je.current.getBoundingClientRect(),tn=ke.clientX-Le,zt=ke.clientY-Tt;Ke([tn,zt])};return _.jsxs("button",{ref:Je,"data-test-id":"block-inject-button",className:Zu(["tw-font-body tw-relative tw-text-sm tw-leading-4 tw-border tw-flex tw-items-center tw-justify-center tw-cursor-pointer tw-gap-3 tw-w-full first:tw-rounded-tl last:tw-rounded-br",F?"[&:not(:first-child)]:tw-border-t-0 first:tw-rounded-tr last:tw-rounded-bl":"[&:not(:first-child)]:tw-border-l-0 first:tw-rounded-bl last:tw-rounded-tr",j?"tw-h-full":"tw-h-[72px]",te&&!b?"tw-border-dashed":"tw-border-solid",we&&"tw-bg-blank-state-pressed-inverse",te&&"tw-bg-blank-state-weak-inverse",it?"!tw-border-red-50 !tw-cursor-not-allowed":" tw-border-blank-state-line",b||we||te||it?"":"tw-text-text-weak hover:tw-text-blank-state-hover hover:tw-bg-blank-state-hover-inverse hover:tw-border-blank-state-line-hover active:tw-text-blank-state-pressed active:tw-bg-blank-state-pressed-inverse active:tw-border-blank-state-line-hover",(te||we)&&!it?"[&>*]:tw-pointer-events-none tw-border-blank-state-line-hover":"tw-bg-blank-state-shaded-inverse tw-text-blank-state-shaded"]),onDragEnter:s?ke=>{var Le;if(le(!0),ne==="Images")for(const Tt of Array.from(ke.dataTransfer.items))(Le=Tt==null?void 0:Tt.type)!=null&&Le.startsWith("image/")?We(void 0):We("Invalid")}:void 0,onDragLeave:s?()=>{le(!1),We(void 0)}:void 0,onDrop:s?Ie:void 0,onClick:ke=>{A&&Re(ke),G==null||G()},children:[b?_.jsx(L.LoadingCircle,{}):it?_.jsxs("div",{className:" tw-flex tw-items-center tw-justify-center tw-text-red-60 tw-font-medium",children:[_.jsx(L.IconExclamationMarkTriangle,{}),it]}):_.jsxs(_.Fragment,{children:[v&&_.jsx("div",{children:v}),(h||x)&&_.jsxs("div",{className:"tw-flex tw-flex-col tw-items-start",children:[h&&_.jsx("div",{className:"tw-font-medium",children:h}),x&&_.jsx("div",{className:"tw-font-normal",children:x})]})]}),we&&_.jsx("div",{className:"tw-absolute tw-left-0 tw-top-full tw-z-20",style:{left:we[0],top:we[1]},children:_.jsx(L.Flyout,{onOpenChange:ke=>!ke&&Ke(void 0),isOpen:!0,fitContent:!0,hug:!1,legacyFooter:!1,trigger:_.jsx("div",{}),children:_.jsx(L.ActionMenu,{menuBlocks:[{id:"menu",menuItems:[...Q?[{id:"upload",size:L.MenuItemContentSize.XSmall,title:"Upload asset",onClick:()=>{Q(),Ke(void 0)},initialValue:!0,decorator:_.jsx("div",{className:"tw-mr-2",children:_.jsx(L.IconArrowCircleUp20,{})})}]:[],...E?[{id:"asset",size:L.MenuItemContentSize.XSmall,title:"Browse asset",onClick:()=>{E(),Ke(void 0)},initialValue:!0,decorator:_.jsx("div",{className:"tw-mr-2",children:_.jsx(L.IconImageStack20,{})})}]:[]]}]})})})]})},yc=s=>{const h=x=>typeof x=="object"&&["red","green","blue"].every(j=>x.hasOwnProperty(j)),v=x=>{const b=typeof x.alpha=="number"?x.alpha:1;return{r:x.red,g:x.green,b:x.blue,a:b}};return h(s)?v(s):s},JD=s=>typeof s=="object"&&["red","green","blue"].every(v=>s==null?void 0:s.hasOwnProperty(v)),eL=(s,h)=>{const v=JD(s)?yc(s):s,x=Xu(v);return h?x.getBrightness()<h:x.isDark()||x.getAlpha()>.25&&x.getAlpha()<1},tL=s=>Xu(yc(s)).toHex8String(),nL=s=>Xu(yc(s)).toHexString(),iC=s=>Xu(yc(s)).toRgbString(),rL=(s,h)=>Xu(h).setAlpha(s).toRgbString(),aL=s=>{const{r:h,g:v,b:x,a:b}=Xu(s);return{red:h,green:v,blue:x,alpha:b}},ab=s=>typeof s=="object"&&["red","green","blue"].every(v=>s==null?void 0:s.hasOwnProperty(v)),iL=(s,h)=>{const v=ab(s)?yc(s):s,x=ab(h)?yc(h):h;let b=Xu(v);const j=Xu(x);for(;Xu.readability(b,j)<4.5;)b=b.darken(1);return b.toRgbString()},lL=(s,h,v)=>{const x=[...s],b=v<0?x.length+v:v;if(b>=0&&b<x.length){const j=x.splice(h,1)[0];x.splice(b,0,j)}return x},uL=s=>({backgroundColor:iC(s)});var lu=(s=>(s.Solid="Solid",s.Dashed="Dashed",s.Dotted="Dotted",s))(lu||{});const pb={Solid:"solid",Dotted:"dotted",Dashed:"dashed"};var us=(s=>(s.None="None",s.Small="Small",s.Medium="Medium",s.Large="Large",s))(us||{});const hc={None:"0px",Small:"2px",Medium:"4px",Large:"12px"};var dc=(s=>(s.None="None",s.Small="Small",s.Medium="Medium",s.Large="Large",s))(dc||{});const ld={None:"0px",Small:"24px",Medium:"36px",Large:"60px"};var pc=(s=>(s.None="None",s.Small="Small",s.Medium="Medium",s.Large="Large",s))(pc||{});const ud={None:"0px",Small:"24px",Medium:"36px",Large:"60px"};var mc=(s=>(s.Global="Global",s.Custom="Custom",s))(mc||{}),vc=(s=>(s.Auto="Auto",s.S="S",s.M="M",s.L="L",s))(vc||{});const vb={Auto:"4px",S:"10px",M:"30px",L:"50px"},oL={red:241,green:241,blue:241,alpha:1},hb={red:234,green:235,blue:235,alpha:1},sL="1px",bv="24px",Tv="24px",cL=(s=lu.Solid,h="1px",v=hb)=>({borderStyle:pb[s],borderWidth:h,borderColor:iC(v)}),fL=(s,h=!1,v)=>({borderRadius:h?v:hc[s]}),mb="Drag or press ↵ to move",gb="Move with ↑↓←→ and confirm with ↵",dL=({items:s,flyoutItems:h,isFlyoutOpen:v,setIsFlyoutOpen:x,isDragging:b,isFlyoutDisabled:j})=>_.jsx("div",{"data-test-id":"block-item-wrapper-toolbar",className:"tw-flex tw-justify-end",children:_.jsxs("div",{className:"tw-bg-white tw-text-box-selected-inverse tw-pointer-events-auto tw-flex tw-flex-shrink-0 tw-gap-[2px] tw-px-[1px] tw-spacing tw-items-center tw-h-7 tw-self-start tw-border tw-border-box-selected-inverse tw-rounded",children:[s.map((E,Q)=>"draggableProps"in E?_.jsx(L.Tooltip,{withArrow:!0,hoverDelay:0,enterDelay:300,open:b,position:L.TooltipPosition.Top,content:_.jsx("div",{children:b?gb:E.tooltip??mb}),triggerElement:_.jsx("button",{ref:E.setActivatorNodeRef,"data-test-id":"block-item-wrapper-toolbar-btn",...E.draggableProps,className:Zu(["tw-bg-base tw-inline-flex tw-items-center tw-justify-center tw-w-6 tw-h-6 tw-rounded-sm",b?"tw-cursor-grabbing tw-bg-box-selected-pressed":"tw-cursor-grab hover:tw-bg-box-selected-hover"]),children:E.icon})},Q):_.jsx(L.Tooltip,{withArrow:!0,enterDelay:300,hoverDelay:0,disabled:b,position:L.TooltipPosition.Top,content:_.jsx("div",{children:E.tooltip??""}),triggerElement:_.jsx("button",{"data-test-id":"block-item-wrapper-toolbar-btn",onClick:E.onClick,className:"tw-bg-base hover:tw-bg-box-selected-hover active:tw-bg-box-selected-pressed tw-cursor-pointer tw-inline-flex tw-items-center tw-justify-center tw-w-6 tw-h-6 tw-rounded-sm",children:E.icon})},Q)),h.length>0&&_.jsx("div",{className:"tw-flex tw-flex-shrink-0 tw-flex-1 tw-h-6",children:_.jsx(L.Flyout,{isOpen:v&&!b,isTriggerDisabled:j,legacyFooter:!1,fitContent:!0,hug:!1,onOpenChange:x,trigger:_.jsx(L.Tooltip,{withArrow:!0,hoverDelay:0,enterDelay:300,disabled:b,position:L.TooltipPosition.Top,content:_.jsx("div",{children:"Options"}),triggerElement:_.jsx("div",{"data-test-id":"block-item-wrapper-toolbar-flyout",className:"tw-bg-base hover:tw-bg-box-selected-hover active:tw-bg-box-selected-pressed tw-cursor-pointer tw-inline-flex tw-items-center tw-justify-center tw-w-6 tw-h-6 tw-rounded-sm",children:_.jsx(L.IconDotsHorizontal16,{})})}),children:_.jsx(L.ActionMenu,{menuBlocks:h.map((E,Q)=>({id:Q.toString(),menuItems:E.map((A,G)=>({id:Q.toString()+G.toString(),size:L.MenuItemContentSize.XSmall,title:A.title,style:A.style,onClick:()=>{x(!1),A.onClick()},initialValue:!0,decorator:_.jsx("div",{className:"tw-mr-2",children:A.icon})}))}))})})})]})}),pL=({children:s,toolbarFlyoutItems:h,toolbarItems:v,shouldHideWrapper:x,shouldHideComponent:b=!1,isDragging:j,shouldFillContainer:E,outlineOffset:Q=2,shouldBeShown:A=!1})=>{const[G,ne]=Fe.useState(A),[F,te]=Fe.useState(!1),le=Fe.useRef(null);if(Fe.useEffect(()=>{G||te(!0)},[G]),x)return s;const we=v==null?void 0:v.filter(Ke=>Ke!==void 0);return _.jsxs("div",{ref:le,onFocus:()=>te(!1),onPointerEnter:()=>te(!1),"data-test-id":"block-item-wrapper",style:{outlineOffset:Q},className:Zu(["tw-relative tw-group tw-outline-1 tw-outline-box-selected-inverse",E&&"tw-flex-1 tw-h-full tw-w-full","hover:tw-outline focus-within:tw-outline",(G||A)&&"tw-outline",b&&"tw-opacity-0"]),children:[_.jsx("div",{style:{right:-1-Q,bottom:`calc(100% - ${2+Q}px)`},className:Zu(["tw-pointer-events-none tw-absolute tw-bottom-[calc(100%-4px)] tw-right-[-3px] tw-w-full tw-opacity-0 tw-z-10","group-hover:tw-opacity-100 group-focus:tw-opacity-100 focus-within:tw-opacity-100",(G||A)&&"tw-opacity-100"]),children:_.jsx(dL,{isFlyoutOpen:G,isFlyoutDisabled:F,setIsFlyoutOpen:ne,flyoutItems:h,items:we,isDragging:j})}),s]})},vL=s=>s==="IMAGE"?_.jsx(L.IconImage24,{}):s==="VIDEO"?_.jsx(L.IconPlayFrame24,{}):s==="AUDIO"?_.jsx(L.IconMusicNote24,{}):_.jsx(L.IconDocument24,{}),lC=Fe.forwardRef(({item:s,isEditing:h,draggableProps:v,transformStyle:x,isDragging:b,isOverlay:j,isLoading:E,onDelete:Q,onReplaceWithBrowse:A,onReplaceWithUpload:G},ne)=>{const[F,te]=Fe.useState(),[le,{selectedFiles:we}]=gc.useFileInput({multiple:!0,accept:"image/*"}),[Ke,{results:Je,doneAll:it}]=gc.useAssetUpload(),{focusProps:We,isFocusVisible:Ie}=fb.useFocusRing();Fe.useEffect(()=>{we&&Ke(we[0])},[we]),Fe.useEffect(()=>{it&&G(Je[0])},[it,Je]);const pt=(ke,Le)=>{fetch(ke).then(Tt=>{Tt.blob().then(tn=>{const zt=URL.createObjectURL(tn),Ct=document.createElement("a");Ct.href=zt,Ct.download=Le,Ct.click()})})},Re=E||we&&!it;return _.jsxs("button",{"aria-label":"Download attachment","data-test-id":"attachments-item",onClick:()=>pt(s.genericUrl,s.fileName),ref:ne,style:{...x,opacity:b&&!j?.3:1,fontFamily:"var(-f-theme-settings-body-font-family)"},className:Zu(["tw-cursor-pointer tw-text-left tw-w-full tw-relative tw-flex tw-gap-3 tw-px-5 tw-py-3 tw-items-center tw-group hover:tw-bg-box-neutral-hover",b?"tw-bg-box-neutral-hover":""]),children:[_.jsx("div",{className:"tw-text-text-weak group-hover:tw-text-box-neutral-inverse-hover",children:Re?_.jsx(L.LoadingCircle,{size:L.LoadingCircleSize.Small}):vL(s.objectType)}),_.jsxs("div",{className:"tw-text-s tw-flex-1 tw-min-w-0",children:[_.jsx("div",{className:"tw-whitespace-nowrap tw-overflow-hidden tw-text-ellipsis tw-font-bold tw-text-text-weak group-hover:tw-text-box-neutral-inverse-hover",children:s.title}),_.jsx("div",{className:"tw-text-text-weak",children:`${s.fileSizeHumanReadable} - ${s.extension}`})]}),h&&_.jsxs("div",{"data-test-id":"attachments-actionbar",className:Zu(["tw-flex tw-gap-0.5 group-focus:tw-opacity-100 focus-visible:tw-opacity-100 focus-within:tw-opacity-100 group-hover:tw-opacity-100",j||(F==null?void 0:F.id)===s.id?"tw-opacity-100":"tw-opacity-0"]),children:[_.jsx("button",{...We,...v,"aria-label":"Drag attachment",className:Zu([" tw-border-button-border tw-bg-button-background active:tw-bg-button-background-pressed tw-group tw-border tw-box-box tw-relative tw-flex tw-items-center tw-justify-center tw-outline-none tw-font-medium tw-rounded tw-h-9 tw-w-9 ",b||j?"tw-cursor-grabbing tw-bg-button-background-pressed hover:tw-bg-button-background-pressed":"tw-cursor-grab hover:tw-bg-button-background-hover",Ie&&L.FOCUS_STYLE,Ie&&"tw-z-[2]"]),children:_.jsx(L.IconGrabHandle20,{})}),_.jsx("div",{"data-test-id":"attachments-actionbar-flyout",children:_.jsx(L.Flyout,{placement:L.FlyoutPlacement.Right,isOpen:(F==null?void 0:F.id)===s.id,fitContent:!0,legacyFooter:!1,onOpenChange:ke=>te(ke?s:void 0),trigger:(ke,Le)=>_.jsx(L.Button,{ref:Le,icon:_.jsx(L.IconPen20,{}),emphasis:L.ButtonEmphasis.Default,onClick:()=>te(s)}),children:_.jsx(L.ActionMenu,{menuBlocks:[{id:"menu",menuItems:[{id:"upload",size:L.MenuItemContentSize.XSmall,title:"Replace with upload",onClick:()=>{le(),te(void 0)},initialValue:!0,decorator:_.jsx("div",{className:"tw-mr-2",children:_.jsx(L.IconArrowCircleUp20,{})})},{id:"asset",size:L.MenuItemContentSize.XSmall,title:"Replace with asset",onClick:()=>{A(),te(void 0)},initialValue:!0,decorator:_.jsx("div",{className:"tw-mr-2",children:_.jsx(L.IconImageStack20,{})})}]},{id:"menu-delete",menuItems:[{id:"delete",size:L.MenuItemContentSize.XSmall,title:"Delete",style:L.MenuItemStyle.Danger,onClick:()=>{Q(),te(void 0)},initialValue:!0,decorator:_.jsx("div",{className:"tw-mr-2",children:_.jsx(L.IconTrashBin20,{})})}]}]})})})]})]})});lC.displayName="AttachmentItem";const hL=s=>{const{attributes:h,listeners:v,setNodeRef:x,transform:b,transition:j,isDragging:E}=dg.useSortable({id:s.item.id}),Q={transform:b?`translate(${b.x}px, ${b.y}px)`:"",transition:j,zIndex:E?2:1},A={...h,...v};return _.jsx(lC,{ref:x,isDragging:E,transformStyle:Q,draggableProps:A,...s})},mL=({items:s=[],onDelete:h,onReplaceWithBrowse:v,onReplaceWithUpload:x,onBrowse:b,onUpload:j,onSorted:E,appBridge:Q})=>{const[A,G]=Fe.useState(s),[ne,F]=Fe.useState(!1),te=Xn.useSensors(Xn.useSensor(Xn.PointerSensor),Xn.useSensor(Xn.KeyboardSensor)),[le,we]=Fe.useState(void 0),[Ke,Je]=Fe.useState(!1),[it,We]=Fe.useState([]),[Ie,pt]=Fe.useState(null),Re=gc.useEditorState(Q),ke=A==null?void 0:A.find(Ae=>Ae.id===le),[Le,{results:Tt,doneAll:tn}]=gc.useAssetUpload({onUploadProgress:()=>!Ke&&Je(!0)});Fe.useEffect(()=>{G(s)},[s]),Fe.useEffect(()=>{Ie&&(Je(!0),Le(Ie))},[Ie]),Fe.useEffect(()=>{(async()=>{tn&&(await j(Tt),Je(!1))})()},[tn,Tt]);const zt=()=>{F(!1),Q.openAssetChooser(Ae=>{b(Ae),Q.closeAssetChooser(),F(!0)},{multiSelection:!0,selectedValueIds:A.map(Ae=>Ae.id)})},Ct=Ae=>{F(!1),Q.openAssetChooser(async lt=>{F(!0),Q.closeAssetChooser(),We([...it,Ae.id]),await v(Ae,lt[0]),We(it.filter(ge=>ge!==Ae.id))},{multiSelection:!1,selectedValueIds:A.map(lt=>lt.id)})},pn=async(Ae,lt)=>{We([...it,Ae.id]),await x(Ae,lt),We(it.filter(ge=>ge!==Ae.id))},Qe=Ae=>{const{active:lt}=Ae;we(lt.id)},ft=Ae=>{const{active:lt,over:ge}=Ae;if(ge&&lt.id!==ge.id&&A){const ce=A.findIndex(ee=>ee.id===lt.id),ze=A.findIndex(ee=>ee.id===ge.id),D=dg.arrayMove(A,ce,ze);G(D),E(D)}we(void 0)};return Re||((A==null?void 0:A.length)??0)>0?_.jsx(L.Tooltip,{withArrow:!0,position:L.TooltipPosition.Top,content:"Attachments",disabled:ne,enterDelay:500,triggerElement:_.jsx("div",{"data-test-id":"attachments-flyout-button",children:_.jsx(L.Flyout,{placement:L.FlyoutPlacement.BottomRight,onOpenChange:Ae=>F(ke?!0:Ae),isOpen:ne,hug:!1,fitContent:!0,legacyFooter:!1,trigger:_.jsxs("div",{className:"tw-flex tw-text-[13px] tw-font-body tw-items-center tw-gap-1 tw-rounded-full tw-bg-box-neutral-strong-inverse hover:tw-bg-box-neutral-strong-inverse-hover active:tw-bg-box-neutral-strong-inverse-pressed tw-text-box-neutral-strong tw-outline tw-outline-1 tw-outline-offset-[1px] tw-p-[6px] tw-outline-line",children:[_.jsx(L.IconPaperclip16,{}),_.jsx("div",{children:s.length>0?s.length:"Add"}),_.jsx(L.IconCaretDown12,{})]}),children:_.jsxs("div",{className:"tw-w-[300px]",children:[A.length>0&&_.jsxs(Xn.DndContext,{sensors:te,collisionDetection:Xn.closestCenter,onDragStart:Qe,onDragEnd:ft,modifiers:[$D.restrictToWindowEdges],children:[_.jsx(dg.SortableContext,{items:A,strategy:dg.rectSortingStrategy,children:_.jsx("div",{className:"tw-border-b tw-border-b-line",children:A.map(Ae=>_.jsx(hL,{isEditing:Re,isLoading:it.includes(Ae.id),item:Ae,onDelete:()=>h(Ae),onReplaceWithBrowse:()=>Ct(Ae),onReplaceWithUpload:lt=>pn(Ae,lt)},Ae.id))})}),_.jsx(Xn.DragOverlay,{children:ke&&_.jsx(lC,{isOverlay:!0,isEditing:Re,item:ke,isDragging:!0,onDelete:()=>h(ke),onReplaceWithBrowse:()=>Ct(ke),onReplaceWithUpload:Ae=>pn(ke,Ae)},le)})]}),Re&&_.jsxs("div",{className:"tw-px-5 tw-py-3",children:[_.jsx("div",{className:"tw-font-body tw-font-medium tw-text-text tw-text-s tw-my-4",children:"Add attachments"}),_.jsx(L.AssetInput,{isLoading:Ke,size:L.AssetInputSize.Small,onUploadClick:Ae=>pt(Ae),onLibraryClick:zt})]})]})})})}):null},gL=({onDownload:s})=>{const{isFocused:h,focusProps:v}=fb.useFocusRing();return _.jsx(L.Tooltip,{withArrow:!0,position:L.TooltipPosition.Top,content:"Download",enterDelay:500,triggerElement:_.jsx("button",{tabIndex:0,"aria-label":"Download",...v,className:Zu(["tw-outline-none tw-rounded",h&&L.FOCUS_STYLE]),onClick:s,onPointerDown:x=>x.preventDefault(),children:_.jsx("span",{"data-test-id":"download-button",className:"tw-flex tw-text-xs tw-font-body tw-items-center tw-gap-1 tw-rounded-full tw-bg-box-neutral-strong-inverse hover:tw-bg-box-neutral-strong-inverse-hover active:tw-bg-box-neutral-strong-inverse-pressed tw-text-box-neutral-strong tw-outline tw-outline-1 tw-outline-offset-1 tw-p-1.5 tw-outline-line",children:_.jsx(L.IconArrowCircleDown16,{})})})})},yL=({floatingOptions:s,...h})=>{const v=N.useEditorRef(),x=db.useFocused(),b=N.useFloatingLinkSelectors().mode(),j=N.useFloatingLinkSelectors().isOpen(v.id),{triggerFloatingLinkHotkeys:E}=N.getPluginOptions(v,N.ELEMENT_LINK);N.useHotkeys(E,ne=>{N.triggerFloatingLinkInsert(v,{focused:x})&&ne.preventDefault()},{enableOnContentEditable:!0},[x]);const{update:Q,style:A,floating:G}=N.useVirtualFloatingLink({editorId:v.id,open:j&&b==="insert",getBoundingClientRect:N.getSelectionBoundingClientRect,whileElementsMounted:()=>{},...s});return Fe.useEffect(()=>{j?(Q(),N.floatingLinkActions.updated(!0)):N.floatingLinkActions.updated(!1)},[j,Q]),N.useFloatingLinkEscape(),{style:{...A,zIndex:1e3},...h,ref:N.useComposedRef(h.ref,G)}},SL=N.createComponentAs(s=>{var v;const h=yL({...s,floatingOptions:{strategy:"absolute"}});return((v=h.style)==null?void 0:v.display)==="none"?null:N.createElementAs("div",h)}),EL=N.createComponentAs(s=>{var v;const h=dO({...s,floatingOptions:{strategy:"absolute"}});return((v=h.style)==null?void 0:v.display)==="none"?null:N.createElementAs("div",h)});N.FloatingLink.EditRoot=EL;N.FloatingLink.InsertRoot=SL;const pg=N.FloatingLink,sd="link-plugin",yb=s=>{if(!s)return!1;const h=v=>v.some(x=>x.text?x.text!=="":x.children?h(x.children):!1);try{const v=JSON.parse(s);return h(v)}catch{return!1}},CL=(s="p",h="",v)=>yb(h)?h:JSON.stringify([{type:s,children:[{text:h,textStyle:s}],align:v}]),wL=[Xn.KeyboardCode.Down,Xn.KeyboardCode.Right,Xn.KeyboardCode.Up,Xn.KeyboardCode.Left],Sb=(s,h)=>(v,{currentCoordinates:x,context:{activeNode:b}})=>{if(v.preventDefault(),wL.includes(v.code)){const j=(b==null?void 0:b.offsetWidth)??0,E=(b==null?void 0:b.offsetHeight)??0;switch(v.code){case Xn.KeyboardCode.Right:return{...x,x:x.x+j+s};case Xn.KeyboardCode.Left:return{...x,x:x.x-j-s};case Xn.KeyboardCode.Down:return{...x,y:x.y+E+h};case Xn.KeyboardCode.Up:return{...x,y:x.y-E-h}}}},xL=(s,h,v)=>s===mc.Custom?h:v,bL=s=>s.map(Eb),Eb=s=>({id:s.id,title:s.name,colors:s.colors.map(h=>({alpha:h.alpha?h.alpha/255:1,red:h.red??0,green:h.green??0,blue:h.blue??0,name:h.name??""}))}),uC=(s,h)=>{const v=N.getAboveNode(s,{match:{type:N.ELEMENT_LINK}});return Array.isArray(v)?h(v[0]):""},TL=s=>uC(s,h=>{var v,x;return((x=(v=h.chosenLink)==null?void 0:v.searchResult)==null?void 0:x.link)||""}),RL=s=>uC(s,h=>h.url||""),kL=s=>{var h,v;return s.url||((v=(h=s.chosenLink)==null?void 0:h.searchResult)==null?void 0:v.link)||""},_L=s=>uC(s,kL),Cb=/^\/(document|r)\/\S+$/i,yg=s=>{if(Cb.test(s))return s;try{return new URL(s),s}catch{return`https://${s}`}},oC=s=>{if(Cb.test(s))return!0;try{const h=new URL(s);return["http:","https:","mailto:","tel:"].includes(h.protocol)&&h.pathname!==""}catch{return!1}},vg=s=>oC(yg(s))||s==="",DL=(s,h)=>{const v=N.getAboveNode(s,{match:{type:dn}});return Array.isArray(v)?h(v[0]):""},wb=s=>DL(s,h=>h.url??""),xb=(s,{url:h,text:v="",buttonStyle:x="primary",target:b,children:j})=>({type:N.getPluginType(s,dn),url:h,target:b,buttonStyle:x,children:j??[{text:v}]}),sC=N.createStore("floatingButton")({openEditorId:null,mouseDown:!1,updated:!1,url:"",text:"",buttonStyle:"primary",newTab:!1,mode:"",isEditing:!1}).extendActions(s=>({reset:()=>{s.url(""),s.text(""),s.buttonStyle("primary"),s.newTab(!1),s.mode(""),s.isEditing(!1)}})).extendActions(s=>({show:(h,v)=>{s.mode(h),s.isEditing(!1),s.openEditorId(v)},hide:()=>{s.reset(),s.openEditorId(null)}})).extendSelectors(s=>({isOpen:h=>s.openEditorId===h})),or=sC.set,Ua=sC.get,cd=()=>sC.use,Sg=s=>{const h=N.findNode(s,{match:{type:N.getPluginType(s,dn)}});if(!h)return;const[v,x]=h;let b=N.getEditorString(s,x);or.url(v.url),or.newTab(v.target===void 0),b===v.url&&(b=""),or.text(b),or.isEditing(!0)},LL=({floatingOptions:s,...h})=>{const v=N.useEditorRef(),x=N.usePlateSelectors(v.id).keyEditor(),b=cd().mode(),j=cd().isOpen(v.id),{triggerFloatingButtonHotkeys:E}=N.getPluginOptions(v,dn),Q=Fe.useCallback(()=>{const te=N.getAboveNode(v,{match:{type:N.getPluginType(v,dn)}});if(te){const[,le]=te;return N.getRangeBoundingClientRect(v,{anchor:N.getStartPoint(v,le),focus:N.getEndPoint(v,le)})}return N.getDefaultBoundingClientRect()},[v]),A=j&&b==="edit",{update:G,style:ne,floating:F}=_b({open:A,getBoundingClientRect:Q,...s});return Fe.useEffect(()=>{const te=wb(v);if(te&&or.url(te),v.selection&&N.someNode(v,{match:{type:N.getPluginType(v,dn)}})){or.show("edit",v.id),G();return}Ua.mode()==="edit"&&or.hide()},[v,x,G]),N.useHotkeys(E,te=>{te.preventDefault(),Ua.mode()==="edit"&&Sg(v)},{enableOnContentEditable:!0},[]),IL(),kb(),{style:{...ne,zIndex:1e3},...h,ref:N.useComposedRef(h.ref,F)}},cC=(s,{focused:h}={})=>{Ua.mode()||!h||N.isRangeAcrossBlocks(s,{at:s.selection})||N.someNode(s,{match:{type:N.getPluginType(s,dn)}})||(or.text(N.getEditorString(s,s.selection)),or.show("insert",s.id))},OL=({floatingOptions:s,...h})=>{const v=N.useEditorRef(),x=db.useFocused(),b=cd().mode(),j=cd().isOpen(v.id),{triggerFloatingButtonHotkeys:E}=N.getPluginOptions(v,dn);N.useHotkeys(E,ne=>{ne.preventDefault(),cC(v,{focused:x})},{enableOnContentEditable:!0},[x]);const{update:Q,style:A,floating:G}=_b({open:j&&b==="insert",getBoundingClientRect:N.getSelectionBoundingClientRect,whileElementsMounted:void 0,...s});return Fe.useEffect(()=>{j&&Q(),or.updated(j)},[j,Q]),kb(),{style:{...A,zIndex:1e3},...h,ref:N.useComposedRef(h.ref,G)}},NL=s=>{const h=N.useEditorRef();return{onClick:Fe.useCallback(()=>{Sg(h)},[h]),...s}},ML=N.createComponentAs(s=>{const h=NL(s);return N.createElementAs("button",h)}),bb=(s,h,v)=>{N.insertNodes(s,[xb(s,h)],v)},fC=s=>{if(!s.selection)return;const{isUrl:h,forceSubmit:v}=N.getPluginOptions(s,dn),x=Ua.url();if(!((h==null?void 0:h(x))||v))return;const j=Ua.text(),E=Ua.buttonStyle(),Q=Ua.newTab()?void 0:"_self";return or.hide(),Tb(s,{url:x,text:j,buttonStyle:E,target:Q,isUrl:A=>v||!h?!0:h(A)}),setTimeout(()=>{N.focusEditor(s,s.selection??void 0)},0),!0},fd=(s,h)=>N.withoutNormalizing(s,()=>{var v,x,b,j,E,Q;if(h!=null&&h.split){if(N.getAboveNode(s,{at:(v=s.selection)==null?void 0:v.anchor,match:{type:N.getPluginType(s,dn)}}))return N.splitNodes(s,{at:(x=s.selection)==null?void 0:x.anchor,match:ne=>N.isElement(ne)&&ne.type===N.getPluginType(s,dn)}),fd(s,{at:(b=s.selection)==null?void 0:b.anchor}),!0;if(N.getAboveNode(s,{at:(j=s.selection)==null?void 0:j.focus,match:{type:N.getPluginType(s,dn)}}))return N.splitNodes(s,{at:(E=s.selection)==null?void 0:E.focus,match:ne=>N.isElement(ne)&&ne.type===N.getPluginType(s,dn)}),fd(s,{at:(Q=s.selection)==null?void 0:Q.focus}),!0}N.unwrapNodes(s,{match:{type:N.getPluginType(s,dn)},...h})}),Tb=(s,{url:h,text:v,buttonStyle:x,target:b,insertTextInButton:j,insertNodesOptions:E,isUrl:Q=N.getPluginOptions(s,dn).isUrl})=>{var it;const A=s.selection;if(!A)return;const G=N.getAboveNode(s,{at:A,match:{type:N.getPluginType(s,dn)}});if(j&&G)return s.insertText(h),!0;if(!(Q!=null&&Q(h)))return;if(N.isDefined(v)&&v.length===0&&(v=h),G)return zL(h,s,G,b,x,v),!0;const ne=N.findNode(s,{at:A,match:{type:N.getPluginType(s,dn)}}),[F,te]=ne??[],le=AL(s,te,v);if(N.isExpanded(A))return UL(G,s,h,x,b,v),!0;le&&N.removeNodes(s,{at:te});const we=N.getNodeProps(F??{}),Ke=(it=s.selection)==null?void 0:it.focus.path;if(!Ke)return;const Je=N.getNodeLeaf(s,Ke);return v!=null&&v.length||(v=h),bb(s,{...we,url:h,target:b,children:[{...Je,text:v}]},E),!0};function AL(s,h,v){return h&&(v==null?void 0:v.length)&&v!==N.getEditorString(s,h)}function UL(s,h,v,x,b,j){s?fd(h,{at:s[1]}):fd(h,{split:!0}),Rb(h,{url:v,buttonStyle:x,target:b}),dC(h,{url:v,target:b,text:j})}function zL(s,h,v,x,b,j){var E,Q,A;(s!==((E=v[0])==null?void 0:E.url)||x!==((Q=v[0])==null?void 0:Q.target)||b!==((A=v[0])==null?void 0:A.buttonStyle))&&N.setNodes(h,{url:s,target:x,buttonStyle:b},{at:v[1]}),dC(h,{url:s,text:j,target:x})}const dC=(s,{text:h})=>{const v=N.getAboveNode(s,{match:{type:N.getPluginType(s,dn)}});if(v){const[x,b]=v;if(h!=null&&h.length&&h!==N.getEditorString(s,b)){const j=x.children[0];N.replaceNodeChildren(s,{at:b,nodes:{...j,text:h},insertOptions:{select:!0}})}}},Rb=(s,{url:h,buttonStyle:v,target:x,...b})=>{N.wrapNodes(s,{type:N.getPluginType(s,dn),url:h,buttonStyle:v,target:x,children:[]},{split:!0,...b})},jL=s=>{const h=N.useEditorRef();return{onClick:Fe.useCallback(()=>{fd(h),N.focusEditor(h,h.selection??void 0)},[h]),...s}},PL=N.createComponentAs(s=>{const h=jL(s);return N.createElementAs(N.Button,h)}),FL=N.createComponentAs(s=>{var v;const h=LL(s);return((v=h.style)==null?void 0:v.display)==="none"?null:N.createElementAs("div",h)}),BL=N.createComponentAs(s=>{var v;const h=OL(s);return((v=h.style)==null?void 0:v.display)==="none"?null:N.createElementAs("div",h)}),hg={EditRoot:FL,InsertRoot:BL,EditButton:ML,UnlinkButton:PL},HL=s=>{const h=cd().updated(),v=Fe.useRef(null);Fe.useEffect(()=>{v.current&&h&&setTimeout(()=>{var b;(b=v.current)==null||b.focus()},0)},[h]);const x=Fe.useCallback(b=>{or.url(b.target.value)},[]);return N.mergeProps({onChange:x,defaultValue:Ua.url()},{...s,ref:N.useComposedRef(s.ref,v)})},IL=()=>{const s=N.useEditorRef();N.useHotkeys("*",h=>{h.key==="Enter"&&fC(s)&&h.preventDefault()},{enableOnFormTags:["INPUT"]},[])},kb=()=>{const s=N.useEditorRef();N.useHotkeys("escape",()=>{if(Ua.mode()==="edit"){if(Ua.isEditing()){or.show("edit",s.id),N.focusEditor(s,s.selection??void 0);return}or.hide()}},{enableOnFormTags:["INPUT"],enableOnContentEditable:!0},[])},VL=12,$L=-22,YL=96,_b=s=>N.useVirtualFloating({placement:"bottom-start",middleware:[N.offset({mainAxis:VL,alignmentAxis:$L}),N.flip({padding:YL})],...s}),Db=(s,{focused:h}={})=>{if(Ua.mode()==="edit"){Sg(s);return}cC(s,{focused:h})},Eg={buttonPrimary:{fontFamily:"var(--f-theme-settings-button-primary-font-family)",fontSize:"var(--f-theme-settings-button-primary-font-size)",fontWeight:"var(--f-theme-settings-button-primary-font-weight)",lineHeight:"var(--f-theme-settings-button-primary-line-height)",paddingTop:"var(--f-theme-settings-button-primary-padding-top)",paddingRight:"var(--f-theme-settings-button-primary-padding-right)",paddingBottom:"var(--f-theme-settings-button-primary-padding-bottom)",paddingLeft:"var(--f-theme-settings-button-primary-padding-left)",fontStyle:"var(--f-theme-settings-button-primary-font-style)",textTransform:"var(--f-theme-settings-button-primary-text-transform)",backgroundColor:"var(--f-theme-settings-button-primary-background-color)",borderColor:"var(--f-theme-settings-button-primary-border-color)",borderRadius:"var(--f-theme-settings-button-primary-border-radius)",borderWidth:"var(--f-theme-settings-button-primary-border-width)",color:"var(--f-theme-settings-button-primary-color)",display:"inline-block",hover:{backgroundColor:"var(--f-theme-settings-button-primary-background-color-hover)",borderColor:"var(--f-theme-settings-button-primary-border-color-hover)",color:"var(--f-theme-settings-button-primary-color-hover)"}},buttonSecondary:{fontFamily:"var(--f-theme-settings-button-secondary-font-family)",fontSize:"var(--f-theme-settings-button-secondary-font-size)",fontWeight:"var(--f-theme-settings-button-secondary-font-weight)",lineHeight:"var(--f-theme-settings-button-secondary-line-height)",paddingTop:"var(--f-theme-settings-button-secondary-padding-top)",paddingRight:"var(--f-theme-settings-button-secondary-padding-right)",paddingBottom:"var(--f-theme-settings-button-secondary-padding-bottom)",paddingLeft:"var(--f-theme-settings-button-secondary-padding-left)",fontStyle:"var(--f-theme-settings-button-secondary-font-style)",textTransform:"var(--f-theme-settings-button-secondary-text-transform)",backgroundColor:"var(--f-theme-settings-button-secondary-background-color)",borderColor:"var(--f-theme-settings-button-secondary-border-color)",borderRadius:"var(--f-theme-settings-button-secondary-border-radius)",borderWidth:"var(--f-theme-settings-button-secondary-border-width)",color:"var(--f-theme-settings-button-secondary-color)",display:"inline-block",hover:{backgroundColor:"var(--f-theme-settings-button-secondary-background-color-hover)",borderColor:"var(--f-theme-settings-button-secondary-border-color-hover)",color:"var(--f-theme-settings-button-secondary-color-hover)"}},buttonTertiary:{fontFamily:"var(--f-theme-settings-button-tertiary-font-family)",fontSize:"var(--f-theme-settings-button-tertiary-font-size)",fontWeight:"var(--f-theme-settings-button-tertiary-font-weight)",lineHeight:"var(--f-theme-settings-button-tertiary-line-height)",paddingTop:"var(--f-theme-settings-button-tertiary-padding-top)",paddingRight:"var(--f-theme-settings-button-tertiary-padding-right)",paddingBottom:"var(--f-theme-settings-button-tertiary-padding-bottom)",paddingLeft:"var(--f-theme-settings-button-tertiary-padding-left)",fontStyle:"var(--f-theme-settings-button-tertiary-font-style)",textTransform:"var(--f-theme-settings-button-tertiary-text-transform)",backgroundColor:"var(--f-theme-settings-button-tertiary-background-color)",borderColor:"var(--f-theme-settings-button-tertiary-border-color)",borderRadius:"var(--f-theme-settings-button-tertiary-border-radius)",borderWidth:"var(--f-theme-settings-button-tertiary-border-width)",color:"var(--f-theme-settings-button-tertiary-color)",display:"inline-block",hover:{backgroundColor:"var(--f-theme-settings-button-tertiary-background-color-hover)",borderColor:"var(--f-theme-settings-button-tertiary-border-color-hover)",color:"var(--f-theme-settings-button-tertiary-color-hover)"}}},WL=s=>({...N.useElementProps({...s,elementToAttributes:v=>({url:v.href,buttonStyle:v.buttonStyle||"primary",target:v.target||"_blank"})}),onMouseOver:v=>{v.stopPropagation()}}),QL=s=>{const{href:h,target:v,buttonStyle:x}=WL(s),{attributes:b,children:j}=s;return _.jsx(GL,{attributes:b,href:h,target:v,styles:Eg[`button${x.charAt(0).toUpperCase()+x.slice(1)}`],children:j})},GL=({attributes:s,styles:h={hover:{}},children:v,href:x="#",target:b})=>{const[j,E]=Fe.useState(!1);return _.jsx("a",{...s,onMouseEnter:()=>E(!0),onMouseLeave:()=>E(!1),href:x,target:b,style:j?{...h,...h.hover}:h,children:v})};class qL extends L.MarkupElement{constructor(h=dn,v=QL){super(h,v)}}const KL=({type:s,...h})=>{const v=N.useEditorRef(),x=!!N.isRangeInSameBlock(v,{at:v.selection}),b=!!(v!=null&&v.selection)&&N.someNode(v,{match:{type:s}});return _.jsx(N.ToolbarButton,{tooltip:L.getTooltip(x?`Button
66
+ ${L.getHotkeyByPlatform("Ctrl+Shift+K")}`:"Buttons can only be set for a single text block."),classNames:L.getButtonClassNames(x),active:b,onMouseDown:async j=>{v&&(j.preventDefault(),j.stopPropagation(),N.focusEditor(v,v.selection??v.prevSelection??void 0),setTimeout(()=>{Db(v,{focused:!0})},0))},...h})},XL=({editor:s,id:h})=>_.jsx("div",{"data-plugin-id":h,children:_.jsx(KL,{type:N.getPluginType(s,dn),icon:_.jsx("span",{className:"tw-p-2 tw-h-8 tw-justify-center tw-items-center tw-flex",children:_.jsx(L.IconButton16,{})}),styles:L.buttonStyles})}),ZL=()=>{const s=HL({});return _.jsx("div",{"data-test-id":"floating-button-edit",className:"tw-bg-white tw-rounded tw-shadow tw-p-4 tw-min-w-[400px]",children:_.jsxs("span",{"data-test-id":"preview-button-flyout",className:"tw-flex tw-justify-between",children:[_.jsx("span",{className:"tw-pointer-events-none",style:sr.p,children:s.defaultValue}),_.jsxs("span",{className:"tw-flex tw-gap-2",children:[_.jsx("span",{role:"button",tabIndex:0,"data-test-id":"edit-button-button",className:"tw-transition tw-cursor-pointer tw-rounded hover:tw-bg-black-10 tw-p-1",children:_.jsx(hg.EditButton,{children:_.jsx(L.IconPen16,{})})}),_.jsx("span",{role:"button",tabIndex:0,"data-test-id":"remove-button-button",className:"tw-transition tw-cursor-pointer tw-rounded hover:tw-bg-black-10 tw-p-1",children:_.jsx(hg.UnlinkButton,{children:_.jsx(L.IconTrashBin16,{})})})]})]})})},JL=({section:s,selectedUrl:h,onSelectUrl:v})=>{const x=s.permanentLink===h;return _.jsx("button",{"data-test-id":"internal-link-selector-section-link",className:L.merge(["tw-py-2 tw-px-2.5 tw-pl-14 tw-leading-5 tw-cursor-pointer tw-w-full",x?"tw-bg-box-selected-strong tw-text-box-selected-strong-inverse hover:tw-bg-box-selected-strong-hover:hover hover:tw-text-box-selected-strong-inverse-hover:hover":"hover:tw-bg-box-neutral-hover hover:tw-text-box-neutral-inverse-hover"]),onClick:()=>v(s.permanentLink),onFocus:()=>v(s.permanentLink),children:_.jsxs("div",{className:"tw-flex tw-flex-1 tw-space-x-2 tw-items-center tw-h-6",children:[_.jsx(L.IconDocumentText16,{}),_.jsx("span",{className:"tw-text-s",children:s.title}),_.jsx("span",{className:"tw-flex-auto tw-font-sans tw-text-xs tw-text-right",children:"Section"})]})})},eO=({page:s,selectedUrl:h,onSelectUrl:v,itemsToExpandInitially:x,appBridge:b})=>{const[j,E]=Fe.useState(s.id===x.documentId),Q=s.permanentLink===h,{documentSections:A}=gc.useDocumentSection(b,s.id),G=[...A.values()],ne=G.length>0;return Fe.useEffect(()=>{s.id===x.pageId&&E(!0)},[x,s.id]),_.jsxs(_.Fragment,{children:[_.jsx("div",{tabIndex:0,"data-test-id":"internal-link-selector-page-link",className:L.merge(["tw-py-2 tw-px-2.5 tw-leading-5 tw-cursor-pointer",ne?"tw-pl-7":"tw-pl-12",Q?"tw-bg-box-selected-strong tw-text-box-selected-strong-inverse hover:tw-bg-box-selected-strong-hover:hover hover:tw-text-box-selected-strong-inverse-hover:hover":"hover:tw-bg-box-neutral-hover hover:tw-text-box-neutral-inverse-hover"]),onClick:()=>v(s.permanentLink),onFocus:()=>v(s.permanentLink),children:_.jsxs("div",{className:"tw-flex tw-flex-1 tw-space-x-1 tw-items-center tw-h-6",children:[ne&&_.jsx("button",{"data-test-id":"tree-item-toggle",className:"tw-flex tw-items-center tw-justify-center tw-p-1.5 tw-cursor-pointer",onClick:()=>E(!j),onFocus:()=>E(!j),children:_.jsx("div",{className:L.merge(["tw-transition-transform tw-w-0 tw-h-0 tw-font-normal tw-border-t-4 tw-border-t-transparent tw-border-b-4 tw-border-b-transparent tw-border-l-4 tw-border-l-x-strong",j?"tw-rotate-90":""])})}),_.jsx("span",{className:"tw-text-s",children:s.title}),_.jsx("span",{className:"tw-flex-auto tw-font-sans tw-text-xs tw-text-right",children:"Page"})]},s.id)}),j&&G.length>0&&G.map(F=>_.jsx(JL,{section:F,selectedUrl:h,onSelectUrl:v},F.id))]})},tO=({appBridge:s,documentId:h,selectedUrl:v,onSelectUrl:x,itemsToExpandInitially:b})=>{const[j,E]=Fe.useState([]),[Q,A]=Fe.useState(!0),G=[...j.values()],ne=!Q&&G.length>0;return Fe.useEffect(()=>{s.getDocumentPagesByDocumentId(h).then(F=>{E(F)}).finally(()=>{A(!1)})},[]),Q?_.jsx("div",{className:"tw-flex tw-justify-center tw-p-4",children:_.jsx(L.LoadingCircle,{})}):ne?_.jsx(_.Fragment,{children:G.map(F=>_.jsx(eO,{page:F,appBridge:s,selectedUrl:v,onSelectUrl:x,itemsToExpandInitially:b},F.id))}):_.jsx("div",{className:"tw-py-2 tw-px-2.5 tw-pl-7 tw-leading-5 tw-text-s tw-text-text-weak",children:"This document does not contain any pages."})},nO=({document:s,appBridge:h,selectedUrl:v,onSelectUrl:x,itemsToExpandInitially:b})=>{const[j,E]=Fe.useState(s.id===b.documentId),Q=s.permanentLink===v;return Fe.useEffect(()=>{s.id===b.documentId&&E(!0)},[b,s.id]),_.jsxs(_.Fragment,{children:[_.jsxs("button",{"data-test-id":"internal-link-selector-document-link",className:L.merge(["tw-flex tw-flex-1 tw-space-x-2 tw-items-center tw-py-2 tw-px-2.5 tw-leading-5 tw-cursor-pointer tw-w-full",Q?"tw-bg-box-selected-strong tw-text-box-selected-strong-inverse hover:tw-bg-box-selected-strong-hover:hover hover:tw-text-box-selected-strong-inverse-hover:hover":"hover:tw-bg-box-neutral-hover hover:tw-text-box-neutral-inverse-hover"]),onClick:()=>x(s.permanentLink),onFocus:()=>x(s.permanentLink),children:[_.jsx("div",{role:"button",tabIndex:0,"data-test-id":"tree-item-toggle",className:"tw-flex tw-items-center tw-justify-center tw-p-1.5 tw-cursor-pointer",onClick:()=>E(!j),onFocus:()=>E(!j),children:_.jsx("div",{className:L.merge(["tw-transition-transform tw-w-0 tw-h-0 tw-font-normal tw-border-t-4 tw-border-t-transparent tw-border-b-4 tw-border-b-transparent tw-border-l-4 tw-border-l-x-strong",j?"tw-rotate-90":""])})}),_.jsx(L.IconColorFan16,{}),_.jsx("span",{className:"tw-text-s",children:s.title}),_.jsx("span",{className:"tw-flex-auto tw-font-sans tw-text-xs tw-text-right",children:"Document"})]}),j&&_.jsx(tO,{appBridge:h,documentId:s.id,selectedUrl:v,onSelectUrl:x,itemsToExpandInitially:b})]})},rO=({appBridge:s,selectedUrl:h,onSelectUrl:v})=>{const[x,b]=Fe.useState(!0),[j,E]=Fe.useState([]),[Q,A]=Fe.useState({documentId:void 0,pageId:void 0}),G=[...j.values()];Fe.useEffect(()=>{h&&G.length>0&&ne().then(F=>{A(F)})},[G.length]),Fe.useEffect(()=>{s.getAllDocuments().then(F=>{E(F)}).finally(()=>{b(!1)})},[]);const ne=async()=>{const F={documentId:void 0,pageId:void 0};if(G.find(le=>le.permanentLink===h))return F;for(const le of G){const we=await s.getDocumentPagesByDocumentId(le.id);s.getAllDocuments();const Ke=[...we.values()];if(!!Ke.find(it=>it.permanentLink===h))return F.documentId=le.id,F;for(const it of Ke)if(!![...(await s.getDocumentSectionsByDocumentPageId(it.id)).values()].find(Re=>Re.permanentLink===h))return F.documentId=le.id,F.pageId=it.id,F}return F};return x?_.jsx("div",{className:"tw-flex tw-justify-center tw-p-4",children:_.jsx(L.LoadingCircle,{})}):_.jsx(_.Fragment,{children:G.map(F=>_.jsx(nO,{document:F,appBridge:s,selectedUrl:h,onSelectUrl:v,itemsToExpandInitially:Q},F.id))})},aO=({appBridge:s,url:h,onUrlChange:v})=>{const{open:x,isOpen:b,close:j}=YD.useOverlayTriggerState({}),[E,Q]=Fe.useState(h),A=F=>{Q(F)},G=F=>{F.key==="Enter"&&ne()};Fe.useEffect(()=>{h&&!E&&Q(h)},[h,E]);const ne=()=>{v(E),j()};return _.jsxs("div",{"data-test-id":"internal-link-selector",onKeyDown:G,children:[_.jsx(L.Button,{icon:_.jsx(L.IconLink,{}),size:L.ButtonSize.Medium,type:L.ButtonType.Button,style:L.ButtonStyle.Default,emphasis:L.ButtonEmphasis.Default,onClick:()=>x(),children:"Internal link"}),_.jsxs(L.Modal,{zIndex:1001,onClose:()=>j(),isOpen:b,isDismissable:!0,children:[_.jsx(L.Modal.Header,{title:"Select internal link"}),_.jsx(L.Modal.Body,{children:_.jsx(rO,{appBridge:s,selectedUrl:E,onSelectUrl:A})}),_.jsx(L.Modal.Footer,{buttons:[{children:"Cancel",onClick:()=>j(),style:L.ButtonStyle.Default,emphasis:L.ButtonEmphasis.Default},{children:"Choose",onClick:F=>{F==null||F.preventDefault(),ne()},style:L.ButtonStyle.Default,emphasis:L.ButtonEmphasis.Strong,disabled:!E}]})]})]})},Lb=({state:s,onTextChange:h,onUrlChange:v,onToggleTab:x,onCancel:b,onSave:j,isValidUrlOrEmpty:E,hasValues:Q,testId:A,appBridge:G,children:ne})=>_.jsxs("div",{"data-test-id":A,className:"tw-bg-white tw-rounded tw-shadow tw-p-7 tw-min-w-[400px] tw-overflow-y-auto",children:[_.jsx(L.FormControl,{label:{children:"Text",htmlFor:"linkText",required:!0},children:_.jsx(L.TextInput,{id:"linkText",value:s.text,placeholder:"Link Text",onChange:h})}),ne,_.jsxs("div",{className:"tw-pt-5",children:[_.jsx(L.FormControl,{label:{children:"URL",htmlFor:"url",required:!0},children:_.jsx(L.TextInput,{id:"url",value:s.url,placeholder:"https://example.com",focusOnMount:!0,onChange:v})}),!E(s==null?void 0:s.url)&&_.jsx("div",{className:"tw-text-red-65 tw-mt-3",children:"Please enter a valid URL."})]}),_.jsx("div",{className:"tw-mt-3",children:_.jsx(aO,{url:s.url,appBridge:G,onUrlChange:v})}),_.jsx("div",{className:"tw-mt-3",children:_.jsx(L.Checkbox,{value:"new-tab",label:"Open in new tab",state:s.newTab,onChange:x})}),_.jsx("div",{className:"tw-mt-3",children:_.jsxs("div",{className:"tw-pt-5 tw-flex tw-gap-x-3 tw-justify-end tw-border-t tw-border-t-black-10",children:[_.jsx(L.Button,{onClick:b,size:L.ButtonSize.Medium,style:L.ButtonStyle.Default,emphasis:L.ButtonEmphasis.Default,children:"Cancel"}),_.jsx(L.Button,{onClick:j,size:L.ButtonSize.Medium,icon:_.jsx(L.IconCheckMark20,{}),disabled:!Q||!E(s==null?void 0:s.url),children:"Save"})]})})]}),iO=s=>{var v;const h=N.getAboveNode(s,{match:{type:dn}});return Array.isArray(h)&&((v=h[0])==null?void 0:v.buttonStyle)||"primary"},lO={url:"",text:"",buttonStyle:"primary",newTab:L.CheckboxState.Unchecked},uO=()=>{const[s,h]=Fe.useReducer((v,x)=>{const{type:b,payload:j}=x;switch(b){case"NEW_TAB":return{...v,newTab:L.CheckboxState.Checked};case"SAME_TAB":return{...v,newTab:L.CheckboxState.Unchecked};case"URL":case"TEXT":case"BUTTON_STYLE":case"INIT":return{...v,...j};default:return v}},lO);return[s,h]},oO=()=>{const s=N.useEditorRef(),[h,v]=uO();Fe.useEffect(()=>{const F=iO(s);v({type:"INIT",payload:{text:Ua.text(),buttonStyle:F,newTab:Ua.newTab()?L.CheckboxState.Checked:L.CheckboxState.Unchecked,url:Ua.url()}})},[v,s]);const x=F=>{v({type:"TEXT",payload:{text:F}})},b=F=>{v({type:"BUTTON_STYLE",payload:{buttonStyle:F}})},j=F=>{v({type:"URL",payload:{url:F}})},E=F=>{v(F?{type:"NEW_TAB"}:{type:"SAME_TAB"})},Q=()=>{or.hide()},A=F=>{if(!vg(h.url)||!G)return;const te=yg(h.url);or.text(h.text),or.url(te),or.buttonStyle(h.buttonStyle),or.newTab(h.newTab===L.CheckboxState.Checked),fC(s)&&(F==null||F.preventDefault())},G=h.url!==""&&h.text!=="",{appBridge:ne}=N.getPluginOptions(s,dn);return N.useHotkeys("enter",A,{enableOnFormTags:["INPUT"]},[]),{state:h,onTextChange:x,onButtonStyleChange:b,onUrlChange:j,onToggleTab:E,onCancel:Q,onSave:A,hasValues:G,isValidUrlOrEmpty:vg,appBridge:ne}},sO=()=>{const s=oO(),{state:h,onButtonStyleChange:v}=s;return _.jsx(Lb,{...s,testId:"floating-button-insert",children:_.jsx("div",{className:"tw-pt-5",children:_.jsxs(L.FormControl,{label:{children:"Button Style",htmlFor:"buttonStyle",required:!0},children:[_.jsx(WE,{id:"primary",styles:sr.buttonPrimary,isActive:h.buttonStyle==="primary",onClick:()=>v("primary"),children:h.text||"Primary Button"}),_.jsx(WE,{id:"secondary",styles:sr.buttonSecondary,isActive:h.buttonStyle==="secondary",onClick:()=>v("secondary"),children:h.text||"Secondary Button"}),_.jsx(WE,{id:"tertiary",styles:sr.buttonTertiary,isActive:h.buttonStyle==="tertiary",onClick:()=>v("tertiary"),children:h.text||"Tertiary Button"})]})})})},WE=({id:s,styles:h,isActive:v,onClick:x,children:b})=>{const[j,E]=Fe.useState(!1),Q=()=>h&&h.hover&&j?{...h,...h.hover}:h;return _.jsx("button",{"data-test-id":`floating-button-insert-${s}`,onMouseEnter:()=>E(!0),onMouseLeave:()=>E(!1),onClick:x,style:Q(),className:v?"tw-outline tw-outline-1 tw-outline-violet-60 tw-outline-offset-2 tw-w-fit":"tw-w-fit",children:b})},cO=()=>{const s=cd().isEditing(),h=_.jsx(sO,{}),v=s?h:_.jsx(ZL,{});return _.jsxs(_.Fragment,{children:[_.jsx(hg.InsertRoot,{children:h}),_.jsx(hg.EditRoot,{children:v})]})},Ob=(s,{type:h})=>{const{apply:v,normalizeNode:x}=s;return s.apply=b=>{if(b.type!=="set_selection"){v(b);return}const j=b.newProperties;if(!(j!=null&&j.focus)||!j.anchor||!N.isCollapsed(j)){v(b);return}const E=N.getAboveNode(s,{at:j,match:{type:N.getPluginType(s,dn)}});if(E){const[,Q]=E;let A;N.isStartPoint(s,j.focus,Q)&&(A=N.getPreviousNodeEndPoint(s,Q)),N.isEndPoint(s,j.focus,Q)&&(A=N.getNextNodeStartPoint(s,Q)),A&&(b.newProperties={anchor:A,focus:A})}v(b)},s.normalizeNode=([b,j])=>{if(b.type===N.getPluginType(s,dn)){const E=s.selection;if(E&&N.isCollapsed(E)&&N.isEndPoint(s,E.focus,j)){const Q=N.getNextNodeStartPoint(s,j);if(Q)N.select(s,Q);else{const A=WD.Path.next(j);N.insertNodes(s,{text:""},{at:A}),N.select(s,A)}}}x([b,j])},N.withRemoveEmptyNodes(s,N.mockPlugin({options:{types:h}}))},dn="button",pC="button-plugin",Nb=s=>N.createPluginFactory({key:dn,isElement:!0,isInline:!0,props:({element:h})=>({nodeProps:{href:h==null?void 0:h.url,target:h==null?void 0:h.target}}),withOverrides:Ob,renderAfterEditable:cO,options:{isUrl:oC,rangeBeforeOptions:{matchString:" ",skipInvalid:!0,afterMatch:!0},triggerFloatingButtonHotkeys:"command+shift+k, ctrl+shift+k",appBridge:s},then:(h,{type:v})=>({deserializeHtml:{rules:[{validNodeName:"A",validClassName:"btn"}],getNode:x=>({type:v,url:x.getAttribute("href"),target:x.getAttribute("target")||"_blank"})}})})();class Mb extends L.Plugin{constructor({styles:h=Eg,...v}){super(pC,{button:XL,markupElement:new qL,...v}),this.styles={},this.styles=h,this.appBridge=v==null?void 0:v.appBridge}plugins(){return[Nb(this.appBridge)]}}var ct=(s=>(s.heading1="heading1",s.heading2="heading2",s.heading3="heading3",s.heading4="heading4",s.custom1="custom1",s.custom2="custom2",s.custom3="custom3",s.quote="quote",s.imageCaption="imageCaption",s.imageTitle="imageTitle",s.p="p",s))(ct||{});const sr={heading1:{display:"inline-block",fontSize:"var(--f-theme-settings-heading1-font-size)",lineHeight:"var(--f-theme-settings-heading1-line-height)",marginTop:"var(--f-theme-settings-heading1-margin-top)",marginBottom:"var(--f-theme-settings-heading1-margin-bottom)",textDecoration:"var(--f-theme-settings-heading1-text-decoration)",fontStyle:"var(--f-theme-settings-heading1-font-style)",textTransform:"var(--f-theme-settings-heading1-text-transform)",letterSpacing:"var(--f-theme-settings-heading1-letter-spacing)",fontWeight:"var(--f-theme-settings-heading1-font-weight)",fontFamily:"var(--f-theme-settings-heading1-font-family)",color:"var(--f-theme-settings-heading1-color)"},heading2:{fontSize:"var(--f-theme-settings-heading2-font-size)",lineHeight:"var(--f-theme-settings-heading2-line-height)",marginTop:"var(--f-theme-settings-heading2-margin-top)",marginBottom:"var(--f-theme-settings-heading2-margin-bottom)",textDecoration:"var(--f-theme-settings-heading2-text-decoration)",fontStyle:"var(--f-theme-settings-heading2-font-style)",textTransform:"var(--f-theme-settings-heading2-text-transform)",letterSpacing:"var(--f-theme-settings-heading2-letter-spacing)",fontWeight:"var(--f-theme-settings-heading2-font-weight)",fontFamily:"var(--f-theme-settings-heading2-font-family)",color:"var(--f-theme-settings-heading2-color)"},heading3:{fontSize:"var(--f-theme-settings-heading3-font-size)",lineHeight:"var(--f-theme-settings-heading3-line-height)",marginTop:"var(--f-theme-settings-heading3-margin-top)",marginBottom:"var(--f-theme-settings-heading3-margin-bottom)",textDecoration:"var(--f-theme-settings-heading3-text-decoration)",fontStyle:"var(--f-theme-settings-heading3-font-style)",textTransform:"var(--f-theme-settings-heading3-text-transform)",letterSpacing:"var(--f-theme-settings-heading3-letter-spacing)",fontWeight:"var(--f-theme-settings-heading3-font-weight)",fontFamily:"var(--f-theme-settings-heading3-font-family)",color:"var(--f-theme-settings-heading3-color)"},heading4:{fontSize:"var(--f-theme-settings-heading4-font-size)",lineHeight:"var(--f-theme-settings-heading4-line-height)",marginTop:"var(--f-theme-settings-heading4-margin-top)",marginBottom:"var(--f-theme-settings-heading4-margin-bottom)",textDecoration:"var(--f-theme-settings-heading4-text-decoration)",fontStyle:"var(--f-theme-settings-heading4-font-style)",textTransform:"var(--f-theme-settings-heading4-text-transform)",letterSpacing:"var(--f-theme-settings-heading4-letter-spacing)",fontWeight:"var(--f-theme-settings-heading4-font-weight)",fontFamily:"var(--f-theme-settings-heading4-font-family)",color:"var(--f-theme-settings-heading4-color)"},custom1:{fontSize:"var(--f-theme-settings-custom1-font-size)",lineHeight:"var(--f-theme-settings-custom1-line-height)",marginTop:"var(--f-theme-settings-custom1-margin-top)",marginBottom:"var(--f-theme-settings-custom1-margin-bottom)",textDecoration:"var(--f-theme-settings-custom1-text-decoration)",fontStyle:"var(--f-theme-settings-custom1-font-style)",textTransform:"var(--f-theme-settings-custom1-text-transform)",letterSpacing:"var(--f-theme-settings-custom1-letter-spacing)",fontWeight:"var(--f-theme-settings-custom1-font-weight)",fontFamily:"var(--f-theme-settings-custom1-font-family)",color:"var(--f-theme-settings-custom1-color)"},custom2:{fontSize:"var(--f-theme-settings-custom2-font-size)",lineHeight:"var(--f-theme-settings-custom2-line-height)",marginTop:"var(--f-theme-settings-custom2-margin-top)",marginBottom:"var(--f-theme-settings-custom2-margin-bottom)",textDecoration:"var(--f-theme-settings-custom2-text-decoration)",fontStyle:"var(--f-theme-settings-custom2-font-style)",textTransform:"var(--f-theme-settings-custom2-text-transform)",letterSpacing:"var(--f-theme-settings-custom2-letter-spacing)",fontWeight:"var(--f-theme-settings-custom2-font-weight)",fontFamily:"var(--f-theme-settings-custom2-font-family)",color:"var(--f-theme-settings-custom2-color)"},custom3:{fontSize:"var(--f-theme-settings-custom3-font-size)",lineHeight:"var(--f-theme-settings-custom3-line-height)",marginTop:"var(--f-theme-settings-custom3-margin-top)",marginBottom:"var(--f-theme-settings-custom3-margin-bottom)",textDecoration:"var(--f-theme-settings-custom3-text-decoration)",fontStyle:"var(--f-theme-settings-custom3-font-style)",textTransform:"var(--f-theme-settings-custom3-text-transform)",letterSpacing:"var(--f-theme-settings-custom3-letter-spacing)",fontWeight:"var(--f-theme-settings-custom3-font-weight)",fontFamily:"var(--f-theme-settings-custom3-font-family)",color:"var(--f-theme-settings-custom3-color)"},p:{fontSize:"var(--f-theme-settings-body-font-size)",lineHeight:"var(--f-theme-settings-body-line-height)",marginTop:"var(--f-theme-settings-body-margin-top)",marginBottom:"var(--f-theme-settings-body-margin-bottom)",textDecoration:"var(--f-theme-settings-body-text-decoration)",fontStyle:"var(--f-theme-settings-body-font-style)",textTransform:"var(--f-theme-settings-body-text-transform)",letterSpacing:"var(--f-theme-settings-body-letter-spacing)",fontWeight:"var(--f-theme-settings-body-font-weight)",fontFamily:"var(--f-theme-settings-body-font-family)",color:"var(--f-theme-settings-body-color)"},quote:{fontSize:"var(--f-theme-settings-quote-font-size)",lineHeight:"var(--f-theme-settings-quote-line-height)",marginTop:"var(--f-theme-settings-quote-margin-top)",marginBottom:"var(--f-theme-settings-quote-margin-bottom)",textDecoration:"var(--f-theme-settings-quote-text-decoration)",fontStyle:"var(--f-theme-settings-quote-font-style)",textTransform:"var(--f-theme-settings-quote-text-transform)",letterSpacing:"var(--f-theme-settings-quote-letter-spacing)",fontWeight:"var(--f-theme-settings-quote-font-weight)",fontFamily:"var(--f-theme-settings-quote-font-family)",color:"var(--f-theme-settings-quote-color)"},imageCaption:{fontSize:"var(--f-theme-settings-image-caption-font-size)",lineHeight:"var(--f-theme-settings-image-caption-line-height)",marginTop:"var(--f-theme-settings-image-caption-margin-top)",marginBottom:"var(--f-theme-settings-image-caption-margin-bottom)",textDecoration:"var(--f-theme-settings-image-caption-text-decoration)",fontStyle:"var(--f-theme-settings-image-caption-font-style)",textTransform:"var(--f-theme-settings-image-caption-text-transform)",letterSpacing:"var(--f-theme-settings-image-caption-letter-spacing)",fontWeight:"var(--f-theme-settings-image-caption-font-weight)",fontFamily:"var(--f-theme-settings-image-caption-font-family)",color:"var(--f-theme-settings-image-caption-color)"},imageTitle:{fontSize:"var(--f-theme-settings-image-title-font-size)",lineHeight:"var(--f-theme-settings-image-title-line-height)",marginTop:"var(--f-theme-settings-image-title-margin-top)",marginBottom:"var(--f-theme-settings-image-title-margin-bottom)",textDecoration:"var(--f-theme-settings-image-title-text-decoration)",fontStyle:"var(--f-theme-settings-image-title-font-style)",textTransform:"var(--f-theme-settings-image-title-text-transform)",letterSpacing:"var(--f-theme-settings-image-title-letter-spacing)",fontWeight:"var(--f-theme-settings-image-title-font-weight)",fontFamily:"var(--f-theme-settings-image-title-font-family)",color:"var(--f-theme-settings-image-title-color)"},[sd]:{fontSize:"var(--f-theme-settings-link-font-size)",lineHeight:"var(--f-theme-settings-link-line-height)",marginTop:"var(--f-theme-settings-link-margin-top)",marginBottom:"var(--f-theme-settings-link-margin-bottom)",textDecoration:"var(--f-theme-settings-link-text-decoration)",fontStyle:"var(--f-theme-settings-link-font-style)",textTransform:"var(--f-theme-settings-link-text-transform)",letterSpacing:"var(--f-theme-settings-link-letter-spacing)",fontWeight:"var(--f-theme-settings-link-font-weight)",fontFamily:"var(--f-theme-settings-link-font-family)",color:"var(--f-theme-settings-link-color)"},...Eg},fO=()=>{const s=N.useFloatingLinkUrlInput({});return _.jsx("div",{"data-test-id":"floating-link-edit",className:"tw-bg-white tw-rounded tw-shadow tw-p-4 tw-min-w-[400px]",children:_.jsxs("span",{"data-test-id":"preview-link-flyout",className:"tw-flex tw-justify-between",children:[_.jsx("span",{className:"tw-pointer-events-none",style:sr.p,children:s.defaultValue}),_.jsxs("span",{className:"tw-flex tw-gap-2",children:[_.jsx("span",{role:"button",tabIndex:0,"data-test-id":"edit-link-button",className:"tw-transition tw-cursor-pointer tw-rounded hover:tw-bg-black-10 tw-p-1",children:_.jsx(pg.EditButton,{children:_.jsx(L.IconPen16,{})})}),_.jsx("span",{role:"button",tabIndex:0,"data-test-id":"remove-link-button",className:"tw-transition tw-cursor-pointer tw-rounded hover:tw-bg-black-10 tw-p-1",children:_.jsx(pg.UnlinkButton,{children:_.jsx(L.IconTrashBin16,{})})})]})]})})},dO=({floatingOptions:s,...h})=>{const v=N.useEditorRef(),x=N.usePlateSelectors().keyEditor(),b=N.useFloatingLinkSelectors().mode(),j=N.useFloatingLinkSelectors().isOpen(v.id),{triggerFloatingLinkHotkeys:E="command+k, ctrl+k"}=N.getPluginOptions(v,N.ELEMENT_LINK),Q=Fe.useCallback(()=>{const te=N.getAboveNode(v,{match:{type:N.getPluginType(v,N.ELEMENT_LINK)}});if(te){const[,le]=te;return N.getRangeBoundingClientRect(v,{anchor:N.getStartPoint(v,le),focus:N.getEndPoint(v,le)})}return N.getDefaultBoundingClientRect()},[v]),A=j&&b==="edit",{update:G,style:ne,floating:F}=N.useVirtualFloatingLink({editorId:v.id,open:A,getBoundingClientRect:Q,...s});return Fe.useEffect(()=>{const te=_L(v);if(te&&N.floatingLinkActions.url(te),v.selection&&N.someNode(v,{match:{type:N.getPluginType(v,N.ELEMENT_LINK)}})){N.floatingLinkActions.show("edit",v.id),G();return}N.floatingLinkSelectors.mode()==="edit"&&N.floatingLinkActions.hide()},[v,x,G]),N.useHotkeys(E,te=>{te.preventDefault(),N.floatingLinkSelectors.mode()==="edit"&&N.triggerFloatingLinkEdit(v)},{enableOnContentEditable:!0},[]),N.useFloatingLinkEnter(),N.useFloatingLinkEscape(),{style:{...ne,zIndex:1e3},...h,ref:N.useComposedRef(h.ref,F)}},pO={url:"",text:"",newTab:L.CheckboxState.Unchecked},vO=()=>{const[s,h]=Fe.useReducer((v,x)=>{const{type:b,payload:j}=x;switch(b){case"NEW_TAB":return{...v,newTab:L.CheckboxState.Checked};case"SAME_TAB":return{...v,newTab:L.CheckboxState.Unchecked};case"URL":case"TEXT":case"INIT":return{...v,...j};default:return v}},pO);return[s,h]},hO=()=>{const s=N.useEditorRef(),[h,v]=vO();Fe.useEffect(()=>{const ne=TL(s),F=RL(s);v({type:"INIT",payload:{text:N.floatingLinkSelectors.text(),newTab:N.floatingLinkSelectors.newTab()?L.CheckboxState.Checked:L.CheckboxState.Unchecked,url:ne&&F===""?ne:N.floatingLinkSelectors.url()}})},[v,s]);const x=ne=>{v({type:"TEXT",payload:{text:ne}})},b=ne=>{v({type:"URL",payload:{url:ne}})},j=ne=>{v(ne?{type:"NEW_TAB"}:{type:"SAME_TAB"})},E=()=>{N.floatingLinkActions.hide()},Q=ne=>{if(!vg(h.url)||!A)return;const F=yg(h.url);N.floatingLinkActions.text(h.text),N.floatingLinkActions.url(F),N.floatingLinkActions.newTab(h.newTab===L.CheckboxState.Checked),N.submitFloatingLink(s)&&(ne==null||ne.preventDefault())},A=h.url!==""&&h.text!=="",{appBridge:G}=N.getPluginOptions(s,N.ELEMENT_LINK);return N.useHotkeys("enter",Q,{enableOnFormTags:["INPUT"]},[]),{state:h,onTextChange:x,onUrlChange:b,onToggleTab:j,onCancel:E,onSave:Q,hasValues:A,isValidUrlOrEmpty:vg,appBridge:G}},mO=()=>_.jsx(Lb,{...hO(),testId:"floating-link-insert"}),gO=({readOnly:s})=>{const h=N.useFloatingLinkSelectors().isEditing();if(s)return null;const v=_.jsx(mO,{}),x=h?v:_.jsx(fO,{});return _.jsxs(_.Fragment,{children:[_.jsx(pg.InsertRoot,{children:v}),_.jsx(pg.EditRoot,{children:x})]})},yO=({id:s,editorId:h})=>{const v=N.usePlateEditorState(N.useEventPlateId(h)),x=!!N.isRangeInSameBlock(v,{at:v.selection});return _.jsx("div",{"data-plugin-id":s,children:_.jsx(N.LinkToolbarButton,{tooltip:L.getTooltip(x?`Link
67
+ ${L.getHotkeyByPlatform("Ctrl+K")}`:"Links can only be set for a single text block."),icon:_.jsx("span",{className:"tw-p-2 tw-h-8 tw-justify-center tw-items-center tw-flex",children:_.jsx(L.IconLink,{size:L.IconSize.Size16})}),classNames:L.getButtonClassNames(x),styles:{root:{width:"24px",height:"24px"}},actionHandler:"onMouseDown"})})},SO=s=>({...N.useElementProps({...s,elementToAttributes:v=>{var x,b;return{href:v.url||((b=(x=v.chosenLink)==null?void 0:x.searchResult)==null?void 0:b.link)||"",target:v.target||"_blank"}}}),onMouseOver:v=>{v.stopPropagation()}}),EO=s=>{const h=SO(s),{attributes:v,children:x}=s;return _.jsx("a",{...v,href:h.href,target:h.target,style:sr[sd],children:x})};class CO extends L.MarkupElement{constructor(h=N.ELEMENT_LINK,v=EO){super(h,v)}}const Ab=s=>N.createPluginFactory({...N.createLinkPlugin(),renderAfterEditable:gO,options:{isUrl:oC,rangeBeforeOptions:{matchString:" ",skipInvalid:!0,afterMatch:!0},triggerFloatingLinkHotkeys:"command+k, ctrl+k",appBridge:s}})();class Ub extends L.Plugin{constructor(h,v=sr[sd]){super(sd,{button:yO,markupElement:new CO,...h}),this.styles={},this.styles=v,this.appBridge=h==null?void 0:h.appBridge}plugins(){return[Ab(this.appBridge)]}}const wO="textstyle-custom1-plugin";class zb extends L.Plugin{constructor({styles:h=sr.custom1,...v}={}){super(ct.custom1,{label:"Custom 1",markupElement:new xO,...v}),this.styles={},this.styles=h}plugins(){return[bO(this.styles)]}}class xO extends L.MarkupElement{constructor(h=wO,v=jb){super(h,v)}}const jb=({element:s,attributes:h,children:v,styles:x})=>{const b=s.align;return _.jsx("p",{...h,className:L.merge([b&&L.alignmentClassnames[b],L.getColumnBreakClasses(s),"a-custom1"]),children:_.jsx("span",{style:x,children:v})})},bO=s=>N.createPluginFactory({key:ct.custom1,isElement:!0,deserializeHtml:{rules:[{validClassName:ct.custom1}]}})({component:h=>_.jsx(jb,{...h,styles:s})}),TO="textstyle-custom2-plugin";class Pb extends L.Plugin{constructor({styles:h=sr.custom2,...v}={}){super(ct.custom2,{label:"Custom 2",markupElement:new RO,...v}),this.styles={},this.styles=h}plugins(){return[kO(this.styles)]}}class RO extends L.MarkupElement{constructor(h=TO,v=Fb){super(h,v)}}const Fb=({element:s,attributes:h,children:v,styles:x})=>{const b=s.align;return _.jsx("p",{...h,className:L.merge([b&&L.alignmentClassnames[b],L.getColumnBreakClasses(s),"a-custom2"]),children:_.jsx("span",{style:x,children:v})})},kO=s=>N.createPluginFactory({key:ct.custom2,isElement:!0,deserializeHtml:{rules:[{validClassName:ct.custom2}]}})({component:h=>_.jsx(Fb,{...h,styles:s})}),_O="textstyle-custom3-plugin";class Bb extends L.Plugin{constructor({styles:h=sr.custom3,...v}={}){super(L.TextStyles.custom3,{label:"Custom 3",markupElement:new DO,...v}),this.styles={},this.styles=h}plugins(){return[LO(this.styles)]}}class DO extends L.MarkupElement{constructor(h=_O,v=Hb){super(h,v)}}const Hb=({element:s,attributes:h,children:v,styles:x})=>{const b=s.align;return _.jsx("p",{...h,className:L.merge([b&&L.alignmentClassnames[b],L.getColumnBreakClasses(s),"a-custom3"]),children:_.jsx("span",{style:x,children:v})})},LO=s=>N.createPluginFactory({key:L.TextStyles.custom3,isElement:!0,deserializeHtml:{rules:[{validClassName:L.TextStyles.custom3}]}})({component:h=>_.jsx(Hb,{...h,styles:s})}),OO="textstyle-heading1-plugin";class Ib extends L.Plugin{constructor({styles:h=sr.heading1,...v}={}){super(ct.heading1,{label:"Heading 1",markupElement:new NO,...v}),this.styles={},this.styles=h}plugins(){return[MO(this.styles)]}}class NO extends L.MarkupElement{constructor(h=OO,v=ZE){super(h,v)}}const ZE=({element:s,attributes:h,children:v,styles:x})=>{const b=s.align;return _.jsx("h1",{...h,className:L.merge([b&&L.alignmentClassnames[b],L.getColumnBreakClasses(s),"a-h1"]),children:_.jsx("span",{style:x,children:v})})},MO=s=>N.createPluginFactory({key:ct.heading1,isElement:!0,component:ZE,deserializeHtml:{rules:[{validNodeName:["h1","H1"]}]}})({component:h=>_.jsx(ZE,{...h,styles:s})}),AO="textstyle-heading2-plugin";class Vb extends L.Plugin{constructor({styles:h=sr.heading2,...v}={}){super(ct.heading2,{label:"Heading 2",markupElement:new UO,...v}),this.styles={},this.styles=h}plugins(){return[zO(this.styles)]}}class UO extends L.MarkupElement{constructor(h=AO,v=JE){super(h,v)}}const JE=({element:s,attributes:h,children:v,styles:x})=>{const b=s.align;return _.jsx("h2",{...h,className:L.merge([b&&L.alignmentClassnames[b],L.getColumnBreakClasses(s)]),children:_.jsx("span",{style:x,children:v})})},zO=s=>N.createPluginFactory({key:ct.heading2,isElement:!0,component:JE,deserializeHtml:{rules:[{validNodeName:["h2","H2"]}]}})({component:h=>_.jsx(JE,{...h,styles:s})}),jO="textstyle-heading3-plugin";class $b extends L.Plugin{constructor({styles:h=sr.heading3,...v}={}){super(ct.heading3,{label:"Heading 3",markupElement:new PO,...v}),this.styles={},this.styles=h}plugins(){return[FO(this.styles)]}}class PO extends L.MarkupElement{constructor(h=jO,v=eC){super(h,v)}}const eC=({element:s,attributes:h,children:v,styles:x})=>{const b=s.align;return _.jsx("h3",{...h,className:L.merge([b&&L.alignmentClassnames[b],L.getColumnBreakClasses(s)]),children:_.jsx("span",{style:x,children:v})})},FO=s=>N.createPluginFactory({key:ct.heading3,isElement:!0,component:eC,deserializeHtml:{rules:[{validNodeName:["h3","H3"]}]}})({component:h=>_.jsx(eC,{...h,styles:s})}),BO="textstyle-heading4-plugin";class Yb extends L.Plugin{constructor({styles:h=sr.heading4,...v}={}){super(ct.heading4,{label:"Heading 4",markupElement:new HO,...v}),this.styles={},this.styles=h}plugins(){return[IO(this.styles)]}}class HO extends L.MarkupElement{constructor(h=BO,v=tC){super(h,v)}}const tC=({element:s,attributes:h,children:v,styles:x})=>{const b=s.align;return _.jsx("h4",{...h,className:L.merge([b&&L.alignmentClassnames[b],L.getColumnBreakClasses(s)]),children:_.jsx("span",{style:x,children:v})})},IO=s=>N.createPluginFactory({key:ct.heading4,isElement:!0,component:tC,deserializeHtml:{rules:[{validNodeName:["h4","H4"]}]}})({component:h=>_.jsx(tC,{...h,styles:s})}),VO="textstyle-imageCaption-plugin";class Wb extends L.Plugin{constructor({styles:h=sr.imageCaption,...v}={}){super(ct.imageCaption,{label:"Image Caption",markupElement:new $O,...v}),this.styles={},this.styles=h}plugins(){return[YO(this.styles)]}}class $O extends L.MarkupElement{constructor(h=VO,v=nC){super(h,v)}}const nC=({element:s,attributes:h,children:v,styles:x})=>{const b=s.align;return _.jsx("p",{...h,className:L.merge([b&&L.alignmentClassnames[b],L.getColumnBreakClasses(s),"a-image-caption"]),children:_.jsx("span",{style:x,children:v})})},YO=s=>N.createPluginFactory({key:ct.imageCaption,isElement:!0,component:nC,deserializeHtml:{rules:[{validClassName:ct.imageCaption}]}})({component:h=>_.jsx(nC,{...h,styles:s})}),WO="textstyle-imageTitle-plugin";class Qb extends L.Plugin{constructor({styles:h=sr.imageTitle,...v}={}){super(ct.imageTitle,{label:"Image Title",markupElement:new QO,...v}),this.styles={},this.styles=h}plugins(){return[GO(this.styles)]}}class QO extends L.MarkupElement{constructor(h=WO,v=rC){super(h,v)}}const rC=({element:s,attributes:h,children:v,styles:x})=>{const b=s.align;return _.jsx("p",{...h,className:L.merge([b&&L.alignmentClassnames[b],L.getColumnBreakClasses(s),"a-image-title"]),children:_.jsx("span",{style:x,children:v})})},GO=s=>N.createPluginFactory({key:ct.imageTitle,isElement:!0,component:rC,deserializeHtml:{rules:[{validClassName:ct.imageTitle}]}})({component:h=>_.jsx(rC,{...h,styles:s})});class Gb extends L.Plugin{constructor({styles:h=sr.p,...v}={}){super(ct.p,{markupElement:new Kb,label:"Body Text",...v}),this.styles={},this.styles=h}plugins(){return[Xb(this.styles)]}}const qb="tw-m-0 tw-px-0 tw-py-0",mg=({element:s,attributes:h,children:v,styles:x})=>{const b=s.align,j=L.merge([b&&L.alignmentClassnames[b],qb,L.getColumnBreakClasses(s)]);return _.jsx("p",{...h,className:j,style:x,children:v})};class Kb extends L.MarkupElement{constructor(h=ct.p,v=mg){super(h,v)}}const Xb=s=>N.createPluginFactory({...N.createParagraphPlugin(),key:ct.p,isElement:!0,component:mg})({component:h=>_.jsx(mg,{...h,styles:s})}),qO="textstyle-quote-plugin";class Zb extends L.Plugin{constructor({styles:h=sr.quote,...v}={}){super(ct.quote,{label:"Quote",markupElement:new KO,...v}),this.styles={},this.styles=h}plugins(){return[Jb(this.styles)]}}class KO extends L.MarkupElement{constructor(h=qO,v=gg){super(h,v)}}const gg=({element:s,attributes:h,children:v,styles:x})=>{const b=s.align;return _.jsx("blockquote",{...h,className:L.merge([b&&L.alignmentClassnames[b],L.getColumnBreakClasses(s),"a-quote"]),children:_.jsx("span",{style:x,children:v})})},Jb=s=>N.createPluginFactory({key:ct.quote,isElement:!0,component:gg,deserializeHtml:{rules:[{validNodeName:["blockquote","BLOCKQUOTE"]}]}})({component:h=>_.jsx(gg,{...h,styles:s})}),vC=[new Ib,new Vb,new $b,new Yb,new zb,new Pb,new Bb,new Zb,new Gb],od=[ct.heading1,ct.heading2,ct.heading3,ct.heading4,ct.custom1,ct.custom2,ct.custom3,ct.quote,ct.p],XO=[...vC,new Wb,new Qb],ZO=[...od,ct.imageCaption,ct.imageTitle],JO=s=>{let h=qE(s.text);h=h.replaceAll(`
68
+ `,"<br />");const{bold:v,italic:x,underline:b,strikethrough:j,code:E,subscript:Q,superscript:A}=s;return v&&(h=`<span class="${L.BOLD_CLASSES}">${h}</span>`),x&&(h=`<span class="${L.ITALIC_CLASSES}">${h}</span>`),b&&(h=`<span class="${L.UNDERLINE_CLASSES}">${h}</span>`),j&&(h=`<span class="${L.STRIKETHROUGH_CLASSES}">${h}</span>`),E&&(h=`<span class="${L.CODE_CLASSES}">${h}</span>`),Q?h=`<sub>${h}</sub>`:A&&(h=`<sup>${h}</sup>`),h},Ju=s=>s?Object.keys(s).reduce((h,v)=>{const x=s[v];return x?`${h}${eN(v)}: ${x}; `:h},"").trim().replaceAll('"',"'"):"",eN=s=>s.replaceAll(/([A-Z])/g,"-$1").toLowerCase(),tN=(s,h,v,x)=>{const b=x[pC],j=s.buttonStyle??"primary",E=`button${j.charAt(0).toUpperCase()}${j.slice(1)}`,Q=b[E],A=Ju(Q);return`<a href="${s.url}"
69
+ target="${s.target??"_blank"}"
70
+ style="${A}"
71
+ class="${v}"
72
+ onmouseenter="this.setAttribute('style', '${A} ${Ju(Q==null?void 0:Q.hover)}');"
73
+ onmouseleave="this.setAttribute('style', '${Ju(Q)}');"
74
+ >${h}</a>`},nN=(s,h,v,x)=>{var b;if(s.chosenLink){const{chosenLink:j}=s;return`<a class="${v}" style="${Ju(x[sd])}" target=${j!=null&&j.openInNewTab?"_blank":"_self"} href="${qE((b=j==null?void 0:j.searchResult)==null?void 0:b.link)}">${h}</a>`}return`<a class="${v}" style="${Ju(x[sd])}" target="${(s==null?void 0:s.target)??"_blank"}" href="${qE(s.url)}">${h}</a>`},rN=(s,h,v,x)=>{const b=Ju(v);return s.type===ct.heading1?`<h1 class="${L.merge([x,"a-h1"])}">${hl(h,b)}</h1>`:s.type===ct.heading2?`<h2 class="${x}">${hl(h,b)}</h2>`:s.type===ct.heading3?`<h3 class="${x}">${hl(h,b)}</h3>`:s.type===ct.heading4?`<h4 class="${x}">${hl(h,b)}</h4>`:s.type===ct.custom1?`<p class="${L.merge([x,"a-custom1"])}">${hl(h,b)}</p>`:s.type===ct.custom2?`<p class="${L.merge([x,"a-custom2"])}">${hl(h,b)}</p>`:s.type===ct.custom3?`<p class="${L.merge([x,"a-custom3"])}">${hl(h,b)}</p>`:s.type===ct.quote?`<p class="${L.merge([x,"a-quote"])}">${hl(h,b)}</p>`:s.type===ct.imageTitle?`<p class="${L.merge([x,"a-image-title"])}">${hl(h,b)}</p>`:s.type===ct.imageCaption?`<p class="${L.merge([x,"a-image-caption"])}">${hl(h,b)}</p>`:`<p class="${x}">${hl(h,b)}</p>`},hl=(s,h)=>`<span style="${h}">${s}</span>`,aN=(s,h,v,x)=>`<div disabled class="tw-flex tw-flex-row tw-pb-2 first-of-type:tw-ml-0 ${v}" style="margin-left:${(s.indent??0)*24}px;">
75
+ <div class="tw-flex tw-items-center tw-justify-center tw-select-none tw-mr-1.5">
76
+ <input
77
+ class="tw-w-4 tw-h-4 tw-m-0"
78
+ type="checkbox"
79
+ ${s.checked?"checked":""}
80
+ onclick="return false;" />
81
+ </div>
82
+ <span class="${L.merge(["tw-flex-1 tw-focus:outline-none",s.checked?"!tw-line-through":""])}" style="${Ju(x[s.children[0].textStyle])}">${h}</span>
83
+ </div>`;var aC={exports:{}},ni={},fg={exports:{}},QE={};/**
84
+ * @license React
85
+ * scheduler.production.min.js
86
+ *
87
+ * Copyright (c) Facebook, Inc. and its affiliates.
88
+ *
89
+ * This source code is licensed under the MIT license found in the
90
+ * LICENSE file in the root directory of this source tree.
91
+ */var ib;function iN(){return ib||(ib=1,function(s){function h(ce,ze){var D=ce.length;ce.push(ze);e:for(;0<D;){var ee=D-1>>>1,ye=ce[ee];if(0<b(ye,ze))ce[ee]=ze,ce[D]=ye,D=ee;else break e}}function v(ce){return ce.length===0?null:ce[0]}function x(ce){if(ce.length===0)return null;var ze=ce[0],D=ce.pop();if(D!==ze){ce[0]=D;e:for(var ee=0,ye=ce.length,ut=ye>>>1;ee<ut;){var tt=2*(ee+1)-1,Lt=ce[tt],yt=tt+1,Rt=ce[yt];if(0>b(Lt,D))yt<ye&&0>b(Rt,Lt)?(ce[ee]=Rt,ce[yt]=D,ee=yt):(ce[ee]=Lt,ce[tt]=D,ee=tt);else if(yt<ye&&0>b(Rt,D))ce[ee]=Rt,ce[yt]=D,ee=yt;else break e}}return ze}function b(ce,ze){var D=ce.sortIndex-ze.sortIndex;return D!==0?D:ce.id-ze.id}if(typeof performance=="object"&&typeof performance.now=="function"){var j=performance;s.unstable_now=function(){return j.now()}}else{var E=Date,Q=E.now();s.unstable_now=function(){return E.now()-Q}}var A=[],G=[],ne=1,F=null,te=3,le=!1,we=!1,Ke=!1,Je=typeof setTimeout=="function"?setTimeout:null,it=typeof clearTimeout=="function"?clearTimeout:null,We=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function Ie(ce){for(var ze=v(G);ze!==null;){if(ze.callback===null)x(G);else if(ze.startTime<=ce)x(G),ze.sortIndex=ze.expirationTime,h(A,ze);else break;ze=v(G)}}function pt(ce){if(Ke=!1,Ie(ce),!we)if(v(A)!==null)we=!0,lt(Re);else{var ze=v(G);ze!==null&&ge(pt,ze.startTime-ce)}}function Re(ce,ze){we=!1,Ke&&(Ke=!1,it(Tt),Tt=-1),le=!0;var D=te;try{for(Ie(ze),F=v(A);F!==null&&(!(F.expirationTime>ze)||ce&&!Ct());){var ee=F.callback;if(typeof ee=="function"){F.callback=null,te=F.priorityLevel;var ye=ee(F.expirationTime<=ze);ze=s.unstable_now(),typeof ye=="function"?F.callback=ye:F===v(A)&&x(A),Ie(ze)}else x(A);F=v(A)}if(F!==null)var ut=!0;else{var tt=v(G);tt!==null&&ge(pt,tt.startTime-ze),ut=!1}return ut}finally{F=null,te=D,le=!1}}var ke=!1,Le=null,Tt=-1,tn=5,zt=-1;function Ct(){return!(s.unstable_now()-zt<tn)}function pn(){if(Le!==null){var ce=s.unstable_now();zt=ce;var ze=!0;try{ze=Le(!0,ce)}finally{ze?Qe():(ke=!1,Le=null)}}else ke=!1}var Qe;if(typeof We=="function")Qe=function(){We(pn)};else if(typeof MessageChannel<"u"){var ft=new MessageChannel,Ae=ft.port2;ft.port1.onmessage=pn,Qe=function(){Ae.postMessage(null)}}else Qe=function(){Je(pn,0)};function lt(ce){Le=ce,ke||(ke=!0,Qe())}function ge(ce,ze){Tt=Je(function(){ce(s.unstable_now())},ze)}s.unstable_IdlePriority=5,s.unstable_ImmediatePriority=1,s.unstable_LowPriority=4,s.unstable_NormalPriority=3,s.unstable_Profiling=null,s.unstable_UserBlockingPriority=2,s.unstable_cancelCallback=function(ce){ce.callback=null},s.unstable_continueExecution=function(){we||le||(we=!0,lt(Re))},s.unstable_forceFrameRate=function(ce){0>ce||125<ce?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):tn=0<ce?Math.floor(1e3/ce):5},s.unstable_getCurrentPriorityLevel=function(){return te},s.unstable_getFirstCallbackNode=function(){return v(A)},s.unstable_next=function(ce){switch(te){case 1:case 2:case 3:var ze=3;break;default:ze=te}var D=te;te=ze;try{return ce()}finally{te=D}},s.unstable_pauseExecution=function(){},s.unstable_requestPaint=function(){},s.unstable_runWithPriority=function(ce,ze){switch(ce){case 1:case 2:case 3:case 4:case 5:break;default:ce=3}var D=te;te=ce;try{return ze()}finally{te=D}},s.unstable_scheduleCallback=function(ce,ze,D){var ee=s.unstable_now();switch(typeof D=="object"&&D!==null?(D=D.delay,D=typeof D=="number"&&0<D?ee+D:ee):D=ee,ce){case 1:var ye=-1;break;case 2:ye=250;break;case 5:ye=1073741823;break;case 4:ye=1e4;break;default:ye=5e3}return ye=D+ye,ce={id:ne++,callback:ze,priorityLevel:ce,startTime:D,expirationTime:ye,sortIndex:-1},D>ee?(ce.sortIndex=D,h(G,ce),v(A)===null&&ce===v(G)&&(Ke?(it(Tt),Tt=-1):Ke=!0,ge(pt,D-ee))):(ce.sortIndex=ye,h(A,ce),we||le||(we=!0,lt(Re))),ce},s.unstable_shouldYield=Ct,s.unstable_wrapCallback=function(ce){var ze=te;return function(){var D=te;te=ze;try{return ce.apply(this,arguments)}finally{te=D}}}}(QE)),QE}var GE={};/**
92
+ * @license React
93
+ * scheduler.development.js
94
+ *
95
+ * Copyright (c) Facebook, Inc. and its affiliates.
96
+ *
97
+ * This source code is licensed under the MIT license found in the
98
+ * LICENSE file in the root directory of this source tree.
99
+ */var lb;function lN(){return lb||(lb=1,function(s){process.env.NODE_ENV!=="production"&&function(){typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error);var h=!1,v=!1,x=5;function b(de,Be){var Et=de.length;de.push(Be),Q(de,Be,Et)}function j(de){return de.length===0?null:de[0]}function E(de){if(de.length===0)return null;var Be=de[0],Et=de.pop();return Et!==Be&&(de[0]=Et,A(de,Et,0)),Be}function Q(de,Be,Et){for(var $t=Et;$t>0;){var Qt=$t-1>>>1,An=de[Qt];if(G(An,Be)>0)de[Qt]=Be,de[$t]=An,$t=Qt;else return}}function A(de,Be,Et){for(var $t=Et,Qt=de.length,An=Qt>>>1;$t<An;){var xn=($t+1)*2-1,Rr=de[xn],Jt=xn+1,Ur=de[Jt];if(G(Rr,Be)<0)Jt<Qt&&G(Ur,Rr)<0?(de[$t]=Ur,de[Jt]=Be,$t=Jt):(de[$t]=Rr,de[xn]=Be,$t=xn);else if(Jt<Qt&&G(Ur,Be)<0)de[$t]=Ur,de[Jt]=Be,$t=Jt;else return}}function G(de,Be){var Et=de.sortIndex-Be.sortIndex;return Et!==0?Et:de.id-Be.id}var ne=1,F=2,te=3,le=4,we=5;function Ke(de,Be){}var Je=typeof performance=="object"&&typeof performance.now=="function";if(Je){var it=performance;s.unstable_now=function(){return it.now()}}else{var We=Date,Ie=We.now();s.unstable_now=function(){return We.now()-Ie}}var pt=1073741823,Re=-1,ke=250,Le=5e3,Tt=1e4,tn=pt,zt=[],Ct=[],pn=1,Qe=null,ft=te,Ae=!1,lt=!1,ge=!1,ce=typeof setTimeout=="function"?setTimeout:null,ze=typeof clearTimeout=="function"?clearTimeout:null,D=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function ee(de){for(var Be=j(Ct);Be!==null;){if(Be.callback===null)E(Ct);else if(Be.startTime<=de)E(Ct),Be.sortIndex=Be.expirationTime,b(zt,Be);else return;Be=j(Ct)}}function ye(de){if(ge=!1,ee(de),!lt)if(j(zt)!==null)lt=!0,ta(ut);else{var Be=j(Ct);Be!==null&&wn(ye,Be.startTime-de)}}function ut(de,Be){lt=!1,ge&&(ge=!1,Ar()),Ae=!0;var Et=ft;try{var $t;if(!v)return tt(de,Be)}finally{Qe=null,ft=Et,Ae=!1}}function tt(de,Be){var Et=Be;for(ee(Et),Qe=j(zt);Qe!==null&&!h&&!(Qe.expirationTime>Et&&(!de||Jr()));){var $t=Qe.callback;if(typeof $t=="function"){Qe.callback=null,ft=Qe.priorityLevel;var Qt=Qe.expirationTime<=Et,An=$t(Qt);Et=s.unstable_now(),typeof An=="function"?Qe.callback=An:Qe===j(zt)&&E(zt),ee(Et)}else E(zt);Qe=j(zt)}if(Qe!==null)return!0;var xn=j(Ct);return xn!==null&&wn(ye,xn.startTime-Et),!1}function Lt(de,Be){switch(de){case ne:case F:case te:case le:case we:break;default:de=te}var Et=ft;ft=de;try{return Be()}finally{ft=Et}}function yt(de){var Be;switch(ft){case ne:case F:case te:Be=te;break;default:Be=ft;break}var Et=ft;ft=Be;try{return de()}finally{ft=Et}}function Rt(de){var Be=ft;return function(){var Et=ft;ft=Be;try{return de.apply(this,arguments)}finally{ft=Et}}}function St(de,Be,Et){var $t=s.unstable_now(),Qt;if(typeof Et=="object"&&Et!==null){var An=Et.delay;typeof An=="number"&&An>0?Qt=$t+An:Qt=$t}else Qt=$t;var xn;switch(de){case ne:xn=Re;break;case F:xn=ke;break;case we:xn=tn;break;case le:xn=Tt;break;case te:default:xn=Le;break}var Rr=Qt+xn,Jt={id:pn++,callback:Be,priorityLevel:de,startTime:Qt,expirationTime:Rr,sortIndex:-1};return Qt>$t?(Jt.sortIndex=Qt,b(Ct,Jt),j(zt)===null&&Jt===j(Ct)&&(ge?Ar():ge=!0,wn(ye,Qt-$t))):(Jt.sortIndex=Rr,b(zt,Jt),!lt&&!Ae&&(lt=!0,ta(ut))),Jt}function Wt(){}function Kr(){!lt&&!Ae&&(lt=!0,ta(ut))}function xr(){return j(zt)}function Xr(de){de.callback=null}function Cn(){return ft}var Zn=!1,Vn=null,$n=-1,Mn=x,Zr=-1;function Jr(){var de=s.unstable_now()-Zr;return!(de<Mn)}function Jn(){}function br(de){if(de<0||de>125){console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported");return}de>0?Mn=Math.floor(1e3/de):Mn=x}var ea=function(){if(Vn!==null){var de=s.unstable_now();Zr=de;var Be=!0,Et=!0;try{Et=Vn(Be,de)}finally{Et?Tr():(Zn=!1,Vn=null)}}else Zn=!1},Tr;if(typeof D=="function")Tr=function(){D(ea)};else if(typeof MessageChannel<"u"){var Sa=new MessageChannel,cr=Sa.port2;Sa.port1.onmessage=ea,Tr=function(){cr.postMessage(null)}}else Tr=function(){ce(ea,0)};function ta(de){Vn=de,Zn||(Zn=!0,Tr())}function wn(de,Be){$n=ce(function(){de(s.unstable_now())},Be)}function Ar(){ze($n),$n=-1}var gi=Jn,Ea=null;s.unstable_IdlePriority=we,s.unstable_ImmediatePriority=ne,s.unstable_LowPriority=le,s.unstable_NormalPriority=te,s.unstable_Profiling=Ea,s.unstable_UserBlockingPriority=F,s.unstable_cancelCallback=Xr,s.unstable_continueExecution=Kr,s.unstable_forceFrameRate=br,s.unstable_getCurrentPriorityLevel=Cn,s.unstable_getFirstCallbackNode=xr,s.unstable_next=yt,s.unstable_pauseExecution=Wt,s.unstable_requestPaint=gi,s.unstable_runWithPriority=Lt,s.unstable_scheduleCallback=St,s.unstable_shouldYield=Jr,s.unstable_wrapCallback=Rt,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)}()}(GE)),GE}var ub;function eT(){return ub||(ub=1,process.env.NODE_ENV==="production"?fg.exports=iN():fg.exports=lN()),fg.exports}/**
100
+ * @license React
101
+ * react-dom.production.min.js
102
+ *
103
+ * Copyright (c) Facebook, Inc. and its affiliates.
104
+ *
105
+ * This source code is licensed under the MIT license found in the
106
+ * LICENSE file in the root directory of this source tree.
107
+ */var ob;function uN(){if(ob)return ni;ob=1;var s=Fe,h=eT();function v(n){for(var r="https://reactjs.org/docs/error-decoder.html?invariant="+n,l=1;l<arguments.length;l++)r+="&args[]="+encodeURIComponent(arguments[l]);return"Minified React error #"+n+"; visit "+r+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var x=new Set,b={};function j(n,r){E(n,r),E(n+"Capture",r)}function E(n,r){for(b[n]=r,n=0;n<r.length;n++)x.add(r[n])}var Q=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),A=Object.prototype.hasOwnProperty,G=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,ne={},F={};function te(n){return A.call(F,n)?!0:A.call(ne,n)?!1:G.test(n)?F[n]=!0:(ne[n]=!0,!1)}function le(n,r,l,o){if(l!==null&&l.type===0)return!1;switch(typeof r){case"function":case"symbol":return!0;case"boolean":return o?!1:l!==null?!l.acceptsBooleans:(n=n.toLowerCase().slice(0,5),n!=="data-"&&n!=="aria-");default:return!1}}function we(n,r,l,o){if(r===null||typeof r>"u"||le(n,r,l,o))return!0;if(o)return!1;if(l!==null)switch(l.type){case 3:return!r;case 4:return r===!1;case 5:return isNaN(r);case 6:return isNaN(r)||1>r}return!1}function Ke(n,r,l,o,f,p,S){this.acceptsBooleans=r===2||r===3||r===4,this.attributeName=o,this.attributeNamespace=f,this.mustUseProperty=l,this.propertyName=n,this.type=r,this.sanitizeURL=p,this.removeEmptyString=S}var Je={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(n){Je[n]=new Ke(n,0,!1,n,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(n){var r=n[0];Je[r]=new Ke(r,1,!1,n[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(n){Je[n]=new Ke(n,2,!1,n.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(n){Je[n]=new Ke(n,2,!1,n,null,!1,!1)}),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(n){Je[n]=new Ke(n,3,!1,n.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(n){Je[n]=new Ke(n,3,!0,n,null,!1,!1)}),["capture","download"].forEach(function(n){Je[n]=new Ke(n,4,!1,n,null,!1,!1)}),["cols","rows","size","span"].forEach(function(n){Je[n]=new Ke(n,6,!1,n,null,!1,!1)}),["rowSpan","start"].forEach(function(n){Je[n]=new Ke(n,5,!1,n.toLowerCase(),null,!1,!1)});var it=/[\-:]([a-z])/g;function We(n){return n[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(n){var r=n.replace(it,We);Je[r]=new Ke(r,1,!1,n,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(n){var r=n.replace(it,We);Je[r]=new Ke(r,1,!1,n,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(n){var r=n.replace(it,We);Je[r]=new Ke(r,1,!1,n,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(n){Je[n]=new Ke(n,1,!1,n.toLowerCase(),null,!1,!1)}),Je.xlinkHref=new Ke("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(n){Je[n]=new Ke(n,1,!1,n.toLowerCase(),null,!0,!0)});function Ie(n,r,l,o){var f=Je.hasOwnProperty(r)?Je[r]:null;(f!==null?f.type!==0:o||!(2<r.length)||r[0]!=="o"&&r[0]!=="O"||r[1]!=="n"&&r[1]!=="N")&&(we(r,l,f,o)&&(l=null),o||f===null?te(r)&&(l===null?n.removeAttribute(r):n.setAttribute(r,""+l)):f.mustUseProperty?n[f.propertyName]=l===null?f.type===3?!1:"":l:(r=f.attributeName,o=f.attributeNamespace,l===null?n.removeAttribute(r):(f=f.type,l=f===3||f===4&&l===!0?"":""+l,o?n.setAttributeNS(o,r,l):n.setAttribute(r,l))))}var pt=s.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,Re=Symbol.for("react.element"),ke=Symbol.for("react.portal"),Le=Symbol.for("react.fragment"),Tt=Symbol.for("react.strict_mode"),tn=Symbol.for("react.profiler"),zt=Symbol.for("react.provider"),Ct=Symbol.for("react.context"),pn=Symbol.for("react.forward_ref"),Qe=Symbol.for("react.suspense"),ft=Symbol.for("react.suspense_list"),Ae=Symbol.for("react.memo"),lt=Symbol.for("react.lazy"),ge=Symbol.for("react.offscreen"),ce=Symbol.iterator;function ze(n){return n===null||typeof n!="object"?null:(n=ce&&n[ce]||n["@@iterator"],typeof n=="function"?n:null)}var D=Object.assign,ee;function ye(n){if(ee===void 0)try{throw Error()}catch(l){var r=l.stack.trim().match(/\n( *(at )?)/);ee=r&&r[1]||""}return`
108
+ `+ee+n}var ut=!1;function tt(n,r){if(!n||ut)return"";ut=!0;var l=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(r)if(r=function(){throw Error()},Object.defineProperty(r.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(r,[])}catch(W){var o=W}Reflect.construct(n,[],r)}else{try{r.call()}catch(W){o=W}n.call(r.prototype)}else{try{throw Error()}catch(W){o=W}n()}}catch(W){if(W&&o&&typeof W.stack=="string"){for(var f=W.stack.split(`
109
+ `),p=o.stack.split(`
110
+ `),S=f.length-1,T=p.length-1;1<=S&&0<=T&&f[S]!==p[T];)T--;for(;1<=S&&0<=T;S--,T--)if(f[S]!==p[T]){if(S!==1||T!==1)do if(S--,T--,0>T||f[S]!==p[T]){var O=`
111
+ `+f[S].replace(" at new "," at ");return n.displayName&&O.includes("<anonymous>")&&(O=O.replace("<anonymous>",n.displayName)),O}while(1<=S&&0<=T);break}}}finally{ut=!1,Error.prepareStackTrace=l}return(n=n?n.displayName||n.name:"")?ye(n):""}function Lt(n){switch(n.tag){case 5:return ye(n.type);case 16:return ye("Lazy");case 13:return ye("Suspense");case 19:return ye("SuspenseList");case 0:case 2:case 15:return n=tt(n.type,!1),n;case 11:return n=tt(n.type.render,!1),n;case 1:return n=tt(n.type,!0),n;default:return""}}function yt(n){if(n==null)return null;if(typeof n=="function")return n.displayName||n.name||null;if(typeof n=="string")return n;switch(n){case Le:return"Fragment";case ke:return"Portal";case tn:return"Profiler";case Tt:return"StrictMode";case Qe:return"Suspense";case ft:return"SuspenseList"}if(typeof n=="object")switch(n.$$typeof){case Ct:return(n.displayName||"Context")+".Consumer";case zt:return(n._context.displayName||"Context")+".Provider";case pn:var r=n.render;return n=n.displayName,n||(n=r.displayName||r.name||"",n=n!==""?"ForwardRef("+n+")":"ForwardRef"),n;case Ae:return r=n.displayName||null,r!==null?r:yt(n.type)||"Memo";case lt:r=n._payload,n=n._init;try{return yt(n(r))}catch{}}return null}function Rt(n){var r=n.type;switch(n.tag){case 24:return"Cache";case 9:return(r.displayName||"Context")+".Consumer";case 10:return(r._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return n=r.render,n=n.displayName||n.name||"",r.displayName||(n!==""?"ForwardRef("+n+")":"ForwardRef");case 7:return"Fragment";case 5:return r;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return yt(r);case 8:return r===Tt?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof r=="function")return r.displayName||r.name||null;if(typeof r=="string")return r}return null}function St(n){switch(typeof n){case"boolean":case"number":case"string":case"undefined":return n;case"object":return n;default:return""}}function Wt(n){var r=n.type;return(n=n.nodeName)&&n.toLowerCase()==="input"&&(r==="checkbox"||r==="radio")}function Kr(n){var r=Wt(n)?"checked":"value",l=Object.getOwnPropertyDescriptor(n.constructor.prototype,r),o=""+n[r];if(!n.hasOwnProperty(r)&&typeof l<"u"&&typeof l.get=="function"&&typeof l.set=="function"){var f=l.get,p=l.set;return Object.defineProperty(n,r,{configurable:!0,get:function(){return f.call(this)},set:function(S){o=""+S,p.call(this,S)}}),Object.defineProperty(n,r,{enumerable:l.enumerable}),{getValue:function(){return o},setValue:function(S){o=""+S},stopTracking:function(){n._valueTracker=null,delete n[r]}}}}function xr(n){n._valueTracker||(n._valueTracker=Kr(n))}function Xr(n){if(!n)return!1;var r=n._valueTracker;if(!r)return!0;var l=r.getValue(),o="";return n&&(o=Wt(n)?n.checked?"true":"false":n.value),n=o,n!==l?(r.setValue(n),!0):!1}function Cn(n){if(n=n||(typeof document<"u"?document:void 0),typeof n>"u")return null;try{return n.activeElement||n.body}catch{return n.body}}function Zn(n,r){var l=r.checked;return D({},r,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:l??n._wrapperState.initialChecked})}function Vn(n,r){var l=r.defaultValue==null?"":r.defaultValue,o=r.checked!=null?r.checked:r.defaultChecked;l=St(r.value!=null?r.value:l),n._wrapperState={initialChecked:o,initialValue:l,controlled:r.type==="checkbox"||r.type==="radio"?r.checked!=null:r.value!=null}}function $n(n,r){r=r.checked,r!=null&&Ie(n,"checked",r,!1)}function Mn(n,r){$n(n,r);var l=St(r.value),o=r.type;if(l!=null)o==="number"?(l===0&&n.value===""||n.value!=l)&&(n.value=""+l):n.value!==""+l&&(n.value=""+l);else if(o==="submit"||o==="reset"){n.removeAttribute("value");return}r.hasOwnProperty("value")?Jr(n,r.type,l):r.hasOwnProperty("defaultValue")&&Jr(n,r.type,St(r.defaultValue)),r.checked==null&&r.defaultChecked!=null&&(n.defaultChecked=!!r.defaultChecked)}function Zr(n,r,l){if(r.hasOwnProperty("value")||r.hasOwnProperty("defaultValue")){var o=r.type;if(!(o!=="submit"&&o!=="reset"||r.value!==void 0&&r.value!==null))return;r=""+n._wrapperState.initialValue,l||r===n.value||(n.value=r),n.defaultValue=r}l=n.name,l!==""&&(n.name=""),n.defaultChecked=!!n._wrapperState.initialChecked,l!==""&&(n.name=l)}function Jr(n,r,l){(r!=="number"||Cn(n.ownerDocument)!==n)&&(l==null?n.defaultValue=""+n._wrapperState.initialValue:n.defaultValue!==""+l&&(n.defaultValue=""+l))}var Jn=Array.isArray;function br(n,r,l,o){if(n=n.options,r){r={};for(var f=0;f<l.length;f++)r["$"+l[f]]=!0;for(l=0;l<n.length;l++)f=r.hasOwnProperty("$"+n[l].value),n[l].selected!==f&&(n[l].selected=f),f&&o&&(n[l].defaultSelected=!0)}else{for(l=""+St(l),r=null,f=0;f<n.length;f++){if(n[f].value===l){n[f].selected=!0,o&&(n[f].defaultSelected=!0);return}r!==null||n[f].disabled||(r=n[f])}r!==null&&(r.selected=!0)}}function ea(n,r){if(r.dangerouslySetInnerHTML!=null)throw Error(v(91));return D({},r,{value:void 0,defaultValue:void 0,children:""+n._wrapperState.initialValue})}function Tr(n,r){var l=r.value;if(l==null){if(l=r.children,r=r.defaultValue,l!=null){if(r!=null)throw Error(v(92));if(Jn(l)){if(1<l.length)throw Error(v(93));l=l[0]}r=l}r==null&&(r=""),l=r}n._wrapperState={initialValue:St(l)}}function Sa(n,r){var l=St(r.value),o=St(r.defaultValue);l!=null&&(l=""+l,l!==n.value&&(n.value=l),r.defaultValue==null&&n.defaultValue!==l&&(n.defaultValue=l)),o!=null&&(n.defaultValue=""+o)}function cr(n){var r=n.textContent;r===n._wrapperState.initialValue&&r!==""&&r!==null&&(n.value=r)}function ta(n){switch(n){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function wn(n,r){return n==null||n==="http://www.w3.org/1999/xhtml"?ta(r):n==="http://www.w3.org/2000/svg"&&r==="foreignObject"?"http://www.w3.org/1999/xhtml":n}var Ar,gi=function(n){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(r,l,o,f){MSApp.execUnsafeLocalFunction(function(){return n(r,l,o,f)})}:n}(function(n,r){if(n.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in n)n.innerHTML=r;else{for(Ar=Ar||document.createElement("div"),Ar.innerHTML="<svg>"+r.valueOf().toString()+"</svg>",r=Ar.firstChild;n.firstChild;)n.removeChild(n.firstChild);for(;r.firstChild;)n.appendChild(r.firstChild)}});function Ea(n,r){if(r){var l=n.firstChild;if(l&&l===n.lastChild&&l.nodeType===3){l.nodeValue=r;return}}n.textContent=r}var de={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},Be=["Webkit","ms","Moz","O"];Object.keys(de).forEach(function(n){Be.forEach(function(r){r=r+n.charAt(0).toUpperCase()+n.substring(1),de[r]=de[n]})});function Et(n,r,l){return r==null||typeof r=="boolean"||r===""?"":l||typeof r!="number"||r===0||de.hasOwnProperty(n)&&de[n]?(""+r).trim():r+"px"}function $t(n,r){n=n.style;for(var l in r)if(r.hasOwnProperty(l)){var o=l.indexOf("--")===0,f=Et(l,r[l],o);l==="float"&&(l="cssFloat"),o?n.setProperty(l,f):n[l]=f}}var Qt=D({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function An(n,r){if(r){if(Qt[n]&&(r.children!=null||r.dangerouslySetInnerHTML!=null))throw Error(v(137,n));if(r.dangerouslySetInnerHTML!=null){if(r.children!=null)throw Error(v(60));if(typeof r.dangerouslySetInnerHTML!="object"||!("__html"in r.dangerouslySetInnerHTML))throw Error(v(61))}if(r.style!=null&&typeof r.style!="object")throw Error(v(62))}}function xn(n,r){if(n.indexOf("-")===-1)return typeof r.is=="string";switch(n){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var Rr=null;function Jt(n){return n=n.target||n.srcElement||window,n.correspondingUseElement&&(n=n.correspondingUseElement),n.nodeType===3?n.parentNode:n}var Ur=null,Gt=null,qt=null;function ai(n){if(n=Ts(n)){if(typeof Ur!="function")throw Error(v(280));var r=n.stateNode;r&&(r=Ve(r),Ur(n.stateNode,n.type,r))}}function za(n){Gt?qt?qt.push(n):qt=[n]:Gt=n}function ml(){if(Gt){var n=Gt,r=qt;if(qt=Gt=null,ai(n),r)for(n=0;n<r.length;n++)ai(r[n])}}function uu(n,r){return n(r)}function eo(){}var Fi=!1;function gl(n,r,l){if(Fi)return n(r,l);Fi=!0;try{return uu(n,r,l)}finally{Fi=!1,(Gt!==null||qt!==null)&&(eo(),ml())}}function Ca(n,r){var l=n.stateNode;if(l===null)return null;var o=Ve(l);if(o===null)return null;l=o[r];e:switch(r){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(o=!o.disabled)||(n=n.type,o=!(n==="button"||n==="input"||n==="select"||n==="textarea")),n=!o;break e;default:n=!1}if(n)return null;if(l&&typeof l!="function")throw Error(v(231,r,typeof l));return l}var yi=!1;if(Q)try{var wa={};Object.defineProperty(wa,"passive",{get:function(){yi=!0}}),window.addEventListener("test",wa,wa),window.removeEventListener("test",wa,wa)}catch{yi=!1}function Si(n,r,l,o,f,p,S,T,O){var W=Array.prototype.slice.call(arguments,3);try{r.apply(l,W)}catch(ie){this.onError(ie)}}var zr=!1,xa=null,Ei=!1,k=null,re={onError:function(n){zr=!0,xa=n}};function pe(n,r,l,o,f,p,S,T,O){zr=!1,xa=null,Si.apply(re,arguments)}function xe(n,r,l,o,f,p,S,T,O){if(pe.apply(this,arguments),zr){if(zr){var W=xa;zr=!1,xa=null}else throw Error(v(198));Ei||(Ei=!0,k=W)}}function vt(n){var r=n,l=n;if(n.alternate)for(;r.return;)r=r.return;else{n=r;do r=n,r.flags&4098&&(l=r.return),n=r.return;while(n)}return r.tag===3?l:null}function Ot(n){if(n.tag===13){var r=n.memoizedState;if(r===null&&(n=n.alternate,n!==null&&(r=n.memoizedState)),r!==null)return r.dehydrated}return null}function ht(n){if(vt(n)!==n)throw Error(v(188))}function $e(n){var r=n.alternate;if(!r){if(r=vt(n),r===null)throw Error(v(188));return r!==n?null:n}for(var l=n,o=r;;){var f=l.return;if(f===null)break;var p=f.alternate;if(p===null){if(o=f.return,o!==null){l=o;continue}break}if(f.child===p.child){for(p=f.child;p;){if(p===l)return ht(f),n;if(p===o)return ht(f),r;p=p.sibling}throw Error(v(188))}if(l.return!==o.return)l=f,o=p;else{for(var S=!1,T=f.child;T;){if(T===l){S=!0,l=f,o=p;break}if(T===o){S=!0,o=f,l=p;break}T=T.sibling}if(!S){for(T=p.child;T;){if(T===l){S=!0,l=p,o=f;break}if(T===o){S=!0,o=p,l=f;break}T=T.sibling}if(!S)throw Error(v(189))}}if(l.alternate!==o)throw Error(v(190))}if(l.tag!==3)throw Error(v(188));return l.stateNode.current===l?n:r}function Pn(n){return n=$e(n),n!==null?sn(n):null}function sn(n){if(n.tag===5||n.tag===6)return n;for(n=n.child;n!==null;){var r=sn(n);if(r!==null)return r;n=n.sibling}return null}var cn=h.unstable_scheduleCallback,fr=h.unstable_cancelCallback,Ci=h.unstable_shouldYield,to=h.unstable_requestPaint,jt=h.unstable_now,dd=h.unstable_getCurrentPriorityLevel,ii=h.unstable_ImmediatePriority,wt=h.unstable_UserBlockingPriority,wi=h.unstable_NormalPriority,yl=h.unstable_LowPriority,no=h.unstable_IdlePriority,Sl=null,na=null;function os(n){if(na&&typeof na.onCommitFiberRoot=="function")try{na.onCommitFiberRoot(Sl,n,void 0,(n.current.flags&128)===128)}catch{}}var jr=Math.clz32?Math.clz32:Sc,ss=Math.log,cs=Math.LN2;function Sc(n){return n>>>=0,n===0?32:31-(ss(n)/cs|0)|0}var ro=64,El=4194304;function li(n){switch(n&-n){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return n&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return n&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return n}}function Pr(n,r){var l=n.pendingLanes;if(l===0)return 0;var o=0,f=n.suspendedLanes,p=n.pingedLanes,S=l&268435455;if(S!==0){var T=S&~f;T!==0?o=li(T):(p&=S,p!==0&&(o=li(p)))}else S=l&~f,S!==0?o=li(S):p!==0&&(o=li(p));if(o===0)return 0;if(r!==0&&r!==o&&!(r&f)&&(f=o&-o,p=r&-r,f>=p||f===16&&(p&4194240)!==0))return r;if(o&4&&(o|=l&16),r=n.entangledLanes,r!==0)for(n=n.entanglements,r&=o;0<r;)l=31-jr(r),f=1<<l,o|=n[l],r&=~f;return o}function Cl(n,r){switch(n){case 1:case 2:case 4:return r+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return r+5e3;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return-1;case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function wl(n,r){for(var l=n.suspendedLanes,o=n.pingedLanes,f=n.expirationTimes,p=n.pendingLanes;0<p;){var S=31-jr(p),T=1<<S,O=f[S];O===-1?(!(T&l)||T&o)&&(f[S]=Cl(T,r)):O<=r&&(n.expiredLanes|=T),p&=~T}}function xl(n){return n=n.pendingLanes&-1073741825,n!==0?n:n&1073741824?1073741824:0}function ao(){var n=ro;return ro<<=1,!(ro&4194240)&&(ro=64),n}function io(n){for(var r=[],l=0;31>l;l++)r.push(n);return r}function Bi(n,r,l){n.pendingLanes|=r,r!==536870912&&(n.suspendedLanes=0,n.pingedLanes=0),n=n.eventTimes,r=31-jr(r),n[r]=l}function pd(n,r){var l=n.pendingLanes&~r;n.pendingLanes=r,n.suspendedLanes=0,n.pingedLanes=0,n.expiredLanes&=r,n.mutableReadLanes&=r,n.entangledLanes&=r,r=n.entanglements;var o=n.eventTimes;for(n=n.expirationTimes;0<l;){var f=31-jr(l),p=1<<f;r[f]=0,o[f]=-1,n[f]=-1,l&=~p}}function xi(n,r){var l=n.entangledLanes|=r;for(n=n.entanglements;l;){var o=31-jr(l),f=1<<o;f&r|n[o]&r&&(n[o]|=r),l&=~f}}var Ht=0;function lo(n){return n&=-n,1<n?4<n?n&268435455?16:536870912:4:1}var ou,uo,Pt,oo,so,ot=!1,su=[],bn=null,ra=null,Fr=null,bl=new Map,Dn=new Map,Kt=[],Ec="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function aa(n,r){switch(n){case"focusin":case"focusout":bn=null;break;case"dragenter":case"dragleave":ra=null;break;case"mouseover":case"mouseout":Fr=null;break;case"pointerover":case"pointerout":bl.delete(r.pointerId);break;case"gotpointercapture":case"lostpointercapture":Dn.delete(r.pointerId)}}function er(n,r,l,o,f,p){return n===null||n.nativeEvent!==p?(n={blockedOn:r,domEventName:l,eventSystemFlags:o,nativeEvent:p,targetContainers:[f]},r!==null&&(r=Ts(r),r!==null&&uo(r)),n):(n.eventSystemFlags|=o,r=n.targetContainers,f!==null&&r.indexOf(f)===-1&&r.push(f),n)}function bi(n,r,l,o,f){switch(r){case"focusin":return bn=er(bn,n,r,l,o,f),!0;case"dragenter":return ra=er(ra,n,r,l,o,f),!0;case"mouseover":return Fr=er(Fr,n,r,l,o,f),!0;case"pointerover":var p=f.pointerId;return bl.set(p,er(bl.get(p)||null,n,r,l,o,f)),!0;case"gotpointercapture":return p=f.pointerId,Dn.set(p,er(Dn.get(p)||null,n,r,l,o,f)),!0}return!1}function Cc(n){var r=Ba(n.target);if(r!==null){var l=vt(r);if(l!==null){if(r=l.tag,r===13){if(r=Ot(l),r!==null){n.blockedOn=r,so(n.priority,function(){Pt(l)});return}}else if(r===3&&l.stateNode.current.memoizedState.isDehydrated){n.blockedOn=l.tag===3?l.stateNode.containerInfo:null;return}}}n.blockedOn=null}function Hi(n){if(n.blockedOn!==null)return!1;for(var r=n.targetContainers;0<r.length;){var l=fo(n.domEventName,n.eventSystemFlags,r[0],n.nativeEvent);if(l===null){l=n.nativeEvent;var o=new l.constructor(l.type,l);Rr=o,l.target.dispatchEvent(o),Rr=null}else return r=Ts(l),r!==null&&uo(r),n.blockedOn=l,!1;r.shift()}return!0}function Tl(n,r,l){Hi(n)&&l.delete(r)}function wc(){ot=!1,bn!==null&&Hi(bn)&&(bn=null),ra!==null&&Hi(ra)&&(ra=null),Fr!==null&&Hi(Fr)&&(Fr=null),bl.forEach(Tl),Dn.forEach(Tl)}function ja(n,r){n.blockedOn===r&&(n.blockedOn=null,ot||(ot=!0,h.unstable_scheduleCallback(h.unstable_NormalPriority,wc)))}function Rl(n){function r(f){return ja(f,n)}if(0<su.length){ja(su[0],n);for(var l=1;l<su.length;l++){var o=su[l];o.blockedOn===n&&(o.blockedOn=null)}}for(bn!==null&&ja(bn,n),ra!==null&&ja(ra,n),Fr!==null&&ja(Fr,n),bl.forEach(r),Dn.forEach(r),l=0;l<Kt.length;l++)o=Kt[l],o.blockedOn===n&&(o.blockedOn=null);for(;0<Kt.length&&(l=Kt[0],l.blockedOn===null);)Cc(l),l.blockedOn===null&&Kt.shift()}var kl=pt.ReactCurrentBatchConfig,Pa=!0;function co(n,r,l,o){var f=Ht,p=kl.transition;kl.transition=null;try{Ht=1,Dl(n,r,l,o)}finally{Ht=f,kl.transition=p}}function _l(n,r,l,o){var f=Ht,p=kl.transition;kl.transition=null;try{Ht=4,Dl(n,r,l,o)}finally{Ht=f,kl.transition=p}}function Dl(n,r,l,o){if(Pa){var f=fo(n,r,l,o);if(f===null)Oc(n,r,o,cu,l),aa(n,o);else if(bi(f,n,r,l,o))o.stopPropagation();else if(aa(n,o),r&4&&-1<Ec.indexOf(n)){for(;f!==null;){var p=Ts(f);if(p!==null&&ou(p),p=fo(n,r,l,o),p===null&&Oc(n,r,o,cu,l),p===f)break;f=p}f!==null&&o.stopPropagation()}else Oc(n,r,o,null,l)}}var cu=null;function fo(n,r,l,o){if(cu=null,n=Jt(o),n=Ba(n),n!==null)if(r=vt(n),r===null)n=null;else if(l=r.tag,l===13){if(n=Ot(r),n!==null)return n;n=null}else if(l===3){if(r.stateNode.current.memoizedState.isDehydrated)return r.tag===3?r.stateNode.containerInfo:null;n=null}else r!==n&&(n=null);return cu=n,null}function fs(n){switch(n){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 1;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(dd()){case ii:return 1;case wt:return 4;case wi:case yl:return 16;case no:return 536870912;default:return 16}default:return 16}}var ui=null,y=null,R=null;function $(){if(R)return R;var n,r=y,l=r.length,o,f="value"in ui?ui.value:ui.textContent,p=f.length;for(n=0;n<l&&r[n]===f[n];n++);var S=l-n;for(o=1;o<=S&&r[l-o]===f[p-o];o++);return R=f.slice(n,1<o?1-o:void 0)}function q(n){var r=n.keyCode;return"charCode"in n?(n=n.charCode,n===0&&r===13&&(n=13)):n=r,n===10&&(n=13),32<=n||n===13?n:0}function se(){return!0}function Xe(){return!1}function me(n){function r(l,o,f,p,S){this._reactName=l,this._targetInst=f,this.type=o,this.nativeEvent=p,this.target=S,this.currentTarget=null;for(var T in n)n.hasOwnProperty(T)&&(l=n[T],this[T]=l?l(p):p[T]);return this.isDefaultPrevented=(p.defaultPrevented!=null?p.defaultPrevented:p.returnValue===!1)?se:Xe,this.isPropagationStopped=Xe,this}return D(r.prototype,{preventDefault:function(){this.defaultPrevented=!0;var l=this.nativeEvent;l&&(l.preventDefault?l.preventDefault():typeof l.returnValue!="unknown"&&(l.returnValue=!1),this.isDefaultPrevented=se)},stopPropagation:function(){var l=this.nativeEvent;l&&(l.stopPropagation?l.stopPropagation():typeof l.cancelBubble!="unknown"&&(l.cancelBubble=!0),this.isPropagationStopped=se)},persist:function(){},isPersistent:se}),r}var Ge={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(n){return n.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},xt=me(Ge),Ft=D({},Ge,{view:0,detail:0}),an=me(Ft),en,ln,fn,Dt=D({},Ft,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:yd,button:0,buttons:0,relatedTarget:function(n){return n.relatedTarget===void 0?n.fromElement===n.srcElement?n.toElement:n.fromElement:n.relatedTarget},movementX:function(n){return"movementX"in n?n.movementX:(n!==fn&&(fn&&n.type==="mousemove"?(en=n.screenX-fn.screenX,ln=n.screenY-fn.screenY):ln=en=0,fn=n),en)},movementY:function(n){return"movementY"in n?n.movementY:ln}}),Ii=me(Dt),po=D({},Dt,{dataTransfer:0}),ds=me(po),vd=D({},Ft,{relatedTarget:0}),oi=me(vd),ps=D({},Ge,{animationName:0,elapsedTime:0,pseudoElement:0}),vs=me(ps),hd=D({},Ge,{clipboardData:function(n){return"clipboardData"in n?n.clipboardData:window.clipboardData}}),Cg=me(hd),wg=D({},Ge,{data:0}),md=me(wg),gd={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Rv={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},kv={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function _v(n){var r=this.nativeEvent;return r.getModifierState?r.getModifierState(n):(n=kv[n])?!!r[n]:!1}function yd(){return _v}var Vi=D({},Ft,{key:function(n){if(n.key){var r=gd[n.key]||n.key;if(r!=="Unidentified")return r}return n.type==="keypress"?(n=q(n),n===13?"Enter":String.fromCharCode(n)):n.type==="keydown"||n.type==="keyup"?Rv[n.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:yd,charCode:function(n){return n.type==="keypress"?q(n):0},keyCode:function(n){return n.type==="keydown"||n.type==="keyup"?n.keyCode:0},which:function(n){return n.type==="keypress"?q(n):n.type==="keydown"||n.type==="keyup"?n.keyCode:0}}),xg=me(Vi),Sd=D({},Dt,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),xc=me(Sd),Ed=D({},Ft,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:yd}),bg=me(Ed),bc=D({},Ge,{propertyName:0,elapsedTime:0,pseudoElement:0}),Dv=me(bc),ia=D({},Dt,{deltaX:function(n){return"deltaX"in n?n.deltaX:"wheelDeltaX"in n?-n.wheelDeltaX:0},deltaY:function(n){return"deltaY"in n?n.deltaY:"wheelDeltaY"in n?-n.wheelDeltaY:"wheelDelta"in n?-n.wheelDelta:0},deltaZ:0,deltaMode:0}),$i=me(ia),Fn=[9,13,27,32],si=Q&&"CompositionEvent"in window,fu=null;Q&&"documentMode"in document&&(fu=document.documentMode);var Tc=Q&&"TextEvent"in window&&!fu,Lv=Q&&(!si||fu&&8<fu&&11>=fu),vo=String.fromCharCode(32),Ov=!1;function Nv(n,r){switch(n){case"keyup":return Fn.indexOf(r.keyCode)!==-1;case"keydown":return r.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Rc(n){return n=n.detail,typeof n=="object"&&"data"in n?n.data:null}var ho=!1;function Tg(n,r){switch(n){case"compositionend":return Rc(r);case"keypress":return r.which!==32?null:(Ov=!0,vo);case"textInput":return n=r.data,n===vo&&Ov?null:n;default:return null}}function Rg(n,r){if(ho)return n==="compositionend"||!si&&Nv(n,r)?(n=$(),R=y=ui=null,ho=!1,n):null;switch(n){case"paste":return null;case"keypress":if(!(r.ctrlKey||r.altKey||r.metaKey)||r.ctrlKey&&r.altKey){if(r.char&&1<r.char.length)return r.char;if(r.which)return String.fromCharCode(r.which)}return null;case"compositionend":return Lv&&r.locale!=="ko"?null:r.data;default:return null}}var Mv={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function Av(n){var r=n&&n.nodeName&&n.nodeName.toLowerCase();return r==="input"?!!Mv[n.type]:r==="textarea"}function Uv(n,r,l,o){za(o),r=ws(r,"onChange"),0<r.length&&(l=new xt("onChange","change",null,l,o),n.push({event:l,listeners:r}))}var hs=null,mo=null;function go(n){Lc(n,0)}function yo(n){var r=Eo(n);if(Xr(r))return n}function zv(n,r){if(n==="change")return r}var Cd=!1;if(Q){var wd;if(Q){var xd="oninput"in document;if(!xd){var jv=document.createElement("div");jv.setAttribute("oninput","return;"),xd=typeof jv.oninput=="function"}wd=xd}else wd=!1;Cd=wd&&(!document.documentMode||9<document.documentMode)}function Pv(){hs&&(hs.detachEvent("onpropertychange",Fv),mo=hs=null)}function Fv(n){if(n.propertyName==="value"&&yo(mo)){var r=[];Uv(r,mo,n,Jt(n)),gl(go,r)}}function kg(n,r,l){n==="focusin"?(Pv(),hs=r,mo=l,hs.attachEvent("onpropertychange",Fv)):n==="focusout"&&Pv()}function _g(n){if(n==="selectionchange"||n==="keyup"||n==="keydown")return yo(mo)}function Dg(n,r){if(n==="click")return yo(r)}function Bv(n,r){if(n==="input"||n==="change")return yo(r)}function Lg(n,r){return n===r&&(n!==0||1/n===1/r)||n!==n&&r!==r}var Fa=typeof Object.is=="function"?Object.is:Lg;function ms(n,r){if(Fa(n,r))return!0;if(typeof n!="object"||n===null||typeof r!="object"||r===null)return!1;var l=Object.keys(n),o=Object.keys(r);if(l.length!==o.length)return!1;for(o=0;o<l.length;o++){var f=l[o];if(!A.call(r,f)||!Fa(n[f],r[f]))return!1}return!0}function Hv(n){for(;n&&n.firstChild;)n=n.firstChild;return n}function Iv(n,r){var l=Hv(n);n=0;for(var o;l;){if(l.nodeType===3){if(o=n+l.textContent.length,n<=r&&o>=r)return{node:l,offset:r-n};n=o}e:{for(;l;){if(l.nextSibling){l=l.nextSibling;break e}l=l.parentNode}l=void 0}l=Hv(l)}}function Vv(n,r){return n&&r?n===r?!0:n&&n.nodeType===3?!1:r&&r.nodeType===3?Vv(n,r.parentNode):"contains"in n?n.contains(r):n.compareDocumentPosition?!!(n.compareDocumentPosition(r)&16):!1:!1}function kc(){for(var n=window,r=Cn();r instanceof n.HTMLIFrameElement;){try{var l=typeof r.contentWindow.location.href=="string"}catch{l=!1}if(l)n=r.contentWindow;else break;r=Cn(n.document)}return r}function Yi(n){var r=n&&n.nodeName&&n.nodeName.toLowerCase();return r&&(r==="input"&&(n.type==="text"||n.type==="search"||n.type==="tel"||n.type==="url"||n.type==="password")||r==="textarea"||n.contentEditable==="true")}function _c(n){var r=kc(),l=n.focusedElem,o=n.selectionRange;if(r!==l&&l&&l.ownerDocument&&Vv(l.ownerDocument.documentElement,l)){if(o!==null&&Yi(l)){if(r=o.start,n=o.end,n===void 0&&(n=r),"selectionStart"in l)l.selectionStart=r,l.selectionEnd=Math.min(n,l.value.length);else if(n=(r=l.ownerDocument||document)&&r.defaultView||window,n.getSelection){n=n.getSelection();var f=l.textContent.length,p=Math.min(o.start,f);o=o.end===void 0?p:Math.min(o.end,f),!n.extend&&p>o&&(f=o,o=p,p=f),f=Iv(l,p);var S=Iv(l,o);f&&S&&(n.rangeCount!==1||n.anchorNode!==f.node||n.anchorOffset!==f.offset||n.focusNode!==S.node||n.focusOffset!==S.offset)&&(r=r.createRange(),r.setStart(f.node,f.offset),n.removeAllRanges(),p>o?(n.addRange(r),n.extend(S.node,S.offset)):(r.setEnd(S.node,S.offset),n.addRange(r)))}}for(r=[],n=l;n=n.parentNode;)n.nodeType===1&&r.push({element:n,left:n.scrollLeft,top:n.scrollTop});for(typeof l.focus=="function"&&l.focus(),l=0;l<r.length;l++)n=r[l],n.element.scrollLeft=n.left,n.element.scrollTop=n.top}}var $v=Q&&"documentMode"in document&&11>=document.documentMode,ci=null,bd=null,gs=null,Td=!1;function Yv(n,r,l){var o=l.window===l?l.document:l.nodeType===9?l:l.ownerDocument;Td||ci==null||ci!==Cn(o)||(o=ci,"selectionStart"in o&&Yi(o)?o={start:o.selectionStart,end:o.selectionEnd}:(o=(o.ownerDocument&&o.ownerDocument.defaultView||window).getSelection(),o={anchorNode:o.anchorNode,anchorOffset:o.anchorOffset,focusNode:o.focusNode,focusOffset:o.focusOffset}),gs&&ms(gs,o)||(gs=o,o=ws(bd,"onSelect"),0<o.length&&(r=new xt("onSelect","select",null,r,l),n.push({event:r,listeners:o}),r.target=ci)))}function Dc(n,r){var l={};return l[n.toLowerCase()]=r.toLowerCase(),l["Webkit"+n]="webkit"+r,l["Moz"+n]="moz"+r,l}var du={animationend:Dc("Animation","AnimationEnd"),animationiteration:Dc("Animation","AnimationIteration"),animationstart:Dc("Animation","AnimationStart"),transitionend:Dc("Transition","TransitionEnd")},Rd={},kd={};Q&&(kd=document.createElement("div").style,"AnimationEvent"in window||(delete du.animationend.animation,delete du.animationiteration.animation,delete du.animationstart.animation),"TransitionEvent"in window||delete du.transitionend.transition);function tr(n){if(Rd[n])return Rd[n];if(!du[n])return n;var r=du[n],l;for(l in r)if(r.hasOwnProperty(l)&&l in kd)return Rd[n]=r[l];return n}var _d=tr("animationend"),Wv=tr("animationiteration"),Qv=tr("animationstart"),Gv=tr("transitionend"),qv=new Map,Kv="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function Wi(n,r){qv.set(n,r),j(r,[n])}for(var ys=0;ys<Kv.length;ys++){var pu=Kv[ys],Og=pu.toLowerCase(),Ss=pu[0].toUpperCase()+pu.slice(1);Wi(Og,"on"+Ss)}Wi(_d,"onAnimationEnd"),Wi(Wv,"onAnimationIteration"),Wi(Qv,"onAnimationStart"),Wi("dblclick","onDoubleClick"),Wi("focusin","onFocus"),Wi("focusout","onBlur"),Wi(Gv,"onTransitionEnd"),E("onMouseEnter",["mouseout","mouseover"]),E("onMouseLeave",["mouseout","mouseover"]),E("onPointerEnter",["pointerout","pointerover"]),E("onPointerLeave",["pointerout","pointerover"]),j("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),j("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),j("onBeforeInput",["compositionend","keypress","textInput","paste"]),j("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),j("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),j("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Es="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),Ng=new Set("cancel close invalid load scroll toggle".split(" ").concat(Es));function Xv(n,r,l){var o=n.type||"unknown-event";n.currentTarget=l,xe(o,r,void 0,n),n.currentTarget=null}function Lc(n,r){r=(r&4)!==0;for(var l=0;l<n.length;l++){var o=n[l],f=o.event;o=o.listeners;e:{var p=void 0;if(r)for(var S=o.length-1;0<=S;S--){var T=o[S],O=T.instance,W=T.currentTarget;if(T=T.listener,O!==p&&f.isPropagationStopped())break e;Xv(f,T,W),p=O}else for(S=0;S<o.length;S++){if(T=o[S],O=T.instance,W=T.currentTarget,T=T.listener,O!==p&&f.isPropagationStopped())break e;Xv(f,T,W),p=O}}}if(Ei)throw n=k,Ei=!1,k=null,n}function un(n,r){var l=r[Ud];l===void 0&&(l=r[Ud]=new Set);var o=n+"__bubble";l.has(o)||(Zv(r,n,2,!1),l.add(o))}function Ll(n,r,l){var o=0;r&&(o|=4),Zv(l,n,o,r)}var Qi="_reactListening"+Math.random().toString(36).slice(2);function So(n){if(!n[Qi]){n[Qi]=!0,x.forEach(function(l){l!=="selectionchange"&&(Ng.has(l)||Ll(l,!1,n),Ll(l,!0,n))});var r=n.nodeType===9?n:n.ownerDocument;r===null||r[Qi]||(r[Qi]=!0,Ll("selectionchange",!1,r))}}function Zv(n,r,l,o){switch(fs(r)){case 1:var f=co;break;case 4:f=_l;break;default:f=Dl}l=f.bind(null,r,l,n),f=void 0,!yi||r!=="touchstart"&&r!=="touchmove"&&r!=="wheel"||(f=!0),o?f!==void 0?n.addEventListener(r,l,{capture:!0,passive:f}):n.addEventListener(r,l,!0):f!==void 0?n.addEventListener(r,l,{passive:f}):n.addEventListener(r,l,!1)}function Oc(n,r,l,o,f){var p=o;if(!(r&1)&&!(r&2)&&o!==null)e:for(;;){if(o===null)return;var S=o.tag;if(S===3||S===4){var T=o.stateNode.containerInfo;if(T===f||T.nodeType===8&&T.parentNode===f)break;if(S===4)for(S=o.return;S!==null;){var O=S.tag;if((O===3||O===4)&&(O=S.stateNode.containerInfo,O===f||O.nodeType===8&&O.parentNode===f))return;S=S.return}for(;T!==null;){if(S=Ba(T),S===null)return;if(O=S.tag,O===5||O===6){o=p=S;continue e}T=T.parentNode}}o=o.return}gl(function(){var W=p,ie=Jt(l),ue=[];e:{var ae=qv.get(n);if(ae!==void 0){var Ee=xt,Oe=n;switch(n){case"keypress":if(q(l)===0)break e;case"keydown":case"keyup":Ee=xg;break;case"focusin":Oe="focus",Ee=oi;break;case"focusout":Oe="blur",Ee=oi;break;case"beforeblur":case"afterblur":Ee=oi;break;case"click":if(l.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":Ee=Ii;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":Ee=ds;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":Ee=bg;break;case _d:case Wv:case Qv:Ee=vs;break;case Gv:Ee=Dv;break;case"scroll":Ee=an;break;case"wheel":Ee=$i;break;case"copy":case"cut":case"paste":Ee=Cg;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":Ee=xc}var Ue=(r&4)!==0,zn=!Ue&&n==="scroll",P=Ue?ae!==null?ae+"Capture":null:ae;Ue=[];for(var U=W,I;U!==null;){I=U;var fe=I.stateNode;if(I.tag===5&&fe!==null&&(I=fe,P!==null&&(fe=Ca(U,P),fe!=null&&Ue.push(Cs(U,fe,I)))),zn)break;U=U.return}0<Ue.length&&(ae=new Ee(ae,Oe,null,l,ie),ue.push({event:ae,listeners:Ue}))}}if(!(r&7)){e:{if(ae=n==="mouseover"||n==="pointerover",Ee=n==="mouseout"||n==="pointerout",ae&&l!==Rr&&(Oe=l.relatedTarget||l.fromElement)&&(Ba(Oe)||Oe[Gi]))break e;if((Ee||ae)&&(ae=ie.window===ie?ie:(ae=ie.ownerDocument)?ae.defaultView||ae.parentWindow:window,Ee?(Oe=l.relatedTarget||l.toElement,Ee=W,Oe=Oe?Ba(Oe):null,Oe!==null&&(zn=vt(Oe),Oe!==zn||Oe.tag!==5&&Oe.tag!==6)&&(Oe=null)):(Ee=null,Oe=W),Ee!==Oe)){if(Ue=Ii,fe="onMouseLeave",P="onMouseEnter",U="mouse",(n==="pointerout"||n==="pointerover")&&(Ue=xc,fe="onPointerLeave",P="onPointerEnter",U="pointer"),zn=Ee==null?ae:Eo(Ee),I=Oe==null?ae:Eo(Oe),ae=new Ue(fe,U+"leave",Ee,l,ie),ae.target=zn,ae.relatedTarget=I,fe=null,Ba(ie)===W&&(Ue=new Ue(P,U+"enter",Oe,l,ie),Ue.target=I,Ue.relatedTarget=zn,fe=Ue),zn=fe,Ee&&Oe)t:{for(Ue=Ee,P=Oe,U=0,I=Ue;I;I=vu(I))U++;for(I=0,fe=P;fe;fe=vu(fe))I++;for(;0<U-I;)Ue=vu(Ue),U--;for(;0<I-U;)P=vu(P),I--;for(;U--;){if(Ue===P||P!==null&&Ue===P.alternate)break t;Ue=vu(Ue),P=vu(P)}Ue=null}else Ue=null;Ee!==null&&Dd(ue,ae,Ee,Ue,!1),Oe!==null&&zn!==null&&Dd(ue,zn,Oe,Ue,!0)}}e:{if(ae=W?Eo(W):window,Ee=ae.nodeName&&ae.nodeName.toLowerCase(),Ee==="select"||Ee==="input"&&ae.type==="file")var je=zv;else if(Av(ae))if(Cd)je=Bv;else{je=_g;var Ne=kg}else(Ee=ae.nodeName)&&Ee.toLowerCase()==="input"&&(ae.type==="checkbox"||ae.type==="radio")&&(je=Dg);if(je&&(je=je(n,W))){Uv(ue,je,l,ie);break e}Ne&&Ne(n,ae,W),n==="focusout"&&(Ne=ae._wrapperState)&&Ne.controlled&&ae.type==="number"&&Jr(ae,"number",ae.value)}switch(Ne=W?Eo(W):window,n){case"focusin":(Av(Ne)||Ne.contentEditable==="true")&&(ci=Ne,bd=W,gs=null);break;case"focusout":gs=bd=ci=null;break;case"mousedown":Td=!0;break;case"contextmenu":case"mouseup":case"dragend":Td=!1,Yv(ue,l,ie);break;case"selectionchange":if($v)break;case"keydown":case"keyup":Yv(ue,l,ie)}var He;if(si)e:{switch(n){case"compositionstart":var at="onCompositionStart";break e;case"compositionend":at="onCompositionEnd";break e;case"compositionupdate":at="onCompositionUpdate";break e}at=void 0}else ho?Nv(n,l)&&(at="onCompositionEnd"):n==="keydown"&&l.keyCode===229&&(at="onCompositionStart");at&&(Lv&&l.locale!=="ko"&&(ho||at!=="onCompositionStart"?at==="onCompositionEnd"&&ho&&(He=$()):(ui=ie,y="value"in ui?ui.value:ui.textContent,ho=!0)),Ne=ws(W,at),0<Ne.length&&(at=new md(at,n,null,l,ie),ue.push({event:at,listeners:Ne}),He?at.data=He:(He=Rc(l),He!==null&&(at.data=He)))),(He=Tc?Tg(n,l):Rg(n,l))&&(W=ws(W,"onBeforeInput"),0<W.length&&(ie=new md("onBeforeInput","beforeinput",null,l,ie),ue.push({event:ie,listeners:W}),ie.data=He))}Lc(ue,r)})}function Cs(n,r,l){return{instance:n,listener:r,currentTarget:l}}function ws(n,r){for(var l=r+"Capture",o=[];n!==null;){var f=n,p=f.stateNode;f.tag===5&&p!==null&&(f=p,p=Ca(n,l),p!=null&&o.unshift(Cs(n,p,f)),p=Ca(n,r),p!=null&&o.push(Cs(n,p,f))),n=n.return}return o}function vu(n){if(n===null)return null;do n=n.return;while(n&&n.tag!==5);return n||null}function Dd(n,r,l,o,f){for(var p=r._reactName,S=[];l!==null&&l!==o;){var T=l,O=T.alternate,W=T.stateNode;if(O!==null&&O===o)break;T.tag===5&&W!==null&&(T=W,f?(O=Ca(l,p),O!=null&&S.unshift(Cs(l,O,T))):f||(O=Ca(l,p),O!=null&&S.push(Cs(l,O,T)))),l=l.return}S.length!==0&&n.push({event:r,listeners:S})}var Ld=/\r\n?/g,Mg=/\u0000|\uFFFD/g;function Od(n){return(typeof n=="string"?n:""+n).replace(Ld,`
112
+ `).replace(Mg,"")}function Nc(n,r,l){if(r=Od(r),Od(n)!==r&&l)throw Error(v(425))}function Mc(){}var Nd=null,hu=null;function xs(n,r){return n==="textarea"||n==="noscript"||typeof r.children=="string"||typeof r.children=="number"||typeof r.dangerouslySetInnerHTML=="object"&&r.dangerouslySetInnerHTML!==null&&r.dangerouslySetInnerHTML.__html!=null}var mu=typeof setTimeout=="function"?setTimeout:void 0,Jv=typeof clearTimeout=="function"?clearTimeout:void 0,Md=typeof Promise=="function"?Promise:void 0,Ad=typeof queueMicrotask=="function"?queueMicrotask:typeof Md<"u"?function(n){return Md.resolve(null).then(n).catch(Ag)}:mu;function Ag(n){setTimeout(function(){throw n})}function Ol(n,r){var l=r,o=0;do{var f=l.nextSibling;if(n.removeChild(l),f&&f.nodeType===8)if(l=f.data,l==="/$"){if(o===0){n.removeChild(f),Rl(r);return}o--}else l!=="$"&&l!=="$?"&&l!=="$!"||o++;l=f}while(l);Rl(r)}function fi(n){for(;n!=null;n=n.nextSibling){var r=n.nodeType;if(r===1||r===3)break;if(r===8){if(r=n.data,r==="$"||r==="$!"||r==="$?")break;if(r==="/$")return null}}return n}function bs(n){n=n.previousSibling;for(var r=0;n;){if(n.nodeType===8){var l=n.data;if(l==="$"||l==="$!"||l==="$?"){if(r===0)return n;r--}else l==="/$"&&r++}n=n.previousSibling}return null}var Nl=Math.random().toString(36).slice(2),Ti="__reactFiber$"+Nl,gu="__reactProps$"+Nl,Gi="__reactContainer$"+Nl,Ud="__reactEvents$"+Nl,Ug="__reactListeners$"+Nl,zd="__reactHandles$"+Nl;function Ba(n){var r=n[Ti];if(r)return r;for(var l=n.parentNode;l;){if(r=l[Gi]||l[Ti]){if(l=r.alternate,r.child!==null||l!==null&&l.child!==null)for(n=bs(n);n!==null;){if(l=n[Ti])return l;n=bs(n)}return r}n=l,l=n.parentNode}return null}function Ts(n){return n=n[Ti]||n[Gi],!n||n.tag!==5&&n.tag!==6&&n.tag!==13&&n.tag!==3?null:n}function Eo(n){if(n.tag===5||n.tag===6)return n.stateNode;throw Error(v(33))}function Ve(n){return n[gu]||null}var Ml=[],vn=-1;function mt(n){return{current:n}}function Yt(n){0>vn||(n.current=Ml[vn],Ml[vn]=null,vn--)}function Xt(n,r){vn++,Ml[vn]=n.current,n.current=r}var Ri={},rt=mt(Ri),Ln=mt(!1),la=Ri;function Ha(n,r){var l=n.type.contextTypes;if(!l)return Ri;var o=n.stateNode;if(o&&o.__reactInternalMemoizedUnmaskedChildContext===r)return o.__reactInternalMemoizedMaskedChildContext;var f={},p;for(p in l)f[p]=r[p];return o&&(n=n.stateNode,n.__reactInternalMemoizedUnmaskedChildContext=r,n.__reactInternalMemoizedMaskedChildContext=f),f}function Sn(n){return n=n.childContextTypes,n!=null}function Ia(){Yt(Ln),Yt(rt)}function Al(n,r,l){if(rt.current!==Ri)throw Error(v(168));Xt(rt,r),Xt(Ln,l)}function Rs(n,r,l){var o=n.stateNode;if(r=r.childContextTypes,typeof o.getChildContext!="function")return l;o=o.getChildContext();for(var f in o)if(!(f in r))throw Error(v(108,Rt(n)||"Unknown",f));return D({},l,o)}function Ac(n){return n=(n=n.stateNode)&&n.__reactInternalMemoizedMergedChildContext||Ri,la=rt.current,Xt(rt,n),Xt(Ln,Ln.current),!0}function eh(n,r,l){var o=n.stateNode;if(!o)throw Error(v(169));l?(n=Rs(n,r,la),o.__reactInternalMemoizedMergedChildContext=n,Yt(Ln),Yt(rt),Xt(rt,n)):Yt(Ln),Xt(Ln,l)}var ba=null,nr=!1,ks=!1;function jd(n){ba===null?ba=[n]:ba.push(n)}function Pd(n){nr=!0,jd(n)}function ua(){if(!ks&&ba!==null){ks=!0;var n=0,r=Ht;try{var l=ba;for(Ht=1;n<l.length;n++){var o=l[n];do o=o(!0);while(o!==null)}ba=null,nr=!1}catch(f){throw ba!==null&&(ba=ba.slice(n+1)),cn(ii,ua),f}finally{Ht=r,ks=!1}}return null}var Ul=[],oa=0,yu=null,Co=0,sa=[],kr=0,Va=null,dr=1,qi="";function Ta(n,r){Ul[oa++]=Co,Ul[oa++]=yu,yu=n,Co=r}function Fd(n,r,l){sa[kr++]=dr,sa[kr++]=qi,sa[kr++]=Va,Va=n;var o=dr;n=qi;var f=32-jr(o)-1;o&=~(1<<f),l+=1;var p=32-jr(r)+f;if(30<p){var S=f-f%5;p=(o&(1<<S)-1).toString(32),o>>=S,f-=S,dr=1<<32-jr(r)+f|l<<f|o,qi=p+n}else dr=1<<p|l<<f|o,qi=n}function Uc(n){n.return!==null&&(Ta(n,1),Fd(n,1,0))}function Bd(n){for(;n===yu;)yu=Ul[--oa],Ul[oa]=null,Co=Ul[--oa],Ul[oa]=null;for(;n===Va;)Va=sa[--kr],sa[kr]=null,qi=sa[--kr],sa[kr]=null,dr=sa[--kr],sa[kr]=null}var Ra=null,ca=null,hn=!1,$a=null;function Hd(n,r){var l=Ka(5,null,null,0);l.elementType="DELETED",l.stateNode=r,l.return=n,r=n.deletions,r===null?(n.deletions=[l],n.flags|=16):r.push(l)}function th(n,r){switch(n.tag){case 5:var l=n.type;return r=r.nodeType!==1||l.toLowerCase()!==r.nodeName.toLowerCase()?null:r,r!==null?(n.stateNode=r,Ra=n,ca=fi(r.firstChild),!0):!1;case 6:return r=n.pendingProps===""||r.nodeType!==3?null:r,r!==null?(n.stateNode=r,Ra=n,ca=null,!0):!1;case 13:return r=r.nodeType!==8?null:r,r!==null?(l=Va!==null?{id:dr,overflow:qi}:null,n.memoizedState={dehydrated:r,treeContext:l,retryLane:1073741824},l=Ka(18,null,null,0),l.stateNode=r,l.return=n,n.child=l,Ra=n,ca=null,!0):!1;default:return!1}}function zc(n){return(n.mode&1)!==0&&(n.flags&128)===0}function jc(n){if(hn){var r=ca;if(r){var l=r;if(!th(n,r)){if(zc(n))throw Error(v(418));r=fi(l.nextSibling);var o=Ra;r&&th(n,r)?Hd(o,l):(n.flags=n.flags&-4097|2,hn=!1,Ra=n)}}else{if(zc(n))throw Error(v(418));n.flags=n.flags&-4097|2,hn=!1,Ra=n}}}function nh(n){for(n=n.return;n!==null&&n.tag!==5&&n.tag!==3&&n.tag!==13;)n=n.return;Ra=n}function Pc(n){if(n!==Ra)return!1;if(!hn)return nh(n),hn=!0,!1;var r;if((r=n.tag!==3)&&!(r=n.tag!==5)&&(r=n.type,r=r!=="head"&&r!=="body"&&!xs(n.type,n.memoizedProps)),r&&(r=ca)){if(zc(n))throw rh(),Error(v(418));for(;r;)Hd(n,r),r=fi(r.nextSibling)}if(nh(n),n.tag===13){if(n=n.memoizedState,n=n!==null?n.dehydrated:null,!n)throw Error(v(317));e:{for(n=n.nextSibling,r=0;n;){if(n.nodeType===8){var l=n.data;if(l==="/$"){if(r===0){ca=fi(n.nextSibling);break e}r--}else l!=="$"&&l!=="$!"&&l!=="$?"||r++}n=n.nextSibling}ca=null}}else ca=Ra?fi(n.stateNode.nextSibling):null;return!0}function rh(){for(var n=ca;n;)n=fi(n.nextSibling)}function Tn(){ca=Ra=null,hn=!1}function Id(n){$a===null?$a=[n]:$a.push(n)}var Fc=pt.ReactCurrentBatchConfig;function ka(n,r){if(n&&n.defaultProps){r=D({},r),n=n.defaultProps;for(var l in n)r[l]===void 0&&(r[l]=n[l]);return r}return r}var ki=mt(null),Bc=null,zl=null,Vd=null;function $d(){Vd=zl=Bc=null}function jl(n){var r=ki.current;Yt(ki),n._currentValue=r}function rr(n,r,l){for(;n!==null;){var o=n.alternate;if((n.childLanes&r)!==r?(n.childLanes|=r,o!==null&&(o.childLanes|=r)):o!==null&&(o.childLanes&r)!==r&&(o.childLanes|=r),n===l)break;n=n.return}}function ve(n,r){Bc=n,Vd=zl=null,n=n.dependencies,n!==null&&n.firstContext!==null&&(n.lanes&r&&(Bn=!0),n.firstContext=null)}function Un(n){var r=n._currentValue;if(Vd!==n)if(n={context:n,memoizedValue:r,next:null},zl===null){if(Bc===null)throw Error(v(308));zl=n,Bc.dependencies={lanes:0,firstContext:n}}else zl=zl.next=n;return r}var pr=null;function Yd(n){pr===null?pr=[n]:pr.push(n)}function ah(n,r,l,o){var f=r.interleaved;return f===null?(l.next=l,Yd(r)):(l.next=f.next,f.next=l),r.interleaved=l,Ki(n,o)}function Ki(n,r){n.lanes|=r;var l=n.alternate;for(l!==null&&(l.lanes|=r),l=n,n=n.return;n!==null;)n.childLanes|=r,l=n.alternate,l!==null&&(l.childLanes|=r),l=n,n=n.return;return l.tag===3?l.stateNode:null}var Pl=!1;function Wd(n){n.updateQueue={baseState:n.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Yn(n,r){n=n.updateQueue,r.updateQueue===n&&(r.updateQueue={baseState:n.baseState,firstBaseUpdate:n.firstBaseUpdate,lastBaseUpdate:n.lastBaseUpdate,shared:n.shared,effects:n.effects})}function Xi(n,r){return{eventTime:n,lane:r,tag:0,payload:null,callback:null,next:null}}function Fl(n,r,l){var o=n.updateQueue;if(o===null)return null;if(o=o.shared,kt&2){var f=o.pending;return f===null?r.next=r:(r.next=f.next,f.next=r),o.pending=r,Ki(n,l)}return f=o.interleaved,f===null?(r.next=r,Yd(o)):(r.next=f.next,f.next=r),o.interleaved=r,Ki(n,l)}function Hc(n,r,l){if(r=r.updateQueue,r!==null&&(r=r.shared,(l&4194240)!==0)){var o=r.lanes;o&=n.pendingLanes,l|=o,r.lanes=l,xi(n,l)}}function Qd(n,r){var l=n.updateQueue,o=n.alternate;if(o!==null&&(o=o.updateQueue,l===o)){var f=null,p=null;if(l=l.firstBaseUpdate,l!==null){do{var S={eventTime:l.eventTime,lane:l.lane,tag:l.tag,payload:l.payload,callback:l.callback,next:null};p===null?f=p=S:p=p.next=S,l=l.next}while(l!==null);p===null?f=p=r:p=p.next=r}else f=p=r;l={baseState:o.baseState,firstBaseUpdate:f,lastBaseUpdate:p,shared:o.shared,effects:o.effects},n.updateQueue=l;return}n=l.lastBaseUpdate,n===null?l.firstBaseUpdate=r:n.next=r,l.lastBaseUpdate=r}function Bl(n,r,l,o){var f=n.updateQueue;Pl=!1;var p=f.firstBaseUpdate,S=f.lastBaseUpdate,T=f.shared.pending;if(T!==null){f.shared.pending=null;var O=T,W=O.next;O.next=null,S===null?p=W:S.next=W,S=O;var ie=n.alternate;ie!==null&&(ie=ie.updateQueue,T=ie.lastBaseUpdate,T!==S&&(T===null?ie.firstBaseUpdate=W:T.next=W,ie.lastBaseUpdate=O))}if(p!==null){var ue=f.baseState;S=0,ie=W=O=null,T=p;do{var ae=T.lane,Ee=T.eventTime;if((o&ae)===ae){ie!==null&&(ie=ie.next={eventTime:Ee,lane:0,tag:T.tag,payload:T.payload,callback:T.callback,next:null});e:{var Oe=n,Ue=T;switch(ae=r,Ee=l,Ue.tag){case 1:if(Oe=Ue.payload,typeof Oe=="function"){ue=Oe.call(Ee,ue,ae);break e}ue=Oe;break e;case 3:Oe.flags=Oe.flags&-65537|128;case 0:if(Oe=Ue.payload,ae=typeof Oe=="function"?Oe.call(Ee,ue,ae):Oe,ae==null)break e;ue=D({},ue,ae);break e;case 2:Pl=!0}}T.callback!==null&&T.lane!==0&&(n.flags|=64,ae=f.effects,ae===null?f.effects=[T]:ae.push(T))}else Ee={eventTime:Ee,lane:ae,tag:T.tag,payload:T.payload,callback:T.callback,next:null},ie===null?(W=ie=Ee,O=ue):ie=ie.next=Ee,S|=ae;if(T=T.next,T===null){if(T=f.shared.pending,T===null)break;ae=T,T=ae.next,ae.next=null,f.lastBaseUpdate=ae,f.shared.pending=null}}while(1);if(ie===null&&(O=ue),f.baseState=O,f.firstBaseUpdate=W,f.lastBaseUpdate=ie,r=f.shared.interleaved,r!==null){f=r;do S|=f.lane,f=f.next;while(f!==r)}else p===null&&(f.shared.lanes=0);tl|=S,n.lanes=S,n.memoizedState=ue}}function Su(n,r,l){if(n=r.effects,r.effects=null,n!==null)for(r=0;r<n.length;r++){var o=n[r],f=o.callback;if(f!==null){if(o.callback=null,o=l,typeof f!="function")throw Error(v(191,f));f.call(o)}}}var ih=new s.Component().refs;function Gd(n,r,l,o){r=n.memoizedState,l=l(o,r),l=l==null?r:D({},r,l),n.memoizedState=l,n.lanes===0&&(n.updateQueue.baseState=l)}var Ic={isMounted:function(n){return(n=n._reactInternals)?vt(n)===n:!1},enqueueSetState:function(n,r,l){n=n._reactInternals;var o=Or(),f=Hn(n),p=Xi(o,f);p.payload=r,l!=null&&(p.callback=l),r=Fl(n,p,f),r!==null&&(Nr(r,n,f,o),Hc(r,n,f))},enqueueReplaceState:function(n,r,l){n=n._reactInternals;var o=Or(),f=Hn(n),p=Xi(o,f);p.tag=1,p.payload=r,l!=null&&(p.callback=l),r=Fl(n,p,f),r!==null&&(Nr(r,n,f,o),Hc(r,n,f))},enqueueForceUpdate:function(n,r){n=n._reactInternals;var l=Or(),o=Hn(n),f=Xi(l,o);f.tag=2,r!=null&&(f.callback=r),r=Fl(n,f,o),r!==null&&(Nr(r,n,o,l),Hc(r,n,o))}};function lh(n,r,l,o,f,p,S){return n=n.stateNode,typeof n.shouldComponentUpdate=="function"?n.shouldComponentUpdate(o,p,S):r.prototype&&r.prototype.isPureReactComponent?!ms(l,o)||!ms(f,p):!0}function uh(n,r,l){var o=!1,f=Ri,p=r.contextType;return typeof p=="object"&&p!==null?p=Un(p):(f=Sn(r)?la:rt.current,o=r.contextTypes,p=(o=o!=null)?Ha(n,f):Ri),r=new r(l,p),n.memoizedState=r.state!==null&&r.state!==void 0?r.state:null,r.updater=Ic,n.stateNode=r,r._reactInternals=n,o&&(n=n.stateNode,n.__reactInternalMemoizedUnmaskedChildContext=f,n.__reactInternalMemoizedMaskedChildContext=p),r}function oh(n,r,l,o){n=r.state,typeof r.componentWillReceiveProps=="function"&&r.componentWillReceiveProps(l,o),typeof r.UNSAFE_componentWillReceiveProps=="function"&&r.UNSAFE_componentWillReceiveProps(l,o),r.state!==n&&Ic.enqueueReplaceState(r,r.state,null)}function Vc(n,r,l,o){var f=n.stateNode;f.props=l,f.state=n.memoizedState,f.refs=ih,Wd(n);var p=r.contextType;typeof p=="object"&&p!==null?f.context=Un(p):(p=Sn(r)?la:rt.current,f.context=Ha(n,p)),f.state=n.memoizedState,p=r.getDerivedStateFromProps,typeof p=="function"&&(Gd(n,r,p,l),f.state=n.memoizedState),typeof r.getDerivedStateFromProps=="function"||typeof f.getSnapshotBeforeUpdate=="function"||typeof f.UNSAFE_componentWillMount!="function"&&typeof f.componentWillMount!="function"||(r=f.state,typeof f.componentWillMount=="function"&&f.componentWillMount(),typeof f.UNSAFE_componentWillMount=="function"&&f.UNSAFE_componentWillMount(),r!==f.state&&Ic.enqueueReplaceState(f,f.state,null),Bl(n,l,f,o),f.state=n.memoizedState),typeof f.componentDidMount=="function"&&(n.flags|=4194308)}function wo(n,r,l){if(n=l.ref,n!==null&&typeof n!="function"&&typeof n!="object"){if(l._owner){if(l=l._owner,l){if(l.tag!==1)throw Error(v(309));var o=l.stateNode}if(!o)throw Error(v(147,n));var f=o,p=""+n;return r!==null&&r.ref!==null&&typeof r.ref=="function"&&r.ref._stringRef===p?r.ref:(r=function(S){var T=f.refs;T===ih&&(T=f.refs={}),S===null?delete T[p]:T[p]=S},r._stringRef=p,r)}if(typeof n!="string")throw Error(v(284));if(!l._owner)throw Error(v(290,n))}return n}function $c(n,r){throw n=Object.prototype.toString.call(r),Error(v(31,n==="[object Object]"?"object with keys {"+Object.keys(r).join(", ")+"}":n))}function sh(n){var r=n._init;return r(n._payload)}function ch(n){function r(P,U){if(n){var I=P.deletions;I===null?(P.deletions=[U],P.flags|=16):I.push(U)}}function l(P,U){if(!n)return null;for(;U!==null;)r(P,U),U=U.sibling;return null}function o(P,U){for(P=new Map;U!==null;)U.key!==null?P.set(U.key,U):P.set(U.index,U),U=U.sibling;return P}function f(P,U){return P=Gl(P,U),P.index=0,P.sibling=null,P}function p(P,U,I){return P.index=I,n?(I=P.alternate,I!==null?(I=I.index,I<U?(P.flags|=2,U):I):(P.flags|=2,U)):(P.flags|=1048576,U)}function S(P){return n&&P.alternate===null&&(P.flags|=2),P}function T(P,U,I,fe){return U===null||U.tag!==6?(U=Ws(I,P.mode,fe),U.return=P,U):(U=f(U,I),U.return=P,U)}function O(P,U,I,fe){var je=I.type;return je===Le?ie(P,U,I.props.children,fe,I.key):U!==null&&(U.elementType===je||typeof je=="object"&&je!==null&&je.$$typeof===lt&&sh(je)===U.type)?(fe=f(U,I.props),fe.ref=wo(P,U,I),fe.return=P,fe):(fe=xf(I.type,I.key,I.props,null,P.mode,fe),fe.ref=wo(P,U,I),fe.return=P,fe)}function W(P,U,I,fe){return U===null||U.tag!==4||U.stateNode.containerInfo!==I.containerInfo||U.stateNode.implementation!==I.implementation?(U=Pu(I,P.mode,fe),U.return=P,U):(U=f(U,I.children||[]),U.return=P,U)}function ie(P,U,I,fe,je){return U===null||U.tag!==7?(U=ju(I,P.mode,fe,je),U.return=P,U):(U=f(U,I),U.return=P,U)}function ue(P,U,I){if(typeof U=="string"&&U!==""||typeof U=="number")return U=Ws(""+U,P.mode,I),U.return=P,U;if(typeof U=="object"&&U!==null){switch(U.$$typeof){case Re:return I=xf(U.type,U.key,U.props,null,P.mode,I),I.ref=wo(P,null,U),I.return=P,I;case ke:return U=Pu(U,P.mode,I),U.return=P,U;case lt:var fe=U._init;return ue(P,fe(U._payload),I)}if(Jn(U)||ze(U))return U=ju(U,P.mode,I,null),U.return=P,U;$c(P,U)}return null}function ae(P,U,I,fe){var je=U!==null?U.key:null;if(typeof I=="string"&&I!==""||typeof I=="number")return je!==null?null:T(P,U,""+I,fe);if(typeof I=="object"&&I!==null){switch(I.$$typeof){case Re:return I.key===je?O(P,U,I,fe):null;case ke:return I.key===je?W(P,U,I,fe):null;case lt:return je=I._init,ae(P,U,je(I._payload),fe)}if(Jn(I)||ze(I))return je!==null?null:ie(P,U,I,fe,null);$c(P,I)}return null}function Ee(P,U,I,fe,je){if(typeof fe=="string"&&fe!==""||typeof fe=="number")return P=P.get(I)||null,T(U,P,""+fe,je);if(typeof fe=="object"&&fe!==null){switch(fe.$$typeof){case Re:return P=P.get(fe.key===null?I:fe.key)||null,O(U,P,fe,je);case ke:return P=P.get(fe.key===null?I:fe.key)||null,W(U,P,fe,je);case lt:var Ne=fe._init;return Ee(P,U,I,Ne(fe._payload),je)}if(Jn(fe)||ze(fe))return P=P.get(I)||null,ie(U,P,fe,je,null);$c(U,fe)}return null}function Oe(P,U,I,fe){for(var je=null,Ne=null,He=U,at=U=0,lr=null;He!==null&&at<I.length;at++){He.index>at?(lr=He,He=null):lr=He.sibling;var Bt=ae(P,He,I[at],fe);if(Bt===null){He===null&&(He=lr);break}n&&He&&Bt.alternate===null&&r(P,He),U=p(Bt,U,at),Ne===null?je=Bt:Ne.sibling=Bt,Ne=Bt,He=lr}if(at===I.length)return l(P,He),hn&&Ta(P,at),je;if(He===null){for(;at<I.length;at++)He=ue(P,I[at],fe),He!==null&&(U=p(He,U,at),Ne===null?je=He:Ne.sibling=He,Ne=He);return hn&&Ta(P,at),je}for(He=o(P,He);at<I.length;at++)lr=Ee(He,P,at,I[at],fe),lr!==null&&(n&&lr.alternate!==null&&He.delete(lr.key===null?at:lr.key),U=p(lr,U,at),Ne===null?je=lr:Ne.sibling=lr,Ne=lr);return n&&He.forEach(function(ql){return r(P,ql)}),hn&&Ta(P,at),je}function Ue(P,U,I,fe){var je=ze(I);if(typeof je!="function")throw Error(v(150));if(I=je.call(I),I==null)throw Error(v(151));for(var Ne=je=null,He=U,at=U=0,lr=null,Bt=I.next();He!==null&&!Bt.done;at++,Bt=I.next()){He.index>at?(lr=He,He=null):lr=He.sibling;var ql=ae(P,He,Bt.value,fe);if(ql===null){He===null&&(He=lr);break}n&&He&&ql.alternate===null&&r(P,He),U=p(ql,U,at),Ne===null?je=ql:Ne.sibling=ql,Ne=ql,He=lr}if(Bt.done)return l(P,He),hn&&Ta(P,at),je;if(He===null){for(;!Bt.done;at++,Bt=I.next())Bt=ue(P,Bt.value,fe),Bt!==null&&(U=p(Bt,U,at),Ne===null?je=Bt:Ne.sibling=Bt,Ne=Bt);return hn&&Ta(P,at),je}for(He=o(P,He);!Bt.done;at++,Bt=I.next())Bt=Ee(He,P,at,Bt.value,fe),Bt!==null&&(n&&Bt.alternate!==null&&He.delete(Bt.key===null?at:Bt.key),U=p(Bt,U,at),Ne===null?je=Bt:Ne.sibling=Bt,Ne=Bt);return n&&He.forEach(function(ty){return r(P,ty)}),hn&&Ta(P,at),je}function zn(P,U,I,fe){if(typeof I=="object"&&I!==null&&I.type===Le&&I.key===null&&(I=I.props.children),typeof I=="object"&&I!==null){switch(I.$$typeof){case Re:e:{for(var je=I.key,Ne=U;Ne!==null;){if(Ne.key===je){if(je=I.type,je===Le){if(Ne.tag===7){l(P,Ne.sibling),U=f(Ne,I.props.children),U.return=P,P=U;break e}}else if(Ne.elementType===je||typeof je=="object"&&je!==null&&je.$$typeof===lt&&sh(je)===Ne.type){l(P,Ne.sibling),U=f(Ne,I.props),U.ref=wo(P,Ne,I),U.return=P,P=U;break e}l(P,Ne);break}else r(P,Ne);Ne=Ne.sibling}I.type===Le?(U=ju(I.props.children,P.mode,fe,I.key),U.return=P,P=U):(fe=xf(I.type,I.key,I.props,null,P.mode,fe),fe.ref=wo(P,U,I),fe.return=P,P=fe)}return S(P);case ke:e:{for(Ne=I.key;U!==null;){if(U.key===Ne)if(U.tag===4&&U.stateNode.containerInfo===I.containerInfo&&U.stateNode.implementation===I.implementation){l(P,U.sibling),U=f(U,I.children||[]),U.return=P,P=U;break e}else{l(P,U);break}else r(P,U);U=U.sibling}U=Pu(I,P.mode,fe),U.return=P,P=U}return S(P);case lt:return Ne=I._init,zn(P,U,Ne(I._payload),fe)}if(Jn(I))return Oe(P,U,I,fe);if(ze(I))return Ue(P,U,I,fe);$c(P,I)}return typeof I=="string"&&I!==""||typeof I=="number"?(I=""+I,U!==null&&U.tag===6?(l(P,U.sibling),U=f(U,I),U.return=P,P=U):(l(P,U),U=Ws(I,P.mode,fe),U.return=P,P=U),S(P)):l(P,U)}return zn}var xo=ch(!0),fh=ch(!1),_s={},di=mt(_s),Ds=mt(_s),bo=mt(_s);function Eu(n){if(n===_s)throw Error(v(174));return n}function qd(n,r){switch(Xt(bo,r),Xt(Ds,n),Xt(di,_s),n=r.nodeType,n){case 9:case 11:r=(r=r.documentElement)?r.namespaceURI:wn(null,"");break;default:n=n===8?r.parentNode:r,r=n.namespaceURI||null,n=n.tagName,r=wn(r,n)}Yt(di),Xt(di,r)}function Hl(){Yt(di),Yt(Ds),Yt(bo)}function qe(n){Eu(bo.current);var r=Eu(di.current),l=wn(r,n.type);r!==l&&(Xt(Ds,n),Xt(di,l))}function bt(n){Ds.current===n&&(Yt(di),Yt(Ds))}var Ze=mt(0);function Rn(n){for(var r=n;r!==null;){if(r.tag===13){var l=r.memoizedState;if(l!==null&&(l=l.dehydrated,l===null||l.data==="$?"||l.data==="$!"))return r}else if(r.tag===19&&r.memoizedProps.revealOrder!==void 0){if(r.flags&128)return r}else if(r.child!==null){r.child.return=r,r=r.child;continue}if(r===n)break;for(;r.sibling===null;){if(r.return===null||r.return===n)return null;r=r.return}r.sibling.return=r.return,r=r.sibling}return null}var Ya=[];function Yc(){for(var n=0;n<Ya.length;n++)Ya[n]._workInProgressVersionPrimary=null;Ya.length=0}var Wc=pt.ReactCurrentDispatcher,Kd=pt.ReactCurrentBatchConfig,Cu=0,mn=null,Z=null,Nt=null,et=!1,_i=!1,_a=0,wu=0;function gn(){throw Error(v(321))}function xu(n,r){if(r===null)return!1;for(var l=0;l<r.length&&l<n.length;l++)if(!Fa(n[l],r[l]))return!1;return!0}function Il(n,r,l,o,f,p){if(Cu=p,mn=r,r.memoizedState=null,r.updateQueue=null,r.lanes=0,Wc.current=n===null||n.memoizedState===null?jg:Pg,n=l(o,f),_i){p=0;do{if(_i=!1,_a=0,25<=p)throw Error(v(301));p+=1,Nt=Z=null,r.updateQueue=null,Wc.current=Zd,n=l(o,f)}while(_i)}if(Wc.current=sf,r=Z!==null&&Z.next!==null,Cu=0,Nt=Z=mn=null,et=!1,r)throw Error(v(300));return n}function bu(){var n=_a!==0;return _a=0,n}function Wa(){var n={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Nt===null?mn.memoizedState=Nt=n:Nt=Nt.next=n,Nt}function fa(){if(Z===null){var n=mn.alternate;n=n!==null?n.memoizedState:null}else n=Z.next;var r=Nt===null?mn.memoizedState:Nt.next;if(r!==null)Nt=r,Z=n;else{if(n===null)throw Error(v(310));Z=n,n={memoizedState:Z.memoizedState,baseState:Z.baseState,baseQueue:Z.baseQueue,queue:Z.queue,next:null},Nt===null?mn.memoizedState=Nt=n:Nt=Nt.next=n}return Nt}function Tu(n,r){return typeof r=="function"?r(n):r}function Ls(n){var r=fa(),l=r.queue;if(l===null)throw Error(v(311));l.lastRenderedReducer=n;var o=Z,f=o.baseQueue,p=l.pending;if(p!==null){if(f!==null){var S=f.next;f.next=p.next,p.next=S}o.baseQueue=f=p,l.pending=null}if(f!==null){p=f.next,o=o.baseState;var T=S=null,O=null,W=p;do{var ie=W.lane;if((Cu&ie)===ie)O!==null&&(O=O.next={lane:0,action:W.action,hasEagerState:W.hasEagerState,eagerState:W.eagerState,next:null}),o=W.hasEagerState?W.eagerState:n(o,W.action);else{var ue={lane:ie,action:W.action,hasEagerState:W.hasEagerState,eagerState:W.eagerState,next:null};O===null?(T=O=ue,S=o):O=O.next=ue,mn.lanes|=ie,tl|=ie}W=W.next}while(W!==null&&W!==p);O===null?S=o:O.next=T,Fa(o,r.memoizedState)||(Bn=!0),r.memoizedState=o,r.baseState=S,r.baseQueue=O,l.lastRenderedState=o}if(n=l.interleaved,n!==null){f=n;do p=f.lane,mn.lanes|=p,tl|=p,f=f.next;while(f!==n)}else f===null&&(l.lanes=0);return[r.memoizedState,l.dispatch]}function Os(n){var r=fa(),l=r.queue;if(l===null)throw Error(v(311));l.lastRenderedReducer=n;var o=l.dispatch,f=l.pending,p=r.memoizedState;if(f!==null){l.pending=null;var S=f=f.next;do p=n(p,S.action),S=S.next;while(S!==f);Fa(p,r.memoizedState)||(Bn=!0),r.memoizedState=p,r.baseQueue===null&&(r.baseState=p),l.lastRenderedState=p}return[p,o]}function Qc(){}function Gc(n,r){var l=mn,o=fa(),f=r(),p=!Fa(o.memoizedState,f);if(p&&(o.memoizedState=f,Bn=!0),o=o.queue,Ns(Xc.bind(null,l,o,n),[n]),o.getSnapshot!==r||p||Nt!==null&&Nt.memoizedState.tag&1){if(l.flags|=2048,Ru(9,Kc.bind(null,l,o,f,r),void 0,null),kn===null)throw Error(v(349));Cu&30||qc(l,r,f)}return f}function qc(n,r,l){n.flags|=16384,n={getSnapshot:r,value:l},r=mn.updateQueue,r===null?(r={lastEffect:null,stores:null},mn.updateQueue=r,r.stores=[n]):(l=r.stores,l===null?r.stores=[n]:l.push(n))}function Kc(n,r,l,o){r.value=l,r.getSnapshot=o,Zc(r)&&Jc(n)}function Xc(n,r,l){return l(function(){Zc(r)&&Jc(n)})}function Zc(n){var r=n.getSnapshot;n=n.value;try{var l=r();return!Fa(n,l)}catch{return!0}}function Jc(n){var r=Ki(n,1);r!==null&&Nr(r,n,1,-1)}function ef(n){var r=Wa();return typeof n=="function"&&(n=n()),r.memoizedState=r.baseState=n,n={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:Tu,lastRenderedState:n},r.queue=n,n=n.dispatch=of.bind(null,mn,n),[r.memoizedState,n]}function Ru(n,r,l,o){return n={tag:n,create:r,destroy:l,deps:o,next:null},r=mn.updateQueue,r===null?(r={lastEffect:null,stores:null},mn.updateQueue=r,r.lastEffect=n.next=n):(l=r.lastEffect,l===null?r.lastEffect=n.next=n:(o=l.next,l.next=n,n.next=o,r.lastEffect=n)),n}function tf(){return fa().memoizedState}function ku(n,r,l,o){var f=Wa();mn.flags|=n,f.memoizedState=Ru(1|r,l,void 0,o===void 0?null:o)}function Zi(n,r,l,o){var f=fa();o=o===void 0?null:o;var p=void 0;if(Z!==null){var S=Z.memoizedState;if(p=S.destroy,o!==null&&xu(o,S.deps)){f.memoizedState=Ru(r,l,p,o);return}}mn.flags|=n,f.memoizedState=Ru(1|r,l,p,o)}function nf(n,r){return ku(8390656,8,n,r)}function Ns(n,r){return Zi(2048,8,n,r)}function rf(n,r){return Zi(4,2,n,r)}function af(n,r){return Zi(4,4,n,r)}function Xd(n,r){if(typeof r=="function")return n=n(),r(n),function(){r(null)};if(r!=null)return n=n(),r.current=n,function(){r.current=null}}function To(n,r,l){return l=l!=null?l.concat([n]):null,Zi(4,4,Xd.bind(null,r,n),l)}function lf(){}function Ro(n,r){var l=fa();r=r===void 0?null:r;var o=l.memoizedState;return o!==null&&r!==null&&xu(r,o[1])?o[0]:(l.memoizedState=[n,r],n)}function Vl(n,r){var l=fa();r=r===void 0?null:r;var o=l.memoizedState;return o!==null&&r!==null&&xu(r,o[1])?o[0]:(n=n(),l.memoizedState=[n,r],n)}function da(n,r,l){return Cu&21?(Fa(l,r)||(l=ao(),mn.lanes|=l,tl|=l,n.baseState=!0),r):(n.baseState&&(n.baseState=!1,Bn=!0),n.memoizedState=l)}function zg(n,r){var l=Ht;Ht=l!==0&&4>l?l:4,n(!0);var o=Kd.transition;Kd.transition={};try{n(!1),r()}finally{Ht=l,Kd.transition=o}}function on(){return fa().memoizedState}function uf(n,r,l){var o=Hn(n);if(l={lane:o,action:l,hasEagerState:!1,eagerState:null,next:null},ko(n))Ms(r,l);else if(l=ah(n,r,l,o),l!==null){var f=Or();Nr(l,n,o,f),dh(l,r,o)}}function of(n,r,l){var o=Hn(n),f={lane:o,action:l,hasEagerState:!1,eagerState:null,next:null};if(ko(n))Ms(r,f);else{var p=n.alternate;if(n.lanes===0&&(p===null||p.lanes===0)&&(p=r.lastRenderedReducer,p!==null))try{var S=r.lastRenderedState,T=p(S,l);if(f.hasEagerState=!0,f.eagerState=T,Fa(T,S)){var O=r.interleaved;O===null?(f.next=f,Yd(r)):(f.next=O.next,O.next=f),r.interleaved=f;return}}catch{}finally{}l=ah(n,r,f,o),l!==null&&(f=Or(),Nr(l,n,o,f),dh(l,r,o))}}function ko(n){var r=n.alternate;return n===mn||r!==null&&r===mn}function Ms(n,r){_i=et=!0;var l=n.pending;l===null?r.next=r:(r.next=l.next,l.next=r),n.pending=r}function dh(n,r,l){if(l&4194240){var o=r.lanes;o&=n.pendingLanes,l|=o,r.lanes=l,xi(n,l)}}var sf={readContext:Un,useCallback:gn,useContext:gn,useEffect:gn,useImperativeHandle:gn,useInsertionEffect:gn,useLayoutEffect:gn,useMemo:gn,useReducer:gn,useRef:gn,useState:gn,useDebugValue:gn,useDeferredValue:gn,useTransition:gn,useMutableSource:gn,useSyncExternalStore:gn,useId:gn,unstable_isNewReconciler:!1},jg={readContext:Un,useCallback:function(n,r){return Wa().memoizedState=[n,r===void 0?null:r],n},useContext:Un,useEffect:nf,useImperativeHandle:function(n,r,l){return l=l!=null?l.concat([n]):null,ku(4194308,4,Xd.bind(null,r,n),l)},useLayoutEffect:function(n,r){return ku(4194308,4,n,r)},useInsertionEffect:function(n,r){return ku(4,2,n,r)},useMemo:function(n,r){var l=Wa();return r=r===void 0?null:r,n=n(),l.memoizedState=[n,r],n},useReducer:function(n,r,l){var o=Wa();return r=l!==void 0?l(r):r,o.memoizedState=o.baseState=r,n={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:n,lastRenderedState:r},o.queue=n,n=n.dispatch=uf.bind(null,mn,n),[o.memoizedState,n]},useRef:function(n){var r=Wa();return n={current:n},r.memoizedState=n},useState:ef,useDebugValue:lf,useDeferredValue:function(n){return Wa().memoizedState=n},useTransition:function(){var n=ef(!1),r=n[0];return n=zg.bind(null,n[1]),Wa().memoizedState=n,[r,n]},useMutableSource:function(){},useSyncExternalStore:function(n,r,l){var o=mn,f=Wa();if(hn){if(l===void 0)throw Error(v(407));l=l()}else{if(l=r(),kn===null)throw Error(v(349));Cu&30||qc(o,r,l)}f.memoizedState=l;var p={value:l,getSnapshot:r};return f.queue=p,nf(Xc.bind(null,o,p,n),[n]),o.flags|=2048,Ru(9,Kc.bind(null,o,p,l,r),void 0,null),l},useId:function(){var n=Wa(),r=kn.identifierPrefix;if(hn){var l=qi,o=dr;l=(o&~(1<<32-jr(o)-1)).toString(32)+l,r=":"+r+"R"+l,l=_a++,0<l&&(r+="H"+l.toString(32)),r+=":"}else l=wu++,r=":"+r+"r"+l.toString(32)+":";return n.memoizedState=r},unstable_isNewReconciler:!1},Pg={readContext:Un,useCallback:Ro,useContext:Un,useEffect:Ns,useImperativeHandle:To,useInsertionEffect:rf,useLayoutEffect:af,useMemo:Vl,useReducer:Ls,useRef:tf,useState:function(){return Ls(Tu)},useDebugValue:lf,useDeferredValue:function(n){var r=fa();return da(r,Z.memoizedState,n)},useTransition:function(){var n=Ls(Tu)[0],r=fa().memoizedState;return[n,r]},useMutableSource:Qc,useSyncExternalStore:Gc,useId:on,unstable_isNewReconciler:!1},Zd={readContext:Un,useCallback:Ro,useContext:Un,useEffect:Ns,useImperativeHandle:To,useInsertionEffect:rf,useLayoutEffect:af,useMemo:Vl,useReducer:Os,useRef:tf,useState:function(){return Os(Tu)},useDebugValue:lf,useDeferredValue:function(n){var r=fa();return Z===null?r.memoizedState=n:da(r,Z.memoizedState,n)},useTransition:function(){var n=Os(Tu)[0],r=fa().memoizedState;return[n,r]},useMutableSource:Qc,useSyncExternalStore:Gc,useId:on,unstable_isNewReconciler:!1};function _o(n,r){try{var l="",o=r;do l+=Lt(o),o=o.return;while(o);var f=l}catch(p){f=`
113
+ Error generating stack: `+p.message+`
114
+ `+p.stack}return{value:n,source:r,stack:f,digest:null}}function As(n,r,l){return{value:n,source:null,stack:l??null,digest:r??null}}function cf(n,r){try{console.error(r.value)}catch(l){setTimeout(function(){throw l})}}var Fg=typeof WeakMap=="function"?WeakMap:Map;function ph(n,r,l){l=Xi(-1,l),l.tag=3,l.payload={element:null};var o=r.value;return l.callback=function(){gf||(gf=!0,Nu=o),cf(n,r)},l}function Us(n,r,l){l=Xi(-1,l),l.tag=3;var o=n.type.getDerivedStateFromError;if(typeof o=="function"){var f=r.value;l.payload=function(){return o(f)},l.callback=function(){cf(n,r)}}var p=n.stateNode;return p!==null&&typeof p.componentDidCatch=="function"&&(l.callback=function(){cf(n,r),typeof o!="function"&&(Oi===null?Oi=new Set([this]):Oi.add(this));var S=r.stack;this.componentDidCatch(r.value,{componentStack:S!==null?S:""})}),l}function vh(n,r,l){var o=n.pingCache;if(o===null){o=n.pingCache=new Fg;var f=new Set;o.set(r,f)}else f=o.get(r),f===void 0&&(f=new Set,o.set(r,f));f.has(l)||(f.add(l),n=Wg.bind(null,n,r,l),r.then(n,n))}function Jd(n){do{var r;if((r=n.tag===13)&&(r=n.memoizedState,r=r!==null?r.dehydrated!==null:!0),r)return n;n=n.return}while(n!==null);return null}function ep(n,r,l,o,f){return n.mode&1?(n.flags|=65536,n.lanes=f,n):(n===r?n.flags|=65536:(n.flags|=128,l.flags|=131072,l.flags&=-52805,l.tag===1&&(l.alternate===null?l.tag=17:(r=Xi(-1,1),r.tag=2,Fl(l,r,1))),l.lanes|=1),n)}var Bg=pt.ReactCurrentOwner,Bn=!1;function Wn(n,r,l,o){r.child=n===null?fh(r,null,l,o):xo(r,n.child,l,o)}function $l(n,r,l,o,f){l=l.render;var p=r.ref;return ve(r,f),o=Il(n,r,l,o,p,f),l=bu(),n!==null&&!Bn?(r.updateQueue=n.updateQueue,r.flags&=-2053,n.lanes&=~f,vr(n,r,f)):(hn&&l&&Uc(r),r.flags|=1,Wn(n,r,o,f),r.child)}function ff(n,r,l,o,f){if(n===null){var p=l.type;return typeof p=="function"&&!Sp(p)&&p.defaultProps===void 0&&l.compare===null&&l.defaultProps===void 0?(r.tag=15,r.type=p,pa(n,r,p,o,f)):(n=xf(l.type,null,o,r,r.mode,f),n.ref=r.ref,n.return=r,r.child=n)}if(p=n.child,!(n.lanes&f)){var S=p.memoizedProps;if(l=l.compare,l=l!==null?l:ms,l(S,o)&&n.ref===r.ref)return vr(n,r,f)}return r.flags|=1,n=Gl(p,o),n.ref=r.ref,n.return=r,r.child=n}function pa(n,r,l,o,f){if(n!==null){var p=n.memoizedProps;if(ms(p,o)&&n.ref===r.ref)if(Bn=!1,r.pendingProps=o=p,(n.lanes&f)!==0)n.flags&131072&&(Bn=!0);else return r.lanes=n.lanes,vr(n,r,f)}return Do(n,r,l,o,f)}function _u(n,r,l){var o=r.pendingProps,f=o.children,p=n!==null?n.memoizedState:null;if(o.mode==="hidden")if(!(r.mode&1))r.memoizedState={baseLanes:0,cachePool:null,transitions:null},Xt(Uo,Da),Da|=l;else{if(!(l&1073741824))return n=p!==null?p.baseLanes|l:l,r.lanes=r.childLanes=1073741824,r.memoizedState={baseLanes:n,cachePool:null,transitions:null},r.updateQueue=null,Xt(Uo,Da),Da|=n,null;r.memoizedState={baseLanes:0,cachePool:null,transitions:null},o=p!==null?p.baseLanes:l,Xt(Uo,Da),Da|=o}else p!==null?(o=p.baseLanes|l,r.memoizedState=null):o=l,Xt(Uo,Da),Da|=o;return Wn(n,r,f,l),r.child}function gt(n,r){var l=r.ref;(n===null&&l!==null||n!==null&&n.ref!==l)&&(r.flags|=512,r.flags|=2097152)}function Do(n,r,l,o,f){var p=Sn(l)?la:rt.current;return p=Ha(r,p),ve(r,f),l=Il(n,r,l,o,p,f),o=bu(),n!==null&&!Bn?(r.updateQueue=n.updateQueue,r.flags&=-2053,n.lanes&=~f,vr(n,r,f)):(hn&&o&&Uc(r),r.flags|=1,Wn(n,r,l,f),r.child)}function tp(n,r,l,o,f){if(Sn(l)){var p=!0;Ac(r)}else p=!1;if(ve(r,f),r.stateNode===null)_r(n,r),uh(r,l,o),Vc(r,l,o,f),o=!0;else if(n===null){var S=r.stateNode,T=r.memoizedProps;S.props=T;var O=S.context,W=l.contextType;typeof W=="object"&&W!==null?W=Un(W):(W=Sn(l)?la:rt.current,W=Ha(r,W));var ie=l.getDerivedStateFromProps,ue=typeof ie=="function"||typeof S.getSnapshotBeforeUpdate=="function";ue||typeof S.UNSAFE_componentWillReceiveProps!="function"&&typeof S.componentWillReceiveProps!="function"||(T!==o||O!==W)&&oh(r,S,o,W),Pl=!1;var ae=r.memoizedState;S.state=ae,Bl(r,o,S,f),O=r.memoizedState,T!==o||ae!==O||Ln.current||Pl?(typeof ie=="function"&&(Gd(r,l,ie,o),O=r.memoizedState),(T=Pl||lh(r,l,T,o,ae,O,W))?(ue||typeof S.UNSAFE_componentWillMount!="function"&&typeof S.componentWillMount!="function"||(typeof S.componentWillMount=="function"&&S.componentWillMount(),typeof S.UNSAFE_componentWillMount=="function"&&S.UNSAFE_componentWillMount()),typeof S.componentDidMount=="function"&&(r.flags|=4194308)):(typeof S.componentDidMount=="function"&&(r.flags|=4194308),r.memoizedProps=o,r.memoizedState=O),S.props=o,S.state=O,S.context=W,o=T):(typeof S.componentDidMount=="function"&&(r.flags|=4194308),o=!1)}else{S=r.stateNode,Yn(n,r),T=r.memoizedProps,W=r.type===r.elementType?T:ka(r.type,T),S.props=W,ue=r.pendingProps,ae=S.context,O=l.contextType,typeof O=="object"&&O!==null?O=Un(O):(O=Sn(l)?la:rt.current,O=Ha(r,O));var Ee=l.getDerivedStateFromProps;(ie=typeof Ee=="function"||typeof S.getSnapshotBeforeUpdate=="function")||typeof S.UNSAFE_componentWillReceiveProps!="function"&&typeof S.componentWillReceiveProps!="function"||(T!==ue||ae!==O)&&oh(r,S,o,O),Pl=!1,ae=r.memoizedState,S.state=ae,Bl(r,o,S,f);var Oe=r.memoizedState;T!==ue||ae!==Oe||Ln.current||Pl?(typeof Ee=="function"&&(Gd(r,l,Ee,o),Oe=r.memoizedState),(W=Pl||lh(r,l,W,o,ae,Oe,O)||!1)?(ie||typeof S.UNSAFE_componentWillUpdate!="function"&&typeof S.componentWillUpdate!="function"||(typeof S.componentWillUpdate=="function"&&S.componentWillUpdate(o,Oe,O),typeof S.UNSAFE_componentWillUpdate=="function"&&S.UNSAFE_componentWillUpdate(o,Oe,O)),typeof S.componentDidUpdate=="function"&&(r.flags|=4),typeof S.getSnapshotBeforeUpdate=="function"&&(r.flags|=1024)):(typeof S.componentDidUpdate!="function"||T===n.memoizedProps&&ae===n.memoizedState||(r.flags|=4),typeof S.getSnapshotBeforeUpdate!="function"||T===n.memoizedProps&&ae===n.memoizedState||(r.flags|=1024),r.memoizedProps=o,r.memoizedState=Oe),S.props=o,S.state=Oe,S.context=O,o=W):(typeof S.componentDidUpdate!="function"||T===n.memoizedProps&&ae===n.memoizedState||(r.flags|=4),typeof S.getSnapshotBeforeUpdate!="function"||T===n.memoizedProps&&ae===n.memoizedState||(r.flags|=1024),o=!1)}return hh(n,r,l,o,p,f)}function hh(n,r,l,o,f,p){gt(n,r);var S=(r.flags&128)!==0;if(!o&&!S)return f&&eh(r,l,!1),vr(n,r,p);o=r.stateNode,Bg.current=r;var T=S&&typeof l.getDerivedStateFromError!="function"?null:o.render();return r.flags|=1,n!==null&&S?(r.child=xo(r,n.child,null,p),r.child=xo(r,null,T,p)):Wn(n,r,T,p),r.memoizedState=o.state,f&&eh(r,l,!0),r.child}function mh(n){var r=n.stateNode;r.pendingContext?Al(n,r.pendingContext,r.pendingContext!==r.context):r.context&&Al(n,r.context,!1),qd(n,r.containerInfo)}function df(n,r,l,o,f){return Tn(),Id(f),r.flags|=256,Wn(n,r,l,o),r.child}var Du={dehydrated:null,treeContext:null,retryLane:0};function np(n){return{baseLanes:n,cachePool:null,transitions:null}}function rp(n,r,l){var o=r.pendingProps,f=Ze.current,p=!1,S=(r.flags&128)!==0,T;if((T=S)||(T=n!==null&&n.memoizedState===null?!1:(f&2)!==0),T?(p=!0,r.flags&=-129):(n===null||n.memoizedState!==null)&&(f|=1),Xt(Ze,f&1),n===null)return jc(r),n=r.memoizedState,n!==null&&(n=n.dehydrated,n!==null)?(r.mode&1?n.data==="$!"?r.lanes=8:r.lanes=1073741824:r.lanes=1,null):(S=o.children,n=o.fallback,p?(o=r.mode,p=r.child,S={mode:"hidden",children:S},!(o&1)&&p!==null?(p.childLanes=0,p.pendingProps=S):p=Ys(S,o,0,null),n=ju(n,o,l,null),p.return=r,n.return=r,p.sibling=n,r.child=p,r.child.memoizedState=np(l),r.memoizedState=Du,n):ap(r,S));if(f=n.memoizedState,f!==null&&(T=f.dehydrated,T!==null))return Hg(n,r,S,o,T,f,l);if(p){p=o.fallback,S=r.mode,f=n.child,T=f.sibling;var O={mode:"hidden",children:o.children};return!(S&1)&&r.child!==f?(o=r.child,o.childLanes=0,o.pendingProps=O,r.deletions=null):(o=Gl(f,O),o.subtreeFlags=f.subtreeFlags&14680064),T!==null?p=Gl(T,p):(p=ju(p,S,l,null),p.flags|=2),p.return=r,o.return=r,o.sibling=p,r.child=o,o=p,p=r.child,S=n.child.memoizedState,S=S===null?np(l):{baseLanes:S.baseLanes|l,cachePool:null,transitions:S.transitions},p.memoizedState=S,p.childLanes=n.childLanes&~l,r.memoizedState=Du,o}return p=n.child,n=p.sibling,o=Gl(p,{mode:"visible",children:o.children}),!(r.mode&1)&&(o.lanes=l),o.return=r,o.sibling=null,n!==null&&(l=r.deletions,l===null?(r.deletions=[n],r.flags|=16):l.push(n)),r.child=o,r.memoizedState=null,o}function ap(n,r){return r=Ys({mode:"visible",children:r},n.mode,0,null),r.return=n,n.child=r}function Lo(n,r,l,o){return o!==null&&Id(o),xo(r,n.child,null,l),n=ap(r,r.pendingProps.children),n.flags|=2,r.memoizedState=null,n}function Hg(n,r,l,o,f,p,S){if(l)return r.flags&256?(r.flags&=-257,o=As(Error(v(422))),Lo(n,r,S,o)):r.memoizedState!==null?(r.child=n.child,r.flags|=128,null):(p=o.fallback,f=r.mode,o=Ys({mode:"visible",children:o.children},f,0,null),p=ju(p,f,S,null),p.flags|=2,o.return=r,p.return=r,o.sibling=p,r.child=o,r.mode&1&&xo(r,n.child,null,S),r.child.memoizedState=np(S),r.memoizedState=Du,p);if(!(r.mode&1))return Lo(n,r,S,null);if(f.data==="$!"){if(o=f.nextSibling&&f.nextSibling.dataset,o)var T=o.dgst;return o=T,p=Error(v(419)),o=As(p,o,void 0),Lo(n,r,S,o)}if(T=(S&n.childLanes)!==0,Bn||T){if(o=kn,o!==null){switch(S&-S){case 4:f=2;break;case 16:f=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:f=32;break;case 536870912:f=268435456;break;default:f=0}f=f&(o.suspendedLanes|S)?0:f,f!==0&&f!==p.retryLane&&(p.retryLane=f,Ki(n,f),Nr(o,n,f,-1))}return mp(),o=As(Error(v(421))),Lo(n,r,S,o)}return f.data==="$?"?(r.flags|=128,r.child=n.child,r=Qg.bind(null,n),f._reactRetry=r,null):(n=p.treeContext,ca=fi(f.nextSibling),Ra=r,hn=!0,$a=null,n!==null&&(sa[kr++]=dr,sa[kr++]=qi,sa[kr++]=Va,dr=n.id,qi=n.overflow,Va=r),r=ap(r,o.children),r.flags|=4096,r)}function ip(n,r,l){n.lanes|=r;var o=n.alternate;o!==null&&(o.lanes|=r),rr(n.return,r,l)}function pf(n,r,l,o,f){var p=n.memoizedState;p===null?n.memoizedState={isBackwards:r,rendering:null,renderingStartTime:0,last:o,tail:l,tailMode:f}:(p.isBackwards=r,p.rendering=null,p.renderingStartTime=0,p.last=o,p.tail=l,p.tailMode=f)}function lp(n,r,l){var o=r.pendingProps,f=o.revealOrder,p=o.tail;if(Wn(n,r,o.children,l),o=Ze.current,o&2)o=o&1|2,r.flags|=128;else{if(n!==null&&n.flags&128)e:for(n=r.child;n!==null;){if(n.tag===13)n.memoizedState!==null&&ip(n,l,r);else if(n.tag===19)ip(n,l,r);else if(n.child!==null){n.child.return=n,n=n.child;continue}if(n===r)break e;for(;n.sibling===null;){if(n.return===null||n.return===r)break e;n=n.return}n.sibling.return=n.return,n=n.sibling}o&=1}if(Xt(Ze,o),!(r.mode&1))r.memoizedState=null;else switch(f){case"forwards":for(l=r.child,f=null;l!==null;)n=l.alternate,n!==null&&Rn(n)===null&&(f=l),l=l.sibling;l=f,l===null?(f=r.child,r.child=null):(f=l.sibling,l.sibling=null),pf(r,!1,f,l,p);break;case"backwards":for(l=null,f=r.child,r.child=null;f!==null;){if(n=f.alternate,n!==null&&Rn(n)===null){r.child=f;break}n=f.sibling,f.sibling=l,l=f,f=n}pf(r,!0,l,null,p);break;case"together":pf(r,!1,null,null,void 0);break;default:r.memoizedState=null}return r.child}function _r(n,r){!(r.mode&1)&&n!==null&&(n.alternate=null,r.alternate=null,r.flags|=2)}function vr(n,r,l){if(n!==null&&(r.dependencies=n.dependencies),tl|=r.lanes,!(l&r.childLanes))return null;if(n!==null&&r.child!==n.child)throw Error(v(153));if(r.child!==null){for(n=r.child,l=Gl(n,n.pendingProps),r.child=l,l.return=r;n.sibling!==null;)n=n.sibling,l=l.sibling=Gl(n,n.pendingProps),l.return=r;l.sibling=null}return r.child}function Ji(n,r,l){switch(r.tag){case 3:mh(r),Tn();break;case 5:qe(r);break;case 1:Sn(r.type)&&Ac(r);break;case 4:qd(r,r.stateNode.containerInfo);break;case 10:var o=r.type._context,f=r.memoizedProps.value;Xt(ki,o._currentValue),o._currentValue=f;break;case 13:if(o=r.memoizedState,o!==null)return o.dehydrated!==null?(Xt(Ze,Ze.current&1),r.flags|=128,null):l&r.child.childLanes?rp(n,r,l):(Xt(Ze,Ze.current&1),n=vr(n,r,l),n!==null?n.sibling:null);Xt(Ze,Ze.current&1);break;case 19:if(o=(l&r.childLanes)!==0,n.flags&128){if(o)return lp(n,r,l);r.flags|=128}if(f=r.memoizedState,f!==null&&(f.rendering=null,f.tail=null,f.lastEffect=null),Xt(Ze,Ze.current),o)break;return null;case 22:case 23:return r.lanes=0,_u(n,r,l)}return vr(n,r,l)}var zs,Lu,Qa,Qn;zs=function(n,r){for(var l=r.child;l!==null;){if(l.tag===5||l.tag===6)n.appendChild(l.stateNode);else if(l.tag!==4&&l.child!==null){l.child.return=l,l=l.child;continue}if(l===r)break;for(;l.sibling===null;){if(l.return===null||l.return===r)return;l=l.return}l.sibling.return=l.return,l=l.sibling}},Lu=function(){},Qa=function(n,r,l,o){var f=n.memoizedProps;if(f!==o){n=r.stateNode,Eu(di.current);var p=null;switch(l){case"input":f=Zn(n,f),o=Zn(n,o),p=[];break;case"select":f=D({},f,{value:void 0}),o=D({},o,{value:void 0}),p=[];break;case"textarea":f=ea(n,f),o=ea(n,o),p=[];break;default:typeof f.onClick!="function"&&typeof o.onClick=="function"&&(n.onclick=Mc)}An(l,o);var S;l=null;for(W in f)if(!o.hasOwnProperty(W)&&f.hasOwnProperty(W)&&f[W]!=null)if(W==="style"){var T=f[W];for(S in T)T.hasOwnProperty(S)&&(l||(l={}),l[S]="")}else W!=="dangerouslySetInnerHTML"&&W!=="children"&&W!=="suppressContentEditableWarning"&&W!=="suppressHydrationWarning"&&W!=="autoFocus"&&(b.hasOwnProperty(W)?p||(p=[]):(p=p||[]).push(W,null));for(W in o){var O=o[W];if(T=f!=null?f[W]:void 0,o.hasOwnProperty(W)&&O!==T&&(O!=null||T!=null))if(W==="style")if(T){for(S in T)!T.hasOwnProperty(S)||O&&O.hasOwnProperty(S)||(l||(l={}),l[S]="");for(S in O)O.hasOwnProperty(S)&&T[S]!==O[S]&&(l||(l={}),l[S]=O[S])}else l||(p||(p=[]),p.push(W,l)),l=O;else W==="dangerouslySetInnerHTML"?(O=O?O.__html:void 0,T=T?T.__html:void 0,O!=null&&T!==O&&(p=p||[]).push(W,O)):W==="children"?typeof O!="string"&&typeof O!="number"||(p=p||[]).push(W,""+O):W!=="suppressContentEditableWarning"&&W!=="suppressHydrationWarning"&&(b.hasOwnProperty(W)?(O!=null&&W==="onScroll"&&un("scroll",n),p||T===O||(p=[])):(p=p||[]).push(W,O))}l&&(p=p||[]).push("style",l);var W=p;(r.updateQueue=W)&&(r.flags|=4)}},Qn=function(n,r,l,o){l!==o&&(r.flags|=4)};function js(n,r){if(!hn)switch(n.tailMode){case"hidden":r=n.tail;for(var l=null;r!==null;)r.alternate!==null&&(l=r),r=r.sibling;l===null?n.tail=null:l.sibling=null;break;case"collapsed":l=n.tail;for(var o=null;l!==null;)l.alternate!==null&&(o=l),l=l.sibling;o===null?r||n.tail===null?n.tail=null:n.tail.sibling=null:o.sibling=null}}function Dr(n){var r=n.alternate!==null&&n.alternate.child===n.child,l=0,o=0;if(r)for(var f=n.child;f!==null;)l|=f.lanes|f.childLanes,o|=f.subtreeFlags&14680064,o|=f.flags&14680064,f.return=n,f=f.sibling;else for(f=n.child;f!==null;)l|=f.lanes|f.childLanes,o|=f.subtreeFlags,o|=f.flags,f.return=n,f=f.sibling;return n.subtreeFlags|=o,n.childLanes=l,r}function Ig(n,r,l){var o=r.pendingProps;switch(Bd(r),r.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Dr(r),null;case 1:return Sn(r.type)&&Ia(),Dr(r),null;case 3:return o=r.stateNode,Hl(),Yt(Ln),Yt(rt),Yc(),o.pendingContext&&(o.context=o.pendingContext,o.pendingContext=null),(n===null||n.child===null)&&(Pc(r)?r.flags|=4:n===null||n.memoizedState.isDehydrated&&!(r.flags&256)||(r.flags|=1024,$a!==null&&($s($a),$a=null))),Lu(n,r),Dr(r),null;case 5:bt(r);var f=Eu(bo.current);if(l=r.type,n!==null&&r.stateNode!=null)Qa(n,r,l,o,f),n.ref!==r.ref&&(r.flags|=512,r.flags|=2097152);else{if(!o){if(r.stateNode===null)throw Error(v(166));return Dr(r),null}if(n=Eu(di.current),Pc(r)){o=r.stateNode,l=r.type;var p=r.memoizedProps;switch(o[Ti]=r,o[gu]=p,n=(r.mode&1)!==0,l){case"dialog":un("cancel",o),un("close",o);break;case"iframe":case"object":case"embed":un("load",o);break;case"video":case"audio":for(f=0;f<Es.length;f++)un(Es[f],o);break;case"source":un("error",o);break;case"img":case"image":case"link":un("error",o),un("load",o);break;case"details":un("toggle",o);break;case"input":Vn(o,p),un("invalid",o);break;case"select":o._wrapperState={wasMultiple:!!p.multiple},un("invalid",o);break;case"textarea":Tr(o,p),un("invalid",o)}An(l,p),f=null;for(var S in p)if(p.hasOwnProperty(S)){var T=p[S];S==="children"?typeof T=="string"?o.textContent!==T&&(p.suppressHydrationWarning!==!0&&Nc(o.textContent,T,n),f=["children",T]):typeof T=="number"&&o.textContent!==""+T&&(p.suppressHydrationWarning!==!0&&Nc(o.textContent,T,n),f=["children",""+T]):b.hasOwnProperty(S)&&T!=null&&S==="onScroll"&&un("scroll",o)}switch(l){case"input":xr(o),Zr(o,p,!0);break;case"textarea":xr(o),cr(o);break;case"select":case"option":break;default:typeof p.onClick=="function"&&(o.onclick=Mc)}o=f,r.updateQueue=o,o!==null&&(r.flags|=4)}else{S=f.nodeType===9?f:f.ownerDocument,n==="http://www.w3.org/1999/xhtml"&&(n=ta(l)),n==="http://www.w3.org/1999/xhtml"?l==="script"?(n=S.createElement("div"),n.innerHTML="<script><\/script>",n=n.removeChild(n.firstChild)):typeof o.is=="string"?n=S.createElement(l,{is:o.is}):(n=S.createElement(l),l==="select"&&(S=n,o.multiple?S.multiple=!0:o.size&&(S.size=o.size))):n=S.createElementNS(n,l),n[Ti]=r,n[gu]=o,zs(n,r,!1,!1),r.stateNode=n;e:{switch(S=xn(l,o),l){case"dialog":un("cancel",n),un("close",n),f=o;break;case"iframe":case"object":case"embed":un("load",n),f=o;break;case"video":case"audio":for(f=0;f<Es.length;f++)un(Es[f],n);f=o;break;case"source":un("error",n),f=o;break;case"img":case"image":case"link":un("error",n),un("load",n),f=o;break;case"details":un("toggle",n),f=o;break;case"input":Vn(n,o),f=Zn(n,o),un("invalid",n);break;case"option":f=o;break;case"select":n._wrapperState={wasMultiple:!!o.multiple},f=D({},o,{value:void 0}),un("invalid",n);break;case"textarea":Tr(n,o),f=ea(n,o),un("invalid",n);break;default:f=o}An(l,f),T=f;for(p in T)if(T.hasOwnProperty(p)){var O=T[p];p==="style"?$t(n,O):p==="dangerouslySetInnerHTML"?(O=O?O.__html:void 0,O!=null&&gi(n,O)):p==="children"?typeof O=="string"?(l!=="textarea"||O!=="")&&Ea(n,O):typeof O=="number"&&Ea(n,""+O):p!=="suppressContentEditableWarning"&&p!=="suppressHydrationWarning"&&p!=="autoFocus"&&(b.hasOwnProperty(p)?O!=null&&p==="onScroll"&&un("scroll",n):O!=null&&Ie(n,p,O,S))}switch(l){case"input":xr(n),Zr(n,o,!1);break;case"textarea":xr(n),cr(n);break;case"option":o.value!=null&&n.setAttribute("value",""+St(o.value));break;case"select":n.multiple=!!o.multiple,p=o.value,p!=null?br(n,!!o.multiple,p,!1):o.defaultValue!=null&&br(n,!!o.multiple,o.defaultValue,!0);break;default:typeof f.onClick=="function"&&(n.onclick=Mc)}switch(l){case"button":case"input":case"select":case"textarea":o=!!o.autoFocus;break e;case"img":o=!0;break e;default:o=!1}}o&&(r.flags|=4)}r.ref!==null&&(r.flags|=512,r.flags|=2097152)}return Dr(r),null;case 6:if(n&&r.stateNode!=null)Qn(n,r,n.memoizedProps,o);else{if(typeof o!="string"&&r.stateNode===null)throw Error(v(166));if(l=Eu(bo.current),Eu(di.current),Pc(r)){if(o=r.stateNode,l=r.memoizedProps,o[Ti]=r,(p=o.nodeValue!==l)&&(n=Ra,n!==null))switch(n.tag){case 3:Nc(o.nodeValue,l,(n.mode&1)!==0);break;case 5:n.memoizedProps.suppressHydrationWarning!==!0&&Nc(o.nodeValue,l,(n.mode&1)!==0)}p&&(r.flags|=4)}else o=(l.nodeType===9?l:l.ownerDocument).createTextNode(o),o[Ti]=r,r.stateNode=o}return Dr(r),null;case 13:if(Yt(Ze),o=r.memoizedState,n===null||n.memoizedState!==null&&n.memoizedState.dehydrated!==null){if(hn&&ca!==null&&r.mode&1&&!(r.flags&128))rh(),Tn(),r.flags|=98560,p=!1;else if(p=Pc(r),o!==null&&o.dehydrated!==null){if(n===null){if(!p)throw Error(v(318));if(p=r.memoizedState,p=p!==null?p.dehydrated:null,!p)throw Error(v(317));p[Ti]=r}else Tn(),!(r.flags&128)&&(r.memoizedState=null),r.flags|=4;Dr(r),p=!1}else $a!==null&&($s($a),$a=null),p=!0;if(!p)return r.flags&65536?r:null}return r.flags&128?(r.lanes=l,r):(o=o!==null,o!==(n!==null&&n.memoizedState!==null)&&o&&(r.child.flags|=8192,r.mode&1&&(n===null||Ze.current&1?qn===0&&(qn=3):mp())),r.updateQueue!==null&&(r.flags|=4),Dr(r),null);case 4:return Hl(),Lu(n,r),n===null&&So(r.stateNode.containerInfo),Dr(r),null;case 10:return jl(r.type._context),Dr(r),null;case 17:return Sn(r.type)&&Ia(),Dr(r),null;case 19:if(Yt(Ze),p=r.memoizedState,p===null)return Dr(r),null;if(o=(r.flags&128)!==0,S=p.rendering,S===null)if(o)js(p,!1);else{if(qn!==0||n!==null&&n.flags&128)for(n=r.child;n!==null;){if(S=Rn(n),S!==null){for(r.flags|=128,js(p,!1),o=S.updateQueue,o!==null&&(r.updateQueue=o,r.flags|=4),r.subtreeFlags=0,o=l,l=r.child;l!==null;)p=l,n=o,p.flags&=14680066,S=p.alternate,S===null?(p.childLanes=0,p.lanes=n,p.child=null,p.subtreeFlags=0,p.memoizedProps=null,p.memoizedState=null,p.updateQueue=null,p.dependencies=null,p.stateNode=null):(p.childLanes=S.childLanes,p.lanes=S.lanes,p.child=S.child,p.subtreeFlags=0,p.deletions=null,p.memoizedProps=S.memoizedProps,p.memoizedState=S.memoizedState,p.updateQueue=S.updateQueue,p.type=S.type,n=S.dependencies,p.dependencies=n===null?null:{lanes:n.lanes,firstContext:n.firstContext}),l=l.sibling;return Xt(Ze,Ze.current&1|2),r.child}n=n.sibling}p.tail!==null&&jt()>jo&&(r.flags|=128,o=!0,js(p,!1),r.lanes=4194304)}else{if(!o)if(n=Rn(S),n!==null){if(r.flags|=128,o=!0,l=n.updateQueue,l!==null&&(r.updateQueue=l,r.flags|=4),js(p,!0),p.tail===null&&p.tailMode==="hidden"&&!S.alternate&&!hn)return Dr(r),null}else 2*jt()-p.renderingStartTime>jo&&l!==1073741824&&(r.flags|=128,o=!0,js(p,!1),r.lanes=4194304);p.isBackwards?(S.sibling=r.child,r.child=S):(l=p.last,l!==null?l.sibling=S:r.child=S,p.last=S)}return p.tail!==null?(r=p.tail,p.rendering=r,p.tail=r.sibling,p.renderingStartTime=jt(),r.sibling=null,l=Ze.current,Xt(Ze,o?l&1|2:l&1),r):(Dr(r),null);case 22:case 23:return hp(),o=r.memoizedState!==null,n!==null&&n.memoizedState!==null!==o&&(r.flags|=8192),o&&r.mode&1?Da&1073741824&&(Dr(r),r.subtreeFlags&6&&(r.flags|=8192)):Dr(r),null;case 24:return null;case 25:return null}throw Error(v(156,r.tag))}function up(n,r){switch(Bd(r),r.tag){case 1:return Sn(r.type)&&Ia(),n=r.flags,n&65536?(r.flags=n&-65537|128,r):null;case 3:return Hl(),Yt(Ln),Yt(rt),Yc(),n=r.flags,n&65536&&!(n&128)?(r.flags=n&-65537|128,r):null;case 5:return bt(r),null;case 13:if(Yt(Ze),n=r.memoizedState,n!==null&&n.dehydrated!==null){if(r.alternate===null)throw Error(v(340));Tn()}return n=r.flags,n&65536?(r.flags=n&-65537|128,r):null;case 19:return Yt(Ze),null;case 4:return Hl(),null;case 10:return jl(r.type._context),null;case 22:case 23:return hp(),null;case 24:return null;default:return null}}var Ps=!1,Gn=!1,gh=typeof WeakSet=="function"?WeakSet:Set,_e=null;function Oo(n,r){var l=n.ref;if(l!==null)if(typeof l=="function")try{l(null)}catch(o){Nn(n,r,o)}else l.current=null}function Fs(n,r,l){try{l()}catch(o){Nn(n,r,o)}}var yh=!1;function Sh(n,r){if(Nd=Pa,n=kc(),Yi(n)){if("selectionStart"in n)var l={start:n.selectionStart,end:n.selectionEnd};else e:{l=(l=n.ownerDocument)&&l.defaultView||window;var o=l.getSelection&&l.getSelection();if(o&&o.rangeCount!==0){l=o.anchorNode;var f=o.anchorOffset,p=o.focusNode;o=o.focusOffset;try{l.nodeType,p.nodeType}catch{l=null;break e}var S=0,T=-1,O=-1,W=0,ie=0,ue=n,ae=null;t:for(;;){for(var Ee;ue!==l||f!==0&&ue.nodeType!==3||(T=S+f),ue!==p||o!==0&&ue.nodeType!==3||(O=S+o),ue.nodeType===3&&(S+=ue.nodeValue.length),(Ee=ue.firstChild)!==null;)ae=ue,ue=Ee;for(;;){if(ue===n)break t;if(ae===l&&++W===f&&(T=S),ae===p&&++ie===o&&(O=S),(Ee=ue.nextSibling)!==null)break;ue=ae,ae=ue.parentNode}ue=Ee}l=T===-1||O===-1?null:{start:T,end:O}}else l=null}l=l||{start:0,end:0}}else l=null;for(hu={focusedElem:n,selectionRange:l},Pa=!1,_e=r;_e!==null;)if(r=_e,n=r.child,(r.subtreeFlags&1028)!==0&&n!==null)n.return=r,_e=n;else for(;_e!==null;){r=_e;try{var Oe=r.alternate;if(r.flags&1024)switch(r.tag){case 0:case 11:case 15:break;case 1:if(Oe!==null){var Ue=Oe.memoizedProps,zn=Oe.memoizedState,P=r.stateNode,U=P.getSnapshotBeforeUpdate(r.elementType===r.type?Ue:ka(r.type,Ue),zn);P.__reactInternalSnapshotBeforeUpdate=U}break;case 3:var I=r.stateNode.containerInfo;I.nodeType===1?I.textContent="":I.nodeType===9&&I.documentElement&&I.removeChild(I.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(v(163))}}catch(fe){Nn(r,r.return,fe)}if(n=r.sibling,n!==null){n.return=r.return,_e=n;break}_e=r.return}return Oe=yh,yh=!1,Oe}function Bs(n,r,l){var o=r.updateQueue;if(o=o!==null?o.lastEffect:null,o!==null){var f=o=o.next;do{if((f.tag&n)===n){var p=f.destroy;f.destroy=void 0,p!==void 0&&Fs(r,l,p)}f=f.next}while(f!==o)}}function Hs(n,r){if(r=r.updateQueue,r=r!==null?r.lastEffect:null,r!==null){var l=r=r.next;do{if((l.tag&n)===n){var o=l.create;l.destroy=o()}l=l.next}while(l!==r)}}function op(n){var r=n.ref;if(r!==null){var l=n.stateNode;switch(n.tag){case 5:n=l;break;default:n=l}typeof r=="function"?r(n):r.current=n}}function sp(n){var r=n.alternate;r!==null&&(n.alternate=null,sp(r)),n.child=null,n.deletions=null,n.sibling=null,n.tag===5&&(r=n.stateNode,r!==null&&(delete r[Ti],delete r[gu],delete r[Ud],delete r[Ug],delete r[zd])),n.stateNode=null,n.return=null,n.dependencies=null,n.memoizedProps=null,n.memoizedState=null,n.pendingProps=null,n.stateNode=null,n.updateQueue=null}function Eh(n){return n.tag===5||n.tag===3||n.tag===4}function vf(n){e:for(;;){for(;n.sibling===null;){if(n.return===null||Eh(n.return))return null;n=n.return}for(n.sibling.return=n.return,n=n.sibling;n.tag!==5&&n.tag!==6&&n.tag!==18;){if(n.flags&2||n.child===null||n.tag===4)continue e;n.child.return=n,n=n.child}if(!(n.flags&2))return n.stateNode}}function No(n,r,l){var o=n.tag;if(o===5||o===6)n=n.stateNode,r?l.nodeType===8?l.parentNode.insertBefore(n,r):l.insertBefore(n,r):(l.nodeType===8?(r=l.parentNode,r.insertBefore(n,l)):(r=l,r.appendChild(n)),l=l._reactRootContainer,l!=null||r.onclick!==null||(r.onclick=Mc));else if(o!==4&&(n=n.child,n!==null))for(No(n,r,l),n=n.sibling;n!==null;)No(n,r,l),n=n.sibling}function Di(n,r,l){var o=n.tag;if(o===5||o===6)n=n.stateNode,r?l.insertBefore(n,r):l.appendChild(n);else if(o!==4&&(n=n.child,n!==null))for(Di(n,r,l),n=n.sibling;n!==null;)Di(n,r,l),n=n.sibling}var En=null,ar=!1;function Ga(n,r,l){for(l=l.child;l!==null;)Mo(n,r,l),l=l.sibling}function Mo(n,r,l){if(na&&typeof na.onCommitFiberUnmount=="function")try{na.onCommitFiberUnmount(Sl,l)}catch{}switch(l.tag){case 5:Gn||Oo(l,r);case 6:var o=En,f=ar;En=null,Ga(n,r,l),En=o,ar=f,En!==null&&(ar?(n=En,l=l.stateNode,n.nodeType===8?n.parentNode.removeChild(l):n.removeChild(l)):En.removeChild(l.stateNode));break;case 18:En!==null&&(ar?(n=En,l=l.stateNode,n.nodeType===8?Ol(n.parentNode,l):n.nodeType===1&&Ol(n,l),Rl(n)):Ol(En,l.stateNode));break;case 4:o=En,f=ar,En=l.stateNode.containerInfo,ar=!0,Ga(n,r,l),En=o,ar=f;break;case 0:case 11:case 14:case 15:if(!Gn&&(o=l.updateQueue,o!==null&&(o=o.lastEffect,o!==null))){f=o=o.next;do{var p=f,S=p.destroy;p=p.tag,S!==void 0&&(p&2||p&4)&&Fs(l,r,S),f=f.next}while(f!==o)}Ga(n,r,l);break;case 1:if(!Gn&&(Oo(l,r),o=l.stateNode,typeof o.componentWillUnmount=="function"))try{o.props=l.memoizedProps,o.state=l.memoizedState,o.componentWillUnmount()}catch(T){Nn(l,r,T)}Ga(n,r,l);break;case 21:Ga(n,r,l);break;case 22:l.mode&1?(Gn=(o=Gn)||l.memoizedState!==null,Ga(n,r,l),Gn=o):Ga(n,r,l);break;default:Ga(n,r,l)}}function el(n){var r=n.updateQueue;if(r!==null){n.updateQueue=null;var l=n.stateNode;l===null&&(l=n.stateNode=new gh),r.forEach(function(o){var f=Gg.bind(null,n,o);l.has(o)||(l.add(o),o.then(f,f))})}}function pi(n,r){var l=r.deletions;if(l!==null)for(var o=0;o<l.length;o++){var f=l[o];try{var p=n,S=r,T=S;e:for(;T!==null;){switch(T.tag){case 5:En=T.stateNode,ar=!1;break e;case 3:En=T.stateNode.containerInfo,ar=!0;break e;case 4:En=T.stateNode.containerInfo,ar=!0;break e}T=T.return}if(En===null)throw Error(v(160));Mo(p,S,f),En=null,ar=!1;var O=f.alternate;O!==null&&(O.return=null),f.return=null}catch(W){Nn(f,r,W)}}if(r.subtreeFlags&12854)for(r=r.child;r!==null;)Ch(r,n),r=r.sibling}function Ch(n,r){var l=n.alternate,o=n.flags;switch(n.tag){case 0:case 11:case 14:case 15:if(pi(r,n),Li(n),o&4){try{Bs(3,n,n.return),Hs(3,n)}catch(Ue){Nn(n,n.return,Ue)}try{Bs(5,n,n.return)}catch(Ue){Nn(n,n.return,Ue)}}break;case 1:pi(r,n),Li(n),o&512&&l!==null&&Oo(l,l.return);break;case 5:if(pi(r,n),Li(n),o&512&&l!==null&&Oo(l,l.return),n.flags&32){var f=n.stateNode;try{Ea(f,"")}catch(Ue){Nn(n,n.return,Ue)}}if(o&4&&(f=n.stateNode,f!=null)){var p=n.memoizedProps,S=l!==null?l.memoizedProps:p,T=n.type,O=n.updateQueue;if(n.updateQueue=null,O!==null)try{T==="input"&&p.type==="radio"&&p.name!=null&&$n(f,p),xn(T,S);var W=xn(T,p);for(S=0;S<O.length;S+=2){var ie=O[S],ue=O[S+1];ie==="style"?$t(f,ue):ie==="dangerouslySetInnerHTML"?gi(f,ue):ie==="children"?Ea(f,ue):Ie(f,ie,ue,W)}switch(T){case"input":Mn(f,p);break;case"textarea":Sa(f,p);break;case"select":var ae=f._wrapperState.wasMultiple;f._wrapperState.wasMultiple=!!p.multiple;var Ee=p.value;Ee!=null?br(f,!!p.multiple,Ee,!1):ae!==!!p.multiple&&(p.defaultValue!=null?br(f,!!p.multiple,p.defaultValue,!0):br(f,!!p.multiple,p.multiple?[]:"",!1))}f[gu]=p}catch(Ue){Nn(n,n.return,Ue)}}break;case 6:if(pi(r,n),Li(n),o&4){if(n.stateNode===null)throw Error(v(162));f=n.stateNode,p=n.memoizedProps;try{f.nodeValue=p}catch(Ue){Nn(n,n.return,Ue)}}break;case 3:if(pi(r,n),Li(n),o&4&&l!==null&&l.memoizedState.isDehydrated)try{Rl(r.containerInfo)}catch(Ue){Nn(n,n.return,Ue)}break;case 4:pi(r,n),Li(n);break;case 13:pi(r,n),Li(n),f=n.child,f.flags&8192&&(p=f.memoizedState!==null,f.stateNode.isHidden=p,!p||f.alternate!==null&&f.alternate.memoizedState!==null||(dp=jt())),o&4&&el(n);break;case 22:if(ie=l!==null&&l.memoizedState!==null,n.mode&1?(Gn=(W=Gn)||ie,pi(r,n),Gn=W):pi(r,n),Li(n),o&8192){if(W=n.memoizedState!==null,(n.stateNode.isHidden=W)&&!ie&&n.mode&1)for(_e=n,ie=n.child;ie!==null;){for(ue=_e=ie;_e!==null;){switch(ae=_e,Ee=ae.child,ae.tag){case 0:case 11:case 14:case 15:Bs(4,ae,ae.return);break;case 1:Oo(ae,ae.return);var Oe=ae.stateNode;if(typeof Oe.componentWillUnmount=="function"){o=ae,l=ae.return;try{r=o,Oe.props=r.memoizedProps,Oe.state=r.memoizedState,Oe.componentWillUnmount()}catch(Ue){Nn(o,l,Ue)}}break;case 5:Oo(ae,ae.return);break;case 22:if(ae.memoizedState!==null){cp(ue);continue}}Ee!==null?(Ee.return=ae,_e=Ee):cp(ue)}ie=ie.sibling}e:for(ie=null,ue=n;;){if(ue.tag===5){if(ie===null){ie=ue;try{f=ue.stateNode,W?(p=f.style,typeof p.setProperty=="function"?p.setProperty("display","none","important"):p.display="none"):(T=ue.stateNode,O=ue.memoizedProps.style,S=O!=null&&O.hasOwnProperty("display")?O.display:null,T.style.display=Et("display",S))}catch(Ue){Nn(n,n.return,Ue)}}}else if(ue.tag===6){if(ie===null)try{ue.stateNode.nodeValue=W?"":ue.memoizedProps}catch(Ue){Nn(n,n.return,Ue)}}else if((ue.tag!==22&&ue.tag!==23||ue.memoizedState===null||ue===n)&&ue.child!==null){ue.child.return=ue,ue=ue.child;continue}if(ue===n)break e;for(;ue.sibling===null;){if(ue.return===null||ue.return===n)break e;ie===ue&&(ie=null),ue=ue.return}ie===ue&&(ie=null),ue.sibling.return=ue.return,ue=ue.sibling}}break;case 19:pi(r,n),Li(n),o&4&&el(n);break;case 21:break;default:pi(r,n),Li(n)}}function Li(n){var r=n.flags;if(r&2){try{e:{for(var l=n.return;l!==null;){if(Eh(l)){var o=l;break e}l=l.return}throw Error(v(160))}switch(o.tag){case 5:var f=o.stateNode;o.flags&32&&(Ea(f,""),o.flags&=-33);var p=vf(n);Di(n,p,f);break;case 3:case 4:var S=o.stateNode.containerInfo,T=vf(n);No(n,T,S);break;default:throw Error(v(161))}}catch(O){Nn(n,n.return,O)}n.flags&=-3}r&4096&&(n.flags&=-4097)}function wh(n,r,l){_e=n,Ao(n)}function Ao(n,r,l){for(var o=(n.mode&1)!==0;_e!==null;){var f=_e,p=f.child;if(f.tag===22&&o){var S=f.memoizedState!==null||Ps;if(!S){var T=f.alternate,O=T!==null&&T.memoizedState!==null||Gn;T=Ps;var W=Gn;if(Ps=S,(Gn=O)&&!W)for(_e=f;_e!==null;)S=_e,O=S.child,S.tag===22&&S.memoizedState!==null?bh(f):O!==null?(O.return=S,_e=O):bh(f);for(;p!==null;)_e=p,Ao(p),p=p.sibling;_e=f,Ps=T,Gn=W}xh(n)}else f.subtreeFlags&8772&&p!==null?(p.return=f,_e=p):xh(n)}}function xh(n){for(;_e!==null;){var r=_e;if(r.flags&8772){var l=r.alternate;try{if(r.flags&8772)switch(r.tag){case 0:case 11:case 15:Gn||Hs(5,r);break;case 1:var o=r.stateNode;if(r.flags&4&&!Gn)if(l===null)o.componentDidMount();else{var f=r.elementType===r.type?l.memoizedProps:ka(r.type,l.memoizedProps);o.componentDidUpdate(f,l.memoizedState,o.__reactInternalSnapshotBeforeUpdate)}var p=r.updateQueue;p!==null&&Su(r,p,o);break;case 3:var S=r.updateQueue;if(S!==null){if(l=null,r.child!==null)switch(r.child.tag){case 5:l=r.child.stateNode;break;case 1:l=r.child.stateNode}Su(r,S,l)}break;case 5:var T=r.stateNode;if(l===null&&r.flags&4){l=T;var O=r.memoizedProps;switch(r.type){case"button":case"input":case"select":case"textarea":O.autoFocus&&l.focus();break;case"img":O.src&&(l.src=O.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(r.memoizedState===null){var W=r.alternate;if(W!==null){var ie=W.memoizedState;if(ie!==null){var ue=ie.dehydrated;ue!==null&&Rl(ue)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(v(163))}Gn||r.flags&512&&op(r)}catch(ae){Nn(r,r.return,ae)}}if(r===n){_e=null;break}if(l=r.sibling,l!==null){l.return=r.return,_e=l;break}_e=r.return}}function cp(n){for(;_e!==null;){var r=_e;if(r===n){_e=null;break}var l=r.sibling;if(l!==null){l.return=r.return,_e=l;break}_e=r.return}}function bh(n){for(;_e!==null;){var r=_e;try{switch(r.tag){case 0:case 11:case 15:var l=r.return;try{Hs(4,r)}catch(O){Nn(r,l,O)}break;case 1:var o=r.stateNode;if(typeof o.componentDidMount=="function"){var f=r.return;try{o.componentDidMount()}catch(O){Nn(r,f,O)}}var p=r.return;try{op(r)}catch(O){Nn(r,p,O)}break;case 5:var S=r.return;try{op(r)}catch(O){Nn(r,S,O)}}}catch(O){Nn(r,r.return,O)}if(r===n){_e=null;break}var T=r.sibling;if(T!==null){T.return=r.return,_e=T;break}_e=r.return}}var hf=Math.ceil,Is=pt.ReactCurrentDispatcher,fp=pt.ReactCurrentOwner,Lr=pt.ReactCurrentBatchConfig,kt=0,kn=null,On=null,ir=0,Da=0,Uo=mt(0),qn=0,Vs=null,tl=0,mf=0,zo=0,Ou=null,Br=null,dp=0,jo=1/0,nl=null,gf=!1,Nu=null,Oi=null,Yl=!1,Wl=null,yf=0,Po=0,Sf=null,Mu=-1,Au=0;function Or(){return kt&6?jt():Mu!==-1?Mu:Mu=jt()}function Hn(n){return n.mode&1?kt&2&&ir!==0?ir&-ir:Fc.transition!==null?(Au===0&&(Au=ao()),Au):(n=Ht,n!==0||(n=window.event,n=n===void 0?16:fs(n.type)),n):1}function Nr(n,r,l,o){if(50<Po)throw Po=0,Sf=null,Error(v(185));Bi(n,l,o),(!(kt&2)||n!==kn)&&(n===kn&&(!(kt&2)&&(mf|=l),qn===4&&qa(n,ir)),Mr(n,o),l===1&&kt===0&&!(r.mode&1)&&(jo=jt()+500,nr&&ua()))}function Mr(n,r){var l=n.callbackNode;wl(n,r);var o=Pr(n,n===kn?ir:0);if(o===0)l!==null&&fr(l),n.callbackNode=null,n.callbackPriority=0;else if(r=o&-o,n.callbackPriority!==r){if(l!=null&&fr(l),r===1)n.tag===0?Pd(Th.bind(null,n)):jd(Th.bind(null,n)),Ad(function(){!(kt&6)&&ua()}),l=null;else{switch(lo(o)){case 1:l=ii;break;case 4:l=wt;break;case 16:l=wi;break;case 536870912:l=no;break;default:l=wi}l=yp(l,Fo.bind(null,n))}n.callbackPriority=r,n.callbackNode=l}}function Fo(n,r){if(Mu=-1,Au=0,kt&6)throw Error(v(327));var l=n.callbackNode;if(Ho()&&n.callbackNode!==l)return null;var o=Pr(n,n===kn?ir:0);if(o===0)return null;if(o&30||o&n.expiredLanes||r)r=Cf(n,o);else{r=o;var f=kt;kt|=2;var p=Ef();(kn!==n||ir!==r)&&(nl=null,jo=jt()+500,Uu(n,r));do try{$g();break}catch(T){Rh(n,T)}while(1);$d(),Is.current=p,kt=f,On!==null?r=0:(kn=null,ir=0,r=qn)}if(r!==0){if(r===2&&(f=xl(n),f!==0&&(o=f,r=pp(n,f))),r===1)throw l=Vs,Uu(n,0),qa(n,o),Mr(n,jt()),l;if(r===6)qa(n,o);else{if(f=n.current.alternate,!(o&30)&&!vp(f)&&(r=Cf(n,o),r===2&&(p=xl(n),p!==0&&(o=p,r=pp(n,p))),r===1))throw l=Vs,Uu(n,0),qa(n,o),Mr(n,jt()),l;switch(n.finishedWork=f,n.finishedLanes=o,r){case 0:case 1:throw Error(v(345));case 2:zu(n,Br,nl);break;case 3:if(qa(n,o),(o&130023424)===o&&(r=dp+500-jt(),10<r)){if(Pr(n,0)!==0)break;if(f=n.suspendedLanes,(f&o)!==o){Or(),n.pingedLanes|=n.suspendedLanes&f;break}n.timeoutHandle=mu(zu.bind(null,n,Br,nl),r);break}zu(n,Br,nl);break;case 4:if(qa(n,o),(o&4194240)===o)break;for(r=n.eventTimes,f=-1;0<o;){var S=31-jr(o);p=1<<S,S=r[S],S>f&&(f=S),o&=~p}if(o=f,o=jt()-o,o=(120>o?120:480>o?480:1080>o?1080:1920>o?1920:3e3>o?3e3:4320>o?4320:1960*hf(o/1960))-o,10<o){n.timeoutHandle=mu(zu.bind(null,n,Br,nl),o);break}zu(n,Br,nl);break;case 5:zu(n,Br,nl);break;default:throw Error(v(329))}}}return Mr(n,jt()),n.callbackNode===l?Fo.bind(null,n):null}function pp(n,r){var l=Ou;return n.current.memoizedState.isDehydrated&&(Uu(n,r).flags|=256),n=Cf(n,r),n!==2&&(r=Br,Br=l,r!==null&&$s(r)),n}function $s(n){Br===null?Br=n:Br.push.apply(Br,n)}function vp(n){for(var r=n;;){if(r.flags&16384){var l=r.updateQueue;if(l!==null&&(l=l.stores,l!==null))for(var o=0;o<l.length;o++){var f=l[o],p=f.getSnapshot;f=f.value;try{if(!Fa(p(),f))return!1}catch{return!1}}}if(l=r.child,r.subtreeFlags&16384&&l!==null)l.return=r,r=l;else{if(r===n)break;for(;r.sibling===null;){if(r.return===null||r.return===n)return!0;r=r.return}r.sibling.return=r.return,r=r.sibling}}return!0}function qa(n,r){for(r&=~zo,r&=~mf,n.suspendedLanes|=r,n.pingedLanes&=~r,n=n.expirationTimes;0<r;){var l=31-jr(r),o=1<<l;n[l]=-1,r&=~o}}function Th(n){if(kt&6)throw Error(v(327));Ho();var r=Pr(n,0);if(!(r&1))return Mr(n,jt()),null;var l=Cf(n,r);if(n.tag!==0&&l===2){var o=xl(n);o!==0&&(r=o,l=pp(n,o))}if(l===1)throw l=Vs,Uu(n,0),qa(n,r),Mr(n,jt()),l;if(l===6)throw Error(v(345));return n.finishedWork=n.current.alternate,n.finishedLanes=r,zu(n,Br,nl),Mr(n,jt()),null}function Bo(n,r){var l=kt;kt|=1;try{return n(r)}finally{kt=l,kt===0&&(jo=jt()+500,nr&&ua())}}function Ql(n){Wl!==null&&Wl.tag===0&&!(kt&6)&&Ho();var r=kt;kt|=1;var l=Lr.transition,o=Ht;try{if(Lr.transition=null,Ht=1,n)return n()}finally{Ht=o,Lr.transition=l,kt=r,!(kt&6)&&ua()}}function hp(){Da=Uo.current,Yt(Uo)}function Uu(n,r){n.finishedWork=null,n.finishedLanes=0;var l=n.timeoutHandle;if(l!==-1&&(n.timeoutHandle=-1,Jv(l)),On!==null)for(l=On.return;l!==null;){var o=l;switch(Bd(o),o.tag){case 1:o=o.type.childContextTypes,o!=null&&Ia();break;case 3:Hl(),Yt(Ln),Yt(rt),Yc();break;case 5:bt(o);break;case 4:Hl();break;case 13:Yt(Ze);break;case 19:Yt(Ze);break;case 10:jl(o.type._context);break;case 22:case 23:hp()}l=l.return}if(kn=n,On=n=Gl(n.current,null),ir=Da=r,qn=0,Vs=null,zo=mf=tl=0,Br=Ou=null,pr!==null){for(r=0;r<pr.length;r++)if(l=pr[r],o=l.interleaved,o!==null){l.interleaved=null;var f=o.next,p=l.pending;if(p!==null){var S=p.next;p.next=f,o.next=S}l.pending=o}pr=null}return n}function Rh(n,r){do{var l=On;try{if($d(),Wc.current=sf,et){for(var o=mn.memoizedState;o!==null;){var f=o.queue;f!==null&&(f.pending=null),o=o.next}et=!1}if(Cu=0,Nt=Z=mn=null,_i=!1,_a=0,fp.current=null,l===null||l.return===null){qn=1,Vs=r,On=null;break}e:{var p=n,S=l.return,T=l,O=r;if(r=ir,T.flags|=32768,O!==null&&typeof O=="object"&&typeof O.then=="function"){var W=O,ie=T,ue=ie.tag;if(!(ie.mode&1)&&(ue===0||ue===11||ue===15)){var ae=ie.alternate;ae?(ie.updateQueue=ae.updateQueue,ie.memoizedState=ae.memoizedState,ie.lanes=ae.lanes):(ie.updateQueue=null,ie.memoizedState=null)}var Ee=Jd(S);if(Ee!==null){Ee.flags&=-257,ep(Ee,S,T,p,r),Ee.mode&1&&vh(p,W,r),r=Ee,O=W;var Oe=r.updateQueue;if(Oe===null){var Ue=new Set;Ue.add(O),r.updateQueue=Ue}else Oe.add(O);break e}else{if(!(r&1)){vh(p,W,r),mp();break e}O=Error(v(426))}}else if(hn&&T.mode&1){var zn=Jd(S);if(zn!==null){!(zn.flags&65536)&&(zn.flags|=256),ep(zn,S,T,p,r),Id(_o(O,T));break e}}p=O=_o(O,T),qn!==4&&(qn=2),Ou===null?Ou=[p]:Ou.push(p),p=S;do{switch(p.tag){case 3:p.flags|=65536,r&=-r,p.lanes|=r;var P=ph(p,O,r);Qd(p,P);break e;case 1:T=O;var U=p.type,I=p.stateNode;if(!(p.flags&128)&&(typeof U.getDerivedStateFromError=="function"||I!==null&&typeof I.componentDidCatch=="function"&&(Oi===null||!Oi.has(I)))){p.flags|=65536,r&=-r,p.lanes|=r;var fe=Us(p,T,r);Qd(p,fe);break e}}p=p.return}while(p!==null)}gp(l)}catch(je){r=je,On===l&&l!==null&&(On=l=l.return);continue}break}while(1)}function Ef(){var n=Is.current;return Is.current=sf,n===null?sf:n}function mp(){(qn===0||qn===3||qn===2)&&(qn=4),kn===null||!(tl&268435455)&&!(mf&268435455)||qa(kn,ir)}function Cf(n,r){var l=kt;kt|=2;var o=Ef();(kn!==n||ir!==r)&&(nl=null,Uu(n,r));do try{Vg();break}catch(f){Rh(n,f)}while(1);if($d(),kt=l,Is.current=o,On!==null)throw Error(v(261));return kn=null,ir=0,qn}function Vg(){for(;On!==null;)kh(On)}function $g(){for(;On!==null&&!Ci();)kh(On)}function kh(n){var r=Dh(n.alternate,n,Da);n.memoizedProps=n.pendingProps,r===null?gp(n):On=r,fp.current=null}function gp(n){var r=n;do{var l=r.alternate;if(n=r.return,r.flags&32768){if(l=up(l,r),l!==null){l.flags&=32767,On=l;return}if(n!==null)n.flags|=32768,n.subtreeFlags=0,n.deletions=null;else{qn=6,On=null;return}}else if(l=Ig(l,r,Da),l!==null){On=l;return}if(r=r.sibling,r!==null){On=r;return}On=r=n}while(r!==null);qn===0&&(qn=5)}function zu(n,r,l){var o=Ht,f=Lr.transition;try{Lr.transition=null,Ht=1,Yg(n,r,l,o)}finally{Lr.transition=f,Ht=o}return null}function Yg(n,r,l,o){do Ho();while(Wl!==null);if(kt&6)throw Error(v(327));l=n.finishedWork;var f=n.finishedLanes;if(l===null)return null;if(n.finishedWork=null,n.finishedLanes=0,l===n.current)throw Error(v(177));n.callbackNode=null,n.callbackPriority=0;var p=l.lanes|l.childLanes;if(pd(n,p),n===kn&&(On=kn=null,ir=0),!(l.subtreeFlags&2064)&&!(l.flags&2064)||Yl||(Yl=!0,yp(wi,function(){return Ho(),null})),p=(l.flags&15990)!==0,l.subtreeFlags&15990||p){p=Lr.transition,Lr.transition=null;var S=Ht;Ht=1;var T=kt;kt|=4,fp.current=null,Sh(n,l),Ch(l,n),_c(hu),Pa=!!Nd,hu=Nd=null,n.current=l,wh(l),to(),kt=T,Ht=S,Lr.transition=p}else n.current=l;if(Yl&&(Yl=!1,Wl=n,yf=f),p=n.pendingLanes,p===0&&(Oi=null),os(l.stateNode),Mr(n,jt()),r!==null)for(o=n.onRecoverableError,l=0;l<r.length;l++)f=r[l],o(f.value,{componentStack:f.stack,digest:f.digest});if(gf)throw gf=!1,n=Nu,Nu=null,n;return yf&1&&n.tag!==0&&Ho(),p=n.pendingLanes,p&1?n===Sf?Po++:(Po=0,Sf=n):Po=0,ua(),null}function Ho(){if(Wl!==null){var n=lo(yf),r=Lr.transition,l=Ht;try{if(Lr.transition=null,Ht=16>n?16:n,Wl===null)var o=!1;else{if(n=Wl,Wl=null,yf=0,kt&6)throw Error(v(331));var f=kt;for(kt|=4,_e=n.current;_e!==null;){var p=_e,S=p.child;if(_e.flags&16){var T=p.deletions;if(T!==null){for(var O=0;O<T.length;O++){var W=T[O];for(_e=W;_e!==null;){var ie=_e;switch(ie.tag){case 0:case 11:case 15:Bs(8,ie,p)}var ue=ie.child;if(ue!==null)ue.return=ie,_e=ue;else for(;_e!==null;){ie=_e;var ae=ie.sibling,Ee=ie.return;if(sp(ie),ie===W){_e=null;break}if(ae!==null){ae.return=Ee,_e=ae;break}_e=Ee}}}var Oe=p.alternate;if(Oe!==null){var Ue=Oe.child;if(Ue!==null){Oe.child=null;do{var zn=Ue.sibling;Ue.sibling=null,Ue=zn}while(Ue!==null)}}_e=p}}if(p.subtreeFlags&2064&&S!==null)S.return=p,_e=S;else e:for(;_e!==null;){if(p=_e,p.flags&2048)switch(p.tag){case 0:case 11:case 15:Bs(9,p,p.return)}var P=p.sibling;if(P!==null){P.return=p.return,_e=P;break e}_e=p.return}}var U=n.current;for(_e=U;_e!==null;){S=_e;var I=S.child;if(S.subtreeFlags&2064&&I!==null)I.return=S,_e=I;else e:for(S=U;_e!==null;){if(T=_e,T.flags&2048)try{switch(T.tag){case 0:case 11:case 15:Hs(9,T)}}catch(je){Nn(T,T.return,je)}if(T===S){_e=null;break e}var fe=T.sibling;if(fe!==null){fe.return=T.return,_e=fe;break e}_e=T.return}}if(kt=f,ua(),na&&typeof na.onPostCommitFiberRoot=="function")try{na.onPostCommitFiberRoot(Sl,n)}catch{}o=!0}return o}finally{Ht=l,Lr.transition=r}}return!1}function _h(n,r,l){r=_o(l,r),r=ph(n,r,1),n=Fl(n,r,1),r=Or(),n!==null&&(Bi(n,1,r),Mr(n,r))}function Nn(n,r,l){if(n.tag===3)_h(n,n,l);else for(;r!==null;){if(r.tag===3){_h(r,n,l);break}else if(r.tag===1){var o=r.stateNode;if(typeof r.type.getDerivedStateFromError=="function"||typeof o.componentDidCatch=="function"&&(Oi===null||!Oi.has(o))){n=_o(l,n),n=Us(r,n,1),r=Fl(r,n,1),n=Or(),r!==null&&(Bi(r,1,n),Mr(r,n));break}}r=r.return}}function Wg(n,r,l){var o=n.pingCache;o!==null&&o.delete(r),r=Or(),n.pingedLanes|=n.suspendedLanes&l,kn===n&&(ir&l)===l&&(qn===4||qn===3&&(ir&130023424)===ir&&500>jt()-dp?Uu(n,0):zo|=l),Mr(n,r)}function wf(n,r){r===0&&(n.mode&1?(r=El,El<<=1,!(El&130023424)&&(El=4194304)):r=1);var l=Or();n=Ki(n,r),n!==null&&(Bi(n,r,l),Mr(n,l))}function Qg(n){var r=n.memoizedState,l=0;r!==null&&(l=r.retryLane),wf(n,l)}function Gg(n,r){var l=0;switch(n.tag){case 13:var o=n.stateNode,f=n.memoizedState;f!==null&&(l=f.retryLane);break;case 19:o=n.stateNode;break;default:throw Error(v(314))}o!==null&&o.delete(r),wf(n,l)}var Dh;Dh=function(n,r,l){if(n!==null)if(n.memoizedProps!==r.pendingProps||Ln.current)Bn=!0;else{if(!(n.lanes&l)&&!(r.flags&128))return Bn=!1,Ji(n,r,l);Bn=!!(n.flags&131072)}else Bn=!1,hn&&r.flags&1048576&&Fd(r,Co,r.index);switch(r.lanes=0,r.tag){case 2:var o=r.type;_r(n,r),n=r.pendingProps;var f=Ha(r,rt.current);ve(r,l),f=Il(null,r,o,n,f,l);var p=bu();return r.flags|=1,typeof f=="object"&&f!==null&&typeof f.render=="function"&&f.$$typeof===void 0?(r.tag=1,r.memoizedState=null,r.updateQueue=null,Sn(o)?(p=!0,Ac(r)):p=!1,r.memoizedState=f.state!==null&&f.state!==void 0?f.state:null,Wd(r),f.updater=Ic,r.stateNode=f,f._reactInternals=r,Vc(r,o,n,l),r=hh(null,r,o,!0,p,l)):(r.tag=0,hn&&p&&Uc(r),Wn(null,r,f,l),r=r.child),r;case 16:o=r.elementType;e:{switch(_r(n,r),n=r.pendingProps,f=o._init,o=f(o._payload),r.type=o,f=r.tag=Kg(o),n=ka(o,n),f){case 0:r=Do(null,r,o,n,l);break e;case 1:r=tp(null,r,o,n,l);break e;case 11:r=$l(null,r,o,n,l);break e;case 14:r=ff(null,r,o,ka(o.type,n),l);break e}throw Error(v(306,o,""))}return r;case 0:return o=r.type,f=r.pendingProps,f=r.elementType===o?f:ka(o,f),Do(n,r,o,f,l);case 1:return o=r.type,f=r.pendingProps,f=r.elementType===o?f:ka(o,f),tp(n,r,o,f,l);case 3:e:{if(mh(r),n===null)throw Error(v(387));o=r.pendingProps,p=r.memoizedState,f=p.element,Yn(n,r),Bl(r,o,null,l);var S=r.memoizedState;if(o=S.element,p.isDehydrated)if(p={element:o,isDehydrated:!1,cache:S.cache,pendingSuspenseBoundaries:S.pendingSuspenseBoundaries,transitions:S.transitions},r.updateQueue.baseState=p,r.memoizedState=p,r.flags&256){f=_o(Error(v(423)),r),r=df(n,r,o,l,f);break e}else if(o!==f){f=_o(Error(v(424)),r),r=df(n,r,o,l,f);break e}else for(ca=fi(r.stateNode.containerInfo.firstChild),Ra=r,hn=!0,$a=null,l=fh(r,null,o,l),r.child=l;l;)l.flags=l.flags&-3|4096,l=l.sibling;else{if(Tn(),o===f){r=vr(n,r,l);break e}Wn(n,r,o,l)}r=r.child}return r;case 5:return qe(r),n===null&&jc(r),o=r.type,f=r.pendingProps,p=n!==null?n.memoizedProps:null,S=f.children,xs(o,f)?S=null:p!==null&&xs(o,p)&&(r.flags|=32),gt(n,r),Wn(n,r,S,l),r.child;case 6:return n===null&&jc(r),null;case 13:return rp(n,r,l);case 4:return qd(r,r.stateNode.containerInfo),o=r.pendingProps,n===null?r.child=xo(r,null,o,l):Wn(n,r,o,l),r.child;case 11:return o=r.type,f=r.pendingProps,f=r.elementType===o?f:ka(o,f),$l(n,r,o,f,l);case 7:return Wn(n,r,r.pendingProps,l),r.child;case 8:return Wn(n,r,r.pendingProps.children,l),r.child;case 12:return Wn(n,r,r.pendingProps.children,l),r.child;case 10:e:{if(o=r.type._context,f=r.pendingProps,p=r.memoizedProps,S=f.value,Xt(ki,o._currentValue),o._currentValue=S,p!==null)if(Fa(p.value,S)){if(p.children===f.children&&!Ln.current){r=vr(n,r,l);break e}}else for(p=r.child,p!==null&&(p.return=r);p!==null;){var T=p.dependencies;if(T!==null){S=p.child;for(var O=T.firstContext;O!==null;){if(O.context===o){if(p.tag===1){O=Xi(-1,l&-l),O.tag=2;var W=p.updateQueue;if(W!==null){W=W.shared;var ie=W.pending;ie===null?O.next=O:(O.next=ie.next,ie.next=O),W.pending=O}}p.lanes|=l,O=p.alternate,O!==null&&(O.lanes|=l),rr(p.return,l,r),T.lanes|=l;break}O=O.next}}else if(p.tag===10)S=p.type===r.type?null:p.child;else if(p.tag===18){if(S=p.return,S===null)throw Error(v(341));S.lanes|=l,T=S.alternate,T!==null&&(T.lanes|=l),rr(S,l,r),S=p.sibling}else S=p.child;if(S!==null)S.return=p;else for(S=p;S!==null;){if(S===r){S=null;break}if(p=S.sibling,p!==null){p.return=S.return,S=p;break}S=S.return}p=S}Wn(n,r,f.children,l),r=r.child}return r;case 9:return f=r.type,o=r.pendingProps.children,ve(r,l),f=Un(f),o=o(f),r.flags|=1,Wn(n,r,o,l),r.child;case 14:return o=r.type,f=ka(o,r.pendingProps),f=ka(o.type,f),ff(n,r,o,f,l);case 15:return pa(n,r,r.type,r.pendingProps,l);case 17:return o=r.type,f=r.pendingProps,f=r.elementType===o?f:ka(o,f),_r(n,r),r.tag=1,Sn(o)?(n=!0,Ac(r)):n=!1,ve(r,l),uh(r,o,f),Vc(r,o,f,l),hh(null,r,o,!0,n,l);case 19:return lp(n,r,l);case 22:return _u(n,r,l)}throw Error(v(156,r.tag))};function yp(n,r){return cn(n,r)}function qg(n,r,l,o){this.tag=n,this.key=l,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=r,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=o,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Ka(n,r,l,o){return new qg(n,r,l,o)}function Sp(n){return n=n.prototype,!(!n||!n.isReactComponent)}function Kg(n){if(typeof n=="function")return Sp(n)?1:0;if(n!=null){if(n=n.$$typeof,n===pn)return 11;if(n===Ae)return 14}return 2}function Gl(n,r){var l=n.alternate;return l===null?(l=Ka(n.tag,r,n.key,n.mode),l.elementType=n.elementType,l.type=n.type,l.stateNode=n.stateNode,l.alternate=n,n.alternate=l):(l.pendingProps=r,l.type=n.type,l.flags=0,l.subtreeFlags=0,l.deletions=null),l.flags=n.flags&14680064,l.childLanes=n.childLanes,l.lanes=n.lanes,l.child=n.child,l.memoizedProps=n.memoizedProps,l.memoizedState=n.memoizedState,l.updateQueue=n.updateQueue,r=n.dependencies,l.dependencies=r===null?null:{lanes:r.lanes,firstContext:r.firstContext},l.sibling=n.sibling,l.index=n.index,l.ref=n.ref,l}function xf(n,r,l,o,f,p){var S=2;if(o=n,typeof n=="function")Sp(n)&&(S=1);else if(typeof n=="string")S=5;else e:switch(n){case Le:return ju(l.children,f,p,r);case Tt:S=8,f|=8;break;case tn:return n=Ka(12,l,r,f|2),n.elementType=tn,n.lanes=p,n;case Qe:return n=Ka(13,l,r,f),n.elementType=Qe,n.lanes=p,n;case ft:return n=Ka(19,l,r,f),n.elementType=ft,n.lanes=p,n;case ge:return Ys(l,f,p,r);default:if(typeof n=="object"&&n!==null)switch(n.$$typeof){case zt:S=10;break e;case Ct:S=9;break e;case pn:S=11;break e;case Ae:S=14;break e;case lt:S=16,o=null;break e}throw Error(v(130,n==null?n:typeof n,""))}return r=Ka(S,l,r,f),r.elementType=n,r.type=o,r.lanes=p,r}function ju(n,r,l,o){return n=Ka(7,n,o,r),n.lanes=l,n}function Ys(n,r,l,o){return n=Ka(22,n,o,r),n.elementType=ge,n.lanes=l,n.stateNode={isHidden:!1},n}function Ws(n,r,l){return n=Ka(6,n,null,r),n.lanes=l,n}function Pu(n,r,l){return r=Ka(4,n.children!==null?n.children:[],n.key,r),r.lanes=l,r.stateNode={containerInfo:n.containerInfo,pendingChildren:null,implementation:n.implementation},r}function Xg(n,r,l,o,f){this.tag=r,this.containerInfo=n,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=io(0),this.expirationTimes=io(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=io(0),this.identifierPrefix=o,this.onRecoverableError=f,this.mutableSourceEagerHydrationData=null}function bf(n,r,l,o,f,p,S,T,O){return n=new Xg(n,r,l,T,O),r===1?(r=1,p===!0&&(r|=8)):r=0,p=Ka(3,null,null,r),n.current=p,p.stateNode=n,p.memoizedState={element:o,isDehydrated:l,cache:null,transitions:null,pendingSuspenseBoundaries:null},Wd(p),n}function Lh(n,r,l){var o=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:ke,key:o==null?null:""+o,children:n,containerInfo:r,implementation:l}}function Ep(n){if(!n)return Ri;n=n._reactInternals;e:{if(vt(n)!==n||n.tag!==1)throw Error(v(170));var r=n;do{switch(r.tag){case 3:r=r.stateNode.context;break e;case 1:if(Sn(r.type)){r=r.stateNode.__reactInternalMemoizedMergedChildContext;break e}}r=r.return}while(r!==null);throw Error(v(171))}if(n.tag===1){var l=n.type;if(Sn(l))return Rs(n,l,r)}return r}function Oh(n,r,l,o,f,p,S,T,O){return n=bf(l,o,!0,n,f,p,S,T,O),n.context=Ep(null),l=n.current,o=Or(),f=Hn(l),p=Xi(o,f),p.callback=r??null,Fl(l,p,f),n.current.lanes=f,Bi(n,f,o),Mr(n,o),n}function Qs(n,r,l,o){var f=r.current,p=Or(),S=Hn(f);return l=Ep(l),r.context===null?r.context=l:r.pendingContext=l,r=Xi(p,S),r.payload={element:n},o=o===void 0?null:o,o!==null&&(r.callback=o),n=Fl(f,r,S),n!==null&&(Nr(n,f,S,p),Hc(n,f,S)),S}function Tf(n){if(n=n.current,!n.child)return null;switch(n.child.tag){case 5:return n.child.stateNode;default:return n.child.stateNode}}function Nh(n,r){if(n=n.memoizedState,n!==null&&n.dehydrated!==null){var l=n.retryLane;n.retryLane=l!==0&&l<r?l:r}}function Cp(n,r){Nh(n,r),(n=n.alternate)&&Nh(n,r)}function Mh(){return null}var wp=typeof reportError=="function"?reportError:function(n){console.error(n)};function Rf(n){this._internalRoot=n}rl.prototype.render=Rf.prototype.render=function(n){var r=this._internalRoot;if(r===null)throw Error(v(409));Qs(n,r,null,null)},rl.prototype.unmount=Rf.prototype.unmount=function(){var n=this._internalRoot;if(n!==null){this._internalRoot=null;var r=n.containerInfo;Ql(function(){Qs(null,n,null,null)}),r[Gi]=null}};function rl(n){this._internalRoot=n}rl.prototype.unstable_scheduleHydration=function(n){if(n){var r=oo();n={blockedOn:null,target:n,priority:r};for(var l=0;l<Kt.length&&r!==0&&r<Kt[l].priority;l++);Kt.splice(l,0,n),l===0&&Cc(n)}};function xp(n){return!(!n||n.nodeType!==1&&n.nodeType!==9&&n.nodeType!==11)}function kf(n){return!(!n||n.nodeType!==1&&n.nodeType!==9&&n.nodeType!==11&&(n.nodeType!==8||n.nodeValue!==" react-mount-point-unstable "))}function Ah(){}function Zg(n,r,l,o,f){if(f){if(typeof o=="function"){var p=o;o=function(){var W=Tf(S);p.call(W)}}var S=Oh(r,o,n,0,null,!1,!1,"",Ah);return n._reactRootContainer=S,n[Gi]=S.current,So(n.nodeType===8?n.parentNode:n),Ql(),S}for(;f=n.lastChild;)n.removeChild(f);if(typeof o=="function"){var T=o;o=function(){var W=Tf(O);T.call(W)}}var O=bf(n,0,!1,null,null,!1,!1,"",Ah);return n._reactRootContainer=O,n[Gi]=O.current,So(n.nodeType===8?n.parentNode:n),Ql(function(){Qs(r,O,l,o)}),O}function _f(n,r,l,o,f){var p=l._reactRootContainer;if(p){var S=p;if(typeof f=="function"){var T=f;f=function(){var O=Tf(S);T.call(O)}}Qs(r,S,n,f)}else S=Zg(l,r,n,f,o);return Tf(S)}ou=function(n){switch(n.tag){case 3:var r=n.stateNode;if(r.current.memoizedState.isDehydrated){var l=li(r.pendingLanes);l!==0&&(xi(r,l|1),Mr(r,jt()),!(kt&6)&&(jo=jt()+500,ua()))}break;case 13:Ql(function(){var o=Ki(n,1);if(o!==null){var f=Or();Nr(o,n,1,f)}}),Cp(n,1)}},uo=function(n){if(n.tag===13){var r=Ki(n,134217728);if(r!==null){var l=Or();Nr(r,n,134217728,l)}Cp(n,134217728)}},Pt=function(n){if(n.tag===13){var r=Hn(n),l=Ki(n,r);if(l!==null){var o=Or();Nr(l,n,r,o)}Cp(n,r)}},oo=function(){return Ht},so=function(n,r){var l=Ht;try{return Ht=n,r()}finally{Ht=l}},Ur=function(n,r,l){switch(r){case"input":if(Mn(n,l),r=l.name,l.type==="radio"&&r!=null){for(l=n;l.parentNode;)l=l.parentNode;for(l=l.querySelectorAll("input[name="+JSON.stringify(""+r)+'][type="radio"]'),r=0;r<l.length;r++){var o=l[r];if(o!==n&&o.form===n.form){var f=Ve(o);if(!f)throw Error(v(90));Xr(o),Mn(o,f)}}}break;case"textarea":Sa(n,l);break;case"select":r=l.value,r!=null&&br(n,!!l.multiple,r,!1)}},uu=Bo,eo=Ql;var Jg={usingClientEntryPoint:!1,Events:[Ts,Eo,Ve,za,ml,Bo]},Io={findFiberByHostInstance:Ba,bundleType:0,version:"18.2.0",rendererPackageName:"react-dom"},ey={bundleType:Io.bundleType,version:Io.version,rendererPackageName:Io.rendererPackageName,rendererConfig:Io.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:pt.ReactCurrentDispatcher,findHostInstanceByFiber:function(n){return n=Pn(n),n===null?null:n.stateNode},findFiberByHostInstance:Io.findFiberByHostInstance||Mh,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.2.0-next-9e3b772b8-20220608"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var Df=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Df.isDisabled&&Df.supportsFiber)try{Sl=Df.inject(ey),na=Df}catch{}}return ni.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Jg,ni.createPortal=function(n,r){var l=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!xp(r))throw Error(v(200));return Lh(n,r,null,l)},ni.createRoot=function(n,r){if(!xp(n))throw Error(v(299));var l=!1,o="",f=wp;return r!=null&&(r.unstable_strictMode===!0&&(l=!0),r.identifierPrefix!==void 0&&(o=r.identifierPrefix),r.onRecoverableError!==void 0&&(f=r.onRecoverableError)),r=bf(n,1,!1,null,null,l,!1,o,f),n[Gi]=r.current,So(n.nodeType===8?n.parentNode:n),new Rf(r)},ni.findDOMNode=function(n){if(n==null)return null;if(n.nodeType===1)return n;var r=n._reactInternals;if(r===void 0)throw typeof n.render=="function"?Error(v(188)):(n=Object.keys(n).join(","),Error(v(268,n)));return n=Pn(r),n=n===null?null:n.stateNode,n},ni.flushSync=function(n){return Ql(n)},ni.hydrate=function(n,r,l){if(!kf(r))throw Error(v(200));return _f(null,n,r,!0,l)},ni.hydrateRoot=function(n,r,l){if(!xp(n))throw Error(v(405));var o=l!=null&&l.hydratedSources||null,f=!1,p="",S=wp;if(l!=null&&(l.unstable_strictMode===!0&&(f=!0),l.identifierPrefix!==void 0&&(p=l.identifierPrefix),l.onRecoverableError!==void 0&&(S=l.onRecoverableError)),r=Oh(r,null,n,1,l??null,f,!1,p,S),n[Gi]=r.current,So(n),o)for(n=0;n<o.length;n++)l=o[n],f=l._getVersion,f=f(l._source),r.mutableSourceEagerHydrationData==null?r.mutableSourceEagerHydrationData=[l,f]:r.mutableSourceEagerHydrationData.push(l,f);return new rl(r)},ni.render=function(n,r,l){if(!kf(r))throw Error(v(200));return _f(null,n,r,!1,l)},ni.unmountComponentAtNode=function(n){if(!kf(n))throw Error(v(40));return n._reactRootContainer?(Ql(function(){_f(null,null,n,!1,function(){n._reactRootContainer=null,n[Gi]=null})}),!0):!1},ni.unstable_batchedUpdates=Bo,ni.unstable_renderSubtreeIntoContainer=function(n,r,l,o){if(!kf(l))throw Error(v(200));if(n==null||n._reactInternals===void 0)throw Error(v(38));return _f(n,r,l,!1,o)},ni.version="18.2.0-next-9e3b772b8-20220608",ni}var ri={};/**
115
+ * @license React
116
+ * react-dom.development.js
117
+ *
118
+ * Copyright (c) Facebook, Inc. and its affiliates.
119
+ *
120
+ * This source code is licensed under the MIT license found in the
121
+ * LICENSE file in the root directory of this source tree.
122
+ */var sb;function oN(){return sb||(sb=1,process.env.NODE_ENV!=="production"&&function(){typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error);var s=Fe,h=eT(),v=s.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,x=!1;function b(e){x=e}function j(e){if(!x){for(var t=arguments.length,a=new Array(t>1?t-1:0),i=1;i<t;i++)a[i-1]=arguments[i];Q("warn",e,a)}}function E(e){if(!x){for(var t=arguments.length,a=new Array(t>1?t-1:0),i=1;i<t;i++)a[i-1]=arguments[i];Q("error",e,a)}}function Q(e,t,a){{var i=v.ReactDebugCurrentFrame,u=i.getStackAddendum();u!==""&&(t+="%s",a=a.concat([u]));var c=a.map(function(d){return String(d)});c.unshift("Warning: "+t),Function.prototype.apply.call(console[e],console,c)}}var A=0,G=1,ne=2,F=3,te=4,le=5,we=6,Ke=7,Je=8,it=9,We=10,Ie=11,pt=12,Re=13,ke=14,Le=15,Tt=16,tn=17,zt=18,Ct=19,pn=21,Qe=22,ft=23,Ae=24,lt=25,ge=!0,ce=!1,ze=!1,D=!1,ee=!1,ye=!0,ut=!1,tt=!1,Lt=!0,yt=!0,Rt=!0,St=new Set,Wt={},Kr={};function xr(e,t){Xr(e,t),Xr(e+"Capture",t)}function Xr(e,t){Wt[e]&&E("EventRegistry: More than one plugin attempted to publish the same registration name, `%s`.",e),Wt[e]=t;{var a=e.toLowerCase();Kr[a]=e,e==="onDoubleClick"&&(Kr.ondblclick=e)}for(var i=0;i<t.length;i++)St.add(t[i])}var Cn=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",Zn=Object.prototype.hasOwnProperty;function Vn(e){{var t=typeof Symbol=="function"&&Symbol.toStringTag,a=t&&e[Symbol.toStringTag]||e.constructor.name||"Object";return a}}function $n(e){try{return Mn(e),!1}catch{return!0}}function Mn(e){return""+e}function Zr(e,t){if($n(e))return E("The provided `%s` attribute is an unsupported type %s. This value must be coerced to a string before before using it here.",t,Vn(e)),Mn(e)}function Jr(e){if($n(e))return E("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",Vn(e)),Mn(e)}function Jn(e,t){if($n(e))return E("The provided `%s` prop is an unsupported type %s. This value must be coerced to a string before before using it here.",t,Vn(e)),Mn(e)}function br(e,t){if($n(e))return E("The provided `%s` CSS property is an unsupported type %s. This value must be coerced to a string before before using it here.",t,Vn(e)),Mn(e)}function ea(e){if($n(e))return E("The provided HTML markup uses a value of unsupported type %s. This value must be coerced to a string before before using it here.",Vn(e)),Mn(e)}function Tr(e){if($n(e))return E("Form field values (value, checked, defaultValue, or defaultChecked props) must be strings, not %s. This value must be coerced to a string before before using it here.",Vn(e)),Mn(e)}var Sa=0,cr=1,ta=2,wn=3,Ar=4,gi=5,Ea=6,de=":A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD",Be=de+"\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040",Et=new RegExp("^["+de+"]["+Be+"]*$"),$t={},Qt={};function An(e){return Zn.call(Qt,e)?!0:Zn.call($t,e)?!1:Et.test(e)?(Qt[e]=!0,!0):($t[e]=!0,E("Invalid attribute name: `%s`",e),!1)}function xn(e,t,a){return t!==null?t.type===Sa:a?!1:e.length>2&&(e[0]==="o"||e[0]==="O")&&(e[1]==="n"||e[1]==="N")}function Rr(e,t,a,i){if(a!==null&&a.type===Sa)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":{if(i)return!1;if(a!==null)return!a.acceptsBooleans;var u=e.toLowerCase().slice(0,5);return u!=="data-"&&u!=="aria-"}default:return!1}}function Jt(e,t,a,i){if(t===null||typeof t>"u"||Rr(e,t,a,i))return!0;if(i)return!1;if(a!==null)switch(a.type){case wn:return!t;case Ar:return t===!1;case gi:return isNaN(t);case Ea:return isNaN(t)||t<1}return!1}function Ur(e){return qt.hasOwnProperty(e)?qt[e]:null}function Gt(e,t,a,i,u,c,d){this.acceptsBooleans=t===ta||t===wn||t===Ar,this.attributeName=i,this.attributeNamespace=u,this.mustUseProperty=a,this.propertyName=e,this.type=t,this.sanitizeURL=c,this.removeEmptyString=d}var qt={},ai=["children","dangerouslySetInnerHTML","defaultValue","defaultChecked","innerHTML","suppressContentEditableWarning","suppressHydrationWarning","style"];ai.forEach(function(e){qt[e]=new Gt(e,Sa,!1,e,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0],a=e[1];qt[t]=new Gt(t,cr,!1,a,null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(e){qt[e]=new Gt(e,ta,!1,e.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){qt[e]=new Gt(e,ta,!1,e,null,!1,!1)}),["allowFullScreen","async","autoFocus","autoPlay","controls","default","defer","disabled","disablePictureInPicture","disableRemotePlayback","formNoValidate","hidden","loop","noModule","noValidate","open","playsInline","readOnly","required","reversed","scoped","seamless","itemScope"].forEach(function(e){qt[e]=new Gt(e,wn,!1,e.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(e){qt[e]=new Gt(e,wn,!0,e,null,!1,!1)}),["capture","download"].forEach(function(e){qt[e]=new Gt(e,Ar,!1,e,null,!1,!1)}),["cols","rows","size","span"].forEach(function(e){qt[e]=new Gt(e,Ea,!1,e,null,!1,!1)}),["rowSpan","start"].forEach(function(e){qt[e]=new Gt(e,gi,!1,e.toLowerCase(),null,!1,!1)});var za=/[\-\:]([a-z])/g,ml=function(e){return e[1].toUpperCase()};["accent-height","alignment-baseline","arabic-form","baseline-shift","cap-height","clip-path","clip-rule","color-interpolation","color-interpolation-filters","color-profile","color-rendering","dominant-baseline","enable-background","fill-opacity","fill-rule","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","glyph-name","glyph-orientation-horizontal","glyph-orientation-vertical","horiz-adv-x","horiz-origin-x","image-rendering","letter-spacing","lighting-color","marker-end","marker-mid","marker-start","overline-position","overline-thickness","paint-order","panose-1","pointer-events","rendering-intent","shape-rendering","stop-color","stop-opacity","strikethrough-position","strikethrough-thickness","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","text-anchor","text-decoration","text-rendering","underline-position","underline-thickness","unicode-bidi","unicode-range","units-per-em","v-alphabetic","v-hanging","v-ideographic","v-mathematical","vector-effect","vert-adv-y","vert-origin-x","vert-origin-y","word-spacing","writing-mode","xmlns:xlink","x-height"].forEach(function(e){var t=e.replace(za,ml);qt[t]=new Gt(t,cr,!1,e,null,!1,!1)}),["xlink:actuate","xlink:arcrole","xlink:role","xlink:show","xlink:title","xlink:type"].forEach(function(e){var t=e.replace(za,ml);qt[t]=new Gt(t,cr,!1,e,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(za,ml);qt[t]=new Gt(t,cr,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(e){qt[e]=new Gt(e,cr,!1,e.toLowerCase(),null,!1,!1)});var uu="xlinkHref";qt[uu]=new Gt("xlinkHref",cr,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(e){qt[e]=new Gt(e,cr,!1,e.toLowerCase(),null,!0,!0)});var eo=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*\:/i,Fi=!1;function gl(e){!Fi&&eo.test(e)&&(Fi=!0,E("A future version of React will block javascript: URLs as a security precaution. Use event handlers instead if you can. If you need to generate unsafe HTML try using dangerouslySetInnerHTML instead. React was passed %s.",JSON.stringify(e)))}function Ca(e,t,a,i){if(i.mustUseProperty){var u=i.propertyName;return e[u]}else{Zr(a,t),i.sanitizeURL&&gl(""+a);var c=i.attributeName,d=null;if(i.type===Ar){if(e.hasAttribute(c)){var m=e.getAttribute(c);return m===""?!0:Jt(t,a,i,!1)?m:m===""+a?a:m}}else if(e.hasAttribute(c)){if(Jt(t,a,i,!1))return e.getAttribute(c);if(i.type===wn)return a;d=e.getAttribute(c)}return Jt(t,a,i,!1)?d===null?a:d:d===""+a?a:d}}function yi(e,t,a,i){{if(!An(t))return;if(!e.hasAttribute(t))return a===void 0?void 0:null;var u=e.getAttribute(t);return Zr(a,t),u===""+a?a:u}}function wa(e,t,a,i){var u=Ur(t);if(!xn(t,u,i)){if(Jt(t,a,u,i)&&(a=null),i||u===null){if(An(t)){var c=t;a===null?e.removeAttribute(c):(Zr(a,t),e.setAttribute(c,""+a))}return}var d=u.mustUseProperty;if(d){var m=u.propertyName;if(a===null){var g=u.type;e[m]=g===wn?!1:""}else e[m]=a;return}var C=u.attributeName,w=u.attributeNamespace;if(a===null)e.removeAttribute(C);else{var z=u.type,M;z===wn||z===Ar&&a===!0?M="":(Zr(a,C),M=""+a,u.sanitizeURL&&gl(M.toString())),w?e.setAttributeNS(w,C,M):e.setAttribute(C,M)}}}var Si=Symbol.for("react.element"),zr=Symbol.for("react.portal"),xa=Symbol.for("react.fragment"),Ei=Symbol.for("react.strict_mode"),k=Symbol.for("react.profiler"),re=Symbol.for("react.provider"),pe=Symbol.for("react.context"),xe=Symbol.for("react.forward_ref"),vt=Symbol.for("react.suspense"),Ot=Symbol.for("react.suspense_list"),ht=Symbol.for("react.memo"),$e=Symbol.for("react.lazy"),Pn=Symbol.for("react.scope"),sn=Symbol.for("react.debug_trace_mode"),cn=Symbol.for("react.offscreen"),fr=Symbol.for("react.legacy_hidden"),Ci=Symbol.for("react.cache"),to=Symbol.for("react.tracing_marker"),jt=Symbol.iterator,dd="@@iterator";function ii(e){if(e===null||typeof e!="object")return null;var t=jt&&e[jt]||e[dd];return typeof t=="function"?t:null}var wt=Object.assign,wi=0,yl,no,Sl,na,os,jr,ss;function cs(){}cs.__reactDisabledLog=!0;function Sc(){{if(wi===0){yl=console.log,no=console.info,Sl=console.warn,na=console.error,os=console.group,jr=console.groupCollapsed,ss=console.groupEnd;var e={configurable:!0,enumerable:!0,value:cs,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}wi++}}function ro(){{if(wi--,wi===0){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:wt({},e,{value:yl}),info:wt({},e,{value:no}),warn:wt({},e,{value:Sl}),error:wt({},e,{value:na}),group:wt({},e,{value:os}),groupCollapsed:wt({},e,{value:jr}),groupEnd:wt({},e,{value:ss})})}wi<0&&E("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var El=v.ReactCurrentDispatcher,li;function Pr(e,t,a){{if(li===void 0)try{throw Error()}catch(u){var i=u.stack.trim().match(/\n( *(at )?)/);li=i&&i[1]||""}return`
123
+ `+li+e}}var Cl=!1,wl;{var xl=typeof WeakMap=="function"?WeakMap:Map;wl=new xl}function ao(e,t){if(!e||Cl)return"";{var a=wl.get(e);if(a!==void 0)return a}var i;Cl=!0;var u=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var c;c=El.current,El.current=null,Sc();try{if(t){var d=function(){throw Error()};if(Object.defineProperty(d.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(d,[])}catch(Y){i=Y}Reflect.construct(e,[],d)}else{try{d.call()}catch(Y){i=Y}e.call(d.prototype)}}else{try{throw Error()}catch(Y){i=Y}e()}}catch(Y){if(Y&&i&&typeof Y.stack=="string"){for(var m=Y.stack.split(`
124
+ `),g=i.stack.split(`
125
+ `),C=m.length-1,w=g.length-1;C>=1&&w>=0&&m[C]!==g[w];)w--;for(;C>=1&&w>=0;C--,w--)if(m[C]!==g[w]){if(C!==1||w!==1)do if(C--,w--,w<0||m[C]!==g[w]){var z=`
126
+ `+m[C].replace(" at new "," at ");return e.displayName&&z.includes("<anonymous>")&&(z=z.replace("<anonymous>",e.displayName)),typeof e=="function"&&wl.set(e,z),z}while(C>=1&&w>=0);break}}}finally{Cl=!1,El.current=c,ro(),Error.prepareStackTrace=u}var M=e?e.displayName||e.name:"",V=M?Pr(M):"";return typeof e=="function"&&wl.set(e,V),V}function io(e,t,a){return ao(e,!0)}function Bi(e,t,a){return ao(e,!1)}function pd(e){var t=e.prototype;return!!(t&&t.isReactComponent)}function xi(e,t,a){if(e==null)return"";if(typeof e=="function")return ao(e,pd(e));if(typeof e=="string")return Pr(e);switch(e){case vt:return Pr("Suspense");case Ot:return Pr("SuspenseList")}if(typeof e=="object")switch(e.$$typeof){case xe:return Bi(e.render);case ht:return xi(e.type,t,a);case $e:{var i=e,u=i._payload,c=i._init;try{return xi(c(u),t,a)}catch{}}}return""}function Ht(e){switch(e._debugOwner&&e._debugOwner.type,e._debugSource,e.tag){case le:return Pr(e.type);case Tt:return Pr("Lazy");case Re:return Pr("Suspense");case Ct:return Pr("SuspenseList");case A:case ne:case Le:return Bi(e.type);case Ie:return Bi(e.type.render);case G:return io(e.type);default:return""}}function lo(e){try{var t="",a=e;do t+=Ht(a),a=a.return;while(a);return t}catch(i){return`
127
+ Error generating stack: `+i.message+`
128
+ `+i.stack}}function ou(e,t,a){var i=e.displayName;if(i)return i;var u=t.displayName||t.name||"";return u!==""?a+"("+u+")":a}function uo(e){return e.displayName||"Context"}function Pt(e){if(e==null)return null;if(typeof e.tag=="number"&&E("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case xa:return"Fragment";case zr:return"Portal";case k:return"Profiler";case Ei:return"StrictMode";case vt:return"Suspense";case Ot:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case pe:var t=e;return uo(t)+".Consumer";case re:var a=e;return uo(a._context)+".Provider";case xe:return ou(e,e.render,"ForwardRef");case ht:var i=e.displayName||null;return i!==null?i:Pt(e.type)||"Memo";case $e:{var u=e,c=u._payload,d=u._init;try{return Pt(d(c))}catch{return null}}}return null}function oo(e,t,a){var i=t.displayName||t.name||"";return e.displayName||(i!==""?a+"("+i+")":a)}function so(e){return e.displayName||"Context"}function ot(e){var t=e.tag,a=e.type;switch(t){case Ae:return"Cache";case it:var i=a;return so(i)+".Consumer";case We:var u=a;return so(u._context)+".Provider";case zt:return"DehydratedFragment";case Ie:return oo(a,a.render,"ForwardRef");case Ke:return"Fragment";case le:return a;case te:return"Portal";case F:return"Root";case we:return"Text";case Tt:return Pt(a);case Je:return a===Ei?"StrictMode":"Mode";case Qe:return"Offscreen";case pt:return"Profiler";case pn:return"Scope";case Re:return"Suspense";case Ct:return"SuspenseList";case lt:return"TracingMarker";case G:case A:case tn:case ne:case ke:case Le:if(typeof a=="function")return a.displayName||a.name||null;if(typeof a=="string")return a;break}return null}var su=v.ReactDebugCurrentFrame,bn=null,ra=!1;function Fr(){{if(bn===null)return null;var e=bn._debugOwner;if(e!==null&&typeof e<"u")return ot(e)}return null}function bl(){return bn===null?"":lo(bn)}function Dn(){su.getCurrentStack=null,bn=null,ra=!1}function Kt(e){su.getCurrentStack=e===null?null:bl,bn=e,ra=!1}function Ec(){return bn}function aa(e){ra=e}function er(e){return""+e}function bi(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return Tr(e),e;default:return""}}var Cc={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0};function Hi(e,t){Cc[t.type]||t.onChange||t.onInput||t.readOnly||t.disabled||t.value==null||E("You provided a `value` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultValue`. Otherwise, set either `onChange` or `readOnly`."),t.onChange||t.readOnly||t.disabled||t.checked==null||E("You provided a `checked` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultChecked`. Otherwise, set either `onChange` or `readOnly`.")}function Tl(e){var t=e.type,a=e.nodeName;return a&&a.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function wc(e){return e._valueTracker}function ja(e){e._valueTracker=null}function Rl(e){var t="";return e&&(Tl(e)?t=e.checked?"true":"false":t=e.value),t}function kl(e){var t=Tl(e)?"checked":"value",a=Object.getOwnPropertyDescriptor(e.constructor.prototype,t);Tr(e[t]);var i=""+e[t];if(!(e.hasOwnProperty(t)||typeof a>"u"||typeof a.get!="function"||typeof a.set!="function")){var u=a.get,c=a.set;Object.defineProperty(e,t,{configurable:!0,get:function(){return u.call(this)},set:function(m){Tr(m),i=""+m,c.call(this,m)}}),Object.defineProperty(e,t,{enumerable:a.enumerable});var d={getValue:function(){return i},setValue:function(m){Tr(m),i=""+m},stopTracking:function(){ja(e),delete e[t]}};return d}}function Pa(e){wc(e)||(e._valueTracker=kl(e))}function co(e){if(!e)return!1;var t=wc(e);if(!t)return!0;var a=t.getValue(),i=Rl(e);return i!==a?(t.setValue(i),!0):!1}function _l(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}var Dl=!1,cu=!1,fo=!1,fs=!1;function ui(e){var t=e.type==="checkbox"||e.type==="radio";return t?e.checked!=null:e.value!=null}function y(e,t){var a=e,i=t.checked,u=wt({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:i??a._wrapperState.initialChecked});return u}function R(e,t){Hi("input",t),t.checked!==void 0&&t.defaultChecked!==void 0&&!cu&&(E("%s contains an input of type %s with both checked and defaultChecked props. Input elements must be either controlled or uncontrolled (specify either the checked prop, or the defaultChecked prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://reactjs.org/link/controlled-components",Fr()||"A component",t.type),cu=!0),t.value!==void 0&&t.defaultValue!==void 0&&!Dl&&(E("%s contains an input of type %s with both value and defaultValue props. Input elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://reactjs.org/link/controlled-components",Fr()||"A component",t.type),Dl=!0);var a=e,i=t.defaultValue==null?"":t.defaultValue;a._wrapperState={initialChecked:t.checked!=null?t.checked:t.defaultChecked,initialValue:bi(t.value!=null?t.value:i),controlled:ui(t)}}function $(e,t){var a=e,i=t.checked;i!=null&&wa(a,"checked",i,!1)}function q(e,t){var a=e;{var i=ui(t);!a._wrapperState.controlled&&i&&!fs&&(E("A component is changing an uncontrolled input to be controlled. This is likely caused by the value changing from undefined to a defined value, which should not happen. Decide between using a controlled or uncontrolled input element for the lifetime of the component. More info: https://reactjs.org/link/controlled-components"),fs=!0),a._wrapperState.controlled&&!i&&!fo&&(E("A component is changing a controlled input to be uncontrolled. This is likely caused by the value changing from a defined to undefined, which should not happen. Decide between using a controlled or uncontrolled input element for the lifetime of the component. More info: https://reactjs.org/link/controlled-components"),fo=!0)}$(e,t);var u=bi(t.value),c=t.type;if(u!=null)c==="number"?(u===0&&a.value===""||a.value!=u)&&(a.value=er(u)):a.value!==er(u)&&(a.value=er(u));else if(c==="submit"||c==="reset"){a.removeAttribute("value");return}t.hasOwnProperty("value")?Ge(a,t.type,u):t.hasOwnProperty("defaultValue")&&Ge(a,t.type,bi(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(a.defaultChecked=!!t.defaultChecked)}function se(e,t,a){var i=e;if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var u=t.type,c=u==="submit"||u==="reset";if(c&&(t.value===void 0||t.value===null))return;var d=er(i._wrapperState.initialValue);a||d!==i.value&&(i.value=d),i.defaultValue=d}var m=i.name;m!==""&&(i.name=""),i.defaultChecked=!i.defaultChecked,i.defaultChecked=!!i._wrapperState.initialChecked,m!==""&&(i.name=m)}function Xe(e,t){var a=e;q(a,t),me(a,t)}function me(e,t){var a=t.name;if(t.type==="radio"&&a!=null){for(var i=e;i.parentNode;)i=i.parentNode;Zr(a,"name");for(var u=i.querySelectorAll("input[name="+JSON.stringify(""+a)+'][type="radio"]'),c=0;c<u.length;c++){var d=u[c];if(!(d===e||d.form!==e.form)){var m=Xh(d);if(!m)throw new Error("ReactDOMInput: Mixing React and non-React radio inputs with the same `name` is not supported.");co(d),q(d,m)}}}}function Ge(e,t,a){(t!=="number"||_l(e.ownerDocument)!==e)&&(a==null?e.defaultValue=er(e._wrapperState.initialValue):e.defaultValue!==er(a)&&(e.defaultValue=er(a)))}var xt=!1,Ft=!1,an=!1;function en(e,t){t.value==null&&(typeof t.children=="object"&&t.children!==null?s.Children.forEach(t.children,function(a){a!=null&&(typeof a=="string"||typeof a=="number"||Ft||(Ft=!0,E("Cannot infer the option value of complex children. Pass a `value` prop or use a plain string as children to <option>.")))}):t.dangerouslySetInnerHTML!=null&&(an||(an=!0,E("Pass a `value` prop if you set dangerouslyInnerHTML so React knows which value should be selected.")))),t.selected!=null&&!xt&&(E("Use the `defaultValue` or `value` props on <select> instead of setting `selected` on <option>."),xt=!0)}function ln(e,t){t.value!=null&&e.setAttribute("value",er(bi(t.value)))}var fn=Array.isArray;function Dt(e){return fn(e)}var Ii;Ii=!1;function po(){var e=Fr();return e?`
129
+
130
+ Check the render method of \``+e+"`.":""}var ds=["value","defaultValue"];function vd(e){{Hi("select",e);for(var t=0;t<ds.length;t++){var a=ds[t];if(e[a]!=null){var i=Dt(e[a]);e.multiple&&!i?E("The `%s` prop supplied to <select> must be an array if `multiple` is true.%s",a,po()):!e.multiple&&i&&E("The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.%s",a,po())}}}}function oi(e,t,a,i){var u=e.options;if(t){for(var c=a,d={},m=0;m<c.length;m++)d["$"+c[m]]=!0;for(var g=0;g<u.length;g++){var C=d.hasOwnProperty("$"+u[g].value);u[g].selected!==C&&(u[g].selected=C),C&&i&&(u[g].defaultSelected=!0)}}else{for(var w=er(bi(a)),z=null,M=0;M<u.length;M++){if(u[M].value===w){u[M].selected=!0,i&&(u[M].defaultSelected=!0);return}z===null&&!u[M].disabled&&(z=u[M])}z!==null&&(z.selected=!0)}}function ps(e,t){return wt({},t,{value:void 0})}function vs(e,t){var a=e;vd(t),a._wrapperState={wasMultiple:!!t.multiple},t.value!==void 0&&t.defaultValue!==void 0&&!Ii&&(E("Select elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled select element and remove one of these props. More info: https://reactjs.org/link/controlled-components"),Ii=!0)}function hd(e,t){var a=e;a.multiple=!!t.multiple;var i=t.value;i!=null?oi(a,!!t.multiple,i,!1):t.defaultValue!=null&&oi(a,!!t.multiple,t.defaultValue,!0)}function Cg(e,t){var a=e,i=a._wrapperState.wasMultiple;a._wrapperState.wasMultiple=!!t.multiple;var u=t.value;u!=null?oi(a,!!t.multiple,u,!1):i!==!!t.multiple&&(t.defaultValue!=null?oi(a,!!t.multiple,t.defaultValue,!0):oi(a,!!t.multiple,t.multiple?[]:"",!1))}function wg(e,t){var a=e,i=t.value;i!=null&&oi(a,!!t.multiple,i,!1)}var md=!1;function gd(e,t){var a=e;if(t.dangerouslySetInnerHTML!=null)throw new Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");var i=wt({},t,{value:void 0,defaultValue:void 0,children:er(a._wrapperState.initialValue)});return i}function Rv(e,t){var a=e;Hi("textarea",t),t.value!==void 0&&t.defaultValue!==void 0&&!md&&(E("%s contains a textarea with both value and defaultValue props. Textarea elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled textarea and remove one of these props. More info: https://reactjs.org/link/controlled-components",Fr()||"A component"),md=!0);var i=t.value;if(i==null){var u=t.children,c=t.defaultValue;if(u!=null){E("Use the `defaultValue` or `value` props instead of setting children on <textarea>.");{if(c!=null)throw new Error("If you supply `defaultValue` on a <textarea>, do not pass children.");if(Dt(u)){if(u.length>1)throw new Error("<textarea> can only have at most one child.");u=u[0]}c=u}}c==null&&(c=""),i=c}a._wrapperState={initialValue:bi(i)}}function kv(e,t){var a=e,i=bi(t.value),u=bi(t.defaultValue);if(i!=null){var c=er(i);c!==a.value&&(a.value=c),t.defaultValue==null&&a.defaultValue!==c&&(a.defaultValue=c)}u!=null&&(a.defaultValue=er(u))}function _v(e,t){var a=e,i=a.textContent;i===a._wrapperState.initialValue&&i!==""&&i!==null&&(a.value=i)}function yd(e,t){kv(e,t)}var Vi="http://www.w3.org/1999/xhtml",xg="http://www.w3.org/1998/Math/MathML",Sd="http://www.w3.org/2000/svg";function xc(e){switch(e){case"svg":return Sd;case"math":return xg;default:return Vi}}function Ed(e,t){return e==null||e===Vi?xc(t):e===Sd&&t==="foreignObject"?Vi:e}var bg=function(e){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(t,a,i,u){MSApp.execUnsafeLocalFunction(function(){return e(t,a,i,u)})}:e},bc,Dv=bg(function(e,t){if(e.namespaceURI===Sd&&!("innerHTML"in e)){bc=bc||document.createElement("div"),bc.innerHTML="<svg>"+t.valueOf().toString()+"</svg>";for(var a=bc.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;a.firstChild;)e.appendChild(a.firstChild);return}e.innerHTML=t}),ia=1,$i=3,Fn=8,si=9,fu=11,Tc=function(e,t){if(t){var a=e.firstChild;if(a&&a===e.lastChild&&a.nodeType===$i){a.nodeValue=t;return}}e.textContent=t},Lv={animation:["animationDelay","animationDirection","animationDuration","animationFillMode","animationIterationCount","animationName","animationPlayState","animationTimingFunction"],background:["backgroundAttachment","backgroundClip","backgroundColor","backgroundImage","backgroundOrigin","backgroundPositionX","backgroundPositionY","backgroundRepeat","backgroundSize"],backgroundPosition:["backgroundPositionX","backgroundPositionY"],border:["borderBottomColor","borderBottomStyle","borderBottomWidth","borderImageOutset","borderImageRepeat","borderImageSlice","borderImageSource","borderImageWidth","borderLeftColor","borderLeftStyle","borderLeftWidth","borderRightColor","borderRightStyle","borderRightWidth","borderTopColor","borderTopStyle","borderTopWidth"],borderBlockEnd:["borderBlockEndColor","borderBlockEndStyle","borderBlockEndWidth"],borderBlockStart:["borderBlockStartColor","borderBlockStartStyle","borderBlockStartWidth"],borderBottom:["borderBottomColor","borderBottomStyle","borderBottomWidth"],borderColor:["borderBottomColor","borderLeftColor","borderRightColor","borderTopColor"],borderImage:["borderImageOutset","borderImageRepeat","borderImageSlice","borderImageSource","borderImageWidth"],borderInlineEnd:["borderInlineEndColor","borderInlineEndStyle","borderInlineEndWidth"],borderInlineStart:["borderInlineStartColor","borderInlineStartStyle","borderInlineStartWidth"],borderLeft:["borderLeftColor","borderLeftStyle","borderLeftWidth"],borderRadius:["borderBottomLeftRadius","borderBottomRightRadius","borderTopLeftRadius","borderTopRightRadius"],borderRight:["borderRightColor","borderRightStyle","borderRightWidth"],borderStyle:["borderBottomStyle","borderLeftStyle","borderRightStyle","borderTopStyle"],borderTop:["borderTopColor","borderTopStyle","borderTopWidth"],borderWidth:["borderBottomWidth","borderLeftWidth","borderRightWidth","borderTopWidth"],columnRule:["columnRuleColor","columnRuleStyle","columnRuleWidth"],columns:["columnCount","columnWidth"],flex:["flexBasis","flexGrow","flexShrink"],flexFlow:["flexDirection","flexWrap"],font:["fontFamily","fontFeatureSettings","fontKerning","fontLanguageOverride","fontSize","fontSizeAdjust","fontStretch","fontStyle","fontVariant","fontVariantAlternates","fontVariantCaps","fontVariantEastAsian","fontVariantLigatures","fontVariantNumeric","fontVariantPosition","fontWeight","lineHeight"],fontVariant:["fontVariantAlternates","fontVariantCaps","fontVariantEastAsian","fontVariantLigatures","fontVariantNumeric","fontVariantPosition"],gap:["columnGap","rowGap"],grid:["gridAutoColumns","gridAutoFlow","gridAutoRows","gridTemplateAreas","gridTemplateColumns","gridTemplateRows"],gridArea:["gridColumnEnd","gridColumnStart","gridRowEnd","gridRowStart"],gridColumn:["gridColumnEnd","gridColumnStart"],gridColumnGap:["columnGap"],gridGap:["columnGap","rowGap"],gridRow:["gridRowEnd","gridRowStart"],gridRowGap:["rowGap"],gridTemplate:["gridTemplateAreas","gridTemplateColumns","gridTemplateRows"],listStyle:["listStyleImage","listStylePosition","listStyleType"],margin:["marginBottom","marginLeft","marginRight","marginTop"],marker:["markerEnd","markerMid","markerStart"],mask:["maskClip","maskComposite","maskImage","maskMode","maskOrigin","maskPositionX","maskPositionY","maskRepeat","maskSize"],maskPosition:["maskPositionX","maskPositionY"],outline:["outlineColor","outlineStyle","outlineWidth"],overflow:["overflowX","overflowY"],padding:["paddingBottom","paddingLeft","paddingRight","paddingTop"],placeContent:["alignContent","justifyContent"],placeItems:["alignItems","justifyItems"],placeSelf:["alignSelf","justifySelf"],textDecoration:["textDecorationColor","textDecorationLine","textDecorationStyle"],textEmphasis:["textEmphasisColor","textEmphasisStyle"],transition:["transitionDelay","transitionDuration","transitionProperty","transitionTimingFunction"],wordWrap:["overflowWrap"]},vo={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0};function Ov(e,t){return e+t.charAt(0).toUpperCase()+t.substring(1)}var Nv=["Webkit","ms","Moz","O"];Object.keys(vo).forEach(function(e){Nv.forEach(function(t){vo[Ov(t,e)]=vo[e]})});function Rc(e,t,a){var i=t==null||typeof t=="boolean"||t==="";return i?"":!a&&typeof t=="number"&&t!==0&&!(vo.hasOwnProperty(e)&&vo[e])?t+"px":(br(t,e),(""+t).trim())}var ho=/([A-Z])/g,Tg=/^ms-/;function Rg(e){return e.replace(ho,"-$1").toLowerCase().replace(Tg,"-ms-")}var Mv=function(){};{var Av=/^(?:webkit|moz|o)[A-Z]/,Uv=/^-ms-/,hs=/-(.)/g,mo=/;\s*$/,go={},yo={},zv=!1,Cd=!1,wd=function(e){return e.replace(hs,function(t,a){return a.toUpperCase()})},xd=function(e){go.hasOwnProperty(e)&&go[e]||(go[e]=!0,E("Unsupported style property %s. Did you mean %s?",e,wd(e.replace(Uv,"ms-"))))},jv=function(e){go.hasOwnProperty(e)&&go[e]||(go[e]=!0,E("Unsupported vendor-prefixed style property %s. Did you mean %s?",e,e.charAt(0).toUpperCase()+e.slice(1)))},Pv=function(e,t){yo.hasOwnProperty(t)&&yo[t]||(yo[t]=!0,E(`Style property values shouldn't contain a semicolon. Try "%s: %s" instead.`,e,t.replace(mo,"")))},Fv=function(e,t){zv||(zv=!0,E("`NaN` is an invalid value for the `%s` css style property.",e))},kg=function(e,t){Cd||(Cd=!0,E("`Infinity` is an invalid value for the `%s` css style property.",e))};Mv=function(e,t){e.indexOf("-")>-1?xd(e):Av.test(e)?jv(e):mo.test(t)&&Pv(e,t),typeof t=="number"&&(isNaN(t)?Fv(e,t):isFinite(t)||kg(e,t))}}var _g=Mv;function Dg(e){{var t="",a="";for(var i in e)if(e.hasOwnProperty(i)){var u=e[i];if(u!=null){var c=i.indexOf("--")===0;t+=a+(c?i:Rg(i))+":",t+=Rc(i,u,c),a=";"}}return t||null}}function Bv(e,t){var a=e.style;for(var i in t)if(t.hasOwnProperty(i)){var u=i.indexOf("--")===0;u||_g(i,t[i]);var c=Rc(i,t[i],u);i==="float"&&(i="cssFloat"),u?a.setProperty(i,c):a[i]=c}}function Lg(e){return e==null||typeof e=="boolean"||e===""}function Fa(e){var t={};for(var a in e)for(var i=Lv[a]||[a],u=0;u<i.length;u++)t[i[u]]=a;return t}function ms(e,t){{if(!t)return;var a=Fa(e),i=Fa(t),u={};for(var c in a){var d=a[c],m=i[c];if(m&&d!==m){var g=d+","+m;if(u[g])continue;u[g]=!0,E("%s a style property during rerender (%s) when a conflicting property is set (%s) can lead to styling bugs. To avoid this, don't mix shorthand and non-shorthand properties for the same value; instead, replace the shorthand with separate values.",Lg(e[d])?"Removing":"Updating",d,m)}}}}var Hv={area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0},Iv=wt({menuitem:!0},Hv),Vv="__html";function kc(e,t){if(t){if(Iv[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw new Error(e+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw new Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");if(typeof t.dangerouslySetInnerHTML!="object"||!(Vv in t.dangerouslySetInnerHTML))throw new Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://reactjs.org/link/dangerously-set-inner-html for more information.")}if(!t.suppressContentEditableWarning&&t.contentEditable&&t.children!=null&&E("A component is `contentEditable` and contains `children` managed by React. It is now your responsibility to guarantee that none of those nodes are unexpectedly modified or duplicated. This is probably not intentional."),t.style!=null&&typeof t.style!="object")throw new Error("The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX.")}}function Yi(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var _c={accept:"accept",acceptcharset:"acceptCharset","accept-charset":"acceptCharset",accesskey:"accessKey",action:"action",allowfullscreen:"allowFullScreen",alt:"alt",as:"as",async:"async",autocapitalize:"autoCapitalize",autocomplete:"autoComplete",autocorrect:"autoCorrect",autofocus:"autoFocus",autoplay:"autoPlay",autosave:"autoSave",capture:"capture",cellpadding:"cellPadding",cellspacing:"cellSpacing",challenge:"challenge",charset:"charSet",checked:"checked",children:"children",cite:"cite",class:"className",classid:"classID",classname:"className",cols:"cols",colspan:"colSpan",content:"content",contenteditable:"contentEditable",contextmenu:"contextMenu",controls:"controls",controlslist:"controlsList",coords:"coords",crossorigin:"crossOrigin",dangerouslysetinnerhtml:"dangerouslySetInnerHTML",data:"data",datetime:"dateTime",default:"default",defaultchecked:"defaultChecked",defaultvalue:"defaultValue",defer:"defer",dir:"dir",disabled:"disabled",disablepictureinpicture:"disablePictureInPicture",disableremoteplayback:"disableRemotePlayback",download:"download",draggable:"draggable",enctype:"encType",enterkeyhint:"enterKeyHint",for:"htmlFor",form:"form",formmethod:"formMethod",formaction:"formAction",formenctype:"formEncType",formnovalidate:"formNoValidate",formtarget:"formTarget",frameborder:"frameBorder",headers:"headers",height:"height",hidden:"hidden",high:"high",href:"href",hreflang:"hrefLang",htmlfor:"htmlFor",httpequiv:"httpEquiv","http-equiv":"httpEquiv",icon:"icon",id:"id",imagesizes:"imageSizes",imagesrcset:"imageSrcSet",innerhtml:"innerHTML",inputmode:"inputMode",integrity:"integrity",is:"is",itemid:"itemID",itemprop:"itemProp",itemref:"itemRef",itemscope:"itemScope",itemtype:"itemType",keyparams:"keyParams",keytype:"keyType",kind:"kind",label:"label",lang:"lang",list:"list",loop:"loop",low:"low",manifest:"manifest",marginwidth:"marginWidth",marginheight:"marginHeight",max:"max",maxlength:"maxLength",media:"media",mediagroup:"mediaGroup",method:"method",min:"min",minlength:"minLength",multiple:"multiple",muted:"muted",name:"name",nomodule:"noModule",nonce:"nonce",novalidate:"noValidate",open:"open",optimum:"optimum",pattern:"pattern",placeholder:"placeholder",playsinline:"playsInline",poster:"poster",preload:"preload",profile:"profile",radiogroup:"radioGroup",readonly:"readOnly",referrerpolicy:"referrerPolicy",rel:"rel",required:"required",reversed:"reversed",role:"role",rows:"rows",rowspan:"rowSpan",sandbox:"sandbox",scope:"scope",scoped:"scoped",scrolling:"scrolling",seamless:"seamless",selected:"selected",shape:"shape",size:"size",sizes:"sizes",span:"span",spellcheck:"spellCheck",src:"src",srcdoc:"srcDoc",srclang:"srcLang",srcset:"srcSet",start:"start",step:"step",style:"style",summary:"summary",tabindex:"tabIndex",target:"target",title:"title",type:"type",usemap:"useMap",value:"value",width:"width",wmode:"wmode",wrap:"wrap",about:"about",accentheight:"accentHeight","accent-height":"accentHeight",accumulate:"accumulate",additive:"additive",alignmentbaseline:"alignmentBaseline","alignment-baseline":"alignmentBaseline",allowreorder:"allowReorder",alphabetic:"alphabetic",amplitude:"amplitude",arabicform:"arabicForm","arabic-form":"arabicForm",ascent:"ascent",attributename:"attributeName",attributetype:"attributeType",autoreverse:"autoReverse",azimuth:"azimuth",basefrequency:"baseFrequency",baselineshift:"baselineShift","baseline-shift":"baselineShift",baseprofile:"baseProfile",bbox:"bbox",begin:"begin",bias:"bias",by:"by",calcmode:"calcMode",capheight:"capHeight","cap-height":"capHeight",clip:"clip",clippath:"clipPath","clip-path":"clipPath",clippathunits:"clipPathUnits",cliprule:"clipRule","clip-rule":"clipRule",color:"color",colorinterpolation:"colorInterpolation","color-interpolation":"colorInterpolation",colorinterpolationfilters:"colorInterpolationFilters","color-interpolation-filters":"colorInterpolationFilters",colorprofile:"colorProfile","color-profile":"colorProfile",colorrendering:"colorRendering","color-rendering":"colorRendering",contentscripttype:"contentScriptType",contentstyletype:"contentStyleType",cursor:"cursor",cx:"cx",cy:"cy",d:"d",datatype:"datatype",decelerate:"decelerate",descent:"descent",diffuseconstant:"diffuseConstant",direction:"direction",display:"display",divisor:"divisor",dominantbaseline:"dominantBaseline","dominant-baseline":"dominantBaseline",dur:"dur",dx:"dx",dy:"dy",edgemode:"edgeMode",elevation:"elevation",enablebackground:"enableBackground","enable-background":"enableBackground",end:"end",exponent:"exponent",externalresourcesrequired:"externalResourcesRequired",fill:"fill",fillopacity:"fillOpacity","fill-opacity":"fillOpacity",fillrule:"fillRule","fill-rule":"fillRule",filter:"filter",filterres:"filterRes",filterunits:"filterUnits",floodopacity:"floodOpacity","flood-opacity":"floodOpacity",floodcolor:"floodColor","flood-color":"floodColor",focusable:"focusable",fontfamily:"fontFamily","font-family":"fontFamily",fontsize:"fontSize","font-size":"fontSize",fontsizeadjust:"fontSizeAdjust","font-size-adjust":"fontSizeAdjust",fontstretch:"fontStretch","font-stretch":"fontStretch",fontstyle:"fontStyle","font-style":"fontStyle",fontvariant:"fontVariant","font-variant":"fontVariant",fontweight:"fontWeight","font-weight":"fontWeight",format:"format",from:"from",fx:"fx",fy:"fy",g1:"g1",g2:"g2",glyphname:"glyphName","glyph-name":"glyphName",glyphorientationhorizontal:"glyphOrientationHorizontal","glyph-orientation-horizontal":"glyphOrientationHorizontal",glyphorientationvertical:"glyphOrientationVertical","glyph-orientation-vertical":"glyphOrientationVertical",glyphref:"glyphRef",gradienttransform:"gradientTransform",gradientunits:"gradientUnits",hanging:"hanging",horizadvx:"horizAdvX","horiz-adv-x":"horizAdvX",horizoriginx:"horizOriginX","horiz-origin-x":"horizOriginX",ideographic:"ideographic",imagerendering:"imageRendering","image-rendering":"imageRendering",in2:"in2",in:"in",inlist:"inlist",intercept:"intercept",k1:"k1",k2:"k2",k3:"k3",k4:"k4",k:"k",kernelmatrix:"kernelMatrix",kernelunitlength:"kernelUnitLength",kerning:"kerning",keypoints:"keyPoints",keysplines:"keySplines",keytimes:"keyTimes",lengthadjust:"lengthAdjust",letterspacing:"letterSpacing","letter-spacing":"letterSpacing",lightingcolor:"lightingColor","lighting-color":"lightingColor",limitingconeangle:"limitingConeAngle",local:"local",markerend:"markerEnd","marker-end":"markerEnd",markerheight:"markerHeight",markermid:"markerMid","marker-mid":"markerMid",markerstart:"markerStart","marker-start":"markerStart",markerunits:"markerUnits",markerwidth:"markerWidth",mask:"mask",maskcontentunits:"maskContentUnits",maskunits:"maskUnits",mathematical:"mathematical",mode:"mode",numoctaves:"numOctaves",offset:"offset",opacity:"opacity",operator:"operator",order:"order",orient:"orient",orientation:"orientation",origin:"origin",overflow:"overflow",overlineposition:"overlinePosition","overline-position":"overlinePosition",overlinethickness:"overlineThickness","overline-thickness":"overlineThickness",paintorder:"paintOrder","paint-order":"paintOrder",panose1:"panose1","panose-1":"panose1",pathlength:"pathLength",patterncontentunits:"patternContentUnits",patterntransform:"patternTransform",patternunits:"patternUnits",pointerevents:"pointerEvents","pointer-events":"pointerEvents",points:"points",pointsatx:"pointsAtX",pointsaty:"pointsAtY",pointsatz:"pointsAtZ",prefix:"prefix",preservealpha:"preserveAlpha",preserveaspectratio:"preserveAspectRatio",primitiveunits:"primitiveUnits",property:"property",r:"r",radius:"radius",refx:"refX",refy:"refY",renderingintent:"renderingIntent","rendering-intent":"renderingIntent",repeatcount:"repeatCount",repeatdur:"repeatDur",requiredextensions:"requiredExtensions",requiredfeatures:"requiredFeatures",resource:"resource",restart:"restart",result:"result",results:"results",rotate:"rotate",rx:"rx",ry:"ry",scale:"scale",security:"security",seed:"seed",shaperendering:"shapeRendering","shape-rendering":"shapeRendering",slope:"slope",spacing:"spacing",specularconstant:"specularConstant",specularexponent:"specularExponent",speed:"speed",spreadmethod:"spreadMethod",startoffset:"startOffset",stddeviation:"stdDeviation",stemh:"stemh",stemv:"stemv",stitchtiles:"stitchTiles",stopcolor:"stopColor","stop-color":"stopColor",stopopacity:"stopOpacity","stop-opacity":"stopOpacity",strikethroughposition:"strikethroughPosition","strikethrough-position":"strikethroughPosition",strikethroughthickness:"strikethroughThickness","strikethrough-thickness":"strikethroughThickness",string:"string",stroke:"stroke",strokedasharray:"strokeDasharray","stroke-dasharray":"strokeDasharray",strokedashoffset:"strokeDashoffset","stroke-dashoffset":"strokeDashoffset",strokelinecap:"strokeLinecap","stroke-linecap":"strokeLinecap",strokelinejoin:"strokeLinejoin","stroke-linejoin":"strokeLinejoin",strokemiterlimit:"strokeMiterlimit","stroke-miterlimit":"strokeMiterlimit",strokewidth:"strokeWidth","stroke-width":"strokeWidth",strokeopacity:"strokeOpacity","stroke-opacity":"strokeOpacity",suppresscontenteditablewarning:"suppressContentEditableWarning",suppresshydrationwarning:"suppressHydrationWarning",surfacescale:"surfaceScale",systemlanguage:"systemLanguage",tablevalues:"tableValues",targetx:"targetX",targety:"targetY",textanchor:"textAnchor","text-anchor":"textAnchor",textdecoration:"textDecoration","text-decoration":"textDecoration",textlength:"textLength",textrendering:"textRendering","text-rendering":"textRendering",to:"to",transform:"transform",typeof:"typeof",u1:"u1",u2:"u2",underlineposition:"underlinePosition","underline-position":"underlinePosition",underlinethickness:"underlineThickness","underline-thickness":"underlineThickness",unicode:"unicode",unicodebidi:"unicodeBidi","unicode-bidi":"unicodeBidi",unicoderange:"unicodeRange","unicode-range":"unicodeRange",unitsperem:"unitsPerEm","units-per-em":"unitsPerEm",unselectable:"unselectable",valphabetic:"vAlphabetic","v-alphabetic":"vAlphabetic",values:"values",vectoreffect:"vectorEffect","vector-effect":"vectorEffect",version:"version",vertadvy:"vertAdvY","vert-adv-y":"vertAdvY",vertoriginx:"vertOriginX","vert-origin-x":"vertOriginX",vertoriginy:"vertOriginY","vert-origin-y":"vertOriginY",vhanging:"vHanging","v-hanging":"vHanging",videographic:"vIdeographic","v-ideographic":"vIdeographic",viewbox:"viewBox",viewtarget:"viewTarget",visibility:"visibility",vmathematical:"vMathematical","v-mathematical":"vMathematical",vocab:"vocab",widths:"widths",wordspacing:"wordSpacing","word-spacing":"wordSpacing",writingmode:"writingMode","writing-mode":"writingMode",x1:"x1",x2:"x2",x:"x",xchannelselector:"xChannelSelector",xheight:"xHeight","x-height":"xHeight",xlinkactuate:"xlinkActuate","xlink:actuate":"xlinkActuate",xlinkarcrole:"xlinkArcrole","xlink:arcrole":"xlinkArcrole",xlinkhref:"xlinkHref","xlink:href":"xlinkHref",xlinkrole:"xlinkRole","xlink:role":"xlinkRole",xlinkshow:"xlinkShow","xlink:show":"xlinkShow",xlinktitle:"xlinkTitle","xlink:title":"xlinkTitle",xlinktype:"xlinkType","xlink:type":"xlinkType",xmlbase:"xmlBase","xml:base":"xmlBase",xmllang:"xmlLang","xml:lang":"xmlLang",xmlns:"xmlns","xml:space":"xmlSpace",xmlnsxlink:"xmlnsXlink","xmlns:xlink":"xmlnsXlink",xmlspace:"xmlSpace",y1:"y1",y2:"y2",y:"y",ychannelselector:"yChannelSelector",z:"z",zoomandpan:"zoomAndPan"},$v={"aria-current":0,"aria-description":0,"aria-details":0,"aria-disabled":0,"aria-hidden":0,"aria-invalid":0,"aria-keyshortcuts":0,"aria-label":0,"aria-roledescription":0,"aria-autocomplete":0,"aria-checked":0,"aria-expanded":0,"aria-haspopup":0,"aria-level":0,"aria-modal":0,"aria-multiline":0,"aria-multiselectable":0,"aria-orientation":0,"aria-placeholder":0,"aria-pressed":0,"aria-readonly":0,"aria-required":0,"aria-selected":0,"aria-sort":0,"aria-valuemax":0,"aria-valuemin":0,"aria-valuenow":0,"aria-valuetext":0,"aria-atomic":0,"aria-busy":0,"aria-live":0,"aria-relevant":0,"aria-dropeffect":0,"aria-grabbed":0,"aria-activedescendant":0,"aria-colcount":0,"aria-colindex":0,"aria-colspan":0,"aria-controls":0,"aria-describedby":0,"aria-errormessage":0,"aria-flowto":0,"aria-labelledby":0,"aria-owns":0,"aria-posinset":0,"aria-rowcount":0,"aria-rowindex":0,"aria-rowspan":0,"aria-setsize":0},ci={},bd=new RegExp("^(aria)-["+Be+"]*$"),gs=new RegExp("^(aria)[A-Z]["+Be+"]*$");function Td(e,t){{if(Zn.call(ci,t)&&ci[t])return!0;if(gs.test(t)){var a="aria-"+t.slice(4).toLowerCase(),i=$v.hasOwnProperty(a)?a:null;if(i==null)return E("Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.",t),ci[t]=!0,!0;if(t!==i)return E("Invalid ARIA attribute `%s`. Did you mean `%s`?",t,i),ci[t]=!0,!0}if(bd.test(t)){var u=t.toLowerCase(),c=$v.hasOwnProperty(u)?u:null;if(c==null)return ci[t]=!0,!1;if(t!==c)return E("Unknown ARIA attribute `%s`. Did you mean `%s`?",t,c),ci[t]=!0,!0}}return!0}function Yv(e,t){{var a=[];for(var i in t){var u=Td(e,i);u||a.push(i)}var c=a.map(function(d){return"`"+d+"`"}).join(", ");a.length===1?E("Invalid aria prop %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",c,e):a.length>1&&E("Invalid aria props %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",c,e)}}function Dc(e,t){Yi(e,t)||Yv(e,t)}var du=!1;function Rd(e,t){{if(e!=="input"&&e!=="textarea"&&e!=="select")return;t!=null&&t.value===null&&!du&&(du=!0,e==="select"&&t.multiple?E("`value` prop on `%s` should not be null. Consider using an empty array when `multiple` is set to `true` to clear the component or `undefined` for uncontrolled components.",e):E("`value` prop on `%s` should not be null. Consider using an empty string to clear the component or `undefined` for uncontrolled components.",e))}}var kd=function(){};{var tr={},_d=/^on./,Wv=/^on[^A-Z]/,Qv=new RegExp("^(aria)-["+Be+"]*$"),Gv=new RegExp("^(aria)[A-Z]["+Be+"]*$");kd=function(e,t,a,i){if(Zn.call(tr,t)&&tr[t])return!0;var u=t.toLowerCase();if(u==="onfocusin"||u==="onfocusout")return E("React uses onFocus and onBlur instead of onFocusIn and onFocusOut. All React events are normalized to bubble, so onFocusIn and onFocusOut are not needed/supported by React."),tr[t]=!0,!0;if(i!=null){var c=i.registrationNameDependencies,d=i.possibleRegistrationNames;if(c.hasOwnProperty(t))return!0;var m=d.hasOwnProperty(u)?d[u]:null;if(m!=null)return E("Invalid event handler property `%s`. Did you mean `%s`?",t,m),tr[t]=!0,!0;if(_d.test(t))return E("Unknown event handler property `%s`. It will be ignored.",t),tr[t]=!0,!0}else if(_d.test(t))return Wv.test(t)&&E("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.",t),tr[t]=!0,!0;if(Qv.test(t)||Gv.test(t))return!0;if(u==="innerhtml")return E("Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."),tr[t]=!0,!0;if(u==="aria")return E("The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead."),tr[t]=!0,!0;if(u==="is"&&a!==null&&a!==void 0&&typeof a!="string")return E("Received a `%s` for a string attribute `is`. If this is expected, cast the value to a string.",typeof a),tr[t]=!0,!0;if(typeof a=="number"&&isNaN(a))return E("Received NaN for the `%s` attribute. If this is expected, cast the value to a string.",t),tr[t]=!0,!0;var g=Ur(t),C=g!==null&&g.type===Sa;if(_c.hasOwnProperty(u)){var w=_c[u];if(w!==t)return E("Invalid DOM property `%s`. Did you mean `%s`?",t,w),tr[t]=!0,!0}else if(!C&&t!==u)return E("React does not recognize the `%s` prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase `%s` instead. If you accidentally passed it from a parent component, remove it from the DOM element.",t,u),tr[t]=!0,!0;return typeof a=="boolean"&&Rr(t,a,g,!1)?(a?E('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.',a,t,t,a,t):E('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.\n\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.',a,t,t,a,t,t,t),tr[t]=!0,!0):C?!0:Rr(t,a,g,!1)?(tr[t]=!0,!1):((a==="false"||a==="true")&&g!==null&&g.type===wn&&(E("Received the string `%s` for the boolean attribute `%s`. %s Did you mean %s={%s}?",a,t,a==="false"?"The browser will interpret it as a truthy value.":'Although this works, it will not work as expected if you pass the string "false".',t,a),tr[t]=!0),!0)}}var qv=function(e,t,a){{var i=[];for(var u in t){var c=kd(e,u,t[u],a);c||i.push(u)}var d=i.map(function(m){return"`"+m+"`"}).join(", ");i.length===1?E("Invalid value for prop %s on <%s> tag. Either remove it from the element, or pass a string or number value to keep it in the DOM. For details, see https://reactjs.org/link/attribute-behavior ",d,e):i.length>1&&E("Invalid values for props %s on <%s> tag. Either remove them from the element, or pass a string or number value to keep them in the DOM. For details, see https://reactjs.org/link/attribute-behavior ",d,e)}};function Kv(e,t,a){Yi(e,t)||qv(e,t,a)}var Wi=1,ys=1<<1,pu=1<<2,Og=Wi|ys|pu,Ss=null;function Es(e){Ss!==null&&E("Expected currently replaying event to be null. This error is likely caused by a bug in React. Please file an issue."),Ss=e}function Ng(){Ss===null&&E("Expected currently replaying event to not be null. This error is likely caused by a bug in React. Please file an issue."),Ss=null}function Xv(e){return e===Ss}function Lc(e){var t=e.target||e.srcElement||window;return t.correspondingUseElement&&(t=t.correspondingUseElement),t.nodeType===$i?t.parentNode:t}var un=null,Ll=null,Qi=null;function So(e){var t=Yo(e);if(t){if(typeof un!="function")throw new Error("setRestoreImplementation() needs to be called to handle a target for controlled events. This error is likely caused by a bug in React. Please file an issue.");var a=t.stateNode;if(a){var i=Xh(a);un(t.stateNode,t.type,i)}}}function Zv(e){un=e}function Oc(e){Ll?Qi?Qi.push(e):Qi=[e]:Ll=e}function Cs(){return Ll!==null||Qi!==null}function ws(){if(Ll){var e=Ll,t=Qi;if(Ll=null,Qi=null,So(e),t)for(var a=0;a<t.length;a++)So(t[a])}}var vu=function(e,t){return e(t)},Dd=function(){},Ld=!1;function Mg(){var e=Cs();e&&(Dd(),ws())}function Od(e,t,a){if(Ld)return e(t,a);Ld=!0;try{return vu(e,t,a)}finally{Ld=!1,Mg()}}function Nc(e,t,a){vu=e,Dd=a}function Mc(e){return e==="button"||e==="input"||e==="select"||e==="textarea"}function Nd(e,t,a){switch(e){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":return!!(a.disabled&&Mc(t));default:return!1}}function hu(e,t){var a=e.stateNode;if(a===null)return null;var i=Xh(a);if(i===null)return null;var u=i[t];if(Nd(t,e.type,i))return null;if(u&&typeof u!="function")throw new Error("Expected `"+t+"` listener to be a function, instead got a value of `"+typeof u+"` type.");return u}var xs=!1;if(Cn)try{var mu={};Object.defineProperty(mu,"passive",{get:function(){xs=!0}}),window.addEventListener("test",mu,mu),window.removeEventListener("test",mu,mu)}catch{xs=!1}function Jv(e,t,a,i,u,c,d,m,g){var C=Array.prototype.slice.call(arguments,3);try{t.apply(a,C)}catch(w){this.onError(w)}}var Md=Jv;if(typeof window<"u"&&typeof window.dispatchEvent=="function"&&typeof document<"u"&&typeof document.createEvent=="function"){var Ad=document.createElement("react");Md=function(t,a,i,u,c,d,m,g,C){if(typeof document>"u"||document===null)throw new Error("The `document` global was defined when React was initialized, but is not defined anymore. This can happen in a test environment if a component schedules an update from an asynchronous callback, but the test has already finished running. To solve this, you can either unmount the component at the end of your test (and ensure that any asynchronous operations get canceled in `componentWillUnmount`), or you can change the test itself to be asynchronous.");var w=document.createEvent("Event"),z=!1,M=!0,V=window.event,Y=Object.getOwnPropertyDescriptor(window,"event");function K(){Ad.removeEventListener(X,Ye,!1),typeof window.event<"u"&&window.hasOwnProperty("event")&&(window.event=V)}var be=Array.prototype.slice.call(arguments,3);function Ye(){z=!0,K(),a.apply(i,be),M=!1}var Pe,At=!1,_t=!1;function B(H){if(Pe=H.error,At=!0,Pe===null&&H.colno===0&&H.lineno===0&&(_t=!0),H.defaultPrevented&&Pe!=null&&typeof Pe=="object")try{Pe._suppressLogging=!0}catch{}}var X="react-"+(t||"invokeguardedcallback");if(window.addEventListener("error",B),Ad.addEventListener(X,Ye,!1),w.initEvent(X,!1,!1),Ad.dispatchEvent(w),Y&&Object.defineProperty(window,"event",Y),z&&M&&(At?_t&&(Pe=new Error("A cross-origin error was thrown. React doesn't have access to the actual error object in development. See https://reactjs.org/link/crossorigin-error for more information.")):Pe=new Error(`An error was thrown inside one of your components, but React doesn't know what it was. This is likely due to browser flakiness. React does its best to preserve the "Pause on exceptions" behavior of the DevTools, which requires some DEV-mode only tricks. It's possible that these don't work in your browser. Try triggering the error in production mode, or switching to a modern browser. If you suspect that this is actually an issue with React, please file an issue.`),this.onError(Pe)),window.removeEventListener("error",B),!z)return K(),Jv.apply(this,arguments)}}var Ag=Md,Ol=!1,fi=null,bs=!1,Nl=null,Ti={onError:function(e){Ol=!0,fi=e}};function gu(e,t,a,i,u,c,d,m,g){Ol=!1,fi=null,Ag.apply(Ti,arguments)}function Gi(e,t,a,i,u,c,d,m,g){if(gu.apply(this,arguments),Ol){var C=zd();bs||(bs=!0,Nl=C)}}function Ud(){if(bs){var e=Nl;throw bs=!1,Nl=null,e}}function Ug(){return Ol}function zd(){if(Ol){var e=fi;return Ol=!1,fi=null,e}else throw new Error("clearCaughtError was called but no error was captured. This error is likely caused by a bug in React. Please file an issue.")}function Ba(e){return e._reactInternals}function Ts(e){return e._reactInternals!==void 0}function Eo(e,t){e._reactInternals=t}var Ve=0,Ml=1,vn=2,mt=4,Yt=16,Xt=32,Ri=64,rt=128,Ln=256,la=512,Ha=1024,Sn=2048,Ia=4096,Al=8192,Rs=16384,Ac=Sn|mt|Ri|la|Ha|Rs,eh=32767,ba=32768,nr=65536,ks=131072,jd=1048576,Pd=2097152,ua=4194304,Ul=8388608,oa=16777216,yu=33554432,Co=mt|Ha|0,sa=vn|mt|Yt|Xt|la|Ia|Al,kr=mt|Ri|la|Al,Va=Sn|Yt,dr=ua|Ul|Pd,qi=v.ReactCurrentOwner;function Ta(e){var t=e,a=e;if(e.alternate)for(;t.return;)t=t.return;else{var i=t;do t=i,(t.flags&(vn|Ia))!==Ve&&(a=t.return),i=t.return;while(i)}return t.tag===F?a:null}function Fd(e){if(e.tag===Re){var t=e.memoizedState;if(t===null){var a=e.alternate;a!==null&&(t=a.memoizedState)}if(t!==null)return t.dehydrated}return null}function Uc(e){return e.tag===F?e.stateNode.containerInfo:null}function Bd(e){return Ta(e)===e}function Ra(e){{var t=qi.current;if(t!==null&&t.tag===G){var a=t,i=a.stateNode;i._warnedAboutRefsInRender||E("%s is accessing isMounted inside its render() function. render() should be a pure function of props and state. It should never access something that requires stale data from the previous render, such as refs. Move this logic to componentDidMount and componentDidUpdate instead.",ot(a)||"A component"),i._warnedAboutRefsInRender=!0}}var u=Ba(e);return u?Ta(u)===u:!1}function ca(e){if(Ta(e)!==e)throw new Error("Unable to find node on an unmounted component.")}function hn(e){var t=e.alternate;if(!t){var a=Ta(e);if(a===null)throw new Error("Unable to find node on an unmounted component.");return a!==e?null:e}for(var i=e,u=t;;){var c=i.return;if(c===null)break;var d=c.alternate;if(d===null){var m=c.return;if(m!==null){i=u=m;continue}break}if(c.child===d.child){for(var g=c.child;g;){if(g===i)return ca(c),e;if(g===u)return ca(c),t;g=g.sibling}throw new Error("Unable to find node on an unmounted component.")}if(i.return!==u.return)i=c,u=d;else{for(var C=!1,w=c.child;w;){if(w===i){C=!0,i=c,u=d;break}if(w===u){C=!0,u=c,i=d;break}w=w.sibling}if(!C){for(w=d.child;w;){if(w===i){C=!0,i=d,u=c;break}if(w===u){C=!0,u=d,i=c;break}w=w.sibling}if(!C)throw new Error("Child was not found in either parent set. This indicates a bug in React related to the return pointer. Please file an issue.")}}if(i.alternate!==u)throw new Error("Return fibers should always be each others' alternates. This error is likely caused by a bug in React. Please file an issue.")}if(i.tag!==F)throw new Error("Unable to find node on an unmounted component.");return i.stateNode.current===i?e:t}function $a(e){var t=hn(e);return t!==null?Hd(t):null}function Hd(e){if(e.tag===le||e.tag===we)return e;for(var t=e.child;t!==null;){var a=Hd(t);if(a!==null)return a;t=t.sibling}return null}function th(e){var t=hn(e);return t!==null?zc(t):null}function zc(e){if(e.tag===le||e.tag===we)return e;for(var t=e.child;t!==null;){if(t.tag!==te){var a=zc(t);if(a!==null)return a}t=t.sibling}return null}var jc=h.unstable_scheduleCallback,nh=h.unstable_cancelCallback,Pc=h.unstable_shouldYield,rh=h.unstable_requestPaint,Tn=h.unstable_now,Id=h.unstable_getCurrentPriorityLevel,Fc=h.unstable_ImmediatePriority,ka=h.unstable_UserBlockingPriority,ki=h.unstable_NormalPriority,Bc=h.unstable_LowPriority,zl=h.unstable_IdlePriority,Vd=h.unstable_yieldValue,$d=h.unstable_setDisableYieldValue,jl=null,rr=null,ve=null,Un=!1,pr=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u";function Yd(e){if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u")return!1;var t=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(t.isDisabled)return!0;if(!t.supportsFiber)return E("The installed version of React DevTools is too old and will not work with the current version of React. Please update React DevTools. https://reactjs.org/link/react-devtools"),!0;try{Lt&&(e=wt({},e,{getLaneLabelMap:Fl,injectProfilingHooks:Xi})),jl=t.inject(e),rr=t}catch(a){E("React instrumentation encountered an error: %s.",a)}return!!t.checkDCE}function ah(e,t){if(rr&&typeof rr.onScheduleFiberRoot=="function")try{rr.onScheduleFiberRoot(jl,e,t)}catch(a){Un||(Un=!0,E("React instrumentation encountered an error: %s",a))}}function Ki(e,t){if(rr&&typeof rr.onCommitFiberRoot=="function")try{var a=(e.current.flags&rt)===rt;if(yt){var i;switch(t){case _r:i=Fc;break;case vr:i=ka;break;case Ji:i=ki;break;case zs:i=zl;break;default:i=ki;break}rr.onCommitFiberRoot(jl,e,i,a)}}catch(u){Un||(Un=!0,E("React instrumentation encountered an error: %s",u))}}function Pl(e){if(rr&&typeof rr.onPostCommitFiberRoot=="function")try{rr.onPostCommitFiberRoot(jl,e)}catch(t){Un||(Un=!0,E("React instrumentation encountered an error: %s",t))}}function Wd(e){if(rr&&typeof rr.onCommitFiberUnmount=="function")try{rr.onCommitFiberUnmount(jl,e)}catch(t){Un||(Un=!0,E("React instrumentation encountered an error: %s",t))}}function Yn(e){if(typeof Vd=="function"&&($d(e),b(e)),rr&&typeof rr.setStrictMode=="function")try{rr.setStrictMode(jl,e)}catch(t){Un||(Un=!0,E("React instrumentation encountered an error: %s",t))}}function Xi(e){ve=e}function Fl(){{for(var e=new Map,t=1,a=0;a<mn;a++){var i=zg(t);e.set(t,i),t*=2}return e}}function Hc(e){ve!==null&&typeof ve.markCommitStarted=="function"&&ve.markCommitStarted(e)}function Qd(){ve!==null&&typeof ve.markCommitStopped=="function"&&ve.markCommitStopped()}function Bl(e){ve!==null&&typeof ve.markComponentRenderStarted=="function"&&ve.markComponentRenderStarted(e)}function Su(){ve!==null&&typeof ve.markComponentRenderStopped=="function"&&ve.markComponentRenderStopped()}function ih(e){ve!==null&&typeof ve.markComponentPassiveEffectMountStarted=="function"&&ve.markComponentPassiveEffectMountStarted(e)}function Gd(){ve!==null&&typeof ve.markComponentPassiveEffectMountStopped=="function"&&ve.markComponentPassiveEffectMountStopped()}function Ic(e){ve!==null&&typeof ve.markComponentPassiveEffectUnmountStarted=="function"&&ve.markComponentPassiveEffectUnmountStarted(e)}function lh(){ve!==null&&typeof ve.markComponentPassiveEffectUnmountStopped=="function"&&ve.markComponentPassiveEffectUnmountStopped()}function uh(e){ve!==null&&typeof ve.markComponentLayoutEffectMountStarted=="function"&&ve.markComponentLayoutEffectMountStarted(e)}function oh(){ve!==null&&typeof ve.markComponentLayoutEffectMountStopped=="function"&&ve.markComponentLayoutEffectMountStopped()}function Vc(e){ve!==null&&typeof ve.markComponentLayoutEffectUnmountStarted=="function"&&ve.markComponentLayoutEffectUnmountStarted(e)}function wo(){ve!==null&&typeof ve.markComponentLayoutEffectUnmountStopped=="function"&&ve.markComponentLayoutEffectUnmountStopped()}function $c(e,t,a){ve!==null&&typeof ve.markComponentErrored=="function"&&ve.markComponentErrored(e,t,a)}function sh(e,t,a){ve!==null&&typeof ve.markComponentSuspended=="function"&&ve.markComponentSuspended(e,t,a)}function ch(e){ve!==null&&typeof ve.markLayoutEffectsStarted=="function"&&ve.markLayoutEffectsStarted(e)}function xo(){ve!==null&&typeof ve.markLayoutEffectsStopped=="function"&&ve.markLayoutEffectsStopped()}function fh(e){ve!==null&&typeof ve.markPassiveEffectsStarted=="function"&&ve.markPassiveEffectsStarted(e)}function _s(){ve!==null&&typeof ve.markPassiveEffectsStopped=="function"&&ve.markPassiveEffectsStopped()}function di(e){ve!==null&&typeof ve.markRenderStarted=="function"&&ve.markRenderStarted(e)}function Ds(){ve!==null&&typeof ve.markRenderYielded=="function"&&ve.markRenderYielded()}function bo(){ve!==null&&typeof ve.markRenderStopped=="function"&&ve.markRenderStopped()}function Eu(e){ve!==null&&typeof ve.markRenderScheduled=="function"&&ve.markRenderScheduled(e)}function qd(e,t){ve!==null&&typeof ve.markForceUpdateScheduled=="function"&&ve.markForceUpdateScheduled(e,t)}function Hl(e,t){ve!==null&&typeof ve.markStateUpdateScheduled=="function"&&ve.markStateUpdateScheduled(e,t)}var qe=0,bt=1,Ze=2,Rn=8,Ya=16,Yc=Math.clz32?Math.clz32:Cu,Wc=Math.log,Kd=Math.LN2;function Cu(e){var t=e>>>0;return t===0?32:31-(Wc(t)/Kd|0)|0}var mn=31,Z=0,Nt=0,et=1,_i=2,_a=4,wu=8,gn=16,xu=32,Il=4194240,bu=64,Wa=128,fa=256,Tu=512,Ls=1024,Os=2048,Qc=4096,Gc=8192,qc=16384,Kc=32768,Xc=65536,Zc=131072,Jc=262144,ef=524288,Ru=1048576,tf=2097152,ku=130023424,Zi=4194304,nf=8388608,Ns=16777216,rf=33554432,af=67108864,Xd=Zi,To=134217728,lf=268435455,Ro=268435456,Vl=536870912,da=1073741824;function zg(e){{if(e&et)return"Sync";if(e&_i)return"InputContinuousHydration";if(e&_a)return"InputContinuous";if(e&wu)return"DefaultHydration";if(e&gn)return"Default";if(e&xu)return"TransitionHydration";if(e&Il)return"Transition";if(e&ku)return"Retry";if(e&To)return"SelectiveHydration";if(e&Ro)return"IdleHydration";if(e&Vl)return"Idle";if(e&da)return"Offscreen"}}var on=-1,uf=bu,of=Zi;function ko(e){switch(Bn(e)){case et:return et;case _i:return _i;case _a:return _a;case wu:return wu;case gn:return gn;case xu:return xu;case bu:case Wa:case fa:case Tu:case Ls:case Os:case Qc:case Gc:case qc:case Kc:case Xc:case Zc:case Jc:case ef:case Ru:case tf:return e&Il;case Zi:case nf:case Ns:case rf:case af:return e&ku;case To:return To;case Ro:return Ro;case Vl:return Vl;case da:return da;default:return E("Should have found matching lanes. This is a bug in React."),e}}function Ms(e,t){var a=e.pendingLanes;if(a===Z)return Z;var i=Z,u=e.suspendedLanes,c=e.pingedLanes,d=a&lf;if(d!==Z){var m=d&~u;if(m!==Z)i=ko(m);else{var g=d&c;g!==Z&&(i=ko(g))}}else{var C=a&~u;C!==Z?i=ko(C):c!==Z&&(i=ko(c))}if(i===Z)return Z;if(t!==Z&&t!==i&&(t&u)===Z){var w=Bn(i),z=Bn(t);if(w>=z||w===gn&&(z&Il)!==Z)return t}(i&_a)!==Z&&(i|=a&gn);var M=e.entangledLanes;if(M!==Z)for(var V=e.entanglements,Y=i&M;Y>0;){var K=$l(Y),be=1<<K;i|=V[K],Y&=~be}return i}function dh(e,t){for(var a=e.eventTimes,i=on;t>0;){var u=$l(t),c=1<<u,d=a[u];d>i&&(i=d),t&=~c}return i}function sf(e,t){switch(e){case et:case _i:case _a:return t+250;case wu:case gn:case xu:case bu:case Wa:case fa:case Tu:case Ls:case Os:case Qc:case Gc:case qc:case Kc:case Xc:case Zc:case Jc:case ef:case Ru:case tf:return t+5e3;case Zi:case nf:case Ns:case rf:case af:return on;case To:case Ro:case Vl:case da:return on;default:return E("Should have found matching lanes. This is a bug in React."),on}}function jg(e,t){for(var a=e.pendingLanes,i=e.suspendedLanes,u=e.pingedLanes,c=e.expirationTimes,d=a;d>0;){var m=$l(d),g=1<<m,C=c[m];C===on?((g&i)===Z||(g&u)!==Z)&&(c[m]=sf(g,t)):C<=t&&(e.expiredLanes|=g),d&=~g}}function Pg(e){return ko(e.pendingLanes)}function Zd(e){var t=e.pendingLanes&~da;return t!==Z?t:t&da?da:Z}function _o(e){return(e&et)!==Z}function As(e){return(e&lf)!==Z}function cf(e){return(e&ku)===e}function Fg(e){var t=et|_a|gn;return(e&t)===Z}function ph(e){return(e&Il)===e}function Us(e,t){var a=_i|_a|wu|gn;return(t&a)!==Z}function vh(e,t){return(t&e.expiredLanes)!==Z}function Jd(e){return(e&Il)!==Z}function ep(){var e=uf;return uf<<=1,(uf&Il)===Z&&(uf=bu),e}function Bg(){var e=of;return of<<=1,(of&ku)===Z&&(of=Zi),e}function Bn(e){return e&-e}function Wn(e){return Bn(e)}function $l(e){return 31-Yc(e)}function ff(e){return $l(e)}function pa(e,t){return(e&t)!==Z}function _u(e,t){return(e&t)===t}function gt(e,t){return e|t}function Do(e,t){return e&~t}function tp(e,t){return e&t}function hh(e){return e}function mh(e,t){return e!==Nt&&e<t?e:t}function df(e){for(var t=[],a=0;a<mn;a++)t.push(e);return t}function Du(e,t,a){e.pendingLanes|=t,t!==Vl&&(e.suspendedLanes=Z,e.pingedLanes=Z);var i=e.eventTimes,u=ff(t);i[u]=a}function np(e,t){e.suspendedLanes|=t,e.pingedLanes&=~t;for(var a=e.expirationTimes,i=t;i>0;){var u=$l(i),c=1<<u;a[u]=on,i&=~c}}function rp(e,t,a){e.pingedLanes|=e.suspendedLanes&t}function ap(e,t){var a=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=Z,e.pingedLanes=Z,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t;for(var i=e.entanglements,u=e.eventTimes,c=e.expirationTimes,d=a;d>0;){var m=$l(d),g=1<<m;i[m]=Z,u[m]=on,c[m]=on,d&=~g}}function Lo(e,t){for(var a=e.entangledLanes|=t,i=e.entanglements,u=a;u;){var c=$l(u),d=1<<c;d&t|i[c]&t&&(i[c]|=t),u&=~d}}function Hg(e,t){var a=Bn(t),i;switch(a){case _a:i=_i;break;case gn:i=wu;break;case bu:case Wa:case fa:case Tu:case Ls:case Os:case Qc:case Gc:case qc:case Kc:case Xc:case Zc:case Jc:case ef:case Ru:case tf:case Zi:case nf:case Ns:case rf:case af:i=xu;break;case Vl:i=Ro;break;default:i=Nt;break}return(i&(e.suspendedLanes|t))!==Nt?Nt:i}function ip(e,t,a){if(pr)for(var i=e.pendingUpdatersLaneMap;a>0;){var u=ff(a),c=1<<u,d=i[u];d.add(t),a&=~c}}function pf(e,t){if(pr)for(var a=e.pendingUpdatersLaneMap,i=e.memoizedUpdaters;t>0;){var u=ff(t),c=1<<u,d=a[u];d.size>0&&(d.forEach(function(m){var g=m.alternate;(g===null||!i.has(g))&&i.add(m)}),d.clear()),t&=~c}}function lp(e,t){return null}var _r=et,vr=_a,Ji=gn,zs=Vl,Lu=Nt;function Qa(){return Lu}function Qn(e){Lu=e}function js(e,t){var a=Lu;try{return Lu=e,t()}finally{Lu=a}}function Dr(e,t){return e!==0&&e<t?e:t}function Ig(e,t){return e===0||e>t?e:t}function up(e,t){return e!==0&&e<t}function Ps(e){var t=Bn(e);return up(_r,t)?up(vr,t)?As(t)?Ji:zs:vr:_r}function Gn(e){var t=e.current.memoizedState;return t.isDehydrated}var gh;function _e(e){gh=e}function Oo(e){gh(e)}var Fs;function yh(e){Fs=e}var Sh;function Bs(e){Sh=e}var Hs;function op(e){Hs=e}var sp;function Eh(e){sp=e}var vf=!1,No=[],Di=null,En=null,ar=null,Ga=new Map,Mo=new Map,el=[],pi=["mousedown","mouseup","touchcancel","touchend","touchstart","auxclick","dblclick","pointercancel","pointerdown","pointerup","dragend","dragstart","drop","compositionend","compositionstart","keydown","keypress","keyup","input","textInput","copy","cut","paste","click","change","contextmenu","reset","submit"];function Ch(e){return pi.indexOf(e)>-1}function Li(e,t,a,i,u){return{blockedOn:e,domEventName:t,eventSystemFlags:a,nativeEvent:u,targetContainers:[i]}}function wh(e,t){switch(e){case"focusin":case"focusout":Di=null;break;case"dragenter":case"dragleave":En=null;break;case"mouseover":case"mouseout":ar=null;break;case"pointerover":case"pointerout":{var a=t.pointerId;Ga.delete(a);break}case"gotpointercapture":case"lostpointercapture":{var i=t.pointerId;Mo.delete(i);break}}}function Ao(e,t,a,i,u,c){if(e===null||e.nativeEvent!==c){var d=Li(t,a,i,u,c);if(t!==null){var m=Yo(t);m!==null&&Fs(m)}return d}e.eventSystemFlags|=i;var g=e.targetContainers;return u!==null&&g.indexOf(u)===-1&&g.push(u),e}function xh(e,t,a,i,u){switch(t){case"focusin":{var c=u;return Di=Ao(Di,e,t,a,i,c),!0}case"dragenter":{var d=u;return En=Ao(En,e,t,a,i,d),!0}case"mouseover":{var m=u;return ar=Ao(ar,e,t,a,i,m),!0}case"pointerover":{var g=u,C=g.pointerId;return Ga.set(C,Ao(Ga.get(C)||null,e,t,a,i,g)),!0}case"gotpointercapture":{var w=u,z=w.pointerId;return Mo.set(z,Ao(Mo.get(z)||null,e,t,a,i,w)),!0}}return!1}function cp(e){var t=Ks(e.target);if(t!==null){var a=Ta(t);if(a!==null){var i=a.tag;if(i===Re){var u=Fd(a);if(u!==null){e.blockedOn=u,sp(e.priority,function(){Sh(a)});return}}else if(i===F){var c=a.stateNode;if(Gn(c)){e.blockedOn=Uc(a);return}}}}e.blockedOn=null}function bh(e){for(var t=Hs(),a={blockedOn:null,target:e,priority:t},i=0;i<el.length&&up(t,el[i].priority);i++);el.splice(i,0,a),i===0&&cp(a)}function hf(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;t.length>0;){var a=t[0],i=Ou(e.domEventName,e.eventSystemFlags,a,e.nativeEvent);if(i===null){var u=e.nativeEvent,c=new u.constructor(u.type,u);Es(c),u.target.dispatchEvent(c),Ng()}else{var d=Yo(i);return d!==null&&Fs(d),e.blockedOn=i,!1}t.shift()}return!0}function Is(e,t,a){hf(e)&&a.delete(t)}function fp(){vf=!1,Di!==null&&hf(Di)&&(Di=null),En!==null&&hf(En)&&(En=null),ar!==null&&hf(ar)&&(ar=null),Ga.forEach(Is),Mo.forEach(Is)}function Lr(e,t){e.blockedOn===t&&(e.blockedOn=null,vf||(vf=!0,h.unstable_scheduleCallback(h.unstable_NormalPriority,fp)))}function kt(e){if(No.length>0){Lr(No[0],e);for(var t=1;t<No.length;t++){var a=No[t];a.blockedOn===e&&(a.blockedOn=null)}}Di!==null&&Lr(Di,e),En!==null&&Lr(En,e),ar!==null&&Lr(ar,e);var i=function(m){return Lr(m,e)};Ga.forEach(i),Mo.forEach(i);for(var u=0;u<el.length;u++){var c=el[u];c.blockedOn===e&&(c.blockedOn=null)}for(;el.length>0;){var d=el[0];if(d.blockedOn!==null)break;cp(d),d.blockedOn===null&&el.shift()}}var kn=v.ReactCurrentBatchConfig,On=!0;function ir(e){On=!!e}function Da(){return On}function Uo(e,t,a){var i=Br(t),u;switch(i){case _r:u=qn;break;case vr:u=Vs;break;case Ji:default:u=tl;break}return u.bind(null,t,a,e)}function qn(e,t,a,i){var u=Qa(),c=kn.transition;kn.transition=null;try{Qn(_r),tl(e,t,a,i)}finally{Qn(u),kn.transition=c}}function Vs(e,t,a,i){var u=Qa(),c=kn.transition;kn.transition=null;try{Qn(vr),tl(e,t,a,i)}finally{Qn(u),kn.transition=c}}function tl(e,t,a,i){On&&mf(e,t,a,i)}function mf(e,t,a,i){var u=Ou(e,t,a,i);if(u===null){oy(e,t,i,zo,a),wh(e,i);return}if(xh(u,e,t,a,i)){i.stopPropagation();return}if(wh(e,i),t&pu&&Ch(e)){for(;u!==null;){var c=Yo(u);c!==null&&Oo(c);var d=Ou(e,t,a,i);if(d===null&&oy(e,t,i,zo,a),d===u)break;u=d}u!==null&&i.stopPropagation();return}oy(e,t,i,null,a)}var zo=null;function Ou(e,t,a,i){zo=null;var u=Lc(i),c=Ks(u);if(c!==null){var d=Ta(c);if(d===null)c=null;else{var m=d.tag;if(m===Re){var g=Fd(d);if(g!==null)return g;c=null}else if(m===F){var C=d.stateNode;if(Gn(C))return Uc(d);c=null}else d!==c&&(c=null)}}return zo=c,null}function Br(e){switch(e){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return _r;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return vr;case"message":{var t=Id();switch(t){case Fc:return _r;case ka:return vr;case ki:case Bc:return Ji;case zl:return zs;default:return Ji}}default:return Ji}}function dp(e,t,a){return e.addEventListener(t,a,!1),a}function jo(e,t,a){return e.addEventListener(t,a,!0),a}function nl(e,t,a,i){return e.addEventListener(t,a,{capture:!0,passive:i}),a}function gf(e,t,a,i){return e.addEventListener(t,a,{passive:i}),a}var Nu=null,Oi=null,Yl=null;function Wl(e){return Nu=e,Oi=Sf(),!0}function yf(){Nu=null,Oi=null,Yl=null}function Po(){if(Yl)return Yl;var e,t=Oi,a=t.length,i,u=Sf(),c=u.length;for(e=0;e<a&&t[e]===u[e];e++);var d=a-e;for(i=1;i<=d&&t[a-i]===u[c-i];i++);var m=i>1?1-i:void 0;return Yl=u.slice(e,m),Yl}function Sf(){return"value"in Nu?Nu.value:Nu.textContent}function Mu(e){var t,a=e.keyCode;return"charCode"in e?(t=e.charCode,t===0&&a===13&&(t=13)):t=a,t===10&&(t=13),t>=32||t===13?t:0}function Au(){return!0}function Or(){return!1}function Hn(e){function t(a,i,u,c,d){this._reactName=a,this._targetInst=u,this.type=i,this.nativeEvent=c,this.target=d,this.currentTarget=null;for(var m in e)if(e.hasOwnProperty(m)){var g=e[m];g?this[m]=g(c):this[m]=c[m]}var C=c.defaultPrevented!=null?c.defaultPrevented:c.returnValue===!1;return C?this.isDefaultPrevented=Au:this.isDefaultPrevented=Or,this.isPropagationStopped=Or,this}return wt(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var a=this.nativeEvent;a&&(a.preventDefault?a.preventDefault():typeof a.returnValue!="unknown"&&(a.returnValue=!1),this.isDefaultPrevented=Au)},stopPropagation:function(){var a=this.nativeEvent;a&&(a.stopPropagation?a.stopPropagation():typeof a.cancelBubble!="unknown"&&(a.cancelBubble=!0),this.isPropagationStopped=Au)},persist:function(){},isPersistent:Au}),t}var Nr={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Mr=Hn(Nr),Fo=wt({},Nr,{view:0,detail:0}),pp=Hn(Fo),$s,vp,qa;function Th(e){e!==qa&&(qa&&e.type==="mousemove"?($s=e.screenX-qa.screenX,vp=e.screenY-qa.screenY):($s=0,vp=0),qa=e)}var Bo=wt({},Fo,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:wf,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(Th(e),$s)},movementY:function(e){return"movementY"in e?e.movementY:vp}}),Ql=Hn(Bo),hp=wt({},Bo,{dataTransfer:0}),Uu=Hn(hp),Rh=wt({},Fo,{relatedTarget:0}),Ef=Hn(Rh),mp=wt({},Nr,{animationName:0,elapsedTime:0,pseudoElement:0}),Cf=Hn(mp),Vg=wt({},Nr,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),$g=Hn(Vg),kh=wt({},Nr,{data:0}),gp=Hn(kh),zu=gp,Yg={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Ho={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"};function _h(e){if(e.key){var t=Yg[e.key]||e.key;if(t!=="Unidentified")return t}if(e.type==="keypress"){var a=Mu(e);return a===13?"Enter":String.fromCharCode(a)}return e.type==="keydown"||e.type==="keyup"?Ho[e.keyCode]||"Unidentified":""}var Nn={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Wg(e){var t=this,a=t.nativeEvent;if(a.getModifierState)return a.getModifierState(e);var i=Nn[e];return i?!!a[i]:!1}function wf(e){return Wg}var Qg=wt({},Fo,{key:_h,code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:wf,charCode:function(e){return e.type==="keypress"?Mu(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?Mu(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),Gg=Hn(Qg),Dh=wt({},Bo,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),yp=Hn(Dh),qg=wt({},Fo,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:wf}),Ka=Hn(qg),Sp=wt({},Nr,{propertyName:0,elapsedTime:0,pseudoElement:0}),Kg=Hn(Sp),Gl=wt({},Bo,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),xf=Hn(Gl),ju=[9,13,27,32],Ys=229,Ws=Cn&&"CompositionEvent"in window,Pu=null;Cn&&"documentMode"in document&&(Pu=document.documentMode);var Xg=Cn&&"TextEvent"in window&&!Pu,bf=Cn&&(!Ws||Pu&&Pu>8&&Pu<=11),Lh=32,Ep=String.fromCharCode(Lh);function Oh(){xr("onBeforeInput",["compositionend","keypress","textInput","paste"]),xr("onCompositionEnd",["compositionend","focusout","keydown","keypress","keyup","mousedown"]),xr("onCompositionStart",["compositionstart","focusout","keydown","keypress","keyup","mousedown"]),xr("onCompositionUpdate",["compositionupdate","focusout","keydown","keypress","keyup","mousedown"])}var Qs=!1;function Tf(e){return(e.ctrlKey||e.altKey||e.metaKey)&&!(e.ctrlKey&&e.altKey)}function Nh(e){switch(e){case"compositionstart":return"onCompositionStart";case"compositionend":return"onCompositionEnd";case"compositionupdate":return"onCompositionUpdate"}}function Cp(e,t){return e==="keydown"&&t.keyCode===Ys}function Mh(e,t){switch(e){case"keyup":return ju.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==Ys;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function wp(e){var t=e.detail;return typeof t=="object"&&"data"in t?t.data:null}function Rf(e){return e.locale==="ko"}var rl=!1;function xp(e,t,a,i,u){var c,d;if(Ws?c=Nh(t):rl?Mh(t,i)&&(c="onCompositionEnd"):Cp(t,i)&&(c="onCompositionStart"),!c)return null;bf&&!Rf(i)&&(!rl&&c==="onCompositionStart"?rl=Wl(u):c==="onCompositionEnd"&&rl&&(d=Po()));var m=Ph(a,c);if(m.length>0){var g=new gp(c,t,null,i,u);if(e.push({event:g,listeners:m}),d)g.data=d;else{var C=wp(i);C!==null&&(g.data=C)}}}function kf(e,t){switch(e){case"compositionend":return wp(t);case"keypress":var a=t.which;return a!==Lh?null:(Qs=!0,Ep);case"textInput":var i=t.data;return i===Ep&&Qs?null:i;default:return null}}function Ah(e,t){if(rl){if(e==="compositionend"||!Ws&&Mh(e,t)){var a=Po();return yf(),rl=!1,a}return null}switch(e){case"paste":return null;case"keypress":if(!Tf(t)){if(t.char&&t.char.length>1)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return bf&&!Rf(t)?null:t.data;default:return null}}function Zg(e,t,a,i,u){var c;if(Xg?c=kf(t,i):c=Ah(t,i),!c)return null;var d=Ph(a,"onBeforeInput");if(d.length>0){var m=new zu("onBeforeInput","beforeinput",null,i,u);e.push({event:m,listeners:d}),m.data=c}}function _f(e,t,a,i,u,c,d){xp(e,t,a,i,u),Zg(e,t,a,i,u)}var Jg={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function Io(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!Jg[e.type]:t==="textarea"}/**
131
+ * Checks if an event is supported in the current execution environment.
132
+ *
133
+ * NOTE: This will not work correctly for non-generic events such as `change`,
134
+ * `reset`, `load`, `error`, and `select`.
135
+ *
136
+ * Borrows from Modernizr.
137
+ *
138
+ * @param {string} eventNameSuffix Event name, e.g. "click".
139
+ * @return {boolean} True if the event is supported.
140
+ * @internal
141
+ * @license Modernizr 3.0.0pre (Custom Build) | MIT
142
+ */function ey(e){if(!Cn)return!1;var t="on"+e,a=t in document;if(!a){var i=document.createElement("div");i.setAttribute(t,"return;"),a=typeof i[t]=="function"}return a}function Df(){xr("onChange",["change","click","focusin","focusout","input","keydown","keyup","selectionchange"])}function n(e,t,a,i){Oc(i);var u=Ph(t,"onChange");if(u.length>0){var c=new Mr("onChange","change",null,a,i);e.push({event:c,listeners:u})}}var r=null,l=null;function o(e){var t=e.nodeName&&e.nodeName.toLowerCase();return t==="select"||t==="input"&&e.type==="file"}function f(e){var t=[];n(t,l,e,Lc(e)),Od(p,t)}function p(e){NC(e,0)}function S(e){var t=Uf(e);if(co(t))return e}function T(e,t){if(e==="change")return t}var O=!1;Cn&&(O=ey("input")&&(!document.documentMode||document.documentMode>9));function W(e,t){r=e,l=t,r.attachEvent("onpropertychange",ue)}function ie(){r&&(r.detachEvent("onpropertychange",ue),r=null,l=null)}function ue(e){e.propertyName==="value"&&S(l)&&f(e)}function ae(e,t,a){e==="focusin"?(ie(),W(t,a)):e==="focusout"&&ie()}function Ee(e,t){if(e==="selectionchange"||e==="keyup"||e==="keydown")return S(l)}function Oe(e){var t=e.nodeName;return t&&t.toLowerCase()==="input"&&(e.type==="checkbox"||e.type==="radio")}function Ue(e,t){if(e==="click")return S(t)}function zn(e,t){if(e==="input"||e==="change")return S(t)}function P(e){var t=e._wrapperState;!t||!t.controlled||e.type!=="number"||Ge(e,"number",e.value)}function U(e,t,a,i,u,c,d){var m=a?Uf(a):window,g,C;if(o(m)?g=T:Io(m)?O?g=zn:(g=Ee,C=ae):Oe(m)&&(g=Ue),g){var w=g(t,a);if(w){n(e,w,i,u);return}}C&&C(t,m,a),t==="focusout"&&P(m)}function I(){Xr("onMouseEnter",["mouseout","mouseover"]),Xr("onMouseLeave",["mouseout","mouseover"]),Xr("onPointerEnter",["pointerout","pointerover"]),Xr("onPointerLeave",["pointerout","pointerover"])}function fe(e,t,a,i,u,c,d){var m=t==="mouseover"||t==="pointerover",g=t==="mouseout"||t==="pointerout";if(m&&!Xv(i)){var C=i.relatedTarget||i.fromElement;if(C&&(Ks(C)||jp(C)))return}if(!(!g&&!m)){var w;if(u.window===u)w=u;else{var z=u.ownerDocument;z?w=z.defaultView||z.parentWindow:w=window}var M,V;if(g){var Y=i.relatedTarget||i.toElement;if(M=a,V=Y?Ks(Y):null,V!==null){var K=Ta(V);(V!==K||V.tag!==le&&V.tag!==we)&&(V=null)}}else M=null,V=a;if(M!==V){var be=Ql,Ye="onMouseLeave",Pe="onMouseEnter",At="mouse";(t==="pointerout"||t==="pointerover")&&(be=yp,Ye="onPointerLeave",Pe="onPointerEnter",At="pointer");var _t=M==null?w:Uf(M),B=V==null?w:Uf(V),X=new be(Ye,At+"leave",M,i,u);X.target=_t,X.relatedTarget=B;var H=null,oe=Ks(u);if(oe===a){var Te=new be(Pe,At+"enter",V,i,u);Te.target=B,Te.relatedTarget=_t,H=Te}xT(e,X,H,M,V)}}}function je(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var Ne=typeof Object.is=="function"?Object.is:je;function He(e,t){if(Ne(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var a=Object.keys(e),i=Object.keys(t);if(a.length!==i.length)return!1;for(var u=0;u<a.length;u++){var c=a[u];if(!Zn.call(t,c)||!Ne(e[c],t[c]))return!1}return!0}function at(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function lr(e){for(;e;){if(e.nextSibling)return e.nextSibling;e=e.parentNode}}function Bt(e,t){for(var a=at(e),i=0,u=0;a;){if(a.nodeType===$i){if(u=i+a.textContent.length,i<=t&&u>=t)return{node:a,offset:t-i};i=u}a=at(lr(a))}}function ql(e){var t=e.ownerDocument,a=t&&t.defaultView||window,i=a.getSelection&&a.getSelection();if(!i||i.rangeCount===0)return null;var u=i.anchorNode,c=i.anchorOffset,d=i.focusNode,m=i.focusOffset;try{u.nodeType,d.nodeType}catch{return null}return ty(e,u,c,d,m)}function ty(e,t,a,i,u){var c=0,d=-1,m=-1,g=0,C=0,w=e,z=null;e:for(;;){for(var M=null;w===t&&(a===0||w.nodeType===$i)&&(d=c+a),w===i&&(u===0||w.nodeType===$i)&&(m=c+u),w.nodeType===$i&&(c+=w.nodeValue.length),(M=w.firstChild)!==null;)z=w,w=M;for(;;){if(w===e)break e;if(z===t&&++g===a&&(d=c),z===i&&++C===u&&(m=c),(M=w.nextSibling)!==null)break;w=z,z=w.parentNode}w=M}return d===-1||m===-1?null:{start:d,end:m}}function aT(e,t){var a=e.ownerDocument||document,i=a&&a.defaultView||window;if(i.getSelection){var u=i.getSelection(),c=e.textContent.length,d=Math.min(t.start,c),m=t.end===void 0?d:Math.min(t.end,c);if(!u.extend&&d>m){var g=m;m=d,d=g}var C=Bt(e,d),w=Bt(e,m);if(C&&w){if(u.rangeCount===1&&u.anchorNode===C.node&&u.anchorOffset===C.offset&&u.focusNode===w.node&&u.focusOffset===w.offset)return;var z=a.createRange();z.setStart(C.node,C.offset),u.removeAllRanges(),d>m?(u.addRange(z),u.extend(w.node,w.offset)):(z.setEnd(w.node,w.offset),u.addRange(z))}}}function EC(e){return e&&e.nodeType===$i}function CC(e,t){return!e||!t?!1:e===t?!0:EC(e)?!1:EC(t)?CC(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1}function iT(e){return e&&e.ownerDocument&&CC(e.ownerDocument.documentElement,e)}function lT(e){try{return typeof e.contentWindow.location.href=="string"}catch{return!1}}function wC(){for(var e=window,t=_l();t instanceof e.HTMLIFrameElement;){if(lT(t))e=t.contentWindow;else return t;t=_l(e.document)}return t}function ny(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function uT(){var e=wC();return{focusedElem:e,selectionRange:ny(e)?sT(e):null}}function oT(e){var t=wC(),a=e.focusedElem,i=e.selectionRange;if(t!==a&&iT(a)){i!==null&&ny(a)&&cT(a,i);for(var u=[],c=a;c=c.parentNode;)c.nodeType===ia&&u.push({element:c,left:c.scrollLeft,top:c.scrollTop});typeof a.focus=="function"&&a.focus();for(var d=0;d<u.length;d++){var m=u[d];m.element.scrollLeft=m.left,m.element.scrollTop=m.top}}}function sT(e){var t;return"selectionStart"in e?t={start:e.selectionStart,end:e.selectionEnd}:t=ql(e),t||{start:0,end:0}}function cT(e,t){var a=t.start,i=t.end;i===void 0&&(i=a),"selectionStart"in e?(e.selectionStart=a,e.selectionEnd=Math.min(i,e.value.length)):aT(e,t)}var fT=Cn&&"documentMode"in document&&document.documentMode<=11;function dT(){xr("onSelect",["focusout","contextmenu","dragend","focusin","keydown","keyup","mousedown","mouseup","selectionchange"])}var Lf=null,ry=null,bp=null,ay=!1;function pT(e){if("selectionStart"in e&&ny(e))return{start:e.selectionStart,end:e.selectionEnd};var t=e.ownerDocument&&e.ownerDocument.defaultView||window,a=t.getSelection();return{anchorNode:a.anchorNode,anchorOffset:a.anchorOffset,focusNode:a.focusNode,focusOffset:a.focusOffset}}function vT(e){return e.window===e?e.document:e.nodeType===si?e:e.ownerDocument}function xC(e,t,a){var i=vT(a);if(!(ay||Lf==null||Lf!==_l(i))){var u=pT(Lf);if(!bp||!He(bp,u)){bp=u;var c=Ph(ry,"onSelect");if(c.length>0){var d=new Mr("onSelect","select",null,t,a);e.push({event:d,listeners:c}),d.target=Lf}}}}function hT(e,t,a,i,u,c,d){var m=a?Uf(a):window;switch(t){case"focusin":(Io(m)||m.contentEditable==="true")&&(Lf=m,ry=a,bp=null);break;case"focusout":Lf=null,ry=null,bp=null;break;case"mousedown":ay=!0;break;case"contextmenu":case"mouseup":case"dragend":ay=!1,xC(e,i,u);break;case"selectionchange":if(fT)break;case"keydown":case"keyup":xC(e,i,u)}}function Uh(e,t){var a={};return a[e.toLowerCase()]=t.toLowerCase(),a["Webkit"+e]="webkit"+t,a["Moz"+e]="moz"+t,a}var Of={animationend:Uh("Animation","AnimationEnd"),animationiteration:Uh("Animation","AnimationIteration"),animationstart:Uh("Animation","AnimationStart"),transitionend:Uh("Transition","TransitionEnd")},iy={},bC={};Cn&&(bC=document.createElement("div").style,"AnimationEvent"in window||(delete Of.animationend.animation,delete Of.animationiteration.animation,delete Of.animationstart.animation),"TransitionEvent"in window||delete Of.transitionend.transition);function zh(e){if(iy[e])return iy[e];if(!Of[e])return e;var t=Of[e];for(var a in t)if(t.hasOwnProperty(a)&&a in bC)return iy[e]=t[a];return e}var TC=zh("animationend"),RC=zh("animationiteration"),kC=zh("animationstart"),_C=zh("transitionend"),DC=new Map,LC=["abort","auxClick","cancel","canPlay","canPlayThrough","click","close","contextMenu","copy","cut","drag","dragEnd","dragEnter","dragExit","dragLeave","dragOver","dragStart","drop","durationChange","emptied","encrypted","ended","error","gotPointerCapture","input","invalid","keyDown","keyPress","keyUp","load","loadedData","loadedMetadata","loadStart","lostPointerCapture","mouseDown","mouseMove","mouseOut","mouseOver","mouseUp","paste","pause","play","playing","pointerCancel","pointerDown","pointerMove","pointerOut","pointerOver","pointerUp","progress","rateChange","reset","resize","seeked","seeking","stalled","submit","suspend","timeUpdate","touchCancel","touchEnd","touchStart","volumeChange","scroll","toggle","touchMove","waiting","wheel"];function Vo(e,t){DC.set(e,t),xr(t,[e])}function mT(){for(var e=0;e<LC.length;e++){var t=LC[e],a=t.toLowerCase(),i=t[0].toUpperCase()+t.slice(1);Vo(a,"on"+i)}Vo(TC,"onAnimationEnd"),Vo(RC,"onAnimationIteration"),Vo(kC,"onAnimationStart"),Vo("dblclick","onDoubleClick"),Vo("focusin","onFocus"),Vo("focusout","onBlur"),Vo(_C,"onTransitionEnd")}function gT(e,t,a,i,u,c,d){var m=DC.get(t);if(m!==void 0){var g=Mr,C=t;switch(t){case"keypress":if(Mu(i)===0)return;case"keydown":case"keyup":g=Gg;break;case"focusin":C="focus",g=Ef;break;case"focusout":C="blur",g=Ef;break;case"beforeblur":case"afterblur":g=Ef;break;case"click":if(i.button===2)return;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":g=Ql;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":g=Uu;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":g=Ka;break;case TC:case RC:case kC:g=Cf;break;case _C:g=Kg;break;case"scroll":g=pp;break;case"wheel":g=xf;break;case"copy":case"cut":case"paste":g=$g;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":g=yp;break}var w=(c&pu)!==0;{var z=!w&&t==="scroll",M=CT(a,m,i.type,w,z);if(M.length>0){var V=new g(m,C,null,i,u);e.push({event:V,listeners:M})}}}}mT(),I(),Df(),dT(),Oh();function yT(e,t,a,i,u,c,d){gT(e,t,a,i,u,c);var m=(c&Og)===0;m&&(fe(e,t,a,i,u),U(e,t,a,i,u),hT(e,t,a,i,u),_f(e,t,a,i,u))}var Tp=["abort","canplay","canplaythrough","durationchange","emptied","encrypted","ended","error","loadeddata","loadedmetadata","loadstart","pause","play","playing","progress","ratechange","resize","seeked","seeking","stalled","suspend","timeupdate","volumechange","waiting"],ly=new Set(["cancel","close","invalid","load","scroll","toggle"].concat(Tp));function OC(e,t,a){var i=e.type||"unknown-event";e.currentTarget=a,Gi(i,t,void 0,e),e.currentTarget=null}function ST(e,t,a){var i;if(a)for(var u=t.length-1;u>=0;u--){var c=t[u],d=c.instance,m=c.currentTarget,g=c.listener;if(d!==i&&e.isPropagationStopped())return;OC(e,g,m),i=d}else for(var C=0;C<t.length;C++){var w=t[C],z=w.instance,M=w.currentTarget,V=w.listener;if(z!==i&&e.isPropagationStopped())return;OC(e,V,M),i=z}}function NC(e,t){for(var a=(t&pu)!==0,i=0;i<e.length;i++){var u=e[i],c=u.event,d=u.listeners;ST(c,d,a)}Ud()}function ET(e,t,a,i,u){var c=Lc(a),d=[];yT(d,e,i,a,c,t),NC(d,t)}function _n(e,t){ly.has(e)||E('Did not expect a listenToNonDelegatedEvent() call for "%s". This is a bug in React. Please file an issue.',e);var a=!1,i=KR(t),u=bT(e,a);i.has(u)||(MC(t,e,ys,a),i.add(u))}function uy(e,t,a){ly.has(e)&&!t&&E('Did not expect a listenToNativeEvent() call for "%s" in the bubble phase. This is a bug in React. Please file an issue.',e);var i=0;t&&(i|=pu),MC(a,e,i,t)}var jh="_reactListening"+Math.random().toString(36).slice(2);function Rp(e){if(!e[jh]){e[jh]=!0,St.forEach(function(a){a!=="selectionchange"&&(ly.has(a)||uy(a,!1,e),uy(a,!0,e))});var t=e.nodeType===si?e:e.ownerDocument;t!==null&&(t[jh]||(t[jh]=!0,uy("selectionchange",!1,t)))}}function MC(e,t,a,i,u){var c=Uo(e,t,a),d=void 0;xs&&(t==="touchstart"||t==="touchmove"||t==="wheel")&&(d=!0),e=e,i?d!==void 0?nl(e,t,c,d):jo(e,t,c):d!==void 0?gf(e,t,c,d):dp(e,t,c)}function AC(e,t){return e===t||e.nodeType===Fn&&e.parentNode===t}function oy(e,t,a,i,u){var c=i;if(!(t&Wi)&&!(t&ys)){var d=u;if(i!==null){var m=i;e:for(;;){if(m===null)return;var g=m.tag;if(g===F||g===te){var C=m.stateNode.containerInfo;if(AC(C,d))break;if(g===te)for(var w=m.return;w!==null;){var z=w.tag;if(z===F||z===te){var M=w.stateNode.containerInfo;if(AC(M,d))return}w=w.return}for(;C!==null;){var V=Ks(C);if(V===null)return;var Y=V.tag;if(Y===le||Y===we){m=c=V;continue e}C=C.parentNode}}m=m.return}}}Od(function(){return ET(e,t,a,c)})}function kp(e,t,a){return{instance:e,listener:t,currentTarget:a}}function CT(e,t,a,i,u,c){for(var d=t!==null?t+"Capture":null,m=i?d:t,g=[],C=e,w=null;C!==null;){var z=C,M=z.stateNode,V=z.tag;if(V===le&&M!==null&&(w=M,m!==null)){var Y=hu(C,m);Y!=null&&g.push(kp(C,Y,w))}if(u)break;C=C.return}return g}function Ph(e,t){for(var a=t+"Capture",i=[],u=e;u!==null;){var c=u,d=c.stateNode,m=c.tag;if(m===le&&d!==null){var g=d,C=hu(u,a);C!=null&&i.unshift(kp(u,C,g));var w=hu(u,t);w!=null&&i.push(kp(u,w,g))}u=u.return}return i}function Nf(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==le);return e||null}function wT(e,t){for(var a=e,i=t,u=0,c=a;c;c=Nf(c))u++;for(var d=0,m=i;m;m=Nf(m))d++;for(;u-d>0;)a=Nf(a),u--;for(;d-u>0;)i=Nf(i),d--;for(var g=u;g--;){if(a===i||i!==null&&a===i.alternate)return a;a=Nf(a),i=Nf(i)}return null}function UC(e,t,a,i,u){for(var c=t._reactName,d=[],m=a;m!==null&&m!==i;){var g=m,C=g.alternate,w=g.stateNode,z=g.tag;if(C!==null&&C===i)break;if(z===le&&w!==null){var M=w;if(u){var V=hu(m,c);V!=null&&d.unshift(kp(m,V,M))}else if(!u){var Y=hu(m,c);Y!=null&&d.push(kp(m,Y,M))}}m=m.return}d.length!==0&&e.push({event:t,listeners:d})}function xT(e,t,a,i,u){var c=i&&u?wT(i,u):null;i!==null&&UC(e,t,i,c,!1),u!==null&&a!==null&&UC(e,a,u,c,!0)}function bT(e,t){return e+"__"+(t?"capture":"bubble")}var Xa=!1,_p="dangerouslySetInnerHTML",Fh="suppressContentEditableWarning",$o="suppressHydrationWarning",zC="autoFocus",Gs="children",qs="style",Bh="__html",sy,Hh,Dp,jC,Ih,PC,FC;sy={dialog:!0,webview:!0},Hh=function(e,t){Dc(e,t),Rd(e,t),Kv(e,t,{registrationNameDependencies:Wt,possibleRegistrationNames:Kr})},PC=Cn&&!document.documentMode,Dp=function(e,t,a){if(!Xa){var i=Vh(a),u=Vh(t);u!==i&&(Xa=!0,E("Prop `%s` did not match. Server: %s Client: %s",e,JSON.stringify(u),JSON.stringify(i)))}},jC=function(e){if(!Xa){Xa=!0;var t=[];e.forEach(function(a){t.push(a)}),E("Extra attributes from the server: %s",t)}},Ih=function(e,t){t===!1?E("Expected `%s` listener to be a function, instead got `false`.\n\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.",e,e,e):E("Expected `%s` listener to be a function, instead got a value of `%s` type.",e,typeof t)},FC=function(e,t){var a=e.namespaceURI===Vi?e.ownerDocument.createElement(e.tagName):e.ownerDocument.createElementNS(e.namespaceURI,e.tagName);return a.innerHTML=t,a.innerHTML};var TT=/\r\n?/g,RT=/\u0000|\uFFFD/g;function Vh(e){ea(e);var t=typeof e=="string"?e:""+e;return t.replace(TT,`
143
+ `).replace(RT,"")}function $h(e,t,a,i){var u=Vh(t),c=Vh(e);if(c!==u&&(i&&(Xa||(Xa=!0,E('Text content did not match. Server: "%s" Client: "%s"',c,u))),a&&ge))throw new Error("Text content does not match server-rendered HTML.")}function BC(e){return e.nodeType===si?e:e.ownerDocument}function kT(){}function Yh(e){e.onclick=kT}function _T(e,t,a,i,u){for(var c in i)if(i.hasOwnProperty(c)){var d=i[c];if(c===qs)d&&Object.freeze(d),Bv(t,d);else if(c===_p){var m=d?d[Bh]:void 0;m!=null&&Dv(t,m)}else if(c===Gs)if(typeof d=="string"){var g=e!=="textarea"||d!=="";g&&Tc(t,d)}else typeof d=="number"&&Tc(t,""+d);else c===Fh||c===$o||c===zC||(Wt.hasOwnProperty(c)?d!=null&&(typeof d!="function"&&Ih(c,d),c==="onScroll"&&_n("scroll",t)):d!=null&&wa(t,c,d,u))}}function DT(e,t,a,i){for(var u=0;u<t.length;u+=2){var c=t[u],d=t[u+1];c===qs?Bv(e,d):c===_p?Dv(e,d):c===Gs?Tc(e,d):wa(e,c,d,i)}}function LT(e,t,a,i){var u,c=BC(a),d,m=i;if(m===Vi&&(m=xc(e)),m===Vi){if(u=Yi(e,t),!u&&e!==e.toLowerCase()&&E("<%s /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.",e),e==="script"){var g=c.createElement("div");g.innerHTML="<script><\/script>";var C=g.firstChild;d=g.removeChild(C)}else if(typeof t.is=="string")d=c.createElement(e,{is:t.is});else if(d=c.createElement(e),e==="select"){var w=d;t.multiple?w.multiple=!0:t.size&&(w.size=t.size)}}else d=c.createElementNS(m,e);return m===Vi&&!u&&Object.prototype.toString.call(d)==="[object HTMLUnknownElement]"&&!Zn.call(sy,e)&&(sy[e]=!0,E("The tag <%s> is unrecognized in this browser. If you meant to render a React component, start its name with an uppercase letter.",e)),d}function OT(e,t){return BC(t).createTextNode(e)}function NT(e,t,a,i){var u=Yi(t,a);Hh(t,a);var c;switch(t){case"dialog":_n("cancel",e),_n("close",e),c=a;break;case"iframe":case"object":case"embed":_n("load",e),c=a;break;case"video":case"audio":for(var d=0;d<Tp.length;d++)_n(Tp[d],e);c=a;break;case"source":_n("error",e),c=a;break;case"img":case"image":case"link":_n("error",e),_n("load",e),c=a;break;case"details":_n("toggle",e),c=a;break;case"input":R(e,a),c=y(e,a),_n("invalid",e);break;case"option":en(e,a),c=a;break;case"select":vs(e,a),c=ps(e,a),_n("invalid",e);break;case"textarea":Rv(e,a),c=gd(e,a),_n("invalid",e);break;default:c=a}switch(kc(t,c),_T(t,e,i,c,u),t){case"input":Pa(e),se(e,a,!1);break;case"textarea":Pa(e),_v(e);break;case"option":ln(e,a);break;case"select":hd(e,a);break;default:typeof c.onClick=="function"&&Yh(e);break}}function MT(e,t,a,i,u){Hh(t,i);var c=null,d,m;switch(t){case"input":d=y(e,a),m=y(e,i),c=[];break;case"select":d=ps(e,a),m=ps(e,i),c=[];break;case"textarea":d=gd(e,a),m=gd(e,i),c=[];break;default:d=a,m=i,typeof d.onClick!="function"&&typeof m.onClick=="function"&&Yh(e);break}kc(t,m);var g,C,w=null;for(g in d)if(!(m.hasOwnProperty(g)||!d.hasOwnProperty(g)||d[g]==null))if(g===qs){var z=d[g];for(C in z)z.hasOwnProperty(C)&&(w||(w={}),w[C]="")}else g===_p||g===Gs||g===Fh||g===$o||g===zC||(Wt.hasOwnProperty(g)?c||(c=[]):(c=c||[]).push(g,null));for(g in m){var M=m[g],V=d!=null?d[g]:void 0;if(!(!m.hasOwnProperty(g)||M===V||M==null&&V==null))if(g===qs)if(M&&Object.freeze(M),V){for(C in V)V.hasOwnProperty(C)&&(!M||!M.hasOwnProperty(C))&&(w||(w={}),w[C]="");for(C in M)M.hasOwnProperty(C)&&V[C]!==M[C]&&(w||(w={}),w[C]=M[C])}else w||(c||(c=[]),c.push(g,w)),w=M;else if(g===_p){var Y=M?M[Bh]:void 0,K=V?V[Bh]:void 0;Y!=null&&K!==Y&&(c=c||[]).push(g,Y)}else g===Gs?(typeof M=="string"||typeof M=="number")&&(c=c||[]).push(g,""+M):g===Fh||g===$o||(Wt.hasOwnProperty(g)?(M!=null&&(typeof M!="function"&&Ih(g,M),g==="onScroll"&&_n("scroll",e)),!c&&V!==M&&(c=[])):(c=c||[]).push(g,M))}return w&&(ms(w,m[qs]),(c=c||[]).push(qs,w)),c}function AT(e,t,a,i,u){a==="input"&&u.type==="radio"&&u.name!=null&&$(e,u);var c=Yi(a,i),d=Yi(a,u);switch(DT(e,t,c,d),a){case"input":q(e,u);break;case"textarea":kv(e,u);break;case"select":Cg(e,u);break}}function UT(e){{var t=e.toLowerCase();return _c.hasOwnProperty(t)&&_c[t]||null}}function zT(e,t,a,i,u,c,d){var m,g;switch(m=Yi(t,a),Hh(t,a),t){case"dialog":_n("cancel",e),_n("close",e);break;case"iframe":case"object":case"embed":_n("load",e);break;case"video":case"audio":for(var C=0;C<Tp.length;C++)_n(Tp[C],e);break;case"source":_n("error",e);break;case"img":case"image":case"link":_n("error",e),_n("load",e);break;case"details":_n("toggle",e);break;case"input":R(e,a),_n("invalid",e);break;case"option":en(e,a);break;case"select":vs(e,a),_n("invalid",e);break;case"textarea":Rv(e,a),_n("invalid",e);break}kc(t,a);{g=new Set;for(var w=e.attributes,z=0;z<w.length;z++){var M=w[z].name.toLowerCase();switch(M){case"value":break;case"checked":break;case"selected":break;default:g.add(w[z].name)}}}var V=null;for(var Y in a)if(a.hasOwnProperty(Y)){var K=a[Y];if(Y===Gs)typeof K=="string"?e.textContent!==K&&(a[$o]!==!0&&$h(e.textContent,K,c,d),V=[Gs,K]):typeof K=="number"&&e.textContent!==""+K&&(a[$o]!==!0&&$h(e.textContent,K,c,d),V=[Gs,""+K]);else if(Wt.hasOwnProperty(Y))K!=null&&(typeof K!="function"&&Ih(Y,K),Y==="onScroll"&&_n("scroll",e));else if(d&&typeof m=="boolean"){var be=void 0,Ye=m&&ut?null:Ur(Y);if(a[$o]!==!0){if(!(Y===Fh||Y===$o||Y==="value"||Y==="checked"||Y==="selected")){if(Y===_p){var Pe=e.innerHTML,At=K?K[Bh]:void 0;if(At!=null){var _t=FC(e,At);_t!==Pe&&Dp(Y,Pe,_t)}}else if(Y===qs){if(g.delete(Y),PC){var B=Dg(K);be=e.getAttribute("style"),B!==be&&Dp(Y,be,B)}}else if(m&&!ut)g.delete(Y.toLowerCase()),be=yi(e,Y,K),K!==be&&Dp(Y,be,K);else if(!xn(Y,Ye,m)&&!Jt(Y,K,Ye,m)){var X=!1;if(Ye!==null)g.delete(Ye.attributeName),be=Ca(e,Y,K,Ye);else{var H=i;if(H===Vi&&(H=xc(t)),H===Vi)g.delete(Y.toLowerCase());else{var oe=UT(Y);oe!==null&&oe!==Y&&(X=!0,g.delete(oe)),g.delete(Y)}be=yi(e,Y,K)}var Te=ut;!Te&&K!==be&&!X&&Dp(Y,be,K)}}}}}switch(d&&g.size>0&&a[$o]!==!0&&jC(g),t){case"input":Pa(e),se(e,a,!0);break;case"textarea":Pa(e),_v(e);break;case"select":case"option":break;default:typeof a.onClick=="function"&&Yh(e);break}return V}function jT(e,t,a){var i=e.nodeValue!==t;return i}function cy(e,t){{if(Xa)return;Xa=!0,E("Did not expect server HTML to contain a <%s> in <%s>.",t.nodeName.toLowerCase(),e.nodeName.toLowerCase())}}function fy(e,t){{if(Xa)return;Xa=!0,E('Did not expect server HTML to contain the text node "%s" in <%s>.',t.nodeValue,e.nodeName.toLowerCase())}}function dy(e,t,a){{if(Xa)return;Xa=!0,E("Expected server HTML to contain a matching <%s> in <%s>.",t,e.nodeName.toLowerCase())}}function py(e,t){{if(t===""||Xa)return;Xa=!0,E('Expected server HTML to contain a matching text node for "%s" in <%s>.',t,e.nodeName.toLowerCase())}}function PT(e,t,a){switch(t){case"input":Xe(e,a);return;case"textarea":yd(e,a);return;case"select":wg(e,a);return}}var Lp=function(){},Op=function(){};{var FT=["address","applet","area","article","aside","base","basefont","bgsound","blockquote","body","br","button","caption","center","col","colgroup","dd","details","dir","div","dl","dt","embed","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","iframe","img","input","isindex","li","link","listing","main","marquee","menu","menuitem","meta","nav","noembed","noframes","noscript","object","ol","p","param","plaintext","pre","script","section","select","source","style","summary","table","tbody","td","template","textarea","tfoot","th","thead","title","tr","track","ul","wbr","xmp"],HC=["applet","caption","html","table","td","th","marquee","object","template","foreignObject","desc","title"],BT=HC.concat(["button"]),HT=["dd","dt","li","option","optgroup","p","rp","rt"],IC={current:null,formTag:null,aTagInScope:null,buttonTagInScope:null,nobrTagInScope:null,pTagInButtonScope:null,listItemTagAutoclosing:null,dlItemTagAutoclosing:null};Op=function(e,t){var a=wt({},e||IC),i={tag:t};return HC.indexOf(t)!==-1&&(a.aTagInScope=null,a.buttonTagInScope=null,a.nobrTagInScope=null),BT.indexOf(t)!==-1&&(a.pTagInButtonScope=null),FT.indexOf(t)!==-1&&t!=="address"&&t!=="div"&&t!=="p"&&(a.listItemTagAutoclosing=null,a.dlItemTagAutoclosing=null),a.current=i,t==="form"&&(a.formTag=i),t==="a"&&(a.aTagInScope=i),t==="button"&&(a.buttonTagInScope=i),t==="nobr"&&(a.nobrTagInScope=i),t==="p"&&(a.pTagInButtonScope=i),t==="li"&&(a.listItemTagAutoclosing=i),(t==="dd"||t==="dt")&&(a.dlItemTagAutoclosing=i),a};var IT=function(e,t){switch(t){case"select":return e==="option"||e==="optgroup"||e==="#text";case"optgroup":return e==="option"||e==="#text";case"option":return e==="#text";case"tr":return e==="th"||e==="td"||e==="style"||e==="script"||e==="template";case"tbody":case"thead":case"tfoot":return e==="tr"||e==="style"||e==="script"||e==="template";case"colgroup":return e==="col"||e==="template";case"table":return e==="caption"||e==="colgroup"||e==="tbody"||e==="tfoot"||e==="thead"||e==="style"||e==="script"||e==="template";case"head":return e==="base"||e==="basefont"||e==="bgsound"||e==="link"||e==="meta"||e==="title"||e==="noscript"||e==="noframes"||e==="style"||e==="script"||e==="template";case"html":return e==="head"||e==="body"||e==="frameset";case"frameset":return e==="frame";case"#document":return e==="html"}switch(e){case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":return t!=="h1"&&t!=="h2"&&t!=="h3"&&t!=="h4"&&t!=="h5"&&t!=="h6";case"rp":case"rt":return HT.indexOf(t)===-1;case"body":case"caption":case"col":case"colgroup":case"frameset":case"frame":case"head":case"html":case"tbody":case"td":case"tfoot":case"th":case"thead":case"tr":return t==null}return!0},VT=function(e,t){switch(e){case"address":case"article":case"aside":case"blockquote":case"center":case"details":case"dialog":case"dir":case"div":case"dl":case"fieldset":case"figcaption":case"figure":case"footer":case"header":case"hgroup":case"main":case"menu":case"nav":case"ol":case"p":case"section":case"summary":case"ul":case"pre":case"listing":case"table":case"hr":case"xmp":case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":return t.pTagInButtonScope;case"form":return t.formTag||t.pTagInButtonScope;case"li":return t.listItemTagAutoclosing;case"dd":case"dt":return t.dlItemTagAutoclosing;case"button":return t.buttonTagInScope;case"a":return t.aTagInScope;case"nobr":return t.nobrTagInScope}return null},VC={};Lp=function(e,t,a){a=a||IC;var i=a.current,u=i&&i.tag;t!=null&&(e!=null&&E("validateDOMNesting: when childText is passed, childTag should be null"),e="#text");var c=IT(e,u)?null:i,d=c?null:VT(e,a),m=c||d;if(m){var g=m.tag,C=!!c+"|"+e+"|"+g;if(!VC[C]){VC[C]=!0;var w=e,z="";if(e==="#text"?/\S/.test(t)?w="Text nodes":(w="Whitespace text nodes",z=" Make sure you don't have any extra whitespace between tags on each line of your source code."):w="<"+e+">",c){var M="";g==="table"&&e==="tr"&&(M+=" Add a <tbody>, <thead> or <tfoot> to your code to match the DOM tree generated by the browser."),E("validateDOMNesting(...): %s cannot appear as a child of <%s>.%s%s",w,g,z,M)}else E("validateDOMNesting(...): %s cannot appear as a descendant of <%s>.",w,g)}}}}var Wh="suppressHydrationWarning",Qh="$",Gh="/$",Np="$?",Mp="$!",$T="style",vy=null,hy=null;function YT(e){var t,a,i=e.nodeType;switch(i){case si:case fu:{t=i===si?"#document":"#fragment";var u=e.documentElement;a=u?u.namespaceURI:Ed(null,"");break}default:{var c=i===Fn?e.parentNode:e,d=c.namespaceURI||null;t=c.tagName,a=Ed(d,t);break}}{var m=t.toLowerCase(),g=Op(null,m);return{namespace:a,ancestorInfo:g}}}function WT(e,t,a){{var i=e,u=Ed(i.namespace,t),c=Op(i.ancestorInfo,t);return{namespace:u,ancestorInfo:c}}}function zN(e){return e}function QT(e){vy=Da(),hy=uT();var t=null;return ir(!1),t}function GT(e){oT(hy),ir(vy),vy=null,hy=null}function qT(e,t,a,i,u){var c;{var d=i;if(Lp(e,null,d.ancestorInfo),typeof t.children=="string"||typeof t.children=="number"){var m=""+t.children,g=Op(d.ancestorInfo,e);Lp(null,m,g)}c=d.namespace}var C=LT(e,t,a,c);return zp(u,C),xy(C,t),C}function KT(e,t){e.appendChild(t)}function XT(e,t,a,i,u){switch(NT(e,t,a,i),t){case"button":case"input":case"select":case"textarea":return!!a.autoFocus;case"img":return!0;default:return!1}}function ZT(e,t,a,i,u,c){{var d=c;if(typeof i.children!=typeof a.children&&(typeof i.children=="string"||typeof i.children=="number")){var m=""+i.children,g=Op(d.ancestorInfo,t);Lp(null,m,g)}}return MT(e,t,a,i)}function my(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}function JT(e,t,a,i){{var u=a;Lp(null,e,u.ancestorInfo)}var c=OT(e,t);return zp(i,c),c}function eR(){var e=window.event;return e===void 0?Ji:Br(e.type)}var gy=typeof setTimeout=="function"?setTimeout:void 0,tR=typeof clearTimeout=="function"?clearTimeout:void 0,yy=-1,$C=typeof Promise=="function"?Promise:void 0,nR=typeof queueMicrotask=="function"?queueMicrotask:typeof $C<"u"?function(e){return $C.resolve(null).then(e).catch(rR)}:gy;function rR(e){setTimeout(function(){throw e})}function aR(e,t,a,i){switch(t){case"button":case"input":case"select":case"textarea":a.autoFocus&&e.focus();return;case"img":{a.src&&(e.src=a.src);return}}}function iR(e,t,a,i,u,c){AT(e,t,a,i,u),xy(e,u)}function YC(e){Tc(e,"")}function lR(e,t,a){e.nodeValue=a}function uR(e,t){e.appendChild(t)}function oR(e,t){var a;e.nodeType===Fn?(a=e.parentNode,a.insertBefore(t,e)):(a=e,a.appendChild(t));var i=e._reactRootContainer;i==null&&a.onclick===null&&Yh(a)}function sR(e,t,a){e.insertBefore(t,a)}function cR(e,t,a){e.nodeType===Fn?e.parentNode.insertBefore(t,a):e.insertBefore(t,a)}function fR(e,t){e.removeChild(t)}function dR(e,t){e.nodeType===Fn?e.parentNode.removeChild(t):e.removeChild(t)}function Sy(e,t){var a=t,i=0;do{var u=a.nextSibling;if(e.removeChild(a),u&&u.nodeType===Fn){var c=u.data;if(c===Gh)if(i===0){e.removeChild(u),kt(t);return}else i--;else(c===Qh||c===Np||c===Mp)&&i++}a=u}while(a);kt(t)}function pR(e,t){e.nodeType===Fn?Sy(e.parentNode,t):e.nodeType===ia&&Sy(e,t),kt(e)}function vR(e){e=e;var t=e.style;typeof t.setProperty=="function"?t.setProperty("display","none","important"):t.display="none"}function hR(e){e.nodeValue=""}function mR(e,t){e=e;var a=t[$T],i=a!=null&&a.hasOwnProperty("display")?a.display:null;e.style.display=Rc("display",i)}function gR(e,t){e.nodeValue=t}function yR(e){e.nodeType===ia?e.textContent="":e.nodeType===si&&e.documentElement&&e.removeChild(e.documentElement)}function SR(e,t,a){return e.nodeType!==ia||t.toLowerCase()!==e.nodeName.toLowerCase()?null:e}function ER(e,t){return t===""||e.nodeType!==$i?null:e}function CR(e){return e.nodeType!==Fn?null:e}function WC(e){return e.data===Np}function Ey(e){return e.data===Mp}function wR(e){var t=e.nextSibling&&e.nextSibling.dataset,a,i,u;return t&&(a=t.dgst,i=t.msg,u=t.stck),{message:i,digest:a,stack:u}}function xR(e,t){e._reactRetry=t}function qh(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===ia||t===$i)break;if(t===Fn){var a=e.data;if(a===Qh||a===Mp||a===Np)break;if(a===Gh)return null}}return e}function Ap(e){return qh(e.nextSibling)}function bR(e){return qh(e.firstChild)}function TR(e){return qh(e.firstChild)}function RR(e){return qh(e.nextSibling)}function kR(e,t,a,i,u,c,d){zp(c,e),xy(e,a);var m;{var g=u;m=g.namespace}var C=(c.mode&bt)!==qe;return zT(e,t,a,m,i,C,d)}function _R(e,t,a,i){return zp(a,e),a.mode&bt,jT(e,t)}function DR(e,t){zp(t,e)}function LR(e){for(var t=e.nextSibling,a=0;t;){if(t.nodeType===Fn){var i=t.data;if(i===Gh){if(a===0)return Ap(t);a--}else(i===Qh||i===Mp||i===Np)&&a++}t=t.nextSibling}return null}function QC(e){for(var t=e.previousSibling,a=0;t;){if(t.nodeType===Fn){var i=t.data;if(i===Qh||i===Mp||i===Np){if(a===0)return t;a--}else i===Gh&&a++}t=t.previousSibling}return null}function OR(e){kt(e)}function NR(e){kt(e)}function MR(e){return e!=="head"&&e!=="body"}function AR(e,t,a,i){var u=!0;$h(t.nodeValue,a,i,u)}function UR(e,t,a,i,u,c){if(t[Wh]!==!0){var d=!0;$h(i.nodeValue,u,c,d)}}function zR(e,t){t.nodeType===ia?cy(e,t):t.nodeType===Fn||fy(e,t)}function jR(e,t){{var a=e.parentNode;a!==null&&(t.nodeType===ia?cy(a,t):t.nodeType===Fn||fy(a,t))}}function PR(e,t,a,i,u){(u||t[Wh]!==!0)&&(i.nodeType===ia?cy(a,i):i.nodeType===Fn||fy(a,i))}function FR(e,t,a){dy(e,t)}function BR(e,t){py(e,t)}function HR(e,t,a){{var i=e.parentNode;i!==null&&dy(i,t)}}function IR(e,t){{var a=e.parentNode;a!==null&&py(a,t)}}function VR(e,t,a,i,u,c){(c||t[Wh]!==!0)&&dy(a,i)}function $R(e,t,a,i,u){(u||t[Wh]!==!0)&&py(a,i)}function YR(e){E("An error occurred during hydration. The server HTML was replaced with client content in <%s>.",e.nodeName.toLowerCase())}function WR(e){Rp(e)}var Mf=Math.random().toString(36).slice(2),Af="__reactFiber$"+Mf,Cy="__reactProps$"+Mf,Up="__reactContainer$"+Mf,wy="__reactEvents$"+Mf,QR="__reactListeners$"+Mf,GR="__reactHandles$"+Mf;function qR(e){delete e[Af],delete e[Cy],delete e[wy],delete e[QR],delete e[GR]}function zp(e,t){t[Af]=e}function Kh(e,t){t[Up]=e}function GC(e){e[Up]=null}function jp(e){return!!e[Up]}function Ks(e){var t=e[Af];if(t)return t;for(var a=e.parentNode;a;){if(t=a[Up]||a[Af],t){var i=t.alternate;if(t.child!==null||i!==null&&i.child!==null)for(var u=QC(e);u!==null;){var c=u[Af];if(c)return c;u=QC(u)}return t}e=a,a=e.parentNode}return null}function Yo(e){var t=e[Af]||e[Up];return t&&(t.tag===le||t.tag===we||t.tag===Re||t.tag===F)?t:null}function Uf(e){if(e.tag===le||e.tag===we)return e.stateNode;throw new Error("getNodeFromInstance: Invalid argument.")}function Xh(e){return e[Cy]||null}function xy(e,t){e[Cy]=t}function KR(e){var t=e[wy];return t===void 0&&(t=e[wy]=new Set),t}var qC={},KC=v.ReactDebugCurrentFrame;function Zh(e){if(e){var t=e._owner,a=xi(e.type,e._source,t?t.type:null);KC.setExtraStackFrame(a)}else KC.setExtraStackFrame(null)}function al(e,t,a,i,u){{var c=Function.call.bind(Zn);for(var d in e)if(c(e,d)){var m=void 0;try{if(typeof e[d]!="function"){var g=Error((i||"React class")+": "+a+" type `"+d+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[d]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw g.name="Invariant Violation",g}m=e[d](t,d,i,a,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(C){m=C}m&&!(m instanceof Error)&&(Zh(u),E("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",i||"React class",a,d,typeof m),Zh(null)),m instanceof Error&&!(m.message in qC)&&(qC[m.message]=!0,Zh(u),E("Failed %s type: %s",a,m.message),Zh(null))}}}var by=[],Jh;Jh=[];var Fu=-1;function Wo(e){return{current:e}}function va(e,t){if(Fu<0){E("Unexpected pop.");return}t!==Jh[Fu]&&E("Unexpected Fiber popped."),e.current=by[Fu],by[Fu]=null,Jh[Fu]=null,Fu--}function ha(e,t,a){Fu++,by[Fu]=e.current,Jh[Fu]=a,e.current=t}var Ty;Ty={};var vi={};Object.freeze(vi);var Bu=Wo(vi),Kl=Wo(!1),Ry=vi;function zf(e,t,a){return a&&Xl(t)?Ry:Bu.current}function XC(e,t,a){{var i=e.stateNode;i.__reactInternalMemoizedUnmaskedChildContext=t,i.__reactInternalMemoizedMaskedChildContext=a}}function jf(e,t){{var a=e.type,i=a.contextTypes;if(!i)return vi;var u=e.stateNode;if(u&&u.__reactInternalMemoizedUnmaskedChildContext===t)return u.__reactInternalMemoizedMaskedChildContext;var c={};for(var d in i)c[d]=t[d];{var m=ot(e)||"Unknown";al(i,c,"context",m)}return u&&XC(e,t,c),c}}function em(){return Kl.current}function Xl(e){{var t=e.childContextTypes;return t!=null}}function tm(e){va(Kl,e),va(Bu,e)}function ky(e){va(Kl,e),va(Bu,e)}function ZC(e,t,a){{if(Bu.current!==vi)throw new Error("Unexpected context found on stack. This error is likely caused by a bug in React. Please file an issue.");ha(Bu,t,e),ha(Kl,a,e)}}function JC(e,t,a){{var i=e.stateNode,u=t.childContextTypes;if(typeof i.getChildContext!="function"){{var c=ot(e)||"Unknown";Ty[c]||(Ty[c]=!0,E("%s.childContextTypes is specified but there is no getChildContext() method on the instance. You can either define getChildContext() on %s or remove childContextTypes from it.",c,c))}return a}var d=i.getChildContext();for(var m in d)if(!(m in u))throw new Error((ot(e)||"Unknown")+'.getChildContext(): key "'+m+'" is not defined in childContextTypes.');{var g=ot(e)||"Unknown";al(u,d,"child context",g)}return wt({},a,d)}}function nm(e){{var t=e.stateNode,a=t&&t.__reactInternalMemoizedMergedChildContext||vi;return Ry=Bu.current,ha(Bu,a,e),ha(Kl,Kl.current,e),!0}}function e0(e,t,a){{var i=e.stateNode;if(!i)throw new Error("Expected to have an instance by this point. This error is likely caused by a bug in React. Please file an issue.");if(a){var u=JC(e,t,Ry);i.__reactInternalMemoizedMergedChildContext=u,va(Kl,e),va(Bu,e),ha(Bu,u,e),ha(Kl,a,e)}else va(Kl,e),ha(Kl,a,e)}}function XR(e){{if(!Bd(e)||e.tag!==G)throw new Error("Expected subtree parent to be a mounted class component. This error is likely caused by a bug in React. Please file an issue.");var t=e;do{switch(t.tag){case F:return t.stateNode.context;case G:{var a=t.type;if(Xl(a))return t.stateNode.__reactInternalMemoizedMergedChildContext;break}}t=t.return}while(t!==null);throw new Error("Found unexpected detached subtree parent. This error is likely caused by a bug in React. Please file an issue.")}}var Qo=0,rm=1,Hu=null,_y=!1,Dy=!1;function t0(e){Hu===null?Hu=[e]:Hu.push(e)}function ZR(e){_y=!0,t0(e)}function n0(){_y&&Go()}function Go(){if(!Dy&&Hu!==null){Dy=!0;var e=0,t=Qa();try{var a=!0,i=Hu;for(Qn(_r);e<i.length;e++){var u=i[e];do u=u(a);while(u!==null)}Hu=null,_y=!1}catch(c){throw Hu!==null&&(Hu=Hu.slice(e+1)),jc(Fc,Go),c}finally{Qn(t),Dy=!1}}return null}var Pf=[],Ff=0,am=null,im=0,Ni=[],Mi=0,Xs=null,Iu=1,Vu="";function JR(e){return Js(),(e.flags&jd)!==Ve}function e1(e){return Js(),im}function t1(){var e=Vu,t=Iu,a=t&~n1(t);return a.toString(32)+e}function Zs(e,t){Js(),Pf[Ff++]=im,Pf[Ff++]=am,am=e,im=t}function r0(e,t,a){Js(),Ni[Mi++]=Iu,Ni[Mi++]=Vu,Ni[Mi++]=Xs,Xs=e;var i=Iu,u=Vu,c=lm(i)-1,d=i&~(1<<c),m=a+1,g=lm(t)+c;if(g>30){var C=c-c%5,w=(1<<C)-1,z=(d&w).toString(32),M=d>>C,V=c-C,Y=lm(t)+V,K=m<<V,be=K|M,Ye=z+u;Iu=1<<Y|be,Vu=Ye}else{var Pe=m<<c,At=Pe|d,_t=u;Iu=1<<g|At,Vu=_t}}function Ly(e){Js();var t=e.return;if(t!==null){var a=1,i=0;Zs(e,a),r0(e,a,i)}}function lm(e){return 32-Yc(e)}function n1(e){return 1<<lm(e)-1}function Oy(e){for(;e===am;)am=Pf[--Ff],Pf[Ff]=null,im=Pf[--Ff],Pf[Ff]=null;for(;e===Xs;)Xs=Ni[--Mi],Ni[Mi]=null,Vu=Ni[--Mi],Ni[Mi]=null,Iu=Ni[--Mi],Ni[Mi]=null}function r1(){return Js(),Xs!==null?{id:Iu,overflow:Vu}:null}function a1(e,t){Js(),Ni[Mi++]=Iu,Ni[Mi++]=Vu,Ni[Mi++]=Xs,Iu=t.id,Vu=t.overflow,Xs=e}function Js(){Ir()||E("Expected to be hydrating. This is a bug in React. Please file an issue.")}var Hr=null,Ai=null,il=!1,ec=!1,qo=null;function i1(){il&&E("We should not be hydrating here. This is a bug in React. Please file a bug.")}function a0(){ec=!0}function l1(){return ec}function u1(e){var t=e.stateNode.containerInfo;return Ai=TR(t),Hr=e,il=!0,qo=null,ec=!1,!0}function o1(e,t,a){return Ai=RR(t),Hr=e,il=!0,qo=null,ec=!1,a!==null&&a1(e,a),!0}function i0(e,t){switch(e.tag){case F:{zR(e.stateNode.containerInfo,t);break}case le:{var a=(e.mode&bt)!==qe;PR(e.type,e.memoizedProps,e.stateNode,t,a);break}case Re:{var i=e.memoizedState;i.dehydrated!==null&&jR(i.dehydrated,t);break}}}function l0(e,t){i0(e,t);var a=fD();a.stateNode=t,a.return=e;var i=e.deletions;i===null?(e.deletions=[a],e.flags|=Yt):i.push(a)}function Ny(e,t){{if(ec)return;switch(e.tag){case F:{var a=e.stateNode.containerInfo;switch(t.tag){case le:var i=t.type;t.pendingProps,FR(a,i);break;case we:var u=t.pendingProps;BR(a,u);break}break}case le:{var c=e.type,d=e.memoizedProps,m=e.stateNode;switch(t.tag){case le:{var g=t.type,C=t.pendingProps,w=(e.mode&bt)!==qe;VR(c,d,m,g,C,w);break}case we:{var z=t.pendingProps,M=(e.mode&bt)!==qe;$R(c,d,m,z,M);break}}break}case Re:{var V=e.memoizedState,Y=V.dehydrated;if(Y!==null)switch(t.tag){case le:var K=t.type;t.pendingProps,HR(Y,K);break;case we:var be=t.pendingProps;IR(Y,be);break}break}default:return}}}function u0(e,t){t.flags=t.flags&~Ia|vn,Ny(e,t)}function o0(e,t){switch(e.tag){case le:{var a=e.type;e.pendingProps;var i=SR(t,a);return i!==null?(e.stateNode=i,Hr=e,Ai=bR(i),!0):!1}case we:{var u=e.pendingProps,c=ER(t,u);return c!==null?(e.stateNode=c,Hr=e,Ai=null,!0):!1}case Re:{var d=CR(t);if(d!==null){var m={dehydrated:d,treeContext:r1(),retryLane:da};e.memoizedState=m;var g=dD(d);return g.return=e,e.child=g,Hr=e,Ai=null,!0}return!1}default:return!1}}function My(e){return(e.mode&bt)!==qe&&(e.flags&rt)===Ve}function Ay(e){throw new Error("Hydration failed because the initial UI does not match what was rendered on the server.")}function Uy(e){if(il){var t=Ai;if(!t){My(e)&&(Ny(Hr,e),Ay()),u0(Hr,e),il=!1,Hr=e;return}var a=t;if(!o0(e,t)){My(e)&&(Ny(Hr,e),Ay()),t=Ap(a);var i=Hr;if(!t||!o0(e,t)){u0(Hr,e),il=!1,Hr=e;return}l0(i,a)}}}function s1(e,t,a){var i=e.stateNode,u=!ec,c=kR(i,e.type,e.memoizedProps,t,a,e,u);return e.updateQueue=c,c!==null}function c1(e){var t=e.stateNode,a=e.memoizedProps,i=_R(t,a,e);if(i){var u=Hr;if(u!==null)switch(u.tag){case F:{var c=u.stateNode.containerInfo,d=(u.mode&bt)!==qe;AR(c,t,a,d);break}case le:{var m=u.type,g=u.memoizedProps,C=u.stateNode,w=(u.mode&bt)!==qe;UR(m,g,C,t,a,w);break}}}return i}function f1(e){var t=e.memoizedState,a=t!==null?t.dehydrated:null;if(!a)throw new Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");DR(a,e)}function d1(e){var t=e.memoizedState,a=t!==null?t.dehydrated:null;if(!a)throw new Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");return LR(a)}function s0(e){for(var t=e.return;t!==null&&t.tag!==le&&t.tag!==F&&t.tag!==Re;)t=t.return;Hr=t}function um(e){if(e!==Hr)return!1;if(!il)return s0(e),il=!0,!1;if(e.tag!==F&&(e.tag!==le||MR(e.type)&&!my(e.type,e.memoizedProps))){var t=Ai;if(t)if(My(e))c0(e),Ay();else for(;t;)l0(e,t),t=Ap(t)}return s0(e),e.tag===Re?Ai=d1(e):Ai=Hr?Ap(e.stateNode):null,!0}function p1(){return il&&Ai!==null}function c0(e){for(var t=Ai;t;)i0(e,t),t=Ap(t)}function Bf(){Hr=null,Ai=null,il=!1,ec=!1}function f0(){qo!==null&&(ix(qo),qo=null)}function Ir(){return il}function zy(e){qo===null?qo=[e]:qo.push(e)}var v1=v.ReactCurrentBatchConfig,h1=null;function m1(){return v1.transition}var ll={recordUnsafeLifecycleWarnings:function(e,t){},flushPendingUnsafeLifecycleWarnings:function(){},recordLegacyContextWarning:function(e,t){},flushLegacyContextWarning:function(){},discardPendingWarnings:function(){}};{var g1=function(e){for(var t=null,a=e;a!==null;)a.mode&Rn&&(t=a),a=a.return;return t},tc=function(e){var t=[];return e.forEach(function(a){t.push(a)}),t.sort().join(", ")},Pp=[],Fp=[],Bp=[],Hp=[],Ip=[],Vp=[],nc=new Set;ll.recordUnsafeLifecycleWarnings=function(e,t){nc.has(e.type)||(typeof t.componentWillMount=="function"&&t.componentWillMount.__suppressDeprecationWarning!==!0&&Pp.push(e),e.mode&Rn&&typeof t.UNSAFE_componentWillMount=="function"&&Fp.push(e),typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps.__suppressDeprecationWarning!==!0&&Bp.push(e),e.mode&Rn&&typeof t.UNSAFE_componentWillReceiveProps=="function"&&Hp.push(e),typeof t.componentWillUpdate=="function"&&t.componentWillUpdate.__suppressDeprecationWarning!==!0&&Ip.push(e),e.mode&Rn&&typeof t.UNSAFE_componentWillUpdate=="function"&&Vp.push(e))},ll.flushPendingUnsafeLifecycleWarnings=function(){var e=new Set;Pp.length>0&&(Pp.forEach(function(M){e.add(ot(M)||"Component"),nc.add(M.type)}),Pp=[]);var t=new Set;Fp.length>0&&(Fp.forEach(function(M){t.add(ot(M)||"Component"),nc.add(M.type)}),Fp=[]);var a=new Set;Bp.length>0&&(Bp.forEach(function(M){a.add(ot(M)||"Component"),nc.add(M.type)}),Bp=[]);var i=new Set;Hp.length>0&&(Hp.forEach(function(M){i.add(ot(M)||"Component"),nc.add(M.type)}),Hp=[]);var u=new Set;Ip.length>0&&(Ip.forEach(function(M){u.add(ot(M)||"Component"),nc.add(M.type)}),Ip=[]);var c=new Set;if(Vp.length>0&&(Vp.forEach(function(M){c.add(ot(M)||"Component"),nc.add(M.type)}),Vp=[]),t.size>0){var d=tc(t);E(`Using UNSAFE_componentWillMount in strict mode is not recommended and may indicate bugs in your code. See https://reactjs.org/link/unsafe-component-lifecycles for details.
144
+
145
+ * Move code with side effects to componentDidMount, and set initial state in the constructor.
146
+
147
+ Please update the following components: %s`,d)}if(i.size>0){var m=tc(i);E(`Using UNSAFE_componentWillReceiveProps in strict mode is not recommended and may indicate bugs in your code. See https://reactjs.org/link/unsafe-component-lifecycles for details.
148
+
149
+ * Move data fetching code or side effects to componentDidUpdate.
150
+ * If you're updating state whenever props change, refactor your code to use memoization techniques or move it to static getDerivedStateFromProps. Learn more at: https://reactjs.org/link/derived-state
151
+
152
+ Please update the following components: %s`,m)}if(c.size>0){var g=tc(c);E(`Using UNSAFE_componentWillUpdate in strict mode is not recommended and may indicate bugs in your code. See https://reactjs.org/link/unsafe-component-lifecycles for details.
153
+
154
+ * Move data fetching code or side effects to componentDidUpdate.
155
+
156
+ Please update the following components: %s`,g)}if(e.size>0){var C=tc(e);j(`componentWillMount has been renamed, and is not recommended for use. See https://reactjs.org/link/unsafe-component-lifecycles for details.
157
+
158
+ * Move code with side effects to componentDidMount, and set initial state in the constructor.
159
+ * Rename componentWillMount to UNSAFE_componentWillMount to suppress this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run \`npx react-codemod rename-unsafe-lifecycles\` in your project source folder.
160
+
161
+ Please update the following components: %s`,C)}if(a.size>0){var w=tc(a);j(`componentWillReceiveProps has been renamed, and is not recommended for use. See https://reactjs.org/link/unsafe-component-lifecycles for details.
162
+
163
+ * Move data fetching code or side effects to componentDidUpdate.
164
+ * If you're updating state whenever props change, refactor your code to use memoization techniques or move it to static getDerivedStateFromProps. Learn more at: https://reactjs.org/link/derived-state
165
+ * Rename componentWillReceiveProps to UNSAFE_componentWillReceiveProps to suppress this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run \`npx react-codemod rename-unsafe-lifecycles\` in your project source folder.
166
+
167
+ Please update the following components: %s`,w)}if(u.size>0){var z=tc(u);j(`componentWillUpdate has been renamed, and is not recommended for use. See https://reactjs.org/link/unsafe-component-lifecycles for details.
168
+
169
+ * Move data fetching code or side effects to componentDidUpdate.
170
+ * Rename componentWillUpdate to UNSAFE_componentWillUpdate to suppress this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run \`npx react-codemod rename-unsafe-lifecycles\` in your project source folder.
171
+
172
+ Please update the following components: %s`,z)}};var om=new Map,d0=new Set;ll.recordLegacyContextWarning=function(e,t){var a=g1(e);if(a===null){E("Expected to find a StrictMode component in a strict mode tree. This error is likely caused by a bug in React. Please file an issue.");return}if(!d0.has(e.type)){var i=om.get(a);(e.type.contextTypes!=null||e.type.childContextTypes!=null||t!==null&&typeof t.getChildContext=="function")&&(i===void 0&&(i=[],om.set(a,i)),i.push(e))}},ll.flushLegacyContextWarning=function(){om.forEach(function(e,t){if(e.length!==0){var a=e[0],i=new Set;e.forEach(function(c){i.add(ot(c)||"Component"),d0.add(c.type)});var u=tc(i);try{Kt(a),E(`Legacy context API has been detected within a strict-mode tree.
173
+
174
+ The old API will be supported in all 16.x releases, but applications using it should migrate to the new version.
175
+
176
+ Please update the following components: %s
177
+
178
+ Learn more about this warning here: https://reactjs.org/link/legacy-context`,u)}finally{Dn()}}})},ll.discardPendingWarnings=function(){Pp=[],Fp=[],Bp=[],Hp=[],Ip=[],Vp=[],om=new Map}}function ul(e,t){if(e&&e.defaultProps){var a=wt({},t),i=e.defaultProps;for(var u in i)a[u]===void 0&&(a[u]=i[u]);return a}return t}var jy=Wo(null),Py;Py={};var sm=null,Hf=null,Fy=null,cm=!1;function fm(){sm=null,Hf=null,Fy=null,cm=!1}function p0(){cm=!0}function v0(){cm=!1}function h0(e,t,a){ha(jy,t._currentValue,e),t._currentValue=a,t._currentRenderer!==void 0&&t._currentRenderer!==null&&t._currentRenderer!==Py&&E("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),t._currentRenderer=Py}function By(e,t){var a=jy.current;va(jy,t),e._currentValue=a}function Hy(e,t,a){for(var i=e;i!==null;){var u=i.alternate;if(_u(i.childLanes,t)?u!==null&&!_u(u.childLanes,t)&&(u.childLanes=gt(u.childLanes,t)):(i.childLanes=gt(i.childLanes,t),u!==null&&(u.childLanes=gt(u.childLanes,t))),i===a)break;i=i.return}i!==a&&E("Expected to find the propagation root when scheduling context work. This error is likely caused by a bug in React. Please file an issue.")}function y1(e,t,a){S1(e,t,a)}function S1(e,t,a){var i=e.child;for(i!==null&&(i.return=e);i!==null;){var u=void 0,c=i.dependencies;if(c!==null){u=i.child;for(var d=c.firstContext;d!==null;){if(d.context===t){if(i.tag===G){var m=Wn(a),g=$u(on,m);g.tag=pm;var C=i.updateQueue;if(C!==null){var w=C.shared,z=w.pending;z===null?g.next=g:(g.next=z.next,z.next=g),w.pending=g}}i.lanes=gt(i.lanes,a);var M=i.alternate;M!==null&&(M.lanes=gt(M.lanes,a)),Hy(i.return,a,e),c.lanes=gt(c.lanes,a);break}d=d.next}}else if(i.tag===We)u=i.type===e.type?null:i.child;else if(i.tag===zt){var V=i.return;if(V===null)throw new Error("We just came from a parent so we must have had a parent. This is a bug in React.");V.lanes=gt(V.lanes,a);var Y=V.alternate;Y!==null&&(Y.lanes=gt(Y.lanes,a)),Hy(V,a,e),u=i.sibling}else u=i.child;if(u!==null)u.return=i;else for(u=i;u!==null;){if(u===e){u=null;break}var K=u.sibling;if(K!==null){K.return=u.return,u=K;break}u=u.return}i=u}}function If(e,t){sm=e,Hf=null,Fy=null;var a=e.dependencies;if(a!==null){var i=a.firstContext;i!==null&&(pa(a.lanes,t)&&rv(),a.firstContext=null)}}function ur(e){cm&&E("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo().");var t=e._currentValue;if(Fy!==e){var a={context:e,memoizedValue:t,next:null};if(Hf===null){if(sm===null)throw new Error("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo().");Hf=a,sm.dependencies={lanes:Z,firstContext:a}}else Hf=Hf.next=a}return t}var rc=null;function Iy(e){rc===null?rc=[e]:rc.push(e)}function E1(){if(rc!==null){for(var e=0;e<rc.length;e++){var t=rc[e],a=t.interleaved;if(a!==null){t.interleaved=null;var i=a.next,u=t.pending;if(u!==null){var c=u.next;u.next=i,a.next=c}t.pending=a}}rc=null}}function m0(e,t,a,i){var u=t.interleaved;return u===null?(a.next=a,Iy(t)):(a.next=u.next,u.next=a),t.interleaved=a,dm(e,i)}function C1(e,t,a,i){var u=t.interleaved;u===null?(a.next=a,Iy(t)):(a.next=u.next,u.next=a),t.interleaved=a}function w1(e,t,a,i){var u=t.interleaved;return u===null?(a.next=a,Iy(t)):(a.next=u.next,u.next=a),t.interleaved=a,dm(e,i)}function Za(e,t){return dm(e,t)}var x1=dm;function dm(e,t){e.lanes=gt(e.lanes,t);var a=e.alternate;a!==null&&(a.lanes=gt(a.lanes,t)),a===null&&(e.flags&(vn|Ia))!==Ve&&gx(e);for(var i=e,u=e.return;u!==null;)u.childLanes=gt(u.childLanes,t),a=u.alternate,a!==null?a.childLanes=gt(a.childLanes,t):(u.flags&(vn|Ia))!==Ve&&gx(e),i=u,u=u.return;if(i.tag===F){var c=i.stateNode;return c}else return null}var g0=0,y0=1,pm=2,Vy=3,vm=!1,$y,hm;$y=!1,hm=null;function Yy(e){var t={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:Z},effects:null};e.updateQueue=t}function S0(e,t){var a=t.updateQueue,i=e.updateQueue;if(a===i){var u={baseState:i.baseState,firstBaseUpdate:i.firstBaseUpdate,lastBaseUpdate:i.lastBaseUpdate,shared:i.shared,effects:i.effects};t.updateQueue=u}}function $u(e,t){var a={eventTime:e,lane:t,tag:g0,payload:null,callback:null,next:null};return a}function Ko(e,t,a){var i=e.updateQueue;if(i===null)return null;var u=i.shared;if(hm===u&&!$y&&(E("An update (setState, replaceState, or forceUpdate) was scheduled from inside an update function. Update functions should be pure, with zero side-effects. Consider using componentDidUpdate or a callback."),$y=!0),x_()){var c=u.pending;return c===null?t.next=t:(t.next=c.next,c.next=t),u.pending=t,x1(e,a)}else return w1(e,u,t,a)}function mm(e,t,a){var i=t.updateQueue;if(i!==null){var u=i.shared;if(Jd(a)){var c=u.lanes;c=tp(c,e.pendingLanes);var d=gt(c,a);u.lanes=d,Lo(e,d)}}}function Wy(e,t){var a=e.updateQueue,i=e.alternate;if(i!==null){var u=i.updateQueue;if(a===u){var c=null,d=null,m=a.firstBaseUpdate;if(m!==null){var g=m;do{var C={eventTime:g.eventTime,lane:g.lane,tag:g.tag,payload:g.payload,callback:g.callback,next:null};d===null?c=d=C:(d.next=C,d=C),g=g.next}while(g!==null);d===null?c=d=t:(d.next=t,d=t)}else c=d=t;a={baseState:u.baseState,firstBaseUpdate:c,lastBaseUpdate:d,shared:u.shared,effects:u.effects},e.updateQueue=a;return}}var w=a.lastBaseUpdate;w===null?a.firstBaseUpdate=t:w.next=t,a.lastBaseUpdate=t}function b1(e,t,a,i,u,c){switch(a.tag){case y0:{var d=a.payload;if(typeof d=="function"){p0();var m=d.call(c,i,u);{if(e.mode&Rn){Yn(!0);try{d.call(c,i,u)}finally{Yn(!1)}}v0()}return m}return d}case Vy:e.flags=e.flags&~nr|rt;case g0:{var g=a.payload,C;if(typeof g=="function"){p0(),C=g.call(c,i,u);{if(e.mode&Rn){Yn(!0);try{g.call(c,i,u)}finally{Yn(!1)}}v0()}}else C=g;return C==null?i:wt({},i,C)}case pm:return vm=!0,i}return i}function gm(e,t,a,i){var u=e.updateQueue;vm=!1,hm=u.shared;var c=u.firstBaseUpdate,d=u.lastBaseUpdate,m=u.shared.pending;if(m!==null){u.shared.pending=null;var g=m,C=g.next;g.next=null,d===null?c=C:d.next=C,d=g;var w=e.alternate;if(w!==null){var z=w.updateQueue,M=z.lastBaseUpdate;M!==d&&(M===null?z.firstBaseUpdate=C:M.next=C,z.lastBaseUpdate=g)}}if(c!==null){var V=u.baseState,Y=Z,K=null,be=null,Ye=null,Pe=c;do{var At=Pe.lane,_t=Pe.eventTime;if(_u(i,At)){if(Ye!==null){var X={eventTime:_t,lane:Nt,tag:Pe.tag,payload:Pe.payload,callback:Pe.callback,next:null};Ye=Ye.next=X}V=b1(e,u,Pe,V,t,a);var H=Pe.callback;if(H!==null&&Pe.lane!==Nt){e.flags|=Ri;var oe=u.effects;oe===null?u.effects=[Pe]:oe.push(Pe)}}else{var B={eventTime:_t,lane:At,tag:Pe.tag,payload:Pe.payload,callback:Pe.callback,next:null};Ye===null?(be=Ye=B,K=V):Ye=Ye.next=B,Y=gt(Y,At)}if(Pe=Pe.next,Pe===null){if(m=u.shared.pending,m===null)break;var Te=m,Se=Te.next;Te.next=null,Pe=Se,u.lastBaseUpdate=Te,u.shared.pending=null}}while(!0);Ye===null&&(K=V),u.baseState=K,u.firstBaseUpdate=be,u.lastBaseUpdate=Ye;var nt=u.shared.interleaved;if(nt!==null){var dt=nt;do Y=gt(Y,dt.lane),dt=dt.next;while(dt!==nt)}else c===null&&(u.shared.lanes=Z);hv(Y),e.lanes=Y,e.memoizedState=V}hm=null}function T1(e,t){if(typeof e!="function")throw new Error("Invalid argument passed as callback. Expected a function. Instead "+("received: "+e));e.call(t)}function E0(){vm=!1}function ym(){return vm}function C0(e,t,a){var i=t.effects;if(t.effects=null,i!==null)for(var u=0;u<i.length;u++){var c=i[u],d=c.callback;d!==null&&(c.callback=null,T1(d,a))}}var Qy={},w0=new s.Component().refs,Gy,qy,Ky,Xy,Zy,x0,Sm,Jy,eS,tS;{Gy=new Set,qy=new Set,Ky=new Set,Xy=new Set,Jy=new Set,Zy=new Set,eS=new Set,tS=new Set;var b0=new Set;Sm=function(e,t){if(!(e===null||typeof e=="function")){var a=t+"_"+e;b0.has(a)||(b0.add(a),E("%s(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",t,e))}},x0=function(e,t){if(t===void 0){var a=Pt(e)||"Component";Zy.has(a)||(Zy.add(a),E("%s.getDerivedStateFromProps(): A valid state object (or null) must be returned. You have returned undefined.",a))}},Object.defineProperty(Qy,"_processChildContext",{enumerable:!1,value:function(){throw new Error("_processChildContext is not available in React 16+. This likely means you have multiple copies of React and are attempting to nest a React 15 tree inside a React 16 tree using unstable_renderSubtreeIntoContainer, which isn't supported. Try to make sure you have only one copy of React (and ideally, switch to ReactDOM.createPortal).")}}),Object.freeze(Qy)}function nS(e,t,a,i){var u=e.memoizedState,c=a(i,u);{if(e.mode&Rn){Yn(!0);try{c=a(i,u)}finally{Yn(!1)}}x0(t,c)}var d=c==null?u:wt({},u,c);if(e.memoizedState=d,e.lanes===Z){var m=e.updateQueue;m.baseState=d}}var rS={isMounted:Ra,enqueueSetState:function(e,t,a){var i=Ba(e),u=Na(),c=as(i),d=$u(u,c);d.payload=t,a!=null&&(Sm(a,"setState"),d.callback=a);var m=Ko(i,d,c);m!==null&&(wr(m,i,c,u),mm(m,i,c)),Hl(i,c)},enqueueReplaceState:function(e,t,a){var i=Ba(e),u=Na(),c=as(i),d=$u(u,c);d.tag=y0,d.payload=t,a!=null&&(Sm(a,"replaceState"),d.callback=a);var m=Ko(i,d,c);m!==null&&(wr(m,i,c,u),mm(m,i,c)),Hl(i,c)},enqueueForceUpdate:function(e,t){var a=Ba(e),i=Na(),u=as(a),c=$u(i,u);c.tag=pm,t!=null&&(Sm(t,"forceUpdate"),c.callback=t);var d=Ko(a,c,u);d!==null&&(wr(d,a,u,i),mm(d,a,u)),qd(a,u)}};function T0(e,t,a,i,u,c,d){var m=e.stateNode;if(typeof m.shouldComponentUpdate=="function"){var g=m.shouldComponentUpdate(i,c,d);{if(e.mode&Rn){Yn(!0);try{g=m.shouldComponentUpdate(i,c,d)}finally{Yn(!1)}}g===void 0&&E("%s.shouldComponentUpdate(): Returned undefined instead of a boolean value. Make sure to return true or false.",Pt(t)||"Component")}return g}return t.prototype&&t.prototype.isPureReactComponent?!He(a,i)||!He(u,c):!0}function R1(e,t,a){var i=e.stateNode;{var u=Pt(t)||"Component",c=i.render;c||(t.prototype&&typeof t.prototype.render=="function"?E("%s(...): No `render` method found on the returned component instance: did you accidentally return an object from the constructor?",u):E("%s(...): No `render` method found on the returned component instance: you may have forgotten to define `render`.",u)),i.getInitialState&&!i.getInitialState.isReactClassApproved&&!i.state&&E("getInitialState was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Did you mean to define a state property instead?",u),i.getDefaultProps&&!i.getDefaultProps.isReactClassApproved&&E("getDefaultProps was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Use a static property to define defaultProps instead.",u),i.propTypes&&E("propTypes was defined as an instance property on %s. Use a static property to define propTypes instead.",u),i.contextType&&E("contextType was defined as an instance property on %s. Use a static property to define contextType instead.",u),i.contextTypes&&E("contextTypes was defined as an instance property on %s. Use a static property to define contextTypes instead.",u),t.contextType&&t.contextTypes&&!eS.has(t)&&(eS.add(t),E("%s declares both contextTypes and contextType static properties. The legacy contextTypes property will be ignored.",u)),typeof i.componentShouldUpdate=="function"&&E("%s has a method called componentShouldUpdate(). Did you mean shouldComponentUpdate()? The name is phrased as a question because the function is expected to return a value.",u),t.prototype&&t.prototype.isPureReactComponent&&typeof i.shouldComponentUpdate<"u"&&E("%s has a method called shouldComponentUpdate(). shouldComponentUpdate should not be used when extending React.PureComponent. Please extend React.Component if shouldComponentUpdate is used.",Pt(t)||"A pure component"),typeof i.componentDidUnmount=="function"&&E("%s has a method called componentDidUnmount(). But there is no such lifecycle method. Did you mean componentWillUnmount()?",u),typeof i.componentDidReceiveProps=="function"&&E("%s has a method called componentDidReceiveProps(). But there is no such lifecycle method. If you meant to update the state in response to changing props, use componentWillReceiveProps(). If you meant to fetch data or run side-effects or mutations after React has updated the UI, use componentDidUpdate().",u),typeof i.componentWillRecieveProps=="function"&&E("%s has a method called componentWillRecieveProps(). Did you mean componentWillReceiveProps()?",u),typeof i.UNSAFE_componentWillRecieveProps=="function"&&E("%s has a method called UNSAFE_componentWillRecieveProps(). Did you mean UNSAFE_componentWillReceiveProps()?",u);var d=i.props!==a;i.props!==void 0&&d&&E("%s(...): When calling super() in `%s`, make sure to pass up the same props that your component's constructor was passed.",u,u),i.defaultProps&&E("Setting defaultProps as an instance property on %s is not supported and will be ignored. Instead, define defaultProps as a static property on %s.",u,u),typeof i.getSnapshotBeforeUpdate=="function"&&typeof i.componentDidUpdate!="function"&&!Ky.has(t)&&(Ky.add(t),E("%s: getSnapshotBeforeUpdate() should be used with componentDidUpdate(). This component defines getSnapshotBeforeUpdate() only.",Pt(t))),typeof i.getDerivedStateFromProps=="function"&&E("%s: getDerivedStateFromProps() is defined as an instance method and will be ignored. Instead, declare it as a static method.",u),typeof i.getDerivedStateFromError=="function"&&E("%s: getDerivedStateFromError() is defined as an instance method and will be ignored. Instead, declare it as a static method.",u),typeof t.getSnapshotBeforeUpdate=="function"&&E("%s: getSnapshotBeforeUpdate() is defined as a static method and will be ignored. Instead, declare it as an instance method.",u);var m=i.state;m&&(typeof m!="object"||Dt(m))&&E("%s.state: must be set to an object or null",u),typeof i.getChildContext=="function"&&typeof t.childContextTypes!="object"&&E("%s.getChildContext(): childContextTypes must be defined in order to use getChildContext().",u)}}function R0(e,t){t.updater=rS,e.stateNode=t,Eo(t,e),t._reactInternalInstance=Qy}function k0(e,t,a){var i=!1,u=vi,c=vi,d=t.contextType;if("contextType"in t){var m=d===null||d!==void 0&&d.$$typeof===pe&&d._context===void 0;if(!m&&!tS.has(t)){tS.add(t);var g="";d===void 0?g=" However, it is set to undefined. This can be caused by a typo or by mixing up named and default imports. This can also happen due to a circular dependency, so try moving the createContext() call to a separate file.":typeof d!="object"?g=" However, it is set to a "+typeof d+".":d.$$typeof===re?g=" Did you accidentally pass the Context.Provider instead?":d._context!==void 0?g=" Did you accidentally pass the Context.Consumer instead?":g=" However, it is set to an object with keys {"+Object.keys(d).join(", ")+"}.",E("%s defines an invalid contextType. contextType should point to the Context object returned by React.createContext().%s",Pt(t)||"Component",g)}}if(typeof d=="object"&&d!==null)c=ur(d);else{u=zf(e,t,!0);var C=t.contextTypes;i=C!=null,c=i?jf(e,u):vi}var w=new t(a,c);if(e.mode&Rn){Yn(!0);try{w=new t(a,c)}finally{Yn(!1)}}var z=e.memoizedState=w.state!==null&&w.state!==void 0?w.state:null;R0(e,w);{if(typeof t.getDerivedStateFromProps=="function"&&z===null){var M=Pt(t)||"Component";qy.has(M)||(qy.add(M),E("`%s` uses `getDerivedStateFromProps` but its initial state is %s. This is not recommended. Instead, define the initial state by assigning an object to `this.state` in the constructor of `%s`. This ensures that `getDerivedStateFromProps` arguments have a consistent shape.",M,w.state===null?"null":"undefined",M))}if(typeof t.getDerivedStateFromProps=="function"||typeof w.getSnapshotBeforeUpdate=="function"){var V=null,Y=null,K=null;if(typeof w.componentWillMount=="function"&&w.componentWillMount.__suppressDeprecationWarning!==!0?V="componentWillMount":typeof w.UNSAFE_componentWillMount=="function"&&(V="UNSAFE_componentWillMount"),typeof w.componentWillReceiveProps=="function"&&w.componentWillReceiveProps.__suppressDeprecationWarning!==!0?Y="componentWillReceiveProps":typeof w.UNSAFE_componentWillReceiveProps=="function"&&(Y="UNSAFE_componentWillReceiveProps"),typeof w.componentWillUpdate=="function"&&w.componentWillUpdate.__suppressDeprecationWarning!==!0?K="componentWillUpdate":typeof w.UNSAFE_componentWillUpdate=="function"&&(K="UNSAFE_componentWillUpdate"),V!==null||Y!==null||K!==null){var be=Pt(t)||"Component",Ye=typeof t.getDerivedStateFromProps=="function"?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";Xy.has(be)||(Xy.add(be),E(`Unsafe legacy lifecycles will not be called for components using new component APIs.
179
+
180
+ %s uses %s but also contains the following legacy lifecycles:%s%s%s
181
+
182
+ The above lifecycles should be removed. Learn more about this warning here:
183
+ https://reactjs.org/link/unsafe-component-lifecycles`,be,Ye,V!==null?`
184
+ `+V:"",Y!==null?`
185
+ `+Y:"",K!==null?`
186
+ `+K:""))}}}return i&&XC(e,u,c),w}function k1(e,t){var a=t.state;typeof t.componentWillMount=="function"&&t.componentWillMount(),typeof t.UNSAFE_componentWillMount=="function"&&t.UNSAFE_componentWillMount(),a!==t.state&&(E("%s.componentWillMount(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",ot(e)||"Component"),rS.enqueueReplaceState(t,t.state,null))}function _0(e,t,a,i){var u=t.state;if(typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(a,i),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(a,i),t.state!==u){{var c=ot(e)||"Component";Gy.has(c)||(Gy.add(c),E("%s.componentWillReceiveProps(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",c))}rS.enqueueReplaceState(t,t.state,null)}}function aS(e,t,a,i){R1(e,t,a);var u=e.stateNode;u.props=a,u.state=e.memoizedState,u.refs=w0,Yy(e);var c=t.contextType;if(typeof c=="object"&&c!==null)u.context=ur(c);else{var d=zf(e,t,!0);u.context=jf(e,d)}{if(u.state===a){var m=Pt(t)||"Component";Jy.has(m)||(Jy.add(m),E("%s: It is not recommended to assign props directly to state because updates to props won't be reflected in state. In most cases, it is better to use props directly.",m))}e.mode&Rn&&ll.recordLegacyContextWarning(e,u),ll.recordUnsafeLifecycleWarnings(e,u)}u.state=e.memoizedState;var g=t.getDerivedStateFromProps;if(typeof g=="function"&&(nS(e,t,g,a),u.state=e.memoizedState),typeof t.getDerivedStateFromProps!="function"&&typeof u.getSnapshotBeforeUpdate!="function"&&(typeof u.UNSAFE_componentWillMount=="function"||typeof u.componentWillMount=="function")&&(k1(e,u),gm(e,a,u,i),u.state=e.memoizedState),typeof u.componentDidMount=="function"){var C=mt;C|=ua,(e.mode&Ya)!==qe&&(C|=oa),e.flags|=C}}function _1(e,t,a,i){var u=e.stateNode,c=e.memoizedProps;u.props=c;var d=u.context,m=t.contextType,g=vi;if(typeof m=="object"&&m!==null)g=ur(m);else{var C=zf(e,t,!0);g=jf(e,C)}var w=t.getDerivedStateFromProps,z=typeof w=="function"||typeof u.getSnapshotBeforeUpdate=="function";!z&&(typeof u.UNSAFE_componentWillReceiveProps=="function"||typeof u.componentWillReceiveProps=="function")&&(c!==a||d!==g)&&_0(e,u,a,g),E0();var M=e.memoizedState,V=u.state=M;if(gm(e,a,u,i),V=e.memoizedState,c===a&&M===V&&!em()&&!ym()){if(typeof u.componentDidMount=="function"){var Y=mt;Y|=ua,(e.mode&Ya)!==qe&&(Y|=oa),e.flags|=Y}return!1}typeof w=="function"&&(nS(e,t,w,a),V=e.memoizedState);var K=ym()||T0(e,t,c,a,M,V,g);if(K){if(!z&&(typeof u.UNSAFE_componentWillMount=="function"||typeof u.componentWillMount=="function")&&(typeof u.componentWillMount=="function"&&u.componentWillMount(),typeof u.UNSAFE_componentWillMount=="function"&&u.UNSAFE_componentWillMount()),typeof u.componentDidMount=="function"){var be=mt;be|=ua,(e.mode&Ya)!==qe&&(be|=oa),e.flags|=be}}else{if(typeof u.componentDidMount=="function"){var Ye=mt;Ye|=ua,(e.mode&Ya)!==qe&&(Ye|=oa),e.flags|=Ye}e.memoizedProps=a,e.memoizedState=V}return u.props=a,u.state=V,u.context=g,K}function D1(e,t,a,i,u){var c=t.stateNode;S0(e,t);var d=t.memoizedProps,m=t.type===t.elementType?d:ul(t.type,d);c.props=m;var g=t.pendingProps,C=c.context,w=a.contextType,z=vi;if(typeof w=="object"&&w!==null)z=ur(w);else{var M=zf(t,a,!0);z=jf(t,M)}var V=a.getDerivedStateFromProps,Y=typeof V=="function"||typeof c.getSnapshotBeforeUpdate=="function";!Y&&(typeof c.UNSAFE_componentWillReceiveProps=="function"||typeof c.componentWillReceiveProps=="function")&&(d!==g||C!==z)&&_0(t,c,i,z),E0();var K=t.memoizedState,be=c.state=K;if(gm(t,i,c,u),be=t.memoizedState,d===g&&K===be&&!em()&&!ym()&&!ze)return typeof c.componentDidUpdate=="function"&&(d!==e.memoizedProps||K!==e.memoizedState)&&(t.flags|=mt),typeof c.getSnapshotBeforeUpdate=="function"&&(d!==e.memoizedProps||K!==e.memoizedState)&&(t.flags|=Ha),!1;typeof V=="function"&&(nS(t,a,V,i),be=t.memoizedState);var Ye=ym()||T0(t,a,m,i,K,be,z)||ze;return Ye?(!Y&&(typeof c.UNSAFE_componentWillUpdate=="function"||typeof c.componentWillUpdate=="function")&&(typeof c.componentWillUpdate=="function"&&c.componentWillUpdate(i,be,z),typeof c.UNSAFE_componentWillUpdate=="function"&&c.UNSAFE_componentWillUpdate(i,be,z)),typeof c.componentDidUpdate=="function"&&(t.flags|=mt),typeof c.getSnapshotBeforeUpdate=="function"&&(t.flags|=Ha)):(typeof c.componentDidUpdate=="function"&&(d!==e.memoizedProps||K!==e.memoizedState)&&(t.flags|=mt),typeof c.getSnapshotBeforeUpdate=="function"&&(d!==e.memoizedProps||K!==e.memoizedState)&&(t.flags|=Ha),t.memoizedProps=i,t.memoizedState=be),c.props=i,c.state=be,c.context=z,Ye}var iS,lS,uS,oS,sS,D0=function(e,t){};iS=!1,lS=!1,uS={},oS={},sS={},D0=function(e,t){if(!(e===null||typeof e!="object")&&!(!e._store||e._store.validated||e.key!=null)){if(typeof e._store!="object")throw new Error("React Component in warnForMissingKey should have a _store. This error is likely caused by a bug in React. Please file an issue.");e._store.validated=!0;var a=ot(t)||"Component";oS[a]||(oS[a]=!0,E('Each child in a list should have a unique "key" prop. See https://reactjs.org/link/warning-keys for more information.'))}};function $p(e,t,a){var i=a.ref;if(i!==null&&typeof i!="function"&&typeof i!="object"){if((e.mode&Rn||tt)&&!(a._owner&&a._self&&a._owner.stateNode!==a._self)){var u=ot(e)||"Component";uS[u]||(E('A string ref, "%s", has been found within a strict mode tree. String refs are a source of potential bugs and should be avoided. We recommend using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',i),uS[u]=!0)}if(a._owner){var c=a._owner,d;if(c){var m=c;if(m.tag!==G)throw new Error("Function components cannot have string refs. We recommend using useRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref");d=m.stateNode}if(!d)throw new Error("Missing owner for string ref "+i+". This error is likely caused by a bug in React. Please file an issue.");var g=d;Jn(i,"ref");var C=""+i;if(t!==null&&t.ref!==null&&typeof t.ref=="function"&&t.ref._stringRef===C)return t.ref;var w=function(z){var M=g.refs;M===w0&&(M=g.refs={}),z===null?delete M[C]:M[C]=z};return w._stringRef=C,w}else{if(typeof i!="string")throw new Error("Expected ref to be a function, a string, an object returned by React.createRef(), or null.");if(!a._owner)throw new Error("Element ref was specified as a string ("+i+`) but no owner was set. This could happen for one of the following reasons:
187
+ 1. You may be adding a ref to a function component
188
+ 2. You may be adding a ref to a component that was not created inside a component's render method
189
+ 3. You have multiple copies of React loaded
190
+ See https://reactjs.org/link/refs-must-have-owner for more information.`)}}return i}function Em(e,t){var a=Object.prototype.toString.call(t);throw new Error("Objects are not valid as a React child (found: "+(a==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":a)+"). If you meant to render a collection of children, use an array instead.")}function Cm(e){{var t=ot(e)||"Component";if(sS[t])return;sS[t]=!0,E("Functions are not valid as a React child. This may happen if you return a Component instead of <Component /> from render. Or maybe you meant to call this function rather than return it.")}}function L0(e){var t=e._payload,a=e._init;return a(t)}function O0(e){function t(B,X){if(e){var H=B.deletions;H===null?(B.deletions=[X],B.flags|=Yt):H.push(X)}}function a(B,X){if(!e)return null;for(var H=X;H!==null;)t(B,H),H=H.sibling;return null}function i(B,X){for(var H=new Map,oe=X;oe!==null;)oe.key!==null?H.set(oe.key,oe):H.set(oe.index,oe),oe=oe.sibling;return H}function u(B,X){var H=fc(B,X);return H.index=0,H.sibling=null,H}function c(B,X,H){if(B.index=H,!e)return B.flags|=jd,X;var oe=B.alternate;if(oe!==null){var Te=oe.index;return Te<X?(B.flags|=vn,X):Te}else return B.flags|=vn,X}function d(B){return e&&B.alternate===null&&(B.flags|=vn),B}function m(B,X,H,oe){if(X===null||X.tag!==we){var Te=zE(H,B.mode,oe);return Te.return=B,Te}else{var Se=u(X,H);return Se.return=B,Se}}function g(B,X,H,oe){var Te=H.type;if(Te===xa)return w(B,X,H.props.children,oe,H.key);if(X!==null&&(X.elementType===Te||Cx(X,H)||typeof Te=="object"&&Te!==null&&Te.$$typeof===$e&&L0(Te)===X.type)){var Se=u(X,H.props);return Se.ref=$p(B,X,H),Se.return=B,Se._debugSource=H._source,Se._debugOwner=H._owner,Se}var nt=UE(H,B.mode,oe);return nt.ref=$p(B,X,H),nt.return=B,nt}function C(B,X,H,oe){if(X===null||X.tag!==te||X.stateNode.containerInfo!==H.containerInfo||X.stateNode.implementation!==H.implementation){var Te=jE(H,B.mode,oe);return Te.return=B,Te}else{var Se=u(X,H.children||[]);return Se.return=B,Se}}function w(B,X,H,oe,Te){if(X===null||X.tag!==Ke){var Se=ls(H,B.mode,oe,Te);return Se.return=B,Se}else{var nt=u(X,H);return nt.return=B,nt}}function z(B,X,H){if(typeof X=="string"&&X!==""||typeof X=="number"){var oe=zE(""+X,B.mode,H);return oe.return=B,oe}if(typeof X=="object"&&X!==null){switch(X.$$typeof){case Si:{var Te=UE(X,B.mode,H);return Te.ref=$p(B,null,X),Te.return=B,Te}case zr:{var Se=jE(X,B.mode,H);return Se.return=B,Se}case $e:{var nt=X._payload,dt=X._init;return z(B,dt(nt),H)}}if(Dt(X)||ii(X)){var rn=ls(X,B.mode,H,null);return rn.return=B,rn}Em(B,X)}return typeof X=="function"&&Cm(B),null}function M(B,X,H,oe){var Te=X!==null?X.key:null;if(typeof H=="string"&&H!==""||typeof H=="number")return Te!==null?null:m(B,X,""+H,oe);if(typeof H=="object"&&H!==null){switch(H.$$typeof){case Si:return H.key===Te?g(B,X,H,oe):null;case zr:return H.key===Te?C(B,X,H,oe):null;case $e:{var Se=H._payload,nt=H._init;return M(B,X,nt(Se),oe)}}if(Dt(H)||ii(H))return Te!==null?null:w(B,X,H,oe,null);Em(B,H)}return typeof H=="function"&&Cm(B),null}function V(B,X,H,oe,Te){if(typeof oe=="string"&&oe!==""||typeof oe=="number"){var Se=B.get(H)||null;return m(X,Se,""+oe,Te)}if(typeof oe=="object"&&oe!==null){switch(oe.$$typeof){case Si:{var nt=B.get(oe.key===null?H:oe.key)||null;return g(X,nt,oe,Te)}case zr:{var dt=B.get(oe.key===null?H:oe.key)||null;return C(X,dt,oe,Te)}case $e:var rn=oe._payload,It=oe._init;return V(B,X,H,It(rn),Te)}if(Dt(oe)||ii(oe)){var Kn=B.get(H)||null;return w(X,Kn,oe,Te,null)}Em(X,oe)}return typeof oe=="function"&&Cm(X),null}function Y(B,X,H){{if(typeof B!="object"||B===null)return X;switch(B.$$typeof){case Si:case zr:D0(B,H);var oe=B.key;if(typeof oe!="string")break;if(X===null){X=new Set,X.add(oe);break}if(!X.has(oe)){X.add(oe);break}E("Encountered two children with the same key, `%s`. Keys should be unique so that components maintain their identity across updates. Non-unique keys may cause children to be duplicated and/or omitted — the behavior is unsupported and could change in a future version.",oe);break;case $e:var Te=B._payload,Se=B._init;Y(Se(Te),X,H);break}}return X}function K(B,X,H,oe){for(var Te=null,Se=0;Se<H.length;Se++){var nt=H[Se];Te=Y(nt,Te,B)}for(var dt=null,rn=null,It=X,Kn=0,Vt=0,In=null;It!==null&&Vt<H.length;Vt++){It.index>Vt?(In=It,It=null):In=It.sibling;var ga=M(B,It,H[Vt],oe);if(ga===null){It===null&&(It=In);break}e&&It&&ga.alternate===null&&t(B,It),Kn=c(ga,Kn,Vt),rn===null?dt=ga:rn.sibling=ga,rn=ga,It=In}if(Vt===H.length){if(a(B,It),Ir()){var qr=Vt;Zs(B,qr)}return dt}if(It===null){for(;Vt<H.length;Vt++){var mi=z(B,H[Vt],oe);mi!==null&&(Kn=c(mi,Kn,Vt),rn===null?dt=mi:rn.sibling=mi,rn=mi)}if(Ir()){var Ma=Vt;Zs(B,Ma)}return dt}for(var Aa=i(B,It);Vt<H.length;Vt++){var ya=V(Aa,B,Vt,H[Vt],oe);ya!==null&&(e&&ya.alternate!==null&&Aa.delete(ya.key===null?Vt:ya.key),Kn=c(ya,Kn,Vt),rn===null?dt=ya:rn.sibling=ya,rn=ya)}if(e&&Aa.forEach(function(id){return t(B,id)}),Ir()){var Ku=Vt;Zs(B,Ku)}return dt}function be(B,X,H,oe){var Te=ii(H);if(typeof Te!="function")throw new Error("An object is not an iterable. This error is likely caused by a bug in React. Please file an issue.");{typeof Symbol=="function"&&H[Symbol.toStringTag]==="Generator"&&(lS||E("Using Generators as children is unsupported and will likely yield unexpected results because enumerating a generator mutates it. You may convert it to an array with `Array.from()` or the `[...spread]` operator before rendering. Keep in mind you might need to polyfill these features for older browsers."),lS=!0),H.entries===Te&&(iS||E("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),iS=!0);var Se=Te.call(H);if(Se)for(var nt=null,dt=Se.next();!dt.done;dt=Se.next()){var rn=dt.value;nt=Y(rn,nt,B)}}var It=Te.call(H);if(It==null)throw new Error("An iterable object provided no iterator.");for(var Kn=null,Vt=null,In=X,ga=0,qr=0,mi=null,Ma=It.next();In!==null&&!Ma.done;qr++,Ma=It.next()){In.index>qr?(mi=In,In=null):mi=In.sibling;var Aa=M(B,In,Ma.value,oe);if(Aa===null){In===null&&(In=mi);break}e&&In&&Aa.alternate===null&&t(B,In),ga=c(Aa,ga,qr),Vt===null?Kn=Aa:Vt.sibling=Aa,Vt=Aa,In=mi}if(Ma.done){if(a(B,In),Ir()){var ya=qr;Zs(B,ya)}return Kn}if(In===null){for(;!Ma.done;qr++,Ma=It.next()){var Ku=z(B,Ma.value,oe);Ku!==null&&(ga=c(Ku,ga,qr),Vt===null?Kn=Ku:Vt.sibling=Ku,Vt=Ku)}if(Ir()){var id=qr;Zs(B,id)}return Kn}for(var Ev=i(B,In);!Ma.done;qr++,Ma=It.next()){var iu=V(Ev,B,qr,Ma.value,oe);iu!==null&&(e&&iu.alternate!==null&&Ev.delete(iu.key===null?qr:iu.key),ga=c(iu,ga,qr),Vt===null?Kn=iu:Vt.sibling=iu,Vt=iu)}if(e&&Ev.forEach(function(VD){return t(B,VD)}),Ir()){var ID=qr;Zs(B,ID)}return Kn}function Ye(B,X,H,oe){if(X!==null&&X.tag===we){a(B,X.sibling);var Te=u(X,H);return Te.return=B,Te}a(B,X);var Se=zE(H,B.mode,oe);return Se.return=B,Se}function Pe(B,X,H,oe){for(var Te=H.key,Se=X;Se!==null;){if(Se.key===Te){var nt=H.type;if(nt===xa){if(Se.tag===Ke){a(B,Se.sibling);var dt=u(Se,H.props.children);return dt.return=B,dt._debugSource=H._source,dt._debugOwner=H._owner,dt}}else if(Se.elementType===nt||Cx(Se,H)||typeof nt=="object"&&nt!==null&&nt.$$typeof===$e&&L0(nt)===Se.type){a(B,Se.sibling);var rn=u(Se,H.props);return rn.ref=$p(B,Se,H),rn.return=B,rn._debugSource=H._source,rn._debugOwner=H._owner,rn}a(B,Se);break}else t(B,Se);Se=Se.sibling}if(H.type===xa){var It=ls(H.props.children,B.mode,oe,H.key);return It.return=B,It}else{var Kn=UE(H,B.mode,oe);return Kn.ref=$p(B,X,H),Kn.return=B,Kn}}function At(B,X,H,oe){for(var Te=H.key,Se=X;Se!==null;){if(Se.key===Te)if(Se.tag===te&&Se.stateNode.containerInfo===H.containerInfo&&Se.stateNode.implementation===H.implementation){a(B,Se.sibling);var nt=u(Se,H.children||[]);return nt.return=B,nt}else{a(B,Se);break}else t(B,Se);Se=Se.sibling}var dt=jE(H,B.mode,oe);return dt.return=B,dt}function _t(B,X,H,oe){var Te=typeof H=="object"&&H!==null&&H.type===xa&&H.key===null;if(Te&&(H=H.props.children),typeof H=="object"&&H!==null){switch(H.$$typeof){case Si:return d(Pe(B,X,H,oe));case zr:return d(At(B,X,H,oe));case $e:var Se=H._payload,nt=H._init;return _t(B,X,nt(Se),oe)}if(Dt(H))return K(B,X,H,oe);if(ii(H))return be(B,X,H,oe);Em(B,H)}return typeof H=="string"&&H!==""||typeof H=="number"?d(Ye(B,X,""+H,oe)):(typeof H=="function"&&Cm(B),a(B,X))}return _t}var Vf=O0(!0),N0=O0(!1);function L1(e,t){if(e!==null&&t.child!==e.child)throw new Error("Resuming work not yet implemented.");if(t.child!==null){var a=t.child,i=fc(a,a.pendingProps);for(t.child=i,i.return=t;a.sibling!==null;)a=a.sibling,i=i.sibling=fc(a,a.pendingProps),i.return=t;i.sibling=null}}function O1(e,t){for(var a=e.child;a!==null;)lD(a,t),a=a.sibling}var Yp={},Xo=Wo(Yp),Wp=Wo(Yp),wm=Wo(Yp);function xm(e){if(e===Yp)throw new Error("Expected host context to exist. This error is likely caused by a bug in React. Please file an issue.");return e}function M0(){var e=xm(wm.current);return e}function cS(e,t){ha(wm,t,e),ha(Wp,e,e),ha(Xo,Yp,e);var a=YT(t);va(Xo,e),ha(Xo,a,e)}function $f(e){va(Xo,e),va(Wp,e),va(wm,e)}function fS(){var e=xm(Xo.current);return e}function A0(e){xm(wm.current);var t=xm(Xo.current),a=WT(t,e.type);t!==a&&(ha(Wp,e,e),ha(Xo,a,e))}function dS(e){Wp.current===e&&(va(Xo,e),va(Wp,e))}var N1=0,U0=1,z0=1,Qp=2,ol=Wo(N1);function pS(e,t){return(e&t)!==0}function Yf(e){return e&U0}function vS(e,t){return e&U0|t}function M1(e,t){return e|t}function Zo(e,t){ha(ol,t,e)}function Wf(e){va(ol,e)}function A1(e,t){var a=e.memoizedState;return a!==null?a.dehydrated!==null:(e.memoizedProps,!0)}function bm(e){for(var t=e;t!==null;){if(t.tag===Re){var a=t.memoizedState;if(a!==null){var i=a.dehydrated;if(i===null||WC(i)||Ey(i))return t}}else if(t.tag===Ct&&t.memoizedProps.revealOrder!==void 0){var u=(t.flags&rt)!==Ve;if(u)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)return null;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var Ja=0,hr=1,Zl=2,mr=4,Vr=8,hS=[];function mS(){for(var e=0;e<hS.length;e++){var t=hS[e];t._workInProgressVersionPrimary=null}hS.length=0}function U1(e,t){var a=t._getVersion,i=a(t._source);e.mutableSourceEagerHydrationData==null?e.mutableSourceEagerHydrationData=[t,i]:e.mutableSourceEagerHydrationData.push(t,i)}var Ce=v.ReactCurrentDispatcher,Gp=v.ReactCurrentBatchConfig,gS,Qf;gS=new Set;var ac=Z,nn=null,gr=null,yr=null,Tm=!1,qp=!1,Kp=0,z1=0,j1=25,J=null,Ui=null,Jo=-1,yS=!1;function Zt(){{var e=J;Ui===null?Ui=[e]:Ui.push(e)}}function he(){{var e=J;Ui!==null&&(Jo++,Ui[Jo]!==e&&P1(e))}}function Gf(e){e!=null&&!Dt(e)&&E("%s received a final argument that is not an array (instead, received `%s`). When specified, the final argument must be an array.",J,typeof e)}function P1(e){{var t=ot(nn);if(!gS.has(t)&&(gS.add(t),Ui!==null)){for(var a="",i=30,u=0;u<=Jo;u++){for(var c=Ui[u],d=u===Jo?e:c,m=u+1+". "+c;m.length<i;)m+=" ";m+=d+`
191
+ `,a+=m}E(`React has detected a change in the order of Hooks called by %s. This will lead to bugs and errors if not fixed. For more information, read the Rules of Hooks: https://reactjs.org/link/rules-of-hooks
192
+
193
+ Previous render Next render
194
+ ------------------------------------------------------
195
+ %s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
196
+ `,t,a)}}}function ma(){throw new Error(`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:
197
+ 1. You might have mismatching versions of React and the renderer (such as React DOM)
198
+ 2. You might be breaking the Rules of Hooks
199
+ 3. You might have more than one copy of React in the same app
200
+ See https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.`)}function SS(e,t){if(yS)return!1;if(t===null)return E("%s received a final argument during this render, but not during the previous render. Even though the final argument is optional, its type cannot change between renders.",J),!1;e.length!==t.length&&E(`The final argument passed to %s changed size between renders. The order and size of this array must remain constant.
201
+
202
+ Previous: %s
203
+ Incoming: %s`,J,"["+t.join(", ")+"]","["+e.join(", ")+"]");for(var a=0;a<t.length&&a<e.length;a++)if(!Ne(e[a],t[a]))return!1;return!0}function qf(e,t,a,i,u,c){ac=c,nn=t,Ui=e!==null?e._debugHookTypes:null,Jo=-1,yS=e!==null&&e.type!==t.type,t.memoizedState=null,t.updateQueue=null,t.lanes=Z,e!==null&&e.memoizedState!==null?Ce.current=aw:Ui!==null?Ce.current=rw:Ce.current=nw;var d=a(i,u);if(qp){var m=0;do{if(qp=!1,Kp=0,m>=j1)throw new Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");m+=1,yS=!1,gr=null,yr=null,t.updateQueue=null,Jo=-1,Ce.current=iw,d=a(i,u)}while(qp)}Ce.current=Pm,t._debugHookTypes=Ui;var g=gr!==null&&gr.next!==null;if(ac=Z,nn=null,gr=null,yr=null,J=null,Ui=null,Jo=-1,e!==null&&(e.flags&dr)!==(t.flags&dr)&&(e.mode&bt)!==qe&&E("Internal React error: Expected static flag was missing. Please notify the React team."),Tm=!1,g)throw new Error("Rendered fewer hooks than expected. This may be caused by an accidental early return statement.");return d}function Kf(){var e=Kp!==0;return Kp=0,e}function j0(e,t,a){t.updateQueue=e.updateQueue,(t.mode&Ya)!==qe?t.flags&=~(yu|oa|Sn|mt):t.flags&=~(Sn|mt),e.lanes=Do(e.lanes,a)}function P0(){if(Ce.current=Pm,Tm){for(var e=nn.memoizedState;e!==null;){var t=e.queue;t!==null&&(t.pending=null),e=e.next}Tm=!1}ac=Z,nn=null,gr=null,yr=null,Ui=null,Jo=-1,J=null,X0=!1,qp=!1,Kp=0}function Jl(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return yr===null?nn.memoizedState=yr=e:yr=yr.next=e,yr}function zi(){var e;if(gr===null){var t=nn.alternate;t!==null?e=t.memoizedState:e=null}else e=gr.next;var a;if(yr===null?a=nn.memoizedState:a=yr.next,a!==null)yr=a,a=yr.next,gr=e;else{if(e===null)throw new Error("Rendered more hooks than during the previous render.");gr=e;var i={memoizedState:gr.memoizedState,baseState:gr.baseState,baseQueue:gr.baseQueue,queue:gr.queue,next:null};yr===null?nn.memoizedState=yr=i:yr=yr.next=i}return yr}function F0(){return{lastEffect:null,stores:null}}function ES(e,t){return typeof t=="function"?t(e):t}function CS(e,t,a){var i=Jl(),u;a!==void 0?u=a(t):u=t,i.memoizedState=i.baseState=u;var c={pending:null,interleaved:null,lanes:Z,dispatch:null,lastRenderedReducer:e,lastRenderedState:u};i.queue=c;var d=c.dispatch=I1.bind(null,nn,c);return[i.memoizedState,d]}function wS(e,t,a){var i=zi(),u=i.queue;if(u===null)throw new Error("Should have a queue. This is likely a bug in React. Please file an issue.");u.lastRenderedReducer=e;var c=gr,d=c.baseQueue,m=u.pending;if(m!==null){if(d!==null){var g=d.next,C=m.next;d.next=C,m.next=g}c.baseQueue!==d&&E("Internal error: Expected work-in-progress queue to be a clone. This is a bug in React."),c.baseQueue=d=m,u.pending=null}if(d!==null){var w=d.next,z=c.baseState,M=null,V=null,Y=null,K=w;do{var be=K.lane;if(_u(ac,be)){if(Y!==null){var Pe={lane:Nt,action:K.action,hasEagerState:K.hasEagerState,eagerState:K.eagerState,next:null};Y=Y.next=Pe}if(K.hasEagerState)z=K.eagerState;else{var At=K.action;z=e(z,At)}}else{var Ye={lane:be,action:K.action,hasEagerState:K.hasEagerState,eagerState:K.eagerState,next:null};Y===null?(V=Y=Ye,M=z):Y=Y.next=Ye,nn.lanes=gt(nn.lanes,be),hv(be)}K=K.next}while(K!==null&&K!==w);Y===null?M=z:Y.next=V,Ne(z,i.memoizedState)||rv(),i.memoizedState=z,i.baseState=M,i.baseQueue=Y,u.lastRenderedState=z}var _t=u.interleaved;if(_t!==null){var B=_t;do{var X=B.lane;nn.lanes=gt(nn.lanes,X),hv(X),B=B.next}while(B!==_t)}else d===null&&(u.lanes=Z);var H=u.dispatch;return[i.memoizedState,H]}function xS(e,t,a){var i=zi(),u=i.queue;if(u===null)throw new Error("Should have a queue. This is likely a bug in React. Please file an issue.");u.lastRenderedReducer=e;var c=u.dispatch,d=u.pending,m=i.memoizedState;if(d!==null){u.pending=null;var g=d.next,C=g;do{var w=C.action;m=e(m,w),C=C.next}while(C!==g);Ne(m,i.memoizedState)||rv(),i.memoizedState=m,i.baseQueue===null&&(i.baseState=m),u.lastRenderedState=m}return[m,c]}function jN(e,t,a){}function PN(e,t,a){}function bS(e,t,a){var i=nn,u=Jl(),c,d=Ir();if(d){if(a===void 0)throw new Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");c=a(),Qf||c!==a()&&(E("The result of getServerSnapshot should be cached to avoid an infinite loop"),Qf=!0)}else{if(c=t(),!Qf){var m=t();Ne(c,m)||(E("The result of getSnapshot should be cached to avoid an infinite loop"),Qf=!0)}var g=ng();if(g===null)throw new Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");Us(g,ac)||B0(i,t,c)}u.memoizedState=c;var C={value:c,getSnapshot:t};return u.queue=C,Lm(I0.bind(null,i,C,e),[e]),i.flags|=Sn,Xp(hr|Vr,H0.bind(null,i,C,c,t),void 0,null),c}function Rm(e,t,a){var i=nn,u=zi(),c=t();if(!Qf){var d=t();Ne(c,d)||(E("The result of getSnapshot should be cached to avoid an infinite loop"),Qf=!0)}var m=u.memoizedState,g=!Ne(m,c);g&&(u.memoizedState=c,rv());var C=u.queue;if(Jp(I0.bind(null,i,C,e),[e]),C.getSnapshot!==t||g||yr!==null&&yr.memoizedState.tag&hr){i.flags|=Sn,Xp(hr|Vr,H0.bind(null,i,C,c,t),void 0,null);var w=ng();if(w===null)throw new Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");Us(w,ac)||B0(i,t,c)}return c}function B0(e,t,a){e.flags|=Rs;var i={getSnapshot:t,value:a},u=nn.updateQueue;if(u===null)u=F0(),nn.updateQueue=u,u.stores=[i];else{var c=u.stores;c===null?u.stores=[i]:c.push(i)}}function H0(e,t,a,i){t.value=a,t.getSnapshot=i,V0(t)&&$0(e)}function I0(e,t,a){var i=function(){V0(t)&&$0(e)};return a(i)}function V0(e){var t=e.getSnapshot,a=e.value;try{var i=t();return!Ne(a,i)}catch{return!0}}function $0(e){var t=Za(e,et);t!==null&&wr(t,e,et,on)}function km(e){var t=Jl();typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e;var a={pending:null,interleaved:null,lanes:Z,dispatch:null,lastRenderedReducer:ES,lastRenderedState:e};t.queue=a;var i=a.dispatch=V1.bind(null,nn,a);return[t.memoizedState,i]}function TS(e){return wS(ES)}function RS(e){return xS(ES)}function Xp(e,t,a,i){var u={tag:e,create:t,destroy:a,deps:i,next:null},c=nn.updateQueue;if(c===null)c=F0(),nn.updateQueue=c,c.lastEffect=u.next=u;else{var d=c.lastEffect;if(d===null)c.lastEffect=u.next=u;else{var m=d.next;d.next=u,u.next=m,c.lastEffect=u}}return u}function kS(e){var t=Jl();{var a={current:e};return t.memoizedState=a,a}}function _m(e){var t=zi();return t.memoizedState}function Zp(e,t,a,i){var u=Jl(),c=i===void 0?null:i;nn.flags|=e,u.memoizedState=Xp(hr|t,a,void 0,c)}function Dm(e,t,a,i){var u=zi(),c=i===void 0?null:i,d=void 0;if(gr!==null){var m=gr.memoizedState;if(d=m.destroy,c!==null){var g=m.deps;if(SS(c,g)){u.memoizedState=Xp(t,a,d,c);return}}}nn.flags|=e,u.memoizedState=Xp(hr|t,a,d,c)}function Lm(e,t){return(nn.mode&Ya)!==qe?Zp(yu|Sn|Ul,Vr,e,t):Zp(Sn|Ul,Vr,e,t)}function Jp(e,t){return Dm(Sn,Vr,e,t)}function _S(e,t){return Zp(mt,Zl,e,t)}function Om(e,t){return Dm(mt,Zl,e,t)}function DS(e,t){var a=mt;return a|=ua,(nn.mode&Ya)!==qe&&(a|=oa),Zp(a,mr,e,t)}function Nm(e,t){return Dm(mt,mr,e,t)}function Y0(e,t){if(typeof t=="function"){var a=t,i=e();return a(i),function(){a(null)}}else if(t!=null){var u=t;u.hasOwnProperty("current")||E("Expected useImperativeHandle() first argument to either be a ref callback or React.createRef() object. Instead received: %s.","an object with keys {"+Object.keys(u).join(", ")+"}");var c=e();return u.current=c,function(){u.current=null}}}function LS(e,t,a){typeof t!="function"&&E("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",t!==null?typeof t:"null");var i=a!=null?a.concat([e]):null,u=mt;return u|=ua,(nn.mode&Ya)!==qe&&(u|=oa),Zp(u,mr,Y0.bind(null,t,e),i)}function Mm(e,t,a){typeof t!="function"&&E("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",t!==null?typeof t:"null");var i=a!=null?a.concat([e]):null;return Dm(mt,mr,Y0.bind(null,t,e),i)}function F1(e,t){}var Am=F1;function OS(e,t){var a=Jl(),i=t===void 0?null:t;return a.memoizedState=[e,i],e}function Um(e,t){var a=zi(),i=t===void 0?null:t,u=a.memoizedState;if(u!==null&&i!==null){var c=u[1];if(SS(i,c))return u[0]}return a.memoizedState=[e,i],e}function NS(e,t){var a=Jl(),i=t===void 0?null:t,u=e();return a.memoizedState=[u,i],u}function zm(e,t){var a=zi(),i=t===void 0?null:t,u=a.memoizedState;if(u!==null&&i!==null){var c=u[1];if(SS(i,c))return u[0]}var d=e();return a.memoizedState=[d,i],d}function MS(e){var t=Jl();return t.memoizedState=e,e}function W0(e){var t=zi(),a=gr,i=a.memoizedState;return G0(t,i,e)}function Q0(e){var t=zi();if(gr===null)return t.memoizedState=e,e;var a=gr.memoizedState;return G0(t,a,e)}function G0(e,t,a){var i=!Fg(ac);if(i){if(!Ne(a,t)){var u=ep();nn.lanes=gt(nn.lanes,u),hv(u),e.baseState=!0}return t}else return e.baseState&&(e.baseState=!1,rv()),e.memoizedState=a,a}function B1(e,t,a){var i=Qa();Qn(Dr(i,vr)),e(!0);var u=Gp.transition;Gp.transition={};var c=Gp.transition;Gp.transition._updatedFibers=new Set;try{e(!1),t()}finally{if(Qn(i),Gp.transition=u,u===null&&c._updatedFibers){var d=c._updatedFibers.size;d>10&&j("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."),c._updatedFibers.clear()}}}function AS(){var e=km(!1),t=e[0],a=e[1],i=B1.bind(null,a),u=Jl();return u.memoizedState=i,[t,i]}function q0(){var e=TS(),t=e[0],a=zi(),i=a.memoizedState;return[t,i]}function K0(){var e=RS(),t=e[0],a=zi(),i=a.memoizedState;return[t,i]}var X0=!1;function H1(){return X0}function US(){var e=Jl(),t=ng(),a=t.identifierPrefix,i;if(Ir()){var u=t1();i=":"+a+"R"+u;var c=Kp++;c>0&&(i+="H"+c.toString(32)),i+=":"}else{var d=z1++;i=":"+a+"r"+d.toString(32)+":"}return e.memoizedState=i,i}function jm(){var e=zi(),t=e.memoizedState;return t}function I1(e,t,a){typeof arguments[3]=="function"&&E("State updates from the useState() and useReducer() Hooks don't support the second callback argument. To execute a side effect after rendering, declare it in the component body with useEffect().");var i=as(e),u={lane:i,action:a,hasEagerState:!1,eagerState:null,next:null};if(Z0(e))J0(t,u);else{var c=m0(e,t,u,i);if(c!==null){var d=Na();wr(c,e,i,d),ew(c,t,i)}}tw(e,i)}function V1(e,t,a){typeof arguments[3]=="function"&&E("State updates from the useState() and useReducer() Hooks don't support the second callback argument. To execute a side effect after rendering, declare it in the component body with useEffect().");var i=as(e),u={lane:i,action:a,hasEagerState:!1,eagerState:null,next:null};if(Z0(e))J0(t,u);else{var c=e.alternate;if(e.lanes===Z&&(c===null||c.lanes===Z)){var d=t.lastRenderedReducer;if(d!==null){var m;m=Ce.current,Ce.current=sl;try{var g=t.lastRenderedState,C=d(g,a);if(u.hasEagerState=!0,u.eagerState=C,Ne(C,g)){C1(e,t,u,i);return}}catch{}finally{Ce.current=m}}}var w=m0(e,t,u,i);if(w!==null){var z=Na();wr(w,e,i,z),ew(w,t,i)}}tw(e,i)}function Z0(e){var t=e.alternate;return e===nn||t!==null&&t===nn}function J0(e,t){qp=Tm=!0;var a=e.pending;a===null?t.next=t:(t.next=a.next,a.next=t),e.pending=t}function ew(e,t,a){if(Jd(a)){var i=t.lanes;i=tp(i,e.pendingLanes);var u=gt(i,a);t.lanes=u,Lo(e,u)}}function tw(e,t,a){Hl(e,t)}var Pm={readContext:ur,useCallback:ma,useContext:ma,useEffect:ma,useImperativeHandle:ma,useInsertionEffect:ma,useLayoutEffect:ma,useMemo:ma,useReducer:ma,useRef:ma,useState:ma,useDebugValue:ma,useDeferredValue:ma,useTransition:ma,useMutableSource:ma,useSyncExternalStore:ma,useId:ma,unstable_isNewReconciler:ce},nw=null,rw=null,aw=null,iw=null,eu=null,sl=null,Fm=null;{var zS=function(){E("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo().")},st=function(){E("Do not call Hooks inside useEffect(...), useMemo(...), or other built-in Hooks. You can only call Hooks at the top level of your React function. For more information, see https://reactjs.org/link/rules-of-hooks")};nw={readContext:function(e){return ur(e)},useCallback:function(e,t){return J="useCallback",Zt(),Gf(t),OS(e,t)},useContext:function(e){return J="useContext",Zt(),ur(e)},useEffect:function(e,t){return J="useEffect",Zt(),Gf(t),Lm(e,t)},useImperativeHandle:function(e,t,a){return J="useImperativeHandle",Zt(),Gf(a),LS(e,t,a)},useInsertionEffect:function(e,t){return J="useInsertionEffect",Zt(),Gf(t),_S(e,t)},useLayoutEffect:function(e,t){return J="useLayoutEffect",Zt(),Gf(t),DS(e,t)},useMemo:function(e,t){J="useMemo",Zt(),Gf(t);var a=Ce.current;Ce.current=eu;try{return NS(e,t)}finally{Ce.current=a}},useReducer:function(e,t,a){J="useReducer",Zt();var i=Ce.current;Ce.current=eu;try{return CS(e,t,a)}finally{Ce.current=i}},useRef:function(e){return J="useRef",Zt(),kS(e)},useState:function(e){J="useState",Zt();var t=Ce.current;Ce.current=eu;try{return km(e)}finally{Ce.current=t}},useDebugValue:function(e,t){return J="useDebugValue",Zt(),void 0},useDeferredValue:function(e){return J="useDeferredValue",Zt(),MS(e)},useTransition:function(){return J="useTransition",Zt(),AS()},useMutableSource:function(e,t,a){return J="useMutableSource",Zt(),void 0},useSyncExternalStore:function(e,t,a){return J="useSyncExternalStore",Zt(),bS(e,t,a)},useId:function(){return J="useId",Zt(),US()},unstable_isNewReconciler:ce},rw={readContext:function(e){return ur(e)},useCallback:function(e,t){return J="useCallback",he(),OS(e,t)},useContext:function(e){return J="useContext",he(),ur(e)},useEffect:function(e,t){return J="useEffect",he(),Lm(e,t)},useImperativeHandle:function(e,t,a){return J="useImperativeHandle",he(),LS(e,t,a)},useInsertionEffect:function(e,t){return J="useInsertionEffect",he(),_S(e,t)},useLayoutEffect:function(e,t){return J="useLayoutEffect",he(),DS(e,t)},useMemo:function(e,t){J="useMemo",he();var a=Ce.current;Ce.current=eu;try{return NS(e,t)}finally{Ce.current=a}},useReducer:function(e,t,a){J="useReducer",he();var i=Ce.current;Ce.current=eu;try{return CS(e,t,a)}finally{Ce.current=i}},useRef:function(e){return J="useRef",he(),kS(e)},useState:function(e){J="useState",he();var t=Ce.current;Ce.current=eu;try{return km(e)}finally{Ce.current=t}},useDebugValue:function(e,t){return J="useDebugValue",he(),void 0},useDeferredValue:function(e){return J="useDeferredValue",he(),MS(e)},useTransition:function(){return J="useTransition",he(),AS()},useMutableSource:function(e,t,a){return J="useMutableSource",he(),void 0},useSyncExternalStore:function(e,t,a){return J="useSyncExternalStore",he(),bS(e,t,a)},useId:function(){return J="useId",he(),US()},unstable_isNewReconciler:ce},aw={readContext:function(e){return ur(e)},useCallback:function(e,t){return J="useCallback",he(),Um(e,t)},useContext:function(e){return J="useContext",he(),ur(e)},useEffect:function(e,t){return J="useEffect",he(),Jp(e,t)},useImperativeHandle:function(e,t,a){return J="useImperativeHandle",he(),Mm(e,t,a)},useInsertionEffect:function(e,t){return J="useInsertionEffect",he(),Om(e,t)},useLayoutEffect:function(e,t){return J="useLayoutEffect",he(),Nm(e,t)},useMemo:function(e,t){J="useMemo",he();var a=Ce.current;Ce.current=sl;try{return zm(e,t)}finally{Ce.current=a}},useReducer:function(e,t,a){J="useReducer",he();var i=Ce.current;Ce.current=sl;try{return wS(e,t,a)}finally{Ce.current=i}},useRef:function(e){return J="useRef",he(),_m()},useState:function(e){J="useState",he();var t=Ce.current;Ce.current=sl;try{return TS(e)}finally{Ce.current=t}},useDebugValue:function(e,t){return J="useDebugValue",he(),Am()},useDeferredValue:function(e){return J="useDeferredValue",he(),W0(e)},useTransition:function(){return J="useTransition",he(),q0()},useMutableSource:function(e,t,a){return J="useMutableSource",he(),void 0},useSyncExternalStore:function(e,t,a){return J="useSyncExternalStore",he(),Rm(e,t)},useId:function(){return J="useId",he(),jm()},unstable_isNewReconciler:ce},iw={readContext:function(e){return ur(e)},useCallback:function(e,t){return J="useCallback",he(),Um(e,t)},useContext:function(e){return J="useContext",he(),ur(e)},useEffect:function(e,t){return J="useEffect",he(),Jp(e,t)},useImperativeHandle:function(e,t,a){return J="useImperativeHandle",he(),Mm(e,t,a)},useInsertionEffect:function(e,t){return J="useInsertionEffect",he(),Om(e,t)},useLayoutEffect:function(e,t){return J="useLayoutEffect",he(),Nm(e,t)},useMemo:function(e,t){J="useMemo",he();var a=Ce.current;Ce.current=Fm;try{return zm(e,t)}finally{Ce.current=a}},useReducer:function(e,t,a){J="useReducer",he();var i=Ce.current;Ce.current=Fm;try{return xS(e,t,a)}finally{Ce.current=i}},useRef:function(e){return J="useRef",he(),_m()},useState:function(e){J="useState",he();var t=Ce.current;Ce.current=Fm;try{return RS(e)}finally{Ce.current=t}},useDebugValue:function(e,t){return J="useDebugValue",he(),Am()},useDeferredValue:function(e){return J="useDeferredValue",he(),Q0(e)},useTransition:function(){return J="useTransition",he(),K0()},useMutableSource:function(e,t,a){return J="useMutableSource",he(),void 0},useSyncExternalStore:function(e,t,a){return J="useSyncExternalStore",he(),Rm(e,t)},useId:function(){return J="useId",he(),jm()},unstable_isNewReconciler:ce},eu={readContext:function(e){return zS(),ur(e)},useCallback:function(e,t){return J="useCallback",st(),Zt(),OS(e,t)},useContext:function(e){return J="useContext",st(),Zt(),ur(e)},useEffect:function(e,t){return J="useEffect",st(),Zt(),Lm(e,t)},useImperativeHandle:function(e,t,a){return J="useImperativeHandle",st(),Zt(),LS(e,t,a)},useInsertionEffect:function(e,t){return J="useInsertionEffect",st(),Zt(),_S(e,t)},useLayoutEffect:function(e,t){return J="useLayoutEffect",st(),Zt(),DS(e,t)},useMemo:function(e,t){J="useMemo",st(),Zt();var a=Ce.current;Ce.current=eu;try{return NS(e,t)}finally{Ce.current=a}},useReducer:function(e,t,a){J="useReducer",st(),Zt();var i=Ce.current;Ce.current=eu;try{return CS(e,t,a)}finally{Ce.current=i}},useRef:function(e){return J="useRef",st(),Zt(),kS(e)},useState:function(e){J="useState",st(),Zt();var t=Ce.current;Ce.current=eu;try{return km(e)}finally{Ce.current=t}},useDebugValue:function(e,t){return J="useDebugValue",st(),Zt(),void 0},useDeferredValue:function(e){return J="useDeferredValue",st(),Zt(),MS(e)},useTransition:function(){return J="useTransition",st(),Zt(),AS()},useMutableSource:function(e,t,a){return J="useMutableSource",st(),Zt(),void 0},useSyncExternalStore:function(e,t,a){return J="useSyncExternalStore",st(),Zt(),bS(e,t,a)},useId:function(){return J="useId",st(),Zt(),US()},unstable_isNewReconciler:ce},sl={readContext:function(e){return zS(),ur(e)},useCallback:function(e,t){return J="useCallback",st(),he(),Um(e,t)},useContext:function(e){return J="useContext",st(),he(),ur(e)},useEffect:function(e,t){return J="useEffect",st(),he(),Jp(e,t)},useImperativeHandle:function(e,t,a){return J="useImperativeHandle",st(),he(),Mm(e,t,a)},useInsertionEffect:function(e,t){return J="useInsertionEffect",st(),he(),Om(e,t)},useLayoutEffect:function(e,t){return J="useLayoutEffect",st(),he(),Nm(e,t)},useMemo:function(e,t){J="useMemo",st(),he();var a=Ce.current;Ce.current=sl;try{return zm(e,t)}finally{Ce.current=a}},useReducer:function(e,t,a){J="useReducer",st(),he();var i=Ce.current;Ce.current=sl;try{return wS(e,t,a)}finally{Ce.current=i}},useRef:function(e){return J="useRef",st(),he(),_m()},useState:function(e){J="useState",st(),he();var t=Ce.current;Ce.current=sl;try{return TS(e)}finally{Ce.current=t}},useDebugValue:function(e,t){return J="useDebugValue",st(),he(),Am()},useDeferredValue:function(e){return J="useDeferredValue",st(),he(),W0(e)},useTransition:function(){return J="useTransition",st(),he(),q0()},useMutableSource:function(e,t,a){return J="useMutableSource",st(),he(),void 0},useSyncExternalStore:function(e,t,a){return J="useSyncExternalStore",st(),he(),Rm(e,t)},useId:function(){return J="useId",st(),he(),jm()},unstable_isNewReconciler:ce},Fm={readContext:function(e){return zS(),ur(e)},useCallback:function(e,t){return J="useCallback",st(),he(),Um(e,t)},useContext:function(e){return J="useContext",st(),he(),ur(e)},useEffect:function(e,t){return J="useEffect",st(),he(),Jp(e,t)},useImperativeHandle:function(e,t,a){return J="useImperativeHandle",st(),he(),Mm(e,t,a)},useInsertionEffect:function(e,t){return J="useInsertionEffect",st(),he(),Om(e,t)},useLayoutEffect:function(e,t){return J="useLayoutEffect",st(),he(),Nm(e,t)},useMemo:function(e,t){J="useMemo",st(),he();var a=Ce.current;Ce.current=sl;try{return zm(e,t)}finally{Ce.current=a}},useReducer:function(e,t,a){J="useReducer",st(),he();var i=Ce.current;Ce.current=sl;try{return xS(e,t,a)}finally{Ce.current=i}},useRef:function(e){return J="useRef",st(),he(),_m()},useState:function(e){J="useState",st(),he();var t=Ce.current;Ce.current=sl;try{return RS(e)}finally{Ce.current=t}},useDebugValue:function(e,t){return J="useDebugValue",st(),he(),Am()},useDeferredValue:function(e){return J="useDeferredValue",st(),he(),Q0(e)},useTransition:function(){return J="useTransition",st(),he(),K0()},useMutableSource:function(e,t,a){return J="useMutableSource",st(),he(),void 0},useSyncExternalStore:function(e,t,a){return J="useSyncExternalStore",st(),he(),Rm(e,t)},useId:function(){return J="useId",st(),he(),jm()},unstable_isNewReconciler:ce}}var es=h.unstable_now,lw=0,Bm=-1,ev=-1,Hm=-1,jS=!1,Im=!1;function uw(){return jS}function $1(){Im=!0}function Y1(){jS=!1,Im=!1}function W1(){jS=Im,Im=!1}function ow(){return lw}function sw(){lw=es()}function PS(e){ev=es(),e.actualStartTime<0&&(e.actualStartTime=es())}function cw(e){ev=-1}function Vm(e,t){if(ev>=0){var a=es()-ev;e.actualDuration+=a,t&&(e.selfBaseDuration=a),ev=-1}}function tu(e){if(Bm>=0){var t=es()-Bm;Bm=-1;for(var a=e.return;a!==null;){switch(a.tag){case F:var i=a.stateNode;i.effectDuration+=t;return;case pt:var u=a.stateNode;u.effectDuration+=t;return}a=a.return}}}function FS(e){if(Hm>=0){var t=es()-Hm;Hm=-1;for(var a=e.return;a!==null;){switch(a.tag){case F:var i=a.stateNode;i!==null&&(i.passiveEffectDuration+=t);return;case pt:var u=a.stateNode;u!==null&&(u.passiveEffectDuration+=t);return}a=a.return}}}function nu(){Bm=es()}function BS(){Hm=es()}function HS(e){for(var t=e.child;t;)e.actualDuration+=t.actualDuration,t=t.sibling}function ic(e,t){return{value:e,source:t,stack:lo(t),digest:null}}function IS(e,t,a){return{value:e,source:null,stack:a??null,digest:t??null}}function Q1(e,t){return!0}function VS(e,t){try{var a=Q1(e,t);if(a===!1)return;var i=t.value,u=t.source,c=t.stack,d=c!==null?c:"";if(i!=null&&i._suppressLogging){if(e.tag===G)return;console.error(i)}var m=u?ot(u):null,g=m?"The above error occurred in the <"+m+"> component:":"The above error occurred in one of your React components:",C;if(e.tag===F)C=`Consider adding an error boundary to your tree to customize error handling behavior.
204
+ Visit https://reactjs.org/link/error-boundaries to learn more about error boundaries.`;else{var w=ot(e)||"Anonymous";C="React will try to recreate this component tree from scratch "+("using the error boundary you provided, "+w+".")}var z=g+`
205
+ `+d+`
206
+
207
+ `+(""+C);console.error(z)}catch(M){setTimeout(function(){throw M})}}var G1=typeof WeakMap=="function"?WeakMap:Map;function fw(e,t,a){var i=$u(on,a);i.tag=Vy,i.payload={element:null};var u=t.value;return i.callback=function(){B_(u),VS(e,t)},i}function $S(e,t,a){var i=$u(on,a);i.tag=Vy;var u=e.type.getDerivedStateFromError;if(typeof u=="function"){var c=t.value;i.payload=function(){return u(c)},i.callback=function(){wx(e),VS(e,t)}}var d=e.stateNode;return d!==null&&typeof d.componentDidCatch=="function"&&(i.callback=function(){wx(e),VS(e,t),typeof u!="function"&&P_(this);var g=t.value,C=t.stack;this.componentDidCatch(g,{componentStack:C!==null?C:""}),typeof u!="function"&&(pa(e.lanes,et)||E("%s: Error boundaries should implement getDerivedStateFromError(). In that method, return a state update to display an error message or fallback UI.",ot(e)||"Unknown"))}),i}function dw(e,t,a){var i=e.pingCache,u;if(i===null?(i=e.pingCache=new G1,u=new Set,i.set(t,u)):(u=i.get(t),u===void 0&&(u=new Set,i.set(t,u))),!u.has(a)){u.add(a);var c=H_.bind(null,e,t,a);pr&&mv(e,a),t.then(c,c)}}function q1(e,t,a,i){var u=e.updateQueue;if(u===null){var c=new Set;c.add(a),e.updateQueue=c}else u.add(a)}function K1(e,t){var a=e.tag;if((e.mode&bt)===qe&&(a===A||a===Ie||a===Le)){var i=e.alternate;i?(e.updateQueue=i.updateQueue,e.memoizedState=i.memoizedState,e.lanes=i.lanes):(e.updateQueue=null,e.memoizedState=null)}}function pw(e){var t=e;do{if(t.tag===Re&&A1(t))return t;t=t.return}while(t!==null);return null}function vw(e,t,a,i,u){if((e.mode&bt)===qe){if(e===t)e.flags|=nr;else{if(e.flags|=rt,a.flags|=ks,a.flags&=~(Ac|ba),a.tag===G){var c=a.alternate;if(c===null)a.tag=tn;else{var d=$u(on,et);d.tag=pm,Ko(a,d,et)}}a.lanes=gt(a.lanes,et)}return e}return e.flags|=nr,e.lanes=u,e}function X1(e,t,a,i,u){if(a.flags|=ba,pr&&mv(e,u),i!==null&&typeof i=="object"&&typeof i.then=="function"){var c=i;K1(a),Ir()&&a.mode&bt&&a0();var d=pw(t);if(d!==null){d.flags&=~Ln,vw(d,t,a,e,u),d.mode&bt&&dw(e,c,u),q1(d,e,c);return}else{if(!_o(u)){dw(e,c,u),xE();return}var m=new Error("A component suspended while responding to synchronous input. This will cause the UI to be replaced with a loading indicator. To fix, updates that suspend should be wrapped with startTransition.");i=m}}else if(Ir()&&a.mode&bt){a0();var g=pw(t);if(g!==null){(g.flags&nr)===Ve&&(g.flags|=Ln),vw(g,t,a,e,u),zy(ic(i,a));return}}i=ic(i,a),L_(i);var C=t;do{switch(C.tag){case F:{var w=i;C.flags|=nr;var z=Wn(u);C.lanes=gt(C.lanes,z);var M=fw(C,w,z);Wy(C,M);return}case G:var V=i,Y=C.type,K=C.stateNode;if((C.flags&rt)===Ve&&(typeof Y.getDerivedStateFromError=="function"||K!==null&&typeof K.componentDidCatch=="function"&&!px(K))){C.flags|=nr;var be=Wn(u);C.lanes=gt(C.lanes,be);var Ye=$S(C,V,be);Wy(C,Ye);return}break}C=C.return}while(C!==null)}function Z1(){return null}var tv=v.ReactCurrentOwner,cl=!1,YS,nv,WS,QS,GS,lc,qS,$m;YS={},nv={},WS={},QS={},GS={},lc=!1,qS={},$m={};function La(e,t,a,i){e===null?t.child=N0(t,null,a,i):t.child=Vf(t,e.child,a,i)}function J1(e,t,a,i){t.child=Vf(t,e.child,null,i),t.child=Vf(t,null,a,i)}function hw(e,t,a,i,u){if(t.type!==t.elementType){var c=a.propTypes;c&&al(c,i,"prop",Pt(a))}var d=a.render,m=t.ref,g,C;If(t,u),Bl(t);{if(tv.current=t,aa(!0),g=qf(e,t,d,i,m,u),C=Kf(),t.mode&Rn){Yn(!0);try{g=qf(e,t,d,i,m,u),C=Kf()}finally{Yn(!1)}}aa(!1)}return Su(),e!==null&&!cl?(j0(e,t,u),Yu(e,t,u)):(Ir()&&C&&Ly(t),t.flags|=Ml,La(e,t,g,u),t.child)}function mw(e,t,a,i,u){if(e===null){var c=a.type;if(aD(c)&&a.compare===null&&a.defaultProps===void 0){var d=c;return d=ad(c),t.tag=Le,t.type=d,ZS(t,c),gw(e,t,d,i,u)}{var m=c.propTypes;m&&al(m,i,"prop",Pt(c))}var g=AE(a.type,null,i,t,t.mode,u);return g.ref=t.ref,g.return=t,t.child=g,g}{var C=a.type,w=C.propTypes;w&&al(w,i,"prop",Pt(C))}var z=e.child,M=aE(e,u);if(!M){var V=z.memoizedProps,Y=a.compare;if(Y=Y!==null?Y:He,Y(V,i)&&e.ref===t.ref)return Yu(e,t,u)}t.flags|=Ml;var K=fc(z,i);return K.ref=t.ref,K.return=t,t.child=K,K}function gw(e,t,a,i,u){if(t.type!==t.elementType){var c=t.elementType;if(c.$$typeof===$e){var d=c,m=d._payload,g=d._init;try{c=g(m)}catch{c=null}var C=c&&c.propTypes;C&&al(C,i,"prop",Pt(c))}}if(e!==null){var w=e.memoizedProps;if(He(w,i)&&e.ref===t.ref&&t.type===e.type)if(cl=!1,t.pendingProps=i=w,aE(e,u))(e.flags&ks)!==Ve&&(cl=!0);else return t.lanes=e.lanes,Yu(e,t,u)}return KS(e,t,a,i,u)}function yw(e,t,a){var i=t.pendingProps,u=i.children,c=e!==null?e.memoizedState:null;if(i.mode==="hidden"||D)if((t.mode&bt)===qe){var d={baseLanes:Z,cachePool:null,transitions:null};t.memoizedState=d,rg(t,a)}else if(pa(a,da)){var z={baseLanes:Z,cachePool:null,transitions:null};t.memoizedState=z;var M=c!==null?c.baseLanes:a;rg(t,M)}else{var m=null,g;if(c!==null){var C=c.baseLanes;g=gt(C,a)}else g=a;t.lanes=t.childLanes=da;var w={baseLanes:g,cachePool:m,transitions:null};return t.memoizedState=w,t.updateQueue=null,rg(t,g),null}else{var V;c!==null?(V=gt(c.baseLanes,a),t.memoizedState=null):V=a,rg(t,V)}return La(e,t,u,a),t.child}function ek(e,t,a){var i=t.pendingProps;return La(e,t,i,a),t.child}function tk(e,t,a){var i=t.pendingProps.children;return La(e,t,i,a),t.child}function nk(e,t,a){{t.flags|=mt;{var i=t.stateNode;i.effectDuration=0,i.passiveEffectDuration=0}}var u=t.pendingProps,c=u.children;return La(e,t,c,a),t.child}function Sw(e,t){var a=t.ref;(e===null&&a!==null||e!==null&&e.ref!==a)&&(t.flags|=la,t.flags|=Pd)}function KS(e,t,a,i,u){if(t.type!==t.elementType){var c=a.propTypes;c&&al(c,i,"prop",Pt(a))}var d;{var m=zf(t,a,!0);d=jf(t,m)}var g,C;If(t,u),Bl(t);{if(tv.current=t,aa(!0),g=qf(e,t,a,i,d,u),C=Kf(),t.mode&Rn){Yn(!0);try{g=qf(e,t,a,i,d,u),C=Kf()}finally{Yn(!1)}}aa(!1)}return Su(),e!==null&&!cl?(j0(e,t,u),Yu(e,t,u)):(Ir()&&C&&Ly(t),t.flags|=Ml,La(e,t,g,u),t.child)}function Ew(e,t,a,i,u){{switch(SD(t)){case!1:{var c=t.stateNode,d=t.type,m=new d(t.memoizedProps,c.context),g=m.state;c.updater.enqueueSetState(c,g,null);break}case!0:{t.flags|=rt,t.flags|=nr;var C=new Error("Simulated error coming from DevTools"),w=Wn(u);t.lanes=gt(t.lanes,w);var z=$S(t,ic(C,t),w);Wy(t,z);break}}if(t.type!==t.elementType){var M=a.propTypes;M&&al(M,i,"prop",Pt(a))}}var V;Xl(a)?(V=!0,nm(t)):V=!1,If(t,u);var Y=t.stateNode,K;Y===null?(Wm(e,t),k0(t,a,i),aS(t,a,i,u),K=!0):e===null?K=_1(t,a,i,u):K=D1(e,t,a,i,u);var be=XS(e,t,a,K,V,u);{var Ye=t.stateNode;K&&Ye.props!==i&&(lc||E("It looks like %s is reassigning its own `this.props` while rendering. This is not supported and can lead to confusing bugs.",ot(t)||"a component"),lc=!0)}return be}function XS(e,t,a,i,u,c){Sw(e,t);var d=(t.flags&rt)!==Ve;if(!i&&!d)return u&&e0(t,a,!1),Yu(e,t,c);var m=t.stateNode;tv.current=t;var g;if(d&&typeof a.getDerivedStateFromError!="function")g=null,cw();else{Bl(t);{if(aa(!0),g=m.render(),t.mode&Rn){Yn(!0);try{m.render()}finally{Yn(!1)}}aa(!1)}Su()}return t.flags|=Ml,e!==null&&d?J1(e,t,g,c):La(e,t,g,c),t.memoizedState=m.state,u&&e0(t,a,!0),t.child}function Cw(e){var t=e.stateNode;t.pendingContext?ZC(e,t.pendingContext,t.pendingContext!==t.context):t.context&&ZC(e,t.context,!1),cS(e,t.containerInfo)}function rk(e,t,a){if(Cw(t),e===null)throw new Error("Should have a current fiber. This is a bug in React.");var i=t.pendingProps,u=t.memoizedState,c=u.element;S0(e,t),gm(t,i,null,a);var d=t.memoizedState;t.stateNode;var m=d.element;if(u.isDehydrated){var g={element:m,isDehydrated:!1,cache:d.cache,pendingSuspenseBoundaries:d.pendingSuspenseBoundaries,transitions:d.transitions},C=t.updateQueue;if(C.baseState=g,t.memoizedState=g,t.flags&Ln){var w=ic(new Error("There was an error while hydrating. Because the error happened outside of a Suspense boundary, the entire root will switch to client rendering."),t);return ww(e,t,m,a,w)}else if(m!==c){var z=ic(new Error("This root received an early update, before anything was able hydrate. Switched the entire root to client rendering."),t);return ww(e,t,m,a,z)}else{u1(t);var M=N0(t,null,m,a);t.child=M;for(var V=M;V;)V.flags=V.flags&~vn|Ia,V=V.sibling}}else{if(Bf(),m===c)return Yu(e,t,a);La(e,t,m,a)}return t.child}function ww(e,t,a,i,u){return Bf(),zy(u),t.flags|=Ln,La(e,t,a,i),t.child}function ak(e,t,a){A0(t),e===null&&Uy(t);var i=t.type,u=t.pendingProps,c=e!==null?e.memoizedProps:null,d=u.children,m=my(i,u);return m?d=null:c!==null&&my(i,c)&&(t.flags|=Xt),Sw(e,t),La(e,t,d,a),t.child}function ik(e,t){return e===null&&Uy(t),null}function lk(e,t,a,i){Wm(e,t);var u=t.pendingProps,c=a,d=c._payload,m=c._init,g=m(d);t.type=g;var C=t.tag=iD(g),w=ul(g,u),z;switch(C){case A:return ZS(t,g),t.type=g=ad(g),z=KS(null,t,g,w,i),z;case G:return t.type=g=_E(g),z=Ew(null,t,g,w,i),z;case Ie:return t.type=g=DE(g),z=hw(null,t,g,w,i),z;case ke:{if(t.type!==t.elementType){var M=g.propTypes;M&&al(M,w,"prop",Pt(g))}return z=mw(null,t,g,ul(g.type,w),i),z}}var V="";throw g!==null&&typeof g=="object"&&g.$$typeof===$e&&(V=" Did you wrap a component in React.lazy() more than once?"),new Error("Element type is invalid. Received a promise that resolves to: "+g+". "+("Lazy element type must resolve to a class or function."+V))}function uk(e,t,a,i,u){Wm(e,t),t.tag=G;var c;return Xl(a)?(c=!0,nm(t)):c=!1,If(t,u),k0(t,a,i),aS(t,a,i,u),XS(null,t,a,!0,c,u)}function ok(e,t,a,i){Wm(e,t);var u=t.pendingProps,c;{var d=zf(t,a,!1);c=jf(t,d)}If(t,i);var m,g;Bl(t);{if(a.prototype&&typeof a.prototype.render=="function"){var C=Pt(a)||"Unknown";YS[C]||(E("The <%s /> component appears to have a render method, but doesn't extend React.Component. This is likely to cause errors. Change %s to extend React.Component instead.",C,C),YS[C]=!0)}t.mode&Rn&&ll.recordLegacyContextWarning(t,null),aa(!0),tv.current=t,m=qf(null,t,a,u,c,i),g=Kf(),aa(!1)}if(Su(),t.flags|=Ml,typeof m=="object"&&m!==null&&typeof m.render=="function"&&m.$$typeof===void 0){var w=Pt(a)||"Unknown";nv[w]||(E("The <%s /> component appears to be a function component that returns a class instance. Change %s to a class that extends React.Component instead. If you can't use a class try assigning the prototype on the function as a workaround. `%s.prototype = React.Component.prototype`. Don't use an arrow function since it cannot be called with `new` by React.",w,w,w),nv[w]=!0)}if(typeof m=="object"&&m!==null&&typeof m.render=="function"&&m.$$typeof===void 0){{var z=Pt(a)||"Unknown";nv[z]||(E("The <%s /> component appears to be a function component that returns a class instance. Change %s to a class that extends React.Component instead. If you can't use a class try assigning the prototype on the function as a workaround. `%s.prototype = React.Component.prototype`. Don't use an arrow function since it cannot be called with `new` by React.",z,z,z),nv[z]=!0)}t.tag=G,t.memoizedState=null,t.updateQueue=null;var M=!1;return Xl(a)?(M=!0,nm(t)):M=!1,t.memoizedState=m.state!==null&&m.state!==void 0?m.state:null,Yy(t),R0(t,m),aS(t,a,u,i),XS(null,t,a,!0,M,i)}else{if(t.tag=A,t.mode&Rn){Yn(!0);try{m=qf(null,t,a,u,c,i),g=Kf()}finally{Yn(!1)}}return Ir()&&g&&Ly(t),La(null,t,m,i),ZS(t,a),t.child}}function ZS(e,t){{if(t&&t.childContextTypes&&E("%s(...): childContextTypes cannot be defined on a function component.",t.displayName||t.name||"Component"),e.ref!==null){var a="",i=Fr();i&&(a+=`
208
+
209
+ Check the render method of \``+i+"`.");var u=i||"",c=e._debugSource;c&&(u=c.fileName+":"+c.lineNumber),GS[u]||(GS[u]=!0,E("Function components cannot be given refs. Attempts to access this ref will fail. Did you mean to use React.forwardRef()?%s",a))}if(typeof t.getDerivedStateFromProps=="function"){var d=Pt(t)||"Unknown";QS[d]||(E("%s: Function components do not support getDerivedStateFromProps.",d),QS[d]=!0)}if(typeof t.contextType=="object"&&t.contextType!==null){var m=Pt(t)||"Unknown";WS[m]||(E("%s: Function components do not support contextType.",m),WS[m]=!0)}}}var JS={dehydrated:null,treeContext:null,retryLane:Nt};function eE(e){return{baseLanes:e,cachePool:Z1(),transitions:null}}function sk(e,t){var a=null;return{baseLanes:gt(e.baseLanes,t),cachePool:a,transitions:e.transitions}}function ck(e,t,a,i){if(t!==null){var u=t.memoizedState;if(u===null)return!1}return pS(e,Qp)}function fk(e,t){return Do(e.childLanes,t)}function xw(e,t,a){var i=t.pendingProps;ED(t)&&(t.flags|=rt);var u=ol.current,c=!1,d=(t.flags&rt)!==Ve;if(d||ck(u,e)?(c=!0,t.flags&=~rt):(e===null||e.memoizedState!==null)&&(u=M1(u,z0)),u=Yf(u),Zo(t,u),e===null){Uy(t);var m=t.memoizedState;if(m!==null){var g=m.dehydrated;if(g!==null)return mk(t,g)}var C=i.children,w=i.fallback;if(c){var z=dk(t,C,w,a),M=t.child;return M.memoizedState=eE(a),t.memoizedState=JS,z}else return tE(t,C)}else{var V=e.memoizedState;if(V!==null){var Y=V.dehydrated;if(Y!==null)return gk(e,t,d,i,Y,V,a)}if(c){var K=i.fallback,be=i.children,Ye=vk(e,t,be,K,a),Pe=t.child,At=e.child.memoizedState;return Pe.memoizedState=At===null?eE(a):sk(At,a),Pe.childLanes=fk(e,a),t.memoizedState=JS,Ye}else{var _t=i.children,B=pk(e,t,_t,a);return t.memoizedState=null,B}}}function tE(e,t,a){var i=e.mode,u={mode:"visible",children:t},c=nE(u,i);return c.return=e,e.child=c,c}function dk(e,t,a,i){var u=e.mode,c=e.child,d={mode:"hidden",children:t},m,g;return(u&bt)===qe&&c!==null?(m=c,m.childLanes=Z,m.pendingProps=d,e.mode&Ze&&(m.actualDuration=0,m.actualStartTime=-1,m.selfBaseDuration=0,m.treeBaseDuration=0),g=ls(a,u,i,null)):(m=nE(d,u),g=ls(a,u,i,null)),m.return=e,g.return=e,m.sibling=g,e.child=m,g}function nE(e,t,a){return bx(e,t,Z,null)}function bw(e,t){return fc(e,t)}function pk(e,t,a,i){var u=e.child,c=u.sibling,d=bw(u,{mode:"visible",children:a});if((t.mode&bt)===qe&&(d.lanes=i),d.return=t,d.sibling=null,c!==null){var m=t.deletions;m===null?(t.deletions=[c],t.flags|=Yt):m.push(c)}return t.child=d,d}function vk(e,t,a,i,u){var c=t.mode,d=e.child,m=d.sibling,g={mode:"hidden",children:a},C;if((c&bt)===qe&&t.child!==d){var w=t.child;C=w,C.childLanes=Z,C.pendingProps=g,t.mode&Ze&&(C.actualDuration=0,C.actualStartTime=-1,C.selfBaseDuration=d.selfBaseDuration,C.treeBaseDuration=d.treeBaseDuration),t.deletions=null}else C=bw(d,g),C.subtreeFlags=d.subtreeFlags&dr;var z;return m!==null?z=fc(m,i):(z=ls(i,c,u,null),z.flags|=vn),z.return=t,C.return=t,C.sibling=z,t.child=C,z}function Ym(e,t,a,i){i!==null&&zy(i),Vf(t,e.child,null,a);var u=t.pendingProps,c=u.children,d=tE(t,c);return d.flags|=vn,t.memoizedState=null,d}function hk(e,t,a,i,u){var c=t.mode,d={mode:"visible",children:a},m=nE(d,c),g=ls(i,c,u,null);return g.flags|=vn,m.return=t,g.return=t,m.sibling=g,t.child=m,(t.mode&bt)!==qe&&Vf(t,e.child,null,u),g}function mk(e,t,a){return(e.mode&bt)===qe?(E("Cannot hydrate Suspense in legacy mode. Switch from ReactDOM.hydrate(element, container) to ReactDOMClient.hydrateRoot(container, <App />).render(element) or remove the Suspense components from the server rendered components."),e.lanes=et):Ey(t)?e.lanes=wu:e.lanes=da,null}function gk(e,t,a,i,u,c,d){if(a)if(t.flags&Ln){t.flags&=~Ln;var B=IS(new Error("There was an error while hydrating this Suspense boundary. Switched to client rendering."));return Ym(e,t,d,B)}else{if(t.memoizedState!==null)return t.child=e.child,t.flags|=rt,null;var X=i.children,H=i.fallback,oe=hk(e,t,X,H,d),Te=t.child;return Te.memoizedState=eE(d),t.memoizedState=JS,oe}else{if(i1(),(t.mode&bt)===qe)return Ym(e,t,d,null);if(Ey(u)){var m,g,C;{var w=wR(u);m=w.digest,g=w.message,C=w.stack}var z;g?z=new Error(g):z=new Error("The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering.");var M=IS(z,m,C);return Ym(e,t,d,M)}var V=pa(d,e.childLanes);if(cl||V){var Y=ng();if(Y!==null){var K=Hg(Y,d);if(K!==Nt&&K!==c.retryLane){c.retryLane=K;var be=on;Za(e,K),wr(Y,e,K,be)}}xE();var Ye=IS(new Error("This Suspense boundary received an update before it finished hydrating. This caused the boundary to switch to client rendering. The usual way to fix this is to wrap the original update in startTransition."));return Ym(e,t,d,Ye)}else if(WC(u)){t.flags|=rt,t.child=e.child;var Pe=I_.bind(null,e);return xR(u,Pe),null}else{o1(t,u,c.treeContext);var At=i.children,_t=tE(t,At);return _t.flags|=Ia,_t}}}function Tw(e,t,a){e.lanes=gt(e.lanes,t);var i=e.alternate;i!==null&&(i.lanes=gt(i.lanes,t)),Hy(e.return,t,a)}function yk(e,t,a){for(var i=t;i!==null;){if(i.tag===Re){var u=i.memoizedState;u!==null&&Tw(i,a,e)}else if(i.tag===Ct)Tw(i,a,e);else if(i.child!==null){i.child.return=i,i=i.child;continue}if(i===e)return;for(;i.sibling===null;){if(i.return===null||i.return===e)return;i=i.return}i.sibling.return=i.return,i=i.sibling}}function Sk(e){for(var t=e,a=null;t!==null;){var i=t.alternate;i!==null&&bm(i)===null&&(a=t),t=t.sibling}return a}function Ek(e){if(e!==void 0&&e!=="forwards"&&e!=="backwards"&&e!=="together"&&!qS[e])if(qS[e]=!0,typeof e=="string")switch(e.toLowerCase()){case"together":case"forwards":case"backwards":{E('"%s" is not a valid value for revealOrder on <SuspenseList />. Use lowercase "%s" instead.',e,e.toLowerCase());break}case"forward":case"backward":{E('"%s" is not a valid value for revealOrder on <SuspenseList />. React uses the -s suffix in the spelling. Use "%ss" instead.',e,e.toLowerCase());break}default:E('"%s" is not a supported revealOrder on <SuspenseList />. Did you mean "together", "forwards" or "backwards"?',e);break}else E('%s is not a supported value for revealOrder on <SuspenseList />. Did you mean "together", "forwards" or "backwards"?',e)}function Ck(e,t){e!==void 0&&!$m[e]&&(e!=="collapsed"&&e!=="hidden"?($m[e]=!0,E('"%s" is not a supported value for tail on <SuspenseList />. Did you mean "collapsed" or "hidden"?',e)):t!=="forwards"&&t!=="backwards"&&($m[e]=!0,E('<SuspenseList tail="%s" /> is only valid if revealOrder is "forwards" or "backwards". Did you mean to specify revealOrder="forwards"?',e)))}function Rw(e,t){{var a=Dt(e),i=!a&&typeof ii(e)=="function";if(a||i){var u=a?"array":"iterable";return E("A nested %s was passed to row #%s in <SuspenseList />. Wrap it in an additional SuspenseList to configure its revealOrder: <SuspenseList revealOrder=...> ... <SuspenseList revealOrder=...>{%s}</SuspenseList> ... </SuspenseList>",u,t,u),!1}}return!0}function wk(e,t){if((t==="forwards"||t==="backwards")&&e!==void 0&&e!==null&&e!==!1)if(Dt(e)){for(var a=0;a<e.length;a++)if(!Rw(e[a],a))return}else{var i=ii(e);if(typeof i=="function"){var u=i.call(e);if(u)for(var c=u.next(),d=0;!c.done;c=u.next()){if(!Rw(c.value,d))return;d++}}else E('A single row was passed to a <SuspenseList revealOrder="%s" />. This is not useful since it needs multiple rows. Did you mean to pass multiple children or an array?',t)}}function rE(e,t,a,i,u){var c=e.memoizedState;c===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:i,tail:a,tailMode:u}:(c.isBackwards=t,c.rendering=null,c.renderingStartTime=0,c.last=i,c.tail=a,c.tailMode=u)}function kw(e,t,a){var i=t.pendingProps,u=i.revealOrder,c=i.tail,d=i.children;Ek(u),Ck(c,u),wk(d,u),La(e,t,d,a);var m=ol.current,g=pS(m,Qp);if(g)m=vS(m,Qp),t.flags|=rt;else{var C=e!==null&&(e.flags&rt)!==Ve;C&&yk(t,t.child,a),m=Yf(m)}if(Zo(t,m),(t.mode&bt)===qe)t.memoizedState=null;else switch(u){case"forwards":{var w=Sk(t.child),z;w===null?(z=t.child,t.child=null):(z=w.sibling,w.sibling=null),rE(t,!1,z,w,c);break}case"backwards":{var M=null,V=t.child;for(t.child=null;V!==null;){var Y=V.alternate;if(Y!==null&&bm(Y)===null){t.child=V;break}var K=V.sibling;V.sibling=M,M=V,V=K}rE(t,!0,M,null,c);break}case"together":{rE(t,!1,null,null,void 0);break}default:t.memoizedState=null}return t.child}function xk(e,t,a){cS(t,t.stateNode.containerInfo);var i=t.pendingProps;return e===null?t.child=Vf(t,null,i,a):La(e,t,i,a),t.child}var _w=!1;function bk(e,t,a){var i=t.type,u=i._context,c=t.pendingProps,d=t.memoizedProps,m=c.value;{"value"in c||_w||(_w=!0,E("The `value` prop is required for the `<Context.Provider>`. Did you misspell it or forget to pass it?"));var g=t.type.propTypes;g&&al(g,c,"prop","Context.Provider")}if(h0(t,u,m),d!==null){var C=d.value;if(Ne(C,m)){if(d.children===c.children&&!em())return Yu(e,t,a)}else y1(t,u,a)}var w=c.children;return La(e,t,w,a),t.child}var Dw=!1;function Tk(e,t,a){var i=t.type;i._context===void 0?i!==i.Consumer&&(Dw||(Dw=!0,E("Rendering <Context> directly is not supported and will be removed in a future major release. Did you mean to render <Context.Consumer> instead?"))):i=i._context;var u=t.pendingProps,c=u.children;typeof c!="function"&&E("A context consumer was rendered with multiple children, or a child that isn't a function. A context consumer expects a single child that is a function. If you did pass a function, make sure there is no trailing or leading whitespace around it."),If(t,a);var d=ur(i);Bl(t);var m;return tv.current=t,aa(!0),m=c(d),aa(!1),Su(),t.flags|=Ml,La(e,t,m,a),t.child}function rv(){cl=!0}function Wm(e,t){(t.mode&bt)===qe&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=vn)}function Yu(e,t,a){return e!==null&&(t.dependencies=e.dependencies),cw(),hv(t.lanes),pa(a,t.childLanes)?(L1(e,t),t.child):null}function Rk(e,t,a){{var i=t.return;if(i===null)throw new Error("Cannot swap the root fiber.");if(e.alternate=null,t.alternate=null,a.index=t.index,a.sibling=t.sibling,a.return=t.return,a.ref=t.ref,t===i.child)i.child=a;else{var u=i.child;if(u===null)throw new Error("Expected parent to have a child.");for(;u.sibling!==t;)if(u=u.sibling,u===null)throw new Error("Expected to find the previous sibling.");u.sibling=a}var c=i.deletions;return c===null?(i.deletions=[e],i.flags|=Yt):c.push(e),a.flags|=vn,a}}function aE(e,t){var a=e.lanes;return!!pa(a,t)}function kk(e,t,a){switch(t.tag){case F:Cw(t),t.stateNode,Bf();break;case le:A0(t);break;case G:{var i=t.type;Xl(i)&&nm(t);break}case te:cS(t,t.stateNode.containerInfo);break;case We:{var u=t.memoizedProps.value,c=t.type._context;h0(t,c,u);break}case pt:{var d=pa(a,t.childLanes);d&&(t.flags|=mt);{var m=t.stateNode;m.effectDuration=0,m.passiveEffectDuration=0}}break;case Re:{var g=t.memoizedState;if(g!==null){if(g.dehydrated!==null)return Zo(t,Yf(ol.current)),t.flags|=rt,null;var C=t.child,w=C.childLanes;if(pa(a,w))return xw(e,t,a);Zo(t,Yf(ol.current));var z=Yu(e,t,a);return z!==null?z.sibling:null}else Zo(t,Yf(ol.current));break}case Ct:{var M=(e.flags&rt)!==Ve,V=pa(a,t.childLanes);if(M){if(V)return kw(e,t,a);t.flags|=rt}var Y=t.memoizedState;if(Y!==null&&(Y.rendering=null,Y.tail=null,Y.lastEffect=null),Zo(t,ol.current),V)break;return null}case Qe:case ft:return t.lanes=Z,yw(e,t,a)}return Yu(e,t,a)}function Lw(e,t,a){if(t._debugNeedsRemount&&e!==null)return Rk(e,t,AE(t.type,t.key,t.pendingProps,t._debugOwner||null,t.mode,t.lanes));if(e!==null){var i=e.memoizedProps,u=t.pendingProps;if(i!==u||em()||t.type!==e.type)cl=!0;else{var c=aE(e,a);if(!c&&(t.flags&rt)===Ve)return cl=!1,kk(e,t,a);(e.flags&ks)!==Ve?cl=!0:cl=!1}}else if(cl=!1,Ir()&&JR(t)){var d=t.index,m=e1();r0(t,m,d)}switch(t.lanes=Z,t.tag){case ne:return ok(e,t,t.type,a);case Tt:{var g=t.elementType;return lk(e,t,g,a)}case A:{var C=t.type,w=t.pendingProps,z=t.elementType===C?w:ul(C,w);return KS(e,t,C,z,a)}case G:{var M=t.type,V=t.pendingProps,Y=t.elementType===M?V:ul(M,V);return Ew(e,t,M,Y,a)}case F:return rk(e,t,a);case le:return ak(e,t,a);case we:return ik(e,t);case Re:return xw(e,t,a);case te:return xk(e,t,a);case Ie:{var K=t.type,be=t.pendingProps,Ye=t.elementType===K?be:ul(K,be);return hw(e,t,K,Ye,a)}case Ke:return ek(e,t,a);case Je:return tk(e,t,a);case pt:return nk(e,t,a);case We:return bk(e,t,a);case it:return Tk(e,t,a);case ke:{var Pe=t.type,At=t.pendingProps,_t=ul(Pe,At);if(t.type!==t.elementType){var B=Pe.propTypes;B&&al(B,_t,"prop",Pt(Pe))}return _t=ul(Pe.type,_t),mw(e,t,Pe,_t,a)}case Le:return gw(e,t,t.type,t.pendingProps,a);case tn:{var X=t.type,H=t.pendingProps,oe=t.elementType===X?H:ul(X,H);return uk(e,t,X,oe,a)}case Ct:return kw(e,t,a);case pn:break;case Qe:return yw(e,t,a)}throw new Error("Unknown unit of work tag ("+t.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function Xf(e){e.flags|=mt}function Ow(e){e.flags|=la,e.flags|=Pd}var Nw,iE,Mw,Aw;Nw=function(e,t,a,i){for(var u=t.child;u!==null;){if(u.tag===le||u.tag===we)KT(e,u.stateNode);else if(u.tag!==te){if(u.child!==null){u.child.return=u,u=u.child;continue}}if(u===t)return;for(;u.sibling===null;){if(u.return===null||u.return===t)return;u=u.return}u.sibling.return=u.return,u=u.sibling}},iE=function(e,t){},Mw=function(e,t,a,i,u){var c=e.memoizedProps;if(c!==i){var d=t.stateNode,m=fS(),g=ZT(d,a,c,i,u,m);t.updateQueue=g,g&&Xf(t)}},Aw=function(e,t,a,i){a!==i&&Xf(t)};function av(e,t){if(!Ir())switch(e.tailMode){case"hidden":{for(var a=e.tail,i=null;a!==null;)a.alternate!==null&&(i=a),a=a.sibling;i===null?e.tail=null:i.sibling=null;break}case"collapsed":{for(var u=e.tail,c=null;u!==null;)u.alternate!==null&&(c=u),u=u.sibling;c===null?!t&&e.tail!==null?e.tail.sibling=null:e.tail=null:c.sibling=null;break}}}function $r(e){var t=e.alternate!==null&&e.alternate.child===e.child,a=Z,i=Ve;if(t){if((e.mode&Ze)!==qe){for(var g=e.selfBaseDuration,C=e.child;C!==null;)a=gt(a,gt(C.lanes,C.childLanes)),i|=C.subtreeFlags&dr,i|=C.flags&dr,g+=C.treeBaseDuration,C=C.sibling;e.treeBaseDuration=g}else for(var w=e.child;w!==null;)a=gt(a,gt(w.lanes,w.childLanes)),i|=w.subtreeFlags&dr,i|=w.flags&dr,w.return=e,w=w.sibling;e.subtreeFlags|=i}else{if((e.mode&Ze)!==qe){for(var u=e.actualDuration,c=e.selfBaseDuration,d=e.child;d!==null;)a=gt(a,gt(d.lanes,d.childLanes)),i|=d.subtreeFlags,i|=d.flags,u+=d.actualDuration,c+=d.treeBaseDuration,d=d.sibling;e.actualDuration=u,e.treeBaseDuration=c}else for(var m=e.child;m!==null;)a=gt(a,gt(m.lanes,m.childLanes)),i|=m.subtreeFlags,i|=m.flags,m.return=e,m=m.sibling;e.subtreeFlags|=i}return e.childLanes=a,t}function _k(e,t,a){if(p1()&&(t.mode&bt)!==qe&&(t.flags&rt)===Ve)return c0(t),Bf(),t.flags|=Ln|ba|nr,!1;var i=um(t);if(a!==null&&a.dehydrated!==null)if(e===null){if(!i)throw new Error("A dehydrated suspense component was completed without a hydrated node. This is probably a bug in React.");if(f1(t),$r(t),(t.mode&Ze)!==qe){var u=a!==null;if(u){var c=t.child;c!==null&&(t.treeBaseDuration-=c.treeBaseDuration)}}return!1}else{if(Bf(),(t.flags&rt)===Ve&&(t.memoizedState=null),t.flags|=mt,$r(t),(t.mode&Ze)!==qe){var d=a!==null;if(d){var m=t.child;m!==null&&(t.treeBaseDuration-=m.treeBaseDuration)}}return!1}else return f0(),!0}function Uw(e,t,a){var i=t.pendingProps;switch(Oy(t),t.tag){case ne:case Tt:case Le:case A:case Ie:case Ke:case Je:case pt:case it:case ke:return $r(t),null;case G:{var u=t.type;return Xl(u)&&tm(t),$r(t),null}case F:{var c=t.stateNode;if($f(t),ky(t),mS(),c.pendingContext&&(c.context=c.pendingContext,c.pendingContext=null),e===null||e.child===null){var d=um(t);if(d)Xf(t);else if(e!==null){var m=e.memoizedState;(!m.isDehydrated||(t.flags&Ln)!==Ve)&&(t.flags|=Ha,f0())}}return iE(e,t),$r(t),null}case le:{dS(t);var g=M0(),C=t.type;if(e!==null&&t.stateNode!=null)Mw(e,t,C,i,g),e.ref!==t.ref&&Ow(t);else{if(!i){if(t.stateNode===null)throw new Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.");return $r(t),null}var w=fS(),z=um(t);if(z)s1(t,g,w)&&Xf(t);else{var M=qT(C,i,g,w,t);Nw(M,t,!1,!1),t.stateNode=M,XT(M,C,i,g)&&Xf(t)}t.ref!==null&&Ow(t)}return $r(t),null}case we:{var V=i;if(e&&t.stateNode!=null){var Y=e.memoizedProps;Aw(e,t,Y,V)}else{if(typeof V!="string"&&t.stateNode===null)throw new Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.");var K=M0(),be=fS(),Ye=um(t);Ye?c1(t)&&Xf(t):t.stateNode=JT(V,K,be,t)}return $r(t),null}case Re:{Wf(t);var Pe=t.memoizedState;if(e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){var At=_k(e,t,Pe);if(!At)return t.flags&nr?t:null}if((t.flags&rt)!==Ve)return t.lanes=a,(t.mode&Ze)!==qe&&HS(t),t;var _t=Pe!==null,B=e!==null&&e.memoizedState!==null;if(_t!==B&&_t){var X=t.child;if(X.flags|=Al,(t.mode&bt)!==qe){var H=e===null&&(t.memoizedProps.unstable_avoidThisFallback!==!0||!ee);H||pS(ol.current,z0)?D_():xE()}}var oe=t.updateQueue;if(oe!==null&&(t.flags|=mt),$r(t),(t.mode&Ze)!==qe&&_t){var Te=t.child;Te!==null&&(t.treeBaseDuration-=Te.treeBaseDuration)}return null}case te:return $f(t),iE(e,t),e===null&&WR(t.stateNode.containerInfo),$r(t),null;case We:var Se=t.type._context;return By(Se,t),$r(t),null;case tn:{var nt=t.type;return Xl(nt)&&tm(t),$r(t),null}case Ct:{Wf(t);var dt=t.memoizedState;if(dt===null)return $r(t),null;var rn=(t.flags&rt)!==Ve,It=dt.rendering;if(It===null)if(rn)av(dt,!1);else{var Kn=O_()&&(e===null||(e.flags&rt)===Ve);if(!Kn)for(var Vt=t.child;Vt!==null;){var In=bm(Vt);if(In!==null){rn=!0,t.flags|=rt,av(dt,!1);var ga=In.updateQueue;return ga!==null&&(t.updateQueue=ga,t.flags|=mt),t.subtreeFlags=Ve,O1(t,a),Zo(t,vS(ol.current,Qp)),t.child}Vt=Vt.sibling}dt.tail!==null&&Tn()>nx()&&(t.flags|=rt,rn=!0,av(dt,!1),t.lanes=Xd)}else{if(!rn){var qr=bm(It);if(qr!==null){t.flags|=rt,rn=!0;var mi=qr.updateQueue;if(mi!==null&&(t.updateQueue=mi,t.flags|=mt),av(dt,!0),dt.tail===null&&dt.tailMode==="hidden"&&!It.alternate&&!Ir())return $r(t),null}else Tn()*2-dt.renderingStartTime>nx()&&a!==da&&(t.flags|=rt,rn=!0,av(dt,!1),t.lanes=Xd)}if(dt.isBackwards)It.sibling=t.child,t.child=It;else{var Ma=dt.last;Ma!==null?Ma.sibling=It:t.child=It,dt.last=It}}if(dt.tail!==null){var Aa=dt.tail;dt.rendering=Aa,dt.tail=Aa.sibling,dt.renderingStartTime=Tn(),Aa.sibling=null;var ya=ol.current;return rn?ya=vS(ya,Qp):ya=Yf(ya),Zo(t,ya),Aa}return $r(t),null}case pn:break;case Qe:case ft:{wE(t);var Ku=t.memoizedState,id=Ku!==null;if(e!==null){var Ev=e.memoizedState,iu=Ev!==null;iu!==id&&!D&&(t.flags|=Al)}return!id||(t.mode&bt)===qe?$r(t):pa(au,da)&&($r(t),t.subtreeFlags&(vn|mt)&&(t.flags|=Al)),null}case Ae:return null;case lt:return null}throw new Error("Unknown unit of work tag ("+t.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function Dk(e,t,a){switch(Oy(t),t.tag){case G:{var i=t.type;Xl(i)&&tm(t);var u=t.flags;return u&nr?(t.flags=u&~nr|rt,(t.mode&Ze)!==qe&&HS(t),t):null}case F:{t.stateNode,$f(t),ky(t),mS();var c=t.flags;return(c&nr)!==Ve&&(c&rt)===Ve?(t.flags=c&~nr|rt,t):null}case le:return dS(t),null;case Re:{Wf(t);var d=t.memoizedState;if(d!==null&&d.dehydrated!==null){if(t.alternate===null)throw new Error("Threw in newly mounted dehydrated component. This is likely a bug in React. Please file an issue.");Bf()}var m=t.flags;return m&nr?(t.flags=m&~nr|rt,(t.mode&Ze)!==qe&&HS(t),t):null}case Ct:return Wf(t),null;case te:return $f(t),null;case We:var g=t.type._context;return By(g,t),null;case Qe:case ft:return wE(t),null;case Ae:return null;default:return null}}function zw(e,t,a){switch(Oy(t),t.tag){case G:{var i=t.type.childContextTypes;i!=null&&tm(t);break}case F:{t.stateNode,$f(t),ky(t),mS();break}case le:{dS(t);break}case te:$f(t);break;case Re:Wf(t);break;case Ct:Wf(t);break;case We:var u=t.type._context;By(u,t);break;case Qe:case ft:wE(t);break}}var jw=null;jw=new Set;var Qm=!1,Yr=!1,Lk=typeof WeakSet=="function"?WeakSet:Set,Me=null,Zf=null,Jf=null;function Ok(e){gu(null,function(){throw e}),zd()}var Nk=function(e,t){if(t.props=e.memoizedProps,t.state=e.memoizedState,e.mode&Ze)try{nu(),t.componentWillUnmount()}finally{tu(e)}else t.componentWillUnmount()};function Pw(e,t){try{ts(mr,e)}catch(a){yn(e,t,a)}}function lE(e,t,a){try{Nk(e,a)}catch(i){yn(e,t,i)}}function Mk(e,t,a){try{a.componentDidMount()}catch(i){yn(e,t,i)}}function Fw(e,t){try{Hw(e)}catch(a){yn(e,t,a)}}function ed(e,t){var a=e.ref;if(a!==null)if(typeof a=="function"){var i;try{if(yt&&Rt&&e.mode&Ze)try{nu(),i=a(null)}finally{tu(e)}else i=a(null)}catch(u){yn(e,t,u)}typeof i=="function"&&E("Unexpected return value from a callback ref in %s. A callback ref should not return a function.",ot(e))}else a.current=null}function Gm(e,t,a){try{a()}catch(i){yn(e,t,i)}}var Bw=!1;function Ak(e,t){QT(e.containerInfo),Me=t,Uk();var a=Bw;return Bw=!1,a}function Uk(){for(;Me!==null;){var e=Me,t=e.child;(e.subtreeFlags&Co)!==Ve&&t!==null?(t.return=e,Me=t):zk()}}function zk(){for(;Me!==null;){var e=Me;Kt(e);try{jk(e)}catch(a){yn(e,e.return,a)}Dn();var t=e.sibling;if(t!==null){t.return=e.return,Me=t;return}Me=e.return}}function jk(e){var t=e.alternate,a=e.flags;if((a&Ha)!==Ve){switch(Kt(e),e.tag){case A:case Ie:case Le:break;case G:{if(t!==null){var i=t.memoizedProps,u=t.memoizedState,c=e.stateNode;e.type===e.elementType&&!lc&&(c.props!==e.memoizedProps&&E("Expected %s props to match memoized props before getSnapshotBeforeUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",ot(e)||"instance"),c.state!==e.memoizedState&&E("Expected %s state to match memoized state before getSnapshotBeforeUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",ot(e)||"instance"));var d=c.getSnapshotBeforeUpdate(e.elementType===e.type?i:ul(e.type,i),u);{var m=jw;d===void 0&&!m.has(e.type)&&(m.add(e.type),E("%s.getSnapshotBeforeUpdate(): A snapshot value (or null) must be returned. You have returned undefined.",ot(e)))}c.__reactInternalSnapshotBeforeUpdate=d}break}case F:{{var g=e.stateNode;yR(g.containerInfo)}break}case le:case we:case te:case tn:break;default:throw new Error("This unit of work tag should not have side-effects. This error is likely caused by a bug in React. Please file an issue.")}Dn()}}function fl(e,t,a){var i=t.updateQueue,u=i!==null?i.lastEffect:null;if(u!==null){var c=u.next,d=c;do{if((d.tag&e)===e){var m=d.destroy;d.destroy=void 0,m!==void 0&&((e&Vr)!==Ja?Ic(t):(e&mr)!==Ja&&Vc(t),(e&Zl)!==Ja&&gv(!0),Gm(t,a,m),(e&Zl)!==Ja&&gv(!1),(e&Vr)!==Ja?lh():(e&mr)!==Ja&&wo())}d=d.next}while(d!==c)}}function ts(e,t){var a=t.updateQueue,i=a!==null?a.lastEffect:null;if(i!==null){var u=i.next,c=u;do{if((c.tag&e)===e){(e&Vr)!==Ja?ih(t):(e&mr)!==Ja&&uh(t);var d=c.create;(e&Zl)!==Ja&&gv(!0),c.destroy=d(),(e&Zl)!==Ja&&gv(!1),(e&Vr)!==Ja?Gd():(e&mr)!==Ja&&oh();{var m=c.destroy;if(m!==void 0&&typeof m!="function"){var g=void 0;(c.tag&mr)!==Ve?g="useLayoutEffect":(c.tag&Zl)!==Ve?g="useInsertionEffect":g="useEffect";var C=void 0;m===null?C=" You returned null. If your effect does not require clean up, return undefined (or nothing).":typeof m.then=="function"?C=`
210
+
211
+ It looks like you wrote `+g+`(async () => ...) or returned a Promise. Instead, write the async function inside your effect and call it immediately:
212
+
213
+ `+g+`(() => {
214
+ async function fetchData() {
215
+ // You can await here
216
+ const response = await MyAPI.getData(someId);
217
+ // ...
218
+ }
219
+ fetchData();
220
+ }, [someId]); // Or [] if effect doesn't need props or state
221
+
222
+ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-fetching`:C=" You returned: "+m,E("%s must not return anything besides a function, which is used for clean-up.%s",g,C)}}}c=c.next}while(c!==u)}}function Pk(e,t){if((t.flags&mt)!==Ve)switch(t.tag){case pt:{var a=t.stateNode.passiveEffectDuration,i=t.memoizedProps,u=i.id,c=i.onPostCommit,d=ow(),m=t.alternate===null?"mount":"update";uw()&&(m="nested-update"),typeof c=="function"&&c(u,m,a,d);var g=t.return;e:for(;g!==null;){switch(g.tag){case F:var C=g.stateNode;C.passiveEffectDuration+=a;break e;case pt:var w=g.stateNode;w.passiveEffectDuration+=a;break e}g=g.return}break}}}function Fk(e,t,a,i){if((a.flags&kr)!==Ve)switch(a.tag){case A:case Ie:case Le:{if(!Yr)if(a.mode&Ze)try{nu(),ts(mr|hr,a)}finally{tu(a)}else ts(mr|hr,a);break}case G:{var u=a.stateNode;if(a.flags&mt&&!Yr)if(t===null)if(a.type===a.elementType&&!lc&&(u.props!==a.memoizedProps&&E("Expected %s props to match memoized props before componentDidMount. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",ot(a)||"instance"),u.state!==a.memoizedState&&E("Expected %s state to match memoized state before componentDidMount. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",ot(a)||"instance")),a.mode&Ze)try{nu(),u.componentDidMount()}finally{tu(a)}else u.componentDidMount();else{var c=a.elementType===a.type?t.memoizedProps:ul(a.type,t.memoizedProps),d=t.memoizedState;if(a.type===a.elementType&&!lc&&(u.props!==a.memoizedProps&&E("Expected %s props to match memoized props before componentDidUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",ot(a)||"instance"),u.state!==a.memoizedState&&E("Expected %s state to match memoized state before componentDidUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",ot(a)||"instance")),a.mode&Ze)try{nu(),u.componentDidUpdate(c,d,u.__reactInternalSnapshotBeforeUpdate)}finally{tu(a)}else u.componentDidUpdate(c,d,u.__reactInternalSnapshotBeforeUpdate)}var m=a.updateQueue;m!==null&&(a.type===a.elementType&&!lc&&(u.props!==a.memoizedProps&&E("Expected %s props to match memoized props before processing the update queue. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",ot(a)||"instance"),u.state!==a.memoizedState&&E("Expected %s state to match memoized state before processing the update queue. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",ot(a)||"instance")),C0(a,m,u));break}case F:{var g=a.updateQueue;if(g!==null){var C=null;if(a.child!==null)switch(a.child.tag){case le:C=a.child.stateNode;break;case G:C=a.child.stateNode;break}C0(a,g,C)}break}case le:{var w=a.stateNode;if(t===null&&a.flags&mt){var z=a.type,M=a.memoizedProps;aR(w,z,M)}break}case we:break;case te:break;case pt:{{var V=a.memoizedProps,Y=V.onCommit,K=V.onRender,be=a.stateNode.effectDuration,Ye=ow(),Pe=t===null?"mount":"update";uw()&&(Pe="nested-update"),typeof K=="function"&&K(a.memoizedProps.id,Pe,a.actualDuration,a.treeBaseDuration,a.actualStartTime,Ye);{typeof Y=="function"&&Y(a.memoizedProps.id,Pe,be,Ye),z_(a);var At=a.return;e:for(;At!==null;){switch(At.tag){case F:var _t=At.stateNode;_t.effectDuration+=be;break e;case pt:var B=At.stateNode;B.effectDuration+=be;break e}At=At.return}}}break}case Re:{Qk(e,a);break}case Ct:case tn:case pn:case Qe:case ft:case lt:break;default:throw new Error("This unit of work tag should not have side-effects. This error is likely caused by a bug in React. Please file an issue.")}Yr||a.flags&la&&Hw(a)}function Bk(e){switch(e.tag){case A:case Ie:case Le:{if(e.mode&Ze)try{nu(),Pw(e,e.return)}finally{tu(e)}else Pw(e,e.return);break}case G:{var t=e.stateNode;typeof t.componentDidMount=="function"&&Mk(e,e.return,t),Fw(e,e.return);break}case le:{Fw(e,e.return);break}}}function Hk(e,t){for(var a=null,i=e;;){if(i.tag===le){if(a===null){a=i;try{var u=i.stateNode;t?vR(u):mR(i.stateNode,i.memoizedProps)}catch(d){yn(e,e.return,d)}}}else if(i.tag===we){if(a===null)try{var c=i.stateNode;t?hR(c):gR(c,i.memoizedProps)}catch(d){yn(e,e.return,d)}}else if(!((i.tag===Qe||i.tag===ft)&&i.memoizedState!==null&&i!==e)){if(i.child!==null){i.child.return=i,i=i.child;continue}}if(i===e)return;for(;i.sibling===null;){if(i.return===null||i.return===e)return;a===i&&(a=null),i=i.return}a===i&&(a=null),i.sibling.return=i.return,i=i.sibling}}function Hw(e){var t=e.ref;if(t!==null){var a=e.stateNode,i;switch(e.tag){case le:i=a;break;default:i=a}if(typeof t=="function"){var u;if(e.mode&Ze)try{nu(),u=t(i)}finally{tu(e)}else u=t(i);typeof u=="function"&&E("Unexpected return value from a callback ref in %s. A callback ref should not return a function.",ot(e))}else t.hasOwnProperty("current")||E("Unexpected ref object provided for %s. Use either a ref-setter function or React.createRef().",ot(e)),t.current=i}}function Ik(e){var t=e.alternate;t!==null&&(t.return=null),e.return=null}function Iw(e){var t=e.alternate;t!==null&&(e.alternate=null,Iw(t));{if(e.child=null,e.deletions=null,e.sibling=null,e.tag===le){var a=e.stateNode;a!==null&&qR(a)}e.stateNode=null,e._debugOwner=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}}function Vk(e){for(var t=e.return;t!==null;){if(Vw(t))return t;t=t.return}throw new Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.")}function Vw(e){return e.tag===le||e.tag===F||e.tag===te}function $w(e){var t=e;e:for(;;){for(;t.sibling===null;){if(t.return===null||Vw(t.return))return null;t=t.return}for(t.sibling.return=t.return,t=t.sibling;t.tag!==le&&t.tag!==we&&t.tag!==zt;){if(t.flags&vn||t.child===null||t.tag===te)continue e;t.child.return=t,t=t.child}if(!(t.flags&vn))return t.stateNode}}function $k(e){var t=Vk(e);switch(t.tag){case le:{var a=t.stateNode;t.flags&Xt&&(YC(a),t.flags&=~Xt);var i=$w(e);oE(e,i,a);break}case F:case te:{var u=t.stateNode.containerInfo,c=$w(e);uE(e,c,u);break}default:throw new Error("Invalid host parent fiber. This error is likely caused by a bug in React. Please file an issue.")}}function uE(e,t,a){var i=e.tag,u=i===le||i===we;if(u){var c=e.stateNode;t?cR(a,c,t):oR(a,c)}else if(i!==te){var d=e.child;if(d!==null){uE(d,t,a);for(var m=d.sibling;m!==null;)uE(m,t,a),m=m.sibling}}}function oE(e,t,a){var i=e.tag,u=i===le||i===we;if(u){var c=e.stateNode;t?sR(a,c,t):uR(a,c)}else if(i!==te){var d=e.child;if(d!==null){oE(d,t,a);for(var m=d.sibling;m!==null;)oE(m,t,a),m=m.sibling}}}var Wr=null,dl=!1;function Yk(e,t,a){{var i=t;e:for(;i!==null;){switch(i.tag){case le:{Wr=i.stateNode,dl=!1;break e}case F:{Wr=i.stateNode.containerInfo,dl=!0;break e}case te:{Wr=i.stateNode.containerInfo,dl=!0;break e}}i=i.return}if(Wr===null)throw new Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.");Yw(e,t,a),Wr=null,dl=!1}Ik(a)}function ns(e,t,a){for(var i=a.child;i!==null;)Yw(e,t,i),i=i.sibling}function Yw(e,t,a){switch(Wd(a),a.tag){case le:Yr||ed(a,t);case we:{{var i=Wr,u=dl;Wr=null,ns(e,t,a),Wr=i,dl=u,Wr!==null&&(dl?dR(Wr,a.stateNode):fR(Wr,a.stateNode))}return}case zt:{Wr!==null&&(dl?pR(Wr,a.stateNode):Sy(Wr,a.stateNode));return}case te:{{var c=Wr,d=dl;Wr=a.stateNode.containerInfo,dl=!0,ns(e,t,a),Wr=c,dl=d}return}case A:case Ie:case ke:case Le:{if(!Yr){var m=a.updateQueue;if(m!==null){var g=m.lastEffect;if(g!==null){var C=g.next,w=C;do{var z=w,M=z.destroy,V=z.tag;M!==void 0&&((V&Zl)!==Ja?Gm(a,t,M):(V&mr)!==Ja&&(Vc(a),a.mode&Ze?(nu(),Gm(a,t,M),tu(a)):Gm(a,t,M),wo())),w=w.next}while(w!==C)}}}ns(e,t,a);return}case G:{if(!Yr){ed(a,t);var Y=a.stateNode;typeof Y.componentWillUnmount=="function"&&lE(a,t,Y)}ns(e,t,a);return}case pn:{ns(e,t,a);return}case Qe:{if(a.mode&bt){var K=Yr;Yr=K||a.memoizedState!==null,ns(e,t,a),Yr=K}else ns(e,t,a);break}default:{ns(e,t,a);return}}}function Wk(e){e.memoizedState}function Qk(e,t){var a=t.memoizedState;if(a===null){var i=t.alternate;if(i!==null){var u=i.memoizedState;if(u!==null){var c=u.dehydrated;c!==null&&NR(c)}}}}function Ww(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var a=e.stateNode;a===null&&(a=e.stateNode=new Lk),t.forEach(function(i){var u=V_.bind(null,e,i);if(!a.has(i)){if(a.add(i),pr)if(Zf!==null&&Jf!==null)mv(Jf,Zf);else throw Error("Expected finished root and lanes to be set. This is a bug in React.");i.then(u,u)}})}}function Gk(e,t,a){Zf=a,Jf=e,Kt(t),Qw(t,e),Kt(t),Zf=null,Jf=null}function pl(e,t,a){var i=t.deletions;if(i!==null)for(var u=0;u<i.length;u++){var c=i[u];try{Yk(e,t,c)}catch(g){yn(c,t,g)}}var d=Ec();if(t.subtreeFlags&sa)for(var m=t.child;m!==null;)Kt(m),Qw(m,e),m=m.sibling;Kt(d)}function Qw(e,t,a){var i=e.alternate,u=e.flags;switch(e.tag){case A:case Ie:case ke:case Le:{if(pl(t,e),ru(e),u&mt){try{fl(Zl|hr,e,e.return),ts(Zl|hr,e)}catch(nt){yn(e,e.return,nt)}if(e.mode&Ze){try{nu(),fl(mr|hr,e,e.return)}catch(nt){yn(e,e.return,nt)}tu(e)}else try{fl(mr|hr,e,e.return)}catch(nt){yn(e,e.return,nt)}}return}case G:{pl(t,e),ru(e),u&la&&i!==null&&ed(i,i.return);return}case le:{pl(t,e),ru(e),u&la&&i!==null&&ed(i,i.return);{if(e.flags&Xt){var c=e.stateNode;try{YC(c)}catch(nt){yn(e,e.return,nt)}}if(u&mt){var d=e.stateNode;if(d!=null){var m=e.memoizedProps,g=i!==null?i.memoizedProps:m,C=e.type,w=e.updateQueue;if(e.updateQueue=null,w!==null)try{iR(d,w,C,g,m,e)}catch(nt){yn(e,e.return,nt)}}}}return}case we:{if(pl(t,e),ru(e),u&mt){if(e.stateNode===null)throw new Error("This should have a text node initialized. This error is likely caused by a bug in React. Please file an issue.");var z=e.stateNode,M=e.memoizedProps,V=i!==null?i.memoizedProps:M;try{lR(z,V,M)}catch(nt){yn(e,e.return,nt)}}return}case F:{if(pl(t,e),ru(e),u&mt&&i!==null){var Y=i.memoizedState;if(Y.isDehydrated)try{OR(t.containerInfo)}catch(nt){yn(e,e.return,nt)}}return}case te:{pl(t,e),ru(e);return}case Re:{pl(t,e),ru(e);var K=e.child;if(K.flags&Al){var be=K.stateNode,Ye=K.memoizedState,Pe=Ye!==null;if(be.isHidden=Pe,Pe){var At=K.alternate!==null&&K.alternate.memoizedState!==null;At||__()}}if(u&mt){try{Wk(e)}catch(nt){yn(e,e.return,nt)}Ww(e)}return}case Qe:{var _t=i!==null&&i.memoizedState!==null;if(e.mode&bt){var B=Yr;Yr=B||_t,pl(t,e),Yr=B}else pl(t,e);if(ru(e),u&Al){var X=e.stateNode,H=e.memoizedState,oe=H!==null,Te=e;if(X.isHidden=oe,oe&&!_t&&(Te.mode&bt)!==qe){Me=Te;for(var Se=Te.child;Se!==null;)Me=Se,Kk(Se),Se=Se.sibling}Hk(Te,oe)}return}case Ct:{pl(t,e),ru(e),u&mt&&Ww(e);return}case pn:return;default:{pl(t,e),ru(e);return}}}function ru(e){var t=e.flags;if(t&vn){try{$k(e)}catch(a){yn(e,e.return,a)}e.flags&=~vn}t&Ia&&(e.flags&=~Ia)}function qk(e,t,a){Zf=a,Jf=t,Me=e,Gw(e,t,a),Zf=null,Jf=null}function Gw(e,t,a){for(var i=(e.mode&bt)!==qe;Me!==null;){var u=Me,c=u.child;if(u.tag===Qe&&i){var d=u.memoizedState!==null,m=d||Qm;if(m){sE(e,t,a);continue}else{var g=u.alternate,C=g!==null&&g.memoizedState!==null,w=C||Yr,z=Qm,M=Yr;Qm=m,Yr=w,Yr&&!M&&(Me=u,Xk(u));for(var V=c;V!==null;)Me=V,Gw(V,t,a),V=V.sibling;Me=u,Qm=z,Yr=M,sE(e,t,a);continue}}(u.subtreeFlags&kr)!==Ve&&c!==null?(c.return=u,Me=c):sE(e,t,a)}}function sE(e,t,a){for(;Me!==null;){var i=Me;if((i.flags&kr)!==Ve){var u=i.alternate;Kt(i);try{Fk(t,u,i,a)}catch(d){yn(i,i.return,d)}Dn()}if(i===e){Me=null;return}var c=i.sibling;if(c!==null){c.return=i.return,Me=c;return}Me=i.return}}function Kk(e){for(;Me!==null;){var t=Me,a=t.child;switch(t.tag){case A:case Ie:case ke:case Le:{if(t.mode&Ze)try{nu(),fl(mr,t,t.return)}finally{tu(t)}else fl(mr,t,t.return);break}case G:{ed(t,t.return);var i=t.stateNode;typeof i.componentWillUnmount=="function"&&lE(t,t.return,i);break}case le:{ed(t,t.return);break}case Qe:{var u=t.memoizedState!==null;if(u){qw(e);continue}break}}a!==null?(a.return=t,Me=a):qw(e)}}function qw(e){for(;Me!==null;){var t=Me;if(t===e){Me=null;return}var a=t.sibling;if(a!==null){a.return=t.return,Me=a;return}Me=t.return}}function Xk(e){for(;Me!==null;){var t=Me,a=t.child;if(t.tag===Qe){var i=t.memoizedState!==null;if(i){Kw(e);continue}}a!==null?(a.return=t,Me=a):Kw(e)}}function Kw(e){for(;Me!==null;){var t=Me;Kt(t);try{Bk(t)}catch(i){yn(t,t.return,i)}if(Dn(),t===e){Me=null;return}var a=t.sibling;if(a!==null){a.return=t.return,Me=a;return}Me=t.return}}function Zk(e,t,a,i){Me=t,Jk(t,e,a,i)}function Jk(e,t,a,i){for(;Me!==null;){var u=Me,c=u.child;(u.subtreeFlags&Va)!==Ve&&c!==null?(c.return=u,Me=c):e_(e,t,a,i)}}function e_(e,t,a,i){for(;Me!==null;){var u=Me;if((u.flags&Sn)!==Ve){Kt(u);try{t_(t,u,a,i)}catch(d){yn(u,u.return,d)}Dn()}if(u===e){Me=null;return}var c=u.sibling;if(c!==null){c.return=u.return,Me=c;return}Me=u.return}}function t_(e,t,a,i){switch(t.tag){case A:case Ie:case Le:{if(t.mode&Ze){BS();try{ts(Vr|hr,t)}finally{FS(t)}}else ts(Vr|hr,t);break}}}function n_(e){Me=e,r_()}function r_(){for(;Me!==null;){var e=Me,t=e.child;if((Me.flags&Yt)!==Ve){var a=e.deletions;if(a!==null){for(var i=0;i<a.length;i++){var u=a[i];Me=u,l_(u,e)}{var c=e.alternate;if(c!==null){var d=c.child;if(d!==null){c.child=null;do{var m=d.sibling;d.sibling=null,d=m}while(d!==null)}}}Me=e}}(e.subtreeFlags&Va)!==Ve&&t!==null?(t.return=e,Me=t):a_()}}function a_(){for(;Me!==null;){var e=Me;(e.flags&Sn)!==Ve&&(Kt(e),i_(e),Dn());var t=e.sibling;if(t!==null){t.return=e.return,Me=t;return}Me=e.return}}function i_(e){switch(e.tag){case A:case Ie:case Le:{e.mode&Ze?(BS(),fl(Vr|hr,e,e.return),FS(e)):fl(Vr|hr,e,e.return);break}}}function l_(e,t){for(;Me!==null;){var a=Me;Kt(a),o_(a,t),Dn();var i=a.child;i!==null?(i.return=a,Me=i):u_(e)}}function u_(e){for(;Me!==null;){var t=Me,a=t.sibling,i=t.return;if(Iw(t),t===e){Me=null;return}if(a!==null){a.return=i,Me=a;return}Me=i}}function o_(e,t){switch(e.tag){case A:case Ie:case Le:{e.mode&Ze?(BS(),fl(Vr,e,t),FS(e)):fl(Vr,e,t);break}}}function s_(e){switch(e.tag){case A:case Ie:case Le:{try{ts(mr|hr,e)}catch(a){yn(e,e.return,a)}break}case G:{var t=e.stateNode;try{t.componentDidMount()}catch(a){yn(e,e.return,a)}break}}}function c_(e){switch(e.tag){case A:case Ie:case Le:{try{ts(Vr|hr,e)}catch(t){yn(e,e.return,t)}break}}}function f_(e){switch(e.tag){case A:case Ie:case Le:{try{fl(mr|hr,e,e.return)}catch(a){yn(e,e.return,a)}break}case G:{var t=e.stateNode;typeof t.componentWillUnmount=="function"&&lE(e,e.return,t);break}}}function d_(e){switch(e.tag){case A:case Ie:case Le:try{fl(Vr|hr,e,e.return)}catch(t){yn(e,e.return,t)}}}if(typeof Symbol=="function"&&Symbol.for){var iv=Symbol.for;iv("selector.component"),iv("selector.has_pseudo_class"),iv("selector.role"),iv("selector.test_id"),iv("selector.text")}var p_=[];function v_(){p_.forEach(function(e){return e()})}var h_=v.ReactCurrentActQueue;function m_(e){{var t=typeof IS_REACT_ACT_ENVIRONMENT<"u"?IS_REACT_ACT_ENVIRONMENT:void 0,a=typeof jest<"u";return a&&t!==!1}}function Xw(){{var e=typeof IS_REACT_ACT_ENVIRONMENT<"u"?IS_REACT_ACT_ENVIRONMENT:void 0;return!e&&h_.current!==null&&E("The current testing environment is not configured to support act(...)"),e}}var g_=Math.ceil,cE=v.ReactCurrentDispatcher,fE=v.ReactCurrentOwner,Qr=v.ReactCurrentBatchConfig,vl=v.ReactCurrentActQueue,Sr=0,Zw=1,Gr=2,ji=4,Wu=0,lv=1,uc=2,qm=3,uv=4,Jw=5,dE=6,Mt=Sr,Oa=null,jn=null,Er=Z,au=Z,pE=Wo(Z),Cr=Wu,ov=null,Km=Z,sv=Z,Xm=Z,cv=null,ei=null,vE=0,ex=500,tx=1/0,y_=500,Qu=null;function fv(){tx=Tn()+y_}function nx(){return tx}var Zm=!1,hE=null,td=null,oc=!1,rs=null,dv=Z,mE=[],gE=null,S_=50,pv=0,yE=null,SE=!1,Jm=!1,E_=50,nd=0,eg=null,vv=on,tg=Z,rx=!1;function ng(){return Oa}function Na(){return(Mt&(Gr|ji))!==Sr?Tn():(vv!==on||(vv=Tn()),vv)}function as(e){var t=e.mode;if((t&bt)===qe)return et;if((Mt&Gr)!==Sr&&Er!==Z)return Wn(Er);var a=m1()!==h1;if(a){if(Qr.transition!==null){var i=Qr.transition;i._updatedFibers||(i._updatedFibers=new Set),i._updatedFibers.add(e)}return tg===Nt&&(tg=ep()),tg}var u=Qa();if(u!==Nt)return u;var c=eR();return c}function C_(e){var t=e.mode;return(t&bt)===qe?et:Bg()}function wr(e,t,a,i){Y_(),rx&&E("useInsertionEffect must not schedule updates."),SE&&(Jm=!0),Du(e,a,i),(Mt&Gr)!==Z&&e===Oa?G_(t):(pr&&ip(e,t,a),q_(t),e===Oa&&((Mt&Gr)===Sr&&(sv=gt(sv,a)),Cr===uv&&is(e,Er)),ti(e,i),a===et&&Mt===Sr&&(t.mode&bt)===qe&&!vl.isBatchingLegacy&&(fv(),n0()))}function w_(e,t,a){var i=e.current;i.lanes=t,Du(e,t,a),ti(e,a)}function x_(e){return(Mt&Gr)!==Sr}function ti(e,t){var a=e.callbackNode;jg(e,t);var i=Ms(e,e===Oa?Er:Z);if(i===Z){a!==null&&Sx(a),e.callbackNode=null,e.callbackPriority=Nt;return}var u=Bn(i),c=e.callbackPriority;if(c===u&&!(vl.current!==null&&a!==RE)){a==null&&c!==et&&E("Expected scheduled callback to exist. This error is likely caused by a bug in React. Please file an issue.");return}a!=null&&Sx(a);var d;if(u===et)e.tag===Qo?(vl.isBatchingLegacy!==null&&(vl.didScheduleLegacyUpdate=!0),ZR(lx.bind(null,e))):t0(lx.bind(null,e)),vl.current!==null?vl.current.push(Go):nR(function(){(Mt&(Gr|ji))===Sr&&Go()}),d=null;else{var m;switch(Ps(i)){case _r:m=Fc;break;case vr:m=ka;break;case Ji:m=ki;break;case zs:m=zl;break;default:m=ki;break}d=kE(m,ax.bind(null,e))}e.callbackPriority=u,e.callbackNode=d}function ax(e,t){if(Y1(),vv=on,tg=Z,(Mt&(Gr|ji))!==Sr)throw new Error("Should not already be working.");var a=e.callbackNode,i=qu();if(i&&e.callbackNode!==a)return null;var u=Ms(e,e===Oa?Er:Z);if(u===Z)return null;var c=!Us(e,u)&&!vh(e,u)&&!t,d=c?M_(e,u):ag(e,u);if(d!==Wu){if(d===uc){var m=Zd(e);m!==Z&&(u=m,d=EE(e,m))}if(d===lv){var g=ov;throw sc(e,Z),is(e,u),ti(e,Tn()),g}if(d===dE)is(e,u);else{var C=!Us(e,u),w=e.current.alternate;if(C&&!T_(w)){if(d=ag(e,u),d===uc){var z=Zd(e);z!==Z&&(u=z,d=EE(e,z))}if(d===lv){var M=ov;throw sc(e,Z),is(e,u),ti(e,Tn()),M}}e.finishedWork=w,e.finishedLanes=u,b_(e,d,u)}}return ti(e,Tn()),e.callbackNode===a?ax.bind(null,e):null}function EE(e,t){var a=cv;if(Gn(e)){var i=sc(e,t);i.flags|=Ln,YR(e.containerInfo)}var u=ag(e,t);if(u!==uc){var c=ei;ei=a,c!==null&&ix(c)}return u}function ix(e){ei===null?ei=e:ei.push.apply(ei,e)}function b_(e,t,a){switch(t){case Wu:case lv:throw new Error("Root did not complete. This is a bug in React.");case uc:{cc(e,ei,Qu);break}case qm:{if(is(e,a),cf(a)&&!Ex()){var i=vE+ex-Tn();if(i>10){var u=Ms(e,Z);if(u!==Z)break;var c=e.suspendedLanes;if(!_u(c,a)){Na(),rp(e,c);break}e.timeoutHandle=gy(cc.bind(null,e,ei,Qu),i);break}}cc(e,ei,Qu);break}case uv:{if(is(e,a),ph(a))break;if(!Ex()){var d=dh(e,a),m=d,g=Tn()-m,C=$_(g)-g;if(C>10){e.timeoutHandle=gy(cc.bind(null,e,ei,Qu),C);break}}cc(e,ei,Qu);break}case Jw:{cc(e,ei,Qu);break}default:throw new Error("Unknown root exit status.")}}function T_(e){for(var t=e;;){if(t.flags&Rs){var a=t.updateQueue;if(a!==null){var i=a.stores;if(i!==null)for(var u=0;u<i.length;u++){var c=i[u],d=c.getSnapshot,m=c.value;try{if(!Ne(d(),m))return!1}catch{return!1}}}}var g=t.child;if(t.subtreeFlags&Rs&&g!==null){g.return=t,t=g;continue}if(t===e)return!0;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}return!0}function is(e,t){t=Do(t,Xm),t=Do(t,sv),np(e,t)}function lx(e){if(W1(),(Mt&(Gr|ji))!==Sr)throw new Error("Should not already be working.");qu();var t=Ms(e,Z);if(!pa(t,et))return ti(e,Tn()),null;var a=ag(e,t);if(e.tag!==Qo&&a===uc){var i=Zd(e);i!==Z&&(t=i,a=EE(e,i))}if(a===lv){var u=ov;throw sc(e,Z),is(e,t),ti(e,Tn()),u}if(a===dE)throw new Error("Root did not complete. This is a bug in React.");var c=e.current.alternate;return e.finishedWork=c,e.finishedLanes=t,cc(e,ei,Qu),ti(e,Tn()),null}function R_(e,t){t!==Z&&(Lo(e,gt(t,et)),ti(e,Tn()),(Mt&(Gr|ji))===Sr&&(fv(),Go()))}function CE(e,t){var a=Mt;Mt|=Zw;try{return e(t)}finally{Mt=a,Mt===Sr&&!vl.isBatchingLegacy&&(fv(),n0())}}function k_(e,t,a,i,u){var c=Qa(),d=Qr.transition;try{return Qr.transition=null,Qn(_r),e(t,a,i,u)}finally{Qn(c),Qr.transition=d,Mt===Sr&&fv()}}function Gu(e){rs!==null&&rs.tag===Qo&&(Mt&(Gr|ji))===Sr&&qu();var t=Mt;Mt|=Zw;var a=Qr.transition,i=Qa();try{return Qr.transition=null,Qn(_r),e?e():void 0}finally{Qn(i),Qr.transition=a,Mt=t,(Mt&(Gr|ji))===Sr&&Go()}}function ux(){return(Mt&(Gr|ji))!==Sr}function rg(e,t){ha(pE,au,e),au=gt(au,t)}function wE(e){au=pE.current,va(pE,e)}function sc(e,t){e.finishedWork=null,e.finishedLanes=Z;var a=e.timeoutHandle;if(a!==yy&&(e.timeoutHandle=yy,tR(a)),jn!==null)for(var i=jn.return;i!==null;){var u=i.alternate;zw(u,i),i=i.return}Oa=e;var c=fc(e.current,null);return jn=c,Er=au=t,Cr=Wu,ov=null,Km=Z,sv=Z,Xm=Z,cv=null,ei=null,E1(),ll.discardPendingWarnings(),c}function ox(e,t){do{var a=jn;try{if(fm(),P0(),Dn(),fE.current=null,a===null||a.return===null){Cr=lv,ov=t,jn=null;return}if(yt&&a.mode&Ze&&Vm(a,!0),Lt)if(Su(),t!==null&&typeof t=="object"&&typeof t.then=="function"){var i=t;sh(a,i,Er)}else $c(a,t,Er);X1(e,a.return,a,t,Er),dx(a)}catch(u){t=u,jn===a&&a!==null?(a=a.return,jn=a):a=jn;continue}return}while(!0)}function sx(){var e=cE.current;return cE.current=Pm,e===null?Pm:e}function cx(e){cE.current=e}function __(){vE=Tn()}function hv(e){Km=gt(e,Km)}function D_(){Cr===Wu&&(Cr=qm)}function xE(){(Cr===Wu||Cr===qm||Cr===uc)&&(Cr=uv),Oa!==null&&(As(Km)||As(sv))&&is(Oa,Er)}function L_(e){Cr!==uv&&(Cr=uc),cv===null?cv=[e]:cv.push(e)}function O_(){return Cr===Wu}function ag(e,t){var a=Mt;Mt|=Gr;var i=sx();if(Oa!==e||Er!==t){if(pr){var u=e.memoizedUpdaters;u.size>0&&(mv(e,Er),u.clear()),pf(e,t)}Qu=lp(),sc(e,t)}di(t);do try{N_();break}catch(c){ox(e,c)}while(!0);if(fm(),Mt=a,cx(i),jn!==null)throw new Error("Cannot commit an incomplete root. This error is likely caused by a bug in React. Please file an issue.");return bo(),Oa=null,Er=Z,Cr}function N_(){for(;jn!==null;)fx(jn)}function M_(e,t){var a=Mt;Mt|=Gr;var i=sx();if(Oa!==e||Er!==t){if(pr){var u=e.memoizedUpdaters;u.size>0&&(mv(e,Er),u.clear()),pf(e,t)}Qu=lp(),fv(),sc(e,t)}di(t);do try{A_();break}catch(c){ox(e,c)}while(!0);return fm(),cx(i),Mt=a,jn!==null?(Ds(),Wu):(bo(),Oa=null,Er=Z,Cr)}function A_(){for(;jn!==null&&!Pc();)fx(jn)}function fx(e){var t=e.alternate;Kt(e);var a;(e.mode&Ze)!==qe?(PS(e),a=bE(t,e,au),Vm(e,!0)):a=bE(t,e,au),Dn(),e.memoizedProps=e.pendingProps,a===null?dx(e):jn=a,fE.current=null}function dx(e){var t=e;do{var a=t.alternate,i=t.return;if((t.flags&ba)===Ve){Kt(t);var u=void 0;if((t.mode&Ze)===qe?u=Uw(a,t,au):(PS(t),u=Uw(a,t,au),Vm(t,!1)),Dn(),u!==null){jn=u;return}}else{var c=Dk(a,t);if(c!==null){c.flags&=eh,jn=c;return}if((t.mode&Ze)!==qe){Vm(t,!1);for(var d=t.actualDuration,m=t.child;m!==null;)d+=m.actualDuration,m=m.sibling;t.actualDuration=d}if(i!==null)i.flags|=ba,i.subtreeFlags=Ve,i.deletions=null;else{Cr=dE,jn=null;return}}var g=t.sibling;if(g!==null){jn=g;return}t=i,jn=t}while(t!==null);Cr===Wu&&(Cr=Jw)}function cc(e,t,a){var i=Qa(),u=Qr.transition;try{Qr.transition=null,Qn(_r),U_(e,t,a,i)}finally{Qr.transition=u,Qn(i)}return null}function U_(e,t,a,i){do qu();while(rs!==null);if(W_(),(Mt&(Gr|ji))!==Sr)throw new Error("Should not already be working.");var u=e.finishedWork,c=e.finishedLanes;if(Hc(c),u===null)return Qd(),null;if(c===Z&&E("root.finishedLanes should not be empty during a commit. This is a bug in React."),e.finishedWork=null,e.finishedLanes=Z,u===e.current)throw new Error("Cannot commit the same tree as before. This error is likely caused by a bug in React. Please file an issue.");e.callbackNode=null,e.callbackPriority=Nt;var d=gt(u.lanes,u.childLanes);ap(e,d),e===Oa&&(Oa=null,jn=null,Er=Z),((u.subtreeFlags&Va)!==Ve||(u.flags&Va)!==Ve)&&(oc||(oc=!0,gE=a,kE(ki,function(){return qu(),null})));var m=(u.subtreeFlags&(Co|sa|kr|Va))!==Ve,g=(u.flags&(Co|sa|kr|Va))!==Ve;if(m||g){var C=Qr.transition;Qr.transition=null;var w=Qa();Qn(_r);var z=Mt;Mt|=ji,fE.current=null,Ak(e,u),sw(),Gk(e,u,c),GT(e.containerInfo),e.current=u,ch(c),qk(u,e,c),xo(),rh(),Mt=z,Qn(w),Qr.transition=C}else e.current=u,sw();var M=oc;if(oc?(oc=!1,rs=e,dv=c):(nd=0,eg=null),d=e.pendingLanes,d===Z&&(td=null),M||mx(e.current,!1),Ki(u.stateNode,i),pr&&e.memoizedUpdaters.clear(),v_(),ti(e,Tn()),t!==null)for(var V=e.onRecoverableError,Y=0;Y<t.length;Y++){var K=t[Y],be=K.stack,Ye=K.digest;V(K.value,{componentStack:be,digest:Ye})}if(Zm){Zm=!1;var Pe=hE;throw hE=null,Pe}return pa(dv,et)&&e.tag!==Qo&&qu(),d=e.pendingLanes,pa(d,et)?($1(),e===yE?pv++:(pv=0,yE=e)):pv=0,Go(),Qd(),null}function qu(){if(rs!==null){var e=Ps(dv),t=Ig(Ji,e),a=Qr.transition,i=Qa();try{return Qr.transition=null,Qn(t),j_()}finally{Qn(i),Qr.transition=a}}return!1}function z_(e){mE.push(e),oc||(oc=!0,kE(ki,function(){return qu(),null}))}function j_(){if(rs===null)return!1;var e=gE;gE=null;var t=rs,a=dv;if(rs=null,dv=Z,(Mt&(Gr|ji))!==Sr)throw new Error("Cannot flush passive effects while already rendering.");SE=!0,Jm=!1,fh(a);var i=Mt;Mt|=ji,n_(t.current),Zk(t,t.current,a,e);{var u=mE;mE=[];for(var c=0;c<u.length;c++){var d=u[c];Pk(t,d)}}_s(),mx(t.current,!0),Mt=i,Go(),Jm?t===eg?nd++:(nd=0,eg=t):nd=0,SE=!1,Jm=!1,Pl(t);{var m=t.current.stateNode;m.effectDuration=0,m.passiveEffectDuration=0}return!0}function px(e){return td!==null&&td.has(e)}function P_(e){td===null?td=new Set([e]):td.add(e)}function F_(e){Zm||(Zm=!0,hE=e)}var B_=F_;function vx(e,t,a){var i=ic(a,t),u=fw(e,i,et),c=Ko(e,u,et),d=Na();c!==null&&(Du(c,et,d),ti(c,d))}function yn(e,t,a){if(Ok(a),gv(!1),e.tag===F){vx(e,e,a);return}var i=null;for(i=t;i!==null;){if(i.tag===F){vx(i,e,a);return}else if(i.tag===G){var u=i.type,c=i.stateNode;if(typeof u.getDerivedStateFromError=="function"||typeof c.componentDidCatch=="function"&&!px(c)){var d=ic(a,e),m=$S(i,d,et),g=Ko(i,m,et),C=Na();g!==null&&(Du(g,et,C),ti(g,C));return}}i=i.return}E(`Internal React error: Attempted to capture a commit phase error inside a detached tree. This indicates a bug in React. Likely causes include deleting the same fiber more than once, committing an already-finished tree, or an inconsistent return pointer.
223
+
224
+ Error message:
225
+
226
+ %s`,a)}function H_(e,t,a){var i=e.pingCache;i!==null&&i.delete(t);var u=Na();rp(e,a),K_(e),Oa===e&&_u(Er,a)&&(Cr===uv||Cr===qm&&cf(Er)&&Tn()-vE<ex?sc(e,Z):Xm=gt(Xm,a)),ti(e,u)}function hx(e,t){t===Nt&&(t=C_(e));var a=Na(),i=Za(e,t);i!==null&&(Du(i,t,a),ti(i,a))}function I_(e){var t=e.memoizedState,a=Nt;t!==null&&(a=t.retryLane),hx(e,a)}function V_(e,t){var a=Nt,i;switch(e.tag){case Re:i=e.stateNode;var u=e.memoizedState;u!==null&&(a=u.retryLane);break;case Ct:i=e.stateNode;break;default:throw new Error("Pinged unknown suspense boundary type. This is probably a bug in React.")}i!==null&&i.delete(t),hx(e,a)}function $_(e){return e<120?120:e<480?480:e<1080?1080:e<1920?1920:e<3e3?3e3:e<4320?4320:g_(e/1960)*1960}function Y_(){if(pv>S_)throw pv=0,yE=null,new Error("Maximum update depth exceeded. This can happen when a component repeatedly calls setState inside componentWillUpdate or componentDidUpdate. React limits the number of nested updates to prevent infinite loops.");nd>E_&&(nd=0,eg=null,E("Maximum update depth exceeded. This can happen when a component calls setState inside useEffect, but useEffect either doesn't have a dependency array, or one of the dependencies changes on every render."))}function W_(){ll.flushLegacyContextWarning(),ll.flushPendingUnsafeLifecycleWarnings()}function mx(e,t){Kt(e),ig(e,oa,f_),t&&ig(e,yu,d_),ig(e,oa,s_),t&&ig(e,yu,c_),Dn()}function ig(e,t,a){for(var i=e,u=null;i!==null;){var c=i.subtreeFlags&t;i!==u&&i.child!==null&&c!==Ve?i=i.child:((i.flags&t)!==Ve&&a(i),i.sibling!==null?i=i.sibling:i=u=i.return)}}var lg=null;function gx(e){{if((Mt&Gr)!==Sr||!(e.mode&bt))return;var t=e.tag;if(t!==ne&&t!==F&&t!==G&&t!==A&&t!==Ie&&t!==ke&&t!==Le)return;var a=ot(e)||"ReactComponent";if(lg!==null){if(lg.has(a))return;lg.add(a)}else lg=new Set([a]);var i=bn;try{Kt(e),E("Can't perform a React state update on a component that hasn't mounted yet. This indicates that you have a side-effect in your render function that asynchronously later calls tries to update the component. Move this work to useEffect instead.")}finally{i?Kt(e):Dn()}}}var bE;{var Q_=null;bE=function(e,t,a){var i=Tx(Q_,t);try{return Lw(e,t,a)}catch(c){if(l1()||c!==null&&typeof c=="object"&&typeof c.then=="function")throw c;if(fm(),P0(),zw(e,t),Tx(t,i),t.mode&Ze&&PS(t),gu(null,Lw,null,e,t,a),Ug()){var u=zd();typeof u=="object"&&u!==null&&u._suppressLogging&&typeof c=="object"&&c!==null&&!c._suppressLogging&&(c._suppressLogging=!0)}throw c}}}var yx=!1,TE;TE=new Set;function G_(e){if(ra&&!H1())switch(e.tag){case A:case Ie:case Le:{var t=jn&&ot(jn)||"Unknown",a=t;if(!TE.has(a)){TE.add(a);var i=ot(e)||"Unknown";E("Cannot update a component (`%s`) while rendering a different component (`%s`). To locate the bad setState() call inside `%s`, follow the stack trace as described in https://reactjs.org/link/setstate-in-render",i,t,t)}break}case G:{yx||(E("Cannot update during an existing state transition (such as within `render`). Render methods should be a pure function of props and state."),yx=!0);break}}}function mv(e,t){if(pr){var a=e.memoizedUpdaters;a.forEach(function(i){ip(e,i,t)})}}var RE={};function kE(e,t){{var a=vl.current;return a!==null?(a.push(t),RE):jc(e,t)}}function Sx(e){if(e!==RE)return nh(e)}function Ex(){return vl.current!==null}function q_(e){{if(e.mode&bt){if(!Xw())return}else if(!m_()||Mt!==Sr||e.tag!==A&&e.tag!==Ie&&e.tag!==Le)return;if(vl.current===null){var t=bn;try{Kt(e),E(`An update to %s inside a test was not wrapped in act(...).
227
+
228
+ When testing, code that causes React state updates should be wrapped into act(...):
229
+
230
+ act(() => {
231
+ /* fire events that update state */
232
+ });
233
+ /* assert on the output */
234
+
235
+ This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act`,ot(e))}finally{t?Kt(e):Dn()}}}}function K_(e){e.tag!==Qo&&Xw()&&vl.current===null&&E(`A suspended resource finished loading inside a test, but the event was not wrapped in act(...).
236
+
237
+ When testing, code that resolves suspended data should be wrapped into act(...):
238
+
239
+ act(() => {
240
+ /* finish loading suspended data */
241
+ });
242
+ /* assert on the output */
243
+
244
+ This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act`)}function gv(e){rx=e}var Pi=null,rd=null,X_=function(e){Pi=e};function ad(e){{if(Pi===null)return e;var t=Pi(e);return t===void 0?e:t.current}}function _E(e){return ad(e)}function DE(e){{if(Pi===null)return e;var t=Pi(e);if(t===void 0){if(e!=null&&typeof e.render=="function"){var a=ad(e.render);if(e.render!==a){var i={$$typeof:xe,render:a};return e.displayName!==void 0&&(i.displayName=e.displayName),i}}return e}return t.current}}function Cx(e,t){{if(Pi===null)return!1;var a=e.elementType,i=t.type,u=!1,c=typeof i=="object"&&i!==null?i.$$typeof:null;switch(e.tag){case G:{typeof i=="function"&&(u=!0);break}case A:{(typeof i=="function"||c===$e)&&(u=!0);break}case Ie:{(c===xe||c===$e)&&(u=!0);break}case ke:case Le:{(c===ht||c===$e)&&(u=!0);break}default:return!1}if(u){var d=Pi(a);if(d!==void 0&&d===Pi(i))return!0}return!1}}function wx(e){{if(Pi===null||typeof WeakSet!="function")return;rd===null&&(rd=new WeakSet),rd.add(e)}}var Z_=function(e,t){{if(Pi===null)return;var a=t.staleFamilies,i=t.updatedFamilies;qu(),Gu(function(){LE(e.current,i,a)})}},J_=function(e,t){{if(e.context!==vi)return;qu(),Gu(function(){yv(t,e,null,null)})}};function LE(e,t,a){{var i=e.alternate,u=e.child,c=e.sibling,d=e.tag,m=e.type,g=null;switch(d){case A:case Le:case G:g=m;break;case Ie:g=m.render;break}if(Pi===null)throw new Error("Expected resolveFamily to be set during hot reload.");var C=!1,w=!1;if(g!==null){var z=Pi(g);z!==void 0&&(a.has(z)?w=!0:t.has(z)&&(d===G?w=!0:C=!0))}if(rd!==null&&(rd.has(e)||i!==null&&rd.has(i))&&(w=!0),w&&(e._debugNeedsRemount=!0),w||C){var M=Za(e,et);M!==null&&wr(M,e,et,on)}u!==null&&!w&&LE(u,t,a),c!==null&&LE(c,t,a)}}var eD=function(e,t){{var a=new Set,i=new Set(t.map(function(u){return u.current}));return OE(e.current,i,a),a}};function OE(e,t,a){{var i=e.child,u=e.sibling,c=e.tag,d=e.type,m=null;switch(c){case A:case Le:case G:m=d;break;case Ie:m=d.render;break}var g=!1;m!==null&&t.has(m)&&(g=!0),g?tD(e,a):i!==null&&OE(i,t,a),u!==null&&OE(u,t,a)}}function tD(e,t){{var a=nD(e,t);if(a)return;for(var i=e;;){switch(i.tag){case le:t.add(i.stateNode);return;case te:t.add(i.stateNode.containerInfo);return;case F:t.add(i.stateNode.containerInfo);return}if(i.return===null)throw new Error("Expected to reach root first.");i=i.return}}}function nD(e,t){for(var a=e,i=!1;;){if(a.tag===le)i=!0,t.add(a.stateNode);else if(a.child!==null){a.child.return=a,a=a.child;continue}if(a===e)return i;for(;a.sibling===null;){if(a.return===null||a.return===e)return i;a=a.return}a.sibling.return=a.return,a=a.sibling}return!1}var NE;{NE=!1;try{var xx=Object.preventExtensions({})}catch{NE=!0}}function rD(e,t,a,i){this.tag=e,this.key=a,this.elementType=null,this.type=null,this.stateNode=null,this.return=null,this.child=null,this.sibling=null,this.index=0,this.ref=null,this.pendingProps=t,this.memoizedProps=null,this.updateQueue=null,this.memoizedState=null,this.dependencies=null,this.mode=i,this.flags=Ve,this.subtreeFlags=Ve,this.deletions=null,this.lanes=Z,this.childLanes=Z,this.alternate=null,this.actualDuration=Number.NaN,this.actualStartTime=Number.NaN,this.selfBaseDuration=Number.NaN,this.treeBaseDuration=Number.NaN,this.actualDuration=0,this.actualStartTime=-1,this.selfBaseDuration=0,this.treeBaseDuration=0,this._debugSource=null,this._debugOwner=null,this._debugNeedsRemount=!1,this._debugHookTypes=null,!NE&&typeof Object.preventExtensions=="function"&&Object.preventExtensions(this)}var hi=function(e,t,a,i){return new rD(e,t,a,i)};function ME(e){var t=e.prototype;return!!(t&&t.isReactComponent)}function aD(e){return typeof e=="function"&&!ME(e)&&e.defaultProps===void 0}function iD(e){if(typeof e=="function")return ME(e)?G:A;if(e!=null){var t=e.$$typeof;if(t===xe)return Ie;if(t===ht)return ke}return ne}function fc(e,t){var a=e.alternate;a===null?(a=hi(e.tag,t,e.key,e.mode),a.elementType=e.elementType,a.type=e.type,a.stateNode=e.stateNode,a._debugSource=e._debugSource,a._debugOwner=e._debugOwner,a._debugHookTypes=e._debugHookTypes,a.alternate=e,e.alternate=a):(a.pendingProps=t,a.type=e.type,a.flags=Ve,a.subtreeFlags=Ve,a.deletions=null,a.actualDuration=0,a.actualStartTime=-1),a.flags=e.flags&dr,a.childLanes=e.childLanes,a.lanes=e.lanes,a.child=e.child,a.memoizedProps=e.memoizedProps,a.memoizedState=e.memoizedState,a.updateQueue=e.updateQueue;var i=e.dependencies;switch(a.dependencies=i===null?null:{lanes:i.lanes,firstContext:i.firstContext},a.sibling=e.sibling,a.index=e.index,a.ref=e.ref,a.selfBaseDuration=e.selfBaseDuration,a.treeBaseDuration=e.treeBaseDuration,a._debugNeedsRemount=e._debugNeedsRemount,a.tag){case ne:case A:case Le:a.type=ad(e.type);break;case G:a.type=_E(e.type);break;case Ie:a.type=DE(e.type);break}return a}function lD(e,t){e.flags&=dr|vn;var a=e.alternate;if(a===null)e.childLanes=Z,e.lanes=t,e.child=null,e.subtreeFlags=Ve,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.stateNode=null,e.selfBaseDuration=0,e.treeBaseDuration=0;else{e.childLanes=a.childLanes,e.lanes=a.lanes,e.child=a.child,e.subtreeFlags=Ve,e.deletions=null,e.memoizedProps=a.memoizedProps,e.memoizedState=a.memoizedState,e.updateQueue=a.updateQueue,e.type=a.type;var i=a.dependencies;e.dependencies=i===null?null:{lanes:i.lanes,firstContext:i.firstContext},e.selfBaseDuration=a.selfBaseDuration,e.treeBaseDuration=a.treeBaseDuration}return e}function uD(e,t,a){var i;return e===rm?(i=bt,t===!0&&(i|=Rn,i|=Ya)):i=qe,pr&&(i|=Ze),hi(F,null,null,i)}function AE(e,t,a,i,u,c){var d=ne,m=e;if(typeof e=="function")ME(e)?(d=G,m=_E(m)):m=ad(m);else if(typeof e=="string")d=le;else e:switch(e){case xa:return ls(a.children,u,c,t);case Ei:d=Je,u|=Rn,(u&bt)!==qe&&(u|=Ya);break;case k:return oD(a,u,c,t);case vt:return sD(a,u,c,t);case Ot:return cD(a,u,c,t);case cn:return bx(a,u,c,t);case fr:case Pn:case Ci:case to:case sn:default:{if(typeof e=="object"&&e!==null)switch(e.$$typeof){case re:d=We;break e;case pe:d=it;break e;case xe:d=Ie,m=DE(m);break e;case ht:d=ke;break e;case $e:d=Tt,m=null;break e}var g="";{(e===void 0||typeof e=="object"&&e!==null&&Object.keys(e).length===0)&&(g+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var C=i?ot(i):null;C&&(g+=`
245
+
246
+ Check the render method of \``+C+"`.")}throw new Error("Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) "+("but got: "+(e==null?e:typeof e)+"."+g))}}var w=hi(d,a,t,u);return w.elementType=e,w.type=m,w.lanes=c,w._debugOwner=i,w}function UE(e,t,a){var i=null;i=e._owner;var u=e.type,c=e.key,d=e.props,m=AE(u,c,d,i,t,a);return m._debugSource=e._source,m._debugOwner=e._owner,m}function ls(e,t,a,i){var u=hi(Ke,e,i,t);return u.lanes=a,u}function oD(e,t,a,i){typeof e.id!="string"&&E('Profiler must specify an "id" of type `string` as a prop. Received the type `%s` instead.',typeof e.id);var u=hi(pt,e,i,t|Ze);return u.elementType=k,u.lanes=a,u.stateNode={effectDuration:0,passiveEffectDuration:0},u}function sD(e,t,a,i){var u=hi(Re,e,i,t);return u.elementType=vt,u.lanes=a,u}function cD(e,t,a,i){var u=hi(Ct,e,i,t);return u.elementType=Ot,u.lanes=a,u}function bx(e,t,a,i){var u=hi(Qe,e,i,t);u.elementType=cn,u.lanes=a;var c={isHidden:!1};return u.stateNode=c,u}function zE(e,t,a){var i=hi(we,e,null,t);return i.lanes=a,i}function fD(){var e=hi(le,null,null,qe);return e.elementType="DELETED",e}function dD(e){var t=hi(zt,null,null,qe);return t.stateNode=e,t}function jE(e,t,a){var i=e.children!==null?e.children:[],u=hi(te,i,e.key,t);return u.lanes=a,u.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},u}function Tx(e,t){return e===null&&(e=hi(ne,null,null,qe)),e.tag=t.tag,e.key=t.key,e.elementType=t.elementType,e.type=t.type,e.stateNode=t.stateNode,e.return=t.return,e.child=t.child,e.sibling=t.sibling,e.index=t.index,e.ref=t.ref,e.pendingProps=t.pendingProps,e.memoizedProps=t.memoizedProps,e.updateQueue=t.updateQueue,e.memoizedState=t.memoizedState,e.dependencies=t.dependencies,e.mode=t.mode,e.flags=t.flags,e.subtreeFlags=t.subtreeFlags,e.deletions=t.deletions,e.lanes=t.lanes,e.childLanes=t.childLanes,e.alternate=t.alternate,e.actualDuration=t.actualDuration,e.actualStartTime=t.actualStartTime,e.selfBaseDuration=t.selfBaseDuration,e.treeBaseDuration=t.treeBaseDuration,e._debugSource=t._debugSource,e._debugOwner=t._debugOwner,e._debugNeedsRemount=t._debugNeedsRemount,e._debugHookTypes=t._debugHookTypes,e}function pD(e,t,a,i,u){this.tag=t,this.containerInfo=e,this.pendingChildren=null,this.current=null,this.pingCache=null,this.finishedWork=null,this.timeoutHandle=yy,this.context=null,this.pendingContext=null,this.callbackNode=null,this.callbackPriority=Nt,this.eventTimes=df(Z),this.expirationTimes=df(on),this.pendingLanes=Z,this.suspendedLanes=Z,this.pingedLanes=Z,this.expiredLanes=Z,this.mutableReadLanes=Z,this.finishedLanes=Z,this.entangledLanes=Z,this.entanglements=df(Z),this.identifierPrefix=i,this.onRecoverableError=u,this.mutableSourceEagerHydrationData=null,this.effectDuration=0,this.passiveEffectDuration=0;{this.memoizedUpdaters=new Set;for(var c=this.pendingUpdatersLaneMap=[],d=0;d<mn;d++)c.push(new Set)}switch(t){case rm:this._debugRootType=a?"hydrateRoot()":"createRoot()";break;case Qo:this._debugRootType=a?"hydrate()":"render()";break}}function Rx(e,t,a,i,u,c,d,m,g,C){var w=new pD(e,t,a,m,g),z=uD(t,c);w.current=z,z.stateNode=w;{var M={element:i,isDehydrated:a,cache:null,transitions:null,pendingSuspenseBoundaries:null};z.memoizedState=M}return Yy(z),w}var PE="18.2.0";function vD(e,t,a){var i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null;return Jr(i),{$$typeof:zr,key:i==null?null:""+i,children:e,containerInfo:t,implementation:a}}var FE,BE;FE=!1,BE={};function kx(e){if(!e)return vi;var t=Ba(e),a=XR(t);if(t.tag===G){var i=t.type;if(Xl(i))return JC(t,i,a)}return a}function hD(e,t){{var a=Ba(e);if(a===void 0){if(typeof e.render=="function")throw new Error("Unable to find node on an unmounted component.");var i=Object.keys(e).join(",");throw new Error("Argument appears to not be a ReactComponent. Keys: "+i)}var u=$a(a);if(u===null)return null;if(u.mode&Rn){var c=ot(a)||"Component";if(!BE[c]){BE[c]=!0;var d=bn;try{Kt(u),a.mode&Rn?E("%s is deprecated in StrictMode. %s was passed an instance of %s which is inside StrictMode. Instead, add a ref directly to the element you want to reference. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-find-node",t,t,c):E("%s is deprecated in StrictMode. %s was passed an instance of %s which renders StrictMode children. Instead, add a ref directly to the element you want to reference. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-find-node",t,t,c)}finally{d?Kt(d):Dn()}}}return u.stateNode}}function _x(e,t,a,i,u,c,d,m){var g=!1,C=null;return Rx(e,t,g,C,a,i,u,c,d)}function Dx(e,t,a,i,u,c,d,m,g,C){var w=!0,z=Rx(a,i,w,e,u,c,d,m,g);z.context=kx(null);var M=z.current,V=Na(),Y=as(M),K=$u(V,Y);return K.callback=t??null,Ko(M,K,Y),w_(z,Y,V),z}function yv(e,t,a,i){ah(t,e);var u=t.current,c=Na(),d=as(u);Eu(d);var m=kx(a);t.context===null?t.context=m:t.pendingContext=m,ra&&bn!==null&&!FE&&(FE=!0,E(`Render methods should be a pure function of props and state; triggering nested component updates from render is not allowed. If necessary, trigger nested updates in componentDidUpdate.
247
+
248
+ Check the render method of %s.`,ot(bn)||"Unknown"));var g=$u(c,d);g.payload={element:e},i=i===void 0?null:i,i!==null&&(typeof i!="function"&&E("render(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",i),g.callback=i);var C=Ko(u,g,d);return C!==null&&(wr(C,u,d,c),mm(C,u,d)),d}function ug(e){var t=e.current;if(!t.child)return null;switch(t.child.tag){case le:return t.child.stateNode;default:return t.child.stateNode}}function mD(e){switch(e.tag){case F:{var t=e.stateNode;if(Gn(t)){var a=Pg(t);R_(t,a)}break}case Re:{Gu(function(){var u=Za(e,et);if(u!==null){var c=Na();wr(u,e,et,c)}});var i=et;HE(e,i);break}}}function Lx(e,t){var a=e.memoizedState;a!==null&&a.dehydrated!==null&&(a.retryLane=mh(a.retryLane,t))}function HE(e,t){Lx(e,t);var a=e.alternate;a&&Lx(a,t)}function gD(e){if(e.tag===Re){var t=To,a=Za(e,t);if(a!==null){var i=Na();wr(a,e,t,i)}HE(e,t)}}function yD(e){if(e.tag===Re){var t=as(e),a=Za(e,t);if(a!==null){var i=Na();wr(a,e,t,i)}HE(e,t)}}function Ox(e){var t=th(e);return t===null?null:t.stateNode}var Nx=function(e){return null};function SD(e){return Nx(e)}var Mx=function(e){return!1};function ED(e){return Mx(e)}var Ax=null,Ux=null,zx=null,jx=null,Px=null,Fx=null,Bx=null,Hx=null,Ix=null;{var Vx=function(e,t,a){var i=t[a],u=Dt(e)?e.slice():wt({},e);return a+1===t.length?(Dt(u)?u.splice(i,1):delete u[i],u):(u[i]=Vx(e[i],t,a+1),u)},$x=function(e,t){return Vx(e,t,0)},Yx=function(e,t,a,i){var u=t[i],c=Dt(e)?e.slice():wt({},e);if(i+1===t.length){var d=a[i];c[d]=c[u],Dt(c)?c.splice(u,1):delete c[u]}else c[u]=Yx(e[u],t,a,i+1);return c},Wx=function(e,t,a){if(t.length!==a.length){j("copyWithRename() expects paths of the same length");return}else for(var i=0;i<a.length-1;i++)if(t[i]!==a[i]){j("copyWithRename() expects paths to be the same except for the deepest key");return}return Yx(e,t,a,0)},Qx=function(e,t,a,i){if(a>=t.length)return i;var u=t[a],c=Dt(e)?e.slice():wt({},e);return c[u]=Qx(e[u],t,a+1,i),c},Gx=function(e,t,a){return Qx(e,t,0,a)},IE=function(e,t){for(var a=e.memoizedState;a!==null&&t>0;)a=a.next,t--;return a};Ax=function(e,t,a,i){var u=IE(e,t);if(u!==null){var c=Gx(u.memoizedState,a,i);u.memoizedState=c,u.baseState=c,e.memoizedProps=wt({},e.memoizedProps);var d=Za(e,et);d!==null&&wr(d,e,et,on)}},Ux=function(e,t,a){var i=IE(e,t);if(i!==null){var u=$x(i.memoizedState,a);i.memoizedState=u,i.baseState=u,e.memoizedProps=wt({},e.memoizedProps);var c=Za(e,et);c!==null&&wr(c,e,et,on)}},zx=function(e,t,a,i){var u=IE(e,t);if(u!==null){var c=Wx(u.memoizedState,a,i);u.memoizedState=c,u.baseState=c,e.memoizedProps=wt({},e.memoizedProps);var d=Za(e,et);d!==null&&wr(d,e,et,on)}},jx=function(e,t,a){e.pendingProps=Gx(e.memoizedProps,t,a),e.alternate&&(e.alternate.pendingProps=e.pendingProps);var i=Za(e,et);i!==null&&wr(i,e,et,on)},Px=function(e,t){e.pendingProps=$x(e.memoizedProps,t),e.alternate&&(e.alternate.pendingProps=e.pendingProps);var a=Za(e,et);a!==null&&wr(a,e,et,on)},Fx=function(e,t,a){e.pendingProps=Wx(e.memoizedProps,t,a),e.alternate&&(e.alternate.pendingProps=e.pendingProps);var i=Za(e,et);i!==null&&wr(i,e,et,on)},Bx=function(e){var t=Za(e,et);t!==null&&wr(t,e,et,on)},Hx=function(e){Nx=e},Ix=function(e){Mx=e}}function CD(e){var t=$a(e);return t===null?null:t.stateNode}function wD(e){return null}function xD(){return bn}function bD(e){var t=e.findFiberByHostInstance,a=v.ReactCurrentDispatcher;return Yd({bundleType:e.bundleType,version:e.version,rendererPackageName:e.rendererPackageName,rendererConfig:e.rendererConfig,overrideHookState:Ax,overrideHookStateDeletePath:Ux,overrideHookStateRenamePath:zx,overrideProps:jx,overridePropsDeletePath:Px,overridePropsRenamePath:Fx,setErrorHandler:Hx,setSuspenseHandler:Ix,scheduleUpdate:Bx,currentDispatcherRef:a,findHostInstanceByFiber:CD,findFiberByHostInstance:t||wD,findHostInstancesForRefresh:eD,scheduleRefresh:Z_,scheduleRoot:J_,setRefreshHandler:X_,getCurrentFiber:xD,reconcilerVersion:PE})}var qx=typeof reportError=="function"?reportError:function(e){console.error(e)};function VE(e){this._internalRoot=e}og.prototype.render=VE.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw new Error("Cannot update an unmounted root.");{typeof arguments[1]=="function"?E("render(...): does not support the second callback argument. To execute a side effect after rendering, declare it in a component body with useEffect()."):sg(arguments[1])?E("You passed a container to the second argument of root.render(...). You don't need to pass it again since you already passed it to create the root."):typeof arguments[1]<"u"&&E("You passed a second argument to root.render(...) but it only accepts one argument.");var a=t.containerInfo;if(a.nodeType!==Fn){var i=Ox(t.current);i&&i.parentNode!==a&&E("render(...): It looks like the React-rendered content of the root container was removed without using React. This is not supported and will cause errors. Instead, call root.unmount() to empty a root's container.")}}yv(e,t,null,null)},og.prototype.unmount=VE.prototype.unmount=function(){typeof arguments[0]=="function"&&E("unmount(...): does not support a callback argument. To execute a side effect after rendering, declare it in a component body with useEffect().");var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;ux()&&E("Attempted to synchronously unmount a root while React was already rendering. React cannot finish unmounting the root until the current render has completed, which may lead to a race condition."),Gu(function(){yv(null,e,null,null)}),GC(t)}};function TD(e,t){if(!sg(e))throw new Error("createRoot(...): Target container is not a DOM element.");Kx(e);var a=!1,i=!1,u="",c=qx;t!=null&&(t.hydrate?j("hydrate through createRoot is deprecated. Use ReactDOMClient.hydrateRoot(container, <App />) instead."):typeof t=="object"&&t!==null&&t.$$typeof===Si&&E(`You passed a JSX element to createRoot. You probably meant to call root.render instead. Example usage:
249
+
250
+ let root = createRoot(domContainer);
251
+ root.render(<App />);`),t.unstable_strictMode===!0&&(a=!0),t.identifierPrefix!==void 0&&(u=t.identifierPrefix),t.onRecoverableError!==void 0&&(c=t.onRecoverableError),t.transitionCallbacks!==void 0&&t.transitionCallbacks);var d=_x(e,rm,null,a,i,u,c);Kh(d.current,e);var m=e.nodeType===Fn?e.parentNode:e;return Rp(m),new VE(d)}function og(e){this._internalRoot=e}function RD(e){e&&bh(e)}og.prototype.unstable_scheduleHydration=RD;function kD(e,t,a){if(!sg(e))throw new Error("hydrateRoot(...): Target container is not a DOM element.");Kx(e),t===void 0&&E("Must provide initial children as second argument to hydrateRoot. Example usage: hydrateRoot(domContainer, <App />)");var i=a??null,u=a!=null&&a.hydratedSources||null,c=!1,d=!1,m="",g=qx;a!=null&&(a.unstable_strictMode===!0&&(c=!0),a.identifierPrefix!==void 0&&(m=a.identifierPrefix),a.onRecoverableError!==void 0&&(g=a.onRecoverableError));var C=Dx(t,null,e,rm,i,c,d,m,g);if(Kh(C.current,e),Rp(e),u)for(var w=0;w<u.length;w++){var z=u[w];U1(C,z)}return new og(C)}function sg(e){return!!(e&&(e.nodeType===ia||e.nodeType===si||e.nodeType===fu||!ye))}function Sv(e){return!!(e&&(e.nodeType===ia||e.nodeType===si||e.nodeType===fu||e.nodeType===Fn&&e.nodeValue===" react-mount-point-unstable "))}function Kx(e){e.nodeType===ia&&e.tagName&&e.tagName.toUpperCase()==="BODY"&&E("createRoot(): Creating roots directly with document.body is discouraged, since its children are often manipulated by third-party scripts and browser extensions. This may lead to subtle reconciliation issues. Try using a container element created for your app."),jp(e)&&(e._reactRootContainer?E("You are calling ReactDOMClient.createRoot() on a container that was previously passed to ReactDOM.render(). This is not supported."):E("You are calling ReactDOMClient.createRoot() on a container that has already been passed to createRoot() before. Instead, call root.render() on the existing root instead if you want to update it."))}var _D=v.ReactCurrentOwner,Xx;Xx=function(e){if(e._reactRootContainer&&e.nodeType!==Fn){var t=Ox(e._reactRootContainer.current);t&&t.parentNode!==e&&E("render(...): It looks like the React-rendered content of this container was removed without using React. This is not supported and will cause errors. Instead, call ReactDOM.unmountComponentAtNode to empty a container.")}var a=!!e._reactRootContainer,i=$E(e),u=!!(i&&Yo(i));u&&!a&&E("render(...): Replacing React-rendered children with a new root component. If you intended to update the children of this node, you should instead have the existing children update their state and render the new components instead of calling ReactDOM.render."),e.nodeType===ia&&e.tagName&&e.tagName.toUpperCase()==="BODY"&&E("render(): Rendering components directly into document.body is discouraged, since its children are often manipulated by third-party scripts and browser extensions. This may lead to subtle reconciliation issues. Try rendering into a container element created for your app.")};function $E(e){return e?e.nodeType===si?e.documentElement:e.firstChild:null}function Zx(){}function DD(e,t,a,i,u){if(u){if(typeof i=="function"){var c=i;i=function(){var M=ug(d);c.call(M)}}var d=Dx(t,i,e,Qo,null,!1,!1,"",Zx);e._reactRootContainer=d,Kh(d.current,e);var m=e.nodeType===Fn?e.parentNode:e;return Rp(m),Gu(),d}else{for(var g;g=e.lastChild;)e.removeChild(g);if(typeof i=="function"){var C=i;i=function(){var M=ug(w);C.call(M)}}var w=_x(e,Qo,null,!1,!1,"",Zx);e._reactRootContainer=w,Kh(w.current,e);var z=e.nodeType===Fn?e.parentNode:e;return Rp(z),Gu(function(){yv(t,w,a,i)}),w}}function LD(e,t){e!==null&&typeof e!="function"&&E("%s(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",t,e)}function cg(e,t,a,i,u){Xx(a),LD(u===void 0?null:u,"render");var c=a._reactRootContainer,d;if(!c)d=DD(a,t,e,u,i);else{if(d=c,typeof u=="function"){var m=u;u=function(){var g=ug(d);m.call(g)}}yv(t,d,e,u)}return ug(d)}function OD(e){{var t=_D.current;if(t!==null&&t.stateNode!==null){var a=t.stateNode._warnedAboutRefsInRender;a||E("%s is accessing findDOMNode inside its render(). render() should be a pure function of props and state. It should never access something that requires stale data from the previous render, such as refs. Move this logic to componentDidMount and componentDidUpdate instead.",Pt(t.type)||"A component"),t.stateNode._warnedAboutRefsInRender=!0}}return e==null?null:e.nodeType===ia?e:hD(e,"findDOMNode")}function ND(e,t,a){if(E("ReactDOM.hydrate is no longer supported in React 18. Use hydrateRoot instead. Until you switch to the new API, your app will behave as if it's running React 17. Learn more: https://reactjs.org/link/switch-to-createroot"),!Sv(t))throw new Error("Target container is not a DOM element.");{var i=jp(t)&&t._reactRootContainer===void 0;i&&E("You are calling ReactDOM.hydrate() on a container that was previously passed to ReactDOMClient.createRoot(). This is not supported. Did you mean to call hydrateRoot(container, element)?")}return cg(null,e,t,!0,a)}function MD(e,t,a){if(E("ReactDOM.render is no longer supported in React 18. Use createRoot instead. Until you switch to the new API, your app will behave as if it's running React 17. Learn more: https://reactjs.org/link/switch-to-createroot"),!Sv(t))throw new Error("Target container is not a DOM element.");{var i=jp(t)&&t._reactRootContainer===void 0;i&&E("You are calling ReactDOM.render() on a container that was previously passed to ReactDOMClient.createRoot(). This is not supported. Did you mean to call root.render(element)?")}return cg(null,e,t,!1,a)}function AD(e,t,a,i){if(E("ReactDOM.unstable_renderSubtreeIntoContainer() is no longer supported in React 18. Consider using a portal instead. Until you switch to the createRoot API, your app will behave as if it's running React 17. Learn more: https://reactjs.org/link/switch-to-createroot"),!Sv(a))throw new Error("Target container is not a DOM element.");if(e==null||!Ts(e))throw new Error("parentComponent must be a valid React Component");return cg(e,t,a,!1,i)}function UD(e){if(!Sv(e))throw new Error("unmountComponentAtNode(...): Target container is not a DOM element.");{var t=jp(e)&&e._reactRootContainer===void 0;t&&E("You are calling ReactDOM.unmountComponentAtNode() on a container that was previously passed to ReactDOMClient.createRoot(). This is not supported. Did you mean to call root.unmount()?")}if(e._reactRootContainer){{var a=$E(e),i=a&&!Yo(a);i&&E("unmountComponentAtNode(): The node you're attempting to unmount was rendered by another copy of React.")}return Gu(function(){cg(null,null,e,!1,function(){e._reactRootContainer=null,GC(e)})}),!0}else{{var u=$E(e),c=!!(u&&Yo(u)),d=e.nodeType===ia&&Sv(e.parentNode)&&!!e.parentNode._reactRootContainer;c&&E("unmountComponentAtNode(): The node you're attempting to unmount was rendered by React and is not a top-level container. %s",d?"You may have accidentally passed in a React root node instead of its container.":"Instead, have the parent component update its state and rerender in order to remove this component.")}return!1}}_e(mD),yh(gD),Bs(yD),op(Qa),Eh(js),(typeof Map!="function"||Map.prototype==null||typeof Map.prototype.forEach!="function"||typeof Set!="function"||Set.prototype==null||typeof Set.prototype.clear!="function"||typeof Set.prototype.forEach!="function")&&E("React depends on Map and Set built-in types. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills"),Zv(PT),Nc(CE,k_,Gu);function zD(e,t){var a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(!sg(t))throw new Error("Target container is not a DOM element.");return vD(e,t,null,a)}function jD(e,t,a,i){return AD(e,t,a,i)}var YE={usingClientEntryPoint:!1,Events:[Yo,Uf,Xh,Oc,ws,CE]};function PD(e,t){return YE.usingClientEntryPoint||E('You are importing createRoot from "react-dom" which is not supported. You should instead import it from "react-dom/client".'),TD(e,t)}function FD(e,t,a){return YE.usingClientEntryPoint||E('You are importing hydrateRoot from "react-dom" which is not supported. You should instead import it from "react-dom/client".'),kD(e,t,a)}function BD(e){return ux()&&E("flushSync was called from inside a lifecycle method. React cannot flush when React is already rendering. Consider moving this call to a scheduler task or micro task."),Gu(e)}var HD=bD({findFiberByHostInstance:Ks,bundleType:1,version:PE,rendererPackageName:"react-dom"});if(!HD&&Cn&&window.top===window.self&&(navigator.userAgent.indexOf("Chrome")>-1&&navigator.userAgent.indexOf("Edge")===-1||navigator.userAgent.indexOf("Firefox")>-1)){var Jx=window.location.protocol;/^(https?|file):$/.test(Jx)&&console.info("%cDownload the React DevTools for a better development experience: https://reactjs.org/link/react-devtools"+(Jx==="file:"?`
252
+ You might need to use a local HTTP server (instead of file://): https://reactjs.org/link/react-devtools-faq`:""),"font-weight:bold")}ri.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=YE,ri.createPortal=zD,ri.createRoot=PD,ri.findDOMNode=OD,ri.flushSync=BD,ri.hydrate=ND,ri.hydrateRoot=FD,ri.render=MD,ri.unmountComponentAtNode=UD,ri.unstable_batchedUpdates=CE,ri.unstable_renderSubtreeIntoContainer=jD,ri.version=PE,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)}()),ri}function tT(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function")){if(process.env.NODE_ENV!=="production")throw new Error("^_^");try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(tT)}catch(s){console.error(s)}}}process.env.NODE_ENV==="production"?(tT(),aC.exports=uN()):aC.exports=oN();var sN=aC.exports;const cN=QD(sN),fN=(s,{mentionable:h}={})=>{if(!h)return"";const v=document.createElement("div");return cN.render(L.MentionMarkupElementNode(h)({element:s}),v),v.innerHTML},hC=(s,h)=>s.reduce((v,x)=>(x.type===h&&v++,x.children?v+hC(x.children,h):v),0),nT=(s,h,{mappedMentionable:v,nestingCount:x={}})=>{if(N.isText(s))return JO(s);const b=x[s.type]||hC([s],s.type);let j="";for(const Q of s.children)j+=nT(Q,h,{nestingCount:{...x,[Q.type]:b},mappedMentionable:v});const E=dN[s.type];return typeof E<"u"?E({classNames:cb(s.breakAfterColumn,s.align),children:j,rootNestingCount:b,node:s,mappedMentionable:v,styles:h}):rN(s,j,h[s.type],cb(s.breakAfterColumn,s.align))},dN={[N.ELEMENT_UL]:s=>`<ul class="${L.UL_CLASSES} ${s.classNames}">${s.children}</ul>`,[N.ELEMENT_OL]:({classNames:s,children:h,node:v,rootNestingCount:x})=>{const b=Math.max(x-hC([v],N.ELEMENT_OL),0);return`<ol class="${L.getOrderedListClasses(b)} ${s}" style="${Ju(L.OL_STYLES)}">${h}</ol>`},[N.ELEMENT_LI]:({classNames:s,children:h,node:v,styles:x})=>`<li class="${s} ${L.LI_CLASSNAMES}" style="${Ju(L.getLiStyles(v,x))}">${h}</li>`,[N.ELEMENT_LIC]:({classNames:s,children:h,node:v})=>`<p class="${s} ${L.getLicElementClassNames(v)}"><span>${h}</span></p>`,[N.ELEMENT_LINK]:({node:s,children:h,classNames:v,styles:x})=>nN(s,h,v,x),[dn]:({node:s,children:h,classNames:v,styles:x})=>tN(s,h,v,x),[L.ELEMENT_CHECK_ITEM]:({node:s,children:h,classNames:v,styles:x})=>aN(s,h,v,x),[N.ELEMENT_MENTION]:({node:s,mappedMentionable:h})=>fN(s,{mentionable:h})},cb=(s,h)=>{const v="tw-break-words",x=s==="active"?"tw-break-after-column tw-break-inside-avoid-column":"",b=h?L.alignmentClassnames[h]:"";return L.merge([b,v,x])},pN=async(s,h=1,v="normal",x=new L.PluginComposer)=>{const b=L.parseRawValue({raw:s,plugins:x}),j=x.getStyles;return Promise.resolve(vN(b,{columns:h,columnGap:v,styles:j}))},vN=(s,{mentionable:h,columns:v=1,columnGap:x="normal",styles:b=sr}={})=>{const j=h?L.mapMentionable(h):new Map;let E="";for(let Q=0,A=s.length;Q<A;Q++){const G=s[Q];hN(G)?E+="<br />":E+=nT(G,b,{mappedMentionable:j})}return v>1?`<div style="columns:${v}; column-gap:${x};">${E}</div>`:E},hN=s=>{var h;return Array.isArray(s==null?void 0:s.children)?(h=s==null?void 0:s.children)==null?void 0:h.every(v=>v.text===""):!1},mN=({value:s="",gap:h,columns:v,show:x=!0,plugins:b})=>{const[j,E]=Fe.useState(null);return Fe.useEffect(()=>{(async()=>E(await pN(s,v,h,b)))()},[s,v,h,b]),!x||j==="<br />"?null:j!==null?_.jsx("div",{className:"tw-w-full","data-test-id":"rte-content-html",dangerouslySetInnerHTML:{__html:j}}):_.jsx("div",{className:"tw-rounded-sm tw-bg-base-alt tw-animate-pulse tw-h-full tw-min-h-[10px] tw-w-full"})},gN=({id:s="rte",isEditing:h,value:v,columns:x,gap:b,placeholder:j,plugins:E,onTextChange:Q,showSerializedText:A})=>{const[G,ne]=Fe.useState(!1),F=te=>{Q&&te!==v&&Q(te),ne(!1)};return Fe.useEffect(()=>{const te=le=>(le.preventDefault(),le.returnValue="Unprocessed changes");return G&&window.addEventListener("beforeunload",te),()=>window.removeEventListener("beforeunload",te)},[G]),h?_.jsx(L.RichTextEditor,{id:s,value:v,border:!1,placeholder:j,plugins:E,onValueChanged:()=>ne(!0),onTextChange:F,hideExternalFloatingModals:te=>{Ua.isOpen(te)&&or.reset()}}):_.jsx(mN,{value:v,columns:x,gap:b,show:A,plugins:E})},yN=s=>new L.PluginComposer().setPlugin(new L.SoftBreakPlugin,new L.TextStylePlugin({textStyles:vC})).setPlugin([new L.BoldPlugin,new L.ItalicPlugin,new L.UnderlinePlugin,new L.StrikethroughPlugin,new Ub({appBridge:s}),new Mb({appBridge:s}),new L.CodePlugin],[new L.AlignLeftPlugin({validTypes:od}),new L.AlignCenterPlugin({validTypes:od}),new L.AlignRightPlugin({validTypes:od}),new L.AlignJustifyPlugin({validTypes:od}),new L.UnorderedListPlugin,new L.CheckboxListPlugin,new L.OrderedListPlugin,new L.ResetFormattingPlugin]),SN="--f-theme-settings-",EN=(s,h)=>{const{blockAssets:v,updateAssetIdsFromKey:x}=gc.useBlockAssets(s),b=(v==null?void 0:v[h])||[];return{onAddAttachments:async G=>{const ne=b.map(F=>F.id);for(const F of G)ne.push(F.id);await x(h,ne)},onAttachmentDelete:async G=>{const ne=b.filter(F=>F.id!==G.id).map(F=>F.id);await x(h,ne)},onAttachmentReplace:async(G,ne)=>{const F=b.map(te=>te.id===G.id?ne.id:te.id);await x(h,F)},onAttachmentsSorted:async G=>{const ne=G.map(F=>F.id);await x(h,ne)},attachments:b}},CN={start:["Space","Enter"],cancel:[],end:["Space","Enter","Escape"]},wN=(s=0,h=0)=>{const v=Sb(s,h);return Xn.useSensors(Xn.useSensor(Xn.PointerSensor),Xn.useSensor(Xn.KeyboardSensor,{coordinateGetter:v,keyboardCodes:CN}))},xN=s=>{const h=s!=null&&s.id?`hasBackground${s.id}`:"hasBackground",v=s!=null&&s.id?`backgroundColor${s.id}`:"backgroundColor",x=s!=null&&s.preventDefaultColor?void 0:(s==null?void 0:s.defaultColor)||oL,b=s!=null&&s.switchLabel?s.switchLabel:void 0;return{id:h,label:"Background",type:"switch",switchLabel:b,defaultValue:!!(s!=null&&s.defaultValue),on:[{id:v,defaultValue:x,type:"colorInput"}]}},bN=s=>{const h=s!=null&&s.id?`hasBorder_${s.id}`:"hasBorder",v=s!=null&&s.id?`borderSelection_${s.id}`:"borderSelection",x=s!=null&&s.id?`borderStyle_${s.id}`:"borderStyle",b=s!=null&&s.id?`borderWidth_${s.id}`:"borderWidth",j=s!=null&&s.id?`borderColor_${s.id}`:"borderColor",E=(s==null?void 0:s.defaultColor)||hb,Q=s!=null&&s.switchLabel?s.switchLabel:void 0;return{id:h,label:"Border",type:"switch",switchLabel:Q,defaultValue:!!(s!=null&&s.defaultValue),on:[{id:v,type:"multiInput",onChange:A=>De.appendUnit(A,b),layout:De.MultiInputLayout.Columns,lastItemFullWidth:!0,blocks:[{id:x,type:"dropdown",defaultValue:lu.Solid,choices:[{value:lu.Solid,label:lu.Solid},{value:lu.Dotted,label:lu.Dotted},{value:lu.Dashed,label:lu.Dashed}]},{id:b,type:"input",defaultValue:sL,rules:[De.numericalOrPixelRule,De.maximumNumericalOrPixelOrAutoRule(500)],placeholder:"e.g. 3px"},{id:j,type:"colorInput",defaultValue:E}]}],off:[]}},mC=(s,h=us.None)=>({id:s,type:"segmentedControls",defaultValue:h,choices:[{value:us.None,label:"None"},{value:us.Small,label:"S"},{value:us.Medium,label:"M"},{value:us.Large,label:"L"}]}),TN=s=>{const h=s!=null&&s.id?`hasRadius_${s.id}`:"hasRadius",v=s!=null&&s.id?`radiusValue_${s.id}`:"radiusValue",x=s!=null&&s.id?`radiusChoice_${s.id}`:"radiusChoice",b=(s==null?void 0:s.defaultRadius)||us.None;return{id:h,label:"Corner radius",type:"switch",switchLabel:"Custom",defaultValue:!1,info:"Determining how rounded the corners are.",show:j=>{var E;return s!=null&&s.dependentSettingId?!!((E=j.getBlock(s.dependentSettingId))!=null&&E.value):!0},onChange:j=>De.presetCustomValue(j,x,v,(s==null?void 0:s.radiusStyleMap)||hc),on:[{id:v,type:"input",placeholder:"e.g. 10px",rules:[De.numericalOrPixelRule],onChange:j=>De.appendUnit(j,v)}],off:[mC(x,b)]}},RN=s=>{const h=s!=null&&s.id?`hasExtendedCustomRadius_${s.id}`:"hasExtendedCustomRadius",v=s!=null&&s.id?`extendedRadiusValue_${s.id}`:"extendedRadiusValue",x=s!=null&&s.id?`extendedRadiusChoice_${s.id}`:"extendedRadiusChoice",b=s!=null&&s.id?`extendedRadiusTopLeft_${s.id}`:"extendedRadiusTopLeft",j=s!=null&&s.id?`extendedRadiusTopRight_${s.id}`:"extendedRadiusTopRight",E=s!=null&&s.id?`extendedRadiusBottomLeft_${s.id}`:"extendedRadiusBottomLeft",Q=s!=null&&s.id?`extendedRadiusBottomRight_${s.id}`:"extendedRadiusBottomRight";return{id:h,label:"Corner radius",type:"switch",switchLabel:"Custom",defaultValue:!1,info:"Determining how rounded the corners are.",show:A=>{var G;return s!=null&&s.dependentSettingId?!!((G=A.getBlock(s.dependentSettingId))!=null&&G.value):!0},onChange:A=>{De.presetCustomValue(A,x,b,hc),De.presetCustomValue(A,x,j,hc),De.presetCustomValue(A,x,E,hc),De.presetCustomValue(A,x,Q,hc)},on:[{id:v,type:"multiInput",layout:De.MultiInputLayout.Columns,blocks:[{id:b,type:"input",label:"Top Left",rules:[De.numericalOrPixelRule],onChange:A=>De.appendUnit(A,b)},{id:j,type:"input",label:"Top Right",rules:[De.numericalOrPixelRule],onChange:A=>De.appendUnit(A,j)},{id:E,type:"input",label:"Bottom Left",rules:[De.numericalOrPixelRule],onChange:A=>De.appendUnit(A,E)},{id:Q,type:"input",label:"Bottom Right",rules:[De.numericalOrPixelRule],onChange:A=>De.appendUnit(A,Q)}]}],off:[mC(x,s==null?void 0:s.defaultValue)]}},kN=s=>{const h=s!=null&&s.id?s.id:"hasCustomSpacing",v=s!=null&&s.dependentSettingId?s.dependentSettingId:"columns",x=s!=null&&s.spacingChoiceId?s.spacingChoiceId:"spacingChoice",b=s!=null&&s.spacingCustomId?s.spacingCustomId:"spacingCustom",j=s!=null&&s.defaultValueChoices?s.defaultValueChoices:vc.M;return{id:h,type:"switch",defaultValue:!1,switchLabel:"Custom",label:"Gutter",info:"An official nerds term for ‘gap’",onChange:E=>De.presetCustomValue(E,x,b,vb),show:E=>{var Q;return((Q=E.getBlock(v))==null?void 0:Q.value)!=="1"},on:[{id:b,type:"input",rules:[De.numericalOrPixelRule],onChange:E=>De.appendUnit(E,b)}],off:[{id:x,type:"slider",defaultValue:j,choices:[{value:vc.Auto,label:"Auto"},{value:vc.S,label:"S"},{value:vc.M,label:"M"},{value:vc.L,label:"L"}]}]}},gC=s=>({id:s,type:"segmentedControls",defaultValue:pc.None,choices:[{value:pc.None,label:"None"},{value:pc.Small,label:"S"},{value:pc.Medium,label:"M"},{value:pc.Large,label:"L"}]}),_N=s=>{const h=s!=null&&s.id?`hasCustomMarginValue_${s==null?void 0:s.id}`:"hasCustomMarginValue",v=s!=null&&s.id?`marginValue_${s==null?void 0:s.id}`:"marginValue",x=s!=null&&s.id?`marginChoice_${s==null?void 0:s.id}`:"marginChoice";return{id:h,label:"Margin",type:"switch",switchLabel:"Custom",defaultValue:!1,info:"The spacing around UI elements to create more space",onChange:b=>De.presetCustomValue(b,x,v,(s==null?void 0:s.marginStyleMap)||ud),on:[{id:v,type:"input",placeholder:Tv,rules:[De.numericalOrPixelRule,De.maximumNumericalOrPixelOrAutoRule(500)],onChange:b=>De.appendUnit(b,v)}],off:[gC(x)]}},DN=s=>{const h=s!=null&&s.id?`hasExtendedCustomMargin_${s==null?void 0:s.id}`:"hasExtendedCustomMargin",v=s!=null&&s.id?`extendedMarginValues_${s==null?void 0:s.id}`:"extendedMarginValues",x=s!=null&&s.id?`extendedMarginChoice_${s==null?void 0:s.id}`:"extendedMarginChoice",b=s!=null&&s.id?`extendedMarginTop_${s==null?void 0:s.id}`:"extendedMarginTop",j=s!=null&&s.id?`extendedMarginLeft_${s==null?void 0:s.id}`:"extendedMarginLeft",E=s!=null&&s.id?`extendedMarginRight_${s==null?void 0:s.id}`:"extendedMarginRight",Q=s!=null&&s.id?`extendedMarginBottom_${s==null?void 0:s.id}`:"extendedMarginBottom";return{id:h,label:"Margin",type:"switch",switchLabel:"Custom",defaultValue:!1,info:"The spacing around UI elements to create more negative space",onChange:A=>{De.presetCustomValue(A,x,b,ud),De.presetCustomValue(A,x,j,ud),De.presetCustomValue(A,x,E,ud),De.presetCustomValue(A,x,Q,ud)},on:[{id:v,type:"multiInput",layout:De.MultiInputLayout.Spider,blocks:[{id:b,type:"input",label:"Top",placeholder:Tv,onChange:A=>De.appendUnit(A,b),rules:[De.numericalOrPixelRule,De.maximumNumericalOrPixelOrAutoRule(500)]},{id:j,type:"input",label:"Left",placeholder:Tv,onChange:A=>De.appendUnit(A,j),rules:[De.numericalOrPixelRule,De.maximumNumericalOrPixelOrAutoRule(500)]},{id:E,type:"input",label:"Right",placeholder:Tv,onChange:A=>De.appendUnit(A,E),rules:[De.numericalOrPixelRule,De.maximumNumericalOrPixelOrAutoRule(500)]},{id:Q,type:"input",label:"Bottom",placeholder:Tv,onChange:A=>De.appendUnit(A,Q),rules:[De.numericalOrPixelRule,De.maximumNumericalOrPixelOrAutoRule(500)]}]}],off:[gC(x)]}},yC=s=>({id:s,type:"segmentedControls",defaultValue:dc.Small,choices:[{value:dc.None,label:"None"},{value:dc.Small,label:"S"},{value:dc.Medium,label:"M"},{value:dc.Large,label:"L"}]}),LN=s=>{const h=s!=null&&s.id?`hasCustomPaddingValue_${s==null?void 0:s.id}`:"hasCustomPaddingValue",v=s!=null&&s.id?`paddingValue_${s==null?void 0:s.id}`:"paddingValue",x=s!=null&&s.id?`paddingChoice_${s==null?void 0:s.id}`:"paddingChoice";return{id:h,label:"Padding",type:"switch",switchLabel:"Custom",defaultValue:!1,info:"The spacing around UI elements to create more negative space",onChange:b=>De.presetCustomValue(b,x,v,(s==null?void 0:s.paddingStyleMap)||ld),on:[{id:v,type:"input",placeholder:bv,rules:[De.numericalOrPixelRule,De.maximumNumericalOrPixelOrAutoRule(500)],onChange:b=>De.appendUnit(b,v)}],off:[yC(x)]}},ON=s=>{const h=s!=null&&s.id?`hasExtendedCustomPadding_${s==null?void 0:s.id}`:"hasExtendedCustomPadding",v=s!=null&&s.id?`extendedPaddingValues_${s==null?void 0:s.id}`:"extendedPaddingValues",x=s!=null&&s.id?`extendedPaddingChoice_${s==null?void 0:s.id}`:"extendedPaddingChoice",b=s!=null&&s.id?`extendedPaddingTop_${s==null?void 0:s.id}`:"extendedPaddingTop",j=s!=null&&s.id?`extendedPaddingLeft_${s==null?void 0:s.id}`:"extendedPaddingLeft",E=s!=null&&s.id?`extendedPaddingRight_${s==null?void 0:s.id}`:"extendedPaddingRight",Q=s!=null&&s.id?`extendedPaddingBottom_${s==null?void 0:s.id}`:"extendedPaddingBottom";return{id:h,label:"Padding",type:"switch",switchLabel:"Custom",defaultValue:!1,info:"The spacing around UI elements to create more negative space",onChange:A=>{De.presetCustomValue(A,x,b,ld),De.presetCustomValue(A,x,j,ld),De.presetCustomValue(A,x,E,ld),De.presetCustomValue(A,x,Q,ld)},on:[{id:v,type:"multiInput",layout:De.MultiInputLayout.Spider,blocks:[{id:b,type:"input",label:"Top",placeholder:bv,onChange:A=>De.appendUnit(A,b),rules:[De.numericalOrPixelRule,De.maximumNumericalOrPixelOrAutoRule(500)]},{id:j,type:"input",label:"Left",placeholder:bv,onChange:A=>De.appendUnit(A,j),rules:[De.numericalOrPixelRule,De.maximumNumericalOrPixelOrAutoRule(500)]},{id:E,type:"input",label:"Right",placeholder:bv,onChange:A=>De.appendUnit(A,E),rules:[De.numericalOrPixelRule,De.maximumNumericalOrPixelOrAutoRule(500)]},{id:Q,type:"input",label:"Bottom",placeholder:bv,onChange:A=>De.appendUnit(A,Q),rules:[De.numericalOrPixelRule,De.maximumNumericalOrPixelOrAutoRule(500)]}]}],off:[yC(x)]}},NN=s=>{const h=SC(s==null?void 0:s.globalControlId);return{id:s!=null&&s.id?s.id:"downloadable",type:"switch",defaultValue:!1,label:"Downloadable",show:v=>{var x;return((x=v.getBlock(h))==null?void 0:x.value)===mc.Custom}}},SC=s=>s||"security",MN=s=>[{id:SC(s),type:"segmentedControls",defaultValue:mc.Global,choices:[{value:mc.Global,label:"Global Settings"},{value:mc.Custom,label:"Custom"}]},{id:"globalSettingsInfo",type:"notification",footer:De.createFooter({label:"Change global settings [here].",replace:{here:{event:"general-settings.open"}}})}];var rT=(s=>(s.Main="main",s.Basics="basics",s.Layout="layout",s.Style="style",s.Security="security",s.Targets="targets",s))(rT||{});const AN=s=>s,UN=s=>s;exports.AllTextStylePlugins=XO;exports.AllTextStyles=ZO;exports.Attachments=mL;exports.BUTTON_PLUGIN=pC;exports.BlockButtonStyles=Eg;exports.BlockInjectButton=ZD;exports.BlockItemWrapper=pL;exports.BlockStyles=sr;exports.BorderStyle=lu;exports.ButtonPlugin=Mb;exports.Custom1Plugin=zb;exports.Custom2Plugin=Pb;exports.Custom3Plugin=Bb;exports.DEFAULT_DRAGGING_TOOLTIP=gb;exports.DEFAULT_DRAG_TOOLTIP=mb;exports.DownloadButton=gL;exports.ELEMENT_BUTTON=dn;exports.GutterSpacing=vc;exports.Heading1Plugin=Ib;exports.Heading2Plugin=Vb;exports.Heading3Plugin=$b;exports.Heading4Plugin=Yb;exports.ImageCaptionPlugin=Wb;exports.ImageTitlePlugin=Qb;exports.LinkPlugin=Ub;exports.Margin=pc;exports.PARAGRAPH_CLASSES=qb;exports.Padding=dc;exports.ParagraphMarkupElement=Kb;exports.ParagraphMarkupElementNode=mg;exports.ParagraphPlugin=Gb;exports.QuoteMarkupElementNode=gg;exports.QuotePlugin=Zb;exports.Radius=us;exports.RichTextEditor=gN;exports.Sections=rT;exports.Security=mc;exports.THEME_PREFIX=SN;exports.TextStylePluginsWithoutImage=vC;exports.TextStyles=ct;exports.TextStylesWithoutImage=od;exports.addHttps=yg;exports.borderStyleMap=pb;exports.convertToRteValue=CL;exports.createButtonNode=xb;exports.createButtonPlugin=Nb;exports.createLinkPlugin=Ab;exports.createParagraphPlugin=Xb;exports.createQuotePlugin=Jb;exports.customCoordinatesGetterFactory=Sb;exports.defineBlock=AN;exports.defineSettings=UN;exports.getBackgroundColorStyles=uL;exports.getBackgroundSettings=xN;exports.getBorderRadiusSettings=TN;exports.getBorderRadiusSlider=mC;exports.getBorderSettings=bN;exports.getBorderStyles=cL;exports.getDefaultPluginsWithLinkChooser=yN;exports.getExtendedBorderRadiusSettings=RN;exports.getGutterSettings=kN;exports.getMarginExtendedSettings=DN;exports.getMarginSettings=_N;exports.getMarginSlider=gC;exports.getPaddingExtendedSettings=ON;exports.getPaddingSettings=LN;exports.getPaddingSlider=yC;exports.getRadiusStyles=fL;exports.getReadableColor=iL;exports.getSecurityDownloadableSetting=NN;exports.getSecurityGlobalControlId=SC;exports.getSecurityGlobalControlSetting=MN;exports.getUrlFromEditor=wb;exports.gutterSpacingStyleMap=vb;exports.hasRichTextValue=yb;exports.insertButton=bb;exports.isDark=eL;exports.isDownloadable=xL;exports.joinClassNames=Zu;exports.mapAppBridgeColorPaletteToFonduePalette=Eb;exports.mapAppBridgeColorPalettesToFonduePalettes=bL;exports.marginStyleMap=ud;exports.moveItemInArray=lL;exports.paddingStyleMap=ld;exports.radiusStyleMap=hc;exports.setAlpha=rL;exports.submitFloatingButton=fC;exports.toColorObject=aL;exports.toHex8String=tL;exports.toHexString=nL;exports.toRgbaString=iC;exports.toShortRgba=yc;exports.triggerFloatingButton=Db;exports.triggerFloatingButtonEdit=Sg;exports.triggerFloatingButtonInsert=cC;exports.unwrapButton=fd;exports.upsertButton=Tb;exports.upsertButtonText=dC;exports.useAttachments=EN;exports.useDndSensors=wN;exports.withButton=Ob;exports.wrapButton=Rb;Object.keys(De).forEach(s=>{s!=="default"&&!exports.hasOwnProperty(s)&&Object.defineProperty(exports,s,{enumerable:!0,get:()=>De[s]})});
2
253
  //# sourceMappingURL=index.cjs.js.map