import{b as o,i as r}from"./useflows-BpG3C9m1.js";import{e as i}from"./main-few-lands-burn.js";import{s as a}from"./machine.-BRuqPpdF.js";import{h as s,a as c,b as m,c as t,d as N,r as d}from"./whatsapp-lSZheXFS.js";import"./mutative-C6xjlr6O.js";import"./lodash-YpNkAOPN.js";const I=o(({helpers:e})=>({states:{components:[N(e),d(e),{componentName:e.componentName.mixInput,helperText:i("Static stickers must be .webp and under 100 KB. Animated stickers must also be .webp and under 500 KB."),id:"sticker-url",label:i("Sticker URL"),onChange:"SET_STICKER_URL",path:"sticker.link",render:"IF_CONNECTION_SELECTED",required:!0,value:[]}]},actions:{CONNECTION_ADD_CHANGE:m,HANDLE_BUSINESS_ID:c,IF_CONNECTION_SELECTED:({$:n})=>r(n.getComponent("connection-id")?.value),SET_CONNECTION:t("connectionId"),SET_PHONE_NUMBER_ID:s,SET_RECIPIENT_NUMBER:t("recipientNumber"),SET_STICKER_URL:t("stickerUrl"),ON_MACHINE_LOAD:async({$:n})=>{a(n,[{db:"connectionId",id:"connection-id"},{db:"recipientNumber",id:"recipient-phone-number"},{db:"stickerUrl",id:"sticker-url"}])}}}));export{I as default};
