[{"data":1,"prerenderedAt":2349},["ShallowReactive",2],{"navigation":3,"docs-/composables/use-unwrap":164,"docs-/composables/use-unwrap-surround":682},[4,20,45,67,92,102,115],{"title":5,"_path":6,"children":7},"Get Started","/get-started",[8,11,14,17],{"title":9,"_path":10},"Installation","/get-started/installation",{"title":12,"_path":13},"Configuration","/get-started/configuration",{"title":15,"_path":16},"Edge Channel","/get-started/edge-channel",{"title":18,"_path":19},"Migration","/get-started/from-v1",{"title":21,"_path":22,"children":23},"Usage","/usage",[24,27,30,33,36,39,42],{"title":25,"_path":26},"Content Directory","/usage/content-directory",{"title":28,"_path":29},"Markdown","/usage/markdown",{"title":31,"_path":32},"JSON, YAML, CSV","/usage/files",{"title":34,"_path":35},"Render Content","/usage/render",{"title":37,"_path":38},"Search","/usage/search",{"title":40,"_path":41},"Fetch Navigation","/usage/navigation",{"title":43,"_path":44},"TypeScript Support","/usage/typescript",{"title":46,"_path":47,"children":48},"Composables","/composables",[49,52,55,58,61,64],{"title":50,"_path":51},"queryContent()","/composables/query-content",{"title":53,"_path":54},"fetchContentNavigation()","/composables/fetch-content-navigation",{"title":56,"_path":57},"useContentHead()","/composables/use-content-head",{"title":59,"_path":60},"useContentHelpers()","/composables/use-content-helpers",{"title":62,"_path":63},"useUnwrap()","/composables/use-unwrap",{"title":65,"_path":66},"searchContent()","/composables/search-content",{"title":68,"_path":69,"children":70},"Components","/components",[71,74,77,80,83,86,89],{"title":72,"_path":73},"\u003CContentDoc>","/components/content-doc",{"title":75,"_path":76},"\u003CContentRenderer>","/components/content-renderer",{"title":78,"_path":79},"\u003CContentList>","/components/content-list",{"title":81,"_path":82},"\u003CContentNavigation>","/components/content-navigation",{"title":84,"_path":85},"\u003CContentQuery>","/components/content-query",{"title":87,"_path":88},"\u003CContentSlot>","/components/content-slot",{"title":90,"_path":91},"Prose Components","/components/prose",{"title":93,"_path":94,"children":95},"Document Driven","/document-driven",[96,99],{"title":97,"_path":98},"Introduction","/document-driven/introduction",{"title":100,"_path":101},"useContent()","/document-driven/use-content",{"title":103,"_path":104,"children":105},"Recipes","/recipes",[106,109,112],{"title":107,"_path":108},"Hooks","/recipes/hooks",{"title":110,"_path":111},"Transformers","/recipes/transformers",{"title":113,"_path":114},"Sitemap","/recipes/sitemap",{"title":116,"_path":117,"children":118},"V1","/v1",[119,141,154],{"title":120,"_path":121,"children":122},"Getting Started","/v1/getting-started",[123,125,127,130,133,136,138],{"title":97,"_path":124},"/v1/getting-started/introduction",{"title":9,"_path":126},"/v1/getting-started/installation",{"title":128,"_path":129},"Writing content","/v1/getting-started/writing",{"title":131,"_path":132},"Fetching content","/v1/getting-started/fetching",{"title":134,"_path":135},"Displaying content","/v1/getting-started/displaying",{"title":12,"_path":137},"/v1/getting-started/configuration",{"title":139,"_path":140},"Advanced","/v1/getting-started/advanced",{"title":142,"_path":143,"children":144},"Examples","/v1/examples",[145,148,151],{"title":146,"_path":147},"Basic Usage","/v1/examples/basic",{"title":149,"_path":150},"TailwindCSS","/v1/examples/tailwindcss-typography",{"title":152,"_path":153},"Docs Theme","/v1/examples/docs-theme",{"title":155,"_path":156,"children":157},"Community","/v1/community",[158,161],{"title":159,"_path":160},"Snippets","/v1/community/snippets",{"title":162,"_path":163},"Integrations","/v1/community/integrations",{"_path":63,"_dir":165,"_draft":166,"_partial":166,"_locale":167,"title":62,"description":168,"body":169,"_type":677,"_id":678,"_source":679,"_file":680,"_extension":681},"composables",false,"","A composable to unwrap slots, for advanced usage.",{"type":170,"children":171,"toc":675},"root",[172,203,208,669],{"type":173,"tag":174,"props":175,"children":176},"element","p",{},[177,180,194,196,201],{"type":178,"value":179},"text","It can be used to achieve a similar behavior as ",{"type":173,"tag":181,"props":182,"children":184},"a",{"href":183},"/components/content-slot#props",[185,192],{"type":173,"tag":186,"props":187,"children":189},"code",{"className":188},[],[190],{"type":178,"value":191},"unwrap",{"type":178,"value":193}," prop",{"type":178,"value":195}," from ",{"type":173,"tag":186,"props":197,"children":199},{"className":198},[],[200],{"type":178,"value":87},{"type":178,"value":202}," component.",{"type":173,"tag":174,"props":204,"children":205},{},[206],{"type":178,"value":207},"Example:",{"type":173,"tag":209,"props":210,"children":214},"pre",{"className":211,"code":212,"language":213,"meta":167,"style":167},"language-vue shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","\u003Cscript setup lang=\"ts\">\nconst { flatUnwrap } = useUnwrap()\n\n\u003C/script>\n\n\u003Ctemplate>\n  \u003Cul>\n    \u003Cli v-for=\"(item, index) of flatUnwrap($slots.default!(), ['ul'])\" :key=\"index\">\n      ☑︎\n      \u003Cspan>\u003CContentSlot :use=\"() => item\" unwrap=\"li\" />\u003C/span>\n    \u003C/li>\n  \u003C/ul>\n\u003C/template>\n","vue",[215],{"type":173,"tag":186,"props":216,"children":217},{"__ignoreMap":167},[218,272,313,323,340,348,365,383,517,526,619,636,653],{"type":173,"tag":219,"props":220,"children":223},"span",{"class":221,"line":222},"line",1,[224,230,236,242,247,252,257,263,267],{"type":173,"tag":219,"props":225,"children":227},{"style":226},"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF",[228],{"type":178,"value":229},"\u003C",{"type":173,"tag":219,"props":231,"children":233},{"style":232},"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178",[234],{"type":178,"value":235},"script",{"type":173,"tag":219,"props":237,"children":239},{"style":238},"--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA",[240],{"type":178,"value":241}," setup",{"type":173,"tag":219,"props":243,"children":244},{"style":238},[245],{"type":178,"value":246}," lang",{"type":173,"tag":219,"props":248,"children":249},{"style":226},[250],{"type":178,"value":251},"=",{"type":173,"tag":219,"props":253,"children":254},{"style":226},[255],{"type":178,"value":256},"\"",{"type":173,"tag":219,"props":258,"children":260},{"style":259},"--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D",[261],{"type":178,"value":262},"ts",{"type":173,"tag":219,"props":264,"children":265},{"style":226},[266],{"type":178,"value":256},{"type":173,"tag":219,"props":268,"children":269},{"style":226},[270],{"type":178,"value":271},">\n",{"type":173,"tag":219,"props":273,"children":275},{"class":221,"line":274},2,[276,281,286,292,297,302,308],{"type":173,"tag":219,"props":277,"children":278},{"style":238},[279],{"type":178,"value":280},"const",{"type":173,"tag":219,"props":282,"children":283},{"style":226},[284],{"type":178,"value":285}," {",{"type":173,"tag":219,"props":287,"children":289},{"style":288},"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8",[290],{"type":178,"value":291}," flatUnwrap ",{"type":173,"tag":219,"props":293,"children":294},{"style":226},[295],{"type":178,"value":296},"}",{"type":173,"tag":219,"props":298,"children":299},{"style":226},[300],{"type":178,"value":301}," =",{"type":173,"tag":219,"props":303,"children":305},{"style":304},"--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF",[306],{"type":178,"value":307}," useUnwrap",{"type":173,"tag":219,"props":309,"children":310},{"style":288},[311],{"type":178,"value":312},"()\n",{"type":173,"tag":219,"props":314,"children":316},{"class":221,"line":315},3,[317],{"type":173,"tag":219,"props":318,"children":320},{"emptyLinePlaceholder":319},true,[321],{"type":178,"value":322},"\n",{"type":173,"tag":219,"props":324,"children":326},{"class":221,"line":325},4,[327,332,336],{"type":173,"tag":219,"props":328,"children":329},{"style":226},[330],{"type":178,"value":331},"\u003C/",{"type":173,"tag":219,"props":333,"children":334},{"style":232},[335],{"type":178,"value":235},{"type":173,"tag":219,"props":337,"children":338},{"style":226},[339],{"type":178,"value":271},{"type":173,"tag":219,"props":341,"children":343},{"class":221,"line":342},5,[344],{"type":173,"tag":219,"props":345,"children":346},{"emptyLinePlaceholder":319},[347],{"type":178,"value":322},{"type":173,"tag":219,"props":349,"children":351},{"class":221,"line":350},6,[352,356,361],{"type":173,"tag":219,"props":353,"children":354},{"style":226},[355],{"type":178,"value":229},{"type":173,"tag":219,"props":357,"children":358},{"style":232},[359],{"type":178,"value":360},"template",{"type":173,"tag":219,"props":362,"children":363},{"style":226},[364],{"type":178,"value":271},{"type":173,"tag":219,"props":366,"children":368},{"class":221,"line":367},7,[369,374,379],{"type":173,"tag":219,"props":370,"children":371},{"style":226},[372],{"type":178,"value":373},"  \u003C",{"type":173,"tag":219,"props":375,"children":376},{"style":232},[377],{"type":178,"value":378},"ul",{"type":173,"tag":219,"props":380,"children":381},{"style":226},[382],{"type":178,"value":271},{"type":173,"tag":219,"props":384,"children":386},{"class":221,"line":385},8,[387,392,397,403,407,411,416,421,426,431,436,441,445,450,455,460,465,470,474,478,483,487,492,497,501,505,509,513],{"type":173,"tag":219,"props":388,"children":389},{"style":226},[390],{"type":178,"value":391},"    \u003C",{"type":173,"tag":219,"props":393,"children":394},{"style":232},[395],{"type":178,"value":396},"li",{"type":173,"tag":219,"props":398,"children":400},{"style":399},"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF;--shiki-light-font-style:italic;--shiki-default-font-style:italic;--shiki-dark-font-style:italic",[401],{"type":178,"value":402}," v-for",{"type":173,"tag":219,"props":404,"children":405},{"style":226},[406],{"type":178,"value":251},{"type":173,"tag":219,"props":408,"children":409},{"style":226},[410],{"type":178,"value":256},{"type":173,"tag":219,"props":412,"children":413},{"style":226},[414],{"type":178,"value":415},"(",{"type":173,"tag":219,"props":417,"children":418},{"style":288},[419],{"type":178,"value":420},"item",{"type":173,"tag":219,"props":422,"children":423},{"style":226},[424],{"type":178,"value":425},", ",{"type":173,"tag":219,"props":427,"children":428},{"style":288},[429],{"type":178,"value":430},"index",{"type":173,"tag":219,"props":432,"children":433},{"style":226},[434],{"type":178,"value":435},") of ",{"type":173,"tag":219,"props":437,"children":438},{"style":304},[439],{"type":178,"value":440},"flatUnwrap",{"type":173,"tag":219,"props":442,"children":443},{"style":226},[444],{"type":178,"value":415},{"type":173,"tag":219,"props":446,"children":447},{"style":288},[448],{"type":178,"value":449},"$slots",{"type":173,"tag":219,"props":451,"children":452},{"style":226},[453],{"type":178,"value":454},".",{"type":173,"tag":219,"props":456,"children":457},{"style":304},[458],{"type":178,"value":459},"default",{"type":173,"tag":219,"props":461,"children":462},{"style":226},[463],{"type":178,"value":464},"!(), [",{"type":173,"tag":219,"props":466,"children":467},{"style":226},[468],{"type":178,"value":469},"'",{"type":173,"tag":219,"props":471,"children":472},{"style":259},[473],{"type":178,"value":378},{"type":173,"tag":219,"props":475,"children":476},{"style":226},[477],{"type":178,"value":469},{"type":173,"tag":219,"props":479,"children":480},{"style":226},[481],{"type":178,"value":482},"])",{"type":173,"tag":219,"props":484,"children":485},{"style":226},[486],{"type":178,"value":256},{"type":173,"tag":219,"props":488,"children":489},{"style":226},[490],{"type":178,"value":491}," :",{"type":173,"tag":219,"props":493,"children":494},{"style":238},[495],{"type":178,"value":496},"key",{"type":173,"tag":219,"props":498,"children":499},{"style":226},[500],{"type":178,"value":251},{"type":173,"tag":219,"props":502,"children":503},{"style":226},[504],{"type":178,"value":256},{"type":173,"tag":219,"props":506,"children":507},{"style":288},[508],{"type":178,"value":430},{"type":173,"tag":219,"props":510,"children":511},{"style":226},[512],{"type":178,"value":256},{"type":173,"tag":219,"props":514,"children":515},{"style":226},[516],{"type":178,"value":271},{"type":173,"tag":219,"props":518,"children":520},{"class":221,"line":519},9,[521],{"type":173,"tag":219,"props":522,"children":523},{"style":288},[524],{"type":178,"value":525},"      ☑︎\n",{"type":173,"tag":219,"props":527,"children":529},{"class":221,"line":528},10,[530,535,539,544,549,553,558,562,566,571,576,581,585,590,594,598,602,606,611,615],{"type":173,"tag":219,"props":531,"children":532},{"style":226},[533],{"type":178,"value":534},"      \u003C",{"type":173,"tag":219,"props":536,"children":537},{"style":232},[538],{"type":178,"value":219},{"type":173,"tag":219,"props":540,"children":541},{"style":226},[542],{"type":178,"value":543},">\u003C",{"type":173,"tag":219,"props":545,"children":546},{"style":232},[547],{"type":178,"value":548},"ContentSlot",{"type":173,"tag":219,"props":550,"children":551},{"style":226},[552],{"type":178,"value":491},{"type":173,"tag":219,"props":554,"children":555},{"style":238},[556],{"type":178,"value":557},"use",{"type":173,"tag":219,"props":559,"children":560},{"style":226},[561],{"type":178,"value":251},{"type":173,"tag":219,"props":563,"children":564},{"style":226},[565],{"type":178,"value":256},{"type":173,"tag":219,"props":567,"children":568},{"style":226},[569],{"type":178,"value":570},"() ",{"type":173,"tag":219,"props":572,"children":573},{"style":238},[574],{"type":178,"value":575},"=>",{"type":173,"tag":219,"props":577,"children":578},{"style":288},[579],{"type":178,"value":580}," item",{"type":173,"tag":219,"props":582,"children":583},{"style":226},[584],{"type":178,"value":256},{"type":173,"tag":219,"props":586,"children":587},{"style":238},[588],{"type":178,"value":589}," unwrap",{"type":173,"tag":219,"props":591,"children":592},{"style":226},[593],{"type":178,"value":251},{"type":173,"tag":219,"props":595,"children":596},{"style":226},[597],{"type":178,"value":256},{"type":173,"tag":219,"props":599,"children":600},{"style":259},[601],{"type":178,"value":396},{"type":173,"tag":219,"props":603,"children":604},{"style":226},[605],{"type":178,"value":256},{"type":173,"tag":219,"props":607,"children":608},{"style":226},[609],{"type":178,"value":610}," />\u003C/",{"type":173,"tag":219,"props":612,"children":613},{"style":232},[614],{"type":178,"value":219},{"type":173,"tag":219,"props":616,"children":617},{"style":226},[618],{"type":178,"value":271},{"type":173,"tag":219,"props":620,"children":622},{"class":221,"line":621},11,[623,628,632],{"type":173,"tag":219,"props":624,"children":625},{"style":226},[626],{"type":178,"value":627},"    \u003C/",{"type":173,"tag":219,"props":629,"children":630},{"style":232},[631],{"type":178,"value":396},{"type":173,"tag":219,"props":633,"children":634},{"style":226},[635],{"type":178,"value":271},{"type":173,"tag":219,"props":637,"children":639},{"class":221,"line":638},12,[640,645,649],{"type":173,"tag":219,"props":641,"children":642},{"style":226},[643],{"type":178,"value":644},"  \u003C/",{"type":173,"tag":219,"props":646,"children":647},{"style":232},[648],{"type":178,"value":378},{"type":173,"tag":219,"props":650,"children":651},{"style":226},[652],{"type":178,"value":271},{"type":173,"tag":219,"props":654,"children":656},{"class":221,"line":655},13,[657,661,665],{"type":173,"tag":219,"props":658,"children":659},{"style":226},[660],{"type":178,"value":331},{"type":173,"tag":219,"props":662,"children":663},{"style":232},[664],{"type":178,"value":360},{"type":173,"tag":219,"props":666,"children":667},{"style":226},[668],{"type":178,"value":271},{"type":173,"tag":670,"props":671,"children":672},"style",{},[673],{"type":178,"value":674},"html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"title":167,"searchDepth":274,"depth":274,"links":676},[],"markdown","content:3.composables:5.use-unwrap.md","content","3.composables/5.use-unwrap.md","md",[683,1848],{"_path":60,"_dir":165,"_draft":166,"_partial":166,"_locale":167,"title":59,"description":684,"body":685,"_type":677,"_id":1846,"_source":679,"_file":1847,"_extension":681},"Helpers to interact with the navigation object.",{"type":170,"children":686,"toc":1839},[687,693,831,842,852,857,862,1063,1073,1078,1083,1315,1325,1330,1335,1562,1572,1577,1590,1835],{"type":173,"tag":688,"props":689,"children":691},"h2",{"id":690},"usage",[692],{"type":178,"value":21},{"type":173,"tag":209,"props":694,"children":696},{"className":211,"code":695,"language":213,"meta":167,"style":167},"\u003Cscript setup lang=\"ts\">\nconst {\n  navBottomLink,\n  navDirFromPath,\n  navPageFromPath,\n  navKeyFromPath\n} = useContentHelpers()\n\u003C/script>\n",[697],{"type":173,"tag":186,"props":698,"children":699},{"__ignoreMap":167},[700,739,751,764,776,788,796,816],{"type":173,"tag":219,"props":701,"children":702},{"class":221,"line":222},[703,707,711,715,719,723,727,731,735],{"type":173,"tag":219,"props":704,"children":705},{"style":226},[706],{"type":178,"value":229},{"type":173,"tag":219,"props":708,"children":709},{"style":232},[710],{"type":178,"value":235},{"type":173,"tag":219,"props":712,"children":713},{"style":238},[714],{"type":178,"value":241},{"type":173,"tag":219,"props":716,"children":717},{"style":238},[718],{"type":178,"value":246},{"type":173,"tag":219,"props":720,"children":721},{"style":226},[722],{"type":178,"value":251},{"type":173,"tag":219,"props":724,"children":725},{"style":226},[726],{"type":178,"value":256},{"type":173,"tag":219,"props":728,"children":729},{"style":259},[730],{"type":178,"value":262},{"type":173,"tag":219,"props":732,"children":733},{"style":226},[734],{"type":178,"value":256},{"type":173,"tag":219,"props":736,"children":737},{"style":226},[738],{"type":178,"value":271},{"type":173,"tag":219,"props":740,"children":741},{"class":221,"line":274},[742,746],{"type":173,"tag":219,"props":743,"children":744},{"style":238},[745],{"type":178,"value":280},{"type":173,"tag":219,"props":747,"children":748},{"style":226},[749],{"type":178,"value":750}," {\n",{"type":173,"tag":219,"props":752,"children":753},{"class":221,"line":315},[754,759],{"type":173,"tag":219,"props":755,"children":756},{"style":288},[757],{"type":178,"value":758},"  navBottomLink",{"type":173,"tag":219,"props":760,"children":761},{"style":226},[762],{"type":178,"value":763},",\n",{"type":173,"tag":219,"props":765,"children":766},{"class":221,"line":325},[767,772],{"type":173,"tag":219,"props":768,"children":769},{"style":288},[770],{"type":178,"value":771},"  navDirFromPath",{"type":173,"tag":219,"props":773,"children":774},{"style":226},[775],{"type":178,"value":763},{"type":173,"tag":219,"props":777,"children":778},{"class":221,"line":342},[779,784],{"type":173,"tag":219,"props":780,"children":781},{"style":288},[782],{"type":178,"value":783},"  navPageFromPath",{"type":173,"tag":219,"props":785,"children":786},{"style":226},[787],{"type":178,"value":763},{"type":173,"tag":219,"props":789,"children":790},{"class":221,"line":350},[791],{"type":173,"tag":219,"props":792,"children":793},{"style":288},[794],{"type":178,"value":795},"  navKeyFromPath\n",{"type":173,"tag":219,"props":797,"children":798},{"class":221,"line":367},[799,803,807,812],{"type":173,"tag":219,"props":800,"children":801},{"style":226},[802],{"type":178,"value":296},{"type":173,"tag":219,"props":804,"children":805},{"style":226},[806],{"type":178,"value":301},{"type":173,"tag":219,"props":808,"children":809},{"style":304},[810],{"type":178,"value":811}," useContentHelpers",{"type":173,"tag":219,"props":813,"children":814},{"style":288},[815],{"type":178,"value":312},{"type":173,"tag":219,"props":817,"children":818},{"class":221,"line":385},[819,823,827],{"type":173,"tag":219,"props":820,"children":821},{"style":226},[822],{"type":178,"value":331},{"type":173,"tag":219,"props":824,"children":825},{"style":232},[826],{"type":178,"value":235},{"type":173,"tag":219,"props":828,"children":829},{"style":226},[830],{"type":178,"value":271},{"type":173,"tag":174,"props":832,"children":833},{},[834,836,841],{"type":178,"value":835},"Learn more about the ",{"type":173,"tag":181,"props":837,"children":838},{"href":54},[839],{"type":178,"value":840},"navigation object",{"type":178,"value":454},{"type":173,"tag":688,"props":843,"children":845},{"id":844},"navbottomlink",[846],{"type":173,"tag":186,"props":847,"children":849},{"className":848},[],[850],{"type":178,"value":851},"navBottomLink()",{"type":173,"tag":174,"props":853,"children":854},{},[855],{"type":178,"value":856},"Take a navigation node and will resolve the first available path from that node.",{"type":173,"tag":174,"props":858,"children":859},{},[860],{"type":178,"value":861},"It can be useful to build nested navigations systems.",{"type":173,"tag":209,"props":863,"children":865},{"className":211,"code":864,"language":213,"meta":167,"style":167},"\u003Cscript setup>\nconst { navBottomLink } = useContentHelpers()\nconst { data: navigation } = await useAsyncData('navigation', () => fetchContentNavigation())\n\nconst path = navBottomLink(navigation.value)\n\u003C/script>\n",[866],{"type":173,"tag":186,"props":867,"children":868},{"__ignoreMap":167},[869,888,920,1006,1013,1048],{"type":173,"tag":219,"props":870,"children":871},{"class":221,"line":222},[872,876,880,884],{"type":173,"tag":219,"props":873,"children":874},{"style":226},[875],{"type":178,"value":229},{"type":173,"tag":219,"props":877,"children":878},{"style":232},[879],{"type":178,"value":235},{"type":173,"tag":219,"props":881,"children":882},{"style":238},[883],{"type":178,"value":241},{"type":173,"tag":219,"props":885,"children":886},{"style":226},[887],{"type":178,"value":271},{"type":173,"tag":219,"props":889,"children":890},{"class":221,"line":274},[891,895,899,904,908,912,916],{"type":173,"tag":219,"props":892,"children":893},{"style":238},[894],{"type":178,"value":280},{"type":173,"tag":219,"props":896,"children":897},{"style":226},[898],{"type":178,"value":285},{"type":173,"tag":219,"props":900,"children":901},{"style":288},[902],{"type":178,"value":903}," navBottomLink ",{"type":173,"tag":219,"props":905,"children":906},{"style":226},[907],{"type":178,"value":296},{"type":173,"tag":219,"props":909,"children":910},{"style":226},[911],{"type":178,"value":301},{"type":173,"tag":219,"props":913,"children":914},{"style":304},[915],{"type":178,"value":811},{"type":173,"tag":219,"props":917,"children":918},{"style":288},[919],{"type":178,"value":312},{"type":173,"tag":219,"props":921,"children":922},{"class":221,"line":315},[923,927,931,936,941,946,950,954,959,964,968,972,977,981,986,991,996,1001],{"type":173,"tag":219,"props":924,"children":925},{"style":238},[926],{"type":178,"value":280},{"type":173,"tag":219,"props":928,"children":929},{"style":226},[930],{"type":178,"value":285},{"type":173,"tag":219,"props":932,"children":933},{"style":232},[934],{"type":178,"value":935}," data",{"type":173,"tag":219,"props":937,"children":938},{"style":226},[939],{"type":178,"value":940},":",{"type":173,"tag":219,"props":942,"children":943},{"style":288},[944],{"type":178,"value":945}," navigation ",{"type":173,"tag":219,"props":947,"children":948},{"style":226},[949],{"type":178,"value":296},{"type":173,"tag":219,"props":951,"children":952},{"style":226},[953],{"type":178,"value":301},{"type":173,"tag":219,"props":955,"children":956},{"style":399},[957],{"type":178,"value":958}," await",{"type":173,"tag":219,"props":960,"children":961},{"style":304},[962],{"type":178,"value":963}," useAsyncData",{"type":173,"tag":219,"props":965,"children":966},{"style":288},[967],{"type":178,"value":415},{"type":173,"tag":219,"props":969,"children":970},{"style":226},[971],{"type":178,"value":469},{"type":173,"tag":219,"props":973,"children":974},{"style":259},[975],{"type":178,"value":976},"navigation",{"type":173,"tag":219,"props":978,"children":979},{"style":226},[980],{"type":178,"value":469},{"type":173,"tag":219,"props":982,"children":983},{"style":226},[984],{"type":178,"value":985},",",{"type":173,"tag":219,"props":987,"children":988},{"style":226},[989],{"type":178,"value":990}," ()",{"type":173,"tag":219,"props":992,"children":993},{"style":238},[994],{"type":178,"value":995}," =>",{"type":173,"tag":219,"props":997,"children":998},{"style":304},[999],{"type":178,"value":1000}," fetchContentNavigation",{"type":173,"tag":219,"props":1002,"children":1003},{"style":288},[1004],{"type":178,"value":1005},"())\n",{"type":173,"tag":219,"props":1007,"children":1008},{"class":221,"line":325},[1009],{"type":173,"tag":219,"props":1010,"children":1011},{"emptyLinePlaceholder":319},[1012],{"type":178,"value":322},{"type":173,"tag":219,"props":1014,"children":1015},{"class":221,"line":342},[1016,1020,1025,1029,1034,1039,1043],{"type":173,"tag":219,"props":1017,"children":1018},{"style":238},[1019],{"type":178,"value":280},{"type":173,"tag":219,"props":1021,"children":1022},{"style":288},[1023],{"type":178,"value":1024}," path ",{"type":173,"tag":219,"props":1026,"children":1027},{"style":226},[1028],{"type":178,"value":251},{"type":173,"tag":219,"props":1030,"children":1031},{"style":304},[1032],{"type":178,"value":1033}," navBottomLink",{"type":173,"tag":219,"props":1035,"children":1036},{"style":288},[1037],{"type":178,"value":1038},"(navigation",{"type":173,"tag":219,"props":1040,"children":1041},{"style":226},[1042],{"type":178,"value":454},{"type":173,"tag":219,"props":1044,"children":1045},{"style":288},[1046],{"type":178,"value":1047},"value)\n",{"type":173,"tag":219,"props":1049,"children":1050},{"class":221,"line":350},[1051,1055,1059],{"type":173,"tag":219,"props":1052,"children":1053},{"style":226},[1054],{"type":178,"value":331},{"type":173,"tag":219,"props":1056,"children":1057},{"style":232},[1058],{"type":178,"value":235},{"type":173,"tag":219,"props":1060,"children":1061},{"style":226},[1062],{"type":178,"value":271},{"type":173,"tag":688,"props":1064,"children":1066},{"id":1065},"navdirfrompath",[1067],{"type":173,"tag":186,"props":1068,"children":1070},{"className":1069},[],[1071],{"type":178,"value":1072},"navDirFromPath()",{"type":173,"tag":174,"props":1074,"children":1075},{},[1076],{"type":178,"value":1077},"This function will take a path and will resolve the first available navigation node from that path.",{"type":173,"tag":174,"props":1079,"children":1080},{},[1081],{"type":178,"value":1082},"It can be useful to find the current directory of a navigation node.",{"type":173,"tag":209,"props":1084,"children":1086},{"className":211,"code":1085,"language":213,"meta":167,"style":167},"\u003Cscript setup>\nconst route = useRoute()\nconst { navDirFromPath } = useContentHelpers()\nconst { data: navigation } = await useAsyncData('navigation', () => fetchContentNavigation())\n\nconst dir = navDirFromPath(route.path, navigation.value)\n\u003C/script>\n",[1087],{"type":173,"tag":186,"props":1088,"children":1089},{"__ignoreMap":167},[1090,1109,1134,1166,1241,1248,1300],{"type":173,"tag":219,"props":1091,"children":1092},{"class":221,"line":222},[1093,1097,1101,1105],{"type":173,"tag":219,"props":1094,"children":1095},{"style":226},[1096],{"type":178,"value":229},{"type":173,"tag":219,"props":1098,"children":1099},{"style":232},[1100],{"type":178,"value":235},{"type":173,"tag":219,"props":1102,"children":1103},{"style":238},[1104],{"type":178,"value":241},{"type":173,"tag":219,"props":1106,"children":1107},{"style":226},[1108],{"type":178,"value":271},{"type":173,"tag":219,"props":1110,"children":1111},{"class":221,"line":274},[1112,1116,1121,1125,1130],{"type":173,"tag":219,"props":1113,"children":1114},{"style":238},[1115],{"type":178,"value":280},{"type":173,"tag":219,"props":1117,"children":1118},{"style":288},[1119],{"type":178,"value":1120}," route ",{"type":173,"tag":219,"props":1122,"children":1123},{"style":226},[1124],{"type":178,"value":251},{"type":173,"tag":219,"props":1126,"children":1127},{"style":304},[1128],{"type":178,"value":1129}," useRoute",{"type":173,"tag":219,"props":1131,"children":1132},{"style":288},[1133],{"type":178,"value":312},{"type":173,"tag":219,"props":1135,"children":1136},{"class":221,"line":315},[1137,1141,1145,1150,1154,1158,1162],{"type":173,"tag":219,"props":1138,"children":1139},{"style":238},[1140],{"type":178,"value":280},{"type":173,"tag":219,"props":1142,"children":1143},{"style":226},[1144],{"type":178,"value":285},{"type":173,"tag":219,"props":1146,"children":1147},{"style":288},[1148],{"type":178,"value":1149}," navDirFromPath ",{"type":173,"tag":219,"props":1151,"children":1152},{"style":226},[1153],{"type":178,"value":296},{"type":173,"tag":219,"props":1155,"children":1156},{"style":226},[1157],{"type":178,"value":301},{"type":173,"tag":219,"props":1159,"children":1160},{"style":304},[1161],{"type":178,"value":811},{"type":173,"tag":219,"props":1163,"children":1164},{"style":288},[1165],{"type":178,"value":312},{"type":173,"tag":219,"props":1167,"children":1168},{"class":221,"line":325},[1169,1173,1177,1181,1185,1189,1193,1197,1201,1205,1209,1213,1217,1221,1225,1229,1233,1237],{"type":173,"tag":219,"props":1170,"children":1171},{"style":238},[1172],{"type":178,"value":280},{"type":173,"tag":219,"props":1174,"children":1175},{"style":226},[1176],{"type":178,"value":285},{"type":173,"tag":219,"props":1178,"children":1179},{"style":232},[1180],{"type":178,"value":935},{"type":173,"tag":219,"props":1182,"children":1183},{"style":226},[1184],{"type":178,"value":940},{"type":173,"tag":219,"props":1186,"children":1187},{"style":288},[1188],{"type":178,"value":945},{"type":173,"tag":219,"props":1190,"children":1191},{"style":226},[1192],{"type":178,"value":296},{"type":173,"tag":219,"props":1194,"children":1195},{"style":226},[1196],{"type":178,"value":301},{"type":173,"tag":219,"props":1198,"children":1199},{"style":399},[1200],{"type":178,"value":958},{"type":173,"tag":219,"props":1202,"children":1203},{"style":304},[1204],{"type":178,"value":963},{"type":173,"tag":219,"props":1206,"children":1207},{"style":288},[1208],{"type":178,"value":415},{"type":173,"tag":219,"props":1210,"children":1211},{"style":226},[1212],{"type":178,"value":469},{"type":173,"tag":219,"props":1214,"children":1215},{"style":259},[1216],{"type":178,"value":976},{"type":173,"tag":219,"props":1218,"children":1219},{"style":226},[1220],{"type":178,"value":469},{"type":173,"tag":219,"props":1222,"children":1223},{"style":226},[1224],{"type":178,"value":985},{"type":173,"tag":219,"props":1226,"children":1227},{"style":226},[1228],{"type":178,"value":990},{"type":173,"tag":219,"props":1230,"children":1231},{"style":238},[1232],{"type":178,"value":995},{"type":173,"tag":219,"props":1234,"children":1235},{"style":304},[1236],{"type":178,"value":1000},{"type":173,"tag":219,"props":1238,"children":1239},{"style":288},[1240],{"type":178,"value":1005},{"type":173,"tag":219,"props":1242,"children":1243},{"class":221,"line":342},[1244],{"type":173,"tag":219,"props":1245,"children":1246},{"emptyLinePlaceholder":319},[1247],{"type":178,"value":322},{"type":173,"tag":219,"props":1249,"children":1250},{"class":221,"line":350},[1251,1255,1260,1264,1269,1274,1278,1283,1287,1292,1296],{"type":173,"tag":219,"props":1252,"children":1253},{"style":238},[1254],{"type":178,"value":280},{"type":173,"tag":219,"props":1256,"children":1257},{"style":288},[1258],{"type":178,"value":1259}," dir ",{"type":173,"tag":219,"props":1261,"children":1262},{"style":226},[1263],{"type":178,"value":251},{"type":173,"tag":219,"props":1265,"children":1266},{"style":304},[1267],{"type":178,"value":1268}," navDirFromPath",{"type":173,"tag":219,"props":1270,"children":1271},{"style":288},[1272],{"type":178,"value":1273},"(route",{"type":173,"tag":219,"props":1275,"children":1276},{"style":226},[1277],{"type":178,"value":454},{"type":173,"tag":219,"props":1279,"children":1280},{"style":288},[1281],{"type":178,"value":1282},"path",{"type":173,"tag":219,"props":1284,"children":1285},{"style":226},[1286],{"type":178,"value":985},{"type":173,"tag":219,"props":1288,"children":1289},{"style":288},[1290],{"type":178,"value":1291}," navigation",{"type":173,"tag":219,"props":1293,"children":1294},{"style":226},[1295],{"type":178,"value":454},{"type":173,"tag":219,"props":1297,"children":1298},{"style":288},[1299],{"type":178,"value":1047},{"type":173,"tag":219,"props":1301,"children":1302},{"class":221,"line":367},[1303,1307,1311],{"type":173,"tag":219,"props":1304,"children":1305},{"style":226},[1306],{"type":178,"value":331},{"type":173,"tag":219,"props":1308,"children":1309},{"style":232},[1310],{"type":178,"value":235},{"type":173,"tag":219,"props":1312,"children":1313},{"style":226},[1314],{"type":178,"value":271},{"type":173,"tag":688,"props":1316,"children":1318},{"id":1317},"navpagefrompath",[1319],{"type":173,"tag":186,"props":1320,"children":1322},{"className":1321},[],[1323],{"type":178,"value":1324},"navPageFromPath()",{"type":173,"tag":174,"props":1326,"children":1327},{},[1328],{"type":178,"value":1329},"This function will take a path and will resolve the first available navigation page from that path.",{"type":173,"tag":174,"props":1331,"children":1332},{},[1333],{"type":178,"value":1334},"It can be useful to find the current navigation node the page you're browsing.",{"type":173,"tag":209,"props":1336,"children":1338},{"className":211,"code":1337,"language":213,"meta":167,"style":167},"\u003Cscript setup>\nconst route = useRoute()\nconst { navPageFromPath } = useContentHelpers()\nconst { data: navigation } = await useAsyncData('navigation', () => fetchContentNavigation())\n\nconst page = navPageFromPath(route.path, navigation.value)\n\u003C/script>\n",[1339],{"type":173,"tag":186,"props":1340,"children":1341},{"__ignoreMap":167},[1342,1361,1384,1416,1491,1498,1547],{"type":173,"tag":219,"props":1343,"children":1344},{"class":221,"line":222},[1345,1349,1353,1357],{"type":173,"tag":219,"props":1346,"children":1347},{"style":226},[1348],{"type":178,"value":229},{"type":173,"tag":219,"props":1350,"children":1351},{"style":232},[1352],{"type":178,"value":235},{"type":173,"tag":219,"props":1354,"children":1355},{"style":238},[1356],{"type":178,"value":241},{"type":173,"tag":219,"props":1358,"children":1359},{"style":226},[1360],{"type":178,"value":271},{"type":173,"tag":219,"props":1362,"children":1363},{"class":221,"line":274},[1364,1368,1372,1376,1380],{"type":173,"tag":219,"props":1365,"children":1366},{"style":238},[1367],{"type":178,"value":280},{"type":173,"tag":219,"props":1369,"children":1370},{"style":288},[1371],{"type":178,"value":1120},{"type":173,"tag":219,"props":1373,"children":1374},{"style":226},[1375],{"type":178,"value":251},{"type":173,"tag":219,"props":1377,"children":1378},{"style":304},[1379],{"type":178,"value":1129},{"type":173,"tag":219,"props":1381,"children":1382},{"style":288},[1383],{"type":178,"value":312},{"type":173,"tag":219,"props":1385,"children":1386},{"class":221,"line":315},[1387,1391,1395,1400,1404,1408,1412],{"type":173,"tag":219,"props":1388,"children":1389},{"style":238},[1390],{"type":178,"value":280},{"type":173,"tag":219,"props":1392,"children":1393},{"style":226},[1394],{"type":178,"value":285},{"type":173,"tag":219,"props":1396,"children":1397},{"style":288},[1398],{"type":178,"value":1399}," navPageFromPath ",{"type":173,"tag":219,"props":1401,"children":1402},{"style":226},[1403],{"type":178,"value":296},{"type":173,"tag":219,"props":1405,"children":1406},{"style":226},[1407],{"type":178,"value":301},{"type":173,"tag":219,"props":1409,"children":1410},{"style":304},[1411],{"type":178,"value":811},{"type":173,"tag":219,"props":1413,"children":1414},{"style":288},[1415],{"type":178,"value":312},{"type":173,"tag":219,"props":1417,"children":1418},{"class":221,"line":325},[1419,1423,1427,1431,1435,1439,1443,1447,1451,1455,1459,1463,1467,1471,1475,1479,1483,1487],{"type":173,"tag":219,"props":1420,"children":1421},{"style":238},[1422],{"type":178,"value":280},{"type":173,"tag":219,"props":1424,"children":1425},{"style":226},[1426],{"type":178,"value":285},{"type":173,"tag":219,"props":1428,"children":1429},{"style":232},[1430],{"type":178,"value":935},{"type":173,"tag":219,"props":1432,"children":1433},{"style":226},[1434],{"type":178,"value":940},{"type":173,"tag":219,"props":1436,"children":1437},{"style":288},[1438],{"type":178,"value":945},{"type":173,"tag":219,"props":1440,"children":1441},{"style":226},[1442],{"type":178,"value":296},{"type":173,"tag":219,"props":1444,"children":1445},{"style":226},[1446],{"type":178,"value":301},{"type":173,"tag":219,"props":1448,"children":1449},{"style":399},[1450],{"type":178,"value":958},{"type":173,"tag":219,"props":1452,"children":1453},{"style":304},[1454],{"type":178,"value":963},{"type":173,"tag":219,"props":1456,"children":1457},{"style":288},[1458],{"type":178,"value":415},{"type":173,"tag":219,"props":1460,"children":1461},{"style":226},[1462],{"type":178,"value":469},{"type":173,"tag":219,"props":1464,"children":1465},{"style":259},[1466],{"type":178,"value":976},{"type":173,"tag":219,"props":1468,"children":1469},{"style":226},[1470],{"type":178,"value":469},{"type":173,"tag":219,"props":1472,"children":1473},{"style":226},[1474],{"type":178,"value":985},{"type":173,"tag":219,"props":1476,"children":1477},{"style":226},[1478],{"type":178,"value":990},{"type":173,"tag":219,"props":1480,"children":1481},{"style":238},[1482],{"type":178,"value":995},{"type":173,"tag":219,"props":1484,"children":1485},{"style":304},[1486],{"type":178,"value":1000},{"type":173,"tag":219,"props":1488,"children":1489},{"style":288},[1490],{"type":178,"value":1005},{"type":173,"tag":219,"props":1492,"children":1493},{"class":221,"line":342},[1494],{"type":173,"tag":219,"props":1495,"children":1496},{"emptyLinePlaceholder":319},[1497],{"type":178,"value":322},{"type":173,"tag":219,"props":1499,"children":1500},{"class":221,"line":350},[1501,1505,1510,1514,1519,1523,1527,1531,1535,1539,1543],{"type":173,"tag":219,"props":1502,"children":1503},{"style":238},[1504],{"type":178,"value":280},{"type":173,"tag":219,"props":1506,"children":1507},{"style":288},[1508],{"type":178,"value":1509}," page ",{"type":173,"tag":219,"props":1511,"children":1512},{"style":226},[1513],{"type":178,"value":251},{"type":173,"tag":219,"props":1515,"children":1516},{"style":304},[1517],{"type":178,"value":1518}," navPageFromPath",{"type":173,"tag":219,"props":1520,"children":1521},{"style":288},[1522],{"type":178,"value":1273},{"type":173,"tag":219,"props":1524,"children":1525},{"style":226},[1526],{"type":178,"value":454},{"type":173,"tag":219,"props":1528,"children":1529},{"style":288},[1530],{"type":178,"value":1282},{"type":173,"tag":219,"props":1532,"children":1533},{"style":226},[1534],{"type":178,"value":985},{"type":173,"tag":219,"props":1536,"children":1537},{"style":288},[1538],{"type":178,"value":1291},{"type":173,"tag":219,"props":1540,"children":1541},{"style":226},[1542],{"type":178,"value":454},{"type":173,"tag":219,"props":1544,"children":1545},{"style":288},[1546],{"type":178,"value":1047},{"type":173,"tag":219,"props":1548,"children":1549},{"class":221,"line":367},[1550,1554,1558],{"type":173,"tag":219,"props":1551,"children":1552},{"style":226},[1553],{"type":178,"value":331},{"type":173,"tag":219,"props":1555,"children":1556},{"style":232},[1557],{"type":178,"value":235},{"type":173,"tag":219,"props":1559,"children":1560},{"style":226},[1561],{"type":178,"value":271},{"type":173,"tag":688,"props":1563,"children":1565},{"id":1564},"navkeyfrompath",[1566],{"type":173,"tag":186,"props":1567,"children":1569},{"className":1568},[],[1570],{"type":178,"value":1571},"navKeyFromPath()",{"type":173,"tag":174,"props":1573,"children":1574},{},[1575],{"type":178,"value":1576},"This function will take a path and will resolve a specific key from that path.",{"type":173,"tag":174,"props":1578,"children":1579},{},[1580,1582,1588],{"type":178,"value":1581},"It can be useful when you want to add a fallback on the ",{"type":173,"tag":186,"props":1583,"children":1585},{"className":1584},[],[1586],{"type":178,"value":1587},"_dir.yml",{"type":178,"value":1589}," value of a key in a page.",{"type":173,"tag":209,"props":1591,"children":1593},{"className":211,"code":1592,"language":213,"meta":167,"style":167},"\u003Cscript setup>\nconst route = useRoute()\nconst { navKeyFromPath } = useContentHelpers()\nconst { data: navigation } = await useAsyncData('navigation', () => fetchContentNavigation())\n\nconst layout = navKeyFromPath(route.path, 'layout', navigation.value)\n\u003C/script>\n",[1594],{"type":173,"tag":186,"props":1595,"children":1596},{"__ignoreMap":167},[1597,1616,1639,1671,1746,1753,1820],{"type":173,"tag":219,"props":1598,"children":1599},{"class":221,"line":222},[1600,1604,1608,1612],{"type":173,"tag":219,"props":1601,"children":1602},{"style":226},[1603],{"type":178,"value":229},{"type":173,"tag":219,"props":1605,"children":1606},{"style":232},[1607],{"type":178,"value":235},{"type":173,"tag":219,"props":1609,"children":1610},{"style":238},[1611],{"type":178,"value":241},{"type":173,"tag":219,"props":1613,"children":1614},{"style":226},[1615],{"type":178,"value":271},{"type":173,"tag":219,"props":1617,"children":1618},{"class":221,"line":274},[1619,1623,1627,1631,1635],{"type":173,"tag":219,"props":1620,"children":1621},{"style":238},[1622],{"type":178,"value":280},{"type":173,"tag":219,"props":1624,"children":1625},{"style":288},[1626],{"type":178,"value":1120},{"type":173,"tag":219,"props":1628,"children":1629},{"style":226},[1630],{"type":178,"value":251},{"type":173,"tag":219,"props":1632,"children":1633},{"style":304},[1634],{"type":178,"value":1129},{"type":173,"tag":219,"props":1636,"children":1637},{"style":288},[1638],{"type":178,"value":312},{"type":173,"tag":219,"props":1640,"children":1641},{"class":221,"line":315},[1642,1646,1650,1655,1659,1663,1667],{"type":173,"tag":219,"props":1643,"children":1644},{"style":238},[1645],{"type":178,"value":280},{"type":173,"tag":219,"props":1647,"children":1648},{"style":226},[1649],{"type":178,"value":285},{"type":173,"tag":219,"props":1651,"children":1652},{"style":288},[1653],{"type":178,"value":1654}," navKeyFromPath ",{"type":173,"tag":219,"props":1656,"children":1657},{"style":226},[1658],{"type":178,"value":296},{"type":173,"tag":219,"props":1660,"children":1661},{"style":226},[1662],{"type":178,"value":301},{"type":173,"tag":219,"props":1664,"children":1665},{"style":304},[1666],{"type":178,"value":811},{"type":173,"tag":219,"props":1668,"children":1669},{"style":288},[1670],{"type":178,"value":312},{"type":173,"tag":219,"props":1672,"children":1673},{"class":221,"line":325},[1674,1678,1682,1686,1690,1694,1698,1702,1706,1710,1714,1718,1722,1726,1730,1734,1738,1742],{"type":173,"tag":219,"props":1675,"children":1676},{"style":238},[1677],{"type":178,"value":280},{"type":173,"tag":219,"props":1679,"children":1680},{"style":226},[1681],{"type":178,"value":285},{"type":173,"tag":219,"props":1683,"children":1684},{"style":232},[1685],{"type":178,"value":935},{"type":173,"tag":219,"props":1687,"children":1688},{"style":226},[1689],{"type":178,"value":940},{"type":173,"tag":219,"props":1691,"children":1692},{"style":288},[1693],{"type":178,"value":945},{"type":173,"tag":219,"props":1695,"children":1696},{"style":226},[1697],{"type":178,"value":296},{"type":173,"tag":219,"props":1699,"children":1700},{"style":226},[1701],{"type":178,"value":301},{"type":173,"tag":219,"props":1703,"children":1704},{"style":399},[1705],{"type":178,"value":958},{"type":173,"tag":219,"props":1707,"children":1708},{"style":304},[1709],{"type":178,"value":963},{"type":173,"tag":219,"props":1711,"children":1712},{"style":288},[1713],{"type":178,"value":415},{"type":173,"tag":219,"props":1715,"children":1716},{"style":226},[1717],{"type":178,"value":469},{"type":173,"tag":219,"props":1719,"children":1720},{"style":259},[1721],{"type":178,"value":976},{"type":173,"tag":219,"props":1723,"children":1724},{"style":226},[1725],{"type":178,"value":469},{"type":173,"tag":219,"props":1727,"children":1728},{"style":226},[1729],{"type":178,"value":985},{"type":173,"tag":219,"props":1731,"children":1732},{"style":226},[1733],{"type":178,"value":990},{"type":173,"tag":219,"props":1735,"children":1736},{"style":238},[1737],{"type":178,"value":995},{"type":173,"tag":219,"props":1739,"children":1740},{"style":304},[1741],{"type":178,"value":1000},{"type":173,"tag":219,"props":1743,"children":1744},{"style":288},[1745],{"type":178,"value":1005},{"type":173,"tag":219,"props":1747,"children":1748},{"class":221,"line":342},[1749],{"type":173,"tag":219,"props":1750,"children":1751},{"emptyLinePlaceholder":319},[1752],{"type":178,"value":322},{"type":173,"tag":219,"props":1754,"children":1755},{"class":221,"line":350},[1756,1760,1765,1769,1774,1778,1782,1786,1790,1795,1800,1804,1808,1812,1816],{"type":173,"tag":219,"props":1757,"children":1758},{"style":238},[1759],{"type":178,"value":280},{"type":173,"tag":219,"props":1761,"children":1762},{"style":288},[1763],{"type":178,"value":1764}," layout ",{"type":173,"tag":219,"props":1766,"children":1767},{"style":226},[1768],{"type":178,"value":251},{"type":173,"tag":219,"props":1770,"children":1771},{"style":304},[1772],{"type":178,"value":1773}," navKeyFromPath",{"type":173,"tag":219,"props":1775,"children":1776},{"style":288},[1777],{"type":178,"value":1273},{"type":173,"tag":219,"props":1779,"children":1780},{"style":226},[1781],{"type":178,"value":454},{"type":173,"tag":219,"props":1783,"children":1784},{"style":288},[1785],{"type":178,"value":1282},{"type":173,"tag":219,"props":1787,"children":1788},{"style":226},[1789],{"type":178,"value":985},{"type":173,"tag":219,"props":1791,"children":1792},{"style":226},[1793],{"type":178,"value":1794}," '",{"type":173,"tag":219,"props":1796,"children":1797},{"style":259},[1798],{"type":178,"value":1799},"layout",{"type":173,"tag":219,"props":1801,"children":1802},{"style":226},[1803],{"type":178,"value":469},{"type":173,"tag":219,"props":1805,"children":1806},{"style":226},[1807],{"type":178,"value":985},{"type":173,"tag":219,"props":1809,"children":1810},{"style":288},[1811],{"type":178,"value":1291},{"type":173,"tag":219,"props":1813,"children":1814},{"style":226},[1815],{"type":178,"value":454},{"type":173,"tag":219,"props":1817,"children":1818},{"style":288},[1819],{"type":178,"value":1047},{"type":173,"tag":219,"props":1821,"children":1822},{"class":221,"line":367},[1823,1827,1831],{"type":173,"tag":219,"props":1824,"children":1825},{"style":226},[1826],{"type":178,"value":331},{"type":173,"tag":219,"props":1828,"children":1829},{"style":232},[1830],{"type":178,"value":235},{"type":173,"tag":219,"props":1832,"children":1833},{"style":226},[1834],{"type":178,"value":271},{"type":173,"tag":670,"props":1836,"children":1837},{},[1838],{"type":178,"value":674},{"title":167,"searchDepth":274,"depth":274,"links":1840},[1841,1842,1843,1844,1845],{"id":690,"depth":274,"text":21},{"id":844,"depth":274,"text":851},{"id":1065,"depth":274,"text":1072},{"id":1317,"depth":274,"text":1324},{"id":1564,"depth":274,"text":1571},"content:3.composables:4.use-content-helpers.md","3.composables/4.use-content-helpers.md",{"_path":66,"_dir":165,"_draft":166,"_partial":166,"_locale":167,"title":65,"description":167,"body":1849,"_type":677,"_id":2347,"_source":679,"_file":2348,"_extension":681},{"type":170,"children":1850,"toc":2342},[1851,1874,1886,1955,1961,1963,2146,2152,2165,2282,2295,2304,2310,2338],{"type":173,"tag":1852,"props":1853,"children":1855},"callout",{"type":1854},"warning",[1856],{"type":173,"tag":174,"props":1857,"children":1858},{},[1859,1861,1873],{"type":178,"value":1860},"This is an experimental feature, opt-in with the ",{"type":173,"tag":181,"props":1862,"children":1864},{"href":1863},"/get-started/configuration#search",[1865,1871],{"type":173,"tag":186,"props":1866,"children":1868},{"className":1867},[],[1869],{"type":178,"value":1870},"experimental.search",{"type":178,"value":1872}," option",{"type":178,"value":454},{"type":173,"tag":174,"props":1875,"children":1876},{},[1877,1879,1884],{"type":178,"value":1878},"Used to search in your ",{"type":173,"tag":186,"props":1880,"children":1882},{"className":1881},[],[1883],{"type":178,"value":679},{"type":178,"value":1885}," directory.",{"type":173,"tag":209,"props":1887,"children":1890},{"className":1888,"code":1889,"language":262,"meta":167,"style":167},"language-ts shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","const input = ref('')\nconst results = searchContent(input)\n",[1891],{"type":173,"tag":186,"props":1892,"children":1893},{"__ignoreMap":167},[1894,1929],{"type":173,"tag":219,"props":1895,"children":1896},{"class":221,"line":222},[1897,1901,1906,1910,1915,1919,1924],{"type":173,"tag":219,"props":1898,"children":1899},{"style":238},[1900],{"type":178,"value":280},{"type":173,"tag":219,"props":1902,"children":1903},{"style":288},[1904],{"type":178,"value":1905}," input ",{"type":173,"tag":219,"props":1907,"children":1908},{"style":226},[1909],{"type":178,"value":251},{"type":173,"tag":219,"props":1911,"children":1912},{"style":304},[1913],{"type":178,"value":1914}," ref",{"type":173,"tag":219,"props":1916,"children":1917},{"style":288},[1918],{"type":178,"value":415},{"type":173,"tag":219,"props":1920,"children":1921},{"style":226},[1922],{"type":178,"value":1923},"''",{"type":173,"tag":219,"props":1925,"children":1926},{"style":288},[1927],{"type":178,"value":1928},")\n",{"type":173,"tag":219,"props":1930,"children":1931},{"class":221,"line":274},[1932,1936,1941,1945,1950],{"type":173,"tag":219,"props":1933,"children":1934},{"style":238},[1935],{"type":178,"value":280},{"type":173,"tag":219,"props":1937,"children":1938},{"style":288},[1939],{"type":178,"value":1940}," results ",{"type":173,"tag":219,"props":1942,"children":1943},{"style":226},[1944],{"type":178,"value":251},{"type":173,"tag":219,"props":1946,"children":1947},{"style":304},[1948],{"type":178,"value":1949}," searchContent",{"type":173,"tag":219,"props":1951,"children":1952},{"style":288},[1953],{"type":178,"value":1954},"(input)\n",{"type":173,"tag":688,"props":1956,"children":1958},{"id":1957},"parameters",[1959],{"type":178,"value":1960},"Parameters",{"type":178,"value":1962},"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",{"type":173,"tag":1964,"props":1965,"children":1966},"table",{},[1967,1997],{"type":173,"tag":1968,"props":1969,"children":1970},"thead",{},[1971],{"type":173,"tag":1972,"props":1973,"children":1974},"tr",{},[1975,1981,1987,1992],{"type":173,"tag":1976,"props":1977,"children":1978},"th",{},[1979],{"type":178,"value":1980},"Key",{"type":173,"tag":1976,"props":1982,"children":1984},{"align":1983},"center",[1985],{"type":178,"value":1986},"Type",{"type":173,"tag":1976,"props":1988,"children":1989},{},[1990],{"type":178,"value":1991},"Default",{"type":173,"tag":1976,"props":1993,"children":1994},{},[1995],{"type":178,"value":1996},"Description",{"type":173,"tag":1998,"props":1999,"children":2000},"tbody",{},[2001,2031,2066,2107],{"type":173,"tag":1972,"props":2002,"children":2003},{},[2004,2014,2023,2026],{"type":173,"tag":2005,"props":2006,"children":2007},"td",{},[2008],{"type":173,"tag":186,"props":2009,"children":2011},{"className":2010},[],[2012],{"type":178,"value":2013},"search",{"type":173,"tag":2005,"props":2015,"children":2016},{"align":1983},[2017],{"type":173,"tag":186,"props":2018,"children":2020},{"className":2019},[],[2021],{"type":178,"value":2022},"MaybeRefOrGetter\u003Cstring>",{"type":173,"tag":2005,"props":2024,"children":2025},{},[],{"type":173,"tag":2005,"props":2027,"children":2028},{},[2029],{"type":178,"value":2030},"The search input",{"type":173,"tag":1972,"props":2032,"children":2033},{},[2034,2043,2052,2061],{"type":173,"tag":2005,"props":2035,"children":2036},{},[2037],{"type":173,"tag":186,"props":2038,"children":2040},{"className":2039},[],[2041],{"type":178,"value":2042},"options",{"type":173,"tag":2005,"props":2044,"children":2045},{"align":1983},[2046],{"type":173,"tag":186,"props":2047,"children":2049},{"className":2048},[],[2050],{"type":178,"value":2051},"SearchContentOptions",{"type":173,"tag":2005,"props":2053,"children":2054},{},[2055],{"type":173,"tag":186,"props":2056,"children":2058},{"className":2057},[],[2059],{"type":178,"value":2060},"{}",{"type":173,"tag":2005,"props":2062,"children":2063},{},[2064],{"type":178,"value":2065},"The options",{"type":173,"tag":1972,"props":2067,"children":2068},{},[2069,2078,2087,2090],{"type":173,"tag":2005,"props":2070,"children":2071},{},[2072],{"type":173,"tag":186,"props":2073,"children":2075},{"className":2074},[],[2076],{"type":178,"value":2077},"options.miniSearch",{"type":173,"tag":2005,"props":2079,"children":2080},{"align":1983},[2081],{"type":173,"tag":186,"props":2082,"children":2084},{"className":2083},[],[2085],{"type":178,"value":2086},"MaybeRefOrGetter\u003CMiniSearchOptions\u003CT>>",{"type":173,"tag":2005,"props":2088,"children":2089},{},[],{"type":173,"tag":2005,"props":2091,"children":2092},{},[2093,2095],{"type":178,"value":2094},"The options passed to ",{"type":173,"tag":181,"props":2096,"children":2100},{"href":2097,"rel":2098},"https://lucaong.github.io/minisearch/",[2099],"nofollow",[2101],{"type":173,"tag":186,"props":2102,"children":2104},{"className":2103},[],[2105],{"type":178,"value":2106},"miniSearch",{"type":173,"tag":1972,"props":2108,"children":2109},{},[2110,2119,2128,2131],{"type":173,"tag":2005,"props":2111,"children":2112},{},[2113],{"type":173,"tag":186,"props":2114,"children":2116},{"className":2115},[],[2117],{"type":178,"value":2118},"options.fetch",{"type":173,"tag":2005,"props":2120,"children":2121},{"align":1983},[2122],{"type":173,"tag":186,"props":2123,"children":2125},{"className":2124},[],[2126],{"type":178,"value":2127},"MaybeRefOrGetter\u003CUseFetchOptions\u003Cstring | T>>",{"type":173,"tag":2005,"props":2129,"children":2130},{},[],{"type":173,"tag":2005,"props":2132,"children":2133},{},[2134,2135],{"type":178,"value":2094},{"type":173,"tag":181,"props":2136,"children":2139},{"href":2137,"rel":2138},"https://nuxt.com/docs/api/composables/use-fetch#usefetch",[2099],[2140],{"type":173,"tag":186,"props":2141,"children":2143},{"className":2142},[],[2144],{"type":178,"value":2145},"useFetch",{"type":173,"tag":688,"props":2147,"children":2149},{"id":2148},"minisearchoptions",[2150],{"type":178,"value":2151},"MiniSearchOptions",{"type":173,"tag":174,"props":2153,"children":2154},{},[2155,2157,2163],{"type":178,"value":2156},"You can easily define the miniSearch options by using the ",{"type":173,"tag":186,"props":2158,"children":2160},{"className":2159},[],[2161],{"type":178,"value":2162},"defineMiniSearchOptions",{"type":178,"value":2164}," composable:",{"type":173,"tag":209,"props":2166,"children":2168},{"className":1888,"code":2167,"language":262,"meta":167,"style":167},"const miniSearchOptions = defineMiniSearchOptions({\n  fields: ['title', 'description', 'body']\n})\n",[2169],{"type":173,"tag":186,"props":2170,"children":2171},{"__ignoreMap":167},[2172,2202,2271],{"type":173,"tag":219,"props":2173,"children":2174},{"class":221,"line":222},[2175,2179,2184,2188,2193,2197],{"type":173,"tag":219,"props":2176,"children":2177},{"style":238},[2178],{"type":178,"value":280},{"type":173,"tag":219,"props":2180,"children":2181},{"style":288},[2182],{"type":178,"value":2183}," miniSearchOptions ",{"type":173,"tag":219,"props":2185,"children":2186},{"style":226},[2187],{"type":178,"value":251},{"type":173,"tag":219,"props":2189,"children":2190},{"style":304},[2191],{"type":178,"value":2192}," defineMiniSearchOptions",{"type":173,"tag":219,"props":2194,"children":2195},{"style":288},[2196],{"type":178,"value":415},{"type":173,"tag":219,"props":2198,"children":2199},{"style":226},[2200],{"type":178,"value":2201},"{\n",{"type":173,"tag":219,"props":2203,"children":2204},{"class":221,"line":274},[2205,2210,2214,2219,2223,2228,2232,2236,2240,2245,2249,2253,2257,2262,2266],{"type":173,"tag":219,"props":2206,"children":2207},{"style":232},[2208],{"type":178,"value":2209},"  fields",{"type":173,"tag":219,"props":2211,"children":2212},{"style":226},[2213],{"type":178,"value":940},{"type":173,"tag":219,"props":2215,"children":2216},{"style":288},[2217],{"type":178,"value":2218}," [",{"type":173,"tag":219,"props":2220,"children":2221},{"style":226},[2222],{"type":178,"value":469},{"type":173,"tag":219,"props":2224,"children":2225},{"style":259},[2226],{"type":178,"value":2227},"title",{"type":173,"tag":219,"props":2229,"children":2230},{"style":226},[2231],{"type":178,"value":469},{"type":173,"tag":219,"props":2233,"children":2234},{"style":226},[2235],{"type":178,"value":985},{"type":173,"tag":219,"props":2237,"children":2238},{"style":226},[2239],{"type":178,"value":1794},{"type":173,"tag":219,"props":2241,"children":2242},{"style":259},[2243],{"type":178,"value":2244},"description",{"type":173,"tag":219,"props":2246,"children":2247},{"style":226},[2248],{"type":178,"value":469},{"type":173,"tag":219,"props":2250,"children":2251},{"style":226},[2252],{"type":178,"value":985},{"type":173,"tag":219,"props":2254,"children":2255},{"style":226},[2256],{"type":178,"value":1794},{"type":173,"tag":219,"props":2258,"children":2259},{"style":259},[2260],{"type":178,"value":2261},"body",{"type":173,"tag":219,"props":2263,"children":2264},{"style":226},[2265],{"type":178,"value":469},{"type":173,"tag":219,"props":2267,"children":2268},{"style":288},[2269],{"type":178,"value":2270},"]\n",{"type":173,"tag":219,"props":2272,"children":2273},{"class":221,"line":315},[2274,2278],{"type":173,"tag":219,"props":2275,"children":2276},{"style":226},[2277],{"type":178,"value":296},{"type":173,"tag":219,"props":2279,"children":2280},{"style":288},[2281],{"type":178,"value":1928},{"type":173,"tag":174,"props":2283,"children":2284},{},[2285,2287,2294],{"type":178,"value":2286},"Using these options allows you to modify how the search is performed. You can change the ",{"type":173,"tag":181,"props":2288,"children":2291},{"href":2289,"rel":2290},"https://lucaong.github.io/minisearch/#search-options",[2099],[2292],{"type":178,"value":2293},"fields that are searched, the weight of each field, and more",{"type":178,"value":454},{"type":173,"tag":1852,"props":2296,"children":2298},{"type":2297},"info",[2299],{"type":173,"tag":174,"props":2300,"children":2301},{},[2302],{"type":178,"value":2303},"Only available when using the simple search, aka non-indexed search.",{"type":173,"tag":688,"props":2305,"children":2307},{"id":2306},"usefetchoptions",[2308],{"type":178,"value":2309},"UseFetchOptions",{"type":173,"tag":174,"props":2311,"children":2312},{},[2313,2315,2320,2322,2328,2330,2336],{"type":178,"value":2314},"An option is provided to customize the behavior of the ",{"type":173,"tag":186,"props":2316,"children":2318},{"className":2317},[],[2319],{"type":178,"value":2145},{"type":178,"value":2321}," composable used internally to only fetch the search content on client and lazy. This could avoid fetching the content on SSR and adding content to the ",{"type":173,"tag":186,"props":2323,"children":2325},{"className":2324},[],[2326],{"type":178,"value":2327},"_payload.json",{"type":178,"value":2329}," file improving the performance of your app since ",{"type":173,"tag":186,"props":2331,"children":2333},{"className":2332},[],[2334],{"type":178,"value":2335},"_payload",{"type":178,"value":2337}," is loaded for hydration.",{"type":173,"tag":670,"props":2339,"children":2340},{},[2341],{"type":178,"value":674},{"title":167,"searchDepth":274,"depth":274,"links":2343},[2344,2345,2346],{"id":1957,"depth":274,"text":1960},{"id":2148,"depth":274,"text":2151},{"id":2306,"depth":274,"text":2309},"content:3.composables:7.search-content.md","3.composables/7.search-content.md",1719304183923]