oro-sdk 3.16.0 → 3.17.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -439,7 +439,7 @@ function _asyncToGenerator(fn) {
439
439
  }
440
440
 
441
441
  function _extends() {
442
- _extends = Object.assign || function (target) {
442
+ _extends = Object.assign ? Object.assign.bind() : function (target) {
443
443
  for (var i = 1; i < arguments.length; i++) {
444
444
  var source = arguments[i];
445
445
 
@@ -452,7 +452,6 @@ function _extends() {
452
452
 
453
453
  return target;
454
454
  };
455
-
456
455
  return _extends.apply(this, arguments);
457
456
  }
458
457
 
@@ -482,18 +481,17 @@ function _inheritsLoose(subClass, superClass) {
482
481
  }
483
482
 
484
483
  function _getPrototypeOf(o) {
485
- _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) {
484
+ _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) {
486
485
  return o.__proto__ || Object.getPrototypeOf(o);
487
486
  };
488
487
  return _getPrototypeOf(o);
489
488
  }
490
489
 
491
490
  function _setPrototypeOf(o, p) {
492
- _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {
491
+ _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) {
493
492
  o.__proto__ = p;
494
493
  return o;
495
494
  };
496
-
497
495
  return _setPrototypeOf(o, p);
498
496
  }
499
497
 
@@ -512,7 +510,7 @@ function _isNativeReflectConstruct() {
512
510
 
513
511
  function _construct(Parent, args, Class) {
514
512
  if (_isNativeReflectConstruct()) {
515
- _construct = Reflect.construct;
513
+ _construct = Reflect.construct.bind();
516
514
  } else {
517
515
  _construct = function _construct(Parent, args, Class) {
518
516
  var a = [null];
@@ -627,7 +625,7 @@ var personalMetaToPrefix = (_personalMetaToPrefix = {}, _personalMetaToPrefix[in
627
625
  */
628
626
 
629
627
  function identificationToPersonalInformations(data, category) {
630
- var _data$;
628
+ var _data;
631
629
 
632
630
  var prefix = personalMetaToPrefix[category];
633
631
  return {
@@ -637,7 +635,7 @@ function identificationToPersonalInformations(data, category) {
637
635
  name: data[prefix + "Name"],
638
636
  phone: data[prefix + "Phone"],
639
637
  zip: data[prefix + "Zip"],
640
- hid: (_data$ = data[prefix + "HID"]) != null ? _data$ : data[prefix + "ID"],
638
+ hid: (_data = data[prefix + "HID"]) != null ? _data : data[prefix + "ID"],
641
639
  pharmacy: data[prefix + "Pharmacy"],
642
640
  address: data[prefix + "Address"]
643
641
  };