'use strict';

var chunkedExec = require('./chunked-exec-tHzxUWFk.cjs');
require('node:util');
require('node:child_process');
require('node:url');

var _documentCurrentScript = typeof document !== 'undefined' ? document.currentScript : null;
// Binary source: https://github.com/sindresorhus/recycle-bin
const binary = new URL('windows-trash.exe', (typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : (_documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === 'SCRIPT' && _documentCurrentScript.src || new URL('windows-OmnJ7a39.cjs', document.baseURI).href)));

async function windows(paths) {
	await chunkedExec.chunkedExec(binary, paths, 200);
}

exports.default = windows;
