@xuda.io/runtime-bundle 1.0.1235 → 1.0.1237

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -23582,4 +23582,46 @@ wi&&(An.prototype[wi]=Xe),An}();typeof define=="function"&&typeof define.amd=="o
23582
23582
  },
23583
23583
  };
23584
23584
  });
23585
+
23585
23586
  !(function (e, t) {
23587
+ 'object' == typeof exports && 'undefined' != typeof module ? t(exports) : 'function' == typeof define && define.amd ? define(['exports'], t) : t((e.klona = {}));
23588
+ })(this, function (e) {
23589
+ e.klona = function e(t) {
23590
+ if ('object' != typeof t) return t;
23591
+ var o,
23592
+ r,
23593
+ n = Object.prototype.toString.call(t);
23594
+ if ('[object Object]' === n) {
23595
+ if (t.constructor !== Object && 'function' == typeof t.constructor) for (o in ((r = new t.constructor()), t)) t.hasOwnProperty(o) && r[o] !== t[o] && (r[o] = e(t[o]));
23596
+ else for (o in ((r = {}), t)) '__proto__' === o ? Object.defineProperty(r, o, { value: e(t[o]), configurable: !0, enumerable: !0, writable: !0 }) : (r[o] = e(t[o]));
23597
+ return r;
23598
+ }
23599
+ if ('[object Array]' === n) {
23600
+ for (o = t.length, r = Array(o); o--; ) r[o] = e(t[o]);
23601
+ return r;
23602
+ }
23603
+ return '[object Set]' === n
23604
+ ? ((r = new Set()),
23605
+ t.forEach(function (t) {
23606
+ r.add(e(t));
23607
+ }),
23608
+ r)
23609
+ : '[object Map]' === n
23610
+ ? ((r = new Map()),
23611
+ t.forEach(function (t, o) {
23612
+ r.set(e(o), e(t));
23613
+ }),
23614
+ r)
23615
+ : '[object Date]' === n
23616
+ ? new Date(+t)
23617
+ : '[object RegExp]' === n
23618
+ ? (((r = new RegExp(t.source, t.flags)).lastIndex = t.lastIndex), r)
23619
+ : '[object DataView]' === n
23620
+ ? new t.constructor(e(t.buffer))
23621
+ : '[object ArrayBuffer]' === n
23622
+ ? t.slice(0)
23623
+ : 'Array]' === n.slice(-6)
23624
+ ? new t.constructor(t)
23625
+ : t;
23626
+ };
23627
+ });
23586
23628