import{aa as i,ab as r}from"./_applist-tangy-colts-beg-36.js";import{_ as n}from"./main-tangy-colts-beg.js";import{s}from"./machine.-tangy-colts-beg-869.js";import{h as a,a as c,c as m}from"./linecomm-tangy-colts-beg-705.js";import"./lodash-tangy-colts-beg-516.js";globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const C=i(({helpers:e})=>({states:{components:[m(e),{componentName:e.componentName.mixInput,helperText:n("Enter the date in YYYYMMDD format (e.g., 20250618 for June 18, 2025). The date must be in the past—using today or a future date may not return correct results."),id:"data",label:n("Date"),onChange:"SET_DATE",path:"date",render:"IF_CONNECTION_SELECTED",required:!0,value:[]},{componentName:e.componentName.note,fieldType:"config",id:"note",note:["For detailed information on the date parameter and how to retrieve follower statistics using the LINE Messaging API, explore the line official documentation: [Get Number of Followers](https://developers.line.biz/en/reference/messaging-api/#get-number-of-followers)"],render:"IF_CONNECTION_SELECTED"}]},actions:{IF_CONNECTION_SELECTED:({$:t})=>{var o;return r((o=t.getComponent("connection-id"))==null?void 0:o.value)},CONNECTION_ADD_CHANGE:c,SET_CONNECTION:a("connectionId"),SET_DATE:a("date"),ON_MACHINE_LOAD:async({$:t})=>{s(t,[{db:"connectionId",id:"connection-id"},{db:"date",id:"date"}])}}}));export{C as default};
