{"size": 46802, "ext": "js", "max_stars_repo_path": "epocas-frontend/public/bootstrap/js/coverage/dist/toast.js", "max_stars_repo_name": "Colegio-de-Gaia/Colgaia-Epocas-Admin", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "epocas-frontend/public/bootstrap/js/coverage/dist/toast.js", "max_issues_repo_name": "Colegio-de-Gaia/Colgaia-Epocas-Admin", "max_issues_repo_issues_event_min_datetime": "2019-11-26T21:46:47.000Z", "max_issues_repo_issues_event_max_datetime": "2022-02-26T20:46:30.000Z", "max_forks_repo_path": "epocas-frontend/public/bootstrap/js/coverage/dist/toast.js", "max_forks_repo_name": "Colegio-de-Gaia/Colgaia-Epocas-Admin", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": 11, "max_forks_count": null, "avg_line_length": 20.7455673759, "max_line_length": 240, "alphanum_fraction": 0.3089825221}
/*!
  * Bootstrap toast.js v4.4.1 (https://getbootstrap.com/)
  * Copyright 2011-2019 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
  * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
  */
(function (global, factory) {
  typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory(require('jquery'), require('./util.js')) :
  typeof define === 'function' && define.amd ? define(['jquery', './util.js'], factory) :
  (global = global || self, global.Toast = factory(global.jQuery, global.Util));
}(this, (function ($, Util) { 'use strict';

  $ = $ && $.hasOwnProperty('default') ? $['default'] : $;
  Util = Util && Util.hasOwnProperty('default') ? Util['default'] : Util;

  function _defineProperties(target, props) {
    for (var i = 0; i < props.length; i++) {
      var descriptor = props[i];
      descriptor.enumerable = descriptor.enumerable || false;
      descriptor.configurable = true;
      if ("value" in descriptor) descriptor.writable = true;
      Object.defineProperty(target, descriptor.key, descriptor);
    }
  }

  function _createClass(Constructor, protoProps, staticProps) {
    if (protoProps) _defineProperties(Constructor.prototype, protoProps);
    if (staticProps) _defineProperties(Constructor, staticProps);
    return Constructor;
  }

  function _defineProperty(obj, key, value) {
    if (key in obj) {
      Object.defineProperty(obj, key, {
        value: value,
        enumerable: true,
        configurable: true,
        writable: true
      });
    } else {
      obj[key] = value;
    }

    return obj;
  }

  function ownKeys(object, enumerableOnly) {
    var keys = Object.keys(object);

    if (Object.getOwnPropertySymbols) {
      var symbols = Object.getOwnPropertySymbols(object);
      if (enumerableOnly) symbols = symbols.filter(function (sym) {
        return Object.getOwnPropertyDescriptor(object, sym).enumerable;
      });
      keys.push.apply(keys, symbols);
    }

    return keys;
  }

  function _objectSpread2(target) {
    for (var i = 1; i < arguments.length; i++) {
      var source = arguments[i] != null ? arguments[i] : {};

      if (i % 2) {
        ownKeys(Object(source), true).forEach(function (key) {
          _defineProperty(target, key, source[key]);
        });
      } else if (Object.getOwnPropertyDescriptors) {
        Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
      } else {
        ownKeys(Object(source)).forEach(function (key) {
          Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
        });
      }
    }

    return target;
  }

  var cov_1h2glnouko = function () {
    var path = "/Users/vascomartins/Projects/colegio/epocas-frontend/public/bootstrap/js/src/toast.js";
    var hash = "6096bb37e234691acef938253ea96d8f5a99cc11";
    var global = new Function("return this")();
    var gcv = "__coverage__";
    var coverageData = {
      path: "/Users/vascomartins/Projects/colegio/epocas-frontend/public/bootstrap/js/src/toast.js",
      statementMap: {
        "0": {
          start: {
            line: 17,
            column: 27
          },
          end: {
            line: 17,
            column: 34
          }
        },
        "1": {
          start: {
            line: 18,
            column: 27
          },
          end: {
            line: 18,
            column: 34
          }
        },
        "2": {
          start: {
            line: 19,
            column: 27
          },
          end: {
            line: 19,
            column: 37
          }
        },
        "3": {
          start: {
            line: 20,
            column: 27
          },
          end: {
            line: 20,
            column: 41
          }
        },
        "4": {
          start: {
            line: 21,
            column: 27
          },
          end: {
            line: 21,
            column: 37
          }
        },
        "5": {
          start: {
            line: 23,
            column: 14
          },
          end: {
            line: 29,
            column: 1
          }
        },
        "6": {
          start: {
            line: 31,
            column: 18
          },
          end: {
            line: 36,
            column: 1
          }
        },
        "7": {
          start: {
            line: 38,
            column: 20
          },
          end: {
            line: 42,
            column: 1
          }
        },
        "8": {
          start: {
            line: 44,
            column: 16
          },
          end: {
            line: 48,
            column: 1
          }
        },
        "9": {
          start: {
            line: 50,
            column: 17
          },
          end: {
            line: 52,
            column: 1
          }
        },
        "10": {
          start: {
            line: 62,
            column: 4
          },
          end: {
            line: 62,
            column: 27
          }
        },
        "11": {
          start: {
            line: 63,
            column: 4
          },
          end: {
            line: 63,
            column: 43
          }
        },
        "12": {
          start: {
            line: 64,
            column: 4
          },
          end: {
            line: 64,
            column: 24
          }
        },
        "13": {
          start: {
            line: 65,
            column: 4
          },
          end: {
            line: 65,
            column: 24
          }
        },
        "14": {
          start: {
            line: 71,
            column: 4
          },
          end: {
            line: 71,
            column: 18
          }
        },
        "15": {
          start: {
            line: 75,
            column: 4
          },
          end: {
            line: 75,
            column: 22
          }
        },
        "16": {
          start: {
            line: 79,
            column: 4
          },
          end: {
            line: 79,
            column: 18
          }
        },
        "17": {
          start: {
            line: 85,
            column: 22
          },
          end: {
            line: 85,
            column: 41
          }
        },
        "18": {
          start: {
            line: 87,
            column: 4
          },
          end: {
            line: 87,
            column: 39
          }
        },
        "19": {
          start: {
            line: 88,
            column: 4
          },
          end: {
            line: 90,
            column: 5
          }
        },
        "20": {
          start: {
            line: 89,
            column: 6
          },
          end: {
            line: 89,
            column: 12
          }
        },
        "21": {
          start: {
            line: 92,
            column: 4
          },
          end: {
            line: 94,
            column: 5
          }
        },
        "22": {
          start: {
            line: 93,
            column: 6
          },
          end: {
            line: 93,
            column: 49
          }
        },
        "23": {
          start: {
            line: 96,
            column: 21
          },
          end: {
            line: 107,
            column: 5
          }
        },
        "24": {
          start: {
            line: 97,
            column: 6
          },
          end: {
            line: 97,
            column: 55
          }
        },
        "25": {
          start: {
            line: 98,
            column: 6
          },
          end: {
            line: 98,
            column: 49
          }
        },
        "26": {
          start: {
            line: 100,
            column: 6
          },
          end: {
            line: 100,
            column: 43
          }
        },
        "27": {
          start: {
            line: 102,
            column: 6
          },
          end: {
            line: 106,
            column: 7
          }
        },
        "28": {
          start: {
            line: 103,
            column: 8
          },
          end: {
            line: 105,
            column: 30
          }
        },
        "29": {
          start: {
            line: 104,
            column: 10
          },
          end: {
            line: 104,
            column: 21
          }
        },
        "30": {
          start: {
            line: 109,
            column: 4
          },
          end: {
            line: 109,
            column: 50
          }
        },
        "31": {
          start: {
            line: 110,
            column: 4
          },
          end: {
            line: 110,
            column: 30
          }
        },
        "32": {
          start: {
            line: 111,
            column: 4
          },
          end: {
            line: 111,
            column: 50
          }
        },
        "33": {
          start: {
            line: 112,
            column: 4
          },
          end: {
            line: 120,
            column: 5
          }
        },
        "34": {
          start: {
            line: 113,
            column: 33
          },
          end: {
            line: 113,
            column: 85
          }
        },
        "35": {
          start: {
            line: 115,
            column: 6
          },
          end: {
            line: 117,
            column: 49
          }
        },
        "36": {
          start: {
            line: 119,
            column: 6
          },
          end: {
            line: 119,
            column: 16
          }
        },
        "37": {
          start: {
            line: 124,
            column: 4
          },
          end: {
            line: 126,
            column: 5
          }
        },
        "38": {
          start: {
            line: 125,
            column: 6
          },
          end: {
            line: 125,
            column: 12
          }
        },
        "39": {
          start: {
            line: 128,
            column: 22
          },
          end: {
            line: 128,
            column: 41
          }
        },
        "40": {
          start: {
            line: 130,
            column: 4
          },
          end: {
            line: 130,
            column: 39
          }
        },
        "41": {
          start: {
            line: 131,
            column: 4
          },
          end: {
            line: 133,
            column: 5
          }
        },
        "42": {
          start: {
            line: 132,
            column: 6
          },
          end: {
            line: 132,
            column: 12
          }
        },
        "43": {
          start: {
            line: 135,
            column: 4
          },
          end: {
            line: 135,
            column: 17
          }
        },
        "44": {
          start: {
            line: 139,
            column: 4
          },
          end: {
            line: 139,
            column: 31
          }
        },
        "45": {
          start: {
            line: 140,
            column: 4
          },
          end: {
            line: 140,
            column: 24
          }
        },
        "46": {
          start: {
            line: 142,
            column: 4
          },
          end: {
            line: 144,
            column: 5
          }
        },
        "47": {
          start: {
            line: 143,
            column: 6
          },
          end: {
            line: 143,
            column: 52
          }
        },
        "48": {
          start: {
            line: 146,
            column: 4
          },
          end: {
            line: 146,
            column: 45
          }
        },
        "49": {
          start: {
            line: 148,
            column: 4
          },
          end: {
            line: 148,
            column: 41
          }
        },
        "50": {
          start: {
            line: 149,
            column: 4
          },
          end: {
            line: 149,
            column: 24
          }
        },
        "51": {
          start: {
            line: 150,
            column: 4
          },
          end: {
            line: 150,
            column: 24
          }
        },
        "52": {
          start: {
            line: 156,
            column: 4
          },
          end: {
            line: 160,
            column: 5
          }
        },
        "53": {
          start: {
            line: 162,
            column: 4
          },
          end: {
            line: 166,
            column: 5
          }
        },
        "54": {
          start: {
            line: 168,
            column: 4
          },
          end: {
            line: 168,
            column: 17
          }
        },
        "55": {
          start: {
            line: 172,
            column: 4
          },
          end: {
            line: 176,
            column: 5
          }
        },
        "56": {
          start: {
            line: 175,
            column: 12
          },
          end: {
            line: 175,
            column: 23
          }
        },
        "57": {
          start: {
            line: 180,
            column: 21
          },
          end: {
            line: 183,
            column: 5
          }
        },
        "58": {
          start: {
            line: 181,
            column: 6
          },
          end: {
            line: 181,
            column: 49
          }
        },
        "59": {
          start: {
            line: 182,
            column: 6
          },
          end: {
            line: 182,
            column: 44
          }
        },
        "60": {
          start: {
            line: 185,
            column: 4
          },
          end: {
            line: 185,
            column: 50
          }
        },
        "61": {
          start: {
            line: 186,
            column: 4
          },
          end: {
            line: 194,
            column: 5
          }
        },
        "62": {
          start: {
            line: 187,
            column: 33
          },
          end: {
            line: 187,
            column: 85
          }
        },
        "63": {
          start: {
            line: 189,
            column: 6
          },
          end: {
            line: 191,
            column: 49
          }
        },
        "64": {
          start: {
            line: 193,
            column: 6
          },
          end: {
            line: 193,
            column: 16
          }
        },
        "65": {
          start: {
            line: 200,
            column: 4
          },
          end: {
            line: 217,
            column: 6
          }
        },
        "66": {
          start: {
            line: 201,
            column: 23
          },
          end: {
            line: 201,
            column: 30
          }
        },
        "67": {
          start: {
            line: 202,
            column: 23
          },
          end: {
            line: 202,
            column: 46
          }
        },
        "68": {
          start: {
            line: 203,
            column: 23
          },
          end: {
            line: 203,
            column: 59
          }
        },
        "69": {
          start: {
            line: 205,
            column: 6
          },
          end: {
            line: 208,
            column: 7
          }
        },
        "70": {
          start: {
            line: 206,
            column: 8
          },
          end: {
            line: 206,
            column: 39
          }
        },
        "71": {
          start: {
            line: 207,
            column: 8
          },
          end: {
            line: 207,
            column: 37
          }
        },
        "72": {
          start: {
            line: 210,
            column: 6
          },
          end: {
            line: 216,
            column: 7
          }
        },
        "73": {
          start: {
            line: 211,
            column: 8
          },
          end: {
            line: 213,
            column: 9
          }
        },
        "74": {
          start: {
            line: 212,
            column: 10
          },
          end: {
            line: 212,
            column: 60
          }
        },
        "75": {
          start: {
            line: 215,
            column: 8
          },
          end: {
            line: 215,
            column: 26
          }
        },
        "76": {
          start: {
            line: 227,
            column: 0
          },
          end: {
            line: 227,
            column: 47
          }
        },
        "77": {
          start: {
            line: 228,
            column: 0
          },
          end: {
            line: 228,
            column: 30
          }
        },
        "78": {
          start: {
            line: 229,
            column: 0
          },
          end: {
            line: 232,
            column: 1
          }
        },
        "79": {
          start: {
            line: 230,
            column: 2
          },
          end: {
            line: 230,
            column: 33
          }
        },
        "80": {
          start: {
            line: 231,
            column: 2
          },
          end: {
            line: 231,
            column: 31
          }
        }
      },
      fnMap: {
        "0": {
          name: "(anonymous_0)",
          decl: {
            start: {
              line: 61,
              column: 2
            },
            end: {
              line: 61,
              column: 3
            }
          },
          loc: {
            start: {
              line: 61,
              column: 31
            },
            end: {
              line: 66,
              column: 3
            }
          },
          line: 61
        },
        "1": {
          name: "(anonymous_1)",
          decl: {
            start: {
              line: 70,
              column: 2
            },
            end: {
              line: 70,
              column: 3
            }
          },
          loc: {
            start: {
              line: 70,
              column: 23
            },
            end: {
              line: 72,
              column: 3
            }
          },
          line: 70
        },
        "2": {
          name: "(anonymous_2)",
          decl: {
            start: {
              line: 74,
              column: 2
            },
            end: {
              line: 74,
              column: 3
            }
          },
          loc: {
            start: {
              line: 74,
              column: 27
            },
            end: {
              line: 76,
              column: 3
            }
          },
          line: 74
        },
        "3": {
          name: "(anonymous_3)",
          decl: {
            start: {
              line: 78,
              column: 2
            },
            end: {
              line: 78,
              column: 3
            }
          },
          loc: {
            start: {
              line: 78,
              column: 23
            },
            end: {
              line: 80,
              column: 3
            }
          },
          line: 78
        },
        "4": {
          name: "(anonymous_4)",
          decl: {
            start: {
              line: 84,
              column: 2
            },
            end: {
              line: 84,
              column: 3
            }
          },
          loc: {
            start: {
              line: 84,
              column: 9
            },
            end: {
              line: 121,
              column: 3
            }
          },
          line: 84
        },
        "5": {
          name: "(anonymous_5)",
          decl: {
            start: {
              line: 96,
              column: 21
            },
            end: {
              line: 96,
              column: 22
            }
          },
          loc: {
            start: {
              line: 96,
              column: 27
            },
            end: {
              line: 107,
              column: 5
            }
          },
          line: 96
        },
        "6": {
          name: "(anonymous_6)",
          decl: {
            start: {
              line: 103,
              column: 35
            },
            end: {
              line: 103,
              column: 36
            }
          },
          loc: {
            start: {
              line: 103,
              column: 41
            },
            end: {
              line: 105,
              column: 9
            }
          },
          line: 103
        },
        "7": {
          name: "(anonymous_7)",
          decl: {
            start: {
              line: 123,
              column: 2
            },
            end: {
              line: 123,
              column: 3
            }
          },
          loc: {
            start: {
              line: 123,
              column: 9
            },
            end: {
              line: 136,
              column: 3
            }
          },
          line: 123
        },
        "8": {
          name: "(anonymous_8)",
          decl: {
            start: {
              line: 138,
              column: 2
            },
            end: {
              line: 138,
              column: 3
            }
          },
          loc: {
            start: {
              line: 138,
              column: 12
            },
            end: {
              line: 151,
              column: 3
            }
          },
          line: 138
        },
        "9": {
          name: "(anonymous_9)",
          decl: {
            start: {
              line: 155,
              column: 2
            },
            end: {
              line: 155,
              column: 3
            }
          },
          loc: {
            start: {
              line: 155,
              column: 21
            },
            end: {
              line: 169,
              column: 3
            }
          },
          line: 155
        },
        "10": {
          name: "(anonymous_10)",
          decl: {
            start: {
              line: 171,
              column: 2
            },
            end: {
              line: 171,
              column: 3
            }
          },
          loc: {
            start: {
              line: 171,
              column: 18
            },
            end: {
              line: 177,
              column: 3
            }
          },
          line: 171
        },
        "11": {
          name: "(anonymous_11)",
          decl: {
            start: {
              line: 175,
              column: 6
            },
            end: {
              line: 175,
              column: 7
            }
          },
          loc: {
            start: {
              line: 175,
              column: 12
            },
            end: {
              line: 175,
              column: 23
            }
          },
          line: 175
        },
        "12": {
          name: "(anonymous_12)",
          decl: {
            start: {
              line: 179,
              column: 2
            },
            end: {
              line: 179,
              column: 3
            }
          },
          loc: {
            start: {
              line: 179,
              column: 11
            },
            end: {
              line: 195,
              column: 3
            }
          },
          line: 179
        },
        "13": {
          name: "(anonymous_13)",
          decl: {
            start: {
              line: 180,
              column: 21
            },
            end: {
              line: 180,
              column: 22
            }
          },
          loc: {
            start: {
              line: 180,
              column: 27
            },
            end: {
              line: 183,
              column: 5
            }
          },
          line: 180
        },
        "14": {
          name: "(anonymous_14)",
          decl: {
            start: {
              line: 199,
              column: 2
            },
            end: {
              line: 199,
              column: 3
            }
          },
          loc: {
            start: {
              line: 199,
              column: 34
            },
            end: {
              line: 218,
              column: 3
            }
          },
          line: 199
        },
        "15": {
          name: "(anonymous_15)",
          decl: {
            start: {
              line: 200,
              column: 21
            },
            end: {
              line: 200,
              column: 22
            }
          },
          loc: {
            start: {
              line: 200,
              column: 33
            },
            end: {
              line: 217,
              column: 5
            }
          },
          line: 200
        },
        "16": {
          name: "(anonymous_16)",
          decl: {
            start: {
              line: 229,
              column: 25
            },
            end: {
              line: 229,
              column: 26
            }
          },
          loc: {
            start: {
              line: 229,
              column: 31
            },
            end: {
              line: 232,
              column: 1
            }
          },
          line: 229
        }
      },
      branchMap: {
        "0": {
          loc: {
            start: {
              line: 88,
              column: 4
            },
            end: {
              line: 90,
              column: 5
            }
          },
          type: "if",
          locations: [{
            start: {
              line: 88,
              column: 4
            },
            end: {
              line: 90,
              column: 5
            }
          }, {
            start: {
              line: 88,
              column: 4
            },
            end: {
              line: 90,
              column: 5
            }
          }],
          line: 88
        },
        "1": {
          loc: {
            start: {
              line: 92,
              column: 4
            },
            end: {
              line: 94,
              column: 5
            }
          },
          type: "if",
          locations: [{
            start: {
              line: 92,
              column: 4
            },
            end: {
              line: 94,
              column: 5
            }
          }, {
            start: {
              line: 92,
              column: 4
            },
            end: {
              line: 94,
              column: 5
            }
          }],
          line: 92
        },
        "2": {
          loc: {
            start: {
              line: 102,
              column: 6
            },
            end: {
              line: 106,
              column: 7
            }
          },
          type: "if",
          locations: [{
            start: {
              line: 102,
              column: 6
            },
            end: {
              line: 106,
              column: 7
            }
          }, {
            start: {
              line: 102,
              column: 6
            },
            end: {
              line: 106,
              column: 7
            }
          }],
          line: 102
        },
        "3": {
          loc: {
            start: {
              line: 112,
              column: 4
            },
            end: {
              line: 120,
              column: 5
            }
          },
          type: "if",
          locations: [{
            start: {
              line: 112,
              column: 4
            },
            end: {
              line: 120,
              column: 5
            }
          }, {
            start: {
              line: 112,
              column: 4
            },
            end: {
              line: 120,
              column: 5
            }
          }],
          line: 112
        },
        "4": {
          loc: {
            start: {
              line: 124,
              column: 4
            },
            end: {
              line: 126,
              column: 5
            }
          },
          type: "if",
          locations: [{
            start: {
              line: 124,
              column: 4
            },
            end: {
              line: 126,
              column: 5
            }
          }, {
            start: {
              line: 124,
              column: 4
            },
            end: {
              line: 126,
              column: 5
            }
          }],
          line: 124
        },
        "5": {
          loc: {
            start: {
              line: 131,
              column: 4
            },
            end: {
              line: 133,
              column: 5
            }
          },
          type: "if",
          locations: [{
            start: {
              line: 131,
              column: 4
            },
            end: {
              line: 133,
              column: 5
            }
          }, {
            start: {
              line: 131,
              column: 4
            },
            end: {
              line: 133,
              column: 5
            }
          }],
          line: 131
        },
        "6": {
          loc: {
            start: {
              line: 142,
              column: 4
            },
            end: {
              line: 144,
              column: 5
            }
          },
          type: "if",
          locations: [{
            start: {
              line: 142,
              column: 4
            },
            end: {
              line: 144,
              column: 5
            }
          }, {
            start: {
              line: 142,
              column: 4
            },
            end: {
              line: 144,
              column: 5
            }
          }],
          line: 142
        },
        "7": {
          loc: {
            start: {
              line: 159,
              column: 9
            },
            end: {
              line: 159,
              column: 59
            }
          },
          type: "cond-expr",
          locations: [{
            start: {
              line: 159,
              column: 48
            },
            end: {
              line: 159,
              column: 54
            }
          }, {
            start: {
              line: 159,
              column: 57
            },
            end: {
              line: 159,
              column: 59
            }
          }],
          line: 159
        },
        "8": {
          loc: {
            start: {
              line: 159,
              column: 9
            },
            end: {
              line: 159,
              column: 45
            }
          },
          type: "binary-expr",
          locations: [{
            start: {
              line: 159,
              column: 9
            },
            end: {
              line: 159,
              column: 35
            }
          }, {
            start: {
              line: 159,
              column: 39
            },
            end: {
              line: 159,
              column: 45
            }
          }],
          line: 159
        },
        "9": {
          loc: {
            start: {
              line: 186,
              column: 4
            },
            end: {
              line: 194,
              column: 5
            }
          },
          type: "if",
          locations: [{
            start: {
              line: 186,
              column: 4
            },
            end: {
              line: 194,
              column: 5
            }
          }, {
            start: {
              line: 186,
              column: 4
            },
            end: {
              line: 194,
              column: 5
            }
          }],
          line: 186
        },
        "10": {
          loc: {
            start: {
              line: 203,
              column: 23
            },
            end: {
              line: 203,
              column: 59
            }
          },
          type: "binary-expr",
          locations: [{
            start: {
              line: 203,
              column: 23
            },
            end: {
              line: 203,
              column: 49
            }
          }, {
            start: {
              line: 203,
              column: 53
            },
            end: {
              line: 203,
              column: 59
            }
          }],
          line: 203
        },
        "11": {
          loc: {
            start: {
              line: 205,
              column: 6
            },
            end: {
              line: 208,
              column: 7
            }
          },
          type: "if",
          locations: [{
            start: {
              line: 205,
              column: 6
            },
            end: {
              line: 208,
              column: 7
            }
          }, {
            start: {
              line: 205,
              column: 6
            },
            end: {
              line: 208,
              column: 7
            }
          }],
          line: 205
        },
        "12": {
          loc: {
            start: {
              line: 210,
              column: 6
            },
            end: {
              line: 216,
              column: 7
            }
          },
          type: "if",
          locations: [{
            start: {
              line: 210,
              column: 6
            },
            end: {
              line: 216,
              column: 7
            }
          }, {
            start: {
              line: 210,
              column: 6
            },
            end: {
              line: 216,
              column: 7
            }
          }],
          line: 210
        },
        "13": {
          loc: {
            start: {
              line: 211,
              column: 8
            },
            end: {
              line: 213,
              column: 9
            }
          },
          type: "if",
          locations: [{
            start: {
              line: 211,
              column: 8
            },
            end: {
              line: 213,
              column: 9
            }
          }, {
            start: {
              line: 211,
              column: 8
            },
            end: {
              line: 213,
              column: 9
            }
          }],
          line: 211
        }
      },
      s: {
        "0": 0,
        "1": 0,
        "2": 0,
        "3": 0,
        "4": 0,
        "5": 0,
        "6": 0,
        "7": 0,
        "8": 0,
        "9": 0,
        "10": 0,
        "11": 0,
        "12": 0,
        "13": 0,
        "14": 0,
        "15": 0,
        "16": 0,
        "17": 0,
        "18": 0,
        "19": 0,
        "20": 0,
        "21": 0,
        "22": 0,
        "23": 0,
        "24": 0,
        "25": 0,
        "26": 0,
        "27": 0,
        "28": 0,
        "29": 0,
        "30": 0,
        "31": 0,
        "32": 0,
        "33": 0,
        "34": 0,
        "35": 0,
        "36": 0,
        "37": 0,
        "38": 0,
        "39": 0,
        "40": 0,
        "41": 0,
        "42": 0,
        "43": 0,
        "44": 0,
        "45": 0,
        "46": 0,
        "47": 0,
        "48": 0,
        "49": 0,
        "50": 0,
        "51": 0,
        "52": 0,
        "53": 0,
        "54": 0,
        "55": 0,
        "56": 0,
        "57": 0,
        "58": 0,
        "59": 0,
        "60": 0,
        "61": 0,
        "62": 0,
        "63": 0,
        "64": 0,
        "65": 0,
        "66": 0,
        "67": 0,
        "68": 0,
        "69": 0,
        "70": 0,
        "71": 0,
        "72": 0,
        "73": 0,
        "74": 0,
        "75": 0,
        "76": 0,
        "77": 0,
        "78": 0,
        "79": 0,
        "80": 0
      },
      f: {
        "0": 0,
        "1": 0,
        "2": 0,
        "3": 0,
        "4": 0,
        "5": 0,
        "6": 0,
        "7": 0,
        "8": 0,
        "9": 0,
        "10": 0,
        "11": 0,
        "12": 0,
        "13": 0,
        "14": 0,
        "15": 0,
        "16": 0
      },
      b: {
        "0": [0, 0],
        "1": [0, 0],
        "2": [0, 0],
        "3": [0, 0],
        "4": [0, 0],
        "5": [0, 0],
        "6": [0, 0],
        "7": [0, 0],
        "8": [0, 0],
        "9": [0, 0],
        "10": [0, 0],
        "11": [0, 0],
        "12": [0, 0],
        "13": [0, 0]
      },
      _coverageSchema: "43e27e138ebf9cfc5966b082cf9a028302ed4184",
      hash: "6096bb37e234691acef938253ea96d8f5a99cc11"
    };
    var coverage = global[gcv] || (global[gcv] = {});

    if (coverage[path] && coverage[path].hash === hash) {
      return coverage[path];
    }

    return coverage[path] = coverageData;
  }();
  /**
   * ------------------------------------------------------------------------
   * Constants
   * ------------------------------------------------------------------------
   */

  var NAME = (cov_1h2glnouko.s[0]++, 'toast');
  var VERSION = (cov_1h2glnouko.s[1]++, '4.4.1');
  var DATA_KEY = (cov_1h2glnouko.s[2]++, 'bs.toast');
  var EVENT_KEY = (cov_1h2glnouko.s[3]++, "." + DATA_KEY);
  var JQUERY_NO_CONFLICT = (cov_1h2glnouko.s[4]++, $.fn[NAME]);
  var Event = (cov_1h2glnouko.s[5]++, {
    CLICK_DISMISS: "click.dismiss" + EVENT_KEY,
    HIDE: "hide" + EVENT_KEY,
    HIDDEN: "hidden" + EVENT_KEY,
    SHOW: "show" + EVENT_KEY,
    SHOWN: "shown" + EVENT_KEY
  });
  var ClassName = (cov_1h2glnouko.s[6]++, {
    FADE: 'fade',
    HIDE: 'hide',
    SHOW: 'show',
    SHOWING: 'showing'
  });
  var DefaultType = (cov_1h2glnouko.s[7]++, {
    animation: 'boolean',
    autohide: 'boolean',
    delay: 'number'
  });
  var Default = (cov_1h2glnouko.s[8]++, {
    animation: true,
    autohide: true,
    delay: 500
  });
  var Selector = (cov_1h2glnouko.s[9]++, {
    DATA_DISMISS: '[data-dismiss="toast"]'
  });
  /**
   * ------------------------------------------------------------------------
   * Class Definition
   * ------------------------------------------------------------------------
   */

  var Toast =
  /*#__PURE__*/
  function () {
    function Toast(element, config) {
      cov_1h2glnouko.f[0]++;
      cov_1h2glnouko.s[10]++;
      this._element = element;
      cov_1h2glnouko.s[11]++;
      this._config = this._getConfig(config);
      cov_1h2glnouko.s[12]++;
      this._timeout = null;
      cov_1h2glnouko.s[13]++;

      this._setListeners();
    } // Getters


    var _proto = Toast.prototype;

    // Public
    _proto.show = function show() {
      var _this = this;

      cov_1h2glnouko.f[4]++;
      var showEvent = (cov_1h2glnouko.s[17]++, $.Event(Event.SHOW));
      cov_1h2glnouko.s[18]++;
      $(this._element).trigger(showEvent);
      cov_1h2glnouko.s[19]++;

      if (showEvent.isDefaultPrevented()) {
        cov_1h2glnouko.b[0][0]++;
        cov_1h2glnouko.s[20]++;
        return;
      } else {
        cov_1h2glnouko.b[0][1]++;
      }

      cov_1h2glnouko.s[21]++;

      if (this._config.animation) {
        cov_1h2glnouko.b[1][0]++;
        cov_1h2glnouko.s[22]++;

        this._element.classList.add(ClassName.FADE);
      } else {
        cov_1h2glnouko.b[1][1]++;
      }

      cov_1h2glnouko.s[23]++;

      var complete = function complete() {
        cov_1h2glnouko.f[5]++;
        cov_1h2glnouko.s[24]++;

        _this._element.classList.remove(ClassName.SHOWING);

        cov_1h2glnouko.s[25]++;

        _this._element.classList.add(ClassName.SHOW);

        cov_1h2glnouko.s[26]++;
        $(_this._element).trigger(Event.SHOWN);
        cov_1h2glnouko.s[27]++;

        if (_this._config.autohide) {
          cov_1h2glnouko.b[2][0]++;
          cov_1h2glnouko.s[28]++;
          _this._timeout = setTimeout(function () {
            cov_1h2glnouko.f[6]++;
            cov_1h2glnouko.s[29]++;

            _this.hide();
          }, _this._config.delay);
        } else {
          cov_1h2glnouko.b[2][1]++;
        }
      };

      cov_1h2glnouko.s[30]++;

      this._element.classList.remove(ClassName.HIDE);

      cov_1h2glnouko.s[31]++;
      Util.reflow(this._element);
      cov_1h2glnouko.s[32]++;

      this._element.classList.add(ClassName.SHOWING);

      cov_1h2glnouko.s[33]++;

      if (this._config.animation) {
        cov_1h2glnouko.b[3][0]++;
        var transitionDuration = (cov_1h2glnouko.s[34]++, Util.getTransitionDurationFromElement(this._element));
        cov_1h2glnouko.s[35]++;
        $(this._element).one(Util.TRANSITION_END, complete).emulateTransitionEnd(transitionDuration);
      } else {
        cov_1h2glnouko.b[3][1]++;
        cov_1h2glnouko.s[36]++;
        complete();
      }
    };

    _proto.hide = function hide() {
      cov_1h2glnouko.f[7]++;
      cov_1h2glnouko.s[37]++;

      if (!this._element.classList.contains(ClassName.SHOW)) {
        cov_1h2glnouko.b[4][0]++;
        cov_1h2glnouko.s[38]++;
        return;
      } else {
        cov_1h2glnouko.b[4][1]++;
      }

      var hideEvent = (cov_1h2glnouko.s[39]++, $.Event(Event.HIDE));
      cov_1h2glnouko.s[40]++;
      $(this._element).trigger(hideEvent);
      cov_1h2glnouko.s[41]++;

      if (hideEvent.isDefaultPrevented()) {
        cov_1h2glnouko.b[5][0]++;
        cov_1h2glnouko.s[42]++;
        return;
      } else {
        cov_1h2glnouko.b[5][1]++;
      }

      cov_1h2glnouko.s[43]++;

      this._close();
    };

    _proto.dispose = function dispose() {
      cov_1h2glnouko.f[8]++;
      cov_1h2glnouko.s[44]++;
      clearTimeout(this._timeout);
      cov_1h2glnouko.s[45]++;
      this._timeout = null;
      cov_1h2glnouko.s[46]++;

      if (this._element.classList.contains(ClassName.SHOW)) {
        cov_1h2glnouko.b[6][0]++;
        cov_1h2glnouko.s[47]++;

        this._element.classList.remove(ClassName.SHOW);
      } else {
        cov_1h2glnouko.b[6][1]++;
      }

      cov_1h2glnouko.s[48]++;
      $(this._element).off(Event.CLICK_DISMISS);
      cov_1h2glnouko.s[49]++;
      $.removeData(this._element, DATA_KEY);
      cov_1h2glnouko.s[50]++;
      this._element = null;
      cov_1h2glnouko.s[51]++;
      this._config = null;
    } // Private
    ;

    _proto._getConfig = function _getConfig(config) {
      cov_1h2glnouko.f[9]++;
      cov_1h2glnouko.s[52]++;
      config = _objectSpread2({}, Default, {}, $(this._element).data(), {}, (cov_1h2glnouko.b[8][0]++, typeof config === 'object') && (cov_1h2glnouko.b[8][1]++, config) ? (cov_1h2glnouko.b[7][0]++, config) : (cov_1h2glnouko.b[7][1]++, {}));
      cov_1h2glnouko.s[53]++;
      Util.typeCheckConfig(NAME, config, this.constructor.DefaultType);
      cov_1h2glnouko.s[54]++;
      return config;
    };

    _proto._setListeners = function _setListeners() {
      var _this2 = this;

      cov_1h2glnouko.f[10]++;
      cov_1h2glnouko.s[55]++;
      $(this._element).on(Event.CLICK_DISMISS, Selector.DATA_DISMISS, function () {
        cov_1h2glnouko.f[11]++;
        cov_1h2glnouko.s[56]++;
        return _this2.hide();
      });
    };

    _proto._close = function _close() {
      var _this3 = this;

      cov_1h2glnouko.f[12]++;
      cov_1h2glnouko.s[57]++;

      var complete = function complete() {
        cov_1h2glnouko.f[13]++;
        cov_1h2glnouko.s[58]++;

        _this3._element.classList.add(ClassName.HIDE);

        cov_1h2glnouko.s[59]++;
        $(_this3._element).trigger(Event.HIDDEN);
      };

      cov_1h2glnouko.s[60]++;

      this._element.classList.remove(ClassName.SHOW);

      cov_1h2glnouko.s[61]++;

      if (this._config.animation) {
        cov_1h2glnouko.b[9][0]++;
        var transitionDuration = (cov_1h2glnouko.s[62]++, Util.getTransitionDurationFromElement(this._element));
        cov_1h2glnouko.s[63]++;
        $(this._element).one(Util.TRANSITION_END, complete).emulateTransitionEnd(transitionDuration);
      } else {
        cov_1h2glnouko.b[9][1]++;
        cov_1h2glnouko.s[64]++;
        complete();
      }
    } // Static
    ;

    Toast._jQueryInterface = function _jQueryInterface(config) {
      cov_1h2glnouko.f[14]++;
      cov_1h2glnouko.s[65]++;
      return this.each(function () {
        cov_1h2glnouko.f[15]++;
        var $element = (cov_1h2glnouko.s[66]++, $(this));
        var data = (cov_1h2glnouko.s[67]++, $element.data(DATA_KEY));

        var _config = (cov_1h2glnouko.s[68]++, (cov_1h2glnouko.b[10][0]++, typeof config === 'object') && (cov_1h2glnouko.b[10][1]++, config));

        cov_1h2glnouko.s[69]++;

        if (!data) {
          cov_1h2glnouko.b[11][0]++;
          cov_1h2glnouko.s[70]++;
          data = new Toast(this, _config);
          cov_1h2glnouko.s[71]++;
          $element.data(DATA_KEY, data);
        } else {
          cov_1h2glnouko.b[11][1]++;
        }

        cov_1h2glnouko.s[72]++;

        if (typeof config === 'string') {
          cov_1h2glnouko.b[12][0]++;
          cov_1h2glnouko.s[73]++;

          if (typeof data[config] === 'undefined') {
            cov_1h2glnouko.b[13][0]++;
            cov_1h2glnouko.s[74]++;
            throw new TypeError("No method named \"" + config + "\"");
          } else {
            cov_1h2glnouko.b[13][1]++;
          }

          cov_1h2glnouko.s[75]++;
          data[config](this);
        } else {
          cov_1h2glnouko.b[12][1]++;
        }
      });
    };

    _createClass(Toast, null, [{
      key: "VERSION",
      get: function get() {
        cov_1h2glnouko.f[1]++;
        cov_1h2glnouko.s[14]++;
        return VERSION;
      }
    }, {
      key: "DefaultType",
      get: function get() {
        cov_1h2glnouko.f[2]++;
        cov_1h2glnouko.s[15]++;
        return DefaultType;
      }
    }, {
      key: "Default",
      get: function get() {
        cov_1h2glnouko.f[3]++;
        cov_1h2glnouko.s[16]++;
        return Default;
      }
    }]);

    return Toast;
  }();
  /**
   * ------------------------------------------------------------------------
   * jQuery
   * ------------------------------------------------------------------------
   */


  cov_1h2glnouko.s[76]++;
  $.fn[NAME] = Toast._jQueryInterface;
  cov_1h2glnouko.s[77]++;
  $.fn[NAME].Constructor = Toast;
  cov_1h2glnouko.s[78]++;

  $.fn[NAME].noConflict = function () {
    cov_1h2glnouko.f[16]++;
    cov_1h2glnouko.s[79]++;
    $.fn[NAME] = JQUERY_NO_CONFLICT;
    cov_1h2glnouko.s[80]++;
    return Toast._jQueryInterface;
  };

  return Toast;

})));
//# sourceMappingURL=toast.js.map
