"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[34966],{34966:(e,o,t)=>{t.d(o,{exportAsPdf:()=>a});let l=null;async function n(){if(l)return l;let[e,o]=await Promise.all([fetch("/fonts/NotoSansSC-Regular.ttf").then(e=>e.arrayBuffer()),fetch("/fonts/NotoSansSC-Bold.ttf").then(e=>e.arrayBuffer())]);return l={normal:e,bold:o}}async function a(e){var o;let[{unified:l},{default:a},{default:i},{default:r},{default:f},{buildMetadataMarkdown:d},s]=await Promise.all([Promise.all([t.e(70552),t.e(18291)]).then(t.bind(t,61906)),Promise.all([t.e(27201),t.e(14753),t.e(8563)]).then(t.bind(t,8563)),Promise.all([t.e(26885),t.e(27201),t.e(45532),t.e(1697)]).then(t.bind(t,28702)),Promise.all([t.e(17203),t.e(82346),t.e(20341),t.e(26885),t.e(30724),t.e(9357),t.e(21233),t.e(32411)]).then(t.bind(t,82319)),Promise.all([t.e(26885),t.e(83561)]).then(t.bind(t,83561)),t.e(50681).then(t.bind(t,50681)),n()]),c=d(e)+"\n\n"+(null!=(o=e.content)?o:""),u=l().use(a).use(i).use(f).use(r,{fonts:[{name:"NotoSansSC",normal:s.normal,bold:s.bold},"Courier"],size:"A4",margin:{top:60,bottom:60,left:65,right:65},spacing:6,styles:{default:{fontSize:10.5,color:"#24292f"},head1:{fontSize:24,bold:!0,color:"#1f2328"},head2:{fontSize:18,bold:!0,color:"#1f2328"},head3:{fontSize:15,bold:!0,color:"#1f2328"},head4:{fontSize:12.5,bold:!0,color:"#1f2328"},head5:{fontSize:11,bold:!0,color:"#1f2328"},head6:{fontSize:10.5,bold:!0,italic:!0,color:"#656d76"},link:{color:"#0969da",underline:!0},inlineCode:{color:"#c7254e",fontSize:9.5,bold:!0},code:{font:"Courier",fontSize:9,color:"#1f2328"},blockquote:{color:"#656d76",italic:!0}}}),b=await u.process(c);return new Blob([await b.result],{type:"application/pdf"})}}}]);