"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("./index.cjs425.js"),l=require("./index.cjs426.js"),i=require("./index.cjs427.js"),c={},u={},f=[];function m(s,o){const e=o||c,t=e.quote||'"',n=t==='"'?"'":'"';if(t!=='"'&&t!=="'")throw new Error("Invalid quote `"+t+"`, expected `'` or `\"`");return{one:p,all:r,settings:{omitOptionalTags:e.omitOptionalTags||!1,allowParseErrors:e.allowParseErrors||!1,allowDangerousCharacters:e.allowDangerousCharacters||!1,quoteSmart:e.quoteSmart||!1,preferUnquoted:e.preferUnquoted||!1,tightAttributes:e.tightAttributes||!1,upperDoctype:e.upperDoctype||!1,tightDoctype:e.tightDoctype||!1,bogusComments:e.bogusComments||!1,tightCommaSeparatedLists:e.tightCommaSeparatedLists||!1,tightSelfClosing:e.tightSelfClosing||!1,collapseEmptyAttributes:e.collapseEmptyAttributes||!1,allowDangerousHtml:e.allowDangerousHtml||!1,voids:e.voids||a.htmlVoidElements,characterReferences:e.characterReferences||u,closeSelfClosing:e.closeSelfClosing||!1,closeEmptyElements:e.closeEmptyElements||!1},schema:e.space==="svg"?l.svg:l.html,quote:t,alternative:n}.one(Array.isArray(s)?{type:"root",children:s}:s,void 0,void 0)}function p(s,o,e){return i.handle(s,o,e,this)}function r(s){const o=[],e=s&&s.children||f;let t=-1;for(;++t<e.length;)o[t]=this.one(e[t],t,s);return o.join("")}exports.all=r;exports.toHtml=m;
//# sourceMappingURL=index.cjs97.js.map
