import t from"react";import{BrowserRouter as o}from"react-router-dom";import{ThemeDataContext as n}from"@redocly/theme/core/contexts";import i from"@redocly/theme/core/templates/Markdown";import{useBreadcrumbs as u,useCatalogClassic as m,useCurrentProduct as d,useGlobalData as l,useI18n as p,useI18nConfig as c,useL10n as g,useL10nConfig as h,usePageData as f,usePageSharedData as b,usePageVersions as T,usePreloadHistory as C,useProducts as k,useUserMenu as w,useSubmitFeedback as v,useTranslate as P,useSidebarSiblingsData as y,usePageProps as D,useUserTeams as S,useMarkdownText as $,useCodeHighlight as E,useLoadAndNavigate as I,useCatalog as L,useCatalogSort as x,useCatalogSearch as H,useFetchCatalogEntities as F,useFetchCatalogEntitiesRelations as M,useTelemetry as r}from"./app/hooks";import{Link as A}from"./app/Link";import{useFacetQuery as R,useSearch as B,useAiSearch as G}from"./app/search";import{useSidebarItems as O}from"./app/Sidebar/useSidebarItems";import{PageDataContext as U}from"./providers/page-data/PageDataContext";const s={Template:({pageProps:e,children:a})=>t.createElement(i,{pageProps:{...e,metadata:{...e.metadata,markdoc:{tagList:[]}}}},a),templateId:"markdown",isPublic:!0,props:{seo:{title:"Test"},ast:{$$mdtype:"Tag",name:"div",children:[{$$mdtype:"Tag",name:"Heading",attributes:{id:"github-flavored-markdown",level:1},children:["GitHub-flavored markdown"]},{$$mdtype:"Tag",name:"p",attributes:{},children:["These exercises assume you have",{$$mdtype:"Tag",name:"a",attributes:{href:"https://docs.redoc.ly/"},children:["basic markdown knowledge"]},"."]},{$$mdtype:"Tag",name:"Heading",attributes:{id:"create-a-new-plain-markdown-page",level:2},children:["Create a new plain markdown page"]}]},lastModified:new Date("2022-01-01").toISOString()},slug:"",userData:{isAuthenticated:!1,name:"test name",picture:""},sidebar:null,sharedData:{},sharedDataIds:{}},N={useBreadcrumbs:u,useCatalog:L,useCatalogSort:x,useCatalogSearch:H,useFetchCatalogEntities:F,useFetchCatalogEntitiesRelations:M,useCatalogClassic:m,useCurrentProduct:d,useGlobalData:l,useSearch:B,useAiSearch:G,useFacetQuery:R,useI18n:p,useI18nConfig:c,useL10n:g,useL10nConfig:h,usePageData:f,usePageSharedData:b,usePageVersions:T,usePreloadHistory:C,useProducts:k,useUserMenu:w,useSidebarItems:O,useSidebarSiblingsData:y,useSubmitFeedback:v,useTranslate:P,useUserTeams:S,usePageProps:D,useMarkdownText:$,useCodeHighlight:E,useLoadAndNavigate:I,useTelemetry:r,useOtelTelemetry:r},Q={LinkComponent:A},V={hooks:N,components:Q,config:{}};function _({children:e,customPageData:a}){return t.createElement(o,null,t.createElement(U.Provider,{value:{...s,...a,props:{...s.props,...a?.props}}},t.createElement(n.Provider,{value:V},e)))}export{_ as TestProvider};
