"use strict";exports.id=1997,exports.ids=[1997],exports.modules={31997:(a,b,c)=>{c.r(b),c.d(b,{buildMetadata:()=>f,buildMetadataMarkdown:()=>h,exportAsMarkdown:()=>i,exportAsMarkdownBlob:()=>j,renderFrontmatter:()=>g});var d=c(76664);function e(a){if(""===a)return'""';if(!(/[:#&*!|>'"%@`{}\[\],\\]/.test(a)||/^[\s-]/.test(a)||/\s$/.test(a)||/[\n\r]/.test(a)))return a;let b=a.replace(/\\/g,"\\\\").replace(/"/g,'\\"').replace(/\n/g,"\\n").replace(/\r/g,"\\r");return`"${b}"`}function f(a){let b=void 0===a.version||null===a.version?"":"number"==typeof a.version?`v${a.version}`:String(a.version);return{title:a.title??"",type:a.type??"",version:b,author:a.createdByName??"",created:a.createdAt?(0,d.r)(a.createdAt):"",updated:a.updatedAt?(0,d.r)(a.updatedAt):"",project:a.projectName??""}}function g(a){return`---
title: ${e(a.title)}
type: ${e(a.type)}
version: ${e(a.version)}
author: ${e(a.author)}
created: ${e(a.created)}
updated: ${e(a.updated)}
project: ${e(a.project)}
---`}function h(a){let b=f(a),c=[];b.type&&c.push(`| **Type** | ${b.type} |`),b.version&&c.push(`| **Version** | ${b.version} |`),b.author&&c.push(`| **Author** | ${b.author} |`),b.created&&c.push(`| **Created** | ${b.created} |`),b.updated&&c.push(`| **Updated** | ${b.updated} |`),b.project&&c.push(`| **Project** | ${b.project} |`);let d=c.length>0?`| | |
|---|---|
${c.join("\n")}
`:"";return`# ${b.title}

${d}`}function i(a){let b=g(f(a)),c=a.content??"";return`${b}

${c}`}function j(a){return new Blob([i(a)],{type:"text/markdown;charset=utf-8"})}}};