import { a as fade } from './motion-BvlOLZ1k.mjs'; import { defineComponent, computed, unref, mergeProps, withCtx, renderSlot, createVNode, toDisplayString, resolveDynamicComponent, openBlock, createBlock, createCommentVNode, Fragment, useSSRContext } from 'vue'; import { ssrRenderComponent, ssrRenderSlot, ssrRenderAttrs, ssrRenderClass, ssrInterpolate, ssrRenderVNode, ssrRenderList } from 'vue/server-renderer'; import { motion } from 'motion-v'; //#region app/components/ui/Lines.vue?vue&type=script&setup=true&lang.ts var Lines_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineComponent({ __name: "Lines", __ssrInlineRender: true, props: { text: {} }, setup(__props) { /** Renders editor text where "\n" means a line break */ const props = __props; const lines = computed(() => props.text.split("\n")); return (_ctx, _push, _parent, _attrs) => { _push(``); ssrRenderList(unref(lines), (line, i) => { _push(``); if (i > 0) _push(`
`); else _push(``); _push(`${ssrInterpolate(line)}`); }); _push(``); }; } }); //#endregion //#region app/components/ui/Lines.vue var _sfc_setup$2 = Lines_vue_vue_type_script_setup_true_lang_default.setup; Lines_vue_vue_type_script_setup_true_lang_default.setup = (props, ctx) => { const ssrContext = useSSRContext(); (ssrContext.modules || (ssrContext.modules = /* @__PURE__ */ new Set())).add("components/ui/Lines.vue"); return _sfc_setup$2 ? _sfc_setup$2(props, ctx) : void 0; }; var Lines_default = Object.assign(Lines_vue_vue_type_script_setup_true_lang_default, { __name: "UiLines" }); //#endregion //#region app/components/ui/Reveal.vue?vue&type=script&setup=true&lang.ts var Reveal_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineComponent({ __name: "Reveal", __ssrInlineRender: true, props: { delay: { default: 0 } }, setup(__props) { const props = __props; const motionProps = computed(() => fade(props.delay, 34)); return (_ctx, _push, _parent, _attrs) => { _push(ssrRenderComponent(unref(motion).div, mergeProps(unref(motionProps), _attrs), { default: withCtx((_, _push, _parent, _scopeId) => { if (_push) ssrRenderSlot(_ctx.$slots, "default", {}, null, _push, _parent, _scopeId); else return [renderSlot(_ctx.$slots, "default")]; }), _: 3 }, _parent)); }; } }); //#endregion //#region app/components/ui/Reveal.vue var _sfc_setup$1 = Reveal_vue_vue_type_script_setup_true_lang_default.setup; Reveal_vue_vue_type_script_setup_true_lang_default.setup = (props, ctx) => { const ssrContext = useSSRContext(); (ssrContext.modules || (ssrContext.modules = /* @__PURE__ */ new Set())).add("components/ui/Reveal.vue"); return _sfc_setup$1 ? _sfc_setup$1(props, ctx) : void 0; }; var Reveal_default = Object.assign(Reveal_vue_vue_type_script_setup_true_lang_default, { __name: "UiReveal" }); //#endregion //#region app/components/ui/SectionHead.vue?vue&type=script&setup=true&lang.ts var SectionHead_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineComponent({ __name: "SectionHead", __ssrInlineRender: true, props: { tag: {}, title: {}, highlight: {}, desc: {}, center: { type: Boolean, default: false }, headingId: {}, level: { default: 2 } }, setup(__props) { return (_ctx, _push, _parent, _attrs) => { _push(``); _push(ssrRenderComponent(Reveal_default, null, { default: withCtx((_, _push, _parent, _scopeId) => { if (_push) _push(`
//${ssrInterpolate(__props.tag)}
`); else return [createVNode("div", { class: `flex items-center gap-3 ${__props.center ? "justify-center" : ""}` }, [ createVNode("span", { class: "font-mono text-sm text-accent" }, "//"), createVNode("span", { class: "font-mono text-xs tracking-[0.25em] text-muted" }, toDisplayString(__props.tag), 1), createVNode("span", { class: "h-px w-14 bg-line" }) ], 2)]; }), _: 1 }, _parent)); _push(ssrRenderComponent(Reveal_default, { delay: .08 }, { default: withCtx((_, _push, _parent, _scopeId) => { if (_push) ssrRenderVNode(_push, createVNode(resolveDynamicComponent(`h${__props.level}`), { id: __props.headingId, class: "mt-3.5 sm:mt-5 text-2xl sm:text-3xl md:text-5xl font-black leading-tight sm:leading-[1.25] md:leading-[1.2]" }, { default: withCtx((_, _push, _parent, _scopeId) => { if (_push) ssrRenderSlot(_ctx.$slots, "title", {}, () => { if (__props.title) _push(ssrRenderComponent(Lines_default, { text: __props.title }, null, _parent, _scopeId)); else _push(``); if (__props.highlight) _push(`${ssrInterpolate(__props.highlight)}`); else _push(``); }, _push, _parent, _scopeId); else return [renderSlot(_ctx.$slots, "title", {}, () => [__props.title ? (openBlock(), createBlock(Lines_default, { key: 0, text: __props.title }, null, 8, ["text"])) : createCommentVNode("", true), __props.highlight ? (openBlock(), createBlock(Fragment, { key: 1 }, [createVNode("br"), createVNode("span", { class: "text-accent" }, toDisplayString(__props.highlight), 1)], 64)) : createCommentVNode("", true)])]; }), _: 3 }), _parent, _scopeId); else return [(openBlock(), createBlock(resolveDynamicComponent(`h${__props.level}`), { id: __props.headingId, class: "mt-3.5 sm:mt-5 text-2xl sm:text-3xl md:text-5xl font-black leading-tight sm:leading-[1.25] md:leading-[1.2]" }, { default: withCtx(() => [renderSlot(_ctx.$slots, "title", {}, () => [__props.title ? (openBlock(), createBlock(Lines_default, { key: 0, text: __props.title }, null, 8, ["text"])) : createCommentVNode("", true), __props.highlight ? (openBlock(), createBlock(Fragment, { key: 1 }, [createVNode("br"), createVNode("span", { class: "text-accent" }, toDisplayString(__props.highlight), 1)], 64)) : createCommentVNode("", true)])]), _: 3 }, 8, ["id"]))]; }), _: 3 }, _parent)); if (__props.desc) _push(ssrRenderComponent(Reveal_default, { delay: .16 }, { default: withCtx((_, _push, _parent, _scopeId) => { if (_push) _push(`

${ssrInterpolate(__props.desc)}

`); else return [createVNode("p", { class: `mt-3 sm:mt-5 max-w-xl text-xs sm:text-base leading-6 sm:leading-8 text-muted ${__props.center ? "mx-auto" : ""}` }, toDisplayString(__props.desc), 3)]; }), _: 1 }, _parent)); else _push(``); _push(``); }; } }); //#endregion //#region app/components/ui/SectionHead.vue var _sfc_setup = SectionHead_vue_vue_type_script_setup_true_lang_default.setup; SectionHead_vue_vue_type_script_setup_true_lang_default.setup = (props, ctx) => { const ssrContext = useSSRContext(); (ssrContext.modules || (ssrContext.modules = /* @__PURE__ */ new Set())).add("components/ui/SectionHead.vue"); return _sfc_setup ? _sfc_setup(props, ctx) : void 0; }; var SectionHead_default = Object.assign(SectionHead_vue_vue_type_script_setup_true_lang_default, { __name: "UiSectionHead" }); export { Lines_default as L, Reveal_default as R, SectionHead_default as S }; //# sourceMappingURL=SectionHead-n0GUJPlh.mjs.map