(function (root, factory) {
  
  'use strict';

  if (typeof define === 'function' && define.amd) {