var c=Object.defineProperty;var p=Object.getOwnPropertyDescriptor;var y=Object.getOwnPropertyNames;var A=Object.prototype.hasOwnProperty;var B=(r,e)=>{for(var n in e)c(r,n,{get:e[n],enumerable:!0})},d=(r,e,n,f)=>{if(e&&typeof e=="object"||typeof e=="function")for(let t of y(e))!A.call(r,t)&&t!==n&&c(r,t,{get:()=>e[t],enumerable:!(f=p(e,t))||f.enumerable});return r};var E=r=>d(c({},"__esModule",{value:!0}),r);var _={};B(_,{default:()=>o});module.exports=E(_);function i(r){let e=typeof Buffer<"u"?Buffer:null;return!!(e&&r instanceof e||r instanceof Date||r instanceof RegExp)}function l(r){if((typeof Buffer<"u"?Buffer:null)&&r instanceof Buffer){let n=Buffer.alloc(r.length);return r.copy(n),n}else{if(r instanceof Date)return new Date(r.getTime());if(r instanceof RegExp)return new RegExp(r);throw new Error("Unexpected situation")}}function a(r){let e=[];return r.forEach(function(n,f){typeof n=="object"&&n!==null?Array.isArray(n)?e[f]=a(n):i(n)?e[f]=l(n):e[f]=o({},n):e[f]=n}),e}function s(r,e){return e==="__proto__"?void 0:r[e]}function o(...r){let e={},n,f;return r.forEach(function(t){typeof t!="object"||t===null||Array.isArray(t)||Object.keys(t).forEach(function(u){if(f=s(e,u),n=s(t,u),n!==e)if(typeof n!="object"||n===null){e[u]=n;return}else if(Array.isArray(n)){e[u]=a(n);return}else if(i(n)){e[u]=l(n);return}else if(typeof f!="object"||f===null||Array.isArray(f)){e[u]=o({},n);return}else{e[u]=o(f,n);return}})}),e}