import{G as c,d as a,c as i,e as l}from"./customComponents-twZNGYGk.js";const p=t=>`v-on:${t.toLowerCase()}`,f=(t,o)=>e=>l({code:t,context:o.context,localState:o.localState,rootState:o.rootState,rootSetState:o.rootSetState,event:e,isExpression:!1});function v(t){const o={},e=t.block.actions??{};for(const r in e){if(!e.hasOwnProperty(r))continue;const s=e[r];let n=p(r);if(t.stripPrefix)switch(i){case"vue":n=n.replace("v-on:","");break;case"svelte":n=n.replace("on:","");break}o[n]=f(s,t)}return o}function u({properties:t}){return t}const b=t=>({href:t.href});function S({block:t,context:o}){var e;const r={...b(t),...t.properties,"builder-id":t.id,style:a({block:t,context:o}),[c()]:[t.id,"builder-block",t.class,(e=t.properties)==null?void 0:e.class].filter(Boolean).join(" ")};return u({properties:r})}export{S as g,v as m};
//# sourceMappingURL=get-block-properties-cWyJs3dm-BxCM5dT5.js.map
