(s, o, i, a, u)
| 38657 | ) |
| 38658 | } |
| 38659 | } |
| 38660 | function applyPatch(s, o, i, a, u) { |
| 38661 | if ((void 0 === a && (a = !0), void 0 === u && (u = !0), i && !Array.isArray(o))) |
| 38662 | throw new Do('Patch sequence must be an array', 'SEQUENCE_NOT_AN_ARRAY') |
| 38663 | a || (s = _deepClone(s)) |
| 38664 | for (var _ = new Array(o.length), w = 0, x = o.length; w < x; w++) |
| 38665 | ((_[w] = applyOperation(s, o[w], i, !0, u, w)), (s = _[w].newDocument)) |
| 38666 | return ((_.newDocument = s), _) |
| 38667 | } |
| 38668 | function applyReducer(s, o, i) { |
| 38669 | var a = applyOperation(s, o) |
no test coverage detected