text: 'use strict';
  
  Object.defineProperty(exports, '__esModule', { value: true });
  
  var configure = require('../lib/configure.js');
  var toUrlSearchParams = require('../lib/to-url-search-params.js');
  
  const createSys = configure.configure(api => {
    async function sys(options = {}) {
      const res = await api.post('diag/sys', {
        signal: options.signal,
        searchParams: toUrlSearchParams.toUrlSearchParams(options),
        headers: options.headers
      });
      return res.json();
    }
    return sys;
  });
  
  exports.createSys = createSys;
  