text: (this.webpackJsonp=this.webpackJsonp||[]).push([[1],{0:function(e,t,n){var r;
  /*!
   * jQuery JavaScript Library v3.3.1
   * https://jquery.com/
   *
   * Includes Sizzle.js
   * https://sizzlejs.com/
   *
   * Copyright JS Foundation and other contributors
   * Released under the MIT license
   * https://jquery.org/license
   *
   * Date: 2018-01-20T17:24Z
   */
  /*!
   * jQuery JavaScript Library v3.3.1
   * https://jquery.com/
   *
   * Includes Sizzle.js
   * https://sizzlejs.com/
   *
   * Copyright JS Foundation and other contributors
   * Released under the MIT license
   * https://jquery.org/license
   *
   * Date: 2018-01-20T17:24Z
   */
  !function(t,n){"use strict";"object"==typeof e&&"object"==typeof e.exports?e.exports=t.document?n(t,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return n(e)}:n(t)}("undefined"!=typeof window?window:this,function(n,i){"use strict";var o=[],a=n.document,s=Object.getPrototypeOf,u=o.slice,c=o.concat,l=o.push,f=o.indexOf,h={},d=h.toString,p=h.hasOwnProperty,v=p.toString,m=v.call(Object),g={},y=function(e){return"function"==typeof e&&"number"!=typeof e.nodeType},b=function(e){return null!=e&&e===e.window},w={type:!0,src:!0,noModule:!0};function E(e,t,n){var r,i=(t=t||a).createElement("script");if(i.text=e,n)for(r in w)n[r]&&(i[r]=n[r]);t.head.appendChild(i).parentNode.removeChild(i)}function _(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?h[d.call(e)]||"object":typeof e}var C=function(e,t){return new C.fn.init(e,t)},T=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g;function x(e){var t=!!e&&"length"in e&&e.length,n=_(e);return!y(e)&&!b(e)&&("array"===n||0===t||"number"==typeof t&&t>0&&t-1 in e)}C.fn=C.prototype={jquery:"3.3.1",constructor:C,length:0,toArray:function(){return u.call(this)},get:function(e){return null==e?u.call(this):e<0?this[e+this.length]:this[e]},pushStack:function(e){var t=C.merge(this.constructor(),e);return t.prevObject=this,t},each:function(e){return C.each(this,e)},map:function(e){return this.pushStack(C.map(this,function(t,n){return e.call(t,n,t)}))},slice:function(){return this.pushStack(u.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(e){var t=this.length,n=+e+(e<0?t:0);return this.pushStack(n>=0&&n<t?[this[n]]:[])},end:function(){return this.prevObject||this.constructor()},push:l,sort:o.sort,splice:o.splice},C.extend=C.fn.extend=function(){var e,t,n,r,i,o,a=arguments[0]||{},s=1,u=arguments.length,c=!1;for("boolean"==typeof a&&(c=a,a=arguments[s]||{},s++),"object"==typeof a||y(a)||(a={}),s===u&&(a=this,s--);s<u;s++)if(null!=(e=arguments[s]))for(t in e)n=a[t],a!==(r=e[t])&&(c&&r&&(C.isPlainObject(r)||(i=Array.isArray(r)))?(i?(i=!1,o=n&&Array.isArray(n)?n:[]):o=n&&C.isPlainObject(n)?n:{},a[t]=C.extend(c,o,r)):void 0!==r&&(a[t]=r));return a},C.extend({expando:"jQuery"+("3.3.1"+Math.random()).replace(/\D/g,""),isReady:!0,error:function(e){throw new Error(e)},noop:function(){},isPlainObject:function(e){var t,n;return!(!e||"[object Object]"!==d.call(e))&&(!(t=s(e))||"function"==typeof(n=p.call(t,"constructor")&&t.constructor)&&v.call(n)===m)},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},globalEval:function(e){E(e)},each:function(e,t){var n,r=0;if(x(e))for(n=e.length;r<n&&!1!==t.call(e[r],r,e[r]);r++);else for(r in e)if(!1===t.call(e[r],r,e[r]))break;return e},trim:function(e){return null==e?"":(e+"").replace(T,"")},makeArray:function(e,t){var n=t||[];return null!=e&&(x(Object(e))?C.merge(n,"string"==typeof e?[e]:e):l.call(n,e)),n},inArray:function(e,t,n){return null==t?-1:f.call(t,e,n)},merge:function(e,t){for(var n=+t.length,r=0,i=e.length;r<n;r++)e[i++]=t[r];return e.length=i,e},grep:function(e,t,n){for(var r=[],i=0,o=e.length,a=!n;i<o;i++)!t(e[i],i)!==a&&r.push(e[i]);return r},map:function(e,t,n){var r,i,o=0,a=[];if(x(e))for(r=e.length;o<r;o++)null!=(i=t(e[o],o,n))&&a.push(i);else for(o in e)null!=(i=t(e[o],o,n))&&a.push(i);return c.apply([],a)},guid:1,support:g}),"function"==typeof Symbol&&(C.fn[Symbol.iterator]=o[Symbol.iterator]),C.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(e,t){h["[object "+t+"]"]=t.toLowerCase()});var k=
  /*!
   * Sizzle CSS Selector Engine v2.3.3
   * https://sizzlejs.com/
   *
   * Copyright jQuery Foundation and other contributors
   * Released under the MIT license
   * http://jquery.org/license
   *
   * Date: 2016-08-08
   */
  function(e){var t,n,r,i,o,a,s,u,c,l,f,h,d,p,v,m,g,y,b,w="sizzle"+1*new Date,E=e.document,_=0,C=0,T=ae(),x=ae(),k=ae(),S=function(e,t){return e===t&&(f=!0),0},A={}.hasOwnProperty,O=[],j=O.pop,I=O.push,D=O.push,L=O.slice,P=function(e,t){for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return-1},N="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",M="[\\x20\\t\\r\\n\\f]",F="(?:\\\\.|[\\w-]|[^\0-\\xa0])+",R="\\["+M+"*("+F+")(?:"+M+"*([*^$|!~]?=)"+M+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+F+"))|)"+M+"*\\]",H=":("+F+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+R+")*)|.*)\\)|)",$=new RegExp(M+"+","g"),q=new RegExp("^"+M+"+|((?:^|[^\\\\])(?:\\\\.)*)"+M+"+$","g"),B=new RegExp("^"+M+"*,"+M+"*"),U=new RegExp("^"+M+"*([>+~]|"+M+")"+M+"*"),W=new RegExp("="+M+"*([^\\]'\"]*?)"+M+"*\\]","g"),V=new RegExp(H),K=new RegExp("^"+F+"$"),G={ID:new RegExp("^#("+F+")"),CLASS:new RegExp("^\\.("+F+")"),TAG:new RegExp("^("+F+"|[*])"),ATTR:new RegExp("^"+R),PSEUDO:new RegExp("^"+H),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+M+"*(even|odd|(([+-]|)(\\d*)n|)"+M+"*(?:([+-]|)"+M+"*(\\d+)|))"+M+"*\\)|)","i"),bool:new RegExp("^(?:"+N+")$","i"),needsContext:new RegExp("^"+M+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+M+"*((?:-\\d)?\\d*)"+M+"*\\)|)(?=[^-]|$)","i")},z=/^(?:input|select|textarea|button)$/i,Q=/^h\d$/i,Y=/^[^{]+\{\s*\[native \w/,X=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,J=/[+~]/,Z=new RegExp("\\\\([\\da-f]{1,6}"+M+"?|("+M+")|.)","ig"),ee=function(e,t,n){var r="0x"+t-65536;return r!=r||n?t:r<0?String.fromCharCode(r+65536):String.fromCharCode(r>>10|55296,1023&r|56320)},te=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,ne=function(e,t){return t?"\0"===e?"�":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e},re=function(){h()},ie=ye(function(e){return!0===e.disabled&&("form"in e||"label"in e)},{dir:"parentNode",next:"legend"});try{D.apply(O=L.call(E.childNodes),E.childNodes),O[E.childNodes.length].nodeType}catch(e){D={apply:O.length?function(e,t){I.apply(e,L.call(t))}:function(e,t){for(var n=e.length,r=0;e[n++]=t[r++];);e.length=n-1}}}function oe(e,t,r,i){var o,s,c,l,f,p,g,y=t&&t.ownerDocument,_=t?t.nodeType:9;if(r=r||[],"string"!=typeof e||!e||1!==_&&9!==_&&11!==_)return r;if(!i&&((t?t.ownerDocument||t:E)!==d&&h(t),t=t||d,v)){if(11!==_&&(f=X.exec(e)))if(o=f[1]){if(9===_){if(!(c=t.getElementById(o)))return r;if(c.id===o)return r.push(c),r}else if(y&&(c=y.getElementById(o))&&b(t,c)&&c.id===o)return r.push(c),r}else{if(f[2])return D.apply(r,t.getElementsByTagName(e)),r;if((o=f[3])&&n.getElementsByClassName&&t.getElementsByClassName)return D.apply(r,t.getElementsByClassName(o)),r}if(n.qsa&&!k[e+" "]&&(!m||!m.test(e))){if(1!==_)y=t,g=e;else if("object"!==t.nodeName.toLowerCase()){for((l=t.getAttribute("id"))?l=l.replace(te,ne):t.setAttribute("id",l=w),s=(p=a(e)).length;s--;)p[s]="#"+l+" "+ge(p[s]);g=p.join(","),y=J.test(e)&&ve(t.parentNode)||t}if(g)try{return D.apply(r,y.querySelectorAll(g)),r}catch(e){}finally{l===w&&t.removeAttribute("id")}}}return u(e.replace(q,"$1"),t,r,i)}function ae(){var e=[];return function t(n,i){return e.push(n+" ")>r.cacheLength&&delete t[e.shift()],t[n+" "]=i}}function se(e){return e[w]=!0,e}function ue(e){var t=d.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function ce(e,t){for(var n=e.split("|"),i=n.length;i--;)r.attrHandle[n[i]]=t}function le(e,t){var n=t&&e,r=n&&1===e.nodeType&&1===t.nodeType&&e.sourceIndex-t.sourceIndex;if(r)return r;if(n)for(;n=n.nextSibling;)if(n===t)return-1;return e?1:-1}function fe(e){return function(t){return"input"===t.nodeName.toLowerCase()&&t.type===e}}function he(e){return function(t){var n=t.nodeName.toLowerCase();return("input"===n||"button"===n)&&t.type===e}}function de(e){return function(t){return"form"in t?t.parentNode&&!1===t.disabled?"label"in t?"label"in t.parentNode?t.parentNode.disabled===e:t.disabled===e:t.isDisabled===e||t.isDisabled!==!e&&ie(t)===e:t.disabled===e:"label"in t&&t.disabled===e}}function pe(e){return se(function(t){return t=+t,se(function(n,r){for(var i,o=e([],n.length,t),a=o.length;a--;)n[i=o[a]]&&(n[i]=!(r[i]=n[i]))})})}function ve(e){return e&&void 0!==e.getElementsByTagName&&e}for(t in n=oe.support={},o=oe.isXML=function(e){var t=e&&(e.ownerDocument||e).documentElement;return!!t&&"HTML"!==t.nodeName},h=oe.setDocument=function(e){var t,i,a=e?e.ownerDocument||e:E;return a!==d&&9===a.nodeType&&a.documentElement?(p=(d=a).documentElement,v=!o(d),E!==d&&(i=d.defaultView)&&i.top!==i&&(i.addEventListener?i.addEventListener("unload",re,!1):i.attachEvent&&i.attachEvent("onunload",re)),n.attributes=ue(function(e){return e.className="i",!e.getAttribute("className")}),n.getElementsByTagName=ue(function(e){return e.appendChild(d.createComment("")),!e.getElementsByTagName("*").length}),n.getElementsByClassName=Y.test(d.getElementsByClassName),n.getById=ue(function(e){return p.appendChild(e).id=w,!d.getElementsByName||!d.getElementsByName(w).length}),n.getById?(r.filter.ID=function(e){var t=e.replace(Z,ee);return function(e){return e.getAttribute("id")===t}},r.find.ID=function(e,t){if(void 0!==t.getElementById&&v){var n=t.getElementById(e);return n?[n]:[]}}):(r.filter.ID=function(e){var t=e.replace(Z,ee);return function(e){var n=void 0!==e.getAttributeNode&&e.getAttributeNode("id");return n&&n.value===t}},r.find.ID=function(e,t){if(void 0!==t.getElementById&&v){var n,r,i,o=t.getElementById(e);if(o){if((n=o.getAttributeNode("id"))&&n.value===e)return[o];for(i=t.getElementsByName(e),r=0;o=i[r++];)if((n=o.getAttributeNode("id"))&&n.value===e)return[o]}return[]}}),r.find.TAG=n.getElementsByTagName?function(e,t){return void 0!==t.getElementsByTagName?t.getElementsByTagName(e):n.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,r=[],i=0,o=t.getElementsByTagName(e);if("*"===e){for(;n=o[i++];)1===n.nodeType&&r.push(n);return r}return o},r.find.CLASS=n.getElementsByClassName&&function(e,t){if(void 0!==t.getElementsByClassName&&v)return t.getElementsByClassName(e)},g=[],m=[],(n.qsa=Y.test(d.querySelectorAll))&&(ue(function(e){p.appendChild(e).innerHTML="<a id='"+w+"'></a><select id='"+w+"-\r\\' msallowcapture=''><option selected=''></option></select>",e.querySelectorAll("[msallowcapture^='']").length&&m.push("[*^$]="+M+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||m.push("\\["+M+"*(?:value|"+N+")"),e.querySelectorAll("[id~="+w+"-]").length||m.push("~="),e.querySelectorAll(":checked").length||m.push(":checked"),e.querySelectorAll("a#"+w+"+*").length||m.push(".#.+[+~]")}),ue(function(e){e.innerHTML="<a href='' disabled='disabled'></a><select disabled='disabled'><option/></select>";var t=d.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&m.push("name"+M+"*[*^$|!~]?="),2!==e.querySelectorAll(":enabled").length&&m.push(":enabled",":disabled"),p.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&m.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),m.push(",.*:")})),(n.matchesSelector=Y.test(y=p.matches||p.webkitMatchesSelector||p.mozMatchesSelector||p.oMatchesSelector||p.msMatchesSelector))&&ue(function(e){n.disconnectedMatch=y.call(e,"*"),y.call(e,"[s!='']:x"),g.push("!=",H)}),m=m.length&&new RegExp(m.join("|")),g=g.length&&new RegExp(g.join("|")),t=Y.test(p.compareDocumentPosition),b=t||Y.test(p.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,r=t&&t.parentNode;return e===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):e.compareDocumentPosition&&16&e.compareDocumentPosition(r)))}:function(e,t){if(t)for(;t=t.parentNode;)if(t===e)return!0;return!1},S=t?function(e,t){if(e===t)return f=!0,0;var r=!e.compareDocumentPosition-!t.compareDocumentPosition;return r||(1&(r=(e.ownerDocument||e)===(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!n.sortDetached&&t.compareDocumentPosition(e)===r?e===d||e.ownerDocument===E&&b(E,e)?-1:t===d||t.ownerDocument===E&&b(E,t)?1:l?P(l,e)-P(l,t):0:4&r?-1:1)}:function(e,t){if(e===t)return f=!0,0;var n,r=0,i=e.parentNode,o=t.parentNode,a=[e],s=[t];if(!i||!o)return e===d?-1:t===d?1:i?-1:o?1:l?P(l,e)-P(l,t):0;if(i===o)return le(e,t);for(n=e;n=n.parentNode;)a.unshift(n);for(n=t;n=n.parentNode;)s.unshift(n);for(;a[r]===s[r];)r++;return r?le(a[r],s[r]):a[r]===E?-1:s[r]===E?1:0},d):d},oe.matches=function(e,t){return oe(e,null,null,t)},oe.matchesSelector=function(e,t){if((e.ownerDocument||e)!==d&&h(e),t=t.replace(W,"='$1']"),n.matchesSelector&&v&&!k[t+" "]&&(!g||!g.test(t))&&(!m||!m.test(t)))try{var r=y.call(e,t);if(r||n.disconnectedMatch||e.document&&11!==e.document.nodeType)return r}catch(e){}return oe(t,d,null,[e]).length>0},oe.contains=function(e,t){return(e.ownerDocument||e)!==d&&h(e),b(e,t)},oe.attr=function(e,t){(e.ownerDocument||e)!==d&&h(e);var i=r.attrHandle[t.toLowerCase()],o=i&&A.call(r.attrHandle,t.toLowerCase())?i(e,t,!v):void 0;return void 0!==o?o:n.attributes||!v?e.getAttribute(t):(o=e.getAttributeNode(t))&&o.specified?o.value:null},oe.escape=function(e){return(e+"").replace(te,ne)},oe.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},oe.uniqueSort=function(e){var t,r=[],i=0,o=0;if(f=!n.detectDuplicates,l=!n.sortStable&&e.slice(0),e.sort(S),f){for(;t=e[o++];)t===e[o]&&(i=r.push(o));for(;i--;)e.splice(r[i],1)}return l=null,e},i=oe.getText=function(e){var t,n="",r=0,o=e.nodeType;if(o){if(1===o||9===o||11===o){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=i(e)}else if(3===o||4===o)return e.nodeValue}else for(;t=e[r++];)n+=i(t);return n},(r=oe.selectors={cacheLength:50,createPseudo:se,match:G,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(Z,ee),e[3]=(e[3]||e[4]||e[5]||"").replace(Z,ee),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||oe.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&oe.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return G.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&V.test(n)&&(t=a(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(Z,ee).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=T[e+" "];return t||(t=new RegExp("(^|"+M+")"+e+"("+M+"|$)"))&&T(e,function(e){return t.test("string"==typeof e.className&&e.className||void 0!==e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(e,t,n){return function(r){var i=oe.attr(r,e);return null==i?"!="===t:!t||(i+="","="===t?i===n:"!="===t?i!==n:"^="===t?n&&0===i.indexOf(n):"*="===t?n&&i.indexOf(n)>-1:"$="===t?n&&i.slice(-n.length)===n:"~="===t?(" "+i.replace($," ")+" ").indexOf(n)>-1:"|="===t&&(i===n||i.slice(0,n.length+1)===n+"-"))}},CHILD:function(e,t,n,r,i){var o="nth"!==e.slice(0,3),a="last"!==e.slice(-4),s="of-type"===t;return 1===r&&0===i?function(e){return!!e.parentNode}:function(t,n,u){var c,l,f,h,d,p,v=o!==a?"nextSibling":"previousSibling",m=t.parentNode,g=s&&t.nodeName.toLowerCase(),y=!u&&!s,b=!1;if(m){if(o){for(;v;){for(h=t;h=h[v];)if(s?h.nodeName.toLowerCase()===g:1===h.nodeType)return!1;p=v="only"===e&&!p&&"nextSibling"}return!0}if(p=[a?m.firstChild:m.lastChild],a&&y){for(b=(d=(c=(l=(f=(h=m)[w]||(h[w]={}))[h.uniqueID]||(f[h.uniqueID]={}))[e]||[])[0]===_&&c[1])&&c[2],h=d&&m.childNodes[d];h=++d&&h&&h[v]||(b=d=0)||p.pop();)if(1===h.nodeType&&++b&&h===t){l[e]=[_,d,b];break}}else if(y&&(b=d=(c=(l=(f=(h=t)[w]||(h[w]={}))[h.uniqueID]||(f[h.uniqueID]={}))[e]||[])[0]===_&&c[1]),!1===b)for(;(h=++d&&h&&h[v]||(b=d=0)||p.pop())&&((s?h.nodeName.toLowerCase()!==g:1!==h.nodeType)||!++b||(y&&((l=(f=h[w]||(h[w]={}))[h.uniqueID]||(f[h.uniqueID]={}))[e]=[_,b]),h!==t)););return(b-=i)===r||b%r==0&&b/r>=0}}},PSEUDO:function(e,t){var n,i=r.pseudos[e]||r.setFilters[e.toLowerCase()]||oe.error("unsupported pseudo: "+e);return i[w]?i(t):i.length>1?(n=[e,e,"",t],r.setFilters.hasOwnProperty(e.toLowerCase())?se(function(e,n){for(var r,o=i(e,t),a=o.length;a--;)e[r=P(e,o[a])]=!(n[r]=o[a])}):function(e){return i(e,0,n)}):i}},pseudos:{not:se(function(e){var t=[],n=[],r=s(e.replace(q,"$1"));return r[w]?se(function(e,t,n,i){for(var o,a=r(e,null,i,[]),s=e.length;s--;)(o=a[s])&&(e[s]=!(t[s]=o))}):function(e,i,o){return t[0]=e,r(t,null,o,n),t[0]=null,!n.pop()}}),has:se(function(e){return function(t){return oe(e,t).length>0}}),contains:se(function(e){return e=e.replace(Z,ee),function(t){return(t.textContent||t.innerText||i(t)).indexOf(e)>-1}}),lang:se(function(e){return K.test(e||"")||oe.error("unsupported lang: "+e),e=e.replace(Z,ee).toLowerCase(),function(t){var n;do{if(n=v?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return(n=n.toLowerCase())===e||0===n.indexOf(e+"-")}while((t=t.parentNode)&&1===t.nodeType);return!1}}),target:function(t){var n=e.location&&e.location.hash;return n&&n.slice(1)===t.id},root:function(e){return e===p},focus:function(e){return e===d.activeElement&&(!d.hasFocus||d.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:de(!1),disabled:de(!0),checked:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&!!e.checked||"option"===t&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,!0===e.selected},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType<6)return!1;return!0},parent:function(e){return!r.pseudos.empty(e)},header:function(e){return Q.test(e.nodeName)},input:function(e){return z.test(e.nodeName)},button:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&"button"===e.type||"button"===t},text:function(e){var t;return"input"===e.nodeName.toLowerCase()&&"text"===e.type&&(null==(t=e.getAttribute("type"))||"text"===t.toLowerCase())},first:pe(function(){return[0]}),last:pe(function(e,t){return[t-1]}),eq:pe(function(e,t,n){return[n<0?n+t:n]}),even:pe(function(e,t){for(var n=0;n<t;n+=2)e.push(n);return e}),odd:pe(function(e,t){for(var n=1;n<t;n+=2)e.push(n);return e}),lt:pe(function(e,t,n){for(var r=n<0?n+t:n;--r>=0;)e.push(r);return e}),gt:pe(function(e,t,n){for(var r=n<0?n+t:n;++r<t;)e.push(r);return e})}}).pseudos.nth=r.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})r.pseudos[t]=fe(t);for(t in{submit:!0,reset:!0})r.pseudos[t]=he(t);function me(){}function ge(e){for(var t=0,n=e.length,r="";t<n;t++)r+=e[t].value;return r}function ye(e,t,n){var r=t.dir,i=t.next,o=i||r,a=n&&"parentNode"===o,s=C++;return t.first?function(t,n,i){for(;t=t[r];)if(1===t.nodeType||a)return e(t,n,i);return!1}:function(t,n,u){var c,l,f,h=[_,s];if(u){for(;t=t[r];)if((1===t.nodeType||a)&&e(t,n,u))return!0}else for(;t=t[r];)if(1===t.nodeType||a)if(l=(f=t[w]||(t[w]={}))[t.uniqueID]||(f[t.uniqueID]={}),i&&i===t.nodeName.toLowerCase())t=t[r]||t;else{if((c=l[o])&&c[0]===_&&c[1]===s)return h[2]=c[2];if(l[o]=h,h[2]=e(t,n,u))return!0}return!1}}function be(e){return e.length>1?function(t,n,r){for(var i=e.length;i--;)if(!e[i](t,n,r))return!1;return!0}:e[0]}function we(e,t,n,r,i){for(var o,a=[],s=0,u=e.length,c=null!=t;s<u;s++)(o=e[s])&&(n&&!n(o,r,i)||(a.push(o),c&&t.push(s)));return a}function Ee(e,t,n,r,i,o){return r&&!r[w]&&(r=Ee(r)),i&&!i[w]&&(i=Ee(i,o)),se(function(o,a,s,u){var c,l,f,h=[],d=[],p=a.length,v=o||function(e,t,n){for(var r=0,i=t.length;r<i;r++)oe(e,t[r],n);return n}(t||"*",s.nodeType?[s]:s,[]),m=!e||!o&&t?v:we(v,h,e,s,u),g=n?i||(o?e:p||r)?[]:a:m;if(n&&n(m,g,s,u),r)for(c=we(g,d),r(c,[],s,u),l=c.length;l--;)(f=c[l])&&(g[d[l]]=!(m[d[l]]=f));if(o){if(i||e){if(i){for(c=[],l=g.length;l--;)(f=g[l])&&c.push(m[l]=f);i(null,g=[],c,u)}for(l=g.length;l--;)(f=g[l])&&(c=i?P(o,f):h[l])>-1&&(o[c]=!(a[c]=f))}}else g=we(g===a?g.splice(p,g.length):g),i?i(null,a,g,u):D.apply(a,g)})}function _e(e){for(var t,n,i,o=e.length,a=r.relative[e[0].type],s=a||r.relative[" "],u=a?1:0,l=ye(function(e){return e===t},s,!0),f=ye(function(e){return P(t,e)>-1},s,!0),h=[function(e,n,r){var i=!a&&(r||n!==c)||((t=n).nodeType?l(e,n,r):f(e,n,r));return t=null,i}];u<o;u++)if(n=r.relative[e[u].type])h=[ye(be(h),n)];else{if((n=r.filter[e[u].type].apply(null,e[u].matches))[w]){for(i=++u;i<o&&!r.relative[e[i].type];i++);return Ee(u>1&&be(h),u>1&&ge(e.slice(0,u-1).concat({value:" "===e[u-2].type?"*":""})).replace(q,"$1"),n,u<i&&_e(e.slice(u,i)),i<o&&_e(e=e.slice(i)),i<o&&ge(e))}h.push(n)}return be(h)}return me.prototype=r.filters=r.pseudos,r.setFilters=new me,a=oe.tokenize=function(e,t){var n,i,o,a,s,u,c,l=x[e+" "];if(l)return t?0:l.slice(0);for(s=e,u=[],c=r.preFilter;s;){for(a in n&&!(i=B.exec(s))||(i&&(s=s.slice(i[0].length)||s),u.push(o=[])),n=!1,(i=U.exec(s))&&(n=i.shift(),o.push({value:n,type:i[0].replace(q," ")}),s=s.slice(n.length)),r.filter)!(i=G[a].exec(s))||c[a]&&!(i=c[a](i))||(n=i.shift(),o.push({value:n,type:a,matches:i}),s=s.slice(n.length));if(!n)break}return t?s.length:s?oe.error(e):x(e,u).slice(0)},s=oe.compile=function(e,t){var n,i=[],o=[],s=k[e+" "];if(!s){for(t||(t=a(e)),n=t.length;n--;)(s=_e(t[n]))[w]?i.push(s):o.push(s);(s=k(e,function(e,t){var n=t.length>0,i=e.length>0,o=function(o,a,s,u,l){var f,p,m,g=0,y="0",b=o&&[],w=[],E=c,C=o||i&&r.find.TAG("*",l),T=_+=null==E?1:Math.random()||.1,x=C.length;for(l&&(c=a===d||a||l);y!==x&&null!=(f=C[y]);y++){if(i&&f){for(p=0,a||f.ownerDocument===d||(h(f),s=!v);m=e[p++];)if(m(f,a||d,s)){u.push(f);break}l&&(_=T)}n&&((f=!m&&f)&&g--,o&&b.push(f))}if(g+=y,n&&y!==g){for(p=0;m=t[p++];)m(b,w,a,s);if(o){if(g>0)for(;y--;)b[y]||w[y]||(w[y]=j.call(u));w=we(w)}D.apply(u,w),l&&!o&&w.length>0&&g+t.length>1&&oe.uniqueSort(u)}return l&&(_=T,c=E),b};return n?se(o):o}(o,i))).selector=e}return s},u=oe.select=function(e,t,n,i){var o,u,c,l,f,h="function"==typeof e&&e,d=!i&&a(e=h.selector||e);if(n=n||[],1===d.length){if((u=d[0]=d[0].slice(0)).length>2&&"ID"===(c=u[0]).type&&9===t.nodeType&&v&&r.relative[u[1].type]){if(!(t=(r.find.ID(c.matches[0].replace(Z,ee),t)||[])[0]))return n;h&&(t=t.parentNode),e=e.slice(u.shift().value.length)}for(o=G.needsContext.test(e)?0:u.length;o--&&(c=u[o],!r.relative[l=c.type]);)if((f=r.find[l])&&(i=f(c.matches[0].replace(Z,ee),J.test(u[0].type)&&ve(t.parentNode)||t))){if(u.splice(o,1),!(e=i.length&&ge(u)))return D.apply(n,i),n;break}}return(h||s(e,d))(i,t,!v,n,!t||J.test(e)&&ve(t.parentNode)||t),n},n.sortStable=w.split("").sort(S).join("")===w,n.detectDuplicates=!!f,h(),n.sortDetached=ue(function(e){return 1&e.compareDocumentPosition(d.createElement("fieldset"))}),ue(function(e){return e.innerHTML="<a href='#'></a>","#"===e.firstChild.getAttribute("href")})||ce("type|href|height|width",function(e,t,n){if(!n)return e.getAttribute(t,"type"===t.toLowerCase()?1:2)}),n.attributes&&ue(function(e){return e.innerHTML="<input/>",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")})||ce("value",function(e,t,n){if(!n&&"input"===e.nodeName.toLowerCase())return e.defaultValue}),ue(function(e){return null==e.getAttribute("disabled")})||ce(N,function(e,t,n){var r;if(!n)return!0===e[t]?t.toLowerCase():(r=e.getAttributeNode(t))&&r.specified?r.value:null}),oe}(n);C.find=k,C.expr=k.selectors,C.expr[":"]=C.expr.pseudos,C.uniqueSort=C.unique=k.uniqueSort,C.text=k.getText,C.isXMLDoc=k.isXML,C.contains=k.contains,C.escapeSelector=k.escape;var S=function(e,t,n){for(var r=[],i=void 0!==n;(e=e[t])&&9!==e.nodeType;)if(1===e.nodeType){if(i&&C(e).is(n))break;r.push(e)}return r},A=function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n},O=C.expr.match.needsContext;function j(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()}var I=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function D(e,t,n){return y(t)?C.grep(e,function(e,r){return!!t.call(e,r,e)!==n}):t.nodeType?C.grep(e,function(e){return e===t!==n}):"string"!=typeof t?C.grep(e,function(e){return f.call(t,e)>-1!==n}):C.filter(t,e,n)}C.filter=function(e,t,n){var r=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===r.nodeType?C.find.matchesSelector(r,e)?[r]:[]:C.find.matches(e,C.grep(t,function(e){return 1===e.nodeType}))},C.fn.extend({find:function(e){var t,n,r=this.length,i=this;if("string"!=typeof e)return this.pushStack(C(e).filter(function(){for(t=0;t<r;t++)if(C.contains(i[t],this))return!0}));for(n=this.pushStack([]),t=0;t<r;t++)C.find(e,i[t],n);return r>1?C.uniqueSort(n):n},filter:function(e){return this.pushStack(D(this,e||[],!1))},not:function(e){return this.pushStack(D(this,e||[],!0))},is:function(e){return!!D(this,"string"==typeof e&&O.test(e)?C(e):e||[],!1).length}});var L,P=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(C.fn.init=function(e,t,n){var r,i;if(!e)return this;if(n=n||L,"string"==typeof e){if(!(r="<"===e[0]&&">"===e[e.length-1]&&e.length>=3?[null,e,null]:P.exec(e))||!r[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(r[1]){if(t=t instanceof C?t[0]:t,C.merge(this,C.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:a,!0)),I.test(r[1])&&C.isPlainObject(t))for(r in t)y(this[r])?this[r](t[r]):this.attr(r,t[r]);return this}return(i=a.getElementById(r[2]))&&(this[0]=i,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):y(e)?void 0!==n.ready?n.ready(e):e(C):C.makeArray(e,this)}).prototype=C.fn,L=C(a);var N=/^(?:parents|prev(?:Until|All))/,M={children:!0,contents:!0,next:!0,prev:!0};function F(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}C.fn.extend({has:function(e){var t=C(e,this),n=t.length;return this.filter(function(){for(var e=0;e<n;e++)if(C.contains(this,t[e]))return!0})},closest:function(e,t){var n,r=0,i=this.length,o=[],a="string"!=typeof e&&C(e);if(!O.test(e))for(;r<i;r++)for(n=this[r];n&&n!==t;n=n.parentNode)if(n.nodeType<11&&(a?a.index(n)>-1:1===n.nodeType&&C.find.matchesSelector(n,e))){o.push(n);break}return this.pushStack(o.length>1?C.uniqueSort(o):o)},index:function(e){return e?"string"==typeof e?f.call(C(e),this[0]):f.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(C.uniqueSort(C.merge(this.get(),C(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),C.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return S(e,"parentNode")},parentsUntil:function(e,t,n){return S(e,"parentNode",n)},next:function(e){return F(e,"nextSibling")},prev:function(e){return F(e,"previousSibling")},nextAll:function(e){return S(e,"nextSibling")},prevAll:function(e){return S(e,"previousSibling")},nextUntil:function(e,t,n){return S(e,"nextSibling",n)},prevUntil:function(e,t,n){return S(e,"previousSibling",n)},siblings:function(e){return A((e.parentNode||{}).firstChild,e)},children:function(e){return A(e.firstChild)},contents:function(e){return j(e,"iframe")?e.contentDocument:(j(e,"template")&&(e=e.content||e),C.merge([],e.childNodes))}},function(e,t){C.fn[e]=function(n,r){var i=C.map(this,t,n);return"Until"!==e.slice(-5)&&(r=n),r&&"string"==typeof r&&(i=C.filter(r,i)),this.length>1&&(M[e]||C.uniqueSort(i),N.test(e)&&i.reverse()),this.pushStack(i)}});var R=/[^\x20\t\r\n\f]+/g;function H(e){return e}function $(e){throw e}function q(e,t,n,r){var i;try{e&&y(i=e.promise)?i.call(e).done(t).fail(n):e&&y(i=e.then)?i.call(e,t,n):t.apply(void 0,[e].slice(r))}catch(e){n.apply(void 0,[e])}}C.Callbacks=function(e){e="string"==typeof e?function(e){var t={};return C.each(e.match(R)||[],function(e,n){t[n]=!0}),t}(e):C.extend({},e);var t,n,r,i,o=[],a=[],s=-1,u=function(){for(i=i||e.once,r=t=!0;a.length;s=-1)for(n=a.shift();++s<o.length;)!1===o[s].apply(n[0],n[1])&&e.stopOnFalse&&(s=o.length,n=!1);e.memory||(n=!1),t=!1,i&&(o=n?[]:"")},c={add:function(){return o&&(n&&!t&&(s=o.length-1,a.push(n)),function t(n){C.each(n,function(n,r){y(r)?e.unique&&c.has(r)||o.push(r):r&&r.length&&"string"!==_(r)&&t(r)})}(arguments),n&&!t&&u()),this},remove:function(){return C.each(arguments,function(e,t){for(var n;(n=C.inArray(t,o,n))>-1;)o.splice(n,1),n<=s&&s--}),this},has:function(e){return e?C.inArray(e,o)>-1:o.length>0},empty:function(){return o&&(o=[]),this},disable:function(){return i=a=[],o=n="",this},disabled:function(){return!o},lock:function(){return i=a=[],n||t||(o=n=""),this},locked:function(){return!!i},fireWith:function(e,n){return i||(n=[e,(n=n||[]).slice?n.slice():n],a.push(n),t||u()),this},fire:function(){return c.fireWith(this,arguments),this},fired:function(){return!!r}};return c},C.extend({Deferred:function(e){var t=[["notify","progress",C.Callbacks("memory"),C.Callbacks("memory"),2],["resolve","done",C.Callbacks("once memory"),C.Callbacks("once memory"),0,"resolved"],["reject","fail",C.Callbacks("once memory"),C.Callbacks("once memory"),1,"rejected"]],r="pending",i={state:function(){return r},always:function(){return o.done(arguments).fail(arguments),this},catch:function(e){return i.then(null,e)},pipe:function(){var e=arguments;return C.Deferred(function(n){C.each(t,function(t,r){var i=y(e[r[4]])&&e[r[4]];o[r[1]](function(){var e=i&&i.apply(this,arguments);e&&y(e.promise)?e.promise().progress(n.notify).done(n.resolve).fail(n.reject):n[r[0]+"With"](this,i?[e]:arguments)})}),e=null}).promise()},then:function(e,r,i){var o=0;function a(e,t,r,i){return function(){var s=this,u=arguments,c=function(){var n,c;if(!(e<o)){if((n=r.apply(s,u))===t.promise())throw new TypeError("Thenable self-resolution");c=n&&("object"==typeof n||"function"==typeof n)&&n.then,y(c)?i?c.call(n,a(o,t,H,i),a(o,t,$,i)):(o++,c.call(n,a(o,t,H,i),a(o,t,$,i),a(o,t,H,t.notifyWith))):(r!==H&&(s=void 0,u=[n]),(i||t.resolveWith)(s,u))}},l=i?c:function(){try{c()}catch(n){C.Deferred.exceptionHook&&C.Deferred.exceptionHook(n,l.stackTrace),e+1>=o&&(r!==$&&(s=void 0,u=[n]),t.rejectWith(s,u))}};e?l():(C.Deferred.getStackHook&&(l.stackTrace=C.Deferred.getStackHook()),n.setTimeout(l))}}return C.Deferred(function(n){t[0][3].add(a(0,n,y(i)?i:H,n.notifyWith)),t[1][3].add(a(0,n,y(e)?e:H)),t[2][3].add(a(0,n,y(r)?r:$))}).promise()},promise:function(e){return null!=e?C.extend(e,i):i}},o={};return C.each(t,function(e,n){var a=n[2],s=n[5];i[n[1]]=a.add,s&&a.add(function(){r=s},t[3-e][2].disable,t[3-e][3].disable,t[0][2].lock,t[0][3].lock),a.add(n[3].fire),o[n[0]]=function(){return o[n[0]+"With"](this===o?void 0:this,arguments),this},o[n[0]+"With"]=a.fireWith}),i.promise(o),e&&e.call(o,o),o},when:function(e){var t=arguments.length,n=t,r=Array(n),i=u.call(arguments),o=C.Deferred(),a=function(e){return function(n){r[e]=this,i[e]=arguments.length>1?u.call(arguments):n,--t||o.resolveWith(r,i)}};if(t<=1&&(q(e,o.done(a(n)).resolve,o.reject,!t),"pending"===o.state()||y(i[n]&&i[n].then)))return o.then();for(;n--;)q(i[n],a(n),o.reject);return o.promise()}});var B=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;C.Deferred.exceptionHook=function(e,t){n.console&&n.console.warn&&e&&B.test(e.name)&&n.console.warn("jQuery.Deferred exception: "+e.message,e.stack,t)},C.readyException=function(e){n.setTimeout(function(){throw e})};var U=C.Deferred();function W(){a.removeEventListener("DOMContentLoaded",W),n.removeEventListener("load",W),C.ready()}C.fn.ready=function(e){return U.then(e).catch(function(e){C.readyException(e)}),this},C.extend({isReady:!1,readyWait:1,ready:function(e){(!0===e?--C.readyWait:C.isReady)||(C.isReady=!0,!0!==e&&--C.readyWait>0||U.resolveWith(a,[C]))}}),C.ready.then=U.then,"complete"===a.readyState||"loading"!==a.readyState&&!a.documentElement.doScroll?n.setTimeout(C.ready):(a.addEventListener("DOMContentLoaded",W),n.addEventListener("load",W));var V=function(e,t,n,r,i,o,a){var s=0,u=e.length,c=null==n;if("object"===_(n))for(s in i=!0,n)V(e,t,s,n[s],!0,o,a);else if(void 0!==r&&(i=!0,y(r)||(a=!0),c&&(a?(t.call(e,r),t=null):(c=t,t=function(e,t,n){return c.call(C(e),n)})),t))for(;s<u;s++)t(e[s],n,a?r:r.call(e[s],s,t(e[s],n)));return i?e:c?t.call(e):u?t(e[0],n):o},K=/^-ms-/,G=/-([a-z])/g;function z(e,t){return t.toUpperCase()}function Q(e){return e.replace(K,"ms-").replace(G,z)}var Y=function(e){return 1===e.nodeType||9===e.nodeType||!+e.nodeType};function X(){this.expando=C.expando+X.uid++}X.uid=1,X.prototype={cache:function(e){var t=e[this.expando];return t||(t={},Y(e)&&(e.nodeType?e[this.expando]=t:Object.defineProperty(e,this.expando,{value:t,configurable:!0}))),t},set:function(e,t,n){var r,i=this.cache(e);if("string"==typeof t)i[Q(t)]=n;else for(r in t)i[Q(r)]=t[r];return i},get:function(e,t){return void 0===t?this.cache(e):e[this.expando]&&e[this.expando][Q(t)]},access:function(e,t,n){return void 0===t||t&&"string"==typeof t&&void 0===n?this.get(e,t):(this.set(e,t,n),void 0!==n?n:t)},remove:function(e,t){var n,r=e[this.expando];if(void 0!==r){if(void 0!==t){n=(t=Array.isArray(t)?t.map(Q):(t=Q(t))in r?[t]:t.match(R)||[]).length;for(;n--;)delete r[t[n]]}(void 0===t||C.isEmptyObject(r))&&(e.nodeType?e[this.expando]=void 0:delete e[this.expando])}},hasData:function(e){var t=e[this.expando];return void 0!==t&&!C.isEmptyObject(t)}};var J=new X,Z=new X,ee=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,te=/[A-Z]/g;function ne(e,t,n){var r;if(void 0===n&&1===e.nodeType)if(r="data-"+t.replace(te,"-$&").toLowerCase(),"string"==typeof(n=e.getAttribute(r))){try{n=function(e){return"true"===e||"false"!==e&&("null"===e?null:e===+e+""?+e:ee.test(e)?JSON.parse(e):e)}(n)}catch(e){}Z.set(e,t,n)}else n=void 0;return n}C.extend({hasData:function(e){return Z.hasData(e)||J.hasData(e)},data:function(e,t,n){return Z.access(e,t,n)},removeData:function(e,t){Z.remove(e,t)},_data:function(e,t,n){return J.access(e,t,n)},_removeData:function(e,t){J.remove(e,t)}}),C.fn.extend({data:function(e,t){var n,r,i,o=this[0],a=o&&o.attributes;if(void 0===e){if(this.length&&(i=Z.get(o),1===o.nodeType&&!J.get(o,"hasDataAttrs"))){for(n=a.length;n--;)a[n]&&0===(r=a[n].name).indexOf("data-")&&(r=Q(r.slice(5)),ne(o,r,i[r]));J.set(o,"hasDataAttrs",!0)}return i}return"object"==typeof e?this.each(function(){Z.set(this,e)}):V(this,function(t){var n;if(o&&void 0===t)return void 0!==(n=Z.get(o,e))?n:void 0!==(n=ne(o,e))?n:void 0;this.each(function(){Z.set(this,e,t)})},null,t,arguments.length>1,null,!0)},removeData:function(e){return this.each(function(){Z.remove(this,e)})}}),C.extend({queue:function(e,t,n){var r;if(e)return t=(t||"fx")+"queue",r=J.get(e,t),n&&(!r||Array.isArray(n)?r=J.access(e,t,C.makeArray(n)):r.push(n)),r||[]},dequeue:function(e,t){t=t||"fx";var n=C.queue(e,t),r=n.length,i=n.shift(),o=C._queueHooks(e,t);"inprogress"===i&&(i=n.shift(),r--),i&&("fx"===t&&n.unshift("inprogress"),delete o.stop,i.call(e,function(){C.dequeue(e,t)},o)),!r&&o&&o.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return J.get(e,n)||J.access(e,n,{empty:C.Callbacks("once memory").add(function(){J.remove(e,[t+"queue",n])})})}}),C.fn.extend({queue:function(e,t){var n=2;return"string"!=typeof e&&(t=e,e="fx",n--),arguments.length<n?C.queue(this[0],e):void 0===t?this:this.each(function(){var n=C.queue(this,e,t);C._queueHooks(this,e),"fx"===e&&"inprogress"!==n[0]&&C.dequeue(this,e)})},dequeue:function(e){return this.each(function(){C.dequeue(this,e)})},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){var n,r=1,i=C.Deferred(),o=this,a=this.length,s=function(){--r||i.resolveWith(o,[o])};for("string"!=typeof e&&(t=e,e=void 0),e=e||"fx";a--;)(n=J.get(o[a],e+"queueHooks"))&&n.empty&&(r++,n.empty.add(s));return s(),i.promise(t)}});var re=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,ie=new RegExp("^(?:([+-])=|)("+re+")([a-z%]*)$","i"),oe=["Top","Right","Bottom","Left"],ae=function(e,t){return"none"===(e=t||e).style.display||""===e.style.display&&C.contains(e.ownerDocument,e)&&"none"===C.css(e,"display")},se=function(e,t,n,r){var i,o,a={};for(o in t)a[o]=e.style[o],e.style[o]=t[o];for(o in i=n.apply(e,r||[]),t)e.style[o]=a[o];return i};function ue(e,t,n,r){var i,o,a=20,s=r?function(){return r.cur()}:function(){return C.css(e,t,"")},u=s(),c=n&&n[3]||(C.cssNumber[t]?"":"px"),l=(C.cssNumber[t]||"px"!==c&&+u)&&ie.exec(C.css(e,t));if(l&&l[3]!==c){for(u/=2,c=c||l[3],l=+u||1;a--;)C.style(e,t,l+c),(1-o)*(1-(o=s()/u||.5))<=0&&(a=0),l/=o;l*=2,C.style(e,t,l+c),n=n||[]}return n&&(l=+l||+u||0,i=n[1]?l+(n[1]+1)*n[2]:+n[2],r&&(r.unit=c,r.start=l,r.end=i)),i}var ce={};function le(e){var t,n=e.ownerDocument,r=e.nodeName,i=ce[r];return i||(t=n.body.appendChild(n.createElement(r)),i=C.css(t,"display"),t.parentNode.removeChild(t),"none"===i&&(i="block"),ce[r]=i,i)}function fe(e,t){for(var n,r,i=[],o=0,a=e.length;o<a;o++)(r=e[o]).style&&(n=r.style.display,t?("none"===n&&(i[o]=J.get(r,"display")||null,i[o]||(r.style.display="")),""===r.style.display&&ae(r)&&(i[o]=le(r))):"none"!==n&&(i[o]="none",J.set(r,"display",n)));for(o=0;o<a;o++)null!=i[o]&&(e[o].style.display=i[o]);return e}C.fn.extend({show:function(){return fe(this,!0)},hide:function(){return fe(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each(function(){ae(this)?C(this).show():C(this).hide()})}});var he=/^(?:checkbox|radio)$/i,de=/<([a-z][^\/\0>\x20\t\r\n\f]+)/i,pe=/^$|^module$|\/(?:java|ecma)script/i,ve={option:[1,"<select multiple='multiple'>","</select>"],thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};function me(e,t){var n;return n=void 0!==e.getElementsByTagName?e.getElementsByTagName(t||"*"):void 0!==e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&j(e,t)?C.merge([e],n):n}function ge(e,t){for(var n=0,r=e.length;n<r;n++)J.set(e[n],"globalEval",!t||J.get(t[n],"globalEval"))}ve.optgroup=ve.option,ve.tbody=ve.tfoot=ve.colgroup=ve.caption=ve.thead,ve.th=ve.td;var ye,be,we=/<|&#?\w+;/;function Ee(e,t,n,r,i){for(var o,a,s,u,c,l,f=t.createDocumentFragment(),h=[],d=0,p=e.length;d<p;d++)if((o=e[d])||0===o)if("object"===_(o))C.merge(h,o.nodeType?[o]:o);else if(we.test(o)){for(a=a||f.appendChild(t.createElement("div")),s=(de.exec(o)||["",""])[1].toLowerCase(),u=ve[s]||ve._default,a.innerHTML=u[1]+C.htmlPrefilter(o)+u[2],l=u[0];l--;)a=a.lastChild;C.merge(h,a.childNodes),(a=f.firstChild).textContent=""}else h.push(t.createTextNode(o));for(f.textContent="",d=0;o=h[d++];)if(r&&C.inArray(o,r)>-1)i&&i.push(o);else if(c=C.contains(o.ownerDocument,o),a=me(f.appendChild(o),"script"),c&&ge(a),n)for(l=0;o=a[l++];)pe.test(o.type||"")&&n.push(o);return f}ye=a.createDocumentFragment().appendChild(a.createElement("div")),(be=a.createElement("input")).setAttribute("type","radio"),be.setAttribute("checked","checked"),be.setAttribute("name","t"),ye.appendChild(be),g.checkClone=ye.cloneNode(!0).cloneNode(!0).lastChild.checked,ye.innerHTML="<textarea>x</textarea>",g.noCloneChecked=!!ye.cloneNode(!0).lastChild.defaultValue;var _e=a.documentElement,Ce=/^key/,Te=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,xe=/^([^.]*)(?:\.(.+)|)/;function ke(){return!0}function Se(){return!1}function Ae(){try{return a.activeElement}catch(e){}}function Oe(e,t,n,r,i,o){var a,s;if("object"==typeof t){for(s in"string"!=typeof n&&(r=r||n,n=void 0),t)Oe(e,s,n,r,t[s],o);return e}if(null==r&&null==i?(i=n,r=n=void 0):null==i&&("string"==typeof n?(i=r,r=void 0):(i=r,r=n,n=void 0)),!1===i)i=Se;else if(!i)return e;return 1===o&&(a=i,(i=function(e){return C().off(e),a.apply(this,arguments)}).guid=a.guid||(a.guid=C.guid++)),e.each(function(){C.event.add(this,t,i,r,n)})}C.event={global:{},add:function(e,t,n,r,i){var o,a,s,u,c,l,f,h,d,p,v,m=J.get(e);if(m)for(n.handler&&(n=(o=n).handler,i=o.selector),i&&C.find.matchesSelector(_e,i),n.guid||(n.guid=C.guid++),(u=m.events)||(u=m.events={}),(a=m.handle)||(a=m.handle=function(t){return void 0!==C&&C.event.triggered!==t.type?C.event.dispatch.apply(e,arguments):void 0}),c=(t=(t||"").match(R)||[""]).length;c--;)d=v=(s=xe.exec(t[c])||[])[1],p=(s[2]||"").split(".").sort(),d&&(f=C.event.special[d]||{},d=(i?f.delegateType:f.bindType)||d,f=C.event.special[d]||{},l=C.extend({type:d,origType:v,data:r,handler:n,guid:n.guid,selector:i,needsContext:i&&C.expr.match.needsContext.test(i),namespace:p.join(".")},o),(h=u[d])||((h=u[d]=[]).delegateCount=0,f.setup&&!1!==f.setup.call(e,r,p,a)||e.addEventListener&&e.addEventListener(d,a)),f.add&&(f.add.call(e,l),l.handler.guid||(l.handler.guid=n.guid)),i?h.splice(h.delegateCount++,0,l):h.push(l),C.event.global[d]=!0)},remove:function(e,t,n,r,i){var o,a,s,u,c,l,f,h,d,p,v,m=J.hasData(e)&&J.get(e);if(m&&(u=m.events)){for(c=(t=(t||"").match(R)||[""]).length;c--;)if(d=v=(s=xe.exec(t[c])||[])[1],p=(s[2]||"").split(".").sort(),d){for(f=C.event.special[d]||{},h=u[d=(r?f.delegateType:f.bindType)||d]||[],s=s[2]&&new RegExp("(^|\\.)"+p.join("\\.(?:.*\\.|)")+"(\\.|$)"),a=o=h.length;o--;)l=h[o],!i&&v!==l.origType||n&&n.guid!==l.guid||s&&!s.test(l.namespace)||r&&r!==l.selector&&("**"!==r||!l.selector)||(h.splice(o,1),l.selector&&h.delegateCount--,f.remove&&f.remove.call(e,l));a&&!h.length&&(f.teardown&&!1!==f.teardown.call(e,p,m.handle)||C.removeEvent(e,d,m.handle),delete u[d])}else for(d in u)C.event.remove(e,d+t[c],n,r,!0);C.isEmptyObject(u)&&J.remove(e,"handle events")}},dispatch:function(e){var t,n,r,i,o,a,s=C.event.fix(e),u=new Array(arguments.length),c=(J.get(this,"events")||{})[s.type]||[],l=C.event.special[s.type]||{};for(u[0]=s,t=1;t<arguments.length;t++)u[t]=arguments[t];if(s.delegateTarget=this,!l.preDispatch||!1!==l.preDispatch.call(this,s)){for(a=C.event.handlers.call(this,s,c),t=0;(i=a[t++])&&!s.isPropagationStopped();)for(s.currentTarget=i.elem,n=0;(o=i.handlers[n++])&&!s.isImmediatePropagationStopped();)s.rnamespace&&!s.rnamespace.test(o.namespace)||(s.handleObj=o,s.data=o.data,void 0!==(r=((C.event.special[o.origType]||{}).handle||o.handler).apply(i.elem,u))&&!1===(s.result=r)&&(s.preventDefault(),s.stopPropagation()));return l.postDispatch&&l.postDispatch.call(this,s),s.result}},handlers:function(e,t){var n,r,i,o,a,s=[],u=t.delegateCount,c=e.target;if(u&&c.nodeType&&!("click"===e.type&&e.button>=1))for(;c!==this;c=c.parentNode||this)if(1===c.nodeType&&("click"!==e.type||!0!==c.disabled)){for(o=[],a={},n=0;n<u;n++)void 0===a[i=(r=t[n]).selector+" "]&&(a[i]=r.needsContext?C(i,this).index(c)>-1:C.find(i,this,null,[c]).length),a[i]&&o.push(r);o.length&&s.push({elem:c,handlers:o})}return c=this,u<t.length&&s.push({elem:c,handlers:t.slice(u)}),s},addProp:function(e,t){Object.defineProperty(C.Event.prototype,e,{enumerable:!0,configurable:!0,get:y(t)?function(){if(this.originalEvent)return t(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[e]},set:function(t){Object.defineProperty(this,e,{enumerable:!0,configurable:!0,writable:!0,value:t})}})},fix:function(e){return e[C.expando]?e:new C.Event(e)},special:{load:{noBubble:!0},focus:{trigger:function(){if(this!==Ae()&&this.focus)return this.focus(),!1},delegateType:"focusin"},blur:{trigger:function(){if(this===Ae()&&this.blur)return this.blur(),!1},delegateType:"focusout"},click:{trigger:function(){if("checkbox"===this.type&&this.click&&j(this,"input"))return this.click(),!1},_default:function(e){return j(e.target,"a")}},beforeunload:{postDispatch:function(e){void 0!==e.result&&e.originalEvent&&(e.originalEvent.returnValue=e.result)}}}},C.removeEvent=function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n)},C.Event=function(e,t){if(!(this instanceof C.Event))return new C.Event(e,t);e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||void 0===e.defaultPrevented&&!1===e.returnValue?ke:Se,this.target=e.target&&3===e.target.nodeType?e.target.parentNode:e.target,this.currentTarget=e.currentTarget,this.relatedTarget=e.relatedTarget):this.type=e,t&&C.extend(this,t),this.timeStamp=e&&e.timeStamp||Date.now(),this[C.expando]=!0},C.Event.prototype={constructor:C.Event,isDefaultPrevented:Se,isPropagationStopped:Se,isImmediatePropagationStopped:Se,isSimulated:!1,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=ke,e&&!this.isSimulated&&e.preventDefault()},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=ke,e&&!this.isSimulated&&e.stopPropagation()},stopImmediatePropagation:function(){var e=this.originalEvent;this.isImmediatePropagationStopped=ke,e&&!this.isSimulated&&e.stopImmediatePropagation(),this.stopPropagation()}},C.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,char:!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:function(e){var t=e.button;return null==e.which&&Ce.test(e.type)?null!=e.charCode?e.charCode:e.keyCode:!e.which&&void 0!==t&&Te.test(e.type)?1&t?1:2&t?3:4&t?2:0:e.which}},C.event.addProp),C.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(e,t){C.event.special[e]={delegateType:t,bindType:t,handle:function(e){var n,r=e.relatedTarget,i=e.handleObj;return r&&(r===this||C.contains(this,r))||(e.type=i.origType,n=i.handler.apply(this,arguments),e.type=t),n}}}),C.fn.extend({on:function(e,t,n,r){return Oe(this,e,t,n,r)},one:function(e,t,n,r){return Oe(this,e,t,n,r,1)},off:function(e,t,n){var r,i;if(e&&e.preventDefault&&e.handleObj)return r=e.handleObj,C(e.delegateTarget).off(r.namespace?r.origType+"."+r.namespace:r.origType,r.selector,r.handler),this;if("object"==typeof e){for(i in e)this.off(i,t,e[i]);return this}return!1!==t&&"function"!=typeof t||(n=t,t=void 0),!1===n&&(n=Se),this.each(function(){C.event.remove(this,e,n,t)})}});var je=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([a-z][^\/\0>\x20\t\r\n\f]*)[^>]*)\/>/gi,Ie=/<script|<style|<link/i,De=/checked\s*(?:[^=]|=\s*.checked.)/i,Le=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g;function Pe(e,t){return j(e,"table")&&j(11!==t.nodeType?t:t.firstChild,"tr")&&C(e).children("tbody")[0]||e}function Ne(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function Me(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function Fe(e,t){var n,r,i,o,a,s,u,c;if(1===t.nodeType){if(J.hasData(e)&&(o=J.access(e),a=J.set(t,o),c=o.events))for(i in delete a.handle,a.events={},c)for(n=0,r=c[i].length;n<r;n++)C.event.add(t,i,c[i][n]);Z.hasData(e)&&(s=Z.access(e),u=C.extend({},s),Z.set(t,u))}}function Re(e,t,n,r){t=c.apply([],t);var i,o,a,s,u,l,f=0,h=e.length,d=h-1,p=t[0],v=y(p);if(v||h>1&&"string"==typeof p&&!g.checkClone&&De.test(p))return e.each(function(i){var o=e.eq(i);v&&(t[0]=p.call(this,i,o.html())),Re(o,t,n,r)});if(h&&(o=(i=Ee(t,e[0].ownerDocument,!1,e,r)).firstChild,1===i.childNodes.length&&(i=o),o||r)){for(s=(a=C.map(me(i,"script"),Ne)).length;f<h;f++)u=i,f!==d&&(u=C.clone(u,!0,!0),s&&C.merge(a,me(u,"script"))),n.call(e[f],u,f);if(s)for(l=a[a.length-1].ownerDocument,C.map(a,Me),f=0;f<s;f++)u=a[f],pe.test(u.type||"")&&!J.access(u,"globalEval")&&C.contains(l,u)&&(u.src&&"module"!==(u.type||"").toLowerCase()?C._evalUrl&&C._evalUrl(u.src):E(u.textContent.replace(Le,""),l,u))}return e}function He(e,t,n){for(var r,i=t?C.filter(t,e):e,o=0;null!=(r=i[o]);o++)n||1!==r.nodeType||C.cleanData(me(r)),r.parentNode&&(n&&C.contains(r.ownerDocument,r)&&ge(me(r,"script")),r.parentNode.removeChild(r));return e}C.extend({htmlPrefilter:function(e){return e.replace(je,"<$1></$2>")},clone:function(e,t,n){var r,i,o,a,s,u,c,l=e.cloneNode(!0),f=C.contains(e.ownerDocument,e);if(!(g.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||C.isXMLDoc(e)))for(a=me(l),r=0,i=(o=me(e)).length;r<i;r++)s=o[r],u=a[r],void 0,"input"===(c=u.nodeName.toLowerCase())&&he.test(s.type)?u.checked=s.checked:"input"!==c&&"textarea"!==c||(u.defaultValue=s.defaultValue);if(t)if(n)for(o=o||me(e),a=a||me(l),r=0,i=o.length;r<i;r++)Fe(o[r],a[r]);else Fe(e,l);return(a=me(l,"script")).length>0&&ge(a,!f&&me(e,"script")),l},cleanData:function(e){for(var t,n,r,i=C.event.special,o=0;void 0!==(n=e[o]);o++)if(Y(n)){if(t=n[J.expando]){if(t.events)for(r in t.events)i[r]?C.event.remove(n,r):C.removeEvent(n,r,t.handle);n[J.expando]=void 0}n[Z.expando]&&(n[Z.expando]=void 0)}}}),C.fn.extend({detach:function(e){return He(this,e,!0)},remove:function(e){return He(this,e)},text:function(e){return V(this,function(e){return void 0===e?C.text(this):this.empty().each(function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=e)})},null,e,arguments.length)},append:function(){return Re(this,arguments,function(e){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||Pe(this,e).appendChild(e)})},prepend:function(){return Re(this,arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=Pe(this,e);t.insertBefore(e,t.firstChild)}})},before:function(){return Re(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return Re(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)})},empty:function(){for(var e,t=0;null!=(e=this[t]);t++)1===e.nodeType&&(C.cleanData(me(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map(function(){return C.clone(this,e,t)})},html:function(e){return V(this,function(e){var t=this[0]||{},n=0,r=this.length;if(void 0===e&&1===t.nodeType)return t.innerHTML;if("string"==typeof e&&!Ie.test(e)&&!ve[(de.exec(e)||["",""])[1].toLowerCase()]){e=C.htmlPrefilter(e);try{for(;n<r;n++)1===(t=this[n]||{}).nodeType&&(C.cleanData(me(t,!1)),t.innerHTML=e);t=0}catch(e){}}t&&this.empty().append(e)},null,e,arguments.length)},replaceWith:function(){var e=[];return Re(this,arguments,function(t){var n=this.parentNode;C.inArray(this,e)<0&&(C.cleanData(me(this)),n&&n.replaceChild(t,this))},e)}}),C.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,t){C.fn[e]=function(e){for(var n,r=[],i=C(e),o=i.length-1,a=0;a<=o;a++)n=a===o?this:this.clone(!0),C(i[a])[t](n),l.apply(r,n.get());return this.pushStack(r)}});var $e=new RegExp("^("+re+")(?!px)[a-z%]+$","i"),qe=function(e){var t=e.ownerDocument.defaultView;return t&&t.opener||(t=n),t.getComputedStyle(e)},Be=new RegExp(oe.join("|"),"i");function Ue(e,t,n){var r,i,o,a,s=e.style;return(n=n||qe(e))&&(""!==(a=n.getPropertyValue(t)||n[t])||C.contains(e.ownerDocument,e)||(a=C.style(e,t)),!g.pixelBoxStyles()&&$e.test(a)&&Be.test(t)&&(r=s.width,i=s.minWidth,o=s.maxWidth,s.minWidth=s.maxWidth=s.width=a,a=n.width,s.width=r,s.minWidth=i,s.maxWidth=o)),void 0!==a?a+"":a}function We(e,t){return{get:function(){if(!e())return(this.get=t).apply(this,arguments);delete this.get}}}!function(){function e(){if(l){c.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0",l.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",_e.appendChild(c).appendChild(l);var e=n.getComputedStyle(l);r="1%"!==e.top,u=12===t(e.marginLeft),l.style.right="60%",s=36===t(e.right),i=36===t(e.width),l.style.position="absolute",o=36===l.offsetWidth||"absolute",_e.removeChild(c),l=null}}function t(e){return Math.round(parseFloat(e))}var r,i,o,s,u,c=a.createElement("div"),l=a.createElement("div");l.style&&(l.style.backgroundClip="content-box",l.cloneNode(!0).style.backgroundClip="",g.clearCloneStyle="content-box"===l.style.backgroundClip,C.extend(g,{boxSizingReliable:function(){return e(),i},pixelBoxStyles:function(){return e(),s},pixelPosition:function(){return e(),r},reliableMarginLeft:function(){return e(),u},scrollboxSize:function(){return e(),o}}))}();var Ve=/^(none|table(?!-c[ea]).+)/,Ke=/^--/,Ge={position:"absolute",visibility:"hidden",display:"block"},ze={letterSpacing:"0",fontWeight:"400"},Qe=["Webkit","Moz","ms"],Ye=a.createElement("div").style;function Xe(e){var t=C.cssProps[e];return t||(t=C.cssProps[e]=function(e){if(e in Ye)return e;for(var t=e[0].toUpperCase()+e.slice(1),n=Qe.length;n--;)if((e=Qe[n]+t)in Ye)return e}(e)||e),t}function Je(e,t,n){var r=ie.exec(t);return r?Math.max(0,r[2]-(n||0))+(r[3]||"px"):t}function Ze(e,t,n,r,i,o){var a="width"===t?1:0,s=0,u=0;if(n===(r?"border":"content"))return 0;for(;a<4;a+=2)"margin"===n&&(u+=C.css(e,n+oe[a],!0,i)),r?("content"===n&&(u-=C.css(e,"padding"+oe[a],!0,i)),"margin"!==n&&(u-=C.css(e,"border"+oe[a]+"Width",!0,i))):(u+=C.css(e,"padding"+oe[a],!0,i),"padding"!==n?u+=C.css(e,"border"+oe[a]+"Width",!0,i):s+=C.css(e,"border"+oe[a]+"Width",!0,i));return!r&&o>=0&&(u+=Math.max(0,Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-o-u-s-.5))),u}function et(e,t,n){var r=qe(e),i=Ue(e,t,r),o="border-box"===C.css(e,"boxSizing",!1,r),a=o;if($e.test(i)){if(!n)return i;i="auto"}return a=a&&(g.boxSizingReliable()||i===e.style[t]),("auto"===i||!parseFloat(i)&&"inline"===C.css(e,"display",!1,r))&&(i=e["offset"+t[0].toUpperCase()+t.slice(1)],a=!0),(i=parseFloat(i)||0)+Ze(e,t,n||(o?"border":"content"),a,r,i)+"px"}function tt(e,t,n,r,i){return new tt.prototype.init(e,t,n,r,i)}C.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=Ue(e,"opacity");return""===n?"1":n}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{},style:function(e,t,n,r){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var i,o,a,s=Q(t),u=Ke.test(t),c=e.style;if(u||(t=Xe(s)),a=C.cssHooks[t]||C.cssHooks[s],void 0===n)return a&&"get"in a&&void 0!==(i=a.get(e,!1,r))?i:c[t];"string"===(o=typeof n)&&(i=ie.exec(n))&&i[1]&&(n=ue(e,t,i),o="number"),null!=n&&n==n&&("number"===o&&(n+=i&&i[3]||(C.cssNumber[s]?"":"px")),g.clearCloneStyle||""!==n||0!==t.indexOf("background")||(c[t]="inherit"),a&&"set"in a&&void 0===(n=a.set(e,n,r))||(u?c.setProperty(t,n):c[t]=n))}},css:function(e,t,n,r){var i,o,a,s=Q(t);return Ke.test(t)||(t=Xe(s)),(a=C.cssHooks[t]||C.cssHooks[s])&&"get"in a&&(i=a.get(e,!0,n)),void 0===i&&(i=Ue(e,t,r)),"normal"===i&&t in ze&&(i=ze[t]),""===n||n?(o=parseFloat(i),!0===n||isFinite(o)?o||0:i):i}}),C.each(["height","width"],function(e,t){C.cssHooks[t]={get:function(e,n,r){if(n)return!Ve.test(C.css(e,"display"))||e.getClientRects().length&&e.getBoundingClientRect().width?et(e,t,r):se(e,Ge,function(){return et(e,t,r)})},set:function(e,n,r){var i,o=qe(e),a="border-box"===C.css(e,"boxSizing",!1,o),s=r&&Ze(e,t,r,a,o);return a&&g.scrollboxSize()===o.position&&(s-=Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-parseFloat(o[t])-Ze(e,t,"border",!1,o)-.5)),s&&(i=ie.exec(n))&&"px"!==(i[3]||"px")&&(e.style[t]=n,n=C.css(e,t)),Je(0,n,s)}}}),C.cssHooks.marginLeft=We(g.reliableMarginLeft,function(e,t){if(t)return(parseFloat(Ue(e,"marginLeft"))||e.getBoundingClientRect().left-se(e,{marginLeft:0},function(){return e.getBoundingClientRect().left}))+"px"}),C.each({margin:"",padding:"",border:"Width"},function(e,t){C.cssHooks[e+t]={expand:function(n){for(var r=0,i={},o="string"==typeof n?n.split(" "):[n];r<4;r++)i[e+oe[r]+t]=o[r]||o[r-2]||o[0];return i}},"margin"!==e&&(C.cssHooks[e+t].set=Je)}),C.fn.extend({css:function(e,t){return V(this,function(e,t,n){var r,i,o={},a=0;if(Array.isArray(t)){for(r=qe(e),i=t.length;a<i;a++)o[t[a]]=C.css(e,t[a],!1,r);return o}return void 0!==n?C.style(e,t,n):C.css(e,t)},e,t,arguments.length>1)}}),C.Tween=tt,tt.prototype={constructor:tt,init:function(e,t,n,r,i,o){this.elem=e,this.prop=n,this.easing=i||C.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=r,this.unit=o||(C.cssNumber[n]?"":"px")},cur:function(){var e=tt.propHooks[this.prop];return e&&e.get?e.get(this):tt.propHooks._default.get(this)},run:function(e){var t,n=tt.propHooks[this.prop];return this.options.duration?this.pos=t=C.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):this.pos=t=e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):tt.propHooks._default.set(this),this}},tt.prototype.init.prototype=tt.prototype,tt.propHooks={_default:{get:function(e){var t;return 1!==e.elem.nodeType||null!=e.elem[e.prop]&&null==e.elem.style[e.prop]?e.elem[e.prop]:(t=C.css(e.elem,e.prop,""))&&"auto"!==t?t:0},set:function(e){C.fx.step[e.prop]?C.fx.step[e.prop](e):1!==e.elem.nodeType||null==e.elem.style[C.cssProps[e.prop]]&&!C.cssHooks[e.prop]?e.elem[e.prop]=e.now:C.style(e.elem,e.prop,e.now+e.unit)}}},tt.propHooks.scrollTop=tt.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},C.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},C.fx=tt.prototype.init,C.fx.step={};var nt,rt,it=/^(?:toggle|show|hide)$/,ot=/queueHooks$/;function at(){rt&&(!1===a.hidden&&n.requestAnimationFrame?n.requestAnimationFrame(at):n.setTimeout(at,C.fx.interval),C.fx.tick())}function st(){return n.setTimeout(function(){nt=void 0}),nt=Date.now()}function ut(e,t){var n,r=0,i={height:e};for(t=t?1:0;r<4;r+=2-t)i["margin"+(n=oe[r])]=i["padding"+n]=e;return t&&(i.opacity=i.width=e),i}function ct(e,t,n){for(var r,i=(lt.tweeners[t]||[]).concat(lt.tweeners["*"]),o=0,a=i.length;o<a;o++)if(r=i[o].call(n,t,e))return r}function lt(e,t,n){var r,i,o=0,a=lt.prefilters.length,s=C.Deferred().always(function(){delete u.elem}),u=function(){if(i)return!1;for(var t=nt||st(),n=Math.max(0,c.startTime+c.duration-t),r=1-(n/c.duration||0),o=0,a=c.tweens.length;o<a;o++)c.tweens[o].run(r);return s.notifyWith(e,[c,r,n]),r<1&&a?n:(a||s.notifyWith(e,[c,1,0]),s.resolveWith(e,[c]),!1)},c=s.promise({elem:e,props:C.extend({},t),opts:C.extend(!0,{specialEasing:{},easing:C.easing._default},n),originalProperties:t,originalOptions:n,startTime:nt||st(),duration:n.duration,tweens:[],createTween:function(t,n){var r=C.Tween(e,c.opts,t,n,c.opts.specialEasing[t]||c.opts.easing);return c.tweens.push(r),r},stop:function(t){var n=0,r=t?c.tweens.length:0;if(i)return this;for(i=!0;n<r;n++)c.tweens[n].run(1);return t?(s.notifyWith(e,[c,1,0]),s.resolveWith(e,[c,t])):s.rejectWith(e,[c,t]),this}}),l=c.props;for(!function(e,t){var n,r,i,o,a;for(n in e)if(i=t[r=Q(n)],o=e[n],Array.isArray(o)&&(i=o[1],o=e[n]=o[0]),n!==r&&(e[r]=o,delete e[n]),(a=C.cssHooks[r])&&"expand"in a)for(n in o=a.expand(o),delete e[r],o)n in e||(e[n]=o[n],t[n]=i);else t[r]=i}(l,c.opts.specialEasing);o<a;o++)if(r=lt.prefilters[o].call(c,e,l,c.opts))return y(r.stop)&&(C._queueHooks(c.elem,c.opts.queue).stop=r.stop.bind(r)),r;return C.map(l,ct,c),y(c.opts.start)&&c.opts.start.call(e,c),c.progress(c.opts.progress).done(c.opts.done,c.opts.complete).fail(c.opts.fail).always(c.opts.always),C.fx.timer(C.extend(u,{elem:e,anim:c,queue:c.opts.queue})),c}C.Animation=C.extend(lt,{tweeners:{"*":[function(e,t){var n=this.createTween(e,t);return ue(n.elem,e,ie.exec(t),n),n}]},tweener:function(e,t){y(e)?(t=e,e=["*"]):e=e.match(R);for(var n,r=0,i=e.length;r<i;r++)n=e[r],lt.tweeners[n]=lt.tweeners[n]||[],lt.tweeners[n].unshift(t)},prefilters:[function(e,t,n){var r,i,o,a,s,u,c,l,f="width"in t||"height"in t,h=this,d={},p=e.style,v=e.nodeType&&ae(e),m=J.get(e,"fxshow");for(r in n.queue||(null==(a=C._queueHooks(e,"fx")).unqueued&&(a.unqueued=0,s=a.empty.fire,a.empty.fire=function(){a.unqueued||s()}),a.unqueued++,h.always(function(){h.always(function(){a.unqueued--,C.queue(e,"fx").length||a.empty.fire()})})),t)if(i=t[r],it.test(i)){if(delete t[r],o=o||"toggle"===i,i===(v?"hide":"show")){if("show"!==i||!m||void 0===m[r])continue;v=!0}d[r]=m&&m[r]||C.style(e,r)}if((u=!C.isEmptyObject(t))||!C.isEmptyObject(d))for(r in f&&1===e.nodeType&&(n.overflow=[p.overflow,p.overflowX,p.overflowY],null==(c=m&&m.display)&&(c=J.get(e,"display")),"none"===(l=C.css(e,"display"))&&(c?l=c:(fe([e],!0),c=e.style.display||c,l=C.css(e,"display"),fe([e]))),("inline"===l||"inline-block"===l&&null!=c)&&"none"===C.css(e,"float")&&(u||(h.done(function(){p.display=c}),null==c&&(l=p.display,c="none"===l?"":l)),p.display="inline-block")),n.overflow&&(p.overflow="hidden",h.always(function(){p.overflow=n.overflow[0],p.overflowX=n.overflow[1],p.overflowY=n.overflow[2]})),u=!1,d)u||(m?"hidden"in m&&(v=m.hidden):m=J.access(e,"fxshow",{display:c}),o&&(m.hidden=!v),v&&fe([e],!0),h.done(function(){for(r in v||fe([e]),J.remove(e,"fxshow"),d)C.style(e,r,d[r])})),u=ct(v?m[r]:0,r,h),r in m||(m[r]=u.start,v&&(u.end=u.start,u.start=0))}],prefilter:function(e,t){t?lt.prefilters.unshift(e):lt.prefilters.push(e)}}),C.speed=function(e,t,n){var r=e&&"object"==typeof e?C.extend({},e):{complete:n||!n&&t||y(e)&&e,duration:e,easing:n&&t||t&&!y(t)&&t};return C.fx.off?r.duration=0:"number"!=typeof r.duration&&(r.duration in C.fx.speeds?r.duration=C.fx.speeds[r.duration]:r.duration=C.fx.speeds._default),null!=r.queue&&!0!==r.queue||(r.queue="fx"),r.old=r.complete,r.complete=function(){y(r.old)&&r.old.call(this),r.queue&&C.dequeue(this,r.queue)},r},C.fn.extend({fadeTo:function(e,t,n,r){return this.filter(ae).css("opacity",0).show().end().animate({opacity:t},e,n,r)},animate:function(e,t,n,r){var i=C.isEmptyObject(e),o=C.speed(t,n,r),a=function(){var t=lt(this,C.extend({},e),o);(i||J.get(this,"finish"))&&t.stop(!0)};return a.finish=a,i||!1===o.queue?this.each(a):this.queue(o.queue,a)},stop:function(e,t,n){var r=function(e){var t=e.stop;delete e.stop,t(n)};return"string"!=typeof e&&(n=t,t=e,e=void 0),t&&!1!==e&&this.queue(e||"fx",[]),this.each(function(){var t=!0,i=null!=e&&e+"queueHooks",o=C.timers,a=J.get(this);if(i)a[i]&&a[i].stop&&r(a[i]);else for(i in a)a[i]&&a[i].stop&&ot.test(i)&&r(a[i]);for(i=o.length;i--;)o[i].elem!==this||null!=e&&o[i].queue!==e||(o[i].anim.stop(n),t=!1,o.splice(i,1));!t&&n||C.dequeue(this,e)})},finish:function(e){return!1!==e&&(e=e||"fx"),this.each(function(){var t,n=J.get(this),r=n[e+"queue"],i=n[e+"queueHooks"],o=C.timers,a=r?r.length:0;for(n.finish=!0,C.queue(this,e,[]),i&&i.stop&&i.stop.call(this,!0),t=o.length;t--;)o[t].elem===this&&o[t].queue===e&&(o[t].anim.stop(!0),o.splice(t,1));for(t=0;t<a;t++)r[t]&&r[t].finish&&r[t].finish.call(this);delete n.finish})}}),C.each(["toggle","show","hide"],function(e,t){var n=C.fn[t];C.fn[t]=function(e,r,i){return null==e||"boolean"==typeof e?n.apply(this,arguments):this.animate(ut(t,!0),e,r,i)}}),C.each({slideDown:ut("show"),slideUp:ut("hide"),slideToggle:ut("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(e,t){C.fn[e]=function(e,n,r){return this.animate(t,e,n,r)}}),C.timers=[],C.fx.tick=function(){var e,t=0,n=C.timers;for(nt=Date.now();t<n.length;t++)(e=n[t])()||n[t]!==e||n.splice(t--,1);n.length||C.fx.stop(),nt=void 0},C.fx.timer=function(e){C.timers.push(e),C.fx.start()},C.fx.interval=13,C.fx.start=function(){rt||(rt=!0,at())},C.fx.stop=function(){rt=null},C.fx.speeds={slow:600,fast:200,_default:400},C.fn.delay=function(e,t){return e=C.fx&&C.fx.speeds[e]||e,t=t||"fx",this.queue(t,function(t,r){var i=n.setTimeout(t,e);r.stop=function(){n.clearTimeout(i)}})},function(){var e=a.createElement("input"),t=a.createElement("select").appendChild(a.createElement("option"));e.type="checkbox",g.checkOn=""!==e.value,g.optSelected=t.selected,(e=a.createElement("input")).value="t",e.type="radio",g.radioValue="t"===e.value}();var ft,ht=C.expr.attrHandle;C.fn.extend({attr:function(e,t){return V(this,C.attr,e,t,arguments.length>1)},removeAttr:function(e){return this.each(function(){C.removeAttr(this,e)})}}),C.extend({attr:function(e,t,n){var r,i,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return void 0===e.getAttribute?C.prop(e,t,n):(1===o&&C.isXMLDoc(e)||(i=C.attrHooks[t.toLowerCase()]||(C.expr.match.bool.test(t)?ft:void 0)),void 0!==n?null===n?void C.removeAttr(e,t):i&&"set"in i&&void 0!==(r=i.set(e,n,t))?r:(e.setAttribute(t,n+""),n):i&&"get"in i&&null!==(r=i.get(e,t))?r:null==(r=C.find.attr(e,t))?void 0:r)},attrHooks:{type:{set:function(e,t){if(!g.radioValue&&"radio"===t&&j(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}},removeAttr:function(e,t){var n,r=0,i=t&&t.match(R);if(i&&1===e.nodeType)for(;n=i[r++];)e.removeAttribute(n)}}),ft={set:function(e,t,n){return!1===t?C.removeAttr(e,n):e.setAttribute(n,n),n}},C.each(C.expr.match.bool.source.match(/\w+/g),function(e,t){var n=ht[t]||C.find.attr;ht[t]=function(e,t,r){var i,o,a=t.toLowerCase();return r||(o=ht[a],ht[a]=i,i=null!=n(e,t,r)?a:null,ht[a]=o),i}});var dt=/^(?:input|select|textarea|button)$/i,pt=/^(?:a|area)$/i;function vt(e){return(e.match(R)||[]).join(" ")}function mt(e){return e.getAttribute&&e.getAttribute("class")||""}function gt(e){return Array.isArray(e)?e:"string"==typeof e&&e.match(R)||[]}C.fn.extend({prop:function(e,t){return V(this,C.prop,e,t,arguments.length>1)},removeProp:function(e){return this.each(function(){delete this[C.propFix[e]||e]})}}),C.extend({prop:function(e,t,n){var r,i,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return 1===o&&C.isXMLDoc(e)||(t=C.propFix[t]||t,i=C.propHooks[t]),void 0!==n?i&&"set"in i&&void 0!==(r=i.set(e,n,t))?r:e[t]=n:i&&"get"in i&&null!==(r=i.get(e,t))?r:e[t]},propHooks:{tabIndex:{get:function(e){var t=C.find.attr(e,"tabindex");return t?parseInt(t,10):dt.test(e.nodeName)||pt.test(e.nodeName)&&e.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),g.optSelected||(C.propHooks.selected={get:function(e){var t=e.parentNode;return t&&t.parentNode&&t.parentNode.selectedIndex,null},set:function(e){var t=e.parentNode;t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex)}}),C.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){C.propFix[this.toLowerCase()]=this}),C.fn.extend({addClass:function(e){var t,n,r,i,o,a,s,u=0;if(y(e))return this.each(function(t){C(this).addClass(e.call(this,t,mt(this)))});if((t=gt(e)).length)for(;n=this[u++];)if(i=mt(n),r=1===n.nodeType&&" "+vt(i)+" "){for(a=0;o=t[a++];)r.indexOf(" "+o+" ")<0&&(r+=o+" ");i!==(s=vt(r))&&n.setAttribute("class",s)}return this},removeClass:function(e){var t,n,r,i,o,a,s,u=0;if(y(e))return this.each(function(t){C(this).removeClass(e.call(this,t,mt(this)))});if(!arguments.length)return this.attr("class","");if((t=gt(e)).length)for(;n=this[u++];)if(i=mt(n),r=1===n.nodeType&&" "+vt(i)+" "){for(a=0;o=t[a++];)for(;r.indexOf(" "+o+" ")>-1;)r=r.replace(" "+o+" "," ");i!==(s=vt(r))&&n.setAttribute("class",s)}return this},toggleClass:function(e,t){var n=typeof e,r="string"===n||Array.isArray(e);return"boolean"==typeof t&&r?t?this.addClass(e):this.removeClass(e):y(e)?this.each(function(n){C(this).toggleClass(e.call(this,n,mt(this),t),t)}):this.each(function(){var t,i,o,a;if(r)for(i=0,o=C(this),a=gt(e);t=a[i++];)o.hasClass(t)?o.removeClass(t):o.addClass(t);else void 0!==e&&"boolean"!==n||((t=mt(this))&&J.set(this,"__className__",t),this.setAttribute&&this.setAttribute("class",t||!1===e?"":J.get(this,"__className__")||""))})},hasClass:function(e){var t,n,r=0;for(t=" "+e+" ";n=this[r++];)if(1===n.nodeType&&(" "+vt(mt(n))+" ").indexOf(t)>-1)return!0;return!1}});var yt=/\r/g;C.fn.extend({val:function(e){var t,n,r,i=this[0];return arguments.length?(r=y(e),this.each(function(n){var i;1===this.nodeType&&(null==(i=r?e.call(this,n,C(this).val()):e)?i="":"number"==typeof i?i+="":Array.isArray(i)&&(i=C.map(i,function(e){return null==e?"":e+""})),(t=C.valHooks[this.type]||C.valHooks[this.nodeName.toLowerCase()])&&"set"in t&&void 0!==t.set(this,i,"value")||(this.value=i))})):i?(t=C.valHooks[i.type]||C.valHooks[i.nodeName.toLowerCase()])&&"get"in t&&void 0!==(n=t.get(i,"value"))?n:"string"==typeof(n=i.value)?n.replace(yt,""):null==n?"":n:void 0}}),C.extend({valHooks:{option:{get:function(e){var t=C.find.attr(e,"value");return null!=t?t:vt(C.text(e))}},select:{get:function(e){var t,n,r,i=e.options,o=e.selectedIndex,a="select-one"===e.type,s=a?null:[],u=a?o+1:i.length;for(r=o<0?u:a?o:0;r<u;r++)if(((n=i[r]).selected||r===o)&&!n.disabled&&(!n.parentNode.disabled||!j(n.parentNode,"optgroup"))){if(t=C(n).val(),a)return t;s.push(t)}return s},set:function(e,t){for(var n,r,i=e.options,o=C.makeArray(t),a=i.length;a--;)((r=i[a]).selected=C.inArray(C.valHooks.option.get(r),o)>-1)&&(n=!0);return n||(e.selectedIndex=-1),o}}}}),C.each(["radio","checkbox"],function(){C.valHooks[this]={set:function(e,t){if(Array.isArray(t))return e.checked=C.inArray(C(e).val(),t)>-1}},g.checkOn||(C.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})}),g.focusin="onfocusin"in n;var bt=/^(?:focusinfocus|focusoutblur)$/,wt=function(e){e.stopPropagation()};C.extend(C.event,{trigger:function(e,t,r,i){var o,s,u,c,l,f,h,d,v=[r||a],m=p.call(e,"type")?e.type:e,g=p.call(e,"namespace")?e.namespace.split("."):[];if(s=d=u=r=r||a,3!==r.nodeType&&8!==r.nodeType&&!bt.test(m+C.event.triggered)&&(m.indexOf(".")>-1&&(m=(g=m.split(".")).shift(),g.sort()),l=m.indexOf(":")<0&&"on"+m,(e=e[C.expando]?e:new C.Event(m,"object"==typeof e&&e)).isTrigger=i?2:3,e.namespace=g.join("."),e.rnamespace=e.namespace?new RegExp("(^|\\.)"+g.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=r),t=null==t?[e]:C.makeArray(t,[e]),h=C.event.special[m]||{},i||!h.trigger||!1!==h.trigger.apply(r,t))){if(!i&&!h.noBubble&&!b(r)){for(c=h.delegateType||m,bt.test(c+m)||(s=s.parentNode);s;s=s.parentNode)v.push(s),u=s;u===(r.ownerDocument||a)&&v.push(u.defaultView||u.parentWindow||n)}for(o=0;(s=v[o++])&&!e.isPropagationStopped();)d=s,e.type=o>1?c:h.bindType||m,(f=(J.get(s,"events")||{})[e.type]&&J.get(s,"handle"))&&f.apply(s,t),(f=l&&s[l])&&f.apply&&Y(s)&&(e.result=f.apply(s,t),!1===e.result&&e.preventDefault());return e.type=m,i||e.isDefaultPrevented()||h._default&&!1!==h._default.apply(v.pop(),t)||!Y(r)||l&&y(r[m])&&!b(r)&&((u=r[l])&&(r[l]=null),C.event.triggered=m,e.isPropagationStopped()&&d.addEventListener(m,wt),r[m](),e.isPropagationStopped()&&d.removeEventListener(m,wt),C.event.triggered=void 0,u&&(r[l]=u)),e.result}},simulate:function(e,t,n){var r=C.extend(new C.Event,n,{type:e,isSimulated:!0});C.event.trigger(r,null,t)}}),C.fn.extend({trigger:function(e,t){return this.each(function(){C.event.trigger(e,t,this)})},triggerHandler:function(e,t){var n=this[0];if(n)return C.event.trigger(e,t,n,!0)}}),g.focusin||C.each({focus:"focusin",blur:"focusout"},function(e,t){var n=function(e){C.event.simulate(t,e.target,C.event.fix(e))};C.event.special[t]={setup:function(){var r=this.ownerDocument||this,i=J.access(r,t);i||r.addEventListener(e,n,!0),J.access(r,t,(i||0)+1)},teardown:function(){var r=this.ownerDocument||this,i=J.access(r,t)-1;i?J.access(r,t,i):(r.removeEventListener(e,n,!0),J.remove(r,t))}}});var Et=n.location,_t=Date.now(),Ct=/\?/;C.parseXML=function(e){var t;if(!e||"string"!=typeof e)return null;try{t=(new n.DOMParser).parseFromString(e,"text/xml")}catch(e){t=void 0}return t&&!t.getElementsByTagName("parsererror").length||C.error("Invalid XML: "+e),t};var Tt=/\[\]$/,xt=/\r?\n/g,kt=/^(?:submit|button|image|reset|file)$/i,St=/^(?:input|select|textarea|keygen)/i;function At(e,t,n,r){var i;if(Array.isArray(t))C.each(t,function(t,i){n||Tt.test(e)?r(e,i):At(e+"["+("object"==typeof i&&null!=i?t:"")+"]",i,n,r)});else if(n||"object"!==_(t))r(e,t);else for(i in t)At(e+"["+i+"]",t[i],n,r)}C.param=function(e,t){var n,r=[],i=function(e,t){var n=y(t)?t():t;r[r.length]=encodeURIComponent(e)+"="+encodeURIComponent(null==n?"":n)};if(Array.isArray(e)||e.jquery&&!C.isPlainObject(e))C.each(e,function(){i(this.name,this.value)});else for(n in e)At(n,e[n],t,i);return r.join("&")},C.fn.extend({serialize:function(){return C.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var e=C.prop(this,"elements");return e?C.makeArray(e):this}).filter(function(){var e=this.type;return this.name&&!C(this).is(":disabled")&&St.test(this.nodeName)&&!kt.test(e)&&(this.checked||!he.test(e))}).map(function(e,t){var n=C(this).val();return null==n?null:Array.isArray(n)?C.map(n,function(e){return{name:t.name,value:e.replace(xt,"\r\n")}}):{name:t.name,value:n.replace(xt,"\r\n")}}).get()}});var Ot=/%20/g,jt=/#.*$/,It=/([?&])_=[^&]*/,Dt=/^(.*?):[ \t]*([^\r\n]*)$/gm,Lt=/^(?:GET|HEAD)$/,Pt=/^\/\//,Nt={},Mt={},Ft="*/".concat("*"),Rt=a.createElement("a");function Ht(e){return function(t,n){"string"!=typeof t&&(n=t,t="*");var r,i=0,o=t.toLowerCase().match(R)||[];if(y(n))for(;r=o[i++];)"+"===r[0]?(r=r.slice(1)||"*",(e[r]=e[r]||[]).unshift(n)):(e[r]=e[r]||[]).push(n)}}function $t(e,t,n,r){var i={},o=e===Mt;function a(s){var u;return i[s]=!0,C.each(e[s]||[],function(e,s){var c=s(t,n,r);return"string"!=typeof c||o||i[c]?o?!(u=c):void 0:(t.dataTypes.unshift(c),a(c),!1)}),u}return a(t.dataTypes[0])||!i["*"]&&a("*")}function qt(e,t){var n,r,i=C.ajaxSettings.flatOptions||{};for(n in t)void 0!==t[n]&&((i[n]?e:r||(r={}))[n]=t[n]);return r&&C.extend(!0,e,r),e}Rt.href=Et.href,C.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:Et.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(Et.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Ft,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":C.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?qt(qt(e,C.ajaxSettings),t):qt(C.ajaxSettings,e)},ajaxPrefilter:Ht(Nt),ajaxTransport:Ht(Mt),ajax:function(e,t){"object"==typeof e&&(t=e,e=void 0),t=t||{};var r,i,o,s,u,c,l,f,h,d,p=C.ajaxSetup({},t),v=p.context||p,m=p.context&&(v.nodeType||v.jquery)?C(v):C.event,g=C.Deferred(),y=C.Callbacks("once memory"),b=p.statusCode||{},w={},E={},_="canceled",T={readyState:0,getResponseHeader:function(e){var t;if(l){if(!s)for(s={};t=Dt.exec(o);)s[t[1].toLowerCase()]=t[2];t=s[e.toLowerCase()]}return null==t?null:t},getAllResponseHeaders:function(){return l?o:null},setRequestHeader:function(e,t){return null==l&&(e=E[e.toLowerCase()]=E[e.toLowerCase()]||e,w[e]=t),this},overrideMimeType:function(e){return null==l&&(p.mimeType=e),this},statusCode:function(e){var t;if(e)if(l)T.always(e[T.status]);else for(t in e)b[t]=[b[t],e[t]];return this},abort:function(e){var t=e||_;return r&&r.abort(t),x(0,t),this}};if(g.promise(T),p.url=((e||p.url||Et.href)+"").replace(Pt,Et.protocol+"//"),p.type=t.method||t.type||p.method||p.type,p.dataTypes=(p.dataType||"*").toLowerCase().match(R)||[""],null==p.crossDomain){c=a.createElement("a");try{c.href=p.url,c.href=c.href,p.crossDomain=Rt.protocol+"//"+Rt.host!=c.protocol+"//"+c.host}catch(e){p.crossDomain=!0}}if(p.data&&p.processData&&"string"!=typeof p.data&&(p.data=C.param(p.data,p.traditional)),$t(Nt,p,t,T),l)return T;for(h in(f=C.event&&p.global)&&0==C.active++&&C.event.trigger("ajaxStart"),p.type=p.type.toUpperCase(),p.hasContent=!Lt.test(p.type),i=p.url.replace(jt,""),p.hasContent?p.data&&p.processData&&0===(p.contentType||"").indexOf("application/x-www-form-urlencoded")&&(p.data=p.data.replace(Ot,"+")):(d=p.url.slice(i.length),p.data&&(p.processData||"string"==typeof p.data)&&(i+=(Ct.test(i)?"&":"?")+p.data,delete p.data),!1===p.cache&&(i=i.replace(It,"$1"),d=(Ct.test(i)?"&":"?")+"_="+_t+++d),p.url=i+d),p.ifModified&&(C.lastModified[i]&&T.setRequestHeader("If-Modified-Since",C.lastModified[i]),C.etag[i]&&T.setRequestHeader("If-None-Match",C.etag[i])),(p.data&&p.hasContent&&!1!==p.contentType||t.contentType)&&T.setRequestHeader("Content-Type",p.contentType),T.setRequestHeader("Accept",p.dataTypes[0]&&p.accepts[p.dataTypes[0]]?p.accepts[p.dataTypes[0]]+("*"!==p.dataTypes[0]?", "+Ft+"; q=0.01":""):p.accepts["*"]),p.headers)T.setRequestHeader(h,p.headers[h]);if(p.beforeSend&&(!1===p.beforeSend.call(v,T,p)||l))return T.abort();if(_="abort",y.add(p.complete),T.done(p.success),T.fail(p.error),r=$t(Mt,p,t,T)){if(T.readyState=1,f&&m.trigger("ajaxSend",[T,p]),l)return T;p.async&&p.timeout>0&&(u=n.setTimeout(function(){T.abort("timeout")},p.timeout));try{l=!1,r.send(w,x)}catch(e){if(l)throw e;x(-1,e)}}else x(-1,"No Transport");function x(e,t,a,s){var c,h,d,w,E,_=t;l||(l=!0,u&&n.clearTimeout(u),r=void 0,o=s||"",T.readyState=e>0?4:0,c=e>=200&&e<300||304===e,a&&(w=function(e,t,n){for(var r,i,o,a,s=e.contents,u=e.dataTypes;"*"===u[0];)u.shift(),void 0===r&&(r=e.mimeType||t.getResponseHeader("Content-Type"));if(r)for(i in s)if(s[i]&&s[i].test(r)){u.unshift(i);break}if(u[0]in n)o=u[0];else{for(i in n){if(!u[0]||e.converters[i+" "+u[0]]){o=i;break}a||(a=i)}o=o||a}if(o)return o!==u[0]&&u.unshift(o),n[o]}(p,T,a)),w=function(e,t,n,r){var i,o,a,s,u,c={},l=e.dataTypes.slice();if(l[1])for(a in e.converters)c[a.toLowerCase()]=e.converters[a];for(o=l.shift();o;)if(e.responseFields[o]&&(n[e.responseFields[o]]=t),!u&&r&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),u=o,o=l.shift())if("*"===o)o=u;else if("*"!==u&&u!==o){if(!(a=c[u+" "+o]||c["* "+o]))for(i in c)if((s=i.split(" "))[1]===o&&(a=c[u+" "+s[0]]||c["* "+s[0]])){!0===a?a=c[i]:!0!==c[i]&&(o=s[0],l.unshift(s[1]));break}if(!0!==a)if(a&&e.throws)t=a(t);else try{t=a(t)}catch(e){return{state:"parsererror",error:a?e:"No conversion from "+u+" to "+o}}}return{state:"success",data:t}}(p,w,T,c),c?(p.ifModified&&((E=T.getResponseHeader("Last-Modified"))&&(C.lastModified[i]=E),(E=T.getResponseHeader("etag"))&&(C.etag[i]=E)),204===e||"HEAD"===p.type?_="nocontent":304===e?_="notmodified":(_=w.state,h=w.data,c=!(d=w.error))):(d=_,!e&&_||(_="error",e<0&&(e=0))),T.status=e,T.statusText=(t||_)+"",c?g.resolveWith(v,[h,_,T]):g.rejectWith(v,[T,_,d]),T.statusCode(b),b=void 0,f&&m.trigger(c?"ajaxSuccess":"ajaxError",[T,p,c?h:d]),y.fireWith(v,[T,_]),f&&(m.trigger("ajaxComplete",[T,p]),--C.active||C.event.trigger("ajaxStop")))}return T},getJSON:function(e,t,n){return C.get(e,t,n,"json")},getScript:function(e,t){return C.get(e,void 0,t,"script")}}),C.each(["get","post"],function(e,t){C[t]=function(e,n,r,i){return y(n)&&(i=i||r,r=n,n=void 0),C.ajax(C.extend({url:e,type:t,dataType:i,data:n,success:r},C.isPlainObject(e)&&e))}}),C._evalUrl=function(e){return C.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,throws:!0})},C.fn.extend({wrapAll:function(e){var t;return this[0]&&(y(e)&&(e=e.call(this[0])),t=C(e,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){for(var e=this;e.firstElementChild;)e=e.firstElementChild;return e}).append(this)),this},wrapInner:function(e){return y(e)?this.each(function(t){C(this).wrapInner(e.call(this,t))}):this.each(function(){var t=C(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)})},wrap:function(e){var t=y(e);return this.each(function(n){C(this).wrapAll(t?e.call(this,n):e)})},unwrap:function(e){return this.parent(e).not("body").each(function(){C(this).replaceWith(this.childNodes)}),this}}),C.expr.pseudos.hidden=function(e){return!C.expr.pseudos.visible(e)},C.expr.pseudos.visible=function(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)},C.ajaxSettings.xhr=function(){try{return new n.XMLHttpRequest}catch(e){}};var Bt={0:200,1223:204},Ut=C.ajaxSettings.xhr();g.cors=!!Ut&&"withCredentials"in Ut,g.ajax=Ut=!!Ut,C.ajaxTransport(function(e){var t,r;if(g.cors||Ut&&!e.crossDomain)return{send:function(i,o){var a,s=e.xhr();if(s.open(e.type,e.url,e.async,e.username,e.password),e.xhrFields)for(a in e.xhrFields)s[a]=e.xhrFields[a];for(a in e.mimeType&&s.overrideMimeType&&s.overrideMimeType(e.mimeType),e.crossDomain||i["X-Requested-With"]||(i["X-Requested-With"]="XMLHttpRequest"),i)s.setRequestHeader(a,i[a]);t=function(e){return function(){t&&(t=r=s.onload=s.onerror=s.onabort=s.ontimeout=s.onreadystatechange=null,"abort"===e?s.abort():"error"===e?"number"!=typeof s.status?o(0,"error"):o(s.status,s.statusText):o(Bt[s.status]||s.status,s.statusText,"text"!==(s.responseType||"text")||"string"!=typeof s.responseText?{binary:s.response}:{text:s.responseText},s.getAllResponseHeaders()))}},s.onload=t(),r=s.onerror=s.ontimeout=t("error"),void 0!==s.onabort?s.onabort=r:s.onreadystatechange=function(){4===s.readyState&&n.setTimeout(function(){t&&r()})},t=t("abort");try{s.send(e.hasContent&&e.data||null)}catch(e){if(t)throw e}},abort:function(){t&&t()}}}),C.ajaxPrefilter(function(e){e.crossDomain&&(e.contents.script=!1)}),C.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(e){return C.globalEval(e),e}}}),C.ajaxPrefilter("script",function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET")}),C.ajaxTransport("script",function(e){var t,n;if(e.crossDomain)return{send:function(r,i){t=C("<script>").prop({charset:e.scriptCharset,src:e.url}).on("load error",n=function(e){t.remove(),n=null,e&&i("error"===e.type?404:200,e.type)}),a.head.appendChild(t[0])},abort:function(){n&&n()}}});var Wt,Vt=[],Kt=/(=)\?(?=&|$)|\?\?/;C.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=Vt.pop()||C.expando+"_"+_t++;return this[e]=!0,e}}),C.ajaxPrefilter("json jsonp",function(e,t,r){var i,o,a,s=!1!==e.jsonp&&(Kt.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&Kt.test(e.data)&&"data");if(s||"jsonp"===e.dataTypes[0])return i=e.jsonpCallback=y(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,s?e[s]=e[s].replace(Kt,"$1"+i):!1!==e.jsonp&&(e.url+=(Ct.test(e.url)?"&":"?")+e.jsonp+"="+i),e.converters["script json"]=function(){return a||C.error(i+" was not called"),a[0]},e.dataTypes[0]="json",o=n[i],n[i]=function(){a=arguments},r.always(function(){void 0===o?C(n).removeProp(i):n[i]=o,e[i]&&(e.jsonpCallback=t.jsonpCallback,Vt.push(i)),a&&y(o)&&o(a[0]),a=o=void 0}),"script"}),g.createHTMLDocument=((Wt=a.implementation.createHTMLDocument("").body).innerHTML="<form></form><form></form>",2===Wt.childNodes.length),C.parseHTML=function(e,t,n){return"string"!=typeof e?[]:("boolean"==typeof t&&(n=t,t=!1),t||(g.createHTMLDocument?((r=(t=a.implementation.createHTMLDocument("")).createElement("base")).href=a.location.href,t.head.appendChild(r)):t=a),i=I.exec(e),o=!n&&[],i?[t.createElement(i[1])]:(i=Ee([e],t,o),o&&o.length&&C(o).remove(),C.merge([],i.childNodes)));var r,i,o},C.fn.load=function(e,t,n){var r,i,o,a=this,s=e.indexOf(" ");return s>-1&&(r=vt(e.slice(s)),e=e.slice(0,s)),y(t)?(n=t,t=void 0):t&&"object"==typeof t&&(i="POST"),a.length>0&&C.ajax({url:e,type:i||"GET",dataType:"html",data:t}).done(function(e){o=arguments,a.html(r?C("<div>").append(C.parseHTML(e)).find(r):e)}).always(n&&function(e,t){a.each(function(){n.apply(this,o||[e.responseText,t,e])})}),this},C.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){C.fn[t]=function(e){return this.on(t,e)}}),C.expr.pseudos.animated=function(e){return C.grep(C.timers,function(t){return e===t.elem}).length},C.offset={setOffset:function(e,t,n){var r,i,o,a,s,u,c=C.css(e,"position"),l=C(e),f={};"static"===c&&(e.style.position="relative"),s=l.offset(),o=C.css(e,"top"),u=C.css(e,"left"),("absolute"===c||"fixed"===c)&&(o+u).indexOf("auto")>-1?(a=(r=l.position()).top,i=r.left):(a=parseFloat(o)||0,i=parseFloat(u)||0),y(t)&&(t=t.call(e,n,C.extend({},s))),null!=t.top&&(f.top=t.top-s.top+a),null!=t.left&&(f.left=t.left-s.left+i),"using"in t?t.using.call(e,f):l.css(f)}},C.fn.extend({offset:function(e){if(arguments.length)return void 0===e?this:this.each(function(t){C.offset.setOffset(this,e,t)});var t,n,r=this[0];return r?r.getClientRects().length?(t=r.getBoundingClientRect(),n=r.ownerDocument.defaultView,{top:t.top+n.pageYOffset,left:t.left+n.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var e,t,n,r=this[0],i={top:0,left:0};if("fixed"===C.css(r,"position"))t=r.getBoundingClientRect();else{for(t=this.offset(),n=r.ownerDocument,e=r.offsetParent||n.documentElement;e&&(e===n.body||e===n.documentElement)&&"static"===C.css(e,"position");)e=e.parentNode;e&&e!==r&&1===e.nodeType&&((i=C(e).offset()).top+=C.css(e,"borderTopWidth",!0),i.left+=C.css(e,"borderLeftWidth",!0))}return{top:t.top-i.top-C.css(r,"marginTop",!0),left:t.left-i.left-C.css(r,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var e=this.offsetParent;e&&"static"===C.css(e,"position");)e=e.offsetParent;return e||_e})}}),C.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(e,t){var n="pageYOffset"===t;C.fn[e]=function(r){return V(this,function(e,r,i){var o;if(b(e)?o=e:9===e.nodeType&&(o=e.defaultView),void 0===i)return o?o[t]:e[r];o?o.scrollTo(n?o.pageXOffset:i,n?i:o.pageYOffset):e[r]=i},e,r,arguments.length)}}),C.each(["top","left"],function(e,t){C.cssHooks[t]=We(g.pixelPosition,function(e,n){if(n)return n=Ue(e,t),$e.test(n)?C(e).position()[t]+"px":n})}),C.each({Height:"height",Width:"width"},function(e,t){C.each({padding:"inner"+e,content:t,"":"outer"+e},function(n,r){C.fn[r]=function(i,o){var a=arguments.length&&(n||"boolean"!=typeof i),s=n||(!0===i||!0===o?"margin":"border");return V(this,function(t,n,i){var o;return b(t)?0===r.indexOf("outer")?t["inner"+e]:t.document.documentElement["client"+e]:9===t.nodeType?(o=t.documentElement,Math.max(t.body["scroll"+e],o["scroll"+e],t.body["offset"+e],o["offset"+e],o["client"+e])):void 0===i?C.css(t,n,s):C.style(t,n,i,s)},t,a?i:void 0,a)}})}),C.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(e,t){C.fn[t]=function(e,n){return arguments.length>0?this.on(t,null,e,n):this.trigger(t)}}),C.fn.extend({hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)}}),C.fn.extend({bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,r){return this.on(t,e,n,r)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)}}),C.proxy=function(e,t){var n,r,i;if("string"==typeof t&&(n=e[t],t=e,e=n),y(e))return r=u.call(arguments,2),(i=function(){return e.apply(t||this,r.concat(u.call(arguments)))}).guid=e.guid=e.guid||C.guid++,i},C.holdReady=function(e){e?C.readyWait++:C.ready(!0)},C.isArray=Array.isArray,C.parseJSON=JSON.parse,C.nodeName=j,C.isFunction=y,C.isWindow=b,C.camelCase=Q,C.type=_,C.now=Date.now,C.isNumeric=function(e){var t=C.type(e);return("number"===t||"string"===t)&&!isNaN(e-parseFloat(e))},void 0===(r=function(){return C}.apply(t,[]))||(e.exports=r);var Gt=n.jQuery,zt=n.$;return C.noConflict=function(e){return n.$===C&&(n.$=zt),e&&n.jQuery===C&&(n.jQuery=Gt),C},i||(n.jQuery=n.$=C),C})},1:function(e,t,n){"use strict";var r=n(741),i=n.n(r),o=n(3),a=n.n(o),s=function(e,t){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],r=e;return t&&Object.keys(t).forEach(function(e){var i=t[e],o=n?a.a.escape(i):i;r=r.replace(new RegExp("%{"+e+"}","g"),o)}),r};n.d(t,"c",function(){return u}),n.d(t,"a",function(){return l}),n.d(t,"d",function(){return f}),n.d(t,"e",function(){return h}),n.d(t,"b",function(){return d}),n.d(t,"f",function(){return s});var u=function(){return document.querySelector("html").getAttribute("lang")||"en"},c=new i.a(window.translations||{});delete window.translations;var l=c.gettext.bind(c),f=function(e,t,n){var r=c.ngettext(e,t,n).replace(/%d/g,n).split("|");return r[r.length-1]},h=function(e,t){var n=l(t?e+"|"+t:e).split("|");return n[n.length-1]},d=function(e){return Intl.DateTimeFormat(u(),e)}},104:function(e,t,n){"use strict";var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();var i=document,o=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}return r(e,[{key:"container",set:function(e){i=e},get:function(){return i}}]),e}();t.a=new o},11:function(e,t,n){"use strict";n.d(t,"i",function(){return l}),n.d(t,"r",function(){return f}),n.d(t,"u",function(){return h}),n.d(t,"k",function(){return d}),n.d(t,"h",function(){return p}),n.d(t,"s",function(){return m}),n.d(t,"t",function(){return g}),n.d(t,"q",function(){return y}),n.d(t,"b",function(){return b}),n.d(t,"E",function(){return w}),n.d(t,"J",function(){return E}),n.d(t,"n",function(){return _}),n.d(t,"v",function(){return C}),n.d(t,"D",function(){return x}),n.d(t,"m",function(){return k}),n.d(t,"x",function(){return S}),n.d(t,"w",function(){return A}),n.d(t,"e",function(){return O}),n.d(t,"F",function(){return j}),n.d(t,"j",function(){return I}),n.d(t,"l",function(){return L}),n.d(t,"p",function(){return P}),n.d(t,"y",function(){return N}),n.d(t,"z",function(){return M}),n.d(t,"B",function(){return F}),n.d(t,"C",function(){return R}),n.d(t,"A",function(){return H}),n.d(t,"d",function(){return $}),n.d(t,"o",function(){return q}),n.d(t,"g",function(){return B}),n.d(t,"c",function(){return U}),n.d(t,"H",function(){return W}),n.d(t,"G",function(){return K}),n.d(t,"I",function(){return G}),n.d(t,"f",function(){return z}),n.d(t,"a",function(){return Q});var r=n(0),i=n.n(r),o=n(5),a=n(21),s=n(45),u=n(478),c=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};var l=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return(i()("body").attr("data-page")||"").split(":")[e]},f=function(){return"groups"===l()},h=function(){return"projects"===l()},d=function(){return h()?i()("body").data("project"):null},p=function(){return f()?i()("body").data("group"):null},v=function(e,t){var n=l(1),r=l(2);return n===e&&r===t},m=function(){return v("issues","show")},g=function(){return v("merge_requests","show")},y=function(){return v("epics","show")},b=function(e){return o.a.get(e,{params:{format:"js"},responseType:"text"}).then(function(e){var t=e.data;i.a.globalEval(t)})},w=function(e){return e?e.replace(/\s+$/,""):e},E=function(e,t){return e.attr("title",t).tooltip("_fixTitle")},_=function(){var e=Object(a.a)();if(e){e=decodeURIComponent(e);var t=document.getElementById(e)||document.getElementById("user-content-"+e),n=document.querySelector(".js-tabs-affix"),r=document.querySelector(".js-diff-files-changed"),i=document.querySelector(".navbar-gitlab"),o=0;i&&(o-=i.offsetHeight),t&&t.scrollIntoView&&t.scrollIntoView(!0),n&&(o-=n.offsetHeight),r&&(o-=r.offsetHeight),window.scrollBy(0,o)}},C=function(e){var t=e.getBoundingClientRect();return t.top>=0&&t.left>=0&&t.bottom<=window.innerHeight&&t.right<=window.innerWidth},T=function(e){var t=document.createElement("a");return t.href=e,t},x=function(e){var t=T(e);return"/"===t.pathname.charAt(0)?t.pathname:"/"+t.pathname},k=function(){return window.location.search.slice(1).split("&").map(function(e){var t=e.split("=");return[decodeURI(t[0]),t[1]].join("=")})},S=function(e){return e.metaKey||e.ctrlKey||e.altKey||e.shiftKey},A=function(e){return e.metaKey||e.ctrlKey||2===e.which},O=function(){return(i()("#js-peek").height()||0)+(i()(".merge-request-tabs").height()||0)+(i()(".navbar-gitlab").height()||0)+(i()(".js-diff-files-changed").height()||0)},j=function(e){var t=e;e instanceof i.a||(t=i()(e));var n=t.offset().top;return i()("body, html").animate({scrollTop:n-O()},200)},I=function(e,t){var n=t||window.location.href,r=e.replace(/[[\]]/g,"\\$&"),i=new RegExp("[?&]"+r+"(=([^&#]*)|&|#|$)").exec(n);return i?i[2]?decodeURIComponent(i[2].replace(/\+/g," ")):"":null},D=function(e){var t=e.commonAncestorContainer;if("OL"===t.tagName){var n=document.createElement(t.tagName);return n.appendChild(e.cloneContents()),n}return e.cloneContents()},L=function(){var e=window.getSelection();if(0===e.rangeCount)return null;for(var t=document.createDocumentFragment(),n=0;n<e.rangeCount;n+=1){var r=e.getRangeAt(n);t.appendChild(D(r))}return 0===t.textContent.length?null:t},P=function(e,t){var n=e.selectionStart,r=e.selectionEnd,i=e.value,o=i.substring(0,n),a=i.substring(r,i.length),s=t instanceof Function?t(o,a):t,u=o+s+a;e.value=u,e.selectionStart=n+s.length,e.selectionEnd=n+s.length,e.dispatchEvent(new Event("input"));var c=document.createEvent("Event");c.initEvent("autosize:update",!0,!1),e.dispatchEvent(c)},N=function(e,t){var n=Element.prototype.matches||Element.prototype.matchesSelector||Element.prototype.mozMatchesSelector||Element.prototype.msMatchesSelector||Element.prototype.oMatchesSelector||Element.prototype.webkitMatchesSelector;if(n)return n.call(e,t);var r=e.parentNode;r||(r=document.createElement("div"),e=e.cloneNode(!0),r.appendChild(e));var i=r.querySelectorAll(t);return-1!==Array.prototype.indexOf.call(i,e)},M=function(e){var t={};return Object.keys(e||{}).forEach(function(n){t[n.toUpperCase()]=e[n]}),t},F=function(e){return{perPage:parseInt(e["X-PER-PAGE"],10),page:parseInt(e["X-PAGE"],10),total:parseInt(e["X-TOTAL"],10),totalPages:parseInt(e["X-TOTAL-PAGES"],10),nextPage:parseInt(e["X-NEXT-PAGE"],10),previousPage:parseInt(e["X-PREV-PAGE"],10)}},R=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return""===e?{}:e.split("&").reduce(function(e,t){var n,r,i,o=t.split("=");return Object.assign(e,(n={},r=o[0],i=decodeURIComponent(o[1]),r in n?Object.defineProperty(n,r,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[r]=i,n)),e},{})},H=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Object.keys(e).map(function(t){return t+"="+e[t]}).join("&")},$=function(e){return e?""+window.location.pathname+e:window.location.pathname},q=function(e){window.history.pushState({},document.title,e)},B=function(e){return"true"===e},U=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:6e4,n=2e3,r=0;return new Promise(function(i,o){var a=function(e){return e instanceof Error?o(e):i(e)};e(function i(){r<t?(setTimeout(function(){return e(i,a)},n),r+=n,n=Math.min(n+n,32e3)):o(new Error("BACKOFF_TIMEOUT"))},a)})},W=function(e){var t=document.getElementById("favicon");return t?function(e,t){var n=document.createElement("img");return new Promise(function(r){n.onload=function(){var e=document.createElement("canvas");e.width=32,e.height=32;var i=e.getContext("2d");i.clearRect(0,0,32,32),i.drawImage(n,0,0,n.width,n.height,0,0,32,32);var o=document.createElement("img");o.onload=function(){i.drawImage(o,0,0,o.width,o.height,0,0,32,32);var t=e.toDataURL();r(t)},o.src=t},n.src=e})}(t.getAttribute("data-original-href"),e).then(function(e){return t.setAttribute("href",e)}):null},V=function(){var e=document.getElementById("favicon");if(e){var t=e.getAttribute("data-original-href");e.setAttribute("href",t)}},K=function(e){return o.a.get(e).then(function(e){var t=e.data;return t&&t.favicon?W(t.favicon):V()}).catch(V)},G=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return"<svg "+(t.length>0?'class="'+t+'"':"")+'><use xlink:href="'+gon.sprite_icons+"#"+e+'" /></svg>'},z=function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(null===t)return{};var r=Array.isArray(t)?[]:{};return Object.keys(t).reduce(function(r,i){var o=r,a=t[i];return n.deep&&(Object(u.a)(a)||Array.isArray(a))?o[Object(s.c)(i)]=e(a,n):o[Object(s.c)(i)]=t[i],r},r)},Q=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:".js-select-on-focus";i()(e).on("focusin",function(){i()(this).select().one("mouseup",function(e){e.preventDefault()})})};window.gl=window.gl||{},window.gl.utils=c({},window.gl.utils||{},{getPagePath:l,isInGroupsPage:f,isInProjectPage:h,getProjectSlug:d,getGroupSlug:p,isInIssuePage:m,ajaxGet:b,rstrip:w,updateTooltipTitle:E,disableButtonIfEmptyField:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"input",r=i()(e),o=r.closest("form").find(t);return""===w(r.val())&&o.disable(),r.on(n,function(){return""===w(i()(this).val())?o.disable():o.enable()})},handleLocationHash:_,isInViewport:C,parseUrl:T,parseUrlPathname:x,getUrlParamsArray:k,isMetaKey:S,isMetaClick:A,scrollToElement:j,getParameterByName:I,getSelectedFragment:L,insertText:P,nodeMatchesSelector:N,spriteIcon:G,imagePath:function(e){return""+(gon.asset_host||"")+(gon.relative_url_root||"")+"/assets/"+e}})},111:function(e,t,n){var r;!function(i){"use strict";var o,a,s,u=(o=/d{1,4}|m{1,4}|yy(?:yy)?|([HhMsTt])\1?|[LloSZWN]|"[^"]*"|'[^']*'/g,a=/\b(?:[PMCEA][SDP]T|(?:Pacific|Mountain|Central|Eastern|Atlantic) (?:Standard|Daylight|Prevailing) Time|(?:GMT|UTC)(?:[-+]\d{4})?)\b/g,s=/[^-+\dA-Z]/g,function(e,t,n,r){if(1!==arguments.length||"string"!==(null===(i=e)?"null":void 0===i?"undefined":"object"!=typeof i?typeof i:Array.isArray(i)?"array":{}.toString.call(i).slice(8,-1).toLowerCase())||/\d/.test(e)||(t=e,e=void 0),(e=e||new Date)instanceof Date||(e=new Date(e)),isNaN(e))throw TypeError("Invalid date");var i,l=(t=String(u.masks[t]||t||u.masks.default)).slice(0,4);"UTC:"!==l&&"GMT:"!==l||(t=t.slice(4),n=!0,"GMT:"===l&&(r=!0));var f=n?"getUTC":"get",h=e[f+"Date"](),d=e[f+"Day"](),p=e[f+"Month"](),v=e[f+"FullYear"](),m=e[f+"Hours"](),g=e[f+"Minutes"](),y=e[f+"Seconds"](),b=e[f+"Milliseconds"](),w=n?0:e.getTimezoneOffset(),E=function(e){var t=new Date(e.getFullYear(),e.getMonth(),e.getDate());t.setDate(t.getDate()-(t.getDay()+6)%7+3);var n=new Date(t.getFullYear(),0,4);n.setDate(n.getDate()-(n.getDay()+6)%7+3);var r=t.getTimezoneOffset()-n.getTimezoneOffset();t.setHours(t.getHours()-r);var i=(t-n)/6048e5;return 1+Math.floor(i)}(e),_=function(e){var t=e.getDay();return 0===t&&(t=7),t}(e),C={d:h,dd:c(h),ddd:u.i18n.dayNames[d],dddd:u.i18n.dayNames[d+7],m:p+1,mm:c(p+1),mmm:u.i18n.monthNames[p],mmmm:u.i18n.monthNames[p+12],yy:String(v).slice(2),yyyy:v,h:m%12||12,hh:c(m%12||12),H:m,HH:c(m),M:g,MM:c(g),s:y,ss:c(y),l:c(b,3),L:c(Math.round(b/10)),t:m<12?u.i18n.timeNames[0]:u.i18n.timeNames[1],tt:m<12?u.i18n.timeNames[2]:u.i18n.timeNames[3],T:m<12?u.i18n.timeNames[4]:u.i18n.timeNames[5],TT:m<12?u.i18n.timeNames[6]:u.i18n.timeNames[7],Z:r?"GMT":n?"UTC":(String(e).match(a)||[""]).pop().replace(s,""),o:(w>0?"-":"+")+c(100*Math.floor(Math.abs(w)/60)+Math.abs(w)%60,4),S:["th","st","nd","rd"][h%10>3?0:(h%100-h%10!=10)*h%10],W:E,N:_};return t.replace(o,function(e){return e in C?C[e]:e.slice(1,e.length-1)})});function c(e,t){for(e=String(e),t=t||2;e.length<t;)e="0"+e;return e}u.masks={default:"ddd mmm dd yyyy HH:MM:ss",shortDate:"m/d/yy",mediumDate:"mmm d, yyyy",longDate:"mmmm d, yyyy",fullDate:"dddd, mmmm d, yyyy",shortTime:"h:MM TT",mediumTime:"h:MM:ss TT",longTime:"h:MM:ss TT Z",isoDate:"yyyy-mm-dd",isoTime:"HH:MM:ss",isoDateTime:"yyyy-mm-dd'T'HH:MM:sso",isoUtcDateTime:"UTC:yyyy-mm-dd'T'HH:MM:ss'Z'",expiresHeaderFormat:"ddd, dd mmm yyyy HH:MM:ss Z"},u.i18n={dayNames:["Sun","Mon","Tue","Wed","Thu","Fri","Sat","Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],monthNames:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec","January","February","March","April","May","June","July","August","September","October","November","December"],timeNames:["a","p","am","pm","A","P","AM","PM"]},void 0===(r=function(){return u}.call(t,n,t,e))||(e.exports=r)}()},128:function(e,t,n){"use strict";n.d(t,"b",function(){return a});var r=n(3),i=n.n(r),o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();var a="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==",s=function(){function e(){var t=this,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.lazyImages=[],this.observerNode=n.observerNode||"#content-body";var r=i.a.throttle(function(){return t.scrollCheck()},300),o=i.a.debounce(function(){return t.checkElementsInView()},300);window.addEventListener("scroll",r),window.addEventListener("resize",o),(n.scrollContainer||window).addEventListener("load",function(){return t.loadCheck()})}return o(e,[{key:"searchLazyImages",value:function(){var e=this;requestIdleCallback(function(){e.lazyImages=[].slice.call(document.querySelectorAll(".lazy")),e.lazyImages.length&&e.checkElementsInView()},{timeout:500})}},{key:"startContentObserver",value:function(){var e=this,t=document.querySelector(this.observerNode)||document.querySelector("body");t&&new MutationObserver(function(){return e.searchLazyImages()}).observe(t,{childList:!0,subtree:!0})}},{key:"loadCheck",value:function(){this.searchLazyImages(),this.startContentObserver()}},{key:"scrollCheck",value:function(){var e=this;requestAnimationFrame(function(){return e.checkElementsInView()})}},{key:"checkElementsInView",value:function(){var t=window.pageYOffset,n=t+window.innerHeight+300;this.lazyImages=this.lazyImages.filter(function(r){if(r.getAttribute("data-src")){var i=r.getBoundingClientRect(),o=t+i.top,a=o+i.height;return!(t<a&&n>o)||(requestAnimationFrame(function(){e.loadImage(r)}),!1)}return!1})}}],[{key:"loadImage",value:function(e){if(e.getAttribute("data-src")){var t=e.getAttribute("data-src");if(t.indexOf("/avatar/")>-1&&-1===t.indexOf("?")){var n=null;(n=e.getAttribute("width")?e.getAttribute("width"):e.width)&&(t+="?width="+n)}e.setAttribute("src",t),e.removeAttribute("data-src"),e.classList.remove("lazy"),e.classList.add("js-lazy-loaded")}}}]),e}();t.a=s},129:function(e,t,n){"use strict";n.d(t,"a",function(){return o});var r=n(0),i=n.n(r);function o(e){if(i()(e).hasClass("js-syntax-highlight"))return i()(e).addClass(gon.user_color_scheme);var t=i()(e).find(".js-syntax-highlight");return t.length?o(t):void 0}},1296:function(e,t,n){(function(){var e,r,i,o,a,s,u,c,l,f;f=n(491),i=f.isMatch,o=f.isWordStart,l=f.scoreConsecutives,c=f.scoreCharacter,u=f.scoreAcronyms,t.match=a=function(t,n,o){var a,u,c,l,f,h;return a=o.allowErrors,f=o.preparedQuery,l=o.pathSeparator,a||i(t,f.core_lw,f.core_up)?(h=t.toLowerCase(),0===(c=r(t,h,f)).length?c:(t.indexOf(l)>-1&&(u=e(t,h,f,l),c=s(c,u)),c)):[]},t.wrap=function(e,t,n){var r,i,o,s,u,c,l,f,h;if(null!=n.wrap&&(c=(h=n.wrap).tagClass,f=h.tagOpen,l=h.tagClose),null==c&&(c="highlight"),null==f&&(f='<strong class="'+c+'">'),null==l&&(l="</strong>"),e===t)return f+e+l;if(0===(o=a(e,0,n)).length)return e;for(s="",r=-1,u=0;++r<o.length;){for((i=o[r])>u&&(s+=e.substring(u,i),u=i);++r<o.length;){if(o[r]!==i+1){r--;break}i++}++i>u&&(s+=f,s+=e.substring(u,i),s+=l,u=i)}return u<=e.length-1&&(s+=e.substring(u)),s},e=function(e,t,n,i){var o,a,s;for(s=e.length-1;e[s]===i;)s--;if(-1===(o=e.lastIndexOf(i,s)))return[];for(a=n.depth;a-- >0;)if(-1===(o=e.lastIndexOf(i,o-1)))return[];return o++,s++,r(e.slice(o,s),t.slice(o,s),n,o)},s=function(e,t){var n,r,i,o,a,s,u;if(a=e.length,0===(s=t.length))return e.slice();if(0===a)return t.slice();for(i=-1,r=t[o=0],u=[];++i<a;){for(n=e[i];r<=n&&++o<s;)r<n&&u.push(r),r=t[o];u.push(n)}for(;o<s;)u.push(t[o++]);return u},r=function(e,t,n,r){var i,a,s,f,h,d,p,v,m,g,y,b,w,E,_,C,T,x,k,S,A,O;for(null==r&&(r=0),E=n.query,_=n.query_lw,m=e.length,b=E.length,i=u(e,t,E,_).score,x=new Array(b),h=new Array(b),0,1,2,3,O=new Array(m*b),w=-1,v=-1;++v<b;)x[v]=0,h[v]=0;for(p=-1;++p<m;)for(C=0,k=0,f=0,S=t[p],v=-1;++v<b;)d=0,a=0,T=k,_[v]===S&&(A=o(p,e,t),d=f>0?f:l(e,t,E,_,p,v,A),a=T+c(p,v,A,i,d)),k=x[v],f=h[v],C>k?y=2:(C=k,y=1),a>C?(C=a,y=3):d=0,x[v]=C,h[v]=d,O[++w]=C>0?y:0;for(w=(p=m-1)*b+(v=b-1),s=!0,g=[];s&&p>=0&&v>=0;)switch(O[w]){case 1:p--,w-=b;break;case 2:v--,w--;break;case 3:g.push(p+r),v--,p--,w-=b+1;break;default:s=!1}return g.reverse(),g}}).call(this)},1297:function(e,t,n){(function(){var t,r,i,o;i=n(491),t=n(626),n(692),r=function(e){return e.candidate},o=function(e,t){return t.score-e.score},e.exports=function(e,n,a){var s,u,c,l,f,h,d,p,v,m,g,y,b;for(p=[],c=a.key,f=a.maxResults,l=a.maxInners,g=a.usePathScoring,v=null!=l&&l>0?l:e.length+1,s=null!=c,d=g?t:i,y=0,b=e.length;y<b&&(u=e[y],!((m=s?u[c]:u)&&(h=d.score(m,n,a))>0)||(p.push({candidate:u,score:h}),--v));y++);return p.sort(o),e=p.map(r),null!=f&&(e=e.slice(0,f)),e}}).call(this)},1298:function(e,t){var n=9;if("undefined"!=typeof Element&&!Element.prototype.matches){var r=Element.prototype;r.matches=r.matchesSelector||r.mozMatchesSelector||r.msMatchesSelector||r.oMatchesSelector||r.webkitMatchesSelector}e.exports=function(e,t){for(;e&&e.nodeType!==n;){if(e.matches(t))return e;e=e.parentNode}}},1299:function(e,t,n){var r=n(1298);e.exports=function(e,t,n,i,o){var a=function(e,t,n,i){return function(n){n.delegateTarget=r(n.target,t),n.delegateTarget&&i.call(e,n)}}.apply(this,arguments);return e.addEventListener(n,a,o),{destroy:function(){e.removeEventListener(n,a,o)}}}},1300:function(e,t){t.node=function(e){return void 0!==e&&e instanceof HTMLElement&&1===e.nodeType},t.nodeList=function(e){var n=Object.prototype.toString.call(e);return void 0!==e&&("[object NodeList]"===n||"[object HTMLCollection]"===n)&&"length"in e&&(0===e.length||t.node(e[0]))},t.string=function(e){return"string"==typeof e||e instanceof String},t.fn=function(e){return"[object Function]"===Object.prototype.toString.call(e)}},1301:function(e,t,n){var r=n(1300),i=n(1299);e.exports=function(e,t,n){if(!e&&!t&&!n)throw new Error("Missing required arguments");if(!r.string(t))throw new TypeError("Second argument must be a String");if(!r.fn(n))throw new TypeError("Third argument must be a Function");if(r.node(e))return function(e,t,n){return e.addEventListener(t,n),{destroy:function(){e.removeEventListener(t,n)}}}(e,t,n);if(r.nodeList(e))return function(e,t,n){return Array.prototype.forEach.call(e,function(e){e.addEventListener(t,n)}),{destroy:function(){Array.prototype.forEach.call(e,function(e){e.removeEventListener(t,n)})}}}(e,t,n);if(r.string(e))return function(e,t,n){return i(document.body,e,t,n)}(e,t,n);throw new TypeError("First argument must be a String, HTMLElement, HTMLCollection, or NodeList")}},1302:function(e,t){function n(){}n.prototype={on:function(e,t,n){var r=this.e||(this.e={});return(r[e]||(r[e]=[])).push({fn:t,ctx:n}),this},once:function(e,t,n){var r=this;function i(){r.off(e,i),t.apply(n,arguments)}return i._=t,this.on(e,i,n)},emit:function(e){for(var t=[].slice.call(arguments,1),n=((this.e||(this.e={}))[e]||[]).slice(),r=0,i=n.length;r<i;r++)n[r].fn.apply(n[r].ctx,t);return this},off:function(e,t){var n=this.e||(this.e={}),r=n[e],i=[];if(r&&t)for(var o=0,a=r.length;o<a;o++)r[o].fn!==t&&r[o].fn._!==t&&i.push(r[o]);return i.length?n[e]=i:delete n[e],this}},e.exports=n},1303:function(e,t){e.exports=function(e){var t;if("SELECT"===e.nodeName)e.focus(),t=e.value;else if("INPUT"===e.nodeName||"TEXTAREA"===e.nodeName){var n=e.hasAttribute("readonly");n||e.setAttribute("readonly",""),e.select(),e.setSelectionRange(0,e.value.length),n||e.removeAttribute("readonly"),t=e.value}else{e.hasAttribute("contenteditable")&&e.focus();var r=window.getSelection(),i=document.createRange();i.selectNodeContents(e),r.removeAllRanges(),r.addRange(i),t=r.toString()}return t}},1304:function(e,t,n){var r,i,o;i=[e,n(1303)],void 0===(o="function"==typeof(r=function(e,t){"use strict";var n,r=(n=t)&&n.__esModule?n:{default:n},i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),a=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.resolveOptions(t),this.initSelection()}return o(e,[{key:"resolveOptions",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.action=e.action,this.container=e.container,this.emitter=e.emitter,this.target=e.target,this.text=e.text,this.trigger=e.trigger,this.selectedText=""}},{key:"initSelection",value:function(){this.text?this.selectFake():this.target&&this.selectTarget()}},{key:"selectFake",value:function(){var e=this,t="rtl"==document.documentElement.getAttribute("dir");this.removeFake(),this.fakeHandlerCallback=function(){return e.removeFake()},this.fakeHandler=this.container.addEventListener("click",this.fakeHandlerCallback)||!0,this.fakeElem=document.createElement("textarea"),this.fakeElem.style.fontSize="12pt",this.fakeElem.style.border="0",this.fakeElem.style.padding="0",this.fakeElem.style.margin="0",this.fakeElem.style.position="absolute",this.fakeElem.style[t?"right":"left"]="-9999px";var n=window.pageYOffset||document.documentElement.scrollTop;this.fakeElem.style.top=n+"px",this.fakeElem.setAttribute("readonly",""),this.fakeElem.value=this.text,this.container.appendChild(this.fakeElem),this.selectedText=(0,r.default)(this.fakeElem),this.copyText()}},{key:"removeFake",value:function(){this.fakeHandler&&(this.container.removeEventListener("click",this.fakeHandlerCallback),this.fakeHandler=null,this.fakeHandlerCallback=null),this.fakeElem&&(this.container.removeChild(this.fakeElem),this.fakeElem=null)}},{key:"selectTarget",value:function(){this.selectedText=(0,r.default)(this.target),this.copyText()}},{key:"copyText",value:function(){var e=void 0;try{e=document.execCommand(this.action)}catch(t){e=!1}this.handleResult(e)}},{key:"handleResult",value:function(e){this.emitter.emit(e?"success":"error",{action:this.action,text:this.selectedText,trigger:this.trigger,clearSelection:this.clearSelection.bind(this)})}},{key:"clearSelection",value:function(){this.trigger&&this.trigger.focus(),window.getSelection().removeAllRanges()}},{key:"destroy",value:function(){this.removeFake()}},{key:"action",set:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"copy";if(this._action=e,"copy"!==this._action&&"cut"!==this._action)throw new Error('Invalid "action" value, use either "copy" or "cut"')},get:function(){return this._action}},{key:"target",set:function(e){if(void 0!==e){if(!e||"object"!==(void 0===e?"undefined":i(e))||1!==e.nodeType)throw new Error('Invalid "target" value, use a valid Element');if("copy"===this.action&&e.hasAttribute("disabled"))throw new Error('Invalid "target" attribute. Please use "readonly" instead of "disabled" attribute');if("cut"===this.action&&(e.hasAttribute("readonly")||e.hasAttribute("disabled")))throw new Error('Invalid "target" attribute. You can\'t cut text from elements with "readonly" or "disabled" attributes');this._target=e}},get:function(){return this._target}}]),e}();e.exports=a})?r.apply(t,i):r)||(e.exports=o)},1305:function(e,t,n){"use strict";e.exports=function(e){return function(t){return e.apply(null,t)}}},1306:function(e,t,n){"use strict";var r=n(694);function i(e){if("function"!=typeof e)throw new TypeError("executor must be a function.");var t;this.promise=new Promise(function(e){t=e});var n=this;e(function(e){n.reason||(n.reason=new r(e),t(n.reason))})}i.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},i.source=function(){var e;return{token:new i(function(t){e=t}),cancel:e}},e.exports=i},1307:function(e,t,n){"use strict";e.exports=function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}},1308:function(e,t,n){"use strict";e.exports=function(e){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(e)}},1309:function(e,t,n){"use strict";var r=n(264);e.exports=function(e,t,n){return r.forEach(n,function(n){e=n(e,t)}),e}},1310:function(e,t,n){"use strict";var r=n(264),i=n(1309),o=n(695),a=n(627),s=n(1308),u=n(1307);function c(e){e.cancelToken&&e.cancelToken.throwIfRequested()}e.exports=function(e){return c(e),e.baseURL&&!s(e.url)&&(e.url=u(e.baseURL,e.url)),e.headers=e.headers||{},e.data=i(e.data,e.headers,e.transformRequest),e.headers=r.merge(e.headers.common||{},e.headers[e.method]||{},e.headers||{}),r.forEach(["delete","get","head","post","put","patch","common"],function(t){delete e.headers[t]}),(e.adapter||a.adapter)(e).then(function(t){return c(e),t.data=i(t.data,t.headers,e.transformResponse),t},function(t){return o(t)||(c(e),t&&t.response&&(t.response.data=i(t.response.data,t.response.headers,e.transformResponse))),Promise.reject(t)})}},1311:function(e,t,n){"use strict";var r=n(264);function i(){this.handlers=[]}i.prototype.use=function(e,t){return this.handlers.push({fulfilled:e,rejected:t}),this.handlers.length-1},i.prototype.eject=function(e){this.handlers[e]&&(this.handlers[e]=null)},i.prototype.forEach=function(e){r.forEach(this.handlers,function(t){null!==t&&e(t)})},e.exports=i},1312:function(e,t,n){"use strict";var r=n(264);e.exports=r.isStandardBrowserEnv()?{write:function(e,t,n,i,o,a){var s=[];s.push(e+"="+encodeURIComponent(t)),r.isNumber(n)&&s.push("expires="+new Date(n).toGMTString()),r.isString(i)&&s.push("path="+i),r.isString(o)&&s.push("domain="+o),!0===a&&s.push("secure"),document.cookie=s.join("; ")},read:function(e){var t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove:function(e){this.write(e,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}}},1313:function(e,t,n){"use strict";var r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";function i(){this.message="String contains an invalid character"}i.prototype=new Error,i.prototype.code=5,i.prototype.name="InvalidCharacterError",e.exports=function(e){for(var t,n,o=String(e),a="",s=0,u=r;o.charAt(0|s)||(u="=",s%1);a+=u.charAt(63&t>>8-s%1*8)){if((n=o.charCodeAt(s+=.75))>255)throw new i;t=t<<8|n}return a}},1314:function(e,t,n){"use strict";var r=n(264);e.exports=r.isStandardBrowserEnv()?function(){var e,t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");function i(e){var r=e;return t&&(n.setAttribute("href",r),r=n.href),n.setAttribute("href",r),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:"/"===n.pathname.charAt(0)?n.pathname:"/"+n.pathname}}return e=i(window.location.href),function(t){var n=r.isString(t)?i(t):t;return n.protocol===e.protocol&&n.host===e.host}}():function(){return!0}},1315:function(e,t,n){"use strict";var r=n(264),i=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];e.exports=function(e){var t,n,o,a={};return e?(r.forEach(e.split("\n"),function(e){if(o=e.indexOf(":"),t=r.trim(e.substr(0,o)).toLowerCase(),n=r.trim(e.substr(o+1)),t){if(a[t]&&i.indexOf(t)>=0)return;a[t]="set-cookie"===t?(a[t]?a[t]:[]).concat([n]):a[t]?a[t]+", "+n:n}}),a):a}},1316:function(e,t,n){"use strict";var r=n(264);function i(e){return encodeURIComponent(e).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}e.exports=function(e,t,n){if(!t)return e;var o;if(n)o=n(t);else if(r.isURLSearchParams(t))o=t.toString();else{var a=[];r.forEach(t,function(e,t){null!==e&&void 0!==e&&(r.isArray(e)&&(t+="[]"),r.isArray(e)||(e=[e]),r.forEach(e,function(e){r.isDate(e)?e=e.toISOString():r.isObject(e)&&(e=JSON.stringify(e)),a.push(i(t)+"="+i(e))}))}),o=a.join("&")}return o&&(e+=(-1===e.indexOf("?")?"?":"&")+o),e}},1317:function(e,t,n){"use strict";e.exports=function(e,t,n,r,i){return e.config=t,n&&(e.code=n),e.request=r,e.response=i,e}},1318:function(e,t,n){"use strict";var r=n(696);e.exports=function(e,t,n){var i=n.config.validateStatus;n.status&&i&&!i(n.status)?t(r("Request failed with status code "+n.status,n.config,null,n.request,n)):e(n)}},1319:function(e,t,n){"use strict";var r=n(264);e.exports=function(e,t){r.forEach(e,function(n,r){r!==t&&r.toUpperCase()===t.toUpperCase()&&(e[t]=n,delete e[r])})}},132:function(e,t,n){"use strict";var r=n(0),i=n.n(r),o=n(3),a=n.n(o),s=n(1),u=(n(693),n(5)),c=n(38),l=n(47),f=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();var h=function(){function e(t,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),null!==t&&(this.currentProject="string"==typeof t?JSON.parse(t):t),e.init(n,r)}return f(e,null,[{key:"init",value:function(e,t){var n=i()(e);e||(n=i()(".js-milestone-select")),n.each(function(e,n){var r=void 0,o=void 0,f=void 0,h=void 0,d=i()(n),p=(d.data("projectId"),d.data("milestones")),v=d.data("issueUpdate"),m=d.data("showNo"),g=d.data("showAny"),y=d.data("showMenuAbove"),b=d.data("showUpcoming"),w=d.data("showStarted"),E=d.data("useId"),_=d.data("defaultLabel"),C=d.data("defaultNo"),T=(d.data("issuableId"),d.data("abilityName")),x=d.closest(".selectbox"),k=x.closest(".block"),S=k.find(".sidebar-collapsed-icon"),A=k.find(".value"),O=k.find(".block-loading").fadeOut();return h=g?"":null,h=m&&C?"No Milestone":h,f=d.data("selected")||h,v&&(o=a.a.template('<a href="<%- web_url %>" class="bold has-tooltip" data-container="body" title="<%- remaining %>"><%- title %></a>'),r='<span class="no-value">None</span>'),d.glDropdown({showMenuAbove:y,data:function(e,t){return u.a.get(p).then(function(e){var n=e.data,r=[];g&&r.push({id:null,name:null,title:"Any Milestone"}),m&&r.push({id:-1,name:"No Milestone",title:"No Milestone"}),b&&r.push({id:-2,name:"#upcoming",title:"Upcoming"}),w&&r.push({id:-3,name:"#started",title:"Started"}),r.length&&r.push("divider"),t(r.concat(n)),y&&d.data("glDropdown").positionMenuAbove(),i()('[data-milestone-id="'+a.a.escape(f)+'"] > a').addClass("is-active")})},renderRow:function(e){return'\n          <li data-milestone-id="'+a.a.escape(e.name)+"\">\n            <a href='#' class='dropdown-menu-milestone-link'>\n              "+a.a.escape(e.title)+"\n            </a>\n          </li>\n        "},filterable:!0,search:{fields:["title"]},selectable:!0,toggleLabel:function(e,t,n){return e&&"id"in e&&i()(t).hasClass("is-active")?e.title:_},defaultLabel:_,fieldName:d.data("fieldName"),text:function(e){return a.a.escape(e.title)},id:function(e){return E||d.is(".js-issuable-form-dropdown")?e.id:e.name},hidden:function(){return x.hide(),A.css("display","")},opened:function(e){var n=i()(e.currentTarget);(d.hasClass("js-issue-board-sidebar")||t.handleClick)&&(f=d[0].dataset.selected||h),i()("a.is-active",n).removeClass("is-active"),i()('[data-milestone-id="'+a.a.escape(f)+'"] > a',n).addClass("is-active")},vue:d.hasClass("js-issue-board-sidebar"),clicked:function(e){e.$el;var n=e.e,a=e.selectedObj,p=void 0,m=void 0;if(a){if(t.handleClick)return n.preventDefault(),void t.handleClick(a);var g=i()("body").attr("data-page"),y="projects:issues:index"===g,b=g==g&&"projects:merge_requests:index"===g,w=a.name!==f;if(f=w?a.name:h,d.hasClass("js-filter-bulk-update")||d.hasClass("js-issuable-form-dropdown"))n.preventDefault();else if(d.closest(".add-issues-modal").length&&(m=l.a.store.filter),m)m[d.data("fieldName")]=a.name,n.preventDefault();else{if(d.hasClass("js-filter-submit")&&(y||b))return Issuable.filterResults(d.closest("form"));if(d.hasClass("js-filter-submit"))return d.closest("form").submit();if(!d.hasClass("js-issue-board-sidebar"))return a=x.find('input[type="hidden"]').val(),(p={})[T]={},p[T].milestone_id=null!=a?a:null,O.removeClass("hidden").fadeIn(),d.trigger("loading.gl.dropdown"),u.a.put(v,p).then(function(e){var t=e.data;return d.trigger("loaded.gl.dropdown"),O.fadeOut(),x.hide(),A.css("display",""),null!=t.milestone?(t.milestone.remaining=Object(c.f)(t.milestone.due_date),t.milestone.name=t.milestone.title,A.html(o(t.milestone)),S.attr("data-original-title",t.milestone.name+"<br />"+t.milestone.remaining).find("span").text(t.milestone.title)):(A.html(r),S.attr("data-original-title",Object(s.a)("Milestone")).find("span").text(Object(s.a)("None")))}).catch(function(){O.fadeOut()});-1!==a.id&&w?gl.issueBoards.boardStoreIssueSet("milestone",new ListMilestone({id:a.id,title:a.name})):gl.issueBoards.boardStoreIssueDelete("milestone"),d.trigger("loading.gl.dropdown"),O.removeClass("hidden").fadeIn(),gl.issueBoards.BoardsStore.detail.issue.update(d.attr("data-issue-update")).then(function(){d.trigger("loaded.gl.dropdown"),O.fadeOut()}).catch(function(){O.fadeOut()})}}}})})}}]),e}();t.a=h,window.MilestoneSelect=h},1320:function(e,t,n){"use strict";var r=n(627),i=n(264),o=n(1311),a=n(1310);function s(e){this.defaults=e,this.interceptors={request:new o,response:new o}}s.prototype.request=function(e){"string"==typeof e&&(e=i.merge({url:arguments[0]},arguments[1])),(e=i.merge(r,this.defaults,{method:"get"},e)).method=e.method.toLowerCase();var t=[a,void 0],n=Promise.resolve(e);for(this.interceptors.request.forEach(function(e){t.unshift(e.fulfilled,e.rejected)}),this.interceptors.response.forEach(function(e){t.push(e.fulfilled,e.rejected)});t.length;)n=n.then(t.shift(),t.shift());return n},i.forEach(["delete","get","head","options"],function(e){s.prototype[e]=function(t,n){return this.request(i.merge(n||{},{method:e,url:t}))}}),i.forEach(["post","put","patch"],function(e){s.prototype[e]=function(t,n,r){return this.request(i.merge(r||{},{method:e,url:t,data:n}))}}),e.exports=s},1321:function(e,t){function n(e){return!!e.constructor&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}
  /*!
   * Determine if an object is a Buffer
   *
   * @author   Feross Aboukhadijeh <https://feross.org>
   * @license  MIT
   */
  e.exports=function(e){return null!=e&&(n(e)||function(e){return"function"==typeof e.readFloatLE&&"function"==typeof e.slice&&n(e.slice(0,0))}(e)||!!e._isBuffer)}},1322:function(e,t,n){"use strict";var r=n(264),i=n(698),o=n(1320),a=n(627);function s(e){var t=new o(e),n=i(o.prototype.request,t);return r.extend(n,o.prototype,t),r.extend(n,t),n}var u=s(a);u.Axios=o,u.create=function(e){return s(r.merge(a,e))},u.Cancel=n(694),u.CancelToken=n(1306),u.isCancel=n(695),u.all=function(e){return Promise.all(e)},u.spread=n(1305),e.exports=u,e.exports.default=u},1323:function(e,t){},1324:function(e,t,n){(function(e,t){!function(e,n){"use strict";if(!e.setImmediate){var r,i,o,a,s,u=1,c={},l=!1,f=e.document,h=Object.getPrototypeOf&&Object.getPrototypeOf(e);h=h&&h.setTimeout?h:e,"[object process]"==={}.toString.call(e.process)?r=function(e){t.nextTick(function(){p(e)})}:!function(){if(e.postMessage&&!e.importScripts){var t=!0,n=e.onmessage;return e.onmessage=function(){t=!1},e.postMessage("","*"),e.onmessage=n,t}}()?e.MessageChannel?((o=new MessageChannel).port1.onmessage=function(e){p(e.data)},r=function(e){o.port2.postMessage(e)}):f&&"onreadystatechange"in f.createElement("script")?(i=f.documentElement,r=function(e){var t=f.createElement("script");t.onreadystatechange=function(){p(e),t.onreadystatechange=null,i.removeChild(t),t=null},i.appendChild(t)}):r=function(e){setTimeout(p,0,e)}:(a="setImmediate$"+Math.random()+"$",s=function(t){t.source===e&&"string"==typeof t.data&&0===t.data.indexOf(a)&&p(+t.data.slice(a.length))},e.addEventListener?e.addEventListener("message",s,!1):e.attachEvent("onmessage",s),r=function(t){e.postMessage(a+t,"*")}),h.setImmediate=function(e){"function"!=typeof e&&(e=new Function(""+e));for(var t=new Array(arguments.length-1),n=0;n<t.length;n++)t[n]=arguments[n+1];var i={callback:e,args:t};return c[u]=i,r(u),u++},h.clearImmediate=d}function d(e){delete c[e]}function p(e){if(l)setTimeout(p,0,e);else{var t=c[e];if(t){l=!0;try{!function(e){var t=e.callback,r=e.args;switch(r.length){case 0:t();break;case 1:t(r[0]);break;case 2:t(r[0],r[1]);break;case 3:t(r[0],r[1],r[2]);break;default:t.apply(n,r)}}(t)}finally{d(e),l=!1}}}}}("undefined"==typeof self?void 0===e?this:e:self)}).call(this,n(174),n(221))},1325:function(e,t,n){"use strict";n.r(t),function(e){for(
  /**!
   * @fileOverview Kickass library to create and place poppers near their reference elements.
   * @version 1.14.3
   * @license
   * Copyright (c) 2016 Federico Zivolo and contributors
   *
   * Permission is hereby granted, free of charge, to any person obtaining a copy
   * of this software and associated documentation files (the "Software"), to deal
   * in the Software without restriction, including without limitation the rights
   * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
   * copies of the Software, and to permit persons to whom the Software is
   * furnished to do so, subject to the following conditions:
   *
   * The above copyright notice and this permission notice shall be included in all
   * copies or substantial portions of the Software.
   *
   * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
   * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
   * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
   * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
   * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
   * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
   * SOFTWARE.
   */
  var n="undefined"!=typeof window&&"undefined"!=typeof document,r=["Edge","Trident","Firefox"],i=0,o=0;o<r.length;o+=1)if(n&&navigator.userAgent.indexOf(r[o])>=0){i=1;break}var a=n&&window.Promise?function(e){var t=!1;return function(){t||(t=!0,window.Promise.resolve().then(function(){t=!1,e()}))}}:function(e){var t=!1;return function(){t||(t=!0,setTimeout(function(){t=!1,e()},i))}};function s(e){return e&&"[object Function]"==={}.toString.call(e)}function u(e,t){if(1!==e.nodeType)return[];var n=getComputedStyle(e,null);return t?n[t]:n}function c(e){return"HTML"===e.nodeName?e:e.parentNode||e.host}function l(e){if(!e)return document.body;switch(e.nodeName){case"HTML":case"BODY":return e.ownerDocument.body;case"#document":return e.body}var t=u(e),n=t.overflow,r=t.overflowX,i=t.overflowY;return/(auto|scroll|overlay)/.test(n+i+r)?e:l(c(e))}var f=n&&!(!window.MSInputMethodContext||!document.documentMode),h=n&&/MSIE 10/.test(navigator.userAgent);function d(e){return 11===e?f:10===e?h:f||h}function p(e){if(!e)return document.documentElement;for(var t=d(10)?document.body:null,n=e.offsetParent;n===t&&e.nextElementSibling;)n=(e=e.nextElementSibling).offsetParent;var r=n&&n.nodeName;return r&&"BODY"!==r&&"HTML"!==r?-1!==["TD","TABLE"].indexOf(n.nodeName)&&"static"===u(n,"position")?p(n):n:e?e.ownerDocument.documentElement:document.documentElement}function v(e){return null!==e.parentNode?v(e.parentNode):e}function m(e,t){if(!(e&&e.nodeType&&t&&t.nodeType))return document.documentElement;var n=e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_FOLLOWING,r=n?e:t,i=n?t:e,o=document.createRange();o.setStart(r,0),o.setEnd(i,0);var a,s,u=o.commonAncestorContainer;if(e!==u&&t!==u||r.contains(i))return"BODY"===(s=(a=u).nodeName)||"HTML"!==s&&p(a.firstElementChild)!==a?p(u):u;var c=v(e);return c.host?m(c.host,t):m(e,v(t).host)}function g(e){var t="top"===(arguments.length>1&&void 0!==arguments[1]?arguments[1]:"top")?"scrollTop":"scrollLeft",n=e.nodeName;if("BODY"===n||"HTML"===n){var r=e.ownerDocument.documentElement;return(e.ownerDocument.scrollingElement||r)[t]}return e[t]}function y(e,t){var n="x"===t?"Left":"Top",r="Left"===n?"Right":"Bottom";return parseFloat(e["border"+n+"Width"],10)+parseFloat(e["border"+r+"Width"],10)}function b(e,t,n,r){return Math.max(t["offset"+e],t["scroll"+e],n["client"+e],n["offset"+e],n["scroll"+e],d(10)?n["offset"+e]+r["margin"+("Height"===e?"Top":"Left")]+r["margin"+("Height"===e?"Bottom":"Right")]:0)}function w(){var e=document.body,t=document.documentElement,n=d(10)&&getComputedStyle(t);return{height:b("Height",e,t,n),width:b("Width",e,t,n)}}var E=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},_=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),C=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e},T=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};function x(e){return T({},e,{right:e.left+e.width,bottom:e.top+e.height})}function k(e){var t={};try{if(d(10)){t=e.getBoundingClientRect();var n=g(e,"top"),r=g(e,"left");t.top+=n,t.left+=r,t.bottom+=n,t.right+=r}else t=e.getBoundingClientRect()}catch(e){}var i={left:t.left,top:t.top,width:t.right-t.left,height:t.bottom-t.top},o="HTML"===e.nodeName?w():{},a=o.width||e.clientWidth||i.right-i.left,s=o.height||e.clientHeight||i.bottom-i.top,c=e.offsetWidth-a,l=e.offsetHeight-s;if(c||l){var f=u(e);c-=y(f,"x"),l-=y(f,"y"),i.width-=c,i.height-=l}return x(i)}function S(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=d(10),i="HTML"===t.nodeName,o=k(e),a=k(t),s=l(e),c=u(t),f=parseFloat(c.borderTopWidth,10),h=parseFloat(c.borderLeftWidth,10);n&&"HTML"===t.nodeName&&(a.top=Math.max(a.top,0),a.left=Math.max(a.left,0));var p=x({top:o.top-a.top-f,left:o.left-a.left-h,width:o.width,height:o.height});if(p.marginTop=0,p.marginLeft=0,!r&&i){var v=parseFloat(c.marginTop,10),m=parseFloat(c.marginLeft,10);p.top-=f-v,p.bottom-=f-v,p.left-=h-m,p.right-=h-m,p.marginTop=v,p.marginLeft=m}return(r&&!n?t.contains(s):t===s&&"BODY"!==s.nodeName)&&(p=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=g(t,"top"),i=g(t,"left"),o=n?-1:1;return e.top+=r*o,e.bottom+=r*o,e.left+=i*o,e.right+=i*o,e}(p,t)),p}function A(e){if(!e||!e.parentElement||d())return document.documentElement;for(var t=e.parentElement;t&&"none"===u(t,"transform");)t=t.parentElement;return t||document.documentElement}function O(e,t,n,r){var i=arguments.length>4&&void 0!==arguments[4]&&arguments[4],o={top:0,left:0},a=i?A(e):m(e,t);if("viewport"===r)o=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=e.ownerDocument.documentElement,r=S(e,n),i=Math.max(n.clientWidth,window.innerWidth||0),o=Math.max(n.clientHeight,window.innerHeight||0),a=t?0:g(n),s=t?0:g(n,"left");return x({top:a-r.top+r.marginTop,left:s-r.left+r.marginLeft,width:i,height:o})}(a,i);else{var s=void 0;"scrollParent"===r?"BODY"===(s=l(c(t))).nodeName&&(s=e.ownerDocument.documentElement):s="window"===r?e.ownerDocument.documentElement:r;var f=S(s,a,i);if("HTML"!==s.nodeName||function e(t){var n=t.nodeName;return"BODY"!==n&&"HTML"!==n&&("fixed"===u(t,"position")||e(c(t)))}(a))o=f;else{var h=w(),d=h.height,p=h.width;o.top+=f.top-f.marginTop,o.bottom=d+f.top,o.left+=f.left-f.marginLeft,o.right=p+f.left}}return o.left+=n,o.top+=n,o.right-=n,o.bottom-=n,o}function j(e,t,n,r,i){var o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0;if(-1===e.indexOf("auto"))return e;var a=O(n,r,o,i),s={top:{width:a.width,height:t.top-a.top},right:{width:a.right-t.right,height:a.height},bottom:{width:a.width,height:a.bottom-t.bottom},left:{width:t.left-a.left,height:a.height}},u=Object.keys(s).map(function(e){return T({key:e},s[e],{area:(t=s[e],t.width*t.height)});var t}).sort(function(e,t){return t.area-e.area}),c=u.filter(function(e){var t=e.width,r=e.height;return t>=n.clientWidth&&r>=n.clientHeight}),l=c.length>0?c[0].key:u[0].key,f=e.split("-")[1];return l+(f?"-"+f:"")}function I(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;return S(n,r?A(t):m(t,n),r)}function D(e){var t=getComputedStyle(e),n=parseFloat(t.marginTop)+parseFloat(t.marginBottom),r=parseFloat(t.marginLeft)+parseFloat(t.marginRight);return{width:e.offsetWidth+r,height:e.offsetHeight+n}}function L(e){var t={left:"right",right:"left",bottom:"top",top:"bottom"};return e.replace(/left|right|bottom|top/g,function(e){return t[e]})}function P(e,t,n){n=n.split("-")[0];var r=D(e),i={width:r.width,height:r.height},o=-1!==["right","left"].indexOf(n),a=o?"top":"left",s=o?"left":"top",u=o?"height":"width",c=o?"width":"height";return i[a]=t[a]+t[u]/2-r[u]/2,i[s]=n===s?t[s]-r[c]:t[L(s)],i}function N(e,t){return Array.prototype.find?e.find(t):e.filter(t)[0]}function M(e,t,n){return(void 0===n?e:e.slice(0,function(e,t,n){if(Array.prototype.findIndex)return e.findIndex(function(e){return e[t]===n});var r=N(e,function(e){return e[t]===n});return e.indexOf(r)}(e,"name",n))).forEach(function(e){e.function&&console.warn("`modifier.function` is deprecated, use `modifier.fn`!");var n=e.function||e.fn;e.enabled&&s(n)&&(t.offsets.popper=x(t.offsets.popper),t.offsets.reference=x(t.offsets.reference),t=n(t,e))}),t}function F(e,t){return e.some(function(e){var n=e.name;return e.enabled&&n===t})}function R(e){for(var t=[!1,"ms","Webkit","Moz","O"],n=e.charAt(0).toUpperCase()+e.slice(1),r=0;r<t.length;r++){var i=t[r],o=i?""+i+n:e;if(void 0!==document.body.style[o])return o}return null}function H(e){var t=e.ownerDocument;return t?t.defaultView:window}function $(e,t,n,r){n.updateBound=r,H(e).addEventListener("resize",n.updateBound,{passive:!0});var i=l(e);return function e(t,n,r,i){var o="BODY"===t.nodeName,a=o?t.ownerDocument.defaultView:t;a.addEventListener(n,r,{passive:!0}),o||e(l(a.parentNode),n,r,i),i.push(a)}(i,"scroll",n.updateBound,n.scrollParents),n.scrollElement=i,n.eventsEnabled=!0,n}function q(){var e,t;this.state.eventsEnabled&&(cancelAnimationFrame(this.scheduleUpdate),this.state=(e=this.reference,t=this.state,H(e).removeEventListener("resize",t.updateBound),t.scrollParents.forEach(function(e){e.removeEventListener("scroll",t.updateBound)}),t.updateBound=null,t.scrollParents=[],t.scrollElement=null,t.eventsEnabled=!1,t))}function B(e){return""!==e&&!isNaN(parseFloat(e))&&isFinite(e)}function U(e,t){Object.keys(t).forEach(function(n){var r="";-1!==["width","height","top","right","bottom","left"].indexOf(n)&&B(t[n])&&(r="px"),e.style[n]=t[n]+r})}function W(e,t,n){var r=N(e,function(e){return e.name===t}),i=!!r&&e.some(function(e){return e.name===n&&e.enabled&&e.order<r.order});if(!i){var o="`"+t+"`",a="`"+n+"`";console.warn(a+" modifier is required by "+o+" modifier in order to work, be sure to include it before "+o+"!")}return i}var V=["auto-start","auto","auto-end","top-start","top","top-end","right-start","right","right-end","bottom-end","bottom","bottom-start","left-end","left","left-start"],K=V.slice(3);function G(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=K.indexOf(e),r=K.slice(n+1).concat(K.slice(0,n));return t?r.reverse():r}var z={FLIP:"flip",CLOCKWISE:"clockwise",COUNTERCLOCKWISE:"counterclockwise"};function Q(e,t,n,r){var i=[0,0],o=-1!==["right","left"].indexOf(r),a=e.split(/(\+|\-)/).map(function(e){return e.trim()}),s=a.indexOf(N(a,function(e){return-1!==e.search(/,|\s/)}));a[s]&&-1===a[s].indexOf(",")&&console.warn("Offsets separated by white space(s) are deprecated, use a comma (,) instead.");var u=/\s*,\s*|\s+/,c=-1!==s?[a.slice(0,s).concat([a[s].split(u)[0]]),[a[s].split(u)[1]].concat(a.slice(s+1))]:[a];return(c=c.map(function(e,r){var i=(1===r?!o:o)?"height":"width",a=!1;return e.reduce(function(e,t){return""===e[e.length-1]&&-1!==["+","-"].indexOf(t)?(e[e.length-1]=t,a=!0,e):a?(e[e.length-1]+=t,a=!1,e):e.concat(t)},[]).map(function(e){return function(e,t,n,r){var i=e.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),o=+i[1],a=i[2];if(!o)return e;if(0===a.indexOf("%")){var s=void 0;switch(a){case"%p":s=n;break;case"%":case"%r":default:s=r}return x(s)[t]/100*o}if("vh"===a||"vw"===a)return("vh"===a?Math.max(document.documentElement.clientHeight,window.innerHeight||0):Math.max(document.documentElement.clientWidth,window.innerWidth||0))/100*o;return o}(e,i,t,n)})})).forEach(function(e,t){e.forEach(function(n,r){B(n)&&(i[t]+=n*("-"===e[r-1]?-1:1))})}),i}var Y={placement:"bottom",positionFixed:!1,eventsEnabled:!0,removeOnDestroy:!1,onCreate:function(){},onUpdate:function(){},modifiers:{shift:{order:100,enabled:!0,fn:function(e){var t=e.placement,n=t.split("-")[0],r=t.split("-")[1];if(r){var i=e.offsets,o=i.reference,a=i.popper,s=-1!==["bottom","top"].indexOf(n),u=s?"left":"top",c=s?"width":"height",l={start:C({},u,o[u]),end:C({},u,o[u]+o[c]-a[c])};e.offsets.popper=T({},a,l[r])}return e}},offset:{order:200,enabled:!0,fn:function(e,t){var n=t.offset,r=e.placement,i=e.offsets,o=i.popper,a=i.reference,s=r.split("-")[0],u=void 0;return u=B(+n)?[+n,0]:Q(n,o,a,s),"left"===s?(o.top+=u[0],o.left-=u[1]):"right"===s?(o.top+=u[0],o.left+=u[1]):"top"===s?(o.left+=u[0],o.top-=u[1]):"bottom"===s&&(o.left+=u[0],o.top+=u[1]),e.popper=o,e},offset:0},preventOverflow:{order:300,enabled:!0,fn:function(e,t){var n=t.boundariesElement||p(e.instance.popper);e.instance.reference===n&&(n=p(n));var r=R("transform"),i=e.instance.popper.style,o=i.top,a=i.left,s=i[r];i.top="",i.left="",i[r]="";var u=O(e.instance.popper,e.instance.reference,t.padding,n,e.positionFixed);i.top=o,i.left=a,i[r]=s,t.boundaries=u;var c=t.priority,l=e.offsets.popper,f={primary:function(e){var n=l[e];return l[e]<u[e]&&!t.escapeWithReference&&(n=Math.max(l[e],u[e])),C({},e,n)},secondary:function(e){var n="right"===e?"left":"top",r=l[n];return l[e]>u[e]&&!t.escapeWithReference&&(r=Math.min(l[n],u[e]-("right"===e?l.width:l.height))),C({},n,r)}};return c.forEach(function(e){var t=-1!==["left","top"].indexOf(e)?"primary":"secondary";l=T({},l,f[t](e))}),e.offsets.popper=l,e},priority:["left","right","top","bottom"],padding:5,boundariesElement:"scrollParent"},keepTogether:{order:400,enabled:!0,fn:function(e){var t=e.offsets,n=t.popper,r=t.reference,i=e.placement.split("-")[0],o=Math.floor,a=-1!==["top","bottom"].indexOf(i),s=a?"right":"bottom",u=a?"left":"top",c=a?"width":"height";return n[s]<o(r[u])&&(e.offsets.popper[u]=o(r[u])-n[c]),n[u]>o(r[s])&&(e.offsets.popper[u]=o(r[s])),e}},arrow:{order:500,enabled:!0,fn:function(e,t){var n;if(!W(e.instance.modifiers,"arrow","keepTogether"))return e;var r=t.element;if("string"==typeof r){if(!(r=e.instance.popper.querySelector(r)))return e}else if(!e.instance.popper.contains(r))return console.warn("WARNING: `arrow.element` must be child of its popper element!"),e;var i=e.placement.split("-")[0],o=e.offsets,a=o.popper,s=o.reference,c=-1!==["left","right"].indexOf(i),l=c?"height":"width",f=c?"Top":"Left",h=f.toLowerCase(),d=c?"left":"top",p=c?"bottom":"right",v=D(r)[l];s[p]-v<a[h]&&(e.offsets.popper[h]-=a[h]-(s[p]-v)),s[h]+v>a[p]&&(e.offsets.popper[h]+=s[h]+v-a[p]),e.offsets.popper=x(e.offsets.popper);var m=s[h]+s[l]/2-v/2,g=u(e.instance.popper),y=parseFloat(g["margin"+f],10),b=parseFloat(g["border"+f+"Width"],10),w=m-e.offsets.popper[h]-y-b;return w=Math.max(Math.min(a[l]-v,w),0),e.arrowElement=r,e.offsets.arrow=(C(n={},h,Math.round(w)),C(n,d,""),n),e},element:"[x-arrow]"},flip:{order:600,enabled:!0,fn:function(e,t){if(F(e.instance.modifiers,"inner"))return e;if(e.flipped&&e.placement===e.originalPlacement)return e;var n=O(e.instance.popper,e.instance.reference,t.padding,t.boundariesElement,e.positionFixed),r=e.placement.split("-")[0],i=L(r),o=e.placement.split("-")[1]||"",a=[];switch(t.behavior){case z.FLIP:a=[r,i];break;case z.CLOCKWISE:a=G(r);break;case z.COUNTERCLOCKWISE:a=G(r,!0);break;default:a=t.behavior}return a.forEach(function(s,u){if(r!==s||a.length===u+1)return e;r=e.placement.split("-")[0],i=L(r);var c=e.offsets.popper,l=e.offsets.reference,f=Math.floor,h="left"===r&&f(c.right)>f(l.left)||"right"===r&&f(c.left)<f(l.right)||"top"===r&&f(c.bottom)>f(l.top)||"bottom"===r&&f(c.top)<f(l.bottom),d=f(c.left)<f(n.left),p=f(c.right)>f(n.right),v=f(c.top)<f(n.top),m=f(c.bottom)>f(n.bottom),g="left"===r&&d||"right"===r&&p||"top"===r&&v||"bottom"===r&&m,y=-1!==["top","bottom"].indexOf(r),b=!!t.flipVariations&&(y&&"start"===o&&d||y&&"end"===o&&p||!y&&"start"===o&&v||!y&&"end"===o&&m);(h||g||b)&&(e.flipped=!0,(h||g)&&(r=a[u+1]),b&&(o=function(e){return"end"===e?"start":"start"===e?"end":e}(o)),e.placement=r+(o?"-"+o:""),e.offsets.popper=T({},e.offsets.popper,P(e.instance.popper,e.offsets.reference,e.placement)),e=M(e.instance.modifiers,e,"flip"))}),e},behavior:"flip",padding:5,boundariesElement:"viewport"},inner:{order:700,enabled:!1,fn:function(e){var t=e.placement,n=t.split("-")[0],r=e.offsets,i=r.popper,o=r.reference,a=-1!==["left","right"].indexOf(n),s=-1===["top","left"].indexOf(n);return i[a?"left":"top"]=o[n]-(s?i[a?"width":"height"]:0),e.placement=L(t),e.offsets.popper=x(i),e}},hide:{order:800,enabled:!0,fn:function(e){if(!W(e.instance.modifiers,"hide","preventOverflow"))return e;var t=e.offsets.reference,n=N(e.instance.modifiers,function(e){return"preventOverflow"===e.name}).boundaries;if(t.bottom<n.top||t.left>n.right||t.top>n.bottom||t.right<n.left){if(!0===e.hide)return e;e.hide=!0,e.attributes["x-out-of-boundaries"]=""}else{if(!1===e.hide)return e;e.hide=!1,e.attributes["x-out-of-boundaries"]=!1}return e}},computeStyle:{order:850,enabled:!0,fn:function(e,t){var n=t.x,r=t.y,i=e.offsets.popper,o=N(e.instance.modifiers,function(e){return"applyStyle"===e.name}).gpuAcceleration;void 0!==o&&console.warn("WARNING: `gpuAcceleration` option moved to `computeStyle` modifier and will not be supported in future versions of Popper.js!");var a=void 0!==o?o:t.gpuAcceleration,s=k(p(e.instance.popper)),u={position:i.position},c={left:Math.floor(i.left),top:Math.round(i.top),bottom:Math.round(i.bottom),right:Math.floor(i.right)},l="bottom"===n?"top":"bottom",f="right"===r?"left":"right",h=R("transform"),d=void 0,v=void 0;if(v="bottom"===l?-s.height+c.bottom:c.top,d="right"===f?-s.width+c.right:c.left,a&&h)u[h]="translate3d("+d+"px, "+v+"px, 0)",u[l]=0,u[f]=0,u.willChange="transform";else{var m="bottom"===l?-1:1,g="right"===f?-1:1;u[l]=v*m,u[f]=d*g,u.willChange=l+", "+f}var y={"x-placement":e.placement};return e.attributes=T({},y,e.attributes),e.styles=T({},u,e.styles),e.arrowStyles=T({},e.offsets.arrow,e.arrowStyles),e},gpuAcceleration:!0,x:"bottom",y:"right"},applyStyle:{order:900,enabled:!0,fn:function(e){var t,n;return U(e.instance.popper,e.styles),t=e.instance.popper,n=e.attributes,Object.keys(n).forEach(function(e){!1!==n[e]?t.setAttribute(e,n[e]):t.removeAttribute(e)}),e.arrowElement&&Object.keys(e.arrowStyles).length&&U(e.arrowElement,e.arrowStyles),e},onLoad:function(e,t,n,r,i){var o=I(i,t,e,n.positionFixed),a=j(n.placement,o,t,e,n.modifiers.flip.boundariesElement,n.modifiers.flip.padding);return t.setAttribute("x-placement",a),U(t,{position:n.positionFixed?"fixed":"absolute"}),n},gpuAcceleration:void 0}}},X=function(){function e(t,n){var r=this,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};E(this,e),this.scheduleUpdate=function(){return requestAnimationFrame(r.update)},this.update=a(this.update.bind(this)),this.options=T({},e.Defaults,i),this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]},this.reference=t&&t.jquery?t[0]:t,this.popper=n&&n.jquery?n[0]:n,this.options.modifiers={},Object.keys(T({},e.Defaults.modifiers,i.modifiers)).forEach(function(t){r.options.modifiers[t]=T({},e.Defaults.modifiers[t]||{},i.modifiers?i.modifiers[t]:{})}),this.modifiers=Object.keys(this.options.modifiers).map(function(e){return T({name:e},r.options.modifiers[e])}).sort(function(e,t){return e.order-t.order}),this.modifiers.forEach(function(e){e.enabled&&s(e.onLoad)&&e.onLoad(r.reference,r.popper,r.options,e,r.state)}),this.update();var o=this.options.eventsEnabled;o&&this.enableEventListeners(),this.state.eventsEnabled=o}return _(e,[{key:"update",value:function(){return function(){if(!this.state.isDestroyed){var e={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};e.offsets.reference=I(this.state,this.popper,this.reference,this.options.positionFixed),e.placement=j(this.options.placement,e.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement,this.options.modifiers.flip.padding),e.originalPlacement=e.placement,e.positionFixed=this.options.positionFixed,e.offsets.popper=P(this.popper,e.offsets.reference,e.placement),e.offsets.popper.position=this.options.positionFixed?"fixed":"absolute",e=M(this.modifiers,e),this.state.isCreated?this.options.onUpdate(e):(this.state.isCreated=!0,this.options.onCreate(e))}}.call(this)}},{key:"destroy",value:function(){return function(){return this.state.isDestroyed=!0,F(this.modifiers,"applyStyle")&&(this.popper.removeAttribute("x-placement"),this.popper.style.position="",this.popper.style.top="",this.popper.style.left="",this.popper.style.right="",this.popper.style.bottom="",this.popper.style.willChange="",this.popper.style[R("transform")]=""),this.disableEventListeners(),this.options.removeOnDestroy&&this.popper.parentNode.removeChild(this.popper),this}.call(this)}},{key:"enableEventListeners",value:function(){return function(){this.state.eventsEnabled||(this.state=$(this.reference,this.options,this.state,this.scheduleUpdate))}.call(this)}},{key:"disableEventListeners",value:function(){return q.call(this)}}]),e}();X.Utils=("undefined"!=typeof window?window:e).PopperUtils,X.placements=V,X.Defaults=Y,t.default=X}.call(this,n(174))},1326:function(e,t,n){
  /*!
    * Bootstrap v4.1.1 (https://getbootstrap.com/)
    * Copyright 2011-2018 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
    * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
    */
  !function(e,t,n){"use strict";function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function i(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){o(e,t,n[t])})}return e}t=t&&t.hasOwnProperty("default")?t.default:t,n=n&&n.hasOwnProperty("default")?n.default:n;var s=function(e){var t="transitionend";function n(t){var n=this,i=!1;return e(this).one(r.TRANSITION_END,function(){i=!0}),setTimeout(function(){i||r.triggerTransitionEnd(n)},t),this}var r={TRANSITION_END:"bsTransitionEnd",getUID:function(e){do{e+=~~(1e6*Math.random())}while(document.getElementById(e));return e},getSelectorFromElement:function(t){var n=t.getAttribute("data-target");n&&"#"!==n||(n=t.getAttribute("href")||"");try{var r=e(document).find(n);return r.length>0?n:null}catch(e){return null}},getTransitionDurationFromElement:function(t){if(!t)return 0;var n=e(t).css("transition-duration"),r=parseFloat(n);return r?(n=n.split(",")[0],1e3*parseFloat(n)):0},reflow:function(e){return e.offsetHeight},triggerTransitionEnd:function(n){e(n).trigger(t)},supportsTransitionEnd:function(){return Boolean(t)},isElement:function(e){return(e[0]||e).nodeType},typeCheckConfig:function(e,t,n){for(var i in n)if(Object.prototype.hasOwnProperty.call(n,i)){var o=n[i],a=t[i],s=a&&r.isElement(a)?"element":(u=a,{}.toString.call(u).match(/\s([a-z]+)/i)[1].toLowerCase());if(!new RegExp(o).test(s))throw new Error(e.toUpperCase()+': Option "'+i+'" provided type "'+s+'" but expected type "'+o+'".')}var u}};return e.fn.emulateTransitionEnd=n,e.event.special[r.TRANSITION_END]={bindType:t,delegateType:t,handle:function(t){if(e(t.target).is(this))return t.handleObj.handler.apply(this,arguments)}},r}(t),u=function(e){var t=e.fn.alert,n={CLOSE:"close.bs.alert",CLOSED:"closed.bs.alert",CLICK_DATA_API:"click.bs.alert.data-api"},r={ALERT:"alert",FADE:"fade",SHOW:"show"},o=function(){function t(e){this._element=e}var o=t.prototype;return o.close=function(e){var t=this._element;e&&(t=this._getRootElement(e));var n=this._triggerCloseEvent(t);n.isDefaultPrevented()||this._removeElement(t)},o.dispose=function(){e.removeData(this._element,"bs.alert"),this._element=null},o._getRootElement=function(t){var n=s.getSelectorFromElement(t),i=!1;return n&&(i=e(n)[0]),i||(i=e(t).closest("."+r.ALERT)[0]),i},o._triggerCloseEvent=function(t){var r=e.Event(n.CLOSE);return e(t).trigger(r),r},o._removeElement=function(t){var n=this;if(e(t).removeClass(r.SHOW),e(t).hasClass(r.FADE)){var i=s.getTransitionDurationFromElement(t);e(t).one(s.TRANSITION_END,function(e){return n._destroyElement(t,e)}).emulateTransitionEnd(i)}else this._destroyElement(t)},o._destroyElement=function(t){e(t).detach().trigger(n.CLOSED).remove()},t._jQueryInterface=function(n){return this.each(function(){var r=e(this),i=r.data("bs.alert");i||(i=new t(this),r.data("bs.alert",i)),"close"===n&&i[n](this)})},t._handleDismiss=function(e){return function(t){t&&t.preventDefault(),e.close(this)}},i(t,null,[{key:"VERSION",get:function(){return"4.1.1"}}]),t}();return e(document).on(n.CLICK_DATA_API,'[data-dismiss="alert"]',o._handleDismiss(new o)),e.fn.alert=o._jQueryInterface,e.fn.alert.Constructor=o,e.fn.alert.noConflict=function(){return e.fn.alert=t,o._jQueryInterface},o}(t),c=function(e){var t="button",n=e.fn[t],r={ACTIVE:"active",BUTTON:"btn",FOCUS:"focus"},o={DATA_TOGGLE_CARROT:'[data-toggle^="button"]',DATA_TOGGLE:'[data-toggle="buttons"]',INPUT:"input",ACTIVE:".active",BUTTON:".btn"},a={CLICK_DATA_API:"click.bs.button.data-api",FOCUS_BLUR_DATA_API:"focus.bs.button.data-api blur.bs.button.data-api"},s=function(){function t(e){this._element=e}var n=t.prototype;return n.toggle=function(){var t=!0,n=!0,i=e(this._element).closest(o.DATA_TOGGLE)[0];if(i){var a=e(this._element).find(o.INPUT)[0];if(a){if("radio"===a.type)if(a.checked&&e(this._element).hasClass(r.ACTIVE))t=!1;else{var s=e(i).find(o.ACTIVE)[0];s&&e(s).removeClass(r.ACTIVE)}if(t){if(a.hasAttribute("disabled")||i.hasAttribute("disabled")||a.classList.contains("disabled")||i.classList.contains("disabled"))return;a.checked=!e(this._element).hasClass(r.ACTIVE),e(a).trigger("change")}a.focus(),n=!1}}n&&this._element.setAttribute("aria-pressed",!e(this._element).hasClass(r.ACTIVE)),t&&e(this._element).toggleClass(r.ACTIVE)},n.dispose=function(){e.removeData(this._element,"bs.button"),this._element=null},t._jQueryInterface=function(n){return this.each(function(){var r=e(this).data("bs.button");r||(r=new t(this),e(this).data("bs.button",r)),"toggle"===n&&r[n]()})},i(t,null,[{key:"VERSION",get:function(){return"4.1.1"}}]),t}();return e(document).on(a.CLICK_DATA_API,o.DATA_TOGGLE_CARROT,function(t){t.preventDefault();var n=t.target;e(n).hasClass(r.BUTTON)||(n=e(n).closest(o.BUTTON)),s._jQueryInterface.call(e(n),"toggle")}).on(a.FOCUS_BLUR_DATA_API,o.DATA_TOGGLE_CARROT,function(t){var n=e(t.target).closest(o.BUTTON)[0];e(n).toggleClass(r.FOCUS,/^focus(in)?$/.test(t.type))}),e.fn[t]=s._jQueryInterface,e.fn[t].Constructor=s,e.fn[t].noConflict=function(){return e.fn[t]=n,s._jQueryInterface},s}(t),l=function(e){var t="carousel",n="bs.carousel",r="."+n,o=e.fn[t],u={interval:5e3,keyboard:!0,slide:!1,pause:"hover",wrap:!0},c={interval:"(number|boolean)",keyboard:"boolean",slide:"(boolean|string)",pause:"(string|boolean)",wrap:"boolean"},l={NEXT:"next",PREV:"prev",LEFT:"left",RIGHT:"right"},f={SLIDE:"slide"+r,SLID:"slid"+r,KEYDOWN:"keydown"+r,MOUSEENTER:"mouseenter"+r,MOUSELEAVE:"mouseleave"+r,TOUCHEND:"touchend"+r,LOAD_DATA_API:"load.bs.carousel.data-api",CLICK_DATA_API:"click.bs.carousel.data-api"},h={CAROUSEL:"carousel",ACTIVE:"active",SLIDE:"slide",RIGHT:"carousel-item-right",LEFT:"carousel-item-left",NEXT:"carousel-item-next",PREV:"carousel-item-prev",ITEM:"carousel-item"},d={ACTIVE:".active",ACTIVE_ITEM:".active.carousel-item",ITEM:".carousel-item",NEXT_PREV:".carousel-item-next, .carousel-item-prev",INDICATORS:".carousel-indicators",DATA_SLIDE:"[data-slide], [data-slide-to]",DATA_RIDE:'[data-ride="carousel"]'},p=function(){function o(t,n){this._items=null,this._interval=null,this._activeElement=null,this._isPaused=!1,this._isSliding=!1,this.touchTimeout=null,this._config=this._getConfig(n),this._element=e(t)[0],this._indicatorsElement=e(this._element).find(d.INDICATORS)[0],this._addEventListeners()}var p=o.prototype;return p.next=function(){this._isSliding||this._slide(l.NEXT)},p.nextWhenVisible=function(){!document.hidden&&e(this._element).is(":visible")&&"hidden"!==e(this._element).css("visibility")&&this.next()},p.prev=function(){this._isSliding||this._slide(l.PREV)},p.pause=function(t){t||(this._isPaused=!0),e(this._element).find(d.NEXT_PREV)[0]&&(s.triggerTransitionEnd(this._element),this.cycle(!0)),clearInterval(this._interval),this._interval=null},p.cycle=function(e){e||(this._isPaused=!1),this._interval&&(clearInterval(this._interval),this._interval=null),this._config.interval&&!this._isPaused&&(this._interval=setInterval((document.visibilityState?this.nextWhenVisible:this.next).bind(this),this._config.interval))},p.to=function(t){var n=this;this._activeElement=e(this._element).find(d.ACTIVE_ITEM)[0];var r=this._getItemIndex(this._activeElement);if(!(t>this._items.length-1||t<0))if(this._isSliding)e(this._element).one(f.SLID,function(){return n.to(t)});else{if(r===t)return this.pause(),void this.cycle();var i=t>r?l.NEXT:l.PREV;this._slide(i,this._items[t])}},p.dispose=function(){e(this._element).off(r),e.removeData(this._element,n),this._items=null,this._config=null,this._element=null,this._interval=null,this._isPaused=null,this._isSliding=null,this._activeElement=null,this._indicatorsElement=null},p._getConfig=function(e){return e=a({},u,e),s.typeCheckConfig(t,e,c),e},p._addEventListeners=function(){var t=this;this._config.keyboard&&e(this._element).on(f.KEYDOWN,function(e){return t._keydown(e)}),"hover"===this._config.pause&&(e(this._element).on(f.MOUSEENTER,function(e){return t.pause(e)}).on(f.MOUSELEAVE,function(e){return t.cycle(e)}),"ontouchstart"in document.documentElement&&e(this._element).on(f.TOUCHEND,function(){t.pause(),t.touchTimeout&&clearTimeout(t.touchTimeout),t.touchTimeout=setTimeout(function(e){return t.cycle(e)},500+t._config.interval)}))},p._keydown=function(e){if(!/input|textarea/i.test(e.target.tagName))switch(e.which){case 37:e.preventDefault(),this.prev();break;case 39:e.preventDefault(),this.next()}},p._getItemIndex=function(t){return this._items=e.makeArray(e(t).parent().find(d.ITEM)),this._items.indexOf(t)},p._getItemByDirection=function(e,t){var n=e===l.NEXT,r=e===l.PREV,i=this._getItemIndex(t),o=this._items.length-1,a=r&&0===i||n&&i===o;if(a&&!this._config.wrap)return t;var s=e===l.PREV?-1:1,u=(i+s)%this._items.length;return-1===u?this._items[this._items.length-1]:this._items[u]},p._triggerSlideEvent=function(t,n){var r=this._getItemIndex(t),i=this._getItemIndex(e(this._element).find(d.ACTIVE_ITEM)[0]),o=e.Event(f.SLIDE,{relatedTarget:t,direction:n,from:i,to:r});return e(this._element).trigger(o),o},p._setActiveIndicatorElement=function(t){if(this._indicatorsElement){e(this._indicatorsElement).find(d.ACTIVE).removeClass(h.ACTIVE);var n=this._indicatorsElement.children[this._getItemIndex(t)];n&&e(n).addClass(h.ACTIVE)}},p._slide=function(t,n){var r,i,o,a=this,u=e(this._element).find(d.ACTIVE_ITEM)[0],c=this._getItemIndex(u),p=n||u&&this._getItemByDirection(t,u),v=this._getItemIndex(p),m=Boolean(this._interval);if(t===l.NEXT?(r=h.LEFT,i=h.NEXT,o=l.LEFT):(r=h.RIGHT,i=h.PREV,o=l.RIGHT),p&&e(p).hasClass(h.ACTIVE))this._isSliding=!1;else{var g=this._triggerSlideEvent(p,o);if(!g.isDefaultPrevented()&&u&&p){this._isSliding=!0,m&&this.pause(),this._setActiveIndicatorElement(p);var y=e.Event(f.SLID,{relatedTarget:p,direction:o,from:c,to:v});if(e(this._element).hasClass(h.SLIDE)){e(p).addClass(i),s.reflow(p),e(u).addClass(r),e(p).addClass(r);var b=s.getTransitionDurationFromElement(u);e(u).one(s.TRANSITION_END,function(){e(p).removeClass(r+" "+i).addClass(h.ACTIVE),e(u).removeClass(h.ACTIVE+" "+i+" "+r),a._isSliding=!1,setTimeout(function(){return e(a._element).trigger(y)},0)}).emulateTransitionEnd(b)}else e(u).removeClass(h.ACTIVE),e(p).addClass(h.ACTIVE),this._isSliding=!1,e(this._element).trigger(y);m&&this.cycle()}}},o._jQueryInterface=function(t){return this.each(function(){var r=e(this).data(n),i=a({},u,e(this).data());"object"==typeof t&&(i=a({},i,t));var s="string"==typeof t?t:i.slide;if(r||(r=new o(this,i),e(this).data(n,r)),"number"==typeof t)r.to(t);else if("string"==typeof s){if(void 0===r[s])throw new TypeError('No method named "'+s+'"');r[s]()}else i.interval&&(r.pause(),r.cycle())})},o._dataApiClickHandler=function(t){var r=s.getSelectorFromElement(this);if(r){var i=e(r)[0];if(i&&e(i).hasClass(h.CAROUSEL)){var u=a({},e(i).data(),e(this).data()),c=this.getAttribute("data-slide-to");c&&(u.interval=!1),o._jQueryInterface.call(e(i),u),c&&e(i).data(n).to(c),t.preventDefault()}}},i(o,null,[{key:"VERSION",get:function(){return"4.1.1"}},{key:"Default",get:function(){return u}}]),o}();return e(document).on(f.CLICK_DATA_API,d.DATA_SLIDE,p._dataApiClickHandler),e(window).on(f.LOAD_DATA_API,function(){e(d.DATA_RIDE).each(function(){var t=e(this);p._jQueryInterface.call(t,t.data())})}),e.fn[t]=p._jQueryInterface,e.fn[t].Constructor=p,e.fn[t].noConflict=function(){return e.fn[t]=o,p._jQueryInterface},p}(t),f=function(e){var t="collapse",n="bs.collapse",r=e.fn[t],o={toggle:!0,parent:""},u={toggle:"boolean",parent:"(string|element)"},c={SHOW:"show.bs.collapse",SHOWN:"shown.bs.collapse",HIDE:"hide.bs.collapse",HIDDEN:"hidden.bs.collapse",CLICK_DATA_API:"click.bs.collapse.data-api"},l={SHOW:"show",COLLAPSE:"collapse",COLLAPSING:"collapsing",COLLAPSED:"collapsed"},f={WIDTH:"width",HEIGHT:"height"},h={ACTIVES:".show, .collapsing",DATA_TOGGLE:'[data-toggle="collapse"]'},d=function(){function r(t,n){this._isTransitioning=!1,this._element=t,this._config=this._getConfig(n),this._triggerArray=e.makeArray(e('[data-toggle="collapse"][href="#'+t.id+'"],[data-toggle="collapse"][data-target="#'+t.id+'"]'));for(var r=e(h.DATA_TOGGLE),i=0;i<r.length;i++){var o=r[i],a=s.getSelectorFromElement(o);null!==a&&e(a).filter(t).length>0&&(this._selector=a,this._triggerArray.push(o))}this._parent=this._config.parent?this._getParent():null,this._config.parent||this._addAriaAndCollapsedClass(this._element,this._triggerArray),this._config.toggle&&this.toggle()}var d=r.prototype;return d.toggle=function(){e(this._element).hasClass(l.SHOW)?this.hide():this.show()},d.show=function(){var t,i,o=this;if(!(this._isTransitioning||e(this._element).hasClass(l.SHOW)||(this._parent&&0===(t=e.makeArray(e(this._parent).find(h.ACTIVES).filter('[data-parent="'+this._config.parent+'"]'))).length&&(t=null),t&&(i=e(t).not(this._selector).data(n))&&i._isTransitioning))){var a=e.Event(c.SHOW);if(e(this._element).trigger(a),!a.isDefaultPrevented()){t&&(r._jQueryInterface.call(e(t).not(this._selector),"hide"),i||e(t).data(n,null));var u=this._getDimension();e(this._element).removeClass(l.COLLAPSE).addClass(l.COLLAPSING),this._element.style[u]=0,this._triggerArray.length>0&&e(this._triggerArray).removeClass(l.COLLAPSED).attr("aria-expanded",!0),this.setTransitioning(!0);var f=u[0].toUpperCase()+u.slice(1),d="scroll"+f,p=s.getTransitionDurationFromElement(this._element);e(this._element).one(s.TRANSITION_END,function(){e(o._element).removeClass(l.COLLAPSING).addClass(l.COLLAPSE).addClass(l.SHOW),o._element.style[u]="",o.setTransitioning(!1),e(o._element).trigger(c.SHOWN)}).emulateTransitionEnd(p),this._element.style[u]=this._element[d]+"px"}}},d.hide=function(){var t=this;if(!this._isTransitioning&&e(this._element).hasClass(l.SHOW)){var n=e.Event(c.HIDE);if(e(this._element).trigger(n),!n.isDefaultPrevented()){var r=this._getDimension();if(this._element.style[r]=this._element.getBoundingClientRect()[r]+"px",s.reflow(this._element),e(this._element).addClass(l.COLLAPSING).removeClass(l.COLLAPSE).removeClass(l.SHOW),this._triggerArray.length>0)for(var i=0;i<this._triggerArray.length;i++){var o=this._triggerArray[i],a=s.getSelectorFromElement(o);if(null!==a){var u=e(a);u.hasClass(l.SHOW)||e(o).addClass(l.COLLAPSED).attr("aria-expanded",!1)}}this.setTransitioning(!0),this._element.style[r]="";var f=s.getTransitionDurationFromElement(this._element);e(this._element).one(s.TRANSITION_END,function(){t.setTransitioning(!1),e(t._element).removeClass(l.COLLAPSING).addClass(l.COLLAPSE).trigger(c.HIDDEN)}).emulateTransitionEnd(f)}}},d.setTransitioning=function(e){this._isTransitioning=e},d.dispose=function(){e.removeData(this._element,n),this._config=null,this._parent=null,this._element=null,this._triggerArray=null,this._isTransitioning=null},d._getConfig=function(e){return(e=a({},o,e)).toggle=Boolean(e.toggle),s.typeCheckConfig(t,e,u),e},d._getDimension=function(){var t=e(this._element).hasClass(f.WIDTH);return t?f.WIDTH:f.HEIGHT},d._getParent=function(){var t=this,n=null;s.isElement(this._config.parent)?(n=this._config.parent,void 0!==this._config.parent.jquery&&(n=this._config.parent[0])):n=e(this._config.parent)[0];var i='[data-toggle="collapse"][data-parent="'+this._config.parent+'"]';return e(n).find(i).each(function(e,n){t._addAriaAndCollapsedClass(r._getTargetFromElement(n),[n])}),n},d._addAriaAndCollapsedClass=function(t,n){if(t){var r=e(t).hasClass(l.SHOW);n.length>0&&e(n).toggleClass(l.COLLAPSED,!r).attr("aria-expanded",r)}},r._getTargetFromElement=function(t){var n=s.getSelectorFromElement(t);return n?e(n)[0]:null},r._jQueryInterface=function(t){return this.each(function(){var i=e(this),s=i.data(n),u=a({},o,i.data(),"object"==typeof t&&t?t:{});if(!s&&u.toggle&&/show|hide/.test(t)&&(u.toggle=!1),s||(s=new r(this,u),i.data(n,s)),"string"==typeof t){if(void 0===s[t])throw new TypeError('No method named "'+t+'"');s[t]()}})},i(r,null,[{key:"VERSION",get:function(){return"4.1.1"}},{key:"Default",get:function(){return o}}]),r}();return e(document).on(c.CLICK_DATA_API,h.DATA_TOGGLE,function(t){"A"===t.currentTarget.tagName&&t.preventDefault();var r=e(this),i=s.getSelectorFromElement(this);e(i).each(function(){var t=e(this),i=t.data(n),o=i?"toggle":r.data();d._jQueryInterface.call(t,o)})}),e.fn[t]=d._jQueryInterface,e.fn[t].Constructor=d,e.fn[t].noConflict=function(){return e.fn[t]=r,d._jQueryInterface},d}(t),h=function(e){var t="dropdown",r="bs.dropdown",o="."+r,u=e.fn[t],c=new RegExp("38|40|27"),l={HIDE:"hide"+o,HIDDEN:"hidden"+o,SHOW:"show"+o,SHOWN:"shown"+o,CLICK:"click"+o,CLICK_DATA_API:"click.bs.dropdown.data-api",KEYDOWN_DATA_API:"keydown.bs.dropdown.data-api",KEYUP_DATA_API:"keyup.bs.dropdown.data-api"},f={DISABLED:"disabled",SHOW:"show",DROPUP:"dropup",DROPRIGHT:"dropright",DROPLEFT:"dropleft",MENURIGHT:"dropdown-menu-right",MENULEFT:"dropdown-menu-left",POSITION_STATIC:"position-static"},h={DATA_TOGGLE:'[data-toggle="dropdown"]',FORM_CHILD:".dropdown form",MENU:".dropdown-menu",NAVBAR_NAV:".navbar-nav",VISIBLE_ITEMS:".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)"},d={TOP:"top-start",TOPEND:"top-end",BOTTOM:"bottom-start",BOTTOMEND:"bottom-end",RIGHT:"right-start",RIGHTEND:"right-end",LEFT:"left-start",LEFTEND:"left-end"},p={offset:0,flip:!0,boundary:"scrollParent",reference:"toggle",display:"dynamic"},v={offset:"(number|string|function)",flip:"boolean",boundary:"(string|element)",reference:"(string|element)",display:"string"},m=function(){function u(e,t){this._element=e,this._popper=null,this._config=this._getConfig(t),this._menu=this._getMenuElement(),this._inNavbar=this._detectNavbar(),this._addEventListeners()}var m=u.prototype;return m.toggle=function(){if(!this._element.disabled&&!e(this._element).hasClass(f.DISABLED)){var t=u._getParentFromElement(this._element),r=e(this._menu).hasClass(f.SHOW);if(u._clearMenus(),!r){var i={relatedTarget:this._element},o=e.Event(l.SHOW,i);if(e(t).trigger(o),!o.isDefaultPrevented()){if(!this._inNavbar){if(void 0===n)throw new TypeError("Bootstrap dropdown require Popper.js (https://popper.js.org)");var a=this._element;"parent"===this._config.reference?a=t:s.isElement(this._config.reference)&&(a=this._config.reference,void 0!==this._config.reference.jquery&&(a=this._config.reference[0])),"scrollParent"!==this._config.boundary&&e(t).addClass(f.POSITION_STATIC),this._popper=new n(a,this._menu,this._getPopperConfig())}"ontouchstart"in document.documentElement&&0===e(t).closest(h.NAVBAR_NAV).length&&e(document.body).children().on("mouseover",null,e.noop),this._element.focus(),this._element.setAttribute("aria-expanded",!0),e(this._menu).toggleClass(f.SHOW),e(t).toggleClass(f.SHOW).trigger(e.Event(l.SHOWN,i))}}}},m.dispose=function(){e.removeData(this._element,r),e(this._element).off(o),this._element=null,this._menu=null,null!==this._popper&&(this._popper.destroy(),this._popper=null)},m.update=function(){this._inNavbar=this._detectNavbar(),null!==this._popper&&this._popper.scheduleUpdate()},m._addEventListeners=function(){var t=this;e(this._element).on(l.CLICK,function(e){e.preventDefault(),e.stopPropagation(),t.toggle()})},m._getConfig=function(n){return n=a({},this.constructor.Default,e(this._element).data(),n),s.typeCheckConfig(t,n,this.constructor.DefaultType),n},m._getMenuElement=function(){if(!this._menu){var t=u._getParentFromElement(this._element);this._menu=e(t).find(h.MENU)[0]}return this._menu},m._getPlacement=function(){var t=e(this._element).parent(),n=d.BOTTOM;return t.hasClass(f.DROPUP)?(n=d.TOP,e(this._menu).hasClass(f.MENURIGHT)&&(n=d.TOPEND)):t.hasClass(f.DROPRIGHT)?n=d.RIGHT:t.hasClass(f.DROPLEFT)?n=d.LEFT:e(this._menu).hasClass(f.MENURIGHT)&&(n=d.BOTTOMEND),n},m._detectNavbar=function(){return e(this._element).closest(".navbar").length>0},m._getPopperConfig=function(){var e=this,t={};"function"==typeof this._config.offset?t.fn=function(t){return t.offsets=a({},t.offsets,e._config.offset(t.offsets)||{}),t}:t.offset=this._config.offset;var n={placement:this._getPlacement(),modifiers:{offset:t,flip:{enabled:this._config.flip},preventOverflow:{boundariesElement:this._config.boundary}}};return"static"===this._config.display&&(n.modifiers.applyStyle={enabled:!1}),n},u._jQueryInterface=function(t){return this.each(function(){var n=e(this).data(r),i="object"==typeof t?t:null;if(n||(n=new u(this,i),e(this).data(r,n)),"string"==typeof t){if(void 0===n[t])throw new TypeError('No method named "'+t+'"');n[t]()}})},u._clearMenus=function(t){if(!t||3!==t.which&&("keyup"!==t.type||9===t.which))for(var n=e.makeArray(e(h.DATA_TOGGLE)),i=0;i<n.length;i++){var o=u._getParentFromElement(n[i]),a=e(n[i]).data(r),s={relatedTarget:n[i]};if(a){var c=a._menu;if(e(o).hasClass(f.SHOW)&&!(t&&("click"===t.type&&/input|textarea/i.test(t.target.tagName)||"keyup"===t.type&&9===t.which)&&e.contains(o,t.target))){var d=e.Event(l.HIDE,s);e(o).trigger(d),d.isDefaultPrevented()||("ontouchstart"in document.documentElement&&e(document.body).children().off("mouseover",null,e.noop),n[i].setAttribute("aria-expanded","false"),e(c).removeClass(f.SHOW),e(o).removeClass(f.SHOW).trigger(e.Event(l.HIDDEN,s)))}}}},u._getParentFromElement=function(t){var n,r=s.getSelectorFromElement(t);return r&&(n=e(r)[0]),n||t.parentNode},u._dataApiKeydownHandler=function(t){if((/input|textarea/i.test(t.target.tagName)?!(32===t.which||27!==t.which&&(40!==t.which&&38!==t.which||e(t.target).closest(h.MENU).length)):c.test(t.which))&&(t.preventDefault(),t.stopPropagation(),!this.disabled&&!e(this).hasClass(f.DISABLED))){var n=u._getParentFromElement(this),r=e(n).hasClass(f.SHOW);if((r||27===t.which&&32===t.which)&&(!r||27!==t.which&&32!==t.which)){var i=e(n).find(h.VISIBLE_ITEMS).get();if(0!==i.length){var o=i.indexOf(t.target);38===t.which&&o>0&&o--,40===t.which&&o<i.length-1&&o++,o<0&&(o=0),i[o].focus()}}else{if(27===t.which){var a=e(n).find(h.DATA_TOGGLE)[0];e(a).trigger("focus")}e(this).trigger("click")}}},i(u,null,[{key:"VERSION",get:function(){return"4.1.1"}},{key:"Default",get:function(){return p}},{key:"DefaultType",get:function(){return v}}]),u}();return e(document).on(l.KEYDOWN_DATA_API,h.DATA_TOGGLE,m._dataApiKeydownHandler).on(l.KEYDOWN_DATA_API,h.MENU,m._dataApiKeydownHandler).on(l.CLICK_DATA_API+" "+l.KEYUP_DATA_API,m._clearMenus).on(l.CLICK_DATA_API,h.DATA_TOGGLE,function(t){t.preventDefault(),t.stopPropagation(),m._jQueryInterface.call(e(this),"toggle")}).on(l.CLICK_DATA_API,h.FORM_CHILD,function(e){e.stopPropagation()}),e.fn[t]=m._jQueryInterface,e.fn[t].Constructor=m,e.fn[t].noConflict=function(){return e.fn[t]=u,m._jQueryInterface},m}(t),d=function(e){var t="modal",n=".bs.modal",r=e.fn.modal,o={backdrop:!0,keyboard:!0,focus:!0,show:!0},u={backdrop:"(boolean|string)",keyboard:"boolean",focus:"boolean",show:"boolean"},c={HIDE:"hide.bs.modal",HIDDEN:"hidden.bs.modal",SHOW:"show.bs.modal",SHOWN:"shown.bs.modal",FOCUSIN:"focusin.bs.modal",RESIZE:"resize.bs.modal",CLICK_DISMISS:"click.dismiss.bs.modal",KEYDOWN_DISMISS:"keydown.dismiss.bs.modal",MOUSEUP_DISMISS:"mouseup.dismiss.bs.modal",MOUSEDOWN_DISMISS:"mousedown.dismiss.bs.modal",CLICK_DATA_API:"click.bs.modal.data-api"},l={SCROLLBAR_MEASURER:"modal-scrollbar-measure",BACKDROP:"modal-backdrop",OPEN:"modal-open",FADE:"fade",SHOW:"show"},f={DIALOG:".modal-dialog",DATA_TOGGLE:'[data-toggle="modal"]',DATA_DISMISS:'[data-dismiss="modal"]',FIXED_CONTENT:".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",STICKY_CONTENT:".sticky-top",NAVBAR_TOGGLER:".navbar-toggler"},h=function(){function r(t,n){this._config=this._getConfig(n),this._element=t,this._dialog=e(t).find(f.DIALOG)[0],this._backdrop=null,this._isShown=!1,this._isBodyOverflowing=!1,this._ignoreBackdropClick=!1,this._scrollbarWidth=0}var h=r.prototype;return h.toggle=function(e){return this._isShown?this.hide():this.show(e)},h.show=function(t){var n=this;if(!this._isTransitioning&&!this._isShown){e(this._element).hasClass(l.FADE)&&(this._isTransitioning=!0);var r=e.Event(c.SHOW,{relatedTarget:t});e(this._element).trigger(r),this._isShown||r.isDefaultPrevented()||(this._isShown=!0,this._checkScrollbar(),this._setScrollbar(),this._adjustDialog(),e(document.body).addClass(l.OPEN),this._setEscapeEvent(),this._setResizeEvent(),e(this._element).on(c.CLICK_DISMISS,f.DATA_DISMISS,function(e){return n.hide(e)}),e(this._dialog).on(c.MOUSEDOWN_DISMISS,function(){e(n._element).one(c.MOUSEUP_DISMISS,function(t){e(t.target).is(n._element)&&(n._ignoreBackdropClick=!0)})}),this._showBackdrop(function(){return n._showElement(t)}))}},h.hide=function(t){var n=this;if(t&&t.preventDefault(),!this._isTransitioning&&this._isShown){var r=e.Event(c.HIDE);if(e(this._element).trigger(r),this._isShown&&!r.isDefaultPrevented()){this._isShown=!1;var i=e(this._element).hasClass(l.FADE);if(i&&(this._isTransitioning=!0),this._setEscapeEvent(),this._setResizeEvent(),e(document).off(c.FOCUSIN),e(this._element).removeClass(l.SHOW),e(this._element).off(c.CLICK_DISMISS),e(this._dialog).off(c.MOUSEDOWN_DISMISS),i){var o=s.getTransitionDurationFromElement(this._element);e(this._element).one(s.TRANSITION_END,function(e){return n._hideModal(e)}).emulateTransitionEnd(o)}else this._hideModal()}}},h.dispose=function(){e.removeData(this._element,"bs.modal"),e(window,document,this._element,this._backdrop).off(n),this._config=null,this._element=null,this._dialog=null,this._backdrop=null,this._isShown=null,this._isBodyOverflowing=null,this._ignoreBackdropClick=null,this._scrollbarWidth=null},h.handleUpdate=function(){this._adjustDialog()},h._getConfig=function(e){return e=a({},o,e),s.typeCheckConfig(t,e,u),e},h._showElement=function(t){var n=this,r=e(this._element).hasClass(l.FADE);this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE||document.body.appendChild(this._element),this._element.style.display="block",this._element.removeAttribute("aria-hidden"),this._element.scrollTop=0,r&&s.reflow(this._element),e(this._element).addClass(l.SHOW),this._config.focus&&this._enforceFocus();var i=e.Event(c.SHOWN,{relatedTarget:t}),o=function(){n._config.focus&&n._element.focus(),n._isTransitioning=!1,e(n._element).trigger(i)};if(r){var a=s.getTransitionDurationFromElement(this._element);e(this._dialog).one(s.TRANSITION_END,o).emulateTransitionEnd(a)}else o()},h._enforceFocus=function(){var t=this;e(document).off(c.FOCUSIN).on(c.FOCUSIN,function(n){document!==n.target&&t._element!==n.target&&0===e(t._element).has(n.target).length&&t._element.focus()})},h._setEscapeEvent=function(){var t=this;this._isShown&&this._config.keyboard?e(this._element).on(c.KEYDOWN_DISMISS,function(e){27===e.which&&(e.preventDefault(),t.hide())}):this._isShown||e(this._element).off(c.KEYDOWN_DISMISS)},h._setResizeEvent=function(){var t=this;this._isShown?e(window).on(c.RESIZE,function(e){return t.handleUpdate(e)}):e(window).off(c.RESIZE)},h._hideModal=function(){var t=this;this._element.style.display="none",this._element.setAttribute("aria-hidden",!0),this._isTransitioning=!1,this._showBackdrop(function(){e(document.body).removeClass(l.OPEN),t._resetAdjustments(),t._resetScrollbar(),e(t._element).trigger(c.HIDDEN)})},h._removeBackdrop=function(){this._backdrop&&(e(this._backdrop).remove(),this._backdrop=null)},h._showBackdrop=function(t){var n=this,r=e(this._element).hasClass(l.FADE)?l.FADE:"";if(this._isShown&&this._config.backdrop){if(this._backdrop=document.createElement("div"),this._backdrop.className=l.BACKDROP,r&&e(this._backdrop).addClass(r),e(this._backdrop).appendTo(document.body),e(this._element).on(c.CLICK_DISMISS,function(e){n._ignoreBackdropClick?n._ignoreBackdropClick=!1:e.target===e.currentTarget&&("static"===n._config.backdrop?n._element.focus():n.hide())}),r&&s.reflow(this._backdrop),e(this._backdrop).addClass(l.SHOW),!t)return;if(!r)return void t();var i=s.getTransitionDurationFromElement(this._backdrop);e(this._backdrop).one(s.TRANSITION_END,t).emulateTransitionEnd(i)}else if(!this._isShown&&this._backdrop){e(this._backdrop).removeClass(l.SHOW);var o=function(){n._removeBackdrop(),t&&t()};if(e(this._element).hasClass(l.FADE)){var a=s.getTransitionDurationFromElement(this._backdrop);e(this._backdrop).one(s.TRANSITION_END,o).emulateTransitionEnd(a)}else o()}else t&&t()},h._adjustDialog=function(){var e=this._element.scrollHeight>document.documentElement.clientHeight;!this._isBodyOverflowing&&e&&(this._element.style.paddingLeft=this._scrollbarWidth+"px"),this._isBodyOverflowing&&!e&&(this._element.style.paddingRight=this._scrollbarWidth+"px")},h._resetAdjustments=function(){this._element.style.paddingLeft="",this._element.style.paddingRight=""},h._checkScrollbar=function(){var e=document.body.getBoundingClientRect();this._isBodyOverflowing=e.left+e.right<window.innerWidth,this._scrollbarWidth=this._getScrollbarWidth()},h._setScrollbar=function(){var t=this;if(this._isBodyOverflowing){e(f.FIXED_CONTENT).each(function(n,r){var i=e(r)[0].style.paddingRight,o=e(r).css("padding-right");e(r).data("padding-right",i).css("padding-right",parseFloat(o)+t._scrollbarWidth+"px")}),e(f.STICKY_CONTENT).each(function(n,r){var i=e(r)[0].style.marginRight,o=e(r).css("margin-right");e(r).data("margin-right",i).css("margin-right",parseFloat(o)-t._scrollbarWidth+"px")}),e(f.NAVBAR_TOGGLER).each(function(n,r){var i=e(r)[0].style.marginRight,o=e(r).css("margin-right");e(r).data("margin-right",i).css("margin-right",parseFloat(o)+t._scrollbarWidth+"px")});var n=document.body.style.paddingRight,r=e(document.body).css("padding-right");e(document.body).data("padding-right",n).css("padding-right",parseFloat(r)+this._scrollbarWidth+"px")}},h._resetScrollbar=function(){e(f.FIXED_CONTENT).each(function(t,n){var r=e(n).data("padding-right");void 0!==r&&e(n).css("padding-right",r).removeData("padding-right")}),e(f.STICKY_CONTENT+", "+f.NAVBAR_TOGGLER).each(function(t,n){var r=e(n).data("margin-right");void 0!==r&&e(n).css("margin-right",r).removeData("margin-right")});var t=e(document.body).data("padding-right");void 0!==t&&e(document.body).css("padding-right",t).removeData("padding-right")},h._getScrollbarWidth=function(){var e=document.createElement("div");e.className=l.SCROLLBAR_MEASURER,document.body.appendChild(e);var t=e.getBoundingClientRect().width-e.clientWidth;return document.body.removeChild(e),t},r._jQueryInterface=function(t,n){return this.each(function(){var i=e(this).data("bs.modal"),s=a({},o,e(this).data(),"object"==typeof t&&t?t:{});if(i||(i=new r(this,s),e(this).data("bs.modal",i)),"string"==typeof t){if(void 0===i[t])throw new TypeError('No method named "'+t+'"');i[t](n)}else s.show&&i.show(n)})},i(r,null,[{key:"VERSION",get:function(){return"4.1.1"}},{key:"Default",get:function(){return o}}]),r}();return e(document).on(c.CLICK_DATA_API,f.DATA_TOGGLE,function(t){var n,r=this,i=s.getSelectorFromElement(this);i&&(n=e(i)[0]);var o=e(n).data("bs.modal")?"toggle":a({},e(n).data(),e(this).data());"A"!==this.tagName&&"AREA"!==this.tagName||t.preventDefault();var u=e(n).one(c.SHOW,function(t){t.isDefaultPrevented()||u.one(c.HIDDEN,function(){e(r).is(":visible")&&r.focus()})});h._jQueryInterface.call(e(n),o,this)}),e.fn.modal=h._jQueryInterface,e.fn.modal.Constructor=h,e.fn.modal.noConflict=function(){return e.fn.modal=r,h._jQueryInterface},h}(t),p=function(e){var t="tooltip",r=".bs.tooltip",o=e.fn[t],u=new RegExp("(^|\\s)bs-tooltip\\S+","g"),c={animation:"boolean",template:"string",title:"(string|element|function)",trigger:"string",delay:"(number|object)",html:"boolean",selector:"(string|boolean)",placement:"(string|function)",offset:"(number|string)",container:"(string|element|boolean)",fallbackPlacement:"(string|array)",boundary:"(string|element)"},l={AUTO:"auto",TOP:"top",RIGHT:"right",BOTTOM:"bottom",LEFT:"left"},f={animation:!0,template:'<div class="tooltip" role="tooltip"><div class="arrow"></div><div class="tooltip-inner"></div></div>',trigger:"hover focus",title:"",delay:0,html:!1,selector:!1,placement:"top",offset:0,container:!1,fallbackPlacement:"flip",boundary:"scrollParent"},h={SHOW:"show",OUT:"out"},d={HIDE:"hide"+r,HIDDEN:"hidden"+r,SHOW:"show"+r,SHOWN:"shown"+r,INSERTED:"inserted"+r,CLICK:"click"+r,FOCUSIN:"focusin"+r,FOCUSOUT:"focusout"+r,MOUSEENTER:"mouseenter"+r,MOUSELEAVE:"mouseleave"+r},p={FADE:"fade",SHOW:"show"},v={TOOLTIP:".tooltip",TOOLTIP_INNER:".tooltip-inner",ARROW:".arrow"},m={HOVER:"hover",FOCUS:"focus",CLICK:"click",MANUAL:"manual"},g=function(){function o(e,t){if(void 0===n)throw new TypeError("Bootstrap tooltips require Popper.js (https://popper.js.org)");this._isEnabled=!0,this._timeout=0,this._hoverState="",this._activeTrigger={},this._popper=null,this.element=e,this.config=this._getConfig(t),this.tip=null,this._setListeners()}var g=o.prototype;return g.enable=function(){this._isEnabled=!0},g.disable=function(){this._isEnabled=!1},g.toggleEnabled=function(){this._isEnabled=!this._isEnabled},g.toggle=function(t){if(this._isEnabled)if(t){var n=this.constructor.DATA_KEY,r=e(t.currentTarget).data(n);r||(r=new this.constructor(t.currentTarget,this._getDelegateConfig()),e(t.currentTarget).data(n,r)),r._activeTrigger.click=!r._activeTrigger.click,r._isWithActiveTrigger()?r._enter(null,r):r._leave(null,r)}else{if(e(this.getTipElement()).hasClass(p.SHOW))return void this._leave(null,this);this._enter(null,this)}},g.dispose=function(){clearTimeout(this._timeout),e.removeData(this.element,this.constructor.DATA_KEY),e(this.element).off(this.constructor.EVENT_KEY),e(this.element).closest(".modal").off("hide.bs.modal"),this.tip&&e(this.tip).remove(),this._isEnabled=null,this._timeout=null,this._hoverState=null,this._activeTrigger=null,null!==this._popper&&this._popper.destroy(),this._popper=null,this.element=null,this.config=null,this.tip=null},g.show=function(){var t=this;if("none"===e(this.element).css("display"))throw new Error("Please use show on visible elements");var r=e.Event(this.constructor.Event.SHOW);if(this.isWithContent()&&this._isEnabled){e(this.element).trigger(r);var i=e.contains(this.element.ownerDocument.documentElement,this.element);if(r.isDefaultPrevented()||!i)return;var o=this.getTipElement(),a=s.getUID(this.constructor.NAME);o.setAttribute("id",a),this.element.setAttribute("aria-describedby",a),this.setContent(),this.config.animation&&e(o).addClass(p.FADE);var u="function"==typeof this.config.placement?this.config.placement.call(this,o,this.element):this.config.placement,c=this._getAttachment(u);this.addAttachmentClass(c);var l=!1===this.config.container?document.body:e(this.config.container);e(o).data(this.constructor.DATA_KEY,this),e.contains(this.element.ownerDocument.documentElement,this.tip)||e(o).appendTo(l),e(this.element).trigger(this.constructor.Event.INSERTED),this._popper=new n(this.element,o,{placement:c,modifiers:{offset:{offset:this.config.offset},flip:{behavior:this.config.fallbackPlacement},arrow:{element:v.ARROW},preventOverflow:{boundariesElement:this.config.boundary}},onCreate:function(e){e.originalPlacement!==e.placement&&t._handlePopperPlacementChange(e)},onUpdate:function(e){t._handlePopperPlacementChange(e)}}),e(o).addClass(p.SHOW),"ontouchstart"in document.documentElement&&e(document.body).children().on("mouseover",null,e.noop);var f=function(){t.config.animation&&t._fixTransition();var n=t._hoverState;t._hoverState=null,e(t.element).trigger(t.constructor.Event.SHOWN),n===h.OUT&&t._leave(null,t)};if(e(this.tip).hasClass(p.FADE)){var d=s.getTransitionDurationFromElement(this.tip);e(this.tip).one(s.TRANSITION_END,f).emulateTransitionEnd(d)}else f()}},g.hide=function(t){var n=this,r=this.getTipElement(),i=e.Event(this.constructor.Event.HIDE),o=function(){n._hoverState!==h.SHOW&&r.parentNode&&r.parentNode.removeChild(r),n._cleanTipClass(),n.element.removeAttribute("aria-describedby"),e(n.element).trigger(n.constructor.Event.HIDDEN),null!==n._popper&&n._popper.destroy(),t&&t()};if(e(this.element).trigger(i),!i.isDefaultPrevented()){if(e(r).removeClass(p.SHOW),"ontouchstart"in document.documentElement&&e(document.body).children().off("mouseover",null,e.noop),this._activeTrigger[m.CLICK]=!1,this._activeTrigger[m.FOCUS]=!1,this._activeTrigger[m.HOVER]=!1,e(this.tip).hasClass(p.FADE)){var a=s.getTransitionDurationFromElement(r);e(r).one(s.TRANSITION_END,o).emulateTransitionEnd(a)}else o();this._hoverState=""}},g.update=function(){null!==this._popper&&this._popper.scheduleUpdate()},g.isWithContent=function(){return Boolean(this.getTitle())},g.addAttachmentClass=function(t){e(this.getTipElement()).addClass("bs-tooltip-"+t)},g.getTipElement=function(){return this.tip=this.tip||e(this.config.template)[0],this.tip},g.setContent=function(){var t=e(this.getTipElement());this.setElementContent(t.find(v.TOOLTIP_INNER),this.getTitle()),t.removeClass(p.FADE+" "+p.SHOW)},g.setElementContent=function(t,n){var r=this.config.html;"object"==typeof n&&(n.nodeType||n.jquery)?r?e(n).parent().is(t)||t.empty().append(n):t.text(e(n).text()):t[r?"html":"text"](n)},g.getTitle=function(){var e=this.element.getAttribute("data-original-title");return e||(e="function"==typeof this.config.title?this.config.title.call(this.element):this.config.title),e},g._getAttachment=function(e){return l[e.toUpperCase()]},g._setListeners=function(){var t=this,n=this.config.trigger.split(" ");n.forEach(function(n){if("click"===n)e(t.element).on(t.constructor.Event.CLICK,t.config.selector,function(e){return t.toggle(e)});else if(n!==m.MANUAL){var r=n===m.HOVER?t.constructor.Event.MOUSEENTER:t.constructor.Event.FOCUSIN,i=n===m.HOVER?t.constructor.Event.MOUSELEAVE:t.constructor.Event.FOCUSOUT;e(t.element).on(r,t.config.selector,function(e){return t._enter(e)}).on(i,t.config.selector,function(e){return t._leave(e)})}e(t.element).closest(".modal").on("hide.bs.modal",function(){return t.hide()})}),this.config.selector?this.config=a({},this.config,{trigger:"manual",selector:""}):this._fixTitle()},g._fixTitle=function(){var e=typeof this.element.getAttribute("data-original-title");(this.element.getAttribute("title")||"string"!==e)&&(this.element.setAttribute("data-original-title",this.element.getAttribute("title")||""),this.element.setAttribute("title",""))},g._enter=function(t,n){var r=this.constructor.DATA_KEY;(n=n||e(t.currentTarget).data(r))||(n=new this.constructor(t.currentTarget,this._getDelegateConfig()),e(t.currentTarget).data(r,n)),t&&(n._activeTrigger["focusin"===t.type?m.FOCUS:m.HOVER]=!0),e(n.getTipElement()).hasClass(p.SHOW)||n._hoverState===h.SHOW?n._hoverState=h.SHOW:(clearTimeout(n._timeout),n._hoverState=h.SHOW,n.config.delay&&n.config.delay.show?n._timeout=setTimeout(function(){n._hoverState===h.SHOW&&n.show()},n.config.delay.show):n.show())},g._leave=function(t,n){var r=this.constructor.DATA_KEY;(n=n||e(t.currentTarget).data(r))||(n=new this.constructor(t.currentTarget,this._getDelegateConfig()),e(t.currentTarget).data(r,n)),t&&(n._activeTrigger["focusout"===t.type?m.FOCUS:m.HOVER]=!1),n._isWithActiveTrigger()||(clearTimeout(n._timeout),n._hoverState=h.OUT,n.config.delay&&n.config.delay.hide?n._timeout=setTimeout(function(){n._hoverState===h.OUT&&n.hide()},n.config.delay.hide):n.hide())},g._isWithActiveTrigger=function(){for(var e in this._activeTrigger)if(this._activeTrigger[e])return!0;return!1},g._getConfig=function(n){return"number"==typeof(n=a({},this.constructor.Default,e(this.element).data(),"object"==typeof n&&n?n:{})).delay&&(n.delay={show:n.delay,hide:n.delay}),"number"==typeof n.title&&(n.title=n.title.toString()),"number"==typeof n.content&&(n.content=n.content.toString()),s.typeCheckConfig(t,n,this.constructor.DefaultType),n},g._getDelegateConfig=function(){var e={};if(this.config)for(var t in this.config)this.constructor.Default[t]!==this.config[t]&&(e[t]=this.config[t]);return e},g._cleanTipClass=function(){var t=e(this.getTipElement()),n=t.attr("class").match(u);null!==n&&n.length>0&&t.removeClass(n.join(""))},g._handlePopperPlacementChange=function(e){this._cleanTipClass(),this.addAttachmentClass(this._getAttachment(e.placement))},g._fixTransition=function(){var t=this.getTipElement(),n=this.config.animation;null===t.getAttribute("x-placement")&&(e(t).removeClass(p.FADE),this.config.animation=!1,this.hide(),this.show(),this.config.animation=n)},o._jQueryInterface=function(t){return this.each(function(){var n=e(this).data("bs.tooltip"),r="object"==typeof t&&t;if((n||!/dispose|hide/.test(t))&&(n||(n=new o(this,r),e(this).data("bs.tooltip",n)),"string"==typeof t)){if(void 0===n[t])throw new TypeError('No method named "'+t+'"');n[t]()}})},i(o,null,[{key:"VERSION",get:function(){return"4.1.1"}},{key:"Default",get:function(){return f}},{key:"NAME",get:function(){return t}},{key:"DATA_KEY",get:function(){return"bs.tooltip"}},{key:"Event",get:function(){return d}},{key:"EVENT_KEY",get:function(){return r}},{key:"DefaultType",get:function(){return c}}]),o}();return e.fn[t]=g._jQueryInterface,e.fn[t].Constructor=g,e.fn[t].noConflict=function(){return e.fn[t]=o,g._jQueryInterface},g}(t),v=function(e){var t="popover",n=".bs.popover",r=e.fn[t],o=new RegExp("(^|\\s)bs-popover\\S+","g"),s=a({},p.Default,{placement:"right",trigger:"click",content:"",template:'<div class="popover" role="tooltip"><div class="arrow"></div><h3 class="popover-header"></h3><div class="popover-body"></div></div>'}),u=a({},p.DefaultType,{content:"(string|element|function)"}),c={FADE:"fade",SHOW:"show"},l={TITLE:".popover-header",CONTENT:".popover-body"},f={HIDE:"hide"+n,HIDDEN:"hidden"+n,SHOW:"show"+n,SHOWN:"shown"+n,INSERTED:"inserted"+n,CLICK:"click"+n,FOCUSIN:"focusin"+n,FOCUSOUT:"focusout"+n,MOUSEENTER:"mouseenter"+n,MOUSELEAVE:"mouseleave"+n},h=function(r){var a,h;function d(){return r.apply(this,arguments)||this}h=r,(a=d).prototype=Object.create(h.prototype),a.prototype.constructor=a,a.__proto__=h;var p=d.prototype;return p.isWithContent=function(){return this.getTitle()||this._getContent()},p.addAttachmentClass=function(t){e(this.getTipElement()).addClass("bs-popover-"+t)},p.getTipElement=function(){return this.tip=this.tip||e(this.config.template)[0],this.tip},p.setContent=function(){var t=e(this.getTipElement());this.setElementContent(t.find(l.TITLE),this.getTitle());var n=this._getContent();"function"==typeof n&&(n=n.call(this.element)),this.setElementContent(t.find(l.CONTENT),n),t.removeClass(c.FADE+" "+c.SHOW)},p._getContent=function(){return this.element.getAttribute("data-content")||this.config.content},p._cleanTipClass=function(){var t=e(this.getTipElement()),n=t.attr("class").match(o);null!==n&&n.length>0&&t.removeClass(n.join(""))},d._jQueryInterface=function(t){return this.each(function(){var n=e(this).data("bs.popover"),r="object"==typeof t?t:null;if((n||!/destroy|hide/.test(t))&&(n||(n=new d(this,r),e(this).data("bs.popover",n)),"string"==typeof t)){if(void 0===n[t])throw new TypeError('No method named "'+t+'"');n[t]()}})},i(d,null,[{key:"VERSION",get:function(){return"4.1.1"}},{key:"Default",get:function(){return s}},{key:"NAME",get:function(){return t}},{key:"DATA_KEY",get:function(){return"bs.popover"}},{key:"Event",get:function(){return f}},{key:"EVENT_KEY",get:function(){return n}},{key:"DefaultType",get:function(){return u}}]),d}(p);return e.fn[t]=h._jQueryInterface,e.fn[t].Constructor=h,e.fn[t].noConflict=function(){return e.fn[t]=r,h._jQueryInterface},h}(t),m=function(e){var t="scrollspy",n=e.fn[t],r={offset:10,method:"auto",target:""},o={offset:"number",method:"string",target:"(string|element)"},u={ACTIVATE:"activate.bs.scrollspy",SCROLL:"scroll.bs.scrollspy",LOAD_DATA_API:"load.bs.scrollspy.data-api"},c={DROPDOWN_ITEM:"dropdown-item",DROPDOWN_MENU:"dropdown-menu",ACTIVE:"active"},l={DATA_SPY:'[data-spy="scroll"]',ACTIVE:".active",NAV_LIST_GROUP:".nav, .list-group",NAV_LINKS:".nav-link",NAV_ITEMS:".nav-item",LIST_ITEMS:".list-group-item",DROPDOWN:".dropdown",DROPDOWN_ITEMS:".dropdown-item",DROPDOWN_TOGGLE:".dropdown-toggle"},f={OFFSET:"offset",POSITION:"position"},h=function(){function n(t,n){var r=this;this._element=t,this._scrollElement="BODY"===t.tagName?window:t,this._config=this._getConfig(n),this._selector=this._config.target+" "+l.NAV_LINKS+","+this._config.target+" "+l.LIST_ITEMS+","+this._config.target+" "+l.DROPDOWN_ITEMS,this._offsets=[],this._targets=[],this._activeTarget=null,this._scrollHeight=0,e(this._scrollElement).on(u.SCROLL,function(e){return r._process(e)}),this.refresh(),this._process()}var h=n.prototype;return h.refresh=function(){var t=this,n=this._scrollElement===this._scrollElement.window?f.OFFSET:f.POSITION,r="auto"===this._config.method?n:this._config.method,i=r===f.POSITION?this._getScrollTop():0;this._offsets=[],this._targets=[],this._scrollHeight=this._getScrollHeight();var o=e.makeArray(e(this._selector));o.map(function(t){var n,o=s.getSelectorFromElement(t);if(o&&(n=e(o)[0]),n){var a=n.getBoundingClientRect();if(a.width||a.height)return[e(n)[r]().top+i,o]}return null}).filter(function(e){return e}).sort(function(e,t){return e[0]-t[0]}).forEach(function(e){t._offsets.push(e[0]),t._targets.push(e[1])})},h.dispose=function(){e.removeData(this._element,"bs.scrollspy"),e(this._scrollElement).off(".bs.scrollspy"),this._element=null,this._scrollElement=null,this._config=null,this._selector=null,this._offsets=null,this._targets=null,this._activeTarget=null,this._scrollHeight=null},h._getConfig=function(n){if("string"!=typeof(n=a({},r,"object"==typeof n&&n?n:{})).target){var i=e(n.target).attr("id");i||(i=s.getUID(t),e(n.target).attr("id",i)),n.target="#"+i}return s.typeCheckConfig(t,n,o),n},h._getScrollTop=function(){return this._scrollElement===window?this._scrollElement.pageYOffset:this._scrollElement.scrollTop},h._getScrollHeight=function(){return this._scrollElement.scrollHeight||Math.max(document.body.scrollHeight,document.documentElement.scrollHeight)},h._getOffsetHeight=function(){return this._scrollElement===window?window.innerHeight:this._scrollElement.getBoundingClientRect().height},h._process=function(){var e=this._getScrollTop()+this._config.offset,t=this._getScrollHeight(),n=this._config.offset+t-this._getOffsetHeight();if(this._scrollHeight!==t&&this.refresh(),e>=n){var r=this._targets[this._targets.length-1];this._activeTarget!==r&&this._activate(r)}else{if(this._activeTarget&&e<this._offsets[0]&&this._offsets[0]>0)return this._activeTarget=null,void this._clear();for(var i=this._offsets.length;i--;){var o=this._activeTarget!==this._targets[i]&&e>=this._offsets[i]&&(void 0===this._offsets[i+1]||e<this._offsets[i+1]);o&&this._activate(this._targets[i])}}},h._activate=function(t){this._activeTarget=t,this._clear();var n=this._selector.split(",");n=n.map(function(e){return e+'[data-target="'+t+'"],'+e+'[href="'+t+'"]'});var r=e(n.join(","));r.hasClass(c.DROPDOWN_ITEM)?(r.closest(l.DROPDOWN).find(l.DROPDOWN_TOGGLE).addClass(c.ACTIVE),r.addClass(c.ACTIVE)):(r.addClass(c.ACTIVE),r.parents(l.NAV_LIST_GROUP).prev(l.NAV_LINKS+", "+l.LIST_ITEMS).addClass(c.ACTIVE),r.parents(l.NAV_LIST_GROUP).prev(l.NAV_ITEMS).children(l.NAV_LINKS).addClass(c.ACTIVE)),e(this._scrollElement).trigger(u.ACTIVATE,{relatedTarget:t})},h._clear=function(){e(this._selector).filter(l.ACTIVE).removeClass(c.ACTIVE)},n._jQueryInterface=function(t){return this.each(function(){var r=e(this).data("bs.scrollspy"),i="object"==typeof t&&t;if(r||(r=new n(this,i),e(this).data("bs.scrollspy",r)),"string"==typeof t){if(void 0===r[t])throw new TypeError('No method named "'+t+'"');r[t]()}})},i(n,null,[{key:"VERSION",get:function(){return"4.1.1"}},{key:"Default",get:function(){return r}}]),n}();return e(window).on(u.LOAD_DATA_API,function(){for(var t=e.makeArray(e(l.DATA_SPY)),n=t.length;n--;){var r=e(t[n]);h._jQueryInterface.call(r,r.data())}}),e.fn[t]=h._jQueryInterface,e.fn[t].Constructor=h,e.fn[t].noConflict=function(){return e.fn[t]=n,h._jQueryInterface},h}(t),g=function(e){var t=e.fn.tab,n={HIDE:"hide.bs.tab",HIDDEN:"hidden.bs.tab",SHOW:"show.bs.tab",SHOWN:"shown.bs.tab",CLICK_DATA_API:"click.bs.tab.data-api"},r={DROPDOWN_MENU:"dropdown-menu",ACTIVE:"active",DISABLED:"disabled",FADE:"fade",SHOW:"show"},o={DROPDOWN:".dropdown",NAV_LIST_GROUP:".nav, .list-group",ACTIVE:".active",ACTIVE_UL:"> li > .active",DATA_TOGGLE:'[data-toggle="tab"], [data-toggle="pill"], [data-toggle="list"]',DROPDOWN_TOGGLE:".dropdown-toggle",DROPDOWN_ACTIVE_CHILD:"> .dropdown-menu .active"},a=function(){function t(e){this._element=e}var a=t.prototype;return a.show=function(){var t=this;if(!(this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE&&e(this._element).hasClass(r.ACTIVE)||e(this._element).hasClass(r.DISABLED))){var i,a,u=e(this._element).closest(o.NAV_LIST_GROUP)[0],c=s.getSelectorFromElement(this._element);if(u){var l="UL"===u.nodeName?o.ACTIVE_UL:o.ACTIVE;a=(a=e.makeArray(e(u).find(l)))[a.length-1]}var f=e.Event(n.HIDE,{relatedTarget:this._element}),h=e.Event(n.SHOW,{relatedTarget:a});if(a&&e(a).trigger(f),e(this._element).trigger(h),!h.isDefaultPrevented()&&!f.isDefaultPrevented()){c&&(i=e(c)[0]),this._activate(this._element,u);var d=function(){var r=e.Event(n.HIDDEN,{relatedTarget:t._element}),i=e.Event(n.SHOWN,{relatedTarget:a});e(a).trigger(r),e(t._element).trigger(i)};i?this._activate(i,i.parentNode,d):d()}}},a.dispose=function(){e.removeData(this._element,"bs.tab"),this._element=null},a._activate=function(t,n,i){var a=this,u=("UL"===n.nodeName?e(n).find(o.ACTIVE_UL):e(n).children(o.ACTIVE))[0],c=i&&u&&e(u).hasClass(r.FADE),l=function(){return a._transitionComplete(t,u,i)};if(u&&c){var f=s.getTransitionDurationFromElement(u);e(u).one(s.TRANSITION_END,l).emulateTransitionEnd(f)}else l()},a._transitionComplete=function(t,n,i){if(n){e(n).removeClass(r.SHOW+" "+r.ACTIVE);var a=e(n.parentNode).find(o.DROPDOWN_ACTIVE_CHILD)[0];a&&e(a).removeClass(r.ACTIVE),"tab"===n.getAttribute("role")&&n.setAttribute("aria-selected",!1)}if(e(t).addClass(r.ACTIVE),"tab"===t.getAttribute("role")&&t.setAttribute("aria-selected",!0),s.reflow(t),e(t).addClass(r.SHOW),t.parentNode&&e(t.parentNode).hasClass(r.DROPDOWN_MENU)){var u=e(t).closest(o.DROPDOWN)[0];u&&e(u).find(o.DROPDOWN_TOGGLE).addClass(r.ACTIVE),t.setAttribute("aria-expanded",!0)}i&&i()},t._jQueryInterface=function(n){return this.each(function(){var r=e(this),i=r.data("bs.tab");if(i||(i=new t(this),r.data("bs.tab",i)),"string"==typeof n){if(void 0===i[n])throw new TypeError('No method named "'+n+'"');i[n]()}})},i(t,null,[{key:"VERSION",get:function(){return"4.1.1"}}]),t}();return e(document).on(n.CLICK_DATA_API,o.DATA_TOGGLE,function(t){t.preventDefault(),a._jQueryInterface.call(e(this),"show")}),e.fn.tab=a._jQueryInterface,e.fn.tab.Constructor=a,e.fn.tab.noConflict=function(){return e.fn.tab=t,a._jQueryInterface},a}(t);(function(e){if(void 0===e)throw new TypeError("Bootstrap's JavaScript requires jQuery. jQuery must be included before Bootstrap's JavaScript.");var t=e.fn.jquery.split(" ")[0].split(".");if(t[0]<2&&t[1]<9||1===t[0]&&9===t[1]&&t[2]<1||t[0]>=4)throw new Error("Bootstrap's JavaScript requires at least jQuery v1.9.1 but less than v4.0.0")})(t),e.Util=s,e.Alert=u,e.Button=c,e.Carousel=l,e.Collapse=f,e.Dropdown=h,e.Modal=d,e.Popover=v,e.Scrollspy=m,e.Tab=g,e.Tooltip=p,Object.defineProperty(e,"__esModule",{value:!0})}(t,n(0),n(1325))},1327:function(e,t,n){(function(e){var t;void 0===(t=e).fn.each2&&t.extend(t.fn,{each2:function(e){for(var n=t([0]),r=-1,i=this.length;++r<i&&(n.context=n[0]=this[r])&&!1!==e.call(n[0],r,n););return this}}),function(e,t){"use strict";if(window.Select2===t){var n,r,i,o,a,s,u,c,l={x:0,y:0},f={TAB:9,ENTER:13,ESC:27,SPACE:32,LEFT:37,UP:38,RIGHT:39,DOWN:40,SHIFT:16,CTRL:17,ALT:18,PAGE_UP:33,PAGE_DOWN:34,HOME:36,END:35,BACKSPACE:8,DELETE:46,isArrow:function(e){switch(e=e.which?e.which:e){case f.LEFT:case f.RIGHT:case f.UP:case f.DOWN:return!0}return!1},isControl:function(e){switch(e.which){case f.SHIFT:case f.CTRL:case f.ALT:return!0}return!!e.metaKey},isFunctionKey:function(e){return(e=e.which?e.which:e)>=112&&e<=123}},h="<div class='select2-measure-scrollbar'></div>",d={"Ⓐ":"A","Ａ":"A","À":"A","Á":"A","Â":"A","Ầ":"A","Ấ":"A","Ẫ":"A","Ẩ":"A","Ã":"A","Ā":"A","Ă":"A","Ằ":"A","Ắ":"A","Ẵ":"A","Ẳ":"A","Ȧ":"A","Ǡ":"A","Ä":"A","Ǟ":"A","Ả":"A","Å":"A","Ǻ":"A","Ǎ":"A","Ȁ":"A","Ȃ":"A","Ạ":"A","Ậ":"A","Ặ":"A","Ḁ":"A","Ą":"A","Ⱥ":"A","Ɐ":"A","Ꜳ":"AA","Æ":"AE","Ǽ":"AE","Ǣ":"AE","Ꜵ":"AO","Ꜷ":"AU","Ꜹ":"AV","Ꜻ":"AV","Ꜽ":"AY","Ⓑ":"B","Ｂ":"B","Ḃ":"B","Ḅ":"B","Ḇ":"B","Ƀ":"B","Ƃ":"B","Ɓ":"B","Ⓒ":"C","Ｃ":"C","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","Ç":"C","Ḉ":"C","Ƈ":"C","Ȼ":"C","Ꜿ":"C","Ⓓ":"D","Ｄ":"D","Ḋ":"D","Ď":"D","Ḍ":"D","Ḑ":"D","Ḓ":"D","Ḏ":"D","Đ":"D","Ƌ":"D","Ɗ":"D","Ɖ":"D","Ꝺ":"D","Ǳ":"DZ","Ǆ":"DZ","ǲ":"Dz","ǅ":"Dz","Ⓔ":"E","Ｅ":"E","È":"E","É":"E","Ê":"E","Ề":"E","Ế":"E","Ễ":"E","Ể":"E","Ẽ":"E","Ē":"E","Ḕ":"E","Ḗ":"E","Ĕ":"E","Ė":"E","Ë":"E","Ẻ":"E","Ě":"E","Ȅ":"E","Ȇ":"E","Ẹ":"E","Ệ":"E","Ȩ":"E","Ḝ":"E","Ę":"E","Ḙ":"E","Ḛ":"E","Ɛ":"E","Ǝ":"E","Ⓕ":"F","Ｆ":"F","Ḟ":"F","Ƒ":"F","Ꝼ":"F","Ⓖ":"G","Ｇ":"G","Ǵ":"G","Ĝ":"G","Ḡ":"G","Ğ":"G","Ġ":"G","Ǧ":"G","Ģ":"G","Ǥ":"G","Ɠ":"G","Ꞡ":"G","Ᵹ":"G","Ꝿ":"G","Ⓗ":"H","Ｈ":"H","Ĥ":"H","Ḣ":"H","Ḧ":"H","Ȟ":"H","Ḥ":"H","Ḩ":"H","Ḫ":"H","Ħ":"H","Ⱨ":"H","Ⱶ":"H","Ɥ":"H","Ⓘ":"I","Ｉ":"I","Ì":"I","Í":"I","Î":"I","Ĩ":"I","Ī":"I","Ĭ":"I","İ":"I","Ï":"I","Ḯ":"I","Ỉ":"I","Ǐ":"I","Ȉ":"I","Ȋ":"I","Ị":"I","Į":"I","Ḭ":"I","Ɨ":"I","Ⓙ":"J","Ｊ":"J","Ĵ":"J","Ɉ":"J","Ⓚ":"K","Ｋ":"K","Ḱ":"K","Ǩ":"K","Ḳ":"K","Ķ":"K","Ḵ":"K","Ƙ":"K","Ⱪ":"K","Ꝁ":"K","Ꝃ":"K","Ꝅ":"K","Ꞣ":"K","Ⓛ":"L","Ｌ":"L","Ŀ":"L","Ĺ":"L","Ľ":"L","Ḷ":"L","Ḹ":"L","Ļ":"L","Ḽ":"L","Ḻ":"L","Ł":"L","Ƚ":"L","Ɫ":"L","Ⱡ":"L","Ꝉ":"L","Ꝇ":"L","Ꞁ":"L","Ǉ":"LJ","ǈ":"Lj","Ⓜ":"M","Ｍ":"M","Ḿ":"M","Ṁ":"M","Ṃ":"M","Ɱ":"M","Ɯ":"M","Ⓝ":"N","Ｎ":"N","Ǹ":"N","Ń":"N","Ñ":"N","Ṅ":"N","Ň":"N","Ṇ":"N","Ņ":"N","Ṋ":"N","Ṉ":"N","Ƞ":"N","Ɲ":"N","Ꞑ":"N","Ꞥ":"N","Ǌ":"NJ","ǋ":"Nj","Ⓞ":"O","Ｏ":"O","Ò":"O","Ó":"O","Ô":"O","Ồ":"O","Ố":"O","Ỗ":"O","Ổ":"O","Õ":"O","Ṍ":"O","Ȭ":"O","Ṏ":"O","Ō":"O","Ṑ":"O","Ṓ":"O","Ŏ":"O","Ȯ":"O","Ȱ":"O","Ö":"O","Ȫ":"O","Ỏ":"O","Ő":"O","Ǒ":"O","Ȍ":"O","Ȏ":"O","Ơ":"O","Ờ":"O","Ớ":"O","Ỡ":"O","Ở":"O","Ợ":"O","Ọ":"O","Ộ":"O","Ǫ":"O","Ǭ":"O","Ø":"O","Ǿ":"O","Ɔ":"O","Ɵ":"O","Ꝋ":"O","Ꝍ":"O","Ƣ":"OI","Ꝏ":"OO","Ȣ":"OU","Ⓟ":"P","Ｐ":"P","Ṕ":"P","Ṗ":"P","Ƥ":"P","Ᵽ":"P","Ꝑ":"P","Ꝓ":"P","Ꝕ":"P","Ⓠ":"Q","Ｑ":"Q","Ꝗ":"Q","Ꝙ":"Q","Ɋ":"Q","Ⓡ":"R","Ｒ":"R","Ŕ":"R","Ṙ":"R","Ř":"R","Ȑ":"R","Ȓ":"R","Ṛ":"R","Ṝ":"R","Ŗ":"R","Ṟ":"R","Ɍ":"R","Ɽ":"R","Ꝛ":"R","Ꞧ":"R","Ꞃ":"R","Ⓢ":"S","Ｓ":"S","ẞ":"S","Ś":"S","Ṥ":"S","Ŝ":"S","Ṡ":"S","Š":"S","Ṧ":"S","Ṣ":"S","Ṩ":"S","Ș":"S","Ş":"S","Ȿ":"S","Ꞩ":"S","Ꞅ":"S","Ⓣ":"T","Ｔ":"T","Ṫ":"T","Ť":"T","Ṭ":"T","Ț":"T","Ţ":"T","Ṱ":"T","Ṯ":"T","Ŧ":"T","Ƭ":"T","Ʈ":"T","Ⱦ":"T","Ꞇ":"T","Ꜩ":"TZ","Ⓤ":"U","Ｕ":"U","Ù":"U","Ú":"U","Û":"U","Ũ":"U","Ṹ":"U","Ū":"U","Ṻ":"U","Ŭ":"U","Ü":"U","Ǜ":"U","Ǘ":"U","Ǖ":"U","Ǚ":"U","Ủ":"U","Ů":"U","Ű":"U","Ǔ":"U","Ȕ":"U","Ȗ":"U","Ư":"U","Ừ":"U","Ứ":"U","Ữ":"U","Ử":"U","Ự":"U","Ụ":"U","Ṳ":"U","Ų":"U","Ṷ":"U","Ṵ":"U","Ʉ":"U","Ⓥ":"V","Ｖ":"V","Ṽ":"V","Ṿ":"V","Ʋ":"V","Ꝟ":"V","Ʌ":"V","Ꝡ":"VY","Ⓦ":"W","Ｗ":"W","Ẁ":"W","Ẃ":"W","Ŵ":"W","Ẇ":"W","Ẅ":"W","Ẉ":"W","Ⱳ":"W","Ⓧ":"X","Ｘ":"X","Ẋ":"X","Ẍ":"X","Ⓨ":"Y","Ｙ":"Y","Ỳ":"Y","Ý":"Y","Ŷ":"Y","Ỹ":"Y","Ȳ":"Y","Ẏ":"Y","Ÿ":"Y","Ỷ":"Y","Ỵ":"Y","Ƴ":"Y","Ɏ":"Y","Ỿ":"Y","Ⓩ":"Z","Ｚ":"Z","Ź":"Z","Ẑ":"Z","Ż":"Z","Ž":"Z","Ẓ":"Z","Ẕ":"Z","Ƶ":"Z","Ȥ":"Z","Ɀ":"Z","Ⱬ":"Z","Ꝣ":"Z","ⓐ":"a","ａ":"a","ẚ":"a","à":"a","á":"a","â":"a","ầ":"a","ấ":"a","ẫ":"a","ẩ":"a","ã":"a","ā":"a","ă":"a","ằ":"a","ắ":"a","ẵ":"a","ẳ":"a","ȧ":"a","ǡ":"a","ä":"a","ǟ":"a","ả":"a","å":"a","ǻ":"a","ǎ":"a","ȁ":"a","ȃ":"a","ạ":"a","ậ":"a","ặ":"a","ḁ":"a","ą":"a","ⱥ":"a","ɐ":"a","ꜳ":"aa","æ":"ae","ǽ":"ae","ǣ":"ae","ꜵ":"ao","ꜷ":"au","ꜹ":"av","ꜻ":"av","ꜽ":"ay","ⓑ":"b","ｂ":"b","ḃ":"b","ḅ":"b","ḇ":"b","ƀ":"b","ƃ":"b","ɓ":"b","ⓒ":"c","ｃ":"c","ć":"c","ĉ":"c","ċ":"c","č":"c","ç":"c","ḉ":"c","ƈ":"c","ȼ":"c","ꜿ":"c","ↄ":"c","ⓓ":"d","ｄ":"d","ḋ":"d","ď":"d","ḍ":"d","ḑ":"d","ḓ":"d","ḏ":"d","đ":"d","ƌ":"d","ɖ":"d","ɗ":"d","ꝺ":"d","ǳ":"dz","ǆ":"dz","ⓔ":"e","ｅ":"e","è":"e","é":"e","ê":"e","ề":"e","ế":"e","ễ":"e","ể":"e","ẽ":"e","ē":"e","ḕ":"e","ḗ":"e","ĕ":"e","ė":"e","ë":"e","ẻ":"e","ě":"e","ȅ":"e","ȇ":"e","ẹ":"e","ệ":"e","ȩ":"e","ḝ":"e","ę":"e","ḙ":"e","ḛ":"e","ɇ":"e","ɛ":"e","ǝ":"e","ⓕ":"f","ｆ":"f","ḟ":"f","ƒ":"f","ꝼ":"f","ⓖ":"g","ｇ":"g","ǵ":"g","ĝ":"g","ḡ":"g","ğ":"g","ġ":"g","ǧ":"g","ģ":"g","ǥ":"g","ɠ":"g","ꞡ":"g","ᵹ":"g","ꝿ":"g","ⓗ":"h","ｈ":"h","ĥ":"h","ḣ":"h","ḧ":"h","ȟ":"h","ḥ":"h","ḩ":"h","ḫ":"h","ẖ":"h","ħ":"h","ⱨ":"h","ⱶ":"h","ɥ":"h","ƕ":"hv","ⓘ":"i","ｉ":"i","ì":"i","í":"i","î":"i","ĩ":"i","ī":"i","ĭ":"i","ï":"i","ḯ":"i","ỉ":"i","ǐ":"i","ȉ":"i","ȋ":"i","ị":"i","į":"i","ḭ":"i","ɨ":"i","ı":"i","ⓙ":"j","ｊ":"j","ĵ":"j","ǰ":"j","ɉ":"j","ⓚ":"k","ｋ":"k","ḱ":"k","ǩ":"k","ḳ":"k","ķ":"k","ḵ":"k","ƙ":"k","ⱪ":"k","ꝁ":"k","ꝃ":"k","ꝅ":"k","ꞣ":"k","ⓛ":"l","ｌ":"l","ŀ":"l","ĺ":"l","ľ":"l","ḷ":"l","ḹ":"l","ļ":"l","ḽ":"l","ḻ":"l","ſ":"l","ł":"l","ƚ":"l","ɫ":"l","ⱡ":"l","ꝉ":"l","ꞁ":"l","ꝇ":"l","ǉ":"lj","ⓜ":"m","ｍ":"m","ḿ":"m","ṁ":"m","ṃ":"m","ɱ":"m","ɯ":"m","ⓝ":"n","ｎ":"n","ǹ":"n","ń":"n","ñ":"n","ṅ":"n","ň":"n","ṇ":"n","ņ":"n","ṋ":"n","ṉ":"n","ƞ":"n","ɲ":"n","ŉ":"n","ꞑ":"n","ꞥ":"n","ǌ":"nj","ⓞ":"o","ｏ":"o","ò":"o","ó":"o","ô":"o","ồ":"o","ố":"o","ỗ":"o","ổ":"o","õ":"o","ṍ":"o","ȭ":"o","ṏ":"o","ō":"o","ṑ":"o","ṓ":"o","ŏ":"o","ȯ":"o","ȱ":"o","ö":"o","ȫ":"o","ỏ":"o","ő":"o","ǒ":"o","ȍ":"o","ȏ":"o","ơ":"o","ờ":"o","ớ":"o","ỡ":"o","ở":"o","ợ":"o","ọ":"o","ộ":"o","ǫ":"o","ǭ":"o","ø":"o","ǿ":"o","ɔ":"o","ꝋ":"o","ꝍ":"o","ɵ":"o","ƣ":"oi","ȣ":"ou","ꝏ":"oo","ⓟ":"p","ｐ":"p","ṕ":"p","ṗ":"p","ƥ":"p","ᵽ":"p","ꝑ":"p","ꝓ":"p","ꝕ":"p","ⓠ":"q","ｑ":"q","ɋ":"q","ꝗ":"q","ꝙ":"q","ⓡ":"r","ｒ":"r","ŕ":"r","ṙ":"r","ř":"r","ȑ":"r","ȓ":"r","ṛ":"r","ṝ":"r","ŗ":"r","ṟ":"r","ɍ":"r","ɽ":"r","ꝛ":"r","ꞧ":"r","ꞃ":"r","ⓢ":"s","ｓ":"s","ß":"s","ś":"s","ṥ":"s","ŝ":"s","ṡ":"s","š":"s","ṧ":"s","ṣ":"s","ṩ":"s","ș":"s","ş":"s","ȿ":"s","ꞩ":"s","ꞅ":"s","ẛ":"s","ⓣ":"t","ｔ":"t","ṫ":"t","ẗ":"t","ť":"t","ṭ":"t","ț":"t","ţ":"t","ṱ":"t","ṯ":"t","ŧ":"t","ƭ":"t","ʈ":"t","ⱦ":"t","ꞇ":"t","ꜩ":"tz","ⓤ":"u","ｕ":"u","ù":"u","ú":"u","û":"u","ũ":"u","ṹ":"u","ū":"u","ṻ":"u","ŭ":"u","ü":"u","ǜ":"u","ǘ":"u","ǖ":"u","ǚ":"u","ủ":"u","ů":"u","ű":"u","ǔ":"u","ȕ":"u","ȗ":"u","ư":"u","ừ":"u","ứ":"u","ữ":"u","ử":"u","ự":"u","ụ":"u","ṳ":"u","ų":"u","ṷ":"u","ṵ":"u","ʉ":"u","ⓥ":"v","ｖ":"v","ṽ":"v","ṿ":"v","ʋ":"v","ꝟ":"v","ʌ":"v","ꝡ":"vy","ⓦ":"w","ｗ":"w","ẁ":"w","ẃ":"w","ŵ":"w","ẇ":"w","ẅ":"w","ẘ":"w","ẉ":"w","ⱳ":"w","ⓧ":"x","ｘ":"x","ẋ":"x","ẍ":"x","ⓨ":"y","ｙ":"y","ỳ":"y","ý":"y","ŷ":"y","ỹ":"y","ȳ":"y","ẏ":"y","ÿ":"y","ỷ":"y","ẙ":"y","ỵ":"y","ƴ":"y","ɏ":"y","ỿ":"y","ⓩ":"z","ｚ":"z","ź":"z","ẑ":"z","ż":"z","ž":"z","ẓ":"z","ẕ":"z","ƶ":"z","ȥ":"z","ɀ":"z","ⱬ":"z","ꝣ":"z","Ά":"Α","Έ":"Ε","Ή":"Η","Ί":"Ι","Ϊ":"Ι","Ό":"Ο","Ύ":"Υ","Ϋ":"Υ","Ώ":"Ω","ά":"α","έ":"ε","ή":"η","ί":"ι","ϊ":"ι","ΐ":"ι","ό":"ο","ύ":"υ","ϋ":"υ","ΰ":"υ","ω":"ω","ς":"σ"};s=e(document),c=1,o=function(){return c++},r=D(n=D(Object,{bind:function(e){var t=this;return function(){e.apply(t,arguments)}},init:function(n){var r,i;this.opts=n=this.prepareOpts(n),this.id=n.id,n.element.data("select2")!==t&&null!==n.element.data("select2")&&n.element.data("select2").destroy(),this.container=this.createContainer(),this.liveRegion=e(".select2-hidden-accessible"),0==this.liveRegion.length&&(this.liveRegion=e("<span>",{role:"status","aria-live":"polite"}).addClass("select2-hidden-accessible").appendTo(document.body)),this.containerId="s2id_"+(n.element.attr("id")||"autogen"+o()),this.containerEventName=this.containerId.replace(/([.])/g,"_").replace(/([;&,\-\.\+\*\~':"\!\^#$%@\[\]\(\)=>\|])/g,"\\$1"),this.container.attr("id",this.containerId),this.container.attr("title",n.element.attr("title")),this.body=e(document.body),C(this.container,this.opts.element,this.opts.adaptContainerCssClass),this.container.attr("style",n.element.attr("style")),this.container.css(j(n.containerCss,this.opts.element)),this.container.addClass(j(n.containerCssClass,this.opts.element)),this.elementTabIndex=this.opts.element.attr("tabindex"),this.opts.element.data("select2",this).attr("tabindex","-1").before(this.container).on("click.select2",_),this.container.data("select2",this),this.dropdown=this.container.find(".select2-drop"),C(this.dropdown,this.opts.element,this.opts.adaptDropdownCssClass),this.dropdown.addClass(j(n.dropdownCssClass,this.opts.element)),this.dropdown.data("select2",this),this.dropdown.on("click",_),this.results=r=this.container.find(".select2-results"),this.search=i=this.container.find("input.select2-input"),this.queryCount=0,this.resultsPage=0,this.context=null,this.initContainer(),this.container.on("click",_),this.results.on("mousemove",function(n){var r=l;r!==t&&r.x===n.pageX&&r.y===n.pageY||e(n.target).trigger("mousemove-filtered",n)}),this.dropdown.on("mousemove-filtered",".select2-results",this.bind(this.highlightUnderEvent)),this.dropdown.on("touchstart touchmove touchend",".select2-results",this.bind(function(e){this._touchEvent=!0,this.highlightUnderEvent(e)})),this.dropdown.on("touchmove",".select2-results",this.bind(this.touchMoved)),this.dropdown.on("touchstart touchend",".select2-results",this.bind(this.clearTouchMoved)),this.dropdown.on("click",this.bind(function(e){this._touchEvent&&(this._touchEvent=!1,this.selectHighlighted())})),function(e,t){var n=E(e,function(e){t.trigger("scroll-debounced",e)});t.on("scroll",function(e){m(e.target,t.get())>=0&&n(e)})}(80,this.results),this.dropdown.on("scroll-debounced",".select2-results",this.bind(this.loadMoreIfNeeded)),e(this.container).on("change",".select2-input",function(e){e.stopPropagation()}),e(this.dropdown).on("change",".select2-input",function(e){e.stopPropagation()}),e.fn.mousewheel&&r.mousewheel(function(e,t,n,i){var o=r.scrollTop();i>0&&o-i<=0?(r.scrollTop(0),_(e)):i<0&&r.get(0).scrollHeight-r.scrollTop()+i<=r.height()&&(r.scrollTop(r.get(0).scrollHeight-r.height()),_(e))}),w(i),i.on("keyup-change input paste",this.bind(this.updateResults)),i.on("focus",function(){i.addClass("select2-focused")}),i.on("blur",function(){i.removeClass("select2-focused")}),this.dropdown.on("mouseup",".select2-results",this.bind(function(t){e(t.target).closest(".select2-result-selectable").length>0&&(this.highlightUnderEvent(t),this.selectHighlighted(t))})),this.dropdown.on("click mouseup mousedown touchstart touchend focusin",function(e){e.stopPropagation()}),this.nextSearchTerm=t,e.isFunction(this.opts.initSelection)&&(this.initSelection(),this.monitorSource()),null!==n.maximumInputLength&&this.search.attr("maxlength",n.maximumInputLength);var a=n.element.prop("disabled");a===t&&(a=!1),this.enable(!a);var s=n.element.prop("readonly");s===t&&(s=!1),this.readonly(s),u=u||function(){var t=e(h);t.appendTo(document.body);var n={width:t.width()-t[0].clientWidth,height:t.height()-t[0].clientHeight};return t.remove(),n}(),this.autofocus=n.element.prop("autofocus"),n.element.prop("autofocus",!1),this.autofocus&&this.focus(),this.search.attr("placeholder",n.searchInputPlaceholder)},destroy:function(){var e=this.opts.element,n=e.data("select2"),r=this;this.close(),e.length&&e[0].detachEvent&&r._sync&&e.each(function(){r._sync&&this.detachEvent("onpropertychange",r._sync)}),this.propertyObserver&&(this.propertyObserver.disconnect(),this.propertyObserver=null),this._sync=null,n!==t&&(n.container.remove(),n.liveRegion.remove(),n.dropdown.remove(),e.show().removeData("select2").off(".select2").prop("autofocus",this.autofocus||!1),this.elementTabIndex?e.attr({tabindex:this.elementTabIndex}):e.removeAttr("tabindex"),e.show()),I.call(this,"container","liveRegion","dropdown","results","search")},optionToData:function(e){return e.is("option")?{id:e.prop("value"),text:e.text(),element:e.get(),css:e.attr("class"),disabled:e.prop("disabled"),locked:g(e.attr("locked"),"locked")||g(e.data("locked"),!0)}:e.is("optgroup")?{text:e.attr("label"),children:[],element:e.get(),css:e.attr("class")}:void 0},prepareOpts:function(n){var r,i,a,s,u=this;if("select"===(r=n.element).get(0).tagName.toLowerCase()&&(this.select=i=n.element),i&&e.each(["id","multiple","ajax","query","createSearchChoice","initSelection","data","tags"],function(){if(this in n)throw new Error("Option '"+this+"' is not allowed for Select2 when attached to a <select> element.")}),"function"!=typeof(n=e.extend({},{populateResults:function(r,i,a){var s,c=this.opts.id,l=this.liveRegion;(s=function(r,i,f){var h,d,p,v,m,g,y,b,w,E,_=[];for(h=0,d=(r=n.sortResults(r,i,a)).length;h<d;h+=1)v=!(m=!0===(p=r[h]).disabled)&&c(p)!==t,g=p.children&&p.children.length>0,(y=e("<li></li>")).addClass("select2-results-dept-"+f),y.addClass("select2-result"),y.addClass(v?"select2-result-selectable":"select2-result-unselectable"),m&&y.addClass("select2-disabled"),g&&y.addClass("select2-result-with-children"),y.addClass(u.opts.formatResultCssClass(p)),y.attr("role","presentation"),(b=e(document.createElement("div"))).addClass("select2-result-label"),b.attr("id","select2-result-label-"+o()),b.attr("role","option"),(E=n.formatResult(p,b,a,u.opts.escapeMarkup))!==t&&(b.html(E),y.append(b)),g&&((w=e("<ul></ul>")).addClass("select2-result-sub"),s(p.children,w,f+1),y.append(w)),y.data("select2-data",p),_.push(y[0]);i.append(_),l.text(n.formatMatches(r.length))})(i,r,0)}},e.fn.select2.defaults,n)).id&&(a=n.id,n.id=function(e){return e[a]}),e.isArray(n.element.data("select2Tags"))){if("tags"in n)throw"tags specified as both an attribute 'data-select2-tags' and in options of Select2 "+n.element.attr("id");n.tags=n.element.data("select2Tags")}if(i?(n.query=this.bind(function(e){var n,i,o,a={results:[],more:!1},s=e.term;o=function(t,n){var r;t.is("option")?e.matcher(s,t.text(),t)&&n.push(u.optionToData(t)):t.is("optgroup")&&(r=u.optionToData(t),t.children().each2(function(e,t){o(t,r.children)}),r.children.length>0&&n.push(r))},n=r.children(),this.getPlaceholder()!==t&&n.length>0&&(i=this.getPlaceholderOption())&&(n=n.not(i)),n.each2(function(e,t){o(t,a.results)}),e.callback(a)}),n.id=function(e){return e.id}):"query"in n||("ajax"in n?((s=n.element.data("ajax-url"))&&s.length>0&&(n.ajax.url=s),n.query=k.call(n.element,n.ajax)):"data"in n?n.query=S(n.data):"tags"in n&&(n.query=A(n.tags),n.createSearchChoice===t&&(n.createSearchChoice=function(t){return{id:e.trim(t),text:e.trim(t)}}),n.initSelection===t&&(n.initSelection=function(t,r){var i=[];e(y(t.val(),n.separator,n.transformVal)).each(function(){var t={id:this,text:this},r=n.tags;e.isFunction(r)&&(r=r()),e(r).each(function(){if(g(this.id,t.id))return t=this,!1}),i.push(t)}),r(i)}))),"function"!=typeof n.query)throw"query function not defined for Select2 "+n.element.attr("id");if("top"===n.createSearchChoicePosition)n.createSearchChoicePosition=function(e,t){e.unshift(t)};else if("bottom"===n.createSearchChoicePosition)n.createSearchChoicePosition=function(e,t){e.push(t)};else if("function"!=typeof n.createSearchChoicePosition)throw"invalid createSearchChoicePosition option must be 'top', 'bottom' or a custom function";return n},monitorSource:function(){var n,r=this.opts.element,i=this;r.on("change.select2",this.bind(function(e){!0!==this.opts.element.data("select2-change-triggered")&&this.initSelection()})),this._sync=this.bind(function(){var e=r.prop("disabled");e===t&&(e=!1),this.enable(!e);var n=r.prop("readonly");n===t&&(n=!1),this.readonly(n),this.container&&(C(this.container,this.opts.element,this.opts.adaptContainerCssClass),this.container.addClass(j(this.opts.containerCssClass,this.opts.element))),this.dropdown&&(C(this.dropdown,this.opts.element,this.opts.adaptDropdownCssClass),this.dropdown.addClass(j(this.opts.dropdownCssClass,this.opts.element)))}),r.length&&r[0].attachEvent&&r.each(function(){this.attachEvent("onpropertychange",i._sync)}),(n=window.MutationObserver||window.WebKitMutationObserver||window.MozMutationObserver)!==t&&(this.propertyObserver&&(delete this.propertyObserver,this.propertyObserver=null),this.propertyObserver=new n(function(t){e.each(t,i._sync)}),this.propertyObserver.observe(r.get(0),{attributes:!0,subtree:!1}))},triggerSelect:function(t){var n=e.Event("select2-selecting",{val:this.id(t),object:t,choice:t});return this.opts.element.trigger(n),!n.isDefaultPrevented()},triggerChange:function(t){t=t||{},t=e.extend({},t,{type:"change",val:this.val()}),this.opts.element.data("select2-change-triggered",!0),this.opts.element.trigger(t),this.opts.element.data("select2-change-triggered",!1),this.opts.element.click(),this.opts.blurOnChange&&this.opts.element.blur()},isInterfaceEnabled:function(){return!0===this.enabledInterface},enableInterface:function(){var e=this._enabled&&!this._readonly,t=!e;return e!==this.enabledInterface&&(this.container.toggleClass("select2-container-disabled",t),this.close(),this.enabledInterface=e,!0)},enable:function(e){e===t&&(e=!0),this._enabled!==e&&(this._enabled=e,this.opts.element.prop("disabled",!e),this.enableInterface())},disable:function(){this.enable(!1)},readonly:function(e){e===t&&(e=!1),this._readonly!==e&&(this._readonly=e,this.opts.element.prop("readonly",e),this.enableInterface())},opened:function(){return!!this.container&&this.container.hasClass("select2-dropdown-open")},positionDropdown:function(){var t,n,r,i,o,a=this.dropdown,s=this.container,c=s.offset(),l=s.outerHeight(!1),f=s.outerWidth(!1),h=a.outerHeight(!1),d=e(window),p=d.width(),v=d.height(),m=d.scrollLeft()+p,g=d.scrollTop()+v,y=c.top+l,b=c.left,w=y+h<=g,E=c.top-h>=d.scrollTop(),_=a.outerWidth(!1);a.hasClass("select2-drop-above")?(n=!0,!E&&w&&(r=!0,n=!1)):(n=!1,!w&&E&&(r=!0,n=!0)),r&&(a.hide(),c=this.container.offset(),l=this.container.outerHeight(!1),f=this.container.outerWidth(!1),h=a.outerHeight(!1),m=d.scrollLeft()+p,g=d.scrollTop()+v,y=c.top+l,b=c.left,_=a.outerWidth(!1),a.show(),this.focusSearch()),this.opts.dropdownAutoWidth?(o=e(".select2-results",a)[0],a.addClass("select2-drop-auto-width"),a.css("width",""),(_=a.outerWidth(!1)+(o.scrollHeight===o.clientHeight?0:u.width))>f?f=_:_=f,h=a.outerHeight(!1)):this.container.removeClass("select2-drop-auto-width"),"static"!==this.body.css("position")&&(y-=(t=this.body.offset()).top,b-=t.left),!(b+_<=m)&&c.left+m+s.outerWidth(!1)>_&&(b=c.left+this.container.outerWidth(!1)-_),i={left:b,width:f},n?(i.top=c.top-h,i.bottom="auto",this.container.addClass("select2-drop-above"),a.addClass("select2-drop-above")):(i.top=y,i.bottom="auto",this.container.removeClass("select2-drop-above"),a.removeClass("select2-drop-above")),i=e.extend(i,j(this.opts.dropdownCss,this.opts.element)),a.css(i)},shouldOpen:function(){var t;return!this.opened()&&(!1!==this._enabled&&!0!==this._readonly&&(t=e.Event("select2-opening"),this.opts.element.trigger(t),!t.isDefaultPrevented()))},clearDropdownAlignmentPreference:function(){this.container.removeClass("select2-drop-above"),this.dropdown.removeClass("select2-drop-above")},open:function(){return!!this.shouldOpen()&&(this.opening(),s.on("mousemove.select2Event",function(e){l.x=e.pageX,l.y=e.pageY}),!0)},opening:function(){var t,n=this.containerEventName,r="scroll."+n,i="resize."+n,o="orientationchange."+n;this.container.addClass("select2-dropdown-open").addClass("select2-container-active"),this.clearDropdownAlignmentPreference(),this.dropdown[0]!==this.body.children().last()[0]&&this.dropdown.detach().appendTo(this.body),0===(t=e("#select2-drop-mask")).length&&((t=e(document.createElement("div"))).attr("id","select2-drop-mask").attr("class","select2-drop-mask"),t.hide(),t.appendTo(this.body),t.on("mousedown touchstart click",function(n){p(t);var r,i=e("#select2-drop");i.length>0&&((r=i.data("select2")).opts.selectOnBlur&&r.selectHighlighted({noFocus:!0}),r.close(),n.preventDefault(),n.stopPropagation())})),this.dropdown.prev()[0]!==t[0]&&this.dropdown.before(t),e("#select2-drop").removeAttr("id"),this.dropdown.attr("id","select2-drop"),t.show(),this.positionDropdown(),this.dropdown.show(),this.positionDropdown(),this.dropdown.addClass("select2-drop-active");var a=this;this.container.parents().add(window).each(function(){e(this).on(i+" "+r+" "+o,function(e){a.opened()&&a.positionDropdown()})})},close:function(){if(this.opened()){var t=this.containerEventName,n="scroll."+t,r="resize."+t,i="orientationchange."+t;this.container.parents().add(window).each(function(){e(this).off(n).off(r).off(i)}),this.clearDropdownAlignmentPreference(),e("#select2-drop-mask").hide(),this.dropdown.removeAttr("id"),this.dropdown.hide(),this.container.removeClass("select2-dropdown-open").removeClass("select2-container-active"),this.results.empty(),s.off("mousemove.select2Event"),this.clearSearch(),this.search.removeClass("select2-active"),this.opts.element.trigger(e.Event("select2-close"))}},externalSearch:function(e){this.open(),this.search.val(e),this.updateResults(!1)},clearSearch:function(){},getMaximumSelectionSize:function(){return j(this.opts.maximumSelectionSize,this.opts.element)},ensureHighlightVisible:function(){var t,n,r,i,o,a,s,u,c=this.results;(n=this.highlight())<0||(0!=n?(t=this.findHighlightableChoices().find(".select2-result-label"),i=(u=((r=e(t[n])).offset()||{}).top||0)+r.outerHeight(!0),n===t.length-1&&(s=c.find("li.select2-more-results")).length>0&&(i=s.offset().top+s.outerHeight(!0)),i>(o=c.offset().top+c.outerHeight(!1))&&c.scrollTop(c.scrollTop()+(i-o)),(a=u-c.offset().top)<0&&"none"!=r.css("display")&&c.scrollTop(c.scrollTop()+a)):c.scrollTop(0))},findHighlightableChoices:function(){return this.results.find(".select2-result-selectable:not(.select2-disabled):not(.select2-selected)")},moveHighlight:function(t){for(var n=this.findHighlightableChoices(),r=this.highlight();r>-1&&r<n.length;){var i=e(n[r+=t]);if(i.hasClass("select2-result-selectable")&&!i.hasClass("select2-disabled")&&!i.hasClass("select2-selected")){this.highlight(r);break}}},highlight:function(t){var n,r,i=this.findHighlightableChoices();if(0===arguments.length)return m(i.filter(".select2-highlighted")[0],i.get());t>=i.length&&(t=i.length-1),t<0&&(t=0),this.removeHighlight(),(n=e(i[t])).addClass("select2-highlighted"),this.search.attr("aria-activedescendant",n.find(".select2-result-label").attr("id")),this.ensureHighlightVisible(),this.liveRegion.text(n.text()),(r=n.data("select2-data"))&&this.opts.element.trigger({type:"select2-highlight",val:this.id(r),choice:r})},removeHighlight:function(){this.results.find(".select2-highlighted").removeClass("select2-highlighted")},touchMoved:function(){this._touchMoved=!0},clearTouchMoved:function(){this._touchMoved=!1},countSelectableResults:function(){return this.findHighlightableChoices().length},highlightUnderEvent:function(t){var n=e(t.target).closest(".select2-result-selectable");if(n.length>0&&!n.is(".select2-highlighted")){var r=this.findHighlightableChoices();this.highlight(r.index(n))}else 0==n.length&&this.removeHighlight()},loadMoreIfNeeded:function(){var e=this.results,t=e.find("li.select2-more-results"),n=this.resultsPage+1,r=this,i=this.search.val(),o=this.context;0!==t.length&&t.offset().top-e.offset().top-e.height()<=this.opts.loadMorePadding&&(t.addClass("select2-active"),this.opts.query({element:this.opts.element,term:i,page:n,context:o,matcher:this.opts.matcher,callback:this.bind(function(a){r.opened()&&(r.opts.populateResults.call(this,e,a.results,{term:i,page:n,context:o}),r.postprocessResults(a,!1,!1),!0===a.more?(t.detach().appendTo(e).html(r.opts.escapeMarkup(j(r.opts.formatLoadMore,r.opts.element,n+1))),window.setTimeout(function(){r.loadMoreIfNeeded()},10)):t.remove(),r.positionDropdown(),r.resultsPage=n,r.context=a.context,this.opts.element.trigger({type:"select2-loaded",items:a}))})}))},tokenize:function(){},updateResults:function(n){var r,i,o,a=this.search,s=this.results,u=this.opts,c=this,l=a.val(),f=e.data(this.container,"select2-last-term");if((!0===n||!f||!g(l,f))&&(e.data(this.container,"select2-last-term",l),!0===n||!1!==this.showSearchInput&&this.opened())){o=++this.queryCount;var h=this.getMaximumSelectionSize();if(!(h>=1&&(r=this.data(),e.isArray(r)&&r.length>=h&&O(u.formatSelectionTooBig,"formatSelectionTooBig"))))return a.val().length<u.minimumInputLength?(O(u.formatInputTooShort,"formatInputTooShort")?p("<li class='select2-no-results'>"+j(u.formatInputTooShort,u.element,a.val(),u.minimumInputLength)+"</li>"):p(""),void(n&&this.showSearch&&this.showSearch(!0))):void(u.maximumInputLength&&a.val().length>u.maximumInputLength?O(u.formatInputTooLong,"formatInputTooLong")?p("<li class='select2-no-results'>"+j(u.formatInputTooLong,u.element,a.val(),u.maximumInputLength)+"</li>"):p(""):(u.formatSearching&&0===this.findHighlightableChoices().length&&p("<li class='select2-searching'>"+j(u.formatSearching,u.element)+"</li>"),a.addClass("select2-active"),this.removeHighlight(),(i=this.tokenize())!=t&&null!=i&&a.val(i),this.resultsPage=1,u.query({element:u.element,term:a.val(),page:this.resultsPage,context:null,matcher:u.matcher,callback:this.bind(function(r){var i;o==this.queryCount&&(this.opened()?r.hasError!==t&&O(u.formatAjaxError,"formatAjaxError")?p("<li class='select2-ajax-error'>"+j(u.formatAjaxError,u.element,r.jqXHR,r.textStatus,r.errorThrown)+"</li>"):(this.context=r.context===t?null:r.context,this.opts.createSearchChoice&&""!==a.val()&&(i=this.opts.createSearchChoice.call(c,a.val(),r.results))!==t&&null!==i&&c.id(i)!==t&&null!==c.id(i)&&0===e(r.results).filter(function(){return g(c.id(this),c.id(i))}).length&&this.opts.createSearchChoicePosition(r.results,i),0===r.results.length&&O(u.formatNoMatches,"formatNoMatches")?p("<li class='select2-no-results'>"+j(u.formatNoMatches,u.element,a.val())+"</li>"):(s.empty(),c.opts.populateResults.call(this,s,r.results,{term:a.val(),page:this.resultsPage,context:null}),!0===r.more&&O(u.formatLoadMore,"formatLoadMore")&&(s.append("<li class='select2-more-results'>"+u.escapeMarkup(j(u.formatLoadMore,u.element,this.resultsPage))+"</li>"),window.setTimeout(function(){c.loadMoreIfNeeded()},10)),this.postprocessResults(r,n),d(),this.opts.element.trigger({type:"select2-loaded",items:r}))):this.search.removeClass("select2-active"))})})));p("<li class='select2-selection-limit'>"+j(u.formatSelectionTooBig,u.element,h)+"</li>")}function d(){a.removeClass("select2-active"),c.positionDropdown(),s.find(".select2-no-results,.select2-selection-limit,.select2-searching").length?c.liveRegion.text(s.text()):c.liveRegion.text(c.opts.formatMatches(s.find('.select2-result-selectable:not(".select2-selected")').length))}function p(e){s.html(e),d()}},cancel:function(){this.close()},blur:function(){this.opts.selectOnBlur&&this.selectHighlighted({noFocus:!0}),this.close(),this.container.removeClass("select2-container-active"),this.search[0]===document.activeElement&&this.search.blur(),this.clearSearch(),this.selection.find(".select2-search-choice-focus").removeClass("select2-search-choice-focus")},focusSearch:function(){var e;(e=this.search)[0]!==document.activeElement&&window.setTimeout(function(){var t,n=e[0],r=e.val().length;e.focus(),(n.offsetWidth>0||n.offsetHeight>0)&&n===document.activeElement&&(n.setSelectionRange?n.setSelectionRange(r,r):n.createTextRange&&((t=n.createTextRange()).collapse(!1),t.select()))},0)},selectHighlighted:function(e){if(this._touchMoved)this.clearTouchMoved();else{var t=this.highlight(),n=this.results.find(".select2-highlighted").closest(".select2-result").data("select2-data");n?(this.highlight(t),this.onSelect(n,e)):e&&e.noFocus&&this.close()}},getPlaceholder:function(){var e;return this.opts.element.attr("placeholder")||this.opts.element.attr("data-placeholder")||this.opts.element.data("placeholder")||this.opts.placeholder||((e=this.getPlaceholderOption())!==t?e.text():t)},getPlaceholderOption:function(){if(this.select){var n=this.select.children("option").first();if(this.opts.placeholderOption!==t)return"first"===this.opts.placeholderOption&&n||"function"==typeof this.opts.placeholderOption&&this.opts.placeholderOption(this.select);if(""===e.trim(n.text())&&""===n.val())return n}},initContainerWidth:function(){var n=function(){var n,r,i,o,a;if("off"===this.opts.width)return null;if("element"===this.opts.width)return 0===this.opts.element.outerWidth(!1)?"auto":this.opts.element.outerWidth(!1)+"px";if("copy"===this.opts.width||"resolve"===this.opts.width){if((n=this.opts.element.attr("style"))!==t)for(o=0,a=(r=n.split(";")).length;o<a;o+=1)if(null!==(i=r[o].replace(/\s/g,"").match(/^width:(([-+]?([0-9]*\.)?[0-9]+)(px|em|ex|%|in|cm|mm|pt|pc))/i))&&i.length>=1)return i[1];return"resolve"===this.opts.width?(n=this.opts.element.css("width")).indexOf("%")>0?n:0===this.opts.element.outerWidth(!1)?"auto":this.opts.element.outerWidth(!1)+"px":null}return e.isFunction(this.opts.width)?this.opts.width():this.opts.width}.call(this);null!==n&&this.container.css("width",n)}}),{createContainer:function(){return e(document.createElement("div")).attr({class:"select2-container"}).html(["<a href='javascript:void(0)' class='select2-choice' tabindex='-1'>","   <span class='select2-chosen'>&#160;</span><abbr class='select2-search-choice-close'></abbr>","   <span class='select2-arrow' role='presentation'><b role='presentation'></b></span>","</a>","<label for='' class='select2-offscreen'></label>","<input class='select2-focusser select2-offscreen' type='text' aria-haspopup='true' role='button' />","<div class='select2-drop select2-display-none'>","   <div class='select2-search'>","       <label for='' class='select2-offscreen'></label>","       <input type='text' autocomplete='off' autocorrect='off' autocapitalize='off' spellcheck='false' class='select2-input' role='combobox' aria-expanded='true'","       aria-autocomplete='list' />","   </div>","   <ul class='select2-results' role='listbox'>","   </ul>","</div>"].join(""))},enableInterface:function(){this.parent.enableInterface.apply(this,arguments)&&this.focusser.prop("disabled",!this.isInterfaceEnabled())},opening:function(){var n,r,i;this.opts.minimumResultsForSearch>=0&&this.showSearch(!0),this.parent.opening.apply(this,arguments),!1!==this.showSearchInput&&this.search.val(this.focusser.val()),this.opts.shouldFocusInput(this)&&(this.search.focus(),(n=this.search.get(0)).createTextRange?((r=n.createTextRange()).collapse(!1),r.select()):n.setSelectionRange&&(i=this.search.val().length,n.setSelectionRange(i,i))),""===this.search.val()&&this.nextSearchTerm!=t&&(this.search.val(this.nextSearchTerm),this.search.select()),this.focusser.prop("disabled",!0).val(""),this.updateResults(!0),this.opts.element.trigger(e.Event("select2-open"))},close:function(){this.opened()&&(this.parent.close.apply(this,arguments),this.focusser.prop("disabled",!1),this.opts.shouldFocusInput(this)&&this.focusser.focus())},focus:function(){this.opened()?this.close():(this.focusser.prop("disabled",!1),this.opts.shouldFocusInput(this)&&this.focusser.focus())},isFocused:function(){return this.container.hasClass("select2-container-active")},cancel:function(){this.parent.cancel.apply(this,arguments),this.focusser.prop("disabled",!1),this.opts.shouldFocusInput(this)&&this.focusser.focus()},destroy:function(){e("label[for='"+this.focusser.attr("id")+"']").attr("for",this.opts.element.attr("id")),this.parent.destroy.apply(this,arguments),I.call(this,"selection","focusser")},initContainer:function(){var t,n,r=this.container,i=this.dropdown,a=o();this.opts.minimumResultsForSearch<0?this.showSearch(!1):this.showSearch(!0),this.selection=t=r.find(".select2-choice"),this.focusser=r.find(".select2-focusser"),t.find(".select2-chosen").attr("id","select2-chosen-"+a),this.focusser.attr("aria-labelledby","select2-chosen-"+a),this.results.attr("id","select2-results-"+a),this.search.attr("aria-owns","select2-results-"+a),this.focusser.attr("id","s2id_autogen"+a),n=e("label[for='"+this.opts.element.attr("id")+"']"),this.opts.element.focus(this.bind(function(){this.focus()})),this.focusser.prev().text(n.text()).attr("for",this.focusser.attr("id"));var s=this.opts.element.attr("title");this.opts.element.attr("title",s||n.text()),this.focusser.attr("tabindex",this.elementTabIndex),this.search.attr("id",this.focusser.attr("id")+"_search"),this.search.prev().text(e("label[for='"+this.focusser.attr("id")+"']").text()).attr("for",this.search.attr("id")),this.search.on("keydown",this.bind(function(e){if(this.isInterfaceEnabled()&&229!=e.keyCode)if(e.which!==f.PAGE_UP&&e.which!==f.PAGE_DOWN)switch(e.which){case f.UP:case f.DOWN:return this.moveHighlight(e.which===f.UP?-1:1),void _(e);case f.ENTER:return this.selectHighlighted(),void _(e);case f.TAB:return void this.selectHighlighted({noFocus:!0});case f.ESC:return this.cancel(e),void _(e)}else _(e)})),this.search.on("blur",this.bind(function(e){document.activeElement===this.body.get(0)&&window.setTimeout(this.bind(function(){this.opened()&&this.search.focus()}),0)})),this.focusser.on("keydown",this.bind(function(e){if(this.isInterfaceEnabled()&&e.which!==f.TAB&&!f.isControl(e)&&!f.isFunctionKey(e)&&e.which!==f.ESC){if(!1!==this.opts.openOnEnter||e.which!==f.ENTER){if(e.which==f.DOWN||e.which==f.UP||e.which==f.ENTER&&this.opts.openOnEnter){if(e.altKey||e.ctrlKey||e.shiftKey||e.metaKey)return;return this.open(),void _(e)}return e.which==f.DELETE||e.which==f.BACKSPACE?(this.opts.allowClear&&this.clear(),void _(e)):void 0}_(e)}})),w(this.focusser),this.focusser.on("keyup-change input",this.bind(function(e){if(this.opts.minimumResultsForSearch>=0){if(e.stopPropagation(),this.opened())return;this.open()}})),t.on("mousedown touchstart","abbr",this.bind(function(e){var t;this.isInterfaceEnabled()&&(this.clear(),(t=e).preventDefault(),t.stopImmediatePropagation(),this.close(),this.selection&&this.selection.focus())})),t.on("mousedown touchstart",this.bind(function(n){p(t),this.container.hasClass("select2-container-active")||this.opts.element.trigger(e.Event("select2-focus")),this.opened()?this.close():this.isInterfaceEnabled()&&this.open(),_(n)})),i.on("mousedown touchstart",this.bind(function(){this.opts.shouldFocusInput(this)&&this.search.focus()})),t.on("focus",this.bind(function(e){_(e)})),this.focusser.on("focus",this.bind(function(){this.container.hasClass("select2-container-active")||this.opts.element.trigger(e.Event("select2-focus")),this.container.addClass("select2-container-active")})).on("blur",this.bind(function(){this.opened()||(this.container.removeClass("select2-container-active"),this.opts.element.trigger(e.Event("select2-blur")))})),this.search.on("focus",this.bind(function(){this.container.hasClass("select2-container-active")||this.opts.element.trigger(e.Event("select2-focus")),this.container.addClass("select2-container-active")})),this.initContainerWidth(),this.opts.element.hide(),this.setPlaceholder()},clear:function(t){var n=this.selection.data("select2-data");if(n){var r=e.Event("select2-clearing");if(this.opts.element.trigger(r),r.isDefaultPrevented())return;var i=this.getPlaceholderOption();this.opts.element.val(i?i.val():""),this.selection.find(".select2-chosen").empty(),this.selection.removeData("select2-data"),this.setPlaceholder(),!1!==t&&(this.opts.element.trigger({type:"select2-removed",val:this.id(n),choice:n}),this.triggerChange({removed:n}))}},initSelection:function(){if(this.isPlaceholderOptionSelected())this.updateSelection(null),this.close(),this.setPlaceholder();else{var e=this;this.opts.initSelection.call(null,this.opts.element,function(n){n!==t&&null!==n&&(e.updateSelection(n),e.close(),e.setPlaceholder(),e.nextSearchTerm=e.opts.nextSearchTerm(n,e.search.val()))})}},isPlaceholderOptionSelected:function(){var e;return this.getPlaceholder()!==t&&((e=this.getPlaceholderOption())!==t&&e.prop("selected")||""===this.opts.element.val()||this.opts.element.val()===t||null===this.opts.element.val())},prepareOpts:function(){var t=this.parent.prepareOpts.apply(this,arguments),n=this;return"select"===t.element.get(0).tagName.toLowerCase()?t.initSelection=function(e,t){var r=e.find("option").filter(function(){return this.selected&&!this.disabled});t(n.optionToData(r))}:"data"in t&&(t.initSelection=t.initSelection||function(n,r){var i=n.val(),o=null;t.query({matcher:function(e,n,r){var a=g(i,t.id(r));return a&&(o=r),a},callback:e.isFunction(r)?function(){r(o)}:e.noop})}),t},getPlaceholder:function(){return this.select&&this.getPlaceholderOption()===t?t:this.parent.getPlaceholder.apply(this,arguments)},setPlaceholder:function(){var e=this.getPlaceholder();if(this.isPlaceholderOptionSelected()&&e!==t){if(this.select&&this.getPlaceholderOption()===t)return;this.selection.find(".select2-chosen").html(this.opts.escapeMarkup(e)),this.selection.addClass("select2-default"),this.container.removeClass("select2-allowclear")}},postprocessResults:function(t,n,r){var i=0,o=this;if(this.findHighlightableChoices().each2(function(e,t){if(g(o.id(t.data("select2-data")),o.opts.element.val()))return i=e,!1}),!1!==r&&(!0===n&&i>=0?this.highlight(i):this.highlight(0)),!0===n){var a=this.opts.minimumResultsForSearch;a>=0&&this.showSearch(function t(n){var r=0;return e.each(n,function(e,n){n.children?r+=t(n.children):r++}),r}(t.results)>=a)}},showSearch:function(t){this.showSearchInput!==t&&(this.showSearchInput=t,this.dropdown.find(".select2-search").toggleClass("select2-search-hidden",!t),this.dropdown.find(".select2-search").toggleClass("select2-offscreen",!t),e(this.dropdown,this.container).toggleClass("select2-with-searchbox",t))},onSelect:function(e,t){if(this.triggerSelect(e)){var n=this.opts.element.val(),r=this.data();this.opts.element.val(this.id(e)),this.updateSelection(e),this.opts.element.trigger({type:"select2-selected",val:this.id(e),choice:e}),this.nextSearchTerm=this.opts.nextSearchTerm(e,this.search.val()),this.close(),t&&t.noFocus||!this.opts.shouldFocusInput(this)||this.focusser.focus(),g(n,this.id(e))||this.triggerChange({added:e,removed:r})}},updateSelection:function(e){var n,r,i=this.selection.find(".select2-chosen");this.selection.data("select2-data",e),i.empty(),null!==e&&(n=this.opts.formatSelection(e,i,this.opts.escapeMarkup)),n!==t&&i.append(n),(r=this.opts.formatSelectionCssClass(e,i))!==t&&i.addClass(r),this.selection.removeClass("select2-default"),this.opts.allowClear&&this.getPlaceholder()!==t&&this.container.addClass("select2-allowclear")},val:function(){var e,n=!1,r=null,i=this,o=this.data();if(0===arguments.length)return this.opts.element.val();if(e=arguments[0],arguments.length>1&&(n=arguments[1]),this.select)this.select.val(e).find("option").filter(function(){return this.selected}).each2(function(e,t){return r=i.optionToData(t),!1}),this.updateSelection(r),this.setPlaceholder(),n&&this.triggerChange({added:r,removed:o});else{if(!e&&0!==e)return void this.clear(n);if(this.opts.initSelection===t)throw new Error("cannot call val() if initSelection() is not defined");this.opts.element.val(e),this.opts.initSelection(this.opts.element,function(e){i.opts.element.val(e?i.id(e):""),i.updateSelection(e),i.setPlaceholder(),n&&i.triggerChange({added:e,removed:o})})}},clearSearch:function(){this.search.val(""),this.focusser.val("")},data:function(e){var n,r=!1;if(0===arguments.length)return(n=this.selection.data("select2-data"))==t&&(n=null),n;arguments.length>1&&(r=arguments[1]),e?(n=this.data(),this.opts.element.val(e?this.id(e):""),this.updateSelection(e),r&&this.triggerChange({added:e,removed:n})):this.clear(r)}}),i=D(n,{createContainer:function(){return e(document.createElement("div")).attr({class:"select2-container select2-container-multi"}).html(["<ul class='select2-choices'>","  <li class='select2-search-field'>","    <label for='' class='select2-offscreen'></label>","    <input type='text' autocomplete='off' autocorrect='off' autocapitalize='off' spellcheck='false' class='select2-input'>","  </li>","</ul>","<div class='select2-drop select2-drop-multi select2-display-none'>","   <ul class='select2-results'>","   </ul>","</div>"].join(""))},prepareOpts:function(){var t=this.parent.prepareOpts.apply(this,arguments),n=this;return"select"===t.element.get(0).tagName.toLowerCase()?t.initSelection=function(e,t){var r=[];e.find("option").filter(function(){return this.selected&&!this.disabled}).each2(function(e,t){r.push(n.optionToData(t))}),t(r)}:"data"in t&&(t.initSelection=t.initSelection||function(n,r){var i=y(n.val(),t.separator,t.transformVal),o=[];t.query({matcher:function(n,r,a){var s=e.grep(i,function(e){return g(e,t.id(a))}).length;return s&&o.push(a),s},callback:e.isFunction(r)?function(){for(var e=[],n=0;n<i.length;n++)for(var a=i[n],s=0;s<o.length;s++){var u=o[s];if(g(a,t.id(u))){e.push(u),o.splice(s,1);break}}r(e)}:e.noop})}),t},selectChoice:function(e){var t=this.container.find(".select2-search-choice-focus");t.length&&e&&e[0]==t[0]||(t.length&&this.opts.element.trigger("choice-deselected",t),t.removeClass("select2-search-choice-focus"),e&&e.length&&(this.close(),e.addClass("select2-search-choice-focus"),this.opts.element.trigger("choice-selected",e)))},destroy:function(){e("label[for='"+this.search.attr("id")+"']").attr("for",this.opts.element.attr("id")),this.parent.destroy.apply(this,arguments),I.call(this,"searchContainer","selection")},initContainer:function(){var t,n=".select2-choices";this.searchContainer=this.container.find(".select2-search-field"),this.selection=t=this.container.find(n);var r=this;this.selection.on("click",".select2-container:not(.select2-container-disabled) .select2-search-choice:not(.select2-locked)",function(t){r.search[0].focus(),r.selectChoice(e(this))}),this.search.attr("id","s2id_autogen"+o()),this.search.prev().text(e("label[for='"+this.opts.element.attr("id")+"']").text()).attr("for",this.search.attr("id")),this.opts.element.focus(this.bind(function(){this.focus()})),this.search.on("input paste",this.bind(function(){this.search.attr("placeholder")&&0==this.search.val().length||this.isInterfaceEnabled()&&(this.opened()||this.open())})),this.search.attr("tabindex",this.elementTabIndex),this.keydowns=0,this.search.on("keydown",this.bind(function(n){if(this.isInterfaceEnabled()){++this.keydowns;var r=t.find(".select2-search-choice-focus"),i=r.prev(".select2-search-choice:not(.select2-locked)"),o=r.next(".select2-search-choice:not(.select2-locked)"),a=function(t){var n=0,r=0;if("selectionStart"in(t=e(t)[0]))n=t.selectionStart,r=t.selectionEnd-n;else if("selection"in document){t.focus();var i=document.selection.createRange();r=document.selection.createRange().text.length,i.moveStart("character",-t.value.length),n=i.text.length-r}return{offset:n,length:r}}(this.search);if(r.length&&(n.which==f.LEFT||n.which==f.RIGHT||n.which==f.BACKSPACE||n.which==f.DELETE||n.which==f.ENTER)){var s=r;return n.which==f.LEFT&&i.length?s=i:n.which==f.RIGHT?s=o.length?o:null:n.which===f.BACKSPACE?this.unselect(r.first())&&(this.search.width(10),s=i.length?i:o):n.which==f.DELETE?this.unselect(r.first())&&(this.search.width(10),s=o.length?o:null):n.which==f.ENTER&&(s=null),this.selectChoice(s),_(n),void(s&&s.length||this.open())}if((n.which===f.BACKSPACE&&1==this.keydowns||n.which==f.LEFT)&&0==a.offset&&!a.length)return this.selectChoice(t.find(".select2-search-choice:not(.select2-locked)").last()),void _(n);if(this.selectChoice(null),this.opened())switch(n.which){case f.UP:case f.DOWN:return this.moveHighlight(n.which===f.UP?-1:1),void _(n);case f.ENTER:return this.selectHighlighted(),void _(n);case f.TAB:return this.selectHighlighted({noFocus:!0}),void this.close();case f.ESC:return this.cancel(n),void _(n)}if(n.which!==f.TAB&&!f.isControl(n)&&!f.isFunctionKey(n)&&n.which!==f.BACKSPACE&&n.which!==f.ESC){if(n.which===f.ENTER){if(!1===this.opts.openOnEnter)return;if(n.altKey||n.ctrlKey||n.shiftKey||n.metaKey)return}this.open(),n.which!==f.PAGE_UP&&n.which!==f.PAGE_DOWN||_(n),n.which===f.ENTER&&_(n)}}})),this.search.on("keyup",this.bind(function(e){this.keydowns=0,this.resizeSearch()})),this.search.on("blur",this.bind(function(t){this.container.removeClass("select2-container-active"),this.search.removeClass("select2-focused"),this.selectChoice(null),this.opened()||this.clearSearch(),t.stopImmediatePropagation(),this.opts.element.trigger(e.Event("select2-blur"))})),this.container.on("click",n,this.bind(function(t){this.isInterfaceEnabled()&&(e(t.target).closest(".select2-search-choice").length>0||(this.selectChoice(null),this.clearPlaceholder(),this.container.hasClass("select2-container-active")||this.opts.element.trigger(e.Event("select2-focus")),this.open(),this.focusSearch(),t.preventDefault()))})),this.container.on("focus",n,this.bind(function(){this.isInterfaceEnabled()&&(this.container.hasClass("select2-container-active")||this.opts.element.trigger(e.Event("select2-focus")),this.container.addClass("select2-container-active"),this.dropdown.addClass("select2-drop-active"),this.clearPlaceholder())})),this.initContainerWidth(),this.opts.element.hide(),this.clearSearch()},enableInterface:function(){this.parent.enableInterface.apply(this,arguments)&&this.search.prop("disabled",!this.isInterfaceEnabled())},initSelection:function(){if(""===this.opts.element.val()&&""===this.opts.element.text()&&(this.updateSelection([]),this.close(),this.clearSearch()),this.select||""!==this.opts.element.val()){var e=this;this.opts.initSelection.call(null,this.opts.element,function(n){n!==t&&null!==n&&(e.updateSelection(n),e.close(),e.clearSearch())})}},clearSearch:function(){var e=this.getPlaceholder(),n=this.getMaxSearchWidth();e!==t&&0===this.getVal().length&&!1===this.search.hasClass("select2-focused")?(this.search.val(e).addClass("select2-default"),this.search.width(n>0?n:this.container.css("width"))):this.search.val("").width(10)},clearPlaceholder:function(){this.search.hasClass("select2-default")&&this.search.val("").removeClass("select2-default")},opening:function(){this.clearPlaceholder(),this.resizeSearch(),this.parent.opening.apply(this,arguments),this.focusSearch(),""===this.search.val()&&this.nextSearchTerm!=t&&(this.search.val(this.nextSearchTerm),this.search.select()),this.updateResults(!0),this.opts.shouldFocusInput(this)&&this.search.focus(),this.opts.element.trigger(e.Event("select2-open"))},close:function(){this.opened()&&this.parent.close.apply(this,arguments)},focus:function(){this.close(),this.search.focus()},isFocused:function(){return this.search.hasClass("select2-focused")},updateSelection:function(t){var n=[],r=[],i=this;e(t).each(function(){m(i.id(this),n)<0&&(n.push(i.id(this)),r.push(this))}),t=r,this.selection.find(".select2-search-choice").remove(),e(t).each(function(){i.addSelectedChoice(this)}),i.postprocessResults()},tokenize:function(){var e=this.search.val();null!=(e=this.opts.tokenizer.call(this,e,this.data(),this.bind(this.onSelect),this.opts))&&e!=t&&(this.search.val(e),e.length>0&&this.open())},onSelect:function(e,n){this.triggerSelect(e)&&""!==e.text&&(this.addSelectedChoice(e),this.opts.element.trigger({type:"selected",val:this.id(e),choice:e}),this.nextSearchTerm=this.opts.nextSearchTerm(e,this.search.val()),this.clearSearch(),this.updateResults(),!this.select&&this.opts.closeOnSelect||this.postprocessResults(e,!1,!0===this.opts.closeOnSelect),this.opts.closeOnSelect?(this.close(),this.search.width(10)):this.countSelectableResults()>0?(this.search.width(10),this.resizeSearch(),this.getMaximumSelectionSize()>0&&this.val().length>=this.getMaximumSelectionSize()?this.updateResults(!0):this.nextSearchTerm!=t&&(this.search.val(this.nextSearchTerm),this.updateResults(),this.search.select()),this.positionDropdown()):(this.close(),this.search.width(10)),this.triggerChange({added:e}),n&&n.noFocus||this.focusSearch())},cancel:function(){this.close(),this.focusSearch()},addSelectedChoice:function(n){var r,i,o=!n.locked,a=e("<li class='select2-search-choice'>    <div></div>    <a href='#' class='select2-search-choice-close' tabindex='-1'></a></li>"),s=e("<li class='select2-search-choice select2-locked'><div></div></li>"),u=o?a:s,c=this.id(n),l=this.getVal();(r=this.opts.formatSelection(n,u.find("div"),this.opts.escapeMarkup))!=t&&u.find("div").replaceWith(e("<div></div>").html(r)),(i=this.opts.formatSelectionCssClass(n,u.find("div")))!=t&&u.addClass(i),o&&u.find(".select2-search-choice-close").on("mousedown",_).on("click dblclick",this.bind(function(t){this.isInterfaceEnabled()&&(this.unselect(e(t.target)),this.selection.find(".select2-search-choice-focus").removeClass("select2-search-choice-focus"),_(t),this.close(),this.focusSearch())})).on("focus",this.bind(function(){this.isInterfaceEnabled()&&(this.container.addClass("select2-container-active"),this.dropdown.addClass("select2-drop-active"))})),u.data("select2-data",n),u.insertBefore(this.searchContainer),l.push(c),this.setVal(l)},unselect:function(t){var n,r,i=this.getVal();if(0===(t=t.closest(".select2-search-choice")).length)throw"Invalid argument: "+t+". Must be .select2-search-choice";if(n=t.data("select2-data")){var o=e.Event("select2-removing");if(o.val=this.id(n),o.choice=n,this.opts.element.trigger(o),o.isDefaultPrevented())return!1;for(;(r=m(this.id(n),i))>=0;)i.splice(r,1),this.setVal(i),this.select&&this.postprocessResults();return t.remove(),this.opts.element.trigger({type:"select2-removed",val:this.id(n),choice:n}),this.triggerChange({removed:n}),!0}},postprocessResults:function(e,t,n){var r=this.getVal(),i=this.results.find(".select2-result"),o=this.results.find(".select2-result-with-children"),a=this;i.each2(function(e,t){m(a.id(t.data("select2-data")),r)>=0&&(t.addClass("select2-selected"),t.find(".select2-result-selectable").addClass("select2-selected"))}),o.each2(function(e,t){t.is(".select2-result-selectable")||0!==t.find(".select2-result-selectable:not(.select2-selected)").length||t.addClass("select2-selected")}),-1==this.highlight()&&!1!==n&&!0===this.opts.closeOnSelect&&a.highlight(0),!this.opts.createSearchChoice&&!i.filter(".select2-result:not(.select2-selected)").length>0&&(!e||e&&!e.more&&0===this.results.find(".select2-no-results").length)&&O(a.opts.formatNoMatches,"formatNoMatches")&&this.results.append("<li class='select2-no-results'>"+j(a.opts.formatNoMatches,a.opts.element,a.search.val())+"</li>")},getMaxSearchWidth:function(){return this.selection.width()-b(this.search)},resizeSearch:function(){var t,n,r,i,o=b(this.search);t=function(t){if(!a){var n=t[0].currentStyle||window.getComputedStyle(t[0],null);(a=e(document.createElement("div")).css({position:"absolute",left:"-10000px",top:"-10000px",display:"none",fontSize:n.fontSize,fontFamily:n.fontFamily,fontStyle:n.fontStyle,fontWeight:n.fontWeight,letterSpacing:n.letterSpacing,textTransform:n.textTransform,whiteSpace:"nowrap"})).attr("class","select2-sizer"),e(document.body).append(a)}return a.text(t.val()),a.width()}(this.search)+10,n=this.search.offset().left,(i=(r=this.selection.width())-(n-this.selection.offset().left)-o)<t&&(i=r-o),i<40&&(i=r-o),i<=0&&(i=t),this.search.width(Math.floor(i))},getVal:function(){var e;return this.select?null===(e=this.select.val())?[]:e:y(e=this.opts.element.val(),this.opts.separator,this.opts.transformVal)},setVal:function(t){var n;this.select?this.select.val(t):(n=[],e(t).each(function(){m(this,n)<0&&n.push(this)}),this.opts.element.val(0===n.length?"":n.join(this.opts.separator)))},buildChangeDetails:function(e,t){t=t.slice(0),e=e.slice(0);for(var n=0;n<t.length;n++)for(var r=0;r<e.length;r++)g(this.opts.id(t[n]),this.opts.id(e[r]))&&(t.splice(n,1),n>0&&n--,e.splice(r,1),r--);return{added:t,removed:e}},val:function(n,r){var i,o=this;if(0===arguments.length)return this.getVal();if((i=this.data()).length||(i=[]),!n&&0!==n)return this.opts.element.val(""),this.updateSelection([]),this.clearSearch(),void(r&&this.triggerChange({added:this.data(),removed:i}));if(this.setVal(n),this.select)this.opts.initSelection(this.select,this.bind(this.updateSelection)),r&&this.triggerChange(this.buildChangeDetails(i,this.data()));else{if(this.opts.initSelection===t)throw new Error("val() cannot be called if initSelection() is not defined");this.opts.initSelection(this.opts.element,function(t){var n=e.map(t,o.id);o.setVal(n),o.updateSelection(t),o.clearSearch(),r&&o.triggerChange(o.buildChangeDetails(i,o.data()))})}this.clearSearch()},onSortStart:function(){if(this.select)throw new Error("Sorting of elements is not supported when attached to <select>. Attach to <input type='hidden'/> instead.");this.search.width(0),this.searchContainer.hide()},onSortEnd:function(){var t=[],n=this;this.searchContainer.show(),this.searchContainer.appendTo(this.searchContainer.parent()),this.resizeSearch(),this.selection.find(".select2-search-choice").each(function(){t.push(n.opts.id(e(this).data("select2-data")))}),this.setVal(t),this.triggerChange()},data:function(t,n){var r,i,o=this;if(0===arguments.length)return this.selection.children(".select2-search-choice").map(function(){return e(this).data("select2-data")}).get();i=this.data(),t||(t=[]),r=e.map(t,function(e){return o.opts.id(e)}),this.setVal(r),this.updateSelection(t),this.clearSearch(),n&&this.triggerChange(this.buildChangeDetails(i,this.data()))}}),e.fn.select2=function(){var n,r,i,o,a,s=Array.prototype.slice.call(arguments,0),u=["val","destroy","opened","open","close","focus","isFocused","container","dropdown","onSortStart","onSortEnd","enable","disable","readonly","positionDropdown","data","search"],c=["opened","isFocused","container","dropdown"],l=["val","data"],f={search:"externalSearch"};return this.each(function(){if(0===s.length||"object"==typeof s[0])(n=0===s.length?{}:e.extend({},s[0])).element=e(this),"select"===n.element.get(0).tagName.toLowerCase()?a=n.element.prop("multiple"):(a=n.multiple||!1,"tags"in n&&(n.multiple=a=!0)),(r=a?new window.Select2.class.multi:new window.Select2.class.single).init(n);else{if("string"!=typeof s[0])throw"Invalid arguments to select2 plugin: "+s;if(m(s[0],u)<0)throw"Unknown method: "+s[0];if(o=t,(r=e(this).data("select2"))===t)return;if("container"===(i=s[0])?o=r.container:"dropdown"===i?o=r.dropdown:(f[i]&&(i=f[i]),o=r[i].apply(r,s.slice(1))),m(s[0],c)>=0||m(s[0],l)>=0&&1==s.length)return!1}}),o===t?this:o},e.fn.select2.defaults={width:"copy",loadMorePadding:0,closeOnSelect:!0,openOnEnter:!0,containerCss:{},dropdownCss:{},containerCssClass:"",dropdownCssClass:"",formatResult:function(e,t,n,r){var i=[];return T(this.text(e),n.term,i,r),i.join("")},transformVal:function(t){return e.trim(t)},formatSelection:function(e,n,r){return e?r(this.text(e)):t},sortResults:function(e,t,n){return e},formatResultCssClass:function(e){return e.css},formatSelectionCssClass:function(e,n){return t},minimumResultsForSearch:0,minimumInputLength:0,maximumInputLength:null,maximumSelectionSize:0,id:function(e){return e==t?null:e.id},text:function(t){return t&&this.data&&this.data.text?e.isFunction(this.data.text)?this.data.text(t):t[this.data.text]:t.text},matcher:function(e,t){return v(""+t).toUpperCase().indexOf(v(""+e).toUpperCase())>=0},separator:",",tokenSeparators:[],tokenizer:function(e,n,r,i){var o,a,s,u,c,l=e,f=!1;if(!i.createSearchChoice||!i.tokenSeparators||i.tokenSeparators.length<1)return t;for(;;){for(a=-1,s=0,u=i.tokenSeparators.length;s<u&&(c=i.tokenSeparators[s],!((a=e.indexOf(c))>=0));s++);if(a<0)break;if(o=e.substring(0,a),e=e.substring(a+c.length),o.length>0&&(o=i.createSearchChoice.call(this,o,n))!==t&&null!==o&&i.id(o)!==t&&null!==i.id(o)){for(f=!1,s=0,u=n.length;s<u;s++)if(g(i.id(o),i.id(n[s]))){f=!0;break}f||r(o)}}return l!==e?e:void 0},escapeMarkup:x,blurOnChange:!1,selectOnBlur:!1,adaptContainerCssClass:function(e){return e},adaptDropdownCssClass:function(e){return null},nextSearchTerm:function(e,n){return t},searchInputPlaceholder:"",createSearchChoicePosition:"top",shouldFocusInput:function(e){return!("ontouchstart"in window||navigator.msMaxTouchPoints>0)||!(e.opts.minimumResultsForSearch<0)}},e.fn.select2.locales=[],e.fn.select2.locales.en={formatMatches:function(e){return 1===e?"One result is available, press enter to select it.":e+" results are available, use up and down arrow keys to navigate."},formatNoMatches:function(){return"No matches found"},formatAjaxError:function(e,t,n){return"Loading failed"},formatInputTooShort:function(e,t){var n=t-e.length;return"Please enter "+n+" or more character"+(1==n?"":"s")},formatInputTooLong:function(e,t){var n=e.length-t;return"Please delete "+n+" character"+(1==n?"":"s")},formatSelectionTooBig:function(e){return"You can only select "+e+" item"+(1==e?"":"s")},formatLoadMore:function(e){return"Loading more results…"},formatSearching:function(){return"Searching…"}},e.extend(e.fn.select2.defaults,e.fn.select2.locales.en),e.fn.select2.ajaxDefaults={transport:e.ajax,params:{type:"GET",cache:!1,dataType:"json"}},window.Select2={query:{ajax:k,local:S,tags:A},util:{debounce:E,markMatch:T,escapeMarkup:x,stripDiacritics:v},class:{abstract:n,single:r,multi:i}}}function p(t){var n=e(document.createTextNode(""));t.before(n),n.before(t),n.remove()}function v(e){return e.replace(/[^\u0000-\u007E]/g,function(e){return d[e]||e})}function m(e,t){for(var n=0,r=t.length;n<r;n+=1)if(g(e,t[n]))return n;return-1}function g(e,n){return e===n||e!==t&&n!==t&&(null!==e&&null!==n&&(e.constructor===String?e+""==n+"":n.constructor===String&&n+""==e+""))}function y(e,t,n){var r,i,o;if(null===e||e.length<1)return[];for(i=0,o=(r=e.split(t)).length;i<o;i+=1)r[i]=n(r[i]);return r}function b(e){return e.outerWidth(!1)-e.width()}function w(n){var r="keyup-change-value";n.on("keydown",function(){e.data(n,r)===t&&e.data(n,r,n.val())}),n.on("keyup",function(){var i=e.data(n,r);i!==t&&n.val()!==i&&(e.removeData(n,r),n.trigger("keyup-change"))})}function E(e,n,r){var i;return r=r||t,function(){var t=arguments;window.clearTimeout(i),i=window.setTimeout(function(){n.apply(r,t)},e)}}function _(e){e.preventDefault(),e.stopPropagation()}function C(t,n,r){var i,o,a=[];(i=e.trim(t.attr("class")))&&e((i=""+i).split(/\s+/)).each2(function(){0===this.indexOf("select2-")&&a.push(this)}),(i=e.trim(n.attr("class")))&&e((i=""+i).split(/\s+/)).each2(function(){0!==this.indexOf("select2-")&&(o=r(this))&&a.push(o)}),t.attr("class",a.join(" "))}function T(e,t,n,r){var i=v(e.toUpperCase()).indexOf(v(t.toUpperCase())),o=t.length;i<0?n.push(r(e)):(n.push(r(e.substring(0,i))),n.push("<span class='select2-match'>"),n.push(r(e.substring(i,i+o))),n.push("</span>"),n.push(r(e.substring(i+o,e.length))))}function x(e){var t={"\\":"&#92;","&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","/":"&#47;"};return String(e).replace(/[&<>"'\/\\]/g,function(e){return t[e]})}function k(n){var r,i=null,o=n.quietMillis||100,a=n.url,s=this;return function(u){window.clearTimeout(r),r=window.setTimeout(function(){var r=n.data,o=a,c=n.transport||e.fn.select2.ajaxDefaults.transport,l={type:n.type||"GET",cache:n.cache||!1,jsonpCallback:n.jsonpCallback||t,dataType:n.dataType||"json"},f=e.extend({},e.fn.select2.ajaxDefaults.params,l);r=r?r.call(s,u.term,u.page,u.context):null,o="function"==typeof o?o.call(s,u.term,u.page,u.context):o,i&&"function"==typeof i.abort&&i.abort(),n.params&&(e.isFunction(n.params)?e.extend(f,n.params.call(s)):e.extend(f,n.params)),e.extend(f,{url:o,dataType:n.dataType,data:r,success:function(e){var t=n.results(e,u.page,u);u.callback(t)},error:function(e,t,n){var r={hasError:!0,jqXHR:e,textStatus:t,errorThrown:n};u.callback(r)}}),i=c.call(s,f)},o)}}function S(t){var n,r,i=t,o=function(e){return""+e.text};e.isArray(i)&&(i={results:r=i}),!1===e.isFunction(i)&&(r=i,i=function(){return r});var a=i();return a.text&&(o=a.text,e.isFunction(o)||(n=a.text,o=function(e){return e[n]})),function(t){var n,r=t.term,a={results:[]};""!==r?(n=function(i,a){var s,u;if((i=i[0]).children){for(u in s={},i)i.hasOwnProperty(u)&&(s[u]=i[u]);s.children=[],e(i.children).each2(function(e,t){n(t,s.children)}),(s.children.length||t.matcher(r,o(s),i))&&a.push(s)}else t.matcher(r,o(i),i)&&a.push(i)},e(i().results).each2(function(e,t){n(t,a.results)}),t.callback(a)):t.callback(i())}}function A(n){var r=e.isFunction(n);return function(i){var o=i.term,a={results:[]},s=r?n(i):n;e.isArray(s)&&(e(s).each(function(){var e=this.text!==t,n=e?this.text:this;(""===o||i.matcher(o,n))&&a.results.push(e?this:{id:this,text:this})}),i.callback(a))}}function O(t,n){if(e.isFunction(t))return!0;if(!t)return!1;if("string"==typeof t)return!0;throw new Error(n+" must be a string, function, or falsy value")}function j(t,n){if(e.isFunction(t)){var r=Array.prototype.slice.call(arguments,2);return t.apply(n,r)}return t}function I(){var t=this;e.each(arguments,function(e,n){t[n].remove(),t[n]=null})}function D(t,n){var r=function(){};return(r.prototype=new t).constructor=r,r.prototype.parent=t.prototype,r.prototype=e.extend(r.prototype,n),r}}(e)}).call(this,n(0))},1328:function(e,t,n){var r,i,o;
  /*! waitForImages jQuery Plugin - v2.1.0 - 2016-01-04
  * https://github.com/alexanderdickson/waitForImages
  * Copyright (c) 2016 Alex Dickson; Licensed MIT */i=[n(0)],void 0===(o="function"==typeof(r=function(e){e.waitForImages={hasImageProperties:["backgroundImage","listStyleImage","borderImage","borderCornerImage","cursor"],hasImageAttributes:["srcset"]},e.expr[":"]["has-src"]=function(t){return e(t).is('img[src][src!=""]')},e.expr[":"].uncached=function(t){return!!e(t).is(":has-src")&&!t.complete},e.fn.waitForImages=function(){var t,n,r,i=0,o=0,a=e.Deferred();if(e.isPlainObject(arguments[0])?(r=arguments[0].waitForAll,n=arguments[0].each,t=arguments[0].finished):1===arguments.length&&"boolean"===e.type(arguments[0])?r=arguments[0]:(t=arguments[0],n=arguments[1],r=arguments[2]),t=t||e.noop,n=n||e.noop,r=!!r,!e.isFunction(t)||!e.isFunction(n))throw new TypeError("An invalid callback was supplied.");return this.each(function(){var s=e(this),u=[],c=e.waitForImages.hasImageProperties||[],l=e.waitForImages.hasImageAttributes||[],f=/url\(\s*(['"]?)(.*?)\1\s*\)/g;r?s.find("*").addBack().each(function(){var t=e(this);t.is("img:has-src")&&!t.is("[srcset]")&&u.push({src:t.attr("src"),element:t[0]}),e.each(c,function(e,n){var r,i=t.css(n);if(!i)return!0;for(;r=f.exec(i);)u.push({src:r[2],element:t[0]})}),e.each(l,function(e,n){var r=t.attr(n);if(!r)return!0;u.push({src:t.attr("src"),srcset:t.attr("srcset"),element:t[0]})})}):s.find("img:has-src").each(function(){u.push({src:this.src,element:this})}),i=u.length,o=0,0===i&&(t.call(s[0]),a.resolveWith(s[0])),e.each(u,function(r,u){var c=new Image,l="load.waitForImages error.waitForImages";e(c).one(l,function r(c){var f=[o,i,"load"==c.type];if(o++,n.apply(u.element,f),a.notifyWith(u.element,f),e(this).off(l,r),o==i)return t.call(s[0]),a.resolveWith(s[0]),!1}),u.srcset&&(c.srcset=u.srcset),c.src=u.src})}),a.promise()}})?r.apply(t,i):r)||(e.exports=o)},1329:function(e,t,n){(function(e){var t;(t=e).fn.endlessScroll=function(e){var n,r=!0,i=!1,o=0;!0===(e=t.extend({},{bottomPixels:50,fireOnce:!0,fireDelay:150,loader:"<br />Loading...<br />",data:"",insertAfter:"div:last",resetCounter:function(){return!1},callback:function(){return!0},ceaseFire:function(){return!1}},e)).ceaseFire.apply(this)&&(r=!1),!0===r&&t(this).scroll(function(){if(!0!==e.ceaseFire.apply(this)){if(this==document||this==window)n=t(document).height()-t(window).height()<=t(window).scrollTop()+e.bottomPixels;else{var a=t(".endless_scroll_inner_wrap",this);0==a.length&&(a=t(this).wrapInner('<div class="endless_scroll_inner_wrap" />').find(".endless_scroll_inner_wrap")),n=a.length>0&&a.height()-t(this).height()<=t(this).scrollTop()+e.bottomPixels}n&&(0==e.fireOnce||1==e.fireOnce&&1!=i)&&(!0===e.resetCounter.apply(this)&&(o=0),i=!0,o++,t(e.insertAfter).after('<div id="endless_scroll_loader">'+e.loader+"</div>"),data="function"==typeof e.data?e.data.apply(this,[o]):e.data,!1!==data&&(t(e.insertAfter).after('<div id="endless_scroll_data">'+data+"</div>"),t("#endless_scroll_data").hide().fadeIn(250,function(){t(this).removeAttr("id")}),e.callback.apply(this,[o]),!1!==e.fireDelay||0!==e.fireDelay?(t("body").after('<div id="endless_scroll_marker"></div>'),t("#endless_scroll_marker").fadeTo(e.fireDelay,1,function(){t(this).remove(),i=!1})):i=!1),t("#endless_scroll_loader").remove())}else r=!1})}}).call(this,n(0))},1330:function(e,t,n){(function(e){!function(e,t){"use strict";var n;void 0!==e.rails&&e.error("jquery-ujs has already been loaded!");var r=e(document);e.rails=n={linkClickSelector:"a[data-confirm], a[data-method], a[data-remote]:not([disabled]), a[data-disable-with], a[data-disable]",buttonClickSelector:"button[data-remote]:not([form]):not(form button), button[data-confirm]:not([form]):not(form button)",inputChangeSelector:"select[data-remote], input[data-remote], textarea[data-remote]",formSubmitSelector:"form",formInputClickSelector:"form input[type=submit], form input[type=image], form button[type=submit], form button:not([type]), input[type=submit][form], input[type=image][form], button[type=submit][form], button[form]:not([type])",disableSelector:"input[data-disable-with]:enabled, button[data-disable-with]:enabled, textarea[data-disable-with]:enabled, input[data-disable]:enabled, button[data-disable]:enabled, textarea[data-disable]:enabled",enableSelector:"input[data-disable-with]:disabled, button[data-disable-with]:disabled, textarea[data-disable-with]:disabled, input[data-disable]:disabled, button[data-disable]:disabled, textarea[data-disable]:disabled",requiredInputSelector:"input[name][required]:not([disabled]), textarea[name][required]:not([disabled])",fileInputSelector:"input[name][type=file]:not([disabled])",linkDisableSelector:"a[data-disable-with], a[data-disable]",buttonDisableSelector:"button[data-remote][data-disable-with], button[data-remote][data-disable]",csrfToken:function(){return e("meta[name=csrf-token]").attr("content")},csrfParam:function(){return e("meta[name=csrf-param]").attr("content")},CSRFProtection:function(e){var t=n.csrfToken();t&&e.setRequestHeader("X-CSRF-Token",t)},refreshCSRFTokens:function(){e('form input[name="'+n.csrfParam()+'"]').val(n.csrfToken())},fire:function(t,n,r){var i=e.Event(n);return t.trigger(i,r),!1!==i.result},confirm:function(e){return confirm(e)},ajax:function(t){return e.ajax(t)},href:function(e){return e[0].href},isRemote:function(e){return void 0!==e.data("remote")&&!1!==e.data("remote")},handleRemote:function(t){var r,i,o,a,s,u;if(n.fire(t,"ajax:before")){if(a=t.data("with-credentials")||null,s=t.data("type")||e.ajaxSettings&&e.ajaxSettings.dataType,t.is("form")){r=t.data("ujs:submit-button-formmethod")||t.attr("method"),i=t.data("ujs:submit-button-formaction")||t.attr("action"),o=e(t[0]).serializeArray();var c=t.data("ujs:submit-button");c&&(o.push(c),t.data("ujs:submit-button",null)),t.data("ujs:submit-button-formmethod",null),t.data("ujs:submit-button-formaction",null)}else t.is(n.inputChangeSelector)?(r=t.data("method"),i=t.data("url"),o=t.serialize(),t.data("params")&&(o=o+"&"+t.data("params"))):t.is(n.buttonClickSelector)?(r=t.data("method")||"get",i=t.data("url"),o=t.serialize(),t.data("params")&&(o=o+"&"+t.data("params"))):(r=t.data("method"),i=n.href(t),o=t.data("params")||null);return u={type:r||"GET",data:o,dataType:s,beforeSend:function(e,r){if(void 0===r.dataType&&e.setRequestHeader("accept","*/*;q=0.5, "+r.accepts.script),!n.fire(t,"ajax:beforeSend",[e,r]))return!1;t.trigger("ajax:send",e)},success:function(e,n,r){t.trigger("ajax:success",[e,n,r])},complete:function(e,n){t.trigger("ajax:complete",[e,n])},error:function(e,n,r){t.trigger("ajax:error",[e,n,r])},crossDomain:n.isCrossDomain(i)},a&&(u.xhrFields={withCredentials:a}),i&&(u.url=i),n.ajax(u)}return!1},isCrossDomain:function(e){var t=document.createElement("a");t.href=location.href;var n=document.createElement("a");try{return n.href=e,n.href=n.href,!((!n.protocol||":"===n.protocol)&&!n.host||t.protocol+"//"+t.host==n.protocol+"//"+n.host)}catch(e){return!0}},handleMethod:function(t){var r=n.href(t),i=t.data("method"),o=t.attr("target"),a=n.csrfToken(),s=n.csrfParam(),u=e('<form method="post" action="'+r+'"></form>'),c='<input name="_method" value="'+i+'" type="hidden" />';void 0===s||void 0===a||n.isCrossDomain(r)||(c+='<input name="'+s+'" value="'+a+'" type="hidden" />'),o&&u.attr("target",o),u.hide().append(c).appendTo("body"),u.submit()},formElements:function(t,n){return t.is("form")?e(t[0].elements).filter(n):t.find(n)},disableFormElements:function(t){n.formElements(t,n.disableSelector).each(function(){n.disableFormElement(e(this))})},disableFormElement:function(e){var t,n;t=e.is("button")?"html":"val",void 0!==(n=e.data("disable-with"))&&(e.data("ujs:enable-with",e[t]()),e[t](n)),e.prop("disabled",!0),e.data("ujs:disabled",!0)},enableFormElements:function(t){n.formElements(t,n.enableSelector).each(function(){n.enableFormElement(e(this))})},enableFormElement:function(e){var t=e.is("button")?"html":"val";void 0!==e.data("ujs:enable-with")&&(e[t](e.data("ujs:enable-with")),e.removeData("ujs:enable-with")),e.prop("disabled",!1),e.removeData("ujs:disabled")},allowAction:function(e){var t,r=e.data("confirm"),i=!1;if(!r)return!0;if(n.fire(e,"confirm")){try{i=n.confirm(r)}catch(e){(console.error||console.log).call(console,e.stack||e)}t=n.fire(e,"confirm:complete",[i])}return i&&t},blankInputs:function(t,n,r){var i,o,a,s=e(),u=n||"input,textarea",c={};return t.find(u).each(function(){(i=e(this)).is("input[type=radio]")?(a=i.attr("name"),c[a]||(0===t.find('input[type=radio]:checked[name="'+a+'"]').length&&(o=t.find('input[type=radio][name="'+a+'"]'),s=s.add(o)),c[a]=a)):(i.is("input[type=checkbox],input[type=radio]")?i.is(":checked"):!!i.val())===r&&(s=s.add(i))}),!!s.length&&s},nonBlankInputs:function(e,t){return n.blankInputs(e,t,!0)},stopEverything:function(t){return e(t.target).trigger("ujs:everythingStopped"),t.stopImmediatePropagation(),!1},disableElement:function(e){var t=e.data("disable-with");void 0!==t&&(e.data("ujs:enable-with",e.html()),e.html(t)),e.bind("click.railsDisable",function(e){return n.stopEverything(e)}),e.data("ujs:disabled",!0)},enableElement:function(e){void 0!==e.data("ujs:enable-with")&&(e.html(e.data("ujs:enable-with")),e.removeData("ujs:enable-with")),e.unbind("click.railsDisable"),e.removeData("ujs:disabled")}},n.fire(r,"rails:attachBindings")&&(e.ajaxPrefilter(function(e,t,r){e.crossDomain||n.CSRFProtection(r)}),e(window).on("pageshow.rails",function(){e(e.rails.enableSelector).each(function(){var t=e(this);t.data("ujs:disabled")&&e.rails.enableFormElement(t)}),e(e.rails.linkDisableSelector).each(function(){var t=e(this);t.data("ujs:disabled")&&e.rails.enableElement(t)})}),r.on("ajax:complete",n.linkDisableSelector,function(){n.enableElement(e(this))}),r.on("ajax:complete",n.buttonDisableSelector,function(){n.enableFormElement(e(this))}),r.on("click.rails",n.linkClickSelector,function(t){var r=e(this),i=r.data("method"),o=r.data("params"),a=t.metaKey||t.ctrlKey;if(!n.allowAction(r))return n.stopEverything(t);if(!a&&r.is(n.linkDisableSelector)&&n.disableElement(r),n.isRemote(r)){if(a&&(!i||"GET"===i)&&!o)return!0;var s=n.handleRemote(r);return!1===s?n.enableElement(r):s.fail(function(){n.enableElement(r)}),!1}return i?(n.handleMethod(r),!1):void 0}),r.on("click.rails",n.buttonClickSelector,function(t){var r=e(this);if(!n.allowAction(r)||!n.isRemote(r))return n.stopEverything(t);r.is(n.buttonDisableSelector)&&n.disableFormElement(r);var i=n.handleRemote(r);return!1===i?n.enableFormElement(r):i.fail(function(){n.enableFormElement(r)}),!1}),r.on("change.rails",n.inputChangeSelector,function(t){var r=e(this);return n.allowAction(r)&&n.isRemote(r)?(n.handleRemote(r),!1):n.stopEverything(t)}),r.on("submit.rails",n.formSubmitSelector,function(t){var r,i,o=e(this),a=n.isRemote(o);if(!n.allowAction(o))return n.stopEverything(t);if(void 0===o.attr("novalidate"))if(void 0===o.data("ujs:formnovalidate-button")){if((r=n.blankInputs(o,n.requiredInputSelector,!1))&&n.fire(o,"ajax:aborted:required",[r]))return n.stopEverything(t)}else o.data("ujs:formnovalidate-button",void 0);if(a){if(i=n.nonBlankInputs(o,n.fileInputSelector)){setTimeout(function(){n.disableFormElements(o)},13);var s=n.fire(o,"ajax:aborted:file",[i]);return s||setTimeout(function(){n.enableFormElements(o)},13),s}return n.handleRemote(o),!1}setTimeout(function(){n.disableFormElements(o)},13)}),r.on("click.rails",n.formInputClickSelector,function(t){var r=e(this);if(!n.allowAction(r))return n.stopEverything(t);var i=r.attr("name"),o=i?{name:i,value:r.val()}:null,a=r.closest("form");0===a.length&&(a=e("#"+r.attr("form"))),a.data("ujs:submit-button",o),a.data("ujs:formnovalidate-button",r.attr("formnovalidate")),a.data("ujs:submit-button-formaction",r.attr("formaction")),a.data("ujs:submit-button-formmethod",r.attr("formmethod"))}),r.on("ajax:send.rails",n.formSubmitSelector,function(t){this===t.target&&n.disableFormElements(e(this))}),r.on("ajax:complete.rails",n.formSubmitSelector,function(t){this===t.target&&n.enableFormElements(e(this))}),e(function(){n.refreshCSRFTokens()}))}(e)}).call(this,n(0))},1331:function(e,t){window.requestIdleCallback=window.requestIdleCallback||function(e){var t=Date.now();return setTimeout(function(){e({didTimeout:!1,timeRemaining:function(){return Math.max(0,50-(Date.now()-t))}})},1)},window.cancelIdleCallback=window.cancelIdleCallback||function(e){clearTimeout(e)}},1332:function(e,t){window.NodeList&&!NodeList.prototype.forEach&&(NodeList.prototype.forEach=function(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:window,n=0;n<this.length;n+=1)e.call(t,this[n],n,this)})},1333:function(e,t){var n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};"function"!=typeof window.Event&&(window.Event=function(e,t){var r=document.createEvent("Event"),i=n({bubbles:!1,cancelable:!1},t);return r.initEvent(e,i.bubbles,i.cancelable),r},window.Event.prototype=Event)},1334:function(e,t){Element.prototype.closest=Element.prototype.closest||function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this;return t?t.matches(e)?t:Element.prototype.closest(e,t.parentElement):null},Element.prototype.matches=Element.prototype.matches||Element.prototype.matchesSelector||Element.prototype.mozMatchesSelector||Element.prototype.msMatchesSelector||Element.prototype.oMatchesSelector||Element.prototype.webkitMatchesSelector||function(e){for(var t=(this.document||this.ownerDocument).querySelectorAll(e),n=t.length-1;n>=0&&t.item(n)!==this;)n-=1;return n>-1},[Element.prototype,CharacterData.prototype,DocumentType.prototype].forEach(function(e){Object.prototype.hasOwnProperty.call(e,"remove")||Object.defineProperty(e,"remove",{configurable:!0,enumerable:!0,writable:!0,value:function(){null!==this.parentNode&&this.parentNode.removeChild(this)}})})},1335:function(e,t){var n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};"function"!=typeof window.CustomEvent&&(window.CustomEvent=function(e,t){var r=document.createEvent("CustomEvent"),i=n({bubbles:!1,cancelable:!1,detail:void 0},t);return r.initCustomEvent(e,i.bubbles,i.cancelable,i.detail),r},window.CustomEvent.prototype=Event)},1336:function(e,t,n){(function(e){!function(){var t,n="function"==typeof Object.defineProperties?Object.defineProperty:function(e,t,n){e!=Array.prototype&&e!=Object.prototype&&(e[t]=n.value)},r="undefined"!=typeof window&&window===this?this:void 0!==e&&null!=e?e:this;function i(){i=function(){},r.Symbol||(r.Symbol=s)}var o,a,s=(o=0,function(e){return"jscomp_symbol_"+(e||"")+o++});function u(){i();var e=r.Symbol.iterator;e||(e=r.Symbol.iterator=r.Symbol("iterator")),"function"!=typeof Array.prototype[e]&&n(Array.prototype,e,{configurable:!0,writable:!0,value:function(){return c(this)}}),u=function(){}}function c(e){var t=0;return function(e){return u(),(e={next:e})[r.Symbol.iterator]=function(){return this},e}(function(){return t<e.length?{done:!1,value:e[t++]}:{done:!0}})}function l(e){u(),i(),u();var t=e[Symbol.iterator];return t?t.call(e):c(e)}if("function"==typeof Object.setPrototypeOf)a=Object.setPrototypeOf;else{var f;e:{var h={};try{h.__proto__={o:!0},f=h.o;break e}catch(o){}f=!1}a=f?function(e,t){if(e.__proto__=t,e.__proto__!==t)throw new TypeError(e+" is not extensible");return e}:null}var d=a;function p(){this.g=!1,this.c=null,this.m=void 0,this.b=1,this.l=this.s=0,this.f=null}function v(e){if(e.g)throw new TypeError("Generator is already running");e.g=!0}function m(e,t,n){return e.b=n,{value:t}}function g(e){this.a=new p,this.A=e}function y(e,t,n,r){try{var i=t.call(e.a.c,n);if(!(i instanceof Object))throw new TypeError("Iterator result "+i+" is not an object");if(!i.done)return e.a.g=!1,i;var o=i.value}catch(t){return e.a.c=null,e.a.i(t),b(e)}return e.a.c=null,r.call(e.a,o),b(e)}function b(e){for(;e.a.b;)try{var t=e.A(e.a);if(t)return e.a.g=!1,{value:t.value,done:!1}}catch(t){e.a.m=void 0,e.a.i(t)}if(e.a.g=!1,e.a.f){if(t=e.a.f,e.a.f=null,t.v)throw t.u;return{value:t.return,done:!0}}return{value:void 0,done:!0}}function w(e){this.next=function(t){return e.h(t)},this.throw=function(t){return e.i(t)},this.return=function(t){return function(e,t){v(e.a);var n=e.a.c;return n?y(e,"return"in n?n.return:function(e){return{value:e,done:!0}},t,e.a.return):(e.a.return(t),b(e))}(e,t)},u(),this[Symbol.iterator]=function(){return this}}function E(e,t){var n=new w(new g(t));return d&&d(n,e.prototype),n}if(p.prototype.h=function(e){this.m=e},p.prototype.i=function(e){this.f={u:e,v:!0},this.b=this.s||this.l},p.prototype.return=function(e){this.f={return:e},this.b=this.l},g.prototype.h=function(e){return v(this.a),this.a.c?y(this,this.a.c.next,e,this.a.h):(this.a.h(e),b(this))},g.prototype.i=function(e){return v(this.a),this.a.c?y(this,this.a.c.throw,e,this.a.h):(this.a.i(e),b(this))},"undefined"==typeof FormData||!FormData.prototype.keys){var _=function(e,t,n){if(2>arguments.length)throw new TypeError("2 arguments required, but only "+arguments.length+" present.");return t instanceof Blob?[e+"",t,void 0!==n?n+"":"string"==typeof t.name?t.name:"blob"]:[e+"",t+""]},C=function(e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");return[e+""]},T=function(e){var t=l(e);return e=t.next().value,t=t.next().value,e instanceof Blob&&(e=new File([e],t,{type:e.type,lastModified:e.lastModified})),e},x="object"==typeof window?window:"object"==typeof self?self:this,k=x.FormData,S=x.XMLHttpRequest&&x.XMLHttpRequest.prototype.send,A=x.Request&&x.fetch;i();var O=x.Symbol&&Symbol.toStringTag,j=new WeakMap,I=Array.from||function(e){return[].slice.call(e)};O&&(Blob.prototype[O]||(Blob.prototype[O]="Blob"),"File"in x&&!File.prototype[O]&&(File.prototype[O]="File"));try{new File([],"")}catch(o){x.File=function(e,t,n){return e=new Blob(e,n),n=n&&void 0!==n.lastModified?new Date(n.lastModified):new Date,Object.defineProperties(e,{name:{value:t},lastModifiedDate:{value:n},lastModified:{value:+n},toString:{value:function(){return"[object File]"}}}),O&&Object.defineProperty(e,O,{value:"File"}),e}}var D=function(e){if(j.set(this,Object.create(null)),!e)return this;for(var t=(e=l(I(e.elements))).next();!t.done;t=e.next())if((t=t.value).name&&!t.disabled)if("file"===t.type)for(var n=l(t.files),r=n.next();!r.done;r=n.next())this.append(t.name,r.value);else if("select-multiple"===t.type||"select-one"===t.type)for(r=(n=l(I(t.options))).next();!r.done;r=n.next())!(r=r.value).disabled&&r.selected&&this.append(t.name,r.value);else"checkbox"===t.type||"radio"===t.type?t.checked&&this.append(t.name,t.value):this.append(t.name,t.value)};if((t=D.prototype).append=function(e,t,n){var r=j.get(this);r[e]||(r[e]=[]),r[e].push([t,n])},t.delete=function(e){delete j.get(this)[e]},t.entries=function e(){var t,n,r,i,o,a,s=this;return E(e,function(e){switch(e.b){case 1:t=j.get(s),r=new function(e){for(var t in this.w=e,this.j=[],e)this.j.push(t);this.j.reverse()}(t);case 2:var u;e:{for(u=r;0<u.j.length;){var c=u.j.pop();if(c in u.w){u=c;break e}}u=null}if(null==(n=u)){e.b=0;break}i=l(t[n]),o=i.next();case 5:if(o.done){e.b=2;break}return a=o.value,m(e,[n,T(a)],6);case 6:o=i.next(),e.b=5}})},t.forEach=function(e,t){for(var n=l(this),r=n.next();!r.done;r=n.next()){var i=l(r.value);r=i.next().value,i=i.next().value,e.call(t,i,r,this)}},t.get=function(e){var t=j.get(this);return t[e]?T(t[e][0]):null},t.getAll=function(e){return(j.get(this)[e]||[]).map(T)},t.has=function(e){return e in j.get(this)},t.keys=function e(){var t,n,r,i,o=this;return E(e,function(e){if(1==e.b&&(t=l(o),n=t.next()),3!=e.b)return n.done?void(e.b=0):(r=n.value,i=l(r),m(e,i.next().value,3));n=t.next(),e.b=2})},t.set=function(e,t,n){j.get(this)[e]=[[t,n]]},t.values=function e(){var t,n,r,i,o=this;return E(e,function(e){if(1==e.b&&(t=l(o),n=t.next()),3!=e.b)return n.done?void(e.b=0):(r=n.value,(i=l(r)).next(),m(e,i.next().value,3));n=t.next(),e.b=2})},D.prototype._asNative=function(){for(var e=new k,t=l(this),n=t.next();!n.done;n=t.next()){var r=l(n.value);n=r.next().value,r=r.next().value,e.append(n,r)}return e},D.prototype._blob=function(){for(var e="----formdata-polyfill-"+Math.random(),t=[],n=l(this),r=n.next();!r.done;r=n.next()){var i=l(r.value);r=i.next().value,i=i.next().value,t.push("--"+e+"\r\n"),i instanceof Blob?t.push('Content-Disposition: form-data; name="'+r+'"; filename="'+i.name+'"\r\n',"Content-Type: "+(i.type||"application/octet-stream")+"\r\n\r\n",i,"\r\n"):t.push('Content-Disposition: form-data; name="'+r+'"\r\n\r\n'+i+"\r\n")}return t.push("--"+e+"--"),new Blob(t,{type:"multipart/form-data; boundary="+e})},i(),u(),D.prototype[Symbol.iterator]=function(){return this.entries()},D.prototype.toString=function(){return"[object FormData]"},O&&(D.prototype[O]="FormData"),[["append",_],["delete",C],["get",C],["getAll",C],["has",C],["set",_]].forEach(function(e){var t=D.prototype[e[0]];D.prototype[e[0]]=function(){return t.apply(this,e[1].apply(this,I(arguments)))}}),S&&(XMLHttpRequest.prototype.send=function(e){e instanceof D?(e=e._blob(),this.setRequestHeader("Content-Type",e.type),S.call(this,e)):S.call(this,e)}),A){var L=x.fetch;x.fetch=function(e,t){return t&&t.body&&t.body instanceof D&&(t.body=t.body._blob()),L(e,t)}}x.FormData=D}}()}).call(this,n(174))},1337:function(e,t){
  /*! @source http://purl.eligrey.com/github/classList.js/blob/master/classList.js */
  "document"in window.self&&("classList"in document.createElement("_")&&(!document.createElementNS||"classList"in document.createElementNS("http://www.w3.org/2000/svg","g"))||function(e){"use strict";if("Element"in e){var t=e.Element.prototype,n=Object,r=String.prototype.trim||function(){return this.replace(/^\s+|\s+$/g,"")},i=Array.prototype.indexOf||function(e){for(var t=0,n=this.length;t<n;t++)if(t in this&&this[t]===e)return t;return-1},o=function(e,t){this.name=e,this.code=DOMException[e],this.message=t},a=function(e,t){if(""===t)throw new o("SYNTAX_ERR","An invalid or illegal string was specified");if(/\s/.test(t))throw new o("INVALID_CHARACTER_ERR","String contains an invalid character");return i.call(e,t)},s=function(e){for(var t=r.call(e.getAttribute("class")||""),n=t?t.split(/\s+/):[],i=0,o=n.length;i<o;i++)this.push(n[i]);this._updateClassName=function(){e.setAttribute("class",this.toString())}},u=s.prototype=[],c=function(){return new s(this)};if(o.prototype=Error.prototype,u.item=function(e){return this[e]||null},u.contains=function(e){return-1!==a(this,e+="")},u.add=function(){var e,t=arguments,n=0,r=t.length,i=!1;do{e=t[n]+"",-1===a(this,e)&&(this.push(e),i=!0)}while(++n<r);i&&this._updateClassName()},u.remove=function(){var e,t,n=arguments,r=0,i=n.length,o=!1;do{for(e=n[r]+"",t=a(this,e);-1!==t;)this.splice(t,1),o=!0,t=a(this,e)}while(++r<i);o&&this._updateClassName()},u.toggle=function(e,t){e+="";var n=this.contains(e),r=n?!0!==t&&"remove":!1!==t&&"add";return r&&this[r](e),!0===t||!1===t?t:!n},u.toString=function(){return this.join(" ")},n.defineProperty){var l={get:c,enumerable:!0,configurable:!0};try{n.defineProperty(t,"classList",l)}catch(e){void 0!==e.number&&-2146823252!==e.number||(l.enumerable=!1,n.defineProperty(t,"classList",l))}}else n.prototype.__defineGetter__&&t.__defineGetter__("classList",c)}}(window.self),function(){"use strict";var e=document.createElement("_");if(e.classList.add("c1","c2"),!e.classList.contains("c2")){var t=function(e){var t=DOMTokenList.prototype[e];DOMTokenList.prototype[e]=function(e){var n,r=arguments.length;for(n=0;n<r;n++)e=arguments[n],t.call(this,e)}};t("add"),t("remove")}if(e.classList.toggle("c3",!1),e.classList.contains("c3")){var n=DOMTokenList.prototype.toggle;DOMTokenList.prototype.toggle=function(e,t){return 1 in arguments&&!this.contains(e)==!t?t:n.call(this,e)}}e=null}())},1338:function(e,t,n){"use strict";var r=n(493),i=n(425).getWeak,o=n(297),a=n(215),s=n(495),u=n(494),c=n(499),l=n(308),f=n(492),h=c(5),d=c(6),p=0,v=function(e){return e._l||(e._l=new m)},m=function(){this.a=[]},g=function(e,t){return h(e.a,function(e){return e[0]===t})};m.prototype={get:function(e){var t=g(this,e);if(t)return t[1]},has:function(e){return!!g(this,e)},set:function(e,t){var n=g(this,e);n?n[1]=t:this.a.push([e,t])},delete:function(e){var t=d(this.a,function(t){return t[0]===e});return~t&&this.a.splice(t,1),!!~t}},e.exports={getConstructor:function(e,t,n,o){var c=e(function(e,r){s(e,c,t,"_i"),e._t=t,e._i=p++,e._l=void 0,void 0!=r&&u(r,n,e[o],e)});return r(c.prototype,{delete:function(e){if(!a(e))return!1;var n=i(e);return!0===n?v(f(this,t)).delete(e):n&&l(n,this._i)&&delete n[this._i]},has:function(e){if(!a(e))return!1;var n=i(e);return!0===n?v(f(this,t)).has(e):n&&l(n,this._i)}}),c},def:function(e,t,n){var r=i(o(t),!0);return!0===r?v(e).set(t,n):r[e._i]=n,e},ufstore:v}},1339:function(e,t,n){"use strict";var r,i=n(499)(0),o=n(337),a=n(425),s=n(711),u=n(1338),c=n(215),l=n(362),f=n(492),h=a.getWeak,d=Object.isExtensible,p=u.ufstore,v={},m=function(e){return function(){return e(this,arguments.length>0?arguments[0]:void 0)}},g={get:function(e){if(c(e)){var t=h(e);return!0===t?p(f(this,"WeakMap")).get(e):t?t[this._i]:void 0}},set:function(e,t){return u.def(f(this,"WeakMap"),e,t)}},y=e.exports=n(699)("WeakMap",m,g,u,!0,!0);l(function(){return 7!=(new y).set((Object.freeze||Object)(v),7).get(v)})&&(s((r=u.getConstructor(m,"WeakMap")).prototype,g),a.NEED=!0,i(["delete","has","get","set"],function(e){var t=y.prototype,n=t[e];o(t,e,function(t,i){if(c(t)&&!d(t)){this._f||(this._f=new r);var o=this._f[e](t,i);return"set"==e?this:o}return n.call(this,t,i)})}))},1340:function(e,t,n){n(496),n(709),n(1339),e.exports=n(175).WeakMap},1341:function(e,t,n){var r=n(215),i=n(297),o=function(e,t){if(i(e),!r(t)&&null!==t)throw TypeError(t+": can't set as prototype!")};e.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(e,t,r){try{(r=n(336)(Function.call,n(700).f(Object.prototype,"__proto__").set,2))(e,[]),t=!(e instanceof Array)}catch(e){t=!0}return function(e,n){return o(e,n),t?e.__proto__=n:r(e,n),e}}({},!1):void 0),check:o}},1342:function(e,t,n){var r=n(215),i=n(1341).set;e.exports=function(e,t,n){var o,a=t.constructor;return a!==n&&"function"==typeof a&&(o=a.prototype)!==n.prototype&&r(o)&&i&&i(e,o),e}},1343:function(e,t,n){"use strict";var r=n(309).f,i=n(636),o=n(493),a=n(336),s=n(495),u=n(494),c=n(637),l=n(708),f=n(703),h=n(338),d=n(425).fastKey,p=n(492),v=h?"_s":"size",m=function(e,t){var n,r=d(t);if("F"!==r)return e._i[r];for(n=e._f;n;n=n.n)if(n.k==t)return n};e.exports={getConstructor:function(e,t,n,c){var l=e(function(e,r){s(e,l,t,"_i"),e._t=t,e._i=i(null),e._f=void 0,e._l=void 0,e[v]=0,void 0!=r&&u(r,n,e[c],e)});return o(l.prototype,{clear:function(){for(var e=p(this,t),n=e._i,r=e._f;r;r=r.n)r.r=!0,r.p&&(r.p=r.p.n=void 0),delete n[r.i];e._f=e._l=void 0,e[v]=0},delete:function(e){var n=p(this,t),r=m(n,e);if(r){var i=r.n,o=r.p;delete n._i[r.i],r.r=!0,o&&(o.n=i),i&&(i.p=o),n._f==r&&(n._f=i),n._l==r&&(n._l=o),n[v]--}return!!r},forEach:function(e){p(this,t);for(var n,r=a(e,arguments.length>1?arguments[1]:void 0,3);n=n?n.n:this._f;)for(r(n.v,n.k,this);n&&n.r;)n=n.p},has:function(e){return!!m(p(this,t),e)}}),h&&r(l.prototype,"size",{get:function(){return p(this,t)[v]}}),l},def:function(e,t,n){var r,i,o=m(e,t);return o?o.v=n:(e._l=o={i:i=d(t,!0),k:t,v:n,p:r=e._l,n:void 0,r:!1},e._f||(e._f=o),r&&(r.n=o),e[v]++,"F"!==i&&(e._i[i]=o)),e},getEntry:m,setStrong:function(e,t,n){c(e,t,function(e,n){this._t=p(e,t),this._k=n,this._l=void 0},function(){for(var e=this._k,t=this._l;t&&t.r;)t=t.p;return this._t&&(this._l=t=t?t.n:this._t._f)?l(0,"keys"==e?t.k:"values"==e?t.v:[t.k,t.v]):(this._t=void 0,l(1))},n?"entries":"values",!n,!0),f(t)}}},1344:function(e,t,n){"use strict";var r=n(1343),i=n(492);e.exports=n(699)("Map",function(e){return function(){return e(this,arguments.length>0?arguments[0]:void 0)}},{get:function(e){var t=r.getEntry(i(this,"Map"),e);return t&&t.v},set:function(e,t){return r.def(i(this,"Map"),0===e?0:e,t)}},r,!0)},1345:function(e,t,n){n(496),n(638),n(710),n(1344),e.exports=n(175).Map},1346:function(e,t,n){n(629)("observable")},1347:function(e,t,n){n(629)("asyncIterator")},1348:function(e,t,n){var r=n(392),i=n(701).f,o={}.toString,a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];e.exports.f=function(e){return a&&"[object Window]"==o.call(e)?function(e){try{return i(e)}catch(e){return a.slice()}}(e):i(r(e))}},1349:function(e,t,n){var r=n(427),i=n(631),o=n(497);e.exports=function(e){var t=r(e),n=i.f;if(n)for(var a,s=n(e),u=o.f,c=0;s.length>c;)u.call(e,a=s[c++])&&t.push(a);return t}},1350:function(e,t,n){"use strict";var r=n(216),i=n(308),o=n(338),a=n(217),s=n(337),u=n(425).KEY,c=n(362),l=n(640),f=n(426),h=n(432),d=n(185),p=n(702),v=n(629),m=n(1349),g=n(719),y=n(297),b=n(215),w=n(392),E=n(643),_=n(433),C=n(636),T=n(1348),x=n(700),k=n(309),S=n(427),A=x.f,O=k.f,j=T.f,I=r.Symbol,D=r.JSON,L=D&&D.stringify,P=d("_hidden"),N=d("toPrimitive"),M={}.propertyIsEnumerable,F=l("symbol-registry"),R=l("symbols"),H=l("op-symbols"),$=Object.prototype,q="function"==typeof I,B=r.QObject,U=!B||!B.prototype||!B.prototype.findChild,W=o&&c(function(){return 7!=C(O({},"a",{get:function(){return O(this,"a",{value:7}).a}})).a})?function(e,t,n){var r=A($,t);r&&delete $[t],O(e,t,n),r&&e!==$&&O($,t,r)}:O,V=function(e){var t=R[e]=C(I.prototype);return t._k=e,t},K=q&&"symbol"==typeof I.iterator?function(e){return"symbol"==typeof e}:function(e){return e instanceof I},G=function(e,t,n){return e===$&&G(H,t,n),y(e),t=E(t,!0),y(n),i(R,t)?(n.enumerable?(i(e,P)&&e[P][t]&&(e[P][t]=!1),n=C(n,{enumerable:_(0,!1)})):(i(e,P)||O(e,P,_(1,{})),e[P][t]=!0),W(e,t,n)):O(e,t,n)},z=function(e,t){y(e);for(var n,r=m(t=w(t)),i=0,o=r.length;o>i;)G(e,n=r[i++],t[n]);return e},Q=function(e){var t=M.call(this,e=E(e,!0));return!(this===$&&i(R,e)&&!i(H,e))&&(!(t||!i(this,e)||!i(R,e)||i(this,P)&&this[P][e])||t)},Y=function(e,t){if(e=w(e),t=E(t,!0),e!==$||!i(R,t)||i(H,t)){var n=A(e,t);return!n||!i(R,t)||i(e,P)&&e[P][t]||(n.enumerable=!0),n}},X=function(e){for(var t,n=j(w(e)),r=[],o=0;n.length>o;)i(R,t=n[o++])||t==P||t==u||r.push(t);return r},J=function(e){for(var t,n=e===$,r=j(n?H:w(e)),o=[],a=0;r.length>a;)!i(R,t=r[a++])||n&&!i($,t)||o.push(R[t]);return o};q||(s((I=function(){if(this instanceof I)throw TypeError("Symbol is not a constructor!");var e=h(arguments.length>0?arguments[0]:void 0),t=function(n){this===$&&t.call(H,n),i(this,P)&&i(this[P],e)&&(this[P][e]=!1),W(this,e,_(1,n))};return o&&U&&W($,e,{configurable:!0,set:t}),V(e)}).prototype,"toString",function(){return this._k}),x.f=Y,k.f=G,n(701).f=T.f=X,n(497).f=Q,n(631).f=J,o&&!n(498)&&s($,"propertyIsEnumerable",Q,!0),p.f=function(e){return V(d(e))}),a(a.G+a.W+a.F*!q,{Symbol:I});for(var Z="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),ee=0;Z.length>ee;)d(Z[ee++]);for(var te=S(d.store),ne=0;te.length>ne;)v(te[ne++]);a(a.S+a.F*!q,"Symbol",{for:function(e){return i(F,e+="")?F[e]:F[e]=I(e)},keyFor:function(e){if(!K(e))throw TypeError(e+" is not a symbol!");for(var t in F)if(F[t]===e)return t},useSetter:function(){U=!0},useSimple:function(){U=!1}}),a(a.S+a.F*!q,"Object",{create:function(e,t){return void 0===t?C(e):z(C(e),t)},defineProperty:G,defineProperties:z,getOwnPropertyDescriptor:Y,getOwnPropertyNames:X,getOwnPropertySymbols:J}),D&&a(a.S+a.F*(!q||c(function(){var e=I();return"[null]"!=L([e])||"{}"!=L({a:e})||"{}"!=L(Object(e))})),"JSON",{stringify:function(e){for(var t,n,r=[e],i=1;arguments.length>i;)r.push(arguments[i++]);if(n=t=r[1],(b(t)||void 0!==e)&&!K(e))return g(t)||(t=function(e,t){if("function"==typeof n&&(t=n.call(this,e,t)),!K(t))return t}),r[1]=t,L.apply(D,r)}}),I.prototype[N]||n(363)(I.prototype,N,I.prototype.valueOf),f(I,"Symbol"),f(Math,"Math",!0),f(r.JSON,"JSON",!0)},1351:function(e,t,n){n(1350),n(496),n(1347),n(1346),e.exports=n(175).Symbol},1352:function(e,t,n){var r=n(185)("match");e.exports=function(e){var t=/./;try{"/./"[e](t)}catch(n){try{return t[r]=!1,!"/./"[e](t)}catch(e){}}return!0}},1353:function(e,t,n){var r=n(215),i=n(393),o=n(185)("match");e.exports=function(e){var t;return r(e)&&(void 0!==(t=e[o])?!!t:"RegExp"==i(e))}},1354:function(e,t,n){var r=n(1353),i=n(500);e.exports=function(e,t,n){if(r(t))throw TypeError("String#"+n+" doesn't accept regex!");return String(i(e))}},1355:function(e,t,n){"use strict";var r=n(217),i=n(1354);r(r.P+r.F*n(1352)("includes"),"String",{includes:function(e){return!!~i(this,e,"includes").indexOf(e,arguments.length>1?arguments[1]:void 0)}})},1356:function(e,t,n){n(1355),e.exports=n(175).String.includes},1357:function(e,t,n){var r=n(217),i=n(642),o=String.fromCharCode,a=String.fromCodePoint;r(r.S+r.F*(!!a&&1!=a.length),"String",{fromCodePoint:function(e){for(var t,n=[],r=arguments.length,a=0;r>a;){if(t=+arguments[a++],i(t,1114111)!==t)throw RangeError(t+" is not a valid code point");n.push(t<65536?o(t):o(55296+((t-=65536)>>10),t%1024+56320))}return n.join("")}})},1358:function(e,t,n){n(1357),e.exports=n(175).String.fromCodePoint},1359:function(e,t,n){"use strict";var r=n(217),i=n(718)(!1);r(r.P,"String",{codePointAt:function(e){return i(this,e)}})},1360:function(e,t,n){n(1359),e.exports=n(175).String.codePointAt},1361:function(e,t,n){"use strict";var r=n(217),i=n(630),o=n(705);r(r.S,"Promise",{try:function(e){var t=i.f(this),n=o(e);return(n.e?t.reject:t.resolve)(n.v),t.promise}})},1362:function(e,t,n){"use strict";var r=n(217),i=n(175),o=n(216),a=n(707),s=n(704);r(r.P+r.R,"Promise",{finally:function(e){var t=a(this,i.Promise||o.Promise),n="function"==typeof e;return this.then(n?function(n){return s(t,e()).then(function(){return n})}:e,n?function(n){return s(t,e()).then(function(){throw n})}:e)}})},1363:function(e,t,n){var r=n(216),i=n(706).set,o=r.MutationObserver||r.WebKitMutationObserver,a=r.process,s=r.Promise,u="process"==n(393)(a);e.exports=function(){var e,t,n,c=function(){var r,i;for(u&&(r=a.domain)&&r.exit();e;){i=e.fn,e=e.next;try{i()}catch(r){throw e?n():t=void 0,r}}t=void 0,r&&r.enter()};if(u)n=function(){a.nextTick(c)};else if(!o||r.navigator&&r.navigator.standalone)if(s&&s.resolve){var l=s.resolve();n=function(){l.then(c)}}else n=function(){i.call(r,c)};else{var f=!0,h=document.createTextNode("");new o(c).observe(h,{characterData:!0}),n=function(){h.data=f=!f}}return function(r){var i={fn:r,next:void 0};t&&(t.next=i),e||(e=i,n()),t=i}}},1364:function(e,t){e.exports=function(e,t,n){var r=void 0===n;switch(t.length){case 0:return r?e():e.call(n);case 1:return r?e(t[0]):e.call(n,t[0]);case 2:return r?e(t[0],t[1]):e.call(n,t[0],t[1]);case 3:return r?e(t[0],t[1],t[2]):e.call(n,t[0],t[1],t[2]);case 4:return r?e(t[0],t[1],t[2],t[3]):e.call(n,t[0],t[1],t[2],t[3])}return e.apply(n,t)}},1365:function(e,t,n){"use strict";var r,i,o,a,s=n(498),u=n(216),c=n(336),l=n(633),f=n(217),h=n(215),d=n(501),p=n(495),v=n(494),m=n(707),g=n(706).set,y=n(1363)(),b=n(630),w=n(705),E=n(704),_=u.TypeError,C=u.process,T=u.Promise,x="process"==l(C),k=function(){},S=i=b.f,A=!!function(){try{var e=T.resolve(1),t=(e.constructor={})[n(185)("species")]=function(e){e(k,k)};return(x||"function"==typeof PromiseRejectionEvent)&&e.then(k)instanceof t}catch(e){}}(),O=function(e){var t;return!(!h(e)||"function"!=typeof(t=e.then))&&t},j=function(e,t){if(!e._n){e._n=!0;var n=e._c;y(function(){for(var r=e._v,i=1==e._s,o=0,a=function(t){var n,o,a=i?t.ok:t.fail,s=t.resolve,u=t.reject,c=t.domain;try{a?(i||(2==e._h&&L(e),e._h=1),!0===a?n=r:(c&&c.enter(),n=a(r),c&&c.exit()),n===t.promise?u(_("Promise-chain cycle")):(o=O(n))?o.call(n,s,u):s(n)):u(r)}catch(e){u(e)}};n.length>o;)a(n[o++]);e._c=[],e._n=!1,t&&!e._h&&I(e)})}},I=function(e){g.call(u,function(){var t,n,r,i=e._v,o=D(e);if(o&&(t=w(function(){x?C.emit("unhandledRejection",i,e):(n=u.onunhandledrejection)?n({promise:e,reason:i}):(r=u.console)&&r.error&&r.error("Unhandled promise rejection",i)}),e._h=x||D(e)?2:1),e._a=void 0,o&&t.e)throw t.v})},D=function(e){return 1!==e._h&&0===(e._a||e._c).length},L=function(e){g.call(u,function(){var t;x?C.emit("rejectionHandled",e):(t=u.onrejectionhandled)&&t({promise:e,reason:e._v})})},P=function(e){var t=this;t._d||(t._d=!0,(t=t._w||t)._v=e,t._s=2,t._a||(t._a=t._c.slice()),j(t,!0))},N=function(e){var t,n=this;if(!n._d){n._d=!0,n=n._w||n;try{if(n===e)throw _("Promise can't be resolved itself");(t=O(e))?y(function(){var r={_w:n,_d:!1};try{t.call(e,c(N,r,1),c(P,r,1))}catch(e){P.call(r,e)}}):(n._v=e,n._s=1,j(n,!1))}catch(e){P.call({_w:n,_d:!1},e)}}};A||(T=function(e){p(this,T,"Promise","_h"),d(e),r.call(this);try{e(c(N,this,1),c(P,this,1))}catch(e){P.call(this,e)}},(r=function(e){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1}).prototype=n(493)(T.prototype,{then:function(e,t){var n=S(m(this,T));return n.ok="function"!=typeof e||e,n.fail="function"==typeof t&&t,n.domain=x?C.domain:void 0,this._c.push(n),this._a&&this._a.push(n),this._s&&j(this,!1),n.promise},catch:function(e){return this.then(void 0,e)}}),o=function(){var e=new r;this.promise=e,this.resolve=c(N,e,1),this.reject=c(P,e,1)},b.f=S=function(e){return e===T||e===a?new o(e):i(e)}),f(f.G+f.W+f.F*!A,{Promise:T}),n(426)(T,"Promise"),n(703)("Promise"),a=n(175).Promise,f(f.S+f.F*!A,"Promise",{reject:function(e){var t=S(this);return(0,t.reject)(e),t.promise}}),f(f.S+f.F*(s||!A),"Promise",{resolve:function(e){return E(s&&this===a?T:this,e)}}),f(f.S+f.F*!(A&&n(632)(function(e){T.all(e).catch(k)})),"Promise",{all:function(e){var t=this,n=S(t),r=n.resolve,i=n.reject,o=w(function(){var n=[],o=0,a=1;v(e,!1,function(e){var s=o++,u=!1;n.push(void 0),a++,t.resolve(e).then(function(e){u||(u=!0,n[s]=e,--a||r(n))},i)}),--a||r(n)});return o.e&&i(o.v),n.promise},race:function(e){var t=this,n=S(t),r=n.reject,i=w(function(){v(e,!1,function(e){t.resolve(e).then(n.resolve,r)})});return i.e&&r(i.v),n.promise}})},1366:function(e,t,n){n(496),n(638),n(710),n(1365),n(1362),n(1361),e.exports=n(175).Promise},1367:function(e,t,n){var r=n(217);r(r.S+r.F,"Object",{assign:n(711)})},1368:function(e,t,n){n(1367),e.exports=n(175).Object.assign},1369:function(e,t,n){"use strict";var r=n(217),i=n(716)(!0);r(r.P,"Array",{includes:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}}),n(429)("includes")},1370:function(e,t,n){n(1369),e.exports=n(175).Array.includes},1371:function(e,t,n){"use strict";var r=n(309),i=n(433);e.exports=function(e,t,n){t in e?r.f(e,t,i(0,n)):e[t]=n}},1372:function(e,t,n){"use strict";var r=n(336),i=n(217),o=n(431),a=n(714),s=n(713),u=n(430),c=n(1371),l=n(712);i(i.S+i.F*!n(632)(function(e){Array.from(e)}),"Array",{from:function(e){var t,n,i,f,h=o(e),d="function"==typeof this?this:Array,p=arguments.length,v=p>1?arguments[1]:void 0,m=void 0!==v,g=0,y=l(h);if(m&&(v=r(v,p>2?arguments[2]:void 0,2)),void 0==y||d==Array&&s(y))for(n=new d(t=u(h.length));t>g;g++)c(n,g,m?v(h[g],g):h[g]);else for(f=y.call(h),n=new d;!(i=f.next()).done;g++)c(n,g,m?a(f,v,[i.value,g],!0):i.value);return n.length=g,n}})},1373:function(e,t,n){var r=n(308),i=n(431),o=n(635)("IE_PROTO"),a=Object.prototype;e.exports=Object.getPrototypeOf||function(e){return e=i(e),r(e,o)?e[o]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?a:null}},1374:function(e,t,n){var r=n(309),i=n(297),o=n(427);e.exports=n(338)?Object.defineProperties:function(e,t){i(e);for(var n,a=o(t),s=a.length,u=0;s>u;)r.f(e,n=a[u++],t[n]);return e}},1375:function(e,t,n){"use strict";var r=n(636),i=n(433),o=n(426),a={};n(363)(a,n(185)("iterator"),function(){return this}),e.exports=function(e,t,n){e.prototype=r(a,{next:i(1,n)}),o(e,t+" Iterator")}},1376:function(e,t,n){n(638),n(1372),e.exports=n(175).Array.from},1377:function(e,t,n){"use strict";var r=n(217),i=n(499)(6),o="findIndex",a=!0;o in[]&&Array(1)[o](function(){a=!1}),r(r.P+r.F*a,"Array",{findIndex:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}}),n(429)(o)},1378:function(e,t,n){n(1377),e.exports=n(175).Array.findIndex},1379:function(e,t,n){var r=n(215),i=n(719),o=n(185)("species");e.exports=function(e){var t;return i(e)&&("function"!=typeof(t=e.constructor)||t!==Array&&!i(t.prototype)||(t=void 0),r(t)&&null===(t=t[o])&&(t=void 0)),void 0===t?Array:t}},1380:function(e,t,n){var r=n(1379);e.exports=function(e,t){return new(r(e))(t)}},1381:function(e,t,n){"use strict";var r=n(217),i=n(499)(5),o=!0;"find"in[]&&Array(1).find(function(){o=!1}),r(r.P+r.F*o,"Array",{find:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}}),n(429)("find")},1382:function(e,t,n){n(1381),e.exports=n(175).Array.find},1383:function(e,t,n){"use strict";var r=n(431),i=n(642),o=n(430);e.exports=function(e){for(var t=r(this),n=o(t.length),a=arguments.length,s=i(a>1?arguments[1]:void 0,n),u=a>2?arguments[2]:void 0,c=void 0===u?n:i(u,n);c>s;)t[s++]=e;return t}},1384:function(e,t,n){var r=n(217);r(r.P,"Array",{fill:n(1383)}),n(429)("fill")},1385:function(e,t,n){n(1384),e.exports=n(175).Array.fill},1386:function(e,t,n){gon&&gon.webpack_public_path&&(n.p=gon.webpack_public_path)},14:function(e,t,n){"use strict";n.d(t,"d",function(){return b}),n.d(t,"c",function(){return E}),n.d(t,"b",function(){return _});
  /**
   * vuex v3.0.1
   * (c) 2017 Evan You
   * @license MIT
   */
  var r=function(e){if(Number(e.version.split(".")[0])>=2)e.mixin({beforeCreate:n});else{var t=e.prototype._init;e.prototype._init=function(e){void 0===e&&(e={}),e.init=e.init?[n].concat(e.init):n,t.call(this,e)}}function n(){var e=this.$options;e.store?this.$store="function"==typeof e.store?e.store():e.store:e.parent&&e.parent.$store&&(this.$store=e.parent.$store)}},i="undefined"!=typeof window&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function o(e,t){Object.keys(e).forEach(function(n){return t(e[n],n)})}var a=function(e,t){this.runtime=t,this._children=Object.create(null),this._rawModule=e;var n=e.state;this.state=("function"==typeof n?n():n)||{}},s={namespaced:{configurable:!0}};s.namespaced.get=function(){return!!this._rawModule.namespaced},a.prototype.addChild=function(e,t){this._children[e]=t},a.prototype.removeChild=function(e){delete this._children[e]},a.prototype.getChild=function(e){return this._children[e]},a.prototype.update=function(e){this._rawModule.namespaced=e.namespaced,e.actions&&(this._rawModule.actions=e.actions),e.mutations&&(this._rawModule.mutations=e.mutations),e.getters&&(this._rawModule.getters=e.getters)},a.prototype.forEachChild=function(e){o(this._children,e)},a.prototype.forEachGetter=function(e){this._rawModule.getters&&o(this._rawModule.getters,e)},a.prototype.forEachAction=function(e){this._rawModule.actions&&o(this._rawModule.actions,e)},a.prototype.forEachMutation=function(e){this._rawModule.mutations&&o(this._rawModule.mutations,e)},Object.defineProperties(a.prototype,s);var u=function(e){this.register([],e,!1)};u.prototype.get=function(e){return e.reduce(function(e,t){return e.getChild(t)},this.root)},u.prototype.getNamespace=function(e){var t=this.root;return e.reduce(function(e,n){return e+((t=t.getChild(n)).namespaced?n+"/":"")},"")},u.prototype.update=function(e){!function e(t,n,r){0;n.update(r);if(r.modules)for(var i in r.modules){if(!n.getChild(i))return void 0;e(t.concat(i),n.getChild(i),r.modules[i])}}([],this.root,e)},u.prototype.register=function(e,t,n){var r=this;void 0===n&&(n=!0);var i=new a(t,n);0===e.length?this.root=i:this.get(e.slice(0,-1)).addChild(e[e.length-1],i);t.modules&&o(t.modules,function(t,i){r.register(e.concat(i),t,n)})},u.prototype.unregister=function(e){var t=this.get(e.slice(0,-1)),n=e[e.length-1];t.getChild(n).runtime&&t.removeChild(n)};var c;var l=function(e){var t=this;void 0===e&&(e={}),!c&&"undefined"!=typeof window&&window.Vue&&y(window.Vue);var n=e.plugins;void 0===n&&(n=[]);var r=e.strict;void 0===r&&(r=!1);var o=e.state;void 0===o&&(o={}),"function"==typeof o&&(o=o()||{}),this._committing=!1,this._actions=Object.create(null),this._actionSubscribers=[],this._mutations=Object.create(null),this._wrappedGetters=Object.create(null),this._modules=new u(e),this._modulesNamespaceMap=Object.create(null),this._subscribers=[],this._watcherVM=new c;var a=this,s=this.dispatch,l=this.commit;this.dispatch=function(e,t){return s.call(a,e,t)},this.commit=function(e,t,n){return l.call(a,e,t,n)},this.strict=r,v(this,o,[],this._modules.root),p(this,o),n.forEach(function(e){return e(t)}),c.config.devtools&&function(e){i&&(e._devtoolHook=i,i.emit("vuex:init",e),i.on("vuex:travel-to-state",function(t){e.replaceState(t)}),e.subscribe(function(e,t){i.emit("vuex:mutation",e,t)}))}(this)},f={state:{configurable:!0}};function h(e,t){return t.indexOf(e)<0&&t.push(e),function(){var n=t.indexOf(e);n>-1&&t.splice(n,1)}}function d(e,t){e._actions=Object.create(null),e._mutations=Object.create(null),e._wrappedGetters=Object.create(null),e._modulesNamespaceMap=Object.create(null);var n=e.state;v(e,n,[],e._modules.root,!0),p(e,n,t)}function p(e,t,n){var r=e._vm;e.getters={};var i={};o(e._wrappedGetters,function(t,n){i[n]=function(){return t(e)},Object.defineProperty(e.getters,n,{get:function(){return e._vm[n]},enumerable:!0})});var a=c.config.silent;c.config.silent=!0,e._vm=new c({data:{$$state:t},computed:i}),c.config.silent=a,e.strict&&function(e){e._vm.$watch(function(){return this._data.$$state},function(){0},{deep:!0,sync:!0})}(e),r&&(n&&e._withCommit(function(){r._data.$$state=null}),c.nextTick(function(){return r.$destroy()}))}function v(e,t,n,r,i){var o=!n.length,a=e._modules.getNamespace(n);if(r.namespaced&&(e._modulesNamespaceMap[a]=r),!o&&!i){var s=m(t,n.slice(0,-1)),u=n[n.length-1];e._withCommit(function(){c.set(s,u,r.state)})}var l=r.context=function(e,t,n){var r=""===t,i={dispatch:r?e.dispatch:function(n,r,i){var o=g(n,r,i),a=o.payload,s=o.options,u=o.type;return s&&s.root||(u=t+u),e.dispatch(u,a)},commit:r?e.commit:function(n,r,i){var o=g(n,r,i),a=o.payload,s=o.options,u=o.type;s&&s.root||(u=t+u),e.commit(u,a,s)}};return Object.defineProperties(i,{getters:{get:r?function(){return e.getters}:function(){return function(e,t){var n={},r=t.length;return Object.keys(e.getters).forEach(function(i){if(i.slice(0,r)===t){var o=i.slice(r);Object.defineProperty(n,o,{get:function(){return e.getters[i]},enumerable:!0})}}),n}(e,t)}},state:{get:function(){return m(e.state,n)}}}),i}(e,a,n);r.forEachMutation(function(t,n){!function(e,t,n,r){(e._mutations[t]||(e._mutations[t]=[])).push(function(t){n.call(e,r.state,t)})}(e,a+n,t,l)}),r.forEachAction(function(t,n){var r=t.root?n:a+n,i=t.handler||t;!function(e,t,n,r){(e._actions[t]||(e._actions[t]=[])).push(function(t,i){var o,a=n.call(e,{dispatch:r.dispatch,commit:r.commit,getters:r.getters,state:r.state,rootGetters:e.getters,rootState:e.state},t,i);return(o=a)&&"function"==typeof o.then||(a=Promise.resolve(a)),e._devtoolHook?a.catch(function(t){throw e._devtoolHook.emit("vuex:error",t),t}):a})}(e,r,i,l)}),r.forEachGetter(function(t,n){!function(e,t,n,r){if(e._wrappedGetters[t])return void 0;e._wrappedGetters[t]=function(e){return n(r.state,r.getters,e.state,e.getters)}}(e,a+n,t,l)}),r.forEachChild(function(r,o){v(e,t,n.concat(o),r,i)})}function m(e,t){return t.length?t.reduce(function(e,t){return e[t]},e):e}function g(e,t,n){var r;return null!==(r=e)&&"object"==typeof r&&e.type&&(n=t,t=e,e=e.type),{type:e,payload:t,options:n}}function y(e){c&&e===c||r(c=e)}f.state.get=function(){return this._vm._data.$$state},f.state.set=function(e){0},l.prototype.commit=function(e,t,n){var r=this,i=g(e,t,n),o=i.type,a=i.payload,s=(i.options,{type:o,payload:a}),u=this._mutations[o];u&&(this._withCommit(function(){u.forEach(function(e){e(a)})}),this._subscribers.forEach(function(e){return e(s,r.state)}))},l.prototype.dispatch=function(e,t){var n=this,r=g(e,t),i=r.type,o=r.payload,a={type:i,payload:o},s=this._actions[i];if(s)return this._actionSubscribers.forEach(function(e){return e(a,n.state)}),s.length>1?Promise.all(s.map(function(e){return e(o)})):s[0](o)},l.prototype.subscribe=function(e){return h(e,this._subscribers)},l.prototype.subscribeAction=function(e){return h(e,this._actionSubscribers)},l.prototype.watch=function(e,t,n){var r=this;return this._watcherVM.$watch(function(){return e(r.state,r.getters)},t,n)},l.prototype.replaceState=function(e){var t=this;this._withCommit(function(){t._vm._data.$$state=e})},l.prototype.registerModule=function(e,t,n){void 0===n&&(n={}),"string"==typeof e&&(e=[e]),this._modules.register(e,t),v(this,this.state,e,this._modules.get(e),n.preserveState),p(this,this.state)},l.prototype.unregisterModule=function(e){var t=this;"string"==typeof e&&(e=[e]),this._modules.unregister(e),this._withCommit(function(){var n=m(t.state,e.slice(0,-1));c.delete(n,e[e.length-1])}),d(this)},l.prototype.hotUpdate=function(e){this._modules.update(e),d(this,!0)},l.prototype._withCommit=function(e){var t=this._committing;this._committing=!0,e(),this._committing=t},Object.defineProperties(l.prototype,f);var b=T(function(e,t){var n={};return C(t).forEach(function(t){var r=t.key,i=t.val;n[r]=function(){var t=this.$store.state,n=this.$store.getters;if(e){var r=x(this.$store,"mapState",e);if(!r)return;t=r.context.state,n=r.context.getters}return"function"==typeof i?i.call(this,t,n):t[i]},n[r].vuex=!0}),n}),w=T(function(e,t){var n={};return C(t).forEach(function(t){var r=t.key,i=t.val;n[r]=function(){for(var t=[],n=arguments.length;n--;)t[n]=arguments[n];var r=this.$store.commit;if(e){var o=x(this.$store,"mapMutations",e);if(!o)return;r=o.context.commit}return"function"==typeof i?i.apply(this,[r].concat(t)):r.apply(this.$store,[i].concat(t))}}),n}),E=T(function(e,t){var n={};return C(t).forEach(function(t){var r=t.key,i=t.val;i=e+i,n[r]=function(){if(!e||x(this.$store,"mapGetters",e))return this.$store.getters[i]},n[r].vuex=!0}),n}),_=T(function(e,t){var n={};return C(t).forEach(function(t){var r=t.key,i=t.val;n[r]=function(){for(var t=[],n=arguments.length;n--;)t[n]=arguments[n];var r=this.$store.dispatch;if(e){var o=x(this.$store,"mapActions",e);if(!o)return;r=o.context.dispatch}return"function"==typeof i?i.apply(this,[r].concat(t)):r.apply(this.$store,[i].concat(t))}}),n});function C(e){return Array.isArray(e)?e.map(function(e){return{key:e,val:e}}):Object.keys(e).map(function(t){return{key:t,val:e[t]}})}function T(e){return function(t,n){return"string"!=typeof t?(n=t,t=""):"/"!==t.charAt(t.length-1)&&(t+="/"),e(t,n)}}function x(e,t,n){return e._modulesNamespaceMap[n]}var k={Store:l,install:y,version:"3.0.1",mapState:b,mapMutations:w,mapGetters:E,mapActions:_,createNamespacedHelpers:function(e){return{mapState:b.bind(null,e),mapGetters:E.bind(null,e),mapMutations:w.bind(null,e),mapActions:_.bind(null,e)}}};t.a=k},147:function(e,t,n){"use strict";n(249);var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();var i=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}return r(e,null,[{key:"processTokens",value:function(e,t){var n=new RegExp("("+t.join("|")+"):([~%@]?)(?:('[^']*'{0,1})|(\"[^\"]*\"{0,1})|(\\S+))","g"),r=[],i=[],o=null,a=e.replace(n,function(e,t,n,o,a,s){var u,c=o||a||s,l=n;return"~"!==c&&"%"!==c&&"@"!==c||(l=c,c=""),u=t+":"+c,-1===i.indexOf(u)&&(i.push(u),r.push({key:t,value:c||"",symbol:l||""})),""}).replace(/\s{2,}/g," ").trim()||"";if(r.length>0){var s=r[r.length-1],u=s.key+":"+s.symbol+s.value;o=e.lastIndexOf(u)===e.length-u.length?s:a}else o=a;return{tokens:r,lastToken:o,searchToken:a}}}]),e}();t.a=i},149:function(e,t,n){"use strict";var r=n(5),i=n(527),o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();var a=function(e){function t(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var e=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this));return e.pendingRequests={},e}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,i["a"]),o(t,[{key:"override",value:function(e,t){this.internalStorage[e]=t}},{key:"retrieve",value:function(e,t){var n=this;if(this.hasData(e)&&!t)return Promise.resolve(this.get(e));var i=this.pendingRequests[e];return i||(i=r.a.get(e).then(function(t){var r=t.data;n.internalStorage[e]=r,delete n.pendingRequests[e]}).catch(function(t){var r=new Error(e+": "+t.message);throw r.textStatus=t.message,delete n.pendingRequests[e],r}),this.pendingRequests[e]=i),i.then(function(){return n.get(e)})}}]),t}();t.a=new a},157:function(e,t,n){"use strict";var r,i,o=n(0),a=n.n(o),s=n(5),u=n(7),c=n(1),l=null;function f(){}f.prototype.referenceThreshold=10,f.prototype.emptyMessage="Nothing to preview.",f.prototype.ajaxCache={},f.prototype.showPreview=function(e){var t,n,r,i=e.find(".js-md-preview");i.hasClass("md-preview-loading")||(t=e.find("textarea.markdown-area").val(),n=e.attr("data-markdown-version"),r=this.versionedPreviewPath(i.data("url"),n),0===t.trim().length?(i.text(this.emptyMessage),this.hideReferencedUsers(e)):(i.addClass("md-preview-loading").text("Loading..."),this.fetchMarkdownPreview(t,r,function(t){var n;n=t.body.length>0?t.body:this.emptyMessage,i.removeClass("md-preview-loading").html(n),i.renderGFM(),this.renderReferencedUsers(t.references.users,e),t.references.commands&&this.renderReferencedCommands(t.references.commands,e)}.bind(this))))},f.prototype.versionedPreviewPath=function(e,t){return void 0===t?e:e+(-1===e.indexOf("?")?"?":"&")+"markdown_version="+t},f.prototype.fetchMarkdownPreview=function(e,t,n){var r=this;t&&(e!==this.ajaxCache.text?s.a.post(t,{text:e}).then(function(t){var i=t.data;r.ajaxCache={text:e,response:i},n(i)}).catch(function(){return Object(u.a)(Object(c.a)("An error occurred while fetching markdown preview"))}):n(this.ajaxCache.response))},f.prototype.hideReferencedUsers=function(e){e.find(".referenced-users").hide()},f.prototype.renderReferencedUsers=function(e,t){var n;(n=t.find(".referenced-users")).length&&(e.length>=this.referenceThreshold?(n.show(),n.find(".js-referenced-users-count").text(e.length)):n.hide())},f.prototype.hideReferencedCommands=function(e){e.find(".referenced-commands").hide()},f.prototype.renderReferencedCommands=function(e,t){var n;n=t.find(".referenced-commands"),e.length>0?(n.html(e),n.show()):(n.html(""),n.hide())},i=new f,r=null;var h=a()(".md-header-toolbar");a.a.fn.setupMarkdownPreview=function(){var e=a()(this);e.find("textarea.markdown-area").on("input",function(){i.hideReferencedUsers(e)})},a()(document).on("markdown-preview:show",function(e,t){t&&(r=t.find("textarea.markdown-area"),l=r.height(),t.find(".js-md-write-button").parent().removeClass("active"),t.find(".js-md-preview-button").parent().addClass("active"),t.find(".md-write-holder").hide(),t.find(".md-preview-holder").show(),h.removeClass("active"),i.showPreview(t))}),a()(document).on("markdown-preview:hide",function(e,t){t&&(r=null,l&&t.find("textarea.markdown-area").height(l),t.find(".js-md-write-button").parent().addClass("active"),t.find(".js-md-preview-button").parent().removeClass("active"),t.find(".md-write-holder").show(),t.find("textarea.markdown-area").focus(),t.find(".md-preview-holder").hide(),h.addClass("active"),i.hideReferencedCommands(t))}),a()(document).on("markdown-preview:toggle",function(e,t){var n;(n=a()(t.target)).is("textarea.markdown-area")?(a()(document).triggerHandler("markdown-preview:show",[n.closest("form")]),t.preventDefault()):r&&(n=r,a()(document).triggerHandler("markdown-preview:hide",[n.closest("form")]),t.preventDefault())}),a()(document).on("click",".js-md-preview-button",function(e){var t;e.preventDefault(),t=a()(this).closest("form"),a()(document).triggerHandler("markdown-preview:show",[t])}),a()(document).on("click",".js-md-write-button",function(e){var t;e.preventDefault(),t=a()(this).closest("form"),a()(document).triggerHandler("markdown-preview:hide",[t])})},158:function(e,t,n){var r,i,o;
  /*!
   * jQuery.scrollTo
   * Copyright (c) 2007-2015 Ariel Flesler - aflesler<a>gmail<d>com | http://flesler.blogspot.com
   * Licensed under MIT
   * http://flesler.blogspot.com/2007/10/jqueryscrollto.html
   * @projectDescription Lightweight, cross-browser and highly customizable animated scrolling with jQuery
   * @author Ariel Flesler
   * @version 2.1.2
   */!function(a){"use strict";i=[n(0)],void 0===(o="function"==typeof(r=function(e){var t=e.scrollTo=function(t,n,r){return e(window).scrollTo(t,n,r)};function n(t){return!t.nodeName||-1!==e.inArray(t.nodeName.toLowerCase(),["iframe","#document","html","body"])}function r(t){return e.isFunction(t)||e.isPlainObject(t)?t:{top:t,left:t}}return t.defaults={axis:"xy",duration:0,limit:!0},e.fn.scrollTo=function(i,o,a){"object"==typeof o&&(a=o,o=0),"function"==typeof a&&(a={onAfter:a}),"max"===i&&(i=9e9),a=e.extend({},t.defaults,a),o=o||a.duration;var s=a.queue&&a.axis.length>1;return s&&(o/=2),a.offset=r(a.offset),a.over=r(a.over),this.each(function(){if(null!==i){var u,c=n(this),l=c?this.contentWindow||window:this,f=e(l),h=i,d={};switch(typeof h){case"number":case"string":if(/^([+-]=?)?\d+(\.\d+)?(px|%)?$/.test(h)){h=r(h);break}h=c?e(h):e(h,l);case"object":if(0===h.length)return;(h.is||h.style)&&(u=(h=e(h)).offset())}var p=e.isFunction(a.offset)&&a.offset(l,h)||a.offset;e.each(a.axis.split(""),function(e,n){var r="x"===n?"Left":"Top",i=r.toLowerCase(),o="scroll"+r,m=f[o](),g=t.max(l,n);if(u)d[o]=u[i]+(c?0:m-f.offset()[i]),a.margin&&(d[o]-=parseInt(h.css("margin"+r),10)||0,d[o]-=parseInt(h.css("border"+r+"Width"),10)||0),d[o]+=p[i]||0,a.over[i]&&(d[o]+=h["x"===n?"width":"height"]()*a.over[i]);else{var y=h[i];d[o]=y.slice&&"%"===y.slice(-1)?parseFloat(y)/100*g:y}a.limit&&/^\d+$/.test(d[o])&&(d[o]=d[o]<=0?0:Math.min(d[o],g)),!e&&a.axis.length>1&&(m===d[o]?d={}:s&&(v(a.onAfterFirst),d={}))}),v(a.onAfter)}function v(t){var n=e.extend({},a,{queue:!0,duration:o,complete:t&&function(){t.call(l,h,a)}});f.animate(d,n)}})},t.max=function(t,r){var i="x"===r?"Width":"Height",o="scroll"+i;if(!n(t))return t[o]-e(t)[i.toLowerCase()]();var a="client"+i,s=t.ownerDocument||t.document,u=s.documentElement,c=s.body;return Math.max(u[o],c[o])-Math.min(u[a],c[a])},e.Tween.propHooks.scrollLeft=e.Tween.propHooks.scrollTop={get:function(t){return e(t.elem)[t.prop]()},set:function(t){var n=this.get(t);if(t.options.interrupt&&t._last&&t._last!==n)return e(t.elem).stop();var r=Math.round(t.now);n!==r&&(e(t.elem)[t.prop](r),t._last=this.get(t))}},t})?r.apply(t,i):r)||(e.exports=o)}()},159:function(e,t,n){"use strict";var r=n(3),i=/\{\{(.+?)\}\}/g,o={toCamelCase:function(e){return this.camelize(e.split("-").slice(1).join(" "))},template:function(e,t){var n=Object(r.template)(e,{escape:i});return n(t)},camelize:function(e){return e.replace(/(?:^\w|[A-Z]|\b\w)/g,function(e,t){return 0===t?e.toLowerCase():e.toUpperCase()}).replace(/\s+/g,"")},closest:function(e,t){for(;e&&e.tagName!==t&&"HTML"!==e.tagName;)e=e.parentNode;return e},isDropDownParts:function(e){return!(!e||!e.hasAttribute||"HTML"===e.tagName)&&(e.hasAttribute("data-dropdown-trigger")||e.hasAttribute("data-dropdown"))}},a=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();var s=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.currentIndex=0,this.hidden=!0,this.list="string"==typeof t?document.querySelector(t):t,this.items=[],this.eventWrapper={},this.hideOnClick=!1!==n.hideOnClick,n.addActiveClassToDropdownButton&&(this.dropdownToggle=this.list.parentNode.querySelector(".js-dropdown-toggle")),this.getItems(),this.initTemplateString(),this.addEvents(),this.initialState=t.innerHTML}return a(e,[{key:"getItems",value:function(){return this.items=[].slice.call(this.list.querySelectorAll("li")),this.items}},{key:"initTemplateString",value:function(){var e=this.items||this.getItems(),t="";return e.length>0&&(t=e[e.length-1].outerHTML),this.templateString=t,this.templateString}},{key:"clickEvent",value:function(e){if("UL"!==e.target.tagName&&!e.target.closest(".droplab-item-ignore")){var t=e.target.closest("li");if(t){this.addSelectedClass(t),e.preventDefault(),this.hideOnClick&&this.hide();var n=new CustomEvent("click.dl",{detail:{list:this,selected:t,data:e.target.dataset}});this.list.dispatchEvent(n)}}}},{key:"addSelectedClass",value:function(e){this.removeSelectedClasses(),e.classList.add("droplab-item-selected")}},{key:"removeSelectedClasses",value:function(){(this.items||this.getItems()).forEach(function(e){return e.classList.remove("droplab-item-selected")})}},{key:"addEvents",value:function(){this.eventWrapper.clickEvent=this.clickEvent.bind(this),this.eventWrapper.closeDropdown=this.closeDropdown.bind(this),this.list.addEventListener("click",this.eventWrapper.clickEvent),this.list.addEventListener("keyup",this.eventWrapper.closeDropdown)}},{key:"closeDropdown",value:function(e){return 27!==e.keyCode||(e.preventDefault(),this.toggle())}},{key:"setData",value:function(e){this.data=e,this.render(e)}},{key:"addData",value:function(e){this.data=(this.data||[]).concat(e),this.render(this.data)}},{key:"render",value:function(e){var t=e?e.map(this.renderChildren.bind(this)):[];(this.list.querySelector("ul[data-dynamic]")||this.list).innerHTML=t.join("");var n=new CustomEvent("render.dl",{detail:{list:this}});this.list.dispatchEvent(n)}},{key:"renderChildren",value:function(t){var n=o.template(this.templateString,t),r=document.createElement("div");return r.innerHTML=n,e.setImagesSrc(r),r.firstChild.style.display=t.droplab_hidden?"none":"block",r.firstChild.outerHTML}},{key:"show",value:function(){this.hidden&&(this.list.style.display="block",this.currentIndex=0,this.hidden=!1,this.dropdownToggle&&this.dropdownToggle.classList.add("active"))}},{key:"hide",value:function(){this.hidden||(this.list.style.display="none",this.currentIndex=0,this.hidden=!0,this.dropdownToggle&&this.dropdownToggle.classList.remove("active"))}},{key:"toggle",value:function(){return this.hidden?this.show():this.hide()}},{key:"destroy",value:function(){this.hide(),this.list.removeEventListener("click",this.eventWrapper.clickEvent),this.list.removeEventListener("keyup",this.eventWrapper.closeDropdown)}}],[{key:"setImagesSrc",value:function(e){[].concat(function(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}(e.querySelectorAll("img[data-src]"))).forEach(function(e){var t=e;t.src=t.getAttribute("data-src"),t.removeAttribute("data-src")})}}]),e}();var u=function e(t,n,r,i){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.trigger=t,this.list=new s(n,i),this.type="Hook",this.event="click",this.plugins=r||[],this.config=i||{},this.id=t.id},c=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();var l=function(e){function t(e,n,r,i){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var o=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n,r,i));return o.type="button",o.event="click",o.eventWrapper={},o.addEvents(),o.addPlugins(),o}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,u),c(t,[{key:"addPlugins",value:function(){var e=this;this.plugins.forEach(function(t){return t.init(e)})}},{key:"clicked",value:function(e){var t=new CustomEvent("click.dl",{detail:{hook:this},bubbles:!0,cancelable:!0});e.target.dispatchEvent(t),this.list.toggle()}},{key:"addEvents",value:function(){this.eventWrapper.clicked=this.clicked.bind(this),this.trigger.addEventListener("click",this.eventWrapper.clicked)}},{key:"removeEvents",value:function(){this.trigger.removeEventListener("click",this.eventWrapper.clicked)}},{key:"restoreInitialState",value:function(){this.list.list.innerHTML=this.list.initialState}},{key:"removePlugins",value:function(){this.plugins.forEach(function(e){return e.destroy()})}},{key:"destroy",value:function(){this.restoreInitialState(),this.removeEvents(),this.removePlugins()}}]),t}(),f=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();var h=function(e){function t(e,n,r,i){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var o=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n,r,i));return o.type="input",o.event="input",o.eventWrapper={},o.addEvents(),o.addPlugins(),o}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,u),f(t,[{key:"addPlugins",value:function(){var e=this;this.plugins.forEach(function(t){return t.init(e)})}},{key:"addEvents",value:function(){this.eventWrapper.mousedown=this.mousedown.bind(this),this.eventWrapper.input=this.input.bind(this),this.eventWrapper.keyup=this.keyup.bind(this),this.eventWrapper.keydown=this.keydown.bind(this),this.trigger.addEventListener("mousedown",this.eventWrapper.mousedown),this.trigger.addEventListener("input",this.eventWrapper.input),this.trigger.addEventListener("keyup",this.eventWrapper.keyup),this.trigger.addEventListener("keydown",this.eventWrapper.keydown)}},{key:"removeEvents",value:function(){this.hasRemovedEvents=!0,this.trigger.removeEventListener("mousedown",this.eventWrapper.mousedown),this.trigger.removeEventListener("input",this.eventWrapper.input),this.trigger.removeEventListener("keyup",this.eventWrapper.keyup),this.trigger.removeEventListener("keydown",this.eventWrapper.keydown)}},{key:"input",value:function(e){if(!this.hasRemovedEvents){this.list.show();var t=new CustomEvent("input.dl",{detail:{hook:this,text:e.target.value},bubbles:!0,cancelable:!0});e.target.dispatchEvent(t)}}},{key:"mousedown",value:function(e){if(!this.hasRemovedEvents){var t=new CustomEvent("mousedown.dl",{detail:{hook:this,text:e.target.value},bubbles:!0,cancelable:!0});e.target.dispatchEvent(t)}}},{key:"keyup",value:function(e){this.hasRemovedEvents||this.keyEvent(e,"keyup.dl")}},{key:"keydown",value:function(e){this.hasRemovedEvents||this.keyEvent(e,"keydown.dl")}},{key:"keyEvent",value:function(e,t){this.list.show();var n=new CustomEvent(t,{detail:{hook:this,text:e.target.value,which:e.which,key:e.key},bubbles:!0,cancelable:!0});e.target.dispatchEvent(n)}},{key:"restoreInitialState",value:function(){this.list.list.innerHTML=this.list.initialState}},{key:"removePlugins",value:function(){this.plugins.forEach(function(e){return e.destroy()})}},{key:"destroy",value:function(){this.restoreInitialState(),this.removeEvents(),this.removePlugins(),this.list.destroy()}}]),t}(),d=function(){var e,t=!1,n=!1,r=function(e){for(var t=Array.prototype.slice.call(e.list.querySelectorAll("li:not(.divider):not(.hidden)"),0),n=[],r=0;r<t.length;r++){var i=t[r];i.classList.remove("droplab-item-active"),"none"!==i.style.display&&n.push(i)}return n},i=function(e){var t=r(e)[e.currentIndex-1],n=new CustomEvent("click.dl",{detail:{list:e,selected:t,data:t.dataset}});e.list.dispatchEvent(n),e.hide()};document.addEventListener("mousedown.dl",function(e){var i=e.detail.hook.list;r(i),i.show(),i.currentIndex=0,t=!1,n=!1}),document.addEventListener("keydown.dl",function(o){o.target;var a=o.detail.hook.list,s=a.currentIndex;if(t=!1,n=!1,o.detail.which){if(13===(e=o.detail.which))return void i(o.detail.hook.list);38===e&&(t=!0),40===e&&(n=!0)}else if(o.detail.key){if("Enter"===(e=o.detail.key))return void i(o.detail.hook.list);"ArrowUp"===e&&(t=!0),"ArrowDown"===e&&(n=!0)}t&&s--,n&&s++,s<0&&(s=0),a.currentIndex=s,function(e){var t=r(e);if(e.currentIndex>0&&(t[e.currentIndex-1]||(e.currentIndex=e.currentIndex-1),t[e.currentIndex-1])){var n=t[e.currentIndex-1],i=n.closest(".filter-dropdown");if(n.classList.add("droplab-item-active"),i){var o=i.offsetHeight,a=n.offsetTop-30;a>o&&(i.scrollTop=a-o)}}}(o.detail.hook.list)})},p=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();var v=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.ready=!1,this.hooks=[],this.queuedData=[],this.config={},this.eventWrapper={}}return p(e,[{key:"loadStatic",value:function(){var e=[].slice.apply(document.querySelectorAll("[data-dropdown-trigger]"));this.addHooks(e)}},{key:"addData",value:function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];this.applyArgs(t,"processAddData")}},{key:"setData",value:function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];this.applyArgs(t,"processSetData")}},{key:"destroy",value:function(){this.hooks.forEach(function(e){return e.destroy()}),this.hooks=[],this.removeEvents()}},{key:"applyArgs",value:function(e,t){return this.ready?this[t].apply(this,function(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}(e)):(this.queuedData=this.queuedData||[],this.queuedData.push(e),this.ready)}},{key:"processAddData",value:function(e,t){this.processData(e,t,"addData")}},{key:"processSetData",value:function(e,t){this.processData(e,t,"setData")}},{key:"processData",value:function(e,t,n){this.hooks.forEach(function(r){Array.isArray(e)&&r.list[n](e),r.trigger.id===e&&r.list[n](t)})}},{key:"addEvents",value:function(){this.eventWrapper.documentClicked=this.documentClicked.bind(this),document.addEventListener("click",this.eventWrapper.documentClicked)}},{key:"documentClicked",value:function(e){var t=e.target;"UL"!==t.tagName&&(t=o.closest(t,"UL")),o.isDropDownParts(t,this.hooks)||o.isDropDownParts(e.target,this.hooks)||this.hooks.forEach(function(e){return e.list.hide()})}},{key:"removeEvents",value:function(){document.removeEventListener("click",this.eventWrapper.documentClicked)}},{key:"changeHookList",value:function(e,t,n,r){var i=this,o="string"==typeof e?document.getElementById(e):e;this.hooks.forEach(function(e,a){var s=e;s.list.list.dataset.dropdownActive=!1,s.trigger===o&&(s.destroy(),i.hooks.splice(a,1),i.addHook(o,t,n,r))})}},{key:"addHook",value:function(e,t,n,r){var i="string"==typeof e?document.querySelector(e):e,a=void 0;(a="string"==typeof t?document.querySelector(t):t instanceof Element?t:document.querySelector(e.dataset[o.toCamelCase("data-dropdown-trigger")])).dataset.dropdownActive=!0;var s="INPUT"===i.tagName?h:l;return this.hooks.push(new s(i,a,n,r)),this}},{key:"addHooks",value:function(e,t,n){var r=this;return e.forEach(function(e){return r.addHook(e,null,t,n)}),this}},{key:"setConfig",value:function(e){this.config=e}},{key:"fireReady",value:function(){var e=new CustomEvent("ready.dl",{detail:{dropdown:this}});document.dispatchEvent(e),this.ready=!0}},{key:"init",value:function(e,t,n,r){var i=this;return e?this.addHook(e,t,n,r):this.loadStatic(),this.addEvents(),d(),this.fireReady(),this.queuedData.forEach(function(e){return i.addData(e)}),this.queuedData=[],this}}]),e}();t.a=v},174:function(e,t){var n;n=function(){return this}();try{n=n||Function("return this")()||(0,eval)("this")}catch(e){"object"==typeof window&&(n=window)}e.exports=n},175:function(e,t){var n=e.exports={version:"2.5.3"};"number"==typeof __e&&(__e=n)},181:function(e,t,n){"use strict";n.d(t,"a",function(){return i}),n.d(t,"b",function(){return o});var r=n(11),i=function(e,t){e&&e.classList.add(t)},o=function(){return Object(r.s)()||Object(r.q)()||Object(r.t)()}},185:function(e,t,n){var r=n(640)("wks"),i=n(432),o=n(216).Symbol,a="function"==typeof o;(e.exports=function(e){return r[e]||(r[e]=a&&o[e]||(a?o:i)("Symbol."+e))}).store=r},190:function(e,t,n){"use strict";n.d(t,"a",function(){return b}),n.d(t,"b",function(){return E});var r=n(0),i=n.n(r),o=n(3),a=n.n(o),s=n(39),u=n.n(s),c=n(1),l=n(11),f=n(181),h=n(7),d=n(5),p=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();var v="transitionend webkitTransitionEnd oTransitionEnd MSTransitionEnd",m=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.setTimeout,g=/(?:, and | and |, )/,y={activity:"Activity",people:"People",nature:"Nature",food:"Food",travel:"Travel",objects:"Objects",symbols:"Symbols",flags:"Flags"},b=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.emoji=t,this.eventListeners=[],this.toggleButtonSelector=".js-add-award",this.menuClass="js-award-emoji-menu"}return p(e,[{key:"bindEvents",value:function(){var e=this;this.registerEventListener("one",i()(document),"mouseenter focus",this.toggleButtonSelector,"mouseenter focus",function(){0===i()("."+e.menuClass).length&&m(function(){e.createEmojiMenu()})}),this.registerEventListener("on",i()(document),"click",this.toggleButtonSelector,function(t){t.stopPropagation(),t.preventDefault(),e.showEmojiMenu(i()(t.currentTarget))}),this.registerEventListener("on",i()("html"),"click",function(t){i()(t.target).closest("."+e.menuClass).length||(i()(".js-awards-block.current").removeClass("current"),i()("."+e.menuClass).is(":visible")&&(i()(e.toggleButtonSelector+".is-active").removeClass("is-active"),e.hideMenuElement(i()("."+e.menuClass))))});var t=".js-awards-block .js-emoji-btn, ."+this.menuClass+" .js-emoji-btn";this.registerEventListener("on",i()(document),"click",t,function(t){t.preventDefault();var n=i()(t.currentTarget),r=n.find("gl-emoji"),o=n.find(".icon"),a=(r.length?r:o).data("name");n.closest(".js-awards-block").addClass("current"),e.addAward(e.getVotesBlock(),e.getAwardUrl(),a)})}},{key:"registerEventListener",value:function(){for(var e=arguments.length,t=Array(e>2?e-2:0),n=2;n<e;n++)t[n-2]=arguments[n];var r,i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"on",o=arguments[1];(r=o[i]).call.apply(r,[o].concat(t)),this.eventListeners.push({element:o,args:t})}},{key:"showEmojiMenu",value:function(e){var t=this;e.hasClass("js-note-emoji")?e.closest(".note").find(".js-awards-block").addClass("current"):e.closest(".js-awards-block").addClass("current");var n=i()("."+this.menuClass),r=n.find('[data-name="thumbsup"], [data-name="thumbsdown"]').parent(),o=this.isUserAuthored(e);n.length?n.is(".is-visible")?(e.removeClass("is-active"),this.hideMenuElement(n),i()(".js-emoji-menu-search").blur()):(e.addClass("is-active"),this.positionMenu(n,e),this.showMenuElement(n),i()(".js-emoji-menu-search").focus()):(e.addClass("is-loading is-active"),this.createEmojiMenu(function(){var n=i()("."+t.menuClass);return e.removeClass("is-loading"),t.positionMenu(n,e),setTimeout(function(){t.showMenuElement(n),i()(".js-emoji-menu-search").focus()},200)})),r.toggleClass("disabled",o),r.prop("disabled",o)}},{key:"createEmojiMenu",value:function(e){if(!this.isCreatingEmojiMenu){this.isCreatingEmojiMenu=!0;var t=this.emoji.getEmojiCategoryMap(),n=Object.keys(t)[0],r=t[n],i=this.renderCategory(y[n],r),o=this.getFrequentlyUsedEmojis(),a="";o.length>0&&(a=this.renderCategory("Frequently used",o,{menuListClass:"frequent-emojis"}));var s='\n      <div class="emoji-menu '+this.menuClass+'">\n        <input type="text" name="emoji-menu-search" value="" class="js-emoji-menu-search emoji-search search-input form-control" placeholder="Search emoji" />\n\n        <div class="emoji-menu-content">\n          '+a+"\n          "+i+"\n        </div>\n      </div>\n    ";document.body.insertAdjacentHTML("beforeend",s),this.addRemainingEmojiMenuCategories(),this.setupSearch(),e&&e()}}},{key:"addRemainingEmojiMenuCategories",value:function(){var e=this;if(!this.isAddingRemainingEmojiMenuCategories){this.isAddingRemainingEmojiMenuCategories=!0;var t=this.emoji.getEmojiCategoryMap(),n=document.querySelector("."+this.menuClass),r=n.querySelector(".emoji-menu-content");Object.keys(t).slice(1).reduce(function(n,i){return n.then(function(){return new Promise(function(n){var o=t[i],a=e.renderCategory(y[i],o);m(function(){r.insertAdjacentHTML("beforeend",a),n()})})})},Promise.resolve()).then(function(){n&&n.dispatchEvent(new CustomEvent("build-emoji-menu-finish"))}).catch(function(e){throw r.insertAdjacentHTML("beforeend","<p>We encountered an error while adding the remaining categories</p>"),new Error("Error occurred in addRemainingEmojiMenuCategories: "+e.message)})}}},{key:"renderCategory",value:function(e,t){var n=this;return'\n      <h5 class="emoji-menu-title">\n        '+e+'\n      </h5>\n      <ul class="clearfix emoji-menu-list '+((arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}).menuListClass||"")+'">\n        '+t.map(function(e){return'\n          <li class="emoji-menu-list-item">\n            <button class="emoji-menu-btn text-center js-emoji-btn" type="button">\n              '+n.emoji.glEmojiTag(e,{sprite:!0})+"\n            </button>\n          </li>\n        "}).join("\n")+"\n      </ul>\n    "}},{key:"positionMenu",value:function(e,t){var n=t.data("position"),r={top:t.offset().top+t.outerHeight()+"px"};return"right"===n?(r.left=t.offset().left-e.outerWidth()+20+"px",e.addClass("is-aligned-right")):(r.left=t.offset().left+"px",e.removeClass("is-aligned-right")),e.css(r)}},{key:"addAward",value:function(e,t,n,r,o){var a=this,s=e.closest(".js-noteable-awards").length;if(Object(f.b)()&&!s){var u=e.attr("id").replace("note_","");this.hideMenuElement(i()("."+this.menuClass)),i()(this.toggleButtonSelector+".is-active").removeClass("is-active");var c=new CustomEvent("toggleAward",{detail:{awardName:n,noteId:u}});document.querySelector(".js-vue-notes-event").dispatchEvent(c)}var l=this.emoji.normalizeEmojiName(n),h=this.findEmojiIcon(e,l).parent();return this.postEmoji(h,t,l,function(){return a.addAwardToEmojiBar(e,l,r),"function"==typeof o?o():void 0}),this.hideMenuElement(i()("."+this.menuClass)),i()(this.toggleButtonSelector+".is-active").removeClass("is-active")}},{key:"addAwardToEmojiBar",value:function(e,t,n){(n||null===n)&&this.checkMutuality(e,t),this.addEmojiToFrequentlyUsedList(t);var r=this.emoji.normalizeEmojiName(t),i=this.findEmojiIcon(e,r).parent();if(i.length>0)if(this.isActive(i))this.decrementCounter(i,r);else{var o=i.find(".js-counter");o.text(parseInt(o.text(),10)+1),i.addClass("active"),this.addYouToUserList(e,r),this.animateEmoji(i)}else e.removeClass("hidden"),this.createEmoji(e,r)}},{key:"getVotesBlock",value:function(){if(Object(f.b)()){var e=i()(this.toggleButtonSelector+".is-active").closest(".note.timeline-entry");if(e.length)return e}var t=i()(".js-awards-block.current"),n=t;return 0===t.length&&(n=i()(".js-awards-block").eq(0)),n}},{key:"getAwardUrl",value:function(){return this.getVotesBlock().data("awardUrl")}},{key:"checkMutuality",value:function(e,t){var n=this.getAwardUrl();if("thumbsup"===t||"thumbsdown"===t){var r="thumbsup"===t?"thumbsdown":"thumbsup";e.find('[data-name="'+r+'"]').parent().hasClass("active")&&this.addAward(e,n,r,!1)}}},{key:"isActive",value:function(e){return e.hasClass("active")}},{key:"isUserAuthored",value:function(e){return e.hasClass("js-user-authored")}},{key:"decrementCounter",value:function(e,t){var n=i()(".js-counter",e),r=parseInt(n.text(),10);return r>1?(n.text(r-1),this.removeYouFromUserList(e)):"thumbsup"===t||"thumbsdown"===t?(e.tooltip("dispose"),n.text("0"),this.removeYouFromUserList(e),e.parents(".note").length&&this.removeEmoji(e)):this.removeEmoji(e),e.removeClass("active")}},{key:"removeEmoji",value:function(e){e.tooltip("dispose"),e.remove();var t=this.getVotesBlock();0===t.find(".js-emoji-btn").length&&t.addClass("hidden")}},{key:"getAwardTooltip",value:function(e){return e.attr("data-original-title")||e.attr("data-title")||""}},{key:"toSentence",value:function(e){return e.length<=2?e.join(" and "):e.slice(0,-1).join(", ")+", and "+e[e.length-1]}},{key:"removeYouFromUserList",value:function(e){var t=e,n=this.getAwardTooltip(t).split(g);return n.splice(n.indexOf("You"),1),t.closest(".js-emoji-btn").removeData("title").removeAttr("data-title").removeAttr("data-original-title").attr("title",this.toSentence(n)).tooltip("_fixTitle")}},{key:"addYouToUserList",value:function(e,t){var n=this.findEmojiIcon(e,t).parent(),r=this.getAwardTooltip(n),i=[];return r&&(i=r.trim().split(g)),i.unshift("You"),n.attr("title",this.toSentence(i)).tooltip("_fixTitle")}},{key:"createAwardButtonForVotesBlock",value:function(e,t){var n='\n      <button class="btn award-control js-emoji-btn has-tooltip active" title="You" data-placement="bottom">\n        '+this.emoji.glEmojiTag(t)+'\n        <span class="award-control-text js-counter">1</span>\n      </button>\n    ',r=i()(n);r.insertBefore(e.find(".js-award-holder")).find(".emoji-icon").data("name",t),this.animateEmoji(r),i()(".award-control").tooltip(),e.removeClass("current")}},{key:"animateEmoji",value:function(e){e.addClass("pulse animated once short"),this.registerEventListener("on",e,"animationend webkitAnimationEnd MSAnimationEnd oAnimationEnd",function(e){i()(e.currentTarget).removeClass("pulse animated once short")})}},{key:"createEmoji",value:function(e,t){var n=this;i()("."+this.menuClass).length&&this.createAwardButtonForVotesBlock(e,t),this.createEmojiMenu(function(){n.createAwardButtonForVotesBlock(e,t)})}},{key:"postEmoji",value:function(e,t,n,r){this.isUserAuthored(e)?this.userAuthored(e):d.a.post(t,{name:n}).then(function(e){e.data.ok&&r()}).catch(function(){return Object(h.a)(Object(c.a)("Something went wrong on our end."))})}},{key:"findEmojiIcon",value:function(e,t){return e.find('.js-emoji-btn [data-name="'+t+'"]')}},{key:"userAuthored",value:function(e){var t=this.getAwardTooltip(e);return Object(l.J)(e,"You cannot vote on your own issue, MR and note").tooltip("show"),setTimeout(function(){e.tooltip("hide"),Object(l.J)(e,t)},2800)}},{key:"scrollToAwards",value:function(){var e={scrollTop:i()(".awards").offset().top-110};return i()("body, html").animate(e,200)}},{key:"addEmojiToFrequentlyUsedList",value:function(e){this.emoji.isEmojiNameValid(e)&&(this.frequentlyUsedEmojis=a.a.uniq(this.getFrequentlyUsedEmojis().concat(e)),u.a.set("frequently_used_emojis",this.frequentlyUsedEmojis.join(","),{expires:365}))}},{key:"getFrequentlyUsedEmojis",value:function(){var e,t=this;return this.frequentlyUsedEmojis||(e=a.a.uniq((u.a.get("frequently_used_emojis")||"").split(",")),t.frequentlyUsedEmojis=e.filter(function(e){return t.emoji.isEmojiNameValid(e)}),t.frequentlyUsedEmojis)}},{key:"setupSearch",value:function(){var e=this,t=i()(".js-emoji-menu-search");this.registerEventListener("on",t,"input",function(t){var n=i()(t.target).val().trim();e.searchEmojis(n)});var n=i()("."+this.menuClass);this.registerEventListener("on",n,v,function(t){t.target===t.currentTarget&&e.searchEmojis("")})}},{key:"searchEmojis",value:function(e){if(i()(".js-emoji-menu-search").val(e),i()("ul.emoji-menu-search, h5.emoji-search-title").remove(),e.length>0){var t=i()('<h5 class="emoji-search-title"/>').text("Search results"),n=this.findMatchingEmojiElements(e).show(),r=i()("<ul>").addClass("emoji-menu-list emoji-menu-search").append(n);i()(".emoji-menu-content ul, .emoji-menu-content h5").hide(),i()(".emoji-menu-content").append(t).append(r)}else i()(".emoji-menu-content").children().show()}},{key:"findMatchingEmojiElements",value:function(e){var t=this.emoji.filterEmojiNamesByAlias(e);return i()(".emoji-menu-list:not(.frequent-emojis) [data-name]").filter(function(e,n){return t.indexOf(n.dataset.name)>=0}).closest("li").clone()}},{key:"showMenuElement",value:function(e){return e.addClass("is-rendered"),Promise.resolve().then(function(){return e.addClass("is-visible")})}},{key:"hideMenuElement",value:function(e){e.on(v,function(t){t.currentTarget===t.target&&e.removeClass("is-rendered").off(v)}),e.removeClass("is-visible")}},{key:"destroy",value:function(){this.eventListeners.forEach(function(e){var t;(t=e.element.off).call.apply(t,[e.element].concat(function(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}(e.args)))}),i()("."+this.menuClass).remove()}}]),e}(),w=null;function E(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return w&&!e||(w=n.e(86).then(n.bind(null,292)).then(function(e){var t=new b(e);return t.bindEvents(),t})),w}},2:function(e,t,n){"use strict";function r(e,t,n,r,i,o,a,s){var u,c="function"==typeof e?e.options:e;if(t&&(c.render=t,c.staticRenderFns=n,c._compiled=!0),r&&(c.functional=!0),o&&(c._scopeId="data-v-"+o),a?(u=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),i&&i.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(a)},c._ssrRegister=u):i&&(u=s?function(){i.call(this,this.$root.$options.shadowRoot)}:i),u)if(c.functional){c._injectStyles=u;var l=c.render;c.render=function(e,t){return u.call(t),l(e,t)}}else{var f=c.beforeCreate;c.beforeCreate=f?[].concat(f,u):[u]}return{exports:e,options:c}}n.d(t,"a",function(){return r})},207:function(e,t,n){"use strict";var r=n(0),i=n.n(r),o=n(39),a=n.n(o),s=n(29),u=n.n(s),c=n(5),l=n(21),f=n(75),h=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();var d=u.a.stopCallback;u.a.stopCallback=function(e,t,n){return-1===["ctrl+shift+p","command+shift+p"].indexOf(n)&&d(e,t,n)};var p=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.onToggleHelp=this.onToggleHelp.bind(this),this.enabledHelp=[],u.a.bind("?",this.onToggleHelp),u.a.bind("s",e.focusSearch),u.a.bind("f",this.focusFilter.bind(this)),u.a.bind("p b",e.onTogglePerfBar);var t=document.body.dataset.findFile;u.a.bind("shift+t",function(){return Object(f.a)(".shortcuts-todos")}),u.a.bind("shift+a",function(){return Object(f.a)(".dashboard-shortcuts-activity")}),u.a.bind("shift+i",function(){return Object(f.a)(".dashboard-shortcuts-issues")}),u.a.bind("shift+m",function(){return Object(f.a)(".dashboard-shortcuts-merge_requests")}),u.a.bind("shift+p",function(){return Object(f.a)(".dashboard-shortcuts-projects")}),u.a.bind("shift+g",function(){return Object(f.a)(".dashboard-shortcuts-groups")}),u.a.bind("shift+l",function(){return Object(f.a)(".dashboard-shortcuts-milestones")}),u.a.bind("shift+s",function(){return Object(f.a)(".dashboard-shortcuts-snippets")}),u.a.bind(["ctrl+shift+p","command+shift+p"],e.toggleMarkdownPreview),void 0!==t&&null!==t&&u.a.bind("t",function(){Object(l.g)(t)}),i()(document).on("click.more_help",".js-more-help-button",function(e){i()(this).remove(),i()(".hidden-shortcut").show(),e.preventDefault()})}return h(e,[{key:"onToggleHelp",value:function(t){t.preventDefault&&t.preventDefault(),e.toggleHelp(this.enabledHelp)}},{key:"focusFilter",value:function(e){this.filterInput||(this.filterInput=i()("input[type=search]",".nav-controls")),this.filterInput.focus(),e.preventDefault()}}],[{key:"onTogglePerfBar",value:function(e){e.preventDefault();"true"===a.a.get("perf_bar_enabled")?a.a.set("perf_bar_enabled","false",{path:"/"}):a.a.set("perf_bar_enabled","true",{path:"/"}),Object(l.e)()}},{key:"toggleMarkdownPreview",value:function(e){var t=i()(e.target),n=t.closest("form");t.hasClass("js-note-text")&&i()(".js-md-preview-button",n).focus(),i()(document).triggerHandler("markdown-preview:toggle",[e])}},{key:"toggleHelp",value:function(e){var t=i()("#modal-shortcuts");return t.length?(t.modal("toggle"),null):c.a.get(gon.shortcuts_path,{responseType:"text"}).then(function(t){var n=t.data;if(i.a.globalEval(n),e&&e.length>0){for(var r=[],o=0,a=e.length;o<a;o+=1)r.push(i()(e[o]).show());return r}return i()(".hidden-shortcut").show(),i()(".js-more-help-button").remove()})}},{key:"focusSearch",value:function(e){i()("#search").focus(),e.preventDefault&&e.preventDefault()}}]),e}();t.a=p},21:function(e,t,n){"use strict";function r(e){return decodeURIComponent(window.location.search.substring(1)).split("&").reduce(function(t,n){var r=n.split("=");return r[0]===e&&t.push(r[1].replace(/\+/g," ")),t},[])}function i(e,t){var n=Object.keys(e).reduce(function(n,r){var i=encodeURIComponent(e[r]),o=new RegExp("\\b("+r+"=).*?(&|$)");return null===i?n.replace(o,""):-1!==t.search(o)?n.replace(o,"$1"+i+"$2"):n+(n.indexOf("?")>0?"&":"?")+r+"="+i},decodeURIComponent(t));return"&"===n[n.length-1]&&(n=n.slice(0,-1)),n}function o(e){var t=document.createElement("a");return t.href=window.location.href,e.forEach(function(e){t.search=function(e,t){return decodeURIComponent(e).split("&").filter(function(e){return-1===e.indexOf(t)}).join("&")}(t.search,e)}),t.href}function a(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window.location.href,t=e.indexOf("#");return-1===t?null:e.substring(t+1)}function s(e){if(arguments.length>1&&void 0!==arguments[1]&&arguments[1]){var t=window.open();t.opener=null,t.location=e}else window.location.href=e}function u(){s(window.location.href)}function c(e){return window.location.assign(e)}function l(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0,t=(gon.relative_url_root||"")+"/-/ide/";return e&&(t+="project"+e.replace(new RegExp("^"+(gon.relative_url_root||"")),"")),t}n.d(t,"b",function(){return r}),n.d(t,"c",function(){return i}),n.d(t,"f",function(){return o}),n.d(t,"a",function(){return a}),n.d(t,"g",function(){return s}),n.d(t,"e",function(){return u}),n.d(t,"d",function(){return c}),n.d(t,"h",function(){return l})},215:function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},216:function(e,t){var n=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},217:function(e,t,n){var r=n(216),i=n(175),o=n(363),a=n(337),s=n(336),u=function(e,t,n){var c,l,f,h,d=e&u.F,p=e&u.G,v=e&u.S,m=e&u.P,g=e&u.B,y=p?r:v?r[t]||(r[t]={}):(r[t]||{}).prototype,b=p?i:i[t]||(i[t]={}),w=b.prototype||(b.prototype={});for(c in p&&(n=t),n)f=((l=!d&&y&&void 0!==y[c])?y:n)[c],h=g&&l?s(f,r):m&&"function"==typeof f?s(Function.call,f):f,y&&a(y,c,f,e&u.U),b[c]!=f&&o(b,c,h),m&&w[c]!=f&&(w[c]=f)};r.core=i,u.F=1,u.G=2,u.S=4,u.P=8,u.B=16,u.W=32,u.U=64,u.R=128,e.exports=u},221:function(e,t){var n,r,i=e.exports={};function o(){throw new Error("setTimeout has not been defined")}function a(){throw new Error("clearTimeout has not been defined")}function s(e){if(n===setTimeout)return setTimeout(e,0);if((n===o||!n)&&setTimeout)return n=setTimeout,setTimeout(e,0);try{return n(e,0)}catch(t){try{return n.call(null,e,0)}catch(t){return n.call(this,e,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:o}catch(e){n=o}try{r="function"==typeof clearTimeout?clearTimeout:a}catch(e){r=a}}();var u,c=[],l=!1,f=-1;function h(){l&&u&&(l=!1,u.length?c=u.concat(c):f=-1,c.length&&d())}function d(){if(!l){var e=s(h);l=!0;for(var t=c.length;t;){for(u=c,c=[];++f<t;)u&&u[f].run();f=-1,t=c.length}u=null,l=!1,function(e){if(r===clearTimeout)return clearTimeout(e);if((r===a||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(e);try{r(e)}catch(t){try{return r.call(null,e)}catch(t){return r.call(this,e)}}}(e)}}function p(e,t){this.fun=e,this.array=t}function v(){}i.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];c.push(new p(e,t)),1!==c.length||l||s(d)},p.prototype.run=function(){this.fun.apply(null,this.array)},i.title="browser",i.browser=!0,i.env={},i.argv=[],i.version="",i.versions={},i.on=v,i.addListener=v,i.once=v,i.off=v,i.removeListener=v,i.removeAllListeners=v,i.emit=v,i.prependListener=v,i.prependOnceListener=v,i.listeners=function(e){return[]},i.binding=function(e){throw new Error("process.binding is not supported")},i.cwd=function(){return"/"},i.chdir=function(e){throw new Error("process.chdir is not supported")},i.umask=function(){return 0}},235:function(e,t,n){"use strict";
  /*!
   * vue-resource v1.5.0
   * https://github.com/pagekit/vue-resource
   * Released under the MIT License.
   */var r=2;function i(e){this.state=r,this.value=void 0,this.deferred=[];var t=this;try{e(function(e){t.resolve(e)},function(e){t.reject(e)})}catch(e){t.reject(e)}}i.reject=function(e){return new i(function(t,n){n(e)})},i.resolve=function(e){return new i(function(t,n){t(e)})},i.all=function(e){return new i(function(t,n){var r=0,o=[];function a(n){return function(i){o[n]=i,(r+=1)===e.length&&t(o)}}0===e.length&&t(o);for(var s=0;s<e.length;s+=1)i.resolve(e[s]).then(a(s),n)})},i.race=function(e){return new i(function(t,n){for(var r=0;r<e.length;r+=1)i.resolve(e[r]).then(t,n)})};var o=i.prototype;function a(e,t){e instanceof Promise?this.promise=e:this.promise=new Promise(e.bind(t)),this.context=t}o.resolve=function(e){var t=this;if(t.state===r){if(e===t)throw new TypeError("Promise settled with itself.");var n=!1;try{var i=e&&e.then;if(null!==e&&"object"==typeof e&&"function"==typeof i)return void i.call(e,function(e){n||t.resolve(e),n=!0},function(e){n||t.reject(e),n=!0})}catch(e){return void(n||t.reject(e))}t.state=0,t.value=e,t.notify()}},o.reject=function(e){if(this.state===r){if(e===this)throw new TypeError("Promise settled with itself.");this.state=1,this.value=e,this.notify()}},o.notify=function(){var e,t=this;u(function(){if(t.state!==r)for(;t.deferred.length;){var e=t.deferred.shift(),n=e[0],i=e[1],o=e[2],a=e[3];try{0===t.state?o("function"==typeof n?n.call(void 0,t.value):t.value):1===t.state&&("function"==typeof i?o(i.call(void 0,t.value)):a(t.value))}catch(e){a(e)}}},e)},o.then=function(e,t){var n=this;return new i(function(r,i){n.deferred.push([e,t,r,i]),n.notify()})},o.catch=function(e){return this.then(void 0,e)},"undefined"==typeof Promise&&(window.Promise=i),a.all=function(e,t){return new a(Promise.all(e),t)},a.resolve=function(e,t){return new a(Promise.resolve(e),t)},a.reject=function(e,t){return new a(Promise.reject(e),t)},a.race=function(e,t){return new a(Promise.race(e),t)};var s=a.prototype;s.bind=function(e){return this.context=e,this},s.then=function(e,t){return e&&e.bind&&this.context&&(e=e.bind(this.context)),t&&t.bind&&this.context&&(t=t.bind(this.context)),new a(this.promise.then(e,t),this.context)},s.catch=function(e){return e&&e.bind&&this.context&&(e=e.bind(this.context)),new a(this.promise.catch(e),this.context)},s.finally=function(e){return this.then(function(t){return e.call(this),t},function(t){return e.call(this),Promise.reject(t)})};var u,c={}.hasOwnProperty,l=[].slice,f=!1,h="undefined"!=typeof window;function d(e){return e?e.replace(/^\s*|\s*$/g,""):""}function p(e){return e?e.toLowerCase():""}var v=Array.isArray;function m(e){return"string"==typeof e}function g(e){return"function"==typeof e}function y(e){return null!==e&&"object"==typeof e}function b(e){return y(e)&&Object.getPrototypeOf(e)==Object.prototype}function w(e,t,n){var r=a.resolve(e);return arguments.length<2?r:r.then(t,n)}function E(e,t,n){return g(n=n||{})&&(n=n.call(t)),T(e.bind({$vm:t,$options:n}),e,{$options:n})}function _(e,t){var n,r;if(v(e))for(n=0;n<e.length;n++)t.call(e[n],e[n],n);else if(y(e))for(r in e)c.call(e,r)&&t.call(e[r],e[r],r);return e}var C=Object.assign||function(e){return l.call(arguments,1).forEach(function(t){x(e,t)}),e};function T(e){return l.call(arguments,1).forEach(function(t){x(e,t,!0)}),e}function x(e,t,n){for(var r in t)n&&(b(t[r])||v(t[r]))?(b(t[r])&&!b(e[r])&&(e[r]={}),v(t[r])&&!v(e[r])&&(e[r]=[]),x(e[r],t[r],n)):void 0!==t[r]&&(e[r]=t[r])}function k(e,t,n){var r=function(e){var t=["+","#",".","/",";","?","&"],n=[];return{vars:n,expand:function(r){return e.replace(/\{([^{}]+)\}|([^{}]+)/g,function(e,i,o){if(i){var a=null,s=[];if(-1!==t.indexOf(i.charAt(0))&&(a=i.charAt(0),i=i.substr(1)),i.split(/,/g).forEach(function(e){var t=/([^:*]*)(?::(\d+)|(\*))?/.exec(e);s.push.apply(s,function(e,t,n,r){var i=e[n],o=[];if(S(i)&&""!==i)if("string"==typeof i||"number"==typeof i||"boolean"==typeof i)i=i.toString(),r&&"*"!==r&&(i=i.substring(0,parseInt(r,10))),o.push(O(t,i,A(t)?n:null));else if("*"===r)Array.isArray(i)?i.filter(S).forEach(function(e){o.push(O(t,e,A(t)?n:null))}):Object.keys(i).forEach(function(e){S(i[e])&&o.push(O(t,i[e],e))});else{var a=[];Array.isArray(i)?i.filter(S).forEach(function(e){a.push(O(t,e))}):Object.keys(i).forEach(function(e){S(i[e])&&(a.push(encodeURIComponent(e)),a.push(O(t,i[e].toString())))}),A(t)?o.push(encodeURIComponent(n)+"="+a.join(",")):0!==a.length&&o.push(a.join(","))}else";"===t?o.push(encodeURIComponent(n)):""!==i||"&"!==t&&"?"!==t?""===i&&o.push(""):o.push(encodeURIComponent(n)+"=");return o}(r,a,t[1],t[2]||t[3])),n.push(t[1])}),a&&"+"!==a){var u=",";return"?"===a?u="&":"#"!==a&&(u=a),(0!==s.length?a:"")+s.join(u)}return s.join(",")}return j(o)})}}}(e),i=r.expand(t);return n&&n.push.apply(n,r.vars),i}function S(e){return void 0!==e&&null!==e}function A(e){return";"===e||"&"===e||"?"===e}function O(e,t,n){return t="+"===e||"#"===e?j(t):encodeURIComponent(t),n?encodeURIComponent(n)+"="+t:t}function j(e){return e.split(/(%[0-9A-Fa-f]{2})/g).map(function(e){return/%[0-9A-Fa-f]/.test(e)||(e=encodeURI(e)),e}).join("")}function I(e,t){var n,r=this||{},i=e;return m(e)&&(i={url:e,params:t}),i=T({},I.options,r.$options,i),I.transforms.forEach(function(e){m(e)&&(e=I.transform[e]),g(e)&&(n=function(e,t,n){return function(r){return e.call(n,r,t)}}(e,n,r.$vm))}),n(i)}function D(e){return new a(function(t){var n=new XDomainRequest,r=function(r){var i=r.type,o=0;"load"===i?o=200:"error"===i&&(o=500),t(e.respondWith(n.responseText,{status:o}))};e.abort=function(){return n.abort()},n.open(e.method,e.getUrl()),e.timeout&&(n.timeout=e.timeout),n.onload=r,n.onabort=r,n.onerror=r,n.ontimeout=r,n.onprogress=function(){},n.send(e.getBody())})}I.options={url:"",root:null,params:{}},I.transform={template:function(e){var t=[],n=k(e.url,e.params,t);return t.forEach(function(t){delete e.params[t]}),n},query:function(e,t){var n=Object.keys(I.options.params),r={},i=t(e);return _(e.params,function(e,t){-1===n.indexOf(t)&&(r[t]=e)}),(r=I.params(r))&&(i+=(-1==i.indexOf("?")?"?":"&")+r),i},root:function(e,t){var n,r,i=t(e);return m(e.root)&&!/^(https?:)?\//.test(i)&&(n=e.root,r="/",i=(n&&void 0===r?n.replace(/\s+$/,""):n&&r?n.replace(new RegExp("["+r+"]+$"),""):n)+"/"+i),i}},I.transforms=["template","query","root"],I.params=function(e){var t=[],n=encodeURIComponent;return t.add=function(e,t){g(t)&&(t=t()),null===t&&(t=""),this.push(n(e)+"="+n(t))},function e(t,n,r){var i,o=v(n),a=b(n);_(n,function(n,s){i=y(n)||v(n),r&&(s=r+"["+(a||i?s:"")+"]"),!r&&o?t.add(n.name,n.value):i?e(t,n,s):t.add(s,n)})}(t,e),t.join("&").replace(/%20/g,"+")},I.parse=function(e){var t=document.createElement("a");return document.documentMode&&(t.href=e,e=t.href),t.href=e,{href:t.href,protocol:t.protocol?t.protocol.replace(/:$/,""):"",port:t.port,host:t.host,hostname:t.hostname,pathname:"/"===t.pathname.charAt(0)?t.pathname:"/"+t.pathname,search:t.search?t.search.replace(/^\?/,""):"",hash:t.hash?t.hash.replace(/^#/,""):""}};var L=h&&"withCredentials"in new XMLHttpRequest;function P(e){return new a(function(t){var n,r,i=e.jsonp||"callback",o=e.jsonpCallback||"_jsonp"+Math.random().toString(36).substr(2),a=null;n=function(n){var i=n.type,s=0;"load"===i&&null!==a?s=200:"error"===i&&(s=500),s&&window[o]&&(delete window[o],document.body.removeChild(r)),t(e.respondWith(a,{status:s}))},window[o]=function(e){a=JSON.stringify(e)},e.abort=function(){n({type:"abort"})},e.params[i]=o,e.timeout&&setTimeout(e.abort,e.timeout),(r=document.createElement("script")).src=e.getUrl(),r.type="text/javascript",r.async=!0,r.onload=n,r.onerror=n,document.body.appendChild(r)})}function N(e){return new a(function(t){var n=new XMLHttpRequest,r=function(r){var i=e.respondWith("response"in n?n.response:n.responseText,{status:1223===n.status?204:n.status,statusText:1223===n.status?"No Content":d(n.statusText)});_(d(n.getAllResponseHeaders()).split("\n"),function(e){i.headers.append(e.slice(0,e.indexOf(":")),e.slice(e.indexOf(":")+1))}),t(i)};e.abort=function(){return n.abort()},n.open(e.method,e.getUrl(),!0),e.timeout&&(n.timeout=e.timeout),e.responseType&&"responseType"in n&&(n.responseType=e.responseType),(e.withCredentials||e.credentials)&&(n.withCredentials=!0),e.crossOrigin||e.headers.set("X-Requested-With","XMLHttpRequest"),g(e.progress)&&"GET"===e.method&&n.addEventListener("progress",e.progress),g(e.downloadProgress)&&n.addEventListener("progress",e.downloadProgress),g(e.progress)&&/^(POST|PUT)$/i.test(e.method)&&n.upload.addEventListener("progress",e.progress),g(e.uploadProgress)&&n.upload&&n.upload.addEventListener("progress",e.uploadProgress),e.headers.forEach(function(e,t){n.setRequestHeader(t,e)}),n.onload=r,n.onabort=r,n.onerror=r,n.ontimeout=r,n.send(e.getBody())})}function M(e){var t=n(1323);return new a(function(n){var r,i=e.getUrl(),o=e.getBody(),a=e.method,s={};e.headers.forEach(function(e,t){s[t]=e}),t(i,{body:o,method:a,headers:s}).then(r=function(t){var r=e.respondWith(t.body,{status:t.statusCode,statusText:d(t.statusMessage)});_(t.headers,function(e,t){r.headers.set(t,e)}),n(r)},function(e){return r(e.response)})})}function F(e){return(e.client||(h?N:M))(e)}var R=function(e){var t=this;this.map={},_(e,function(e,n){return t.append(n,e)})};function H(e,t){return Object.keys(e).reduce(function(e,n){return p(t)===p(n)?n:e},null)}R.prototype.has=function(e){return null!==H(this.map,e)},R.prototype.get=function(e){var t=this.map[H(this.map,e)];return t?t.join():null},R.prototype.getAll=function(e){return this.map[H(this.map,e)]||[]},R.prototype.set=function(e,t){this.map[function(e){if(/[^a-z0-9\-#$%&'*+.^_`|~]/i.test(e))throw new TypeError("Invalid character in header field name");return d(e)}(H(this.map,e)||e)]=[d(t)]},R.prototype.append=function(e,t){var n=this.map[H(this.map,e)];n?n.push(d(t)):this.set(e,t)},R.prototype.delete=function(e){delete this.map[H(this.map,e)]},R.prototype.deleteAll=function(){this.map={}},R.prototype.forEach=function(e,t){var n=this;_(this.map,function(r,i){_(r,function(r){return e.call(t,r,i,n)})})};var $=function(e,t){var n=t.url,r=t.headers,i=t.status,o=t.statusText;this.url=n,this.ok=i>=200&&i<300,this.status=i||0,this.statusText=o||"",this.headers=new R(r),this.body=e,m(e)?this.bodyText=e:"undefined"!=typeof Blob&&e instanceof Blob&&(this.bodyBlob=e,function(e){return 0===e.type.indexOf("text")||-1!==e.type.indexOf("json")}(e)&&(this.bodyText=function(e){return new a(function(t){var n=new FileReader;n.readAsText(e),n.onload=function(){t(n.result)}})}(e)))};$.prototype.blob=function(){return w(this.bodyBlob)},$.prototype.text=function(){return w(this.bodyText)},$.prototype.json=function(){return w(this.text(),function(e){return JSON.parse(e)})},Object.defineProperty($.prototype,"data",{get:function(){return this.body},set:function(e){this.body=e}});var q=function(e){var t;this.body=null,this.params={},C(this,e,{method:(t=e.method||"GET",t?t.toUpperCase():"")}),this.headers instanceof R||(this.headers=new R(this.headers))};q.prototype.getUrl=function(){return I(this)},q.prototype.getBody=function(){return this.body},q.prototype.respondWith=function(e,t){return new $(e,C(t||{},{url:this.getUrl()}))};var B={"Content-Type":"application/json;charset=utf-8"};function U(e){var t=this||{},n=function(e){var t=[F],n=[];function r(r){for(;t.length;){var i=t.pop();if(g(i)){var o=void 0,s=void 0;if(y(o=i.call(e,r,function(e){return s=e})||s))return new a(function(t,r){n.forEach(function(t){o=w(o,function(n){return t.call(e,n)||n},r)}),w(o,t,r)},e);g(o)&&n.unshift(o)}else u="Invalid interceptor of type "+typeof i+", must be a function","undefined"!=typeof console&&f&&console.warn("[VueResource warn]: "+u)}var u}return y(e)||(e=null),r.use=function(e){t.push(e)},r}(t.$vm);return function(e){l.call(arguments,1).forEach(function(t){for(var n in t)void 0===e[n]&&(e[n]=t[n])})}(e||{},t.$options,U.options),U.interceptors.forEach(function(e){m(e)&&(e=U.interceptor[e]),g(e)&&n.use(e)}),n(new q(e)).then(function(e){return e.ok?e:a.reject(e)},function(e){var t;return e instanceof Error&&(t=e,"undefined"!=typeof console&&console.error(t)),a.reject(e)})}function W(e,t,n,r){var i=this||{},o={};return _(n=C({},W.actions,n),function(n,a){n=T({url:e,params:C({},t)},r,n),o[a]=function(){return(i.$http||U)(function(e,t){var n,r=C({},e),i={};switch(t.length){case 2:i=t[0],n=t[1];break;case 1:/^(POST|PUT|PATCH)$/i.test(r.method)?n=t[0]:i=t[0];break;case 0:break;default:throw"Expected up to 2 arguments [params, body], got "+t.length+" arguments"}return r.body=n,r.params=C({},r.params,i),r}(n,arguments))}}),o}function V(e){var t,n,r;V.installed||(n=(t=e).config,r=t.nextTick,u=r,f=n.debug||!n.silent,e.url=I,e.http=U,e.resource=W,e.Promise=a,Object.defineProperties(e.prototype,{$url:{get:function(){return E(e.url,this,this.$options.url)}},$http:{get:function(){return E(e.http,this,this.$options.http)}},$resource:{get:function(){return e.resource.bind(this)}},$promise:{get:function(){var t=this;return function(n){return new e.Promise(n,t)}}}}))}U.options={},U.headers={put:B,post:B,patch:B,delete:B,common:{Accept:"application/json, text/plain, */*"},custom:{}},U.interceptor={before:function(e){g(e.before)&&e.before.call(this,e)},method:function(e){e.emulateHTTP&&/^(PUT|PATCH|DELETE)$/i.test(e.method)&&(e.headers.set("X-HTTP-Method-Override",e.method),e.method="POST")},jsonp:function(e){"JSONP"==e.method&&(e.client=P)},json:function(e){var t=e.headers.get("Content-Type")||"";return y(e.body)&&0===t.indexOf("application/json")&&(e.body=JSON.stringify(e.body)),function(e){return e.bodyText?w(e.text(),function(t){var n,r;if(0===(e.headers.get("Content-Type")||"").indexOf("application/json")||(r=(n=t).match(/^\s*(\[|\{)/))&&{"[":/]\s*$/,"{":/}\s*$/}[r[1]].test(n))try{e.body=JSON.parse(t)}catch(t){e.body=null}else e.body=t;return e}):e}},form:function(e){var t;t=e.body,"undefined"!=typeof FormData&&t instanceof FormData?e.headers.delete("Content-Type"):y(e.body)&&e.emulateJSON&&(e.body=I.params(e.body),e.headers.set("Content-Type","application/x-www-form-urlencoded"))},header:function(e){_(C({},U.headers.common,e.crossOrigin?{}:U.headers.custom,U.headers[p(e.method)]),function(t,n){e.headers.has(n)||e.headers.set(n,t)})},cors:function(e){if(h){var t=I.parse(location.href),n=I.parse(e.getUrl());n.protocol===t.protocol&&n.host===t.host||(e.crossOrigin=!0,e.emulateHTTP=!1,L||(e.client=D))}}},U.interceptors=["before","method","jsonp","json","form","header","cors"],["get","delete","head","jsonp"].forEach(function(e){U[e]=function(t,n){return this(C(n||{},{url:t,method:e}))}}),["post","put","patch"].forEach(function(e){U[e]=function(t,n,r){return this(C(r||{},{url:t,method:e,body:n}))}}),W.actions={get:{method:"GET"},save:{method:"POST"},query:{method:"GET"},update:{method:"PUT"},remove:{method:"DELETE"},delete:{method:"DELETE"}},"undefined"!=typeof window&&window.Vue&&window.Vue.use(V),t.a=V},242:function(e,t,n){"use strict";n.d(t,"c",function(){return s}),n.d(t,"b",function(){return c}),n.d(t,"a",function(){return l});var r=n(0),i=n.n(r),o=n(3),a=n.n(o);function s(e){var t=this.hasClass("js-popover-show");return!(e&&t||!e&&!t)&&(this.popover(e?"show":"hide"),this.toggleClass("disable-animation js-popover-show",e),!0)}function u(){if(!i()(".popover:hover").length>0){var e=i()(this);s.call(e,!1)}}function c(){var e=i()(this);s.call(e,!0)&&i()(".popover").on("mouseleave",u.bind(e))}function l(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:300;return a.a.debounce(u,e)}},249:function(e,t,n){"use strict";var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();var i=[{key:"author",type:"string",param:"username",symbol:"@",icon:"pencil",tag:"@author"},{key:"assignee",type:"string",param:"username",symbol:"@",icon:"user",tag:"@assignee"},{key:"milestone",type:"string",param:"title",symbol:"%",icon:"clock-o",tag:"%milestone"},{key:"label",type:"array",param:"name[]",symbol:"~",icon:"tag",tag:"~label"}];gon.current_user_id&&i.push({key:"my-reaction",type:"string",param:"emoji",symbol:"",icon:"thumbs-up",tag:"emoji"});var o=[{key:"label",type:"string",param:"name",symbol:"~"}],a=i.concat(o),s=[{url:"assignee_id=0",tokenKey:"assignee",value:"none"},{url:"milestone_title=No+Milestone",tokenKey:"milestone",value:"none"},{url:"milestone_title=%23upcoming",tokenKey:"milestone",value:"upcoming"},{url:"milestone_title=%23started",tokenKey:"milestone",value:"started"},{url:"label_name[]=No+Label",tokenKey:"label",value:"none"}],u=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}return r(e,null,[{key:"get",value:function(){return i}},{key:"getKeys",value:function(){return i.map(function(e){return e.key})}},{key:"getAlternatives",value:function(){return o}},{key:"getConditions",value:function(){return s}},{key:"searchByKey",value:function(e){return i.find(function(t){return t.key===e})||null}},{key:"searchBySymbol",value:function(e){return i.find(function(t){return t.symbol===e})||null}},{key:"searchByKeyParam",value:function(e){return a.find(function(t){var n=t.key;return n=n.replace("-","_"),t.param&&(n+="_"+t.param),e===n})||null}},{key:"searchByConditionUrl",value:function(e){return s.find(function(t){return t.url===e})||null}},{key:"searchByConditionKeyValue",value:function(e,t){return s.find(function(n){return n.tokenKey===e&&n.value===t})||null}}]),e}();t.a=u},260:function(e,t,n){(function(t){(function(){var r,i,o,a,s,u,c,l;o=n(1297),a=n(1296),l=n(491),u=n(626),r=n(692),c=null,i="win32"===(void 0!==t&&null!==t?t.platform:void 0)?"\\":"/",e.exports={filter:function(e,t,n){return null==n&&(n={}),(null!=t?t.length:void 0)&&(null!=e?e.length:void 0)?(n=s(n,t),o(e,t,n)):[]},score:function(e,t,n){return null==n&&(n={}),(null!=e?e.length:void 0)&&(null!=t?t.length:void 0)?(n=s(n,t)).usePathScoring?u.score(e,t,n):l.score(e,t,n):0},match:function(e,t,n){var r;return null==n&&(n={}),e&&t?e===t?function(){r=[];for(var t=0,n=e.length;0<=n?t<n:t>n;0<=n?t++:t--)r.push(t);return r}.apply(this):(n=s(n,t),a.match(e,t,n)):[]},wrap:function(e,t,n){return null==n&&(n={}),e&&t?(n=s(n,t),a.wrap(e,t,n)):[]},prepareQuery:function(e,t){return null==t&&(t={}),(t=s(t,e)).preparedQuery}},s=function(e,t){return null==e.allowErrors&&(e.allowErrors=!1),null==e.usePathScoring&&(e.usePathScoring=!0),null==e.useExtensionBonus&&(e.useExtensionBonus=!1),null==e.pathSeparator&&(e.pathSeparator=i),null==e.optCharRegEx&&(e.optCharRegEx=null),null==e.wrap&&(e.wrap=null),null==e.preparedQuery&&(e.preparedQuery=c&&c.query===t?c:c=new r(t,e)),e}}).call(this)}).call(this,n(221))},264:function(e,t,n){"use strict";var r=n(698),i=n(1321),o=Object.prototype.toString;function a(e){return"[object Array]"===o.call(e)}function s(e){return null!==e&&"object"==typeof e}function u(e){return"[object Function]"===o.call(e)}function c(e,t){if(null!==e&&void 0!==e)if("object"!=typeof e&&(e=[e]),a(e))for(var n=0,r=e.length;n<r;n++)t.call(null,e[n],n,e);else for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.call(null,e[i],i,e)}e.exports={isArray:a,isArrayBuffer:function(e){return"[object ArrayBuffer]"===o.call(e)},isBuffer:i,isFormData:function(e){return"undefined"!=typeof FormData&&e instanceof FormData},isArrayBufferView:function(e){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&e.buffer instanceof ArrayBuffer},isString:function(e){return"string"==typeof e},isNumber:function(e){return"number"==typeof e},isObject:s,isUndefined:function(e){return void 0===e},isDate:function(e){return"[object Date]"===o.call(e)},isFile:function(e){return"[object File]"===o.call(e)},isBlob:function(e){return"[object Blob]"===o.call(e)},isFunction:u,isStream:function(e){return s(e)&&u(e.pipe)},isURLSearchParams:function(e){return"undefined"!=typeof URLSearchParams&&e instanceof URLSearchParams},isStandardBrowserEnv:function(){return("undefined"==typeof navigator||"ReactNative"!==navigator.product)&&"undefined"!=typeof window&&"undefined"!=typeof document},forEach:c,merge:function e(){var t={};function n(n,r){"object"==typeof t[r]&&"object"==typeof n?t[r]=e(t[r],n):t[r]=n}for(var r=0,i=arguments.length;r<i;r++)c(arguments[r],n);return t},extend:function(e,t,n){return c(t,function(t,i){e[i]=n&&"function"==typeof t?r(t,n):t}),e},trim:function(e){return e.replace(/^\s*/,"").replace(/\s*$/,"")}}},267:function(e,t,n){"use strict";var r=n(3),i=n.n(r),o=n(159),a=n(104),s=n(249),u=n(64),c={keydown:function(e){if(!this.destroyed){var t,n=e.detail.hook.list,r=n.data,i=e.detail.hook.trigger.value.toLowerCase(),o=e.detail.hook.config.Filter,a=[];r&&(t=o&&o.filterFunction&&"function"==typeof o.filterFunction?o.filterFunction:function(e){return e.droplab_hidden=-1===e[o.template].toLowerCase().indexOf(i),e},r.filter(function(e){return!e.droplab_hidden}).length!==(a=r.map(function(e){return t(e,i)})).filter(function(e){return!e.droplab_hidden}).length&&(n.setData(a),n.currentIndex=0))}},debounceKeydown:function(e){[13,16,17,18,20,37,38,39,40,91,92,93].indexOf(e.detail.which||e.detail.keyCode)>-1||(this.timeout&&clearTimeout(this.timeout),this.timeout=setTimeout(this.keydown.bind(this,e),200))},init:function(e){var t=e.config.Filter;t&&t.template&&(this.hook=e,this.destroyed=!1,this.eventWrapper={},this.eventWrapper.debounceKeydown=this.debounceKeydown.bind(this),this.hook.trigger.addEventListener("keydown.dl",this.eventWrapper.debounceKeydown),this.hook.trigger.addEventListener("mousedown.dl",this.eventWrapper.debounceKeydown))},destroy:function(){this.timeout&&clearTimeout(this.timeout),this.destroyed=!0,this.hook.trigger.removeEventListener("keydown.dl",this.eventWrapper.debounceKeydown),this.hook.trigger.removeEventListener("mousedown.dl",this.eventWrapper.debounceKeydown)}},l=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();var f=function(){function e(t){var n=t.droplab,r=t.dropdown,i=t.input,o=t.filter;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.droplab=n,this.hookId=i&&i.id,this.input=i,this.filter=o,this.dropdown=r,this.loadingTemplate='<div class="filter-dropdown-loading">\n      <i class="fa fa-spinner fa-spin"></i>\n    </div>',this.bindEvents()}return l(e,[{key:"bindEvents",value:function(){this.itemClickedWrapper=this.itemClicked.bind(this),this.dropdown.addEventListener("click.dl",this.itemClickedWrapper)}},{key:"unbindEvents",value:function(){this.dropdown.removeEventListener("click.dl",this.itemClickedWrapper)}},{key:"getCurrentHook",value:function(){var e=this;return this.droplab.hooks.filter(function(t){return t.id===e.hookId})[0]||null}},{key:"itemClicked",value:function(e,t){var n=e.detail.selected;if("LI"===n.tagName&&n.innerHTML){if(!u.a.setDataValueIfSelected(this.filter,n)){var r=t(n);D.addWordToInput(this.filter,r,!0)}this.resetFilters(),this.dismissDropdown(),this.dispatchInputEvent()}}},{key:"setAsDropdown",value:function(){this.input.setAttribute("data-dropdown-trigger","#"+this.dropdown.id)}},{key:"setOffset",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;window.innerWidth>480?this.dropdown.style.left=e+"px":this.dropdown.style.left="0px"}},{key:"renderContent",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=this.getCurrentHook();e&&t&&t.list.hidden&&t.list.show()}},{key:"render",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];this.setAsDropdown();var n=this.getCurrentHook();null===n||e?this.renderContent(t):n.list.list.id!==this.dropdown.id&&this.renderContent(t)}},{key:"dismissDropdown",value:function(){this.input.focus()}},{key:"dispatchInputEvent",value:function(){this.input.dispatchEvent(new CustomEvent("input",{bubbles:!0,cancelable:!0}))}},{key:"dispatchFormSubmitEvent",value:function(){this.input.form.dispatchEvent(new Event("submit"))}},{key:"hideDropdown",value:function(){var e=this.getCurrentHook();e&&e.list.hide()}},{key:"resetFilters",value:function(){var e=this.getCurrentHook();if(e){var t=e.list.data||[];if(!t)return;var n=t.map(function(e){var t=e;return t.droplab_hidden=!1,t});e.list.render(n)}}}]),e}(),h=n(54),d=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();var p=function(e){function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=e.input,r=e.tokenKeys,i=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return i.config={Filter:{template:"hint",filterFunction:u.a.filterHint.bind(null,{input:n,allowedKeys:r.getKeys()})}},i.tokenKeys=r,i}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,f),d(t,[{key:"itemClicked",value:function(e){var t=e.detail.selected;if("LI"===t.tagName)if(t.hasAttribute("data-value"))this.dismissDropdown();else if("submit"===t.getAttribute("data-action"))this.dismissDropdown(),this.dispatchFormSubmitEvent();else{var n=t.querySelector(".js-filter-hint").innerText.trim();if(t.querySelector(".js-filter-tag").innerText.trim().length){var r=this.input.value.split(" "),i=[];r.forEach(function(e,t){i.push(e),t===r.length-1&&-1!==n.indexOf(e.toLowerCase())&&i.pop()}),i.length>0&&h.a.addSearchVisualToken(i.join(" ")),D.addWordToInput(n.replace(":",""),"",!1,this.container)}this.dismissDropdown(),this.dispatchInputEvent()}}},{key:"renderContent",value:function(){var e=this.tokenKeys.get().map(function(e){return{icon:"fa-"+e.icon,hint:e.key,tag:":"+e.tag,type:e.type}});this.droplab.changeHookList(this.hookId,this.dropdown,[c],this.config),this.droplab.setData(this.hookId,e)}},{key:"init",value:function(){this.droplab.addHook(this.input,this.dropdown,[c],this.config).init()}}]),t}(),v=n(7),m=n(149),g={_loadData:function(e,t,n){if(t.loadingTemplate){var r=n.hook.list.list.querySelector("[data-loading-template]");r&&(r.outerHTML=n.listTemplate)}n.destroyed||n.hook.list[t.method].call(n.hook.list,e)},preprocessing:function(e,t){var n=t;return e.preprocessing&&!t.preprocessed&&(n=e.preprocessing(t),m.a.override(e.endpoint,n)),n},init:function(e){var t=this;t.destroyed=!1;var n=e.config.Ajax;if(this.hook=e,n&&n.endpoint&&n.method&&("setData"===n.method||"addData"===n.method)){if(n.loadingTemplate){var r=e.list.list.querySelector("[data-dynamic]"),i=document.createElement("div");i.innerHTML=n.loadingTemplate,i.setAttribute("data-loading-template",""),this.listTemplate=r.outerHTML,r.outerHTML=i.outerHTML}return m.a.retrieve(n.endpoint).then(t.preprocessing.bind(null,n)).then(function(e){return t._loadData(e,n,t)}).catch(n.onError)}},destroy:function(){this.destroyed=!0}},y=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),b=function e(t,n,r){null===t&&(t=Function.prototype);var i=Object.getOwnPropertyDescriptor(t,n);if(void 0===i){var o=Object.getPrototypeOf(t);return null===o?void 0:e(o,n,r)}if("value"in i)return i.value;var a=i.get;return void 0!==a?a.call(r):void 0};var w=function(e){function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var r=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return r.config={Ajax:{endpoint:(gon.relative_url_root||"")+"/autocomplete/award_emojis",method:"setData",loadingTemplate:r.loadingTemplate,onError:function(){new v.a("An error occurred fetching the dropdown data.")}},Filter:{template:"name"}},n.e(86).then(n.bind(null,292)).then(function(e){var t=e.glEmojiTag;r.glEmojiTag=t}).catch(function(){}),r.unbindEvents(),r.bindEvents(),r}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,f),y(t,[{key:"bindEvents",value:function(){b(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"bindEvents",this).call(this),this.listRenderedWrapper=this.listRendered.bind(this),this.dropdown.addEventListener("render.dl",this.listRenderedWrapper)}},{key:"unbindEvents",value:function(){this.dropdown.removeEventListener("render.dl",this.listRenderedWrapper),b(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"unbindEvents",this).call(this)}},{key:"listRendered",value:function(){this.replaceEmojiElement()}},{key:"itemClicked",value:function(e){b(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"itemClicked",this).call(this,e,function(e){var t=e.querySelector(".js-data-value").innerText.trim();return u.a.getEscapedText(t)})}},{key:"renderContent",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this.droplab.changeHookList(this.hookId,this.dropdown,[g,c],this.config),b(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"renderContent",this).call(this,e)}},{key:"replaceEmojiElement",value:function(){var e=this;this.glEmojiTag&&[].concat(function(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}(this.dropdown.querySelectorAll(".filter-dropdown-item"))).forEach(function(t){var n=t.querySelector(".js-data-value").innerText,r=e.glEmojiTag(n);t.querySelector("gl-emoji").outerHTML=r})}},{key:"init",value:function(){this.droplab.addHook(this.input,this.dropdown,[g,c],this.config).init()}}]),t}(),E=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),_=function e(t,n,r){null===t&&(t=Function.prototype);var i=Object.getOwnPropertyDescriptor(t,n);if(void 0===i){var o=Object.getPrototypeOf(t);return null===o?void 0:e(o,n,r)}if("value"in i)return i.value;var a=i.get;return void 0!==a?a.call(r):void 0};var C=function(e){function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=e.input,r=e.endpoint,i=e.symbol,o=e.preprocessing,a=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return a.symbol=i,a.config={Ajax:{endpoint:r,method:"setData",loadingTemplate:a.loadingTemplate,preprocessing:o,onError:function(){new v.a("An error occurred fetching the dropdown data.")}},Filter:{filterFunction:u.a.filterWithSymbol.bind(null,a.symbol,n),template:"title"}},a}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,f),E(t,[{key:"itemClicked",value:function(e){var n=this;_(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"itemClicked",this).call(this,e,function(e){var t=e.querySelector(".js-data-value").innerText.trim();return""+n.symbol+u.a.getEscapedText(t)})}},{key:"renderContent",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this.droplab.changeHookList(this.hookId,this.dropdown,[g,c],this.config),_(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"renderContent",this).call(this,e)}},{key:"init",value:function(){this.droplab.addHook(this.input,this.dropdown,[g,c],this.config).init()}}]),t}(),T={init:function(e){this.destroyed=!1,this.hook=e,this.notLoading(),this.eventWrapper={},this.eventWrapper.debounceTrigger=this.debounceTrigger.bind(this),this.hook.trigger.addEventListener("keydown.dl",this.eventWrapper.debounceTrigger),this.hook.trigger.addEventListener("focus",this.eventWrapper.debounceTrigger),this.trigger(!0)},notLoading:function(){this.loading=!1},debounceTrigger:function(e){var t=[16,17,18,20,37,38,39,40,91,93].indexOf(e.detail.which||e.detail.keyCode)>-1,n="focus"===e.type;t||this.loading||(this.timeout&&clearTimeout(this.timeout),this.timeout=setTimeout(this.trigger.bind(this,n),200))},trigger:function(e){var t=this,n=this.hook.config.AjaxFilter,r=this.trigger.value;if(n&&n.endpoint&&n.searchKey){if(n.searchValueFunction&&(r=n.searchValueFunction()),n.loadingTemplate&&void 0===this.hook.list.data||0===this.hook.list.data.length){var i=this.hook.list.list.querySelector("[data-dynamic]"),o=document.createElement("div");o.innerHTML=n.loadingTemplate,o.setAttribute("data-loading-template",!0),this.listTemplate=i.outerHTML,i.outerHTML=o.outerHTML}if(e&&(r=""),n.searchKey===r)return this.list.show();this.loading=!0;var a=n.params||{};a[n.searchKey]=r;var s=n.endpoint+this.buildParams(a);return m.a.retrieve(s).then(function(e){t._loadData(e,n),n.onLoadingFinished&&n.onLoadingFinished(e)}).catch(n.onError)}},_loadData:function(e,t){var n=this.hook.list;if(t.loadingTemplate&&void 0===n.data||0===n.data.length){var r=n.list.querySelector("[data-loading-template]");r&&(r.outerHTML=this.listTemplate)}if(!this.destroyed){var i=n.list.children;1===i.length&&i[0].hasAttribute("data-dynamic")&&0===e.length&&n.hide(),n.setData.call(n,e)}this.notLoading(),n.currentIndex=0},buildParams:function(e){return e?"?"+Object.keys(e).map(function(t){return t+"="+(e[t]||"")}).join("&"):""},destroy:function(){this.timeout&&clearTimeout(this.timeout),this.destroyed=!0,this.hook.trigger.removeEventListener("keydown.dl",this.eventWrapper.debounceTrigger),this.hook.trigger.removeEventListener("focus",this.eventWrapper.debounceTrigger)}},x=n(181),k=n(147),S=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),A=function e(t,n,r){null===t&&(t=Function.prototype);var i=Object.getOwnPropertyDescriptor(t,n);if(void 0===i){var o=Object.getPrototypeOf(t);return null===o?void 0:e(o,n,r)}if("value"in i)return i.value;var a=i.get;return void 0!==a?a.call(r):void 0};var O=function(e){function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=e.tokenKeys,r=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return r.config={AjaxFilter:{endpoint:(gon.relative_url_root||"")+"/autocomplete/users.json",searchKey:"search",params:{active:!0,group_id:r.getGroupId(),project_id:r.getProjectId(),current_user:!0},searchValueFunction:r.getSearchInput.bind(r),loadingTemplate:r.loadingTemplate,onLoadingFinished:function(){r.hideCurrentUser()},onError:function(){new v.a("An error occurred fetching the dropdown data.")}}},r.tokenKeys=n,r}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,f),S(t,[{key:"hideCurrentUser",value:function(){Object(x.a)(this.dropdown.querySelector(".js-current-user"),"hidden")}},{key:"itemClicked",value:function(e){A(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"itemClicked",this).call(this,e,function(e){return e.querySelector(".dropdown-light-content").innerText.trim()})}},{key:"renderContent",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this.droplab.changeHookList(this.hookId,this.dropdown,[T],this.config),A(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"renderContent",this).call(this,e)}},{key:"getGroupId",value:function(){return this.input.getAttribute("data-group-id")}},{key:"getProjectId",value:function(){return this.input.getAttribute("data-project-id")}},{key:"getSearchInput",value:function(){var e=u.a.getSearchInput(this.input),t=k.a.processTokens(e,this.tokenKeys.get()).lastToken||"";return"@"===t[0]&&(t=t.slice(1)),'"'!==t[0]&&"'"!==t[0]||(t=t.slice(1)),t}},{key:"init",value:function(){this.droplab.addHook(this.input,this.dropdown,[T],this.config).init()}}]),t}(),j=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();var I=function(){function e(t){var n=t.baseEndpoint,r=void 0===n?"":n,i=t.tokenizer,o=t.page,u=t.isGroup,c=t.isGroupAncestor,l=t.isGroupDecendent,f=t.filteredSearchTokenKeys;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.container=a.a.container,this.baseEndpoint=r.replace(/\/$/,""),this.tokenizer=i,this.filteredSearchTokenKeys=f||s.a,this.filteredSearchInput=this.container.querySelector(".filtered-search"),this.page=o,this.groupsOnly=u,this.includeAncestorGroups=c,this.includeDescendantGroups=l,this.setupMapping(),this.cleanupWrapper=this.cleanup.bind(this),document.addEventListener("beforeunload",this.cleanupWrapper)}return j(e,[{key:"cleanup",value:function(){this.droplab&&(this.droplab.destroy(),this.droplab=null),this.setupMapping(),document.removeEventListener("beforeunload",this.cleanupWrapper)}},{key:"setupMapping",value:function(){var e=this.filteredSearchTokenKeys.getKeys(),t={hint:{reference:null,gl:p,element:this.container.querySelector("#js-dropdown-hint")}},n={author:{reference:null,gl:O,element:this.container.querySelector("#js-dropdown-author")},assignee:{reference:null,gl:O,element:this.container.querySelector("#js-dropdown-assignee")},milestone:{reference:null,gl:C,extraArguments:{endpoint:this.getMilestoneEndpoint(),symbol:"%"},element:this.container.querySelector("#js-dropdown-milestone")},label:{reference:null,gl:C,extraArguments:{endpoint:this.getLabelsEndpoint(),symbol:"~",preprocessing:u.a.duplicateLabelPreprocessing},element:this.container.querySelector("#js-dropdown-label")},"my-reaction":{reference:null,gl:w,element:this.container.querySelector("#js-dropdown-my-reaction")}};e.forEach(function(e){n[e]&&(t[e]=n[e])}),this.mapping=t}},{key:"getMilestoneEndpoint",value:function(){return this.baseEndpoint+"/milestones.json"}},{key:"getLabelsEndpoint",value:function(){var e=this.baseEndpoint+"/labels.json?";return this.groupsOnly&&(e+="only_group_labels=true&"),this.includeAncestorGroups&&(e+="include_ancestor_groups=true&"),this.includeDescendantGroups&&(e+="include_descendant_groups=true"),e}},{key:"updateCurrentDropdownOffset",value:function(){this.updateDropdownOffset(this.currentDropdown)}},{key:"updateDropdownOffset",value:function(e){var t=this.filteredSearchInput.getBoundingClientRect().left-this.container.querySelector(".scroll-container").getBoundingClientRect().left,n=this.mapping[e].element.clientWidth||240,r=this.container.querySelector(".scroll-container").clientWidth-n;r<t&&(t=r),this.mapping[e].reference.setOffset(t)}},{key:"load",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=this.mapping[e],r=n.gl,i=n.element,o=!1;if(!n.reference){var a={droplab:this.droplab,dropdown:i,input:this.filteredSearchInput,tokenKeys:this.filteredSearchTokenKeys,filter:e},s=n.extraArguments||{},u=Object.assign({},a,s);n.reference=new(Function.prototype.bind.apply(r,[null,u]))}t&&n.reference.init(),"hint"===this.currentDropdown&&(o=!0),this.updateDropdownOffset(e),n.reference.render(t,o),this.currentDropdown=e}},{key:"loadDropdown",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=!1;this.droplab||(t=!0,this.droplab=new o.a);var n=this.filteredSearchTokenKeys.searchByKey(e.toLowerCase()),r=n&&this.currentDropdown!==n.key&&this.mapping[n.key],i=!n&&"hint"!==this.currentDropdown;if(r||i){var a=n&&n.key?n.key:"hint";this.load(a,t)}}},{key:"setDropdown",value:function(){var e=u.a.getSearchQuery(!0),t=this.tokenizer.processTokens(e,this.filteredSearchTokenKeys.getKeys()),n=t.lastToken,r=t.searchToken;if(this.currentDropdown&&this.updateCurrentDropdownOffset(),n===r&&null!==n){var o=n.split(":"),a=i.a.last(o[0].split(" "));this.loadDropdown(o.length>1?a:"")}else n?this.loadDropdown(n.key):this.loadDropdown("hint")}},{key:"resetDropdowns",value:function(){this.currentDropdown&&(this.mapping[this.currentDropdown].reference.hideDropdown(),this.setDropdown(),this.mapping[this.currentDropdown].reference.resetFilters(),this.updateDropdownOffset(this.currentDropdown))}},{key:"destroyDroplab",value:function(){this.droplab.destroy()}}],[{key:"addWordToInput",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=a.a.container.querySelector(".filtered-search");h.a.addFilterVisualToken(e,t),r.value="",n&&h.a.moveInputToTheRight()}}]),e}(),D=t.a=I},27:function(e,t,n){"use strict";var r={props:{label:{type:String,required:!1,default:"Loading"},size:{type:String,required:!1,default:"1"},inline:{type:Boolean,required:!1,default:!1}},computed:{rootElementType:function(){return this.inline?"span":"div"},cssClass:function(){return"fa-"+this.size+"x"}}},i=n(2),o=Object(i.a)(r,function(){var e=this.$createElement,t=this._self._c||e;return t(this.rootElementType,{tag:"component",staticClass:"loading-container text-center"},[t("i",{staticClass:"fa fa-spin fa-spinner",class:this.cssClass,attrs:{"aria-label":this.label,"aria-hidden":"true"}})])},[],!1,null,null,null);t.a=o.exports},29:function(e,t,n){var r,i;!function(o,a,s){for(var u,c,l={8:"backspace",9:"tab",13:"enter",16:"shift",17:"ctrl",18:"alt",20:"capslock",27:"esc",32:"space",33:"pageup",34:"pagedown",35:"end",36:"home",37:"left",38:"up",39:"right",40:"down",45:"ins",46:"del",91:"meta",93:"meta",224:"meta"},f={106:"*",107:"+",109:"-",110:".",111:"/",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'"},h={"~":"`","!":"1","@":"2","#":"3",$:"4","%":"5","^":"6","&":"7","*":"8","(":"9",")":"0",_:"-","+":"=",":":";",'"':"'","<":",",">":".","?":"/","|":"\\"},d={option:"alt",command:"meta",return:"enter",escape:"esc",mod:/Mac|iPod|iPhone|iPad/.test(navigator.platform)?"meta":"ctrl"},p={},v={},m={},g=!1,y=!1,b=!1,w=1;w<20;++w)l[111+w]="f"+w;for(w=0;w<=9;++w)l[w+96]=w;function E(e,t,n){e.addEventListener?e.addEventListener(t,n,!1):e.attachEvent("on"+t,n)}function _(e){if("keypress"==e.type){var t=String.fromCharCode(e.which);return e.shiftKey||(t=t.toLowerCase()),t}return l[e.which]?l[e.which]:f[e.which]?f[e.which]:String.fromCharCode(e.which).toLowerCase()}function C(e){e=e||{};var t,n=!1;for(t in m)e[t]?n=!0:m[t]=0;n||(b=!1)}function T(e,t,n,r,i,o){var a,s,u,c,l=[],f=n.type;if(!p[e])return[];for("keyup"==f&&S(e)&&(t=[e]),a=0;a<p[e].length;++a)if(s=p[e][a],(r||!s.seq||m[s.seq]==s.level)&&f==s.action&&("keypress"==f&&!n.metaKey&&!n.ctrlKey||(u=t,c=s.modifiers,u.sort().join(",")===c.sort().join(",")))){var h=!r&&s.combo==i,d=r&&s.seq==r&&s.level==o;(h||d)&&p[e].splice(a,1),l.push(s)}return l}function x(e,t,n,r){D.stopCallback(t,t.target||t.srcElement,n,r)||!1===e(t,n)&&(function(e){e.preventDefault?e.preventDefault():e.returnValue=!1}(t),function(e){e.stopPropagation?e.stopPropagation():e.cancelBubble=!0}(t))}function k(e){"number"!=typeof e.which&&(e.which=e.keyCode);var t=_(e);t&&("keyup"!=e.type||g!==t?D.handleKey(t,function(e){var t=[];return e.shiftKey&&t.push("shift"),e.altKey&&t.push("alt"),e.ctrlKey&&t.push("ctrl"),e.metaKey&&t.push("meta"),t}(e),e):g=!1)}function S(e){return"shift"==e||"ctrl"==e||"alt"==e||"meta"==e}function A(e,t,n){return n||(n=function(){if(!u)for(var e in u={},l)e>95&&e<112||l.hasOwnProperty(e)&&(u[l[e]]=e);return u}()[e]?"keydown":"keypress"),"keypress"==n&&t.length&&(n="keydown"),n}function O(e,t,n,r){function i(t){return function(){b=t,++m[e],clearTimeout(c),c=setTimeout(C,1e3)}}function o(t){x(n,t,e),"keyup"!==r&&(g=_(t)),setTimeout(C,10)}m[e]=0;for(var a=0;a<t.length;++a){var s=a+1===t.length?o:i(r||j(t[a+1]).action);I(t[a],s,r,e,a)}}function j(e,t){var n,r,i,o=[];for(n=function(e){return"+"===e?["+"]:e.split("+")}(e),i=0;i<n.length;++i)r=n[i],d[r]&&(r=d[r]),t&&"keypress"!=t&&h[r]&&(r=h[r],o.push("shift")),S(r)&&o.push(r);return{key:r,modifiers:o,action:t=A(r,o,t)}}function I(e,t,n,r,i){v[e+":"+n]=t;var o,a=(e=e.replace(/\s+/g," ")).split(" ");a.length>1?O(e,a,t,n):(o=j(e,n),p[o.key]=p[o.key]||[],T(o.key,o.modifiers,{type:o.action},r,e,i),p[o.key][r?"unshift":"push"]({callback:t,modifiers:o.modifiers,action:o.action,seq:r,level:i,combo:e}))}E(a,"keypress",k),E(a,"keydown",k),E(a,"keyup",k);var D={bind:function(e,t,n){return function(e,t,n){for(var r=0;r<e.length;++r)I(e[r],t,n)}(e=e instanceof Array?e:[e],t,n),this},unbind:function(e,t){return D.bind(e,function(){},t)},trigger:function(e,t){return v[e+":"+t]&&v[e+":"+t]({},e),this},reset:function(){return p={},v={},this},stopCallback:function(e,t){return!((" "+t.className+" ").indexOf(" mousetrap ")>-1)&&("INPUT"==t.tagName||"SELECT"==t.tagName||"TEXTAREA"==t.tagName||t.isContentEditable)},handleKey:function(e,t,n){var r,i=T(e,t,n),o={},a=0,s=!1;for(r=0;r<i.length;++r)i[r].seq&&(a=Math.max(a,i[r].level));for(r=0;r<i.length;++r)if(i[r].seq){if(i[r].level!=a)continue;s=!0,o[i[r].seq]=1,x(i[r].callback,n,i[r].combo,i[r].seq)}else s||x(i[r].callback,n,i[r].combo);var u="keypress"==n.type&&y;n.type!=b||S(e)||u||C(o),y=s&&"keydown"==n.type}};o.Mousetrap=D,void 0===(i="function"==typeof(r=D)?r.call(t,n,t,e):r)||(e.exports=i)}(window,document)},297:function(e,t,n){var r=n(215);e.exports=function(e){if(!r(e))throw TypeError(e+" is not an object!");return e}},3:function(e,t,n){(function(e,n){var r;!function(){var i="object"==typeof self&&self.self===self&&self||"object"==typeof e&&e.global===e&&e||this||{},o=i._,a=Array.prototype,s=Object.prototype,u="undefined"!=typeof Symbol?Symbol.prototype:null,c=a.push,l=a.slice,f=s.toString,h=s.hasOwnProperty,d=Array.isArray,p=Object.keys,v=Object.create,m=function(){},g=function(e){return e instanceof g?e:this instanceof g?void(this._wrapped=e):new g(e)};void 0===t||t.nodeType?i._=g:(void 0!==n&&!n.nodeType&&n.exports&&(t=n.exports=g),t._=g),g.VERSION="1.9.0";var y,b=function(e,t,n){if(void 0===t)return e;switch(null==n?3:n){case 1:return function(n){return e.call(t,n)};case 3:return function(n,r,i){return e.call(t,n,r,i)};case 4:return function(n,r,i,o){return e.call(t,n,r,i,o)}}return function(){return e.apply(t,arguments)}},w=function(e,t,n){return g.iteratee!==y?g.iteratee(e,t):null==e?g.identity:g.isFunction(e)?b(e,t,n):g.isObject(e)&&!g.isArray(e)?g.matcher(e):g.property(e)};g.iteratee=y=function(e,t){return w(e,t,1/0)};var E=function(e,t){return t=null==t?e.length-1:+t,function(){for(var n=Math.max(arguments.length-t,0),r=Array(n),i=0;i<n;i++)r[i]=arguments[i+t];switch(t){case 0:return e.call(this,r);case 1:return e.call(this,arguments[0],r);case 2:return e.call(this,arguments[0],arguments[1],r)}var o=Array(t+1);for(i=0;i<t;i++)o[i]=arguments[i];return o[t]=r,e.apply(this,o)}},_=function(e){if(!g.isObject(e))return{};if(v)return v(e);m.prototype=e;var t=new m;return m.prototype=null,t},C=function(e){return function(t){return null==t?void 0:t[e]}},T=function(e,t){for(var n=t.length,r=0;r<n;r++){if(null==e)return;e=e[t[r]]}return n?e:void 0},x=Math.pow(2,53)-1,k=C("length"),S=function(e){var t=k(e);return"number"==typeof t&&t>=0&&t<=x};g.each=g.forEach=function(e,t,n){var r,i;if(t=b(t,n),S(e))for(r=0,i=e.length;r<i;r++)t(e[r],r,e);else{var o=g.keys(e);for(r=0,i=o.length;r<i;r++)t(e[o[r]],o[r],e)}return e},g.map=g.collect=function(e,t,n){t=w(t,n);for(var r=!S(e)&&g.keys(e),i=(r||e).length,o=Array(i),a=0;a<i;a++){var s=r?r[a]:a;o[a]=t(e[s],s,e)}return o};var A=function(e){return function(t,n,r,i){var o=arguments.length>=3;return function(t,n,r,i){var o=!S(t)&&g.keys(t),a=(o||t).length,s=e>0?0:a-1;for(i||(r=t[o?o[s]:s],s+=e);s>=0&&s<a;s+=e){var u=o?o[s]:s;r=n(r,t[u],u,t)}return r}(t,b(n,i,4),r,o)}};g.reduce=g.foldl=g.inject=A(1),g.reduceRight=g.foldr=A(-1),g.find=g.detect=function(e,t,n){var r=(S(e)?g.findIndex:g.findKey)(e,t,n);if(void 0!==r&&-1!==r)return e[r]},g.filter=g.select=function(e,t,n){var r=[];return t=w(t,n),g.each(e,function(e,n,i){t(e,n,i)&&r.push(e)}),r},g.reject=function(e,t,n){return g.filter(e,g.negate(w(t)),n)},g.every=g.all=function(e,t,n){t=w(t,n);for(var r=!S(e)&&g.keys(e),i=(r||e).length,o=0;o<i;o++){var a=r?r[o]:o;if(!t(e[a],a,e))return!1}return!0},g.some=g.any=function(e,t,n){t=w(t,n);for(var r=!S(e)&&g.keys(e),i=(r||e).length,o=0;o<i;o++){var a=r?r[o]:o;if(t(e[a],a,e))return!0}return!1},g.contains=g.includes=g.include=function(e,t,n,r){return S(e)||(e=g.values(e)),("number"!=typeof n||r)&&(n=0),g.indexOf(e,t,n)>=0},g.invoke=E(function(e,t,n){var r,i;return g.isFunction(t)?i=t:g.isArray(t)&&(r=t.slice(0,-1),t=t[t.length-1]),g.map(e,function(e){var o=i;if(!o){if(r&&r.length&&(e=T(e,r)),null==e)return;o=e[t]}return null==o?o:o.apply(e,n)})}),g.pluck=function(e,t){return g.map(e,g.property(t))},g.where=function(e,t){return g.filter(e,g.matcher(t))},g.findWhere=function(e,t){return g.find(e,g.matcher(t))},g.max=function(e,t,n){var r,i,o=-1/0,a=-1/0;if(null==t||"number"==typeof t&&"object"!=typeof e[0]&&null!=e)for(var s=0,u=(e=S(e)?e:g.values(e)).length;s<u;s++)null!=(r=e[s])&&r>o&&(o=r);else t=w(t,n),g.each(e,function(e,n,r){((i=t(e,n,r))>a||i===-1/0&&o===-1/0)&&(o=e,a=i)});return o},g.min=function(e,t,n){var r,i,o=1/0,a=1/0;if(null==t||"number"==typeof t&&"object"!=typeof e[0]&&null!=e)for(var s=0,u=(e=S(e)?e:g.values(e)).length;s<u;s++)null!=(r=e[s])&&r<o&&(o=r);else t=w(t,n),g.each(e,function(e,n,r){((i=t(e,n,r))<a||i===1/0&&o===1/0)&&(o=e,a=i)});return o},g.shuffle=function(e){return g.sample(e,1/0)},g.sample=function(e,t,n){if(null==t||n)return S(e)||(e=g.values(e)),e[g.random(e.length-1)];var r=S(e)?g.clone(e):g.values(e),i=k(r);t=Math.max(Math.min(t,i),0);for(var o=i-1,a=0;a<t;a++){var s=g.random(a,o),u=r[a];r[a]=r[s],r[s]=u}return r.slice(0,t)},g.sortBy=function(e,t,n){var r=0;return t=w(t,n),g.pluck(g.map(e,function(e,n,i){return{value:e,index:r++,criteria:t(e,n,i)}}).sort(function(e,t){var n=e.criteria,r=t.criteria;if(n!==r){if(n>r||void 0===n)return 1;if(n<r||void 0===r)return-1}return e.index-t.index}),"value")};var O=function(e,t){return function(n,r,i){var o=t?[[],[]]:{};return r=w(r,i),g.each(n,function(t,i){var a=r(t,i,n);e(o,t,a)}),o}};g.groupBy=O(function(e,t,n){g.has(e,n)?e[n].push(t):e[n]=[t]}),g.indexBy=O(function(e,t,n){e[n]=t}),g.countBy=O(function(e,t,n){g.has(e,n)?e[n]++:e[n]=1});var j=/[^\ud800-\udfff]|[\ud800-\udbff][\udc00-\udfff]|[\ud800-\udfff]/g;g.toArray=function(e){return e?g.isArray(e)?l.call(e):g.isString(e)?e.match(j):S(e)?g.map(e,g.identity):g.values(e):[]},g.size=function(e){return null==e?0:S(e)?e.length:g.keys(e).length},g.partition=O(function(e,t,n){e[n?0:1].push(t)},!0),g.first=g.head=g.take=function(e,t,n){if(!(null==e||e.length<1))return null==t||n?e[0]:g.initial(e,e.length-t)},g.initial=function(e,t,n){return l.call(e,0,Math.max(0,e.length-(null==t||n?1:t)))},g.last=function(e,t,n){if(!(null==e||e.length<1))return null==t||n?e[e.length-1]:g.rest(e,Math.max(0,e.length-t))},g.rest=g.tail=g.drop=function(e,t,n){return l.call(e,null==t||n?1:t)},g.compact=function(e){return g.filter(e,Boolean)};var I=function(e,t,n,r){for(var i=(r=r||[]).length,o=0,a=k(e);o<a;o++){var s=e[o];if(S(s)&&(g.isArray(s)||g.isArguments(s)))if(t)for(var u=0,c=s.length;u<c;)r[i++]=s[u++];else I(s,t,n,r),i=r.length;else n||(r[i++]=s)}return r};g.flatten=function(e,t){return I(e,t,!1)},g.without=E(function(e,t){return g.difference(e,t)}),g.uniq=g.unique=function(e,t,n,r){g.isBoolean(t)||(r=n,n=t,t=!1),null!=n&&(n=w(n,r));for(var i=[],o=[],a=0,s=k(e);a<s;a++){var u=e[a],c=n?n(u,a,e):u;t&&!n?(a&&o===c||i.push(u),o=c):n?g.contains(o,c)||(o.push(c),i.push(u)):g.contains(i,u)||i.push(u)}return i},g.union=E(function(e){return g.uniq(I(e,!0,!0))}),g.intersection=function(e){for(var t=[],n=arguments.length,r=0,i=k(e);r<i;r++){var o=e[r];if(!g.contains(t,o)){var a;for(a=1;a<n&&g.contains(arguments[a],o);a++);a===n&&t.push(o)}}return t},g.difference=E(function(e,t){return t=I(t,!0,!0),g.filter(e,function(e){return!g.contains(t,e)})}),g.unzip=function(e){for(var t=e&&g.max(e,k).length||0,n=Array(t),r=0;r<t;r++)n[r]=g.pluck(e,r);return n},g.zip=E(g.unzip),g.object=function(e,t){for(var n={},r=0,i=k(e);r<i;r++)t?n[e[r]]=t[r]:n[e[r][0]]=e[r][1];return n};var D=function(e){return function(t,n,r){n=w(n,r);for(var i=k(t),o=e>0?0:i-1;o>=0&&o<i;o+=e)if(n(t[o],o,t))return o;return-1}};g.findIndex=D(1),g.findLastIndex=D(-1),g.sortedIndex=function(e,t,n,r){for(var i=(n=w(n,r,1))(t),o=0,a=k(e);o<a;){var s=Math.floor((o+a)/2);n(e[s])<i?o=s+1:a=s}return o};var L=function(e,t,n){return function(r,i,o){var a=0,s=k(r);if("number"==typeof o)e>0?a=o>=0?o:Math.max(o+s,a):s=o>=0?Math.min(o+1,s):o+s+1;else if(n&&o&&s)return r[o=n(r,i)]===i?o:-1;if(i!=i)return(o=t(l.call(r,a,s),g.isNaN))>=0?o+a:-1;for(o=e>0?a:s-1;o>=0&&o<s;o+=e)if(r[o]===i)return o;return-1}};g.indexOf=L(1,g.findIndex,g.sortedIndex),g.lastIndexOf=L(-1,g.findLastIndex),g.range=function(e,t,n){null==t&&(t=e||0,e=0),n||(n=t<e?-1:1);for(var r=Math.max(Math.ceil((t-e)/n),0),i=Array(r),o=0;o<r;o++,e+=n)i[o]=e;return i},g.chunk=function(e,t){if(null==t||t<1)return[];for(var n=[],r=0,i=e.length;r<i;)n.push(l.call(e,r,r+=t));return n};var P=function(e,t,n,r,i){if(!(r instanceof t))return e.apply(n,i);var o=_(e.prototype),a=e.apply(o,i);return g.isObject(a)?a:o};g.bind=E(function(e,t,n){if(!g.isFunction(e))throw new TypeError("Bind must be called on a function");var r=E(function(i){return P(e,r,t,this,n.concat(i))});return r}),g.partial=E(function(e,t){var n=g.partial.placeholder,r=function(){for(var i=0,o=t.length,a=Array(o),s=0;s<o;s++)a[s]=t[s]===n?arguments[i++]:t[s];for(;i<arguments.length;)a.push(arguments[i++]);return P(e,r,this,this,a)};return r}),g.partial.placeholder=g,g.bindAll=E(function(e,t){var n=(t=I(t,!1,!1)).length;if(n<1)throw new Error("bindAll must be passed function names");for(;n--;){var r=t[n];e[r]=g.bind(e[r],e)}}),g.memoize=function(e,t){var n=function(r){var i=n.cache,o=""+(t?t.apply(this,arguments):r);return g.has(i,o)||(i[o]=e.apply(this,arguments)),i[o]};return n.cache={},n},g.delay=E(function(e,t,n){return setTimeout(function(){return e.apply(null,n)},t)}),g.defer=g.partial(g.delay,g,1),g.throttle=function(e,t,n){var r,i,o,a,s=0;n||(n={});var u=function(){s=!1===n.leading?0:g.now(),r=null,a=e.apply(i,o),r||(i=o=null)},c=function(){var c=g.now();s||!1!==n.leading||(s=c);var l=t-(c-s);return i=this,o=arguments,l<=0||l>t?(r&&(clearTimeout(r),r=null),s=c,a=e.apply(i,o),r||(i=o=null)):r||!1===n.trailing||(r=setTimeout(u,l)),a};return c.cancel=function(){clearTimeout(r),s=0,r=i=o=null},c},g.debounce=function(e,t,n){var r,i,o=function(t,n){r=null,n&&(i=e.apply(t,n))},a=E(function(a){if(r&&clearTimeout(r),n){var s=!r;r=setTimeout(o,t),s&&(i=e.apply(this,a))}else r=g.delay(o,t,this,a);return i});return a.cancel=function(){clearTimeout(r),r=null},a},g.wrap=function(e,t){return g.partial(t,e)},g.negate=function(e){return function(){return!e.apply(this,arguments)}},g.compose=function(){var e=arguments,t=e.length-1;return function(){for(var n=t,r=e[t].apply(this,arguments);n--;)r=e[n].call(this,r);return r}},g.after=function(e,t){return function(){if(--e<1)return t.apply(this,arguments)}},g.before=function(e,t){var n;return function(){return--e>0&&(n=t.apply(this,arguments)),e<=1&&(t=null),n}},g.once=g.partial(g.before,2),g.restArguments=E;var N=!{toString:null}.propertyIsEnumerable("toString"),M=["valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"],F=function(e,t){var n=M.length,r=e.constructor,i=g.isFunction(r)&&r.prototype||s,o="constructor";for(g.has(e,o)&&!g.contains(t,o)&&t.push(o);n--;)(o=M[n])in e&&e[o]!==i[o]&&!g.contains(t,o)&&t.push(o)};g.keys=function(e){if(!g.isObject(e))return[];if(p)return p(e);var t=[];for(var n in e)g.has(e,n)&&t.push(n);return N&&F(e,t),t},g.allKeys=function(e){if(!g.isObject(e))return[];var t=[];for(var n in e)t.push(n);return N&&F(e,t),t},g.values=function(e){for(var t=g.keys(e),n=t.length,r=Array(n),i=0;i<n;i++)r[i]=e[t[i]];return r},g.mapObject=function(e,t,n){t=w(t,n);for(var r=g.keys(e),i=r.length,o={},a=0;a<i;a++){var s=r[a];o[s]=t(e[s],s,e)}return o},g.pairs=function(e){for(var t=g.keys(e),n=t.length,r=Array(n),i=0;i<n;i++)r[i]=[t[i],e[t[i]]];return r},g.invert=function(e){for(var t={},n=g.keys(e),r=0,i=n.length;r<i;r++)t[e[n[r]]]=n[r];return t},g.functions=g.methods=function(e){var t=[];for(var n in e)g.isFunction(e[n])&&t.push(n);return t.sort()};var R=function(e,t){return function(n){var r=arguments.length;if(t&&(n=Object(n)),r<2||null==n)return n;for(var i=1;i<r;i++)for(var o=arguments[i],a=e(o),s=a.length,u=0;u<s;u++){var c=a[u];t&&void 0!==n[c]||(n[c]=o[c])}return n}};g.extend=R(g.allKeys),g.extendOwn=g.assign=R(g.keys),g.findKey=function(e,t,n){t=w(t,n);for(var r,i=g.keys(e),o=0,a=i.length;o<a;o++)if(t(e[r=i[o]],r,e))return r};var H,$,q=function(e,t,n){return t in n};g.pick=E(function(e,t){var n={},r=t[0];if(null==e)return n;g.isFunction(r)?(t.length>1&&(r=b(r,t[1])),t=g.allKeys(e)):(r=q,t=I(t,!1,!1),e=Object(e));for(var i=0,o=t.length;i<o;i++){var a=t[i],s=e[a];r(s,a,e)&&(n[a]=s)}return n}),g.omit=E(function(e,t){var n,r=t[0];return g.isFunction(r)?(r=g.negate(r),t.length>1&&(n=t[1])):(t=g.map(I(t,!1,!1),String),r=function(e,n){return!g.contains(t,n)}),g.pick(e,r,n)}),g.defaults=R(g.allKeys,!0),g.create=function(e,t){var n=_(e);return t&&g.extendOwn(n,t),n},g.clone=function(e){return g.isObject(e)?g.isArray(e)?e.slice():g.extend({},e):e},g.tap=function(e,t){return t(e),e},g.isMatch=function(e,t){var n=g.keys(t),r=n.length;if(null==e)return!r;for(var i=Object(e),o=0;o<r;o++){var a=n[o];if(t[a]!==i[a]||!(a in i))return!1}return!0},H=function(e,t,n,r){if(e===t)return 0!==e||1/e==1/t;if(null==e||null==t)return!1;if(e!=e)return t!=t;var i=typeof e;return("function"===i||"object"===i||"object"==typeof t)&&$(e,t,n,r)},$=function(e,t,n,r){e instanceof g&&(e=e._wrapped),t instanceof g&&(t=t._wrapped);var i=f.call(e);if(i!==f.call(t))return!1;switch(i){case"[object RegExp]":case"[object String]":return""+e==""+t;case"[object Number]":return+e!=+e?+t!=+t:0==+e?1/+e==1/t:+e==+t;case"[object Date]":case"[object Boolean]":return+e==+t;case"[object Symbol]":return u.valueOf.call(e)===u.valueOf.call(t)}var o="[object Array]"===i;if(!o){if("object"!=typeof e||"object"!=typeof t)return!1;var a=e.constructor,s=t.constructor;if(a!==s&&!(g.isFunction(a)&&a instanceof a&&g.isFunction(s)&&s instanceof s)&&"constructor"in e&&"constructor"in t)return!1}n=n||[],r=r||[];for(var c=n.length;c--;)if(n[c]===e)return r[c]===t;if(n.push(e),r.push(t),o){if((c=e.length)!==t.length)return!1;for(;c--;)if(!H(e[c],t[c],n,r))return!1}else{var l,h=g.keys(e);if(c=h.length,g.keys(t).length!==c)return!1;for(;c--;)if(l=h[c],!g.has(t,l)||!H(e[l],t[l],n,r))return!1}return n.pop(),r.pop(),!0},g.isEqual=function(e,t){return H(e,t)},g.isEmpty=function(e){return null==e||(S(e)&&(g.isArray(e)||g.isString(e)||g.isArguments(e))?0===e.length:0===g.keys(e).length)},g.isElement=function(e){return!(!e||1!==e.nodeType)},g.isArray=d||function(e){return"[object Array]"===f.call(e)},g.isObject=function(e){var t=typeof e;return"function"===t||"object"===t&&!!e},g.each(["Arguments","Function","String","Number","Date","RegExp","Error","Symbol","Map","WeakMap","Set","WeakSet"],function(e){g["is"+e]=function(t){return f.call(t)==="[object "+e+"]"}}),g.isArguments(arguments)||(g.isArguments=function(e){return g.has(e,"callee")});var B=i.document&&i.document.childNodes;"function"!=typeof/./&&"object"!=typeof Int8Array&&"function"!=typeof B&&(g.isFunction=function(e){return"function"==typeof e||!1}),g.isFinite=function(e){return!g.isSymbol(e)&&isFinite(e)&&!isNaN(parseFloat(e))},g.isNaN=function(e){return g.isNumber(e)&&isNaN(e)},g.isBoolean=function(e){return!0===e||!1===e||"[object Boolean]"===f.call(e)},g.isNull=function(e){return null===e},g.isUndefined=function(e){return void 0===e},g.has=function(e,t){if(!g.isArray(t))return null!=e&&h.call(e,t);for(var n=t.length,r=0;r<n;r++){var i=t[r];if(null==e||!h.call(e,i))return!1;e=e[i]}return!!n},g.noConflict=function(){return i._=o,this},g.identity=function(e){return e},g.constant=function(e){return function(){return e}},g.noop=function(){},g.property=function(e){return g.isArray(e)?function(t){return T(t,e)}:C(e)},g.propertyOf=function(e){return null==e?function(){}:function(t){return g.isArray(t)?T(e,t):e[t]}},g.matcher=g.matches=function(e){return e=g.extendOwn({},e),function(t){return g.isMatch(t,e)}},g.times=function(e,t,n){var r=Array(Math.max(0,e));t=b(t,n,1);for(var i=0;i<e;i++)r[i]=t(i);return r},g.random=function(e,t){return null==t&&(t=e,e=0),e+Math.floor(Math.random()*(t-e+1))},g.now=Date.now||function(){return(new Date).getTime()};var U={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#x27;","`":"&#x60;"},W=g.invert(U),V=function(e){var t=function(t){return e[t]},n="(?:"+g.keys(e).join("|")+")",r=RegExp(n),i=RegExp(n,"g");return function(e){return e=null==e?"":""+e,r.test(e)?e.replace(i,t):e}};g.escape=V(U),g.unescape=V(W),g.result=function(e,t,n){g.isArray(t)||(t=[t]);var r=t.length;if(!r)return g.isFunction(n)?n.call(e):n;for(var i=0;i<r;i++){var o=null==e?void 0:e[t[i]];void 0===o&&(o=n,i=r),e=g.isFunction(o)?o.call(e):o}return e};var K=0;g.uniqueId=function(e){var t=++K+"";return e?e+t:t},g.templateSettings={evaluate:/<%([\s\S]+?)%>/g,interpolate:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g};var G=/(.)^/,z={"'":"'","\\":"\\","\r":"r","\n":"n","\u2028":"u2028","\u2029":"u2029"},Q=/\\|'|\r|\n|\u2028|\u2029/g,Y=function(e){return"\\"+z[e]};g.template=function(e,t,n){!t&&n&&(t=n),t=g.defaults({},t,g.templateSettings);var r,i=RegExp([(t.escape||G).source,(t.interpolate||G).source,(t.evaluate||G).source].join("|")+"|$","g"),o=0,a="__p+='";e.replace(i,function(t,n,r,i,s){return a+=e.slice(o,s).replace(Q,Y),o=s+t.length,n?a+="'+\n((__t=("+n+"))==null?'':_.escape(__t))+\n'":r?a+="'+\n((__t=("+r+"))==null?'':__t)+\n'":i&&(a+="';\n"+i+"\n__p+='"),t}),a+="';\n",t.variable||(a="with(obj||{}){\n"+a+"}\n"),a="var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};\n"+a+"return __p;\n";try{r=new Function(t.variable||"obj","_",a)}catch(e){throw e.source=a,e}var s=function(e){return r.call(this,e,g)},u=t.variable||"obj";return s.source="function("+u+"){\n"+a+"}",s},g.chain=function(e){var t=g(e);return t._chain=!0,t};var X=function(e,t){return e._chain?g(t).chain():t};g.mixin=function(e){return g.each(g.functions(e),function(t){var n=g[t]=e[t];g.prototype[t]=function(){var e=[this._wrapped];return c.apply(e,arguments),X(this,n.apply(g,e))}}),g},g.mixin(g),g.each(["pop","push","reverse","shift","sort","splice","unshift"],function(e){var t=a[e];g.prototype[e]=function(){var n=this._wrapped;return t.apply(n,arguments),"shift"!==e&&"splice"!==e||0!==n.length||delete n[0],X(this,n)}}),g.each(["concat","join","slice"],function(e){var t=a[e];g.prototype[e]=function(){return X(this,t.apply(this._wrapped,arguments))}}),g.prototype.value=function(){return this._wrapped},g.prototype.valueOf=g.prototype.toJSON=g.prototype.value,g.prototype.toString=function(){return String(this._wrapped)},void 0===(r=function(){return g}.apply(t,[]))||(n.exports=r)}()}).call(this,n(174),n(530)(e))},306:function(e,t,n){e.exports=n(1322)},308:function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},309:function(e,t,n){var r=n(297),i=n(720),o=n(643),a=Object.defineProperty;t.f=n(338)?Object.defineProperty:function(e,t,n){if(r(e),t=o(t,!0),r(n),i)try{return a(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(e[t]=n.value),e}},31:function(e,t,n){"use strict";n.r(t),function(e){var t=n(0),r=n.n(t),i=n(39),o=n.n(i),a=n(742),s=n.n(a),u=(n(1386),n(865),n(877),n(11)),c=n(38),l=n(21),f=n(190),h=n(91),d=n(7),p=(n(693),n(738)),v=n(737),m=n(721),g=(n(846),n(128)),y=n(736),b=(n(132),n(880),n(735)),w=n(722);window.jQuery=r.a,window.$=r.a,s()(),document.addEventListener("beforeunload",function(){e(document).off("scroll"),e('.has-tooltip, [data-toggle="tooltip"]').tooltip("dispose"),e('[data-toggle="popover"]').popover("dispose")}),window.addEventListener("hashchange",u.n),window.addEventListener("load",function e(){window.removeEventListener("load",e,!1),Object(u.n)()},!1),gl.lazyLoader=new g.a({scrollContainer:window,observerNode:"#content-body"}),document.addEventListener("DOMContentLoaded",function(){var t=e("body"),n=e(document),r=e(window),i=e(".js-sidebar-toggle"),a=h.a.getBreakpointSize();(Object(b.a)(),Object(m.a)(),Object(v.a)(),Object(p.a)(),Object(y.a)(),o.a.defaults.path=gon.relative_url_root||"/",t.on("click",'a[href^="#"]',function(){this.getAttribute("href").substr(1)===Object(l.a)()&&setTimeout(u.n,1)}),"xs"===a)&&e("aside.right-sidebar, .layout-page").removeClass("right-sidebar-expanded").addClass("right-sidebar-collapsed");e(".btn").click(function(t){return!e(this).hasClass("disabled")||(t.preventDefault(),t.stopImmediatePropagation(),!1)}),Object(u.a)(".js-select-on-focus"),e(".remove-row").on("ajax:success",function(){e(this).tooltip("dispose").closest("li").fadeOut()}),e(".js-remove-tr").on("ajax:before",function(){e(this).hide()}),e(".js-remove-tr").on("ajax:success",function(){e(this).closest("tr").fadeOut()}),e("select.select2").select2({width:"resolve",dropdownAutoWidth:!0}),e(".js-select2").on("select2-close",function(){setTimeout(function(){e(".select2-container-active").removeClass("select2-container-active"),e(":focus").blur()},1)}),t.tooltip({selector:'.has-tooltip, [data-toggle="tooltip"]',trigger:"hover",boundary:"viewport",placement:function(t,n){return e(n).data("placement")||"bottom"}}),t.popover({selector:'[data-toggle="popover"]',trigger:"focus",viewport:".layout-page"}),e(".trigger-submit").on("change",function(){e(this).parents("form").submit()}),Object(c.e)(e("abbr.timeago, .js-timeago"),!0),t.on("ajax:complete, ajax:beforeSend, submit","form",function(t){var n=e('[type="submit"], .js-disable-on-submit',this);switch(t.type){case"ajax:beforeSend":case"submit":return n.disable();default:return n.enable()}}),e(document).ajaxError(function(e,t){var n=t.status;401===n?Object(d.a)("You need to be logged in."):404!==n&&500!==n||Object(d.a)("Something went wrong on our end.")}),n.on("click",".diff-content .js-show-suppressed-diff",function(){var t=e(this).parent();t.next("table").show(),t.remove()}),e(".navbar-toggler").on("click",function(){e(".header-content").toggleClass("menu-expanded"),gl.lazyLoader.loadCheck()}),t.on("click",".js-toggle-diff-comments",function(t){var n=e(this),r=n.closest(".diff-file").find(".notes_holder");t.preventDefault(),n.toggleClass("active"),n.hasClass("active")?r.show().find(".hide, .content").show():r.hide().find(".content").hide(),e(document).trigger("toggle.comments")}),n.on("breakpoint:change",function(e,t){"sm"!==t&&"xs"!==t||i.find("i").hasClass("fa-angle-double-right")&&i.trigger("click")}),r.on("resize.app",function(){var e=a;(a=h.a.getBreakpointSize())!==e&&n.trigger("breakpoint:change",[a])}),Object(f.b)(),e("form.filter-form").on("submit",function(t){var n=document.createElement("a");n.href=this.action;var r=this.action+(""===n.search?"?":"&");t.preventDefault(),Object(l.g)(""+r+e(this).serialize())});var s=document.querySelector(".flash-container");s&&s.children.length&&s.querySelectorAll(".flash-alert, .flash-notice, .flash-success").forEach(function(e){Object(d.b)(e)}),Object(w.a)()})}.call(this,n(0))},33:function(e,t,n){"use strict";var r=n(0),i=n.n(r),o=n(3),a=n.n(o),s=n(5),u=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},c={groupsPath:"/api/:version/groups.json",groupPath:"/api/:version/groups/:id",namespacesPath:"/api/:version/namespaces.json",groupProjectsPath:"/api/:version/groups/:id/projects.json",projectsPath:"/api/:version/projects.json",projectPath:"/api/:version/projects/:id",projectLabelsPath:"/:namespace_path/:project_path/labels",mergeRequestPath:"/api/:version/projects/:id/merge_requests/:mrid",mergeRequestsPath:"/api/:version/merge_requests",mergeRequestChangesPath:"/api/:version/projects/:id/merge_requests/:mrid/changes",mergeRequestVersionsPath:"/api/:version/projects/:id/merge_requests/:mrid/versions",groupLabelsPath:"/groups/:namespace_path/-/labels",licensePath:"/api/:version/templates/licenses/:key",gitignorePath:"/api/:version/templates/gitignores/:key",gitlabCiYmlPath:"/api/:version/templates/gitlab_ci_ymls/:key",dockerfilePath:"/api/:version/templates/dockerfiles/:key",issuableTemplatePath:"/:namespace_path/:project_path/templates/:type/:key",usersPath:"/api/:version/users.json",commitPath:"/api/:version/projects/:id/repository/commits",commitPipelinesPath:"/:project_id/commit/:sha/pipelines",branchSinglePath:"/api/:version/projects/:id/repository/branches/:branch",createBranchPath:"/api/:version/projects/:id/repository/branches",group:function(e,t){var n=c.buildUrl(c.groupPath).replace(":id",e);return s.a.get(n).then(function(e){var n=e.data;return t(n),n})},groups:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:i.a.noop,r=c.buildUrl(c.groupsPath);return s.a.get(r,{params:Object.assign({search:e,per_page:20},t)}).then(function(e){var t=e.data;return n(t),t})},namespaces:function(e,t){var n=c.buildUrl(c.namespacesPath);return s.a.get(n,{params:{search:e,per_page:20}}).then(function(e){var n=e.data;return t(n)})},projects:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:a.a.noop,r=c.buildUrl(c.projectsPath),i={search:e,per_page:20,simple:!0};return gon.current_user_id&&(i.membership=!0),s.a.get(r,{params:Object.assign(i,t)}).then(function(e){var t=e.data;return n(t),t})},project:function(e){var t=c.buildUrl(c.projectPath).replace(":id",encodeURIComponent(e));return s.a.get(t)},mergeRequest:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=c.buildUrl(c.mergeRequestPath).replace(":id",encodeURIComponent(e)).replace(":mrid",t);return s.a.get(r,{params:n})},mergeRequests:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=c.buildUrl(c.mergeRequestsPath);return s.a.get(t,{params:e})},mergeRequestChanges:function(e,t){var n=c.buildUrl(c.mergeRequestChangesPath).replace(":id",encodeURIComponent(e)).replace(":mrid",t);return s.a.get(n)},mergeRequestVersions:function(e,t){var n=c.buildUrl(c.mergeRequestVersionsPath).replace(":id",encodeURIComponent(e)).replace(":mrid",t);return s.a.get(n)},newLabel:function(e,t,n,r){var i=void 0;return i=t?c.buildUrl(c.projectLabelsPath).replace(":namespace_path",e).replace(":project_path",t):c.buildUrl(c.groupLabelsPath).replace(":namespace_path",e),s.a.post(i,{label:n}).then(function(e){return r(e.data)}).catch(function(e){return r(e.response.data)})},groupProjects:function(e,t,n,r){var i=c.buildUrl(c.groupProjectsPath).replace(":id",e),o={search:t,per_page:20};return s.a.get(i,{params:Object.assign({},o,n)}).then(function(e){var t=e.data;return r(t)})},commitMultiple:function(e,t){var n=c.buildUrl(c.commitPath).replace(":id",encodeURIComponent(e));return s.a.post(n,JSON.stringify(t),{headers:{"Content-Type":"application/json; charset=utf-8"}})},commitPipelines:function(e,t){var n=e.split("/").map(function(e){return encodeURIComponent(e)}).join("/"),r=c.buildUrl(c.commitPipelinesPath).replace(":project_id",n).replace(":sha",encodeURIComponent(t));return s.a.get(r)},branchSingle:function(e,t){var n=c.buildUrl(c.branchSinglePath).replace(":id",encodeURIComponent(e)).replace(":branch",encodeURIComponent(t));return s.a.get(n)},licenseText:function(e,t,n){var r=c.buildUrl(c.licensePath).replace(":key",e);return s.a.get(r,{params:t}).then(function(e){return n(e.data)})},gitignoreText:function(e,t){var n=c.buildUrl(c.gitignorePath).replace(":key",e);return s.a.get(n).then(function(e){var n=e.data;return t(n)})},gitlabCiYml:function(e,t){var n=c.buildUrl(c.gitlabCiYmlPath).replace(":key",e);return s.a.get(n).then(function(e){var n=e.data;return t(n)})},dockerfileYml:function(e,t){var n=c.buildUrl(c.dockerfilePath).replace(":key",e);return s.a.get(n).then(function(e){var n=e.data;return t(n)})},issueTemplate:function(e,t,n,r,i){var o=c.buildUrl(c.issuableTemplatePath).replace(":key",encodeURIComponent(n)).replace(":type",r).replace(":project_path",t).replace(":namespace_path",e);return s.a.get(o).then(function(e){var t=e.data;return i(null,t)}).catch(i)},users:function(e,t){var n=c.buildUrl(this.usersPath);return s.a.get(n,{params:Object.assign({search:e,per_page:20},t)})},branches:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=c.buildUrl(this.createBranchPath).replace(":id",encodeURIComponent(e));return s.a.get(r,{params:u({search:t,per_page:20},n)})},createBranch:function(e,t){var n=t.ref,r=t.branch,i=c.buildUrl(this.createBranchPath).replace(":id",encodeURIComponent(e));return s.a.post(i,{ref:n,branch:r})},buildUrl:function(e){var t="";return null!=gon.relative_url_root&&(t=gon.relative_url_root),t+e.replace(":version",gon.api_version)}};t.a=c},330:function(e,t){var n,r;n="undefined"!=typeof window?window:this,r=function(){function e(e){return e instanceof Date?e:isNaN(e)?/^\d+$/.test(e)?new Date(t(e)):(e=(e||"").trim().replace(/\.\d+/,"").replace(/-/,"/").replace(/-/,"/").replace(/(\d)T(\d)/,"$1 $2").replace(/Z/," UTC").replace(/([\+\-]\d\d)\:?(\d\d)/," $1$2"),new Date(e)):new Date(t(e))}function t(e){return parseInt(e)}function n(e,n,r){n=l[n]?n:l[r]?r:"en";for(var i=0,o=e<0?1:0,a=e=Math.abs(e);e>=f[i]&&i<h;i++)e/=f[i];return(e=t(e))>(0===(i*=2)?9:1)&&(i+=1),l[n](e,i,a)[o].replace("%s",e)}function r(t,n){return((n=n?e(n):new Date)-e(t))/1e3}function i(e){return o(e,"data-timeago")||o(e,"datetime")}function o(e,t){return e.getAttribute?e.getAttribute(t):e.attr?e.attr(t):void 0}function a(e,t){this.nowDate=e,this.defaultLocale=t||"en"}function s(e,t){return new a(e,t)}var u="second_minute_hour_day_week_month_year".split("_"),c="秒_分钟_小时_天_周_月_年".split("_"),l={en:function(e,t){if(0===t)return["just now","right now"];var n=u[parseInt(t/2)];return e>1&&(n+="s"),[e+" "+n+" ago","in "+e+" "+n]},zh_CN:function(e,t){if(0===t)return["刚刚","片刻后"];var n=c[parseInt(t/2)];return[e+n+"前",e+n+"后"]}},f=[60,60,24,7,365/7/12,12],h=6,d="data-tid",p={};return a.prototype.doRender=function(e,t,i){var o,a=r(t,this.nowDate),s=this;e.innerHTML=n(a,i,this.defaultLocale),p[o=setTimeout(function(){s.doRender(e,t,i),delete p[o]},Math.min(1e3*function(e){for(var t=1,n=0,r=Math.abs(e);e>=f[n]&&n<h;n++)e/=f[n],t*=f[n];return r=(r%=t)?t-r:t,Math.ceil(r)}(a),2147483647))]=0,function(e,t){e.setAttribute?e.setAttribute(d,t):e.attr&&e.attr(d,t)}(e,o)},a.prototype.format=function(e,t){return n(r(e,this.nowDate),t,this.defaultLocale)},a.prototype.render=function(e,t){void 0===e.length&&(e=[e]);for(var n=0,r=e.length;n<r;n++)this.doRender(e[n],i(e[n]),t)},a.prototype.setLocale=function(e){this.defaultLocale=e},s.register=function(e,t){l[e]=t},s.cancel=function(e){var t;if(e)(t=o(e,d))&&(clearTimeout(t),delete p[t]);else{for(t in p)clearTimeout(t);p={}}},s},"object"==typeof e&&e.exports?(e.exports=r(),e.exports.default=e.exports):n.timeago=r()},336:function(e,t,n){var r=n(501);e.exports=function(e,t,n){if(r(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,i){return e.call(t,n,r,i)}}return function(){return e.apply(t,arguments)}}},337:function(e,t,n){var r=n(216),i=n(363),o=n(308),a=n(432)("src"),s=Function.toString,u=(""+s).split("toString");n(175).inspectSource=function(e){return s.call(e)},(e.exports=function(e,t,n,s){var c="function"==typeof n;c&&(o(n,"name")||i(n,"name",t)),e[t]!==n&&(c&&(o(n,a)||i(n,a,e[t]?""+e[t]:u.join(String(t)))),e===r?e[t]=n:s?e[t]?e[t]=n:i(e,t,n):(delete e[t],i(e,t,n)))})(Function.prototype,"toString",function(){return"function"==typeof this&&this[a]||s.call(this)})},338:function(e,t,n){e.exports=!n(362)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},357:function(e,t,n){"use strict";n.d(t,"a",function(){return f}),n.d(t,"b",function(){return h});var r=n(0),i=n.n(r),o=n(3),a=n.n(o),s=n(11),u=n(128),c=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();var l={InlineDiffFilter:{"span.idiff.addition":function(e,t){return"{+"+t+"+}"},"span.idiff.deletion":function(e,t){return"{-"+t+"-}"}},TaskListFilter:{"input[type=checkbox].task-list-item-checkbox":function(e){return"["+(e.checked?"x":" ")+"]"}},ReferenceFilter:{".tooltip":function(e){return""},"a.gfm:not([data-link=true])":function(e,t){return e.dataset.original||t}},AutolinkFilter:{a:function(e,t){return t===e.getAttribute("href")&&t}},TableOfContentsFilter:{"ul.section-nav":function(e){return"[[_TOC_]]"}},EmojiFilter:{"img.emoji":function(e){return e.getAttribute("alt")},"gl-emoji":function(e){return":"+e.getAttribute("data-name")+":"}},ImageLinkFilter:{"a.no-attachment-icon":function(e,t){return t}},ImageLazyLoadFilter:{img:function(e,t){return"!["+e.getAttribute("alt")+"]("+e.getAttribute("src")+")"}},VideoLinkFilter:{".video-container":function(e){var t=e.querySelector("video");return!!t&&f.nodeToGFM(t)},video:function(e){return"!["+e.dataset.title+"]("+e.getAttribute("src")+")"}},MermaidFilter:{"svg.mermaid":function(e,t){var n=e.querySelector("text.source");return!!n&&"```mermaid\n"+f.nodeToGFM(n)+"\n```"},"svg.mermaid style, svg.mermaid g":function(e,t){return""}},MathFilter:{"pre.code.math[data-math-style=display]":function(e,t){return"```math\n"+t.trim()+"\n```"},"code.code.math[data-math-style=inline]":function(e,t){return"$`"+t+"`$"},"span.katex-display span.katex-mathml":function(e){var t=e.querySelector('annotation[encoding="application/x-tex"]');return!!t&&"```math\n"+f.nodeToGFM(t)+"\n```"},"span.katex-mathml":function(e){var t=e.querySelector('annotation[encoding="application/x-tex"]');return!!t&&"$`"+f.nodeToGFM(t)+"`$"},"span.katex-html":function(e){return""},'annotation[encoding="application/x-tex"]':function(e,t){return t.trim()}},SanitizationFilter:{"a[name]:not([href]):empty":function(e){return e.outerHTML},dl:function(e,t){var n=t.replace(/\n\n/g,"\n").trim().split("\n");return"<dl>\n"+(n=n.map(function(e){var t=e.trim();return 0===t.length?"":"  "+t})).join("\n")+"\n</dl>\n"},"dt, dd, summary, details":function(e,t){var n=e.nodeName.toLowerCase();return"<"+n+">"+t+"</"+n+">\n"},"sup, sub, kbd, q, samp, var, ruby, rt, rp, abbr":function(e,t){var n=e.nodeName.toLowerCase();return"<"+n+">"+t+"</"+n+">"}},SyntaxHighlightFilter:{"pre.code.highlight":function(e,t){var n=t.trimRight(),r=e.getAttribute("lang");return r&&"plaintext"!==r||(r=""),""===r&&n.match(/^```/gm)?n.split("\n").map(function(e){var t=e.trim();return 0===t.length?"":"    "+t}).join("\n"):"```"+r+"\n"+n+"\n```"},"pre > code":function(e,t){return t}},MarkdownFilter:{br:function(e){return"  "},code:function(e,t){var n=1,r=t.match(/`+/);r&&(n=r[0].length+1);var i=Array(n+1).join("`"),o=n>1?" ":"";return i+o+t.trim()+o+i},blockquote:function(e,t){return t.trim().split("\n").map(function(e){return("> "+e).trim()}).join("\n")},img:function(e){var t=e.src,n=t&&t!==u.b?t:e.dataset.src||"";return"!["+e.getAttribute("alt")+"]("+n+")"},"a.anchor":function(e,t){return t},a:function(e,t){return"["+t+"]("+e.getAttribute("href")+")"},li:function(e,t){var n=t.trim().split("\n");return"- "+n.shift()+"\n"+n.map(function(e){return 0===e.trim().length?"":"    "+e}).join("\n")},ul:function(e,t){return t},ol:function(e,t){return t.replace(/^- /gm,"1. ")},h1:function(e,t){return"# "+t.trim()+"\n"},h2:function(e,t){return"## "+t.trim()+"\n"},h3:function(e,t){return"### "+t.trim()+"\n"},h4:function(e,t){return"#### "+t.trim()+"\n"},h5:function(e,t){return"##### "+t.trim()+"\n"},h6:function(e,t){return"###### "+t.trim()+"\n"},strong:function(e,t){return"**"+t+"**"},em:function(e,t){return"_"+t+"_"},del:function(e,t){return"~~"+t+"~~"},hr:function(e){return"\n-----\n"},p:function(e,t){return t.trim()+"\n"},table:function(e){var t=e.querySelector("thead"),n=e.querySelector("tbody");return!(!t||!n)&&[f.nodeToGFM(t),f.nodeToGFM(n)].join("\n")},thead:function(e,t){return[t,"|"+a.a.map(e.querySelectorAll("th"),function(e){var t=f.nodeToGFM(e).length+2,n="",r="";switch(e.align||e.style.textAlign){case"center":n=":",r=":",t-=2;break;case"right":r=":",t-=1}return t=Math.max(t,3),n+Array(t+1).join("-")+r}).join("|")+"|"].join("\n")},tr:function(e){var t=e.querySelectorAll("td, th");return 0!==t.length&&"| "+a.a.map(t,function(e){return f.nodeToGFM(e)}).join(" | ")+" |"}}},f=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e);var t="undefined"!=typeof navigator&&navigator.userAgent||"";/\b(iPad|iPhone|iPod)(?=;)/.test(t)||(i()(document).on("copy",".md, .wiki",function(t){e.copyAsGFM(t,e.transformGFMSelection)}),i()(document).on("copy","pre.code.highlight, .diff-content .line_content",function(t){e.copyAsGFM(t,e.transformCodeSelection)}),i()(document).on("paste",".js-gfm-input",e.pasteGFM))}return c(e,null,[{key:"copyAsGFM",value:function(e,t){var n=e.originalEvent.clipboardData;if(n){var r=Object(s.l)();if(r){var i=t(r.cloneNode(!0),e.currentTarget);i&&(e.preventDefault(),e.stopPropagation(),n.setData("text/plain",i.textContent),n.setData("text/x-gfm",this.nodeToGFM(i)))}}}},{key:"pasteGFM",value:function(e){var t=e.originalEvent.clipboardData;if(t){var n=t.getData("text/plain"),r=t.getData("text/x-gfm");r&&(e.preventDefault(),window.gl.utils.insertText(e.target,function(e,t){var i=e.match(/`/g);return i&&i.length%2==1?n:r}))}}},{key:"transformGFMSelection",value:function(e){var t=e.querySelectorAll(".md, .wiki");switch(t.length){case 0:return e;case 1:return t[0];default:for(var n=document.createElement("div"),r=0;r<t.length;r+=1){var i=t[r];n.appendChild(i),n.appendChild(document.createTextNode("\n\n"))}return n}}},{key:"transformCodeSelection",value:function(e,t){var n=".line";if(t){var r=["left-side","right-side"].filter(function(e){return t.classList.contains(e)})[0];r&&(n=".line_content."+r+" "+n)}var i=e.querySelectorAll(n),o=void 0;if(i.length>1){(o=document.createElement("pre")).className="code highlight";var a=i[0].getAttribute("lang");a&&o.setAttribute("lang",a)}else o=document.createElement("code");if(i.length>0)for(var s=0;s<i.length;s+=1){var u=i[s];o.appendChild(u),o.appendChild(document.createTextNode("\n"))}else o.appendChild(e);return o}},{key:"nodeToGFM",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(e.nodeType===Node.COMMENT_NODE)return"";if(e.nodeType===Node.TEXT_NODE)return e.textContent;var n=t||"PRE"===e.nodeName||"CODE"===e.nodeName,r=this.innerGFM(e,n);if(e.nodeType===Node.DOCUMENT_FRAGMENT_NODE)return r;for(var i in l){var o=l[i];for(var a in o){var u=o[a];if(Object(s.y)(e,a)){var c=void 0;if(2===u.length){if(0===r.length)continue;c=u(e,r)}else c=u(e);if(!1!==c)return c}}}return r}},{key:"innerGFM",value:function(e){for(var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=e.childNodes,r=e.cloneNode(!0),i=Array.prototype.slice.call(r.childNodes,0),o=0;o<n.length;o+=1){var a=n[o],s=i[o],u=this.nodeToGFM(a,t);s.parentNode.replaceChild(document.createTextNode(u),s)}var c=r.innerText||r.textContent;return t||(c=c.trim()),c}}]),e}();function h(){return new f}},362:function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},363:function(e,t,n){var r=n(309),i=n(433);e.exports=n(338)?function(e,t,n){return r.f(e,t,i(1,n))}:function(e,t,n){return e[t]=n,e}},38:function(e,t,n){"use strict";n.d(t,"c",function(){return h}),n.d(t,"a",function(){return d}),n.d(t,"d",function(){return m}),n.d(t,"e",function(){return g}),n.d(t,"f",function(){return y}),n.d(t,"b",function(){return b}),n.d(t,"g",function(){return w});var r=n(0),i=n.n(r),o=n(330),a=n.n(o),s=n(111),u=n.n(s),c=n(45),l=n(1),f=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};window.timeago=a.a;var h=function(e){return["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"][e.getDay()]},d=function(e){return u()(e,"mmm d, yyyy h:MMtt Z")},p=Object(l.c)().replace(/-/g,"_"),v=void 0;function m(){if(!v){a.a.register(p,function(e,t){return[[Object(l.e)("Timeago|just now"),Object(l.e)("Timeago|right now")],[Object(l.e)("Timeago|%s seconds ago"),Object(l.e)("Timeago|in %s seconds")],[Object(l.e)("Timeago|1 minute ago"),Object(l.e)("Timeago|in 1 minute")],[Object(l.e)("Timeago|%s minutes ago"),Object(l.e)("Timeago|in %s minutes")],[Object(l.e)("Timeago|1 hour ago"),Object(l.e)("Timeago|in 1 hour")],[Object(l.e)("Timeago|%s hours ago"),Object(l.e)("Timeago|in %s hours")],[Object(l.e)("Timeago|1 day ago"),Object(l.e)("Timeago|in 1 day")],[Object(l.e)("Timeago|%s days ago"),Object(l.e)("Timeago|in %s days")],[Object(l.e)("Timeago|1 week ago"),Object(l.e)("Timeago|in 1 week")],[Object(l.e)("Timeago|%s weeks ago"),Object(l.e)("Timeago|in %s weeks")],[Object(l.e)("Timeago|1 month ago"),Object(l.e)("Timeago|in 1 month")],[Object(l.e)("Timeago|%s months ago"),Object(l.e)("Timeago|in %s months")],[Object(l.e)("Timeago|1 year ago"),Object(l.e)("Timeago|in 1 year")],[Object(l.e)("Timeago|%s years ago"),Object(l.e)("Timeago|in %s years")]][t]}),a.a.register(p+"-remaining",function(e,t){return[[Object(l.e)("Timeago|just now"),Object(l.e)("Timeago|right now")],[Object(l.e)("Timeago|%s seconds ago"),Object(l.e)("Timeago|%s seconds remaining")],[Object(l.e)("Timeago|1 minute ago"),Object(l.e)("Timeago|1 minute remaining")],[Object(l.e)("Timeago|%s minutes ago"),Object(l.e)("Timeago|%s minutes remaining")],[Object(l.e)("Timeago|1 hour ago"),Object(l.e)("Timeago|1 hour remaining")],[Object(l.e)("Timeago|%s hours ago"),Object(l.e)("Timeago|%s hours remaining")],[Object(l.e)("Timeago|1 day ago"),Object(l.e)("Timeago|1 day remaining")],[Object(l.e)("Timeago|%s days ago"),Object(l.e)("Timeago|%s days remaining")],[Object(l.e)("Timeago|1 week ago"),Object(l.e)("Timeago|1 week remaining")],[Object(l.e)("Timeago|%s weeks ago"),Object(l.e)("Timeago|%s weeks remaining")],[Object(l.e)("Timeago|1 month ago"),Object(l.e)("Timeago|1 month remaining")],[Object(l.e)("Timeago|%s months ago"),Object(l.e)("Timeago|%s months remaining")],[Object(l.e)("Timeago|1 year ago"),Object(l.e)("Timeago|1 year remaining")],[Object(l.e)("Timeago|%s years ago"),Object(l.e)("Timeago|%s years remaining")]][t]}),v=a()()}return v}var g=function(e){var t,n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];e.each(function(e,t){n&&i()(t).tooltip({template:'<div class="tooltip local-timeago" role="tooltip"><div class="arrow"></div><div class="tooltip-inner"></div></div>'}),t.classList.add("js-timeago-render")}),t=e||document.querySelectorAll(".js-timeago-render"),m().render(t,p)},y=function(e,t){return e?new Date(e)<new Date?t||Object(l.e)("Timeago|Past due"):m().format(e,p+"-remaining").trim():""},b=function(e,t){var n=Date.UTC(e.getFullYear(),e.getMonth(),e.getDate()),r=Date.UTC(t.getFullYear(),t.getMonth(),t.getDate());return Math.floor((r-n)/864e5)};function w(e){var t=parseInt(e,10),n=Math.floor(t/60),r=t-60*n;return n>=1?n+" "+Object(c.i)("minute",n)+" "+r+" "+Object(c.i)("second",r):r+" "+Object(c.i)("second",r)}window.gl=window.gl||{},window.gl.utils=f({},window.gl.utils||{},{getTimeago:m,localTimeAgo:g})},389:function(e,t,n){"use strict";var r=n(8),i=n(235),o=n(66);r.default.use(i.a),r.default.http.interceptors.push(function(e,t){window.activeVueResources=window.activeVueResources||0,window.activeVueResources+=1,t(function(){window.activeVueResources-=1})}),r.default.http.interceptors.push(function(e,t){e.headers.set(o.a.headerKey,o.a.token),t(function(e){var t={};e.headers.forEach(function(e,n){t[n]=e}),e.headers=t})})},39:function(e,t,n){var r,i;
  /*!
   * JavaScript Cookie v2.1.3
   * https://github.com/js-cookie/js-cookie
   *
   * Copyright 2006, 2015 Klaus Hartl & Fagner Brack
   * Released under the MIT license
   */!function(o){if(void 0===(i="function"==typeof(r=o)?r.call(t,n,t,e):r)||(e.exports=i),!0,e.exports=o(),!!0){var a=window.Cookies,s=window.Cookies=o();s.noConflict=function(){return window.Cookies=a,s}}}(function(){function e(){for(var e=0,t={};e<arguments.length;e++){var n=arguments[e];for(var r in n)t[r]=n[r]}return t}return function t(n){function r(t,i,o){var a;if("undefined"!=typeof document){if(arguments.length>1){if("number"==typeof(o=e({path:"/"},r.defaults,o)).expires){var s=new Date;s.setMilliseconds(s.getMilliseconds()+864e5*o.expires),o.expires=s}try{a=JSON.stringify(i),/^[\{\[]/.test(a)&&(i=a)}catch(e){}return i=n.write?n.write(i,t):encodeURIComponent(String(i)).replace(/%(23|24|26|2B|3A|3C|3E|3D|2F|3F|40|5B|5D|5E|60|7B|7D|7C)/g,decodeURIComponent),t=(t=(t=encodeURIComponent(String(t))).replace(/%(23|24|26|2B|5E|60|7C)/g,decodeURIComponent)).replace(/[\(\)]/g,escape),document.cookie=[t,"=",i,o.expires?"; expires="+o.expires.toUTCString():"",o.path?"; path="+o.path:"",o.domain?"; domain="+o.domain:"",o.secure?"; secure":""].join("")}t||(a={});for(var u=document.cookie?document.cookie.split("; "):[],c=/(%[0-9A-Z]{2})+/g,l=0;l<u.length;l++){var f=u[l].split("="),h=f.slice(1).join("=");'"'===h.charAt(0)&&(h=h.slice(1,-1));try{var d=f[0].replace(c,decodeURIComponent);if(h=n.read?n.read(h,d):n(h,d)||h.replace(c,decodeURIComponent),this.json)try{h=JSON.parse(h)}catch(e){}if(t===d){a=h;break}t||(a[d]=h)}catch(e){}}return a}}return r.set=r,r.get=function(e){return r.call(r,e)},r.getJSON=function(){return r.apply({json:!0},[].slice.call(arguments))},r.defaults={},r.remove=function(t,n){r(t,"",e(n,{expires:-1}))},r.withConverter=t,r}(function(){})})},390:function(e,t,n){var r,i;r=[n(0)],void 0===(i=function(e){return function(e){var t,n,r;n={DOWN:40,UP:38,ESC:27,TAB:9,ENTER:13,CTRL:17,A:65,P:80,N:78,LEFT:37,UP:38,RIGHT:39,DOWN:40,BACKSPACE:8,SPACE:32},t={beforeSave:function(e){return i.arrayToDefaultHash(e)},matcher:function(e,t,n,r){var i,o,a,s;return e=e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&"),n&&(e="(?:^|\\s)"+e),i=decodeURI("%C3%80"),o=decodeURI("%C3%BF"),s=new RegExp(e+"([A-Za-z"+i+"-"+o+"0-9_"+(r?" ":"")+"'.+-]*)$|"+e+"([^\\x00-\\xff]*)$","gi"),(a=s.exec(t))?a[2]||a[1]:null},filter:function(e,t,n){var r,i,o,a;for(r=[],i=0,a=t.length;i<a;i++)o=t[i],~new String(o[n]).toLowerCase().indexOf(e.toLowerCase())&&r.push(o);return r},remoteFilter:null,sorter:function(e,t,n){var r,i,o,a;if(!e)return t;for(r=[],i=0,a=t.length;i<a;i++)(o=t[i]).atwho_order=new String(o[n]).toLowerCase().indexOf(e.toLowerCase()),o.atwho_order>-1&&r.push(o);return r.sort(function(e,t){return e.atwho_order-t.atwho_order})},tplEval:function(e,t){var n;n=e;try{return"string"!=typeof e&&(n=e(t)),n.replace(/\$\{([^\}]*)\}/g,function(e,n,r){return t[n]})}catch(e){return""}},highlighter:function(e,t){var n;return t?(n=new RegExp(">\\s*(\\w*?)("+t.replace("+","\\+")+")(\\w*)\\s*<","ig"),e.replace(n,function(e,t,n,r){return"> "+t+"<strong>"+n+"</strong>"+r+" <"})):e},beforeInsert:function(e,t,n){return e},beforeReposition:function(e){return e},afterMatchFailed:function(e,t){}},r=function(){function t(t){this.currentFlag=null,this.controllers={},this.aliasMaps={},this.$inputor=e(t),this.setupRootElement(),this.listen()}return t.prototype.createContainer=function(t){var n;return null!=(n=this.$el)&&n.remove(),e(t.body).append(this.$el=e("<div class='atwho-container'></div>"))},t.prototype.setupRootElement=function(t,n){var r,i;if(null==n&&(n=!1),t)this.window=t.contentWindow,this.document=t.contentDocument||this.window.document,this.iframe=t;else{this.document=this.$inputor[0].ownerDocument,this.window=this.document.defaultView||this.document.parentWindow;try{this.iframe=this.window.frameElement}catch(i){if(r=i,this.iframe=null,e.fn.atwho.debug)throw new Error("iframe auto-discovery is failed.\nPlease use `setIframe` to set the target iframe manually.\n"+r)}}return this.createContainer((this.iframeAsRoot=n)?this.document:document)},t.prototype.controller=function(e){var t,n,r,i;if(this.aliasMaps[e])n=this.controllers[this.aliasMaps[e]];else for(r in i=this.controllers)if(t=i[r],r===e){n=t;break}return n||this.controllers[this.currentFlag]},t.prototype.setContextFor=function(e){return this.currentFlag=e,this},t.prototype.reg=function(e,t){var n,r;return r=(n=this.controllers)[e]||(n[e]=this.$inputor.is("[contentEditable]")?new c(this,e):new a(this,e)),t.alias&&(this.aliasMaps[t.alias]=e),r.init(t),this},t.prototype.listen=function(){return this.$inputor.on("compositionstart",(e=this,function(t){var n;return null!=(n=e.controller())&&n.view.hide(),e.isComposing=!0,null})).on("compositionend",function(e){return function(t){return e.isComposing=!1,setTimeout(function(t){return e.dispatch(t)}),null}}(this)).on("keyup.atwhoInner",function(e){return function(t){return e.onKeyup(t)}}(this)).on("keydown.atwhoInner",function(e){return function(t){return e.onKeydown(t)}}(this)).on("blur.atwhoInner",function(e){return function(t){var n;if(n=e.controller())return n.expectedQueryCBId=null,n.view.hide(t,n.getOpt("displayTimeout"))}}(this)).on("click.atwhoInner",function(e){return function(t){return e.dispatch(t)}}(this)).on("scroll.atwhoInner",function(e){return function(){var t;return t=e.$inputor.scrollTop(),function(n){var r,i;return r=n.target.scrollTop,t!==r&&null!=(i=e.controller())&&i.view.hide(n),t=r,!0}}}(this)());var e},t.prototype.shutdown=function(){var e,t;for(e in t=this.controllers)t[e].destroy(),delete this.controllers[e];return this.$inputor.off(".atwhoInner"),this.$el.remove()},t.prototype.dispatch=function(e){var t,n,r,i;for(t in r=this.controllers,i=[],r)n=r[t],i.push(n.lookUp(e));return i},t.prototype.onKeyup=function(t){var r;switch(t.keyCode){case n.ESC:t.preventDefault(),null!=(r=this.controller())&&r.view.hide();break;case n.DOWN:case n.UP:case n.CTRL:case n.ENTER:e.noop();break;case n.P:case n.N:t.ctrlKey||this.dispatch(t);break;default:this.dispatch(t)}},t.prototype.onKeydown=function(t){var r,i;if((i=null!=(r=this.controller())?r.view:void 0)&&i.visible())switch(t.keyCode){case n.ESC:t.preventDefault(),i.hide(t);break;case n.UP:t.preventDefault(),i.prev();break;case n.DOWN:t.preventDefault(),i.next();break;case n.P:if(!t.ctrlKey)return;t.preventDefault(),i.prev();break;case n.N:if(!t.ctrlKey)return;t.preventDefault(),i.next();break;case n.TAB:case n.ENTER:case n.SPACE:if(!i.visible())return;if(!this.controller().getOpt("spaceSelectsMatch")&&t.keyCode===n.SPACE)return;if(!this.controller().getOpt("tabSelectsMatch")&&t.keyCode===n.TAB)return;i.highlighted()?(t.preventDefault(),i.choose(t)):i.hide(t);break;default:e.noop()}},t}();var i,o=[].slice;i=function(){function n(t,n){this.app=t,this.at=n,this.$inputor=this.app.$inputor,this.id=this.$inputor[0].id||this.uid(),this.expectedQueryCBId=null,this.setting=null,this.query=null,this.pos=0,this.range=null,0===(this.$el=e("#atwho-ground-"+this.id,this.app.$el)).length&&this.app.$el.append(this.$el=e("<div id='atwho-ground-"+this.id+"'></div>")),this.model=new l(this),this.view=new f(this)}return n.prototype.uid=function(){return(Math.random().toString(16)+"000000000").substr(2,8)+(new Date).getTime()},n.prototype.init=function(t){return this.setting=e.extend({},this.setting||e.fn.atwho.default,t),this.view.init(),this.model.reload(this.setting.data)},n.prototype.destroy=function(){return this.trigger("beforeDestroy"),this.model.destroy(),this.view.destroy(),this.$el.remove()},n.prototype.callDefault=function(){var n,r,i,a;a=arguments[0],n=2<=arguments.length?o.call(arguments,1):[];try{return t[a].apply(this,n)}catch(i){return r=i,e.error(r+" Or maybe At.js doesn't have function "+a)}},n.prototype.trigger=function(e,t){var n,r;return null==t&&(t=[]),t.push(this),n=this.getOpt("alias"),r=n?e+"-"+n+".atwho":e+".atwho",this.$inputor.trigger(r,t)},n.prototype.callbacks=function(e){return this.getOpt("callbacks")[e]||t[e]},n.prototype.getOpt=function(e,t){try{return this.setting[e]}catch(e){return null}},n.prototype.insertContentFor=function(t){var n,r;return r=this.getOpt("insertTpl"),n=e.extend({},t.data("itemData"),{"atwho-at":this.at}),this.callbacks("tplEval").call(this,r,n,"onInsert")},n.prototype.renderView=function(e){var t;return t=this.getOpt("searchKey"),e=this.callbacks("sorter").call(this,this.query.text,e.slice(0,1001),t),this.view.render(e.slice(0,this.getOpt("limit")))},n.arrayToDefaultHash=function(t){var n,r,i,o;if(!e.isArray(t))return t;for(o=[],n=0,i=t.length;n<i;n++)r=t[n],e.isPlainObject(r)?o.push(r):o.push({name:r});return o},n.prototype.lookUp=function(e){var t,n;if((!e||"click"!==e.type||this.getOpt("lookUpOnClick"))&&(!this.getOpt("suspendOnComposing")||!this.app.isComposing))return(t=this.catchQuery(e))?(this.app.setContextFor(this.at),(n=this.getOpt("delay"))?this._delayLookUp(t,n):this._lookUp(t),t):(this.expectedQueryCBId=null,t)},n.prototype._delayLookUp=function(e,t){var n,r,i;return n=Date.now?Date.now():(new Date).getTime(),this.previousCallTime||(this.previousCallTime=n),0<(r=t-(n-this.previousCallTime))&&r<t?(this.previousCallTime=n,this._stopDelayedCall(),this.delayedCallTimeout=setTimeout((i=this,function(){return i.previousCallTime=0,i.delayedCallTimeout=null,i._lookUp(e)}),t)):(this._stopDelayedCall(),this.previousCallTime!==n&&(this.previousCallTime=0),this._lookUp(e))},n.prototype._stopDelayedCall=function(){if(this.delayedCallTimeout)return clearTimeout(this.delayedCallTimeout),this.delayedCallTimeout=null},n.prototype._generateQueryCBId=function(){return{}},n.prototype._lookUp=function(t){var n;return n=function(e,t){if(e===this.expectedQueryCBId)return t&&t.length>0?this.renderView(this.constructor.arrayToDefaultHash(t)):this.view.hide()},this.expectedQueryCBId=this._generateQueryCBId(),this.model.query(t.text,e.proxy(n,this,this.expectedQueryCBId))},n}();var a,s=function(e,t){for(var n in t)u.call(t,n)&&(e[n]=t[n]);function r(){this.constructor=e}return r.prototype=t.prototype,e.prototype=new r,e.__super__=t.prototype,e},u={}.hasOwnProperty;a=function(t){function n(){return n.__super__.constructor.apply(this,arguments)}return s(n,t),n.prototype.catchQuery=function(){var e,t,n,r,i,o,a;if(t=this.$inputor.val(),e=this.$inputor.caret("pos",{iframe:this.app.iframe}),a=t.slice(0,e),i=this.callbacks("matcher").call(this,this.at,a,this.getOpt("startWithSpace"),this.getOpt("acceptSpaceBar")),!((r="string"==typeof i)&&i.length<this.getOpt("minLen",0)))return r&&i.length<=this.getOpt("maxLen",20)?(o=e-i.length,n=o+i.length,this.pos=o,i={text:i,headPos:o,endPos:n},this.trigger("matched",[this.at,i.text])):(i=null,this.view.hide()),this.query=i},n.prototype.rect=function(){var t,n,r;if(t=this.$inputor.caret("offset",this.pos-1,{iframe:this.app.iframe}))return this.app.iframe&&!this.app.iframeAsRoot&&(n=e(this.app.iframe).offset(),t.left+=n.left,t.top+=n.top),r=this.app.document.selection?0:2,{left:t.left,top:t.top,bottom:t.top+t.height+r}},n.prototype.insert=function(e,t){var n,r,i,o,a;return n=this.$inputor,r=n.val(),i=r.slice(0,Math.max(this.query.headPos-this.at.length,0)),o=""===(o=this.getOpt("suffix"))?o:o||" ",a=""+i+(e+=o)+r.slice(this.query.endPos||0),n.val(a),n.caret("pos",i.length+e.length,{iframe:this.app.iframe}),n.is(":focus")||n.focus(),n.change()},n}(i);var c,l,f,h,s=function(e,t){for(var n in t)u.call(t,n)&&(e[n]=t[n]);function r(){this.constructor=e}return r.prototype=t.prototype,e.prototype=new r,e.__super__=t.prototype,e},u={}.hasOwnProperty;c=function(t){function r(){return r.__super__.constructor.apply(this,arguments)}return s(r,t),r.prototype._getRange=function(){var e;if((e=this.app.window.getSelection()).rangeCount>0)return e.getRangeAt(0)},r.prototype._setRange=function(t,n,r){if(null==r&&(r=this._getRange()),r)return n=e(n)[0],"after"===t?(r.setEndAfter(n),r.setStartAfter(n)):(r.setEndBefore(n),r.setStartBefore(n)),r.collapse(!1),this._clearRange(r)},r.prototype._clearRange=function(e){var t;if(null==e&&(e=this._getRange()),t=this.app.window.getSelection(),null==this.ctrl_a_pressed)return t.removeAllRanges(),t.addRange(e)},r.prototype._movingEvent=function(e){var t;return"click"===e.type||(t=e.which)===n.RIGHT||t===n.LEFT||t===n.UP||t===n.DOWN},r.prototype._unwrap=function(t){var n;return t=e(t).unwrap().get(0),(n=t.nextSibling)&&n.nodeValue&&(t.nodeValue+=n.nodeValue,e(n).remove()),t},r.prototype.catchQuery=function(t){var r,i,o,a,s,u,c,l,f,h,d,p;if((p=this._getRange())&&p.collapsed){if(t.which===n.ENTER)return(i=e(p.startContainer).closest(".atwho-query")).contents().unwrap(),i.is(":empty")&&i.remove(),(i=e(".atwho-query",this.app.document)).text(i.text()).contents().last().unwrap(),void this._clearRange();if(/firefox/i.test(navigator.userAgent)){if(e(p.startContainer).is(this.$inputor))return void this._clearRange();t.which===n.BACKSPACE&&p.startContainer.nodeType===document.ELEMENT_NODE&&(f=p.startOffset-1)>=0?((o=p.cloneRange()).setStart(p.startContainer,f),e(o.cloneContents()).contents().last().is(".atwho-inserted")&&(s=e(p.startContainer).contents().get(f),this._setRange("after",e(s).contents().last()))):t.which===n.LEFT&&p.startContainer.nodeType===document.TEXT_NODE&&(r=e(p.startContainer.previousSibling)).is(".atwho-inserted")&&0===p.startOffset&&this._setRange("after",r.contents().last())}if(e(p.startContainer).closest(".atwho-inserted").addClass("atwho-query").siblings().removeClass("atwho-query"),(i=e(".atwho-query",this.app.document)).length>0&&i.is(":empty")&&0===i.text().length&&i.remove(),this._movingEvent(t)||i.removeClass("atwho-inserted"),i.length>0)switch(t.which){case n.LEFT:return this._setRange("before",i.get(0),p),void i.removeClass("atwho-query");case n.RIGHT:return this._setRange("after",i.get(0).nextSibling,p),void i.removeClass("atwho-query")}if(i.length>0&&(d=i.attr("data-atwho-at-query"))&&(i.empty().html(d).attr("data-atwho-at-query",null),this._setRange("after",i.get(0),p)),(o=p.cloneRange()).setStart(p.startContainer,0),l=this.callbacks("matcher").call(this,this.at,o.toString(),this.getOpt("startWithSpace"),this.getOpt("acceptSpaceBar")),u="string"==typeof l,0===i.length&&u&&(a=p.startOffset-this.at.length-l.length)>=0&&(p.setStart(p.startContainer,a),i=e("<span/>",this.app.document).attr(this.getOpt("editableAtwhoQueryAttrs")).addClass("atwho-query"),p.surroundContents(i.get(0)),c=i.contents().last().get(0),/firefox/i.test(navigator.userAgent)?(p.setStart(c,c.length),p.setEnd(c,c.length),this._clearRange(p)):this._setRange("after",c,p)),!(u&&l.length<this.getOpt("minLen",0)))return u&&l.length<=this.getOpt("maxLen",20)?(h={text:l,el:i},this.trigger("matched",[this.at,h.text]),this.query=h):(this.view.hide(),this.query={el:i},i.text().indexOf(this.at)>=0&&(this._movingEvent(t)&&i.hasClass("atwho-inserted")?i.removeClass("atwho-query"):!1!==this.callbacks("afterMatchFailed").call(this,this.at,i)&&this._setRange("after",this._unwrap(i.text(i.text()).contents().first()))),null)}},r.prototype.rect=function(){var t,n;return n=this.query.el.offset(),this.app.iframe&&!this.app.iframeAsRoot&&(t=e(this.app.iframe).offset(),n.left+=t.left-this.$inputor.scrollLeft(),n.top+=t.top-this.$inputor.scrollTop()),n.bottom=n.top+this.query.el.height(),n},r.prototype.insert=function(e,t){var n,r,i,o;return this.$inputor.is(":focus")||this.$inputor.focus(),i=""===(i=this.getOpt("suffix"))?i:i||" ",n=t.data("itemData"),this.query.el.removeClass("atwho-query").addClass("atwho-inserted").html(e).attr("data-atwho-at-query",""+n["atwho-at"]+this.query.text),(r=this._getRange())&&(r.setEndAfter(this.query.el[0]),r.collapse(!1),r.insertNode(o=this.app.document.createTextNode("‍"+i)),this._setRange("after",o,r)),this.$inputor.is(":focus")||this.$inputor.focus(),this.$inputor.change()},r}(i),l=function(){function t(e){this.context=e,this.at=this.context.at,this.storage=this.context.$inputor}return t.prototype.destroy=function(){return this.storage.data(this.at,null)},t.prototype.saved=function(){return this.fetch()>0},t.prototype.query=function(e,t){var n,r,i;return r=this.fetch(),i=this.context.getOpt("searchKey"),r=this.context.callbacks("filter").call(this.context,e,r,i)||[],n=this.context.callbacks("remoteFilter"),r.length>0||!n&&0===r.length?t(r):n.call(this.context,e,t)},t.prototype.fetch=function(){return this.storage.data(this.at)||[]},t.prototype.save=function(e){return this.storage.data(this.at,this.context.callbacks("beforeSave").call(this.context,e||[]))},t.prototype.load=function(e){if(!this.saved()&&e)return this._load(e)},t.prototype.reload=function(e){return this._load(e)},t.prototype._load=function(t){return"string"==typeof t?e.ajax(t,{dataType:"json"}).done((n=this,function(e){return n.save(e)})):this.save(t);var n},t}(),f=function(){function t(t){this.context=t,this.$el=e("<div class='atwho-view'><ul class='atwho-view-ul'></ul></div>"),this.$elUl=this.$el.children(),this.timeoutID=null,this.context.$el.append(this.$el),this.bindEvent()}return t.prototype.init=function(){var e,t;return t=this.context.getOpt("alias")||this.context.at.charCodeAt(0),(e=this.context.getOpt("headerTpl"))&&1===this.$el.children().length&&this.$el.prepend(e),this.$el.attr({id:"at-view-"+t})},t.prototype.destroy=function(){return this.$el.remove()},t.prototype.bindEvent=function(){var t,n,r,i;return t=this.$el.find("ul"),n=0,r=0,t.on("mousemove.atwho-view","li",function(i){var o;if((n!==i.clientX||r!==i.clientY)&&(n=i.clientX,r=i.clientY,!(o=e(i.currentTarget)).hasClass("cur")))return t.find(".cur").removeClass("cur"),o.addClass("cur")}).on("click.atwho-view","li",(i=this,function(n){return t.find(".cur").removeClass("cur"),e(n.currentTarget).addClass("cur"),i.choose(n),n.preventDefault()}))},t.prototype.visible=function(){return this.$el.is(":visible")},t.prototype.highlighted=function(){return this.$el.find(".cur").length>0},t.prototype.choose=function(e){var t,n;if((t=this.$el.find(".cur")).length&&(n=this.context.insertContentFor(t),this.context._stopDelayedCall(),this.context.insert(this.context.callbacks("beforeInsert").call(this.context,n,t,e),t),this.context.trigger("inserted",[t,e]),this.hide(e)),this.context.getOpt("hideWithoutSuffix"))return this.stopShowing=!0},t.prototype.reposition=function(t){var n,r,i,o;return n=this.context.app.iframeAsRoot?this.context.app.window:window,t.bottom+this.$el.height()-e(n).scrollTop()>e(n).height()&&(t.bottom=t.top-this.$el.height()),t.left>(i=e(n).width()-this.$el.width()-5)&&(t.left=i),r={left:t.left,top:t.bottom},null!=(o=this.context.callbacks("beforeReposition"))&&o.call(this.context,r),this.$el.offset(r),this.context.trigger("reposition",[r])},t.prototype.next=function(){var e,t,n,r;return e=this.$el.find(".cur").removeClass("cur"),(t=e.next()).length||(t=this.$el.find("li:first")),t.addClass("cur"),n=t[0],r=n.offsetTop+n.offsetHeight+(n.nextSibling?n.nextSibling.offsetHeight:0),this.scrollTop(Math.max(0,r-this.$el.height()))},t.prototype.prev=function(){var e,t,n,r;return e=this.$el.find(".cur").removeClass("cur"),(n=e.prev()).length||(n=this.$el.find("li:last")),n.addClass("cur"),r=n[0],t=r.offsetTop+r.offsetHeight+(r.nextSibling?r.nextSibling.offsetHeight:0),this.scrollTop(Math.max(0,t-this.$el.height()))},t.prototype.scrollTop=function(e){var t;return(t=this.context.getOpt("scrollDuration"))?this.$elUl.animate({scrollTop:e},t):this.$elUl.scrollTop(e)},t.prototype.show=function(){var e;if(!this.stopShowing)return this.visible()||(this.$el.show(),this.$el.scrollTop(0),this.context.trigger("shown")),(e=this.context.rect())?this.reposition(e):void 0;this.stopShowing=!1},t.prototype.hide=function(e,t){var n,r;if(this.visible())return isNaN(t)?(this.$el.hide(),this.context.trigger("hidden",[e])):(r=this,n=function(){return r.hide()},clearTimeout(this.timeoutID),this.timeoutID=setTimeout(n,t))},t.prototype.render=function(t){var n,r,i,o,a,s,u;if(e.isArray(t)&&t.length>0){for(this.$el.find("ul").empty(),r=this.$el.find("ul"),u=this.context.getOpt("displayTpl"),i=0,a=t.length;i<a;i++)o=t[i],o=e.extend({},o,{"atwho-at":this.context.at}),s=this.context.callbacks("tplEval").call(this.context,u,o,"onDisplay"),(n=e(this.context.callbacks("highlighter").call(this.context,s,this.context.query.text))).data("item-data",o),r.append(n);return this.show(),this.context.getOpt("highlightFirst")?r.find("li:first").addClass("cur"):void 0}this.hide()},t}(),h={load:function(e,t){var n;if(n=this.controller(e))return n.model.load(t)},isSelecting:function(){var e;return!!(null!=(e=this.controller())?e.view.visible():void 0)},hide:function(){var e;return null!=(e=this.controller())?e.view.hide():void 0},reposition:function(){var e;if(e=this.controller())return e.view.reposition(e.rect())},setIframe:function(e,t){return this.setupRootElement(e,t),null},run:function(){return this.dispatch()},destroy:function(){return this.shutdown(),this.$inputor.data("atwho",null)}},e.fn.atwho=function(t){var n,i;return n=arguments,i=null,this.filter('textarea, input, [contenteditable=""], [contenteditable=true]').each(function(){var o,a;return(a=(o=e(this)).data("atwho"))||o.data("atwho",a=new r(this)),"object"!=typeof t&&t?h[t]&&a?i=h[t].apply(a,Array.prototype.slice.call(n,1)):e.error("Method "+t+" does not exist on jQuery.atwho"):a.reg(t.at,t)}),null!=i?i:this},e.fn.atwho.default={at:void 0,alias:void 0,data:null,displayTpl:"<li>${name}</li>",insertTpl:"${atwho-at}${name}",headerTpl:null,callbacks:t,searchKey:"name",suffix:void 0,hideWithoutSuffix:!1,startWithSpace:!0,acceptSpaceBar:!1,highlightFirst:!0,limit:5,maxLen:20,minLen:0,displayTimeout:300,delay:null,spaceSelectsMatch:!1,tabSelectsMatch:!0,editableAtwhoQueryAttrs:{},scrollDuration:150,suspendOnComposing:!0,lookUpOnClick:!0},e.fn.atwho.debug=!1}(e)}.apply(t,r))||(e.exports=i)},391:function(e,t,n){var r,i,o;o=this,r=[n(0)],void 0===(i=function(e){return o.returnExportsGlobal=function(e){"use strict";var t,n,r,i,o,a,s,u;t=function(){function t(e){this.$inputor=e,this.domInputor=this.$inputor[0]}return t.prototype.setPos=function(e){var t,n,r,i;return(i=s.getSelection())&&(r=0,n=!1,(t=function(e,o){var s,u,c,l,f,h;for(f=o.childNodes,h=[],c=0,l=f.length;c<l&&(s=f[c],!n);c++)if(3===s.nodeType){if(r+s.length>=e){n=!0,(u=a.createRange()).setStart(s,e-r),i.removeAllRanges(),i.addRange(u);break}h.push(r+=s.length)}else h.push(t(e,s));return h})(e,this.domInputor)),this.domInputor},t.prototype.getIEPosition=function(){return this.getPosition()},t.prototype.getPosition=function(){var e,t;return t=this.getOffset(),e=this.$inputor.offset(),t.left-=e.left,t.top-=e.top,t},t.prototype.getOldIEPos=function(){var e,t;return t=a.selection.createRange(),(e=a.body.createTextRange()).moveToElementText(this.domInputor),e.setEndPoint("EndToEnd",t),e.text.length},t.prototype.getPos=function(){var e,t,n;return(n=this.range())?((e=n.cloneRange()).selectNodeContents(this.domInputor),e.setEnd(n.endContainer,n.endOffset),t=e.toString().length,e.detach(),t):a.selection?this.getOldIEPos():void 0},t.prototype.getOldIEOffset=function(){var e,t;return(e=a.selection.createRange().duplicate()).moveStart("character",-1),{height:(t=e.getBoundingClientRect()).bottom-t.top,left:t.left,top:t.top}},t.prototype.getOffset=function(t){var n,r,i,o,u;return s.getSelection&&(i=this.range())?(i.endOffset-1>0&&i.endContainer!==this.domInputor&&((n=i.cloneRange()).setStart(i.endContainer,i.endOffset-1),n.setEnd(i.endContainer,i.endOffset),o=n.getBoundingClientRect(),r={height:o.height,left:o.left+o.width,top:o.top},n.detach()),r&&0!==(null!=r?r.height:void 0)||(n=i.cloneRange(),u=e(a.createTextNode("|")),n.insertNode(u[0]),n.selectNode(u[0]),o=n.getBoundingClientRect(),r={height:o.height,left:o.left,top:o.top},u.remove(),n.detach())):a.selection&&(r=this.getOldIEOffset()),r&&(r.top+=e(s).scrollTop(),r.left+=e(s).scrollLeft()),r},t.prototype.range=function(){var e;if(s.getSelection)return(e=s.getSelection()).rangeCount>0?e.getRangeAt(0):null},t}(),n=function(){function t(e){this.$inputor=e,this.domInputor=this.$inputor[0]}return t.prototype.getIEPos=function(){var e,t,n,r,i,o,s;return t=this.domInputor,o=a.selection.createRange(),i=0,o&&o.parentElement()===t&&(r=t.value.replace(/\r\n/g,"\n"),n=r.length,(s=t.createTextRange()).moveToBookmark(o.getBookmark()),(e=t.createTextRange()).collapse(!1),i=s.compareEndPoints("StartToEnd",e)>-1?n:-s.moveStart("character",-n)),i},t.prototype.getPos=function(){return a.selection?this.getIEPos():this.domInputor.selectionStart},t.prototype.setPos=function(e){var t,n;return t=this.domInputor,a.selection?((n=t.createTextRange()).move("character",e),n.select()):t.setSelectionRange&&t.setSelectionRange(e,e),t},t.prototype.getIEOffset=function(e){var t,n,r,i;return n=this.domInputor.createTextRange(),e||(e=this.getPos()),n.move("character",e),r=n.boundingLeft,i=n.boundingTop,t=n.boundingHeight,{left:r,top:i,height:t}},t.prototype.getOffset=function(t){var n,r,i;return n=this.$inputor,a.selection?((r=this.getIEOffset(t)).top+=e(s).scrollTop()+n.scrollTop(),r.left+=e(s).scrollLeft()+n.scrollLeft(),r):(r=n.offset(),i=this.getPosition(t),r={left:r.left+i.left-n.scrollLeft(),top:r.top+i.top-n.scrollTop(),height:i.height})},t.prototype.getPosition=function(e){var t,n,i,o,a;return t=this.$inputor,i=function(e){return e=e.replace(/<|>|`|"|&/g,"?").replace(/\r\n|\r|\n/g,"<br/>"),/firefox/i.test(navigator.userAgent)&&(e=e.replace(/\s/g,"&nbsp;")),e},void 0===e&&(e=this.getPos()),a=t.val().slice(0,e),n=t.val().slice(e),o="<span style='position: relative; display: inline;'>"+i(a)+"</span>",o+="<span id='caret' style='position: relative; display: inline;'>|</span>",o+="<span style='position: relative; display: inline;'>"+i(n)+"</span>",new r(t).create(o).rect()},t.prototype.getIEPosition=function(e){var t,n,r,i,o;return r=this.getIEOffset(e),n=this.$inputor.offset(),i=r.left-n.left,o=r.top-n.top,t=r.height,{left:i,top:o,height:t}},t}(),r=function(){function t(e){this.$inputor=e}return t.prototype.css_attr=["borderBottomWidth","borderLeftWidth","borderRightWidth","borderTopStyle","borderRightStyle","borderBottomStyle","borderLeftStyle","borderTopWidth","boxSizing","fontFamily","fontSize","fontWeight","height","letterSpacing","lineHeight","marginBottom","marginLeft","marginRight","marginTop","outlineWidth","overflow","overflowX","overflowY","paddingBottom","paddingLeft","paddingRight","paddingTop","textAlign","textOverflow","textTransform","whiteSpace","wordBreak","wordWrap"],t.prototype.mirrorCss=function(){var t,n=this;return t={position:"absolute",left:-9999,top:0,zIndex:-2e4},"TEXTAREA"===this.$inputor.prop("tagName")&&this.css_attr.push("width"),e.each(this.css_attr,function(e,r){return t[r]=n.$inputor.css(r)}),t},t.prototype.create=function(t){return this.$mirror=e("<div></div>"),this.$mirror.css(this.mirrorCss()),this.$mirror.html(t),this.$inputor.after(this.$mirror),this},t.prototype.rect=function(){var e,t,n;return e=this.$mirror.find("#caret"),t=e.position(),n={left:t.left,top:t.top,height:e.height()},this.$mirror.remove(),n},t}(),i={contentEditable:function(e){return!(!e[0].contentEditable||"true"!==e[0].contentEditable)}},o={pos:function(e){return e||0===e?this.setPos(e):this.getPos()},position:function(e){return a.selection?this.getIEPosition(e):this.getPosition(e)},offset:function(e){return this.getOffset(e)}},a=null,s=null,u=function(e){var t;return(t=null!=e?e.iframe:void 0)?(s=t.contentWindow,a=t.contentDocument||s.document):(s=window,a=document)},e.fn.caret=function(r,a,s){var c;return o[r]?(e.isPlainObject(a)?(u(a),a=void 0):u(s),c=i.contentEditable(this)?new t(this):new n(this),o[r].apply(c,[a])):e.error("Method "+r+" does not exist on jQuery.caret")},e.fn.caret.EditableCaret=t,e.fn.caret.InputCaret=n,e.fn.caret.Utils=i,e.fn.caret.apis=o}(e)}.apply(t,r))||(e.exports=i)},392:function(e,t,n){var r=n(639),i=n(500);e.exports=function(e){return r(i(e))}},393:function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},397:function(e,t,n){"use strict";var r=n(411),i={props:{entityId:{type:Number,required:!0},entityName:{type:String,required:!0},sizeClass:{type:String,required:!1,default:"s40"}},computed:{identiconBackgroundClass:function(){return Object(r.a)(this.entityId)},identiconTitle:function(){return Object(r.b)(this.entityName)}}},o=n(2),a=Object(o.a)(i,function(){var e=this.$createElement;return(this._self._c||e)("div",{staticClass:"avatar identicon",class:[this.sizeClass,this.identiconBackgroundClass]},[this._v("\n  "+this._s(this.identiconTitle)+"\n")])},[],!1,null,null,null);t.a=a.exports},411:function(e,t,n){"use strict";n.d(t,"a",function(){return o}),n.d(t,"b",function(){return a});n(3);var r=n(45),i=7;function o(e){return"bg"+(e%i+1)}function a(e){return Object(r.f)(e)||" "}},425:function(e,t,n){var r=n(432)("meta"),i=n(215),o=n(308),a=n(309).f,s=0,u=Object.isExtensible||function(){return!0},c=!n(362)(function(){return u(Object.preventExtensions({}))}),l=function(e){a(e,r,{value:{i:"O"+ ++s,w:{}}})},f=e.exports={KEY:r,NEED:!1,fastKey:function(e,t){if(!i(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!o(e,r)){if(!u(e))return"F";if(!t)return"E";l(e)}return e[r].i},getWeak:function(e,t){if(!o(e,r)){if(!u(e))return!0;if(!t)return!1;l(e)}return e[r].w},onFreeze:function(e){return c&&f.NEED&&u(e)&&!o(e,r)&&l(e),e}}},426:function(e,t,n){var r=n(309).f,i=n(308),o=n(185)("toStringTag");e.exports=function(e,t,n){e&&!i(e=n?e:e.prototype,o)&&r(e,o,{configurable:!0,value:t})}},427:function(e,t,n){var r=n(717),i=n(634);e.exports=Object.keys||function(e){return r(e,i)}},428:function(e,t){e.exports={}},429:function(e,t,n){var r=n(185)("unscopables"),i=Array.prototype;void 0==i[r]&&n(363)(i,r,{}),e.exports=function(e){i[r][e]=!0}},430:function(e,t,n){var r=n(641),i=Math.min;e.exports=function(e){return e>0?i(r(e),9007199254740991):0}},431:function(e,t,n){var r=n(500);e.exports=function(e){return Object(r(e))}},432:function(e,t){var n=0,r=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++n+r).toString(36))}},433:function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},45:function(e,t,n){"use strict";n.d(t,"a",function(){return r}),n.d(t,"g",function(){return i}),n.d(t,"h",function(){return o}),n.d(t,"i",function(){return a}),n.d(t,"e",function(){return s}),n.d(t,"j",function(){return u}),n.d(t,"m",function(){return c}),n.d(t,"n",function(){return l}),n.d(t,"b",function(){return f}),n.d(t,"f",function(){return h}),n.d(t,"l",function(){return d}),n.d(t,"c",function(){return p}),n.d(t,"d",function(){return v}),n.d(t,"k",function(){return m});var r=function(e){return e?e.toString().replace(/\B(?=(\d{3})+(?!\d))/g,","):e},i=function(e){return e>99?"99+":e},o=function(e){return e.charAt(0).toUpperCase()+e.replace(/_/g," ").slice(1)},a=function(e,t){return e+(t>1||0===t?"s":"")},s=function(e){return e.replace(/[_\s]+/g,"-")},u=function(e){return e.trim().toLowerCase()},c=function(e,t){return e.substr(0,t-3)+"..."},l=function(e){return e.substr(0,8)};function f(e){return""+e[0].toUpperCase()+e.slice(1)}function h(e){return e?e.charAt(0).toUpperCase():""}var d=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return e?e.replace(/<[^>]*>/g,t):e},p=function(e){return e.replace(/(_\w)/g,function(e){return e[1].toUpperCase()})},v=function(e){return e.split(" ").map(function(e,t){return t>0?e.toLowerCase():e}).join(" ")},m=function(e){return e.replace(/([A-Z]+)([A-Z][a-z])/g," $1 $2").replace(/([a-z\d])([A-Z])/g,"$1 $2").trim()}},469:function(e,t,n){"use strict";var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();var i=function(){function e(t,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.in=t,this.out=n,this.eventWrapper={},this.eventType=/(INPUT|TEXTAREA)/.test(t.tagName)?"keyup":"change"}return r(e,[{key:"addEvents",value:function(){return this.eventWrapper.updateOut=this.updateOut.bind(this),this.in.addEventListener(this.eventType,this.eventWrapper.updateOut),this}},{key:"updateOut",value:function(){return this.out.textContent=this.in.value,this}},{key:"removeEvents",value:function(){return this.in.removeEventListener(this.eventType,this.eventWrapper.updateOut),this}}],[{key:"initAll",value:function(){var t=document.querySelectorAll("*[data-bind-in]");return[].map.call(t,function(t){return e.init(t)})}},{key:"init",value:function(t,n){var r=n||document.querySelector('*[data-bind-out="'+t.dataset.bindIn+'"]');return r?new e(t,r).addEvents().updateOut():null}}]),e}();t.a=i},47:function(e,t,n){"use strict";var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();var i=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.store={columns:3,issues:[],issuesCount:!1,selectedIssues:[],showAddIssuesModal:!1,activeTab:"all",selectedList:null,searchTerm:"",loading:!1,loadingNewPage:!1,filterLoading:!1,page:1,perPage:50,filter:{path:""}}}return r(e,[{key:"selectedCount",value:function(){return this.getSelectedIssues().length}},{key:"toggleIssue",value:function(e){var t=e,n=t.selected;t.selected=!n,n?this.removeSelectedIssue(t):this.addSelectedIssue(t)}},{key:"toggleAll",value:function(){var e=this,t=this.selectedCount()!==this.store.issues.length;this.store.issues.forEach(function(n){var r=n;r.selected!==t&&(r.selected=t,t?e.addSelectedIssue(n):e.removeSelectedIssue(n))})}},{key:"getSelectedIssues",value:function(){return this.store.selectedIssues.filter(function(e){return e.selected})}},{key:"addSelectedIssue",value:function(e){-1===this.selectedIssueIndex(e)&&this.store.selectedIssues.push(e)}},{key:"removeSelectedIssue",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];("all"===this.store.activeTab||t)&&(this.store.selectedIssues=this.store.selectedIssues.filter(function(t){return t.id!==e.id}))}},{key:"purgeUnselectedIssues",value:function(){var e=this;this.store.selectedIssues.forEach(function(t){t.selected||e.removeSelectedIssue(t,!0)})}},{key:"selectedIssueIndex",value:function(e){return this.store.selectedIssues.indexOf(e)}},{key:"findSelectedIssue",value:function(e){return this.store.selectedIssues.filter(function(t){return t.id===e.id})[0]}}]),e}();t.a=new i},477:function(e,t,n){"use strict";n.d(t,"a",function(){return l}),n.d(t,"b",function(){return f});var r=n(0),i=n.n(r),o=n(5),a=n(1),s=n(7),u=n(128),c=n(242),l=function(e){return".js-feature-highlight[data-highlight="+e+"]"};function f(){var e=this.getAttribute("aria-describedby"),t=this.dataset.highlight,n=i()(this),r=function(e){o.a.post(this.attr("data-dismiss-endpoint"),{feature_name:e}).catch(function(){return Object(s.a)(Object(a.a)("An error occurred while dismissing the feature highlight. Refresh the page and try dismissing again."))}),c.c.call(this,!1),this.hide()}.bind(n,t);i()("#"+e+" .dismiss-feature-highlight").on("click",r);var l=i()("#"+e+" .feature-highlight-illustration")[0];l&&u.a.loadImage(l)}},478:function(e,t,n){"use strict";n.d(t,"a",function(){return r});var r=function(e){return e&&e.constructor===Object}},491:function(e,t){(function(){var e,n,r,i,o,a,s,u,c,l,f,h,d,p,v,m;t.score=function(e,t,r){var i,a,s;return i=r.preparedQuery,r.allowErrors||o(e,i.core_lw,i.core_up)?(s=e.toLowerCase(),a=n(e,s,i),Math.ceil(a)):0},t.isMatch=o=function(e,t,n){var r,i,o,a,s,u,c;if(o=e.length,a=t.length,!o||a>o)return!1;for(r=-1,i=-1;++i<a;){for(s=t.charCodeAt(i),u=n.charCodeAt(i);++r<o&&(c=e.charCodeAt(r))!==s&&c!==u;);if(r===o)return!1}return!0},t.computeScore=n=function(e,t,n){var r,i,o,a,s,p,v,g,y,b,w,E,_,C,T,x,k,S,A,O,j,I,D,L;if(T=n.query,x=n.query_lw,b=e.length,_=T.length,i=(r=c(e,t,T,x)).score,r.count===_)return h(_,b,i,r.pos);if((C=t.indexOf(x))>-1)return d(e,t,T,x,C,_,b);for(O=new Array(_),s=new Array(_),L=m(_,b),E=w=Math.ceil(.75*_)+5,v=!0,y=-1;++y<_;)O[y]=0,s[y]=0;for(g=-1;++g<b;)if(!(I=t[g]).charCodeAt(0)in n.charCodes){if(v){for(y=-1;++y<_;)s[y]=0;v=!1}}else for(S=0,A=0,a=0,k=!0,v=!0,y=-1;++y<_;){if((j=O[y])>S&&(S=j),p=0,x[y]===I)if(D=u(g,e,t),p=a>0?a:f(e,t,T,x,g,y,D),(o=A+l(g,y,D,i,p))>S)S=o,E=w;else{if(k&&--E<=0)return Math.max(S,O[_-1])*L;k=!1}A=j,a=s[y],s[y]=p,O[y]=S}return(S=O[_-1])*L},t.isWordStart=u=function(e,t,n){var r,i;return 0===e||(r=t[e],i=t[e-1],a(i)||r!==n[e]&&i===n[e-1])},t.isWordEnd=s=function(e,t,n,r){var i,o;return e===r-1||(i=t[e],o=t[e+1],a(o)||i===n[e]&&o!==n[e+1])},a=function(e){return" "===e||"."===e||"-"===e||"_"===e||"/"===e||"\\"===e},v=function(e){var t;return e<20?100+(t=20-e)*t:Math.max(120-e,0)},t.scoreSize=m=function(e,t){return 85/(85+Math.abs(t-e))},h=function(e,t,n,r){return 2*e*(150*n+v(r))*m(e,t)},t.scorePattern=p=function(e,t,n,r,i){var o,a;return a=e,o=6,n===e&&(o+=2),r&&(o+=3),i&&(o+=1),e===t&&(r&&(a+=n===t?2:1),i&&(o+=1)),n+a*(a+o)},t.scoreCharacter=l=function(e,t,n,r,i){var o;return o=v(e),n?o+150*((r>i?r:i)+10):o+150*i},t.scoreConsecutives=f=function(e,t,n,r,i,o,a){var u,c,l,f,h,d,v;for(u=(l=(c=e.length)-i)<(h=(f=n.length)-o)?l:h,d=0,v=0,n[o]===e[i]&&d++;++v<u&&r[++o]===t[++i];)n[o]===e[i]&&d++;return 1===v?1+2*d:p(v,f,d,a,s(i,e,t,c))},t.scoreExactMatch=d=function(e,t,n,r,i,o,a){var c,l,f,d,v;for((v=u(i,e,t))||(f=t.indexOf(r,i+1))>-1&&(v=u(f,e,t))&&(i=f),l=-1,d=0;++l<o;)n[i+l]===e[l]&&d++;return c=s(i+o-1,e,t,a),h(o,a,p(o,o,d,v,c),i)},e=function(){return function(e,t,n){this.score=e,this.pos=t,this.count=n}}(),r=new e(0,.1,0),t.scoreAcronyms=c=function(t,n,o,s){var c,l,f,h,d,v,m,g,y,b,w;if(d=t.length,v=o.length,!(d>1&&v>1))return r;for(c=0,b=0,w=0,g=0,f=-1,h=-1;++h<v;){if(m=s[h],a(m)){if((f=n.indexOf(m,f+1))>-1){b++;continue}break}for(;++f<d;)if(m===n[f]&&u(f,t,n)){o[h]===t[f]&&g++,w+=f,c++;break}if(f===d)break}return c<2?r:(l=c===v&&i(t,n,o,c),y=p(c,v,g,!0,l),new e(y,w/c,c+b))},i=function(e,t,n,r){var i,o,a;if(i=0,(a=e.length)>12*n.length)return!1;for(o=-1;++o<a;)if(u(o,e,t)&&++i>r)return!1;return!0}}).call(this)},492:function(e,t,n){var r=n(215);e.exports=function(e,t){if(!r(e)||e._t!==t)throw TypeError("Incompatible receiver, "+t+" required!");return e}},493:function(e,t,n){var r=n(337);e.exports=function(e,t,n){for(var i in t)r(e,i,t[i],n);return e}},494:function(e,t,n){var r=n(336),i=n(714),o=n(713),a=n(297),s=n(430),u=n(712),c={},l={};(t=e.exports=function(e,t,n,f,h){var d,p,v,m,g=h?function(){return e}:u(e),y=r(n,f,t?2:1),b=0;if("function"!=typeof g)throw TypeError(e+" is not iterable!");if(o(g)){for(d=s(e.length);d>b;b++)if((m=t?y(a(p=e[b])[0],p[1]):y(e[b]))===c||m===l)return m}else for(v=g.call(e);!(p=v.next()).done;)if((m=i(v,y,p.value,t))===c||m===l)return m}).BREAK=c,t.RETURN=l},495:function(e,t){e.exports=function(e,t,n,r){if(!(e instanceof t)||void 0!==r&&r in e)throw TypeError(n+": incorrect invocation!");return e}},496:function(e,t,n){"use strict";var r=n(633),i={};i[n(185)("toStringTag")]="z",i+""!="[object z]"&&n(337)(Object.prototype,"toString",function(){return"[object "+r(this)+"]"},!0)},497:function(e,t){t.f={}.propertyIsEnumerable},498:function(e,t){e.exports=!1},499:function(e,t,n){var r=n(336),i=n(639),o=n(431),a=n(430),s=n(1380);e.exports=function(e,t){var n=1==e,u=2==e,c=3==e,l=4==e,f=6==e,h=5==e||f,d=t||s;return function(t,s,p){for(var v,m,g=o(t),y=i(g),b=r(s,p,3),w=a(y.length),E=0,_=n?d(t,w):u?d(t,0):void 0;w>E;E++)if((h||E in y)&&(m=b(v=y[E],E,g),e))if(n)_[E]=m;else if(m)switch(e){case 3:return!0;case 5:return v;case 6:return E;case 2:_.push(v)}else if(l)return!1;return f?-1:c||l?l:_}}},5:function(e,t,n){"use strict";var r=n(306),i=n.n(r),o=n(66);i.a.defaults.headers.common[o.a.headerKey]=o.a.token,i.a.defaults.headers.common["X-Requested-With"]="XMLHttpRequest",i.a.interceptors.request.use(function(e){return window.activeVueResources=window.activeVueResources||0,window.activeVueResources+=1,e}),i.a.interceptors.response.use(function(e){return window.activeVueResources-=1,e},function(e){return window.activeVueResources-=1,Promise.reject(e)}),t.a=i.a},50:function(e,t,n){var r,i,o;
  /*!
  	Autosize 4.0.0
  	license: MIT
  	http://www.jacklmoore.com/autosize
  */i=[t,e],void 0===(o="function"==typeof(r=function(e,t){"use strict";var n,r,i="function"==typeof Map?new Map:(n=[],r=[],{has:function(e){return n.indexOf(e)>-1},get:function(e){return r[n.indexOf(e)]},set:function(e,t){-1===n.indexOf(e)&&(n.push(e),r.push(t))},delete:function(e){var t=n.indexOf(e);t>-1&&(n.splice(t,1),r.splice(t,1))}}),o=function(e){return new Event(e,{bubbles:!0})};try{new Event("test")}catch(e){o=function(e){var t=document.createEvent("Event");return t.initEvent(e,!0,!1),t}}function a(e){if(e&&e.nodeName&&"TEXTAREA"===e.nodeName&&!i.has(e)){var t=null,n=e.clientWidth,r=null,a=function(){e.clientWidth!==n&&f()},s=function(t){window.removeEventListener("resize",a,!1),e.removeEventListener("input",f,!1),e.removeEventListener("keyup",f,!1),e.removeEventListener("autosize:destroy",s,!1),e.removeEventListener("autosize:update",f,!1),Object.keys(t).forEach(function(n){e.style[n]=t[n]}),i.delete(e)}.bind(e,{height:e.style.height,resize:e.style.resize,overflowY:e.style.overflowY,overflowX:e.style.overflowX,wordWrap:e.style.wordWrap});e.addEventListener("autosize:destroy",s,!1),"onpropertychange"in e&&"oninput"in e&&e.addEventListener("keyup",f,!1),window.addEventListener("resize",a,!1),e.addEventListener("input",f,!1),e.addEventListener("autosize:update",f,!1),e.style.overflowX="hidden",e.style.wordWrap="break-word",i.set(e,{destroy:s,update:f}),"vertical"===(u=window.getComputedStyle(e,null)).resize?e.style.resize="none":"both"===u.resize&&(e.style.resize="horizontal"),t="content-box"===u.boxSizing?-(parseFloat(u.paddingTop)+parseFloat(u.paddingBottom)):parseFloat(u.borderTopWidth)+parseFloat(u.borderBottomWidth),isNaN(t)&&(t=0),f()}var u;function c(t){var n=e.style.width;e.style.width="0px",e.offsetWidth,e.style.width=n,e.style.overflowY=t}function l(){var r=e.style.height,i=function(e){for(var t=[];e&&e.parentNode&&e.parentNode instanceof Element;)e.parentNode.scrollTop&&t.push({node:e.parentNode,scrollTop:e.parentNode.scrollTop}),e=e.parentNode;return t}(e),o=document.documentElement&&document.documentElement.scrollTop;e.style.height="";var a=e.scrollHeight+t;0!==e.scrollHeight?(e.style.height=a+"px",n=e.clientWidth,i.forEach(function(e){e.node.scrollTop=e.scrollTop}),o&&(document.documentElement.scrollTop=o)):e.style.height=r}function f(){l();var t=Math.round(parseFloat(e.style.height)),n=window.getComputedStyle(e,null),i="content-box"===n.boxSizing?Math.round(parseFloat(n.height)):e.offsetHeight;if(i!==t?"hidden"===n.overflowY&&(c("scroll"),l(),i="content-box"===n.boxSizing?Math.round(parseFloat(window.getComputedStyle(e,null).height)):e.offsetHeight):"hidden"!==n.overflowY&&(c("hidden"),l(),i="content-box"===n.boxSizing?Math.round(parseFloat(window.getComputedStyle(e,null).height)):e.offsetHeight),r!==i){r=i;var a=o("autosize:resized");try{e.dispatchEvent(a)}catch(e){}}}}function s(e){var t=i.get(e);t&&t.destroy()}function u(e){var t=i.get(e);t&&t.update()}var c=null;"undefined"==typeof window||"function"!=typeof window.getComputedStyle?((c=function(e){return e}).destroy=function(e){return e},c.update=function(e){return e}):((c=function(e,t){return e&&Array.prototype.forEach.call(e.length?e:[e],function(e){return a(e)}),e}).destroy=function(e){return e&&Array.prototype.forEach.call(e.length?e:[e],s),e},c.update=function(e){return e&&Array.prototype.forEach.call(e.length?e:[e],u),e}),t.exports=c})?r.apply(t,i):r)||(e.exports=o)},500:function(e,t){e.exports=function(e){if(void 0==e)throw TypeError("Can't call method on  "+e);return e}},501:function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},503:function(e,t,n){"use strict";var r=n(0),i=n.n(r),o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();var a="gl-field-error",s=function(){function e(t){var n=t.input,r=t.formErrors;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.inputElement=i()(n),this.inputDomElement=this.inputElement.get(0),this.form=r,this.errorMessage=this.inputElement.attr("title")||"This field is required.",this.fieldErrorElement=i()("<p class='"+a+" hidden'>"+this.errorMessage+"</p>"),this.state={valid:!1,empty:!0,submitted:!1},this.initFieldValidation()}return o(e,[{key:"initFieldValidation",value:function(){var e=this.inputElement.parents(".gl-field-error-anchor");(e.length?e:this.inputElement).after(this.fieldErrorElement),this.inputElement.off("invalid").on("invalid",this.handleInvalidSubmit.bind(this)),this.scopedSiblings=this.safelySelectSiblings()}},{key:"safelySelectSiblings",value:function(){var e=this.inputElement.siblings("p:not(.gl-field-error-ignore)"),t=this.inputElement.parent(".form-group");return t.length&&1===t.find("input").length?e:this.fieldErrorElement}},{key:"renderValidity",value:function(){this.renderClear(),this.state.valid?this.renderValid():this.state.empty?this.renderEmpty():this.state.valid||this.renderInvalid()}},{key:"handleInvalidSubmit",value:function(e){e.preventDefault();var t=this.accessCurrentValue();this.state.valid=!1,this.state.empty=""===t,this.state.submitted=!0,this.renderValidity(),this.form.focusOnFirstInvalid.apply(this.form),this.inputElement.off("keyup.fieldValidator").on("keyup.fieldValidator",this.updateValidity.bind(this))}},{key:"accessCurrentValue",value:function(e){return e?this.inputElement.val(e):this.inputElement.val()}},{key:"getInputValidity",value:function(){return this.inputDomElement.validity.valid}},{key:"updateValidity",value:function(){var e=this.accessCurrentValue();this.state.empty=!e.length,this.state.valid=this.getInputValidity(),this.renderValidity()}},{key:"renderValid",value:function(){return this.renderClear()}},{key:"renderEmpty",value:function(){return this.renderInvalid()}},{key:"renderInvalid",value:function(){return this.inputElement.addClass("gl-field-error-outline"),this.scopedSiblings.addClass("hidden"),this.fieldErrorElement.removeClass("hidden")}},{key:"renderClear",value:function(){var e=this.accessCurrentValue();if(!e.split(" ").length){var t=e.trim();this.accessCurrentValue(t)}this.inputElement.removeClass("gl-field-error-outline"),this.scopedSiblings.addClass("hidden"),this.fieldErrorElement.addClass("hidden")}}]),e}(),u=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();var c=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.form=i()(t),this.state={inputs:[],valid:!1},this.initValidators()}return u(e,[{key:"initValidators",value:function(){var t=this,n=[":text",":password","[type=email]"].map(function(e){return"input"+e}).join(",");this.state.inputs=this.form.find(n).toArray().filter(function(e){return!e.classList.contains("gl-field-error-ignore")}).map(function(e){return new s({input:e,formErrors:t})}),this.form.on("submit",e.catchInvalidFormSubmit)}},{key:"updateFormValidityState",value:function(){this.state.inputs.forEach(function(e){e.state.submitted&&e.updateValidity()})}},{key:"focusOnFirstInvalid",value:function(){this.state.inputs.filter(function(e){return!e.inputDomElement.validity.valid})[0].inputElement.focus()}}],[{key:"catchInvalidFormSubmit",value:function(e){i()(e.currentTarget).attr("novalidate")||e.currentTarget.checkValidity()||(e.preventDefault(),e.stopPropagation())}}]),e}();t.a=c},527:function(e,t,n){"use strict";var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();var i=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.internalStorage={}}return r(e,[{key:"get",value:function(e){return this.internalStorage[e]}},{key:"hasData",value:function(e){return Object.prototype.hasOwnProperty.call(this.internalStorage,e)}},{key:"remove",value:function(e){delete this.internalStorage[e]}}]),e}();t.a=i},53:function(e,t,n){"use strict";var r=n(0),i=n.n(r),o=n(3),a=n.n(o),s="\\u0041-\\u005A\\u0061-\\u007A\\u00AA\\u00B5\\u00BA\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02C1\\u02C6-\\u02D1\\u02E0-\\u02E4\\u02EC\\u02EE\\u0370-\\u0374\\u0376\\u0377\\u037A-\\u037D\\u0386\\u0388-\\u038A\\u038C\\u038E-\\u03A1\\u03A3-\\u03F5\\u03F7-\\u0481\\u048A-\\u0527\\u0531-\\u0556\\u0559\\u0561-\\u0587\\u05D0-\\u05EA\\u05F0-\\u05F2\\u0620-\\u064A\\u066E\\u066F\\u0671-\\u06D3\\u06D5\\u06E5\\u06E6\\u06EE\\u06EF\\u06FA-\\u06FC\\u06FF\\u0710\\u0712-\\u072F\\u074D-\\u07A5\\u07B1\\u07CA-\\u07EA\\u07F4\\u07F5\\u07FA\\u0800-\\u0815\\u081A\\u0824\\u0828\\u0840-\\u0858\\u08A0\\u08A2-\\u08AC\\u0904-\\u0939\\u093D\\u0950\\u0958-\\u0961\\u0971-\\u0977\\u0979-\\u097F\\u0985-\\u098C\\u098F\\u0990\\u0993-\\u09A8\\u09AA-\\u09B0\\u09B2\\u09B6-\\u09B9\\u09BD\\u09CE\\u09DC\\u09DD\\u09DF-\\u09E1\\u09F0\\u09F1\\u0A05-\\u0A0A\\u0A0F\\u0A10\\u0A13-\\u0A28\\u0A2A-\\u0A30\\u0A32\\u0A33\\u0A35\\u0A36\\u0A38\\u0A39\\u0A59-\\u0A5C\\u0A5E\\u0A72-\\u0A74\\u0A85-\\u0A8D\\u0A8F-\\u0A91\\u0A93-\\u0AA8\\u0AAA-\\u0AB0\\u0AB2\\u0AB3\\u0AB5-\\u0AB9\\u0ABD\\u0AD0\\u0AE0\\u0AE1\\u0B05-\\u0B0C\\u0B0F\\u0B10\\u0B13-\\u0B28\\u0B2A-\\u0B30\\u0B32\\u0B33\\u0B35-\\u0B39\\u0B3D\\u0B5C\\u0B5D\\u0B5F-\\u0B61\\u0B71\\u0B83\\u0B85-\\u0B8A\\u0B8E-\\u0B90\\u0B92-\\u0B95\\u0B99\\u0B9A\\u0B9C\\u0B9E\\u0B9F\\u0BA3\\u0BA4\\u0BA8-\\u0BAA\\u0BAE-\\u0BB9\\u0BD0\\u0C05-\\u0C0C\\u0C0E-\\u0C10\\u0C12-\\u0C28\\u0C2A-\\u0C33\\u0C35-\\u0C39\\u0C3D\\u0C58\\u0C59\\u0C60\\u0C61\\u0C85-\\u0C8C\\u0C8E-\\u0C90\\u0C92-\\u0CA8\\u0CAA-\\u0CB3\\u0CB5-\\u0CB9\\u0CBD\\u0CDE\\u0CE0\\u0CE1\\u0CF1\\u0CF2\\u0D05-\\u0D0C\\u0D0E-\\u0D10\\u0D12-\\u0D3A\\u0D3D\\u0D4E\\u0D60\\u0D61\\u0D7A-\\u0D7F\\u0D85-\\u0D96\\u0D9A-\\u0DB1\\u0DB3-\\u0DBB\\u0DBD\\u0DC0-\\u0DC6\\u0E01-\\u0E30\\u0E32\\u0E33\\u0E40-\\u0E46\\u0E81\\u0E82\\u0E84\\u0E87\\u0E88\\u0E8A\\u0E8D\\u0E94-\\u0E97\\u0E99-\\u0E9F\\u0EA1-\\u0EA3\\u0EA5\\u0EA7\\u0EAA\\u0EAB\\u0EAD-\\u0EB0\\u0EB2\\u0EB3\\u0EBD\\u0EC0-\\u0EC4\\u0EC6\\u0EDC-\\u0EDF\\u0F00\\u0F40-\\u0F47\\u0F49-\\u0F6C\\u0F88-\\u0F8C\\u1000-\\u102A\\u103F\\u1050-\\u1055\\u105A-\\u105D\\u1061\\u1065\\u1066\\u106E-\\u1070\\u1075-\\u1081\\u108E\\u10A0-\\u10C5\\u10C7\\u10CD\\u10D0-\\u10FA\\u10FC-\\u1248\\u124A-\\u124D\\u1250-\\u1256\\u1258\\u125A-\\u125D\\u1260-\\u1288\\u128A-\\u128D\\u1290-\\u12B0\\u12B2-\\u12B5\\u12B8-\\u12BE\\u12C0\\u12C2-\\u12C5\\u12C8-\\u12D6\\u12D8-\\u1310\\u1312-\\u1315\\u1318-\\u135A\\u1380-\\u138F\\u13A0-\\u13F4\\u1401-\\u166C\\u166F-\\u167F\\u1681-\\u169A\\u16A0-\\u16EA\\u16EE-\\u16F0\\u1700-\\u170C\\u170E-\\u1711\\u1720-\\u1731\\u1740-\\u1751\\u1760-\\u176C\\u176E-\\u1770\\u1780-\\u17B3\\u17D7\\u17DC\\u1820-\\u1877\\u1880-\\u18A8\\u18AA\\u18B0-\\u18F5\\u1900-\\u191C\\u1950-\\u196D\\u1970-\\u1974\\u1980-\\u19AB\\u19C1-\\u19C7\\u1A00-\\u1A16\\u1A20-\\u1A54\\u1AA7\\u1B05-\\u1B33\\u1B45-\\u1B4B\\u1B83-\\u1BA0\\u1BAE\\u1BAF\\u1BBA-\\u1BE5\\u1C00-\\u1C23\\u1C4D-\\u1C4F\\u1C5A-\\u1C7D\\u1CE9-\\u1CEC\\u1CEE-\\u1CF1\\u1CF5\\u1CF6\\u1D00-\\u1DBF\\u1E00-\\u1F15\\u1F18-\\u1F1D\\u1F20-\\u1F45\\u1F48-\\u1F4D\\u1F50-\\u1F57\\u1F59\\u1F5B\\u1F5D\\u1F5F-\\u1F7D\\u1F80-\\u1FB4\\u1FB6-\\u1FBC\\u1FBE\\u1FC2-\\u1FC4\\u1FC6-\\u1FCC\\u1FD0-\\u1FD3\\u1FD6-\\u1FDB\\u1FE0-\\u1FEC\\u1FF2-\\u1FF4\\u1FF6-\\u1FFC\\u2071\\u207F\\u2090-\\u209C\\u2102\\u2107\\u210A-\\u2113\\u2115\\u2119-\\u211D\\u2124\\u2126\\u2128\\u212A-\\u212D\\u212F-\\u2139\\u213C-\\u213F\\u2145-\\u2149\\u214E\\u2160-\\u2188\\u2C00-\\u2C2E\\u2C30-\\u2C5E\\u2C60-\\u2CE4\\u2CEB-\\u2CEE\\u2CF2\\u2CF3\\u2D00-\\u2D25\\u2D27\\u2D2D\\u2D30-\\u2D67\\u2D6F\\u2D80-\\u2D96\\u2DA0-\\u2DA6\\u2DA8-\\u2DAE\\u2DB0-\\u2DB6\\u2DB8-\\u2DBE\\u2DC0-\\u2DC6\\u2DC8-\\u2DCE\\u2DD0-\\u2DD6\\u2DD8-\\u2DDE\\u2E2F\\u3005-\\u3007\\u3021-\\u3029\\u3031-\\u3035\\u3038-\\u303C\\u3041-\\u3096\\u309D-\\u309F\\u30A1-\\u30FA\\u30FC-\\u30FF\\u3105-\\u312D\\u3131-\\u318E\\u31A0-\\u31BA\\u31F0-\\u31FF\\u3400-\\u4DB5\\u4E00-\\u9FCC\\uA000-\\uA48C\\uA4D0-\\uA4FD\\uA500-\\uA60C\\uA610-\\uA61F\\uA62A\\uA62B\\uA640-\\uA66E\\uA67F-\\uA697\\uA6A0-\\uA6EF\\uA717-\\uA71F\\uA722-\\uA788\\uA78B-\\uA78E\\uA790-\\uA793\\uA7A0-\\uA7AA\\uA7F8-\\uA801\\uA803-\\uA805\\uA807-\\uA80A\\uA80C-\\uA822\\uA840-\\uA873\\uA882-\\uA8B3\\uA8F2-\\uA8F7\\uA8FB\\uA90A-\\uA925\\uA930-\\uA946\\uA960-\\uA97C\\uA984-\\uA9B2\\uA9CF\\uAA00-\\uAA28\\uAA40-\\uAA42\\uAA44-\\uAA4B\\uAA60-\\uAA76\\uAA7A\\uAA80-\\uAAAF\\uAAB1\\uAAB5\\uAAB6\\uAAB9-\\uAABD\\uAAC0\\uAAC2\\uAADB-\\uAADD\\uAAE0-\\uAAEA\\uAAF2-\\uAAF4\\uAB01-\\uAB06\\uAB09-\\uAB0E\\uAB11-\\uAB16\\uAB20-\\uAB26\\uAB28-\\uAB2E\\uABC0-\\uABE2\\uAC00-\\uD7A3\\uD7B0-\\uD7C6\\uD7CB-\\uD7FB\\uF900-\\uFA6D\\uFA70-\\uFAD9\\uFB00-\\uFB06\\uFB13-\\uFB17\\uFB1D\\uFB1F-\\uFB28\\uFB2A-\\uFB36\\uFB38-\\uFB3C\\uFB3E\\uFB40\\uFB41\\uFB43\\uFB44\\uFB46-\\uFBB1\\uFBD3-\\uFD3D\\uFD50-\\uFD8F\\uFD92-\\uFDC7\\uFDF0-\\uFDFB\\uFE70-\\uFE74\\uFE76-\\uFEFC\\uFF21-\\uFF3A\\uFF41-\\uFF5A\\uFF66-\\uFFBE\\uFFC2-\\uFFC7\\uFFCA-\\uFFCF\\uFFD2-\\uFFD7\\uFFDA-\\uFFDC",u=n(149);n.d(t,"b",function(){return d});var c=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},l=function(){return function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){i=!0,o=e}finally{try{!r&&s.return&&s.return()}finally{if(i)throw o}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),f=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();function h(e){return e.replace(/<(?:.|\n)*?>/gm,"")}var d={emojis:!0,members:!0,issues:!0,mergeRequests:!0,epics:!0,milestones:!0,labels:!0},p=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.dataSources=t||{},this.cachedData={},this.isLoadingData={}}return f(e,[{key:"setup",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:d;this.input=e||i()(".js-gfm-input"),this.enableMap=t,this.setupLifecycle()}},{key:"setupLifecycle",value:function(){var e=this;this.input.each(function(t,n){var r=i()(n);r.off("focus.setupAtWho").on("focus.setupAtWho",e.setupAtWho.bind(e,r)),r.on("change.atwho",function(){return n.dispatchEvent(new Event("input"))}),r.on("inserted-commands.atwho",r.trigger.bind(r,"keyup")),r.on("clear-commands-cache.atwho",function(){return e.clearCache()})})}},{key:"setupAtWho",value:function(t){this.enableMap.emojis&&this.setupEmoji(t),this.enableMap.members&&this.setupMembers(t),this.enableMap.issues&&this.setupIssues(t),this.enableMap.milestones&&this.setupMilestones(t),this.enableMap.mergeRequests&&this.setupMergeRequests(t),this.enableMap.labels&&this.setupLabels(t),t.filter('[data-supports-quick-actions="true"]').atwho({at:"/",alias:"commands",searchKey:"search",skipSpecialCharacterTest:!0,skipMarkdownCharacterTest:!0,data:e.defaultLoadingData,displayTpl:function(t){if(e.isLoading(t))return e.Loading.template;var n='<li><span class="name">/${name}</span>';return t.aliases.length>0&&(n+=' <small class="aliases">(or /<%- aliases.join(", /") %>)</small>'),t.params.length>0&&(n+=' <small class="params"><%- params.join(" ") %></small>'),""!==t.description&&(n+='<small class="description"><i><%- description %></i></small>'),n+="</li>",a.a.template(n)(t)},insertTpl:function(e){var t="/${name} ",n=null;if(e.params.length>0){var r=l(e.params,1);n=l(r[0],1)[0],/^[@%~]/.test(n)&&(t+="<%- referencePrefix %>")}return a.a.template(t)({referencePrefix:n})},suffix:"",callbacks:c({},this.getDefaultCallbacks(),{beforeSave:function(t){return e.isLoading(t)?t:i.a.map(t,function(e){var t=e.name;return e.aliases.length>0&&(t=t+" "+e.aliases.join(" ")),{name:e.name,aliases:e.aliases,params:e.params,description:e.description,search:t}})},matcher:function(e,t){var n=/(?:^|\n)\/([A-Za-z_]*)$/gi.exec(t);return n?n[1]:null}})})}},{key:"setupEmoji",value:function(t){t.atwho({at:":",displayTpl:function(t){var n=e.Loading.template;return t&&t.name&&(n=e.Emoji.templateFunction(t.name)),n},insertTpl:":${name}:",skipSpecialCharacterTest:!0,data:e.defaultLoadingData,callbacks:c({},this.getDefaultCallbacks(),{matcher:function(e,t){var n=new RegExp("(?:[^"+s+"0-9:]|\n|^):([^:]*)$","gi").exec(t);return n&&n.length?n[1]:null}})})}},{key:"setupMembers",value:function(t){t.atwho({at:"@",displayTpl:function(t){var n=e.Loading.template;return null!=t.username&&(n=e.Members.template),n},insertTpl:"${atwho-at}${username}",searchKey:"search",alwaysHighlightFirst:!0,skipSpecialCharacterTest:!0,data:e.defaultLoadingData,callbacks:c({},this.getDefaultCallbacks(),{beforeSave:function(e){return i.a.map(e,function(e){var t="";if(null==e.username)return e;t=e.name,e.count&&(t+=" ("+e.count+")");var n=e.avatar_url||e.username.charAt(0).toUpperCase(),r='<img src="'+e.avatar_url+'" alt="'+e.username+'" class="avatar avatar-inline center s26"/>',i='<div class="avatar center avatar-inline s26">'+n+"</div>";return{username:e.username,avatarTag:1===n.length?i:r,title:h(t),search:h(e.username+" "+e.name)}})}})})}},{key:"setupIssues",value:function(t){t.atwho({at:"#",alias:"issues",searchKey:"search",displayTpl:function(t){var n=e.Loading.template;return null!=t.title&&(n=e.Issues.template),n},data:e.defaultLoadingData,insertTpl:"${atwho-at}${id}",callbacks:c({},this.getDefaultCallbacks(),{beforeSave:function(e){return i.a.map(e,function(e){return null==e.title?e:{id:e.iid,title:h(e.title),search:e.iid+" "+e.title}})}})})}},{key:"setupMilestones",value:function(t){t.atwho({at:"%",alias:"milestones",searchKey:"search",insertTpl:"${atwho-at}${title}",displayTpl:function(t){var n=e.Loading.template;return null!=t.title&&(n=e.Milestones.template),n},data:e.defaultLoadingData,callbacks:c({},this.getDefaultCallbacks(),{beforeSave:function(e){return i.a.map(e,function(e){return null==e.title?e:{id:e.iid,title:h(e.title),search:e.title}})}})})}},{key:"setupMergeRequests",value:function(t){t.atwho({at:"!",alias:"mergerequests",searchKey:"search",displayTpl:function(t){var n=e.Loading.template;return null!=t.title&&(n=e.Issues.template),n},data:e.defaultLoadingData,insertTpl:"${atwho-at}${id}",callbacks:c({},this.getDefaultCallbacks(),{beforeSave:function(e){return i.a.map(e,function(e){return null==e.title?e:{id:e.iid,title:h(e.title),search:e.iid+" "+e.title}})}})})}},{key:"setupLabels",value:function(t){var n=this.fetchData.bind(this),r="/label",o="/unlabel",a="/relabel",s="";t.atwho({at:"~",alias:"labels",searchKey:"search",data:e.defaultLoadingData,displayTpl:function(t){var n=e.Labels.template;return e.isLoading(t)&&(n=e.Loading.template),n},insertTpl:"${atwho-at}${title}",callbacks:c({},this.getDefaultCallbacks(),{beforeSave:function(t){return e.isLoading(t)?t:i.a.map(t,function(e){return{title:h(e.title),color:e.color,search:e.title,set:e.set}})},matcher:function(t,n){var i=e.defaultMatcher(t,n,this.app.controllers),u=n.split(/\n+/g).pop().split(e.regexSubtext);return s=u.find(function(e){return e===r||e===a||e===o?e:null}),i&&i.length?i[1]:null},filter:function(t,a,u){return e.isLoading(a)?(n(this.$inputor,this.at),a):a===e.defaultLoadingData?i.a.fn.atwho.default.callbacks.filter(t,a,u):s===r?a.filter(function(e){return!e.set}):s===o?a.filter(function(e){return e.set}):a}})})}},{key:"getDefaultCallbacks",value:function(){var t=this.fetchData.bind(this);return{sorter:function(t,n,r){return this.setting.highlightFirst=this.setting.alwaysHighlightFirst||t.length>0,e.isLoading(n)?(this.setting.highlightFirst=!1,n):i.a.fn.atwho.default.callbacks.sorter(t,n,r)},filter:function(n,r,o){return e.isLoading(r)?(t(this.$inputor,this.at),r):i.a.fn.atwho.default.callbacks.filter(n,r,o)},beforeInsert:function(e){var t=e.substring(1),n=e.charAt();e&&!this.setting.skipSpecialCharacterTest&&(t&&("~"===n?/\W|^\d+$/:/\W/).test(t)&&(t='"'+t+'"'));return this.setting.skipMarkdownCharacterTest||(t=t.replace(/([~\-_*`])/g,"\\$&")),""+n+t},matcher:function(t,n){var r=e.defaultMatcher(t,n,this.app.controllers);return r?r[1]:null}}}},{key:"fetchData",value:function(t,r){var i=this;if(!this.isLoadingData[r]){this.isLoadingData[r]=!0;var o=this.dataSources[e.atTypeMap[r]];this.cachedData[r]?this.loadData(t,r,this.cachedData[r]):"emojis"===e.atTypeMap[r]?n.e(86).then(n.bind(null,292)).then(function(n){var o=n.validEmojiNames,a=n.glEmojiTag;i.loadData(t,r,o),e.glEmojiTag=a}).catch(function(){i.isLoadingData[r]=!1}):o?u.a.retrieve(o,!0).then(function(e){i.loadData(t,r,e)}).catch(function(){i.isLoadingData[r]=!1}):this.isLoadingData[r]=!1}}},{key:"loadData",value:function(e,t,n){return this.isLoadingData[t]=!1,this.cachedData[t]=n,e.atwho("load",t,n),e.trigger("keyup")}},{key:"clearCache",value:function(){this.cachedData={}}},{key:"destroy",value:function(){this.input.each(function(e,t){i()(t).atwho("destroy")})}}],[{key:"isLoading",value:function(t){var n=t;t&&t.length>0&&(n=l(t,1)[0]);var r=e.defaultLoadingData[0];return n&&(n===r||n.name===r)}},{key:"defaultMatcher",value:function(t,n,r){var i=Object.keys(r).join("|"),o=Object.keys(r).join(""),a=n.split(e.regexSubtext).pop(),s=t.replace(/[-[\]/{}()*+?.\\^$|]/g,"\\$&"),u=decodeURI("%C3%80"),c=decodeURI("%C3%BF");return new RegExp("^(?:\\B|[^a-zA-Z0-9_`"+o+"]|\\s)"+s+"(?!"+i+")((?:[A-Za-z"+u+"-"+c+"0-9_'.+-]|[^\\x00-\\x7a])*)$","gi").exec(a)}}]),e}();p.regexSubtext=new RegExp(/\s+/g),p.defaultLoadingData=["loading"],p.atTypeMap={":":"emojis","@":"members","#":"issues","!":"mergeRequests","&":"epics","~":"labels","%":"milestones","/":"commands"},p.glEmojiTag=null,p.Emoji={templateFunction:function(e){return p.glEmojiTag?"<li>"+e+" "+p.glEmojiTag(e)+"</li>":"<li>"+e+"</li>"}},p.Members={template:"<li>${avatarTag} ${username} <small>${title}</small></li>"},p.Labels={template:'<li><span class="dropdown-label-box" style="background: ${color}"></span> ${title}</li>'},p.Issues={template:"<li><small>${id}</small> ${title}</li>"},p.Milestones={template:"<li>${title}</li>"},p.Loading={template:'<li style="pointer-events: none;"><i class="fa fa-spinner fa-spin"></i> Loading...</li>'};t.a=p},530:function(e,t){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}},54:function(e,t,n){"use strict";var r=n(3),i=n.n(r),o=n(149),a=n(11),s=n(7),u=n(104),c=n(33),l=n(527),f=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();var h=new(function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,l["a"]),f(t,[{key:"retrieve",value:function(e){var t=this;return this.hasData(e)?Promise.resolve(this.get(e)):c.a.users("",{username:e}).then(function(n){var r=n.data;if(!r.length)throw new Error('User "'+e+'" could not be found!');if(r.length>1)throw new Error('Expected username "'+e+'" to be unique!');var i=r[0];return t.internalStorage[e]=i,i})}}]),t}()),d=n(64),p=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();var v=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}return p(e,null,[{key:"getLastVisualTokenBeforeInput",value:function(){var e=u.a.container.querySelector(".input-token"),t=e&&e.previousElementSibling;return{lastVisualToken:t,isLastVisualTokenValid:null===t||-1!==t.className.indexOf("filtered-search-term")||t&&null!==t.querySelector(".value")}}},{key:"getEndpointWithQueryParams",value:function(e,t){return t?e+"?"+Object(a.A)(JSON.parse(t)):e}},{key:"unselectTokens",value:function(){var e=u.a.container.querySelectorAll(".js-visual-token .selectable.selected");[].forEach.call(e,function(e){return e.classList.remove("selected")})}},{key:"selectToken",value:function(t){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=t.classList.contains("selected");e.unselectTokens(),r&&!n||t.classList.add("selected")}},{key:"removeSelectedToken",value:function(){var e=u.a.container.querySelector(".js-visual-token .selected");if(e){var t=e.closest(".js-visual-token");t.parentElement.removeChild(t)}}},{key:"createVisualTokenElementHTML",value:function(){return'\n      <div class="'+(!(arguments.length>0&&void 0!==arguments[0])||arguments[0]?"selectable":"hidden")+'" role="button">\n        <div class="name"></div>\n        <div class="value-container">\n          <div class="value"></div>\n          <div class="remove-token" role="button">\n            <i class="fa fa-close"></i>\n          </div>\n        </div>\n      </div>\n    '}},{key:"setTokenStyle",value:function(e,t,n){var r=e;(-1===t.indexOf("linear-gradient")&&(r.style.backgroundColor=t),r.style.color=n,"#FFFFFF"===n)&&r.querySelector(".remove-token").classList.add("inverted");return r}},{key:"preprocessLabel",value:function(e,t){var n=t;return t.preprocessed||(n=d.a.duplicateLabelPreprocessing(t),o.a.override(e,n),n.preprocessed=!0),n}},{key:"updateLabelTokenColor",value:function(t,n){var r=u.a.container.querySelector(".filtered-search"),i=r.dataset.baseEndpoint,a=e.getEndpointWithQueryParams(i+"/labels.json",r.dataset.endpointQueryParams);return o.a.retrieve(a).then(e.preprocessLabel.bind(null,a)).then(function(r){var i=(r||[]).find(function(e){return"~"+d.a.getEscapedText(e.title)===n});i&&e.setTokenStyle(t,i.color,i.text_color)}).catch(function(){return new s.a("An error occurred while fetching label colors.")})}},{key:"updateUserTokenAppearance",value:function(e,t,n){if("none"===n)return Promise.resolve();var r=n.replace(/^@/,"");return h.retrieve(r).then(function(r){r&&(e.dataset.originalValue=n,t.innerHTML='\n          <img class="avatar s20" src="'+r.avatar_url+'" alt="">\n          '+i.a.escape(r.name)+"\n        ")}).catch(function(){})}},{key:"updateEmojiTokenAppearance",value:function(e,t,r){var i=e,o=t;return n.e(86).then(n.bind(null,292)).then(function(e){e.isEmojiNameValid(r)&&(i.dataset.originalValue=r,o.innerHTML=e.glEmojiTag(r))}).catch(function(){})}},{key:"renderVisualTokenValue",value:function(t,n,r){var i=t.querySelector(".value-container"),o=i.querySelector(".value");o.innerText=r;var a=n.toLowerCase();"label"===a?e.updateLabelTokenColor(i,r):"author"===a||"assignee"===a?e.updateUserTokenAppearance(i,o,r):"my-reaction"===a&&e.updateEmojiTokenAppearance(i,o,r)}},{key:"addVisualTokenElement",value:function(t,n,r,i){var o=document.createElement("li");o.classList.add("js-visual-token"),o.classList.add(r?"filtered-search-term":"filtered-search-token"),n?(o.innerHTML=e.createVisualTokenElementHTML(i),e.renderVisualTokenValue(o,t,n)):o.innerHTML='<div class="name"></div>',o.querySelector(".name").innerText=t;var a=u.a.container.querySelector(".tokens-container"),s=u.a.container.querySelector(".filtered-search");a.insertBefore(o,s.parentElement)}},{key:"addValueToPreviousVisualTokenElement",value:function(t){var n=e.getLastVisualTokenBeforeInput(),r=n.lastVisualToken;if(!n.isLastVisualTokenValid&&r.classList.contains("filtered-search-token")){var i=e.getLastTokenPartial();r.innerHTML=e.createVisualTokenElementHTML(),r.querySelector(".name").innerText=i,e.renderVisualTokenValue(r,i,t)}}},{key:"addFilterVisualToken",value:function(t,n,r){var i=e.getLastVisualTokenBeforeInput(),o=i.lastVisualToken,a=i.isLastVisualTokenValid,s=e.addVisualTokenElement;if(a)s(t,n,!1,r);else{var c=o.querySelector(".name").innerText;u.a.container.querySelector(".tokens-container").removeChild(o),s(c,n||t,!1,r)}}},{key:"addSearchVisualToken",value:function(t){var n=e.getLastVisualTokenBeforeInput().lastVisualToken;n&&n.classList.contains("filtered-search-term")?n.querySelector(".name").innerText+=" "+t:e.addVisualTokenElement(t,null,!0)}},{key:"getLastTokenPartial",value:function(){var t=e.getLastVisualTokenBeforeInput().lastVisualToken;if(!t)return"";var n=t.querySelector(".value-container"),r=n&&n.dataset.originalValue;if(r)return r;var i=t.querySelector(".value"),o=t.querySelector(".name"),a=i?i.innerText:"",s=o?o.innerText:"";return a||s}},{key:"removeLastTokenPartial",value:function(){var t=e.getLastVisualTokenBeforeInput().lastVisualToken;if(t)if(t.querySelector(".value")){var n=t.querySelector(".selectable"),r=t.querySelector(".value-container");n.removeChild(r),t.innerHTML=n.innerHTML}else t.closest(".tokens-container").removeChild(t)}},{key:"tokenizeInput",value:function(){var t=u.a.container.querySelector(".filtered-search"),n=e.getLastVisualTokenBeforeInput().isLastVisualTokenValid;t.value&&(n?e.addSearchVisualToken(t.value):e.addValueToPreviousVisualTokenElement(t.value),t.value="")}},{key:"editToken",value:function(t){var n=u.a.container.querySelector(".filtered-search");e.tokenizeInput();var r=t.parentElement,i=n.parentElement;r.replaceChild(i,t);var o=t.querySelector(".name"),a=void 0;if(t.classList.contains("filtered-search-token")){e.addFilterVisualToken(o.innerText);var s=t.querySelector(".value-container");if(!(a=s.dataset.originalValue))a=s.querySelector(".value").innerText}a||(a=o.innerText),n.value=a;var c=new Event("input");n.dispatchEvent(c),n.focus()}},{key:"moveInputToTheRight",value:function(){var t=u.a.container.querySelector(".filtered-search");if(t){var n=t.parentElement,r=u.a.container.querySelector(".tokens-container");if(e.tokenizeInput(),!r.lastElementChild.isEqualNode(n)){if(!e.getLastVisualTokenBeforeInput().isLastVisualTokenValid){var i=e.getLastTokenPartial();e.removeLastTokenPartial(),e.addSearchVisualToken(i)}r.removeChild(n),r.appendChild(n)}}}}]),e}();t.a=v},626:function(e,t,n){(function(){var e,r,i,o,a,s,u;u=n(491),o=u.isMatch,e=u.computeScore,s=u.scoreSize,t.score=function(t,n,r){var i,s,u;return i=r.preparedQuery,r.allowErrors||o(t,i.core_lw,i.core_up)?(u=t.toLowerCase(),s=e(t,u,i),s=a(t,u,s,r),Math.ceil(s)):0},a=function(t,n,o,a){var u,c,l,f,h,d,p,v,m,g;if(0===o)return 0;for(m=a.preparedQuery,g=a.useExtensionBonus,v=a.pathSeparator,h=t.length-1;t[h]===v;)h--;if(p=h-(l=t.lastIndexOf(v,h)),d=1,g&&(o*=d+=i(n,m.ext,l,h,2)),-1===l)return o;for(f=m.depth;l>-1&&f-- >0;)l=t.lastIndexOf(v,l-1);return c=-1===l?o:d*e(t.slice(l+1,h+1),n.slice(l+1,h+1),m),(u=6.5/(13+r(t,h+1,v)))*c+(1-u)*o*s(0,1.2*p)},t.countDir=r=function(e,t,n){var r,i;if(t<1)return 0;for(r=0,i=-1;++i<t&&e[i]===n;);for(;++i<t;)if(e[i]===n)for(r++;++i<t&&e[i]===n;);return r},t.getExtension=function(e){var t;return(t=e.lastIndexOf("."))<0?"":e.substr(t+1)},i=function(e,t,n,r,o){var a,s,u,c;if(!t.length)return 0;if(!((c=e.lastIndexOf(".",r))>n))return 0;for((a=r-c)<(u=t.length)&&(u=a,a=t.length),c++,s=-1;++s<u&&e[c+s]===t[s];);return 0===s&&o>0?.9*i(e,t,n,c-2,o-1):s/a}}).call(this)},627:function(e,t,n){"use strict";(function(t){var r=n(264),i=n(1319),o={"Content-Type":"application/x-www-form-urlencoded"};function a(e,t){!r.isUndefined(e)&&r.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}var s,u={adapter:("undefined"!=typeof XMLHttpRequest?s=n(697):void 0!==t&&(s=n(697)),s),transformRequest:[function(e,t){return i(t,"Content-Type"),r.isFormData(e)||r.isArrayBuffer(e)||r.isBuffer(e)||r.isStream(e)||r.isFile(e)||r.isBlob(e)?e:r.isArrayBufferView(e)?e.buffer:r.isURLSearchParams(e)?(a(t,"application/x-www-form-urlencoded;charset=utf-8"),e.toString()):r.isObject(e)?(a(t,"application/json;charset=utf-8"),JSON.stringify(e)):e}],transformResponse:[function(e){if("string"==typeof e)try{e=JSON.parse(e)}catch(e){}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,validateStatus:function(e){return e>=200&&e<300}};u.headers={common:{Accept:"application/json, text/plain, */*"}},r.forEach(["delete","get","head"],function(e){u.headers[e]={}}),r.forEach(["post","put","patch"],function(e){u.headers[e]=r.merge(o)}),e.exports=u}).call(this,n(221))},628:function(e,t,n){"use strict";var r=n(0),i=n.n(r);n(1326);i.a.fn.extend({disable:function(){return i()(this).prop("disabled",!0).addClass("disabled")},enable:function(){return i()(this).prop("disabled",!1).removeClass("disabled")}})},629:function(e,t,n){var r=n(216),i=n(175),o=n(498),a=n(702),s=n(309).f;e.exports=function(e){var t=i.Symbol||(i.Symbol=o?{}:r.Symbol||{});"_"==e.charAt(0)||e in t||s(t,e,{value:a.f(e)})}},630:function(e,t,n){"use strict";var r=n(501);e.exports.f=function(e){return new function(e){var t,n;this.promise=new e(function(e,r){if(void 0!==t||void 0!==n)throw TypeError("Bad Promise constructor");t=e,n=r}),this.resolve=r(t),this.reject=r(n)}(e)}},631:function(e,t){t.f=Object.getOwnPropertySymbols},632:function(e,t,n){var r=n(185)("iterator"),i=!1;try{var o=[7][r]();o.return=function(){i=!0},Array.from(o,function(){throw 2})}catch(e){}e.exports=function(e,t){if(!t&&!i)return!1;var n=!1;try{var o=[7],a=o[r]();a.next=function(){return{done:n=!0}},o[r]=function(){return a},e(o)}catch(e){}return n}},633:function(e,t,n){var r=n(393),i=n(185)("toStringTag"),o="Arguments"==r(function(){return arguments}());e.exports=function(e){var t,n,a;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=Object(e),i))?n:o?r(t):"Object"==(a=r(t))&&"function"==typeof t.callee?"Arguments":a}},634:function(e,t){e.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},635:function(e,t,n){var r=n(640)("keys"),i=n(432);e.exports=function(e){return r[e]||(r[e]=i(e))}},636:function(e,t,n){var r=n(297),i=n(1374),o=n(634),a=n(635)("IE_PROTO"),s=function(){},u=function(){var e,t=n(644)("iframe"),r=o.length;for(t.style.display="none",n(715).appendChild(t),t.src="javascript:",(e=t.contentWindow.document).open(),e.write("<script>document.F=Object<\/script>"),e.close(),u=e.F;r--;)delete u.prototype[o[r]];return u()};e.exports=Object.create||function(e,t){var n;return null!==e?(s.prototype=r(e),n=new s,s.prototype=null,n[a]=e):n=u(),void 0===t?n:i(n,t)}},637:function(e,t,n){"use strict";var r=n(498),i=n(217),o=n(337),a=n(363),s=n(308),u=n(428),c=n(1375),l=n(426),f=n(1373),h=n(185)("iterator"),d=!([].keys&&"next"in[].keys()),p=function(){return this};e.exports=function(e,t,n,v,m,g,y){c(n,t,v);var b,w,E,_=function(e){if(!d&&e in k)return k[e];switch(e){case"keys":case"values":return function(){return new n(this,e)}}return function(){return new n(this,e)}},C=t+" Iterator",T="values"==m,x=!1,k=e.prototype,S=k[h]||k["@@iterator"]||m&&k[m],A=!d&&S||_(m),O=m?T?_("entries"):A:void 0,j="Array"==t&&k.entries||S;if(j&&(E=f(j.call(new e)))!==Object.prototype&&E.next&&(l(E,C,!0),r||s(E,h)||a(E,h,p)),T&&S&&"values"!==S.name&&(x=!0,A=function(){return S.call(this)}),r&&!y||!d&&!x&&k[h]||a(k,h,A),u[t]=A,u[C]=p,m)if(b={values:T?A:_("values"),keys:g?A:_("keys"),entries:O},y)for(w in b)w in k||o(k,w,b[w]);else i(i.P+i.F*(d||x),t,b);return b}},638:function(e,t,n){"use strict";var r=n(718)(!0);n(637)(String,"String",function(e){this._t=String(e),this._i=0},function(){var e,t=this._t,n=this._i;return n>=t.length?{value:void 0,done:!0}:(e=r(t,n),this._i+=e.length,{value:e,done:!1})})},639:function(e,t,n){var r=n(393);e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==r(e)?e.split(""):Object(e)}},64:function(e,t,n){"use strict";var r=n(3),i=n.n(r),o=n(104),a=n(147),s=n(267),u=n(54),c=function(){return function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){i=!0,o=e}finally{try{!r&&s.return&&s.return()}finally{if(i)throw o}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),l=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();var f=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}return l(e,null,[{key:"getEscapedText",value:function(e){var t=e,n=-1!==e.indexOf(" "),r=-1!==e.indexOf('"');return n&&(t=r?"'"+e+"'":'"'+e+'"'),t}},{key:"filterWithSymbol",value:function(t,n,r){var i=r,o=e.getSearchInput(n),a=i.title.toLowerCase(),s=o.toLowerCase(),u="";s[0]===t&&(u=c(s,1)[0],s=s.slice(1));'"'!==s[0]&&"'"!==s[0]||-1===a.indexOf(" ")||(s=s.slice(1));var l=u===t&&-1!==a.indexOf(s),f=-1!==a.indexOf(""+u+s);return i.droplab_hidden=!f&&!l,i}},{key:"mergeDuplicateLabels",value:function(e,t){var n=e,r=t.title;if(Object.prototype.hasOwnProperty.call(n,r)){var i=n[r];i.multipleColors||(i.multipleColors=[i.color]),i.multipleColors.push(t.color)}else n[r]=t;return n}},{key:"duplicateLabelColor",value:function(e){var t=e,n=100/t.length;return t.length=Math.min(t.length,4),"linear-gradient("+t.map(function(e,t){return e+" "+Math.floor(n*t)+"%, "+e+" "+Math.floor(n*(t+1))+"%"}).join(", ")+")"}},{key:"duplicateLabelPreprocessing",value:function(t){var n=[],r={};return t.forEach(e.mergeDuplicateLabels.bind(null,r)),Object.keys(r).forEach(function(t){var i=r[t];i.multipleColors&&(i.color=e.duplicateLabelColor(i.multipleColors),i.text_color="#000000"),n.push(i)}),n.preprocessed=!0,n}},{key:"filterHint",value:function(t,n){var r=t.input,o=t.allowedKeys,s=n,u=e.getSearchQuery(r),c=a.a.processTokens(u,o),l=c.lastToken,f=c.tokens,h=l.key||l||"",d="array"===n.type,p=f.some(function(e){return e.key===n.hint});if(!d&&p)s.droplab_hidden=!0;else if(h&&" "!==i.a.last(u.split(""))){if(h){var v=h.split(":"),m=i.a.last(v[0].split(" ")),g=-1===s.hint.indexOf(m.toLowerCase());s.droplab_hidden=!!m&&g}}else s.droplab_hidden=!1;return s}},{key:"setDataValueIfSelected",value:function(e,t){var n=t.getAttribute("data-value");return n&&s.a.addWordToInput(e,n,!0),null!==n}},{key:"getVisualTokenValues",value:function(e){var t=e&&e.querySelector(".name").textContent.trim(),n=e&&e.querySelector(".value")&&e.querySelector(".value").textContent.trim();return"label"===t&&n&&(n=n.replace(/^~("|')?(.*)/,"$2").replace(/("|')$/,"")),{tokenName:t,tokenValue:n}}},{key:"getSearchQuery",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=o.a.container,n=[].slice.call(t.querySelectorAll(".tokens-container li")),r=[];if(e){var a=i.a.findIndex(n,function(e){return e.classList.contains("input-token")});n.splice(a+1)}return n.forEach(function(e){if(e.classList.contains("js-visual-token")){var t=e.querySelector(".name"),n=e.querySelector(".value"),i=e.querySelector(".value-container"),a=n&&n.dataset.symbol?n.dataset.symbol:"",s="";i&&i.dataset.originalValue?s=i.dataset.originalValue:n&&n.innerText&&(s=n.innerText),-1!==e.className.indexOf("filtered-search-token")?r.push(t.innerText.toLowerCase()+":"+a+s):r.push(t.innerText)}else if(e.classList.contains("input-token")){var c=u.a.getLastVisualTokenBeforeInput().isLastVisualTokenValid,l=o.a.container.querySelector(".filtered-search"),f=l&&l.value;if(c)r.push(f);else{var h=r.pop();r.push(""+h+f)}}}),r.map(function(e){return e.trim()}).join(" ")}},{key:"getSearchInput",value:function(t){var n=t.value,r=e.getInputSelectionPosition(t).right;return n.slice(0,r)}},{key:"getInputSelectionPosition",value:function(e){var t=e.selectionStart,n=e.value,r=(n=n.replace(/(('[^']*'{0,1})|("[^"]*"{0,1})|:\s+)/g,function(e){return e.replace(/\s/g,"_")})).slice(t).search(/\s/);r>=0?r+=t:r<0&&(r=n.length);var i=n.slice(0,r).search(/\S+$/);return 0===t?i=0:t===n.length&&i<0?i=n.length:i<0&&(i=t),{left:i,right:r}}}]),e}();t.a=f},640:function(e,t,n){var r=n(216),i=r["__core-js_shared__"]||(r["__core-js_shared__"]={});e.exports=function(e){return i[e]||(i[e]={})}},641:function(e,t){var n=Math.ceil,r=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?r:n)(e)}},642:function(e,t,n){var r=n(641),i=Math.max,o=Math.min;e.exports=function(e,t){return(e=r(e))<0?i(e+t,0):o(e,t)}},643:function(e,t,n){var r=n(215);e.exports=function(e,t){if(!r(e))return e;var n,i;if(t&&"function"==typeof(n=e.toString)&&!r(i=n.call(e)))return i;if("function"==typeof(n=e.valueOf)&&!r(i=n.call(e)))return i;if(!t&&"function"==typeof(n=e.toString)&&!r(i=n.call(e)))return i;throw TypeError("Can't convert object to primitive value")}},644:function(e,t,n){var r=n(215),i=n(216).document,o=r(i)&&r(i.createElement);e.exports=function(e){return o?i.createElement(e):{}}},66:function(e,t,n){"use strict";var r=n(0),i=n.n(r);var o={init:function(){var e=document.querySelector("meta[name=csrf-token]");this.csrfToken=null!==e?e.getAttribute("content"):null},get token(){return this.csrfToken},get headerKey(){return"X-CSRF-Token"},get headers(){return null!==this.csrfToken?(e={},t=this.headerKey,n=this.token,t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e):{};var e,t,n}};o.init(),i.a.rails&&(i.a.rails.csrfToken=function(){return o.token}),t.a=o},681:function(e,t,n){(function(e){var r=void 0!==e&&e||"undefined"!=typeof self&&self||window,i=Function.prototype.apply;function o(e,t){this._id=e,this._clearFn=t}t.setTimeout=function(){return new o(i.call(setTimeout,r,arguments),clearTimeout)},t.setInterval=function(){return new o(i.call(setInterval,r,arguments),clearInterval)},t.clearTimeout=t.clearInterval=function(e){e&&e.close()},o.prototype.unref=o.prototype.ref=function(){},o.prototype.close=function(){this._clearFn.call(r,this._id)},t.enroll=function(e,t){clearTimeout(e._idleTimeoutId),e._idleTimeout=t},t.unenroll=function(e){clearTimeout(e._idleTimeoutId),e._idleTimeout=-1},t._unrefActive=t.active=function(e){clearTimeout(e._idleTimeoutId);var t=e._idleTimeout;t>=0&&(e._idleTimeoutId=setTimeout(function(){e._onTimeout&&e._onTimeout()},t))},n(1324),t.setImmediate="undefined"!=typeof self&&self.setImmediate||void 0!==e&&e.setImmediate||this&&this.setImmediate,t.clearImmediate="undefined"!=typeof self&&self.clearImmediate||void 0!==e&&e.clearImmediate||this&&this.clearImmediate}).call(this,n(174))},692:function(e,t,n){(function(){var t,r,i,o,a,s,u;u=n(626),r=u.countDir,o=u.getExtension,e.exports=function(){return function(e,n){var a,u,c;if(a=(c=null!=n?n:{}).optCharRegEx,u=c.pathSeparator,!e||!e.length)return null;this.query=e,this.query_lw=e.toLowerCase(),this.core=t(e,a),this.core_lw=this.core.toLowerCase(),this.core_up=s(this.core),this.depth=r(e,e.length,u),this.ext=o(this.query_lw),this.charCodes=i(this.query_lw)}}(),a=/[ _\-:\/\\]/g,t=function(e,t){return null==t&&(t=a),e.replace(t,"")},s=function(e){var t,n,r;for(t="",n=0,r=e.length;n<r;n++)t+=e[n].toUpperCase()[0];return t},i=function(e){var t,n,r;for(r=e.length,n=-1,t=[];++n<r;)t[e.charCodeAt(n)]=!0;return t}}).call(this)},693:function(e,t,n){"use strict";var r,i,o,a,s=n(0),u=n.n(s),c=n(3),l=n.n(c),f=n(260),h=n.n(f),d=n(5),p=n(21),v=n(478),m="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};a=function(){function e(e,t){var n=this;this.input=e,this.options=t,this.fieldName=this.options.fieldName||"field-name",this.input.parent().find(".js-dropdown-input-clear").on("click",function(e){return function(t){return t.preventDefault(),t.stopPropagation(),e.input.val("").trigger("input").focus()}}(this)),this.input.on("keydown",function(e){13!==e.which||t.elIsInput||e.preventDefault()}).on("input",function(e){var t=e.currentTarget.value||n.options.inputFieldName;t=t.split(" ").join("-").replace(/[^a-zA-Z0-9 -]/g,"").toLowerCase().replace(/(-)\1+/g,"-"),n.cb(n.options.fieldName,t,{},!0),n.input.closest(".dropdown").find(".dropdown-toggle-text").text(t)})}return e.prototype.onInput=function(e){this.cb=e},e}(),i=function(){var e,t;function n(e,n){var r,i,o,a;this.input=e,this.options=n,this.filterInputBlur=null==(i=this.options.filterInputBlur)||i,(r=this.input.parent()).find(".js-dropdown-input-clear").on("click",(a=this,function(e){return e.preventDefault(),e.stopPropagation(),a.input.val("").trigger("input").focus()})),o="",this.input.on("keydown",function(e){13!==e.which||n.elIsInput||e.preventDefault()}).on("input",function(){return""===this.input.val()||r.hasClass(t)?""===this.input.val()&&r.hasClass(t)&&r.removeClass(t):r.addClass(t),this.options.remote?(clearTimeout(o),o=setTimeout(function(){return r.parent().addClass("is-loading"),this.options.query(this.input.val(),function(e){return r.parent().removeClass("is-loading"),this.options.callback(e)}.bind(this))}.bind(this),250)):this.filter(this.input.val())}.bind(this))}return e=[27,40],[38,40],t="has-value",n.prototype.shouldBlur=function(t){return-1!==e.indexOf(t)},n.prototype.filter=function(e){var t,n,r,i,o,a;if(this.options.onFilter&&this.options.onFilter(e),null!=(t=this.options.data())&&!this.options.filterByText){if(o=t,""!==e)if(l.a.isArray(t))o=h.a.filter(t,e,{key:this.options.keys});else if(Object(v.a)(t))for(i in o={},t)r=t[i],(a=h.a.filter(r,e,{key:this.options.keys})).length&&(o[i]=a.map(function(e){return e}));return this.options.callback(o)}n=this.options.elements(),e?n.each(function(){var t,n;if(t=u()(this),n=h.a.match(t.text().trim(),e),!t.is(".dropdown-header"))return n.length?t.show().removeClass("option-hidden"):t.hide().addClass("option-hidden")}):n.show().removeClass("option-hidden"),n.parent().find(".dropdown-menu-empty-item").toggleClass("hidden",n.is(":visible"))},n}(),o=function(){function e(e,t){this.dataEndpoint=e,this.options=t}return e.prototype.execute=function(){return"string"==typeof this.dataEndpoint?this.fetchData():"function"==typeof this.dataEndpoint?(this.options.beforeSend&&this.options.beforeSend(),this.dataEndpoint("",(e=this,function(t){if(e.options.success&&e.options.success(t),e.options.beforeSend)return e.options.beforeSend()}))):void 0;var e},e.prototype.fetchData=function(){var e=this;return this.options.beforeSend&&this.options.beforeSend(),d.a.get(this.dataEndpoint).then(function(t){var n=t.data;if(e.options.success)return e.options.success(n)})},e}(),r=function(){var e,t,n,r,s;function c(c,f){var h,d,p,v;this.el=c,this.options=f,this.updateLabel=this.updateLabel.bind(this),this.hidden=this.hidden.bind(this),this.opened=this.opened.bind(this),this.shouldPropagate=this.shouldPropagate.bind(this),d=u()(this.el).data("target"),this.dropdown=null!=d?u()(d):u()(this.el).parent(),this.filterInput=this.options.filterInput||this.getElement(e),this.noFilterInput=this.options.noFilterInput||this.getElement(t),this.highlight=!!this.options.highlight,this.icon=!!this.options.icon,this.filterInputBlur=null==this.options.filterInputBlur||this.options.filterInputBlur,p=this,l.a.isString(this.filterInput)&&(this.filterInput=this.getElement(this.filterInput)),h=this.options.search?this.options.search.fields:[],this.options.data&&(l.a.isObject(this.options.data)&&!l.a.isFunction(this.options.data)?(this.fullData=this.options.data,s=-1,this.parseData(this.options.data),this.focusTextInput()):this.remote=new o(this.options.data,{dataType:this.options.dataType,beforeSend:this.toggleLoading.bind(this),success:(v=this,function(e){if(v.fullData=e,v.parseData(v.fullData),v.focusTextInput(),v.options.filterable&&v.filter&&v.filter.input&&v.filter.input.val()&&""!==v.filter.input.val().trim())return v.filter.input.trigger("input")}),instance:this})),this.noFilterInput.length&&(this.plainInput=new a(this.noFilterInput,this.options),this.plainInput.onInput(this.addInput.bind(this))),this.options.filterable&&(this.filter=new i(this.filterInput,{elIsInput:u()(this.el).is("input"),filterInputBlur:this.filterInputBlur,filterByText:this.options.filterByText,onFilter:this.options.onFilter,remote:this.options.filterRemote,query:this.options.data,keys:h,instance:this,elements:function(e){return function(){return d=".dropdown-content li:not("+n+")",e.dropdown.find(".dropdown-toggle-page").length&&(d=".dropdown-page-one "+d),u()(d,this.instance.dropdown)}}(this),data:function(e){return function(){return e.fullData}}(this),callback:function(e){return function(t){e.parseData(t),""!==e.filterInput.val()&&(d=r,e.dropdown.find(".dropdown-toggle-page").length&&(d=".dropdown-page-one "+d),u()(e.el).is("input")?s=-1:(u()(d,e.dropdown).first().find("a").addClass("is-focused"),s=0))}}(this)})),this.dropdown.on("shown.bs.dropdown",this.opened),this.dropdown.on("hidden.bs.dropdown",this.hidden),u()(this.el).on("update.label",this.updateLabel),this.dropdown.on("click",".dropdown-menu, .dropdown-menu-close",this.shouldPropagate),this.dropdown.on("keyup",function(e){return function(t){if(27===t.which)return u()(".dropdown-menu-close",e.dropdown).trigger("click")}}(this)),this.dropdown.on("blur","a",function(e){return function(t){if(null!=t.relatedTarget&&0===u()(t.relatedTarget).closest(".dropdown-menu").length)return e.dropdown.removeClass("show")}}(this)),this.dropdown.find(".dropdown-toggle-page").length&&this.dropdown.find(".dropdown-toggle-page, .dropdown-menu-back").on("click",function(e){return function(t){return t.preventDefault(),t.stopPropagation(),e.togglePage()}}(this)),this.options.selectable&&(d=".dropdown-content a",this.dropdown.find(".dropdown-toggle-page").length&&(d=".dropdown-page-one .dropdown-content a"),this.dropdown.on("click",d,function(e){var t,n,r,i;t=u()(e.currentTarget),r=(n=p.rowClicked(t))?n[0]:null,i=n?n[1]:null,this.options.clicked&&this.options.clicked.call(this,{selectedObj:r,$el:t,e:e,isMarking:i}),this.options.toggleLabel&&this.updateLabel(r,t,this),t.trigger("blur")}.bind(this)))}return"is-loading","is-page-two","is-active","is-indeterminate",s=-1,r=".dropdown-content li:not("+(n=".divider, .separator, .dropdown-header, .dropdown-menu-empty-item")+", .option-hidden)",5,e=".dropdown-input .dropdown-input-field:not(.dropdown-no-filter)",t=".dropdown-input .dropdown-input-field.dropdown-no-filter",c.prototype.getElement=function(e){return this.dropdown.find(e)},c.prototype.toggleLoading=function(){return u()(".dropdown-menu",this.dropdown).toggleClass("is-loading")},c.prototype.togglePage=function(){var e;return(e=u()(".dropdown-menu",this.dropdown)).hasClass("is-page-two")&&this.remote&&this.remote.execute(),e.toggleClass("is-page-two"),this.dropdown.find('[class^="dropdown-page-"]:visible :text:visible:first').focus()},c.prototype.parseData=function(e){var t,n,r,i;if(this.renderedData=e,this.options.filterable&&0===e.length)r=[this.noResults()];else if(Object(v.a)(e))for(i in r=[],e)n=e[i],r.push(this.renderItem({header:i},i)),this.renderData(n,i).map(function(e){return r.push(e)});else r=this.renderData(e);return t=this.renderMenu(r),this.appendMenu(t)},c.prototype.renderData=function(e,t){return null==t&&(t=!1),e.map((n=this,function(e,r){return n.renderItem(e,t,r)}));var n},c.prototype.shouldPropagate=function(e){var t;if(this.options.multiSelect||!1===this.options.shouldPropagate)return!((t=u()(e.target))&&!t.hasClass("dropdown-menu-close")&&!t.hasClass("dropdown-menu-close-icon")&&!t.data("isLink"))||(e.stopPropagation(),!1)},c.prototype.filteredFullData=function(){return this.fullData.filter(function(e){return"object"===(void 0===e?"undefined":m(e))&&!Object.prototype.hasOwnProperty.call(e,"beforeDivider")&&!Object.prototype.hasOwnProperty.call(e,"header")})},c.prototype.opened=function(e){var t;this.resetRows(),this.addArrowKeyEvent();var n=this.dropdown.find(".dropdown-menu-toggle"),r=n.hasClass("js-filter-bulk-update"),i=n.hasClass("js-gl-dropdown-refresh-on-open"),o=n.hasClass("js-multiselect");this.fullData&&(i||r)&&this.parseData(this.fullData);var a=this.filterInput.val();return this.fullData&&o&&this.options.processData&&0===a.length&&this.options.processData.call(this.options,a,this.filteredFullData(),this.parseData.bind(this)),t=u()(".dropdown-content",this.dropdown).html(),this.remote&&""===t?this.remote.execute():this.focusTextInput(),this.options.showMenuAbove&&this.positionMenuAbove(),this.options.opened&&(this.options.preserveContext?this.options.opened(e):this.options.opened.call(this,e)),this.dropdown.trigger("shown.gl.dropdown")},c.prototype.positionMenuAbove=function(){var e=this.dropdown.find(".dropdown-menu");e.addClass("dropdown-open-top"),e.css("top","initial"),e.css("bottom","100%")},c.prototype.hidden=function(e){var t;return this.resetRows(),this.removeArrayKeyEvent(),t=this.dropdown.find(".dropdown-input-field"),this.options.filterable&&t.blur(),this.dropdown.find(".dropdown-toggle-page").length&&u()(".dropdown-menu",this.dropdown).removeClass("is-page-two"),this.options.hidden&&this.options.hidden.call(this,e),this.dropdown.trigger("hidden.gl.dropdown")},c.prototype.renderMenu=function(e){if(this.options.renderMenu)return this.options.renderMenu(e);for(var t=document.createElement("ul"),n=0;n<e.length;n+=1){var r=e[n];r instanceof u.a&&(r=r.get(0)),"string"==typeof r?t.innerHTML+=r:t.appendChild(r)}return t},c.prototype.appendMenu=function(e){return this.clearMenu().append(e)},c.prototype.clearMenu=function(){var e;return e=".dropdown-content",this.dropdown.find(".dropdown-toggle-page").length&&(e=this.options.containerSelector?this.options.containerSelector:".dropdown-page-one .dropdown-content"),u()(e,this.dropdown).empty()},c.prototype.renderItem=function(e,t,n){var r,i,o,a,s;if(this.options.renderRow||(s=this.options.id?this.options.id(e):e.id)&&(s=s.toString().replace(/'/g,"\\'")),this.options.hideRow&&this.options.hideRow(s)&&!0,null==t&&(t=!1),null==n&&(n=!1),r=document.createElement("li"),"divider"===e||"separator"===e)return r.className=e,r;if(null!=e.header)return r.className="dropdown-header",r.innerHTML=e.header,r;if(this.options.renderRow)r=this.options.renderRow.call(this.options,e,this);else{if(!i){var u=this.options.fieldName;s?this.dropdown.parent().find("input[name='"+u+"'][value='"+s+"']").length&&(i=!0):i=!this.dropdown.parent().find("input[name='"+u+"']").length}a=null!=this.options.url?this.options.url(e):null!=e.url?e.url:"#",o=null!=this.options.text?this.options.text(e):null!=e.text?e.text:"",this.highlight&&(o=e.template?this.highlightTemplate(o,e.template):this.highlightTextMatches(o,this.filterInput.val()));var c=document.createElement("a");c.href=a,this.icon?(o="<span>"+o+"</span>",c.classList.add("d-flex","align-items-center"),c.innerHTML=e.icon?e.icon+o:o):this.highlight?c.innerHTML=o:c.textContent=o,i&&c.classList.add("is-active"),t&&(c.dataset.group=t,c.dataset.index=n),r.appendChild(c)}return r},c.prototype.highlightTemplate=function(e,t){return'"<b>'+l.a.escape(e)+'</b>" '+t},c.prototype.highlightTextMatches=function(e,t){var n=h.a.match(e,t),r=[].indexOf;return e.split("").map(function(e,t){return-1!==r.call(n,t)?"<b>"+e+"</b>":e}).join("")},c.prototype.noResults=function(){return'<li class="dropdown-menu-empty-item"><a>No matching results</a></li>'},c.prototype.rowClicked=function(e){var t,n,r,i,o,a,s,c=this.options.fieldName;return r=u()(this.el).is("input"),this.renderedData&&((n=e.data("group"))?(i=e.data("index"),o=this.renderedData[n][i]):(i=e.closest("li").index(),o=this.renderedData[i])),this.options.vue?(e.hasClass("is-active")?e.removeClass("is-active"):e.addClass("is-active"),[o]):(t=[],a=this.options.id?this.options.id(o,e):o.id,r?t=u()(this.el):null!=a&&(t=this.dropdown.parent().find("input[name='"+c+"'][value='"+a.toString().replace(/'/g,"\\'")+"']")),this.options.isSelectable&&!this.options.isSelectable(o,e)?[o]:(e.hasClass("is-active")&&0!==a?(s=!1,e.removeClass("is-active"),t&&t.length&&this.clearField(t,r)):e.hasClass("is-indeterminate")?(s=!0,e.addClass("is-active"),e.removeClass("is-indeterminate"),t&&t.length&&null==a&&this.clearField(t,r),t&&t.length||!c||this.addInput(c,a,o)):(s=!0,this.options.multiSelect&&!e.hasClass("dropdown-clear-active")||(this.dropdown.find(".is-active").removeClass("is-active"),r||this.dropdown.parent().find("input[name='"+c+"']").remove()),t&&t.length&&null==a&&this.clearField(t,r),e.addClass("is-active"),null!=a&&(t&&t.length||!c?t&&t.length&&t.val(a).trigger("change"):this.addInput(c,a,o))),[o,s]))},c.prototype.focusTextInput=function(){if(this.options.filterable){var e=u()(window).scrollTop();this.dropdown.is(".show")&&!this.filterInput.is(":focus")&&this.filterInput.focus(),u()(window).scrollTop()<e&&u()(window).scrollTop(e)}},c.prototype.addInput=function(e,t,n,r){var i;r&&u()('input[name="'+e+'"]').remove(),i=u()("<input>").attr("type","hidden").attr("name",e).val(t),null!=this.options.inputId&&i.attr("id",this.options.inputId),this.options.multiSelect&&Object.keys(n).forEach(function(e){i.attr("data-"+e,n[e])}),this.options.inputMeta&&i.attr("data-meta",n[this.options.inputMeta]),this.dropdown.before(i).trigger("change")},c.prototype.selectRowAtIndex=function(e){var t,n;if(n=void 0!==e?r+":eq("+e+") a":".dropdown-content .is-focused",this.dropdown.find(".dropdown-toggle-page").length&&(n=".dropdown-page-one "+n),(t=u()(n,this.dropdown)).length){var i=t.attr("href");i&&"#"!==i?Object(p.g)(i):t.trigger("click")}},c.prototype.addArrowKeyEvent=function(){var e,t,n;return e=[38,40],this.dropdown.find(".dropdown-input-field"),t=r,this.dropdown.find(".dropdown-toggle-page").length&&(t=".dropdown-page-one "+t),u()("body").on("keydown",(n=this,function(r){var i,o,a;if(a=r.which,-1!==e.indexOf(a))return r.preventDefault(),r.stopImmediatePropagation(),o=s,i=u()(t,n.dropdown),40===a?s<i.length-1&&(s+=1):38===a&&s>0&&(s-=1),s!==o&&n.highlightRowAtIndex(i,s),!1;13===a&&-1!==s&&(r.preventDefault(),n.selectRowAtIndex())}))},c.prototype.removeArrayKeyEvent=function(){return u()("body").off("keydown")},c.prototype.resetRows=function(){s=-1,u()(".is-focused",this.dropdown).removeClass("is-focused")},c.prototype.highlightRowAtIndex=function(e,t){var n,i,o,a,s,c,l,f,h;if(e||(e=u()(r,this.dropdown)),u()(".is-focused",this.dropdown).removeClass("is-focused"),(i=e.eq(t)).find("a:first-child").addClass("is-focused"),c=(n=i.closest(".dropdown-content")).scrollTop(),a=n.outerHeight(),o=(s=n.prop("offsetTop"))+a,f=i.outerHeight(),l=(h=i.prop("offsetTop"))+f,t){if(t===e.length-1)n.scrollTop(n.prop("scrollHeight"));else if(l>o+c)n.scrollTop(l-o+5);else if(h<s+c)return n.scrollTop(h-s-5)}else n.scrollTop(0)},c.prototype.updateLabel=function(e,t,n){null==e&&(e=null),null==t&&(t=null),null==n&&(n=null);var r=this.options.toggleLabel(e,t,n);return this.options.updateLabel&&(r=this.options.updateLabel),u()(this.el).find(".dropdown-toggle-text").text(r)},c.prototype.clearField=function(e,t){return t?e.val(""):e.remove()},c}(),u.a.fn.glDropdown=function(e){return this.each(function(){if(!u.a.data(this,"glDropdown"))return u.a.data(this,"glDropdown",new r(this,e))})}},694:function(e,t,n){"use strict";function r(e){this.message=e}r.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},r.prototype.__CANCEL__=!0,e.exports=r},695:function(e,t,n){"use strict";e.exports=function(e){return!(!e||!e.__CANCEL__)}},696:function(e,t,n){"use strict";var r=n(1317);e.exports=function(e,t,n,i,o){var a=new Error(e);return r(a,t,n,i,o)}},697:function(e,t,n){"use strict";var r=n(264),i=n(1318),o=n(1316),a=n(1315),s=n(1314),u=n(696),c="undefined"!=typeof window&&window.btoa&&window.btoa.bind(window)||n(1313);e.exports=function(e){return new Promise(function(t,l){var f=e.data,h=e.headers;r.isFormData(f)&&delete h["Content-Type"];var d=new XMLHttpRequest,p="onreadystatechange",v=!1;if("undefined"==typeof window||!window.XDomainRequest||"withCredentials"in d||s(e.url)||(d=new window.XDomainRequest,p="onload",v=!0,d.onprogress=function(){},d.ontimeout=function(){}),e.auth){var m=e.auth.username||"",g=e.auth.password||"";h.Authorization="Basic "+c(m+":"+g)}if(d.open(e.method.toUpperCase(),o(e.url,e.params,e.paramsSerializer),!0),d.timeout=e.timeout,d[p]=function(){if(d&&(4===d.readyState||v)&&(0!==d.status||d.responseURL&&0===d.responseURL.indexOf("file:"))){var n="getAllResponseHeaders"in d?a(d.getAllResponseHeaders()):null,r={data:e.responseType&&"text"!==e.responseType?d.response:d.responseText,status:1223===d.status?204:d.status,statusText:1223===d.status?"No Content":d.statusText,headers:n,config:e,request:d};i(t,l,r),d=null}},d.onerror=function(){l(u("Network Error",e,null,d)),d=null},d.ontimeout=function(){l(u("timeout of "+e.timeout+"ms exceeded",e,"ECONNABORTED",d)),d=null},r.isStandardBrowserEnv()){var y=n(1312),b=(e.withCredentials||s(e.url))&&e.xsrfCookieName?y.read(e.xsrfCookieName):void 0;b&&(h[e.xsrfHeaderName]=b)}if("setRequestHeader"in d&&r.forEach(h,function(e,t){void 0===f&&"content-type"===t.toLowerCase()?delete h[t]:d.setRequestHeader(t,e)}),e.withCredentials&&(d.withCredentials=!0),e.responseType)try{d.responseType=e.responseType}catch(t){if("json"!==e.responseType)throw t}"function"==typeof e.onDownloadProgress&&d.addEventListener("progress",e.onDownloadProgress),"function"==typeof e.onUploadProgress&&d.upload&&d.upload.addEventListener("progress",e.onUploadProgress),e.cancelToken&&e.cancelToken.promise.then(function(e){d&&(d.abort(),l(e),d=null)}),void 0===f&&(f=null),d.send(f)})}},698:function(e,t,n){"use strict";e.exports=function(e,t){return function(){for(var n=new Array(arguments.length),r=0;r<n.length;r++)n[r]=arguments[r];return e.apply(t,n)}}},699:function(e,t,n){"use strict";var r=n(216),i=n(217),o=n(337),a=n(493),s=n(425),u=n(494),c=n(495),l=n(215),f=n(362),h=n(632),d=n(426),p=n(1342);e.exports=function(e,t,n,v,m,g){var y=r[e],b=y,w=m?"set":"add",E=b&&b.prototype,_={},C=function(e){var t=E[e];o(E,e,"delete"==e?function(e){return!(g&&!l(e))&&t.call(this,0===e?0:e)}:"has"==e?function(e){return!(g&&!l(e))&&t.call(this,0===e?0:e)}:"get"==e?function(e){return g&&!l(e)?void 0:t.call(this,0===e?0:e)}:"add"==e?function(e){return t.call(this,0===e?0:e),this}:function(e,n){return t.call(this,0===e?0:e,n),this})};if("function"==typeof b&&(g||E.forEach&&!f(function(){(new b).entries().next()}))){var T=new b,x=T[w](g?{}:-0,1)!=T,k=f(function(){T.has(1)}),S=h(function(e){new b(e)}),A=!g&&f(function(){for(var e=new b,t=5;t--;)e[w](t,t);return!e.has(-0)});S||((b=t(function(t,n){c(t,b,e);var r=p(new y,t,b);return void 0!=n&&u(n,m,r[w],r),r})).prototype=E,E.constructor=b),(k||A)&&(C("delete"),C("has"),m&&C("get")),(A||x)&&C(w),g&&E.clear&&delete E.clear}else b=v.getConstructor(t,e,m,w),a(b.prototype,n),s.NEED=!0;return d(b,e),_[e]=b,i(i.G+i.W+i.F*(b!=y),_),g||v.setStrong(b,e,m),b}},7:function(e,t,n){"use strict";n.d(t,"a",function(){return a}),n.d(t,"b",function(){return o});var r=n(3),i=n.n(r),o=function(e,t){e.addEventListener("click",function(){return function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];t&&Object.assign(e.style,{transition:"opacity .3s",opacity:"0"}),e.addEventListener("transitionend",function(){e.remove(),document.body.classList.contains("flash-shown")&&document.body.classList.remove("flash-shown")},{once:!0,passive:!0}),t||e.dispatchEvent(new Event("transitionend"))}(e,t)})},a=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"alert",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:document,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,a=!(arguments.length>4&&void 0!==arguments[4])||arguments[4],s=arguments.length>5&&void 0!==arguments[5]&&arguments[5],u=n.querySelector(".flash-container");if(!u)return null;var c=u.parentNode.classList.contains("content-wrapper");u.innerHTML=function(e,t){return'\n  <div\n    class="flash-'+t+'"\n  >\n    <div\n      class="flash-text '+(arguments.length>2&&void 0!==arguments[2]&&arguments[2]?"container-fluid container-limited":"")+'"\n    >\n      '+i.a.escape(e)+"\n    </div>\n  </div>\n"}(e,t,c);var l,f=u.querySelector(".flash-"+t);return o(f,a),r&&(f.innerHTML+='\n  <a\n    href="'+((l=r).href||"#")+'"\n    class="flash-action"\n    '+(l.href?"":'role="button"')+"\n  >\n    "+i.a.escape(l.title)+"\n  </a>\n",r.clickHandler&&f.querySelector(".flash-action").addEventListener("click",function(e){return r.clickHandler(e)})),u.style.display="block",s&&document.body.classList.add("flash-shown"),u};window.Flash=a},700:function(e,t,n){var r=n(497),i=n(433),o=n(392),a=n(643),s=n(308),u=n(720),c=Object.getOwnPropertyDescriptor;t.f=n(338)?c:function(e,t){if(e=o(e),t=a(t,!0),u)try{return c(e,t)}catch(e){}if(s(e,t))return i(!r.f.call(e,t),e[t])}},701:function(e,t,n){var r=n(717),i=n(634).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,i)}},702:function(e,t,n){t.f=n(185)},703:function(e,t,n){"use strict";var r=n(216),i=n(309),o=n(338),a=n(185)("species");e.exports=function(e){var t=r[e];o&&t&&!t[a]&&i.f(t,a,{configurable:!0,get:function(){return this}})}},704:function(e,t,n){var r=n(297),i=n(215),o=n(630);e.exports=function(e,t){if(r(e),i(t)&&t.constructor===e)return t;var n=o.f(e);return(0,n.resolve)(t),n.promise}},705:function(e,t){e.exports=function(e){try{return{e:!1,v:e()}}catch(e){return{e:!0,v:e}}}},706:function(e,t,n){var r,i,o,a=n(336),s=n(1364),u=n(715),c=n(644),l=n(216),f=l.process,h=l.setImmediate,d=l.clearImmediate,p=l.MessageChannel,v=l.Dispatch,m=0,g={},y=function(){var e=+this;if(g.hasOwnProperty(e)){var t=g[e];delete g[e],t()}},b=function(e){y.call(e.data)};h&&d||(h=function(e){for(var t=[],n=1;arguments.length>n;)t.push(arguments[n++]);return g[++m]=function(){s("function"==typeof e?e:Function(e),t)},r(m),m},d=function(e){delete g[e]},"process"==n(393)(f)?r=function(e){f.nextTick(a(y,e,1))}:v&&v.now?r=function(e){v.now(a(y,e,1))}:p?(o=(i=new p).port2,i.port1.onmessage=b,r=a(o.postMessage,o,1)):l.addEventListener&&"function"==typeof postMessage&&!l.importScripts?(r=function(e){l.postMessage(e+"","*")},l.addEventListener("message",b,!1)):r="onreadystatechange"in c("script")?function(e){u.appendChild(c("script")).onreadystatechange=function(){u.removeChild(this),y.call(e)}}:function(e){setTimeout(a(y,e,1),0)}),e.exports={set:h,clear:d}},707:function(e,t,n){var r=n(297),i=n(501),o=n(185)("species");e.exports=function(e,t){var n,a=r(e).constructor;return void 0===a||void 0==(n=r(a)[o])?t:i(n)}},708:function(e,t){e.exports=function(e,t){return{value:t,done:!!e}}},709:function(e,t,n){"use strict";var r=n(429),i=n(708),o=n(428),a=n(392);e.exports=n(637)(Array,"Array",function(e,t){this._t=a(e),this._i=0,this._k=t},function(){var e=this._t,t=this._k,n=this._i++;return!e||n>=e.length?(this._t=void 0,i(1)):i(0,"keys"==t?n:"values"==t?e[n]:[n,e[n]])},"values"),o.Arguments=o.Array,r("keys"),r("values"),r("entries")},710:function(e,t,n){for(var r=n(709),i=n(427),o=n(337),a=n(216),s=n(363),u=n(428),c=n(185),l=c("iterator"),f=c("toStringTag"),h=u.Array,d={CSSRuleList:!0,CSSStyleDeclaration:!1,CSSValueList:!1,ClientRectList:!1,DOMRectList:!1,DOMStringList:!1,DOMTokenList:!0,DataTransferItemList:!1,FileList:!1,HTMLAllCollection:!1,HTMLCollection:!1,HTMLFormElement:!1,HTMLSelectElement:!1,MediaList:!0,MimeTypeArray:!1,NamedNodeMap:!1,NodeList:!0,PaintRequestList:!1,Plugin:!1,PluginArray:!1,SVGLengthList:!1,SVGNumberList:!1,SVGPathSegList:!1,SVGPointList:!1,SVGStringList:!1,SVGTransformList:!1,SourceBufferList:!1,StyleSheetList:!0,TextTrackCueList:!1,TextTrackList:!1,TouchList:!1},p=i(d),v=0;v<p.length;v++){var m,g=p[v],y=d[g],b=a[g],w=b&&b.prototype;if(w&&(w[l]||s(w,l,h),w[f]||s(w,f,g),u[g]=h,y))for(m in r)w[m]||o(w,m,r[m],!0)}},711:function(e,t,n){"use strict";var r=n(427),i=n(631),o=n(497),a=n(431),s=n(639),u=Object.assign;e.exports=!u||n(362)(function(){var e={},t={},n=Symbol(),r="abcdefghijklmnopqrst";return e[n]=7,r.split("").forEach(function(e){t[e]=e}),7!=u({},e)[n]||Object.keys(u({},t)).join("")!=r})?function(e,t){for(var n=a(e),u=arguments.length,c=1,l=i.f,f=o.f;u>c;)for(var h,d=s(arguments[c++]),p=l?r(d).concat(l(d)):r(d),v=p.length,m=0;v>m;)f.call(d,h=p[m++])&&(n[h]=d[h]);return n}:u},712:function(e,t,n){var r=n(633),i=n(185)("iterator"),o=n(428);e.exports=n(175).getIteratorMethod=function(e){if(void 0!=e)return e[i]||e["@@iterator"]||o[r(e)]}},713:function(e,t,n){var r=n(428),i=n(185)("iterator"),o=Array.prototype;e.exports=function(e){return void 0!==e&&(r.Array===e||o[i]===e)}},714:function(e,t,n){var r=n(297);e.exports=function(e,t,n,i){try{return i?t(r(n)[0],n[1]):t(n)}catch(t){var o=e.return;throw void 0!==o&&r(o.call(e)),t}}},715:function(e,t,n){var r=n(216).document;e.exports=r&&r.documentElement},716:function(e,t,n){var r=n(392),i=n(430),o=n(642);e.exports=function(e){return function(t,n,a){var s,u=r(t),c=i(u.length),l=o(a,c);if(e&&n!=n){for(;c>l;)if((s=u[l++])!=s)return!0}else for(;c>l;l++)if((e||l in u)&&u[l]===n)return e||l||0;return!e&&-1}}},717:function(e,t,n){var r=n(308),i=n(392),o=n(716)(!1),a=n(635)("IE_PROTO");e.exports=function(e,t){var n,s=i(e),u=0,c=[];for(n in s)n!=a&&r(s,n)&&c.push(n);for(;t.length>u;)r(s,n=t[u++])&&(~o(c,n)||c.push(n));return c}},718:function(e,t,n){var r=n(641),i=n(500);e.exports=function(e){return function(t,n){var o,a,s=String(i(t)),u=r(n),c=s.length;return u<0||u>=c?e?"":void 0:(o=s.charCodeAt(u))<55296||o>56319||u+1===c||(a=s.charCodeAt(u+1))<56320||a>57343?e?s.charAt(u):o:e?s.slice(u,u+2):a-56320+(o-55296<<10)+65536}}},719:function(e,t,n){var r=n(393);e.exports=Array.isArray||function(e){return"Array"==r(e)}},72:function(e,t,n){"use strict";var r=n(1);t.a=function(e){e.mixin({methods:{__:r.a,n__:r.d,s__:r.e,sprintf:r.f}})}},720:function(e,t,n){e.exports=!n(338)&&!n(362)(function(){return 7!=Object.defineProperty(n(644)("div"),"a",{get:function(){return 7}}).a})},721:function(e,t,n){"use strict";var r=n(0),i=n.n(r),o=n(39),a=n.n(o),s=n(3),u=n.n(s),c=n(91),l=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();var f=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.initDomElements(),this.render()}return l(e,[{key:"initDomElements",value:function(){this.$page=i()(".layout-page"),this.$sidebar=i()(".nav-sidebar"),this.$innerScroll=i()(".nav-sidebar-inner-scroll",this.$sidebar),this.$overlay=i()(".mobile-overlay"),this.$openSidebar=i()(".toggle-mobile-nav"),this.$closeSidebar=i()(".close-nav-button"),this.$sidebarToggle=i()(".js-toggle-sidebar")}},{key:"bindEvents",value:function(){var e=this;document.addEventListener("click",function(t){t.target.closest(".nav-sidebar")||"sm"!==c.a.getBreakpointSize()&&"md"!==c.a.getBreakpointSize()||e.toggleCollapsedSidebar(!0)}),this.$openSidebar.on("click",function(){return e.toggleSidebarNav(!0)}),this.$closeSidebar.on("click",function(){return e.toggleSidebarNav(!1)}),this.$overlay.on("click",function(){return e.toggleSidebarNav(!1)}),this.$sidebarToggle.on("click",function(){var t=!e.$sidebar.hasClass("sidebar-collapsed-desktop");e.toggleCollapsedSidebar(t)}),i()(window).on("resize",function(){return u.a.debounce(e.render(),100)})}},{key:"toggleSidebarNav",value:function(e){this.$sidebar.toggleClass("sidebar-expanded-mobile",e),this.$overlay.toggleClass("mobile-nav-open",e),this.$sidebar.removeClass("sidebar-collapsed-desktop")}},{key:"toggleCollapsedSidebar",value:function(t){var n=c.a.getBreakpointSize();this.$sidebar.length&&(this.$sidebar.toggleClass("sidebar-collapsed-desktop",t),this.$page.toggleClass("page-with-icon-sidebar","sm"===n||t)),e.setCollapsedCookie(t),this.toggleSidebarOverflow()}},{key:"toggleSidebarOverflow",value:function(){this.$innerScroll.prop("scrollHeight")>this.$innerScroll.prop("offsetHeight")?this.$innerScroll.css("overflow-y","scroll"):this.$innerScroll.css("overflow-y","")}},{key:"render",value:function(){var e=c.a.getBreakpointSize();if("sm"===e||"md"===e)this.toggleCollapsedSidebar(!0);else if("lg"===e){var t="true"===a.a.get("sidebar_collapsed");this.toggleCollapsedSidebar(t)}}}],[{key:"setCollapsedCookie",value:function(e){"lg"===c.a.getBreakpointSize()&&a.a.set("sidebar_collapsed",e,{expires:3650})}}]),e}(),h=function(){return function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){i=!0,o=e}finally{try{!r&&s.return&&s.return()}finally{if(i)throw o}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}();var d=null,p=void 0,v=void 0,m=void 0,g=[],y=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;d=e},b=function(e,t){return(t.y-e.y)/(t.x-e.x)},w=50,E=function(){return m&&m.classList.contains("sidebar-collapsed-desktop")},_=function(e){return!(e.classList.contains("active")&&!E())},C=function(){return"sm"===c.a.getBreakpointSize()||"md"===c.a.getBreakpointSize()||"lg"===c.a.getBreakpointSize()},T=function(){if(!d||!g.length)return 0;var e=g[g.length-1],t=g[0],n=e.y,r=h(p,2),i=r[0],o=r[1];return n<i.y||n>o.y?0:b(t,o)<b(e,o)&&b(t,i)>b(e,i)?300:0},x=function(e){if(e){var t=e.parentNode;e.style.display="",e.style.transform="",e.classList.remove("is-above"),t.classList.remove("is-over"),t.classList.remove("is-showing-fly-out"),y()}},k=function(e,t){var n=e.getBoundingClientRect(),r=function(e,t){return window.innerHeight-(e.top+t)<0?e.top-t+e.height:e.top}(n,t.offsetHeight),i=m?m.offsetWidth:50,o=r<n.top;t.classList.add("fly-out-list"),t.style.transform="translate3d("+i+"px, "+(Math.floor(r)-w)+"px, 0)";var a=t.getBoundingClientRect();p=[{x:a.left,y:a.top},{x:a.left,y:a.top+a.height}],o&&t.classList.add("is-above")},S=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:T();clearTimeout(v),v=setTimeout(function(){d&&x(d),function(e){var t=e.querySelector(".sidebar-sub-level-items"),n=t&&t.classList.contains("is-fly-out-only");C()&&_(e)&&(e.classList.add("is-over"),!t||!E()&&n||(t.style.display="block",e.classList.add("is-showing-fly-out"),y(t),k(e,t)))}(e)},t)},A=function(e){g.push({x:e.clientX,y:e.clientY}),g.length>6&&g.shift()},O=function(){if(m=document.querySelector(".nav-sidebar")){var e=[].concat(function(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}(m.querySelectorAll(".sidebar-top-level-items > li")));m.querySelector(".sidebar-top-level-items")&&m.querySelector(".sidebar-top-level-items").addEventListener("mouseleave",function(){clearTimeout(v),v=setTimeout(function(){d&&x(d)},T())}),w=document.querySelector(".nav-sidebar").offsetTop,e.forEach(function(e){var t=e.querySelector(".sidebar-sub-level-items");t&&t.addEventListener("mouseleave",function(e){return t=e.relatedTarget,clearTimeout(v),void(t&&!t.closest(".is-over")&&x(d));var t}),e.addEventListener("mouseenter",function(e){return S(e.currentTarget)}),e.addEventListener("mouseleave",function(e){return t=e.currentTarget,n=t.querySelector(".sidebar-sub-level-items"),void(!C()||!_(t)||n&&n===d||t.classList.remove("is-over"));var t,n})}),document.addEventListener("mousemove",A)}};function j(){(new f).bindEvents(),O(),i()(document).on("init.scrolling-tabs",function(){var e=i()(".scrolling-tabs").not(".is-initialized");e.addClass("is-initialized"),i()(window).on("resize.nav",function(){!function(e){e.each(function(){var e=i()(this);e.siblings(".fade-right").toggleClass("scrolling",Math.round(e.width())<e.prop("scrollWidth"))})}(e)}).trigger("resize.nav"),e.on("scroll",function(){var e=i()(this),t=e.scrollLeft(),n=e.prop("scrollWidth")-e.outerWidth();e.siblings(".fade-left").toggleClass("scrolling",t>0),e.siblings(".fade-right").toggleClass("scrolling",t<n-1)}),e.each(function(){var e=i()(this),t=e.width(),n=e.find(".active"),r=n.width();if(n.length){var o=n.offset().left+r;if(o>t-30){var a=o-t/2-r/2;e.scrollLeft(a)}}})}).trigger("init.scrolling-tabs")}n.d(t,"a",function(){return j})},722:function(e,t,n){"use strict";var r=n(0),i=n.n(r),o=n(53),a=n(11),s=n(503),u=n(207),c=n(3),l=n.n(c),f=n(1),h=n(411),d=n(5),p=(n(64),function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}());var v=27,m=8,g=13,y=38,b=40;var w=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.wrap,r=t.optsEl,o=t.autocompletePath,a=t.projectId,s=t.projectRef;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),function(){var e=i()(".js-search-project-options"),t=i()(".js-search-group-options"),n=i()(".js-search-dashboard-options");if(e.length){gl.projectOptions=gl.projectOptions||{};var r=e.data("projectPath");gl.projectOptions[r]={name:e.data("name"),issuesPath:e.data("issuesPath"),issuesDisabled:e.data("issuesDisabled"),mrPath:e.data("mrPath")}}if(t.length){gl.groupOptions=gl.groupOptions||{};var o=t.data("groupPath");gl.groupOptions[o]={name:t.data("name"),issuesPath:t.data("issuesPath"),mrPath:t.data("mrPath")}}n.length&&(gl.dashboardOptions={name:Object(f.e)("SearchAutocomplete|All GitLab"),issuesPath:n.data("issuesPath"),mrPath:n.data("mrPath")})}(),this.bindEventContext(),this.wrap=n||i()(".search"),this.optsEl=r||this.wrap.find(".search-autocomplete-opts"),this.autocompletePath=o||this.optsEl.data("autocompletePath"),this.projectId=a||this.optsEl.data("autocompleteProjectId")||"",this.projectRef=s||this.optsEl.data("autocompleteProjectRef")||"",this.dropdown=this.wrap.find(".dropdown"),this.dropdownToggle=this.wrap.find(".js-dropdown-search-toggle"),this.dropdownMenu=this.dropdown.find(".dropdown-menu"),this.dropdownContent=this.dropdown.find(".dropdown-content"),this.scopeInputEl=this.getElement("#scope"),this.searchInput=this.getElement(".search-input"),this.projectInputEl=this.getElement("#search_project_id"),this.groupInputEl=this.getElement("#group_id"),this.searchCodeInputEl=this.getElement("#search_code"),this.repositoryInputEl=this.getElement("#repository_ref"),this.clearInput=this.getElement(".js-clear-input"),this.scrollFadeInitialized=!1,this.saveOriginalState(),gon.current_user_id&&this.createAutocomplete(),this.searchInput.addClass("disabled"),this.saveTextLength(),this.bindEvents(),this.dropdownToggle.dropdown()}return p(e,[{key:"bindEventContext",value:function(){this.onSearchInputBlur=this.onSearchInputBlur.bind(this),this.onClearInputClick=this.onClearInputClick.bind(this),this.onSearchInputFocus=this.onSearchInputFocus.bind(this),this.onSearchInputKeyUp=this.onSearchInputKeyUp.bind(this),this.onSearchInputKeyDown=this.onSearchInputKeyDown.bind(this),this.setScrollFade=this.setScrollFade.bind(this)}},{key:"getElement",value:function(e){return this.wrap.find(e)}},{key:"saveOriginalState",value:function(){return this.originalState=this.serializeState()}},{key:"saveTextLength",value:function(){return this.lastTextLength=this.searchInput.val().length}},{key:"createAutocomplete",value:function(){return this.searchInput.glDropdown({filterInputBlur:!1,filterable:!0,filterRemote:!0,highlight:!0,icon:!0,enterCallback:!1,filterInput:"input#search",search:{fields:["text"]},id:this.getSearchText,data:this.getData.bind(this),selectable:!0,clicked:this.onClick.bind(this)})}},{key:"getSearchText",value:function(e,t){return e.id?e.text:""}},{key:"getData",value:function(e,t){var n=this;if(e){if(!this.loadingSuggestions)return this.loadingSuggestions=!0,d.a.get(this.autocompletePath,{params:{project_id:this.projectId,project_ref:this.projectRef,term:e}}).then(function(r){if(r.data.length){for(var i=[],o=!0,s=void 0,u=0,c=r.data.length;u<c;u+=1){var l=r.data[u];s!==l.category&&(o||i.push("separator"),o&&(o=!1),i.push({header:l.category}),s=l.category),i.push({id:l.category.toLowerCase()+"-"+l.id,icon:n.getAvatar(l),category:l.category,text:l.label,url:l.url})}if(i.length){var h=Object(a.I)("search","s16 inline-search-icon"),d=void 0;n.projectInputEl.val()&&(d=Object(f.e)("SearchAutocomplete|in this project")),n.groupInputEl.val()&&(d=Object(f.e)("SearchAutocomplete|in this group")),i.unshift("separator"),i.unshift({icon:h,text:e,template:Object(f.e)("SearchAutocomplete|in all GitLab"),url:"/search?search="+e}),d&&i.unshift({icon:h,text:e,template:d,url:"/search?search="+e+"&project_id="+n.projectInputEl.val()+"&group_id="+n.groupInputEl.val()})}t(i),n.loadingSuggestions=!1,n.highlightFirstRow(),n.setScrollFade()}else n.disableAutocomplete()}).catch(function(){n.loadingSuggestions=!1})}else{var r=this.getCategoryContents();if(r){var i=this.searchInput.data("glDropdown");i&&i.filter.options.callback(r),this.enableAutocomplete()}}}},{key:"getCategoryContents",value:function(){var e=gon.current_user_id,t=(gon.current_username,gl),n=t.projectOptions,r=t.groupOptions,i=t.dashboardOptions,o=void 0;Object(a.r)()&&r?o=r[Object(a.h)()]:Object(a.u)()&&n?o=n[Object(a.k)()]:i&&(o=i);var s=o,u=s.issuesPath,c=s.mrPath,l=s.name,h=s.issuesDisabled,d=[];l&&d.push({header:""+l});var p=[{text:Object(f.e)("SearchAutocomplete|Issues assigned to me"),url:u+"/?assignee_id="+e},{text:Object(f.e)("SearchAutocomplete|Issues I've created"),url:u+"/?author_id="+e}],v=[{text:Object(f.e)("SearchAutocomplete|Merge requests assigned to me"),url:c+"/?assignee_id="+e},{text:Object(f.e)("SearchAutocomplete|Merge requests I've created"),url:c+"/?author_id="+e}];return h?d.concat(v):d.concat.apply(d,p.concat(v))}},{key:"serializeState",value:function(){return{search_project_id:this.projectInputEl.val(),group_id:this.groupInputEl.val(),search_code:this.searchCodeInputEl.val(),repository_ref:this.repositoryInputEl.val(),scope:this.scopeInputEl.val()}}},{key:"bindEvents",value:function(){this.searchInput.on("keydown",this.onSearchInputKeyDown),this.searchInput.on("keyup",this.onSearchInputKeyUp),this.searchInput.on("focus",this.onSearchInputFocus),this.searchInput.on("blur",this.onSearchInputBlur),this.clearInput.on("click",this.onClearInputClick),this.dropdownContent.on("scroll",Object(c.throttle)(this.setScrollFade,250))}},{key:"enableAutocomplete",value:function(){if(this.setScrollFade(),gon.current_user_id)return this.dropdown.hasClass("show")?void 0:(this.loadingSuggestions=!1,this.dropdownToggle.dropdown("toggle"),this.searchInput.removeClass("disabled"))}},{key:"onSearchInputKeyDown",value:function(){return this.saveTextLength()}},{key:"onSearchInputKeyUp",value:function(e){switch(e.keyCode){case m:1===this.lastTextLength&&this.disableAutocomplete(),this.lastTextLength>1&&this.enableAutocomplete();break;case v:this.restoreOriginalState();break;case g:this.disableAutocomplete();break;case y:case b:return;default:""===this.searchInput.val()?this.disableAutocomplete():e.keyCode!==g&&this.enableAutocomplete()}this.wrap.toggleClass("has-value",!!e.target.value)}},{key:"onSearchInputFocus",value:function(){if(this.isFocused=!0,this.wrap.addClass("search-active"),""===this.getValue())return this.getData()}},{key:"getValue",value:function(){return this.searchInput.val()}},{key:"onClearInputClick",value:function(e){return e.preventDefault(),this.wrap.toggleClass("has-value",!!e.target.value),this.searchInput.val("").focus()}},{key:"onSearchInputBlur",value:function(e){if(this.isFocused=!1,this.wrap.removeClass("search-active"),""===this.searchInput.val())return this.restoreOriginalState()}},{key:"restoreOriginalState",value:function(){var e,t,n,r;for(e=0,r=(n=Object.keys(this.originalState)).length;e<r;e+=1)t=n[e],this.getElement("#"+t).val(this.originalState[t])}},{key:"resetSearchState",value:function(){var e,t,n,r,i;for(i=[],e=0,r=(n=Object.keys(this.originalState)).length;e<r;e+=1)t=n[e],i.push(this.getElement("#"+t).val(""));return i}},{key:"disableAutocomplete",value:function(){!this.searchInput.hasClass("disabled")&&this.dropdown.hasClass("show")&&(this.searchInput.addClass("disabled"),this.dropdown.removeClass("show").trigger("hidden.bs.dropdown"),this.restoreMenu())}},{key:"restoreMenu",value:function(){var e;return e='<ul><li class="dropdown-menu-empty-item"><a>Loading...</a></li></ul>',this.dropdownContent.html(e)}},{key:"onClick",value:function(e,t,n){if(-1!==window.location.pathname.indexOf(e.url))return n.metaKey||n.preventDefault(),"Projects"===e.category&&this.projectInputEl.val(e.id),"Groups"===e.category&&this.groupInputEl.val(e.id),t.removeClass("is-active"),this.disableAutocomplete(),this.searchInput.val("").focus()}},{key:"highlightFirstRow",value:function(){this.searchInput.data("glDropdown").highlightRowAtIndex(null,0)}},{key:"getAvatar",value:function(e){if(!Object.hasOwnProperty.call(e,"avatar_url"))return!1;var t=e.label,n=e.id,r=e.avatar_url;return r?'<img class="search-item-avatar" src="'+r+'" />':'<div class="s16 avatar identicon '+Object(h.a)(n)+'">'+Object(h.b)(Object(c.escape)(t))+"</div>"}},{key:"isScrolledUp",value:function(){var e=this.dropdownContent[0];return this.contentClientHeight+e.scrollTop<this.maxPosition}},{key:"initScrollFade",value:function(){var e=this.dropdownContent[0];this.scrollFadeInitialized=!0,this.contentClientHeight=e.clientHeight,this.maxPosition=e.scrollHeight,this.dropdownMenu.addClass("dropdown-content-faded-mask")}},{key:"setScrollFade",value:function(){this.initScrollFade(),this.dropdownMenu.toggleClass("fade-out",!this.isScrolledUp())}}]),e}(),E=n(8),_=n(7),C=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();var T=void 0,x=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}return C(e,null,[{key:"fetchRequestDetails",value:function(e,t){return d.a.get(e,{params:{request_id:t}})}},{key:"registerInterceptor",value:function(e,t){var n=function(n){var r=n.headers["x-request-id"],i=(n.config||n).url,o="true"===n.headers["x-gitlab-from-cache"];return i!==e&&r&&!o&&t(r,i),n};return T=function(e,t){return t(n)},E.default.http.interceptors.push(T),d.a.interceptors.response.use(n)}},{key:"removeInterceptor",value:function(e){d.a.interceptors.response.eject(e),E.default.http.interceptors=l.a.without(E.default.http.interceptors,T)}}]),e}(),k=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();var S=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.requests=[]}return k(e,[{key:"addRequest",value:function(e,t,n){return this.findRequest(e)||this.requests.push({id:e,url:t,details:n}),this.requests}},{key:"findRequest",value:function(e){return this.requests.find(function(t){return t.id===e})}},{key:"addRequestDetails",value:function(e,t){var n=this.findRequest(e);return n.details=t,n}},{key:"requestsWithDetails",value:function(){return this.requests.filter(function(e){return e.details})}},{key:"canTrackRequest",value:function(e){return this.requests.filter(function(t){return t.url===e}).length<2}}]),e}(),A=function(e){var t=e.container;return new E.default({el:t,components:{performanceBarApp:function(){return n.e(85).then(n.bind(null,2012))}},data:function(){var e=document.querySelector(this.$options.el).dataset;return{store:new S,env:e.env,requestId:e.requestId,peekUrl:e.peekUrl,profileUrl:e.profileUrl}},mounted:function(){this.interceptor=x.registerInterceptor(this.peekUrl,this.loadRequestDetails),this.loadRequestDetails(this.requestId,window.location.href)},beforeDestroy:function(){x.removeInterceptor(this.interceptor)},methods:{loadRequestDetails:function(e,t){var n=this;this.store.canTrackRequest(t)&&(this.store.addRequest(e,t),x.fetchRequestDetails(this.peekUrl,e).then(function(t){n.store.addRequestDetails(e,t.data.data)}).catch(function(){return Object(_.a)("Error getting performance bar results for "+e)}))}},render:function(e){return e("performance-bar-app",{props:{store:this.store,env:this.env,requestId:this.requestId,peekUrl:this.peekUrl,profileUrl:this.profileUrl}})}})};t.a=function(){!function(){if(i()(".search").length)new w}(),i()(".gl-show-field-errors").each(function(e,t){new s.a(t)});var e=i()("body").attr("data-page");e&&(!function(e){-1===["projects:activity","projects:artifacts:browse","projects:artifacts:file","projects:blame:show","projects:blob:show","projects:commit:show","projects:commits:show","projects:find_file:show","projects:issues:edit","projects:issues:index","projects:issues:new","projects:issues:show","projects:merge_requests:creations:diffs","projects:merge_requests:creations:new","projects:merge_requests:edit","projects:merge_requests:index","projects:merge_requests:show","projects:network:show","projects:show","projects:tree:show","groups:show"].indexOf(e)&&new u.a}(e),i()(".js-gfm-input:not(.js-vue-textarea)").each(function(e,t){var n=new o.a(gl.GfmAutoComplete&&gl.GfmAutoComplete.dataSources),r=Object(a.g)(t.dataset.supportsAutocomplete);n.setup(i()(t),{emojis:!0,members:r,issues:r,milestones:r,mergeRequests:r,labels:r})}),document.querySelector("#js-peek")&&A({container:"#js-peek"}))}},735:function(e,t,n){"use strict";var r=n(0),i=n.n(r);t.a=function(){var e=document.querySelector(".js-breadcrumbs-list");if(e){var t=[].concat(function(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}(e.children)).filter(function(e){return!e.classList.contains("dropdown")}).map(function(e){return e.querySelector("a")}).filter(function(e){return e}),n=i()(".js-breadcrumbs-collapsed-expander");t.forEach(function(e){return function(e){var t=e.querySelector(".js-breadcrumb-item-text");t&&t.scrollWidth>t.offsetWidth&&(e.setAttribute("title",e.textContent),e.setAttribute("data-container","body"),e.classList.add("has-tooltip"))}(e)}),n.closest(".dropdown").on("show.bs.dropdown hide.bs.dropdown",function(e){i()(".js-breadcrumbs-collapsed-expander",e.currentTarget).toggleClass("open").tooltip("hide")})}}},736:function(e,t,n){"use strict";n.d(t,"a",function(){return o});var r=n(0),i=n.n(r);function o(){window.addEventListener("beforeunload",function(){i()(".tanuki-logo").addClass("animate")})}},737:function(e,t,n){"use strict";n.d(t,"a",function(){return d});var r=n(0),i=n.n(r),o=n(3),a=n.n(o),s=n(1),u=n(5),c=n(7),l=n(11),f=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();var h=function(){function e(t){var n=t.jobsUrl,r=t.importUrl,i=t.ciCdOnly;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.jobsUrl=n,this.importUrl=r,this.ciCdOnly=i,this.initStatusPage(),this.setAutoUpdate()}return f(e,[{key:"initStatusPage",value:function(){i()(".js-add-to-import").off("click").on("click",this.addToImport.bind(this)),i()(".js-import-all").off("click").on("click",function(){return i()(this).disable().addClass("is-loading"),i()(".js-add-to-import").each(function(){return i()(this).trigger("click")})})}},{key:"addToImport",value:function(e){var t=this,n=i()(e.currentTarget),r=n.closest("tr"),o=r.find(".import-target"),l=o.find(".js-select-namespace option:selected"),f=r.attr("id").replace("repo_",""),h=r.data(),d=void 0,p=void 0;l.length>0&&(d=l[0].innerHTML,p=o.find("#path").prop("value"),o.empty().append(d+"/"+p)),n.disable().addClass("is-loading"),this.id=f;var v={repo_id:f,target_namespace:d,new_name:p,ci_cd_only:this.ciCdOnly};return h&&(v=Object.assign(h,v)),u.a.post(this.importUrl,v).then(function(e){var n=e.data,r=i()("tr#repo_"+f);r.attr("id","project_"+n.id),r.find(".import-target").html('<a href="'+n.full_path+'">'+n.full_path+"</a>"),i()("table.import-jobs tbody").prepend(r),r.addClass("table-active");var o=t.ciCdOnly?Object(s.a)("connecting"):Object(s.a)("importing");r.find(".import-actions").html(Object(s.f)(a.a.escape(Object(s.a)("%{loadingIcon} Started")),{loadingIcon:'<i class="fa fa-spinner fa-spin" aria-label="'+a.a.escape(o)+'"></i>'},!1))}).catch(function(e){var n=e;i()("#repo_"+t.id+" .job-status").text(Object(s.a)("Failed")),e.response&&e.response.data&&e.response.data.errors&&(n=e.response.data.errors),Object(c.a)(Object(s.a)("An error occurred while importing project: "+n))})}},{key:"autoUpdate",value:function(){return u.a.get(this.jobsUrl).then(function(e){var t=e.data;(void 0===t?[]:t).forEach(function(e){var t=i()("#project_"+e.id),n=t.find(".job-status"),r='<i class="fa fa-spinner fa-spin"></i>';switch(e.import_status){case"finished":t.removeClass("table-active").addClass("table-success"),n.html('<span><i class="fa fa-check"></i> '+Object(s.a)("Done")+"</span>");break;case"scheduled":n.html(r+" "+Object(s.a)("Scheduled"));break;case"started":n.html(r+" "+Object(s.a)("Started"));break;case"failed":n.html(Object(s.a)("Failed"));break;default:n.html(e.import_status)}})})}},{key:"setAutoUpdate",value:function(){setInterval(this.autoUpdate.bind(this),4e3)}}]),e}();function d(){var e=document.querySelector(".js-importer-status");if(e){var t=e.dataset;return new h({jobsUrl:t.jobsImportPath,importUrl:t.importPath,ciCdOnly:Object(l.g)(t.ciCdOnly)})}}},738:function(e,t,n){"use strict";n.d(t,"a",function(){return a});var r=n(0),i=n.n(r),o=n(45);function a(){i()(document).on("todo:toggle",function(e,t){var n=parseInt(t,10),r=i()(".todos-count");r.text(Object(o.g)(n)),r.toggleClass("hidden",0===n)})}},739:function(e,t,n){(function(t){
  /*!
  
  Copyright (C) 2014-2016 by Andrea Giammarchi - @WebReflection
  
  Permission is hereby granted, free of charge, to any person obtaining a copy
  of this software and associated documentation files (the "Software"), to deal
  in the Software without restriction, including without limitation the rights
  to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
  copies of the Software, and to permit persons to whom the Software is
  furnished to do so, subject to the following conditions:
  
  The above copyright notice and this permission notice shall be included in
  all copies or substantial portions of the Software.
  
  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
  IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
  FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
  AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
  LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
  THE SOFTWARE.
  
  */
  function n(e,t){"use strict";var n=e.document,r=e.Object,i=function(e){var t,n,i,o,a=/^[A-Z]+[a-z]/,s=function(e,t){(t=t.toLowerCase())in u||(u[e]=(u[e]||[]).concat(t),u[t]=u[t.toUpperCase()]=e)},u=(r.create||r)(null),c={};for(n in e)for(o in e[n])for(i=e[n][o],u[o]=i,t=0;t<i.length;t++)u[i[t].toLowerCase()]=u[i[t].toUpperCase()]=o;return c.get=function(e){return"string"==typeof e?u[e]||(a.test(e)?[]:""):function(e){var t,n=[];for(t in u)e.test(t)&&n.push(t);return n}(e)},c.set=function(e,t){return a.test(e)?s(e,t):s(t,e),c},c}({collections:{HTMLAllCollection:["all"],HTMLCollection:["forms"],HTMLFormControlsCollection:["elements"],HTMLOptionsCollection:["options"]},elements:{Element:["element"],HTMLAnchorElement:["a"],HTMLAppletElement:["applet"],HTMLAreaElement:["area"],HTMLAttachmentElement:["attachment"],HTMLAudioElement:["audio"],HTMLBRElement:["br"],HTMLBaseElement:["base"],HTMLBodyElement:["body"],HTMLButtonElement:["button"],HTMLCanvasElement:["canvas"],HTMLContentElement:["content"],HTMLDListElement:["dl"],HTMLDataElement:["data"],HTMLDataListElement:["datalist"],HTMLDetailsElement:["details"],HTMLDialogElement:["dialog"],HTMLDirectoryElement:["dir"],HTMLDivElement:["div"],HTMLDocument:["document"],HTMLElement:["element","abbr","address","article","aside","b","bdi","bdo","cite","code","command","dd","dfn","dt","em","figcaption","figure","footer","header","i","kbd","mark","nav","noscript","rp","rt","ruby","s","samp","section","small","strong","sub","summary","sup","u","var","wbr"],HTMLEmbedElement:["embed"],HTMLFieldSetElement:["fieldset"],HTMLFontElement:["font"],HTMLFormElement:["form"],HTMLFrameElement:["frame"],HTMLFrameSetElement:["frameset"],HTMLHRElement:["hr"],HTMLHeadElement:["head"],HTMLHeadingElement:["h1","h2","h3","h4","h5","h6"],HTMLHtmlElement:["html"],HTMLIFrameElement:["iframe"],HTMLImageElement:["img"],HTMLInputElement:["input"],HTMLKeygenElement:["keygen"],HTMLLIElement:["li"],HTMLLabelElement:["label"],HTMLLegendElement:["legend"],HTMLLinkElement:["link"],HTMLMapElement:["map"],HTMLMarqueeElement:["marquee"],HTMLMediaElement:["media"],HTMLMenuElement:["menu"],HTMLMenuItemElement:["menuitem"],HTMLMetaElement:["meta"],HTMLMeterElement:["meter"],HTMLModElement:["del","ins"],HTMLOListElement:["ol"],HTMLObjectElement:["object"],HTMLOptGroupElement:["optgroup"],HTMLOptionElement:["option"],HTMLOutputElement:["output"],HTMLParagraphElement:["p"],HTMLParamElement:["param"],HTMLPictureElement:["picture"],HTMLPreElement:["pre"],HTMLProgressElement:["progress"],HTMLQuoteElement:["blockquote","q","quote"],HTMLScriptElement:["script"],HTMLSelectElement:["select"],HTMLShadowElement:["shadow"],HTMLSlotElement:["slot"],HTMLSourceElement:["source"],HTMLSpanElement:["span"],HTMLStyleElement:["style"],HTMLTableCaptionElement:["caption"],HTMLTableCellElement:["td","th"],HTMLTableColElement:["col","colgroup"],HTMLTableElement:["table"],HTMLTableRowElement:["tr"],HTMLTableSectionElement:["thead","tbody","tfoot"],HTMLTemplateElement:["template"],HTMLTextAreaElement:["textarea"],HTMLTimeElement:["time"],HTMLTitleElement:["title"],HTMLTrackElement:["track"],HTMLUListElement:["ul"],HTMLUnknownElement:["unknown","vhgroupv","vkeygen"],HTMLVideoElement:["video"]},nodes:{Attr:["node"],Audio:["audio"],CDATASection:["node"],CharacterData:["node"],Comment:["#comment"],Document:["#document"],DocumentFragment:["#document-fragment"],DocumentType:["node"],HTMLDocument:["#document"],Image:["img"],Option:["option"],ProcessingInstruction:["node"],ShadowRoot:["#shadow-root"],Text:["#text"],XMLDocument:["xml"]}});t||(t="auto");var o,a,s,u,c,l,f,h,d="registerElement",p="__"+d+(1e5*e.Math.random()>>0),v="addEventListener",m="attached",g="Callback",y="detached",b="extends",w="attributeChanged"+g,E=m+g,_="connected"+g,C="disconnected"+g,T="created"+g,x=y+g,k="ADDITION",S="REMOVAL",A="DOMAttrModified",O="DOMContentLoaded",j="DOMSubtreeModified",I="<",D="=",L=/^[A-Z][A-Z0-9]*(?:-[A-Z0-9]+)+$/,P=["ANNOTATION-XML","COLOR-PROFILE","FONT-FACE","FONT-FACE-SRC","FONT-FACE-URI","FONT-FACE-FORMAT","FONT-FACE-NAME","MISSING-GLYPH"],N=[],M=[],F="",R=n.documentElement,H=N.indexOf||function(e){for(var t=this.length;t--&&this[t]!==e;);return t},$=r.prototype,q=$.hasOwnProperty,B=$.isPrototypeOf,U=r.defineProperty,W=[],V=r.getOwnPropertyDescriptor,K=r.getOwnPropertyNames,G=r.getPrototypeOf,z=r.setPrototypeOf,Q=!!r.__proto__,Y="__dreCEv1",X=e.customElements,J="force"!==t&&!!(X&&X.define&&X.get&&X.whenDefined),Z=r.create||r,ee=e.Map||function(){var e,t=[],n=[];return{get:function(e){return n[H.call(t,e)]},set:function(r,i){(e=H.call(t,r))<0?n[t.push(r)-1]=i:n[e]=i}}},te=e.Promise||function(e){var t=[],n=!1,r={catch:function(){return r},then:function(e){return t.push(e),n&&setTimeout(i,1),r}};function i(e){for(n=!0;t.length;)t.shift()(e)}return e(i),r},ne=!1,re=Z(null),ie=Z(null),oe=new ee,ae=String,se=r.create||function e(t){return t?(e.prototype=t,new e):this},ue=z||(Q?function(e,t){return e.__proto__=t,e}:K&&V?function(){function e(e,t){for(var n,r=K(t),i=0,o=r.length;i<o;i++)n=r[i],q.call(e,n)||U(e,n,V(t,n))}return function(t,n){do{e(t,n)}while((n=G(n))&&!B.call(n,t));return t}}():function(e,t){for(var n in t)e[n]=t[n];return e}),ce=e.MutationObserver||e.WebKitMutationObserver,le=(e.HTMLElement||e.Element||e.Node).prototype,fe=!B.call(le,R),he=fe?function(e,t,n){return e[t]=n.value,e}:U,de=fe?function(e){return 1===e.nodeType}:function(e){return B.call(le,e)},pe=fe&&[],ve=le.attachShadow,me=le.cloneNode,ge=le.dispatchEvent,ye=le.getAttribute,be=le.hasAttribute,we=le.removeAttribute,Ee=le.setAttribute,_e=n.createElement,Ce=_e,Te=ce&&{attributes:!0,characterData:!0,attributeOldValue:!0},xe=ce||function(e){Ae=!1,R.removeEventListener(A,xe)},ke=0,Se=!1,Ae=!0,Oe=!0,je=!0;function Ie(){var e=o.splice(0,o.length);for(ke=0;e.length;)e.shift().call(null,e.shift())}function De(e,t){for(var n=0,r=e.length;n<r;n++)Be(e[n],t)}function Le(e){return function(t){de(t)&&(Be(t,e),De(t.querySelectorAll(F),e))}}function Pe(e){var t=ye.call(e,"is"),n=e.nodeName.toUpperCase(),r=H.call(N,t?D+t.toUpperCase():I+n);return t&&-1<r&&!Ne(n,t)?-1:r}function Ne(e,t){return-1<F.indexOf(e+'[is="'+t+'"]')}function Me(e){var t=e.currentTarget,n=e.attrChange,r=e.attrName,i=e.target,o=e[k]||2,a=e[S]||3;!je||i&&i!==t||!t[w]||"style"===r||e.prevValue===e.newValue&&(""!==e.newValue||n!==o&&n!==a)||t[w](r,n===o?null:e.prevValue,n===a?null:e.newValue)}function Fe(e){var t=Le(e);return function(e){o.push(t,e.target),ke&&clearTimeout(ke),ke=setTimeout(Ie,1)}}function Re(e){Oe&&(Oe=!1,e.currentTarget.removeEventListener(O,Re)),De((e.target||n).querySelectorAll(F),e.detail===y?y:m),fe&&function(){for(var e,t=0,n=pe.length;t<n;t++)e=pe[t],R.contains(e)||(n--,pe.splice(t--,1),Be(e,y))}()}function He(e,t){Ee.call(this,e,t),a.call(this,{target:this})}function $e(e,t){ue(e,t),c?c.observe(e,Te):(Ae&&(e.setAttribute=He,e[p]=u(e),e[v](j,a)),e[v](A,Me)),e[T]&&je&&(e.created=!0,e[T](),e.created=!1)}function qe(e){throw new Error("A "+e+" type is already registered")}function Be(e,t){var n,r=Pe(e);-1<r&&(f(e,M[r]),r=0,t!==m||e[m]?t!==y||e[y]||(e[m]=!1,e[y]=!0,r=1):(e[y]=!1,e[m]=!0,r=1,fe&&H.call(pe,e)<0&&pe.push(e)),r&&(n=e[t+g])&&n.call(e))}function Ue(){}function We(e,t,r){var i=r&&r[b]||"",o=t.prototype,a=se(o),s=t.observedAttributes||W,u={prototype:a};he(a,T,{value:function(){if(ne)ne=!1;else if(!this[Y]){this[Y]=!0,new t(this),o[T]&&o[T].call(this);var e=re[oe.get(t)];(!J||e.create.length>1)&&Ge(this)}}}),he(a,w,{value:function(e){-1<H.call(s,e)&&o[w].apply(this,arguments)}}),o[_]&&he(a,E,{value:o[_]}),o[C]&&he(a,x,{value:o[C]}),i&&(u[b]=i),e=e.toUpperCase(),re[e]={constructor:t,create:i?[i,ae(e)]:[e]},oe.set(t,e),n[d](e.toLowerCase(),u),ze(e),ie[e].r()}function Ve(e){var t=re[e.toUpperCase()];return t&&t.constructor}function Ke(e){return"string"==typeof e?e:e&&e.is||""}function Ge(e){for(var t,n=e[w],r=n?e.attributes:W,i=r.length;i--;)t=r[i],n.call(e,t.name||t.nodeName,null,t.value||t.nodeValue)}function ze(e){return(e=e.toUpperCase())in ie||(ie[e]={},ie[e].p=new te(function(t){ie[e].r=t})),ie[e].p}function Qe(){X&&delete e.customElements,U(e,"customElements",{configurable:!0,value:new Ue}),U(e,"CustomElementRegistry",{configurable:!0,value:Ue});for(var t=function(t){var r=e[t];if(r){e[t]=function(e){var t,i;return e||(e=this),e[Y]||(ne=!0,t=re[oe.get(e.constructor)],(e=(i=J&&1===t.create.length)?Reflect.construct(r,W,t.constructor):n.createElement.apply(n,t.create))[Y]=!0,ne=!1,i||Ge(e)),e},e[t].prototype=r.prototype;try{r.prototype.constructor=e[t]}catch(n){!0,U(r,Y,{value:e[t]})}}},r=i.get(/^HTML[A-Z]*[a-z]/),o=r.length;o--;t(r[o]));n.createElement=function(e,t){var n=Ke(t);return n?Ce.call(this,e,ae(n)):Ce.call(this,e)}}if(d in n||(z||Q?(f=function(e,t){B.call(t,e)||$e(e,t)},h=$e):h=f=function(e,t){e[p]||(e[p]=r(!0),$e(e,t))},fe?(Ae=!1,function(){var e=V(le,v),t=e.value,n=function(e){var t=new CustomEvent(A,{bubbles:!0});t.attrName=e,t.prevValue=ye.call(this,e),t.newValue=null,t[S]=t.attrChange=2,we.call(this,e),ge.call(this,t)},r=function(e,t){var n=be.call(this,e),r=n&&ye.call(this,e),i=new CustomEvent(A,{bubbles:!0});Ee.call(this,e,t),i.attrName=e,i.prevValue=n?r:null,i.newValue=t,n?i.MODIFICATION=i.attrChange=1:i[k]=i.attrChange=0,ge.call(this,i)},i=function(e){var t,n=e.currentTarget,r=n[p],i=e.propertyName;r.hasOwnProperty(i)&&(r=r[i],(t=new CustomEvent(A,{bubbles:!0})).attrName=r.name,t.prevValue=r.value||null,t.newValue=r.value=n[i]||null,null==t.prevValue?t[k]=t.attrChange=0:t.MODIFICATION=t.attrChange=1,ge.call(n,t))};e.value=function(e,o,a){e===A&&this[w]&&this.setAttribute!==r&&(this[p]={className:{name:"class",value:this.className}},this.setAttribute=r,this.removeAttribute=n,t.call(this,"propertychange",i)),t.call(this,e,o,a)},U(le,v,e)}()):ce||(R[v](A,xe),R.setAttribute(p,1),R.removeAttribute(p),Ae&&(a=function(e){var t,n,r;if(this===e.target){for(r in t=this[p],this[p]=n=u(this),n){if(!(r in t))return s(0,this,r,t[r],n[r],k);if(n[r]!==t[r])return s(1,this,r,t[r],n[r],"MODIFICATION")}for(r in t)if(!(r in n))return s(2,this,r,t[r],n[r],S)}},s=function(e,t,n,r,i,o){var a={attrChange:e,currentTarget:t,attrName:n,prevValue:r,newValue:i};a[o]=e,Me(a)},u=function(e){for(var t,n,r={},i=e.attributes,o=0,a=i.length;o<a;o++)"setAttribute"!==(n=(t=i[o]).name)&&(r[n]=t.value);return r})),n[d]=function(e,t){if(r=e.toUpperCase(),Se||(Se=!0,ce?(c=function(e,t){function n(e,t){for(var n=0,r=e.length;n<r;t(e[n++]));}return new ce(function(r){for(var i,o,a,s=0,u=r.length;s<u;s++)"childList"===(i=r[s]).type?(n(i.addedNodes,e),n(i.removedNodes,t)):(o=i.target,je&&o[w]&&"style"!==i.attributeName&&(a=ye.call(o,i.attributeName))!==i.oldValue&&o[w](i.attributeName,i.oldValue,a))})}(Le(m),Le(y)),(l=function(e){return c.observe(e,{childList:!0,subtree:!0}),e})(n),ve&&(le.attachShadow=function(){return l(ve.apply(this,arguments))})):(o=[],n[v]("DOMNodeInserted",Fe(m)),n[v]("DOMNodeRemoved",Fe(y))),n[v](O,Re),n[v]("readystatechange",Re),le.cloneNode=function(e){var t=me.call(this,!!e),n=Pe(t);return-1<n&&h(t,M[n]),e&&function(e){for(var t,n=0,r=e.length;n<r;n++)t=e[n],h(t,M[Pe(t)])}(t.querySelectorAll(F)),t}),-2<H.call(N,D+r)+H.call(N,I+r)&&qe(e),!L.test(r)||-1<H.call(P,r))throw new Error("The type "+e+" is invalid");var r,i,a=function(){return u?n.createElement(f,r):n.createElement(f)},s=t||$,u=q.call(s,b),f=u?t[b].toUpperCase():r;return u&&-1<H.call(N,I+f)&&qe(f),i=N.push((u?D:I)+r)-1,F=F.concat(F.length?",":"",u?f+'[is="'+e.toLowerCase()+'"]':f),a.prototype=M[i]=q.call(s,"prototype")?s.prototype:se(le),De(n.querySelectorAll(F),m),a},n.createElement=Ce=function(e,t){var r=Ke(t),i=r?_e.call(n,e,ae(r)):_e.call(n,e),o=""+e,a=H.call(N,(r?D:I)+(r||o).toUpperCase()),s=-1<a;return r&&(i.setAttribute("is",r=r.toLowerCase()),s&&(s=Ne(o.toUpperCase(),r))),je=!n.createElement.innerHTMLHelper,s&&h(i,M[a]),i}),Ue.prototype={constructor:Ue,define:J?function(e,t,n){if(n)We(e,t,n);else{var r=e.toUpperCase();re[r]={constructor:t,create:[r]},oe.set(t,r),X.define(e,t)}}:We,get:J?function(e){return X.get(e)||Ve(e)}:Ve,whenDefined:J?function(e){return te.race([X.whenDefined(e),ze(e)])}:ze},X&&"force"!==t)try{!function(t,r,i){if(r[b]="a",(t.prototype=se(HTMLAnchorElement.prototype)).constructor=t,e.customElements.define(i,t,r),ye.call(n.createElement("a",{is:i}),"is")!==i||J&&ye.call(new t,"is")!==i)throw r}(function e(){return Reflect.construct(HTMLAnchorElement,[],e)},{},"document-register-element-a")}catch(e){Qe()}else Qe();try{_e.call(n,"a","a")}catch(e){ae=function(e){return{is:e}}}}e.exports=n,n(t)}).call(this,n(174))},740:function(e,t,n){var r,i,o;i=[e,n(1304),n(1302),n(1301)],void 0===(o="function"==typeof(r=function(e,t,n,r){"use strict";var i=s(t),o=s(n),a=s(r);function s(e){return e&&e.__esModule?e:{default:e}}var u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},c=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),l=function(e){function t(e,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var r=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this));return r.resolveOptions(n),r.listenClick(e),r}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),c(t,[{key:"resolveOptions",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.action="function"==typeof e.action?e.action:this.defaultAction,this.target="function"==typeof e.target?e.target:this.defaultTarget,this.text="function"==typeof e.text?e.text:this.defaultText,this.container="object"===u(e.container)?e.container:document.body}},{key:"listenClick",value:function(e){var t=this;this.listener=(0,a.default)(e,"click",function(e){return t.onClick(e)})}},{key:"onClick",value:function(e){var t=e.delegateTarget||e.currentTarget;this.clipboardAction&&(this.clipboardAction=null),this.clipboardAction=new i.default({action:this.action(t),target:this.target(t),text:this.text(t),container:this.container,trigger:t,emitter:this})}},{key:"defaultAction",value:function(e){return f("action",e)}},{key:"defaultTarget",value:function(e){var t=f("target",e);if(t)return document.querySelector(t)}},{key:"defaultText",value:function(e){return f("text",e)}},{key:"destroy",value:function(){this.listener.destroy(),this.clipboardAction&&(this.clipboardAction.destroy(),this.clipboardAction=null)}}],[{key:"isSupported",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:["copy","cut"],t="string"==typeof e?[e]:e,n=!!document.queryCommandSupported;return t.forEach(function(e){n=n&&!!document.queryCommandSupported(e)}),n}}]),t}(o.default);function f(e,t){var n="data-clipboard-"+e;if(t.hasAttribute(n))return t.getAttribute(n)}e.exports=l})?r.apply(t,i):r)||(e.exports=o)},741:function(e,t,n){
  /**
   * @preserve jed.js https://github.com/SlexAxton/Jed
   */
  !function(n,r){var i=Array.prototype,o=Object.prototype,a=i.slice,s=o.hasOwnProperty,u=i.forEach,c={},l={forEach:function(e,t,n){var r,i,o;if(null!==e)if(u&&e.forEach===u)e.forEach(t,n);else if(e.length===+e.length){for(r=0,i=e.length;r<i;r++)if(r in e&&t.call(n,e[r],r,e)===c)return}else for(o in e)if(s.call(e,o)&&t.call(n,e[o],o,e)===c)return},extend:function(e){return this.forEach(a.call(arguments,1),function(t){for(var n in t)e[n]=t[n]}),e}},f=function(e){if(this.defaults={locale_data:{messages:{"":{domain:"messages",lang:"en",plural_forms:"nplurals=2; plural=(n != 1);"}}},domain:"messages",debug:!1},this.options=l.extend({},this.defaults,e),this.textdomain(this.options.domain),e.domain&&!this.options.locale_data[this.options.domain])throw new Error("Text domain set to non-existent domain: `"+e.domain+"`")};function h(e){return f.PF.compile(e||"nplurals=2; plural=(n != 1);")}function d(e,t){this._key=e,this._i18n=t}f.context_delimiter=String.fromCharCode(4),l.extend(d.prototype,{onDomain:function(e){return this._domain=e,this},withContext:function(e){return this._context=e,this},ifPlural:function(e,t){return this._val=e,this._pkey=t,this},fetch:function(e){return"[object Array]"!={}.toString.call(e)&&(e=[].slice.call(arguments,0)),(e&&e.length?f.sprintf:function(e){return e})(this._i18n.dcnpgettext(this._domain,this._context,this._key,this._pkey,this._val),e)}}),l.extend(f.prototype,{translate:function(e){return new d(e,this)},textdomain:function(e){if(!e)return this._textdomain;this._textdomain=e},gettext:function(e){return this.dcnpgettext.call(this,void 0,void 0,e)},dgettext:function(e,t){return this.dcnpgettext.call(this,e,void 0,t)},dcgettext:function(e,t){return this.dcnpgettext.call(this,e,void 0,t)},ngettext:function(e,t,n){return this.dcnpgettext.call(this,void 0,void 0,e,t,n)},dngettext:function(e,t,n,r){return this.dcnpgettext.call(this,e,void 0,t,n,r)},dcngettext:function(e,t,n,r){return this.dcnpgettext.call(this,e,void 0,t,n,r)},pgettext:function(e,t){return this.dcnpgettext.call(this,void 0,e,t)},dpgettext:function(e,t,n){return this.dcnpgettext.call(this,e,t,n)},dcpgettext:function(e,t,n){return this.dcnpgettext.call(this,e,t,n)},npgettext:function(e,t,n,r){return this.dcnpgettext.call(this,void 0,e,t,n,r)},dnpgettext:function(e,t,n,r,i){return this.dcnpgettext.call(this,e,t,n,r,i)},dcnpgettext:function(e,t,n,r,i){var o;if(r=r||n,e=e||this._textdomain,!this.options)return(o=new f).dcnpgettext.call(o,void 0,void 0,n,r,i);if(!this.options.locale_data)throw new Error("No locale data provided.");if(!this.options.locale_data[e])throw new Error("Domain `"+e+"` was not found.");if(!this.options.locale_data[e][""])throw new Error("No locale meta information provided.");if(!n)throw new Error("No translation key found.");var a,s,u,c=t?t+f.context_delimiter+n:n,l=this.options.locale_data,d=l[e],p=(l.messages||this.defaults.locale_data.messages)[""],v=d[""].plural_forms||d[""]["Plural-Forms"]||d[""]["plural-forms"]||p.plural_forms||p["Plural-Forms"]||p["plural-forms"];if(void 0===i)u=0;else{if("number"!=typeof i&&(i=parseInt(i,10),isNaN(i)))throw new Error("The number that was passed in is not a number.");u=h(v)(i)}if(!d)throw new Error("No domain named `"+e+"` could be found.");return!(a=d[c])||u>a.length?(this.options.missing_key_callback&&this.options.missing_key_callback(c,e),s=[n,r],!0===this.options.debug&&console.log(s[h(v)(i)]),s[h()(i)]):(s=a[u])||(s=[n,r])[h()(i)]}});var p,v,m=function(){function e(e){return Object.prototype.toString.call(e).slice(8,-1).toLowerCase()}function t(e,t){for(var n=[];t>0;n[--t]=e);return n.join("")}var n=function(){return n.cache.hasOwnProperty(arguments[0])||(n.cache[arguments[0]]=n.parse(arguments[0])),n.format.call(null,n.cache[arguments[0]],arguments)};return n.format=function(n,r){var i,o,a,s,u,c,l,f=1,h=n.length,d="",p=[];for(o=0;o<h;o++)if("string"===(d=e(n[o])))p.push(n[o]);else if("array"===d){if((s=n[o])[2])for(i=r[f],a=0;a<s[2].length;a++){if(!i.hasOwnProperty(s[2][a]))throw m('[sprintf] property "%s" does not exist',s[2][a]);i=i[s[2][a]]}else i=s[1]?r[s[1]]:r[f++];if(/[^s]/.test(s[8])&&"number"!=e(i))throw m("[sprintf] expecting number but found %s",e(i));switch(void 0!==i&&null!==i||(i=""),s[8]){case"b":i=i.toString(2);break;case"c":i=String.fromCharCode(i);break;case"d":i=parseInt(i,10);break;case"e":i=s[7]?i.toExponential(s[7]):i.toExponential();break;case"f":i=s[7]?parseFloat(i).toFixed(s[7]):parseFloat(i);break;case"o":i=i.toString(8);break;case"s":i=(i=String(i))&&s[7]?i.substring(0,s[7]):i;break;case"u":i=Math.abs(i);break;case"x":i=i.toString(16);break;case"X":i=i.toString(16).toUpperCase()}i=/[def]/.test(s[8])&&s[3]&&i>=0?"+"+i:i,c=s[4]?"0"==s[4]?"0":s[4].charAt(1):" ",l=s[6]-String(i).length,u=s[6]?t(c,l):"",p.push(s[5]?i+u:u+i)}return p.join("")},n.cache={},n.parse=function(e){for(var t=e,n=[],r=[],i=0;t;){if(null!==(n=/^[^\x25]+/.exec(t)))r.push(n[0]);else if(null!==(n=/^\x25{2}/.exec(t)))r.push("%");else{if(null===(n=/^\x25(?:([1-9]\d*)\$|\(([^\)]+)\))?(\+)?(0|'[^$])?(-)?(\d+)?(?:\.(\d+))?([b-fosuxX])/.exec(t)))throw"[sprintf] huh?";if(n[2]){i|=1;var o=[],a=n[2],s=[];if(null===(s=/^([a-z_][a-z_\d]*)/i.exec(a)))throw"[sprintf] huh?";for(o.push(s[1]);""!==(a=a.substring(s[0].length));)if(null!==(s=/^\.([a-z_][a-z_\d]*)/i.exec(a)))o.push(s[1]);else{if(null===(s=/^\[(\d+)\]/.exec(a)))throw"[sprintf] huh?";o.push(s[1])}n[2]=o}else i|=2;if(3===i)throw"[sprintf] mixing positional and named placeholders is not (yet) supported";r.push(n)}t=t.substring(n[0].length)}return r},n}();f.parse_plural=function(e,t){return e=e.replace(/n/g,t),f.parse_expression(e)},f.sprintf=function(e,t){return"[object Array]"=={}.toString.call(t)?function(e,t){return t.unshift(e),m.apply(null,t)}(e,[].slice.call(t)):m.apply(this,[].slice.call(arguments))},f.prototype.sprintf=function(){return f.sprintf.apply(this,arguments)},f.PF={},f.PF.parse=function(e){var t=f.PF.extractPluralExpr(e);return f.PF.parser.parse.call(f.PF.parser,t)},f.PF.compile=function(e){var t=f.PF.parse(e);return function(e){return!0===(n=f.PF.interpreter(t)(e))?1:n||0;var n}},f.PF.interpreter=function(e){return function(t){switch(e.type){case"GROUP":return f.PF.interpreter(e.expr)(t);case"TERNARY":return f.PF.interpreter(e.expr)(t)?f.PF.interpreter(e.truthy)(t):f.PF.interpreter(e.falsey)(t);case"OR":return f.PF.interpreter(e.left)(t)||f.PF.interpreter(e.right)(t);case"AND":return f.PF.interpreter(e.left)(t)&&f.PF.interpreter(e.right)(t);case"LT":return f.PF.interpreter(e.left)(t)<f.PF.interpreter(e.right)(t);case"GT":return f.PF.interpreter(e.left)(t)>f.PF.interpreter(e.right)(t);case"LTE":return f.PF.interpreter(e.left)(t)<=f.PF.interpreter(e.right)(t);case"GTE":return f.PF.interpreter(e.left)(t)>=f.PF.interpreter(e.right)(t);case"EQ":return f.PF.interpreter(e.left)(t)==f.PF.interpreter(e.right)(t);case"NEQ":return f.PF.interpreter(e.left)(t)!=f.PF.interpreter(e.right)(t);case"MOD":return f.PF.interpreter(e.left)(t)%f.PF.interpreter(e.right)(t);case"VAR":return t;case"NUM":return e.val;default:throw new Error("Invalid Token found.")}}},f.PF.extractPluralExpr=function(e){e=e.replace(/^\s\s*/,"").replace(/\s\s*$/,""),/;\s*$/.test(e)||(e=e.concat(";"));var t,n=/nplurals\=(\d+);/,r=e.match(n);if(!(r.length>1))throw new Error("nplurals not found in plural_forms string: "+e);if(r[1],!((t=(e=e.replace(n,"")).match(/plural\=(.*);/))&&t.length>1))throw new Error("`plural` expression not found: "+e);return t[1]},f.PF.parser=(p={trace:function(){},yy:{},symbols_:{error:2,expressions:3,e:4,EOF:5,"?":6,":":7,"||":8,"&&":9,"<":10,"<=":11,">":12,">=":13,"!=":14,"==":15,"%":16,"(":17,")":18,n:19,NUMBER:20,$accept:0,$end:1},terminals_:{2:"error",5:"EOF",6:"?",7:":",8:"||",9:"&&",10:"<",11:"<=",12:">",13:">=",14:"!=",15:"==",16:"%",17:"(",18:")",19:"n",20:"NUMBER"},productions_:[0,[3,2],[4,5],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,1],[4,1]],performAction:function(e,t,n,r,i,o,a){var s=o.length-1;switch(i){case 1:return{type:"GROUP",expr:o[s-1]};case 2:this.$={type:"TERNARY",expr:o[s-4],truthy:o[s-2],falsey:o[s]};break;case 3:this.$={type:"OR",left:o[s-2],right:o[s]};break;case 4:this.$={type:"AND",left:o[s-2],right:o[s]};break;case 5:this.$={type:"LT",left:o[s-2],right:o[s]};break;case 6:this.$={type:"LTE",left:o[s-2],right:o[s]};break;case 7:this.$={type:"GT",left:o[s-2],right:o[s]};break;case 8:this.$={type:"GTE",left:o[s-2],right:o[s]};break;case 9:this.$={type:"NEQ",left:o[s-2],right:o[s]};break;case 10:this.$={type:"EQ",left:o[s-2],right:o[s]};break;case 11:this.$={type:"MOD",left:o[s-2],right:o[s]};break;case 12:this.$={type:"GROUP",expr:o[s-1]};break;case 13:this.$={type:"VAR"};break;case 14:this.$={type:"NUM",val:Number(e)}}},table:[{3:1,4:2,17:[1,3],19:[1,4],20:[1,5]},{1:[3]},{5:[1,6],6:[1,7],8:[1,8],9:[1,9],10:[1,10],11:[1,11],12:[1,12],13:[1,13],14:[1,14],15:[1,15],16:[1,16]},{4:17,17:[1,3],19:[1,4],20:[1,5]},{5:[2,13],6:[2,13],7:[2,13],8:[2,13],9:[2,13],10:[2,13],11:[2,13],12:[2,13],13:[2,13],14:[2,13],15:[2,13],16:[2,13],18:[2,13]},{5:[2,14],6:[2,14],7:[2,14],8:[2,14],9:[2,14],10:[2,14],11:[2,14],12:[2,14],13:[2,14],14:[2,14],15:[2,14],16:[2,14],18:[2,14]},{1:[2,1]},{4:18,17:[1,3],19:[1,4],20:[1,5]},{4:19,17:[1,3],19:[1,4],20:[1,5]},{4:20,17:[1,3],19:[1,4],20:[1,5]},{4:21,17:[1,3],19:[1,4],20:[1,5]},{4:22,17:[1,3],19:[1,4],20:[1,5]},{4:23,17:[1,3],19:[1,4],20:[1,5]},{4:24,17:[1,3],19:[1,4],20:[1,5]},{4:25,17:[1,3],19:[1,4],20:[1,5]},{4:26,17:[1,3],19:[1,4],20:[1,5]},{4:27,17:[1,3],19:[1,4],20:[1,5]},{6:[1,7],8:[1,8],9:[1,9],10:[1,10],11:[1,11],12:[1,12],13:[1,13],14:[1,14],15:[1,15],16:[1,16],18:[1,28]},{6:[1,7],7:[1,29],8:[1,8],9:[1,9],10:[1,10],11:[1,11],12:[1,12],13:[1,13],14:[1,14],15:[1,15],16:[1,16]},{5:[2,3],6:[2,3],7:[2,3],8:[2,3],9:[1,9],10:[1,10],11:[1,11],12:[1,12],13:[1,13],14:[1,14],15:[1,15],16:[1,16],18:[2,3]},{5:[2,4],6:[2,4],7:[2,4],8:[2,4],9:[2,4],10:[1,10],11:[1,11],12:[1,12],13:[1,13],14:[1,14],15:[1,15],16:[1,16],18:[2,4]},{5:[2,5],6:[2,5],7:[2,5],8:[2,5],9:[2,5],10:[2,5],11:[2,5],12:[2,5],13:[2,5],14:[2,5],15:[2,5],16:[1,16],18:[2,5]},{5:[2,6],6:[2,6],7:[2,6],8:[2,6],9:[2,6],10:[2,6],11:[2,6],12:[2,6],13:[2,6],14:[2,6],15:[2,6],16:[1,16],18:[2,6]},{5:[2,7],6:[2,7],7:[2,7],8:[2,7],9:[2,7],10:[2,7],11:[2,7],12:[2,7],13:[2,7],14:[2,7],15:[2,7],16:[1,16],18:[2,7]},{5:[2,8],6:[2,8],7:[2,8],8:[2,8],9:[2,8],10:[2,8],11:[2,8],12:[2,8],13:[2,8],14:[2,8],15:[2,8],16:[1,16],18:[2,8]},{5:[2,9],6:[2,9],7:[2,9],8:[2,9],9:[2,9],10:[2,9],11:[2,9],12:[2,9],13:[2,9],14:[2,9],15:[2,9],16:[1,16],18:[2,9]},{5:[2,10],6:[2,10],7:[2,10],8:[2,10],9:[2,10],10:[2,10],11:[2,10],12:[2,10],13:[2,10],14:[2,10],15:[2,10],16:[1,16],18:[2,10]},{5:[2,11],6:[2,11],7:[2,11],8:[2,11],9:[2,11],10:[2,11],11:[2,11],12:[2,11],13:[2,11],14:[2,11],15:[2,11],16:[2,11],18:[2,11]},{5:[2,12],6:[2,12],7:[2,12],8:[2,12],9:[2,12],10:[2,12],11:[2,12],12:[2,12],13:[2,12],14:[2,12],15:[2,12],16:[2,12],18:[2,12]},{4:30,17:[1,3],19:[1,4],20:[1,5]},{5:[2,2],6:[1,7],7:[2,2],8:[1,8],9:[1,9],10:[1,10],11:[1,11],12:[1,12],13:[1,13],14:[1,14],15:[1,15],16:[1,16],18:[2,2]}],defaultActions:{6:[2,1]},parseError:function(e,t){throw new Error(e)},parse:function(e){var t=this,n=[0],r=[null],i=[],o=this.table,a="",s=0,u=0,c=0;this.lexer.setInput(e),this.lexer.yy=this.yy,this.yy.lexer=this.lexer,void 0===this.lexer.yylloc&&(this.lexer.yylloc={});var l=this.lexer.yylloc;function f(){var e;return"number"!=typeof(e=t.lexer.lex()||1)&&(e=t.symbols_[e]||e),e}i.push(l),"function"==typeof this.yy.parseError&&(this.parseError=this.yy.parseError);for(var h,d,p,v,m,g,y,b,w,E,_={};;){if(p=n[n.length-1],this.defaultActions[p]?v=this.defaultActions[p]:(null==h&&(h=f()),v=o[p]&&o[p][h]),void 0===v||!v.length||!v[0]){if(!c){for(g in w=[],o[p])this.terminals_[g]&&g>2&&w.push("'"+this.terminals_[g]+"'");var C="";C=this.lexer.showPosition?"Parse error on line "+(s+1)+":\n"+this.lexer.showPosition()+"\nExpecting "+w.join(", ")+", got '"+this.terminals_[h]+"'":"Parse error on line "+(s+1)+": Unexpected "+(1==h?"end of input":"'"+(this.terminals_[h]||h)+"'"),this.parseError(C,{text:this.lexer.match,token:this.terminals_[h]||h,line:this.lexer.yylineno,loc:l,expected:w})}if(3==c){if(1==h)throw new Error(C||"Parsing halted.");u=this.lexer.yyleng,a=this.lexer.yytext,s=this.lexer.yylineno,l=this.lexer.yylloc,h=f()}for(;!(2..toString()in o[p]);){if(0==p)throw new Error(C||"Parsing halted.");E=1,n.length=n.length-2*E,r.length=r.length-E,i.length=i.length-E,p=n[n.length-1]}d=h,h=2,v=o[p=n[n.length-1]]&&o[p][2],c=3}if(v[0]instanceof Array&&v.length>1)throw new Error("Parse Error: multiple actions possible at state: "+p+", token: "+h);switch(v[0]){case 1:n.push(h),r.push(this.lexer.yytext),i.push(this.lexer.yylloc),n.push(v[1]),h=null,d?(h=d,d=null):(u=this.lexer.yyleng,a=this.lexer.yytext,s=this.lexer.yylineno,l=this.lexer.yylloc,c>0&&c--);break;case 2:if(y=this.productions_[v[1]][1],_.$=r[r.length-y],_._$={first_line:i[i.length-(y||1)].first_line,last_line:i[i.length-1].last_line,first_column:i[i.length-(y||1)].first_column,last_column:i[i.length-1].last_column},void 0!==(m=this.performAction.call(_,a,u,s,this.yy,v[1],r,i)))return m;y&&(n=n.slice(0,-1*y*2),r=r.slice(0,-1*y),i=i.slice(0,-1*y)),n.push(this.productions_[v[1]][0]),r.push(_.$),i.push(_._$),b=o[n[n.length-2]][n[n.length-1]],n.push(b);break;case 3:return!0}}return!0}},v=function(){var e={EOF:1,parseError:function(e,t){if(!this.yy.parseError)throw new Error(e);this.yy.parseError(e,t)},setInput:function(e){return this._input=e,this._more=this._less=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this},input:function(){var e=this._input[0];return this.yytext+=e,this.yyleng++,this.match+=e,this.matched+=e,e.match(/\n/)&&this.yylineno++,this._input=this._input.slice(1),e},unput:function(e){return this._input=e+this._input,this},more:function(){return this._more=!0,this},pastInput:function(){var e=this.matched.substr(0,this.matched.length-this.match.length);return(e.length>20?"...":"")+e.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var e=this.match;return e.length<20&&(e+=this._input.substr(0,20-e.length)),(e.substr(0,20)+(e.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var e=this.pastInput(),t=new Array(e.length+1).join("-");return e+this.upcomingInput()+"\n"+t+"^"},next:function(){if(this.done)return this.EOF;var e,t;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var n=this._currentRules(),r=0;r<n.length;r++)if(e=this._input.match(this.rules[n[r]]))return(t=e[0].match(/\n.*/g))&&(this.yylineno+=t.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:t?t[t.length-1].length-1:this.yylloc.last_column+e[0].length},this.yytext+=e[0],this.match+=e[0],this.matches=e,this.yyleng=this.yytext.length,this._more=!1,this._input=this._input.slice(e[0].length),this.matched+=e[0],this.performAction.call(this,this.yy,this,n[r],this.conditionStack[this.conditionStack.length-1])||void 0;if(""===this._input)return this.EOF;this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){var e=this.next();return void 0!==e?e:this.lex()},begin:function(e){this.conditionStack.push(e)},popState:function(){return this.conditionStack.pop()},_currentRules:function(){return this.conditions[this.conditionStack[this.conditionStack.length-1]].rules},topState:function(){return this.conditionStack[this.conditionStack.length-2]},pushState:function(e){this.begin(e)},performAction:function(e,t,n,r){switch(n){case 0:break;case 1:return 20;case 2:return 19;case 3:return 8;case 4:return 9;case 5:return 6;case 6:return 7;case 7:return 11;case 8:return 13;case 9:return 10;case 10:return 12;case 11:return 14;case 12:return 15;case 13:return 16;case 14:return 17;case 15:return 18;case 16:return 5;case 17:return"INVALID"}},rules:[/^\s+/,/^[0-9]+(\.[0-9]+)?\b/,/^n\b/,/^\|\|/,/^&&/,/^\?/,/^:/,/^<=/,/^>=/,/^</,/^>/,/^!=/,/^==/,/^%/,/^\(/,/^\)/,/^$/,/^./],conditions:{INITIAL:{rules:[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17],inclusive:!0}}};return e}(),p.lexer=v,p),void 0!==e&&e.exports&&(t=e.exports=f),t.Jed=f}()},742:function(e,t,n){var r,i;i=this,void 0===(r=function(){return i.svg4everybody=function(){
  /*! svg4everybody v2.1.9 | github.com/jonathantneal/svg4everybody */
  function e(e,t,n){if(n){var r=document.createDocumentFragment(),i=!t.hasAttribute("viewBox")&&n.getAttribute("viewBox");i&&t.setAttribute("viewBox",i);for(var o=n.cloneNode(!0);o.childNodes.length;)r.appendChild(o.firstChild);e.appendChild(r)}}function t(t){t.onreadystatechange=function(){if(4===t.readyState){var n=t._cachedDocument;n||((n=t._cachedDocument=document.implementation.createHTMLDocument("")).body.innerHTML=t.responseText,t._cachedTarget={}),t._embeds.splice(0).map(function(r){var i=t._cachedTarget[r.id];i||(i=t._cachedTarget[r.id]=n.getElementById(r.id)),e(r.parent,r.svg,i)})}},t.onreadystatechange()}function n(e){for(var t=e;"svg"!==t.nodeName.toLowerCase()&&(t=t.parentNode););return t}return function(r){var i,o=Object(r),a=window.top!==window.self;i="polyfill"in o?o.polyfill:/\bTrident\/[567]\b|\bMSIE (?:9|10)\.0\b/.test(navigator.userAgent)||(navigator.userAgent.match(/\bEdge\/12\.(\d+)\b/)||[])[1]<10547||(navigator.userAgent.match(/\bAppleWebKit\/(\d+)\b/)||[])[1]<537||/\bEdge\/.(\d+)\b/.test(navigator.userAgent)&&a;var s={},u=window.requestAnimationFrame||setTimeout,c=document.getElementsByTagName("use"),l=0;i&&function r(){for(var a=0;a<c.length;){var f=c[a],h=f.parentNode,d=n(h),p=f.getAttribute("xlink:href")||f.getAttribute("href");if(!p&&o.attributeName&&(p=f.getAttribute(o.attributeName)),d&&p){if(i)if(!o.validate||o.validate(p,d,f)){h.removeChild(f);var v=p.split("#"),m=v.shift(),g=v.join("#");if(m.length){var y=s[m];y||((y=s[m]=new XMLHttpRequest).open("GET",m),y.send(),y._embeds=[]),y._embeds.push({parent:h,svg:d,id:g}),t(y)}else e(h,d,document.getElementById(g))}else++a,++l}else++a}(!c.length||c.length-l>0)&&u(r,67)}()}}()}.apply(t,[]))||(e.exports=r)},75:function(e,t,n){"use strict";n.d(t,"a",function(){return i});var r=n(21);function i(e){var t=document.querySelector(e),n=t&&t.getAttribute("href");n&&Object(r.g)(n)}},76:function(e,t,n){"use strict";function r(e,t){var n=void 0;try{n=!!e[t]}catch(e){n=!1}return n}function i(e,t){var n=!0;try{for(var r=arguments.length,i=Array(r>2?r-2:0),o=2;o<r;o++)i[o-2]=arguments[o];e[t].apply(e,i)}catch(e){n=!1}return n}var o={isPropertyAccessSafe:r,isFunctionCallSafe:i,isLocalStorageAccessSafe:function(){var e=void 0;return(e=r(window,"localStorage"))?((e=i(window.localStorage,"setItem","isLocalStorageAccessSafe","true"))&&window.localStorage.removeItem("isLocalStorageAccessSafe"),e):e}};t.a=o},8:function(e,t,n){"use strict";n.r(t),function(e,n){
  /*!
   * Vue.js v2.5.16
   * (c) 2014-2018 Evan You
   * Released under the MIT License.
   */
  var r=Object.freeze({});function i(e){return void 0===e||null===e}function o(e){return void 0!==e&&null!==e}function a(e){return!0===e}function s(e){return"string"==typeof e||"number"==typeof e||"symbol"==typeof e||"boolean"==typeof e}function u(e){return null!==e&&"object"==typeof e}var c=Object.prototype.toString;function l(e){return"[object Object]"===c.call(e)}function f(e){return"[object RegExp]"===c.call(e)}function h(e){var t=parseFloat(String(e));return t>=0&&Math.floor(t)===t&&isFinite(e)}function d(e){return null==e?"":"object"==typeof e?JSON.stringify(e,null,2):String(e)}function p(e){var t=parseFloat(e);return isNaN(t)?e:t}function v(e,t){for(var n=Object.create(null),r=e.split(","),i=0;i<r.length;i++)n[r[i]]=!0;return t?function(e){return n[e.toLowerCase()]}:function(e){return n[e]}}var m=v("slot,component",!0),g=v("key,ref,slot,slot-scope,is");function y(e,t){if(e.length){var n=e.indexOf(t);if(n>-1)return e.splice(n,1)}}var b=Object.prototype.hasOwnProperty;function w(e,t){return b.call(e,t)}function E(e){var t=Object.create(null);return function(n){return t[n]||(t[n]=e(n))}}var _=/-(\w)/g,C=E(function(e){return e.replace(_,function(e,t){return t?t.toUpperCase():""})}),T=E(function(e){return e.charAt(0).toUpperCase()+e.slice(1)}),x=/\B([A-Z])/g,k=E(function(e){return e.replace(x,"-$1").toLowerCase()});var S=Function.prototype.bind?function(e,t){return e.bind(t)}:function(e,t){function n(n){var r=arguments.length;return r?r>1?e.apply(t,arguments):e.call(t,n):e.call(t)}return n._length=e.length,n};function A(e,t){t=t||0;for(var n=e.length-t,r=new Array(n);n--;)r[n]=e[n+t];return r}function O(e,t){for(var n in t)e[n]=t[n];return e}function j(e){for(var t={},n=0;n<e.length;n++)e[n]&&O(t,e[n]);return t}function I(e,t,n){}var D=function(e,t,n){return!1},L=function(e){return e};function P(e,t){if(e===t)return!0;var n=u(e),r=u(t);if(!n||!r)return!n&&!r&&String(e)===String(t);try{var i=Array.isArray(e),o=Array.isArray(t);if(i&&o)return e.length===t.length&&e.every(function(e,n){return P(e,t[n])});if(i||o)return!1;var a=Object.keys(e),s=Object.keys(t);return a.length===s.length&&a.every(function(n){return P(e[n],t[n])})}catch(e){return!1}}function N(e,t){for(var n=0;n<e.length;n++)if(P(e[n],t))return n;return-1}function M(e){var t=!1;return function(){t||(t=!0,e.apply(this,arguments))}}var F="data-server-rendered",R=["component","directive","filter"],H=["beforeCreate","created","beforeMount","mounted","beforeUpdate","updated","beforeDestroy","destroyed","activated","deactivated","errorCaptured"],$={optionMergeStrategies:Object.create(null),silent:!1,productionTip:!1,devtools:!1,performance:!1,errorHandler:null,warnHandler:null,ignoredElements:[],keyCodes:Object.create(null),isReservedTag:D,isReservedAttr:D,isUnknownElement:D,getTagNamespace:I,parsePlatformTagName:L,mustUseProp:D,_lifecycleHooks:H};function q(e,t,n,r){Object.defineProperty(e,t,{value:n,enumerable:!!r,writable:!0,configurable:!0})}var B=/[^\w.$]/;var U,W="__proto__"in{},V="undefined"!=typeof window,K="undefined"!=typeof WXEnvironment&&!!WXEnvironment.platform,G=K&&WXEnvironment.platform.toLowerCase(),z=V&&window.navigator.userAgent.toLowerCase(),Q=z&&/msie|trident/.test(z),Y=z&&z.indexOf("msie 9.0")>0,X=z&&z.indexOf("edge/")>0,J=(z&&z.indexOf("android"),z&&/iphone|ipad|ipod|ios/.test(z)||"ios"===G),Z=(z&&/chrome\/\d+/.test(z),{}.watch),ee=!1;if(V)try{var te={};Object.defineProperty(te,"passive",{get:function(){ee=!0}}),window.addEventListener("test-passive",null,te)}catch(e){}var ne=function(){return void 0===U&&(U=!V&&!K&&void 0!==e&&"server"===e.process.env.VUE_ENV),U},re=V&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function ie(e){return"function"==typeof e&&/native code/.test(e.toString())}var oe,ae="undefined"!=typeof Symbol&&ie(Symbol)&&"undefined"!=typeof Reflect&&ie(Reflect.ownKeys);oe="undefined"!=typeof Set&&ie(Set)?Set:function(){function e(){this.set=Object.create(null)}return e.prototype.has=function(e){return!0===this.set[e]},e.prototype.add=function(e){this.set[e]=!0},e.prototype.clear=function(){this.set=Object.create(null)},e}();var se=I,ue=0,ce=function(){this.id=ue++,this.subs=[]};ce.prototype.addSub=function(e){this.subs.push(e)},ce.prototype.removeSub=function(e){y(this.subs,e)},ce.prototype.depend=function(){ce.target&&ce.target.addDep(this)},ce.prototype.notify=function(){for(var e=this.subs.slice(),t=0,n=e.length;t<n;t++)e[t].update()},ce.target=null;var le=[];function fe(e){ce.target&&le.push(ce.target),ce.target=e}function he(){ce.target=le.pop()}var de=function(e,t,n,r,i,o,a,s){this.tag=e,this.data=t,this.children=n,this.text=r,this.elm=i,this.ns=void 0,this.context=o,this.fnContext=void 0,this.fnOptions=void 0,this.fnScopeId=void 0,this.key=t&&t.key,this.componentOptions=a,this.componentInstance=void 0,this.parent=void 0,this.raw=!1,this.isStatic=!1,this.isRootInsert=!0,this.isComment=!1,this.isCloned=!1,this.isOnce=!1,this.asyncFactory=s,this.asyncMeta=void 0,this.isAsyncPlaceholder=!1},pe={child:{configurable:!0}};pe.child.get=function(){return this.componentInstance},Object.defineProperties(de.prototype,pe);var ve=function(e){void 0===e&&(e="");var t=new de;return t.text=e,t.isComment=!0,t};function me(e){return new de(void 0,void 0,void 0,String(e))}function ge(e){var t=new de(e.tag,e.data,e.children,e.text,e.elm,e.context,e.componentOptions,e.asyncFactory);return t.ns=e.ns,t.isStatic=e.isStatic,t.key=e.key,t.isComment=e.isComment,t.fnContext=e.fnContext,t.fnOptions=e.fnOptions,t.fnScopeId=e.fnScopeId,t.isCloned=!0,t}var ye=Array.prototype,be=Object.create(ye);["push","pop","shift","unshift","splice","sort","reverse"].forEach(function(e){var t=ye[e];q(be,e,function(){for(var n=[],r=arguments.length;r--;)n[r]=arguments[r];var i,o=t.apply(this,n),a=this.__ob__;switch(e){case"push":case"unshift":i=n;break;case"splice":i=n.slice(2)}return i&&a.observeArray(i),a.dep.notify(),o})});var we=Object.getOwnPropertyNames(be),Ee=!0;function _e(e){Ee=e}var Ce=function(e){(this.value=e,this.dep=new ce,this.vmCount=0,q(e,"__ob__",this),Array.isArray(e))?((W?Te:xe)(e,be,we),this.observeArray(e)):this.walk(e)};function Te(e,t,n){e.__proto__=t}function xe(e,t,n){for(var r=0,i=n.length;r<i;r++){var o=n[r];q(e,o,t[o])}}function ke(e,t){var n;if(u(e)&&!(e instanceof de))return w(e,"__ob__")&&e.__ob__ instanceof Ce?n=e.__ob__:Ee&&!ne()&&(Array.isArray(e)||l(e))&&Object.isExtensible(e)&&!e._isVue&&(n=new Ce(e)),t&&n&&n.vmCount++,n}function Se(e,t,n,r,i){var o=new ce,a=Object.getOwnPropertyDescriptor(e,t);if(!a||!1!==a.configurable){var s=a&&a.get;s||2!==arguments.length||(n=e[t]);var u=a&&a.set,c=!i&&ke(n);Object.defineProperty(e,t,{enumerable:!0,configurable:!0,get:function(){var t=s?s.call(e):n;return ce.target&&(o.depend(),c&&(c.dep.depend(),Array.isArray(t)&&function e(t){for(var n=void 0,r=0,i=t.length;r<i;r++)(n=t[r])&&n.__ob__&&n.__ob__.dep.depend(),Array.isArray(n)&&e(n)}(t))),t},set:function(t){var r=s?s.call(e):n;t===r||t!=t&&r!=r||(u?u.call(e,t):n=t,c=!i&&ke(t),o.notify())}})}}function Ae(e,t,n){if(Array.isArray(e)&&h(t))return e.length=Math.max(e.length,t),e.splice(t,1,n),n;if(t in e&&!(t in Object.prototype))return e[t]=n,n;var r=e.__ob__;return e._isVue||r&&r.vmCount?n:r?(Se(r.value,t,n),r.dep.notify(),n):(e[t]=n,n)}function Oe(e,t){if(Array.isArray(e)&&h(t))e.splice(t,1);else{var n=e.__ob__;e._isVue||n&&n.vmCount||w(e,t)&&(delete e[t],n&&n.dep.notify())}}Ce.prototype.walk=function(e){for(var t=Object.keys(e),n=0;n<t.length;n++)Se(e,t[n])},Ce.prototype.observeArray=function(e){for(var t=0,n=e.length;t<n;t++)ke(e[t])};var je=$.optionMergeStrategies;function Ie(e,t){if(!t)return e;for(var n,r,i,o=Object.keys(t),a=0;a<o.length;a++)r=e[n=o[a]],i=t[n],w(e,n)?l(r)&&l(i)&&Ie(r,i):Ae(e,n,i);return e}function De(e,t,n){return n?function(){var r="function"==typeof t?t.call(n,n):t,i="function"==typeof e?e.call(n,n):e;return r?Ie(r,i):i}:t?e?function(){return Ie("function"==typeof t?t.call(this,this):t,"function"==typeof e?e.call(this,this):e)}:t:e}function Le(e,t){return t?e?e.concat(t):Array.isArray(t)?t:[t]:e}function Pe(e,t,n,r){var i=Object.create(e||null);return t?O(i,t):i}je.data=function(e,t,n){return n?De(e,t,n):t&&"function"!=typeof t?e:De(e,t)},H.forEach(function(e){je[e]=Le}),R.forEach(function(e){je[e+"s"]=Pe}),je.watch=function(e,t,n,r){if(e===Z&&(e=void 0),t===Z&&(t=void 0),!t)return Object.create(e||null);if(!e)return t;var i={};for(var o in O(i,e),t){var a=i[o],s=t[o];a&&!Array.isArray(a)&&(a=[a]),i[o]=a?a.concat(s):Array.isArray(s)?s:[s]}return i},je.props=je.methods=je.inject=je.computed=function(e,t,n,r){if(!e)return t;var i=Object.create(null);return O(i,e),t&&O(i,t),i},je.provide=De;var Ne=function(e,t){return void 0===t?e:t};function Me(e,t,n){"function"==typeof t&&(t=t.options),function(e,t){var n=e.props;if(n){var r,i,o={};if(Array.isArray(n))for(r=n.length;r--;)"string"==typeof(i=n[r])&&(o[C(i)]={type:null});else if(l(n))for(var a in n)i=n[a],o[C(a)]=l(i)?i:{type:i};e.props=o}}(t),function(e,t){var n=e.inject;if(n){var r=e.inject={};if(Array.isArray(n))for(var i=0;i<n.length;i++)r[n[i]]={from:n[i]};else if(l(n))for(var o in n){var a=n[o];r[o]=l(a)?O({from:o},a):{from:a}}}}(t),function(e){var t=e.directives;if(t)for(var n in t){var r=t[n];"function"==typeof r&&(t[n]={bind:r,update:r})}}(t);var r=t.extends;if(r&&(e=Me(e,r,n)),t.mixins)for(var i=0,o=t.mixins.length;i<o;i++)e=Me(e,t.mixins[i],n);var a,s={};for(a in e)u(a);for(a in t)w(e,a)||u(a);function u(r){var i=je[r]||Ne;s[r]=i(e[r],t[r],n,r)}return s}function Fe(e,t,n,r){if("string"==typeof n){var i=e[t];if(w(i,n))return i[n];var o=C(n);if(w(i,o))return i[o];var a=T(o);return w(i,a)?i[a]:i[n]||i[o]||i[a]}}function Re(e,t,n,r){var i=t[e],o=!w(n,e),a=n[e],s=qe(Boolean,i.type);if(s>-1)if(o&&!w(i,"default"))a=!1;else if(""===a||a===k(e)){var u=qe(String,i.type);(u<0||s<u)&&(a=!0)}if(void 0===a){a=function(e,t,n){if(!w(t,"default"))return;var r=t.default;0;if(e&&e.$options.propsData&&void 0===e.$options.propsData[n]&&void 0!==e._props[n])return e._props[n];return"function"==typeof r&&"Function"!==He(t.type)?r.call(e):r}(r,i,e);var c=Ee;_e(!0),ke(a),_e(c)}return a}function He(e){var t=e&&e.toString().match(/^\s*function (\w+)/);return t?t[1]:""}function $e(e,t){return He(e)===He(t)}function qe(e,t){if(!Array.isArray(t))return $e(t,e)?0:-1;for(var n=0,r=t.length;n<r;n++)if($e(t[n],e))return n;return-1}function Be(e,t,n){if(t)for(var r=t;r=r.$parent;){var i=r.$options.errorCaptured;if(i)for(var o=0;o<i.length;o++)try{if(!1===i[o].call(r,e,t,n))return}catch(e){Ue(e,r,"errorCaptured hook")}}Ue(e,t,n)}function Ue(e,t,n){if($.errorHandler)try{return $.errorHandler.call(null,e,t,n)}catch(e){We(e,null,"config.errorHandler")}We(e,t,n)}function We(e,t,n){if(!V&&!K||"undefined"==typeof console)throw e;console.error(e)}var Ve,Ke,Ge=[],ze=!1;function Qe(){ze=!1;var e=Ge.slice(0);Ge.length=0;for(var t=0;t<e.length;t++)e[t]()}var Ye=!1;if(void 0!==n&&ie(n))Ke=function(){n(Qe)};else if("undefined"==typeof MessageChannel||!ie(MessageChannel)&&"[object MessageChannelConstructor]"!==MessageChannel.toString())Ke=function(){setTimeout(Qe,0)};else{var Xe=new MessageChannel,Je=Xe.port2;Xe.port1.onmessage=Qe,Ke=function(){Je.postMessage(1)}}if("undefined"!=typeof Promise&&ie(Promise)){var Ze=Promise.resolve();Ve=function(){Ze.then(Qe),J&&setTimeout(I)}}else Ve=Ke;function et(e,t){var n;if(Ge.push(function(){if(e)try{e.call(t)}catch(e){Be(e,t,"nextTick")}else n&&n(t)}),ze||(ze=!0,Ye?Ke():Ve()),!e&&"undefined"!=typeof Promise)return new Promise(function(e){n=e})}var tt=new oe;function nt(e){!function e(t,n){var r,i;var o=Array.isArray(t);if(!o&&!u(t)||Object.isFrozen(t)||t instanceof de)return;if(t.__ob__){var a=t.__ob__.dep.id;if(n.has(a))return;n.add(a)}if(o)for(r=t.length;r--;)e(t[r],n);else for(i=Object.keys(t),r=i.length;r--;)e(t[i[r]],n)}(e,tt),tt.clear()}var rt,it=E(function(e){var t="&"===e.charAt(0),n="~"===(e=t?e.slice(1):e).charAt(0),r="!"===(e=n?e.slice(1):e).charAt(0);return{name:e=r?e.slice(1):e,once:n,capture:r,passive:t}});function ot(e){function t(){var e=arguments,n=t.fns;if(!Array.isArray(n))return n.apply(null,arguments);for(var r=n.slice(),i=0;i<r.length;i++)r[i].apply(null,e)}return t.fns=e,t}function at(e,t,n,r,o){var a,s,u,c;for(a in e)s=e[a],u=t[a],c=it(a),i(s)||(i(u)?(i(s.fns)&&(s=e[a]=ot(s)),n(c.name,s,c.once,c.capture,c.passive,c.params)):s!==u&&(u.fns=s,e[a]=u));for(a in t)i(e[a])&&r((c=it(a)).name,t[a],c.capture)}function st(e,t,n){var r;e instanceof de&&(e=e.data.hook||(e.data.hook={}));var s=e[t];function u(){n.apply(this,arguments),y(r.fns,u)}i(s)?r=ot([u]):o(s.fns)&&a(s.merged)?(r=s).fns.push(u):r=ot([s,u]),r.merged=!0,e[t]=r}function ut(e,t,n,r,i){if(o(t)){if(w(t,n))return e[n]=t[n],i||delete t[n],!0;if(w(t,r))return e[n]=t[r],i||delete t[r],!0}return!1}function ct(e){return s(e)?[me(e)]:Array.isArray(e)?function e(t,n){var r=[];var u,c,l,f;for(u=0;u<t.length;u++)i(c=t[u])||"boolean"==typeof c||(l=r.length-1,f=r[l],Array.isArray(c)?c.length>0&&(lt((c=e(c,(n||"")+"_"+u))[0])&&lt(f)&&(r[l]=me(f.text+c[0].text),c.shift()),r.push.apply(r,c)):s(c)?lt(f)?r[l]=me(f.text+c):""!==c&&r.push(me(c)):lt(c)&&lt(f)?r[l]=me(f.text+c.text):(a(t._isVList)&&o(c.tag)&&i(c.key)&&o(n)&&(c.key="__vlist"+n+"_"+u+"__"),r.push(c)));return r}(e):void 0}function lt(e){return o(e)&&o(e.text)&&!1===e.isComment}function ft(e,t){return(e.__esModule||ae&&"Module"===e[Symbol.toStringTag])&&(e=e.default),u(e)?t.extend(e):e}function ht(e){return e.isComment&&e.asyncFactory}function dt(e){if(Array.isArray(e))for(var t=0;t<e.length;t++){var n=e[t];if(o(n)&&(o(n.componentOptions)||ht(n)))return n}}function pt(e,t,n){n?rt.$once(e,t):rt.$on(e,t)}function vt(e,t){rt.$off(e,t)}function mt(e,t,n){rt=e,at(t,n||{},pt,vt),rt=void 0}function gt(e,t){var n={};if(!e)return n;for(var r=0,i=e.length;r<i;r++){var o=e[r],a=o.data;if(a&&a.attrs&&a.attrs.slot&&delete a.attrs.slot,o.context!==t&&o.fnContext!==t||!a||null==a.slot)(n.default||(n.default=[])).push(o);else{var s=a.slot,u=n[s]||(n[s]=[]);"template"===o.tag?u.push.apply(u,o.children||[]):u.push(o)}}for(var c in n)n[c].every(yt)&&delete n[c];return n}function yt(e){return e.isComment&&!e.asyncFactory||" "===e.text}function bt(e,t){t=t||{};for(var n=0;n<e.length;n++)Array.isArray(e[n])?bt(e[n],t):t[e[n].key]=e[n].fn;return t}var wt=null;function Et(e){for(;e&&(e=e.$parent);)if(e._inactive)return!0;return!1}function _t(e,t){if(t){if(e._directInactive=!1,Et(e))return}else if(e._directInactive)return;if(e._inactive||null===e._inactive){e._inactive=!1;for(var n=0;n<e.$children.length;n++)_t(e.$children[n]);Ct(e,"activated")}}function Ct(e,t){fe();var n=e.$options[t];if(n)for(var r=0,i=n.length;r<i;r++)try{n[r].call(e)}catch(n){Be(n,e,t+" hook")}e._hasHookEvent&&e.$emit("hook:"+t),he()}var Tt=[],xt=[],kt={},St=!1,At=!1,Ot=0;function jt(){var e,t;for(At=!0,Tt.sort(function(e,t){return e.id-t.id}),Ot=0;Ot<Tt.length;Ot++)t=(e=Tt[Ot]).id,kt[t]=null,e.run();var n=xt.slice(),r=Tt.slice();Ot=Tt.length=xt.length=0,kt={},St=At=!1,function(e){for(var t=0;t<e.length;t++)e[t]._inactive=!0,_t(e[t],!0)}(n),function(e){var t=e.length;for(;t--;){var n=e[t],r=n.vm;r._watcher===n&&r._isMounted&&Ct(r,"updated")}}(r),re&&$.devtools&&re.emit("flush")}var It=0,Dt=function(e,t,n,r,i){this.vm=e,i&&(e._watcher=this),e._watchers.push(this),r?(this.deep=!!r.deep,this.user=!!r.user,this.lazy=!!r.lazy,this.sync=!!r.sync):this.deep=this.user=this.lazy=this.sync=!1,this.cb=n,this.id=++It,this.active=!0,this.dirty=this.lazy,this.deps=[],this.newDeps=[],this.depIds=new oe,this.newDepIds=new oe,this.expression="","function"==typeof t?this.getter=t:(this.getter=function(e){if(!B.test(e)){var t=e.split(".");return function(e){for(var n=0;n<t.length;n++){if(!e)return;e=e[t[n]]}return e}}}(t),this.getter||(this.getter=function(){})),this.value=this.lazy?void 0:this.get()};Dt.prototype.get=function(){var e;fe(this);var t=this.vm;try{e=this.getter.call(t,t)}catch(e){if(!this.user)throw e;Be(e,t,'getter for watcher "'+this.expression+'"')}finally{this.deep&&nt(e),he(),this.cleanupDeps()}return e},Dt.prototype.addDep=function(e){var t=e.id;this.newDepIds.has(t)||(this.newDepIds.add(t),this.newDeps.push(e),this.depIds.has(t)||e.addSub(this))},Dt.prototype.cleanupDeps=function(){for(var e=this.deps.length;e--;){var t=this.deps[e];this.newDepIds.has(t.id)||t.removeSub(this)}var n=this.depIds;this.depIds=this.newDepIds,this.newDepIds=n,this.newDepIds.clear(),n=this.deps,this.deps=this.newDeps,this.newDeps=n,this.newDeps.length=0},Dt.prototype.update=function(){this.lazy?this.dirty=!0:this.sync?this.run():function(e){var t=e.id;if(null==kt[t]){if(kt[t]=!0,At){for(var n=Tt.length-1;n>Ot&&Tt[n].id>e.id;)n--;Tt.splice(n+1,0,e)}else Tt.push(e);St||(St=!0,et(jt))}}(this)},Dt.prototype.run=function(){if(this.active){var e=this.get();if(e!==this.value||u(e)||this.deep){var t=this.value;if(this.value=e,this.user)try{this.cb.call(this.vm,e,t)}catch(e){Be(e,this.vm,'callback for watcher "'+this.expression+'"')}else this.cb.call(this.vm,e,t)}}},Dt.prototype.evaluate=function(){this.value=this.get(),this.dirty=!1},Dt.prototype.depend=function(){for(var e=this.deps.length;e--;)this.deps[e].depend()},Dt.prototype.teardown=function(){if(this.active){this.vm._isBeingDestroyed||y(this.vm._watchers,this);for(var e=this.deps.length;e--;)this.deps[e].removeSub(this);this.active=!1}};var Lt={enumerable:!0,configurable:!0,get:I,set:I};function Pt(e,t,n){Lt.get=function(){return this[t][n]},Lt.set=function(e){this[t][n]=e},Object.defineProperty(e,n,Lt)}function Nt(e){e._watchers=[];var t=e.$options;t.props&&function(e,t){var n=e.$options.propsData||{},r=e._props={},i=e.$options._propKeys=[];e.$parent&&_e(!1);var o=function(o){i.push(o);var a=Re(o,t,n,e);Se(r,o,a),o in e||Pt(e,"_props",o)};for(var a in t)o(a);_e(!0)}(e,t.props),t.methods&&function(e,t){e.$options.props;for(var n in t)e[n]=null==t[n]?I:S(t[n],e)}(e,t.methods),t.data?function(e){var t=e.$options.data;l(t=e._data="function"==typeof t?function(e,t){fe();try{return e.call(t,t)}catch(e){return Be(e,t,"data()"),{}}finally{he()}}(t,e):t||{})||(t={});var n=Object.keys(t),r=e.$options.props,i=(e.$options.methods,n.length);for(;i--;){var o=n[i];0,r&&w(r,o)||(void 0,36!==(a=(o+"").charCodeAt(0))&&95!==a&&Pt(e,"_data",o))}var a;ke(t,!0)}(e):ke(e._data={},!0),t.computed&&function(e,t){var n=e._computedWatchers=Object.create(null),r=ne();for(var i in t){var o=t[i],a="function"==typeof o?o:o.get;0,r||(n[i]=new Dt(e,a||I,I,Mt)),i in e||Ft(e,i,o)}}(e,t.computed),t.watch&&t.watch!==Z&&function(e,t){for(var n in t){var r=t[n];if(Array.isArray(r))for(var i=0;i<r.length;i++)Ht(e,n,r[i]);else Ht(e,n,r)}}(e,t.watch)}var Mt={lazy:!0};function Ft(e,t,n){var r=!ne();"function"==typeof n?(Lt.get=r?Rt(t):n,Lt.set=I):(Lt.get=n.get?r&&!1!==n.cache?Rt(t):n.get:I,Lt.set=n.set?n.set:I),Object.defineProperty(e,t,Lt)}function Rt(e){return function(){var t=this._computedWatchers&&this._computedWatchers[e];if(t)return t.dirty&&t.evaluate(),ce.target&&t.depend(),t.value}}function Ht(e,t,n,r){return l(n)&&(r=n,n=n.handler),"string"==typeof n&&(n=e[n]),e.$watch(t,n,r)}function $t(e,t){if(e){for(var n=Object.create(null),r=ae?Reflect.ownKeys(e).filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}):Object.keys(e),i=0;i<r.length;i++){for(var o=r[i],a=e[o].from,s=t;s;){if(s._provided&&w(s._provided,a)){n[o]=s._provided[a];break}s=s.$parent}if(!s)if("default"in e[o]){var u=e[o].default;n[o]="function"==typeof u?u.call(t):u}else 0}return n}}function qt(e,t){var n,r,i,a,s;if(Array.isArray(e)||"string"==typeof e)for(n=new Array(e.length),r=0,i=e.length;r<i;r++)n[r]=t(e[r],r);else if("number"==typeof e)for(n=new Array(e),r=0;r<e;r++)n[r]=t(r+1,r);else if(u(e))for(a=Object.keys(e),n=new Array(a.length),r=0,i=a.length;r<i;r++)s=a[r],n[r]=t(e[s],s,r);return o(n)&&(n._isVList=!0),n}function Bt(e,t,n,r){var i,o=this.$scopedSlots[e];if(o)n=n||{},r&&(n=O(O({},r),n)),i=o(n)||t;else{var a=this.$slots[e];a&&(a._rendered=!0),i=a||t}var s=n&&n.slot;return s?this.$createElement("template",{slot:s},i):i}function Ut(e){return Fe(this.$options,"filters",e)||L}function Wt(e,t){return Array.isArray(e)?-1===e.indexOf(t):e!==t}function Vt(e,t,n,r,i){var o=$.keyCodes[t]||n;return i&&r&&!$.keyCodes[t]?Wt(i,r):o?Wt(o,e):r?k(r)!==t:void 0}function Kt(e,t,n,r,i){if(n)if(u(n)){var o;Array.isArray(n)&&(n=j(n));var a=function(a){if("class"===a||"style"===a||g(a))o=e;else{var s=e.attrs&&e.attrs.type;o=r||$.mustUseProp(t,s,a)?e.domProps||(e.domProps={}):e.attrs||(e.attrs={})}a in o||(o[a]=n[a],i&&((e.on||(e.on={}))["update:"+a]=function(e){n[a]=e}))};for(var s in n)a(s)}else;return e}function Gt(e,t){var n=this._staticTrees||(this._staticTrees=[]),r=n[e];return r&&!t?r:(Qt(r=n[e]=this.$options.staticRenderFns[e].call(this._renderProxy,null,this),"__static__"+e,!1),r)}function zt(e,t,n){return Qt(e,"__once__"+t+(n?"_"+n:""),!0),e}function Qt(e,t,n){if(Array.isArray(e))for(var r=0;r<e.length;r++)e[r]&&"string"!=typeof e[r]&&Yt(e[r],t+"_"+r,n);else Yt(e,t,n)}function Yt(e,t,n){e.isStatic=!0,e.key=t,e.isOnce=n}function Xt(e,t){if(t)if(l(t)){var n=e.on=e.on?O({},e.on):{};for(var r in t){var i=n[r],o=t[r];n[r]=i?[].concat(i,o):o}}else;return e}function Jt(e){e._o=zt,e._n=p,e._s=d,e._l=qt,e._t=Bt,e._q=P,e._i=N,e._m=Gt,e._f=Ut,e._k=Vt,e._b=Kt,e._v=me,e._e=ve,e._u=bt,e._g=Xt}function Zt(e,t,n,i,o){var s,u=o.options;w(i,"_uid")?(s=Object.create(i))._original=i:(s=i,i=i._original);var c=a(u._compiled),l=!c;this.data=e,this.props=t,this.children=n,this.parent=i,this.listeners=e.on||r,this.injections=$t(u.inject,i),this.slots=function(){return gt(n,i)},c&&(this.$options=u,this.$slots=this.slots(),this.$scopedSlots=e.scopedSlots||r),u._scopeId?this._c=function(e,t,n,r){var o=un(s,e,t,n,r,l);return o&&!Array.isArray(o)&&(o.fnScopeId=u._scopeId,o.fnContext=i),o}:this._c=function(e,t,n,r){return un(s,e,t,n,r,l)}}function en(e,t,n,r){var i=ge(e);return i.fnContext=n,i.fnOptions=r,t.slot&&((i.data||(i.data={})).slot=t.slot),i}function tn(e,t){for(var n in t)e[C(n)]=t[n]}Jt(Zt.prototype);var nn={init:function(e,t,n,r){if(e.componentInstance&&!e.componentInstance._isDestroyed&&e.data.keepAlive){var i=e;nn.prepatch(i,i)}else{(e.componentInstance=function(e,t,n,r){var i={_isComponent:!0,parent:t,_parentVnode:e,_parentElm:n||null,_refElm:r||null},a=e.data.inlineTemplate;o(a)&&(i.render=a.render,i.staticRenderFns=a.staticRenderFns);return new e.componentOptions.Ctor(i)}(e,wt,n,r)).$mount(t?e.elm:void 0,t)}},prepatch:function(e,t){var n=t.componentOptions;!function(e,t,n,i,o){var a=!!(o||e.$options._renderChildren||i.data.scopedSlots||e.$scopedSlots!==r);if(e.$options._parentVnode=i,e.$vnode=i,e._vnode&&(e._vnode.parent=i),e.$options._renderChildren=o,e.$attrs=i.data.attrs||r,e.$listeners=n||r,t&&e.$options.props){_e(!1);for(var s=e._props,u=e.$options._propKeys||[],c=0;c<u.length;c++){var l=u[c],f=e.$options.props;s[l]=Re(l,f,t,e)}_e(!0),e.$options.propsData=t}n=n||r;var h=e.$options._parentListeners;e.$options._parentListeners=n,mt(e,n,h),a&&(e.$slots=gt(o,i.context),e.$forceUpdate())}(t.componentInstance=e.componentInstance,n.propsData,n.listeners,t,n.children)},insert:function(e){var t,n=e.context,r=e.componentInstance;r._isMounted||(r._isMounted=!0,Ct(r,"mounted")),e.data.keepAlive&&(n._isMounted?((t=r)._inactive=!1,xt.push(t)):_t(r,!0))},destroy:function(e){var t=e.componentInstance;t._isDestroyed||(e.data.keepAlive?function e(t,n){if(!(n&&(t._directInactive=!0,Et(t))||t._inactive)){t._inactive=!0;for(var r=0;r<t.$children.length;r++)e(t.$children[r]);Ct(t,"deactivated")}}(t,!0):t.$destroy())}},rn=Object.keys(nn);function on(e,t,n,s,c){if(!i(e)){var l=n.$options._base;if(u(e)&&(e=l.extend(e)),"function"==typeof e){var f;if(i(e.cid)&&void 0===(e=function(e,t,n){if(a(e.error)&&o(e.errorComp))return e.errorComp;if(o(e.resolved))return e.resolved;if(a(e.loading)&&o(e.loadingComp))return e.loadingComp;if(!o(e.contexts)){var r=e.contexts=[n],s=!0,c=function(){for(var e=0,t=r.length;e<t;e++)r[e].$forceUpdate()},l=M(function(n){e.resolved=ft(n,t),s||c()}),f=M(function(t){o(e.errorComp)&&(e.error=!0,c())}),h=e(l,f);return u(h)&&("function"==typeof h.then?i(e.resolved)&&h.then(l,f):o(h.component)&&"function"==typeof h.component.then&&(h.component.then(l,f),o(h.error)&&(e.errorComp=ft(h.error,t)),o(h.loading)&&(e.loadingComp=ft(h.loading,t),0===h.delay?e.loading=!0:setTimeout(function(){i(e.resolved)&&i(e.error)&&(e.loading=!0,c())},h.delay||200)),o(h.timeout)&&setTimeout(function(){i(e.resolved)&&f(null)},h.timeout))),s=!1,e.loading?e.loadingComp:e.resolved}e.contexts.push(n)}(f=e,l,n)))return function(e,t,n,r,i){var o=ve();return o.asyncFactory=e,o.asyncMeta={data:t,context:n,children:r,tag:i},o}(f,t,n,s,c);t=t||{},ln(e),o(t.model)&&function(e,t){var n=e.model&&e.model.prop||"value",r=e.model&&e.model.event||"input";(t.props||(t.props={}))[n]=t.model.value;var i=t.on||(t.on={});o(i[r])?i[r]=[t.model.callback].concat(i[r]):i[r]=t.model.callback}(e.options,t);var h=function(e,t,n){var r=t.options.props;if(!i(r)){var a={},s=e.attrs,u=e.props;if(o(s)||o(u))for(var c in r){var l=k(c);ut(a,u,c,l,!0)||ut(a,s,c,l,!1)}return a}}(t,e);if(a(e.options.functional))return function(e,t,n,i,a){var s=e.options,u={},c=s.props;if(o(c))for(var l in c)u[l]=Re(l,c,t||r);else o(n.attrs)&&tn(u,n.attrs),o(n.props)&&tn(u,n.props);var f=new Zt(n,u,a,i,e),h=s.render.call(null,f._c,f);if(h instanceof de)return en(h,n,f.parent,s);if(Array.isArray(h)){for(var d=ct(h)||[],p=new Array(d.length),v=0;v<d.length;v++)p[v]=en(d[v],n,f.parent,s);return p}}(e,h,t,n,s);var d=t.on;if(t.on=t.nativeOn,a(e.options.abstract)){var p=t.slot;t={},p&&(t.slot=p)}!function(e){for(var t=e.hook||(e.hook={}),n=0;n<rn.length;n++){var r=rn[n];t[r]=nn[r]}}(t);var v=e.options.name||c;return new de("vue-component-"+e.cid+(v?"-"+v:""),t,void 0,void 0,void 0,n,{Ctor:e,propsData:h,listeners:d,tag:c,children:s},f)}}}var an=1,sn=2;function un(e,t,n,r,c,l){return(Array.isArray(n)||s(n))&&(c=r,r=n,n=void 0),a(l)&&(c=sn),function(e,t,n,r,s){if(o(n)&&o(n.__ob__))return ve();o(n)&&o(n.is)&&(t=n.is);if(!t)return ve();0;Array.isArray(r)&&"function"==typeof r[0]&&((n=n||{}).scopedSlots={default:r[0]},r.length=0);s===sn?r=ct(r):s===an&&(r=function(e){for(var t=0;t<e.length;t++)if(Array.isArray(e[t]))return Array.prototype.concat.apply([],e);return e}(r));var c,l;if("string"==typeof t){var f;l=e.$vnode&&e.$vnode.ns||$.getTagNamespace(t),c=$.isReservedTag(t)?new de($.parsePlatformTagName(t),n,r,void 0,void 0,e):o(f=Fe(e.$options,"components",t))?on(f,n,e,r,t):new de(t,n,r,void 0,void 0,e)}else c=on(t,n,e,r);return Array.isArray(c)?c:o(c)?(o(l)&&function e(t,n,r){t.ns=n;"foreignObject"===t.tag&&(n=void 0,r=!0);if(o(t.children))for(var s=0,u=t.children.length;s<u;s++){var c=t.children[s];o(c.tag)&&(i(c.ns)||a(r)&&"svg"!==c.tag)&&e(c,n,r)}}(c,l),o(n)&&function(e){u(e.style)&&nt(e.style);u(e.class)&&nt(e.class)}(n),c):ve()}(e,t,n,r,c)}var cn=0;function ln(e){var t=e.options;if(e.super){var n=ln(e.super);if(n!==e.superOptions){e.superOptions=n;var r=function(e){var t,n=e.options,r=e.extendOptions,i=e.sealedOptions;for(var o in n)n[o]!==i[o]&&(t||(t={}),t[o]=fn(n[o],r[o],i[o]));return t}(e);r&&O(e.extendOptions,r),(t=e.options=Me(n,e.extendOptions)).name&&(t.components[t.name]=e)}}return t}function fn(e,t,n){if(Array.isArray(e)){var r=[];n=Array.isArray(n)?n:[n],t=Array.isArray(t)?t:[t];for(var i=0;i<e.length;i++)(t.indexOf(e[i])>=0||n.indexOf(e[i])<0)&&r.push(e[i]);return r}return e}function hn(e){this._init(e)}function dn(e){e.cid=0;var t=1;e.extend=function(e){e=e||{};var n=this,r=n.cid,i=e._Ctor||(e._Ctor={});if(i[r])return i[r];var o=e.name||n.options.name;var a=function(e){this._init(e)};return(a.prototype=Object.create(n.prototype)).constructor=a,a.cid=t++,a.options=Me(n.options,e),a.super=n,a.options.props&&function(e){var t=e.options.props;for(var n in t)Pt(e.prototype,"_props",n)}(a),a.options.computed&&function(e){var t=e.options.computed;for(var n in t)Ft(e.prototype,n,t[n])}(a),a.extend=n.extend,a.mixin=n.mixin,a.use=n.use,R.forEach(function(e){a[e]=n[e]}),o&&(a.options.components[o]=a),a.superOptions=n.options,a.extendOptions=e,a.sealedOptions=O({},a.options),i[r]=a,a}}function pn(e){return e&&(e.Ctor.options.name||e.tag)}function vn(e,t){return Array.isArray(e)?e.indexOf(t)>-1:"string"==typeof e?e.split(",").indexOf(t)>-1:!!f(e)&&e.test(t)}function mn(e,t){var n=e.cache,r=e.keys,i=e._vnode;for(var o in n){var a=n[o];if(a){var s=pn(a.componentOptions);s&&!t(s)&&gn(n,o,r,i)}}}function gn(e,t,n,r){var i=e[t];!i||r&&i.tag===r.tag||i.componentInstance.$destroy(),e[t]=null,y(n,t)}!function(e){e.prototype._init=function(e){var t=this;t._uid=cn++,t._isVue=!0,e&&e._isComponent?function(e,t){var n=e.$options=Object.create(e.constructor.options),r=t._parentVnode;n.parent=t.parent,n._parentVnode=r,n._parentElm=t._parentElm,n._refElm=t._refElm;var i=r.componentOptions;n.propsData=i.propsData,n._parentListeners=i.listeners,n._renderChildren=i.children,n._componentTag=i.tag,t.render&&(n.render=t.render,n.staticRenderFns=t.staticRenderFns)}(t,e):t.$options=Me(ln(t.constructor),e||{},t),t._renderProxy=t,t._self=t,function(e){var t=e.$options,n=t.parent;if(n&&!t.abstract){for(;n.$options.abstract&&n.$parent;)n=n.$parent;n.$children.push(e)}e.$parent=n,e.$root=n?n.$root:e,e.$children=[],e.$refs={},e._watcher=null,e._inactive=null,e._directInactive=!1,e._isMounted=!1,e._isDestroyed=!1,e._isBeingDestroyed=!1}(t),function(e){e._events=Object.create(null),e._hasHookEvent=!1;var t=e.$options._parentListeners;t&&mt(e,t)}(t),function(e){e._vnode=null,e._staticTrees=null;var t=e.$options,n=e.$vnode=t._parentVnode,i=n&&n.context;e.$slots=gt(t._renderChildren,i),e.$scopedSlots=r,e._c=function(t,n,r,i){return un(e,t,n,r,i,!1)},e.$createElement=function(t,n,r,i){return un(e,t,n,r,i,!0)};var o=n&&n.data;Se(e,"$attrs",o&&o.attrs||r,null,!0),Se(e,"$listeners",t._parentListeners||r,null,!0)}(t),Ct(t,"beforeCreate"),function(e){var t=$t(e.$options.inject,e);t&&(_e(!1),Object.keys(t).forEach(function(n){Se(e,n,t[n])}),_e(!0))}(t),Nt(t),function(e){var t=e.$options.provide;t&&(e._provided="function"==typeof t?t.call(e):t)}(t),Ct(t,"created"),t.$options.el&&t.$mount(t.$options.el)}}(hn),function(e){var t={get:function(){return this._data}},n={get:function(){return this._props}};Object.defineProperty(e.prototype,"$data",t),Object.defineProperty(e.prototype,"$props",n),e.prototype.$set=Ae,e.prototype.$delete=Oe,e.prototype.$watch=function(e,t,n){if(l(t))return Ht(this,e,t,n);(n=n||{}).user=!0;var r=new Dt(this,e,t,n);return n.immediate&&t.call(this,r.value),function(){r.teardown()}}}(hn),function(e){var t=/^hook:/;e.prototype.$on=function(e,n){if(Array.isArray(e))for(var r=0,i=e.length;r<i;r++)this.$on(e[r],n);else(this._events[e]||(this._events[e]=[])).push(n),t.test(e)&&(this._hasHookEvent=!0);return this},e.prototype.$once=function(e,t){var n=this;function r(){n.$off(e,r),t.apply(n,arguments)}return r.fn=t,n.$on(e,r),n},e.prototype.$off=function(e,t){var n=this;if(!arguments.length)return n._events=Object.create(null),n;if(Array.isArray(e)){for(var r=0,i=e.length;r<i;r++)this.$off(e[r],t);return n}var o=n._events[e];if(!o)return n;if(!t)return n._events[e]=null,n;if(t)for(var a,s=o.length;s--;)if((a=o[s])===t||a.fn===t){o.splice(s,1);break}return n},e.prototype.$emit=function(e){var t=this._events[e];if(t){t=t.length>1?A(t):t;for(var n=A(arguments,1),r=0,i=t.length;r<i;r++)try{t[r].apply(this,n)}catch(t){Be(t,this,'event handler for "'+e+'"')}}return this}}(hn),function(e){e.prototype._update=function(e,t){var n=this;n._isMounted&&Ct(n,"beforeUpdate");var r=n.$el,i=n._vnode,o=wt;wt=n,n._vnode=e,i?n.$el=n.__patch__(i,e):(n.$el=n.__patch__(n.$el,e,t,!1,n.$options._parentElm,n.$options._refElm),n.$options._parentElm=n.$options._refElm=null),wt=o,r&&(r.__vue__=null),n.$el&&(n.$el.__vue__=n),n.$vnode&&n.$parent&&n.$vnode===n.$parent._vnode&&(n.$parent.$el=n.$el)},e.prototype.$forceUpdate=function(){this._watcher&&this._watcher.update()},e.prototype.$destroy=function(){var e=this;if(!e._isBeingDestroyed){Ct(e,"beforeDestroy"),e._isBeingDestroyed=!0;var t=e.$parent;!t||t._isBeingDestroyed||e.$options.abstract||y(t.$children,e),e._watcher&&e._watcher.teardown();for(var n=e._watchers.length;n--;)e._watchers[n].teardown();e._data.__ob__&&e._data.__ob__.vmCount--,e._isDestroyed=!0,e.__patch__(e._vnode,null),Ct(e,"destroyed"),e.$off(),e.$el&&(e.$el.__vue__=null),e.$vnode&&(e.$vnode.parent=null)}}}(hn),function(e){Jt(e.prototype),e.prototype.$nextTick=function(e){return et(e,this)},e.prototype._render=function(){var e,t=this,n=t.$options,i=n.render,o=n._parentVnode;o&&(t.$scopedSlots=o.data.scopedSlots||r),t.$vnode=o;try{e=i.call(t._renderProxy,t.$createElement)}catch(n){Be(n,t,"render"),e=t._vnode}return e instanceof de||(e=ve()),e.parent=o,e}}(hn);var yn=[String,RegExp,Array],bn={KeepAlive:{name:"keep-alive",abstract:!0,props:{include:yn,exclude:yn,max:[String,Number]},created:function(){this.cache=Object.create(null),this.keys=[]},destroyed:function(){for(var e in this.cache)gn(this.cache,e,this.keys)},mounted:function(){var e=this;this.$watch("include",function(t){mn(e,function(e){return vn(t,e)})}),this.$watch("exclude",function(t){mn(e,function(e){return!vn(t,e)})})},render:function(){var e=this.$slots.default,t=dt(e),n=t&&t.componentOptions;if(n){var r=pn(n),i=this.include,o=this.exclude;if(i&&(!r||!vn(i,r))||o&&r&&vn(o,r))return t;var a=this.cache,s=this.keys,u=null==t.key?n.Ctor.cid+(n.tag?"::"+n.tag:""):t.key;a[u]?(t.componentInstance=a[u].componentInstance,y(s,u),s.push(u)):(a[u]=t,s.push(u),this.max&&s.length>parseInt(this.max)&&gn(a,s[0],s,this._vnode)),t.data.keepAlive=!0}return t||e&&e[0]}}};!function(e){var t={get:function(){return $}};Object.defineProperty(e,"config",t),e.util={warn:se,extend:O,mergeOptions:Me,defineReactive:Se},e.set=Ae,e.delete=Oe,e.nextTick=et,e.options=Object.create(null),R.forEach(function(t){e.options[t+"s"]=Object.create(null)}),e.options._base=e,O(e.options.components,bn),function(e){e.use=function(e){var t=this._installedPlugins||(this._installedPlugins=[]);if(t.indexOf(e)>-1)return this;var n=A(arguments,1);return n.unshift(this),"function"==typeof e.install?e.install.apply(e,n):"function"==typeof e&&e.apply(null,n),t.push(e),this}}(e),function(e){e.mixin=function(e){return this.options=Me(this.options,e),this}}(e),dn(e),function(e){R.forEach(function(t){e[t]=function(e,n){return n?("component"===t&&l(n)&&(n.name=n.name||e,n=this.options._base.extend(n)),"directive"===t&&"function"==typeof n&&(n={bind:n,update:n}),this.options[t+"s"][e]=n,n):this.options[t+"s"][e]}})}(e)}(hn),Object.defineProperty(hn.prototype,"$isServer",{get:ne}),Object.defineProperty(hn.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}}),Object.defineProperty(hn,"FunctionalRenderContext",{value:Zt}),hn.version="2.5.16";var wn=v("style,class"),En=v("input,textarea,option,select,progress"),_n=function(e,t,n){return"value"===n&&En(e)&&"button"!==t||"selected"===n&&"option"===e||"checked"===n&&"input"===e||"muted"===n&&"video"===e},Cn=v("contenteditable,draggable,spellcheck"),Tn=v("allowfullscreen,async,autofocus,autoplay,checked,compact,controls,declare,default,defaultchecked,defaultmuted,defaultselected,defer,disabled,enabled,formnovalidate,hidden,indeterminate,inert,ismap,itemscope,loop,multiple,muted,nohref,noresize,noshade,novalidate,nowrap,open,pauseonexit,readonly,required,reversed,scoped,seamless,selected,sortable,translate,truespeed,typemustmatch,visible"),xn="http://www.w3.org/1999/xlink",kn=function(e){return":"===e.charAt(5)&&"xlink"===e.slice(0,5)},Sn=function(e){return kn(e)?e.slice(6,e.length):""},An=function(e){return null==e||!1===e};function On(e){for(var t=e.data,n=e,r=e;o(r.componentInstance);)(r=r.componentInstance._vnode)&&r.data&&(t=jn(r.data,t));for(;o(n=n.parent);)n&&n.data&&(t=jn(t,n.data));return function(e,t){if(o(e)||o(t))return In(e,Dn(t));return""}(t.staticClass,t.class)}function jn(e,t){return{staticClass:In(e.staticClass,t.staticClass),class:o(e.class)?[e.class,t.class]:t.class}}function In(e,t){return e?t?e+" "+t:e:t||""}function Dn(e){return Array.isArray(e)?function(e){for(var t,n="",r=0,i=e.length;r<i;r++)o(t=Dn(e[r]))&&""!==t&&(n&&(n+=" "),n+=t);return n}(e):u(e)?function(e){var t="";for(var n in e)e[n]&&(t&&(t+=" "),t+=n);return t}(e):"string"==typeof e?e:""}var Ln={svg:"http://www.w3.org/2000/svg",math:"http://www.w3.org/1998/Math/MathML"},Pn=v("html,body,base,head,link,meta,style,title,address,article,aside,footer,header,h1,h2,h3,h4,h5,h6,hgroup,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,rtc,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,menuitem,summary,content,element,shadow,template,blockquote,iframe,tfoot"),Nn=v("svg,animate,circle,clippath,cursor,defs,desc,ellipse,filter,font-face,foreignObject,g,glyph,image,line,marker,mask,missing-glyph,path,pattern,polygon,polyline,rect,switch,symbol,text,textpath,tspan,use,view",!0),Mn=function(e){return Pn(e)||Nn(e)};function Fn(e){return Nn(e)?"svg":"math"===e?"math":void 0}var Rn=Object.create(null);var Hn=v("text,number,password,search,email,tel,url");function $n(e){if("string"==typeof e){var t=document.querySelector(e);return t||document.createElement("div")}return e}var qn=Object.freeze({createElement:function(e,t){var n=document.createElement(e);return"select"!==e?n:(t.data&&t.data.attrs&&void 0!==t.data.attrs.multiple&&n.setAttribute("multiple","multiple"),n)},createElementNS:function(e,t){return document.createElementNS(Ln[e],t)},createTextNode:function(e){return document.createTextNode(e)},createComment:function(e){return document.createComment(e)},insertBefore:function(e,t,n){e.insertBefore(t,n)},removeChild:function(e,t){e.removeChild(t)},appendChild:function(e,t){e.appendChild(t)},parentNode:function(e){return e.parentNode},nextSibling:function(e){return e.nextSibling},tagName:function(e){return e.tagName},setTextContent:function(e,t){e.textContent=t},setStyleScope:function(e,t){e.setAttribute(t,"")}}),Bn={create:function(e,t){Un(t)},update:function(e,t){e.data.ref!==t.data.ref&&(Un(e,!0),Un(t))},destroy:function(e){Un(e,!0)}};function Un(e,t){var n=e.data.ref;if(o(n)){var r=e.context,i=e.componentInstance||e.elm,a=r.$refs;t?Array.isArray(a[n])?y(a[n],i):a[n]===i&&(a[n]=void 0):e.data.refInFor?Array.isArray(a[n])?a[n].indexOf(i)<0&&a[n].push(i):a[n]=[i]:a[n]=i}}var Wn=new de("",{},[]),Vn=["create","activate","update","remove","destroy"];function Kn(e,t){return e.key===t.key&&(e.tag===t.tag&&e.isComment===t.isComment&&o(e.data)===o(t.data)&&function(e,t){if("input"!==e.tag)return!0;var n,r=o(n=e.data)&&o(n=n.attrs)&&n.type,i=o(n=t.data)&&o(n=n.attrs)&&n.type;return r===i||Hn(r)&&Hn(i)}(e,t)||a(e.isAsyncPlaceholder)&&e.asyncFactory===t.asyncFactory&&i(t.asyncFactory.error))}function Gn(e,t,n){var r,i,a={};for(r=t;r<=n;++r)o(i=e[r].key)&&(a[i]=r);return a}var zn={create:Qn,update:Qn,destroy:function(e){Qn(e,Wn)}};function Qn(e,t){(e.data.directives||t.data.directives)&&function(e,t){var n,r,i,o=e===Wn,a=t===Wn,s=Xn(e.data.directives,e.context),u=Xn(t.data.directives,t.context),c=[],l=[];for(n in u)r=s[n],i=u[n],r?(i.oldValue=r.value,Zn(i,"update",t,e),i.def&&i.def.componentUpdated&&l.push(i)):(Zn(i,"bind",t,e),i.def&&i.def.inserted&&c.push(i));if(c.length){var f=function(){for(var n=0;n<c.length;n++)Zn(c[n],"inserted",t,e)};o?st(t,"insert",f):f()}l.length&&st(t,"postpatch",function(){for(var n=0;n<l.length;n++)Zn(l[n],"componentUpdated",t,e)});if(!o)for(n in s)u[n]||Zn(s[n],"unbind",e,e,a)}(e,t)}var Yn=Object.create(null);function Xn(e,t){var n,r,i=Object.create(null);if(!e)return i;for(n=0;n<e.length;n++)(r=e[n]).modifiers||(r.modifiers=Yn),i[Jn(r)]=r,r.def=Fe(t.$options,"directives",r.name);return i}function Jn(e){return e.rawName||e.name+"."+Object.keys(e.modifiers||{}).join(".")}function Zn(e,t,n,r,i){var o=e.def&&e.def[t];if(o)try{o(n.elm,e,n,r,i)}catch(r){Be(r,n.context,"directive "+e.name+" "+t+" hook")}}var er=[Bn,zn];function tr(e,t){var n=t.componentOptions;if(!(o(n)&&!1===n.Ctor.options.inheritAttrs||i(e.data.attrs)&&i(t.data.attrs))){var r,a,s=t.elm,u=e.data.attrs||{},c=t.data.attrs||{};for(r in o(c.__ob__)&&(c=t.data.attrs=O({},c)),c)a=c[r],u[r]!==a&&nr(s,r,a);for(r in(Q||X)&&c.value!==u.value&&nr(s,"value",c.value),u)i(c[r])&&(kn(r)?s.removeAttributeNS(xn,Sn(r)):Cn(r)||s.removeAttribute(r))}}function nr(e,t,n){e.tagName.indexOf("-")>-1?rr(e,t,n):Tn(t)?An(n)?e.removeAttribute(t):(n="allowfullscreen"===t&&"EMBED"===e.tagName?"true":t,e.setAttribute(t,n)):Cn(t)?e.setAttribute(t,An(n)||"false"===n?"false":"true"):kn(t)?An(n)?e.removeAttributeNS(xn,Sn(t)):e.setAttributeNS(xn,t,n):rr(e,t,n)}function rr(e,t,n){if(An(n))e.removeAttribute(t);else{if(Q&&!Y&&"TEXTAREA"===e.tagName&&"placeholder"===t&&!e.__ieph){var r=function(t){t.stopImmediatePropagation(),e.removeEventListener("input",r)};e.addEventListener("input",r),e.__ieph=!0}e.setAttribute(t,n)}}var ir={create:tr,update:tr};function or(e,t){var n=t.elm,r=t.data,a=e.data;if(!(i(r.staticClass)&&i(r.class)&&(i(a)||i(a.staticClass)&&i(a.class)))){var s=On(t),u=n._transitionClasses;o(u)&&(s=In(s,Dn(u))),s!==n._prevClass&&(n.setAttribute("class",s),n._prevClass=s)}}var ar,sr,ur,cr,lr,fr,hr={create:or,update:or},dr=/[\w).+\-_$\]]/;function pr(e){var t,n,r,i,o,a=!1,s=!1,u=!1,c=!1,l=0,f=0,h=0,d=0;for(r=0;r<e.length;r++)if(n=t,t=e.charCodeAt(r),a)39===t&&92!==n&&(a=!1);else if(s)34===t&&92!==n&&(s=!1);else if(u)96===t&&92!==n&&(u=!1);else if(c)47===t&&92!==n&&(c=!1);else if(124!==t||124===e.charCodeAt(r+1)||124===e.charCodeAt(r-1)||l||f||h){switch(t){case 34:s=!0;break;case 39:a=!0;break;case 96:u=!0;break;case 40:h++;break;case 41:h--;break;case 91:f++;break;case 93:f--;break;case 123:l++;break;case 125:l--}if(47===t){for(var p=r-1,v=void 0;p>=0&&" "===(v=e.charAt(p));p--);v&&dr.test(v)||(c=!0)}}else void 0===i?(d=r+1,i=e.slice(0,r).trim()):m();function m(){(o||(o=[])).push(e.slice(d,r).trim()),d=r+1}if(void 0===i?i=e.slice(0,r).trim():0!==d&&m(),o)for(r=0;r<o.length;r++)i=vr(i,o[r]);return i}function vr(e,t){var n=t.indexOf("(");if(n<0)return'_f("'+t+'")('+e+")";var r=t.slice(0,n),i=t.slice(n+1);return'_f("'+r+'")('+e+(")"!==i?","+i:i)}function mr(e){console.error("[Vue compiler]: "+e)}function gr(e,t){return e?e.map(function(e){return e[t]}).filter(function(e){return e}):[]}function yr(e,t,n){(e.props||(e.props=[])).push({name:t,value:n}),e.plain=!1}function br(e,t,n){(e.attrs||(e.attrs=[])).push({name:t,value:n}),e.plain=!1}function wr(e,t,n){e.attrsMap[t]=n,e.attrsList.push({name:t,value:n})}function Er(e,t,n,r,i,o){(e.directives||(e.directives=[])).push({name:t,rawName:n,value:r,arg:i,modifiers:o}),e.plain=!1}function _r(e,t,n,i,o,a){var s;(i=i||r).capture&&(delete i.capture,t="!"+t),i.once&&(delete i.once,t="~"+t),i.passive&&(delete i.passive,t="&"+t),"click"===t&&(i.right?(t="contextmenu",delete i.right):i.middle&&(t="mouseup")),i.native?(delete i.native,s=e.nativeEvents||(e.nativeEvents={})):s=e.events||(e.events={});var u={value:n.trim()};i!==r&&(u.modifiers=i);var c=s[t];Array.isArray(c)?o?c.unshift(u):c.push(u):s[t]=c?o?[u,c]:[c,u]:u,e.plain=!1}function Cr(e,t,n){var r=Tr(e,":"+t)||Tr(e,"v-bind:"+t);if(null!=r)return pr(r);if(!1!==n){var i=Tr(e,t);if(null!=i)return JSON.stringify(i)}}function Tr(e,t,n){var r;if(null!=(r=e.attrsMap[t]))for(var i=e.attrsList,o=0,a=i.length;o<a;o++)if(i[o].name===t){i.splice(o,1);break}return n&&delete e.attrsMap[t],r}function xr(e,t,n){var r=n||{},i=r.number,o="$$v";r.trim&&(o="(typeof $$v === 'string'? $$v.trim(): $$v)"),i&&(o="_n("+o+")");var a=kr(t,o);e.model={value:"("+t+")",expression:'"'+t+'"',callback:"function ($$v) {"+a+"}"}}function kr(e,t){var n=function(e){if(e=e.trim(),ar=e.length,e.indexOf("[")<0||e.lastIndexOf("]")<ar-1)return(cr=e.lastIndexOf("."))>-1?{exp:e.slice(0,cr),key:'"'+e.slice(cr+1)+'"'}:{exp:e,key:null};sr=e,cr=lr=fr=0;for(;!Ar();)Or(ur=Sr())?Ir(ur):91===ur&&jr(ur);return{exp:e.slice(0,lr),key:e.slice(lr+1,fr)}}(e);return null===n.key?e+"="+t:"$set("+n.exp+", "+n.key+", "+t+")"}function Sr(){return sr.charCodeAt(++cr)}function Ar(){return cr>=ar}function Or(e){return 34===e||39===e}function jr(e){var t=1;for(lr=cr;!Ar();)if(Or(e=Sr()))Ir(e);else if(91===e&&t++,93===e&&t--,0===t){fr=cr;break}}function Ir(e){for(var t=e;!Ar()&&(e=Sr())!==t;);}var Dr,Lr="__r",Pr="__c";function Nr(e,t,n,r,i){var o;t=(o=t)._withTask||(o._withTask=function(){Ye=!0;var e=o.apply(null,arguments);return Ye=!1,e}),n&&(t=function(e,t,n){var r=Dr;return function i(){null!==e.apply(null,arguments)&&Mr(t,i,n,r)}}(t,e,r)),Dr.addEventListener(e,t,ee?{capture:r,passive:i}:r)}function Mr(e,t,n,r){(r||Dr).removeEventListener(e,t._withTask||t,n)}function Fr(e,t){if(!i(e.data.on)||!i(t.data.on)){var n=t.data.on||{},r=e.data.on||{};Dr=t.elm,function(e){if(o(e[Lr])){var t=Q?"change":"input";e[t]=[].concat(e[Lr],e[t]||[]),delete e[Lr]}o(e[Pr])&&(e.change=[].concat(e[Pr],e.change||[]),delete e[Pr])}(n),at(n,r,Nr,Mr,t.context),Dr=void 0}}var Rr={create:Fr,update:Fr};function Hr(e,t){if(!i(e.data.domProps)||!i(t.data.domProps)){var n,r,a=t.elm,s=e.data.domProps||{},u=t.data.domProps||{};for(n in o(u.__ob__)&&(u=t.data.domProps=O({},u)),s)i(u[n])&&(a[n]="");for(n in u){if(r=u[n],"textContent"===n||"innerHTML"===n){if(t.children&&(t.children.length=0),r===s[n])continue;1===a.childNodes.length&&a.removeChild(a.childNodes[0])}if("value"===n){a._value=r;var c=i(r)?"":String(r);$r(a,c)&&(a.value=c)}else a[n]=r}}}function $r(e,t){return!e.composing&&("OPTION"===e.tagName||function(e,t){var n=!0;try{n=document.activeElement!==e}catch(e){}return n&&e.value!==t}(e,t)||function(e,t){var n=e.value,r=e._vModifiers;if(o(r)){if(r.lazy)return!1;if(r.number)return p(n)!==p(t);if(r.trim)return n.trim()!==t.trim()}return n!==t}(e,t))}var qr={create:Hr,update:Hr},Br=E(function(e){var t={},n=/:(.+)/;return e.split(/;(?![^(]*\))/g).forEach(function(e){if(e){var r=e.split(n);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t});function Ur(e){var t=Wr(e.style);return e.staticStyle?O(e.staticStyle,t):t}function Wr(e){return Array.isArray(e)?j(e):"string"==typeof e?Br(e):e}var Vr,Kr=/^--/,Gr=/\s*!important$/,zr=function(e,t,n){if(Kr.test(t))e.style.setProperty(t,n);else if(Gr.test(n))e.style.setProperty(t,n.replace(Gr,""),"important");else{var r=Yr(t);if(Array.isArray(n))for(var i=0,o=n.length;i<o;i++)e.style[r]=n[i];else e.style[r]=n}},Qr=["Webkit","Moz","ms"],Yr=E(function(e){if(Vr=Vr||document.createElement("div").style,"filter"!==(e=C(e))&&e in Vr)return e;for(var t=e.charAt(0).toUpperCase()+e.slice(1),n=0;n<Qr.length;n++){var r=Qr[n]+t;if(r in Vr)return r}});function Xr(e,t){var n=t.data,r=e.data;if(!(i(n.staticStyle)&&i(n.style)&&i(r.staticStyle)&&i(r.style))){var a,s,u=t.elm,c=r.staticStyle,l=r.normalizedStyle||r.style||{},f=c||l,h=Wr(t.data.style)||{};t.data.normalizedStyle=o(h.__ob__)?O({},h):h;var d=function(e,t){var n,r={};if(t)for(var i=e;i.componentInstance;)(i=i.componentInstance._vnode)&&i.data&&(n=Ur(i.data))&&O(r,n);(n=Ur(e.data))&&O(r,n);for(var o=e;o=o.parent;)o.data&&(n=Ur(o.data))&&O(r,n);return r}(t,!0);for(s in f)i(d[s])&&zr(u,s,"");for(s in d)(a=d[s])!==f[s]&&zr(u,s,null==a?"":a)}}var Jr={create:Xr,update:Xr};function Zr(e,t){if(t&&(t=t.trim()))if(e.classList)t.indexOf(" ")>-1?t.split(/\s+/).forEach(function(t){return e.classList.add(t)}):e.classList.add(t);else{var n=" "+(e.getAttribute("class")||"")+" ";n.indexOf(" "+t+" ")<0&&e.setAttribute("class",(n+t).trim())}}function ei(e,t){if(t&&(t=t.trim()))if(e.classList)t.indexOf(" ")>-1?t.split(/\s+/).forEach(function(t){return e.classList.remove(t)}):e.classList.remove(t),e.classList.length||e.removeAttribute("class");else{for(var n=" "+(e.getAttribute("class")||"")+" ",r=" "+t+" ";n.indexOf(r)>=0;)n=n.replace(r," ");(n=n.trim())?e.setAttribute("class",n):e.removeAttribute("class")}}function ti(e){if(e){if("object"==typeof e){var t={};return!1!==e.css&&O(t,ni(e.name||"v")),O(t,e),t}return"string"==typeof e?ni(e):void 0}}var ni=E(function(e){return{enterClass:e+"-enter",enterToClass:e+"-enter-to",enterActiveClass:e+"-enter-active",leaveClass:e+"-leave",leaveToClass:e+"-leave-to",leaveActiveClass:e+"-leave-active"}}),ri=V&&!Y,ii="transition",oi="animation",ai="transition",si="transitionend",ui="animation",ci="animationend";ri&&(void 0===window.ontransitionend&&void 0!==window.onwebkittransitionend&&(ai="WebkitTransition",si="webkitTransitionEnd"),void 0===window.onanimationend&&void 0!==window.onwebkitanimationend&&(ui="WebkitAnimation",ci="webkitAnimationEnd"));var li=V?window.requestAnimationFrame?window.requestAnimationFrame.bind(window):setTimeout:function(e){return e()};function fi(e){li(function(){li(e)})}function hi(e,t){var n=e._transitionClasses||(e._transitionClasses=[]);n.indexOf(t)<0&&(n.push(t),Zr(e,t))}function di(e,t){e._transitionClasses&&y(e._transitionClasses,t),ei(e,t)}function pi(e,t,n){var r=mi(e,t),i=r.type,o=r.timeout,a=r.propCount;if(!i)return n();var s=i===ii?si:ci,u=0,c=function(){e.removeEventListener(s,l),n()},l=function(t){t.target===e&&++u>=a&&c()};setTimeout(function(){u<a&&c()},o+1),e.addEventListener(s,l)}var vi=/\b(transform|all)(,|$)/;function mi(e,t){var n,r=window.getComputedStyle(e),i=r[ai+"Delay"].split(", "),o=r[ai+"Duration"].split(", "),a=gi(i,o),s=r[ui+"Delay"].split(", "),u=r[ui+"Duration"].split(", "),c=gi(s,u),l=0,f=0;return t===ii?a>0&&(n=ii,l=a,f=o.length):t===oi?c>0&&(n=oi,l=c,f=u.length):f=(n=(l=Math.max(a,c))>0?a>c?ii:oi:null)?n===ii?o.length:u.length:0,{type:n,timeout:l,propCount:f,hasTransform:n===ii&&vi.test(r[ai+"Property"])}}function gi(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max.apply(null,t.map(function(t,n){return yi(t)+yi(e[n])}))}function yi(e){return 1e3*Number(e.slice(0,-1))}function bi(e,t){var n=e.elm;o(n._leaveCb)&&(n._leaveCb.cancelled=!0,n._leaveCb());var r=ti(e.data.transition);if(!i(r)&&!o(n._enterCb)&&1===n.nodeType){for(var a=r.css,s=r.type,c=r.enterClass,l=r.enterToClass,f=r.enterActiveClass,h=r.appearClass,d=r.appearToClass,v=r.appearActiveClass,m=r.beforeEnter,g=r.enter,y=r.afterEnter,b=r.enterCancelled,w=r.beforeAppear,E=r.appear,_=r.afterAppear,C=r.appearCancelled,T=r.duration,x=wt,k=wt.$vnode;k&&k.parent;)x=(k=k.parent).context;var S=!x._isMounted||!e.isRootInsert;if(!S||E||""===E){var A=S&&h?h:c,O=S&&v?v:f,j=S&&d?d:l,I=S&&w||m,D=S&&"function"==typeof E?E:g,L=S&&_||y,P=S&&C||b,N=p(u(T)?T.enter:T);0;var F=!1!==a&&!Y,R=_i(D),H=n._enterCb=M(function(){F&&(di(n,j),di(n,O)),H.cancelled?(F&&di(n,A),P&&P(n)):L&&L(n),n._enterCb=null});e.data.show||st(e,"insert",function(){var t=n.parentNode,r=t&&t._pending&&t._pending[e.key];r&&r.tag===e.tag&&r.elm._leaveCb&&r.elm._leaveCb(),D&&D(n,H)}),I&&I(n),F&&(hi(n,A),hi(n,O),fi(function(){di(n,A),H.cancelled||(hi(n,j),R||(Ei(N)?setTimeout(H,N):pi(n,s,H)))})),e.data.show&&(t&&t(),D&&D(n,H)),F||R||H()}}}function wi(e,t){var n=e.elm;o(n._enterCb)&&(n._enterCb.cancelled=!0,n._enterCb());var r=ti(e.data.transition);if(i(r)||1!==n.nodeType)return t();if(!o(n._leaveCb)){var a=r.css,s=r.type,c=r.leaveClass,l=r.leaveToClass,f=r.leaveActiveClass,h=r.beforeLeave,d=r.leave,v=r.afterLeave,m=r.leaveCancelled,g=r.delayLeave,y=r.duration,b=!1!==a&&!Y,w=_i(d),E=p(u(y)?y.leave:y);0;var _=n._leaveCb=M(function(){n.parentNode&&n.parentNode._pending&&(n.parentNode._pending[e.key]=null),b&&(di(n,l),di(n,f)),_.cancelled?(b&&di(n,c),m&&m(n)):(t(),v&&v(n)),n._leaveCb=null});g?g(C):C()}function C(){_.cancelled||(e.data.show||((n.parentNode._pending||(n.parentNode._pending={}))[e.key]=e),h&&h(n),b&&(hi(n,c),hi(n,f),fi(function(){di(n,c),_.cancelled||(hi(n,l),w||(Ei(E)?setTimeout(_,E):pi(n,s,_)))})),d&&d(n,_),b||w||_())}}function Ei(e){return"number"==typeof e&&!isNaN(e)}function _i(e){if(i(e))return!1;var t=e.fns;return o(t)?_i(Array.isArray(t)?t[0]:t):(e._length||e.length)>1}function Ci(e,t){!0!==t.data.show&&bi(t)}var Ti=function(e){var t,n,r={},u=e.modules,c=e.nodeOps;for(t=0;t<Vn.length;++t)for(r[Vn[t]]=[],n=0;n<u.length;++n)o(u[n][Vn[t]])&&r[Vn[t]].push(u[n][Vn[t]]);function l(e){var t=c.parentNode(e);o(t)&&c.removeChild(t,e)}function f(e,t,n,i,s,u,l){if(o(e.elm)&&o(u)&&(e=u[l]=ge(e)),e.isRootInsert=!s,!function(e,t,n,i){var s=e.data;if(o(s)){var u=o(e.componentInstance)&&s.keepAlive;if(o(s=s.hook)&&o(s=s.init)&&s(e,!1,n,i),o(e.componentInstance))return h(e,t),a(u)&&function(e,t,n,i){for(var a,s=e;s.componentInstance;)if(s=s.componentInstance._vnode,o(a=s.data)&&o(a=a.transition)){for(a=0;a<r.activate.length;++a)r.activate[a](Wn,s);t.push(s);break}d(n,e.elm,i)}(e,t,n,i),!0}}(e,t,n,i)){var f=e.data,v=e.children,m=e.tag;o(m)?(e.elm=e.ns?c.createElementNS(e.ns,m):c.createElement(m,e),y(e),p(e,v,t),o(f)&&g(e,t),d(n,e.elm,i)):a(e.isComment)?(e.elm=c.createComment(e.text),d(n,e.elm,i)):(e.elm=c.createTextNode(e.text),d(n,e.elm,i))}}function h(e,t){o(e.data.pendingInsert)&&(t.push.apply(t,e.data.pendingInsert),e.data.pendingInsert=null),e.elm=e.componentInstance.$el,m(e)?(g(e,t),y(e)):(Un(e),t.push(e))}function d(e,t,n){o(e)&&(o(n)?n.parentNode===e&&c.insertBefore(e,t,n):c.appendChild(e,t))}function p(e,t,n){if(Array.isArray(t))for(var r=0;r<t.length;++r)f(t[r],n,e.elm,null,!0,t,r);else s(e.text)&&c.appendChild(e.elm,c.createTextNode(String(e.text)))}function m(e){for(;e.componentInstance;)e=e.componentInstance._vnode;return o(e.tag)}function g(e,n){for(var i=0;i<r.create.length;++i)r.create[i](Wn,e);o(t=e.data.hook)&&(o(t.create)&&t.create(Wn,e),o(t.insert)&&n.push(e))}function y(e){var t;if(o(t=e.fnScopeId))c.setStyleScope(e.elm,t);else for(var n=e;n;)o(t=n.context)&&o(t=t.$options._scopeId)&&c.setStyleScope(e.elm,t),n=n.parent;o(t=wt)&&t!==e.context&&t!==e.fnContext&&o(t=t.$options._scopeId)&&c.setStyleScope(e.elm,t)}function b(e,t,n,r,i,o){for(;r<=i;++r)f(n[r],o,e,t,!1,n,r)}function w(e){var t,n,i=e.data;if(o(i))for(o(t=i.hook)&&o(t=t.destroy)&&t(e),t=0;t<r.destroy.length;++t)r.destroy[t](e);if(o(t=e.children))for(n=0;n<e.children.length;++n)w(e.children[n])}function E(e,t,n,r){for(;n<=r;++n){var i=t[n];o(i)&&(o(i.tag)?(_(i),w(i)):l(i.elm))}}function _(e,t){if(o(t)||o(e.data)){var n,i=r.remove.length+1;for(o(t)?t.listeners+=i:t=function(e,t){function n(){0==--n.listeners&&l(e)}return n.listeners=t,n}(e.elm,i),o(n=e.componentInstance)&&o(n=n._vnode)&&o(n.data)&&_(n,t),n=0;n<r.remove.length;++n)r.remove[n](e,t);o(n=e.data.hook)&&o(n=n.remove)?n(e,t):t()}else l(e.elm)}function C(e,t,n,r){for(var i=n;i<r;i++){var a=t[i];if(o(a)&&Kn(e,a))return i}}function T(e,t,n,s){if(e!==t){var u=t.elm=e.elm;if(a(e.isAsyncPlaceholder))o(t.asyncFactory.resolved)?S(e.elm,t,n):t.isAsyncPlaceholder=!0;else if(a(t.isStatic)&&a(e.isStatic)&&t.key===e.key&&(a(t.isCloned)||a(t.isOnce)))t.componentInstance=e.componentInstance;else{var l,h=t.data;o(h)&&o(l=h.hook)&&o(l=l.prepatch)&&l(e,t);var d=e.children,p=t.children;if(o(h)&&m(t)){for(l=0;l<r.update.length;++l)r.update[l](e,t);o(l=h.hook)&&o(l=l.update)&&l(e,t)}i(t.text)?o(d)&&o(p)?d!==p&&function(e,t,n,r,a){for(var s,u,l,h=0,d=0,p=t.length-1,v=t[0],m=t[p],g=n.length-1,y=n[0],w=n[g],_=!a;h<=p&&d<=g;)i(v)?v=t[++h]:i(m)?m=t[--p]:Kn(v,y)?(T(v,y,r),v=t[++h],y=n[++d]):Kn(m,w)?(T(m,w,r),m=t[--p],w=n[--g]):Kn(v,w)?(T(v,w,r),_&&c.insertBefore(e,v.elm,c.nextSibling(m.elm)),v=t[++h],w=n[--g]):Kn(m,y)?(T(m,y,r),_&&c.insertBefore(e,m.elm,v.elm),m=t[--p],y=n[++d]):(i(s)&&(s=Gn(t,h,p)),i(u=o(y.key)?s[y.key]:C(y,t,h,p))?f(y,r,e,v.elm,!1,n,d):Kn(l=t[u],y)?(T(l,y,r),t[u]=void 0,_&&c.insertBefore(e,l.elm,v.elm)):f(y,r,e,v.elm,!1,n,d),y=n[++d]);h>p?b(e,i(n[g+1])?null:n[g+1].elm,n,d,g,r):d>g&&E(0,t,h,p)}(u,d,p,n,s):o(p)?(o(e.text)&&c.setTextContent(u,""),b(u,null,p,0,p.length-1,n)):o(d)?E(0,d,0,d.length-1):o(e.text)&&c.setTextContent(u,""):e.text!==t.text&&c.setTextContent(u,t.text),o(h)&&o(l=h.hook)&&o(l=l.postpatch)&&l(e,t)}}}function x(e,t,n){if(a(n)&&o(e.parent))e.parent.data.pendingInsert=t;else for(var r=0;r<t.length;++r)t[r].data.hook.insert(t[r])}var k=v("attrs,class,staticClass,staticStyle,key");function S(e,t,n,r){var i,s=t.tag,u=t.data,c=t.children;if(r=r||u&&u.pre,t.elm=e,a(t.isComment)&&o(t.asyncFactory))return t.isAsyncPlaceholder=!0,!0;if(o(u)&&(o(i=u.hook)&&o(i=i.init)&&i(t,!0),o(i=t.componentInstance)))return h(t,n),!0;if(o(s)){if(o(c))if(e.hasChildNodes())if(o(i=u)&&o(i=i.domProps)&&o(i=i.innerHTML)){if(i!==e.innerHTML)return!1}else{for(var l=!0,f=e.firstChild,d=0;d<c.length;d++){if(!f||!S(f,c[d],n,r)){l=!1;break}f=f.nextSibling}if(!l||f)return!1}else p(t,c,n);if(o(u)){var v=!1;for(var m in u)if(!k(m)){v=!0,g(t,n);break}!v&&u.class&&nt(u.class)}}else e.data!==t.text&&(e.data=t.text);return!0}return function(e,t,n,s,u,l){if(!i(t)){var h,d=!1,p=[];if(i(e))d=!0,f(t,p,u,l);else{var v=o(e.nodeType);if(!v&&Kn(e,t))T(e,t,p,s);else{if(v){if(1===e.nodeType&&e.hasAttribute(F)&&(e.removeAttribute(F),n=!0),a(n)&&S(e,t,p))return x(t,p,!0),e;h=e,e=new de(c.tagName(h).toLowerCase(),{},[],void 0,h)}var g=e.elm,y=c.parentNode(g);if(f(t,p,g._leaveCb?null:y,c.nextSibling(g)),o(t.parent))for(var b=t.parent,_=m(t);b;){for(var C=0;C<r.destroy.length;++C)r.destroy[C](b);if(b.elm=t.elm,_){for(var k=0;k<r.create.length;++k)r.create[k](Wn,b);var A=b.data.hook.insert;if(A.merged)for(var O=1;O<A.fns.length;O++)A.fns[O]()}else Un(b);b=b.parent}o(y)?E(0,[e],0,0):o(e.tag)&&w(e)}}return x(t,p,d),t.elm}o(e)&&w(e)}}({nodeOps:qn,modules:[ir,hr,Rr,qr,Jr,V?{create:Ci,activate:Ci,remove:function(e,t){!0!==e.data.show?wi(e,t):t()}}:{}].concat(er)});Y&&document.addEventListener("selectionchange",function(){var e=document.activeElement;e&&e.vmodel&&Di(e,"input")});var xi={inserted:function(e,t,n,r){"select"===n.tag?(r.elm&&!r.elm._vOptions?st(n,"postpatch",function(){xi.componentUpdated(e,t,n)}):ki(e,t,n.context),e._vOptions=[].map.call(e.options,Oi)):("textarea"===n.tag||Hn(e.type))&&(e._vModifiers=t.modifiers,t.modifiers.lazy||(e.addEventListener("compositionstart",ji),e.addEventListener("compositionend",Ii),e.addEventListener("change",Ii),Y&&(e.vmodel=!0)))},componentUpdated:function(e,t,n){if("select"===n.tag){ki(e,t,n.context);var r=e._vOptions,i=e._vOptions=[].map.call(e.options,Oi);if(i.some(function(e,t){return!P(e,r[t])}))(e.multiple?t.value.some(function(e){return Ai(e,i)}):t.value!==t.oldValue&&Ai(t.value,i))&&Di(e,"change")}}};function ki(e,t,n){Si(e,t,n),(Q||X)&&setTimeout(function(){Si(e,t,n)},0)}function Si(e,t,n){var r=t.value,i=e.multiple;if(!i||Array.isArray(r)){for(var o,a,s=0,u=e.options.length;s<u;s++)if(a=e.options[s],i)o=N(r,Oi(a))>-1,a.selected!==o&&(a.selected=o);else if(P(Oi(a),r))return void(e.selectedIndex!==s&&(e.selectedIndex=s));i||(e.selectedIndex=-1)}}function Ai(e,t){return t.every(function(t){return!P(t,e)})}function Oi(e){return"_value"in e?e._value:e.value}function ji(e){e.target.composing=!0}function Ii(e){e.target.composing&&(e.target.composing=!1,Di(e.target,"input"))}function Di(e,t){var n=document.createEvent("HTMLEvents");n.initEvent(t,!0,!0),e.dispatchEvent(n)}function Li(e){return!e.componentInstance||e.data&&e.data.transition?e:Li(e.componentInstance._vnode)}var Pi={model:xi,show:{bind:function(e,t,n){var r=t.value,i=(n=Li(n)).data&&n.data.transition,o=e.__vOriginalDisplay="none"===e.style.display?"":e.style.display;r&&i?(n.data.show=!0,bi(n,function(){e.style.display=o})):e.style.display=r?o:"none"},update:function(e,t,n){var r=t.value;!r!=!t.oldValue&&((n=Li(n)).data&&n.data.transition?(n.data.show=!0,r?bi(n,function(){e.style.display=e.__vOriginalDisplay}):wi(n,function(){e.style.display="none"})):e.style.display=r?e.__vOriginalDisplay:"none")},unbind:function(e,t,n,r,i){i||(e.style.display=e.__vOriginalDisplay)}}},Ni={name:String,appear:Boolean,css:Boolean,mode:String,type:String,enterClass:String,leaveClass:String,enterToClass:String,leaveToClass:String,enterActiveClass:String,leaveActiveClass:String,appearClass:String,appearActiveClass:String,appearToClass:String,duration:[Number,String,Object]};function Mi(e){var t=e&&e.componentOptions;return t&&t.Ctor.options.abstract?Mi(dt(t.children)):e}function Fi(e){var t={},n=e.$options;for(var r in n.propsData)t[r]=e[r];var i=n._parentListeners;for(var o in i)t[C(o)]=i[o];return t}function Ri(e,t){if(/\d-keep-alive$/.test(t.tag))return e("keep-alive",{props:t.componentOptions.propsData})}var Hi={name:"transition",props:Ni,abstract:!0,render:function(e){var t=this,n=this.$slots.default;if(n&&(n=n.filter(function(e){return e.tag||ht(e)})).length){0;var r=this.mode;0;var i=n[0];if(function(e){for(;e=e.parent;)if(e.data.transition)return!0}(this.$vnode))return i;var o=Mi(i);if(!o)return i;if(this._leaving)return Ri(e,i);var a="__transition-"+this._uid+"-";o.key=null==o.key?o.isComment?a+"comment":a+o.tag:s(o.key)?0===String(o.key).indexOf(a)?o.key:a+o.key:o.key;var u=(o.data||(o.data={})).transition=Fi(this),c=this._vnode,l=Mi(c);if(o.data.directives&&o.data.directives.some(function(e){return"show"===e.name})&&(o.data.show=!0),l&&l.data&&!function(e,t){return t.key===e.key&&t.tag===e.tag}(o,l)&&!ht(l)&&(!l.componentInstance||!l.componentInstance._vnode.isComment)){var f=l.data.transition=O({},u);if("out-in"===r)return this._leaving=!0,st(f,"afterLeave",function(){t._leaving=!1,t.$forceUpdate()}),Ri(e,i);if("in-out"===r){if(ht(o))return c;var h,d=function(){h()};st(u,"afterEnter",d),st(u,"enterCancelled",d),st(f,"delayLeave",function(e){h=e})}}return i}}},$i=O({tag:String,moveClass:String},Ni);function qi(e){e.elm._moveCb&&e.elm._moveCb(),e.elm._enterCb&&e.elm._enterCb()}function Bi(e){e.data.newPos=e.elm.getBoundingClientRect()}function Ui(e){var t=e.data.pos,n=e.data.newPos,r=t.left-n.left,i=t.top-n.top;if(r||i){e.data.moved=!0;var o=e.elm.style;o.transform=o.WebkitTransform="translate("+r+"px,"+i+"px)",o.transitionDuration="0s"}}delete $i.mode;var Wi={Transition:Hi,TransitionGroup:{props:$i,render:function(e){for(var t=this.tag||this.$vnode.data.tag||"span",n=Object.create(null),r=this.prevChildren=this.children,i=this.$slots.default||[],o=this.children=[],a=Fi(this),s=0;s<i.length;s++){var u=i[s];if(u.tag)if(null!=u.key&&0!==String(u.key).indexOf("__vlist"))o.push(u),n[u.key]=u,(u.data||(u.data={})).transition=a;else;}if(r){for(var c=[],l=[],f=0;f<r.length;f++){var h=r[f];h.data.transition=a,h.data.pos=h.elm.getBoundingClientRect(),n[h.key]?c.push(h):l.push(h)}this.kept=e(t,null,c),this.removed=l}return e(t,null,o)},beforeUpdate:function(){this.__patch__(this._vnode,this.kept,!1,!0),this._vnode=this.kept},updated:function(){var e=this.prevChildren,t=this.moveClass||(this.name||"v")+"-move";e.length&&this.hasMove(e[0].elm,t)&&(e.forEach(qi),e.forEach(Bi),e.forEach(Ui),this._reflow=document.body.offsetHeight,e.forEach(function(e){if(e.data.moved){var n=e.elm,r=n.style;hi(n,t),r.transform=r.WebkitTransform=r.transitionDuration="",n.addEventListener(si,n._moveCb=function e(r){r&&!/transform$/.test(r.propertyName)||(n.removeEventListener(si,e),n._moveCb=null,di(n,t))})}}))},methods:{hasMove:function(e,t){if(!ri)return!1;if(this._hasMove)return this._hasMove;var n=e.cloneNode();e._transitionClasses&&e._transitionClasses.forEach(function(e){ei(n,e)}),Zr(n,t),n.style.display="none",this.$el.appendChild(n);var r=mi(n);return this.$el.removeChild(n),this._hasMove=r.hasTransform}}}};hn.config.mustUseProp=_n,hn.config.isReservedTag=Mn,hn.config.isReservedAttr=wn,hn.config.getTagNamespace=Fn,hn.config.isUnknownElement=function(e){if(!V)return!0;if(Mn(e))return!1;if(e=e.toLowerCase(),null!=Rn[e])return Rn[e];var t=document.createElement(e);return e.indexOf("-")>-1?Rn[e]=t.constructor===window.HTMLUnknownElement||t.constructor===window.HTMLElement:Rn[e]=/HTMLUnknownElement/.test(t.toString())},O(hn.options.directives,Pi),O(hn.options.components,Wi),hn.prototype.__patch__=V?Ti:I,hn.prototype.$mount=function(e,t){return function(e,t,n){return e.$el=t,e.$options.render||(e.$options.render=ve),Ct(e,"beforeMount"),new Dt(e,function(){e._update(e._render(),n)},I,null,!0),n=!1,null==e.$vnode&&(e._isMounted=!0,Ct(e,"mounted")),e}(this,e=e&&V?$n(e):void 0,t)},V&&setTimeout(function(){$.devtools&&re&&re.emit("init",hn)},0);var Vi=/\{\{((?:.|\n)+?)\}\}/g,Ki=/[-.*+?^${}()|[\]\/\\]/g,Gi=E(function(e){var t=e[0].replace(Ki,"\\$&"),n=e[1].replace(Ki,"\\$&");return new RegExp(t+"((?:.|\\n)+?)"+n,"g")});var zi={staticKeys:["staticClass"],transformNode:function(e,t){t.warn;var n=Tr(e,"class");n&&(e.staticClass=JSON.stringify(n));var r=Cr(e,"class",!1);r&&(e.classBinding=r)},genData:function(e){var t="";return e.staticClass&&(t+="staticClass:"+e.staticClass+","),e.classBinding&&(t+="class:"+e.classBinding+","),t}};var Qi,Yi={staticKeys:["staticStyle"],transformNode:function(e,t){t.warn;var n=Tr(e,"style");n&&(e.staticStyle=JSON.stringify(Br(n)));var r=Cr(e,"style",!1);r&&(e.styleBinding=r)},genData:function(e){var t="";return e.staticStyle&&(t+="staticStyle:"+e.staticStyle+","),e.styleBinding&&(t+="style:("+e.styleBinding+"),"),t}},Xi=function(e){return(Qi=Qi||document.createElement("div")).innerHTML=e,Qi.textContent},Ji=v("area,base,br,col,embed,frame,hr,img,input,isindex,keygen,link,meta,param,source,track,wbr"),Zi=v("colgroup,dd,dt,li,options,p,td,tfoot,th,thead,tr,source"),eo=v("address,article,aside,base,blockquote,body,caption,col,colgroup,dd,details,dialog,div,dl,dt,fieldset,figcaption,figure,footer,form,h1,h2,h3,h4,h5,h6,head,header,hgroup,hr,html,legend,li,menuitem,meta,optgroup,option,param,rp,rt,source,style,summary,tbody,td,tfoot,th,thead,title,tr,track"),to=/^\s*([^\s"'<>\/=]+)(?:\s*(=)\s*(?:"([^"]*)"+|'([^']*)'+|([^\s"'=<>`]+)))?/,no="[a-zA-Z_][\\w\\-\\.]*",ro="((?:"+no+"\\:)?"+no+")",io=new RegExp("^<"+ro),oo=/^\s*(\/?)>/,ao=new RegExp("^<\\/"+ro+"[^>]*>"),so=/^<!DOCTYPE [^>]+>/i,uo=/^<!\--/,co=/^<!\[/,lo=!1;"x".replace(/x(.)?/g,function(e,t){lo=""===t});var fo=v("script,style,textarea",!0),ho={},po={"&lt;":"<","&gt;":">","&quot;":'"',"&amp;":"&","&#10;":"\n","&#9;":"\t"},vo=/&(?:lt|gt|quot|amp);/g,mo=/&(?:lt|gt|quot|amp|#10|#9);/g,go=v("pre,textarea",!0),yo=function(e,t){return e&&go(e)&&"\n"===t[0]};function bo(e,t){var n=t?mo:vo;return e.replace(n,function(e){return po[e]})}var wo,Eo,_o,Co,To,xo,ko,So,Ao=/^@|^v-on:/,Oo=/^v-|^@|^:/,jo=/([^]*?)\s+(?:in|of)\s+([^]*)/,Io=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,Do=/^\(|\)$/g,Lo=/:(.*)$/,Po=/^:|^v-bind:/,No=/\.[^.]+/g,Mo=E(Xi);function Fo(e,t,n){return{type:1,tag:e,attrsList:t,attrsMap:function(e){for(var t={},n=0,r=e.length;n<r;n++)t[e[n].name]=e[n].value;return t}(t),parent:n,children:[]}}function Ro(e,t){wo=t.warn||mr,xo=t.isPreTag||D,ko=t.mustUseProp||D,So=t.getTagNamespace||D,_o=gr(t.modules,"transformNode"),Co=gr(t.modules,"preTransformNode"),To=gr(t.modules,"postTransformNode"),Eo=t.delimiters;var n,r,i=[],o=!1!==t.preserveWhitespace,a=!1,s=!1;function u(e){e.pre&&(a=!1),xo(e.tag)&&(s=!1);for(var n=0;n<To.length;n++)To[n](e,t)}return function(e,t){for(var n,r,i=[],o=t.expectHTML,a=t.isUnaryTag||D,s=t.canBeLeftOpenTag||D,u=0;e;){if(n=e,r&&fo(r)){var c=0,l=r.toLowerCase(),f=ho[l]||(ho[l]=new RegExp("([\\s\\S]*?)(</"+l+"[^>]*>)","i")),h=e.replace(f,function(e,n,r){return c=r.length,fo(l)||"noscript"===l||(n=n.replace(/<!\--([\s\S]*?)-->/g,"$1").replace(/<!\[CDATA\[([\s\S]*?)]]>/g,"$1")),yo(l,n)&&(n=n.slice(1)),t.chars&&t.chars(n),""});u+=e.length-h.length,e=h,k(l,u-c,u)}else{var d=e.indexOf("<");if(0===d){if(uo.test(e)){var p=e.indexOf("--\x3e");if(p>=0){t.shouldKeepComment&&t.comment(e.substring(4,p)),C(p+3);continue}}if(co.test(e)){var v=e.indexOf("]>");if(v>=0){C(v+2);continue}}var m=e.match(so);if(m){C(m[0].length);continue}var g=e.match(ao);if(g){var y=u;C(g[0].length),k(g[1],y,u);continue}var b=T();if(b){x(b),yo(r,e)&&C(1);continue}}var w=void 0,E=void 0,_=void 0;if(d>=0){for(E=e.slice(d);!(ao.test(E)||io.test(E)||uo.test(E)||co.test(E)||(_=E.indexOf("<",1))<0);)d+=_,E=e.slice(d);w=e.substring(0,d),C(d)}d<0&&(w=e,e=""),t.chars&&w&&t.chars(w)}if(e===n){t.chars&&t.chars(e);break}}function C(t){u+=t,e=e.substring(t)}function T(){var t=e.match(io);if(t){var n,r,i={tagName:t[1],attrs:[],start:u};for(C(t[0].length);!(n=e.match(oo))&&(r=e.match(to));)C(r[0].length),i.attrs.push(r);if(n)return i.unarySlash=n[1],C(n[0].length),i.end=u,i}}function x(e){var n=e.tagName,u=e.unarySlash;o&&("p"===r&&eo(n)&&k(r),s(n)&&r===n&&k(n));for(var c=a(n)||!!u,l=e.attrs.length,f=new Array(l),h=0;h<l;h++){var d=e.attrs[h];lo&&-1===d[0].indexOf('""')&&(""===d[3]&&delete d[3],""===d[4]&&delete d[4],""===d[5]&&delete d[5]);var p=d[3]||d[4]||d[5]||"",v="a"===n&&"href"===d[1]?t.shouldDecodeNewlinesForHref:t.shouldDecodeNewlines;f[h]={name:d[1],value:bo(p,v)}}c||(i.push({tag:n,lowerCasedTag:n.toLowerCase(),attrs:f}),r=n),t.start&&t.start(n,f,c,e.start,e.end)}function k(e,n,o){var a,s;if(null==n&&(n=u),null==o&&(o=u),e&&(s=e.toLowerCase()),e)for(a=i.length-1;a>=0&&i[a].lowerCasedTag!==s;a--);else a=0;if(a>=0){for(var c=i.length-1;c>=a;c--)t.end&&t.end(i[c].tag,n,o);i.length=a,r=a&&i[a-1].tag}else"br"===s?t.start&&t.start(e,[],!0,n,o):"p"===s&&(t.start&&t.start(e,[],!1,n,o),t.end&&t.end(e,n,o))}k()}(e,{warn:wo,expectHTML:t.expectHTML,isUnaryTag:t.isUnaryTag,canBeLeftOpenTag:t.canBeLeftOpenTag,shouldDecodeNewlines:t.shouldDecodeNewlines,shouldDecodeNewlinesForHref:t.shouldDecodeNewlinesForHref,shouldKeepComment:t.comments,start:function(e,o,c){var l=r&&r.ns||So(e);Q&&"svg"===l&&(o=function(e){for(var t=[],n=0;n<e.length;n++){var r=e[n];Uo.test(r.name)||(r.name=r.name.replace(Wo,""),t.push(r))}return t}(o));var f,h=Fo(e,o,r);l&&(h.ns=l),"style"!==(f=h).tag&&("script"!==f.tag||f.attrsMap.type&&"text/javascript"!==f.attrsMap.type)||ne()||(h.forbidden=!0);for(var d=0;d<Co.length;d++)h=Co[d](h,t)||h;function p(e){0}if(a||(!function(e){null!=Tr(e,"v-pre")&&(e.pre=!0)}(h),h.pre&&(a=!0)),xo(h.tag)&&(s=!0),a?function(e){var t=e.attrsList.length;if(t)for(var n=e.attrs=new Array(t),r=0;r<t;r++)n[r]={name:e.attrsList[r].name,value:JSON.stringify(e.attrsList[r].value)};else e.pre||(e.plain=!0)}(h):h.processed||($o(h),function(e){var t=Tr(e,"v-if");if(t)e.if=t,qo(e,{exp:t,block:e});else{null!=Tr(e,"v-else")&&(e.else=!0);var n=Tr(e,"v-else-if");n&&(e.elseif=n)}}(h),function(e){null!=Tr(e,"v-once")&&(e.once=!0)}(h),Ho(h,t)),n?i.length||n.if&&(h.elseif||h.else)&&(p(),qo(n,{exp:h.elseif,block:h})):(n=h,p()),r&&!h.forbidden)if(h.elseif||h.else)!function(e,t){var n=function(e){var t=e.length;for(;t--;){if(1===e[t].type)return e[t];e.pop()}}(t.children);n&&n.if&&qo(n,{exp:e.elseif,block:e})}(h,r);else if(h.slotScope){r.plain=!1;var v=h.slotTarget||'"default"';(r.scopedSlots||(r.scopedSlots={}))[v]=h}else r.children.push(h),h.parent=r;c?u(h):(r=h,i.push(h))},end:function(){var e=i[i.length-1],t=e.children[e.children.length-1];t&&3===t.type&&" "===t.text&&!s&&e.children.pop(),i.length-=1,r=i[i.length-1],u(e)},chars:function(e){if(r&&(!Q||"textarea"!==r.tag||r.attrsMap.placeholder!==e)){var t,n,i=r.children;if(e=s||e.trim()?"script"===(t=r).tag||"style"===t.tag?e:Mo(e):o&&i.length?" ":"")!a&&" "!==e&&(n=function(e,t){var n=t?Gi(t):Vi;if(n.test(e)){for(var r,i,o,a=[],s=[],u=n.lastIndex=0;r=n.exec(e);){(i=r.index)>u&&(s.push(o=e.slice(u,i)),a.push(JSON.stringify(o)));var c=pr(r[1].trim());a.push("_s("+c+")"),s.push({"@binding":c}),u=i+r[0].length}return u<e.length&&(s.push(o=e.slice(u)),a.push(JSON.stringify(o))),{expression:a.join("+"),tokens:s}}}(e,Eo))?i.push({type:2,expression:n.expression,tokens:n.tokens,text:e}):" "===e&&i.length&&" "===i[i.length-1].text||i.push({type:3,text:e})}},comment:function(e){r.children.push({type:3,text:e,isComment:!0})}}),n}function Ho(e,t){var n,r;(r=Cr(n=e,"key"))&&(n.key=r),e.plain=!e.key&&!e.attrsList.length,function(e){var t=Cr(e,"ref");t&&(e.ref=t,e.refInFor=function(e){var t=e;for(;t;){if(void 0!==t.for)return!0;t=t.parent}return!1}(e))}(e),function(e){if("slot"===e.tag)e.slotName=Cr(e,"name");else{var t;"template"===e.tag?(t=Tr(e,"scope"),e.slotScope=t||Tr(e,"slot-scope")):(t=Tr(e,"slot-scope"))&&(e.slotScope=t);var n=Cr(e,"slot");n&&(e.slotTarget='""'===n?'"default"':n,"template"===e.tag||e.slotScope||br(e,"slot",n))}}(e),function(e){var t;(t=Cr(e,"is"))&&(e.component=t);null!=Tr(e,"inline-template")&&(e.inlineTemplate=!0)}(e);for(var i=0;i<_o.length;i++)e=_o[i](e,t)||e;!function(e){var t,n,r,i,o,a,s,u=e.attrsList;for(t=0,n=u.length;t<n;t++){if(r=i=u[t].name,o=u[t].value,Oo.test(r))if(e.hasBindings=!0,(a=Bo(r))&&(r=r.replace(No,"")),Po.test(r))r=r.replace(Po,""),o=pr(o),s=!1,a&&(a.prop&&(s=!0,"innerHtml"===(r=C(r))&&(r="innerHTML")),a.camel&&(r=C(r)),a.sync&&_r(e,"update:"+C(r),kr(o,"$event"))),s||!e.component&&ko(e.tag,e.attrsMap.type,r)?yr(e,r,o):br(e,r,o);else if(Ao.test(r))r=r.replace(Ao,""),_r(e,r,o,a,!1);else{var c=(r=r.replace(Oo,"")).match(Lo),l=c&&c[1];l&&(r=r.slice(0,-(l.length+1))),Er(e,r,i,o,l,a)}else br(e,r,JSON.stringify(o)),!e.component&&"muted"===r&&ko(e.tag,e.attrsMap.type,r)&&yr(e,r,"true")}}(e)}function $o(e){var t;if(t=Tr(e,"v-for")){var n=function(e){var t=e.match(jo);if(!t)return;var n={};n.for=t[2].trim();var r=t[1].trim().replace(Do,""),i=r.match(Io);i?(n.alias=r.replace(Io,""),n.iterator1=i[1].trim(),i[2]&&(n.iterator2=i[2].trim())):n.alias=r;return n}(t);n&&O(e,n)}}function qo(e,t){e.ifConditions||(e.ifConditions=[]),e.ifConditions.push(t)}function Bo(e){var t=e.match(No);if(t){var n={};return t.forEach(function(e){n[e.slice(1)]=!0}),n}}var Uo=/^xmlns:NS\d+/,Wo=/^NS\d+:/;function Vo(e){return Fo(e.tag,e.attrsList.slice(),e.parent)}var Ko=[zi,Yi,{preTransformNode:function(e,t){if("input"===e.tag){var n,r=e.attrsMap;if(!r["v-model"])return;if((r[":type"]||r["v-bind:type"])&&(n=Cr(e,"type")),r.type||n||!r["v-bind"]||(n="("+r["v-bind"]+").type"),n){var i=Tr(e,"v-if",!0),o=i?"&&("+i+")":"",a=null!=Tr(e,"v-else",!0),s=Tr(e,"v-else-if",!0),u=Vo(e);$o(u),wr(u,"type","checkbox"),Ho(u,t),u.processed=!0,u.if="("+n+")==='checkbox'"+o,qo(u,{exp:u.if,block:u});var c=Vo(e);Tr(c,"v-for",!0),wr(c,"type","radio"),Ho(c,t),qo(u,{exp:"("+n+")==='radio'"+o,block:c});var l=Vo(e);return Tr(l,"v-for",!0),wr(l,":type",n),Ho(l,t),qo(u,{exp:i,block:l}),a?u.else=!0:s&&(u.elseif=s),u}}}}];var Go,zo,Qo={expectHTML:!0,modules:Ko,directives:{model:function(e,t,n){n;var r=t.value,i=t.modifiers,o=e.tag,a=e.attrsMap.type;if(e.component)return xr(e,r,i),!1;if("select"===o)!function(e,t,n){var r='var $$selectedVal = Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = "_value" in o ? o._value : o.value;return '+(n&&n.number?"_n(val)":"val")+"});";r=r+" "+kr(t,"$event.target.multiple ? $$selectedVal : $$selectedVal[0]"),_r(e,"change",r,null,!0)}(e,r,i);else if("input"===o&&"checkbox"===a)!function(e,t,n){var r=n&&n.number,i=Cr(e,"value")||"null",o=Cr(e,"true-value")||"true",a=Cr(e,"false-value")||"false";yr(e,"checked","Array.isArray("+t+")?_i("+t+","+i+")>-1"+("true"===o?":("+t+")":":_q("+t+","+o+")")),_r(e,"change","var $$a="+t+",$$el=$event.target,$$c=$$el.checked?("+o+"):("+a+");if(Array.isArray($$a)){var $$v="+(r?"_n("+i+")":i)+",$$i=_i($$a,$$v);if($$el.checked){$$i<0&&("+kr(t,"$$a.concat([$$v])")+")}else{$$i>-1&&("+kr(t,"$$a.slice(0,$$i).concat($$a.slice($$i+1))")+")}}else{"+kr(t,"$$c")+"}",null,!0)}(e,r,i);else if("input"===o&&"radio"===a)!function(e,t,n){var r=n&&n.number,i=Cr(e,"value")||"null";yr(e,"checked","_q("+t+","+(i=r?"_n("+i+")":i)+")"),_r(e,"change",kr(t,i),null,!0)}(e,r,i);else if("input"===o||"textarea"===o)!function(e,t,n){var r=e.attrsMap.type,i=n||{},o=i.lazy,a=i.number,s=i.trim,u=!o&&"range"!==r,c=o?"change":"range"===r?Lr:"input",l="$event.target.value";s&&(l="$event.target.value.trim()"),a&&(l="_n("+l+")");var f=kr(t,l);u&&(f="if($event.target.composing)return;"+f),yr(e,"value","("+t+")"),_r(e,c,f,null,!0),(s||a)&&_r(e,"blur","$forceUpdate()")}(e,r,i);else if(!$.isReservedTag(o))return xr(e,r,i),!1;return!0},text:function(e,t){t.value&&yr(e,"textContent","_s("+t.value+")")},html:function(e,t){t.value&&yr(e,"innerHTML","_s("+t.value+")")}},isPreTag:function(e){return"pre"===e},isUnaryTag:Ji,mustUseProp:_n,canBeLeftOpenTag:Zi,isReservedTag:Mn,getTagNamespace:Fn,staticKeys:function(e){return e.reduce(function(e,t){return e.concat(t.staticKeys||[])},[]).join(",")}(Ko)},Yo=E(function(e){return v("type,tag,attrsList,attrsMap,plain,parent,children,attrs"+(e?","+e:""))});function Xo(e,t){e&&(Go=Yo(t.staticKeys||""),zo=t.isReservedTag||D,function e(t){t.static=function(e){if(2===e.type)return!1;if(3===e.type)return!0;return!(!e.pre&&(e.hasBindings||e.if||e.for||m(e.tag)||!zo(e.tag)||function(e){for(;e.parent;){if("template"!==(e=e.parent).tag)return!1;if(e.for)return!0}return!1}(e)||!Object.keys(e).every(Go)))}(t);if(1===t.type){if(!zo(t.tag)&&"slot"!==t.tag&&null==t.attrsMap["inline-template"])return;for(var n=0,r=t.children.length;n<r;n++){var i=t.children[n];e(i),i.static||(t.static=!1)}if(t.ifConditions)for(var o=1,a=t.ifConditions.length;o<a;o++){var s=t.ifConditions[o].block;e(s),s.static||(t.static=!1)}}}(e),function e(t,n){if(1===t.type){if((t.static||t.once)&&(t.staticInFor=n),t.static&&t.children.length&&(1!==t.children.length||3!==t.children[0].type))return void(t.staticRoot=!0);if(t.staticRoot=!1,t.children)for(var r=0,i=t.children.length;r<i;r++)e(t.children[r],n||!!t.for);if(t.ifConditions)for(var o=1,a=t.ifConditions.length;o<a;o++)e(t.ifConditions[o].block,n)}}(e,!1))}var Jo=/^([\w$_]+|\([^)]*?\))\s*=>|^function\s*\(/,Zo=/^[A-Za-z_$][\w$]*(?:\.[A-Za-z_$][\w$]*|\['[^']*?']|\["[^"]*?"]|\[\d+]|\[[A-Za-z_$][\w$]*])*$/,ea={esc:27,tab:9,enter:13,space:32,up:38,left:37,right:39,down:40,delete:[8,46]},ta={esc:"Escape",tab:"Tab",enter:"Enter",space:" ",up:["Up","ArrowUp"],left:["Left","ArrowLeft"],right:["Right","ArrowRight"],down:["Down","ArrowDown"],delete:["Backspace","Delete"]},na=function(e){return"if("+e+")return null;"},ra={stop:"$event.stopPropagation();",prevent:"$event.preventDefault();",self:na("$event.target !== $event.currentTarget"),ctrl:na("!$event.ctrlKey"),shift:na("!$event.shiftKey"),alt:na("!$event.altKey"),meta:na("!$event.metaKey"),left:na("'button' in $event && $event.button !== 0"),middle:na("'button' in $event && $event.button !== 1"),right:na("'button' in $event && $event.button !== 2")};function ia(e,t,n){var r=t?"nativeOn:{":"on:{";for(var i in e)r+='"'+i+'":'+oa(i,e[i])+",";return r.slice(0,-1)+"}"}function oa(e,t){if(!t)return"function(){}";if(Array.isArray(t))return"["+t.map(function(t){return oa(e,t)}).join(",")+"]";var n=Zo.test(t.value),r=Jo.test(t.value);if(t.modifiers){var i="",o="",a=[];for(var s in t.modifiers)if(ra[s])o+=ra[s],ea[s]&&a.push(s);else if("exact"===s){var u=t.modifiers;o+=na(["ctrl","shift","alt","meta"].filter(function(e){return!u[e]}).map(function(e){return"$event."+e+"Key"}).join("||"))}else a.push(s);return a.length&&(i+=function(e){return"if(!('button' in $event)&&"+e.map(aa).join("&&")+")return null;"}(a)),o&&(i+=o),"function($event){"+i+(n?"return "+t.value+"($event)":r?"return ("+t.value+")($event)":t.value)+"}"}return n||r?t.value:"function($event){"+t.value+"}"}function aa(e){var t=parseInt(e,10);if(t)return"$event.keyCode!=="+t;var n=ea[e],r=ta[e];return"_k($event.keyCode,"+JSON.stringify(e)+","+JSON.stringify(n)+",$event.key,"+JSON.stringify(r)+")"}var sa={on:function(e,t){e.wrapListeners=function(e){return"_g("+e+","+t.value+")"}},bind:function(e,t){e.wrapData=function(n){return"_b("+n+",'"+e.tag+"',"+t.value+","+(t.modifiers&&t.modifiers.prop?"true":"false")+(t.modifiers&&t.modifiers.sync?",true":"")+")"}},cloak:I},ua=function(e){this.options=e,this.warn=e.warn||mr,this.transforms=gr(e.modules,"transformCode"),this.dataGenFns=gr(e.modules,"genData"),this.directives=O(O({},sa),e.directives);var t=e.isReservedTag||D;this.maybeComponent=function(e){return!t(e.tag)},this.onceId=0,this.staticRenderFns=[]};function ca(e,t){var n=new ua(t);return{render:"with(this){return "+(e?la(e,n):'_c("div")')+"}",staticRenderFns:n.staticRenderFns}}function la(e,t){if(e.staticRoot&&!e.staticProcessed)return fa(e,t);if(e.once&&!e.onceProcessed)return ha(e,t);if(e.for&&!e.forProcessed)return function(e,t,n,r){var i=e.for,o=e.alias,a=e.iterator1?","+e.iterator1:"",s=e.iterator2?","+e.iterator2:"";0;return e.forProcessed=!0,(r||"_l")+"(("+i+"),function("+o+a+s+"){return "+(n||la)(e,t)+"})"}(e,t);if(e.if&&!e.ifProcessed)return da(e,t);if("template"!==e.tag||e.slotTarget){if("slot"===e.tag)return function(e,t){var n=e.slotName||'"default"',r=ma(e,t),i="_t("+n+(r?","+r:""),o=e.attrs&&"{"+e.attrs.map(function(e){return C(e.name)+":"+e.value}).join(",")+"}",a=e.attrsMap["v-bind"];!o&&!a||r||(i+=",null");o&&(i+=","+o);a&&(i+=(o?"":",null")+","+a);return i+")"}(e,t);var n;if(e.component)n=function(e,t,n){var r=t.inlineTemplate?null:ma(t,n,!0);return"_c("+e+","+pa(t,n)+(r?","+r:"")+")"}(e.component,e,t);else{var r=e.plain?void 0:pa(e,t),i=e.inlineTemplate?null:ma(e,t,!0);n="_c('"+e.tag+"'"+(r?","+r:"")+(i?","+i:"")+")"}for(var o=0;o<t.transforms.length;o++)n=t.transforms[o](e,n);return n}return ma(e,t)||"void 0"}function fa(e,t){return e.staticProcessed=!0,t.staticRenderFns.push("with(this){return "+la(e,t)+"}"),"_m("+(t.staticRenderFns.length-1)+(e.staticInFor?",true":"")+")"}function ha(e,t){if(e.onceProcessed=!0,e.if&&!e.ifProcessed)return da(e,t);if(e.staticInFor){for(var n="",r=e.parent;r;){if(r.for){n=r.key;break}r=r.parent}return n?"_o("+la(e,t)+","+t.onceId+++","+n+")":la(e,t)}return fa(e,t)}function da(e,t,n,r){return e.ifProcessed=!0,function e(t,n,r,i){if(!t.length)return i||"_e()";var o=t.shift();return o.exp?"("+o.exp+")?"+a(o.block)+":"+e(t,n,r,i):""+a(o.block);function a(e){return r?r(e,n):e.once?ha(e,n):la(e,n)}}(e.ifConditions.slice(),t,n,r)}function pa(e,t){var n="{",r=function(e,t){var n=e.directives;if(!n)return;var r,i,o,a,s="directives:[",u=!1;for(r=0,i=n.length;r<i;r++){o=n[r],a=!0;var c=t.directives[o.name];c&&(a=!!c(e,o,t.warn)),a&&(u=!0,s+='{name:"'+o.name+'",rawName:"'+o.rawName+'"'+(o.value?",value:("+o.value+"),expression:"+JSON.stringify(o.value):"")+(o.arg?',arg:"'+o.arg+'"':"")+(o.modifiers?",modifiers:"+JSON.stringify(o.modifiers):"")+"},")}if(u)return s.slice(0,-1)+"]"}(e,t);r&&(n+=r+","),e.key&&(n+="key:"+e.key+","),e.ref&&(n+="ref:"+e.ref+","),e.refInFor&&(n+="refInFor:true,"),e.pre&&(n+="pre:true,"),e.component&&(n+='tag:"'+e.tag+'",');for(var i=0;i<t.dataGenFns.length;i++)n+=t.dataGenFns[i](e);if(e.attrs&&(n+="attrs:{"+ba(e.attrs)+"},"),e.props&&(n+="domProps:{"+ba(e.props)+"},"),e.events&&(n+=ia(e.events,!1,t.warn)+","),e.nativeEvents&&(n+=ia(e.nativeEvents,!0,t.warn)+","),e.slotTarget&&!e.slotScope&&(n+="slot:"+e.slotTarget+","),e.scopedSlots&&(n+=function(e,t){return"scopedSlots:_u(["+Object.keys(e).map(function(n){return va(n,e[n],t)}).join(",")+"])"}(e.scopedSlots,t)+","),e.model&&(n+="model:{value:"+e.model.value+",callback:"+e.model.callback+",expression:"+e.model.expression+"},"),e.inlineTemplate){var o=function(e,t){var n=e.children[0];0;if(1===n.type){var r=ca(n,t.options);return"inlineTemplate:{render:function(){"+r.render+"},staticRenderFns:["+r.staticRenderFns.map(function(e){return"function(){"+e+"}"}).join(",")+"]}"}}(e,t);o&&(n+=o+",")}return n=n.replace(/,$/,"")+"}",e.wrapData&&(n=e.wrapData(n)),e.wrapListeners&&(n=e.wrapListeners(n)),n}function va(e,t,n){return t.for&&!t.forProcessed?function(e,t,n){var r=t.for,i=t.alias,o=t.iterator1?","+t.iterator1:"",a=t.iterator2?","+t.iterator2:"";return t.forProcessed=!0,"_l(("+r+"),function("+i+o+a+"){return "+va(e,t,n)+"})"}(e,t,n):"{key:"+e+",fn:"+("function("+String(t.slotScope)+"){return "+("template"===t.tag?t.if?t.if+"?"+(ma(t,n)||"undefined")+":undefined":ma(t,n)||"undefined":la(t,n))+"}")+"}"}function ma(e,t,n,r,i){var o=e.children;if(o.length){var a=o[0];if(1===o.length&&a.for&&"template"!==a.tag&&"slot"!==a.tag)return(r||la)(a,t);var s=n?function(e,t){for(var n=0,r=0;r<e.length;r++){var i=e[r];if(1===i.type){if(ga(i)||i.ifConditions&&i.ifConditions.some(function(e){return ga(e.block)})){n=2;break}(t(i)||i.ifConditions&&i.ifConditions.some(function(e){return t(e.block)}))&&(n=1)}}return n}(o,t.maybeComponent):0,u=i||ya;return"["+o.map(function(e){return u(e,t)}).join(",")+"]"+(s?","+s:"")}}function ga(e){return void 0!==e.for||"template"===e.tag||"slot"===e.tag}function ya(e,t){return 1===e.type?la(e,t):3===e.type&&e.isComment?(r=e,"_e("+JSON.stringify(r.text)+")"):"_v("+(2===(n=e).type?n.expression:wa(JSON.stringify(n.text)))+")";var n,r}function ba(e){for(var t="",n=0;n<e.length;n++){var r=e[n];t+='"'+r.name+'":'+wa(r.value)+","}return t.slice(0,-1)}function wa(e){return e.replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029")}new RegExp("\\b"+"do,if,for,let,new,try,var,case,else,with,await,break,catch,class,const,super,throw,while,yield,delete,export,import,return,switch,default,extends,finally,continue,debugger,function,arguments".split(",").join("\\b|\\b")+"\\b"),new RegExp("\\b"+"delete,typeof,void".split(",").join("\\s*\\([^\\)]*\\)|\\b")+"\\s*\\([^\\)]*\\)");function Ea(e,t){try{return new Function(e)}catch(n){return t.push({err:n,code:e}),I}}var _a,Ca,Ta=(_a=function(e,t){var n=Ro(e.trim(),t);!1!==t.optimize&&Xo(n,t);var r=ca(n,t);return{ast:n,render:r.render,staticRenderFns:r.staticRenderFns}},function(e){function t(t,n){var r=Object.create(e),i=[],o=[];if(r.warn=function(e,t){(t?o:i).push(e)},n)for(var a in n.modules&&(r.modules=(e.modules||[]).concat(n.modules)),n.directives&&(r.directives=O(Object.create(e.directives||null),n.directives)),n)"modules"!==a&&"directives"!==a&&(r[a]=n[a]);var s=_a(t,r);return s.errors=i,s.tips=o,s}return{compile:t,compileToFunctions:function(e){var t=Object.create(null);return function(n,r,i){(r=O({},r)).warn,delete r.warn;var o=r.delimiters?String(r.delimiters)+n:n;if(t[o])return t[o];var a=e(n,r),s={},u=[];return s.render=Ea(a.render,u),s.staticRenderFns=a.staticRenderFns.map(function(e){return Ea(e,u)}),t[o]=s}}(t)}})(Qo).compileToFunctions;function xa(e){return(Ca=Ca||document.createElement("div")).innerHTML=e?'<a href="\n"/>':'<div a="\n"/>',Ca.innerHTML.indexOf("&#10;")>0}var ka=!!V&&xa(!1),Sa=!!V&&xa(!0),Aa=E(function(e){var t=$n(e);return t&&t.innerHTML}),Oa=hn.prototype.$mount;hn.prototype.$mount=function(e,t){if((e=e&&$n(e))===document.body||e===document.documentElement)return this;var n=this.$options;if(!n.render){var r=n.template;if(r)if("string"==typeof r)"#"===r.charAt(0)&&(r=Aa(r));else{if(!r.nodeType)return this;r=r.innerHTML}else e&&(r=function(e){if(e.outerHTML)return e.outerHTML;var t=document.createElement("div");return t.appendChild(e.cloneNode(!0)),t.innerHTML}(e));if(r){0;var i=Ta(r,{shouldDecodeNewlines:ka,shouldDecodeNewlinesForHref:Sa,delimiters:n.delimiters,comments:n.comments},this),o=i.render,a=i.staticRenderFns;n.render=o,n.staticRenderFns=a}}return Oa.call(this,e,t)},hn.compile=Ta,t.default=hn}.call(this,n(174),n(681).setImmediate)},846:function(e,t,n){"use strict";var r=n(0),i=n.n(r),o=n(477),a=n(242),s=function(){return function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){i=!0,o=e}finally{try{!r&&s.return&&s.return()}finally{if(i)throw o}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}();function u(){var e=function(){var e=void 0,t=[].slice.call(document.querySelectorAll(".js-feature-highlight")).sort(function(e,t){return(e.dataset.highlightPriority||0)<(t.dataset.highlightPriority||0)}),n=s(t,1)[0];return n&&(e=n.dataset.highlight),e}();return e&&function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:300,n=i()(Object(o.a)(e)),r=n.parent().siblings(".feature-highlight-popover-content"),s=a.c.bind(n,!1);n.data("content",r.prop("outerHTML")).popover({html:!0,template:'\n        <div class="popover feature-highlight-popover" role="tooltip">\n          <div class="arrow"></div>\n          <div class="popover-body"></div>\n        </div>\n      '}).on("mouseenter",a.b).on("mouseleave",Object(a.a)(t)).on("inserted.bs.popover",o.b).on("show.bs.popover",function(){window.addEventListener("scroll",s,{once:!0})}).removeAttr("disabled")}(e),e}var c=n(91);document.addEventListener("DOMContentLoaded",function(){return"lg"===c.a.getBreakpointSize()&&(u(),!0)})},865:function(e,t,n){"use strict";n(3),n(1385),n(1382),n(1378),n(1376),n(1370),n(1368),n(1366),n(1360),n(1358),n(1356),n(1351),n(1345),n(1340),n(1337),n(1336),n(1335),n(1334),n(1333),n(1332),n(1331),n(0),n(1330),n(1329),n(391),n(390),n(158),n(1328),n(1327),n(628);var r=n(8);n(389);const i={components:{bProgress:{components:{bProgressBar:{render:function(e){var t=e(!1);return this.$slots.default?t=this.$slots.default:this.label?t=e("span",{domProps:{innerHTML:this.label}}):this.computedShowProgress?t=this.progress.toFixed(this.computedPrecision):this.computedShowValue&&(t=this.value.toFixed(this.computedPrecision)),e("div",{class:this.progressBarClasses,style:this.progressBarStyles,attrs:{role:"progressbar","aria-valuemin":"0","aria-valuemax":this.computedMax.toString(),"aria-valuenow":this.value.toFixed(this.computedPrecision)}},[t])},computed:{progressBarClasses:function(){return["progress-bar",this.computedVariant?"bg-"+this.computedVariant:"",this.computedStriped||this.computedAnimated?"progress-bar-striped":"",this.computedAnimated?"progress-bar-animated":""]},progressBarStyles:function(){return{width:this.value/this.computedMax*100+"%"}},progress:function(){var e=Math.pow(10,this.computedPrecision);return Math.round(100*e*this.value/this.computedMax)/e},computedMax:function(){return"number"==typeof this.max?this.max:this.$parent.max||100},computedVariant:function(){return this.variant||this.$parent.variant},computedPrecision:function(){return"number"==typeof this.precision?this.precision:this.$parent.precision||0},computedStriped:function(){return"boolean"==typeof this.striped?this.striped:this.$parent.striped||!1},computedAnimated:function(){return"boolean"==typeof this.animated?this.animated:this.$parent.animated||!1},computedShowProgress:function(){return"boolean"==typeof this.showProgress?this.showProgress:this.$parent.showProgress||!1},computedShowValue:function(){return"boolean"==typeof this.showValue?this.showValue:this.$parent.showValue||!1}},props:{value:{type:Number,default:0},label:{type:String,default:null},max:{type:Number,default:null},precision:{type:Number,default:null},variant:{type:String,default:null},striped:{type:Boolean,default:null},animated:{type:Boolean,default:null},showProgress:{type:Boolean,default:null},showValue:{type:Boolean,default:null}}}},render:function(e){var t=this.$slots.default;return t||(t=e("b-progress-bar",{props:{value:this.value,max:this.max,precision:this.precision,variant:this.variant,animated:this.animated,striped:this.striped,showProgress:this.showProgress,showValue:this.showValue}})),e("div",{class:["progress"],style:this.progressHeight},[t])},props:{variant:{type:String,default:null},striped:{type:Boolean,default:!1},animated:{type:Boolean,default:!1},height:{type:String,default:null},precision:{type:Number,default:0},showProgress:{type:Boolean,default:!1},showValue:{type:Boolean,default:!1},max:{type:Number,default:100},value:{type:Number,default:0}},computed:{progressHeight:function(){return{height:this.height||null}}}}}};var o=function(){var e=this.$createElement;return(this._self._c||e)("b-progress",this._b({},"b-progress",this.$attrs,!1))};o._withStripped=!0;var a=function(e,t,n,r,i,o,a,s){const u=("function"==typeof n?n.options:n)||{};return u.__file="/builds/gitlab-org/gitlab-ui/components/base/progress_bar.vue",u.render||(u.render=e.render,u.staticRenderFns=e.staticRenderFns,u._compiled=!0,i&&(u.functional=!0)),u._scopeId=r,u}({render:o,staticRenderFns:[]},0,i,void 0,!1);r.default.component("gl-progress-bar",a);n(5)},877:function(e,t,n){"use strict";var r=n(50),i=n.n(r);document.addEventListener("DOMContentLoaded",function(){var e=document.querySelectorAll(".js-autosize");i()(e),i.a.update(e)});n(469);var o=n(0),a=n.n(o),s=n(129),u=n(1),c=n(7),l=function(){return function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){i=!0,o=e}finally{try{!r&&s.return&&s.return()}finally{if(i)throw o}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}();function f(e){e.length&&Promise.all([n.e(33).then(n.t.bind(null,2018,7)),n.e(33).then(n.t.bind(null,2017,7))]).then(function(t){var n=l(t,1)[0];!function(e,t){e.each(function(){var e=a()("<span></span>"),n=a()(this),r="display"===n.attr("data-math-style");try{t.render(n.text(),e.get(0),{displayMode:r,throwOnError:!1}),e.insertAfter(n),n.remove()}catch(e){throw e}})}(e,n)}).catch(function(){return Object(c.a)(Object(u.a)("An error occurred while rendering KaTeX"))})}a.a.fn.renderGFM=function(){var e;return Object(s.a)(this.find(".js-syntax-highlight")),f(this.find(".js-render-math")),(e=this.find(".js-render-mermaid")).length&&Promise.all([n.e(37),n.e(87)]).then(n.t.bind(null,2016,7)).then(function(t){t.initialize({mermaid:{startOnLoad:!1},theme:"neutral"}),e.each(function(e,n){var r=n.textContent;Object.assign(n,{textContent:r}),t.init(void 0,n,function(e){var t=document.getElementById(e);t.classList.add("mermaid"),t.closest("pre").replaceWith(t);var n=document.createElement("text");n.classList.add("source"),n.setAttribute("display","none"),n.textContent=r,t.appendChild(n)})})}).catch(function(e){Object(c.a)("Can't load mermaid module: "+e)}),this},a()(function(){return a()("body").renderGFM()});var h=n(357),d=n(740),p=n.n(d);function v(e,t){var n=a()(e),r=n.data("originalTitle");n.data("hideTooltip")||n.attr("title",t).tooltip("_fixTitle").tooltip("show").attr("title",r).tooltip("_fixTitle")}function m(e){v(e.trigger,"Copied"),e.clearSelection(),a()(e.trigger).blur()}function g(e){var t=void 0;t=/Mac/i.test(navigator.userAgent)?"&#8984;":"Ctrl",v(e.trigger,"Press "+t+"-C to copy")}a()(function(){a()("body").on("click",".js-details-target",function(){a()(this).closest(".js-details-container").toggleClass("open")}),a()("body").on("click",".js-details-expand",function(e){e.preventDefault(),a()(this).next(".js-details-content").removeClass("hide"),a()(this).hide();var t=a()(this).siblings(".js-details-short");t.length&&t.addClass("hide")})});var y=n(739),b=n.n(y),w=127462,E=127487;var _=127987,C=127752;var T=127995,x=127999;function k(e){return e.length>2&&Array.from(e).some(function(e){var t=e.codePointAt(0);return t>=T&&t<=x})}var S=127943;var A=8205,O=128102,j=128105;function I(e,t){var n=function(e){var t=e.codePointAt(0);return 4===e.length&&t>=w&&t<=E}(t),r=function(e){var t=Array.from(e);return 4===e.length&&t[0].codePointAt(0)===_&&t[1].codePointAt(0)===C}(t);return e.flag&&n||e.rainbowFlag&&r||!n&&!r}function D(e,t){var n=function(e){var t=Array.from(e)[0];return t&&t.codePointAt(0)===S&&k(e)}(t);return e.horseRacing&&n||!n}function L(e,t){var n=function(e){var t=!1,n=!1;return Array.from(e).forEach(function(e){var r=e.codePointAt(0);r===A?n=!0:r>=O&&r<=j&&(t=!0)}),t&&n}(t);return e.personZwj&&n||!n}function P(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments[1],n=arguments[2],r=e.meta&&e.meta.isChrome&&e.meta.chromeVersion<57;return e[n]&&!(r&&function(e){return 3===e.length&&"⃣"===e[2]}(t))&&I(e,t)&&function(e,t){var n=k(t);return e.skinToneModifier&&n||!n}(e,t)&&D(e,t)&&L(e,t)}var N=n(76),M="0.2.0",F={personZwj:"👨‍👩‍👧‍👦",horseRacing:"🏇🏿",flag:"🇺🇸",rainbowFlag:"🏳🌈",skinToneModifier:["🕵🏿","⛹🏿","👼🏿"],"9.0":"🤣","8.0":"🤘","7.0":"🕵",6.1:"😑","6.0":"👺",5.2:"⛵",5.1:"🀄",4.1:"⚙","4.0":"⚡",3.2:"♻","3.0":"ℹ",1.1:"❤"};function R(e,t){var n=4*e,r=t[n+0]||t[n+1]||t[n+2],i=t[n+3];return!(!r||!i)}var H=navigator.userAgent.match(/Chrom(?:e|ium)\/([0-9]+)\./),$=H&&H.length>0,q=H&&H[1]&&parseInt(H[1],10),B=16;function U(){var e=N.a.isLocalStorageAccessSafe(),t=void 0,n=void 0;e&&(t=window.localStorage.getItem("gl-emoji-version"),n=window.localStorage.getItem("gl-emoji-user-agent"));var r=void 0;try{r=JSON.parse(window.localStorage.getItem("gl-emoji-unicode-support-map"))}catch(e){}return r&&t===M&&n===navigator.userAgent||(r=function(e){var t=Object.keys(e),n=t.reduce(function(t,n){return t.concat(e[n])},[]).length,r=document.createElement("canvas");(window.gl||window).testEmojiUnicodeSupportMapCanvas=r;var i=r.getContext("2d");r.width=2*B,r.height=n*B,i.fillStyle="#000000",i.textBaseline="middle",i.font=B+'px "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"';var o=0;t.forEach(function(t){var n=e[t];[].concat(n).forEach(function(e){i.fillText(e,0,o*B+B/2),o+=1})});var a={},s=0;return t.forEach(function(t){var n=e[t],r=[].concat(n).reduce(function(e){for(var t=i.getImageData(0,s*B+B/2,2*B,1).data,n=!1,r=0;r<64;r+=1){var o=r>=B+B/2;if(r<B&&R(r,t))n=!0;else if(o&&R(r,t)){n=!1;break}}return s+=1,e&&n},!0);a[t]=r}),a.meta={isChrome:$,chromeVersion:q},a}(F),e&&(window.localStorage.setItem("gl-emoji-version",M),window.localStorage.setItem("gl-emoji-user-agent",navigator.userAgent),window.localStorage.setItem("gl-emoji-unicode-support-map",JSON.stringify(r)))),r}var W=void 0;b()(window);n(628);var V=n(11);function K(e,t){return!(e.originalEvent&&e.originalEvent.repeat||e.repeat)&&e.keyCode===t}a()(document).on("keydown.quick_submit",".js-quick-submit",function(e){if(K(e,13)){var t=e.metaKey&&!e.altKey&&!e.ctrlKey&&!e.shiftKey,n=e.ctrlKey&&!e.altKey&&!e.metaKey&&!e.shiftKey;if(t||n){e.preventDefault();var r=a()(e.target).closest("form").find("input[type=submit], button[type=submit]").first();r.prop("disabled")||(r.trigger("click",[e]),Object(V.s)()||r.disable())}}}),a()(document).on("keyup.quick_submit",".js-quick-submit input[type=submit], .js-quick-submit button[type=submit]",function(e){if(K(e,9)){var t=a()(this),n=navigator.userAgent.match(/Macintosh/)?"You can also press &#8984;-Enter":"You can also press Ctrl-Enter";t.tooltip({container:"body",html:"true",placement:"top",title:n,trigger:"manual"}),t.tooltip("show").one("blur click",function(){return t.tooltip("hide")})}});var G=n(3),z=n.n(G);function Q(e){var t=a()(".js-select-namespace option:selected");t.length&&"groups"===t.data("optionsParent")?e.find(".form-text.text-muted").hide():t.length&&e.find(".form-text.text-muted").show()}a.a.fn.requiresInput=function(){var e=a()(this),t=a()("button[type=submit], input[type=submit]",e),n="input[required=required], select[required=required], textarea[required=required]";function r(){var r=z.a.map(a()(n,e),function(e){return e.value});r.length&&z.a.any(r,z.a.isEmpty)?t.disable():t.enable()}r(),e.on("change input",n,r)},a()(function(){var e=a()("form.js-requires-input");e&&(e.requiresInput(),Q(e),a()(".select2.js-select-namespace").change(function(){return Q(e)}))});var Y=n(21);a()(function(){function e(e,t){var n=a()(e);n.find(".js-toggle-button .fa-chevron-up, .js-toggle-button .fa-chevron-down").toggleClass("fa-chevron-up",t).toggleClass("fa-chevron-down",void 0!==t?!t:void 0),n.find(".js-toggle-content").toggle(t)}a()("body").on("click",".js-toggle-button",function(t){t.currentTarget.classList.toggle(t.currentTarget.dataset.toggleOpenClass||"open"),e(a()(this).closest(".js-toggle-container"));var n=t.currentTarget.tagName.toLowerCase();"a"!==n&&"button"!==n||t.preventDefault()});var t=Object(Y.a)(),n=t&&document.getElementById(t),r=n&&a()(n).closest(".js-toggle-container");r&&(e(r,!0),n.scrollIntoView())});var X,J;n(157);(X=Object.create(HTMLElement.prototype)).createdCallback=function(){var e=this,t=this.textContent.trim(),r=this.dataset,i=r.name,o=r.unicodeVersion,a=r.fallbackSrc,s=r.fallbackSpriteClass,u=this.childNodes&&Array.prototype.every.call(this.childNodes,function(e){return 3===e.nodeType}),c=a&&a.length>0,l=s&&s.length>0;if(t&&u&&!function(e,t){return P(W=W||U(),e,t)}(t,o))if(l){if(!gon.emoji_sprites_css_added&&gon.emoji_sprites_css_path){var f=document.createElement("link");f.setAttribute("rel","stylesheet"),f.setAttribute("href",gon.emoji_sprites_css_path),document.head.appendChild(f),gon.emoji_sprites_css_added=!0}this.classList.add("emoji-icon"),this.classList.add(s)}else n.e(86).then(n.bind(null,292)).then(function(t){var n=t.emojiImageTag,r=t.emojiFallbackImageSrc;if(c)e.innerHTML=n(i,a);else{var o=r(i);e.innerHTML=n(i,o)}}).catch(function(){})},document.registerElement("gl-emoji",{prototype:X}),Object(h.b)(),(J=new p.a("[data-clipboard-target], [data-clipboard-text]")).on("success",m),J.on("error",g),a()(document).on("copy","body > textarea[readonly]",function(e){var t=e.originalEvent.clipboardData;if(t){var n=e.target.value,r=void 0;try{r=JSON.parse(n)}catch(e){return}r.text&&r.gfm&&(e.preventDefault(),t.setData("text/plain",r.text),t.setData("text/x-gfm",r.gfm))}})},880:function(e,t,n){"use strict";var r={};n.r(r),n.d(r,"setNamespace",function(){return S}),n.d(r,"setStorageKey",function(){return A}),n.d(r,"requestFrequentItems",function(){return O}),n.d(r,"receiveFrequentItemsSuccess",function(){return j}),n.d(r,"receiveFrequentItemsError",function(){return I}),n.d(r,"fetchFrequentItems",function(){return D}),n.d(r,"requestSearchedItems",function(){return L}),n.d(r,"receiveSearchedItemsSuccess",function(){return P}),n.d(r,"receiveSearchedItemsError",function(){return N}),n.d(r,"fetchSearchedItems",function(){return M}),n.d(r,"setSearchQuery",function(){return F}),n.d(r,"default",function(){return R});var i={};n.r(i),n.d(i,"hasSearchQuery",function(){return H}),n.d(i,"default",function(){return $});var o,a=n(0),s=n.n(a),u=n(8),c=n(72),l=new u.default,f=n(14),h=n(27),d=n(76),p=n(33),v=n(3),m=n.n(v),g=n(91),y=n(1),b=20,w=5,E=3,_=3,C={projects:"frequent-projects",groups:"frequent-groups"},T={projects:{loadingMessage:Object(y.e)("ProjectsDropdown|Loading projects"),header:Object(y.e)("ProjectsDropdown|Frequently visited"),itemListErrorMessage:Object(y.e)("ProjectsDropdown|This feature requires browser localStorage support"),itemListEmptyMessage:Object(y.e)("ProjectsDropdown|Projects you visit often will appear here"),searchListErrorMessage:Object(y.e)("ProjectsDropdown|Something went wrong on our end."),searchListEmptyMessage:Object(y.e)("ProjectsDropdown|Sorry, no projects matched your search"),searchInputPlaceholder:Object(y.e)("ProjectsDropdown|Search your projects")},groups:{loadingMessage:Object(y.e)("GroupsDropdown|Loading groups"),header:Object(y.e)("GroupsDropdown|Frequently visited"),itemListErrorMessage:Object(y.e)("GroupsDropdown|This feature requires browser localStorage support"),itemListEmptyMessage:Object(y.e)("GroupsDropdown|Groups you visit often will appear here"),searchListErrorMessage:Object(y.e)("GroupsDropdown|Something went wrong on our end."),searchListEmptyMessage:Object(y.e)("GroupsDropdown|Sorry, no groups matched your search"),searchInputPlaceholder:Object(y.e)("GroupsDropdown|Search your groups")}},x=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},k=function(){var e=g.a.getBreakpointSize();return"sm"===e||"xs"===e},S=function(e,t){(0,e.commit)("SET_NAMESPACE",t)},A=function(e,t){(0,e.commit)("SET_STORAGE_KEY",t)},O=function(e){(0,e.commit)("REQUEST_FREQUENT_ITEMS")},j=function(e,t){(0,e.commit)("RECEIVE_FREQUENT_ITEMS_SUCCESS",t)},I=function(e){(0,e.commit)("RECEIVE_FREQUENT_ITEMS_ERROR")},D=function(e){var t=e.state,n=e.dispatch;if(n("requestFrequentItems"),d.a.isLocalStorageAccessSafe()){var r=JSON.parse(localStorage.getItem(t.storageKey));n("receiveFrequentItemsSuccess",r?function(e){if(!e)return[];var t=k()?E:w,n=e.filter(function(e){return e.frequency>=_});return n&&0!==n.length?(n.sort(function(e,t){return e.frequency!==t.frequency?t.frequency-e.frequency:e.lastAccessedOn!==t.lastAccessedOn?t.lastAccessedOn-e.lastAccessedOn:0}),m.a.first(n,t)):[]}(r):[])}else n("receiveFrequentItemsError")},L=function(e){(0,e.commit)("REQUEST_SEARCHED_ITEMS")},P=function(e,t){(0,e.commit)("RECEIVE_SEARCHED_ITEMS_SUCCESS",t)},N=function(e){(0,e.commit)("RECEIVE_SEARCHED_ITEMS_ERROR")},M=function(e,t){var n=e.state,r=e.dispatch;r("requestSearchedItems");var i={simple:!0,per_page:20,membership:!!gon.current_user_id};return"projects"===n.namespace&&(i.order_by="last_activity_at"),p.a[n.namespace](t,i).then(function(e){r("receiveSearchedItemsSuccess",e)}).catch(function(){r("receiveSearchedItemsError")})},F=function(e,t){var n=e.commit,r=e.dispatch;n("SET_SEARCH_QUERY",t),t?r("fetchSearchedItems",t):r("fetchFrequentItems")},R=function(){},H=function(e){return""!==e.searchQuery},$=function(){};function q(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var B=(q(o={},"SET_NAMESPACE",function(e,t){Object.assign(e,{namespace:t})}),q(o,"SET_STORAGE_KEY",function(e,t){Object.assign(e,{storageKey:t})}),q(o,"SET_SEARCH_QUERY",function(e,t){var n=""!==t;Object.assign(e,{searchQuery:t,isLoadingItems:!0,hasSearchQuery:n})}),q(o,"REQUEST_FREQUENT_ITEMS",function(e){Object.assign(e,{isLoadingItems:!0,hasSearchQuery:!1})}),q(o,"RECEIVE_FREQUENT_ITEMS_SUCCESS",function(e,t){Object.assign(e,{items:t,isLoadingItems:!1,hasSearchQuery:!1,isFetchFailed:!1})}),q(o,"RECEIVE_FREQUENT_ITEMS_ERROR",function(e){Object.assign(e,{isLoadingItems:!1,hasSearchQuery:!1,isFetchFailed:!0})}),q(o,"REQUEST_SEARCHED_ITEMS",function(e){Object.assign(e,{isLoadingItems:!0,hasSearchQuery:!0})}),q(o,"RECEIVE_SEARCHED_ITEMS_SUCCESS",function(e,t){Object.assign(e,{items:t.map(function(e){return{id:e.id,name:e.name,namespace:e.name_with_namespace||e.full_name,webUrl:e.web_url,avatarUrl:e.avatar_url}}),isLoadingItems:!1,hasSearchQuery:!0,isFetchFailed:!1})}),q(o,"RECEIVE_SEARCHED_ITEMS_ERROR",function(e){Object.assign(e,{isLoadingItems:!1,hasSearchQuery:!0,isFetchFailed:!0})}),o);u.default.use(f.a);var U=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};var W={props:{namespace:{type:String,required:!0}},methods:{getTranslations:function(e){var t=this;return e.reduce(function(e,n){return U({},e,function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}({},n,T[t.namespace][n]))},{})}}},V=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},K={mixins:[W],data:function(){return{searchQuery:""}},computed:{translations:function(){return this.getTranslations(["searchInputPlaceholder"])}},watch:{searchQuery:m.a.debounce(function(){this.setSearchQuery(this.searchQuery)},500)},mounted:function(){l.$on(this.namespace+"-dropdownOpen",this.setFocus)},beforeDestroy:function(){l.$off(this.namespace+"-dropdownOpen",this.setFocus)},methods:V({},Object(f.b)(["setSearchQuery"]),{setFocus:function(){this.$refs.search.focus()}})},G=n(2),z=Object(G.a)(K,function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"search-input-container d-none d-sm-block"},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.searchQuery,expression:"searchQuery"}],ref:"search",staticClass:"form-control",attrs:{placeholder:e.translations.searchInputPlaceholder,type:"search"},domProps:{value:e.searchQuery},on:{input:function(t){t.target.composing||(e.searchQuery=t.target.value)}}}),e._v(" "),e.searchQuery?e._e():n("i",{staticClass:"search-icon fa fa-fw fa-search",attrs:{"aria-hidden":"true"}})])},[],!1,null,null,null).exports,Q={components:{Identicon:n(397).a},props:{matcher:{type:String,required:!1},itemId:{type:Number,required:!0},itemName:{type:String,required:!0},namespace:{type:String,required:!1},webUrl:{type:String,required:!0},avatarUrl:{required:!0,validator:function(e){return null===e||"string"==typeof e}}},computed:{hasAvatar:function(){return null!==this.avatarUrl},highlightedItemName:function(){if(this.matcher){var e=new RegExp(this.matcher,"gi"),t=this.itemName.match(e);if(t&&t.length>0)return this.itemName.replace(t[0],"<b>"+t[0]+"</b>")}return this.itemName},truncatedNamespace:function(){if(!this.namespace)return null;var e=this.namespace.split(" / ");e.splice(-1,1);var t=e.join(" / ");return e.length>2&&(t=e[0]+" / ... / "+e.pop()),t}}},Y={components:{FrequentItemsListItem:Object(G.a)(Q,function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("li",{staticClass:"frequent-items-list-item-container"},[n("a",{staticClass:"clearfix",attrs:{href:e.webUrl}},[n("div",{staticClass:"frequent-items-item-avatar-container"},[e.hasAvatar?n("img",{staticClass:"avatar s32",attrs:{src:e.avatarUrl}}):n("identicon",{attrs:{"entity-id":e.itemId,"entity-name":e.itemName,"size-class":"s32"}})],1),e._v(" "),n("div",{staticClass:"frequent-items-item-metadata-container"},[n("div",{staticClass:"frequent-items-item-title",attrs:{title:e.itemName},domProps:{innerHTML:e._s(e.highlightedItemName)}}),e._v(" "),e.truncatedNamespace?n("div",{staticClass:"frequent-items-item-namespace",attrs:{title:e.namespace}},[e._v("\n        "+e._s(e.truncatedNamespace)+"\n      ")]):e._e()])])])},[],!1,null,null,null).exports},mixins:[W],props:{items:{type:Array,required:!0},hasSearchQuery:{type:Boolean,required:!0},isFetchFailed:{type:Boolean,required:!0},matcher:{type:String,required:!0}},computed:{translations:function(){return this.getTranslations(["itemListEmptyMessage","itemListErrorMessage","searchListEmptyMessage","searchListErrorMessage"])},isListEmpty:function(){return 0===this.items.length},listEmptyMessage:function(){return this.hasSearchQuery?this.isFetchFailed?this.translations.searchListErrorMessage:this.translations.searchListEmptyMessage:this.isFetchFailed?this.translations.itemListErrorMessage:this.translations.itemListEmptyMessage}}},X=Object(G.a)(Y,function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"frequent-items-list-container"},[n("ul",{staticClass:"list-unstyled"},[e.isListEmpty?n("li",{staticClass:"section-empty",class:{"section-failure":e.isFetchFailed}},[e._v("\n      "+e._s(e.listEmptyMessage)+"\n    ")]):e._l(e.items,function(t){return n("frequent-items-list-item",{key:t.id,attrs:{"item-id":t.id,"item-name":t.name,namespace:t.namespace,"web-url":t.webUrl,"avatar-url":t.avatarUrl,matcher:e.matcher}})})],2)])},[],!1,null,null,null).exports,J=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Z={store:function(){return new f.a.Store({actions:r,getters:i,mutations:B,state:{namespace:"",storageKey:"",searchQuery:"",isLoadingItems:!1,isFetchFailed:!1,items:[]}})},components:{LoadingIcon:h.a,FrequentItemsSearchInput:z,FrequentItemsList:X},mixins:[W],props:{currentUserName:{type:String,required:!0},currentItem:{type:Object,required:!0}},computed:J({},Object(f.d)(["searchQuery","isLoadingItems","isFetchFailed","items"]),Object(f.c)(["hasSearchQuery"]),{translations:function(){return this.getTranslations(["loadingMessage","header"])}}),created:function(){var e=this.namespace,t=this.currentUserName,n=this.currentItem,r=t+"/"+C[e];this.setNamespace(e),this.setStorageKey(r),n.id&&this.logItemAccess(r,n),l.$on(this.namespace+"-dropdownOpen",this.dropdownOpenHandler)},beforeDestroy:function(){l.$off(this.namespace+"-dropdownOpen",this.dropdownOpenHandler)},methods:J({},Object(f.b)(["setNamespace","setStorageKey","fetchFrequentItems"]),{dropdownOpenHandler:function(){(""===this.searchQuery||k())&&this.fetchFrequentItems()},logItemAccess:function(e,t){if(!d.a.isLocalStorageAccessSafe())return!1;var n=localStorage.getItem(e),r=n?JSON.parse(n):[J({},t,{frequency:1})],i=r.findIndex(function(e){return e.id===t.id});return i>-1?r[i]=function(e,t){var n=Math.abs(t.lastAccessedOn-e.lastAccessedOn)/36e5>1;return x({},t,{frequency:n?e.frequency+1:e.frequency,lastAccessedOn:n?Date.now():e.lastAccessedOn})}(r[i],t):(r.length===b&&r.shift(),r.push(J({},t,{frequency:1}))),localStorage.setItem(e,JSON.stringify(r))}})},ee=Object(G.a)(Z,function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[n("frequent-items-search-input",{attrs:{namespace:e.namespace}}),e._v(" "),e.isLoadingItems?n("loading-icon",{staticClass:"loading-animation prepend-top-20",attrs:{label:e.translations.loadingMessage,size:"2"}}):e._e(),e._v(" "),e.isLoadingItems||e.hasSearchQuery?e._e():n("div",{staticClass:"section-header"},[e._v("\n    "+e._s(e.translations.header)+"\n  ")]),e._v(" "),e.isLoadingItems?e._e():n("frequent-items-list",{attrs:{items:e.items,namespace:e.namespace,"has-search-query":e.hasSearchQuery,"is-fetch-failed":e.isFetchFailed,matcher:e.searchQuery}})],1)},[],!1,null,null,null).exports;u.default.use(c.a);var te=[{namespace:"projects",key:"project"},{namespace:"groups",key:"group"}];document.addEventListener("DOMContentLoaded",function(){te.forEach(function(e){var t=e.namespace,n=e.key,r=document.getElementById("js-"+t+"-dropdown"),i=document.getElementById("nav-"+t+"-dropdown");r&&i&&(s()(i).on("shown.bs.dropdown",function(){l.$emit(t+"-dropdownOpen")}),new u.default({el:r,components:{frequentItems:ee},data:function(){var e=this.$options.el.dataset,t={id:Number(e[n+"Id"]),name:e[n+"Name"],namespace:e[n+"Namespace"],webUrl:e[n+"WebUrl"],avatarUrl:e[n+"AvatarUrl"]||null,lastAccessedOn:Date.now()};return{currentUserName:e.userName,currentItem:t}},render:function(e){return e("frequent-items",{props:{namespace:t,currentUserName:this.currentUserName,currentItem:this.currentItem}})}}))})})},91:function(e,t,n){"use strict";var r={lg:1200,md:992,sm:768,xs:0},i={windowWidth:function(){return window.innerWidth},getBreakpointSize:function(){var e=this.windowWidth();return Object.keys(r).find(function(t){return e>r[t]})}};t.a=i}}]);
  //# sourceMappingURL=main.63ee71c8.chunk.js.map