"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.default = void 0;
var _default = configContext => {
  const {
    OP_EQ,
    OP_CONTAIN,
    OP_RANGE
  } = configContext.searchOperators;
  const {
    defaultAdvancedSearchBooleanOp,
    extensions
  } = configContext.config;
  return {
    op: defaultAdvancedSearchBooleanOp,
    value: [{
      op: OP_CONTAIN,
      path: 'ns2:acquisitions_common/acquisitionReferenceNumber'
    }, {
      op: OP_RANGE,
      path: 'ns2:acquisitions_common/accessionDateGroup'
    }, {
      op: OP_RANGE,
      path: 'ns2:acquisitions_common/acquisitionDateGroupList/acquisitionDateGroup'
    }, {
      op: OP_EQ,
      path: 'ns2:acquisitions_common/acquisitionMethod'
    }, {
      op: OP_EQ,
      path: 'ns2:acquisitions_common/acquisitionSources/acquisitionSource'
    }, {
      op: OP_EQ,
      path: 'ns2:acquisitions_common/acquisitionFundingList/acquisitionFunding/acquisitionFundingSource'
    }, {
      op: OP_CONTAIN,
      path: 'ns2:acquisitions_common/creditLine'
    }, {
      op: OP_CONTAIN,
      path: 'ns2:acquisitions_common/fieldCollectionEventNames/fieldCollectionEventName'
    }, ...extensions.core.advancedSearch]
  };
};
exports.default = _default;