{"version":3,"file":"bootstrap-transition-BUQPmMTV.js","sources":["../../../vendor/assets/pseudo_plugins/bootstrap-transition.js"],"sourcesContent":["\n// we tailor make umd pattern for better support\n// https://github.com/umdjs/umd/blob/master/templates/jqueryPlugin.js\n(function(root, factory){\n\n  if (typeof define === 'function' && define.amd) {\n      // AMD. Register as an anonymous module.\n      define(['jquery'], factory);\n  } else if (typeof module === 'object' && module.exports) {\n    // Node/CommonJS\n    var jQuery = require('jquery');\n    module.exports = factory(jQuery);\n\n  }else{\n    // Browser globals\n    factory(root.jQuery);\n  }\n}(this, function(jQuery){\n\n  /* ========================================================================\n   * Bootstrap: transition.js v3.3.7\n   * http://getbootstrap.com/javascript/#transitions\n   * ========================================================================\n   * Copyright 2011-2016 Twitter, Inc.\n   * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)\n   * ======================================================================== */\n\n\n  +function ($) {\n    'use strict';\n\n    // CSS TRANSITION SUPPORT (Shoutout: http://www.modernizr.com/)\n    // ============================================================\n\n    function transitionEnd() {\n      var el = document.createElement('bootstrap')\n\n      var transEndEventNames = {\n        WebkitTransition : 'webkitTransitionEnd',\n        MozTransition    : 'transitionend',\n        OTransition      : 'oTransitionEnd otransitionend',\n        transition       : 'transitionend'\n      }\n\n      for (var name in transEndEventNames) {\n        if (el.style[name] !== undefined) {\n          return { end: transEndEventNames[name] }\n        }\n      }\n\n      return false // explicit for ie8 (  ._.)\n    }\n\n    // http://blog.alexmaccaw.com/css-transitions\n    $.fn.emulateTransitionEnd = function (duration) {\n      var called = false\n      var $el = this\n      $(this).one('bsTransitionEnd', function () { called = true })\n      var callback = function () { if (!called) $($el).trigger($.support.transition.end) }\n      setTimeout(callback, duration)\n      return this\n    }\n\n    $(function () {\n      $.support.transition = transitionEnd()\n\n      if (!$.support.transition) return\n\n      $.event.special.bsTransitionEnd = {\n        bindType: $.support.transition.end,\n        delegateType: $.support.transition.end,\n        handle: function (e) {\n          if ($(e.target).is(this)) return e.handleObj.handler.apply(this, arguments)\n        }\n      }\n    })\n\n  }(jQuery);\n\n}));\n"],"names":["root","factory","module","jQuery","require$$0","this","$","transitionEnd","el","transEndEventNames","name","duration","called","$el","callback","e"],"mappings":"mHAGC,SAASA,EAAMC,EAAQ,CAKf,GAAkCC,EAAO,QAAS,CAEvD,IAAIC,EAASC,EAAiB,EAC9BF,EAAiB,QAAAD,EAAQE,CAAM,CAEnC,MAEIF,EAAQD,EAAK,MAAM,CAEvB,GAAEK,EAAM,SAASF,EAAO,CAWtB,CAAC,SAAUG,EAAG,CAMZ,SAASC,GAAgB,CACvB,IAAIC,EAAK,SAAS,cAAc,WAAW,EAEvCC,EAAqB,CACvB,iBAAmB,sBACnB,cAAmB,gBACnB,YAAmB,gCACnB,WAAmB,eAC3B,EAEM,QAASC,KAAQD,EACf,GAAID,EAAG,MAAME,CAAI,IAAM,OACrB,MAAO,CAAE,IAAKD,EAAmBC,CAAI,CAAC,EAI1C,MAAO,EACb,CAGIJ,EAAE,GAAG,qBAAuB,SAAUK,EAAU,CAC9C,IAAIC,EAAS,GACTC,EAAM,KACVP,EAAE,IAAI,EAAE,IAAI,kBAAmB,UAAY,CAAEM,EAAS,EAAM,CAAA,EAC5D,IAAIE,EAAW,UAAY,CAAOF,GAAQN,EAAEO,CAAG,EAAE,QAAQP,EAAE,QAAQ,WAAW,GAAG,CAAC,EAClF,kBAAWQ,EAAUH,CAAQ,EACtB,IACb,EAEIL,EAAE,UAAY,CACZA,EAAE,QAAQ,WAAaC,EAAa,EAE/BD,EAAE,QAAQ,aAEfA,EAAE,MAAM,QAAQ,gBAAkB,CAChC,SAAUA,EAAE,QAAQ,WAAW,IAC/B,aAAcA,EAAE,QAAQ,WAAW,IACnC,OAAQ,SAAUS,EAAG,CACnB,GAAIT,EAAES,EAAE,MAAM,EAAE,GAAG,IAAI,EAAG,OAAOA,EAAE,UAAU,QAAQ,MAAM,KAAM,SAAS,CACpF,CACA,EACK,CAAA,CAEF,EAACZ,CAAM,CAEV,CAAC"}