'use client';
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var jsxRuntime=require("react/jsx-runtime"),core=require("@gem-sdk/core"),dynamic=require("next/dynamic");const KlaviyoSampleContent=dynamic(()=>Promise.resolve().then(function(){return require("./Klaviyo/KlaviyoSampleContent.js")})),Klaviyo=({setting:e})=>{let{formCode:t,align:i}=e??{},r=core.useEditorMode(),s=`klaviyo-form-${t}`;return jsxRuntime.jsx(jsxRuntime.Fragment,{children:jsxRuntime.jsxs("div",{style:{...core.makeStyleResponsive("ta",i)},className:"gp-h-full gp-w-full",children:[jsxRuntime.jsx("div",{className:s}),"edit"===r&&jsxRuntime.jsx(KlaviyoSampleContent,{})]})})};exports.default=Klaviyo;
