'use client';
import{jsx as e}from"react/jsx-runtime";import t from"../../text/components/Text.js";import{useArticleStore as r}from"@gem-sdk/core";import{useMemo as i}from"react";let o=({setting:o,builderProps:l,styles:a,advanced:d})=>{let{prefix:n}=o??{},c=r(e=>e.article),m=i(()=>`${n??""} ${c?.author||"Unknown"}`,[c?.author,n]);return e("div",{id:`shopify-text-element-${l?.uid}`,"data-article-id":c?.baseID?.replace("gid://shopify/OnlineStoreArticle/",""),children:e(t,{builderProps:l,styles:a,advanced:d,setting:{...o,text:m,excludeFlex:!0}})})};export{o as default};
