/**
 * Minified by jsDelivr using Terser v5.39.0.
 * Original file: /npm/gsweet@2.0.9/src/main.js
 *
 * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files
 */
/**
 * @file Rolls up the Gsuite services into one class
 * [GPL License Full Text](https://spdx.org/licenses/GPL-3.0-or-later.html)
 *
 * @author Tod Gentille <tod-gentille@pluralsight.com>
 * @license GPL-3.0-or-later
 * @module GSweet
 */
const envCreate=require("env-create"),driveOps=require("./drive/driveOps"),sheetOps=require("./sheets/sheetOps"),sheetFormatOps=require("./sheets/sheetFormatOps");class GSweet{constructor(e={pathOrVarName:"",useExistingEnvVar:!1}){null==e.useExistingEnvVar&&(e.useExistingEnvVar=!1);const{pathOrVarName:s,useExistingEnvVar:t}=e;t?process.env.GSWEET=process.env[s]:envCreate.load({path:s}),this.sheetOps=sheetOps,this.sheetFormatOps=sheetFormatOps,this.driveOps=driveOps,this.sheetOps.autoInit(),this.driveOps.autoInit(),this.sheetFormatOps.autoInit()}}module.exports=GSweet;
//# sourceMappingURL=/sm/9d6d87a60b181a9152f0a62ed6e3c77d299a0a85107d3738872232f86eb658be.map