code: function mixin(mixinParams) {
    return withNoNewKeyword(
    /*#__PURE__*/
    function (_this) {
      _inherits(MixinSwal, _this);
  
      function MixinSwal() {
        _classCallCheck(this, MixinSwal);
  
        return _possibleConstructorReturn(this, _getPrototypeOf(MixinSwal).apply(this, arguments));
      }
  
      _createClass(MixinSwal, [{
        key: "_main",
        value: function _main(params) {
          return _get(_getPrototypeOf(MixinSwal.prototype), "_main", this).call(this, _extends({}, mixinParams, params));
        }
      }]);
  
      return MixinSwal;
    }(this));
  }
docs: Returns an extended version of `Swal` containing `params` as defaults.
  Useful for reusing Swal configuration.
  
  For example:
  
  Before:
  const textPromptOptions = { input: 'text', showCancelButton: true }
  const {value: firstName} = await Swal({ ...textPromptOptions, title: 'What is your first name?' })
  const {value: lastName} = await Swal({ ...textPromptOptions, title: 'What is your last name?' })
  
  After:
  const TextPrompt = Swal.mixin({ input: 'text', showCancelButton: true })
  const {value: firstName} = await TextPrompt('What is your first name?')
  const {value: lastName} = await TextPrompt('What is your last name?')
  
  @param mixinParams