import _classCallCheck from '@babel/runtime/helpers/classCallCheck';
import _createClass from '@babel/runtime/helpers/createClass';
import './index-fe887b5f.js';
import '@babel/runtime/helpers/slicedToArray';
import '@babel/runtime/helpers/asyncToGenerator';
import '@babel/runtime/helpers/defineProperty';
import '@babel/runtime/regenerator';
import '@babel/runtime/helpers/objectWithoutProperties';
import '@babel/runtime/helpers/toConsumableArray';
import 'axios';
import '@crystaldesign/diva-utils';
import '@crystaldesign/basket-model';
import '@crystaldesign/basket-handler';
import 'socket.io-client';
import '@babel/runtime/helpers/typeof';

//Der in einem Set gemergte Optionsbaum
var StandardWWSHandler = /*#__PURE__*/function () {
  function StandardWWSHandler() {
    _classCallCheck(this, StandardWWSHandler);
  }
  return _createClass(StandardWWSHandler, [{
    key: "repairWWSFlags",
    value: function repairWWSFlags(articles, orderLines) {
      return orderLines;
    }
  }, {
    key: "getWWSData",
    value: function getWWSData(basket, set, orderSet, orderlines) {
      for (var i = 0; i < orderlines.length; i++) {
        var orderLineItem = orderlines[i];
        if (orderLineItem.DontAddToFinalOrderLine) {
          orderlines.splice(i, 1);
          i--;
        }
      }
      return {
        orderlines: orderlines
      };
    }
  }, {
    key: "getCustomIdsForProductsMatch",
    value: function getCustomIdsForProductsMatch(set) {}
  }]);
}();

export { StandardWWSHandler as default };
