text: define("bitbucket/internal/feature/settings/hooks/reducers/entities",["module","exports","redux","bitbucket/internal/util/reducers","../actions"],function(g,d,h,k,c){Object.defineProperty(d,"__esModule",{value:!0});var a,f=function(a,b){a[b.details.key]=b;return a},e=function(a,b){b=b.payload.hook;return f(babelHelpers.extends({},a),b)};d.default=(0,h.combineReducers)({hooks:(0,k.reduceByType)({},(a={},babelHelpers.defineProperty(a,c.LOAD_HOOKS_SUCCESS,function(a,b){return b.payload.values.reduce(f,
  babelHelpers.extends({},a))}),babelHelpers.defineProperty(a,c.ENABLE_HOOK_SUCCESS,e),babelHelpers.defineProperty(a,c.INHERIT_HOOK_SUCCESS,e),babelHelpers.defineProperty(a,c.SAVE_HOOK_SETTINGS_SUCCESS,e),a))});g.exports=d["default"]});