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S,kBAGbrvG,GAAK0b,QACDsnD,EAAAA,GAAAA,KAAChK,GAAa,CAAC/M,SAAU4jD,GAAQ76G,UAC7BguE,EAAAA,GAAAA,KAAC+O,GAAO,CAAA/8E,UACJguE,EAAAA,GAAAA,KAAC2gB,GAAG,SH+FV,kBAAmB3iC,WACrBA,UAAUkvD,cAAcn7F,MACrBooB,MAAK,SAACgzE,GACLA,EAAaC,YACf,IACChzE,OAAM,SAACt0B,GACN3N,QAAQ2N,MAAMA,EAAMsK,QACtB,IG1FNi9F","sources":["../node_modules/@twa-dev/sdk/src/index.ts","../node_modules/@twa-dev/sdk/src/react/BackButton/BackButton.tsx","../node_modules/@twa-dev/sdk/src/react/BottomBar/BottomBar.tsx","../node_modules/@twa-dev/sdk/src/react/MainButton/MainButton.tsx","../node_modules/@twa-dev/sdk/src/react/SecondaryButton/SecondaryButton.tsx","../node_modules/@twa-dev/sdk/src/react/bottomButton.ts","../node_modules/@twa-dev/sdk/src/react/index.ts","../node_modules/@twa-dev/sdk/src/sdk.ts","../node_modules/@twa-dev/sdk/src/telegram-web-apps.js","../node_modules/react-dom/cjs/react-dom.production.min.js","../node_modules/react-dom/client.js","../node_modules/react-dom/index.js","../node_modules/react/cjs/react-jsx-runtime.production.min.js","../node_modules/react/cjs/react.production.min.js","../node_modules/react/index.js","../node_modules/react/jsx-runtime.js","../node_modules/scheduler/cjs/scheduler.production.min.js","../node_modules/scheduler/index.js","../webpack/bootstrap","../webpack/runtime/create fake namespace object","../webpack/runtime/define property getters","../webpack/runtime/ensure chunk","../webpack/runtime/get javascript chunk filename","../webpack/runtime/get mini-css chunk filename","../webpack/runtime/hasOwnProperty shorthand","../webpack/runtime/load script","../webpack/runtime/make namespace object","../webpack/runtime/publicPath","../webpack/runtime/jsonp chunk loading","../node_modules/@remix-run/router/history.ts","../node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js","../node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js","../node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js","../node_modules/@babel/runtime/helpers/esm/nonIterableRest.js","../node_modules/@babel/runtime/helpers/esm/slicedToArray.js","../node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js","../node_modules/@babel/runtime/helpers/esm/iterableToArray.js","../node_modules/@babel/runtime/helpers/esm/toConsumableArray.js","../node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js","../node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js","../node_modules/@babel/runtime/helpers/esm/classCallCheck.js","../node_modules/@babel/runtime/helpers/esm/typeof.js","../node_modules/@babel/runtime/helpers/esm/toPropertyKey.js","../node_modules/@babel/runtime/helpers/esm/toPrimitive.js","../node_modules/@babel/runtime/helpers/esm/createClass.js","../node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js","../node_modules/@babel/runtime/helpers/esm/inherits.js","../node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js","../node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.js","../node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js","../node_modules/@babel/runtime/helpers/esm/createSuper.js","../node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js","../node_modules/@babel/runtime/helpers/esm/construct.js","../node_modules/@babel/runtime/helpers/esm/wrapNativeSuper.js","../node_modules/@babel/runtime/helpers/esm/isNativeFunction.js","../node_modules/@babel/runtime/helpers/esm/createForOfIteratorHelper.js","../node_modules/@remix-run/router/utils.ts","../node_modules/@babel/runtime/helpers/esm/toArray.js","../node_modules/@remix-run/router/router.ts","../node_modules/react-router/lib/use-sync-external-store-shim/useSyncExternalStoreShimClient.ts","../node_modules/react-router/lib/use-sync-external-store-shim/index.ts","../node_modules/react-router/lib/context.ts","../node_modules/react-router/lib/hooks.tsx","../node_modules/react-router/lib/components.tsx","../node_modules/react-router-dom/index.tsx","../node_modules/@babel/runtime/helpers/esm/defineProperty.js","../node_modules/@babel/runtime/helpers/esm/objectSpread2.js","../node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js","../node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js","../node_modules/@babel/runtime/helpers/esm/regeneratorRuntime.js","../node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js","services/SubscriptionsService.js","../node_modules/@swc/helpers/esm/_define_property.js","../node_modules/@swc/helpers/esm/_object_spread.js","../node_modules/@swc/helpers/esm/_object_without_properties.js","../node_modules/@swc/helpers/esm/_object_without_properties_loose.js","../node_modules/@telegram-apps/telegram-ui/src/helpers/classNames.ts","../node_modules/@swc/helpers/esm/_object_spread_props.js","../node_modules/@telegram-apps/telegram-ui/src/components/Blocks/Image/helpers/getBorderRadius.ts","../node_modules/@telegram-apps/telegram-ui/src/helpers/react/node.ts","../node_modules/@telegram-apps/telegram-ui/src/components/Typography/Typography.tsx","../node_modules/@telegram-apps/telegram-ui/src/components/Typography/Caption/Caption.tsx","../node_modules/@telegram-apps/telegram-ui/src/components/Typography/Subheadline/Subheadline.tsx","../node_modules/@telegram-apps/telegram-ui/src/components/Blocks/Badge/Badge.tsx","../node_modules/@telegram-apps/telegram-ui/src/components/Blocks/Image/Image.tsx","../node_modules/@telegram-apps/telegram-ui/src/components/Blocks/Image/components/ImageBadge/ImageBadge.tsx","../node_modules/@telegram-apps/telegram-ui/src/components/Typography/Headline/Headline.tsx","../node_modules/@telegram-apps/telegram-ui/src/components/Typography/LargeTitle/LargeTitle.tsx","../node_modules/@telegram-apps/telegram-ui/src/components/Typography/Title/Title.tsx","../node_modules/@telegram-apps/telegram-ui/src/components/Blocks/Avatar/components/AvatarAcronym/AvatarAcronym.tsx","../node_modules/@telegram-apps/telegram-ui/src/components/Blocks/Avatar/Avatar.tsx","../node_modules/@telegram-apps/telegram-ui/src/components/Blocks/Avatar/components/AvatarBadge/AvatarBadge.tsx","../node_modules/@telegram-apps/telegram-ui/src/components/Service/AppRoot/AppRootContext.ts","../node_modules/@telegram-apps/telegram-ui/src/hooks/useAppRootContext.ts","../node_modules/@telegram-apps/telegram-ui/src/hooks/usePlatform.ts","../node_modules/@telegram-apps/telegram-ui/src/components/Feedback/Spinner/components/BaseSpinner/BaseSpinner.tsx","../node_modules/@telegram-apps/telegram-ui/src/components/Feedback/Spinner/components/BaseSpinner/icons/small.tsx","../node_modules/@telegram-apps/telegram-ui/src/components/Feedback/Spinner/components/BaseSpinner/icons/medium.tsx","../node_modules/@telegram-apps/telegram-ui/src/components/Feedback/Spinner/components/BaseSpinner/icons/large.tsx","../node_modules/@telegram-apps/telegram-ui/src/components/Feedback/Spinner/components/IOSSpinner/icons/large.tsx","../node_modules/@telegram-apps/telegram-ui/src/components/Feedback/Spinner/components/IOSSpinner/icons/medium.tsx","../node_modules/@telegram-apps/telegram-ui/src/components/Feedback/Spinner/components/IOSSpinner/icons/small.tsx","../node_modules/@telegram-apps/telegram-ui/src/components/Feedback/Spinner/components/IOSSpinner/IOSSpinner.tsx","../node_modules/@telegram-apps/telegram-ui/src/components/Feedback/Spinner/Spinner.tsx","../node_modules/@telegram-apps/telegram-ui/src/helpers/dom.ts","../node_modules/@telegram-apps/telegram-ui/src/hooks/useEnhancedEffect.ts","../node_modules/@telegram-apps/telegram-ui/src/hooks/useTimeout.ts","../node_modules/@telegram-apps/telegram-ui/src/components/Service/Tappable/components/Ripple/hooks/useRipple.ts","../node_modules/@telegram-apps/telegram-ui/src/components/Service/Tappable/components/Ripple/Ripple.tsx","../node_modules/@telegram-apps/telegram-ui/src/components/Service/Tappable/Tappable.tsx","../node_modules/@telegram-apps/telegram-ui/src/components/Typography/Text/Text.tsx","../node_modules/@telegram-apps/telegram-ui/src/components/Blocks/Button/components/ButtonTypography/ButtonTypography.tsx","../node_modules/@telegram-apps/telegram-ui/src/components/Blocks/Button/Button.tsx","../node_modules/@telegram-apps/telegram-ui/src/components/Blocks/Cell/Cell.tsx","../node_modules/@telegram-apps/telegram-ui/src/components/Blocks/Cell/hooks/useTypographyCellComponents.tsx","../node_modules/@telegram-apps/telegram-ui/src/components/Blocks/Cell/components/ButtonCell/ButtonCell.tsx","../node_modules/@telegram-apps/telegram-ui/src/components/Blocks/Cell/components/Info/Info.tsx","../node_modules/@swc/helpers/esm/_extends.js","../node_modules/@swc/helpers/esm/_object_destructuring_empty.js","../node_modules/@telegram-apps/telegram-ui/src/icons/16/chevron.tsx","../node_modules/@telegram-apps/telegram-ui/src/components/Blocks/Cell/components/Navigation/Navigation.tsx","../node_modules/@telegram-apps/telegram-ui/src/helpers/object.ts","../node_modules/@telegram-apps/telegram-ui/src/helpers/equal.ts","../node_modules/@telegram-apps/telegram-ui/src/hooks/useObjectMemo.ts","../node_modules/@telegram-apps/telegram-ui/src/components/Blocks/InlineButtons/InlineButtonsContext.ts","../node_modules/@telegram-apps/telegram-ui/src/components/Blocks/InlineButtons/components/InlineButtonsItem/InlineButtonsItem.tsx","../node_modules/@telegram-apps/telegram-ui/src/components/Blocks/InlineButtons/InlineButtons.tsx","../node_modules/@telegram-apps/telegram-ui/src/components/Blocks/List/List.tsx","../node_modules/@telegram-apps/telegram-ui/src/components/Blocks/Placeholder/Placeholder.tsx","../node_modules/@telegram-apps/telegram-ui/src/components/Misc/Divider/Divider.tsx","../node_modules/@telegram-apps/telegram-ui/src/components/Blocks/Section/components/SectionFooter/SectionFooter.tsx","../node_modules/@telegram-apps/telegram-ui/src/components/Blocks/Section/components/SectionHeader/SectionHeader.tsx","../node_modules/@telegram-apps/telegram-ui/src/components/Blocks/Section/components/SectionHeader/hooks/useHeaderComponents.tsx","../node_modules/@telegram-apps/telegram-ui/src/components/Blocks/Section/Section.tsx","../node_modules/@telegram-apps/telegram-ui/src/components/Feedback/CircularProgress/helpers/getCircleAttributes.ts","../node_modules/@telegram-apps/telegram-ui/src/components/Feedback/CircularProgress/CircularProgress.tsx","../node_modules/@telegram-apps/telegram-ui/src/components/Service/RootRenderer/RootRenderer.tsx","../node_modules/@telegram-apps/telegram-ui/src/components/Feedback/Snackbar/Snackbar.tsx","../node_modules/@telegram-apps/telegram-ui/src/components/Feedback/Snackbar/components/SnackbarButton/SnackbarButton.tsx","../node_modules/@telegram-apps/telegram-ui/src/helpers/function.ts","../node_modules/@telegram-apps/telegram-ui/src/components/Form/FormInput/components/FormInputTitle.tsx","../node_modules/@telegram-apps/telegram-ui/src/components/Form/FormInput/FormInput.tsx","../node_modules/@telegram-apps/telegram-ui/src/components/Form/Input/Input.tsx","../node_modules/@telegram-apps/telegram-ui/src/components/Service/VisuallyHidden/VisuallyHidden.tsx","../node_modules/@telegram-apps/telegram-ui/src/components/Form/Multiselectable/icons/multiselectable.tsx","../node_modules/@telegram-apps/telegram-ui/src/components/Form/Multiselectable/icons/multiselectable_checked.tsx","../node_modules/@telegram-apps/telegram-ui/src/components/Form/Multiselectable/icons/multiselectable_ios.tsx","../node_modules/@telegram-apps/telegram-ui/src/components/Form/Multiselectable/icons/multiselectable_ios_checked.tsx","../node_modules/@telegram-apps/telegram-ui/src/components/Form/Multiselectable/Multiselectable.tsx","../node_modules/@telegram-apps/telegram-ui/src/components/Form/Radio/icons/radio.tsx","../node_modules/@telegram-apps/telegram-ui/src/components/Form/Radio/icons/radio_checked.tsx","../node_modules/@telegram-apps/telegram-ui/src/components/Form/Radio/Radio.tsx","../node_modules/@telegram-apps/telegram-ui/src/components/Form/Textarea/Textarea.tsx","../node_modules/@telegram-apps/telegram-ui/src/helpers/react/refs.ts","../node_modules/@telegram-apps/telegram-ui/src/helpers/telegram.ts","../node_modules/@telegram-apps/telegram-ui/src/components/Service/AppRoot/hooks/useAppearance.ts","../node_modules/@telegram-apps/telegram-ui/src/components/Service/AppRoot/hooks/helpers/getInitialAppearance.ts","../node_modules/@telegram-apps/telegram-ui/src/components/Service/AppRoot/hooks/helpers/getBrowserAppearanceSubscriber.ts","../node_modules/@telegram-apps/telegram-ui/src/components/Service/AppRoot/hooks/usePlatform.ts","../node_modules/@telegram-apps/telegram-ui/src/components/Service/AppRoot/hooks/helpers/getInitialPlatform.ts","../node_modules/@telegram-apps/telegram-ui/src/components/Service/AppRoot/AppRoot.tsx","../node_modules/@telegram-apps/telegram-ui/src/components/Service/AppRoot/hooks/usePortalContainer.ts","../node_modules/shared/src/utils.ts","../node_modules/lucide-react/src/defaultAttributes.ts","../node_modules/lucide-react/src/Icon.ts","../node_modules/lucide-react/src/createLucideIcon.ts","../node_modules/lucide-react/src/icons/pencil.ts","../node_modules/lucide-react/src/icons/link.ts","../node_modules/lucide-react/src/icons/sliders-horizontal.ts","../node_modules/lucide-react/src/icons/copy.ts","../node_modules/lucide-react/src/icons/folder-closed.ts","../node_modules/lucide-react/src/icons/crown.ts","components/Icon.js","../node_modules/lucide-react/src/icons/rss.ts","pages/FeedDetailsPage.js","services/FoldersService.js","../node_modules/lucide-react/src/icons/plus.ts","services/ReadersService.js","services/SubscriptionPlanService.js","UserProvider.js","components/plan-limits/index.js","pages/SelectFolderPage.js","../node_modules/lucide-react/src/icons/filter.ts","assets/img/animation.svg","pages/FolderDetailsPage.js","../node_modules/lucide-react/src/icons/x.ts","pages/FolderEditPage.js","../node_modules/lucide-react/src/icons/folder.ts","../node_modules/lucide-react/src/icons/list-filter.ts","../node_modules/lucide-react/src/icons/clock.ts","../node_modules/lucide-react/src/icons/megaphone-off.ts","components/pricing/BasicPlanBenefits.js","../node_modules/lucide-react/src/icons/highlighter.ts","components/pricing/ProPlanBenefits.js","components/link/index.js","pages/PricingPage.js","pages/FilterEditPage.js","pages/FeedEditPage.js","pages/FeedsPage.js","webpack://newskeeper.web/./src/components/icons/FeedIcon.module.css?d813","components/icons/FeedIcon.js","webpack://newskeeper.web/./src/components/icons/PlusIcon.module.css?9c80","components/icons/PlusIcon.js","webpack://newskeeper.web/./src/components/icons/PlusFileIcon.module.css?f904","components/icons/PlusFileIcon.js","webpack://newskeeper.web/./src/components/icons/QuestionIcon.module.css?0476","components/icons/QuestionIcon.js","webpack://newskeeper.web/./src/components/icons/MessageIcon.module.css?bac1","components/icons/MessageIcon.js","services/ChatService.js","../node_modules/lucide-react/src/icons/triangle-alert.ts","components/subscription-expired/index.js","components/onboarding-progress/index.js","pages/SettingsPage.js","pages/FolderCreatePage.js","../node_modules/lucide-react/src/icons/search.ts","pages/SelectFeedsPage.js","components/input/index.js","services/FeedsService.js","pages/DiscoverPage.js","pages/PreviewPage.js","utils/StartParam.js","Root.js","AppRoutes.js","components/Layout.js","App.js","serviceWorkerRegistration.js","reportWebVitals.js","../node_modules/@telegram-apps/analytics/lib/es/index.js","index.js"],"sourcesContent":["import { WebApp } from \"./sdk\";\n\nexport default WebApp;\n","import { FC, useEffect } from \"react\";\nimport { WebApp } from \"../../sdk\";\n\ninterface BackButtonProps {\n onClick?: VoidFunction;\n}\n\nconst backButton = WebApp.BackButton;\n\nlet isButtonShown = false;\n\nexport const BackButton: FC = ({\n onClick = () => {\n window.history.back();\n },\n}) => {\n useEffect(() => {\n backButton.show();\n isButtonShown = true;\n return () => {\n isButtonShown = false;\n // Мы ждем 10мс на случай, если на следующем экране тоже нужен BackButton.\n // Если через это время isButtonShown не стал true, значит следующему экрану кнопка не нужна и мы её прячем\n setTimeout(() => {\n if (!isButtonShown) {\n backButton.hide();\n }\n }, 10);\n };\n }, []);\n\n useEffect(() => {\n WebApp.onEvent(\"backButtonClicked\", onClick);\n return () => {\n WebApp.offEvent(\"backButtonClicked\", onClick);\n };\n }, [onClick]);\n\n return null;\n};\n","import { ReactNode, useEffect } from \"react\";\nimport { WebApp } from \"../../sdk\";\n\nconst defaultBottomBarColor =\n WebApp.themeParams.bottom_bar_bg_color ??\n WebApp.themeParams.secondary_bg_color;\n\nexport const BottomBar = ({\n bgColor = defaultBottomBarColor,\n children = null,\n}: {\n bgColor?: string;\n children?: ReactNode;\n}) => {\n useEffect(() => {\n WebApp.setBottomBarColor(bgColor);\n }, [bgColor]);\n\n useEffect(() => {\n return () => {\n WebApp.setBottomBarColor(defaultBottomBarColor);\n };\n }, []);\n\n return <>{children};\n};\n","import { FC } from \"react\";\nimport { BottomButtonProps, useBottomButton } from \"../bottomButton\";\n\nexport const MainButton: FC = ({\n disabled,\n color,\n textColor,\n text,\n onClick,\n progress,\n hasShineEffect,\n}) => {\n useBottomButton({\n type: \"main\",\n disabled,\n progress,\n textColor,\n text,\n onClick,\n color,\n hasShineEffect,\n });\n\n return null;\n};\n","import { FC, useEffect } from \"react\";\nimport { BottomButtonProps, useBottomButton } from \"../bottomButton\";\nimport { SecondaryButton as SecondaryButtonType } from \"@twa-dev/types\";\nimport { WebApp } from \"../../sdk\";\n\nconst secondaryButton = WebApp.SecondaryButton;\n\nexport const SecondaryButton: FC<\n BottomButtonProps & { position?: SecondaryButtonType[\"position\"] }\n> = ({\n disabled,\n color,\n textColor,\n text,\n onClick,\n progress,\n hasShineEffect,\n position = \"bottom\",\n}) => {\n useBottomButton({\n type: \"secondary\",\n disabled,\n progress,\n textColor,\n text,\n onClick,\n color,\n hasShineEffect,\n });\n\n useEffect(() => {\n secondaryButton.setParams({\n position,\n });\n }, [position]);\n\n return null;\n};\n","import { useEffect } from \"react\";\nimport { WebApp } from \"../sdk\";\n\nexport type BottomButtonProps = {\n disabled?: boolean;\n progress?: boolean;\n color?: string;\n textColor?: string;\n onClick?: VoidFunction;\n text: string;\n hasShineEffect?: boolean;\n};\n\nconst { bottom_bar_bg_color, button_color, button_text_color } =\n WebApp.themeParams;\n\ntype ButtonTypes = \"main\" | \"secondary\";\n\nconst defaultButtonColors: Record<\n ButtonTypes,\n Parameters[0]\n> = {\n main: {\n color: button_color,\n text_color: button_text_color,\n },\n secondary: {\n color: bottom_bar_bg_color,\n text_color: button_color,\n },\n};\n\nconst isButtonShown: Record = {\n main: false,\n secondary: false,\n};\n\nexport const useBottomButton = ({\n type,\n progress = false,\n disabled = false,\n color,\n textColor,\n text,\n onClick,\n hasShineEffect = false,\n}: {\n type: ButtonTypes;\n} & BottomButtonProps) => {\n const button = type === \"main\" ? WebApp.MainButton : WebApp.SecondaryButton;\n\n useEffect(() => {\n button.show();\n isButtonShown[type] = true;\n return () => {\n isButtonShown[type] = false;\n setTimeout(() => {\n if (!isButtonShown[type]) {\n button.hide();\n }\n }, 10);\n };\n }, [type]);\n\n useEffect(() => {\n if (progress) {\n button.showProgress();\n button.disable();\n } else {\n button.hideProgress();\n }\n\n if (disabled || progress) {\n button.disable();\n } else {\n button.enable();\n }\n\n return () => {\n button.hideProgress();\n button.enable();\n };\n }, [disabled, progress]);\n\n useEffect(() => {\n button.setParams({\n color: color ?? defaultButtonColors[type].color,\n text_color: textColor ?? defaultButtonColors[type].text_color,\n has_shine_effect: hasShineEffect,\n });\n }, [color, textColor, hasShineEffect]);\n\n useEffect(() => {\n button.setText(text);\n }, [text]);\n\n useEffect(() => {\n if (onClick) {\n button.onClick(onClick);\n return () => {\n button.offClick(onClick);\n };\n }\n }, [onClick]);\n};\n","export { MainButton } from \"./MainButton/MainButton\";\nexport { SecondaryButton } from \"./SecondaryButton/SecondaryButton\";\nexport { BottomBar } from \"./BottomBar/BottomBar\";\nexport { BackButton } from \"./BackButton/BackButton\";\n","import \"./telegram-web-apps\";\nimport { Telegram, WebApp as WebAppTypes } from \"@twa-dev/types\";\n\nconst telegramWindow = window as unknown as Window & { Telegram: Telegram };\n\nexport const WebApp: WebAppTypes = telegramWindow.Telegram.WebApp;\n","// WebView\n(function () {\n var eventHandlers = {};\n\n var locationHash = '';\n try {\n locationHash = location.hash.toString();\n } catch (e) {}\n\n var initParams = urlParseHashParams(locationHash);\n var storedParams = sessionStorageGet('initParams');\n if (storedParams) {\n for (var key in storedParams) {\n if (typeof initParams[key] === 'undefined') {\n initParams[key] = storedParams[key];\n }\n }\n }\n sessionStorageSet('initParams', initParams);\n\n var isIframe = false, iFrameStyle;\n try {\n isIframe = (window.parent != null && window != window.parent);\n if (isIframe) {\n window.addEventListener('message', function (event) {\n if (event.source !== window.parent) return;\n try {\n var dataParsed = JSON.parse(event.data);\n } catch (e) {\n return;\n }\n if (!dataParsed || !dataParsed.eventType) {\n return;\n }\n if (dataParsed.eventType == 'set_custom_style') {\n if (event.origin === 'https://web.telegram.org') {\n iFrameStyle.innerHTML = dataParsed.eventData;\n }\n } else if (dataParsed.eventType == 'reload_iframe') {\n try {\n window.parent.postMessage(JSON.stringify({eventType: 'iframe_will_reload'}), '*');\n } catch (e) {}\n location.reload();\n } else {\n receiveEvent(dataParsed.eventType, dataParsed.eventData);\n }\n });\n iFrameStyle = document.createElement('style');\n document.head.appendChild(iFrameStyle);\n try {\n window.parent.postMessage(JSON.stringify({eventType: 'iframe_ready', eventData: {reload_supported: true}}), '*');\n } catch (e) {}\n }\n } catch (e) {}\n\n function urlSafeDecode(urlencoded) {\n try {\n urlencoded = urlencoded.replace(/\\+/g, '%20');\n return decodeURIComponent(urlencoded);\n } catch (e) {\n return urlencoded;\n }\n }\n\n function urlParseHashParams(locationHash) {\n locationHash = locationHash.replace(/^#/, '');\n var params = {};\n if (!locationHash.length) {\n return params;\n }\n if (locationHash.indexOf('=') < 0 && locationHash.indexOf('?') < 0) {\n params._path = urlSafeDecode(locationHash);\n return params;\n }\n var qIndex = locationHash.indexOf('?');\n if (qIndex >= 0) {\n var pathParam = locationHash.substr(0, qIndex);\n params._path = urlSafeDecode(pathParam);\n locationHash = locationHash.substr(qIndex + 1);\n }\n var query_params = urlParseQueryString(locationHash);\n for (var k in query_params) {\n params[k] = query_params[k];\n }\n return params;\n }\n\n function urlParseQueryString(queryString) {\n var params = {};\n if (!queryString.length) {\n return params;\n }\n var queryStringParams = queryString.split('&');\n var i, param, paramName, paramValue;\n for (i = 0; i < queryStringParams.length; i++) {\n param = queryStringParams[i].split('=');\n paramName = urlSafeDecode(param[0]);\n paramValue = param[1] == null ? null : urlSafeDecode(param[1]);\n params[paramName] = paramValue;\n }\n return params;\n }\n\n // Telegram apps will implement this logic to add service params (e.g. tgShareScoreUrl) to game URL\n function urlAppendHashParams(url, addHash) {\n // url looks like 'https://game.com/path?query=1#hash'\n // addHash looks like 'tgShareScoreUrl=' + encodeURIComponent('tgb://share_game_score?hash=very_long_hash123')\n\n var ind = url.indexOf('#');\n if (ind < 0) {\n // https://game.com/path -> https://game.com/path#tgShareScoreUrl=etc\n return url + '#' + addHash;\n }\n var curHash = url.substr(ind + 1);\n if (curHash.indexOf('=') >= 0 || curHash.indexOf('?') >= 0) {\n // https://game.com/#hash=1 -> https://game.com/#hash=1&tgShareScoreUrl=etc\n // https://game.com/#path?query -> https://game.com/#path?query&tgShareScoreUrl=etc\n return url + '&' + addHash;\n }\n // https://game.com/#hash -> https://game.com/#hash?tgShareScoreUrl=etc\n if (curHash.length > 0) {\n return url + '?' + addHash;\n }\n // https://game.com/# -> https://game.com/#tgShareScoreUrl=etc\n return url + addHash;\n }\n\n function postEvent(eventType, callback, eventData) {\n if (!callback) {\n callback = function () {};\n }\n if (eventData === undefined) {\n eventData = '';\n }\n console.log('[Telegram.WebView] > postEvent', eventType, eventData);\n\n if (window.TelegramWebviewProxy !== undefined) {\n TelegramWebviewProxy.postEvent(eventType, JSON.stringify(eventData));\n callback();\n }\n else if (window.external && 'notify' in window.external) {\n window.external.notify(JSON.stringify({eventType: eventType, eventData: eventData}));\n callback();\n }\n else if (isIframe) {\n try {\n var trustedTarget = 'https://web.telegram.org';\n // For now we don't restrict target, for testing purposes\n trustedTarget = '*';\n window.parent.postMessage(JSON.stringify({eventType: eventType, eventData: eventData}), trustedTarget);\n callback();\n } catch (e) {\n callback(e);\n }\n }\n else {\n callback({notAvailable: true});\n }\n };\n\n function receiveEvent(eventType, eventData) {\n console.log('[Telegram.WebView] < receiveEvent', eventType, eventData);\n callEventCallbacks(eventType, function(callback) {\n callback(eventType, eventData);\n });\n }\n\n function callEventCallbacks(eventType, func) {\n var curEventHandlers = eventHandlers[eventType];\n if (curEventHandlers === undefined ||\n !curEventHandlers.length) {\n return;\n }\n for (var i = 0; i < curEventHandlers.length; i++) {\n try {\n func(curEventHandlers[i]);\n } catch (e) {}\n }\n }\n\n function onEvent(eventType, callback) {\n if (eventHandlers[eventType] === undefined) {\n eventHandlers[eventType] = [];\n }\n var index = eventHandlers[eventType].indexOf(callback);\n if (index === -1) {\n eventHandlers[eventType].push(callback);\n }\n };\n\n function offEvent(eventType, callback) {\n if (eventHandlers[eventType] === undefined) {\n return;\n }\n var index = eventHandlers[eventType].indexOf(callback);\n if (index === -1) {\n return;\n }\n eventHandlers[eventType].splice(index, 1);\n };\n\n function openProtoUrl(url) {\n if (!url.match(/^(web\\+)?tgb?:\\/\\/./)) {\n return false;\n }\n var useIframe = navigator.userAgent.match(/iOS|iPhone OS|iPhone|iPod|iPad/i) ? true : false;\n if (useIframe) {\n var iframeContEl = document.getElementById('tgme_frame_cont') || document.body;\n var iframeEl = document.createElement('iframe');\n iframeContEl.appendChild(iframeEl);\n var pageHidden = false;\n var enableHidden = function () {\n pageHidden = true;\n };\n window.addEventListener('pagehide', enableHidden, false);\n window.addEventListener('blur', enableHidden, false);\n if (iframeEl !== null) {\n iframeEl.src = url;\n }\n setTimeout(function() {\n if (!pageHidden) {\n window.location = url;\n }\n window.removeEventListener('pagehide', enableHidden, false);\n window.removeEventListener('blur', enableHidden, false);\n }, 2000);\n }\n else {\n window.location = url;\n }\n return true;\n }\n\n function sessionStorageSet(key, value) {\n try {\n window.sessionStorage.setItem('__telegram__' + key, JSON.stringify(value));\n return true;\n } catch(e) {}\n return false;\n }\n function sessionStorageGet(key) {\n try {\n return JSON.parse(window.sessionStorage.getItem('__telegram__' + key));\n } catch(e) {}\n return null;\n }\n\n if (!window.Telegram) {\n window.Telegram = {};\n }\n window.Telegram.WebView = {\n initParams: initParams,\n isIframe: isIframe,\n onEvent: onEvent,\n offEvent: offEvent,\n postEvent: postEvent,\n receiveEvent: receiveEvent,\n callEventCallbacks: callEventCallbacks\n };\n\n window.Telegram.Utils = {\n urlSafeDecode: urlSafeDecode,\n urlParseQueryString: urlParseQueryString,\n urlParseHashParams: urlParseHashParams,\n urlAppendHashParams: urlAppendHashParams,\n sessionStorageSet: sessionStorageSet,\n sessionStorageGet: sessionStorageGet\n };\n\n // For Windows Phone app\n window.TelegramGameProxy_receiveEvent = receiveEvent;\n\n // App backward compatibility\n window.TelegramGameProxy = {\n receiveEvent: receiveEvent\n };\n})();\n\n// WebApp\n(function () {\n var Utils = window.Telegram.Utils;\n var WebView = window.Telegram.WebView;\n var initParams = WebView.initParams;\n var isIframe = WebView.isIframe;\n\n var WebApp = {};\n var webAppInitData = '', webAppInitDataUnsafe = {};\n var themeParams = {}, colorScheme = 'light';\n var webAppVersion = '6.0';\n var webAppPlatform = 'unknown';\n var webAppIsActive = true;\n var webAppIsFullscreen = false;\n var webAppIsOrientationLocked = false;\n var webAppBackgroundColor = 'bg_color';\n var webAppHeaderColorKey = 'bg_color';\n var webAppHeaderColor = null;\n\n if (initParams.tgWebAppData && initParams.tgWebAppData.length) {\n webAppInitData = initParams.tgWebAppData;\n webAppInitDataUnsafe = Utils.urlParseQueryString(webAppInitData);\n for (var key in webAppInitDataUnsafe) {\n var val = webAppInitDataUnsafe[key];\n try {\n if (val.substr(0, 1) == '{' && val.substr(-1) == '}' ||\n val.substr(0, 1) == '[' && val.substr(-1) == ']') {\n webAppInitDataUnsafe[key] = JSON.parse(val);\n }\n } catch (e) {}\n }\n }\n var stored_theme_params = Utils.sessionStorageGet('themeParams');\n if (initParams.tgWebAppThemeParams && initParams.tgWebAppThemeParams.length) {\n var themeParamsRaw = initParams.tgWebAppThemeParams;\n try {\n var theme_params = JSON.parse(themeParamsRaw);\n if (theme_params) {\n setThemeParams(theme_params);\n }\n } catch (e) {}\n }\n if (stored_theme_params) {\n setThemeParams(stored_theme_params);\n }\n var stored_def_colors = Utils.sessionStorageGet('defaultColors');\n if (initParams.tgWebAppDefaultColors && initParams.tgWebAppDefaultColors.length) {\n var defColorsRaw = initParams.tgWebAppDefaultColors;\n try {\n var def_colors = JSON.parse(defColorsRaw);\n if (def_colors) {\n setDefaultColors(def_colors);\n }\n } catch (e) {}\n }\n if (stored_def_colors) {\n setDefaultColors(stored_def_colors);\n }\n if (initParams.tgWebAppVersion) {\n webAppVersion = initParams.tgWebAppVersion;\n }\n if (initParams.tgWebAppPlatform) {\n webAppPlatform = initParams.tgWebAppPlatform;\n }\n\n var stored_fullscreen = Utils.sessionStorageGet('isFullscreen');\n if (initParams.tgWebAppFullscreen) {\n setFullscreen(true);\n }\n if (stored_fullscreen) {\n setFullscreen(stored_fullscreen == 'yes');\n }\n\n var stored_orientation_lock = Utils.sessionStorageGet('isOrientationLocked');\n if (stored_orientation_lock) {\n setOrientationLock(stored_orientation_lock == 'yes');\n }\n\n function onThemeChanged(eventType, eventData) {\n if (eventData.theme_params) {\n setThemeParams(eventData.theme_params);\n window.Telegram.WebApp.MainButton.setParams({});\n window.Telegram.WebApp.SecondaryButton.setParams({});\n updateHeaderColor();\n updateBackgroundColor();\n updateBottomBarColor();\n receiveWebViewEvent('themeChanged');\n }\n }\n\n var lastWindowHeight = window.innerHeight;\n function onViewportChanged(eventType, eventData) {\n if (eventData.height) {\n window.removeEventListener('resize', onWindowResize);\n setViewportHeight(eventData);\n }\n }\n\n function onWindowResize(e) {\n if (lastWindowHeight != window.innerHeight) {\n lastWindowHeight = window.innerHeight;\n receiveWebViewEvent('viewportChanged', {\n isStateStable: true\n });\n }\n }\n\n function onSafeAreaChanged(eventType, eventData) {\n if (eventData) {\n setSafeAreaInset(eventData);\n }\n }\n function onContentSafeAreaChanged(eventType, eventData) {\n if (eventData) {\n setContentSafeAreaInset(eventData);\n }\n }\n\n function onVisibilityChanged(eventType, eventData) {\n if (eventData.is_visible) {\n webAppIsActive = true;\n receiveWebViewEvent('activated');\n } else {\n webAppIsActive = false;\n receiveWebViewEvent('deactivated');\n }\n }\n\n function linkHandler(e) {\n if (e.metaKey || e.ctrlKey) return;\n var el = e.target;\n while (el.tagName != 'A' && el.parentNode) {\n el = el.parentNode;\n }\n if (el.tagName == 'A' &&\n el.target != '_blank' &&\n (el.protocol == 'http:' || el.protocol == 'https:') &&\n el.hostname == 't.me') {\n WebApp.openTgLink(el.href);\n e.preventDefault();\n }\n }\n\n function strTrim(str) {\n return str.toString().replace(/^\\s+|\\s+$/g, '');\n }\n\n function receiveWebViewEvent(eventType) {\n var args = Array.prototype.slice.call(arguments);\n eventType = args.shift();\n WebView.callEventCallbacks('webview:' + eventType, function(callback) {\n callback.apply(WebApp, args);\n });\n }\n\n function onWebViewEvent(eventType, callback) {\n WebView.onEvent('webview:' + eventType, callback);\n };\n\n function offWebViewEvent(eventType, callback) {\n WebView.offEvent('webview:' + eventType, callback);\n };\n\n function setCssProperty(name, value) {\n var root = document.documentElement;\n if (root && root.style && root.style.setProperty) {\n root.style.setProperty('--tg-' + name, value);\n }\n }\n\n function setFullscreen(is_fullscreen) {\n webAppIsFullscreen = !!is_fullscreen;\n Utils.sessionStorageSet('isFullscreen', webAppIsFullscreen ? 'yes' : 'no');\n }\n\n function setOrientationLock(is_locked) {\n webAppIsOrientationLocked = !!is_locked;\n Utils.sessionStorageSet('isOrientationLocked', webAppIsOrientationLocked ? 'yes' : 'no');\n }\n\n function setThemeParams(theme_params) {\n // temp iOS fix\n if (theme_params.bg_color == '#1c1c1d' &&\n theme_params.bg_color == theme_params.secondary_bg_color) {\n theme_params.secondary_bg_color = '#2c2c2e';\n }\n var color;\n for (var key in theme_params) {\n if (color = parseColorToHex(theme_params[key])) {\n themeParams[key] = color;\n if (key == 'bg_color') {\n colorScheme = isColorDark(color) ? 'dark' : 'light'\n setCssProperty('color-scheme', colorScheme);\n }\n key = 'theme-' + key.split('_').join('-');\n setCssProperty(key, color);\n }\n }\n Utils.sessionStorageSet('themeParams', themeParams);\n }\n\n function setDefaultColors(def_colors) {\n if (colorScheme == 'dark') {\n if (def_colors.bg_dark_color) {\n webAppBackgroundColor = def_colors.bg_dark_color;\n }\n if (def_colors.header_dark_color) {\n webAppHeaderColorKey = null;\n webAppHeaderColor = def_colors.header_dark_color;\n }\n } else {\n if (def_colors.bg_color) {\n webAppBackgroundColor = def_colors.bg_color;\n }\n if (def_colors.header_color) {\n webAppHeaderColorKey = null;\n webAppHeaderColor = def_colors.header_color;\n }\n }\n Utils.sessionStorageSet('defaultColors', def_colors);\n }\n\n var webAppCallbacks = {};\n function generateCallbackId(len) {\n var tries = 100;\n while (--tries) {\n var id = '', chars = 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789', chars_len = chars.length;\n for (var i = 0; i < len; i++) {\n id += chars[Math.floor(Math.random() * chars_len)];\n }\n if (!webAppCallbacks[id]) {\n webAppCallbacks[id] = {};\n return id;\n }\n }\n throw Error('WebAppCallbackIdGenerateFailed');\n }\n\n var viewportHeight = false, viewportStableHeight = false, isExpanded = true;\n function setViewportHeight(data) {\n if (typeof data !== 'undefined') {\n isExpanded = !!data.is_expanded;\n viewportHeight = data.height;\n if (data.is_state_stable) {\n viewportStableHeight = data.height;\n }\n receiveWebViewEvent('viewportChanged', {\n isStateStable: !!data.is_state_stable\n });\n }\n var height, stable_height;\n if (viewportHeight !== false) {\n height = (viewportHeight - bottomBarHeight) + 'px';\n } else {\n height = bottomBarHeight ? 'calc(100vh - ' + bottomBarHeight + 'px)' : '100vh';\n }\n if (viewportStableHeight !== false) {\n stable_height = (viewportStableHeight - bottomBarHeight) + 'px';\n } else {\n stable_height = bottomBarHeight ? 'calc(100vh - ' + bottomBarHeight + 'px)' : '100vh';\n }\n setCssProperty('viewport-height', height);\n setCssProperty('viewport-stable-height', stable_height);\n }\n\n var safeAreaInset = {top: 0, bottom: 0, left: 0, right: 0};\n function setSafeAreaInset(data) {\n if (typeof data !== 'undefined') {\n if (typeof data.top !== 'undefined') {\n safeAreaInset.top = data.top;\n }\n if (typeof data.bottom !== 'undefined') {\n safeAreaInset.bottom = data.bottom;\n }\n if (typeof data.left !== 'undefined') {\n safeAreaInset.left = data.left;\n }\n if (typeof data.right !== 'undefined') {\n safeAreaInset.right = data.right;\n }\n receiveWebViewEvent('safeAreaChanged');\n }\n setCssProperty('safe-area-inset-top', safeAreaInset.top + 'px');\n setCssProperty('safe-area-inset-bottom', safeAreaInset.bottom + 'px');\n setCssProperty('safe-area-inset-left', safeAreaInset.left + 'px');\n setCssProperty('safe-area-inset-right', safeAreaInset.right + 'px');\n }\n\n var contentSafeAreaInset = {top: 0, bottom: 0, left: 0, right: 0};\n function setContentSafeAreaInset(data) {\n if (typeof data !== 'undefined') {\n if (typeof data.top !== 'undefined') {\n contentSafeAreaInset.top = data.top;\n }\n if (typeof data.bottom !== 'undefined') {\n contentSafeAreaInset.bottom = data.bottom;\n }\n if (typeof data.left !== 'undefined') {\n contentSafeAreaInset.left = data.left;\n }\n if (typeof data.right !== 'undefined') {\n contentSafeAreaInset.right = data.right;\n }\n receiveWebViewEvent('contentSafeAreaChanged');\n }\n setCssProperty('content-safe-area-inset-top', contentSafeAreaInset.top + 'px');\n setCssProperty('content-safe-area-inset-bottom', contentSafeAreaInset.bottom + 'px');\n setCssProperty('content-safe-area-inset-left', contentSafeAreaInset.left + 'px');\n setCssProperty('content-safe-area-inset-right', contentSafeAreaInset.right + 'px');\n }\n\n var isClosingConfirmationEnabled = false;\n function setClosingConfirmation(need_confirmation) {\n if (!versionAtLeast('6.2')) {\n console.warn('[Telegram.WebApp] Closing confirmation is not supported in version ' + webAppVersion);\n return;\n }\n isClosingConfirmationEnabled = !!need_confirmation;\n WebView.postEvent('web_app_setup_closing_behavior', false, {need_confirmation: isClosingConfirmationEnabled});\n }\n\n var isVerticalSwipesEnabled = true;\n function toggleVerticalSwipes(enable_swipes) {\n if (!versionAtLeast('7.7')) {\n console.warn('[Telegram.WebApp] Changing swipes behavior is not supported in version ' + webAppVersion);\n return;\n }\n isVerticalSwipesEnabled = !!enable_swipes;\n WebView.postEvent('web_app_setup_swipe_behavior', false, {allow_vertical_swipe: isVerticalSwipesEnabled});\n }\n\n function onFullscreenChanged(eventType, eventData) {\n setFullscreen(eventData.is_fullscreen);\n receiveWebViewEvent('fullscreenChanged');\n }\n function onFullscreenFailed(eventType, eventData) {\n if (eventData.error == 'ALREADY_FULLSCREEN' && !webAppIsFullscreen) {\n setFullscreen(true);\n }\n receiveWebViewEvent('fullscreenFailed', {\n error: eventData.error\n });\n }\n\n function toggleOrientationLock(locked) {\n if (!versionAtLeast('8.0')) {\n console.warn('[Telegram.WebApp] Orientation locking is not supported in version ' + webAppVersion);\n return;\n }\n setOrientationLock(locked);\n WebView.postEvent('web_app_toggle_orientation_lock', false, {locked: webAppIsOrientationLocked});\n }\n\n var homeScreenCallbacks = [];\n function onHomeScreenAdded(eventType, eventData) {\n receiveWebViewEvent('homeScreenAdded');\n }\n function onHomeScreenChecked(eventType, eventData) {\n var status = eventData.status || 'unknown';\n if (homeScreenCallbacks.length > 0) {\n for (var i = 0; i < homeScreenCallbacks.length; i++) {\n var callback = homeScreenCallbacks[i];\n callback(status);\n }\n homeScreenCallbacks = [];\n }\n receiveWebViewEvent('homeScreenChecked', {\n status: status\n });\n }\n\n var WebAppShareMessageOpened = false;\n function onPreparedMessageSent(eventType, eventData) {\n if (WebAppShareMessageOpened) {\n var requestData = WebAppShareMessageOpened;\n WebAppShareMessageOpened = false;\n if (requestData.callback) {\n requestData.callback(true);\n }\n receiveWebViewEvent('shareMessageSent');\n }\n }\n function onPreparedMessageFailed(eventType, eventData) {\n if (WebAppShareMessageOpened) {\n var requestData = WebAppShareMessageOpened;\n WebAppShareMessageOpened = false;\n if (requestData.callback) {\n requestData.callback(false);\n }\n receiveWebViewEvent('shareMessageFailed', {\n error: eventData.error\n });\n }\n }\n\n var WebAppEmojiStatusRequested = false;\n function onEmojiStatusSet(eventType, eventData) {\n if (WebAppEmojiStatusRequested) {\n var requestData = WebAppEmojiStatusRequested;\n WebAppEmojiStatusRequested = false;\n if (requestData.callback) {\n requestData.callback(true);\n }\n receiveWebViewEvent('emojiStatusSet');\n }\n }\n function onEmojiStatusFailed(eventType, eventData) {\n if (WebAppEmojiStatusRequested) {\n var requestData = WebAppEmojiStatusRequested;\n WebAppEmojiStatusRequested = false;\n if (requestData.callback) {\n requestData.callback(false);\n }\n receiveWebViewEvent('emojiStatusFailed', {\n error: eventData.error\n });\n }\n }\n var WebAppEmojiStatusAccessRequested = false;\n function onEmojiStatusAccessRequested(eventType, eventData) {\n if (WebAppEmojiStatusAccessRequested) {\n var requestData = WebAppEmojiStatusAccessRequested;\n WebAppEmojiStatusAccessRequested = false;\n if (requestData.callback) {\n requestData.callback(eventData.status == 'allowed');\n }\n receiveWebViewEvent('emojiStatusAccessRequested', {\n status: eventData.status\n });\n }\n }\n\n var webAppPopupOpened = false;\n function onPopupClosed(eventType, eventData) {\n if (webAppPopupOpened) {\n var popupData = webAppPopupOpened;\n webAppPopupOpened = false;\n var button_id = null;\n if (typeof eventData.button_id !== 'undefined') {\n button_id = eventData.button_id;\n }\n if (popupData.callback) {\n popupData.callback(button_id);\n }\n receiveWebViewEvent('popupClosed', {\n button_id: button_id\n });\n }\n }\n\n\n function getHeaderColor() {\n if (webAppHeaderColorKey == 'secondary_bg_color') {\n return themeParams.secondary_bg_color;\n } else if (webAppHeaderColorKey == 'bg_color') {\n return themeParams.bg_color;\n }\n return webAppHeaderColor;\n }\n function setHeaderColor(color) {\n if (!versionAtLeast('6.1')) {\n console.warn('[Telegram.WebApp] Header color is not supported in version ' + webAppVersion);\n return;\n }\n if (!versionAtLeast('6.9')) {\n if (themeParams.bg_color &&\n themeParams.bg_color == color) {\n color = 'bg_color';\n } else if (themeParams.secondary_bg_color &&\n themeParams.secondary_bg_color == color) {\n color = 'secondary_bg_color';\n }\n }\n var head_color = null, color_key = null;\n if (color == 'bg_color' || color == 'secondary_bg_color') {\n color_key = color;\n } else if (versionAtLeast('6.9')) {\n head_color = parseColorToHex(color);\n if (!head_color) {\n console.error('[Telegram.WebApp] Header color format is invalid', color);\n throw Error('WebAppHeaderColorInvalid');\n }\n }\n if (!versionAtLeast('6.9') &&\n color_key != 'bg_color' &&\n color_key != 'secondary_bg_color') {\n console.error('[Telegram.WebApp] Header color key should be one of Telegram.WebApp.themeParams.bg_color, Telegram.WebApp.themeParams.secondary_bg_color, \\'bg_color\\', \\'secondary_bg_color\\'', color);\n throw Error('WebAppHeaderColorKeyInvalid');\n }\n webAppHeaderColorKey = color_key;\n webAppHeaderColor = head_color;\n updateHeaderColor();\n }\n var appHeaderColorKey = null, appHeaderColor = null;\n function updateHeaderColor() {\n if (appHeaderColorKey != webAppHeaderColorKey ||\n appHeaderColor != webAppHeaderColor) {\n appHeaderColorKey = webAppHeaderColorKey;\n appHeaderColor = webAppHeaderColor;\n if (appHeaderColor) {\n WebView.postEvent('web_app_set_header_color', false, {color: webAppHeaderColor});\n } else {\n WebView.postEvent('web_app_set_header_color', false, {color_key: webAppHeaderColorKey});\n }\n }\n }\n\n function getBackgroundColor() {\n if (webAppBackgroundColor == 'secondary_bg_color') {\n return themeParams.secondary_bg_color;\n } else if (webAppBackgroundColor == 'bg_color') {\n return themeParams.bg_color;\n }\n return webAppBackgroundColor;\n }\n function setBackgroundColor(color) {\n if (!versionAtLeast('6.1')) {\n console.warn('[Telegram.WebApp] Background color is not supported in version ' + webAppVersion);\n return;\n }\n var bg_color;\n if (color == 'bg_color' || color == 'secondary_bg_color') {\n bg_color = color;\n } else {\n bg_color = parseColorToHex(color);\n if (!bg_color) {\n console.error('[Telegram.WebApp] Background color format is invalid', color);\n throw Error('WebAppBackgroundColorInvalid');\n }\n }\n webAppBackgroundColor = bg_color;\n updateBackgroundColor();\n }\n var appBackgroundColor = null;\n function updateBackgroundColor() {\n var color = getBackgroundColor();\n if (appBackgroundColor != color) {\n appBackgroundColor = color;\n WebView.postEvent('web_app_set_background_color', false, {color: color});\n }\n }\n\n var bottomBarColor = 'bottom_bar_bg_color';\n function getBottomBarColor() {\n if (bottomBarColor == 'bottom_bar_bg_color') {\n return themeParams.bottom_bar_bg_color || themeParams.secondary_bg_color || '#ffffff';\n } else if (bottomBarColor == 'secondary_bg_color') {\n return themeParams.secondary_bg_color;\n } else if (bottomBarColor == 'bg_color') {\n return themeParams.bg_color;\n }\n return bottomBarColor;\n }\n function setBottomBarColor(color) {\n if (!versionAtLeast('7.10')) {\n console.warn('[Telegram.WebApp] Bottom bar color is not supported in version ' + webAppVersion);\n return;\n }\n var bg_color;\n if (color == 'bg_color' || color == 'secondary_bg_color' || color == 'bottom_bar_bg_color') {\n bg_color = color;\n } else {\n bg_color = parseColorToHex(color);\n if (!bg_color) {\n console.error('[Telegram.WebApp] Bottom bar color format is invalid', color);\n throw Error('WebAppBottomBarColorInvalid');\n }\n }\n bottomBarColor = bg_color;\n updateBottomBarColor();\n window.Telegram.WebApp.SecondaryButton.setParams({});\n }\n var appBottomBarColor = null;\n function updateBottomBarColor() {\n var color = getBottomBarColor();\n if (appBottomBarColor != color) {\n appBottomBarColor = color;\n WebView.postEvent('web_app_set_bottom_bar_color', false, {color: color});\n }\n if (initParams.tgWebAppDebug) {\n updateDebugBottomBar();\n }\n }\n\n\n function parseColorToHex(color) {\n color += '';\n var match;\n if (match = /^\\s*#([0-9a-f]{6})\\s*$/i.exec(color)) {\n return '#' + match[1].toLowerCase();\n }\n else if (match = /^\\s*#([0-9a-f])([0-9a-f])([0-9a-f])\\s*$/i.exec(color)) {\n return ('#' + match[1] + match[1] + match[2] + match[2] + match[3] + match[3]).toLowerCase();\n }\n else if (match = /^\\s*rgba?\\((\\d+),\\s*(\\d+),\\s*(\\d+)(?:,\\s*(\\d+\\.{0,1}\\d*))?\\)\\s*$/.exec(color)) {\n var r = parseInt(match[1]), g = parseInt(match[2]), b = parseInt(match[3]);\n r = (r < 16 ? '0' : '') + r.toString(16);\n g = (g < 16 ? '0' : '') + g.toString(16);\n b = (b < 16 ? '0' : '') + b.toString(16);\n return '#' + r + g + b;\n }\n return false;\n }\n\n function isColorDark(rgb) {\n rgb = rgb.replace(/[\\s#]/g, '');\n if (rgb.length == 3) {\n rgb = rgb[0] + rgb[0] + rgb[1] + rgb[1] + rgb[2] + rgb[2];\n }\n var r = parseInt(rgb.substr(0, 2), 16);\n var g = parseInt(rgb.substr(2, 2), 16);\n var b = parseInt(rgb.substr(4, 2), 16);\n var hsp = Math.sqrt(0.299 * (r * r) + 0.587 * (g * g) + 0.114 * (b * b));\n return hsp < 120;\n }\n\n function versionCompare(v1, v2) {\n if (typeof v1 !== 'string') v1 = '';\n if (typeof v2 !== 'string') v2 = '';\n v1 = v1.replace(/^\\s+|\\s+$/g, '').split('.');\n v2 = v2.replace(/^\\s+|\\s+$/g, '').split('.');\n var a = Math.max(v1.length, v2.length), i, p1, p2;\n for (i = 0; i < a; i++) {\n p1 = parseInt(v1[i]) || 0;\n p2 = parseInt(v2[i]) || 0;\n if (p1 == p2) continue;\n if (p1 > p2) return 1;\n return -1;\n }\n return 0;\n }\n\n function versionAtLeast(ver) {\n return versionCompare(webAppVersion, ver) >= 0;\n }\n\n function byteLength(str) {\n if (window.Blob) {\n try { return new Blob([str]).size; } catch (e) {}\n }\n var s = str.length;\n for (var i=str.length-1; i>=0; i--) {\n var code = str.charCodeAt(i);\n if (code > 0x7f && code <= 0x7ff) s++;\n else if (code > 0x7ff && code <= 0xffff) s+=2;\n if (code >= 0xdc00 && code <= 0xdfff) i--;\n }\n return s;\n }\n\n var BackButton = (function() {\n var isVisible = false;\n\n var backButton = {};\n Object.defineProperty(backButton, 'isVisible', {\n set: function(val){ setParams({is_visible: val}); },\n get: function(){ return isVisible; },\n enumerable: true\n });\n\n var curButtonState = null;\n\n WebView.onEvent('back_button_pressed', onBackButtonPressed);\n\n function onBackButtonPressed() {\n receiveWebViewEvent('backButtonClicked');\n }\n\n function buttonParams() {\n return {is_visible: isVisible};\n }\n\n function buttonState(btn_params) {\n if (typeof btn_params === 'undefined') {\n btn_params = buttonParams();\n }\n return JSON.stringify(btn_params);\n }\n\n function buttonCheckVersion() {\n if (!versionAtLeast('6.1')) {\n console.warn('[Telegram.WebApp] BackButton is not supported in version ' + webAppVersion);\n return false;\n }\n return true;\n }\n\n function updateButton() {\n var btn_params = buttonParams();\n var btn_state = buttonState(btn_params);\n if (curButtonState === btn_state) {\n return;\n }\n curButtonState = btn_state;\n WebView.postEvent('web_app_setup_back_button', false, btn_params);\n }\n\n function setParams(params) {\n if (!buttonCheckVersion()) {\n return backButton;\n }\n if (typeof params.is_visible !== 'undefined') {\n isVisible = !!params.is_visible;\n }\n updateButton();\n return backButton;\n }\n\n backButton.onClick = function(callback) {\n if (buttonCheckVersion()) {\n onWebViewEvent('backButtonClicked', callback);\n }\n return backButton;\n };\n backButton.offClick = function(callback) {\n if (buttonCheckVersion()) {\n offWebViewEvent('backButtonClicked', callback);\n }\n return backButton;\n };\n backButton.show = function() {\n return setParams({is_visible: true});\n };\n backButton.hide = function() {\n return setParams({is_visible: false});\n };\n return backButton;\n })();\n\n var debugBottomBar = null, debugBottomBarBtns = {}, bottomBarHeight = 0;\n if (initParams.tgWebAppDebug) {\n debugBottomBar = document.createElement('tg-bottom-bar');\n var debugBottomBarStyle = {\n display: 'flex',\n gap: '7px',\n font: '600 14px/18px sans-serif',\n width: '100%',\n background: getBottomBarColor(),\n position: 'fixed',\n left: '0',\n right: '0',\n bottom: '0',\n margin: '0',\n padding: '7px',\n textAlign: 'center',\n boxSizing: 'border-box',\n zIndex: '10000'\n };\n for (var k in debugBottomBarStyle) {\n debugBottomBar.style[k] = debugBottomBarStyle[k];\n }\n document.addEventListener('DOMContentLoaded', function onDomLoaded(event) {\n document.removeEventListener('DOMContentLoaded', onDomLoaded);\n document.body.appendChild(debugBottomBar);\n });\n var animStyle = document.createElement('style');\n animStyle.innerHTML = 'tg-bottom-button.shine { position: relative; overflow: hidden; } tg-bottom-button.shine:before { content:\"\"; position: absolute; top: 0; width: 100%; height: 100%; background: linear-gradient(120deg, transparent, rgba(255, 255, 255, .2), transparent); animation: tg-bottom-button-shine 5s ease-in-out infinite; } @-webkit-keyframes tg-bottom-button-shine { 0% {left: -100%;} 12%,100% {left: 100%}} @keyframes tg-bottom-button-shine { 0% {left: -100%;} 12%,100% {left: 100%}}';\n debugBottomBar.appendChild(animStyle);\n }\n function updateDebugBottomBar() {\n var mainBtn = debugBottomBarBtns.main._bottomButton;\n var secondaryBtn = debugBottomBarBtns.secondary._bottomButton;\n if (mainBtn.isVisible || secondaryBtn.isVisible) {\n debugBottomBar.style.display = 'flex';\n bottomBarHeight = 58;\n if (mainBtn.isVisible && secondaryBtn.isVisible) {\n if (secondaryBtn.position == 'top') {\n debugBottomBar.style.flexDirection = 'column-reverse';\n bottomBarHeight += 51;\n } else if (secondaryBtn.position == 'bottom') {\n debugBottomBar.style.flexDirection = 'column';\n bottomBarHeight += 51;\n } else if (secondaryBtn.position == 'left') {\n debugBottomBar.style.flexDirection = 'row-reverse';\n } else if (secondaryBtn.position == 'right') {\n debugBottomBar.style.flexDirection = 'row';\n }\n }\n } else {\n debugBottomBar.style.display = 'none';\n bottomBarHeight = 0;\n }\n debugBottomBar.style.background = getBottomBarColor();\n if (document.documentElement) {\n document.documentElement.style.boxSizing = 'border-box';\n document.documentElement.style.paddingBottom = bottomBarHeight + 'px';\n }\n setViewportHeight();\n }\n\n\n var BottomButtonConstructor = function(type) {\n var isMainButton = (type == 'main');\n if (isMainButton) {\n var setupFnName = 'web_app_setup_main_button';\n var tgEventName = 'main_button_pressed';\n var webViewEventName = 'mainButtonClicked';\n var buttonTextDefault = 'Continue';\n var buttonColorDefault = function(){ return themeParams.button_color || '#2481cc'; };\n var buttonTextColorDefault = function(){ return themeParams.button_text_color || '#ffffff'; };\n } else {\n var setupFnName = 'web_app_setup_secondary_button';\n var tgEventName = 'secondary_button_pressed';\n var webViewEventName = 'secondaryButtonClicked';\n var buttonTextDefault = 'Cancel';\n var buttonColorDefault = function(){ return getBottomBarColor(); };\n var buttonTextColorDefault = function(){ return themeParams.button_color || '#2481cc'; };\n }\n\n var isVisible = false;\n var isActive = true;\n var hasShineEffect = false;\n var isProgressVisible = false;\n var buttonType = type;\n var buttonText = buttonTextDefault;\n var buttonColor = false;\n var buttonTextColor = false;\n var buttonPosition = 'left';\n\n var bottomButton = {};\n Object.defineProperty(bottomButton, 'type', {\n get: function(){ return buttonType; },\n enumerable: true\n });\n Object.defineProperty(bottomButton, 'text', {\n set: function(val){ bottomButton.setParams({text: val}); },\n get: function(){ return buttonText; },\n enumerable: true\n });\n Object.defineProperty(bottomButton, 'color', {\n set: function(val){ bottomButton.setParams({color: val}); },\n get: function(){ return buttonColor || buttonColorDefault(); },\n enumerable: true\n });\n Object.defineProperty(bottomButton, 'textColor', {\n set: function(val){ bottomButton.setParams({text_color: val}); },\n get: function(){ return buttonTextColor || buttonTextColorDefault(); },\n enumerable: true\n });\n Object.defineProperty(bottomButton, 'isVisible', {\n set: function(val){ bottomButton.setParams({is_visible: val}); },\n get: function(){ return isVisible; },\n enumerable: true\n });\n Object.defineProperty(bottomButton, 'isProgressVisible', {\n get: function(){ return isProgressVisible; },\n enumerable: true\n });\n Object.defineProperty(bottomButton, 'isActive', {\n set: function(val){ bottomButton.setParams({is_active: val}); },\n get: function(){ return isActive; },\n enumerable: true\n });\n Object.defineProperty(bottomButton, 'hasShineEffect', {\n set: function(val){ bottomButton.setParams({has_shine_effect: val}); },\n get: function(){ return hasShineEffect; },\n enumerable: true\n });\n if (!isMainButton) {\n Object.defineProperty(bottomButton, 'position', {\n set: function(val){ bottomButton.setParams({position: val}); },\n get: function(){ return buttonPosition; },\n enumerable: true\n });\n }\n\n var curButtonState = null;\n\n WebView.onEvent(tgEventName, onBottomButtonPressed);\n\n var debugBtn = null;\n if (initParams.tgWebAppDebug) {\n debugBtn = document.createElement('tg-bottom-button');\n var debugBtnStyle = {\n display: 'none',\n width: '100%',\n height: '44px',\n borderRadius: '0',\n background: 'no-repeat right center',\n padding: '13px 15px',\n textAlign: 'center',\n boxSizing: 'border-box'\n };\n for (var k in debugBtnStyle) {\n debugBtn.style[k] = debugBtnStyle[k];\n }\n debugBottomBar.appendChild(debugBtn);\n debugBtn.addEventListener('click', onBottomButtonPressed, false);\n debugBtn._bottomButton = bottomButton;\n debugBottomBarBtns[type] = debugBtn;\n }\n\n function onBottomButtonPressed() {\n if (isActive) {\n receiveWebViewEvent(webViewEventName);\n }\n }\n\n function buttonParams() {\n var color = bottomButton.color;\n var text_color = bottomButton.textColor;\n if (isVisible) {\n var params = {\n is_visible: true,\n is_active: isActive,\n is_progress_visible: isProgressVisible,\n text: buttonText,\n color: color,\n text_color: text_color,\n has_shine_effect: hasShineEffect && isActive && !isProgressVisible\n };\n if (!isMainButton) {\n params.position = buttonPosition;\n }\n } else {\n var params = {\n is_visible: false\n };\n }\n return params;\n }\n\n function buttonState(btn_params) {\n if (typeof btn_params === 'undefined') {\n btn_params = buttonParams();\n }\n return JSON.stringify(btn_params);\n }\n\n function updateButton() {\n var btn_params = buttonParams();\n var btn_state = buttonState(btn_params);\n if (curButtonState === btn_state) {\n return;\n }\n curButtonState = btn_state;\n WebView.postEvent(setupFnName, false, btn_params);\n if (initParams.tgWebAppDebug) {\n updateDebugButton(btn_params);\n }\n }\n\n function updateDebugButton(btn_params) {\n if (btn_params.is_visible) {\n debugBtn.style.display = 'block';\n\n debugBtn.style.opacity = btn_params.is_active ? '1' : '0.8';\n debugBtn.style.cursor = btn_params.is_active ? 'pointer' : 'auto';\n debugBtn.disabled = !btn_params.is_active;\n debugBtn.innerText = btn_params.text;\n debugBtn.className = btn_params.has_shine_effect ? 'shine' : '';\n debugBtn.style.backgroundImage = btn_params.is_progress_visible ? \"url('data:image/svg+xml,\" + encodeURIComponent('') + \"')\" : 'none';\n debugBtn.style.backgroundColor = btn_params.color;\n debugBtn.style.color = btn_params.text_color;\n } else {\n debugBtn.style.display = 'none';\n }\n updateDebugBottomBar();\n }\n\n function setParams(params) {\n if (typeof params.text !== 'undefined') {\n var text = strTrim(params.text);\n if (!text.length) {\n console.error('[Telegram.WebApp] Bottom button text is required', params.text);\n throw Error('WebAppBottomButtonParamInvalid');\n }\n if (text.length > 64) {\n console.error('[Telegram.WebApp] Bottom button text is too long', text);\n throw Error('WebAppBottomButtonParamInvalid');\n }\n buttonText = text;\n }\n if (typeof params.color !== 'undefined') {\n if (params.color === false ||\n params.color === null) {\n buttonColor = false;\n } else {\n var color = parseColorToHex(params.color);\n if (!color) {\n console.error('[Telegram.WebApp] Bottom button color format is invalid', params.color);\n throw Error('WebAppBottomButtonParamInvalid');\n }\n buttonColor = color;\n }\n }\n if (typeof params.text_color !== 'undefined') {\n if (params.text_color === false ||\n params.text_color === null) {\n buttonTextColor = false;\n } else {\n var text_color = parseColorToHex(params.text_color);\n if (!text_color) {\n console.error('[Telegram.WebApp] Bottom button text color format is invalid', params.text_color);\n throw Error('WebAppBottomButtonParamInvalid');\n }\n buttonTextColor = text_color;\n }\n }\n if (typeof params.is_visible !== 'undefined') {\n if (params.is_visible &&\n !bottomButton.text.length) {\n console.error('[Telegram.WebApp] Bottom button text is required');\n throw Error('WebAppBottomButtonParamInvalid');\n }\n isVisible = !!params.is_visible;\n }\n if (typeof params.has_shine_effect !== 'undefined') {\n hasShineEffect = !!params.has_shine_effect;\n }\n if (!isMainButton && typeof params.position !== 'undefined') {\n if (params.position != 'left' && params.position != 'right' &&\n params.position != 'top' && params.position != 'bottom') {\n console.error('[Telegram.WebApp] Bottom button posiition is invalid', params.position);\n throw Error('WebAppBottomButtonParamInvalid');\n }\n buttonPosition = params.position;\n }\n if (typeof params.is_active !== 'undefined') {\n isActive = !!params.is_active;\n }\n updateButton();\n return bottomButton;\n }\n\n bottomButton.setText = function(text) {\n return bottomButton.setParams({text: text});\n };\n bottomButton.onClick = function(callback) {\n onWebViewEvent(webViewEventName, callback);\n return bottomButton;\n };\n bottomButton.offClick = function(callback) {\n offWebViewEvent(webViewEventName, callback);\n return bottomButton;\n };\n bottomButton.show = function() {\n return bottomButton.setParams({is_visible: true});\n };\n bottomButton.hide = function() {\n return bottomButton.setParams({is_visible: false});\n };\n bottomButton.enable = function() {\n return bottomButton.setParams({is_active: true});\n };\n bottomButton.disable = function() {\n return bottomButton.setParams({is_active: false});\n };\n bottomButton.showProgress = function(leaveActive) {\n isActive = !!leaveActive;\n isProgressVisible = true;\n updateButton();\n return bottomButton;\n };\n bottomButton.hideProgress = function() {\n if (!bottomButton.isActive) {\n isActive = true;\n }\n isProgressVisible = false;\n updateButton();\n return bottomButton;\n }\n bottomButton.setParams = setParams;\n return bottomButton;\n };\n var MainButton = BottomButtonConstructor('main');\n var SecondaryButton = BottomButtonConstructor('secondary');\n\n var SettingsButton = (function() {\n var isVisible = false;\n\n var settingsButton = {};\n Object.defineProperty(settingsButton, 'isVisible', {\n set: function(val){ setParams({is_visible: val}); },\n get: function(){ return isVisible; },\n enumerable: true\n });\n\n var curButtonState = null;\n\n WebView.onEvent('settings_button_pressed', onSettingsButtonPressed);\n\n function onSettingsButtonPressed() {\n receiveWebViewEvent('settingsButtonClicked');\n }\n\n function buttonParams() {\n return {is_visible: isVisible};\n }\n\n function buttonState(btn_params) {\n if (typeof btn_params === 'undefined') {\n btn_params = buttonParams();\n }\n return JSON.stringify(btn_params);\n }\n\n function buttonCheckVersion() {\n if (!versionAtLeast('6.10')) {\n console.warn('[Telegram.WebApp] SettingsButton is not supported in version ' + webAppVersion);\n return false;\n }\n return true;\n }\n\n function updateButton() {\n var btn_params = buttonParams();\n var btn_state = buttonState(btn_params);\n if (curButtonState === btn_state) {\n return;\n }\n curButtonState = btn_state;\n WebView.postEvent('web_app_setup_settings_button', false, btn_params);\n }\n\n function setParams(params) {\n if (!buttonCheckVersion()) {\n return settingsButton;\n }\n if (typeof params.is_visible !== 'undefined') {\n isVisible = !!params.is_visible;\n }\n updateButton();\n return settingsButton;\n }\n\n settingsButton.onClick = function(callback) {\n if (buttonCheckVersion()) {\n onWebViewEvent('settingsButtonClicked', callback);\n }\n return settingsButton;\n };\n settingsButton.offClick = function(callback) {\n if (buttonCheckVersion()) {\n offWebViewEvent('settingsButtonClicked', callback);\n }\n return settingsButton;\n };\n settingsButton.show = function() {\n return setParams({is_visible: true});\n };\n settingsButton.hide = function() {\n return setParams({is_visible: false});\n };\n return settingsButton;\n })();\n\n var HapticFeedback = (function() {\n var hapticFeedback = {};\n\n function triggerFeedback(params) {\n if (!versionAtLeast('6.1')) {\n console.warn('[Telegram.WebApp] HapticFeedback is not supported in version ' + webAppVersion);\n return hapticFeedback;\n }\n if (params.type == 'impact') {\n if (params.impact_style != 'light' &&\n params.impact_style != 'medium' &&\n params.impact_style != 'heavy' &&\n params.impact_style != 'rigid' &&\n params.impact_style != 'soft') {\n console.error('[Telegram.WebApp] Haptic impact style is invalid', params.impact_style);\n throw Error('WebAppHapticImpactStyleInvalid');\n }\n } else if (params.type == 'notification') {\n if (params.notification_type != 'error' &&\n params.notification_type != 'success' &&\n params.notification_type != 'warning') {\n console.error('[Telegram.WebApp] Haptic notification type is invalid', params.notification_type);\n throw Error('WebAppHapticNotificationTypeInvalid');\n }\n } else if (params.type == 'selection_change') {\n // no params needed\n } else {\n console.error('[Telegram.WebApp] Haptic feedback type is invalid', params.type);\n throw Error('WebAppHapticFeedbackTypeInvalid');\n }\n WebView.postEvent('web_app_trigger_haptic_feedback', false, params);\n return hapticFeedback;\n }\n\n hapticFeedback.impactOccurred = function(style) {\n return triggerFeedback({type: 'impact', impact_style: style});\n };\n hapticFeedback.notificationOccurred = function(type) {\n return triggerFeedback({type: 'notification', notification_type: type});\n };\n hapticFeedback.selectionChanged = function() {\n return triggerFeedback({type: 'selection_change'});\n };\n return hapticFeedback;\n })();\n\n var CloudStorage = (function() {\n var cloudStorage = {};\n\n function invokeStorageMethod(method, params, callback) {\n if (!versionAtLeast('6.9')) {\n console.error('[Telegram.WebApp] CloudStorage is not supported in version ' + webAppVersion);\n throw Error('WebAppMethodUnsupported');\n }\n invokeCustomMethod(method, params, callback);\n return cloudStorage;\n }\n\n cloudStorage.setItem = function(key, value, callback) {\n return invokeStorageMethod('saveStorageValue', {key: key, value: value}, callback);\n };\n cloudStorage.getItem = function(key, callback) {\n return cloudStorage.getItems([key], callback ? function(err, res) {\n if (err) callback(err);\n else callback(null, res[key]);\n } : null);\n };\n cloudStorage.getItems = function(keys, callback) {\n return invokeStorageMethod('getStorageValues', {keys: keys}, callback);\n };\n cloudStorage.removeItem = function(key, callback) {\n return cloudStorage.removeItems([key], callback);\n };\n cloudStorage.removeItems = function(keys, callback) {\n return invokeStorageMethod('deleteStorageValues', {keys: keys}, callback);\n };\n cloudStorage.getKeys = function(callback) {\n return invokeStorageMethod('getStorageKeys', {}, callback);\n };\n return cloudStorage;\n })();\n\n var BiometricManager = (function() {\n var isInited = false;\n var isBiometricAvailable = false;\n var biometricType = 'unknown';\n var isAccessRequested = false;\n var isAccessGranted = false;\n var isBiometricTokenSaved = false;\n var deviceId = '';\n\n var biometricManager = {};\n Object.defineProperty(biometricManager, 'isInited', {\n get: function(){ return isInited; },\n enumerable: true\n });\n Object.defineProperty(biometricManager, 'isBiometricAvailable', {\n get: function(){ return isInited && isBiometricAvailable; },\n enumerable: true\n });\n Object.defineProperty(biometricManager, 'biometricType', {\n get: function(){ return biometricType || 'unknown'; },\n enumerable: true\n });\n Object.defineProperty(biometricManager, 'isAccessRequested', {\n get: function(){ return isAccessRequested; },\n enumerable: true\n });\n Object.defineProperty(biometricManager, 'isAccessGranted', {\n get: function(){ return isAccessRequested && isAccessGranted; },\n enumerable: true\n });\n Object.defineProperty(biometricManager, 'isBiometricTokenSaved', {\n get: function(){ return isBiometricTokenSaved; },\n enumerable: true\n });\n Object.defineProperty(biometricManager, 'deviceId', {\n get: function(){ return deviceId || ''; },\n enumerable: true\n });\n\n var initRequestState = {callbacks: []};\n var accessRequestState = false;\n var authRequestState = false;\n var tokenRequestState = false;\n\n WebView.onEvent('biometry_info_received', onBiometryInfoReceived);\n WebView.onEvent('biometry_auth_requested', onBiometryAuthRequested);\n WebView.onEvent('biometry_token_updated', onBiometryTokenUpdated);\n\n function onBiometryInfoReceived(eventType, eventData) {\n isInited = true;\n if (eventData.available) {\n isBiometricAvailable = true;\n biometricType = eventData.type || 'unknown';\n if (eventData.access_requested) {\n isAccessRequested = true;\n isAccessGranted = !!eventData.access_granted;\n isBiometricTokenSaved = !!eventData.token_saved;\n } else {\n isAccessRequested = false;\n isAccessGranted = false;\n isBiometricTokenSaved = false;\n }\n } else {\n isBiometricAvailable = false;\n biometricType = 'unknown';\n isAccessRequested = false;\n isAccessGranted = false;\n isBiometricTokenSaved = false;\n }\n deviceId = eventData.device_id || '';\n\n if (initRequestState.callbacks.length > 0) {\n for (var i = 0; i < initRequestState.callbacks.length; i++) {\n var callback = initRequestState.callbacks[i];\n callback();\n }\n initRequestState.callbacks = [];\n }\n if (accessRequestState) {\n var state = accessRequestState;\n accessRequestState = false;\n if (state.callback) {\n state.callback(isAccessGranted);\n }\n }\n receiveWebViewEvent('biometricManagerUpdated');\n }\n function onBiometryAuthRequested(eventType, eventData) {\n var isAuthenticated = (eventData.status == 'authorized'),\n biometricToken = eventData.token || '';\n if (authRequestState) {\n var state = authRequestState;\n authRequestState = false;\n if (state.callback) {\n state.callback(isAuthenticated, isAuthenticated ? biometricToken : null);\n }\n }\n receiveWebViewEvent('biometricAuthRequested', isAuthenticated ? {\n isAuthenticated: true,\n biometricToken: biometricToken\n } : {\n isAuthenticated: false\n });\n }\n function onBiometryTokenUpdated(eventType, eventData) {\n var applied = false;\n if (isBiometricAvailable &&\n isAccessRequested) {\n if (eventData.status == 'updated') {\n isBiometricTokenSaved = true;\n applied = true;\n }\n else if (eventData.status == 'removed') {\n isBiometricTokenSaved = false;\n applied = true;\n }\n }\n if (tokenRequestState) {\n var state = tokenRequestState;\n tokenRequestState = false;\n if (state.callback) {\n state.callback(applied);\n }\n }\n receiveWebViewEvent('biometricTokenUpdated', {\n isUpdated: applied\n });\n }\n\n function checkVersion() {\n if (!versionAtLeast('7.2')) {\n console.warn('[Telegram.WebApp] BiometricManager is not supported in version ' + webAppVersion);\n return false;\n }\n return true;\n }\n\n function checkInit() {\n if (!isInited) {\n console.error('[Telegram.WebApp] BiometricManager should be inited before using.');\n throw Error('WebAppBiometricManagerNotInited');\n }\n return true;\n }\n\n biometricManager.init = function(callback) {\n if (!checkVersion()) {\n return biometricManager;\n }\n if (isInited) {\n return biometricManager;\n }\n if (callback) {\n initRequestState.callbacks.push(callback);\n }\n WebView.postEvent('web_app_biometry_get_info', false);\n return biometricManager;\n };\n biometricManager.requestAccess = function(params, callback) {\n if (!checkVersion()) {\n return biometricManager;\n }\n checkInit();\n if (!isBiometricAvailable) {\n console.error('[Telegram.WebApp] Biometrics is not available on this device.');\n throw Error('WebAppBiometricManagerBiometricsNotAvailable');\n }\n if (accessRequestState) {\n console.error('[Telegram.WebApp] Access is already requested');\n throw Error('WebAppBiometricManagerAccessRequested');\n }\n var popup_params = {};\n if (typeof params.reason !== 'undefined') {\n var reason = strTrim(params.reason);\n if (reason.length > 128) {\n console.error('[Telegram.WebApp] Biometric reason is too long', reason);\n throw Error('WebAppBiometricRequestAccessParamInvalid');\n }\n if (reason.length > 0) {\n popup_params.reason = reason;\n }\n }\n\n accessRequestState = {\n callback: callback\n };\n WebView.postEvent('web_app_biometry_request_access', false, popup_params);\n return biometricManager;\n };\n biometricManager.authenticate = function(params, callback) {\n if (!checkVersion()) {\n return biometricManager;\n }\n checkInit();\n if (!isBiometricAvailable) {\n console.error('[Telegram.WebApp] Biometrics is not available on this device.');\n throw Error('WebAppBiometricManagerBiometricsNotAvailable');\n }\n if (!isAccessGranted) {\n console.error('[Telegram.WebApp] Biometric access was not granted by the user.');\n throw Error('WebAppBiometricManagerBiometricAccessNotGranted');\n }\n if (authRequestState) {\n console.error('[Telegram.WebApp] Authentication request is already in progress.');\n throw Error('WebAppBiometricManagerAuthenticationRequested');\n }\n var popup_params = {};\n if (typeof params.reason !== 'undefined') {\n var reason = strTrim(params.reason);\n if (reason.length > 128) {\n console.error('[Telegram.WebApp] Biometric reason is too long', reason);\n throw Error('WebAppBiometricRequestAccessParamInvalid');\n }\n if (reason.length > 0) {\n popup_params.reason = reason;\n }\n }\n\n authRequestState = {\n callback: callback\n };\n WebView.postEvent('web_app_biometry_request_auth', false, popup_params);\n return biometricManager;\n };\n biometricManager.updateBiometricToken = function(token, callback) {\n if (!checkVersion()) {\n return biometricManager;\n }\n token = token || '';\n if (token.length > 1024) {\n console.error('[Telegram.WebApp] Token is too long', token);\n throw Error('WebAppBiometricManagerTokenInvalid');\n }\n checkInit();\n if (!isBiometricAvailable) {\n console.error('[Telegram.WebApp] Biometrics is not available on this device.');\n throw Error('WebAppBiometricManagerBiometricsNotAvailable');\n }\n if (!isAccessGranted) {\n console.error('[Telegram.WebApp] Biometric access was not granted by the user.');\n throw Error('WebAppBiometricManagerBiometricAccessNotGranted');\n }\n if (tokenRequestState) {\n console.error('[Telegram.WebApp] Token request is already in progress.');\n throw Error('WebAppBiometricManagerTokenUpdateRequested');\n }\n tokenRequestState = {\n callback: callback\n };\n WebView.postEvent('web_app_biometry_update_token', false, {token: token});\n return biometricManager;\n };\n biometricManager.openSettings = function() {\n if (!checkVersion()) {\n return biometricManager;\n }\n checkInit();\n if (!isBiometricAvailable) {\n console.error('[Telegram.WebApp] Biometrics is not available on this device.');\n throw Error('WebAppBiometricManagerBiometricsNotAvailable');\n }\n if (!isAccessRequested) {\n console.error('[Telegram.WebApp] Biometric access was not requested yet.');\n throw Error('WebAppBiometricManagerBiometricsAccessNotRequested');\n }\n if (isAccessGranted) {\n console.warn('[Telegram.WebApp] Biometric access was granted by the user, no need to go to settings.');\n return biometricManager;\n }\n WebView.postEvent('web_app_biometry_open_settings', false);\n return biometricManager;\n };\n return biometricManager;\n })();\n\n var LocationManager = (function() {\n var isInited = false;\n var isLocationAvailable = false;\n var isAccessRequested = false;\n var isAccessGranted = false;\n\n var locationManager = {};\n Object.defineProperty(locationManager, 'isInited', {\n get: function(){ return isInited; },\n enumerable: true\n });\n Object.defineProperty(locationManager, 'isLocationAvailable', {\n get: function(){ return isInited && isLocationAvailable; },\n enumerable: true\n });\n Object.defineProperty(locationManager, 'isAccessRequested', {\n get: function(){ return isAccessRequested; },\n enumerable: true\n });\n Object.defineProperty(locationManager, 'isAccessGranted', {\n get: function(){ return isAccessRequested && isAccessGranted; },\n enumerable: true\n });\n\n var initRequestState = {callbacks: []};\n var getRequestState = {callbacks: []};\n\n WebView.onEvent('location_checked', onLocationChecked);\n WebView.onEvent('location_requested', onLocationRequested);\n\n function onLocationChecked(eventType, eventData) {\n isInited = true;\n if (eventData.available) {\n isLocationAvailable = true;\n if (eventData.access_requested) {\n isAccessRequested = true;\n isAccessGranted = !!eventData.access_granted;\n } else {\n isAccessRequested = false;\n isAccessGranted = false;\n }\n } else {\n isLocationAvailable = false;\n isAccessRequested = false;\n isAccessGranted = false;\n }\n\n if (initRequestState.callbacks.length > 0) {\n for (var i = 0; i < initRequestState.callbacks.length; i++) {\n var callback = initRequestState.callbacks[i];\n callback();\n }\n initRequestState.callbacks = [];\n }\n receiveWebViewEvent('locationManagerUpdated');\n }\n function onLocationRequested(eventType, eventData) {\n if (!eventData.available) {\n locationData = null;\n } else {\n var locationData = {\n latitude: eventData.latitude,\n longitude: eventData.longitude,\n altitude: null,\n course: null,\n speed: null,\n horizontal_accuracy: null,\n vertical_accuracy: null,\n course_accuracy: null,\n speed_accuracy: null,\n };\n if (typeof eventData.altitude !== 'undefined' && eventData.altitude !== null) {\n locationData.altitude = eventData.altitude;\n }\n if (typeof eventData.course !== 'undefined' && eventData.course !== null) {\n locationData.course = eventData.course % 360;\n }\n if (typeof eventData.speed !== 'undefined' && eventData.speed !== null) {\n locationData.speed = eventData.speed;\n }\n if (typeof eventData.horizontal_accuracy !== 'undefined' && eventData.horizontal_accuracy !== null) {\n locationData.horizontal_accuracy = eventData.horizontal_accuracy;\n }\n if (typeof eventData.vertical_accuracy !== 'undefined' && eventData.vertical_accuracy !== null) {\n locationData.vertical_accuracy = eventData.vertical_accuracy;\n }\n if (typeof eventData.course_accuracy !== 'undefined' && eventData.course_accuracy !== null) {\n locationData.course_accuracy = eventData.course_accuracy;\n }\n if (typeof eventData.speed_accuracy !== 'undefined' && eventData.speed_accuracy !== null) {\n locationData.speed_accuracy = eventData.speed_accuracy;\n }\n }\n if (!eventData.available ||\n !isLocationAvailable ||\n !isAccessRequested ||\n !isAccessGranted) {\n initRequestState.callbacks.push(function() {\n locationResponse(locationData);\n });\n WebView.postEvent('web_app_check_location', false);\n } else {\n locationResponse(locationData);\n }\n }\n function locationResponse(response) {\n if (getRequestState.callbacks.length > 0) {\n for (var i = 0; i < getRequestState.callbacks.length; i++) {\n var callback = getRequestState.callbacks[i];\n callback(response);\n }\n getRequestState.callbacks = [];\n }\n if (response !== null) {\n receiveWebViewEvent('locationRequested', {\n locationData: response\n });\n }\n }\n\n function checkVersion() {\n if (!versionAtLeast('8.0')) {\n console.warn('[Telegram.WebApp] LocationManager is not supported in version ' + webAppVersion);\n return false;\n }\n return true;\n }\n\n function checkInit() {\n if (!isInited) {\n console.error('[Telegram.WebApp] LocationManager should be inited before using.');\n throw Error('WebAppLocationManagerNotInited');\n }\n return true;\n }\n\n locationManager.init = function(callback) {\n if (!checkVersion()) {\n return locationManager;\n }\n if (isInited) {\n return locationManager;\n }\n if (callback) {\n initRequestState.callbacks.push(callback);\n }\n WebView.postEvent('web_app_check_location', false);\n return locationManager;\n };\n locationManager.getLocation = function(callback) {\n if (!checkVersion()) {\n return locationManager;\n }\n checkInit();\n if (!isLocationAvailable) {\n console.error('[Telegram.WebApp] Location is not available on this device.');\n throw Error('WebAppLocationManagerLocationNotAvailable');\n }\n\n getRequestState.callbacks.push(callback);\n WebView.postEvent('web_app_request_location');\n return locationManager;\n };\n locationManager.openSettings = function() {\n if (!checkVersion()) {\n return locationManager;\n }\n checkInit();\n if (!isLocationAvailable) {\n console.error('[Telegram.WebApp] Location is not available on this device.');\n throw Error('WebAppLocationManagerLocationNotAvailable');\n }\n if (!isAccessRequested) {\n console.error('[Telegram.WebApp] Location access was not requested yet.');\n throw Error('WebAppLocationManagerLocationAccessNotRequested');\n }\n if (isAccessGranted) {\n console.warn('[Telegram.WebApp] Location access was granted by the user, no need to go to settings.');\n return locationManager;\n }\n WebView.postEvent('web_app_open_location_settings', false);\n return locationManager;\n };\n return locationManager;\n })();\n\n var Accelerometer = (function() {\n var isStarted = false;\n var valueX = null, valueY = null, valueZ = null;\n var startCallbacks = [], stopCallbacks = [];\n\n var accelerometer = {};\n Object.defineProperty(accelerometer, 'isStarted', {\n get: function(){ return isStarted; },\n enumerable: true\n });\n Object.defineProperty(accelerometer, 'x', {\n get: function(){ return valueX; },\n enumerable: true\n });\n Object.defineProperty(accelerometer, 'y', {\n get: function(){ return valueY; },\n enumerable: true\n });\n Object.defineProperty(accelerometer, 'z', {\n get: function(){ return valueZ; },\n enumerable: true\n });\n\n WebView.onEvent('accelerometer_started', onAccelerometerStarted);\n WebView.onEvent('accelerometer_stopped', onAccelerometerStopped);\n WebView.onEvent('accelerometer_changed', onAccelerometerChanged);\n WebView.onEvent('accelerometer_failed', onAccelerometerFailed);\n\n function onAccelerometerStarted(eventType, eventData) {\n isStarted = true;\n if (startCallbacks.length > 0) {\n for (var i = 0; i < startCallbacks.length; i++) {\n var callback = startCallbacks[i];\n callback(true);\n }\n startCallbacks = [];\n }\n receiveWebViewEvent('accelerometerStarted');\n }\n function onAccelerometerStopped(eventType, eventData) {\n isStarted = false;\n if (stopCallbacks.length > 0) {\n for (var i = 0; i < stopCallbacks.length; i++) {\n var callback = stopCallbacks[i];\n callback(true);\n }\n stopCallbacks = [];\n }\n receiveWebViewEvent('accelerometerStopped');\n }\n function onAccelerometerChanged(eventType, eventData) {\n valueX = eventData.x;\n valueY = eventData.y;\n valueZ = eventData.z;\n receiveWebViewEvent('accelerometerChanged');\n }\n function onAccelerometerFailed(eventType, eventData) {\n if (startCallbacks.length > 0) {\n for (var i = 0; i < startCallbacks.length; i++) {\n var callback = startCallbacks[i];\n callback(false);\n }\n startCallbacks = [];\n }\n receiveWebViewEvent('accelerometerFailed', {\n error: eventData.error\n });\n }\n\n function checkVersion() {\n if (!versionAtLeast('8.0')) {\n console.warn('[Telegram.WebApp] Accelerometer is not supported in version ' + webAppVersion);\n return false;\n }\n return true;\n }\n\n accelerometer.start = function(params, callback) {\n params = params || {};\n if (!checkVersion()) {\n return accelerometer;\n }\n var req_params = {};\n var refresh_rate = parseInt(params.refresh_rate || 1000);\n if (isNaN(refresh_rate) || refresh_rate < 20 || refresh_rate > 1000) {\n console.warn('[Telegram.WebApp] Accelerometer refresh_rate is invalid', refresh_rate);\n } else {\n req_params.refresh_rate = refresh_rate;\n }\n\n if (callback) {\n startCallbacks.push(callback);\n }\n WebView.postEvent('web_app_start_accelerometer', false, req_params);\n return accelerometer;\n };\n accelerometer.stop = function(callback) {\n if (!checkVersion()) {\n return accelerometer;\n }\n if (callback) {\n stopCallbacks.push(callback);\n }\n WebView.postEvent('web_app_stop_accelerometer');\n return accelerometer;\n };\n return accelerometer;\n })();\n\n var DeviceOrientation = (function() {\n var isStarted = false;\n var valueAlpha = null, valueBeta = null, valueGamma = null, valueAbsolute = false;\n var startCallbacks = [], stopCallbacks = [];\n\n var deviceOrientation = {};\n Object.defineProperty(deviceOrientation, 'isStarted', {\n get: function(){ return isStarted; },\n enumerable: true\n });\n Object.defineProperty(deviceOrientation, 'absolute', {\n get: function(){ return valueAbsolute; },\n enumerable: true\n });\n Object.defineProperty(deviceOrientation, 'alpha', {\n get: function(){ return valueAlpha; },\n enumerable: true\n });\n Object.defineProperty(deviceOrientation, 'beta', {\n get: function(){ return valueBeta; },\n enumerable: true\n });\n Object.defineProperty(deviceOrientation, 'gamma', {\n get: function(){ return valueGamma; },\n enumerable: true\n });\n\n WebView.onEvent('device_orientation_started', onDeviceOrientationStarted);\n WebView.onEvent('device_orientation_stopped', onDeviceOrientationStopped);\n WebView.onEvent('device_orientation_changed', onDeviceOrientationChanged);\n WebView.onEvent('device_orientation_failed', onDeviceOrientationFailed);\n\n function onDeviceOrientationStarted(eventType, eventData) {\n isStarted = true;\n if (startCallbacks.length > 0) {\n for (var i = 0; i < startCallbacks.length; i++) {\n var callback = startCallbacks[i];\n callback(true);\n }\n startCallbacks = [];\n }\n receiveWebViewEvent('deviceOrientationStarted');\n }\n function onDeviceOrientationStopped(eventType, eventData) {\n isStarted = false;\n if (stopCallbacks.length > 0) {\n for (var i = 0; i < stopCallbacks.length; i++) {\n var callback = stopCallbacks[i];\n callback(true);\n }\n stopCallbacks = [];\n }\n receiveWebViewEvent('deviceOrientationStopped');\n }\n function onDeviceOrientationChanged(eventType, eventData) {\n valueAbsolute = !!eventData.absolute;\n valueAlpha = eventData.alpha;\n valueBeta = eventData.beta;\n valueGamma = eventData.gamma;\n receiveWebViewEvent('deviceOrientationChanged');\n }\n function onDeviceOrientationFailed(eventType, eventData) {\n if (startCallbacks.length > 0) {\n for (var i = 0; i < startCallbacks.length; i++) {\n var callback = startCallbacks[i];\n callback(false);\n }\n startCallbacks = [];\n }\n receiveWebViewEvent('deviceOrientationFailed', {\n error: eventData.error\n });\n }\n\n function checkVersion() {\n if (!versionAtLeast('8.0')) {\n console.warn('[Telegram.WebApp] DeviceOrientation is not supported in version ' + webAppVersion);\n return false;\n }\n return true;\n }\n\n deviceOrientation.start = function(params, callback) {\n params = params || {};\n if (!checkVersion()) {\n return deviceOrientation;\n }\n var req_params = {};\n var refresh_rate = parseInt(params.refresh_rate || 1000);\n if (isNaN(refresh_rate) || refresh_rate < 20 || refresh_rate > 1000) {\n console.warn('[Telegram.WebApp] DeviceOrientation refresh_rate is invalid', refresh_rate);\n } else {\n req_params.refresh_rate = refresh_rate;\n }\n req_params.need_absolute = !!params.need_absolute;\n\n if (callback) {\n startCallbacks.push(callback);\n }\n WebView.postEvent('web_app_start_device_orientation', false, req_params);\n return deviceOrientation;\n };\n deviceOrientation.stop = function(callback) {\n if (!checkVersion()) {\n return deviceOrientation;\n }\n if (callback) {\n stopCallbacks.push(callback);\n }\n WebView.postEvent('web_app_stop_device_orientation');\n return deviceOrientation;\n };\n return deviceOrientation;\n })();\n\n var Gyroscope = (function() {\n var isStarted = false;\n var valueX = null, valueY = null, valueZ = null;\n var startCallbacks = [], stopCallbacks = [];\n\n var gyroscope = {};\n Object.defineProperty(gyroscope, 'isStarted', {\n get: function(){ return isStarted; },\n enumerable: true\n });\n Object.defineProperty(gyroscope, 'x', {\n get: function(){ return valueX; },\n enumerable: true\n });\n Object.defineProperty(gyroscope, 'y', {\n get: function(){ return valueY; },\n enumerable: true\n });\n Object.defineProperty(gyroscope, 'z', {\n get: function(){ return valueZ; },\n enumerable: true\n });\n\n WebView.onEvent('gyroscope_started', onGyroscopeStarted);\n WebView.onEvent('gyroscope_stopped', onGyroscopeStopped);\n WebView.onEvent('gyroscope_changed', onGyroscopeChanged);\n WebView.onEvent('gyroscope_failed', onGyroscopeFailed);\n\n function onGyroscopeStarted(eventType, eventData) {\n isStarted = true;\n if (startCallbacks.length > 0) {\n for (var i = 0; i < startCallbacks.length; i++) {\n var callback = startCallbacks[i];\n callback(true);\n }\n startCallbacks = [];\n }\n receiveWebViewEvent('gyroscopeStarted');\n }\n function onGyroscopeStopped(eventType, eventData) {\n isStarted = false;\n if (stopCallbacks.length > 0) {\n for (var i = 0; i < stopCallbacks.length; i++) {\n var callback = stopCallbacks[i];\n callback(true);\n }\n stopCallbacks = [];\n }\n receiveWebViewEvent('gyroscopeStopped');\n }\n function onGyroscopeChanged(eventType, eventData) {\n valueX = eventData.x;\n valueY = eventData.y;\n valueZ = eventData.z;\n receiveWebViewEvent('gyroscopeChanged');\n }\n function onGyroscopeFailed(eventType, eventData) {\n if (startCallbacks.length > 0) {\n for (var i = 0; i < startCallbacks.length; i++) {\n var callback = startCallbacks[i];\n callback(false);\n }\n startCallbacks = [];\n }\n receiveWebViewEvent('gyroscopeFailed', {\n error: eventData.error\n });\n }\n\n function checkVersion() {\n if (!versionAtLeast('8.0')) {\n console.warn('[Telegram.WebApp] Gyroscope is not supported in version ' + webAppVersion);\n return false;\n }\n return true;\n }\n\n gyroscope.start = function(params, callback) {\n params = params || {};\n if (!checkVersion()) {\n return gyroscope;\n }\n var req_params = {};\n var refresh_rate = parseInt(params.refresh_rate || 1000);\n if (isNaN(refresh_rate) || refresh_rate < 20 || refresh_rate > 1000) {\n console.warn('[Telegram.WebApp] Gyroscope refresh_rate is invalid', refresh_rate);\n } else {\n req_params.refresh_rate = refresh_rate;\n }\n\n if (callback) {\n startCallbacks.push(callback);\n }\n WebView.postEvent('web_app_start_gyroscope', false, req_params);\n return gyroscope;\n };\n gyroscope.stop = function(callback) {\n if (!checkVersion()) {\n return gyroscope;\n }\n if (callback) {\n stopCallbacks.push(callback);\n }\n WebView.postEvent('web_app_stop_gyroscope');\n return gyroscope;\n };\n return gyroscope;\n })();\n\n var webAppInvoices = {};\n function onInvoiceClosed(eventType, eventData) {\n if (eventData.slug && webAppInvoices[eventData.slug]) {\n var invoiceData = webAppInvoices[eventData.slug];\n delete webAppInvoices[eventData.slug];\n if (invoiceData.callback) {\n invoiceData.callback(eventData.status);\n }\n receiveWebViewEvent('invoiceClosed', {\n url: invoiceData.url,\n status: eventData.status\n });\n }\n }\n\n var webAppPopupOpened = false;\n function onPopupClosed(eventType, eventData) {\n if (webAppPopupOpened) {\n var popupData = webAppPopupOpened;\n webAppPopupOpened = false;\n var button_id = null;\n if (typeof eventData.button_id !== 'undefined') {\n button_id = eventData.button_id;\n }\n if (popupData.callback) {\n popupData.callback(button_id);\n }\n receiveWebViewEvent('popupClosed', {\n button_id: button_id\n });\n }\n }\n\n var webAppScanQrPopupOpened = false;\n function onQrTextReceived(eventType, eventData) {\n if (webAppScanQrPopupOpened) {\n var popupData = webAppScanQrPopupOpened;\n var data = null;\n if (typeof eventData.data !== 'undefined') {\n data = eventData.data;\n }\n if (popupData.callback) {\n if (popupData.callback(data)) {\n webAppScanQrPopupOpened = false;\n WebView.postEvent('web_app_close_scan_qr_popup', false);\n }\n }\n receiveWebViewEvent('qrTextReceived', {\n data: data\n });\n }\n }\n function onScanQrPopupClosed(eventType, eventData) {\n webAppScanQrPopupOpened = false;\n receiveWebViewEvent('scanQrPopupClosed');\n }\n\n function onClipboardTextReceived(eventType, eventData) {\n if (eventData.req_id && webAppCallbacks[eventData.req_id]) {\n var requestData = webAppCallbacks[eventData.req_id];\n delete webAppCallbacks[eventData.req_id];\n var data = null;\n if (typeof eventData.data !== 'undefined') {\n data = eventData.data;\n }\n if (requestData.callback) {\n requestData.callback(data);\n }\n receiveWebViewEvent('clipboardTextReceived', {\n data: data\n });\n }\n }\n\n var WebAppWriteAccessRequested = false;\n function onWriteAccessRequested(eventType, eventData) {\n if (WebAppWriteAccessRequested) {\n var requestData = WebAppWriteAccessRequested;\n WebAppWriteAccessRequested = false;\n if (requestData.callback) {\n requestData.callback(eventData.status == 'allowed');\n }\n receiveWebViewEvent('writeAccessRequested', {\n status: eventData.status\n });\n }\n }\n\n function getRequestedContact(callback, timeout) {\n var reqTo, fallbackTo, reqDelay = 0;\n var reqInvoke = function() {\n invokeCustomMethod('getRequestedContact', {}, function(err, res) {\n if (res && res.length) {\n clearTimeout(fallbackTo);\n callback(res);\n } else {\n reqDelay += 50;\n reqTo = setTimeout(reqInvoke, reqDelay);\n }\n });\n };\n var fallbackInvoke = function() {\n clearTimeout(reqTo);\n callback('');\n };\n fallbackTo = setTimeout(fallbackInvoke, timeout);\n reqInvoke();\n }\n\n var WebAppContactRequested = false;\n function onPhoneRequested(eventType, eventData) {\n if (WebAppContactRequested) {\n var requestData = WebAppContactRequested;\n WebAppContactRequested = false;\n var requestSent = eventData.status == 'sent';\n var webViewEvent = {\n status: eventData.status\n };\n if (requestSent) {\n getRequestedContact(function(res) {\n if (res && res.length) {\n webViewEvent.response = res;\n webViewEvent.responseUnsafe = Utils.urlParseQueryString(res);\n for (var key in webViewEvent.responseUnsafe) {\n var val = webViewEvent.responseUnsafe[key];\n try {\n if (val.substr(0, 1) == '{' && val.substr(-1) == '}' ||\n val.substr(0, 1) == '[' && val.substr(-1) == ']') {\n webViewEvent.responseUnsafe[key] = JSON.parse(val);\n }\n } catch (e) {}\n }\n }\n if (requestData.callback) {\n requestData.callback(requestSent, webViewEvent);\n }\n receiveWebViewEvent('contactRequested', webViewEvent);\n }, 3000);\n } else {\n if (requestData.callback) {\n requestData.callback(requestSent, webViewEvent);\n }\n receiveWebViewEvent('contactRequested', webViewEvent);\n }\n }\n }\n\n var webAppDownloadFileRequested = false;\n function onFileDownloadRequested(eventType, eventData) {\n if (webAppDownloadFileRequested) {\n var requestData = webAppDownloadFileRequested;\n webAppDownloadFileRequested = false;\n var isDownloading = eventData.status == 'downloading';\n if (requestData.callback) {\n requestData.callback(isDownloading);\n }\n receiveWebViewEvent('fileDownloadRequested', {\n status: isDownloading ? 'downloading' : 'cancelled'\n });\n }\n }\n\n function onCustomMethodInvoked(eventType, eventData) {\n if (eventData.req_id && webAppCallbacks[eventData.req_id]) {\n var requestData = webAppCallbacks[eventData.req_id];\n delete webAppCallbacks[eventData.req_id];\n var res = null, err = null;\n if (typeof eventData.result !== 'undefined') {\n res = eventData.result;\n }\n if (typeof eventData.error !== 'undefined') {\n err = eventData.error;\n }\n if (requestData.callback) {\n requestData.callback(err, res);\n }\n }\n }\n\n function invokeCustomMethod(method, params, callback) {\n if (!versionAtLeast('6.9')) {\n console.error('[Telegram.WebApp] Method invokeCustomMethod is not supported in version ' + webAppVersion);\n throw Error('WebAppMethodUnsupported');\n }\n var req_id = generateCallbackId(16);\n var req_params = {req_id: req_id, method: method, params: params || {}};\n webAppCallbacks[req_id] = {\n callback: callback\n };\n WebView.postEvent('web_app_invoke_custom_method', false, req_params);\n };\n\n if (!window.Telegram) {\n window.Telegram = {};\n }\n\n Object.defineProperty(WebApp, 'initData', {\n get: function(){ return webAppInitData; },\n enumerable: true\n });\n Object.defineProperty(WebApp, 'initDataUnsafe', {\n get: function(){ return webAppInitDataUnsafe; },\n enumerable: true\n });\n Object.defineProperty(WebApp, 'version', {\n get: function(){ return webAppVersion; },\n enumerable: true\n });\n Object.defineProperty(WebApp, 'platform', {\n get: function(){ return webAppPlatform; },\n enumerable: true\n });\n Object.defineProperty(WebApp, 'colorScheme', {\n get: function(){ return colorScheme; },\n enumerable: true\n });\n Object.defineProperty(WebApp, 'themeParams', {\n get: function(){ return themeParams; },\n enumerable: true\n });\n Object.defineProperty(WebApp, 'isExpanded', {\n get: function(){ return isExpanded; },\n enumerable: true\n });\n Object.defineProperty(WebApp, 'viewportHeight', {\n get: function(){ return (viewportHeight === false ? window.innerHeight : viewportHeight) - bottomBarHeight; },\n enumerable: true\n });\n Object.defineProperty(WebApp, 'viewportStableHeight', {\n get: function(){ return (viewportStableHeight === false ? window.innerHeight : viewportStableHeight) - bottomBarHeight; },\n enumerable: true\n });\n Object.defineProperty(WebApp, 'safeAreaInset', {\n get: function(){ return safeAreaInset; },\n enumerable: true\n });\n Object.defineProperty(WebApp, 'contentSafeAreaInset', {\n get: function(){ return contentSafeAreaInset; },\n enumerable: true\n });\n Object.defineProperty(WebApp, 'isClosingConfirmationEnabled', {\n set: function(val){ setClosingConfirmation(val); },\n get: function(){ return isClosingConfirmationEnabled; },\n enumerable: true\n });\n Object.defineProperty(WebApp, 'isVerticalSwipesEnabled', {\n set: function(val){ toggleVerticalSwipes(val); },\n get: function(){ return isVerticalSwipesEnabled; },\n enumerable: true\n });\n Object.defineProperty(WebApp, 'isFullscreen', {\n get: function(){ return webAppIsFullscreen; },\n enumerable: true\n });\n Object.defineProperty(WebApp, 'isOrientationLocked', {\n set: function(val){ toggleOrientationLock(val); },\n get: function(){ return webAppIsOrientationLocked; },\n enumerable: true\n });\n Object.defineProperty(WebApp, 'isActive', {\n get: function(){ return webAppIsActive; },\n enumerable: true\n });\n Object.defineProperty(WebApp, 'headerColor', {\n set: function(val){ setHeaderColor(val); },\n get: function(){ return getHeaderColor(); },\n enumerable: true\n });\n Object.defineProperty(WebApp, 'backgroundColor', {\n set: function(val){ setBackgroundColor(val); },\n get: function(){ return getBackgroundColor(); },\n enumerable: true\n });\n Object.defineProperty(WebApp, 'bottomBarColor', {\n set: function(val){ setBottomBarColor(val); },\n get: function(){ return getBottomBarColor(); },\n enumerable: true\n });\n Object.defineProperty(WebApp, 'BackButton', {\n value: BackButton,\n enumerable: true\n });\n Object.defineProperty(WebApp, 'MainButton', {\n value: MainButton,\n enumerable: true\n });\n Object.defineProperty(WebApp, 'SecondaryButton', {\n value: SecondaryButton,\n enumerable: true\n });\n Object.defineProperty(WebApp, 'SettingsButton', {\n value: SettingsButton,\n enumerable: true\n });\n Object.defineProperty(WebApp, 'HapticFeedback', {\n value: HapticFeedback,\n enumerable: true\n });\n Object.defineProperty(WebApp, 'CloudStorage', {\n value: CloudStorage,\n enumerable: true\n });\n Object.defineProperty(WebApp, 'BiometricManager', {\n value: BiometricManager,\n enumerable: true\n });\n Object.defineProperty(WebApp, 'Accelerometer', {\n value: Accelerometer,\n enumerable: true\n });\n Object.defineProperty(WebApp, 'DeviceOrientation', {\n value: DeviceOrientation,\n enumerable: true\n });\n Object.defineProperty(WebApp, 'Gyroscope', {\n value: Gyroscope,\n enumerable: true\n });\n Object.defineProperty(WebApp, 'LocationManager', {\n value: LocationManager,\n enumerable: true\n });\n WebApp.isVersionAtLeast = function(ver) {\n return versionAtLeast(ver);\n };\n WebApp.setHeaderColor = function(color_key) {\n WebApp.headerColor = color_key;\n };\n WebApp.setBackgroundColor = function(color) {\n WebApp.backgroundColor = color;\n };\n WebApp.setBottomBarColor = function(color) {\n WebApp.bottomBarColor = color;\n };\n WebApp.enableClosingConfirmation = function() {\n WebApp.isClosingConfirmationEnabled = true;\n };\n WebApp.disableClosingConfirmation = function() {\n WebApp.isClosingConfirmationEnabled = false;\n };\n WebApp.enableVerticalSwipes = function() {\n WebApp.isVerticalSwipesEnabled = true;\n };\n WebApp.disableVerticalSwipes = function() {\n WebApp.isVerticalSwipesEnabled = false;\n };\n WebApp.lockOrientation = function() {\n WebApp.isOrientationLocked = true;\n };\n WebApp.unlockOrientation = function() {\n WebApp.isOrientationLocked = false;\n };\n WebApp.requestFullscreen = function() {\n if (!versionAtLeast('8.0')) {\n console.error('[Telegram.WebApp] Method requestFullscreen is not supported in version ' + webAppVersion);\n throw Error('WebAppMethodUnsupported');\n }\n WebView.postEvent('web_app_request_fullscreen');\n };\n WebApp.exitFullscreen = function() {\n if (!versionAtLeast('8.0')) {\n console.error('[Telegram.WebApp] Method exitFullscreen is not supported in version ' + webAppVersion);\n throw Error('WebAppMethodUnsupported');\n }\n WebView.postEvent('web_app_exit_fullscreen');\n };\n WebApp.addToHomeScreen = function() {\n if (!versionAtLeast('8.0')) {\n console.error('[Telegram.WebApp] Method addToHomeScreen is not supported in version ' + webAppVersion);\n throw Error('WebAppMethodUnsupported');\n }\n WebView.postEvent('web_app_add_to_home_screen');\n };\n WebApp.checkHomeScreenStatus = function(callback) {\n if (!versionAtLeast('8.0')) {\n console.error('[Telegram.WebApp] Method checkHomeScreenStatus is not supported in version ' + webAppVersion);\n throw Error('WebAppMethodUnsupported');\n }\n if (callback) {\n homeScreenCallbacks.push(callback);\n }\n WebView.postEvent('web_app_check_home_screen');\n };\n WebApp.onEvent = function(eventType, callback) {\n onWebViewEvent(eventType, callback);\n };\n WebApp.offEvent = function(eventType, callback) {offWebViewEvent(eventType, callback);\n };\n WebApp.sendData = function (data) {\n if (!data || !data.length) {\n console.error('[Telegram.WebApp] Data is required', data);\n throw Error('WebAppDataInvalid');\n }\n if (byteLength(data) > 4096) {\n console.error('[Telegram.WebApp] Data is too long', data);\n throw Error('WebAppDataInvalid');\n }\n WebView.postEvent('web_app_data_send', false, {data: data});\n };\n WebApp.switchInlineQuery = function (query, choose_chat_types) {\n if (!versionAtLeast('6.6')) {\n console.error('[Telegram.WebApp] Method switchInlineQuery is not supported in version ' + webAppVersion);\n throw Error('WebAppMethodUnsupported');\n }\n if (!initParams.tgWebAppBotInline) {\n console.error('[Telegram.WebApp] Inline mode is disabled for this bot. Read more about inline mode: https://core.telegram.org/bots/inline');\n throw Error('WebAppInlineModeDisabled');\n }\n query = query || '';\n if (query.length > 256) {\n console.error('[Telegram.WebApp] Inline query is too long', query);\n throw Error('WebAppInlineQueryInvalid');\n }\n var chat_types = [];\n if (choose_chat_types) {\n if (!Array.isArray(choose_chat_types)) {\n console.error('[Telegram.WebApp] Choose chat types should be an array', choose_chat_types);\n throw Error('WebAppInlineChooseChatTypesInvalid');\n }\n var good_types = {users: 1, bots: 1, groups: 1, channels: 1};\n for (var i = 0; i < choose_chat_types.length; i++) {\n var chat_type = choose_chat_types[i];\n if (!good_types[chat_type]) {\n console.error('[Telegram.WebApp] Choose chat type is invalid', chat_type);\n throw Error('WebAppInlineChooseChatTypeInvalid');\n }\n if (good_types[chat_type] != 2) {\n good_types[chat_type] = 2;\n chat_types.push(chat_type);\n }\n }\n }\n WebView.postEvent('web_app_switch_inline_query', false, {query: query, chat_types: chat_types});\n };\n WebApp.openLink = function (url, options) {\n var a = document.createElement('A');\n a.href = url;\n if (a.protocol != 'http:' &&\n a.protocol != 'https:') {\n console.error('[Telegram.WebApp] Url protocol is not supported', url);\n throw Error('WebAppTgUrlInvalid');\n }\n var url = a.href;\n options = options || {};\n if (versionAtLeast('6.1')) {\n var req_params = {url: url};\n if (versionAtLeast('6.4') && options.try_instant_view) {\n req_params.try_instant_view = true;\n }\n if (versionAtLeast('7.6') && options.try_browser) {\n req_params.try_browser = options.try_browser;\n }\n WebView.postEvent('web_app_open_link', false, req_params);\n } else {\n window.open(url, '_blank');\n }\n };\n WebApp.openTelegramLink = function (url, options) {\n var a = document.createElement('A');\n a.href = url;\n if (a.protocol != 'http:' &&\n a.protocol != 'https:') {\n console.error('[Telegram.WebApp] Url protocol is not supported', url);\n throw Error('WebAppTgUrlInvalid');\n }\n if (a.hostname != 't.me') {\n console.error('[Telegram.WebApp] Url host is not supported', url);\n throw Error('WebAppTgUrlInvalid');\n }\n var path_full = a.pathname + a.search;\n options = options || {};\n if (isIframe || versionAtLeast('6.1')) {\n var req_params = {path_full: path_full};\n if (options.force_request) {\n req_params.force_request = true;\n }\n WebView.postEvent('web_app_open_tg_link', false, req_params);\n } else {\n location.href = 'https://t.me' + path_full;\n }\n };\n WebApp.openInvoice = function (url, callback) {\n var a = document.createElement('A'), match, slug;\n a.href = url;\n if (a.protocol != 'http:' &&\n a.protocol != 'https:' ||\n a.hostname != 't.me' ||\n !(match = a.pathname.match(/^\\/(\\$|invoice\\/)([A-Za-z0-9\\-_=]+)$/)) ||\n !(slug = match[2])) {\n console.error('[Telegram.WebApp] Invoice url is invalid', url);\n throw Error('WebAppInvoiceUrlInvalid');\n }\n if (!versionAtLeast('6.1')) {\n console.error('[Telegram.WebApp] Method openInvoice is not supported in version ' + webAppVersion);\n throw Error('WebAppMethodUnsupported');\n }\n if (webAppInvoices[slug]) {\n console.error('[Telegram.WebApp] Invoice is already opened');\n throw Error('WebAppInvoiceOpened');\n }\n webAppInvoices[slug] = {\n url: url,\n callback: callback\n };\n WebView.postEvent('web_app_open_invoice', false, {slug: slug});\n };\n WebApp.showPopup = function (params, callback) {\n if (!versionAtLeast('6.2')) {\n console.error('[Telegram.WebApp] Method showPopup is not supported in version ' + webAppVersion);\n throw Error('WebAppMethodUnsupported');\n }\n if (webAppPopupOpened) {\n console.error('[Telegram.WebApp] Popup is already opened');\n throw Error('WebAppPopupOpened');\n }\n var title = '';\n var message = '';\n var buttons = [];\n var popup_buttons = {};\n var popup_params = {};\n if (typeof params.title !== 'undefined') {\n title = strTrim(params.title);\n if (title.length > 64) {\n console.error('[Telegram.WebApp] Popup title is too long', title);\n throw Error('WebAppPopupParamInvalid');\n }\n if (title.length > 0) {\n popup_params.title = title;\n }\n }\n if (typeof params.message !== 'undefined') {\n message = strTrim(params.message);\n }\n if (!message.length) {\n console.error('[Telegram.WebApp] Popup message is required', params.message);\n throw Error('WebAppPopupParamInvalid');\n }\n if (message.length > 256) {\n console.error('[Telegram.WebApp] Popup message is too long', message);\n throw Error('WebAppPopupParamInvalid');\n }\n popup_params.message = message;\n if (typeof params.buttons !== 'undefined') {\n if (!Array.isArray(params.buttons)) {\n console.error('[Telegram.WebApp] Popup buttons should be an array', params.buttons);\n throw Error('WebAppPopupParamInvalid');\n }\n for (var i = 0; i < params.buttons.length; i++) {\n var button = params.buttons[i];\n var btn = {};\n var id = '';\n if (typeof button.id !== 'undefined') {\n id = button.id.toString();\n if (id.length > 64) {\n console.error('[Telegram.WebApp] Popup button id is too long', id);\n throw Error('WebAppPopupParamInvalid');\n }\n }\n btn.id = id;\n var button_type = button.type;\n if (typeof button_type === 'undefined') {\n button_type = 'default';\n }\n btn.type = button_type;\n if (button_type == 'ok' ||\n button_type == 'close' ||\n button_type == 'cancel') {\n // no params needed\n } else if (button_type == 'default' ||\n button_type == 'destructive') {\n var text = '';\n if (typeof button.text !== 'undefined') {\n text = strTrim(button.text);\n }\n if (!text.length) {\n console.error('[Telegram.WebApp] Popup button text is required for type ' + button_type, button.text);\n throw Error('WebAppPopupParamInvalid');\n }\n if (text.length > 64) {\n console.error('[Telegram.WebApp] Popup button text is too long', text);\n throw Error('WebAppPopupParamInvalid');\n }\n btn.text = text;\n } else {\n console.error('[Telegram.WebApp] Popup button type is invalid', button_type);\n throw Error('WebAppPopupParamInvalid');\n }\n buttons.push(btn);\n }\n } else {\n buttons.push({id: '', type: 'close'});\n }\n if (buttons.length < 1) {\n console.error('[Telegram.WebApp] Popup should have at least one button');\n throw Error('WebAppPopupParamInvalid');\n }\n if (buttons.length > 3) {\n console.error('[Telegram.WebApp] Popup should not have more than 3 buttons');\n throw Error('WebAppPopupParamInvalid');\n }\n popup_params.buttons = buttons;\n\n webAppPopupOpened = {\n callback: callback\n };\n WebView.postEvent('web_app_open_popup', false, popup_params);\n };\n WebApp.showAlert = function (message, callback) {\n WebApp.showPopup({\n message: message\n }, callback ? function(){ callback(); } : null);\n };\n WebApp.showConfirm = function (message, callback) {\n WebApp.showPopup({\n message: message,\n buttons: [\n {type: 'ok', id: 'ok'},\n {type: 'cancel'}\n ]\n }, callback ? function (button_id) {\n callback(button_id == 'ok');\n } : null);\n };\n WebApp.showScanQrPopup = function (params, callback) {\n if (!versionAtLeast('6.4')) {\n console.error('[Telegram.WebApp] Method showScanQrPopup is not supported in version ' + webAppVersion);\n throw Error('WebAppMethodUnsupported');\n }\n if (webAppScanQrPopupOpened) {\n console.error('[Telegram.WebApp] Popup is already opened');\n throw Error('WebAppScanQrPopupOpened');\n }\n var text = '';\n var popup_params = {};\n if (typeof params.text !== 'undefined') {\n text = strTrim(params.text);\n if (text.length > 64) {\n console.error('[Telegram.WebApp] Scan QR popup text is too long', text);\n throw Error('WebAppScanQrPopupParamInvalid');\n }\n if (text.length > 0) {\n popup_params.text = text;\n }\n }\n\n webAppScanQrPopupOpened = {\n callback: callback\n };\n WebView.postEvent('web_app_open_scan_qr_popup', false, popup_params);\n };\n WebApp.closeScanQrPopup = function () {\n if (!versionAtLeast('6.4')) {\n console.error('[Telegram.WebApp] Method closeScanQrPopup is not supported in version ' + webAppVersion);\n throw Error('WebAppMethodUnsupported');\n }\n\n webAppScanQrPopupOpened = false;\n WebView.postEvent('web_app_close_scan_qr_popup', false);\n };\n WebApp.readTextFromClipboard = function (callback) {\n if (!versionAtLeast('6.4')) {\n console.error('[Telegram.WebApp] Method readTextFromClipboard is not supported in version ' + webAppVersion);\n throw Error('WebAppMethodUnsupported');\n }\n var req_id = generateCallbackId(16);\n var req_params = {req_id: req_id};\n webAppCallbacks[req_id] = {\n callback: callback\n };\n WebView.postEvent('web_app_read_text_from_clipboard', false, req_params);\n };\n WebApp.requestWriteAccess = function (callback) {\n if (!versionAtLeast('6.9')) {\n console.error('[Telegram.WebApp] Method requestWriteAccess is not supported in version ' + webAppVersion);\n throw Error('WebAppMethodUnsupported');\n }\n if (WebAppWriteAccessRequested) {\n console.error('[Telegram.WebApp] Write access is already requested');\n throw Error('WebAppWriteAccessRequested');\n }\n WebAppWriteAccessRequested = {\n callback: callback\n };\n WebView.postEvent('web_app_request_write_access');\n };\n WebApp.requestContact = function (callback) {\n if (!versionAtLeast('6.9')) {\n console.error('[Telegram.WebApp] Method requestContact is not supported in version ' + webAppVersion);\n throw Error('WebAppMethodUnsupported');\n }\n if (WebAppContactRequested) {\n console.error('[Telegram.WebApp] Contact is already requested');\n throw Error('WebAppContactRequested');\n }\n WebAppContactRequested = {\n callback: callback\n };\n WebView.postEvent('web_app_request_phone');\n };\n WebApp.downloadFile = function (params, callback) {\n if (!versionAtLeast('8.0')) {\n console.error('[Telegram.WebApp] Method downloadFile is not supported in version ' + webAppVersion);\n throw Error('WebAppMethodUnsupported');\n }\n if (webAppDownloadFileRequested) {\n console.error('[Telegram.WebApp] Popup is already opened');\n throw Error('WebAppDownloadFilePopupOpened');\n }\n var a = document.createElement('A');\n\n var dl_params = {};\n if (!params || !params.url || !params.url.length) {\n console.error('[Telegram.WebApp] Url is required');\n throw Error('WebAppDownloadFileParamInvalid');\n }\n a.href = params.url;\n if (a.protocol != 'https:') {\n console.error('[Telegram.WebApp] Url protocol is not supported', url);\n throw Error('WebAppDownloadFileParamInvalid');\n }\n dl_params.url = a.href;\n\n if (!params || !params.file_name || !params.file_name.length) {\n console.error('[Telegram.WebApp] File name is required');\n throw Error('WebAppDownloadFileParamInvalid');\n }\n dl_params.file_name = params.file_name;\n\n webAppDownloadFileRequested = {\n callback: callback\n };\n WebView.postEvent('web_app_request_file_download', false, dl_params);\n };\n WebApp.shareToStory = function (media_url, params) {\n params = params || {};\n if (!versionAtLeast('7.8')) {\n console.error('[Telegram.WebApp] Method shareToStory is not supported in version ' + webAppVersion);\n throw Error('WebAppMethodUnsupported');\n }\n var a = document.createElement('A');\n a.href = media_url;\n if (a.protocol != 'http:' &&\n a.protocol != 'https:') {\n console.error('[Telegram.WebApp] Media url protocol is not supported', url);\n throw Error('WebAppMediaUrlInvalid');\n }\n var share_params = {};\n share_params.media_url = a.href;\n if (typeof params.text !== 'undefined') {\n var text = strTrim(params.text);\n if (text.length > 2048) {\n console.error('[Telegram.WebApp] Text is too long', text);\n throw Error('WebAppShareToStoryParamInvalid');\n }\n if (text.length > 0) {\n share_params.text = text;\n }\n }\n if (typeof params.widget_link !== 'undefined') {\n params.widget_link = params.widget_link || {};\n a.href = params.widget_link.url;\n if (a.protocol != 'http:' &&\n a.protocol != 'https:') {\n console.error('[Telegram.WebApp] Link protocol is not supported', url);\n throw Error('WebAppShareToStoryParamInvalid');\n }\n var widget_link = {\n url: a.href\n };\n if (typeof params.widget_link.name !== 'undefined') {\n var link_name = strTrim(params.widget_link.name);\n if (link_name.length > 48) {\n console.error('[Telegram.WebApp] Link name is too long', link_name);\n throw Error('WebAppShareToStoryParamInvalid');\n }\n if (link_name.length > 0) {\n widget_link.name = link_name;\n }\n }\n share_params.widget_link = widget_link;\n }\n\n WebView.postEvent('web_app_share_to_story', false, share_params);\n };\n WebApp.shareMessage = function (msg_id, callback) {\n if (!versionAtLeast('8.0')) {\n console.error('[Telegram.WebApp] Method shareMessage is not supported in version ' + webAppVersion);\n throw Error('WebAppMethodUnsupported');\n }\n if (WebAppShareMessageOpened) {\n console.error('[Telegram.WebApp] Share message is already opened');\n throw Error('WebAppShareMessageOpened');\n }\n WebAppShareMessageOpened = {\n callback: callback\n };\n WebView.postEvent('web_app_send_prepared_message', false, {id: msg_id});\n };\n WebApp.setEmojiStatus = function (custom_emoji_id, params, callback) {\n params = params || {};\n if (!versionAtLeast('8.0')) {\n console.error('[Telegram.WebApp] Method setEmojiStatus is not supported in version ' + webAppVersion);\n throw Error('WebAppMethodUnsupported');\n }\n var status_params = {};\n status_params.custom_emoji_id = custom_emoji_id;\n if (typeof params.duration !== 'undefined') {\n status_params.duration = params.duration;\n }\n if (WebAppEmojiStatusRequested) {\n console.error('[Telegram.WebApp] Emoji status is already requested');\n throw Error('WebAppEmojiStatusRequested');\n }\n WebAppEmojiStatusRequested = {\n callback: callback\n };\n WebView.postEvent('web_app_set_emoji_status', false, status_params);\n };\n WebApp.requestEmojiStatusAccess = function (callback) {\n if (!versionAtLeast('8.0')) {\n console.error('[Telegram.WebApp] Method requestEmojiStatusAccess is not supported in version ' + webAppVersion);\n throw Error('WebAppMethodUnsupported');\n }\n if (WebAppEmojiStatusAccessRequested) {\n console.error('[Telegram.WebApp] Emoji status permission is already requested');\n throw Error('WebAppEmojiStatusAccessRequested');\n }\n WebAppEmojiStatusAccessRequested = {\n callback: callback\n };\n WebView.postEvent('web_app_request_emoji_status_access');\n };\n WebApp.invokeCustomMethod = function (method, params, callback) {\n invokeCustomMethod(method, params, callback);\n };\n WebApp.ready = function () {\n WebView.postEvent('web_app_ready');\n };\n WebApp.expand = function () {\n WebView.postEvent('web_app_expand');\n };\n WebApp.close = function (options) {\n options = options || {};\n var req_params = {};\n if (versionAtLeast('7.6') && options.return_back) {\n req_params.return_back = true;\n }\n WebView.postEvent('web_app_close', false, req_params);\n };\n\n window.Telegram.WebApp = WebApp;\n\n updateHeaderColor();\n updateBackgroundColor();\n updateBottomBarColor();\n setViewportHeight();\n if (initParams.tgWebAppShowSettings) {\n SettingsButton.show();\n }\n\n window.addEventListener('resize', onWindowResize);\n if (isIframe) {\n document.addEventListener('click', linkHandler);\n }\n\n WebView.onEvent('theme_changed', onThemeChanged);\n WebView.onEvent('viewport_changed', onViewportChanged);\n WebView.onEvent('safe_area_changed', onSafeAreaChanged);\n WebView.onEvent('content_safe_area_changed', onContentSafeAreaChanged);\n WebView.onEvent('visibility_changed', onVisibilityChanged);\n WebView.onEvent('invoice_closed', onInvoiceClosed);\n WebView.onEvent('popup_closed', onPopupClosed);\n WebView.onEvent('qr_text_received', onQrTextReceived);\n WebView.onEvent('scan_qr_popup_closed', onScanQrPopupClosed);\n WebView.onEvent('clipboard_text_received', onClipboardTextReceived);\n WebView.onEvent('write_access_requested', onWriteAccessRequested);\n WebView.onEvent('phone_requested', onPhoneRequested);\n WebView.onEvent('file_download_requested', onFileDownloadRequested);\n WebView.onEvent('custom_method_invoked', onCustomMethodInvoked);\n WebView.onEvent('fullscreen_changed', onFullscreenChanged);\n WebView.onEvent('fullscreen_failed', onFullscreenFailed);\n WebView.onEvent('home_screen_added', onHomeScreenAdded);\n WebView.onEvent('home_screen_checked', onHomeScreenChecked);\n WebView.onEvent('prepared_message_sent', onPreparedMessageSent);\n WebView.onEvent('prepared_message_failed', onPreparedMessageFailed);\n WebView.onEvent('emoji_status_set', onEmojiStatusSet);\n WebView.onEvent('emoji_status_failed', onEmojiStatusFailed);\n WebView.onEvent('emoji_status_access_requested', onEmojiStatusAccessRequested);\n WebView.postEvent('web_app_request_theme');\n WebView.postEvent('web_app_request_viewport');\n WebView.postEvent('web_app_request_safe_area');\n WebView.postEvent('web_app_request_content_safe_area');\n\n})();","/**\n * @license React\n * react-dom.production.min.js\n *\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n/*\n Modernizr 3.0.0pre (Custom Build) | MIT\n*/\n'use strict';var aa=require(\"react\"),ca=require(\"scheduler\");function p(a){for(var b=\"https://reactjs.org/docs/error-decoder.html?invariant=\"+a,c=1;cb}return!1}function v(a,b,c,d,e,f,g){this.acceptsBooleans=2===b||3===b||4===b;this.attributeName=d;this.attributeNamespace=e;this.mustUseProperty=c;this.propertyName=a;this.type=b;this.sanitizeURL=f;this.removeEmptyString=g}var z={};\n\"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style\".split(\" \").forEach(function(a){z[a]=new v(a,0,!1,a,null,!1,!1)});[[\"acceptCharset\",\"accept-charset\"],[\"className\",\"class\"],[\"htmlFor\",\"for\"],[\"httpEquiv\",\"http-equiv\"]].forEach(function(a){var b=a[0];z[b]=new v(b,1,!1,a[1],null,!1,!1)});[\"contentEditable\",\"draggable\",\"spellCheck\",\"value\"].forEach(function(a){z[a]=new v(a,2,!1,a.toLowerCase(),null,!1,!1)});\n[\"autoReverse\",\"externalResourcesRequired\",\"focusable\",\"preserveAlpha\"].forEach(function(a){z[a]=new v(a,2,!1,a,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(a){z[a]=new v(a,3,!1,a.toLowerCase(),null,!1,!1)});\n[\"checked\",\"multiple\",\"muted\",\"selected\"].forEach(function(a){z[a]=new v(a,3,!0,a,null,!1,!1)});[\"capture\",\"download\"].forEach(function(a){z[a]=new v(a,4,!1,a,null,!1,!1)});[\"cols\",\"rows\",\"size\",\"span\"].forEach(function(a){z[a]=new v(a,6,!1,a,null,!1,!1)});[\"rowSpan\",\"start\"].forEach(function(a){z[a]=new v(a,5,!1,a.toLowerCase(),null,!1,!1)});var ra=/[\\-:]([a-z])/g;function sa(a){return a[1].toUpperCase()}\n\"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(a){var b=a.replace(ra,\nsa);z[b]=new v(b,1,!1,a,null,!1,!1)});\"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type\".split(\" \").forEach(function(a){var b=a.replace(ra,sa);z[b]=new v(b,1,!1,a,\"http://www.w3.org/1999/xlink\",!1,!1)});[\"xml:base\",\"xml:lang\",\"xml:space\"].forEach(function(a){var b=a.replace(ra,sa);z[b]=new v(b,1,!1,a,\"http://www.w3.org/XML/1998/namespace\",!1,!1)});[\"tabIndex\",\"crossOrigin\"].forEach(function(a){z[a]=new v(a,1,!1,a.toLowerCase(),null,!1,!1)});\nz.xlinkHref=new v(\"xlinkHref\",1,!1,\"xlink:href\",\"http://www.w3.org/1999/xlink\",!0,!1);[\"src\",\"href\",\"action\",\"formAction\"].forEach(function(a){z[a]=new v(a,1,!1,a.toLowerCase(),null,!0,!0)});\nfunction ta(a,b,c,d){var e=z.hasOwnProperty(b)?z[b]:null;if(null!==e?0!==e.type:d||!(2h||e[g]!==f[h]){var k=\"\\n\"+e[g].replace(\" at new \",\" at \");a.displayName&&k.includes(\"\")&&(k=k.replace(\"\",a.displayName));return k}while(1<=g&&0<=h)}break}}}finally{Na=!1,Error.prepareStackTrace=c}return(a=a?a.displayName||a.name:\"\")?Ma(a):\"\"}\nfunction Pa(a){switch(a.tag){case 5:return Ma(a.type);case 16:return Ma(\"Lazy\");case 13:return Ma(\"Suspense\");case 19:return Ma(\"SuspenseList\");case 0:case 2:case 15:return a=Oa(a.type,!1),a;case 11:return a=Oa(a.type.render,!1),a;case 1:return a=Oa(a.type,!0),a;default:return\"\"}}\nfunction Qa(a){if(null==a)return null;if(\"function\"===typeof a)return a.displayName||a.name||null;if(\"string\"===typeof a)return a;switch(a){case ya:return\"Fragment\";case wa:return\"Portal\";case Aa:return\"Profiler\";case za:return\"StrictMode\";case Ea:return\"Suspense\";case Fa:return\"SuspenseList\"}if(\"object\"===typeof a)switch(a.$$typeof){case Ca:return(a.displayName||\"Context\")+\".Consumer\";case Ba:return(a._context.displayName||\"Context\")+\".Provider\";case Da:var b=a.render;a=a.displayName;a||(a=b.displayName||\nb.name||\"\",a=\"\"!==a?\"ForwardRef(\"+a+\")\":\"ForwardRef\");return a;case Ga:return b=a.displayName||null,null!==b?b:Qa(a.type)||\"Memo\";case Ha:b=a._payload;a=a._init;try{return Qa(a(b))}catch(c){}}return null}\nfunction Ra(a){var b=a.type;switch(a.tag){case 24:return\"Cache\";case 9:return(b.displayName||\"Context\")+\".Consumer\";case 10:return(b._context.displayName||\"Context\")+\".Provider\";case 18:return\"DehydratedFragment\";case 11:return a=b.render,a=a.displayName||a.name||\"\",b.displayName||(\"\"!==a?\"ForwardRef(\"+a+\")\":\"ForwardRef\");case 7:return\"Fragment\";case 5:return b;case 4:return\"Portal\";case 3:return\"Root\";case 6:return\"Text\";case 16:return Qa(b);case 8:return b===za?\"StrictMode\":\"Mode\";case 22:return\"Offscreen\";\ncase 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(\"function\"===typeof b)return b.displayName||b.name||null;if(\"string\"===typeof b)return b}return null}function Sa(a){switch(typeof a){case \"boolean\":case \"number\":case \"string\":case \"undefined\":return a;case \"object\":return a;default:return\"\"}}\nfunction Ta(a){var b=a.type;return(a=a.nodeName)&&\"input\"===a.toLowerCase()&&(\"checkbox\"===b||\"radio\"===b)}\nfunction Ua(a){var b=Ta(a)?\"checked\":\"value\",c=Object.getOwnPropertyDescriptor(a.constructor.prototype,b),d=\"\"+a[b];if(!a.hasOwnProperty(b)&&\"undefined\"!==typeof c&&\"function\"===typeof c.get&&\"function\"===typeof c.set){var e=c.get,f=c.set;Object.defineProperty(a,b,{configurable:!0,get:function(){return e.call(this)},set:function(a){d=\"\"+a;f.call(this,a)}});Object.defineProperty(a,b,{enumerable:c.enumerable});return{getValue:function(){return d},setValue:function(a){d=\"\"+a},stopTracking:function(){a._valueTracker=\nnull;delete a[b]}}}}function Va(a){a._valueTracker||(a._valueTracker=Ua(a))}function Wa(a){if(!a)return!1;var b=a._valueTracker;if(!b)return!0;var c=b.getValue();var d=\"\";a&&(d=Ta(a)?a.checked?\"true\":\"false\":a.value);a=d;return a!==c?(b.setValue(a),!0):!1}function Xa(a){a=a||(\"undefined\"!==typeof document?document:void 0);if(\"undefined\"===typeof a)return null;try{return a.activeElement||a.body}catch(b){return a.body}}\nfunction Ya(a,b){var c=b.checked;return A({},b,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=c?c:a._wrapperState.initialChecked})}function Za(a,b){var c=null==b.defaultValue?\"\":b.defaultValue,d=null!=b.checked?b.checked:b.defaultChecked;c=Sa(null!=b.value?b.value:c);a._wrapperState={initialChecked:d,initialValue:c,controlled:\"checkbox\"===b.type||\"radio\"===b.type?null!=b.checked:null!=b.value}}function ab(a,b){b=b.checked;null!=b&&ta(a,\"checked\",b,!1)}\nfunction bb(a,b){ab(a,b);var c=Sa(b.value),d=b.type;if(null!=c)if(\"number\"===d){if(0===c&&\"\"===a.value||a.value!=c)a.value=\"\"+c}else a.value!==\"\"+c&&(a.value=\"\"+c);else if(\"submit\"===d||\"reset\"===d){a.removeAttribute(\"value\");return}b.hasOwnProperty(\"value\")?cb(a,b.type,c):b.hasOwnProperty(\"defaultValue\")&&cb(a,b.type,Sa(b.defaultValue));null==b.checked&&null!=b.defaultChecked&&(a.defaultChecked=!!b.defaultChecked)}\nfunction db(a,b,c){if(b.hasOwnProperty(\"value\")||b.hasOwnProperty(\"defaultValue\")){var d=b.type;if(!(\"submit\"!==d&&\"reset\"!==d||void 0!==b.value&&null!==b.value))return;b=\"\"+a._wrapperState.initialValue;c||b===a.value||(a.value=b);a.defaultValue=b}c=a.name;\"\"!==c&&(a.name=\"\");a.defaultChecked=!!a._wrapperState.initialChecked;\"\"!==c&&(a.name=c)}\nfunction cb(a,b,c){if(\"number\"!==b||Xa(a.ownerDocument)!==a)null==c?a.defaultValue=\"\"+a._wrapperState.initialValue:a.defaultValue!==\"\"+c&&(a.defaultValue=\"\"+c)}var eb=Array.isArray;\nfunction fb(a,b,c,d){a=a.options;if(b){b={};for(var e=0;e\"+b.valueOf().toString()+\"\";for(b=mb.firstChild;a.firstChild;)a.removeChild(a.firstChild);for(;b.firstChild;)a.appendChild(b.firstChild)}});\nfunction ob(a,b){if(b){var c=a.firstChild;if(c&&c===a.lastChild&&3===c.nodeType){c.nodeValue=b;return}}a.textContent=b}\nvar pb={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,\nzoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},qb=[\"Webkit\",\"ms\",\"Moz\",\"O\"];Object.keys(pb).forEach(function(a){qb.forEach(function(b){b=b+a.charAt(0).toUpperCase()+a.substring(1);pb[b]=pb[a]})});function rb(a,b,c){return null==b||\"boolean\"===typeof b||\"\"===b?\"\":c||\"number\"!==typeof b||0===b||pb.hasOwnProperty(a)&&pb[a]?(\"\"+b).trim():b+\"px\"}\nfunction sb(a,b){a=a.style;for(var c in b)if(b.hasOwnProperty(c)){var d=0===c.indexOf(\"--\"),e=rb(c,b[c],d);\"float\"===c&&(c=\"cssFloat\");d?a.setProperty(c,e):a[c]=e}}var tb=A({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});\nfunction ub(a,b){if(b){if(tb[a]&&(null!=b.children||null!=b.dangerouslySetInnerHTML))throw Error(p(137,a));if(null!=b.dangerouslySetInnerHTML){if(null!=b.children)throw Error(p(60));if(\"object\"!==typeof b.dangerouslySetInnerHTML||!(\"__html\"in b.dangerouslySetInnerHTML))throw Error(p(61));}if(null!=b.style&&\"object\"!==typeof b.style)throw Error(p(62));}}\nfunction vb(a,b){if(-1===a.indexOf(\"-\"))return\"string\"===typeof b.is;switch(a){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 wb=null;function xb(a){a=a.target||a.srcElement||window;a.correspondingUseElement&&(a=a.correspondingUseElement);return 3===a.nodeType?a.parentNode:a}var yb=null,zb=null,Ab=null;\nfunction Bb(a){if(a=Cb(a)){if(\"function\"!==typeof yb)throw Error(p(280));var b=a.stateNode;b&&(b=Db(b),yb(a.stateNode,a.type,b))}}function Eb(a){zb?Ab?Ab.push(a):Ab=[a]:zb=a}function Fb(){if(zb){var a=zb,b=Ab;Ab=zb=null;Bb(a);if(b)for(a=0;a>>=0;return 0===a?32:31-(pc(a)/qc|0)|0}var rc=64,sc=4194304;\nfunction tc(a){switch(a&-a){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 a&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return a&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;\ndefault:return a}}function uc(a,b){var c=a.pendingLanes;if(0===c)return 0;var d=0,e=a.suspendedLanes,f=a.pingedLanes,g=c&268435455;if(0!==g){var h=g&~e;0!==h?d=tc(h):(f&=g,0!==f&&(d=tc(f)))}else g=c&~e,0!==g?d=tc(g):0!==f&&(d=tc(f));if(0===d)return 0;if(0!==b&&b!==d&&0===(b&e)&&(e=d&-d,f=b&-b,e>=f||16===e&&0!==(f&4194240)))return b;0!==(d&4)&&(d|=c&16);b=a.entangledLanes;if(0!==b)for(a=a.entanglements,b&=d;0c;c++)b.push(a);return b}\nfunction Ac(a,b,c){a.pendingLanes|=b;536870912!==b&&(a.suspendedLanes=0,a.pingedLanes=0);a=a.eventTimes;b=31-oc(b);a[b]=c}function Bc(a,b){var c=a.pendingLanes&~b;a.pendingLanes=b;a.suspendedLanes=0;a.pingedLanes=0;a.expiredLanes&=b;a.mutableReadLanes&=b;a.entangledLanes&=b;b=a.entanglements;var d=a.eventTimes;for(a=a.expirationTimes;0=be),ee=String.fromCharCode(32),fe=!1;\nfunction ge(a,b){switch(a){case \"keyup\":return-1!==$d.indexOf(b.keyCode);case \"keydown\":return 229!==b.keyCode;case \"keypress\":case \"mousedown\":case \"focusout\":return!0;default:return!1}}function he(a){a=a.detail;return\"object\"===typeof a&&\"data\"in a?a.data:null}var ie=!1;function je(a,b){switch(a){case \"compositionend\":return he(b);case \"keypress\":if(32!==b.which)return null;fe=!0;return ee;case \"textInput\":return a=b.data,a===ee&&fe?null:a;default:return null}}\nfunction ke(a,b){if(ie)return\"compositionend\"===a||!ae&&ge(a,b)?(a=nd(),md=ld=kd=null,ie=!1,a):null;switch(a){case \"paste\":return null;case \"keypress\":if(!(b.ctrlKey||b.altKey||b.metaKey)||b.ctrlKey&&b.altKey){if(b.char&&1=b)return{node:c,offset:b-a};a=d}a:{for(;c;){if(c.nextSibling){c=c.nextSibling;break a}c=c.parentNode}c=void 0}c=Je(c)}}function Le(a,b){return a&&b?a===b?!0:a&&3===a.nodeType?!1:b&&3===b.nodeType?Le(a,b.parentNode):\"contains\"in a?a.contains(b):a.compareDocumentPosition?!!(a.compareDocumentPosition(b)&16):!1:!1}\nfunction Me(){for(var a=window,b=Xa();b instanceof a.HTMLIFrameElement;){try{var c=\"string\"===typeof b.contentWindow.location.href}catch(d){c=!1}if(c)a=b.contentWindow;else break;b=Xa(a.document)}return b}function Ne(a){var b=a&&a.nodeName&&a.nodeName.toLowerCase();return b&&(\"input\"===b&&(\"text\"===a.type||\"search\"===a.type||\"tel\"===a.type||\"url\"===a.type||\"password\"===a.type)||\"textarea\"===b||\"true\"===a.contentEditable)}\nfunction Oe(a){var b=Me(),c=a.focusedElem,d=a.selectionRange;if(b!==c&&c&&c.ownerDocument&&Le(c.ownerDocument.documentElement,c)){if(null!==d&&Ne(c))if(b=d.start,a=d.end,void 0===a&&(a=b),\"selectionStart\"in c)c.selectionStart=b,c.selectionEnd=Math.min(a,c.value.length);else if(a=(b=c.ownerDocument||document)&&b.defaultView||window,a.getSelection){a=a.getSelection();var e=c.textContent.length,f=Math.min(d.start,e);d=void 0===d.end?f:Math.min(d.end,e);!a.extend&&f>d&&(e=d,d=f,f=e);e=Ke(c,f);var g=Ke(c,\nd);e&&g&&(1!==a.rangeCount||a.anchorNode!==e.node||a.anchorOffset!==e.offset||a.focusNode!==g.node||a.focusOffset!==g.offset)&&(b=b.createRange(),b.setStart(e.node,e.offset),a.removeAllRanges(),f>d?(a.addRange(b),a.extend(g.node,g.offset)):(b.setEnd(g.node,g.offset),a.addRange(b)))}b=[];for(a=c;a=a.parentNode;)1===a.nodeType&&b.push({element:a,left:a.scrollLeft,top:a.scrollTop});\"function\"===typeof c.focus&&c.focus();for(c=0;c=document.documentMode,Qe=null,Re=null,Se=null,Te=!1;\nfunction Ue(a,b,c){var d=c.window===c?c.document:9===c.nodeType?c:c.ownerDocument;Te||null==Qe||Qe!==Xa(d)||(d=Qe,\"selectionStart\"in d&&Ne(d)?d={start:d.selectionStart,end:d.selectionEnd}:(d=(d.ownerDocument&&d.ownerDocument.defaultView||window).getSelection(),d={anchorNode:d.anchorNode,anchorOffset:d.anchorOffset,focusNode:d.focusNode,focusOffset:d.focusOffset}),Se&&Ie(Se,d)||(Se=d,d=oe(Re,\"onSelect\"),0Tf||(a.current=Sf[Tf],Sf[Tf]=null,Tf--)}function G(a,b){Tf++;Sf[Tf]=a.current;a.current=b}var Vf={},H=Uf(Vf),Wf=Uf(!1),Xf=Vf;function Yf(a,b){var c=a.type.contextTypes;if(!c)return Vf;var d=a.stateNode;if(d&&d.__reactInternalMemoizedUnmaskedChildContext===b)return d.__reactInternalMemoizedMaskedChildContext;var e={},f;for(f in c)e[f]=b[f];d&&(a=a.stateNode,a.__reactInternalMemoizedUnmaskedChildContext=b,a.__reactInternalMemoizedMaskedChildContext=e);return e}\nfunction Zf(a){a=a.childContextTypes;return null!==a&&void 0!==a}function $f(){E(Wf);E(H)}function ag(a,b,c){if(H.current!==Vf)throw Error(p(168));G(H,b);G(Wf,c)}function bg(a,b,c){var d=a.stateNode;b=b.childContextTypes;if(\"function\"!==typeof d.getChildContext)return c;d=d.getChildContext();for(var e in d)if(!(e in b))throw Error(p(108,Ra(a)||\"Unknown\",e));return A({},c,d)}\nfunction cg(a){a=(a=a.stateNode)&&a.__reactInternalMemoizedMergedChildContext||Vf;Xf=H.current;G(H,a);G(Wf,Wf.current);return!0}function dg(a,b,c){var d=a.stateNode;if(!d)throw Error(p(169));c?(a=bg(a,b,Xf),d.__reactInternalMemoizedMergedChildContext=a,E(Wf),E(H),G(H,a)):E(Wf);G(Wf,c)}var eg=null,fg=!1,gg=!1;function hg(a){null===eg?eg=[a]:eg.push(a)}function ig(a){fg=!0;hg(a)}\nfunction jg(){if(!gg&&null!==eg){gg=!0;var a=0,b=C;try{var c=eg;for(C=1;a>=g;e-=g;rg=1<<32-oc(b)+e|c<w?(x=u,u=null):x=u.sibling;var n=r(e,u,h[w],k);if(null===n){null===u&&(u=x);break}a&&u&&null===n.alternate&&b(e,u);g=f(n,g,w);null===m?l=n:m.sibling=n;m=n;u=x}if(w===h.length)return c(e,u),I&&tg(e,w),l;if(null===u){for(;ww?(x=m,m=null):x=m.sibling;var t=r(e,m,n.value,k);if(null===t){null===m&&(m=x);break}a&&m&&null===t.alternate&&b(e,m);g=f(t,g,w);null===u?l=t:u.sibling=t;u=t;m=x}if(n.done)return c(e,\nm),I&&tg(e,w),l;if(null===m){for(;!n.done;w++,n=h.next())n=q(e,n.value,k),null!==n&&(g=f(n,g,w),null===u?l=n:u.sibling=n,u=n);I&&tg(e,w);return l}for(m=d(e,m);!n.done;w++,n=h.next())n=y(m,e,w,n.value,k),null!==n&&(a&&null!==n.alternate&&m.delete(null===n.key?w:n.key),g=f(n,g,w),null===u?l=n:u.sibling=n,u=n);a&&m.forEach(function(a){return b(e,a)});I&&tg(e,w);return l}function J(a,d,f,h){\"object\"===typeof f&&null!==f&&f.type===ya&&null===f.key&&(f=f.props.children);if(\"object\"===typeof f&&null!==f){switch(f.$$typeof){case va:a:{for(var k=\nf.key,l=d;null!==l;){if(l.key===k){k=f.type;if(k===ya){if(7===l.tag){c(a,l.sibling);d=e(l,f.props.children);d.return=a;a=d;break a}}else if(l.elementType===k||\"object\"===typeof k&&null!==k&&k.$$typeof===Ha&&uh(k)===l.type){c(a,l.sibling);d=e(l,f.props);d.ref=sh(a,l,f);d.return=a;a=d;break a}c(a,l);break}else b(a,l);l=l.sibling}f.type===ya?(d=Ah(f.props.children,a.mode,h,f.key),d.return=a,a=d):(h=yh(f.type,f.key,f.props,null,a.mode,h),h.ref=sh(a,d,f),h.return=a,a=h)}return g(a);case wa:a:{for(l=f.key;null!==\nd;){if(d.key===l)if(4===d.tag&&d.stateNode.containerInfo===f.containerInfo&&d.stateNode.implementation===f.implementation){c(a,d.sibling);d=e(d,f.children||[]);d.return=a;a=d;break a}else{c(a,d);break}else b(a,d);d=d.sibling}d=zh(f,a.mode,h);d.return=a;a=d}return g(a);case Ha:return l=f._init,J(a,d,l(f._payload),h)}if(eb(f))return n(a,d,f,h);if(Ka(f))return t(a,d,f,h);th(a,f)}return\"string\"===typeof f&&\"\"!==f||\"number\"===typeof f?(f=\"\"+f,null!==d&&6===d.tag?(c(a,d.sibling),d=e(d,f),d.return=a,a=d):\n(c(a,d),d=xh(f,a.mode,h),d.return=a,a=d),g(a)):c(a,d)}return J}var Bh=vh(!0),Ch=vh(!1),Dh={},Eh=Uf(Dh),Fh=Uf(Dh),Gh=Uf(Dh);function Hh(a){if(a===Dh)throw Error(p(174));return a}function Ih(a,b){G(Gh,b);G(Fh,a);G(Eh,Dh);a=b.nodeType;switch(a){case 9:case 11:b=(b=b.documentElement)?b.namespaceURI:lb(null,\"\");break;default:a=8===a?b.parentNode:b,b=a.namespaceURI||null,a=a.tagName,b=lb(b,a)}E(Eh);G(Eh,b)}function Jh(){E(Eh);E(Fh);E(Gh)}\nfunction Kh(a){Hh(Gh.current);var b=Hh(Eh.current);var c=lb(b,a.type);b!==c&&(G(Fh,a),G(Eh,c))}function Lh(a){Fh.current===a&&(E(Eh),E(Fh))}var M=Uf(0);\nfunction Mh(a){for(var b=a;null!==b;){if(13===b.tag){var c=b.memoizedState;if(null!==c&&(c=c.dehydrated,null===c||\"$?\"===c.data||\"$!\"===c.data))return b}else if(19===b.tag&&void 0!==b.memoizedProps.revealOrder){if(0!==(b.flags&128))return b}else if(null!==b.child){b.child.return=b;b=b.child;continue}if(b===a)break;for(;null===b.sibling;){if(null===b.return||b.return===a)return null;b=b.return}b.sibling.return=b.return;b=b.sibling}return null}var Nh=[];\nfunction Oh(){for(var a=0;ac?c:4;a(!0);var d=Qh.transition;Qh.transition={};try{a(!1),b()}finally{C=c,Qh.transition=d}}function Fi(){return di().memoizedState}\nfunction Gi(a,b,c){var d=lh(a);c={lane:d,action:c,hasEagerState:!1,eagerState:null,next:null};if(Hi(a))Ii(b,c);else if(c=Yg(a,b,c,d),null!==c){var e=L();mh(c,a,d,e);Ji(c,b,d)}}\nfunction ri(a,b,c){var d=lh(a),e={lane:d,action:c,hasEagerState:!1,eagerState:null,next:null};if(Hi(a))Ii(b,e);else{var f=a.alternate;if(0===a.lanes&&(null===f||0===f.lanes)&&(f=b.lastRenderedReducer,null!==f))try{var g=b.lastRenderedState,h=f(g,c);e.hasEagerState=!0;e.eagerState=h;if(He(h,g)){var k=b.interleaved;null===k?(e.next=e,Xg(b)):(e.next=k.next,k.next=e);b.interleaved=e;return}}catch(l){}finally{}c=Yg(a,b,e,d);null!==c&&(e=L(),mh(c,a,d,e),Ji(c,b,d))}}\nfunction Hi(a){var b=a.alternate;return a===N||null!==b&&b===N}function Ii(a,b){Th=Sh=!0;var c=a.pending;null===c?b.next=b:(b.next=c.next,c.next=b);a.pending=b}function Ji(a,b,c){if(0!==(c&4194240)){var d=b.lanes;d&=a.pendingLanes;c|=d;b.lanes=c;Cc(a,c)}}\nvar ai={readContext:Vg,useCallback:Q,useContext:Q,useEffect:Q,useImperativeHandle:Q,useInsertionEffect:Q,useLayoutEffect:Q,useMemo:Q,useReducer:Q,useRef:Q,useState:Q,useDebugValue:Q,useDeferredValue:Q,useTransition:Q,useMutableSource:Q,useSyncExternalStore:Q,useId:Q,unstable_isNewReconciler:!1},Yh={readContext:Vg,useCallback:function(a,b){ci().memoizedState=[a,void 0===b?null:b];return a},useContext:Vg,useEffect:vi,useImperativeHandle:function(a,b,c){c=null!==c&&void 0!==c?c.concat([a]):null;return ti(4194308,\n4,yi.bind(null,b,a),c)},useLayoutEffect:function(a,b){return ti(4194308,4,a,b)},useInsertionEffect:function(a,b){return ti(4,2,a,b)},useMemo:function(a,b){var c=ci();b=void 0===b?null:b;a=a();c.memoizedState=[a,b];return a},useReducer:function(a,b,c){var d=ci();b=void 0!==c?c(b):b;d.memoizedState=d.baseState=b;a={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:a,lastRenderedState:b};d.queue=a;a=a.dispatch=Gi.bind(null,N,a);return[d.memoizedState,a]},useRef:function(a){var b=\nci();a={current:a};return b.memoizedState=a},useState:qi,useDebugValue:Ai,useDeferredValue:function(a){return ci().memoizedState=a},useTransition:function(){var a=qi(!1),b=a[0];a=Ei.bind(null,a[1]);ci().memoizedState=a;return[b,a]},useMutableSource:function(){},useSyncExternalStore:function(a,b,c){var d=N,e=ci();if(I){if(void 0===c)throw Error(p(407));c=c()}else{c=b();if(null===R)throw Error(p(349));0!==(Rh&30)||ni(d,b,c)}e.memoizedState=c;var f={value:c,getSnapshot:b};e.queue=f;vi(ki.bind(null,d,\nf,a),[a]);d.flags|=2048;li(9,mi.bind(null,d,f,c,b),void 0,null);return c},useId:function(){var a=ci(),b=R.identifierPrefix;if(I){var c=sg;var d=rg;c=(d&~(1<<32-oc(d)-1)).toString(32)+c;b=\":\"+b+\"R\"+c;c=Uh++;0\\x3c/script>\",a=a.removeChild(a.firstChild)):\n\"string\"===typeof d.is?a=g.createElement(c,{is:d.is}):(a=g.createElement(c),\"select\"===c&&(g=a,d.multiple?g.multiple=!0:d.size&&(g.size=d.size))):a=g.createElementNS(a,c);a[Of]=b;a[Pf]=d;Aj(a,b,!1,!1);b.stateNode=a;a:{g=vb(c,d);switch(c){case \"dialog\":D(\"cancel\",a);D(\"close\",a);e=d;break;case \"iframe\":case \"object\":case \"embed\":D(\"load\",a);e=d;break;case \"video\":case \"audio\":for(e=0;eHj&&(b.flags|=128,d=!0,Ej(f,!1),b.lanes=4194304)}else{if(!d)if(a=Mh(g),null!==a){if(b.flags|=128,d=!0,c=a.updateQueue,null!==c&&(b.updateQueue=c,b.flags|=4),Ej(f,!0),null===f.tail&&\"hidden\"===f.tailMode&&!g.alternate&&!I)return S(b),null}else 2*B()-f.renderingStartTime>Hj&&1073741824!==c&&(b.flags|=128,d=!0,Ej(f,!1),b.lanes=4194304);f.isBackwards?(g.sibling=b.child,b.child=g):(c=f.last,null!==c?c.sibling=g:b.child=g,f.last=g)}if(null!==f.tail)return b=f.tail,f.rendering=\nb,f.tail=b.sibling,f.renderingStartTime=B(),b.sibling=null,c=M.current,G(M,d?c&1|2:c&1),b;S(b);return null;case 22:case 23:return Ij(),d=null!==b.memoizedState,null!==a&&null!==a.memoizedState!==d&&(b.flags|=8192),d&&0!==(b.mode&1)?0!==(gj&1073741824)&&(S(b),b.subtreeFlags&6&&(b.flags|=8192)):S(b),null;case 24:return null;case 25:return null}throw Error(p(156,b.tag));}\nfunction Jj(a,b){wg(b);switch(b.tag){case 1:return Zf(b.type)&&$f(),a=b.flags,a&65536?(b.flags=a&-65537|128,b):null;case 3:return Jh(),E(Wf),E(H),Oh(),a=b.flags,0!==(a&65536)&&0===(a&128)?(b.flags=a&-65537|128,b):null;case 5:return Lh(b),null;case 13:E(M);a=b.memoizedState;if(null!==a&&null!==a.dehydrated){if(null===b.alternate)throw Error(p(340));Ig()}a=b.flags;return a&65536?(b.flags=a&-65537|128,b):null;case 19:return E(M),null;case 4:return Jh(),null;case 10:return Rg(b.type._context),null;case 22:case 23:return Ij(),\nnull;case 24:return null;default:return null}}var Kj=!1,U=!1,Lj=\"function\"===typeof WeakSet?WeakSet:Set,V=null;function Mj(a,b){var c=a.ref;if(null!==c)if(\"function\"===typeof c)try{c(null)}catch(d){W(a,b,d)}else c.current=null}function Nj(a,b,c){try{c()}catch(d){W(a,b,d)}}var Oj=!1;\nfunction Pj(a,b){Cf=dd;a=Me();if(Ne(a)){if(\"selectionStart\"in a)var c={start:a.selectionStart,end:a.selectionEnd};else a:{c=(c=a.ownerDocument)&&c.defaultView||window;var d=c.getSelection&&c.getSelection();if(d&&0!==d.rangeCount){c=d.anchorNode;var e=d.anchorOffset,f=d.focusNode;d=d.focusOffset;try{c.nodeType,f.nodeType}catch(F){c=null;break a}var g=0,h=-1,k=-1,l=0,m=0,q=a,r=null;b:for(;;){for(var y;;){q!==c||0!==e&&3!==q.nodeType||(h=g+e);q!==f||0!==d&&3!==q.nodeType||(k=g+d);3===q.nodeType&&(g+=\nq.nodeValue.length);if(null===(y=q.firstChild))break;r=q;q=y}for(;;){if(q===a)break b;r===c&&++l===e&&(h=g);r===f&&++m===d&&(k=g);if(null!==(y=q.nextSibling))break;q=r;r=q.parentNode}q=y}c=-1===h||-1===k?null:{start:h,end:k}}else c=null}c=c||{start:0,end:0}}else c=null;Df={focusedElem:a,selectionRange:c};dd=!1;for(V=b;null!==V;)if(b=V,a=b.child,0!==(b.subtreeFlags&1028)&&null!==a)a.return=b,V=a;else for(;null!==V;){b=V;try{var n=b.alternate;if(0!==(b.flags&1024))switch(b.tag){case 0:case 11:case 15:break;\ncase 1:if(null!==n){var t=n.memoizedProps,J=n.memoizedState,x=b.stateNode,w=x.getSnapshotBeforeUpdate(b.elementType===b.type?t:Lg(b.type,t),J);x.__reactInternalSnapshotBeforeUpdate=w}break;case 3:var u=b.stateNode.containerInfo;1===u.nodeType?u.textContent=\"\":9===u.nodeType&&u.documentElement&&u.removeChild(u.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(p(163));}}catch(F){W(b,b.return,F)}a=b.sibling;if(null!==a){a.return=b.return;V=a;break}V=b.return}n=Oj;Oj=!1;return n}\nfunction Qj(a,b,c){var d=b.updateQueue;d=null!==d?d.lastEffect:null;if(null!==d){var e=d=d.next;do{if((e.tag&a)===a){var f=e.destroy;e.destroy=void 0;void 0!==f&&Nj(b,c,f)}e=e.next}while(e!==d)}}function Rj(a,b){b=b.updateQueue;b=null!==b?b.lastEffect:null;if(null!==b){var c=b=b.next;do{if((c.tag&a)===a){var d=c.create;c.destroy=d()}c=c.next}while(c!==b)}}function Sj(a){var b=a.ref;if(null!==b){var c=a.stateNode;switch(a.tag){case 5:a=c;break;default:a=c}\"function\"===typeof b?b(a):b.current=a}}\nfunction Tj(a){var b=a.alternate;null!==b&&(a.alternate=null,Tj(b));a.child=null;a.deletions=null;a.sibling=null;5===a.tag&&(b=a.stateNode,null!==b&&(delete b[Of],delete b[Pf],delete b[of],delete b[Qf],delete b[Rf]));a.stateNode=null;a.return=null;a.dependencies=null;a.memoizedProps=null;a.memoizedState=null;a.pendingProps=null;a.stateNode=null;a.updateQueue=null}function Uj(a){return 5===a.tag||3===a.tag||4===a.tag}\nfunction Vj(a){a:for(;;){for(;null===a.sibling;){if(null===a.return||Uj(a.return))return null;a=a.return}a.sibling.return=a.return;for(a=a.sibling;5!==a.tag&&6!==a.tag&&18!==a.tag;){if(a.flags&2)continue a;if(null===a.child||4===a.tag)continue a;else a.child.return=a,a=a.child}if(!(a.flags&2))return a.stateNode}}\nfunction Wj(a,b,c){var d=a.tag;if(5===d||6===d)a=a.stateNode,b?8===c.nodeType?c.parentNode.insertBefore(a,b):c.insertBefore(a,b):(8===c.nodeType?(b=c.parentNode,b.insertBefore(a,c)):(b=c,b.appendChild(a)),c=c._reactRootContainer,null!==c&&void 0!==c||null!==b.onclick||(b.onclick=Bf));else if(4!==d&&(a=a.child,null!==a))for(Wj(a,b,c),a=a.sibling;null!==a;)Wj(a,b,c),a=a.sibling}\nfunction Xj(a,b,c){var d=a.tag;if(5===d||6===d)a=a.stateNode,b?c.insertBefore(a,b):c.appendChild(a);else if(4!==d&&(a=a.child,null!==a))for(Xj(a,b,c),a=a.sibling;null!==a;)Xj(a,b,c),a=a.sibling}var X=null,Yj=!1;function Zj(a,b,c){for(c=c.child;null!==c;)ak(a,b,c),c=c.sibling}\nfunction ak(a,b,c){if(lc&&\"function\"===typeof lc.onCommitFiberUnmount)try{lc.onCommitFiberUnmount(kc,c)}catch(h){}switch(c.tag){case 5:U||Mj(c,b);case 6:var d=X,e=Yj;X=null;Zj(a,b,c);X=d;Yj=e;null!==X&&(Yj?(a=X,c=c.stateNode,8===a.nodeType?a.parentNode.removeChild(c):a.removeChild(c)):X.removeChild(c.stateNode));break;case 18:null!==X&&(Yj?(a=X,c=c.stateNode,8===a.nodeType?Kf(a.parentNode,c):1===a.nodeType&&Kf(a,c),bd(a)):Kf(X,c.stateNode));break;case 4:d=X;e=Yj;X=c.stateNode.containerInfo;Yj=!0;\nZj(a,b,c);X=d;Yj=e;break;case 0:case 11:case 14:case 15:if(!U&&(d=c.updateQueue,null!==d&&(d=d.lastEffect,null!==d))){e=d=d.next;do{var f=e,g=f.destroy;f=f.tag;void 0!==g&&(0!==(f&2)?Nj(c,b,g):0!==(f&4)&&Nj(c,b,g));e=e.next}while(e!==d)}Zj(a,b,c);break;case 1:if(!U&&(Mj(c,b),d=c.stateNode,\"function\"===typeof d.componentWillUnmount))try{d.props=c.memoizedProps,d.state=c.memoizedState,d.componentWillUnmount()}catch(h){W(c,b,h)}Zj(a,b,c);break;case 21:Zj(a,b,c);break;case 22:c.mode&1?(U=(d=U)||null!==\nc.memoizedState,Zj(a,b,c),U=d):Zj(a,b,c);break;default:Zj(a,b,c)}}function bk(a){var b=a.updateQueue;if(null!==b){a.updateQueue=null;var c=a.stateNode;null===c&&(c=a.stateNode=new Lj);b.forEach(function(b){var d=ck.bind(null,a,b);c.has(b)||(c.add(b),b.then(d,d))})}}\nfunction dk(a,b){var c=b.deletions;if(null!==c)for(var d=0;de&&(e=g);d&=~f}d=e;d=B()-d;d=(120>d?120:480>d?480:1080>d?1080:1920>d?1920:3E3>d?3E3:4320>d?4320:1960*mk(d/1960))-d;if(10a?16:a;if(null===xk)var d=!1;else{a=xk;xk=null;yk=0;if(0!==(K&6))throw Error(p(331));var e=K;K|=4;for(V=a.current;null!==V;){var f=V,g=f.child;if(0!==(V.flags&16)){var h=f.deletions;if(null!==h){for(var k=0;kB()-gk?Lk(a,0):sk|=c);Ek(a,b)}function Zk(a,b){0===b&&(0===(a.mode&1)?b=1:(b=sc,sc<<=1,0===(sc&130023424)&&(sc=4194304)));var c=L();a=Zg(a,b);null!==a&&(Ac(a,b,c),Ek(a,c))}function vj(a){var b=a.memoizedState,c=0;null!==b&&(c=b.retryLane);Zk(a,c)}\nfunction ck(a,b){var c=0;switch(a.tag){case 13:var d=a.stateNode;var e=a.memoizedState;null!==e&&(c=e.retryLane);break;case 19:d=a.stateNode;break;default:throw Error(p(314));}null!==d&&d.delete(b);Zk(a,c)}var Wk;\nWk=function(a,b,c){if(null!==a)if(a.memoizedProps!==b.pendingProps||Wf.current)Ug=!0;else{if(0===(a.lanes&c)&&0===(b.flags&128))return Ug=!1,zj(a,b,c);Ug=0!==(a.flags&131072)?!0:!1}else Ug=!1,I&&0!==(b.flags&1048576)&&ug(b,ng,b.index);b.lanes=0;switch(b.tag){case 2:var d=b.type;jj(a,b);a=b.pendingProps;var e=Yf(b,H.current);Tg(b,c);e=Xh(null,b,d,a,e,c);var f=bi();b.flags|=1;\"object\"===typeof e&&null!==e&&\"function\"===typeof e.render&&void 0===e.$$typeof?(b.tag=1,b.memoizedState=null,b.updateQueue=\nnull,Zf(d)?(f=!0,cg(b)):f=!1,b.memoizedState=null!==e.state&&void 0!==e.state?e.state:null,ah(b),e.updater=nh,b.stateNode=e,e._reactInternals=b,rh(b,d,a,c),b=kj(null,b,d,!0,f,c)):(b.tag=0,I&&f&&vg(b),Yi(null,b,e,c),b=b.child);return b;case 16:d=b.elementType;a:{jj(a,b);a=b.pendingProps;e=d._init;d=e(d._payload);b.type=d;e=b.tag=$k(d);a=Lg(d,a);switch(e){case 0:b=dj(null,b,d,a,c);break a;case 1:b=ij(null,b,d,a,c);break a;case 11:b=Zi(null,b,d,a,c);break a;case 14:b=aj(null,b,d,Lg(d.type,a),c);break a}throw Error(p(306,\nd,\"\"));}return b;case 0:return d=b.type,e=b.pendingProps,e=b.elementType===d?e:Lg(d,e),dj(a,b,d,e,c);case 1:return d=b.type,e=b.pendingProps,e=b.elementType===d?e:Lg(d,e),ij(a,b,d,e,c);case 3:a:{lj(b);if(null===a)throw Error(p(387));d=b.pendingProps;f=b.memoizedState;e=f.element;bh(a,b);gh(b,d,null,c);var g=b.memoizedState;d=g.element;if(f.isDehydrated)if(f={element:d,isDehydrated:!1,cache:g.cache,pendingSuspenseBoundaries:g.pendingSuspenseBoundaries,transitions:g.transitions},b.updateQueue.baseState=\nf,b.memoizedState=f,b.flags&256){e=Ki(Error(p(423)),b);b=mj(a,b,d,c,e);break a}else if(d!==e){e=Ki(Error(p(424)),b);b=mj(a,b,d,c,e);break a}else for(yg=Lf(b.stateNode.containerInfo.firstChild),xg=b,I=!0,zg=null,c=Ch(b,null,d,c),b.child=c;c;)c.flags=c.flags&-3|4096,c=c.sibling;else{Ig();if(d===e){b=$i(a,b,c);break a}Yi(a,b,d,c)}b=b.child}return b;case 5:return Kh(b),null===a&&Eg(b),d=b.type,e=b.pendingProps,f=null!==a?a.memoizedProps:null,g=e.children,Ef(d,e)?g=null:null!==f&&Ef(d,f)&&(b.flags|=32),\nhj(a,b),Yi(a,b,g,c),b.child;case 6:return null===a&&Eg(b),null;case 13:return pj(a,b,c);case 4:return Ih(b,b.stateNode.containerInfo),d=b.pendingProps,null===a?b.child=Bh(b,null,d,c):Yi(a,b,d,c),b.child;case 11:return d=b.type,e=b.pendingProps,e=b.elementType===d?e:Lg(d,e),Zi(a,b,d,e,c);case 7:return Yi(a,b,b.pendingProps,c),b.child;case 8:return Yi(a,b,b.pendingProps.children,c),b.child;case 12:return Yi(a,b,b.pendingProps.children,c),b.child;case 10:a:{d=b.type._context;e=b.pendingProps;f=b.memoizedProps;\ng=e.value;G(Mg,d._currentValue);d._currentValue=g;if(null!==f)if(He(f.value,g)){if(f.children===e.children&&!Wf.current){b=$i(a,b,c);break a}}else for(f=b.child,null!==f&&(f.return=b);null!==f;){var h=f.dependencies;if(null!==h){g=f.child;for(var k=h.firstContext;null!==k;){if(k.context===d){if(1===f.tag){k=ch(-1,c&-c);k.tag=2;var l=f.updateQueue;if(null!==l){l=l.shared;var m=l.pending;null===m?k.next=k:(k.next=m.next,m.next=k);l.pending=k}}f.lanes|=c;k=f.alternate;null!==k&&(k.lanes|=c);Sg(f.return,\nc,b);h.lanes|=c;break}k=k.next}}else if(10===f.tag)g=f.type===b.type?null:f.child;else if(18===f.tag){g=f.return;if(null===g)throw Error(p(341));g.lanes|=c;h=g.alternate;null!==h&&(h.lanes|=c);Sg(g,c,b);g=f.sibling}else g=f.child;if(null!==g)g.return=f;else for(g=f;null!==g;){if(g===b){g=null;break}f=g.sibling;if(null!==f){f.return=g.return;g=f;break}g=g.return}f=g}Yi(a,b,e.children,c);b=b.child}return b;case 9:return e=b.type,d=b.pendingProps.children,Tg(b,c),e=Vg(e),d=d(e),b.flags|=1,Yi(a,b,d,c),\nb.child;case 14:return d=b.type,e=Lg(d,b.pendingProps),e=Lg(d.type,e),aj(a,b,d,e,c);case 15:return cj(a,b,b.type,b.pendingProps,c);case 17:return d=b.type,e=b.pendingProps,e=b.elementType===d?e:Lg(d,e),jj(a,b),b.tag=1,Zf(d)?(a=!0,cg(b)):a=!1,Tg(b,c),ph(b,d,e),rh(b,d,e,c),kj(null,b,d,!0,a,c);case 19:return yj(a,b,c);case 22:return ej(a,b,c)}throw Error(p(156,b.tag));};function Gk(a,b){return ac(a,b)}\nfunction al(a,b,c,d){this.tag=a;this.key=c;this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null;this.index=0;this.ref=null;this.pendingProps=b;this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null;this.mode=d;this.subtreeFlags=this.flags=0;this.deletions=null;this.childLanes=this.lanes=0;this.alternate=null}function Bg(a,b,c,d){return new al(a,b,c,d)}function bj(a){a=a.prototype;return!(!a||!a.isReactComponent)}\nfunction $k(a){if(\"function\"===typeof a)return bj(a)?1:0;if(void 0!==a&&null!==a){a=a.$$typeof;if(a===Da)return 11;if(a===Ga)return 14}return 2}\nfunction wh(a,b){var c=a.alternate;null===c?(c=Bg(a.tag,b,a.key,a.mode),c.elementType=a.elementType,c.type=a.type,c.stateNode=a.stateNode,c.alternate=a,a.alternate=c):(c.pendingProps=b,c.type=a.type,c.flags=0,c.subtreeFlags=0,c.deletions=null);c.flags=a.flags&14680064;c.childLanes=a.childLanes;c.lanes=a.lanes;c.child=a.child;c.memoizedProps=a.memoizedProps;c.memoizedState=a.memoizedState;c.updateQueue=a.updateQueue;b=a.dependencies;c.dependencies=null===b?null:{lanes:b.lanes,firstContext:b.firstContext};\nc.sibling=a.sibling;c.index=a.index;c.ref=a.ref;return c}\nfunction yh(a,b,c,d,e,f){var g=2;d=a;if(\"function\"===typeof a)bj(a)&&(g=1);else if(\"string\"===typeof a)g=5;else a:switch(a){case ya:return Ah(c.children,e,f,b);case za:g=8;e|=8;break;case Aa:return a=Bg(12,c,b,e|2),a.elementType=Aa,a.lanes=f,a;case Ea:return a=Bg(13,c,b,e),a.elementType=Ea,a.lanes=f,a;case Fa:return a=Bg(19,c,b,e),a.elementType=Fa,a.lanes=f,a;case Ia:return qj(c,e,f,b);default:if(\"object\"===typeof a&&null!==a)switch(a.$$typeof){case Ba:g=10;break a;case Ca:g=9;break a;case Da:g=11;\nbreak a;case Ga:g=14;break a;case Ha:g=16;d=null;break a}throw Error(p(130,null==a?a:typeof a,\"\"));}b=Bg(g,c,b,e);b.elementType=a;b.type=d;b.lanes=f;return b}function Ah(a,b,c,d){a=Bg(7,a,d,b);a.lanes=c;return a}function qj(a,b,c,d){a=Bg(22,a,d,b);a.elementType=Ia;a.lanes=c;a.stateNode={isHidden:!1};return a}function xh(a,b,c){a=Bg(6,a,null,b);a.lanes=c;return a}\nfunction zh(a,b,c){b=Bg(4,null!==a.children?a.children:[],a.key,b);b.lanes=c;b.stateNode={containerInfo:a.containerInfo,pendingChildren:null,implementation:a.implementation};return b}\nfunction bl(a,b,c,d,e){this.tag=b;this.containerInfo=a;this.finishedWork=this.pingCache=this.current=this.pendingChildren=null;this.timeoutHandle=-1;this.callbackNode=this.pendingContext=this.context=null;this.callbackPriority=0;this.eventTimes=zc(0);this.expirationTimes=zc(-1);this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0;this.entanglements=zc(0);this.identifierPrefix=d;this.onRecoverableError=e;this.mutableSourceEagerHydrationData=\nnull}function cl(a,b,c,d,e,f,g,h,k){a=new bl(a,b,c,h,k);1===b?(b=1,!0===f&&(b|=8)):b=0;f=Bg(3,null,null,b);a.current=f;f.stateNode=a;f.memoizedState={element:d,isDehydrated:c,cache:null,transitions:null,pendingSuspenseBoundaries:null};ah(f);return a}function dl(a,b,c){var d=3>>1,e=a[d];if(0>>1;dg(C,c))ng(x,C)?(a[d]=x,a[n]=c,d=n):(a[d]=C,a[m]=c,d=m);else if(ng(x,c))a[d]=x,a[n]=c,d=n;else break a}}return b}\nfunction g(a,b){var c=a.sortIndex-b.sortIndex;return 0!==c?c:a.id-b.id}if(\"object\"===typeof performance&&\"function\"===typeof performance.now){var l=performance;exports.unstable_now=function(){return l.now()}}else{var p=Date,q=p.now();exports.unstable_now=function(){return p.now()-q}}var r=[],t=[],u=1,v=null,y=3,z=!1,A=!1,B=!1,D=\"function\"===typeof setTimeout?setTimeout:null,E=\"function\"===typeof clearTimeout?clearTimeout:null,F=\"undefined\"!==typeof setImmediate?setImmediate:null;\n\"undefined\"!==typeof navigator&&void 0!==navigator.scheduling&&void 0!==navigator.scheduling.isInputPending&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function G(a){for(var b=h(t);null!==b;){if(null===b.callback)k(t);else if(b.startTime<=a)k(t),b.sortIndex=b.expirationTime,f(r,b);else break;b=h(t)}}function H(a){B=!1;G(a);if(!A)if(null!==h(r))A=!0,I(J);else{var b=h(t);null!==b&&K(H,b.startTime-a)}}\nfunction J(a,b){A=!1;B&&(B=!1,E(L),L=-1);z=!0;var c=y;try{G(b);for(v=h(r);null!==v&&(!(v.expirationTime>b)||a&&!M());){var d=v.callback;if(\"function\"===typeof d){v.callback=null;y=v.priorityLevel;var e=d(v.expirationTime<=b);b=exports.unstable_now();\"function\"===typeof e?v.callback=e:v===h(r)&&k(r);G(b)}else k(r);v=h(r)}if(null!==v)var w=!0;else{var m=h(t);null!==m&&K(H,m.startTime-b);w=!1}return w}finally{v=null,y=c,z=!1}}var N=!1,O=null,L=-1,P=5,Q=-1;\nfunction M(){return exports.unstable_now()-Qa||125d?(a.sortIndex=c,f(t,a),null===h(r)&&a===h(t)&&(B?(E(L),L=-1):B=!0,K(H,c-d))):(a.sortIndex=e,f(r,a),A||z||(A=!0,I(J)));return a};\nexports.unstable_shouldYield=M;exports.unstable_wrapCallback=function(a){var b=y;return function(){var c=y;y=b;try{return a.apply(this,arguments)}finally{y=c}}};\n","'use strict';\n\nif (process.env.NODE_ENV === 'production') {\n module.exports = require('./cjs/scheduler.production.min.js');\n} else {\n module.exports = require('./cjs/scheduler.development.js');\n}\n","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\t// no module.id needed\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId](module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n// expose the modules object (__webpack_modules__)\n__webpack_require__.m = __webpack_modules__;\n\n","var getProto = Object.getPrototypeOf ? function(obj) { return Object.getPrototypeOf(obj); } : function(obj) { return obj.__proto__; };\nvar leafPrototypes;\n// create a fake namespace object\n// mode & 1: value is a module id, require it\n// mode & 2: merge all properties of value into the ns\n// mode & 4: return value when already ns object\n// mode & 16: return value when it's Promise-like\n// mode & 8|1: behave like require\n__webpack_require__.t = function(value, mode) {\n\tif(mode & 1) value = this(value);\n\tif(mode & 8) return value;\n\tif(typeof value === 'object' && value) {\n\t\tif((mode & 4) && value.__esModule) return value;\n\t\tif((mode & 16) && typeof value.then === 'function') return value;\n\t}\n\tvar ns = Object.create(null);\n\t__webpack_require__.r(ns);\n\tvar def = {};\n\tleafPrototypes = leafPrototypes || [null, getProto({}), getProto([]), getProto(getProto)];\n\tfor(var current = mode & 2 && value; typeof current == 'object' && !~leafPrototypes.indexOf(current); current = getProto(current)) {\n\t\tObject.getOwnPropertyNames(current).forEach(function(key) { def[key] = function() { return value[key]; }; });\n\t}\n\tdef['default'] = function() { return value; };\n\t__webpack_require__.d(ns, def);\n\treturn ns;\n};","// define getter functions for harmony exports\n__webpack_require__.d = function(exports, definition) {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.f = {};\n// This file contains only the entry chunk.\n// The chunk loading function for additional chunks\n__webpack_require__.e = function(chunkId) {\n\treturn Promise.all(Object.keys(__webpack_require__.f).reduce(function(promises, key) {\n\t\t__webpack_require__.f[key](chunkId, promises);\n\t\treturn promises;\n\t}, []));\n};","// This function allow to reference async chunks\n__webpack_require__.u = function(chunkId) {\n\t// return url for filenames based on template\n\treturn \"static/js/\" + chunkId + \".\" + \"4e33b82c\" + \".chunk.js\";\n};","// This function allow to reference async chunks\n__webpack_require__.miniCssF = function(chunkId) {\n\t// return url for filenames based on template\n\treturn undefined;\n};","__webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }","var inProgress = {};\nvar dataWebpackPrefix = \"newskeeper.web:\";\n// loadScript function to load a script via script tag\n__webpack_require__.l = function(url, done, key, chunkId) {\n\tif(inProgress[url]) { inProgress[url].push(done); return; }\n\tvar script, needAttach;\n\tif(key !== undefined) {\n\t\tvar scripts = document.getElementsByTagName(\"script\");\n\t\tfor(var i = 0; i < scripts.length; i++) {\n\t\t\tvar s = scripts[i];\n\t\t\tif(s.getAttribute(\"src\") == url || s.getAttribute(\"data-webpack\") == dataWebpackPrefix + key) { script = s; break; }\n\t\t}\n\t}\n\tif(!script) {\n\t\tneedAttach = true;\n\t\tscript = document.createElement('script');\n\n\t\tscript.charset = 'utf-8';\n\t\tscript.timeout = 120;\n\t\tif (__webpack_require__.nc) {\n\t\t\tscript.setAttribute(\"nonce\", __webpack_require__.nc);\n\t\t}\n\t\tscript.setAttribute(\"data-webpack\", dataWebpackPrefix + key);\n\t\tscript.src = url;\n\t}\n\tinProgress[url] = [done];\n\tvar onScriptComplete = function(prev, event) {\n\t\t// avoid mem leaks in IE.\n\t\tscript.onerror = script.onload = null;\n\t\tclearTimeout(timeout);\n\t\tvar doneFns = inProgress[url];\n\t\tdelete inProgress[url];\n\t\tscript.parentNode && script.parentNode.removeChild(script);\n\t\tdoneFns && doneFns.forEach(function(fn) { return fn(event); });\n\t\tif(prev) return prev(event);\n\t};\n\tvar timeout = setTimeout(onScriptComplete.bind(null, undefined, { type: 'timeout', target: script }), 120000);\n\tscript.onerror = onScriptComplete.bind(null, script.onerror);\n\tscript.onload = onScriptComplete.bind(null, script.onload);\n\tneedAttach && document.head.appendChild(script);\n};","// define __esModule on exports\n__webpack_require__.r = function(exports) {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","__webpack_require__.p = \"/\";","// no baseURI\n\n// object to store loaded and loading chunks\n// undefined = chunk not loaded, null = chunk preloaded/prefetched\n// [resolve, reject, Promise] = chunk loading, 0 = chunk loaded\nvar installedChunks = {\n\t179: 0\n};\n\n__webpack_require__.f.j = function(chunkId, promises) {\n\t\t// JSONP chunk loading for javascript\n\t\tvar installedChunkData = __webpack_require__.o(installedChunks, chunkId) ? installedChunks[chunkId] : undefined;\n\t\tif(installedChunkData !== 0) { // 0 means \"already installed\".\n\n\t\t\t// a Promise means \"currently loading\".\n\t\t\tif(installedChunkData) {\n\t\t\t\tpromises.push(installedChunkData[2]);\n\t\t\t} else {\n\t\t\t\tif(true) { // all chunks have JS\n\t\t\t\t\t// setup Promise in chunk cache\n\t\t\t\t\tvar promise = new Promise(function(resolve, reject) { installedChunkData = installedChunks[chunkId] = [resolve, reject]; });\n\t\t\t\t\tpromises.push(installedChunkData[2] = promise);\n\n\t\t\t\t\t// start chunk loading\n\t\t\t\t\tvar url = __webpack_require__.p + __webpack_require__.u(chunkId);\n\t\t\t\t\t// create error before stack unwound to get useful stacktrace later\n\t\t\t\t\tvar error = new Error();\n\t\t\t\t\tvar loadingEnded = function(event) {\n\t\t\t\t\t\tif(__webpack_require__.o(installedChunks, chunkId)) {\n\t\t\t\t\t\t\tinstalledChunkData = installedChunks[chunkId];\n\t\t\t\t\t\t\tif(installedChunkData !== 0) installedChunks[chunkId] = undefined;\n\t\t\t\t\t\t\tif(installedChunkData) {\n\t\t\t\t\t\t\t\tvar errorType = event && (event.type === 'load' ? 'missing' : event.type);\n\t\t\t\t\t\t\t\tvar realSrc = event && event.target && event.target.src;\n\t\t\t\t\t\t\t\terror.message = 'Loading chunk ' + chunkId + ' failed.\\n(' + errorType + ': ' + realSrc + ')';\n\t\t\t\t\t\t\t\terror.name = 'ChunkLoadError';\n\t\t\t\t\t\t\t\terror.type = errorType;\n\t\t\t\t\t\t\t\terror.request = realSrc;\n\t\t\t\t\t\t\t\tinstalledChunkData[1](error);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\t__webpack_require__.l(url, loadingEnded, \"chunk-\" + chunkId, chunkId);\n\t\t\t\t} else installedChunks[chunkId] = 0;\n\t\t\t}\n\t\t}\n};\n\n// no prefetching\n\n// no preloaded\n\n// no HMR\n\n// no HMR manifest\n\n// no on chunks loaded\n\n// install a JSONP callback for chunk loading\nvar webpackJsonpCallback = function(parentChunkLoadingFunction, data) {\n\tvar chunkIds = data[0];\n\tvar moreModules = data[1];\n\tvar runtime = data[2];\n\t// add \"moreModules\" to the modules object,\n\t// then flag all \"chunkIds\" as loaded and fire callback\n\tvar moduleId, chunkId, i = 0;\n\tif(chunkIds.some(function(id) { return installedChunks[id] !== 0; })) {\n\t\tfor(moduleId in moreModules) {\n\t\t\tif(__webpack_require__.o(moreModules, moduleId)) {\n\t\t\t\t__webpack_require__.m[moduleId] = moreModules[moduleId];\n\t\t\t}\n\t\t}\n\t\tif(runtime) var result = runtime(__webpack_require__);\n\t}\n\tif(parentChunkLoadingFunction) parentChunkLoadingFunction(data);\n\tfor(;i < chunkIds.length; i++) {\n\t\tchunkId = chunkIds[i];\n\t\tif(__webpack_require__.o(installedChunks, chunkId) && installedChunks[chunkId]) {\n\t\t\tinstalledChunks[chunkId][0]();\n\t\t}\n\t\tinstalledChunks[chunkId] = 0;\n\t}\n\n}\n\nvar chunkLoadingGlobal = self[\"webpackChunknewskeeper_web\"] = self[\"webpackChunknewskeeper_web\"] || [];\nchunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0));\nchunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal));","////////////////////////////////////////////////////////////////////////////////\n//#region Types and Constants\n////////////////////////////////////////////////////////////////////////////////\n\n/**\n * Actions represent the type of change to a location value.\n */\nexport enum Action {\n /**\n * A POP indicates a change to an arbitrary index in the history stack, such\n * as a back or forward navigation. It does not describe the direction of the\n * navigation, only that the current index changed.\n *\n * Note: This is the default action for newly created history objects.\n */\n Pop = \"POP\",\n\n /**\n * A PUSH indicates a new entry being added to the history stack, such as when\n * a link is clicked and a new page loads. When this happens, all subsequent\n * entries in the stack are lost.\n */\n Push = \"PUSH\",\n\n /**\n * A REPLACE indicates the entry at the current index in the history stack\n * being replaced by a new one.\n */\n Replace = \"REPLACE\",\n}\n\n/**\n * The pathname, search, and hash values of a URL.\n */\nexport interface Path {\n /**\n * A URL pathname, beginning with a /.\n */\n pathname: string;\n\n /**\n * A URL search string, beginning with a ?.\n */\n search: string;\n\n /**\n * A URL fragment identifier, beginning with a #.\n */\n hash: string;\n}\n\n/**\n * An entry in a history stack. A location contains information about the\n * URL path, as well as possibly some arbitrary state and a key.\n */\nexport interface Location extends Path {\n /**\n * A value of arbitrary data associated with this location.\n */\n state: any;\n\n /**\n * A unique string associated with this location. May be used to safely store\n * and retrieve data in some other storage API, like `localStorage`.\n *\n * Note: This value is always \"default\" on the initial location.\n */\n key: string;\n}\n\n/**\n * A change to the current location.\n */\nexport interface Update {\n /**\n * The action that triggered the change.\n */\n action: Action;\n\n /**\n * The new location.\n */\n location: Location;\n\n /**\n * The delta between this location and the former location in the history stack\n */\n delta: number | null;\n}\n\n/**\n * A function that receives notifications about location changes.\n */\nexport interface Listener {\n (update: Update): void;\n}\n\n/**\n * Describes a location that is the destination of some navigation, either via\n * `history.push` or `history.replace`. May be either a URL or the pieces of a\n * URL path.\n */\nexport type To = string | Partial;\n\n/**\n * A history is an interface to the navigation stack. The history serves as the\n * source of truth for the current location, as well as provides a set of\n * methods that may be used to change it.\n *\n * It is similar to the DOM's `window.history` object, but with a smaller, more\n * focused API.\n */\nexport interface History {\n /**\n * The last action that modified the current location. This will always be\n * Action.Pop when a history instance is first created. This value is mutable.\n */\n readonly action: Action;\n\n /**\n * The current location. This value is mutable.\n */\n readonly location: Location;\n\n /**\n * Returns a valid href for the given `to` value that may be used as\n * the value of an attribute.\n *\n * @param to - The destination URL\n */\n createHref(to: To): string;\n\n /**\n * Returns a URL for the given `to` value\n *\n * @param to - The destination URL\n */\n createURL(to: To): URL;\n\n /**\n * Encode a location the same way window.history would do (no-op for memory\n * history) so we ensure our PUSH/REPLACE navigations for data routers\n * behave the same as POP\n *\n * @param to Unencoded path\n */\n encodeLocation(to: To): Path;\n\n /**\n * Pushes a new location onto the history stack, increasing its length by one.\n * If there were any entries in the stack after the current one, they are\n * lost.\n *\n * @param to - The new URL\n * @param state - Data to associate with the new location\n */\n push(to: To, state?: any): void;\n\n /**\n * Replaces the current location in the history stack with a new one. The\n * location that was replaced will no longer be available.\n *\n * @param to - The new URL\n * @param state - Data to associate with the new location\n */\n replace(to: To, state?: any): void;\n\n /**\n * Navigates `n` entries backward/forward in the history stack relative to the\n * current index. For example, a \"back\" navigation would use go(-1).\n *\n * @param delta - The delta in the stack index\n */\n go(delta: number): void;\n\n /**\n * Sets up a listener that will be called whenever the current location\n * changes.\n *\n * @param listener - A function that will be called when the location changes\n * @returns unlisten - A function that may be used to stop listening\n */\n listen(listener: Listener): () => void;\n}\n\ntype HistoryState = {\n usr: any;\n key?: string;\n idx: number;\n};\n\nconst PopStateEventType = \"popstate\";\n//#endregion\n\n////////////////////////////////////////////////////////////////////////////////\n//#region Memory History\n////////////////////////////////////////////////////////////////////////////////\n\n/**\n * A user-supplied object that describes a location. Used when providing\n * entries to `createMemoryHistory` via its `initialEntries` option.\n */\nexport type InitialEntry = string | Partial;\n\nexport type MemoryHistoryOptions = {\n initialEntries?: InitialEntry[];\n initialIndex?: number;\n v5Compat?: boolean;\n};\n\n/**\n * A memory history stores locations in memory. This is useful in stateful\n * environments where there is no web browser, such as node tests or React\n * Native.\n */\nexport interface MemoryHistory extends History {\n /**\n * The current index in the history stack.\n */\n readonly index: number;\n}\n\n/**\n * Memory history stores the current location in memory. It is designed for use\n * in stateful non-browser environments like tests and React Native.\n */\nexport function createMemoryHistory(\n options: MemoryHistoryOptions = {}\n): MemoryHistory {\n let { initialEntries = [\"/\"], initialIndex, v5Compat = false } = options;\n let entries: Location[]; // Declare so we can access from createMemoryLocation\n entries = initialEntries.map((entry, index) =>\n createMemoryLocation(\n entry,\n typeof entry === \"string\" ? null : entry.state,\n index === 0 ? \"default\" : undefined\n )\n );\n let index = clampIndex(\n initialIndex == null ? entries.length - 1 : initialIndex\n );\n let action = Action.Pop;\n let listener: Listener | null = null;\n\n function clampIndex(n: number): number {\n return Math.min(Math.max(n, 0), entries.length - 1);\n }\n function getCurrentLocation(): Location {\n return entries[index];\n }\n function createMemoryLocation(\n to: To,\n state: any = null,\n key?: string\n ): Location {\n let location = createLocation(\n entries ? getCurrentLocation().pathname : \"/\",\n to,\n state,\n key\n );\n warning(\n location.pathname.charAt(0) === \"/\",\n `relative pathnames are not supported in memory history: ${JSON.stringify(\n to\n )}`\n );\n return location;\n }\n\n function createHref(to: To) {\n return typeof to === \"string\" ? to : createPath(to);\n }\n\n let history: MemoryHistory = {\n get index() {\n return index;\n },\n get action() {\n return action;\n },\n get location() {\n return getCurrentLocation();\n },\n createHref,\n createURL(to) {\n return new URL(createHref(to), \"http://localhost\");\n },\n encodeLocation(to: To) {\n let path = typeof to === \"string\" ? parsePath(to) : to;\n return {\n pathname: path.pathname || \"\",\n search: path.search || \"\",\n hash: path.hash || \"\",\n };\n },\n push(to, state) {\n action = Action.Push;\n let nextLocation = createMemoryLocation(to, state);\n index += 1;\n entries.splice(index, entries.length, nextLocation);\n if (v5Compat && listener) {\n listener({ action, location: nextLocation, delta: 1 });\n }\n },\n replace(to, state) {\n action = Action.Replace;\n let nextLocation = createMemoryLocation(to, state);\n entries[index] = nextLocation;\n if (v5Compat && listener) {\n listener({ action, location: nextLocation, delta: 0 });\n }\n },\n go(delta) {\n action = Action.Pop;\n let nextIndex = clampIndex(index + delta);\n let nextLocation = entries[nextIndex];\n index = nextIndex;\n if (listener) {\n listener({ action, location: nextLocation, delta });\n }\n },\n listen(fn: Listener) {\n listener = fn;\n return () => {\n listener = null;\n };\n },\n };\n\n return history;\n}\n//#endregion\n\n////////////////////////////////////////////////////////////////////////////////\n//#region Browser History\n////////////////////////////////////////////////////////////////////////////////\n\n/**\n * A browser history stores the current location in regular URLs in a web\n * browser environment. This is the standard for most web apps and provides the\n * cleanest URLs the browser's address bar.\n *\n * @see https://github.com/remix-run/history/tree/main/docs/api-reference.md#browserhistory\n */\nexport interface BrowserHistory extends UrlHistory {}\n\nexport type BrowserHistoryOptions = UrlHistoryOptions;\n\n/**\n * Browser history stores the location in regular URLs. This is the standard for\n * most web apps, but it requires some configuration on the server to ensure you\n * serve the same app at multiple URLs.\n *\n * @see https://github.com/remix-run/history/tree/main/docs/api-reference.md#createbrowserhistory\n */\nexport function createBrowserHistory(\n options: BrowserHistoryOptions = {}\n): BrowserHistory {\n function createBrowserLocation(\n window: Window,\n globalHistory: Window[\"history\"]\n ) {\n let { pathname, search, hash } = window.location;\n return createLocation(\n \"\",\n { pathname, search, hash },\n // state defaults to `null` because `window.history.state` does\n (globalHistory.state && globalHistory.state.usr) || null,\n (globalHistory.state && globalHistory.state.key) || \"default\"\n );\n }\n\n function createBrowserHref(window: Window, to: To) {\n return typeof to === \"string\" ? to : createPath(to);\n }\n\n return getUrlBasedHistory(\n createBrowserLocation,\n createBrowserHref,\n null,\n options\n );\n}\n//#endregion\n\n////////////////////////////////////////////////////////////////////////////////\n//#region Hash History\n////////////////////////////////////////////////////////////////////////////////\n\n/**\n * A hash history stores the current location in the fragment identifier portion\n * of the URL in a web browser environment.\n *\n * This is ideal for apps that do not control the server for some reason\n * (because the fragment identifier is never sent to the server), including some\n * shared hosting environments that do not provide fine-grained controls over\n * which pages are served at which URLs.\n *\n * @see https://github.com/remix-run/history/tree/main/docs/api-reference.md#hashhistory\n */\nexport interface HashHistory extends UrlHistory {}\n\nexport type HashHistoryOptions = UrlHistoryOptions;\n\n/**\n * Hash history stores the location in window.location.hash. This makes it ideal\n * for situations where you don't want to send the location to the server for\n * some reason, either because you do cannot configure it or the URL space is\n * reserved for something else.\n *\n * @see https://github.com/remix-run/history/tree/main/docs/api-reference.md#createhashhistory\n */\nexport function createHashHistory(\n options: HashHistoryOptions = {}\n): HashHistory {\n function createHashLocation(\n window: Window,\n globalHistory: Window[\"history\"]\n ) {\n let {\n pathname = \"/\",\n search = \"\",\n hash = \"\",\n } = parsePath(window.location.hash.substr(1));\n return createLocation(\n \"\",\n { pathname, search, hash },\n // state defaults to `null` because `window.history.state` does\n (globalHistory.state && globalHistory.state.usr) || null,\n (globalHistory.state && globalHistory.state.key) || \"default\"\n );\n }\n\n function createHashHref(window: Window, to: To) {\n let base = window.document.querySelector(\"base\");\n let href = \"\";\n\n if (base && base.getAttribute(\"href\")) {\n let url = window.location.href;\n let hashIndex = url.indexOf(\"#\");\n href = hashIndex === -1 ? url : url.slice(0, hashIndex);\n }\n\n return href + \"#\" + (typeof to === \"string\" ? to : createPath(to));\n }\n\n function validateHashLocation(location: Location, to: To) {\n warning(\n location.pathname.charAt(0) === \"/\",\n `relative pathnames are not supported in hash history.push(${JSON.stringify(\n to\n )})`\n );\n }\n\n return getUrlBasedHistory(\n createHashLocation,\n createHashHref,\n validateHashLocation,\n options\n );\n}\n//#endregion\n\n////////////////////////////////////////////////////////////////////////////////\n//#region UTILS\n////////////////////////////////////////////////////////////////////////////////\n\n/**\n * @private\n */\nexport function invariant(value: boolean, message?: string): asserts value;\nexport function invariant(\n value: T | null | undefined,\n message?: string\n): asserts value is T;\nexport function invariant(value: any, message?: string) {\n if (value === false || value === null || typeof value === \"undefined\") {\n throw new Error(message);\n }\n}\n\nfunction warning(cond: any, message: string) {\n if (!cond) {\n // eslint-disable-next-line no-console\n if (typeof console !== \"undefined\") console.warn(message);\n\n try {\n // Welcome to debugging history!\n //\n // This error is thrown as a convenience so you can more easily\n // find the source for a warning that appears in the console by\n // enabling \"pause on exceptions\" in your JavaScript debugger.\n throw new Error(message);\n // eslint-disable-next-line no-empty\n } catch (e) {}\n }\n}\n\nfunction createKey() {\n return Math.random().toString(36).substr(2, 8);\n}\n\n/**\n * For browser-based histories, we combine the state and key into an object\n */\nfunction getHistoryState(location: Location, index: number): HistoryState {\n return {\n usr: location.state,\n key: location.key,\n idx: index,\n };\n}\n\n/**\n * Creates a Location object with a unique key from the given Path\n */\nexport function createLocation(\n current: string | Location,\n to: To,\n state: any = null,\n key?: string\n): Readonly {\n let location: Readonly = {\n pathname: typeof current === \"string\" ? current : current.pathname,\n search: \"\",\n hash: \"\",\n ...(typeof to === \"string\" ? parsePath(to) : to),\n state,\n // TODO: This could be cleaned up. push/replace should probably just take\n // full Locations now and avoid the need to run through this flow at all\n // But that's a pretty big refactor to the current test suite so going to\n // keep as is for the time being and just let any incoming keys take precedence\n key: (to && (to as Location).key) || key || createKey(),\n };\n return location;\n}\n\n/**\n * Creates a string URL path from the given pathname, search, and hash components.\n */\nexport function createPath({\n pathname = \"/\",\n search = \"\",\n hash = \"\",\n}: Partial) {\n if (search && search !== \"?\")\n pathname += search.charAt(0) === \"?\" ? search : \"?\" + search;\n if (hash && hash !== \"#\")\n pathname += hash.charAt(0) === \"#\" ? hash : \"#\" + hash;\n return pathname;\n}\n\n/**\n * Parses a string URL path into its separate pathname, search, and hash components.\n */\nexport function parsePath(path: string): Partial {\n let parsedPath: Partial = {};\n\n if (path) {\n let hashIndex = path.indexOf(\"#\");\n if (hashIndex >= 0) {\n parsedPath.hash = path.substr(hashIndex);\n path = path.substr(0, hashIndex);\n }\n\n let searchIndex = path.indexOf(\"?\");\n if (searchIndex >= 0) {\n parsedPath.search = path.substr(searchIndex);\n path = path.substr(0, searchIndex);\n }\n\n if (path) {\n parsedPath.pathname = path;\n }\n }\n\n return parsedPath;\n}\n\nexport interface UrlHistory extends History {}\n\nexport type UrlHistoryOptions = {\n window?: Window;\n v5Compat?: boolean;\n};\n\nfunction getUrlBasedHistory(\n getLocation: (window: Window, globalHistory: Window[\"history\"]) => Location,\n createHref: (window: Window, to: To) => string,\n validateLocation: ((location: Location, to: To) => void) | null,\n options: UrlHistoryOptions = {}\n): UrlHistory {\n let { window = document.defaultView!, v5Compat = false } = options;\n let globalHistory = window.history;\n let action = Action.Pop;\n let listener: Listener | null = null;\n\n let index = getIndex()!;\n // Index should only be null when we initialize. If not, it's because the\n // user called history.pushState or history.replaceState directly, in which\n // case we should log a warning as it will result in bugs.\n if (index == null) {\n index = 0;\n globalHistory.replaceState({ ...globalHistory.state, idx: index }, \"\");\n }\n\n function getIndex(): number {\n let state = globalHistory.state || { idx: null };\n return state.idx;\n }\n\n function handlePop() {\n action = Action.Pop;\n let nextIndex = getIndex();\n let delta = nextIndex == null ? null : nextIndex - index;\n index = nextIndex;\n if (listener) {\n listener({ action, location: history.location, delta });\n }\n }\n\n function push(to: To, state?: any) {\n action = Action.Push;\n let location = createLocation(history.location, to, state);\n if (validateLocation) validateLocation(location, to);\n\n index = getIndex() + 1;\n let historyState = getHistoryState(location, index);\n let url = history.createHref(location);\n\n // try...catch because iOS limits us to 100 pushState calls :/\n try {\n globalHistory.pushState(historyState, \"\", url);\n } catch (error) {\n // They are going to lose state here, but there is no real\n // way to warn them about it since the page will refresh...\n window.location.assign(url);\n }\n\n if (v5Compat && listener) {\n listener({ action, location: history.location, delta: 1 });\n }\n }\n\n function replace(to: To, state?: any) {\n action = Action.Replace;\n let location = createLocation(history.location, to, state);\n if (validateLocation) validateLocation(location, to);\n\n index = getIndex();\n let historyState = getHistoryState(location, index);\n let url = history.createHref(location);\n globalHistory.replaceState(historyState, \"\", url);\n\n if (v5Compat && listener) {\n listener({ action, location: history.location, delta: 0 });\n }\n }\n\n function createURL(to: To): URL {\n // window.location.origin is \"null\" (the literal string value) in Firefox\n // under certain conditions, notably when serving from a local HTML file\n // See https://bugzilla.mozilla.org/show_bug.cgi?id=878297\n let base =\n window.location.origin !== \"null\"\n ? window.location.origin\n : window.location.href;\n\n let href = typeof to === \"string\" ? to : createPath(to);\n invariant(\n base,\n `No window.location.(origin|href) available to create URL for href: ${href}`\n );\n return new URL(href, base);\n }\n\n let history: History = {\n get action() {\n return action;\n },\n get location() {\n return getLocation(window, globalHistory);\n },\n listen(fn: Listener) {\n if (listener) {\n throw new Error(\"A history only accepts one active listener\");\n }\n window.addEventListener(PopStateEventType, handlePop);\n listener = fn;\n\n return () => {\n window.removeEventListener(PopStateEventType, handlePop);\n listener = null;\n };\n },\n createHref(to) {\n return createHref(window, to);\n },\n createURL,\n encodeLocation(to) {\n // Encode a Location the same way window.location would\n let url = createURL(to);\n return {\n pathname: url.pathname,\n search: url.search,\n hash: url.hash,\n };\n },\n push,\n replace,\n go(n) {\n return globalHistory.go(n);\n },\n };\n\n return history;\n}\n\n//#endregion\n","export default function _arrayWithHoles(arr) {\n if (Array.isArray(arr)) return arr;\n}","export default function _arrayLikeToArray(arr, len) {\n if (len == null || len > arr.length) len = arr.length;\n for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];\n return arr2;\n}","import arrayLikeToArray from \"./arrayLikeToArray.js\";\nexport default function _unsupportedIterableToArray(o, minLen) {\n if (!o) return;\n if (typeof o === \"string\") return arrayLikeToArray(o, minLen);\n var n = Object.prototype.toString.call(o).slice(8, -1);\n if (n === \"Object\" && o.constructor) n = o.constructor.name;\n if (n === \"Map\" || n === \"Set\") return Array.from(o);\n if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return arrayLikeToArray(o, minLen);\n}","export default function _nonIterableRest() {\n throw new TypeError(\"Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\");\n}","import arrayWithHoles from \"./arrayWithHoles.js\";\nimport iterableToArrayLimit from \"./iterableToArrayLimit.js\";\nimport unsupportedIterableToArray from \"./unsupportedIterableToArray.js\";\nimport nonIterableRest from \"./nonIterableRest.js\";\nexport default function _slicedToArray(arr, i) {\n return arrayWithHoles(arr) || iterableToArrayLimit(arr, i) || unsupportedIterableToArray(arr, i) || nonIterableRest();\n}","export default function _iterableToArrayLimit(arr, i) {\n var _i = null == arr ? null : \"undefined\" != typeof Symbol && arr[Symbol.iterator] || arr[\"@@iterator\"];\n if (null != _i) {\n var _s,\n _e,\n _x,\n _r,\n _arr = [],\n _n = !0,\n _d = !1;\n try {\n if (_x = (_i = _i.call(arr)).next, 0 === i) {\n if (Object(_i) !== _i) return;\n _n = !1;\n } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0);\n } catch (err) {\n _d = !0, _e = err;\n } finally {\n try {\n if (!_n && null != _i[\"return\"] && (_r = _i[\"return\"](), Object(_r) !== _r)) return;\n } finally {\n if (_d) throw _e;\n }\n }\n return _arr;\n }\n}","export default function _iterableToArray(iter) {\n if (typeof Symbol !== \"undefined\" && iter[Symbol.iterator] != null || iter[\"@@iterator\"] != null) return Array.from(iter);\n}","import arrayWithoutHoles from \"./arrayWithoutHoles.js\";\nimport iterableToArray from \"./iterableToArray.js\";\nimport unsupportedIterableToArray from \"./unsupportedIterableToArray.js\";\nimport nonIterableSpread from \"./nonIterableSpread.js\";\nexport default function _toConsumableArray(arr) {\n return arrayWithoutHoles(arr) || iterableToArray(arr) || unsupportedIterableToArray(arr) || nonIterableSpread();\n}","import arrayLikeToArray from \"./arrayLikeToArray.js\";\nexport default function _arrayWithoutHoles(arr) {\n if (Array.isArray(arr)) return arrayLikeToArray(arr);\n}","export default function _nonIterableSpread() {\n throw new TypeError(\"Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\");\n}","export default function _classCallCheck(instance, Constructor) {\n if (!(instance instanceof Constructor)) {\n throw new TypeError(\"Cannot call a class as a function\");\n }\n}","export default function _typeof(obj) {\n \"@babel/helpers - typeof\";\n\n return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) {\n return typeof obj;\n } : function (obj) {\n return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj;\n }, _typeof(obj);\n}","import _typeof from \"./typeof.js\";\nimport toPrimitive from \"./toPrimitive.js\";\nexport default function _toPropertyKey(arg) {\n var key = toPrimitive(arg, \"string\");\n return _typeof(key) === \"symbol\" ? key : String(key);\n}","import _typeof from \"./typeof.js\";\nexport default function _toPrimitive(input, hint) {\n if (_typeof(input) !== \"object\" || input === null) return input;\n var prim = input[Symbol.toPrimitive];\n if (prim !== undefined) {\n var res = prim.call(input, hint || \"default\");\n if (_typeof(res) !== \"object\") return res;\n throw new TypeError(\"@@toPrimitive must return a primitive value.\");\n }\n return (hint === \"string\" ? String : Number)(input);\n}","import toPropertyKey from \"./toPropertyKey.js\";\nfunction _defineProperties(target, props) {\n for (var i = 0; i < props.length; i++) {\n var descriptor = props[i];\n descriptor.enumerable = descriptor.enumerable || false;\n descriptor.configurable = true;\n if (\"value\" in descriptor) descriptor.writable = true;\n Object.defineProperty(target, toPropertyKey(descriptor.key), descriptor);\n }\n}\nexport default function _createClass(Constructor, protoProps, staticProps) {\n if (protoProps) _defineProperties(Constructor.prototype, protoProps);\n if (staticProps) _defineProperties(Constructor, staticProps);\n Object.defineProperty(Constructor, \"prototype\", {\n writable: false\n });\n return Constructor;\n}","export default function _setPrototypeOf(o, p) {\n _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) {\n o.__proto__ = p;\n return o;\n };\n return _setPrototypeOf(o, p);\n}","import setPrototypeOf from \"./setPrototypeOf.js\";\nexport default function _inherits(subClass, superClass) {\n if (typeof superClass !== \"function\" && superClass !== null) {\n throw new TypeError(\"Super expression must either be null or a function\");\n }\n subClass.prototype = Object.create(superClass && superClass.prototype, {\n constructor: {\n value: subClass,\n writable: true,\n configurable: true\n }\n });\n Object.defineProperty(subClass, \"prototype\", {\n writable: false\n });\n if (superClass) setPrototypeOf(subClass, superClass);\n}","export default function _getPrototypeOf(o) {\n _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) {\n return o.__proto__ || Object.getPrototypeOf(o);\n };\n return _getPrototypeOf(o);\n}","export default function _isNativeReflectConstruct() {\n if (typeof Reflect === \"undefined\" || !Reflect.construct) return false;\n if (Reflect.construct.sham) return false;\n if (typeof Proxy === \"function\") return true;\n try {\n Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));\n return true;\n } catch (e) {\n return false;\n }\n}","export default function _assertThisInitialized(self) {\n if (self === void 0) {\n throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n }\n return self;\n}","import getPrototypeOf from \"./getPrototypeOf.js\";\nimport isNativeReflectConstruct from \"./isNativeReflectConstruct.js\";\nimport possibleConstructorReturn from \"./possibleConstructorReturn.js\";\nexport default function _createSuper(Derived) {\n var hasNativeReflectConstruct = isNativeReflectConstruct();\n return function _createSuperInternal() {\n var Super = getPrototypeOf(Derived),\n result;\n if (hasNativeReflectConstruct) {\n var NewTarget = getPrototypeOf(this).constructor;\n result = Reflect.construct(Super, arguments, NewTarget);\n } else {\n result = Super.apply(this, arguments);\n }\n return possibleConstructorReturn(this, result);\n };\n}","import _typeof from \"./typeof.js\";\nimport assertThisInitialized from \"./assertThisInitialized.js\";\nexport default function _possibleConstructorReturn(self, call) {\n if (call && (_typeof(call) === \"object\" || typeof call === \"function\")) {\n return call;\n } else if (call !== void 0) {\n throw new TypeError(\"Derived constructors may only return object or undefined\");\n }\n return assertThisInitialized(self);\n}","import setPrototypeOf from \"./setPrototypeOf.js\";\nimport isNativeReflectConstruct from \"./isNativeReflectConstruct.js\";\nexport default function _construct(Parent, args, Class) {\n if (isNativeReflectConstruct()) {\n _construct = Reflect.construct.bind();\n } else {\n _construct = function _construct(Parent, args, Class) {\n var a = [null];\n a.push.apply(a, args);\n var Constructor = Function.bind.apply(Parent, a);\n var instance = new Constructor();\n if (Class) setPrototypeOf(instance, Class.prototype);\n return instance;\n };\n }\n return _construct.apply(null, arguments);\n}","import getPrototypeOf from \"./getPrototypeOf.js\";\nimport setPrototypeOf from \"./setPrototypeOf.js\";\nimport isNativeFunction from \"./isNativeFunction.js\";\nimport construct from \"./construct.js\";\nexport default function _wrapNativeSuper(Class) {\n var _cache = typeof Map === \"function\" ? new Map() : undefined;\n _wrapNativeSuper = function _wrapNativeSuper(Class) {\n if (Class === null || !isNativeFunction(Class)) return Class;\n if (typeof Class !== \"function\") {\n throw new TypeError(\"Super expression must either be null or a function\");\n }\n if (typeof _cache !== \"undefined\") {\n if (_cache.has(Class)) return _cache.get(Class);\n _cache.set(Class, Wrapper);\n }\n function Wrapper() {\n return construct(Class, arguments, getPrototypeOf(this).constructor);\n }\n Wrapper.prototype = Object.create(Class.prototype, {\n constructor: {\n value: Wrapper,\n enumerable: false,\n writable: true,\n configurable: true\n }\n });\n return setPrototypeOf(Wrapper, Class);\n };\n return _wrapNativeSuper(Class);\n}","export default function _isNativeFunction(fn) {\n return Function.toString.call(fn).indexOf(\"[native code]\") !== -1;\n}","import unsupportedIterableToArray from \"./unsupportedIterableToArray.js\";\nexport default function _createForOfIteratorHelper(o, allowArrayLike) {\n var it = typeof Symbol !== \"undefined\" && o[Symbol.iterator] || o[\"@@iterator\"];\n if (!it) {\n if (Array.isArray(o) || (it = unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === \"number\") {\n if (it) o = it;\n var i = 0;\n var F = function F() {};\n return {\n s: F,\n n: function n() {\n if (i >= o.length) return {\n done: true\n };\n return {\n done: false,\n value: o[i++]\n };\n },\n e: function e(_e) {\n throw _e;\n },\n f: F\n };\n }\n throw new TypeError(\"Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\");\n }\n var normalCompletion = true,\n didErr = false,\n err;\n return {\n s: function s() {\n it = it.call(o);\n },\n n: function n() {\n var step = it.next();\n normalCompletion = step.done;\n return step;\n },\n e: function e(_e2) {\n didErr = true;\n err = _e2;\n },\n f: function f() {\n try {\n if (!normalCompletion && it[\"return\"] != null) it[\"return\"]();\n } finally {\n if (didErr) throw err;\n }\n }\n };\n}","import type { Location, Path, To } from \"./history\";\nimport { invariant, parsePath } from \"./history\";\n\n/**\n * Map of routeId -> data returned from a loader/action/error\n */\nexport interface RouteData {\n [routeId: string]: any;\n}\n\nexport enum ResultType {\n data = \"data\",\n deferred = \"deferred\",\n redirect = \"redirect\",\n error = \"error\",\n}\n\n/**\n * Successful result from a loader or action\n */\nexport interface SuccessResult {\n type: ResultType.data;\n data: any;\n statusCode?: number;\n headers?: Headers;\n}\n\n/**\n * Successful defer() result from a loader or action\n */\nexport interface DeferredResult {\n type: ResultType.deferred;\n deferredData: DeferredData;\n statusCode?: number;\n headers?: Headers;\n}\n\n/**\n * Redirect result from a loader or action\n */\nexport interface RedirectResult {\n type: ResultType.redirect;\n status: number;\n location: string;\n revalidate: boolean;\n}\n\n/**\n * Unsuccessful result from a loader or action\n */\nexport interface ErrorResult {\n type: ResultType.error;\n error: any;\n headers?: Headers;\n}\n\n/**\n * Result from a loader or action - potentially successful or unsuccessful\n */\nexport type DataResult =\n | SuccessResult\n | DeferredResult\n | RedirectResult\n | ErrorResult;\n\nexport type MutationFormMethod = \"post\" | \"put\" | \"patch\" | \"delete\";\nexport type FormMethod = \"get\" | MutationFormMethod;\n\nexport type FormEncType =\n | \"application/x-www-form-urlencoded\"\n | \"multipart/form-data\";\n\n/**\n * @private\n * Internal interface to pass around for action submissions, not intended for\n * external consumption\n */\nexport interface Submission {\n formMethod: FormMethod;\n formAction: string;\n formEncType: FormEncType;\n formData: FormData;\n}\n\n/**\n * @private\n * Arguments passed to route loader/action functions. Same for now but we keep\n * this as a private implementation detail in case they diverge in the future.\n */\ninterface DataFunctionArgs {\n request: Request;\n params: Params;\n context?: any;\n}\n\n/**\n * Arguments passed to loader functions\n */\nexport interface LoaderFunctionArgs extends DataFunctionArgs {}\n\n/**\n * Arguments passed to action functions\n */\nexport interface ActionFunctionArgs extends DataFunctionArgs {}\n\n/**\n * Route loader function signature\n */\nexport interface LoaderFunction {\n (args: LoaderFunctionArgs): Promise | Response | Promise | any;\n}\n\n/**\n * Route action function signature\n */\nexport interface ActionFunction {\n (args: ActionFunctionArgs): Promise | Response | Promise | any;\n}\n\n/**\n * Route shouldRevalidate function signature. This runs after any submission\n * (navigation or fetcher), so we flatten the navigation/fetcher submission\n * onto the arguments. It shouldn't matter whether it came from a navigation\n * or a fetcher, what really matters is the URLs and the formData since loaders\n * have to re-run based on the data models that were potentially mutated.\n */\nexport interface ShouldRevalidateFunction {\n (args: {\n currentUrl: URL;\n currentParams: AgnosticDataRouteMatch[\"params\"];\n nextUrl: URL;\n nextParams: AgnosticDataRouteMatch[\"params\"];\n formMethod?: Submission[\"formMethod\"];\n formAction?: Submission[\"formAction\"];\n formEncType?: Submission[\"formEncType\"];\n formData?: Submission[\"formData\"];\n actionResult?: DataResult;\n defaultShouldRevalidate: boolean;\n }): boolean;\n}\n\n/**\n * Base RouteObject with common props shared by all types of routes\n */\ntype AgnosticBaseRouteObject = {\n caseSensitive?: boolean;\n path?: string;\n id?: string;\n loader?: LoaderFunction;\n action?: ActionFunction;\n hasErrorBoundary?: boolean;\n shouldRevalidate?: ShouldRevalidateFunction;\n handle?: any;\n};\n\n/**\n * Index routes must not have children\n */\nexport type AgnosticIndexRouteObject = AgnosticBaseRouteObject & {\n children?: undefined;\n index: true;\n};\n\n/**\n * Non-index routes may have children, but cannot have index\n */\nexport type AgnosticNonIndexRouteObject = AgnosticBaseRouteObject & {\n children?: AgnosticRouteObject[];\n index?: false;\n};\n\n/**\n * A route object represents a logical route, with (optionally) its child\n * routes organized in a tree-like structure.\n */\nexport type AgnosticRouteObject =\n | AgnosticIndexRouteObject\n | AgnosticNonIndexRouteObject;\n\nexport type AgnosticDataIndexRouteObject = AgnosticIndexRouteObject & {\n id: string;\n};\n\nexport type AgnosticDataNonIndexRouteObject = AgnosticNonIndexRouteObject & {\n children?: AgnosticDataRouteObject[];\n id: string;\n};\n\n/**\n * A data route object, which is just a RouteObject with a required unique ID\n */\nexport type AgnosticDataRouteObject =\n | AgnosticDataIndexRouteObject\n | AgnosticDataNonIndexRouteObject;\n\n// Recursive helper for finding path parameters in the absence of wildcards\ntype _PathParam =\n // split path into individual path segments\n Path extends `${infer L}/${infer R}`\n ? _PathParam | _PathParam\n : // find params after `:`\n Path extends `:${infer Param}`\n ? Param extends `${infer Optional}?`\n ? Optional\n : Param\n : // otherwise, there aren't any params present\n never;\n\n/**\n * Examples:\n * \"/a/b/*\" -> \"*\"\n * \":a\" -> \"a\"\n * \"/a/:b\" -> \"b\"\n * \"/a/blahblahblah:b\" -> \"b\"\n * \"/:a/:b\" -> \"a\" | \"b\"\n * \"/:a/b/:c/*\" -> \"a\" | \"c\" | \"*\"\n */\ntype PathParam =\n // check if path is just a wildcard\n Path extends \"*\"\n ? \"*\"\n : // look for wildcard at the end of the path\n Path extends `${infer Rest}/*`\n ? \"*\" | _PathParam\n : // look for params in the absence of wildcards\n _PathParam;\n\n// Attempt to parse the given string segment. If it fails, then just return the\n// plain string type as a default fallback. Otherwise return the union of the\n// parsed string literals that were referenced as dynamic segments in the route.\nexport type ParamParseKey =\n // if could not find path params, fallback to `string`\n [PathParam] extends [never] ? string : PathParam;\n\n/**\n * The parameters that were parsed from the URL path.\n */\nexport type Params = {\n readonly [key in Key]: string | undefined;\n};\n\n/**\n * A RouteMatch contains info about how a route matched a URL.\n */\nexport interface AgnosticRouteMatch<\n ParamKey extends string = string,\n RouteObjectType extends AgnosticRouteObject = AgnosticRouteObject\n> {\n /**\n * The names and values of dynamic parameters in the URL.\n */\n params: Params;\n /**\n * The portion of the URL pathname that was matched.\n */\n pathname: string;\n /**\n * The portion of the URL pathname that was matched before child routes.\n */\n pathnameBase: string;\n /**\n * The route object that was used to match.\n */\n route: RouteObjectType;\n}\n\nexport interface AgnosticDataRouteMatch\n extends AgnosticRouteMatch {}\n\nfunction isIndexRoute(\n route: AgnosticRouteObject\n): route is AgnosticIndexRouteObject {\n return route.index === true;\n}\n\n// Walk the route tree generating unique IDs where necessary so we are working\n// solely with AgnosticDataRouteObject's within the Router\nexport function convertRoutesToDataRoutes(\n routes: AgnosticRouteObject[],\n parentPath: number[] = [],\n allIds: Set = new Set()\n): AgnosticDataRouteObject[] {\n return routes.map((route, index) => {\n let treePath = [...parentPath, index];\n let id = typeof route.id === \"string\" ? route.id : treePath.join(\"-\");\n invariant(\n route.index !== true || !route.children,\n `Cannot specify children on an index route`\n );\n invariant(\n !allIds.has(id),\n `Found a route id collision on id \"${id}\". Route ` +\n \"id's must be globally unique within Data Router usages\"\n );\n allIds.add(id);\n\n if (isIndexRoute(route)) {\n let indexRoute: AgnosticDataIndexRouteObject = { ...route, id };\n return indexRoute;\n } else {\n let pathOrLayoutRoute: AgnosticDataNonIndexRouteObject = {\n ...route,\n id,\n children: route.children\n ? convertRoutesToDataRoutes(route.children, treePath, allIds)\n : undefined,\n };\n return pathOrLayoutRoute;\n }\n });\n}\n\n/**\n * Matches the given routes to a location and returns the match data.\n *\n * @see https://reactrouter.com/utils/match-routes\n */\nexport function matchRoutes<\n RouteObjectType extends AgnosticRouteObject = AgnosticRouteObject\n>(\n routes: RouteObjectType[],\n locationArg: Partial | string,\n basename = \"/\"\n): AgnosticRouteMatch[] | null {\n let location =\n typeof locationArg === \"string\" ? parsePath(locationArg) : locationArg;\n\n let pathname = stripBasename(location.pathname || \"/\", basename);\n\n if (pathname == null) {\n return null;\n }\n\n let branches = flattenRoutes(routes);\n rankRouteBranches(branches);\n\n let matches = null;\n for (let i = 0; matches == null && i < branches.length; ++i) {\n matches = matchRouteBranch(\n branches[i],\n // Incoming pathnames are generally encoded from either window.location\n // or from router.navigate, but we want to match against the unencoded\n // paths in the route definitions. Memory router locations won't be\n // encoded here but there also shouldn't be anything to decode so this\n // should be a safe operation. This avoids needing matchRoutes to be\n // history-aware.\n safelyDecodeURI(pathname)\n );\n }\n\n return matches;\n}\n\ninterface RouteMeta<\n RouteObjectType extends AgnosticRouteObject = AgnosticRouteObject\n> {\n relativePath: string;\n caseSensitive: boolean;\n childrenIndex: number;\n route: RouteObjectType;\n}\n\ninterface RouteBranch<\n RouteObjectType extends AgnosticRouteObject = AgnosticRouteObject\n> {\n path: string;\n score: number;\n routesMeta: RouteMeta[];\n}\n\nfunction flattenRoutes<\n RouteObjectType extends AgnosticRouteObject = AgnosticRouteObject\n>(\n routes: RouteObjectType[],\n branches: RouteBranch[] = [],\n parentsMeta: RouteMeta[] = [],\n parentPath = \"\"\n): RouteBranch[] {\n let flattenRoute = (\n route: RouteObjectType,\n index: number,\n relativePath?: string\n ) => {\n let meta: RouteMeta = {\n relativePath:\n relativePath === undefined ? route.path || \"\" : relativePath,\n caseSensitive: route.caseSensitive === true,\n childrenIndex: index,\n route,\n };\n\n if (meta.relativePath.startsWith(\"/\")) {\n invariant(\n meta.relativePath.startsWith(parentPath),\n `Absolute route path \"${meta.relativePath}\" nested under path ` +\n `\"${parentPath}\" is not valid. An absolute child route path ` +\n `must start with the combined path of all its parent routes.`\n );\n\n meta.relativePath = meta.relativePath.slice(parentPath.length);\n }\n\n let path = joinPaths([parentPath, meta.relativePath]);\n let routesMeta = parentsMeta.concat(meta);\n\n // Add the children before adding this route to the array so we traverse the\n // route tree depth-first and child routes appear before their parents in\n // the \"flattened\" version.\n if (route.children && route.children.length > 0) {\n invariant(\n // Our types know better, but runtime JS may not!\n // @ts-expect-error\n route.index !== true,\n `Index routes must not have child routes. Please remove ` +\n `all child routes from route path \"${path}\".`\n );\n\n flattenRoutes(route.children, branches, routesMeta, path);\n }\n\n // Routes without a path shouldn't ever match by themselves unless they are\n // index routes, so don't add them to the list of possible branches.\n if (route.path == null && !route.index) {\n return;\n }\n\n branches.push({\n path,\n score: computeScore(path, route.index),\n routesMeta,\n });\n };\n routes.forEach((route, index) => {\n // coarse-grain check for optional params\n if (route.path === \"\" || !route.path?.includes(\"?\")) {\n flattenRoute(route, index);\n } else {\n for (let exploded of explodeOptionalSegments(route.path)) {\n flattenRoute(route, index, exploded);\n }\n }\n });\n\n return branches;\n}\n\n/**\n * Computes all combinations of optional path segments for a given path,\n * excluding combinations that are ambiguous and of lower priority.\n *\n * For example, `/one/:two?/three/:four?/:five?` explodes to:\n * - `/one/three`\n * - `/one/:two/three`\n * - `/one/three/:four`\n * - `/one/three/:five`\n * - `/one/:two/three/:four`\n * - `/one/:two/three/:five`\n * - `/one/three/:four/:five`\n * - `/one/:two/three/:four/:five`\n */\nfunction explodeOptionalSegments(path: string): string[] {\n let segments = path.split(\"/\");\n if (segments.length === 0) return [];\n\n let [first, ...rest] = segments;\n\n // Optional path segments are denoted by a trailing `?`\n let isOptional = first.endsWith(\"?\");\n // Compute the corresponding required segment: `foo?` -> `foo`\n let required = first.replace(/\\?$/, \"\");\n\n if (rest.length === 0) {\n // Intepret empty string as omitting an optional segment\n // `[\"one\", \"\", \"three\"]` corresponds to omitting `:two` from `/one/:two?/three` -> `/one/three`\n return isOptional ? [required, \"\"] : [required];\n }\n\n let restExploded = explodeOptionalSegments(rest.join(\"/\"));\n\n let result: string[] = [];\n\n // All child paths with the prefix. Do this for all children before the\n // optional version for all children so we get consistent ordering where the\n // parent optional aspect is preferred as required. Otherwise, we can get\n // child sections interspersed where deeper optional segments are higher than\n // parent optional segments, where for example, /:two would explodes _earlier_\n // then /:one. By always including the parent as required _for all children_\n // first, we avoid this issue\n result.push(\n ...restExploded.map((subpath) =>\n subpath === \"\" ? required : [required, subpath].join(\"/\")\n )\n );\n\n // Then if this is an optional value, add all child versions without\n if (isOptional) {\n result.push(...restExploded);\n }\n\n // for absolute paths, ensure `/` instead of empty segment\n return result.map((exploded) =>\n path.startsWith(\"/\") && exploded === \"\" ? \"/\" : exploded\n );\n}\n\nfunction rankRouteBranches(branches: RouteBranch[]): void {\n branches.sort((a, b) =>\n a.score !== b.score\n ? b.score - a.score // Higher score first\n : compareIndexes(\n a.routesMeta.map((meta) => meta.childrenIndex),\n b.routesMeta.map((meta) => meta.childrenIndex)\n )\n );\n}\n\nconst paramRe = /^:\\w+$/;\nconst dynamicSegmentValue = 3;\nconst indexRouteValue = 2;\nconst emptySegmentValue = 1;\nconst staticSegmentValue = 10;\nconst splatPenalty = -2;\nconst isSplat = (s: string) => s === \"*\";\n\nfunction computeScore(path: string, index: boolean | undefined): number {\n let segments = path.split(\"/\");\n let initialScore = segments.length;\n if (segments.some(isSplat)) {\n initialScore += splatPenalty;\n }\n\n if (index) {\n initialScore += indexRouteValue;\n }\n\n return segments\n .filter((s) => !isSplat(s))\n .reduce(\n (score, segment) =>\n score +\n (paramRe.test(segment)\n ? dynamicSegmentValue\n : segment === \"\"\n ? emptySegmentValue\n : staticSegmentValue),\n initialScore\n );\n}\n\nfunction compareIndexes(a: number[], b: number[]): number {\n let siblings =\n a.length === b.length && a.slice(0, -1).every((n, i) => n === b[i]);\n\n return siblings\n ? // If two routes are siblings, we should try to match the earlier sibling\n // first. This allows people to have fine-grained control over the matching\n // behavior by simply putting routes with identical paths in the order they\n // want them tried.\n a[a.length - 1] - b[b.length - 1]\n : // Otherwise, it doesn't really make sense to rank non-siblings by index,\n // so they sort equally.\n 0;\n}\n\nfunction matchRouteBranch<\n ParamKey extends string = string,\n RouteObjectType extends AgnosticRouteObject = AgnosticRouteObject\n>(\n branch: RouteBranch,\n pathname: string\n): AgnosticRouteMatch[] | null {\n let { routesMeta } = branch;\n\n let matchedParams = {};\n let matchedPathname = \"/\";\n let matches: AgnosticRouteMatch[] = [];\n for (let i = 0; i < routesMeta.length; ++i) {\n let meta = routesMeta[i];\n let end = i === routesMeta.length - 1;\n let remainingPathname =\n matchedPathname === \"/\"\n ? pathname\n : pathname.slice(matchedPathname.length) || \"/\";\n let match = matchPath(\n { path: meta.relativePath, caseSensitive: meta.caseSensitive, end },\n remainingPathname\n );\n\n if (!match) return null;\n\n Object.assign(matchedParams, match.params);\n\n let route = meta.route;\n\n matches.push({\n // TODO: Can this as be avoided?\n params: matchedParams as Params,\n pathname: joinPaths([matchedPathname, match.pathname]),\n pathnameBase: normalizePathname(\n joinPaths([matchedPathname, match.pathnameBase])\n ),\n route,\n });\n\n if (match.pathnameBase !== \"/\") {\n matchedPathname = joinPaths([matchedPathname, match.pathnameBase]);\n }\n }\n\n return matches;\n}\n\n/**\n * Returns a path with params interpolated.\n *\n * @see https://reactrouter.com/utils/generate-path\n */\nexport function generatePath(\n originalPath: Path,\n params: {\n [key in PathParam]: string | null;\n } = {} as any\n): string {\n let path = originalPath;\n if (path.endsWith(\"*\") && path !== \"*\" && !path.endsWith(\"/*\")) {\n warning(\n false,\n `Route path \"${path}\" will be treated as if it were ` +\n `\"${path.replace(/\\*$/, \"/*\")}\" because the \\`*\\` character must ` +\n `always follow a \\`/\\` in the pattern. To get rid of this warning, ` +\n `please change the route path to \"${path.replace(/\\*$/, \"/*\")}\".`\n );\n path = path.replace(/\\*$/, \"/*\") as Path;\n }\n\n return (\n path\n .replace(\n /^:(\\w+)(\\??)/g,\n (_, key: PathParam, optional: string | undefined) => {\n let param = params[key];\n if (optional === \"?\") {\n return param == null ? \"\" : param;\n }\n if (param == null) {\n invariant(false, `Missing \":${key}\" param`);\n }\n return param;\n }\n )\n .replace(\n /\\/:(\\w+)(\\??)/g,\n (_, key: PathParam, optional: string | undefined) => {\n let param = params[key];\n if (optional === \"?\") {\n return param == null ? \"\" : `/${param}`;\n }\n if (param == null) {\n invariant(false, `Missing \":${key}\" param`);\n }\n return `/${param}`;\n }\n )\n // Remove any optional markers from optional static segments\n .replace(/\\?/g, \"\")\n .replace(/(\\/?)\\*/, (_, prefix, __, str) => {\n const star = \"*\" as PathParam;\n\n if (params[star] == null) {\n // If no splat was provided, trim the trailing slash _unless_ it's\n // the entire path\n return str === \"/*\" ? \"/\" : \"\";\n }\n\n // Apply the splat\n return `${prefix}${params[star]}`;\n })\n );\n}\n\n/**\n * A PathPattern is used to match on some portion of a URL pathname.\n */\nexport interface PathPattern {\n /**\n * A string to match against a URL pathname. May contain `:id`-style segments\n * to indicate placeholders for dynamic parameters. May also end with `/*` to\n * indicate matching the rest of the URL pathname.\n */\n path: Path;\n /**\n * Should be `true` if the static portions of the `path` should be matched in\n * the same case.\n */\n caseSensitive?: boolean;\n /**\n * Should be `true` if this pattern should match the entire URL pathname.\n */\n end?: boolean;\n}\n\n/**\n * A PathMatch contains info about how a PathPattern matched on a URL pathname.\n */\nexport interface PathMatch {\n /**\n * The names and values of dynamic parameters in the URL.\n */\n params: Params;\n /**\n * The portion of the URL pathname that was matched.\n */\n pathname: string;\n /**\n * The portion of the URL pathname that was matched before child routes.\n */\n pathnameBase: string;\n /**\n * The pattern that was used to match.\n */\n pattern: PathPattern;\n}\n\ntype Mutable = {\n -readonly [P in keyof T]: T[P];\n};\n\n/**\n * Performs pattern matching on a URL pathname and returns information about\n * the match.\n *\n * @see https://reactrouter.com/utils/match-path\n */\nexport function matchPath<\n ParamKey extends ParamParseKey,\n Path extends string\n>(\n pattern: PathPattern | Path,\n pathname: string\n): PathMatch | null {\n if (typeof pattern === \"string\") {\n pattern = { path: pattern, caseSensitive: false, end: true };\n }\n\n let [matcher, paramNames] = compilePath(\n pattern.path,\n pattern.caseSensitive,\n pattern.end\n );\n\n let match = pathname.match(matcher);\n if (!match) return null;\n\n let matchedPathname = match[0];\n let pathnameBase = matchedPathname.replace(/(.)\\/+$/, \"$1\");\n let captureGroups = match.slice(1);\n let params: Params = paramNames.reduce>(\n (memo, paramName, index) => {\n // We need to compute the pathnameBase here using the raw splat value\n // instead of using params[\"*\"] later because it will be decoded then\n if (paramName === \"*\") {\n let splatValue = captureGroups[index] || \"\";\n pathnameBase = matchedPathname\n .slice(0, matchedPathname.length - splatValue.length)\n .replace(/(.)\\/+$/, \"$1\");\n }\n\n memo[paramName] = safelyDecodeURIComponent(\n captureGroups[index] || \"\",\n paramName\n );\n return memo;\n },\n {}\n );\n\n return {\n params,\n pathname: matchedPathname,\n pathnameBase,\n pattern,\n };\n}\n\nfunction compilePath(\n path: string,\n caseSensitive = false,\n end = true\n): [RegExp, string[]] {\n warning(\n path === \"*\" || !path.endsWith(\"*\") || path.endsWith(\"/*\"),\n `Route path \"${path}\" will be treated as if it were ` +\n `\"${path.replace(/\\*$/, \"/*\")}\" because the \\`*\\` character must ` +\n `always follow a \\`/\\` in the pattern. To get rid of this warning, ` +\n `please change the route path to \"${path.replace(/\\*$/, \"/*\")}\".`\n );\n\n let paramNames: string[] = [];\n let regexpSource =\n \"^\" +\n path\n .replace(/\\/*\\*?$/, \"\") // Ignore trailing / and /*, we'll handle it below\n .replace(/^\\/*/, \"/\") // Make sure it has a leading /\n .replace(/[\\\\.*+^$?{}|()[\\]]/g, \"\\\\$&\") // Escape special regex chars\n .replace(/\\/:(\\w+)/g, (_: string, paramName: string) => {\n paramNames.push(paramName);\n return \"/([^\\\\/]+)\";\n });\n\n if (path.endsWith(\"*\")) {\n paramNames.push(\"*\");\n regexpSource +=\n path === \"*\" || path === \"/*\"\n ? \"(.*)$\" // Already matched the initial /, just match the rest\n : \"(?:\\\\/(.+)|\\\\/*)$\"; // Don't include the / in params[\"*\"]\n } else if (end) {\n // When matching to the end, ignore trailing slashes\n regexpSource += \"\\\\/*$\";\n } else if (path !== \"\" && path !== \"/\") {\n // If our path is non-empty and contains anything beyond an initial slash,\n // then we have _some_ form of path in our regex so we should expect to\n // match only if we find the end of this path segment. Look for an optional\n // non-captured trailing slash (to match a portion of the URL) or the end\n // of the path (if we've matched to the end). We used to do this with a\n // word boundary but that gives false positives on routes like\n // /user-preferences since `-` counts as a word boundary.\n regexpSource += \"(?:(?=\\\\/|$))\";\n } else {\n // Nothing to match for \"\" or \"/\"\n }\n\n let matcher = new RegExp(regexpSource, caseSensitive ? undefined : \"i\");\n\n return [matcher, paramNames];\n}\n\nfunction safelyDecodeURI(value: string) {\n try {\n return decodeURI(value);\n } catch (error) {\n warning(\n false,\n `The URL path \"${value}\" could not be decoded because it is is a ` +\n `malformed URL segment. This is probably due to a bad percent ` +\n `encoding (${error}).`\n );\n\n return value;\n }\n}\n\nfunction safelyDecodeURIComponent(value: string, paramName: string) {\n try {\n return decodeURIComponent(value);\n } catch (error) {\n warning(\n false,\n `The value for the URL param \"${paramName}\" will not be decoded because` +\n ` the string \"${value}\" is a malformed URL segment. This is probably` +\n ` due to a bad percent encoding (${error}).`\n );\n\n return value;\n }\n}\n\n/**\n * @private\n */\nexport function stripBasename(\n pathname: string,\n basename: string\n): string | null {\n if (basename === \"/\") return pathname;\n\n if (!pathname.toLowerCase().startsWith(basename.toLowerCase())) {\n return null;\n }\n\n // We want to leave trailing slash behavior in the user's control, so if they\n // specify a basename with a trailing slash, we should support it\n let startIndex = basename.endsWith(\"/\")\n ? basename.length - 1\n : basename.length;\n let nextChar = pathname.charAt(startIndex);\n if (nextChar && nextChar !== \"/\") {\n // pathname does not start with basename/\n return null;\n }\n\n return pathname.slice(startIndex) || \"/\";\n}\n\n/**\n * @private\n */\nexport function warning(cond: any, message: string): void {\n if (!cond) {\n // eslint-disable-next-line no-console\n if (typeof console !== \"undefined\") console.warn(message);\n\n try {\n // Welcome to debugging @remix-run/router!\n //\n // This error is thrown as a convenience so you can more easily\n // find the source for a warning that appears in the console by\n // enabling \"pause on exceptions\" in your JavaScript debugger.\n throw new Error(message);\n // eslint-disable-next-line no-empty\n } catch (e) {}\n }\n}\n\n/**\n * Returns a resolved path object relative to the given pathname.\n *\n * @see https://reactrouter.com/utils/resolve-path\n */\nexport function resolvePath(to: To, fromPathname = \"/\"): Path {\n let {\n pathname: toPathname,\n search = \"\",\n hash = \"\",\n } = typeof to === \"string\" ? parsePath(to) : to;\n\n let pathname = toPathname\n ? toPathname.startsWith(\"/\")\n ? toPathname\n : resolvePathname(toPathname, fromPathname)\n : fromPathname;\n\n return {\n pathname,\n search: normalizeSearch(search),\n hash: normalizeHash(hash),\n };\n}\n\nfunction resolvePathname(relativePath: string, fromPathname: string): string {\n let segments = fromPathname.replace(/\\/+$/, \"\").split(\"/\");\n let relativeSegments = relativePath.split(\"/\");\n\n relativeSegments.forEach((segment) => {\n if (segment === \"..\") {\n // Keep the root \"\" segment so the pathname starts at /\n if (segments.length > 1) segments.pop();\n } else if (segment !== \".\") {\n segments.push(segment);\n }\n });\n\n return segments.length > 1 ? segments.join(\"/\") : \"/\";\n}\n\nfunction getInvalidPathError(\n char: string,\n field: string,\n dest: string,\n path: Partial\n) {\n return (\n `Cannot include a '${char}' character in a manually specified ` +\n `\\`to.${field}\\` field [${JSON.stringify(\n path\n )}]. Please separate it out to the ` +\n `\\`to.${dest}\\` field. Alternatively you may provide the full path as ` +\n `a string in and the router will parse it for you.`\n );\n}\n\n/**\n * @private\n *\n * When processing relative navigation we want to ignore ancestor routes that\n * do not contribute to the path, such that index/pathless layout routes don't\n * interfere.\n *\n * For example, when moving a route element into an index route and/or a\n * pathless layout route, relative link behavior contained within should stay\n * the same. Both of the following examples should link back to the root:\n *\n * \n * \n * \n *\n * \n * \n * }> // <-- Does not contribute\n * // <-- Does not contribute\n * \n * \n */\nexport function getPathContributingMatches<\n T extends AgnosticRouteMatch = AgnosticRouteMatch\n>(matches: T[]) {\n return matches.filter(\n (match, index) =>\n index === 0 || (match.route.path && match.route.path.length > 0)\n );\n}\n\n/**\n * @private\n */\nexport function resolveTo(\n toArg: To,\n routePathnames: string[],\n locationPathname: string,\n isPathRelative = false\n): Path {\n let to: Partial;\n if (typeof toArg === \"string\") {\n to = parsePath(toArg);\n } else {\n to = { ...toArg };\n\n invariant(\n !to.pathname || !to.pathname.includes(\"?\"),\n getInvalidPathError(\"?\", \"pathname\", \"search\", to)\n );\n invariant(\n !to.pathname || !to.pathname.includes(\"#\"),\n getInvalidPathError(\"#\", \"pathname\", \"hash\", to)\n );\n invariant(\n !to.search || !to.search.includes(\"#\"),\n getInvalidPathError(\"#\", \"search\", \"hash\", to)\n );\n }\n\n let isEmptyPath = toArg === \"\" || to.pathname === \"\";\n let toPathname = isEmptyPath ? \"/\" : to.pathname;\n\n let from: string;\n\n // Routing is relative to the current pathname if explicitly requested.\n //\n // If a pathname is explicitly provided in `to`, it should be relative to the\n // route context. This is explained in `Note on `` values` in our\n // migration guide from v5 as a means of disambiguation between `to` values\n // that begin with `/` and those that do not. However, this is problematic for\n // `to` values that do not provide a pathname. `to` can simply be a search or\n // hash string, in which case we should assume that the navigation is relative\n // to the current location's pathname and *not* the route pathname.\n if (isPathRelative || toPathname == null) {\n from = locationPathname;\n } else {\n let routePathnameIndex = routePathnames.length - 1;\n\n if (toPathname.startsWith(\"..\")) {\n let toSegments = toPathname.split(\"/\");\n\n // Each leading .. segment means \"go up one route\" instead of \"go up one\n // URL segment\". This is a key difference from how works and a\n // major reason we call this a \"to\" value instead of a \"href\".\n while (toSegments[0] === \"..\") {\n toSegments.shift();\n routePathnameIndex -= 1;\n }\n\n to.pathname = toSegments.join(\"/\");\n }\n\n // If there are more \"..\" segments than parent routes, resolve relative to\n // the root / URL.\n from = routePathnameIndex >= 0 ? routePathnames[routePathnameIndex] : \"/\";\n }\n\n let path = resolvePath(to, from);\n\n // Ensure the pathname has a trailing slash if the original \"to\" had one\n let hasExplicitTrailingSlash =\n toPathname && toPathname !== \"/\" && toPathname.endsWith(\"/\");\n // Or if this was a link to the current path which has a trailing slash\n let hasCurrentTrailingSlash =\n (isEmptyPath || toPathname === \".\") && locationPathname.endsWith(\"/\");\n if (\n !path.pathname.endsWith(\"/\") &&\n (hasExplicitTrailingSlash || hasCurrentTrailingSlash)\n ) {\n path.pathname += \"/\";\n }\n\n return path;\n}\n\n/**\n * @private\n */\nexport function getToPathname(to: To): string | undefined {\n // Empty strings should be treated the same as / paths\n return to === \"\" || (to as Path).pathname === \"\"\n ? \"/\"\n : typeof to === \"string\"\n ? parsePath(to).pathname\n : to.pathname;\n}\n\n/**\n * @private\n */\nexport const joinPaths = (paths: string[]): string =>\n paths.join(\"/\").replace(/\\/\\/+/g, \"/\");\n\n/**\n * @private\n */\nexport const normalizePathname = (pathname: string): string =>\n pathname.replace(/\\/+$/, \"\").replace(/^\\/*/, \"/\");\n\n/**\n * @private\n */\nexport const normalizeSearch = (search: string): string =>\n !search || search === \"?\"\n ? \"\"\n : search.startsWith(\"?\")\n ? search\n : \"?\" + search;\n\n/**\n * @private\n */\nexport const normalizeHash = (hash: string): string =>\n !hash || hash === \"#\" ? \"\" : hash.startsWith(\"#\") ? hash : \"#\" + hash;\n\nexport type JsonFunction = (\n data: Data,\n init?: number | ResponseInit\n) => Response;\n\n/**\n * This is a shortcut for creating `application/json` responses. Converts `data`\n * to JSON and sets the `Content-Type` header.\n */\nexport const json: JsonFunction = (data, init = {}) => {\n let responseInit = typeof init === \"number\" ? { status: init } : init;\n\n let headers = new Headers(responseInit.headers);\n if (!headers.has(\"Content-Type\")) {\n headers.set(\"Content-Type\", \"application/json; charset=utf-8\");\n }\n\n return new Response(JSON.stringify(data), {\n ...responseInit,\n headers,\n });\n};\n\nexport interface TrackedPromise extends Promise {\n _tracked?: boolean;\n _data?: any;\n _error?: any;\n}\n\nexport class AbortedDeferredError extends Error {}\n\nexport class DeferredData {\n private pendingKeysSet: Set = new Set();\n private controller: AbortController;\n private abortPromise: Promise;\n private unlistenAbortSignal: () => void;\n private subscribers: Set<(aborted: boolean, settledKey?: string) => void> =\n new Set();\n data: Record;\n init?: ResponseInit;\n deferredKeys: string[] = [];\n\n constructor(data: Record, responseInit?: ResponseInit) {\n invariant(\n data && typeof data === \"object\" && !Array.isArray(data),\n \"defer() only accepts plain objects\"\n );\n\n // Set up an AbortController + Promise we can race against to exit early\n // cancellation\n let reject: (e: AbortedDeferredError) => void;\n this.abortPromise = new Promise((_, r) => (reject = r));\n this.controller = new AbortController();\n let onAbort = () =>\n reject(new AbortedDeferredError(\"Deferred data aborted\"));\n this.unlistenAbortSignal = () =>\n this.controller.signal.removeEventListener(\"abort\", onAbort);\n this.controller.signal.addEventListener(\"abort\", onAbort);\n\n this.data = Object.entries(data).reduce(\n (acc, [key, value]) =>\n Object.assign(acc, {\n [key]: this.trackPromise(key, value),\n }),\n {}\n );\n\n if (this.done) {\n // All incoming values were resolved\n this.unlistenAbortSignal();\n }\n\n this.init = responseInit;\n }\n\n private trackPromise(\n key: string,\n value: Promise | unknown\n ): TrackedPromise | unknown {\n if (!(value instanceof Promise)) {\n return value;\n }\n\n this.deferredKeys.push(key);\n this.pendingKeysSet.add(key);\n\n // We store a little wrapper promise that will be extended with\n // _data/_error props upon resolve/reject\n let promise: TrackedPromise = Promise.race([value, this.abortPromise]).then(\n (data) => this.onSettle(promise, key, null, data as unknown),\n (error) => this.onSettle(promise, key, error as unknown)\n );\n\n // Register rejection listeners to avoid uncaught promise rejections on\n // errors or aborted deferred values\n promise.catch(() => {});\n\n Object.defineProperty(promise, \"_tracked\", { get: () => true });\n return promise;\n }\n\n private onSettle(\n promise: TrackedPromise,\n key: string,\n error: unknown,\n data?: unknown\n ): unknown {\n if (\n this.controller.signal.aborted &&\n error instanceof AbortedDeferredError\n ) {\n this.unlistenAbortSignal();\n Object.defineProperty(promise, \"_error\", { get: () => error });\n return Promise.reject(error);\n }\n\n this.pendingKeysSet.delete(key);\n\n if (this.done) {\n // Nothing left to abort!\n this.unlistenAbortSignal();\n }\n\n if (error) {\n Object.defineProperty(promise, \"_error\", { get: () => error });\n this.emit(false, key);\n return Promise.reject(error);\n }\n\n Object.defineProperty(promise, \"_data\", { get: () => data });\n this.emit(false, key);\n return data;\n }\n\n private emit(aborted: boolean, settledKey?: string) {\n this.subscribers.forEach((subscriber) => subscriber(aborted, settledKey));\n }\n\n subscribe(fn: (aborted: boolean, settledKey?: string) => void) {\n this.subscribers.add(fn);\n return () => this.subscribers.delete(fn);\n }\n\n cancel() {\n this.controller.abort();\n this.pendingKeysSet.forEach((v, k) => this.pendingKeysSet.delete(k));\n this.emit(true);\n }\n\n async resolveData(signal: AbortSignal) {\n let aborted = false;\n if (!this.done) {\n let onAbort = () => this.cancel();\n signal.addEventListener(\"abort\", onAbort);\n aborted = await new Promise((resolve) => {\n this.subscribe((aborted) => {\n signal.removeEventListener(\"abort\", onAbort);\n if (aborted || this.done) {\n resolve(aborted);\n }\n });\n });\n }\n return aborted;\n }\n\n get done() {\n return this.pendingKeysSet.size === 0;\n }\n\n get unwrappedData() {\n invariant(\n this.data !== null && this.done,\n \"Can only unwrap data on initialized and settled deferreds\"\n );\n\n return Object.entries(this.data).reduce(\n (acc, [key, value]) =>\n Object.assign(acc, {\n [key]: unwrapTrackedPromise(value),\n }),\n {}\n );\n }\n\n get pendingKeys() {\n return Array.from(this.pendingKeysSet);\n }\n}\n\nfunction isTrackedPromise(value: any): value is TrackedPromise {\n return (\n value instanceof Promise && (value as TrackedPromise)._tracked === true\n );\n}\n\nfunction unwrapTrackedPromise(value: any) {\n if (!isTrackedPromise(value)) {\n return value;\n }\n\n if (value._error) {\n throw value._error;\n }\n return value._data;\n}\n\nexport type DeferFunction = (\n data: Record,\n init?: number | ResponseInit\n) => DeferredData;\n\nexport const defer: DeferFunction = (data, init = {}) => {\n let responseInit = typeof init === \"number\" ? { status: init } : init;\n\n return new DeferredData(data, responseInit);\n};\n\nexport type RedirectFunction = (\n url: string,\n init?: number | ResponseInit\n) => Response;\n\n/**\n * A redirect response. Sets the status code and the `Location` header.\n * Defaults to \"302 Found\".\n */\nexport const redirect: RedirectFunction = (url, init = 302) => {\n let responseInit = init;\n if (typeof responseInit === \"number\") {\n responseInit = { status: responseInit };\n } else if (typeof responseInit.status === \"undefined\") {\n responseInit.status = 302;\n }\n\n let headers = new Headers(responseInit.headers);\n headers.set(\"Location\", url);\n\n return new Response(null, {\n ...responseInit,\n headers,\n });\n};\n\n/**\n * @private\n * Utility class we use to hold auto-unwrapped 4xx/5xx Response bodies\n */\nexport class ErrorResponse {\n status: number;\n statusText: string;\n data: any;\n error?: Error;\n internal: boolean;\n\n constructor(\n status: number,\n statusText: string | undefined,\n data: any,\n internal = false\n ) {\n this.status = status;\n this.statusText = statusText || \"\";\n this.internal = internal;\n if (data instanceof Error) {\n this.data = data.toString();\n this.error = data;\n } else {\n this.data = data;\n }\n }\n}\n\n/**\n * Check if the given error is an ErrorResponse generated from a 4xx/5xx\n * Response thrown from an action/loader\n */\nexport function isRouteErrorResponse(error: any): error is ErrorResponse {\n return (\n error != null &&\n typeof error.status === \"number\" &&\n typeof error.statusText === \"string\" &&\n typeof error.internal === \"boolean\" &&\n \"data\" in error\n );\n}\n","import arrayWithHoles from \"./arrayWithHoles.js\";\nimport iterableToArray from \"./iterableToArray.js\";\nimport unsupportedIterableToArray from \"./unsupportedIterableToArray.js\";\nimport nonIterableRest from \"./nonIterableRest.js\";\nexport default function _toArray(arr) {\n return arrayWithHoles(arr) || iterableToArray(arr) || unsupportedIterableToArray(arr) || nonIterableRest();\n}","import type { History, Location, Path, To } from \"./history\";\nimport {\n Action as HistoryAction,\n createLocation,\n createPath,\n invariant,\n parsePath,\n} from \"./history\";\nimport type {\n DataResult,\n AgnosticDataRouteMatch,\n AgnosticDataRouteObject,\n DeferredResult,\n ErrorResult,\n FormEncType,\n FormMethod,\n RedirectResult,\n RouteData,\n AgnosticRouteObject,\n Submission,\n SuccessResult,\n AgnosticRouteMatch,\n MutationFormMethod,\n ShouldRevalidateFunction,\n} from \"./utils\";\nimport {\n DeferredData,\n ErrorResponse,\n ResultType,\n convertRoutesToDataRoutes,\n getPathContributingMatches,\n isRouteErrorResponse,\n joinPaths,\n matchRoutes,\n resolveTo,\n warning,\n} from \"./utils\";\n\n////////////////////////////////////////////////////////////////////////////////\n//#region Types and Constants\n////////////////////////////////////////////////////////////////////////////////\n\n/**\n * A Router instance manages all navigation and data loading/mutations\n */\nexport interface Router {\n /**\n * @internal\n * PRIVATE - DO NOT USE\n *\n * Return the basename for the router\n */\n get basename(): RouterInit[\"basename\"];\n\n /**\n * @internal\n * PRIVATE - DO NOT USE\n *\n * Return the current state of the router\n */\n get state(): RouterState;\n\n /**\n * @internal\n * PRIVATE - DO NOT USE\n *\n * Return the routes for this router instance\n */\n get routes(): AgnosticDataRouteObject[];\n\n /**\n * @internal\n * PRIVATE - DO NOT USE\n *\n * Initialize the router, including adding history listeners and kicking off\n * initial data fetches. Returns a function to cleanup listeners and abort\n * any in-progress loads\n */\n initialize(): Router;\n\n /**\n * @internal\n * PRIVATE - DO NOT USE\n *\n * Subscribe to router.state updates\n *\n * @param fn function to call with the new state\n */\n subscribe(fn: RouterSubscriber): () => void;\n\n /**\n * @internal\n * PRIVATE - DO NOT USE\n *\n * Enable scroll restoration behavior in the router\n *\n * @param savedScrollPositions Object that will manage positions, in case\n * it's being restored from sessionStorage\n * @param getScrollPosition Function to get the active Y scroll position\n * @param getKey Function to get the key to use for restoration\n */\n enableScrollRestoration(\n savedScrollPositions: Record,\n getScrollPosition: GetScrollPositionFunction,\n getKey?: GetScrollRestorationKeyFunction\n ): () => void;\n\n /**\n * @internal\n * PRIVATE - DO NOT USE\n *\n * Navigate forward/backward in the history stack\n * @param to Delta to move in the history stack\n */\n navigate(to: number): Promise;\n\n /**\n * Navigate to the given path\n * @param to Path to navigate to\n * @param opts Navigation options (method, submission, etc.)\n */\n navigate(to: To, opts?: RouterNavigateOptions): Promise;\n\n /**\n * @internal\n * PRIVATE - DO NOT USE\n *\n * Trigger a fetcher load/submission\n *\n * @param key Fetcher key\n * @param routeId Route that owns the fetcher\n * @param href href to fetch\n * @param opts Fetcher options, (method, submission, etc.)\n */\n fetch(\n key: string,\n routeId: string,\n href: string,\n opts?: RouterNavigateOptions\n ): void;\n\n /**\n * @internal\n * PRIVATE - DO NOT USE\n *\n * Trigger a revalidation of all current route loaders and fetcher loads\n */\n revalidate(): void;\n\n /**\n * @internal\n * PRIVATE - DO NOT USE\n *\n * Utility function to create an href for the given location\n * @param location\n */\n createHref(location: Location | URL): string;\n\n /**\n * @internal\n * PRIVATE - DO NOT USE\n *\n * Utility function to URL encode a destination path according to the internal\n * history implementation\n * @param to\n */\n encodeLocation(to: To): Path;\n\n /**\n * @internal\n * PRIVATE - DO NOT USE\n *\n * Get/create a fetcher for the given key\n * @param key\n */\n getFetcher(key?: string): Fetcher;\n\n /**\n * @internal\n * PRIVATE - DO NOT USE\n *\n * Delete the fetcher for a given key\n * @param key\n */\n deleteFetcher(key?: string): void;\n\n /**\n * @internal\n * PRIVATE - DO NOT USE\n *\n * Cleanup listeners and abort any in-progress loads\n */\n dispose(): void;\n\n /**\n * @internal\n * PRIVATE - DO NOT USE\n *\n * Get a navigation blocker\n * @param key The identifier for the blocker\n * @param fn The blocker function implementation\n */\n getBlocker(key: string, fn: BlockerFunction): Blocker;\n\n /**\n * @internal\n * PRIVATE - DO NOT USE\n *\n * Delete a navigation blocker\n * @param key The identifier for the blocker\n */\n deleteBlocker(key: string): void;\n\n /**\n * @internal\n * PRIVATE - DO NOT USE\n *\n * Internal fetch AbortControllers accessed by unit tests\n */\n _internalFetchControllers: Map;\n\n /**\n * @internal\n * PRIVATE - DO NOT USE\n *\n * Internal pending DeferredData instances accessed by unit tests\n */\n _internalActiveDeferreds: Map;\n}\n\n/**\n * State maintained internally by the router. During a navigation, all states\n * reflect the the \"old\" location unless otherwise noted.\n */\nexport interface RouterState {\n /**\n * The action of the most recent navigation\n */\n historyAction: HistoryAction;\n\n /**\n * The current location reflected by the router\n */\n location: Location;\n\n /**\n * The current set of route matches\n */\n matches: AgnosticDataRouteMatch[];\n\n /**\n * Tracks whether we've completed our initial data load\n */\n initialized: boolean;\n\n /**\n * Current scroll position we should start at for a new view\n * - number -> scroll position to restore to\n * - false -> do not restore scroll at all (used during submissions)\n * - null -> don't have a saved position, scroll to hash or top of page\n */\n restoreScrollPosition: number | false | null;\n\n /**\n * Indicate whether this navigation should skip resetting the scroll position\n * if we are unable to restore the scroll position\n */\n preventScrollReset: boolean;\n\n /**\n * Tracks the state of the current navigation\n */\n navigation: Navigation;\n\n /**\n * Tracks any in-progress revalidations\n */\n revalidation: RevalidationState;\n\n /**\n * Data from the loaders for the current matches\n */\n loaderData: RouteData;\n\n /**\n * Data from the action for the current matches\n */\n actionData: RouteData | null;\n\n /**\n * Errors caught from loaders for the current matches\n */\n errors: RouteData | null;\n\n /**\n * Map of current fetchers\n */\n fetchers: Map;\n\n /**\n * Map of current blockers\n */\n blockers: Map;\n}\n\n/**\n * Data that can be passed into hydrate a Router from SSR\n */\nexport type HydrationState = Partial<\n Pick\n>;\n\n/**\n * Initialization options for createRouter\n */\nexport interface RouterInit {\n basename?: string;\n routes: AgnosticRouteObject[];\n history: History;\n hydrationData?: HydrationState;\n}\n\n/**\n * State returned from a server-side query() call\n */\nexport interface StaticHandlerContext {\n basename: Router[\"basename\"];\n location: RouterState[\"location\"];\n matches: RouterState[\"matches\"];\n loaderData: RouterState[\"loaderData\"];\n actionData: RouterState[\"actionData\"];\n errors: RouterState[\"errors\"];\n statusCode: number;\n loaderHeaders: Record;\n actionHeaders: Record;\n activeDeferreds: Record | null;\n _deepestRenderedBoundaryId?: string | null;\n}\n\n/**\n * A StaticHandler instance manages a singular SSR navigation/fetch event\n */\nexport interface StaticHandler {\n dataRoutes: AgnosticDataRouteObject[];\n query(\n request: Request,\n opts?: { requestContext?: unknown }\n ): Promise;\n queryRoute(\n request: Request,\n opts?: { routeId?: string; requestContext?: unknown }\n ): Promise;\n}\n\n/**\n * Subscriber function signature for changes to router state\n */\nexport interface RouterSubscriber {\n (state: RouterState): void;\n}\n\ninterface UseMatchesMatch {\n id: string;\n pathname: string;\n params: AgnosticRouteMatch[\"params\"];\n data: unknown;\n handle: unknown;\n}\n\n/**\n * Function signature for determining the key to be used in scroll restoration\n * for a given location\n */\nexport interface GetScrollRestorationKeyFunction {\n (location: Location, matches: UseMatchesMatch[]): string | null;\n}\n\n/**\n * Function signature for determining the current scroll position\n */\nexport interface GetScrollPositionFunction {\n (): number;\n}\n\n/**\n * Options for a navigate() call for a Link navigation\n */\ntype LinkNavigateOptions = {\n replace?: boolean;\n state?: any;\n preventScrollReset?: boolean;\n};\n\n/**\n * Options for a navigate() call for a Form navigation\n */\ntype SubmissionNavigateOptions = {\n replace?: boolean;\n state?: any;\n preventScrollReset?: boolean;\n formMethod?: FormMethod;\n formEncType?: FormEncType;\n formData: FormData;\n};\n\n/**\n * Options to pass to navigate() for either a Link or Form navigation\n */\nexport type RouterNavigateOptions =\n | LinkNavigateOptions\n | SubmissionNavigateOptions;\n\n/**\n * Options to pass to fetch()\n */\nexport type RouterFetchOptions =\n | Omit\n | Omit;\n\n/**\n * Potential states for state.navigation\n */\nexport type NavigationStates = {\n Idle: {\n state: \"idle\";\n location: undefined;\n formMethod: undefined;\n formAction: undefined;\n formEncType: undefined;\n formData: undefined;\n };\n Loading: {\n state: \"loading\";\n location: Location;\n formMethod: FormMethod | undefined;\n formAction: string | undefined;\n formEncType: FormEncType | undefined;\n formData: FormData | undefined;\n };\n Submitting: {\n state: \"submitting\";\n location: Location;\n formMethod: FormMethod;\n formAction: string;\n formEncType: FormEncType;\n formData: FormData;\n };\n};\n\nexport type Navigation = NavigationStates[keyof NavigationStates];\n\nexport type RevalidationState = \"idle\" | \"loading\";\n\n/**\n * Potential states for fetchers\n */\ntype FetcherStates = {\n Idle: {\n state: \"idle\";\n formMethod: undefined;\n formAction: undefined;\n formEncType: undefined;\n formData: undefined;\n data: TData | undefined;\n \" _hasFetcherDoneAnything \"?: boolean;\n };\n Loading: {\n state: \"loading\";\n formMethod: FormMethod | undefined;\n formAction: string | undefined;\n formEncType: FormEncType | undefined;\n formData: FormData | undefined;\n data: TData | undefined;\n \" _hasFetcherDoneAnything \"?: boolean;\n };\n Submitting: {\n state: \"submitting\";\n formMethod: FormMethod;\n formAction: string;\n formEncType: FormEncType;\n formData: FormData;\n data: TData | undefined;\n \" _hasFetcherDoneAnything \"?: boolean;\n };\n};\n\nexport type Fetcher =\n FetcherStates[keyof FetcherStates];\n\ninterface BlockerBlocked {\n state: \"blocked\";\n reset(): void;\n proceed(): void;\n location: Location;\n}\n\ninterface BlockerUnblocked {\n state: \"unblocked\";\n reset: undefined;\n proceed: undefined;\n location: undefined;\n}\n\ninterface BlockerProceeding {\n state: \"proceeding\";\n reset: undefined;\n proceed: undefined;\n location: Location;\n}\n\nexport type Blocker = BlockerUnblocked | BlockerBlocked | BlockerProceeding;\n\nexport type BlockerFunction = (args: {\n currentLocation: Location;\n nextLocation: Location;\n historyAction: HistoryAction;\n}) => boolean;\n\ninterface ShortCircuitable {\n /**\n * startNavigation does not need to complete the navigation because we\n * redirected or got interrupted\n */\n shortCircuited?: boolean;\n}\n\ninterface HandleActionResult extends ShortCircuitable {\n /**\n * Error thrown from the current action, keyed by the route containing the\n * error boundary to render the error. To be committed to the state after\n * loaders have completed\n */\n pendingActionError?: RouteData;\n /**\n * Data returned from the current action, keyed by the route owning the action.\n * To be committed to the state after loaders have completed\n */\n pendingActionData?: RouteData;\n}\n\ninterface HandleLoadersResult extends ShortCircuitable {\n /**\n * loaderData returned from the current set of loaders\n */\n loaderData?: RouterState[\"loaderData\"];\n /**\n * errors thrown from the current set of loaders\n */\n errors?: RouterState[\"errors\"];\n}\n\n/**\n * Cached info for active fetcher.load() instances so they can participate\n * in revalidation\n */\ninterface FetchLoadMatch {\n routeId: string;\n path: string;\n match: AgnosticDataRouteMatch;\n matches: AgnosticDataRouteMatch[];\n}\n\n/**\n * Identified fetcher.load() calls that need to be revalidated\n */\ninterface RevalidatingFetcher extends FetchLoadMatch {\n key: string;\n}\n\n/**\n * Wrapper object to allow us to throw any response out from callLoaderOrAction\n * for queryRouter while preserving whether or not it was thrown or returned\n * from the loader/action\n */\ninterface QueryRouteResponse {\n type: ResultType.data | ResultType.error;\n response: Response;\n}\n\nconst validMutationMethodsArr: MutationFormMethod[] = [\n \"post\",\n \"put\",\n \"patch\",\n \"delete\",\n];\nconst validMutationMethods = new Set(\n validMutationMethodsArr\n);\n\nconst validRequestMethodsArr: FormMethod[] = [\n \"get\",\n ...validMutationMethodsArr,\n];\nconst validRequestMethods = new Set(validRequestMethodsArr);\n\nconst redirectStatusCodes = new Set([301, 302, 303, 307, 308]);\nconst redirectPreserveMethodStatusCodes = new Set([307, 308]);\n\nexport const IDLE_NAVIGATION: NavigationStates[\"Idle\"] = {\n state: \"idle\",\n location: undefined,\n formMethod: undefined,\n formAction: undefined,\n formEncType: undefined,\n formData: undefined,\n};\n\nexport const IDLE_FETCHER: FetcherStates[\"Idle\"] = {\n state: \"idle\",\n data: undefined,\n formMethod: undefined,\n formAction: undefined,\n formEncType: undefined,\n formData: undefined,\n};\n\nexport const IDLE_BLOCKER: BlockerUnblocked = {\n state: \"unblocked\",\n proceed: undefined,\n reset: undefined,\n location: undefined,\n};\n\nconst ABSOLUTE_URL_REGEX = /^(?:[a-z][a-z0-9+.-]*:|\\/\\/)/i;\n\nconst isBrowser =\n typeof window !== \"undefined\" &&\n typeof window.document !== \"undefined\" &&\n typeof window.document.createElement !== \"undefined\";\nconst isServer = !isBrowser;\n//#endregion\n\n////////////////////////////////////////////////////////////////////////////////\n//#region createRouter\n////////////////////////////////////////////////////////////////////////////////\n\n/**\n * Create a router and listen to history POP navigations\n */\nexport function createRouter(init: RouterInit): Router {\n invariant(\n init.routes.length > 0,\n \"You must provide a non-empty routes array to createRouter\"\n );\n\n let dataRoutes = convertRoutesToDataRoutes(init.routes);\n // Cleanup function for history\n let unlistenHistory: (() => void) | null = null;\n // Externally-provided functions to call on all state changes\n let subscribers = new Set();\n // Externally-provided object to hold scroll restoration locations during routing\n let savedScrollPositions: Record | null = null;\n // Externally-provided function to get scroll restoration keys\n let getScrollRestorationKey: GetScrollRestorationKeyFunction | null = null;\n // Externally-provided function to get current scroll position\n let getScrollPosition: GetScrollPositionFunction | null = null;\n // One-time flag to control the initial hydration scroll restoration. Because\n // we don't get the saved positions from until _after_\n // the initial render, we need to manually trigger a separate updateState to\n // send along the restoreScrollPosition\n // Set to true if we have `hydrationData` since we assume we were SSR'd and that\n // SSR did the initial scroll restoration.\n let initialScrollRestored = init.hydrationData != null;\n\n let initialMatches = matchRoutes(\n dataRoutes,\n init.history.location,\n init.basename\n );\n let initialErrors: RouteData | null = null;\n\n if (initialMatches == null) {\n // If we do not match a user-provided-route, fall back to the root\n // to allow the error boundary to take over\n let error = getInternalRouterError(404, {\n pathname: init.history.location.pathname,\n });\n let { matches, route } = getShortCircuitMatches(dataRoutes);\n initialMatches = matches;\n initialErrors = { [route.id]: error };\n }\n\n let initialized =\n !initialMatches.some((m) => m.route.loader) || init.hydrationData != null;\n\n let router: Router;\n let state: RouterState = {\n historyAction: init.history.action,\n location: init.history.location,\n matches: initialMatches,\n initialized,\n navigation: IDLE_NAVIGATION,\n // Don't restore on initial updateState() if we were SSR'd\n restoreScrollPosition: init.hydrationData != null ? false : null,\n preventScrollReset: false,\n revalidation: \"idle\",\n loaderData: (init.hydrationData && init.hydrationData.loaderData) || {},\n actionData: (init.hydrationData && init.hydrationData.actionData) || null,\n errors: (init.hydrationData && init.hydrationData.errors) || initialErrors,\n fetchers: new Map(),\n blockers: new Map(),\n };\n\n // -- Stateful internal variables to manage navigations --\n // Current navigation in progress (to be committed in completeNavigation)\n let pendingAction: HistoryAction = HistoryAction.Pop;\n\n // Should the current navigation prevent the scroll reset if scroll cannot\n // be restored?\n let pendingPreventScrollReset = false;\n\n // AbortController for the active navigation\n let pendingNavigationController: AbortController | null;\n\n // We use this to avoid touching history in completeNavigation if a\n // revalidation is entirely uninterrupted\n let isUninterruptedRevalidation = false;\n\n // Use this internal flag to force revalidation of all loaders:\n // - submissions (completed or interrupted)\n // - useRevalidate()\n // - X-Remix-Revalidate (from redirect)\n let isRevalidationRequired = false;\n\n // Use this internal array to capture routes that require revalidation due\n // to a cancelled deferred on action submission\n let cancelledDeferredRoutes: string[] = [];\n\n // Use this internal array to capture fetcher loads that were cancelled by an\n // action navigation and require revalidation\n let cancelledFetcherLoads: string[] = [];\n\n // AbortControllers for any in-flight fetchers\n let fetchControllers = new Map();\n\n // Track loads based on the order in which they started\n let incrementingLoadId = 0;\n\n // Track the outstanding pending navigation data load to be compared against\n // the globally incrementing load when a fetcher load lands after a completed\n // navigation\n let pendingNavigationLoadId = -1;\n\n // Fetchers that triggered data reloads as a result of their actions\n let fetchReloadIds = new Map();\n\n // Fetchers that triggered redirect navigations from their actions\n let fetchRedirectIds = new Set();\n\n // Most recent href/match for fetcher.load calls for fetchers\n let fetchLoadMatches = new Map();\n\n // Store DeferredData instances for active route matches. When a\n // route loader returns defer() we stick one in here. Then, when a nested\n // promise resolves we update loaderData. If a new navigation starts we\n // cancel active deferreds for eliminated routes.\n let activeDeferreds = new Map();\n\n // Store blocker functions in a separate Map outside of router state since\n // we don't need to update UI state if they change\n let blockerFunctions = new Map();\n\n // Flag to ignore the next history update, so we can revert the URL change on\n // a POP navigation that was blocked by the user without touching router state\n let ignoreNextHistoryUpdate = false;\n\n // Initialize the router, all side effects should be kicked off from here.\n // Implemented as a Fluent API for ease of:\n // let router = createRouter(init).initialize();\n function initialize() {\n // If history informs us of a POP navigation, start the navigation but do not update\n // state. We'll update our own state once the navigation completes\n unlistenHistory = init.history.listen(\n ({ action: historyAction, location, delta }) => {\n // Ignore this event if it was just us resetting the URL from a\n // blocked POP navigation\n if (ignoreNextHistoryUpdate) {\n ignoreNextHistoryUpdate = false;\n return;\n }\n\n warning(\n blockerFunctions.size === 0 || delta != null,\n \"You are trying to use a blocker on a POP navigation to a location \" +\n \"that was not created by @remix-run/router. This will fail silently in \" +\n \"production. This can happen if you are navigating outside the router \" +\n \"via `window.history.pushState`/`window.location.hash` instead of using \" +\n \"router navigation APIs. This can also happen if you are using \" +\n \"createHashRouter and the user manually changes the URL.\"\n );\n\n let blockerKey = shouldBlockNavigation({\n currentLocation: state.location,\n nextLocation: location,\n historyAction,\n });\n\n if (blockerKey && delta != null) {\n // Restore the URL to match the current UI, but don't update router state\n ignoreNextHistoryUpdate = true;\n init.history.go(delta * -1);\n\n // Put the blocker into a blocked state\n updateBlocker(blockerKey, {\n state: \"blocked\",\n location,\n proceed() {\n updateBlocker(blockerKey!, {\n state: \"proceeding\",\n proceed: undefined,\n reset: undefined,\n location,\n });\n // Re-do the same POP navigation we just blocked\n init.history.go(delta);\n },\n reset() {\n deleteBlocker(blockerKey!);\n updateState({ blockers: new Map(router.state.blockers) });\n },\n });\n return;\n }\n\n return startNavigation(historyAction, location);\n }\n );\n\n // Kick off initial data load if needed. Use Pop to avoid modifying history\n if (!state.initialized) {\n startNavigation(HistoryAction.Pop, state.location);\n }\n\n return router;\n }\n\n // Clean up a router and it's side effects\n function dispose() {\n if (unlistenHistory) {\n unlistenHistory();\n }\n subscribers.clear();\n pendingNavigationController && pendingNavigationController.abort();\n state.fetchers.forEach((_, key) => deleteFetcher(key));\n state.blockers.forEach((_, key) => deleteBlocker(key));\n }\n\n // Subscribe to state updates for the router\n function subscribe(fn: RouterSubscriber) {\n subscribers.add(fn);\n return () => subscribers.delete(fn);\n }\n\n // Update our state and notify the calling context of the change\n function updateState(newState: Partial): void {\n state = {\n ...state,\n ...newState,\n };\n subscribers.forEach((subscriber) => subscriber(state));\n }\n\n // Complete a navigation returning the state.navigation back to the IDLE_NAVIGATION\n // and setting state.[historyAction/location/matches] to the new route.\n // - Location is a required param\n // - Navigation will always be set to IDLE_NAVIGATION\n // - Can pass any other state in newState\n function completeNavigation(\n location: Location,\n newState: Partial>\n ): void {\n // Deduce if we're in a loading/actionReload state:\n // - We have committed actionData in the store\n // - The current navigation was a mutation submission\n // - We're past the submitting state and into the loading state\n // - The location being loaded is not the result of a redirect\n let isActionReload =\n state.actionData != null &&\n state.navigation.formMethod != null &&\n isMutationMethod(state.navigation.formMethod) &&\n state.navigation.state === \"loading\" &&\n location.state?._isRedirect !== true;\n\n let actionData: RouteData | null;\n if (newState.actionData) {\n if (Object.keys(newState.actionData).length > 0) {\n actionData = newState.actionData;\n } else {\n // Empty actionData -> clear prior actionData due to an action error\n actionData = null;\n }\n } else if (isActionReload) {\n // Keep the current data if we're wrapping up the action reload\n actionData = state.actionData;\n } else {\n // Clear actionData on any other completed navigations\n actionData = null;\n }\n\n // Always preserve any existing loaderData from re-used routes\n let loaderData = newState.loaderData\n ? mergeLoaderData(\n state.loaderData,\n newState.loaderData,\n newState.matches || [],\n newState.errors\n )\n : state.loaderData;\n\n // On a successful navigation we can assume we got through all blockers\n // so we can start fresh\n for (let [key] of blockerFunctions) {\n deleteBlocker(key);\n }\n\n // Always respect the user flag. Otherwise don't reset on mutation\n // submission navigations unless they redirect\n let preventScrollReset =\n pendingPreventScrollReset === true ||\n (state.navigation.formMethod != null &&\n isMutationMethod(state.navigation.formMethod) &&\n location.state?._isRedirect !== true);\n\n updateState({\n ...newState, // matches, errors, fetchers go through as-is\n actionData,\n loaderData,\n historyAction: pendingAction,\n location,\n initialized: true,\n navigation: IDLE_NAVIGATION,\n revalidation: \"idle\",\n restoreScrollPosition: getSavedScrollPosition(\n location,\n newState.matches || state.matches\n ),\n preventScrollReset,\n blockers: new Map(state.blockers),\n });\n\n if (isUninterruptedRevalidation) {\n // If this was an uninterrupted revalidation then do not touch history\n } else if (pendingAction === HistoryAction.Pop) {\n // Do nothing for POP - URL has already been updated\n } else if (pendingAction === HistoryAction.Push) {\n init.history.push(location, location.state);\n } else if (pendingAction === HistoryAction.Replace) {\n init.history.replace(location, location.state);\n }\n\n // Reset stateful navigation vars\n pendingAction = HistoryAction.Pop;\n pendingPreventScrollReset = false;\n isUninterruptedRevalidation = false;\n isRevalidationRequired = false;\n cancelledDeferredRoutes = [];\n cancelledFetcherLoads = [];\n }\n\n // Trigger a navigation event, which can either be a numerical POP or a PUSH\n // replace with an optional submission\n async function navigate(\n to: number | To,\n opts?: RouterNavigateOptions\n ): Promise {\n if (typeof to === \"number\") {\n init.history.go(to);\n return;\n }\n\n let { path, submission, error } = normalizeNavigateOptions(to, opts);\n\n let currentLocation = state.location;\n let nextLocation = createLocation(state.location, path, opts && opts.state);\n\n // When using navigate as a PUSH/REPLACE we aren't reading an already-encoded\n // URL from window.location, so we need to encode it here so the behavior\n // remains the same as POP and non-data-router usages. new URL() does all\n // the same encoding we'd get from a history.pushState/window.location read\n // without having to touch history\n nextLocation = {\n ...nextLocation,\n ...init.history.encodeLocation(nextLocation),\n };\n\n let userReplace = opts && opts.replace != null ? opts.replace : undefined;\n\n let historyAction = HistoryAction.Push;\n\n if (userReplace === true) {\n historyAction = HistoryAction.Replace;\n } else if (userReplace === false) {\n // no-op\n } else if (\n submission != null &&\n isMutationMethod(submission.formMethod) &&\n submission.formAction === state.location.pathname + state.location.search\n ) {\n // By default on submissions to the current location we REPLACE so that\n // users don't have to double-click the back button to get to the prior\n // location. If the user redirects to a different location from the\n // action/loader this will be ignored and the redirect will be a PUSH\n historyAction = HistoryAction.Replace;\n }\n\n let preventScrollReset =\n opts && \"preventScrollReset\" in opts\n ? opts.preventScrollReset === true\n : undefined;\n\n let blockerKey = shouldBlockNavigation({\n currentLocation,\n nextLocation,\n historyAction,\n });\n if (blockerKey) {\n // Put the blocker into a blocked state\n updateBlocker(blockerKey, {\n state: \"blocked\",\n location: nextLocation,\n proceed() {\n updateBlocker(blockerKey!, {\n state: \"proceeding\",\n proceed: undefined,\n reset: undefined,\n location: nextLocation,\n });\n // Send the same navigation through\n navigate(to, opts);\n },\n reset() {\n deleteBlocker(blockerKey!);\n updateState({ blockers: new Map(state.blockers) });\n },\n });\n return;\n }\n\n return await startNavigation(historyAction, nextLocation, {\n submission,\n // Send through the formData serialization error if we have one so we can\n // render at the right error boundary after we match routes\n pendingError: error,\n preventScrollReset,\n replace: opts && opts.replace,\n });\n }\n\n // Revalidate all current loaders. If a navigation is in progress or if this\n // is interrupted by a navigation, allow this to \"succeed\" by calling all\n // loaders during the next loader round\n function revalidate() {\n interruptActiveLoads();\n updateState({ revalidation: \"loading\" });\n\n // If we're currently submitting an action, we don't need to start a new\n // navigation, we'll just let the follow up loader execution call all loaders\n if (state.navigation.state === \"submitting\") {\n return;\n }\n\n // If we're currently in an idle state, start a new navigation for the current\n // action/location and mark it as uninterrupted, which will skip the history\n // update in completeNavigation\n if (state.navigation.state === \"idle\") {\n startNavigation(state.historyAction, state.location, {\n startUninterruptedRevalidation: true,\n });\n return;\n }\n\n // Otherwise, if we're currently in a loading state, just start a new\n // navigation to the navigation.location but do not trigger an uninterrupted\n // revalidation so that history correctly updates once the navigation completes\n startNavigation(\n pendingAction || state.historyAction,\n state.navigation.location,\n { overrideNavigation: state.navigation }\n );\n }\n\n // Start a navigation to the given action/location. Can optionally provide a\n // overrideNavigation which will override the normalLoad in the case of a redirect\n // navigation\n async function startNavigation(\n historyAction: HistoryAction,\n location: Location,\n opts?: {\n submission?: Submission;\n overrideNavigation?: Navigation;\n pendingError?: ErrorResponse;\n startUninterruptedRevalidation?: boolean;\n preventScrollReset?: boolean;\n replace?: boolean;\n }\n ): Promise {\n // Abort any in-progress navigations and start a new one. Unset any ongoing\n // uninterrupted revalidations unless told otherwise, since we want this\n // new navigation to update history normally\n pendingNavigationController && pendingNavigationController.abort();\n pendingNavigationController = null;\n pendingAction = historyAction;\n isUninterruptedRevalidation =\n (opts && opts.startUninterruptedRevalidation) === true;\n\n // Save the current scroll position every time we start a new navigation,\n // and track whether we should reset scroll on completion\n saveScrollPosition(state.location, state.matches);\n pendingPreventScrollReset = (opts && opts.preventScrollReset) === true;\n\n let loadingNavigation = opts && opts.overrideNavigation;\n let matches = matchRoutes(dataRoutes, location, init.basename);\n\n // Short circuit with a 404 on the root error boundary if we match nothing\n if (!matches) {\n let error = getInternalRouterError(404, { pathname: location.pathname });\n let { matches: notFoundMatches, route } =\n getShortCircuitMatches(dataRoutes);\n // Cancel all pending deferred on 404s since we don't keep any routes\n cancelActiveDeferreds();\n completeNavigation(location, {\n matches: notFoundMatches,\n loaderData: {},\n errors: {\n [route.id]: error,\n },\n });\n return;\n }\n\n // Short circuit if it's only a hash change and not a mutation submission\n // For example, on /page#hash and submit a
which will\n // default to a navigation to /page\n if (\n isHashChangeOnly(state.location, location) &&\n !(opts && opts.submission && isMutationMethod(opts.submission.formMethod))\n ) {\n completeNavigation(location, { matches });\n return;\n }\n\n // Create a controller/Request for this navigation\n pendingNavigationController = new AbortController();\n let request = createClientSideRequest(\n init.history,\n location,\n pendingNavigationController.signal,\n opts && opts.submission\n );\n let pendingActionData: RouteData | undefined;\n let pendingError: RouteData | undefined;\n\n if (opts && opts.pendingError) {\n // If we have a pendingError, it means the user attempted a GET submission\n // with binary FormData so assign here and skip to handleLoaders. That\n // way we handle calling loaders above the boundary etc. It's not really\n // different from an actionError in that sense.\n pendingError = {\n [findNearestBoundary(matches).route.id]: opts.pendingError,\n };\n } else if (\n opts &&\n opts.submission &&\n isMutationMethod(opts.submission.formMethod)\n ) {\n // Call action if we received an action submission\n let actionOutput = await handleAction(\n request,\n location,\n opts.submission,\n matches,\n { replace: opts.replace }\n );\n\n if (actionOutput.shortCircuited) {\n return;\n }\n\n pendingActionData = actionOutput.pendingActionData;\n pendingError = actionOutput.pendingActionError;\n\n let navigation: NavigationStates[\"Loading\"] = {\n state: \"loading\",\n location,\n ...opts.submission,\n };\n loadingNavigation = navigation;\n\n // Create a GET request for the loaders\n request = new Request(request.url, { signal: request.signal });\n }\n\n // Call loaders\n let { shortCircuited, loaderData, errors } = await handleLoaders(\n request,\n location,\n matches,\n loadingNavigation,\n opts && opts.submission,\n opts && opts.replace,\n pendingActionData,\n pendingError\n );\n\n if (shortCircuited) {\n return;\n }\n\n // Clean up now that the action/loaders have completed. Don't clean up if\n // we short circuited because pendingNavigationController will have already\n // been assigned to a new controller for the next navigation\n pendingNavigationController = null;\n\n completeNavigation(location, {\n matches,\n ...(pendingActionData ? { actionData: pendingActionData } : {}),\n loaderData,\n errors,\n });\n }\n\n // Call the action matched by the leaf route for this navigation and handle\n // redirects/errors\n async function handleAction(\n request: Request,\n location: Location,\n submission: Submission,\n matches: AgnosticDataRouteMatch[],\n opts?: { replace?: boolean }\n ): Promise {\n interruptActiveLoads();\n\n // Put us in a submitting state\n let navigation: NavigationStates[\"Submitting\"] = {\n state: \"submitting\",\n location,\n ...submission,\n };\n updateState({ navigation });\n\n // Call our action and get the result\n let result: DataResult;\n let actionMatch = getTargetMatch(matches, location);\n\n if (!actionMatch.route.action) {\n result = {\n type: ResultType.error,\n error: getInternalRouterError(405, {\n method: request.method,\n pathname: location.pathname,\n routeId: actionMatch.route.id,\n }),\n };\n } else {\n result = await callLoaderOrAction(\n \"action\",\n request,\n actionMatch,\n matches,\n router.basename\n );\n\n if (request.signal.aborted) {\n return { shortCircuited: true };\n }\n }\n\n if (isRedirectResult(result)) {\n let replace: boolean;\n if (opts && opts.replace != null) {\n replace = opts.replace;\n } else {\n // If the user didn't explicity indicate replace behavior, replace if\n // we redirected to the exact same location we're currently at to avoid\n // double back-buttons\n replace =\n result.location === state.location.pathname + state.location.search;\n }\n await startRedirectNavigation(state, result, { submission, replace });\n return { shortCircuited: true };\n }\n\n if (isErrorResult(result)) {\n // Store off the pending error - we use it to determine which loaders\n // to call and will commit it when we complete the navigation\n let boundaryMatch = findNearestBoundary(matches, actionMatch.route.id);\n\n // By default, all submissions are REPLACE navigations, but if the\n // action threw an error that'll be rendered in an errorElement, we fall\n // back to PUSH so that the user can use the back button to get back to\n // the pre-submission form location to try again\n if ((opts && opts.replace) !== true) {\n pendingAction = HistoryAction.Push;\n }\n\n return {\n // Send back an empty object we can use to clear out any prior actionData\n pendingActionData: {},\n pendingActionError: { [boundaryMatch.route.id]: result.error },\n };\n }\n\n if (isDeferredResult(result)) {\n throw getInternalRouterError(400, { type: \"defer-action\" });\n }\n\n return {\n pendingActionData: { [actionMatch.route.id]: result.data },\n };\n }\n\n // Call all applicable loaders for the given matches, handling redirects,\n // errors, etc.\n async function handleLoaders(\n request: Request,\n location: Location,\n matches: AgnosticDataRouteMatch[],\n overrideNavigation?: Navigation,\n submission?: Submission,\n replace?: boolean,\n pendingActionData?: RouteData,\n pendingError?: RouteData\n ): Promise {\n // Figure out the right navigation we want to use for data loading\n let loadingNavigation = overrideNavigation;\n if (!loadingNavigation) {\n let navigation: NavigationStates[\"Loading\"] = {\n state: \"loading\",\n location,\n formMethod: undefined,\n formAction: undefined,\n formEncType: undefined,\n formData: undefined,\n ...submission,\n };\n loadingNavigation = navigation;\n }\n\n // If this was a redirect from an action we don't have a \"submission\" but\n // we have it on the loading navigation so use that if available\n let activeSubmission = submission\n ? submission\n : loadingNavigation.formMethod &&\n loadingNavigation.formAction &&\n loadingNavigation.formData &&\n loadingNavigation.formEncType\n ? {\n formMethod: loadingNavigation.formMethod,\n formAction: loadingNavigation.formAction,\n formData: loadingNavigation.formData,\n formEncType: loadingNavigation.formEncType,\n }\n : undefined;\n\n let [matchesToLoad, revalidatingFetchers] = getMatchesToLoad(\n init.history,\n state,\n matches,\n activeSubmission,\n location,\n isRevalidationRequired,\n cancelledDeferredRoutes,\n cancelledFetcherLoads,\n pendingActionData,\n pendingError,\n fetchLoadMatches\n );\n\n // Cancel pending deferreds for no-longer-matched routes or routes we're\n // about to reload. Note that if this is an action reload we would have\n // already cancelled all pending deferreds so this would be a no-op\n cancelActiveDeferreds(\n (routeId) =>\n !(matches && matches.some((m) => m.route.id === routeId)) ||\n (matchesToLoad && matchesToLoad.some((m) => m.route.id === routeId))\n );\n\n // Short circuit if we have no loaders to run\n if (matchesToLoad.length === 0 && revalidatingFetchers.length === 0) {\n completeNavigation(location, {\n matches,\n loaderData: {},\n // Commit pending error if we're short circuiting\n errors: pendingError || null,\n ...(pendingActionData ? { actionData: pendingActionData } : {}),\n });\n return { shortCircuited: true };\n }\n\n // If this is an uninterrupted revalidation, we remain in our current idle\n // state. If not, we need to switch to our loading state and load data,\n // preserving any new action data or existing action data (in the case of\n // a revalidation interrupting an actionReload)\n if (!isUninterruptedRevalidation) {\n revalidatingFetchers.forEach((rf) => {\n let fetcher = state.fetchers.get(rf.key);\n let revalidatingFetcher: FetcherStates[\"Loading\"] = {\n state: \"loading\",\n data: fetcher && fetcher.data,\n formMethod: undefined,\n formAction: undefined,\n formEncType: undefined,\n formData: undefined,\n \" _hasFetcherDoneAnything \": true,\n };\n state.fetchers.set(rf.key, revalidatingFetcher);\n });\n let actionData = pendingActionData || state.actionData;\n updateState({\n navigation: loadingNavigation,\n ...(actionData\n ? Object.keys(actionData).length === 0\n ? { actionData: null }\n : { actionData }\n : {}),\n ...(revalidatingFetchers.length > 0\n ? { fetchers: new Map(state.fetchers) }\n : {}),\n });\n }\n\n pendingNavigationLoadId = ++incrementingLoadId;\n revalidatingFetchers.forEach((rf) =>\n fetchControllers.set(rf.key, pendingNavigationController!)\n );\n\n let { results, loaderResults, fetcherResults } =\n await callLoadersAndMaybeResolveData(\n state.matches,\n matches,\n matchesToLoad,\n revalidatingFetchers,\n request\n );\n\n if (request.signal.aborted) {\n return { shortCircuited: true };\n }\n\n // Clean up _after_ loaders have completed. Don't clean up if we short\n // circuited because fetchControllers would have been aborted and\n // reassigned to new controllers for the next navigation\n revalidatingFetchers.forEach((rf) => fetchControllers.delete(rf.key));\n\n // If any loaders returned a redirect Response, start a new REPLACE navigation\n let redirect = findRedirect(results);\n if (redirect) {\n await startRedirectNavigation(state, redirect, { replace });\n return { shortCircuited: true };\n }\n\n // Process and commit output from loaders\n let { loaderData, errors } = processLoaderData(\n state,\n matches,\n matchesToLoad,\n loaderResults,\n pendingError,\n revalidatingFetchers,\n fetcherResults,\n activeDeferreds\n );\n\n // Wire up subscribers to update loaderData as promises settle\n activeDeferreds.forEach((deferredData, routeId) => {\n deferredData.subscribe((aborted) => {\n // Note: No need to updateState here since the TrackedPromise on\n // loaderData is stable across resolve/reject\n // Remove this instance if we were aborted or if promises have settled\n if (aborted || deferredData.done) {\n activeDeferreds.delete(routeId);\n }\n });\n });\n\n markFetchRedirectsDone();\n let didAbortFetchLoads = abortStaleFetchLoads(pendingNavigationLoadId);\n\n return {\n loaderData,\n errors,\n ...(didAbortFetchLoads || revalidatingFetchers.length > 0\n ? { fetchers: new Map(state.fetchers) }\n : {}),\n };\n }\n\n function getFetcher(key: string): Fetcher {\n return state.fetchers.get(key) || IDLE_FETCHER;\n }\n\n // Trigger a fetcher load/submit for the given fetcher key\n function fetch(\n key: string,\n routeId: string,\n href: string,\n opts?: RouterFetchOptions\n ) {\n if (isServer) {\n throw new Error(\n \"router.fetch() was called during the server render, but it shouldn't be. \" +\n \"You are likely calling a useFetcher() method in the body of your component. \" +\n \"Try moving it to a useEffect or a callback.\"\n );\n }\n\n if (fetchControllers.has(key)) abortFetcher(key);\n\n let matches = matchRoutes(dataRoutes, href, init.basename);\n if (!matches) {\n setFetcherError(\n key,\n routeId,\n getInternalRouterError(404, { pathname: href })\n );\n return;\n }\n\n let { path, submission } = normalizeNavigateOptions(href, opts, true);\n let match = getTargetMatch(matches, path);\n\n pendingPreventScrollReset = (opts && opts.preventScrollReset) === true;\n\n if (submission && isMutationMethod(submission.formMethod)) {\n handleFetcherAction(key, routeId, path, match, matches, submission);\n return;\n }\n\n // Store off the match so we can call it's shouldRevalidate on subsequent\n // revalidations\n fetchLoadMatches.set(key, { routeId, path, match, matches });\n handleFetcherLoader(key, routeId, path, match, matches, submission);\n }\n\n // Call the action for the matched fetcher.submit(), and then handle redirects,\n // errors, and revalidation\n async function handleFetcherAction(\n key: string,\n routeId: string,\n path: string,\n match: AgnosticDataRouteMatch,\n requestMatches: AgnosticDataRouteMatch[],\n submission: Submission\n ) {\n interruptActiveLoads();\n fetchLoadMatches.delete(key);\n\n if (!match.route.action) {\n let error = getInternalRouterError(405, {\n method: submission.formMethod,\n pathname: path,\n routeId: routeId,\n });\n setFetcherError(key, routeId, error);\n return;\n }\n\n // Put this fetcher into it's submitting state\n let existingFetcher = state.fetchers.get(key);\n let fetcher: FetcherStates[\"Submitting\"] = {\n state: \"submitting\",\n ...submission,\n data: existingFetcher && existingFetcher.data,\n \" _hasFetcherDoneAnything \": true,\n };\n state.fetchers.set(key, fetcher);\n updateState({ fetchers: new Map(state.fetchers) });\n\n // Call the action for the fetcher\n let abortController = new AbortController();\n let fetchRequest = createClientSideRequest(\n init.history,\n path,\n abortController.signal,\n submission\n );\n fetchControllers.set(key, abortController);\n\n let actionResult = await callLoaderOrAction(\n \"action\",\n fetchRequest,\n match,\n requestMatches,\n router.basename\n );\n\n if (fetchRequest.signal.aborted) {\n // We can delete this so long as we weren't aborted by ou our own fetcher\n // re-submit which would have put _new_ controller is in fetchControllers\n if (fetchControllers.get(key) === abortController) {\n fetchControllers.delete(key);\n }\n return;\n }\n\n if (isRedirectResult(actionResult)) {\n fetchControllers.delete(key);\n fetchRedirectIds.add(key);\n let loadingFetcher: FetcherStates[\"Loading\"] = {\n state: \"loading\",\n ...submission,\n data: undefined,\n \" _hasFetcherDoneAnything \": true,\n };\n state.fetchers.set(key, loadingFetcher);\n updateState({ fetchers: new Map(state.fetchers) });\n\n return startRedirectNavigation(state, actionResult, {\n isFetchActionRedirect: true,\n });\n }\n\n // Process any non-redirect errors thrown\n if (isErrorResult(actionResult)) {\n setFetcherError(key, routeId, actionResult.error);\n return;\n }\n\n if (isDeferredResult(actionResult)) {\n throw getInternalRouterError(400, { type: \"defer-action\" });\n }\n\n // Start the data load for current matches, or the next location if we're\n // in the middle of a navigation\n let nextLocation = state.navigation.location || state.location;\n let revalidationRequest = createClientSideRequest(\n init.history,\n\n nextLocation,\n abortController.signal\n );\n let matches =\n state.navigation.state !== \"idle\"\n ? matchRoutes(dataRoutes, state.navigation.location, init.basename)\n : state.matches;\n\n invariant(matches, \"Didn't find any matches after fetcher action\");\n\n let loadId = ++incrementingLoadId;\n fetchReloadIds.set(key, loadId);\n\n let loadFetcher: FetcherStates[\"Loading\"] = {\n state: \"loading\",\n data: actionResult.data,\n ...submission,\n \" _hasFetcherDoneAnything \": true,\n };\n state.fetchers.set(key, loadFetcher);\n\n let [matchesToLoad, revalidatingFetchers] = getMatchesToLoad(\n init.history,\n state,\n matches,\n submission,\n nextLocation,\n isRevalidationRequired,\n cancelledDeferredRoutes,\n cancelledFetcherLoads,\n { [match.route.id]: actionResult.data },\n undefined, // No need to send through errors since we short circuit above\n fetchLoadMatches\n );\n\n // Put all revalidating fetchers into the loading state, except for the\n // current fetcher which we want to keep in it's current loading state which\n // contains it's action submission info + action data\n revalidatingFetchers\n .filter((rf) => rf.key !== key)\n .forEach((rf) => {\n let staleKey = rf.key;\n let existingFetcher = state.fetchers.get(staleKey);\n let revalidatingFetcher: FetcherStates[\"Loading\"] = {\n state: \"loading\",\n data: existingFetcher && existingFetcher.data,\n formMethod: undefined,\n formAction: undefined,\n formEncType: undefined,\n formData: undefined,\n \" _hasFetcherDoneAnything \": true,\n };\n state.fetchers.set(staleKey, revalidatingFetcher);\n fetchControllers.set(staleKey, abortController);\n });\n\n updateState({ fetchers: new Map(state.fetchers) });\n\n let { results, loaderResults, fetcherResults } =\n await callLoadersAndMaybeResolveData(\n state.matches,\n matches,\n matchesToLoad,\n revalidatingFetchers,\n revalidationRequest\n );\n\n if (abortController.signal.aborted) {\n return;\n }\n\n fetchReloadIds.delete(key);\n fetchControllers.delete(key);\n revalidatingFetchers.forEach((r) => fetchControllers.delete(r.key));\n\n let redirect = findRedirect(results);\n if (redirect) {\n return startRedirectNavigation(state, redirect);\n }\n\n // Process and commit output from loaders\n let { loaderData, errors } = processLoaderData(\n state,\n state.matches,\n matchesToLoad,\n loaderResults,\n undefined,\n revalidatingFetchers,\n fetcherResults,\n activeDeferreds\n );\n\n let doneFetcher: FetcherStates[\"Idle\"] = {\n state: \"idle\",\n data: actionResult.data,\n formMethod: undefined,\n formAction: undefined,\n formEncType: undefined,\n formData: undefined,\n \" _hasFetcherDoneAnything \": true,\n };\n state.fetchers.set(key, doneFetcher);\n\n let didAbortFetchLoads = abortStaleFetchLoads(loadId);\n\n // If we are currently in a navigation loading state and this fetcher is\n // more recent than the navigation, we want the newer data so abort the\n // navigation and complete it with the fetcher data\n if (\n state.navigation.state === \"loading\" &&\n loadId > pendingNavigationLoadId\n ) {\n invariant(pendingAction, \"Expected pending action\");\n pendingNavigationController && pendingNavigationController.abort();\n\n completeNavigation(state.navigation.location, {\n matches,\n loaderData,\n errors,\n fetchers: new Map(state.fetchers),\n });\n } else {\n // otherwise just update with the fetcher data, preserving any existing\n // loaderData for loaders that did not need to reload. We have to\n // manually merge here since we aren't going through completeNavigation\n updateState({\n errors,\n loaderData: mergeLoaderData(\n state.loaderData,\n loaderData,\n matches,\n errors\n ),\n ...(didAbortFetchLoads ? { fetchers: new Map(state.fetchers) } : {}),\n });\n isRevalidationRequired = false;\n }\n }\n\n // Call the matched loader for fetcher.load(), handling redirects, errors, etc.\n async function handleFetcherLoader(\n key: string,\n routeId: string,\n path: string,\n match: AgnosticDataRouteMatch,\n matches: AgnosticDataRouteMatch[],\n submission?: Submission\n ) {\n let existingFetcher = state.fetchers.get(key);\n // Put this fetcher into it's loading state\n let loadingFetcher: FetcherStates[\"Loading\"] = {\n state: \"loading\",\n formMethod: undefined,\n formAction: undefined,\n formEncType: undefined,\n formData: undefined,\n ...submission,\n data: existingFetcher && existingFetcher.data,\n \" _hasFetcherDoneAnything \": true,\n };\n state.fetchers.set(key, loadingFetcher);\n updateState({ fetchers: new Map(state.fetchers) });\n\n // Call the loader for this fetcher route match\n let abortController = new AbortController();\n let fetchRequest = createClientSideRequest(\n init.history,\n path,\n abortController.signal\n );\n fetchControllers.set(key, abortController);\n let result: DataResult = await callLoaderOrAction(\n \"loader\",\n fetchRequest,\n match,\n matches,\n router.basename\n );\n\n // Deferred isn't supported for fetcher loads, await everything and treat it\n // as a normal load. resolveDeferredData will return undefined if this\n // fetcher gets aborted, so we just leave result untouched and short circuit\n // below if that happens\n if (isDeferredResult(result)) {\n result =\n (await resolveDeferredData(result, fetchRequest.signal, true)) ||\n result;\n }\n\n // We can delete this so long as we weren't aborted by ou our own fetcher\n // re-load which would have put _new_ controller is in fetchControllers\n if (fetchControllers.get(key) === abortController) {\n fetchControllers.delete(key);\n }\n\n if (fetchRequest.signal.aborted) {\n return;\n }\n\n // If the loader threw a redirect Response, start a new REPLACE navigation\n if (isRedirectResult(result)) {\n await startRedirectNavigation(state, result);\n return;\n }\n\n // Process any non-redirect errors thrown\n if (isErrorResult(result)) {\n let boundaryMatch = findNearestBoundary(state.matches, routeId);\n state.fetchers.delete(key);\n // TODO: In remix, this would reset to IDLE_NAVIGATION if it was a catch -\n // do we need to behave any differently with our non-redirect errors?\n // What if it was a non-redirect Response?\n updateState({\n fetchers: new Map(state.fetchers),\n errors: {\n [boundaryMatch.route.id]: result.error,\n },\n });\n return;\n }\n\n invariant(!isDeferredResult(result), \"Unhandled fetcher deferred data\");\n\n // Put the fetcher back into an idle state\n let doneFetcher: FetcherStates[\"Idle\"] = {\n state: \"idle\",\n data: result.data,\n formMethod: undefined,\n formAction: undefined,\n formEncType: undefined,\n formData: undefined,\n \" _hasFetcherDoneAnything \": true,\n };\n state.fetchers.set(key, doneFetcher);\n updateState({ fetchers: new Map(state.fetchers) });\n }\n\n /**\n * Utility function to handle redirects returned from an action or loader.\n * Normally, a redirect \"replaces\" the navigation that triggered it. So, for\n * example:\n *\n * - user is on /a\n * - user clicks a link to /b\n * - loader for /b redirects to /c\n *\n * In a non-JS app the browser would track the in-flight navigation to /b and\n * then replace it with /c when it encountered the redirect response. In\n * the end it would only ever update the URL bar with /c.\n *\n * In client-side routing using pushState/replaceState, we aim to emulate\n * this behavior and we also do not update history until the end of the\n * navigation (including processed redirects). This means that we never\n * actually touch history until we've processed redirects, so we just use\n * the history action from the original navigation (PUSH or REPLACE).\n */\n async function startRedirectNavigation(\n state: RouterState,\n redirect: RedirectResult,\n {\n submission,\n replace,\n isFetchActionRedirect,\n }: {\n submission?: Submission;\n replace?: boolean;\n isFetchActionRedirect?: boolean;\n } = {}\n ) {\n if (redirect.revalidate) {\n isRevalidationRequired = true;\n }\n\n let redirectLocation = createLocation(\n state.location,\n redirect.location,\n // TODO: This can be removed once we get rid of useTransition in Remix v2\n {\n _isRedirect: true,\n ...(isFetchActionRedirect ? { _isFetchActionRedirect: true } : {}),\n }\n );\n invariant(\n redirectLocation,\n \"Expected a location on the redirect navigation\"\n );\n\n // Check if this an absolute external redirect that goes to a new origin\n if (\n ABSOLUTE_URL_REGEX.test(redirect.location) &&\n isBrowser &&\n typeof window?.location !== \"undefined\"\n ) {\n let newOrigin = init.history.createURL(redirect.location).origin;\n if (window.location.origin !== newOrigin) {\n if (replace) {\n window.location.replace(redirect.location);\n } else {\n window.location.assign(redirect.location);\n }\n return;\n }\n }\n\n // There's no need to abort on redirects, since we don't detect the\n // redirect until the action/loaders have settled\n pendingNavigationController = null;\n\n let redirectHistoryAction =\n replace === true ? HistoryAction.Replace : HistoryAction.Push;\n\n // Use the incoming submission if provided, fallback on the active one in\n // state.navigation\n let { formMethod, formAction, formEncType, formData } = state.navigation;\n if (!submission && formMethod && formAction && formData && formEncType) {\n submission = {\n formMethod,\n formAction,\n formEncType,\n formData,\n };\n }\n\n // If this was a 307/308 submission we want to preserve the HTTP method and\n // re-submit the GET/POST/PUT/PATCH/DELETE as a submission navigation to the\n // redirected location\n if (\n redirectPreserveMethodStatusCodes.has(redirect.status) &&\n submission &&\n isMutationMethod(submission.formMethod)\n ) {\n await startNavigation(redirectHistoryAction, redirectLocation, {\n submission: {\n ...submission,\n formAction: redirect.location,\n },\n // Preserve this flag across redirects\n preventScrollReset: pendingPreventScrollReset,\n });\n } else {\n // Otherwise, we kick off a new loading navigation, preserving the\n // submission info for the duration of this navigation\n await startNavigation(redirectHistoryAction, redirectLocation, {\n overrideNavigation: {\n state: \"loading\",\n location: redirectLocation,\n formMethod: submission ? submission.formMethod : undefined,\n formAction: submission ? submission.formAction : undefined,\n formEncType: submission ? submission.formEncType : undefined,\n formData: submission ? submission.formData : undefined,\n },\n // Preserve this flag across redirects\n preventScrollReset: pendingPreventScrollReset,\n });\n }\n }\n\n async function callLoadersAndMaybeResolveData(\n currentMatches: AgnosticDataRouteMatch[],\n matches: AgnosticDataRouteMatch[],\n matchesToLoad: AgnosticDataRouteMatch[],\n fetchersToLoad: RevalidatingFetcher[],\n request: Request\n ) {\n // Call all navigation loaders and revalidating fetcher loaders in parallel,\n // then slice off the results into separate arrays so we can handle them\n // accordingly\n let results = await Promise.all([\n ...matchesToLoad.map((match) =>\n callLoaderOrAction(\"loader\", request, match, matches, router.basename)\n ),\n ...fetchersToLoad.map((f) =>\n callLoaderOrAction(\n \"loader\",\n createClientSideRequest(init.history, f.path, request.signal),\n f.match,\n f.matches,\n router.basename\n )\n ),\n ]);\n let loaderResults = results.slice(0, matchesToLoad.length);\n let fetcherResults = results.slice(matchesToLoad.length);\n\n await Promise.all([\n resolveDeferredResults(\n currentMatches,\n matchesToLoad,\n loaderResults,\n request.signal,\n false,\n state.loaderData\n ),\n resolveDeferredResults(\n currentMatches,\n fetchersToLoad.map((f) => f.match),\n fetcherResults,\n request.signal,\n true\n ),\n ]);\n\n return { results, loaderResults, fetcherResults };\n }\n\n function interruptActiveLoads() {\n // Every interruption triggers a revalidation\n isRevalidationRequired = true;\n\n // Cancel pending route-level deferreds and mark cancelled routes for\n // revalidation\n cancelledDeferredRoutes.push(...cancelActiveDeferreds());\n\n // Abort in-flight fetcher loads\n fetchLoadMatches.forEach((_, key) => {\n if (fetchControllers.has(key)) {\n cancelledFetcherLoads.push(key);\n abortFetcher(key);\n }\n });\n }\n\n function setFetcherError(key: string, routeId: string, error: any) {\n let boundaryMatch = findNearestBoundary(state.matches, routeId);\n deleteFetcher(key);\n updateState({\n errors: {\n [boundaryMatch.route.id]: error,\n },\n fetchers: new Map(state.fetchers),\n });\n }\n\n function deleteFetcher(key: string): void {\n if (fetchControllers.has(key)) abortFetcher(key);\n fetchLoadMatches.delete(key);\n fetchReloadIds.delete(key);\n fetchRedirectIds.delete(key);\n state.fetchers.delete(key);\n }\n\n function abortFetcher(key: string) {\n let controller = fetchControllers.get(key);\n invariant(controller, `Expected fetch controller: ${key}`);\n controller.abort();\n fetchControllers.delete(key);\n }\n\n function markFetchersDone(keys: string[]) {\n for (let key of keys) {\n let fetcher = getFetcher(key);\n let doneFetcher: FetcherStates[\"Idle\"] = {\n state: \"idle\",\n data: fetcher.data,\n formMethod: undefined,\n formAction: undefined,\n formEncType: undefined,\n formData: undefined,\n \" _hasFetcherDoneAnything \": true,\n };\n state.fetchers.set(key, doneFetcher);\n }\n }\n\n function markFetchRedirectsDone(): void {\n let doneKeys = [];\n for (let key of fetchRedirectIds) {\n let fetcher = state.fetchers.get(key);\n invariant(fetcher, `Expected fetcher: ${key}`);\n if (fetcher.state === \"loading\") {\n fetchRedirectIds.delete(key);\n doneKeys.push(key);\n }\n }\n markFetchersDone(doneKeys);\n }\n\n function abortStaleFetchLoads(landedId: number): boolean {\n let yeetedKeys = [];\n for (let [key, id] of fetchReloadIds) {\n if (id < landedId) {\n let fetcher = state.fetchers.get(key);\n invariant(fetcher, `Expected fetcher: ${key}`);\n if (fetcher.state === \"loading\") {\n abortFetcher(key);\n fetchReloadIds.delete(key);\n yeetedKeys.push(key);\n }\n }\n }\n markFetchersDone(yeetedKeys);\n return yeetedKeys.length > 0;\n }\n\n function getBlocker(key: string, fn: BlockerFunction) {\n let blocker: Blocker = state.blockers.get(key) || IDLE_BLOCKER;\n\n if (blockerFunctions.get(key) !== fn) {\n blockerFunctions.set(key, fn);\n }\n\n return blocker;\n }\n\n function deleteBlocker(key: string) {\n state.blockers.delete(key);\n blockerFunctions.delete(key);\n }\n\n // Utility function to update blockers, ensuring valid state transitions\n function updateBlocker(key: string, newBlocker: Blocker) {\n let blocker = state.blockers.get(key) || IDLE_BLOCKER;\n\n // Poor mans state machine :)\n // https://mermaid.live/edit#pako:eNqVkc9OwzAMxl8l8nnjAYrEtDIOHEBIgwvKJTReGy3_lDpIqO27k6awMG0XcrLlnz87nwdonESogKXXBuE79rq75XZO3-yHds0RJVuv70YrPlUrCEe2HfrORS3rubqZfuhtpg5C9wk5tZ4VKcRUq88q9Z8RS0-48cE1iHJkL0ugbHuFLus9L6spZy8nX9MP2CNdomVaposqu3fGayT8T8-jJQwhepo_UtpgBQaDEUom04dZhAN1aJBDlUKJBxE1ceB2Smj0Mln-IBW5AFU2dwUiktt_2Qaq2dBfaKdEup85UV7Yd-dKjlnkabl2Pvr0DTkTreM\n invariant(\n (blocker.state === \"unblocked\" && newBlocker.state === \"blocked\") ||\n (blocker.state === \"blocked\" && newBlocker.state === \"blocked\") ||\n (blocker.state === \"blocked\" && newBlocker.state === \"proceeding\") ||\n (blocker.state === \"blocked\" && newBlocker.state === \"unblocked\") ||\n (blocker.state === \"proceeding\" && newBlocker.state === \"unblocked\"),\n `Invalid blocker state transition: ${blocker.state} -> ${newBlocker.state}`\n );\n\n state.blockers.set(key, newBlocker);\n updateState({ blockers: new Map(state.blockers) });\n }\n\n function shouldBlockNavigation({\n currentLocation,\n nextLocation,\n historyAction,\n }: {\n currentLocation: Location;\n nextLocation: Location;\n historyAction: HistoryAction;\n }): string | undefined {\n if (blockerFunctions.size === 0) {\n return;\n }\n\n // We ony support a single active blocker at the moment since we don't have\n // any compelling use cases for multi-blocker yet\n if (blockerFunctions.size > 1) {\n warning(false, \"A router only supports one blocker at a time\");\n }\n\n let entries = Array.from(blockerFunctions.entries());\n let [blockerKey, blockerFunction] = entries[entries.length - 1];\n let blocker = state.blockers.get(blockerKey);\n\n if (blocker && blocker.state === \"proceeding\") {\n // If the blocker is currently proceeding, we don't need to re-check\n // it and can let this navigation continue\n return;\n }\n\n // At this point, we know we're unblocked/blocked so we need to check the\n // user-provided blocker function\n if (blockerFunction({ currentLocation, nextLocation, historyAction })) {\n return blockerKey;\n }\n }\n\n function cancelActiveDeferreds(\n predicate?: (routeId: string) => boolean\n ): string[] {\n let cancelledRouteIds: string[] = [];\n activeDeferreds.forEach((dfd, routeId) => {\n if (!predicate || predicate(routeId)) {\n // Cancel the deferred - but do not remove from activeDeferreds here -\n // we rely on the subscribers to do that so our tests can assert proper\n // cleanup via _internalActiveDeferreds\n dfd.cancel();\n cancelledRouteIds.push(routeId);\n activeDeferreds.delete(routeId);\n }\n });\n return cancelledRouteIds;\n }\n\n // Opt in to capturing and reporting scroll positions during navigations,\n // used by the component\n function enableScrollRestoration(\n positions: Record,\n getPosition: GetScrollPositionFunction,\n getKey?: GetScrollRestorationKeyFunction\n ) {\n savedScrollPositions = positions;\n getScrollPosition = getPosition;\n getScrollRestorationKey = getKey || ((location) => location.key);\n\n // Perform initial hydration scroll restoration, since we miss the boat on\n // the initial updateState() because we've not yet rendered \n // and therefore have no savedScrollPositions available\n if (!initialScrollRestored && state.navigation === IDLE_NAVIGATION) {\n initialScrollRestored = true;\n let y = getSavedScrollPosition(state.location, state.matches);\n if (y != null) {\n updateState({ restoreScrollPosition: y });\n }\n }\n\n return () => {\n savedScrollPositions = null;\n getScrollPosition = null;\n getScrollRestorationKey = null;\n };\n }\n\n function saveScrollPosition(\n location: Location,\n matches: AgnosticDataRouteMatch[]\n ): void {\n if (savedScrollPositions && getScrollRestorationKey && getScrollPosition) {\n let userMatches = matches.map((m) =>\n createUseMatchesMatch(m, state.loaderData)\n );\n let key = getScrollRestorationKey(location, userMatches) || location.key;\n savedScrollPositions[key] = getScrollPosition();\n }\n }\n\n function getSavedScrollPosition(\n location: Location,\n matches: AgnosticDataRouteMatch[]\n ): number | null {\n if (savedScrollPositions && getScrollRestorationKey && getScrollPosition) {\n let userMatches = matches.map((m) =>\n createUseMatchesMatch(m, state.loaderData)\n );\n let key = getScrollRestorationKey(location, userMatches) || location.key;\n let y = savedScrollPositions[key];\n if (typeof y === \"number\") {\n return y;\n }\n }\n return null;\n }\n\n router = {\n get basename() {\n return init.basename;\n },\n get state() {\n return state;\n },\n get routes() {\n return dataRoutes;\n },\n initialize,\n subscribe,\n enableScrollRestoration,\n navigate,\n fetch,\n revalidate,\n // Passthrough to history-aware createHref used by useHref so we get proper\n // hash-aware URLs in DOM paths\n createHref: (to: To) => init.history.createHref(to),\n encodeLocation: (to: To) => init.history.encodeLocation(to),\n getFetcher,\n deleteFetcher,\n dispose,\n getBlocker,\n deleteBlocker,\n _internalFetchControllers: fetchControllers,\n _internalActiveDeferreds: activeDeferreds,\n };\n\n return router;\n}\n//#endregion\n\n////////////////////////////////////////////////////////////////////////////////\n//#region createStaticHandler\n////////////////////////////////////////////////////////////////////////////////\n\nexport const UNSAFE_DEFERRED_SYMBOL = Symbol(\"deferred\");\n\nexport function createStaticHandler(\n routes: AgnosticRouteObject[],\n opts?: {\n basename?: string;\n }\n): StaticHandler {\n invariant(\n routes.length > 0,\n \"You must provide a non-empty routes array to createStaticHandler\"\n );\n\n let dataRoutes = convertRoutesToDataRoutes(routes);\n let basename = (opts ? opts.basename : null) || \"/\";\n\n /**\n * The query() method is intended for document requests, in which we want to\n * call an optional action and potentially multiple loaders for all nested\n * routes. It returns a StaticHandlerContext object, which is very similar\n * to the router state (location, loaderData, actionData, errors, etc.) and\n * also adds SSR-specific information such as the statusCode and headers\n * from action/loaders Responses.\n *\n * It _should_ never throw and should report all errors through the\n * returned context.errors object, properly associating errors to their error\n * boundary. Additionally, it tracks _deepestRenderedBoundaryId which can be\n * used to emulate React error boundaries during SSr by performing a second\n * pass only down to the boundaryId.\n *\n * The one exception where we do not return a StaticHandlerContext is when a\n * redirect response is returned or thrown from any action/loader. We\n * propagate that out and return the raw Response so the HTTP server can\n * return it directly.\n */\n async function query(\n request: Request,\n { requestContext }: { requestContext?: unknown } = {}\n ): Promise {\n let url = new URL(request.url);\n let method = request.method.toLowerCase();\n let location = createLocation(\"\", createPath(url), null, \"default\");\n let matches = matchRoutes(dataRoutes, location, basename);\n\n // SSR supports HEAD requests while SPA doesn't\n if (!isValidMethod(method) && method !== \"head\") {\n let error = getInternalRouterError(405, { method });\n let { matches: methodNotAllowedMatches, route } =\n getShortCircuitMatches(dataRoutes);\n return {\n basename,\n location,\n matches: methodNotAllowedMatches,\n loaderData: {},\n actionData: null,\n errors: {\n [route.id]: error,\n },\n statusCode: error.status,\n loaderHeaders: {},\n actionHeaders: {},\n activeDeferreds: null,\n };\n } else if (!matches) {\n let error = getInternalRouterError(404, { pathname: location.pathname });\n let { matches: notFoundMatches, route } =\n getShortCircuitMatches(dataRoutes);\n return {\n basename,\n location,\n matches: notFoundMatches,\n loaderData: {},\n actionData: null,\n errors: {\n [route.id]: error,\n },\n statusCode: error.status,\n loaderHeaders: {},\n actionHeaders: {},\n activeDeferreds: null,\n };\n }\n\n let result = await queryImpl(request, location, matches, requestContext);\n if (isResponse(result)) {\n return result;\n }\n\n // When returning StaticHandlerContext, we patch back in the location here\n // since we need it for React Context. But this helps keep our submit and\n // loadRouteData operating on a Request instead of a Location\n return { location, basename, ...result };\n }\n\n /**\n * The queryRoute() method is intended for targeted route requests, either\n * for fetch ?_data requests or resource route requests. In this case, we\n * are only ever calling a single action or loader, and we are returning the\n * returned value directly. In most cases, this will be a Response returned\n * from the action/loader, but it may be a primitive or other value as well -\n * and in such cases the calling context should handle that accordingly.\n *\n * We do respect the throw/return differentiation, so if an action/loader\n * throws, then this method will throw the value. This is important so we\n * can do proper boundary identification in Remix where a thrown Response\n * must go to the Catch Boundary but a returned Response is happy-path.\n *\n * One thing to note is that any Router-initiated Errors that make sense\n * to associate with a status code will be thrown as an ErrorResponse\n * instance which include the raw Error, such that the calling context can\n * serialize the error as they see fit while including the proper response\n * code. Examples here are 404 and 405 errors that occur prior to reaching\n * any user-defined loaders.\n */\n async function queryRoute(\n request: Request,\n {\n routeId,\n requestContext,\n }: { requestContext?: unknown; routeId?: string } = {}\n ): Promise {\n let url = new URL(request.url);\n let method = request.method.toLowerCase();\n let location = createLocation(\"\", createPath(url), null, \"default\");\n let matches = matchRoutes(dataRoutes, location, basename);\n\n // SSR supports HEAD requests while SPA doesn't\n if (!isValidMethod(method) && method !== \"head\" && method !== \"options\") {\n throw getInternalRouterError(405, { method });\n } else if (!matches) {\n throw getInternalRouterError(404, { pathname: location.pathname });\n }\n\n let match = routeId\n ? matches.find((m) => m.route.id === routeId)\n : getTargetMatch(matches, location);\n\n if (routeId && !match) {\n throw getInternalRouterError(403, {\n pathname: location.pathname,\n routeId,\n });\n } else if (!match) {\n // This should never hit I don't think?\n throw getInternalRouterError(404, { pathname: location.pathname });\n }\n\n let result = await queryImpl(\n request,\n location,\n matches,\n requestContext,\n match\n );\n if (isResponse(result)) {\n return result;\n }\n\n let error = result.errors ? Object.values(result.errors)[0] : undefined;\n if (error !== undefined) {\n // If we got back result.errors, that means the loader/action threw\n // _something_ that wasn't a Response, but it's not guaranteed/required\n // to be an `instanceof Error` either, so we have to use throw here to\n // preserve the \"error\" state outside of queryImpl.\n throw error;\n }\n\n // Pick off the right state value to return\n if (result.actionData) {\n return Object.values(result.actionData)[0];\n }\n\n if (result.loaderData) {\n let data = Object.values(result.loaderData)[0];\n if (result.activeDeferreds?.[match.route.id]) {\n data[UNSAFE_DEFERRED_SYMBOL] = result.activeDeferreds[match.route.id];\n }\n return data;\n }\n\n return undefined;\n }\n\n async function queryImpl(\n request: Request,\n location: Location,\n matches: AgnosticDataRouteMatch[],\n requestContext: unknown,\n routeMatch?: AgnosticDataRouteMatch\n ): Promise | Response> {\n invariant(\n request.signal,\n \"query()/queryRoute() requests must contain an AbortController signal\"\n );\n\n try {\n if (isMutationMethod(request.method.toLowerCase())) {\n let result = await submit(\n request,\n matches,\n routeMatch || getTargetMatch(matches, location),\n requestContext,\n routeMatch != null\n );\n return result;\n }\n\n let result = await loadRouteData(\n request,\n matches,\n requestContext,\n routeMatch\n );\n return isResponse(result)\n ? result\n : {\n ...result,\n actionData: null,\n actionHeaders: {},\n };\n } catch (e) {\n // If the user threw/returned a Response in callLoaderOrAction, we throw\n // it to bail out and then return or throw here based on whether the user\n // returned or threw\n if (isQueryRouteResponse(e)) {\n if (e.type === ResultType.error && !isRedirectResponse(e.response)) {\n throw e.response;\n }\n return e.response;\n }\n // Redirects are always returned since they don't propagate to catch\n // boundaries\n if (isRedirectResponse(e)) {\n return e;\n }\n throw e;\n }\n }\n\n async function submit(\n request: Request,\n matches: AgnosticDataRouteMatch[],\n actionMatch: AgnosticDataRouteMatch,\n requestContext: unknown,\n isRouteRequest: boolean\n ): Promise | Response> {\n let result: DataResult;\n\n if (!actionMatch.route.action) {\n let error = getInternalRouterError(405, {\n method: request.method,\n pathname: new URL(request.url).pathname,\n routeId: actionMatch.route.id,\n });\n if (isRouteRequest) {\n throw error;\n }\n result = {\n type: ResultType.error,\n error,\n };\n } else {\n result = await callLoaderOrAction(\n \"action\",\n request,\n actionMatch,\n matches,\n basename,\n true,\n isRouteRequest,\n requestContext\n );\n\n if (request.signal.aborted) {\n let method = isRouteRequest ? \"queryRoute\" : \"query\";\n throw new Error(`${method}() call aborted`);\n }\n }\n\n if (isRedirectResult(result)) {\n // Uhhhh - this should never happen, we should always throw these from\n // callLoaderOrAction, but the type narrowing here keeps TS happy and we\n // can get back on the \"throw all redirect responses\" train here should\n // this ever happen :/\n throw new Response(null, {\n status: result.status,\n headers: {\n Location: result.location,\n },\n });\n }\n\n if (isDeferredResult(result)) {\n let error = getInternalRouterError(400, { type: \"defer-action\" });\n if (isRouteRequest) {\n throw error;\n }\n result = {\n type: ResultType.error,\n error,\n };\n }\n\n if (isRouteRequest) {\n // Note: This should only be non-Response values if we get here, since\n // isRouteRequest should throw any Response received in callLoaderOrAction\n if (isErrorResult(result)) {\n throw result.error;\n }\n\n return {\n matches: [actionMatch],\n loaderData: {},\n actionData: { [actionMatch.route.id]: result.data },\n errors: null,\n // Note: statusCode + headers are unused here since queryRoute will\n // return the raw Response or value\n statusCode: 200,\n loaderHeaders: {},\n actionHeaders: {},\n activeDeferreds: null,\n };\n }\n\n if (isErrorResult(result)) {\n // Store off the pending error - we use it to determine which loaders\n // to call and will commit it when we complete the navigation\n let boundaryMatch = findNearestBoundary(matches, actionMatch.route.id);\n let context = await loadRouteData(\n request,\n matches,\n requestContext,\n undefined,\n {\n [boundaryMatch.route.id]: result.error,\n }\n );\n\n // action status codes take precedence over loader status codes\n return {\n ...context,\n statusCode: isRouteErrorResponse(result.error)\n ? result.error.status\n : 500,\n actionData: null,\n actionHeaders: {\n ...(result.headers ? { [actionMatch.route.id]: result.headers } : {}),\n },\n };\n }\n\n // Create a GET request for the loaders\n let loaderRequest = new Request(request.url, {\n headers: request.headers,\n redirect: request.redirect,\n signal: request.signal,\n });\n let context = await loadRouteData(loaderRequest, matches, requestContext);\n\n return {\n ...context,\n // action status codes take precedence over loader status codes\n ...(result.statusCode ? { statusCode: result.statusCode } : {}),\n actionData: {\n [actionMatch.route.id]: result.data,\n },\n actionHeaders: {\n ...(result.headers ? { [actionMatch.route.id]: result.headers } : {}),\n },\n };\n }\n\n async function loadRouteData(\n request: Request,\n matches: AgnosticDataRouteMatch[],\n requestContext: unknown,\n routeMatch?: AgnosticDataRouteMatch,\n pendingActionError?: RouteData\n ): Promise<\n | Omit<\n StaticHandlerContext,\n \"location\" | \"basename\" | \"actionData\" | \"actionHeaders\"\n >\n | Response\n > {\n let isRouteRequest = routeMatch != null;\n\n // Short circuit if we have no loaders to run (queryRoute())\n if (isRouteRequest && !routeMatch?.route.loader) {\n throw getInternalRouterError(400, {\n method: request.method,\n pathname: new URL(request.url).pathname,\n routeId: routeMatch?.route.id,\n });\n }\n\n let requestMatches = routeMatch\n ? [routeMatch]\n : getLoaderMatchesUntilBoundary(\n matches,\n Object.keys(pendingActionError || {})[0]\n );\n let matchesToLoad = requestMatches.filter((m) => m.route.loader);\n\n // Short circuit if we have no loaders to run (query())\n if (matchesToLoad.length === 0) {\n return {\n matches,\n // Add a null for all matched routes for proper revalidation on the client\n loaderData: matches.reduce(\n (acc, m) => Object.assign(acc, { [m.route.id]: null }),\n {}\n ),\n errors: pendingActionError || null,\n statusCode: 200,\n loaderHeaders: {},\n activeDeferreds: null,\n };\n }\n\n let results = await Promise.all([\n ...matchesToLoad.map((match) =>\n callLoaderOrAction(\n \"loader\",\n request,\n match,\n matches,\n basename,\n true,\n isRouteRequest,\n requestContext\n )\n ),\n ]);\n\n if (request.signal.aborted) {\n let method = isRouteRequest ? \"queryRoute\" : \"query\";\n throw new Error(`${method}() call aborted`);\n }\n\n // Process and commit output from loaders\n let activeDeferreds = new Map();\n let context = processRouteLoaderData(\n matches,\n matchesToLoad,\n results,\n pendingActionError,\n activeDeferreds\n );\n\n // Add a null for any non-loader matches for proper revalidation on the client\n let executedLoaders = new Set(\n matchesToLoad.map((match) => match.route.id)\n );\n matches.forEach((match) => {\n if (!executedLoaders.has(match.route.id)) {\n context.loaderData[match.route.id] = null;\n }\n });\n\n return {\n ...context,\n matches,\n activeDeferreds:\n activeDeferreds.size > 0\n ? Object.fromEntries(activeDeferreds.entries())\n : null,\n };\n }\n\n return {\n dataRoutes,\n query,\n queryRoute,\n };\n}\n\n//#endregion\n\n////////////////////////////////////////////////////////////////////////////////\n//#region Helpers\n////////////////////////////////////////////////////////////////////////////////\n\n/**\n * Given an existing StaticHandlerContext and an error thrown at render time,\n * provide an updated StaticHandlerContext suitable for a second SSR render\n */\nexport function getStaticContextFromError(\n routes: AgnosticDataRouteObject[],\n context: StaticHandlerContext,\n error: any\n) {\n let newContext: StaticHandlerContext = {\n ...context,\n statusCode: 500,\n errors: {\n [context._deepestRenderedBoundaryId || routes[0].id]: error,\n },\n };\n return newContext;\n}\n\nfunction isSubmissionNavigation(\n opts: RouterNavigateOptions\n): opts is SubmissionNavigateOptions {\n return opts != null && \"formData\" in opts;\n}\n\n// Normalize navigation options by converting formMethod=GET formData objects to\n// URLSearchParams so they behave identically to links with query params\nfunction normalizeNavigateOptions(\n to: To,\n opts?: RouterNavigateOptions,\n isFetcher = false\n): {\n path: string;\n submission?: Submission;\n error?: ErrorResponse;\n} {\n let path = typeof to === \"string\" ? to : createPath(to);\n\n // Return location verbatim on non-submission navigations\n if (!opts || !isSubmissionNavigation(opts)) {\n return { path };\n }\n\n if (opts.formMethod && !isValidMethod(opts.formMethod)) {\n return {\n path,\n error: getInternalRouterError(405, { method: opts.formMethod }),\n };\n }\n\n // Create a Submission on non-GET navigations\n let submission: Submission | undefined;\n if (opts.formData) {\n submission = {\n formMethod: opts.formMethod || \"get\",\n formAction: stripHashFromPath(path),\n formEncType:\n (opts && opts.formEncType) || \"application/x-www-form-urlencoded\",\n formData: opts.formData,\n };\n\n if (isMutationMethod(submission.formMethod)) {\n return { path, submission };\n }\n }\n\n // Flatten submission onto URLSearchParams for GET submissions\n let parsedPath = parsePath(path);\n let searchParams = convertFormDataToSearchParams(opts.formData);\n // Since fetcher GET submissions only run a single loader (as opposed to\n // navigation GET submissions which run all loaders), we need to preserve\n // any incoming ?index params\n if (isFetcher && parsedPath.search && hasNakedIndexQuery(parsedPath.search)) {\n searchParams.append(\"index\", \"\");\n }\n parsedPath.search = `?${searchParams}`;\n\n return { path: createPath(parsedPath), submission };\n}\n\n// Filter out all routes below any caught error as they aren't going to\n// render so we don't need to load them\nfunction getLoaderMatchesUntilBoundary(\n matches: AgnosticDataRouteMatch[],\n boundaryId?: string\n) {\n let boundaryMatches = matches;\n if (boundaryId) {\n let index = matches.findIndex((m) => m.route.id === boundaryId);\n if (index >= 0) {\n boundaryMatches = matches.slice(0, index);\n }\n }\n return boundaryMatches;\n}\n\nfunction getMatchesToLoad(\n history: History,\n state: RouterState,\n matches: AgnosticDataRouteMatch[],\n submission: Submission | undefined,\n location: Location,\n isRevalidationRequired: boolean,\n cancelledDeferredRoutes: string[],\n cancelledFetcherLoads: string[],\n pendingActionData?: RouteData,\n pendingError?: RouteData,\n fetchLoadMatches?: Map\n): [AgnosticDataRouteMatch[], RevalidatingFetcher[]] {\n let actionResult = pendingError\n ? Object.values(pendingError)[0]\n : pendingActionData\n ? Object.values(pendingActionData)[0]\n : undefined;\n\n let currentUrl = history.createURL(state.location);\n let nextUrl = history.createURL(location);\n\n let defaultShouldRevalidate =\n // Forced revalidation due to submission, useRevalidate, or X-Remix-Revalidate\n isRevalidationRequired ||\n // Clicked the same link, resubmitted a GET form\n currentUrl.toString() === nextUrl.toString() ||\n // Search params affect all loaders\n currentUrl.search !== nextUrl.search;\n\n // Pick navigation matches that are net-new or qualify for revalidation\n let boundaryId = pendingError ? Object.keys(pendingError)[0] : undefined;\n let boundaryMatches = getLoaderMatchesUntilBoundary(matches, boundaryId);\n\n let navigationMatches = boundaryMatches.filter((match, index) => {\n if (match.route.loader == null) {\n return false;\n }\n\n // Always call the loader on new route instances and pending defer cancellations\n if (\n isNewLoader(state.loaderData, state.matches[index], match) ||\n cancelledDeferredRoutes.some((id) => id === match.route.id)\n ) {\n return true;\n }\n\n // This is the default implementation for when we revalidate. If the route\n // provides it's own implementation, then we give them full control but\n // provide this value so they can leverage it if needed after they check\n // their own specific use cases\n let currentRouteMatch = state.matches[index];\n let nextRouteMatch = match;\n\n return shouldRevalidateLoader(match, {\n currentUrl,\n currentParams: currentRouteMatch.params,\n nextUrl,\n nextParams: nextRouteMatch.params,\n ...submission,\n actionResult,\n defaultShouldRevalidate:\n defaultShouldRevalidate ||\n isNewRouteInstance(currentRouteMatch, nextRouteMatch),\n });\n });\n\n // Pick fetcher.loads that need to be revalidated\n let revalidatingFetchers: RevalidatingFetcher[] = [];\n fetchLoadMatches &&\n fetchLoadMatches.forEach((f, key) => {\n if (!matches.some((m) => m.route.id === f.routeId)) {\n // This fetcher is not going to be present in the subsequent render so\n // there's no need to revalidate it\n return;\n } else if (cancelledFetcherLoads.includes(key)) {\n // This fetcher was cancelled from a prior action submission - force reload\n revalidatingFetchers.push({ key, ...f });\n } else {\n // Revalidating fetchers are decoupled from the route matches since they\n // hit a static href, so they _always_ check shouldRevalidate and the\n // default is strictly if a revalidation is explicitly required (action\n // submissions, useRevalidator, X-Remix-Revalidate).\n let shouldRevalidate = shouldRevalidateLoader(f.match, {\n currentUrl,\n currentParams: state.matches[state.matches.length - 1].params,\n nextUrl,\n nextParams: matches[matches.length - 1].params,\n ...submission,\n actionResult,\n defaultShouldRevalidate,\n });\n if (shouldRevalidate) {\n revalidatingFetchers.push({ key, ...f });\n }\n }\n });\n\n return [navigationMatches, revalidatingFetchers];\n}\n\nfunction isNewLoader(\n currentLoaderData: RouteData,\n currentMatch: AgnosticDataRouteMatch,\n match: AgnosticDataRouteMatch\n) {\n let isNew =\n // [a] -> [a, b]\n !currentMatch ||\n // [a, b] -> [a, c]\n match.route.id !== currentMatch.route.id;\n\n // Handle the case that we don't have data for a re-used route, potentially\n // from a prior error or from a cancelled pending deferred\n let isMissingData = currentLoaderData[match.route.id] === undefined;\n\n // Always load if this is a net-new route or we don't yet have data\n return isNew || isMissingData;\n}\n\nfunction isNewRouteInstance(\n currentMatch: AgnosticDataRouteMatch,\n match: AgnosticDataRouteMatch\n) {\n let currentPath = currentMatch.route.path;\n return (\n // param change for this match, /users/123 -> /users/456\n currentMatch.pathname !== match.pathname ||\n // splat param changed, which is not present in match.path\n // e.g. /files/images/avatar.jpg -> files/finances.xls\n (currentPath != null &&\n currentPath.endsWith(\"*\") &&\n currentMatch.params[\"*\"] !== match.params[\"*\"])\n );\n}\n\nfunction shouldRevalidateLoader(\n loaderMatch: AgnosticDataRouteMatch,\n arg: Parameters[0]\n) {\n if (loaderMatch.route.shouldRevalidate) {\n let routeChoice = loaderMatch.route.shouldRevalidate(arg);\n if (typeof routeChoice === \"boolean\") {\n return routeChoice;\n }\n }\n\n return arg.defaultShouldRevalidate;\n}\n\nasync function callLoaderOrAction(\n type: \"loader\" | \"action\",\n request: Request,\n match: AgnosticDataRouteMatch,\n matches: AgnosticDataRouteMatch[],\n basename = \"/\",\n isStaticRequest: boolean = false,\n isRouteRequest: boolean = false,\n requestContext?: unknown\n): Promise {\n let resultType;\n let result;\n\n // Setup a promise we can race against so that abort signals short circuit\n let reject: () => void;\n let abortPromise = new Promise((_, r) => (reject = r));\n let onReject = () => reject();\n request.signal.addEventListener(\"abort\", onReject);\n\n try {\n let handler = match.route[type];\n invariant(\n handler,\n `Could not find the ${type} to run on the \"${match.route.id}\" route`\n );\n\n result = await Promise.race([\n handler({ request, params: match.params, context: requestContext }),\n abortPromise,\n ]);\n\n invariant(\n result !== undefined,\n `You defined ${type === \"action\" ? \"an action\" : \"a loader\"} for route ` +\n `\"${match.route.id}\" but didn't return anything from your \\`${type}\\` ` +\n `function. Please return a value or \\`null\\`.`\n );\n } catch (e) {\n resultType = ResultType.error;\n result = e;\n } finally {\n request.signal.removeEventListener(\"abort\", onReject);\n }\n\n if (isResponse(result)) {\n let status = result.status;\n\n // Process redirects\n if (redirectStatusCodes.has(status)) {\n let location = result.headers.get(\"Location\");\n invariant(\n location,\n \"Redirects returned/thrown from loaders/actions must have a Location header\"\n );\n\n // Support relative routing in internal redirects\n if (!ABSOLUTE_URL_REGEX.test(location)) {\n let activeMatches = matches.slice(0, matches.indexOf(match) + 1);\n let routePathnames = getPathContributingMatches(activeMatches).map(\n (match) => match.pathnameBase\n );\n let resolvedLocation = resolveTo(\n location,\n routePathnames,\n new URL(request.url).pathname\n );\n invariant(\n createPath(resolvedLocation),\n `Unable to resolve redirect location: ${location}`\n );\n\n // Prepend the basename to the redirect location if we have one\n if (basename) {\n let path = resolvedLocation.pathname;\n resolvedLocation.pathname =\n path === \"/\" ? basename : joinPaths([basename, path]);\n }\n\n location = createPath(resolvedLocation);\n } else if (!isStaticRequest) {\n // Strip off the protocol+origin for same-origin absolute redirects.\n // If this is a static reques, we can let it go back to the browser\n // as-is\n let currentUrl = new URL(request.url);\n let url = location.startsWith(\"//\")\n ? new URL(currentUrl.protocol + location)\n : new URL(location);\n if (url.origin === currentUrl.origin) {\n location = url.pathname + url.search + url.hash;\n }\n }\n\n // Don't process redirects in the router during static requests requests.\n // Instead, throw the Response and let the server handle it with an HTTP\n // redirect. We also update the Location header in place in this flow so\n // basename and relative routing is taken into account\n if (isStaticRequest) {\n result.headers.set(\"Location\", location);\n throw result;\n }\n\n return {\n type: ResultType.redirect,\n status,\n location,\n revalidate: result.headers.get(\"X-Remix-Revalidate\") !== null,\n };\n }\n\n // For SSR single-route requests, we want to hand Responses back directly\n // without unwrapping. We do this with the QueryRouteResponse wrapper\n // interface so we can know whether it was returned or thrown\n if (isRouteRequest) {\n // eslint-disable-next-line no-throw-literal\n throw {\n type: resultType || ResultType.data,\n response: result,\n };\n }\n\n let data: any;\n let contentType = result.headers.get(\"Content-Type\");\n // Check between word boundaries instead of startsWith() due to the last\n // paragraph of https://httpwg.org/specs/rfc9110.html#field.content-type\n if (contentType && /\\bapplication\\/json\\b/.test(contentType)) {\n data = await result.json();\n } else {\n data = await result.text();\n }\n\n if (resultType === ResultType.error) {\n return {\n type: resultType,\n error: new ErrorResponse(status, result.statusText, data),\n headers: result.headers,\n };\n }\n\n return {\n type: ResultType.data,\n data,\n statusCode: result.status,\n headers: result.headers,\n };\n }\n\n if (resultType === ResultType.error) {\n return { type: resultType, error: result };\n }\n\n if (result instanceof DeferredData) {\n return { type: ResultType.deferred, deferredData: result };\n }\n\n return { type: ResultType.data, data: result };\n}\n\n// Utility method for creating the Request instances for loaders/actions during\n// client-side navigations and fetches. During SSR we will always have a\n// Request instance from the static handler (query/queryRoute)\nfunction createClientSideRequest(\n history: History,\n location: string | Location,\n signal: AbortSignal,\n submission?: Submission\n): Request {\n let url = history.createURL(stripHashFromPath(location)).toString();\n let init: RequestInit = { signal };\n\n if (submission && isMutationMethod(submission.formMethod)) {\n let { formMethod, formEncType, formData } = submission;\n init.method = formMethod.toUpperCase();\n init.body =\n formEncType === \"application/x-www-form-urlencoded\"\n ? convertFormDataToSearchParams(formData)\n : formData;\n }\n\n // Content-Type is inferred (https://fetch.spec.whatwg.org/#dom-request)\n return new Request(url, init);\n}\n\nfunction convertFormDataToSearchParams(formData: FormData): URLSearchParams {\n let searchParams = new URLSearchParams();\n\n for (let [key, value] of formData.entries()) {\n // https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#converting-an-entry-list-to-a-list-of-name-value-pairs\n searchParams.append(key, value instanceof File ? value.name : value);\n }\n\n return searchParams;\n}\n\nfunction processRouteLoaderData(\n matches: AgnosticDataRouteMatch[],\n matchesToLoad: AgnosticDataRouteMatch[],\n results: DataResult[],\n pendingError: RouteData | undefined,\n activeDeferreds: Map\n): {\n loaderData: RouterState[\"loaderData\"];\n errors: RouterState[\"errors\"] | null;\n statusCode: number;\n loaderHeaders: Record;\n} {\n // Fill in loaderData/errors from our loaders\n let loaderData: RouterState[\"loaderData\"] = {};\n let errors: RouterState[\"errors\"] | null = null;\n let statusCode: number | undefined;\n let foundError = false;\n let loaderHeaders: Record = {};\n\n // Process loader results into state.loaderData/state.errors\n results.forEach((result, index) => {\n let id = matchesToLoad[index].route.id;\n invariant(\n !isRedirectResult(result),\n \"Cannot handle redirect results in processLoaderData\"\n );\n if (isErrorResult(result)) {\n // Look upwards from the matched route for the closest ancestor\n // error boundary, defaulting to the root match\n let boundaryMatch = findNearestBoundary(matches, id);\n let error = result.error;\n // If we have a pending action error, we report it at the highest-route\n // that throws a loader error, and then clear it out to indicate that\n // it was consumed\n if (pendingError) {\n error = Object.values(pendingError)[0];\n pendingError = undefined;\n }\n\n errors = errors || {};\n\n // Prefer higher error values if lower errors bubble to the same boundary\n if (errors[boundaryMatch.route.id] == null) {\n errors[boundaryMatch.route.id] = error;\n }\n\n // Clear our any prior loaderData for the throwing route\n loaderData[id] = undefined;\n\n // Once we find our first (highest) error, we set the status code and\n // prevent deeper status codes from overriding\n if (!foundError) {\n foundError = true;\n statusCode = isRouteErrorResponse(result.error)\n ? result.error.status\n : 500;\n }\n if (result.headers) {\n loaderHeaders[id] = result.headers;\n }\n } else {\n if (isDeferredResult(result)) {\n activeDeferreds.set(id, result.deferredData);\n loaderData[id] = result.deferredData.data;\n } else {\n loaderData[id] = result.data;\n }\n\n // Error status codes always override success status codes, but if all\n // loaders are successful we take the deepest status code.\n if (\n result.statusCode != null &&\n result.statusCode !== 200 &&\n !foundError\n ) {\n statusCode = result.statusCode;\n }\n if (result.headers) {\n loaderHeaders[id] = result.headers;\n }\n }\n });\n\n // If we didn't consume the pending action error (i.e., all loaders\n // resolved), then consume it here. Also clear out any loaderData for the\n // throwing route\n if (pendingError) {\n errors = pendingError;\n loaderData[Object.keys(pendingError)[0]] = undefined;\n }\n\n return {\n loaderData,\n errors,\n statusCode: statusCode || 200,\n loaderHeaders,\n };\n}\n\nfunction processLoaderData(\n state: RouterState,\n matches: AgnosticDataRouteMatch[],\n matchesToLoad: AgnosticDataRouteMatch[],\n results: DataResult[],\n pendingError: RouteData | undefined,\n revalidatingFetchers: RevalidatingFetcher[],\n fetcherResults: DataResult[],\n activeDeferreds: Map\n): {\n loaderData: RouterState[\"loaderData\"];\n errors?: RouterState[\"errors\"];\n} {\n let { loaderData, errors } = processRouteLoaderData(\n matches,\n matchesToLoad,\n results,\n pendingError,\n activeDeferreds\n );\n\n // Process results from our revalidating fetchers\n for (let index = 0; index < revalidatingFetchers.length; index++) {\n let { key, match } = revalidatingFetchers[index];\n invariant(\n fetcherResults !== undefined && fetcherResults[index] !== undefined,\n \"Did not find corresponding fetcher result\"\n );\n let result = fetcherResults[index];\n\n // Process fetcher non-redirect errors\n if (isErrorResult(result)) {\n let boundaryMatch = findNearestBoundary(state.matches, match.route.id);\n if (!(errors && errors[boundaryMatch.route.id])) {\n errors = {\n ...errors,\n [boundaryMatch.route.id]: result.error,\n };\n }\n state.fetchers.delete(key);\n } else if (isRedirectResult(result)) {\n // Should never get here, redirects should get processed above, but we\n // keep this to type narrow to a success result in the else\n invariant(false, \"Unhandled fetcher revalidation redirect\");\n } else if (isDeferredResult(result)) {\n // Should never get here, deferred data should be awaited for fetchers\n // in resolveDeferredResults\n invariant(false, \"Unhandled fetcher deferred data\");\n } else {\n let doneFetcher: FetcherStates[\"Idle\"] = {\n state: \"idle\",\n data: result.data,\n formMethod: undefined,\n formAction: undefined,\n formEncType: undefined,\n formData: undefined,\n \" _hasFetcherDoneAnything \": true,\n };\n state.fetchers.set(key, doneFetcher);\n }\n }\n\n return { loaderData, errors };\n}\n\nfunction mergeLoaderData(\n loaderData: RouteData,\n newLoaderData: RouteData,\n matches: AgnosticDataRouteMatch[],\n errors: RouteData | null | undefined\n): RouteData {\n let mergedLoaderData = { ...newLoaderData };\n for (let match of matches) {\n let id = match.route.id;\n if (newLoaderData.hasOwnProperty(id)) {\n if (newLoaderData[id] !== undefined) {\n mergedLoaderData[id] = newLoaderData[id];\n } else {\n // No-op - this is so we ignore existing data if we have a key in the\n // incoming object with an undefined value, which is how we unset a prior\n // loaderData if we encounter a loader error\n }\n } else if (loaderData[id] !== undefined) {\n mergedLoaderData[id] = loaderData[id];\n }\n\n if (errors && errors.hasOwnProperty(id)) {\n // Don't keep any loader data below the boundary\n break;\n }\n }\n return mergedLoaderData;\n}\n\n// Find the nearest error boundary, looking upwards from the leaf route (or the\n// route specified by routeId) for the closest ancestor error boundary,\n// defaulting to the root match\nfunction findNearestBoundary(\n matches: AgnosticDataRouteMatch[],\n routeId?: string\n): AgnosticDataRouteMatch {\n let eligibleMatches = routeId\n ? matches.slice(0, matches.findIndex((m) => m.route.id === routeId) + 1)\n : [...matches];\n return (\n eligibleMatches.reverse().find((m) => m.route.hasErrorBoundary === true) ||\n matches[0]\n );\n}\n\nfunction getShortCircuitMatches(routes: AgnosticDataRouteObject[]): {\n matches: AgnosticDataRouteMatch[];\n route: AgnosticDataRouteObject;\n} {\n // Prefer a root layout route if present, otherwise shim in a route object\n let route = routes.find((r) => r.index || !r.path || r.path === \"/\") || {\n id: `__shim-error-route__`,\n };\n\n return {\n matches: [\n {\n params: {},\n pathname: \"\",\n pathnameBase: \"\",\n route,\n },\n ],\n route,\n };\n}\n\nfunction getInternalRouterError(\n status: number,\n {\n pathname,\n routeId,\n method,\n type,\n }: {\n pathname?: string;\n routeId?: string;\n method?: string;\n type?: \"defer-action\";\n } = {}\n) {\n let statusText = \"Unknown Server Error\";\n let errorMessage = \"Unknown @remix-run/router error\";\n\n if (status === 400) {\n statusText = \"Bad Request\";\n if (method && pathname && routeId) {\n errorMessage =\n `You made a ${method} request to \"${pathname}\" but ` +\n `did not provide a \\`loader\\` for route \"${routeId}\", ` +\n `so there is no way to handle the request.`;\n } else if (type === \"defer-action\") {\n errorMessage = \"defer() is not supported in actions\";\n }\n } else if (status === 403) {\n statusText = \"Forbidden\";\n errorMessage = `Route \"${routeId}\" does not match URL \"${pathname}\"`;\n } else if (status === 404) {\n statusText = \"Not Found\";\n errorMessage = `No route matches URL \"${pathname}\"`;\n } else if (status === 405) {\n statusText = \"Method Not Allowed\";\n if (method && pathname && routeId) {\n errorMessage =\n `You made a ${method.toUpperCase()} request to \"${pathname}\" but ` +\n `did not provide an \\`action\\` for route \"${routeId}\", ` +\n `so there is no way to handle the request.`;\n } else if (method) {\n errorMessage = `Invalid request method \"${method.toUpperCase()}\"`;\n }\n }\n\n return new ErrorResponse(\n status || 500,\n statusText,\n new Error(errorMessage),\n true\n );\n}\n\n// Find any returned redirect errors, starting from the lowest match\nfunction findRedirect(results: DataResult[]): RedirectResult | undefined {\n for (let i = results.length - 1; i >= 0; i--) {\n let result = results[i];\n if (isRedirectResult(result)) {\n return result;\n }\n }\n}\n\nfunction stripHashFromPath(path: To) {\n let parsedPath = typeof path === \"string\" ? parsePath(path) : path;\n return createPath({ ...parsedPath, hash: \"\" });\n}\n\nfunction isHashChangeOnly(a: Location, b: Location): boolean {\n return (\n a.pathname === b.pathname && a.search === b.search && a.hash !== b.hash\n );\n}\n\nfunction isDeferredResult(result: DataResult): result is DeferredResult {\n return result.type === ResultType.deferred;\n}\n\nfunction isErrorResult(result: DataResult): result is ErrorResult {\n return result.type === ResultType.error;\n}\n\nfunction isRedirectResult(result?: DataResult): result is RedirectResult {\n return (result && result.type) === ResultType.redirect;\n}\n\nfunction isResponse(value: any): value is Response {\n return (\n value != null &&\n typeof value.status === \"number\" &&\n typeof value.statusText === \"string\" &&\n typeof value.headers === \"object\" &&\n typeof value.body !== \"undefined\"\n );\n}\n\nfunction isRedirectResponse(result: any): result is Response {\n if (!isResponse(result)) {\n return false;\n }\n\n let status = result.status;\n let location = result.headers.get(\"Location\");\n return status >= 300 && status <= 399 && location != null;\n}\n\nfunction isQueryRouteResponse(obj: any): obj is QueryRouteResponse {\n return (\n obj &&\n isResponse(obj.response) &&\n (obj.type === ResultType.data || ResultType.error)\n );\n}\n\nfunction isValidMethod(method: string): method is FormMethod {\n return validRequestMethods.has(method as FormMethod);\n}\n\nfunction isMutationMethod(method?: string): method is MutationFormMethod {\n return validMutationMethods.has(method as MutationFormMethod);\n}\n\nasync function resolveDeferredResults(\n currentMatches: AgnosticDataRouteMatch[],\n matchesToLoad: AgnosticDataRouteMatch[],\n results: DataResult[],\n signal: AbortSignal,\n isFetcher: boolean,\n currentLoaderData?: RouteData\n) {\n for (let index = 0; index < results.length; index++) {\n let result = results[index];\n let match = matchesToLoad[index];\n let currentMatch = currentMatches.find(\n (m) => m.route.id === match.route.id\n );\n let isRevalidatingLoader =\n currentMatch != null &&\n !isNewRouteInstance(currentMatch, match) &&\n (currentLoaderData && currentLoaderData[match.route.id]) !== undefined;\n\n if (isDeferredResult(result) && (isFetcher || isRevalidatingLoader)) {\n // Note: we do not have to touch activeDeferreds here since we race them\n // against the signal in resolveDeferredData and they'll get aborted\n // there if needed\n await resolveDeferredData(result, signal, isFetcher).then((result) => {\n if (result) {\n results[index] = result || results[index];\n }\n });\n }\n }\n}\n\nasync function resolveDeferredData(\n result: DeferredResult,\n signal: AbortSignal,\n unwrap = false\n): Promise {\n let aborted = await result.deferredData.resolveData(signal);\n if (aborted) {\n return;\n }\n\n if (unwrap) {\n try {\n return {\n type: ResultType.data,\n data: result.deferredData.unwrappedData,\n };\n } catch (e) {\n // Handle any TrackedPromise._error values encountered while unwrapping\n return {\n type: ResultType.error,\n error: e,\n };\n }\n }\n\n return {\n type: ResultType.data,\n data: result.deferredData.data,\n };\n}\n\nfunction hasNakedIndexQuery(search: string): boolean {\n return new URLSearchParams(search).getAll(\"index\").some((v) => v === \"\");\n}\n\n// Note: This should match the format exported by useMatches, so if you change\n// this please also change that :) Eventually we'll DRY this up\nfunction createUseMatchesMatch(\n match: AgnosticDataRouteMatch,\n loaderData: RouteData\n): UseMatchesMatch {\n let { route, pathname, params } = match;\n return {\n id: route.id,\n pathname,\n params,\n data: loaderData[route.id] as unknown,\n handle: route.handle as unknown,\n };\n}\n\nfunction getTargetMatch(\n matches: AgnosticDataRouteMatch[],\n location: Location | string\n) {\n let search =\n typeof location === \"string\" ? parsePath(location).search : location.search;\n if (\n matches[matches.length - 1].route.index &&\n hasNakedIndexQuery(search || \"\")\n ) {\n // Return the leaf index route when index is present\n return matches[matches.length - 1];\n }\n // Otherwise grab the deepest \"path contributing\" match (ignoring index and\n // pathless layout routes)\n let pathMatches = getPathContributingMatches(matches);\n return pathMatches[pathMatches.length - 1];\n}\n//#endregion\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport * as React from \"react\";\n\n/**\n * inlined Object.is polyfill to avoid requiring consumers ship their own\n * https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/is\n */\nfunction isPolyfill(x: any, y: any) {\n return (\n (x === y && (x !== 0 || 1 / x === 1 / y)) || (x !== x && y !== y) // eslint-disable-line no-self-compare\n );\n}\n\nconst is: (x: any, y: any) => boolean =\n typeof Object.is === \"function\" ? Object.is : isPolyfill;\n\n// Intentionally not using named imports because Rollup uses dynamic\n// dispatch for CommonJS interop named imports.\nconst { useState, useEffect, useLayoutEffect, useDebugValue } = React;\n\nlet didWarnOld18Alpha = false;\nlet didWarnUncachedGetSnapshot = false;\n\n// Disclaimer: This shim breaks many of the rules of React, and only works\n// because of a very particular set of implementation details and assumptions\n// -- change any one of them and it will break. The most important assumption\n// is that updates are always synchronous, because concurrent rendering is\n// only available in versions of React that also have a built-in\n// useSyncExternalStore API. And we only use this shim when the built-in API\n// does not exist.\n//\n// Do not assume that the clever hacks used by this hook also work in general.\n// The point of this shim is to replace the need for hacks by other libraries.\nexport function useSyncExternalStore(\n subscribe: (fn: () => void) => () => void,\n getSnapshot: () => T,\n // Note: The shim does not use getServerSnapshot, because pre-18 versions of\n // React do not expose a way to check if we're hydrating. So users of the shim\n // will need to track that themselves and return the correct value\n // from `getSnapshot`.\n getServerSnapshot?: () => T\n): T {\n if (__DEV__) {\n if (!didWarnOld18Alpha) {\n if (\"startTransition\" in React) {\n didWarnOld18Alpha = true;\n console.error(\n \"You are using an outdated, pre-release alpha of React 18 that \" +\n \"does not support useSyncExternalStore. The \" +\n \"use-sync-external-store shim will not work correctly. Upgrade \" +\n \"to a newer pre-release.\"\n );\n }\n }\n }\n\n // Read the current snapshot from the store on every render. Again, this\n // breaks the rules of React, and only works here because of specific\n // implementation details, most importantly that updates are\n // always synchronous.\n const value = getSnapshot();\n if (__DEV__) {\n if (!didWarnUncachedGetSnapshot) {\n const cachedValue = getSnapshot();\n if (!is(value, cachedValue)) {\n console.error(\n \"The result of getSnapshot should be cached to avoid an infinite loop\"\n );\n didWarnUncachedGetSnapshot = true;\n }\n }\n }\n\n // Because updates are synchronous, we don't queue them. Instead we force a\n // re-render whenever the subscribed state changes by updating an some\n // arbitrary useState hook. Then, during render, we call getSnapshot to read\n // the current value.\n //\n // Because we don't actually use the state returned by the useState hook, we\n // can save a bit of memory by storing other stuff in that slot.\n //\n // To implement the early bailout, we need to track some things on a mutable\n // object. Usually, we would put that in a useRef hook, but we can stash it in\n // our useState hook instead.\n //\n // To force a re-render, we call forceUpdate({inst}). That works because the\n // new object always fails an equality check.\n const [{ inst }, forceUpdate] = useState({ inst: { value, getSnapshot } });\n\n // Track the latest getSnapshot function with a ref. This needs to be updated\n // in the layout phase so we can access it during the tearing check that\n // happens on subscribe.\n useLayoutEffect(() => {\n inst.value = value;\n inst.getSnapshot = getSnapshot;\n\n // Whenever getSnapshot or subscribe changes, we need to check in the\n // commit phase if there was an interleaved mutation. In concurrent mode\n // this can happen all the time, but even in synchronous mode, an earlier\n // effect may have mutated the store.\n if (checkIfSnapshotChanged(inst)) {\n // Force a re-render.\n forceUpdate({ inst });\n }\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [subscribe, value, getSnapshot]);\n\n useEffect(() => {\n // Check for changes right before subscribing. Subsequent changes will be\n // detected in the subscription handler.\n if (checkIfSnapshotChanged(inst)) {\n // Force a re-render.\n forceUpdate({ inst });\n }\n const handleStoreChange = () => {\n // TODO: Because there is no cross-renderer API for batching updates, it's\n // up to the consumer of this library to wrap their subscription event\n // with unstable_batchedUpdates. Should we try to detect when this isn't\n // the case and print a warning in development?\n\n // The store changed. Check if the snapshot changed since the last time we\n // read from the store.\n if (checkIfSnapshotChanged(inst)) {\n // Force a re-render.\n forceUpdate({ inst });\n }\n };\n // Subscribe to the store and return a clean-up function.\n return subscribe(handleStoreChange);\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [subscribe]);\n\n useDebugValue(value);\n return value;\n}\n\nfunction checkIfSnapshotChanged(inst: any) {\n const latestGetSnapshot = inst.getSnapshot;\n const prevValue = inst.value;\n try {\n const nextValue = latestGetSnapshot();\n return !is(prevValue, nextValue);\n } catch (error) {\n return true;\n }\n}\n","/**\n * Inlined into the react-router repo since use-sync-external-store does not\n * provide a UMD-compatible package, so we need this to be able to distribute\n * UMD react-router bundles\n */\n\n/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow\n */\n\nimport * as React from \"react\";\n\nimport { useSyncExternalStore as client } from \"./useSyncExternalStoreShimClient\";\nimport { useSyncExternalStore as server } from \"./useSyncExternalStoreShimServer\";\n\nconst canUseDOM: boolean = !!(\n typeof window !== \"undefined\" &&\n typeof window.document !== \"undefined\" &&\n typeof window.document.createElement !== \"undefined\"\n);\nconst isServerEnvironment = !canUseDOM;\nconst shim = isServerEnvironment ? server : client;\n\nexport const useSyncExternalStore =\n \"useSyncExternalStore\" in React\n ? ((module) => module.useSyncExternalStore)(React)\n : shim;\n","import * as React from \"react\";\nimport type {\n AgnosticRouteMatch,\n AgnosticIndexRouteObject,\n AgnosticNonIndexRouteObject,\n History,\n Location,\n Router,\n StaticHandlerContext,\n To,\n TrackedPromise,\n} from \"@remix-run/router\";\nimport type { Action as NavigationType } from \"@remix-run/router\";\n\n// Create react-specific types from the agnostic types in @remix-run/router to\n// export from react-router\nexport interface IndexRouteObject {\n caseSensitive?: AgnosticIndexRouteObject[\"caseSensitive\"];\n path?: AgnosticIndexRouteObject[\"path\"];\n id?: AgnosticIndexRouteObject[\"id\"];\n loader?: AgnosticIndexRouteObject[\"loader\"];\n action?: AgnosticIndexRouteObject[\"action\"];\n hasErrorBoundary?: AgnosticIndexRouteObject[\"hasErrorBoundary\"];\n shouldRevalidate?: AgnosticIndexRouteObject[\"shouldRevalidate\"];\n handle?: AgnosticIndexRouteObject[\"handle\"];\n index: true;\n children?: undefined;\n element?: React.ReactNode | null;\n errorElement?: React.ReactNode | null;\n}\n\nexport interface NonIndexRouteObject {\n caseSensitive?: AgnosticNonIndexRouteObject[\"caseSensitive\"];\n path?: AgnosticNonIndexRouteObject[\"path\"];\n id?: AgnosticNonIndexRouteObject[\"id\"];\n loader?: AgnosticNonIndexRouteObject[\"loader\"];\n action?: AgnosticNonIndexRouteObject[\"action\"];\n hasErrorBoundary?: AgnosticNonIndexRouteObject[\"hasErrorBoundary\"];\n shouldRevalidate?: AgnosticNonIndexRouteObject[\"shouldRevalidate\"];\n handle?: AgnosticNonIndexRouteObject[\"handle\"];\n index?: false;\n children?: RouteObject[];\n element?: React.ReactNode | null;\n errorElement?: React.ReactNode | null;\n}\n\nexport type RouteObject = IndexRouteObject | NonIndexRouteObject;\n\nexport type DataRouteObject = RouteObject & {\n children?: DataRouteObject[];\n id: string;\n};\n\nexport interface RouteMatch<\n ParamKey extends string = string,\n RouteObjectType extends RouteObject = RouteObject\n> extends AgnosticRouteMatch {}\n\nexport interface DataRouteMatch extends RouteMatch {}\n\nexport interface DataRouterContextObject extends NavigationContextObject {\n router: Router;\n staticContext?: StaticHandlerContext;\n}\n\nexport const DataRouterContext =\n React.createContext(null);\nif (__DEV__) {\n DataRouterContext.displayName = \"DataRouter\";\n}\n\nexport const DataRouterStateContext = React.createContext<\n Router[\"state\"] | null\n>(null);\nif (__DEV__) {\n DataRouterStateContext.displayName = \"DataRouterState\";\n}\n\nexport const AwaitContext = React.createContext(null);\nif (__DEV__) {\n AwaitContext.displayName = \"Await\";\n}\n\nexport type RelativeRoutingType = \"route\" | \"path\";\n\nexport interface NavigateOptions {\n replace?: boolean;\n state?: any;\n preventScrollReset?: boolean;\n relative?: RelativeRoutingType;\n}\n\n/**\n * A Navigator is a \"location changer\"; it's how you get to different locations.\n *\n * Every history instance conforms to the Navigator interface, but the\n * distinction is useful primarily when it comes to the low-level API\n * where both the location and a navigator must be provided separately in order\n * to avoid \"tearing\" that may occur in a suspense-enabled app if the action\n * and/or location were to be read directly from the history instance.\n */\nexport interface Navigator {\n createHref: History[\"createHref\"];\n // Optional for backwards-compat with Router/HistoryRouter usage (edge case)\n encodeLocation?: History[\"encodeLocation\"];\n go: History[\"go\"];\n push(to: To, state?: any, opts?: NavigateOptions): void;\n replace(to: To, state?: any, opts?: NavigateOptions): void;\n}\n\ninterface NavigationContextObject {\n basename: string;\n navigator: Navigator;\n static: boolean;\n}\n\nexport const NavigationContext = React.createContext(\n null!\n);\n\nif (__DEV__) {\n NavigationContext.displayName = \"Navigation\";\n}\n\ninterface LocationContextObject {\n location: Location;\n navigationType: NavigationType;\n}\n\nexport const LocationContext = React.createContext(\n null!\n);\n\nif (__DEV__) {\n LocationContext.displayName = \"Location\";\n}\n\nexport interface RouteContextObject {\n outlet: React.ReactElement | null;\n matches: RouteMatch[];\n}\n\nexport const RouteContext = React.createContext({\n outlet: null,\n matches: [],\n});\n\nif (__DEV__) {\n RouteContext.displayName = \"Route\";\n}\n\nexport const RouteErrorContext = React.createContext(null);\n\nif (__DEV__) {\n RouteErrorContext.displayName = \"RouteError\";\n}\n","import * as React from \"react\";\nimport type {\n Blocker,\n BlockerFunction,\n Location,\n ParamParseKey,\n Params,\n Path,\n PathMatch,\n PathPattern,\n Router as RemixRouter,\n To,\n} from \"@remix-run/router\";\nimport {\n Action as NavigationType,\n invariant,\n isRouteErrorResponse,\n joinPaths,\n matchPath,\n matchRoutes,\n parsePath,\n resolveTo,\n warning,\n UNSAFE_getPathContributingMatches as getPathContributingMatches,\n} from \"@remix-run/router\";\n\nimport type {\n NavigateOptions,\n RouteContextObject,\n RouteMatch,\n RouteObject,\n DataRouteMatch,\n RelativeRoutingType,\n} from \"./context\";\nimport {\n DataRouterContext,\n DataRouterStateContext,\n LocationContext,\n NavigationContext,\n RouteContext,\n RouteErrorContext,\n AwaitContext,\n} from \"./context\";\n\n/**\n * Returns the full href for the given \"to\" value. This is useful for building\n * custom links that are also accessible and preserve right-click behavior.\n *\n * @see https://reactrouter.com/hooks/use-href\n */\nexport function useHref(\n to: To,\n { relative }: { relative?: RelativeRoutingType } = {}\n): string {\n invariant(\n useInRouterContext(),\n // TODO: This error is probably because they somehow have 2 versions of the\n // router loaded. We can help them understand how to avoid that.\n `useHref() may be used only in the context of a component.`\n );\n\n let { basename, navigator } = React.useContext(NavigationContext);\n let { hash, pathname, search } = useResolvedPath(to, { relative });\n\n let joinedPathname = pathname;\n\n // If we're operating within a basename, prepend it to the pathname prior\n // to creating the href. If this is a root navigation, then just use the raw\n // basename which allows the basename to have full control over the presence\n // of a trailing slash on root links\n if (basename !== \"/\") {\n joinedPathname =\n pathname === \"/\" ? basename : joinPaths([basename, pathname]);\n }\n\n return navigator.createHref({ pathname: joinedPathname, search, hash });\n}\n\n/**\n * Returns true if this component is a descendant of a .\n *\n * @see https://reactrouter.com/hooks/use-in-router-context\n */\nexport function useInRouterContext(): boolean {\n return React.useContext(LocationContext) != null;\n}\n\n/**\n * Returns the current location object, which represents the current URL in web\n * browsers.\n *\n * Note: If you're using this it may mean you're doing some of your own\n * \"routing\" in your app, and we'd like to know what your use case is. We may\n * be able to provide something higher-level to better suit your needs.\n *\n * @see https://reactrouter.com/hooks/use-location\n */\nexport function useLocation(): Location {\n invariant(\n useInRouterContext(),\n // TODO: This error is probably because they somehow have 2 versions of the\n // router loaded. We can help them understand how to avoid that.\n `useLocation() may be used only in the context of a component.`\n );\n\n return React.useContext(LocationContext).location;\n}\n\n/**\n * Returns the current navigation action which describes how the router came to\n * the current location, either by a pop, push, or replace on the history stack.\n *\n * @see https://reactrouter.com/hooks/use-navigation-type\n */\nexport function useNavigationType(): NavigationType {\n return React.useContext(LocationContext).navigationType;\n}\n\n/**\n * Returns a PathMatch object if the given pattern matches the current URL.\n * This is useful for components that need to know \"active\" state, e.g.\n * .\n *\n * @see https://reactrouter.com/hooks/use-match\n */\nexport function useMatch<\n ParamKey extends ParamParseKey,\n Path extends string\n>(pattern: PathPattern | Path): PathMatch | null {\n invariant(\n useInRouterContext(),\n // TODO: This error is probably because they somehow have 2 versions of the\n // router loaded. We can help them understand how to avoid that.\n `useMatch() may be used only in the context of a component.`\n );\n\n let { pathname } = useLocation();\n return React.useMemo(\n () => matchPath(pattern, pathname),\n [pathname, pattern]\n );\n}\n\n/**\n * The interface for the navigate() function returned from useNavigate().\n */\nexport interface NavigateFunction {\n (to: To, options?: NavigateOptions): void;\n (delta: number): void;\n}\n\n/**\n * Returns an imperative method for changing the location. Used by s, but\n * may also be used by other elements to change the location.\n *\n * @see https://reactrouter.com/hooks/use-navigate\n */\nexport function useNavigate(): NavigateFunction {\n invariant(\n useInRouterContext(),\n // TODO: This error is probably because they somehow have 2 versions of the\n // router loaded. We can help them understand how to avoid that.\n `useNavigate() may be used only in the context of a component.`\n );\n\n let { basename, navigator } = React.useContext(NavigationContext);\n let { matches } = React.useContext(RouteContext);\n let { pathname: locationPathname } = useLocation();\n\n let routePathnamesJson = JSON.stringify(\n getPathContributingMatches(matches).map((match) => match.pathnameBase)\n );\n\n let activeRef = React.useRef(false);\n React.useEffect(() => {\n activeRef.current = true;\n });\n\n let navigate: NavigateFunction = React.useCallback(\n (to: To | number, options: NavigateOptions = {}) => {\n warning(\n activeRef.current,\n `You should call navigate() in a React.useEffect(), not when ` +\n `your component is first rendered.`\n );\n\n if (!activeRef.current) return;\n\n if (typeof to === \"number\") {\n navigator.go(to);\n return;\n }\n\n let path = resolveTo(\n to,\n JSON.parse(routePathnamesJson),\n locationPathname,\n options.relative === \"path\"\n );\n\n // If we're operating within a basename, prepend it to the pathname prior\n // to handing off to history. If this is a root navigation, then we\n // navigate to the raw basename which allows the basename to have full\n // control over the presence of a trailing slash on root links\n if (basename !== \"/\") {\n path.pathname =\n path.pathname === \"/\"\n ? basename\n : joinPaths([basename, path.pathname]);\n }\n\n (!!options.replace ? navigator.replace : navigator.push)(\n path,\n options.state,\n options\n );\n },\n [basename, navigator, routePathnamesJson, locationPathname]\n );\n\n return navigate;\n}\n\nconst OutletContext = React.createContext(null);\n\n/**\n * Returns the context (if provided) for the child route at this level of the route\n * hierarchy.\n * @see https://reactrouter.com/hooks/use-outlet-context\n */\nexport function useOutletContext(): Context {\n return React.useContext(OutletContext) as Context;\n}\n\n/**\n * Returns the element for the child route at this level of the route\n * hierarchy. Used internally by to render child routes.\n *\n * @see https://reactrouter.com/hooks/use-outlet\n */\nexport function useOutlet(context?: unknown): React.ReactElement | null {\n let outlet = React.useContext(RouteContext).outlet;\n if (outlet) {\n return (\n {outlet}\n );\n }\n return outlet;\n}\n\n/**\n * Returns an object of key/value pairs of the dynamic params from the current\n * URL that were matched by the route path.\n *\n * @see https://reactrouter.com/hooks/use-params\n */\nexport function useParams<\n ParamsOrKey extends string | Record = string\n>(): Readonly<\n [ParamsOrKey] extends [string] ? Params : Partial\n> {\n let { matches } = React.useContext(RouteContext);\n let routeMatch = matches[matches.length - 1];\n return routeMatch ? (routeMatch.params as any) : {};\n}\n\n/**\n * Resolves the pathname of the given `to` value against the current location.\n *\n * @see https://reactrouter.com/hooks/use-resolved-path\n */\nexport function useResolvedPath(\n to: To,\n { relative }: { relative?: RelativeRoutingType } = {}\n): Path {\n let { matches } = React.useContext(RouteContext);\n let { pathname: locationPathname } = useLocation();\n\n let routePathnamesJson = JSON.stringify(\n getPathContributingMatches(matches).map((match) => match.pathnameBase)\n );\n\n return React.useMemo(\n () =>\n resolveTo(\n to,\n JSON.parse(routePathnamesJson),\n locationPathname,\n relative === \"path\"\n ),\n [to, routePathnamesJson, locationPathname, relative]\n );\n}\n\n/**\n * Returns the element of the route that matched the current location, prepared\n * with the correct context to render the remainder of the route tree. Route\n * elements in the tree must render an to render their child route's\n * element.\n *\n * @see https://reactrouter.com/hooks/use-routes\n */\nexport function useRoutes(\n routes: RouteObject[],\n locationArg?: Partial | string\n): React.ReactElement | null {\n invariant(\n useInRouterContext(),\n // TODO: This error is probably because they somehow have 2 versions of the\n // router loaded. We can help them understand how to avoid that.\n `useRoutes() may be used only in the context of a component.`\n );\n\n let { navigator } = React.useContext(NavigationContext);\n let dataRouterStateContext = React.useContext(DataRouterStateContext);\n let { matches: parentMatches } = React.useContext(RouteContext);\n let routeMatch = parentMatches[parentMatches.length - 1];\n let parentParams = routeMatch ? routeMatch.params : {};\n let parentPathname = routeMatch ? routeMatch.pathname : \"/\";\n let parentPathnameBase = routeMatch ? routeMatch.pathnameBase : \"/\";\n let parentRoute = routeMatch && routeMatch.route;\n\n if (__DEV__) {\n // You won't get a warning about 2 different under a \n // without a trailing *, but this is a best-effort warning anyway since we\n // cannot even give the warning unless they land at the parent route.\n //\n // Example:\n //\n // \n // {/* This route path MUST end with /* because otherwise\n // it will never match /blog/post/123 */}\n // } />\n // } />\n // \n //\n // function Blog() {\n // return (\n // \n // } />\n // \n // );\n // }\n let parentPath = (parentRoute && parentRoute.path) || \"\";\n warningOnce(\n parentPathname,\n !parentRoute || parentPath.endsWith(\"*\"),\n `You rendered descendant (or called \\`useRoutes()\\`) at ` +\n `\"${parentPathname}\" (under ) but the ` +\n `parent route path has no trailing \"*\". This means if you navigate ` +\n `deeper, the parent won't match anymore and therefore the child ` +\n `routes will never render.\\n\\n` +\n `Please change the parent to .`\n );\n }\n\n let locationFromContext = useLocation();\n\n let location;\n if (locationArg) {\n let parsedLocationArg =\n typeof locationArg === \"string\" ? parsePath(locationArg) : locationArg;\n\n invariant(\n parentPathnameBase === \"/\" ||\n parsedLocationArg.pathname?.startsWith(parentPathnameBase),\n `When overriding the location using \\`\\` or \\`useRoutes(routes, location)\\`, ` +\n `the location pathname must begin with the portion of the URL pathname that was ` +\n `matched by all parent routes. The current pathname base is \"${parentPathnameBase}\" ` +\n `but pathname \"${parsedLocationArg.pathname}\" was given in the \\`location\\` prop.`\n );\n\n location = parsedLocationArg;\n } else {\n location = locationFromContext;\n }\n\n let pathname = location.pathname || \"/\";\n let remainingPathname =\n parentPathnameBase === \"/\"\n ? pathname\n : pathname.slice(parentPathnameBase.length) || \"/\";\n\n let matches = matchRoutes(routes, { pathname: remainingPathname });\n\n if (__DEV__) {\n warning(\n parentRoute || matches != null,\n `No routes matched location \"${location.pathname}${location.search}${location.hash}\" `\n );\n\n warning(\n matches == null ||\n matches[matches.length - 1].route.element !== undefined,\n `Matched leaf route at location \"${location.pathname}${location.search}${location.hash}\" does not have an element. ` +\n `This means it will render an with a null value by default resulting in an \"empty\" page.`\n );\n }\n\n let renderedMatches = _renderMatches(\n matches &&\n matches.map((match) =>\n Object.assign({}, match, {\n params: Object.assign({}, parentParams, match.params),\n pathname: joinPaths([\n parentPathnameBase,\n // Re-encode pathnames that were decoded inside matchRoutes\n navigator.encodeLocation\n ? navigator.encodeLocation(match.pathname).pathname\n : match.pathname,\n ]),\n pathnameBase:\n match.pathnameBase === \"/\"\n ? parentPathnameBase\n : joinPaths([\n parentPathnameBase,\n // Re-encode pathnames that were decoded inside matchRoutes\n navigator.encodeLocation\n ? navigator.encodeLocation(match.pathnameBase).pathname\n : match.pathnameBase,\n ]),\n })\n ),\n parentMatches,\n dataRouterStateContext || undefined\n );\n\n // When a user passes in a `locationArg`, the associated routes need to\n // be wrapped in a new `LocationContext.Provider` in order for `useLocation`\n // to use the scoped location instead of the global location.\n if (locationArg && renderedMatches) {\n return (\n \n {renderedMatches}\n \n );\n }\n\n return renderedMatches;\n}\n\nfunction DefaultErrorElement() {\n let error = useRouteError();\n let message = isRouteErrorResponse(error)\n ? `${error.status} ${error.statusText}`\n : error instanceof Error\n ? error.message\n : JSON.stringify(error);\n let stack = error instanceof Error ? error.stack : null;\n let lightgrey = \"rgba(200,200,200, 0.5)\";\n let preStyles = { padding: \"0.5rem\", backgroundColor: lightgrey };\n let codeStyles = { padding: \"2px 4px\", backgroundColor: lightgrey };\n\n let devInfo = null;\n if (__DEV__) {\n devInfo = (\n <>\n

💿 Hey developer 👋

\n

\n You can provide a way better UX than this when your app throws errors\n by providing your own \n errorElement props on \n <Route>\n

\n \n );\n }\n\n return (\n <>\n

Unexpected Application Error!

\n

{message}

\n {stack ?
{stack}
: null}\n {devInfo}\n \n );\n}\n\ntype RenderErrorBoundaryProps = React.PropsWithChildren<{\n location: Location;\n error: any;\n component: React.ReactNode;\n routeContext: RouteContextObject;\n}>;\n\ntype RenderErrorBoundaryState = {\n location: Location;\n error: any;\n};\n\nexport class RenderErrorBoundary extends React.Component<\n RenderErrorBoundaryProps,\n RenderErrorBoundaryState\n> {\n constructor(props: RenderErrorBoundaryProps) {\n super(props);\n this.state = {\n location: props.location,\n error: props.error,\n };\n }\n\n static getDerivedStateFromError(error: any) {\n return { error: error };\n }\n\n static getDerivedStateFromProps(\n props: RenderErrorBoundaryProps,\n state: RenderErrorBoundaryState\n ) {\n // When we get into an error state, the user will likely click \"back\" to the\n // previous page that didn't have an error. Because this wraps the entire\n // application, that will have no effect--the error page continues to display.\n // This gives us a mechanism to recover from the error when the location changes.\n //\n // Whether we're in an error state or not, we update the location in state\n // so that when we are in an error state, it gets reset when a new location\n // comes in and the user recovers from the error.\n if (state.location !== props.location) {\n return {\n error: props.error,\n location: props.location,\n };\n }\n\n // If we're not changing locations, preserve the location but still surface\n // any new errors that may come through. We retain the existing error, we do\n // this because the error provided from the app state may be cleared without\n // the location changing.\n return {\n error: props.error || state.error,\n location: state.location,\n };\n }\n\n componentDidCatch(error: any, errorInfo: any) {\n console.error(\n \"React Router caught the following error during render\",\n error,\n errorInfo\n );\n }\n\n render() {\n return this.state.error ? (\n \n \n \n ) : (\n this.props.children\n );\n }\n}\n\ninterface RenderedRouteProps {\n routeContext: RouteContextObject;\n match: RouteMatch;\n children: React.ReactNode | null;\n}\n\nfunction RenderedRoute({ routeContext, match, children }: RenderedRouteProps) {\n let dataRouterContext = React.useContext(DataRouterContext);\n\n // Track how deep we got in our render pass to emulate SSR componentDidCatch\n // in a DataStaticRouter\n if (\n dataRouterContext &&\n dataRouterContext.static &&\n dataRouterContext.staticContext &&\n match.route.errorElement\n ) {\n dataRouterContext.staticContext._deepestRenderedBoundaryId = match.route.id;\n }\n\n return (\n \n {children}\n \n );\n}\n\nexport function _renderMatches(\n matches: RouteMatch[] | null,\n parentMatches: RouteMatch[] = [],\n dataRouterState?: RemixRouter[\"state\"]\n): React.ReactElement | null {\n if (matches == null) {\n if (dataRouterState?.errors) {\n // Don't bail if we have data router errors so we can render them in the\n // boundary. Use the pre-matched (or shimmed) matches\n matches = dataRouterState.matches as DataRouteMatch[];\n } else {\n return null;\n }\n }\n\n let renderedMatches = matches;\n\n // If we have data errors, trim matches to the highest error boundary\n let errors = dataRouterState?.errors;\n if (errors != null) {\n let errorIndex = renderedMatches.findIndex(\n (m) => m.route.id && errors?.[m.route.id]\n );\n invariant(\n errorIndex >= 0,\n `Could not find a matching route for the current errors: ${errors}`\n );\n renderedMatches = renderedMatches.slice(\n 0,\n Math.min(renderedMatches.length, errorIndex + 1)\n );\n }\n\n return renderedMatches.reduceRight((outlet, match, index) => {\n let error = match.route.id ? errors?.[match.route.id] : null;\n // Only data routers handle errors\n let errorElement = dataRouterState\n ? match.route.errorElement || \n : null;\n let matches = parentMatches.concat(renderedMatches.slice(0, index + 1));\n let getChildren = () => (\n \n {error\n ? errorElement\n : match.route.element !== undefined\n ? match.route.element\n : outlet}\n \n );\n // Only wrap in an error boundary within data router usages when we have an\n // errorElement on this route. Otherwise let it bubble up to an ancestor\n // errorElement\n return dataRouterState && (match.route.errorElement || index === 0) ? (\n \n ) : (\n getChildren()\n );\n }, null as React.ReactElement | null);\n}\n\nenum DataRouterHook {\n UseBlocker = \"useBlocker\",\n UseRevalidator = \"useRevalidator\",\n}\n\nenum DataRouterStateHook {\n UseLoaderData = \"useLoaderData\",\n UseActionData = \"useActionData\",\n UseRouteError = \"useRouteError\",\n UseNavigation = \"useNavigation\",\n UseRouteLoaderData = \"useRouteLoaderData\",\n UseMatches = \"useMatches\",\n UseRevalidator = \"useRevalidator\",\n}\n\nfunction getDataRouterConsoleError(\n hookName: DataRouterHook | DataRouterStateHook\n) {\n return `${hookName} must be used within a data router. See https://reactrouter.com/routers/picking-a-router.`;\n}\n\nfunction useDataRouterContext(hookName: DataRouterHook) {\n let ctx = React.useContext(DataRouterContext);\n invariant(ctx, getDataRouterConsoleError(hookName));\n return ctx;\n}\n\nfunction useDataRouterState(hookName: DataRouterStateHook) {\n let state = React.useContext(DataRouterStateContext);\n invariant(state, getDataRouterConsoleError(hookName));\n return state;\n}\n\nfunction useRouteContext(hookName: DataRouterStateHook) {\n let route = React.useContext(RouteContext);\n invariant(route, getDataRouterConsoleError(hookName));\n return route;\n}\n\nfunction useCurrentRouteId(hookName: DataRouterStateHook) {\n let route = useRouteContext(hookName);\n let thisRoute = route.matches[route.matches.length - 1];\n invariant(\n thisRoute.route.id,\n `${hookName} can only be used on routes that contain a unique \"id\"`\n );\n return thisRoute.route.id;\n}\n\n/**\n * Returns the current navigation, defaulting to an \"idle\" navigation when\n * no navigation is in progress\n */\nexport function useNavigation() {\n let state = useDataRouterState(DataRouterStateHook.UseNavigation);\n return state.navigation;\n}\n\n/**\n * Returns a revalidate function for manually triggering revalidation, as well\n * as the current state of any manual revalidations\n */\nexport function useRevalidator() {\n let dataRouterContext = useDataRouterContext(DataRouterHook.UseRevalidator);\n let state = useDataRouterState(DataRouterStateHook.UseRevalidator);\n return {\n revalidate: dataRouterContext.router.revalidate,\n state: state.revalidation,\n };\n}\n\n/**\n * Returns the active route matches, useful for accessing loaderData for\n * parent/child routes or the route \"handle\" property\n */\nexport function useMatches() {\n let { matches, loaderData } = useDataRouterState(\n DataRouterStateHook.UseMatches\n );\n return React.useMemo(\n () =>\n matches.map((match) => {\n let { pathname, params } = match;\n // Note: This structure matches that created by createUseMatchesMatch\n // in the @remix-run/router , so if you change this please also change\n // that :) Eventually we'll DRY this up\n return {\n id: match.route.id,\n pathname,\n params,\n data: loaderData[match.route.id] as unknown,\n handle: match.route.handle as unknown,\n };\n }),\n [matches, loaderData]\n );\n}\n\n/**\n * Returns the loader data for the nearest ancestor Route loader\n */\nexport function useLoaderData(): unknown {\n let state = useDataRouterState(DataRouterStateHook.UseLoaderData);\n let routeId = useCurrentRouteId(DataRouterStateHook.UseLoaderData);\n\n if (state.errors && state.errors[routeId] != null) {\n console.error(\n `You cannot \\`useLoaderData\\` in an errorElement (routeId: ${routeId})`\n );\n return undefined;\n }\n return state.loaderData[routeId];\n}\n\n/**\n * Returns the loaderData for the given routeId\n */\nexport function useRouteLoaderData(routeId: string): unknown {\n let state = useDataRouterState(DataRouterStateHook.UseRouteLoaderData);\n return state.loaderData[routeId];\n}\n\n/**\n * Returns the action data for the nearest ancestor Route action\n */\nexport function useActionData(): unknown {\n let state = useDataRouterState(DataRouterStateHook.UseActionData);\n\n let route = React.useContext(RouteContext);\n invariant(route, `useActionData must be used inside a RouteContext`);\n\n return Object.values(state?.actionData || {})[0];\n}\n\n/**\n * Returns the nearest ancestor Route error, which could be a loader/action\n * error or a render error. This is intended to be called from your\n * errorElement to display a proper error message.\n */\nexport function useRouteError(): unknown {\n let error = React.useContext(RouteErrorContext);\n let state = useDataRouterState(DataRouterStateHook.UseRouteError);\n let routeId = useCurrentRouteId(DataRouterStateHook.UseRouteError);\n\n // If this was a render error, we put it in a RouteError context inside\n // of RenderErrorBoundary\n if (error) {\n return error;\n }\n\n // Otherwise look for errors from our data router state\n return state.errors?.[routeId];\n}\n\n/**\n * Returns the happy-path data from the nearest ancestor value\n */\nexport function useAsyncValue(): unknown {\n let value = React.useContext(AwaitContext);\n return value?._data;\n}\n\n/**\n * Returns the error from the nearest ancestor value\n */\nexport function useAsyncError(): unknown {\n let value = React.useContext(AwaitContext);\n return value?._error;\n}\n\nlet blockerId = 0;\n\n/**\n * Allow the application to block navigations within the SPA and present the\n * user a confirmation dialog to confirm the navigation. Mostly used to avoid\n * using half-filled form data. This does not handle hard-reloads or\n * cross-origin navigations.\n */\nexport function useBlocker(shouldBlock: boolean | BlockerFunction): Blocker {\n let { router } = useDataRouterContext(DataRouterHook.UseBlocker);\n let [blockerKey] = React.useState(() => String(++blockerId));\n\n let blockerFunction = React.useCallback(\n (args) => {\n return typeof shouldBlock === \"function\"\n ? !!shouldBlock(args)\n : !!shouldBlock;\n },\n [shouldBlock]\n );\n\n let blocker = router.getBlocker(blockerKey, blockerFunction);\n\n // Cleanup on unmount\n React.useEffect(\n () => () => router.deleteBlocker(blockerKey),\n [router, blockerKey]\n );\n\n return blocker;\n}\n\nconst alreadyWarned: Record = {};\n\nfunction warningOnce(key: string, cond: boolean, message: string) {\n if (!cond && !alreadyWarned[key]) {\n alreadyWarned[key] = true;\n warning(false, message);\n }\n}\n","import * as React from \"react\";\nimport type {\n TrackedPromise,\n InitialEntry,\n Location,\n MemoryHistory,\n Router as RemixRouter,\n RouterState,\n To,\n} from \"@remix-run/router\";\nimport {\n Action as NavigationType,\n AbortedDeferredError,\n createMemoryHistory,\n invariant,\n parsePath,\n stripBasename,\n warning,\n} from \"@remix-run/router\";\nimport { useSyncExternalStore as useSyncExternalStoreShim } from \"./use-sync-external-store-shim\";\n\nimport type {\n DataRouteObject,\n IndexRouteObject,\n RouteMatch,\n RouteObject,\n Navigator,\n NonIndexRouteObject,\n RelativeRoutingType,\n} from \"./context\";\nimport {\n LocationContext,\n NavigationContext,\n DataRouterContext,\n DataRouterStateContext,\n AwaitContext,\n} from \"./context\";\nimport {\n useAsyncValue,\n useInRouterContext,\n useNavigate,\n useOutlet,\n useRoutes,\n _renderMatches,\n} from \"./hooks\";\n\nexport interface RouterProviderProps {\n fallbackElement?: React.ReactNode;\n router: RemixRouter;\n}\n\n/**\n * Given a Remix Router instance, render the appropriate UI\n */\nexport function RouterProvider({\n fallbackElement,\n router,\n}: RouterProviderProps): React.ReactElement {\n // Sync router state to our component state to force re-renders\n let state: RouterState = useSyncExternalStoreShim(\n router.subscribe,\n () => router.state,\n // We have to provide this so React@18 doesn't complain during hydration,\n // but we pass our serialized hydration data into the router so state here\n // is already synced with what the server saw\n () => router.state\n );\n\n let navigator = React.useMemo((): Navigator => {\n return {\n createHref: router.createHref,\n encodeLocation: router.encodeLocation,\n go: (n) => router.navigate(n),\n push: (to, state, opts) =>\n router.navigate(to, {\n state,\n preventScrollReset: opts?.preventScrollReset,\n }),\n replace: (to, state, opts) =>\n router.navigate(to, {\n replace: true,\n state,\n preventScrollReset: opts?.preventScrollReset,\n }),\n };\n }, [router]);\n\n let basename = router.basename || \"/\";\n\n // The fragment and {null} here are important! We need them to keep React 18's\n // useId happy when we are server-rendering since we may have a