{"action":"created","comment":{"url":"https://api.github.com/repos/sa-inu/ChatApp/pulls/comments/71983539","id":71983539,"diff_hunk":"@@ -0,0 +1,2363 @@\n+/*!\n+ * Bootstrap v3.3.6 (http://getbootstrap.com)\n+ * Copyright 2011-2015 Twitter, Inc.\n+ * Licensed under the MIT license\n+ */\n+\n+if (typeof jQuery === 'undefined') {\n+  throw new Error('Bootstrap\\'s JavaScript requires jQuery')\n+}\n+\n++function ($) {\n+  'use strict';\n+  var version = $.fn.jquery.split(' ')[0].split('.')\n+  if ((version[0] < 2 && version[1] < 9) || (version[0] == 1 && version[1] == 9 && version[2] < 1) || (version[0] > 2)) {\n+    throw new Error('Bootstrap\\'s JavaScript requires jQuery version 1.9.1 or higher, but lower than version 3')\n+  }\n+}(jQuery);\n+\n+/* ========================================================================\n+ * Bootstrap: transition.js v3.3.6\n+ * http://getbootstrap.com/javascript/#transitions\n+ * ========================================================================\n+ * Copyright 2011-2015 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+ * Bootstrap: alert.js v3.3.6\n+ * http://getbootstrap.com/javascript/#alerts\n+ * ========================================================================\n+ * Copyright 2011-2015 Twitter, Inc.\n+ * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)\n+ * ======================================================================== */\n+\n+\n++function ($) {\n+  'use strict';\n+\n+  // ALERT CLASS DEFINITION\n+  // ======================\n+\n+  var dismiss = '[data-dismiss=\"alert\"]'\n+  var Alert   = function (el) {\n+    $(el).on('click', dismiss, this.close)\n+  }\n+\n+  Alert.VERSION = '3.3.6'\n+\n+  Alert.TRANSITION_DURATION = 150\n+\n+  Alert.prototype.close = function (e) {\n+    var $this    = $(this)\n+    var selector = $this.attr('data-target')\n+\n+    if (!selector) {\n+      selector = $this.attr('href')\n+      selector = selector && selector.replace(/.*(?=#[^\\s]*$)/, '') // strip for ie7\n+    }\n+\n+    var $parent = $(selector)\n+\n+    if (e) e.preventDefault()\n+\n+    if (!$parent.length) {\n+      $parent = $this.closest('.alert')\n+    }\n+\n+    $parent.trigger(e = $.Event('close.bs.alert'))\n+\n+    if (e.isDefaultPrevented()) return\n+\n+    $parent.removeClass('in')\n+\n+    function removeElement() {\n+      // detach from parent, fire event then clean up data\n+      $parent.detach().trigger('closed.bs.alert').remove()\n+    }\n+\n+    $.support.transition && $parent.hasClass('fade') ?\n+      $parent\n+        .one('bsTransitionEnd', removeElement)\n+        .emulateTransitionEnd(Alert.TRANSITION_DURATION) :\n+      removeElement()\n+  }\n+\n+\n+  // ALERT PLUGIN DEFINITION\n+  // =======================\n+\n+  function Plugin(option) {\n+    return this.each(function () {\n+      var $this = $(this)\n+      var data  = $this.data('bs.alert')\n+\n+      if (!data) $this.data('bs.alert', (data = new Alert(this)))\n+      if (typeof option == 'string') data[option].call($this)\n+    })\n+  }\n+\n+  var old = $.fn.alert\n+\n+  $.fn.alert             = Plugin\n+  $.fn.alert.Constructor = Alert\n+\n+\n+  // ALERT NO CONFLICT\n+  // =================\n+\n+  $.fn.alert.noConflict = function () {\n+    $.fn.alert = old\n+    return this\n+  }\n+\n+\n+  // ALERT DATA-API\n+  // ==============\n+\n+  $(document).on('click.bs.alert.data-api', dismiss, Alert.prototype.close)\n+\n+}(jQuery);\n+\n+/* ========================================================================\n+ * Bootstrap: button.js v3.3.6\n+ * http://getbootstrap.com/javascript/#buttons\n+ * ========================================================================\n+ * Copyright 2011-2015 Twitter, Inc.\n+ * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)\n+ * ======================================================================== */\n+\n+\n++function ($) {\n+  'use strict';\n+\n+  // BUTTON PUBLIC CLASS DEFINITION\n+  // ==============================\n+\n+  var Button = function (element, options) {\n+    this.$element  = $(element)\n+    this.options   = $.extend({}, Button.DEFAULTS, options)\n+    this.isLoading = false\n+  }\n+\n+  Button.VERSION  = '3.3.6'\n+\n+  Button.DEFAULTS = {\n+    loadingText: 'loading...'\n+  }\n+\n+  Button.prototype.setState = function (state) {\n+    var d    = 'disabled'\n+    var $el  = this.$element\n+    var val  = $el.is('input') ? 'val' : 'html'\n+    var data = $el.data()\n+\n+    state += 'Text'\n+\n+    if (data.resetText == null) $el.data('resetText', $el[val]())\n+\n+    // push to event loop to allow forms to submit\n+    setTimeout($.proxy(function () {\n+      $el[val](data[state] == null ? this.options[state] : data[state])\n+\n+      if (state == 'loadingText') {\n+        this.isLoading = true\n+        $el.addClass(d).attr(d, d)\n+      } else if (this.isLoading) {\n+        this.isLoading = false\n+        $el.removeClass(d).removeAttr(d)\n+      }\n+    }, this), 0)\n+  }\n+\n+  Button.prototype.toggle = function () {\n+    var changed = true\n+    var $parent = this.$element.closest('[data-toggle=\"buttons\"]')\n+\n+    if ($parent.length) {\n+      var $input = this.$element.find('input')\n+      if ($input.prop('type') == 'radio') {\n+        if ($input.prop('checked')) changed = false\n+        $parent.find('.active').removeClass('active')\n+        this.$element.addClass('active')\n+      } else if ($input.prop('type') == 'checkbox') {\n+        if (($input.prop('checked')) !== this.$element.hasClass('active')) changed = false\n+        this.$element.toggleClass('active')\n+      }\n+      $input.prop('checked', this.$element.hasClass('active'))\n+      if (changed) $input.trigger('change')\n+    } else {\n+      this.$element.attr('aria-pressed', !this.$element.hasClass('active'))\n+      this.$element.toggleClass('active')\n+    }\n+  }\n+\n+\n+  // BUTTON PLUGIN DEFINITION\n+  // ========================\n+\n+  function Plugin(option) {\n+    return this.each(function () {\n+      var $this   = $(this)\n+      var data    = $this.data('bs.button')\n+      var options = typeof option == 'object' && option\n+\n+      if (!data) $this.data('bs.button', (data = new Button(this, options)))\n+\n+      if (option == 'toggle') data.toggle()\n+      else if (option) data.setState(option)\n+    })\n+  }\n+\n+  var old = $.fn.button\n+\n+  $.fn.button             = Plugin\n+  $.fn.button.Constructor = Button\n+\n+\n+  // BUTTON NO CONFLICT\n+  // ==================\n+\n+  $.fn.button.noConflict = function () {\n+    $.fn.button = old\n+    return this\n+  }\n+\n+\n+  // BUTTON DATA-API\n+  // ===============\n+\n+  $(document)\n+    .on('click.bs.button.data-api', '[data-toggle^=\"button\"]', function (e) {\n+      var $btn = $(e.target)\n+      if (!$btn.hasClass('btn')) $btn = $btn.closest('.btn')\n+      Plugin.call($btn, 'toggle')\n+      if (!($(e.target).is('input[type=\"radio\"]') || $(e.target).is('input[type=\"checkbox\"]'))) e.preventDefault()\n+    })\n+    .on('focus.bs.button.data-api blur.bs.button.data-api', '[data-toggle^=\"button\"]', function (e) {\n+      $(e.target).closest('.btn').toggleClass('focus', /^focus(in)?$/.test(e.type))\n+    })\n+\n+}(jQuery);\n+\n+/* ========================================================================\n+ * Bootstrap: carousel.js v3.3.6\n+ * http://getbootstrap.com/javascript/#carousel\n+ * ========================================================================\n+ * Copyright 2011-2015 Twitter, Inc.\n+ * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)\n+ * ======================================================================== */\n+\n+\n++function ($) {\n+  'use strict';\n+\n+  // CAROUSEL CLASS DEFINITION\n+  // =========================\n+\n+  var Carousel = function (element, options) {\n+    this.$element    = $(element)\n+    this.$indicators = this.$element.find('.carousel-indicators')\n+    this.options     = options\n+    this.paused      = null\n+    this.sliding     = null\n+    this.interval    = null\n+    this.$active     = null\n+    this.$items      = null\n+\n+    this.options.keyboard && this.$element.on('keydown.bs.carousel', $.proxy(this.keydown, this))\n+\n+    this.options.pause == 'hover' && !('ontouchstart' in document.documentElement) && this.$element\n+      .on('mouseenter.bs.carousel', $.proxy(this.pause, this))\n+      .on('mouseleave.bs.carousel', $.proxy(this.cycle, this))\n+  }\n+\n+  Carousel.VERSION  = '3.3.6'\n+\n+  Carousel.TRANSITION_DURATION = 600\n+\n+  Carousel.DEFAULTS = {\n+    interval: 5000,\n+    pause: 'hover',\n+    wrap: true,\n+    keyboard: true\n+  }\n+\n+  Carousel.prototype.keydown = function (e) {\n+    if (/input|textarea/i.test(e.target.tagName)) return\n+    switch (e.which) {\n+      case 37: this.prev(); break\n+      case 39: this.next(); break\n+      default: return\n+    }\n+\n+    e.preventDefault()\n+  }\n+\n+  Carousel.prototype.cycle = function (e) {\n+    e || (this.paused = false)\n+\n+    this.interval && clearInterval(this.interval)\n+\n+    this.options.interval\n+      && !this.paused\n+      && (this.interval = setInterval($.proxy(this.next, this), this.options.interval))\n+\n+    return this\n+  }\n+\n+  Carousel.prototype.getItemIndex = function (item) {\n+    this.$items = item.parent().children('.item')\n+    return this.$items.index(item || this.$active)\n+  }\n+\n+  Carousel.prototype.getItemForDirection = function (direction, active) {\n+    var activeIndex = this.getItemIndex(active)\n+    var willWrap = (direction == 'prev' && activeIndex === 0)\n+                || (direction == 'next' && activeIndex == (this.$items.length - 1))\n+    if (willWrap && !this.options.wrap) return active\n+    var delta = direction == 'prev' ? -1 : 1\n+    var itemIndex = (activeIndex + delta) % this.$items.length\n+    return this.$items.eq(itemIndex)\n+  }\n+\n+  Carousel.prototype.to = function (pos) {\n+    var that        = this\n+    var activeIndex = this.getItemIndex(this.$active = this.$element.find('.item.active'))\n+\n+    if (pos > (this.$items.length - 1) || pos < 0) return\n+\n+    if (this.sliding)       return this.$element.one('slid.bs.carousel', function () { that.to(pos) }) // yes, \"slid\"\n+    if (activeIndex == pos) return this.pause().cycle()\n+\n+    return this.slide(pos > activeIndex ? 'next' : 'prev', this.$items.eq(pos))\n+  }\n+\n+  Carousel.prototype.pause = function (e) {\n+    e || (this.paused = true)\n+\n+    if (this.$element.find('.next, .prev').length && $.support.transition) {\n+      this.$element.trigger($.support.transition.end)\n+      this.cycle(true)\n+    }\n+\n+    this.interval = clearInterval(this.interval)\n+\n+    return this\n+  }\n+\n+  Carousel.prototype.next = function () {\n+    if (this.sliding) return\n+    return this.slide('next')\n+  }\n+\n+  Carousel.prototype.prev = function () {\n+    if (this.sliding) return\n+    return this.slide('prev')\n+  }\n+\n+  Carousel.prototype.slide = function (type, next) {\n+    var $active   = this.$element.find('.item.active')\n+    var $next     = next || this.getItemForDirection(type, $active)\n+    var isCycling = this.interval\n+    var direction = type == 'next' ? 'left' : 'right'\n+    var that      = this\n+\n+    if ($next.hasClass('active')) return (this.sliding = false)\n+\n+    var relatedTarget = $next[0]\n+    var slideEvent = $.Event('slide.bs.carousel', {\n+      relatedTarget: relatedTarget,\n+      direction: direction\n+    })\n+    this.$element.trigger(slideEvent)\n+    if (slideEvent.isDefaultPrevented()) return\n+\n+    this.sliding = true\n+\n+    isCycling && this.pause()\n+\n+    if (this.$indicators.length) {\n+      this.$indicators.find('.active').removeClass('active')\n+      var $nextIndicator = $(this.$indicators.children()[this.getItemIndex($next)])\n+      $nextIndicator && $nextIndicator.addClass('active')\n+    }\n+\n+    var slidEvent = $.Event('slid.bs.carousel', { relatedTarget: relatedTarget, direction: direction }) // yes, \"slid\"\n+    if ($.support.transition && this.$element.hasClass('slide')) {\n+      $next.addClass(type)\n+      $next[0].offsetWidth // force reflow\n+      $active.addClass(direction)\n+      $next.addClass(direction)\n+      $active\n+        .one('bsTransitionEnd', function () {\n+          $next.removeClass([type, direction].join(' ')).addClass('active')\n+          $active.removeClass(['active', direction].join(' '))\n+          that.sliding = false\n+          setTimeout(function () {\n+            that.$element.trigger(slidEvent)\n+          }, 0)\n+        })\n+        .emulateTransitionEnd(Carousel.TRANSITION_DURATION)\n+    } else {\n+      $active.removeClass('active')\n+      $next.addClass('active')\n+      this.sliding = false\n+      this.$element.trigger(slidEvent)\n+    }\n+\n+    isCycling && this.cycle()\n+\n+    return this\n+  }\n+\n+\n+  // CAROUSEL PLUGIN DEFINITION\n+  // ==========================\n+\n+  function Plugin(option) {\n+    return this.each(function () {\n+      var $this   = $(this)\n+      var data    = $this.data('bs.carousel')\n+      var options = $.extend({}, Carousel.DEFAULTS, $this.data(), typeof option == 'object' && option)\n+      var action  = typeof option == 'string' ? option : options.slide\n+\n+      if (!data) $this.data('bs.carousel', (data = new Carousel(this, options)))\n+      if (typeof option == 'number') data.to(option)\n+      else if (action) data[action]()\n+      else if (options.interval) data.pause().cycle()\n+    })\n+  }\n+\n+  var old = $.fn.carousel\n+\n+  $.fn.carousel             = Plugin\n+  $.fn.carousel.Constructor = Carousel\n+\n+\n+  // CAROUSEL NO CONFLICT\n+  // ====================\n+\n+  $.fn.carousel.noConflict = function () {\n+    $.fn.carousel = old\n+    return this\n+  }\n+\n+\n+  // CAROUSEL DATA-API\n+  // =================\n+\n+  var clickHandler = function (e) {\n+    var href\n+    var $this   = $(this)\n+    var $target = $($this.attr('data-target') || (href = $this.attr('href')) && href.replace(/.*(?=#[^\\s]+$)/, '')) // strip for ie7\n+    if (!$target.hasClass('carousel')) return\n+    var options = $.extend({}, $target.data(), $this.data())\n+    var slideIndex = $this.attr('data-slide-to')\n+    if (slideIndex) options.interval = false\n+\n+    Plugin.call($target, options)\n+\n+    if (slideIndex) {\n+      $target.data('bs.carousel').to(slideIndex)\n+    }\n+\n+    e.preventDefault()\n+  }\n+\n+  $(document)\n+    .on('click.bs.carousel.data-api', '[data-slide]', clickHandler)\n+    .on('click.bs.carousel.data-api', '[data-slide-to]', clickHandler)\n+\n+  $(window).on('load', function () {\n+    $('[data-ride=\"carousel\"]').each(function () {\n+      var $carousel = $(this)\n+      Plugin.call($carousel, $carousel.data())\n+    })\n+  })\n+\n+}(jQuery);\n+\n+/* ========================================================================\n+ * Bootstrap: collapse.js v3.3.6\n+ * http://getbootstrap.com/javascript/#collapse\n+ * ========================================================================\n+ * Copyright 2011-2015 Twitter, Inc.\n+ * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)\n+ * ======================================================================== */\n+\n+\n++function ($) {\n+  'use strict';\n+\n+  // COLLAPSE PUBLIC CLASS DEFINITION\n+  // ================================\n+\n+  var Collapse = function (element, options) {\n+    this.$element      = $(element)\n+    this.options       = $.extend({}, Collapse.DEFAULTS, options)\n+    this.$trigger      = $('[data-toggle=\"collapse\"][href=\"#' + element.id + '\"],' +\n+                           '[data-toggle=\"collapse\"][data-target=\"#' + element.id + '\"]')\n+    this.transitioning = null\n+\n+    if (this.options.parent) {\n+      this.$parent = this.getParent()\n+    } else {\n+      this.addAriaAndCollapsedClass(this.$element, this.$trigger)\n+    }\n+\n+    if (this.options.toggle) this.toggle()\n+  }\n+\n+  Collapse.VERSION  = '3.3.6'\n+\n+  Collapse.TRANSITION_DURATION = 350\n+\n+  Collapse.DEFAULTS = {\n+    toggle: true\n+  }\n+\n+  Collapse.prototype.dimension = function () {\n+    var hasWidth = this.$element.hasClass('width')\n+    return hasWidth ? 'width' : 'height'\n+  }\n+\n+  Collapse.prototype.show = function () {\n+    if (this.transitioning || this.$element.hasClass('in')) return\n+\n+    var activesData\n+    var actives = this.$parent && this.$parent.children('.panel').children('.in, .collapsing')\n+\n+    if (actives && actives.length) {\n+      activesData = actives.data('bs.collapse')\n+      if (activesData && activesData.transitioning) return\n+    }\n+\n+    var startEvent = $.Event('show.bs.collapse')\n+    this.$element.trigger(startEvent)\n+    if (startEvent.isDefaultPrevented()) return\n+\n+    if (actives && actives.length) {\n+      Plugin.call(actives, 'hide')\n+      activesData || actives.data('bs.collapse', null)\n+    }\n+\n+    var dimension = this.dimension()\n+\n+    this.$element\n+      .removeClass('collapse')\n+      .addClass('collapsing')[dimension](0)\n+      .attr('aria-expanded', true)\n+\n+    this.$trigger\n+      .removeClass('collapsed')\n+      .attr('aria-expanded', true)\n+\n+    this.transitioning = 1\n+\n+    var complete = function () {\n+      this.$element\n+        .removeClass('collapsing')\n+        .addClass('collapse in')[dimension]('')\n+      this.transitioning = 0\n+      this.$element\n+        .trigger('shown.bs.collapse')\n+    }\n+\n+    if (!$.support.transition) return complete.call(this)\n+\n+    var scrollSize = $.camelCase(['scroll', dimension].join('-'))\n+\n+    this.$element\n+      .one('bsTransitionEnd', $.proxy(complete, this))\n+      .emulateTransitionEnd(Collapse.TRANSITION_DURATION)[dimension](this.$element[0][scrollSize])\n+  }\n+\n+  Collapse.prototype.hide = function () {\n+    if (this.transitioning || !this.$element.hasClass('in')) return\n+\n+    var startEvent = $.Event('hide.bs.collapse')\n+    this.$element.trigger(startEvent)\n+    if (startEvent.isDefaultPrevented()) return\n+\n+    var dimension = this.dimension()\n+\n+    this.$element[dimension](this.$element[dimension]())[0].offsetHeight\n+\n+    this.$element\n+      .addClass('collapsing')\n+      .removeClass('collapse in')\n+      .attr('aria-expanded', false)\n+\n+    this.$trigger\n+      .addClass('collapsed')\n+      .attr('aria-expanded', false)\n+\n+    this.transitioning = 1\n+\n+    var complete = function () {\n+      this.transitioning = 0\n+      this.$element\n+        .removeClass('collapsing')\n+        .addClass('collapse')\n+        .trigger('hidden.bs.collapse')\n+    }\n+\n+    if (!$.support.transition) return complete.call(this)\n+\n+    this.$element\n+      [dimension](0)\n+      .one('bsTransitionEnd', $.proxy(complete, this))\n+      .emulateTransitionEnd(Collapse.TRANSITION_DURATION)\n+  }\n+\n+  Collapse.prototype.toggle = function () {\n+    this[this.$element.hasClass('in') ? 'hide' : 'show']()\n+  }\n+\n+  Collapse.prototype.getParent = function () {\n+    return $(this.options.parent)\n+      .find('[data-toggle=\"collapse\"][data-parent=\"' + this.options.parent + '\"]')\n+      .each($.proxy(function (i, element) {\n+        var $element = $(element)\n+        this.addAriaAndCollapsedClass(getTargetFromTrigger($element), $element)\n+      }, this))\n+      .end()\n+  }\n+\n+  Collapse.prototype.addAriaAndCollapsedClass = function ($element, $trigger) {\n+    var isOpen = $element.hasClass('in')\n+\n+    $element.attr('aria-expanded', isOpen)\n+    $trigger\n+      .toggleClass('collapsed', !isOpen)\n+      .attr('aria-expanded', isOpen)\n+  }\n+\n+  function getTargetFromTrigger($trigger) {\n+    var href\n+    var target = $trigger.attr('data-target')\n+      || (href = $trigger.attr('href')) && href.replace(/.*(?=#[^\\s]+$)/, '') // strip for ie7\n+\n+    return $(target)\n+  }\n+\n+\n+  // COLLAPSE PLUGIN DEFINITION\n+  // ==========================\n+\n+  function Plugin(option) {\n+    return this.each(function () {\n+      var $this   = $(this)\n+      var data    = $this.data('bs.collapse')\n+      var options = $.extend({}, Collapse.DEFAULTS, $this.data(), typeof option == 'object' && option)\n+\n+      if (!data && options.toggle && /show|hide/.test(option)) options.toggle = false\n+      if (!data) $this.data('bs.collapse', (data = new Collapse(this, options)))\n+      if (typeof option == 'string') data[option]()\n+    })\n+  }\n+\n+  var old = $.fn.collapse\n+\n+  $.fn.collapse             = Plugin\n+  $.fn.collapse.Constructor = Collapse\n+\n+\n+  // COLLAPSE NO CONFLICT\n+  // ====================\n+\n+  $.fn.collapse.noConflict = function () {\n+    $.fn.collapse = old\n+    return this\n+  }\n+\n+\n+  // COLLAPSE DATA-API\n+  // =================\n+\n+  $(document).on('click.bs.collapse.data-api', '[data-toggle=\"collapse\"]', function (e) {\n+    var $this   = $(this)\n+\n+    if (!$this.attr('data-target')) e.preventDefault()\n+\n+    var $target = getTargetFromTrigger($this)\n+    var data    = $target.data('bs.collapse')\n+    var option  = data ? 'toggle' : $this.data()\n+\n+    Plugin.call($target, option)\n+  })\n+\n+}(jQuery);\n+\n+/* ========================================================================\n+ * Bootstrap: dropdown.js v3.3.6\n+ * http://getbootstrap.com/javascript/#dropdowns\n+ * ========================================================================\n+ * Copyright 2011-2015 Twitter, Inc.\n+ * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)\n+ * ======================================================================== */\n+\n+\n++function ($) {\n+  'use strict';\n+\n+  // DROPDOWN CLASS DEFINITION\n+  // =========================\n+\n+  var backdrop = '.dropdown-backdrop'\n+  var toggle   = '[data-toggle=\"dropdown\"]'\n+  var Dropdown = function (element) {\n+    $(element).on('click.bs.dropdown', this.toggle)\n+  }\n+\n+  Dropdown.VERSION = '3.3.6'\n+\n+  function getParent($this) {\n+    var selector = $this.attr('data-target')\n+\n+    if (!selector) {\n+      selector = $this.attr('href')\n+      selector = selector && /#[A-Za-z]/.test(selector) && selector.replace(/.*(?=#[^\\s]*$)/, '') // strip for ie7\n+    }\n+\n+    var $parent = selector && $(selector)\n+\n+    return $parent && $parent.length ? $parent : $this.parent()\n+  }\n+\n+  function clearMenus(e) {\n+    if (e && e.which === 3) return\n+    $(backdrop).remove()\n+    $(toggle).each(function () {\n+      var $this         = $(this)\n+      var $parent       = getParent($this)\n+      var relatedTarget = { relatedTarget: this }\n+\n+      if (!$parent.hasClass('open')) return\n+\n+      if (e && e.type == 'click' && /input|textarea/i.test(e.target.tagName) && $.contains($parent[0], e.target)) return\n+\n+      $parent.trigger(e = $.Event('hide.bs.dropdown', relatedTarget))\n+\n+      if (e.isDefaultPrevented()) return\n+\n+      $this.attr('aria-expanded', 'false')\n+      $parent.removeClass('open').trigger($.Event('hidden.bs.dropdown', relatedTarget))\n+    })\n+  }\n+\n+  Dropdown.prototype.toggle = function (e) {\n+    var $this = $(this)\n+\n+    if ($this.is('.disabled, :disabled')) return\n+\n+    var $parent  = getParent($this)\n+    var isActive = $parent.hasClass('open')\n+\n+    clearMenus()\n+\n+    if (!isActive) {\n+      if ('ontouchstart' in document.documentElement && !$parent.closest('.navbar-nav').length) {\n+        // if mobile we use a backdrop because click events don't delegate\n+        $(document.createElement('div'))\n+          .addClass('dropdown-backdrop')\n+          .insertAfter($(this))\n+          .on('click', clearMenus)\n+      }\n+\n+      var relatedTarget = { relatedTarget: this }\n+      $parent.trigger(e = $.Event('show.bs.dropdown', relatedTarget))\n+\n+      if (e.isDefaultPrevented()) return\n+\n+      $this\n+        .trigger('focus')\n+        .attr('aria-expanded', 'true')\n+\n+      $parent\n+        .toggleClass('open')\n+        .trigger($.Event('shown.bs.dropdown', relatedTarget))\n+    }\n+\n+    return false\n+  }\n+\n+  Dropdown.prototype.keydown = function (e) {\n+    if (!/(38|40|27|32)/.test(e.which) || /input|textarea/i.test(e.target.tagName)) return\n+\n+    var $this = $(this)\n+\n+    e.preventDefault()\n+    e.stopPropagation()\n+\n+    if ($this.is('.disabled, :disabled')) return\n+\n+    var $parent  = getParent($this)\n+    var isActive = $parent.hasClass('open')\n+\n+    if (!isActive && e.which != 27 || isActive && e.which == 27) {\n+      if (e.which == 27) $parent.find(toggle).trigger('focus')\n+      return $this.trigger('click')\n+    }\n+\n+    var desc = ' li:not(.disabled):visible a'\n+    var $items = $parent.find('.dropdown-menu' + desc)\n+\n+    if (!$items.length) return\n+\n+    var index = $items.index(e.target)\n+\n+    if (e.which == 38 && index > 0)                 index--         // up\n+    if (e.which == 40 && index < $items.length - 1) index++         // down\n+    if (!~index)                                    index = 0\n+\n+    $items.eq(index).trigger('focus')\n+  }\n+\n+\n+  // DROPDOWN PLUGIN DEFINITION\n+  // ==========================\n+\n+  function Plugin(option) {\n+    return this.each(function () {\n+      var $this = $(this)\n+      var data  = $this.data('bs.dropdown')\n+\n+      if (!data) $this.data('bs.dropdown', (data = new Dropdown(this)))\n+      if (typeof option == 'string') data[option].call($this)\n+    })\n+  }\n+\n+  var old = $.fn.dropdown\n+\n+  $.fn.dropdown             = Plugin\n+  $.fn.dropdown.Constructor = Dropdown\n+\n+\n+  // DROPDOWN NO CONFLICT\n+  // ====================\n+\n+  $.fn.dropdown.noConflict = function () {\n+    $.fn.dropdown = old\n+    return this\n+  }\n+\n+\n+  // APPLY TO STANDARD DROPDOWN ELEMENTS\n+  // ===================================\n+\n+  $(document)\n+    .on('click.bs.dropdown.data-api', clearMenus)\n+    .on('click.bs.dropdown.data-api', '.dropdown form', function (e) { e.stopPropagation() })\n+    .on('click.bs.dropdown.data-api', toggle, Dropdown.prototype.toggle)\n+    .on('keydown.bs.dropdown.data-api', toggle, Dropdown.prototype.keydown)\n+    .on('keydown.bs.dropdown.data-api', '.dropdown-menu', Dropdown.prototype.keydown)\n+\n+}(jQuery);\n+\n+/* ========================================================================\n+ * Bootstrap: modal.js v3.3.6\n+ * http://getbootstrap.com/javascript/#modals\n+ * ========================================================================\n+ * Copyright 2011-2015 Twitter, Inc.\n+ * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)\n+ * ======================================================================== */\n+\n+\n++function ($) {\n+  'use strict';\n+\n+  // MODAL CLASS DEFINITION\n+  // ======================\n+\n+  var Modal = function (element, options) {\n+    this.options             = options\n+    this.$body               = $(document.body)\n+    this.$element            = $(element)\n+    this.$dialog             = this.$element.find('.modal-dialog')\n+    this.$backdrop           = null\n+    this.isShown             = null\n+    this.originalBodyPad     = null\n+    this.scrollbarWidth      = 0\n+    this.ignoreBackdropClick = false\n+\n+    if (this.options.remote) {\n+      this.$element\n+        .find('.modal-content')\n+        .load(this.options.remote, $.proxy(function () {\n+          this.$element.trigger('loaded.bs.modal')\n+        }, this))\n+    }\n+  }\n+\n+  Modal.VERSION  = '3.3.6'\n+\n+  Modal.TRANSITION_DURATION = 300\n+  Modal.BACKDROP_TRANSITION_DURATION = 150\n+\n+  Modal.DEFAULTS = {\n+    backdrop: true,\n+    keyboard: true,\n+    show: true\n+  }\n+\n+  Modal.prototype.toggle = function (_relatedTarget) {\n+    return this.isShown ? this.hide() : this.show(_relatedTarget)\n+  }\n+\n+  Modal.prototype.show = function (_relatedTarget) {\n+    var that = this\n+    var e    = $.Event('show.bs.modal', { relatedTarget: _relatedTarget })\n+\n+    this.$element.trigger(e)\n+\n+    if (this.isShown || e.isDefaultPrevented()) return\n+\n+    this.isShown = true\n+\n+    this.checkScrollbar()\n+    this.setScrollbar()\n+    this.$body.addClass('modal-open')\n+\n+    this.escape()\n+    this.resize()\n+\n+    this.$element.on('click.dismiss.bs.modal', '[data-dismiss=\"modal\"]', $.proxy(this.hide, this))\n+\n+    this.$dialog.on('mousedown.dismiss.bs.modal', function () {\n+      that.$element.one('mouseup.dismiss.bs.modal', function (e) {\n+        if ($(e.target).is(that.$element)) that.ignoreBackdropClick = true\n+      })\n+    })\n+\n+    this.backdrop(function () {\n+      var transition = $.support.transition && that.$element.hasClass('fade')\n+\n+      if (!that.$element.parent().length) {\n+        that.$element.appendTo(that.$body) // don't move modals dom position\n+      }\n+\n+      that.$element\n+        .show()\n+        .scrollTop(0)\n+\n+      that.adjustDialog()\n+\n+      if (transition) {\n+        that.$element[0].offsetWidth // force reflow\n+      }\n+\n+      that.$element.addClass('in')\n+\n+      that.enforceFocus()\n+\n+      var e = $.Event('shown.bs.modal', { relatedTarget: _relatedTarget })\n+\n+      transition ?\n+        that.$dialog // wait for modal to slide in\n+          .one('bsTransitionEnd', function () {\n+            that.$element.trigger('focus').trigger(e)\n+          })\n+          .emulateTransitionEnd(Modal.TRANSITION_DURATION) :\n+        that.$element.trigger('focus').trigger(e)\n+    })\n+  }\n+\n+  Modal.prototype.hide = function (e) {\n+    if (e) e.preventDefault()\n+\n+    e = $.Event('hide.bs.modal')\n+\n+    this.$element.trigger(e)\n+\n+    if (!this.isShown || e.isDefaultPrevented()) return\n+\n+    this.isShown = false\n+\n+    this.escape()\n+    this.resize()\n+\n+    $(document).off('focusin.bs.modal')\n+\n+    this.$element\n+      .removeClass('in')\n+      .off('click.dismiss.bs.modal')\n+      .off('mouseup.dismiss.bs.modal')\n+\n+    this.$dialog.off('mousedown.dismiss.bs.modal')\n+\n+    $.support.transition && this.$element.hasClass('fade') ?\n+      this.$element\n+        .one('bsTransitionEnd', $.proxy(this.hideModal, this))\n+        .emulateTransitionEnd(Modal.TRANSITION_DURATION) :\n+      this.hideModal()\n+  }\n+\n+  Modal.prototype.enforceFocus = function () {\n+    $(document)\n+      .off('focusin.bs.modal') // guard against infinite focus loop\n+      .on('focusin.bs.modal', $.proxy(function (e) {\n+        if (this.$element[0] !== e.target && !this.$element.has(e.target).length) {\n+          this.$element.trigger('focus')\n+        }\n+      }, this))\n+  }\n+\n+  Modal.prototype.escape = function () {\n+    if (this.isShown && this.options.keyboard) {\n+      this.$element.on('keydown.dismiss.bs.modal', $.proxy(function (e) {\n+        e.which == 27 && this.hide()\n+      }, this))\n+    } else if (!this.isShown) {\n+      this.$element.off('keydown.dismiss.bs.modal')\n+    }\n+  }\n+\n+  Modal.prototype.resize = function () {\n+    if (this.isShown) {\n+      $(window).on('resize.bs.modal', $.proxy(this.handleUpdate, this))\n+    } else {\n+      $(window).off('resize.bs.modal')\n+    }\n+  }\n+\n+  Modal.prototype.hideModal = function () {\n+    var that = this\n+    this.$element.hide()\n+    this.backdrop(function () {\n+      that.$body.removeClass('modal-open')\n+      that.resetAdjustments()\n+      that.resetScrollbar()\n+      that.$element.trigger('hidden.bs.modal')\n+    })\n+  }\n+\n+  Modal.prototype.removeBackdrop = function () {\n+    this.$backdrop && this.$backdrop.remove()\n+    this.$backdrop = null\n+  }\n+\n+  Modal.prototype.backdrop = function (callback) {\n+    var that = this\n+    var animate = this.$element.hasClass('fade') ? 'fade' : ''\n+\n+    if (this.isShown && this.options.backdrop) {\n+      var doAnimate = $.support.transition && animate\n+\n+      this.$backdrop = $(document.createElement('div'))\n+        .addClass('modal-backdrop ' + animate)\n+        .appendTo(this.$body)\n+\n+      this.$element.on('click.dismiss.bs.modal', $.proxy(function (e) {\n+        if (this.ignoreBackdropClick) {\n+          this.ignoreBackdropClick = false\n+          return\n+        }\n+        if (e.target !== e.currentTarget) return\n+        this.options.backdrop == 'static'\n+          ? this.$element[0].focus()\n+          : this.hide()\n+      }, this))\n+\n+      if (doAnimate) this.$backdrop[0].offsetWidth // force reflow\n+\n+      this.$backdrop.addClass('in')\n+\n+      if (!callback) return\n+\n+      doAnimate ?\n+        this.$backdrop\n+          .one('bsTransitionEnd', callback)\n+          .emulateTransitionEnd(Modal.BACKDROP_TRANSITION_DURATION) :\n+        callback()\n+\n+    } else if (!this.isShown && this.$backdrop) {\n+      this.$backdrop.removeClass('in')\n+\n+      var callbackRemove = function () {\n+        that.removeBackdrop()\n+        callback && callback()\n+      }\n+      $.support.transition && this.$element.hasClass('fade') ?\n+        this.$backdrop\n+          .one('bsTransitionEnd', callbackRemove)\n+          .emulateTransitionEnd(Modal.BACKDROP_TRANSITION_DURATION) :\n+        callbackRemove()\n+\n+    } else if (callback) {\n+      callback()\n+    }\n+  }\n+\n+  // these following methods are used to handle overflowing modals\n+\n+  Modal.prototype.handleUpdate = function () {\n+    this.adjustDialog()\n+  }\n+\n+  Modal.prototype.adjustDialog = function () {\n+    var modalIsOverflowing = this.$element[0].scrollHeight > document.documentElement.clientHeight\n+\n+    this.$element.css({\n+      paddingLeft:  !this.bodyIsOverflowing && modalIsOverflowing ? this.scrollbarWidth : '',\n+      paddingRight: this.bodyIsOverflowing && !modalIsOverflowing ? this.scrollbarWidth : ''\n+    })\n+  }\n+\n+  Modal.prototype.resetAdjustments = function () {\n+    this.$element.css({\n+      paddingLeft: '',\n+      paddingRight: ''\n+    })\n+  }\n+\n+  Modal.prototype.checkScrollbar = function () {\n+    var fullWindowWidth = window.innerWidth\n+    if (!fullWindowWidth) { // workaround for missing window.innerWidth in IE8\n+      var documentElementRect = document.documentElement.getBoundingClientRect()\n+      fullWindowWidth = documentElementRect.right - Math.abs(documentElementRect.left)\n+    }\n+    this.bodyIsOverflowing = document.body.clientWidth < fullWindowWidth\n+    this.scrollbarWidth = this.measureScrollbar()\n+  }\n+\n+  Modal.prototype.setScrollbar = function () {\n+    var bodyPad = parseInt((this.$body.css('padding-right') || 0), 10)\n+    this.originalBodyPad = document.body.style.paddingRight || ''\n+    if (this.bodyIsOverflowing) this.$body.css('padding-right', bodyPad + this.scrollbarWidth)\n+  }\n+\n+  Modal.prototype.resetScrollbar = function () {\n+    this.$body.css('padding-right', this.originalBodyPad)\n+  }\n+\n+  Modal.prototype.measureScrollbar = function () { // thx walsh\n+    var scrollDiv = document.createElement('div')\n+    scrollDiv.className = 'modal-scrollbar-measure'\n+    this.$body.append(scrollDiv)\n+    var scrollbarWidth = scrollDiv.offsetWidth - scrollDiv.clientWidth\n+    this.$body[0].removeChild(scrollDiv)\n+    return scrollbarWidth\n+  }\n+\n+\n+  // MODAL PLUGIN DEFINITION\n+  // =======================\n+\n+  function Plugin(option, _relatedTarget) {\n+    return this.each(function () {\n+      var $this   = $(this)\n+      var data    = $this.data('bs.modal')\n+      var options = $.extend({}, Modal.DEFAULTS, $this.data(), typeof option == 'object' && option)\n+\n+      if (!data) $this.data('bs.modal', (data = new Modal(this, options)))\n+      if (typeof option == 'string') data[option](_relatedTarget)\n+      else if (options.show) data.show(_relatedTarget)\n+    })\n+  }\n+\n+  var old = $.fn.modal\n+\n+  $.fn.modal             = Plugin\n+  $.fn.modal.Constructor = Modal\n+\n+\n+  // MODAL NO CONFLICT\n+  // =================\n+\n+  $.fn.modal.noConflict = function () {\n+    $.fn.modal = old\n+    return this\n+  }\n+\n+\n+  // MODAL DATA-API\n+  // ==============\n+\n+  $(document).on('click.bs.modal.data-api', '[data-toggle=\"modal\"]', function (e) {\n+    var $this   = $(this)\n+    var href    = $this.attr('href')\n+    var $target = $($this.attr('data-target') || (href && href.replace(/.*(?=#[^\\s]+$)/, ''))) // strip for ie7\n+    var option  = $target.data('bs.modal') ? 'toggle' : $.extend({ remote: !/#/.test(href) && href }, $target.data(), $this.data())\n+\n+    if ($this.is('a')) e.preventDefault()\n+\n+    $target.one('show.bs.modal', function (showEvent) {\n+      if (showEvent.isDefaultPrevented()) return // only register focus restorer if modal will actually get shown\n+      $target.one('hidden.bs.modal', function () {\n+        $this.is(':visible') && $this.trigger('focus')\n+      })\n+    })\n+    Plugin.call($target, option, this)\n+  })\n+\n+}(jQuery);\n+\n+/* ========================================================================\n+ * Bootstrap: tooltip.js v3.3.6\n+ * http://getbootstrap.com/javascript/#tooltip\n+ * Inspired by the original jQuery.tipsy by Jason Frame\n+ * ========================================================================\n+ * Copyright 2011-2015 Twitter, Inc.\n+ * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)\n+ * ======================================================================== */\n+\n+\n++function ($) {\n+  'use strict';\n+\n+  // TOOLTIP PUBLIC CLASS DEFINITION\n+  // ===============================\n+\n+  var Tooltip = function (element, options) {\n+    this.type       = null\n+    this.options    = null\n+    this.enabled    = null\n+    this.timeout    = null\n+    this.hoverState = null\n+    this.$element   = null\n+    this.inState    = null\n+\n+    this.init('tooltip', element, options)\n+  }\n+\n+  Tooltip.VERSION  = '3.3.6'\n+\n+  Tooltip.TRANSITION_DURATION = 150\n+\n+  Tooltip.DEFAULTS = {\n+    animation: true,\n+    placement: 'top',\n+    selector: false,\n+    template: '<div class=\"tooltip\" role=\"tooltip\"><div class=\"tooltip-arrow\"></div><div class=\"tooltip-inner\"></div></div>',\n+    trigger: 'hover focus',\n+    title: '',\n+    delay: 0,\n+    html: false,\n+    container: false,\n+    viewport: {\n+      selector: 'body',\n+      padding: 0\n+    }\n+  }\n+\n+  Tooltip.prototype.init = function (type, element, options) {\n+    this.enabled   = true\n+    this.type      = type\n+    this.$element  = $(element)\n+    this.options   = this.getOptions(options)\n+    this.$viewport = this.options.viewport && $($.isFunction(this.options.viewport) ? this.options.viewport.call(this, this.$element) : (this.options.viewport.selector || this.options.viewport))\n+    this.inState   = { click: false, hover: false, focus: false }\n+\n+    if (this.$element[0] instanceof document.constructor && !this.options.selector) {\n+      throw new Error('`selector` option must be specified when initializing ' + this.type + ' on the window.document object!')\n+    }\n+\n+    var triggers = this.options.trigger.split(' ')\n+\n+    for (var i = triggers.length; i--;) {\n+      var trigger = triggers[i]\n+\n+      if (trigger == 'click') {\n+        this.$element.on('click.' + this.type, this.options.selector, $.proxy(this.toggle, this))\n+      } else if (trigger != 'manual') {\n+        var eventIn  = trigger == 'hover' ? 'mouseenter' : 'focusin'\n+        var eventOut = trigger == 'hover' ? 'mouseleave' : 'focusout'\n+\n+        this.$element.on(eventIn  + '.' + this.type, this.options.selector, $.proxy(this.enter, this))\n+        this.$element.on(eventOut + '.' + this.type, this.options.selector, $.proxy(this.leave, this))\n+      }\n+    }\n+\n+    this.options.selector ?\n+      (this._options = $.extend({}, this.options, { trigger: 'manual', selector: '' })) :\n+      this.fixTitle()\n+  }\n+\n+  Tooltip.prototype.getDefaults = function () {\n+    return Tooltip.DEFAULTS\n+  }\n+\n+  Tooltip.prototype.getOptions = function (options) {\n+    options = $.extend({}, this.getDefaults(), this.$element.data(), options)\n+\n+    if (options.delay && typeof options.delay == 'number') {\n+      options.delay = {\n+        show: options.delay,\n+        hide: options.delay\n+      }\n+    }\n+\n+    return options\n+  }\n+\n+  Tooltip.prototype.getDelegateOptions = function () {\n+    var options  = {}\n+    var defaults = this.getDefaults()\n+\n+    this._options && $.each(this._options, function (key, value) {\n+      if (defaults[key] != value) options[key] = value\n+    })\n+\n+    return options\n+  }\n+\n+  Tooltip.prototype.enter = function (obj) {\n+    var self = obj instanceof this.constructor ?\n+      obj : $(obj.currentTarget).data('bs.' + this.type)\n+\n+    if (!self) {\n+      self = new this.constructor(obj.currentTarget, this.getDelegateOptions())\n+      $(obj.currentTarget).data('bs.' + this.type, self)\n+    }\n+\n+    if (obj instanceof $.Event) {\n+      self.inState[obj.type == 'focusin' ? 'focus' : 'hover'] = true\n+    }\n+\n+    if (self.tip().hasClass('in') || self.hoverState == 'in') {\n+      self.hoverState = 'in'\n+      return\n+    }\n+\n+    clearTimeout(self.timeout)\n+\n+    self.hoverState = 'in'\n+\n+    if (!self.options.delay || !self.options.delay.show) return self.show()\n+\n+    self.timeout = setTimeout(function () {\n+      if (self.hoverState == 'in') self.show()\n+    }, self.options.delay.show)\n+  }\n+\n+  Tooltip.prototype.isInStateTrue = function () {\n+    for (var key in this.inState) {\n+      if (this.inState[key]) return true\n+    }\n+\n+    return false\n+  }\n+\n+  Tooltip.prototype.leave = function (obj) {\n+    var self = obj instanceof this.constructor ?\n+      obj : $(obj.currentTarget).data('bs.' + this.type)\n+\n+    if (!self) {\n+      self = new this.constructor(obj.currentTarget, this.getDelegateOptions())\n+      $(obj.currentTarget).data('bs.' + this.type, self)\n+    }\n+\n+    if (obj instanceof $.Event) {\n+      self.inState[obj.type == 'focusout' ? 'focus' : 'hover'] = false\n+    }\n+\n+    if (self.isInStateTrue()) return\n+\n+    clearTimeout(self.timeout)\n+\n+    self.hoverState = 'out'\n+\n+    if (!self.options.delay || !self.options.delay.hide) return self.hide()\n+\n+    self.timeout = setTimeout(function () {\n+      if (self.hoverState == 'out') self.hide()\n+    }, self.options.delay.hide)\n+  }\n+\n+  Tooltip.prototype.show = function () {\n+    var e = $.Event('show.bs.' + this.type)\n+\n+    if (this.hasContent() && this.enabled) {\n+      this.$element.trigger(e)\n+\n+      var inDom = $.contains(this.$element[0].ownerDocument.documentElement, this.$element[0])\n+      if (e.isDefaultPrevented() || !inDom) return\n+      var that = this\n+\n+      var $tip = this.tip()\n+\n+      var tipId = this.getUID(this.type)\n+\n+      this.setContent()\n+      $tip.attr('id', tipId)\n+      this.$element.attr('aria-describedby', tipId)\n+\n+      if (this.options.animation) $tip.addClass('fade')\n+\n+      var placement = typeof this.options.placement == 'function' ?\n+        this.options.placement.call(this, $tip[0], this.$element[0]) :\n+        this.options.placement\n+\n+      var autoToken = /\\s?auto?\\s?/i\n+      var autoPlace = autoToken.test(placement)\n+      if (autoPlace) placement = placement.replace(autoToken, '') || 'top'\n+\n+      $tip\n+        .detach()\n+        .css({ top: 0, left: 0, display: 'block' })\n+        .addClass(placement)\n+        .data('bs.' + this.type, this)\n+\n+      this.options.container ? $tip.appendTo(this.options.container) : $tip.insertAfter(this.$element)\n+      this.$element.trigger('inserted.bs.' + this.type)\n+\n+      var pos          = this.getPosition()\n+      var actualWidth  = $tip[0].offsetWidth\n+      var actualHeight = $tip[0].offsetHeight\n+\n+      if (autoPlace) {\n+        var orgPlacement = placement\n+        var viewportDim = this.getPosition(this.$viewport)\n+\n+        placement = placement == 'bottom' && pos.bottom + actualHeight > viewportDim.bottom ? 'top'    :\n+                    placement == 'top'    && pos.top    - actualHeight < viewportDim.top    ? 'bottom' :\n+                    placement == 'right'  && pos.right  + actualWidth  > viewportDim.width  ? 'left'   :\n+                    placement == 'left'   && pos.left   - actualWidth  < viewportDim.left   ? 'right'  :\n+                    placement\n+\n+        $tip\n+          .removeClass(orgPlacement)\n+          .addClass(placement)\n+      }\n+\n+      var calculatedOffset = this.getCalculatedOffset(placement, pos, actualWidth, actualHeight)\n+\n+      this.applyPlacement(calculatedOffset, placement)\n+\n+      var complete = function () {\n+        var prevHoverState = that.hoverState\n+        that.$element.trigger('shown.bs.' + that.type)\n+        that.hoverState = null\n+\n+        if (prevHoverState == 'out') that.leave(that)\n+      }\n+\n+      $.support.transition && this.$tip.hasClass('fade') ?\n+        $tip\n+          .one('bsTransitionEnd', complete)\n+          .emulateTransitionEnd(Tooltip.TRANSITION_DURATION) :\n+        complete()\n+    }\n+  }\n+\n+  Tooltip.prototype.applyPlacement = function (offset, placement) {\n+    var $tip   = this.tip()\n+    var width  = $tip[0].offsetWidth\n+    var height = $tip[0].offsetHeight\n+\n+    // manually read margins because getBoundingClientRect includes difference\n+    var marginTop = parseInt($tip.css('margin-top'), 10)\n+    var marginLeft = parseInt($tip.css('margin-left'), 10)\n+\n+    // we must check for NaN for ie 8/9\n+    if (isNaN(marginTop))  marginTop  = 0\n+    if (isNaN(marginLeft)) marginLeft = 0\n+\n+    offset.top  += marginTop\n+    offset.left += marginLeft\n+\n+    // $.fn.offset doesn't round pixel values\n+    // so we use setOffset directly with our own function B-0\n+    $.offset.setOffset($tip[0], $.extend({\n+      using: function (props) {\n+        $tip.css({\n+          top: Math.round(props.top),\n+          left: Math.round(props.left)\n+        })\n+      }\n+    }, offset), 0)\n+\n+    $tip.addClass('in')\n+\n+    // check to see if placing tip in new offset caused the tip to resize itself\n+    var actualWidth  = $tip[0].offsetWidth\n+    var actualHeight = $tip[0].offsetHeight\n+\n+    if (placement == 'top' && actualHeight != height) {\n+      offset.top = offset.top + height - actualHeight\n+    }\n+\n+    var delta = this.getViewportAdjustedDelta(placement, offset, actualWidth, actualHeight)\n+\n+    if (delta.left) offset.left += delta.left\n+    else offset.top += delta.top\n+\n+    var isVertical          = /top|bottom/.test(placement)\n+    var arrowDelta          = isVertical ? delta.left * 2 - width + actualWidth : delta.top * 2 - height + actualHeight\n+    var arrowOffsetPosition = isVertical ? 'offsetWidth' : 'offsetHeight'\n+\n+    $tip.offset(offset)\n+    this.replaceArrow(arrowDelta, $tip[0][arrowOffsetPosition], isVertical)\n+  }\n+\n+  Tooltip.prototype.replaceArrow = function (delta, dimension, isVertical) {\n+    this.arrow()\n+      .css(isVertical ? 'left' : 'top', 50 * (1 - delta / dimension) + '%')\n+      .css(isVertical ? 'top' : 'left', '')\n+  }\n+\n+  Tooltip.prototype.setContent = function () {\n+    var $tip  = this.tip()\n+    var title = this.getTitle()\n+\n+    $tip.find('.tooltip-inner')[this.options.html ? 'html' : 'text'](title)\n+    $tip.removeClass('fade in top bottom left right')\n+  }\n+\n+  Tooltip.prototype.hide = function (callback) {\n+    var that = this\n+    var $tip = $(this.$tip)\n+    var e    = $.Event('hide.bs.' + this.type)\n+\n+    function complete() {\n+      if (that.hoverState != 'in') $tip.detach()\n+      that.$element\n+        .removeAttr('aria-describedby')\n+        .trigger('hidden.bs.' + that.type)\n+      callback && callback()","path":"vendor/assets/javascripts/bootstrap.js","position":1571,"original_position":1571,"commit_id":"12b6a531a2133de80115cb0d2f29a117a006a439","original_commit_id":"12b6a531a2133de80115cb0d2f29a117a006a439","user":{"login":"sa-inu","id":12888685,"avatar_url":"https://avatars.githubusercontent.com/u/12888685?v=3","gravatar_id":"","url":"https://api.github.com/users/sa-inu","html_url":"https://github.com/sa-inu","followers_url":"https://api.github.com/users/sa-inu/followers","following_url":"https://api.github.com/users/sa-inu/following{/other_user}","gists_url":"https://api.github.com/users/sa-inu/gists{/gist_id}","starred_url":"https://api.github.com/users/sa-inu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sa-inu/subscriptions","organizations_url":"https://api.github.com/users/sa-inu/orgs","repos_url":"https://api.github.com/users/sa-inu/repos","events_url":"https://api.github.com/users/sa-inu/events{/privacy}","received_events_url":"https://api.github.com/users/sa-inu/received_events","type":"User","site_admin":false},"body":"__[jshint]__\n*  Expected an assignment or function call and instead saw an expression.\n","created_at":"2016-07-24T07:35:24Z","updated_at":"2016-07-24T07:35:24Z","html_url":"https://github.com/sa-inu/ChatApp/pull/3#discussion_r71983539","pull_request_url":"https://api.github.com/repos/sa-inu/ChatApp/pulls/3","_links":{"self":{"href":"https://api.github.com/repos/sa-inu/ChatApp/pulls/comments/71983539"},"html":{"href":"https://github.com/sa-inu/ChatApp/pull/3#discussion_r71983539"},"pull_request":{"href":"https://api.github.com/repos/sa-inu/ChatApp/pulls/3"}}},"pull_request":{"url":"https://api.github.com/repos/sa-inu/ChatApp/pulls/3","id":78591965,"html_url":"https://github.com/sa-inu/ChatApp/pull/3","diff_url":"https://github.com/sa-inu/ChatApp/pull/3.diff","patch_url":"https://github.com/sa-inu/ChatApp/pull/3.patch","issue_url":"https://api.github.com/repos/sa-inu/ChatApp/issues/3","number":3,"state":"open","locked":false,"title":"サインアップとサインインを実装","user":{"login":"sa-inu","id":12888685,"avatar_url":"https://avatars.githubusercontent.com/u/12888685?v=3","gravatar_id":"","url":"https://api.github.com/users/sa-inu","html_url":"https://github.com/sa-inu","followers_url":"https://api.github.com/users/sa-inu/followers","following_url":"https://api.github.com/users/sa-inu/following{/other_user}","gists_url":"https://api.github.com/users/sa-inu/gists{/gist_id}","starred_url":"https://api.github.com/users/sa-inu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sa-inu/subscriptions","organizations_url":"https://api.github.com/users/sa-inu/orgs","repos_url":"https://api.github.com/users/sa-inu/repos","events_url":"https://api.github.com/users/sa-inu/events{/privacy}","received_events_url":"https://api.github.com/users/sa-inu/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-07-24T07:30:42Z","updated_at":"2016-07-24T07:35:24Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d1398c23ca72cacb096c87be76d79351dddbd78a","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/sa-inu/ChatApp/pulls/3/commits","review_comments_url":"https://api.github.com/repos/sa-inu/ChatApp/pulls/3/comments","review_comment_url":"https://api.github.com/repos/sa-inu/ChatApp/pulls/comments{/number}","comments_url":"https://api.github.com/repos/sa-inu/ChatApp/issues/3/comments","statuses_url":"https://api.github.com/repos/sa-inu/ChatApp/statuses/12b6a531a2133de80115cb0d2f29a117a006a439","head":{"label":"sa-inu:feature/sign_up","ref":"feature/sign_up","sha":"12b6a531a2133de80115cb0d2f29a117a006a439","user":{"login":"sa-inu","id":12888685,"avatar_url":"https://avatars.githubusercontent.com/u/12888685?v=3","gravatar_id":"","url":"https://api.github.com/users/sa-inu","html_url":"https://github.com/sa-inu","followers_url":"https://api.github.com/users/sa-inu/followers","following_url":"https://api.github.com/users/sa-inu/following{/other_user}","gists_url":"https://api.github.com/users/sa-inu/gists{/gist_id}","starred_url":"https://api.github.com/users/sa-inu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sa-inu/subscriptions","organizations_url":"https://api.github.com/users/sa-inu/orgs","repos_url":"https://api.github.com/users/sa-inu/repos","events_url":"https://api.github.com/users/sa-inu/events{/privacy}","received_events_url":"https://api.github.com/users/sa-inu/received_events","type":"User","site_admin":false},"repo":{"id":63926913,"name":"ChatApp","full_name":"sa-inu/ChatApp","owner":{"login":"sa-inu","id":12888685,"avatar_url":"https://avatars.githubusercontent.com/u/12888685?v=3","gravatar_id":"","url":"https://api.github.com/users/sa-inu","html_url":"https://github.com/sa-inu","followers_url":"https://api.github.com/users/sa-inu/followers","following_url":"https://api.github.com/users/sa-inu/following{/other_user}","gists_url":"https://api.github.com/users/sa-inu/gists{/gist_id}","starred_url":"https://api.github.com/users/sa-inu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sa-inu/subscriptions","organizations_url":"https://api.github.com/users/sa-inu/orgs","repos_url":"https://api.github.com/users/sa-inu/repos","events_url":"https://api.github.com/users/sa-inu/events{/privacy}","received_events_url":"https://api.github.com/users/sa-inu/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/sa-inu/ChatApp","description":null,"fork":false,"url":"https://api.github.com/repos/sa-inu/ChatApp","forks_url":"https://api.github.com/repos/sa-inu/ChatApp/forks","keys_url":"https://api.github.com/repos/sa-inu/ChatApp/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sa-inu/ChatApp/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sa-inu/ChatApp/teams","hooks_url":"https://api.github.com/repos/sa-inu/ChatApp/hooks","issue_events_url":"https://api.github.com/repos/sa-inu/ChatApp/issues/events{/number}","events_url":"https://api.github.com/repos/sa-inu/ChatApp/events","assignees_url":"https://api.github.com/repos/sa-inu/ChatApp/assignees{/user}","branches_url":"https://api.github.com/repos/sa-inu/ChatApp/branches{/branch}","tags_url":"https://api.github.com/repos/sa-inu/ChatApp/tags","blobs_url":"https://api.github.com/repos/sa-inu/ChatApp/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sa-inu/ChatApp/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sa-inu/ChatApp/git/refs{/sha}","trees_url":"https://api.github.com/repos/sa-inu/ChatApp/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sa-inu/ChatApp/statuses/{sha}","languages_url":"https://api.github.com/repos/sa-inu/ChatApp/languages","stargazers_url":"https://api.github.com/repos/sa-inu/ChatApp/stargazers","contributors_url":"https://api.github.com/repos/sa-inu/ChatApp/contributors","subscribers_url":"https://api.github.com/repos/sa-inu/ChatApp/subscribers","subscription_url":"https://api.github.com/repos/sa-inu/ChatApp/subscription","commits_url":"https://api.github.com/repos/sa-inu/ChatApp/commits{/sha}","git_commits_url":"https://api.github.com/repos/sa-inu/ChatApp/git/commits{/sha}","comments_url":"https://api.github.com/repos/sa-inu/ChatApp/comments{/number}","issue_comment_url":"https://api.github.com/repos/sa-inu/ChatApp/issues/comments{/number}","contents_url":"https://api.github.com/repos/sa-inu/ChatApp/contents/{+path}","compare_url":"https://api.github.com/repos/sa-inu/ChatApp/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sa-inu/ChatApp/merges","archive_url":"https://api.github.com/repos/sa-inu/ChatApp/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sa-inu/ChatApp/downloads","issues_url":"https://api.github.com/repos/sa-inu/ChatApp/issues{/number}","pulls_url":"https://api.github.com/repos/sa-inu/ChatApp/pulls{/number}","milestones_url":"https://api.github.com/repos/sa-inu/ChatApp/milestones{/number}","notifications_url":"https://api.github.com/repos/sa-inu/ChatApp/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sa-inu/ChatApp/labels{/name}","releases_url":"https://api.github.com/repos/sa-inu/ChatApp/releases{/id}","deployments_url":"https://api.github.com/repos/sa-inu/ChatApp/deployments","created_at":"2016-07-22T05:48:44Z","updated_at":"2016-07-22T05:48:58Z","pushed_at":"2016-07-24T07:30:44Z","git_url":"git://github.com/sa-inu/ChatApp.git","ssh_url":"git@github.com:sa-inu/ChatApp.git","clone_url":"https://github.com/sa-inu/ChatApp.git","svn_url":"https://github.com/sa-inu/ChatApp","homepage":null,"size":55,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"sa-inu:develop","ref":"develop","sha":"71475e0cc26ec8e8aa42c5d4d97fa5d3d584d71c","user":{"login":"sa-inu","id":12888685,"avatar_url":"https://avatars.githubusercontent.com/u/12888685?v=3","gravatar_id":"","url":"https://api.github.com/users/sa-inu","html_url":"https://github.com/sa-inu","followers_url":"https://api.github.com/users/sa-inu/followers","following_url":"https://api.github.com/users/sa-inu/following{/other_user}","gists_url":"https://api.github.com/users/sa-inu/gists{/gist_id}","starred_url":"https://api.github.com/users/sa-inu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sa-inu/subscriptions","organizations_url":"https://api.github.com/users/sa-inu/orgs","repos_url":"https://api.github.com/users/sa-inu/repos","events_url":"https://api.github.com/users/sa-inu/events{/privacy}","received_events_url":"https://api.github.com/users/sa-inu/received_events","type":"User","site_admin":false},"repo":{"id":63926913,"name":"ChatApp","full_name":"sa-inu/ChatApp","owner":{"login":"sa-inu","id":12888685,"avatar_url":"https://avatars.githubusercontent.com/u/12888685?v=3","gravatar_id":"","url":"https://api.github.com/users/sa-inu","html_url":"https://github.com/sa-inu","followers_url":"https://api.github.com/users/sa-inu/followers","following_url":"https://api.github.com/users/sa-inu/following{/other_user}","gists_url":"https://api.github.com/users/sa-inu/gists{/gist_id}","starred_url":"https://api.github.com/users/sa-inu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sa-inu/subscriptions","organizations_url":"https://api.github.com/users/sa-inu/orgs","repos_url":"https://api.github.com/users/sa-inu/repos","events_url":"https://api.github.com/users/sa-inu/events{/privacy}","received_events_url":"https://api.github.com/users/sa-inu/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/sa-inu/ChatApp","description":null,"fork":false,"url":"https://api.github.com/repos/sa-inu/ChatApp","forks_url":"https://api.github.com/repos/sa-inu/ChatApp/forks","keys_url":"https://api.github.com/repos/sa-inu/ChatApp/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sa-inu/ChatApp/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sa-inu/ChatApp/teams","hooks_url":"https://api.github.com/repos/sa-inu/ChatApp/hooks","issue_events_url":"https://api.github.com/repos/sa-inu/ChatApp/issues/events{/number}","events_url":"https://api.github.com/repos/sa-inu/ChatApp/events","assignees_url":"https://api.github.com/repos/sa-inu/ChatApp/assignees{/user}","branches_url":"https://api.github.com/repos/sa-inu/ChatApp/branches{/branch}","tags_url":"https://api.github.com/repos/sa-inu/ChatApp/tags","blobs_url":"https://api.github.com/repos/sa-inu/ChatApp/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sa-inu/ChatApp/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sa-inu/ChatApp/git/refs{/sha}","trees_url":"https://api.github.com/repos/sa-inu/ChatApp/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sa-inu/ChatApp/statuses/{sha}","languages_url":"https://api.github.com/repos/sa-inu/ChatApp/languages","stargazers_url":"https://api.github.com/repos/sa-inu/ChatApp/stargazers","contributors_url":"https://api.github.com/repos/sa-inu/ChatApp/contributors","subscribers_url":"https://api.github.com/repos/sa-inu/ChatApp/subscribers","subscription_url":"https://api.github.com/repos/sa-inu/ChatApp/subscription","commits_url":"https://api.github.com/repos/sa-inu/ChatApp/commits{/sha}","git_commits_url":"https://api.github.com/repos/sa-inu/ChatApp/git/commits{/sha}","comments_url":"https://api.github.com/repos/sa-inu/ChatApp/comments{/number}","issue_comment_url":"https://api.github.com/repos/sa-inu/ChatApp/issues/comments{/number}","contents_url":"https://api.github.com/repos/sa-inu/ChatApp/contents/{+path}","compare_url":"https://api.github.com/repos/sa-inu/ChatApp/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sa-inu/ChatApp/merges","archive_url":"https://api.github.com/repos/sa-inu/ChatApp/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sa-inu/ChatApp/downloads","issues_url":"https://api.github.com/repos/sa-inu/ChatApp/issues{/number}","pulls_url":"https://api.github.com/repos/sa-inu/ChatApp/pulls{/number}","milestones_url":"https://api.github.com/repos/sa-inu/ChatApp/milestones{/number}","notifications_url":"https://api.github.com/repos/sa-inu/ChatApp/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sa-inu/ChatApp/labels{/name}","releases_url":"https://api.github.com/repos/sa-inu/ChatApp/releases{/id}","deployments_url":"https://api.github.com/repos/sa-inu/ChatApp/deployments","created_at":"2016-07-22T05:48:44Z","updated_at":"2016-07-22T05:48:58Z","pushed_at":"2016-07-24T07:30:44Z","git_url":"git://github.com/sa-inu/ChatApp.git","ssh_url":"git@github.com:sa-inu/ChatApp.git","clone_url":"https://github.com/sa-inu/ChatApp.git","svn_url":"https://github.com/sa-inu/ChatApp","homepage":null,"size":55,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/sa-inu/ChatApp/pulls/3"},"html":{"href":"https://github.com/sa-inu/ChatApp/pull/3"},"issue":{"href":"https://api.github.com/repos/sa-inu/ChatApp/issues/3"},"comments":{"href":"https://api.github.com/repos/sa-inu/ChatApp/issues/3/comments"},"review_comments":{"href":"https://api.github.com/repos/sa-inu/ChatApp/pulls/3/comments"},"review_comment":{"href":"https://api.github.com/repos/sa-inu/ChatApp/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/sa-inu/ChatApp/pulls/3/commits"},"statuses":{"href":"https://api.github.com/repos/sa-inu/ChatApp/statuses/12b6a531a2133de80115cb0d2f29a117a006a439"}}}}
{"actor":{"display_login":"sa-inu"}}