import{aa as s,ab as n}from"./_applist-tangy-colts-beg-36.js";import{_ as t}from"./main-tangy-colts-beg.js";import{s as r}from"./machine.-tangy-colts-beg-869.js";import{a as i}from"./machineh-tangy-colts-beg-465.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 E=s(({helpers:o})=>({actions:{ON_MACHINE_LOAD:async({$:e})=>{r(e,[{db:"proLevelId",id:"pro-level-id"}]),await i(e)},REFETCH_PRO_LEVELS:async({$:e})=>i(e),SELECT_PRO_LEVEL:async({$:e,e:a})=>{e.setThisComponent(l=>{l.value=a}),e.setDb({proLevelId:a})}},states:{components:[{componentName:o.componentName.select,fieldType:"config",id:"pro-level-id",label:t("Pro-levels"),onChange:"SELECT_PRO_LEVEL",onRefetch:"REFETCH_PRO_LEVELS",options:[],placeholder:t("Select a pro-level"),render:!0,value:void 0},{componentName:o.componentName.hookListener,fieldType:"config",id:"hook-listener",label:t("Listen Hook"),render:({$:e})=>{var a;return n((a=e.getComponent("pro-level-id"))==null?void 0:a.value)}}]}}));export{E as default};
