[{"data":1,"prerenderedAt":612},["ShallowReactive",2],{"docs-navigation:en":3,"content-page:docs:0niSmV3xs7EFC3DQT6RY-8CwfxaDZIsQbjuTWavhrBk":113,"content-page-surround:docs:0niSmV3xs7EFC3DQT6RY-8CwfxaDZIsQbjuTWavhrBk":595,"i-logos:typescript-icon":605,"i-lucide:clipboard":609},[4,32,68,108],{"title":5,"id":6,"canonicalKey":7,"locale":8,"draft":9,"path":10,"children":11},"Getting started","content:docs:1.getting-started:.navigation.yml","1","en",false,"\u002Fdocs\u002Fgetting-started",[12,17,22,27],{"title":13,"id":14,"canonicalKey":15,"locale":8,"draft":9,"path":16},"Nuxt guide","content:docs:1.getting-started:2.nuxt.md","1\u002F2","\u002Fdocs\u002Fgetting-started\u002Fnuxt",{"title":18,"id":19,"canonicalKey":20,"locale":8,"draft":9,"path":21},"Vue guide","content:docs:1.getting-started:3.vue.md","1\u002F3","\u002Fdocs\u002Fgetting-started\u002Fvue",{"title":23,"id":24,"canonicalKey":25,"locale":8,"draft":9,"path":26},"Customize the tour","content:docs:1.getting-started:4.customization.md","1\u002F4","\u002Fdocs\u002Fgetting-started\u002Fcustomization",{"title":28,"id":29,"canonicalKey":30,"locale":8,"draft":9,"path":31},"Troubleshooting","content:docs:1.getting-started:5.troubleshooting.md","1\u002F5","\u002Fdocs\u002Fgetting-started\u002Ftroubleshooting",{"title":33,"id":34,"canonicalKey":35,"locale":8,"draft":9,"path":36,"children":37},"Recipes","content:docs:2.recipes:.navigation.yml","2","\u002Fdocs\u002Frecipes",[38,43,48,53,58,63],{"title":39,"id":40,"canonicalKey":41,"locale":8,"draft":9,"path":42},"Rich content and images","content:docs:2.recipes:2.rich-content.md","2\u002F2","\u002Fdocs\u002Frecipes\u002Frich-content",{"title":44,"id":45,"canonicalKey":46,"locale":8,"draft":9,"path":47},"Routes and dynamic targets","content:docs:2.recipes:3.routes-and-targets.md","2\u002F3","\u002Fdocs\u002Frecipes\u002Froutes-and-targets",{"title":49,"id":50,"canonicalKey":51,"locale":8,"draft":9,"path":52},"Conditions and preparation","content:docs:2.recipes:4.conditions-and-preparation.md","2\u002F4","\u002Fdocs\u002Frecipes\u002Fconditions-and-preparation",{"title":54,"id":55,"canonicalKey":56,"locale":8,"draft":9,"path":57},"Interaction and focus","content:docs:2.recipes:5.interaction-and-focus.md","2\u002F5","\u002Fdocs\u002Frecipes\u002Finteraction-and-focus",{"title":59,"id":60,"canonicalKey":61,"locale":8,"draft":9,"path":62},"Customization and labels","content:docs:2.recipes:6.customization.md","2\u002F6","\u002Fdocs\u002Frecipes\u002Fcustomization",{"title":64,"id":65,"canonicalKey":66,"locale":8,"draft":9,"path":67},"Events and progress","content:docs:2.recipes:7.events-and-progress.md","2\u002F7","\u002Fdocs\u002Frecipes\u002Fevents-and-progress",{"title":69,"page":9,"canonicalKey":70,"locale":8,"id":71,"draft":9,"children":72},"Design","3","content:docs:3.design:.navigation.yml",[73,78,83,88,93,98,103],{"title":74,"id":75,"canonicalKey":76,"locale":8,"draft":9,"path":77},"Product and scope","content:docs:3.design:1.product-and-scope.md","3\u002F1","\u002Fdocs\u002Fdesign\u002Fproduct-and-scope",{"title":79,"id":80,"canonicalKey":81,"locale":8,"draft":9,"path":82},"Public API","content:docs:3.design:2.public-api.md","3\u002F2","\u002Fdocs\u002Fdesign\u002Fpublic-api",{"title":84,"id":85,"canonicalKey":86,"locale":8,"draft":9,"path":87},"Runtime semantics","content:docs:3.design:3.runtime-semantics.md","3\u002F3","\u002Fdocs\u002Fdesign\u002Fruntime-semantics",{"title":89,"id":90,"canonicalKey":91,"locale":8,"draft":9,"path":92},"Nuxt and Vue integration","content:docs:3.design:4.nuxt-and-vue.md","3\u002F4","\u002Fdocs\u002Fdesign\u002Fnuxt-and-vue",{"title":94,"id":95,"canonicalKey":96,"locale":8,"draft":9,"path":97},"Rendering and accessibility","content:docs:3.design:5.rendering-and-accessibility.md","3\u002F5","\u002Fdocs\u002Fdesign\u002Frendering-and-accessibility",{"title":99,"id":100,"canonicalKey":101,"locale":8,"draft":9,"path":102},"Architecture and testing","content:docs:3.design:6.architecture-and-testing.md","3\u002F6","\u002Fdocs\u002Fdesign\u002Farchitecture-and-testing",{"title":104,"id":105,"canonicalKey":106,"locale":8,"draft":9,"path":107},"Research decisions","content:docs:3.design:7.research-decisions.md","3\u002F7","\u002Fdocs\u002Fdesign\u002Fresearch-decisions",{"title":109,"id":110,"canonicalKey":111,"locale":8,"draft":9,"path":112},"Implementation","content:docs:4.implementation:.navigation.yml","4","\u002Fdocs\u002Fimplementation",{"title":28,"description":114,"body":115,"type":582,"id":29,"canonicalKey":30,"draft":9,"partial":9,"locale":8,"collection":583,"navigationFile":9,"file":584,"route":590,"resolution":592},"Understand common errors, cancellation, conditional progress, and target diagnostics.",{"type":116,"children":117,"toc":574},"root",[118,127,141,404,409,416,508,513,519,542,548],{"type":119,"tag":120,"props":121,"children":123},"element","h1",{"id":122},"troubleshoot-a-tour",[124],{"type":125,"value":126},"text","Troubleshoot a tour",{"type":119,"tag":128,"props":129,"children":130},"p",{},[131,133,139],{"type":125,"value":132},"All controller commands return promises. Handle failures where the application\ncan recover, and subscribe to ",{"type":119,"tag":134,"props":135,"children":136},"code",{},[137],{"type":125,"value":138},"tour:error",{"type":125,"value":140}," for reporting:",{"type":119,"tag":142,"props":143,"children":146},"pre",{"language":144,"class":145},"ts","shiki shiki-themes material-theme-lighter material-theme-palenight dark:material-theme-palenight",[147],{"type":119,"tag":134,"props":148,"children":150},{"class":149},"language-ts",[151,206,208,211,212,277,278,300,301,313,314,317,318,331,332,359,360,367,368,386,387,396,397],{"type":119,"tag":152,"props":153,"children":156},"span",{"class":154,"style":155},"line","display: inline",[157,163,169,175,181,186,191,197,201],{"type":119,"tag":152,"props":158,"children":160},{"style":159},"color:#9C3EDA;--shiki-dark:#C792EA",[161],{"type":125,"value":162},"const",{"type":119,"tag":152,"props":164,"children":166},{"style":165},"color:#90A4AE;--shiki-dark:#BABED8",[167],{"type":125,"value":168}," tour ",{"type":119,"tag":152,"props":170,"children":172},{"style":171},"color:#39ADB5;--shiki-dark:#89DDFF",[173],{"type":125,"value":174},"=",{"type":119,"tag":152,"props":176,"children":178},{"style":177},"color:#6182B8;--shiki-dark:#82AAFF",[179],{"type":125,"value":180}," useNuxtTour",{"type":119,"tag":152,"props":182,"children":183},{"style":165},[184],{"type":125,"value":185},"(",{"type":119,"tag":152,"props":187,"children":188},{"style":171},[189],{"type":125,"value":190},"'",{"type":119,"tag":152,"props":192,"children":194},{"style":193},"color:#91B859;--shiki-dark:#C3E88D",[195],{"type":125,"value":196},"onboarding",{"type":119,"tag":152,"props":198,"children":199},{"style":171},[200],{"type":125,"value":190},{"type":119,"tag":152,"props":202,"children":203},{"style":165},[204],{"type":125,"value":205},")",{"type":125,"value":207},"\n",{"type":119,"tag":152,"props":209,"children":210},{"class":154,"style":155},[],{"type":125,"value":207},{"type":119,"tag":152,"props":213,"children":214},{"class":154,"style":155},[215,220,225,230,234,238,242,246,251,256,262,267,272],{"type":119,"tag":152,"props":216,"children":217},{"style":165},[218],{"type":125,"value":219},"tour",{"type":119,"tag":152,"props":221,"children":222},{"style":171},[223],{"type":125,"value":224},".",{"type":119,"tag":152,"props":226,"children":227},{"style":177},[228],{"type":125,"value":229},"on",{"type":119,"tag":152,"props":231,"children":232},{"style":165},[233],{"type":125,"value":185},{"type":119,"tag":152,"props":235,"children":236},{"style":171},[237],{"type":125,"value":190},{"type":119,"tag":152,"props":239,"children":240},{"style":193},[241],{"type":125,"value":138},{"type":119,"tag":152,"props":243,"children":244},{"style":171},[245],{"type":125,"value":190},{"type":119,"tag":152,"props":247,"children":248},{"style":171},[249],{"type":125,"value":250},",",{"type":119,"tag":152,"props":252,"children":253},{"style":171},[254],{"type":125,"value":255}," ({",{"type":119,"tag":152,"props":257,"children":259},{"style":258},"color:#90A4AE;--shiki-light-font-style:italic;--shiki-dark:#BABED8;--shiki-dark-font-style:italic",[260],{"type":125,"value":261}," error",{"type":119,"tag":152,"props":263,"children":264},{"style":171},[265],{"type":125,"value":266}," })",{"type":119,"tag":152,"props":268,"children":269},{"style":159},[270],{"type":125,"value":271}," =>",{"type":119,"tag":152,"props":273,"children":274},{"style":171},[275],{"type":125,"value":276}," {",{"type":125,"value":207},{"type":119,"tag":152,"props":279,"children":280},{"class":154,"style":155},[281,286,291,296],{"type":119,"tag":152,"props":282,"children":283},{"style":177},[284],{"type":125,"value":285},"  reportError",{"type":119,"tag":152,"props":287,"children":289},{"style":288},"color:#E53935;--shiki-dark:#F07178",[290],{"type":125,"value":185},{"type":119,"tag":152,"props":292,"children":293},{"style":165},[294],{"type":125,"value":295},"error",{"type":119,"tag":152,"props":297,"children":298},{"style":288},[299],{"type":125,"value":205},{"type":125,"value":207},{"type":119,"tag":152,"props":302,"children":303},{"class":154,"style":155},[304,309],{"type":119,"tag":152,"props":305,"children":306},{"style":171},[307],{"type":125,"value":308},"}",{"type":119,"tag":152,"props":310,"children":311},{"style":165},[312],{"type":125,"value":205},{"type":125,"value":207},{"type":119,"tag":152,"props":315,"children":316},{"class":154,"style":155},[],{"type":125,"value":207},{"type":119,"tag":152,"props":319,"children":320},{"class":154,"style":155},[321,327],{"type":119,"tag":152,"props":322,"children":324},{"style":323},"color:#39ADB5;--shiki-light-font-style:italic;--shiki-dark:#89DDFF;--shiki-dark-font-style:italic",[325],{"type":125,"value":326},"try",{"type":119,"tag":152,"props":328,"children":329},{"style":171},[330],{"type":125,"value":276},{"type":125,"value":207},{"type":119,"tag":152,"props":333,"children":334},{"class":154,"style":155},[335,340,345,349,354],{"type":119,"tag":152,"props":336,"children":337},{"style":323},[338],{"type":125,"value":339},"  await",{"type":119,"tag":152,"props":341,"children":342},{"style":165},[343],{"type":125,"value":344}," tour",{"type":119,"tag":152,"props":346,"children":347},{"style":171},[348],{"type":125,"value":224},{"type":119,"tag":152,"props":350,"children":351},{"style":177},[352],{"type":125,"value":353},"start",{"type":119,"tag":152,"props":355,"children":356},{"style":288},[357],{"type":125,"value":358},"()",{"type":125,"value":207},{"type":119,"tag":152,"props":361,"children":362},{"class":154,"style":155},[363],{"type":119,"tag":152,"props":364,"children":365},{"style":171},[366],{"type":125,"value":308},{"type":125,"value":207},{"type":119,"tag":152,"props":369,"children":370},{"class":154,"style":155},[371,376,381],{"type":119,"tag":152,"props":372,"children":373},{"style":323},[374],{"type":125,"value":375},"catch",{"type":119,"tag":152,"props":377,"children":378},{"style":165},[379],{"type":125,"value":380}," (error) ",{"type":119,"tag":152,"props":382,"children":383},{"style":171},[384],{"type":125,"value":385},"{",{"type":125,"value":207},{"type":119,"tag":152,"props":388,"children":389},{"class":154,"style":155},[390],{"type":119,"tag":152,"props":391,"children":393},{"style":392},"color:#90A4AE;--shiki-light-font-style:italic;--shiki-dark:#676E95;--shiki-dark-font-style:italic",[394],{"type":125,"value":395},"  \u002F\u002F Show application-specific recovery UI when useful.",{"type":125,"value":207},{"type":119,"tag":152,"props":398,"children":399},{"class":154,"style":155},[400],{"type":119,"tag":152,"props":401,"children":402},{"style":171},[403],{"type":125,"value":308},{"type":119,"tag":128,"props":405,"children":406},{},[407],{"type":125,"value":408},"Event listener failures are isolated from the runtime. A broken analytics\nlistener cannot cancel navigation.",{"type":119,"tag":410,"props":411,"children":413},"h2",{"id":412},"common-error-codes",[414],{"type":125,"value":415},"Common error codes",{"type":119,"tag":417,"props":418,"children":419},"ul",{},[420,438,448,458,468,498],{"type":119,"tag":421,"props":422,"children":423},"li",{},[424,429,431,436],{"type":119,"tag":134,"props":425,"children":426},{},[427],{"type":125,"value":428},"HOST_NOT_FOUND",{"type":125,"value":430},": mount one ",{"type":119,"tag":134,"props":432,"children":433},{},[434],{"type":125,"value":435},"\u003CTourHost \u002F>",{"type":125,"value":437}," before starting.",{"type":119,"tag":421,"props":439,"children":440},{},[441,446],{"type":119,"tag":134,"props":442,"children":443},{},[444],{"type":125,"value":445},"ROUTER_NOT_CONFIGURED",{"type":125,"value":447},": pass a router in plain Vue or remove the route.",{"type":119,"tag":421,"props":449,"children":450},{},[451,456],{"type":119,"tag":134,"props":452,"children":453},{},[454],{"type":125,"value":455},"TARGET_NOT_FOUND",{"type":125,"value":457},": confirm the semantic ID and target timeout.",{"type":119,"tag":421,"props":459,"children":460},{},[461,466],{"type":119,"tag":134,"props":462,"children":463},{},[464],{"type":125,"value":465},"TARGET_AMBIGUOUS",{"type":125,"value":467},": remove duplicate visible matches.",{"type":119,"tag":421,"props":469,"children":470},{},[471,476,478,483,485,490,492,497],{"type":119,"tag":134,"props":472,"children":473},{},[474],{"type":125,"value":475},"STEP_UNAVAILABLE",{"type":125,"value":477},": an exact ",{"type":119,"tag":134,"props":479,"children":480},{},[481],{"type":125,"value":482},"goTo()",{"type":125,"value":484}," or ",{"type":119,"tag":134,"props":486,"children":487},{},[488],{"type":125,"value":489},"start({ at })",{"type":125,"value":491}," failed its ",{"type":119,"tag":134,"props":493,"children":494},{},[495],{"type":125,"value":496},"when()",{"type":125,"value":224},{"type":119,"tag":421,"props":499,"children":500},{},[501,506],{"type":119,"tag":134,"props":502,"children":503},{},[504],{"type":125,"value":505},"TOUR_BUSY",{"type":125,"value":507},": wait for the current command instead of starting another one.",{"type":119,"tag":128,"props":509,"children":510},{},[511],{"type":125,"value":512},"If an active target disappears, the runtime keeps the shaded presentation and\nwaits for the same semantic target to return. The step's timeout and missing\npolicy decide whether it skips or fails.",{"type":119,"tag":410,"props":514,"children":516},{"id":515},"progress-and-conditions",[517],{"type":125,"value":518},"Progress and conditions",{"type":119,"tag":128,"props":520,"children":521},{},[522,527,529,534,536,540],{"type":119,"tag":134,"props":523,"children":524},{},[525],{"type":125,"value":526},"index",{"type":125,"value":528}," and ",{"type":119,"tag":134,"props":530,"children":531},{},[532],{"type":125,"value":533},"total",{"type":125,"value":535}," describe definition order. ",{"type":119,"tag":134,"props":537,"children":538},{},[539],{"type":125,"value":533},{"type":125,"value":541}," includes conditional\nsteps because evaluating every asynchronous condition early would cause side\neffects and stale results. A displayed “Step 2 of 5” can therefore be the last\neligible step.",{"type":119,"tag":410,"props":543,"children":545},{"id":544},"persistence",[546],{"type":125,"value":547},"Persistence",{"type":119,"tag":128,"props":549,"children":550},{},[551,553,558,560,565,567,572],{"type":125,"value":552},"Keep completion in the application, not the tour runtime. Store a versioned\nflag after ",{"type":119,"tag":134,"props":554,"children":555},{},[556],{"type":125,"value":557},"tour:end",{"type":125,"value":559}," reports ",{"type":119,"tag":134,"props":561,"children":562},{},[563],{"type":125,"value":564},"completed",{"type":125,"value":566},", and decide when to call ",{"type":119,"tag":134,"props":568,"children":569},{},[570],{"type":125,"value":571},"start()",{"type":125,"value":573},".\nThis keeps product state in one source of truth and avoids a second persistence\nsystem inside the library.",{"title":575,"searchDepth":576,"depth":576,"links":577},"",4,[578,580,581],{"id":412,"depth":579,"text":415},2,{"id":515,"depth":579,"text":518},{"id":544,"depth":579,"text":547},"markdown","docs",{"source":585,"path":586,"stem":587,"dir":588,"extension":589},"content","docs\u002F1.getting-started\u002F5.troubleshooting.md","docs\u002F1.getting-started\u002F5.troubleshooting","getting-started","md",{"requestedPath":31,"resolvedPath":31,"alternates":591},[],{"requested":593,"resolved":594,"usedFallback":9},{},{"locale":8},{"previous":596,"next":597},{"title":23,"id":24,"canonicalKey":25,"locale":8,"draft":9,"path":26},{"title":33,"id":34,"canonicalKey":35,"locale":8,"draft":9,"path":36,"children":598},[599,600,601,602,603,604],{"title":39,"id":40,"canonicalKey":41,"locale":8,"draft":9,"path":42},{"title":44,"id":45,"canonicalKey":46,"locale":8,"draft":9,"path":47},{"title":49,"id":50,"canonicalKey":51,"locale":8,"draft":9,"path":52},{"title":54,"id":55,"canonicalKey":56,"locale":8,"draft":9,"path":57},{"title":59,"id":60,"canonicalKey":61,"locale":8,"draft":9,"path":62},{"title":64,"id":65,"canonicalKey":66,"locale":8,"draft":9,"path":67},{"left":606,"top":606,"width":607,"height":607,"rotate":606,"vFlip":9,"hFlip":9,"body":608},0,256,"\u003Cpath fill=\"#3178c6\" d=\"M20 0h216c11.046 0 20 8.954 20 20v216c0 11.046-8.954 20-20 20H20c-11.046 0-20-8.954-20-20V20C0 8.954 8.954 0 20 0\"\u002F>\u003Cpath fill=\"#fff\" d=\"M150.518 200.475v27.62q6.738 3.453 15.938 5.179T185.849 235q9.934 0 18.874-1.899t15.678-6.257q6.738-4.359 10.669-11.394q3.93-7.033 3.93-17.391q0-7.51-2.246-13.163a30.8 30.8 0 0 0-6.479-10.055q-4.232-4.402-10.149-7.898t-13.347-6.602q-5.442-2.245-9.761-4.359t-7.342-4.316q-3.024-2.2-4.665-4.661t-1.641-5.567q0-2.848 1.468-5.135q1.469-2.288 4.147-3.927t6.565-2.547q3.887-.906 8.638-.906q3.456 0 7.299.518q3.844.517 7.732 1.597a54 54 0 0 1 7.558 2.719a41.7 41.7 0 0 1 6.781 3.797v-25.807q-6.306-2.417-13.778-3.582T198.633 107q-9.847 0-18.658 2.115q-8.811 2.114-15.506 6.602q-6.694 4.49-10.582 11.437Q150 134.102 150 143.769q0 12.342 7.127 21.06t21.638 14.759a292 292 0 0 1 10.625 4.575q4.924 2.244 8.509 4.66t5.658 5.265t2.073 6.474a9.9 9.9 0 0 1-1.296 4.963q-1.295 2.287-3.93 3.97t-6.565 2.632t-9.2.95q-8.983 0-17.794-3.151t-16.327-9.451m-46.036-68.733H140V109H41v22.742h35.345V233h28.137z\"\u002F>",{"left":606,"top":606,"width":610,"height":610,"rotate":606,"vFlip":9,"hFlip":9,"body":611},24,"\u003Cg fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\">\u003Crect width=\"8\" height=\"4\" x=\"8\" y=\"2\" rx=\"1\" ry=\"1\"\u002F>\u003Cpath d=\"M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2\"\u002F>\u003C\u002Fg>",1788188687006]