[{"data":1,"prerenderedAt":2354},["ShallowReactive",2],{"navigation":3,"docs-/composables/use-unwrap":164,"docs-/composables/use-unwrap-surround":683},[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,"_stem":681,"_extension":682},"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","3.composables/5.use-unwrap","md",[684,1850],{"_path":60,"_dir":165,"_draft":166,"_partial":166,"_locale":167,"title":59,"description":685,"body":686,"_type":677,"_id":1847,"_source":679,"_file":1848,"_stem":1849,"_extension":682},"Helpers to interact with the navigation object.",{"type":170,"children":687,"toc":1840},[688,694,832,843,853,858,863,1064,1074,1079,1084,1316,1326,1331,1336,1563,1573,1578,1591,1836],{"type":173,"tag":689,"props":690,"children":692},"h2",{"id":691},"usage",[693],{"type":178,"value":21},{"type":173,"tag":209,"props":695,"children":697},{"className":211,"code":696,"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",[698],{"type":173,"tag":186,"props":699,"children":700},{"__ignoreMap":167},[701,740,752,765,777,789,797,817],{"type":173,"tag":219,"props":702,"children":703},{"class":221,"line":222},[704,708,712,716,720,724,728,732,736],{"type":173,"tag":219,"props":705,"children":706},{"style":226},[707],{"type":178,"value":229},{"type":173,"tag":219,"props":709,"children":710},{"style":232},[711],{"type":178,"value":235},{"type":173,"tag":219,"props":713,"children":714},{"style":238},[715],{"type":178,"value":241},{"type":173,"tag":219,"props":717,"children":718},{"style":238},[719],{"type":178,"value":246},{"type":173,"tag":219,"props":721,"children":722},{"style":226},[723],{"type":178,"value":251},{"type":173,"tag":219,"props":725,"children":726},{"style":226},[727],{"type":178,"value":256},{"type":173,"tag":219,"props":729,"children":730},{"style":259},[731],{"type":178,"value":262},{"type":173,"tag":219,"props":733,"children":734},{"style":226},[735],{"type":178,"value":256},{"type":173,"tag":219,"props":737,"children":738},{"style":226},[739],{"type":178,"value":271},{"type":173,"tag":219,"props":741,"children":742},{"class":221,"line":274},[743,747],{"type":173,"tag":219,"props":744,"children":745},{"style":238},[746],{"type":178,"value":280},{"type":173,"tag":219,"props":748,"children":749},{"style":226},[750],{"type":178,"value":751}," {\n",{"type":173,"tag":219,"props":753,"children":754},{"class":221,"line":315},[755,760],{"type":173,"tag":219,"props":756,"children":757},{"style":288},[758],{"type":178,"value":759},"  navBottomLink",{"type":173,"tag":219,"props":761,"children":762},{"style":226},[763],{"type":178,"value":764},",\n",{"type":173,"tag":219,"props":766,"children":767},{"class":221,"line":325},[768,773],{"type":173,"tag":219,"props":769,"children":770},{"style":288},[771],{"type":178,"value":772},"  navDirFromPath",{"type":173,"tag":219,"props":774,"children":775},{"style":226},[776],{"type":178,"value":764},{"type":173,"tag":219,"props":778,"children":779},{"class":221,"line":342},[780,785],{"type":173,"tag":219,"props":781,"children":782},{"style":288},[783],{"type":178,"value":784},"  navPageFromPath",{"type":173,"tag":219,"props":786,"children":787},{"style":226},[788],{"type":178,"value":764},{"type":173,"tag":219,"props":790,"children":791},{"class":221,"line":350},[792],{"type":173,"tag":219,"props":793,"children":794},{"style":288},[795],{"type":178,"value":796},"  navKeyFromPath\n",{"type":173,"tag":219,"props":798,"children":799},{"class":221,"line":367},[800,804,808,813],{"type":173,"tag":219,"props":801,"children":802},{"style":226},[803],{"type":178,"value":296},{"type":173,"tag":219,"props":805,"children":806},{"style":226},[807],{"type":178,"value":301},{"type":173,"tag":219,"props":809,"children":810},{"style":304},[811],{"type":178,"value":812}," useContentHelpers",{"type":173,"tag":219,"props":814,"children":815},{"style":288},[816],{"type":178,"value":312},{"type":173,"tag":219,"props":818,"children":819},{"class":221,"line":385},[820,824,828],{"type":173,"tag":219,"props":821,"children":822},{"style":226},[823],{"type":178,"value":331},{"type":173,"tag":219,"props":825,"children":826},{"style":232},[827],{"type":178,"value":235},{"type":173,"tag":219,"props":829,"children":830},{"style":226},[831],{"type":178,"value":271},{"type":173,"tag":174,"props":833,"children":834},{},[835,837,842],{"type":178,"value":836},"Learn more about the ",{"type":173,"tag":181,"props":838,"children":839},{"href":54},[840],{"type":178,"value":841},"navigation object",{"type":178,"value":454},{"type":173,"tag":689,"props":844,"children":846},{"id":845},"navbottomlink",[847],{"type":173,"tag":186,"props":848,"children":850},{"className":849},[],[851],{"type":178,"value":852},"navBottomLink()",{"type":173,"tag":174,"props":854,"children":855},{},[856],{"type":178,"value":857},"Take a navigation node and will resolve the first available path from that node.",{"type":173,"tag":174,"props":859,"children":860},{},[861],{"type":178,"value":862},"It can be useful to build nested navigations systems.",{"type":173,"tag":209,"props":864,"children":866},{"className":211,"code":865,"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",[867],{"type":173,"tag":186,"props":868,"children":869},{"__ignoreMap":167},[870,889,921,1007,1014,1049],{"type":173,"tag":219,"props":871,"children":872},{"class":221,"line":222},[873,877,881,885],{"type":173,"tag":219,"props":874,"children":875},{"style":226},[876],{"type":178,"value":229},{"type":173,"tag":219,"props":878,"children":879},{"style":232},[880],{"type":178,"value":235},{"type":173,"tag":219,"props":882,"children":883},{"style":238},[884],{"type":178,"value":241},{"type":173,"tag":219,"props":886,"children":887},{"style":226},[888],{"type":178,"value":271},{"type":173,"tag":219,"props":890,"children":891},{"class":221,"line":274},[892,896,900,905,909,913,917],{"type":173,"tag":219,"props":893,"children":894},{"style":238},[895],{"type":178,"value":280},{"type":173,"tag":219,"props":897,"children":898},{"style":226},[899],{"type":178,"value":285},{"type":173,"tag":219,"props":901,"children":902},{"style":288},[903],{"type":178,"value":904}," navBottomLink ",{"type":173,"tag":219,"props":906,"children":907},{"style":226},[908],{"type":178,"value":296},{"type":173,"tag":219,"props":910,"children":911},{"style":226},[912],{"type":178,"value":301},{"type":173,"tag":219,"props":914,"children":915},{"style":304},[916],{"type":178,"value":812},{"type":173,"tag":219,"props":918,"children":919},{"style":288},[920],{"type":178,"value":312},{"type":173,"tag":219,"props":922,"children":923},{"class":221,"line":315},[924,928,932,937,942,947,951,955,960,965,969,973,978,982,987,992,997,1002],{"type":173,"tag":219,"props":925,"children":926},{"style":238},[927],{"type":178,"value":280},{"type":173,"tag":219,"props":929,"children":930},{"style":226},[931],{"type":178,"value":285},{"type":173,"tag":219,"props":933,"children":934},{"style":232},[935],{"type":178,"value":936}," data",{"type":173,"tag":219,"props":938,"children":939},{"style":226},[940],{"type":178,"value":941},":",{"type":173,"tag":219,"props":943,"children":944},{"style":288},[945],{"type":178,"value":946}," navigation ",{"type":173,"tag":219,"props":948,"children":949},{"style":226},[950],{"type":178,"value":296},{"type":173,"tag":219,"props":952,"children":953},{"style":226},[954],{"type":178,"value":301},{"type":173,"tag":219,"props":956,"children":957},{"style":399},[958],{"type":178,"value":959}," await",{"type":173,"tag":219,"props":961,"children":962},{"style":304},[963],{"type":178,"value":964}," useAsyncData",{"type":173,"tag":219,"props":966,"children":967},{"style":288},[968],{"type":178,"value":415},{"type":173,"tag":219,"props":970,"children":971},{"style":226},[972],{"type":178,"value":469},{"type":173,"tag":219,"props":974,"children":975},{"style":259},[976],{"type":178,"value":977},"navigation",{"type":173,"tag":219,"props":979,"children":980},{"style":226},[981],{"type":178,"value":469},{"type":173,"tag":219,"props":983,"children":984},{"style":226},[985],{"type":178,"value":986},",",{"type":173,"tag":219,"props":988,"children":989},{"style":226},[990],{"type":178,"value":991}," ()",{"type":173,"tag":219,"props":993,"children":994},{"style":238},[995],{"type":178,"value":996}," =>",{"type":173,"tag":219,"props":998,"children":999},{"style":304},[1000],{"type":178,"value":1001}," fetchContentNavigation",{"type":173,"tag":219,"props":1003,"children":1004},{"style":288},[1005],{"type":178,"value":1006},"())\n",{"type":173,"tag":219,"props":1008,"children":1009},{"class":221,"line":325},[1010],{"type":173,"tag":219,"props":1011,"children":1012},{"emptyLinePlaceholder":319},[1013],{"type":178,"value":322},{"type":173,"tag":219,"props":1015,"children":1016},{"class":221,"line":342},[1017,1021,1026,1030,1035,1040,1044],{"type":173,"tag":219,"props":1018,"children":1019},{"style":238},[1020],{"type":178,"value":280},{"type":173,"tag":219,"props":1022,"children":1023},{"style":288},[1024],{"type":178,"value":1025}," path ",{"type":173,"tag":219,"props":1027,"children":1028},{"style":226},[1029],{"type":178,"value":251},{"type":173,"tag":219,"props":1031,"children":1032},{"style":304},[1033],{"type":178,"value":1034}," navBottomLink",{"type":173,"tag":219,"props":1036,"children":1037},{"style":288},[1038],{"type":178,"value":1039},"(navigation",{"type":173,"tag":219,"props":1041,"children":1042},{"style":226},[1043],{"type":178,"value":454},{"type":173,"tag":219,"props":1045,"children":1046},{"style":288},[1047],{"type":178,"value":1048},"value)\n",{"type":173,"tag":219,"props":1050,"children":1051},{"class":221,"line":350},[1052,1056,1060],{"type":173,"tag":219,"props":1053,"children":1054},{"style":226},[1055],{"type":178,"value":331},{"type":173,"tag":219,"props":1057,"children":1058},{"style":232},[1059],{"type":178,"value":235},{"type":173,"tag":219,"props":1061,"children":1062},{"style":226},[1063],{"type":178,"value":271},{"type":173,"tag":689,"props":1065,"children":1067},{"id":1066},"navdirfrompath",[1068],{"type":173,"tag":186,"props":1069,"children":1071},{"className":1070},[],[1072],{"type":178,"value":1073},"navDirFromPath()",{"type":173,"tag":174,"props":1075,"children":1076},{},[1077],{"type":178,"value":1078},"This function will take a path and will resolve the first available navigation node from that path.",{"type":173,"tag":174,"props":1080,"children":1081},{},[1082],{"type":178,"value":1083},"It can be useful to find the current directory of a navigation node.",{"type":173,"tag":209,"props":1085,"children":1087},{"className":211,"code":1086,"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",[1088],{"type":173,"tag":186,"props":1089,"children":1090},{"__ignoreMap":167},[1091,1110,1135,1167,1242,1249,1301],{"type":173,"tag":219,"props":1092,"children":1093},{"class":221,"line":222},[1094,1098,1102,1106],{"type":173,"tag":219,"props":1095,"children":1096},{"style":226},[1097],{"type":178,"value":229},{"type":173,"tag":219,"props":1099,"children":1100},{"style":232},[1101],{"type":178,"value":235},{"type":173,"tag":219,"props":1103,"children":1104},{"style":238},[1105],{"type":178,"value":241},{"type":173,"tag":219,"props":1107,"children":1108},{"style":226},[1109],{"type":178,"value":271},{"type":173,"tag":219,"props":1111,"children":1112},{"class":221,"line":274},[1113,1117,1122,1126,1131],{"type":173,"tag":219,"props":1114,"children":1115},{"style":238},[1116],{"type":178,"value":280},{"type":173,"tag":219,"props":1118,"children":1119},{"style":288},[1120],{"type":178,"value":1121}," route ",{"type":173,"tag":219,"props":1123,"children":1124},{"style":226},[1125],{"type":178,"value":251},{"type":173,"tag":219,"props":1127,"children":1128},{"style":304},[1129],{"type":178,"value":1130}," useRoute",{"type":173,"tag":219,"props":1132,"children":1133},{"style":288},[1134],{"type":178,"value":312},{"type":173,"tag":219,"props":1136,"children":1137},{"class":221,"line":315},[1138,1142,1146,1151,1155,1159,1163],{"type":173,"tag":219,"props":1139,"children":1140},{"style":238},[1141],{"type":178,"value":280},{"type":173,"tag":219,"props":1143,"children":1144},{"style":226},[1145],{"type":178,"value":285},{"type":173,"tag":219,"props":1147,"children":1148},{"style":288},[1149],{"type":178,"value":1150}," navDirFromPath ",{"type":173,"tag":219,"props":1152,"children":1153},{"style":226},[1154],{"type":178,"value":296},{"type":173,"tag":219,"props":1156,"children":1157},{"style":226},[1158],{"type":178,"value":301},{"type":173,"tag":219,"props":1160,"children":1161},{"style":304},[1162],{"type":178,"value":812},{"type":173,"tag":219,"props":1164,"children":1165},{"style":288},[1166],{"type":178,"value":312},{"type":173,"tag":219,"props":1168,"children":1169},{"class":221,"line":325},[1170,1174,1178,1182,1186,1190,1194,1198,1202,1206,1210,1214,1218,1222,1226,1230,1234,1238],{"type":173,"tag":219,"props":1171,"children":1172},{"style":238},[1173],{"type":178,"value":280},{"type":173,"tag":219,"props":1175,"children":1176},{"style":226},[1177],{"type":178,"value":285},{"type":173,"tag":219,"props":1179,"children":1180},{"style":232},[1181],{"type":178,"value":936},{"type":173,"tag":219,"props":1183,"children":1184},{"style":226},[1185],{"type":178,"value":941},{"type":173,"tag":219,"props":1187,"children":1188},{"style":288},[1189],{"type":178,"value":946},{"type":173,"tag":219,"props":1191,"children":1192},{"style":226},[1193],{"type":178,"value":296},{"type":173,"tag":219,"props":1195,"children":1196},{"style":226},[1197],{"type":178,"value":301},{"type":173,"tag":219,"props":1199,"children":1200},{"style":399},[1201],{"type":178,"value":959},{"type":173,"tag":219,"props":1203,"children":1204},{"style":304},[1205],{"type":178,"value":964},{"type":173,"tag":219,"props":1207,"children":1208},{"style":288},[1209],{"type":178,"value":415},{"type":173,"tag":219,"props":1211,"children":1212},{"style":226},[1213],{"type":178,"value":469},{"type":173,"tag":219,"props":1215,"children":1216},{"style":259},[1217],{"type":178,"value":977},{"type":173,"tag":219,"props":1219,"children":1220},{"style":226},[1221],{"type":178,"value":469},{"type":173,"tag":219,"props":1223,"children":1224},{"style":226},[1225],{"type":178,"value":986},{"type":173,"tag":219,"props":1227,"children":1228},{"style":226},[1229],{"type":178,"value":991},{"type":173,"tag":219,"props":1231,"children":1232},{"style":238},[1233],{"type":178,"value":996},{"type":173,"tag":219,"props":1235,"children":1236},{"style":304},[1237],{"type":178,"value":1001},{"type":173,"tag":219,"props":1239,"children":1240},{"style":288},[1241],{"type":178,"value":1006},{"type":173,"tag":219,"props":1243,"children":1244},{"class":221,"line":342},[1245],{"type":173,"tag":219,"props":1246,"children":1247},{"emptyLinePlaceholder":319},[1248],{"type":178,"value":322},{"type":173,"tag":219,"props":1250,"children":1251},{"class":221,"line":350},[1252,1256,1261,1265,1270,1275,1279,1284,1288,1293,1297],{"type":173,"tag":219,"props":1253,"children":1254},{"style":238},[1255],{"type":178,"value":280},{"type":173,"tag":219,"props":1257,"children":1258},{"style":288},[1259],{"type":178,"value":1260}," dir ",{"type":173,"tag":219,"props":1262,"children":1263},{"style":226},[1264],{"type":178,"value":251},{"type":173,"tag":219,"props":1266,"children":1267},{"style":304},[1268],{"type":178,"value":1269}," navDirFromPath",{"type":173,"tag":219,"props":1271,"children":1272},{"style":288},[1273],{"type":178,"value":1274},"(route",{"type":173,"tag":219,"props":1276,"children":1277},{"style":226},[1278],{"type":178,"value":454},{"type":173,"tag":219,"props":1280,"children":1281},{"style":288},[1282],{"type":178,"value":1283},"path",{"type":173,"tag":219,"props":1285,"children":1286},{"style":226},[1287],{"type":178,"value":986},{"type":173,"tag":219,"props":1289,"children":1290},{"style":288},[1291],{"type":178,"value":1292}," navigation",{"type":173,"tag":219,"props":1294,"children":1295},{"style":226},[1296],{"type":178,"value":454},{"type":173,"tag":219,"props":1298,"children":1299},{"style":288},[1300],{"type":178,"value":1048},{"type":173,"tag":219,"props":1302,"children":1303},{"class":221,"line":367},[1304,1308,1312],{"type":173,"tag":219,"props":1305,"children":1306},{"style":226},[1307],{"type":178,"value":331},{"type":173,"tag":219,"props":1309,"children":1310},{"style":232},[1311],{"type":178,"value":235},{"type":173,"tag":219,"props":1313,"children":1314},{"style":226},[1315],{"type":178,"value":271},{"type":173,"tag":689,"props":1317,"children":1319},{"id":1318},"navpagefrompath",[1320],{"type":173,"tag":186,"props":1321,"children":1323},{"className":1322},[],[1324],{"type":178,"value":1325},"navPageFromPath()",{"type":173,"tag":174,"props":1327,"children":1328},{},[1329],{"type":178,"value":1330},"This function will take a path and will resolve the first available navigation page from that path.",{"type":173,"tag":174,"props":1332,"children":1333},{},[1334],{"type":178,"value":1335},"It can be useful to find the current navigation node the page you're browsing.",{"type":173,"tag":209,"props":1337,"children":1339},{"className":211,"code":1338,"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",[1340],{"type":173,"tag":186,"props":1341,"children":1342},{"__ignoreMap":167},[1343,1362,1385,1417,1492,1499,1548],{"type":173,"tag":219,"props":1344,"children":1345},{"class":221,"line":222},[1346,1350,1354,1358],{"type":173,"tag":219,"props":1347,"children":1348},{"style":226},[1349],{"type":178,"value":229},{"type":173,"tag":219,"props":1351,"children":1352},{"style":232},[1353],{"type":178,"value":235},{"type":173,"tag":219,"props":1355,"children":1356},{"style":238},[1357],{"type":178,"value":241},{"type":173,"tag":219,"props":1359,"children":1360},{"style":226},[1361],{"type":178,"value":271},{"type":173,"tag":219,"props":1363,"children":1364},{"class":221,"line":274},[1365,1369,1373,1377,1381],{"type":173,"tag":219,"props":1366,"children":1367},{"style":238},[1368],{"type":178,"value":280},{"type":173,"tag":219,"props":1370,"children":1371},{"style":288},[1372],{"type":178,"value":1121},{"type":173,"tag":219,"props":1374,"children":1375},{"style":226},[1376],{"type":178,"value":251},{"type":173,"tag":219,"props":1378,"children":1379},{"style":304},[1380],{"type":178,"value":1130},{"type":173,"tag":219,"props":1382,"children":1383},{"style":288},[1384],{"type":178,"value":312},{"type":173,"tag":219,"props":1386,"children":1387},{"class":221,"line":315},[1388,1392,1396,1401,1405,1409,1413],{"type":173,"tag":219,"props":1389,"children":1390},{"style":238},[1391],{"type":178,"value":280},{"type":173,"tag":219,"props":1393,"children":1394},{"style":226},[1395],{"type":178,"value":285},{"type":173,"tag":219,"props":1397,"children":1398},{"style":288},[1399],{"type":178,"value":1400}," navPageFromPath ",{"type":173,"tag":219,"props":1402,"children":1403},{"style":226},[1404],{"type":178,"value":296},{"type":173,"tag":219,"props":1406,"children":1407},{"style":226},[1408],{"type":178,"value":301},{"type":173,"tag":219,"props":1410,"children":1411},{"style":304},[1412],{"type":178,"value":812},{"type":173,"tag":219,"props":1414,"children":1415},{"style":288},[1416],{"type":178,"value":312},{"type":173,"tag":219,"props":1418,"children":1419},{"class":221,"line":325},[1420,1424,1428,1432,1436,1440,1444,1448,1452,1456,1460,1464,1468,1472,1476,1480,1484,1488],{"type":173,"tag":219,"props":1421,"children":1422},{"style":238},[1423],{"type":178,"value":280},{"type":173,"tag":219,"props":1425,"children":1426},{"style":226},[1427],{"type":178,"value":285},{"type":173,"tag":219,"props":1429,"children":1430},{"style":232},[1431],{"type":178,"value":936},{"type":173,"tag":219,"props":1433,"children":1434},{"style":226},[1435],{"type":178,"value":941},{"type":173,"tag":219,"props":1437,"children":1438},{"style":288},[1439],{"type":178,"value":946},{"type":173,"tag":219,"props":1441,"children":1442},{"style":226},[1443],{"type":178,"value":296},{"type":173,"tag":219,"props":1445,"children":1446},{"style":226},[1447],{"type":178,"value":301},{"type":173,"tag":219,"props":1449,"children":1450},{"style":399},[1451],{"type":178,"value":959},{"type":173,"tag":219,"props":1453,"children":1454},{"style":304},[1455],{"type":178,"value":964},{"type":173,"tag":219,"props":1457,"children":1458},{"style":288},[1459],{"type":178,"value":415},{"type":173,"tag":219,"props":1461,"children":1462},{"style":226},[1463],{"type":178,"value":469},{"type":173,"tag":219,"props":1465,"children":1466},{"style":259},[1467],{"type":178,"value":977},{"type":173,"tag":219,"props":1469,"children":1470},{"style":226},[1471],{"type":178,"value":469},{"type":173,"tag":219,"props":1473,"children":1474},{"style":226},[1475],{"type":178,"value":986},{"type":173,"tag":219,"props":1477,"children":1478},{"style":226},[1479],{"type":178,"value":991},{"type":173,"tag":219,"props":1481,"children":1482},{"style":238},[1483],{"type":178,"value":996},{"type":173,"tag":219,"props":1485,"children":1486},{"style":304},[1487],{"type":178,"value":1001},{"type":173,"tag":219,"props":1489,"children":1490},{"style":288},[1491],{"type":178,"value":1006},{"type":173,"tag":219,"props":1493,"children":1494},{"class":221,"line":342},[1495],{"type":173,"tag":219,"props":1496,"children":1497},{"emptyLinePlaceholder":319},[1498],{"type":178,"value":322},{"type":173,"tag":219,"props":1500,"children":1501},{"class":221,"line":350},[1502,1506,1511,1515,1520,1524,1528,1532,1536,1540,1544],{"type":173,"tag":219,"props":1503,"children":1504},{"style":238},[1505],{"type":178,"value":280},{"type":173,"tag":219,"props":1507,"children":1508},{"style":288},[1509],{"type":178,"value":1510}," page ",{"type":173,"tag":219,"props":1512,"children":1513},{"style":226},[1514],{"type":178,"value":251},{"type":173,"tag":219,"props":1516,"children":1517},{"style":304},[1518],{"type":178,"value":1519}," navPageFromPath",{"type":173,"tag":219,"props":1521,"children":1522},{"style":288},[1523],{"type":178,"value":1274},{"type":173,"tag":219,"props":1525,"children":1526},{"style":226},[1527],{"type":178,"value":454},{"type":173,"tag":219,"props":1529,"children":1530},{"style":288},[1531],{"type":178,"value":1283},{"type":173,"tag":219,"props":1533,"children":1534},{"style":226},[1535],{"type":178,"value":986},{"type":173,"tag":219,"props":1537,"children":1538},{"style":288},[1539],{"type":178,"value":1292},{"type":173,"tag":219,"props":1541,"children":1542},{"style":226},[1543],{"type":178,"value":454},{"type":173,"tag":219,"props":1545,"children":1546},{"style":288},[1547],{"type":178,"value":1048},{"type":173,"tag":219,"props":1549,"children":1550},{"class":221,"line":367},[1551,1555,1559],{"type":173,"tag":219,"props":1552,"children":1553},{"style":226},[1554],{"type":178,"value":331},{"type":173,"tag":219,"props":1556,"children":1557},{"style":232},[1558],{"type":178,"value":235},{"type":173,"tag":219,"props":1560,"children":1561},{"style":226},[1562],{"type":178,"value":271},{"type":173,"tag":689,"props":1564,"children":1566},{"id":1565},"navkeyfrompath",[1567],{"type":173,"tag":186,"props":1568,"children":1570},{"className":1569},[],[1571],{"type":178,"value":1572},"navKeyFromPath()",{"type":173,"tag":174,"props":1574,"children":1575},{},[1576],{"type":178,"value":1577},"This function will take a path and will resolve a specific key from that path.",{"type":173,"tag":174,"props":1579,"children":1580},{},[1581,1583,1589],{"type":178,"value":1582},"It can be useful when you want to add a fallback on the ",{"type":173,"tag":186,"props":1584,"children":1586},{"className":1585},[],[1587],{"type":178,"value":1588},"_dir.yml",{"type":178,"value":1590}," value of a key in a page.",{"type":173,"tag":209,"props":1592,"children":1594},{"className":211,"code":1593,"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",[1595],{"type":173,"tag":186,"props":1596,"children":1597},{"__ignoreMap":167},[1598,1617,1640,1672,1747,1754,1821],{"type":173,"tag":219,"props":1599,"children":1600},{"class":221,"line":222},[1601,1605,1609,1613],{"type":173,"tag":219,"props":1602,"children":1603},{"style":226},[1604],{"type":178,"value":229},{"type":173,"tag":219,"props":1606,"children":1607},{"style":232},[1608],{"type":178,"value":235},{"type":173,"tag":219,"props":1610,"children":1611},{"style":238},[1612],{"type":178,"value":241},{"type":173,"tag":219,"props":1614,"children":1615},{"style":226},[1616],{"type":178,"value":271},{"type":173,"tag":219,"props":1618,"children":1619},{"class":221,"line":274},[1620,1624,1628,1632,1636],{"type":173,"tag":219,"props":1621,"children":1622},{"style":238},[1623],{"type":178,"value":280},{"type":173,"tag":219,"props":1625,"children":1626},{"style":288},[1627],{"type":178,"value":1121},{"type":173,"tag":219,"props":1629,"children":1630},{"style":226},[1631],{"type":178,"value":251},{"type":173,"tag":219,"props":1633,"children":1634},{"style":304},[1635],{"type":178,"value":1130},{"type":173,"tag":219,"props":1637,"children":1638},{"style":288},[1639],{"type":178,"value":312},{"type":173,"tag":219,"props":1641,"children":1642},{"class":221,"line":315},[1643,1647,1651,1656,1660,1664,1668],{"type":173,"tag":219,"props":1644,"children":1645},{"style":238},[1646],{"type":178,"value":280},{"type":173,"tag":219,"props":1648,"children":1649},{"style":226},[1650],{"type":178,"value":285},{"type":173,"tag":219,"props":1652,"children":1653},{"style":288},[1654],{"type":178,"value":1655}," navKeyFromPath ",{"type":173,"tag":219,"props":1657,"children":1658},{"style":226},[1659],{"type":178,"value":296},{"type":173,"tag":219,"props":1661,"children":1662},{"style":226},[1663],{"type":178,"value":301},{"type":173,"tag":219,"props":1665,"children":1666},{"style":304},[1667],{"type":178,"value":812},{"type":173,"tag":219,"props":1669,"children":1670},{"style":288},[1671],{"type":178,"value":312},{"type":173,"tag":219,"props":1673,"children":1674},{"class":221,"line":325},[1675,1679,1683,1687,1691,1695,1699,1703,1707,1711,1715,1719,1723,1727,1731,1735,1739,1743],{"type":173,"tag":219,"props":1676,"children":1677},{"style":238},[1678],{"type":178,"value":280},{"type":173,"tag":219,"props":1680,"children":1681},{"style":226},[1682],{"type":178,"value":285},{"type":173,"tag":219,"props":1684,"children":1685},{"style":232},[1686],{"type":178,"value":936},{"type":173,"tag":219,"props":1688,"children":1689},{"style":226},[1690],{"type":178,"value":941},{"type":173,"tag":219,"props":1692,"children":1693},{"style":288},[1694],{"type":178,"value":946},{"type":173,"tag":219,"props":1696,"children":1697},{"style":226},[1698],{"type":178,"value":296},{"type":173,"tag":219,"props":1700,"children":1701},{"style":226},[1702],{"type":178,"value":301},{"type":173,"tag":219,"props":1704,"children":1705},{"style":399},[1706],{"type":178,"value":959},{"type":173,"tag":219,"props":1708,"children":1709},{"style":304},[1710],{"type":178,"value":964},{"type":173,"tag":219,"props":1712,"children":1713},{"style":288},[1714],{"type":178,"value":415},{"type":173,"tag":219,"props":1716,"children":1717},{"style":226},[1718],{"type":178,"value":469},{"type":173,"tag":219,"props":1720,"children":1721},{"style":259},[1722],{"type":178,"value":977},{"type":173,"tag":219,"props":1724,"children":1725},{"style":226},[1726],{"type":178,"value":469},{"type":173,"tag":219,"props":1728,"children":1729},{"style":226},[1730],{"type":178,"value":986},{"type":173,"tag":219,"props":1732,"children":1733},{"style":226},[1734],{"type":178,"value":991},{"type":173,"tag":219,"props":1736,"children":1737},{"style":238},[1738],{"type":178,"value":996},{"type":173,"tag":219,"props":1740,"children":1741},{"style":304},[1742],{"type":178,"value":1001},{"type":173,"tag":219,"props":1744,"children":1745},{"style":288},[1746],{"type":178,"value":1006},{"type":173,"tag":219,"props":1748,"children":1749},{"class":221,"line":342},[1750],{"type":173,"tag":219,"props":1751,"children":1752},{"emptyLinePlaceholder":319},[1753],{"type":178,"value":322},{"type":173,"tag":219,"props":1755,"children":1756},{"class":221,"line":350},[1757,1761,1766,1770,1775,1779,1783,1787,1791,1796,1801,1805,1809,1813,1817],{"type":173,"tag":219,"props":1758,"children":1759},{"style":238},[1760],{"type":178,"value":280},{"type":173,"tag":219,"props":1762,"children":1763},{"style":288},[1764],{"type":178,"value":1765}," layout ",{"type":173,"tag":219,"props":1767,"children":1768},{"style":226},[1769],{"type":178,"value":251},{"type":173,"tag":219,"props":1771,"children":1772},{"style":304},[1773],{"type":178,"value":1774}," navKeyFromPath",{"type":173,"tag":219,"props":1776,"children":1777},{"style":288},[1778],{"type":178,"value":1274},{"type":173,"tag":219,"props":1780,"children":1781},{"style":226},[1782],{"type":178,"value":454},{"type":173,"tag":219,"props":1784,"children":1785},{"style":288},[1786],{"type":178,"value":1283},{"type":173,"tag":219,"props":1788,"children":1789},{"style":226},[1790],{"type":178,"value":986},{"type":173,"tag":219,"props":1792,"children":1793},{"style":226},[1794],{"type":178,"value":1795}," '",{"type":173,"tag":219,"props":1797,"children":1798},{"style":259},[1799],{"type":178,"value":1800},"layout",{"type":173,"tag":219,"props":1802,"children":1803},{"style":226},[1804],{"type":178,"value":469},{"type":173,"tag":219,"props":1806,"children":1807},{"style":226},[1808],{"type":178,"value":986},{"type":173,"tag":219,"props":1810,"children":1811},{"style":288},[1812],{"type":178,"value":1292},{"type":173,"tag":219,"props":1814,"children":1815},{"style":226},[1816],{"type":178,"value":454},{"type":173,"tag":219,"props":1818,"children":1819},{"style":288},[1820],{"type":178,"value":1048},{"type":173,"tag":219,"props":1822,"children":1823},{"class":221,"line":367},[1824,1828,1832],{"type":173,"tag":219,"props":1825,"children":1826},{"style":226},[1827],{"type":178,"value":331},{"type":173,"tag":219,"props":1829,"children":1830},{"style":232},[1831],{"type":178,"value":235},{"type":173,"tag":219,"props":1833,"children":1834},{"style":226},[1835],{"type":178,"value":271},{"type":173,"tag":670,"props":1837,"children":1838},{},[1839],{"type":178,"value":674},{"title":167,"searchDepth":274,"depth":274,"links":1841},[1842,1843,1844,1845,1846],{"id":691,"depth":274,"text":21},{"id":845,"depth":274,"text":852},{"id":1066,"depth":274,"text":1073},{"id":1318,"depth":274,"text":1325},{"id":1565,"depth":274,"text":1572},"content:3.composables:4.use-content-helpers.md","3.composables/4.use-content-helpers.md","3.composables/4.use-content-helpers",{"_path":66,"_dir":165,"_draft":166,"_partial":166,"_locale":167,"title":65,"description":167,"body":1851,"_type":677,"_id":2351,"_source":679,"_file":2352,"_stem":2353,"_extension":682},{"type":170,"children":1852,"toc":2346},[1853,1876,1888,1961,1967,2150,2156,2169,2286,2299,2308,2314,2342],{"type":173,"tag":1854,"props":1855,"children":1857},"callout",{"type":1856},"warning",[1858],{"type":173,"tag":174,"props":1859,"children":1860},{},[1861,1863,1875],{"type":178,"value":1862},"This is an experimental feature, opt-in with the ",{"type":173,"tag":181,"props":1864,"children":1866},{"href":1865},"/get-started/configuration#search",[1867,1873],{"type":173,"tag":186,"props":1868,"children":1870},{"className":1869},[],[1871],{"type":178,"value":1872},"experimental.search",{"type":178,"value":1874}," option",{"type":178,"value":454},{"type":173,"tag":174,"props":1877,"children":1878},{},[1879,1881,1886],{"type":178,"value":1880},"Used to search in your ",{"type":173,"tag":186,"props":1882,"children":1884},{"className":1883},[],[1885],{"type":178,"value":679},{"type":178,"value":1887}," directory.",{"type":173,"tag":209,"props":1889,"children":1892},{"className":1890,"code":1891,"language":262,"meta":167,"style":167},"language-ts shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","const input = ref('')\nconst results = await searchContent(input)\n",[1893],{"type":173,"tag":186,"props":1894,"children":1895},{"__ignoreMap":167},[1896,1931],{"type":173,"tag":219,"props":1897,"children":1898},{"class":221,"line":222},[1899,1903,1908,1912,1917,1921,1926],{"type":173,"tag":219,"props":1900,"children":1901},{"style":238},[1902],{"type":178,"value":280},{"type":173,"tag":219,"props":1904,"children":1905},{"style":288},[1906],{"type":178,"value":1907}," input ",{"type":173,"tag":219,"props":1909,"children":1910},{"style":226},[1911],{"type":178,"value":251},{"type":173,"tag":219,"props":1913,"children":1914},{"style":304},[1915],{"type":178,"value":1916}," ref",{"type":173,"tag":219,"props":1918,"children":1919},{"style":288},[1920],{"type":178,"value":415},{"type":173,"tag":219,"props":1922,"children":1923},{"style":226},[1924],{"type":178,"value":1925},"''",{"type":173,"tag":219,"props":1927,"children":1928},{"style":288},[1929],{"type":178,"value":1930},")\n",{"type":173,"tag":219,"props":1932,"children":1933},{"class":221,"line":274},[1934,1938,1943,1947,1951,1956],{"type":173,"tag":219,"props":1935,"children":1936},{"style":238},[1937],{"type":178,"value":280},{"type":173,"tag":219,"props":1939,"children":1940},{"style":288},[1941],{"type":178,"value":1942}," results ",{"type":173,"tag":219,"props":1944,"children":1945},{"style":226},[1946],{"type":178,"value":251},{"type":173,"tag":219,"props":1948,"children":1949},{"style":399},[1950],{"type":178,"value":959},{"type":173,"tag":219,"props":1952,"children":1953},{"style":304},[1954],{"type":178,"value":1955}," searchContent",{"type":173,"tag":219,"props":1957,"children":1958},{"style":288},[1959],{"type":178,"value":1960},"(input)\n",{"type":173,"tag":689,"props":1962,"children":1964},{"id":1963},"parameters",[1965],{"type":178,"value":1966},"Parameters",{"type":173,"tag":1968,"props":1969,"children":1970},"table",{},[1971,2001],{"type":173,"tag":1972,"props":1973,"children":1974},"thead",{},[1975],{"type":173,"tag":1976,"props":1977,"children":1978},"tr",{},[1979,1985,1991,1996],{"type":173,"tag":1980,"props":1981,"children":1982},"th",{},[1983],{"type":178,"value":1984},"Key",{"type":173,"tag":1980,"props":1986,"children":1988},{"align":1987},"center",[1989],{"type":178,"value":1990},"Type",{"type":173,"tag":1980,"props":1992,"children":1993},{},[1994],{"type":178,"value":1995},"Default",{"type":173,"tag":1980,"props":1997,"children":1998},{},[1999],{"type":178,"value":2000},"Description",{"type":173,"tag":2002,"props":2003,"children":2004},"tbody",{},[2005,2035,2070,2111],{"type":173,"tag":1976,"props":2006,"children":2007},{},[2008,2018,2027,2030],{"type":173,"tag":2009,"props":2010,"children":2011},"td",{},[2012],{"type":173,"tag":186,"props":2013,"children":2015},{"className":2014},[],[2016],{"type":178,"value":2017},"search",{"type":173,"tag":2009,"props":2019,"children":2020},{"align":1987},[2021],{"type":173,"tag":186,"props":2022,"children":2024},{"className":2023},[],[2025],{"type":178,"value":2026},"MaybeRefOrGetter\u003Cstring>",{"type":173,"tag":2009,"props":2028,"children":2029},{},[],{"type":173,"tag":2009,"props":2031,"children":2032},{},[2033],{"type":178,"value":2034},"The search input",{"type":173,"tag":1976,"props":2036,"children":2037},{},[2038,2047,2056,2065],{"type":173,"tag":2009,"props":2039,"children":2040},{},[2041],{"type":173,"tag":186,"props":2042,"children":2044},{"className":2043},[],[2045],{"type":178,"value":2046},"options",{"type":173,"tag":2009,"props":2048,"children":2049},{"align":1987},[2050],{"type":173,"tag":186,"props":2051,"children":2053},{"className":2052},[],[2054],{"type":178,"value":2055},"SearchContentOptions",{"type":173,"tag":2009,"props":2057,"children":2058},{},[2059],{"type":173,"tag":186,"props":2060,"children":2062},{"className":2061},[],[2063],{"type":178,"value":2064},"{}",{"type":173,"tag":2009,"props":2066,"children":2067},{},[2068],{"type":178,"value":2069},"The options",{"type":173,"tag":1976,"props":2071,"children":2072},{},[2073,2082,2091,2094],{"type":173,"tag":2009,"props":2074,"children":2075},{},[2076],{"type":173,"tag":186,"props":2077,"children":2079},{"className":2078},[],[2080],{"type":178,"value":2081},"options.miniSearch",{"type":173,"tag":2009,"props":2083,"children":2084},{"align":1987},[2085],{"type":173,"tag":186,"props":2086,"children":2088},{"className":2087},[],[2089],{"type":178,"value":2090},"MaybeRefOrGetter\u003CMiniSearchOptions\u003CT>>",{"type":173,"tag":2009,"props":2092,"children":2093},{},[],{"type":173,"tag":2009,"props":2095,"children":2096},{},[2097,2099],{"type":178,"value":2098},"The options passed to ",{"type":173,"tag":181,"props":2100,"children":2104},{"href":2101,"rel":2102},"https://lucaong.github.io/minisearch/",[2103],"nofollow",[2105],{"type":173,"tag":186,"props":2106,"children":2108},{"className":2107},[],[2109],{"type":178,"value":2110},"miniSearch",{"type":173,"tag":1976,"props":2112,"children":2113},{},[2114,2123,2132,2135],{"type":173,"tag":2009,"props":2115,"children":2116},{},[2117],{"type":173,"tag":186,"props":2118,"children":2120},{"className":2119},[],[2121],{"type":178,"value":2122},"options.fetch",{"type":173,"tag":2009,"props":2124,"children":2125},{"align":1987},[2126],{"type":173,"tag":186,"props":2127,"children":2129},{"className":2128},[],[2130],{"type":178,"value":2131},"MaybeRefOrGetter\u003CUseFetchOptions\u003Cstring | T>>",{"type":173,"tag":2009,"props":2133,"children":2134},{},[],{"type":173,"tag":2009,"props":2136,"children":2137},{},[2138,2139],{"type":178,"value":2098},{"type":173,"tag":181,"props":2140,"children":2143},{"href":2141,"rel":2142},"https://nuxt.com/docs/api/composables/use-fetch#usefetch",[2103],[2144],{"type":173,"tag":186,"props":2145,"children":2147},{"className":2146},[],[2148],{"type":178,"value":2149},"useFetch",{"type":173,"tag":689,"props":2151,"children":2153},{"id":2152},"minisearchoptions",[2154],{"type":178,"value":2155},"MiniSearchOptions",{"type":173,"tag":174,"props":2157,"children":2158},{},[2159,2161,2167],{"type":178,"value":2160},"You can easily define the miniSearch options by using the ",{"type":173,"tag":186,"props":2162,"children":2164},{"className":2163},[],[2165],{"type":178,"value":2166},"defineMiniSearchOptions",{"type":178,"value":2168}," composable:",{"type":173,"tag":209,"props":2170,"children":2172},{"className":1890,"code":2171,"language":262,"meta":167,"style":167},"const miniSearchOptions = defineMiniSearchOptions({\n  fields: ['title', 'description', 'body']\n})\n",[2173],{"type":173,"tag":186,"props":2174,"children":2175},{"__ignoreMap":167},[2176,2206,2275],{"type":173,"tag":219,"props":2177,"children":2178},{"class":221,"line":222},[2179,2183,2188,2192,2197,2201],{"type":173,"tag":219,"props":2180,"children":2181},{"style":238},[2182],{"type":178,"value":280},{"type":173,"tag":219,"props":2184,"children":2185},{"style":288},[2186],{"type":178,"value":2187}," miniSearchOptions ",{"type":173,"tag":219,"props":2189,"children":2190},{"style":226},[2191],{"type":178,"value":251},{"type":173,"tag":219,"props":2193,"children":2194},{"style":304},[2195],{"type":178,"value":2196}," defineMiniSearchOptions",{"type":173,"tag":219,"props":2198,"children":2199},{"style":288},[2200],{"type":178,"value":415},{"type":173,"tag":219,"props":2202,"children":2203},{"style":226},[2204],{"type":178,"value":2205},"{\n",{"type":173,"tag":219,"props":2207,"children":2208},{"class":221,"line":274},[2209,2214,2218,2223,2227,2232,2236,2240,2244,2249,2253,2257,2261,2266,2270],{"type":173,"tag":219,"props":2210,"children":2211},{"style":232},[2212],{"type":178,"value":2213},"  fields",{"type":173,"tag":219,"props":2215,"children":2216},{"style":226},[2217],{"type":178,"value":941},{"type":173,"tag":219,"props":2219,"children":2220},{"style":288},[2221],{"type":178,"value":2222}," [",{"type":173,"tag":219,"props":2224,"children":2225},{"style":226},[2226],{"type":178,"value":469},{"type":173,"tag":219,"props":2228,"children":2229},{"style":259},[2230],{"type":178,"value":2231},"title",{"type":173,"tag":219,"props":2233,"children":2234},{"style":226},[2235],{"type":178,"value":469},{"type":173,"tag":219,"props":2237,"children":2238},{"style":226},[2239],{"type":178,"value":986},{"type":173,"tag":219,"props":2241,"children":2242},{"style":226},[2243],{"type":178,"value":1795},{"type":173,"tag":219,"props":2245,"children":2246},{"style":259},[2247],{"type":178,"value":2248},"description",{"type":173,"tag":219,"props":2250,"children":2251},{"style":226},[2252],{"type":178,"value":469},{"type":173,"tag":219,"props":2254,"children":2255},{"style":226},[2256],{"type":178,"value":986},{"type":173,"tag":219,"props":2258,"children":2259},{"style":226},[2260],{"type":178,"value":1795},{"type":173,"tag":219,"props":2262,"children":2263},{"style":259},[2264],{"type":178,"value":2265},"body",{"type":173,"tag":219,"props":2267,"children":2268},{"style":226},[2269],{"type":178,"value":469},{"type":173,"tag":219,"props":2271,"children":2272},{"style":288},[2273],{"type":178,"value":2274},"]\n",{"type":173,"tag":219,"props":2276,"children":2277},{"class":221,"line":315},[2278,2282],{"type":173,"tag":219,"props":2279,"children":2280},{"style":226},[2281],{"type":178,"value":296},{"type":173,"tag":219,"props":2283,"children":2284},{"style":288},[2285],{"type":178,"value":1930},{"type":173,"tag":174,"props":2287,"children":2288},{},[2289,2291,2298],{"type":178,"value":2290},"Using these options allows you to modify how the search is performed. You can change the ",{"type":173,"tag":181,"props":2292,"children":2295},{"href":2293,"rel":2294},"https://lucaong.github.io/minisearch/#search-options",[2103],[2296],{"type":178,"value":2297},"fields that are searched, the weight of each field, and more",{"type":178,"value":454},{"type":173,"tag":1854,"props":2300,"children":2302},{"type":2301},"info",[2303],{"type":173,"tag":174,"props":2304,"children":2305},{},[2306],{"type":178,"value":2307},"Only available when using the simple search, aka non-indexed search.",{"type":173,"tag":689,"props":2309,"children":2311},{"id":2310},"usefetchoptions",[2312],{"type":178,"value":2313},"UseFetchOptions",{"type":173,"tag":174,"props":2315,"children":2316},{},[2317,2319,2324,2326,2332,2334,2340],{"type":178,"value":2318},"An option is provided to customize the behavior of the ",{"type":173,"tag":186,"props":2320,"children":2322},{"className":2321},[],[2323],{"type":178,"value":2149},{"type":178,"value":2325}," 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":2327,"children":2329},{"className":2328},[],[2330],{"type":178,"value":2331},"_payload.json",{"type":178,"value":2333}," file improving the performance of your app since ",{"type":173,"tag":186,"props":2335,"children":2337},{"className":2336},[],[2338],{"type":178,"value":2339},"_payload",{"type":178,"value":2341}," is loaded for hydration.",{"type":173,"tag":670,"props":2343,"children":2344},{},[2345],{"type":178,"value":674},{"title":167,"searchDepth":274,"depth":274,"links":2347},[2348,2349,2350],{"id":1963,"depth":274,"text":1966},{"id":2152,"depth":274,"text":2155},{"id":2310,"depth":274,"text":2313},"content:3.composables:7.search-content.md","3.composables/7.search-content.md","3.composables/7.search-content",1725981874515]