{"version":3,"sources":["jsdelivr-header.js","/npm/@homebridge/node-pty-prebuilt-multiarch@0.12.0/lib/index.js"],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA,ACNA,aAMA,OAAO,eAAe,QAAS,aAAc,CAAE,OAAO,IACtD,QAAQ,OAAS,QAAQ,KAAO,QAAQ,eAAiB,QAAQ,KAAO,QAAQ,WAAQ,EACxF,IACI,aADA,qBAAuB,QAAQ,wBAoBnC,SAAS,MAAM,EAAM,EAAM,GACvB,OAAO,IAAI,aAAa,EAAM,EAAM,EACxC,CAGA,SAAS,KAAK,EAAM,EAAM,GACtB,OAAO,IAAI,aAAa,EAAM,EAAM,EACxC,CAGA,SAAS,eAAe,EAAM,EAAM,GAChC,OAAO,IAAI,aAAa,EAAM,EAAM,EACxC,CAEA,SAAS,KAAK,GACV,OAAO,aAAa,KAAK,EAC7B,CAjCI,aADqB,UAArB,QAAQ,SACO,QAAQ,qBAAqB,gBAG7B,QAAQ,kBAAkB,aAiB7C,QAAQ,MAAQ,MAKhB,QAAQ,KAAO,KAKf,QAAQ,eAAiB,eAIzB,QAAQ,KAAO,KAKf,QAAQ,OAA+B,UAArB,QAAQ,SAAuB,QAAQ,qBAAqB,SAAW,6BAA+B","file":"/npm/@homebridge/node-pty-prebuilt-multiarch@0.12.0/lib/index.js","sourceRoot":"","sourcesContent":["/**\n * Minified by jsDelivr using Terser v5.39.0.\n * Original file: /npm/@homebridge/node-pty-prebuilt-multiarch@0.12.0/lib/index.js\n *\n * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files\n */\n","\"use strict\";\n/**\n * Copyright (c) 2012-2015, Christopher Jeffrey, Peter Sunde (MIT License)\n * Copyright (c) 2016, Daniel Imms (MIT License).\n * Copyright (c) 2018, Microsoft Corporation (MIT License).\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.native = exports.open = exports.createTerminal = exports.fork = exports.spawn = void 0;\nvar prebuild_file_path_1 = require(\"./prebuild-file-path\");\nvar terminalCtor;\nif (process.platform === 'win32') {\n    terminalCtor = require('./windowsTerminal').WindowsTerminal;\n}\nelse {\n    terminalCtor = require('./unixTerminal').UnixTerminal;\n}\n/**\n * Forks a process as a pseudoterminal.\n * @param file The file to launch.\n * @param args The file's arguments as argv (string[]) or in a pre-escaped\n * CommandLine format (string). Note that the CommandLine option is only\n * available on Windows and is expected to be escaped properly.\n * @param options The options of the terminal.\n * @throws When the file passed to spawn with does not exists.\n * @see CommandLineToArgvW https://msdn.microsoft.com/en-us/library/windows/desktop/bb776391(v=vs.85).aspx\n * @see Parsing C++ Comamnd-Line Arguments https://msdn.microsoft.com/en-us/library/17w5ykft.aspx\n * @see GetCommandLine https://msdn.microsoft.com/en-us/library/windows/desktop/ms683156.aspx\n */\nfunction spawn(file, args, opt) {\n    return new terminalCtor(file, args, opt);\n}\nexports.spawn = spawn;\n/** @deprecated */\nfunction fork(file, args, opt) {\n    return new terminalCtor(file, args, opt);\n}\nexports.fork = fork;\n/** @deprecated */\nfunction createTerminal(file, args, opt) {\n    return new terminalCtor(file, args, opt);\n}\nexports.createTerminal = createTerminal;\nfunction open(options) {\n    return terminalCtor.open(options);\n}\nexports.open = open;\n/**\n * Expose the native API when not Windows, note that this is not public API and\n * could be removed at any time.\n */\nexports.native = (process.platform !== 'win32' ? require(prebuild_file_path_1.ptyPath || '../build/Release/pty.node') : null);\n"]}