import{aa as c,ab as s}from"./_applist-tangy-colts-beg-36.js";import{_ as n}from"./main-tangy-colts-beg.js";import{h as i,s as m}from"./machine.-tangy-colts-beg-869.js";import{a}from"./machineh-tangy-colts-beg-966.js";import{h,c as r}from"./zoomcomm-tangy-colts-beg-477.js";import"./lodash-tangy-colts-beg-516.js";globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(o,e){return this.cache.has(o)?this.cache.get(o):(this.cache.set(o,e),e)}};const g=c(({helpers:o})=>({states:{components:[r(o),{componentName:o.componentName.select,helperText:n("Choose an existing Zoom meeting."),id:"meetingId",label:n("Select Meeting"),onChange:"SET_MEETING",onRefetch:"REFETCH_MEETINGS",optionFilterProp:"label",options:[],path:"meeting",placeholder:n("Search or select a meeting"),render:"IF_CONNECTION_SELECTED",showSearch:!0,value:void 0}]},actions:{SET_CONNECTION:async({$:e,e:t})=>{i("connectionId")({$:e,e:t}),await a(e)},CONNECTION_ADD_CHANGE:h,IF_CONNECTION_SELECTED:({$:e})=>{var t;return s((t=e.getComponent("connection-id"))==null?void 0:t.value)},REFETCH_MEETINGS:({$:e})=>a(e),SET_MEETING:i("meetingId"),ON_MACHINE_LOAD:async({$:e})=>{m(e,[{db:"connectionId",id:"connection-id"},{db:"meetingId",id:"meetingId"}]),await a(e)}}}));export{g as default};
