'use strict';

const index = require('./index-f6f80680.js');

const { state, onChange, dispose } = index.createStore({
  id: '',
  method: '',
  manual: false,
});

// handle manual processors
onChange('id', () => {
  state.manual = (state === null || state === void 0 ? void 0 : state.id) && !['paypal', 'stripe', 'mollie'].includes(state.id);
});

exports.onChange = onChange;
exports.state = state;
