(this.webpackJsonp=this.webpackJsonp||[]).push([[65],[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,l=o.concat,c=o.push,f=o.indexOf,d={},h=d.toString,p=d.hasOwnProperty,m=p.toString,v=m.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?d[h.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 k(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:c,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,l=!1;for("boolean"==typeof a&&(l=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])&&(l&&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(l,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]"!==h.call(e))&&(!(t=s(e))||"function"==typeof(n=p.call(t,"constructor")&&t.constructor)&&m.call(n)===v)},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(k(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&&(k(Object(e))?C.merge(n,"string"==typeof e?[e]:e):c.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(k(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 l.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){d["[object "+t+"]"]=t.toLowerCase()});var x=
/*!
 * 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,l,c,f,d,h,p,m,v,g,y,b,w="sizzle"+1*new Date,E=e.document,_=0,C=0,T=ae(),k=ae(),x=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+"*\\]",q=":("+F+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+R+")*)|.*)\\)|)",H=new RegExp(M+"+","g"),$=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(q),K=new RegExp("^"+F+"$"),z={ID:new RegExp("^#("+F+")"),CLASS:new RegExp("^\\.("+F+")"),TAG:new RegExp("^("+F+"|[*])"),ATTR:new RegExp("^"+R),PSEUDO:new RegExp("^"+q),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")},G=/^(?: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(){d()},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,l,c,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)!==h&&d(t),t=t||h,m)){if(11!==_&&(f=X.exec(e)))if(o=f[1]){if(9===_){if(!(l=t.getElementById(o)))return r;if(l.id===o)return r.push(l),r}else if(y&&(l=y.getElementById(o))&&b(t,l)&&l.id===o)return r.push(l),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&&!x[e+" "]&&(!v||!v.test(e))){if(1!==_)y=t,g=e;else if("object"!==t.nodeName.toLowerCase()){for((c=t.getAttribute("id"))?c=c.replace(te,ne):t.setAttribute("id",c=w),s=(p=a(e)).length;s--;)p[s]="#"+c+" "+ge(p[s]);g=p.join(","),y=J.test(e)&&me(t.parentNode)||t}if(g)try{return D.apply(r,y.querySelectorAll(g)),r}catch(e){}finally{c===w&&t.removeAttribute("id")}}}return u(e.replace($,"$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=h.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function le(e,t){for(var n=e.split("|"),i=n.length;i--;)r.attrHandle[n[i]]=t}function ce(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 de(e){return function(t){var n=t.nodeName.toLowerCase();return("input"===n||"button"===n)&&t.type===e}}function he(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 me(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},d=oe.setDocument=function(e){var t,i,a=e?e.ownerDocument||e:E;return a!==h&&9===a.nodeType&&a.documentElement?(p=(h=a).documentElement,m=!o(h),E!==h&&(i=h.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(h.createComment("")),!e.getElementsByTagName("*").length}),n.getElementsByClassName=Y.test(h.getElementsByClassName),n.getById=ue(function(e){return p.appendChild(e).id=w,!h.getElementsByName||!h.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&&m){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&&m){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&&m)return t.getElementsByClassName(e)},g=[],v=[],(n.qsa=Y.test(h.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&&v.push("[*^$]="+M+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||v.push("\\["+M+"*(?:value|"+N+")"),e.querySelectorAll("[id~="+w+"-]").length||v.push("~="),e.querySelectorAll(":checked").length||v.push(":checked"),e.querySelectorAll("a#"+w+"+*").length||v.push(".#.+[+~]")}),ue(function(e){e.innerHTML="<a href='' disabled='disabled'></a><select disabled='disabled'><option/></select>";var t=h.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&v.push("name"+M+"*[*^$|!~]?="),2!==e.querySelectorAll(":enabled").length&&v.push(":enabled",":disabled"),p.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&v.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),v.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("!=",q)}),v=v.length&&new RegExp(v.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===h||e.ownerDocument===E&&b(E,e)?-1:t===h||t.ownerDocument===E&&b(E,t)?1:c?P(c,e)-P(c,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===h?-1:t===h?1:i?-1:o?1:c?P(c,e)-P(c,t):0;if(i===o)return ce(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?ce(a[r],s[r]):a[r]===E?-1:s[r]===E?1:0},h):h},oe.matches=function(e,t){return oe(e,null,null,t)},oe.matchesSelector=function(e,t){if((e.ownerDocument||e)!==h&&d(e),t=t.replace(W,"='$1']"),n.matchesSelector&&m&&!x[t+" "]&&(!g||!g.test(t))&&(!v||!v.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,h,null,[e]).length>0},oe.contains=function(e,t){return(e.ownerDocument||e)!==h&&d(e),b(e,t)},oe.attr=function(e,t){(e.ownerDocument||e)!==h&&d(e);var i=r.attrHandle[t.toLowerCase()],o=i&&A.call(r.attrHandle,t.toLowerCase())?i(e,t,!m):void 0;return void 0!==o?o:n.attributes||!m?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,c=!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 c=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:z,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 z.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(H," ")+" ").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 l,c,f,d,h,p,m=o!==a?"nextSibling":"previousSibling",v=t.parentNode,g=s&&t.nodeName.toLowerCase(),y=!u&&!s,b=!1;if(v){if(o){for(;m;){for(d=t;d=d[m];)if(s?d.nodeName.toLowerCase()===g:1===d.nodeType)return!1;p=m="only"===e&&!p&&"nextSibling"}return!0}if(p=[a?v.firstChild:v.lastChild],a&&y){for(b=(h=(l=(c=(f=(d=v)[w]||(d[w]={}))[d.uniqueID]||(f[d.uniqueID]={}))[e]||[])[0]===_&&l[1])&&l[2],d=h&&v.childNodes[h];d=++h&&d&&d[m]||(b=h=0)||p.pop();)if(1===d.nodeType&&++b&&d===t){c[e]=[_,h,b];break}}else if(y&&(b=h=(l=(c=(f=(d=t)[w]||(d[w]={}))[d.uniqueID]||(f[d.uniqueID]={}))[e]||[])[0]===_&&l[1]),!1===b)for(;(d=++h&&d&&d[m]||(b=h=0)||p.pop())&&((s?d.nodeName.toLowerCase()!==g:1!==d.nodeType)||!++b||(y&&((c=(f=d[w]||(d[w]={}))[d.uniqueID]||(f[d.uniqueID]={}))[e]=[_,b]),d!==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($,"$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=m?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===h.activeElement&&(!h.hasFocus||h.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:he(!1),disabled:he(!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 G.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]=de(t);function ve(){}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 l,c,f,d=[_,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(c=(f=t[w]||(t[w]={}))[t.uniqueID]||(f[t.uniqueID]={}),i&&i===t.nodeName.toLowerCase())t=t[r]||t;else{if((l=c[o])&&l[0]===_&&l[1]===s)return d[2]=l[2];if(c[o]=d,d[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,l=null!=t;s<u;s++)(o=e[s])&&(n&&!n(o,r,i)||(a.push(o),l&&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 l,c,f,d=[],h=[],p=a.length,m=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,[]),v=!e||!o&&t?m:we(m,d,e,s,u),g=n?i||(o?e:p||r)?[]:a:v;if(n&&n(v,g,s,u),r)for(l=we(g,h),r(l,[],s,u),c=l.length;c--;)(f=l[c])&&(g[h[c]]=!(v[h[c]]=f));if(o){if(i||e){if(i){for(l=[],c=g.length;c--;)(f=g[c])&&l.push(v[c]=f);i(null,g=[],l,u)}for(c=g.length;c--;)(f=g[c])&&(l=i?P(o,f):d[c])>-1&&(o[l]=!(a[l]=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,c=ye(function(e){return e===t},s,!0),f=ye(function(e){return P(t,e)>-1},s,!0),d=[function(e,n,r){var i=!a&&(r||n!==l)||((t=n).nodeType?c(e,n,r):f(e,n,r));return t=null,i}];u<o;u++)if(n=r.relative[e[u].type])d=[ye(be(d),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(d),u>1&&ge(e.slice(0,u-1).concat({value:" "===e[u-2].type?"*":""})).replace($,"$1"),n,u<i&&_e(e.slice(u,i)),i<o&&_e(e=e.slice(i)),i<o&&ge(e))}d.push(n)}return be(d)}return ve.prototype=r.filters=r.pseudos,r.setFilters=new ve,a=oe.tokenize=function(e,t){var n,i,o,a,s,u,l,c=k[e+" "];if(c)return t?0:c.slice(0);for(s=e,u=[],l=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($," ")}),s=s.slice(n.length)),r.filter)!(i=z[a].exec(s))||l[a]&&!(i=l[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):k(e,u).slice(0)},s=oe.compile=function(e,t){var n,i=[],o=[],s=x[e+" "];if(!s){for(t||(t=a(e)),n=t.length;n--;)(s=_e(t[n]))[w]?i.push(s):o.push(s);(s=x(e,function(e,t){var n=t.length>0,i=e.length>0,o=function(o,a,s,u,c){var f,p,v,g=0,y="0",b=o&&[],w=[],E=l,C=o||i&&r.find.TAG("*",c),T=_+=null==E?1:Math.random()||.1,k=C.length;for(c&&(l=a===h||a||c);y!==k&&null!=(f=C[y]);y++){if(i&&f){for(p=0,a||f.ownerDocument===h||(d(f),s=!m);v=e[p++];)if(v(f,a||h,s)){u.push(f);break}c&&(_=T)}n&&((f=!v&&f)&&g--,o&&b.push(f))}if(g+=y,n&&y!==g){for(p=0;v=t[p++];)v(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),c&&!o&&w.length>0&&g+t.length>1&&oe.uniqueSort(u)}return c&&(_=T,l=E),b};return n?se(o):o}(o,i))).selector=e}return s},u=oe.select=function(e,t,n,i){var o,u,l,c,f,d="function"==typeof e&&e,h=!i&&a(e=d.selector||e);if(n=n||[],1===h.length){if((u=h[0]=h[0].slice(0)).length>2&&"ID"===(l=u[0]).type&&9===t.nodeType&&m&&r.relative[u[1].type]){if(!(t=(r.find.ID(l.matches[0].replace(Z,ee),t)||[])[0]))return n;d&&(t=t.parentNode),e=e.slice(u.shift().value.length)}for(o=z.needsContext.test(e)?0:u.length;o--&&(l=u[o],!r.relative[c=l.type]);)if((f=r.find[c])&&(i=f(l.matches[0].replace(Z,ee),J.test(u[0].type)&&me(t.parentNode)||t))){if(u.splice(o,1),!(e=i.length&&ge(u)))return D.apply(n,i),n;break}}return(d||s(e,h))(i,t,!m,n,!t||J.test(e)&&me(t.parentNode)||t),n},n.sortStable=w.split("").sort(S).join("")===w,n.detectDuplicates=!!f,d(),n.sortDetached=ue(function(e){return 1&e.compareDocumentPosition(h.createElement("fieldset"))}),ue(function(e){return e.innerHTML="<a href='#'></a>","#"===e.firstChild.getAttribute("href")})||le("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")})||le("value",function(e,t,n){if(!n&&"input"===e.nodeName.toLowerCase())return e.defaultValue}),ue(function(e){return null==e.getAttribute("disabled")})||le(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=x,C.expr=x.selectors,C.expr[":"]=C.expr.pseudos,C.uniqueSort=C.unique=x.uniqueSort,C.text=x.getText,C.isXMLDoc=x.isXML,C.contains=x.contains,C.escapeSelector=x.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 q(e){return e}function H(e){throw e}function $(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?[]:"")},l={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&&l.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 l.fireWith(this,arguments),this},fired:function(){return!!r}};return l},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,l=function(){var n,l;if(!(e<o)){if((n=r.apply(s,u))===t.promise())throw new TypeError("Thenable self-resolution");l=n&&("object"==typeof n||"function"==typeof n)&&n.then,y(l)?i?l.call(n,a(o,t,q,i),a(o,t,H,i)):(o++,l.call(n,a(o,t,q,i),a(o,t,H,i),a(o,t,q,t.notifyWith))):(r!==q&&(s=void 0,u=[n]),(i||t.resolveWith)(s,u))}},c=i?l:function(){try{l()}catch(n){C.Deferred.exceptionHook&&C.Deferred.exceptionHook(n,c.stackTrace),e+1>=o&&(r!==H&&(s=void 0,u=[n]),t.rejectWith(s,u))}};e?c():(C.Deferred.getStackHook&&(c.stackTrace=C.Deferred.getStackHook()),n.setTimeout(c))}}return C.Deferred(function(n){t[0][3].add(a(0,n,y(i)?i:q,n.notifyWith)),t[1][3].add(a(0,n,y(e)?e:q)),t[2][3].add(a(0,n,y(r)?r:H))}).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&&($(e,o.done(a(n)).resolve,o.reject,!t),"pending"===o.state()||y(i[n]&&i[n].then)))return o.then();for(;n--;)$(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,l=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),l&&(a?(t.call(e,r),t=null):(l=t,t=function(e,t,n){return l.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:l?t.call(e):u?t(e[0],n):o},K=/^-ms-/,z=/-([a-z])/g;function G(e,t){return t.toUpperCase()}function Q(e){return e.replace(K,"ms-").replace(z,G)}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(),l=n&&n[3]||(C.cssNumber[t]?"":"px"),c=(C.cssNumber[t]||"px"!==l&&+u)&&ie.exec(C.css(e,t));if(c&&c[3]!==l){for(u/=2,l=l||c[3],c=+u||1;a--;)C.style(e,t,c+l),(1-o)*(1-(o=s()/u||.5))<=0&&(a=0),c/=o;c*=2,C.style(e,t,c+l),n=n||[]}return n&&(c=+c||+u||0,i=n[1]?c+(n[1]+1)*n[2]:+n[2],r&&(r.unit=l,r.start=c,r.end=i)),i}var le={};function ce(e){var t,n=e.ownerDocument,r=e.nodeName,i=le[r];return i||(t=n.body.appendChild(n.createElement(r)),i=C.css(t,"display"),t.parentNode.removeChild(t),"none"===i&&(i="block"),le[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]=ce(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 de=/^(?:checkbox|radio)$/i,he=/<([a-z][^\/\0>\x20\t\r\n\f]+)/i,pe=/^$|^module$|\/(?:java|ecma)script/i,me={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 ve(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"))}me.optgroup=me.option,me.tbody=me.tfoot=me.colgroup=me.caption=me.thead,me.th=me.td;var ye,be,we=/<|&#?\w+;/;function Ee(e,t,n,r,i){for(var o,a,s,u,l,c,f=t.createDocumentFragment(),d=[],h=0,p=e.length;h<p;h++)if((o=e[h])||0===o)if("object"===_(o))C.merge(d,o.nodeType?[o]:o);else if(we.test(o)){for(a=a||f.appendChild(t.createElement("div")),s=(he.exec(o)||["",""])[1].toLowerCase(),u=me[s]||me._default,a.innerHTML=u[1]+C.htmlPrefilter(o)+u[2],c=u[0];c--;)a=a.lastChild;C.merge(d,a.childNodes),(a=f.firstChild).textContent=""}else d.push(t.createTextNode(o));for(f.textContent="",h=0;o=d[h++];)if(r&&C.inArray(o,r)>-1)i&&i.push(o);else if(l=C.contains(o.ownerDocument,o),a=ve(f.appendChild(o),"script"),l&&ge(a),n)for(c=0;o=a[c++];)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/,ke=/^([^.]*)(?:\.(.+)|)/;function xe(){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,l,c,f,d,h,p,m,v=J.get(e);if(v)for(n.handler&&(n=(o=n).handler,i=o.selector),i&&C.find.matchesSelector(_e,i),n.guid||(n.guid=C.guid++),(u=v.events)||(u=v.events={}),(a=v.handle)||(a=v.handle=function(t){return void 0!==C&&C.event.triggered!==t.type?C.event.dispatch.apply(e,arguments):void 0}),l=(t=(t||"").match(R)||[""]).length;l--;)h=m=(s=ke.exec(t[l])||[])[1],p=(s[2]||"").split(".").sort(),h&&(f=C.event.special[h]||{},h=(i?f.delegateType:f.bindType)||h,f=C.event.special[h]||{},c=C.extend({type:h,origType:m,data:r,handler:n,guid:n.guid,selector:i,needsContext:i&&C.expr.match.needsContext.test(i),namespace:p.join(".")},o),(d=u[h])||((d=u[h]=[]).delegateCount=0,f.setup&&!1!==f.setup.call(e,r,p,a)||e.addEventListener&&e.addEventListener(h,a)),f.add&&(f.add.call(e,c),c.handler.guid||(c.handler.guid=n.guid)),i?d.splice(d.delegateCount++,0,c):d.push(c),C.event.global[h]=!0)},remove:function(e,t,n,r,i){var o,a,s,u,l,c,f,d,h,p,m,v=J.hasData(e)&&J.get(e);if(v&&(u=v.events)){for(l=(t=(t||"").match(R)||[""]).length;l--;)if(h=m=(s=ke.exec(t[l])||[])[1],p=(s[2]||"").split(".").sort(),h){for(f=C.event.special[h]||{},d=u[h=(r?f.delegateType:f.bindType)||h]||[],s=s[2]&&new RegExp("(^|\\.)"+p.join("\\.(?:.*\\.|)")+"(\\.|$)"),a=o=d.length;o--;)c=d[o],!i&&m!==c.origType||n&&n.guid!==c.guid||s&&!s.test(c.namespace)||r&&r!==c.selector&&("**"!==r||!c.selector)||(d.splice(o,1),c.selector&&d.delegateCount--,f.remove&&f.remove.call(e,c));a&&!d.length&&(f.teardown&&!1!==f.teardown.call(e,p,v.handle)||C.removeEvent(e,h,v.handle),delete u[h])}else for(h in u)C.event.remove(e,h+t[l],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),l=(J.get(this,"events")||{})[s.type]||[],c=C.event.special[s.type]||{};for(u[0]=s,t=1;t<arguments.length;t++)u[t]=arguments[t];if(s.delegateTarget=this,!c.preDispatch||!1!==c.preDispatch.call(this,s)){for(a=C.event.handlers.call(this,s,l),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 c.postDispatch&&c.postDispatch.call(this,s),s.result}},handlers:function(e,t){var n,r,i,o,a,s=[],u=t.delegateCount,l=e.target;if(u&&l.nodeType&&!("click"===e.type&&e.button>=1))for(;l!==this;l=l.parentNode||this)if(1===l.nodeType&&("click"!==e.type||!0!==l.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(l)>-1:C.find(i,this,null,[l]).length),a[i]&&o.push(r);o.length&&s.push({elem:l,handlers:o})}return l=this,u<t.length&&s.push({elem:l,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?xe: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=xe,e&&!this.isSimulated&&e.preventDefault()},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=xe,e&&!this.isSimulated&&e.stopPropagation()},stopImmediatePropagation:function(){var e=this.originalEvent;this.isImmediatePropagationStopped=xe,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,l;if(1===t.nodeType){if(J.hasData(e)&&(o=J.access(e),a=J.set(t,o),l=o.events))for(i in delete a.handle,a.events={},l)for(n=0,r=l[i].length;n<r;n++)C.event.add(t,i,l[i][n]);Z.hasData(e)&&(s=Z.access(e),u=C.extend({},s),Z.set(t,u))}}function Re(e,t,n,r){t=l.apply([],t);var i,o,a,s,u,c,f=0,d=e.length,h=d-1,p=t[0],m=y(p);if(m||d>1&&"string"==typeof p&&!g.checkClone&&De.test(p))return e.each(function(i){var o=e.eq(i);m&&(t[0]=p.call(this,i,o.html())),Re(o,t,n,r)});if(d&&(o=(i=Ee(t,e[0].ownerDocument,!1,e,r)).firstChild,1===i.childNodes.length&&(i=o),o||r)){for(s=(a=C.map(ve(i,"script"),Ne)).length;f<d;f++)u=i,f!==h&&(u=C.clone(u,!0,!0),s&&C.merge(a,ve(u,"script"))),n.call(e[f],u,f);if(s)for(c=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(c,u)&&(u.src&&"module"!==(u.type||"").toLowerCase()?C._evalUrl&&C._evalUrl(u.src):E(u.textContent.replace(Le,""),c,u))}return e}function qe(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(ve(r)),r.parentNode&&(n&&C.contains(r.ownerDocument,r)&&ge(ve(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,l,c=e.cloneNode(!0),f=C.contains(e.ownerDocument,e);if(!(g.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||C.isXMLDoc(e)))for(a=ve(c),r=0,i=(o=ve(e)).length;r<i;r++)s=o[r],u=a[r],void 0,"input"===(l=u.nodeName.toLowerCase())&&de.test(s.type)?u.checked=s.checked:"input"!==l&&"textarea"!==l||(u.defaultValue=s.defaultValue);if(t)if(n)for(o=o||ve(e),a=a||ve(c),r=0,i=o.length;r<i;r++)Fe(o[r],a[r]);else Fe(e,c);return(a=ve(c,"script")).length>0&&ge(a,!f&&ve(e,"script")),c},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 qe(this,e,!0)},remove:function(e){return qe(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(ve(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)&&!me[(he.exec(e)||["",""])[1].toLowerCase()]){e=C.htmlPrefilter(e);try{for(;n<r;n++)1===(t=this[n]||{}).nodeType&&(C.cleanData(ve(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(ve(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),c.apply(r,n.get());return this.pushStack(r)}});var He=new RegExp("^("+re+")(?!px)[a-z%]+$","i"),$e=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||$e(e))&&(""!==(a=n.getPropertyValue(t)||n[t])||C.contains(e.ownerDocument,e)||(a=C.style(e,t)),!g.pixelBoxStyles()&&He.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(c){l.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0",c.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",_e.appendChild(l).appendChild(c);var e=n.getComputedStyle(c);r="1%"!==e.top,u=12===t(e.marginLeft),c.style.right="60%",s=36===t(e.right),i=36===t(e.width),c.style.position="absolute",o=36===c.offsetWidth||"absolute",_e.removeChild(l),c=null}}function t(e){return Math.round(parseFloat(e))}var r,i,o,s,u,l=a.createElement("div"),c=a.createElement("div");c.style&&(c.style.backgroundClip="content-box",c.cloneNode(!0).style.backgroundClip="",g.clearCloneStyle="content-box"===c.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=/^--/,ze={position:"absolute",visibility:"hidden",display:"block"},Ge={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=$e(e),i=Ue(e,t,r),o="border-box"===C.css(e,"boxSizing",!1,r),a=o;if(He.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),l=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:l[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")||(l[t]="inherit"),a&&"set"in a&&void 0===(n=a.set(e,n,r))||(u?l.setProperty(t,n):l[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 Ge&&(i=Ge[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,ze,function(){return et(e,t,r)})},set:function(e,n,r){var i,o=$e(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=$e(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 lt(e,t,n){for(var r,i=(ct.tweeners[t]||[]).concat(ct.tweeners["*"]),o=0,a=i.length;o<a;o++)if(r=i[o].call(n,t,e))return r}function ct(e,t,n){var r,i,o=0,a=ct.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,l.startTime+l.duration-t),r=1-(n/l.duration||0),o=0,a=l.tweens.length;o<a;o++)l.tweens[o].run(r);return s.notifyWith(e,[l,r,n]),r<1&&a?n:(a||s.notifyWith(e,[l,1,0]),s.resolveWith(e,[l]),!1)},l=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,l.opts,t,n,l.opts.specialEasing[t]||l.opts.easing);return l.tweens.push(r),r},stop:function(t){var n=0,r=t?l.tweens.length:0;if(i)return this;for(i=!0;n<r;n++)l.tweens[n].run(1);return t?(s.notifyWith(e,[l,1,0]),s.resolveWith(e,[l,t])):s.rejectWith(e,[l,t]),this}}),c=l.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}(c,l.opts.specialEasing);o<a;o++)if(r=ct.prefilters[o].call(l,e,c,l.opts))return y(r.stop)&&(C._queueHooks(l.elem,l.opts.queue).stop=r.stop.bind(r)),r;return C.map(c,lt,l),y(l.opts.start)&&l.opts.start.call(e,l),l.progress(l.opts.progress).done(l.opts.done,l.opts.complete).fail(l.opts.fail).always(l.opts.always),C.fx.timer(C.extend(u,{elem:e,anim:l,queue:l.opts.queue})),l}C.Animation=C.extend(ct,{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],ct.tweeners[n]=ct.tweeners[n]||[],ct.tweeners[n].unshift(t)},prefilters:[function(e,t,n){var r,i,o,a,s,u,l,c,f="width"in t||"height"in t,d=this,h={},p=e.style,m=e.nodeType&&ae(e),v=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++,d.always(function(){d.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===(m?"hide":"show")){if("show"!==i||!v||void 0===v[r])continue;m=!0}h[r]=v&&v[r]||C.style(e,r)}if((u=!C.isEmptyObject(t))||!C.isEmptyObject(h))for(r in f&&1===e.nodeType&&(n.overflow=[p.overflow,p.overflowX,p.overflowY],null==(l=v&&v.display)&&(l=J.get(e,"display")),"none"===(c=C.css(e,"display"))&&(l?c=l:(fe([e],!0),l=e.style.display||l,c=C.css(e,"display"),fe([e]))),("inline"===c||"inline-block"===c&&null!=l)&&"none"===C.css(e,"float")&&(u||(d.done(function(){p.display=l}),null==l&&(c=p.display,l="none"===c?"":c)),p.display="inline-block")),n.overflow&&(p.overflow="hidden",d.always(function(){p.overflow=n.overflow[0],p.overflowX=n.overflow[1],p.overflowY=n.overflow[2]})),u=!1,h)u||(v?"hidden"in v&&(m=v.hidden):v=J.access(e,"fxshow",{display:l}),o&&(v.hidden=!m),m&&fe([e],!0),d.done(function(){for(r in m||fe([e]),J.remove(e,"fxshow"),h)C.style(e,r,h[r])})),u=lt(m?v[r]:0,r,d),r in v||(v[r]=u.start,m&&(u.end=u.start,u.start=0))}],prefilter:function(e,t){t?ct.prefilters.unshift(e):ct.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=ct(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,dt=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=dt[t]||C.find.attr;dt[t]=function(e,t,r){var i,o,a=t.toLowerCase();return r||(o=dt[a],dt[a]=i,i=null!=n(e,t,r)?a:null,dt[a]=o),i}});var ht=/^(?:input|select|textarea|button)$/i,pt=/^(?:a|area)$/i;function mt(e){return(e.match(R)||[]).join(" ")}function vt(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):ht.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,vt(this)))});if((t=gt(e)).length)for(;n=this[u++];)if(i=vt(n),r=1===n.nodeType&&" "+mt(i)+" "){for(a=0;o=t[a++];)r.indexOf(" "+o+" ")<0&&(r+=o+" ");i!==(s=mt(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,vt(this)))});if(!arguments.length)return this.attr("class","");if((t=gt(e)).length)for(;n=this[u++];)if(i=vt(n),r=1===n.nodeType&&" "+mt(i)+" "){for(a=0;o=t[a++];)for(;r.indexOf(" "+o+" ")>-1;)r=r.replace(" "+o+" "," ");i!==(s=mt(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,vt(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=vt(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&&(" "+mt(vt(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:mt(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,l,c,f,d,h,m=[r||a],v=p.call(e,"type")?e.type:e,g=p.call(e,"namespace")?e.namespace.split("."):[];if(s=h=u=r=r||a,3!==r.nodeType&&8!==r.nodeType&&!bt.test(v+C.event.triggered)&&(v.indexOf(".")>-1&&(v=(g=v.split(".")).shift(),g.sort()),c=v.indexOf(":")<0&&"on"+v,(e=e[C.expando]?e:new C.Event(v,"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]),d=C.event.special[v]||{},i||!d.trigger||!1!==d.trigger.apply(r,t))){if(!i&&!d.noBubble&&!b(r)){for(l=d.delegateType||v,bt.test(l+v)||(s=s.parentNode);s;s=s.parentNode)m.push(s),u=s;u===(r.ownerDocument||a)&&m.push(u.defaultView||u.parentWindow||n)}for(o=0;(s=m[o++])&&!e.isPropagationStopped();)h=s,e.type=o>1?l:d.bindType||v,(f=(J.get(s,"events")||{})[e.type]&&J.get(s,"handle"))&&f.apply(s,t),(f=c&&s[c])&&f.apply&&Y(s)&&(e.result=f.apply(s,t),!1===e.result&&e.preventDefault());return e.type=v,i||e.isDefaultPrevented()||d._default&&!1!==d._default.apply(m.pop(),t)||!Y(r)||c&&y(r[v])&&!b(r)&&((u=r[c])&&(r[c]=null),C.event.triggered=v,e.isPropagationStopped()&&h.addEventListener(v,wt),r[v](),e.isPropagationStopped()&&h.removeEventListener(v,wt),C.event.triggered=void 0,u&&(r[c]=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=/\[\]$/,kt=/\r?\n/g,xt=/^(?: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)&&!xt.test(e)&&(this.checked||!de.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(kt,"\r\n")}}):{name:t.name,value:n.replace(kt,"\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 qt(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 Ht(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 l=s(t,n,r);return"string"!=typeof l||o||i[l]?o?!(u=l):void 0:(t.dataTypes.unshift(l),a(l),!1)}),u}return a(t.dataTypes[0])||!i["*"]&&a("*")}function $t(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?$t($t(e,C.ajaxSettings),t):$t(C.ajaxSettings,e)},ajaxPrefilter:qt(Nt),ajaxTransport:qt(Mt),ajax:function(e,t){"object"==typeof e&&(t=e,e=void 0),t=t||{};var r,i,o,s,u,l,c,f,d,h,p=C.ajaxSetup({},t),m=p.context||p,v=p.context&&(m.nodeType||m.jquery)?C(m):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(c){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 c?o:null},setRequestHeader:function(e,t){return null==c&&(e=E[e.toLowerCase()]=E[e.toLowerCase()]||e,w[e]=t),this},overrideMimeType:function(e){return null==c&&(p.mimeType=e),this},statusCode:function(e){var t;if(e)if(c)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),k(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){l=a.createElement("a");try{l.href=p.url,l.href=l.href,p.crossDomain=Rt.protocol+"//"+Rt.host!=l.protocol+"//"+l.host}catch(e){p.crossDomain=!0}}if(p.data&&p.processData&&"string"!=typeof p.data&&(p.data=C.param(p.data,p.traditional)),Ht(Nt,p,t,T),c)return T;for(d 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,"+")):(h=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"),h=(Ct.test(i)?"&":"?")+"_="+_t+++h),p.url=i+h),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(d,p.headers[d]);if(p.beforeSend&&(!1===p.beforeSend.call(m,T,p)||c))return T.abort();if(_="abort",y.add(p.complete),T.done(p.success),T.fail(p.error),r=Ht(Mt,p,t,T)){if(T.readyState=1,f&&v.trigger("ajaxSend",[T,p]),c)return T;p.async&&p.timeout>0&&(u=n.setTimeout(function(){T.abort("timeout")},p.timeout));try{c=!1,r.send(w,k)}catch(e){if(c)throw e;k(-1,e)}}else k(-1,"No Transport");function k(e,t,a,s){var l,d,h,w,E,_=t;c||(c=!0,u&&n.clearTimeout(u),r=void 0,o=s||"",T.readyState=e>0?4:0,l=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,l={},c=e.dataTypes.slice();if(c[1])for(a in e.converters)l[a.toLowerCase()]=e.converters[a];for(o=c.shift();o;)if(e.responseFields[o]&&(n[e.responseFields[o]]=t),!u&&r&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),u=o,o=c.shift())if("*"===o)o=u;else if("*"!==u&&u!==o){if(!(a=l[u+" "+o]||l["* "+o]))for(i in l)if((s=i.split(" "))[1]===o&&(a=l[u+" "+s[0]]||l["* "+s[0]])){!0===a?a=l[i]:!0!==l[i]&&(o=s[0],c.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,l),l?(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,d=w.data,l=!(h=w.error))):(h=_,!e&&_||(_="error",e<0&&(e=0))),T.status=e,T.statusText=(t||_)+"",l?g.resolveWith(m,[d,_,T]):g.rejectWith(m,[T,_,h]),T.statusCode(b),b=void 0,f&&v.trigger(l?"ajaxSuccess":"ajaxError",[T,p,l?d:h]),y.fireWith(m,[T,_]),f&&(v.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=mt(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,l=C.css(e,"position"),c=C(e),f={};"static"===l&&(e.style.position="relative"),s=c.offset(),o=C.css(e,"top"),u=C.css(e,"left"),("absolute"===l||"fixed"===l)&&(o+u).indexOf("auto")>-1?(a=(r=c.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):c.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),He.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 zt=n.jQuery,Gt=n.$;return C.noConflict=function(e){return n.$===C&&(n.$=Gt),e&&n.jQuery===C&&(n.jQuery=zt),C},i||(n.jQuery=n.$=C),C})},function(e,t,n){"use strict";var r=n(650),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 c}),n.d(t,"d",function(){return f}),n.d(t,"e",function(){return d}),n.d(t,"b",function(){return h}),n.d(t,"f",function(){return s});var u=function(){return document.querySelector("html").getAttribute("lang")||"en"},l=new i.a(window.translations||{});delete window.translations;var c=l.gettext.bind(l),f=function(e,t,n){var r=l.ngettext(e,t,n).replace(/%d/g,n).split("|");return r[r.length-1]},d=function(e,t){var n=c(t?e+"|"+t:e).split("|");return n[n.length-1]},h=function(e){return Intl.DateTimeFormat(u(),e)}},function(e,t,n){"use strict";function r(e,t,n,r,i,o,a,s){var u,l="function"==typeof e?e.options:e;if(t&&(l.render=t,l.staticRenderFns=n,l._compiled=!0),r&&(l.functional=!0),o&&(l._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)},l._ssrRegister=u):i&&(u=s?function(){i.call(this,this.$root.$options.shadowRoot)}:i),u)if(l.functional){l._injectStyles=u;var c=l.render;l.render=function(e,t){return u.call(t),c(e,t)}}else{var f=l.beforeCreate;l.beforeCreate=f?[].concat(f,u):[u]}return{exports:e,options:l}}n.d(t,"a",function(){return r})},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,l=a.push,c=a.slice,f=s.toString,d=s.hasOwnProperty,h=Array.isArray,p=Object.keys,m=Object.create,v=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(m)return m(e);v.prototype=e;var t=new v;return v.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},k=Math.pow(2,53)-1,x=C("length"),S=function(e){var t=x(e);return"number"==typeof t&&t>=0&&t<=k};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=x(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)?c.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 c.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 c.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=x(e);o<a;o++){var s=e[o];if(S(s)&&(g.isArray(s)||g.isArguments(s)))if(t)for(var u=0,l=s.length;u<l;)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=x(e);a<s;a++){var u=e[a],l=n?n(u,a,e):u;t&&!n?(a&&o===l||i.push(u),o=l):n?g.contains(o,l)||(o.push(l),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=x(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,x).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=x(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=x(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=x(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=x(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(c.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(c.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)},l=function(){var l=g.now();s||!1!==n.leading||(s=l);var c=t-(l-s);return i=this,o=arguments,c<=0||c>t?(r&&(clearTimeout(r),r=null),s=l,a=e.apply(i,o),r||(i=o=null)):r||!1===n.trailing||(r=setTimeout(u,c)),a};return l.cancel=function(){clearTimeout(r),s=0,r=i=o=null},l},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 l=a[u];t&&void 0!==n[l]||(n[l]=o[l])}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 q,H,$=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=$,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},q=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)&&H(e,t,n,r)},H=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 l=n.length;l--;)if(n[l]===e)return r[l]===t;if(n.push(e),r.push(t),o){if((l=e.length)!==t.length)return!1;for(;l--;)if(!q(e[l],t[l],n,r))return!1}else{var c,d=g.keys(e);if(l=d.length,g.keys(t).length!==l)return!1;for(;l--;)if(c=d[l],!g.has(t,c)||!q(e[c],t[c],n,r))return!1}return n.pop(),r.pop(),!0},g.isEqual=function(e,t){return q(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=h||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&&d.call(e,t);for(var n=t.length,r=0;r<n;r++){var i=t[r];if(null==e||!d.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 z=/(.)^/,G={"'":"'","\\":"\\","\r":"r","\n":"n","\u2028":"u2028","\u2029":"u2029"},Q=/\\|'|\r|\n|\u2028|\u2029/g,Y=function(e){return"\\"+G[e]};g.template=function(e,t,n){!t&&n&&(t=n),t=g.defaults({},t,g.templateSettings);var r,i=RegExp([(t.escape||z).source,(t.interpolate||z).source,(t.evaluate||z).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 l.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(254),n(597)(e))},,function(e,t,n){"use strict";var r=n(294),i=n.n(r),o=n(65);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},,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 l=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,l);var c,f=u.querySelector(".flash-"+t);return o(f,a),r&&(f.innerHTML+='\n  <a\n    href="'+((c=r).href||"#")+'"\n    class="flash-action"\n    '+(c.href?"":'role="button"')+"\n  >\n    "+i.a.escape(c.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},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 l=Object.prototype.toString;function c(e){return"[object Object]"===l.call(e)}function f(e){return"[object RegExp]"===l.call(e)}function d(e){var t=parseFloat(String(e));return t>=0&&Math.floor(t)===t&&isFinite(e)}function h(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 m(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 v=m("slot,component",!0),g=m("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)}),k=/\B([A-Z])/g,x=E(function(e){return e.replace(k,"-$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"],q=["beforeCreate","created","beforeMount","mounted","beforeUpdate","updated","beforeDestroy","destroyed","activated","deactivated","errorCaptured"],H={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:q};function $(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,z=K&&WXEnvironment.platform.toLowerCase(),G=V&&window.navigator.userAgent.toLowerCase(),Q=G&&/msie|trident/.test(G),Y=G&&G.indexOf("msie 9.0")>0,X=G&&G.indexOf("edge/")>0,J=(G&&G.indexOf("android"),G&&/iphone|ipad|ipod|ios/.test(G)||"ios"===z),Z=(G&&/chrome\/\d+/.test(G),{}.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,le=function(){this.id=ue++,this.subs=[]};le.prototype.addSub=function(e){this.subs.push(e)},le.prototype.removeSub=function(e){y(this.subs,e)},le.prototype.depend=function(){le.target&&le.target.addDep(this)},le.prototype.notify=function(){for(var e=this.subs.slice(),t=0,n=e.length;t<n;t++)e[t].update()},le.target=null;var ce=[];function fe(e){le.target&&ce.push(le.target),le.target=e}function de(){le.target=ce.pop()}var he=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(he.prototype,pe);var me=function(e){void 0===e&&(e="");var t=new he;return t.text=e,t.isComment=!0,t};function ve(e){return new he(void 0,void 0,void 0,String(e))}function ge(e){var t=new he(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];$(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 le,this.vmCount=0,$(e,"__ob__",this),Array.isArray(e))?((W?Te:ke)(e,be,we),this.observeArray(e)):this.walk(e)};function Te(e,t,n){e.__proto__=t}function ke(e,t,n){for(var r=0,i=n.length;r<i;r++){var o=n[r];$(e,o,t[o])}}function xe(e,t){var n;if(u(e)&&!(e instanceof he))return w(e,"__ob__")&&e.__ob__ instanceof Ce?n=e.__ob__:Ee&&!ne()&&(Array.isArray(e)||c(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 le,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,l=!i&&xe(n);Object.defineProperty(e,t,{enumerable:!0,configurable:!0,get:function(){var t=s?s.call(e):n;return le.target&&(o.depend(),l&&(l.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,l=!i&&xe(t),o.notify())}})}}function Ae(e,t,n){if(Array.isArray(e)&&d(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)&&d(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++)xe(e[t])};var je=H.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)?c(r)&&c(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)},q.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(c(n))for(var a in n)i=n[a],o[C(a)]=c(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(c(n))for(var o in n){var a=n[o];r[o]=c(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=$e(Boolean,i.type);if(s>-1)if(o&&!w(i,"default"))a=!1;else if(""===a||a===x(e)){var u=$e(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"!==qe(t.type)?r.call(e):r}(r,i,e);var l=Ee;_e(!0),xe(a),_e(l)}return a}function qe(e){var t=e&&e.toString().match(/^\s*function (\w+)/);return t?t[1]:""}function He(e,t){return qe(e)===qe(t)}function $e(e,t){if(!Array.isArray(t))return He(t,e)?0:-1;for(var n=0,r=t.length;n<r;n++)if(He(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(H.errorHandler)try{return H.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,ze=[],Ge=!1;function Qe(){Ge=!1;var e=ze.slice(0);ze.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(ze.push(function(){if(e)try{e.call(t)}catch(e){Be(e,t,"nextTick")}else n&&n(t)}),Ge||(Ge=!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 he)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,l;for(a in e)s=e[a],u=t[a],l=it(a),i(s)||(i(u)?(i(s.fns)&&(s=e[a]=ot(s)),n(l.name,s,l.once,l.capture,l.passive,l.params)):s!==u&&(u.fns=s,e[a]=u));for(a in t)i(e[a])&&r((l=it(a)).name,t[a],l.capture)}function st(e,t,n){var r;e instanceof he&&(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 lt(e){return s(e)?[ve(e)]:Array.isArray(e)?function e(t,n){var r=[];var u,l,c,f;for(u=0;u<t.length;u++)i(l=t[u])||"boolean"==typeof l||(c=r.length-1,f=r[c],Array.isArray(l)?l.length>0&&(ct((l=e(l,(n||"")+"_"+u))[0])&&ct(f)&&(r[c]=ve(f.text+l[0].text),l.shift()),r.push.apply(r,l)):s(l)?ct(f)?r[c]=ve(f.text+l):""!==l&&r.push(ve(l)):ct(l)&&ct(f)?r[c]=ve(f.text+l.text):(a(t._isVList)&&o(l.tag)&&i(l.key)&&o(n)&&(l.key="__vlist"+n+"_"+u+"__"),r.push(l)));return r}(e):void 0}function ct(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 dt(e){return e.isComment&&e.asyncFactory}function ht(e){if(Array.isArray(e))for(var t=0;t<e.length;t++){var n=e[t];if(o(n)&&(o(n.componentOptions)||dt(n)))return n}}function pt(e,t,n){n?rt.$once(e,t):rt.$on(e,t)}function mt(e,t){rt.$off(e,t)}function vt(e,t,n){rt=e,at(t,n||{},pt,mt),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 l in n)n[l].every(yt)&&delete n[l];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),de()}var Tt=[],kt=[],xt={},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,xt[t]=null,e.run();var n=kt.slice(),r=Tt.slice();Ot=Tt.length=kt.length=0,xt={},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&&H.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),de(),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==xt[t]){if(xt[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;c(t=e._data="function"==typeof t?function(e,t){fe();try{return e.call(t,t)}catch(e){return Be(e,t,"data()"),{}}finally{de()}}(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;xe(t,!0)}(e):xe(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++)qt(e,n,r[i]);else qt(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(),le.target&&t.depend(),t.value}}function qt(e,t,n,r){return c(n)&&(r=n,n=n.handler),"string"==typeof n&&(n=e[n]),e.$watch(t,n,r)}function Ht(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 $t(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=H.keyCodes[t]||n;return i&&r&&!H.keyCodes[t]?Wt(i,r):o?Wt(o,e):r?x(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||H.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 zt(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 Gt(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(c(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=Gt,e._n=p,e._s=h,e._l=$t,e._t=Bt,e._q=P,e._i=N,e._m=zt,e._f=Ut,e._k=Vt,e._b=Kt,e._v=ve,e._e=me,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 l=a(u._compiled),c=!l;this.data=e,this.props=t,this.children=n,this.parent=i,this.listeners=e.on||r,this.injections=Ht(u.inject,i),this.slots=function(){return gt(n,i)},l&&(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,c);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,c)}}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||[],l=0;l<u.length;l++){var c=u[l],f=e.$options.props;s[c]=Re(c,f,t,e)}_e(!0),e.$options.propsData=t}n=n||r;var d=e.$options._parentListeners;e.$options._parentListeners=n,vt(e,n,d),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,kt.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,l){if(!i(e)){var c=n.$options._base;if(u(e)&&(e=c.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,l=function(){for(var e=0,t=r.length;e<t;e++)r[e].$forceUpdate()},c=M(function(n){e.resolved=ft(n,t),s||l()}),f=M(function(t){o(e.errorComp)&&(e.error=!0,l())}),d=e(c,f);return u(d)&&("function"==typeof d.then?i(e.resolved)&&d.then(c,f):o(d.component)&&"function"==typeof d.component.then&&(d.component.then(c,f),o(d.error)&&(e.errorComp=ft(d.error,t)),o(d.loading)&&(e.loadingComp=ft(d.loading,t),0===d.delay?e.loading=!0:setTimeout(function(){i(e.resolved)&&i(e.error)&&(e.loading=!0,l())},d.delay||200)),o(d.timeout)&&setTimeout(function(){i(e.resolved)&&f(null)},d.timeout))),s=!1,e.loading?e.loadingComp:e.resolved}e.contexts.push(n)}(f=e,c,n)))return function(e,t,n,r,i){var o=me();return o.asyncFactory=e,o.asyncMeta={data:t,context:n,children:r,tag:i},o}(f,t,n,s,l);t=t||{},cn(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 d=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 l in r){var c=x(l);ut(a,u,l,c,!0)||ut(a,s,l,c,!1)}return a}}(t,e);if(a(e.options.functional))return function(e,t,n,i,a){var s=e.options,u={},l=s.props;if(o(l))for(var c in l)u[c]=Re(c,l,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),d=s.render.call(null,f._c,f);if(d instanceof he)return en(d,n,f.parent,s);if(Array.isArray(d)){for(var h=lt(d)||[],p=new Array(h.length),m=0;m<h.length;m++)p[m]=en(h[m],n,f.parent,s);return p}}(e,d,t,n,s);var h=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 m=e.options.name||l;return new he("vue-component-"+e.cid+(m?"-"+m:""),t,void 0,void 0,void 0,n,{Ctor:e,propsData:d,listeners:h,tag:l,children:s},f)}}}var an=1,sn=2;function un(e,t,n,r,l,c){return(Array.isArray(n)||s(n))&&(l=r,r=n,n=void 0),a(c)&&(l=sn),function(e,t,n,r,s){if(o(n)&&o(n.__ob__))return me();o(n)&&o(n.is)&&(t=n.is);if(!t)return me();0;Array.isArray(r)&&"function"==typeof r[0]&&((n=n||{}).scopedSlots={default:r[0]},r.length=0);s===sn?r=lt(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 l,c;if("string"==typeof t){var f;c=e.$vnode&&e.$vnode.ns||H.getTagNamespace(t),l=H.isReservedTag(t)?new he(H.parsePlatformTagName(t),n,r,void 0,void 0,e):o(f=Fe(e.$options,"components",t))?on(f,n,e,r,t):new he(t,n,r,void 0,void 0,e)}else l=on(t,n,e,r);return Array.isArray(l)?l:o(l)?(o(c)&&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 l=t.children[s];o(l.tag)&&(i(l.ns)||a(r)&&"svg"!==l.tag)&&e(l,n,r)}}(l,c),o(n)&&function(e){u(e.style)&&nt(e.style);u(e.class)&&nt(e.class)}(n),l):me()}(e,t,n,r,l)}var ln=0;function cn(e){var t=e.options;if(e.super){var n=cn(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 dn(e){this._init(e)}function hn(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 mn(e,t){return Array.isArray(e)?e.indexOf(t)>-1:"string"==typeof e?e.split(",").indexOf(t)>-1:!!f(e)&&e.test(t)}function vn(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=ln++,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(cn(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&&vt(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=Ht(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)}}(dn),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(c(t))return qt(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()}}}(dn),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}}(dn),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)}}}(dn),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 he||(e=me()),e.parent=o,e}}(dn);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){vn(e,function(e){return mn(t,e)})}),this.$watch("exclude",function(t){vn(e,function(e){return!mn(t,e)})})},render:function(){var e=this.$slots.default,t=ht(e),n=t&&t.componentOptions;if(n){var r=pn(n),i=this.include,o=this.exclude;if(i&&(!r||!mn(i,r))||o&&r&&mn(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 H}};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),hn(e),function(e){R.forEach(function(t){e[t]=function(e,n){return n?("component"===t&&c(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)}(dn),Object.defineProperty(dn.prototype,"$isServer",{get:ne}),Object.defineProperty(dn.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}}),Object.defineProperty(dn,"FunctionalRenderContext",{value:Zt}),dn.version="2.5.16";var wn=m("style,class"),En=m("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=m("contenteditable,draggable,spellcheck"),Tn=m("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"),kn="http://www.w3.org/1999/xlink",xn=function(e){return":"===e.charAt(5)&&"xlink"===e.slice(0,5)},Sn=function(e){return xn(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=m("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=m("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 qn=m("text,number,password,search,email,tel,url");function Hn(e){if("string"==typeof e){var t=document.querySelector(e);return t||document.createElement("div")}return e}var $n=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 he("",{},[]),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||qn(r)&&qn(i)}(e,t)||a(e.isAsyncPlaceholder)&&e.asyncFactory===t.asyncFactory&&i(t.asyncFactory.error))}function zn(e,t,n){var r,i,a={};for(r=t;r<=n;++r)o(i=e[r].key)&&(a[i]=r);return a}var Gn={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),l=[],c=[];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&&c.push(i)):(Zn(i,"bind",t,e),i.def&&i.def.inserted&&l.push(i));if(l.length){var f=function(){for(var n=0;n<l.length;n++)Zn(l[n],"inserted",t,e)};o?st(t,"insert",f):f()}c.length&&st(t,"postpatch",function(){for(var n=0;n<c.length;n++)Zn(c[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,Gn];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||{},l=t.data.attrs||{};for(r in o(l.__ob__)&&(l=t.data.attrs=O({},l)),l)a=l[r],u[r]!==a&&nr(s,r,a);for(r in(Q||X)&&l.value!==u.value&&nr(s,"value",l.value),u)i(l[r])&&(xn(r)?s.removeAttributeNS(kn,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"):xn(t)?An(n)?e.removeAttributeNS(kn,Sn(t)):e.setAttributeNS(kn,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,lr,cr,fr,dr={create:or,update:or},hr=/[\w).+\-_$\]]/;function pr(e){var t,n,r,i,o,a=!1,s=!1,u=!1,l=!1,c=0,f=0,d=0,h=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(l)47===t&&92!==n&&(l=!1);else if(124!==t||124===e.charCodeAt(r+1)||124===e.charCodeAt(r-1)||c||f||d){switch(t){case 34:s=!0;break;case 39:a=!0;break;case 96:u=!0;break;case 40:d++;break;case 41:d--;break;case 91:f++;break;case 93:f--;break;case 123:c++;break;case 125:c--}if(47===t){for(var p=r-1,m=void 0;p>=0&&" "===(m=e.charAt(p));p--);m&&hr.test(m)||(l=!0)}}else void 0===i?(h=r+1,i=e.slice(0,r).trim()):v();function v(){(o||(o=[])).push(e.slice(h,r).trim()),h=r+1}if(void 0===i?i=e.slice(0,r).trim():0!==h&&v(),o)for(r=0;r<o.length;r++)i=mr(i,o[r]);return i}function mr(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 vr(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 l=s[t];Array.isArray(l)?o?l.unshift(u):l.push(u):s[t]=l?o?[u,l]:[l,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 kr(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=xr(t,o);e.model={value:"("+t+")",expression:'"'+t+'"',callback:"function ($$v) {"+a+"}"}}function xr(e,t){var n=function(e){if(e=e.trim(),ar=e.length,e.indexOf("[")<0||e.lastIndexOf("]")<ar-1)return(lr=e.lastIndexOf("."))>-1?{exp:e.slice(0,lr),key:'"'+e.slice(lr+1)+'"'}:{exp:e,key:null};sr=e,lr=cr=fr=0;for(;!Ar();)Or(ur=Sr())?Ir(ur):91===ur&&jr(ur);return{exp:e.slice(0,cr),key:e.slice(cr+1,fr)}}(e);return null===n.key?e+"="+t:"$set("+n.exp+", "+n.key+", "+t+")"}function Sr(){return sr.charCodeAt(++lr)}function Ar(){return lr>=ar}function Or(e){return 34===e||39===e}function jr(e){var t=1;for(cr=lr;!Ar();)if(Or(e=Sr()))Ir(e);else if(91===e&&t++,93===e&&t--,0===t){fr=lr;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 qr(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 l=i(r)?"":String(r);Hr(a,l)&&(a.value=l)}else a[n]=r}}}function Hr(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 $r={create:qr,update:qr},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=/^--/,zr=/\s*!important$/,Gr=function(e,t,n){if(Kr.test(t))e.style.setProperty(t,n);else if(zr.test(n))e.style.setProperty(t,n.replace(zr,""),"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,l=r.staticStyle,c=r.normalizedStyle||r.style||{},f=l||c,d=Wr(t.data.style)||{};t.data.normalizedStyle=o(d.__ob__)?O({},d):d;var h=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(h[s])&&Gr(u,s,"");for(s in h)(a=h[s])!==f[s]&&Gr(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",li="animationend";ri&&(void 0===window.ontransitionend&&void 0!==window.onwebkittransitionend&&(ai="WebkitTransition",si="webkitTransitionEnd"),void 0===window.onanimationend&&void 0!==window.onwebkitanimationend&&(ui="WebkitAnimation",li="webkitAnimationEnd"));var ci=V?window.requestAnimationFrame?window.requestAnimationFrame.bind(window):setTimeout:function(e){return e()};function fi(e){ci(function(){ci(e)})}function di(e,t){var n=e._transitionClasses||(e._transitionClasses=[]);n.indexOf(t)<0&&(n.push(t),Zr(e,t))}function hi(e,t){e._transitionClasses&&y(e._transitionClasses,t),ei(e,t)}function pi(e,t,n){var r=vi(e,t),i=r.type,o=r.timeout,a=r.propCount;if(!i)return n();var s=i===ii?si:li,u=0,l=function(){e.removeEventListener(s,c),n()},c=function(t){t.target===e&&++u>=a&&l()};setTimeout(function(){u<a&&l()},o+1),e.addEventListener(s,c)}var mi=/\b(transform|all)(,|$)/;function vi(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(", "),l=gi(s,u),c=0,f=0;return t===ii?a>0&&(n=ii,c=a,f=o.length):t===oi?l>0&&(n=oi,c=l,f=u.length):f=(n=(c=Math.max(a,l))>0?a>l?ii:oi:null)?n===ii?o.length:u.length:0,{type:n,timeout:c,propCount:f,hasTransform:n===ii&&mi.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,l=r.enterClass,c=r.enterToClass,f=r.enterActiveClass,d=r.appearClass,h=r.appearToClass,m=r.appearActiveClass,v=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,k=wt,x=wt.$vnode;x&&x.parent;)k=(x=x.parent).context;var S=!k._isMounted||!e.isRootInsert;if(!S||E||""===E){var A=S&&d?d:l,O=S&&m?m:f,j=S&&h?h:c,I=S&&w||v,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),q=n._enterCb=M(function(){F&&(hi(n,j),hi(n,O)),q.cancelled?(F&&hi(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,q)}),I&&I(n),F&&(di(n,A),di(n,O),fi(function(){hi(n,A),q.cancelled||(di(n,j),R||(Ei(N)?setTimeout(q,N):pi(n,s,q)))})),e.data.show&&(t&&t(),D&&D(n,q)),F||R||q()}}}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,l=r.leaveClass,c=r.leaveToClass,f=r.leaveActiveClass,d=r.beforeLeave,h=r.leave,m=r.afterLeave,v=r.leaveCancelled,g=r.delayLeave,y=r.duration,b=!1!==a&&!Y,w=_i(h),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&&(hi(n,c),hi(n,f)),_.cancelled?(b&&hi(n,l),v&&v(n)):(t(),m&&m(n)),n._leaveCb=null});g?g(C):C()}function C(){_.cancelled||(e.data.show||((n.parentNode._pending||(n.parentNode._pending={}))[e.key]=e),d&&d(n),b&&(di(n,l),di(n,f),fi(function(){hi(n,l),_.cancelled||(di(n,c),w||(Ei(E)?setTimeout(_,E):pi(n,s,_)))})),h&&h(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,l=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 c(e){var t=l.parentNode(e);o(t)&&l.removeChild(t,e)}function f(e,t,n,i,s,u,c){if(o(e.elm)&&o(u)&&(e=u[c]=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 d(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}h(n,e.elm,i)}(e,t,n,i),!0}}(e,t,n,i)){var f=e.data,m=e.children,v=e.tag;o(v)?(e.elm=e.ns?l.createElementNS(e.ns,v):l.createElement(v,e),y(e),p(e,m,t),o(f)&&g(e,t),h(n,e.elm,i)):a(e.isComment)?(e.elm=l.createComment(e.text),h(n,e.elm,i)):(e.elm=l.createTextNode(e.text),h(n,e.elm,i))}}function d(e,t){o(e.data.pendingInsert)&&(t.push.apply(t,e.data.pendingInsert),e.data.pendingInsert=null),e.elm=e.componentInstance.$el,v(e)?(g(e,t),y(e)):(Un(e),t.push(e))}function h(e,t,n){o(e)&&(o(n)?n.parentNode===e&&l.insertBefore(e,t,n):l.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)&&l.appendChild(e.elm,l.createTextNode(String(e.text)))}function v(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))l.setStyleScope(e.elm,t);else for(var n=e;n;)o(t=n.context)&&o(t=t.$options._scopeId)&&l.setStyleScope(e.elm,t),n=n.parent;o(t=wt)&&t!==e.context&&t!==e.fnContext&&o(t=t.$options._scopeId)&&l.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)):c(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&&c(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 c(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 c,d=t.data;o(d)&&o(c=d.hook)&&o(c=c.prepatch)&&c(e,t);var h=e.children,p=t.children;if(o(d)&&v(t)){for(c=0;c<r.update.length;++c)r.update[c](e,t);o(c=d.hook)&&o(c=c.update)&&c(e,t)}i(t.text)?o(h)&&o(p)?h!==p&&function(e,t,n,r,a){for(var s,u,c,d=0,h=0,p=t.length-1,m=t[0],v=t[p],g=n.length-1,y=n[0],w=n[g],_=!a;d<=p&&h<=g;)i(m)?m=t[++d]:i(v)?v=t[--p]:Kn(m,y)?(T(m,y,r),m=t[++d],y=n[++h]):Kn(v,w)?(T(v,w,r),v=t[--p],w=n[--g]):Kn(m,w)?(T(m,w,r),_&&l.insertBefore(e,m.elm,l.nextSibling(v.elm)),m=t[++d],w=n[--g]):Kn(v,y)?(T(v,y,r),_&&l.insertBefore(e,v.elm,m.elm),v=t[--p],y=n[++h]):(i(s)&&(s=zn(t,d,p)),i(u=o(y.key)?s[y.key]:C(y,t,d,p))?f(y,r,e,m.elm,!1,n,h):Kn(c=t[u],y)?(T(c,y,r),t[u]=void 0,_&&l.insertBefore(e,c.elm,m.elm)):f(y,r,e,m.elm,!1,n,h),y=n[++h]);d>p?b(e,i(n[g+1])?null:n[g+1].elm,n,h,g,r):h>g&&E(0,t,d,p)}(u,h,p,n,s):o(p)?(o(e.text)&&l.setTextContent(u,""),b(u,null,p,0,p.length-1,n)):o(h)?E(0,h,0,h.length-1):o(e.text)&&l.setTextContent(u,""):e.text!==t.text&&l.setTextContent(u,t.text),o(d)&&o(c=d.hook)&&o(c=c.postpatch)&&c(e,t)}}}function k(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 x=m("attrs,class,staticClass,staticStyle,key");function S(e,t,n,r){var i,s=t.tag,u=t.data,l=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 d(t,n),!0;if(o(s)){if(o(l))if(e.hasChildNodes())if(o(i=u)&&o(i=i.domProps)&&o(i=i.innerHTML)){if(i!==e.innerHTML)return!1}else{for(var c=!0,f=e.firstChild,h=0;h<l.length;h++){if(!f||!S(f,l[h],n,r)){c=!1;break}f=f.nextSibling}if(!c||f)return!1}else p(t,l,n);if(o(u)){var m=!1;for(var v in u)if(!x(v)){m=!0,g(t,n);break}!m&&u.class&&nt(u.class)}}else e.data!==t.text&&(e.data=t.text);return!0}return function(e,t,n,s,u,c){if(!i(t)){var d,h=!1,p=[];if(i(e))h=!0,f(t,p,u,c);else{var m=o(e.nodeType);if(!m&&Kn(e,t))T(e,t,p,s);else{if(m){if(1===e.nodeType&&e.hasAttribute(F)&&(e.removeAttribute(F),n=!0),a(n)&&S(e,t,p))return k(t,p,!0),e;d=e,e=new he(l.tagName(d).toLowerCase(),{},[],void 0,d)}var g=e.elm,y=l.parentNode(g);if(f(t,p,g._leaveCb?null:y,l.nextSibling(g)),o(t.parent))for(var b=t.parent,_=v(t);b;){for(var C=0;C<r.destroy.length;++C)r.destroy[C](b);if(b.elm=t.elm,_){for(var x=0;x<r.create.length;++x)r.create[x](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 k(t,p,h),t.elm}o(e)&&w(e)}}({nodeOps:$n,modules:[ir,dr,Rr,$r,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 ki={inserted:function(e,t,n,r){"select"===n.tag?(r.elm&&!r.elm._vOptions?st(n,"postpatch",function(){ki.componentUpdated(e,t,n)}):xi(e,t,n.context),e._vOptions=[].map.call(e.options,Oi)):("textarea"===n.tag||qn(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){xi(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 xi(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:ki,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(ht(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 qi={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||dt(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),l=this._vnode,c=Mi(l);if(o.data.directives&&o.data.directives.some(function(e){return"show"===e.name})&&(o.data.show=!0),c&&c.data&&!function(e,t){return t.key===e.key&&t.tag===e.tag}(o,c)&&!dt(c)&&(!c.componentInstance||!c.componentInstance._vnode.isComment)){var f=c.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(dt(o))return l;var d,h=function(){d()};st(u,"afterEnter",h),st(u,"enterCancelled",h),st(f,"delayLeave",function(e){d=e})}}return i}}},Hi=O({tag:String,moveClass:String},Ni);function $i(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 Hi.mode;var Wi={Transition:qi,TransitionGroup:{props:Hi,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 l=[],c=[],f=0;f<r.length;f++){var d=r[f];d.data.transition=a,d.data.pos=d.elm.getBoundingClientRect(),n[d.key]?l.push(d):c.push(d)}this.kept=e(t,null,l),this.removed=c}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($i),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;di(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,hi(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=vi(n);return this.$el.removeChild(n),this._hasMove=r.hasTransform}}}};dn.config.mustUseProp=_n,dn.config.isReservedTag=Mn,dn.config.isReservedAttr=wn,dn.config.getTagNamespace=Fn,dn.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(dn.options.directives,Pi),O(dn.options.components,Wi),dn.prototype.__patch__=V?Ti:I,dn.prototype.$mount=function(e,t){return function(e,t,n){return e.$el=t,e.$options.render||(e.$options.render=me),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?Hn(e):void 0,t)},V&&setTimeout(function(){H.devtools&&re&&re.emit("init",dn)},0);var Vi=/\{\{((?:.|\n)+?)\}\}/g,Ki=/[-.*+?^${}()|[\]\/\\]/g,zi=E(function(e){var t=e[0].replace(Ki,"\\$&"),n=e[1].replace(Ki,"\\$&");return new RegExp(t+"((?:.|\\n)+?)"+n,"g")});var Gi={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=m("area,base,br,col,embed,frame,hr,img,input,isindex,keygen,link,meta,param,source,track,wbr"),Zi=m("colgroup,dd,dt,li,options,p,td,tfoot,th,thead,tr,source"),eo=m("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=/^<!\--/,lo=/^<!\[/,co=!1;"x".replace(/x(.)?/g,function(e,t){co=""===t});var fo=m("script,style,textarea",!0),ho={},po={"&lt;":"<","&gt;":">","&quot;":'"',"&amp;":"&","&#10;":"\n","&#9;":"\t"},mo=/&(?:lt|gt|quot|amp);/g,vo=/&(?:lt|gt|quot|amp|#10|#9);/g,go=m("pre,textarea",!0),yo=function(e,t){return e&&go(e)&&"\n"===t[0]};function bo(e,t){var n=t?vo:mo;return e.replace(n,function(e){return po[e]})}var wo,Eo,_o,Co,To,ko,xo,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||vr,ko=t.isPreTag||D,xo=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),ko(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 l=0,c=r.toLowerCase(),f=ho[c]||(ho[c]=new RegExp("([\\s\\S]*?)(</"+c+"[^>]*>)","i")),d=e.replace(f,function(e,n,r){return l=r.length,fo(c)||"noscript"===c||(n=n.replace(/<!\--([\s\S]*?)-->/g,"$1").replace(/<!\[CDATA\[([\s\S]*?)]]>/g,"$1")),yo(c,n)&&(n=n.slice(1)),t.chars&&t.chars(n),""});u+=e.length-d.length,e=d,x(c,u-l,u)}else{var h=e.indexOf("<");if(0===h){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(lo.test(e)){var m=e.indexOf("]>");if(m>=0){C(m+2);continue}}var v=e.match(so);if(v){C(v[0].length);continue}var g=e.match(ao);if(g){var y=u;C(g[0].length),x(g[1],y,u);continue}var b=T();if(b){k(b),yo(r,e)&&C(1);continue}}var w=void 0,E=void 0,_=void 0;if(h>=0){for(E=e.slice(h);!(ao.test(E)||io.test(E)||uo.test(E)||lo.test(E)||(_=E.indexOf("<",1))<0);)h+=_,E=e.slice(h);w=e.substring(0,h),C(h)}h<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 k(e){var n=e.tagName,u=e.unarySlash;o&&("p"===r&&eo(n)&&x(r),s(n)&&r===n&&x(n));for(var l=a(n)||!!u,c=e.attrs.length,f=new Array(c),d=0;d<c;d++){var h=e.attrs[d];co&&-1===h[0].indexOf('""')&&(""===h[3]&&delete h[3],""===h[4]&&delete h[4],""===h[5]&&delete h[5]);var p=h[3]||h[4]||h[5]||"",m="a"===n&&"href"===h[1]?t.shouldDecodeNewlinesForHref:t.shouldDecodeNewlines;f[d]={name:h[1],value:bo(p,m)}}l||(i.push({tag:n,lowerCasedTag:n.toLowerCase(),attrs:f}),r=n),t.start&&t.start(n,f,l,e.start,e.end)}function x(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 l=i.length-1;l>=a;l--)t.end&&t.end(i[l].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))}x()}(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,l){var c=r&&r.ns||So(e);Q&&"svg"===c&&(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,d=Fo(e,o,r);c&&(d.ns=c),"style"!==(f=d).tag&&("script"!==f.tag||f.attrsMap.type&&"text/javascript"!==f.attrsMap.type)||ne()||(d.forbidden=!0);for(var h=0;h<Co.length;h++)d=Co[h](d,t)||d;function p(e){0}if(a||(!function(e){null!=Tr(e,"v-pre")&&(e.pre=!0)}(d),d.pre&&(a=!0)),ko(d.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)}(d):d.processed||(Ho(d),function(e){var t=Tr(e,"v-if");if(t)e.if=t,$o(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)}}(d),function(e){null!=Tr(e,"v-once")&&(e.once=!0)}(d),qo(d,t)),n?i.length||n.if&&(d.elseif||d.else)&&(p(),$o(n,{exp:d.elseif,block:d})):(n=d,p()),r&&!d.forbidden)if(d.elseif||d.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&&$o(n,{exp:e.elseif,block:e})}(d,r);else if(d.slotScope){r.plain=!1;var m=d.slotTarget||'"default"';(r.scopedSlots||(r.scopedSlots={}))[m]=d}else r.children.push(d),d.parent=r;l?u(d):(r=d,i.push(d))},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?zi(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 l=pr(r[1].trim());a.push("_s("+l+")"),s.push({"@binding":l}),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 qo(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),xr(o,"$event"))),s||!e.component&&xo(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 l=(r=r.replace(Oo,"")).match(Lo),c=l&&l[1];c&&(r=r.slice(0,-(c.length+1))),Er(e,r,i,o,c,a)}else br(e,r,JSON.stringify(o)),!e.component&&"muted"===r&&xo(e.tag,e.attrsMap.type,r)&&yr(e,r,"true")}}(e)}function Ho(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 $o(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=[Gi,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);Ho(u),wr(u,"type","checkbox"),qo(u,t),u.processed=!0,u.if="("+n+")==='checkbox'"+o,$o(u,{exp:u.if,block:u});var l=Vo(e);Tr(l,"v-for",!0),wr(l,"type","radio"),qo(l,t),$o(u,{exp:"("+n+")==='radio'"+o,block:l});var c=Vo(e);return Tr(c,"v-for",!0),wr(c,":type",n),qo(c,t),$o(u,{exp:i,block:c}),a?u.else=!0:s&&(u.elseif=s),u}}}}];var zo,Go,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 kr(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+" "+xr(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&&("+xr(t,"$$a.concat([$$v])")+")}else{$$i>-1&&("+xr(t,"$$a.slice(0,$$i).concat($$a.slice($$i+1))")+")}}else{"+xr(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",xr(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,l=o?"change":"range"===r?Lr:"input",c="$event.target.value";s&&(c="$event.target.value.trim()"),a&&(c="_n("+c+")");var f=xr(t,c);u&&(f="if($event.target.composing)return;"+f),yr(e,"value","("+t+")"),_r(e,l,f,null,!0),(s||a)&&_r(e,"blur","$forceUpdate()")}(e,r,i);else if(!H.isReservedTag(o))return kr(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 m("type,tag,attrsList,attrsMap,plain,parent,children,attrs"+(e?","+e:""))});function Xo(e,t){e&&(zo=Yo(t.staticKeys||""),Go=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||v(e.tag)||!Go(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(zo)))}(t);if(1===t.type){if(!Go(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||vr,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 la(e,t){var n=new ua(t);return{render:"with(this){return "+(e?ca(e,n):'_c("div")')+"}",staticRenderFns:n.staticRenderFns}}function ca(e,t){if(e.staticRoot&&!e.staticProcessed)return fa(e,t);if(e.once&&!e.onceProcessed)return da(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||ca)(e,t)+"})"}(e,t);if(e.if&&!e.ifProcessed)return ha(e,t);if("template"!==e.tag||e.slotTarget){if("slot"===e.tag)return function(e,t){var n=e.slotName||'"default"',r=va(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:va(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:va(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 va(e,t)||"void 0"}function fa(e,t){return e.staticProcessed=!0,t.staticRenderFns.push("with(this){return "+ca(e,t)+"}"),"_m("+(t.staticRenderFns.length-1)+(e.staticInFor?",true":"")+")"}function da(e,t){if(e.onceProcessed=!0,e.if&&!e.ifProcessed)return ha(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("+ca(e,t)+","+t.onceId+++","+n+")":ca(e,t)}return fa(e,t)}function ha(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?da(e,n):ca(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 l=t.directives[o.name];l&&(a=!!l(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 ma(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=la(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 ma(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 "+ma(e,t,n)+"})"}(e,t,n):"{key:"+e+",fn:"+("function("+String(t.slotScope)+"){return "+("template"===t.tag?t.if?t.if+"?"+(va(t,n)||"undefined")+":undefined":va(t,n)||"undefined":ca(t,n))+"}")+"}"}function va(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||ca)(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?ca(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=la(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 ka(e){return(Ca=Ca||document.createElement("div")).innerHTML=e?'<a href="\n"/>':'<div a="\n"/>',Ca.innerHTML.indexOf("&#10;")>0}var xa=!!V&&ka(!1),Sa=!!V&&ka(!0),Aa=E(function(e){var t=Hn(e);return t&&t.innerHTML}),Oa=dn.prototype.$mount;dn.prototype.$mount=function(e,t){if((e=e&&Hn(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:xa,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)},dn.compile=Ta,t.default=dn}.call(this,n(254),n(653).setImmediate)},,,function(e,t,n){"use strict";n.d(t,"i",function(){return c}),n.d(t,"r",function(){return f}),n.d(t,"u",function(){return d}),n.d(t,"k",function(){return h}),n.d(t,"h",function(){return p}),n.d(t,"s",function(){return v}),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 k}),n.d(t,"m",function(){return x}),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 q}),n.d(t,"d",function(){return H}),n.d(t,"o",function(){return $}),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 z}),n.d(t,"f",function(){return G}),n.d(t,"a",function(){return Q});var r=n(0),i=n.n(r),o=n(5),a=n(21),s=n(47),u=n(455),l=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 c=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"===c()},d=function(){return"projects"===c()},h=function(){return d()?i()("body").data("project"):null},p=function(){return f()?i()("body").data("group"):null},m=function(e,t){var n=c(1),r=c(2);return n===e&&r===t},v=function(){return m("issues","show")},g=function(){return m("merge_requests","show")},y=function(){return m("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},k=function(e){var t=T(e);return"/"===t.pathname.charAt(0)?t.pathname:"/"+t.pathname},x=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 l=document.createEvent("Event");l.initEvent("autosize:update",!0,!1),e.dispatchEvent(l)},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},{})},q=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Object.keys(e).map(function(t){return t+"="+e[t]}).join("&")},H=function(e){return e?""+window.location.pathname+e:window.location.pathname},$=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)},z=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>'},G=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=l({},window.gl.utils||{},{getPagePath:c,isInGroupsPage:f,isInProjectPage:d,getProjectSlug:h,getGroupSlug:p,isInIssuePage:v,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:k,getUrlParamsArray:x,isMetaKey:S,isMetaClick:A,scrollToElement:j,getParameterByName:I,getSelectedFragment:L,insertText:P,nodeMatchesSelector:N,spriteIcon:z,imagePath:function(e){return""+(gon.asset_host||"")+(gon.relative_url_root||"")+"/assets/"+e}})},,,,,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 l;var c=function(e){var t=this;void 0===e&&(e={}),!l&&"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 l;var a=this,s=this.dispatch,c=this.commit;this.dispatch=function(e,t){return s.call(a,e,t)},this.commit=function(e,t,n){return c.call(a,e,t,n)},this.strict=r,m(this,o,[],this._modules.root),p(this,o),n.forEach(function(e){return e(t)}),l.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 d(e,t){return t.indexOf(e)<0&&t.push(e),function(){var n=t.indexOf(e);n>-1&&t.splice(n,1)}}function h(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;m(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=l.config.silent;l.config.silent=!0,e._vm=new l({data:{$$state:t},computed:i}),l.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}),l.nextTick(function(){return r.$destroy()}))}function m(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=v(t,n.slice(0,-1)),u=n[n.length-1];e._withCommit(function(){l.set(s,u,r.state)})}var c=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 v(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,c)}),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,c)}),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,c)}),r.forEachChild(function(r,o){m(e,t,n.concat(o),r,i)})}function v(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){l&&e===l||r(l=e)}f.state.get=function(){return this._vm._data.$$state},f.state.set=function(e){0},c.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)}))},c.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)},c.prototype.subscribe=function(e){return d(e,this._subscribers)},c.prototype.subscribeAction=function(e){return d(e,this._actionSubscribers)},c.prototype.watch=function(e,t,n){var r=this;return this._watcherVM.$watch(function(){return e(r.state,r.getters)},t,n)},c.prototype.replaceState=function(e){var t=this;this._withCommit(function(){t._vm._data.$$state=e})},c.prototype.registerModule=function(e,t,n){void 0===n&&(n={}),"string"==typeof e&&(e=[e]),this._modules.register(e,t),m(this,this.state,e,this._modules.get(e),n.preserveState),p(this,this.state)},c.prototype.unregisterModule=function(e){var t=this;"string"==typeof e&&(e=[e]),this._modules.unregister(e),this._withCommit(function(){var n=v(t.state,e.slice(0,-1));l.delete(n,e[e.length-1])}),h(this)},c.prototype.hotUpdate=function(e){this._modules.update(e),h(this,!0)},c.prototype._withCommit=function(e){var t=this._committing;this._committing=!0,e(),this._committing=t},Object.defineProperties(c.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=k(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=k(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||k(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=k(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 k(e,t,n){return e._modulesNamespaceMap[n]}var x={Store:c,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=x},,,,,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 l(e){return window.location.assign(e)}function c(){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 l}),n.d(t,"h",function(){return c})},,,,,,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},,function(e,t,n){var r,i;!function(o,a,s){for(var u,l,c={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:"'"},d={"~":"`","!":"1","@":"2","#":"3",$:"4","%":"5","^":"6","&":"7","*":"8","(":"9",")":"0",_:"-","+":"=",":":";",'"':"'","<":",",">":".","?":"/","|":"\\"},h={option:"alt",command:"meta",return:"enter",escape:"esc",mod:/Mac|iPod|iPhone|iPad/.test(navigator.platform)?"meta":"ctrl"},p={},m={},v={},g=!1,y=!1,b=!1,w=1;w<20;++w)c[111+w]="f"+w;for(w=0;w<=9;++w)c[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 c[e.which]?c[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 v)e[t]?n=!0:v[t]=0;n||(b=!1)}function T(e,t,n,r,i,o){var a,s,u,l,c=[],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||v[s.seq]==s.level)&&f==s.action&&("keypress"==f&&!n.metaKey&&!n.ctrlKey||(u=t,l=s.modifiers,u.sort().join(",")===l.sort().join(",")))){var d=!r&&s.combo==i,h=r&&s.seq==r&&s.level==o;(d||h)&&p[e].splice(a,1),c.push(s)}return c}function k(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 x(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={},c)e>95&&e<112||c.hasOwnProperty(e)&&(u[c[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,++v[e],clearTimeout(l),l=setTimeout(C,1e3)}}function o(t){k(n,t,e),"keyup"!==r&&(g=_(t)),setTimeout(C,10)}v[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],h[r]&&(r=h[r]),t&&"keypress"!=t&&d[r]&&(r=d[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){m[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",x),E(a,"keydown",x),E(a,"keyup",x);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 m[e+":"+t]&&m[e+":"+t]({},e),this},reset:function(){return p={},m={},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,k(i[r].callback,n,i[r].combo,i[r].seq)}else s||k(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)},,function(e,t,n){"use strict";n.r(t),function(e){var t=n(0),r=n.n(t),i=n(38),o=n.n(i),a=n(651),s=n.n(a),u=(n(1173),n(686),n(701),n(11)),l=n(40),c=n(21),f=n(201),d=n(91),h=n(7),p=(n(604),n(647)),m=n(646),v=n(632),g=(n(679),n(125)),y=n(645),b=(n(130),n(704),n(644)),w=n(633);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=d.a.getBreakpointSize();(Object(b.a)(),Object(v.a)(),Object(m.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(c.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(l.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(h.a)("You need to be logged in."):404!==n&&500!==n||Object(h.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=d.a.getBreakpointSize())!==e&&n.trigger("breakpoint:change",[a])}),Object(f.a)(),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(c.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(h.b)(e)}),Object(w.a)()})}.call(this,n(0))},,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={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=u.buildUrl(u.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=u.buildUrl(u.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=u.buildUrl(u.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=u.buildUrl(u.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=u.buildUrl(u.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=u.buildUrl(u.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=u.buildUrl(u.mergeRequestsPath);return s.a.get(t,{params:e})},mergeRequestChanges:function(e,t){var n=u.buildUrl(u.mergeRequestChangesPath).replace(":id",encodeURIComponent(e)).replace(":mrid",t);return s.a.get(n)},mergeRequestVersions:function(e,t){var n=u.buildUrl(u.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?u.buildUrl(u.projectLabelsPath).replace(":namespace_path",e).replace(":project_path",t):u.buildUrl(u.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=u.buildUrl(u.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=u.buildUrl(u.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=u.buildUrl(u.commitPipelinesPath).replace(":project_id",n).replace(":sha",encodeURIComponent(t));return s.a.get(r)},branchSingle:function(e,t){var n=u.buildUrl(u.branchSinglePath).replace(":id",encodeURIComponent(e)).replace(":branch",encodeURIComponent(t));return s.a.get(n)},licenseText:function(e,t,n){var r=u.buildUrl(u.licensePath).replace(":key",e);return s.a.get(r,{params:t}).then(function(e){return n(e.data)})},gitignoreText:function(e,t){var n=u.buildUrl(u.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=u.buildUrl(u.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=u.buildUrl(u.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=u.buildUrl(u.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=u.buildUrl(this.usersPath);return s.a.get(n,{params:Object.assign({search:e,per_page:20},t)})},createBranch:function(e,t){var n=t.ref,r=t.branch,i=u.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=u},,,,,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("; "):[],l=/(%[0-9A-Z]{2})+/g,c=0;c<u.length;c++){var f=u[c].split("="),d=f.slice(1).join("=");'"'===d.charAt(0)&&(d=d.slice(1,-1));try{var h=f[0].replace(l,decodeURIComponent);if(d=n.read?n.read(d,h):n(d,h)||d.replace(l,decodeURIComponent),this.json)try{d=JSON.parse(d)}catch(e){}if(t===h){a=d;break}t||(a[h]=d)}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(){})})},,function(e,t,n){"use strict";n.d(t,"c",function(){return d}),n.d(t,"a",function(){return h}),n.d(t,"d",function(){return v}),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(318),a=n.n(o),s=n(108),u=n.n(s),l=n(47),c=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 d=function(e){return["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"][e.getDay()]},h=function(e){return u()(e,"mmm d, yyyy h:MMtt Z")},p=Object(c.c)().replace(/-/g,"_"),m=void 0;function v(){if(!m){a.a.register(p,function(e,t){return[[Object(c.e)("Timeago|just now"),Object(c.e)("Timeago|right now")],[Object(c.e)("Timeago|%s seconds ago"),Object(c.e)("Timeago|in %s seconds")],[Object(c.e)("Timeago|1 minute ago"),Object(c.e)("Timeago|in 1 minute")],[Object(c.e)("Timeago|%s minutes ago"),Object(c.e)("Timeago|in %s minutes")],[Object(c.e)("Timeago|1 hour ago"),Object(c.e)("Timeago|in 1 hour")],[Object(c.e)("Timeago|%s hours ago"),Object(c.e)("Timeago|in %s hours")],[Object(c.e)("Timeago|1 day ago"),Object(c.e)("Timeago|in 1 day")],[Object(c.e)("Timeago|%s days ago"),Object(c.e)("Timeago|in %s days")],[Object(c.e)("Timeago|1 week ago"),Object(c.e)("Timeago|in 1 week")],[Object(c.e)("Timeago|%s weeks ago"),Object(c.e)("Timeago|in %s weeks")],[Object(c.e)("Timeago|1 month ago"),Object(c.e)("Timeago|in 1 month")],[Object(c.e)("Timeago|%s months ago"),Object(c.e)("Timeago|in %s months")],[Object(c.e)("Timeago|1 year ago"),Object(c.e)("Timeago|in 1 year")],[Object(c.e)("Timeago|%s years ago"),Object(c.e)("Timeago|in %s years")]][t]}),a.a.register(p+"-remaining",function(e,t){return[[Object(c.e)("Timeago|just now"),Object(c.e)("Timeago|right now")],[Object(c.e)("Timeago|%s seconds ago"),Object(c.e)("Timeago|%s seconds remaining")],[Object(c.e)("Timeago|1 minute ago"),Object(c.e)("Timeago|1 minute remaining")],[Object(c.e)("Timeago|%s minutes ago"),Object(c.e)("Timeago|%s minutes remaining")],[Object(c.e)("Timeago|1 hour ago"),Object(c.e)("Timeago|1 hour remaining")],[Object(c.e)("Timeago|%s hours ago"),Object(c.e)("Timeago|%s hours remaining")],[Object(c.e)("Timeago|1 day ago"),Object(c.e)("Timeago|1 day remaining")],[Object(c.e)("Timeago|%s days ago"),Object(c.e)("Timeago|%s days remaining")],[Object(c.e)("Timeago|1 week ago"),Object(c.e)("Timeago|1 week remaining")],[Object(c.e)("Timeago|%s weeks ago"),Object(c.e)("Timeago|%s weeks remaining")],[Object(c.e)("Timeago|1 month ago"),Object(c.e)("Timeago|1 month remaining")],[Object(c.e)("Timeago|%s months ago"),Object(c.e)("Timeago|%s months remaining")],[Object(c.e)("Timeago|1 year ago"),Object(c.e)("Timeago|1 year remaining")],[Object(c.e)("Timeago|%s years ago"),Object(c.e)("Timeago|%s years remaining")]][t]}),m=a()()}return m}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"),v().render(t,p)},y=function(e,t){return e?new Date(e)<new Date?t||Object(c.e)("Timeago|Past due"):v().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(l.h)("minute",n)+" "+r+" "+Object(l.h)("second",r):r+" "+Object(l.h)("second",r)}window.gl=window.gl||{},window.gl.utils=f({},window.gl.utils||{},{getTimeago:v,localTimeAgo:g})},,,,,,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},function(e,t,n){"use strict";n.d(t,"a",function(){return r}),n.d(t,"f",function(){return i}),n.d(t,"g",function(){return o}),n.d(t,"h",function(){return a}),n.d(t,"e",function(){return s}),n.d(t,"i",function(){return u}),n.d(t,"l",function(){return l}),n.d(t,"m",function(){return c}),n.d(t,"b",function(){return f}),n.d(t,"k",function(){return d}),n.d(t,"c",function(){return h}),n.d(t,"d",function(){return p}),n.d(t,"j",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()},l=function(e,t){return e.substr(0,t-3)+"..."},c=function(e){return e.substr(0,8)};function f(e){return""+e[0].toUpperCase()+e.slice(1)}var d=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return e?e.replace(/<[^>]*>/g,t):e},h=function(e){return e.replace(/(_\w)/g,function(e){return e[1].toUpperCase()})},p=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()}},,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 l(t){var n=e.style.width;e.style.width="0px",e.offsetWidth,e.style.width=n,e.style.overflowY=t}function c(){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(){c();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&&(l("scroll"),c(),i="content-box"===n.boxSizing?Math.round(parseFloat(window.getComputedStyle(e,null).height)):e.offsetHeight):"hidden"!==n.overflowY&&(l("hidden"),c(),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 l=null;"undefined"==typeof window||"function"!=typeof window.getComputedStyle?((l=function(e){return e}).destroy=function(e){return e},l.update=function(e){return e}):((l=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},l.update=function(e){return e&&Array.prototype.forEach.call(e.length?e:[e],u),e}),t.exports=l})?r.apply(t,i):r)||(e.exports=o)},,,function(e,t,n){"use strict";var r=n(3),i=n.n(r),o=n(145),a=n(11),s=n(7),u=n(102),l=n(33),c=n(491),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 d=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,c["a"]),f(t,[{key:"retrieve",value:function(e){var t=this;return this.hasData(e)?Promise.resolve(this.get(e)):l.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}()),h=n(63),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 m=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=h.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"~"+h.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 d.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(3).then(n.bind(null,336)).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 l=o.querySelector(".name").innerText;u.a.container.querySelector(".tokens-container").removeChild(o),s(l,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 l=new Event("input");n.dispatchEvent(l),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=m},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(145);n.d(t,"b",function(){return h});var l=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=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 d(e){return e.replace(/<(?:.|\n)*?>/gm,"")}var h={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]:h;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=c(e.params,1);n=c(r[0],1)[0],/^[@%~]/.test(n)&&(t+="<%- referencePrefix %>")}return a.a.template(t)({referencePrefix:n})},suffix:"",callbacks:l({},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:l({},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:l({},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:d(t),search:d(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:l({},this.getDefaultCallbacks(),{beforeSave:function(e){return i.a.map(e,function(e){return null==e.title?e:{id:e.iid,title:d(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:l({},this.getDefaultCallbacks(),{beforeSave:function(e){return i.a.map(e,function(e){return null==e.title?e:{id:e.iid,title:d(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:l({},this.getDefaultCallbacks(),{beforeSave:function(e){return i.a.map(e,function(e){return null==e.title?e:{id:e.iid,title:d(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:l({},this.getDefaultCallbacks(),{beforeSave:function(t){return e.isLoading(t)?t:i.a.map(t,function(e){return{title:d(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(3).then(n.bind(null,336)).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=c(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"),l=decodeURI("%C3%BF");return new RegExp("^(?:\\B|[^a-zA-Z0-9_`"+o+"]|\\s)"+s+"(?!"+i+")((?:[A-Za-z"+u+"-"+l+"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},,,,,,,,,,function(e,t,n){"use strict";var r=n(3),i=n.n(r),o=n(102),a=n(143),s=n(258),u=n(52),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")}}(),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 f=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:"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=l(s,1)[0],s=s.slice(1));'"'!==s[0]&&"'"!==s[0]||-1===a.indexOf(" ")||(s=s.slice(1));var c=u===t&&-1!==a.indexOf(s),f=-1!==a.indexOf(""+u+s);return i.droplab_hidden=!f&&!c,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),l=a.a.processTokens(u,o),c=l.lastToken,f=l.tokens,d=c.key||c||"",h="array"===n.type,p=f.some(function(e){return e.key===n.hint});if(!h&&p)s.droplab_hidden=!0;else if(d&&" "!==i.a.last(u.split(""))){if(d){var m=d.split(":"),v=i.a.last(m[0].split(" ")),g=-1===s.hint.indexOf(v.toLowerCase());s.droplab_hidden=!!v&&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 l=u.a.getLastVisualTokenBeforeInput().isLastVisualTokenValid,c=o.a.container.querySelector(".filtered-search"),f=c&&c.value;if(l)r.push(f);else{var d=r.pop();r.push(""+d+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},,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},,,,,,,,,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)}},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}})}},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},,,,,,,,,,,,,,,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},,,,,,,,,,,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},,,,,,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,c=(t=String(u.masks[t]||t||u.masks.default)).slice(0,4);"UTC:"!==c&&"GMT:"!==c||(t=t.slice(4),n=!0,"GMT:"===c&&(r=!0));var f=n?"getUTC":"get",d=e[f+"Date"](),h=e[f+"Day"](),p=e[f+"Month"](),m=e[f+"FullYear"](),v=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:d,dd:l(d),ddd:u.i18n.dayNames[h],dddd:u.i18n.dayNames[h+7],m:p+1,mm:l(p+1),mmm:u.i18n.monthNames[p],mmmm:u.i18n.monthNames[p+12],yy:String(m).slice(2),yyyy:m,h:v%12||12,hh:l(v%12||12),H:v,HH:l(v),M:g,MM:l(g),s:y,ss:l(y),l:l(b,3),L:l(Math.round(b/10)),t:v<12?u.i18n.timeNames[0]:u.i18n.timeNames[1],tt:v<12?u.i18n.timeNames[2]:u.i18n.timeNames[3],T:v<12?u.i18n.timeNames[4]:u.i18n.timeNames[5],TT:v<12?u.i18n.timeNames[6]:u.i18n.timeNames[7],Z:r?"GMT":n?"UTC":(String(e).match(a)||[""]).pop().replace(s,""),o:(w>0?"-":"+")+l(100*Math.floor(Math.abs(w)/60)+Math.abs(w)%60,4),S:["th","st","nd","rd"][d%10>3?0:(d%100-d%10!=10)*d%10],W:E,N:_};return t.replace(o,function(e){return e in C?C[e]:e.slice(1,e.length-1)})});function l(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)}()},,,,,,,,,,,,,,,,,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(){this.lazyImages=[].slice.call(document.querySelectorAll(".lazy")),this.lazyImages.length&&this.checkElementsInView()}},{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)||(e.loadImage(r),!1)}return!1})}}],[{key:"loadImage",value:function(e){e.getAttribute("data-src")&&(e.setAttribute("src",e.getAttribute("data-src")),e.removeAttribute("data-src"),e.classList.remove("lazy"),e.classList.add("js-lazy-loaded"))}}]),e}();t.a=s},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}},,,,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(604),n(5)),l=n(40),c=n(46),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 d=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,d=void 0,h=i()(n),p=(h.data("projectId"),h.data("milestones")),m=h.data("issueUpdate"),v=h.data("showNo"),g=h.data("showAny"),y=h.data("showMenuAbove"),b=h.data("showUpcoming"),w=h.data("showStarted"),E=h.data("useId"),_=h.data("defaultLabel"),C=h.data("defaultNo"),T=(h.data("issuableId"),h.data("abilityName")),k=h.closest(".selectbox"),x=k.closest(".block"),S=x.find(".sidebar-collapsed-icon"),A=x.find(".value"),O=x.find(".block-loading").fadeOut();return d=g?"":null,d=v&&C?"No Milestone":d,f=h.data("selected")||d,m&&(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>'),h.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"}),v&&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&&h.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:h.data("fieldName"),text:function(e){return a.a.escape(e.title)},id:function(e){return E||h.is(".js-issuable-form-dropdown")?e.id:e.name},hidden:function(){return k.hide(),A.css("display","")},opened:function(e){var n=i()(e.currentTarget);(h.hasClass("js-issue-board-sidebar")||t.handleClick)&&(f=h[0].dataset.selected||d),i()("a.is-active",n).removeClass("is-active"),i()('[data-milestone-id="'+a.a.escape(f)+'"] > a',n).addClass("is-active")},vue:h.hasClass("js-issue-board-sidebar"),clicked:function(e){e.$el;var n=e.e,a=e.selectedObj,p=void 0,v=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:d,h.hasClass("js-filter-bulk-update")||h.hasClass("js-issuable-form-dropdown"))n.preventDefault();else if(h.closest(".add-issues-modal").length&&(v=c.a.store.filter),v)v[h.data("fieldName")]=a.name,n.preventDefault();else{if(h.hasClass("js-filter-submit")&&(y||b))return Issuable.filterResults(h.closest("form"));if(h.hasClass("js-filter-submit"))return h.closest("form").submit();if(!h.hasClass("js-issue-board-sidebar"))return a=k.find('input[type="hidden"]').val(),(p={})[T]={},p[T].milestone_id=null!=a?a:null,O.removeClass("hidden").fadeIn(),h.trigger("loading.gl.dropdown"),u.a.put(m,p).then(function(e){var t=e.data;return h.trigger("loaded.gl.dropdown"),O.fadeOut(),k.hide(),A.css("display",""),null!=t.milestone?(t.milestone.remaining=Object(l.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"),h.trigger("loading.gl.dropdown"),O.removeClass("hidden").fadeIn(),gl.issueBoards.BoardsStore.detail.issue.update(h.attr("data-issue-update")).then(function(){h.trigger("loaded.gl.dropdown"),O.fadeOut()}).catch(function(){O.fadeOut()})}}}})})}}]),e}();t.a=d,window.MilestoneSelect=d},,,,,,,function(e,t,n){"use strict";var r=["danger","primary","success","warning"],i=["sm","md","lg","xl"],o={name:"GlModal",props:{id:{type:String,required:!1,default:null},modalSize:{type:String,required:!1,default:"md",validator:function(e){return i.includes(e)}},headerTitleText:{type:String,required:!1,default:""},footerPrimaryButtonVariant:{type:String,required:!1,default:"primary",validator:function(e){return r.includes(e)}},footerPrimaryButtonText:{type:String,required:!1,default:""}},computed:{modalSizeClass:function(){return"md"===this.modalSize?"":"modal-"+this.modalSize}},methods:{emitCancel:function(e){this.$emit("cancel",e)},emitSubmit:function(e){this.$emit("submit",e)}}},a=n(2),s=Object(a.a)(o,function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"modal fade",attrs:{id:e.id,tabindex:"-1",role:"dialog"}},[n("div",{staticClass:"modal-dialog",class:e.modalSizeClass,attrs:{role:"document"}},[n("div",{staticClass:"modal-content"},[n("div",{staticClass:"modal-header"},[e._t("header",[n("h4",{staticClass:"modal-title"},[e._t("title",[e._v("\n              "+e._s(e.headerTitleText)+"\n            ")])],2),e._v(" "),n("button",{staticClass:"close js-modal-close-action",attrs:{"aria-label":e.s__("Modal|Close"),type:"button","data-dismiss":"modal"},on:{click:function(t){e.emitCancel(t)}}},[n("span",{attrs:{"aria-hidden":"true"}},[e._v("×")])])])],2),e._v(" "),n("div",{staticClass:"modal-body"},[e._t("default")],2),e._v(" "),n("div",{staticClass:"modal-footer"},[e._t("footer",[n("button",{staticClass:"btn js-modal-cancel-action",attrs:{type:"button","data-dismiss":"modal"},on:{click:function(t){e.emitCancel(t)}}},[e._v("\n            "+e._s(e.s__("Modal|Cancel"))+"\n          ")]),e._v(" "),n("button",{staticClass:"btn js-modal-primary-action",class:"btn-"+e.footerPrimaryButtonVariant,attrs:{type:"button","data-dismiss":"modal"},on:{click:function(t){e.emitSubmit(t)}}},[e._v("\n            "+e._s(e.footerPrimaryButtonText)+"\n          ")])])],2)])])])},[],!1,null,null,null);t.a=s.exports},,,,,,function(e,t,n){"use strict";n(240);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,l=o||a||s,c=n;return"~"!==l&&"%"!==l&&"@"!==l||(c=l,l=""),u=t+":"+l,-1===i.indexOf(u)&&(i.push(u),r.push({key:t,value:l||"",symbol:c||""})),""}).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},,function(e,t,n){"use strict";var r=n(5),i=n(491),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},,,,,,,,function(e,t,n){"use strict";var r,i,o=n(0),a=n.n(o),s=n(5),u=n(7),l=n(1),c=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(l.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 d=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"),c=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(),d.removeClass("active"),i.showPreview(t))}),a()(document).on("markdown-preview:hide",function(e,t){t&&(r=null,c&&t.find("textarea.markdown-area").height(c),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(),d.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])})},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,l=n(this),c=l?this.contentWindow||window:this,f=e(c),d=i,h={};switch(typeof d){case"number":case"string":if(/^([+-]=?)?\d+(\.\d+)?(px|%)?$/.test(d)){d=r(d);break}d=l?e(d):e(d,c);case"object":if(0===d.length)return;(d.is||d.style)&&(u=(d=e(d)).offset())}var p=e.isFunction(a.offset)&&a.offset(c,d)||a.offset;e.each(a.axis.split(""),function(e,n){var r="x"===n?"Left":"Top",i=r.toLowerCase(),o="scroll"+r,v=f[o](),g=t.max(c,n);if(u)h[o]=u[i]+(l?0:v-f.offset()[i]),a.margin&&(h[o]-=parseInt(d.css("margin"+r),10)||0,h[o]-=parseInt(d.css("border"+r+"Width"),10)||0),h[o]+=p[i]||0,a.over[i]&&(h[o]+=d["x"===n?"width":"height"]()*a.over[i]);else{var y=d[i];h[o]=y.slice&&"%"===y.slice(-1)?parseFloat(y)/100*g:y}a.limit&&/^\d+$/.test(h[o])&&(h[o]=h[o]<=0?0:Math.min(h[o],g)),!e&&a.axis.length>1&&(v===h[o]?h={}:s&&(m(a.onAfterFirst),h={}))}),m(a.onAfter)}function m(t){var n=e.extend({},a,{queue:!0,duration:o,complete:t&&function(){t.call(c,d,a)}});f.animate(h,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,l=s.body;return Math.max(u[o],l[o])-Math.min(u[a],l[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)}()},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},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 c=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),l(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 d=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}(),h=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 m=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?d:c;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(),h(),this.fireReady(),this.queuedData.forEach(function(e){return i.addData(e)}),this.queuedData=[],this}}]),e}();t.a=m},,,,,,,,,,,,,,,,,,,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)()}},,,,function(e,t){var n=e.exports={version:"2.5.3"};"number"==typeof __e&&(__e=n)},,,,,,,,,,,,,,,,,,function(e,t,n){var r=n(588)("wks"),i=n(408),o=n(209).Symbol,a="function"==typeof o;(e.exports=function(e){return r[e]||(r[e]=a&&o[e]||(a?o:i)("Symbol."+e))}).store=r},,,,function(e,t,n){"use strict";var r=n(0),i=n.n(r),o=n(38),a=n.n(o),s=n(29),u=n.n(s),l=n(5),c=n(21),f=n(74),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 h=u.a.stopCallback;u.a.stopCallback=function(e,t,n){return-1===["ctrl+shift+p","command+shift+p"].indexOf(n)&&h(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(c.g)(t)}),i()(document).on("click.more_help",".js-more-help-button",function(e){i()(this).remove(),i()(".hidden-shortcut").show(),e.preventDefault()})}return d(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(c.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):l.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},function(e,t,n){"use strict";n.d(t,"a",function(){return E});var r=n(0),i=n.n(r),o=n(3),a=n.n(o),s=n(38),u=n.n(s),l=n(1),c=n(11),f=n(174),d=n(7),h=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 m="transitionend webkitTransitionEnd oTransitionEnd MSTransitionEnd",v=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){var n=this;!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.registerEventListener("one",i()(document),"mouseenter focus",".js-add-award","mouseenter focus",function(){0===i()(".emoji-menu").length&&v(function(){n.createEmojiMenu()})}),this.registerEventListener("on",i()(document),"click",".js-add-award",function(e){e.stopPropagation(),e.preventDefault(),n.showEmojiMenu(i()(e.currentTarget))}),this.registerEventListener("on",i()("html"),"click",function(e){i()(e.target).closest(".emoji-menu").length||(i()(".js-awards-block.current").removeClass("current"),i()(".emoji-menu").is(":visible")&&(i()(".js-add-award.is-active").removeClass("is-active"),n.hideMenuElement(i()(".emoji-menu"))))}),this.registerEventListener("on",i()(document),"click",".js-emoji-btn",function(e){e.preventDefault();var t=i()(e.currentTarget),r=t.find("gl-emoji"),o=t.find(".icon"),a=(r.length?r:o).data("name");t.closest(".js-awards-block").addClass("current"),n.addAward(n.getVotesBlock(),n.getAwardUrl(),a)})}return p(e,[{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()(".emoji-menu"),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()(".emoji-menu");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">\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(".emoji-menu"),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);v(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()(".emoji-menu")),i()(".js-add-award.is-active").removeClass("is-active");var l=new CustomEvent("toggleAward",{detail:{awardName:n,noteId:u}});document.querySelector(".js-vue-notes-event").dispatchEvent(l)}var c=this.emoji.normalizeEmojiName(n),d=this.findEmojiIcon(e,c).parent();return this.postEmoji(d,t,c,function(){return a.addAwardToEmojiBar(e,c,r),"function"==typeof o?o():void 0}),this.hideMenuElement(i()(".emoji-menu")),i()(".js-add-award.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()(".js-add-award.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()(".emoji-menu").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):h.a.post(t,{name:n}).then(function(e){e.data.ok&&r()}).catch(function(){return Object(d.a)(Object(l.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(c.J)(e,"You cannot vote on your own issue, MR and note").tooltip("show"),setTimeout(function(){e.tooltip("hide"),Object(c.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()(".emoji-menu");this.registerEventListener("on",n,m,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(m,function(t){t.currentTarget===t.target&&e.removeClass("is-rendered").off(m)}),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()(".emoji-menu").remove()}}]),e}(),w=null;function E(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return w&&!e||(w=n.e(3).then(n.bind(null,336)).then(function(e){return new b(e)})),w}},,,,,,,,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)},,,function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},function(e,t,n){var r=n(209),i=n(178),o=n(349),a=n(322),s=n(321),u=function(e,t,n){var l,c,f,d,h=e&u.F,p=e&u.G,m=e&u.S,v=e&u.P,g=e&u.B,y=p?r:m?r[t]||(r[t]={}):(r[t]||{}).prototype,b=p?i:i[t]||(i[t]={}),w=b.prototype||(b.prototype={});for(l in p&&(n=t),n)f=((c=!h&&y&&void 0!==y[l])?y:n)[l],d=g&&c?s(f,r):v&&"function"==typeof f?s(Function.call,f):f,y&&a(y,l,f,e&u.U),b[l]!=f&&o(b,l,d),v&&w[l]!=f&&(w[l]=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},,,,,,,,,,,,,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,l={}.hasOwnProperty,c=[].slice,f=!1,d="undefined"!=typeof window;function h(e){return e?e.replace(/^\s*|\s*$/g,""):""}function p(e){return e?e.toLowerCase():""}var m=Array.isArray;function v(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(m(e))for(n=0;n<e.length;n++)t.call(e[n],e[n],n);else if(y(e))for(r in e)l.call(e,r)&&t.call(e[r],e[r],r);return e}var C=Object.assign||function(e){return c.call(arguments,1).forEach(function(t){k(e,t)}),e};function T(e){return c.call(arguments,1).forEach(function(t){k(e,t,!0)}),e}function k(e,t,n){for(var r in t)n&&(b(t[r])||m(t[r]))?(b(t[r])&&!b(e[r])&&(e[r]={}),m(t[r])&&!m(e[r])&&(e[r]=[]),k(e[r],t[r],n)):void 0!==t[r]&&(e[r]=t[r])}function x(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 v(e)&&(i={url:e,params:t}),i=T({},I.options,r.$options,i),I.transforms.forEach(function(e){v(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=x(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 v(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=m(n),a=b(n);_(n,function(n,s){i=y(n)||m(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=d&&"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":h(n.statusText)});_(h(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(1117);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:h(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||(d?N:M))(e)}var R=function(e){var t=this;this.map={},_(e,function(e,n){return t.append(n,e)})};function q(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!==q(this.map,e)},R.prototype.get=function(e){var t=this.map[q(this.map,e)];return t?t.join():null},R.prototype.getAll=function(e){return this.map[q(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 h(e)}(q(this.map,e)||e)]=[h(t)]},R.prototype.append=function(e,t){var n=this.map[q(this.map,e)];n?n.push(h(t)):this.set(e,t)},R.prototype.delete=function(e){delete this.map[q(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 H=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,v(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)))};H.prototype.blob=function(){return w(this.bodyBlob)},H.prototype.text=function(){return w(this.bodyText)},H.prototype.json=function(){return w(this.text(),function(e){return JSON.parse(e)})},Object.defineProperty(H.prototype,"data",{get:function(){return this.body},set:function(e){this.body=e}});var $=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))};$.prototype.getUrl=function(){return I(this)},$.prototype.getBody=function(){return this.body},$.prototype.respondWith=function(e,t){return new H(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){c.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){v(e)&&(e=U.interceptor[e]),g(e)&&n.use(e)}),n(new $(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(d){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},,,,,,,,,,,,,,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},,,,,,,,,,,function(e,t,n){(function(t){(function(){var r,i,o,a,s,u,l,c;o=n(1091),a=n(1090),c=n(456),u=n(574),r=n(603),l=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):c.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=l&&l.query===t?l:l=new r(t,e)),e}}).call(this)}).call(this,n(393))},,,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},function(e,t,n){"use strict";var r=n(609),i=n(1115),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 l(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:l,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++)l(arguments[r],n);return t},extend:function(e,t,n){return l(t,function(t,i){e[i]=n&&"function"==typeof t?r(t,n):t}),e},trim:function(e){return e.replace(/^\s*/,"").replace(/\s*$/,"")}}},,,function(e,t,n){"use strict";var r=n(3),i=n.n(r),o=n(155),a=n(102),s=n(240),u=n(63),l={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)}},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 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 c(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}(),d=n(52),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 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),h(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&&d.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,[l],this.config),this.droplab.setData(this.hookId,e)}},{key:"init",value:function(){this.droplab.addHook(this.input,this.dropdown,[l],this.config).init()}}]),t}(),m=n(7),v=n(145),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),v.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 v.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 m.a("An error occurred fetching the dropdown data.")}},Filter:{template:"name"}},n.e(3).then(n.bind(null,336)).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,l],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,l],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 m.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,l],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,l],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 v.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)}},k=n(174),x=n(143),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 m.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(k.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=x.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,l=t.isGroupAncestor,c=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=l,this.includeDescendantGroups=c,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");d.a.addFilterVisualToken(e,t),r.value="",n&&d.a.moveInputToTheRight()}}]),e}(),D=t.a=I},,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){var r=n(212);e.exports=function(e){if(!r(e))throw TypeError(e+" is not an object!");return e}},,,,,,,,,function(e,t,n){"use strict";n.d(t,"c",function(){return s}),n.d(t,"b",function(){return l}),n.d(t,"a",function(){return c});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 l(){var e=i()(this);s.call(e,!0)&&i()(".popover").on("mouseleave",u.bind(e))}function c(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:300;return a.a.debounce(u,e)}},function(e,t,n){e.exports=n(1116)},function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},function(e,t,n){var r=n(284),i=n(631),o=n(592),a=Object.defineProperty;t.f=n(323)?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}},,,,,,,,,,,,,,,,,,,,,,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=c[n]?n:c[r]?r:"en";for(var i=0,o=e<0?1:0,a=e=Math.abs(e);e>=f[i]&&i<d;i++)e/=f[i];return(e=t(e))>(0===(i*=2)?9:1)&&(i+=1),c[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("_"),l="秒_分钟_小时_天_周_月_年".split("_"),c={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=l[parseInt(t/2)];return[e+n+"前",e+n+"后"]}},f=[60,60,24,7,365/7/12,12],d=6,h="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<d;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(h,t):e.attr&&e.attr(h,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){c[e]=t},s.cancel=function(e){var t;if(e)(t=o(e,h))&&(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()},,,function(e,t,n){var r=n(465);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)}}},function(e,t,n){var r=n(209),i=n(349),o=n(295),a=n(408)("src"),s=Function.toString,u=(""+s).split("toString");n(178).inspectSource=function(e){return s.call(e)},(e.exports=function(e,t,n,s){var l="function"==typeof n;l&&(o(n,"name")||i(n,"name",t)),e[t]!==n&&(l&&(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)})},function(e,t,n){e.exports=!n(348)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},,,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";n.d(t,"a",function(){return f}),n.d(t,"b",function(){return d});var r=n(0),i=n.n(r),o=n(3),a=n.n(o),s=n(11),u=n(125),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 c={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 l(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 c){var o=c[i];for(var a in o){var u=o[a];if(Object(s.y)(e,a)){var l=void 0;if(2===u.length){if(0===r.length)continue;l=u(e,r)}else l=u(e);if(!1!==l)return l}}}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 l=r.innerText||r.textContent;return t||(l=l.trim()),l}}]),e}();function d(){return new f}},,,function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,t,n){var r=n(296),i=n(409);e.exports=n(323)?function(e,t,n){return r.f(e,t,i(1,n))}:function(e,t,n){return e[t]=n,e}},,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";var r=n(8),i=n(226),o=n(65);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})})},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 l(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 c(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 l,c,f,d,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;l=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,l,c,f,d,h,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&&(h=i.attr("data-atwho-at-query"))&&(i.empty().html(h).attr("data-atwho-at-query",null),this._setRange("after",i.get(0),p)),(o=p.cloneRange()).setStart(p.startContainer,0),c=this.callbacks("matcher").call(this,this.at,o.toString(),this.getOpt("startWithSpace"),this.getOpt("acceptSpaceBar")),u="string"==typeof c,0===i.length&&u&&(a=p.startOffset-this.at.length-c.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)),l=i.contents().last().get(0),/firefox/i.test(navigator.userAgent)?(p.setStart(l,l.length),p.setEnd(l,l.length),this._clearRange(p)):this._setRange("after",l,p)),!(u&&c.length<this.getOpt("minLen",0)))return u&&c.length<=this.getOpt("maxLen",20)?(d={text:c,el:i},this.trigger("matched",[this.at,d.text]),this.query=d):(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),c=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}(),d={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?d[t]&&a?i=d[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)},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,l,c,f,d;for(f=o.childNodes,d=[],l=0,c=f.length;l<c&&(s=f[l],!n);l++)if(3===s.nodeType){if(r+s.length>=e){n=!0,(u=a.createRange()).setStart(s,e-r),i.removeAllRanges(),i.addRange(u);break}d.push(r+=s.length)}else d.push(t(e,s));return d})(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 l;return o[r]?(e.isPlainObject(a)?(u(a),a=void 0):u(s),l=i.contentEditable(this)?new t(this):new n(this),o[r].apply(l,[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)},function(e,t,n){var r=n(587),i=n(591);e.exports=function(e){return r(i(e))}},,,,function(e,t,n){"use strict";var r={props:{entityId:{type:Number,required:!0},entityName:{type:String,required:!0},sizeClass:{type:String,required:!1,default:"s40"}},computed:{identiconStyles:function(){return"background-color: "+["#FFEBEE","#F3E5F5","#E8EAF6","#E3F2FD","#E0F2F1","#FBE9E7","#EEEEEE"][this.entityId%7]+"; color: #555;"},identiconTitle:function(){return this.entityName.charAt(0).toUpperCase()}}},i=n(2),o=Object(i.a)(r,function(){var e=this.$createElement;return(this._self._c||e)("div",{staticClass:"avatar identicon",class:this.sizeClass,style:this.identiconStyles},[this._v("\n  "+this._s(this.identiconTitle)+"\n")])},[],!1,null,null,null);t.a=o.exports},,,,,,,,,,,,,,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,l=[],c=!1,f=-1;function d(){c&&u&&(c=!1,u.length?l=u.concat(l):f=-1,l.length&&h())}function h(){if(!c){var e=s(d);c=!0;for(var t=l.length;t;){for(u=l,l=[];++f<t;)u&&u[f].run();f=-1,t=l.length}u=null,c=!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 m(){}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];l.push(new p(e,t)),1!==l.length||c||s(h)},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=m,i.addListener=m,i.once=m,i.off=m,i.removeListener=m,i.removeAllListeners=m,i.emit=m,i.prependListener=m,i.prependOnceListener=m,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}},,,,,,,function(e,t,n){var r=n(408)("meta"),i=n(212),o=n(295),a=n(296).f,s=0,u=Object.isExtensible||function(){return!0},l=!n(348)(function(){return u(Object.preventExtensions({}))}),c=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";c(e)}return e[r].i},getWeak:function(e,t){if(!o(e,r)){if(!u(e))return!0;if(!t)return!1;c(e)}return e[r].w},onFreeze:function(e){return l&&f.NEED&&u(e)&&!o(e,r)&&c(e),e}}},function(e,t,n){var r=n(296).f,i=n(295),o=n(196)("toStringTag");e.exports=function(e,t,n){e&&!i(e=n?e:e.prototype,o)&&r(e,o,{configurable:!0,value:t})}},function(e,t,n){var r=n(628),i=n(582);e.exports=Object.keys||function(e){return r(e,i)}},function(e,t){e.exports={}},function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},function(e,t,n){var r=n(196)("unscopables"),i=Array.prototype;void 0==i[r]&&n(349)(i,r,{}),e.exports=function(e){i[r][e]=!0}},function(e,t,n){var r=n(589),i=Math.min;e.exports=function(e){return e>0?i(r(e),9007199254740991):0}},function(e,t,n){var r=n(591);e.exports=function(e){return Object(r(e))}},function(e,t){var n=0,r=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++n+r).toString(36))}},function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,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},,,,,,,,function(e,t,n){"use strict";n.d(t,"a",function(){return r});var r=function(e){return e&&e.constructor===Object}},function(e,t){(function(){var e,n,r,i,o,a,s,u,l,c,f,d,h,p,m,v;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,l;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&&(l=e.charCodeAt(r))!==s&&l!==u;);if(r===o)return!1}return!0},t.computeScore=n=function(e,t,n){var r,i,o,a,s,p,m,g,y,b,w,E,_,C,T,k,x,S,A,O,j,I,D,L;if(T=n.query,k=n.query_lw,b=e.length,_=T.length,i=(r=l(e,t,T,k)).score,r.count===_)return d(_,b,i,r.pos);if((C=t.indexOf(k))>-1)return h(e,t,T,k,C,_,b);for(O=new Array(_),s=new Array(_),L=v(_,b),E=w=Math.ceil(.75*_)+5,m=!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(m){for(y=-1;++y<_;)s[y]=0;m=!1}}else for(S=0,A=0,a=0,x=!0,m=!0,y=-1;++y<_;){if((j=O[y])>S&&(S=j),p=0,k[y]===I)if(D=u(g,e,t),p=a>0?a:f(e,t,T,k,g,y,D),(o=A+c(g,y,D,i,p))>S)S=o,E=w;else{if(x&&--E<=0)return Math.max(S,O[_-1])*L;x=!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},m=function(e){var t;return e<20?100+(t=20-e)*t:Math.max(120-e,0)},t.scoreSize=v=function(e,t){return 85/(85+Math.abs(t-e))},d=function(e,t,n,r){return 2*e*(150*n+m(r))*v(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=c=function(e,t,n,r,i){var o;return o=m(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,l,c,f,d,h,m;for(u=(c=(l=e.length)-i)<(d=(f=n.length)-o)?c:d,h=0,m=0,n[o]===e[i]&&h++;++m<u&&r[++o]===t[++i];)n[o]===e[i]&&h++;return 1===m?1+2*h:p(m,f,h,a,s(i,e,t,l))},t.scoreExactMatch=h=function(e,t,n,r,i,o,a){var l,c,f,h,m;for((m=u(i,e,t))||(f=t.indexOf(r,i+1))>-1&&(m=u(f,e,t))&&(i=f),c=-1,h=0;++c<o;)n[i+c]===e[c]&&h++;return l=s(i+o-1,e,t,a),d(o,a,p(o,o,h,m,l),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=l=function(t,n,o,s){var l,c,f,d,h,m,v,g,y,b,w;if(h=t.length,m=o.length,!(h>1&&m>1))return r;for(l=0,b=0,w=0,g=0,f=-1,d=-1;++d<m;){if(v=s[d],a(v)){if((f=n.indexOf(v,f+1))>-1){b++;continue}break}for(;++f<h;)if(v===n[f]&&u(f,t,n)){o[d]===t[f]&&g++,w+=f,l++;break}if(f===h)break}return l<2?r:(c=l===m&&i(t,n,o,l),y=p(l,m,g,!0,c),new e(y,w/l,l+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)},function(e,t,n){var r=n(212);e.exports=function(e,t){if(!r(e)||e._t!==t)throw TypeError("Incompatible receiver, "+t+" required!");return e}},function(e,t,n){var r=n(322);e.exports=function(e,t,n){for(var i in t)r(e,i,t[i],n);return e}},function(e,t,n){var r=n(321),i=n(625),o=n(624),a=n(284),s=n(406),u=n(623),l={},c={};(t=e.exports=function(e,t,n,f,d){var h,p,m,v,g=d?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(h=s(e.length);h>b;b++)if((v=t?y(a(p=e[b])[0],p[1]):y(e[b]))===l||v===c)return v}else for(m=g.call(e);!(p=m.next()).done;)if((v=i(m,y,p.value,t))===l||v===c)return v}).BREAK=l,t.RETURN=c},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}},function(e,t,n){"use strict";var r=n(581),i={};i[n(196)("toStringTag")]="z",i+""!="[object z]"&&n(322)(Object.prototype,"toString",function(){return"[object "+r(this)+"]"},!0)},function(e,t){t.f={}.propertyIsEnumerable},function(e,t){e.exports=!1},function(e,t,n){var r=n(321),i=n(587),o=n(407),a=n(406),s=n(1167);e.exports=function(e,t){var n=1==e,u=2==e,l=3==e,c=4==e,f=6==e,d=5==e||f,h=t||s;return function(t,s,p){for(var m,v,g=o(t),y=i(g),b=r(s,p,3),w=a(y.length),E=0,_=n?h(t,w):u?h(t,0):void 0;w>E;E++)if((d||E in y)&&(v=b(m=y[E],E,g),e))if(n)_[E]=v;else if(v)switch(e){case 3:return!0;case 5:return m;case 6:return E;case 2:_.push(m)}else if(c)return!1;return f?-1:l||c?c:_}}},function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},,,,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 l=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=l},,,,,,,,,,,,,,,,,,,,,,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},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){(function(){var e,r,i,o,a,s,u;u=n(456),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,l,c,f,d,h,p,m,v,g;if(0===o)return 0;for(v=a.preparedQuery,g=a.useExtensionBonus,m=a.pathSeparator,d=t.length-1;t[d]===m;)d--;if(p=d-(c=t.lastIndexOf(m,d)),h=1,g&&(o*=h+=i(n,v.ext,c,d,2)),-1===c)return o;for(f=v.depth;c>-1&&f-- >0;)c=t.lastIndexOf(m,c-1);return l=-1===c?o:h*e(t.slice(c+1,d+1),n.slice(c+1,d+1),v),(u=6.5/(13+r(t,d+1,m)))*l+(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,l;if(!t.length)return 0;if(!((l=e.lastIndexOf(".",r))>n))return 0;for((a=r-l)<(u=t.length)&&(u=a,a=t.length),l++,s=-1;++s<u&&e[l+s]===t[s];);return 0===s&&o>0?.9*i(e,t,n,l-2,o-1):s/a}}).call(this)},function(e,t,n){"use strict";(function(t){var r=n(255),i=n(1113),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(608):void 0!==t&&(s=n(608)),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(393))},function(e,t,n){"use strict";var r=n(0),i=n.n(r);n(1120);i.a.fn.extend({disable:function(){return i()(this).prop("disabled",!0).addClass("disabled")},enable:function(){return i()(this).prop("disabled",!1).removeClass("disabled")}})},function(e,t,n){var r=n(209),i=n(178),o=n(463),a=n(613),s=n(296).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)})}},function(e,t,n){"use strict";var r=n(465);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)}},function(e,t){t.f=Object.getOwnPropertySymbols},function(e,t,n){var r=n(196)("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}},function(e,t,n){var r=n(404),i=n(196)("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}},function(e,t){e.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(e,t,n){var r=n(588)("keys"),i=n(408);e.exports=function(e){return r[e]||(r[e]=i(e))}},function(e,t,n){var r=n(284),i=n(1161),o=n(582),a=n(583)("IE_PROTO"),s=function(){},u=function(){var e,t=n(593)("iframe"),r=o.length;for(t.style.display="none",n(626).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)}},function(e,t,n){"use strict";var r=n(463),i=n(213),o=n(322),a=n(349),s=n(295),u=n(403),l=n(1162),c=n(401),f=n(1160),d=n(196)("iterator"),h=!([].keys&&"next"in[].keys()),p=function(){return this};e.exports=function(e,t,n,m,v,g,y){l(n,t,m);var b,w,E,_=function(e){if(!h&&e in x)return x[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"==v,k=!1,x=e.prototype,S=x[d]||x["@@iterator"]||v&&x[v],A=!h&&S||_(v),O=v?T?_("entries"):A:void 0,j="Array"==t&&x.entries||S;if(j&&(E=f(j.call(new e)))!==Object.prototype&&E.next&&(c(E,C,!0),r||s(E,d)||a(E,d,p)),T&&S&&"values"!==S.name&&(k=!0,A=function(){return S.call(this)}),r&&!y||!h&&!k&&x[d]||a(x,d,A),u[t]=A,u[C]=p,v)if(b={values:T?A:_("values"),keys:g?A:_("keys"),entries:O},y)for(w in b)w in x||o(x,w,b[w]);else i(i.P+i.F*(h||k),t,b);return b}},function(e,t,n){"use strict";var r=n(629)(!0);n(585)(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})})},function(e,t,n){var r=n(404);e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==r(e)?e.split(""):Object(e)}},function(e,t,n){var r=n(209),i=r["__core-js_shared__"]||(r["__core-js_shared__"]={});e.exports=function(e){return i[e]||(i[e]={})}},function(e,t){var n=Math.ceil,r=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?r:n)(e)}},function(e,t,n){var r=n(589),i=Math.max,o=Math.min;e.exports=function(e,t){return(e=r(e))<0?i(e+t,0):o(e,t)}},function(e,t){e.exports=function(e){if(void 0==e)throw TypeError("Can't call method on  "+e);return e}},function(e,t,n){var r=n(212);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")}},function(e,t,n){var r=n(212),i=n(209).document,o=r(i)&&r(i.createElement);e.exports=function(e){return o?i.createElement(e):{}}},,,,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}},,,,,,function(e,t,n){(function(){var t,r,i,o,a,s,u;u=n(574),r=u.countDir,o=u.getExtension,e.exports=function(){return function(e,n){var a,u,l;if(a=(l=null!=n?n:{}).optCharRegEx,u=l.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)},function(e,t,n){"use strict";var r,i,o,a,s=n(0),u=n.n(s),l=n(3),c=n.n(l),f=n(251),d=n.n(f),h=n(5),p=n(21),m=n(455),v="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(c.a.isArray(t))o=d.a.filter(t,e,{key:this.options.keys});else if(Object(m.a)(t))for(i in o={},t)r=t[i],(a=d.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=d.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(),h.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 l(l,f){var d,h,p,m;this.el=l,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),h=u()(this.el).data("target"),this.dropdown=null!=h?u()(h):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.filterInputBlur=null==this.options.filterInputBlur||this.options.filterInputBlur,p=this,c.a.isString(this.filterInput)&&(this.filterInput=this.getElement(this.filterInput)),d=this.options.search?this.options.search.fields:[],this.options.data&&(c.a.isObject(this.options.data)&&!c.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:(m=this,function(e){if(m.fullData=e,m.parseData(m.fullData),m.focusTextInput(),m.options.filterable&&m.filter&&m.filter.input&&m.filter.input.val()&&""!==m.filter.input.val().trim())return m.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:d,instance:this,elements:function(e){return function(){return h=".dropdown-content li:not("+n+")",e.dropdown.find(".dropdown-toggle-page").length&&(h=".dropdown-page-one "+h),u()(h,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()&&(h=r,e.dropdown.find(".dropdown-toggle-page").length&&(h=".dropdown-page-one "+h),u()(e.el).is("input")?s=-1:(u()(h,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&&(h=".dropdown-content a",this.dropdown.find(".dropdown-toggle-page").length&&(h=".dropdown-page-one .dropdown-content a"),this.dropdown.on("click",h,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",l.prototype.getElement=function(e){return this.dropdown.find(e)},l.prototype.toggleLoading=function(){return u()(".dropdown-menu",this.dropdown).toggleClass("is-loading")},l.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()},l.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(m.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)},l.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},l.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)},l.prototype.filteredFullData=function(){return this.fullData.filter(function(e){return"object"===(void 0===e?"undefined":v(e))&&!Object.prototype.hasOwnProperty.call(e,"beforeDivider")&&!Object.prototype.hasOwnProperty.call(e,"header")})},l.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.opened.call(this,e),this.dropdown.trigger("shown.gl.dropdown")},l.prototype.positionMenuAbove=function(){var e=this.dropdown.find(".dropdown-menu");e.addClass("dropdown-open-top"),e.css("top","initial"),e.css("bottom","100%")},l.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")},l.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},l.prototype.appendMenu=function(e){return this.clearMenu().append(e)},l.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()},l.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=this.highlightTextMatches(o,this.filterInput.val()));var l=document.createElement("a");l.href=a,this.highlight?l.innerHTML=o:l.textContent=o,i&&(l.className="is-active"),t&&(l.dataset.group=t,l.dataset.index=n),r.appendChild(l)}return r},l.prototype.highlightTextMatches=function(e,t){var n=d.a.match(e,t),r=[].indexOf;return e.split("").map(function(e,t){return-1!==r.call(n,t)?"<b>"+e+"</b>":e}).join("")},l.prototype.noResults=function(){return'<li class="dropdown-menu-empty-item"><a>No matching results</a></li>'},l.prototype.rowClicked=function(e){var t,n,r,i,o,a,s,l=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='"+l+"'][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||!l||this.addInput(l,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='"+l+"']").remove()),t&&t.length&&null==a&&this.clearField(t,r),e.addClass("is-active"),null!=a&&(t&&t.length||!l?t&&t.length&&t.val(a).trigger("change"):this.addInput(l,a,o))),[o,s]))},l.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)}},l.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")},l.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")}},l.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())}))},l.prototype.removeArrayKeyEvent=function(){return u()("body").off("keydown")},l.prototype.resetRows=function(){s=-1,u()(".is-focused",this.dropdown).removeClass("is-focused")},l.prototype.highlightRowAtIndex=function(e,t){var n,r,i,o,a,s,l,c,f;if(u()(".is-focused",this.dropdown).removeClass("is-focused"),(r=e.eq(t)).find("a:first-child").addClass("is-focused"),s=(n=r.closest(".dropdown-content")).scrollTop(),o=n.outerHeight(),i=(a=n.prop("offsetTop"))+o,c=r.outerHeight(),l=(f=r.prop("offsetTop"))+c,t){if(t===e.length-1)n.scrollTop(n.prop("scrollHeight"));else if(l>i+s)n.scrollTop(l-i+5);else if(f<a+s)return n.scrollTop(f-a-5)}else n.scrollTop(0)},l.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)},l.prototype.clearField=function(e,t){return t?e.val(""):e.remove()},l}(),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))})}},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},function(e,t,n){"use strict";e.exports=function(e){return!(!e||!e.__CANCEL__)}},function(e,t,n){"use strict";var r=n(1111);e.exports=function(e,t,n,i,o){var a=new Error(e);return r(a,t,n,i,o)}},function(e,t,n){"use strict";var r=n(255),i=n(1112),o=n(1110),a=n(1109),s=n(1108),u=n(607),l="undefined"!=typeof window&&window.btoa&&window.btoa.bind(window)||n(1107);e.exports=function(e){return new Promise(function(t,c){var f=e.data,d=e.headers;r.isFormData(f)&&delete d["Content-Type"];var h=new XMLHttpRequest,p="onreadystatechange",m=!1;if("undefined"==typeof window||!window.XDomainRequest||"withCredentials"in h||s(e.url)||(h=new window.XDomainRequest,p="onload",m=!0,h.onprogress=function(){},h.ontimeout=function(){}),e.auth){var v=e.auth.username||"",g=e.auth.password||"";d.Authorization="Basic "+l(v+":"+g)}if(h.open(e.method.toUpperCase(),o(e.url,e.params,e.paramsSerializer),!0),h.timeout=e.timeout,h[p]=function(){if(h&&(4===h.readyState||m)&&(0!==h.status||h.responseURL&&0===h.responseURL.indexOf("file:"))){var n="getAllResponseHeaders"in h?a(h.getAllResponseHeaders()):null,r={data:e.responseType&&"text"!==e.responseType?h.response:h.responseText,status:1223===h.status?204:h.status,statusText:1223===h.status?"No Content":h.statusText,headers:n,config:e,request:h};i(t,c,r),h=null}},h.onerror=function(){c(u("Network Error",e,null,h)),h=null},h.ontimeout=function(){c(u("timeout of "+e.timeout+"ms exceeded",e,"ECONNABORTED",h)),h=null},r.isStandardBrowserEnv()){var y=n(1106),b=(e.withCredentials||s(e.url))&&e.xsrfCookieName?y.read(e.xsrfCookieName):void 0;b&&(d[e.xsrfHeaderName]=b)}if("setRequestHeader"in h&&r.forEach(d,function(e,t){void 0===f&&"content-type"===t.toLowerCase()?delete d[t]:h.setRequestHeader(t,e)}),e.withCredentials&&(h.withCredentials=!0),e.responseType)try{h.responseType=e.responseType}catch(t){if("json"!==e.responseType)throw t}"function"==typeof e.onDownloadProgress&&h.addEventListener("progress",e.onDownloadProgress),"function"==typeof e.onUploadProgress&&h.upload&&h.upload.addEventListener("progress",e.onUploadProgress),e.cancelToken&&e.cancelToken.promise.then(function(e){h&&(h.abort(),c(e),h=null)}),void 0===f&&(f=null),h.send(f)})}},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)}}},function(e,t,n){"use strict";var r=n(209),i=n(213),o=n(322),a=n(458),s=n(400),u=n(459),l=n(460),c=n(212),f=n(348),d=n(580),h=n(401),p=n(1134);e.exports=function(e,t,n,m,v,g){var y=r[e],b=y,w=v?"set":"add",E=b&&b.prototype,_={},C=function(e){var t=E[e];o(E,e,"delete"==e?function(e){return!(g&&!c(e))&&t.call(this,0===e?0:e)}:"has"==e?function(e){return!(g&&!c(e))&&t.call(this,0===e?0:e)}:"get"==e?function(e){return g&&!c(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,k=T[w](g?{}:-0,1)!=T,x=f(function(){T.has(1)}),S=d(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){l(t,b,e);var r=p(new y,t,b);return void 0!=n&&u(n,v,r[w],r),r})).prototype=E,E.constructor=b),(x||A)&&(C("delete"),C("has"),v&&C("get")),(A||k)&&C(w),g&&E.clear&&delete E.clear}else b=m.getConstructor(t,e,v,w),a(b.prototype,n),s.NEED=!0;return h(b,e),_[e]=b,i(i.G+i.W+i.F*(b!=y),_),g||m.setStrong(b,e,v),b}},function(e,t,n){var r=n(462),i=n(409),o=n(375),a=n(592),s=n(295),u=n(631),l=Object.getOwnPropertyDescriptor;t.f=n(323)?l:function(e,t){if(e=o(e),t=a(t,!0),u)try{return l(e,t)}catch(e){}if(s(e,t))return i(!r.f.call(e,t),e[t])}},function(e,t,n){var r=n(628),i=n(582).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,i)}},function(e,t,n){t.f=n(196)},function(e,t,n){"use strict";var r=n(209),i=n(296),o=n(323),a=n(196)("species");e.exports=function(e){var t=r[e];o&&t&&!t[a]&&i.f(t,a,{configurable:!0,get:function(){return this}})}},function(e,t,n){var r=n(284),i=n(212),o=n(578);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}},function(e,t){e.exports=function(e){try{return{e:!1,v:e()}}catch(e){return{e:!0,v:e}}}},function(e,t,n){var r,i,o,a=n(321),s=n(1151),u=n(626),l=n(593),c=n(209),f=c.process,d=c.setImmediate,h=c.clearImmediate,p=c.MessageChannel,m=c.Dispatch,v=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)};d&&h||(d=function(e){for(var t=[],n=1;arguments.length>n;)t.push(arguments[n++]);return g[++v]=function(){s("function"==typeof e?e:Function(e),t)},r(v),v},h=function(e){delete g[e]},"process"==n(404)(f)?r=function(e){f.nextTick(a(y,e,1))}:m&&m.now?r=function(e){m.now(a(y,e,1))}:p?(o=(i=new p).port2,i.port1.onmessage=b,r=a(o.postMessage,o,1)):c.addEventListener&&"function"==typeof postMessage&&!c.importScripts?(r=function(e){c.postMessage(e+"","*")},c.addEventListener("message",b,!1)):r="onreadystatechange"in l("script")?function(e){u.appendChild(l("script")).onreadystatechange=function(){u.removeChild(this),y.call(e)}}:function(e){setTimeout(a(y,e,1),0)}),e.exports={set:d,clear:h}},function(e,t,n){var r=n(284),i=n(465),o=n(196)("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)}},function(e,t){e.exports=function(e,t){return{value:t,done:!!e}}},function(e,t,n){"use strict";var r=n(405),i=n(619),o=n(403),a=n(375);e.exports=n(585)(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")},function(e,t,n){for(var r=n(620),i=n(402),o=n(322),a=n(209),s=n(349),u=n(403),l=n(196),c=l("iterator"),f=l("toStringTag"),d=u.Array,h={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(h),m=0;m<p.length;m++){var v,g=p[m],y=h[g],b=a[g],w=b&&b.prototype;if(w&&(w[c]||s(w,c,d),w[f]||s(w,f,g),u[g]=d,y))for(v in r)w[v]||o(w,v,r[v],!0)}},function(e,t,n){"use strict";var r=n(402),i=n(579),o=n(462),a=n(407),s=n(587),u=Object.assign;e.exports=!u||n(348)(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,l=1,c=i.f,f=o.f;u>l;)for(var d,h=s(arguments[l++]),p=c?r(h).concat(c(h)):r(h),m=p.length,v=0;m>v;)f.call(h,d=p[v++])&&(n[d]=h[d]);return n}:u},function(e,t,n){var r=n(581),i=n(196)("iterator"),o=n(403);e.exports=n(178).getIteratorMethod=function(e){if(void 0!=e)return e[i]||e["@@iterator"]||o[r(e)]}},function(e,t,n){var r=n(403),i=n(196)("iterator"),o=Array.prototype;e.exports=function(e){return void 0!==e&&(r.Array===e||o[i]===e)}},function(e,t,n){var r=n(284);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}}},function(e,t,n){var r=n(209).document;e.exports=r&&r.documentElement},function(e,t,n){var r=n(375),i=n(406),o=n(590);e.exports=function(e){return function(t,n,a){var s,u=r(t),l=i(u.length),c=o(a,l);if(e&&n!=n){for(;l>c;)if((s=u[c++])!=s)return!0}else for(;l>c;c++)if((e||c in u)&&u[c]===n)return e||c||0;return!e&&-1}}},function(e,t,n){var r=n(295),i=n(375),o=n(627)(!1),a=n(583)("IE_PROTO");e.exports=function(e,t){var n,s=i(e),u=0,l=[];for(n in s)n!=a&&r(s,n)&&l.push(n);for(;t.length>u;)r(s,n=t[u++])&&(~o(l,n)||l.push(n));return l}},function(e,t,n){var r=n(589),i=n(591);e.exports=function(e){return function(t,n){var o,a,s=String(i(t)),u=r(n),l=s.length;return u<0||u>=l?e?"":void 0:(o=s.charCodeAt(u))<55296||o>56319||u+1===l||(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}}},function(e,t,n){var r=n(404);e.exports=Array.isArray||function(e){return"Array"==r(e)}},function(e,t,n){e.exports=!n(323)&&!n(348)(function(){return 7!=Object.defineProperty(n(593)("div"),"a",{get:function(){return 7}}).a})},function(e,t,n){"use strict";var r=n(0),i=n.n(r),o=n(38),a=n.n(o),s=n(3),u=n.n(s),l=n(91),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 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 c(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"!==l.a.getBreakpointSize()&&"md"!==l.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=l.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=l.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"===l.a.getBreakpointSize()&&a.a.set("sidebar_collapsed",e,{expires:3650})}}]),e}(),d=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 h=null,p=void 0,m=void 0,v=void 0,g=[],y=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;h=e},b=function(e,t){return(t.y-e.y)/(t.x-e.x)},w=50,E=function(){return v&&v.classList.contains("sidebar-collapsed-desktop")},_=function(e){return!(e.classList.contains("active")&&!E())},C=function(){return"sm"===l.a.getBreakpointSize()||"md"===l.a.getBreakpointSize()||"lg"===l.a.getBreakpointSize()},T=function(){if(!h||!g.length)return 0;var e=g[g.length-1],t=g[0],n=e.y,r=d(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},k=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()}},x=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=v?v.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(m),m=setTimeout(function(){h&&k(h),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),x(e,t)))}(e)},t)},A=function(e){g.push({x:e.clientX,y:e.clientY}),g.length>6&&g.shift()},O=function(){if(v=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)}(v.querySelectorAll(".sidebar-top-level-items > li")));v.querySelector(".sidebar-top-level-items")&&v.querySelector(".sidebar-top-level-items").addEventListener("mouseleave",function(){clearTimeout(m),m=setTimeout(function(){h&&k(h)},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(m),void(t&&!t.closest(".is-over")&&k(h));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===h||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})},function(e,t,n){"use strict";var r=n(0),i=n.n(r),o=n(53),a=n(11),s=n(469),u=n(200),l=n(5),c=(n(63),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=27,d=8,h=13,p=38,m=40;var v=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={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.dropdownContent=this.dropdown.find(".dropdown-content"),this.locationBadgeEl=this.getElement(".location-badge"),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.saveOriginalState(),gon.current_user_id&&this.createAutocomplete(),this.searchInput.addClass("disabled"),this.saveTextLength(),this.bindEvents(),this.dropdownToggle.dropdown()}return c(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)}},{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,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,l.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,a=void 0,s=0,u=r.data.length;s<u;s+=1){var l=r.data[s];a!==l.category&&(o||i.push("separator"),o&&(o=!1),i.push({header:l.category}),a=l.category),i.push({id:l.category.toLowerCase()+"-"+l.id,category:l.category,text:l.label,url:l.url})}i.length&&(i.push("separator"),i.push({text:'Result name contains "'+e+'"',url:"/search?search="+e+"&project_id="+n.projectInputEl.val()+"&group_id="+n.groupInputEl.val()})),t(i),n.loadingSuggestions=!1}else n.disableAutocomplete()}).catch(function(){n.loadingSuggestions=!1})}else{var r=this.getCategoryContents();r&&(this.searchInput.data("glDropdown").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,l=s.mrPath,c=s.name,f=s.issuesDisabled,d=[];c&&d.push({header:""+c});var h=[{text:"Issues assigned to me",url:u+"/?assignee_id="+e},{text:"Issues I've created",url:u+"/?author_id="+e}],p=[{text:"Merge requests assigned to me",url:l+"/?assignee_id="+e},{text:"Merge requests I've created",url:l+"/?author_id="+e}];return f?d.concat(p):d.concat.apply(d,h.concat(["separator"],p))}},{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(),_location:this.locationBadgeEl.text()}}},{key:"bindEvents",value:function(){var e=this;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.locationBadgeEl.on("click",function(){return e.searchInput.focus()})}},{key:"enableAutocomplete",value:function(){if(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 d:0===this.lastTextLength&&this.badgePresent()&&this.removeLocationBadge(),1===this.lastTextLength&&this.disableAutocomplete(),this.lastTextLength>1&&this.enableAutocomplete();break;case f:this.restoreOriginalState();break;case h:this.disableAutocomplete();break;case p:case m:return;default:""===this.searchInput.val()?this.disableAutocomplete():e.keyCode!==h&&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:"addLocationBadge",value:function(e){var t;return t=""+(null!=e.category?e.category+": ":"")+(null!=e.value?e.value:""),this.locationBadgeEl.text(t).show(),this.wrap.addClass("has-location-badge")}},{key:"hasLocationBadge",value:function(){return this.wrap.is(".has-location-badge")}},{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]);return""===this.originalState._location?this.locationBadgeEl.hide():this.addLocationBadge({value:this.originalState._location})}},{key:"badgePresent",value:function(){return this.locationBadgeEl.length}},{key:"resetSearchState",value:function(){var e,t,n,r,i;for(i=[],e=0,r=(n=Object.keys(this.originalState)).length;e<r&&"_location"!==(t=n[e]);e+=1)i.push(this.getElement("#"+t).val(""));return i}},{key:"removeLocationBadge",value:function(){return this.locationBadgeEl.hide(),this.resetSearchState(),this.wrap.removeClass("has-location-badge"),this.disableAutocomplete()}},{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(),this.badgePresent||("Projects"===e.category&&(this.projectInputEl.val(e.id),this.addLocationBadge({value:"This project"})),"Groups"===e.category&&(this.groupInputEl.val(e.id),this.addLocationBadge({value:"This group"}))),t.removeClass("is-active"),this.disableAutocomplete(),this.searchInput.val("").focus()}}]),e}(),g=n(8),y=n(3),b=n.n(y),w=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 E=void 0,_=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}return w(e,null,[{key:"fetchRequestDetails",value:function(e,t){return l.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 E=function(e,t){return t(n)},g.default.http.interceptors.push(E),l.a.interceptors.response.use(n)}},{key:"removeInterceptor",value:function(e){l.a.interceptors.response.eject(e),g.default.http.interceptors=b.a.without(g.default.http.interceptors,E)}}]),e}(),C={components:{GlModal:n(137).a},props:{currentRequest:{type:Object,required:!0},metric:{type:String,required:!0},header:{type:String,required:!0},details:{type:String,required:!0},keys:{type:Array,required:!0}},computed:{metricDetails:function(){return this.currentRequest.details[this.metric]},detailsList:function(){return this.metricDetails[this.details]}}},T=n(2),k=Object(T.a)(C,function(){var e=this,t=e.$createElement,n=e._self._c||t;return e.currentRequest.details?n("div",{staticClass:"view",attrs:{id:"peek-view-"+e.metric}},[n("button",{staticClass:"btn-blank btn-link bold",attrs:{"data-target":"#modal-peek-"+e.metric+"-details",type:"button","data-toggle":"modal"}},[e._v("\n    "+e._s(e.metricDetails.duration)+"\n    /\n    "+e._s(e.metricDetails.calls)+"\n  ")]),e._v(" "),n("gl-modal",{staticClass:"performance-bar-modal",attrs:{id:"modal-peek-"+e.metric+"-details","header-title-text":e.header,"modal-size":"xl"}},[n("table",{staticClass:"table"},[e.detailsList.length?e._l(e.detailsList,function(t,r){return n("tr",{key:r},[n("td",[n("strong",[e._v(e._s(t.duration)+"ms")])]),e._v(" "),e._l(e.keys,function(r){return n("td",{key:r,staticClass:"break-word"},[e._v("\n            "+e._s(t[r])+"\n          ")])})],2)}):[n("tr",[n("td",[e._v("\n            No "+e._s(e.header.toLowerCase())+" for this request.\n          ")])])]],2),e._v(" "),n("div",{attrs:{slot:"footer"},slot:"footer"})]),e._v("\n  "+e._s(e.metric)+"\n")],1):e._e()},[],!1,null,null,null).exports,x={props:{currentRequest:{type:Object,required:!0},requests:{type:Array,required:!0}},data:function(){return{currentRequestId:this.currentRequest.id}},watch:{currentRequestId:function(e){this.$emit("change-current-request",e)}},methods:{truncatedUrl:function(e){var t=e.replace(/\/$/,"").split("/"),n=t[t.length-1];return n.match(/^\d+$/)&&(n=t[t.length-2]+"/"+n),n}}},S=Object(T.a)(x,function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{attrs:{id:"peek-request-selector"}},[n("select",{directives:[{name:"model",rawName:"v-model",value:e.currentRequestId,expression:"currentRequestId"}],on:{change:function(t){var n=Array.prototype.filter.call(t.target.options,function(e){return e.selected}).map(function(e){return"_value"in e?e._value:e.value});e.currentRequestId=t.target.multiple?n:n[0]}}},e._l(e.requests,function(t){return n("option",{key:t.id,domProps:{value:t.id}},[e._v("\n      "+e._s(e.truncatedUrl(t.url))+"\n    ")])}))])},[],!1,null,null,null).exports,A={props:{currentRequest:{type:Object,required:!0},metric:{type:String,required:!0}}},O=Object(T.a)(A,function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"view",attrs:{id:"peek-view-"+e.metric}},[e.currentRequest.details?n("span",{staticClass:"bold"},[e._v("\n    "+e._s(e.currentRequest.details[e.metric].duration)+"\n    /\n    "+e._s(e.currentRequest.details[e.metric].calls)+"\n  ")]):e._e(),e._v("\n  "+e._s(e.metric)+"\n")])},[],!1,null,null,null).exports,j=n(7),I={components:{detailedMetric:k,requestSelector:S,simpleMetric:O},props:{store:{type:Object,required:!0},env:{type:String,required:!0},requestId:{type:String,required:!0},peekUrl:{type:String,required:!0},profileUrl:{type:String,required:!0}},detailedMetrics:[{metric:"pg",header:"SQL queries",details:"queries",keys:["sql"]},{metric:"gitaly",header:"Gitaly calls",details:"details",keys:["feature","request"]}],simpleMetrics:["redis","sidekiq"],data:function(){return{currentRequestId:""}},computed:{requests:function(){return this.store.requestsWithDetails()},currentRequest:{get:function(){return this.store.findRequest(this.currentRequestId)},set:function(e){this.currentRequestId=e}},initialRequest:function(){return this.currentRequestId===this.requestId},lineProfileModal:function(){return i()("#modal-peek-line-profile")}},mounted:function(){this.interceptor=_.registerInterceptor(this.peekUrl,this.loadRequestDetails),this.loadRequestDetails(this.requestId,window.location.href),this.currentRequest=this.requestId,this.lineProfileModal.length&&this.lineProfileModal.modal("toggle")},beforeDestroy:function(){_.removeInterceptor(this.interceptor)},methods:{loadRequestDetails:function(e,t){var n=this;this.store.canTrackRequest(t)&&(this.store.addRequest(e,t),_.fetchRequestDetails(this.peekUrl,e).then(function(t){n.store.addRequestDetails(e,t.data.data)}).catch(function(){return Object(j.a)("Error getting performance bar results for "+e)}))},changeCurrentRequest:function(e){this.currentRequest=e}}},D=Object(T.a)(I,function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{class:e.env,attrs:{id:"js-peek"}},[e.currentRequest?n("div",{staticClass:"d-flex container-fluid container-limited"},[n("div",{staticClass:"view",attrs:{id:"peek-view-host"}},[e.currentRequest.details?n("span",{staticClass:"current-host"},[e._v("\n        "+e._s(e.currentRequest.details.host.hostname)+"\n      ")]):e._e()]),e._v(" "),e._l(e.$options.detailedMetrics,function(t){return n("detailed-metric",{key:t.metric,attrs:{"current-request":e.currentRequest,metric:t.metric,header:t.header,details:t.details,keys:t.keys}})}),e._v(" "),e.initialRequest?n("div",{staticClass:"view",attrs:{id:"peek-view-rblineprof"}},[e.lineProfileModal.length?n("button",{staticClass:"btn-link btn-blank",attrs:{"data-toggle":"modal","data-target":"#modal-peek-line-profile"}},[e._v("\n        profile\n      ")]):n("a",{attrs:{href:e.profileUrl}},[e._v("\n        profile\n      ")])]):e._e(),e._v(" "),e._l(e.$options.simpleMetrics,function(t){return n("simple-metric",{key:t,attrs:{"current-request":e.currentRequest,metric:t}})}),e._v(" "),n("div",{staticClass:"view",attrs:{id:"peek-view-gc"}},[e.currentRequest.details?n("span",{staticClass:"bold"},[n("span",{attrs:{title:"Invoke Time"}},[e._v(e._s(e.currentRequest.details.gc.gc_time))]),e._v("ms\n        /\n        "),n("span",{attrs:{title:"Invoke Count"}},[e._v(e._s(e.currentRequest.details.gc.invokes))]),e._v("\n        gc\n      ")]):e._e()]),e._v(" "),e.currentRequest?n("request-selector",{staticClass:"ml-auto",attrs:{"current-request":e.currentRequest,requests:e.requests},on:{"change-current-request":e.changeCurrentRequest}}):e._e()],2):e._e()])},[],!1,null,null,null).exports,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 P=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 L(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}(),N=function(e){var t=e.container;return new g.default({el:t,components:{performanceBarApp:D},data:function(){var e=document.querySelector(this.$options.el).dataset;return{store:new P,env:e.env,requestId:e.requestId,peekUrl:e.peekUrl,profileUrl:e.profileUrl}},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 v}(),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")&&N({container:"#js-peek"}))}},,,,,,,,,,,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")})}}},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")})}},function(e,t,n){"use strict";n.d(t,"a",function(){return h});var r=n(0),i=n.n(r),o=n(3),a=n.n(o),s=n(1),u=n(5),l=n(7),c=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 d=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"),c=o.find(".js-select-namespace option:selected"),f=r.attr("id").replace("repo_",""),d=void 0,h=void 0;return c.length>0&&(d=c[0].innerHTML,h=o.find("#path").prop("value"),o.empty().append(d+"/"+h)),n.disable().addClass("is-loading"),u.a.post(this.importUrl,{repo_id:f,target_namespace:d,new_name:h,ci_cd_only:this.ciCdOnly}).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 t=e;e.response&&e.response.data&&e.response.data.errors&&(t=e.response.data.errors),Object(l.a)(Object(s.a)("An error occurred while importing project: "+t))})}},{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 h(){var e=document.querySelector(".js-importer-status");if(e){var t=e.dataset;return new d({jobsUrl:t.jobsImportPath,importUrl:t.importPath,ciCdOnly:Object(c.g)(t.ciCdOnly)})}}},function(e,t,n){"use strict";n.d(t,"a",function(){return a});var r=n(0),i=n.n(r),o=n(47);function a(){i()(document).on("todo:toggle",function(e,t){var n=parseInt(t,10),r=i()(".todos-count");r.text(Object(o.f)(n)),r.toggleClass("hidden",0===n)})}},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),l={};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 l.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)},l.set=function(e,t){return a.test(e)?s(e,t):s(t,e),l},l}({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,l,c,f,d,h="registerElement",p="__"+h+(1e5*e.Math.random()>>0),m="addEventListener",v="attached",g="Callback",y="detached",b="extends",w="attributeChanged"+g,E=v+g,_="connected"+g,C="disconnected"+g,T="created"+g,k=y+g,x="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,q=N.indexOf||function(e){for(var t=this.length;t--&&this[t]!==e;);return t},H=r.prototype,$=H.hasOwnProperty,B=H.isPrototypeOf,U=r.defineProperty,W=[],V=r.getOwnPropertyDescriptor,K=r.getOwnPropertyNames,z=r.getPrototypeOf,G=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[q.call(t,e)]},set:function(r,i){(e=q.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=G||(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],$.call(e,n)||U(e,n,V(t,n))}return function(t,n){do{e(t,n)}while((n=z(n))&&!B.call(n,t));return t}}():function(e,t){for(var n in t)e[n]=t[n];return e}),le=e.MutationObserver||e.WebKitMutationObserver,ce=(e.HTMLElement||e.Element||e.Node).prototype,fe=!B.call(ce,R),de=fe?function(e,t,n){return e[t]=n.value,e}:U,he=fe?function(e){return 1===e.nodeType}:function(e){return B.call(ce,e)},pe=fe&&[],me=ce.attachShadow,ve=ce.cloneNode,ge=ce.dispatchEvent,ye=ce.getAttribute,be=ce.hasAttribute,we=ce.removeAttribute,Ee=ce.setAttribute,_e=n.createElement,Ce=_e,Te=le&&{attributes:!0,characterData:!0,attributeOldValue:!0},ke=le||function(e){Ae=!1,R.removeEventListener(A,ke)},xe=0,Se=!1,Ae=!0,Oe=!0,je=!0;function Ie(){var e=o.splice(0,o.length);for(xe=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){he(t)&&(Be(t,e),De(t.querySelectorAll(F),e))}}function Pe(e){var t=ye.call(e,"is"),n=e.nodeName.toUpperCase(),r=q.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[x]||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),xe&&clearTimeout(xe),xe=setTimeout(Ie,1)}}function Re(e){Oe&&(Oe=!1,e.currentTarget.removeEventListener(O,Re)),De((e.target||n).querySelectorAll(F),e.detail===y?y:v),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 qe(e,t){Ee.call(this,e,t),a.call(this,{target:this})}function He(e,t){ue(e,t),l?l.observe(e,Te):(Ae&&(e.setAttribute=qe,e[p]=u(e),e[m](j,a)),e[m](A,Me)),e[T]&&je&&(e.created=!0,e[T](),e.created=!1)}function $e(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!==v||e[v]?t!==y||e[y]||(e[v]=!1,e[y]=!0,r=1):(e[y]=!1,e[v]=!0,r=1,fe&&q.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};de(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)&&ze(this)}}}),de(a,w,{value:function(e){-1<q.call(s,e)&&o[w].apply(this,arguments)}}),o[_]&&de(a,E,{value:o[_]}),o[C]&&de(a,k,{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[h](e.toLowerCase(),u),Ge(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 ze(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 Ge(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||ze(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(h in n||(G||Q?(f=function(e,t){B.call(t,e)||He(e,t)},d=He):d=f=function(e,t){e[p]||(e[p]=r(!0),He(e,t))},fe?(Ae=!1,function(){var e=V(ce,m),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[x]=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[x]=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(ce,m,e)}()):le||(R[m](A,ke),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],x);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[h]=function(e,t){if(r=e.toUpperCase(),Se||(Se=!0,le?(l=function(e,t){function n(e,t){for(var n=0,r=e.length;n<r;t(e[n++]));}return new le(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(v),Le(y)),(c=function(e){return l.observe(e,{childList:!0,subtree:!0}),e})(n),me&&(ce.attachShadow=function(){return c(me.apply(this,arguments))})):(o=[],n[m]("DOMNodeInserted",Fe(v)),n[m]("DOMNodeRemoved",Fe(y))),n[m](O,Re),n[m]("readystatechange",Re),ce.cloneNode=function(e){var t=ve.call(this,!!e),n=Pe(t);return-1<n&&d(t,M[n]),e&&function(e){for(var t,n=0,r=e.length;n<r;n++)t=e[n],d(t,M[Pe(t)])}(t.querySelectorAll(F)),t}),-2<q.call(N,D+r)+q.call(N,I+r)&&$e(e),!L.test(r)||-1<q.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||H,u=$.call(s,b),f=u?t[b].toUpperCase():r;return u&&-1<q.call(N,I+f)&&$e(f),i=N.push((u?D:I)+r)-1,F=F.concat(F.length?",":"",u?f+'[is="'+e.toLowerCase()+'"]':f),a.prototype=M[i]=$.call(s,"prototype")?s.prototype:se(ce),De(n.querySelectorAll(F),v),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=q.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&&d(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),Ge(e)])}:Ge},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(254))},function(e,t,n){var r,i,o;i=[e,n(1098),n(1096),n(1095)],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},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}}(),c=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),l(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=c})?r.apply(t,i):r)||(e.exports=o)},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,l={},c={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)===l)return}else for(o in e)if(s.call(e,o)&&t.call(n,e[o],o,e)===l)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=c.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 d(e){return f.PF.compile(e||"nplurals=2; plural=(n != 1);")}function h(e,t){this._key=e,this._i18n=t}f.context_delimiter=String.fromCharCode(4),c.extend(h.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)}}),c.extend(f.prototype,{translate:function(e){return new h(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,l=t?t+f.context_delimiter+n:n,c=this.options.locale_data,h=c[e],p=(c.messages||this.defaults.locale_data.messages)[""],m=h[""].plural_forms||h[""]["Plural-Forms"]||h[""]["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=d(m)(i)}if(!h)throw new Error("No domain named `"+e+"` could be found.");return!(a=h[l])||u>a.length?(this.options.missing_key_callback&&this.options.missing_key_callback(l,e),s=[n,r],!0===this.options.debug&&console.log(s[d(m)(i)]),s[d()(i)]):(s=a[u])||(s=[n,r])[d()(i)]}});var p,m,v=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,l,c,f=1,d=n.length,h="",p=[];for(o=0;o<d;o++)if("string"===(h=e(n[o])))p.push(n[o]);else if("array"===h){if((s=n[o])[2])for(i=r[f],a=0;a<s[2].length;a++){if(!i.hasOwnProperty(s[2][a]))throw v('[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 v("[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,l=s[4]?"0"==s[4]?"0":s[4].charAt(1):" ",c=s[6]-String(i).length,u=s[6]?t(l,c):"",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),v.apply(null,t)}(e,[].slice.call(t)):v.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,l=0;this.lexer.setInput(e),this.lexer.yy=this.yy,this.yy.lexer=this.lexer,void 0===this.lexer.yylloc&&(this.lexer.yylloc={});var c=this.lexer.yylloc;function f(){var e;return"number"!=typeof(e=t.lexer.lex()||1)&&(e=t.symbols_[e]||e),e}i.push(c),"function"==typeof this.yy.parseError&&(this.parseError=this.yy.parseError);for(var d,h,p,m,v,g,y,b,w,E,_={};;){if(p=n[n.length-1],this.defaultActions[p]?m=this.defaultActions[p]:(null==d&&(d=f()),m=o[p]&&o[p][d]),void 0===m||!m.length||!m[0]){if(!l){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_[d]+"'":"Parse error on line "+(s+1)+": Unexpected "+(1==d?"end of input":"'"+(this.terminals_[d]||d)+"'"),this.parseError(C,{text:this.lexer.match,token:this.terminals_[d]||d,line:this.lexer.yylineno,loc:c,expected:w})}if(3==l){if(1==d)throw new Error(C||"Parsing halted.");u=this.lexer.yyleng,a=this.lexer.yytext,s=this.lexer.yylineno,c=this.lexer.yylloc,d=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]}h=d,d=2,m=o[p=n[n.length-1]]&&o[p][2],l=3}if(m[0]instanceof Array&&m.length>1)throw new Error("Parse Error: multiple actions possible at state: "+p+", token: "+d);switch(m[0]){case 1:n.push(d),r.push(this.lexer.yytext),i.push(this.lexer.yylloc),n.push(m[1]),d=null,h?(d=h,h=null):(u=this.lexer.yyleng,a=this.lexer.yytext,s=this.lexer.yylineno,c=this.lexer.yylloc,l>0&&l--);break;case 2:if(y=this.productions_[m[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!==(v=this.performAction.call(_,a,u,s,this.yy,m[1],r,i)))return v;y&&(n=n.slice(0,-1*y*2),r=r.slice(0,-1*y),i=i.slice(0,-1*y)),n.push(this.productions_[m[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}},m=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=m,p),void 0!==e&&e.exports&&(t=e.exports=f),t.Jed=f}()},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,l=document.getElementsByTagName("use"),c=0;i&&function r(){for(var a=0;a<l.length;){var f=l[a],d=f.parentNode,h=n(d),p=f.getAttribute("xlink:href")||f.getAttribute("href");if(!p&&o.attributeName&&(p=f.getAttribute(o.attributeName)),h&&p){if(i)if(!o.validate||o.validate(p,h,f)){d.removeChild(f);var m=p.split("#"),v=m.shift(),g=m.join("#");if(v.length){var y=s[v];y||((y=s[v]=new XMLHttpRequest).open("GET",v),y.send(),y._embeds=[]),y._embeds.push({parent:d,svg:h,id:g}),t(y)}else e(d,h,document.getElementById(g))}else++a,++c}else++a}(!l.length||l.length-c>0)&&u(r,67)}()}}()}.apply(t,[]))||(e.exports=r)},,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(1118),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(254))},,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";var r=n(0),i=n.n(r),o=n(5),a=n(1),s=n(7),u=n(125),l=n(293),c=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."))}),l.c.call(this,!1),this.hide()}.bind(n,t);i()("#"+e+" .dismiss-feature-highlight").on("click",r);var c=i()("#"+e+" .feature-highlight-illustration")[0];c&&u.a.loadImage(c)}var d=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 h(){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=d(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()(c(e)),r=n.parent().siblings(".feature-highlight-popover-content"),o=l.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",l.b).on("mouseleave",Object(l.a)(t)).on("inserted.bs.popover",f).on("show.bs.popover",function(){window.addEventListener("scroll",o,{once:!0})}).removeAttr("disabled")}(e),e}var p=n(91);document.addEventListener("DOMContentLoaded",function(){return"lg"===p.a.getBreakpointSize()&&(h(),!0)})},,,,,,,function(e,t,n){"use strict";n(3),n(1172),n(1169),n(1165),n(1163),n(1157),n(1155),n(1153),n(1147),n(1145),n(1143),n(1137),n(1132),n(1129),n(1128),n(1127),n(1126),n(1125),n(0),n(1124),n(1123),n(374),n(373),n(154),n(1122),n(1121),n(576),n(8),n(372);n(5)},,,,,,,,,,,,,,,function(e,t,n){"use strict";var r=n(49),i=n.n(r);document.addEventListener("DOMContentLoaded",function(){var e=document.querySelectorAll(".js-autosize");i()(e),i.a.update(e)});n(447);var o=n(0),a=n.n(o),s=n(126),u=n(1),l=n(7),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")}}();function f(e){e.length&&Promise.all([n.e(0).then(n.t.bind(null,1956,7)),n.e(0).then(n.t.bind(null,1955,7))]).then(function(t){var n=c(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(l.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(1),n.e(2)]).then(n.t.bind(null,1954,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(l.a)("Can't load mermaid module: "+e)}),this},a()(function(){return a()("body").renderGFM()});var d=n(345),h=n(649),p=n.n(h);function m(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 v(e){m(e.trigger,"Copied"),e.clearSelection(),a()(e.trigger).blur()}function g(e){var t=void 0;t=/Mac/i.test(navigator.userAgent)?"&#8984;":"Ctrl",m(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(648),b=n.n(y),w=127462,E=127487;var _=127987,C=127752;var T=127995,k=127999;function x(e){return e.length>2&&Array.from(e).some(function(e){var t=e.codePointAt(0);return t>=T&&t<=k})}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&&x(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=x(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 q=navigator.userAgent.match(/Chrom(?:e|ium)\/([0-9]+)\./),H=q&&q.length>0,$=q&&q[1]&&parseInt(q[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:H,chromeVersion:$},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(576);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 z=n(3),G=n.n(z);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=G.a.map(a()(n,e),function(e){return e.value});r.length&&G.a.any(r,G.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(153);(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}),l=a&&a.length>0,c=s&&s.length>0;if(t&&u&&!function(e,t){return P(W=W||U(),e,t)}(t,o))if(c){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(3).then(n.bind(null,336)).then(function(t){var n=t.emojiImageTag,r=t.emojiFallbackImageSrc;if(l)e.innerHTML=n(i,a);else{var o=r(i);e.innerHTML=n(i,o)}}).catch(function(){})},document.registerElement("gl-emoji",{prototype:X}),Object(d.b)(),(J=new p.a("[data-clipboard-target], [data-clipboard-text]")).on("success",v),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))}})},,,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 q}),n.d(i,"default",function(){return H});var o,a=n(0),s=n.n(a),u=n(8),l=n(75),c=new u.default,f=n(16),d=n(27),h=n(76),p=n(33),m=n(3),v=n.n(m),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")}},k=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},x=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"),h.a.isLocalStorageAccessSafe()){var r=JSON.parse(localStorage.getItem(t.storageKey));n("receiveFrequentItemsSuccess",r?function(e){if(!e)return[];var t=x()?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}),v.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(){},q=function(e){return""!==e.searchQuery},H=function(){};function $(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=($(o={},"SET_NAMESPACE",function(e,t){Object.assign(e,{namespace:t})}),$(o,"SET_STORAGE_KEY",function(e,t){Object.assign(e,{storageKey:t})}),$(o,"SET_SEARCH_QUERY",function(e,t){var n=""!==t;Object.assign(e,{searchQuery:t,isLoadingItems:!0,hasSearchQuery:n})}),$(o,"REQUEST_FREQUENT_ITEMS",function(e){Object.assign(e,{isLoadingItems:!0,hasSearchQuery:!1})}),$(o,"RECEIVE_FREQUENT_ITEMS_SUCCESS",function(e,t){Object.assign(e,{items:t,isLoadingItems:!1,hasSearchQuery:!1,isFetchFailed:!1})}),$(o,"RECEIVE_FREQUENT_ITEMS_ERROR",function(e){Object.assign(e,{isLoadingItems:!1,hasSearchQuery:!1,isFetchFailed:!0})}),$(o,"REQUEST_SEARCHED_ITEMS",function(e){Object.assign(e,{isLoadingItems:!0,hasSearchQuery:!0})}),$(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})}),$(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:v.a.debounce(function(){this.setSearchQuery(this.searchQuery)},500)},mounted:function(){c.$on(this.namespace+"-dropdownOpen",this.setFocus)},beforeDestroy:function(){c.$off(this.namespace+"-dropdownOpen",this.setFocus)},methods:V({},Object(f.b)(["setSearchQuery"]),{setFocus:function(){this.$refs.search.focus()}})},z=n(2),G=Object(z.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(379).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(z.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(z.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:d.a,FrequentItemsSearchInput:G,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),c.$on(this.namespace+"-dropdownOpen",this.dropdownOpenHandler)},beforeDestroy:function(){c.$off(this.namespace+"-dropdownOpen",this.dropdownOpenHandler)},methods:J({},Object(f.b)(["setNamespace","setStorageKey","fetchFrequentItems"]),{dropdownOpenHandler:function(){(""===this.searchQuery||x())&&this.fetchFrequentItems()},logItemAccess:function(e,t){if(!h.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 k({},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(z.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(l.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(){c.$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}})}}))})})},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){(function(){var e,r,i,o,a,s,u,l,c,f;f=n(456),i=f.isMatch,o=f.isWordStart,c=f.scoreConsecutives,l=f.scoreCharacter,u=f.scoreAcronyms,t.match=a=function(t,n,o){var a,u,l,c,f,d;return a=o.allowErrors,f=o.preparedQuery,c=o.pathSeparator,a||i(t,f.core_lw,f.core_up)?(d=t.toLowerCase(),0===(l=r(t,d,f)).length?l:(t.indexOf(c)>-1&&(u=e(t,d,f,c),l=s(l,u)),l)):[]},t.wrap=function(e,t,n){var r,i,o,s,u,l,c,f,d;if(null!=n.wrap&&(l=(d=n.wrap).tagClass,f=d.tagOpen,c=d.tagClose),null==l&&(l="highlight"),null==f&&(f='<strong class="'+l+'">'),null==c&&(c="</strong>"),e===t)return f+e+c;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+=c,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,d,h,p,m,v,g,y,b,w,E,_,C,T,k,x,S,A,O;for(null==r&&(r=0),E=n.query,_=n.query_lw,v=e.length,b=E.length,i=u(e,t,E,_).score,k=new Array(b),d=new Array(b),0,1,2,3,O=new Array(v*b),w=-1,m=-1;++m<b;)k[m]=0,d[m]=0;for(p=-1;++p<v;)for(C=0,x=0,f=0,S=t[p],m=-1;++m<b;)h=0,a=0,T=x,_[m]===S&&(A=o(p,e,t),h=f>0?f:c(e,t,E,_,p,m,A),a=T+l(p,m,A,i,h)),x=k[m],f=d[m],C>x?y=2:(C=x,y=1),a>C?(C=a,y=3):h=0,k[m]=C,d[m]=h,O[++w]=C>0?y:0;for(w=(p=v-1)*b+(m=b-1),s=!0,g=[];s&&p>=0&&m>=0;)switch(O[w]){case 1:p--,w-=b;break;case 2:m--,w--;break;case 3:g.push(p+r),m--,p--,w-=b+1;break;default:s=!1}return g.reverse(),g}}).call(this)},function(e,t,n){(function(){var t,r,i,o;i=n(456),t=n(574),n(603),r=function(e){return e.candidate},o=function(e,t){return t.score-e.score},e.exports=function(e,n,a){var s,u,l,c,f,d,h,p,m,v,g,y,b;for(p=[],l=a.key,f=a.maxResults,c=a.maxInners,g=a.usePathScoring,m=null!=c&&c>0?c:e.length+1,s=null!=l,h=g?t:i,y=0,b=e.length;y<b&&(u=e[y],!((v=s?u[l]:u)&&(d=h.score(v,n,a))>0)||(p.push({candidate:u,score:d}),--m));y++);return p.sort(o),e=p.map(r),null!=f&&(e=e.slice(0,f)),e}}).call(this)},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}}},function(e,t,n){var r=n(1092);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)}}}},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)}},function(e,t,n){var r=n(1094),i=n(1093);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")}},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},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}},function(e,t,n){var r,i,o;i=[e,n(1097)],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)},function(e,t,n){"use strict";e.exports=function(e){return function(t){return e.apply(null,t)}}},function(e,t,n){"use strict";var r=n(605);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},function(e,t,n){"use strict";e.exports=function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}},function(e,t,n){"use strict";e.exports=function(e){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(e)}},function(e,t,n){"use strict";var r=n(255);e.exports=function(e,t,n){return r.forEach(n,function(n){e=n(e,t)}),e}},function(e,t,n){"use strict";var r=n(255),i=n(1103),o=n(606),a=n(575),s=n(1102),u=n(1101);function l(e){e.cancelToken&&e.cancelToken.throwIfRequested()}e.exports=function(e){return l(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 l(e),t.data=i(t.data,t.headers,e.transformResponse),t},function(t){return o(t)||(l(e),t&&t.response&&(t.response.data=i(t.response.data,t.response.headers,e.transformResponse))),Promise.reject(t)})}},function(e,t,n){"use strict";var r=n(255);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},function(e,t,n){"use strict";var r=n(255);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(){}}},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}},function(e,t,n){"use strict";var r=n(255);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}},function(e,t,n){"use strict";var r=n(255),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}},function(e,t,n){"use strict";var r=n(255);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}},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}},function(e,t,n){"use strict";var r=n(607);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)}},function(e,t,n){"use strict";var r=n(255);e.exports=function(e,t){r.forEach(e,function(n,r){r!==t&&r.toUpperCase()===t.toUpperCase()&&(e[t]=n,delete e[r])})}},function(e,t,n){"use strict";var r=n(575),i=n(255),o=n(1105),a=n(1104);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},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)}},function(e,t,n){"use strict";var r=n(255),i=n(609),o=n(1114),a=n(575);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(605),u.CancelToken=n(1100),u.isCancel=n(606),u.all=function(e){return Promise.all(e)},u.spread=n(1099),e.exports=u,e.exports.default=u},function(e,t){},function(e,t,n){(function(e,t){!function(e,n){"use strict";if(!e.setImmediate){var r,i,o,a,s,u=1,l={},c=!1,f=e.document,d=Object.getPrototypeOf&&Object.getPrototypeOf(e);d=d&&d.setTimeout?d: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,"*")}),d.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 l[u]=i,r(u),u++},d.clearImmediate=h}function h(e){delete l[e]}function p(e){if(c)setTimeout(p,0,e);else{var t=l[e];if(t){c=!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{h(e),c=!1}}}}}("undefined"==typeof self?void 0===e?this:e:self)}).call(this,n(254),n(393))},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 l(e){return"HTML"===e.nodeName?e:e.parentNode||e.host}function c(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:c(l(e))}var f=n&&!(!window.MSInputMethodContext||!document.documentMode),d=n&&/MSIE 10/.test(navigator.userAgent);function h(e){return 11===e?f:10===e?d:f||d}function p(e){if(!e)return document.documentElement;for(var t=h(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 m(e){return null!==e.parentNode?m(e.parentNode):e}function v(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 l=m(e);return l.host?v(l.host,t):v(e,m(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],h(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=h(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 k(e){return T({},e,{right:e.left+e.width,bottom:e.top+e.height})}function x(e){var t={};try{if(h(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,l=e.offsetWidth-a,c=e.offsetHeight-s;if(l||c){var f=u(e);l-=y(f,"x"),c-=y(f,"y"),i.width-=l,i.height-=c}return k(i)}function S(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=h(10),i="HTML"===t.nodeName,o=x(e),a=x(t),s=c(e),l=u(t),f=parseFloat(l.borderTopWidth,10),d=parseFloat(l.borderLeftWidth,10);n&&"HTML"===t.nodeName&&(a.top=Math.max(a.top,0),a.left=Math.max(a.left,0));var p=k({top:o.top-a.top-f,left:o.left-a.left-d,width:o.width,height:o.height});if(p.marginTop=0,p.marginLeft=0,!r&&i){var m=parseFloat(l.marginTop,10),v=parseFloat(l.marginLeft,10);p.top-=f-m,p.bottom-=f-m,p.left-=d-v,p.right-=d-v,p.marginTop=m,p.marginLeft=v}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||h())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):v(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 k({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=c(l(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(l(t)))}(a))o=f;else{var d=w(),h=d.height,p=d.width;o.top+=f.top-f.marginTop,o.bottom=h+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}),l=u.filter(function(e){var t=e.width,r=e.height;return t>=n.clientWidth&&r>=n.clientHeight}),c=l.length>0?l[0].key:u[0].key,f=e.split("-")[1];return c+(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):v(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",l=o?"width":"height";return i[a]=t[a]+t[u]/2-r[u]/2,i[s]=n===s?t[s]-r[l]: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=k(t.offsets.popper),t.offsets.reference=k(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 q(e){var t=e.ownerDocument;return t?t.defaultView:window}function H(e,t,n,r){n.updateBound=r,q(e).addEventListener("resize",n.updateBound,{passive:!0});var i=c(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(c(a.parentNode),n,r,i),i.push(a)}(i,"scroll",n.updateBound,n.scrollParents),n.scrollElement=i,n.eventsEnabled=!0,n}function $(){var e,t;this.state.eventsEnabled&&(cancelAnimationFrame(this.scheduleUpdate),this.state=(e=this.reference,t=this.state,q(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 z(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 G={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+/,l=-1!==s?[a.slice(0,s).concat([a[s].split(u)[0]]),[a[s].split(u)[1]].concat(a.slice(s+1))]:[a];return(l=l.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 k(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",l=s?"width":"height",c={start:C({},u,o[u]),end:C({},u,o[u]+o[l]-a[l])};e.offsets.popper=T({},a,c[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 l=t.priority,c=e.offsets.popper,f={primary:function(e){var n=c[e];return c[e]<u[e]&&!t.escapeWithReference&&(n=Math.max(c[e],u[e])),C({},e,n)},secondary:function(e){var n="right"===e?"left":"top",r=c[n];return c[e]>u[e]&&!t.escapeWithReference&&(r=Math.min(c[n],u[e]-("right"===e?c.width:c.height))),C({},n,r)}};return l.forEach(function(e){var t=-1!==["left","top"].indexOf(e)?"primary":"secondary";c=T({},c,f[t](e))}),e.offsets.popper=c,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",l=a?"width":"height";return n[s]<o(r[u])&&(e.offsets.popper[u]=o(r[u])-n[l]),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,l=-1!==["left","right"].indexOf(i),c=l?"height":"width",f=l?"Top":"Left",d=f.toLowerCase(),h=l?"left":"top",p=l?"bottom":"right",m=D(r)[c];s[p]-m<a[d]&&(e.offsets.popper[d]-=a[d]-(s[p]-m)),s[d]+m>a[p]&&(e.offsets.popper[d]+=s[d]+m-a[p]),e.offsets.popper=k(e.offsets.popper);var v=s[d]+s[c]/2-m/2,g=u(e.instance.popper),y=parseFloat(g["margin"+f],10),b=parseFloat(g["border"+f+"Width"],10),w=v-e.offsets.popper[d]-y-b;return w=Math.max(Math.min(a[c]-m,w),0),e.arrowElement=r,e.offsets.arrow=(C(n={},d,Math.round(w)),C(n,h,""),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 G.FLIP:a=[r,i];break;case G.CLOCKWISE:a=z(r);break;case G.COUNTERCLOCKWISE:a=z(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 l=e.offsets.popper,c=e.offsets.reference,f=Math.floor,d="left"===r&&f(l.right)>f(c.left)||"right"===r&&f(l.left)<f(c.right)||"top"===r&&f(l.bottom)>f(c.top)||"bottom"===r&&f(l.top)<f(c.bottom),h=f(l.left)<f(n.left),p=f(l.right)>f(n.right),m=f(l.top)<f(n.top),v=f(l.bottom)>f(n.bottom),g="left"===r&&h||"right"===r&&p||"top"===r&&m||"bottom"===r&&v,y=-1!==["top","bottom"].indexOf(r),b=!!t.flipVariations&&(y&&"start"===o&&h||y&&"end"===o&&p||!y&&"start"===o&&m||!y&&"end"===o&&v);(d||g||b)&&(e.flipped=!0,(d||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=k(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=x(p(e.instance.popper)),u={position:i.position},l={left:Math.floor(i.left),top:Math.round(i.top),bottom:Math.round(i.bottom),right:Math.floor(i.right)},c="bottom"===n?"top":"bottom",f="right"===r?"left":"right",d=R("transform"),h=void 0,m=void 0;if(m="bottom"===c?-s.height+l.bottom:l.top,h="right"===f?-s.width+l.right:l.left,a&&d)u[d]="translate3d("+h+"px, "+m+"px, 0)",u[c]=0,u[f]=0,u.willChange="transform";else{var v="bottom"===c?-1:1,g="right"===f?-1:1;u[c]=m*v,u[f]=h*g,u.willChange=c+", "+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=H(this.reference,this.options,this.state,this.scheduleUpdate))}.call(this)}},{key:"disableEventListeners",value:function(){return $.call(this)}}]),e}();X.Utils=("undefined"!=typeof window?window:e).PopperUtils,X.placements=V,X.Defaults=Y,t.default=X}.call(this,n(254))},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),l=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),c=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},l={interval:"(number|boolean)",keyboard:"boolean",slide:"(boolean|string)",pause:"(string|boolean)",wrap:"boolean"},c={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"},d={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"},h={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(h.INDICATORS)[0],this._addEventListeners()}var p=o.prototype;return p.next=function(){this._isSliding||this._slide(c.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(c.PREV)},p.pause=function(t){t||(this._isPaused=!0),e(this._element).find(h.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(h.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?c.NEXT:c.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,l),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(h.ITEM)),this._items.indexOf(t)},p._getItemByDirection=function(e,t){var n=e===c.NEXT,r=e===c.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===c.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(h.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(h.ACTIVE).removeClass(d.ACTIVE);var n=this._indicatorsElement.children[this._getItemIndex(t)];n&&e(n).addClass(d.ACTIVE)}},p._slide=function(t,n){var r,i,o,a=this,u=e(this._element).find(h.ACTIVE_ITEM)[0],l=this._getItemIndex(u),p=n||u&&this._getItemByDirection(t,u),m=this._getItemIndex(p),v=Boolean(this._interval);if(t===c.NEXT?(r=d.LEFT,i=d.NEXT,o=c.LEFT):(r=d.RIGHT,i=d.PREV,o=c.RIGHT),p&&e(p).hasClass(d.ACTIVE))this._isSliding=!1;else{var g=this._triggerSlideEvent(p,o);if(!g.isDefaultPrevented()&&u&&p){this._isSliding=!0,v&&this.pause(),this._setActiveIndicatorElement(p);var y=e.Event(f.SLID,{relatedTarget:p,direction:o,from:l,to:m});if(e(this._element).hasClass(d.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(d.ACTIVE),e(u).removeClass(d.ACTIVE+" "+i+" "+r),a._isSliding=!1,setTimeout(function(){return e(a._element).trigger(y)},0)}).emulateTransitionEnd(b)}else e(u).removeClass(d.ACTIVE),e(p).addClass(d.ACTIVE),this._isSliding=!1,e(this._element).trigger(y);v&&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(d.CAROUSEL)){var u=a({},e(i).data(),e(this).data()),l=this.getAttribute("data-slide-to");l&&(u.interval=!1),o._jQueryInterface.call(e(i),u),l&&e(i).data(n).to(l),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,h.DATA_SLIDE,p._dataApiClickHandler),e(window).on(f.LOAD_DATA_API,function(){e(h.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)"},l={SHOW:"show.bs.collapse",SHOWN:"shown.bs.collapse",HIDE:"hide.bs.collapse",HIDDEN:"hidden.bs.collapse",CLICK_DATA_API:"click.bs.collapse.data-api"},c={SHOW:"show",COLLAPSE:"collapse",COLLAPSING:"collapsing",COLLAPSED:"collapsed"},f={WIDTH:"width",HEIGHT:"height"},d={ACTIVES:".show, .collapsing",DATA_TOGGLE:'[data-toggle="collapse"]'},h=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(d.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 h=r.prototype;return h.toggle=function(){e(this._element).hasClass(c.SHOW)?this.hide():this.show()},h.show=function(){var t,i,o=this;if(!(this._isTransitioning||e(this._element).hasClass(c.SHOW)||(this._parent&&0===(t=e.makeArray(e(this._parent).find(d.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(l.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(c.COLLAPSE).addClass(c.COLLAPSING),this._element.style[u]=0,this._triggerArray.length>0&&e(this._triggerArray).removeClass(c.COLLAPSED).attr("aria-expanded",!0),this.setTransitioning(!0);var f=u[0].toUpperCase()+u.slice(1),h="scroll"+f,p=s.getTransitionDurationFromElement(this._element);e(this._element).one(s.TRANSITION_END,function(){e(o._element).removeClass(c.COLLAPSING).addClass(c.COLLAPSE).addClass(c.SHOW),o._element.style[u]="",o.setTransitioning(!1),e(o._element).trigger(l.SHOWN)}).emulateTransitionEnd(p),this._element.style[u]=this._element[h]+"px"}}},h.hide=function(){var t=this;if(!this._isTransitioning&&e(this._element).hasClass(c.SHOW)){var n=e.Event(l.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(c.COLLAPSING).removeClass(c.COLLAPSE).removeClass(c.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(c.SHOW)||e(o).addClass(c.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(c.COLLAPSING).addClass(c.COLLAPSE).trigger(l.HIDDEN)}).emulateTransitionEnd(f)}}},h.setTransitioning=function(e){this._isTransitioning=e},h.dispose=function(){e.removeData(this._element,n),this._config=null,this._parent=null,this._element=null,this._triggerArray=null,this._isTransitioning=null},h._getConfig=function(e){return(e=a({},o,e)).toggle=Boolean(e.toggle),s.typeCheckConfig(t,e,u),e},h._getDimension=function(){var t=e(this._element).hasClass(f.WIDTH);return t?f.WIDTH:f.HEIGHT},h._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},h._addAriaAndCollapsedClass=function(t,n){if(t){var r=e(t).hasClass(c.SHOW);n.length>0&&e(n).toggleClass(c.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(l.CLICK_DATA_API,d.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();h._jQueryInterface.call(t,o)})}),e.fn[t]=h._jQueryInterface,e.fn[t].Constructor=h,e.fn[t].noConflict=function(){return e.fn[t]=r,h._jQueryInterface},h}(t),d=function(e){var t="dropdown",r="bs.dropdown",o="."+r,u=e.fn[t],l=new RegExp("38|40|27"),c={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"},d={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)"},h={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"},m={offset:"(number|string|function)",flip:"boolean",boundary:"(string|element)",reference:"(string|element)",display:"string"},v=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 v=u.prototype;return v.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(c.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(d.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(c.SHOWN,i))}}}},v.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)},v.update=function(){this._inNavbar=this._detectNavbar(),null!==this._popper&&this._popper.scheduleUpdate()},v._addEventListeners=function(){var t=this;e(this._element).on(c.CLICK,function(e){e.preventDefault(),e.stopPropagation(),t.toggle()})},v._getConfig=function(n){return n=a({},this.constructor.Default,e(this._element).data(),n),s.typeCheckConfig(t,n,this.constructor.DefaultType),n},v._getMenuElement=function(){if(!this._menu){var t=u._getParentFromElement(this._element);this._menu=e(t).find(d.MENU)[0]}return this._menu},v._getPlacement=function(){var t=e(this._element).parent(),n=h.BOTTOM;return t.hasClass(f.DROPUP)?(n=h.TOP,e(this._menu).hasClass(f.MENURIGHT)&&(n=h.TOPEND)):t.hasClass(f.DROPRIGHT)?n=h.RIGHT:t.hasClass(f.DROPLEFT)?n=h.LEFT:e(this._menu).hasClass(f.MENURIGHT)&&(n=h.BOTTOMEND),n},v._detectNavbar=function(){return e(this._element).closest(".navbar").length>0},v._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(d.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 l=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 h=e.Event(c.HIDE,s);e(o).trigger(h),h.isDefaultPrevented()||("ontouchstart"in document.documentElement&&e(document.body).children().off("mouseover",null,e.noop),n[i].setAttribute("aria-expanded","false"),e(l).removeClass(f.SHOW),e(o).removeClass(f.SHOW).trigger(e.Event(c.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(d.MENU).length)):l.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(d.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(d.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 m}}]),u}();return e(document).on(c.KEYDOWN_DATA_API,d.DATA_TOGGLE,v._dataApiKeydownHandler).on(c.KEYDOWN_DATA_API,d.MENU,v._dataApiKeydownHandler).on(c.CLICK_DATA_API+" "+c.KEYUP_DATA_API,v._clearMenus).on(c.CLICK_DATA_API,d.DATA_TOGGLE,function(t){t.preventDefault(),t.stopPropagation(),v._jQueryInterface.call(e(this),"toggle")}).on(c.CLICK_DATA_API,d.FORM_CHILD,function(e){e.stopPropagation()}),e.fn[t]=v._jQueryInterface,e.fn[t].Constructor=v,e.fn[t].noConflict=function(){return e.fn[t]=u,v._jQueryInterface},v}(t),h=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"},l={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"},c={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"},d=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 d=r.prototype;return d.toggle=function(e){return this._isShown?this.hide():this.show(e)},d.show=function(t){var n=this;if(!this._isTransitioning&&!this._isShown){e(this._element).hasClass(c.FADE)&&(this._isTransitioning=!0);var r=e.Event(l.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(c.OPEN),this._setEscapeEvent(),this._setResizeEvent(),e(this._element).on(l.CLICK_DISMISS,f.DATA_DISMISS,function(e){return n.hide(e)}),e(this._dialog).on(l.MOUSEDOWN_DISMISS,function(){e(n._element).one(l.MOUSEUP_DISMISS,function(t){e(t.target).is(n._element)&&(n._ignoreBackdropClick=!0)})}),this._showBackdrop(function(){return n._showElement(t)}))}},d.hide=function(t){var n=this;if(t&&t.preventDefault(),!this._isTransitioning&&this._isShown){var r=e.Event(l.HIDE);if(e(this._element).trigger(r),this._isShown&&!r.isDefaultPrevented()){this._isShown=!1;var i=e(this._element).hasClass(c.FADE);if(i&&(this._isTransitioning=!0),this._setEscapeEvent(),this._setResizeEvent(),e(document).off(l.FOCUSIN),e(this._element).removeClass(c.SHOW),e(this._element).off(l.CLICK_DISMISS),e(this._dialog).off(l.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()}}},d.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},d.handleUpdate=function(){this._adjustDialog()},d._getConfig=function(e){return e=a({},o,e),s.typeCheckConfig(t,e,u),e},d._showElement=function(t){var n=this,r=e(this._element).hasClass(c.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(c.SHOW),this._config.focus&&this._enforceFocus();var i=e.Event(l.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()},d._enforceFocus=function(){var t=this;e(document).off(l.FOCUSIN).on(l.FOCUSIN,function(n){document!==n.target&&t._element!==n.target&&0===e(t._element).has(n.target).length&&t._element.focus()})},d._setEscapeEvent=function(){var t=this;this._isShown&&this._config.keyboard?e(this._element).on(l.KEYDOWN_DISMISS,function(e){27===e.which&&(e.preventDefault(),t.hide())}):this._isShown||e(this._element).off(l.KEYDOWN_DISMISS)},d._setResizeEvent=function(){var t=this;this._isShown?e(window).on(l.RESIZE,function(e){return t.handleUpdate(e)}):e(window).off(l.RESIZE)},d._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(c.OPEN),t._resetAdjustments(),t._resetScrollbar(),e(t._element).trigger(l.HIDDEN)})},d._removeBackdrop=function(){this._backdrop&&(e(this._backdrop).remove(),this._backdrop=null)},d._showBackdrop=function(t){var n=this,r=e(this._element).hasClass(c.FADE)?c.FADE:"";if(this._isShown&&this._config.backdrop){if(this._backdrop=document.createElement("div"),this._backdrop.className=c.BACKDROP,r&&e(this._backdrop).addClass(r),e(this._backdrop).appendTo(document.body),e(this._element).on(l.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(c.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(c.SHOW);var o=function(){n._removeBackdrop(),t&&t()};if(e(this._element).hasClass(c.FADE)){var a=s.getTransitionDurationFromElement(this._backdrop);e(this._backdrop).one(s.TRANSITION_END,o).emulateTransitionEnd(a)}else o()}else t&&t()},d._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")},d._resetAdjustments=function(){this._element.style.paddingLeft="",this._element.style.paddingRight=""},d._checkScrollbar=function(){var e=document.body.getBoundingClientRect();this._isBodyOverflowing=e.left+e.right<window.innerWidth,this._scrollbarWidth=this._getScrollbarWidth()},d._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")}},d._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")},d._getScrollbarWidth=function(){var e=document.createElement("div");e.className=c.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(l.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(l.SHOW,function(t){t.isDefaultPrevented()||u.one(l.HIDDEN,function(){e(r).is(":visible")&&r.focus()})});d._jQueryInterface.call(e(n),o,this)}),e.fn.modal=d._jQueryInterface,e.fn.modal.Constructor=d,e.fn.modal.noConflict=function(){return e.fn.modal=r,d._jQueryInterface},d}(t),p=function(e){var t="tooltip",r=".bs.tooltip",o=e.fn[t],u=new RegExp("(^|\\s)bs-tooltip\\S+","g"),l={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)"},c={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"},d={SHOW:"show",OUT:"out"},h={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"},m={TOOLTIP:".tooltip",TOOLTIP_INNER:".tooltip-inner",ARROW:".arrow"},v={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,l=this._getAttachment(u);this.addAttachmentClass(l);var c=!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(c),e(this.element).trigger(this.constructor.Event.INSERTED),this._popper=new n(this.element,o,{placement:l,modifiers:{offset:{offset:this.config.offset},flip:{behavior:this.config.fallbackPlacement},arrow:{element:m.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===d.OUT&&t._leave(null,t)};if(e(this.tip).hasClass(p.FADE)){var h=s.getTransitionDurationFromElement(this.tip);e(this.tip).one(s.TRANSITION_END,f).emulateTransitionEnd(h)}else f()}},g.hide=function(t){var n=this,r=this.getTipElement(),i=e.Event(this.constructor.Event.HIDE),o=function(){n._hoverState!==d.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[v.CLICK]=!1,this._activeTrigger[v.FOCUS]=!1,this._activeTrigger[v.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(m.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 c[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!==v.MANUAL){var r=n===v.HOVER?t.constructor.Event.MOUSEENTER:t.constructor.Event.FOCUSIN,i=n===v.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?v.FOCUS:v.HOVER]=!0),e(n.getTipElement()).hasClass(p.SHOW)||n._hoverState===d.SHOW?n._hoverState=d.SHOW:(clearTimeout(n._timeout),n._hoverState=d.SHOW,n.config.delay&&n.config.delay.show?n._timeout=setTimeout(function(){n._hoverState===d.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?v.FOCUS:v.HOVER]=!1),n._isWithActiveTrigger()||(clearTimeout(n._timeout),n._hoverState=d.OUT,n.config.delay&&n.config.delay.hide?n._timeout=setTimeout(function(){n._hoverState===d.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 h}},{key:"EVENT_KEY",get:function(){return r}},{key:"DefaultType",get:function(){return l}}]),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),m=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)"}),l={FADE:"fade",SHOW:"show"},c={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},d=function(r){var a,d;function h(){return r.apply(this,arguments)||this}d=r,(a=h).prototype=Object.create(d.prototype),a.prototype.constructor=a,a.__proto__=d;var p=h.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(c.TITLE),this.getTitle());var n=this._getContent();"function"==typeof n&&(n=n.call(this.element)),this.setElementContent(t.find(c.CONTENT),n),t.removeClass(l.FADE+" "+l.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(""))},h._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 h(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(h,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}}]),h}(p);return e.fn[t]=d._jQueryInterface,e.fn[t].Constructor=d,e.fn[t].noConflict=function(){return e.fn[t]=r,d._jQueryInterface},d}(t),v=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"},l={DROPDOWN_ITEM:"dropdown-item",DROPDOWN_MENU:"dropdown-menu",ACTIVE:"active"},c={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"},d=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+" "+c.NAV_LINKS+","+this._config.target+" "+c.LIST_ITEMS+","+this._config.target+" "+c.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 d=n.prototype;return d.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])})},d.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},d._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},d._getScrollTop=function(){return this._scrollElement===window?this._scrollElement.pageYOffset:this._scrollElement.scrollTop},d._getScrollHeight=function(){return this._scrollElement.scrollHeight||Math.max(document.body.scrollHeight,document.documentElement.scrollHeight)},d._getOffsetHeight=function(){return this._scrollElement===window?window.innerHeight:this._scrollElement.getBoundingClientRect().height},d._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])}}},d._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(l.DROPDOWN_ITEM)?(r.closest(c.DROPDOWN).find(c.DROPDOWN_TOGGLE).addClass(l.ACTIVE),r.addClass(l.ACTIVE)):(r.addClass(l.ACTIVE),r.parents(c.NAV_LIST_GROUP).prev(c.NAV_LINKS+", "+c.LIST_ITEMS).addClass(l.ACTIVE),r.parents(c.NAV_LIST_GROUP).prev(c.NAV_ITEMS).children(c.NAV_LINKS).addClass(l.ACTIVE)),e(this._scrollElement).trigger(u.ACTIVATE,{relatedTarget:t})},d._clear=function(){e(this._selector).filter(c.ACTIVE).removeClass(l.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(c.DATA_SPY)),n=t.length;n--;){var r=e(t[n]);d._jQueryInterface.call(r,r.data())}}),e.fn[t]=d._jQueryInterface,e.fn[t].Constructor=d,e.fn[t].noConflict=function(){return e.fn[t]=n,d._jQueryInterface},d}(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],l=s.getSelectorFromElement(this._element);if(u){var c="UL"===u.nodeName?o.ACTIVE_UL:o.ACTIVE;a=(a=e.makeArray(e(u).find(c)))[a.length-1]}var f=e.Event(n.HIDE,{relatedTarget:this._element}),d=e.Event(n.SHOW,{relatedTarget:a});if(a&&e(a).trigger(f),e(this._element).trigger(d),!d.isDefaultPrevented()&&!f.isDefaultPrevented()){l&&(i=e(l)[0]),this._activate(this._element,u);var h=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,h):h()}}},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],l=i&&u&&e(u).hasClass(r.FADE),c=function(){return a._transitionComplete(t,u,i)};if(u&&l){var f=s.getTransitionDurationFromElement(u);e(u).one(s.TRANSITION_END,c).emulateTransitionEnd(f)}else c()},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=l,e.Carousel=c,e.Collapse=f,e.Dropdown=d,e.Modal=h,e.Popover=m,e.Scrollspy=v,e.Tab=g,e.Tooltip=p,Object.defineProperty(e,"__esModule",{value:!0})}(t,n(0),n(1119))},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,l,c={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}},d="<div class='select2-measure-scrollbar'></div>",h={"Ⓐ":"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),l=1,o=function(){return l++},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=c;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){v(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(d);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,l=this.opts.id,c=this.liveRegion;(s=function(r,i,f){var d,h,p,m,v,g,y,b,w,E,_=[];for(d=0,h=(r=n.sortResults(r,i,a)).length;d<h;d+=1)m=!(v=!0===(p=r[d]).disabled)&&l(p)!==t,g=p.children&&p.children.length>0,(y=e("<li></li>")).addClass("select2-results-dept-"+f),y.addClass("select2-result"),y.addClass(m?"select2-result-selectable":"select2-result-unselectable"),v&&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(_),c.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=x.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,l=s.offset(),c=s.outerHeight(!1),f=s.outerWidth(!1),d=a.outerHeight(!1),h=e(window),p=h.width(),m=h.height(),v=h.scrollLeft()+p,g=h.scrollTop()+m,y=l.top+c,b=l.left,w=y+d<=g,E=l.top-d>=h.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(),l=this.container.offset(),c=this.container.outerHeight(!1),f=this.container.outerWidth(!1),d=a.outerHeight(!1),v=h.scrollLeft()+p,g=h.scrollTop()+m,y=l.top+c,b=l.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,d=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+_<=v)&&l.left+v+s.outerWidth(!1)>_&&(b=l.left+this.container.outerWidth(!1)-_),i={left:b,width:f},n?(i.top=l.top-d,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){c.x=e.pageX,c.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,l=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=l.find("li.select2-more-results")).length>0&&(i=s.offset().top+s.outerHeight(!0)),i>(o=l.offset().top+l.outerHeight(!1))&&l.scrollTop(l.scrollTop()+(i-o)),(a=u-l.offset().top)<0&&"none"!=r.css("display")&&l.scrollTop(l.scrollTop()+a)):l.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 v(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,l=this,c=a.val(),f=e.data(this.container,"select2-last-term");if((!0===n||!f||!g(c,f))&&(e.data(this.container,"select2-last-term",c),!0===n||!1!==this.showSearchInput&&this.opened())){o=++this.queryCount;var d=this.getMaximumSelectionSize();if(!(d>=1&&(r=this.data(),e.isArray(r)&&r.length>=d&&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(l,a.val(),r.results))!==t&&null!==i&&l.id(i)!==t&&null!==l.id(i)&&0===e(r.results).filter(function(){return g(l.id(this),l.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(),l.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(){l.loadMoreIfNeeded()},10)),this.postprocessResults(r,n),h(),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,d)+"</li>")}function h(){a.removeClass("select2-active"),l.positionDropdown(),s.find(".select2-no-results,.select2-selection-limit,.select2-searching").length?l.liveRegion.text(s.text()):l.liveRegion.text(l.opts.formatMatches(s.find('.select2-result-selectable:not(".select2-selected")').length))}function p(e){s.html(e),h()}},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(){v(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,l=this.id(n),c=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),c.push(l),this.setVal(c)},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=v(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){v(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(){v(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"],l=["opened","isFocused","container","dropdown"],c=["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(v(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))),v(s[0],l)>=0||v(s[0],c)>=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 m(""+t).toUpperCase().indexOf(m(""+e).toUpperCase())>=0},separator:",",tokenSeparators:[],tokenizer:function(e,n,r,i){var o,a,s,u,l,c=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&&(l=i.tokenSeparators[s],!((a=e.indexOf(l))>=0));s++);if(a<0)break;if(o=e.substring(0,a),e=e.substring(a+l.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 c!==e?e:void 0},escapeMarkup:k,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:x,local:S,tags:A},util:{debounce:E,markMatch:T,escapeMarkup:k,stripDiacritics:m},class:{abstract:n,single:r,multi:i}}}function p(t){var n=e(document.createTextNode(""));t.before(n),n.before(t),n.remove()}function m(e){return e.replace(/[^\u0000-\u007E]/g,function(e){return h[e]||e})}function v(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=m(e.toUpperCase()).indexOf(m(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 k(e){var t={"\\":"&#92;","&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","/":"&#47;"};return String(e).replace(/[&<>"'\/\\]/g,function(e){return t[e]})}function x(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,l=n.transport||e.fn.select2.ajaxDefaults.transport,c={type:n.type||"GET",cache:n.cache||!1,jsonpCallback:n.jsonpCallback||t,dataType:n.dataType||"json"},f=e.extend({},e.fn.select2.ajaxDefaults.params,c);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=l.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))},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=[],l=e.waitForImages.hasImageProperties||[],c=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(l,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(c,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 l=new Image,c="load.waitForImages error.waitForImages";e(l).one(c,function r(l){var f=[o,i,"load"==l.type];if(o++,n.apply(u.element,f),a.notifyWith(u.element,f),e(this).off(c,r),o==i)return t.call(s[0]),a.resolveWith(s[0]),!1}),u.srcset&&(l.srcset=u.srcset),l.src=u.src})}),a.promise()}})?r.apply(t,i):r)||(e.exports=o)},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))},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 l=t.data("ujs:submit-button");l&&(o.push(l),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>'),l='<input name="_method" value="'+i+'" type="hidden" />';void 0===s||void 0===a||n.isCrossDomain(r)||(l+='<input name="'+s+'" value="'+a+'" type="hidden" />'),o&&u.attr("target",o),u.hide().append(l).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",l={};return t.find(u).each(function(){(i=e(this)).is("input[type=radio]")?(a=i.attr("name"),l[a]||(0===t.find('input[type=radio]:checked[name="'+a+'"]').length&&(o=t.find('input[type=radio][name="'+a+'"]'),s=s.add(o)),l[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))},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)})},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)},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)}})})},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)},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=[],l=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 c={get:l,enumerable:!0,configurable:!0};try{n.defineProperty(t,"classList",c)}catch(e){void 0!==e.number&&-2146823252!==e.number||(c.enumerable=!1,n.defineProperty(t,"classList",c))}}else n.prototype.__defineGetter__&&t.__defineGetter__("classList",l)}}(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}())},function(e,t,n){"use strict";var r=n(458),i=n(400).getWeak,o=n(284),a=n(212),s=n(460),u=n(459),l=n(464),c=n(295),f=n(457),d=l(5),h=l(6),p=0,m=function(e){return e._l||(e._l=new v)},v=function(){this.a=[]},g=function(e,t){return d(e.a,function(e){return e[0]===t})};v.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=h(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 l=e(function(e,r){s(e,l,t,"_i"),e._t=t,e._i=p++,e._l=void 0,void 0!=r&&u(r,n,e[o],e)});return r(l.prototype,{delete:function(e){if(!a(e))return!1;var n=i(e);return!0===n?m(f(this,t)).delete(e):n&&c(n,this._i)&&delete n[this._i]},has:function(e){if(!a(e))return!1;var n=i(e);return!0===n?m(f(this,t)).has(e):n&&c(n,this._i)}}),l},def:function(e,t,n){var r=i(o(t),!0);return!0===r?m(e).set(t,n):r[e._i]=n,e},ufstore:m}},function(e,t,n){"use strict";var r,i=n(464)(0),o=n(322),a=n(400),s=n(622),u=n(1130),l=n(212),c=n(348),f=n(457),d=a.getWeak,h=Object.isExtensible,p=u.ufstore,m={},v=function(e){return function(){return e(this,arguments.length>0?arguments[0]:void 0)}},g={get:function(e){if(l(e)){var t=d(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(610)("WeakMap",v,g,u,!0,!0);c(function(){return 7!=(new y).set((Object.freeze||Object)(m),7).get(m)})&&(s((r=u.getConstructor(v,"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(l(t)&&!h(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)})}))},function(e,t,n){n(461),n(620),n(1131),e.exports=n(178).WeakMap},function(e,t,n){var r=n(212),i=n(284),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(321)(Function.call,n(611).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}},function(e,t,n){var r=n(212),i=n(1133).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}},function(e,t,n){"use strict";var r=n(296).f,i=n(584),o=n(458),a=n(321),s=n(460),u=n(459),l=n(585),c=n(619),f=n(614),d=n(323),h=n(400).fastKey,p=n(457),m=d?"_s":"size",v=function(e,t){var n,r=h(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,l){var c=e(function(e,r){s(e,c,t,"_i"),e._t=t,e._i=i(null),e._f=void 0,e._l=void 0,e[m]=0,void 0!=r&&u(r,n,e[l],e)});return o(c.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[m]=0},delete:function(e){var n=p(this,t),r=v(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[m]--}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!!v(p(this,t),e)}}),d&&r(c.prototype,"size",{get:function(){return p(this,t)[m]}}),c},def:function(e,t,n){var r,i,o=v(e,t);return o?o.v=n:(e._l=o={i:i=h(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[m]++,"F"!==i&&(e._i[i]=o)),e},getEntry:v,setStrong:function(e,t,n){l(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)?c(0,"keys"==e?t.k:"values"==e?t.v:[t.k,t.v]):(this._t=void 0,c(1))},n?"entries":"values",!n,!0),f(t)}}},function(e,t,n){"use strict";var r=n(1135),i=n(457);e.exports=n(610)("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)},function(e,t,n){n(461),n(586),n(621),n(1136),e.exports=n(178).Map},function(e,t,n){n(577)("observable")},function(e,t,n){n(577)("asyncIterator")},function(e,t,n){var r=n(375),i=n(612).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))}},function(e,t,n){var r=n(402),i=n(579),o=n(462);e.exports=function(e){var t=r(e),n=i.f;if(n)for(var a,s=n(e),u=o.f,l=0;s.length>l;)u.call(e,a=s[l++])&&t.push(a);return t}},function(e,t,n){"use strict";var r=n(209),i=n(295),o=n(323),a=n(213),s=n(322),u=n(400).KEY,l=n(348),c=n(588),f=n(401),d=n(408),h=n(196),p=n(613),m=n(577),v=n(1141),g=n(630),y=n(284),b=n(212),w=n(375),E=n(592),_=n(409),C=n(584),T=n(1140),k=n(611),x=n(296),S=n(402),A=k.f,O=x.f,j=T.f,I=r.Symbol,D=r.JSON,L=D&&D.stringify,P=h("_hidden"),N=h("toPrimitive"),M={}.propertyIsEnumerable,F=c("symbol-registry"),R=c("symbols"),q=c("op-symbols"),H=Object.prototype,$="function"==typeof I,B=r.QObject,U=!B||!B.prototype||!B.prototype.findChild,W=o&&l(function(){return 7!=C(O({},"a",{get:function(){return O(this,"a",{value:7}).a}})).a})?function(e,t,n){var r=A(H,t);r&&delete H[t],O(e,t,n),r&&e!==H&&O(H,t,r)}:O,V=function(e){var t=R[e]=C(I.prototype);return t._k=e,t},K=$&&"symbol"==typeof I.iterator?function(e){return"symbol"==typeof e}:function(e){return e instanceof I},z=function(e,t,n){return e===H&&z(q,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)},G=function(e,t){y(e);for(var n,r=v(t=w(t)),i=0,o=r.length;o>i;)z(e,n=r[i++],t[n]);return e},Q=function(e){var t=M.call(this,e=E(e,!0));return!(this===H&&i(R,e)&&!i(q,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!==H||!i(R,t)||i(q,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===H,r=j(n?q:w(e)),o=[],a=0;r.length>a;)!i(R,t=r[a++])||n&&!i(H,t)||o.push(R[t]);return o};$||(s((I=function(){if(this instanceof I)throw TypeError("Symbol is not a constructor!");var e=d(arguments.length>0?arguments[0]:void 0),t=function(n){this===H&&t.call(q,n),i(this,P)&&i(this[P],e)&&(this[P][e]=!1),W(this,e,_(1,n))};return o&&U&&W(H,e,{configurable:!0,set:t}),V(e)}).prototype,"toString",function(){return this._k}),k.f=Y,x.f=z,n(612).f=T.f=X,n(462).f=Q,n(579).f=J,o&&!n(463)&&s(H,"propertyIsEnumerable",Q,!0),p.f=function(e){return V(h(e))}),a(a.G+a.W+a.F*!$,{Symbol:I});for(var Z="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),ee=0;Z.length>ee;)h(Z[ee++]);for(var te=S(h.store),ne=0;te.length>ne;)m(te[ne++]);a(a.S+a.F*!$,"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*!$,"Object",{create:function(e,t){return void 0===t?C(e):G(C(e),t)},defineProperty:z,defineProperties:G,getOwnPropertyDescriptor:Y,getOwnPropertyNames:X,getOwnPropertySymbols:J}),D&&a(a.S+a.F*(!$||l(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(349)(I.prototype,N,I.prototype.valueOf),f(I,"Symbol"),f(Math,"Math",!0),f(r.JSON,"JSON",!0)},function(e,t,n){n(1142),n(461),n(1139),n(1138),e.exports=n(178).Symbol},function(e,t,n){var r=n(213),i=n(590),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("")}})},function(e,t,n){n(1144),e.exports=n(178).String.fromCodePoint},function(e,t,n){"use strict";var r=n(213),i=n(629)(!1);r(r.P,"String",{codePointAt:function(e){return i(this,e)}})},function(e,t,n){n(1146),e.exports=n(178).String.codePointAt},function(e,t,n){"use strict";var r=n(213),i=n(578),o=n(616);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}})},function(e,t,n){"use strict";var r=n(213),i=n(178),o=n(209),a=n(618),s=n(615);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)}})},function(e,t,n){var r=n(209),i=n(617).set,o=r.MutationObserver||r.WebKitMutationObserver,a=r.process,s=r.Promise,u="process"==n(404)(a);e.exports=function(){var e,t,n,l=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(l)};else if(!o||r.navigator&&r.navigator.standalone)if(s&&s.resolve){var c=s.resolve();n=function(){c.then(l)}}else n=function(){i.call(r,l)};else{var f=!0,d=document.createTextNode("");new o(l).observe(d,{characterData:!0}),n=function(){d.data=f=!f}}return function(r){var i={fn:r,next:void 0};t&&(t.next=i),e||(e=i,n()),t=i}}},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)}},function(e,t,n){"use strict";var r,i,o,a,s=n(463),u=n(209),l=n(321),c=n(581),f=n(213),d=n(212),h=n(465),p=n(460),m=n(459),v=n(618),g=n(617).set,y=n(1150)(),b=n(578),w=n(616),E=n(615),_=u.TypeError,C=u.process,T=u.Promise,k="process"==c(C),x=function(){},S=i=b.f,A=!!function(){try{var e=T.resolve(1),t=(e.constructor={})[n(196)("species")]=function(e){e(x,x)};return(k||"function"==typeof PromiseRejectionEvent)&&e.then(x)instanceof t}catch(e){}}(),O=function(e){var t;return!(!d(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,l=t.domain;try{a?(i||(2==e._h&&L(e),e._h=1),!0===a?n=r:(l&&l.enter(),n=a(r),l&&l.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(){k?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=k||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;k?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,l(N,r,1),l(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"),h(e),r.call(this);try{e(l(N,this,1),l(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(458)(T.prototype,{then:function(e,t){var n=S(v(this,T));return n.ok="function"!=typeof e||e,n.fail="function"==typeof t&&t,n.domain=k?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=l(N,e,1),this.reject=l(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(401)(T,"Promise"),n(614)("Promise"),a=n(178).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(580)(function(e){T.all(e).catch(x)})),"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;m(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(){m(e,!1,function(e){t.resolve(e).then(n.resolve,r)})});return i.e&&r(i.v),n.promise}})},function(e,t,n){n(461),n(586),n(621),n(1152),n(1149),n(1148),e.exports=n(178).Promise},function(e,t,n){var r=n(213);r(r.S+r.F,"Object",{assign:n(622)})},function(e,t,n){n(1154),e.exports=n(178).Object.assign},function(e,t,n){"use strict";var r=n(213),i=n(627)(!0);r(r.P,"Array",{includes:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}}),n(405)("includes")},function(e,t,n){n(1156),e.exports=n(178).Array.includes},function(e,t,n){"use strict";var r=n(296),i=n(409);e.exports=function(e,t,n){t in e?r.f(e,t,i(0,n)):e[t]=n}},function(e,t,n){"use strict";var r=n(321),i=n(213),o=n(407),a=n(625),s=n(624),u=n(406),l=n(1158),c=n(623);i(i.S+i.F*!n(580)(function(e){Array.from(e)}),"Array",{from:function(e){var t,n,i,f,d=o(e),h="function"==typeof this?this:Array,p=arguments.length,m=p>1?arguments[1]:void 0,v=void 0!==m,g=0,y=c(d);if(v&&(m=r(m,p>2?arguments[2]:void 0,2)),void 0==y||h==Array&&s(y))for(n=new h(t=u(d.length));t>g;g++)l(n,g,v?m(d[g],g):d[g]);else for(f=y.call(d),n=new h;!(i=f.next()).done;g++)l(n,g,v?a(f,m,[i.value,g],!0):i.value);return n.length=g,n}})},function(e,t,n){var r=n(295),i=n(407),o=n(583)("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}},function(e,t,n){var r=n(296),i=n(284),o=n(402);e.exports=n(323)?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}},function(e,t,n){"use strict";var r=n(584),i=n(409),o=n(401),a={};n(349)(a,n(196)("iterator"),function(){return this}),e.exports=function(e,t,n){e.prototype=r(a,{next:i(1,n)}),o(e,t+" Iterator")}},function(e,t,n){n(586),n(1159),e.exports=n(178).Array.from},function(e,t,n){"use strict";var r=n(213),i=n(464)(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(405)(o)},function(e,t,n){n(1164),e.exports=n(178).Array.findIndex},function(e,t,n){var r=n(212),i=n(630),o=n(196)("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}},function(e,t,n){var r=n(1166);e.exports=function(e,t){return new(r(e))(t)}},function(e,t,n){"use strict";var r=n(213),i=n(464)(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(405)("find")},function(e,t,n){n(1168),e.exports=n(178).Array.find},function(e,t,n){"use strict";var r=n(407),i=n(590),o=n(406);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,l=void 0===u?n:i(u,n);l>s;)t[s++]=e;return t}},function(e,t,n){var r=n(213);r(r.P,"Array",{fill:n(1170)}),n(405)("fill")},function(e,t,n){n(1171),e.exports=n(178).Array.fill},function(e,t,n){gon&&gon.webpack_public_path&&(n.p=gon.webpack_public_path)}]]);
//# sourceMappingURL=main.a66b6c66.chunk.js.map