[{"data":1,"prerenderedAt":1108},["ShallowReactive",2],{"docs-navigation:en":3,"content-page:docs:r7mFwflkf56zXQJO7noFmlwPnSQ-m65h_w2tbc3jYAg":133,"content-page-surround:docs:r7mFwflkf56zXQJO7noFmlwPnSQ-m65h_w2tbc3jYAg":1098,"i-logos:typescript-icon":1101,"i-lucide:clipboard":1105},[4,25,73,121,127],{"title":5,"id":6,"canonicalKey":7,"locale":8,"draft":9,"icon":10,"sidebar":11,"path":12,"children":13},"Getting Started","content:docs:1.getting-started:.navigation.yml","1","en",false,"lucide:rocket","group","\u002Fdocs\u002Fgetting-started",[14,20],{"title":15,"id":16,"canonicalKey":17,"locale":8,"draft":9,"icon":18,"path":19},"Installation","content:docs:1.getting-started:2.installation.md","1\u002F2","lucide:download","\u002Fdocs\u002Fgetting-started\u002Finstallation",{"title":21,"id":22,"canonicalKey":23,"locale":8,"draft":9,"icon":10,"path":24},"Quickstart","content:docs:1.getting-started:3.quickstart.md","1\u002F3","\u002Fdocs\u002Fgetting-started\u002Fquickstart",{"title":26,"page":9,"canonicalKey":27,"locale":8,"id":28,"draft":9,"icon":29,"sidebar":11,"children":30},"Guides","2","content:docs:2.guides:.navigation.yml","lucide:compass",[31,37,43,49,55,61,67],{"title":32,"id":33,"canonicalKey":34,"locale":8,"draft":9,"icon":35,"path":36},"Authoring","content:docs:2.guides:1.authoring.md","2\u002F1","lucide:component","\u002Fdocs\u002Fguides\u002Fauthoring",{"title":38,"id":39,"canonicalKey":40,"locale":8,"draft":9,"icon":41,"path":42},"Contents, links & bookmarks","content:docs:2.guides:2.contents-links-bookmarks.md","2\u002F2","lucide:list-tree","\u002Fdocs\u002Fguides\u002Fcontents-links-bookmarks",{"title":44,"id":45,"canonicalKey":46,"locale":8,"draft":9,"icon":47,"path":48},"Images & fonts","content:docs:2.guides:3.images-and-fonts.md","2\u002F3","lucide:image","\u002Fdocs\u002Fguides\u002Fimages-and-fonts",{"title":50,"id":51,"canonicalKey":52,"locale":8,"draft":9,"icon":53,"path":54},"SVG graphics","content:docs:2.guides:4.svg-graphics.md","2\u002F4","lucide:shapes","\u002Fdocs\u002Fguides\u002Fsvg-graphics",{"title":56,"id":57,"canonicalKey":58,"locale":8,"draft":9,"icon":59,"path":60},"Errors & debugging","content:docs:2.guides:5.errors-and-debugging.md","2\u002F5","lucide:bug","\u002Fdocs\u002Fguides\u002Ferrors-and-debugging",{"title":62,"id":63,"canonicalKey":64,"locale":8,"draft":9,"icon":65,"path":66},"Testing your PDFs","content:docs:2.guides:6.testing.md","2\u002F6","lucide:flask-conical","\u002Fdocs\u002Fguides\u002Ftesting",{"title":68,"id":69,"canonicalKey":70,"locale":8,"draft":9,"icon":71,"path":72},"Production recipes","content:docs:2.guides:7.recipes.md","2\u002F7","lucide:notebook-tabs","\u002Fdocs\u002Fguides\u002Frecipes",{"title":74,"page":9,"canonicalKey":75,"locale":8,"id":76,"draft":9,"icon":77,"sidebar":11,"children":78},"Reference","3","content:docs:3.reference:.navigation.yml","lucide:book-marked",[79,85,91,97,103,109,115],{"title":80,"id":81,"canonicalKey":82,"locale":8,"draft":9,"icon":83,"path":84},"definePdf","content:docs:3.reference:1.define-pdf.md","3\u002F1","lucide:settings-2","\u002Fdocs\u002Freference\u002Fdefine-pdf",{"title":86,"id":87,"canonicalKey":88,"locale":8,"draft":9,"icon":89,"path":90},"The #pdf registry","content:docs:3.reference:2.registry.md","3\u002F2","lucide:braces","\u002Fdocs\u002Freference\u002Fregistry",{"title":92,"id":93,"canonicalKey":94,"locale":8,"draft":9,"icon":95,"path":96},"Module options","content:docs:3.reference:3.module-options.md","3\u002F3","lucide:sliders","\u002Fdocs\u002Freference\u002Fmodule-options",{"title":98,"id":99,"canonicalKey":100,"locale":8,"draft":9,"icon":101,"path":102},"Primitives","content:docs:3.reference:4.primitives.md","3\u002F4","lucide:box","\u002Fdocs\u002Freference\u002Fprimitives",{"title":104,"id":105,"canonicalKey":106,"locale":8,"draft":9,"icon":107,"path":108},"Composables","content:docs:3.reference:5.composables.md","3\u002F5","lucide:function-square","\u002Fdocs\u002Freference\u002Fcomposables",{"title":110,"id":111,"canonicalKey":112,"locale":8,"draft":9,"icon":113,"path":114},"Test utilities","content:docs:3.reference:6.test-utilities.md","3\u002F6","lucide:test-tube","\u002Fdocs\u002Freference\u002Ftest-utilities",{"title":116,"id":117,"canonicalKey":118,"locale":8,"draft":9,"icon":119,"path":120},"Styles","content:docs:3.reference:7.styles.md","3\u002F7","lucide:palette","\u002Fdocs\u002Freference\u002Fstyles",{"title":122,"id":123,"canonicalKey":124,"locale":8,"draft":9,"icon":125,"sidebar":11,"path":126},"Conformance & Philosophy","content:docs:4.conformance:.navigation.yml","4","lucide:scale","\u002Fdocs\u002Fconformance",{"title":128,"id":129,"canonicalKey":130,"locale":8,"draft":9,"icon":131,"sidebar":11,"path":132},"Examples","content:docs:5.examples:.navigation.yml","5","lucide:layout-grid","\u002Fdocs\u002Fexamples",{"title":56,"description":134,"icon":59,"body":135,"type":1084,"id":57,"canonicalKey":58,"draft":9,"partial":9,"locale":8,"collection":1085,"navigationFile":9,"file":1086,"resolvedRefs":1092,"route":1093,"resolution":1095},"The error taxonomy, template attribution on failure, and the diagnostics the development preview surfaces.",{"type":136,"children":137,"toc":1074},"root",[138,181,188,363,380,386,395,784,802,808,855,861,871,932,950,957,974,980],{"type":139,"tag":140,"props":141,"children":142},"element","p",{},[143,146,152,154,159,161,165,167,172,174,179],{"type":144,"value":145},"text","Render failures are typed and attributed. Every error surfaced from a template's\n",{"type":139,"tag":147,"props":148,"children":149},"code",{},[150],{"type":144,"value":151},"render()",{"type":144,"value":153}," is a ",{"type":139,"tag":147,"props":155,"children":156},{},[157],{"type":144,"value":158},"NuxtPdfError",{"type":144,"value":160}," carrying a machine-readable ",{"type":139,"tag":147,"props":162,"children":163},{},[164],{"type":144,"value":147},{"type":144,"value":166}," and the\n",{"type":139,"tag":147,"props":168,"children":169},{},[170],{"type":144,"value":171},"templateKey",{"type":144,"value":173},". Development renders also carry ",{"type":139,"tag":147,"props":175,"children":176},{},[177],{"type":144,"value":178},"templateFile",{"type":144,"value":180}," and prefix the\nmessage with the source path; production deliberately omits that preview-only\nsource attribution.",{"type":139,"tag":182,"props":183,"children":185},"h2",{"id":184},"the-error-taxonomy",[186],{"type":144,"value":187},"The error taxonomy",{"type":139,"tag":189,"props":190,"children":191},"table",{},[192,211],{"type":139,"tag":193,"props":194,"children":195},"thead",{},[196],{"type":139,"tag":197,"props":198,"children":199},"tr",{},[200,206],{"type":139,"tag":201,"props":202,"children":203},"th",{},[204],{"type":144,"value":205},"Code",{"type":139,"tag":201,"props":207,"children":208},{},[209],{"type":144,"value":210},"Meaning",{"type":139,"tag":212,"props":213,"children":214},"tbody",{},[215,232,255,271,294,315,331,347],{"type":139,"tag":197,"props":216,"children":217},{},[218,227],{"type":139,"tag":219,"props":220,"children":221},"td",{},[222],{"type":139,"tag":147,"props":223,"children":224},{},[225],{"type":144,"value":226},"PDF_TEMPLATE_NOT_FOUND",{"type":139,"tag":219,"props":228,"children":229},{},[230],{"type":144,"value":231},"No template matches the requested name",{"type":139,"tag":197,"props":233,"children":234},{},[235,243],{"type":139,"tag":219,"props":236,"children":237},{},[238],{"type":139,"tag":147,"props":239,"children":240},{},[241],{"type":144,"value":242},"PDF_TEMPLATE_INVALID",{"type":139,"tag":219,"props":244,"children":245},{},[246,248,253],{"type":144,"value":247},"The template misuses the API. For example, it calls ",{"type":139,"tag":147,"props":249,"children":250},{},[251],{"type":144,"value":252},"usePdfPageNumbers()",{"type":144,"value":254}," outside a PDF render.",{"type":139,"tag":197,"props":256,"children":257},{},[258,266],{"type":139,"tag":219,"props":259,"children":260},{},[261],{"type":139,"tag":147,"props":262,"children":263},{},[264],{"type":144,"value":265},"PDF_TREE_INVALID",{"type":139,"tag":219,"props":267,"children":268},{},[269],{"type":144,"value":270},"Invalid root\u002Fnesting, SVG references, or props outside a primitive's closed runtime surface",{"type":139,"tag":197,"props":272,"children":273},{},[274,282],{"type":139,"tag":219,"props":275,"children":276},{},[277],{"type":139,"tag":147,"props":278,"children":279},{},[280],{"type":144,"value":281},"PDF_LAYOUT_ERROR",{"type":139,"tag":219,"props":283,"children":284},{},[285,287,292],{"type":144,"value":286},"The layout engine rejected the tree. This error includes font resolution failures (",{"type":139,"tag":147,"props":288,"children":289},{},[290],{"type":144,"value":291},"\"Font family not registered\"",{"type":144,"value":293},").",{"type":139,"tag":197,"props":295,"children":296},{},[297,305],{"type":139,"tag":219,"props":298,"children":299},{},[300],{"type":139,"tag":147,"props":301,"children":302},{},[303],{"type":144,"value":304},"PDF_LIMIT_EXCEEDED",{"type":139,"tag":219,"props":306,"children":307},{},[308,310],{"type":144,"value":309},"The multi-pass loop did not converge within ",{"type":139,"tag":147,"props":311,"children":312},{},[313],{"type":144,"value":314},"maxPasses",{"type":139,"tag":197,"props":316,"children":317},{},[318,326],{"type":139,"tag":219,"props":319,"children":320},{},[321],{"type":139,"tag":147,"props":322,"children":323},{},[324],{"type":144,"value":325},"PDF_ASSET_INVALID",{"type":139,"tag":219,"props":327,"children":328},{},[329],{"type":144,"value":330},"A local asset failed extension, signature, size, or containment validation",{"type":139,"tag":197,"props":332,"children":333},{},[334,342],{"type":139,"tag":219,"props":335,"children":336},{},[337],{"type":139,"tag":147,"props":338,"children":339},{},[340],{"type":144,"value":341},"PDF_ASSET_BLOCKED",{"type":139,"tag":219,"props":343,"children":344},{},[345],{"type":144,"value":346},"A remote asset was refused by the allowlist, timed out, exceeded its cap, or was otherwise blocked",{"type":139,"tag":197,"props":348,"children":349},{},[350,358],{"type":139,"tag":219,"props":351,"children":352},{},[353],{"type":139,"tag":147,"props":354,"children":355},{},[356],{"type":144,"value":357},"PDF_RENDER_ERROR",{"type":139,"tag":219,"props":359,"children":360},{},[361],{"type":144,"value":362},"A render failure that does not fall into a more specific category",{"type":139,"tag":140,"props":364,"children":365},{},[366,368,372,374,378],{"type":144,"value":367},"Font-resolution failures deliberately surface as a single ",{"type":139,"tag":147,"props":369,"children":370},{},[371],{"type":144,"value":281},{"type":144,"value":373},"\n(font resolution is a layout sub-stage) and preserve React PDF's exact\n",{"type":139,"tag":147,"props":375,"children":376},{},[377],{"type":144,"value":291},{"type":144,"value":379}," text.",{"type":139,"tag":182,"props":381,"children":383},{"id":382},"template-attribution",[384],{"type":144,"value":385},"Template attribution",{"type":139,"tag":140,"props":387,"children":388},{},[389,393],{"type":139,"tag":147,"props":390,"children":391},{},[392],{"type":144,"value":158},{"type":144,"value":394}," is thrown with the failing template's identity attached, so you\ncan log or branch on it precisely:",{"type":139,"tag":396,"props":397,"children":402},"pre",{"language":398,"filename":399,"class":400,"tabindex":401},"ts","server\u002Fapi\u002Freport.get.ts","shiki shiki-themes light-plus dark-plus dark:dark-plus","0",[403],{"type":139,"tag":147,"props":404,"children":406},{"class":405},"language-ts",[407,456,458,461,462,507,508,520,521,583,584,610,611,619,620,643,644,675,676,744,745,753,754,767,768,775,776],{"type":139,"tag":408,"props":409,"children":412},"span",{"class":410,"style":411},"line","display: inline",[413,419,425,430,435,440,445,450],{"type":139,"tag":408,"props":414,"children":416},{"style":415},"color:#AF00DB;--shiki-dark:#C586C0",[417],{"type":144,"value":418},"import",{"type":139,"tag":408,"props":420,"children":422},{"style":421},"color:#000000;--shiki-dark:#D4D4D4",[423],{"type":144,"value":424}," { ",{"type":139,"tag":408,"props":426,"children":428},{"style":427},"color:#001080;--shiki-dark:#9CDCFE",[429],{"type":144,"value":158},{"type":139,"tag":408,"props":431,"children":432},{"style":421},[433],{"type":144,"value":434},", ",{"type":139,"tag":408,"props":436,"children":437},{"style":427},[438],{"type":144,"value":439},"pdf",{"type":139,"tag":408,"props":441,"children":442},{"style":421},[443],{"type":144,"value":444}," } ",{"type":139,"tag":408,"props":446,"children":447},{"style":415},[448],{"type":144,"value":449},"from",{"type":139,"tag":408,"props":451,"children":453},{"style":452},"color:#A31515;--shiki-dark:#CE9178",[454],{"type":144,"value":455}," '#pdf'",{"type":144,"value":457},"\n",{"type":139,"tag":408,"props":459,"children":460},{"class":410,"style":411},[],{"type":144,"value":457},{"type":139,"tag":408,"props":463,"children":464},{"class":410,"style":411},[465,470,475,481,486,492,497,502],{"type":139,"tag":408,"props":466,"children":467},{"style":415},[468],{"type":144,"value":469},"export",{"type":139,"tag":408,"props":471,"children":472},{"style":415},[473],{"type":144,"value":474}," default",{"type":139,"tag":408,"props":476,"children":478},{"style":477},"color:#795E26;--shiki-dark:#DCDCAA",[479],{"type":144,"value":480}," defineEventHandler",{"type":139,"tag":408,"props":482,"children":483},{"style":421},[484],{"type":144,"value":485},"(",{"type":139,"tag":408,"props":487,"children":489},{"style":488},"color:#0000FF;--shiki-dark:#569CD6",[490],{"type":144,"value":491},"async",{"type":139,"tag":408,"props":493,"children":494},{"style":421},[495],{"type":144,"value":496}," () ",{"type":139,"tag":408,"props":498,"children":499},{"style":488},[500],{"type":144,"value":501},"=>",{"type":139,"tag":408,"props":503,"children":504},{"style":421},[505],{"type":144,"value":506}," {",{"type":144,"value":457},{"type":139,"tag":408,"props":509,"children":510},{"class":410,"style":411},[511,516],{"type":139,"tag":408,"props":512,"children":513},{"style":415},[514],{"type":144,"value":515},"  try",{"type":139,"tag":408,"props":517,"children":518},{"style":421},[519],{"type":144,"value":506},{"type":144,"value":457},{"type":139,"tag":408,"props":522,"children":523},{"class":410,"style":411},[524,529,535,540,545,550,555,560,564,569,573,578],{"type":139,"tag":408,"props":525,"children":526},{"style":488},[527],{"type":144,"value":528},"    const",{"type":139,"tag":408,"props":530,"children":532},{"style":531},"color:#0070C1;--shiki-dark:#4FC1FF",[533],{"type":144,"value":534}," result",{"type":139,"tag":408,"props":536,"children":537},{"style":421},[538],{"type":144,"value":539}," = ",{"type":139,"tag":408,"props":541,"children":542},{"style":415},[543],{"type":144,"value":544},"await",{"type":139,"tag":408,"props":546,"children":547},{"style":427},[548],{"type":144,"value":549}," pdf",{"type":139,"tag":408,"props":551,"children":552},{"style":421},[553],{"type":144,"value":554},".",{"type":139,"tag":408,"props":556,"children":557},{"style":427},[558],{"type":144,"value":559},"report",{"type":139,"tag":408,"props":561,"children":562},{"style":421},[563],{"type":144,"value":554},{"type":139,"tag":408,"props":565,"children":566},{"style":477},[567],{"type":144,"value":568},"render",{"type":139,"tag":408,"props":570,"children":571},{"style":421},[572],{"type":144,"value":485},{"type":139,"tag":408,"props":574,"children":575},{"style":427},[576],{"type":144,"value":577},"props",{"type":139,"tag":408,"props":579,"children":580},{"style":421},[581],{"type":144,"value":582},")",{"type":144,"value":457},{"type":139,"tag":408,"props":585,"children":586},{"class":410,"style":411},[587,592,596,600,605],{"type":139,"tag":408,"props":588,"children":589},{"style":415},[590],{"type":144,"value":591},"    return",{"type":139,"tag":408,"props":593,"children":594},{"style":427},[595],{"type":144,"value":534},{"type":139,"tag":408,"props":597,"children":598},{"style":421},[599],{"type":144,"value":554},{"type":139,"tag":408,"props":601,"children":602},{"style":477},[603],{"type":144,"value":604},"response",{"type":139,"tag":408,"props":606,"children":607},{"style":421},[608],{"type":144,"value":609},"()",{"type":144,"value":457},{"type":139,"tag":408,"props":612,"children":613},{"class":410,"style":411},[614],{"type":139,"tag":408,"props":615,"children":616},{"style":421},[617],{"type":144,"value":618},"  }",{"type":144,"value":457},{"type":139,"tag":408,"props":621,"children":622},{"class":410,"style":411},[623,628,633,638],{"type":139,"tag":408,"props":624,"children":625},{"style":415},[626],{"type":144,"value":627},"  catch",{"type":139,"tag":408,"props":629,"children":630},{"style":421},[631],{"type":144,"value":632}," (",{"type":139,"tag":408,"props":634,"children":635},{"style":427},[636],{"type":144,"value":637},"error",{"type":139,"tag":408,"props":639,"children":640},{"style":421},[641],{"type":144,"value":642},") {",{"type":144,"value":457},{"type":139,"tag":408,"props":645,"children":646},{"class":410,"style":411},[647,652,656,660,665,671],{"type":139,"tag":408,"props":648,"children":649},{"style":415},[650],{"type":144,"value":651},"    if",{"type":139,"tag":408,"props":653,"children":654},{"style":421},[655],{"type":144,"value":632},{"type":139,"tag":408,"props":657,"children":658},{"style":427},[659],{"type":144,"value":637},{"type":139,"tag":408,"props":661,"children":662},{"style":488},[663],{"type":144,"value":664}," instanceof",{"type":139,"tag":408,"props":666,"children":668},{"style":667},"color:#267F99;--shiki-dark:#4EC9B0",[669],{"type":144,"value":670}," NuxtPdfError",{"type":139,"tag":408,"props":672,"children":673},{"style":421},[674],{"type":144,"value":642},{"type":144,"value":457},{"type":139,"tag":408,"props":677,"children":678},{"class":410,"style":411},[679,684,688,692,696,700,704,708,712,716,720,724,728,732,736,740],{"type":139,"tag":408,"props":680,"children":681},{"style":427},[682],{"type":144,"value":683},"      console",{"type":139,"tag":408,"props":685,"children":686},{"style":421},[687],{"type":144,"value":554},{"type":139,"tag":408,"props":689,"children":690},{"style":477},[691],{"type":144,"value":637},{"type":139,"tag":408,"props":693,"children":694},{"style":421},[695],{"type":144,"value":485},{"type":139,"tag":408,"props":697,"children":698},{"style":427},[699],{"type":144,"value":637},{"type":139,"tag":408,"props":701,"children":702},{"style":421},[703],{"type":144,"value":554},{"type":139,"tag":408,"props":705,"children":706},{"style":427},[707],{"type":144,"value":147},{"type":139,"tag":408,"props":709,"children":710},{"style":421},[711],{"type":144,"value":434},{"type":139,"tag":408,"props":713,"children":714},{"style":427},[715],{"type":144,"value":637},{"type":139,"tag":408,"props":717,"children":718},{"style":421},[719],{"type":144,"value":554},{"type":139,"tag":408,"props":721,"children":722},{"style":427},[723],{"type":144,"value":171},{"type":139,"tag":408,"props":725,"children":726},{"style":421},[727],{"type":144,"value":434},{"type":139,"tag":408,"props":729,"children":730},{"style":427},[731],{"type":144,"value":637},{"type":139,"tag":408,"props":733,"children":734},{"style":421},[735],{"type":144,"value":554},{"type":139,"tag":408,"props":737,"children":738},{"style":427},[739],{"type":144,"value":178},{"type":139,"tag":408,"props":741,"children":742},{"style":421},[743],{"type":144,"value":582},{"type":144,"value":457},{"type":139,"tag":408,"props":746,"children":747},{"class":410,"style":411},[748],{"type":139,"tag":408,"props":749,"children":750},{"style":421},[751],{"type":144,"value":752},"    }",{"type":144,"value":457},{"type":139,"tag":408,"props":755,"children":756},{"class":410,"style":411},[757,762],{"type":139,"tag":408,"props":758,"children":759},{"style":415},[760],{"type":144,"value":761},"    throw",{"type":139,"tag":408,"props":763,"children":764},{"style":427},[765],{"type":144,"value":766}," error",{"type":144,"value":457},{"type":139,"tag":408,"props":769,"children":770},{"class":410,"style":411},[771],{"type":139,"tag":408,"props":772,"children":773},{"style":421},[774],{"type":144,"value":618},{"type":144,"value":457},{"type":139,"tag":408,"props":777,"children":778},{"class":410,"style":411},[779],{"type":139,"tag":408,"props":780,"children":781},{"style":421},[782],{"type":144,"value":783},"})",{"type":139,"tag":140,"props":785,"children":786},{},[787,789,794,796,800],{"type":144,"value":788},"The message itself is always prefixed with the template name. In development it\nalso includes the source file in ",{"type":139,"tag":147,"props":790,"children":791},{},[792],{"type":144,"value":793},"pdfs\u002F",{"type":144,"value":795},", so an unhandled preview error points\nstraight to the authoring file. Invalid nesting, unknown or misplaced props,\nDOM\u002Fevent attributes, and invalid SVG references fail with ",{"type":139,"tag":147,"props":797,"children":798},{},[799],{"type":144,"value":265},{"type":144,"value":801},";\nNuxt PDF does not return a partially pruned document or silently forward\nunsupported input to the engine.",{"type":139,"tag":182,"props":803,"children":805},{"id":804},"production-render-diagnostics",[806],{"type":144,"value":807},"Production render diagnostics",{"type":139,"tag":140,"props":809,"children":810},{},[811,813,818,820,825,827,832,834,839,841,846,848,853],{"type":144,"value":812},"Every successful ",{"type":139,"tag":147,"props":814,"children":815},{},[816],{"type":144,"value":817},"PdfRenderResult",{"type":144,"value":819}," exposes frozen ",{"type":139,"tag":147,"props":821,"children":822},{},[823],{"type":144,"value":824},"metadata",{"type":144,"value":826}," for that completed\nrender. Its ",{"type":139,"tag":147,"props":828,"children":829},{},[830],{"type":144,"value":831},"title",{"type":144,"value":833}," and ",{"type":139,"tag":147,"props":835,"children":836},{},[837],{"type":144,"value":838},"language",{"type":144,"value":840}," reflect the PDF Info fields; ",{"type":139,"tag":147,"props":842,"children":843},{},[844],{"type":144,"value":845},"filename",{"type":144,"value":847}," is\nresponse\u002Fdownload metadata and is not embedded as PDF Info. The result also\nexposes the same immutable ",{"type":139,"tag":147,"props":849,"children":850},{},[851],{"type":144,"value":852},"diagnostics",{"type":144,"value":854}," object shown by the preview: duration,\nbyte length, page count, layout passes, and registered font faces. Diagnostics\ncontain no document content, props, or resource URLs, so an application can\nforward them to its own metrics layer.",{"type":139,"tag":182,"props":856,"children":858},{"id":857},"the-development-preview-as-a-debugger",[859],{"type":144,"value":860},"The development preview as a debugger",{"type":139,"tag":140,"props":862,"children":863},{},[864,869],{"type":139,"tag":147,"props":865,"children":866},{},[867],{"type":144,"value":868},"\u002F_pdf",{"type":144,"value":870}," is where you live while building a document. Each viewer page:",{"type":139,"tag":872,"props":873,"children":874},"ul",{},[875,895,907,920],{"type":139,"tag":876,"props":877,"children":878},"li",{},[879,881,886,888,893],{"type":144,"value":880},"offers the ",{"type":139,"tag":147,"props":882,"children":883},{},[884],{"type":144,"value":885},"sampleData",{"type":144,"value":887}," and every named scenario as tabs that swap the embedded\nPDF (an unknown ",{"type":139,"tag":147,"props":889,"children":890},{},[891],{"type":144,"value":892},"?scenario=",{"type":144,"value":894}," 404s with the available names);",{"type":139,"tag":876,"props":896,"children":897},{},[898,900,905],{"type":144,"value":899},"calls the public template's ",{"type":139,"tag":147,"props":901,"children":902},{},[903],{"type":144,"value":904},"render(props)",{"type":144,"value":906}," once and embeds that exact\ncompleted result. There is no preview-specific rendering path;",{"type":139,"tag":876,"props":908,"children":909},{},[910,912,918],{"type":144,"value":911},"shows the result's ",{"type":139,"tag":913,"props":914,"children":915},"strong",{},[916],{"type":144,"value":917},"same diagnostics object",{"type":144,"value":919},", including duration and output\nsize, page count, and the number of layout passes; and",{"type":139,"tag":876,"props":921,"children":922},{},[923,925,930],{"type":144,"value":924},"replaces the document with a ",{"type":139,"tag":913,"props":926,"children":927},{},[928],{"type":144,"value":929},"safe error panel",{"type":144,"value":931}," that shows the code, template, and relative\nsource attribution, and a content-free summary, with no stack, props, customer\ntext, URL, or absolute path. If that scenario rendered successfully before,\nthe previous PDF stays visible with an explicit stale marker.",{"type":139,"tag":140,"props":933,"children":934},{},[935,937,941,943,949],{"type":144,"value":936},"The layout-pass count is a useful debugging signal: a plain document reports one\npass; a table of contents reports two; a count that climbs toward ",{"type":139,"tag":147,"props":938,"children":939},{},[940],{"type":144,"value":314},{"type":144,"value":942},"\nmeans the document is struggling to converge (see\n",{"type":139,"tag":944,"props":945,"children":947},"a",{"href":946},"$docs\u002Fguides\u002Fcontents-links-bookmarks",[948],{"type":144,"value":38},{"type":144,"value":293},{"type":139,"tag":951,"props":952,"children":954},"info",{"icon":953},"lucide:info",[955],{"type":144,"value":956},"A development-only Vite event reloads the viewer after PDF SFC changes and the\nscenario query remains active. Refresh, raw-inline, and download actions remain\navailable explicitly.",{"type":139,"tag":140,"props":958,"children":959},{},[960,962,966,967,972],{"type":144,"value":961},"The preview fixture sidecar and its source paths exist only in development.\nProduction compilation omits ",{"type":139,"tag":147,"props":963,"children":964},{},[965],{"type":144,"value":885},{"type":144,"value":833},{"type":139,"tag":147,"props":968,"children":969},{},[970],{"type":144,"value":971},"scenarios",{"type":144,"value":973}," from the template\nmodule itself, and an artifact test rejects their canary values or preview-only\nAPI tokens anywhere in the emitted Nitro server bundle.",{"type":139,"tag":182,"props":975,"children":977},{"id":976},"common-failures",[978],{"type":144,"value":979},"Common failures",{"type":139,"tag":872,"props":981,"children":982},{},[983,1018,1045,1057],{"type":139,"tag":876,"props":984,"children":985},{},[986,1002,1004,1009,1011,1016],{"type":139,"tag":913,"props":987,"children":988},{},[989,994,996,1000],{"type":139,"tag":147,"props":990,"children":991},{},[992],{"type":144,"value":993},"#pdf",{"type":144,"value":995}," is untyped or ",{"type":139,"tag":147,"props":997,"children":998},{},[999],{"type":144,"value":868},{"type":144,"value":1001}," returns 404",{"type":144,"value":1003}," right after you enable the module.\nrestart ",{"type":139,"tag":147,"props":1005,"children":1006},{},[1007],{"type":144,"value":1008},"nuxt dev",{"type":144,"value":1010}," or run ",{"type":139,"tag":147,"props":1012,"children":1013},{},[1014],{"type":144,"value":1015},"nuxt prepare",{"type":144,"value":1017}," so Nuxt writes the registry.",{"type":139,"tag":876,"props":1019,"children":1020},{},[1021,1029,1031,1036,1038,1043],{"type":139,"tag":913,"props":1022,"children":1023},{},[1024],{"type":139,"tag":147,"props":1025,"children":1026},{},[1027],{"type":144,"value":1028},"PDF_LAYOUT_ERROR: Font family not registered",{"type":144,"value":1030}," means that the ",{"type":139,"tag":147,"props":1032,"children":1033},{},[1034],{"type":144,"value":1035},"fontFamily",{"type":144,"value":1037}," in a\nstyle is not declared in ",{"type":139,"tag":147,"props":1039,"children":1040},{},[1041],{"type":144,"value":1042},"pdf.fonts",{"type":144,"value":1044},", or the face (weight\u002Fstyle) is missing.",{"type":139,"tag":876,"props":1046,"children":1047},{},[1048,1055],{"type":139,"tag":913,"props":1049,"children":1050},{},[1051],{"type":139,"tag":147,"props":1052,"children":1053},{},[1054],{"type":144,"value":325},{"type":144,"value":1056}," means that the image or font path escapes its root, has the\nwrong signature, or exceeds its size cap.",{"type":139,"tag":876,"props":1058,"children":1059},{},[1060,1067,1069,1073],{"type":139,"tag":913,"props":1061,"children":1062},{},[1063],{"type":139,"tag":147,"props":1064,"children":1065},{},[1066],{"type":144,"value":304},{"type":144,"value":1068}," means that the document's layout depends on the page numbers it\nprints, so it never converges; it is not made to converge (see the note on\nnon-convergence in ",{"type":139,"tag":944,"props":1070,"children":1071},{"href":946},[1072],{"type":144,"value":38},{"type":144,"value":293},{"title":1075,"searchDepth":1076,"depth":1076,"links":1077},"",4,[1078,1080,1081,1082,1083],{"id":184,"depth":1079,"text":187},2,{"id":382,"depth":1079,"text":385},{"id":804,"depth":1079,"text":807},{"id":857,"depth":1079,"text":860},{"id":976,"depth":1079,"text":979},"markdown","docs",{"source":1087,"path":1088,"stem":1089,"dir":1090,"extension":1091},"content","docs\u002F2.guides\u002F5.errors-and-debugging.md","docs\u002F2.guides\u002F5.errors-and-debugging","guides","md",{"$docs\u002Fguides\u002Fcontents-links-bookmarks":42},{"requestedPath":60,"resolvedPath":60,"alternates":1094},[],{"requested":1096,"resolved":1097,"usedFallback":9},{},{"locale":8},{"previous":1099,"next":1100},{"title":50,"id":51,"canonicalKey":52,"locale":8,"draft":9,"path":54},{"title":62,"id":63,"canonicalKey":64,"locale":8,"draft":9,"path":66},{"left":1102,"top":1102,"width":1103,"height":1103,"rotate":1102,"vFlip":9,"hFlip":9,"body":1104},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":1102,"top":1102,"width":1106,"height":1106,"rotate":1102,"vFlip":9,"hFlip":9,"body":1107},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>",1786511354042]