"use strict";
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
const _baseGet = require("./_baseGet.js");
const _baseSet = require("./_baseSet.js");
const _castPath = require("./_castPath.js");
function basePickBy(object, paths, predicate) {
  var index = -1, length = paths.length, result = {};
  while (++index < length) {
    var path = paths[index], value = _baseGet.default(object, path);
    if (predicate(value, path)) {
      _baseSet.default(result, _castPath.default(path, object), value);
    }
  }
  return result;
}
exports.default = basePickBy;
