12345678910111213141516171819202122232425262728293031323334353637383940414243 |
- import { fileURLToPath as __cjs_fileURLToPath } from 'node:url';
- import { dirname as __cjs_dirname } from 'node:path';
- import { createRequire as __cjs_createRequire } from 'node:module';
- const __filename = __cjs_fileURLToPath(import.meta.url);
- const __dirname = __cjs_dirname(__filename);
- const require = __cjs_createRequire(import.meta.url);
- const __require = require;
- var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
- function getDefaultExportFromCjs (x) {
- return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, 'default') ? x['default'] : x;
- }
- function getAugmentedNamespace(n) {
- if (n.__esModule) return n;
- var f = n.default;
- if (typeof f == "function") {
- var a = function a () {
- if (this instanceof a) {
- var args = [null];
- args.push.apply(args, arguments);
- var Ctor = Function.bind.apply(f, args);
- return new Ctor();
- }
- return f.apply(this, arguments);
- };
- a.prototype = f.prototype;
- } else a = {};
- Object.defineProperty(a, '__esModule', {value: true});
- Object.keys(n).forEach(function (k) {
- var d = Object.getOwnPropertyDescriptor(n, k);
- Object.defineProperty(a, k, d.get ? d : {
- enumerable: true,
- get: function () {
- return n[k];
- }
- });
- });
- return a;
- }
- export { getAugmentedNamespace as a, commonjsGlobal as c, getDefaultExportFromCjs as g };
|