'use client';
import{jsx as t}from"react/jsx-runtime";import{useProduct as e}from"@gem-sdk/core";import r from"../../text/components/Text.js";let o=t=>t?`<p>${t}</p>`:t,i=({setting:i,builderProps:s,styles:d})=>{let p=e(),m=p?.baseID?.replace("gid://shopify/Product/","");return t("div",{id:`shopify-text-element-${s?.uid}`,"data-product-id":m,children:t(r,{styles:d,setting:{...i,text:o(p?.title)}})})};export{i as default};
