text: var plugins = [{
        plugin: require('C:/Users/AGCUSER/Desktop/Tatong_website/node_modules/gatsby-plugin-netlify-cms/gatsby-browser.js'),
        options: {"plugins":[]},
      }]
  // During bootstrap, we write requires at top of this file which looks
  // basically like:
  // var plugins = [
  //   {
  //     plugin: require("/path/to/plugin1/gatsby-browser.js"),
  //     options: { ... },
  //   },
  //   {
  //     plugin: require("/path/to/plugin2/gatsby-browser.js"),
  //     options: { ... },
  //   },
  // ]
  
  export function apiRunner(api, args, defaultReturn) {
    let results = plugins.map(plugin => {
      if (plugin.plugin[api]) {
        const result = plugin.plugin[api](args, plugin.options)
        return result
      }
    })
  
    // Filter out undefined results.
    results = results.filter(result => typeof result !== `undefined`)
  
    if (results.length > 0) {
      return results
    } else if (defaultReturn) {
      return [defaultReturn]
    } else {
      return []
    }
  }
  
  export function apiRunnerAsync(api, args, defaultReturn) {
    return plugins.reduce(
      (previous, next) =>
        next.plugin[api]
          ? previous.then(() => next.plugin[api](args, next.options))
          : previous,
      Promise.resolve()
    )
  }
  