@adyen/adyen-salesforce-pwa
Version:
This NPM package enables you to go live fast with payments with Adyen as a payment service provider when building your Salesforce PWA Retail application.
3 lines • 19.1 kB
JavaScript
/*! For license information please see include-env.js.LICENSE.txt */
(()=>{var t={7374(t,e,n){"use strict";const o=n(5317),r=n(2014),s=n(3436);function i(t,e,n){const i=r(t,e,n),c=o.spawn(i.command,i.args,i.options);return s.hookChildProcess(c,i),c}t.exports=i,t.exports.spawn=i,t.exports.sync=function(t,e,n){const i=r(t,e,n),c=o.spawnSync(i.command,i.args,i.options);return c.error=c.error||s.verifyENOENTSync(c.status,i),c},t.exports._parse=r,t.exports._enoent=s},3436(t){"use strict";const e="win32"===process.platform;function n(t,e){return Object.assign(new Error(`${e} ${t.command} ENOENT`),{code:"ENOENT",errno:"ENOENT",syscall:`${e} ${t.command}`,path:t.command,spawnargs:t.args})}function o(t,o){return e&&1===t&&!o.file?n(o.original,"spawn"):null}t.exports={hookChildProcess:function(t,n){if(!e)return;const r=t.emit;t.emit=function(e,s){if("exit"===e){const e=o(s,n);if(e)return r.call(t,"error",e)}return r.apply(t,arguments)}},verifyENOENT:o,verifyENOENTSync:function(t,o){return e&&1===t&&!o.file?n(o.original,"spawnSync"):null},notFoundError:n}},2014(t,e,n){"use strict";const o=n(6928),r=n(9045),s=n(4483),i=n(9182),c="win32"===process.platform,a=/\.(?:com|exe)$/i,u=/node_modules[\\/].bin[\\/][^\\/]+\.cmd$/i;t.exports=function(t,e,n){e&&!Array.isArray(e)&&(n=e,e=null);const l={command:t,args:e=e?e.slice(0):[],options:n=Object.assign({},n),file:void 0,original:{command:t,args:e}};return n.shell?l:function(t){if(!c)return t;const e=function(t){t.file=r(t);const e=t.file&&i(t.file);return e?(t.args.unshift(t.file),t.command=e,r(t)):t.file}(t),n=!a.test(e);if(t.options.forceShell||n){const n=u.test(e);t.command=o.normalize(t.command),t.command=s.command(t.command),t.args=t.args.map(t=>s.argument(t,n));const r=[t.command].concat(t.args).join(" ");t.args=["/d","/s","/c",`"${r}"`],t.command=process.env.comspec||"cmd.exe",t.options.windowsVerbatimArguments=!0}return t}(l)}},4483(t){"use strict";const e=/([()\][%!^"`<>&|;, *?])/g;t.exports.command=function(t){return t.replace(e,"^$1")},t.exports.argument=function(t,n){return t=(t=`"${t=(t=(t=`${t}`).replace(/(?=(\\+?)?)\1"/g,'$1$1\\"')).replace(/(?=(\\+?)?)\1$/,"$1$1")}"`).replace(e,"^$1"),n&&(t=t.replace(e,"^$1")),t}},9182(t,e,n){"use strict";const o=n(9896),r=n(1395);t.exports=function(t){const e=Buffer.alloc(150);let n;try{n=o.openSync(t,"r"),o.readSync(n,e,0,150,0),o.closeSync(n)}catch(t){}return r(e.toString())}},9045(t,e,n){"use strict";const o=n(6928),r=n(6911),s=n(9376);function i(t,e){const n=t.options.env||process.env,i=process.cwd(),c=null!=t.options.cwd,a=c&&void 0!==process.chdir&&!process.chdir.disabled;if(a)try{process.chdir(t.options.cwd)}catch(t){}let u;try{u=r.sync(t.command,{path:n[s({env:n})],pathExt:e?o.delimiter:void 0})}catch(t){}finally{a&&process.chdir(i)}return u&&(u=o.resolve(c?t.options.cwd:"",u)),u}t.exports=function(t){return i(t)||i(t,!0)}},998(t,e,n){const o=n(9896),r=n(6928),s=n(857),i=n(6982),c=n(56).version,a=/(?:^|^)\s*(?:export\s+)?([\w.-]+)(?:\s*=\s*?|:\s+?)(\s*'(?:\\'|[^'])*'|\s*"(?:\\"|[^"])*"|\s*`(?:\\`|[^`])*`|[^#\r\n]+)?\s*(?:#.*)?(?:$|$)/gm;function u(t){console.log(`[dotenv@${c}][DEBUG] ${t}`)}function l(t){console.log(`[dotenv@${c}] ${t}`)}function p(t){return t&&t.DOTENV_KEY&&t.DOTENV_KEY.length>0?t.DOTENV_KEY:process.env.DOTENV_KEY&&process.env.DOTENV_KEY.length>0?process.env.DOTENV_KEY:""}function f(t,e){let n;try{n=new URL(e)}catch(t){if("ERR_INVALID_URL"===t.code){const t=new Error("INVALID_DOTENV_KEY: Wrong format. Must be in valid uri format like dotenv://:key_1234@dotenvx.com/vault/.env.vault?environment=development");throw t.code="INVALID_DOTENV_KEY",t}throw t}const o=n.password;if(!o){const t=new Error("INVALID_DOTENV_KEY: Missing key part");throw t.code="INVALID_DOTENV_KEY",t}const r=n.searchParams.get("environment");if(!r){const t=new Error("INVALID_DOTENV_KEY: Missing environment part");throw t.code="INVALID_DOTENV_KEY",t}const s=`DOTENV_VAULT_${r.toUpperCase()}`,i=t.parsed[s];if(!i){const t=new Error(`NOT_FOUND_DOTENV_ENVIRONMENT: Cannot locate environment ${s} in your .env.vault file.`);throw t.code="NOT_FOUND_DOTENV_ENVIRONMENT",t}return{ciphertext:i,key:o}}function d(t){let e=null;if(t&&t.path&&t.path.length>0)if(Array.isArray(t.path))for(const n of t.path)o.existsSync(n)&&(e=n.endsWith(".vault")?n:`${n}.vault`);else e=t.path.endsWith(".vault")?t.path:`${t.path}.vault`;else e=r.resolve(process.cwd(),".env.vault");return o.existsSync(e)?e:null}function v(t){return"~"===t[0]?r.join(s.homedir(),t.slice(1)):t}const h={configDotenv:function(t){const e=r.resolve(process.cwd(),".env");let n="utf8";const s=Boolean(t&&t.debug),i=!t||!("quiet"in t)||t.quiet;t&&t.encoding?n=t.encoding:s&&u("No encoding is specified. UTF-8 is used by default");let c,a=[e];if(t&&t.path)if(Array.isArray(t.path)){a=[];for(const e of t.path)a.push(v(e))}else a=[v(t.path)];const p={};for(const e of a)try{const r=h.parse(o.readFileSync(e,{encoding:n}));h.populate(p,r,t)}catch(t){s&&u(`Failed to load ${e} ${t.message}`),c=t}let f=process.env;if(t&&null!=t.processEnv&&(f=t.processEnv),h.populate(f,p,t),s||!i){const t=Object.keys(p).length,e=[];for(const t of a)try{const n=r.relative(process.cwd(),t);e.push(n)}catch(e){s&&u(`Failed to load ${t} ${e.message}`),c=e}l(`injecting env (${t}) from ${e.join(",")}`)}return c?{parsed:p,error:c}:{parsed:p}},_configVault:function(t){const e=Boolean(t&&t.debug),n=!t||!("quiet"in t)||t.quiet;!e&&n||l("Loading env from encrypted .env.vault");const o=h._parseVault(t);let r=process.env;return t&&null!=t.processEnv&&(r=t.processEnv),h.populate(r,o,t),{parsed:o}},_parseVault:function(t){const e=d(t=t||{});t.path=e;const n=h.configDotenv(t);if(!n.parsed){const t=new Error(`MISSING_DATA: Cannot parse ${e} for an unknown reason`);throw t.code="MISSING_DATA",t}const o=p(t).split(","),r=o.length;let s;for(let t=0;t<r;t++)try{const e=f(n,o[t].trim());s=h.decrypt(e.ciphertext,e.key);break}catch(e){if(t+1>=r)throw e}return h.parse(s)},config:function(t){if(0===p(t).length)return h.configDotenv(t);const e=d(t);return e?h._configVault(t):(n=`You set DOTENV_KEY but you are missing a .env.vault file at ${e}. Did you forget to build it?`,console.log(`[dotenv@${c}][WARN] ${n}`),h.configDotenv(t));var n},decrypt:function(t,e){const n=Buffer.from(e.slice(-64),"hex");let o=Buffer.from(t,"base64");const r=o.subarray(0,12),s=o.subarray(-16);o=o.subarray(12,-16);try{const t=i.createDecipheriv("aes-256-gcm",n,r);return t.setAuthTag(s),`${t.update(o)}${t.final()}`}catch(t){const e=t instanceof RangeError,n="Invalid key length"===t.message,o="Unsupported state or unable to authenticate data"===t.message;if(e||n){const t=new Error("INVALID_DOTENV_KEY: It must be 64 characters long (or more)");throw t.code="INVALID_DOTENV_KEY",t}if(o){const t=new Error("DECRYPTION_FAILED: Please check your DOTENV_KEY");throw t.code="DECRYPTION_FAILED",t}throw t}},parse:function(t){const e={};let n,o=t.toString();for(o=o.replace(/\r\n?/gm,"\n");null!=(n=a.exec(o));){const t=n[1];let o=n[2]||"";o=o.trim();const r=o[0];o=o.replace(/^(['"`])([\s\S]*)\1$/gm,"$2"),'"'===r&&(o=o.replace(/\\n/g,"\n"),o=o.replace(/\\r/g,"\r")),e[t]=o}return e},populate:function(t,e,n={}){const o=Boolean(n&&n.debug),r=Boolean(n&&n.override);if("object"!=typeof e){const t=new Error("OBJECT_REQUIRED: Please check the processEnv argument being passed to populate");throw t.code="OBJECT_REQUIRED",t}for(const n of Object.keys(e))Object.prototype.hasOwnProperty.call(t,n)?(!0===r&&(t[n]=e[n]),o&&u(!0===r?`"${n}" is already defined and WAS overwritten`:`"${n}" is already defined and was NOT overwritten`)):t[n]=e[n]}};t.exports.configDotenv=h.configDotenv,t.exports._configVault=h._configVault,t.exports._parseVault=h._parseVault,t.exports.config=h.config,t.exports.decrypt=h.decrypt,t.exports.parse=h.parse,t.exports.populate=h.populate,t.exports=h},1147(t,e,n){var o;function r(t,e,n){if("function"==typeof e&&(n=e,e={}),!n){if("function"!=typeof Promise)throw new TypeError("callback not provided");return new Promise(function(n,o){r(t,e||{},function(t,e){t?o(t):n(e)})})}o(t,e||{},function(t,o){t&&("EACCES"===t.code||e&&e.ignoreErrors)&&(t=null,o=!1),n(t,o)})}n(9896),o="win32"===process.platform||global.TESTING_WINDOWS?n(438):n(96),t.exports=r,r.sync=function(t,e){try{return o.sync(t,e||{})}catch(t){if(e&&e.ignoreErrors||"EACCES"===t.code)return!1;throw t}}},96(t,e,n){t.exports=r,r.sync=function(t,e){return s(o.statSync(t),e)};var o=n(9896);function r(t,e,n){o.stat(t,function(t,o){n(t,!t&&s(o,e))})}function s(t,e){return t.isFile()&&function(t,e){var n=t.mode,o=t.uid,r=t.gid,s=void 0!==e.uid?e.uid:process.getuid&&process.getuid(),i=void 0!==e.gid?e.gid:process.getgid&&process.getgid(),c=parseInt("100",8),a=parseInt("010",8);return n&parseInt("001",8)||n&a&&r===i||n&c&&o===s||n&(c|a)&&0===s}(t,e)}},438(t,e,n){t.exports=s,s.sync=function(t,e){return r(o.statSync(t),t,e)};var o=n(9896);function r(t,e,n){return!(!t.isSymbolicLink()&&!t.isFile())&&function(t,e){var n=void 0!==e.pathExt?e.pathExt:process.env.PATHEXT;if(!n)return!0;if(-1!==(n=n.split(";")).indexOf(""))return!0;for(var o=0;o<n.length;o++){var r=n[o].toLowerCase();if(r&&t.substr(-r.length).toLowerCase()===r)return!0}return!1}(e,n)}function s(t,e,n){o.stat(t,function(o,s){n(o,!o&&r(s,t,e))})}},9031(t){"use strict";function e(t){return"number"==typeof t||!!/^0x[0-9a-f]+$/i.test(t)||/^[-+]?(?:\d+(?:\.\d*)?|\.\d+)(e[-+]?\d+)?$/.test(t)}function n(t,e){return"constructor"===e&&"function"==typeof t[e]||"__proto__"===e}t.exports=function(t,o){o||(o={});var r={bools:{},strings:{},unknownFn:null};"function"==typeof o.unknown&&(r.unknownFn=o.unknown),"boolean"==typeof o.boolean&&o.boolean?r.allBools=!0:[].concat(o.boolean).filter(Boolean).forEach(function(t){r.bools[t]=!0});var s={};function i(t){return s[t].some(function(t){return r.bools[t]})}Object.keys(o.alias||{}).forEach(function(t){s[t]=[].concat(o.alias[t]),s[t].forEach(function(e){s[e]=[t].concat(s[t].filter(function(t){return e!==t}))})}),[].concat(o.string).filter(Boolean).forEach(function(t){r.strings[t]=!0,s[t]&&[].concat(s[t]).forEach(function(t){r.strings[t]=!0})});var c=o.default||{},a={_:[]};function u(t,e,o){for(var s=t,i=0;i<e.length-1;i++){var c=e[i];if(n(s,c))return;void 0===s[c]&&(s[c]={}),s[c]!==Object.prototype&&s[c]!==Number.prototype&&s[c]!==String.prototype||(s[c]={}),s[c]===Array.prototype&&(s[c]=[]),s=s[c]}var a=e[e.length-1];n(s,a)||(s!==Object.prototype&&s!==Number.prototype&&s!==String.prototype||(s={}),s===Array.prototype&&(s=[]),void 0===s[a]||r.bools[a]||"boolean"==typeof s[a]?s[a]=o:Array.isArray(s[a])?s[a].push(o):s[a]=[s[a],o])}function l(t,n,o){if(!o||!r.unknownFn||function(t,e){return r.allBools&&/^--[^=]+$/.test(e)||r.strings[t]||r.bools[t]||s[t]}(t,o)||!1!==r.unknownFn(o)){var i=!r.strings[t]&&e(n)?Number(n):n;u(a,t.split("."),i),(s[t]||[]).forEach(function(t){u(a,t.split("."),i)})}}Object.keys(r.bools).forEach(function(t){l(t,void 0!==c[t]&&c[t])});var p=[];-1!==t.indexOf("--")&&(p=t.slice(t.indexOf("--")+1),t=t.slice(0,t.indexOf("--")));for(var f=0;f<t.length;f++){var d,v,h=t[f];if(/^--.+=/.test(h)){var g=h.match(/^--([^=]+)=([\s\S]*)$/);d=g[1];var m=g[2];r.bools[d]&&(m="false"!==m),l(d,m,h)}else if(/^--no-.+/.test(h))l(d=h.match(/^--no-(.+)/)[1],!1,h);else if(/^--.+/.test(h))d=h.match(/^--(.+)/)[1],void 0===(v=t[f+1])||/^(-|--)[^-]/.test(v)||r.bools[d]||r.allBools||s[d]&&i(d)?/^(true|false)$/.test(v)?(l(d,"true"===v,h),f+=1):l(d,!r.strings[d]||"",h):(l(d,v,h),f+=1);else if(/^-[^-]+/.test(h)){for(var y=h.slice(1,-1).split(""),E=!1,b=0;b<y.length;b++)if("-"!==(v=h.slice(b+2))){if(/[A-Za-z]/.test(y[b])&&"="===v[0]){l(y[b],v.slice(1),h),E=!0;break}if(/[A-Za-z]/.test(y[b])&&/-?\d+(\.\d*)?(e-?\d+)?$/.test(v)){l(y[b],v,h),E=!0;break}if(y[b+1]&&y[b+1].match(/\W/)){l(y[b],h.slice(b+2),h),E=!0;break}l(y[b],!r.strings[y[b]]||"",h)}else l(y[b],v,h);d=h.slice(-1)[0],E||"-"===d||(!t[f+1]||/^(-|--)[^-]/.test(t[f+1])||r.bools[d]||s[d]&&i(d)?t[f+1]&&/^(true|false)$/.test(t[f+1])?(l(d,"true"===t[f+1],h),f+=1):l(d,!r.strings[d]||"",h):(l(d,t[f+1],h),f+=1))}else if(r.unknownFn&&!1===r.unknownFn(h)||a._.push(r.strings._||!e(h)?h:Number(h)),o.stopEarly){a._.push.apply(a._,t.slice(f+1));break}}return Object.keys(c).forEach(function(t){var e,n,o;e=a,n=t.split("."),o=e,n.slice(0,-1).forEach(function(t){o=o[t]||{}}),n[n.length-1]in o||(u(a,t.split("."),c[t]),(s[t]||[]).forEach(function(e){u(a,e.split("."),c[t])}))}),o["--"]?a["--"]=p.slice():p.forEach(function(t){a._.push(t)}),a}},9376(t){"use strict";const e=(t={})=>{const e=t.env||process.env;return"win32"!==(t.platform||process.platform)?"PATH":Object.keys(e).reverse().find(t=>"PATH"===t.toUpperCase())||"Path"};t.exports=e,t.exports.default=e},1395(t,e,n){"use strict";const o=n(7521);t.exports=(t="")=>{const e=t.match(o);if(!e)return null;const[n,r]=e[0].replace(/#! ?/,"").split(" "),s=n.split("/").pop();return"env"===s?r:r?`${s} ${r}`:s}},7521(t){"use strict";t.exports=/^#!(.*)/},6911(t,e,n){const o="win32"===process.platform||"cygwin"===process.env.OSTYPE||"msys"===process.env.OSTYPE,r=n(6928),s=o?";":":",i=n(1147),c=t=>Object.assign(new Error(`not found: ${t}`),{code:"ENOENT"}),a=(t,e)=>{const n=e.colon||s,r=t.match(/\//)||o&&t.match(/\\/)?[""]:[...o?[process.cwd()]:[],...(e.path||process.env.PATH||"").split(n)],i=o?e.pathExt||process.env.PATHEXT||".EXE;.CMD;.BAT;.COM":"",c=o?i.split(n):[""];return o&&-1!==t.indexOf(".")&&""!==c[0]&&c.unshift(""),{pathEnv:r,pathExt:c,pathExtExe:i}},u=(t,e,n)=>{"function"==typeof e&&(n=e,e={}),e||(e={});const{pathEnv:o,pathExt:s,pathExtExe:u}=a(t,e),l=[],p=n=>new Promise((s,i)=>{if(n===o.length)return e.all&&l.length?s(l):i(c(t));const a=o[n],u=/^".*"$/.test(a)?a.slice(1,-1):a,p=r.join(u,t),d=!u&&/^\.[\\\/]/.test(t)?t.slice(0,2)+p:p;s(f(d,n,0))}),f=(t,n,o)=>new Promise((r,c)=>{if(o===s.length)return r(p(n+1));const a=s[o];i(t+a,{pathExt:u},(s,i)=>{if(!s&&i){if(!e.all)return r(t+a);l.push(t+a)}return r(f(t,n,o+1))})});return n?p(0).then(t=>n(null,t),n):p(0)};t.exports=u,u.sync=(t,e)=>{e=e||{};const{pathEnv:n,pathExt:o,pathExtExe:s}=a(t,e),u=[];for(let c=0;c<n.length;c++){const a=n[c],l=/^".*"$/.test(a)?a.slice(1,-1):a,p=r.join(l,t),f=!l&&/^\.[\\\/]/.test(t)?t.slice(0,2)+p:p;for(let t=0;t<o.length;t++){const n=f+o[t];try{if(i.sync(n,{pathExt:s})){if(!e.all)return n;u.push(n)}}catch(t){}}}if(e.all&&u.length)return u;if(e.nothrow)return null;throw c(t)}},5317(t){"use strict";t.exports=require("child_process")},6982(t){"use strict";t.exports=require("crypto")},9896(t){"use strict";t.exports=require("fs")},857(t){"use strict";t.exports=require("os")},6928(t){"use strict";t.exports=require("path")},56(t){"use strict";t.exports=JSON.parse('{"name":"dotenv","version":"16.6.1","description":"Loads environment variables from .env file","main":"lib/main.js","types":"lib/main.d.ts","exports":{".":{"types":"./lib/main.d.ts","require":"./lib/main.js","default":"./lib/main.js"},"./config":"./config.js","./config.js":"./config.js","./lib/env-options":"./lib/env-options.js","./lib/env-options.js":"./lib/env-options.js","./lib/cli-options":"./lib/cli-options.js","./lib/cli-options.js":"./lib/cli-options.js","./package.json":"./package.json"},"scripts":{"dts-check":"tsc --project tests/types/tsconfig.json","lint":"standard","pretest":"npm run lint && npm run dts-check","test":"tap run --allow-empty-coverage --disable-coverage --timeout=60000","test:coverage":"tap run --show-full-coverage --timeout=60000 --coverage-report=text --coverage-report=lcov","prerelease":"npm test","release":"standard-version"},"repository":{"type":"git","url":"git://github.com/motdotla/dotenv.git"},"homepage":"https://github.com/motdotla/dotenv#readme","funding":"https://dotenvx.com","keywords":["dotenv","env",".env","environment","variables","config","settings"],"readmeFilename":"README.md","license":"BSD-2-Clause","devDependencies":{"@types/node":"^18.11.3","decache":"^4.6.2","sinon":"^14.0.1","standard":"^17.0.0","standard-version":"^9.5.0","tap":"^19.2.0","typescript":"^4.8.4"},"engines":{"node":">=12"},"browser":{"fs":false}}')}},e={};function n(o){var r=e[o];if(void 0!==r)return r.exports;var s=e[o]={exports:{}};return t[o](s,s.exports,n),s.exports}var o={};for(var r in(()=>{"use strict";function t(){var n,o,r="function"==typeof Symbol?Symbol:{},s=r.iterator||"@@iterator",i=r.toStringTag||"@@toStringTag";function c(t,r,s,i){var c=r&&r.prototype instanceof u?r:u,l=Object.create(c.prototype);return e(l,"_invoke",function(t,e,r){var s,i,c,u=0,l=r||[],p=!1,f={p:0,n:0,v:n,a:d,f:d.bind(n,4),d:function(t,e){return s=t,i=0,c=n,f.n=e,a}};function d(t,e){for(i=t,c=e,o=0;!p&&u&&!r&&o<l.length;o++){var r,s=l[o],d=f.p,v=s[2];t>3?(r=v===e)&&(c=s[(i=s[4])?5:(i=3,3)],s[4]=s[5]=n):s[0]<=d&&((r=t<2&&d<s[1])?(i=0,f.v=e,f.n=s[1]):d<v&&(r=t<3||s[0]>e||e>v)&&(s[4]=t,s[5]=e,f.n=v,i=0))}if(r||t>1)return a;throw p=!0,e}return function(r,l,v){if(u>1)throw TypeError("Generator is already running");for(p&&1===l&&d(l,v),i=l,c=v;(o=i<2?n:c)||!p;){s||(i?i<3?(i>1&&(f.n=-1),d(i,c)):f.n=c:f.v=c);try{if(u=2,s){if(i||(r="next"),o=s[r]){if(!(o=o.call(s,c)))throw TypeError("iterator result is not an object");if(!o.done)return o;c=o.value,i<2&&(i=0)}else 1===i&&(o=s.return)&&o.call(s),i<2&&(c=TypeError("The iterator does not provide a '"+r+"' method"),i=1);s=n}else if((o=(p=f.n<0)?c:t.call(e,f))!==a)break}catch(t){s=n,i=1,c=t}finally{u=1}}return{value:o,done:p}}}(t,s,i),!0),l}var a={};function u(){}function l(){}function p(){}o=Object.getPrototypeOf;var f=[][s]?o(o([][s]())):(e(o={},s,function(){return this}),o),d=p.prototype=u.prototype=Object.create(f);function v(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,p):(t.__proto__=p,e(t,i,"GeneratorFunction")),t.prototype=Object.create(d),t}return l.prototype=p,e(d,"constructor",p),e(p,"constructor",l),l.displayName="GeneratorFunction",e(p,i,"GeneratorFunction"),e(d),e(d,i,"Generator"),e(d,s,function(){return this}),e(d,"toString",function(){return"[object Generator]"}),(t=function(){return{w:c,m:v}})()}function e(t,n,o,r){var s=Object.defineProperty;try{s({},"",{})}catch(t){s=0}e=function(t,n,o,r){function i(n,o){e(t,n,function(t){return this._invoke(n,o,t)})}n?s?s(t,n,{value:o,enumerable:!r,configurable:!r,writable:!r}):t[n]=o:(i("next",0),i("throw",1),i("return",2))},e(t,n,o,r)}function o(t,e,n,o,r,s,i){try{var c=t[s](i),a=c.value}catch(t){return void n(t)}c.done?e(a):Promise.resolve(a).then(o,r)}var r,s=n(7374),i=n(998),c=n(9031)(process.argv.slice(2));(r=t().m(function e(){var n,o,r;return t().w(function(t){for(;;)switch(t.n){case 0:if(n=c.e||".env",!(o=i.config({path:n})).error){t.n=1;break}throw o.error;case 1:Object.assign(process.env,o.parsed),c.p&&((r=s(c.p,c._)).stdout.on("data",function(t){console.log(t.toString())}),r.stderr.on("data",function(t){console.error(t.toString())}),r.on("exit",function(t){console.log("Child exited with code ".concat(t))}));case 2:return t.a(2)}},e)}),function(){var t=this,e=arguments;return new Promise(function(n,s){var i=r.apply(t,e);function c(t){o(i,n,s,c,a,"next",t)}function a(t){o(i,n,s,c,a,"throw",t)}c(void 0)})})()})(),o)exports[r]=o[r];Object.defineProperty(exports,"__esModule",{value:!0})})();