text: /*!
   * name: @jswork/next-sum
   * description: Gets the sum of the values in collection.
   * homepage: https://github.com/afeiship/next-sum
   * version: 1.0.2
   * date: 2021-01-09 16:40:28
   * license: MIT
   */
  !function(){var u=("undefined"!=typeof window?window:this||Function("return this")()).nx||require("@jswork/next");u.sum=function(n,e){var r=function(t){switch(typeof t){case"string":return function(n,e){return u.get(e,t)};case"function":return t;default:return function(n,e){return e}}}(e);return n.reduce(function(n,e,t,u){return n+r(t,e,u)},0)},"undefined"!=typeof module&&module.exports&&(module.exports=u.sum)}();