prod/service-worker-28ddbc7ef7a575da0539a0f05f4bfdae.js
function through2 (construct) {
  return function (options, transform, flush) {
    if (typeof options == 'function') {
      flush     = transform
      transform = options
      options   = {}
    }

    if (typeof transform != 'function')
      transform = noop

    if (typeof flush != 'function')
      flush = null

    return construct(options, transform, flush)
  }
}
function through2 (construct) {
  return function (options, transform, flush) {
    if (typeof options == 'function') {
      flush     = transform
      transform = options
      options   = {}
    }

    if (typeof transform != 'function')
      transform = noop

    if (typeof flush != 'function')
      flush = null

    return construct(options, transform, flush)
  }
}
function through2 ( construct ) { return function ( options , transform , flush ) { if ( typeof options == 'function' ) { flush = transform transform = options options = { } } if ( typeof transform != 'function' ) transform = noop if ( typeof flush != 'function' ) flush = null return construct ( options , transform , flush ) } }
create a new export function, used by both the main export and the .ctor export, contains common logic for dealing with arguments
create a new export function used by both the main export and the . ctor export contains common logic for dealing with arguments