'use client';
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react/jsx-runtime"),r=require("@gem-sdk/core"),t=require("../../image/components/Image.js"),s=require("react");exports.default=({className:a,setting:i={},styles:u={},advanced:l,builderProps:d})=>{let c=r.useArticleStore(e=>e.article),o=s.useMemo(()=>{let{src:e,alt:r}=c?.media??{};return{src:e,alt:r}},[c]);return e.jsx("div",{className:r.cls("gp-text-center",a),style:{borderRadius:"inherit"},children:e.jsx(t.default,{builderProps:d,setting:{...i,image:o,disableNoDataState:!0},styles:u,advanced:l})})};
