151 lines
No EOL
1.9 MiB
151 lines
No EOL
1.9 MiB
(this.webpackJsonp=this.webpackJsonp||[]).push([[0],{0:function(e,t,n){var i;
|
||
/*!
|
||
* 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,o){"use strict";var r=[],a=n.document,s=Object.getPrototypeOf,c=r.slice,l=r.concat,d=r.push,u=r.indexOf,f={},h=f.toString,p=f.hasOwnProperty,g=p.toString,m=g.call(Object),b={},v=function(e){return"function"==typeof e&&"number"!=typeof e.nodeType},y=function(e){return null!=e&&e===e.window},_={type:!0,src:!0,noModule:!0};function w(e,t,n){var i,o=(t=t||a).createElement("script");if(o.text=e,n)for(i in _)n[i]&&(o[i]=n[i]);t.head.appendChild(o).parentNode.removeChild(o)}function x(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?f[h.call(e)]||"object":typeof e}var S=function(e,t){return new S.fn.init(e,t)},T=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g;function k(e){var t=!!e&&"length"in e&&e.length,n=x(e);return!v(e)&&!y(e)&&("array"===n||0===t||"number"==typeof t&&t>0&&t-1 in e)}S.fn=S.prototype={jquery:"3.3.1",constructor:S,length:0,toArray:function(){return c.call(this)},get:function(e){return null==e?c.call(this):e<0?this[e+this.length]:this[e]},pushStack:function(e){var t=S.merge(this.constructor(),e);return t.prevObject=this,t},each:function(e){return S.each(this,e)},map:function(e){return this.pushStack(S.map(this,function(t,n){return e.call(t,n,t)}))},slice:function(){return this.pushStack(c.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:d,sort:r.sort,splice:r.splice},S.extend=S.fn.extend=function(){var e,t,n,i,o,r,a=arguments[0]||{},s=1,c=arguments.length,l=!1;for("boolean"==typeof a&&(l=a,a=arguments[s]||{},s++),"object"==typeof a||v(a)||(a={}),s===c&&(a=this,s--);s<c;s++)if(null!=(e=arguments[s]))for(t in e)n=a[t],a!==(i=e[t])&&(l&&i&&(S.isPlainObject(i)||(o=Array.isArray(i)))?(o?(o=!1,r=n&&Array.isArray(n)?n:[]):r=n&&S.isPlainObject(n)?n:{},a[t]=S.extend(l,r,i)):void 0!==i&&(a[t]=i));return a},S.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)&&g.call(n)===m)},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},globalEval:function(e){w(e)},each:function(e,t){var n,i=0;if(k(e))for(n=e.length;i<n&&!1!==t.call(e[i],i,e[i]);i++);else for(i in e)if(!1===t.call(e[i],i,e[i]))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))?S.merge(n,"string"==typeof e?[e]:e):d.call(n,e)),n},inArray:function(e,t,n){return null==t?-1:u.call(t,e,n)},merge:function(e,t){for(var n=+t.length,i=0,o=e.length;i<n;i++)e[o++]=t[i];return e.length=o,e},grep:function(e,t,n){for(var i=[],o=0,r=e.length,a=!n;o<r;o++)!t(e[o],o)!==a&&i.push(e[o]);return i},map:function(e,t,n){var i,o,r=0,a=[];if(k(e))for(i=e.length;r<i;r++)null!=(o=t(e[r],r,n))&&a.push(o);else for(r in e)null!=(o=t(e[r],r,n))&&a.push(o);return l.apply([],a)},guid:1,support:b}),"function"==typeof Symbol&&(S.fn[Symbol.iterator]=r[Symbol.iterator]),S.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(e,t){f["[object "+t+"]"]=t.toLowerCase()});var C=
|
||
/*!
|
||
* 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,i,o,r,a,s,c,l,d,u,f,h,p,g,m,b,v,y,_="sizzle"+1*new Date,w=e.document,x=0,S=0,T=ae(),k=ae(),C=ae(),j=function(e,t){return e===t&&(u=!0),0},A={}.hasOwnProperty,E=[],I=E.pop,M=E.push,O=E.push,D=E.slice,V=function(e,t){for(var n=0,i=e.length;n<i;n++)if(e[n]===t)return n;return-1},L="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",P="[\\x20\\t\\r\\n\\f]",N="(?:\\\\.|[\\w-]|[^\0-\\xa0])+",R="\\["+P+"*("+N+")(?:"+P+"*([*^$|!~]?=)"+P+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+N+"))|)"+P+"*\\]",F=":("+N+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+R+")*)|.*)\\)|)",B=new RegExp(P+"+","g"),z=new RegExp("^"+P+"+|((?:^|[^\\\\])(?:\\\\.)*)"+P+"+$","g"),H=new RegExp("^"+P+"*,"+P+"*"),$=new RegExp("^"+P+"*([>+~]|"+P+")"+P+"*"),q=new RegExp("="+P+"*([^\\]'\"]*?)"+P+"*\\]","g"),W=new RegExp(F),G=new RegExp("^"+N+"$"),U={ID:new RegExp("^#("+N+")"),CLASS:new RegExp("^\\.("+N+")"),TAG:new RegExp("^("+N+"|[*])"),ATTR:new RegExp("^"+R),PSEUDO:new RegExp("^"+F),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+P+"*(even|odd|(([+-]|)(\\d*)n|)"+P+"*(?:([+-]|)"+P+"*(\\d+)|))"+P+"*\\)|)","i"),bool:new RegExp("^(?:"+L+")$","i"),needsContext:new RegExp("^"+P+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+P+"*((?:-\\d)?\\d*)"+P+"*\\)|)(?=[^-]|$)","i")},K=/^(?:input|select|textarea|button)$/i,Y=/^h\d$/i,Z=/^[^{]+\{\s*\[native \w/,X=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,Q=/[+~]/,J=new RegExp("\\\\([\\da-f]{1,6}"+P+"?|("+P+")|.)","ig"),ee=function(e,t,n){var i="0x"+t-65536;return i!=i||n?t:i<0?String.fromCharCode(i+65536):String.fromCharCode(i>>10|55296,1023&i|56320)},te=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,ne=function(e,t){return t?"\0"===e?"<22>":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e},ie=function(){f()},oe=ve(function(e){return!0===e.disabled&&("form"in e||"label"in e)},{dir:"parentNode",next:"legend"});try{O.apply(E=D.call(w.childNodes),w.childNodes),E[w.childNodes.length].nodeType}catch(e){O={apply:E.length?function(e,t){M.apply(e,D.call(t))}:function(e,t){for(var n=e.length,i=0;e[n++]=t[i++];);e.length=n-1}}}function re(e,t,i,o){var r,s,l,d,u,p,b,v=t&&t.ownerDocument,x=t?t.nodeType:9;if(i=i||[],"string"!=typeof e||!e||1!==x&&9!==x&&11!==x)return i;if(!o&&((t?t.ownerDocument||t:w)!==h&&f(t),t=t||h,g)){if(11!==x&&(u=X.exec(e)))if(r=u[1]){if(9===x){if(!(l=t.getElementById(r)))return i;if(l.id===r)return i.push(l),i}else if(v&&(l=v.getElementById(r))&&y(t,l)&&l.id===r)return i.push(l),i}else{if(u[2])return O.apply(i,t.getElementsByTagName(e)),i;if((r=u[3])&&n.getElementsByClassName&&t.getElementsByClassName)return O.apply(i,t.getElementsByClassName(r)),i}if(n.qsa&&!C[e+" "]&&(!m||!m.test(e))){if(1!==x)v=t,b=e;else if("object"!==t.nodeName.toLowerCase()){for((d=t.getAttribute("id"))?d=d.replace(te,ne):t.setAttribute("id",d=_),s=(p=a(e)).length;s--;)p[s]="#"+d+" "+be(p[s]);b=p.join(","),v=Q.test(e)&&ge(t.parentNode)||t}if(b)try{return O.apply(i,v.querySelectorAll(b)),i}catch(e){}finally{d===_&&t.removeAttribute("id")}}}return c(e.replace(z,"$1"),t,i,o)}function ae(){var e=[];return function t(n,o){return e.push(n+" ")>i.cacheLength&&delete t[e.shift()],t[n+" "]=o}}function se(e){return e[_]=!0,e}function ce(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("|"),o=n.length;o--;)i.attrHandle[n[o]]=t}function de(e,t){var n=t&&e,i=n&&1===e.nodeType&&1===t.nodeType&&e.sourceIndex-t.sourceIndex;if(i)return i;if(n)for(;n=n.nextSibling;)if(n===t)return-1;return e?1:-1}function ue(e){return function(t){return"input"===t.nodeName.toLowerCase()&&t.type===e}}function fe(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&&oe(t)===e:t.disabled===e:"label"in t&&t.disabled===e}}function pe(e){return se(function(t){return t=+t,se(function(n,i){for(var o,r=e([],n.length,t),a=r.length;a--;)n[o=r[a]]&&(n[o]=!(i[o]=n[o]))})})}function ge(e){return e&&void 0!==e.getElementsByTagName&&e}for(t in n=re.support={},r=re.isXML=function(e){var t=e&&(e.ownerDocument||e).documentElement;return!!t&&"HTML"!==t.nodeName},f=re.setDocument=function(e){var t,o,a=e?e.ownerDocument||e:w;return a!==h&&9===a.nodeType&&a.documentElement?(p=(h=a).documentElement,g=!r(h),w!==h&&(o=h.defaultView)&&o.top!==o&&(o.addEventListener?o.addEventListener("unload",ie,!1):o.attachEvent&&o.attachEvent("onunload",ie)),n.attributes=ce(function(e){return e.className="i",!e.getAttribute("className")}),n.getElementsByTagName=ce(function(e){return e.appendChild(h.createComment("")),!e.getElementsByTagName("*").length}),n.getElementsByClassName=Z.test(h.getElementsByClassName),n.getById=ce(function(e){return p.appendChild(e).id=_,!h.getElementsByName||!h.getElementsByName(_).length}),n.getById?(i.filter.ID=function(e){var t=e.replace(J,ee);return function(e){return e.getAttribute("id")===t}},i.find.ID=function(e,t){if(void 0!==t.getElementById&&g){var n=t.getElementById(e);return n?[n]:[]}}):(i.filter.ID=function(e){var t=e.replace(J,ee);return function(e){var n=void 0!==e.getAttributeNode&&e.getAttributeNode("id");return n&&n.value===t}},i.find.ID=function(e,t){if(void 0!==t.getElementById&&g){var n,i,o,r=t.getElementById(e);if(r){if((n=r.getAttributeNode("id"))&&n.value===e)return[r];for(o=t.getElementsByName(e),i=0;r=o[i++];)if((n=r.getAttributeNode("id"))&&n.value===e)return[r]}return[]}}),i.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,i=[],o=0,r=t.getElementsByTagName(e);if("*"===e){for(;n=r[o++];)1===n.nodeType&&i.push(n);return i}return r},i.find.CLASS=n.getElementsByClassName&&function(e,t){if(void 0!==t.getElementsByClassName&&g)return t.getElementsByClassName(e)},b=[],m=[],(n.qsa=Z.test(h.querySelectorAll))&&(ce(function(e){p.appendChild(e).innerHTML="<a id='"+_+"'></a><select id='"+_+"-\r\\' msallowcapture=''><option selected=''></option></select>",e.querySelectorAll("[msallowcapture^='']").length&&m.push("[*^$]="+P+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||m.push("\\["+P+"*(?:value|"+L+")"),e.querySelectorAll("[id~="+_+"-]").length||m.push("~="),e.querySelectorAll(":checked").length||m.push(":checked"),e.querySelectorAll("a#"+_+"+*").length||m.push(".#.+[+~]")}),ce(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&&m.push("name"+P+"*[*^$|!~]?="),2!==e.querySelectorAll(":enabled").length&&m.push(":enabled",":disabled"),p.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&m.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),m.push(",.*:")})),(n.matchesSelector=Z.test(v=p.matches||p.webkitMatchesSelector||p.mozMatchesSelector||p.oMatchesSelector||p.msMatchesSelector))&&ce(function(e){n.disconnectedMatch=v.call(e,"*"),v.call(e,"[s!='']:x"),b.push("!=",F)}),m=m.length&&new RegExp(m.join("|")),b=b.length&&new RegExp(b.join("|")),t=Z.test(p.compareDocumentPosition),y=t||Z.test(p.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,i=t&&t.parentNode;return e===i||!(!i||1!==i.nodeType||!(n.contains?n.contains(i):e.compareDocumentPosition&&16&e.compareDocumentPosition(i)))}:function(e,t){if(t)for(;t=t.parentNode;)if(t===e)return!0;return!1},j=t?function(e,t){if(e===t)return u=!0,0;var i=!e.compareDocumentPosition-!t.compareDocumentPosition;return i||(1&(i=(e.ownerDocument||e)===(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!n.sortDetached&&t.compareDocumentPosition(e)===i?e===h||e.ownerDocument===w&&y(w,e)?-1:t===h||t.ownerDocument===w&&y(w,t)?1:d?V(d,e)-V(d,t):0:4&i?-1:1)}:function(e,t){if(e===t)return u=!0,0;var n,i=0,o=e.parentNode,r=t.parentNode,a=[e],s=[t];if(!o||!r)return e===h?-1:t===h?1:o?-1:r?1:d?V(d,e)-V(d,t):0;if(o===r)return de(e,t);for(n=e;n=n.parentNode;)a.unshift(n);for(n=t;n=n.parentNode;)s.unshift(n);for(;a[i]===s[i];)i++;return i?de(a[i],s[i]):a[i]===w?-1:s[i]===w?1:0},h):h},re.matches=function(e,t){return re(e,null,null,t)},re.matchesSelector=function(e,t){if((e.ownerDocument||e)!==h&&f(e),t=t.replace(q,"='$1']"),n.matchesSelector&&g&&!C[t+" "]&&(!b||!b.test(t))&&(!m||!m.test(t)))try{var i=v.call(e,t);if(i||n.disconnectedMatch||e.document&&11!==e.document.nodeType)return i}catch(e){}return re(t,h,null,[e]).length>0},re.contains=function(e,t){return(e.ownerDocument||e)!==h&&f(e),y(e,t)},re.attr=function(e,t){(e.ownerDocument||e)!==h&&f(e);var o=i.attrHandle[t.toLowerCase()],r=o&&A.call(i.attrHandle,t.toLowerCase())?o(e,t,!g):void 0;return void 0!==r?r:n.attributes||!g?e.getAttribute(t):(r=e.getAttributeNode(t))&&r.specified?r.value:null},re.escape=function(e){return(e+"").replace(te,ne)},re.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},re.uniqueSort=function(e){var t,i=[],o=0,r=0;if(u=!n.detectDuplicates,d=!n.sortStable&&e.slice(0),e.sort(j),u){for(;t=e[r++];)t===e[r]&&(o=i.push(r));for(;o--;)e.splice(i[o],1)}return d=null,e},o=re.getText=function(e){var t,n="",i=0,r=e.nodeType;if(r){if(1===r||9===r||11===r){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=o(e)}else if(3===r||4===r)return e.nodeValue}else for(;t=e[i++];)n+=o(t);return n},(i=re.selectors={cacheLength:50,createPseudo:se,match:U,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(J,ee),e[3]=(e[3]||e[4]||e[5]||"").replace(J,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]||re.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]&&re.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return U.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&W.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(J,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("(^|"+P+")"+e+"("+P+"|$)"))&&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(i){var o=re.attr(i,e);return null==o?"!="===t:!t||(o+="","="===t?o===n:"!="===t?o!==n:"^="===t?n&&0===o.indexOf(n):"*="===t?n&&o.indexOf(n)>-1:"$="===t?n&&o.slice(-n.length)===n:"~="===t?(" "+o.replace(B," ")+" ").indexOf(n)>-1:"|="===t&&(o===n||o.slice(0,n.length+1)===n+"-"))}},CHILD:function(e,t,n,i,o){var r="nth"!==e.slice(0,3),a="last"!==e.slice(-4),s="of-type"===t;return 1===i&&0===o?function(e){return!!e.parentNode}:function(t,n,c){var l,d,u,f,h,p,g=r!==a?"nextSibling":"previousSibling",m=t.parentNode,b=s&&t.nodeName.toLowerCase(),v=!c&&!s,y=!1;if(m){if(r){for(;g;){for(f=t;f=f[g];)if(s?f.nodeName.toLowerCase()===b:1===f.nodeType)return!1;p=g="only"===e&&!p&&"nextSibling"}return!0}if(p=[a?m.firstChild:m.lastChild],a&&v){for(y=(h=(l=(d=(u=(f=m)[_]||(f[_]={}))[f.uniqueID]||(u[f.uniqueID]={}))[e]||[])[0]===x&&l[1])&&l[2],f=h&&m.childNodes[h];f=++h&&f&&f[g]||(y=h=0)||p.pop();)if(1===f.nodeType&&++y&&f===t){d[e]=[x,h,y];break}}else if(v&&(y=h=(l=(d=(u=(f=t)[_]||(f[_]={}))[f.uniqueID]||(u[f.uniqueID]={}))[e]||[])[0]===x&&l[1]),!1===y)for(;(f=++h&&f&&f[g]||(y=h=0)||p.pop())&&((s?f.nodeName.toLowerCase()!==b:1!==f.nodeType)||!++y||(v&&((d=(u=f[_]||(f[_]={}))[f.uniqueID]||(u[f.uniqueID]={}))[e]=[x,y]),f!==t)););return(y-=o)===i||y%i==0&&y/i>=0}}},PSEUDO:function(e,t){var n,o=i.pseudos[e]||i.setFilters[e.toLowerCase()]||re.error("unsupported pseudo: "+e);return o[_]?o(t):o.length>1?(n=[e,e,"",t],i.setFilters.hasOwnProperty(e.toLowerCase())?se(function(e,n){for(var i,r=o(e,t),a=r.length;a--;)e[i=V(e,r[a])]=!(n[i]=r[a])}):function(e){return o(e,0,n)}):o}},pseudos:{not:se(function(e){var t=[],n=[],i=s(e.replace(z,"$1"));return i[_]?se(function(e,t,n,o){for(var r,a=i(e,null,o,[]),s=e.length;s--;)(r=a[s])&&(e[s]=!(t[s]=r))}):function(e,o,r){return t[0]=e,i(t,null,r,n),t[0]=null,!n.pop()}}),has:se(function(e){return function(t){return re(e,t).length>0}}),contains:se(function(e){return e=e.replace(J,ee),function(t){return(t.textContent||t.innerText||o(t)).indexOf(e)>-1}}),lang:se(function(e){return G.test(e||"")||re.error("unsupported lang: "+e),e=e.replace(J,ee).toLowerCase(),function(t){var n;do{if(n=g?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!i.pseudos.empty(e)},header:function(e){return Y.test(e.nodeName)},input:function(e){return K.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 i=n<0?n+t:n;--i>=0;)e.push(i);return e}),gt:pe(function(e,t,n){for(var i=n<0?n+t:n;++i<t;)e.push(i);return e})}}).pseudos.nth=i.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})i.pseudos[t]=ue(t);for(t in{submit:!0,reset:!0})i.pseudos[t]=fe(t);function me(){}function be(e){for(var t=0,n=e.length,i="";t<n;t++)i+=e[t].value;return i}function ve(e,t,n){var i=t.dir,o=t.next,r=o||i,a=n&&"parentNode"===r,s=S++;return t.first?function(t,n,o){for(;t=t[i];)if(1===t.nodeType||a)return e(t,n,o);return!1}:function(t,n,c){var l,d,u,f=[x,s];if(c){for(;t=t[i];)if((1===t.nodeType||a)&&e(t,n,c))return!0}else for(;t=t[i];)if(1===t.nodeType||a)if(d=(u=t[_]||(t[_]={}))[t.uniqueID]||(u[t.uniqueID]={}),o&&o===t.nodeName.toLowerCase())t=t[i]||t;else{if((l=d[r])&&l[0]===x&&l[1]===s)return f[2]=l[2];if(d[r]=f,f[2]=e(t,n,c))return!0}return!1}}function ye(e){return e.length>1?function(t,n,i){for(var o=e.length;o--;)if(!e[o](t,n,i))return!1;return!0}:e[0]}function _e(e,t,n,i,o){for(var r,a=[],s=0,c=e.length,l=null!=t;s<c;s++)(r=e[s])&&(n&&!n(r,i,o)||(a.push(r),l&&t.push(s)));return a}function we(e,t,n,i,o,r){return i&&!i[_]&&(i=we(i)),o&&!o[_]&&(o=we(o,r)),se(function(r,a,s,c){var l,d,u,f=[],h=[],p=a.length,g=r||function(e,t,n){for(var i=0,o=t.length;i<o;i++)re(e,t[i],n);return n}(t||"*",s.nodeType?[s]:s,[]),m=!e||!r&&t?g:_e(g,f,e,s,c),b=n?o||(r?e:p||i)?[]:a:m;if(n&&n(m,b,s,c),i)for(l=_e(b,h),i(l,[],s,c),d=l.length;d--;)(u=l[d])&&(b[h[d]]=!(m[h[d]]=u));if(r){if(o||e){if(o){for(l=[],d=b.length;d--;)(u=b[d])&&l.push(m[d]=u);o(null,b=[],l,c)}for(d=b.length;d--;)(u=b[d])&&(l=o?V(r,u):f[d])>-1&&(r[l]=!(a[l]=u))}}else b=_e(b===a?b.splice(p,b.length):b),o?o(null,a,b,c):O.apply(a,b)})}function xe(e){for(var t,n,o,r=e.length,a=i.relative[e[0].type],s=a||i.relative[" "],c=a?1:0,d=ve(function(e){return e===t},s,!0),u=ve(function(e){return V(t,e)>-1},s,!0),f=[function(e,n,i){var o=!a&&(i||n!==l)||((t=n).nodeType?d(e,n,i):u(e,n,i));return t=null,o}];c<r;c++)if(n=i.relative[e[c].type])f=[ve(ye(f),n)];else{if((n=i.filter[e[c].type].apply(null,e[c].matches))[_]){for(o=++c;o<r&&!i.relative[e[o].type];o++);return we(c>1&&ye(f),c>1&&be(e.slice(0,c-1).concat({value:" "===e[c-2].type?"*":""})).replace(z,"$1"),n,c<o&&xe(e.slice(c,o)),o<r&&xe(e=e.slice(o)),o<r&&be(e))}f.push(n)}return ye(f)}return me.prototype=i.filters=i.pseudos,i.setFilters=new me,a=re.tokenize=function(e,t){var n,o,r,a,s,c,l,d=k[e+" "];if(d)return t?0:d.slice(0);for(s=e,c=[],l=i.preFilter;s;){for(a in n&&!(o=H.exec(s))||(o&&(s=s.slice(o[0].length)||s),c.push(r=[])),n=!1,(o=$.exec(s))&&(n=o.shift(),r.push({value:n,type:o[0].replace(z," ")}),s=s.slice(n.length)),i.filter)!(o=U[a].exec(s))||l[a]&&!(o=l[a](o))||(n=o.shift(),r.push({value:n,type:a,matches:o}),s=s.slice(n.length));if(!n)break}return t?s.length:s?re.error(e):k(e,c).slice(0)},s=re.compile=function(e,t){var n,o=[],r=[],s=C[e+" "];if(!s){for(t||(t=a(e)),n=t.length;n--;)(s=xe(t[n]))[_]?o.push(s):r.push(s);(s=C(e,function(e,t){var n=t.length>0,o=e.length>0,r=function(r,a,s,c,d){var u,p,m,b=0,v="0",y=r&&[],_=[],w=l,S=r||o&&i.find.TAG("*",d),T=x+=null==w?1:Math.random()||.1,k=S.length;for(d&&(l=a===h||a||d);v!==k&&null!=(u=S[v]);v++){if(o&&u){for(p=0,a||u.ownerDocument===h||(f(u),s=!g);m=e[p++];)if(m(u,a||h,s)){c.push(u);break}d&&(x=T)}n&&((u=!m&&u)&&b--,r&&y.push(u))}if(b+=v,n&&v!==b){for(p=0;m=t[p++];)m(y,_,a,s);if(r){if(b>0)for(;v--;)y[v]||_[v]||(_[v]=I.call(c));_=_e(_)}O.apply(c,_),d&&!r&&_.length>0&&b+t.length>1&&re.uniqueSort(c)}return d&&(x=T,l=w),y};return n?se(r):r}(r,o))).selector=e}return s},c=re.select=function(e,t,n,o){var r,c,l,d,u,f="function"==typeof e&&e,h=!o&&a(e=f.selector||e);if(n=n||[],1===h.length){if((c=h[0]=h[0].slice(0)).length>2&&"ID"===(l=c[0]).type&&9===t.nodeType&&g&&i.relative[c[1].type]){if(!(t=(i.find.ID(l.matches[0].replace(J,ee),t)||[])[0]))return n;f&&(t=t.parentNode),e=e.slice(c.shift().value.length)}for(r=U.needsContext.test(e)?0:c.length;r--&&(l=c[r],!i.relative[d=l.type]);)if((u=i.find[d])&&(o=u(l.matches[0].replace(J,ee),Q.test(c[0].type)&&ge(t.parentNode)||t))){if(c.splice(r,1),!(e=o.length&&be(c)))return O.apply(n,o),n;break}}return(f||s(e,h))(o,t,!g,n,!t||Q.test(e)&&ge(t.parentNode)||t),n},n.sortStable=_.split("").sort(j).join("")===_,n.detectDuplicates=!!u,f(),n.sortDetached=ce(function(e){return 1&e.compareDocumentPosition(h.createElement("fieldset"))}),ce(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&&ce(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}),ce(function(e){return null==e.getAttribute("disabled")})||le(L,function(e,t,n){var i;if(!n)return!0===e[t]?t.toLowerCase():(i=e.getAttributeNode(t))&&i.specified?i.value:null}),re}(n);S.find=C,S.expr=C.selectors,S.expr[":"]=S.expr.pseudos,S.uniqueSort=S.unique=C.uniqueSort,S.text=C.getText,S.isXMLDoc=C.isXML,S.contains=C.contains,S.escapeSelector=C.escape;var j=function(e,t,n){for(var i=[],o=void 0!==n;(e=e[t])&&9!==e.nodeType;)if(1===e.nodeType){if(o&&S(e).is(n))break;i.push(e)}return i},A=function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n},E=S.expr.match.needsContext;function I(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()}var M=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function O(e,t,n){return v(t)?S.grep(e,function(e,i){return!!t.call(e,i,e)!==n}):t.nodeType?S.grep(e,function(e){return e===t!==n}):"string"!=typeof t?S.grep(e,function(e){return u.call(t,e)>-1!==n}):S.filter(t,e,n)}S.filter=function(e,t,n){var i=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===i.nodeType?S.find.matchesSelector(i,e)?[i]:[]:S.find.matches(e,S.grep(t,function(e){return 1===e.nodeType}))},S.fn.extend({find:function(e){var t,n,i=this.length,o=this;if("string"!=typeof e)return this.pushStack(S(e).filter(function(){for(t=0;t<i;t++)if(S.contains(o[t],this))return!0}));for(n=this.pushStack([]),t=0;t<i;t++)S.find(e,o[t],n);return i>1?S.uniqueSort(n):n},filter:function(e){return this.pushStack(O(this,e||[],!1))},not:function(e){return this.pushStack(O(this,e||[],!0))},is:function(e){return!!O(this,"string"==typeof e&&E.test(e)?S(e):e||[],!1).length}});var D,V=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(S.fn.init=function(e,t,n){var i,o;if(!e)return this;if(n=n||D,"string"==typeof e){if(!(i="<"===e[0]&&">"===e[e.length-1]&&e.length>=3?[null,e,null]:V.exec(e))||!i[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(i[1]){if(t=t instanceof S?t[0]:t,S.merge(this,S.parseHTML(i[1],t&&t.nodeType?t.ownerDocument||t:a,!0)),M.test(i[1])&&S.isPlainObject(t))for(i in t)v(this[i])?this[i](t[i]):this.attr(i,t[i]);return this}return(o=a.getElementById(i[2]))&&(this[0]=o,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):v(e)?void 0!==n.ready?n.ready(e):e(S):S.makeArray(e,this)}).prototype=S.fn,D=S(a);var L=/^(?:parents|prev(?:Until|All))/,P={children:!0,contents:!0,next:!0,prev:!0};function N(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}S.fn.extend({has:function(e){var t=S(e,this),n=t.length;return this.filter(function(){for(var e=0;e<n;e++)if(S.contains(this,t[e]))return!0})},closest:function(e,t){var n,i=0,o=this.length,r=[],a="string"!=typeof e&&S(e);if(!E.test(e))for(;i<o;i++)for(n=this[i];n&&n!==t;n=n.parentNode)if(n.nodeType<11&&(a?a.index(n)>-1:1===n.nodeType&&S.find.matchesSelector(n,e))){r.push(n);break}return this.pushStack(r.length>1?S.uniqueSort(r):r)},index:function(e){return e?"string"==typeof e?u.call(S(e),this[0]):u.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(S.uniqueSort(S.merge(this.get(),S(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),S.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return j(e,"parentNode")},parentsUntil:function(e,t,n){return j(e,"parentNode",n)},next:function(e){return N(e,"nextSibling")},prev:function(e){return N(e,"previousSibling")},nextAll:function(e){return j(e,"nextSibling")},prevAll:function(e){return j(e,"previousSibling")},nextUntil:function(e,t,n){return j(e,"nextSibling",n)},prevUntil:function(e,t,n){return j(e,"previousSibling",n)},siblings:function(e){return A((e.parentNode||{}).firstChild,e)},children:function(e){return A(e.firstChild)},contents:function(e){return I(e,"iframe")?e.contentDocument:(I(e,"template")&&(e=e.content||e),S.merge([],e.childNodes))}},function(e,t){S.fn[e]=function(n,i){var o=S.map(this,t,n);return"Until"!==e.slice(-5)&&(i=n),i&&"string"==typeof i&&(o=S.filter(i,o)),this.length>1&&(P[e]||S.uniqueSort(o),L.test(e)&&o.reverse()),this.pushStack(o)}});var R=/[^\x20\t\r\n\f]+/g;function F(e){return e}function B(e){throw e}function z(e,t,n,i){var o;try{e&&v(o=e.promise)?o.call(e).done(t).fail(n):e&&v(o=e.then)?o.call(e,t,n):t.apply(void 0,[e].slice(i))}catch(e){n.apply(void 0,[e])}}S.Callbacks=function(e){e="string"==typeof e?function(e){var t={};return S.each(e.match(R)||[],function(e,n){t[n]=!0}),t}(e):S.extend({},e);var t,n,i,o,r=[],a=[],s=-1,c=function(){for(o=o||e.once,i=t=!0;a.length;s=-1)for(n=a.shift();++s<r.length;)!1===r[s].apply(n[0],n[1])&&e.stopOnFalse&&(s=r.length,n=!1);e.memory||(n=!1),t=!1,o&&(r=n?[]:"")},l={add:function(){return r&&(n&&!t&&(s=r.length-1,a.push(n)),function t(n){S.each(n,function(n,i){v(i)?e.unique&&l.has(i)||r.push(i):i&&i.length&&"string"!==x(i)&&t(i)})}(arguments),n&&!t&&c()),this},remove:function(){return S.each(arguments,function(e,t){for(var n;(n=S.inArray(t,r,n))>-1;)r.splice(n,1),n<=s&&s--}),this},has:function(e){return e?S.inArray(e,r)>-1:r.length>0},empty:function(){return r&&(r=[]),this},disable:function(){return o=a=[],r=n="",this},disabled:function(){return!r},lock:function(){return o=a=[],n||t||(r=n=""),this},locked:function(){return!!o},fireWith:function(e,n){return o||(n=[e,(n=n||[]).slice?n.slice():n],a.push(n),t||c()),this},fire:function(){return l.fireWith(this,arguments),this},fired:function(){return!!i}};return l},S.extend({Deferred:function(e){var t=[["notify","progress",S.Callbacks("memory"),S.Callbacks("memory"),2],["resolve","done",S.Callbacks("once memory"),S.Callbacks("once memory"),0,"resolved"],["reject","fail",S.Callbacks("once memory"),S.Callbacks("once memory"),1,"rejected"]],i="pending",o={state:function(){return i},always:function(){return r.done(arguments).fail(arguments),this},catch:function(e){return o.then(null,e)},pipe:function(){var e=arguments;return S.Deferred(function(n){S.each(t,function(t,i){var o=v(e[i[4]])&&e[i[4]];r[i[1]](function(){var e=o&&o.apply(this,arguments);e&&v(e.promise)?e.promise().progress(n.notify).done(n.resolve).fail(n.reject):n[i[0]+"With"](this,o?[e]:arguments)})}),e=null}).promise()},then:function(e,i,o){var r=0;function a(e,t,i,o){return function(){var s=this,c=arguments,l=function(){var n,l;if(!(e<r)){if((n=i.apply(s,c))===t.promise())throw new TypeError("Thenable self-resolution");l=n&&("object"==typeof n||"function"==typeof n)&&n.then,v(l)?o?l.call(n,a(r,t,F,o),a(r,t,B,o)):(r++,l.call(n,a(r,t,F,o),a(r,t,B,o),a(r,t,F,t.notifyWith))):(i!==F&&(s=void 0,c=[n]),(o||t.resolveWith)(s,c))}},d=o?l:function(){try{l()}catch(n){S.Deferred.exceptionHook&&S.Deferred.exceptionHook(n,d.stackTrace),e+1>=r&&(i!==B&&(s=void 0,c=[n]),t.rejectWith(s,c))}};e?d():(S.Deferred.getStackHook&&(d.stackTrace=S.Deferred.getStackHook()),n.setTimeout(d))}}return S.Deferred(function(n){t[0][3].add(a(0,n,v(o)?o:F,n.notifyWith)),t[1][3].add(a(0,n,v(e)?e:F)),t[2][3].add(a(0,n,v(i)?i:B))}).promise()},promise:function(e){return null!=e?S.extend(e,o):o}},r={};return S.each(t,function(e,n){var a=n[2],s=n[5];o[n[1]]=a.add,s&&a.add(function(){i=s},t[3-e][2].disable,t[3-e][3].disable,t[0][2].lock,t[0][3].lock),a.add(n[3].fire),r[n[0]]=function(){return r[n[0]+"With"](this===r?void 0:this,arguments),this},r[n[0]+"With"]=a.fireWith}),o.promise(r),e&&e.call(r,r),r},when:function(e){var t=arguments.length,n=t,i=Array(n),o=c.call(arguments),r=S.Deferred(),a=function(e){return function(n){i[e]=this,o[e]=arguments.length>1?c.call(arguments):n,--t||r.resolveWith(i,o)}};if(t<=1&&(z(e,r.done(a(n)).resolve,r.reject,!t),"pending"===r.state()||v(o[n]&&o[n].then)))return r.then();for(;n--;)z(o[n],a(n),r.reject);return r.promise()}});var H=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;S.Deferred.exceptionHook=function(e,t){n.console&&n.console.warn&&e&&H.test(e.name)&&n.console.warn("jQuery.Deferred exception: "+e.message,e.stack,t)},S.readyException=function(e){n.setTimeout(function(){throw e})};var $=S.Deferred();function q(){a.removeEventListener("DOMContentLoaded",q),n.removeEventListener("load",q),S.ready()}S.fn.ready=function(e){return $.then(e).catch(function(e){S.readyException(e)}),this},S.extend({isReady:!1,readyWait:1,ready:function(e){(!0===e?--S.readyWait:S.isReady)||(S.isReady=!0,!0!==e&&--S.readyWait>0||$.resolveWith(a,[S]))}}),S.ready.then=$.then,"complete"===a.readyState||"loading"!==a.readyState&&!a.documentElement.doScroll?n.setTimeout(S.ready):(a.addEventListener("DOMContentLoaded",q),n.addEventListener("load",q));var W=function(e,t,n,i,o,r,a){var s=0,c=e.length,l=null==n;if("object"===x(n))for(s in o=!0,n)W(e,t,s,n[s],!0,r,a);else if(void 0!==i&&(o=!0,v(i)||(a=!0),l&&(a?(t.call(e,i),t=null):(l=t,t=function(e,t,n){return l.call(S(e),n)})),t))for(;s<c;s++)t(e[s],n,a?i:i.call(e[s],s,t(e[s],n)));return o?e:l?t.call(e):c?t(e[0],n):r},G=/^-ms-/,U=/-([a-z])/g;function K(e,t){return t.toUpperCase()}function Y(e){return e.replace(G,"ms-").replace(U,K)}var Z=function(e){return 1===e.nodeType||9===e.nodeType||!+e.nodeType};function X(){this.expando=S.expando+X.uid++}X.uid=1,X.prototype={cache:function(e){var t=e[this.expando];return t||(t={},Z(e)&&(e.nodeType?e[this.expando]=t:Object.defineProperty(e,this.expando,{value:t,configurable:!0}))),t},set:function(e,t,n){var i,o=this.cache(e);if("string"==typeof t)o[Y(t)]=n;else for(i in t)o[Y(i)]=t[i];return o},get:function(e,t){return void 0===t?this.cache(e):e[this.expando]&&e[this.expando][Y(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,i=e[this.expando];if(void 0!==i){if(void 0!==t){n=(t=Array.isArray(t)?t.map(Y):(t=Y(t))in i?[t]:t.match(R)||[]).length;for(;n--;)delete i[t[n]]}(void 0===t||S.isEmptyObject(i))&&(e.nodeType?e[this.expando]=void 0:delete e[this.expando])}},hasData:function(e){var t=e[this.expando];return void 0!==t&&!S.isEmptyObject(t)}};var Q=new X,J=new X,ee=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,te=/[A-Z]/g;function ne(e,t,n){var i;if(void 0===n&&1===e.nodeType)if(i="data-"+t.replace(te,"-$&").toLowerCase(),"string"==typeof(n=e.getAttribute(i))){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){}J.set(e,t,n)}else n=void 0;return n}S.extend({hasData:function(e){return J.hasData(e)||Q.hasData(e)},data:function(e,t,n){return J.access(e,t,n)},removeData:function(e,t){J.remove(e,t)},_data:function(e,t,n){return Q.access(e,t,n)},_removeData:function(e,t){Q.remove(e,t)}}),S.fn.extend({data:function(e,t){var n,i,o,r=this[0],a=r&&r.attributes;if(void 0===e){if(this.length&&(o=J.get(r),1===r.nodeType&&!Q.get(r,"hasDataAttrs"))){for(n=a.length;n--;)a[n]&&0===(i=a[n].name).indexOf("data-")&&(i=Y(i.slice(5)),ne(r,i,o[i]));Q.set(r,"hasDataAttrs",!0)}return o}return"object"==typeof e?this.each(function(){J.set(this,e)}):W(this,function(t){var n;if(r&&void 0===t)return void 0!==(n=J.get(r,e))?n:void 0!==(n=ne(r,e))?n:void 0;this.each(function(){J.set(this,e,t)})},null,t,arguments.length>1,null,!0)},removeData:function(e){return this.each(function(){J.remove(this,e)})}}),S.extend({queue:function(e,t,n){var i;if(e)return t=(t||"fx")+"queue",i=Q.get(e,t),n&&(!i||Array.isArray(n)?i=Q.access(e,t,S.makeArray(n)):i.push(n)),i||[]},dequeue:function(e,t){t=t||"fx";var n=S.queue(e,t),i=n.length,o=n.shift(),r=S._queueHooks(e,t);"inprogress"===o&&(o=n.shift(),i--),o&&("fx"===t&&n.unshift("inprogress"),delete r.stop,o.call(e,function(){S.dequeue(e,t)},r)),!i&&r&&r.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return Q.get(e,n)||Q.access(e,n,{empty:S.Callbacks("once memory").add(function(){Q.remove(e,[t+"queue",n])})})}}),S.fn.extend({queue:function(e,t){var n=2;return"string"!=typeof e&&(t=e,e="fx",n--),arguments.length<n?S.queue(this[0],e):void 0===t?this:this.each(function(){var n=S.queue(this,e,t);S._queueHooks(this,e),"fx"===e&&"inprogress"!==n[0]&&S.dequeue(this,e)})},dequeue:function(e){return this.each(function(){S.dequeue(this,e)})},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){var n,i=1,o=S.Deferred(),r=this,a=this.length,s=function(){--i||o.resolveWith(r,[r])};for("string"!=typeof e&&(t=e,e=void 0),e=e||"fx";a--;)(n=Q.get(r[a],e+"queueHooks"))&&n.empty&&(i++,n.empty.add(s));return s(),o.promise(t)}});var ie=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,oe=new RegExp("^(?:([+-])=|)("+ie+")([a-z%]*)$","i"),re=["Top","Right","Bottom","Left"],ae=function(e,t){return"none"===(e=t||e).style.display||""===e.style.display&&S.contains(e.ownerDocument,e)&&"none"===S.css(e,"display")},se=function(e,t,n,i){var o,r,a={};for(r in t)a[r]=e.style[r],e.style[r]=t[r];for(r in o=n.apply(e,i||[]),t)e.style[r]=a[r];return o};function ce(e,t,n,i){var o,r,a=20,s=i?function(){return i.cur()}:function(){return S.css(e,t,"")},c=s(),l=n&&n[3]||(S.cssNumber[t]?"":"px"),d=(S.cssNumber[t]||"px"!==l&&+c)&&oe.exec(S.css(e,t));if(d&&d[3]!==l){for(c/=2,l=l||d[3],d=+c||1;a--;)S.style(e,t,d+l),(1-r)*(1-(r=s()/c||.5))<=0&&(a=0),d/=r;d*=2,S.style(e,t,d+l),n=n||[]}return n&&(d=+d||+c||0,o=n[1]?d+(n[1]+1)*n[2]:+n[2],i&&(i.unit=l,i.start=d,i.end=o)),o}var le={};function de(e){var t,n=e.ownerDocument,i=e.nodeName,o=le[i];return o||(t=n.body.appendChild(n.createElement(i)),o=S.css(t,"display"),t.parentNode.removeChild(t),"none"===o&&(o="block"),le[i]=o,o)}function ue(e,t){for(var n,i,o=[],r=0,a=e.length;r<a;r++)(i=e[r]).style&&(n=i.style.display,t?("none"===n&&(o[r]=Q.get(i,"display")||null,o[r]||(i.style.display="")),""===i.style.display&&ae(i)&&(o[r]=de(i))):"none"!==n&&(o[r]="none",Q.set(i,"display",n)));for(r=0;r<a;r++)null!=o[r]&&(e[r].style.display=o[r]);return e}S.fn.extend({show:function(){return ue(this,!0)},hide:function(){return ue(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each(function(){ae(this)?S(this).show():S(this).hide()})}});var fe=/^(?:checkbox|radio)$/i,he=/<([a-z][^\/\0>\x20\t\r\n\f]+)/i,pe=/^$|^module$|\/(?:java|ecma)script/i,ge={option:[1,"<select multiple='multiple'>","</select>"],thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};function me(e,t){var n;return n=void 0!==e.getElementsByTagName?e.getElementsByTagName(t||"*"):void 0!==e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&I(e,t)?S.merge([e],n):n}function be(e,t){for(var n=0,i=e.length;n<i;n++)Q.set(e[n],"globalEval",!t||Q.get(t[n],"globalEval"))}ge.optgroup=ge.option,ge.tbody=ge.tfoot=ge.colgroup=ge.caption=ge.thead,ge.th=ge.td;var ve,ye,_e=/<|&#?\w+;/;function we(e,t,n,i,o){for(var r,a,s,c,l,d,u=t.createDocumentFragment(),f=[],h=0,p=e.length;h<p;h++)if((r=e[h])||0===r)if("object"===x(r))S.merge(f,r.nodeType?[r]:r);else if(_e.test(r)){for(a=a||u.appendChild(t.createElement("div")),s=(he.exec(r)||["",""])[1].toLowerCase(),c=ge[s]||ge._default,a.innerHTML=c[1]+S.htmlPrefilter(r)+c[2],d=c[0];d--;)a=a.lastChild;S.merge(f,a.childNodes),(a=u.firstChild).textContent=""}else f.push(t.createTextNode(r));for(u.textContent="",h=0;r=f[h++];)if(i&&S.inArray(r,i)>-1)o&&o.push(r);else if(l=S.contains(r.ownerDocument,r),a=me(u.appendChild(r),"script"),l&&be(a),n)for(d=0;r=a[d++];)pe.test(r.type||"")&&n.push(r);return u}ve=a.createDocumentFragment().appendChild(a.createElement("div")),(ye=a.createElement("input")).setAttribute("type","radio"),ye.setAttribute("checked","checked"),ye.setAttribute("name","t"),ve.appendChild(ye),b.checkClone=ve.cloneNode(!0).cloneNode(!0).lastChild.checked,ve.innerHTML="<textarea>x</textarea>",b.noCloneChecked=!!ve.cloneNode(!0).lastChild.defaultValue;var xe=a.documentElement,Se=/^key/,Te=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,ke=/^([^.]*)(?:\.(.+)|)/;function Ce(){return!0}function je(){return!1}function Ae(){try{return a.activeElement}catch(e){}}function Ee(e,t,n,i,o,r){var a,s;if("object"==typeof t){for(s in"string"!=typeof n&&(i=i||n,n=void 0),t)Ee(e,s,n,i,t[s],r);return e}if(null==i&&null==o?(o=n,i=n=void 0):null==o&&("string"==typeof n?(o=i,i=void 0):(o=i,i=n,n=void 0)),!1===o)o=je;else if(!o)return e;return 1===r&&(a=o,(o=function(e){return S().off(e),a.apply(this,arguments)}).guid=a.guid||(a.guid=S.guid++)),e.each(function(){S.event.add(this,t,o,i,n)})}S.event={global:{},add:function(e,t,n,i,o){var r,a,s,c,l,d,u,f,h,p,g,m=Q.get(e);if(m)for(n.handler&&(n=(r=n).handler,o=r.selector),o&&S.find.matchesSelector(xe,o),n.guid||(n.guid=S.guid++),(c=m.events)||(c=m.events={}),(a=m.handle)||(a=m.handle=function(t){return void 0!==S&&S.event.triggered!==t.type?S.event.dispatch.apply(e,arguments):void 0}),l=(t=(t||"").match(R)||[""]).length;l--;)h=g=(s=ke.exec(t[l])||[])[1],p=(s[2]||"").split(".").sort(),h&&(u=S.event.special[h]||{},h=(o?u.delegateType:u.bindType)||h,u=S.event.special[h]||{},d=S.extend({type:h,origType:g,data:i,handler:n,guid:n.guid,selector:o,needsContext:o&&S.expr.match.needsContext.test(o),namespace:p.join(".")},r),(f=c[h])||((f=c[h]=[]).delegateCount=0,u.setup&&!1!==u.setup.call(e,i,p,a)||e.addEventListener&&e.addEventListener(h,a)),u.add&&(u.add.call(e,d),d.handler.guid||(d.handler.guid=n.guid)),o?f.splice(f.delegateCount++,0,d):f.push(d),S.event.global[h]=!0)},remove:function(e,t,n,i,o){var r,a,s,c,l,d,u,f,h,p,g,m=Q.hasData(e)&&Q.get(e);if(m&&(c=m.events)){for(l=(t=(t||"").match(R)||[""]).length;l--;)if(h=g=(s=ke.exec(t[l])||[])[1],p=(s[2]||"").split(".").sort(),h){for(u=S.event.special[h]||{},f=c[h=(i?u.delegateType:u.bindType)||h]||[],s=s[2]&&new RegExp("(^|\\.)"+p.join("\\.(?:.*\\.|)")+"(\\.|$)"),a=r=f.length;r--;)d=f[r],!o&&g!==d.origType||n&&n.guid!==d.guid||s&&!s.test(d.namespace)||i&&i!==d.selector&&("**"!==i||!d.selector)||(f.splice(r,1),d.selector&&f.delegateCount--,u.remove&&u.remove.call(e,d));a&&!f.length&&(u.teardown&&!1!==u.teardown.call(e,p,m.handle)||S.removeEvent(e,h,m.handle),delete c[h])}else for(h in c)S.event.remove(e,h+t[l],n,i,!0);S.isEmptyObject(c)&&Q.remove(e,"handle events")}},dispatch:function(e){var t,n,i,o,r,a,s=S.event.fix(e),c=new Array(arguments.length),l=(Q.get(this,"events")||{})[s.type]||[],d=S.event.special[s.type]||{};for(c[0]=s,t=1;t<arguments.length;t++)c[t]=arguments[t];if(s.delegateTarget=this,!d.preDispatch||!1!==d.preDispatch.call(this,s)){for(a=S.event.handlers.call(this,s,l),t=0;(o=a[t++])&&!s.isPropagationStopped();)for(s.currentTarget=o.elem,n=0;(r=o.handlers[n++])&&!s.isImmediatePropagationStopped();)s.rnamespace&&!s.rnamespace.test(r.namespace)||(s.handleObj=r,s.data=r.data,void 0!==(i=((S.event.special[r.origType]||{}).handle||r.handler).apply(o.elem,c))&&!1===(s.result=i)&&(s.preventDefault(),s.stopPropagation()));return d.postDispatch&&d.postDispatch.call(this,s),s.result}},handlers:function(e,t){var n,i,o,r,a,s=[],c=t.delegateCount,l=e.target;if(c&&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(r=[],a={},n=0;n<c;n++)void 0===a[o=(i=t[n]).selector+" "]&&(a[o]=i.needsContext?S(o,this).index(l)>-1:S.find(o,this,null,[l]).length),a[o]&&r.push(i);r.length&&s.push({elem:l,handlers:r})}return l=this,c<t.length&&s.push({elem:l,handlers:t.slice(c)}),s},addProp:function(e,t){Object.defineProperty(S.Event.prototype,e,{enumerable:!0,configurable:!0,get:v(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[S.expando]?e:new S.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&&I(this,"input"))return this.click(),!1},_default:function(e){return I(e.target,"a")}},beforeunload:{postDispatch:function(e){void 0!==e.result&&e.originalEvent&&(e.originalEvent.returnValue=e.result)}}}},S.removeEvent=function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n)},S.Event=function(e,t){if(!(this instanceof S.Event))return new S.Event(e,t);e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||void 0===e.defaultPrevented&&!1===e.returnValue?Ce:je,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&&S.extend(this,t),this.timeStamp=e&&e.timeStamp||Date.now(),this[S.expando]=!0},S.Event.prototype={constructor:S.Event,isDefaultPrevented:je,isPropagationStopped:je,isImmediatePropagationStopped:je,isSimulated:!1,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=Ce,e&&!this.isSimulated&&e.preventDefault()},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=Ce,e&&!this.isSimulated&&e.stopPropagation()},stopImmediatePropagation:function(){var e=this.originalEvent;this.isImmediatePropagationStopped=Ce,e&&!this.isSimulated&&e.stopImmediatePropagation(),this.stopPropagation()}},S.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&&Se.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}},S.event.addProp),S.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(e,t){S.event.special[e]={delegateType:t,bindType:t,handle:function(e){var n,i=e.relatedTarget,o=e.handleObj;return i&&(i===this||S.contains(this,i))||(e.type=o.origType,n=o.handler.apply(this,arguments),e.type=t),n}}}),S.fn.extend({on:function(e,t,n,i){return Ee(this,e,t,n,i)},one:function(e,t,n,i){return Ee(this,e,t,n,i,1)},off:function(e,t,n){var i,o;if(e&&e.preventDefault&&e.handleObj)return i=e.handleObj,S(e.delegateTarget).off(i.namespace?i.origType+"."+i.namespace:i.origType,i.selector,i.handler),this;if("object"==typeof e){for(o in e)this.off(o,t,e[o]);return this}return!1!==t&&"function"!=typeof t||(n=t,t=void 0),!1===n&&(n=je),this.each(function(){S.event.remove(this,e,n,t)})}});var Ie=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([a-z][^\/\0>\x20\t\r\n\f]*)[^>]*)\/>/gi,Me=/<script|<style|<link/i,Oe=/checked\s*(?:[^=]|=\s*.checked.)/i,De=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g;function Ve(e,t){return I(e,"table")&&I(11!==t.nodeType?t:t.firstChild,"tr")&&S(e).children("tbody")[0]||e}function Le(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function Pe(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function Ne(e,t){var n,i,o,r,a,s,c,l;if(1===t.nodeType){if(Q.hasData(e)&&(r=Q.access(e),a=Q.set(t,r),l=r.events))for(o in delete a.handle,a.events={},l)for(n=0,i=l[o].length;n<i;n++)S.event.add(t,o,l[o][n]);J.hasData(e)&&(s=J.access(e),c=S.extend({},s),J.set(t,c))}}function Re(e,t,n,i){t=l.apply([],t);var o,r,a,s,c,d,u=0,f=e.length,h=f-1,p=t[0],g=v(p);if(g||f>1&&"string"==typeof p&&!b.checkClone&&Oe.test(p))return e.each(function(o){var r=e.eq(o);g&&(t[0]=p.call(this,o,r.html())),Re(r,t,n,i)});if(f&&(r=(o=we(t,e[0].ownerDocument,!1,e,i)).firstChild,1===o.childNodes.length&&(o=r),r||i)){for(s=(a=S.map(me(o,"script"),Le)).length;u<f;u++)c=o,u!==h&&(c=S.clone(c,!0,!0),s&&S.merge(a,me(c,"script"))),n.call(e[u],c,u);if(s)for(d=a[a.length-1].ownerDocument,S.map(a,Pe),u=0;u<s;u++)c=a[u],pe.test(c.type||"")&&!Q.access(c,"globalEval")&&S.contains(d,c)&&(c.src&&"module"!==(c.type||"").toLowerCase()?S._evalUrl&&S._evalUrl(c.src):w(c.textContent.replace(De,""),d,c))}return e}function Fe(e,t,n){for(var i,o=t?S.filter(t,e):e,r=0;null!=(i=o[r]);r++)n||1!==i.nodeType||S.cleanData(me(i)),i.parentNode&&(n&&S.contains(i.ownerDocument,i)&&be(me(i,"script")),i.parentNode.removeChild(i));return e}S.extend({htmlPrefilter:function(e){return e.replace(Ie,"<$1></$2>")},clone:function(e,t,n){var i,o,r,a,s,c,l,d=e.cloneNode(!0),u=S.contains(e.ownerDocument,e);if(!(b.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||S.isXMLDoc(e)))for(a=me(d),i=0,o=(r=me(e)).length;i<o;i++)s=r[i],c=a[i],void 0,"input"===(l=c.nodeName.toLowerCase())&&fe.test(s.type)?c.checked=s.checked:"input"!==l&&"textarea"!==l||(c.defaultValue=s.defaultValue);if(t)if(n)for(r=r||me(e),a=a||me(d),i=0,o=r.length;i<o;i++)Ne(r[i],a[i]);else Ne(e,d);return(a=me(d,"script")).length>0&&be(a,!u&&me(e,"script")),d},cleanData:function(e){for(var t,n,i,o=S.event.special,r=0;void 0!==(n=e[r]);r++)if(Z(n)){if(t=n[Q.expando]){if(t.events)for(i in t.events)o[i]?S.event.remove(n,i):S.removeEvent(n,i,t.handle);n[Q.expando]=void 0}n[J.expando]&&(n[J.expando]=void 0)}}}),S.fn.extend({detach:function(e){return Fe(this,e,!0)},remove:function(e){return Fe(this,e)},text:function(e){return W(this,function(e){return void 0===e?S.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||Ve(this,e).appendChild(e)})},prepend:function(){return Re(this,arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=Ve(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&&(S.cleanData(me(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map(function(){return S.clone(this,e,t)})},html:function(e){return W(this,function(e){var t=this[0]||{},n=0,i=this.length;if(void 0===e&&1===t.nodeType)return t.innerHTML;if("string"==typeof e&&!Me.test(e)&&!ge[(he.exec(e)||["",""])[1].toLowerCase()]){e=S.htmlPrefilter(e);try{for(;n<i;n++)1===(t=this[n]||{}).nodeType&&(S.cleanData(me(t,!1)),t.innerHTML=e);t=0}catch(e){}}t&&this.empty().append(e)},null,e,arguments.length)},replaceWith:function(){var e=[];return Re(this,arguments,function(t){var n=this.parentNode;S.inArray(this,e)<0&&(S.cleanData(me(this)),n&&n.replaceChild(t,this))},e)}}),S.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,t){S.fn[e]=function(e){for(var n,i=[],o=S(e),r=o.length-1,a=0;a<=r;a++)n=a===r?this:this.clone(!0),S(o[a])[t](n),d.apply(i,n.get());return this.pushStack(i)}});var Be=new RegExp("^("+ie+")(?!px)[a-z%]+$","i"),ze=function(e){var t=e.ownerDocument.defaultView;return t&&t.opener||(t=n),t.getComputedStyle(e)},He=new RegExp(re.join("|"),"i");function $e(e,t,n){var i,o,r,a,s=e.style;return(n=n||ze(e))&&(""!==(a=n.getPropertyValue(t)||n[t])||S.contains(e.ownerDocument,e)||(a=S.style(e,t)),!b.pixelBoxStyles()&&Be.test(a)&&He.test(t)&&(i=s.width,o=s.minWidth,r=s.maxWidth,s.minWidth=s.maxWidth=s.width=a,a=n.width,s.width=i,s.minWidth=o,s.maxWidth=r)),void 0!==a?a+"":a}function qe(e,t){return{get:function(){if(!e())return(this.get=t).apply(this,arguments);delete this.get}}}!function(){function e(){if(d){l.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0",d.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",xe.appendChild(l).appendChild(d);var e=n.getComputedStyle(d);i="1%"!==e.top,c=12===t(e.marginLeft),d.style.right="60%",s=36===t(e.right),o=36===t(e.width),d.style.position="absolute",r=36===d.offsetWidth||"absolute",xe.removeChild(l),d=null}}function t(e){return Math.round(parseFloat(e))}var i,o,r,s,c,l=a.createElement("div"),d=a.createElement("div");d.style&&(d.style.backgroundClip="content-box",d.cloneNode(!0).style.backgroundClip="",b.clearCloneStyle="content-box"===d.style.backgroundClip,S.extend(b,{boxSizingReliable:function(){return e(),o},pixelBoxStyles:function(){return e(),s},pixelPosition:function(){return e(),i},reliableMarginLeft:function(){return e(),c},scrollboxSize:function(){return e(),r}}))}();var We=/^(none|table(?!-c[ea]).+)/,Ge=/^--/,Ue={position:"absolute",visibility:"hidden",display:"block"},Ke={letterSpacing:"0",fontWeight:"400"},Ye=["Webkit","Moz","ms"],Ze=a.createElement("div").style;function Xe(e){var t=S.cssProps[e];return t||(t=S.cssProps[e]=function(e){if(e in Ze)return e;for(var t=e[0].toUpperCase()+e.slice(1),n=Ye.length;n--;)if((e=Ye[n]+t)in Ze)return e}(e)||e),t}function Qe(e,t,n){var i=oe.exec(t);return i?Math.max(0,i[2]-(n||0))+(i[3]||"px"):t}function Je(e,t,n,i,o,r){var a="width"===t?1:0,s=0,c=0;if(n===(i?"border":"content"))return 0;for(;a<4;a+=2)"margin"===n&&(c+=S.css(e,n+re[a],!0,o)),i?("content"===n&&(c-=S.css(e,"padding"+re[a],!0,o)),"margin"!==n&&(c-=S.css(e,"border"+re[a]+"Width",!0,o))):(c+=S.css(e,"padding"+re[a],!0,o),"padding"!==n?c+=S.css(e,"border"+re[a]+"Width",!0,o):s+=S.css(e,"border"+re[a]+"Width",!0,o));return!i&&r>=0&&(c+=Math.max(0,Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-r-c-s-.5))),c}function et(e,t,n){var i=ze(e),o=$e(e,t,i),r="border-box"===S.css(e,"boxSizing",!1,i),a=r;if(Be.test(o)){if(!n)return o;o="auto"}return a=a&&(b.boxSizingReliable()||o===e.style[t]),("auto"===o||!parseFloat(o)&&"inline"===S.css(e,"display",!1,i))&&(o=e["offset"+t[0].toUpperCase()+t.slice(1)],a=!0),(o=parseFloat(o)||0)+Je(e,t,n||(r?"border":"content"),a,i,o)+"px"}function tt(e,t,n,i,o){return new tt.prototype.init(e,t,n,i,o)}S.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=$e(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,i){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var o,r,a,s=Y(t),c=Ge.test(t),l=e.style;if(c||(t=Xe(s)),a=S.cssHooks[t]||S.cssHooks[s],void 0===n)return a&&"get"in a&&void 0!==(o=a.get(e,!1,i))?o:l[t];"string"===(r=typeof n)&&(o=oe.exec(n))&&o[1]&&(n=ce(e,t,o),r="number"),null!=n&&n==n&&("number"===r&&(n+=o&&o[3]||(S.cssNumber[s]?"":"px")),b.clearCloneStyle||""!==n||0!==t.indexOf("background")||(l[t]="inherit"),a&&"set"in a&&void 0===(n=a.set(e,n,i))||(c?l.setProperty(t,n):l[t]=n))}},css:function(e,t,n,i){var o,r,a,s=Y(t);return Ge.test(t)||(t=Xe(s)),(a=S.cssHooks[t]||S.cssHooks[s])&&"get"in a&&(o=a.get(e,!0,n)),void 0===o&&(o=$e(e,t,i)),"normal"===o&&t in Ke&&(o=Ke[t]),""===n||n?(r=parseFloat(o),!0===n||isFinite(r)?r||0:o):o}}),S.each(["height","width"],function(e,t){S.cssHooks[t]={get:function(e,n,i){if(n)return!We.test(S.css(e,"display"))||e.getClientRects().length&&e.getBoundingClientRect().width?et(e,t,i):se(e,Ue,function(){return et(e,t,i)})},set:function(e,n,i){var o,r=ze(e),a="border-box"===S.css(e,"boxSizing",!1,r),s=i&&Je(e,t,i,a,r);return a&&b.scrollboxSize()===r.position&&(s-=Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-parseFloat(r[t])-Je(e,t,"border",!1,r)-.5)),s&&(o=oe.exec(n))&&"px"!==(o[3]||"px")&&(e.style[t]=n,n=S.css(e,t)),Qe(0,n,s)}}}),S.cssHooks.marginLeft=qe(b.reliableMarginLeft,function(e,t){if(t)return(parseFloat($e(e,"marginLeft"))||e.getBoundingClientRect().left-se(e,{marginLeft:0},function(){return e.getBoundingClientRect().left}))+"px"}),S.each({margin:"",padding:"",border:"Width"},function(e,t){S.cssHooks[e+t]={expand:function(n){for(var i=0,o={},r="string"==typeof n?n.split(" "):[n];i<4;i++)o[e+re[i]+t]=r[i]||r[i-2]||r[0];return o}},"margin"!==e&&(S.cssHooks[e+t].set=Qe)}),S.fn.extend({css:function(e,t){return W(this,function(e,t,n){var i,o,r={},a=0;if(Array.isArray(t)){for(i=ze(e),o=t.length;a<o;a++)r[t[a]]=S.css(e,t[a],!1,i);return r}return void 0!==n?S.style(e,t,n):S.css(e,t)},e,t,arguments.length>1)}}),S.Tween=tt,tt.prototype={constructor:tt,init:function(e,t,n,i,o,r){this.elem=e,this.prop=n,this.easing=o||S.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=i,this.unit=r||(S.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=S.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=S.css(e.elem,e.prop,""))&&"auto"!==t?t:0},set:function(e){S.fx.step[e.prop]?S.fx.step[e.prop](e):1!==e.elem.nodeType||null==e.elem.style[S.cssProps[e.prop]]&&!S.cssHooks[e.prop]?e.elem[e.prop]=e.now:S.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)}},S.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},S.fx=tt.prototype.init,S.fx.step={};var nt,it,ot=/^(?:toggle|show|hide)$/,rt=/queueHooks$/;function at(){it&&(!1===a.hidden&&n.requestAnimationFrame?n.requestAnimationFrame(at):n.setTimeout(at,S.fx.interval),S.fx.tick())}function st(){return n.setTimeout(function(){nt=void 0}),nt=Date.now()}function ct(e,t){var n,i=0,o={height:e};for(t=t?1:0;i<4;i+=2-t)o["margin"+(n=re[i])]=o["padding"+n]=e;return t&&(o.opacity=o.width=e),o}function lt(e,t,n){for(var i,o=(dt.tweeners[t]||[]).concat(dt.tweeners["*"]),r=0,a=o.length;r<a;r++)if(i=o[r].call(n,t,e))return i}function dt(e,t,n){var i,o,r=0,a=dt.prefilters.length,s=S.Deferred().always(function(){delete c.elem}),c=function(){if(o)return!1;for(var t=nt||st(),n=Math.max(0,l.startTime+l.duration-t),i=1-(n/l.duration||0),r=0,a=l.tweens.length;r<a;r++)l.tweens[r].run(i);return s.notifyWith(e,[l,i,n]),i<1&&a?n:(a||s.notifyWith(e,[l,1,0]),s.resolveWith(e,[l]),!1)},l=s.promise({elem:e,props:S.extend({},t),opts:S.extend(!0,{specialEasing:{},easing:S.easing._default},n),originalProperties:t,originalOptions:n,startTime:nt||st(),duration:n.duration,tweens:[],createTween:function(t,n){var i=S.Tween(e,l.opts,t,n,l.opts.specialEasing[t]||l.opts.easing);return l.tweens.push(i),i},stop:function(t){var n=0,i=t?l.tweens.length:0;if(o)return this;for(o=!0;n<i;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}}),d=l.props;for(!function(e,t){var n,i,o,r,a;for(n in e)if(o=t[i=Y(n)],r=e[n],Array.isArray(r)&&(o=r[1],r=e[n]=r[0]),n!==i&&(e[i]=r,delete e[n]),(a=S.cssHooks[i])&&"expand"in a)for(n in r=a.expand(r),delete e[i],r)n in e||(e[n]=r[n],t[n]=o);else t[i]=o}(d,l.opts.specialEasing);r<a;r++)if(i=dt.prefilters[r].call(l,e,d,l.opts))return v(i.stop)&&(S._queueHooks(l.elem,l.opts.queue).stop=i.stop.bind(i)),i;return S.map(d,lt,l),v(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),S.fx.timer(S.extend(c,{elem:e,anim:l,queue:l.opts.queue})),l}S.Animation=S.extend(dt,{tweeners:{"*":[function(e,t){var n=this.createTween(e,t);return ce(n.elem,e,oe.exec(t),n),n}]},tweener:function(e,t){v(e)?(t=e,e=["*"]):e=e.match(R);for(var n,i=0,o=e.length;i<o;i++)n=e[i],dt.tweeners[n]=dt.tweeners[n]||[],dt.tweeners[n].unshift(t)},prefilters:[function(e,t,n){var i,o,r,a,s,c,l,d,u="width"in t||"height"in t,f=this,h={},p=e.style,g=e.nodeType&&ae(e),m=Q.get(e,"fxshow");for(i in n.queue||(null==(a=S._queueHooks(e,"fx")).unqueued&&(a.unqueued=0,s=a.empty.fire,a.empty.fire=function(){a.unqueued||s()}),a.unqueued++,f.always(function(){f.always(function(){a.unqueued--,S.queue(e,"fx").length||a.empty.fire()})})),t)if(o=t[i],ot.test(o)){if(delete t[i],r=r||"toggle"===o,o===(g?"hide":"show")){if("show"!==o||!m||void 0===m[i])continue;g=!0}h[i]=m&&m[i]||S.style(e,i)}if((c=!S.isEmptyObject(t))||!S.isEmptyObject(h))for(i in u&&1===e.nodeType&&(n.overflow=[p.overflow,p.overflowX,p.overflowY],null==(l=m&&m.display)&&(l=Q.get(e,"display")),"none"===(d=S.css(e,"display"))&&(l?d=l:(ue([e],!0),l=e.style.display||l,d=S.css(e,"display"),ue([e]))),("inline"===d||"inline-block"===d&&null!=l)&&"none"===S.css(e,"float")&&(c||(f.done(function(){p.display=l}),null==l&&(d=p.display,l="none"===d?"":d)),p.display="inline-block")),n.overflow&&(p.overflow="hidden",f.always(function(){p.overflow=n.overflow[0],p.overflowX=n.overflow[1],p.overflowY=n.overflow[2]})),c=!1,h)c||(m?"hidden"in m&&(g=m.hidden):m=Q.access(e,"fxshow",{display:l}),r&&(m.hidden=!g),g&&ue([e],!0),f.done(function(){for(i in g||ue([e]),Q.remove(e,"fxshow"),h)S.style(e,i,h[i])})),c=lt(g?m[i]:0,i,f),i in m||(m[i]=c.start,g&&(c.end=c.start,c.start=0))}],prefilter:function(e,t){t?dt.prefilters.unshift(e):dt.prefilters.push(e)}}),S.speed=function(e,t,n){var i=e&&"object"==typeof e?S.extend({},e):{complete:n||!n&&t||v(e)&&e,duration:e,easing:n&&t||t&&!v(t)&&t};return S.fx.off?i.duration=0:"number"!=typeof i.duration&&(i.duration in S.fx.speeds?i.duration=S.fx.speeds[i.duration]:i.duration=S.fx.speeds._default),null!=i.queue&&!0!==i.queue||(i.queue="fx"),i.old=i.complete,i.complete=function(){v(i.old)&&i.old.call(this),i.queue&&S.dequeue(this,i.queue)},i},S.fn.extend({fadeTo:function(e,t,n,i){return this.filter(ae).css("opacity",0).show().end().animate({opacity:t},e,n,i)},animate:function(e,t,n,i){var o=S.isEmptyObject(e),r=S.speed(t,n,i),a=function(){var t=dt(this,S.extend({},e),r);(o||Q.get(this,"finish"))&&t.stop(!0)};return a.finish=a,o||!1===r.queue?this.each(a):this.queue(r.queue,a)},stop:function(e,t,n){var i=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,o=null!=e&&e+"queueHooks",r=S.timers,a=Q.get(this);if(o)a[o]&&a[o].stop&&i(a[o]);else for(o in a)a[o]&&a[o].stop&&rt.test(o)&&i(a[o]);for(o=r.length;o--;)r[o].elem!==this||null!=e&&r[o].queue!==e||(r[o].anim.stop(n),t=!1,r.splice(o,1));!t&&n||S.dequeue(this,e)})},finish:function(e){return!1!==e&&(e=e||"fx"),this.each(function(){var t,n=Q.get(this),i=n[e+"queue"],o=n[e+"queueHooks"],r=S.timers,a=i?i.length:0;for(n.finish=!0,S.queue(this,e,[]),o&&o.stop&&o.stop.call(this,!0),t=r.length;t--;)r[t].elem===this&&r[t].queue===e&&(r[t].anim.stop(!0),r.splice(t,1));for(t=0;t<a;t++)i[t]&&i[t].finish&&i[t].finish.call(this);delete n.finish})}}),S.each(["toggle","show","hide"],function(e,t){var n=S.fn[t];S.fn[t]=function(e,i,o){return null==e||"boolean"==typeof e?n.apply(this,arguments):this.animate(ct(t,!0),e,i,o)}}),S.each({slideDown:ct("show"),slideUp:ct("hide"),slideToggle:ct("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(e,t){S.fn[e]=function(e,n,i){return this.animate(t,e,n,i)}}),S.timers=[],S.fx.tick=function(){var e,t=0,n=S.timers;for(nt=Date.now();t<n.length;t++)(e=n[t])()||n[t]!==e||n.splice(t--,1);n.length||S.fx.stop(),nt=void 0},S.fx.timer=function(e){S.timers.push(e),S.fx.start()},S.fx.interval=13,S.fx.start=function(){it||(it=!0,at())},S.fx.stop=function(){it=null},S.fx.speeds={slow:600,fast:200,_default:400},S.fn.delay=function(e,t){return e=S.fx&&S.fx.speeds[e]||e,t=t||"fx",this.queue(t,function(t,i){var o=n.setTimeout(t,e);i.stop=function(){n.clearTimeout(o)}})},function(){var e=a.createElement("input"),t=a.createElement("select").appendChild(a.createElement("option"));e.type="checkbox",b.checkOn=""!==e.value,b.optSelected=t.selected,(e=a.createElement("input")).value="t",e.type="radio",b.radioValue="t"===e.value}();var ut,ft=S.expr.attrHandle;S.fn.extend({attr:function(e,t){return W(this,S.attr,e,t,arguments.length>1)},removeAttr:function(e){return this.each(function(){S.removeAttr(this,e)})}}),S.extend({attr:function(e,t,n){var i,o,r=e.nodeType;if(3!==r&&8!==r&&2!==r)return void 0===e.getAttribute?S.prop(e,t,n):(1===r&&S.isXMLDoc(e)||(o=S.attrHooks[t.toLowerCase()]||(S.expr.match.bool.test(t)?ut:void 0)),void 0!==n?null===n?void S.removeAttr(e,t):o&&"set"in o&&void 0!==(i=o.set(e,n,t))?i:(e.setAttribute(t,n+""),n):o&&"get"in o&&null!==(i=o.get(e,t))?i:null==(i=S.find.attr(e,t))?void 0:i)},attrHooks:{type:{set:function(e,t){if(!b.radioValue&&"radio"===t&&I(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}},removeAttr:function(e,t){var n,i=0,o=t&&t.match(R);if(o&&1===e.nodeType)for(;n=o[i++];)e.removeAttribute(n)}}),ut={set:function(e,t,n){return!1===t?S.removeAttr(e,n):e.setAttribute(n,n),n}},S.each(S.expr.match.bool.source.match(/\w+/g),function(e,t){var n=ft[t]||S.find.attr;ft[t]=function(e,t,i){var o,r,a=t.toLowerCase();return i||(r=ft[a],ft[a]=o,o=null!=n(e,t,i)?a:null,ft[a]=r),o}});var ht=/^(?:input|select|textarea|button)$/i,pt=/^(?:a|area)$/i;function gt(e){return(e.match(R)||[]).join(" ")}function mt(e){return e.getAttribute&&e.getAttribute("class")||""}function bt(e){return Array.isArray(e)?e:"string"==typeof e&&e.match(R)||[]}S.fn.extend({prop:function(e,t){return W(this,S.prop,e,t,arguments.length>1)},removeProp:function(e){return this.each(function(){delete this[S.propFix[e]||e]})}}),S.extend({prop:function(e,t,n){var i,o,r=e.nodeType;if(3!==r&&8!==r&&2!==r)return 1===r&&S.isXMLDoc(e)||(t=S.propFix[t]||t,o=S.propHooks[t]),void 0!==n?o&&"set"in o&&void 0!==(i=o.set(e,n,t))?i:e[t]=n:o&&"get"in o&&null!==(i=o.get(e,t))?i:e[t]},propHooks:{tabIndex:{get:function(e){var t=S.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"}}),b.optSelected||(S.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)}}),S.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){S.propFix[this.toLowerCase()]=this}),S.fn.extend({addClass:function(e){var t,n,i,o,r,a,s,c=0;if(v(e))return this.each(function(t){S(this).addClass(e.call(this,t,mt(this)))});if((t=bt(e)).length)for(;n=this[c++];)if(o=mt(n),i=1===n.nodeType&&" "+gt(o)+" "){for(a=0;r=t[a++];)i.indexOf(" "+r+" ")<0&&(i+=r+" ");o!==(s=gt(i))&&n.setAttribute("class",s)}return this},removeClass:function(e){var t,n,i,o,r,a,s,c=0;if(v(e))return this.each(function(t){S(this).removeClass(e.call(this,t,mt(this)))});if(!arguments.length)return this.attr("class","");if((t=bt(e)).length)for(;n=this[c++];)if(o=mt(n),i=1===n.nodeType&&" "+gt(o)+" "){for(a=0;r=t[a++];)for(;i.indexOf(" "+r+" ")>-1;)i=i.replace(" "+r+" "," ");o!==(s=gt(i))&&n.setAttribute("class",s)}return this},toggleClass:function(e,t){var n=typeof e,i="string"===n||Array.isArray(e);return"boolean"==typeof t&&i?t?this.addClass(e):this.removeClass(e):v(e)?this.each(function(n){S(this).toggleClass(e.call(this,n,mt(this),t),t)}):this.each(function(){var t,o,r,a;if(i)for(o=0,r=S(this),a=bt(e);t=a[o++];)r.hasClass(t)?r.removeClass(t):r.addClass(t);else void 0!==e&&"boolean"!==n||((t=mt(this))&&Q.set(this,"__className__",t),this.setAttribute&&this.setAttribute("class",t||!1===e?"":Q.get(this,"__className__")||""))})},hasClass:function(e){var t,n,i=0;for(t=" "+e+" ";n=this[i++];)if(1===n.nodeType&&(" "+gt(mt(n))+" ").indexOf(t)>-1)return!0;return!1}});var vt=/\r/g;S.fn.extend({val:function(e){var t,n,i,o=this[0];return arguments.length?(i=v(e),this.each(function(n){var o;1===this.nodeType&&(null==(o=i?e.call(this,n,S(this).val()):e)?o="":"number"==typeof o?o+="":Array.isArray(o)&&(o=S.map(o,function(e){return null==e?"":e+""})),(t=S.valHooks[this.type]||S.valHooks[this.nodeName.toLowerCase()])&&"set"in t&&void 0!==t.set(this,o,"value")||(this.value=o))})):o?(t=S.valHooks[o.type]||S.valHooks[o.nodeName.toLowerCase()])&&"get"in t&&void 0!==(n=t.get(o,"value"))?n:"string"==typeof(n=o.value)?n.replace(vt,""):null==n?"":n:void 0}}),S.extend({valHooks:{option:{get:function(e){var t=S.find.attr(e,"value");return null!=t?t:gt(S.text(e))}},select:{get:function(e){var t,n,i,o=e.options,r=e.selectedIndex,a="select-one"===e.type,s=a?null:[],c=a?r+1:o.length;for(i=r<0?c:a?r:0;i<c;i++)if(((n=o[i]).selected||i===r)&&!n.disabled&&(!n.parentNode.disabled||!I(n.parentNode,"optgroup"))){if(t=S(n).val(),a)return t;s.push(t)}return s},set:function(e,t){for(var n,i,o=e.options,r=S.makeArray(t),a=o.length;a--;)((i=o[a]).selected=S.inArray(S.valHooks.option.get(i),r)>-1)&&(n=!0);return n||(e.selectedIndex=-1),r}}}}),S.each(["radio","checkbox"],function(){S.valHooks[this]={set:function(e,t){if(Array.isArray(t))return e.checked=S.inArray(S(e).val(),t)>-1}},b.checkOn||(S.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})}),b.focusin="onfocusin"in n;var yt=/^(?:focusinfocus|focusoutblur)$/,_t=function(e){e.stopPropagation()};S.extend(S.event,{trigger:function(e,t,i,o){var r,s,c,l,d,u,f,h,g=[i||a],m=p.call(e,"type")?e.type:e,b=p.call(e,"namespace")?e.namespace.split("."):[];if(s=h=c=i=i||a,3!==i.nodeType&&8!==i.nodeType&&!yt.test(m+S.event.triggered)&&(m.indexOf(".")>-1&&(m=(b=m.split(".")).shift(),b.sort()),d=m.indexOf(":")<0&&"on"+m,(e=e[S.expando]?e:new S.Event(m,"object"==typeof e&&e)).isTrigger=o?2:3,e.namespace=b.join("."),e.rnamespace=e.namespace?new RegExp("(^|\\.)"+b.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=i),t=null==t?[e]:S.makeArray(t,[e]),f=S.event.special[m]||{},o||!f.trigger||!1!==f.trigger.apply(i,t))){if(!o&&!f.noBubble&&!y(i)){for(l=f.delegateType||m,yt.test(l+m)||(s=s.parentNode);s;s=s.parentNode)g.push(s),c=s;c===(i.ownerDocument||a)&&g.push(c.defaultView||c.parentWindow||n)}for(r=0;(s=g[r++])&&!e.isPropagationStopped();)h=s,e.type=r>1?l:f.bindType||m,(u=(Q.get(s,"events")||{})[e.type]&&Q.get(s,"handle"))&&u.apply(s,t),(u=d&&s[d])&&u.apply&&Z(s)&&(e.result=u.apply(s,t),!1===e.result&&e.preventDefault());return e.type=m,o||e.isDefaultPrevented()||f._default&&!1!==f._default.apply(g.pop(),t)||!Z(i)||d&&v(i[m])&&!y(i)&&((c=i[d])&&(i[d]=null),S.event.triggered=m,e.isPropagationStopped()&&h.addEventListener(m,_t),i[m](),e.isPropagationStopped()&&h.removeEventListener(m,_t),S.event.triggered=void 0,c&&(i[d]=c)),e.result}},simulate:function(e,t,n){var i=S.extend(new S.Event,n,{type:e,isSimulated:!0});S.event.trigger(i,null,t)}}),S.fn.extend({trigger:function(e,t){return this.each(function(){S.event.trigger(e,t,this)})},triggerHandler:function(e,t){var n=this[0];if(n)return S.event.trigger(e,t,n,!0)}}),b.focusin||S.each({focus:"focusin",blur:"focusout"},function(e,t){var n=function(e){S.event.simulate(t,e.target,S.event.fix(e))};S.event.special[t]={setup:function(){var i=this.ownerDocument||this,o=Q.access(i,t);o||i.addEventListener(e,n,!0),Q.access(i,t,(o||0)+1)},teardown:function(){var i=this.ownerDocument||this,o=Q.access(i,t)-1;o?Q.access(i,t,o):(i.removeEventListener(e,n,!0),Q.remove(i,t))}}});var wt=n.location,xt=Date.now(),St=/\?/;S.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||S.error("Invalid XML: "+e),t};var Tt=/\[\]$/,kt=/\r?\n/g,Ct=/^(?:submit|button|image|reset|file)$/i,jt=/^(?:input|select|textarea|keygen)/i;function At(e,t,n,i){var o;if(Array.isArray(t))S.each(t,function(t,o){n||Tt.test(e)?i(e,o):At(e+"["+("object"==typeof o&&null!=o?t:"")+"]",o,n,i)});else if(n||"object"!==x(t))i(e,t);else for(o in t)At(e+"["+o+"]",t[o],n,i)}S.param=function(e,t){var n,i=[],o=function(e,t){var n=v(t)?t():t;i[i.length]=encodeURIComponent(e)+"="+encodeURIComponent(null==n?"":n)};if(Array.isArray(e)||e.jquery&&!S.isPlainObject(e))S.each(e,function(){o(this.name,this.value)});else for(n in e)At(n,e[n],t,o);return i.join("&")},S.fn.extend({serialize:function(){return S.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var e=S.prop(this,"elements");return e?S.makeArray(e):this}).filter(function(){var e=this.type;return this.name&&!S(this).is(":disabled")&&jt.test(this.nodeName)&&!Ct.test(e)&&(this.checked||!fe.test(e))}).map(function(e,t){var n=S(this).val();return null==n?null:Array.isArray(n)?S.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 Et=/%20/g,It=/#.*$/,Mt=/([?&])_=[^&]*/,Ot=/^(.*?):[ \t]*([^\r\n]*)$/gm,Dt=/^(?:GET|HEAD)$/,Vt=/^\/\//,Lt={},Pt={},Nt="*/".concat("*"),Rt=a.createElement("a");function Ft(e){return function(t,n){"string"!=typeof t&&(n=t,t="*");var i,o=0,r=t.toLowerCase().match(R)||[];if(v(n))for(;i=r[o++];)"+"===i[0]?(i=i.slice(1)||"*",(e[i]=e[i]||[]).unshift(n)):(e[i]=e[i]||[]).push(n)}}function Bt(e,t,n,i){var o={},r=e===Pt;function a(s){var c;return o[s]=!0,S.each(e[s]||[],function(e,s){var l=s(t,n,i);return"string"!=typeof l||r||o[l]?r?!(c=l):void 0:(t.dataTypes.unshift(l),a(l),!1)}),c}return a(t.dataTypes[0])||!o["*"]&&a("*")}function zt(e,t){var n,i,o=S.ajaxSettings.flatOptions||{};for(n in t)void 0!==t[n]&&((o[n]?e:i||(i={}))[n]=t[n]);return i&&S.extend(!0,e,i),e}Rt.href=wt.href,S.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:wt.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(wt.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Nt,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":S.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?zt(zt(e,S.ajaxSettings),t):zt(S.ajaxSettings,e)},ajaxPrefilter:Ft(Lt),ajaxTransport:Ft(Pt),ajax:function(e,t){"object"==typeof e&&(t=e,e=void 0),t=t||{};var i,o,r,s,c,l,d,u,f,h,p=S.ajaxSetup({},t),g=p.context||p,m=p.context&&(g.nodeType||g.jquery)?S(g):S.event,b=S.Deferred(),v=S.Callbacks("once memory"),y=p.statusCode||{},_={},w={},x="canceled",T={readyState:0,getResponseHeader:function(e){var t;if(d){if(!s)for(s={};t=Ot.exec(r);)s[t[1].toLowerCase()]=t[2];t=s[e.toLowerCase()]}return null==t?null:t},getAllResponseHeaders:function(){return d?r:null},setRequestHeader:function(e,t){return null==d&&(e=w[e.toLowerCase()]=w[e.toLowerCase()]||e,_[e]=t),this},overrideMimeType:function(e){return null==d&&(p.mimeType=e),this},statusCode:function(e){var t;if(e)if(d)T.always(e[T.status]);else for(t in e)y[t]=[y[t],e[t]];return this},abort:function(e){var t=e||x;return i&&i.abort(t),k(0,t),this}};if(b.promise(T),p.url=((e||p.url||wt.href)+"").replace(Vt,wt.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=S.param(p.data,p.traditional)),Bt(Lt,p,t,T),d)return T;for(f in(u=S.event&&p.global)&&0==S.active++&&S.event.trigger("ajaxStart"),p.type=p.type.toUpperCase(),p.hasContent=!Dt.test(p.type),o=p.url.replace(It,""),p.hasContent?p.data&&p.processData&&0===(p.contentType||"").indexOf("application/x-www-form-urlencoded")&&(p.data=p.data.replace(Et,"+")):(h=p.url.slice(o.length),p.data&&(p.processData||"string"==typeof p.data)&&(o+=(St.test(o)?"&":"?")+p.data,delete p.data),!1===p.cache&&(o=o.replace(Mt,"$1"),h=(St.test(o)?"&":"?")+"_="+xt+++h),p.url=o+h),p.ifModified&&(S.lastModified[o]&&T.setRequestHeader("If-Modified-Since",S.lastModified[o]),S.etag[o]&&T.setRequestHeader("If-None-Match",S.etag[o])),(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]?", "+Nt+"; q=0.01":""):p.accepts["*"]),p.headers)T.setRequestHeader(f,p.headers[f]);if(p.beforeSend&&(!1===p.beforeSend.call(g,T,p)||d))return T.abort();if(x="abort",v.add(p.complete),T.done(p.success),T.fail(p.error),i=Bt(Pt,p,t,T)){if(T.readyState=1,u&&m.trigger("ajaxSend",[T,p]),d)return T;p.async&&p.timeout>0&&(c=n.setTimeout(function(){T.abort("timeout")},p.timeout));try{d=!1,i.send(_,k)}catch(e){if(d)throw e;k(-1,e)}}else k(-1,"No Transport");function k(e,t,a,s){var l,f,h,_,w,x=t;d||(d=!0,c&&n.clearTimeout(c),i=void 0,r=s||"",T.readyState=e>0?4:0,l=e>=200&&e<300||304===e,a&&(_=function(e,t,n){for(var i,o,r,a,s=e.contents,c=e.dataTypes;"*"===c[0];)c.shift(),void 0===i&&(i=e.mimeType||t.getResponseHeader("Content-Type"));if(i)for(o in s)if(s[o]&&s[o].test(i)){c.unshift(o);break}if(c[0]in n)r=c[0];else{for(o in n){if(!c[0]||e.converters[o+" "+c[0]]){r=o;break}a||(a=o)}r=r||a}if(r)return r!==c[0]&&c.unshift(r),n[r]}(p,T,a)),_=function(e,t,n,i){var o,r,a,s,c,l={},d=e.dataTypes.slice();if(d[1])for(a in e.converters)l[a.toLowerCase()]=e.converters[a];for(r=d.shift();r;)if(e.responseFields[r]&&(n[e.responseFields[r]]=t),!c&&i&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),c=r,r=d.shift())if("*"===r)r=c;else if("*"!==c&&c!==r){if(!(a=l[c+" "+r]||l["* "+r]))for(o in l)if((s=o.split(" "))[1]===r&&(a=l[c+" "+s[0]]||l["* "+s[0]])){!0===a?a=l[o]:!0!==l[o]&&(r=s[0],d.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 "+c+" to "+r}}}return{state:"success",data:t}}(p,_,T,l),l?(p.ifModified&&((w=T.getResponseHeader("Last-Modified"))&&(S.lastModified[o]=w),(w=T.getResponseHeader("etag"))&&(S.etag[o]=w)),204===e||"HEAD"===p.type?x="nocontent":304===e?x="notmodified":(x=_.state,f=_.data,l=!(h=_.error))):(h=x,!e&&x||(x="error",e<0&&(e=0))),T.status=e,T.statusText=(t||x)+"",l?b.resolveWith(g,[f,x,T]):b.rejectWith(g,[T,x,h]),T.statusCode(y),y=void 0,u&&m.trigger(l?"ajaxSuccess":"ajaxError",[T,p,l?f:h]),v.fireWith(g,[T,x]),u&&(m.trigger("ajaxComplete",[T,p]),--S.active||S.event.trigger("ajaxStop")))}return T},getJSON:function(e,t,n){return S.get(e,t,n,"json")},getScript:function(e,t){return S.get(e,void 0,t,"script")}}),S.each(["get","post"],function(e,t){S[t]=function(e,n,i,o){return v(n)&&(o=o||i,i=n,n=void 0),S.ajax(S.extend({url:e,type:t,dataType:o,data:n,success:i},S.isPlainObject(e)&&e))}}),S._evalUrl=function(e){return S.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,throws:!0})},S.fn.extend({wrapAll:function(e){var t;return this[0]&&(v(e)&&(e=e.call(this[0])),t=S(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 v(e)?this.each(function(t){S(this).wrapInner(e.call(this,t))}):this.each(function(){var t=S(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)})},wrap:function(e){var t=v(e);return this.each(function(n){S(this).wrapAll(t?e.call(this,n):e)})},unwrap:function(e){return this.parent(e).not("body").each(function(){S(this).replaceWith(this.childNodes)}),this}}),S.expr.pseudos.hidden=function(e){return!S.expr.pseudos.visible(e)},S.expr.pseudos.visible=function(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)},S.ajaxSettings.xhr=function(){try{return new n.XMLHttpRequest}catch(e){}};var Ht={0:200,1223:204},$t=S.ajaxSettings.xhr();b.cors=!!$t&&"withCredentials"in $t,b.ajax=$t=!!$t,S.ajaxTransport(function(e){var t,i;if(b.cors||$t&&!e.crossDomain)return{send:function(o,r){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||o["X-Requested-With"]||(o["X-Requested-With"]="XMLHttpRequest"),o)s.setRequestHeader(a,o[a]);t=function(e){return function(){t&&(t=i=s.onload=s.onerror=s.onabort=s.ontimeout=s.onreadystatechange=null,"abort"===e?s.abort():"error"===e?"number"!=typeof s.status?r(0,"error"):r(s.status,s.statusText):r(Ht[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(),i=s.onerror=s.ontimeout=t("error"),void 0!==s.onabort?s.onabort=i:s.onreadystatechange=function(){4===s.readyState&&n.setTimeout(function(){t&&i()})},t=t("abort");try{s.send(e.hasContent&&e.data||null)}catch(e){if(t)throw e}},abort:function(){t&&t()}}}),S.ajaxPrefilter(function(e){e.crossDomain&&(e.contents.script=!1)}),S.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 S.globalEval(e),e}}}),S.ajaxPrefilter("script",function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET")}),S.ajaxTransport("script",function(e){var t,n;if(e.crossDomain)return{send:function(i,o){t=S("<script>").prop({charset:e.scriptCharset,src:e.url}).on("load error",n=function(e){t.remove(),n=null,e&&o("error"===e.type?404:200,e.type)}),a.head.appendChild(t[0])},abort:function(){n&&n()}}});var qt,Wt=[],Gt=/(=)\?(?=&|$)|\?\?/;S.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=Wt.pop()||S.expando+"_"+xt++;return this[e]=!0,e}}),S.ajaxPrefilter("json jsonp",function(e,t,i){var o,r,a,s=!1!==e.jsonp&&(Gt.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&Gt.test(e.data)&&"data");if(s||"jsonp"===e.dataTypes[0])return o=e.jsonpCallback=v(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,s?e[s]=e[s].replace(Gt,"$1"+o):!1!==e.jsonp&&(e.url+=(St.test(e.url)?"&":"?")+e.jsonp+"="+o),e.converters["script json"]=function(){return a||S.error(o+" was not called"),a[0]},e.dataTypes[0]="json",r=n[o],n[o]=function(){a=arguments},i.always(function(){void 0===r?S(n).removeProp(o):n[o]=r,e[o]&&(e.jsonpCallback=t.jsonpCallback,Wt.push(o)),a&&v(r)&&r(a[0]),a=r=void 0}),"script"}),b.createHTMLDocument=((qt=a.implementation.createHTMLDocument("").body).innerHTML="<form></form><form></form>",2===qt.childNodes.length),S.parseHTML=function(e,t,n){return"string"!=typeof e?[]:("boolean"==typeof t&&(n=t,t=!1),t||(b.createHTMLDocument?((i=(t=a.implementation.createHTMLDocument("")).createElement("base")).href=a.location.href,t.head.appendChild(i)):t=a),o=M.exec(e),r=!n&&[],o?[t.createElement(o[1])]:(o=we([e],t,r),r&&r.length&&S(r).remove(),S.merge([],o.childNodes)));var i,o,r},S.fn.load=function(e,t,n){var i,o,r,a=this,s=e.indexOf(" ");return s>-1&&(i=gt(e.slice(s)),e=e.slice(0,s)),v(t)?(n=t,t=void 0):t&&"object"==typeof t&&(o="POST"),a.length>0&&S.ajax({url:e,type:o||"GET",dataType:"html",data:t}).done(function(e){r=arguments,a.html(i?S("<div>").append(S.parseHTML(e)).find(i):e)}).always(n&&function(e,t){a.each(function(){n.apply(this,r||[e.responseText,t,e])})}),this},S.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){S.fn[t]=function(e){return this.on(t,e)}}),S.expr.pseudos.animated=function(e){return S.grep(S.timers,function(t){return e===t.elem}).length},S.offset={setOffset:function(e,t,n){var i,o,r,a,s,c,l=S.css(e,"position"),d=S(e),u={};"static"===l&&(e.style.position="relative"),s=d.offset(),r=S.css(e,"top"),c=S.css(e,"left"),("absolute"===l||"fixed"===l)&&(r+c).indexOf("auto")>-1?(a=(i=d.position()).top,o=i.left):(a=parseFloat(r)||0,o=parseFloat(c)||0),v(t)&&(t=t.call(e,n,S.extend({},s))),null!=t.top&&(u.top=t.top-s.top+a),null!=t.left&&(u.left=t.left-s.left+o),"using"in t?t.using.call(e,u):d.css(u)}},S.fn.extend({offset:function(e){if(arguments.length)return void 0===e?this:this.each(function(t){S.offset.setOffset(this,e,t)});var t,n,i=this[0];return i?i.getClientRects().length?(t=i.getBoundingClientRect(),n=i.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,i=this[0],o={top:0,left:0};if("fixed"===S.css(i,"position"))t=i.getBoundingClientRect();else{for(t=this.offset(),n=i.ownerDocument,e=i.offsetParent||n.documentElement;e&&(e===n.body||e===n.documentElement)&&"static"===S.css(e,"position");)e=e.parentNode;e&&e!==i&&1===e.nodeType&&((o=S(e).offset()).top+=S.css(e,"borderTopWidth",!0),o.left+=S.css(e,"borderLeftWidth",!0))}return{top:t.top-o.top-S.css(i,"marginTop",!0),left:t.left-o.left-S.css(i,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var e=this.offsetParent;e&&"static"===S.css(e,"position");)e=e.offsetParent;return e||xe})}}),S.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(e,t){var n="pageYOffset"===t;S.fn[e]=function(i){return W(this,function(e,i,o){var r;if(y(e)?r=e:9===e.nodeType&&(r=e.defaultView),void 0===o)return r?r[t]:e[i];r?r.scrollTo(n?r.pageXOffset:o,n?o:r.pageYOffset):e[i]=o},e,i,arguments.length)}}),S.each(["top","left"],function(e,t){S.cssHooks[t]=qe(b.pixelPosition,function(e,n){if(n)return n=$e(e,t),Be.test(n)?S(e).position()[t]+"px":n})}),S.each({Height:"height",Width:"width"},function(e,t){S.each({padding:"inner"+e,content:t,"":"outer"+e},function(n,i){S.fn[i]=function(o,r){var a=arguments.length&&(n||"boolean"!=typeof o),s=n||(!0===o||!0===r?"margin":"border");return W(this,function(t,n,o){var r;return y(t)?0===i.indexOf("outer")?t["inner"+e]:t.document.documentElement["client"+e]:9===t.nodeType?(r=t.documentElement,Math.max(t.body["scroll"+e],r["scroll"+e],t.body["offset"+e],r["offset"+e],r["client"+e])):void 0===o?S.css(t,n,s):S.style(t,n,o,s)},t,a?o:void 0,a)}})}),S.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){S.fn[t]=function(e,n){return arguments.length>0?this.on(t,null,e,n):this.trigger(t)}}),S.fn.extend({hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)}}),S.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,i){return this.on(t,e,n,i)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)}}),S.proxy=function(e,t){var n,i,o;if("string"==typeof t&&(n=e[t],t=e,e=n),v(e))return i=c.call(arguments,2),(o=function(){return e.apply(t||this,i.concat(c.call(arguments)))}).guid=e.guid=e.guid||S.guid++,o},S.holdReady=function(e){e?S.readyWait++:S.ready(!0)},S.isArray=Array.isArray,S.parseJSON=JSON.parse,S.nodeName=I,S.isFunction=v,S.isWindow=y,S.camelCase=Y,S.type=x,S.now=Date.now,S.isNumeric=function(e){var t=S.type(e);return("number"===t||"string"===t)&&!isNaN(e-parseFloat(e))},void 0===(i=function(){return S}.apply(t,[]))||(e.exports=i);var Ut=n.jQuery,Kt=n.$;return S.noConflict=function(e){return n.$===S&&(n.$=Kt),e&&n.jQuery===S&&(n.jQuery=Ut),S},o||(n.jQuery=n.$=S),S})},1:function(e,t,n){"use strict";var i=n(866),o=n.n(i),r=n(608),a=n.n(r),s=n(7),c=n.n(s),l=function(e,t){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],i=e;return t&&Object.keys(t).forEach(function(e){var o=t[e],r=n?c.a.escape(o):o;i=i.replace(new RegExp("%{".concat(e,"}"),"g"),r)}),i};n.d(t,"c",function(){return d}),n.d(t,"a",function(){return f}),n.d(t,"d",function(){return h}),n.d(t,"e",function(){return p}),n.d(t,"b",function(){return g}),n.d(t,"f",function(){return l});var d=function(){return document.querySelector("html").getAttribute("lang")||"en"},u=new o.a(window.translations||{});delete window.translations;var f=function(e){return u.gettext.bind(u)(a()(e))},h=function(e,t,n){var i=u.ngettext(a()(e),a()(t),n).replace(/%d/g,n).split("|");return i[i.length-1]},p=function(e,t){var n=a()(t?"".concat(e,"|").concat(t):e),i=f(n).split("|");return i[i.length-1]},g=function(e){return Intl.DateTimeFormat(d(),e)}},10:function(e,t,n){"use strict";n.d(t,"d",function(){return y}),n.d(t,"c",function(){return w}),n.d(t,"b",function(){return x});
|
||
/**
|
||
* vuex v3.0.1
|
||
* (c) 2017 Evan You
|
||
* @license MIT
|
||
*/
|
||
var i=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)}},o="undefined"!=typeof window&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function r(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){r(this._children,e)},a.prototype.forEachGetter=function(e){this._rawModule.getters&&r(this._rawModule.getters,e)},a.prototype.forEachAction=function(e){this._rawModule.actions&&r(this._rawModule.actions,e)},a.prototype.forEachMutation=function(e){this._rawModule.mutations&&r(this._rawModule.mutations,e)},Object.defineProperties(a.prototype,s);var c=function(e){this.register([],e,!1)};c.prototype.get=function(e){return e.reduce(function(e,t){return e.getChild(t)},this.root)},c.prototype.getNamespace=function(e){var t=this.root;return e.reduce(function(e,n){return e+((t=t.getChild(n)).namespaced?n+"/":"")},"")},c.prototype.update=function(e){!function e(t,n,i){0;n.update(i);if(i.modules)for(var o in i.modules){if(!n.getChild(o))return void 0;e(t.concat(o),n.getChild(o),i.modules[o])}}([],this.root,e)},c.prototype.register=function(e,t,n){var i=this;void 0===n&&(n=!0);var o=new a(t,n);0===e.length?this.root=o:this.get(e.slice(0,-1)).addChild(e[e.length-1],o);t.modules&&r(t.modules,function(t,o){i.register(e.concat(o),t,n)})},c.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 d=function(e){var t=this;void 0===e&&(e={}),!l&&"undefined"!=typeof window&&window.Vue&&v(window.Vue);var n=e.plugins;void 0===n&&(n=[]);var i=e.strict;void 0===i&&(i=!1);var r=e.state;void 0===r&&(r={}),"function"==typeof r&&(r=r()||{}),this._committing=!1,this._actions=Object.create(null),this._actionSubscribers=[],this._mutations=Object.create(null),this._wrappedGetters=Object.create(null),this._modules=new c(e),this._modulesNamespaceMap=Object.create(null),this._subscribers=[],this._watcherVM=new l;var a=this,s=this.dispatch,d=this.commit;this.dispatch=function(e,t){return s.call(a,e,t)},this.commit=function(e,t,n){return d.call(a,e,t,n)},this.strict=i,g(this,r,[],this._modules.root),p(this,r),n.forEach(function(e){return e(t)}),l.config.devtools&&function(e){o&&(e._devtoolHook=o,o.emit("vuex:init",e),o.on("vuex:travel-to-state",function(t){e.replaceState(t)}),e.subscribe(function(e,t){o.emit("vuex:mutation",e,t)}))}(this)},u={state:{configurable:!0}};function f(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;g(e,n,[],e._modules.root,!0),p(e,n,t)}function p(e,t,n){var i=e._vm;e.getters={};var o={};r(e._wrappedGetters,function(t,n){o[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:o}),l.config.silent=a,e.strict&&function(e){e._vm.$watch(function(){return this._data.$$state},function(){0},{deep:!0,sync:!0})}(e),i&&(n&&e._withCommit(function(){i._data.$$state=null}),l.nextTick(function(){return i.$destroy()}))}function g(e,t,n,i,o){var r=!n.length,a=e._modules.getNamespace(n);if(i.namespaced&&(e._modulesNamespaceMap[a]=i),!r&&!o){var s=m(t,n.slice(0,-1)),c=n[n.length-1];e._withCommit(function(){l.set(s,c,i.state)})}var d=i.context=function(e,t,n){var i=""===t,o={dispatch:i?e.dispatch:function(n,i,o){var r=b(n,i,o),a=r.payload,s=r.options,c=r.type;return s&&s.root||(c=t+c),e.dispatch(c,a)},commit:i?e.commit:function(n,i,o){var r=b(n,i,o),a=r.payload,s=r.options,c=r.type;s&&s.root||(c=t+c),e.commit(c,a,s)}};return Object.defineProperties(o,{getters:{get:i?function(){return e.getters}:function(){return function(e,t){var n={},i=t.length;return Object.keys(e.getters).forEach(function(o){if(o.slice(0,i)===t){var r=o.slice(i);Object.defineProperty(n,r,{get:function(){return e.getters[o]},enumerable:!0})}}),n}(e,t)}},state:{get:function(){return m(e.state,n)}}}),o}(e,a,n);i.forEachMutation(function(t,n){!function(e,t,n,i){(e._mutations[t]||(e._mutations[t]=[])).push(function(t){n.call(e,i.state,t)})}(e,a+n,t,d)}),i.forEachAction(function(t,n){var i=t.root?n:a+n,o=t.handler||t;!function(e,t,n,i){(e._actions[t]||(e._actions[t]=[])).push(function(t,o){var r,a=n.call(e,{dispatch:i.dispatch,commit:i.commit,getters:i.getters,state:i.state,rootGetters:e.getters,rootState:e.state},t,o);return(r=a)&&"function"==typeof r.then||(a=Promise.resolve(a)),e._devtoolHook?a.catch(function(t){throw e._devtoolHook.emit("vuex:error",t),t}):a})}(e,i,o,d)}),i.forEachGetter(function(t,n){!function(e,t,n,i){if(e._wrappedGetters[t])return void 0;e._wrappedGetters[t]=function(e){return n(i.state,i.getters,e.state,e.getters)}}(e,a+n,t,d)}),i.forEachChild(function(i,r){g(e,t,n.concat(r),i,o)})}function m(e,t){return t.length?t.reduce(function(e,t){return e[t]},e):e}function b(e,t,n){var i;return null!==(i=e)&&"object"==typeof i&&e.type&&(n=t,t=e,e=e.type),{type:e,payload:t,options:n}}function v(e){l&&e===l||i(l=e)}u.state.get=function(){return this._vm._data.$$state},u.state.set=function(e){0},d.prototype.commit=function(e,t,n){var i=this,o=b(e,t,n),r=o.type,a=o.payload,s=(o.options,{type:r,payload:a}),c=this._mutations[r];c&&(this._withCommit(function(){c.forEach(function(e){e(a)})}),this._subscribers.forEach(function(e){return e(s,i.state)}))},d.prototype.dispatch=function(e,t){var n=this,i=b(e,t),o=i.type,r=i.payload,a={type:o,payload:r},s=this._actions[o];if(s)return this._actionSubscribers.forEach(function(e){return e(a,n.state)}),s.length>1?Promise.all(s.map(function(e){return e(r)})):s[0](r)},d.prototype.subscribe=function(e){return f(e,this._subscribers)},d.prototype.subscribeAction=function(e){return f(e,this._actionSubscribers)},d.prototype.watch=function(e,t,n){var i=this;return this._watcherVM.$watch(function(){return e(i.state,i.getters)},t,n)},d.prototype.replaceState=function(e){var t=this;this._withCommit(function(){t._vm._data.$$state=e})},d.prototype.registerModule=function(e,t,n){void 0===n&&(n={}),"string"==typeof e&&(e=[e]),this._modules.register(e,t),g(this,this.state,e,this._modules.get(e),n.preserveState),p(this,this.state)},d.prototype.unregisterModule=function(e){var t=this;"string"==typeof e&&(e=[e]),this._modules.unregister(e),this._withCommit(function(){var n=m(t.state,e.slice(0,-1));l.delete(n,e[e.length-1])}),h(this)},d.prototype.hotUpdate=function(e){this._modules.update(e),h(this,!0)},d.prototype._withCommit=function(e){var t=this._committing;this._committing=!0,e(),this._committing=t},Object.defineProperties(d.prototype,u);var y=T(function(e,t){var n={};return S(t).forEach(function(t){var i=t.key,o=t.val;n[i]=function(){var t=this.$store.state,n=this.$store.getters;if(e){var i=k(this.$store,"mapState",e);if(!i)return;t=i.context.state,n=i.context.getters}return"function"==typeof o?o.call(this,t,n):t[o]},n[i].vuex=!0}),n}),_=T(function(e,t){var n={};return S(t).forEach(function(t){var i=t.key,o=t.val;n[i]=function(){for(var t=[],n=arguments.length;n--;)t[n]=arguments[n];var i=this.$store.commit;if(e){var r=k(this.$store,"mapMutations",e);if(!r)return;i=r.context.commit}return"function"==typeof o?o.apply(this,[i].concat(t)):i.apply(this.$store,[o].concat(t))}}),n}),w=T(function(e,t){var n={};return S(t).forEach(function(t){var i=t.key,o=t.val;o=e+o,n[i]=function(){if(!e||k(this.$store,"mapGetters",e))return this.$store.getters[o]},n[i].vuex=!0}),n}),x=T(function(e,t){var n={};return S(t).forEach(function(t){var i=t.key,o=t.val;n[i]=function(){for(var t=[],n=arguments.length;n--;)t[n]=arguments[n];var i=this.$store.dispatch;if(e){var r=k(this.$store,"mapActions",e);if(!r)return;i=r.context.dispatch}return"function"==typeof o?o.apply(this,[i].concat(t)):i.apply(this.$store,[o].concat(t))}}),n});function S(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 C={Store:d,install:v,version:"3.0.1",mapState:y,mapMutations:_,mapGetters:w,mapActions:x,createNamespacedHelpers:function(e){return{mapState:y.bind(null,e),mapGetters:w.bind(null,e),mapMutations:_.bind(null,e),mapActions:x.bind(null,e)}}};t.a=C},1000:function(e,t,n){"use strict";var i=n(413).f,o=n(678),r=n(618),a=n(433),s=n(616),c=n(617),l=n(677),d=n(840),u=n(845),f=n(430),h=n(535).fastKey,p=n(619),g=f?"_s":"size",m=function(e,t){var n,i=h(t);if("F"!==i)return e._i[i];for(n=e._f;n;n=n.n)if(n.k==t)return n};e.exports={getConstructor:function(e,t,n,l){var d=e(function(e,i){s(e,d,t,"_i"),e._t=t,e._i=o(null),e._f=void 0,e._l=void 0,e[g]=0,void 0!=i&&c(i,n,e[l],e)});return r(d.prototype,{clear:function(){for(var e=p(this,t),n=e._i,i=e._f;i;i=i.n)i.r=!0,i.p&&(i.p=i.p.n=void 0),delete n[i.i];e._f=e._l=void 0,e[g]=0},delete:function(e){var n=p(this,t),i=m(n,e);if(i){var o=i.n,r=i.p;delete n._i[i.i],i.r=!0,r&&(r.n=o),o&&(o.p=r),n._f==i&&(n._f=o),n._l==i&&(n._l=r),n[g]--}return!!i},forEach:function(e){p(this,t);for(var n,i=a(e,arguments.length>1?arguments[1]:void 0,3);n=n?n.n:this._f;)for(i(n.v,n.k,this);n&&n.r;)n=n.p},has:function(e){return!!m(p(this,t),e)}}),f&&i(d.prototype,"size",{get:function(){return p(this,t)[g]}}),d},def:function(e,t,n){var i,o,r=m(e,t);return r?r.v=n:(e._l=r={i:o=h(t,!0),k:t,v:n,p:i=e._l,n:void 0,r:!1},e._f||(e._f=r),i&&(i.n=r),e[g]++,"F"!==o&&(e._i[o]=r)),e},getEntry:m,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)?d(0,"keys"==e?t.k:"values"==e?t.v:[t.k,t.v]):(this._t=void 0,d(1))},n?"entries":"values",!n,!0),u(t)}}},1001:function(e,t,n){var i=n(304),o=n(1002).set;e.exports=function(e,t,n){var r,a=t.constructor;return a!==n&&"function"==typeof a&&(r=a.prototype)!==n.prototype&&i(r)&&o&&o(e,r),e}},1002:function(e,t,n){var i=n(304),o=n(395),r=function(e,t){if(o(e),!i(t)&&null!==t)throw TypeError(t+": can't set as prototype!")};e.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(e,t,i){try{(i=n(433)(Function.call,n(848).f(Object.prototype,"__proto__").set,2))(e,[]),t=!(e instanceof Array)}catch(e){t=!0}return function(e,n){return r(e,n),t?e.__proto__=n:i(e,n),e}}({},!1):void 0),check:r}},1003:function(e,t,n){n(615),n(839),n(1004),e.exports=n(227).WeakMap},1004:function(e,t,n){"use strict";var i,o=n(614)(0),r=n(431),a=n(535),s=n(837),c=n(1005),l=n(304),d=n(467),u=n(619),f=a.getWeak,h=Object.isExtensible,p=c.ufstore,g={},m=function(e){return function(){return e(this,arguments.length>0?arguments[0]:void 0)}},b={get:function(e){if(l(e)){var t=f(e);return!0===t?p(u(this,"WeakMap")).get(e):t?t[this._i]:void 0}},set:function(e,t){return c.def(u(this,"WeakMap"),e,t)}},v=e.exports=n(849)("WeakMap",m,b,c,!0,!0);d(function(){return 7!=(new v).set((Object.freeze||Object)(g),7).get(g)})&&(s((i=c.getConstructor(m,"WeakMap")).prototype,b),a.NEED=!0,o(["delete","has","get","set"],function(e){var t=v.prototype,n=t[e];r(t,e,function(t,o){if(l(t)&&!h(t)){this._f||(this._f=new i);var r=this._f[e](t,o);return"set"==e?this:r}return n.call(this,t,o)})}))},1005:function(e,t,n){"use strict";var i=n(618),o=n(535).getWeak,r=n(395),a=n(304),s=n(616),c=n(617),l=n(614),d=n(432),u=n(619),f=l(5),h=l(6),p=0,g=function(e){return e._l||(e._l=new m)},m=function(){this.a=[]},b=function(e,t){return f(e.a,function(e){return e[0]===t})};m.prototype={get:function(e){var t=b(this,e);if(t)return t[1]},has:function(e){return!!b(this,e)},set:function(e,t){var n=b(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,r){var l=e(function(e,i){s(e,l,t,"_i"),e._t=t,e._i=p++,e._l=void 0,void 0!=i&&c(i,n,e[r],e)});return i(l.prototype,{delete:function(e){if(!a(e))return!1;var n=o(e);return!0===n?g(u(this,t)).delete(e):n&&d(n,this._i)&&delete n[this._i]},has:function(e){if(!a(e))return!1;var n=o(e);return!0===n?g(u(this,t)).has(e):n&&d(n,this._i)}}),l},def:function(e,t,n){var i=o(r(t),!0);return!0===i?g(e).set(t,n):i[e._i]=n,e},ufstore:g}},1006:function(e,t,n){(function(e){!function(){var t,n="function"==typeof Object.defineProperties?Object.defineProperty:function(e,t,n){e!=Array.prototype&&e!=Object.prototype&&(e[t]=n.value)},i="undefined"!=typeof window&&window===this?this:void 0!==e&&null!=e?e:this;function o(){o=function(){},i.Symbol||(i.Symbol=s)}var r,a,s=(r=0,function(e){return"jscomp_symbol_"+(e||"")+r++});function c(){o();var e=i.Symbol.iterator;e||(e=i.Symbol.iterator=i.Symbol("iterator")),"function"!=typeof Array.prototype[e]&&n(Array.prototype,e,{configurable:!0,writable:!0,value:function(){return l(this)}}),c=function(){}}function l(e){var t=0;return function(e){return c(),(e={next:e})[i.Symbol.iterator]=function(){return this},e}(function(){return t<e.length?{done:!1,value:e[t++]}:{done:!0}})}function d(e){c(),o(),c();var t=e[Symbol.iterator];return t?t.call(e):l(e)}if("function"==typeof Object.setPrototypeOf)a=Object.setPrototypeOf;else{var u;e:{var f={};try{f.__proto__={o:!0},u=f.o;break e}catch(r){}u=!1}a=u?function(e,t){if(e.__proto__=t,e.__proto__!==t)throw new TypeError(e+" is not extensible");return e}:null}var h=a;function p(){this.g=!1,this.c=null,this.m=void 0,this.b=1,this.l=this.s=0,this.f=null}function g(e){if(e.g)throw new TypeError("Generator is already running");e.g=!0}function m(e,t,n){return e.b=n,{value:t}}function b(e){this.a=new p,this.A=e}function v(e,t,n,i){try{var o=t.call(e.a.c,n);if(!(o instanceof Object))throw new TypeError("Iterator result "+o+" is not an object");if(!o.done)return e.a.g=!1,o;var r=o.value}catch(t){return e.a.c=null,e.a.i(t),y(e)}return e.a.c=null,i.call(e.a,r),y(e)}function y(e){for(;e.a.b;)try{var t=e.A(e.a);if(t)return e.a.g=!1,{value:t.value,done:!1}}catch(t){e.a.m=void 0,e.a.i(t)}if(e.a.g=!1,e.a.f){if(t=e.a.f,e.a.f=null,t.v)throw t.u;return{value:t.return,done:!0}}return{value:void 0,done:!0}}function _(e){this.next=function(t){return e.h(t)},this.throw=function(t){return e.i(t)},this.return=function(t){return function(e,t){g(e.a);var n=e.a.c;return n?v(e,"return"in n?n.return:function(e){return{value:e,done:!0}},t,e.a.return):(e.a.return(t),y(e))}(e,t)},c(),this[Symbol.iterator]=function(){return this}}function w(e,t){var n=new _(new b(t));return h&&h(n,e.prototype),n}if(p.prototype.h=function(e){this.m=e},p.prototype.i=function(e){this.f={u:e,v:!0},this.b=this.s||this.l},p.prototype.return=function(e){this.f={return:e},this.b=this.l},b.prototype.h=function(e){return g(this.a),this.a.c?v(this,this.a.c.next,e,this.a.h):(this.a.h(e),y(this))},b.prototype.i=function(e){return g(this.a),this.a.c?v(this,this.a.c.throw,e,this.a.h):(this.a.i(e),y(this))},"undefined"==typeof FormData||!FormData.prototype.keys){var x=function(e,t,n){if(2>arguments.length)throw new TypeError("2 arguments required, but only "+arguments.length+" present.");return t instanceof Blob?[e+"",t,void 0!==n?n+"":"string"==typeof t.name?t.name:"blob"]:[e+"",t+""]},S=function(e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");return[e+""]},T=function(e){var t=d(e);return e=t.next().value,t=t.next().value,e instanceof Blob&&(e=new File([e],t,{type:e.type,lastModified:e.lastModified})),e},k="object"==typeof window?window:"object"==typeof self?self:this,C=k.FormData,j=k.XMLHttpRequest&&k.XMLHttpRequest.prototype.send,A=k.Request&&k.fetch;o();var E=k.Symbol&&Symbol.toStringTag,I=new WeakMap,M=Array.from||function(e){return[].slice.call(e)};E&&(Blob.prototype[E]||(Blob.prototype[E]="Blob"),"File"in k&&!File.prototype[E]&&(File.prototype[E]="File"));try{new File([],"")}catch(r){k.File=function(e,t,n){return e=new Blob(e,n),n=n&&void 0!==n.lastModified?new Date(n.lastModified):new Date,Object.defineProperties(e,{name:{value:t},lastModifiedDate:{value:n},lastModified:{value:+n},toString:{value:function(){return"[object File]"}}}),E&&Object.defineProperty(e,E,{value:"File"}),e}}var O=function(e){if(I.set(this,Object.create(null)),!e)return this;for(var t=(e=d(M(e.elements))).next();!t.done;t=e.next())if((t=t.value).name&&!t.disabled)if("file"===t.type)for(var n=d(t.files),i=n.next();!i.done;i=n.next())this.append(t.name,i.value);else if("select-multiple"===t.type||"select-one"===t.type)for(i=(n=d(M(t.options))).next();!i.done;i=n.next())!(i=i.value).disabled&&i.selected&&this.append(t.name,i.value);else"checkbox"===t.type||"radio"===t.type?t.checked&&this.append(t.name,t.value):this.append(t.name,t.value)};if((t=O.prototype).append=function(e,t,n){var i=I.get(this);i[e]||(i[e]=[]),i[e].push([t,n])},t.delete=function(e){delete I.get(this)[e]},t.entries=function e(){var t,n,i,o,r,a,s=this;return w(e,function(e){switch(e.b){case 1:t=I.get(s),i=new function(e){for(var t in this.w=e,this.j=[],e)this.j.push(t);this.j.reverse()}(t);case 2:var c;e:{for(c=i;0<c.j.length;){var l=c.j.pop();if(l in c.w){c=l;break e}}c=null}if(null==(n=c)){e.b=0;break}o=d(t[n]),r=o.next();case 5:if(r.done){e.b=2;break}return a=r.value,m(e,[n,T(a)],6);case 6:r=o.next(),e.b=5}})},t.forEach=function(e,t){for(var n=d(this),i=n.next();!i.done;i=n.next()){var o=d(i.value);i=o.next().value,o=o.next().value,e.call(t,o,i,this)}},t.get=function(e){var t=I.get(this);return t[e]?T(t[e][0]):null},t.getAll=function(e){return(I.get(this)[e]||[]).map(T)},t.has=function(e){return e in I.get(this)},t.keys=function e(){var t,n,i,o,r=this;return w(e,function(e){if(1==e.b&&(t=d(r),n=t.next()),3!=e.b)return n.done?void(e.b=0):(i=n.value,o=d(i),m(e,o.next().value,3));n=t.next(),e.b=2})},t.set=function(e,t,n){I.get(this)[e]=[[t,n]]},t.values=function e(){var t,n,i,o,r=this;return w(e,function(e){if(1==e.b&&(t=d(r),n=t.next()),3!=e.b)return n.done?void(e.b=0):(i=n.value,(o=d(i)).next(),m(e,o.next().value,3));n=t.next(),e.b=2})},O.prototype._asNative=function(){for(var e=new C,t=d(this),n=t.next();!n.done;n=t.next()){var i=d(n.value);n=i.next().value,i=i.next().value,e.append(n,i)}return e},O.prototype._blob=function(){for(var e="----formdata-polyfill-"+Math.random(),t=[],n=d(this),i=n.next();!i.done;i=n.next()){var o=d(i.value);i=o.next().value,o=o.next().value,t.push("--"+e+"\r\n"),o instanceof Blob?t.push('Content-Disposition: form-data; name="'+i+'"; filename="'+o.name+'"\r\n',"Content-Type: "+(o.type||"application/octet-stream")+"\r\n\r\n",o,"\r\n"):t.push('Content-Disposition: form-data; name="'+i+'"\r\n\r\n'+o+"\r\n")}return t.push("--"+e+"--"),new Blob(t,{type:"multipart/form-data; boundary="+e})},o(),c(),O.prototype[Symbol.iterator]=function(){return this.entries()},O.prototype.toString=function(){return"[object FormData]"},E&&(O.prototype[E]="FormData"),[["append",x],["delete",S],["get",S],["getAll",S],["has",S],["set",x]].forEach(function(e){var t=O.prototype[e[0]];O.prototype[e[0]]=function(){return t.apply(this,e[1].apply(this,M(arguments)))}}),j&&(XMLHttpRequest.prototype.send=function(e){e instanceof O?(e=e._blob(),this.setRequestHeader("Content-Type",e.type),j.call(this,e)):j.call(this,e)}),A){var D=k.fetch;k.fetch=function(e,t){return t&&t.body&&t.body instanceof O&&(t.body=t.body._blob()),D(e,t)}}k.FormData=O}}()}).call(this,n(166))},1007:function(e,t){function n(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}"function"!=typeof window.CustomEvent&&(window.CustomEvent=function(e,t){var i=document.createEvent("CustomEvent"),o=function(e){for(var t=1;t<arguments.length;t++){var i=null!=arguments[t]?arguments[t]:{},o=Object.keys(i);"function"==typeof Object.getOwnPropertySymbols&&(o=o.concat(Object.getOwnPropertySymbols(i).filter(function(e){return Object.getOwnPropertyDescriptor(i,e).enumerable}))),o.forEach(function(t){n(e,t,i[t])})}return e}({bubbles:!1,cancelable:!1,detail:void 0},t);return i.initCustomEvent(e,o.bubbles,o.cancelable,o.detail),i},window.CustomEvent.prototype=Event)},1008: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,i=String.prototype.trim||function(){return this.replace(/^\s+|\s+$/g,"")},o=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},r=function(e,t){this.name=e,this.code=DOMException[e],this.message=t},a=function(e,t){if(""===t)throw new r("SYNTAX_ERR","An invalid or illegal string was specified");if(/\s/.test(t))throw new r("INVALID_CHARACTER_ERR","String contains an invalid character");return o.call(e,t)},s=function(e){for(var t=i.call(e.getAttribute("class")||""),n=t?t.split(/\s+/):[],o=0,r=n.length;o<r;o++)this.push(n[o]);this._updateClassName=function(){e.setAttribute("class",this.toString())}},c=s.prototype=[],l=function(){return new s(this)};if(r.prototype=Error.prototype,c.item=function(e){return this[e]||null},c.contains=function(e){return-1!==a(this,e+="")},c.add=function(){var e,t=arguments,n=0,i=t.length,o=!1;do{e=t[n]+"",-1===a(this,e)&&(this.push(e),o=!0)}while(++n<i);o&&this._updateClassName()},c.remove=function(){var e,t,n=arguments,i=0,o=n.length,r=!1;do{for(e=n[i]+"",t=a(this,e);-1!==t;)this.splice(t,1),r=!0,t=a(this,e)}while(++i<o);r&&this._updateClassName()},c.toggle=function(e,t){e+="";var n=this.contains(e),i=n?!0!==t&&"remove":!1!==t&&"add";return i&&this[i](e),!0===t||!1===t?t:!n},c.toString=function(){return this.join(" ")},n.defineProperty){var d={get:l,enumerable:!0,configurable:!0};try{n.defineProperty(t,"classList",d)}catch(e){void 0!==e.number&&-2146823252!==e.number||(d.enumerable=!1,n.defineProperty(t,"classList",d))}}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,i=arguments.length;for(n=0;n<i;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}())},1009:function(e,t){function n(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}"function"!=typeof window.Event&&(window.Event=function(e,t){var i=document.createEvent("Event"),o=function(e){for(var t=1;t<arguments.length;t++){var i=null!=arguments[t]?arguments[t]:{},o=Object.keys(i);"function"==typeof Object.getOwnPropertySymbols&&(o=o.concat(Object.getOwnPropertySymbols(i).filter(function(e){return Object.getOwnPropertyDescriptor(i,e).enumerable}))),o.forEach(function(t){n(e,t,i[t])})}return e}({bubbles:!1,cancelable:!1},t);return i.initEvent(e,o.bubbles,o.cancelable),i},window.Event.prototype=Event)},1010: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)})},1011:function(e,t){window.requestIdleCallback=window.requestIdleCallback||function(e){var t=Date.now();return setTimeout(function(){e({didTimeout:!1,timeRemaining:function(){return Math.max(0,50-(Date.now()-t))}})},1)},window.cancelIdleCallback=window.cancelIdleCallback||function(e){clearTimeout(e)}},1012: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 i=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,i){var o=e.Event(n);return t.trigger(o,i),!1!==o.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 i,o,r,a,s,c;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")){i=t.data("ujs:submit-button-formmethod")||t.attr("method"),o=t.data("ujs:submit-button-formaction")||t.attr("action"),r=e(t[0]).serializeArray();var l=t.data("ujs:submit-button");l&&(r.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)?(i=t.data("method"),o=t.data("url"),r=t.serialize(),t.data("params")&&(r=r+"&"+t.data("params"))):t.is(n.buttonClickSelector)?(i=t.data("method")||"get",o=t.data("url"),r=t.serialize(),t.data("params")&&(r=r+"&"+t.data("params"))):(i=t.data("method"),o=n.href(t),r=t.data("params")||null);return c={type:i||"GET",data:r,dataType:s,beforeSend:function(e,i){if(void 0===i.dataType&&e.setRequestHeader("accept","*/*;q=0.5, "+i.accepts.script),!n.fire(t,"ajax:beforeSend",[e,i]))return!1;t.trigger("ajax:send",e)},success:function(e,n,i){t.trigger("ajax:success",[e,n,i])},complete:function(e,n){t.trigger("ajax:complete",[e,n])},error:function(e,n,i){t.trigger("ajax:error",[e,n,i])},crossDomain:n.isCrossDomain(o)},a&&(c.xhrFields={withCredentials:a}),o&&(c.url=o),n.ajax(c)}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 i=n.href(t),o=t.data("method"),r=t.attr("target"),a=n.csrfToken(),s=n.csrfParam(),c=e('<form method="post" action="'+i+'"></form>'),l='<input name="_method" value="'+o+'" type="hidden" />';void 0===s||void 0===a||n.isCrossDomain(i)||(l+='<input name="'+s+'" value="'+a+'" type="hidden" />'),r&&c.attr("target",r),c.hide().append(l).appendTo("body"),c.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,i=e.data("confirm"),o=!1;if(!i)return!0;if(n.fire(e,"confirm")){try{o=n.confirm(i)}catch(e){(console.error||console.log).call(console,e.stack||e)}t=n.fire(e,"confirm:complete",[o])}return o&&t},blankInputs:function(t,n,i){var o,r,a,s=e(),c=n||"input,textarea",l={};return t.find(c).each(function(){(o=e(this)).is("input[type=radio]")?(a=o.attr("name"),l[a]||(0===t.find('input[type=radio]:checked[name="'+a+'"]').length&&(r=t.find('input[type=radio][name="'+a+'"]'),s=s.add(r)),l[a]=a)):(o.is("input[type=checkbox],input[type=radio]")?o.is(":checked"):!!o.val())===i&&(s=s.add(o))}),!!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(i,"rails:attachBindings")&&(e.ajaxPrefilter(function(e,t,i){e.crossDomain||n.CSRFProtection(i)}),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)})}),i.on("ajax:complete",n.linkDisableSelector,function(){n.enableElement(e(this))}),i.on("ajax:complete",n.buttonDisableSelector,function(){n.enableFormElement(e(this))}),i.on("click.rails",n.linkClickSelector,function(t){var i=e(this),o=i.data("method"),r=i.data("params"),a=t.metaKey||t.ctrlKey;if(!n.allowAction(i))return n.stopEverything(t);if(!a&&i.is(n.linkDisableSelector)&&n.disableElement(i),n.isRemote(i)){if(a&&(!o||"GET"===o)&&!r)return!0;var s=n.handleRemote(i);return!1===s?n.enableElement(i):s.fail(function(){n.enableElement(i)}),!1}return o?(n.handleMethod(i),!1):void 0}),i.on("click.rails",n.buttonClickSelector,function(t){var i=e(this);if(!n.allowAction(i)||!n.isRemote(i))return n.stopEverything(t);i.is(n.buttonDisableSelector)&&n.disableFormElement(i);var o=n.handleRemote(i);return!1===o?n.enableFormElement(i):o.fail(function(){n.enableFormElement(i)}),!1}),i.on("change.rails",n.inputChangeSelector,function(t){var i=e(this);return n.allowAction(i)&&n.isRemote(i)?(n.handleRemote(i),!1):n.stopEverything(t)}),i.on("submit.rails",n.formSubmitSelector,function(t){var i,o,r=e(this),a=n.isRemote(r);if(!n.allowAction(r))return n.stopEverything(t);if(void 0===r.attr("novalidate"))if(void 0===r.data("ujs:formnovalidate-button")){if((i=n.blankInputs(r,n.requiredInputSelector,!1))&&n.fire(r,"ajax:aborted:required",[i]))return n.stopEverything(t)}else r.data("ujs:formnovalidate-button",void 0);if(a){if(o=n.nonBlankInputs(r,n.fileInputSelector)){setTimeout(function(){n.disableFormElements(r)},13);var s=n.fire(r,"ajax:aborted:file",[o]);return s||setTimeout(function(){n.enableFormElements(r)},13),s}return n.handleRemote(r),!1}setTimeout(function(){n.disableFormElements(r)},13)}),i.on("click.rails",n.formInputClickSelector,function(t){var i=e(this);if(!n.allowAction(i))return n.stopEverything(t);var o=i.attr("name"),r=o?{name:o,value:i.val()}:null,a=i.closest("form");0===a.length&&(a=e("#"+i.attr("form"))),a.data("ujs:submit-button",r),a.data("ujs:formnovalidate-button",i.attr("formnovalidate")),a.data("ujs:submit-button-formaction",i.attr("formaction")),a.data("ujs:submit-button-formmethod",i.attr("formmethod"))}),i.on("ajax:send.rails",n.formSubmitSelector,function(t){this===t.target&&n.disableFormElements(e(this))}),i.on("ajax:complete.rails",n.formSubmitSelector,function(t){this===t.target&&n.enableFormElements(e(this))}),e(function(){n.refreshCSRFTokens()}))}(e)}).call(this,n(0))},1013:function(e,t,n){(function(e){var t;(t=e).fn.endlessScroll=function(e){var n,i=!0,o=!1,r=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)&&(i=!1),!0===i&&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!=o)&&(!0===e.resetCounter.apply(this)&&(r=0),o=!0,r++,t(e.insertAfter).after('<div id="endless_scroll_loader">'+e.loader+"</div>"),data="function"==typeof e.data?e.data.apply(this,[r]):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,[r]),!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(),o=!1})):o=!1),t("#endless_scroll_loader").remove())}else i=!1})}}).call(this,n(0))},1014:function(e,t,n){var i,o,r;
|
||
/*! waitForImages jQuery Plugin - v2.1.0 - 2016-01-04
|
||
* https://github.com/alexanderdickson/waitForImages
|
||
* Copyright (c) 2016 Alex Dickson; Licensed MIT */o=[n(0)],void 0===(r="function"==typeof(i=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,i,o=0,r=0,a=e.Deferred();if(e.isPlainObject(arguments[0])?(i=arguments[0].waitForAll,n=arguments[0].each,t=arguments[0].finished):1===arguments.length&&"boolean"===e.type(arguments[0])?i=arguments[0]:(t=arguments[0],n=arguments[1],i=arguments[2]),t=t||e.noop,n=n||e.noop,i=!!i,!e.isFunction(t)||!e.isFunction(n))throw new TypeError("An invalid callback was supplied.");return this.each(function(){var s=e(this),c=[],l=e.waitForImages.hasImageProperties||[],d=e.waitForImages.hasImageAttributes||[],u=/url\(\s*(['"]?)(.*?)\1\s*\)/g;i?s.find("*").addBack().each(function(){var t=e(this);t.is("img:has-src")&&!t.is("[srcset]")&&c.push({src:t.attr("src"),element:t[0]}),e.each(l,function(e,n){var i,o=t.css(n);if(!o)return!0;for(;i=u.exec(o);)c.push({src:i[2],element:t[0]})}),e.each(d,function(e,n){var i=t.attr(n);if(!i)return!0;c.push({src:t.attr("src"),srcset:t.attr("srcset"),element:t[0]})})}):s.find("img:has-src").each(function(){c.push({src:this.src,element:this})}),o=c.length,r=0,0===o&&(t.call(s[0]),a.resolveWith(s[0])),e.each(c,function(i,c){var l=new Image,d="load.waitForImages error.waitForImages";e(l).one(d,function i(l){var u=[r,o,"load"==l.type];if(r++,n.apply(c.element,u),a.notifyWith(c.element,u),e(this).off(d,i),r==o)return t.call(s[0]),a.resolveWith(s[0]),!1}),c.srcset&&(l.srcset=c.srcset),l.src=c.src})}),a.promise()}})?i.apply(t,o):i)||(e.exports=r)},1015: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]),i=-1,o=this.length;++i<o&&(n.context=n[0]=this[i])&&!1!==e.call(n[0],i,n););return this}}),function(e,t){"use strict";if(window.Select2===t){var n,i,o,r,a,s,c,l,d={x:0,y:0},u={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 u.LEFT:case u.RIGHT:case u.UP:case u.DOWN:return!0}return!1},isControl:function(e){switch(e.which){case u.SHIFT:case u.CTRL:case u.ALT:return!0}return!!e.metaKey},isFunctionKey:function(e){return(e=e.which?e.which:e)>=112&&e<=123}},f="<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","Ɐ":"A","Ꜳ":"AA","Æ":"AE","Ǽ":"AE","Ǣ":"AE","Ꜵ":"AO","Ꜷ":"AU","Ꜹ":"AV","Ꜻ":"AV","Ꜽ":"AY","Ⓑ":"B","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","Ꝺ":"D","DZ":"DZ","DŽ":"DZ","Dz":"Dz","Dž":"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","Ꝼ":"F","Ⓖ":"G","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","Ⓘ":"I","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","Ꞣ":"K","Ⓛ":"L","L":"L","Ŀ":"L","Ĺ":"L","Ľ":"L","Ḷ":"L","Ḹ":"L","Ļ":"L","Ḽ":"L","Ḻ":"L","Ł":"L","Ƚ":"L","Ɫ":"L","Ⱡ":"L","Ꝉ":"L","Ꝇ":"L","Ꞁ":"L","LJ":"LJ","Lj":"Lj","Ⓜ":"M","M":"M","Ḿ":"M","Ṁ":"M","Ṃ":"M","Ɱ":"M","Ɯ":"M","Ⓝ":"N","N":"N","Ǹ":"N","Ń":"N","Ñ":"N","Ṅ":"N","Ň":"N","Ṇ":"N","Ņ":"N","Ṋ":"N","Ṉ":"N","Ƞ":"N","Ɲ":"N","Ꞑ":"N","Ꞥ":"N","NJ":"NJ","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","Ꝍ":"O","Ƣ":"OI","Ꝏ":"OO","Ȣ":"OU","Ⓟ":"P","P":"P","Ṕ":"P","Ṗ":"P","Ƥ":"P","Ᵽ":"P","Ꝑ":"P","Ꝓ":"P","Ꝕ":"P","Ⓠ":"Q","Q":"Q","Ꝗ":"Q","Ꝙ":"Q","Ɋ":"Q","Ⓡ":"R","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","Ʉ":"U","Ⓥ":"V","V":"V","Ṽ":"V","Ṿ":"V","Ʋ":"V","Ꝟ":"V","Ʌ":"V","Ꝡ":"VY","Ⓦ":"W","W":"W","Ẁ":"W","Ẃ":"W","Ŵ":"W","Ẇ":"W","Ẅ":"W","Ẉ":"W","Ⱳ":"W","Ⓧ":"X","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","Ꝣ":"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","ɐ":"a","ꜳ":"aa","æ":"ae","ǽ":"ae","ǣ":"ae","ꜵ":"ao","ꜷ":"au","ꜹ":"av","ꜻ":"av","ꜽ":"ay","ⓑ":"b","b":"b","ḃ":"b","ḅ":"b","ḇ":"b","ƀ":"b","ƃ":"b","ɓ":"b","ⓒ":"c","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","ꝺ":"d","dz":"dz","dž":"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","ǝ":"e","ⓕ":"f","f":"f","ḟ":"f","ƒ":"f","ꝼ":"f","ⓖ":"g","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","ɥ":"h","ƕ":"hv","ⓘ":"i","i":"i","ì":"i","í":"i","î":"i","ĩ":"i","ī":"i","ĭ":"i","ï":"i","ḯ":"i","ỉ":"i","ǐ":"i","ȉ":"i","ȋ":"i","ị":"i","į":"i","ḭ":"i","ɨ":"i","ı":"i","ⓙ":"j","j":"j","ĵ":"j","ǰ":"j","ɉ":"j","ⓚ":"k","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","ꝇ":"l","lj":"lj","ⓜ":"m","m":"m","ḿ":"m","ṁ":"m","ṃ":"m","ɱ":"m","ɯ":"m","ⓝ":"n","n":"n","ǹ":"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","ɵ":"o","ƣ":"oi","ȣ":"ou","ꝏ":"oo","ⓟ":"p","p":"p","ṕ":"p","ṗ":"p","ƥ":"p","ᵽ":"p","ꝑ":"p","ꝓ":"p","ꝕ":"p","ⓠ":"q","q":"q","ɋ":"q","ꝗ":"q","ꝙ":"q","ⓡ":"r","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","ẛ":"s","ⓣ":"t","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","ʉ":"u","ⓥ":"v","v":"v","ṽ":"v","ṿ":"v","ʋ":"v","ꝟ":"v","ʌ":"v","ꝡ":"vy","ⓦ":"w","w":"w","ẁ":"w","ẃ":"w","ŵ":"w","ẇ":"w","ẅ":"w","ẘ":"w","ẉ":"w","ⱳ":"w","ⓧ":"x","x":"x","ẋ":"x","ẍ":"x","ⓨ":"y","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","ꝣ":"z","Ά":"Α","Έ":"Ε","Ή":"Η","Ί":"Ι","Ϊ":"Ι","Ό":"Ο","Ύ":"Υ","Ϋ":"Υ","Ώ":"Ω","ά":"α","έ":"ε","ή":"η","ί":"ι","ϊ":"ι","ΐ":"ι","ό":"ο","ύ":"υ","ϋ":"υ","ΰ":"υ","ω":"ω","ς":"σ"};s=e(document),l=1,r=function(){return l++},i=O(n=O(Object,{bind:function(e){var t=this;return function(){e.apply(t,arguments)}},init:function(n){var i,o;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"+r()),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),S(this.container,this.opts.element,this.opts.adaptContainerCssClass),this.container.attr("style",n.element.attr("style")),this.container.css(I(n.containerCss,this.opts.element)),this.container.addClass(I(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",x),this.container.data("select2",this),this.dropdown=this.container.find(".select2-drop"),S(this.dropdown,this.opts.element,this.opts.adaptDropdownCssClass),this.dropdown.addClass(I(n.dropdownCssClass,this.opts.element)),this.dropdown.data("select2",this),this.dropdown.on("click",x),this.results=i=this.container.find(".select2-results"),this.search=o=this.container.find("input.select2-input"),this.queryCount=0,this.resultsPage=0,this.context=null,this.initContainer(),this.container.on("click",x),this.results.on("mousemove",function(n){var i=d;i!==t&&i.x===n.pageX&&i.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=w(e,function(e){t.trigger("scroll-debounced",e)});t.on("scroll",function(e){m(e.target,t.get())>=0&&n(e)})}(80,this.results),this.dropdown.on("scroll-debounced",".select2-results",this.bind(this.loadMoreIfNeeded)),e(this.container).on("change",".select2-input",function(e){e.stopPropagation()}),e(this.dropdown).on("change",".select2-input",function(e){e.stopPropagation()}),e.fn.mousewheel&&i.mousewheel(function(e,t,n,o){var r=i.scrollTop();o>0&&r-o<=0?(i.scrollTop(0),x(e)):o<0&&i.get(0).scrollHeight-i.scrollTop()+o<=i.height()&&(i.scrollTop(i.get(0).scrollHeight-i.height()),x(e))}),_(o),o.on("keyup-change input paste",this.bind(this.updateResults)),o.on("focus",function(){o.addClass("select2-focused")}),o.on("blur",function(){o.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),c=c||function(){var t=e(f);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"),i=this;this.close(),e.length&&e[0].detachEvent&&i._sync&&e.each(function(){i._sync&&this.detachEvent("onpropertychange",i._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()),M.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:b(e.attr("locked"),"locked")||b(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 i,o,a,s,c=this;if("select"===(i=n.element).get(0).tagName.toLowerCase()&&(this.select=o=n.element),o&&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(i,o,a){var s,l=this.opts.id,d=this.liveRegion;(s=function(i,o,u){var f,h,p,g,m,b,v,y,_,w,x=[];for(f=0,h=(i=n.sortResults(i,o,a)).length;f<h;f+=1)g=!(m=!0===(p=i[f]).disabled)&&l(p)!==t,b=p.children&&p.children.length>0,(v=e("<li></li>")).addClass("select2-results-dept-"+u),v.addClass("select2-result"),v.addClass(g?"select2-result-selectable":"select2-result-unselectable"),m&&v.addClass("select2-disabled"),b&&v.addClass("select2-result-with-children"),v.addClass(c.opts.formatResultCssClass(p)),v.attr("role","presentation"),(y=e(document.createElement("div"))).addClass("select2-result-label"),y.attr("id","select2-result-label-"+r()),y.attr("role","option"),(w=n.formatResult(p,y,a,c.opts.escapeMarkup))!==t&&(y.html(w),v.append(y)),b&&((_=e("<ul></ul>")).addClass("select2-result-sub"),s(p.children,_,u+1),v.append(_)),v.data("select2-data",p),x.push(v[0]);o.append(x),d.text(n.formatMatches(i.length))})(o,i,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(o?(n.query=this.bind(function(e){var n,o,r,a={results:[],more:!1},s=e.term;r=function(t,n){var i;t.is("option")?e.matcher(s,t.text(),t)&&n.push(c.optionToData(t)):t.is("optgroup")&&(i=c.optionToData(t),t.children().each2(function(e,t){r(t,i.children)}),i.children.length>0&&n.push(i))},n=i.children(),this.getPlaceholder()!==t&&n.length>0&&(o=this.getPlaceholderOption())&&(n=n.not(o)),n.each2(function(e,t){r(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=C.call(n.element,n.ajax)):"data"in n?n.query=j(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,i){var o=[];e(v(t.val(),n.separator,n.transformVal)).each(function(){var t={id:this,text:this},i=n.tags;e.isFunction(i)&&(i=i()),e(i).each(function(){if(b(this.id,t.id))return t=this,!1}),o.push(t)}),i(o)}))),"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,i=this.opts.element,o=this;i.on("change.select2",this.bind(function(e){!0!==this.opts.element.data("select2-change-triggered")&&this.initSelection()})),this._sync=this.bind(function(){var e=i.prop("disabled");e===t&&(e=!1),this.enable(!e);var n=i.prop("readonly");n===t&&(n=!1),this.readonly(n),this.container&&(S(this.container,this.opts.element,this.opts.adaptContainerCssClass),this.container.addClass(I(this.opts.containerCssClass,this.opts.element))),this.dropdown&&(S(this.dropdown,this.opts.element,this.opts.adaptDropdownCssClass),this.dropdown.addClass(I(this.opts.dropdownCssClass,this.opts.element)))}),i.length&&i[0].attachEvent&&i.each(function(){this.attachEvent("onpropertychange",o._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,o._sync)}),this.propertyObserver.observe(i.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,i,o,r,a=this.dropdown,s=this.container,l=s.offset(),d=s.outerHeight(!1),u=s.outerWidth(!1),f=a.outerHeight(!1),h=e(window),p=h.width(),g=h.height(),m=h.scrollLeft()+p,b=h.scrollTop()+g,v=l.top+d,y=l.left,_=v+f<=b,w=l.top-f>=h.scrollTop(),x=a.outerWidth(!1);a.hasClass("select2-drop-above")?(n=!0,!w&&_&&(i=!0,n=!1)):(n=!1,!_&&w&&(i=!0,n=!0)),i&&(a.hide(),l=this.container.offset(),d=this.container.outerHeight(!1),u=this.container.outerWidth(!1),f=a.outerHeight(!1),m=h.scrollLeft()+p,b=h.scrollTop()+g,v=l.top+d,y=l.left,x=a.outerWidth(!1),a.show(),this.focusSearch()),this.opts.dropdownAutoWidth?(r=e(".select2-results",a)[0],a.addClass("select2-drop-auto-width"),a.css("width",""),(x=a.outerWidth(!1)+(r.scrollHeight===r.clientHeight?0:c.width))>u?u=x:x=u,f=a.outerHeight(!1)):this.container.removeClass("select2-drop-auto-width"),"static"!==this.body.css("position")&&(v-=(t=this.body.offset()).top,y-=t.left),!(y+x<=m)&&l.left+m+s.outerWidth(!1)>x&&(y=l.left+this.container.outerWidth(!1)-x),o={left:y,width:u},n?(o.top=l.top-f,o.bottom="auto",this.container.addClass("select2-drop-above"),a.addClass("select2-drop-above")):(o.top=v,o.bottom="auto",this.container.removeClass("select2-drop-above"),a.removeClass("select2-drop-above")),o=e.extend(o,I(this.opts.dropdownCss,this.opts.element)),a.css(o)},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){d.x=e.pageX,d.y=e.pageY}),!0)},opening:function(){var t,n=this.containerEventName,i="scroll."+n,o="resize."+n,r="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 i,o=e("#select2-drop");o.length>0&&((i=o.data("select2")).opts.selectOnBlur&&i.selectHighlighted({noFocus:!0}),i.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(o+" "+i+" "+r,function(e){a.opened()&&a.positionDropdown()})})},close:function(){if(this.opened()){var t=this.containerEventName,n="scroll."+t,i="resize."+t,o="orientationchange."+t;this.container.parents().add(window).each(function(){e(this).off(n).off(i).off(o)}),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 I(this.opts.maximumSelectionSize,this.opts.element)},ensureHighlightVisible:function(){var t,n,i,o,r,a,s,c,l=this.results;(n=this.highlight())<0||(0!=n?(t=this.findHighlightableChoices().find(".select2-result-label"),o=(c=((i=e(t[n])).offset()||{}).top||0)+i.outerHeight(!0),n===t.length-1&&(s=l.find("li.select2-more-results")).length>0&&(o=s.offset().top+s.outerHeight(!0)),o>(r=l.offset().top+l.outerHeight(!1))&&l.scrollTop(l.scrollTop()+(o-r)),(a=c-l.offset().top)<0&&"none"!=i.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(),i=this.highlight();i>-1&&i<n.length;){var o=e(n[i+=t]);if(o.hasClass("select2-result-selectable")&&!o.hasClass("select2-disabled")&&!o.hasClass("select2-selected")){this.highlight(i);break}}},highlight:function(t){var n,i,o=this.findHighlightableChoices();if(0===arguments.length)return m(o.filter(".select2-highlighted")[0],o.get());t>=o.length&&(t=o.length-1),t<0&&(t=0),this.removeHighlight(),(n=e(o[t])).addClass("select2-highlighted"),this.search.attr("aria-activedescendant",n.find(".select2-result-label").attr("id")),this.ensureHighlightVisible(),this.liveRegion.text(n.text()),(i=n.data("select2-data"))&&this.opts.element.trigger({type:"select2-highlight",val:this.id(i),choice:i})},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 i=this.findHighlightableChoices();this.highlight(i.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,i=this,o=this.search.val(),r=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:o,page:n,context:r,matcher:this.opts.matcher,callback:this.bind(function(a){i.opened()&&(i.opts.populateResults.call(this,e,a.results,{term:o,page:n,context:r}),i.postprocessResults(a,!1,!1),!0===a.more?(t.detach().appendTo(e).html(i.opts.escapeMarkup(I(i.opts.formatLoadMore,i.opts.element,n+1))),window.setTimeout(function(){i.loadMoreIfNeeded()},10)):t.remove(),i.positionDropdown(),i.resultsPage=n,i.context=a.context,this.opts.element.trigger({type:"select2-loaded",items:a}))})}))},tokenize:function(){},updateResults:function(n){var i,o,r,a=this.search,s=this.results,c=this.opts,l=this,d=a.val(),u=e.data(this.container,"select2-last-term");if((!0===n||!u||!b(d,u))&&(e.data(this.container,"select2-last-term",d),!0===n||!1!==this.showSearchInput&&this.opened())){r=++this.queryCount;var f=this.getMaximumSelectionSize();if(!(f>=1&&(i=this.data(),e.isArray(i)&&i.length>=f&&E(c.formatSelectionTooBig,"formatSelectionTooBig"))))return a.val().length<c.minimumInputLength?(E(c.formatInputTooShort,"formatInputTooShort")?p("<li class='select2-no-results'>"+I(c.formatInputTooShort,c.element,a.val(),c.minimumInputLength)+"</li>"):p(""),void(n&&this.showSearch&&this.showSearch(!0))):void(c.maximumInputLength&&a.val().length>c.maximumInputLength?E(c.formatInputTooLong,"formatInputTooLong")?p("<li class='select2-no-results'>"+I(c.formatInputTooLong,c.element,a.val(),c.maximumInputLength)+"</li>"):p(""):(c.formatSearching&&0===this.findHighlightableChoices().length&&p("<li class='select2-searching'>"+I(c.formatSearching,c.element)+"</li>"),a.addClass("select2-active"),this.removeHighlight(),(o=this.tokenize())!=t&&null!=o&&a.val(o),this.resultsPage=1,c.query({element:c.element,term:a.val(),page:this.resultsPage,context:null,matcher:c.matcher,callback:this.bind(function(i){var o;r==this.queryCount&&(this.opened()?i.hasError!==t&&E(c.formatAjaxError,"formatAjaxError")?p("<li class='select2-ajax-error'>"+I(c.formatAjaxError,c.element,i.jqXHR,i.textStatus,i.errorThrown)+"</li>"):(this.context=i.context===t?null:i.context,this.opts.createSearchChoice&&""!==a.val()&&(o=this.opts.createSearchChoice.call(l,a.val(),i.results))!==t&&null!==o&&l.id(o)!==t&&null!==l.id(o)&&0===e(i.results).filter(function(){return b(l.id(this),l.id(o))}).length&&this.opts.createSearchChoicePosition(i.results,o),0===i.results.length&&E(c.formatNoMatches,"formatNoMatches")?p("<li class='select2-no-results'>"+I(c.formatNoMatches,c.element,a.val())+"</li>"):(s.empty(),l.opts.populateResults.call(this,s,i.results,{term:a.val(),page:this.resultsPage,context:null}),!0===i.more&&E(c.formatLoadMore,"formatLoadMore")&&(s.append("<li class='select2-more-results'>"+c.escapeMarkup(I(c.formatLoadMore,c.element,this.resultsPage))+"</li>"),window.setTimeout(function(){l.loadMoreIfNeeded()},10)),this.postprocessResults(i,n),h(),this.opts.element.trigger({type:"select2-loaded",items:i}))):this.search.removeClass("select2-active"))})})));p("<li class='select2-selection-limit'>"+I(c.formatSelectionTooBig,c.element,f)+"</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],i=e.val().length;e.focus(),(n.offsetWidth>0||n.offsetHeight>0)&&n===document.activeElement&&(n.setSelectionRange?n.setSelectionRange(i,i):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,i,o,r,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(r=0,a=(i=n.split(";")).length;r<a;r+=1)if(null!==(o=i[r].replace(/\s/g,"").match(/^width:(([-+]?([0-9]*\.)?[0-9]+)(px|em|ex|%|in|cm|mm|pt|pc))/i))&&o.length>=1)return o[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'> </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,i,o;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?((i=n.createTextRange()).collapse(!1),i.select()):n.setSelectionRange&&(o=this.search.val().length,n.setSelectionRange(o,o))),""===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),M.call(this,"selection","focusser")},initContainer:function(){var t,n,i=this.container,o=this.dropdown,a=r();this.opts.minimumResultsForSearch<0?this.showSearch(!1):this.showSearch(!0),this.selection=t=i.find(".select2-choice"),this.focusser=i.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!==u.PAGE_UP&&e.which!==u.PAGE_DOWN)switch(e.which){case u.UP:case u.DOWN:return this.moveHighlight(e.which===u.UP?-1:1),void x(e);case u.ENTER:return this.selectHighlighted(),void x(e);case u.TAB:return void this.selectHighlighted({noFocus:!0});case u.ESC:return this.cancel(e),void x(e)}else x(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!==u.TAB&&!u.isControl(e)&&!u.isFunctionKey(e)&&e.which!==u.ESC){if(!1!==this.opts.openOnEnter||e.which!==u.ENTER){if(e.which==u.DOWN||e.which==u.UP||e.which==u.ENTER&&this.opts.openOnEnter){if(e.altKey||e.ctrlKey||e.shiftKey||e.metaKey)return;return this.open(),void x(e)}return e.which==u.DELETE||e.which==u.BACKSPACE?(this.opts.allowClear&&this.clear(),void x(e)):void 0}x(e)}})),_(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(),x(n)})),o.on("mousedown touchstart",this.bind(function(){this.opts.shouldFocusInput(this)&&this.search.focus()})),t.on("focus",this.bind(function(e){x(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 i=e.Event("select2-clearing");if(this.opts.element.trigger(i),i.isDefaultPrevented())return;var o=this.getPlaceholderOption();this.opts.element.val(o?o.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 i=e.find("option").filter(function(){return this.selected&&!this.disabled});t(n.optionToData(i))}:"data"in t&&(t.initSelection=t.initSelection||function(n,i){var o=n.val(),r=null;t.query({matcher:function(e,n,i){var a=b(o,t.id(i));return a&&(r=i),a},callback:e.isFunction(i)?function(){i(r)}: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,i){var o=0,r=this;if(this.findHighlightableChoices().each2(function(e,t){if(b(r.id(t.data("select2-data")),r.opts.element.val()))return o=e,!1}),!1!==i&&(!0===n&&o>=0?this.highlight(o):this.highlight(0)),!0===n){var a=this.opts.minimumResultsForSearch;a>=0&&this.showSearch(function t(n){var i=0;return e.each(n,function(e,n){n.children?i+=t(n.children):i++}),i}(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(),i=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(),b(n,this.id(e))||this.triggerChange({added:e,removed:i})}},updateSelection:function(e){var n,i,o=this.selection.find(".select2-chosen");this.selection.data("select2-data",e),o.empty(),null!==e&&(n=this.opts.formatSelection(e,o,this.opts.escapeMarkup)),n!==t&&o.append(n),(i=this.opts.formatSelectionCssClass(e,o))!==t&&o.addClass(i),this.selection.removeClass("select2-default"),this.opts.allowClear&&this.getPlaceholder()!==t&&this.container.addClass("select2-allowclear")},val:function(){var e,n=!1,i=null,o=this,r=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 i=o.optionToData(t),!1}),this.updateSelection(i),this.setPlaceholder(),n&&this.triggerChange({added:i,removed:r});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){o.opts.element.val(e?o.id(e):""),o.updateSelection(e),o.setPlaceholder(),n&&o.triggerChange({added:e,removed:r})})}},clearSearch:function(){this.search.val(""),this.focusser.val("")},data:function(e){var n,i=!1;if(0===arguments.length)return(n=this.selection.data("select2-data"))==t&&(n=null),n;arguments.length>1&&(i=arguments[1]),e?(n=this.data(),this.opts.element.val(e?this.id(e):""),this.updateSelection(e),i&&this.triggerChange({added:e,removed:n})):this.clear(i)}}),o=O(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 i=[];e.find("option").filter(function(){return this.selected&&!this.disabled}).each2(function(e,t){i.push(n.optionToData(t))}),t(i)}:"data"in t&&(t.initSelection=t.initSelection||function(n,i){var o=v(n.val(),t.separator,t.transformVal),r=[];t.query({matcher:function(n,i,a){var s=e.grep(o,function(e){return b(e,t.id(a))}).length;return s&&r.push(a),s},callback:e.isFunction(i)?function(){for(var e=[],n=0;n<o.length;n++)for(var a=o[n],s=0;s<r.length;s++){var c=r[s];if(b(a,t.id(c))){e.push(c),r.splice(s,1);break}}i(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),M.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 i=this;this.selection.on("click",".select2-container:not(.select2-container-disabled) .select2-search-choice:not(.select2-locked)",function(t){i.search[0].focus(),i.selectChoice(e(this))}),this.search.attr("id","s2id_autogen"+r()),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 i=t.find(".select2-search-choice-focus"),o=i.prev(".select2-search-choice:not(.select2-locked)"),r=i.next(".select2-search-choice:not(.select2-locked)"),a=function(t){var n=0,i=0;if("selectionStart"in(t=e(t)[0]))n=t.selectionStart,i=t.selectionEnd-n;else if("selection"in document){t.focus();var o=document.selection.createRange();i=document.selection.createRange().text.length,o.moveStart("character",-t.value.length),n=o.text.length-i}return{offset:n,length:i}}(this.search);if(i.length&&(n.which==u.LEFT||n.which==u.RIGHT||n.which==u.BACKSPACE||n.which==u.DELETE||n.which==u.ENTER)){var s=i;return n.which==u.LEFT&&o.length?s=o:n.which==u.RIGHT?s=r.length?r:null:n.which===u.BACKSPACE?this.unselect(i.first())&&(this.search.width(10),s=o.length?o:r):n.which==u.DELETE?this.unselect(i.first())&&(this.search.width(10),s=r.length?r:null):n.which==u.ENTER&&(s=null),this.selectChoice(s),x(n),void(s&&s.length||this.open())}if((n.which===u.BACKSPACE&&1==this.keydowns||n.which==u.LEFT)&&0==a.offset&&!a.length)return this.selectChoice(t.find(".select2-search-choice:not(.select2-locked)").last()),void x(n);if(this.selectChoice(null),this.opened())switch(n.which){case u.UP:case u.DOWN:return this.moveHighlight(n.which===u.UP?-1:1),void x(n);case u.ENTER:return this.selectHighlighted(),void x(n);case u.TAB:return this.selectHighlighted({noFocus:!0}),void this.close();case u.ESC:return this.cancel(n),void x(n)}if(n.which!==u.TAB&&!u.isControl(n)&&!u.isFunctionKey(n)&&n.which!==u.BACKSPACE&&n.which!==u.ESC){if(n.which===u.ENTER){if(!1===this.opts.openOnEnter)return;if(n.altKey||n.ctrlKey||n.shiftKey||n.metaKey)return}this.open(),n.which!==u.PAGE_UP&&n.which!==u.PAGE_DOWN||x(n),n.which===u.ENTER&&x(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=[],i=[],o=this;e(t).each(function(){m(o.id(this),n)<0&&(n.push(o.id(this)),i.push(this))}),t=i,this.selection.find(".select2-search-choice").remove(),e(t).each(function(){o.addSelectedChoice(this)}),o.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 i,o,r=!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>"),c=r?a:s,l=this.id(n),d=this.getVal();(i=this.opts.formatSelection(n,c.find("div"),this.opts.escapeMarkup))!=t&&c.find("div").replaceWith(e("<div></div>").html(i)),(o=this.opts.formatSelectionCssClass(n,c.find("div")))!=t&&c.addClass(o),r&&c.find(".select2-search-choice-close").on("mousedown",x).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"),x(t),this.close(),this.focusSearch())})).on("focus",this.bind(function(){this.isInterfaceEnabled()&&(this.container.addClass("select2-container-active"),this.dropdown.addClass("select2-drop-active"))})),c.data("select2-data",n),c.insertBefore(this.searchContainer),d.push(l),this.setVal(d)},unselect:function(t){var n,i,o=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 r=e.Event("select2-removing");if(r.val=this.id(n),r.choice=n,this.opts.element.trigger(r),r.isDefaultPrevented())return!1;for(;(i=m(this.id(n),o))>=0;)o.splice(i,1),this.setVal(o),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 i=this.getVal(),o=this.results.find(".select2-result"),r=this.results.find(".select2-result-with-children"),a=this;o.each2(function(e,t){m(a.id(t.data("select2-data")),i)>=0&&(t.addClass("select2-selected"),t.find(".select2-result-selectable").addClass("select2-selected"))}),r.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&&!o.filter(".select2-result:not(.select2-selected)").length>0&&(!e||e&&!e.more&&0===this.results.find(".select2-no-results").length)&&E(a.opts.formatNoMatches,"formatNoMatches")&&this.results.append("<li class='select2-no-results'>"+I(a.opts.formatNoMatches,a.opts.element,a.search.val())+"</li>")},getMaxSearchWidth:function(){return this.selection.width()-y(this.search)},resizeSearch:function(){var t,n,i,o,r=y(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,(o=(i=this.selection.width())-(n-this.selection.offset().left)-r)<t&&(o=i-r),o<40&&(o=i-r),o<=0&&(o=t),this.search.width(Math.floor(o))},getVal:function(){var e;return this.select?null===(e=this.select.val())?[]:e:v(e=this.opts.element.val(),this.opts.separator,this.opts.transformVal)},setVal:function(t){var n;this.select?this.select.val(t):(n=[],e(t).each(function(){m(this,n)<0&&n.push(this)}),this.opts.element.val(0===n.length?"":n.join(this.opts.separator)))},buildChangeDetails:function(e,t){t=t.slice(0),e=e.slice(0);for(var n=0;n<t.length;n++)for(var i=0;i<e.length;i++)b(this.opts.id(t[n]),this.opts.id(e[i]))&&(t.splice(n,1),n>0&&n--,e.splice(i,1),i--);return{added:t,removed:e}},val:function(n,i){var o,r=this;if(0===arguments.length)return this.getVal();if((o=this.data()).length||(o=[]),!n&&0!==n)return this.opts.element.val(""),this.updateSelection([]),this.clearSearch(),void(i&&this.triggerChange({added:this.data(),removed:o}));if(this.setVal(n),this.select)this.opts.initSelection(this.select,this.bind(this.updateSelection)),i&&this.triggerChange(this.buildChangeDetails(o,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,r.id);r.setVal(n),r.updateSelection(t),r.clearSearch(),i&&r.triggerChange(r.buildChangeDetails(o,r.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 i,o,r=this;if(0===arguments.length)return this.selection.children(".select2-search-choice").map(function(){return e(this).data("select2-data")}).get();o=this.data(),t||(t=[]),i=e.map(t,function(e){return r.opts.id(e)}),this.setVal(i),this.updateSelection(t),this.clearSearch(),n&&this.triggerChange(this.buildChangeDetails(o,this.data()))}}),e.fn.select2=function(){var n,i,o,r,a,s=Array.prototype.slice.call(arguments,0),c=["val","destroy","opened","open","close","focus","isFocused","container","dropdown","onSortStart","onSortEnd","enable","disable","readonly","positionDropdown","data","search"],l=["opened","isFocused","container","dropdown"],d=["val","data"],u={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)),(i=a?new window.Select2.class.multi:new window.Select2.class.single).init(n);else{if("string"!=typeof s[0])throw"Invalid arguments to select2 plugin: "+s;if(m(s[0],c)<0)throw"Unknown method: "+s[0];if(r=t,(i=e(this).data("select2"))===t)return;if("container"===(o=s[0])?r=i.container:"dropdown"===o?r=i.dropdown:(u[o]&&(o=u[o]),r=i[o].apply(i,s.slice(1))),m(s[0],l)>=0||m(s[0],d)>=0&&1==s.length)return!1}}),r===t?this:r},e.fn.select2.defaults={width:"copy",loadMorePadding:0,closeOnSelect:!0,openOnEnter:!0,containerCss:{},dropdownCss:{},containerCssClass:"",dropdownCssClass:"",formatResult:function(e,t,n,i){var o=[];return T(this.text(e),n.term,o,i),o.join("")},transformVal:function(t){return e.trim(t)},formatSelection:function(e,n,i){return e?i(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 g(""+t).toUpperCase().indexOf(g(""+e).toUpperCase())>=0},separator:",",tokenSeparators:[],tokenizer:function(e,n,i,o){var r,a,s,c,l,d=e,u=!1;if(!o.createSearchChoice||!o.tokenSeparators||o.tokenSeparators.length<1)return t;for(;;){for(a=-1,s=0,c=o.tokenSeparators.length;s<c&&(l=o.tokenSeparators[s],!((a=e.indexOf(l))>=0));s++);if(a<0)break;if(r=e.substring(0,a),e=e.substring(a+l.length),r.length>0&&(r=o.createSearchChoice.call(this,r,n))!==t&&null!==r&&o.id(r)!==t&&null!==o.id(r)){for(u=!1,s=0,c=n.length;s<c;s++)if(b(o.id(r),o.id(n[s]))){u=!0;break}u||i(r)}}return d!==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:C,local:j,tags:A},util:{debounce:w,markMatch:T,escapeMarkup:k,stripDiacritics:g},class:{abstract:n,single:i,multi:o}}}function p(t){var n=e(document.createTextNode(""));t.before(n),n.before(t),n.remove()}function g(e){return e.replace(/[^\u0000-\u007E]/g,function(e){return h[e]||e})}function m(e,t){for(var n=0,i=t.length;n<i;n+=1)if(b(e,t[n]))return n;return-1}function b(e,n){return e===n||e!==t&&n!==t&&(null!==e&&null!==n&&(e.constructor===String?e+""==n+"":n.constructor===String&&n+""==e+""))}function v(e,t,n){var i,o,r;if(null===e||e.length<1)return[];for(o=0,r=(i=e.split(t)).length;o<r;o+=1)i[o]=n(i[o]);return i}function y(e){return e.outerWidth(!1)-e.width()}function _(n){var i="keyup-change-value";n.on("keydown",function(){e.data(n,i)===t&&e.data(n,i,n.val())}),n.on("keyup",function(){var o=e.data(n,i);o!==t&&n.val()!==o&&(e.removeData(n,i),n.trigger("keyup-change"))})}function w(e,n,i){var o;return i=i||t,function(){var t=arguments;window.clearTimeout(o),o=window.setTimeout(function(){n.apply(i,t)},e)}}function x(e){e.preventDefault(),e.stopPropagation()}function S(t,n,i){var o,r,a=[];(o=e.trim(t.attr("class")))&&e((o=""+o).split(/\s+/)).each2(function(){0===this.indexOf("select2-")&&a.push(this)}),(o=e.trim(n.attr("class")))&&e((o=""+o).split(/\s+/)).each2(function(){0!==this.indexOf("select2-")&&(r=i(this))&&a.push(r)}),t.attr("class",a.join(" "))}function T(e,t,n,i){var o=g(e.toUpperCase()).indexOf(g(t.toUpperCase())),r=t.length;o<0?n.push(i(e)):(n.push(i(e.substring(0,o))),n.push("<span class='select2-match'>"),n.push(i(e.substring(o,o+r))),n.push("</span>"),n.push(i(e.substring(o+r,e.length))))}function k(e){var t={"\\":"\","&":"&","<":"<",">":">",'"':""","'":"'","/":"/"};return String(e).replace(/[&<>"'\/\\]/g,function(e){return t[e]})}function C(n){var i,o=null,r=n.quietMillis||100,a=n.url,s=this;return function(c){window.clearTimeout(i),i=window.setTimeout(function(){var i=n.data,r=a,l=n.transport||e.fn.select2.ajaxDefaults.transport,d={type:n.type||"GET",cache:n.cache||!1,jsonpCallback:n.jsonpCallback||t,dataType:n.dataType||"json"},u=e.extend({},e.fn.select2.ajaxDefaults.params,d);i=i?i.call(s,c.term,c.page,c.context):null,r="function"==typeof r?r.call(s,c.term,c.page,c.context):r,o&&"function"==typeof o.abort&&o.abort(),n.params&&(e.isFunction(n.params)?e.extend(u,n.params.call(s)):e.extend(u,n.params)),e.extend(u,{url:r,dataType:n.dataType,data:i,success:function(e){var t=n.results(e,c.page,c);c.callback(t)},error:function(e,t,n){var i={hasError:!0,jqXHR:e,textStatus:t,errorThrown:n};c.callback(i)}}),o=l.call(s,u)},r)}}function j(t){var n,i,o=t,r=function(e){return""+e.text};e.isArray(o)&&(o={results:i=o}),!1===e.isFunction(o)&&(i=o,o=function(){return i});var a=o();return a.text&&(r=a.text,e.isFunction(r)||(n=a.text,r=function(e){return e[n]})),function(t){var n,i=t.term,a={results:[]};""!==i?(n=function(o,a){var s,c;if((o=o[0]).children){for(c in s={},o)o.hasOwnProperty(c)&&(s[c]=o[c]);s.children=[],e(o.children).each2(function(e,t){n(t,s.children)}),(s.children.length||t.matcher(i,r(s),o))&&a.push(s)}else t.matcher(i,r(o),o)&&a.push(o)},e(o().results).each2(function(e,t){n(t,a.results)}),t.callback(a)):t.callback(o())}}function A(n){var i=e.isFunction(n);return function(o){var r=o.term,a={results:[]},s=i?n(o):n;e.isArray(s)&&(e(s).each(function(){var e=this.text!==t,n=e?this.text:this;(""===r||o.matcher(r,n))&&a.results.push(e?this:{id:this,text:this})}),o.callback(a))}}function E(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 I(t,n){if(e.isFunction(t)){var i=Array.prototype.slice.call(arguments,2);return t.apply(n,i)}return t}function M(){var t=this;e.each(arguments,function(e,n){t[n].remove(),t[n]=null})}function O(t,n){var i=function(){};return(i.prototype=new t).constructor=i,i.prototype.parent=t.prototype,i.prototype=e.extend(i.prototype,n),i}}(e)}).call(this,n(0))},1016:function(e,t,n){
|
||
/*!
|
||
* Bootstrap v4.1.3 (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 i(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function o(e,t,n){return t&&i(e.prototype,t),n&&i(e,n),e}function r(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]:{},i=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),i.forEach(function(t){r(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,o=!1;return e(this).one(i.TRANSITION_END,function(){o=!0}),setTimeout(function(){o||i.triggerTransitionEnd(n)},t),this}var i={TRANSITION_END:"bsTransitionEnd",getUID:function(e){do{e+=~~(1e6*Math.random())}while(document.getElementById(e));return e},getSelectorFromElement:function(e){var t=e.getAttribute("data-target");t&&"#"!==t||(t=e.getAttribute("href")||"");try{return document.querySelector(t)?t:null}catch(e){return null}},getTransitionDurationFromElement:function(t){if(!t)return 0;var n=e(t).css("transition-duration"),i=parseFloat(n);return i?(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 o in n)if(Object.prototype.hasOwnProperty.call(n,o)){var r=n[o],a=t[o],s=a&&i.isElement(a)?"element":(c=a,{}.toString.call(c).match(/\s([a-z]+)/i)[1].toLowerCase());if(!new RegExp(r).test(s))throw new Error(e.toUpperCase()+': Option "'+o+'" provided type "'+s+'" but expected type "'+r+'".')}var c}};return e.fn.emulateTransitionEnd=n,e.event.special[i.TRANSITION_END]={bindType:t,delegateType:t,handle:function(t){if(e(t.target).is(this))return t.handleObj.handler.apply(this,arguments)}},i}(t),c=function(e){var t=e.fn.alert,n={CLOSE:"close.bs.alert",CLOSED:"closed.bs.alert",CLICK_DATA_API:"click.bs.alert.data-api"},i={ALERT:"alert",FADE:"fade",SHOW:"show"},r=function(){function t(e){this._element=e}var r=t.prototype;return r.close=function(e){var t=this._element;e&&(t=this._getRootElement(e));var n=this._triggerCloseEvent(t);n.isDefaultPrevented()||this._removeElement(t)},r.dispose=function(){e.removeData(this._element,"bs.alert"),this._element=null},r._getRootElement=function(t){var n=s.getSelectorFromElement(t),o=!1;return n&&(o=document.querySelector(n)),o||(o=e(t).closest("."+i.ALERT)[0]),o},r._triggerCloseEvent=function(t){var i=e.Event(n.CLOSE);return e(t).trigger(i),i},r._removeElement=function(t){var n=this;if(e(t).removeClass(i.SHOW),e(t).hasClass(i.FADE)){var o=s.getTransitionDurationFromElement(t);e(t).one(s.TRANSITION_END,function(e){return n._destroyElement(t,e)}).emulateTransitionEnd(o)}else this._destroyElement(t)},r._destroyElement=function(t){e(t).detach().trigger(n.CLOSED).remove()},t._jQueryInterface=function(n){return this.each(function(){var i=e(this),o=i.data("bs.alert");o||(o=new t(this),i.data("bs.alert",o)),"close"===n&&o[n](this)})},t._handleDismiss=function(e){return function(t){t&&t.preventDefault(),e.close(this)}},o(t,null,[{key:"VERSION",get:function(){return"4.1.3"}}]),t}();return e(document).on(n.CLICK_DATA_API,'[data-dismiss="alert"]',r._handleDismiss(new r)),e.fn.alert=r._jQueryInterface,e.fn.alert.Constructor=r,e.fn.alert.noConflict=function(){return e.fn.alert=t,r._jQueryInterface},r}(t),l=function(e){var t="button",n=e.fn[t],i={ACTIVE:"active",BUTTON:"btn",FOCUS:"focus"},r={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,o=e(this._element).closest(r.DATA_TOGGLE)[0];if(o){var a=this._element.querySelector(r.INPUT);if(a){if("radio"===a.type)if(a.checked&&this._element.classList.contains(i.ACTIVE))t=!1;else{var s=o.querySelector(r.ACTIVE);s&&e(s).removeClass(i.ACTIVE)}if(t){if(a.hasAttribute("disabled")||o.hasAttribute("disabled")||a.classList.contains("disabled")||o.classList.contains("disabled"))return;a.checked=!this._element.classList.contains(i.ACTIVE),e(a).trigger("change")}a.focus(),n=!1}}n&&this._element.setAttribute("aria-pressed",!this._element.classList.contains(i.ACTIVE)),t&&e(this._element).toggleClass(i.ACTIVE)},n.dispose=function(){e.removeData(this._element,"bs.button"),this._element=null},t._jQueryInterface=function(n){return this.each(function(){var i=e(this).data("bs.button");i||(i=new t(this),e(this).data("bs.button",i)),"toggle"===n&&i[n]()})},o(t,null,[{key:"VERSION",get:function(){return"4.1.3"}}]),t}();return e(document).on(a.CLICK_DATA_API,r.DATA_TOGGLE_CARROT,function(t){t.preventDefault();var n=t.target;e(n).hasClass(i.BUTTON)||(n=e(n).closest(r.BUTTON)),s._jQueryInterface.call(e(n),"toggle")}).on(a.FOCUS_BLUR_DATA_API,r.DATA_TOGGLE_CARROT,function(t){var n=e(t.target).closest(r.BUTTON)[0];e(n).toggleClass(i.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),d=function(e){var t="carousel",n="bs.carousel",i="."+n,r=e.fn[t],c={interval:5e3,keyboard:!0,slide:!1,pause:"hover",wrap:!0},l={interval:"(number|boolean)",keyboard:"boolean",slide:"(boolean|string)",pause:"(string|boolean)",wrap:"boolean"},d={NEXT:"next",PREV:"prev",LEFT:"left",RIGHT:"right"},u={SLIDE:"slide"+i,SLID:"slid"+i,KEYDOWN:"keydown"+i,MOUSEENTER:"mouseenter"+i,MOUSELEAVE:"mouseleave"+i,TOUCHEND:"touchend"+i,LOAD_DATA_API:"load.bs.carousel.data-api",CLICK_DATA_API:"click.bs.carousel.data-api"},f={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 r(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=this._element.querySelector(h.INDICATORS),this._addEventListeners()}var p=r.prototype;return p.next=function(){this._isSliding||this._slide(d.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(d.PREV)},p.pause=function(e){e||(this._isPaused=!0),this._element.querySelector(h.NEXT_PREV)&&(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=this._element.querySelector(h.ACTIVE_ITEM);var i=this._getItemIndex(this._activeElement);if(!(t>this._items.length-1||t<0))if(this._isSliding)e(this._element).one(u.SLID,function(){return n.to(t)});else{if(i===t)return this.pause(),void this.cycle();var o=t>i?d.NEXT:d.PREV;this._slide(o,this._items[t])}},p.dispose=function(){e(this._element).off(i),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({},c,e),s.typeCheckConfig(t,e,l),e},p._addEventListeners=function(){var t=this;this._config.keyboard&&e(this._element).on(u.KEYDOWN,function(e){return t._keydown(e)}),"hover"===this._config.pause&&(e(this._element).on(u.MOUSEENTER,function(e){return t.pause(e)}).on(u.MOUSELEAVE,function(e){return t.cycle(e)}),"ontouchstart"in document.documentElement&&e(this._element).on(u.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(e){return this._items=e&&e.parentNode?[].slice.call(e.parentNode.querySelectorAll(h.ITEM)):[],this._items.indexOf(e)},p._getItemByDirection=function(e,t){var n=e===d.NEXT,i=e===d.PREV,o=this._getItemIndex(t),r=this._items.length-1,a=i&&0===o||n&&o===r;if(a&&!this._config.wrap)return t;var s=e===d.PREV?-1:1,c=(o+s)%this._items.length;return-1===c?this._items[this._items.length-1]:this._items[c]},p._triggerSlideEvent=function(t,n){var i=this._getItemIndex(t),o=this._getItemIndex(this._element.querySelector(h.ACTIVE_ITEM)),r=e.Event(u.SLIDE,{relatedTarget:t,direction:n,from:o,to:i});return e(this._element).trigger(r),r},p._setActiveIndicatorElement=function(t){if(this._indicatorsElement){var n=[].slice.call(this._indicatorsElement.querySelectorAll(h.ACTIVE));e(n).removeClass(f.ACTIVE);var i=this._indicatorsElement.children[this._getItemIndex(t)];i&&e(i).addClass(f.ACTIVE)}},p._slide=function(t,n){var i,o,r,a=this,c=this._element.querySelector(h.ACTIVE_ITEM),l=this._getItemIndex(c),p=n||c&&this._getItemByDirection(t,c),g=this._getItemIndex(p),m=Boolean(this._interval);if(t===d.NEXT?(i=f.LEFT,o=f.NEXT,r=d.LEFT):(i=f.RIGHT,o=f.PREV,r=d.RIGHT),p&&e(p).hasClass(f.ACTIVE))this._isSliding=!1;else{var b=this._triggerSlideEvent(p,r);if(!b.isDefaultPrevented()&&c&&p){this._isSliding=!0,m&&this.pause(),this._setActiveIndicatorElement(p);var v=e.Event(u.SLID,{relatedTarget:p,direction:r,from:l,to:g});if(e(this._element).hasClass(f.SLIDE)){e(p).addClass(o),s.reflow(p),e(c).addClass(i),e(p).addClass(i);var y=s.getTransitionDurationFromElement(c);e(c).one(s.TRANSITION_END,function(){e(p).removeClass(i+" "+o).addClass(f.ACTIVE),e(c).removeClass(f.ACTIVE+" "+o+" "+i),a._isSliding=!1,setTimeout(function(){return e(a._element).trigger(v)},0)}).emulateTransitionEnd(y)}else e(c).removeClass(f.ACTIVE),e(p).addClass(f.ACTIVE),this._isSliding=!1,e(this._element).trigger(v);m&&this.cycle()}}},r._jQueryInterface=function(t){return this.each(function(){var i=e(this).data(n),o=a({},c,e(this).data());"object"==typeof t&&(o=a({},o,t));var s="string"==typeof t?t:o.slide;if(i||(i=new r(this,o),e(this).data(n,i)),"number"==typeof t)i.to(t);else if("string"==typeof s){if(void 0===i[s])throw new TypeError('No method named "'+s+'"');i[s]()}else o.interval&&(i.pause(),i.cycle())})},r._dataApiClickHandler=function(t){var i=s.getSelectorFromElement(this);if(i){var o=e(i)[0];if(o&&e(o).hasClass(f.CAROUSEL)){var c=a({},e(o).data(),e(this).data()),l=this.getAttribute("data-slide-to");l&&(c.interval=!1),r._jQueryInterface.call(e(o),c),l&&e(o).data(n).to(l),t.preventDefault()}}},o(r,null,[{key:"VERSION",get:function(){return"4.1.3"}},{key:"Default",get:function(){return c}}]),r}();return e(document).on(u.CLICK_DATA_API,h.DATA_SLIDE,p._dataApiClickHandler),e(window).on(u.LOAD_DATA_API,function(){for(var t=[].slice.call(document.querySelectorAll(h.DATA_RIDE)),n=0,i=t.length;n<i;n++){var o=e(t[n]);p._jQueryInterface.call(o,o.data())}}),e.fn[t]=p._jQueryInterface,e.fn[t].Constructor=p,e.fn[t].noConflict=function(){return e.fn[t]=r,p._jQueryInterface},p}(t),u=function(e){var t="collapse",n="bs.collapse",i=e.fn[t],r={toggle:!0,parent:""},c={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"},d={SHOW:"show",COLLAPSE:"collapse",COLLAPSING:"collapsing",COLLAPSED:"collapsed"},u={WIDTH:"width",HEIGHT:"height"},f={ACTIVES:".show, .collapsing",DATA_TOGGLE:'[data-toggle="collapse"]'},h=function(){function i(t,n){this._isTransitioning=!1,this._element=t,this._config=this._getConfig(n),this._triggerArray=e.makeArray(document.querySelectorAll('[data-toggle="collapse"][href="#'+t.id+'"],[data-toggle="collapse"][data-target="#'+t.id+'"]'));for(var i=[].slice.call(document.querySelectorAll(f.DATA_TOGGLE)),o=0,r=i.length;o<r;o++){var a=i[o],c=s.getSelectorFromElement(a),l=[].slice.call(document.querySelectorAll(c)).filter(function(e){return e===t});null!==c&&l.length>0&&(this._selector=c,this._triggerArray.push(a))}this._parent=this._config.parent?this._getParent():null,this._config.parent||this._addAriaAndCollapsedClass(this._element,this._triggerArray),this._config.toggle&&this.toggle()}var h=i.prototype;return h.toggle=function(){e(this._element).hasClass(d.SHOW)?this.hide():this.show()},h.show=function(){var t,o,r=this;if(!(this._isTransitioning||e(this._element).hasClass(d.SHOW)||(this._parent&&0===(t=[].slice.call(this._parent.querySelectorAll(f.ACTIVES)).filter(function(e){return e.getAttribute("data-parent")===r._config.parent})).length&&(t=null),t&&(o=e(t).not(this._selector).data(n))&&o._isTransitioning))){var a=e.Event(l.SHOW);if(e(this._element).trigger(a),!a.isDefaultPrevented()){t&&(i._jQueryInterface.call(e(t).not(this._selector),"hide"),o||e(t).data(n,null));var c=this._getDimension();e(this._element).removeClass(d.COLLAPSE).addClass(d.COLLAPSING),this._element.style[c]=0,this._triggerArray.length&&e(this._triggerArray).removeClass(d.COLLAPSED).attr("aria-expanded",!0),this.setTransitioning(!0);var u=c[0].toUpperCase()+c.slice(1),h="scroll"+u,p=s.getTransitionDurationFromElement(this._element);e(this._element).one(s.TRANSITION_END,function(){e(r._element).removeClass(d.COLLAPSING).addClass(d.COLLAPSE).addClass(d.SHOW),r._element.style[c]="",r.setTransitioning(!1),e(r._element).trigger(l.SHOWN)}).emulateTransitionEnd(p),this._element.style[c]=this._element[h]+"px"}}},h.hide=function(){var t=this;if(!this._isTransitioning&&e(this._element).hasClass(d.SHOW)){var n=e.Event(l.HIDE);if(e(this._element).trigger(n),!n.isDefaultPrevented()){var i=this._getDimension();this._element.style[i]=this._element.getBoundingClientRect()[i]+"px",s.reflow(this._element),e(this._element).addClass(d.COLLAPSING).removeClass(d.COLLAPSE).removeClass(d.SHOW);var o=this._triggerArray.length;if(o>0)for(var r=0;r<o;r++){var a=this._triggerArray[r],c=s.getSelectorFromElement(a);if(null!==c){var u=e([].slice.call(document.querySelectorAll(c)));u.hasClass(d.SHOW)||e(a).addClass(d.COLLAPSED).attr("aria-expanded",!1)}}this.setTransitioning(!0),this._element.style[i]="";var f=s.getTransitionDurationFromElement(this._element);e(this._element).one(s.TRANSITION_END,function(){t.setTransitioning(!1),e(t._element).removeClass(d.COLLAPSING).addClass(d.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({},r,e)).toggle=Boolean(e.toggle),s.typeCheckConfig(t,e,c),e},h._getDimension=function(){var t=e(this._element).hasClass(u.WIDTH);return t?u.WIDTH:u.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=document.querySelector(this._config.parent);var o='[data-toggle="collapse"][data-parent="'+this._config.parent+'"]',r=[].slice.call(n.querySelectorAll(o));return e(r).each(function(e,n){t._addAriaAndCollapsedClass(i._getTargetFromElement(n),[n])}),n},h._addAriaAndCollapsedClass=function(t,n){if(t){var i=e(t).hasClass(d.SHOW);n.length&&e(n).toggleClass(d.COLLAPSED,!i).attr("aria-expanded",i)}},i._getTargetFromElement=function(e){var t=s.getSelectorFromElement(e);return t?document.querySelector(t):null},i._jQueryInterface=function(t){return this.each(function(){var o=e(this),s=o.data(n),c=a({},r,o.data(),"object"==typeof t&&t?t:{});if(!s&&c.toggle&&/show|hide/.test(t)&&(c.toggle=!1),s||(s=new i(this,c),o.data(n,s)),"string"==typeof t){if(void 0===s[t])throw new TypeError('No method named "'+t+'"');s[t]()}})},o(i,null,[{key:"VERSION",get:function(){return"4.1.3"}},{key:"Default",get:function(){return r}}]),i}();return e(document).on(l.CLICK_DATA_API,f.DATA_TOGGLE,function(t){"A"===t.currentTarget.tagName&&t.preventDefault();var i=e(this),o=s.getSelectorFromElement(this),r=[].slice.call(document.querySelectorAll(o));e(r).each(function(){var t=e(this),o=t.data(n),r=o?"toggle":i.data();h._jQueryInterface.call(t,r)})}),e.fn[t]=h._jQueryInterface,e.fn[t].Constructor=h,e.fn[t].noConflict=function(){return e.fn[t]=i,h._jQueryInterface},h}(t),f=function(e){var t="dropdown",i="bs.dropdown",r="."+i,c=e.fn[t],l=new RegExp("38|40|27"),d={HIDE:"hide"+r,HIDDEN:"hidden"+r,SHOW:"show"+r,SHOWN:"shown"+r,CLICK:"click"+r,CLICK_DATA_API:"click.bs.dropdown.data-api",KEYDOWN_DATA_API:"keydown.bs.dropdown.data-api",KEYUP_DATA_API:"keyup.bs.dropdown.data-api"},u={DISABLED:"disabled",SHOW:"show",DROPUP:"dropup",DROPRIGHT:"dropright",DROPLEFT:"dropleft",MENURIGHT:"dropdown-menu-right",MENULEFT:"dropdown-menu-left",POSITION_STATIC:"position-static"},f={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"},g={offset:"(number|string|function)",flip:"boolean",boundary:"(string|element)",reference:"(string|element)",display:"string"},m=function(){function c(e,t){this._element=e,this._popper=null,this._config=this._getConfig(t),this._menu=this._getMenuElement(),this._inNavbar=this._detectNavbar(),this._addEventListeners()}var m=c.prototype;return m.toggle=function(){if(!this._element.disabled&&!e(this._element).hasClass(u.DISABLED)){var t=c._getParentFromElement(this._element),i=e(this._menu).hasClass(u.SHOW);if(c._clearMenus(),!i){var o={relatedTarget:this._element},r=e.Event(d.SHOW,o);if(e(t).trigger(r),!r.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(u.POSITION_STATIC),this._popper=new n(a,this._menu,this._getPopperConfig())}"ontouchstart"in document.documentElement&&0===e(t).closest(f.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(u.SHOW),e(t).toggleClass(u.SHOW).trigger(e.Event(d.SHOWN,o))}}}},m.dispose=function(){e.removeData(this._element,i),e(this._element).off(r),this._element=null,this._menu=null,null!==this._popper&&(this._popper.destroy(),this._popper=null)},m.update=function(){this._inNavbar=this._detectNavbar(),null!==this._popper&&this._popper.scheduleUpdate()},m._addEventListeners=function(){var t=this;e(this._element).on(d.CLICK,function(e){e.preventDefault(),e.stopPropagation(),t.toggle()})},m._getConfig=function(n){return n=a({},this.constructor.Default,e(this._element).data(),n),s.typeCheckConfig(t,n,this.constructor.DefaultType),n},m._getMenuElement=function(){if(!this._menu){var e=c._getParentFromElement(this._element);e&&(this._menu=e.querySelector(f.MENU))}return this._menu},m._getPlacement=function(){var t=e(this._element.parentNode),n=h.BOTTOM;return t.hasClass(u.DROPUP)?(n=h.TOP,e(this._menu).hasClass(u.MENURIGHT)&&(n=h.TOPEND)):t.hasClass(u.DROPRIGHT)?n=h.RIGHT:t.hasClass(u.DROPLEFT)?n=h.LEFT:e(this._menu).hasClass(u.MENURIGHT)&&(n=h.BOTTOMEND),n},m._detectNavbar=function(){return e(this._element).closest(".navbar").length>0},m._getPopperConfig=function(){var e=this,t={};"function"==typeof this._config.offset?t.fn=function(t){return t.offsets=a({},t.offsets,e._config.offset(t.offsets)||{}),t}:t.offset=this._config.offset;var n={placement:this._getPlacement(),modifiers:{offset:t,flip:{enabled:this._config.flip},preventOverflow:{boundariesElement:this._config.boundary}}};return"static"===this._config.display&&(n.modifiers.applyStyle={enabled:!1}),n},c._jQueryInterface=function(t){return this.each(function(){var n=e(this).data(i),o="object"==typeof t?t:null;if(n||(n=new c(this,o),e(this).data(i,n)),"string"==typeof t){if(void 0===n[t])throw new TypeError('No method named "'+t+'"');n[t]()}})},c._clearMenus=function(t){if(!t||3!==t.which&&("keyup"!==t.type||9===t.which))for(var n=[].slice.call(document.querySelectorAll(f.DATA_TOGGLE)),o=0,r=n.length;o<r;o++){var a=c._getParentFromElement(n[o]),s=e(n[o]).data(i),l={relatedTarget:n[o]};if(t&&"click"===t.type&&(l.clickEvent=t),s){var h=s._menu;if(e(a).hasClass(u.SHOW)&&!(t&&("click"===t.type&&/input|textarea/i.test(t.target.tagName)||"keyup"===t.type&&9===t.which)&&e.contains(a,t.target))){var p=e.Event(d.HIDE,l);e(a).trigger(p),p.isDefaultPrevented()||("ontouchstart"in document.documentElement&&e(document.body).children().off("mouseover",null,e.noop),n[o].setAttribute("aria-expanded","false"),e(h).removeClass(u.SHOW),e(a).removeClass(u.SHOW).trigger(e.Event(d.HIDDEN,l)))}}}},c._getParentFromElement=function(e){var t,n=s.getSelectorFromElement(e);return n&&(t=document.querySelector(n)),t||e.parentNode},c._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(f.MENU).length)):l.test(t.which))&&(t.preventDefault(),t.stopPropagation(),!this.disabled&&!e(this).hasClass(u.DISABLED))){var n=c._getParentFromElement(this),i=e(n).hasClass(u.SHOW);if((i||27===t.which&&32===t.which)&&(!i||27!==t.which&&32!==t.which)){var o=[].slice.call(n.querySelectorAll(f.VISIBLE_ITEMS));if(0!==o.length){var r=o.indexOf(t.target);38===t.which&&r>0&&r--,40===t.which&&r<o.length-1&&r++,r<0&&(r=0),o[r].focus()}}else{if(27===t.which){var a=n.querySelector(f.DATA_TOGGLE);e(a).trigger("focus")}e(this).trigger("click")}}},o(c,null,[{key:"VERSION",get:function(){return"4.1.3"}},{key:"Default",get:function(){return p}},{key:"DefaultType",get:function(){return g}}]),c}();return e(document).on(d.KEYDOWN_DATA_API,f.DATA_TOGGLE,m._dataApiKeydownHandler).on(d.KEYDOWN_DATA_API,f.MENU,m._dataApiKeydownHandler).on(d.CLICK_DATA_API+" "+d.KEYUP_DATA_API,m._clearMenus).on(d.CLICK_DATA_API,f.DATA_TOGGLE,function(t){t.preventDefault(),t.stopPropagation(),m._jQueryInterface.call(e(this),"toggle")}).on(d.CLICK_DATA_API,f.FORM_CHILD,function(e){e.stopPropagation()}),e.fn[t]=m._jQueryInterface,e.fn[t].Constructor=m,e.fn[t].noConflict=function(){return e.fn[t]=c,m._jQueryInterface},m}(t),h=function(e){var t="modal",n=".bs.modal",i=e.fn.modal,r={backdrop:!0,keyboard:!0,focus:!0,show:!0},c={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"},d={SCROLLBAR_MEASURER:"modal-scrollbar-measure",BACKDROP:"modal-backdrop",OPEN:"modal-open",FADE:"fade",SHOW:"show"},u={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"},f=function(){function i(e,t){this._config=this._getConfig(t),this._element=e,this._dialog=e.querySelector(u.DIALOG),this._backdrop=null,this._isShown=!1,this._isBodyOverflowing=!1,this._ignoreBackdropClick=!1,this._scrollbarWidth=0}var f=i.prototype;return f.toggle=function(e){return this._isShown?this.hide():this.show(e)},f.show=function(t){var n=this;if(!this._isTransitioning&&!this._isShown){e(this._element).hasClass(d.FADE)&&(this._isTransitioning=!0);var i=e.Event(l.SHOW,{relatedTarget:t});e(this._element).trigger(i),this._isShown||i.isDefaultPrevented()||(this._isShown=!0,this._checkScrollbar(),this._setScrollbar(),this._adjustDialog(),e(document.body).addClass(d.OPEN),this._setEscapeEvent(),this._setResizeEvent(),e(this._element).on(l.CLICK_DISMISS,u.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)}))}},f.hide=function(t){var n=this;if(t&&t.preventDefault(),!this._isTransitioning&&this._isShown){var i=e.Event(l.HIDE);if(e(this._element).trigger(i),this._isShown&&!i.isDefaultPrevented()){this._isShown=!1;var o=e(this._element).hasClass(d.FADE);if(o&&(this._isTransitioning=!0),this._setEscapeEvent(),this._setResizeEvent(),e(document).off(l.FOCUSIN),e(this._element).removeClass(d.SHOW),e(this._element).off(l.CLICK_DISMISS),e(this._dialog).off(l.MOUSEDOWN_DISMISS),o){var r=s.getTransitionDurationFromElement(this._element);e(this._element).one(s.TRANSITION_END,function(e){return n._hideModal(e)}).emulateTransitionEnd(r)}else this._hideModal()}}},f.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},f.handleUpdate=function(){this._adjustDialog()},f._getConfig=function(e){return e=a({},r,e),s.typeCheckConfig(t,e,c),e},f._showElement=function(t){var n=this,i=e(this._element).hasClass(d.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,i&&s.reflow(this._element),e(this._element).addClass(d.SHOW),this._config.focus&&this._enforceFocus();var o=e.Event(l.SHOWN,{relatedTarget:t}),r=function(){n._config.focus&&n._element.focus(),n._isTransitioning=!1,e(n._element).trigger(o)};if(i){var a=s.getTransitionDurationFromElement(this._element);e(this._dialog).one(s.TRANSITION_END,r).emulateTransitionEnd(a)}else r()},f._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()})},f._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)},f._setResizeEvent=function(){var t=this;this._isShown?e(window).on(l.RESIZE,function(e){return t.handleUpdate(e)}):e(window).off(l.RESIZE)},f._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(d.OPEN),t._resetAdjustments(),t._resetScrollbar(),e(t._element).trigger(l.HIDDEN)})},f._removeBackdrop=function(){this._backdrop&&(e(this._backdrop).remove(),this._backdrop=null)},f._showBackdrop=function(t){var n=this,i=e(this._element).hasClass(d.FADE)?d.FADE:"";if(this._isShown&&this._config.backdrop){if(this._backdrop=document.createElement("div"),this._backdrop.className=d.BACKDROP,i&&this._backdrop.classList.add(i),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())}),i&&s.reflow(this._backdrop),e(this._backdrop).addClass(d.SHOW),!t)return;if(!i)return void t();var o=s.getTransitionDurationFromElement(this._backdrop);e(this._backdrop).one(s.TRANSITION_END,t).emulateTransitionEnd(o)}else if(!this._isShown&&this._backdrop){e(this._backdrop).removeClass(d.SHOW);var r=function(){n._removeBackdrop(),t&&t()};if(e(this._element).hasClass(d.FADE)){var a=s.getTransitionDurationFromElement(this._backdrop);e(this._backdrop).one(s.TRANSITION_END,r).emulateTransitionEnd(a)}else r()}else t&&t()},f._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")},f._resetAdjustments=function(){this._element.style.paddingLeft="",this._element.style.paddingRight=""},f._checkScrollbar=function(){var e=document.body.getBoundingClientRect();this._isBodyOverflowing=e.left+e.right<window.innerWidth,this._scrollbarWidth=this._getScrollbarWidth()},f._setScrollbar=function(){var t=this;if(this._isBodyOverflowing){var n=[].slice.call(document.querySelectorAll(u.FIXED_CONTENT)),i=[].slice.call(document.querySelectorAll(u.STICKY_CONTENT));e(n).each(function(n,i){var o=i.style.paddingRight,r=e(i).css("padding-right");e(i).data("padding-right",o).css("padding-right",parseFloat(r)+t._scrollbarWidth+"px")}),e(i).each(function(n,i){var o=i.style.marginRight,r=e(i).css("margin-right");e(i).data("margin-right",o).css("margin-right",parseFloat(r)-t._scrollbarWidth+"px")});var o=document.body.style.paddingRight,r=e(document.body).css("padding-right");e(document.body).data("padding-right",o).css("padding-right",parseFloat(r)+this._scrollbarWidth+"px")}},f._resetScrollbar=function(){var t=[].slice.call(document.querySelectorAll(u.FIXED_CONTENT));e(t).each(function(t,n){var i=e(n).data("padding-right");e(n).removeData("padding-right"),n.style.paddingRight=i||""});var n=[].slice.call(document.querySelectorAll(""+u.STICKY_CONTENT));e(n).each(function(t,n){var i=e(n).data("margin-right");void 0!==i&&e(n).css("margin-right",i).removeData("margin-right")});var i=e(document.body).data("padding-right");e(document.body).removeData("padding-right"),document.body.style.paddingRight=i||""},f._getScrollbarWidth=function(){var e=document.createElement("div");e.className=d.SCROLLBAR_MEASURER,document.body.appendChild(e);var t=e.getBoundingClientRect().width-e.clientWidth;return document.body.removeChild(e),t},i._jQueryInterface=function(t,n){return this.each(function(){var o=e(this).data("bs.modal"),s=a({},r,e(this).data(),"object"==typeof t&&t?t:{});if(o||(o=new i(this,s),e(this).data("bs.modal",o)),"string"==typeof t){if(void 0===o[t])throw new TypeError('No method named "'+t+'"');o[t](n)}else s.show&&o.show(n)})},o(i,null,[{key:"VERSION",get:function(){return"4.1.3"}},{key:"Default",get:function(){return r}}]),i}();return e(document).on(l.CLICK_DATA_API,u.DATA_TOGGLE,function(t){var n,i=this,o=s.getSelectorFromElement(this);o&&(n=document.querySelector(o));var r=e(n).data("bs.modal")?"toggle":a({},e(n).data(),e(this).data());"A"!==this.tagName&&"AREA"!==this.tagName||t.preventDefault();var c=e(n).one(l.SHOW,function(t){t.isDefaultPrevented()||c.one(l.HIDDEN,function(){e(i).is(":visible")&&i.focus()})});f._jQueryInterface.call(e(n),r,this)}),e.fn.modal=f._jQueryInterface,e.fn.modal.Constructor=f,e.fn.modal.noConflict=function(){return e.fn.modal=i,f._jQueryInterface},f}(t),p=function(e){var t="tooltip",i=".bs.tooltip",r=e.fn[t],c=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)"},d={AUTO:"auto",TOP:"top",RIGHT:"right",BOTTOM:"bottom",LEFT:"left"},u={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"},f={SHOW:"show",OUT:"out"},h={HIDE:"hide"+i,HIDDEN:"hidden"+i,SHOW:"show"+i,SHOWN:"shown"+i,INSERTED:"inserted"+i,CLICK:"click"+i,FOCUSIN:"focusin"+i,FOCUSOUT:"focusout"+i,MOUSEENTER:"mouseenter"+i,MOUSELEAVE:"mouseleave"+i},p={FADE:"fade",SHOW:"show"},g={TOOLTIP:".tooltip",TOOLTIP_INNER:".tooltip-inner",ARROW:".arrow"},m={HOVER:"hover",FOCUS:"focus",CLICK:"click",MANUAL:"manual"},b=function(){function r(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 b=r.prototype;return b.enable=function(){this._isEnabled=!0},b.disable=function(){this._isEnabled=!1},b.toggleEnabled=function(){this._isEnabled=!this._isEnabled},b.toggle=function(t){if(this._isEnabled)if(t){var n=this.constructor.DATA_KEY,i=e(t.currentTarget).data(n);i||(i=new this.constructor(t.currentTarget,this._getDelegateConfig()),e(t.currentTarget).data(n,i)),i._activeTrigger.click=!i._activeTrigger.click,i._isWithActiveTrigger()?i._enter(null,i):i._leave(null,i)}else{if(e(this.getTipElement()).hasClass(p.SHOW))return void this._leave(null,this);this._enter(null,this)}},b.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},b.show=function(){var t=this;if("none"===e(this.element).css("display"))throw new Error("Please use show on visible elements");var i=e.Event(this.constructor.Event.SHOW);if(this.isWithContent()&&this._isEnabled){e(this.element).trigger(i);var o=e.contains(this.element.ownerDocument.documentElement,this.element);if(i.isDefaultPrevented()||!o)return;var r=this.getTipElement(),a=s.getUID(this.constructor.NAME);r.setAttribute("id",a),this.element.setAttribute("aria-describedby",a),this.setContent(),this.config.animation&&e(r).addClass(p.FADE);var c="function"==typeof this.config.placement?this.config.placement.call(this,r,this.element):this.config.placement,l=this._getAttachment(c);this.addAttachmentClass(l);var d=!1===this.config.container?document.body:e(document).find(this.config.container);e(r).data(this.constructor.DATA_KEY,this),e.contains(this.element.ownerDocument.documentElement,this.tip)||e(r).appendTo(d),e(this.element).trigger(this.constructor.Event.INSERTED),this._popper=new n(this.element,r,{placement:l,modifiers:{offset:{offset:this.config.offset},flip:{behavior:this.config.fallbackPlacement},arrow:{element:g.ARROW},preventOverflow:{boundariesElement:this.config.boundary}},onCreate:function(e){e.originalPlacement!==e.placement&&t._handlePopperPlacementChange(e)},onUpdate:function(e){t._handlePopperPlacementChange(e)}}),e(r).addClass(p.SHOW),"ontouchstart"in document.documentElement&&e(document.body).children().on("mouseover",null,e.noop);var u=function(){t.config.animation&&t._fixTransition();var n=t._hoverState;t._hoverState=null,e(t.element).trigger(t.constructor.Event.SHOWN),n===f.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,u).emulateTransitionEnd(h)}else u()}},b.hide=function(t){var n=this,i=this.getTipElement(),o=e.Event(this.constructor.Event.HIDE),r=function(){n._hoverState!==f.SHOW&&i.parentNode&&i.parentNode.removeChild(i),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(o),!o.isDefaultPrevented()){if(e(i).removeClass(p.SHOW),"ontouchstart"in document.documentElement&&e(document.body).children().off("mouseover",null,e.noop),this._activeTrigger[m.CLICK]=!1,this._activeTrigger[m.FOCUS]=!1,this._activeTrigger[m.HOVER]=!1,e(this.tip).hasClass(p.FADE)){var a=s.getTransitionDurationFromElement(i);e(i).one(s.TRANSITION_END,r).emulateTransitionEnd(a)}else r();this._hoverState=""}},b.update=function(){null!==this._popper&&this._popper.scheduleUpdate()},b.isWithContent=function(){return Boolean(this.getTitle())},b.addAttachmentClass=function(t){e(this.getTipElement()).addClass("bs-tooltip-"+t)},b.getTipElement=function(){return this.tip=this.tip||e(this.config.template)[0],this.tip},b.setContent=function(){var t=this.getTipElement();this.setElementContent(e(t.querySelectorAll(g.TOOLTIP_INNER)),this.getTitle()),e(t).removeClass(p.FADE+" "+p.SHOW)},b.setElementContent=function(t,n){var i=this.config.html;"object"==typeof n&&(n.nodeType||n.jquery)?i?e(n).parent().is(t)||t.empty().append(n):t.text(e(n).text()):t[i?"html":"text"](n)},b.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},b._getAttachment=function(e){return d[e.toUpperCase()]},b._setListeners=function(){var t=this,n=this.config.trigger.split(" ");n.forEach(function(n){if("click"===n)e(t.element).on(t.constructor.Event.CLICK,t.config.selector,function(e){return t.toggle(e)});else if(n!==m.MANUAL){var i=n===m.HOVER?t.constructor.Event.MOUSEENTER:t.constructor.Event.FOCUSIN,o=n===m.HOVER?t.constructor.Event.MOUSELEAVE:t.constructor.Event.FOCUSOUT;e(t.element).on(i,t.config.selector,function(e){return t._enter(e)}).on(o,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()},b._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",""))},b._enter=function(t,n){var i=this.constructor.DATA_KEY;(n=n||e(t.currentTarget).data(i))||(n=new this.constructor(t.currentTarget,this._getDelegateConfig()),e(t.currentTarget).data(i,n)),t&&(n._activeTrigger["focusin"===t.type?m.FOCUS:m.HOVER]=!0),e(n.getTipElement()).hasClass(p.SHOW)||n._hoverState===f.SHOW?n._hoverState=f.SHOW:(clearTimeout(n._timeout),n._hoverState=f.SHOW,n.config.delay&&n.config.delay.show?n._timeout=setTimeout(function(){n._hoverState===f.SHOW&&n.show()},n.config.delay.show):n.show())},b._leave=function(t,n){var i=this.constructor.DATA_KEY;(n=n||e(t.currentTarget).data(i))||(n=new this.constructor(t.currentTarget,this._getDelegateConfig()),e(t.currentTarget).data(i,n)),t&&(n._activeTrigger["focusout"===t.type?m.FOCUS:m.HOVER]=!1),n._isWithActiveTrigger()||(clearTimeout(n._timeout),n._hoverState=f.OUT,n.config.delay&&n.config.delay.hide?n._timeout=setTimeout(function(){n._hoverState===f.OUT&&n.hide()},n.config.delay.hide):n.hide())},b._isWithActiveTrigger=function(){for(var e in this._activeTrigger)if(this._activeTrigger[e])return!0;return!1},b._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},b._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},b._cleanTipClass=function(){var t=e(this.getTipElement()),n=t.attr("class").match(c);null!==n&&n.length&&t.removeClass(n.join(""))},b._handlePopperPlacementChange=function(e){var t=e.instance;this.tip=t.popper,this._cleanTipClass(),this.addAttachmentClass(this._getAttachment(e.placement))},b._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)},r._jQueryInterface=function(t){return this.each(function(){var n=e(this).data("bs.tooltip"),i="object"==typeof t&&t;if((n||!/dispose|hide/.test(t))&&(n||(n=new r(this,i),e(this).data("bs.tooltip",n)),"string"==typeof t)){if(void 0===n[t])throw new TypeError('No method named "'+t+'"');n[t]()}})},o(r,null,[{key:"VERSION",get:function(){return"4.1.3"}},{key:"Default",get:function(){return u}},{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 i}},{key:"DefaultType",get:function(){return l}}]),r}();return e.fn[t]=b._jQueryInterface,e.fn[t].Constructor=b,e.fn[t].noConflict=function(){return e.fn[t]=r,b._jQueryInterface},b}(t),g=function(e){var t="popover",n=".bs.popover",i=e.fn[t],r=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>'}),c=a({},p.DefaultType,{content:"(string|element|function)"}),l={FADE:"fade",SHOW:"show"},d={TITLE:".popover-header",CONTENT:".popover-body"},u={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},f=function(i){var a,f;function h(){return i.apply(this,arguments)||this}f=i,(a=h).prototype=Object.create(f.prototype),a.prototype.constructor=a,a.__proto__=f;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(d.TITLE),this.getTitle());var n=this._getContent();"function"==typeof n&&(n=n.call(this.element)),this.setElementContent(t.find(d.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(r);null!==n&&n.length>0&&t.removeClass(n.join(""))},h._jQueryInterface=function(t){return this.each(function(){var n=e(this).data("bs.popover"),i="object"==typeof t?t:null;if((n||!/destroy|hide/.test(t))&&(n||(n=new h(this,i),e(this).data("bs.popover",n)),"string"==typeof t)){if(void 0===n[t])throw new TypeError('No method named "'+t+'"');n[t]()}})},o(h,null,[{key:"VERSION",get:function(){return"4.1.3"}},{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 u}},{key:"EVENT_KEY",get:function(){return n}},{key:"DefaultType",get:function(){return c}}]),h}(p);return e.fn[t]=f._jQueryInterface,e.fn[t].Constructor=f,e.fn[t].noConflict=function(){return e.fn[t]=i,f._jQueryInterface},f}(t),m=function(e){var t="scrollspy",n=e.fn[t],i={offset:10,method:"auto",target:""},r={offset:"number",method:"string",target:"(string|element)"},c={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"},d={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"},u={OFFSET:"offset",POSITION:"position"},f=function(){function n(t,n){var i=this;this._element=t,this._scrollElement="BODY"===t.tagName?window:t,this._config=this._getConfig(n),this._selector=this._config.target+" "+d.NAV_LINKS+","+this._config.target+" "+d.LIST_ITEMS+","+this._config.target+" "+d.DROPDOWN_ITEMS,this._offsets=[],this._targets=[],this._activeTarget=null,this._scrollHeight=0,e(this._scrollElement).on(c.SCROLL,function(e){return i._process(e)}),this.refresh(),this._process()}var f=n.prototype;return f.refresh=function(){var t=this,n=this._scrollElement===this._scrollElement.window?u.OFFSET:u.POSITION,i="auto"===this._config.method?n:this._config.method,o=i===u.POSITION?this._getScrollTop():0;this._offsets=[],this._targets=[],this._scrollHeight=this._getScrollHeight();var r=[].slice.call(document.querySelectorAll(this._selector));r.map(function(t){var n,r=s.getSelectorFromElement(t);if(r&&(n=document.querySelector(r)),n){var a=n.getBoundingClientRect();if(a.width||a.height)return[e(n)[i]().top+o,r]}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])})},f.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},f._getConfig=function(n){if("string"!=typeof(n=a({},i,"object"==typeof n&&n?n:{})).target){var o=e(n.target).attr("id");o||(o=s.getUID(t),e(n.target).attr("id",o)),n.target="#"+o}return s.typeCheckConfig(t,n,r),n},f._getScrollTop=function(){return this._scrollElement===window?this._scrollElement.pageYOffset:this._scrollElement.scrollTop},f._getScrollHeight=function(){return this._scrollElement.scrollHeight||Math.max(document.body.scrollHeight,document.documentElement.scrollHeight)},f._getOffsetHeight=function(){return this._scrollElement===window?window.innerHeight:this._scrollElement.getBoundingClientRect().height},f._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 i=this._targets[this._targets.length-1];this._activeTarget!==i&&this._activate(i)}else{if(this._activeTarget&&e<this._offsets[0]&&this._offsets[0]>0)return this._activeTarget=null,void this._clear();for(var o=this._offsets.length,r=o;r--;){var a=this._activeTarget!==this._targets[r]&&e>=this._offsets[r]&&(void 0===this._offsets[r+1]||e<this._offsets[r+1]);a&&this._activate(this._targets[r])}}},f._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 i=e([].slice.call(document.querySelectorAll(n.join(","))));i.hasClass(l.DROPDOWN_ITEM)?(i.closest(d.DROPDOWN).find(d.DROPDOWN_TOGGLE).addClass(l.ACTIVE),i.addClass(l.ACTIVE)):(i.addClass(l.ACTIVE),i.parents(d.NAV_LIST_GROUP).prev(d.NAV_LINKS+", "+d.LIST_ITEMS).addClass(l.ACTIVE),i.parents(d.NAV_LIST_GROUP).prev(d.NAV_ITEMS).children(d.NAV_LINKS).addClass(l.ACTIVE)),e(this._scrollElement).trigger(c.ACTIVATE,{relatedTarget:t})},f._clear=function(){var t=[].slice.call(document.querySelectorAll(this._selector));e(t).filter(d.ACTIVE).removeClass(l.ACTIVE)},n._jQueryInterface=function(t){return this.each(function(){var i=e(this).data("bs.scrollspy"),o="object"==typeof t&&t;if(i||(i=new n(this,o),e(this).data("bs.scrollspy",i)),"string"==typeof t){if(void 0===i[t])throw new TypeError('No method named "'+t+'"');i[t]()}})},o(n,null,[{key:"VERSION",get:function(){return"4.1.3"}},{key:"Default",get:function(){return i}}]),n}();return e(window).on(c.LOAD_DATA_API,function(){for(var t=[].slice.call(document.querySelectorAll(d.DATA_SPY)),n=t.length,i=n;i--;){var o=e(t[i]);f._jQueryInterface.call(o,o.data())}}),e.fn[t]=f._jQueryInterface,e.fn[t].Constructor=f,e.fn[t].noConflict=function(){return e.fn[t]=n,f._jQueryInterface},f}(t),b=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"},i={DROPDOWN_MENU:"dropdown-menu",ACTIVE:"active",DISABLED:"disabled",FADE:"fade",SHOW:"show"},r={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(i.ACTIVE)||e(this._element).hasClass(i.DISABLED))){var o,a,c=e(this._element).closest(r.NAV_LIST_GROUP)[0],l=s.getSelectorFromElement(this._element);if(c){var d="UL"===c.nodeName?r.ACTIVE_UL:r.ACTIVE;a=(a=e.makeArray(e(c).find(d)))[a.length-1]}var u=e.Event(n.HIDE,{relatedTarget:this._element}),f=e.Event(n.SHOW,{relatedTarget:a});if(a&&e(a).trigger(u),e(this._element).trigger(f),!f.isDefaultPrevented()&&!u.isDefaultPrevented()){l&&(o=document.querySelector(l)),this._activate(this._element,c);var h=function(){var i=e.Event(n.HIDDEN,{relatedTarget:t._element}),o=e.Event(n.SHOWN,{relatedTarget:a});e(a).trigger(i),e(t._element).trigger(o)};o?this._activate(o,o.parentNode,h):h()}}},a.dispose=function(){e.removeData(this._element,"bs.tab"),this._element=null},a._activate=function(t,n,o){var a=this,c=("UL"===n.nodeName?e(n).find(r.ACTIVE_UL):e(n).children(r.ACTIVE))[0],l=o&&c&&e(c).hasClass(i.FADE),d=function(){return a._transitionComplete(t,c,o)};if(c&&l){var u=s.getTransitionDurationFromElement(c);e(c).one(s.TRANSITION_END,d).emulateTransitionEnd(u)}else d()},a._transitionComplete=function(t,n,o){if(n){e(n).removeClass(i.SHOW+" "+i.ACTIVE);var a=e(n.parentNode).find(r.DROPDOWN_ACTIVE_CHILD)[0];a&&e(a).removeClass(i.ACTIVE),"tab"===n.getAttribute("role")&&n.setAttribute("aria-selected",!1)}if(e(t).addClass(i.ACTIVE),"tab"===t.getAttribute("role")&&t.setAttribute("aria-selected",!0),s.reflow(t),e(t).addClass(i.SHOW),t.parentNode&&e(t.parentNode).hasClass(i.DROPDOWN_MENU)){var c=e(t).closest(r.DROPDOWN)[0];if(c){var l=[].slice.call(c.querySelectorAll(r.DROPDOWN_TOGGLE));e(l).addClass(i.ACTIVE)}t.setAttribute("aria-expanded",!0)}o&&o()},t._jQueryInterface=function(n){return this.each(function(){var i=e(this),o=i.data("bs.tab");if(o||(o=new t(this),i.data("bs.tab",o)),"string"==typeof n){if(void 0===o[n])throw new TypeError('No method named "'+n+'"');o[n]()}})},o(t,null,[{key:"VERSION",get:function(){return"4.1.3"}}]),t}();return e(document).on(n.CLICK_DATA_API,r.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=c,e.Button=l,e.Carousel=d,e.Collapse=u,e.Dropdown=f,e.Modal=h,e.Popover=g,e.Scrollspy=m,e.Tab=b,e.Tooltip=p,Object.defineProperty(e,"__esModule",{value:!0})}(t,n(0),n(1017))},1017: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,i=["Edge","Trident","Firefox"],o=0,r=0;r<i.length;r+=1)if(n&&navigator.userAgent.indexOf(i[r])>=0){o=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()},o))}};function s(e){return e&&"[object Function]"==={}.toString.call(e)}function c(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 d(e){if(!e)return document.body;switch(e.nodeName){case"HTML":case"BODY":return e.ownerDocument.body;case"#document":return e.body}var t=c(e),n=t.overflow,i=t.overflowX,o=t.overflowY;return/(auto|scroll|overlay)/.test(n+o+i)?e:d(l(e))}var u=n&&!(!window.MSInputMethodContext||!document.documentMode),f=n&&/MSIE 10/.test(navigator.userAgent);function h(e){return 11===e?u:10===e?f:u||f}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 i=n&&n.nodeName;return i&&"BODY"!==i&&"HTML"!==i?-1!==["TD","TABLE"].indexOf(n.nodeName)&&"static"===c(n,"position")?p(n):n:e?e.ownerDocument.documentElement:document.documentElement}function g(e){return null!==e.parentNode?g(e.parentNode):e}function m(e,t){if(!(e&&e.nodeType&&t&&t.nodeType))return document.documentElement;var n=e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_FOLLOWING,i=n?e:t,o=n?t:e,r=document.createRange();r.setStart(i,0),r.setEnd(o,0);var a,s,c=r.commonAncestorContainer;if(e!==c&&t!==c||i.contains(o))return"BODY"===(s=(a=c).nodeName)||"HTML"!==s&&p(a.firstElementChild)!==a?p(c):c;var l=g(e);return l.host?m(l.host,t):m(e,g(t).host)}function b(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 i=e.ownerDocument.documentElement;return(e.ownerDocument.scrollingElement||i)[t]}return e[t]}function v(e,t){var n="x"===t?"Left":"Top",i="Left"===n?"Right":"Bottom";return parseFloat(e["border"+n+"Width"],10)+parseFloat(e["border"+i+"Width"],10)}function y(e,t,n,i){return Math.max(t["offset"+e],t["scroll"+e],n["client"+e],n["offset"+e],n["scroll"+e],h(10)?n["offset"+e]+i["margin"+("Height"===e?"Top":"Left")]+i["margin"+("Height"===e?"Bottom":"Right")]:0)}function _(){var e=document.body,t=document.documentElement,n=h(10)&&getComputedStyle(t);return{height:y("Height",e,t,n),width:y("Width",e,t,n)}}var w=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},x=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),S=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 i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e};function k(e){return T({},e,{right:e.left+e.width,bottom:e.top+e.height})}function C(e){var t={};try{if(h(10)){t=e.getBoundingClientRect();var n=b(e,"top"),i=b(e,"left");t.top+=n,t.left+=i,t.bottom+=n,t.right+=i}else t=e.getBoundingClientRect()}catch(e){}var o={left:t.left,top:t.top,width:t.right-t.left,height:t.bottom-t.top},r="HTML"===e.nodeName?_():{},a=r.width||e.clientWidth||o.right-o.left,s=r.height||e.clientHeight||o.bottom-o.top,l=e.offsetWidth-a,d=e.offsetHeight-s;if(l||d){var u=c(e);l-=v(u,"x"),d-=v(u,"y"),o.width-=l,o.height-=d}return k(o)}function j(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=h(10),o="HTML"===t.nodeName,r=C(e),a=C(t),s=d(e),l=c(t),u=parseFloat(l.borderTopWidth,10),f=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:r.top-a.top-u,left:r.left-a.left-f,width:r.width,height:r.height});if(p.marginTop=0,p.marginLeft=0,!i&&o){var g=parseFloat(l.marginTop,10),m=parseFloat(l.marginLeft,10);p.top-=u-g,p.bottom-=u-g,p.left-=f-m,p.right-=f-m,p.marginTop=g,p.marginLeft=m}return(i&&!n?t.contains(s):t===s&&"BODY"!==s.nodeName)&&(p=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=b(t,"top"),o=b(t,"left"),r=n?-1:1;return e.top+=i*r,e.bottom+=i*r,e.left+=o*r,e.right+=o*r,e}(p,t)),p}function A(e){if(!e||!e.parentElement||h())return document.documentElement;for(var t=e.parentElement;t&&"none"===c(t,"transform");)t=t.parentElement;return t||document.documentElement}function E(e,t,n,i){var o=arguments.length>4&&void 0!==arguments[4]&&arguments[4],r={top:0,left:0},a=o?A(e):m(e,t);if("viewport"===i)r=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=e.ownerDocument.documentElement,i=j(e,n),o=Math.max(n.clientWidth,window.innerWidth||0),r=Math.max(n.clientHeight,window.innerHeight||0),a=t?0:b(n),s=t?0:b(n,"left");return k({top:a-i.top+i.marginTop,left:s-i.left+i.marginLeft,width:o,height:r})}(a,o);else{var s=void 0;"scrollParent"===i?"BODY"===(s=d(l(t))).nodeName&&(s=e.ownerDocument.documentElement):s="window"===i?e.ownerDocument.documentElement:i;var u=j(s,a,o);if("HTML"!==s.nodeName||function e(t){var n=t.nodeName;return"BODY"!==n&&"HTML"!==n&&("fixed"===c(t,"position")||e(l(t)))}(a))r=u;else{var f=_(),h=f.height,p=f.width;r.top+=u.top-u.marginTop,r.bottom=h+u.top,r.left+=u.left-u.marginLeft,r.right=p+u.left}}return r.left+=n,r.top+=n,r.right-=n,r.bottom-=n,r}function I(e,t,n,i,o){var r=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0;if(-1===e.indexOf("auto"))return e;var a=E(n,i,r,o),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}},c=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=c.filter(function(e){var t=e.width,i=e.height;return t>=n.clientWidth&&i>=n.clientHeight}),d=l.length>0?l[0].key:c[0].key,u=e.split("-")[1];return d+(u?"-"+u:"")}function M(e,t,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;return j(n,i?A(t):m(t,n),i)}function O(e){var t=getComputedStyle(e),n=parseFloat(t.marginTop)+parseFloat(t.marginBottom),i=parseFloat(t.marginLeft)+parseFloat(t.marginRight);return{width:e.offsetWidth+i,height:e.offsetHeight+n}}function D(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 V(e,t,n){n=n.split("-")[0];var i=O(e),o={width:i.width,height:i.height},r=-1!==["right","left"].indexOf(n),a=r?"top":"left",s=r?"left":"top",c=r?"height":"width",l=r?"width":"height";return o[a]=t[a]+t[c]/2-i[c]/2,o[s]=n===s?t[s]-i[l]:t[D(s)],o}function L(e,t){return Array.prototype.find?e.find(t):e.filter(t)[0]}function P(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 i=L(e,function(e){return e[t]===n});return e.indexOf(i)}(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 N(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),i=0;i<t.length;i++){var o=t[i],r=o?""+o+n:e;if(void 0!==document.body.style[r])return r}return null}function F(e){var t=e.ownerDocument;return t?t.defaultView:window}function B(e,t,n,i){n.updateBound=i,F(e).addEventListener("resize",n.updateBound,{passive:!0});var o=d(e);return function e(t,n,i,o){var r="BODY"===t.nodeName,a=r?t.ownerDocument.defaultView:t;a.addEventListener(n,i,{passive:!0}),r||e(d(a.parentNode),n,i,o),o.push(a)}(o,"scroll",n.updateBound,n.scrollParents),n.scrollElement=o,n.eventsEnabled=!0,n}function z(){var e,t;this.state.eventsEnabled&&(cancelAnimationFrame(this.scheduleUpdate),this.state=(e=this.reference,t=this.state,F(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 H(e){return""!==e&&!isNaN(parseFloat(e))&&isFinite(e)}function $(e,t){Object.keys(t).forEach(function(n){var i="";-1!==["width","height","top","right","bottom","left"].indexOf(n)&&H(t[n])&&(i="px"),e.style[n]=t[n]+i})}function q(e,t,n){var i=L(e,function(e){return e.name===t}),o=!!i&&e.some(function(e){return e.name===n&&e.enabled&&e.order<i.order});if(!o){var r="`"+t+"`",a="`"+n+"`";console.warn(a+" modifier is required by "+r+" modifier in order to work, be sure to include it before "+r+"!")}return o}var W=["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"],G=W.slice(3);function U(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=G.indexOf(e),i=G.slice(n+1).concat(G.slice(0,n));return t?i.reverse():i}var K={FLIP:"flip",CLOCKWISE:"clockwise",COUNTERCLOCKWISE:"counterclockwise"};function Y(e,t,n,i){var o=[0,0],r=-1!==["right","left"].indexOf(i),a=e.split(/(\+|\-)/).map(function(e){return e.trim()}),s=a.indexOf(L(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 c=/\s*,\s*|\s+/,l=-1!==s?[a.slice(0,s).concat([a[s].split(c)[0]]),[a[s].split(c)[1]].concat(a.slice(s+1))]:[a];return(l=l.map(function(e,i){var o=(1===i?!r:r)?"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,i){var o=e.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),r=+o[1],a=o[2];if(!r)return e;if(0===a.indexOf("%")){var s=void 0;switch(a){case"%p":s=n;break;case"%":case"%r":default:s=i}return k(s)[t]/100*r}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*r;return r}(e,o,t,n)})})).forEach(function(e,t){e.forEach(function(n,i){H(n)&&(o[t]+=n*("-"===e[i-1]?-1:1))})}),o}var Z={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],i=t.split("-")[1];if(i){var o=e.offsets,r=o.reference,a=o.popper,s=-1!==["bottom","top"].indexOf(n),c=s?"left":"top",l=s?"width":"height",d={start:S({},c,r[c]),end:S({},c,r[c]+r[l]-a[l])};e.offsets.popper=T({},a,d[i])}return e}},offset:{order:200,enabled:!0,fn:function(e,t){var n=t.offset,i=e.placement,o=e.offsets,r=o.popper,a=o.reference,s=i.split("-")[0],c=void 0;return c=H(+n)?[+n,0]:Y(n,r,a,s),"left"===s?(r.top+=c[0],r.left-=c[1]):"right"===s?(r.top+=c[0],r.left+=c[1]):"top"===s?(r.left+=c[0],r.top-=c[1]):"bottom"===s&&(r.left+=c[0],r.top+=c[1]),e.popper=r,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 i=R("transform"),o=e.instance.popper.style,r=o.top,a=o.left,s=o[i];o.top="",o.left="",o[i]="";var c=E(e.instance.popper,e.instance.reference,t.padding,n,e.positionFixed);o.top=r,o.left=a,o[i]=s,t.boundaries=c;var l=t.priority,d=e.offsets.popper,u={primary:function(e){var n=d[e];return d[e]<c[e]&&!t.escapeWithReference&&(n=Math.max(d[e],c[e])),S({},e,n)},secondary:function(e){var n="right"===e?"left":"top",i=d[n];return d[e]>c[e]&&!t.escapeWithReference&&(i=Math.min(d[n],c[e]-("right"===e?d.width:d.height))),S({},n,i)}};return l.forEach(function(e){var t=-1!==["left","top"].indexOf(e)?"primary":"secondary";d=T({},d,u[t](e))}),e.offsets.popper=d,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,i=t.reference,o=e.placement.split("-")[0],r=Math.floor,a=-1!==["top","bottom"].indexOf(o),s=a?"right":"bottom",c=a?"left":"top",l=a?"width":"height";return n[s]<r(i[c])&&(e.offsets.popper[c]=r(i[c])-n[l]),n[c]>r(i[s])&&(e.offsets.popper[c]=r(i[s])),e}},arrow:{order:500,enabled:!0,fn:function(e,t){var n;if(!q(e.instance.modifiers,"arrow","keepTogether"))return e;var i=t.element;if("string"==typeof i){if(!(i=e.instance.popper.querySelector(i)))return e}else if(!e.instance.popper.contains(i))return console.warn("WARNING: `arrow.element` must be child of its popper element!"),e;var o=e.placement.split("-")[0],r=e.offsets,a=r.popper,s=r.reference,l=-1!==["left","right"].indexOf(o),d=l?"height":"width",u=l?"Top":"Left",f=u.toLowerCase(),h=l?"left":"top",p=l?"bottom":"right",g=O(i)[d];s[p]-g<a[f]&&(e.offsets.popper[f]-=a[f]-(s[p]-g)),s[f]+g>a[p]&&(e.offsets.popper[f]+=s[f]+g-a[p]),e.offsets.popper=k(e.offsets.popper);var m=s[f]+s[d]/2-g/2,b=c(e.instance.popper),v=parseFloat(b["margin"+u],10),y=parseFloat(b["border"+u+"Width"],10),_=m-e.offsets.popper[f]-v-y;return _=Math.max(Math.min(a[d]-g,_),0),e.arrowElement=i,e.offsets.arrow=(S(n={},f,Math.round(_)),S(n,h,""),n),e},element:"[x-arrow]"},flip:{order:600,enabled:!0,fn:function(e,t){if(N(e.instance.modifiers,"inner"))return e;if(e.flipped&&e.placement===e.originalPlacement)return e;var n=E(e.instance.popper,e.instance.reference,t.padding,t.boundariesElement,e.positionFixed),i=e.placement.split("-")[0],o=D(i),r=e.placement.split("-")[1]||"",a=[];switch(t.behavior){case K.FLIP:a=[i,o];break;case K.CLOCKWISE:a=U(i);break;case K.COUNTERCLOCKWISE:a=U(i,!0);break;default:a=t.behavior}return a.forEach(function(s,c){if(i!==s||a.length===c+1)return e;i=e.placement.split("-")[0],o=D(i);var l=e.offsets.popper,d=e.offsets.reference,u=Math.floor,f="left"===i&&u(l.right)>u(d.left)||"right"===i&&u(l.left)<u(d.right)||"top"===i&&u(l.bottom)>u(d.top)||"bottom"===i&&u(l.top)<u(d.bottom),h=u(l.left)<u(n.left),p=u(l.right)>u(n.right),g=u(l.top)<u(n.top),m=u(l.bottom)>u(n.bottom),b="left"===i&&h||"right"===i&&p||"top"===i&&g||"bottom"===i&&m,v=-1!==["top","bottom"].indexOf(i),y=!!t.flipVariations&&(v&&"start"===r&&h||v&&"end"===r&&p||!v&&"start"===r&&g||!v&&"end"===r&&m);(f||b||y)&&(e.flipped=!0,(f||b)&&(i=a[c+1]),y&&(r=function(e){return"end"===e?"start":"start"===e?"end":e}(r)),e.placement=i+(r?"-"+r:""),e.offsets.popper=T({},e.offsets.popper,V(e.instance.popper,e.offsets.reference,e.placement)),e=P(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],i=e.offsets,o=i.popper,r=i.reference,a=-1!==["left","right"].indexOf(n),s=-1===["top","left"].indexOf(n);return o[a?"left":"top"]=r[n]-(s?o[a?"width":"height"]:0),e.placement=D(t),e.offsets.popper=k(o),e}},hide:{order:800,enabled:!0,fn:function(e){if(!q(e.instance.modifiers,"hide","preventOverflow"))return e;var t=e.offsets.reference,n=L(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,i=t.y,o=e.offsets.popper,r=L(e.instance.modifiers,function(e){return"applyStyle"===e.name}).gpuAcceleration;void 0!==r&&console.warn("WARNING: `gpuAcceleration` option moved to `computeStyle` modifier and will not be supported in future versions of Popper.js!");var a=void 0!==r?r:t.gpuAcceleration,s=C(p(e.instance.popper)),c={position:o.position},l={left:Math.floor(o.left),top:Math.round(o.top),bottom:Math.round(o.bottom),right:Math.floor(o.right)},d="bottom"===n?"top":"bottom",u="right"===i?"left":"right",f=R("transform"),h=void 0,g=void 0;if(g="bottom"===d?-s.height+l.bottom:l.top,h="right"===u?-s.width+l.right:l.left,a&&f)c[f]="translate3d("+h+"px, "+g+"px, 0)",c[d]=0,c[u]=0,c.willChange="transform";else{var m="bottom"===d?-1:1,b="right"===u?-1:1;c[d]=g*m,c[u]=h*b,c.willChange=d+", "+u}var v={"x-placement":e.placement};return e.attributes=T({},v,e.attributes),e.styles=T({},c,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 $(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&&$(e.arrowElement,e.arrowStyles),e},onLoad:function(e,t,n,i,o){var r=M(o,t,e,n.positionFixed),a=I(n.placement,r,t,e,n.modifiers.flip.boundariesElement,n.modifiers.flip.padding);return t.setAttribute("x-placement",a),$(t,{position:n.positionFixed?"fixed":"absolute"}),n},gpuAcceleration:void 0}}},X=function(){function e(t,n){var i=this,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};w(this,e),this.scheduleUpdate=function(){return requestAnimationFrame(i.update)},this.update=a(this.update.bind(this)),this.options=T({},e.Defaults,o),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,o.modifiers)).forEach(function(t){i.options.modifiers[t]=T({},e.Defaults.modifiers[t]||{},o.modifiers?o.modifiers[t]:{})}),this.modifiers=Object.keys(this.options.modifiers).map(function(e){return T({name:e},i.options.modifiers[e])}).sort(function(e,t){return e.order-t.order}),this.modifiers.forEach(function(e){e.enabled&&s(e.onLoad)&&e.onLoad(i.reference,i.popper,i.options,e,i.state)}),this.update();var r=this.options.eventsEnabled;r&&this.enableEventListeners(),this.state.eventsEnabled=r}return x(e,[{key:"update",value:function(){return function(){if(!this.state.isDestroyed){var e={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};e.offsets.reference=M(this.state,this.popper,this.reference,this.options.positionFixed),e.placement=I(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=V(this.popper,e.offsets.reference,e.placement),e.offsets.popper.position=this.options.positionFixed?"fixed":"absolute",e=P(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,N(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=B(this.reference,this.options,this.state,this.scheduleUpdate))}.call(this)}},{key:"disableEventListeners",value:function(){return z.call(this)}}]),e}();X.Utils=("undefined"!=typeof window?window:e).PopperUtils,X.placements=W,X.Defaults=Z,t.default=X}.call(this,n(166))},1018:function(e,t){},1019:function(e,t,n){(function(e,t){!function(e,n){"use strict";if(!e.setImmediate){var i,o,r,a,s,c=1,l={},d=!1,u=e.document,f=Object.getPrototypeOf&&Object.getPrototypeOf(e);f=f&&f.setTimeout?f:e,"[object process]"==={}.toString.call(e.process)?i=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?((r=new MessageChannel).port1.onmessage=function(e){p(e.data)},i=function(e){r.port2.postMessage(e)}):u&&"onreadystatechange"in u.createElement("script")?(o=u.documentElement,i=function(e){var t=u.createElement("script");t.onreadystatechange=function(){p(e),t.onreadystatechange=null,o.removeChild(t),t=null},o.appendChild(t)}):i=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),i=function(t){e.postMessage(a+t,"*")}),f.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 o={callback:e,args:t};return l[c]=o,i(c),c++},f.clearImmediate=h}function h(e){delete l[e]}function p(e){if(d)setTimeout(p,0,e);else{var t=l[e];if(t){d=!0;try{!function(e){var t=e.callback,i=e.args;switch(i.length){case 0:t();break;case 1:t(i[0]);break;case 2:t(i[0],i[1]);break;case 3:t(i[0],i[1],i[2]);break;default:t.apply(n,i)}}(t)}finally{h(e),d=!1}}}}}("undefined"==typeof self?void 0===e?this:e:self)}).call(this,n(166),n(394))},1020:function(e,t,n){"use strict";var i=n(348),o=n(850),r=n(1022),a=n(686);function s(e){var t=new r(e),n=o(r.prototype.request,t);return i.extend(n,r.prototype,t),i.extend(n,t),n}var c=s(a);c.Axios=r,c.create=function(e){return s(i.merge(a,e))},c.Cancel=n(854),c.CancelToken=n(1036),c.isCancel=n(853),c.all=function(e){return Promise.all(e)},c.spread=n(1037),e.exports=c,e.exports.default=c},1021: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)}},1022:function(e,t,n){"use strict";var i=n(686),o=n(348),r=n(1031),a=n(1032);function s(e){this.defaults=e,this.interceptors={request:new r,response:new r}}s.prototype.request=function(e){"string"==typeof e&&(e=o.merge({url:arguments[0]},arguments[1])),(e=o.merge(i,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},o.forEach(["delete","get","head","options"],function(e){s.prototype[e]=function(t,n){return this.request(o.merge(n||{},{method:e,url:t}))}}),o.forEach(["post","put","patch"],function(e){s.prototype[e]=function(t,n,i){return this.request(o.merge(i||{},{method:e,url:t,data:n}))}}),e.exports=s},1023:function(e,t,n){"use strict";var i=n(348);e.exports=function(e,t){i.forEach(e,function(n,i){i!==t&&i.toUpperCase()===t.toUpperCase()&&(e[t]=n,delete e[i])})}},1024:function(e,t,n){"use strict";var i=n(852);e.exports=function(e,t,n){var o=n.config.validateStatus;n.status&&o&&!o(n.status)?t(i("Request failed with status code "+n.status,n.config,null,n.request,n)):e(n)}},1025:function(e,t,n){"use strict";e.exports=function(e,t,n,i,o){return e.config=t,n&&(e.code=n),e.request=i,e.response=o,e}},1026:function(e,t,n){"use strict";var i=n(348);function o(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 r;if(n)r=n(t);else if(i.isURLSearchParams(t))r=t.toString();else{var a=[];i.forEach(t,function(e,t){null!==e&&void 0!==e&&(i.isArray(e)&&(t+="[]"),i.isArray(e)||(e=[e]),i.forEach(e,function(e){i.isDate(e)?e=e.toISOString():i.isObject(e)&&(e=JSON.stringify(e)),a.push(o(t)+"="+o(e))}))}),r=a.join("&")}return r&&(e+=(-1===e.indexOf("?")?"?":"&")+r),e}},1027:function(e,t,n){"use strict";var i=n(348),o=["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,r,a={};return e?(i.forEach(e.split("\n"),function(e){if(r=e.indexOf(":"),t=i.trim(e.substr(0,r)).toLowerCase(),n=i.trim(e.substr(r+1)),t){if(a[t]&&o.indexOf(t)>=0)return;a[t]="set-cookie"===t?(a[t]?a[t]:[]).concat([n]):a[t]?a[t]+", "+n:n}}),a):a}},1028:function(e,t,n){"use strict";var i=n(348);e.exports=i.isStandardBrowserEnv()?function(){var e,t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");function o(e){var i=e;return t&&(n.setAttribute("href",i),i=n.href),n.setAttribute("href",i),{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=o(window.location.href),function(t){var n=i.isString(t)?o(t):t;return n.protocol===e.protocol&&n.host===e.host}}():function(){return!0}},1029:function(e,t,n){"use strict";var i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";function o(){this.message="String contains an invalid character"}o.prototype=new Error,o.prototype.code=5,o.prototype.name="InvalidCharacterError",e.exports=function(e){for(var t,n,r=String(e),a="",s=0,c=i;r.charAt(0|s)||(c="=",s%1);a+=c.charAt(63&t>>8-s%1*8)){if((n=r.charCodeAt(s+=.75))>255)throw new o;t=t<<8|n}return a}},1030:function(e,t,n){"use strict";var i=n(348);e.exports=i.isStandardBrowserEnv()?{write:function(e,t,n,o,r,a){var s=[];s.push(e+"="+encodeURIComponent(t)),i.isNumber(n)&&s.push("expires="+new Date(n).toGMTString()),i.isString(o)&&s.push("path="+o),i.isString(r)&&s.push("domain="+r),!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(){}}},1031:function(e,t,n){"use strict";var i=n(348);function o(){this.handlers=[]}o.prototype.use=function(e,t){return this.handlers.push({fulfilled:e,rejected:t}),this.handlers.length-1},o.prototype.eject=function(e){this.handlers[e]&&(this.handlers[e]=null)},o.prototype.forEach=function(e){i.forEach(this.handlers,function(t){null!==t&&e(t)})},e.exports=o},1032:function(e,t,n){"use strict";var i=n(348),o=n(1033),r=n(853),a=n(686),s=n(1034),c=n(1035);function l(e){e.cancelToken&&e.cancelToken.throwIfRequested()}e.exports=function(e){return l(e),e.baseURL&&!s(e.url)&&(e.url=c(e.baseURL,e.url)),e.headers=e.headers||{},e.data=o(e.data,e.headers,e.transformRequest),e.headers=i.merge(e.headers.common||{},e.headers[e.method]||{},e.headers||{}),i.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=o(t.data,t.headers,e.transformResponse),t},function(t){return r(t)||(l(e),t&&t.response&&(t.response.data=o(t.response.data,t.response.headers,e.transformResponse))),Promise.reject(t)})}},1033:function(e,t,n){"use strict";var i=n(348);e.exports=function(e,t,n){return i.forEach(n,function(n){e=n(e,t)}),e}},1034:function(e,t,n){"use strict";e.exports=function(e){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(e)}},1035:function(e,t,n){"use strict";e.exports=function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}},1036:function(e,t,n){"use strict";var i=n(854);function o(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 i(e),t(n.reason))})}o.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},o.source=function(){var e;return{token:new o(function(t){e=t}),cancel:e}},e.exports=o},1037:function(e,t,n){"use strict";e.exports=function(e){return function(t){return e.apply(null,t)}}},1038:function(e,t,n){var i,o,r;o=[e,n(1039)],void 0===(r="function"==typeof(i=function(e,t){"use strict";var n,i=(n=t)&&n.__esModule?n:{default:n},o="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},r=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),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 r(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,i.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,i.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":o(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})?i.apply(t,o):i)||(e.exports=r)},1039: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 i=window.getSelection(),o=document.createRange();o.selectNodeContents(e),i.removeAllRanges(),i.addRange(o),t=i.toString()}return t}},104:function(e,t,n){"use strict";var i={lg:1200,md:992,sm:768,xs:0},o={windowWidth:function(){return window.innerWidth},getBreakpointSize:function(){var e=this.windowWidth();return Object.keys(i).find(function(t){return e>i[t]})}};t.a=o},1040:function(e,t){function n(){}n.prototype={on:function(e,t,n){var i=this.e||(this.e={});return(i[e]||(i[e]=[])).push({fn:t,ctx:n}),this},once:function(e,t,n){var i=this;function o(){i.off(e,o),t.apply(n,arguments)}return o._=t,this.on(e,o,n)},emit:function(e){for(var t=[].slice.call(arguments,1),n=((this.e||(this.e={}))[e]||[]).slice(),i=0,o=n.length;i<o;i++)n[i].fn.apply(n[i].ctx,t);return this},off:function(e,t){var n=this.e||(this.e={}),i=n[e],o=[];if(i&&t)for(var r=0,a=i.length;r<a;r++)i[r].fn!==t&&i[r].fn._!==t&&o.push(i[r]);return o.length?n[e]=o:delete n[e],this}},e.exports=n},1041:function(e,t,n){var i=n(1042),o=n(1043);e.exports=function(e,t,n){if(!e&&!t&&!n)throw new Error("Missing required arguments");if(!i.string(t))throw new TypeError("Second argument must be a String");if(!i.fn(n))throw new TypeError("Third argument must be a Function");if(i.node(e))return function(e,t,n){return e.addEventListener(t,n),{destroy:function(){e.removeEventListener(t,n)}}}(e,t,n);if(i.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(i.string(e))return function(e,t,n){return o(document.body,e,t,n)}(e,t,n);throw new TypeError("First argument must be a String, HTMLElement, HTMLCollection, or NodeList")}},1042: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)}},1043:function(e,t,n){var i=n(1044);e.exports=function(e,t,n,o,r){var a=function(e,t,n,o){return function(n){n.delegateTarget=i(n.target,t),n.delegateTarget&&o.call(e,n)}}.apply(this,arguments);return e.addEventListener(n,a,r),{destroy:function(){e.removeEventListener(n,a,r)}}}},1044:function(e,t){var n=9;if("undefined"!=typeof Element&&!Element.prototype.matches){var i=Element.prototype;i.matches=i.matchesSelector||i.mozMatchesSelector||i.msMatchesSelector||i.oMatchesSelector||i.webkitMatchesSelector}e.exports=function(e,t){for(;e&&e.nodeType!==n;){if(e.matches(t))return e;e=e.parentNode}}},1045:function(e,t,n){(function(){var t,i,o,r;o=n(621),t=n(687),n(855),i=function(e){return e.candidate},r=function(e,t){return t.score-e.score},e.exports=function(e,n,a){var s,c,l,d,u,f,h,p,g,m,b,v,y;for(p=[],l=a.key,u=a.maxResults,d=a.maxInners,b=a.usePathScoring,g=null!=d&&d>0?d:e.length+1,s=null!=l,h=b?t:o,v=0,y=e.length;v<y&&(c=e[v],!((m=s?c[l]:c)&&(f=h.score(m,n,a))>0)||(p.push({candidate:c,score:f}),--g));v++);return p.sort(r),e=p.map(i),null!=u&&(e=e.slice(0,u)),e}}).call(this)},1046:function(e,t,n){(function(){var e,i,o,r,a,s,c,l,d,u;u=n(621),o=u.isMatch,r=u.isWordStart,d=u.scoreConsecutives,l=u.scoreCharacter,c=u.scoreAcronyms,t.match=a=function(t,n,r){var a,c,l,d,u,f;return a=r.allowErrors,u=r.preparedQuery,d=r.pathSeparator,a||o(t,u.core_lw,u.core_up)?(f=t.toLowerCase(),0===(l=i(t,f,u)).length?l:(t.indexOf(d)>-1&&(c=e(t,f,u,d),l=s(l,c)),l)):[]},t.wrap=function(e,t,n){var i,o,r,s,c,l,d,u,f;if(null!=n.wrap&&(l=(f=n.wrap).tagClass,u=f.tagOpen,d=f.tagClose),null==l&&(l="highlight"),null==u&&(u='<strong class="'+l+'">'),null==d&&(d="</strong>"),e===t)return u+e+d;if(0===(r=a(e,0,n)).length)return e;for(s="",i=-1,c=0;++i<r.length;){for((o=r[i])>c&&(s+=e.substring(c,o),c=o);++i<r.length;){if(r[i]!==o+1){i--;break}o++}++o>c&&(s+=u,s+=e.substring(c,o),s+=d,c=o)}return c<=e.length-1&&(s+=e.substring(c)),s},e=function(e,t,n,o){var r,a,s;for(s=e.length-1;e[s]===o;)s--;if(-1===(r=e.lastIndexOf(o,s)))return[];for(a=n.depth;a-- >0;)if(-1===(r=e.lastIndexOf(o,r-1)))return[];return r++,s++,i(e.slice(r,s),t.slice(r,s),n,r)},s=function(e,t){var n,i,o,r,a,s,c;if(a=e.length,0===(s=t.length))return e.slice();if(0===a)return t.slice();for(o=-1,i=t[r=0],c=[];++o<a;){for(n=e[o];i<=n&&++r<s;)i<n&&c.push(i),i=t[r];c.push(n)}for(;r<s;)c.push(t[r++]);return c},i=function(e,t,n,i){var o,a,s,u,f,h,p,g,m,b,v,y,_,w,x,S,T,k,C,j,A,E;for(null==i&&(i=0),w=n.query,x=n.query_lw,m=e.length,y=w.length,o=c(e,t,w,x).score,k=new Array(y),f=new Array(y),0,1,2,3,E=new Array(m*y),_=-1,g=-1;++g<y;)k[g]=0,f[g]=0;for(p=-1;++p<m;)for(S=0,C=0,u=0,j=t[p],g=-1;++g<y;)h=0,a=0,T=C,x[g]===j&&(A=r(p,e,t),h=u>0?u:d(e,t,w,x,p,g,A),a=T+l(p,g,A,o,h)),C=k[g],u=f[g],S>C?v=2:(S=C,v=1),a>S?(S=a,v=3):h=0,k[g]=S,f[g]=h,E[++_]=S>0?v:0;for(_=(p=m-1)*y+(g=y-1),s=!0,b=[];s&&p>=0&&g>=0;)switch(E[_]){case 1:p--,_-=y;break;case 2:g--,_--;break;case 3:b.push(p+i),g--,p--,_-=y+1;break;default:s=!1}return b.reverse(),b}}).call(this)},11:function(e,t,n){var i,o;
|
||
/*!
|
||
* 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(r){if(void 0===(o="function"==typeof(i=r)?i.call(t,n,t,e):i)||(e.exports=o),!0,e.exports=r(),!!0){var a=window.Cookies,s=window.Cookies=r();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 i in n)t[i]=n[i]}return t}return function t(n){function i(t,o,r){var a;if("undefined"!=typeof document){if(arguments.length>1){if("number"==typeof(r=e({path:"/"},i.defaults,r)).expires){var s=new Date;s.setMilliseconds(s.getMilliseconds()+864e5*r.expires),r.expires=s}try{a=JSON.stringify(o),/^[\{\[]/.test(a)&&(o=a)}catch(e){}return o=n.write?n.write(o,t):encodeURIComponent(String(o)).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,"=",o,r.expires?"; expires="+r.expires.toUTCString():"",r.path?"; path="+r.path:"",r.domain?"; domain="+r.domain:"",r.secure?"; secure":""].join("")}t||(a={});for(var c=document.cookie?document.cookie.split("; "):[],l=/(%[0-9A-Z]{2})+/g,d=0;d<c.length;d++){var u=c[d].split("="),f=u.slice(1).join("=");'"'===f.charAt(0)&&(f=f.slice(1,-1));try{var h=u[0].replace(l,decodeURIComponent);if(f=n.read?n.read(f,h):n(f,h)||f.replace(l,decodeURIComponent),this.json)try{f=JSON.parse(f)}catch(e){}if(t===h){a=f;break}t||(a[h]=f)}catch(e){}}return a}}return i.set=i,i.get=function(e){return i.call(i,e)},i.getJSON=function(){return i.apply({json:!0},[].slice.call(arguments))},i.defaults={},i.remove=function(t,n){i(t,"",e(n,{expires:-1}))},i.withConverter=t,i}(function(){})})},111:function(e,t,n){"use strict";n.d(t,"a",function(){return u});var i=n(7),o=n.n(i),r=n(147),a=n(207),s=n(356),c=n(76);function l(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=[],i=!0,o=!1,r=void 0;try{for(var a,s=e[Symbol.iterator]();!(i=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);i=!0);}catch(e){o=!0,r=e}finally{try{i||null==s.return||s.return()}finally{if(o)throw r}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function d(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}var u=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}var t,n,i;return t=e,i=[{key:"getEscapedText",value:function(e){var t=e,n=-1!==e.indexOf(" "),i=-1!==e.indexOf('"');return n&&(t=i?"'".concat(e,"'"):'"'.concat(e,'"')),t}},{key:"filterWithSymbol",value:function(t,n,i){var o=i,r=e.getSearchInput(n),a=o.title.toLowerCase(),s=r.toLowerCase(),c="";s[0]===t&&(c=l(s,1)[0],s=s.slice(1));'"'!==s[0]&&"'"!==s[0]||-1===a.indexOf(" ")||(s=s.slice(1));var d=c===t&&-1!==a.indexOf(s),u=-1!==a.indexOf("".concat(c).concat(s));return o.droplab_hidden=!u&&!d,o}},{key:"filterHint",value:function(t,n){var i=t.input,r=t.allowedKeys,s=n,c=e.getSearchQuery(i),l=a.a.processTokens(c,r),d=l.lastToken,u=l.tokens,f=d.key||d||"",h="array"===n.type,p=u.some(function(e){return e.key===n.hint});if(!h&&p)s.droplab_hidden=!0;else if(f&&" "!==o.a.last(c.split(""))){if(f){var g=f.split(":"),m=o.a.last(g[0].split(" ")),b=-1===s.hint.indexOf(m.toLowerCase());s.droplab_hidden=!!m&&b}}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,{capitalizeTokenValue:t.hasAttribute("data-capitalize")}),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=r.a.container,n=[].slice.call(t.querySelectorAll(".tokens-container li")),i=[];if(e){var a=o.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"),o=e.querySelector(".value-container"),a=n&&n.dataset.symbol?n.dataset.symbol:"",s="";o&&o.dataset.originalValue?s=o.dataset.originalValue:n&&n.innerText&&(s=n.innerText),-1!==e.className.indexOf("filtered-search-token")?i.push("".concat(t.innerText.toLowerCase(),":").concat(a).concat(s)):i.push(t.innerText)}else if(e.classList.contains("input-token")){var l=c.a.getLastVisualTokenBeforeInput().isLastVisualTokenValid,d=r.a.container.querySelector(".filtered-search"),u=d&&d.value;if(l)i.push(u);else{var f=i.pop();i.push("".concat(f).concat(u))}}}),i.map(function(e){return e.trim()}).join(" ")}},{key:"getSearchInput",value:function(t){var n=t.value,i=e.getInputSelectionPosition(t).right;return n.slice(0,i)}},{key:"getInputSelectionPosition",value:function(e){var t=e.selectionStart,n=e.value,i=(n=n.replace(/(('[^']*'{0,1})|("[^"]*"{0,1})|:\s+)/g,function(e){return e.replace(/\s/g,"_")})).slice(t).search(/\s/);i>=0?i+=t:i<0&&(i=n.length);var o=n.slice(0,i).search(/\S+$/);return 0===t?o=0:t===n.length&&o<0?o=n.length:o<0&&(o=t),{left:o,right:i}}}],(n=null)&&d(t.prototype,n),i&&d(t,i),e}()},112:function(e,t,n){var i;!function(o){"use strict";var r,a,s,c=(r=/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,i){if(1!==arguments.length||"string"!==(null===(o=e)?"null":void 0===o?"undefined":"object"!=typeof o?typeof o:Array.isArray(o)?"array":{}.toString.call(o).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 o,d=(t=String(c.masks[t]||t||c.masks.default)).slice(0,4);"UTC:"!==d&&"GMT:"!==d||(t=t.slice(4),n=!0,"GMT:"===d&&(i=!0));var u=n?"getUTC":"get",f=e[u+"Date"](),h=e[u+"Day"](),p=e[u+"Month"](),g=e[u+"FullYear"](),m=e[u+"Hours"](),b=e[u+"Minutes"](),v=e[u+"Seconds"](),y=e[u+"Milliseconds"](),_=n?0:e.getTimezoneOffset(),w=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 i=t.getTimezoneOffset()-n.getTimezoneOffset();t.setHours(t.getHours()-i);var o=(t-n)/6048e5;return 1+Math.floor(o)}(e),x=function(e){var t=e.getDay();return 0===t&&(t=7),t}(e),S={d:f,dd:l(f),ddd:c.i18n.dayNames[h],dddd:c.i18n.dayNames[h+7],m:p+1,mm:l(p+1),mmm:c.i18n.monthNames[p],mmmm:c.i18n.monthNames[p+12],yy:String(g).slice(2),yyyy:g,h:m%12||12,hh:l(m%12||12),H:m,HH:l(m),M:b,MM:l(b),s:v,ss:l(v),l:l(y,3),L:l(Math.round(y/10)),t:m<12?c.i18n.timeNames[0]:c.i18n.timeNames[1],tt:m<12?c.i18n.timeNames[2]:c.i18n.timeNames[3],T:m<12?c.i18n.timeNames[4]:c.i18n.timeNames[5],TT:m<12?c.i18n.timeNames[6]:c.i18n.timeNames[7],Z:i?"GMT":n?"UTC":(String(e).match(a)||[""]).pop().replace(s,""),o:(_>0?"-":"+")+l(100*Math.floor(Math.abs(_)/60)+Math.abs(_)%60,4),S:["th","st","nd","rd"][f%10>3?0:(f%100-f%10!=10)*f%10],W:w,N:x};return t.replace(r,function(e){return e in S?S[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}c.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"},c.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===(i=function(){return c}.call(t,n,t,e))||(e.exports=i)}()},13:function(e,t,n){"use strict";n.d(t,"h",function(){return u}),n.d(t,"r",function(){return f}),n.d(t,"u",function(){return h}),n.d(t,"j",function(){return p}),n.d(t,"g",function(){return g}),n.d(t,"s",function(){return b}),n.d(t,"t",function(){return v}),n.d(t,"q",function(){return y}),n.d(t,"c",function(){return _}),n.d(t,"H",function(){return w}),n.d(t,"M",function(){return x}),n.d(t,"m",function(){return S}),n.d(t,"v",function(){return T}),n.d(t,"E",function(){return C}),n.d(t,"l",function(){return A}),n.d(t,"N",function(){return E}),n.d(t,"x",function(){return I}),n.d(t,"w",function(){return M}),n.d(t,"I",function(){return O}),n.d(t,"i",function(){return D}),n.d(t,"k",function(){return L}),n.d(t,"p",function(){return P}),n.d(t,"y",function(){return N}),n.d(t,"z",function(){return R}),n.d(t,"C",function(){return F}),n.d(t,"D",function(){return B}),n.d(t,"A",function(){return z}),n.d(t,"e",function(){return H}),n.d(t,"n",function(){return $}),n.d(t,"B",function(){return q}),n.d(t,"d",function(){return W}),n.d(t,"K",function(){return G}),n.d(t,"F",function(){return U}),n.d(t,"J",function(){return K}),n.d(t,"L",function(){return Y}),n.d(t,"f",function(){return Z}),n.d(t,"o",function(){return X}),n.d(t,"b",function(){return Q}),n.d(t,"G",function(){return J}),n.d(t,"a",function(){return ee});var i=n(0),o=n.n(i),r=n(4),a=n(17),s=n(46),c=n(600);function l(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function d(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=[],i=!0,o=!1,r=void 0;try{for(var a,s=e[Symbol.iterator]();!(i=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);i=!0);}catch(e){o=!0,r=e}finally{try{i||null==s.return||s.return()}finally{if(o)throw r}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}var u=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return(o()("body").attr("data-page")||"").split(":")[e]},f=function(){return"groups"===u()},h=function(){return"projects"===u()},p=function(){return h()?o()("body").data("project"):null},g=function(){return f()?o()("body").data("group"):null},m=function(e,t){var n=u(1),i=u(2);return n===e&&i===t},b=function(){return m("issues","show")},v=function(){return m("merge_requests","show")},y=function(){return m("epics","show")},_=function(e){return r.a.get(e,{params:{format:"js"},responseType:"text"}).then(function(e){var t=e.data;o.a.globalEval(t)})},w=function(e){return e?e.replace(/\s+$/,""):e},x=function(e,t){return e.attr("title",t).tooltip("_fixTitle")},S=function(){var e=Object(a.a)();if(e){e=decodeURIComponent(e);var t=document.getElementById(e)||document.getElementById("user-content-".concat(e)),n=document.querySelector(".js-tabs-affix"),i=document.querySelector(".js-diff-files-changed"),o=document.querySelector(".navbar-gitlab"),r=document.querySelector("#js-peek"),s=0;o&&(s-=o.offsetHeight),t&&t.scrollIntoView&&t.scrollIntoView(!0),n&&(s-=n.offsetHeight),i&&(s-=i.offsetHeight),r&&(s-=r.offsetHeight),v()&&(s-=8),window.scrollBy(0,s)}},T=function(e){var t=e.getBoundingClientRect();return t.top>=0&&t.left>=0&&t.bottom<=window.innerHeight&&t.right<=window.innerWidth},k=function(e){var t=document.createElement("a");return t.href=e,t},C=function(e){var t=k(e);return"/"===t.pathname.charAt(0)?t.pathname:"/".concat(t.pathname)},j=function(){return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"").replace(/^\?/,"").split("&")},A=function(){return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return j(e).filter(function(e){return e.length>0}).map(function(e){var t=e.split("=");return[decodeURI(t[0]),t[1]].join("=")})}(window.location.search)},E=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return j(e).reduce(function(e,t){if(""===t)return e;var n=e,i=d(t.split("="),2),o=i[0],r=i[1],a=o.includes("[]");return o=o.replace("[]",""),r=decodeURIComponent(r.replace(/\+/g," ")),a?(n[o]||(n[o]=[]),n[o].push(r)):n[o]=r,n},{})},I=function(e){return e.metaKey||e.ctrlKey||e.altKey||e.shiftKey},M=function(e){return e.metaKey||e.ctrlKey||2===e.which},O=function(e){var t=e;e instanceof o.a||(t=o()(e));var n=t.offset().top;return o()("body, html").animate({scrollTop:n-((o()("#js-peek").height()||0)+(o()(".merge-request-tabs").height()||0)+(o()(".navbar-gitlab").height()||0)+(o()(".js-diff-files-changed").height()||0)+((!("matchMedia"in window)||window.matchMedia("min-width: 768"))&&o()(".diff-file .file-title-flex-parent:visible").height()||0))},200)},D=function(e,t){var n=t||window.location.href,i=e.replace(/[[\]]/g,"\\$&"),o=new RegExp("[?&]".concat(i,"(=([^&#]*)|&|#|$)")).exec(n);return o?o[2]?decodeURIComponent(o[2].replace(/\+/g," ")):"":null},V=function(e,t){if(t&&!e.intersectsNode(t))return null;t&&!t.contains(e.commonAncestorContainer)&&(t.contains(e.startContainer)||e.setStart(t,0),t.contains(e.endContainer)||e.setEnd(t,t.childNodes.length));var n=e.commonAncestorContainer;if("OL"===n.tagName){var i=document.createElement(n.tagName);return i.appendChild(e.cloneContents()),i}return e.cloneContents()},L=function(e){var t=window.getSelection();if(0===t.rangeCount)return null;if(e&&!t.containsNode(e,!0))return null;var n=document.createDocumentFragment();n.originalNodes=[];for(var i=0;i<t.rangeCount;i+=1){var o=t.getRangeAt(i),r=V(o,e);r&&(n.appendChild(r),n.originalNodes.push(o.commonAncestorContainer))}return 0===n.textContent.length?null:n},P=function(e,t){var n=e.selectionStart,i=e.selectionEnd,o=e.value,r=o.substring(0,n),a=o.substring(i,o.length),s=t instanceof Function?t(r,a):t,c=r+s+a;e.value=c,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 i=e.parentNode;i||(i=document.createElement("div"),e=e.cloneNode(!0),i.appendChild(e));var o=i.querySelectorAll(t);return-1!==Array.prototype.indexOf.call(o,e)},R=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)}},B=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return""===e?{}:e.split("&").reduce(function(e,t){var n=t.split("=");return Object.assign(e,l({},n[0],decodeURIComponent(n[1]))),e},{})},z=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Object.keys(e).map(function(t){return"".concat(t,"=").concat(e[t])}).join("&")},H=function(e){return e?"".concat(window.location.pathname).concat(e):window.location.pathname},$=function(e){window.history.pushState({},document.title,e)},q=function(e){return"true"===e},W=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:6e4,n=2e3,i=0;return new Promise(function(o,r){var a=function(e){return e instanceof Error?r(e):o(e)};e(function o(){i<t?(setTimeout(function(){return e(o,a)},n),i+=n,n=Math.min(n+n,32e3)):r(new Error("BACKOFF_TIMEOUT"))},a)})},G=function(e){var t=document.getElementById("favicon");return t?function(e,t){var n=document.createElement("img");return new Promise(function(i){n.onload=function(){var e=document.createElement("canvas");e.width=32,e.height=32;var o=e.getContext("2d");o.clearRect(0,0,32,32),o.drawImage(n,0,0,n.width,n.height,0,0,32,32);var r=document.createElement("img");r.onload=function(){o.drawImage(r,0,0,r.width,r.height,0,0,32,32);var t=e.toDataURL();i(t)},r.src=t},n.src=e})}(t.getAttribute("data-original-href"),e).then(function(e){return t.setAttribute("href",e)}):null},U=function(){var e=document.getElementById("favicon");if(e){var t=e.getAttribute("data-original-href");e.setAttribute("href",t)}},K=function(e){return r.a.get(e).then(function(e){var t=e.data;return t&&t.favicon?G(t.favicon):U()}).catch(function(e){throw U(),e})},Y=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=t.length>0?'class="'.concat(t,'"'):"";return"<svg ".concat(n,'><use xlink:href="').concat(gon.sprite_icons,"#").concat(e,'" /></svg>')},Z=function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(null===t)return{};var i=Array.isArray(t)?[]:{};return Object.keys(t).reduce(function(i,o){var r=i,a=t[o];return n.deep&&(Object(c.a)(a)||Array.isArray(a))?r[Object(s.c)(o)]=e(a,n):r[Object(s.c)(o)]=t[o],i},i)},X=function(e){return"".concat(gon.asset_host||"").concat(gon.relative_url_root||"","/assets/").concat(e)},Q=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:".js-select-on-focus";o()(e).on("focusin",function(){o()(this).select().one("mouseup",function(e){e.preventDefault()})})},J=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=Math.pow(10,t);return Math.round(e*n)/n},ee={TYPE_NAVIGATE:0,TYPE_RELOAD:1,TYPE_BACK_FORWARD:2,TYPE_RESERVED:255};window.gl=window.gl||{},window.gl.utils=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},i=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),i.forEach(function(t){l(e,t,n[t])})}return e}({},window.gl.utils||{},{getPagePath:u,isInGroupsPage:f,isInProjectPage:h,getProjectSlug:p,getGroupSlug:g,isInIssuePage:b,ajaxGet:_,rstrip:w,updateTooltipTitle:x,disableButtonIfEmptyField:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"input",i=o()(e),r=i.closest("form").find(t);return""===w(i.val())&&r.disable(),i.on(n,function(){return""===w(o()(this).val())?r.disable():r.enable()})},handleLocationHash:S,isInViewport:T,parseUrl:k,parseUrlPathname:C,getUrlParamsArray:A,isMetaKey:I,isMetaClick:M,scrollToElement:O,getParameterByName:D,getSelectedFragment:L,insertText:P,nodeMatchesSelector:N,spriteIcon:Y,imagePath:X})},135: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 d});var i=n(0),o=n.n(i),r=n(7),a=n.n(r);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 c(){if(!o()(".popover:hover").length>0){var e=o()(this);s.call(e,!1)}}function l(){var e=o()(this);s.call(e,!0)&&o()(".popover").on("mouseleave",c.bind(e))}function d(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:300;return a.a.debounce(c,e)}},14:function(e,t,n){"use strict";var i=[8,10,12,14,16,18,24,32,48,72],o={props:{name:{type:String,required:!0,validator:function(){return!0}},size:{type:Number,required:!1,default:16,validator:function(e){return i.includes(e)}},cssClasses:{type:String,required:!1,default:""},width:{type:Number,required:!1,default:null},height:{type:Number,required:!1,default:null},y:{type:Number,required:!1,default:null},x:{type:Number,required:!1,default:null},tabIndex:{type:String,required:!1,default:null}},computed:{spriteHref:function(){return"".concat(gon.sprite_icons,"#").concat(this.name)},iconTestClass:function(){return"ic-".concat(this.name)},iconSizeClass:function(){return this.size?"s".concat(this.size):""}}},r=n(2),a=Object(r.a)(o,function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("svg",{class:[e.iconSizeClass,e.iconTestClass,e.cssClasses],attrs:{width:e.width,height:e.height,x:e.x,y:e.y,tabindex:e.tabIndex,"aria-hidden":"true"}},[n("use",e._b({},"use",{"xlink:href":e.spriteHref},!1))])},[],!1,null,null,null);a.options.__file="icon.vue";t.a=a.exports},147:function(e,t,n){"use strict";function i(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}var o=document,r=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}var t,n,r;return t=e,(n=[{key:"container",set:function(e){o=e},get:function(){return o}}])&&i(t.prototype,n),r&&i(t,r),e}();t.a=new r},15:function(e,t,n){"use strict";var i=n(0),o=n.n(i),r=n(7),a=n.n(r),s=n(4);function c(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var l={groupsPath:"/api/:version/groups.json",groupPath:"/api/:version/groups/:id",subgroupsPath:"/api/:version/groups/:id/subgroups",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",projectMergeRequestPath:"/api/:version/projects/:id/merge_requests/:mrid",projectMergeRequestChangesPath:"/api/:version/projects/:id/merge_requests/:mrid/changes",projectMergeRequestVersionsPath:"/api/:version/projects/:id/merge_requests/:mrid/versions",projectRunnersPath:"/api/:version/projects/:id/runners",mergeRequestsPath:"/api/:version/merge_requests",groupLabelsPath:"/groups/:namespace_path/-/labels",ldapGroupsPath:"/api/:version/ldap/:provider/groups.json",issuableTemplatePath:"/:namespace_path/:project_path/templates/:type/:key",projectTemplatePath:"/api/:version/projects/:id/templates/:type/:key",projectTemplatesPath:"/api/:version/projects/:id/templates/:type",usersPath:"/api/:version/users.json",userPath:"/api/:version/users/:id",userStatusPath:"/api/:version/users/:id/status",userPostStatusPath:"/api/:version/user/status",commitPath:"/api/:version/projects/:id/repository/commits",applySuggestionPath:"/api/:version/suggestions/:id/apply",commitPipelinesPath:"/:project_id/commit/:sha/pipelines",branchSinglePath:"/api/:version/projects/:id/repository/branches/:branch",createBranchPath:"/api/:version/projects/:id/repository/branches",geoNodesPath:"/api/:version/geo_nodes",subscriptionPath:"/api/:version/namespaces/:id/gitlab_subscription",releasesPath:"/api/:version/projects/:id/releases",group:function(e,t){var n=l.buildUrl(l.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]:o.a.noop,i=l.buildUrl(l.groupsPath);return s.a.get(i,{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=l.buildUrl(l.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,i=l.buildUrl(l.projectsPath),o={search:e,per_page:20,simple:!0};return gon.current_user_id&&(o.membership=!0),s.a.get(i,{params:Object.assign(o,t)}).then(function(e){var t=e.data;return n(t),t})},project:function(e){var t=l.buildUrl(l.projectPath).replace(":id",encodeURIComponent(e));return s.a.get(t)},projectMergeRequest:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=l.buildUrl(l.projectMergeRequestPath).replace(":id",encodeURIComponent(e)).replace(":mrid",t);return s.a.get(i,{params:n})},projectMergeRequestChanges:function(e,t){var n=l.buildUrl(l.projectMergeRequestChangesPath).replace(":id",encodeURIComponent(e)).replace(":mrid",t);return s.a.get(n)},projectMergeRequestVersions:function(e,t){var n=l.buildUrl(l.projectMergeRequestVersionsPath).replace(":id",encodeURIComponent(e)).replace(":mrid",t);return s.a.get(n)},projectRunners:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=l.buildUrl(l.projectRunnersPath).replace(":id",encodeURIComponent(e));return s.a.get(n,t)},mergeRequests:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=l.buildUrl(l.mergeRequestsPath);return s.a.get(t,{params:e})},newLabel:function(e,t,n,i){var o;return o=t?l.buildUrl(l.projectLabelsPath).replace(":namespace_path",e).replace(":project_path",t):l.buildUrl(l.groupLabelsPath).replace(":namespace_path",e),s.a.post(o,{label:n}).then(function(e){return i(e.data)}).catch(function(e){return i(e.response.data)})},groupProjects:function(e,t,n,i){var o=l.buildUrl(l.groupProjectsPath).replace(":id",e),r={search:t,per_page:20};return s.a.get(o,{params:Object.assign({},r,n)}).then(function(e){var t=e.data;return i(t)})},commitMultiple:function(e,t){var n=l.buildUrl(l.commitPath).replace(":id",encodeURIComponent(e));return s.a.post(n,JSON.stringify(t),{headers:{"Content-Type":"application/json; charset=utf-8"}})},applySuggestion:function(e){var t=l.buildUrl(l.applySuggestionPath).replace(":id",encodeURIComponent(e));return s.a.put(t)},commitPipelines:function(e,t){var n=e.split("/").map(function(e){return encodeURIComponent(e)}).join("/"),i=l.buildUrl(l.commitPipelinesPath).replace(":project_id",n).replace(":sha",encodeURIComponent(t));return s.a.get(i)},branchSingle:function(e,t){var n=l.buildUrl(l.branchSinglePath).replace(":id",encodeURIComponent(e)).replace(":branch",encodeURIComponent(t));return s.a.get(n)},projectTemplate:function(e,t,n,i,o){var r=l.buildUrl(this.projectTemplatePath).replace(":id",encodeURIComponent(e)).replace(":type",t).replace(":key",encodeURIComponent(n));return s.a.get(r,{params:i}).then(function(e){return o&&o(e.data),e})},projectTemplates:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=arguments.length>3?arguments[3]:void 0,o=l.buildUrl(this.projectTemplatesPath).replace(":id",encodeURIComponent(e)).replace(":type",t);return s.a.get(o,{params:n}).then(function(e){return i&&i(e.data),e})},issueTemplate:function(e,t,n,i,o){var r=l.buildUrl(l.issuableTemplatePath).replace(":key",encodeURIComponent(n)).replace(":type",i).replace(":project_path",t).replace(":namespace_path",e);return s.a.get(r).then(function(e){var t=e.data;return o(null,t)}).catch(o)},users:function(e,t){var n=l.buildUrl(this.usersPath);return s.a.get(n,{params:Object.assign({search:e,per_page:20},t)})},user:function(e,t){var n=l.buildUrl(this.userPath).replace(":id",encodeURIComponent(e));return s.a.get(n,{params:t})},userStatus:function(e,t){var n=l.buildUrl(this.userStatusPath).replace(":id",encodeURIComponent(e));return s.a.get(n,{params:t})},branches:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=l.buildUrl(this.createBranchPath).replace(":id",encodeURIComponent(e));return s.a.get(i,{params:function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},i=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),i.forEach(function(t){c(e,t,n[t])})}return e}({search:t,per_page:20},n)})},createBranch:function(e,t){var n=t.ref,i=t.branch,o=l.buildUrl(this.createBranchPath).replace(":id",encodeURIComponent(e));return s.a.post(o,{ref:n,branch:i})},postUserStatus:function(e){var t=e.emoji,n=e.message,i=l.buildUrl(this.userPostStatusPath);return s.a.put(i,{emoji:t,message:n})},approverUsers:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:o.a.noop,i=l.buildUrl("/autocomplete/users.json");return s.a.get(i,{params:Object.assign({search:e,per_page:20},t)}).then(function(e){var t=e.data;return n(t),t})},ldap_groups:function(e,t,n){var i=l.buildUrl(this.ldapGroupsPath).replace(":provider",t);return s.a.get(i,{params:{search:e,per_page:20,active:!0}}).then(function(e){var t=e.data;return n(t),t})},userSubscription:function(e){var t=l.buildUrl(this.subscriptionPath).replace(":id",encodeURIComponent(e));return s.a.get(t)},releases:function(e){var t=l.buildUrl(this.releasesPath).replace(":id",encodeURIComponent(e));return s.a.get(t)},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=l},1528:function(e,t,n){"use strict";var i={};n.r(i),n.d(i,"setNamespace",function(){return A}),n.d(i,"setStorageKey",function(){return E}),n.d(i,"requestFrequentItems",function(){return I}),n.d(i,"receiveFrequentItemsSuccess",function(){return M}),n.d(i,"receiveFrequentItemsError",function(){return O}),n.d(i,"fetchFrequentItems",function(){return D}),n.d(i,"requestSearchedItems",function(){return V}),n.d(i,"receiveSearchedItemsSuccess",function(){return L}),n.d(i,"receiveSearchedItemsError",function(){return P}),n.d(i,"fetchSearchedItems",function(){return N}),n.d(i,"setSearchQuery",function(){return R}),n.d(i,"default",function(){return F});var o={};n.r(o),n.d(o,"hasSearchQuery",function(){return B}),n.d(o,"default",function(){return z});var r=n(0),a=n.n(r),s=n(6),c=n(66),l=new s.default,d=n(10),u=n(37),f=n(9),h=n(15),p=n(7),g=n.n(p),m=n(104),b=n(1),v=20,y=5,_=3,w=3,x={projects:"frequent-projects",groups:"frequent-groups"},S={projects:{loadingMessage:Object(b.e)("ProjectsDropdown|Loading projects"),header:Object(b.e)("ProjectsDropdown|Frequently visited"),itemListErrorMessage:Object(b.e)("ProjectsDropdown|This feature requires browser localStorage support"),itemListEmptyMessage:Object(b.e)("ProjectsDropdown|Projects you visit often will appear here"),searchListErrorMessage:Object(b.e)("ProjectsDropdown|Something went wrong on our end."),searchListEmptyMessage:Object(b.e)("ProjectsDropdown|Sorry, no projects matched your search"),searchInputPlaceholder:Object(b.e)("ProjectsDropdown|Search your projects")},groups:{loadingMessage:Object(b.e)("GroupsDropdown|Loading groups"),header:Object(b.e)("GroupsDropdown|Frequently visited"),itemListErrorMessage:Object(b.e)("GroupsDropdown|This feature requires browser localStorage support"),itemListEmptyMessage:Object(b.e)("GroupsDropdown|Groups you visit often will appear here"),searchListErrorMessage:Object(b.e)("GroupsDropdown|Something went wrong on our end."),searchListEmptyMessage:Object(b.e)("GroupsDropdown|Sorry, no groups matched your search"),searchInputPlaceholder:Object(b.e)("GroupsDropdown|Search your groups")}};function T(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var k,C=function(){var e=m.a.getBreakpointSize();return"sm"===e||"xs"===e},j=function(e,t){var n=Math.abs(t.lastAccessedOn-e.lastAccessedOn)/36e5>1;return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},i=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),i.forEach(function(t){T(e,t,n[t])})}return e}({},t,{frequency:n?e.frequency+1:e.frequency,lastAccessedOn:n?Date.now():e.lastAccessedOn})},A=function(e,t){(0,e.commit)("SET_NAMESPACE",t)},E=function(e,t){(0,e.commit)("SET_STORAGE_KEY",t)},I=function(e){(0,e.commit)("REQUEST_FREQUENT_ITEMS")},M=function(e,t){(0,e.commit)("RECEIVE_FREQUENT_ITEMS_SUCCESS",t)},O=function(e){(0,e.commit)("RECEIVE_FREQUENT_ITEMS_ERROR")},D=function(e){var t=e.state,n=e.dispatch;if(n("requestFrequentItems"),u.a.isLocalStorageAccessSafe()){var i=JSON.parse(localStorage.getItem(t.storageKey));n("receiveFrequentItemsSuccess",i?function(e){if(!e)return[];var t=C()?_:y,n=e.filter(function(e){return e.frequency>=w});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}),g.a.first(n,t)):[]}(i):[])}else n("receiveFrequentItemsError")},V=function(e){(0,e.commit)("REQUEST_SEARCHED_ITEMS")},L=function(e,t){(0,e.commit)("RECEIVE_SEARCHED_ITEMS_SUCCESS",t)},P=function(e){(0,e.commit)("RECEIVE_SEARCHED_ITEMS_ERROR")},N=function(e,t){var n=e.state,i=e.dispatch;i("requestSearchedItems");var o={simple:!0,per_page:20,membership:!!gon.current_user_id};return"projects"===n.namespace&&(o.order_by="last_activity_at"),h.a[n.namespace](t,o).then(function(e){i("receiveSearchedItemsSuccess",e)}).catch(function(){i("receiveSearchedItemsError")})},R=function(e,t){var n=e.commit,i=e.dispatch;n("SET_SEARCH_QUERY",t),t?i("fetchSearchedItems",t):i("fetchFrequentItems")},F=function(){},B=function(e){return""!==e.searchQuery},z=function(){};function H(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var $=(H(k={},"SET_NAMESPACE",function(e,t){Object.assign(e,{namespace:t})}),H(k,"SET_STORAGE_KEY",function(e,t){Object.assign(e,{storageKey:t})}),H(k,"SET_SEARCH_QUERY",function(e,t){var n=""!==t;Object.assign(e,{searchQuery:t,isLoadingItems:!0,hasSearchQuery:n})}),H(k,"REQUEST_FREQUENT_ITEMS",function(e){Object.assign(e,{isLoadingItems:!0,hasSearchQuery:!1})}),H(k,"RECEIVE_FREQUENT_ITEMS_SUCCESS",function(e,t){Object.assign(e,{items:t,isLoadingItems:!1,hasSearchQuery:!1,isFetchFailed:!1})}),H(k,"RECEIVE_FREQUENT_ITEMS_ERROR",function(e){Object.assign(e,{isLoadingItems:!1,hasSearchQuery:!1,isFetchFailed:!0})}),H(k,"REQUEST_SEARCHED_ITEMS",function(e){Object.assign(e,{isLoadingItems:!0,hasSearchQuery:!0})}),H(k,"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})}),H(k,"RECEIVE_SEARCHED_ITEMS_ERROR",function(e){Object.assign(e,{isLoadingItems:!1,hasSearchQuery:!0,isFetchFailed:!0})}),k);s.default.use(d.a);var q=n(14);function W(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var G={props:{namespace:{type:String,required:!0}},methods:{getTranslations:function(e){var t=this;return e.reduce(function(e,n){return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},i=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),i.forEach(function(t){W(e,t,n[t])})}return e}({},e,W({},n,S[t.namespace][n]))},{})}}};function U(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var K={components:{Icon:q.a},mixins:[G],data:function(){return{searchQuery:""}},computed:{translations:function(){return this.getTranslations(["searchInputPlaceholder"])}},watch:{searchQuery:g.a.debounce(function(){this.setSearchQuery(this.searchQuery)},500)},mounted:function(){l.$on("".concat(this.namespace,"-dropdownOpen"),this.setFocus)},beforeDestroy:function(){l.$off("".concat(this.namespace,"-dropdownOpen"),this.setFocus)},methods:function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},i=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),i.forEach(function(t){U(e,t,n[t])})}return e}({},Object(d.b)(["setSearchQuery"]),{setFocus:function(){this.$refs.search.focus()}})},Y=n(2),Z=Object(Y.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("icon",{staticClass:"search-icon",attrs:{name:"search"}})],1)},[],!1,null,null,null);Z.options.__file="frequent_items_search_input.vue";var X=Z.exports,Q={components:{Identicon:n(408).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>".concat(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="".concat(e[0]," / ... / ").concat(e.pop())),t}}},J=Object(Y.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);J.options.__file="frequent_items_list_item.vue";var ee={components:{FrequentItemsListItem:J.exports},mixins:[G],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}}},te=Object(Y.a)(ee,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);function ne(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},i=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),i.forEach(function(t){ie(e,t,n[t])})}return e}function ie(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}te.options.__file="frequent_items_list.vue";var oe={store:function(){return new d.a.Store({actions:i,getters:o,mutations:$,state:{namespace:"",storageKey:"",searchQuery:"",isLoadingItems:!1,isFetchFailed:!1,items:[]}})},components:{FrequentItemsSearchInput:X,FrequentItemsList:te.exports,GlLoadingIcon:f.h},mixins:[G],props:{currentUserName:{type:String,required:!0},currentItem:{type:Object,required:!0}},computed:ne({},Object(d.d)(["searchQuery","isLoadingItems","isFetchFailed","items"]),Object(d.c)(["hasSearchQuery"]),{translations:function(){return this.getTranslations(["loadingMessage","header"])}}),created:function(){var e=this.namespace,t=this.currentUserName,n=this.currentItem,i="".concat(t,"/").concat(x[e]);this.setNamespace(e),this.setStorageKey(i),n.id&&this.logItemAccess(i,n),l.$on("".concat(this.namespace,"-dropdownOpen"),this.dropdownOpenHandler)},beforeDestroy:function(){l.$off("".concat(this.namespace,"-dropdownOpen"),this.dropdownOpenHandler)},methods:ne({},Object(d.b)(["setNamespace","setStorageKey","fetchFrequentItems"]),{dropdownOpenHandler:function(){(""===this.searchQuery||C())&&this.fetchFrequentItems()},logItemAccess:function(e,t){if(!u.a.isLocalStorageAccessSafe())return!1;var n=localStorage.getItem(e),i=n?JSON.parse(n):[ne({},t,{frequency:1})],o=i.findIndex(function(e){return e.id===t.id});return o>-1?i[o]=j(i[o],t):(i.length===v&&i.shift(),i.push(ne({},t,{frequency:1}))),localStorage.setItem(e,JSON.stringify(i))}})},re=Object(Y.a)(oe,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("gl-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);re.options.__file="app.vue";var ae=re.exports;s.default.use(c.a);var se=[{namespace:"projects",key:"project"},{namespace:"groups",key:"group"}];document.addEventListener("DOMContentLoaded",function(){se.forEach(function(e){var t=e.namespace,n=e.key,i=document.getElementById("js-".concat(t,"-dropdown")),o=document.getElementById("nav-".concat(t,"-dropdown"));i&&o&&(a()(o).on("shown.bs.dropdown",function(){l.$emit("".concat(t,"-dropdownOpen"))}),new s.default({el:i,components:{frequentItems:ae},data:function(){var e=this.$options.el.dataset,t={id:Number(e["".concat(n,"Id")]),name:e["".concat(n,"Name")],namespace:e["".concat(n,"Namespace")],webUrl:e["".concat(n,"WebUrl")],avatarUrl:e["".concat(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}})}}))})})},1538:function(e,t,n){"use strict";var i=n(65),o=n.n(i);document.addEventListener("DOMContentLoaded",function(){var e=document.querySelectorAll(".js-autosize");o()(e),o.a.update(e)});n(555);var r=n(0),a=n.n(r),s=n(159),c=n(1),l=n(8);function d(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=[],i=!0,o=!1,r=void 0;try{for(var a,s=e[Symbol.iterator]();!(i=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);i=!0);}catch(e){o=!0,r=e}finally{try{i||null==s.return||s.return()}finally{if(o)throw r}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function u(e){e.length&&Promise.all([n.e(272).then(n.t.bind(null,2126,7)),n.e(272).then(n.t.bind(null,2127,7))]).then(function(t){var n=d(t,1)[0];!function(e,t){e.each(function(){var e=a()("<span></span>"),n=a()(this),i="display"===n.attr("data-math-style");try{t.render(n.text(),e.get(0),{displayMode:i,throwOnError:!1}),e.insertAfter(n),n.remove()}catch(e){throw e}})}(e,n)}).catch(function(){return Object(l.a)(Object(c.a)("An error occurred while rendering KaTeX"))})}var f=n(456),h=n(357);a.a.fn.renderGFM=function(){var e;return Object(s.a)(this.find(".js-syntax-highlight")),u(this.find(".js-render-math")),(e=this.find(".js-render-mermaid")).length&&Promise.all([n.e(268),n.e(213)]).then(n.t.bind(null,2128,7)).then(function(t){t.initialize({mermaid:{startOnLoad:!1},theme:"neutral",flowchart:{htmlLabels:!1}}),e.each(function(e,n){var i=n.textContent;Object.assign(n,{textContent:i}),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=i,t.appendChild(n)})})}).catch(function(e){Object(l.a)("Can't load mermaid module: ".concat(e))}),Object(f.a)(this.find(".gfm-project_member").get()),Object(h.a)(this.find(".gfm-project_member").get()),this},a()(function(){return a()("body").renderGFM()});var p=n(13),g=n(67);var m=n(389),b=n(867),v=n.n(b);function y(e,t){var n=a()(e),i=n.data("originalTitle");n.data("hideTooltip")||n.attr("title",t).tooltip("_fixTitle").tooltip("show").attr("title",i).tooltip("_fixTitle")}function _(e){y(e.trigger,"Copied"),e.clearSelection(),a()(e.trigger).blur()}function w(e){var t;t=/Mac/i.test(navigator.userAgent)?"⌘":"Ctrl",y(e.trigger,"Press ".concat(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 x=n(868),S=n.n(x),T=127462,k=127487;var C=127987,j=127752;var A=127995,E=127999;function I(e){return e.length>2&&Array.from(e).some(function(e){var t=e.codePointAt(0);return t>=A&&t<=E})}var M=127943;var O=8205,D=128102,V=128105;function L(e,t){var n=function(e){var t=e.codePointAt(0);return 4===e.length&&t>=T&&t<=k}(t),i=function(e){var t=Array.from(e);return 4===e.length&&t[0].codePointAt(0)===C&&t[1].codePointAt(0)===j}(t);return e.flag&&n||e.rainbowFlag&&i||!n&&!i}function P(e,t){var n=function(e){var t=Array.from(e)[0];return t&&t.codePointAt(0)===M&&I(e)}(t);return e.horseRacing&&n||!n}function N(e,t){var n=function(e){var t=!1,n=!1;return Array.from(e).forEach(function(e){var i=e.codePointAt(0);i===O?n=!0:i>=D&&i<=V&&(t=!0)}),t&&n}(t);return e.personZwj&&n||!n}function R(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0,n=arguments.length>2?arguments[2]:void 0,i=e.meta&&e.meta.isChrome&&e.meta.chromeVersion<57;return e[n]&&!(i&&function(e){return 3===e.length&&"⃣"===e[2]}(t))&&L(e,t)&&function(e,t){var n=I(t);return e.skinToneModifier&&n||!n}(e,t)&&P(e,t)&&N(e,t)}var F=n(37),B="0.2.0",z={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 H(e,t){var n=4*e,i=t[n+0]||t[n+1]||t[n+2],o=t[n+3];return!(!i||!o)}var $,q=navigator.userAgent.match(/Chrom(?:e|ium)\/([0-9]+)\./),W=q&&q.length>0,G=q&&q[1]&&parseInt(q[1],10),U=16;function K(){var e,t,n,i=F.a.isLocalStorageAccessSafe();i&&(e=window.localStorage.getItem("gl-emoji-version"),t=window.localStorage.getItem("gl-emoji-user-agent"));try{n=JSON.parse(window.localStorage.getItem("gl-emoji-unicode-support-map"))}catch(e){}return n&&e===B&&t===navigator.userAgent||(n=function(e){var t=Object.keys(e),n=t.reduce(function(t,n){return t.concat(e[n])},[]).length,i=document.createElement("canvas");(window.gl||window).testEmojiUnicodeSupportMapCanvas=i;var o=i.getContext("2d");i.width=2*U,i.height=n*U,o.fillStyle="#000000",o.textBaseline="middle",o.font="".concat(U,'px "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"');var r=0;t.forEach(function(t){var n=e[t];[].concat(n).forEach(function(e){o.fillText(e,0,r*U+U/2),r+=1})});var a={},s=0;return t.forEach(function(t){var n=e[t],i=[].concat(n).reduce(function(e){for(var t=o.getImageData(0,s*U+U/2,2*U,1).data,n=!1,i=0;i<64;i+=1){var r=i>=U+U/2;if(i<U&&H(i,t))n=!0;else if(r&&H(i,t)){n=!1;break}}return s+=1,e&&n},!0);a[t]=i}),a.meta={isChrome:W,chromeVersion:G},a}(z),i&&(window.localStorage.setItem("gl-emoji-version",B),window.localStorage.setItem("gl-emoji-user-agent",navigator.userAgent),window.localStorage.setItem("gl-emoji-unicode-support-map",JSON.stringify(n)))),n}S()(window);n(620);function Y(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(Y(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 i=a()(e.target).closest("form").find("input[type=submit], button[type=submit]").first();i.prop("disabled")||(i.trigger("click",[e]),Object(p.s)()||i.disable())}}}),a()(document).on("keyup.quick_submit",".js-quick-submit input[type=submit], .js-quick-submit button[type=submit]",function(e){if(Y(e,9)){var t=a()(this),n=navigator.userAgent.match(/Macintosh/)?"You can also press ⌘-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(7),X=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 i(){var i=X.a.map(a()(n,e),function(e){return e.value});i.length&&X.a.any(i,X.a.isEmpty)?t.disable():t.enable()}i(),e.on("change input",n,i)},a()(function(){a()("form.js-requires-input").each(function(e,t){var n=a()(t);n.requiresInput(),Q(n),a()(".select2.js-select-namespace").change(function(){return Q(n)})})});var J=n(48);var ee=n(17);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(ee.a)(),n=t&&document.getElementById(t),i=n&&a()(n).closest(".js-toggle-container");i&&(e(i,!0),n.scrollIntoView())});var te,ne,ie;n(202);(te=Object.create(HTMLElement.prototype)).createdCallback=function(){var e=this,t=this.textContent.trim(),i=this.dataset,o=i.name,r=i.unicodeVersion,a=i.fallbackSrc,s=i.fallbackSpriteClass,c=this.childNodes&&Array.prototype.every.call(this.childNodes,function(e){return 3===e.nodeType}),l=a&&a.length>0,d=s&&s.length>0;if(t&&c&&!function(e,t){return R($=$||K(),e,t)}(t,r))if(d){if(!gon.emoji_sprites_css_added&&gon.emoji_sprites_css_path){var u=document.createElement("link");u.setAttribute("rel","stylesheet"),u.setAttribute("href",gon.emoji_sprites_css_path),document.head.appendChild(u),gon.emoji_sprites_css_added=!0}this.classList.add("emoji-icon"),this.classList.add(s)}else Promise.resolve().then(n.bind(null,236)).then(function(t){var n=t.emojiImageTag,i=t.emojiFallbackImageSrc;if(l)e.innerHTML=n(o,a);else{var r=i(o);e.innerHTML=n(o,r)}}).catch(function(){})},document.registerElement("gl-emoji",{prototype:te}),a()(".js-gfm-input:not(.js-vue-textarea)").each(function(e,t){var n=new g.a(gl.GfmAutoComplete&&gl.GfmAutoComplete.dataSources),i=Object(p.B)(t.dataset.supportsAutocomplete);n.setup(a()(t),{emojis:!0,members:i,issues:i,milestones:i,mergeRequests:i,labels:i})}),Object(m.b)(),(ne=new v.a("[data-clipboard-target], [data-clipboard-text]")).on("success",_),ne.on("error",w),a()(document).on("copy","body > textarea[readonly]",function(e){var t=e.originalEvent.clipboardData;if(t){var n,i=e.target.value;try{n=JSON.parse(i)}catch(e){return}n.text&&n.gfm&&(e.preventDefault(),t.setData("text/plain",n.text),t.setData("text/x-gfm",n.gfm))}}),(ie=document.body.dataset.page)&&!["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"].includes(ie)&&new J.a},1556:function(e,t,n){"use strict";n(7),n(954),n(957),n(961),n(963),n(969),n(971),n(973),n(976),n(983),n(985),n(987),n(992),n(998),n(1003),n(1006),n(1007),n(1008);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)}})});n(1009),n(1010),n(1011);var i=n(865);n.n(i)()();n(0),n(1012),n(1013),n(494),n(495),n(201),n(1014),n(1015),n(620),n(496);n(4)},1561:function(e,t,n){"use strict";var i=n(0),o=n.n(i),r=n(11),a=n.n(r),s=n(13);function c(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}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.COOKIE_KEY="show_ee_trial_banner",this.$trialBanner=t,this.$mainNavbar=this.$trialBanner.siblings(".js-navbar-gitlab"),this.$secondaryNavbar=this.$mainNavbar.siblings(".js-page-with-sidebar"),this.licenseExpiresOn=new Date(this.$trialBanner.data("licenseExpiry"))}var t,n,i;return t=e,(n=[{key:"init",value:function(){var e=this;this.setCookies(),this.$trialBanner.on("close.bs.alert",function(t){return e.handleTrialBannerDismiss(t)})}},{key:"setCookies",value:function(){var e=new Date;a.a.get(this.COOKIE_KEY)?this.toggleBanner(Object(s.B)(a.a.get(this.COOKIE_KEY))):(e<this.licenseExpiresOn?a.a.set(this.COOKIE_KEY,"true",{expires:this.licenseExpiresOn}):a.a.set(this.COOKIE_KEY,"true",{expires:7300}),this.toggleBanner(!0))}},{key:"toggleMainNavbarMargin",value:function(e){this.$mainNavbar.length&&this.$mainNavbar.toggleClass("has-trial-banner",e)}},{key:"toggleSecondaryNavbarMargin",value:function(e){this.$secondaryNavbar.length&&this.$secondaryNavbar.toggleClass("has-trial-banner",e)}},{key:"toggleBanner",value:function(e){this.$trialBanner.toggleClass("hidden",!e),this.toggleMainNavbarMargin(e),this.toggleSecondaryNavbarMargin(e)}},{key:"handleTrialBannerDismiss",value:function(){this.toggleMainNavbarMargin(!1),this.toggleSecondaryNavbarMargin(!1),a.a.get(this.COOKIE_KEY)&&a.a.set(this.COOKIE_KEY,"false")}}])&&c(t.prototype,n),i&&c(t,i),e}();var d=n(485);o()(function(){var e;o()("#modal-upload-trial-license").modal("show"),(e=o()(".js-gitlab-ee-license-banner")).length&&new l(e).init(),d.a.bindTrackableContainer(".navbar-gitlab","navbar_top"),document.querySelectorAll("".concat(".navbar-gitlab"," .frequent-items-dropdown-container input")).forEach(function(e){e.addEventListener("click",function(e){var t=e.currentTarget.closest("li.dropdown"),n="".concat(t.getAttribute("data-track-label"),"_search");d.a.trackEvent("navbar_top","activate_form_input",{label:n,property:"",value:""})})})})},1578:function(e,t,n){"use strict";var i=n(0),o=n.n(i),r=n(259),a=n(135);function s(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=[],i=!0,o=!1,r=void 0;try{for(var a,s=e[Symbol.iterator]();!(i=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);i=!0);}catch(e){o=!0,r=e}finally{try{i||null==s.return||s.return()}finally{if(o)throw r}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function c(){var e=function(){var e,t=s([].slice.call(document.querySelectorAll(".js-feature-highlight")).sort(function(e,t){return(e.dataset.highlightPriority||0)<(t.dataset.highlightPriority||0)}),1)[0];return t&&(e=t.dataset.highlight),e}();return e&&function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:300,n=o()(Object(r.a)(e)),i=n.parent().siblings(".feature-highlight-popover-content"),s=a.c.bind(n,!1);n.data("content",i.prop("outerHTML")).popover({html:!0,template:'\n <div class="popover feature-highlight-popover" role="tooltip">\n <div class="arrow"></div>\n <div class="popover-body"></div>\n </div>\n '}).on("mouseenter",a.b).on("mouseleave",Object(a.a)(t)).on("inserted.bs.popover",r.b).on("show.bs.popover",function(){window.addEventListener("scroll",s,{once:!0})}).removeAttr("disabled")}(e),e}var l=n(104);document.addEventListener("DOMContentLoaded",function(){return"lg"===l.a.getBreakpointSize()&&(c(),!0)})},159:function(e,t,n){"use strict";n.d(t,"a",function(){return r});var i=n(0),o=n.n(i);function r(e){if(o()(e).hasClass("js-syntax-highlight"))return o()(e).addClass(gon.user_color_scheme);var t=o()(e).find(".js-syntax-highlight");return t.length?r(t):void 0}},166: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},17:function(e,t,n){"use strict";function i(e){return decodeURIComponent(window.location.search.substring(1)).split("&").reduce(function(t,n){var i=n.split("=");return i[0]===e&&t.push(i[1].replace(/\+/g," ")),t},[])}function o(e,t){var n={},i=t.match(/^([^?#]*)(\?[^#]*)?(.*)/);i[2]&&i[2].substr(1).split("&").forEach(function(e){if(e.length){var t=e.split("=");n[decodeURIComponent(t[0])]=decodeURIComponent(t.slice(1).join("="))}}),Object.assign(n,e);var o=Object.keys(n).map(function(e){return"".concat(encodeURIComponent(e),"=").concat(encodeURIComponent(n[e]))}).join("&");return"".concat(i[1],"?").concat(o).concat(i[3])}function r(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:window.location.href,n=document.createElement("a");return n.href=t,e.forEach(function(e){n.search=function(e,t){return decodeURIComponent(e).split("&").filter(function(e){return-1===e.indexOf(t)}).join("&")}(n.search,e)}),n.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 c(){s(window.location.href)}function l(e){return window.location.assign(e)}function d(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0,t="".concat(gon.relative_url_root||"","/-/ide/");return e&&(t+="project".concat(e.replace(new RegExp("^".concat(gon.relative_url_root||"")),""))),t}n.d(t,"b",function(){return i}),n.d(t,"c",function(){return o}),n.d(t,"f",function(){return r}),n.d(t,"a",function(){return a}),n.d(t,"g",function(){return s}),n.d(t,"e",function(){return c}),n.d(t,"d",function(){return l}),n.d(t,"h",function(){return d})},170:function(e,t,n){"use strict";function i(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}n.d(t,"a",function(){return o});var o=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],i=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),this.tokenKeys=t,this.alternativeTokenKeys=n,this.conditions=i,this.tokenKeysWithAlternative=this.tokenKeys.concat(this.alternativeTokenKeys)}var t,n,o;return t=e,(n=[{key:"get",value:function(){return this.tokenKeys}},{key:"getKeys",value:function(){return this.tokenKeys.map(function(e){return e.key})}},{key:"getAlternatives",value:function(){return this.alternativeTokenKeys}},{key:"getConditions",value:function(){return this.conditions}},{key:"shouldUppercaseTokenName",value:function(e){var t=this.searchByKey(e.toLowerCase());return t&&t.uppercaseTokenName}},{key:"shouldCapitalizeTokenValue",value:function(e){var t=this.searchByKey(e.toLowerCase());return t&&t.capitalizeTokenValue}},{key:"searchByKey",value:function(e){return this.tokenKeys.find(function(t){return t.key===e})||null}},{key:"searchBySymbol",value:function(e){return this.tokenKeys.find(function(t){return t.symbol===e})||null}},{key:"searchByKeyParam",value:function(e){return this.tokenKeysWithAlternative.find(function(t){var n=t.key;return n=n.replace("-","_"),t.param&&(n+="_".concat(t.param)),e===n})||null}},{key:"searchByConditionUrl",value:function(e){return this.conditions.find(function(t){return t.url===e})||null}},{key:"searchByConditionKeyValue",value:function(e,t){return this.conditions.find(function(n){return n.tokenKey===e&&n.value===t})||null}},{key:"addExtraTokensForMergeRequests",value:function(){var e={key:"wip",type:"string",param:"",symbol:"",icon:"admin",tag:"Yes or No",lowercaseValueOnSubmit:!0,uppercaseTokenName:!0,capitalizeTokenValue:!0};this.tokenKeys.push(e),this.tokenKeysWithAlternative.push(e)}}])&&i(t.prototype,n),o&&i(t,o),e}()},18:function(e,t,n){"use strict";n.d(t,"i",function(){return g}),n.d(t,"h",function(){return b}),n.d(t,"e",function(){return v}),n.d(t,"k",function(){return _}),n.d(t,"m",function(){return w}),n.d(t,"s",function(){return x}),n.d(t,"g",function(){return S}),n.d(t,"t",function(){return T}),n.d(t,"c",function(){return k}),n.d(t,"n",function(){return C}),n.d(t,"u",function(){return j}),n.d(t,"v",function(){return A}),n.d(t,"j",function(){return E}),n.d(t,"l",function(){return I}),n.d(t,"d",function(){return M}),n.d(t,"f",function(){return O}),n.d(t,"o",function(){return D}),n.d(t,"q",function(){return V}),n.d(t,"p",function(){return L}),n.d(t,"r",function(){return P}),n.d(t,"a",function(){return N}),n.d(t,"b",function(){return R});var i=n(0),o=n.n(i),r=n(7),a=n.n(r),s=n(424),c=n.n(s),l=n(112),d=n.n(l),u=n(46),f=n(1);function h(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}window.timeago=c.a;var p,g=function(e){return e?[Object(f.e)("Jan"),Object(f.e)("Feb"),Object(f.e)("Mar"),Object(f.e)("Apr"),Object(f.e)("May"),Object(f.e)("Jun"),Object(f.e)("Jul"),Object(f.e)("Aug"),Object(f.e)("Sep"),Object(f.e)("Oct"),Object(f.e)("Nov"),Object(f.e)("Dec")]:[Object(f.e)("January"),Object(f.e)("February"),Object(f.e)("March"),Object(f.e)("April"),Object(f.e)("May"),Object(f.e)("June"),Object(f.e)("July"),Object(f.e)("August"),Object(f.e)("September"),Object(f.e)("October"),Object(f.e)("November"),Object(f.e)("December")]},m=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:2;return"0".concat(e).slice(-t)},b=function(e){return["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"][e.getDay()]},v=function(e){return d()(e,"mmm d, yyyy h:MMtt Z")},y=Object(f.c)().replace(/-/g,"_"),_=function(){if(!p){c.a.register(y,function(e,t){return[[Object(f.e)("Timeago|just now"),Object(f.e)("Timeago|right now")],[Object(f.e)("Timeago|%s seconds ago"),Object(f.e)("Timeago|in %s seconds")],[Object(f.e)("Timeago|1 minute ago"),Object(f.e)("Timeago|in 1 minute")],[Object(f.e)("Timeago|%s minutes ago"),Object(f.e)("Timeago|in %s minutes")],[Object(f.e)("Timeago|1 hour ago"),Object(f.e)("Timeago|in 1 hour")],[Object(f.e)("Timeago|%s hours ago"),Object(f.e)("Timeago|in %s hours")],[Object(f.e)("Timeago|1 day ago"),Object(f.e)("Timeago|in 1 day")],[Object(f.e)("Timeago|%s days ago"),Object(f.e)("Timeago|in %s days")],[Object(f.e)("Timeago|1 week ago"),Object(f.e)("Timeago|in 1 week")],[Object(f.e)("Timeago|%s weeks ago"),Object(f.e)("Timeago|in %s weeks")],[Object(f.e)("Timeago|1 month ago"),Object(f.e)("Timeago|in 1 month")],[Object(f.e)("Timeago|%s months ago"),Object(f.e)("Timeago|in %s months")],[Object(f.e)("Timeago|1 year ago"),Object(f.e)("Timeago|in 1 year")],[Object(f.e)("Timeago|%s years ago"),Object(f.e)("Timeago|in %s years")]][t]}),c.a.register("".concat(y,"-remaining"),function(e,t){return[[Object(f.e)("Timeago|just now"),Object(f.e)("Timeago|right now")],[Object(f.e)("Timeago|%s seconds ago"),Object(f.e)("Timeago|%s seconds remaining")],[Object(f.e)("Timeago|1 minute ago"),Object(f.e)("Timeago|1 minute remaining")],[Object(f.e)("Timeago|%s minutes ago"),Object(f.e)("Timeago|%s minutes remaining")],[Object(f.e)("Timeago|1 hour ago"),Object(f.e)("Timeago|1 hour remaining")],[Object(f.e)("Timeago|%s hours ago"),Object(f.e)("Timeago|%s hours remaining")],[Object(f.e)("Timeago|1 day ago"),Object(f.e)("Timeago|1 day remaining")],[Object(f.e)("Timeago|%s days ago"),Object(f.e)("Timeago|%s days remaining")],[Object(f.e)("Timeago|1 week ago"),Object(f.e)("Timeago|1 week remaining")],[Object(f.e)("Timeago|%s weeks ago"),Object(f.e)("Timeago|%s weeks remaining")],[Object(f.e)("Timeago|1 month ago"),Object(f.e)("Timeago|1 month remaining")],[Object(f.e)("Timeago|%s months ago"),Object(f.e)("Timeago|%s months remaining")],[Object(f.e)("Timeago|1 year ago"),Object(f.e)("Timeago|1 year remaining")],[Object(f.e)("Timeago|%s years ago"),Object(f.e)("Timeago|%s years remaining")]][t]}),p=c()()}return p},w=function(e){var t,n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];e.each(function(e,t){n&&o()(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"),_().render(t,y)},x=function(e,t){return e?new Date(e)<new Date?t||Object(f.e)("Timeago|Past due"):_().format(e,"".concat(y,"-remaining")).trim():""},S=function(e,t){var n=Date.UTC(e.getFullYear(),e.getMonth(),e.getDate()),i=Date.UTC(t.getFullYear(),t.getMonth(),t.getDate());return Math.floor((i-n)/864e5)},T=function(e){var t=parseInt(e,10),n=Math.floor(t/60),i=t-60*n;return n>=1?"".concat(n," ").concat(Object(u.i)("minute",n)," ").concat(i," ").concat(Object(u.i)("second",i)):"".concat(i," ").concat(Object(u.i)("second",i))},k=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(!e)return e;var i=e.getMonth(),o=e.getFullYear(),r=[Object(f.e)("January"),Object(f.e)("February"),Object(f.e)("March"),Object(f.e)("April"),Object(f.e)("May"),Object(f.e)("June"),Object(f.e)("July"),Object(f.e)("August"),Object(f.e)("September"),Object(f.e)("October"),Object(f.e)("November"),Object(f.e)("December")],a=[Object(f.e)("Jan"),Object(f.e)("Feb"),Object(f.e)("Mar"),Object(f.e)("Apr"),Object(f.e)("May"),Object(f.e)("Jun"),Object(f.e)("Jul"),Object(f.e)("Aug"),Object(f.e)("Sep"),Object(f.e)("Oct"),Object(f.e)("Nov"),Object(f.e)("Dec")],s=t?a[i]:r[i];return n?"".concat(s," ").concat(e.getDate()):"".concat(s," ").concat(e.getDate(),", ").concat(o)},C=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return e?g(t)[e.getMonth()]:""},j=function(e){return e?new Date(e.getFullYear(),e.getMonth()+1,0).getDate():0},A=function(e){return e.reduce(function(e,t){return e+j(t)},0)},E=function(e){if(!e)return[];for(var t=["Saturday","Friday","Thursday","Wednesday","Tuesday","Monday","Sunday"],n=e.getMonth(),i=e.getFullYear(),o=[],r=new Date(i,n,1);r.getMonth()===n;){var a=b(r);"Sunday"===a&&o.push(new Date(r.getTime()));var s=t.indexOf(a)+1;r.setDate(r.getDate()+s)}return o},I=function(e,t){if(!(e instanceof Date&&t))return[];var n=new Array(t).fill().map(function(t,n){return new Date(e.getFullYear(),e.getMonth()+n,1)});return n[t-1].setDate(j(n[t-1])),n},M=function(e,t){return t.reduce(function(t,n){return e.getMonth()>n.getMonth()?t+j(n):e.getMonth()===n.getMonth()?t+e.getDate():t+0},0)};window.gl=window.gl||{},window.gl.utils=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},i=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),i.forEach(function(t){h(e,t,n[t])})}return e}({},window.gl.utils||{},{getTimeago:_,localTimeAgo:w});var O=function(e){var t=Math.floor(e/1e3)%60,n=Math.floor(e/1e3/60)%60,i=Math.floor(e/1e3/60/60),o="";return i<10&&(o+="0"),o+="".concat(i,":"),n<10&&(o+="0"),o+="".concat(n,":"),t<10&&(o+="0"),o+=t},D=function(e){var t=e.split("-"),n=parseInt(t[0],10),i=parseInt(t[1]-1,10),o=parseInt(t[2],10);return new Date(n,i,o)},V=function(e){var t=m(e.getDate()),n=m(e.getMonth()+1),i=e.getFullYear();return"".concat(i,"-").concat(n,"-").concat(t)},L=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.daysPerWeek,i=void 0===n?5:n,o=t.hoursPerDay,r=void 0===o?8:o,s={weeks:i*r*60,days:60*r,hours:60,minutes:1},c=Math.abs(e/60);return a.a.mapObject(s,function(e){var t=Math.floor(c/e);return c-=t*e,t})},P=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=a.a.reduce(e,function(e,n,i){var o=!!n;if(t&&o){var r=n>1?i:i.replace(/s$/,"");return"".concat(e," ").concat(n," ").concat(r)}return o?"".concat(e," ").concat(n).concat(i.charAt(0)):e},"").trim();return n.length?n:"0m"},N=function(e){return e.split(" ").filter(function(e){return"0"!==e.charAt(0)})[0]},R=function(e){var t=new Date(e).getTime()-Date.now();return Math.max(t,0)}},180:function(e,t,n){"use strict";var i=n(4),o=n(640);function r(e){return(r="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})(e)}function a(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function s(e,t){return!t||"object"!==r(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function c(e){return(c=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function l(e,t){return(l=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var d=function(e){function t(){var e;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(e=s(this,c(t).call(this))).pendingRequests={},e}var n,r,d;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&l(e,t)}(t,o["a"]),n=t,(r=[{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 o=this.pendingRequests[e];return o||(o=i.a.get(e).then(function(t){var i=t.data;n.internalStorage[e]=i,delete n.pendingRequests[e]}).catch(function(t){var i=new Error("".concat(e,": ").concat(t.message));throw i.textStatus=t.message,delete n.pendingRequests[e],i}),this.pendingRequests[e]=o),o.then(function(){return n.get(e)})}}])&&a(n.prototype,r),d&&a(n,d),t}();t.a=new d},2:function(e,t,n){"use strict";function i(e,t,n,i,o,r,a,s){var c,l="function"==typeof e?e.options:e;if(t&&(l.render=t,l.staticRenderFns=n,l._compiled=!0),i&&(l.functional=!0),r&&(l._scopeId="data-v-"+r),a?(c=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__),o&&o.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(a)},l._ssrRegister=c):o&&(c=s?function(){o.call(this,this.$root.$options.shadowRoot)}:o),c)if(l.functional){l._injectStyles=c;var d=l.render;l.render=function(e,t){return c.call(t),d(e,t)}}else{var u=l.beforeCreate;l.beforeCreate=u?[].concat(u,c):[c]}return{exports:e,options:l}}n.d(t,"a",function(){return i})},201:function(e,t,n){var i,o,r;
|
||
/*!
|
||
* 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";o=[n(0)],void 0===(r="function"==typeof(i=function(e){var t=e.scrollTo=function(t,n,i){return e(window).scrollTo(t,n,i)};function n(t){return!t.nodeName||-1!==e.inArray(t.nodeName.toLowerCase(),["iframe","#document","html","body"])}function i(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(o,r,a){"object"==typeof r&&(a=r,r=0),"function"==typeof a&&(a={onAfter:a}),"max"===o&&(o=9e9),a=e.extend({},t.defaults,a),r=r||a.duration;var s=a.queue&&a.axis.length>1;return s&&(r/=2),a.offset=i(a.offset),a.over=i(a.over),this.each(function(){if(null!==o){var c,l=n(this),d=l?this.contentWindow||window:this,u=e(d),f=o,h={};switch(typeof f){case"number":case"string":if(/^([+-]=?)?\d+(\.\d+)?(px|%)?$/.test(f)){f=i(f);break}f=l?e(f):e(f,d);case"object":if(0===f.length)return;(f.is||f.style)&&(c=(f=e(f)).offset())}var p=e.isFunction(a.offset)&&a.offset(d,f)||a.offset;e.each(a.axis.split(""),function(e,n){var i="x"===n?"Left":"Top",o=i.toLowerCase(),r="scroll"+i,m=u[r](),b=t.max(d,n);if(c)h[r]=c[o]+(l?0:m-u.offset()[o]),a.margin&&(h[r]-=parseInt(f.css("margin"+i),10)||0,h[r]-=parseInt(f.css("border"+i+"Width"),10)||0),h[r]+=p[o]||0,a.over[o]&&(h[r]+=f["x"===n?"width":"height"]()*a.over[o]);else{var v=f[o];h[r]=v.slice&&"%"===v.slice(-1)?parseFloat(v)/100*b:v}a.limit&&/^\d+$/.test(h[r])&&(h[r]=h[r]<=0?0:Math.min(h[r],b)),!e&&a.axis.length>1&&(m===h[r]?h={}:s&&(g(a.onAfterFirst),h={}))}),g(a.onAfter)}function g(t){var n=e.extend({},a,{queue:!0,duration:r,complete:t&&function(){t.call(d,f,a)}});u.animate(h,n)}})},t.max=function(t,i){var o="x"===i?"Width":"Height",r="scroll"+o;if(!n(t))return t[r]-e(t)[o.toLowerCase()]();var a="client"+o,s=t.ownerDocument||t.document,c=s.documentElement,l=s.body;return Math.max(c[r],l[r])-Math.min(c[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 i=Math.round(t.now);n!==i&&(e(t.elem)[t.prop](i),t._last=this.get(t))}},t})?i.apply(t,o):i)||(e.exports=r)}()},202:function(e,t,n){"use strict";var i,o,r=n(0),a=n.n(r),s=n(4),c=n(8),l=n(1),d=null;function u(){}u.prototype.referenceThreshold=10,u.prototype.emptyMessage="Nothing to preview.",u.prototype.ajaxCache={},u.prototype.showPreview=function(e){var t,n,i,o=e.find(".js-md-preview");o.hasClass("md-preview-loading")||(t=e.find("textarea.markdown-area").val(),n=e.attr("data-markdown-version"),i=this.versionedPreviewPath(o.data("url"),n),0===t.trim().length?(o.text(this.emptyMessage),this.hideReferencedUsers(e)):(o.addClass("md-preview-loading").text("Loading..."),this.fetchMarkdownPreview(t,i,function(t){var n;n=t.body.length>0?t.body:this.emptyMessage,o.removeClass("md-preview-loading").html(n),o.renderGFM(),this.renderReferencedUsers(t.references.users,e),t.references.commands&&this.renderReferencedCommands(t.references.commands,e)}.bind(this))))},u.prototype.versionedPreviewPath=function(e,t){return void 0===t?e:"".concat(e).concat(-1===e.indexOf("?")?"?":"&","markdown_version=").concat(t)},u.prototype.fetchMarkdownPreview=function(e,t,n){var i=this;t&&(e!==this.ajaxCache.text?s.a.post(t,{text:e}).then(function(t){var o=t.data;i.ajaxCache={text:e,response:o},n(o)}).catch(function(){return Object(c.a)(Object(l.a)("An error occurred while fetching markdown preview"))}):n(this.ajaxCache.response))},u.prototype.hideReferencedUsers=function(e){e.find(".referenced-users").hide()},u.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())},u.prototype.hideReferencedCommands=function(e){e.find(".referenced-commands").hide()},u.prototype.renderReferencedCommands=function(e,t){var n;n=t.find(".referenced-commands"),e.length>0?(n.html(e),n.show()):(n.html(""),n.hide())},o=new u,i=null;var f=a()(".md-header-toolbar");a.a.fn.setupMarkdownPreview=function(){var e=a()(this);e.find("textarea.markdown-area").on("input",function(){o.hideReferencedUsers(e)})},a()(document).on("markdown-preview:show",function(e,t){t&&(i=t.find("textarea.markdown-area"),d=i.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(),f.removeClass("active"),o.showPreview(t))}),a()(document).on("markdown-preview:hide",function(e,t){t&&(i=null,d&&t.find("textarea.markdown-area").height(d),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(),f.addClass("active"),o.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()):i&&(n=i,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])})},206:function(e,t,n){"use strict";
|
||
/*!
|
||
* vue-resource v1.5.0
|
||
* https://github.com/pagekit/vue-resource
|
||
* Released under the MIT License.
|
||
*/var i=2;function o(e){this.state=i,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)}}o.reject=function(e){return new o(function(t,n){n(e)})},o.resolve=function(e){return new o(function(t,n){t(e)})},o.all=function(e){return new o(function(t,n){var i=0,r=[];function a(n){return function(o){r[n]=o,(i+=1)===e.length&&t(r)}}0===e.length&&t(r);for(var s=0;s<e.length;s+=1)o.resolve(e[s]).then(a(s),n)})},o.race=function(e){return new o(function(t,n){for(var i=0;i<e.length;i+=1)o.resolve(e[i]).then(t,n)})};var r=o.prototype;function a(e,t){e instanceof Promise?this.promise=e:this.promise=new Promise(e.bind(t)),this.context=t}r.resolve=function(e){var t=this;if(t.state===i){if(e===t)throw new TypeError("Promise settled with itself.");var n=!1;try{var o=e&&e.then;if(null!==e&&"object"==typeof e&&"function"==typeof o)return void o.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()}},r.reject=function(e){if(this.state===i){if(e===this)throw new TypeError("Promise settled with itself.");this.state=1,this.value=e,this.notify()}},r.notify=function(){var e,t=this;c(function(){if(t.state!==i)for(;t.deferred.length;){var e=t.deferred.shift(),n=e[0],o=e[1],r=e[2],a=e[3];try{0===t.state?r("function"==typeof n?n.call(void 0,t.value):t.value):1===t.state&&("function"==typeof o?r(o.call(void 0,t.value)):a(t.value))}catch(e){a(e)}}},e)},r.then=function(e,t){var n=this;return new o(function(i,o){n.deferred.push([e,t,i,o]),n.notify()})},r.catch=function(e){return this.then(void 0,e)},"undefined"==typeof Promise&&(window.Promise=o),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 c,l={}.hasOwnProperty,d=[].slice,u=!1,f="undefined"!=typeof window;function h(e){return e?e.replace(/^\s*|\s*$/g,""):""}function p(e){return e?e.toLowerCase():""}var g=Array.isArray;function m(e){return"string"==typeof e}function b(e){return"function"==typeof e}function v(e){return null!==e&&"object"==typeof e}function y(e){return v(e)&&Object.getPrototypeOf(e)==Object.prototype}function _(e,t,n){var i=a.resolve(e);return arguments.length<2?i:i.then(t,n)}function w(e,t,n){return b(n=n||{})&&(n=n.call(t)),T(e.bind({$vm:t,$options:n}),e,{$options:n})}function x(e,t){var n,i;if(g(e))for(n=0;n<e.length;n++)t.call(e[n],e[n],n);else if(v(e))for(i in e)l.call(e,i)&&t.call(e[i],e[i],i);return e}var S=Object.assign||function(e){return d.call(arguments,1).forEach(function(t){k(e,t)}),e};function T(e){return d.call(arguments,1).forEach(function(t){k(e,t,!0)}),e}function k(e,t,n){for(var i in t)n&&(y(t[i])||g(t[i]))?(y(t[i])&&!y(e[i])&&(e[i]={}),g(t[i])&&!g(e[i])&&(e[i]=[]),k(e[i],t[i],n)):void 0!==t[i]&&(e[i]=t[i])}function C(e,t,n){var i=function(e){var t=["+","#",".","/",";","?","&"],n=[];return{vars:n,expand:function(i){return e.replace(/\{([^{}]+)\}|([^{}]+)/g,function(e,o,r){if(o){var a=null,s=[];if(-1!==t.indexOf(o.charAt(0))&&(a=o.charAt(0),o=o.substr(1)),o.split(/,/g).forEach(function(e){var t=/([^:*]*)(?::(\d+)|(\*))?/.exec(e);s.push.apply(s,function(e,t,n,i){var o=e[n],r=[];if(j(o)&&""!==o)if("string"==typeof o||"number"==typeof o||"boolean"==typeof o)o=o.toString(),i&&"*"!==i&&(o=o.substring(0,parseInt(i,10))),r.push(E(t,o,A(t)?n:null));else if("*"===i)Array.isArray(o)?o.filter(j).forEach(function(e){r.push(E(t,e,A(t)?n:null))}):Object.keys(o).forEach(function(e){j(o[e])&&r.push(E(t,o[e],e))});else{var a=[];Array.isArray(o)?o.filter(j).forEach(function(e){a.push(E(t,e))}):Object.keys(o).forEach(function(e){j(o[e])&&(a.push(encodeURIComponent(e)),a.push(E(t,o[e].toString())))}),A(t)?r.push(encodeURIComponent(n)+"="+a.join(",")):0!==a.length&&r.push(a.join(","))}else";"===t?r.push(encodeURIComponent(n)):""!==o||"&"!==t&&"?"!==t?""===o&&r.push(""):r.push(encodeURIComponent(n)+"=");return r}(i,a,t[1],t[2]||t[3])),n.push(t[1])}),a&&"+"!==a){var c=",";return"?"===a?c="&":"#"!==a&&(c=a),(0!==s.length?a:"")+s.join(c)}return s.join(",")}return I(r)})}}}(e),o=i.expand(t);return n&&n.push.apply(n,i.vars),o}function j(e){return void 0!==e&&null!==e}function A(e){return";"===e||"&"===e||"?"===e}function E(e,t,n){return t="+"===e||"#"===e?I(t):encodeURIComponent(t),n?encodeURIComponent(n)+"="+t:t}function I(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 M(e,t){var n,i=this||{},o=e;return m(e)&&(o={url:e,params:t}),o=T({},M.options,i.$options,o),M.transforms.forEach(function(e){m(e)&&(e=M.transform[e]),b(e)&&(n=function(e,t,n){return function(i){return e.call(n,i,t)}}(e,n,i.$vm))}),n(o)}function O(e){return new a(function(t){var n=new XDomainRequest,i=function(i){var o=i.type,r=0;"load"===o?r=200:"error"===o&&(r=500),t(e.respondWith(n.responseText,{status:r}))};e.abort=function(){return n.abort()},n.open(e.method,e.getUrl()),e.timeout&&(n.timeout=e.timeout),n.onload=i,n.onabort=i,n.onerror=i,n.ontimeout=i,n.onprogress=function(){},n.send(e.getBody())})}M.options={url:"",root:null,params:{}},M.transform={template:function(e){var t=[],n=C(e.url,e.params,t);return t.forEach(function(t){delete e.params[t]}),n},query:function(e,t){var n=Object.keys(M.options.params),i={},o=t(e);return x(e.params,function(e,t){-1===n.indexOf(t)&&(i[t]=e)}),(i=M.params(i))&&(o+=(-1==o.indexOf("?")?"?":"&")+i),o},root:function(e,t){var n,i,o=t(e);return m(e.root)&&!/^(https?:)?\//.test(o)&&(n=e.root,i="/",o=(n&&void 0===i?n.replace(/\s+$/,""):n&&i?n.replace(new RegExp("["+i+"]+$"),""):n)+"/"+o),o}},M.transforms=["template","query","root"],M.params=function(e){var t=[],n=encodeURIComponent;return t.add=function(e,t){b(t)&&(t=t()),null===t&&(t=""),this.push(n(e)+"="+n(t))},function e(t,n,i){var o,r=g(n),a=y(n);x(n,function(n,s){o=v(n)||g(n),i&&(s=i+"["+(a||o?s:"")+"]"),!i&&r?t.add(n.name,n.value):o?e(t,n,s):t.add(s,n)})}(t,e),t.join("&").replace(/%20/g,"+")},M.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 D=f&&"withCredentials"in new XMLHttpRequest;function V(e){return new a(function(t){var n,i,o=e.jsonp||"callback",r=e.jsonpCallback||"_jsonp"+Math.random().toString(36).substr(2),a=null;n=function(n){var o=n.type,s=0;"load"===o&&null!==a?s=200:"error"===o&&(s=500),s&&window[r]&&(delete window[r],document.body.removeChild(i)),t(e.respondWith(a,{status:s}))},window[r]=function(e){a=JSON.stringify(e)},e.abort=function(){n({type:"abort"})},e.params[o]=r,e.timeout&&setTimeout(e.abort,e.timeout),(i=document.createElement("script")).src=e.getUrl(),i.type="text/javascript",i.async=!0,i.onload=n,i.onerror=n,document.body.appendChild(i)})}function L(e){return new a(function(t){var n=new XMLHttpRequest,i=function(i){var o=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)});x(h(n.getAllResponseHeaders()).split("\n"),function(e){o.headers.append(e.slice(0,e.indexOf(":")),e.slice(e.indexOf(":")+1))}),t(o)};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"),b(e.progress)&&"GET"===e.method&&n.addEventListener("progress",e.progress),b(e.downloadProgress)&&n.addEventListener("progress",e.downloadProgress),b(e.progress)&&/^(POST|PUT)$/i.test(e.method)&&n.upload.addEventListener("progress",e.progress),b(e.uploadProgress)&&n.upload&&n.upload.addEventListener("progress",e.uploadProgress),e.headers.forEach(function(e,t){n.setRequestHeader(t,e)}),n.onload=i,n.onabort=i,n.onerror=i,n.ontimeout=i,n.send(e.getBody())})}function P(e){var t=n(1018);return new a(function(n){var i,o=e.getUrl(),r=e.getBody(),a=e.method,s={};e.headers.forEach(function(e,t){s[t]=e}),t(o,{body:r,method:a,headers:s}).then(i=function(t){var i=e.respondWith(t.body,{status:t.statusCode,statusText:h(t.statusMessage)});x(t.headers,function(e,t){i.headers.set(t,e)}),n(i)},function(e){return i(e.response)})})}function N(e){return(e.client||(f?L:P))(e)}var R=function(e){var t=this;this.map={},x(e,function(e,n){return t.append(n,e)})};function F(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!==F(this.map,e)},R.prototype.get=function(e){var t=this.map[F(this.map,e)];return t?t.join():null},R.prototype.getAll=function(e){return this.map[F(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)}(F(this.map,e)||e)]=[h(t)]},R.prototype.append=function(e,t){var n=this.map[F(this.map,e)];n?n.push(h(t)):this.set(e,t)},R.prototype.delete=function(e){delete this.map[F(this.map,e)]},R.prototype.deleteAll=function(){this.map={}},R.prototype.forEach=function(e,t){var n=this;x(this.map,function(i,o){x(i,function(i){return e.call(t,i,o,n)})})};var B=function(e,t){var n=t.url,i=t.headers,o=t.status,r=t.statusText;this.url=n,this.ok=o>=200&&o<300,this.status=o||0,this.statusText=r||"",this.headers=new R(i),this.body=e,m(e)?this.bodyText=e:"undefined"!=typeof Blob&&e instanceof Blob&&(this.bodyBlob=e,function(e){return 0===e.type.indexOf("text")||-1!==e.type.indexOf("json")}(e)&&(this.bodyText=function(e){return new a(function(t){var n=new FileReader;n.readAsText(e),n.onload=function(){t(n.result)}})}(e)))};B.prototype.blob=function(){return _(this.bodyBlob)},B.prototype.text=function(){return _(this.bodyText)},B.prototype.json=function(){return _(this.text(),function(e){return JSON.parse(e)})},Object.defineProperty(B.prototype,"data",{get:function(){return this.body},set:function(e){this.body=e}});var z=function(e){var t;this.body=null,this.params={},S(this,e,{method:(t=e.method||"GET",t?t.toUpperCase():"")}),this.headers instanceof R||(this.headers=new R(this.headers))};z.prototype.getUrl=function(){return M(this)},z.prototype.getBody=function(){return this.body},z.prototype.respondWith=function(e,t){return new B(e,S(t||{},{url:this.getUrl()}))};var H={"Content-Type":"application/json;charset=utf-8"};function $(e){var t=this||{},n=function(e){var t=[N],n=[];function i(i){for(;t.length;){var o=t.pop();if(b(o)){var r=void 0,s=void 0;if(v(r=o.call(e,i,function(e){return s=e})||s))return new a(function(t,i){n.forEach(function(t){r=_(r,function(n){return t.call(e,n)||n},i)}),_(r,t,i)},e);b(r)&&n.unshift(r)}else c="Invalid interceptor of type "+typeof o+", must be a function","undefined"!=typeof console&&u&&console.warn("[VueResource warn]: "+c)}var c}return v(e)||(e=null),i.use=function(e){t.push(e)},i}(t.$vm);return function(e){d.call(arguments,1).forEach(function(t){for(var n in t)void 0===e[n]&&(e[n]=t[n])})}(e||{},t.$options,$.options),$.interceptors.forEach(function(e){m(e)&&(e=$.interceptor[e]),b(e)&&n.use(e)}),n(new z(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 q(e,t,n,i){var o=this||{},r={};return x(n=S({},q.actions,n),function(n,a){n=T({url:e,params:S({},t)},i,n),r[a]=function(){return(o.$http||$)(function(e,t){var n,i=S({},e),o={};switch(t.length){case 2:o=t[0],n=t[1];break;case 1:/^(POST|PUT|PATCH)$/i.test(i.method)?n=t[0]:o=t[0];break;case 0:break;default:throw"Expected up to 2 arguments [params, body], got "+t.length+" arguments"}return i.body=n,i.params=S({},i.params,o),i}(n,arguments))}}),r}function W(e){var t,n,i;W.installed||(n=(t=e).config,i=t.nextTick,c=i,u=n.debug||!n.silent,e.url=M,e.http=$,e.resource=q,e.Promise=a,Object.defineProperties(e.prototype,{$url:{get:function(){return w(e.url,this,this.$options.url)}},$http:{get:function(){return w(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)}}}}))}$.options={},$.headers={put:H,post:H,patch:H,delete:H,common:{Accept:"application/json, text/plain, */*"},custom:{}},$.interceptor={before:function(e){b(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=V)},json:function(e){var t=e.headers.get("Content-Type")||"";return v(e.body)&&0===t.indexOf("application/json")&&(e.body=JSON.stringify(e.body)),function(e){return e.bodyText?_(e.text(),function(t){var n,i;if(0===(e.headers.get("Content-Type")||"").indexOf("application/json")||(i=(n=t).match(/^\s*(\[|\{)/))&&{"[":/]\s*$/,"{":/}\s*$/}[i[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"):v(e.body)&&e.emulateJSON&&(e.body=M.params(e.body),e.headers.set("Content-Type","application/x-www-form-urlencoded"))},header:function(e){x(S({},$.headers.common,e.crossOrigin?{}:$.headers.custom,$.headers[p(e.method)]),function(t,n){e.headers.has(n)||e.headers.set(n,t)})},cors:function(e){if(f){var t=M.parse(location.href),n=M.parse(e.getUrl());n.protocol===t.protocol&&n.host===t.host||(e.crossOrigin=!0,e.emulateHTTP=!1,D||(e.client=O))}}},$.interceptors=["before","method","jsonp","json","form","header","cors"],["get","delete","head","jsonp"].forEach(function(e){$[e]=function(t,n){return this(S(n||{},{url:t,method:e}))}}),["post","put","patch"].forEach(function(e){$[e]=function(t,n,i){return this(S(i||{},{url:t,method:e,body:n}))}}),q.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(W),t.a=W},207:function(e,t,n){"use strict";n.d(t,"a",function(){return o});n(170);function i(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}var o=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}var t,n,o;return t=e,o=[{key:"processTokens",value:function(e,t){var n=new RegExp("(".concat(t.join("|"),"):([~%@]?)(?:('[^']*'{0,1})|(\"[^\"]*\"{0,1})|(\\S+))"),"g"),i=[],o=[],r=null,a=e.replace(n,function(e,t,n,r,a,s){var c,l=r||a||s,d=n;return"~"!==l&&"%"!==l&&"@"!==l||(d=l,l=""),c="".concat(t,":").concat(l),-1===o.indexOf(c)&&(o.push(c),i.push({key:t,value:l||"",symbol:d||""})),""}).replace(/\s{2,}/g," ").trim()||"";if(i.length>0){var s=i[i.length-1],c="".concat(s.key,":").concat(s.symbol).concat(s.value);r=e.lastIndexOf(c)===e.length-c.length?s:a}else r=a;return{tokens:i,lastToken:r,searchToken:a}}}],(n=null)&&i(t.prototype,n),o&&i(t,o),e}()},223:function(e,t,n){"use strict";n.d(t,"a",function(){return _}),n.d(t,"b",function(){return x});var i=n(0),o=n.n(i),r=n(7),a=n.n(r),s=n(11),c=n.n(s),l=n(1),d=n(13),u=n(225),f=n(8),h=n(4);function p(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function g(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}var m="transitionend webkitTransitionEnd oTransitionEnd MSTransitionEnd",b=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.setTimeout,v=/(?:, and | and |, )/,y={activity:"Activity",people:"People",nature:"Nature",food:"Food",travel:"Travel",objects:"Objects",symbols:"Symbols",flags:"Flags"},_=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.emoji=t,this.eventListeners=[],this.toggleButtonSelector=".js-add-award",this.menuClass="js-award-emoji-menu"}var t,n,i;return t=e,(n=[{key:"bindEvents",value:function(){var e=this,t=this.targetContainerEl?o()(this.targetContainerEl):o()(document);this.registerEventListener("one",t,"mouseenter focus",this.toggleButtonSelector,"mouseenter focus",function(){0===o()(".".concat(e.menuClass)).length&&b(function(){e.createEmojiMenu()})}),this.registerEventListener("on",t,"click",this.toggleButtonSelector,function(t){t.stopPropagation(),t.preventDefault(),e.showEmojiMenu(o()(t.currentTarget))}),this.registerEventListener("on",o()("html"),"click",function(t){o()(t.target).closest(".".concat(e.menuClass)).length||(o()(".js-awards-block.current").removeClass("current"),o()(".".concat(e.menuClass)).is(":visible")&&(o()("".concat(e.toggleButtonSelector,".is-active")).removeClass("is-active"),e.hideMenuElement(o()(".".concat(e.menuClass)))))});var n=".js-awards-block .js-emoji-btn, .".concat(this.menuClass," .js-emoji-btn");this.registerEventListener("on",t,"click",n,function(t){t.preventDefault();var n=o()(t.currentTarget),i=n.find("gl-emoji"),r=n.find(".icon"),a=(i.length?i:r).data("name");n.closest(".js-awards-block").addClass("current"),e.addAward(e.getVotesBlock(),e.getAwardUrl(),a)})}},{key:"registerEventListener",value:function(){for(var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"on",n=arguments.length>1?arguments[1]:void 0,i=arguments.length,o=new Array(i>2?i-2:0),r=2;r<i;r++)o[r-2]=arguments[r];(e=n[t]).call.apply(e,[n].concat(o)),this.eventListeners.push({element:n,args:o})}},{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=o()(".".concat(this.menuClass));n.length?n.is(".is-visible")?(e.removeClass("is-active"),this.hideMenuElement(n),o()(".js-emoji-menu-search").blur()):(e.addClass("is-active"),this.positionMenu(n,e),this.showMenuElement(n),o()(".js-emoji-menu-search").focus()):(e.addClass("is-loading is-active"),this.createEmojiMenu(function(){var n=o()(".".concat(t.menuClass));return e.removeClass("is-loading"),t.positionMenu(n,e),setTimeout(function(){t.showMenuElement(n),o()(".js-emoji-menu-search").focus()},200)}))}},{key:"createEmojiMenu",value:function(e){if(!this.isCreatingEmojiMenu){this.isCreatingEmojiMenu=!0;var t=this.emoji.getEmojiCategoryMap(),n=Object.keys(t)[0],i=t[n],o=this.renderCategory(y[n],i),r=this.getFrequentlyUsedEmojis(),a="";r.length>0&&(a=this.renderCategory("Frequently used",r,{menuListClass:"frequent-emojis"}));var s='\n <div class="emoji-menu '.concat(this.menuClass,'">\n <input type="text" name="emoji-menu-search" value="" class="js-emoji-menu-search emoji-search search-input form-control" placeholder="Search emoji" />\n\n <div class="emoji-menu-content">\n ').concat(a,"\n ").concat(o,"\n </div>\n </div>\n ");(this.targetContainerEl?this.targetContainerEl: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(".".concat(this.menuClass)),i=n.querySelector(".emoji-menu-content");Object.keys(t).slice(1).reduce(function(n,o){return n.then(function(){return new Promise(function(n){var r=t[o],a=e.renderCategory(y[o],r);b(function(){i.insertAdjacentHTML("beforeend",a),n()})})})},Promise.resolve()).then(function(){n&&n.dispatchEvent(new CustomEvent("build-emoji-menu-finish"))}).catch(function(e){throw i.insertAdjacentHTML("beforeend","<p>We encountered an error while adding the remaining categories</p>"),new Error("Error occurred in addRemainingEmojiMenuCategories: ".concat(e.message))})}}},{key:"renderCategory",value:function(e,t){var n=this,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return'\n <h5 class="emoji-menu-title">\n '.concat(e,'\n </h5>\n <ul class="clearfix emoji-menu-list ').concat(i.menuListClass||"",'">\n ').concat(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 '.concat(n.emoji.glEmojiTag(e,{sprite:!0}),"\n </button>\n </li>\n ")}).join("\n"),"\n </ul>\n ")}},{key:"positionMenu",value:function(e,t){if(this.targetContainerEl)return e.css({top:"".concat(t.outerHeight(),"px")});var n=t.data("position"),i={top:"".concat(t.offset().top+t.outerHeight(),"px")};return"right"===n?(i.left="".concat(t.offset().left-e.outerWidth()+20,"px"),e.addClass("is-aligned-right")):(i.left="".concat(t.offset().left,"px"),e.removeClass("is-aligned-right")),e.css(i)}},{key:"addAward",value:function(e,t,n,i,r){var a=this,s=e.closest(".js-noteable-awards").length;if(Object(u.d)()&&!s){var c=e.attr("id").replace("note_","");this.hideMenuElement(o()(".".concat(this.menuClass))),o()("".concat(this.toggleButtonSelector,".is-active")).removeClass("is-active");var l=new CustomEvent("toggleAward",{detail:{awardName:n,noteId:c}});document.querySelector(".js-vue-notes-event").dispatchEvent(l)}var d=this.emoji.normalizeEmojiName(n),f=this.findEmojiIcon(e,d).parent();return this.postEmoji(f,t,d,function(){return a.addAwardToEmojiBar(e,d,i),"function"==typeof r?r():void 0}),this.hideMenuElement(o()(".".concat(this.menuClass))),o()("".concat(this.toggleButtonSelector,".is-active")).removeClass("is-active")}},{key:"addAwardToEmojiBar",value:function(e,t,n){(n||null===n)&&this.checkMutuality(e,t),this.addEmojiToFrequentlyUsedList(t);var i=this.emoji.normalizeEmojiName(t),o=this.findEmojiIcon(e,i).parent();if(o.length>0)if(this.isActive(o))this.decrementCounter(o,i);else{var r=o.find(".js-counter");r.text(parseInt(r.text(),10)+1),o.addClass("active"),this.addYouToUserList(e,i),this.animateEmoji(o)}else e.removeClass("hidden"),this.createEmoji(e,i)}},{key:"getVotesBlock",value:function(){if(Object(u.d)()){var e=o()("".concat(this.toggleButtonSelector,".is-active")).closest(".note.timeline-entry");if(e.length)return e}var t=o()(".js-awards-block.current"),n=t;return 0===t.length&&(n=o()(".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 i="thumbsup"===t?"thumbsdown":"thumbsup";e.find('[data-name="'.concat(i,'"]')).parent().hasClass("active")&&this.addAward(e,n,i,!1)}}},{key:"isActive",value:function(e){return e.hasClass("active")}},{key:"decrementCounter",value:function(e,t){var n=o()(".js-counter",e),i=parseInt(n.text(),10);return i>1?(n.text(i-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 "):"".concat(e.slice(0,-1).join(", "),", and ").concat(e[e.length-1])}},{key:"removeYouFromUserList",value:function(e){var t=e,n=this.getAwardTooltip(t).split(v);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(),i=this.getAwardTooltip(n),o=[];return i&&(o=i.trim().split(v)),o.unshift("You"),n.attr("title",this.toSentence(o)).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 '.concat(this.emoji.glEmojiTag(t),'\n <span class="award-control-text js-counter">1</span>\n </button>\n '),i=o()(n);i.insertBefore(e.find(".js-award-holder")).find(".emoji-icon").data("name",t),this.animateEmoji(i),o()(".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){o()(e.currentTarget).removeClass("pulse animated once short")})}},{key:"createEmoji",value:function(e,t){var n=this;o()(".".concat(this.menuClass)).length&&this.createAwardButtonForVotesBlock(e,t),this.createEmojiMenu(function(){n.createAwardButtonForVotesBlock(e,t)})}},{key:"postEmoji",value:function(e,t,n,i){h.a.post(t,{name:n}).then(function(e){e.data.ok&&i()}).catch(function(){return Object(f.a)(Object(l.a)("Something went wrong on our end."))})}},{key:"findEmojiIcon",value:function(e,t){return e.find('.js-emoji-btn [data-name="'.concat(t,'"]'))}},{key:"userAuthored",value:function(e){var t=this.getAwardTooltip(e);return Object(d.M)(e,"You cannot vote on your own issue, MR and note").tooltip("show"),setTimeout(function(){e.tooltip("hide"),Object(d.M)(e,t)},2800)}},{key:"scrollToAwards",value:function(){var e={scrollTop:o()(".awards").offset().top-110};return o()("body, html").animate(e,200)}},{key:"addEmojiToFrequentlyUsedList",value:function(e){this.emoji.isEmojiNameValid(e)&&(this.frequentlyUsedEmojis=a.a.uniq(this.getFrequentlyUsedEmojis().concat(e)),c.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((c.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=o()(".js-emoji-menu-search");this.registerEventListener("on",t,"input",function(t){var n=o()(t.target).val().trim();e.searchEmojis(n)});var n=o()(".".concat(this.menuClass));this.registerEventListener("on",n,m,function(t){t.target===t.currentTarget&&e.searchEmojis("")})}},{key:"searchEmojis",value:function(e){if(o()(".js-emoji-menu-search").val(e),o()("ul.emoji-menu-search, h5.emoji-search-title").remove(),e.length>0){var t=o()('<h5 class="emoji-search-title"/>').text("Search results"),n=this.findMatchingEmojiElements(e).show(),i=o()("<ul>").addClass("emoji-menu-list emoji-menu-search").append(n);o()(".emoji-menu-content ul, .emoji-menu-content h5").hide(),o()(".emoji-menu-content").append(t).append(i)}else o()(".emoji-menu-content").children().show()}},{key:"findMatchingEmojiElements",value:function(e){var t=this.emoji.filterEmojiNamesByAlias(e);return o()(".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(p(e.args)))}),o()(".".concat(this.menuClass)).remove()}}])&&g(t.prototype,n),i&&g(t,i),e}(),w=null;function x(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return w&&!e||(w=Promise.resolve().then(n.bind(null,236)).then(function(e){var t=new _(e);return t.bindEvents(),t})),w}},224:function(e,t,n){"use strict";var i=n(7),o=/\{\{(.+?)\}\}/g,r={toCamelCase:function(e){return this.camelize(e.split("-").slice(1).join(" "))},template:function(e,t){var n=Object(i.template)(e,{escape:o});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"))}};function a(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function s(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}var c=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}var t,n,i;return t=e,i=[{key:"setImagesSrc",value:function(e){a(e.querySelectorAll("img[data-src]")).forEach(function(e){var t=e;t.src=t.getAttribute("data-src"),t.removeAttribute("data-src")})}}],(n=[{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(".".concat("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=r.template(this.templateString,t),i=document.createElement("div");return i.innerHTML=n,e.setImagesSrc(i),i.firstChild.style.display=t.droplab_hidden?"none":"block",i.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)}}])&&s(t.prototype,n),i&&s(t,i),e}();var l=function e(t,n,i,o){!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 c(n,o),this.type="Hook",this.event="click",this.plugins=i||[],this.config=o||{},this.id=t.id};function d(e){return(d="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})(e)}function u(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function f(e,t){return!t||"object"!==d(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function h(e){return(h=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function p(e,t){return(p=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var g=function(e){function t(e,n,i,o){var r;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(r=f(this,h(t).call(this,e,n,i,o))).type="button",r.event="click",r.eventWrapper={},r.addEvents(),r.addPlugins(),r}var n,i,o;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&p(e,t)}(t,l),n=t,(i=[{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()}}])&&u(n.prototype,i),o&&u(n,o),t}();function m(e){return(m="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function b(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function v(e,t){return!t||"object"!==m(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function y(e){return(y=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function _(e,t){return(_=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var w=function(e){function t(e,n,i,o){var r;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(r=v(this,y(t).call(this,e,n,i,o))).type="input",r.event="input",r.eventWrapper={},r.addEvents(),r.addPlugins(),r}var n,i,o;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&_(e,t)}(t,l),n=t,(i=[{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()}}])&&b(n.prototype,i),o&&b(n,o),t}(),x=function(){var e,t=!1,n=!1,i=function(e){for(var t=Array.prototype.slice.call(e.list.querySelectorAll("li:not(.divider):not(.hidden)"),0),n=[],i=0;i<t.length;i++){var o=t[i];o.classList.remove("droplab-item-active"),"none"!==o.style.display&&n.push(o)}return n},o=function(e){var t=i(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 o=e.detail.hook.list;i(o),o.show(),o.currentIndex=0,t=!1,n=!1}),document.addEventListener("keydown.dl",function(r){r.target;var a=r.detail.hook.list,s=a.currentIndex;if(t=!1,n=!1,r.detail.which){if(13===(e=r.detail.which))return void o(r.detail.hook.list);38===e&&(t=!0),40===e&&(n=!0)}else if(r.detail.key){if("Enter"===(e=r.detail.key))return void o(r.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=i(e);if(e.currentIndex>0&&(t[e.currentIndex-1]||(e.currentIndex=e.currentIndex-1),t[e.currentIndex-1])){var n=t[e.currentIndex-1],o=n.closest(".filter-dropdown");if(n.classList.add("droplab-item-active"),o){var r=o.offsetHeight,a=n.offsetTop-30;a>r&&(o.scrollTop=a-r)}}}(r.detail.hook.list)})};function S(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function T(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}var k=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={}}var t,n,i;return t=e,(n=[{key:"loadStatic",value:function(){var e=[].slice.apply(document.querySelectorAll("[".concat("data-dropdown-trigger","]")));this.addHooks(e)}},{key:"addData",value:function(){for(var e=arguments.length,t=new 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=new 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,S(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(i){Array.isArray(e)&&i.list[n](e),i.trigger.id===e&&i.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=r.closest(t,"UL")),r.isDropDownParts(t,this.hooks)||r.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,i){var o=this,r="string"==typeof e?document.getElementById(e):e;this.hooks.forEach(function(e,a){var s=e;s.list.list.dataset.dropdownActive=!1,s.trigger===r&&(s.destroy(),o.hooks.splice(a,1),o.addHook(r,t,n,i))})}},{key:"addHook",value:function(e,t,n,i){var o,a="string"==typeof e?document.querySelector(e):e;(o="string"==typeof t?document.querySelector(t):t instanceof Element?t:document.querySelector(e.dataset[r.toCamelCase("data-dropdown-trigger")])).dataset.dropdownActive=!0;var s="INPUT"===a.tagName?w:g;return this.hooks.push(new s(a,o,n,i)),this}},{key:"addHooks",value:function(e,t,n){var i=this;return e.forEach(function(e){return i.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,i){var o=this;return e?this.addHook(e,t,n,i):this.loadStatic(),this.addEvents(),x(),this.fireReady(),this.queuedData.forEach(function(e){return o.addData(e)}),this.queuedData=[],this}}])&&T(t.prototype,n),i&&T(t,i),e}();t.a=k},225:function(e,t,n){"use strict";n.d(t,"a",function(){return o}),n.d(t,"d",function(){return r}),n.d(t,"c",function(){return a}),n.d(t,"b",function(){return s});var i=n(13),o=function(e,t){e&&e.classList.add(t)},r=function(){return Object(i.s)()||Object(i.q)()||Object(i.t)()},a=function(e){return e.scrollTop>(arguments.length>1&&void 0!==arguments[1]?arguments[1]:0)},s=function(e){return e.scrollTop+e.offsetHeight<e.scrollHeight-(arguments.length>1&&void 0!==arguments[1]?arguments[1]:0)}},227:function(e,t){var n=e.exports={version:"2.5.7"};"number"==typeof __e&&(__e=n)},236:function(e,t,n){"use strict";n.r(t),n.d(t,"validEmojiNames",function(){return f}),n.d(t,"normalizeEmojiName",function(){return h}),n.d(t,"isEmojiNameValid",function(){return p}),n.d(t,"filterEmojiNames",function(){return g}),n.d(t,"filterEmojiNamesByAlias",function(){return m}),n.d(t,"getEmojiCategoryMap",function(){return b}),n.d(t,"getEmojiInfo",function(){return v}),n.d(t,"emojiFallbackImageSrc",function(){return y}),n.d(t,"emojiImageTag",function(){return _}),n.d(t,"glEmojiTag",function(){return w});var i=n(7),o=n.n(i),r=n(515),a=n(658);function s(e,t){if(null==e)return{};var n,i,o=function(e,t){if(null==e)return{};var n,i,o={},r=Object.keys(e);for(i=0;i<r.length;i++)n=r[i],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(i=0;i<r.length;i++)n=r[i],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function c(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},i=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),i.forEach(function(t){l(e,t,n[t])})}return e}function l(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function d(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}var u,f=d(Object.keys(r)).concat(d(Object.keys(a)));function h(e){return Object.prototype.hasOwnProperty.call(a,e)?a[e]:e}function p(e){return f.indexOf(e)>=0}function g(e){var t=e.toLowerCase();return f.filter(function(e){return e.indexOf(t)>=0})}function m(e){return o.a.uniq(g(e).map(function(e){return h(e)}))}function b(){return u||(u={activity:[],people:[],nature:[],food:[],travel:[],objects:[],symbols:[],flags:[]},Object.keys(r).forEach(function(e){var t=r[e];u[t.category]&&u[t.category].push(e)})),u}function v(e){var t=h(e),n=r[t];return n||(n=r[t="grey_question"]),c({},n,{name:t})}function y(e){var t=v(e),n=t.name,i=t.digest;return"".concat(gon.asset_host||"").concat(gon.relative_url_root||"","/assets/emoji/").concat(n,"-").concat(i,".png")}function _(e,t){return'<img class="emoji" title=":'.concat(e,':" alt=":').concat(e,':" src="').concat(t,'" width="20" height="20" align="absmiddle" />')}function w(e,t){var n=c({sprite:!1,forceFallback:!1},t),i=v(e),o=i.name,r=s(i,["name"]),a=y(o),l="emoji-".concat(o),d=[];n.forceFallback&&n.sprite&&(d.push("emoji-icon"),d.push(l));var u=d.length>0?'class="'.concat(d.join(" "),'"'):"",f=n.sprite?'data-fallback-sprite-class="'.concat(l,'"'):"",h=r.moji;return n.forceFallback&&!n.sprite&&(h=_(o,a)),"\n <gl-emoji\n ".concat(u,'\n data-name="').concat(o,'"\n data-fallback-src="').concat(a,'"\n ').concat(f,'\n data-unicode-version="').concat(r.unicodeVersion,'"\n title="').concat(r.description,'"\n >\n ').concat(h,"\n </gl-emoji>\n ")}},259:function(e,t,n){"use strict";n.d(t,"a",function(){return d}),n.d(t,"b",function(){return u});var i=n(0),o=n.n(i),r=n(4),a=n(1),s=n(8),c=n(354),l=n(135),d=function(e){return".js-feature-highlight[data-highlight=".concat(e,"]")};function u(){var e=this.getAttribute("aria-describedby"),t=this.dataset.highlight,n=o()(this),i=function(e){r.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);o()("#".concat(e," .dismiss-feature-highlight")).on("click",i);var d=o()("#".concat(e," .feature-highlight-illustration"))[0];d&&c.a.loadImage(d)}},264:function(e,t,n){var i=n(674)("wks"),o=n(527),r=n(293).Symbol,a="function"==typeof r;(e.exports=function(e){return i[e]||(i[e]=a&&r[e]||(a?r:o)("Symbol."+e))}).store=i},292:function(e,t,n){var i=n(293),o=n(227),r=n(466),a=n(431),s=n(433),c=function(e,t,n){var l,d,u,f,h=e&c.F,p=e&c.G,g=e&c.S,m=e&c.P,b=e&c.B,v=p?i:g?i[t]||(i[t]={}):(i[t]||{}).prototype,y=p?o:o[t]||(o[t]={}),_=y.prototype||(y.prototype={});for(l in p&&(n=t),n)u=((d=!h&&v&&void 0!==v[l])?v:n)[l],f=b&&d?s(u,i):m&&"function"==typeof u?s(Function.call,u):u,v&&a(v,l,u,e&c.U),y[l]!=u&&r(y,l,f),m&&_[l]!=u&&(_[l]=u)};i.core=o,c.F=1,c.G=2,c.S=4,c.P=8,c.B=16,c.W=32,c.U=64,c.R=128,e.exports=c},293: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)},3:function(e,t,n){var i,o;!function(r,a,s){for(var c,l,d={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"},u={106:"*",107:"+",109:"-",110:".",111:"/",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'"},f={"~":"`","!":"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={},g={},m={},b=!1,v=!1,y=!1,_=1;_<20;++_)d[111+_]="f"+_;for(_=0;_<=9;++_)d[_+96]=_;function w(e,t,n){e.addEventListener?e.addEventListener(t,n,!1):e.attachEvent("on"+t,n)}function x(e){if("keypress"==e.type){var t=String.fromCharCode(e.which);return e.shiftKey||(t=t.toLowerCase()),t}return d[e.which]?d[e.which]:u[e.which]?u[e.which]:String.fromCharCode(e.which).toLowerCase()}function S(e){e=e||{};var t,n=!1;for(t in m)e[t]?n=!0:m[t]=0;n||(y=!1)}function T(e,t,n,i,o,r){var a,s,c,l,d=[],u=n.type;if(!p[e])return[];for("keyup"==u&&j(e)&&(t=[e]),a=0;a<p[e].length;++a)if(s=p[e][a],(i||!s.seq||m[s.seq]==s.level)&&u==s.action&&("keypress"==u&&!n.metaKey&&!n.ctrlKey||(c=t,l=s.modifiers,c.sort().join(",")===l.sort().join(",")))){var f=!i&&s.combo==o,h=i&&s.seq==i&&s.level==r;(f||h)&&p[e].splice(a,1),d.push(s)}return d}function k(e,t,n,i){O.stopCallback(t,t.target||t.srcElement,n,i)||!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 C(e){"number"!=typeof e.which&&(e.which=e.keyCode);var t=x(e);t&&("keyup"!=e.type||b!==t?O.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):b=!1)}function j(e){return"shift"==e||"ctrl"==e||"alt"==e||"meta"==e}function A(e,t,n){return n||(n=function(){if(!c)for(var e in c={},d)e>95&&e<112||d.hasOwnProperty(e)&&(c[d[e]]=e);return c}()[e]?"keydown":"keypress"),"keypress"==n&&t.length&&(n="keydown"),n}function E(e,t,n,i){function o(t){return function(){y=t,++m[e],clearTimeout(l),l=setTimeout(S,1e3)}}function r(t){k(n,t,e),"keyup"!==i&&(b=x(t)),setTimeout(S,10)}m[e]=0;for(var a=0;a<t.length;++a){var s=a+1===t.length?r:o(i||I(t[a+1]).action);M(t[a],s,i,e,a)}}function I(e,t){var n,i,o,r=[];for(n=function(e){return"+"===e?["+"]:e.split("+")}(e),o=0;o<n.length;++o)i=n[o],h[i]&&(i=h[i]),t&&"keypress"!=t&&f[i]&&(i=f[i],r.push("shift")),j(i)&&r.push(i);return{key:i,modifiers:r,action:t=A(i,r,t)}}function M(e,t,n,i,o){g[e+":"+n]=t;var r,a=(e=e.replace(/\s+/g," ")).split(" ");a.length>1?E(e,a,t,n):(r=I(e,n),p[r.key]=p[r.key]||[],T(r.key,r.modifiers,{type:r.action},i,e,o),p[r.key][i?"unshift":"push"]({callback:t,modifiers:r.modifiers,action:r.action,seq:i,level:o,combo:e}))}w(a,"keypress",C),w(a,"keydown",C),w(a,"keyup",C);var O={bind:function(e,t,n){return function(e,t,n){for(var i=0;i<e.length;++i)M(e[i],t,n)}(e=e instanceof Array?e:[e],t,n),this},unbind:function(e,t){return O.bind(e,function(){},t)},trigger:function(e,t){return g[e+":"+t]&&g[e+":"+t]({},e),this},reset:function(){return p={},g={},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 i,o=T(e,t,n),r={},a=0,s=!1;for(i=0;i<o.length;++i)o[i].seq&&(a=Math.max(a,o[i].level));for(i=0;i<o.length;++i)if(o[i].seq){if(o[i].level!=a)continue;s=!0,r[o[i].seq]=1,k(o[i].callback,n,o[i].combo,o[i].seq)}else s||k(o[i].callback,n,o[i].combo);var c="keypress"==n.type&&v;n.type!=y||j(e)||c||S(r),v=s&&"keydown"==n.type}};r.Mousetrap=O,void 0===(o="function"==typeof(i=O)?i.call(t,n,t,e):i)||(e.exports=o)}(window,document)},304:function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},305:function(e,t,n){"use strict";var i,o,r,a,s=n(0),c=n.n(s),l=n(7),d=n.n(l),u=n(343),f=n.n(u),h=n(4),p=n(17),g=n(600);function m(e){return(m="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(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}(),o=function(){var e,t;function n(e,n){var i,o,r,a;this.input=e,this.options=n,this.filterInputBlur=null==(o=this.options.filterInputBlur)||o,(i=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()})),r="",this.input.on("keydown",function(e){13!==e.which||n.elIsInput||e.preventDefault()}).on("input",function(){return""===this.input.val()||i.hasClass(t)?""===this.input.val()&&i.hasClass(t)&&i.removeClass(t):i.addClass(t),this.options.remote?(clearTimeout(r),r=setTimeout(function(){return i.parent().addClass("is-loading"),this.options.query(this.input.val(),function(e){return i.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,i,o,r,a;if(this.options.onFilter&&this.options.onFilter(e),null!=(t=this.options.data())&&!this.options.filterByText){if(r=t,""!==e)if(d.a.isArray(t))r=f.a.filter(t,e,{key:this.options.keys});else if(Object(g.a)(t))for(o in r={},t)i=t[o],(a=f.a.filter(i,e,{key:this.options.keys})).length&&(r[o]=a.map(function(e){return e}));return this.options.callback(r)}n=this.options.elements(),e?n.each(function(){var t,n;if(t=c()(this),n=f.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}(),r=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}(),i=function(){var e,t,n,i,s;function l(l,u){var f,h,p,g;this.el=l,this.options=u,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=c()(this.el).data("target"),this.dropdown=null!=h?c()(h):c()(this.el).parent(),this.filterInput=this.options.filterInput||this.getElement(e),this.noFilterInput=this.options.noFilterInput||this.getElement(t),this.highlight=!!this.options.highlight,this.icon=!!this.options.icon,this.filterInputBlur=null==this.options.filterInputBlur||this.options.filterInputBlur,p=this,d.a.isString(this.filterInput)&&(this.filterInput=this.getElement(this.filterInput)),f=this.options.search?this.options.search.fields:[],this.options.data&&(d.a.isObject(this.options.data)&&!d.a.isFunction(this.options.data)?(this.fullData=this.options.data,s=-1,this.parseData(this.options.data),this.focusTextInput()):this.remote=new r(this.options.data,{dataType:this.options.dataType,beforeSend:this.toggleLoading.bind(this),success:(g=this,function(e){if(g.fullData=e,g.parseData(g.fullData),g.focusTextInput(),g.options.filterable&&g.filter&&g.filter.input&&g.filter.input.val()&&""!==g.filter.input.val().trim())return g.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 o(this.filterInput,{elIsInput:c()(this.el).is("input"),filterInputBlur:this.filterInputBlur,filterByText:this.options.filterByText,onFilter:this.options.onFilter,remote:this.options.filterRemote,query:this.options.data,keys:f,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),c()(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=i,e.dropdown.find(".dropdown-toggle-page").length&&(h=".dropdown-page-one "+h),c()(e.el).is("input")?s=-1:(c()(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),c()(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 c()(".dropdown-menu-close",e.dropdown).trigger("click")}}(this)),this.dropdown.on("blur","a",function(e){return function(t){if(null!=t.relatedTarget&&0===c()(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,i,o;t=c()(e.currentTarget),i=(n=p.rowClicked(t))?n[0]:null,o=n?n[1]:null,this.options.clicked&&this.options.clicked.call(this,{selectedObj:i,$el:t,e:e,isMarking:o}),this.options.toggleLabel&&this.updateLabel(i,t,this),t.trigger("blur")}.bind(this)))}return"is-loading","is-page-two","is-active","is-indeterminate",s=-1,i=".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 c()(".dropdown-menu",this.dropdown).toggleClass("is-loading")},l.prototype.togglePage=function(){var e;return(e=c()(".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,i,o;if(this.renderedData=e,this.options.filterable&&0===e.length)i=[this.noResults()];else if(Object(g.a)(e))for(o in i=[],e)n=e[o],i.push(this.renderItem({header:o},o)),this.renderData(n,o).map(function(e){return i.push(e)});else i=this.renderData(e);return t=this.renderMenu(i),this.appendMenu(t)},l.prototype.renderData=function(e,t){return null==t&&(t=!1),e.map((n=this,function(e,i){return n.renderItem(e,t,i)}));var n},l.prototype.shouldPropagate=function(e){var t;if(this.options.multiSelect||!1===this.options.shouldPropagate)return!((t=c()(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"===m(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"),i=n.hasClass("js-filter-bulk-update"),o=n.hasClass("js-gl-dropdown-refresh-on-open"),r=n.hasClass("js-multiselect");this.fullData&&(o||i)&&this.parseData(this.fullData);var a=this.filterInput.val();return this.fullData&&r&&this.options.processData&&0===a.length&&this.options.processData.call(this.options,a,this.filteredFullData(),this.parseData.bind(this)),t=c()(".dropdown-content",this.dropdown).html(),this.remote&&""===t?this.remote.execute():this.focusTextInput(),this.options.showMenuAbove&&this.positionMenuAbove(),this.options.opened&&(this.options.preserveContext?this.options.opened(e):this.options.opened.call(this,e)),this.dropdown.trigger("shown.gl.dropdown")},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&&c()(".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 i=e[n];i instanceof c.a&&(i=i.get(0)),"string"==typeof i?t.innerHTML+=i:t.appendChild(i)}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"),c()(e,this.dropdown).empty()},l.prototype.renderItem=function(e,t,n){var i,o,r,a,s,c;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)&&(c=!0),null==t&&(t=!1),null==n&&(n=!1),i=document.createElement("li"),c&&(i.style.display="none"),"divider"===e||"separator"===e)return i.className=e,i;if(null!=e.header)return i.className="dropdown-header",i.innerHTML=e.header,i;if(this.options.renderRow)i=this.options.renderRow.call(this.options,e,this);else{if(!o){var l=this.options.fieldName;s?this.dropdown.parent().find("input[name='".concat(l,"'][value='").concat(s,"']")).length&&(o=!0):o=!this.dropdown.parent().find("input[name='".concat(l,"']")).length}a=null!=this.options.url?this.options.url(e):null!=e.url?e.url:"#",r=null!=this.options.text?this.options.text(e):null!=e.text?e.text:"",this.highlight&&(r=e.template?this.highlightTemplate(r,e.template):this.highlightTextMatches(r,this.filterInput.val()));var d=document.createElement("a");d.href=a,this.icon?(r="<span>".concat(r,"</span>"),d.classList.add("d-flex","align-items-center"),d.innerHTML=e.icon?e.icon+r:r):this.highlight?d.innerHTML=r:d.textContent=r,o&&d.classList.add("is-active"),t&&(d.dataset.group=t,d.dataset.index=n),i.appendChild(d)}return i},l.prototype.highlightTemplate=function(e,t){return'"<b>'.concat(d.a.escape(e),'</b>" ').concat(t)},l.prototype.highlightTextMatches=function(e,t){var n=f.a.match(e,t),i=[].indexOf;return e.split("").map(function(e,t){return-1!==i.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,i,o,r,a,s,l=this.options.fieldName;return i=c()(this.el).is("input"),this.renderedData&&((n=e.data("group"))?(o=e.data("index"),r=this.renderedData[n][o]):(o=e.closest("li").index(),r=this.renderedData[o])),this.options.vue?(e.hasClass("is-active")?e.removeClass("is-active"):e.addClass("is-active"),[r]):(t=[],a=this.options.id?this.options.id(r,e):r.id,i?t=c()(this.el):null!=a&&(t=this.dropdown.parent().find("input[name='"+l+"'][value='"+a.toString().replace(/'/g,"\\'")+"']")),this.options.isSelectable&&!this.options.isSelectable(r,e)?[r]:(e.hasClass("is-active")&&0!==a?(s=!1,e.removeClass("is-active"),t&&t.length&&this.clearField(t,i)):e.hasClass("is-indeterminate")?(s=!0,e.addClass("is-active"),e.removeClass("is-indeterminate"),t&&t.length&&null==a&&this.clearField(t,i),t&&t.length||!l||this.addInput(l,a,r)):(s=!0,this.options.multiSelect&&!e.hasClass("dropdown-clear-active")||(this.dropdown.find(".is-active").removeClass("is-active"),i||this.dropdown.parent().find("input[name='"+l+"']").remove()),t&&t.length&&null==a&&this.clearField(t,i),e.addClass("is-active"),null!=a&&(t&&t.length||!l?t&&t.length&&t.val(a).trigger("change"):this.addInput(l,a,r))),[r,s]))},l.prototype.focusTextInput=function(){if(this.options.filterable){var e=c()(window).scrollTop();this.dropdown.is(".show")&&!this.filterInput.is(":focus")&&this.filterInput.focus(),c()(window).scrollTop()<e&&c()(window).scrollTop(e)}},l.prototype.addInput=function(e,t,n,i){var o;i&&c()('input[name="'+e+'"]').remove(),o=c()("<input>").attr("type","hidden").attr("name",e).val(t),null!=this.options.inputId&&o.attr("id",this.options.inputId),this.options.multiSelect&&Object.keys(n).forEach(function(e){o.attr("data-".concat(e),n[e])}),this.options.inputMeta&&o.attr("data-meta",n[this.options.inputMeta]),this.dropdown.before(o).trigger("change")},l.prototype.selectRowAtIndex=function(e){var t,n;if(n=void 0!==e?i+":eq("+e+") a":".dropdown-content .is-focused",this.dropdown.find(".dropdown-toggle-page").length&&(n=".dropdown-page-one "+n),(t=c()(n,this.dropdown)).length){var o=t.attr("href");o&&"#"!==o?Object(p.g)(o):t.trigger("click")}},l.prototype.addArrowKeyEvent=function(){var e,t,n;return e=[38,40],this.dropdown.find(".dropdown-input-field"),t=i,this.dropdown.find(".dropdown-toggle-page").length&&(t=".dropdown-page-one "+t),c()("body").on("keydown",(n=this,function(i){var o,r,a;if(a=i.which,-1!==e.indexOf(a))return i.preventDefault(),i.stopImmediatePropagation(),r=s,o=c()(t,n.dropdown),40===a?s<o.length-1&&(s+=1):38===a&&s>0&&(s-=1),s!==r&&n.highlightRowAtIndex(o,s),!1;13===a&&-1!==s&&(i.preventDefault(),n.selectRowAtIndex())}))},l.prototype.removeArrayKeyEvent=function(){return c()("body").off("keydown")},l.prototype.resetRows=function(){s=-1,c()(".is-focused",this.dropdown).removeClass("is-focused")},l.prototype.highlightRowAtIndex=function(e,t){var n,o,r,a,s,l,d,u,f;if(e||(e=c()(i,this.dropdown)),c()(".is-focused",this.dropdown).removeClass("is-focused"),(o=e.eq(t)).find("a:first-child").addClass("is-focused"),l=(n=o.closest(".dropdown-content")).scrollTop(),a=n.outerHeight(),r=(s=n.prop("offsetTop"))+a,u=o.outerHeight(),d=(f=o.prop("offsetTop"))+u,t){if(t===e.length-1)n.scrollTop(n.prop("scrollHeight"));else if(d>r+l)n.scrollTop(d-r+5);else if(f<s+l)return n.scrollTop(f-s-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 i=this.options.toggleLabel(e,t,n);return this.options.updateLabel&&(i=this.options.updateLabel),c()(this.el).find(".dropdown-toggle-text").text(i)},l.prototype.clearField=function(e,t){return t?e.val(""):e.remove()},l}(),c.a.fn.glDropdown=function(e){return this.each(function(){if(!c.a.data(this,"glDropdown"))return c.a.data(this,"glDropdown",new i(this,e))})}},343:function(e,t,n){(function(t){(function(){var i,o,r,a,s,c,l,d;r=n(1045),a=n(1046),d=n(621),c=n(687),i=n(855),l=null,o="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),r(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?c.score(e,t,n):d.score(e,t,n):0},match:function(e,t,n){var i;return null==n&&(n={}),e&&t?e===t?function(){i=[];for(var t=0,n=e.length;0<=n?t<n:t>n;0<=n?t++:t--)i.push(t);return i}.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=o),null==e.optCharRegEx&&(e.optCharRegEx=null),null==e.wrap&&(e.wrap=null),null==e.preparedQuery&&(e.preparedQuery=l&&l.query===t?l:l=new i(t,e)),e}}).call(this)}).call(this,n(394))},348:function(e,t,n){"use strict";var i=n(850),o=n(1021),r=Object.prototype.toString;function a(e){return"[object Array]"===r.call(e)}function s(e){return null!==e&&"object"==typeof e}function c(e){return"[object Function]"===r.call(e)}function l(e,t){if(null!==e&&void 0!==e)if("object"!=typeof e&&(e=[e]),a(e))for(var n=0,i=e.length;n<i;n++)t.call(null,e[n],n,e);else for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.call(null,e[o],o,e)}e.exports={isArray:a,isArrayBuffer:function(e){return"[object ArrayBuffer]"===r.call(e)},isBuffer:o,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]"===r.call(e)},isFile:function(e){return"[object File]"===r.call(e)},isBlob:function(e){return"[object Blob]"===r.call(e)},isFunction:c,isStream:function(e){return s(e)&&c(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,i){"object"==typeof t[i]&&"object"==typeof n?t[i]=e(t[i],n):t[i]=n}for(var i=0,o=arguments.length;i<o;i++)l(arguments[i],n);return t},extend:function(e,t,n){return l(t,function(t,o){e[o]=n&&"function"==typeof t?i(t,n):t}),e},trim:function(e){return e.replace(/^\s*/,"").replace(/\s*$/,"")}}},354:function(e,t,n){"use strict";n.d(t,"b",function(){return s}),n.d(t,"a",function(){return l});var i=n(7),o=n.n(i);function r(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var s="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==",c=500,l=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),a(this,"startIntersectionObserver",function(){t.throttledElementsInView=o.a.throttle(function(){return t.checkElementsInView()},300),t.intersectionObserver=new IntersectionObserver(t.onIntersection,{rootMargin:"".concat(c,"px 0px"),thresholds:.1})}),a(this,"onIntersection",function(e){e.forEach(function(e){e.intersectionRatio>0&&(t.intersectionObserver.unobserve(e.target),t.lazyImages.push(e.target))}),t.throttledElementsInView()}),this.intersectionObserver=null,this.lazyImages=[],this.observerNode=n.observerNode||"#content-body",(n.scrollContainer||window).addEventListener("load",function(){return t.register()})}var t,n,i;return t=e,i=[{key:"supportsIntersectionObserver",value:function(){return"IntersectionObserver"in window}},{key:"loadImage",value:function(e){if(e.getAttribute("data-src")){var t=e.getAttribute("data-src");if(t.indexOf("/avatar/")>-1&&-1===t.indexOf("?")){var n=null;(n=e.getAttribute("width")?e.getAttribute("width"):e.width)&&(t+="?width=".concat(n))}e.setAttribute("src",t),e.removeAttribute("data-src"),e.classList.remove("lazy"),e.classList.add("js-lazy-loaded")}}}],(n=[{key:"searchLazyImages",value:function(){var t=this;window.requestIdleCallback(function(){var n=[].slice.call(document.querySelectorAll(".lazy"));e.supportsIntersectionObserver()?t.intersectionObserver&&n.forEach(function(e){return t.intersectionObserver.observe(e)}):n.length&&(t.lazyImages=n,t.checkElementsInView())},{timeout:500})}},{key:"startContentObserver",value:function(){var e=this,t=document.querySelector(this.observerNode)||document.querySelector("body");t&&(this.mutationObserver=new MutationObserver(function(){return e.searchLazyImages()}),this.mutationObserver.observe(t,{childList:!0,subtree:!0}))}},{key:"stopContentObserver",value:function(){this.mutationObserver&&(this.mutationObserver.takeRecords(),this.mutationObserver.disconnect(),this.mutationObserver=null)}},{key:"unregister",value:function(){this.stopContentObserver(),this.intersectionObserver&&(this.intersectionObserver.takeRecords(),this.intersectionObserver.disconnect(),this.intersectionObserver=null),this.throttledScrollCheck&&window.removeEventListener("scroll",this.throttledScrollCheck),this.debouncedElementsInView&&window.removeEventListener("resize",this.debouncedElementsInView)}},{key:"register",value:function(){e.supportsIntersectionObserver()?this.startIntersectionObserver():this.startLegacyObserver(),this.startContentObserver(),this.searchLazyImages()}},{key:"startLegacyObserver",value:function(){var e=this;this.throttledScrollCheck=o.a.throttle(function(){return e.scrollCheck()},300),this.debouncedElementsInView=o.a.debounce(function(){return e.checkElementsInView()},300),window.addEventListener("scroll",this.throttledScrollCheck),window.addEventListener("resize",this.debouncedElementsInView)}},{key:"scrollCheck",value:function(){var e=this;window.requestAnimationFrame(function(){return e.checkElementsInView()})}},{key:"checkElementsInView",value:function(){var t=this,n=window.pageYOffset,i=n+window.innerHeight+c;this.lazyImages=this.lazyImages.filter(function(o){if(o.getAttribute("data-src")){var r=o.getBoundingClientRect(),a=n+r.top,s=a+r.height;return n<=s&&i>=a?(window.requestAnimationFrame(function(){e.loadImage(o)}),!1):!e.supportsIntersectionObserver()||(t.intersectionObserver&&t.intersectionObserver.observe(o),!1)}return!1})}}])&&r(t.prototype,n),i&&r(t,i),e}()},356:function(e,t,n){"use strict";var i=n(7),o=n.n(i),r=n(224),a=n(111);function s(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}var c=function(){function e(t){var n=t.droplab,i=t.dropdown,o=t.input,r=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=o&&o.id,this.input=o,this.filter=r,this.dropdown=i,this.loadingTemplate='<div class="filter-dropdown-loading">\n <i class="fa fa-spinner fa-spin"></i>\n </div>',this.bindEvents()}var t,n,i;return t=e,(n=[{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(!a.a.setDataValueIfSelected(this.filter,n)){var i=t(n);de.addWordToInput(this.filter,i,!0)}this.resetFilters(),this.dismissDropdown(),this.dispatchInputEvent()}}},{key:"setAsDropdown",value:function(){this.input.setAttribute("data-dropdown-trigger","#".concat(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="".concat(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)}}}])&&s(t.prototype,n),i&&s(t,i),e}(),l={keydown:function(e){if(!this.destroyed){var t=e.detail.hook.list,n=e.detail.hook.trigger.value,i=Number(n),o=e.detail.hook.config.CustomNumber.defaultOptions,r=!Number.isNaN(i)&&""!==n,a=[{id:i,title:i}],s=o.map(function(e){return{id:e,title:e}});t.setData(r?a:s),t.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){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)}};function d(e){return(d="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})(e)}function u(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function f(e,t){return!t||"object"!==d(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function h(e,t,n){return(h="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var i=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=p(e)););return e}(e,t);if(i){var o=Object.getOwnPropertyDescriptor(i,t);return o.get?o.get.call(n):o.value}})(e,t,n||e)}function p(e){return(p=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function g(e,t){return(g=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var m=function(e){function t(){var e,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(e=f(this,p(t).call(this,n))).defaultOptions=Array.from(Array(21).keys()),e.config={CustomNumber:{defaultOptions:e.defaultOptions}},e}var n,i,o;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&g(e,t)}(t,c),n=t,(i=[{key:"itemClicked",value:function(e){h(p(t.prototype),"itemClicked",this).call(this,e,function(e){var t=e.querySelector(".js-data-value").innerText.trim();return"".concat(a.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,[l],this.config);var n=this.defaultOptions.map(function(e){return{id:e,title:e}});this.droplab.setData(n),h(p(t.prototype),"renderContent",this).call(this,e)}},{key:"init",value:function(){this.droplab.addHook(this.input,this.dropdown,[l],this.config).init()}}])&&u(n.prototype,i),o&&u(n,o),t}(),b=n(147),v=n(170),y={keydown:function(e){if(!this.destroyed){var t,n=e.detail.hook.list,i=n.data,o=e.detail.hook.trigger.value.toLowerCase(),r=e.detail.hook.config.Filter,a=[];i&&(t=r&&r.filterFunction&&"function"==typeof r.filterFunction?r.filterFunction:function(e){return e.droplab_hidden=-1===e[r.template].toLowerCase().indexOf(o),e},i.filter(function(e){return!e.droplab_hidden}).length!==(a=i.map(function(e){return t(e,o)})).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)}},_=n(76);function w(e){return(w="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})(e)}function x(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function S(e,t){return!t||"object"!==w(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function T(e){return(T=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function k(e,t){return(k=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var C=function(e){function t(){var e,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,t);var i=n.input,o=n.tokenKeys;return(e=S(this,T(t).call(this,n))).config={Filter:{template:"hint",filterFunction:a.a.filterHint.bind(null,{input:i,allowedKeys:o.getKeys()})}},e.tokenKeys=o,e}var n,i,o;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&k(e,t)}(t,c),n=t,(i=[{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 i=this.input.value.split(" "),o=[];i.forEach(function(e,t){o.push(e),t===i.length-1&&-1!==n.indexOf(e.toLowerCase())&&o.pop()}),o.length>0&&_.a.addSearchVisualToken(o.join(" "));var r=n.replace(":",""),a=this.tokenKeys.searchByKey(r).uppercaseTokenName;de.addWordToInput(r,"",!1,{uppercaseTokenName:a})}this.dismissDropdown(),this.dispatchInputEvent()}}},{key:"renderContent",value:function(){var e=this.tokenKeys.get().map(function(e){return{icon:"".concat(gon.sprite_icons,"#").concat(e.icon),hint:e.key,tag:":".concat(e.tag),type:e.type}});this.droplab.changeHookList(this.hookId,this.dropdown,[y],this.config),this.droplab.setData(this.hookId,e)}},{key:"init",value:function(){this.droplab.addHook(this.input,this.dropdown,[y],this.config).init()}}])&&x(n.prototype,i),o&&x(n,o),t}(),j=n(8),A=n(180),E={_loadData:function(e,t,n){if(t.loadingTemplate){var i=n.hook.list.list.querySelector("[data-loading-template]");i&&(i.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),A.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 i=e.list.list.querySelector("[data-dynamic]"),o=document.createElement("div");o.innerHTML=n.loadingTemplate,o.setAttribute("data-loading-template",""),this.listTemplate=i.outerHTML,i.outerHTML=o.outerHTML}return A.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}};function I(e){return(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})(e)}function M(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function O(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function D(e,t){return!t||"object"!==I(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function V(e,t,n){return(V="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var i=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=L(e)););return e}(e,t);if(i){var o=Object.getOwnPropertyDescriptor(i,t);return o.get?o.get.call(n):o.value}})(e,t,n||e)}function L(e){return(L=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function P(e,t){return(P=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var N=function(e){function t(){var e,i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(e=D(this,L(t).call(this,i))).config={Ajax:{endpoint:"".concat(gon.relative_url_root||"","/autocomplete/award_emojis"),method:"setData",loadingTemplate:e.loadingTemplate,onError:function(){new j.a("An error occurred fetching the dropdown data.")}},Filter:{template:"name"}},Promise.resolve().then(n.bind(null,236)).then(function(t){var n=t.glEmojiTag;e.glEmojiTag=n}).catch(function(){}),e.unbindEvents(),e.bindEvents(),e}var i,o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&P(e,t)}(t,c),i=t,(o=[{key:"bindEvents",value:function(){V(L(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),V(L(t.prototype),"unbindEvents",this).call(this)}},{key:"listRendered",value:function(){this.replaceEmojiElement()}},{key:"itemClicked",value:function(e){V(L(t.prototype),"itemClicked",this).call(this,e,function(e){var t=e.querySelector(".js-data-value").innerText.trim();return a.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,[E,y],this.config),V(L(t.prototype),"renderContent",this).call(this,e)}},{key:"replaceEmojiElement",value:function(){var e=this;this.glEmojiTag&&M(this.dropdown.querySelectorAll(".filter-dropdown-item")).forEach(function(t){var n=t.querySelector(".js-data-value");if(null!==n){var i=n.innerText,o=e.glEmojiTag(i);t.querySelector("gl-emoji").outerHTML=o}})}},{key:"init",value:function(){this.droplab.addHook(this.input,this.dropdown,[E,y],this.config).init()}}])&&O(i.prototype,o),r&&O(i,r),t}();function R(e){return(R="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})(e)}function F(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function B(e,t){return!t||"object"!==R(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function z(e,t,n){return(z="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var i=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=H(e)););return e}(e,t);if(i){var o=Object.getOwnPropertyDescriptor(i,t);return o.get?o.get.call(n):o.value}})(e,t,n||e)}function H(e){return(H=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function $(e,t){return($=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var q=function(e){function t(){var e,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,t);var i=n.input,o=n.endpoint,r=n.symbol,s=n.preprocessing;return(e=B(this,H(t).call(this,n))).symbol=r,e.config={Ajax:{endpoint:o,method:"setData",loadingTemplate:e.loadingTemplate,preprocessing:s,onError:function(){new j.a("An error occurred fetching the dropdown data.")}},Filter:{filterFunction:a.a.filterWithSymbol.bind(null,e.symbol,i),template:"title"}},e}var n,i,o;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&$(e,t)}(t,c),n=t,(i=[{key:"itemClicked",value:function(e){var n=this;z(H(t.prototype),"itemClicked",this).call(this,e,function(e){var t=e.querySelector(".js-data-value").innerText.trim();return"".concat(n.symbol).concat(a.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,[E,y],this.config),z(H(t.prototype),"renderContent",this).call(this,e)}},{key:"init",value:function(){this.droplab.addHook(this.input,this.dropdown,[E,y],this.config).init()}}])&&F(n.prototype,i),o&&F(n,o),t}(),W={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,i=this.trigger.value;if(n&&n.endpoint&&n.searchKey){if(n.searchValueFunction&&(i=n.searchValueFunction()),n.loadingTemplate&&void 0===this.hook.list.data||0===this.hook.list.data.length){var o=this.hook.list.list.querySelector("[data-dynamic]"),r=document.createElement("div");r.innerHTML=n.loadingTemplate,r.setAttribute("data-loading-template",!0),this.listTemplate=o.outerHTML,o.outerHTML=r.outerHTML}if(e&&(i=""),n.searchKey===i)return this.list.show();this.loading=!0;var a=n.params||{};a[n.searchKey]=i;var s=n.endpoint+this.buildParams(a);return A.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 i=n.list.querySelector("[data-loading-template]");i&&(i.outerHTML=this.listTemplate)}if(!this.destroyed){var o=n.list.children;1===o.length&&o[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)}},G=n(225),U=n(207);function K(e){return(K="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})(e)}function Y(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Z(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function X(e,t,n){return(X="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var i=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=Q(e)););return e}(e,t);if(i){var o=Object.getOwnPropertyDescriptor(i,t);return o.get?o.get.call(n):o.value}})(e,t,n||e)}function Q(e){return(Q=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function J(e,t){return(J=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function ee(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}var te=function(e){function t(){var e,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,t);var i,o,r=n.tokenKeys;return i=this,o=Q(t).call(this,n),(e=!o||"object"!==K(o)&&"function"!=typeof o?ee(i):o).config={AjaxFilter:{endpoint:"".concat(gon.relative_url_root||"","/autocomplete/users.json"),searchKey:"search",params:function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},i=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),i.forEach(function(t){Y(e,t,n[t])})}return e}({active:!0,group_id:e.getGroupId(),project_id:e.getProjectId(),current_user:!0},e.projectOrGroupId()),searchValueFunction:e.getSearchInput.bind(ee(ee(e))),loadingTemplate:e.loadingTemplate,onLoadingFinished:function(){e.hideCurrentUser()},onError:function(){new j.a("An error occurred fetching the dropdown data.")}}},e.tokenKeys=r,e}var n,i,o;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&J(e,t)}(t,c),n=t,(i=[{key:"hideCurrentUser",value:function(){Object(G.a)(this.dropdown.querySelector(".js-current-user"),"hidden")}},{key:"itemClicked",value:function(e){X(Q(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,[W],this.config),X(Q(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:"projectOrGroupId",value:function(){var e=this.getProjectId(),t=this.getGroupId();return t?{group_id:t}:{project_id:e}}},{key:"getSearchInput",value:function(){var e=a.a.getSearchInput(this.input),t=U.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,[W],this.config).init()}}])&&Z(n.prototype,i),o&&Z(n,o),t}();function ne(e){return(ne="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})(e)}function ie(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function oe(e,t){return!t||"object"!==ne(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function re(e,t,n){return(re="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var i=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=ae(e)););return e}(e,t);if(i){var o=Object.getOwnPropertyDescriptor(i,t);return o.get?o.get.call(n):o.value}})(e,t,n||e)}function ae(e){return(ae=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function se(e,t){return(se=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var ce=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),oe(this,ae(t).apply(this,arguments))}var n,i,o;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&se(e,t)}(t,c),n=t,(i=[{key:"renderContent",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this.droplab.changeHookList(this.hookId,this.dropdown,[],this.config),re(ae(t.prototype),"renderContent",this).call(this,e)}}])&&ie(n.prototype,i),o&&ie(n,o),t}();function le(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}n.d(t,"a",function(){return de});var de=function(){function e(t){var n=t.baseEndpoint,i=void 0===n?"":n,o=t.tokenizer,r=t.page,a=t.isGroup,s=t.isGroupAncestor,c=t.isGroupDecendent,l=t.filteredSearchTokenKeys;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.container=b.a.container,this.baseEndpoint=i.replace(/\/$/,""),this.tokenizer=o,this.filteredSearchTokenKeys=l||v.a,this.filteredSearchInput=this.container.querySelector(".filtered-search"),this.page=r,this.groupsOnly=a,this.includeAncestorGroups=s,this.includeDescendantGroups=c,this.setupMapping(),this.cleanupWrapper=this.cleanup.bind(this),document.addEventListener("beforeunload",this.cleanupWrapper)}var t,n,i;return t=e,i=[{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],i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o=i.uppercaseTokenName,r=void 0!==o&&o,a=i.capitalizeTokenValue,s=void 0!==a&&a,c=b.a.container.querySelector(".filtered-search");_.a.addFilterVisualToken(e,t,{uppercaseTokenName:r,capitalizeTokenValue:s}),c.value="",n&&_.a.moveInputToTheRight()}}],(n=[{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:C,element:this.container.querySelector("#js-dropdown-hint")}},n={author:{reference:null,gl:te,element:this.container.querySelector("#js-dropdown-author")},assignee:{reference:null,gl:te,element:this.container.querySelector("#js-dropdown-assignee")},milestone:{reference:null,gl:q,extraArguments:{endpoint:this.getMilestoneEndpoint(),symbol:"%"},element:this.container.querySelector("#js-dropdown-milestone")},label:{reference:null,gl:q,extraArguments:{endpoint:this.getLabelsEndpoint(),symbol:"~",preprocessing:a.a.duplicateLabelPreprocessing},element:this.container.querySelector("#js-dropdown-label")},"my-reaction":{reference:null,gl:N,element:this.container.querySelector("#js-dropdown-my-reaction")},wip:{reference:null,gl:q,element:this.container.querySelector("#js-dropdown-wip")},status:{reference:null,gl:ce,element:this.container.querySelector("#js-dropdown-admin-runner-status")},type:{reference:null,gl:ce,element:this.container.querySelector("#js-dropdown-admin-runner-type")},weight:{reference:null,gl:m,element:this.container.querySelector("#js-dropdown-weight")}};e.forEach(function(e){n[e]&&(t[e]=n[e])}),this.mapping=t}},{key:"getMilestoneEndpoint",value:function(){var e="".concat(this.baseEndpoint,"/milestones.json");return this.groupsOnly&&(e="".concat(e,"?only_group_milestones=true")),e}},{key:"getLabelsEndpoint",value:function(){var e="".concat(this.baseEndpoint,"/labels.json?");return this.groupsOnly&&(e="".concat(e,"only_group_labels=true&")),this.includeAncestorGroups&&(e="".concat(e,"include_ancestor_groups=true&")),this.includeDescendantGroups&&(e="".concat(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,i=this.container.querySelector(".scroll-container").clientWidth-n;i<t&&(t=i),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],i=n.gl,o=n.element,r=!1;if(!n.reference){var a={droplab:this.droplab,dropdown:o,input:this.filteredSearchInput,tokenKeys:this.filteredSearchTokenKeys,filter:e},s=n.extraArguments||{},c=Object.assign({},a,s);n.reference=new(Function.prototype.bind.apply(i,[null,c]))}t&&n.reference.init(),"hint"===this.currentDropdown&&(r=!0),this.updateDropdownOffset(e),n.reference.render(t,r),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 r.a);var n=this.filteredSearchTokenKeys.searchByKey(e.toLowerCase()),i=n&&this.currentDropdown!==n.key&&this.mapping[n.key],o=!n&&"hint"!==this.currentDropdown;if(i||o){var a=n&&n.key?n.key:"hint";this.load(a,t)}}},{key:"setDropdown",value:function(){var e=a.a.getSearchQuery(!0),t=this.tokenizer.processTokens(e,this.filteredSearchTokenKeys.getKeys()),n=t.lastToken,i=t.searchToken;if(this.currentDropdown&&this.updateCurrentDropdownOffset(),n===i&&null!==n){var r=n.split(":"),s=o.a.last(r[0].split(" "));this.loadDropdown(r.length>1?s:"")}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()}}])&&le(t.prototype,n),i&&le(t,i),e}()},357:function(e,t,n){"use strict";var i=n(6),o=n(599),r=n(9),a=n(96),s=n(236),c={name:"UserPopover",components:{GlPopover:r.l,GlSkeletonLoading:r.o,UserAvatarImage:a.a},props:{target:{type:HTMLAnchorElement,required:!0},user:{type:Object,required:!0,default:null},loaded:{type:Boolean,required:!1,default:!1}},computed:{statusHtml:function(){return this.user.status.emoji&&this.user.status.message?"".concat(Object(s.glEmojiTag)(this.user.status.emoji)," ").concat(this.user.status.message):this.user.status.message?this.user.status.message:""},nameIsLoading:function(){return!this.user.name},jobInfoIsLoading:function(){return!this.user.loaded&&null===this.user.organization},locationIsLoading:function(){return!this.user.loaded&&null===this.user.location}}},l=n(2),d=Object(l.a)(c,function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("gl-popover",{attrs:{target:e.target,boundary:"viewport",placement:"top",show:""}},[n("div",{staticClass:"user-popover d-flex"},[n("div",{staticClass:"p-1 flex-shrink-1"},[n("user-avatar-image",{attrs:{"img-src":e.user.avatarUrl,size:60,"css-classes":"mr-2"}})],1),e._v(" "),n("div",{staticClass:"p-1 w-100"},[n("h5",{staticClass:"m-0"},[e._v("\n "+e._s(e.user.name)+"\n "),e.nameIsLoading?n("gl-skeleton-loading",{staticClass:"animation-container-small mb-1",attrs:{lines:1}}):e._e()],1),e._v(" "),n("div",{staticClass:"text-secondary mb-2"},[e.user.username?n("span",[e._v("@"+e._s(e.user.username))]):n("gl-skeleton-loading",{staticClass:"animation-container-small mb-1",attrs:{lines:1}})],1),e._v(" "),n("div",{staticClass:"text-secondary"},[e.user.bio?n("div",{staticClass:"js-bio"},[e._v(e._s(e.user.bio))]):e._e(),e._v(" "),e.user.organization?n("div",{staticClass:"js-organization"},[e._v(e._s(e.user.organization))]):e._e(),e._v(" "),e.jobInfoIsLoading?n("gl-skeleton-loading",{staticClass:"animation-container-small mb-1",attrs:{lines:1}}):e._e()],1),e._v(" "),n("div",{staticClass:"text-secondary"},[e._v("\n "+e._s(e.user.location)+"\n "),e.locationIsLoading?n("gl-skeleton-loading",{staticClass:"animation-container-small mb-1",attrs:{lines:1}}):e._e()],1),e._v(" "),e.user.status?n("div",{staticClass:"mt-2"},[n("span",{domProps:{innerHTML:e._s(e.statusHtml)}})]):e._e()])])])},[],!1,null,null,null);d.options.__file="user_popover.vue";var u,f,h=d.exports;function p(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}var g=function e(t){t.target.removeEventListener("mouseleave",e),f&&clearTimeout(f),u&&(u.$destroy(),u=null)},m=function(e){var t=e.target;t.addEventListener("mouseleave",g),f=setTimeout(function(){t.dataset.user&&(t.dataset.userId=t.dataset.user,t.dataset.originalTitle="",t.setAttribute("title",""));var e=t.dataset,n=e.userId,r=e.username,a=e.name,s=e.avatarUrl,c={userId:n,username:r,name:a,avatarUrl:s,location:null,bio:null,organization:null,status:null,loaded:!1};if(n||r){var l=i.default.extend(h);(u=new l({propsData:{target:t,user:c}})).$mount(),o.a.retrieveById(n).then(function(e){e&&(Object.assign(c,{avatarUrl:e.avatar_url,username:e.username,name:e.name,location:e.location,bio:e.bio,organization:e.organization,loaded:!0}),o.a.retrieveStatusById(n).then(function(e){e&&Object.assign(c,{status:e})}).catch(function(){throw new Error('User status for "'.concat(n,'" could not be retrieved!'))}))}).catch(function(){u.$destroy(),u=null})}},200)};t.a=function(e){(e||p(document.querySelectorAll(".js-user-link"))).forEach(function(e){e.addEventListener("mouseenter",m)})}},37:function(e,t,n){"use strict";function i(e,t){var n;try{n=!!e[t]}catch(e){n=!1}return n}function o(e,t){var n=!0;try{for(var i=arguments.length,o=new Array(i>2?i-2:0),r=2;r<i;r++)o[r-2]=arguments[r];e[t].apply(e,o)}catch(e){n=!1}return n}var r={isPropertyAccessSafe:i,isFunctionCallSafe:o,isLocalStorageAccessSafe:function(){var e;return(e=i(window,"localStorage"))?((e=o(window.localStorage,"setItem","isLocalStorageAccessSafe","true"))&&window.localStorage.removeItem("isLocalStorageAccessSafe"),e):e}};t.a=r},389:function(e,t,n){"use strict";n.d(t,"a",function(){return u}),n.d(t,"b",function(){return f});var i=n(0),o=n.n(i),r=n(7),a=n.n(r),s=n(13),c=n(354);function l(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}var d={InlineDiffFilter:{"span.idiff.addition":function(e,t){return"{+".concat(t,"+}")},"span.idiff.deletion":function(e,t){return"{-".concat(t,"-}")}},TaskListFilter:{"input[type=checkbox].task-list-item-checkbox":function(e){return"[".concat(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":".concat(e.getAttribute("data-name"),":")}},ImageLinkFilter:{"a.no-attachment-icon":function(e,t){return t}},ImageLazyLoadFilter:{img:function(e,t){return"![".concat(e.getAttribute("alt"),"](").concat(e.getAttribute("src"),")")}},VideoLinkFilter:{".video-container":function(e){var t=e.querySelector("video");return!!t&&u.nodeToGFM(t)},video:function(e){return"![".concat(e.dataset.title,"](").concat(e.getAttribute("src"),")")}},MermaidFilter:{"svg.mermaid":function(e,t){var n=e.querySelector("text.source");return!!n&&"```mermaid\n".concat(u.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".concat(t.trim(),"\n```")},"code.code.math[data-math-style=inline]":function(e,t){return"$`".concat(t,"`$")},"span.katex-display span.katex-mathml":function(e){var t=e.querySelector('annotation[encoding="application/x-tex"]');return!!t&&"```math\n".concat(u.nodeToGFM(t),"\n```")},"span.katex-mathml":function(e){var t=e.querySelector('annotation[encoding="application/x-tex"]');return!!t&&"$`".concat(u.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 n=n.map(function(e){var t=e.trim();return 0===t.length?"":" ".concat(t)}),"<dl>\n".concat(n.join("\n"),"\n</dl>\n")},"dt, dd, summary, details":function(e,t){var n=e.nodeName.toLowerCase();return"<".concat(n,">").concat(t,"</").concat(n,">\n")},"sup, sub, kbd, q, samp, var, ruby, rt, rp, abbr":function(e,t){var n=e.nodeName.toLowerCase();return"<".concat(n,">").concat(t,"</").concat(n,">")}},SyntaxHighlightFilter:{"pre.code.highlight":function(e,t){var n=t.trimRight(),i=e.getAttribute("lang");return i&&"plaintext"!==i||(i=""),""===i&&n.match(/^```/gm)?n.split("\n").map(function(e){var t=e.trim();return 0===t.length?"":" ".concat(t)}).join("\n"):"```".concat(i,"\n").concat(n,"\n```")},"pre > code":function(e,t){return t}},MarkdownFilter:{br:function(e){return" "},code:function(e,t){var n=1,i=t.match(/`+/);i&&(n=i[0].length+1);var o=Array(n+1).join("`"),r=n>1?" ":"";return o+r+t.trim()+r+o},blockquote:function(e,t){return t.trim().split("\n").map(function(e){return"> ".concat(e).trim()}).join("\n")},img:function(e){var t=e.src,n=t&&t!==c.b?t:e.dataset.src||"";return"![".concat(e.getAttribute("alt"),"](").concat(n,")")},"a.anchor":function(e,t){return t},a:function(e,t){return"[".concat(t,"](").concat(e.getAttribute("href"),")")},li:function(e,t){var n=t.trim().split("\n"),i="- ".concat(n.shift()),o=n.map(function(e){return 0===e.trim().length?"":" ".concat(e)});return"".concat(i,"\n").concat(o.join("\n"))},ul:function(e,t){return t},ol:function(e,t){return t.replace(/^- /gm,"1. ")},h1:function(e,t){return"# ".concat(t.trim(),"\n")},h2:function(e,t){return"## ".concat(t.trim(),"\n")},h3:function(e,t){return"### ".concat(t.trim(),"\n")},h4:function(e,t){return"#### ".concat(t.trim(),"\n")},h5:function(e,t){return"##### ".concat(t.trim(),"\n")},h6:function(e,t){return"###### ".concat(t.trim(),"\n")},strong:function(e,t){return"**".concat(t,"**")},em:function(e,t){return"_".concat(t,"_")},del:function(e,t){return"~~".concat(t,"~~")},hr:function(e){return"\n-----\n"},p:function(e,t){return"".concat(t.trim(),"\n")},table:function(e){var t=e.querySelector("thead"),n=e.querySelector("tbody");return!(!t||!n)&&[u.nodeToGFM(t),u.nodeToGFM(n)].join("\n")},thead:function(e,t){var n=a.a.map(e.querySelectorAll("th"),function(e){var t=u.nodeToGFM(e).length+2,n="",i="";switch(e.align||e.style.textAlign){case"center":n=":",i=":",t-=2;break;case"right":i=":",t-=1}return t=Math.max(t,3),n+Array(t+1).join("-")+i});return[t,"|".concat(n.join("|"),"|")].join("\n")},tr:function(e){var t=e.querySelectorAll("td, th");if(0===t.length)return!1;var n=a.a.map(t,function(e){return u.nodeToGFM(e)});return"| ".concat(n.join(" | ")," |")}}},u=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)||(o()(document).on("copy",".md, .wiki",function(t){e.copyAsGFM(t,e.transformGFMSelection)}),o()(document).on("copy","pre.code.highlight, .diff-content .line_content",function(t){e.copyAsGFM(t,e.transformCodeSelection)}),o()(document).on("paste",".js-gfm-input",e.pasteGFM))}var t,n,i;return t=e,i=[{key:"copyAsGFM",value:function(e,t){var n=e.originalEvent.clipboardData;if(n){var i=Object(s.k)();if(i){var o=t(i.cloneNode(!0),e.currentTarget);o&&(e.preventDefault(),e.stopPropagation(),n.setData("text/plain",o.textContent),n.setData("text/x-gfm",this.nodeToGFM(o)))}}}},{key:"pasteGFM",value:function(e){var t=e.originalEvent.clipboardData;if(t){var n=t.getData("text/plain"),i=t.getData("text/x-gfm");i&&(e.preventDefault(),window.gl.utils.insertText(e.target,function(e,t){var o=e.match(/`/g);return o&&o.length%2==1?n:i}))}}},{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"),i=0;i<t.length;i+=1){var o=t[i];n.appendChild(o),n.appendChild(document.createTextNode("\n\n"))}return n}}},{key:"transformCodeSelection",value:function(e,t){var n=".line";if(t){var i=["left-side","right-side"].filter(function(e){return t.classList.contains(e)})[0];i&&(n=".line_content.".concat(i," ").concat(n))}var o,r=e.querySelectorAll(n);if(r.length>1){(o=document.createElement("pre")).className="code highlight";var a=r[0].getAttribute("lang");a&&o.setAttribute("lang",a)}else o=document.createElement("code");if(r.length>0)for(var s=0;s<r.length;s+=1){var c=r[s];o.appendChild(c),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,i=this.innerGFM(e,n);if(e.nodeType===Node.DOCUMENT_FRAGMENT_NODE)return i;for(var o in d){var r=d[o];for(var a in r){var c=r[a];if(Object(s.y)(e,a)){var l=void 0;if(2===c.length){if(0===i.length)continue;l=c(e,i)}else l=c(e);if(!1!==l)return l}}}return i}},{key:"innerGFM",value:function(e){for(var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=e.childNodes,i=e.cloneNode(!0),o=Array.prototype.slice.call(i.childNodes,0),r=0;r<n.length;r+=1){var a=n[r],s=o[r],c=this.nodeToGFM(a,t);s.parentNode.replaceChild(document.createTextNode(c),s)}var l=i.innerText||i.textContent;return t||(l=l.trim()),l}}],(n=null)&&l(t.prototype,n),i&&l(t,i),e}();function f(){return new u}},394:function(e,t){var n,i,o=e.exports={};function r(){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===r||!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:r}catch(e){n=r}try{i="function"==typeof clearTimeout?clearTimeout:a}catch(e){i=a}}();var c,l=[],d=!1,u=-1;function f(){d&&c&&(d=!1,c.length?l=c.concat(l):u=-1,l.length&&h())}function h(){if(!d){var e=s(f);d=!0;for(var t=l.length;t;){for(c=l,l=[];++u<t;)c&&c[u].run();u=-1,t=l.length}c=null,d=!1,function(e){if(i===clearTimeout)return clearTimeout(e);if((i===a||!i)&&clearTimeout)return i=clearTimeout,clearTimeout(e);try{i(e)}catch(t){try{return i.call(null,e)}catch(t){return i.call(this,e)}}}(e)}}function p(e,t){this.fun=e,this.array=t}function g(){}o.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||d||s(h)},p.prototype.run=function(){this.fun.apply(null,this.array)},o.title="browser",o.browser=!0,o.env={},o.argv=[],o.version="",o.versions={},o.on=g,o.addListener=g,o.once=g,o.off=g,o.removeListener=g,o.removeAllListeners=g,o.emit=g,o.prependListener=g,o.prependOnceListener=g,o.listeners=function(e){return[]},o.binding=function(e){throw new Error("process.binding is not supported")},o.cwd=function(){return"/"},o.chdir=function(e){throw new Error("process.chdir is not supported")},o.umask=function(){return 0}},395:function(e,t,n){var i=n(304);e.exports=function(e){if(!i(e))throw TypeError(e+" is not an object!");return e}},4:function(e,t,n){"use strict";var i=n(412),o=n.n(i),r=n(83);o.a.defaults.headers.common[r.a.headerKey]=r.a.token,o.a.defaults.headers.common["X-Requested-With"]="XMLHttpRequest",o.a.interceptors.request.use(function(e){return window.activeVueResources=window.activeVueResources||0,window.activeVueResources+=1,e}),o.a.interceptors.response.use(function(e){return window.activeVueResources-=1,e},function(e){return window.activeVueResources-=1,Promise.reject(e)}),t.a=o.a},408:function(e,t,n){"use strict";var i=n(512),o={props:{entityId:{type:Number,required:!0},entityName:{type:String,required:!0},sizeClass:{type:String,required:!1,default:"s40"}},computed:{identiconBackgroundClass:function(){return Object(i.a)(this.entityId)},identiconTitle:function(){return Object(i.b)(this.entityName)}}},r=n(2),a=Object(r.a)(o,function(){var e=this.$createElement;return(this._self._c||e)("div",{staticClass:"avatar identicon",class:[this.sizeClass,this.identiconBackgroundClass]},[this._v("\n "+this._s(this.identiconTitle)+"\n")])},[],!1,null,null,null);a.options.__file="identicon.vue";t.a=a.exports},409:function(e,t,n){"use strict";var i=n(0),o=n.n(i);function r(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}var a="gl-field-error",s=function(){function e(t){var n=t.input,i=t.formErrors;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.inputElement=o()(n),this.inputDomElement=this.inputElement.get(0),this.form=i,this.errorMessage=this.inputElement.attr("title")||"This field is required.",this.fieldErrorElement=o()("<p class='".concat(a," hidden'>").concat(this.errorMessage,"</p>")),this.state={valid:!1,empty:!0,submitted:!1},this.initFieldValidation()}var t,n,i;return t=e,(n=[{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(".concat(".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")}}])&&r(t.prototype,n),i&&r(t,i),e}();function c(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}n.d(t,"a",function(){return l});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=o()(t),this.state={inputs:[],valid:!1},this.initValidators()}var t,n,i;return t=e,i=[{key:"catchInvalidFormSubmit",value:function(e){o()(e.currentTarget).attr("novalidate")||e.currentTarget.checkValidity()||(e.preventDefault(),e.stopPropagation())}}],(n=[{key:"initValidators",value:function(){var t=this,n=[":text",":password","[type=email]"].map(function(e){return"input".concat(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()}}])&&c(t.prototype,n),i&&c(t,i),e}()},412:function(e,t,n){e.exports=n(1020)},413:function(e,t,n){var i=n(395),o=n(828),r=n(671),a=Object.defineProperty;t.f=n(430)?Object.defineProperty:function(e,t,n){if(i(e),t=r(t,!0),i(n),o)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}},423:function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEsAAABLCAAAAAAdJSU2AAACNElEQVR4AdXYBa7jMBCA4b3/JZahzIkjp2qt+BWUWnG5ln2XxaJJb2b5F2ukL4wvzK/rP7bUcbf92u6oftLSe1ldk8efsfaVeEjusZZeC6e1RllaCk/yG6ag1lZ4WwPX69uyD6tAe/g2ipAlNMRS37awDLaFrpcMWxXQOi0jnWCWjFkSZomYJWDWKmatYNZyEWkJsvQimoZYah5NgdaLxagCtF6GRy0DshZPkeYwS/KIJWGWYjwYUzDLxCwDtJ54OKglimBLqHWahii2g1pmHLLGBmwVoRjcKlmgOdw65H5qKuGWCVi5Qlhs6m1sENZi4q3AWNvca5UYy2RjT/SAsiZey6CsIvc0wVlV5lJ0ibPMyLUGCmlxQq0IM0hLdWyro7CWEc3sXsqaK4O2zLxOsmtpfW5Q1u68ZrVmepaaNXEewawtI9X5Xl3U3n1qND6+rfPzvqoIWz/fklNCSLY153YV53J/XUxGCJnKZ1lajsn3/Ffegf6Y5pV2LUsSNL2UHzxUfh3TlYpZqqTpXZm0KZk9zJcqaEmaWPHDw0pxe05K7bWOLHFLWXVetqpYmrjle4+1y0aBaF4UOQ1NU+lYezJClkjLUnSEjqhH6zjAW4OjtY39Ibq+sawUb6W2RQfoqG0VeKuwrRJvlba17faRdbe2pTtYq6Nty/S7yAbGsQjWIq41wVoT1+IdZNy1djUcVdu5lklQWC0xHkt1X31qNEE1Pr3qKv/9XiSNj6Aaifj3/69+AYujsR/MvkpZAAAAAElFTkSuQmCC"},424:function(e,t){var n,i;n="undefined"!=typeof window?window:this,i=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,i){n=d[n]?n:d[i]?i:"en";for(var o=0,r=e<0?1:0,a=e=Math.abs(e);e>=u[o]&&o<f;o++)e/=u[o];return(e=t(e))>(0===(o*=2)?9:1)&&(o+=1),d[n](e,o,a)[r].replace("%s",e)}function i(t,n){return((n=n?e(n):new Date)-e(t))/1e3}function o(e){return r(e,"data-timeago")||r(e,"datetime")}function r(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 c="second_minute_hour_day_week_month_year".split("_"),l="秒_分钟_小时_天_周_月_年".split("_"),d={en:function(e,t){if(0===t)return["just now","right now"];var n=c[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+"后"]}},u=[60,60,24,7,365/7/12,12],f=6,h="data-tid",p={};return a.prototype.doRender=function(e,t,o){var r,a=i(t,this.nowDate),s=this;e.innerHTML=n(a,o,this.defaultLocale),p[r=setTimeout(function(){s.doRender(e,t,o),delete p[r]},Math.min(1e3*function(e){for(var t=1,n=0,i=Math.abs(e);e>=u[n]&&n<f;n++)e/=u[n],t*=u[n];return i=(i%=t)?t-i:t,Math.ceil(i)}(a),2147483647))]=0,function(e,t){e.setAttribute?e.setAttribute(h,t):e.attr&&e.attr(h,t)}(e,r)},a.prototype.format=function(e,t){return n(i(e,this.nowDate),t,this.defaultLocale)},a.prototype.render=function(e,t){void 0===e.length&&(e=[e]);for(var n=0,i=e.length;n<i;n++)this.doRender(e[n],o(e[n]),t)},a.prototype.setLocale=function(e){this.defaultLocale=e},s.register=function(e,t){d[e]=t},s.cancel=function(e){var t;if(e)(t=r(e,h))&&(clearTimeout(t),delete p[t]);else{for(t in p)clearTimeout(t);p={}}},s},"object"==typeof e&&e.exports?(e.exports=i(),e.exports.default=e.exports):n.timeago=i()},430:function(e,t,n){e.exports=!n(467)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},431:function(e,t,n){var i=n(293),o=n(466),r=n(432),a=n(527)("src"),s=Function.toString,c=(""+s).split("toString");n(227).inspectSource=function(e){return s.call(e)},(e.exports=function(e,t,n,s){var l="function"==typeof n;l&&(r(n,"name")||o(n,"name",t)),e[t]!==n&&(l&&(r(n,a)||o(n,a,e[t]?""+e[t]:c.join(String(t)))),e===i?e[t]=n:s?e[t]?e[t]=n:o(e,t,n):(delete e[t],o(e,t,n)))})(Function.prototype,"toString",function(){return"function"==typeof this&&this[a]||s.call(this)})},432:function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},433:function(e,t,n){var i=n(612);e.exports=function(e,t,n){if(i(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,i){return e.call(t,n,i)};case 3:return function(n,i,o){return e.call(t,n,i,o)}}return function(){return e.apply(t,arguments)}}},45:function(e,t,n){"use strict";n.r(t),function(e){var t=n(0),i=n.n(t),o=n(11),r=n.n(o),a=(n(953),n(1556),n(1538),n(13)),s=n(18),c=n(17),l=n(223),d=n(104),u=n(8),f=(n(305),n(899)),h=n(869),p=n(900),g=(n(1578),n(354)),m=n(870),b=(n(1528),n(871)),v=n(872),y=n(901),_=n(873),w=n(409),x=n(357);n(1561);window.jQuery=i.a,window.$=i.a,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",a.m),window.addEventListener("load",function e(){window.removeEventListener("load",e,!1),Object(a.m)()},!1),gl.lazyLoader=new g.a({scrollContainer:window,observerNode:"#content-body"}),document.addEventListener("DOMContentLoaded",function(){var t=e("body"),n=e(document),i=e(window),o=e(".js-sidebar-toggle"),g=d.a.getBreakpointSize();(Object(b.a)(),Object(p.a)(),Object(h.a)(),Object(f.a)(),Object(m.a)(),Object(v.a)(),Object(x.a)(),document.querySelector(".search")&&Object(_.a)(),document.querySelector("#js-peek")&&Object(y.a)({container:"#js-peek"}),r.a.defaults.path=gon.relative_url_root||"/",t.on("click",'a[href^="#"]',function(){this.getAttribute("href").substr(1)===Object(c.a)()&&setTimeout(a.m,1)}),"xs"===g)&&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(a.b)(".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(s.m)(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(u.a)("You need to be logged in."):404!==n&&500!==n||Object(u.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")}),t.on("click",".js-toggle-diff-comments",function(t){var n=e(this),i=n.closest(".diff-file").find(".notes_holder");t.preventDefault(),n.toggleClass("active"),n.hasClass("active")?i.show().find(".hide, .content").show():i.hide().find(".content").hide(),e(document).trigger("toggle.comments")}),n.on("breakpoint:change",function(e,t){"sm"!==t&&"xs"!==t||o.find("i").hasClass("fa-angle-double-right")&&o.trigger("click")}),i.on("resize.app",function(){var e=g;(g=d.a.getBreakpointSize())!==e&&n.trigger("breakpoint:change",[g])}),Object(l.b)(),e("form.filter-form").on("submit",function(t){var n=document.createElement("a");n.href=this.action;var i="".concat(this.action).concat(""===n.search?"?":"&");t.preventDefault(),Object(c.g)("".concat(i).concat(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(u.c)(e)}),e(".gl-show-field-errors").each(function(e,t){return new w.a(t)})})}.call(this,n(0))},456:function(e,t,n){"use strict";function i(e){var t=gon&&gon.current_user_id;t&&e.forEach(function(e){parseInt(e.dataset.user,10)===t&&e.classList.add("current-user")})}n.d(t,"a",function(){return i})},46:function(e,t,n){"use strict";n.d(t,"a",function(){return i}),n.d(t,"g",function(){return o}),n.d(t,"h",function(){return r}),n.d(t,"i",function(){return a}),n.d(t,"e",function(){return s}),n.d(t,"j",function(){return c}),n.d(t,"m",function(){return l}),n.d(t,"n",function(){return d}),n.d(t,"b",function(){return u}),n.d(t,"f",function(){return f}),n.d(t,"l",function(){return h}),n.d(t,"c",function(){return p}),n.d(t,"d",function(){return g}),n.d(t,"k",function(){return m});var i=function(e){return e?e.toString().replace(/\B(?=(\d{3})+(?!\d))/g,","):e},o=function(e){return e>99?"99+":e},r=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,"-")},c=function(e){return e.toLowerCase().replace(/\s+/g,"-")},l=function(e,t){return"".concat(e.substr(0,t-3),"...")},d=function(e){return e.substr(0,8)};function u(e){return"".concat(e[0].toUpperCase()).concat(e.slice(1))}function f(e){return e?e.charAt(0).toUpperCase():""}var h=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return e?e.replace(/<[^>]*>/g,t):e},p=function(e){return e.replace(/(_\w)/g,function(e){return e[1].toUpperCase()})},g=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()}},466:function(e,t,n){var i=n(413),o=n(526);e.exports=n(430)?function(e,t,n){return i.f(e,t,o(1,n))}:function(e,t,n){return e[t]=n,e}},467:function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},468:function(e,t,n){var i=n(675),o=n(613);e.exports=function(e){return i(o(e))}},48:function(e,t,n){"use strict";n.d(t,"a",function(){return g});var i=n(0),o=n.n(i),r=n(11),a=n.n(r),s=n(3),c=n.n(s),l=n(4),d=n(17),u=n(5),f=n(13);function h(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}var p=c.a.stopCallback;c.a.stopCallback=function(e,t,n){return-1===["ctrl+shift+p","command+shift+p"].indexOf(n)&&p(e,t,n)};var g=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=[],c.a.bind("?",this.onToggleHelp),c.a.bind("s",e.focusSearch),c.a.bind("f",this.focusFilter.bind(this)),c.a.bind("p b",e.onTogglePerfBar);var t=document.body.dataset.findFile;c.a.bind("shift+t",function(){return Object(u.a)(".shortcuts-todos")}),c.a.bind("shift+a",function(){return Object(u.a)(".dashboard-shortcuts-activity")}),c.a.bind("shift+i",function(){return Object(u.a)(".dashboard-shortcuts-issues")}),c.a.bind("shift+m",function(){return Object(u.a)(".dashboard-shortcuts-merge_requests")}),c.a.bind("shift+p",function(){return Object(u.a)(".dashboard-shortcuts-projects")}),c.a.bind("shift+g",function(){return Object(u.a)(".dashboard-shortcuts-groups")}),c.a.bind("shift+l",function(){return Object(u.a)(".dashboard-shortcuts-milestones")}),c.a.bind("shift+s",function(){return Object(u.a)(".dashboard-shortcuts-snippets")}),c.a.bind(["ctrl+shift+p","command+shift+p"],e.toggleMarkdownPreview),void 0!==t&&null!==t&&c.a.bind("t",function(){Object(d.g)(t)}),o()(document).on("click.more_help",".js-more-help-button",function(e){o()(this).remove(),o()(".hidden-shortcut").show(),e.preventDefault()})}var t,n,i;return t=e,i=[{key:"onTogglePerfBar",value:function(e){e.preventDefault();Object(f.B)(a.a.get("perf_bar_enabled"))?a.a.set("perf_bar_enabled","false",{path:"/"}):a.a.set("perf_bar_enabled","true",{path:"/"}),Object(d.e)()}},{key:"toggleMarkdownPreview",value:function(e){var t=o()(e.target),n=t.closest("form");t.hasClass("js-note-text")&&o()(".js-md-preview-button",n).focus(),o()(document).triggerHandler("markdown-preview:toggle",[e])}},{key:"toggleHelp",value:function(e){var t=o()("#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(o.a.globalEval(n),e&&e.length>0){for(var i=[],r=0,a=e.length;r<a;r+=1)i.push(o()(e[r]).show());return i}return o()(".hidden-shortcut").show(),o()(".js-more-help-button").remove()})}},{key:"focusSearch",value:function(e){o()("#search").focus(),e.preventDefault&&e.preventDefault()}}],(n=[{key:"onToggleHelp",value:function(t){t.preventDefault&&t.preventDefault(),e.toggleHelp(this.enabledHelp)}},{key:"focusFilter",value:function(e){this.filterInput||(this.filterInput=o()("input[type=search]",".nav-controls")),this.filterInput.focus(),e.preventDefault()}}])&&h(t.prototype,n),i&&h(t,i),e}()},485:function(e,t,n){"use strict";var i=n(0),o=n.n(i),r=function(){return"function"==typeof window.snowplow},a=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{label:"",property:"",value:""};if(r()&&e&&t){var i=n.label,o=n.property,a=n.value;try{window.snowplow("trackStructEvent",e,t,i,o,a)}catch(e){}}};t.a={trackEvent:a,bindTrackableContainer:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:document.body.dataset.page;if(r()){var n=function(e){var n=e.currentTarget,i=n.getAttribute("data-track-label"),o=n.getAttribute("data-track-property")||"",r=n.getAttribute("data-track-event"),s=n.value||"";"checkbox"===n.type&&(s=n.checked),void 0!==n.getAttribute("data-track-value")&&null!==n.getAttribute("data-track-value")&&(s=n.getAttribute("data-track-value")),a(t,r,{label:i,property:o,value:s})};document.querySelectorAll("".concat(e," [data-track-label]")).forEach(function(e){(function(e){return e.classList.contains("select2")})(e)||function(e){var t=e.classList.contains("dropdown"),n=e.querySelector('[data-toggle="dropdown"]');return t&&null!==n}(e)||e.addEventListener("click",function(e){return n(e)})}),o()("".concat(e," .select2[data-track-label]")).on("click",function(e){return n(e)});var i=function(e){var n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],i=e.currentTarget,o=i.getAttribute("data-track-property")||"",r=i.getAttribute("data-track-event"),s=i.value||"",c=i.getAttribute("data-track-label")+(n?"_open":"_close");a(t,r,{label:c,property:o,value:s})};o()("".concat(e,' [data-track-label][data-track-event="click_dropdown"]')).on("show.bs.dropdown",function(e){return i(e)}),o()("".concat(e,' [data-track-label][data-track-event="click_dropdown"]')).on("hide.bs.dropdown",function(e){return i(e,!1)})}}}},491: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}},492:function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},493:function(e,t,n){var i=n(831),o=n(680);e.exports=Object.keys||function(e){return i(e,o)}},494:function(e,t,n){var i,o,r;r=this,i=[n(0)],void 0===(o=function(e){return r.returnExportsGlobal=function(e){"use strict";var t,n,i,o,r,a,s,c;t=function(){function t(e){this.$inputor=e,this.domInputor=this.$inputor[0]}return t.prototype.setPos=function(e){var t,n,i,o;return(o=s.getSelection())&&(i=0,n=!1,(t=function(e,r){var s,c,l,d,u,f;for(u=r.childNodes,f=[],l=0,d=u.length;l<d&&(s=u[l],!n);l++)if(3===s.nodeType){if(i+s.length>=e){n=!0,(c=a.createRange()).setStart(s,e-i),o.removeAllRanges(),o.addRange(c);break}f.push(i+=s.length)}else f.push(t(e,s));return f})(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,i,o,r,c;return s.getSelection&&(o=this.range())?(o.endOffset-1>0&&o.endContainer!==this.domInputor&&((n=o.cloneRange()).setStart(o.endContainer,o.endOffset-1),n.setEnd(o.endContainer,o.endOffset),r=n.getBoundingClientRect(),i={height:r.height,left:r.left+r.width,top:r.top},n.detach()),i&&0!==(null!=i?i.height:void 0)||(n=o.cloneRange(),c=e(a.createTextNode("|")),n.insertNode(c[0]),n.selectNode(c[0]),r=n.getBoundingClientRect(),i={height:r.height,left:r.left,top:r.top},c.remove(),n.detach())):a.selection&&(i=this.getOldIEOffset()),i&&(i.top+=e(s).scrollTop(),i.left+=e(s).scrollLeft()),i},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,i,o,r,s;return t=this.domInputor,r=a.selection.createRange(),o=0,r&&r.parentElement()===t&&(i=t.value.replace(/\r\n/g,"\n"),n=i.length,(s=t.createTextRange()).moveToBookmark(r.getBookmark()),(e=t.createTextRange()).collapse(!1),o=s.compareEndPoints("StartToEnd",e)>-1?n:-s.moveStart("character",-n)),o},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,i,o;return n=this.domInputor.createTextRange(),e||(e=this.getPos()),n.move("character",e),i=n.boundingLeft,o=n.boundingTop,t=n.boundingHeight,{left:i,top:o,height:t}},t.prototype.getOffset=function(t){var n,i,o;return n=this.$inputor,a.selection?((i=this.getIEOffset(t)).top+=e(s).scrollTop()+n.scrollTop(),i.left+=e(s).scrollLeft()+n.scrollLeft(),i):(i=n.offset(),o=this.getPosition(t),i={left:i.left+o.left-n.scrollLeft(),top:i.top+o.top-n.scrollTop(),height:o.height})},t.prototype.getPosition=function(e){var t,n,o,r,a;return t=this.$inputor,o=function(e){return e=e.replace(/<|>|`|"|&/g,"?").replace(/\r\n|\r|\n/g,"<br/>"),/firefox/i.test(navigator.userAgent)&&(e=e.replace(/\s/g," ")),e},void 0===e&&(e=this.getPos()),a=t.val().slice(0,e),n=t.val().slice(e),r="<span style='position: relative; display: inline;'>"+o(a)+"</span>",r+="<span id='caret' style='position: relative; display: inline;'>|</span>",r+="<span style='position: relative; display: inline;'>"+o(n)+"</span>",new i(t).create(r).rect()},t.prototype.getIEPosition=function(e){var t,n,i,o,r;return i=this.getIEOffset(e),n=this.$inputor.offset(),o=i.left-n.left,r=i.top-n.top,t=i.height,{left:o,top:r,height:t}},t}(),i=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,i){return t[i]=n.$inputor.css(i)}),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}(),o={contentEditable:function(e){return!(!e[0].contentEditable||"true"!==e[0].contentEditable)}},r={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,c=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(i,a,s){var l;return r[i]?(e.isPlainObject(a)?(c(a),a=void 0):c(s),l=o.contentEditable(this)?new t(this):new n(this),r[i].apply(l,[a])):e.error("Method "+i+" does not exist on jQuery.caret")},e.fn.caret.EditableCaret=t,e.fn.caret.InputCaret=n,e.fn.caret.Utils=o,e.fn.caret.apis=r}(e)}.apply(t,i))||(e.exports=o)},495:function(e,t,n){var i,o;i=[n(0)],void 0===(o=function(e){return function(e){var t,n,i;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 o.arrayToDefaultHash(e)},matcher:function(e,t,n,i){var o,r,a,s;return e=e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&"),n&&(e="(?:^|\\s)"+e),o=decodeURI("%C3%80"),r=decodeURI("%C3%BF"),s=new RegExp(e+"([A-Za-z"+o+"-"+r+"0-9_"+(i?" ":"")+"'.+-]*)$|"+e+"([^\\x00-\\xff]*)$","gi"),(a=s.exec(t))?a[2]||a[1]:null},filter:function(e,t,n){var i,o,r,a;for(i=[],o=0,a=t.length;o<a;o++)r=t[o],~new String(r[n]).toLowerCase().indexOf(e.toLowerCase())&&i.push(r);return i},remoteFilter:null,sorter:function(e,t,n){var i,o,r,a;if(!e)return t;for(i=[],o=0,a=t.length;o<a;o++)(r=t[o]).atwho_order=new String(r[n]).toLowerCase().indexOf(e.toLowerCase()),r.atwho_order>-1&&i.push(r);return i.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,i){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,i){return"> "+t+"<strong>"+n+"</strong>"+i+" <"})):e},beforeInsert:function(e,t,n){return e},beforeReposition:function(e){return e},afterMatchFailed:function(e,t){}},i=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 i,o;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(o){if(i=o,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"+i)}}return this.createContainer((this.iframeAsRoot=n)?this.document:document)},t.prototype.controller=function(e){var t,n,i,o;if(this.aliasMaps[e])n=this.controllers[this.aliasMaps[e]];else for(i in o=this.controllers)if(t=o[i],i===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,i;return i=(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),i.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 i,o;return i=n.target.scrollTop,t!==i&&null!=(o=e.controller())&&o.view.hide(n),t=i,!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,i,o;for(t in i=this.controllers,o=[],i)n=i[t],o.push(n.lookUp(e));return o},t.prototype.onKeyup=function(t){var i;switch(t.keyCode){case n.ESC:t.preventDefault(),null!=(i=this.controller())&&i.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 i,o;if((o=null!=(i=this.controller())?i.view:void 0)&&o.visible())switch(t.keyCode){case n.ESC:t.preventDefault(),o.hide(t);break;case n.UP:t.preventDefault(),o.prev();break;case n.DOWN:t.preventDefault(),o.next();break;case n.P:if(!t.ctrlKey)return;t.preventDefault(),o.prev();break;case n.N:if(!t.ctrlKey)return;t.preventDefault(),o.next();break;case n.TAB:case n.ENTER:case n.SPACE:if(!o.visible())return;if(!this.controller().getOpt("spaceSelectsMatch")&&t.keyCode===n.SPACE)return;if(!this.controller().getOpt("tabSelectsMatch")&&t.keyCode===n.TAB)return;o.highlighted()?(t.preventDefault(),o.choose(t)):o.hide(t);break;default:e.noop()}},t}();var o,r=[].slice;o=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 d(this),this.view=new u(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,i,o,a;a=arguments[0],n=2<=arguments.length?r.call(arguments,1):[];try{return t[a].apply(this,n)}catch(o){return i=o,e.error(i+" Or maybe At.js doesn't have function "+a)}},n.prototype.trigger=function(e,t){var n,i;return null==t&&(t=[]),t.push(this),n=this.getOpt("alias"),i=n?e+"-"+n+".atwho":e+".atwho",this.$inputor.trigger(i,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,i;return i=this.getOpt("insertTpl"),n=e.extend({},t.data("itemData"),{"atwho-at":this.at}),this.callbacks("tplEval").call(this,i,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,i,o,r;if(!e.isArray(t))return t;for(r=[],n=0,o=t.length;n<o;n++)i=t[n],e.isPlainObject(i)?r.push(i):r.push({name:i});return r},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,i,o;return n=Date.now?Date.now():(new Date).getTime(),this.previousCallTime||(this.previousCallTime=n),0<(i=t-(n-this.previousCallTime))&&i<t?(this.previousCallTime=n,this._stopDelayedCall(),this.delayedCallTimeout=setTimeout((o=this,function(){return o.previousCallTime=0,o.delayedCallTimeout=null,o._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)c.call(t,n)&&(e[n]=t[n]);function i(){this.constructor=e}return i.prototype=t.prototype,e.prototype=new i,e.__super__=t.prototype,e},c={}.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,i,o,r,a;if(t=this.$inputor.val(),e=this.$inputor.caret("pos",{iframe:this.app.iframe}),a=t.slice(0,e),o=this.callbacks("matcher").call(this,this.at,a,this.getOpt("startWithSpace"),this.getOpt("acceptSpaceBar")),!((i="string"==typeof o)&&o.length<this.getOpt("minLen",0)))return i&&o.length<=this.getOpt("maxLen",20)?(r=e-o.length,n=r+o.length,this.pos=r,o={text:o,headPos:r,endPos:n},this.trigger("matched",[this.at,o.text])):(o=null,this.view.hide()),this.query=o},n.prototype.rect=function(){var t,n,i;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),i=this.app.document.selection?0:2,{left:t.left,top:t.top,bottom:t.top+t.height+i}},n.prototype.insert=function(e,t){var n,i,o,r,a;return n=this.$inputor,i=n.val(),o=i.slice(0,Math.max(this.query.headPos-this.at.length,0)),r=""===(r=this.getOpt("suffix"))?r:r||" ",a=""+o+(e+=r)+i.slice(this.query.endPos||0),n.val(a),n.caret("pos",o.length+e.length,{iframe:this.app.iframe}),n.is(":focus")||n.focus(),n.change()},n}(o);var l,d,u,f,s=function(e,t){for(var n in t)c.call(t,n)&&(e[n]=t[n]);function i(){this.constructor=e}return i.prototype=t.prototype,e.prototype=new i,e.__super__=t.prototype,e},c={}.hasOwnProperty;l=function(t){function i(){return i.__super__.constructor.apply(this,arguments)}return s(i,t),i.prototype._getRange=function(){var e;if((e=this.app.window.getSelection()).rangeCount>0)return e.getRangeAt(0)},i.prototype._setRange=function(t,n,i){if(null==i&&(i=this._getRange()),i)return n=e(n)[0],"after"===t?(i.setEndAfter(n),i.setStartAfter(n)):(i.setEndBefore(n),i.setStartBefore(n)),i.collapse(!1),this._clearRange(i)},i.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)},i.prototype._movingEvent=function(e){var t;return"click"===e.type||(t=e.which)===n.RIGHT||t===n.LEFT||t===n.UP||t===n.DOWN},i.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},i.prototype.catchQuery=function(t){var i,o,r,a,s,c,l,d,u,f,h,p;if((p=this._getRange())&&p.collapsed){if(t.which===n.ENTER)return(o=e(p.startContainer).closest(".atwho-query")).contents().unwrap(),o.is(":empty")&&o.remove(),(o=e(".atwho-query",this.app.document)).text(o.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&&(u=p.startOffset-1)>=0?((r=p.cloneRange()).setStart(p.startContainer,u),e(r.cloneContents()).contents().last().is(".atwho-inserted")&&(s=e(p.startContainer).contents().get(u),this._setRange("after",e(s).contents().last()))):t.which===n.LEFT&&p.startContainer.nodeType===document.TEXT_NODE&&(i=e(p.startContainer.previousSibling)).is(".atwho-inserted")&&0===p.startOffset&&this._setRange("after",i.contents().last())}if(e(p.startContainer).closest(".atwho-inserted").addClass("atwho-query").siblings().removeClass("atwho-query"),(o=e(".atwho-query",this.app.document)).length>0&&o.is(":empty")&&0===o.text().length&&o.remove(),this._movingEvent(t)||o.removeClass("atwho-inserted"),o.length>0)switch(t.which){case n.LEFT:return this._setRange("before",o.get(0),p),void o.removeClass("atwho-query");case n.RIGHT:return this._setRange("after",o.get(0).nextSibling,p),void o.removeClass("atwho-query")}if(o.length>0&&(h=o.attr("data-atwho-at-query"))&&(o.empty().html(h).attr("data-atwho-at-query",null),this._setRange("after",o.get(0),p)),(r=p.cloneRange()).setStart(p.startContainer,0),d=this.callbacks("matcher").call(this,this.at,r.toString(),this.getOpt("startWithSpace"),this.getOpt("acceptSpaceBar")),c="string"==typeof d,0===o.length&&c&&(a=p.startOffset-this.at.length-d.length)>=0&&(p.setStart(p.startContainer,a),o=e("<span/>",this.app.document).attr(this.getOpt("editableAtwhoQueryAttrs")).addClass("atwho-query"),p.surroundContents(o.get(0)),l=o.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)),!(c&&d.length<this.getOpt("minLen",0)))return c&&d.length<=this.getOpt("maxLen",20)?(f={text:d,el:o},this.trigger("matched",[this.at,f.text]),this.query=f):(this.view.hide(),this.query={el:o},o.text().indexOf(this.at)>=0&&(this._movingEvent(t)&&o.hasClass("atwho-inserted")?o.removeClass("atwho-query"):!1!==this.callbacks("afterMatchFailed").call(this,this.at,o)&&this._setRange("after",this._unwrap(o.text(o.text()).contents().first()))),null)}},i.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},i.prototype.insert=function(e,t){var n,i,o,r;return this.$inputor.is(":focus")||this.$inputor.focus(),o=""===(o=this.getOpt("suffix"))?o:o||" ",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),(i=this._getRange())&&(i.setEndAfter(this.query.el[0]),i.collapse(!1),i.insertNode(r=this.app.document.createTextNode(""+o)),this._setRange("after",r,i)),this.$inputor.is(":focus")||this.$inputor.focus(),this.$inputor.change()},i}(o),d=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,i,o;return i=this.fetch(),o=this.context.getOpt("searchKey"),i=this.context.callbacks("filter").call(this.context,e,i,o)||[],n=this.context.callbacks("remoteFilter"),i.length>0||!n&&0===i.length?t(i):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}(),u=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,i,o;return t=this.$el.find("ul"),n=0,i=0,t.on("mousemove.atwho-view","li",function(o){var r;if((n!==o.clientX||i!==o.clientY)&&(n=o.clientX,i=o.clientY,!(r=e(o.currentTarget)).hasClass("cur")))return t.find(".cur").removeClass("cur"),r.addClass("cur")}).on("click.atwho-view","li",(o=this,function(n){return t.find(".cur").removeClass("cur"),e(n.currentTarget).addClass("cur"),o.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,i,o,r;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>(o=e(n).width()-this.$el.width()-5)&&(t.left=o),i={left:t.left,top:t.bottom},null!=(r=this.context.callbacks("beforeReposition"))&&r.call(this.context,i),this.$el.offset(i),this.context.trigger("reposition",[i])},t.prototype.next=function(){var e,t,n,i;return e=this.$el.find(".cur").removeClass("cur"),(t=e.next()).length||(t=this.$el.find("li:first")),t.addClass("cur"),n=t[0],i=n.offsetTop+n.offsetHeight+(n.nextSibling?n.nextSibling.offsetHeight:0),this.scrollTop(Math.max(0,i-this.$el.height()))},t.prototype.prev=function(){var e,t,n,i;return e=this.$el.find(".cur").removeClass("cur"),(n=e.prev()).length||(n=this.$el.find("li:last")),n.addClass("cur"),i=n[0],t=i.offsetTop+i.offsetHeight+(i.nextSibling?i.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,i;if(this.visible())return isNaN(t)?(this.$el.hide(),this.context.trigger("hidden",[e])):(i=this,n=function(){return i.hide()},clearTimeout(this.timeoutID),this.timeoutID=setTimeout(n,t))},t.prototype.render=function(t){var n,i,o,r,a,s,c;if(e.isArray(t)&&t.length>0){for(this.$el.find("ul").empty(),i=this.$el.find("ul"),c=this.context.getOpt("displayTpl"),o=0,a=t.length;o<a;o++)r=t[o],r=e.extend({},r,{"atwho-at":this.context.at}),s=this.context.callbacks("tplEval").call(this.context,c,r,"onDisplay"),(n=e(this.context.callbacks("highlighter").call(this.context,s,this.context.query.text))).data("item-data",r),i.append(n);return this.show(),this.context.getOpt("highlightFirst")?i.find("li:first").addClass("cur"):void 0}this.hide()},t}(),f={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,o;return n=arguments,o=null,this.filter('textarea, input, [contenteditable=""], [contenteditable=true]').each(function(){var r,a;return(a=(r=e(this)).data("atwho"))||r.data("atwho",a=new i(this)),"object"!=typeof t&&t?f[t]&&a?o=f[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!=o?o: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,i))||(e.exports=o)},496:function(e,t,n){"use strict";var i=n(6),o=n(206),r=n(83);i.default.use(o.a),i.default.http.interceptors.push(function(e,t){window.activeVueResources=window.activeVueResources||0,window.activeVueResources+=1,t(function(){window.activeVueResources-=1})}),i.default.http.interceptors.push(function(e,t){e.headers.set(r.a.headerKey,r.a.token),t(function(e){var t={};e.headers.forEach(function(e,n){t[n]=e}),e.headers=t})})},5:function(e,t,n){"use strict";n.d(t,"a",function(){return o});var i=n(17);function o(e){var t=document.querySelector(e),n=t&&t.getAttribute("href");n&&Object(i.g)(n)}},512:function(e,t,n){"use strict";n.d(t,"a",function(){return r}),n.d(t,"b",function(){return a});n(7);var i=n(46),o=7;function r(e){return"bg".concat(e%o+1)}function a(e){return Object(i.f)(e)||" "}},515:function(e){e.exports={100:{category:"symbols",moji:"💯",description:"hundred points symbol",unicodeVersion:"6.0",digest:"add3bd7d06b6dd445788b277f8c9e5dcf42a54d3ec8b7fb9e7a39695dd95d094"},1234:{category:"symbols",moji:"🔢",description:"input symbol for numbers",unicodeVersion:"6.0",digest:"c5ac5c8147f5bfd644fad6b470432bba86ffc7bcee04a0e0d277cd1ca485207f"},"8ball":{category:"activity",moji:"🎱",description:"billiards",unicodeVersion:"6.0",digest:"a6e6855775b66c505adee65926a264103ebddf2e2d963db7c009b4fec3a24178"},a:{category:"symbols",moji:"🅰",description:"negative squared latin capital letter a",unicodeVersion:"6.0",digest:"bddbb39e8a1d35d42b7c08e7d47f63988cb4d8614b79f74e70b9c67c221896cc"},ab:{category:"symbols",moji:"🆎",description:"negative squared ab",unicodeVersion:"6.0",digest:"67430fe5fce981160e2ea9052962e49f264322d3abfc2828fbc311b6cdf67ae8"},abc:{category:"symbols",moji:"🔤",description:"input symbol for latin letters",unicodeVersion:"6.0",digest:"282c817ee3414d77a74b815962c33dd9fe71fabaea8c7a9cec466100fbe32187"},abcd:{category:"symbols",moji:"🔡",description:"input symbol for latin small letters",unicodeVersion:"6.0",digest:"686728c759f4683c64762ee4eda0a91bf2041f0ae4f358aacf6c09bf51892eff"},accept:{category:"symbols",moji:"🉑",description:"circled ideograph accept",unicodeVersion:"6.0",digest:"7208d34c761f10a7fd28f98e25535eba13ff91a64442fc282a98bb77722614f1"},aerial_tramway:{category:"travel",moji:"🚡",description:"aerial tramway",unicodeVersion:"6.0",digest:"98df666f34370fc34ce280d84bba5a7e617f733fbbfe66caa424b2afa6ab6777"},airplane:{category:"travel",moji:"✈",description:"airplane",unicodeVersion:"1.1",digest:"cc12cf259ef88e57717620cd2bd5aa6a02a8631ee532a3bde24bee78edc5de33"},airplane_arriving:{category:"travel",moji:"🛬",description:"airplane arriving",unicodeVersion:"7.0",digest:"80d5b4675f91c4cff06d146d795a065b0ce2a74557df4d9e3314e3d3b5c4ae82"},airplane_departure:{category:"travel",moji:"🛫",description:"airplane departure",unicodeVersion:"7.0",digest:"5544eace06b8e1b6ea91940e893e013d33d6b166e14e6d128a87f2cd2de88332"},airplane_small:{category:"travel",moji:"🛩",description:"small airplane",unicodeVersion:"7.0",digest:"1a2e07abbbe90d05cee7ff8dd52f443d595ccb38959f3089fe016b77e5d6de7d"},alarm_clock:{category:"objects",moji:"⏰",description:"alarm clock",unicodeVersion:"6.0",digest:"fef05a3cd1cddbeca4de8091b94bddb93790b03fa213da86c0eec420f8c49599"},alembic:{category:"objects",moji:"⚗",description:"alembic",unicodeVersion:"4.1",digest:"c94b2a4bf24ccf4db27a22c9725cfe900f4a99ec49ef2411d67952bcb2ca1bfb"},alien:{category:"people",moji:"👽",description:"extraterrestrial alien",unicodeVersion:"6.0",digest:"856ba98202b244c13a5ee3014a6f7ad592d8c119a30d79e4fc790b74b0e321f7"},ambulance:{category:"travel",moji:"🚑",description:"ambulance",unicodeVersion:"6.0",digest:"d9b3c1873de496a4554e715342c72290fb69a9c6766d7885f38bfe9491d052da"},amphora:{category:"objects",moji:"🏺",description:"amphora",unicodeVersion:"8.0",digest:"4015f907b649b5e348502cc0e3685ed184e180dca5cc81c43ec516e14df127bf"},anchor:{category:"travel",moji:"⚓",description:"anchor",unicodeVersion:"4.1",digest:"2b29b34ef896ebab70016301e3d1880209bbc3c5a5b8d832e43afff9b17ad792"},angel:{category:"people",moji:"👼",description:"baby angel",unicodeVersion:"6.0",digest:"db75c2460aaf9cd07cb41fe22c8a6079f3667ffe612a71611358720e2b5512a4"},angel_tone1:{category:"people",moji:"👼🏻",description:"baby angel tone 1",unicodeVersion:"8.0",digest:"5871a622469b96296365adaf77d83167759692124c20e5a6e062a525af33472a"},angel_tone2:{category:"people",moji:"👼🏼",description:"baby angel tone 2",unicodeVersion:"8.0",digest:"f5993198a5d9daf39e761c783461f07bca237f4e9b739ac300bb8ca001a69a1a"},angel_tone3:{category:"people",moji:"👼🏽",description:"baby angel tone 3",unicodeVersion:"8.0",digest:"f0c97a7c4354626267d6ab0f388e4297ad255ab9b061f9c68fbcaa0abfc52783"},angel_tone4:{category:"people",moji:"👼🏾",description:"baby angel tone 4",unicodeVersion:"8.0",digest:"6e5dc724c1939d1b0d1a91343662b5bd61ced7709c97802977145ffab6a1f7ac"},angel_tone5:{category:"people",moji:"👼🏿",description:"baby angel tone 5",unicodeVersion:"8.0",digest:"52186e1de350c27d25d6010edf44f64a30338b65912ca178429fbcfbd88113c2"},anger:{category:"symbols",moji:"💢",description:"anger symbol",unicodeVersion:"6.0",digest:"332493913891aa0eda2743b4bb16c4682400f249998bf34eb292246c9009e17f"},anger_right:{category:"symbols",moji:"🗯",description:"right anger bubble",unicodeVersion:"7.0",digest:"8b049511ef3b1b28325841e2f87c60773eaf2f65cabba58d8b0ec3de9b10c0ae"},angry:{category:"people",moji:"😠",description:"angry face",unicodeVersion:"6.0",digest:"7e09e7e821f511606341fb5ce4011a8ed9809766ab86b7983ffa6ea352b39ec1"},ant:{category:"nature",moji:"🐜",description:"ant",unicodeVersion:"6.0",digest:"929abeaff7ba21ab71cd1ab798af7a6b611e3b3ce1af80cede09a116b223e442"},apple:{category:"food",moji:"🍎",description:"red apple",unicodeVersion:"6.0",digest:"2a1b85ce57e3d236ae7777dcf332ec37d03bfd7b19806521a353bc532083224d"},aquarius:{category:"symbols",moji:"♒",description:"aquarius",unicodeVersion:"1.1",digest:"fdc42cd41b0dace5eae6baba3143f1e40295d48a29e7103a5bba1d84a056c39d"},aries:{category:"symbols",moji:"♈",description:"aries",unicodeVersion:"1.1",digest:"deb135debcde0a98f40361a84ab64d57c18b5b445cd2f4199e8936f052899737"},arrow_backward:{category:"symbols",moji:"◀",description:"black left-pointing triangle",unicodeVersion:"1.1",digest:"e162ac82e90d1e925d479fa5c45b9340e0a53287be04e43cbbb2a89c7e7e45e4"},arrow_double_down:{category:"symbols",moji:"⏬",description:"black down-pointing double triangle",unicodeVersion:"6.0",digest:"03ca890b05338d40972c7a056d672df620a203c6ca52ff3ff530f1a710905507"},arrow_double_up:{category:"symbols",moji:"⏫",description:"black up-pointing double triangle",unicodeVersion:"6.0",digest:"e753f05bce993d62d5dc79e33c441ced059381b6ce21fa3ea4200f1b3236e59d"},arrow_down:{category:"symbols",moji:"⬇",description:"downwards black arrow",unicodeVersion:"4.0",digest:"9bf1bd2ea652ca9321087de58c7a112ea04c35676a6ee0766154183f8b95af6c"},arrow_down_small:{category:"symbols",moji:"🔽",description:"down-pointing small red triangle",unicodeVersion:"6.0",digest:"7766198bc60cf59d6cdaeeaa700c2282bfff2f0fdeb22cf4581ca284b87a3bb7"},arrow_forward:{category:"symbols",moji:"▶",description:"black right-pointing triangle",unicodeVersion:"1.1",digest:"db77d9accd1e02224f5d612f79cd691e6befdf22063475204836be6572510fb7"},arrow_heading_down:{category:"symbols",moji:"⤵",description:"arrow pointing rightwards then curving downwards",unicodeVersion:"3.2",digest:"f5396069c8f63c13e6c3e0ecd34267c932451309ade9c1171d410563153bf909"},arrow_heading_up:{category:"symbols",moji:"⤴",description:"arrow pointing rightwards then curving upwards",unicodeVersion:"3.2",digest:"1cad71923fa3df24cf543cae4ce775b0f74936f2edd685fd86a7525c41a14568"},arrow_left:{category:"symbols",moji:"⬅",description:"leftwards black arrow",unicodeVersion:"4.0",digest:"b629bb3dbe161ef89cfcfced0c7968a68e44a019ad509132987e4973bdc874e7"},arrow_lower_left:{category:"symbols",moji:"↙",description:"south west arrow",unicodeVersion:"1.1",digest:"879136ba0e24e6bf3be70118abcb716d71bd74f7b62347bc052b6533c0ea534d"},arrow_lower_right:{category:"symbols",moji:"↘",description:"south east arrow",unicodeVersion:"1.1",digest:"86d52ac9b961991e3aaa6a9f9b5ace4db6ffd1b5c171c09c23b516473b55066d"},arrow_right:{category:"symbols",moji:"➡",description:"black rightwards arrow",unicodeVersion:"1.1",digest:"45f26a1cbb0f00ed3609b39da52e9d9e896a77e361c4c8036b1bf8038171bd49"},arrow_right_hook:{category:"symbols",moji:"↪",description:"rightwards arrow with hook",unicodeVersion:"1.1",digest:"4f452679c71bcea4fc4a701c55156fef3ddc1ebbc70570bedfc9d3a029637ab1"},arrow_up:{category:"symbols",moji:"⬆",description:"upwards black arrow",unicodeVersion:"4.0",digest:"982b988ef6651d8a71867ba7c87f640f62dd0eeb0b7c358f5a5c37e8fe507b8b"},arrow_up_down:{category:"symbols",moji:"↕",description:"up down arrow",unicodeVersion:"1.1",digest:"645ed8fb6646f49bfd95af1752336deacdadbe5cba13904023a704288f3b0e2c"},arrow_up_small:{category:"symbols",moji:"🔼",description:"up-pointing small red triangle",unicodeVersion:"6.0",digest:"4a8c5789c13a852517e639e7a62c2d331464e6fb0358985aa97c1515e97b5e8b"},arrow_upper_left:{category:"symbols",moji:"↖",description:"north west arrow",unicodeVersion:"1.1",digest:"79026f828d6ceb7c55a9542770962ba6dcd08203995f6ceeb70333a12307d376"},arrow_upper_right:{category:"symbols",moji:"↗",description:"north east arrow",unicodeVersion:"1.1",digest:"7e0f33dfbe65628991c170130d366a3e2cedaf8862ddfcaf3960f395d3da1926"},arrows_clockwise:{category:"symbols",moji:"🔃",description:"clockwise downwards and upwards open circle arrows",unicodeVersion:"6.0",digest:"88669679977f7157f0acaa9d6a1b77ccf84d25eb78c5bc8afcde38d3635e7144"},arrows_counterclockwise:{category:"symbols",moji:"🔄",description:"anticlockwise downwards and upwards open circle ar",unicodeVersion:"6.0",digest:"a2c6a6d3643c128aee3304cd03bb3d7cfe4d35d3ba825bc9c1142d7832b4426e"},art:{category:"activity",moji:"🎨",description:"artist palette",unicodeVersion:"6.0",digest:"b6bc6c4bfb594aadcbb641d006031867678504764bbe0ab84e7b08567a9498da"},articulated_lorry:{category:"travel",moji:"🚛",description:"articulated lorry",unicodeVersion:"6.0",digest:"c115e6613ebd718268aa31d265e017138b9fb58bbb8201eb3f40de2380e460aa"},asterisk:{category:"symbols",moji:"*⃣",description:"keycap asterisk",unicodeVersion:"3.0",digest:"33d92093f2914448d5a939cf62e8ee3e32931923abdef5f0210e8a8150fa312d"},astonished:{category:"people",moji:"😲",description:"astonished face",unicodeVersion:"6.0",digest:"f8531bdda5070d10492709085f4ff652b8be9be6458758940358b9fc594a1f14"},athletic_shoe:{category:"people",moji:"👟",description:"athletic shoe",unicodeVersion:"6.0",digest:"1f90dc390e0dea679085465b7f9e786dfd7dd56a3b219987144ed37ab1e9bf95"},atm:{category:"symbols",moji:"🏧",description:"automated teller machine",unicodeVersion:"6.0",digest:"7d3ce6a6afb4951546883404b8e36904179f88f1aa533706cf7bf0bbe0d6fd3c"},atom:{category:"symbols",moji:"⚛",description:"atom symbol",unicodeVersion:"4.1",digest:"6b6bb83b00707a314e46ff8eefbda40978a291ec7881caba1b1ee273f49c1368"},avocado:{category:"food",moji:"🥑",description:"avocado",unicodeVersion:"9.0",digest:"bc1fb203d63b18985598400925de24050bb192afda1cbf0813f85cb139869eff"},b:{category:"symbols",moji:"🅱",description:"negative squared latin capital letter b",unicodeVersion:"6.0",digest:"722f9db9442e7c0fc0d0ac0f5291fbf47c6a0ac4d8abd42e97957da705fb82bf"},baby:{category:"people",moji:"👶",description:"baby",unicodeVersion:"6.0",digest:"219ae5a571aaf90c060956cd1c56dcc27708c827cecdca3ba1122058a3c4847b"},baby_bottle:{category:"food",moji:"🍼",description:"baby bottle",unicodeVersion:"6.0",digest:"4fb71689e9d634e8d1699cf454a71e43f2b5b1a5dbab0bf186626934fdf5b782"},baby_chick:{category:"nature",moji:"🐤",description:"baby chick",unicodeVersion:"6.0",digest:"14119874e9b5548028dfb9cc593a541efc1d075ac839a565b92e0c3253cffe7e"},baby_symbol:{category:"symbols",moji:"🚼",description:"baby symbol",unicodeVersion:"6.0",digest:"fb4db66868cda45ea3879ffc2ff4f763c56d2d889ae0ab17fe171129ede02f98"},baby_tone1:{category:"people",moji:"👶🏻",description:"baby tone 1",unicodeVersion:"8.0",digest:"cd3faf223a298c34e05d469d9d0db08438d97df7fd82c0973f8a9e07d553f5b1"},baby_tone2:{category:"people",moji:"👶🏼",description:"baby tone 2",unicodeVersion:"8.0",digest:"5b4539e22e0dd726c27eb8af2357f9240a52aed3f710f3234571cff029cc6198"},baby_tone3:{category:"people",moji:"👶🏽",description:"baby tone 3",unicodeVersion:"8.0",digest:"720e740e1ac63c6372269132b1fb6e07a6b91f5c808cc3adef59f0b4500e5e72"},baby_tone4:{category:"people",moji:"👶🏾",description:"baby tone 4",unicodeVersion:"8.0",digest:"5e43b69c509bd526ad6f081764578c30b6f3285fb7442222e05ccf62e53bfb64"},baby_tone5:{category:"people",moji:"👶🏿",description:"baby tone 5",unicodeVersion:"8.0",digest:"85bba6e0940ccfb99999fe124e815f9dd340d00a5568e13967b02245a62dbf54"},back:{category:"symbols",moji:"🔙",description:"back with leftwards arrow above",unicodeVersion:"6.0",digest:"083e4e48b51092c28efb4532e840e1091b5d4b685c6e0f221aa0228f061cd91e"},bacon:{category:"food",moji:"🥓",description:"bacon",unicodeVersion:"9.0",digest:"18ad3817f1f88a69706db5727a58e763dde6c21a2d4f184c3d728c32dc5fa05a"},badminton:{category:"activity",moji:"🏸",description:"badminton racquet",unicodeVersion:"8.0",digest:"353eb7ee93decd9fe0072e4d78a5618d5e2d9e77a6e4de9fe171870d75e02a66"},baggage_claim:{category:"symbols",moji:"🛄",description:"baggage claim",unicodeVersion:"6.0",digest:"7d6bceca92c266da6d2b91dfcf244546fc11022e039e7da8e6888c1696bb2186"},balloon:{category:"objects",moji:"🎈",description:"balloon",unicodeVersion:"6.0",digest:"65760aedc1503b426927cff78c24449d563843a274961d962718fa9638375d54"},ballot_box:{category:"objects",moji:"🗳",description:"ballot box with ballot",unicodeVersion:"7.0",digest:"4175a56eca5c6458574a681e109b1403fbb143cf27f69ae6c1917650f3e08892"},ballot_box_with_check:{category:"symbols",moji:"☑",description:"ballot box with check",unicodeVersion:"1.1",digest:"c98d6f3588dd87e2f318bbfe6c646399a905450edfd814edae4e5b1bddef2134"},bamboo:{category:"nature",moji:"🎍",description:"pine decoration",unicodeVersion:"6.0",digest:"e4ee65088df43d7081b1ce6fd996f66f3e0accd88840855c47a98a22997823dd"},banana:{category:"food",moji:"🍌",description:"banana",unicodeVersion:"6.0",digest:"f9e8ff910c282c20a8907ff64926b5de4ee250529a1ed718fb33302e6fff8dd9"},bangbang:{category:"symbols",moji:"‼",description:"double exclamation mark",unicodeVersion:"1.1",digest:"76536fee63fe964a3f3839d309b1f45028fb0c43f4d1eeee495f17e1532b4def"},bank:{category:"travel",moji:"🏦",description:"bank",unicodeVersion:"6.0",digest:"f5d2976bf6d521638ccacc74be06bd4abfeab06c5d898a9d245edad45a5b6306"},bar_chart:{category:"objects",moji:"📊",description:"bar chart",unicodeVersion:"6.0",digest:"65a328a1b2d7a5332dd4d93f4dbca13d976f0a505b00835c3fc458e394804240"},barber:{category:"objects",moji:"💈",description:"barber pole",unicodeVersion:"6.0",digest:"5e8053d3bb3765a8632fd1cbfe21163f74ed79f6be377eb9603eaaf883d8dc46"},baseball:{category:"activity",moji:"⚾",description:"baseball",unicodeVersion:"5.2",digest:"46ac16f8b5455b942f6dbff9483a6fd277721e6719d2731573baabd21c44b34f"},basketball:{category:"activity",moji:"🏀",description:"basketball and hoop",unicodeVersion:"6.0",digest:"cc83e2aea8fcd2e9a5789e1932ee3766c40843c142fd3565c4e77dafb21ec7d7"},basketball_player:{category:"activity",moji:"⛹",description:"person with ball",unicodeVersion:"5.2",digest:"793ba53c95e8def769383b612037bc9b9bceecaf1e0430c50a4cc128ad18d9b9"},basketball_player_tone1:{category:"activity",moji:"⛹🏻",description:"person with ball tone 1",unicodeVersion:"8.0",digest:"2a06522b971e68ee5b8777a58253009b548f4da2fb723c638acb3d7b04edba8f"},basketball_player_tone2:{category:"activity",moji:"⛹🏼",description:"person with ball tone 2",unicodeVersion:"8.0",digest:"ecc0e44ab9bc478ba45a055fd69a3a38377b917aac5047963fe80ff8ae5fd8e3"},basketball_player_tone3:{category:"activity",moji:"⛹🏽",description:"person with ball tone 3",unicodeVersion:"8.0",digest:"2d38f1851c685d29532c042461d7b5b996e5f04f0ed54857c66073c62a99ceac"},basketball_player_tone4:{category:"activity",moji:"⛹🏾",description:"person with ball tone 4",unicodeVersion:"8.0",digest:"09e957c6e9ffc196415f28073aa261feba8efba0bdc694dc08f8f7cd1f88f720"},basketball_player_tone5:{category:"activity",moji:"⛹🏿",description:"person with ball tone 5",unicodeVersion:"8.0",digest:"c631cefc5d2a0a31bdb9f0a0d97ea68b1c6928e565468998403034644572a0b0"},bat:{category:"nature",moji:"🦇",description:"bat",unicodeVersion:"9.0",digest:"8fc19e0d7d6f80906bdbc06d616a810de66180d96cf28070a53fa61b88904535"},bath:{category:"activity",moji:"🛀",description:"bath",unicodeVersion:"6.0",digest:"33b371832f90aad50baf5296f3ad4cc081c319b279f989c74409903d8568e917"},bath_tone1:{category:"activity",moji:"🛀🏻",description:"bath tone 1",unicodeVersion:"8.0",digest:"7ae2989e47788ba71359d52da68feec95aaff68a77d5a6556957df1617af8536"},bath_tone2:{category:"activity",moji:"🛀🏼",description:"bath tone 2",unicodeVersion:"8.0",digest:"2e86f8edad54d15a7094cd52160cbe51d10aa1750cfb0b3b58e93533f070e327"},bath_tone3:{category:"activity",moji:"🛀🏽",description:"bath tone 3",unicodeVersion:"8.0",digest:"654c0cd083a67ff330a38d07352876d265390e5399e5352598d64a6c7e5eeba7"},bath_tone4:{category:"activity",moji:"🛀🏾",description:"bath tone 4",unicodeVersion:"8.0",digest:"adad88c6830f31c4b5be194d1987d6aadf4adf45e4cb7f2e4657f0d20c0d663a"},bath_tone5:{category:"activity",moji:"🛀🏿",description:"bath tone 5",unicodeVersion:"8.0",digest:"952c4c9bf24e001e23a33ebf97bd92969cd9143e28ce93f9aafc708a8f966903"},bathtub:{category:"objects",moji:"🛁",description:"bathtub",unicodeVersion:"6.0",digest:"844dffb87ef872594195069b0d0df27c3fe51f3967ccbc8b2df811a086dd483a"},battery:{category:"objects",moji:"🔋",description:"battery",unicodeVersion:"6.0",digest:"949ae06648667fb13d9121a6dfdd03bf8692794b28c36e9a8e8ac4515664449a"},beach:{category:"travel",moji:"🏖",description:"beach with umbrella",unicodeVersion:"7.0",digest:"37fa2158977d470186caaa1aa06669b6dc5026ba49a0c44c5255541f8e974e26"},beach_umbrella:{category:"objects",moji:"⛱",description:"umbrella on ground",unicodeVersion:"5.2",digest:"d045f1de10038b9fb1eaa2529b2f80b7e3be1cff503efcc2d680663d1fbbc18f"},bear:{category:"nature",moji:"🐻",description:"bear face",unicodeVersion:"6.0",digest:"a4b9066eaa5681e6af06e596a96a5217037460ffc3b013e8db4d34d762413246"},bed:{category:"objects",moji:"🛏",description:"bed",unicodeVersion:"7.0",digest:"08f6e20db51b1fb650b390a0a3074938646772f3fcee8c295d47742e44fe1e30"},bee:{category:"nature",moji:"🐝",description:"honeybee",unicodeVersion:"6.0",digest:"5beb9a1650681b4adf69999d4808231c38f41a3ec693480b807cda86f964c570"},beer:{category:"food",moji:"🍺",description:"beer mug",unicodeVersion:"6.0",digest:"69e227104976548ee0f37375fe1526fd65ef0a328d2d92db2feb1edfd7032bd4"},beers:{category:"food",moji:"🍻",description:"clinking beer mugs",unicodeVersion:"6.0",digest:"db8b32d93bf6d161a3b027e55651d8f51231b13928b3610987ef62bb634d7501"},beetle:{category:"nature",moji:"🐞",description:"lady beetle",unicodeVersion:"6.0",digest:"5aaa428e3f63f7cd1696839ab05be03fa0cd0cbed30a05c36cb270da330c3849"},beginner:{category:"symbols",moji:"🔰",description:"japanese symbol for beginner",unicodeVersion:"6.0",digest:"2de4fdf92f182c42b12b7527034eaf767d996848b61f31ee69167728411ca0b1"},bell:{category:"symbols",moji:"🔔",description:"bell",unicodeVersion:"6.0",digest:"18d419417746ead408072b78fe2edb6314cdb49492873966fa9f9f06be09899b"},bellhop:{category:"objects",moji:"🛎",description:"bellhop bell",unicodeVersion:"7.0",digest:"b8187bc4059f6a0924a47fe3f6c07f656bed0334bbcbfa1e89f800fe6594ff08"},bento:{category:"food",moji:"🍱",description:"bento box",unicodeVersion:"6.0",digest:"d46d4f681c5da7f7678b51be3445454a8ed18d917e132ae79077f05310e485f1"},bicyclist:{category:"activity",moji:"🚴",description:"bicyclist",unicodeVersion:"6.0",digest:"3302147b6b47c16adb97d78b7b761a1ca80e6d0b41d0b60f4da338d2f55f968b"},bicyclist_tone1:{category:"activity",moji:"🚴🏻",description:"bicyclist tone 1",unicodeVersion:"8.0",digest:"27eaae0eb61f5e7b3cd9faf02c042d6643a368051a7c9d7da4e0fb9802d39242"},bicyclist_tone2:{category:"activity",moji:"🚴🏼",description:"bicyclist tone 2",unicodeVersion:"8.0",digest:"39ee9e1071700da7079ad0146bf5711c3a222991eeca8b29b72a65677604444d"},bicyclist_tone3:{category:"activity",moji:"🚴🏽",description:"bicyclist tone 3",unicodeVersion:"8.0",digest:"03e1d2c4232c896147a9d4bf43becd61edbb5c84fc7193ecea474c0f9fb36817"},bicyclist_tone4:{category:"activity",moji:"🚴🏾",description:"bicyclist tone 4",unicodeVersion:"8.0",digest:"61393d9c4805be0379d86dd5bec9a1b02314433ab36cfd85bb48dfd073746617"},bicyclist_tone5:{category:"activity",moji:"🚴🏿",description:"bicyclist tone 5",unicodeVersion:"8.0",digest:"2b46d5f8303e5710dbf5db3a4edc9d88a032fe123fe79158024c9f51df5458c6"},bike:{category:"travel",moji:"🚲",description:"bicycle",unicodeVersion:"6.0",digest:"b41daa7c549d483e2336186a28baaa8ecb11986f490c0c54c793c44900c8f652"},bikini:{category:"people",moji:"👙",description:"bikini",unicodeVersion:"6.0",digest:"07fe156f64673818d69ce3bf03950ca59e3b5d346e45ca541da4078ab791f5ae"},biohazard:{category:"symbols",moji:"☣",description:"biohazard sign",unicodeVersion:"1.1",digest:"96163e31f0b8dc5a59772133ede9cc2f40f94330d0b15e3d044b28747e2be788"},bird:{category:"nature",moji:"🐦",description:"bird",unicodeVersion:"6.0",digest:"f916eaf8f271b3767ade9eabb69594c0479f45472d471cabaf59f6e965c161e0"},birthday:{category:"food",moji:"🎂",description:"birthday cake",unicodeVersion:"6.0",digest:"89e7c4c598ebee8ec8ab11ebe4ccc6defb7c4d2987ee2379a19b3b59827dd98a"},black_circle:{category:"symbols",moji:"⚫",description:"medium black circle",unicodeVersion:"4.1",digest:"c2ba672994ad0f99d7fdc449f3fee45a2dca68a58f9fe95825b38465a30ef44e"},black_heart:{category:"symbols",moji:"🖤",description:"black heart",unicodeVersion:"9.0",digest:"f334679168d6dd7328c28e9ae3cb2b1fca0e9c2777938d586bfe623db2a688b9"},black_joker:{category:"symbols",moji:"🃏",description:"playing card black joker",unicodeVersion:"6.0",digest:"d004b25f186494d5b2c65204caa9daecd749c840a0bea5718735e18109e5394d"},black_large_square:{category:"symbols",moji:"⬛",description:"black large square",unicodeVersion:"5.1",digest:"cbd90dcbc2f674eafa53820548b5263c18c9845ab39937f085e85aca0aebb479"},black_medium_small_square:{category:"symbols",moji:"◾",description:"black medium small square",unicodeVersion:"3.2",digest:"ab38363c2e862b8f67c719397a09a18e1ef996eec190691fdf769f5cfb209660"},black_medium_square:{category:"symbols",moji:"◼",description:"black medium square",unicodeVersion:"3.2",digest:"c9ffa87c37e8ee65fadcf755176949901aec7367e02abb85e63cad60cd922116"},black_nib:{category:"objects",moji:"✒",description:"black nib",unicodeVersion:"1.1",digest:"58fb23b1155102970eaa23765e7d529a21e8e545e076ec1158bf11b4de5f51a8"},black_small_square:{category:"symbols",moji:"▪",description:"black small square",unicodeVersion:"1.1",digest:"f69be6de578fffce5a3e60eda690104b2ef6a855c630040104fb760a02ff1aef"},black_square_button:{category:"symbols",moji:"🔲",description:"black square button",unicodeVersion:"6.0",digest:"9d818fcd08ed38cd0bbbcfd83e665aa29b3761c0d8b9806d8954d36785e267a8"},blossom:{category:"nature",moji:"🌼",description:"blossom",unicodeVersion:"6.0",digest:"e8cf369d4e4cdb4eccc2ebcbb35439b0344221115701daae642e58dff8544922"},blowfish:{category:"nature",moji:"🐡",description:"blowfish",unicodeVersion:"6.0",digest:"e706849ed00f08a82312381c76f6f9ba6cc261fbf87a839c85e7dd54138f9dc3"},blue_book:{category:"objects",moji:"📘",description:"blue book",unicodeVersion:"6.0",digest:"4c845748fe890516b32981b0b62bf3e8e9d906840c2060179f4f844100780615"},blue_car:{category:"travel",moji:"🚙",description:"recreational vehicle",unicodeVersion:"6.0",digest:"eca91934eb5481726cfd897b1ed5eac306e14d02499fbe49316aaec6c72b6707"},blue_heart:{category:"symbols",moji:"💙",description:"blue heart",unicodeVersion:"6.0",digest:"2caa0c8d18538cc871c6fe328a52f71e1df8aabf4d1cc2f5324b261d1b8cb99a"},blush:{category:"people",moji:"😊",description:"smiling face with smiling eyes",unicodeVersion:"6.0",digest:"3bfe8d603cfa39999c164779f666d39bbc507f124ba80233ee72da7b3b0c0457"},boar:{category:"nature",moji:"🐗",description:"boar",unicodeVersion:"6.0",digest:"c9d67479cace427ac3c30460fcffa1bf9a8e5262c0390962405dbbe6bf830fa6"},bomb:{category:"objects",moji:"💣",description:"bomb",unicodeVersion:"6.0",digest:"0155559abc4084f80e9b0b2a2091b8710ddd6369993b7fdd0685f4f8c2fd7e6c"},book:{category:"objects",moji:"📖",description:"open book",unicodeVersion:"6.0",digest:"9d912a9d1bb10dc7f2645b345ed09e90461e83df0de275acb806f1f75cef1fcf"},bookmark:{category:"objects",moji:"🔖",description:"bookmark",unicodeVersion:"6.0",digest:"5705e3108259d6900649157843c50e22d0086c3630b291d3f942da1a736e3e3d"},bookmark_tabs:{category:"objects",moji:"📑",description:"bookmark tabs",unicodeVersion:"6.0",digest:"c8fc7c9f3f82e1ccc97fc591345fdd88b09eec0fca428d8d4632a121cf1bc39a"},books:{category:"objects",moji:"📚",description:"books",unicodeVersion:"6.0",digest:"cbcf55d39dd05d26ef7350bc51e0e2f064f78bb8f59d407b516d63f68558f8e4"},boom:{category:"nature",moji:"💥",description:"collision symbol",unicodeVersion:"6.0",digest:"f5400e9583f7f997cd2385f21379f6229424a9b221445bc8f36c0bb64bdb3168"},boot:{category:"people",moji:"👢",description:"womans boots",unicodeVersion:"6.0",digest:"b4706ff35909a6fb759a3b8a797e90cb67ffc60e4853386a7d89ace9693a9364"},bouquet:{category:"nature",moji:"💐",description:"bouquet",unicodeVersion:"6.0",digest:"b93751a27b40f6185a22b3e8b413f0fe09b6010d1057c672e1a23088e0b8286f"},bow:{category:"people",moji:"🙇",description:"person bowing deeply",unicodeVersion:"6.0",digest:"33cd6da4d408f18d98bebc6a277dea8b914150e32ee472586ce3f1eb814462bd"},bow_and_arrow:{category:"activity",moji:"🏹",description:"bow and arrow",unicodeVersion:"8.0",digest:"051b4d50ab21a68b8583a6313ec183e3e1e96f493b0f4541fbb888f0b95fdd4d"},bow_tone1:{category:"people",moji:"🙇🏻",description:"person bowing deeply tone 1",unicodeVersion:"8.0",digest:"995c8400ad60d5adc66c9ae5e3c0ecf56c48b478ad79418d45b6289933d25bdd"},bow_tone2:{category:"people",moji:"🙇🏼",description:"person bowing deeply tone 2",unicodeVersion:"8.0",digest:"af89eec2fccda99d9bdd373b2345595882fee1c0a15d29af9028089e20255325"},bow_tone3:{category:"people",moji:"🙇🏽",description:"person bowing deeply tone 3",unicodeVersion:"8.0",digest:"015d8122abdf2d0caa03815545f50fb7a71e05dacd46aaa133cc9ace5192f266"},bow_tone4:{category:"people",moji:"🙇🏾",description:"person bowing deeply tone 4",unicodeVersion:"8.0",digest:"e8409096a795b775def654d36aeccb8eb91e83d7d1b32145cd73fd0b7b9e885c"},bow_tone5:{category:"people",moji:"🙇🏿",description:"person bowing deeply tone 5",unicodeVersion:"8.0",digest:"d87042cde8dbad9fb1a91a2ec60116e27b4a76388b5779d771a0bbae12a2814d"},bowling:{category:"activity",moji:"🎳",description:"bowling",unicodeVersion:"6.0",digest:"737f2cdfa4ac964baade585a39771b18080bd5e9b55c8661d3518f468f344662"},boxing_glove:{category:"activity",moji:"🥊",description:"boxing glove",unicodeVersion:"9.0",digest:"c914b2ce45f20afad66ad6f0d1b0750c4469e4f48b686dfc4aad1ec8d289c563"},boy:{category:"people",moji:"👦",description:"boy",unicodeVersion:"6.0",digest:"7bc0173d8c88f3f12d41f213f7a3a9f5ebf65efad610fd5a2a31935128a6a6c1"},boy_tone1:{category:"people",moji:"👦🏻",description:"boy tone 1",unicodeVersion:"8.0",digest:"c0e2f0483715b239fe145b0056566f7a3a722319d9a87c1e66733dff1916a19f"},boy_tone2:{category:"people",moji:"👦🏼",description:"boy tone 2",unicodeVersion:"8.0",digest:"0001d0bd1ff4dbd898604ba965b4039d09667d955bc0349301b992f9ab6dd7fd"},boy_tone3:{category:"people",moji:"👦🏽",description:"boy tone 3",unicodeVersion:"8.0",digest:"e0f08755955fd2e0bd1c5d5e84429b2a234b24a744bb50bb9f1148495b2b29f9"},boy_tone4:{category:"people",moji:"👦🏾",description:"boy tone 4",unicodeVersion:"8.0",digest:"04b6bfee58a26b1ce2e5b403504a7033aaf395f03f5cd23e824f32c90c395fe6"},boy_tone5:{category:"people",moji:"👦🏿",description:"boy tone 5",unicodeVersion:"8.0",digest:"0f76e97237203950da36c737dcc6f56dcd6c123401a8c817a0636376c7f38ef5"},bread:{category:"food",moji:"🍞",description:"bread",unicodeVersion:"6.0",digest:"81739830f16f33e6a1dd7cc17c25df207846062bb5167bb8abed7fdd49268b86"},bride_with_veil:{category:"people",moji:"👰",description:"bride with veil",unicodeVersion:"6.0",digest:"8e24bd91c3f564cf6148f2b3b4a7d692c11dd059e76a13331fdfb04ae060ea70"},bride_with_veil_tone1:{category:"people",moji:"👰🏻",description:"bride with veil tone 1",unicodeVersion:"8.0",digest:"0bd2f16f72586f50e768b14b9b353f2e98ccbb2581a568c33b06be56e70ca063"},bride_with_veil_tone2:{category:"people",moji:"👰🏼",description:"bride with veil tone 2",unicodeVersion:"8.0",digest:"e5463f811b2075754f0718b891757cd2e81071edf7af2215581227e1aad1d068"},bride_with_veil_tone3:{category:"people",moji:"👰🏽",description:"bride with veil tone 3",unicodeVersion:"8.0",digest:"e5a053a26f7ccebae7eb12f638be5ed80f77b744708d783eab2eb8aa091cf516"},bride_with_veil_tone4:{category:"people",moji:"👰🏾",description:"bride with veil tone 4",unicodeVersion:"8.0",digest:"410e23825e4401460946dc67a618bd3ace6e1a7c07dd88580a2349423685261f"},bride_with_veil_tone5:{category:"people",moji:"👰🏿",description:"bride with veil tone 5",unicodeVersion:"8.0",digest:"454e87e5a74e13e5b4993541231516fbbe6dbe9f990e1a6f3f4a744d7d4c1615"},bridge_at_night:{category:"travel",moji:"🌉",description:"bridge at night",unicodeVersion:"6.0",digest:"9d3cda5a59e27e3c90939f1ddbe7e998b3ea4fcacfa1467dea0edf39613c2d7f"},briefcase:{category:"people",moji:"💼",description:"briefcase",unicodeVersion:"6.0",digest:"9d00d6a92632aaadc71b017f448c883b27eb31a7554ebb51f7e3a9841f0f7f2b"},broken_heart:{category:"symbols",moji:"💔",description:"broken heart",unicodeVersion:"6.0",digest:"c7ca53f444d72e596af46b61ffbc9e7c18a645020c22691e44f967db98dbf853"},bug:{category:"nature",moji:"🐛",description:"bug",unicodeVersion:"6.0",digest:"0dccb1d5eb91769377b4c5b310f007b60f54a5c48ba9e467b3a06898a4831b90"},bulb:{category:"objects",moji:"💡",description:"electric light bulb",unicodeVersion:"6.0",digest:"ccdaa2dfde5a88a347035a94b9d4d86cfc335ce0a73292423f5788a4bd21a5a8"},bullettrain_front:{category:"travel",moji:"🚅",description:"high-speed train with bullet nose",unicodeVersion:"6.0",digest:"5195a6a6d23f28e1aa5ebac6ede0f6c6a8b7ff33a9edf034814f227fe976177a"},bullettrain_side:{category:"travel",moji:"🚄",description:"high-speed train",unicodeVersion:"6.0",digest:"96e74842e919716b7bbbab57339bfd70f099a9bcb4710dffd7c80cf38a7bbff7"},burrito:{category:"food",moji:"🌯",description:"burrito",unicodeVersion:"8.0",digest:"b2cf81f1efdf87e674461f73f67cd4b58a5f695e65598d0dd3899f2597da43cf"},bus:{category:"travel",moji:"🚌",description:"bus",unicodeVersion:"6.0",digest:"192850b762edad21ac8770df38b9cae6d2bc1697a838462f3e36066bfb4eee50"},busstop:{category:"travel",moji:"🚏",description:"bus stop",unicodeVersion:"6.0",digest:"adabb1ec36402b33feb636eae3656e5a8b51ff1071bcb14125d8ab80d6d12d2a"},bust_in_silhouette:{category:"people",moji:"👤",description:"bust in silhouette",unicodeVersion:"6.0",digest:"277ae43301f1e49e0be03c8e52f0dc7b70c67f9d146bca0a14172e0098f115e6"},busts_in_silhouette:{category:"people",moji:"👥",description:"busts in silhouette",unicodeVersion:"6.0",digest:"7fee96f1b68bb2c6002e47f2ed13c06baa6a3168441b9aca572db7ec45612f7b"},butterfly:{category:"nature",moji:"🦋",description:"butterfly",unicodeVersion:"9.0",digest:"a91b6598c17b44a8dc8935a1d99e25f4483ea41470cdd2da343039a9eec29ef1"},cactus:{category:"nature",moji:"🌵",description:"cactus",unicodeVersion:"6.0",digest:"2c5c4c35f26c7046fdc002b337e0d939729b33a26980e675950f9934c91e40fd"},cake:{category:"food",moji:"🍰",description:"shortcake",unicodeVersion:"6.0",digest:"b928902df8084210d51c1da36f9119164a325393c391b28cd8ea914e0b95c17b"},calendar:{category:"objects",moji:"📆",description:"tear-off calendar",unicodeVersion:"6.0",digest:"9d990be27778daab041a3583edbd8f83fc8957e42a3aec729c0e2e224a8d05e3"},calendar_spiral:{category:"objects",moji:"🗓",description:"spiral calendar pad",unicodeVersion:"7.0",digest:"441a0750eade7ce33e28e58bec76958990c412b68409fcdde59ebad1f25361bb"},call_me:{category:"people",moji:"🤙",description:"call me hand",unicodeVersion:"9.0",digest:"83d2ed96dcb8b4adf4f4d030ffd07e25ca16351e1a4fbefdf9f46f5ca496a55f"},call_me_tone1:{category:"people",moji:"🤙🏻",description:"call me hand tone 1",unicodeVersion:"9.0",digest:"4a5748efa83e7294e8338b8795d4d315ff1cd31ead6759004d0eb330e50de8cd"},call_me_tone2:{category:"people",moji:"🤙🏼",description:"call me hand tone 2",unicodeVersion:"9.0",digest:"54feaa6e3c5789ae6e15622127f0e0213234b4b886e1588ce95814348b1f1519"},call_me_tone3:{category:"people",moji:"🤙🏽",description:"call me hand tone 3",unicodeVersion:"9.0",digest:"57e949b951e14843b712dab5a828f915ee255f5bb973db33946aab4057427419"},call_me_tone4:{category:"people",moji:"🤙🏾",description:"call me hand tone 4",unicodeVersion:"9.0",digest:"f7787e933978a09c7b8ab8d3b1e1ab395aaae998c455e93bb3db24a4c8a60fe0"},call_me_tone5:{category:"people",moji:"🤙🏿",description:"call me hand tone 5",unicodeVersion:"9.0",digest:"1fdb7d833d000b117d20d48142d3026a61cc9c8b712ebb498fa66bf75c74d7a5"},calling:{category:"objects",moji:"📲",description:"mobile phone with rightwards arrow at left",unicodeVersion:"6.0",digest:"acf668c75c11c36686005788266524a972fa1c5bcf666ff3403d909edc5cee91"},camel:{category:"nature",moji:"🐫",description:"bactrian camel",unicodeVersion:"6.0",digest:"5f927927a7ab1277d0dc8b8211436957968b1e11365a8bf535e9bb94f92c5631"},camera:{category:"objects",moji:"📷",description:"camera",unicodeVersion:"6.0",digest:"fde03e396822a36cd6ae756ede885b945a074395264162731ca5db47a3b39d80"},camera_with_flash:{category:"objects",moji:"📸",description:"camera with flash",unicodeVersion:"7.0",digest:"9afd380208187780f00244c45d4db6c5ea1ea088d4a1bd8fc92a8f3877149750"},camping:{category:"travel",moji:"🏕",description:"camping",unicodeVersion:"7.0",digest:"a42a4ff9521affa72db7b0f01da169b4cb6afb9db1c5dfad47dd4c507bfc30d9"},cancer:{category:"symbols",moji:"♋",description:"cancer",unicodeVersion:"1.1",digest:"528c6f21df99a756b553d93a7f395b0f662b30a323affd05f0cedee8ff7b41d6"},candle:{category:"objects",moji:"🕯",description:"candle",unicodeVersion:"7.0",digest:"211c04dc3a91b071c284d4180ed09f9d3320e3fd6ba8a9fddd0677bc97fd12cb"},candy:{category:"food",moji:"🍬",description:"candy",unicodeVersion:"6.0",digest:"9cff4538918f60f770fceb96e964f5dc3ce31fd08ddd2ab3bfdf2981bfa74100"},canoe:{category:"travel",moji:"🛶",description:"canoe",unicodeVersion:"9.0",digest:"56ca308cc2ad4827468cf58c4ccf6ef6b3382835a91e935540a2b973e01d2572"},capital_abcd:{category:"symbols",moji:"🔠",description:"input symbol for latin capital letters",unicodeVersion:"6.0",digest:"a416d0b3f564037b680f801fb773b6eaf67225e2cbbfd2cb8a5db0de044321fa"},capricorn:{category:"symbols",moji:"♑",description:"capricorn",unicodeVersion:"1.1",digest:"f11abad102603737b55486fe2ea4d01f28b203394bcd84f19a7948156e6c4b96"},card_box:{category:"objects",moji:"🗃",description:"card file box",unicodeVersion:"7.0",digest:"7a6199d562f30e02ed31094de6aebeb99eae8ac156f6910463dfed73256f4c9a"},card_index:{category:"objects",moji:"📇",description:"card index",unicodeVersion:"6.0",digest:"86e187e0a72ca5d00207d6ef34d66ce15046848a831c2b5184fb840c5332a2a8"},carousel_horse:{category:"travel",moji:"🎠",description:"carousel horse",unicodeVersion:"6.0",digest:"c0e7059efc39a64233f774c02ddb1ab51888fff180f906ce13a6e4f9509672fe"},carrot:{category:"food",moji:"🥕",description:"carrot",unicodeVersion:"9.0",digest:"3a6fd98b63ee73d982a9cdacb08cf7b4014368cde8ffce6056b7df25a5a472b1"},cartwheel:{category:"activity",moji:"🤸",description:"person doing cartwheel",unicodeVersion:"9.0",digest:"d78de3435e0b04a9b1a1048ae12e63e3248f9ace3a0db4d3bda584f22af18863"},cartwheel_tone1:{category:"activity",moji:"🤸🏻",description:"person doing cartwheel tone 1",unicodeVersion:"9.0",digest:"39a49781a269bb40d8efc8fd73c973b00fb2e192850ea6073062b5dea0cd5b74"},cartwheel_tone2:{category:"activity",moji:"🤸🏼",description:"person doing cartwheel tone 2",unicodeVersion:"9.0",digest:"6231eb35be45457fd648f8f4b79983f03705c9d983a18067f7e6d9ae47bc1958"},cartwheel_tone3:{category:"activity",moji:"🤸🏽",description:"person doing cartwheel tone 3",unicodeVersion:"9.0",digest:"ca483c78cc823811a8c279c501d9b283e4c990dafc5995ad40e68ecb0af554df"},cartwheel_tone4:{category:"activity",moji:"🤸🏾",description:"person doing cartwheel tone 4",unicodeVersion:"9.0",digest:"8253afb672431c84e498014c30babb00b9284bec773009e79f7f06aa7108643e"},cartwheel_tone5:{category:"activity",moji:"🤸🏿",description:"person doing cartwheel tone 5",unicodeVersion:"9.0",digest:"6fd92baff57c38b3adb6753d9e7e547e762971a8872fd3f1e71c6aaf0b1d3ab9"},cat:{category:"nature",moji:"🐱",description:"cat face",unicodeVersion:"6.0",digest:"e52d0d3a205a0ba99094717e171a7f572b713a0e21b276ffa4a826596fe5cafc"},cat2:{category:"nature",moji:"🐈",description:"cat",unicodeVersion:"6.0",digest:"46aa67a99f782935932c77b8de93287142297abe52928c173191cf55bb8f4339"},cd:{category:"objects",moji:"💿",description:"optical disc",unicodeVersion:"6.0",digest:"16363d8a34b873c12df6354b99f575cae3d80e0d27100ed7eea70f0310953c7b"},chains:{category:"objects",moji:"⛓",description:"chains",unicodeVersion:"5.2",digest:"3884cdbc6f2b433062af06f942552e563231c24727a2f10fa280b3bb7aa614e2"},champagne:{category:"food",moji:"🍾",description:"bottle with popping cork",unicodeVersion:"8.0",digest:"9e6e8987f30a37ae0f3d7dab2f5eeb50aa32b4f31402b29315eb2994afc72457"},champagne_glass:{category:"food",moji:"🥂",description:"clinking glasses",unicodeVersion:"9.0",digest:"5a2e4773f7eb126a00122cbfa4dc535da51ce00e0bf0d8d6ff8bab8b3365f8d2"},chart:{category:"symbols",moji:"💹",description:"chart with upwards trend and yen sign",unicodeVersion:"6.0",digest:"a092dbc08f925b028286b2b495a5f59033b8537a586a694f46f4c1e7c3a1e27f"},chart_with_downwards_trend:{category:"objects",moji:"📉",description:"chart with downwards trend",unicodeVersion:"6.0",digest:"5db7ccbc37665736a9c0b2f50247dcc09e404ec37f39db45b7b8b9464172a18c"},chart_with_upwards_trend:{category:"objects",moji:"📈",description:"chart with upwards trend",unicodeVersion:"6.0",digest:"bc4ea250b102fe5c09847e471478aff065ad3df755d9717896d38d887d9c6733"},checkered_flag:{category:"travel",moji:"🏁",description:"chequered flag",unicodeVersion:"6.0",digest:"0e77180e0cf9fc87e755a5a42cf23aec6bf30931db41331311e97ba0be178b78"},cheese:{category:"food",moji:"🧀",description:"cheese wedge",unicodeVersion:"8.0",digest:"50a6cb906c2120e2bbc0e22105924262007cfe1554d7b02b8cc84b6adedc6a0b"},cherries:{category:"food",moji:"🍒",description:"cherries",unicodeVersion:"6.0",digest:"13b8db9e7e6eec8509aa80c762966e1bf3538fcb1ac3d6eab18ee4da1528cf84"},cherry_blossom:{category:"nature",moji:"🌸",description:"cherry blossom",unicodeVersion:"6.0",digest:"af3083f5f8dd94936113f2e16caba5aec7a774d5589aa08bf5de82a2d278cc66"},chestnut:{category:"nature",moji:"🌰",description:"chestnut",unicodeVersion:"6.0",digest:"9f85b79b207a69ab81ab88dcef04954000965b039b4cf57de5f1b381745ab98b"},chicken:{category:"nature",moji:"🐔",description:"chicken",unicodeVersion:"6.0",digest:"57ceb4459d183740009caac6ebed089d2f1e12f67c138e1be1d0f992313c0ac4"},children_crossing:{category:"symbols",moji:"🚸",description:"children crossing",unicodeVersion:"6.0",digest:"0ded7d9aca0161e8ef8e2858c3c198e70e4badc7105ac3a6886e06975de19106"},chipmunk:{category:"nature",moji:"🐿",description:"chipmunk",unicodeVersion:"7.0",digest:"5b0dc1a859163097727ba2ba5ffca38b0a54d925eebb089977d28d0b4d917a3f"},chocolate_bar:{category:"food",moji:"🍫",description:"chocolate bar",unicodeVersion:"6.0",digest:"dd273e5050488acaf885f8a18b6e2b3901f69c5b39fa6465fb60621783d4109a"},christmas_tree:{category:"nature",moji:"🎄",description:"christmas tree",unicodeVersion:"6.0",digest:"ce60cbe2ebbe8057be8edea2392455fedd2bcda64a0a831f6a1942028af7e747"},church:{category:"travel",moji:"⛪",description:"church",unicodeVersion:"5.2",digest:"2c328456528f7336e59443e20ec3ab22fe71f1fccb1dd50d0ad68eb206937557"},cinema:{category:"symbols",moji:"🎦",description:"cinema",unicodeVersion:"6.0",digest:"4c26dcdc76f93dbc2a1dc49ed4e132b8e8f2b7cdc1acf5e09b3dfd99430d97cd"},circus_tent:{category:"activity",moji:"🎪",description:"circus tent",unicodeVersion:"6.0",digest:"fec5f2a06222be8be549178b29720343cc00145177ec387ca4e6f3432481fe77"},city_dusk:{category:"travel",moji:"🌆",description:"cityscape at dusk",unicodeVersion:"6.0",digest:"bba345e949dcc51f5f018220f000223797970c82ead2ab9c822f9dc0847aa155"},city_sunset:{category:"travel",moji:"🌇",description:"sunset over buildings",unicodeVersion:"6.0",digest:"a846df1a4c7c778f8e1729804aece86eb29d2fcb95dc39eaaf2aae1897f3dcc7"},cityscape:{category:"travel",moji:"🏙",description:"cityscape",unicodeVersion:"7.0",digest:"ee360be7514c4bfb0d539dd28f3b2031ebcef04e850723ec0685fb54bd8e6d5f"},cl:{category:"symbols",moji:"🆑",description:"squared cl",unicodeVersion:"6.0",digest:"fcec2855dbad9fda11d6e2802bc0dcaabab0b5be233508f5e439f156f07602c1"},clap:{category:"people",moji:"👏",description:"clapping hands sign",unicodeVersion:"6.0",digest:"a1860ce7812a9f6fb55e45761e1b79a2f8f0620eb04f80748a38420889d58a2a"},clap_tone1:{category:"people",moji:"👏🏻",description:"clapping hands sign tone 1",unicodeVersion:"8.0",digest:"18a7022e08223fb2109af5a9b9a5b4f47dc870ce4453f4987d2d0b729ef54586"},clap_tone2:{category:"people",moji:"👏🏼",description:"clapping hands sign tone 2",unicodeVersion:"8.0",digest:"5954c8658b15e755d2018d8674df84d38e22ffededc4d726c6a33b709f71426a"},clap_tone3:{category:"people",moji:"👏🏽",description:"clapping hands sign tone 3",unicodeVersion:"8.0",digest:"22639b6bd3c53784a2f855d6db7bdf31621519f19dfc29a6bc310eee6421f742"},clap_tone4:{category:"people",moji:"👏🏾",description:"clapping hands sign tone 4",unicodeVersion:"8.0",digest:"e55248dc163d1bbd118b50cd8767750ead86d082151febbc0a75b32d63abceec"},clap_tone5:{category:"people",moji:"👏🏿",description:"clapping hands sign tone 5",unicodeVersion:"8.0",digest:"76046b8157dabbe048a07fc318122456020c9c980fc1b8ab76802330e07b3b53"},clapper:{category:"activity",moji:"🎬",description:"clapper board",unicodeVersion:"6.0",digest:"8149752a0e3e8abede2d433d1afab6d217877d0c76adb1e2845a0142c0cdcbaa"},classical_building:{category:"travel",moji:"🏛",description:"classical building",unicodeVersion:"7.0",digest:"9ee0d00c43d6e22b6a3ddea67619737270cc7e9294797a19c7c60d5f92aa44fa"},clipboard:{category:"objects",moji:"📋",description:"clipboard",unicodeVersion:"6.0",digest:"bdd7f7d973c714e59d2903d401a876e6018794c7987c9ca57108c137c5edc25f"},clock:{category:"objects",moji:"🕰",description:"mantlepiece clock",unicodeVersion:"7.0",digest:"302835eab2637db799acf69b3d795571ef3432251267050db0704f2954e8b190"},clock1:{category:"symbols",moji:"🕐",description:"clock face one oclock",unicodeVersion:"6.0",digest:"1778eec07ce061c9393e5abee5ca83b24e1ce61d8a75fa2e39efcb31aa160395"},clock10:{category:"symbols",moji:"🕙",description:"clock face ten oclock",unicodeVersion:"6.0",digest:"601fc12ea5280a54c2e69dbb685f454e4165fe771756ed6f89016e29e683a24f"},clock1030:{category:"symbols",moji:"🕥",description:"clock face ten-thirty",unicodeVersion:"6.0",digest:"4fd155f08f797542d52cff4b0aa3ca9f080f37a41c301b82f90ff6d4693c890e"},clock11:{category:"symbols",moji:"🕚",description:"clock face eleven oclock",unicodeVersion:"6.0",digest:"5c79dc812e812e8a01993ea633b323d654ce3a7ea258692781a4896e4ad2017e"},clock1130:{category:"symbols",moji:"🕦",description:"clock face eleven-thirty",unicodeVersion:"6.0",digest:"41497ee2020ee5ac9aa5f9b07560f7afca7c422b04214449cfc5cea9f020f52e"},clock12:{category:"symbols",moji:"🕛",description:"clock face twelve oclock",unicodeVersion:"6.0",digest:"046bb7ffa5f5d27c2e3411ba543484d9dabb8ebf6d6e7a7e9bfb088c1813500c"},clock1230:{category:"symbols",moji:"🕧",description:"clock face twelve-thirty",unicodeVersion:"6.0",digest:"bbfe9db5a2043aaba19a7a2a0185c7efcebf1e8c9263b8233f75b53c4825f0f4"},clock130:{category:"symbols",moji:"🕜",description:"clock face one-thirty",unicodeVersion:"6.0",digest:"8662cb395ee680c2781123305c4c8ce8c0df9565c2c942668940be540cc0c094"},clock2:{category:"symbols",moji:"🕑",description:"clock face two oclock",unicodeVersion:"6.0",digest:"42f7429748b612dce7de77221cbbc710655811f7bb23e2a986c36e6d662f0ec4"},clock230:{category:"symbols",moji:"🕝",description:"clock face two-thirty",unicodeVersion:"6.0",digest:"e710b6ef14227cd240ea3e2a867c8ef45b5c060adf3cb30ba9077c2351fe6677"},clock3:{category:"symbols",moji:"🕒",description:"clock face three oclock",unicodeVersion:"6.0",digest:"7340d465b398a378211dff9ec806db579d061206fd6fc238623d070cfe0a55ce"},clock330:{category:"symbols",moji:"🕞",description:"clock face three-thirty",unicodeVersion:"6.0",digest:"7aa4a15cc8de04ed3bdeb0f8a54a7915065f2809a07054e002d89926c9766831"},clock4:{category:"symbols",moji:"🕓",description:"clock face four oclock",unicodeVersion:"6.0",digest:"36fd88e81ad488b0ec49a911a838693281573fa14736ae4a6dd1c40a4ff69bb1"},clock430:{category:"symbols",moji:"🕟",description:"clock face four-thirty",unicodeVersion:"6.0",digest:"7bd5dd71e89d95dcf18b9e8c1fe2a353a7da3b69aadb8dda80ee9bafb05da58d"},clock5:{category:"symbols",moji:"🕔",description:"clock face five oclock",unicodeVersion:"6.0",digest:"aa406409e56a0bfd8c850e44efe45fd190ffd7bf7061e934ed7928dfbdfc9eba"},clock530:{category:"symbols",moji:"🕠",description:"clock face five-thirty",unicodeVersion:"6.0",digest:"25dd3bcc53ddd98eeea498d7dbd4c306ef39dd033f15909063388a0800febf41"},clock6:{category:"symbols",moji:"🕕",description:"clock face six oclock",unicodeVersion:"6.0",digest:"0a321eaf1bc5db8436bbadac66c45ba257fc98ad4c7569ce3fc6602c824b6d7c"},clock630:{category:"symbols",moji:"🕡",description:"clock face six-thirty",unicodeVersion:"6.0",digest:"55a4c5a665fdd38a724e9357a93c55401fcd5f1b13078c25754bd70c3fc4ccec"},clock7:{category:"symbols",moji:"🕖",description:"clock face seven oclock",unicodeVersion:"6.0",digest:"6154306545716e865da0ec537ee4f22bfe6c7294502a64a2dcf425c587d0e2a2"},clock730:{category:"symbols",moji:"🕢",description:"clock face seven-thirty",unicodeVersion:"6.0",digest:"6925654de642e50f84661f94364a96c87757d73fffe766aacbf4bbd70130547b"},clock8:{category:"symbols",moji:"🕗",description:"clock face eight oclock",unicodeVersion:"6.0",digest:"9be2d189c7ea56d39fd259f84853d753c1cf33e64f8ed57f86f822d9ae23a1ee"},clock830:{category:"symbols",moji:"🕣",description:"clock face eight-thirty",unicodeVersion:"6.0",digest:"16878613c0000d2f558c88d080551f424a8bd9df1358e0f931dd25c3da68f2d9"},clock9:{category:"symbols",moji:"🕘",description:"clock face nine oclock",unicodeVersion:"6.0",digest:"1d1e7e3c9d085ffa5b7c0f3d9fd394b734f16ae3b60df09af50fe6c8d4f3c8bb"},clock930:{category:"symbols",moji:"🕤",description:"clock face nine-thirty",unicodeVersion:"6.0",digest:"9fdef6a4939315c017b165e1dbac7710fb335df8c309be3fe2a011ef7fc28d74"},closed_book:{category:"objects",moji:"📕",description:"closed book",unicodeVersion:"6.0",digest:"b18288629d201bfdfc5d66ec47df89809d00642b15732757e6a04789f36a7d9f"},closed_lock_with_key:{category:"objects",moji:"🔐",description:"closed lock with key",unicodeVersion:"6.0",digest:"e39adfe9b30973bca16472c2b7e6462b064a93b9d452aa48edd74c727641a83d"},closed_umbrella:{category:"people",moji:"🌂",description:"closed umbrella",unicodeVersion:"6.0",digest:"2cc0592c74601f7439e88c3c1ec4f05e3459608ef1ea6558c5824ed7c3889727"},cloud:{category:"nature",moji:"☁",description:"cloud",unicodeVersion:"1.1",digest:"5b3a19718dfa8a381929665afdc2284464d24020c8dd0caff4dad465a1f536ba"},cloud_lightning:{category:"nature",moji:"🌩",description:"cloud with lightning",unicodeVersion:"7.0",digest:"2b32f6d87726df2935ad81870879ccec30ce9b4fd5861d1a6317f9eca2f013d9"},cloud_rain:{category:"nature",moji:"🌧",description:"cloud with rain",unicodeVersion:"7.0",digest:"1e1e8bc59e168e1d2e72bf11f2d43cb578cbf0a5f1daf383bba5c56fb750ee71"},cloud_snow:{category:"nature",moji:"🌨",description:"cloud with snow",unicodeVersion:"7.0",digest:"2d364f859b83e684213e8eece1640208d80a8de0a49d0fc8e0e24c5a8493a3b1"},cloud_tornado:{category:"nature",moji:"🌪",description:"cloud with tornado",unicodeVersion:"7.0",digest:"7cbed2343c280ba3996082b3d0fb9d8cd57d6e62fe6c9ecb159f46b4a2e49151"},clown:{category:"people",moji:"🤡",description:"clown face",unicodeVersion:"9.0",digest:"eea95687caabc9e808514c2450ba599e5e24ef47923dbec86f5297a64438e2e5"},clubs:{category:"symbols",moji:"♣",description:"black club suit",unicodeVersion:"1.1",digest:"b8cf72ecd8568ced077b475d94788fb282bdb06d25031b5d54dd63e25effb138"},cocktail:{category:"food",moji:"🍸",description:"cocktail glass",unicodeVersion:"6.0",digest:"3792def2cde885cf32167f04904d3b0b788388e8af410c63e4cd31550feba775"},coffee:{category:"food",moji:"☕",description:"hot beverage",unicodeVersion:"4.0",digest:"0d29615a7a67d3aafa257b909bb915dc74fa8f854acb0d9a2c29e94eedf80326"},coffin:{category:"objects",moji:"⚰",description:"coffin",unicodeVersion:"4.1",digest:"78eccc1aad2a822649fba8503d4d30354bef367c4271193c40ddb692308f9db8"},cold_sweat:{category:"people",moji:"😰",description:"face with open mouth and cold sweat",unicodeVersion:"6.0",digest:"f53aab523ed3fa2224a16881d263fb5e039f163380f92feb2c63c20f9b14dcd2"},comet:{category:"nature",moji:"☄",description:"comet",unicodeVersion:"1.1",digest:"40ce93e55c6e57a88d80670b37171190bd5ffc87b7078891d8de5b15795385c5"},compression:{category:"objects",moji:"🗜",description:"compression",unicodeVersion:"7.0",digest:"c8841f7afb5345f1c31da116a7fb41d07232ea58d3f7f1a75c5890aa1a80bfd6"},computer:{category:"objects",moji:"💻",description:"personal computer",unicodeVersion:"6.0",digest:"c970ce76b5607434895b0407bdaa93140f887930781a17dd7dcf16f711451d93"},confetti_ball:{category:"objects",moji:"🎊",description:"confetti ball",unicodeVersion:"6.0",digest:"a638b16f1acdbcf69edf760161b1bd7ff1fd5426c5b1203ad9d294dcc0701f10"},confounded:{category:"people",moji:"😖",description:"confounded face",unicodeVersion:"6.0",digest:"e2ff3b4df65d00c1ca9ae0cb379f959ea2cecefb3d676d4f8c2c5f2c103da4f6"},confused:{category:"people",moji:"😕",description:"confused face",unicodeVersion:"6.1",digest:"118d7f830ec08a3ac4b798eebb77a989b8c142f2588727181be4a2548e3c4f06"},congratulations:{category:"symbols",moji:"㊗",description:"circled ideograph congratulation",unicodeVersion:"1.1",digest:"02fd1338c54fe5f9a0fd861f23c56edc1d39bcd3140b68f0f626f9e2494d2d1c"},construction:{category:"travel",moji:"🚧",description:"construction sign",unicodeVersion:"6.0",digest:"c3a0401331111b9eda1206bee5f322db80b0870547d307b10dcac1314e4078c8"},construction_site:{category:"travel",moji:"🏗",description:"building construction",unicodeVersion:"7.0",digest:"c611f0a5de10f000a0756935f226845c7292f19ff5581d1f7a7554316338bbcb"},construction_worker:{category:"people",moji:"👷",description:"construction worker",unicodeVersion:"6.0",digest:"8c094733987e7c4da8d3aa4588b530ae07042bd70cf337b1fd412a70ee8f0ed6"},construction_worker_tone1:{category:"people",moji:"👷🏻",description:"construction worker tone 1",unicodeVersion:"8.0",digest:"fcd927405fef4486105cd3aff62155467d21cebbc013924d4b52b717b566602b"},construction_worker_tone2:{category:"people",moji:"👷🏼",description:"construction worker tone 2",unicodeVersion:"8.0",digest:"d1ec773828936c703dd6e334e696dc3cf7c34c0a8ec691564a384b735cdeaaba"},construction_worker_tone3:{category:"people",moji:"👷🏽",description:"construction worker tone 3",unicodeVersion:"8.0",digest:"37c114d6879b9b32b800b0d4cf770dcbe04d1455698130ecd709a0cb9dea880b"},construction_worker_tone4:{category:"people",moji:"👷🏾",description:"construction worker tone 4",unicodeVersion:"8.0",digest:"5264996c1bedb6061a0dfdddce233d863bf308d27127ad152b63bfd983162cf7"},construction_worker_tone5:{category:"people",moji:"👷🏿",description:"construction worker tone 5",unicodeVersion:"8.0",digest:"87051aec81fd5dfd4dc44ff0411a528ee08253e9494d37efa550694e28dde6d3"},control_knobs:{category:"objects",moji:"🎛",description:"control knobs",unicodeVersion:"7.0",digest:"0d7f33ff7acc1cc3a81e6a786ff007df20da145e3070f338505dfed5100e9fcb"},convenience_store:{category:"travel",moji:"🏪",description:"convenience store",unicodeVersion:"6.0",digest:"975dcf9b8e9e3fb1e29574b41300b9d96fd64703b3c18ff52f9f1875d1cf1b52"},cookie:{category:"food",moji:"🍪",description:"cookie",unicodeVersion:"6.0",digest:"4bed3522bd50091ac5b68ca760661eb484d7f1b9c9d564d2097bd812b7f28ae4"},cooking:{category:"food",moji:"🍳",description:"cooking",unicodeVersion:"6.0",digest:"563ffd6cae381ce1e318cdacc54e70040d6a01a50d0db8aeb50edbbe413eac58"},cool:{category:"symbols",moji:"🆒",description:"squared cool",unicodeVersion:"6.0",digest:"5739a37341c782a4736adfce804e12776ae33081098a3d052d8ae9a64b4d22d1"},cop:{category:"people",moji:"👮",description:"police officer",unicodeVersion:"6.0",digest:"78996521bbe231d03ebea355226d8a1515f47cde7b2fbeca1037e7b7e5133466"},cop_tone1:{category:"people",moji:"👮🏻",description:"police officer tone 1",unicodeVersion:"8.0",digest:"8a38cd107f5f4c0b821ac43f32df5dc57facaf39fbafb98483ec00fd7df41baf"},cop_tone2:{category:"people",moji:"👮🏼",description:"police officer tone 2",unicodeVersion:"8.0",digest:"8ab8ab086f3ff82aa4bf4760c3c822846ec2696c41d21dffdac12d5afbe398b7"},cop_tone3:{category:"people",moji:"👮🏽",description:"police officer tone 3",unicodeVersion:"8.0",digest:"fce710a99fd44a7c8af3ea01b2007e46d3ff38d7a0dff1ef26d6f893ede7e6d2"},cop_tone4:{category:"people",moji:"👮🏾",description:"police officer tone 4",unicodeVersion:"8.0",digest:"3017dd73ef475379911c5e6c79bd0f9f533dbbc5057bce6a11244faa12996ba0"},cop_tone5:{category:"people",moji:"👮🏿",description:"police officer tone 5",unicodeVersion:"8.0",digest:"a3b8807b3f2a8d6ee9bcec0339355bda486e8c930f727139f5447a4b046a6307"},copyright:{category:"symbols",moji:"©",description:"copyright sign",unicodeVersion:"1.1",digest:"cc28663cdd3f8333d9bb57b511348cde4e51bda19cf0629dccb05c8fc425e079"},corn:{category:"food",moji:"🌽",description:"ear of maize",unicodeVersion:"6.0",digest:"a099a0b291fa758690e6ee6c762b9ade9a0e3350a707c52d968dfffbcc467de5"},couch:{category:"objects",moji:"🛋",description:"couch and lamp",unicodeVersion:"7.0",digest:"84cd734dbaa7f9f519438036d687e7a53217130779bc3de30258f163521b9474"},couple:{category:"people",moji:"👫",description:"man and woman holding hands",unicodeVersion:"6.0",digest:"c897ba76e24e2f43a4aa261c2754800a8473f43c7ce53f9909a6af2c4897732a"},couple_mm:{category:"people",moji:"👨❤️👨",description:"couple (man,man)",unicodeVersion:"6.0",digest:"c812471d35d46e12270653039a907d1dfa2dea0defd65596283e5b8e03cea803"},couple_with_heart:{category:"people",moji:"💑",description:"couple with heart",unicodeVersion:"6.0",digest:"420bfa81bad10365550c77a98e1c07eb00d03663fe7b610fab1aca8a0a9d201b"},couple_ww:{category:"people",moji:"👩❤️👩",description:"couple (woman,woman)",unicodeVersion:"6.0",digest:"7ac49153a612d63302299eee996308b7dcafa0a152473dab679215036fe6567e"},couplekiss:{category:"people",moji:"💏",description:"kiss",unicodeVersion:"6.0",digest:"1acfef9d375c4c1deb235babd856b0f90ad4f3194751694cb6abb44f00f29e42"},cow:{category:"nature",moji:"🐮",description:"cow face",unicodeVersion:"6.0",digest:"d71c854ff8b343ee24b8c2b9d56c7cb3fc6fa1a6dc0d7a137841b9f646e6d71b"},cow2:{category:"nature",moji:"🐄",description:"cow",unicodeVersion:"6.0",digest:"e7a5131d7dee0f3356814b0ac1ea8ff280b12a7b580181e20ddb0b7eeb7e7339"},cowboy:{category:"people",moji:"🤠",description:"face with cowboy hat",unicodeVersion:"9.0",digest:"1aabf23f6b95a9b772fdb8eb45b8ec93584a5357f9131c6eabc9d1b83fe67e89"},crab:{category:"nature",moji:"🦀",description:"crab",unicodeVersion:"8.0",digest:"e6be16699fdb5d87f42f28f6cc141a44b7ffd834ecdd536813c4b5b86d3fc4a5"},crayon:{category:"objects",moji:"🖍",description:"lower left crayon",unicodeVersion:"7.0",digest:"b180d6afa4777861222a4228164ce284230fe90c589f52ffa9351bac777e901a"},credit_card:{category:"objects",moji:"💳",description:"credit card",unicodeVersion:"6.0",digest:"808cd120fd3738eb2be1f6c6c029d98387b0e03fca7d1451e8fbf9c5ab3f643f"},crescent_moon:{category:"nature",moji:"🌙",description:"crescent moon",unicodeVersion:"6.0",digest:"042e7e01e6e88b97a763b7cc41e2a2b3fe68a649bacf4a090cd28fc653baf640"},cricket:{category:"activity",moji:"🏏",description:"cricket bat and ball",unicodeVersion:"8.0",digest:"4c4559d0b4efe24cc248fa57f413541307992e519d0cb9fb8828637ac2f4cc16"},crocodile:{category:"nature",moji:"🐊",description:"crocodile",unicodeVersion:"6.0",digest:"59cb4164c50b6bc9ae311ce6f7610467c1aaafa848b5fff7614f064715f91992"},croissant:{category:"food",moji:"🥐",description:"croissant",unicodeVersion:"9.0",digest:"b751e287157a1e276617a841a5b5f7f1208ca226cfd8fa947f144390b65a5e16"},cross:{category:"symbols",moji:"✝",description:"latin cross",unicodeVersion:"1.1",digest:"a6b07c838fb75ef2ebefa2df6005e8d784753239ec03c37695a13e3b1954d653"},crossed_flags:{category:"objects",moji:"🎌",description:"crossed flags",unicodeVersion:"6.0",digest:"2841c671075e6f1a79c61c2d716423159fb0bc0786e3fb0049697766533bf262"},crossed_swords:{category:"objects",moji:"⚔",description:"crossed swords",unicodeVersion:"4.1",digest:"3771a5b26b514236521ce44e15f7730fa9148c6a782b9b600ab870a1f7de6f9f"},crown:{category:"people",moji:"👑",description:"crown",unicodeVersion:"6.0",digest:"6741e58d8f823194e0a3484ac1563e20d9e0b44c1bc46d82444dfffa092cdfc7"},cruise_ship:{category:"travel",moji:"🛳",description:"passenger ship",unicodeVersion:"7.0",digest:"2b7b62db5d118a632673564099e3405ea6d61ea9b8e123b5a2aaf011bb2a54a4"},cry:{category:"people",moji:"😢",description:"crying face",unicodeVersion:"6.0",digest:"fc3307ec4fe75539770c1123a0e8e721d9e021009a502655132f68d7cc453816"},crying_cat_face:{category:"people",moji:"😿",description:"crying cat face",unicodeVersion:"6.0",digest:"4942c24935c22babdcb8af41d2c0a7588356b6b674bc238902e2f10ad03e2c5b"},crystal_ball:{category:"objects",moji:"🔮",description:"crystal ball",unicodeVersion:"6.0",digest:"05f73b30b1e5b0fc66fb5dc6caddd2d547ee7b9d2f97513dc908ba1a2e352e30"},cucumber:{category:"food",moji:"🥒",description:"cucumber",unicodeVersion:"9.0",digest:"d1196e23f2f155ef5c1330f8497f40957a7357cb177127f457c5c471f0a23727"},cupid:{category:"symbols",moji:"💘",description:"heart with arrow",unicodeVersion:"6.0",digest:"246e71f44c6ebc2e4f887e25438e4f894e8cc92e06069e711b893ff391abb658"},curly_loop:{category:"symbols",moji:"➰",description:"curly loop",unicodeVersion:"6.0",digest:"9e4eb98d6597888f91208080c6a79824adb432ea34f46c85da26cb630bd1cc73"},currency_exchange:{category:"symbols",moji:"💱",description:"currency exchange",unicodeVersion:"6.0",digest:"b85377265b9876888969aa42b65bba0be523a370175baf226f20131e535af554"},curry:{category:"food",moji:"🍛",description:"curry and rice",unicodeVersion:"6.0",digest:"a01c0a713662817720b485f7739f57e61afc025f5c43792f4de961c94f92f31e"},custard:{category:"food",moji:"🍮",description:"custard",unicodeVersion:"6.0",digest:"85c2b9ac904134a6c3587eb0a0806f2ab4282c5ed5c79d41734f3203998f757e"},customs:{category:"symbols",moji:"🛃",description:"customs",unicodeVersion:"6.0",digest:"eb2546e1e617d4c1a1f614318af5e5dacf3e8d9479ffa08108977defa83ded32"},cyclone:{category:"symbols",moji:"🌀",description:"cyclone",unicodeVersion:"6.0",digest:"7a0f8564d76adf2d0ed272f56dc0d01fb7b557852e0ca797e73f5472b8630bf3"},dagger:{category:"objects",moji:"🗡",description:"dagger knife",unicodeVersion:"7.0",digest:"35a179168198d03295e626cc27d3b92d30a732c55a2ca75d7a11a0fbed414772"},dancer:{category:"people",moji:"💃",description:"dancer",unicodeVersion:"6.0",digest:"66ffa86827e85acae4aa870c0859fe3a9dad03d21ff4bc800b61c95c902a8a90"},dancer_tone1:{category:"people",moji:"💃🏻",description:"dancer tone 1",unicodeVersion:"8.0",digest:"bdbee740addc890e369d3469a3585eb0d1e4fbc7e04dd6f6aca762d8aeee6a8c"},dancer_tone2:{category:"people",moji:"💃🏼",description:"dancer tone 2",unicodeVersion:"8.0",digest:"9f7b4c627241eaa2def9717a5286a423f0b9c1b044dd9ea4442a76f1858d14a4"},dancer_tone3:{category:"people",moji:"💃🏽",description:"dancer tone 3",unicodeVersion:"8.0",digest:"a6bd49a377ce6c2004bf126b6f66d0b21d8c14103c2add7b10f12ed9e1c2d302"},dancer_tone4:{category:"people",moji:"💃🏾",description:"dancer tone 4",unicodeVersion:"8.0",digest:"4ec2a7629c01b0e9006b5cda4deae3bf297ce3b71d18063f93eeb5c14be19a1a"},dancer_tone5:{category:"people",moji:"💃🏿",description:"dancer tone 5",unicodeVersion:"8.0",digest:"2b48e3a6b366c6f55f73b816e6fb03c39e9890f586f7e9c9043cf0c013d9cdd5"},dancers:{category:"people",moji:"👯",description:"woman with bunny ears",unicodeVersion:"6.0",digest:"12be66ed19d232bb387270f40bece68bd0cb2342b318f6c9bb8b49c64ff7d0ad"},dango:{category:"food",moji:"🍡",description:"dango",unicodeVersion:"6.0",digest:"34e8cd153c50f2d725abe8934c35c96a3ab533f0cc5fbb1e1474eafad1dc1fc2"},dark_sunglasses:{category:"people",moji:"🕶",description:"dark sunglasses",unicodeVersion:"7.0",digest:"d0a735ad5bf0ece00af2a21abf950b89292ebd8ca6e28b1dbb1368252fb44afe"},dart:{category:"activity",moji:"🎯",description:"direct hit",unicodeVersion:"6.0",digest:"998642f06a875905e0a6bf30963c025baff1cf55b8e76884b9119f2d71188b0c"},dash:{category:"nature",moji:"💨",description:"dash symbol",unicodeVersion:"6.0",digest:"f7aae7d3887c67d76f3329c2dc9e6807dc580a4b07ab35599c7805e41823a345"},date:{category:"objects",moji:"📅",description:"calendar",unicodeVersion:"6.0",digest:"d0b695e4a7cfbbe71b4fbebf345b66ca98f0cf1c751362928e54c23ca78d4c7b"},deciduous_tree:{category:"nature",moji:"🌳",description:"deciduous tree",unicodeVersion:"6.0",digest:"3c70f1a77f2754f41c830e88d43b7d53c14311d64626ded164aa9ac7d2695790"},deer:{category:"nature",moji:"🦌",description:"deer",unicodeVersion:"9.0",digest:"7f4302ca68fd121ee73be48d0a0a0fb9e7e2741071a491ad2b7b0eab9f11ad25"},department_store:{category:"travel",moji:"🏬",description:"department store",unicodeVersion:"6.0",digest:"4be910d2efe74d8ce2c1f41d7753c8873579faca83fcf779a4887d8ab9e5923b"},desert:{category:"travel",moji:"🏜",description:"desert",unicodeVersion:"7.0",digest:"d4b1a11c5130debe042df6cc2b3389f15c68a5cb32dc1b3a82b78f733d0c9e4e"},desktop:{category:"objects",moji:"🖥",description:"desktop computer",unicodeVersion:"7.0",digest:"cde5bfb6c71bb7d663808a3561b24cb5b5560f95f510b40f81250cac1b21933e"},diamond_shape_with_a_dot_inside:{category:"symbols",moji:"💠",description:"diamond shape with a dot inside",unicodeVersion:"6.0",digest:"e91323577ab89e95b0fa0b9272ea0c797b76908f24d36992630e9325273a4ce3"},diamonds:{category:"symbols",moji:"♦",description:"black diamond suit",unicodeVersion:"1.1",digest:"bf3d9a020afe8aa226db73590bc193a9c2c3e6e642edd2445c5960c3e67cf153"},disappointed:{category:"people",moji:"😞",description:"disappointed face",unicodeVersion:"6.0",digest:"c0f406c6beea0fd1328adefc097d04aa16b72f7a5afa0867967d8ea25d72db17"},disappointed_relieved:{category:"people",moji:"😥",description:"disappointed but relieved face",unicodeVersion:"6.0",digest:"c826f5dd4f2f7e5289d720851d4826ab8284d915606c1b152ab229b7fadbba14"},dividers:{category:"objects",moji:"🗂",description:"card index dividers",unicodeVersion:"7.0",digest:"4b2c653b18cf0fa31f1f0ac94a6fbd214ea0d1b0a90a450ab6e169906fc5764f"},dizzy:{category:"nature",moji:"💫",description:"dizzy symbol",unicodeVersion:"6.0",digest:"d577545c2de42389695447c6ebbfef895f30f0fda84eef45684f9bf4a9c27ff1"},dizzy_face:{category:"people",moji:"😵",description:"dizzy face",unicodeVersion:"6.0",digest:"7b3aeaffb4e15ccf633b91dda4a44847a1eb28d78ce58b4d171b20a771bde414"},do_not_litter:{category:"symbols",moji:"🚯",description:"do not litter symbol",unicodeVersion:"6.0",digest:"98b07fbbcdb438d1b8a755869fa2de8e180a77fce359ec830eb46d38ec3e67cb"},dog:{category:"nature",moji:"🐶",description:"dog face",unicodeVersion:"6.0",digest:"3b31ce067b13e463284ce85536512cb1f8cd8b52fe73659f69971d0d6c1dfc11"},dog2:{category:"nature",moji:"🐕",description:"dog",unicodeVersion:"6.0",digest:"0a8901bce5ed994533ff84299b2a1364de28d872c9f9510d3426a83e8a9d2e34"},dollar:{category:"objects",moji:"💵",description:"banknote with dollar sign",unicodeVersion:"6.0",digest:"52438e38867aedc021740bb41f9ba336e75a50faa148419412a01d75d8c93155"},dolls:{category:"objects",moji:"🎎",description:"japanese dolls",unicodeVersion:"6.0",digest:"a687184e9a0915deef44bb3cacfb19d3f3f19cf2c110f1da90191dd567333c57"},dolphin:{category:"nature",moji:"🐬",description:"dolphin",unicodeVersion:"6.0",digest:"0b7ee08f4236232ca533ed3a3023d28020d36f178efaec5ce8b0e13a84778512"},door:{category:"objects",moji:"🚪",description:"door",unicodeVersion:"6.0",digest:"984a9ca88852ebdb539e0c385d9c6ffe5010e9189bc372a3d00f5c8d44c8e6f5"},doughnut:{category:"food",moji:"🍩",description:"doughnut",unicodeVersion:"6.0",digest:"27634587e6a53807baa32157bb06b0e115c8ad8aefebba7ebb0b65a084170e3a"},dove:{category:"nature",moji:"🕊",description:"dove of peace",unicodeVersion:"7.0",digest:"7c665f8594ffa53e72b01647e9d27360fb87d52d02fe9f20fc5fda08f9797dc3"},dragon:{category:"nature",moji:"🐉",description:"dragon",unicodeVersion:"6.0",digest:"2abcb3d945d848e34ffc76203b29ef26df7458856166fffd155611f7bbe72652"},dragon_face:{category:"nature",moji:"🐲",description:"dragon face",unicodeVersion:"6.0",digest:"0030548931b931e3b51f26cf660394aee36499e688ba83ce9cfccb635dcd4d54"},dress:{category:"people",moji:"👗",description:"dress",unicodeVersion:"6.0",digest:"96ceba928fb356f7c0ae99bf22552321f08a65d5f1c0340ab89641219ad366ad"},dromedary_camel:{category:"nature",moji:"🐪",description:"dromedary camel",unicodeVersion:"6.0",digest:"e06ef69c29f0fb12481727c0b4124e700572d3d7955e173279320f43f286518d"},drooling_face:{category:"people",moji:"🤤",description:"drooling face",unicodeVersion:"9.0",digest:"5203cb05cd266d7a7c929ab40364ad68571d380d9c7ff93a8d6d55261abaa1ba"},droplet:{category:"nature",moji:"💧",description:"droplet",unicodeVersion:"6.0",digest:"6475b4a4460a672c436a68f282ac97fb31e2934db4b80620063ee816159aa7c3"},drum:{category:"activity",moji:"🥁",description:"drum with drumsticks",unicodeVersion:"9.0",digest:"0d0639980b1a5dcbf1c3e7ef47263fb6543b871242c58452a8c2f642525d9dd8"},duck:{category:"nature",moji:"🦆",description:"duck",unicodeVersion:"9.0",digest:"8f8373798a7727368b32328e7a9a349727a949e7391ddd243b6456141a4f7e94"},dvd:{category:"objects",moji:"📀",description:"dvd",unicodeVersion:"6.0",digest:"3b7903285d91277181c26fdc9df857761bbac509d352e320c2519ea3b132704f"},"e-mail":{category:"objects",moji:"📧",description:"e-mail symbol",unicodeVersion:"6.0",digest:"39b5a57a2376e4a1137e381be02a1775bd580e0371438f5297a401ea634f1830"},eagle:{category:"nature",moji:"🦅",description:"eagle",unicodeVersion:"9.0",digest:"b44fd4f61b83c5114358a272343ac9b0eabbc70847f739bbdbf8aae3ade5bc1d"},ear:{category:"people",moji:"👂",description:"ear",unicodeVersion:"6.0",digest:"4fdeb5a46e69311ecfd09c5b45c9018c24b625e28475cca8fa516b086ef952f8"},ear_of_rice:{category:"nature",moji:"🌾",description:"ear of rice",unicodeVersion:"6.0",digest:"2997c340c2b333d6ba9b73f94ff1a1881735fe0cc4f0c72d7719b305499fc425"},ear_tone1:{category:"people",moji:"👂🏻",description:"ear tone 1",unicodeVersion:"8.0",digest:"5ca759b8569a377a4e63e30d94b585b9f76d15348a8a0c1ba19fdc522790615e"},ear_tone2:{category:"people",moji:"👂🏼",description:"ear tone 2",unicodeVersion:"8.0",digest:"12aafb3ef2cfcdc892b2877c2e24920620f0f77f850e12afbfe55eadce9e37df"},ear_tone3:{category:"people",moji:"👂🏽",description:"ear tone 3",unicodeVersion:"8.0",digest:"f4d28d9f72cf116ac92d80061eb84c918d6523bf53b2ad526f5457aba487d527"},ear_tone4:{category:"people",moji:"👂🏾",description:"ear tone 4",unicodeVersion:"8.0",digest:"eaa9453670f7e3adc6ec6934ee70efc9bf60fe6c99c5804b7ba9e3804aec65de"},ear_tone5:{category:"people",moji:"👂🏿",description:"ear tone 5",unicodeVersion:"8.0",digest:"54bd0782419489556b80e9e0d15b05df74757aa4e04ba565f45c20d3dd60e3f1"},earth_africa:{category:"nature",moji:"🌍",description:"earth globe europe-africa",unicodeVersion:"6.0",digest:"c691a6f591f5a07b268fd64efe113e81cec8d5963ad83ced2537422343ff7ecf"},earth_americas:{category:"nature",moji:"🌎",description:"earth globe americas",unicodeVersion:"6.0",digest:"a9c60cf8341ff59a9cc1a715b7144af734fcd28915a8e003a31ebf2abf9aedb1"},earth_asia:{category:"nature",moji:"🌏",description:"earth globe asia-australia",unicodeVersion:"6.0",digest:"ee2beb61fb8c87279161c5a8c4ad17bb71ce790123f8fa33522941d027e060a5"},egg:{category:"food",moji:"🥚",description:"egg",unicodeVersion:"9.0",digest:"72b9c841af784e7cbccbbe48ba833df5cecdd284397c199cab079872e879d92f"},eggplant:{category:"food",moji:"🍆",description:"aubergine",unicodeVersion:"6.0",digest:"ec0a460e0cf0e615f51279677594a899672e1b4ecd9396e17a8cfa2a3efe5238"},eight:{category:"symbols",moji:"8️⃣",description:"keycap digit eight",unicodeVersion:"3.0",digest:"57ff905033a32747690adba6486d12b09eb4d45de556f4e1ab6fb04e1fb861a8"},eight_pointed_black_star:{category:"symbols",moji:"✴",description:"eight pointed black star",unicodeVersion:"1.1",digest:"7bf11f6e28591e3d0625296aaabf4ecb75c982e425abf3049339e93494acc17e"},eight_spoked_asterisk:{category:"symbols",moji:"✳",description:"eight spoked asterisk",unicodeVersion:"1.1",digest:"bb0758e7cc0e357285937671a91489bd32ce9d248eecdcc9c275a53a66325b26"},eject:{category:"symbols",moji:"⏏",description:"eject symbol",unicodeVersion:"4.0",digest:"eeb0cd23ead0c965e307de517a6805265f0c780c3e454e64bc4c1425dfe7548e"},electric_plug:{category:"objects",moji:"🔌",description:"electric plug",unicodeVersion:"6.0",digest:"b10ce87af86fa4f4022572ceb5ecd73bea867347a86832a7ea248364b0aad8d0"},elephant:{category:"nature",moji:"🐘",description:"elephant",unicodeVersion:"6.0",digest:"b7750f4b013fbd28ac5330e1694ef4d3b4a9c6fc7b807879db0c24b035a16c29"},end:{category:"symbols",moji:"🔚",description:"end with leftwards arrow above",unicodeVersion:"6.0",digest:"dd93aee6986eb637a8b58f234da47568b88525599f73246e322af030351997a2"},envelope:{category:"objects",moji:"✉",description:"envelope",unicodeVersion:"1.1",digest:"f5a512022a2f5280f372ff39c22cbda815f698710ca66f8f8c4d08418f98ca78"},envelope_with_arrow:{category:"objects",moji:"📩",description:"envelope with downwards arrow above",unicodeVersion:"6.0",digest:"f8643212e6a94f58ccf2bcedc54c5fda8ebeab274f4a8803f253de5f50ddb1d6"},euro:{category:"objects",moji:"💶",description:"banknote with euro sign",unicodeVersion:"6.0",digest:"3af3e223e8f26468a94f6f5c17198432656e8d20b3bab31566c2b5a86e717df4"},european_castle:{category:"travel",moji:"🏰",description:"european castle",unicodeVersion:"6.0",digest:"21082d0be7e3b2794e59ff0170da0cfe42a9b734cf02704603e3b52ff48202ba"},european_post_office:{category:"travel",moji:"🏤",description:"european post office",unicodeVersion:"6.0",digest:"02b4c7602939f0cb9cb2b4e05996bcdb6bd93cf8025c2ea02db8cbe13ca397d0"},evergreen_tree:{category:"nature",moji:"🌲",description:"evergreen tree",unicodeVersion:"6.0",digest:"74b226098e66c0a94a92e0f22b9d631736e12dca72c34182c9d0ba56aa593172"},exclamation:{category:"symbols",moji:"❗",description:"heavy exclamation mark symbol",unicodeVersion:"5.2",digest:"45b87ae4593656d7da49ff5645fb6a2a18d582553295358da9f09f1ae8272445"},expressionless:{category:"people",moji:"😑",description:"expressionless face",unicodeVersion:"6.1",digest:"34e2a1c8121f4f0bc4ce33d226d8cc1a4ebf5260746df2b23e29eef24ee9372e"},eye:{category:"people",moji:"👁",description:"eye",unicodeVersion:"7.0",digest:"79ecff79c2edee630e72725b54e67ee2e96d24ca03fef2954a56a09c0a2227f8"},eye_in_speech_bubble:{category:"symbols",moji:"👁🗨",description:"eye in speech bubble",unicodeVersion:"7.0",digest:"c0050c026c2a3060723cab2df2603c1c7da7ed81faedb9ebe16cd89721928a55"},eyeglasses:{category:"people",moji:"👓",description:"eyeglasses",unicodeVersion:"6.0",digest:"d4a9585d6c43ef514a97c45c64607162e775a45544821f1470c6f8f25b93ab81"},eyes:{category:"people",moji:"👀",description:"eyes",unicodeVersion:"6.0",digest:"1d5cae0b9b2e51e1de54295685d7f0c72ee794e2e6335a95b1d056c7e77260e8"},face_palm:{category:"people",moji:"🤦",description:"face palm",unicodeVersion:"9.0",digest:"4ec873048b34b1bb34430724cf28e4bee6c0a9eee88ce39b9d1565047dc92420"},face_palm_tone1:{category:"people",moji:"🤦🏻",description:"face palm tone 1",unicodeVersion:"9.0",digest:"e93ef92b4c01dbea6c400e708e23dd36da92ccfbf5eb4f177b3b20c3a46bdc19"},face_palm_tone2:{category:"people",moji:"🤦🏼",description:"face palm tone 2",unicodeVersion:"9.0",digest:"22c8bf9fd9fa2ed9dca7a6397ed00ba6cfe9aeef2b0fb7b516ee4dda0df050ea"},face_palm_tone3:{category:"people",moji:"🤦🏽",description:"face palm tone 3",unicodeVersion:"9.0",digest:"c0b8bb9d2423e6787b6bdf1ca5a13f52853e4f48a9a1af0f2d4af1364fff022e"},face_palm_tone4:{category:"people",moji:"🤦🏾",description:"face palm tone 4",unicodeVersion:"9.0",digest:"f522ab186adcbb4549ea2c03500cdd7a86add548e43ebf7a54d58cc24deea072"},face_palm_tone5:{category:"people",moji:"🤦🏿",description:"face palm tone 5",unicodeVersion:"9.0",digest:"363507ae7178b5ec583635f47bcab10c897346f48b85d8759b1004c32cd8ad65"},factory:{category:"travel",moji:"🏭",description:"factory",unicodeVersion:"6.0",digest:"c7aeb61ed8b0ac5c91d5197c73f1e2bb801921c22a76bb82c7659d990680dcb0"},fallen_leaf:{category:"nature",moji:"🍂",description:"fallen leaf",unicodeVersion:"6.0",digest:"81fce04231d48db0e55f3697f930e9a7e3306bed5e35f1234e98c40a24ac5626"},family:{category:"people",moji:"👪",description:"family",unicodeVersion:"6.0",digest:"06f2ce63768ffe43b3d9b2a9660b34d043f37b3c91610dd62343ba21df8ecbe5"},family_mmb:{category:"people",moji:"👨👨👦",description:"family (man,man,boy)",unicodeVersion:"6.0",digest:"41a18405be796699a7eb7c36ab6f7d898e322749997f45387377acf5bb16a50f"},family_mmbb:{category:"people",moji:"👨👨👦👦",description:"family (man,man,boy,boy)",unicodeVersion:"6.0",digest:"87255d1d18c6971c8c083c818e598424c1bd717eed892478b7e9516639dbfb45"},family_mmg:{category:"people",moji:"👨👨👧",description:"family (man,man,girl)",unicodeVersion:"6.0",digest:"a132b1b8f10b318d8e23aee15dab4caa14528aeb3c89966d4bcc25fb54af72ad"},family_mmgb:{category:"people",moji:"👨👨👧👦",description:"family (man,man,girl,boy)",unicodeVersion:"6.0",digest:"eb2bc1966df406aaf38ce5a58db9324162799cdacf31f74f40e6384807a8efc2"},family_mmgg:{category:"people",moji:"👨👨👧👧",description:"family (man,man,girl,girl)",unicodeVersion:"6.0",digest:"24f3d60f98fbd6b687f7cacfb629390b90509a754036e5439ae5294759c0606b"},family_mwbb:{category:"people",moji:"👨👩👦👦",description:"family (man,woman,boy,boy)",unicodeVersion:"6.0",digest:"2f77692bcb9275c4df501b64a18401dcaf8c68b21f26fbdad59b1feab0c98fd1"},family_mwg:{category:"people",moji:"👨👩👧",description:"family (man,woman,girl)",unicodeVersion:"6.0",digest:"1a976d13127665d9386cebfdb24e5572dc499bda484c0ee05585886edc616130"},family_mwgb:{category:"people",moji:"👨👩👧👦",description:"family (man,woman,girl,boy)",unicodeVersion:"6.0",digest:"960ec2cbac13ef208e73644cd36711b83e6c070c36950f834f3669812839b7f8"},family_mwgg:{category:"people",moji:"👨👩👧👧",description:"family (man,woman,girl,girl)",unicodeVersion:"6.0",digest:"8353b03dfa5c24aba75a0abdfdac01603f593819d54b4c7f2f88aafb31da0c6a"},family_wwb:{category:"people",moji:"👩👩👦",description:"family (woman,woman,boy)",unicodeVersion:"6.0",digest:"07a5dd397718c553573689f6512f386729c13a12d5dc78be47c06405769cd98a"},family_wwbb:{category:"people",moji:"👩👩👦👦",description:"family (woman,woman,boy,boy)",unicodeVersion:"6.0",digest:"b627f460f1da0d47b0b662402940b2b77c9538d380d05436dfca4b456c50c939"},family_wwg:{category:"people",moji:"👩👩👧",description:"family (woman,woman,girl)",unicodeVersion:"6.0",digest:"2d6f373bed53f1028f0fbe9caf036465a351f37b9e00fca7d722cc5a1984f251"},family_wwgb:{category:"people",moji:"👩👩👧👦",description:"family (woman,woman,girl,boy)",unicodeVersion:"6.0",digest:"72be5c85e1621f73d6794edd6e428febdb366b9e4c816f7829897fd1ab34642b"},family_wwgg:{category:"people",moji:"👩👩👧👧",description:"family (woman,woman,girl,girl)",unicodeVersion:"6.0",digest:"c39e0916069460d2d9741bddf58e76f5d6a09254cba0eeb262345adf8630bc32"},fast_forward:{category:"symbols",moji:"⏩",description:"black right-pointing double triangle",unicodeVersion:"6.0",digest:"e7d2d8085cfd406c2b096e8dd147dd3722290a5727b1f7df185989526a2335ec"},fax:{category:"objects",moji:"📠",description:"fax machine",unicodeVersion:"6.0",digest:"ff85ffa440c5379c9b138ebe2d7912d6098da3b37a051b80442d5557b7f993b0"},fearful:{category:"people",moji:"😨",description:"fearful face",unicodeVersion:"6.0",digest:"b72bdf7d075d5c4e38bbd8512fb45fda2e85c9c8732a47e67575ae9f2ed4c5df"},feet:{category:"nature",moji:"🐾",description:"paw prints",unicodeVersion:"6.0",digest:"45aca538d3a9831a0c7de491e5656c17705c07b8f4ac8e85254656b608976016"},fencer:{category:"activity",moji:"🤺",description:"fencer",unicodeVersion:"9.0",digest:"5db00fa456af9f6c7cb88d300579dd63e426bcb97ad25486b664aff25c688e21"},ferris_wheel:{category:"travel",moji:"🎡",description:"ferris wheel",unicodeVersion:"6.0",digest:"24b4551b7b79a2a5fd73de61542f2b444f896a52030c5f29791c8fcfcc28b95c"},ferry:{category:"travel",moji:"⛴",description:"ferry",unicodeVersion:"5.2",digest:"5002a72af2e3c4cef9a36ad5987aeed7d99f96bfd13e56f78957315ec7e749a3"},field_hockey:{category:"activity",moji:"🏑",description:"field hockey stick and ball",unicodeVersion:"8.0",digest:"4ee091d96161ba719ab8fd6f2b03f96d902a6f22cffe0563b930618bb8ac2b67"},file_cabinet:{category:"objects",moji:"🗄",description:"file cabinet",unicodeVersion:"7.0",digest:"92914147bf93e6d64271ff99d217a18a9850a367d08a5f9f458ecf9311a5bbe9"},file_folder:{category:"objects",moji:"📁",description:"file folder",unicodeVersion:"6.0",digest:"62a42a929267cfbfdb795ead381c9657c343458bc5fca95ea8a0ab892c61d4f6"},film_frames:{category:"objects",moji:"🎞",description:"film frames",unicodeVersion:"7.0",digest:"4da212148cadb9c4ea91e60d2d8316e38cea99ef4f14afc023711dd7c54ade5a"},fingers_crossed:{category:"people",moji:"🤞",description:"hand with first and index finger crossed",unicodeVersion:"9.0",digest:"a5c797ead191b9712e185083266b455cdf09f6a34c10f8c51aa145e6073427e1"},fingers_crossed_tone1:{category:"people",moji:"🤞🏻",description:"hand with index and middle fingers crossed tone 1",unicodeVersion:"9.0",digest:"db56d47bf887f2d8459a3aaba23f15c0087234ae5a54125052e7046e034a4988"},fingers_crossed_tone2:{category:"people",moji:"🤞🏼",description:"hand with index and middle fingers crossed tone 2",unicodeVersion:"9.0",digest:"19f1bcca3991db7ed2037278c0baab6cd7f12aeaf2e0074de402c4d9e45c1899"},fingers_crossed_tone3:{category:"people",moji:"🤞🏽",description:"hand with index and middle fingers crossed tone 3",unicodeVersion:"9.0",digest:"895a3314f6a310f31f7e728bcca20ff834fbfac62ce00e27e3ea5ad0dfc1ba35"},fingers_crossed_tone4:{category:"people",moji:"🤞🏾",description:"hand with index and middle fingers crossed tone 4",unicodeVersion:"9.0",digest:"fcb5c4de2001d23a5df1b8702624d134b7f94e93e2dcc8adf6c1033c77722b0e"},fingers_crossed_tone5:{category:"people",moji:"🤞🏿",description:"hand with index and middle fingers crossed tone 5",unicodeVersion:"9.0",digest:"50132c78d530b048c21be4e788b446872a79b3b3a91009db12f4021c44c8469d"},fire:{category:"nature",moji:"🔥",description:"fire",unicodeVersion:"6.0",digest:"b3e67c913903d900f5e50e7e7e4d7e9370bb6ceedfbee548be39e4c9e4b69416"},fire_engine:{category:"travel",moji:"🚒",description:"fire engine",unicodeVersion:"6.0",digest:"c3a518f27d625e3b62dffa227eb82764bf0a147f10ec0e7f4f43f3f96751af20"},fireworks:{category:"travel",moji:"🎆",description:"fireworks",unicodeVersion:"6.0",digest:"b62ae08a00c0cc6eba8f9666c8fd9946ce57c3cfc01fe99542a8690a4a566a65"},first_place:{category:"activity",moji:"🥇",description:"first place medal",unicodeVersion:"9.0",digest:"e3de5d9f14f05544dbee5965cc2baa20e7b417a488c8a18598979038860fd901"},first_quarter_moon:{category:"nature",moji:"🌓",description:"first quarter moon symbol",unicodeVersion:"6.0",digest:"a207ce93084448622a4a5c49c85c566a9fda6be7337c86a013eeb713fe47fd29"},first_quarter_moon_with_face:{category:"nature",moji:"🌛",description:"first quarter moon with face",unicodeVersion:"6.0",digest:"1d1f54a5075f2311bcc017c44898b9d8c58edc13b298d58c238fff9ab8ee2ef3"},fish:{category:"nature",moji:"🐟",description:"fish",unicodeVersion:"6.0",digest:"8f62f08fbeaf39694c19816b5c7d4f292017fe5bf9f8dd7e40f1630f5f83b28b"},fish_cake:{category:"food",moji:"🍥",description:"fish cake with swirl design",unicodeVersion:"6.0",digest:"5a6ca2100c8830927b22afa6f1d2fc821f5692cd23507fe5a776f6e085cbbfb2"},fishing_pole_and_fish:{category:"activity",moji:"🎣",description:"fishing pole and fish",unicodeVersion:"6.0",digest:"f8fb84eccceec88321b0a2a46f732ecfc378f787c19c27ac1327735f1ca9a48b"},fist:{category:"people",moji:"✊",description:"raised fist",unicodeVersion:"6.0",digest:"557f96d85615b8d78436bc67266115bfc8556c97c14f7909dfda1cf134e8344f"},fist_tone1:{category:"people",moji:"✊🏻",description:"raised fist tone 1",unicodeVersion:"8.0",digest:"6c1b946f9e01abc39b5085e24e8b6077fc0e34188e8daa30c6a3adddd387413e"},fist_tone2:{category:"people",moji:"✊🏼",description:"raised fist tone 2",unicodeVersion:"8.0",digest:"e9b9e1ec638dca4d5e1519bca7338f58cce2f2a282ee4c3581e8643166fc415f"},fist_tone3:{category:"people",moji:"✊🏽",description:"raised fist tone 3",unicodeVersion:"8.0",digest:"8c14d24055c143960b3d2a27fe23c55d2d3ac5f84f87e4e876616235e8698c7f"},fist_tone4:{category:"people",moji:"✊🏾",description:"raised fist tone 4",unicodeVersion:"8.0",digest:"923f034f481e952e6e5d1664588f99f79bd5416d4197b0ade6621f2669ce5765"},fist_tone5:{category:"people",moji:"✊🏿",description:"raised fist tone 5",unicodeVersion:"8.0",digest:"d691d2902216080916a29047e07d7a5bf2aed07e062067ca9d01cbf6fdf48c8d"},five:{category:"symbols",moji:"5️⃣",description:"keycap digit five",unicodeVersion:"3.0",digest:"8f03f62fdbf744ae49c8a60fbf715ebfccbd6b62d91148e0923907006f3c2726"},flag_ac:{category:"flags",moji:"🇦🇨",description:"ascension",unicodeVersion:"6.0",digest:"2e5c08535dc8ea96422d56a36b4fffc0b3bd2a13f2ab0d8dbd0e3a29bf3fc40c"},flag_ad:{category:"flags",moji:"🇦🇩",description:"andorra",unicodeVersion:"6.0",digest:"184fdcf790b8e2fd851b2b2b32f8636c595dd289734d12dc01ae4aa177e2043a"},flag_ae:{category:"flags",moji:"🇦🇪",description:"the united arab emirates",unicodeVersion:"6.0",digest:"4a3257a9ce118e97567e76280f24d60fb555f1bada2eb26a2442a47f9398d21e"},flag_af:{category:"flags",moji:"🇦🇫",description:"afghanistan",unicodeVersion:"6.0",digest:"0f6c719cac7ab3140694f6b580787ecdbf503e38f16de7ec5803f7d06a088ec3"},flag_ag:{category:"flags",moji:"🇦🇬",description:"antigua and barbuda",unicodeVersion:"6.0",digest:"92bf5a0e74564739862e9ba79331ffa656b7bae2ace0fc8dfd288984e4d510d4"},flag_ai:{category:"flags",moji:"🇦🇮",description:"anguilla",unicodeVersion:"6.0",digest:"aeaadc7ffafd8a1e01fdabc69d35f725d5f737b4c284a36191d96729f4e66e8f"},flag_al:{category:"flags",moji:"🇦🇱",description:"albania",unicodeVersion:"6.0",digest:"5ce7866d214d18c5f3438d480d14e77d104c4de679f0fdfca8cf0a44ce48eeea"},flag_am:{category:"flags",moji:"🇦🇲",description:"armenia",unicodeVersion:"6.0",digest:"b40f5705f0cf9ef0fa7ffff0b371c4099319001ce79f894c317912f4dc5de4c8"},flag_ao:{category:"flags",moji:"🇦🇴",description:"angola",unicodeVersion:"6.0",digest:"eab6fbc1824d6e3cd152e8ec1d82e1beaebe02b53b35c6f7a883b8548af02f3a"},flag_aq:{category:"flags",moji:"🇦🇶",description:"antarctica",unicodeVersion:"6.0",digest:"367f6677a683a5f0e7248ab3a8f46d06ba146a0fd75004c70bac0e913147cdaa"},flag_ar:{category:"flags",moji:"🇦🇷",description:"argentina",unicodeVersion:"6.0",digest:"f0dc466b3216957f2679d7208c2d7cf288448b0739b9270a7c5fa717577bdf25"},flag_as:{category:"flags",moji:"🇦🇸",description:"american samoa",unicodeVersion:"6.0",digest:"fcb7a865c7763c63b23485cc27207b99a3a8492e83d5b5ee2df259a9f68f77d6"},flag_at:{category:"flags",moji:"🇦🇹",description:"austria",unicodeVersion:"6.0",digest:"1d3d58e9abc034f9a093a94716eddf9811d54dfaf27969fd322b3809fac70217"},flag_au:{category:"flags",moji:"🇦🇺",description:"australia",unicodeVersion:"6.0",digest:"789563b64c71a5ad49078d335dc166ef614edb56d1e401885d32fb191c198fbd"},flag_aw:{category:"flags",moji:"🇦🇼",description:"aruba",unicodeVersion:"6.0",digest:"1504dc3fd8457b44fdf75c15e136dc46a13e8342d1f98949728cdc1238843e0c"},flag_ax:{category:"flags",moji:"🇦🇽",description:"åland islands",unicodeVersion:"6.0",digest:"e96fa3525f3be25016a4cf8428261735f3ed5fc9fe5b827b461746a3f08877bf"},flag_az:{category:"flags",moji:"🇦🇿",description:"azerbaijan",unicodeVersion:"6.0",digest:"12c366ac2c38b91314fb29056e09fa6e7417766cebde3045859cdb127549f4a2"},flag_ba:{category:"flags",moji:"🇧🇦",description:"bosnia and herzegovina",unicodeVersion:"6.0",digest:"0819ea3901510ac20c7f10e67e5f6c818210f17a362c1d12e299c41feb07f828"},flag_bb:{category:"flags",moji:"🇧🇧",description:"barbados",unicodeVersion:"6.0",digest:"cf32778a272ed6cbc8e783b59befd9b204009c69c61a425e148d867808b7fab9"},flag_bd:{category:"flags",moji:"🇧🇩",description:"bangladesh",unicodeVersion:"6.0",digest:"e6ed186644a874588e879513aec92f8107220dcdd14c766dee61f266ce045665"},flag_be:{category:"flags",moji:"🇧🇪",description:"belgium",unicodeVersion:"6.0",digest:"4d941011d15d9f6e755d6f7694884758baf17ac0691bf5d63700f8d6dbcdb948"},flag_bf:{category:"flags",moji:"🇧🇫",description:"burkina faso",unicodeVersion:"6.0",digest:"fcc57dbda9a86f725f558b6c6309484c97e65f1644aae4f9fb5e642681f6c2e0"},flag_bg:{category:"flags",moji:"🇧🇬",description:"bulgaria",unicodeVersion:"6.0",digest:"816c47ed96c36c90723da150645902ea8ba18b44757fdd776c7b3542cfecfb18"},flag_bh:{category:"flags",moji:"🇧🇭",description:"bahrain",unicodeVersion:"6.0",digest:"2cd5c21775a6e73f59d08c9ee0cedf4e8241e562eab939573501d47681987737"},flag_bi:{category:"flags",moji:"🇧🇮",description:"burundi",unicodeVersion:"6.0",digest:"2da82acbec5518360633c1b0b56d55a79b67237f67d92af5e5cd75a2f3bd550e"},flag_bj:{category:"flags",moji:"🇧🇯",description:"benin",unicodeVersion:"6.0",digest:"8fe8c34651eb4e28ab395261a5b72b6f37579535ed676d15de131914e19c0436"},flag_bl:{category:"flags",moji:"🇧🇱",description:"saint barthélemy",unicodeVersion:"6.0",digest:"d37f2a215ee7ef5b5ab62d2a0c87e90553b17c6ee310f803a71e9fd72db880e7"},flag_black:{category:"objects",moji:"🏴",description:"waving black flag",unicodeVersion:"6.0",digest:"3740bfc9bcb3b46b697b8b7c47ab2c3e95eca9dbcba12f2bf98a01302704f203"},flag_bm:{category:"flags",moji:"🇧🇲",description:"bermuda",unicodeVersion:"6.0",digest:"ccd21655573f3c955d616c5c7b1eac2be1d4772ff611648d6713ba55d9e4aa9b"},flag_bn:{category:"flags",moji:"🇧🇳",description:"brunei",unicodeVersion:"6.0",digest:"54330c3d7a37392e69098c213fd8c78f3faab4e7e5909c039188110422514228"},flag_bo:{category:"flags",moji:"🇧🇴",description:"bolivia",unicodeVersion:"6.0",digest:"32aff973b26f4f91ca19dddd7861b564da43cfbee87603d8c004f1111342366c"},flag_bq:{category:"flags",moji:"🇧🇶",description:"caribbean netherlands",unicodeVersion:"6.0",digest:"b1ebc959c43f706ca430d8633d9efaa9c60133871506b5f030b730cfb4c19e6f"},flag_br:{category:"flags",moji:"🇧🇷",description:"brazil",unicodeVersion:"6.0",digest:"64fb154d71fa34ff4838bc405f3e58a4102cf0cb49ca4b06fc3c7a6bf39671f0"},flag_bs:{category:"flags",moji:"🇧🇸",description:"the bahamas",unicodeVersion:"6.0",digest:"c4b07e5f652ab06ece95d3774ce8b1399a935f8a28d440cb13cc8bd0b9728ed5"},flag_bt:{category:"flags",moji:"🇧🇹",description:"bhutan",unicodeVersion:"6.0",digest:"901ddbd999dd89a87c1e1208b1470cb4e604a9bc023d0cbcdee64e1bc54079ba"},flag_bv:{category:"flags",moji:"🇧🇻",description:"bouvet island",unicodeVersion:"6.0",digest:"bbf6daa6174c6fbbbf541c8274f31b6757c3a16007c2687015ea041fd1e2c6b6"},flag_bw:{category:"flags",moji:"🇧🇼",description:"botswana",unicodeVersion:"6.0",digest:"05aa351bc04dc0fe2669441ab500e000d48b1f0d7ad9e885c7abfb898aa0eb3f"},flag_by:{category:"flags",moji:"🇧🇾",description:"belarus",unicodeVersion:"6.0",digest:"6eda3b87336ecf0aae4963986d86b916a055d8268c70520303288f235a93b0d9"},flag_bz:{category:"flags",moji:"🇧🇿",description:"belize",unicodeVersion:"6.0",digest:"d76ed945b1408558a30a99b8eed6712de968fc49fba1721b5660b8f48087e45a"},flag_ca:{category:"flags",moji:"🇨🇦",description:"canada",unicodeVersion:"6.0",digest:"2fd036047d89751c05de5577909b58347883bc89c3b7d90bec28ad4770a98ecd"},flag_cc:{category:"flags",moji:"🇨🇨",description:"cocos (keeling) islands",unicodeVersion:"6.0",digest:"837ba181a01c71f05d438d205efaaee99f93b2370c97b13e6132f99860323e36"},flag_cd:{category:"flags",moji:"🇨🇩",description:"the democratic republic of the congo",unicodeVersion:"6.0",digest:"318689274b4b3b58aed7fc1654127499a9da69bff1b83e592e86e69d167ce16f"},flag_cf:{category:"flags",moji:"🇨🇫",description:"central african republic",unicodeVersion:"6.0",digest:"06d6042849d3b7b217c2b18ba787aae449e8c7d2537e2e5974744ec196062228"},flag_cg:{category:"flags",moji:"🇨🇬",description:"the republic of the congo",unicodeVersion:"6.0",digest:"09f45d2dcb5a24d8349ef86e7405cc29ef3d65a908c0bff3221c3b4546547813"},flag_ch:{category:"flags",moji:"🇨🇭",description:"switzerland",unicodeVersion:"6.0",digest:"53d6d35aeeebb0b4b1ad858dc3691e649ac73d30b3be76f96d5fe9605fa99386"},flag_ci:{category:"flags",moji:"🇨🇮",description:"cote d'ivoire",unicodeVersion:"6.0",digest:"7d85a0c314b7397c9397a54ce2f3a4dc5f40d0234e586dbd8a541a8666f0f51e"},flag_ck:{category:"flags",moji:"🇨🇰",description:"cook islands",unicodeVersion:"6.0",digest:"c1aa105fe106ed09ed59a596859a0ce4e65a415c59f63df51961491cb947b136"},flag_cl:{category:"flags",moji:"🇨🇱",description:"chile",unicodeVersion:"6.0",digest:"0fffdad0d892f5c08aaa332af1ed2c228583d89a43190e979a3c3cb020d5a723"},flag_cm:{category:"flags",moji:"🇨🇲",description:"cameroon",unicodeVersion:"6.0",digest:"e9f55e41a1fd2735a82ad7a7ac39326a944cb20423ffba3608ac53a46036caad"},flag_cn:{category:"flags",moji:"🇨🇳",description:"china",unicodeVersion:"6.0",digest:"e2c8fee7e3bd51b13d6083d5bf344abe6b9b642e3cbb099d38b4ce341c99d890"},flag_co:{category:"flags",moji:"🇨🇴",description:"colombia",unicodeVersion:"6.0",digest:"51c60d0979bf8342eaff7cda9faf4b0dfab38efaf5ddf3717eb8f0e2a595b15f"},flag_cp:{category:"flags",moji:"🇨🇵",description:"clipperton island",unicodeVersion:"6.0",digest:"a0124683aa88cd7da886da70c65796c5ad84eb3751e356e9b2aa8ac249cf0bf9"},flag_cr:{category:"flags",moji:"🇨🇷",description:"costa rica",unicodeVersion:"6.0",digest:"907905971b219e617a34eef4839b0bd08d98f3480e2631bce523120dcef95196"},flag_cu:{category:"flags",moji:"🇨🇺",description:"cuba",unicodeVersion:"6.0",digest:"d88cea729dc9dbbbcadac0409ec561995f061b2280577c01c6c6b37de347f150"},flag_cv:{category:"flags",moji:"🇨🇻",description:"cape verde",unicodeVersion:"6.0",digest:"5ce97944adfce09e96387e6f872256482ac99ccbc60017c4d58ddd15b6fb67a7"},flag_cw:{category:"flags",moji:"🇨🇼",description:"curaçao",unicodeVersion:"6.0",digest:"a6fc31bd66ddc2ee8e7bde3aeabfe1c4ad00c9688abae234a541cc1236d68c1b"},flag_cx:{category:"flags",moji:"🇨🇽",description:"christmas island",unicodeVersion:"6.0",digest:"1261b32bfa22fa1441f5390ff499ac6b921d7ac59cc8acda3deb3a2beb4fb345"},flag_cy:{category:"flags",moji:"🇨🇾",description:"cyprus",unicodeVersion:"6.0",digest:"82b1baa05ecffa0ea1f9a83b518163cbd7910985a21955740520bb16b7bb624f"},flag_cz:{category:"flags",moji:"🇨🇿",description:"the czech republic",unicodeVersion:"6.0",digest:"a169b18968992a52299b67c24fba495e84de28dec2ebb947a08e0d615ac54a5a"},flag_de:{category:"flags",moji:"🇩🇪",description:"germany",unicodeVersion:"6.0",digest:"99d1906944966a188c72ae592362ed907e2a0bfe95263955c34a0941507b30c1"},flag_dg:{category:"flags",moji:"🇩🇬",description:"diego garcia",unicodeVersion:"6.0",digest:"dd45e1afe792fca57d4161434bf611bcb7170072d63e4a27fb9dcd6e8912621e"},flag_dj:{category:"flags",moji:"🇩🇯",description:"djibouti",unicodeVersion:"6.0",digest:"e90ba4e98fca71ff0ca5e65c28b911cc52f043428f375d8f954ecbd3b0c8f4dd"},flag_dk:{category:"flags",moji:"🇩🇰",description:"denmark",unicodeVersion:"6.0",digest:"65b3b5f31935a4969d81fedbb8279c7ad32da454d15c5eafcceba5d140927c77"},flag_dm:{category:"flags",moji:"🇩🇲",description:"dominica",unicodeVersion:"6.0",digest:"f6225ded6d2cfd6c182ab1a53b8c49dc9df195df11eb7ff27b15f5d3721ba0eb"},flag_do:{category:"flags",moji:"🇩🇴",description:"the dominican republic",unicodeVersion:"6.0",digest:"dc2ad6856cebbe47c5bd7f5dcf087e4f680d396b2d49440a9b71f0ad49fb8102"},flag_dz:{category:"flags",moji:"🇩🇿",description:"algeria",unicodeVersion:"6.0",digest:"ea69fffc4d545f9c0fcef6768257501952955ba4d274c9b81843229a1265c5ed"},flag_ea:{category:"flags",moji:"🇪🇦",description:"ceuta, melilla",unicodeVersion:"6.0",digest:"e63bfe15428c481dd23b569e7aaf0a76106e58a946995b4415a81097ecd53b7d"},flag_ec:{category:"flags",moji:"🇪🇨",description:"ecuador",unicodeVersion:"6.0",digest:"0cdabf85cd567047fda1d9a4508220cab829943a7c542c315078db0aac33edac"},flag_ee:{category:"flags",moji:"🇪🇪",description:"estonia",unicodeVersion:"6.0",digest:"6dc4e3377e8e2af3ff40cf940a914bc7840980b4a14e7da86954343f2b1025fe"},flag_eg:{category:"flags",moji:"🇪🇬",description:"egypt",unicodeVersion:"6.0",digest:"2ed6bc056015694d75993eb5ee3c1850921d5630681207b04dfbdb982ab346a2"},flag_eh:{category:"flags",moji:"🇪🇭",description:"western sahara",unicodeVersion:"6.0",digest:"72adb55943e4df99c00843c65463718609d937480f73dcf4a4451d46b9967a5e"},flag_er:{category:"flags",moji:"🇪🇷",description:"eritrea",unicodeVersion:"6.0",digest:"3fa59331eb5300c8c1f7b1f1bc15cfcfe688da6fa4a79341854598086a44eebc"},flag_es:{category:"flags",moji:"🇪🇸",description:"spain",unicodeVersion:"6.0",digest:"1fa1d5cb0a7e8b14aaec758b2e7bf49cdf8f3d09bbcc7dfd589053a432eeae25"},flag_et:{category:"flags",moji:"🇪🇹",description:"ethiopia",unicodeVersion:"6.0",digest:"72771decfb214394e4beb594e848ea590c3615800adbba24b5df4c5db6ee9617"},flag_eu:{category:"flags",moji:"🇪🇺",description:"european union",unicodeVersion:"6.0",digest:"4bfa1b2ef23764ead5ef7899806f93e13fd29a09c75e61431579a4116c836aa4"},flag_fi:{category:"flags",moji:"🇫🇮",description:"finland",unicodeVersion:"6.0",digest:"d0208cdd5b153a2865f9f674179c62871d4675abb0fb639fba88fcd62553f54e"},flag_fj:{category:"flags",moji:"🇫🇯",description:"fiji",unicodeVersion:"6.0",digest:"6c5ec41114af3846b093a418f6e2b5ff7a83cb72cecde75a7dc62e8cb6dcfe45"},flag_fk:{category:"flags",moji:"🇫🇰",description:"falkland islands",unicodeVersion:"6.0",digest:"c69ad641d53785deff5c3934b7dcfcd3dc32ffc31b6d3e799d0555b03c23fc15"},flag_fm:{category:"flags",moji:"🇫🇲",description:"micronesia",unicodeVersion:"6.0",digest:"1e29fb06b273f253c23a9e4aa8ff84bfe22cffb5fa158a0c6f4cdeabe0216990"},flag_fo:{category:"flags",moji:"🇫🇴",description:"faroe islands",unicodeVersion:"6.0",digest:"f4907d2f606f4f9d3bef06c6d38e8e88f2a148197b1573668866431a007afc2e"},flag_fr:{category:"flags",moji:"🇫🇷",description:"france",unicodeVersion:"6.0",digest:"5a1308ab3cbf6bffcab12588cf3325151a6c72990db7408c2b8605d89f94ed6e"},flag_ga:{category:"flags",moji:"🇬🇦",description:"gabon",unicodeVersion:"6.0",digest:"ddc32dee2976507be878ec3d3d2408632ca21bc434cd9f58db4f6ac9774a2db5"},flag_gb:{category:"flags",moji:"🇬🇧",description:"great britain",unicodeVersion:"6.0",digest:"6b3bb254d134870b02cb066b06e206f652638a915c84b8649ceb30ec67fbebde"},flag_gd:{category:"flags",moji:"🇬🇩",description:"grenada",unicodeVersion:"6.0",digest:"b6a210541ca22d816405f2a7d0d5241dc4d5488c8a36e15bd1e3063f9c41327f"},flag_ge:{category:"flags",moji:"🇬🇪",description:"georgia",unicodeVersion:"6.0",digest:"e9a5035b7a46b925737e7f7b0ae2419cc4af0e980fbee5bd916edeef13823367"},flag_gf:{category:"flags",moji:"🇬🇫",description:"french guiana",unicodeVersion:"6.0",digest:"ce1bcd8c303897c1c22c5994182f21240b4aa635f0d7ce9944f76cbdbf0e4956"},flag_gg:{category:"flags",moji:"🇬🇬",description:"guernsey",unicodeVersion:"6.0",digest:"a435aab3609533ab2d68acd97deba844bfb0fc27b2adac68668223011f23ae5d"},flag_gh:{category:"flags",moji:"🇬🇭",description:"ghana",unicodeVersion:"6.0",digest:"7cad43b40f69b9b00cc1b38036789ce774fd3d597c89f0bf38433847ea69be26"},flag_gi:{category:"flags",moji:"🇬🇮",description:"gibraltar",unicodeVersion:"6.0",digest:"70e9b17d18bf3e0e4d03f4f824323a57909416e4082ca9d8a0796a6959de4f07"},flag_gl:{category:"flags",moji:"🇬🇱",description:"greenland",unicodeVersion:"6.0",digest:"1963d8cca1c1f06b7536b7fb8f5a4782ac0bb05afdf6e481101bce45c58cdd4b"},flag_gm:{category:"flags",moji:"🇬🇲",description:"the gambia",unicodeVersion:"6.0",digest:"6c776a8daa3f4daa2597b0025aec06fc0a53aed262e845d4da3897cd7a89c6a1"},flag_gn:{category:"flags",moji:"🇬🇳",description:"guinea",unicodeVersion:"6.0",digest:"134cf7c839370d171ae80a72e5d18d32ea1967df19c191d1a4ea446d649e9558"},flag_gp:{category:"flags",moji:"🇬🇵",description:"guadeloupe",unicodeVersion:"6.0",digest:"be3e906b039ba4884053c78f4f14de9aa87c5573860ccb69ec766068ae3887c2"},flag_gq:{category:"flags",moji:"🇬🇶",description:"equatorial guinea",unicodeVersion:"6.0",digest:"d476059c4ab41f5a1ef88583087362a5bc57cede930126f37041d1546564ab70"},flag_gr:{category:"flags",moji:"🇬🇷",description:"greece",unicodeVersion:"6.0",digest:"b9fa9304647aaa08167a07858bb18d778dcc399375f86f580b8d4244794678bc"},flag_gs:{category:"flags",moji:"🇬🇸",description:"south georgia",unicodeVersion:"6.0",digest:"de33fbef6e294eb7af36e5b94d8ff573b354a4ff1ebdccf50ca528b86ed601d9"},flag_gt:{category:"flags",moji:"🇬🇹",description:"guatemala",unicodeVersion:"6.0",digest:"4160843e5d642df597c8423eb8e3b74deafe304f3d141c8a4d2fc07509e44832"},flag_gu:{category:"flags",moji:"🇬🇺",description:"guam",unicodeVersion:"6.0",digest:"3b0cb257ba5b1c3e15d9102410c5f7418da03372e91ce90513de25b9f45283e3"},flag_gw:{category:"flags",moji:"🇬🇼",description:"guinea-bissau",unicodeVersion:"6.0",digest:"bdf07a8f93c0f0a573af5f5361be404a3ba65b729c1a4c05b7632c03d85efc72"},flag_gy:{category:"flags",moji:"🇬🇾",description:"guyana",unicodeVersion:"6.0",digest:"b47d8c98b747556f827ad0d1169264eb68ecaf9d2fb76595e8c31866361cbfc6"},flag_hk:{category:"flags",moji:"🇭🇰",description:"hong kong",unicodeVersion:"6.0",digest:"8e5a54b2e4bd4f5182085299b9648062463da05d535cf0e46a7d9c58eaeb171f"},flag_hm:{category:"flags",moji:"🇭🇲",description:"heard island and mcdonald islands",unicodeVersion:"6.0",digest:"63c3e080c5e82a72c6d4cf5997ac823dc02184719ec59aadea6dd41b127abf22"},flag_hn:{category:"flags",moji:"🇭🇳",description:"honduras",unicodeVersion:"6.0",digest:"87c1d160db810b5ed208fb33add54f96c17b0f08d87b81f6f09429abf6ec93ac"},flag_hr:{category:"flags",moji:"🇭🇷",description:"croatia",unicodeVersion:"6.0",digest:"8b68112f79baea38565673acf4f1cb90675a5829ff17e4cf9415c928b62aed88"},flag_ht:{category:"flags",moji:"🇭🇹",description:"haiti",unicodeVersion:"6.0",digest:"05dbd548c310ef1ebd1724aa85d821f8320106b16ddbf1f6442ea37e4407d5e1"},flag_hu:{category:"flags",moji:"🇭🇺",description:"hungary",unicodeVersion:"6.0",digest:"5079f3d6f1459e6df8dda5c19d2367ead8f5a755b8874ac999bae58e3c9f47a7"},flag_ic:{category:"flags",moji:"🇮🇨",description:"canary islands",unicodeVersion:"6.0",digest:"8dcb18c4b75a60867a68d2f6edbf81e782aafb4b9a0404c8081f872dfe71e432"},flag_id:{category:"flags",moji:"🇮🇩",description:"indonesia",unicodeVersion:"6.0",digest:"1b0eb69a158ed3afe24be448d44751f95dcc5cbc7d1393a5753293f16ef0a66c"},flag_ie:{category:"flags",moji:"🇮🇪",description:"ireland",unicodeVersion:"6.0",digest:"5fc8c101ad7296224455f72f73c335aa4f676023b68645bafaf69087f69af390"},flag_il:{category:"flags",moji:"🇮🇱",description:"israel",unicodeVersion:"6.0",digest:"5aea4207415b7615dcdd69413705aefda700aefd0d27010cd0a0a338d879d9b8"},flag_im:{category:"flags",moji:"🇮🇲",description:"isle of man",unicodeVersion:"6.0",digest:"1ee9b3a5f1a52fc6d8369bfd81995fc0567e7a61deacd013701b3ec5fd64502e"},flag_in:{category:"flags",moji:"🇮🇳",description:"india",unicodeVersion:"6.0",digest:"202ede502f34d55d180726ac2f29141c6875516f1b3e7ee99f266b16c2fe4bfd"},flag_io:{category:"flags",moji:"🇮🇴",description:"british indian ocean territory",unicodeVersion:"6.0",digest:"dd45e1afe792fca57d4161434bf611bcb7170072d63e4a27fb9dcd6e8912621e"},flag_iq:{category:"flags",moji:"🇮🇶",description:"iraq",unicodeVersion:"6.0",digest:"bef294772b5ffccd6c061c19d60af66f61b248d78705faf347ade9ebfca2b46d"},flag_ir:{category:"flags",moji:"🇮🇷",description:"iran",unicodeVersion:"6.0",digest:"d4faca93577a5546330ab6a09252307e19fb420d89912c0b48ceb90bf409d48e"},flag_is:{category:"flags",moji:"🇮🇸",description:"iceland",unicodeVersion:"6.0",digest:"b2fc04226b274009b4d99d92bcb72b255b534b6fd4b76d82dce1575ad975a456"},flag_it:{category:"flags",moji:"🇮🇹",description:"italy",unicodeVersion:"6.0",digest:"735760f193855d55460a0fb93dad55ff67253cab63176eceb90b9bde1faead1e"},flag_je:{category:"flags",moji:"🇯🇪",description:"jersey",unicodeVersion:"6.0",digest:"671a487a60571d928d2abaf306d0a9ba50239ec54ada14ea29a9a99df658d3cc"},flag_jm:{category:"flags",moji:"🇯🇲",description:"jamaica",unicodeVersion:"6.0",digest:"fb9047199d030b78fc0dcfc58d9b524fdb929238d922809da88147b7cebf4211"},flag_jo:{category:"flags",moji:"🇯🇴",description:"jordan",unicodeVersion:"6.0",digest:"19f7d536d0293ebf3db49e05a158097cbde467115ef96523a0553808fd0b4178"},flag_jp:{category:"flags",moji:"🇯🇵",description:"japan",unicodeVersion:"6.0",digest:"51e971f777fe481ca9f7e077ecb2ce252c3cc0086b76384e7b965cdc337f3f9e"},flag_ke:{category:"flags",moji:"🇰🇪",description:"kenya",unicodeVersion:"6.0",digest:"0cec8f068548cfd3e7a20c10af84f97ca415fd6f8ab8b50783bf982e77d7260e"},flag_kg:{category:"flags",moji:"🇰🇬",description:"kyrgyzstan",unicodeVersion:"6.0",digest:"5803ea6ab028261923fd7570c670a50518c6f462a2fb4d463531b12c3e382e6f"},flag_kh:{category:"flags",moji:"🇰🇭",description:"cambodia",unicodeVersion:"6.0",digest:"287d357afe47179853fd485fb102834ead145598ed892664fc62d245cac16080"},flag_ki:{category:"flags",moji:"🇰🇮",description:"kiribati",unicodeVersion:"6.0",digest:"ae4aee0d9cd7a21d4e250d45a484f5f641acdab3d79b437337b25fe34a0b49b0"},flag_km:{category:"flags",moji:"🇰🇲",description:"the comoros",unicodeVersion:"6.0",digest:"2d1730acbf5421fd02bd5483e26a86d82ec2fa99f0ff75bfd728a9df7914ad3b"},flag_kn:{category:"flags",moji:"🇰🇳",description:"saint kitts and nevis",unicodeVersion:"6.0",digest:"b9ed979db9c6d243b00f61f19a9ec0f2c2390b2e5cace5ad61d9371dc8c670ac"},flag_kp:{category:"flags",moji:"🇰🇵",description:"north korea",unicodeVersion:"6.0",digest:"1bab0b9cab8028a95ce7231ad8d88ebcd31601cfa321284bba017ead47f6c729"},flag_kr:{category:"flags",moji:"🇰🇷",description:"korea",unicodeVersion:"6.0",digest:"33be8c09ebe273e203aa703cc827d52a6d9bf1699f5445bba13a77af2df45fa6"},flag_kw:{category:"flags",moji:"🇰🇼",description:"kuwait",unicodeVersion:"6.0",digest:"04d901a92ea55b13dc4983a9e3adb52dc89c9f3decee86fd06022aa902678b6d"},flag_ky:{category:"flags",moji:"🇰🇾",description:"cayman islands",unicodeVersion:"6.0",digest:"10f4d02f33cadd34da89de71a3b763809bad480cd9ae9d2ec000db026bd94cd1"},flag_kz:{category:"flags",moji:"🇰🇿",description:"kazakhstan",unicodeVersion:"6.0",digest:"dfaff69a78cf635f7fad41bd5bdcc8003298454708a6178ba7348b1b40c360c1"},flag_la:{category:"flags",moji:"🇱🇦",description:"laos",unicodeVersion:"6.0",digest:"4fcfbdc694cf99ae3f832500cdcdedb88c444b6df88bc9b7141f4f26ba3d5bfd"},flag_lb:{category:"flags",moji:"🇱🇧",description:"lebanon",unicodeVersion:"6.0",digest:"af4b1f784bea0ec7a712495491dffbd1152cc857a99fd433f76bfeb313819a62"},flag_lc:{category:"flags",moji:"🇱🇨",description:"saint lucia",unicodeVersion:"6.0",digest:"40784aa558b75d07ae499c004e2cc5d0b2efdfc3e5be705b5a9f6b70d681c396"},flag_li:{category:"flags",moji:"🇱🇮",description:"liechtenstein",unicodeVersion:"6.0",digest:"c4eb4c43f457ce60ff9d046adb512c1d3462203403eeb595bff3ebc010ed6633"},flag_lk:{category:"flags",moji:"🇱🇰",description:"sri lanka",unicodeVersion:"6.0",digest:"a5285cdfdc3715fa3941f5f0eb03dc425969eaaf22c719c27ab4418628d09bc5"},flag_lr:{category:"flags",moji:"🇱🇷",description:"liberia",unicodeVersion:"6.0",digest:"ed04334264953b4da570db8c392b99d2fab4e0b7efc2331427016c6a08e818be"},flag_ls:{category:"flags",moji:"🇱🇸",description:"lesotho",unicodeVersion:"6.0",digest:"cd56022106d027317cc9bf4c848758cf29ffe277ce71fdb9c1cf89ac4fd6e6db"},flag_lt:{category:"flags",moji:"🇱🇹",description:"lithuania",unicodeVersion:"6.0",digest:"3c4395b068e421100fd97a102f170cb8d5c093885eef7cb40d3faff4f4e47fe9"},flag_lu:{category:"flags",moji:"🇱🇺",description:"luxembourg",unicodeVersion:"6.0",digest:"df15a2c47eecad17e0cc169bdf0d31c6a51eb22de7ca4e70d2431359a33f930d"},flag_lv:{category:"flags",moji:"🇱🇻",description:"latvia",unicodeVersion:"6.0",digest:"9b53c6ce23287935200da8ca8a8af78013a4b1572f9821e7e1724cbad248e7e2"},flag_ly:{category:"flags",moji:"🇱🇾",description:"libya",unicodeVersion:"6.0",digest:"42efa9f3526ef006d6723fa17538a98ab9556ae25f14df1b06d21361bf7e1a44"},flag_ma:{category:"flags",moji:"🇲🇦",description:"morocco",unicodeVersion:"6.0",digest:"96c07296cfd7aa1cb642faed8ace26744105b81ca880157a4ef4caee0befe26e"},flag_mc:{category:"flags",moji:"🇲🇨",description:"monaco",unicodeVersion:"6.0",digest:"6b44608842fe849ae2b4bae5eb87ccd436459a427051dfda25080196273d4b9f"},flag_md:{category:"flags",moji:"🇲🇩",description:"moldova",unicodeVersion:"6.0",digest:"78c7b01c698873a9129d52ba38b3eb4cfc683ef2ae10b7b922b17c07f1c938c8"},flag_me:{category:"flags",moji:"🇲🇪",description:"montenegro",unicodeVersion:"6.0",digest:"01aa0f9df89302edc4ae319b5dd78069ba8807c3f38cc7bfe01bff67c8efd416"},flag_mf:{category:"flags",moji:"🇲🇫",description:"saint martin",unicodeVersion:"6.0",digest:"a0124683aa88cd7da886da70c65796c5ad84eb3751e356e9b2aa8ac249cf0bf9"},flag_mg:{category:"flags",moji:"🇲🇬",description:"madagascar",unicodeVersion:"6.0",digest:"56ebcd2a2e144d656d3b38a62595138fe6e50f9c1144f70b0a120cce7a72eb5b"},flag_mh:{category:"flags",moji:"🇲🇭",description:"the marshall islands",unicodeVersion:"6.0",digest:"008660adc4c2e4d04830498988184d1ef8a372a6c085da369a94ee6b820dbbb7"},flag_mk:{category:"flags",moji:"🇲🇰",description:"macedonia",unicodeVersion:"6.0",digest:"f3c4c5106ace81c21fc0c6a7cc5c5e04e9453468fbc6ccbc851bb8dd61ff237f"},flag_ml:{category:"flags",moji:"🇲🇱",description:"mali",unicodeVersion:"6.0",digest:"e70a6b30e46adc2e19684308a848fef2c3ad76e2cac4bb493ee3270ad39f9d1b"},flag_mm:{category:"flags",moji:"🇲🇲",description:"myanmar",unicodeVersion:"6.0",digest:"720f5d38887202ba049cd5a46c183679be6a01f169d99e6e656c73b515793a7d"},flag_mn:{category:"flags",moji:"🇲🇳",description:"mongolia",unicodeVersion:"6.0",digest:"5f0fd6fcb2ed73a5a6d9396c3703612503c1f16283bbb4e9362a1c8324b762ad"},flag_mo:{category:"flags",moji:"🇲🇴",description:"macau",unicodeVersion:"6.0",digest:"fc2a9e7323867cf195f551e59afdab778c56b84c96af28c20207c9870caa2c39"},flag_mp:{category:"flags",moji:"🇲🇵",description:"northern mariana islands",unicodeVersion:"6.0",digest:"ddce3be9d72914240c42e1b97ea97af01016d0a3879999cb0e447552682c06ba"},flag_mq:{category:"flags",moji:"🇲🇶",description:"martinique",unicodeVersion:"6.0",digest:"888f455b1322d6fb83dc9f469f5505fea3dd6ece77d17d0d7345319c3ebcec0e"},flag_mr:{category:"flags",moji:"🇲🇷",description:"mauritania",unicodeVersion:"6.0",digest:"72621914c92dd9c9f3ac9973ee3589583bfe42b841cdd35f47af75e2f629726c"},flag_ms:{category:"flags",moji:"🇲🇸",description:"montserrat",unicodeVersion:"6.0",digest:"5944996295132f41ec55261ff7927518bd47aec95d274a6ff257c357b43657bc"},flag_mt:{category:"flags",moji:"🇲🇹",description:"malta",unicodeVersion:"6.0",digest:"95f0550e8823441a4e69b26c540baea94f3ddcc282100fd0239021c00df0b469"},flag_mu:{category:"flags",moji:"🇲🇺",description:"mauritius",unicodeVersion:"6.0",digest:"5fda78a6df0ea7f5cac5fb4c8fd68529c14c5e15bac4e0b167493cb6ac459253"},flag_mv:{category:"flags",moji:"🇲🇻",description:"maldives",unicodeVersion:"6.0",digest:"f75c8f6fd3a68f2944a04c833c649d4b576997f491100cf3f3160fe77117fabb"},flag_mw:{category:"flags",moji:"🇲🇼",description:"malawi",unicodeVersion:"6.0",digest:"d46b484a97e5b90b6b259f8de1712b553f93f0dfb6391209200358bb9429ebf5"},flag_mx:{category:"flags",moji:"🇲🇽",description:"mexico",unicodeVersion:"6.0",digest:"dc57c10307fc0aa09bd7fcd25ee0fca561f3b382276faa8432a927c1baea53fd"},flag_my:{category:"flags",moji:"🇲🇾",description:"malaysia",unicodeVersion:"6.0",digest:"15ca00660a1eb0096fdaa00b85a7b95fcf192bf2ee4781ba72c36d2d2cb015ef"},flag_mz:{category:"flags",moji:"🇲🇿",description:"mozambique",unicodeVersion:"6.0",digest:"0c8605a9319dcf86672a833b4c4d6acea5f6aa25a3f8e1dfac78fbf7c452ba97"},flag_na:{category:"flags",moji:"🇳🇦",description:"namibia",unicodeVersion:"6.0",digest:"e63cde5ee49d3ada1e33d2ab15dc24fbb129b90d65b6fd1d7c07455f71a53601"},flag_nc:{category:"flags",moji:"🇳🇨",description:"new caledonia",unicodeVersion:"6.0",digest:"a4a350ce7404ba7bdda9a341e7a48fcfe16312be4964b1bd6eed7115acd2e329"},flag_ne:{category:"flags",moji:"🇳🇪",description:"niger",unicodeVersion:"6.0",digest:"6b32483b4445bc52855509f618c570b9c9606de5649e4878b71b44ff2acbc9fd"},flag_nf:{category:"flags",moji:"🇳🇫",description:"norfolk island",unicodeVersion:"6.0",digest:"96b1ec33acbd2b1ffe42703c11a2a633b036e6779849b0e6fa8f399167820584"},flag_ng:{category:"flags",moji:"🇳🇬",description:"nigeria",unicodeVersion:"6.0",digest:"f97d0630cbfa5e75440251df7529a67b58c22598643390cbeea82fb04a1cd956"},flag_ni:{category:"flags",moji:"🇳🇮",description:"nicaragua",unicodeVersion:"6.0",digest:"c52fb5f9134122a91defa75425be2c6b3c909e051d546244e0e7bdf5f9ee1710"},flag_nl:{category:"flags",moji:"🇳🇱",description:"the netherlands",unicodeVersion:"6.0",digest:"b8918f9c0c92513aa0ec6ba6cee5448270168cbe6f0a970fb06e7ceb9f52ec71"},flag_no:{category:"flags",moji:"🇳🇴",description:"norway",unicodeVersion:"6.0",digest:"05ce84095f8d93407d611b39d8b6a67fd9f11df6cfab7a185bcb4eec186d85ef"},flag_np:{category:"flags",moji:"🇳🇵",description:"nepal",unicodeVersion:"6.0",digest:"cc41c2f97ec2b38fe5781d553792f6aab5d37cc3be02586f361fe89d12683bee"},flag_nr:{category:"flags",moji:"🇳🇷",description:"nauru",unicodeVersion:"6.0",digest:"7837edf59ec33a25380d76afea5f04cfcab4f17df4e33fca0dcaacb517c5cbec"},flag_nu:{category:"flags",moji:"🇳🇺",description:"niue",unicodeVersion:"6.0",digest:"fd9ab45c6f32bc4da47542392e5beba73ddac302a4a9a00e6deedc913a4c087d"},flag_nz:{category:"flags",moji:"🇳🇿",description:"new zealand",unicodeVersion:"6.0",digest:"0719830dcca400cefb30ce399bb03f49dd84c9a98f7d6a28270f9278e2a7af75"},flag_om:{category:"flags",moji:"🇴🇲",description:"oman",unicodeVersion:"6.0",digest:"3f9039becd52e3454fdf7611cdb0d7fb1196e053eea29ef87daab6c21a94f1ee"},flag_pa:{category:"flags",moji:"🇵🇦",description:"panama",unicodeVersion:"6.0",digest:"1adf0e5d4084e072aa44bd9978829e77546e0be75785e9be69f92e326bd714a7"},flag_pe:{category:"flags",moji:"🇵🇪",description:"peru",unicodeVersion:"6.0",digest:"f8a4e257676f4ab8962ffe5509b8417777a8be2f0e9dc7735d3e014ff221aab1"},flag_pf:{category:"flags",moji:"🇵🇫",description:"french polynesia",unicodeVersion:"6.0",digest:"1ace6cc71d130cdf09246297740a911f14828c322e35330cc548ca5975015c23"},flag_pg:{category:"flags",moji:"🇵🇬",description:"papua new guinea",unicodeVersion:"6.0",digest:"9c37719d9f51ef31fec0f898d38e522b4253cd00344408e3f660132514efddb7"},flag_ph:{category:"flags",moji:"🇵🇭",description:"the philippines",unicodeVersion:"6.0",digest:"f1af628cf6d1d290cedef3d564b2386e2d6f14ba4426d3fefc0312cb8772e517"},flag_pk:{category:"flags",moji:"🇵🇰",description:"pakistan",unicodeVersion:"6.0",digest:"61c77f73d2a10a5acb289fadfe0d25d1a1c343e1223bd802099ff4e0e9356521"},flag_pl:{category:"flags",moji:"🇵🇱",description:"poland",unicodeVersion:"6.0",digest:"38c2c8618446e1f72cf983ab33e736d943f0db7c4cce52a187299e8cec2ea895"},flag_pm:{category:"flags",moji:"🇵🇲",description:"saint pierre and miquelon",unicodeVersion:"6.0",digest:"656be9ea1a79c3885a759c7ce353d338345a198d7939556949affaf5490cb644"},flag_pn:{category:"flags",moji:"🇵🇳",description:"pitcairn",unicodeVersion:"6.0",digest:"2792260d8087ab0253b1214c1420f0160ab2eef9afe7315f9e7ff0b87cd15d72"},flag_pr:{category:"flags",moji:"🇵🇷",description:"puerto rico",unicodeVersion:"6.0",digest:"c4cfa1f2201dcda9de310a8247e6ce32d2798ae426a14dd70a9ebb00a2804d46"},flag_ps:{category:"flags",moji:"🇵🇸",description:"palestinian authority",unicodeVersion:"6.0",digest:"197f2ec6294bf0ee4a08cf2f2d1e237ee867c98b3085454a3f42abc955eeb289"},flag_pt:{category:"flags",moji:"🇵🇹",description:"portugal",unicodeVersion:"6.0",digest:"86a50827963756b5bf471ed9df5b3f2a2058b4c5d778a303414b6b0556e2082b"},flag_pw:{category:"flags",moji:"🇵🇼",description:"palau",unicodeVersion:"6.0",digest:"a6321c47a0cd188fbfdf3b55f17a7170c63080d28d50e4f5463eb1ee09af2412"},flag_py:{category:"flags",moji:"🇵🇾",description:"paraguay",unicodeVersion:"6.0",digest:"1a169e8d8703c510c5a2265b57dbed2f811b03ec375bcb341ab4cd0b100a9dd6"},flag_qa:{category:"flags",moji:"🇶🇦",description:"qatar",unicodeVersion:"6.0",digest:"de6283965cd98a244b7fa6288174f9ff0d8feb497f191f2e4ab3b690138a3d5d"},flag_re:{category:"flags",moji:"🇷🇪",description:"réunion",unicodeVersion:"6.0",digest:"260e1b97abc1562e5a73d7e53652ffed8059fc9b1c969741c466f48ec6ab0e80"},flag_ro:{category:"flags",moji:"🇷🇴",description:"romania",unicodeVersion:"6.0",digest:"6d648e03955fa2a9fd2bad6f60ec96d3e20ee57f5855f3721a4d4e0c8e99f95c"},flag_rs:{category:"flags",moji:"🇷🇸",description:"serbia",unicodeVersion:"6.0",digest:"95cd5e197ed364e403eeb7f1d18a83487d89166910ba8119ea994e5e19d6a7ee"},flag_ru:{category:"flags",moji:"🇷🇺",description:"russia",unicodeVersion:"6.0",digest:"a4a81617a59d9eaf3c526431ca6f90ed334a7c1f516bf70cbd3f1fdc6e6103d7"},flag_rw:{category:"flags",moji:"🇷🇼",description:"rwanda",unicodeVersion:"6.0",digest:"7a369f60db0876ffef111c319a3e8c9eaed620c875c51b98ed9ad5207b836dca"},flag_sa:{category:"flags",moji:"🇸🇦",description:"saudi arabia",unicodeVersion:"6.0",digest:"b249fbfd7ed415943f60bbd841965cf721979f960ccbe09396aebac1eca913d7"},flag_sb:{category:"flags",moji:"🇸🇧",description:"the solomon islands",unicodeVersion:"6.0",digest:"526b411260024ea7b6ea6c47f2549345c6cc6960e9a29bfa9aaec0772664d2dc"},flag_sc:{category:"flags",moji:"🇸🇨",description:"the seychelles",unicodeVersion:"6.0",digest:"d036b0d068745926120eaf746fa2e4433306e2e14c6b540d0cd6265e34471056"},flag_sd:{category:"flags",moji:"🇸🇩",description:"sudan",unicodeVersion:"6.0",digest:"889615bdb9b1f9c59c5f83ed4d22d54a0ed5dd5de263e729c58544cb06c55885"},flag_se:{category:"flags",moji:"🇸🇪",description:"sweden",unicodeVersion:"6.0",digest:"f471d80cfff340960a752c8c152ed4fb482df2a3712b0a56dfab31b9b806926a"},flag_sg:{category:"flags",moji:"🇸🇬",description:"singapore",unicodeVersion:"6.0",digest:"82f58a09f98593cc87e545f7e5c03d2aedaf82e54e73f71f58c18e994c3085ac"},flag_sh:{category:"flags",moji:"🇸🇭",description:"saint helena",unicodeVersion:"6.0",digest:"53914b1fa8c1b4f30bae6c1f6717f138fb4dbf482c3e20e33f7aea4ecfc0438d"},flag_si:{category:"flags",moji:"🇸🇮",description:"slovenia",unicodeVersion:"6.0",digest:"65d491daa69f9a11cec9ccc4df3a669f12ef95a5c312137776d4472719940ba3"},flag_sj:{category:"flags",moji:"🇸🇯",description:"svalbard and jan mayen",unicodeVersion:"6.0",digest:"bbf6daa6174c6fbbbf541c8274f31b6757c3a16007c2687015ea041fd1e2c6b6"},flag_sk:{category:"flags",moji:"🇸🇰",description:"slovakia",unicodeVersion:"6.0",digest:"d4fd03eca5bd3c9fb324ee04fae37c9a2d852bac8335369e3e720ef9b98fff36"},flag_sl:{category:"flags",moji:"🇸🇱",description:"sierra leone",unicodeVersion:"6.0",digest:"1455c98c11c248623d82be5484ab1c4dcd1dae449adc393eb1aa2d8c74aa3f02"},flag_sm:{category:"flags",moji:"🇸🇲",description:"san marino",unicodeVersion:"6.0",digest:"daec5864ac50c625d7bf49d6c1a170a094cf0d1b9a0bdf62a62406e7ec500a94"},flag_sn:{category:"flags",moji:"🇸🇳",description:"senegal",unicodeVersion:"6.0",digest:"4e4d43c467e5eb84c70f535f37f4f468319bd4b06c6ec3db3b54f69efdafd334"},flag_so:{category:"flags",moji:"🇸🇴",description:"somalia",unicodeVersion:"6.0",digest:"c1434dca361563a8e3ba88f1ad19c3f6c9cbb8f3ebc17ce128fde2351ff67d0c"},flag_sr:{category:"flags",moji:"🇸🇷",description:"suriname",unicodeVersion:"6.0",digest:"f3c6bfee2a052f03d56ba917b88595450cef111ffa9e92c7f39ef8c3c3bd12d1"},flag_ss:{category:"flags",moji:"🇸🇸",description:"south sudan",unicodeVersion:"6.0",digest:"c0ed7e4f41206f5363e8ebdc6c3f28080e2f07d99e6fb73c1f6226d83310e69d"},flag_st:{category:"flags",moji:"🇸🇹",description:"sao tome and principe",unicodeVersion:"6.0",digest:"b022ae5d6885e28c6e9c83c17dd0c24c731d4f3d5773c49051768cdd4df51330"},flag_sv:{category:"flags",moji:"🇸🇻",description:"el salvador",unicodeVersion:"6.0",digest:"5bafdd04d243ee3f3998f4ec0a3d03ff5a3975e771b1f94f89d7713193d7a242"},flag_sx:{category:"flags",moji:"🇸🇽",description:"sint maarten",unicodeVersion:"6.0",digest:"fb92e9f514bcc2f7abbd4e146edde50f030c940c833f184618cbb48e56af22bd"},flag_sy:{category:"flags",moji:"🇸🇾",description:"syria",unicodeVersion:"6.0",digest:"ee330da644d4ce1fdba98be5eaab5054aed8d91a34ab617199a4b2b77f62a10b"},flag_sz:{category:"flags",moji:"🇸🇿",description:"swaziland",unicodeVersion:"6.0",digest:"7fe0c7429efd9682cc39e57f4bba8d1491d301643ba999d57c4e1bc37517ed64"},flag_ta:{category:"flags",moji:"🇹🇦",description:"tristan da cunha",unicodeVersion:"6.0",digest:"b47e245a2708072a4dbaf190c9606baa4daf02e51627eeae6f20c3b4c95024c0"},flag_tc:{category:"flags",moji:"🇹🇨",description:"turks and caicos islands",unicodeVersion:"6.0",digest:"18cfff14c2503b9d24c91c668583d4a14efb17657d800eca86ae49b547c9da5c"},flag_td:{category:"flags",moji:"🇹🇩",description:"chad",unicodeVersion:"6.0",digest:"73d1db3365736915c4cdf9ba9343d9fd78962203b60334e8f3724d4b330b17db"},flag_tf:{category:"flags",moji:"🇹🇫",description:"french southern territories",unicodeVersion:"6.0",digest:"3bffeb4bc9ceb9cbb150de88e957b6e46509862ca7d616d5693124af084eb435"},flag_tg:{category:"flags",moji:"🇹🇬",description:"togo",unicodeVersion:"6.0",digest:"eb13a0e85baf73326f3ae3bc75e8406eca42000d7e42b0641120e64c0ab7ebaa"},flag_th:{category:"flags",moji:"🇹🇭",description:"thailand",unicodeVersion:"6.0",digest:"a4e42efa4bb94e90f3a92ae9ce14affaacd3a142c1e0da40d8cc839500e771fd"},flag_tj:{category:"flags",moji:"🇹🇯",description:"tajikistan",unicodeVersion:"6.0",digest:"ff926fa3e86e095683a61c4754355a5b4dd0ecb74393306bd791d130fd1a909d"},flag_tk:{category:"flags",moji:"🇹🇰",description:"tokelau",unicodeVersion:"6.0",digest:"3fa732d457ded6c83cd5f73d934f64c4e687eb0cde7c157d2fdcdccaf3b5fb52"},flag_tl:{category:"flags",moji:"🇹🇱",description:"east timor",unicodeVersion:"6.0",digest:"0ec2a4d22fb832060693089e518bbe370a4e13bfc28748f110fc13726409f473"},flag_tm:{category:"flags",moji:"🇹🇲",description:"turkmenistan",unicodeVersion:"6.0",digest:"b4724aa7ad13352f16a0936e61cbb85f0bd147583fc66597aff7e8ee7cf19c21"},flag_tn:{category:"flags",moji:"🇹🇳",description:"tunisia",unicodeVersion:"6.0",digest:"5ab308ffdde40f504d6ee080817bbddbe4f3f4ddb71f508c75e0144a8c8044d9"},flag_to:{category:"flags",moji:"🇹🇴",description:"tonga",unicodeVersion:"6.0",digest:"75b7e7198fa42f87986882b8ca251a229afcaa0a1188ae7b9f5ece87dc31a723"},flag_tr:{category:"flags",moji:"🇹🇷",description:"turkey",unicodeVersion:"6.0",digest:"9cc48a8f8fa9c17c1627272f68d4740da0e7ce17a2cf8c6b5c08cc9b95e1390c"},flag_tt:{category:"flags",moji:"🇹🇹",description:"trinidad and tobago",unicodeVersion:"6.0",digest:"f9e63543121bb3cd2e41bc7b0c2c4ba662bc1cc0520b79fc4e201ec6456fdf59"},flag_tv:{category:"flags",moji:"🇹🇻",description:"tuvalu",unicodeVersion:"6.0",digest:"6431e5f06cc7995ae7208c429ecf39339b545854cb6d6b7447f465fe53614dfc"},flag_tw:{category:"flags",moji:"🇹🇼",description:"the republic of china",unicodeVersion:"6.0",digest:"8395ab3c6a595023b006518a5345ac3612f2893d3a8f011b7e5802414236b03c"},flag_tz:{category:"flags",moji:"🇹🇿",description:"tanzania",unicodeVersion:"6.0",digest:"716181733cd9ac7a8f51a9a64bc5d21020e8112f6768e8c49c4d651a3ee0b8a4"},flag_ua:{category:"flags",moji:"🇺🇦",description:"ukraine",unicodeVersion:"6.0",digest:"304570736345e28734f5ff84a2b0481c2bb00bf29d9892bd749b57dec7741e30"},flag_ug:{category:"flags",moji:"🇺🇬",description:"uganda",unicodeVersion:"6.0",digest:"a1bafb74c54ee8c92cb025b55aebdb6081eec3fda6a7f86f2ee14d1b801a8e9c"},flag_um:{category:"flags",moji:"🇺🇲",description:"united states minor outlying islands",unicodeVersion:"6.0",digest:"b3c9ac72211f481f50cde09e10b92aa03b1ea90abf85418e60a35b84963273ee"},flag_us:{category:"flags",moji:"🇺🇸",description:"united states",unicodeVersion:"6.0",digest:"da79f9af0a188178a82e7dc3a62298fa416f4cfbcae432838df1abebca5c0d63"},flag_uy:{category:"flags",moji:"🇺🇾",description:"uruguay",unicodeVersion:"6.0",digest:"8348e901d775722497ee911c9c9b4bd767710760c507630a67ecb6d47cc646c7"},flag_uz:{category:"flags",moji:"🇺🇿",description:"uzbekistan",unicodeVersion:"6.0",digest:"2a1dc1e9469e01c58ea91f545ef3fe0bdfe5544a73a80407f8960d01b1e5db5c"},flag_va:{category:"flags",moji:"🇻🇦",description:"the vatican city",unicodeVersion:"6.0",digest:"0e8134ec94bff032bfc63b0b08587d5298c9b7f31edd5a5b35633ae911434e61"},flag_vc:{category:"flags",moji:"🇻🇨",description:"saint vincent and the grenadines",unicodeVersion:"6.0",digest:"e0290e1be72c8939ee6c398f00a107703b21b97d91b9bf465e553ffbf00304a7"},flag_ve:{category:"flags",moji:"🇻🇪",description:"venezuela",unicodeVersion:"6.0",digest:"76a6a6c2353def1f984d1a6980831e63f3aea5af2201b574197834e7c203d57a"},flag_vg:{category:"flags",moji:"🇻🇬",description:"british virgin islands",unicodeVersion:"6.0",digest:"56fc9317b8dd62cccc60010819f8b895dd4569a9b06368a9250f815c39177b8a"},flag_vi:{category:"flags",moji:"🇻🇮",description:"u.s. virgin islands",unicodeVersion:"6.0",digest:"2526a3e13b8ccd301f0763580430898c227bd209e3ce482c7951140b28948375"},flag_vn:{category:"flags",moji:"🇻🇳",description:"vietnam",unicodeVersion:"6.0",digest:"0cf6b9896bbe4da8ed7718d0abfd56cef1a8321e26f89d3ad1b48488eaffb7a5"},flag_vu:{category:"flags",moji:"🇻🇺",description:"vanuatu",unicodeVersion:"6.0",digest:"9dfa282ce1aafc62beacab76e1fc19a141c8bdeaa30898f69b083067b775d362"},flag_wf:{category:"flags",moji:"🇼🇫",description:"wallis and futuna",unicodeVersion:"6.0",digest:"a0124683aa88cd7da886da70c65796c5ad84eb3751e356e9b2aa8ac249cf0bf9"},flag_white:{category:"objects",moji:"🏳",description:"waving white flag",unicodeVersion:"6.0",digest:"d9be4b7ceb8309c48f88cfd07a9f7ce6758ea6e620e73293cf14baec03ca381c"},flag_ws:{category:"flags",moji:"🇼🇸",description:"samoa",unicodeVersion:"6.0",digest:"53addd0dc304a3c8893389ed227986ef2431828b8c071926aa09f9efd815b649"},flag_xk:{category:"flags",moji:"🇽🇰",description:"kosovo",unicodeVersion:"6.0",digest:"eba1a832e489e1c2734e773e685df5d128271fa5559d23c060e68be067bf6469"},flag_ye:{category:"flags",moji:"🇾🇪",description:"yemen",unicodeVersion:"6.0",digest:"edfa14266785042b6d5fe0f64fafa630b16a3ee7d010501de7cc8554c959afb0"},flag_yt:{category:"flags",moji:"🇾🇹",description:"mayotte",unicodeVersion:"6.0",digest:"472ebc676b5d31dec2ac5e02ce69014a3dd94609d30a95f39f3a752f49c85e8b"},flag_za:{category:"flags",moji:"🇿🇦",description:"south africa",unicodeVersion:"6.0",digest:"dad162942a43392b4cff6929bd5cbf58c382a03dbc0e552f03c07ad2d8ff08ce"},flag_zm:{category:"flags",moji:"🇿🇲",description:"zambia",unicodeVersion:"6.0",digest:"1521ecaf1d1fdc8c15f0c96a6b04e6d4050f26f943a826b3d3d661f6ded6d438"},flag_zw:{category:"flags",moji:"🇿🇼",description:"zimbabwe",unicodeVersion:"6.0",digest:"46d05b597c5c77c8e2dc7bd6d8dd62ebca01bc9c9dc9915dafe694ca56402825"},flags:{category:"objects",moji:"🎏",description:"carp streamer",unicodeVersion:"6.0",digest:"f860aa4df587cf140c3e9735bbd101e9fd5a1bfcea42e420d85ac0a9877fa21d"},flashlight:{category:"objects",moji:"🔦",description:"electric torch",unicodeVersion:"6.0",digest:"e929bbe76e0fd2dc5bd6476858a0bbc717fd21467710435d35d80efb38033d73"},"fleur-de-lis":{category:"symbols",moji:"⚜",description:"fleur-de-lis",unicodeVersion:"4.1",digest:"ebf49007f367dc05580e9dab942e93e9dda12fa1dc2caa410ac7f8d8cd55d2a3"},floppy_disk:{category:"objects",moji:"💾",description:"floppy disk",unicodeVersion:"6.0",digest:"4ee0b5bba41b9e301ed125d3ee1c263bef171ca499e6e1b89276b09af2bc03a0"},flower_playing_cards:{category:"symbols",moji:"🎴",description:"flower playing cards",unicodeVersion:"6.0",digest:"edba47c2e3051b2c7effd98794ec977174052782edcb491daec82a2b0d853869"},flushed:{category:"people",moji:"😳",description:"flushed face",unicodeVersion:"6.0",digest:"e759d46bab92af5494d78b6c712c06568759afe397e7828ca0a0de1e3eab0165"},fog:{category:"nature",moji:"🌫",description:"fog",unicodeVersion:"7.0",digest:"0cbd4733961d30fe0f40f95dd1f37254aebbef26f82dd18ad2000e799eb2898e"},foggy:{category:"travel",moji:"🌁",description:"foggy",unicodeVersion:"6.0",digest:"bc3631a4e9e8473b92e842008937add2cd9ffad5b7d772ce759fb5ff6c0e3dca"},football:{category:"activity",moji:"🏈",description:"american football",unicodeVersion:"6.0",digest:"ebd790471c3a28d3077818e3b31d915ffe443e06e299bc5cf0dd2534d080634c"},footprints:{category:"people",moji:"👣",description:"footprints",unicodeVersion:"6.0",digest:"85bbf2bc0ae8e6259d83a06f513600095d7fcfc44372670f5b2405d380b78811"},fork_and_knife:{category:"food",moji:"🍴",description:"fork and knife",unicodeVersion:"6.0",digest:"f228accd36ddccb4ec636207c19d7185191ec79723b780a1bd5c3d00a4b1ef3b"},fork_knife_plate:{category:"food",moji:"🍽",description:"fork and knife with plate",unicodeVersion:"7.0",digest:"ec6be99dac8efd3d145807fa60d2b6d8f6d3c02cb95552b55cc0fac39a4db48e"},fountain:{category:"travel",moji:"⛲",description:"fountain",unicodeVersion:"5.2",digest:"87043f9256e1d4615159307fcfd21bf6ae2aba0bada7de2bd50d7d6f2ab82395"},four:{category:"symbols",moji:"4️⃣",description:"keycap digit four",unicodeVersion:"3.0",digest:"c2c82a966bbb599aae557d930a4fc42604f2081aa45528872f5caf4942ee79d9"},four_leaf_clover:{category:"nature",moji:"🍀",description:"four leaf clover",unicodeVersion:"6.0",digest:"ebee16e86bc9be843dfc72ab5372fb462f06be4486b5b25d7d4cac9b2c8b01c8"},fox:{category:"nature",moji:"🦊",description:"fox face",unicodeVersion:"9.0",digest:"e9903cb0396f7e49bdd2c384b38e614c13bfa576b3ecc1ec7b9819e4a40d91d1"},frame_photo:{category:"objects",moji:"🖼",description:"frame with picture",unicodeVersion:"7.0",digest:"d5074f748a15055ec1fb812c1e5e169e6e3cc73c522c54be1359b0e26c0fc75c"},free:{category:"symbols",moji:"🆓",description:"squared free",unicodeVersion:"6.0",digest:"9973522457158362fc5bdd7da858e6371e28a8403d1ef9e4b6427195c7f72cfa"},french_bread:{category:"food",moji:"🥖",description:"baguette bread",unicodeVersion:"9.0",digest:"47518a4312f57207b8e8c38188d4a2bd8b16830a885cfcf2d281cfab50c1bc6e"},fried_shrimp:{category:"food",moji:"🍤",description:"fried shrimp",unicodeVersion:"6.0",digest:"0792bdc4484852de970c8f43bc3a1a339dc0e48090ec77d6de97cbfcdd17f9e1"},fries:{category:"food",moji:"🍟",description:"french fries",unicodeVersion:"6.0",digest:"47915aea67251d358d91a0e4dc3dcc347155336007d6b931a192be72a743b4e9"},frog:{category:"nature",moji:"🐸",description:"frog face",unicodeVersion:"6.0",digest:"d024b2ce771df64040534fb0906737d18b562bc3578dee62c2f25ec03c7caffd"},frowning:{category:"people",moji:"😦",description:"frowning face with open mouth",unicodeVersion:"6.1",digest:"c01af48537b0011d313d8f65103e1401fce4f5c0269c68e0e9806926c59acc44"},frowning2:{category:"people",moji:"☹",description:"white frowning face",unicodeVersion:"1.1",digest:"6568ee393b950c852d440112e86908c456b89fb7780e27778c5fcec168373fbf"},fuelpump:{category:"travel",moji:"⛽",description:"fuel pump",unicodeVersion:"5.2",digest:"105e736469f19911b8bab4ab6d29f949ded4b061b54e3dd763726577d6453095"},full_moon:{category:"nature",moji:"🌕",description:"full moon symbol",unicodeVersion:"6.0",digest:"aaa87f4676a5aaa29c1b721a3b582e89db6c1f35a25c52e4b480bd193ef39c43"},full_moon_with_face:{category:"nature",moji:"🌝",description:"full moon with face",unicodeVersion:"6.0",digest:"05c4b9c339fcdf81ae67027641522baa99c370d87873ff4c8133b8349e627e33"},game_die:{category:"activity",moji:"🎲",description:"game die",unicodeVersion:"6.0",digest:"00d19ce8e21dba2cdfeb18709fa8741f3af9d6207f81d5657b68e05e64f105a8"},gear:{category:"objects",moji:"⚙",description:"gear",unicodeVersion:"4.1",digest:"c5ba354c0f7a36dce95477091984e352ecc59af8c9f26a94ad8e296dc042b9de"},gem:{category:"objects",moji:"💎",description:"gem stone",unicodeVersion:"6.0",digest:"180e66f19d9285e02d0a5e859722c608206826e80323942b9938fc49d44973b1"},gay_pride_flag:{category:"flags",moji:"🏳🌈",description:"gay_pride_flag",unicodeVersion:"6.0",digest:"924e668c559db61b7f4724a661223081c2fc60d55169f3fe1ad6156934d1d37f"},gemini:{category:"symbols",moji:"♊",description:"gemini",unicodeVersion:"1.1",digest:"278239c598d490a110f1f3f52fc3b85259be8e76034b38228ef3f68d7ddd8cdd"},ghost:{category:"people",moji:"👻",description:"ghost",unicodeVersion:"6.0",digest:"80d528fcf8ef9198631527547e43a608a4332a799f9e5550b8318dec67c9c4d2"},gift:{category:"objects",moji:"🎁",description:"wrapped present",unicodeVersion:"6.0",digest:"4061a84a59f0300473299678c43e533341eb965db09597fffc6e221fd7b77376"},gift_heart:{category:"symbols",moji:"💝",description:"heart with ribbon",unicodeVersion:"6.0",digest:"5420199b515b9b32c964a3c19d87e07461639e3068a939dae26c6436335c0cee"},girl:{category:"people",moji:"👧",description:"girl",unicodeVersion:"6.0",digest:"8d2d0b72a91e6e44921b71030ffc4c89c0f50f1364787784afe1e7e568cf1bc6"},girl_tone1:{category:"people",moji:"👧🏻",description:"girl tone 1",unicodeVersion:"8.0",digest:"bda12a6b38994a578ee65166bbdd93ea04df4101697b52ed236de8d687df09de"},girl_tone2:{category:"people",moji:"👧🏼",description:"girl tone 2",unicodeVersion:"8.0",digest:"de7a0925c30b7181a289f71b1a849c1b7751ee8c104e8f2029bd9c2fe3f91c64"},girl_tone3:{category:"people",moji:"👧🏽",description:"girl tone 3",unicodeVersion:"8.0",digest:"e41272816db0e642d003dce7cb262e1593a592251f46729f7830f4515149e1f2"},girl_tone4:{category:"people",moji:"👧🏾",description:"girl tone 4",unicodeVersion:"8.0",digest:"8d6a4513ecbf08408c0ecc5336767777a2216f7a19437faf9e51f65101822469"},girl_tone5:{category:"people",moji:"👧🏿",description:"girl tone 5",unicodeVersion:"8.0",digest:"f55e4b16a41b6f5e3c817a301420360ba4486e4e82e1092a56a3e3cc4069087d"},globe_with_meridians:{category:"symbols",moji:"🌐",description:"globe with meridians",unicodeVersion:"6.0",digest:"725bebeb3c09a9e3701ebe49e672dcfbf2b73575e05f0821263511577b013b75"},goal:{category:"activity",moji:"🥅",description:"goal net",unicodeVersion:"9.0",digest:"7088c432f276ff6f447dc0d431b9062b394fb401de1072fe59ca56267bfd6717"},goat:{category:"nature",moji:"🐐",description:"goat",unicodeVersion:"6.0",digest:"d07e384d08529ddcaddd2710f2ad913e5665dc15d5f99c28e16dadd245a111e8"},golf:{category:"activity",moji:"⛳",description:"flag in hole",unicodeVersion:"5.2",digest:"eed79364754eec97855e3c7b584f347ae139d9ddb4eb7fb66c00867610b8f1c1"},golfer:{category:"activity",moji:"🏌",description:"golfer",unicodeVersion:"7.0",digest:"7d7ecc6e226596f646030a4109c2b0001ef0cc690e4863e450bf5d29e7a90344"},gorilla:{category:"nature",moji:"🦍",description:"gorilla",unicodeVersion:"9.0",digest:"4a564dc14f8ae5450d094f6410ec7f099a7f07dc5254b6395f44a35527bdb4b7"},grapes:{category:"food",moji:"🍇",description:"grapes",unicodeVersion:"6.0",digest:"74d1a09ab411234a84d025a2e717e7ec5791bc02aad29853896d21c0f0283c50"},green_apple:{category:"food",moji:"🍏",description:"green apple",unicodeVersion:"6.0",digest:"457490e9b2b20894f50768262d63f1021717079da104d4847076b3fa779e9a21"},green_book:{category:"objects",moji:"📗",description:"green book",unicodeVersion:"6.0",digest:"370f635b200efe5e4a9f17da58bd22500e258e61d17795cef375f19c9a45468f"},green_heart:{category:"symbols",moji:"💚",description:"green heart",unicodeVersion:"6.0",digest:"f71e30416d9019873f2ed38ef375c48386424ff60b5a07b89b15dc9e0a3970f9"},grey_exclamation:{category:"symbols",moji:"❕",description:"white exclamation mark ornament",unicodeVersion:"6.0",digest:"2fa1d356e12c17cc4025e43afb6c3070385f677102a35223302fda46c47a9b03"},grey_question:{category:"symbols",moji:"❔",description:"white question mark ornament",unicodeVersion:"6.0",digest:"e1035bcbf0f66d238ef478ba451f5cf2c51627fbf101ed03bad3b2bf38db8aa2"},grimacing:{category:"people",moji:"😬",description:"grimacing face",unicodeVersion:"6.1",digest:"2cedad13b8b2a1d4385ca6fa88a251eb7757a4c65dd6d362267864a01247846b"},grin:{category:"people",moji:"😁",description:"grinning face with smiling eyes",unicodeVersion:"6.0",digest:"634b2f37e32e57ed6edc7f371993a92e34137dd21ba393de5227cfbbe2422815"},grinning:{category:"people",moji:"😀",description:"grinning face",unicodeVersion:"6.1",digest:"cef76aa41771db9fd1d6bd9b4233c22c1fb1931494af54cab29e6347ed9b678d"},guardsman:{category:"people",moji:"💂",description:"guardsman",unicodeVersion:"6.0",digest:"17bc7fad6b8c8dbd015bb709380d129f8b8e1e971062d15e6ab0b2e63e500564"},guardsman_tone1:{category:"people",moji:"💂🏻",description:"guardsman tone 1",unicodeVersion:"8.0",digest:"c531ecb101bdf9ce1db18e1567882e6db927410237100b0a2492a1401860246e"},guardsman_tone2:{category:"people",moji:"💂🏼",description:"guardsman tone 2",unicodeVersion:"8.0",digest:"602168c5204af0f1de8b4aa5863b192ef20c19d263999377aa5eb60f98311732"},guardsman_tone3:{category:"people",moji:"💂🏽",description:"guardsman tone 3",unicodeVersion:"8.0",digest:"d0a85de46dd02c7bd6cb14bff0f22d2db9083d4b171a8806c83363b49f3dd9ef"},guardsman_tone4:{category:"people",moji:"💂🏾",description:"guardsman tone 4",unicodeVersion:"8.0",digest:"1c9d4d72b6b50bdac8271613b6d2a38340ec2067bc344e8ee2a3c863fd5c23a1"},guardsman_tone5:{category:"people",moji:"💂🏿",description:"guardsman tone 5",unicodeVersion:"8.0",digest:"9899a796d01842e495d716fbe737a16d85724f7d3e23f50807ec2bc70f057318"},guitar:{category:"activity",moji:"🎸",description:"guitar",unicodeVersion:"6.0",digest:"a1027ceae4dd3ea270740587c9d373329e5677e375c9e00af6ae3275e0b67500"},gun:{category:"objects",moji:"🔫",description:"pistol",unicodeVersion:"6.0",digest:"fc12b577df2283e7b336f23774f9cfe5b79f1d26ddd28a64a560519b28d94ca5"},haircut:{category:"people",moji:"💇",description:"haircut",unicodeVersion:"6.0",digest:"b243a04f5ca889accd45e7abe095ac5caa92274ed95103f5966a36b415fff412"},haircut_tone1:{category:"people",moji:"💇🏻",description:"haircut tone 1",unicodeVersion:"8.0",digest:"a58d0cff1427b80dfd7a9ea5267b4a181e9faaac6a51a0165db522f668b4cf91"},haircut_tone2:{category:"people",moji:"💇🏼",description:"haircut tone 2",unicodeVersion:"8.0",digest:"675083ff40001405f8de99268477d50dd8594ff6ca40ddfd442dd42ad76e8216"},haircut_tone3:{category:"people",moji:"💇🏽",description:"haircut tone 3",unicodeVersion:"8.0",digest:"70d7581e49c315a3771dd61a3713229886db32aaaeb3af078a69cc042f809150"},haircut_tone4:{category:"people",moji:"💇🏾",description:"haircut tone 4",unicodeVersion:"8.0",digest:"ec5e3e909eb3bc375ef9cc0fe0e0f90b33f44f273ada91ccf415bbc43b8ffbfc"},haircut_tone5:{category:"people",moji:"💇🏿",description:"haircut tone 5",unicodeVersion:"8.0",digest:"7c89739ee458546a808fded7f96d9354c47a76883ebb262d5f5abeafd021260e"},hamburger:{category:"food",moji:"🍔",description:"hamburger",unicodeVersion:"6.0",digest:"48204235238bd89d3a69f319f65135102f3d6b181eec241d4d86b302bbffa9bf"},hammer:{category:"objects",moji:"🔨",description:"hammer",unicodeVersion:"6.0",digest:"d0e7830539d935fcd82820c4e0c1d724f0756dfc83a51171fe0f4b36b69fac42"},hammer_pick:{category:"objects",moji:"⚒",description:"hammer and pick",unicodeVersion:"4.1",digest:"aa0445f43bca58d17afa7f3577632ca7775f5a28336385b3020b268b15b18142"},hamster:{category:"nature",moji:"🐹",description:"hamster face",unicodeVersion:"6.0",digest:"a7e7582e8b1bccd5b7df27ccb05e353a3f0e39bdeb40877732706b9d74a70de1"},hand_splayed:{category:"people",moji:"🖐",description:"raised hand with fingers splayed",unicodeVersion:"7.0",digest:"c51a30cb7e575d29ffed16780a6c95ae3f300b8ac523012f4a6e116d68c1fd15"},hand_splayed_tone1:{category:"people",moji:"🖐🏻",description:"raised hand with fingers splayed tone 1",unicodeVersion:"8.0",digest:"c31fb44a982ed8808e1c311ec1b0b9c5afcb47f16bb1fc731dc483adf8f0d049"},hand_splayed_tone2:{category:"people",moji:"🖐🏼",description:"raised hand with fingers splayed tone 2",unicodeVersion:"8.0",digest:"56a236881184e9ffad54613fa08a67368c432af738f5254fb1cd87b20368acdf"},hand_splayed_tone3:{category:"people",moji:"🖐🏽",description:"raised hand with fingers splayed tone 3",unicodeVersion:"8.0",digest:"9242ca97dfd2bbc1947228f6535029afb31f8feb72c14ff4b7f2deea30217425"},hand_splayed_tone4:{category:"people",moji:"🖐🏾",description:"raised hand with fingers splayed tone 4",unicodeVersion:"8.0",digest:"43348d9fd3d43b3c45cebaf663bf181bcad3b6df841a5aeed838180db2cdd481"},hand_splayed_tone5:{category:"people",moji:"🖐🏿",description:"raised hand with fingers splayed tone 5",unicodeVersion:"8.0",digest:"4b3a0aba7829772fec09f26d6facc19a2f822d2998015297b18b5cab85190ee2"},handbag:{category:"people",moji:"👜",description:"handbag",unicodeVersion:"6.0",digest:"45410a3eed0c2e3f68748d7649fa9e33a90f4e80d5291206bdd0b40380c6da45"},handball:{category:"activity",moji:"🤾",description:"handball",unicodeVersion:"9.0",digest:"94ceb28024eb3259d8b137cafd7438773e717fbc04f5da810f85e43ca0fa9e00"},handball_tone1:{category:"activity",moji:"🤾🏻",description:"handball tone 1",unicodeVersion:"9.0",digest:"8bec4de0d05c80e335e44d65598d186ca92696977353c9fd9c2a5efa122cb842"},handball_tone2:{category:"activity",moji:"🤾🏼",description:"handball tone 2",unicodeVersion:"9.0",digest:"2ff4131e1e2f089b315d8e176c9348877c26c2bd03706fb75d41bc61bc99bf93"},handball_tone3:{category:"activity",moji:"🤾🏽",description:"handball tone 3",unicodeVersion:"9.0",digest:"224a71f94dd37d3729325d11412334667a81422e21f6d7c008730ff350f51a80"},handball_tone4:{category:"activity",moji:"🤾🏾",description:"handball tone 4",unicodeVersion:"9.0",digest:"a5f7a9db790565981bad2d0d9e09554c8c509a8179b4705a418300d58a7894b4"},handball_tone5:{category:"activity",moji:"🤾🏿",description:"handball tone 5",unicodeVersion:"9.0",digest:"00404572d4683f2e8e8a494aa733e96fbec1723634d0a8cb8d75f2829a789d27"},handshake:{category:"people",moji:"🤝",description:"handshake",unicodeVersion:"9.0",digest:"cb4b08b70560908f96bda0aecd2f4c966bea180f9b7200e4c81d342dc8d36087"},handshake_tone1:{category:"people",moji:"🤝🏻",description:"handshake tone 1",unicodeVersion:"9.0",digest:"40470e224683ba375ed8698c0cbd560556be5a8898237ddf504377a3a7e89ff0"},handshake_tone2:{category:"people",moji:"🤝🏼",description:"handshake tone 2",unicodeVersion:"9.0",digest:"77ed378243bf682f1f4f1a8caeabcbedf772f54631cc40ea46c099e46a499b18"},handshake_tone3:{category:"people",moji:"🤝🏽",description:"handshake tone 3",unicodeVersion:"9.0",digest:"81b95050f0878b617f5d2640e34031c26a0072e46ca5a688eb4356e48bc74c92"},handshake_tone4:{category:"people",moji:"🤝🏾",description:"handshake tone 4",unicodeVersion:"9.0",digest:"74919a6f026fbbd0ccdbdbd4288d1b2ef3bda8930e9142c07736db4a7f3ef345"},handshake_tone5:{category:"people",moji:"🤝🏿",description:"handshake tone 5",unicodeVersion:"9.0",digest:"a30d662bfad0074ca7e32cf6f7229b643b636c4beaec496777eb7e1d5b6fc470"},hash:{category:"symbols",moji:"#⃣",description:"number sign",unicodeVersion:"3.0",digest:"01c8b577953010bff0c20f797c2c96ab5d98d4e6ac179c4895a78f34ea904655"},hatched_chick:{category:"nature",moji:"🐥",description:"front-facing baby chick",unicodeVersion:"6.0",digest:"006571b9e9e839ec9fcb1a911b935c8ca71eb8bcdce9775bee6a2a4c7c927277"},hatching_chick:{category:"nature",moji:"🐣",description:"hatching chick",unicodeVersion:"6.0",digest:"fd7f69fa186407f80de59dec5116e318325a5743ee0e8bba1db541f1e57e7f74"},head_bandage:{category:"people",moji:"🤕",description:"face with head-bandage",unicodeVersion:"8.0",digest:"d09019a73e203b38cc43729a96163147de88e09eab8adb073888e55366854c72"},headphones:{category:"activity",moji:"🎧",description:"headphone",unicodeVersion:"6.0",digest:"34f9d5598158d5d6f978a5ea5c5aa9948bb2990625565a3afad7710f864fbe2f"},hear_no_evil:{category:"nature",moji:"🙉",description:"hear-no-evil monkey",unicodeVersion:"6.0",digest:"53b030b6d6f4ed1a734fa7d48b46f42eb1b2b01653202c1838b742082f08c4bf"},heart:{category:"symbols",moji:"❤",description:"heavy black heart",unicodeVersion:"1.1",digest:"92be652ec3e50c6e7393440b5d52b88a367f98a28dffe12660095ed3253aa6c0"},heart_decoration:{category:"symbols",moji:"💟",description:"heart decoration",unicodeVersion:"6.0",digest:"6ec5bbf3aa75c6f43eb3dc05e9204366936e8b6b4219310bacdc2fc45f51e245"},heart_exclamation:{category:"symbols",moji:"❣",description:"heavy heart exclamation mark ornament",unicodeVersion:"1.1",digest:"5985ea4d82232a2a07052a59db268aed9ac943895d0c82f637595bb5386329a6"},heart_eyes:{category:"people",moji:"😍",description:"smiling face with heart-shaped eyes",unicodeVersion:"6.0",digest:"0eff616517a6252ec89d47d9b4ad85589bcf2bdc7f490578934350acb84b2fcc"},heart_eyes_cat:{category:"people",moji:"😻",description:"smiling cat face with heart-shaped eyes",unicodeVersion:"6.0",digest:"8a1f28b97d661ca4cff5ee13889ca61b5fa745ccb590e80832b7d7701df101d6"},heartbeat:{category:"symbols",moji:"💓",description:"beating heart",unicodeVersion:"6.0",digest:"c9ec024943439d476df6f5ec3a6b30508365a7af3427671a80de3ef2f4f95ffe"},heartpulse:{category:"symbols",moji:"💗",description:"growing heart",unicodeVersion:"6.0",digest:"281d8aebfea37db5b7fe82d9115be167006881fe29ab64a5b09ac92ac27a2309"},hearts:{category:"symbols",moji:"♥",description:"black heart suit",unicodeVersion:"1.1",digest:"271429d12c40be921897005b7bdd08f9518960af1e1e6f56bb0060f1f183651e"},heavy_check_mark:{category:"symbols",moji:"✔",description:"heavy check mark",unicodeVersion:"1.1",digest:"e347728e1290eb9e7b0742d628e2fd124fc049e0774f8a6ddf8e5286e7318718"},heavy_division_sign:{category:"symbols",moji:"➗",description:"heavy division sign",unicodeVersion:"6.0",digest:"c1e8c40f0788f140b1c5fcb81ed9b5ce1bcfa5988bb8140ed2808e9cb7e0d651"},heavy_dollar_sign:{category:"symbols",moji:"💲",description:"heavy dollar sign",unicodeVersion:"6.0",digest:"7cdeef38348654b93d566e01a48973281cb404a63d0b75b3bad51032887f3f55"},heavy_minus_sign:{category:"symbols",moji:"➖",description:"heavy minus sign",unicodeVersion:"6.0",digest:"e5335cc6b22abdce49a6127c34269b65a4a6643ddd3253d9baac425089143e7d"},heavy_multiplication_x:{category:"symbols",moji:"✖",description:"heavy multiplication x",unicodeVersion:"1.1",digest:"64bbe9e9716a922e405d2f6d3b6d803863a53fac80ff8cd775899971046cb1ca"},heavy_plus_sign:{category:"symbols",moji:"➕",description:"heavy plus sign",unicodeVersion:"6.0",digest:"d0d8ade2020ceb252205180b85c66e665856e6cb505518d395b9913b0b24b746"},helicopter:{category:"travel",moji:"🚁",description:"helicopter",unicodeVersion:"6.0",digest:"4bd6fd13650fbe3a19cfffeffe6c21b1cda74bd6af64c5dc5999185e35444bc3"},helmet_with_cross:{category:"people",moji:"⛑",description:"helmet with white cross",unicodeVersion:"5.2",digest:"8286107391d44b9cd7fce5dc83bfdebbcdcf5a8214c46a8990732ec40263ed77"},herb:{category:"nature",moji:"🌿",description:"herb",unicodeVersion:"6.0",digest:"9fe8ed65515ede59d0926dcf98f14e2498785e1965610aa0dd56eca9b4bedad9"},hibiscus:{category:"nature",moji:"🌺",description:"hibiscus",unicodeVersion:"6.0",digest:"c442e8eacbd8727bd154bd39692a9a2a03ea2f674b9670ad8361f78a038afe49"},high_brightness:{category:"symbols",moji:"🔆",description:"high brightness symbol",unicodeVersion:"6.0",digest:"35ced42426dcfd5214c2c6c577dce84bb708156433945e6b6adaff7ea530cc57"},high_heel:{category:"people",moji:"👠",description:"high-heeled shoe",unicodeVersion:"6.0",digest:"1e7c7aba50eb1d02cf1d9aa372caca741a6005cf47f68dfa75b7310c3cb18f05"},hockey:{category:"activity",moji:"🏒",description:"ice hockey stick and puck",unicodeVersion:"8.0",digest:"2d00fb17baa617e799db8e9b1771cc365bb4545c7633df0123e66e1a6e2ed25d"},hole:{category:"objects",moji:"🕳",description:"hole",unicodeVersion:"7.0",digest:"8b5539f6f24f09d5d68ffd56be5aa2a8a2f753a8dfbf64892fb02c8f2703e920"},homes:{category:"travel",moji:"🏘",description:"house buildings",unicodeVersion:"7.0",digest:"cd512f2b4ce747325607d47da48e083dbfe38a44b85b2522bc372bd105afd25f"},honey_pot:{category:"food",moji:"🍯",description:"honey pot",unicodeVersion:"6.0",digest:"f6eec8c32fbd1b461446dc6c5d5031c43e6ee9685dc9b1ea1b839114e48c4eee"},horse:{category:"nature",moji:"🐴",description:"horse face",unicodeVersion:"6.0",digest:"e377649a9549835770a2a721a92570f699255f88efa646029638eb8ec5f10e3d"},horse_racing:{category:"activity",moji:"🏇",description:"horse racing",unicodeVersion:"6.0",digest:"3b98e94e9c028ad85b9a750cc61db5ee3ac23cf5ad9243ea3e996b1f772bad54"},horse_racing_tone1:{category:"activity",moji:"🏇🏻",description:"horse racing tone 1",unicodeVersion:"8.0",digest:"382d8e4502ed34fc1bbf1779ce483bc2e22b83f89c91746c11a5d7aea656d446"},horse_racing_tone2:{category:"activity",moji:"🏇🏼",description:"horse racing tone 2",unicodeVersion:"8.0",digest:"198df9973b492ea63e5cfc210dd9591750ccce04a6380adc1dc5b4cb0462a8cd"},horse_racing_tone3:{category:"activity",moji:"🏇🏽",description:"horse racing tone 3",unicodeVersion:"8.0",digest:"a67f95fc92c366750ebad3c4db92982893d67a5ed78163c8cc809ac40d2ab9a3"},horse_racing_tone4:{category:"activity",moji:"🏇🏾",description:"horse racing tone 4",unicodeVersion:"8.0",digest:"986b1706c4a3395b58a8ae3b7609ffdd4424dfefcbf26c88c8085f4f6379734e"},horse_racing_tone5:{category:"activity",moji:"🏇🏿",description:"horse racing tone 5",unicodeVersion:"8.0",digest:"66656b5e3d0f43f16f983f9db6214b07aac73b143eeff6475782f98aa5b9ba53"},hospital:{category:"travel",moji:"🏥",description:"hospital",unicodeVersion:"6.0",digest:"034573e76df444f5b0eb7aff3a4103e4b49a1813869155ab3ae29a6fc0c6c8a2"},hot_pepper:{category:"food",moji:"🌶",description:"hot pepper",unicodeVersion:"7.0",digest:"0b05777d42698196a10db17d04030175b1dfa772d06288f71d666d5f8d3fddbc"},hotdog:{category:"food",moji:"🌭",description:"hot dog",unicodeVersion:"8.0",digest:"7a25bbd1a7531fd34a22c654c0931d9e74bea2bbe7baa9f9cbd88f43baa79fb5"},hotel:{category:"travel",moji:"🏨",description:"hotel",unicodeVersion:"6.0",digest:"2d78e0ad4cfb0caad778c7de49fefd6e8356afe902a43e3f1c40bceb6b0be422"},hotsprings:{category:"symbols",moji:"♨",description:"hot springs",unicodeVersion:"1.1",digest:"4c10c3a974b44693e8cbe91365c8b8d7f14f62db234cc516b6e54c08a6bacaed"},hourglass:{category:"objects",moji:"⌛",description:"hourglass",unicodeVersion:"1.1",digest:"f0bae8392aaf6f75a83f5d8914936b8650665b24ba1b232fa546b71545dd9acd"},hourglass_flowing_sand:{category:"objects",moji:"⏳",description:"hourglass with flowing sand",unicodeVersion:"6.0",digest:"2d077729f40fc04007a933e97356bd511cbd8be76b8c55962ca3fa0d8b828e23"},house:{category:"travel",moji:"🏠",description:"house building",unicodeVersion:"6.0",digest:"b4ac25979fbe161ada0d2a75769aa7552d2371d37d78cddba4ffdc7f076d3279"},house_abandoned:{category:"travel",moji:"🏚",description:"derelict house building",unicodeVersion:"7.0",digest:"6e1a58533fbfe88a0eb03668c9f17c5c654a6cc7734ed798d4a885400f823610"},house_with_garden:{category:"travel",moji:"🏡",description:"house with garden",unicodeVersion:"6.0",digest:"817463f23ec0a849393ba75c333e822b4d253cd4db998c127e90d1b924f35d20"},hugging:{category:"people",moji:"🤗",description:"hugging face",unicodeVersion:"8.0",digest:"69810a98b1247e1f1e496aa757e428189ef5cc086764fabd8189cf1eef82234f"},hushed:{category:"people",moji:"😯",description:"hushed face",unicodeVersion:"6.1",digest:"22586107f7399eff64538a52929dade152633aa268fc5ec4e6fe1c0e00a7bd89"},ice_cream:{category:"food",moji:"🍨",description:"ice cream",unicodeVersion:"6.0",digest:"d1a8e685f2ecf83dead28733859e369d6ce120a2669cdab97dc4423547d472ac"},ice_skate:{category:"activity",moji:"⛸",description:"ice skate",unicodeVersion:"5.2",digest:"41ef65c143bc068868fa64080ffd447d91aa3fe2a39e69ecaa97022820af4dcd"},icecream:{category:"food",moji:"🍦",description:"soft ice cream",unicodeVersion:"6.0",digest:"22cfe17b80cbd2a0377ee90da45bd40d33533c914b2639d363fbb1f00714e194"},id:{category:"symbols",moji:"🆔",description:"squared id",unicodeVersion:"6.0",digest:"bcf0922e083821d3be7951893084ea0d72a0110ef0b20d11dfec24dd70633893"},ideograph_advantage:{category:"symbols",moji:"🉐",description:"circled ideograph advantage",unicodeVersion:"6.0",digest:"0b6bf59f63fda1afa92d652814a778a056c3f4abdd9cf3f6796068bd71783051"},imp:{category:"people",moji:"👿",description:"imp",unicodeVersion:"6.0",digest:"52598cf2441988f875ccb4e479637baefc679e3ca64e9a6400e56488b0fde811"},inbox_tray:{category:"objects",moji:"📥",description:"inbox tray",unicodeVersion:"6.0",digest:"d5d9497022b5318fcfbfdfcd56df9c65dd8f4a4cb5e6283ca260836df57da301"},incoming_envelope:{category:"objects",moji:"📨",description:"incoming envelope",unicodeVersion:"6.0",digest:"310b7bdcca93452fe10c72c03d0aafa12b98e5d3408896d275d06d3693812c7a"},information_desk_person:{category:"people",moji:"💁",description:"information desk person",unicodeVersion:"6.0",digest:"9f12a4a58a650e8e1d3836ef857003c3ccd42ad4203a2479eb95100bf6559064"},information_desk_person_tone1:{category:"people",moji:"💁🏻",description:"information desk person tone 1",unicodeVersion:"8.0",digest:"6674f2e059eff7cfd7fd6abc800da37c4f1087feb4ff26c9e4e31aa29fdf9921"},information_desk_person_tone2:{category:"people",moji:"💁🏼",description:"information desk person tone 2",unicodeVersion:"8.0",digest:"9983412ecd130b7e9cfb078167016c06fd043b6f9f3c26d21733ca3f059fd109"},information_desk_person_tone3:{category:"people",moji:"💁🏽",description:"information desk person tone 3",unicodeVersion:"8.0",digest:"d8907bf47af5722127afca8fc0da587eab33044a6c60a94890983deb8d6f7a66"},information_desk_person_tone4:{category:"people",moji:"💁🏾",description:"information desk person tone 4",unicodeVersion:"8.0",digest:"3be086d4edfe9ca8e4a364b4e8d09b81b5b594b5eeb9ffdf6370179fb3118658"},information_desk_person_tone5:{category:"people",moji:"💁🏿",description:"information desk person tone 5",unicodeVersion:"8.0",digest:"2fde4e98dd11c5c29c89cad7cbb7bd2d5077dfad07913b20e01955b2d0dfad40"},information_source:{category:"symbols",moji:"ℹ",description:"information source",unicodeVersion:"3.0",digest:"b6bf3cce86d42c2e3c46470baab4af01e900b8ae337b605c3da07c3eba671269"},innocent:{category:"people",moji:"😇",description:"smiling face with halo",unicodeVersion:"6.0",digest:"20f8d856bc3e46f4b1173cea05d4577e1c61f06b2daba46e57db90f4066bb428"},interrobang:{category:"symbols",moji:"⁉",description:"exclamation question mark",unicodeVersion:"3.0",digest:"92a2d5b4c0bd6714e402f6f12fe19774cb41d081b5e9c23c415ce794224d8117"},iphone:{category:"objects",moji:"📱",description:"mobile phone",unicodeVersion:"6.0",digest:"1ebc54215713cd4bf1c1e50770999f2512bb4fea29e37d0bb3a8aa2460ff875d"},island:{category:"travel",moji:"🏝",description:"desert island",unicodeVersion:"7.0",digest:"7f9eb5c0cd865762f7a0f187e09c1be442de7010e7c2e113d56aae998597c90d"},izakaya_lantern:{category:"objects",moji:"🏮",description:"izakaya lantern",unicodeVersion:"6.0",digest:"fbdc290e666d43d0776a73b955c26df4518692b35e72742e073705fc4ca2ae88"},jack_o_lantern:{category:"nature",moji:"🎃",description:"jack-o-lantern",unicodeVersion:"6.0",digest:"78d666c2e80f64bfb6796f53e5ba4960a83ec36192110e8661031bee2b5e370a"},japan:{category:"travel",moji:"🗾",description:"silhouette of japan",unicodeVersion:"6.0",digest:"e7d9d6ebf9047fdd3c52e074ba259659c6d8e51a6abae3cdb8d6cf6dbf9a93fe"},japanese_castle:{category:"travel",moji:"🏯",description:"japanese castle",unicodeVersion:"6.0",digest:"938ae132c403330288223b88d28c19a47224d4f254fbc2366ecef73d9633112c"},japanese_goblin:{category:"people",moji:"👺",description:"japanese goblin",unicodeVersion:"6.0",digest:"63d4bcf58b9d0c29612994432aad2ae35819fdd2890674e60a2f1d51601b742e"},japanese_ogre:{category:"people",moji:"👹",description:"japanese ogre",unicodeVersion:"6.0",digest:"434ceedd102e7dcbc07e086811673dd63659ddf8c3ec4d029a3d759a0abfcbdb"},jeans:{category:"people",moji:"👖",description:"jeans",unicodeVersion:"6.0",digest:"f986ad32e419cca81c995f8371f0189d1490172a97ebbeac60054a1af08949c5"},joy:{category:"people",moji:"😂",description:"face with tears of joy",unicodeVersion:"6.0",digest:"75d7a05043523d290c46d3b313b19ed3c95271f1110bcf234cf13d4273625b08"},joy_cat:{category:"people",moji:"😹",description:"cat face with tears of joy",unicodeVersion:"6.0",digest:"a65c999604147e5e20170fcb14f80a1ff0a633f991492e1f790b2ad4caec7b7e"},joystick:{category:"objects",moji:"🕹",description:"joystick",unicodeVersion:"7.0",digest:"671ee588f397a96f27056a67e6a06d6e8d22c2109ec57b2859badb5fec9cf8dd"},juggling:{category:"activity",moji:"🤹",description:"juggling",unicodeVersion:"9.0",digest:"1f5dafa78de8b37f3df88fdf3084d2380666bd74ab2f449754d8724f6f8dbfa5"},juggling_tone1:{category:"activity",moji:"🤹🏻",description:"juggling tone 1",unicodeVersion:"9.0",digest:"b0b4d020148c896be69c28b08e3c486f6db270d138c7ccf4be362b29eb99878d"},juggling_tone2:{category:"activity",moji:"🤹🏼",description:"juggling tone 2",unicodeVersion:"9.0",digest:"cfe0c1649b2fdca03673e0e64f3a7d06d4bd49b8954c769aeb7eb88b70ec99f4"},juggling_tone3:{category:"activity",moji:"🤹🏽",description:"juggling tone 3",unicodeVersion:"9.0",digest:"7f87022722008bb265abe245e8157dc7a61944f5da62b3cf86f26ee1b3bdef63"},juggling_tone4:{category:"activity",moji:"🤹🏾",description:"juggling tone 4",unicodeVersion:"9.0",digest:"1f00da8c05582c95501cc6c3fe5ce0f9bfbc16789dcee59844a8fe7831198583"},juggling_tone5:{category:"activity",moji:"🤹🏿",description:"juggling tone 5",unicodeVersion:"9.0",digest:"a195bf734788eb7961c00dbc05255a49da8b9d5042fada29b26cc20393d3ce52"},kaaba:{category:"travel",moji:"🕋",description:"kaaba",unicodeVersion:"8.0",digest:"a4618782f9583f077bd383965f1c91b9985a949bb7b6cec7af22914e7f5e9ab6"},key:{category:"objects",moji:"🔑",description:"key",unicodeVersion:"6.0",digest:"66719fa77a50a0827c8d47237e2704c03e38186e6fef80627a765473b2294c2e"},key2:{category:"objects",moji:"🗝",description:"old key",unicodeVersion:"7.0",digest:"f57240a014a9da5da3d4d98c17d0a55e0ff2e5f2d22731d2fc867105cff54c6e"},keyboard:{category:"objects",moji:"⌨",description:"keyboard",unicodeVersion:"1.1",digest:"34da8ff62ca964142f9281b80123dbba74deaac8d77fa61758c30cfb36c31386"},kimono:{category:"people",moji:"👘",description:"kimono",unicodeVersion:"6.0",digest:"637182590e256c8fb74ce4c0565f5180c07f06e3bdebf30138ed3259b209c27f"},kiss:{category:"people",moji:"💋",description:"kiss mark",unicodeVersion:"6.0",digest:"62f9b9ffcb01558cd5bb829344a1d1d399511663ff5235405c1f786c9416a94d"},kiss_mm:{category:"people",moji:"👨❤️💋👨",description:"kiss (man,man)",unicodeVersion:"6.0",digest:"6b0ae32ecb7ec0f0f43dc7a1350711185cce114c52752395f364ddbfb4f1fff4"},kiss_ww:{category:"people",moji:"👩❤️💋👩",description:"kiss (woman,woman)",unicodeVersion:"6.0",digest:"6de420cf752e706b1b7e9522b1b9be62eda069cb028c8fd587caf39f6a142e6a"},kissing:{category:"people",moji:"😗",description:"kissing face",unicodeVersion:"6.1",digest:"b4a505f9e3d7fbd0ac60111f0e678cf425a5fd1abc65a3e9db59ae4abcfb8e85"},kissing_cat:{category:"people",moji:"😽",description:"kissing cat face with closed eyes",unicodeVersion:"6.0",digest:"a00431bf10601db4998e78433279167e52cbd36aed885399482529d5cdab8636"},kissing_closed_eyes:{category:"people",moji:"😚",description:"kissing face with closed eyes",unicodeVersion:"6.0",digest:"ae474db7daf80fe0b82ae1f2a11672cfcd9f9126e100f6e6d4b8a0d135dce39d"},kissing_heart:{category:"people",moji:"😘",description:"face throwing a kiss",unicodeVersion:"6.0",digest:"bce372573bd3b347b555c1cd22087e03e650df73c8e0284ab668bf6633251632"},kissing_smiling_eyes:{category:"people",moji:"😙",description:"kissing face with smiling eyes",unicodeVersion:"6.1",digest:"f0f8636cb1a02b93cc72ce1b194b890fca823d91e35926b889be3ecfae79207f"},kiwi:{category:"food",moji:"🥝",description:"kiwifruit",unicodeVersion:"9.0",digest:"70a3a05f333d9455d2da12eed970bc3baae416286848fed8e5dd31b5be0819be"},knife:{category:"objects",moji:"🔪",description:"hocho",unicodeVersion:"6.0",digest:"e6189e4843c6e80875b4952fcddb0c858f7c6039b9214bbec6a261a1358425df"},koala:{category:"nature",moji:"🐨",description:"koala",unicodeVersion:"6.0",digest:"c58f7e0abae42c2218a85efed0e04151df67187815bebca7f3db6f435e0dab4d"},koko:{category:"symbols",moji:"🈁",description:"squared katakana koko",unicodeVersion:"6.0",digest:"5f45eb49bbf298e1fadedfe6cccc297850fcaaa4535e4cc911d48d979af55807"},label:{category:"objects",moji:"🏷",description:"label",unicodeVersion:"7.0",digest:"9550ed50cedbc56eb1bd22a8a0809d837048a33d6e2e6e7d65c50d95fa05a85d"},large_blue_circle:{category:"symbols",moji:"🔵",description:"large blue circle",unicodeVersion:"6.0",digest:"0df3fb3b09a6269459a3d9a1fe78db572190a948680844cfe758f53b6a482ff4"},large_blue_diamond:{category:"symbols",moji:"🔷",description:"large blue diamond",unicodeVersion:"6.0",digest:"7f646b4e9de2788ed09e45f72cb512c269dda4989029b39bf9a2556659321651"},large_orange_diamond:{category:"symbols",moji:"🔶",description:"large orange diamond",unicodeVersion:"6.0",digest:"80ae005ef9d79190c777f00de0993f8b3cb783f7051d76e971640c8c0827c338"},last_quarter_moon:{category:"nature",moji:"🌗",description:"last quarter moon symbol",unicodeVersion:"6.0",digest:"3d1f276607c685d50f4b70d00a57750a57ad9ad84256dafd2dc8eef8c72300c3"},last_quarter_moon_with_face:{category:"nature",moji:"🌜",description:"last quarter moon with face",unicodeVersion:"6.0",digest:"d516825ba52dc67f5a01433fb9df2aa77742d38efde4225983ebc4882cbdfe5d"},laughing:{category:"people",moji:"😆",description:"smiling face with open mouth and tightly-closed ey",unicodeVersion:"6.0",digest:"e9ea994b39650740c4961f070ed492d86b3acf6e6a830a6dadaa3a6872e81b81"},leaves:{category:"nature",moji:"🍃",description:"leaf fluttering in wind",unicodeVersion:"6.0",digest:"56a7a0e767a6f214d340d1b5989efd99fec52c6aa306ec5c3328e32234a1631b"},ledger:{category:"objects",moji:"📒",description:"ledger",unicodeVersion:"6.0",digest:"e58cb714353e96a2891a5d97910ff79660e637af909b81c49c919d3735db55b4"},left_facing_fist:{category:"people",moji:"🤛",description:"left-facing fist",unicodeVersion:"9.0",digest:"7861be485beefae0de341df2f21576666e22f63511a033e785752f30c07291da"},left_facing_fist_tone1:{category:"people",moji:"🤛🏻",description:"left facing fist tone 1",unicodeVersion:"9.0",digest:"2e4c4dd96b0e4b46fe0f9ce5666344d266d0f17a8544cbae73d96638d1955296"},left_facing_fist_tone2:{category:"people",moji:"🤛🏼",description:"left facing fist tone 2",unicodeVersion:"9.0",digest:"b96a63a801175ce98a75f0edad7b5574251a3fbbd894d8ab3f21aeeda366cc13"},left_facing_fist_tone3:{category:"people",moji:"🤛🏽",description:"left facing fist tone 3",unicodeVersion:"9.0",digest:"99df84635513c2ebfef24df1bd3705233e02149eef788c7b82ca0548df6f6ea5"},left_facing_fist_tone4:{category:"people",moji:"🤛🏾",description:"left facing fist tone 4",unicodeVersion:"9.0",digest:"68954842ca725aec0aa39bce4aa81aad17ac30f5f298561dfa411feb07414cd3"},left_facing_fist_tone5:{category:"people",moji:"🤛🏿",description:"left facing fist tone 5",unicodeVersion:"9.0",digest:"a419b33fae82612dc860ff48950c0547a1642d4f0c94b6547324440837d3bb21"},left_luggage:{category:"symbols",moji:"🛅",description:"left luggage",unicodeVersion:"6.0",digest:"6625077767a51163ea20cbc299f3c13fd5ccf1b5ce365ee702ef1fef6be3dadf"},left_right_arrow:{category:"symbols",moji:"↔",description:"left right arrow",unicodeVersion:"1.1",digest:"560fcf1b794eb0d5269c73b3f8da57540cbb8a6f1a9af7a9d10b202252247e34"},leftwards_arrow_with_hook:{category:"symbols",moji:"↩",description:"leftwards arrow with hook",unicodeVersion:"1.1",digest:"504714c5559b1bd35aa469be83069a923d1a25f364cac08c10df0195749e7b26"},lemon:{category:"food",moji:"🍋",description:"lemon",unicodeVersion:"6.0",digest:"ccca25bb6ac47770dba3aaf75144128f9a73299061969b25a35ad1733dcde5fe"},leo:{category:"symbols",moji:"♌",description:"leo",unicodeVersion:"1.1",digest:"f2ed930e279699962f189e0cac519cc29d339b3e82debfdc90c5b0935a7543bb"},leopard:{category:"nature",moji:"🐆",description:"leopard",unicodeVersion:"6.0",digest:"d4a8964b6f2cdf6ddf074d0f1f2f65783a1a43eb4af426905fad0e60899939c7"},level_slider:{category:"objects",moji:"🎚",description:"level slider",unicodeVersion:"7.0",digest:"48842324f54d971ebf548a89a82ac7f29e235702081c91b477b1a92d427290e7"},levitate:{category:"activity",moji:"🕴",description:"man in business suit levitating",unicodeVersion:"7.0",digest:"453c24bf2544ed3ef3c710a7fabbd5fdace4dc65cddd377274d30d921523b50b"},libra:{category:"symbols",moji:"♎",description:"libra",unicodeVersion:"1.1",digest:"e330ba05bb449db074bc23d1514246ca5e249110f44ddb5804e5510eef6deac1"},lifter:{category:"activity",moji:"🏋",description:"weight lifter",unicodeVersion:"7.0",digest:"d6c94a32eb863d14a2a01add8ab95040f42a55d9e3f90641a0fe143d58127558"},lifter_tone1:{category:"activity",moji:"🏋🏻",description:"weight lifter tone 1",unicodeVersion:"8.0",digest:"870acf2f554fce360b58d3e98b4c0558d7ec7775587776c0f9d40c6fb1bdacf9"},lifter_tone2:{category:"activity",moji:"🏋🏼",description:"weight lifter tone 2",unicodeVersion:"8.0",digest:"1a7ece8512e42241cdd95c85ccc509bc0ff9c7c6ffaff2be343c77f417a27576"},lifter_tone3:{category:"activity",moji:"🏋🏽",description:"weight lifter tone 3",unicodeVersion:"8.0",digest:"4bc633ee82a0fb59feba379fb6901a489e4ac849d758f9c8e7a1a0a26eaa380c"},lifter_tone4:{category:"activity",moji:"🏋🏾",description:"weight lifter tone 4",unicodeVersion:"8.0",digest:"d086fe5577b5ba80676f2224d886f8ebe4588314f429f12a34c52c971ed71b5c"},lifter_tone5:{category:"activity",moji:"🏋🏿",description:"weight lifter tone 5",unicodeVersion:"8.0",digest:"79b0edf6ce1fd024dd7f458e322ad8588af0b789a04cc1cf38380dc8b9c76f55"},light_rail:{category:"travel",moji:"🚈",description:"light rail",unicodeVersion:"6.0",digest:"2f30b23a738371690b2f00d96ddb5ceb90a1442b5478754626a3dfa263ed2fc1"},link:{category:"objects",moji:"🔗",description:"link symbol",unicodeVersion:"6.0",digest:"7bf567aabd1fc38b3d70422f9db3a13b50950cf6207e70962c9938827c196ccb"},lion_face:{category:"nature",moji:"🦁",description:"lion face",unicodeVersion:"8.0",digest:"dd24f2668e973ec973e97dc111f59a2cc14e9b608387401191dd53368d28d4fa"},lips:{category:"people",moji:"👄",description:"mouth",unicodeVersion:"6.0",digest:"8740d8086525c7a836d64625a6915cc1c59af69ba143456dbb59e0179276895e"},lipstick:{category:"people",moji:"💄",description:"lipstick",unicodeVersion:"6.0",digest:"751dcb22706a796033b13a2ccb94304236ec13207ad4d011e02d230ae33ab5c1"},lizard:{category:"nature",moji:"🦎",description:"lizard",unicodeVersion:"9.0",digest:"fb9191f9eab58b8403d4c4626ccbb14ba05c1f6944011751a8edcc4dd03c66e6"},lock:{category:"objects",moji:"🔒",description:"lock",unicodeVersion:"6.0",digest:"043b4fc0b8c79d47a07d91308e628e1ac262aea6c1ec05e6b84bf7bcdf89dc83"},lock_with_ink_pen:{category:"objects",moji:"🔏",description:"lock with ink pen",unicodeVersion:"6.0",digest:"7b5e959b26cf7296c7b230fc2be9feb9e38391c5001951a019d16b169a71aba9"},lollipop:{category:"food",moji:"🍭",description:"lollipop",unicodeVersion:"6.0",digest:"17b6a0df47ec758a2f9c087b46a6902cee344d39407ef4c321e408505cbb72ca"},loop:{category:"symbols",moji:"➿",description:"double curly loop",unicodeVersion:"6.0",digest:"9f20ecc34b3c871789ba7d0712aa31e7a74b6c1558ac8bea385bc40590056726"},loud_sound:{category:"symbols",moji:"🔊",description:"speaker with three sound waves",unicodeVersion:"6.0",digest:"64b12db9ddd8adf74a9fc2bd83c7979ea865113347f7ce8666e9ccf5019e715f"},loudspeaker:{category:"symbols",moji:"📢",description:"public address loudspeaker",unicodeVersion:"6.0",digest:"1e1f35d16dd2898ebaa6f2b2868203df6e09c8a70df069c92d6d1b5cb2ac0976"},love_hotel:{category:"travel",moji:"🏩",description:"love hotel",unicodeVersion:"6.0",digest:"ff8966a50fd47a216855488eb09a367d231fea21f49e7e5325191d32fb494473"},love_letter:{category:"objects",moji:"💌",description:"love letter",unicodeVersion:"6.0",digest:"037261c8ca4d72f7205e51664591696da2ae7ceb19f1c1c9f6123da5a5979d29"},low_brightness:{category:"symbols",moji:"🔅",description:"low brightness symbol",unicodeVersion:"6.0",digest:"a065d00a416e297c168b0a675cafcf492fedf94865cb21801a1be5a3914593d4"},lying_face:{category:"people",moji:"🤥",description:"lying face",unicodeVersion:"9.0",digest:"ce836170165e1b70938273f289c02c2106873cd9ab5472dbcd487c2f9f53f13d"},m:{category:"symbols",moji:"Ⓜ",description:"circled latin capital letter m",unicodeVersion:"1.1",digest:"54588ac2b7fcd53a96f17124e9de69b617613fcd5af9ad2930a094cb795bb9f4"},mag:{category:"objects",moji:"🔍",description:"left-pointing magnifying glass",unicodeVersion:"6.0",digest:"a6e31a2efa7d9427aaa30b45d9f4181ee55c44be08aea2df165a86e0e6d9eaa1"},mag_right:{category:"objects",moji:"🔎",description:"right-pointing magnifying glass",unicodeVersion:"6.0",digest:"c7d8ceeb05db261e5eaab31dc4da432d0d5592a2ed71e526c5a542daa230bbaf"},mahjong:{category:"symbols",moji:"🀄",description:"mahjong tile red dragon",unicodeVersion:"5.1",digest:"755d69f988434ce1c17531a8b7ac92ead6f5607c2635a22f10e0ad70f09fc3e6"},mailbox:{category:"objects",moji:"📫",description:"closed mailbox with raised flag",unicodeVersion:"6.0",digest:"2069091be90a530a43ef29d5ec7688c351bf4d5b08d63a0d20d72b67d639ec62"},mailbox_closed:{category:"objects",moji:"📪",description:"closed mailbox with lowered flag",unicodeVersion:"6.0",digest:"d88d65bfebb8216535fd055c69f319564b2cf0b0901820f8312f581864557ed4"},mailbox_with_mail:{category:"objects",moji:"📬",description:"open mailbox with raised flag",unicodeVersion:"6.0",digest:"69e966b4659128991a70c6a2dd4d647551bedb91bdf5ce688958686bbec56381"},mailbox_with_no_mail:{category:"objects",moji:"📭",description:"open mailbox with lowered flag",unicodeVersion:"6.0",digest:"9e92d8ee88f660ce56da61077c80ec26c5d8f54ebd2306c4cfa16f6c1b981f83"},man:{category:"people",moji:"👨",description:"man",unicodeVersion:"6.0",digest:"42b882d2c6aa095f1afcf901203838d95c1908bdc725519779186b9c33c728d7"},man_dancing:{category:"people",moji:"🕺",description:"man dancing",unicodeVersion:"9.0",digest:"9f632ee0c886d5f03c61e5f3a27668262c0cc2693b857a91c23c1e5ea3785b9e"},man_dancing_tone1:{category:"activity",moji:"🕺🏻",description:"man dancing tone 1",unicodeVersion:"9.0",digest:"6c56a16cb105bcdd97472645b3a351cebdbb1132cbfd18b0118f289db5fbe741"},man_dancing_tone2:{category:"activity",moji:"🕺🏼",description:"man dancing tone 2",unicodeVersion:"9.0",digest:"ed7e78c14d205a03fdd5581e5213add69a55e13b4cbaf76a6d5a0d6c80f53327"},man_dancing_tone3:{category:"activity",moji:"🕺🏽",description:"man dancing tone 3",unicodeVersion:"9.0",digest:"13b45403e11800163406206eedeb8b579cc83eca2f60246be97e099164387bc8"},man_dancing_tone4:{category:"activity",moji:"🕺🏾",description:"man dancing tone 4",unicodeVersion:"9.0",digest:"f6feb1b0b83565fadcdd1a8737d3daa08893e919547d2a06de899160162d9c4a"},man_dancing_tone5:{category:"activity",moji:"🕺🏿",description:"man dancing tone 5",unicodeVersion:"9.0",digest:"fe20a9ed9ba991653b4d0683de347ed7c226a5d75610307584a2ddd6fcd1e3f2"},man_in_tuxedo:{category:"people",moji:"🤵",description:"man in tuxedo",unicodeVersion:"9.0",digest:"4d451a971dfefedc4830ba78e19b123f250e09ae65baddccdc56c0f8aa3a9b50"},man_in_tuxedo_tone1:{category:"people",moji:"🤵🏻",description:"man in tuxedo tone 1",unicodeVersion:"9.0",digest:"2814833334fb211ae2ecb1fb5964e9752282d0fb4d7f3477de5dd2a4f812a793"},man_in_tuxedo_tone2:{category:"people",moji:"🤵🏼",description:"man in tuxedo tone 2",unicodeVersion:"9.0",digest:"cd1bab9ee0e2335d3cd99d51216cccdc4fc3c2cf20129b8b7e11a51a77258f68"},man_in_tuxedo_tone3:{category:"people",moji:"🤵🏽",description:"man in tuxedo tone 3",unicodeVersion:"9.0",digest:"f387775f925fe60b9f3e7cad63a55d4d196ddd41658029a70440d14c17cb99f9"},man_in_tuxedo_tone4:{category:"people",moji:"🤵🏾",description:"man in tuxedo tone 4",unicodeVersion:"9.0",digest:"08debd7a573d1201aee8a2f281ef7cb638d4a2a096222150391f36963f07c622"},man_in_tuxedo_tone5:{category:"people",moji:"🤵🏿",description:"man in tuxedo tone 5",unicodeVersion:"9.0",digest:"e3b10e0619f0911cf9b665a265f4ef829b8f6ba6e9c3a021d0539a27e315f8fe"},man_tone1:{category:"people",moji:"👨🏻",description:"man tone 1",unicodeVersion:"8.0",digest:"7053e265fa7d2594de54a6c5d06c21795b9a7dfb36a1c5594ca43c4c6cc56504"},man_tone2:{category:"people",moji:"👨🏼",description:"man tone 2",unicodeVersion:"8.0",digest:"7ebc64de40d3ac60fb761be5cf94f53fa10b4f03fb66add46c90f5d98eaf71eb"},man_tone3:{category:"people",moji:"👨🏽",description:"man tone 3",unicodeVersion:"8.0",digest:"77ceef4d3740ed4751acb83dd45b6b754cf625c522c6757309cd4d61202d7149"},man_tone4:{category:"people",moji:"👨🏾",description:"man tone 4",unicodeVersion:"8.0",digest:"41e6037c393f61cca61b9a81b27ed14a95d75fe380e3a00153c33a371a836ffd"},man_tone5:{category:"people",moji:"👨🏿",description:"man tone 5",unicodeVersion:"8.0",digest:"a8cebfd39a5b9c79af7cc37f205e1135376056fee287af967c9f55d415572d99"},man_with_gua_pi_mao:{category:"people",moji:"👲",description:"man with gua pi mao",unicodeVersion:"6.0",digest:"3dae285e900c69986a48db0fa89d4f371a49f38608059cdae52be098030c5ac4"},man_with_gua_pi_mao_tone1:{category:"people",moji:"👲🏻",description:"man with gua pi mao tone 1",unicodeVersion:"8.0",digest:"35404d8e266920c78edd9e7143fb052b42f65242a5698494c4f4365e9183cc67"},man_with_gua_pi_mao_tone2:{category:"people",moji:"👲🏼",description:"man with gua pi mao tone 2",unicodeVersion:"8.0",digest:"82d4f968665a93c7543372c8a1eeb0f25d0ea6842d5e518bd91c226c6c3ab8c2"},man_with_gua_pi_mao_tone3:{category:"people",moji:"👲🏽",description:"man with gua pi mao tone 3",unicodeVersion:"8.0",digest:"f44159f0c672b9b833449382896180e799abf574f5b3c6cd9541caa992fa18ce"},man_with_gua_pi_mao_tone4:{category:"people",moji:"👲🏾",description:"man with gua pi mao tone 4",unicodeVersion:"8.0",digest:"c79060188f9461ca34eaa225b7682d8c410883609509fb731c992db69bfeeb50"},man_with_gua_pi_mao_tone5:{category:"people",moji:"👲🏿",description:"man with gua pi mao tone 5",unicodeVersion:"8.0",digest:"de9e4acdb10f7abddeeabc0b48d91139fc8b544a601c530db811f099991b0d38"},man_with_turban:{category:"people",moji:"👳",description:"man with turban",unicodeVersion:"6.0",digest:"db72c944e93983f38d00e3e936ebb5b243c6069f1f1236d46f6a9f1beb8d6634"},man_with_turban_tone1:{category:"people",moji:"👳🏻",description:"man with turban tone 1",unicodeVersion:"8.0",digest:"b6d7489c4cd151af09fff48b62c54c336303e14866e6ef38f94cd834b085d09e"},man_with_turban_tone2:{category:"people",moji:"👳🏼",description:"man with turban tone 2",unicodeVersion:"8.0",digest:"7854ef973c21847f452d7e78e5c460ea300e12b539ce92c69dabe8f1bf3a4382"},man_with_turban_tone3:{category:"people",moji:"👳🏽",description:"man with turban tone 3",unicodeVersion:"8.0",digest:"1dbd9bd78f5263cbadee7d0d5754c14cfbc914f7329e25fbd97d9f5b8ce0737e"},man_with_turban_tone4:{category:"people",moji:"👳🏾",description:"man with turban tone 4",unicodeVersion:"8.0",digest:"4f4804da4a7c98ad4f9db3ae3eaf674c8977c638e73414e33ef1f65098e413a3"},man_with_turban_tone5:{category:"people",moji:"👳🏿",description:"man with turban tone 5",unicodeVersion:"8.0",digest:"240282aa346ef9b1d0d475ea93a02597697f0f56f086305879b532b0b933210a"},mans_shoe:{category:"people",moji:"👞",description:"mans shoe",unicodeVersion:"6.0",digest:"f53fe74abd9906cd3e2dd7e7bddbe1feb9f8f7be28b807fabe452f1f60ca1b84"},map:{category:"objects",moji:"🗺",description:"world map",unicodeVersion:"7.0",digest:"84f496a062b5c3ae1e8013506175a69036038c8130891bcf780a69ce7fcbe4de"},maple_leaf:{category:"nature",moji:"🍁",description:"maple leaf",unicodeVersion:"6.0",digest:"72629a205e33f89337815ad7e51bb5c73947d1a9f98afe5072bdf4846827ae72"},martial_arts_uniform:{category:"activity",moji:"🥋",description:"martial arts uniform",unicodeVersion:"9.0",digest:"a1ae797b31081425b388ab31efc635d8eb73a40980fd0fae4708aa5313e2a964"},mask:{category:"people",moji:"😷",description:"face with medical mask",unicodeVersion:"6.0",digest:"1b58af9ae599308aabf41bbd38f599fa896bd9fe5df7a40be9f2dc7e0e230600"},massage:{category:"people",moji:"💆",description:"face massage",unicodeVersion:"6.0",digest:"6ee48b4d8cec0bf31e11d7803ad9fc1f909457c8c00cb320b5671395af3c170c"},massage_tone1:{category:"people",moji:"💆🏻",description:"face massage tone 1",unicodeVersion:"8.0",digest:"9da162c2f39628156b87db986a6ada59372a9e9a6b3f0488d21c9e65ec3309bb"},massage_tone2:{category:"people",moji:"💆🏼",description:"face massage tone 2",unicodeVersion:"8.0",digest:"ac259188549b5b429b8c4929e1da2314859e8857ee49720551467aedfcc96567"},massage_tone3:{category:"people",moji:"💆🏽",description:"face massage tone 3",unicodeVersion:"8.0",digest:"cfd9c105b6debc10448f172afcb20d4192899f7ae5aa8af54c834153a5466364"},massage_tone4:{category:"people",moji:"💆🏾",description:"face massage tone 4",unicodeVersion:"8.0",digest:"38ab715c621c58454f3cb09153a96380118cf082568554b6edc5f83fb62e9297"},massage_tone5:{category:"people",moji:"💆🏿",description:"face massage tone 5",unicodeVersion:"8.0",digest:"32480457734121b0c83e9be6d693ae379c95535f43f963c0c2f0f20434ee12c6"},meat_on_bone:{category:"food",moji:"🍖",description:"meat on bone",unicodeVersion:"6.0",digest:"d71a8e0b118d5e6ca60690793ce9649afb78e707fcbd7be890a75564c94434fd"},medal:{category:"activity",moji:"🏅",description:"sports medal",unicodeVersion:"7.0",digest:"9600cbe57e08da090c60629bcafd2821c87322e738c2454f8e883ceb756e7391"},mega:{category:"symbols",moji:"📣",description:"cheering megaphone",unicodeVersion:"6.0",digest:"4b1def6b5b051c5045514063f0ac006222ad81fbfe56d840e14bb950713e331b"},melon:{category:"food",moji:"🍈",description:"melon",unicodeVersion:"6.0",digest:"0cdd663e6f2129808856cdf0746e6571b62aac641f224adb553baf3bb63ba3bd"},menorah:{category:"symbols",moji:"🕎",description:"menorah with nine branches",unicodeVersion:"8.0",digest:"49fca8c3bc00ea69653ee2f8d4e21e561856ba39716c13e9d107db3e805a2997"},mens:{category:"symbols",moji:"🚹",description:"mens symbol",unicodeVersion:"6.0",digest:"7d92292586ee12a5d1a557c37da4d14708dc3ce701cf32d3280dcc83d91e5df8"},metal:{category:"people",moji:"🤘",description:"sign of the horns",unicodeVersion:"8.0",digest:"ffb750caf187f5d821c990108e2699ac3e216492bcff6ee543f4a7aa55b9fd29"},metal_tone1:{category:"people",moji:"🤘🏻",description:"sign of the horns tone 1",unicodeVersion:"8.0",digest:"5505f0b0340f9ba572db8897e40adf598cfa784686ad5ee360a7351bf44ddc1d"},metal_tone2:{category:"people",moji:"🤘🏼",description:"sign of the horns tone 2",unicodeVersion:"8.0",digest:"8f9eee3ad5fc7eeeb30118d16d27467b16fd87297e0ecf02656db77e701f5aeb"},metal_tone3:{category:"people",moji:"🤘🏽",description:"sign of the horns tone 3",unicodeVersion:"8.0",digest:"8270a7ecf5eb11431a07ef04cc476c2651ac8aacb0d4768e5cb69355f8a5e84e"},metal_tone4:{category:"people",moji:"🤘🏾",description:"sign of the horns tone 4",unicodeVersion:"8.0",digest:"f24f7b137dd6c7899dc0a8794204bbde7ad43ec1e63b419c90dd70a8b77871e8"},metal_tone5:{category:"people",moji:"🤘🏿",description:"sign of the horns tone 5",unicodeVersion:"8.0",digest:"07b0726a632653b980df775f460cd3fe1ea8d4a7b0b46fe29e089b66579482d2"},metro:{category:"travel",moji:"🚇",description:"metro",unicodeVersion:"6.0",digest:"b380247b61b5e2ca1b9b70fabff65907b2c3a5191a14b169ae094af94659b9b1"},microphone:{category:"activity",moji:"🎤",description:"microphone",unicodeVersion:"6.0",digest:"9ef4fc2e40d5391c4bb2d30f34f59662cff7cbb1b04341c9dac210d0e21b44ae"},microphone2:{category:"objects",moji:"🎙",description:"studio microphone",unicodeVersion:"7.0",digest:"8a30464d51f7f101335778444c43270ac0679900f49463e6556682d9db1cb4dc"},microscope:{category:"objects",moji:"🔬",description:"microscope",unicodeVersion:"6.0",digest:"4ca4322c6ba99b8c15acdb8b605f84f87398769e504b262b134c1f3868b2692f"},middle_finger:{category:"people",moji:"🖕",description:"reversed hand with middle finger extended",unicodeVersion:"7.0",digest:"0c3f1cc0ec7323f6d19508ad22fa90050845f7b5cc83f599ab2cacb89cf5dd0e"},middle_finger_tone1:{category:"people",moji:"🖕🏻",description:"reversed hand with middle finger extended tone 1",unicodeVersion:"8.0",digest:"4ebecf1058a3059aaa826eaad39c1a791120f115f65dde6d6ae32fc5561f60f7"},middle_finger_tone2:{category:"people",moji:"🖕🏼",description:"reversed hand with middle finger extended tone 2",unicodeVersion:"8.0",digest:"85ff506a08c38663c2dfa2e3a90584c02a36aa3dda33af47cdb49834bf9baf83"},middle_finger_tone3:{category:"people",moji:"🖕🏽",description:"reversed hand with middle finger extended tone 3",unicodeVersion:"8.0",digest:"cac697ff5207bf8a4e091912f3127f4e73c88ef69b5c6561d1d7b12ed60be8f1"},middle_finger_tone4:{category:"people",moji:"🖕🏾",description:"reversed hand with middle finger extended tone 4",unicodeVersion:"8.0",digest:"9324a5a4e3986b798ad8c61f31c18fb507ca7a4abfd6e9ae1408b80b185bf8c7"},middle_finger_tone5:{category:"people",moji:"🖕🏿",description:"reversed hand with middle finger extended tone 5",unicodeVersion:"8.0",digest:"078f917cd4d8be08a880724e9400449980d92740ccbee4a57f5046a9cf7f6575"},military_medal:{category:"activity",moji:"🎖",description:"military medal",unicodeVersion:"7.0",digest:"5da18351dc14b66cfc070148c83b7c8e67e6b1e3f515ae501133c38ee5c28d3d"},milk:{category:"food",moji:"🥛",description:"glass of milk",unicodeVersion:"9.0",digest:"38b28ea40399601fabc95bac5eaaf5a9e4e25548ec80325bd5069395ea884f85"},milky_way:{category:"travel",moji:"🌌",description:"milky way",unicodeVersion:"6.0",digest:"17405ff31d94b13a1fb0adcda204b8adb95ca340bc3980d9ad9f42ba1e366e7d"},minibus:{category:"travel",moji:"🚐",description:"minibus",unicodeVersion:"6.0",digest:"08ccb4b1bf397b7c9aed901e2b5dcdd6cb8ca5c5487ef26775bb3120f7b92524"},minidisc:{category:"objects",moji:"💽",description:"minidisc",unicodeVersion:"6.0",digest:"bebf82c0b91ef66321e7ae7a0abf322e59b2f7d8e6fbf9a94243210c00229c59"},mobile_phone_off:{category:"symbols",moji:"📴",description:"mobile phone off",unicodeVersion:"6.0",digest:"6f9d8d6a32fc998f5d8144a5ff7e2ad00de37ad464cd97285e7c72efb09a1feb"},money_mouth:{category:"people",moji:"🤑",description:"money-mouth face",unicodeVersion:"8.0",digest:"5a43973dadf48a89201b1816fea9972c5cfe501a26fe457b6f7eee0a6362018e"},money_with_wings:{category:"objects",moji:"💸",description:"money with wings",unicodeVersion:"6.0",digest:"15fcf0595021374ba091ca00efdb4167770da4d421eab930964108545f4edab9"},moneybag:{category:"objects",moji:"💰",description:"money bag",unicodeVersion:"6.0",digest:"02d708e2f603b0df6f6c169b5c49b3452e1c02e7d72e96f228b73d0b0a20bff4"},monkey:{category:"nature",moji:"🐒",description:"monkey",unicodeVersion:"6.0",digest:"3588a544d6d9e9995b45d60327a1a42002fa1faa4d48224b140facd249af1c67"},monkey_face:{category:"nature",moji:"🐵",description:"monkey face",unicodeVersion:"6.0",digest:"9e263ef5ca42bb76d1b1d1e3cbf020bcf05023a6e9f91301d30c9eb406363a2a"},monorail:{category:"travel",moji:"🚝",description:"monorail",unicodeVersion:"6.0",digest:"2c9f185babcb4001fcef2b8dfc4a32126729843084d0076c3e3ccdc845ab23ad"},mortar_board:{category:"people",moji:"🎓",description:"graduation cap",unicodeVersion:"6.0",digest:"d7fbe41d4b340d3564e484aec46a22c9613521414b2ba6eece2180db4d23e410"},mosque:{category:"travel",moji:"🕌",description:"mosque",unicodeVersion:"8.0",digest:"5f3d3de7feac953a70a318113531c2857d760a516c3d8d6f42d2a3b3b67ed196"},motor_scooter:{category:"travel",moji:"🛵",description:"motor scooter",unicodeVersion:"9.0",digest:"e2dc7c981744a71f46858bd0858ff91af704ac06425ed80377bc3b119e57c872"},motorboat:{category:"travel",moji:"🛥",description:"motorboat",unicodeVersion:"7.0",digest:"81c156643528c5a94a12d6d478e52a019f5a4e3eb58ee365cdd9d2361a7fdb01"},motorcycle:{category:"travel",moji:"🏍",description:"racing motorcycle",unicodeVersion:"7.0",digest:"354aa8157732184ad50eff9330f7a8915309dc9b7893cc308226adb429311a62"},motorway:{category:"travel",moji:"🛣",description:"motorway",unicodeVersion:"7.0",digest:"148c3c13c7c4565453d16e504e0d4b8d007e4f2cad1ab56b1b51fefe39162d17"},mount_fuji:{category:"travel",moji:"🗻",description:"mount fuji",unicodeVersion:"6.0",digest:"f8093b9dba62b22c6c88f137be88b2fd3971c560714db15ec053cf697a3820bc"},mountain:{category:"travel",moji:"⛰",description:"mountain",unicodeVersion:"5.2",digest:"07423804ad79da68f140948d29df193f5d5343b7b2c23758c086697c4d3a50da"},mountain_bicyclist:{category:"activity",moji:"🚵",description:"mountain bicyclist",unicodeVersion:"6.0",digest:"91084b6c887cb7e34f3d7ec30656ecb82c36cc987f53a6c83ccb4c6f7950f96a"},mountain_bicyclist_tone1:{category:"activity",moji:"🚵🏻",description:"mountain bicyclist tone 1",unicodeVersion:"8.0",digest:"5d57fcfad61bca26c3e8965eb57602a1993a3117ebdda0f24569af730310ab6e"},mountain_bicyclist_tone2:{category:"activity",moji:"🚵🏼",description:"mountain bicyclist tone 2",unicodeVersion:"8.0",digest:"c0da7fb85d99aa01a665f64063cd7e2d994f8a16d3f6fbf52df5d471e771a98a"},mountain_bicyclist_tone3:{category:"activity",moji:"🚵🏽",description:"mountain bicyclist tone 3",unicodeVersion:"8.0",digest:"b099e7ee84eae44ebc99023fa06bdf37ffa0d69767c7c0163a89f7ced2a26765"},mountain_bicyclist_tone4:{category:"activity",moji:"🚵🏾",description:"mountain bicyclist tone 4",unicodeVersion:"8.0",digest:"9d09f7b3899ea44e736f237a161ef8d5170dccfa162a872c59532ceaf65ee007"},mountain_bicyclist_tone5:{category:"activity",moji:"🚵🏿",description:"mountain bicyclist tone 5",unicodeVersion:"8.0",digest:"71e374981d955056748a60c6d1820b45e9688a156b55318b4ea54a3a67ca801c"},mountain_cableway:{category:"travel",moji:"🚠",description:"mountain cableway",unicodeVersion:"6.0",digest:"e261c3292758b1c0063c5a0d0c7f5c9803306d2265e08677027e1210506ced94"},mountain_railway:{category:"travel",moji:"🚞",description:"mountain railway",unicodeVersion:"6.0",digest:"b0987f8f391b3cbc7a56b9b8945ebfca240e01d12f8fd163877ebebe51d6b277"},mountain_snow:{category:"travel",moji:"🏔",description:"snow capped mountain",unicodeVersion:"7.0",digest:"49aac2b851aa6f2bd2ca641efa8060f93e89395357f49d211658d46f5a2b0189"},mouse:{category:"nature",moji:"🐭",description:"mouse face",unicodeVersion:"6.0",digest:"007dd108507b45224f7a1fad3c1de6ecc75f38d71fc142744611eb13555f5eff"},mouse2:{category:"nature",moji:"🐁",description:"mouse",unicodeVersion:"6.0",digest:"f3ed37b639b7c16aae49502bd423f9fdeabaf15bc6f0f74063954b189e176b5d"},mouse_three_button:{category:"objects",moji:"🖱",description:"three button mouse",unicodeVersion:"7.0",digest:"3724341ac5ad0d01027ef1575db64f1db7619f590ca6ada960d1f2c18dc7fc6a"},movie_camera:{category:"objects",moji:"🎥",description:"movie camera",unicodeVersion:"6.0",digest:"f7e285eda35b4431c07951e071643ddc34147cd76640e0d516fbfd11208346e9"},moyai:{category:"objects",moji:"🗿",description:"moyai",unicodeVersion:"6.0",digest:"2c1d0662c95928936e6b9ab5a40c6110ff1cea5339f2803c7b63aabc76115afb"},mrs_claus:{category:"people",moji:"🤶",description:"mother christmas",unicodeVersion:"9.0",digest:"357d769371305a8584f46d6087a962d647b6af22fab363a44702f38ab7814091"},mrs_claus_tone1:{category:"people",moji:"🤶🏻",description:"mother christmas tone 1",unicodeVersion:"9.0",digest:"244596919e0fed050203cf9e040899de323d7821235929f175852439927bd129"},mrs_claus_tone2:{category:"people",moji:"🤶🏼",description:"mother christmas tone 2",unicodeVersion:"9.0",digest:"8cde96e8521f3a90262a7f5f8a2989a9590d9a02cda2c37e92335dc05975c18d"},mrs_claus_tone3:{category:"people",moji:"🤶🏽",description:"mother christmas tone 3",unicodeVersion:"9.0",digest:"c39cd4346d4581799dd0e9a6447c91a954a75747bf2682c8e4d79c3b0fcf7405"},mrs_claus_tone4:{category:"people",moji:"🤶🏾",description:"mother christmas tone 4",unicodeVersion:"9.0",digest:"84c85cf54559ea2d78d196fee96149a249af4f959b78e223a0ec4fb72abdbcab"},mrs_claus_tone5:{category:"people",moji:"🤶🏿",description:"mother christmas tone 5",unicodeVersion:"9.0",digest:"ce26c0e0645713b17e7497d9f2d0484cc5477564dae99320cabf04d160d3b2ff"},muscle:{category:"people",moji:"💪",description:"flexed biceps",unicodeVersion:"6.0",digest:"e4ce52757b2b7982e2516e0e8bf2e2253617cc9f3e6178f1887c61c9039461ba"},muscle_tone1:{category:"people",moji:"💪🏻",description:"flexed biceps tone 1",unicodeVersion:"8.0",digest:"4a2fa226a05bb847b62cdd163eb6c2d514d3c2330a727991cf550c0d32b0e818"},muscle_tone2:{category:"people",moji:"💪🏼",description:"flexed biceps tone 2",unicodeVersion:"8.0",digest:"a8d5ecce335c782ca5f5e55763c06cfefa1c16c24cd6602237cf125d4ff95e47"},muscle_tone3:{category:"people",moji:"💪🏽",description:"flexed biceps tone 3",unicodeVersion:"8.0",digest:"070354b443faec3969663b770545fc4cf5ec75148557b2b9d6fc82ab22b43bd1"},muscle_tone4:{category:"people",moji:"💪🏾",description:"flexed biceps tone 4",unicodeVersion:"8.0",digest:"8eafcdb6a607aeafa673c257df0d2a1b20f00fc0868d811babcbe784490a0dd3"},muscle_tone5:{category:"people",moji:"💪🏿",description:"flexed biceps tone 5",unicodeVersion:"8.0",digest:"85a1e2b5c89907694240e9c5b9d876a741fa7ba38918c5718273e289cbc40efe"},mushroom:{category:"nature",moji:"🍄",description:"mushroom",unicodeVersion:"6.0",digest:"aaca8cf7c5cfa4487b5fef365a231f98be4bbf041197fc022161bcc8ce6f57c8"},musical_keyboard:{category:"activity",moji:"🎹",description:"musical keyboard",unicodeVersion:"6.0",digest:"fb0a726728900377d76d94aac9c94dce29107e8e3f1dcb0599d95bce7169b492"},musical_note:{category:"symbols",moji:"🎵",description:"musical note",unicodeVersion:"6.0",digest:"41288e79b4070bb980281d0e0d1c14d8b144b4aedb2eaadb9f2bebcb4ef892b4"},musical_score:{category:"activity",moji:"🎼",description:"musical score",unicodeVersion:"6.0",digest:"f0f91b9fa4a2bff7a5a1a11afa6f31cfe7e5fa8b0d6f3cce904b781a28ed0277"},mute:{category:"symbols",moji:"🔇",description:"speaker with cancellation stroke",unicodeVersion:"6.0",digest:"def277da49d744b55c7cdde269a15aa05315898f615e721ee7e9205d7b8030d6"},nail_care:{category:"people",moji:"💅",description:"nail polish",unicodeVersion:"6.0",digest:"48b33b1dbbd25b4f34ab2ca07bb99ddaaaa741990142c5623310f76b78c076f9"},nail_care_tone1:{category:"people",moji:"💅🏻",description:"nail polish tone 1",unicodeVersion:"8.0",digest:"a9ac92a34f407e7dd7c71377e6275e66657f7f42e4b911c540d1a66a02d92ac5"},nail_care_tone2:{category:"people",moji:"💅🏼",description:"nail polish tone 2",unicodeVersion:"8.0",digest:"f295ec85980aaa75818fad619c3d25042146ecbbf361db9e9bb96e7bc202bc73"},nail_care_tone3:{category:"people",moji:"💅🏽",description:"nail polish tone 3",unicodeVersion:"8.0",digest:"02ec373052a250977298bae85262177910126cc10de9480f1afa328ac2f65a95"},nail_care_tone4:{category:"people",moji:"💅🏾",description:"nail polish tone 4",unicodeVersion:"8.0",digest:"f3d95390ab59caedfda66122bbd0acf3aabedc142fc48352d68900766a7e6f5c"},nail_care_tone5:{category:"people",moji:"💅🏿",description:"nail polish tone 5",unicodeVersion:"8.0",digest:"009423c97f2aafd24fb8c7c485c58b30bbf9ae6797cc14b80d472b207327b518"},name_badge:{category:"symbols",moji:"📛",description:"name badge",unicodeVersion:"6.0",digest:"f9f6a4895ff0be8fb2ccc7ad195b94e9650f742f66ead999e90724cfb77af628"},nauseated_face:{category:"people",moji:"🤢",description:"nauseated face",unicodeVersion:"9.0",digest:"f8471cf4720948d8246ec9d30e29783e819f90e3cfe8b1ba628671a1aad1a91c"},necktie:{category:"people",moji:"👔",description:"necktie",unicodeVersion:"6.0",digest:"01bb18dc8bfe787daa9613b5d09988cd5a065449ef906099ce3cb308c8a7da68"},negative_squared_cross_mark:{category:"symbols",moji:"❎",description:"negative squared cross mark",unicodeVersion:"6.0",digest:"1cdaf4abc9adafa089c91c2e33a24e9e647aea0f857e767941a899a16ec53b74"},nerd:{category:"people",moji:"🤓",description:"nerd face",unicodeVersion:"8.0",digest:"9e5f3c93db25cf1d0f9d6e6bd2993161afec6c30573ba3fe85e13b8c84483d66"},neutral_face:{category:"people",moji:"😐",description:"neutral face",unicodeVersion:"6.0",digest:"7449430a60619956573e9dc80834045296f2b99853737b6c7794c785ff53d64e"},new:{category:"symbols",moji:"🆕",description:"squared new",unicodeVersion:"6.0",digest:"e20bc3e9f40726afd0cfb7268d02f1e1a07343364fd08b252d59f38de067bf06"},new_moon:{category:"nature",moji:"🌑",description:"new moon symbol",unicodeVersion:"6.0",digest:"dbfc5dcae34b45f15ff767e297cba3a12cb83f3b542db8cfc8dbd9669e0df46c"},new_moon_with_face:{category:"nature",moji:"🌚",description:"new moon with face",unicodeVersion:"6.0",digest:"c66d347d2222ac8d77d323a07699aff6b168328648db4f885b1ed0e2831fd59b"},newspaper:{category:"objects",moji:"📰",description:"newspaper",unicodeVersion:"6.0",digest:"c05e986d9cdac11afa30c6a21a72572ddf50fc64e87ae0c4e0ad57ffe70acc5c"},newspaper2:{category:"objects",moji:"🗞",description:"rolled-up newspaper",unicodeVersion:"7.0",digest:"63db7bcf51effc73e5124392740736383774a4bcfbc1156cf55599504760883d"},ng:{category:"symbols",moji:"🆖",description:"squared ng",unicodeVersion:"6.0",digest:"34d5a11c70f48ea719e602908534f446b192622e775d4160f0e1ec52c342a35c"},night_with_stars:{category:"travel",moji:"🌃",description:"night with stars",unicodeVersion:"6.0",digest:"39d9c079be80ee6ce1667531be528a2aa7f8bd46c7b6c2a6ee279d9a207c84a4"},nine:{category:"symbols",moji:"9️⃣",description:"keycap digit nine",unicodeVersion:"3.0",digest:"8bb40750eda8506ef877c9a3b8e2039d26f20eef345742f635740574a7e8daa6"},no_bell:{category:"symbols",moji:"🔕",description:"bell with cancellation stroke",unicodeVersion:"6.0",digest:"6542a9a5656c79c153f8c37f12d48f677c89b02ed0989ae37fa5e51ce6895422"},no_bicycles:{category:"symbols",moji:"🚳",description:"no bicycles",unicodeVersion:"6.0",digest:"af71c183545da2ff4c05609f9d572edb64b63ccba7c6a4b208d271558aa92b0a"},no_entry:{category:"symbols",moji:"⛔",description:"no entry",unicodeVersion:"5.2",digest:"dc0bac1ed9ab8e9af143f0fce5043fe68f7f46bd80856cdec95d20c3999b637d"},no_entry_sign:{category:"symbols",moji:"🚫",description:"no entry sign",unicodeVersion:"6.0",digest:"2c1fceef23b62effca68e0e087b8f020125d25b98d61492b1540055d1914fdc3"},no_good:{category:"people",moji:"🙅",description:"face with no good gesture",unicodeVersion:"6.0",digest:"6eb970b104389be5d18657d7c04be5149958c26855c52ea68574af852c5f85c4"},no_good_tone1:{category:"people",moji:"🙅🏻",description:"face with no good gesture tone 1",unicodeVersion:"8.0",digest:"c20a24a1e536240b4dcf90ecb530796de621d7ba1fb9e3fa0f849d048c509c03"},no_good_tone2:{category:"people",moji:"🙅🏼",description:"face with no good gesture tone 2",unicodeVersion:"8.0",digest:"f31a4628c1f2e6a39288fda8eb19c9ec89983e3726e17a09384d9ecc13ef0b4c"},no_good_tone3:{category:"people",moji:"🙅🏽",description:"face with no good gesture tone 3",unicodeVersion:"8.0",digest:"959dec1bfdaf37b20a86ab2bcbdbacd3179c87b163042377d966eab47564c0fb"},no_good_tone4:{category:"people",moji:"🙅🏾",description:"face with no good gesture tone 4",unicodeVersion:"8.0",digest:"efd931f0080adf2e04129c83a8b24fda0ae7a9fa7c4b463686c0b99023620db8"},no_good_tone5:{category:"people",moji:"🙅🏿",description:"face with no good gesture tone 5",unicodeVersion:"8.0",digest:"f35df2b26af9baef47c1f8cc97a1b28a58aa7fcb2a13fdac7b2d9189f1e40105"},no_mobile_phones:{category:"symbols",moji:"📵",description:"no mobile phones",unicodeVersion:"6.0",digest:"a472decd6ac7f9777961c09e00458746b2c04965585e3bee4556be3968e55bcd"},no_mouth:{category:"people",moji:"😶",description:"face without mouth",unicodeVersion:"6.0",digest:"72dda8b1e3ad4b05d9b095f9bd05e95d7ba013906c68914976a4554e8edf5866"},no_pedestrians:{category:"symbols",moji:"🚷",description:"no pedestrians",unicodeVersion:"6.0",digest:"062b4a71b338fe09775e465bfba8ac04efbb3640330e8cabe88f3af62b0f4225"},no_smoking:{category:"symbols",moji:"🚭",description:"no smoking symbol",unicodeVersion:"6.0",digest:"ae2ebb331f79f6074091c0ee9cd69fce16d5e12a131d18973fc05520097e14ee"},"non-potable_water":{category:"symbols",moji:"🚱",description:"non-potable water symbol",unicodeVersion:"6.0",digest:"32eba0a99b498133c2e4450036f768d3dccaaf5b50adc9ad988757adc777a6a1"},nose:{category:"people",moji:"👃",description:"nose",unicodeVersion:"6.0",digest:"9f800e24658ea3cebe1144d5d808cf13a88261f1a7f1f81a10d03b3d9d00e541"},nose_tone1:{category:"people",moji:"👃🏻",description:"nose tone 1",unicodeVersion:"8.0",digest:"a2d0af22284b1d264eb780943b8360f463996a5c9c9584b8473edf8d442d9173"},nose_tone2:{category:"people",moji:"👃🏼",description:"nose tone 2",unicodeVersion:"8.0",digest:"244dcaa8540024cf521f29f36bd48f933bf82f4833e35e6fa0abf113022038f3"},nose_tone3:{category:"people",moji:"👃🏽",description:"nose tone 3",unicodeVersion:"8.0",digest:"c935b64866f0d49da52035aa09f36ff56d238eb7f5b92205386451056e8ea74f"},nose_tone4:{category:"people",moji:"👃🏾",description:"nose tone 4",unicodeVersion:"8.0",digest:"a87e95fd9319c49e66b6dea0e57319d0ed9921b8d94df037767bf3d5dc7c94f3"},nose_tone5:{category:"people",moji:"👃🏿",description:"nose tone 5",unicodeVersion:"8.0",digest:"1e0f9842e0f8ad5805eabd3f35a6038b7a2e49d566a1f5c17271f9cdf467ca60"},notebook:{category:"objects",moji:"📓",description:"notebook",unicodeVersion:"6.0",digest:"fc679d3728f86073d1607a926885dd8b0261132f5c4a0322f1e46ea9f95c8cb8"},notebook_with_decorative_cover:{category:"objects",moji:"📔",description:"notebook with decorative cover",unicodeVersion:"6.0",digest:"d822eda4b49cbfa399b36f134c1a0b8dcfdd27ed89f12c50bc18f6f0a9aa56ef"},notepad_spiral:{category:"objects",moji:"🗒",description:"spiral note pad",unicodeVersion:"7.0",digest:"c6a8e16aa62474cef13e5659fddb4afc57e3f79635e32e6020edbee2b5b50f18"},notes:{category:"symbols",moji:"🎶",description:"multiple musical notes",unicodeVersion:"6.0",digest:"98467e0adc134d45676ef1c6c459e5853a9db50c8a6e91b6aec7d449aa737f48"},nut_and_bolt:{category:"objects",moji:"🔩",description:"nut and bolt",unicodeVersion:"6.0",digest:"a77bd72f29a7302195dcec240174b15586de79e3204258e3fb401a6ea90563b3"},o:{category:"symbols",moji:"⭕",description:"heavy large circle",unicodeVersion:"5.2",digest:"2387e5fd9ae4c2972d40298d32319b8fa55c50dbfc1c04c5c36088213e6951dd"},o2:{category:"symbols",moji:"🅾",description:"negative squared latin capital letter o",unicodeVersion:"6.0",digest:"6a9ccb0bf394e4d05ffda19327cee18f7b9ed80367fc7f41c93da9bb7efab0bf"},ocean:{category:"nature",moji:"🌊",description:"water wave",unicodeVersion:"6.0",digest:"1a9ca9848d4fb75852addfc10bf84eccf7caa5339714b90e3de4cb6f2518465e"},octagonal_sign:{category:"symbols",moji:"🛑",description:"octagonal sign",unicodeVersion:"9.0",digest:"9f6927048e1f9da57f89d1ae1eb86fa4ab7abdbabca756a738a799e948d0b3f9"},octopus:{category:"nature",moji:"🐙",description:"octopus",unicodeVersion:"6.0",digest:"0fcc65c12f4b29ea75a8c4823d20838a7e6db6978fdcb536943072aa1460bc59"},oden:{category:"food",moji:"🍢",description:"oden",unicodeVersion:"6.0",digest:"089974cb13a0bef6a245fc73029c5ed5153fd4caae0177b835f779e32200b8aa"},office:{category:"travel",moji:"🏢",description:"office building",unicodeVersion:"6.0",digest:"3633a2e91036362e273eef4e0cfbdbbb4cb1208afe2cfa110ebef7b78109a66f"},oil:{category:"objects",moji:"🛢",description:"oil drum",unicodeVersion:"7.0",digest:"00b94d33bcc9b9e8a5d4bd6e7f7e2fced9497ce05919edd5e58eafbc011c2caa"},ok:{category:"symbols",moji:"🆗",description:"squared ok",unicodeVersion:"6.0",digest:"5f320f9b96e98a2f17ebe240daff9b9fd2ae0727cd6c8e4633b1744356e89365"},ok_hand:{category:"people",moji:"👌",description:"ok hand sign",unicodeVersion:"6.0",digest:"d63002dce3cc3655b67b8765b7c28d370edba0e3758b2329b60e0e61c4d8e78d"},ok_hand_tone1:{category:"people",moji:"👌🏻",description:"ok hand sign tone 1",unicodeVersion:"8.0",digest:"ef1508efcf483b09807554fe0e451c2948224f9deb85463e8e0dad6875b54012"},ok_hand_tone2:{category:"people",moji:"👌🏼",description:"ok hand sign tone 2",unicodeVersion:"8.0",digest:"1215a101a082fd8e04c5d2f7e3c59d0f480cb0bedd79aeab5d36676bfe760088"},ok_hand_tone3:{category:"people",moji:"👌🏽",description:"ok hand sign tone 3",unicodeVersion:"8.0",digest:"6fe0ed9fb42e86bb2bed4cb37b2acacacda1471fb1ee845ad55e54fb0897fbf4"},ok_hand_tone4:{category:"people",moji:"👌🏾",description:"ok hand sign tone 4",unicodeVersion:"8.0",digest:"bfb9041c49d95e901a667264abaf9b398f6c4aa8b52bf5191c122db20c13c020"},ok_hand_tone5:{category:"people",moji:"👌🏿",description:"ok hand sign tone 5",unicodeVersion:"8.0",digest:"1c218dc04d698da2cbdd7bea1ca3f845f9b386e967b7247c52f4b0f6ec8f5320"},ok_woman:{category:"people",moji:"🙆",description:"face with ok gesture",unicodeVersion:"6.0",digest:"3f8bd4ce2c4497155d697e5a71ebdc9339f65633d07fa9a7903e1bd76cfa4ba1"},ok_woman_tone1:{category:"people",moji:"🙆🏻",description:"face with ok gesture tone1",unicodeVersion:"8.0",digest:"1660cd904ccd2ecdc6f4ba00527f7d4ec8c33f3c6183344616f97badae4c3730"},ok_woman_tone2:{category:"people",moji:"🙆🏼",description:"face with ok gesture tone2",unicodeVersion:"8.0",digest:"7ba5fddd1e141424fac6778894dfc5af28e125839c58937c69496f99cd2c4002"},ok_woman_tone3:{category:"people",moji:"🙆🏽",description:"face with ok gesture tone3",unicodeVersion:"8.0",digest:"1d972b8377c52f598406f59ab1e5be41aaf8f027e1fefba3deda66312ccd6a9b"},ok_woman_tone4:{category:"people",moji:"🙆🏾",description:"face with ok gesture tone4",unicodeVersion:"8.0",digest:"a176328d8f53503aa743448968afd21d72ffd3510555526a3fb38d6b30ee7c15"},ok_woman_tone5:{category:"people",moji:"🙆🏿",description:"face with ok gesture tone5",unicodeVersion:"8.0",digest:"13cfc1b589c57e81f768ee07a14b737cafc71407a7eb0956728b2ec4b1df14c4"},older_man:{category:"people",moji:"👴",description:"older man",unicodeVersion:"6.0",digest:"4c0462b199bf26181c9e4d2d4cb878a32b0294566941212efc67362d0645f948"},older_man_tone1:{category:"people",moji:"👴🏻",description:"older man tone 1",unicodeVersion:"8.0",digest:"99baa083f78cb01166d0a928d0b53682be14be04c29fc17bef14aac1a73a61e6"},older_man_tone2:{category:"people",moji:"👴🏼",description:"older man tone 2",unicodeVersion:"8.0",digest:"5b4ce713e8820ba517fe92c25f3b93e6a6bf3704d1f982c461d5f31fc02b9d3d"},older_man_tone3:{category:"people",moji:"👴🏽",description:"older man tone 3",unicodeVersion:"8.0",digest:"0eff72b3226c3a703c635798ee84129a695c896fa011fe1adbc105312eecc083"},older_man_tone4:{category:"people",moji:"👴🏾",description:"older man tone 4",unicodeVersion:"8.0",digest:"ad9ba82b0c5d3b171b0639ee4265370dbddff5e0eeb70729db122659bb8c8f84"},older_man_tone5:{category:"people",moji:"👴🏿",description:"older man tone 5",unicodeVersion:"8.0",digest:"5eb0a7467cc40e75752e11fd5126b275863dc037557a0d0d3b24b681e00c2386"},older_woman:{category:"people",moji:"👵",description:"older woman",unicodeVersion:"6.0",digest:"c261fdf3b01e0c7d949e177144531add5895197fbadf1acbba8eb17d18766bf6"},older_woman_tone1:{category:"people",moji:"👵🏻",description:"older woman tone 1",unicodeVersion:"8.0",digest:"1f2bb9e42270a58194498254da27ac2b7a50edaa771b90ee194ccd6d24660c62"},older_woman_tone2:{category:"people",moji:"👵🏼",description:"older woman tone 2",unicodeVersion:"8.0",digest:"2e28198e9b7ac08c55980677ed66655fd899e157f14184958bebd87fcd714940"},older_woman_tone3:{category:"people",moji:"👵🏽",description:"older woman tone 3",unicodeVersion:"8.0",digest:"c968be0170f7e0c65d4f796337034cfb1daba897884da6fad85635ab5b6edf67"},older_woman_tone4:{category:"people",moji:"👵🏾",description:"older woman tone 4",unicodeVersion:"8.0",digest:"3596a6fa9a643bf79255afcd29657b03850df8499db9669b92ce013af908af44"},older_woman_tone5:{category:"people",moji:"👵🏿",description:"older woman tone 5",unicodeVersion:"8.0",digest:"c8998cb3dbd15e22bd1d6dad613d109ce371d9ffca3657e1a8afe5aeb30c1275"},om_symbol:{category:"symbols",moji:"🕉",description:"om symbol",unicodeVersion:"7.0",digest:"5ead73bea546ba9ba6da522f7280cc289c75ff5467742bdba31f92d0e1b3f4e6"},on:{category:"symbols",moji:"🔛",description:"on with exclamation mark with left right arrow abo",unicodeVersion:"6.0",digest:"9cc61a6b31a30c32dab594191bf23f91e341c4105384ab22158a6d43e6364631"},oncoming_automobile:{category:"travel",moji:"🚘",description:"oncoming automobile",unicodeVersion:"6.0",digest:"557c9cacdc3f95215d4f7a6f097a2baa7c007cb9c519492a6717077af4ca6b56"},oncoming_bus:{category:"travel",moji:"🚍",description:"oncoming bus",unicodeVersion:"6.0",digest:"059f28ce6bfb337e107db5982cbd2004844450ef20b4a54b9ca3cb738360ab05"},oncoming_police_car:{category:"travel",moji:"🚔",description:"oncoming police car",unicodeVersion:"6.0",digest:"aee79306a0d129cfc1980f58db80391eb46d2d7d5f814bf431414dc7680cab72"},oncoming_taxi:{category:"travel",moji:"🚖",description:"oncoming taxi",unicodeVersion:"6.0",digest:"84351489fc86d980b8d3eb9ec4e81120fe700b3ac01346daebe2b7aeb9607a55"},one:{category:"symbols",moji:"1️⃣",description:"keycap digit one",unicodeVersion:"3.0",digest:"d5d3fff04e68a114ff6464ee06fc831f3f381713045165f62a88d5e8215c195b"},open_file_folder:{category:"objects",moji:"📂",description:"open file folder",unicodeVersion:"6.0",digest:"96cfc322ee4903ae8cec07604811742245fd7d14f00bb70276d39d29c48bed28"},open_hands:{category:"people",moji:"👐",description:"open hands sign",unicodeVersion:"6.0",digest:"a6c131da2040b48103cea14f280e728675da50fa448d2b3f3438fcbb5bf5596a"},open_hands_tone1:{category:"people",moji:"👐🏻",description:"open hands sign tone 1",unicodeVersion:"8.0",digest:"867128dff2fa9b860c10c6b792f989f0c057928783696062378f834c0ef89d85"},open_hands_tone2:{category:"people",moji:"👐🏼",description:"open hands sign tone 2",unicodeVersion:"8.0",digest:"487ff2745b03d49bb3b1d0acd86ba530fd8cc3f467ca3fa504f88f0ef1cbbc01"},open_hands_tone3:{category:"people",moji:"👐🏽",description:"open hands sign tone 3",unicodeVersion:"8.0",digest:"cb8cddc8b8661f874ac9478289d16cc41406b947bb87f3363df518a588a53e16"},open_hands_tone4:{category:"people",moji:"👐🏾",description:"open hands sign tone 4",unicodeVersion:"8.0",digest:"17dcc2c07230846a769f3c79ce618a757c88b9b58c95c6c5b2d7f968814d447d"},open_hands_tone5:{category:"people",moji:"👐🏿",description:"open hands sign tone 5",unicodeVersion:"8.0",digest:"36b2493d67c84cea4f3f85a3088c6abcfd35cf99f7aeaeedfafa420ee878e3d2"},open_mouth:{category:"people",moji:"😮",description:"face with open mouth",unicodeVersion:"6.1",digest:"1906c5100ae0c8326ca5c4f9422976958a38dadd8d77724d68538a25d9623035"},ophiuchus:{category:"symbols",moji:"⛎",description:"ophiuchus",unicodeVersion:"6.0",digest:"6112e2a1656b1cb8bd9a8b0dfa6cbf66d30cae671710a9ef75c821de344aab2b"},orange_book:{category:"objects",moji:"📙",description:"orange book",unicodeVersion:"6.0",digest:"41141b08d2beceded21a94795431603c47fd7d42a3a472a2aa8b2bb25fa87ebf"},orthodox_cross:{category:"symbols",moji:"☦",description:"orthodox cross",unicodeVersion:"1.1",digest:"c16372102f0169dd6d32eb2b27a633aaee74e4e0fddcf723c15ad97f9dc6075c"},outbox_tray:{category:"objects",moji:"📤",description:"outbox tray",unicodeVersion:"6.0",digest:"e47cb481a0ffcb39996f32fd313e19b362a91d8dda15ffca48ac23a3b5bb5baf"},owl:{category:"nature",moji:"🦉",description:"owl",unicodeVersion:"9.0",digest:"f62ec1ad23ad9038966eea8d8b79660ac212f291af2e89bcdb0fdc683caf41e5"},ox:{category:"nature",moji:"🐂",description:"ox",unicodeVersion:"6.0",digest:"d13bc60552190bb9936bf32d681bdc742439b702a09cfc62137ea09a98624aed"},package:{category:"objects",moji:"📦",description:"package",unicodeVersion:"6.0",digest:"e82bf5accebb65136e897c15607eef635fb79fd7b2d8c8e19a9eb00b6786918c"},page_facing_up:{category:"objects",moji:"📄",description:"page facing up",unicodeVersion:"6.0",digest:"3884868bdcb2f29615b09a13a30385cbc5269379094a54b5a7e8a5f4e8ce905a"},page_with_curl:{category:"objects",moji:"📃",description:"page with curl",unicodeVersion:"6.0",digest:"3d6257670189f841ad1fa45415c34feb2433b2cb35bb435c4ee122ce89b39669"},pager:{category:"objects",moji:"📟",description:"pager",unicodeVersion:"6.0",digest:"e21c756cc1c58ebc1b37ebcd38e22a25b31e2e81306c6f18285d6a7671f9eb12"},paintbrush:{category:"objects",moji:"🖌",description:"lower left paintbrush",unicodeVersion:"7.0",digest:"fc0da7a25b726b8be9dd6467953e27293d2313a21eeff21424c2a19be614fff2"},palm_tree:{category:"nature",moji:"🌴",description:"palm tree",unicodeVersion:"6.0",digest:"90fedafd62fe0abf51325174d0f293ebb9a4794913b9ba93b12f2d0119056df1"},pancakes:{category:"food",moji:"🥞",description:"pancakes",unicodeVersion:"9.0",digest:"5256b4832431e8a88555796b1a9726f12d909a26fb2bdc3a0abff76412c45903"},panda_face:{category:"nature",moji:"🐼",description:"panda face",unicodeVersion:"6.0",digest:"56a4b84abe983bd6569be1b81ac5e43071015fd308389a16b92231310ae56a5b"},paperclip:{category:"objects",moji:"📎",description:"paperclip",unicodeVersion:"6.0",digest:"d1e2ce94a12b7e8b7a9bba49e47ddc7432ec0288545d3b6817c7a499e806e3f0"},paperclips:{category:"objects",moji:"🖇",description:"linked paperclips",unicodeVersion:"7.0",digest:"70cefa0d0777f070e393e9f95c24146fe2dd627f30fa3845baa19310d9291fe2"},park:{category:"travel",moji:"🏞",description:"national park",unicodeVersion:"7.0",digest:"444dce8014e0817ddd756c36a38adfbbf7ae4c6aa509e4cae291828f0716d5e7"},parking:{category:"symbols",moji:"🅿",description:"negative squared latin capital letter p",unicodeVersion:"5.2",digest:"9f1da460a7dd58b26beab8cf701be2691fb812208fbc941c71daa35be1507c2f"},part_alternation_mark:{category:"symbols",moji:"〽",description:"part alternation mark",unicodeVersion:"3.2",digest:"956da19353bb38fd4dfe0ab5360679a9035d566858fb5de62887b85c75fb8eef"},partly_sunny:{category:"nature",moji:"⛅",description:"sun behind cloud",unicodeVersion:"5.2",digest:"8fb9a6d2caf9e0cce58447762f0dfd6aa0b581b2e83fea6411348e0cbc8cf3c4"},passport_control:{category:"symbols",moji:"🛂",description:"passport control",unicodeVersion:"6.0",digest:"d9be6eed2c90e1c89171c42d70a06485fdf86a4c68833371832cc1f6897fadd0"},pause_button:{category:"symbols",moji:"⏸",description:"double vertical bar",unicodeVersion:"7.0",digest:"143221d99e82399ed7824b6c5e185700896492058b65c04e4c668291de78b203"},peace:{category:"symbols",moji:"☮",description:"peace symbol",unicodeVersion:"1.1",digest:"65181429e373c1f0507bbd98425c1bec0c042d648fb285a392460cbce60f44d4"},peach:{category:"food",moji:"🍑",description:"peach",unicodeVersion:"6.0",digest:"768d1f4f29e1e06aff5abb29043be83087ded16427ce6a2d0f682814e665e311"},peanuts:{category:"food",moji:"🥜",description:"peanuts",unicodeVersion:"9.0",digest:"e2384846b6e4a6c3a56e991ebb749cb68b330ac00a9e9d888b2c39105ff7ff5d"},pear:{category:"food",moji:"🍐",description:"pear",unicodeVersion:"6.0",digest:"b7c9cf90bb979649b863d2f4132f1b51f6f8107d42e08fb8b4033fea32844948"},pen_ballpoint:{category:"objects",moji:"🖊",description:"lower left ballpoint pen",unicodeVersion:"7.0",digest:"aacb20b220f26704e10303deeea33be0eec2d3811dcba7795902ca44b6ae9876"},pen_fountain:{category:"objects",moji:"🖋",description:"lower left fountain pen",unicodeVersion:"7.0",digest:"3619913eab2b6291f518b40481bb3eca0820d68b0a1b3c11fb6a69c62b75a626"},pencil:{category:"objects",moji:"📝",description:"memo",unicodeVersion:"6.0",digest:"accbc3f1439b7faa4411e502385f78a16c8e71851f71fc13582753291ffb507c"},pencil2:{category:"objects",moji:"✏",description:"pencil",unicodeVersion:"1.1",digest:"9ca1b56b5726f472b1f1b23050ed163e213916dac379d22e38e4c8358fe871e0"},penguin:{category:"nature",moji:"🐧",description:"penguin",unicodeVersion:"6.0",digest:"a1800ab931d6dc84a9c89bfab2c815198025c276d952509c55b18dd20bd9d316"},pensive:{category:"people",moji:"😔",description:"pensive face",unicodeVersion:"6.0",digest:"d237deff9f5ead8a0b281b7e5c6f4b82e98cc30c80c86c22c3fdc6160090b2f2"},performing_arts:{category:"activity",moji:"🎭",description:"performing arts",unicodeVersion:"6.0",digest:"d7c7bc9213e308ca26286cbbd8012e656b0f9b00293758faf1bfccc4c5ceabed"},persevere:{category:"people",moji:"😣",description:"persevering face",unicodeVersion:"6.0",digest:"c361509c9b8663af19a02a1ffff61b1b0d0b4bd75d693ce3d406b0ca1bde1ca0"},person_frowning:{category:"people",moji:"🙍",description:"person frowning",unicodeVersion:"6.0",digest:"b37be8bd95f21a6860ad3f171b8086125ab37331b382d87bcdb4cd684800546b"},person_frowning_tone1:{category:"people",moji:"🙍🏻",description:"person frowning tone 1",unicodeVersion:"8.0",digest:"3d5e78a367f9673baed2a86bc11cf04fd44394aadb65291fa51ade8dca318427"},person_frowning_tone2:{category:"people",moji:"🙍🏼",description:"person frowning tone 2",unicodeVersion:"8.0",digest:"7456c414c65ad6b6f11855f68a2eedc18113526f86862c4373202397cb1bed2c"},person_frowning_tone3:{category:"people",moji:"🙍🏽",description:"person frowning tone 3",unicodeVersion:"8.0",digest:"c86cf2d6951f1e6a7c786a74caaf68a777cf00e88023e23849d4383f864ae437"},person_frowning_tone4:{category:"people",moji:"🙍🏾",description:"person frowning tone 4",unicodeVersion:"8.0",digest:"944e96ced645ced8db6bb50120c7e37ed46b6960d595cbfe964c81803efa83aa"},person_frowning_tone5:{category:"people",moji:"🙍🏿",description:"person frowning tone 5",unicodeVersion:"8.0",digest:"4bd0ea571be6ef9f0493784ef0d12d5e47bc2d6ac610fb42c450bf3d87fb2948"},person_with_blond_hair:{category:"people",moji:"👱",description:"person with blond hair",unicodeVersion:"6.0",digest:"a7f94ede2e43308108c2260d83fc10121dda09a67f94a0a840e6d7bba7fd5616"},person_with_blond_hair_tone1:{category:"people",moji:"👱🏻",description:"person with blond hair tone 1",unicodeVersion:"8.0",digest:"00a116357a7878554c83e5bade4bddfa9cfabf76a229efa19cbb58e0d216219c"},person_with_blond_hair_tone2:{category:"people",moji:"👱🏼",description:"person with blond hair tone 2",unicodeVersion:"8.0",digest:"df509ebe92ed3138b9d5bd4645eff4b13f77f714cf62bb949c59eff1adc00019"},person_with_blond_hair_tone3:{category:"people",moji:"👱🏽",description:"person with blond hair tone 3",unicodeVersion:"8.0",digest:"6f328513f440a0c8cd1dc44596a5028fd8f306bdaf57c1e6f3aa94a3aa262b3c"},person_with_blond_hair_tone4:{category:"people",moji:"👱🏾",description:"person with blond hair tone 4",unicodeVersion:"8.0",digest:"32df1a577815b009696643ad80d063cc97b35d54add6d4e5517fc936f6da9ee8"},person_with_blond_hair_tone5:{category:"people",moji:"👱🏿",description:"person with blond hair tone 5",unicodeVersion:"8.0",digest:"2e270bb39187d8e36a33f4aa4d6045308189595fafc157cf7993e82d7ce93442"},person_with_pouting_face:{category:"people",moji:"🙎",description:"person with pouting face",unicodeVersion:"6.0",digest:"57e9a6e5f82121516dc189173f2a63b218f726cd51014e24a18c2bdfeeec3a0b"},person_with_pouting_face_tone1:{category:"people",moji:"🙎🏻",description:"person with pouting face tone1",unicodeVersion:"8.0",digest:"d10dadb1ac03fc2e221eff77b4c47935dc0b4fe897af3de30461e7226c3b4bbc"},person_with_pouting_face_tone2:{category:"people",moji:"🙎🏼",description:"person with pouting face tone2",unicodeVersion:"8.0",digest:"efface531537ab934b3b96985210a2dac88de812e82e804d6ec12174e536d1cc"},person_with_pouting_face_tone3:{category:"people",moji:"🙎🏽",description:"person with pouting face tone3",unicodeVersion:"8.0",digest:"7ff26ece237216b949bfa96d16bd12cfd248c6fd3e4ed89aa6c735c09eafaeff"},person_with_pouting_face_tone4:{category:"people",moji:"🙎🏾",description:"person with pouting face tone4",unicodeVersion:"8.0",digest:"045c04105df41d94ff4942133c7394e42ff35ef76c4ccb711497ab77ae6219f2"},person_with_pouting_face_tone5:{category:"people",moji:"🙎🏿",description:"person with pouting face tone5",unicodeVersion:"8.0",digest:"783ee37f146fcf61d38af5009f5823cf6526fe99ed891979f454016bce9dd4ba"},pick:{category:"objects",moji:"⛏",description:"pick",unicodeVersion:"5.2",digest:"7f0ec5445b4d5c66cf46e2a7332946cce34bd70e9929ac7a119251a7f57f555d"},pig:{category:"nature",moji:"🐷",description:"pig face",unicodeVersion:"6.0",digest:"51362570ab36805c8f67622ee4543e38811f8abb20f732a1af2ffbff2d63d042"},pig2:{category:"nature",moji:"🐖",description:"pig",unicodeVersion:"6.0",digest:"67010e255f28061b9d9210bcdab6edc072642ad134122a1d0c7e3a6b1795a45b"},pig_nose:{category:"nature",moji:"🐽",description:"pig nose",unicodeVersion:"6.0",digest:"0b21cac238bf4910939fbea9bed35552378c1b605a3867d7b85c1556dbda22a9"},pill:{category:"objects",moji:"💊",description:"pill",unicodeVersion:"6.0",digest:"cb00be361aaba6dbcf8da58bd20b76221dd75031362ecae99496b088ed413a7f"},pineapple:{category:"food",moji:"🍍",description:"pineapple",unicodeVersion:"6.0",digest:"621d4d4c52b59e566c2e29ed7845c8bd2d1da0946577527342097808d170dd70"},ping_pong:{category:"activity",moji:"🏓",description:"table tennis paddle and ball",unicodeVersion:"8.0",digest:"943a858bd054c81a08a08951f8351c27c8009b85a9359729c7362868298b58e1"},pisces:{category:"symbols",moji:"♓",description:"pisces",unicodeVersion:"1.1",digest:"453c3915122a4b6b32867056d2447be48675a84469145c88d52f8007fcb0861a"},pizza:{category:"food",moji:"🍕",description:"slice of pizza",unicodeVersion:"6.0",digest:"169bc6c1e1d7fdab1b8bf2eab0eeec4f9a7ae08b7b9b38f33b0b0c642e72053a"},place_of_worship:{category:"symbols",moji:"🛐",description:"place of worship",unicodeVersion:"8.0",digest:"daf271d36a38ee8c0f8b9de84c128ab8b25a5b7df8f107308d0353c961f2c644"},play_pause:{category:"symbols",moji:"⏯",description:"black right-pointing double triangle with double vertical bar",unicodeVersion:"6.0",digest:"af1498f34a3d6e0da8bbd26ebaa447e697e2df08c8eb255437cf7905c93f8c42"},point_down:{category:"people",moji:"👇",description:"white down pointing backhand index",unicodeVersion:"6.0",digest:"4ecdb3f31c16dc38113b8854ec1a7884613b688a185ebdf967eab9a81018f76d"},point_down_tone1:{category:"people",moji:"👇🏻",description:"white down pointing backhand index tone 1",unicodeVersion:"8.0",digest:"c74a7c94367cddbfa840542dc0924adeb0d108be0c7fde8c25fb95d69115d283"},point_down_tone2:{category:"people",moji:"👇🏼",description:"white down pointing backhand index tone 2",unicodeVersion:"8.0",digest:"dc4bda0726d85418b974addb42738f437fbb9cf16e5815cdbab3859c4ada6cae"},point_down_tone3:{category:"people",moji:"👇🏽",description:"white down pointing backhand index tone 3",unicodeVersion:"8.0",digest:"e460f81a501376d2f0ed1d45e358c5ed03ba049e8f466e4298afb4f3ca6d24dc"},point_down_tone4:{category:"people",moji:"👇🏾",description:"white down pointing backhand index tone 4",unicodeVersion:"8.0",digest:"4bc91cd771f24e0f897a9d8b18f323fec9a82da0fc2429c4a7e4e6a9d885a0a3"},point_down_tone5:{category:"people",moji:"👇🏿",description:"white down pointing backhand index tone 5",unicodeVersion:"8.0",digest:"7e47c6bc73250f36dc7ae1c1c09e7b41f30647b9d0ff703a53a75cc046b5057d"},point_left:{category:"people",moji:"👈",description:"white left pointing backhand index",unicodeVersion:"6.0",digest:"b5a7e864a0016afbadb3bec41f51ecf8c4af73cc20462e1a08b357f90bca6879"},point_left_tone1:{category:"people",moji:"👈🏻",description:"white left pointing backhand index tone 1",unicodeVersion:"8.0",digest:"9f1868272a10a2b738c065be5d30241643324550cfd47baf01c7a09060e66d31"},point_left_tone2:{category:"people",moji:"👈🏼",description:"white left pointing backhand index tone 2",unicodeVersion:"8.0",digest:"bf0d58c68178a2c2c01d4a6235a1a66b90073cea170f9f6fe2668b6dd68424f7"},point_left_tone3:{category:"people",moji:"👈🏽",description:"white left pointing backhand index tone 3",unicodeVersion:"8.0",digest:"34d28c97bc8f9d111d14e328153c4298fc32cf18e39e20aacaec17846645ed90"},point_left_tone4:{category:"people",moji:"👈🏾",description:"white left pointing backhand index tone 4",unicodeVersion:"8.0",digest:"c40c8436316915d516c53bb1c98a469528cefd98baa719be7e748c4608cbbcc9"},point_left_tone5:{category:"people",moji:"👈🏿",description:"white left pointing backhand index tone 5",unicodeVersion:"8.0",digest:"c410fe32e4ce0ded74845a54b86090e59e5820d457837b16e175b36cc71ecb46"},point_right:{category:"people",moji:"👉",description:"white right pointing backhand index",unicodeVersion:"6.0",digest:"44d9251ab41f2f48c2250c44a47f92b3476a71f13fbbbfb637547db837fd5a49"},point_right_tone1:{category:"people",moji:"👉🏻",description:"white right pointing backhand index tone 1",unicodeVersion:"8.0",digest:"9fcce259eb81c0b52ec7796b98a1653194e3a9021a1d338df1dbbab7522fc406"},point_right_tone2:{category:"people",moji:"👉🏼",description:"white right pointing backhand index tone 2",unicodeVersion:"8.0",digest:"9d00a0b1cfc435674dc56065b3d28d28839196977504cf20581205351d8708f2"},point_right_tone3:{category:"people",moji:"👉🏽",description:"white right pointing backhand index tone 3",unicodeVersion:"8.0",digest:"e3026a70630ba73d76892a055a80cac2f78d509faddce737f802d2abefa074ba"},point_right_tone4:{category:"people",moji:"👉🏾",description:"white right pointing backhand index tone 4",unicodeVersion:"8.0",digest:"ea508fde90561460361773b4e1b8e80874667b19ac115926206e7c592587cb76"},point_right_tone5:{category:"people",moji:"👉🏿",description:"white right pointing backhand index tone 5",unicodeVersion:"8.0",digest:"d59cdb2864eb2929941ecd233f8b8afcddc30fbd4594e5f9acf6386ae06ac12c"},point_up:{category:"people",moji:"☝",description:"white up pointing index",unicodeVersion:"1.1",digest:"b69ff4f650989709f2185822d278c7773672bd9eb4a625da80f3038a2b9ce42b"},point_up_2:{category:"people",moji:"👆",description:"white up pointing backhand index",unicodeVersion:"6.0",digest:"e83cd9eff2af5125a25f5a306c3ee3cfea240add683b5c36a86a994a8d8c805c"},point_up_2_tone1:{category:"people",moji:"👆🏻",description:"white up pointing backhand index tone 1",unicodeVersion:"8.0",digest:"b02ec3e7e04a83bfb769cffb951cbf32aa78e56fa5a51c097f9326df9e08ed33"},point_up_2_tone2:{category:"people",moji:"👆🏼",description:"white up pointing backhand index tone 2",unicodeVersion:"8.0",digest:"32994b85c8b4a1383ca985ebc3382be88866cea1ff1315adfb71fb05e992a232"},point_up_2_tone3:{category:"people",moji:"👆🏽",description:"white up pointing backhand index tone 3",unicodeVersion:"8.0",digest:"9e263bcfb82ada34ff85291f36e64e66b86760fb11a4e0c554e801644d417d6d"},point_up_2_tone4:{category:"people",moji:"👆🏾",description:"white up pointing backhand index tone 4",unicodeVersion:"8.0",digest:"3edc92130a0851ac7b5236772ce7918d088689221df287098688e1ed5b3ff181"},point_up_2_tone5:{category:"people",moji:"👆🏿",description:"white up pointing backhand index tone 5",unicodeVersion:"8.0",digest:"cabb3b7da9290840ef59d0c8b22625bdb2e94842f01b0a575ccbc348f3069d77"},point_up_tone1:{category:"people",moji:"☝🏻",description:"white up pointing index tone 1",unicodeVersion:"8.0",digest:"e496fda349072f8b321ceb7a251175f7244c3076661f5ede48ea75ba1acf8339"},point_up_tone2:{category:"people",moji:"☝🏼",description:"white up pointing index tone 2",unicodeVersion:"8.0",digest:"5a8081323f3baa67e6431e21e16a36559b339f5175d586644e34947f738dd07a"},point_up_tone3:{category:"people",moji:"☝🏽",description:"white up pointing index tone 3",unicodeVersion:"8.0",digest:"07bf0cea812eb226b443334e026e13d1ec23e013478f4af862a3919703107842"},point_up_tone4:{category:"people",moji:"☝🏾",description:"white up pointing index tone 4",unicodeVersion:"8.0",digest:"1fbbd71433108143ee157d0fdadd183f7f013bafa96f0dd93b181e1fd5fd4af2"},point_up_tone5:{category:"people",moji:"☝🏿",description:"white up pointing index tone 5",unicodeVersion:"8.0",digest:"ad068ef32df32f8297955490a9a90590a0f93ed5702a052cd0d8f6484c6cc679"},police_car:{category:"travel",moji:"🚓",description:"police car",unicodeVersion:"6.0",digest:"0909be1bd615ae331a7cce71e16dee3ca663c721d5170072c593cb7c76f9f661"},poodle:{category:"nature",moji:"🐩",description:"poodle",unicodeVersion:"6.0",digest:"f1742fdf3fd26a8a5cfeaba57026518dacaad364cbd03344c4000a35af13e47a"},poop:{category:"people",moji:"💩",description:"pile of poo",unicodeVersion:"6.0",digest:"857a61c872138d359a7fe8257bb26118afa49d75186eca2addb415d07c92b3ec"},popcorn:{category:"food",moji:"🍿",description:"popcorn",unicodeVersion:"8.0",digest:"684f1b7ef34ea7ca933aed41569bc6595a19ef0d546a1b7b9e69f8335540b323"},post_office:{category:"travel",moji:"🏣",description:"japanese post office",unicodeVersion:"6.0",digest:"54398ee396c1314a7993b1cb1cba264946b5c9d5a7dbb43fd67286854d1d1a0f"},postal_horn:{category:"objects",moji:"📯",description:"postal horn",unicodeVersion:"6.0",digest:"0ea12f44f3bae9a14bde3b37361b48bd738d2f613bb1b53a9204959b70e643f8"},postbox:{category:"objects",moji:"📮",description:"postbox",unicodeVersion:"6.0",digest:"bbc424ae8d46de380d7023a43ea064002fd614657d00330d3503275827ac87e2"},potable_water:{category:"symbols",moji:"🚰",description:"potable water symbol",unicodeVersion:"6.0",digest:"dbe80d9637837377cc2a290da2e895f81a3108cc18b049e3d87212402c1c2098"},potato:{category:"food",moji:"🥔",description:"potato",unicodeVersion:"9.0",digest:"a56a69f36f3a0793f278726d92c0cea2960554f3062ef1a0904526a04511d8e1"},pouch:{category:"people",moji:"👝",description:"pouch",unicodeVersion:"6.0",digest:"9f012b90310b4a072b6a8fa2c64def087b5f7ffffaafc36e1856ba943a170351"},poultry_leg:{category:"food",moji:"🍗",description:"poultry leg",unicodeVersion:"6.0",digest:"1445ec4f5e68a19e5a84e5537dca8190d62409070c954d112e6097f1a6b7f054"},pound:{category:"objects",moji:"💷",description:"banknote with pound sign",unicodeVersion:"6.0",digest:"eb11b83eb52adb0a15e69a3bc15788a2dc7825dedee81ac3af84963c9dd517b5"},pouting_cat:{category:"people",moji:"😾",description:"pouting cat face",unicodeVersion:"6.0",digest:"8822abedf3499cf98278d7eeea0764d1100ec25cad71b4b2e877f9346f8c8138"},pray:{category:"people",moji:"🙏",description:"person with folded hands",unicodeVersion:"6.0",digest:"735b79dab34ac2cf81fd42fdcd7eb1f13c24655e5e343816d5764896c03edeea"},pray_tone1:{category:"people",moji:"🙏🏻",description:"person with folded hands tone 1",unicodeVersion:"8.0",digest:"e8b6103450215e8566797f150978355e297deade4eb47a6371f7a7bc558fed9d"},pray_tone2:{category:"people",moji:"🙏🏼",description:"person with folded hands tone 2",unicodeVersion:"8.0",digest:"ee8baacd95d7e8dbad8a1f2d9a12e36c98f3d518db5d3b117d0a18290815e62b"},pray_tone3:{category:"people",moji:"🙏🏽",description:"person with folded hands tone 3",unicodeVersion:"8.0",digest:"ae8c0caa9aca0a6c44069e76a7535c961d0284cd701812f76bbd2bd79ce2bd53"},pray_tone4:{category:"people",moji:"🙏🏾",description:"person with folded hands tone 4",unicodeVersion:"8.0",digest:"64f7b3178b8cd6f6a877ed583539eefe068fa87a0dd658fdcd58c8bc809f7e17"},pray_tone5:{category:"people",moji:"🙏🏿",description:"person with folded hands tone 5",unicodeVersion:"8.0",digest:"5bc8cdce937ac06779c87021423efcec4f602aa4a39dba90b00de81033005332"},prayer_beads:{category:"objects",moji:"📿",description:"prayer beads",unicodeVersion:"8.0",digest:"80177091264430cbcf7c994fbe5ee17319d1a58d933636cc752a54dafcf98a05"},pregnant_woman:{category:"people",moji:"🤰",description:"pregnant woman",unicodeVersion:"9.0",digest:"49abb86409103338bdb6ae43c13a78ca2dc9cd158a26df35eadd0da3c84a4352"},pregnant_woman_tone1:{category:"people",moji:"🤰🏻",description:"pregnant woman tone 1",unicodeVersion:"9.0",digest:"5a9f8ed2b631ecf8af111803a5c11f4c156435a5293cb50329c7b98697c8da25"},pregnant_woman_tone2:{category:"people",moji:"🤰🏼",description:"pregnant woman tone 2",unicodeVersion:"9.0",digest:"279a2eafff603b11629c955b05f5bd3d7da9a271d4fb3f02e9ccd457b8d2d815"},pregnant_woman_tone3:{category:"people",moji:"🤰🏽",description:"pregnant woman tone 3",unicodeVersion:"9.0",digest:"93bb63ec2312db315e3f0065520b715cc413ac0fd65538ec9b5cd97df2a42b20"},pregnant_woman_tone4:{category:"people",moji:"🤰🏾",description:"pregnant woman tone 4",unicodeVersion:"9.0",digest:"b8dc3dcec894bfd832a249459b10850f8786b6778d8887a677d1291865623da2"},pregnant_woman_tone5:{category:"people",moji:"🤰🏿",description:"pregnant woman tone 5",unicodeVersion:"9.0",digest:"73ee432752f81980f353a7f9b9f7a5ece62512dca08e15c1876b89227face21c"},prince:{category:"people",moji:"🤴",description:"prince",unicodeVersion:"9.0",digest:"34a0e0625f0a9825d3674192d6233b6cae4d8130451293df09f91a6a4165869c"},prince_tone1:{category:"people",moji:"🤴🏻",description:"prince tone 1",unicodeVersion:"9.0",digest:"ccecdfeccb2ab1fceceae14f3fba875c8c7099785a4c40131c08a697b5b675fc"},prince_tone2:{category:"people",moji:"🤴🏼",description:"prince tone 2",unicodeVersion:"9.0",digest:"c373fd3e0c1798415e3d8d88fab6c98c1bbdedcbe6f52f3a3899f6e2124a768d"},prince_tone3:{category:"people",moji:"🤴🏽",description:"prince tone 3",unicodeVersion:"9.0",digest:"71d15695ca954d55aa69d3c753c7d31a8ba5329713a8ddbc90dafc11e524c4ef"},prince_tone4:{category:"people",moji:"🤴🏾",description:"prince tone 4",unicodeVersion:"9.0",digest:"08f6cb32424f15cc3aaf83c31a5dac7c01a6be2f37ea8f13aed579ce6fb4db19"},prince_tone5:{category:"people",moji:"🤴🏿",description:"prince tone 5",unicodeVersion:"9.0",digest:"77d521148efa33fa4d3409693d050fecfd948411e807327484f174e289834649"},princess:{category:"people",moji:"👸",description:"princess",unicodeVersion:"6.0",digest:"efabd28480a843c735f0868734da2f9ce28133933b02ab07b645498f494f3f80"},princess_tone1:{category:"people",moji:"👸🏻",description:"princess tone 1",unicodeVersion:"8.0",digest:"52b88b99ba64f82e8f36e2a1827c85145e4fcd6863478c2345fe9fa9e8901cdf"},princess_tone2:{category:"people",moji:"👸🏼",description:"princess tone 2",unicodeVersion:"8.0",digest:"7e44289404693668f20e681fcdc2e516512d54a69c627eedae958f69dfe6eea9"},princess_tone3:{category:"people",moji:"👸🏽",description:"princess tone 3",unicodeVersion:"8.0",digest:"96c9a9857348d7a1a8be899c50d55b352b9a9fd5c65e4777bfa199fe7929d41c"},princess_tone4:{category:"people",moji:"👸🏾",description:"princess tone 4",unicodeVersion:"8.0",digest:"67696f96be60f2a36598072172d2db197d007e6c1ac3acef526a5ce6d59bf3f7"},princess_tone5:{category:"people",moji:"👸🏿",description:"princess tone 5",unicodeVersion:"8.0",digest:"007f624e2fad91bb57ce32ecd35213a796d71807f3b12f3f1575bf50e6a50eeb"},printer:{category:"objects",moji:"🖨",description:"printer",unicodeVersion:"7.0",digest:"5e5307e3dc7ec4e16c9978fb00934c99c4adefca7d32732a244d1f2de71ce6f8"},projector:{category:"objects",moji:"📽",description:"film projector",unicodeVersion:"7.0",digest:"7f8e1fdb89584849a56ee34c62cab808af48b7bd4823467d090af4657a2e0420"},punch:{category:"people",moji:"👊",description:"fisted hand sign",unicodeVersion:"6.0",digest:"c7e7edf6d64f755db3f02874354f08337b3971aff329476d19ac946e0b421329"},punch_tone1:{category:"people",moji:"👊🏻",description:"fisted hand sign tone 1",unicodeVersion:"8.0",digest:"c9ba508b0c36041047473782acfedab5af40dd7946b33daf4d8d54c726e06a11"},punch_tone2:{category:"people",moji:"👊🏼",description:"fisted hand sign tone 2",unicodeVersion:"8.0",digest:"d53011cd2f3334c7b3fffdfe1e2b8cc1c832c74306e1ac6d03f954a1309d7d0b"},punch_tone3:{category:"people",moji:"👊🏽",description:"fisted hand sign tone 3",unicodeVersion:"8.0",digest:"f7522347094e0130ed8e304678106574dbd7dd2b6b3aeb4d8a7a0fef880920b2"},punch_tone4:{category:"people",moji:"👊🏾",description:"fisted hand sign tone 4",unicodeVersion:"8.0",digest:"3e62bdd426f3e6ff175ce3b8dd6f6d3998d9c1506128defa96b528b455295b47"},punch_tone5:{category:"people",moji:"👊🏿",description:"fisted hand sign tone 5",unicodeVersion:"8.0",digest:"7d9bff777dc4ec41ac132b1252fa08cf92a398c8dc146c4a5327b45d568982d8"},purple_heart:{category:"symbols",moji:"💜",description:"purple heart",unicodeVersion:"6.0",digest:"a6bf01de806525942be480e45a4b2879f91df8129b78a1b8734d4f917bcab773"},purse:{category:"people",moji:"👛",description:"purse",unicodeVersion:"6.0",digest:"2b785f36e01875d66cfda2192c8c53606e7224a7c869a4826b62cb61613d60c8"},pushpin:{category:"objects",moji:"📌",description:"pushpin",unicodeVersion:"6.0",digest:"c3f7d7008be6bab8dc02284d4d759abf7aafbb3dbbe3a53f0f5b2ff685af88f8"},put_litter_in_its_place:{category:"symbols",moji:"🚮",description:"put litter in its place symbol",unicodeVersion:"6.0",digest:"f52a57d6f1bada7b6e6b9a6458597d70cb701c01e1120d8cb1d7ff65e01d405c"},question:{category:"symbols",moji:"❓",description:"black question mark ornament",unicodeVersion:"6.0",digest:"40050a1fd29bed321fd601d13dc33de5d6084121f1d873b29bde9dc3d823a310"},rabbit:{category:"nature",moji:"🐰",description:"rabbit face",unicodeVersion:"6.0",digest:"678ad953a7ab8f618c59051449a67c965d1f04f42dd6f6669adaf3fadebd080c"},rabbit2:{category:"nature",moji:"🐇",description:"rabbit",unicodeVersion:"6.0",digest:"19b1f5108292472434cc7a49efac4ea9275779735c7aeb0f15c36021d5998ca0"},race_car:{category:"travel",moji:"🏎",description:"racing car",unicodeVersion:"7.0",digest:"46f4814259d3d17ff35c04110e73e5327aee99f4711cd459ca1ee951508da3a6"},racehorse:{category:"nature",moji:"🐎",description:"horse",unicodeVersion:"6.0",digest:"a57b7aca35347ada8225eeee06b70cfd040484104963b4df56ea8fec690576b0"},radio:{category:"objects",moji:"📻",description:"radio",unicodeVersion:"6.0",digest:"9245951dd779cdd141089891b15a90d3999a6358acf1fc296aa505100f812108"},radio_button:{category:"symbols",moji:"🔘",description:"radio button",unicodeVersion:"6.0",digest:"565bec59198df2592e96564c6e314d3cde33c47b453db1bec6c5d027b5cb4fd9"},radioactive:{category:"symbols",moji:"☢",description:"radioactive sign",unicodeVersion:"1.1",digest:"0ed6634057824e0cfd10b2533753e3632b0624341a7eac8d9835706480335581"},rage:{category:"people",moji:"😡",description:"pouting face",unicodeVersion:"6.0",digest:"d97ba6bd08eec46dbc7199f530c945b73a87a878e35397b0a3e4f2b45039e89e"},railway_car:{category:"travel",moji:"🚃",description:"railway car",unicodeVersion:"6.0",digest:"2cddc08d555e7fc24e312c3d255ed013fbf9cd2974a6918369c32554049ba2be"},railway_track:{category:"travel",moji:"🛤",description:"railway track",unicodeVersion:"7.0",digest:"0da351b6d4e75c6beeaef1225e151d9580d4b5c41dfa1cf192715bf3cec981d7"},rainbow:{category:"travel",moji:"🌈",description:"rainbow",unicodeVersion:"6.0",digest:"a93aceb54e965f35e397e8c8716b1831614933308d026012d5464ee42783ed4d"},raised_back_of_hand:{category:"people",moji:"🤚",description:"raised back of hand",unicodeVersion:"9.0",digest:"20973a697e826625deba5ee3c4f25eb5e1737f2e860ac6fe4ee4d0e0c84b5e12"},raised_back_of_hand_tone1:{category:"people",moji:"🤚🏻",description:"raised back of hand tone 1",unicodeVersion:"9.0",digest:"06af5941255ca69d10d99d0a512bbda6141a296453835dbccf259ce0afe1dd3d"},raised_back_of_hand_tone2:{category:"people",moji:"🤚🏼",description:"raised back of hand tone 2",unicodeVersion:"9.0",digest:"429ed19555c9e5197b729b3e7bd8013346551051cb0b3fbc8a4372717c9a027d"},raised_back_of_hand_tone3:{category:"people",moji:"🤚🏽",description:"raised back of hand tone 3",unicodeVersion:"9.0",digest:"487a1c3f19e77c99b520ec073de2acc4a9e585b739a84b3989f7de85d2c2045c"},raised_back_of_hand_tone4:{category:"people",moji:"🤚🏾",description:"raised back of hand tone 4",unicodeVersion:"9.0",digest:"154254d8500c55ec3de698be4a352f9bcf06e2950cabc4eabaccad0f39a1e1e9"},raised_back_of_hand_tone5:{category:"people",moji:"🤚🏿",description:"raised back of hand tone 5",unicodeVersion:"9.0",digest:"6e9c0855ecd5f14adca5e5862427c3d39ffcf86f7ddd3aaa1fefc3cefc7483c8"},raised_hand:{category:"people",moji:"✋",description:"raised hand",unicodeVersion:"6.0",digest:"5cf11be683aea985d5ba51fbd44722c2327311bfe26b61c3d441c90f5d5a195a"},raised_hand_tone1:{category:"people",moji:"✋🏻",description:"raised hand tone 1",unicodeVersion:"8.0",digest:"865afca29b57577fed8fe8c2be57b74254a008c8cf34194680be2759239b5f5d"},raised_hand_tone2:{category:"people",moji:"✋🏼",description:"raised hand tone 2",unicodeVersion:"8.0",digest:"832169a0b626a682a58a3b998f68413657b4962c1fab05f1fdc2668e82727210"},raised_hand_tone3:{category:"people",moji:"✋🏽",description:"raised hand tone 3",unicodeVersion:"8.0",digest:"3959a873ad7671de82c615c4ed840b011e67baafb2bab7dd16859608d3e83cb1"},raised_hand_tone4:{category:"people",moji:"✋🏾",description:"raised hand tone 4",unicodeVersion:"8.0",digest:"db542f65d076ccf3dbfca27cb7c2f135a8bf7a487a81a04873e70172bdfcd579"},raised_hand_tone5:{category:"people",moji:"✋🏿",description:"raised hand tone 5",unicodeVersion:"8.0",digest:"88ca884d14baaae48df21d75c22d82fb15bdc395e42026f5ca34cd65e5ae8674"},raised_hands:{category:"people",moji:"🙌",description:"person raising both hands in celebration",unicodeVersion:"6.0",digest:"2ee73466a3f5079e542857fe6f5497e9f87753a81854985ce3356a8d3da1d8b8"},raised_hands_tone1:{category:"people",moji:"🙌🏻",description:"person raising both hands in celebration tone 1",unicodeVersion:"8.0",digest:"43e73c60f040a66374b8ec98f3629a90d13ae9f472446ed7676cd5573e824f4b"},raised_hands_tone2:{category:"people",moji:"🙌🏼",description:"person raising both hands in celebration tone 2",unicodeVersion:"8.0",digest:"fcc5255bb2b06dc82d6878e74cf34e8ce118c70004a06d39a980683772b98c52"},raised_hands_tone3:{category:"people",moji:"🙌🏽",description:"person raising both hands in celebration tone 3",unicodeVersion:"8.0",digest:"3ee3e0aafef486e766a166935e8147fb75a7329cfebc96dec876cc45e83a8754"},raised_hands_tone4:{category:"people",moji:"🙌🏾",description:"person raising both hands in celebration tone 4",unicodeVersion:"8.0",digest:"78a8cbf6b2b85be4d6b18f0ff6a77f197963117955725fb7e57e0441effb928f"},raised_hands_tone5:{category:"people",moji:"🙌🏿",description:"person raising both hands in celebration tone 5",unicodeVersion:"8.0",digest:"2a5ed7334a17172db0cd820a559e7f75df40ec44de6c25d194c76e1b58c634cb"},raising_hand:{category:"people",moji:"🙋",description:"happy person raising one hand",unicodeVersion:"6.0",digest:"512750b00704f1ccefd3c757743540b785ad7670dbbe4a2c4dca8d93e6701920"},raising_hand_tone1:{category:"people",moji:"🙋🏻",description:"happy person raising one hand tone1",unicodeVersion:"8.0",digest:"2897722f091c273dd3714cff7423c2475bc3070416c28014ca03322b9ece48bc"},raising_hand_tone2:{category:"people",moji:"🙋🏼",description:"happy person raising one hand tone2",unicodeVersion:"8.0",digest:"59199b334b3845911382c1f29bd7c0d5ef9d2486417345e265b166ead7d3e1c1"},raising_hand_tone3:{category:"people",moji:"🙋🏽",description:"happy person raising one hand tone3",unicodeVersion:"8.0",digest:"f95b338d5efcf14ef12f415a2c1bba93df48628ddc94f34f70c31e1b3c2e1d28"},raising_hand_tone4:{category:"people",moji:"🙋🏾",description:"happy person raising one hand tone4",unicodeVersion:"8.0",digest:"951ddbfdb57d5a60551b59b3d0f7ca00a64912f4a101a73afaebd68445cd6cec"},raising_hand_tone5:{category:"people",moji:"🙋🏿",description:"happy person raising one hand tone5",unicodeVersion:"8.0",digest:"9370f93704d8f89ca6dc946715eab5e7dba82bf04dd68c00f5c0abb8bc16371e"},ram:{category:"nature",moji:"🐏",description:"ram",unicodeVersion:"6.0",digest:"2875ab28e1018b39062aeb0c5ce488c48a98f13e9f2364470a0a700b126604f2"},ramen:{category:"food",moji:"🍜",description:"steaming bowl",unicodeVersion:"6.0",digest:"425662a49c4c13577c0de8d45d004e5ba204aaadbaabae62a5c283ecd7a9a2c5"},rat:{category:"nature",moji:"🐀",description:"rat",unicodeVersion:"6.0",digest:"14380d65498c6ce037c02a93bca2b24f25a368d85278d6015b8c9f7cd261f8e2"},record_button:{category:"symbols",moji:"⏺",description:"black circle for record",unicodeVersion:"7.0",digest:"92be12161ba206bb2e06a39131711c7b17368d55b4aae0b48f0ac5b6b1cde76b"},recycle:{category:"symbols",moji:"♻",description:"black universal recycling symbol",unicodeVersion:"3.2",digest:"c377e8537367b05b5de9be860a0fcabd7aed2bf4ba146eefc423671a21530369"},red_car:{category:"travel",moji:"🚗",description:"automobile",unicodeVersion:"6.0",digest:"8a99832a195263c0e922af53d52dea37aa3e07032b3c2a1977f8527b4a144b9c"},red_circle:{category:"symbols",moji:"🔴",description:"large red circle",unicodeVersion:"6.0",digest:"9dcf0132f6f2cc81702f0e3b15b37984e8439796705bf98f68ba449b3dfa5307"},registered:{category:"symbols",moji:"®",description:"registered sign",unicodeVersion:"1.1",digest:"9661b1df529ecb752d130820c55c403e5de263748eb02f7fea327818bc282d94"},relaxed:{category:"people",moji:"☺",description:"white smiling face",unicodeVersion:"1.1",digest:"2d5aed4fb8504c6d6660ef8d3bfe0cc053dcd6099c2f53748c202dc970c639bc"},relieved:{category:"people",moji:"😌",description:"relieved face",unicodeVersion:"6.0",digest:"b4ce2ba6c220d887fe5e333c05ed773df9b6df0ac456879fd8f5103ff68604a5"},reminder_ribbon:{category:"activity",moji:"🎗",description:"reminder ribbon",unicodeVersion:"7.0",digest:"c3de2a7c9350b77a0b86c0dcce9dcd9953ea8a97aa1e7aed149755924742f54d"},repeat:{category:"symbols",moji:"🔁",description:"clockwise rightwards and leftwards open circle arr",unicodeVersion:"6.0",digest:"b9512d508613ed0eb3181eb1030f7f6fd6b994476ecdfa308733c6df975fb99e"},repeat_one:{category:"symbols",moji:"🔂",description:"clockwise rightwards and leftwards open circle arr",unicodeVersion:"6.0",digest:"53409cf24dd4bb0d7b50ae359f15d06b87b7f4a292ed5c3a09652fa421a90bf2"},restroom:{category:"symbols",moji:"🚻",description:"restroom",unicodeVersion:"6.0",digest:"2e7a1bfc9a9d49b0272230a91db7369e24d54bf1de8e683d36b85f1d8c037f77"},revolving_hearts:{category:"symbols",moji:"💞",description:"revolving hearts",unicodeVersion:"6.0",digest:"c43d3197cb4cf06659f643638f6c4e91a2889e0f6531b7d81ea826c2a8b784fc"},rewind:{category:"symbols",moji:"⏪",description:"black left-pointing double triangle",unicodeVersion:"6.0",digest:"d20c918c1e528ff0947312738501ca9a6fb6ff4016aad07db7a8125d00fd65cd"},rhino:{category:"nature",moji:"🦏",description:"rhinoceros",unicodeVersion:"9.0",digest:"163fa3acd78eead72c431a1f48b8465a6d45272a9169560e456d30b4df93dc6b"},ribbon:{category:"objects",moji:"🎀",description:"ribbon",unicodeVersion:"6.0",digest:"74315fe907f9f0203afe139cd4552aa442eecfa2a64fac12db3e1292fc5a8828"},rice:{category:"food",moji:"🍚",description:"cooked rice",unicodeVersion:"6.0",digest:"f544f12606de59d28739798003f14ebd8869856add8e24496ec5dda3e131daf4"},rice_ball:{category:"food",moji:"🍙",description:"rice ball",unicodeVersion:"6.0",digest:"2cba6f5364cd366859bc8948897b65fc97b225ea7973d9be3b24aba388fed8e8"},rice_cracker:{category:"food",moji:"🍘",description:"rice cracker",unicodeVersion:"6.0",digest:"ac0f805d41d4f322154c1968bd3ce3e9aabcd39d908182e52fd7d28458dbef92"},rice_scene:{category:"travel",moji:"🎑",description:"moon viewing ceremony",unicodeVersion:"6.0",digest:"b942a06d3da0570aca59bab0af57cd8c16863934f12a38f70339fd0a36f675f5"},right_facing_fist:{category:"people",moji:"🤜",description:"right-facing fist",unicodeVersion:"9.0",digest:"f815d1cc0c0345ddcc8886ae9c133582d7dc779732ac9b93dde1ab4fdd3b251d"},right_facing_fist_tone1:{category:"people",moji:"🤜🏻",description:"right facing fist tone 1",unicodeVersion:"9.0",digest:"0f9269b70cf68071d97389e059a2bdacffd73f2afd2ce6cfd7447bb1a4e9abbb"},right_facing_fist_tone2:{category:"people",moji:"🤜🏼",description:"right facing fist tone 2",unicodeVersion:"9.0",digest:"32a9833db853972e49e65aa227fb0512c57362da190aa1cc40e1d64f238e837e"},right_facing_fist_tone3:{category:"people",moji:"🤜🏽",description:"right facing fist tone 3",unicodeVersion:"9.0",digest:"be4706f8bb088411f5cbbf9065a0ae5b773c97456bd975c2b6789765657847b9"},right_facing_fist_tone4:{category:"people",moji:"🤜🏾",description:"right facing fist tone 4",unicodeVersion:"9.0",digest:"1680862891a9d85c4b6f76232a80e2ef7428bcec93087c86eae2efaba9c6a3f7"},right_facing_fist_tone5:{category:"people",moji:"🤜🏿",description:"right facing fist tone 5",unicodeVersion:"9.0",digest:"388715a4bc2178c52bbb3bc2729f57be50acab5d751784c9f3220e86c6b1fbcc"},ring:{category:"people",moji:"💍",description:"ring",unicodeVersion:"6.0",digest:"b5322907222797b5e1786209cda88513e76cd397a40f0a7da24847245c95ef9d"},robot:{category:"people",moji:"🤖",description:"robot face",unicodeVersion:"8.0",digest:"4d788e6ec89279588b036fca6b17f5a981291681df8f90306ecf5c039de40848"},rocket:{category:"travel",moji:"🚀",description:"rocket",unicodeVersion:"6.0",digest:"b82e68a95aa89a6de344d6e256fef86a848ebc91de560b043b3e1f7fd072d57d"},rofl:{category:"people",moji:"🤣",description:"rolling on the floor laughing",unicodeVersion:"9.0",digest:"f4f99ba2ac67b97338f904f9384ff03fb832a2e427bf6e74611bf5fee45f1f48"},roller_coaster:{category:"travel",moji:"🎢",description:"roller coaster",unicodeVersion:"6.0",digest:"a65e9ace1d7900499777af1225995f17af90a398bb414764c20b6e09a8c23a2c"},rolling_eyes:{category:"people",moji:"🙄",description:"face with rolling eyes",unicodeVersion:"8.0",digest:"23dea8100da488a05721a4e82823eb438393b0ea762211c9ecef011d127aa1b7"},rooster:{category:"nature",moji:"🐓",description:"rooster",unicodeVersion:"6.0",digest:"2b90c5cf6fa46da13eb77285443d600afcea0c48bd1d215d60167e7dc510da5d"},rose:{category:"nature",moji:"🌹",description:"rose",unicodeVersion:"6.0",digest:"73799e459dba188de4de704605d824242feeb65d587c5bf9109acf528d037146"},rosette:{category:"activity",moji:"🏵",description:"rosette",unicodeVersion:"7.0",digest:"2537def4deef422d4e669b28b1a0675259306ab38601019df3ec3482b14e52d5"},rotating_light:{category:"travel",moji:"🚨",description:"police cars revolving light",unicodeVersion:"6.0",digest:"91fcdb85a752ae904d335a978c7e7936aed4c75d414b35219b5a74430e51555f"},round_pushpin:{category:"objects",moji:"📍",description:"round pushpin",unicodeVersion:"6.0",digest:"8ffca77bbdc6f1f726daf3abd6eff338a5ad1aa9b09dbbd8782c1e7ef5452f30"},rowboat:{category:"activity",moji:"🚣",description:"rowboat",unicodeVersion:"6.0",digest:"83715d83a061926d4ad3bb569b21f5d337e3ebd4c9bcdfe493e661c12adc0a16"},rowboat_tone1:{category:"activity",moji:"🚣🏻",description:"rowboat tone 1",unicodeVersion:"8.0",digest:"e279ac816442c0876fba1f42c700b80f2fb6de671e1a8a9e9d11b71eed5c58e8"},rowboat_tone2:{category:"activity",moji:"🚣🏼",description:"rowboat tone 2",unicodeVersion:"8.0",digest:"6a48eba352ed4971d26498b6c622e5772389c89c5205ed02acde8e995dddcc3b"},rowboat_tone3:{category:"activity",moji:"🚣🏽",description:"rowboat tone 3",unicodeVersion:"8.0",digest:"875948f6d8354ebd95ce9a66fde30f06a8366dcd89d5ca3e660845f8801e9305"},rowboat_tone4:{category:"activity",moji:"🚣🏾",description:"rowboat tone 4",unicodeVersion:"8.0",digest:"8c7ac7346b0020d0ff5e2f4a1efb1b7785eac637f17556663ec33e2335083f0a"},rowboat_tone5:{category:"activity",moji:"🚣🏿",description:"rowboat tone 5",unicodeVersion:"8.0",digest:"a399dbb647892b22323e0bf17bc36a9b5f1708ebedf9ba525233ee7b9d48339a"},rugby_football:{category:"activity",moji:"🏉",description:"rugby football",unicodeVersion:"6.0",digest:"cc6f00ade3e0bbb7899e7bfb138b57216dd66de26d7967d5ffa501f382ed09f4"},runner:{category:"people",moji:"🏃",description:"runner",unicodeVersion:"6.0",digest:"e9af7b591be60ade2049dbada0f062ba2d3e17f02bec76cbd34ce68854a2a10c"},runner_tone1:{category:"people",moji:"🏃🏻",description:"runner tone 1",unicodeVersion:"8.0",digest:"21091cbb09c558712ecf63548bf28b7995df42bdb85235088799a517800e52f5"},runner_tone2:{category:"people",moji:"🏃🏼",description:"runner tone 2",unicodeVersion:"8.0",digest:"1fe3d194f675a46fe67799394192e66c407dd81163363692c5e7da32ddb9af2b"},runner_tone3:{category:"people",moji:"🏃🏽",description:"runner tone 3",unicodeVersion:"8.0",digest:"8cea1bf4ef3be71f42dc5bae978d5b7a197a3851543225349ef0dda29a370537"},runner_tone4:{category:"people",moji:"🏃🏾",description:"runner tone 4",unicodeVersion:"8.0",digest:"c33f0b8b5a71d295fb6ba322e79446964a8eca9e4573efd591e4273808b088a0"},runner_tone5:{category:"people",moji:"🏃🏿",description:"runner tone 5",unicodeVersion:"8.0",digest:"9f59e6dd0fdf2f17bceb41f5c355b4e6f3c8bb8cbd8af0992f0b5630ff8892e8"},running_shirt_with_sash:{category:"activity",moji:"🎽",description:"running shirt with sash",unicodeVersion:"6.0",digest:"7542307d3595aca45e8ccae66b6e58b6e92870144b738263d5379ec6dc992b76"},sa:{category:"symbols",moji:"🈂",description:"squared katakana sa",unicodeVersion:"6.0",digest:"6042bcabd1516ef3847d695aba22851c49421244432d256e24eba04e8a223dab"},sagittarius:{category:"symbols",moji:"♐",description:"sagittarius",unicodeVersion:"1.1",digest:"a02593e025023f2e82a01c587a8c0bbb1eff88cbcabf535a1558413eb32ed1d5"},sailboat:{category:"travel",moji:"⛵",description:"sailboat",unicodeVersion:"5.2",digest:"c95ef4dc939cbdcb757ef3cd90331310e8c0a426add8cc800bae2540148a3195"},sake:{category:"food",moji:"🍶",description:"sake bottle and cup",unicodeVersion:"6.0",digest:"0a786075f3d9da48ae91afccf6ae0d097888da9509d354ee1d3cb99afcc88fe4"},salad:{category:"food",moji:"🥗",description:"green salad",unicodeVersion:"9.0",digest:"fe321487ab847abe670e68a83f1d9e096129741c689c769ee7de4a65aeac29f8"},sandal:{category:"people",moji:"👡",description:"womans sandal",unicodeVersion:"6.0",digest:"03c3077cb4bd900934f9bdf921165b465e5cc9a6bee53e45a091411bceb8892d"},santa:{category:"people",moji:"🎅",description:"father christmas",unicodeVersion:"6.0",digest:"178513e3d815917e59958870f5885b3414b43a16b8056980c863a468dfe00179"},santa_tone1:{category:"people",moji:"🎅🏻",description:"father christmas tone 1",unicodeVersion:"8.0",digest:"bf900bbc19bbd329229add9326e28e8197b69d6ddceb69f42162b0200fde5d16"},santa_tone2:{category:"people",moji:"🎅🏼",description:"father christmas tone 2",unicodeVersion:"8.0",digest:"7340f2171adab97198e3eecac8b0d84c4c2a41f84606301a0d10e9fe655c93d1"},santa_tone3:{category:"people",moji:"🎅🏽",description:"father christmas tone 3",unicodeVersion:"8.0",digest:"7368ab75454ec28d8f7d6baef6ad69b5278445a9f50753f6624731bffde32054"},santa_tone4:{category:"people",moji:"🎅🏾",description:"father christmas tone 4",unicodeVersion:"8.0",digest:"0ee60188353e0ee7772079c192bebbc6d49e74e63906f840c66da4eb35f4f245"},santa_tone5:{category:"people",moji:"🎅🏿",description:"father christmas tone 5",unicodeVersion:"8.0",digest:"e4378a0cc5d21e9b9fe6e35c32d1ebc6fb8c2e1c09554cd096aeaefd3a6eb511"},satellite:{category:"objects",moji:"📡",description:"satellite antenna",unicodeVersion:"6.0",digest:"c9d63118dcb445856917bb080460ab695cc78e715dcbba30ba18dffa9e906b27"},satellite_orbital:{category:"travel",moji:"🛰",description:"satellite",unicodeVersion:"7.0",digest:"beb2f50e7f2b010e76bed9daa95d7329a93c783d3ebc4f0b797dd721c5e3d32d"},saxophone:{category:"activity",moji:"🎷",description:"saxophone",unicodeVersion:"6.0",digest:"dfd138634f6702a3b89b5a2a50016720eef3f800b0d1d8c9fe097808c9491e96"},scales:{category:"objects",moji:"⚖",description:"scales",unicodeVersion:"4.1",digest:"2280c026f16c6b92e0daa00bc14e718770f8d231c571ab439bde84d837cf31cc"},school:{category:"travel",moji:"🏫",description:"school",unicodeVersion:"6.0",digest:"af198b068a86ccad3daec4c6873e6b4735086c1ecbb3848182e70bae9aa3ee24"},school_satchel:{category:"people",moji:"🎒",description:"school satchel",unicodeVersion:"6.0",digest:"f670ae8aea67eb9d8aaa0bf2748c1cc3e503dcc1dbe999133afcdf21af046b24"},scissors:{category:"objects",moji:"✂",description:"black scissors",unicodeVersion:"1.1",digest:"95225be28f05d8b5a6b6e6bf58d973f61f183ad4fef55a558dc1b810796b85c8"},scooter:{category:"travel",moji:"🛴",description:"scooter",unicodeVersion:"9.0",digest:"4a7db148880398db75e059711cb53edefb6b8fa9d442009f52856b887ab1dde4"},scorpion:{category:"nature",moji:"🦂",description:"scorpion",unicodeVersion:"8.0",digest:"d41119d1ea5daf727c17dbea7dadec1718c72fc9f98ae88252161df5fde0938a"},scorpius:{category:"symbols",moji:"♏",description:"scorpius",unicodeVersion:"1.1",digest:"a36404b408814c2ecb8fa8b61f5c5432dfcf54cae8c09cc67b8d0fadf7cbdc03"},scream:{category:"people",moji:"😱",description:"face screaming in fear",unicodeVersion:"6.0",digest:"916e4903a4b694da4b00f190f872a4e100e7736b7a2e6171fa1636f46bf646e6"},scream_cat:{category:"people",moji:"🙀",description:"weary cat face",unicodeVersion:"6.0",digest:"f1d3a6ff538064e7d5e0321bbc33aba44e8da703dc1894ef1403c0cd6d63d781"},scroll:{category:"objects",moji:"📜",description:"scroll",unicodeVersion:"6.0",digest:"9b2cb00860bcc2d20017cafb2ed9681b6232dc07273d489d75d53ce29e4ba3ab"},seat:{category:"travel",moji:"💺",description:"seat",unicodeVersion:"6.0",digest:"ae68d86fc2a07cae332451b23bd1ceba3f6526a6c56d8c1089777fa4632850e1"},second_place:{category:"activity",moji:"🥈",description:"second place medal",unicodeVersion:"9.0",digest:"9e2336fc16e532829b55380252f94655b58817d47c909fc2570002c5b06b9c40"},secret:{category:"symbols",moji:"㊙",description:"circled ideograph secret",unicodeVersion:"1.1",digest:"1d0b9adde2657f41421b135962de20820cf4b4eb0204044f9859522ab9d211b0"},see_no_evil:{category:"nature",moji:"🙈",description:"see-no-evil monkey",unicodeVersion:"6.0",digest:"3ff66d2e84b36d071d0a34f8e41cfd620a56b83131474ea50ed7803b635551ed"},seedling:{category:"nature",moji:"🌱",description:"seedling",unicodeVersion:"6.0",digest:"c0ec5e6d20e1afdc4e78eeddb1301c8b708ad6278e7287a4e4e825417c858e75"},selfie:{category:"people",moji:"🤳",description:"selfie",unicodeVersion:"9.0",digest:"2a1bc9f18ad4d6fb893d91c88ef1b2d9bd063dc2bb1a4b08c248c30f52545d4e"},selfie_tone1:{category:"people",moji:"🤳🏻",description:"selfie tone 1",unicodeVersion:"9.0",digest:"26dc212ffed30c276bd6a66a72bc4513e68098a2205fb4ca5b51ccfa1de5b544"},selfie_tone2:{category:"people",moji:"🤳🏼",description:"selfie tone 2",unicodeVersion:"9.0",digest:"71eceaefda46e3521f374f76693e7fa8f215067498067900080e2925ca94d7de"},selfie_tone3:{category:"people",moji:"🤳🏽",description:"selfie tone 3",unicodeVersion:"9.0",digest:"53eabbd4f6b8ebbd2f7af7bf5cd64309c4039ac1c5b2180290a547deaafcebdf"},selfie_tone4:{category:"people",moji:"🤳🏾",description:"selfie tone 4",unicodeVersion:"9.0",digest:"0baad378b09652b99c5d458db2e03b4db14a1557db4ea0969806a0ca1d33d40c"},selfie_tone5:{category:"people",moji:"🤳🏿",description:"selfie tone 5",unicodeVersion:"9.0",digest:"9a07608f34ec4dad48764a855f83f3965709d7b2fd2342e6dc9ed61f23f4adfd"},seven:{category:"symbols",moji:"7️⃣",description:"keycap digit seven",unicodeVersion:"3.0",digest:"ae85172d2c76c44afb4e3b45d277d400abb2dc895244b9abfbd1dac1cd7c53c2"},shallow_pan_of_food:{category:"food",moji:"🥘",description:"shallow pan of food",unicodeVersion:"9.0",digest:"7c7ad9d5d3f7226427d310b5853e8257fad899febe58dcbc5adb4677964f5c6d"},shamrock:{category:"nature",moji:"☘",description:"shamrock",unicodeVersion:"4.1",digest:"68ed70c26e04a818439a1742d2da6bc169edd02db86b6e6f8014b651f3235488"},shark:{category:"nature",moji:"🦈",description:"shark",unicodeVersion:"9.0",digest:"23a2364b6356e7bbb84c138e9cf58e2c68cd8caabb337a0c4d365ce87bf5d2da"},shaved_ice:{category:"food",moji:"🍧",description:"shaved ice",unicodeVersion:"6.0",digest:"54048e77268b7548d03088517bf8558d11324db901ca57f9bec93f1873663a74"},sheep:{category:"nature",moji:"🐑",description:"sheep",unicodeVersion:"6.0",digest:"c867c8e6e51768f1f51f4fe5abd3fbd5c1d69b01a3cb48b5fb94b6e2338a271c"},shell:{category:"nature",moji:"🐚",description:"spiral shell",unicodeVersion:"6.0",digest:"8983652d33ad6ab91195518cecb5a268a1c0ae603d271f0ddd756ff50058ddb3"},shield:{category:"objects",moji:"🛡",description:"shield",unicodeVersion:"7.0",digest:"763d0a56a62c51c730ccb0fbea38ab597cbf41a85ab968198e6ec35630d50aa5"},shinto_shrine:{category:"travel",moji:"⛩",description:"shinto shrine",unicodeVersion:"5.2",digest:"38a6d756c5aa9703510afa5076d75192f7814bbb6632394d4b8253d9ceda7f8c"},ship:{category:"travel",moji:"🚢",description:"ship",unicodeVersion:"6.0",digest:"79c680845892a3e81ec6af2160ee07c29147155943e5daba6c76d04252014c20"},shirt:{category:"people",moji:"👕",description:"t-shirt",unicodeVersion:"6.0",digest:"46c7253e15d7cac03699ddb1550fbb7565bbe487310f7e218c0583aa69f9d3c5"},shopping_bags:{category:"objects",moji:"🛍",description:"shopping bags",unicodeVersion:"7.0",digest:"95a3f03c675207bb1354270d02a630c204455c47b3edca23c48523a40cf3ea3b"},shopping_cart:{category:"objects",moji:"🛒",description:"shopping trolley",unicodeVersion:"9.0",digest:"4599b63f6861cdb4d8272cac84435c24c1d4d6a73c66d51e04a1cd14a1d333e6"},shower:{category:"objects",moji:"🚿",description:"shower",unicodeVersion:"6.0",digest:"6b3c767c0eb472d4861c6c3cc2735a5e2c09681872ef42a11dc89f3c80b9da01"},shrimp:{category:"nature",moji:"🦐",description:"shrimp",unicodeVersion:"9.0",digest:"b3651f3be3767125076a013fe903854f5b456a8afae865cb219cf528e0f44caa"},shrug:{category:"people",moji:"🤷",description:"shrug",unicodeVersion:"9.0",digest:"6e264243cc3b6e396069dea4357a958bdcd4081cb1af0ed6aa47235bef88cf27"},shrug_tone1:{category:"people",moji:"🤷🏻",description:"shrug tone 1",unicodeVersion:"9.0",digest:"0567b9fd95c8a857914003a5465a500ca79c8111811d45b865021b1b1d92d0b1"},shrug_tone2:{category:"people",moji:"🤷🏼",description:"shrug tone 2",unicodeVersion:"9.0",digest:"1557c2f5e3d4599c806d74c0b78afcca940678787534b6862bb89a20601bac8a"},shrug_tone3:{category:"people",moji:"🤷🏽",description:"shrug tone 3",unicodeVersion:"9.0",digest:"f02754541a7bf74ba7eebe6c27daf1e3e1dac25172c35b8ba45641e278dfda3d"},shrug_tone4:{category:"people",moji:"🤷🏾",description:"shrug tone 4",unicodeVersion:"9.0",digest:"2b5121164cb5f4e253d8fb31f6445cf8afaf30dba41732edc511440cdb78d15c"},shrug_tone5:{category:"people",moji:"🤷🏿",description:"shrug tone 5",unicodeVersion:"9.0",digest:"62d99a26bbad479f574f66208c41b9960cd41fb9d79d3a13fbdaa44682077115"},signal_strength:{category:"symbols",moji:"📶",description:"antenna with bars",unicodeVersion:"6.0",digest:"2c6f04ba4ecd2d2d423e19eb52cfbfd253f4db6e0908d91c1af4ea6192597447"},six:{category:"symbols",moji:"6️⃣",description:"keycap digit six",unicodeVersion:"3.0",digest:"cede9324261208d0fd5d00fcdfc0df0331944bd9cff4f40b30a582a641526c1c"},six_pointed_star:{category:"symbols",moji:"🔯",description:"six pointed star with middle dot",unicodeVersion:"6.0",digest:"9203e3b4f08af439ae0bfb6a7b29a02dceb027b6c2dc5463b524dfd314cbff4e"},ski:{category:"activity",moji:"🎿",description:"ski and ski boot",unicodeVersion:"6.0",digest:"80f0ca8660ba373fef823af9e98e148c4ddb1e217eb6d0a0ea2bae2288b57570"},skier:{category:"activity",moji:"⛷",description:"skier",unicodeVersion:"5.2",digest:"4fff0aa155367f551a59aed9657b8afa159173882b25db9cd8434293d1eed76d"},skull:{category:"people",moji:"💀",description:"skull",unicodeVersion:"6.0",digest:"cdd2031164281bf2b0083df4479651d96bc16d11e44bac4deaf402a9c0d6f40a"},skull_crossbones:{category:"objects",moji:"☠",description:"skull and crossbones",unicodeVersion:"1.1",digest:"ae764ba21a1fcc4409f4cc9e75a261d70b87548f64158dbd3451374ad5724123"},sleeping:{category:"people",moji:"😴",description:"sleeping face",unicodeVersion:"6.1",digest:"1050a011509b56735c9f30a6fccc876256e2a4546dc6052e518151c8aca4b526"},sleeping_accommodation:{category:"objects",moji:"🛌",description:"sleeping accommodation",unicodeVersion:"7.0",digest:"2ce42c027d1d0947abc403c359fd668a7bc44f5ead2582e97f3db7dd4e22e5d5"},sleepy:{category:"people",moji:"😪",description:"sleepy face",unicodeVersion:"6.0",digest:"2ee9bb1f72ef99e0e33095ec2bbf7a58ffea0ff7d40b840f4cdba57be9de74b0"},slight_frown:{category:"people",moji:"🙁",description:"slightly frowning face",unicodeVersion:"7.0",digest:"d71d564a6c2d366a8e28a78ef4e07d387a77037fe8c99aa0ea1571299dc490c9"},slight_smile:{category:"people",moji:"🙂",description:"slightly smiling face",unicodeVersion:"7.0",digest:"10f4b66a755f5c78762a330f20d1866e4a22f3f1d495161d758d3bab8d2f36fe"},slot_machine:{category:"activity",moji:"🎰",description:"slot machine",unicodeVersion:"6.0",digest:"914184788f8cd865cd074dca25c22acee31f5498117bd9a6e78cae67e6601652"},small_blue_diamond:{category:"symbols",moji:"🔹",description:"small blue diamond",unicodeVersion:"6.0",digest:"0b56d8e6b5ddf1f49fcc76e45e5fb2ee9f99ae6ffe682c26eaea4d9b7faac36c"},small_orange_diamond:{category:"symbols",moji:"🔸",description:"small orange diamond",unicodeVersion:"6.0",digest:"a2235830550e289c1608f2dcf5ede48f5c1a0eff45570699c39708c9677ab950"},small_red_triangle:{category:"symbols",moji:"🔺",description:"up-pointing red triangle",unicodeVersion:"6.0",digest:"8c2985c4e9ce42d2f3b35539b879bc36206c5ef749f39fbd1eac51bd2676e1e5"},small_red_triangle_down:{category:"symbols",moji:"🔻",description:"down-pointing red triangle",unicodeVersion:"6.0",digest:"46bd328df2fbf5d0597596bbf00d2d5f6e0c65bcb8f3fb325df8ba0c25e445b5"},smile:{category:"people",moji:"😄",description:"smiling face with open mouth and smiling eyes",unicodeVersion:"6.0",digest:"14905c372d5bf7719bd727c9efae31a03291acec79801652a23710c6848c5d14"},smile_cat:{category:"people",moji:"😸",description:"grinning cat face with smiling eyes",unicodeVersion:"6.0",digest:"c35b76d6df100edb4022d762f47abfeb9f5e70886960c1d25908bd5d57ccb47e"},smiley:{category:"people",moji:"😃",description:"smiling face with open mouth",unicodeVersion:"6.0",digest:"a89f31eb9d814636852517a7f4eadec59195e2ac2cc9f8d124f1a1cc0f775b4a"},smiley_cat:{category:"people",moji:"😺",description:"smiling cat face with open mouth",unicodeVersion:"6.0",digest:"3e66a113c5e3e73fb94be29084cb27986b6bdb0e78ab44785bf2a35a550e71bf"},smiling_imp:{category:"people",moji:"😈",description:"smiling face with horns",unicodeVersion:"6.0",digest:"3e02131d16525938f6facc7e097365dec7e13c8a0049a3be35fc29c80cc291b3"},smirk:{category:"people",moji:"😏",description:"smirking face",unicodeVersion:"6.0",digest:"3c180d46f5574d6fca3bb68eb02517da60b7008843cb3e90f2f9620d0c8ee943"},smirk_cat:{category:"people",moji:"😼",description:"cat face with wry smile",unicodeVersion:"6.0",digest:"0683c7f73e1f65984e91313607d7cca21d99acd4b2e9932f00e0fffd0ce90742"},smoking:{category:"objects",moji:"🚬",description:"smoking symbol",unicodeVersion:"6.0",digest:"baa9cb444bf0fe5c74358f981b19bc9e5c0415ced7f042baf93642282476ea61"},snail:{category:"nature",moji:"🐌",description:"snail",unicodeVersion:"6.0",digest:"5733bf3672ae4b2b3e090fa670aeac70dcbcc04ca5b13abc8c8e53b8b3d4ff33"},snake:{category:"nature",moji:"🐍",description:"snake",unicodeVersion:"6.0",digest:"18da2d97c771149ef5454dd23470e900903a62ab93f9e2ce301aad5a8181d773"},sneezing_face:{category:"people",moji:"🤧",description:"sneezing face",unicodeVersion:"9.0",digest:"c20ef571dc7e35572fe3c18b7845aefc89af083ea925c48a29de3b7387af6e17"},snowboarder:{category:"activity",moji:"🏂",description:"snowboarder",unicodeVersion:"6.0",digest:"c6e074139b851aa53b1ba6464d84da14b3da7412fc44c6c196a8469d76915c19"},snowflake:{category:"nature",moji:"❄",description:"snowflake",unicodeVersion:"1.1",digest:"6556c918e181df01ba849e76c43972d5310439971e5d8fc2409d112c05bf0028"},snowman:{category:"nature",moji:"⛄",description:"snowman without snow",unicodeVersion:"5.2",digest:"6137456b2335e88e09c1859615eb22bb636355ef438f7a3949ad2f3d54478dd3"},snowman2:{category:"nature",moji:"☃",description:"snowman",unicodeVersion:"1.1",digest:"33ec75c22a13c81fa3c6b24a77ac1a08dc0dbe70b3716cf17b6702014d8a63fe"},sob:{category:"people",moji:"😭",description:"loudly crying face",unicodeVersion:"6.0",digest:"d1ed4b31861f9f9fd4e9c95a9c17530e2320a1b4cad6ececb1545ce25d65e4ce"},soccer:{category:"activity",moji:"⚽",description:"soccer ball",unicodeVersion:"5.2",digest:"6a3f2e6a9a0b64c3fbf8705995792091daf386a4112dba75507a1f556f662f84"},soon:{category:"symbols",moji:"🔜",description:"soon with rightwards arrow above",unicodeVersion:"6.0",digest:"a49d1bcfbac3e6ccc05b9a9863eff74b0eb8b4d4b22b8b0f7b2787fcba1c73cc"},sos:{category:"symbols",moji:"🆘",description:"squared sos",unicodeVersion:"6.0",digest:"2fa7e0274383aeed6019eb9177e778d7aab8b88575b078b0ffeb77cd18df14b3"},sound:{category:"symbols",moji:"🔉",description:"speaker with one sound wave",unicodeVersion:"6.0",digest:"faaca7b315b2495cbc381468580d25f1d11362441c35bb43d8a914f2ec8202d2"},space_invader:{category:"activity",moji:"👾",description:"alien monster",unicodeVersion:"6.0",digest:"e75379cb5063f9a8861d762ad1886097c1697fbb61f2e4e8f531047955a4a2dd"},spades:{category:"symbols",moji:"♠",description:"black spade suit",unicodeVersion:"1.1",digest:"2c4d20f6a4893cfc62498d3f1f8f67577f39ed09f3e6682d8cb9cd8f365d30da"},spaghetti:{category:"food",moji:"🍝",description:"spaghetti",unicodeVersion:"6.0",digest:"6d3451dc0faa1913539edb99261448f51735f269b61193c53dfe63466c0191e8"},sparkle:{category:"symbols",moji:"❇",description:"sparkle",unicodeVersion:"1.1",digest:"7131163cd6c2f879110c86e9f068c33cf580f7c4b619449c41851fe6083402ee"},sparkler:{category:"travel",moji:"🎇",description:"firework sparkler",unicodeVersion:"6.0",digest:"88539ed8a13bd66e0c265c0913bd3ec2ddc4d95484323595713beb102221a1f6"},sparkles:{category:"nature",moji:"✨",description:"sparkles",unicodeVersion:"6.0",digest:"cf84d16b1c0a381d5a7ae79031872747c9a6887eab6e92cc4a10a4b8600ef506"},sparkling_heart:{category:"symbols",moji:"💖",description:"sparkling heart",unicodeVersion:"6.0",digest:"b80b1ddef83b6528b309a194f6f2faf5acab603daeb9254523efc2b941bcb6d2"},speak_no_evil:{category:"nature",moji:"🙊",description:"speak-no-evil monkey",unicodeVersion:"6.0",digest:"d2d7cfb4d471928a496bdc146890adc8422a68500b68115630b24c125d18e81f"},speaker:{category:"symbols",moji:"🔈",description:"speaker",unicodeVersion:"6.0",digest:"dbca5f7181728d2ad67ff76fd566ffbdf53e333e7eeed341f54668bd47969413"},speaking_head:{category:"people",moji:"🗣",description:"speaking head in silhouette",unicodeVersion:"7.0",digest:"4be1af79b4506c00af4df64663413bcbae195dab0bc63c5011feb8f9663ed544"},speech_balloon:{category:"symbols",moji:"💬",description:"speech balloon",unicodeVersion:"6.0",digest:"817100d9979456e7d2f253ac22e13b7a2302dc1590566214915b003e403c53ca"},speech_left:{category:"symbols",moji:"🗨",description:"left speech bubble",unicodeVersion:"7.0",digest:"912797107d574f5665411498b6e349dbdec69846f085b6dc356548c4155e90b0"},speedboat:{category:"travel",moji:"🚤",description:"speedboat",unicodeVersion:"6.0",digest:"a523b2320f0b24be1e9fdbc1ff828e28d8fd9a64d51e5888ab453ef0bc9f0576"},spider:{category:"nature",moji:"🕷",description:"spider",unicodeVersion:"7.0",digest:"8411eac0c1b80926fd93cc1d6423e00b05d04c485b79ee232da8f1714e899a37"},spider_web:{category:"nature",moji:"🕸",description:"spider web",unicodeVersion:"7.0",digest:"2434bdfbe56dcc4a43699dd59b638af431486b52fb1d6d685451f3b231b2be23"},spoon:{category:"food",moji:"🥄",description:"spoon",unicodeVersion:"9.0",digest:"4fa31d59e5bffd2c45a8e01fcd5652e78a5691cbfa744e69882bc67173ddea05"},spy:{category:"people",moji:"🕵",description:"sleuth or spy",unicodeVersion:"7.0",digest:"99fe3cdeff934726ee5855b0e401bf32570084aaad4eb10df837fd410ca742aa"},spy_tone1:{category:"people",moji:"🕵🏻",description:"sleuth or spy tone 1",unicodeVersion:"8.0",digest:"1720a99064061c43c7647b6bd517efa2ee2621b355a644adfb347d62849366a2"},spy_tone2:{category:"people",moji:"🕵🏼",description:"sleuth or spy tone 2",unicodeVersion:"8.0",digest:"23ff0026723f2b5a46fbfb55e24c4a4a33af2bd96808b3ea3af76aae99965d68"},spy_tone3:{category:"people",moji:"🕵🏽",description:"sleuth or spy tone 3",unicodeVersion:"8.0",digest:"1d0cb3d54fb61e4763a4f0642ef32094bdd40832be0d42799ce9ba69773616df"},spy_tone4:{category:"people",moji:"🕵🏾",description:"sleuth or spy tone 4",unicodeVersion:"8.0",digest:"e36a4b52df6cb954fab9d9128111f1301c6d46bdeacf51993ffb5bb354cd0ad3"},spy_tone5:{category:"people",moji:"🕵🏿",description:"sleuth or spy tone 5",unicodeVersion:"8.0",digest:"ffc6fefd9a537124ebf0a9ddf387414dce1291335026064644f6cf9315591129"},squid:{category:"nature",moji:"🦑",description:"squid",unicodeVersion:"9.0",digest:"65a1b318c2c506b9d26cfd8282a5cf9922109595c8d12e92c3f7481ac7c08c49"},stadium:{category:"travel",moji:"🏟",description:"stadium",unicodeVersion:"7.0",digest:"73bf955e767ba1518c9c92b2ba59a2aa1ec4b018652dffd97bcd74832a33789f"},star:{category:"nature",moji:"⭐",description:"white medium star",unicodeVersion:"5.1",digest:"d78e5c1b78caed103e100150c10b08a9ca3ee30c243943d6fc3cc08f422122e9"},star2:{category:"nature",moji:"🌟",description:"glowing star",unicodeVersion:"6.0",digest:"f91ac4afe3f5d4a52847ae8b4a9704b591e00399aebba553d150d7e34ee939fa"},star_and_crescent:{category:"symbols",moji:"☪",description:"star and crescent",unicodeVersion:"1.1",digest:"1bf3d29e50034f5e7c0dccff0a3a533b74bfa9b489e357b2739a473311f1332a"},star_of_david:{category:"symbols",moji:"✡",description:"star of david",unicodeVersion:"1.1",digest:"28a0bd0eeac9d0835ceb8425d72c2472464e863dd09b76a0ddc1c08cf1986402"},stars:{category:"travel",moji:"🌠",description:"shooting star",unicodeVersion:"6.0",digest:"837d9045316b8fb5e533457eac61241534f641eb78d8cb75f688f80fb8e8a7f0"},station:{category:"travel",moji:"🚉",description:"station",unicodeVersion:"6.0",digest:"27a163ac0aea4ed247a121cae826eafc475977c68b0d888e9405bea14326ff56"},statue_of_liberty:{category:"travel",moji:"🗽",description:"statue of liberty",unicodeVersion:"6.0",digest:"f5a43599ab3f24ed3a78a745e06e2ac3e33107a292386ad81c67935ee5b22493"},steam_locomotive:{category:"travel",moji:"🚂",description:"steam locomotive",unicodeVersion:"6.0",digest:"52ad0073f37b978faf3884fb193046f2b0614e1557bbcc9de1b020e42aff2dba"},stew:{category:"food",moji:"🍲",description:"pot of food",unicodeVersion:"6.0",digest:"c16f61236db314ad8d9f2dd241ec1e15c8d64e5872cce93ec4d0996490dd39df"},stop_button:{category:"symbols",moji:"⏹",description:"black square for stop",unicodeVersion:"7.0",digest:"83f9d0da3ad845fef41b4e8336815d30e9c8f042ab2a8340894ade2f428fc98a"},stopwatch:{category:"objects",moji:"⏱",description:"stopwatch",unicodeVersion:"6.0",digest:"9b6b9491a24d8ab4f896eb876da7973f028bd5e7c51a3767ba7e61bb6fbb2be0"},straight_ruler:{category:"objects",moji:"📏",description:"straight ruler",unicodeVersion:"6.0",digest:"cee31101767bd3f961363599924dc3790675d05a1285a8396428d2f91771c111"},strawberry:{category:"food",moji:"🍓",description:"strawberry",unicodeVersion:"6.0",digest:"5750a15e12f21259286ddbc3a8222a385b3b97a9f368897f42dd000060343174"},stuck_out_tongue:{category:"people",moji:"😛",description:"face with stuck-out tongue",unicodeVersion:"6.1",digest:"92dc42980a6dfdd7204fc874a762d6a0bbf0fdbfb5a7c0698fca04782e99fde6"},stuck_out_tongue_closed_eyes:{category:"people",moji:"😝",description:"face with stuck-out tongue and tightly-closed eyes",unicodeVersion:"6.0",digest:"434d25ac24cad7ba699eae876a25d9a99b584449cca50b124bf6aa7f20a83d51"},stuck_out_tongue_winking_eye:{category:"people",moji:"😜",description:"face with stuck-out tongue and winking eye",unicodeVersion:"6.0",digest:"dbacd6428a2a2933212e6a4dc0c7f302177fb23b963626ccb26f27f91737f03d"},stuffed_flatbread:{category:"food",moji:"🥙",description:"stuffed flatbread",unicodeVersion:"9.0",digest:"9f841f2520640d69be4f20a3199023d5811842b28556b5e1152e5ec11f0fda07"},sun_with_face:{category:"nature",moji:"🌞",description:"sun with face",unicodeVersion:"6.0",digest:"7256ff5263006c64c03f1eb66e3ddb56d67d785d65dacc37aa886d0cd4be63be"},sunflower:{category:"nature",moji:"🌻",description:"sunflower",unicodeVersion:"6.0",digest:"27d1161f50f932a6b26c404cf2e8f7083683ed0f2382d62b7472acccaa6eb695"},sunglasses:{category:"people",moji:"😎",description:"smiling face with sunglasses",unicodeVersion:"6.0",digest:"966684382e5c59e98319e4c0ea7c304c61c2638ad5408faa49ce2c83c4416757"},sunny:{category:"nature",moji:"☀",description:"black sun with rays",unicodeVersion:"1.1",digest:"460fea4cbbdd1595450c1033a2ee5de7fea2e2f147822efa49f7e204812415aa"},sunrise:{category:"travel",moji:"🌅",description:"sunrise",unicodeVersion:"6.0",digest:"7718a49636b0cdd1862ed67c7a9d6e72f471c2591ff0d912485b1be55d1ea115"},sunrise_over_mountains:{category:"travel",moji:"🌄",description:"sunrise over mountains",unicodeVersion:"6.0",digest:"743d0701cdbe2a814962363813c3153d3c5e62c3e410349f56d49dbb9581f356"},surfer:{category:"activity",moji:"🏄",description:"surfer",unicodeVersion:"6.0",digest:"bb440775e9213430942015c37db8de58b5a561ee971b2a0f3993fc3f1d2554d4"},surfer_tone1:{category:"activity",moji:"🏄🏻",description:"surfer tone 1",unicodeVersion:"8.0",digest:"a4937b030aca30b68bb644f37cf63c38aebce3c00b57d1c8a0ffe596b57d2f1e"},surfer_tone2:{category:"activity",moji:"🏄🏼",description:"surfer tone 2",unicodeVersion:"8.0",digest:"1c2a954a9c5284dedf0327d6f3c954c9fdd3953b848076d298874775ad8bf0a3"},surfer_tone3:{category:"activity",moji:"🏄🏽",description:"surfer tone 3",unicodeVersion:"8.0",digest:"418a3408b9ab026124f067c8597b500217e56bc28d9844a29eea5eee6f604ff8"},surfer_tone4:{category:"activity",moji:"🏄🏾",description:"surfer tone 4",unicodeVersion:"8.0",digest:"530870b9ac9f4d45ff750e264feb90b44fb93ca2852f323987b06f5f12fb5a4d"},surfer_tone5:{category:"activity",moji:"🏄🏿",description:"surfer tone 5",unicodeVersion:"8.0",digest:"40e11b1ae652cfd085d083377f1da24160065ed1b67403c6fa4655e6e44169ec"},sushi:{category:"food",moji:"🍣",description:"sushi",unicodeVersion:"6.0",digest:"b924c621236ca3284b349b0509ae1043f2fc2c7f6d67615716f9717ada78c992"},suspension_railway:{category:"travel",moji:"🚟",description:"suspension railway",unicodeVersion:"6.0",digest:"cd3d21da79864f0c018b863e82fb0561fff3c5e3c065303cfcb89c3663d638ba"},sweat:{category:"people",moji:"😓",description:"face with cold sweat",unicodeVersion:"6.0",digest:"1aa771479aa1ac5eeea4bafbe93ebd85a0f692f6d869034f31e25b689c2e264d"},sweat_drops:{category:"nature",moji:"💦",description:"splashing sweat symbol",unicodeVersion:"6.0",digest:"b575b85415bc9852cf6415d417ebf799167fde03c6819ebcaa24ae1b3dde8dab"},sweat_smile:{category:"people",moji:"😅",description:"smiling face with open mouth and cold sweat",unicodeVersion:"6.0",digest:"171b0d0845d46c33bedb6d3b39fb1ff366e22ba90685eedabebd91bb2b0680de"},sweet_potato:{category:"food",moji:"🍠",description:"roasted sweet potato",unicodeVersion:"6.0",digest:"4b91920f0b87d42763313bc476f4c821a74e4c12dc1c92165a859dddeaaf8844"},swimmer:{category:"activity",moji:"🏊",description:"swimmer",unicodeVersion:"6.0",digest:"2c4ed4a51aad99d9957ae11a219d5164db9748fc3a65002c6085a9f15adfa9e2"},swimmer_tone1:{category:"activity",moji:"🏊🏻",description:"swimmer tone 1",unicodeVersion:"8.0",digest:"48588f129ee4af52ca2e0f4594213391978601087cd607896b2f979ca077284b"},swimmer_tone2:{category:"activity",moji:"🏊🏼",description:"swimmer tone 2",unicodeVersion:"8.0",digest:"fff209448524bd1ef4d6decabf6c1ead94c8d3d5b1bfb5e54f20cc8e139232fc"},swimmer_tone3:{category:"activity",moji:"🏊🏽",description:"swimmer tone 3",unicodeVersion:"8.0",digest:"2003932cb2cf4ae9a10b23338bf375a9293fb18c0ecf91bdfae73be6eebb3800"},swimmer_tone4:{category:"activity",moji:"🏊🏾",description:"swimmer tone 4",unicodeVersion:"8.0",digest:"20b4bff9baa1c694ad98067dde834c56092f023b9664bec382c2e512232bd480"},swimmer_tone5:{category:"activity",moji:"🏊🏿",description:"swimmer tone 5",unicodeVersion:"8.0",digest:"0ff8eb57c2be8e80a1bc6ba75b8d9ffb9bd8d3be636150c4c03399ec1886f218"},symbols:{category:"symbols",moji:"🔣",description:"input symbol for symbols",unicodeVersion:"6.0",digest:"2a2a79816c4d0751a0d73586eec5e63b410653d3c85cc968906bf1fc03d89b94"},synagogue:{category:"travel",moji:"🕍",description:"synagogue",unicodeVersion:"8.0",digest:"98569cdd7c61528963b67b7891dfa46025c5e810cbb22ee18ddb3bd85de2da69"},syringe:{category:"objects",moji:"💉",description:"syringe",unicodeVersion:"6.0",digest:"e1538e645ccc571227c994b71b3d1be2c4d072d8bd9c944a42ff4a11c91a34a6"},taco:{category:"food",moji:"🌮",description:"taco",unicodeVersion:"8.0",digest:"e1e45aefdb7445faeae75c3831df6a3d6f2590fcdd48a20d847593c246df613b"},tada:{category:"objects",moji:"🎉",description:"party popper",unicodeVersion:"6.0",digest:"1d2e6cbb2a3244240bc70209715d2213d1efee2e370cccfbcc046c333ae2d650"},tanabata_tree:{category:"nature",moji:"🎋",description:"tanabata tree",unicodeVersion:"6.0",digest:"592f2907ffc1b914390e1a106c15120ff3607e99192158b94d237975647c5540"},tangerine:{category:"food",moji:"🍊",description:"tangerine",unicodeVersion:"6.0",digest:"40c9ddcde1b0bcfaeb466629a87825eb8c2037835720cbee5e2fda04be3c8d0a"},taurus:{category:"symbols",moji:"♉",description:"taurus",unicodeVersion:"1.1",digest:"21cf24cb6410ab6596e2df8b3e242cc07f9dbb247eabc00c590fe184b373d068"},taxi:{category:"travel",moji:"🚕",description:"taxi",unicodeVersion:"6.0",digest:"c546cc743831cfbf0c15452767cf2a4faf3775066797e997ae7c1fcbe4eca479"},tea:{category:"food",moji:"🍵",description:"teacup without handle",unicodeVersion:"6.0",digest:"00e3f1e389fa58c4fcd8c53ebbf83d25872f4315845ab1984b35410ae65553d9"},telephone:{category:"objects",moji:"☎",description:"black telephone",unicodeVersion:"1.1",digest:"3a53851e641f8ad938ce3597b1afca2ea63c9314ff81f62563b99937496a13d7"},telephone_receiver:{category:"objects",moji:"📞",description:"telephone receiver",unicodeVersion:"6.0",digest:"1614d67f3d8814b0d75f39d55f9149e4d28ef57b343498625e62fcfff8365046"},telescope:{category:"objects",moji:"🔭",description:"telescope",unicodeVersion:"6.0",digest:"4adf40387870276c4f59fb050d441023e8dac784365b6a8c0282fb519780b495"},ten:{category:"symbols",moji:"🔟",description:"keycap ten",unicodeVersion:"6.0",digest:"c7c9491021740d2c17edddb856f79579b0b943d8dc85a2f48dbaac84f35b8a40"},tennis:{category:"activity",moji:"🎾",description:"tennis racquet and ball",unicodeVersion:"6.0",digest:"dc1600b4d8dce3d26259eb0d1c6ab042566565e3c1f2c96112210f1550a716fd"},tent:{category:"travel",moji:"⛺",description:"tent",unicodeVersion:"5.2",digest:"30d9b17ac3219d4970ddf54d7c1a288b0ae50f7f3b82ed232c0b1b19ef585662"},thermometer:{category:"objects",moji:"🌡",description:"thermometer",unicodeVersion:"7.0",digest:"66616babbcaef256d7b652796c760e8e893cb950c073348a408fe70904f80f25"},thermometer_face:{category:"people",moji:"🤒",description:"face with thermometer",unicodeVersion:"8.0",digest:"ac2b5caddd128563711a9dcc7f690cf210f684d5e8b64b09c0431d6902437126"},thinking:{category:"people",moji:"🤔",description:"thinking face",unicodeVersion:"8.0",digest:"4f0b84e5ab8a650cafb166e93688f0e9b31b9ade22a91035261ac90490edb9d3"},third_place:{category:"activity",moji:"🥉",description:"third place medal",unicodeVersion:"9.0",digest:"27c9bcba44ad95bee30882cc0722e8b0a798206306655dd648e884447ed26808"},thought_balloon:{category:"symbols",moji:"💭",description:"thought balloon",unicodeVersion:"6.0",digest:"bf59624560c333561d636aedf2c8827089e275895cf434974daaabb3d5cea46e"},three:{category:"symbols",moji:"3️⃣",description:"keycap digit three",unicodeVersion:"3.0",digest:"d3f85828787799c769655c38a519cad0743ab799ab276c7606e6e6894cc442e6"},thumbsdown:{category:"people",moji:"👎",description:"thumbs down sign",unicodeVersion:"6.0",digest:"5954334e2dae5357312b3d629f10a496c728029e02216f8c8b887f9b51561c61"},thumbsdown_tone1:{category:"people",moji:"👎🏻",description:"thumbs down sign tone 1",unicodeVersion:"8.0",digest:"3c2853491473fd7ae2d1b5415a425cc390d26a8754446f8736c1360e4cb18ba3"},thumbsdown_tone2:{category:"people",moji:"👎🏼",description:"thumbs down sign tone 2",unicodeVersion:"8.0",digest:"4e0f8f86a06b69e423df8d93f41ec393f12800633acc82c4cb6dff64ca0d8507"},thumbsdown_tone3:{category:"people",moji:"👎🏽",description:"thumbs down sign tone 3",unicodeVersion:"8.0",digest:"e08fa35575f59978612d4330bbc35313eca9c4dfa04f4212626abc700819effe"},thumbsdown_tone4:{category:"people",moji:"👎🏾",description:"thumbs down sign tone 4",unicodeVersion:"8.0",digest:"7c6d118d20d5add8ca003e4a53e42685a1f9436b872ed10d79f67ad418fb2a44"},thumbsdown_tone5:{category:"people",moji:"👎🏿",description:"thumbs down sign tone 5",unicodeVersion:"8.0",digest:"8697c4a4ee4d6669dc2d47aa97699c42012ca59b80818ad6845878b37b4a9c58"},thumbsup:{category:"people",moji:"👍",description:"thumbs up sign",unicodeVersion:"6.0",digest:"59ec2457ab33e8897261d01a495f6cf5c668d0004807dc541c3b1be5294b1e61"},thumbsup_tone1:{category:"people",moji:"👍🏻",description:"thumbs up sign tone 1",unicodeVersion:"8.0",digest:"f57e6c525e8830779ea5026590eec3ca10869dc438a0c779734b617d04f28d21"},thumbsup_tone2:{category:"people",moji:"👍🏼",description:"thumbs up sign tone 2",unicodeVersion:"8.0",digest:"980eeeb1d8f5d79dae35c7ff81a576e980aa13a440d07b10e32e98ed34cbf7f1"},thumbsup_tone3:{category:"people",moji:"👍🏽",description:"thumbs up sign tone 3",unicodeVersion:"8.0",digest:"b3881060569e56e1dd75ca7960feab0e58ae51f440458781948d65d461116b4e"},thumbsup_tone4:{category:"people",moji:"👍🏾",description:"thumbs up sign tone 4",unicodeVersion:"8.0",digest:"86fbe2c95414bce5e38fb5c33da31305d7942fca2c9c79168dcffdbd895e9ad6"},thumbsup_tone5:{category:"people",moji:"👍🏿",description:"thumbs up sign tone 5",unicodeVersion:"8.0",digest:"49fa63ff725c746a18649df16c8fab69bad88bbb564884df79d1d15f553b7343"},thunder_cloud_rain:{category:"nature",moji:"⛈",description:"thunder cloud and rain",unicodeVersion:"5.2",digest:"dacc20b4f6b68e5834aa1b8391afa5e83b5e6eb28e2d2174d3a68186a770506d"},ticket:{category:"activity",moji:"🎫",description:"ticket",unicodeVersion:"6.0",digest:"b4326fe7761940216e6c76ee2928110a6b37bf913da9d694e96557e7c7c10420"},tickets:{category:"activity",moji:"🎟",description:"admission tickets",unicodeVersion:"7.0",digest:"fb73358c3697c04fcfde6a1e705b1c3b47635b93b9cadfe31d5657566c7d190a"},tiger:{category:"nature",moji:"🐯",description:"tiger face",unicodeVersion:"6.0",digest:"e139531e6c930bc46242dc0ed274661229de026b5419d8ea8f99fdb0f8a719ab"},tiger2:{category:"nature",moji:"🐅",description:"tiger",unicodeVersion:"6.0",digest:"f930cc8714198310d9b0edca6baff243ac5a3320f75fadb56fa5acc6fe34ff24"},timer:{category:"objects",moji:"⏲",description:"timer clock",unicodeVersion:"6.0",digest:"69b33f219523d89d81cbbc070ad7e528711e4b34e124a50acb12a0280a34d0b0"},tired_face:{category:"people",moji:"😫",description:"tired face",unicodeVersion:"6.0",digest:"775739bc9324517e614878ca0960d793df97775feeb62b14dbfb311a42a21802"},tm:{category:"symbols",moji:"™",description:"trade mark sign",unicodeVersion:"1.1",digest:"7d9fafdb72d91860478fc185719f289f359eab2c368a132cb936a269e2ab6a24"},toilet:{category:"objects",moji:"🚽",description:"toilet",unicodeVersion:"6.0",digest:"0d1b0dd0078f51104e8632a0726e1b3f075561a1ffa8a2546602de15798415d0"},tokyo_tower:{category:"travel",moji:"🗼",description:"tokyo tower",unicodeVersion:"6.0",digest:"73eaf6fd59d16396673afef620c6d928857d5cf616e95a40eaf2861686e0956a"},tomato:{category:"food",moji:"🍅",description:"tomato",unicodeVersion:"6.0",digest:"d092d8ad381d542e59b6a82b4f1ef0d10fc1ed48460952375c6c5c6258cea111"},tone1:{category:"modifier",moji:"🏻",description:"emoji modifier Fitzpatrick type-1-2",unicodeVersion:"8.0",digest:"5c62003a098b774c068be45d658db3c0dd38483c0871f7c8ae293bc1222c4f0c"},tone2:{category:"modifier",moji:"🏼",description:"emoji modifier Fitzpatrick type-3",unicodeVersion:"8.0",digest:"3c636ecbc4e58c7a360f2338daaf44e7da598fd07e0ba1514bb5c0f83fc8819f"},tone3:{category:"modifier",moji:"🏽",description:"emoji modifier Fitzpatrick type-4",unicodeVersion:"8.0",digest:"398a1e5441b64c9c2d033bbc01d7a8d90b4db30ea9f30e28f0a9120c72a48df8"},tone4:{category:"modifier",moji:"🏾",description:"emoji modifier Fitzpatrick type-5",unicodeVersion:"8.0",digest:"ff4a12195aeb7494c785b81266efad8cd60c8022c407a0fc032a02e8b83216b3"},tone5:{category:"modifier",moji:"🏿",description:"emoji modifier Fitzpatrick type-6",unicodeVersion:"8.0",digest:"9e9f0125b5d57011b7456c84719e6be6cf71d06c1b198081d0937c0979164a81"},tongue:{category:"people",moji:"👅",description:"tongue",unicodeVersion:"6.0",digest:"286e9d2583c371431d6fc979dd4ab48981676da26baada51a846657a3654c19b"},tools:{category:"objects",moji:"🛠",description:"hammer and wrench",unicodeVersion:"7.0",digest:"bf08d60dedc06de73d04dab05703bb8ad81989c72b5035d1a07821e51096f158"},top:{category:"symbols",moji:"🔝",description:"top with upwards arrow above",unicodeVersion:"6.0",digest:"c9a9f25b17db014e76b6be54aa07ef89bb18f8adb41b3199d180a559ff1d9ea5"},tophat:{category:"people",moji:"🎩",description:"top hat",unicodeVersion:"6.0",digest:"43a45dfb5d6b57a63a0491f4e3ec780774c0301b53ed39a303a0bd803d16ed71"},track_next:{category:"symbols",moji:"⏭",description:"black right-pointing double triangle with vertical bar",unicodeVersion:"6.0",digest:"88592ef6c720a32aeb752322fb4c794bf5110a72408e21e898630452115c731c"},track_previous:{category:"symbols",moji:"⏮",description:"black left-pointing double triangle with vertical bar",unicodeVersion:"6.0",digest:"98c1b3d643768d94857fb762f6d26cfb87282b449a67792242e8b7068643ac87"},trackball:{category:"objects",moji:"🖲",description:"trackball",unicodeVersion:"7.0",digest:"32a819a3129429f797ad434d0c40e263dc236808e34878c599ed2304b43702f5"},tractor:{category:"travel",moji:"🚜",description:"tractor",unicodeVersion:"6.0",digest:"5e4686290f1a4c9953ae208340b7d276f25b3b2197a43e52469aeb6450e93997"},traffic_light:{category:"travel",moji:"🚥",description:"horizontal traffic light",unicodeVersion:"6.0",digest:"d96aacade33d1ad3e0414f8a920513010f36eb7e5889774251c1d91148917ead"},train:{category:"travel",moji:"🚋",description:"Tram Car",unicodeVersion:"6.0",digest:"7423d17e131df7aadaa350b5d39dcbce3b28de331ff8b6703a3b2d0093963f4b"},train2:{category:"travel",moji:"🚆",description:"train",unicodeVersion:"6.0",digest:"06e65d549e771632f3c64287a38ba67236f9800ccb6a23c3b592bc010e24e122"},tram:{category:"travel",moji:"🚊",description:"tram",unicodeVersion:"6.0",digest:"21a7699f1a94f06dcb4d1e896448b98a4205f8efe902a8ac169a5005d11ab100"},triangular_flag_on_post:{category:"objects",moji:"🚩",description:"triangular flag on post",unicodeVersion:"6.0",digest:"1f5ce3828a42f5b1717bac1521d0502cf7081ad9f15e8ed292c1a65f0d1386da"},triangular_ruler:{category:"objects",moji:"📐",description:"triangular ruler",unicodeVersion:"6.0",digest:"a0367dcf663ec934f1fc7c88bfaccc02b229a896f60930a66bb02241c933e501"},trident:{category:"symbols",moji:"🔱",description:"trident emblem",unicodeVersion:"6.0",digest:"ee45920845d3b35c2e45b934cf30ce97bfe2f24c5d72ef1ac6e0842e52b50fc1"},triumph:{category:"people",moji:"😤",description:"face with look of triumph",unicodeVersion:"6.0",digest:"4aa44b8e1682c1269624a359f4b0bf613553683b883d947561ab169d7f85da0f"},trolleybus:{category:"travel",moji:"🚎",description:"trolleybus",unicodeVersion:"6.0",digest:"f610b4fd1123f06778a8e3bb8f738d5b0079aeb0b0926b6a63268c0dd0ee03ed"},trophy:{category:"activity",moji:"🏆",description:"trophy",unicodeVersion:"6.0",digest:"50cfbedac18bf0fa5dec727643e15ec47f64068944b536e97518ee3be4f08006"},tropical_drink:{category:"food",moji:"🍹",description:"tropical drink",unicodeVersion:"6.0",digest:"54144fce60d650f426b1edf09e47c70b2762222398c1fe40231881f074603a69"},tropical_fish:{category:"nature",moji:"🐠",description:"tropical fish",unicodeVersion:"6.0",digest:"fd92100aaa9328da35e6090388824921b9726b474d1432a926d2cf9c45ad6528"},truck:{category:"travel",moji:"🚚",description:"delivery truck",unicodeVersion:"6.0",digest:"0d1571e58e900abc453df0ff683fe7acb5906ecbdd52ab35b7101074359faf18"},trumpet:{category:"activity",moji:"🎺",description:"trumpet",unicodeVersion:"6.0",digest:"cea3614c309f5573f328f4603120dbe930016a35f0dfa400b0d968fe9fff2d55"},tulip:{category:"nature",moji:"🌷",description:"tulip",unicodeVersion:"6.0",digest:"e744e8dbbdc6b126bd5b15aad56b524191de5a604189f4ab6d96730dfef4d086"},tumbler_glass:{category:"food",moji:"🥃",description:"tumbler glass",unicodeVersion:"9.0",digest:"7a38658274b9ff28836725a1dbfad49b8fa3af5ec8385e629db6bfdc7d93907a"},turkey:{category:"nature",moji:"🦃",description:"turkey",unicodeVersion:"8.0",digest:"bf5daef15716b66636a5fdb6d059420521443c0603e2d56bd7c99c791a7285f4"},turtle:{category:"nature",moji:"🐢",description:"turtle",unicodeVersion:"6.0",digest:"588c35fb42c9502a908e9805517d4cc8c4ba4e74c9beed4035779fea1efe14f8"},tv:{category:"objects",moji:"📺",description:"television",unicodeVersion:"6.0",digest:"1279f3f3955a58dbbf74e248fc914b0bdba9c4c6b6a5176e9d12bf2750ecfeb4"},twisted_rightwards_arrows:{category:"symbols",moji:"🔀",description:"twisted rightwards arrows",unicodeVersion:"6.0",digest:"fed07eebc2cf0d977ca0826bbd80defafbbcf118508444148f47b58949ebe27c"},two:{category:"symbols",moji:"2️⃣",description:"keycap digit two",unicodeVersion:"3.0",digest:"b346f51f6523b02ebcbd753256804e2f9cc1574c96aa634362bf9401dac2c661"},two_hearts:{category:"symbols",moji:"💕",description:"two hearts",unicodeVersion:"6.0",digest:"6ded120a59aed790b441ec8fbbdea6f5cbfb4fa48e9e4b224cc29c9fde2d2e4c"},two_men_holding_hands:{category:"people",moji:"👬",description:"two men holding hands",unicodeVersion:"6.0",digest:"bfcf9e20a67d00262cdf6e85f1acd545dda91f2e370d68bfd41ce02f232a2987"},two_women_holding_hands:{category:"people",moji:"👭",description:"two women holding hands",unicodeVersion:"6.0",digest:"9d9d2b37a7f8e16fde1468dd8b5645003ea81ae4bf8bcf68471e2381845dd0dd"},u5272:{category:"symbols",moji:"🈹",description:"squared cjk unified ideograph-5272",unicodeVersion:"6.0",digest:"01e6cb8f74ea3c19fdade59c2d13d158b90dc6b4b293421b2014b7478bf20870"},u5408:{category:"symbols",moji:"🈴",description:"squared cjk unified ideograph-5408",unicodeVersion:"6.0",digest:"084cdbd5436670ea4dc22010e269c1ab7b0432897b8675301e69120374bcdd14"},u55b6:{category:"symbols",moji:"🈺",description:"squared cjk unified ideograph-55b6",unicodeVersion:"6.0",digest:"c1017023d20d4aae78d59342dd3bfc5282716ea0601d9a8c2476335cbf7a2e12"},u6307:{category:"symbols",moji:"🈯",description:"squared cjk unified ideograph-6307",unicodeVersion:"5.2",digest:"f459b092b974f459db1fb9cc13617a448b2e4f2b4dc46cc316d8c46af6e7d8bd"},u6708:{category:"symbols",moji:"🈷",description:"squared cjk unified ideograph-6708",unicodeVersion:"6.0",digest:"928815abf5b30f92efe5168de0c7e6cf8c17899a03e358ab42f42667e0a4a04c"},u6709:{category:"symbols",moji:"🈶",description:"squared cjk unified ideograph-6709",unicodeVersion:"6.0",digest:"f63a48ee06c892d24acec8b5634c021658d2ebde67a42d8faa86f27804a9f26d"},u6e80:{category:"symbols",moji:"🈵",description:"squared cjk unified ideograph-6e80",unicodeVersion:"6.0",digest:"489181d90a5e43068459530673a153e4af04fdad8514ec341ff7afbcfd366c3b"},u7121:{category:"symbols",moji:"🈚",description:"squared cjk unified ideograph-7121",unicodeVersion:"5.2",digest:"9c50fd2ba14221affd2dcd3746322c2137dd75458493f4d385b544eb5bd8d6cd"},u7533:{category:"symbols",moji:"🈸",description:"squared cjk unified ideograph-7533",unicodeVersion:"6.0",digest:"2b05819b380a2ea47cc5fde8fcce3d53922fd223d6f5bd83d696d44175b69f18"},u7981:{category:"symbols",moji:"🈲",description:"squared cjk unified ideograph-7981",unicodeVersion:"6.0",digest:"adbe12601b22972003ddebcb0bd1532b979aa9c78bfdc147511854b5014eabc0"},u7a7a:{category:"symbols",moji:"🈳",description:"squared cjk unified ideograph-7a7a",unicodeVersion:"6.0",digest:"b9ee0ec7bb0b86c3eb73d4dbbb91848c427bf356ae30a263b9b44bd9bd784482"},umbrella:{category:"nature",moji:"☔",description:"umbrella with rain drops",unicodeVersion:"4.0",digest:"0328a2f48b7df47905e2655460e524c0794ef12d3d7c32a049a10892d5662f77"},umbrella2:{category:"nature",moji:"☂",description:"umbrella",unicodeVersion:"1.1",digest:"2f6a58110dc590480a822a3ffa2b5bc86f295e0c994a4a632837d25d4cf9fc58"},unamused:{category:"people",moji:"😒",description:"unamused face",unicodeVersion:"6.0",digest:"0d597088e3e7880918d0166e5c69243b18fe64afa31685c39bfdbc71494aa132"},underage:{category:"symbols",moji:"🔞",description:"no one under eighteen symbol",unicodeVersion:"6.0",digest:"b6b194614ca714ac2b1c2c17b75fe5922c7fdadb3d1157ba89ab2a5d03494a67"},unicorn:{category:"nature",moji:"🦄",description:"unicorn face",unicodeVersion:"8.0",digest:"f71bb485a7c208e999dd45f2b36d7b7d517898c0627947926b05aa28603804ca"},unlock:{category:"objects",moji:"🔓",description:"open lock",unicodeVersion:"6.0",digest:"9554ef3a6a315938b873e77970d9b0212e61f13c6cc36e4f17f87acc930a9a53"},up:{category:"symbols",moji:"🆙",description:"squared up with exclamation mark",unicodeVersion:"6.0",digest:"ff2554ccf08c7208b38794c5fa3d9a93a46ff191a49401195d8f740846121906"},upside_down:{category:"people",moji:"🙃",description:"upside-down face",unicodeVersion:"8.0",digest:"5129121f0a28f5b334268c28565de26a5907559568deca11de6ec620b097dfe1"},urn:{category:"objects",moji:"⚱",description:"funeral urn",unicodeVersion:"4.1",digest:"9bebf589eed8dd361f6a03cd1b325078f2cd0e82270ef63a7dd1b6aee08cd1e6"},v:{category:"people",moji:"✌",description:"victory hand",unicodeVersion:"1.1",digest:"9825bf440df289a8edf8ede494e8c778dc63c95f967f4d7bbea3245cf4f558ec"},v_tone1:{category:"people",moji:"✌🏻",description:"victory hand tone 1",unicodeVersion:"8.0",digest:"76e358250d9ca519b60b8d7b6a32900700d784433dcc609e9442254a410f6e37"},v_tone2:{category:"people",moji:"✌🏼",description:"victory hand tone 2",unicodeVersion:"8.0",digest:"4081b674be8416136022523fa9f29ec70a0f7e3aa05ca13152606609f3fd003c"},v_tone3:{category:"people",moji:"✌🏽",description:"victory hand tone 3",unicodeVersion:"8.0",digest:"b6afb3a4c78384280610b953592d378241c75597a82aa6d16c86a993f8d8f3b0"},v_tone4:{category:"people",moji:"✌🏾",description:"victory hand tone 4",unicodeVersion:"8.0",digest:"7ddc3cdd0138da2c8d7f6d8257ffdb8801496043e8a2395f93b0663447ac7fce"},v_tone5:{category:"people",moji:"✌🏿",description:"victory hand tone 5",unicodeVersion:"8.0",digest:"a85dc5c589f0d1cf32f8bfa5c82e5c11c40b35439636914686a2f06f7359f539"},vertical_traffic_light:{category:"travel",moji:"🚦",description:"vertical traffic light",unicodeVersion:"6.0",digest:"8cfd49a8f96b15a8313ef855f2e234ea3fa58332e68896dea34760740de9f020"},vhs:{category:"objects",moji:"📼",description:"videocassette",unicodeVersion:"6.0",digest:"3fb1acaf25805cf86f8d40ee2c17cf25da587b7ca93b931167ab43fce041eee8"},vibration_mode:{category:"symbols",moji:"📳",description:"vibration mode",unicodeVersion:"6.0",digest:"c9a8899222f46fe51dd8cee3e59f77c48268f0b7cfae2bcb34a791213acb1755"},video_camera:{category:"objects",moji:"📹",description:"video camera",unicodeVersion:"6.0",digest:"62e56f26c286a7964ef1021f0f23fcb4b38cdcfb5b5af569b472340c412c619a"},video_game:{category:"activity",moji:"🎮",description:"video game",unicodeVersion:"6.0",digest:"2787e302aa9e6fd7e9dc382c9bc7f5fbf244ef4940e08a4f9e80d33324f3032e"},violin:{category:"activity",moji:"🎻",description:"violin",unicodeVersion:"6.0",digest:"1e69d531ce2b5d5bf1dd9470187dbbe76f479d14428834b6a9e2bf5296dc0ec9"},virgo:{category:"symbols",moji:"♍",description:"virgo",unicodeVersion:"1.1",digest:"0f75e9c228bc467fd0cec0f93f0e087c943bc5fb1d945fb0d4de53d07718388e"},volcano:{category:"travel",moji:"🌋",description:"volcano",unicodeVersion:"6.0",digest:"41c92ef88ca533df342a0ebe59d2b676873bfa944c3988495b8a96060a9b8e16"},volleyball:{category:"activity",moji:"🏐",description:"volleyball",unicodeVersion:"8.0",digest:"774a83357f7aee890b4d4383236f0a90946dbd7c86aaabadc5753dcc9b4c9d69"},vs:{category:"symbols",moji:"🆚",description:"squared vs",unicodeVersion:"6.0",digest:"ac943e4c737459c2e1adbac8b71d3fdaebb704dbaf5713012e7a77beb09db1ef"},vulcan:{category:"people",moji:"🖖",description:"raised hand with part between middle and ring fingers",unicodeVersion:"7.0",digest:"b4d409a0b019e7b06333cefd15ea46cb54aef5132d86e8ba361c1c3b911fe265"},vulcan_tone1:{category:"people",moji:"🖖🏻",description:"raised hand with part between middle and ring fingers tone 1",unicodeVersion:"8.0",digest:"cc6072c85031b5081995f98a57f09ab177168318f69a51f3acc63251760499a4"},vulcan_tone2:{category:"people",moji:"🖖🏼",description:"raised hand with part between middle and ring fingers tone 2",unicodeVersion:"8.0",digest:"858bd5a1ac91dc4d7735f57ba4dd69d39138aa6dac1c80cfc05de30a59a5bc33"},vulcan_tone3:{category:"people",moji:"🖖🏽",description:"raised hand with part between middle and ring fingers tone 3",unicodeVersion:"8.0",digest:"2f74b6f3eab2a75063591b66f1c7350af0d23153e1427af91de20c48a5f4a54a"},vulcan_tone4:{category:"people",moji:"🖖🏾",description:"raised hand with part between middle and ring fingers tone 4",unicodeVersion:"8.0",digest:"87cf8b87d3610f742857a9704b658462df32b4924d8f1ddba26f761e738c4e11"},vulcan_tone5:{category:"people",moji:"🖖🏿",description:"raised hand with part between middle and ring fingers tone 5",unicodeVersion:"8.0",digest:"11e9ff62f2385edeb477dbf66c63734536531def5771daf80b66a3425ac71493"},walking:{category:"people",moji:"🚶",description:"pedestrian",unicodeVersion:"6.0",digest:"ae77471fe1e8a734d11711cdb589f64347c35d6ee2fc10f6db16ac550c0557fa"},walking_tone1:{category:"people",moji:"🚶🏻",description:"pedestrian tone 1",unicodeVersion:"8.0",digest:"3de871c234e1340ccf95338df7babd94d175cfcb17a57b5a74d950e0a31f03b1"},walking_tone2:{category:"people",moji:"🚶🏼",description:"pedestrian tone 2",unicodeVersion:"8.0",digest:"620eb7bfb753a331a5822b02bdaf08d8dde7b573efd210287a3d3dfdd84a40b9"},walking_tone3:{category:"people",moji:"🚶🏽",description:"pedestrian tone 3",unicodeVersion:"8.0",digest:"ff39545acc2256006128f8c186433c28052b8c9aaec46fe06f25cff02c71f6b8"},walking_tone4:{category:"people",moji:"🚶🏾",description:"pedestrian tone 4",unicodeVersion:"8.0",digest:"a9499d142392977a9b9e54fb957952359e9bdffce7ec2f1e8320523d185fb066"},walking_tone5:{category:"people",moji:"🚶🏿",description:"pedestrian tone 5",unicodeVersion:"8.0",digest:"b47a4c48ce40298f842f454fc1abccae70f69725d73ee2c80e4018f4c4065d7d"},waning_crescent_moon:{category:"nature",moji:"🌘",description:"waning crescent moon symbol",unicodeVersion:"6.0",digest:"2ec7896eefcf821e0ea013556a17af59e997503662c07f080d0a84ab13ef4cf1"},waning_gibbous_moon:{category:"nature",moji:"🌖",description:"waning gibbous moon symbol",unicodeVersion:"6.0",digest:"ce2f5aca8fccdacaaf174d10da4e493e853e4608cc4d159aa3081d108a8b58d5"},warning:{category:"symbols",moji:"⚠",description:"warning sign",unicodeVersion:"4.0",digest:"745f1d203958f42bf37ecb5909cd0819934e300308ba0ff20964c8c203092f90"},wastebasket:{category:"objects",moji:"🗑",description:"wastebasket",unicodeVersion:"7.0",digest:"221a1b6d9975051038d9d97e18a16556cdf4254a6bca4c29bf1c51f306c79f2a"},watch:{category:"objects",moji:"⌚",description:"watch",unicodeVersion:"1.1",digest:"acc0c96751404a789b3085f10425cf34f942185215df459515d2439cde3efc6b"},water_buffalo:{category:"nature",moji:"🐃",description:"water buffalo",unicodeVersion:"6.0",digest:"ba6a840d4f57f8f9f3e9f29b8a030faf02a3a3d912e3e31b067616b2ac48a3d1"},water_polo:{category:"activity",moji:"🤽",description:"water polo",unicodeVersion:"9.0",digest:"fc77e1d2a84a9f4cf0cf19c1ea10cf137cf0940b9103a523121eda87677ad148"},water_polo_tone1:{category:"activity",moji:"🤽🏻",description:"water polo tone 1",unicodeVersion:"9.0",digest:"3be28384edd29ada8109f07720d601a9d5866ed63e6234efe9ee1a194ed5d0c5"},water_polo_tone2:{category:"activity",moji:"🤽🏼",description:"water polo tone 2",unicodeVersion:"9.0",digest:"afcd3f28c6719f869ca79a6fd1ccade2ea976ade844fbc1081fc72865bcb652f"},water_polo_tone3:{category:"activity",moji:"🤽🏽",description:"water polo tone 3",unicodeVersion:"9.0",digest:"d19481c9b82d9413e99c2652e020fd763f2b54408dedaffec8dfe80973ded407"},water_polo_tone4:{category:"activity",moji:"🤽🏾",description:"water polo tone 4",unicodeVersion:"9.0",digest:"375972d882b627e8d525e632e58b30346fc3e01858d7d08d62a9d3bf8132bbc7"},water_polo_tone5:{category:"activity",moji:"🤽🏿",description:"water polo tone 5",unicodeVersion:"9.0",digest:"a8e1ced1c5382a8147a1d1801a133cada9a0e52e41de6272e56c3c1f426f6048"},watermelon:{category:"food",moji:"🍉",description:"watermelon",unicodeVersion:"6.0",digest:"42a3821d2e4dd595c93f5db7a5c70b7af486b8f0ddd3b9d26bc4e743a88e699a"},wave:{category:"people",moji:"👋",description:"waving hand sign",unicodeVersion:"6.0",digest:"cddbd764d471604446cbaca91f77f6c4119d1cfc2c856732ca0eaac4593cb736"},wave_tone1:{category:"people",moji:"👋🏻",description:"waving hand sign tone 1",unicodeVersion:"8.0",digest:"cf40797437ddf68ec0275f337e6aac4bed81e28da7636d56c9f817ddf8e2b30a"},wave_tone2:{category:"people",moji:"👋🏼",description:"waving hand sign tone 2",unicodeVersion:"8.0",digest:"12c8a3e82c03ee35a734c642be482ba2d9d5948dacf91ec1fda243316dd4a0d0"},wave_tone3:{category:"people",moji:"👋🏽",description:"waving hand sign tone 3",unicodeVersion:"8.0",digest:"ebcaef43e21b475f76de811d4f4d1a67d9393973b57b03876e02164345a2ba4a"},wave_tone4:{category:"people",moji:"👋🏾",description:"waving hand sign tone 4",unicodeVersion:"8.0",digest:"7df7b70cf76766836ba146c3d91b6104930c384450cf2688426e60c1c06a1fc8"},wave_tone5:{category:"people",moji:"👋🏿",description:"waving hand sign tone 5",unicodeVersion:"8.0",digest:"8dfdba6aeff5d7dfd807467d431a137547726b34d021f1a5a0b74e155d270ea7"},wavy_dash:{category:"symbols",moji:"〰",description:"wavy dash",unicodeVersion:"1.1",digest:"7b1968474f01d12fd09a1f2572282927138d9e9d6a3642de4bf68af80a8c3738"},waxing_crescent_moon:{category:"nature",moji:"🌒",description:"waxing crescent moon symbol",unicodeVersion:"6.0",digest:"852d7e55a19074d061fa3aa80d6b1e7e87a9280bdf44d94bbdbbe6d59178b1be"},waxing_gibbous_moon:{category:"nature",moji:"🌔",description:"waxing gibbous moon symbol",unicodeVersion:"6.0",digest:"a3a1c7cc72521a3f74929789a90e1c35d81ac86e21225c9f844d718d8940e3b3"},wc:{category:"symbols",moji:"🚾",description:"water closet",unicodeVersion:"6.0",digest:"4b95d54e0b53e4b705277917653503b32d6a143c2eaf6c547bc8e01c2dc23659"},weary:{category:"people",moji:"😩",description:"weary face",unicodeVersion:"6.0",digest:"3528f85540996cd5b562efe5421c495fc1bb414dc797bc20062783ae1b730847"},wedding:{category:"travel",moji:"💒",description:"wedding",unicodeVersion:"6.0",digest:"980f3522cc4c19c3096e668032ea2cd19e7900cdc4b73bbb1c9b4c4d28dc78af"},whale:{category:"nature",moji:"🐳",description:"spouting whale",unicodeVersion:"6.0",digest:"6368fe4bc4a7f68aa2bd5386686a5f1b159feacbec16d59515f2b6e5d01adfbd"},whale2:{category:"nature",moji:"🐋",description:"whale",unicodeVersion:"6.0",digest:"ccd3edf88167965f2abc18631ffb80e2532f728da35bc0c11144376685da18e8"},wheel_of_dharma:{category:"symbols",moji:"☸",description:"wheel of dharma",unicodeVersion:"1.1",digest:"4a0a13fcd507b9621686c8090bf340aa8770c064e0e3eb576fbae1229000d6da"},wheelchair:{category:"symbols",moji:"♿",description:"wheelchair symbol",unicodeVersion:"4.1",digest:"f5250f2b4b5b4ffe6a6f77d30865c3f5d7173fc91aee547869589b2a96da91c8"},white_check_mark:{category:"symbols",moji:"✅",description:"white heavy check mark",unicodeVersion:"6.0",digest:"45eb17bde6e503f22c8579d6e4d507ad6557a15f9eaad14aa716ec9ba1540876"},white_circle:{category:"symbols",moji:"⚪",description:"medium white circle",unicodeVersion:"4.1",digest:"2e7323fa4d1e3929e529d49210a0b82a043eae4f7c95128ec86b98c46fdb0e7c"},white_flower:{category:"symbols",moji:"💮",description:"white flower",unicodeVersion:"6.0",digest:"ace093b310eeefdecf4a4bdaf4fbcbb568457b0191ac80778a466ac5f3f4025a"},white_large_square:{category:"symbols",moji:"⬜",description:"white large square",unicodeVersion:"5.1",digest:"0db6957ee9ff7325b534b730fc05345a63d4ed9060f0f816807d0dcf004baa3e"},white_medium_small_square:{category:"symbols",moji:"◽",description:"white medium small square",unicodeVersion:"3.2",digest:"d79689981a7b38211c60a025a81e44fd39ac6ea4062e227cae3aab8f51572cd4"},white_medium_square:{category:"symbols",moji:"◻",description:"white medium square",unicodeVersion:"3.2",digest:"6c4ce26d3f69667219f29ea18b04f3e79373024426275f25936e09a683e9a4fc"},white_small_square:{category:"symbols",moji:"▫",description:"white small square",unicodeVersion:"1.1",digest:"ae0d35a6bbba4592b89b2f0f1f2d183efb2f93cf2a2136c0c195aab72f0bb1c8"},white_square_button:{category:"symbols",moji:"🔳",description:"white square button",unicodeVersion:"6.0",digest:"797f3d9e44e88e940ffc118e52d0f709eec2ef14b13bdf873ad4b0c96cc0b042"},white_sun_cloud:{category:"nature",moji:"🌥",description:"white sun behind cloud",unicodeVersion:"7.0",digest:"0e714038bb0a5b091dd4ad8829c5c72dece493e09da6d56ceadcd0b68e1c0fd5"},white_sun_rain_cloud:{category:"nature",moji:"🌦",description:"white sun behind cloud with rain",unicodeVersion:"7.0",digest:"82fb2a91d43c7c511afed216e12f98e32aef4475e7f3c7ccc0f39732d2f7d5e5"},white_sun_small_cloud:{category:"nature",moji:"🌤",description:"white sun with small cloud",unicodeVersion:"7.0",digest:"0a6164cdadf2413555b7ef47b95f823f5a010f36d2dacfb1a38335a0f59e9601"},wilted_rose:{category:"nature",moji:"🥀",description:"wilted flower",unicodeVersion:"9.0",digest:"2c9e01ab9a61d057c71478b09ba7d82ae08f4a5a1c2212b7ad562b74f616677f"},wind_blowing_face:{category:"nature",moji:"🌬",description:"wind blowing face",unicodeVersion:"7.0",digest:"e4f63149cbc8829118571f6a93487b96d26665fc15d17d578cca4e5c752cd54f"},wind_chime:{category:"objects",moji:"🎐",description:"wind chime",unicodeVersion:"6.0",digest:"1b1b212fbd74a9edc62aee7ffab9bcf91d3a9f69bffb2be4b7fd527914c14ced"},wine_glass:{category:"food",moji:"🍷",description:"wine glass",unicodeVersion:"6.0",digest:"d99107d6809386bc5e219aa58ee4930d27b7c3a6d2b10deb9f523df369f766d1"},wink:{category:"people",moji:"😉",description:"winking face",unicodeVersion:"6.0",digest:"56e29994a47335a901d0c98fa141d26faae8f647a860517bd3615fa980921885"},wolf:{category:"nature",moji:"🐺",description:"wolf face",unicodeVersion:"6.0",digest:"4a983f5ec8ec0872fcde7890e17605b1229064e5e194b6fca1c4259068d1caed"},woman:{category:"people",moji:"👩",description:"woman",unicodeVersion:"6.0",digest:"a06a22a48eeb3aeb885321358fe234e97797ed33be17f52d232ce2830cfbcd97"},woman_tone1:{category:"people",moji:"👩🏻",description:"woman tone 1",unicodeVersion:"8.0",digest:"c2e4b135c1dac6a0b002569a6ccd9d098f6cb18481c68b5d9115e11241a0978d"},woman_tone2:{category:"people",moji:"👩🏼",description:"woman tone 2",unicodeVersion:"8.0",digest:"4848e650051214a53c4cd9f6d3d94158f77f65ecb34f891789de34ee0a713006"},woman_tone3:{category:"people",moji:"👩🏽",description:"woman tone 3",unicodeVersion:"8.0",digest:"b6f751ad47da019cdfb9d6d78f9610adb92120abf204c30df79a9150b57dbdee"},woman_tone4:{category:"people",moji:"👩🏾",description:"woman tone 4",unicodeVersion:"8.0",digest:"fd27d3a669dc34313fbfe518df7dc2ded3ade5dde695f8d773afe87bf8a8b0d4"},woman_tone5:{category:"people",moji:"👩🏿",description:"woman tone 5",unicodeVersion:"8.0",digest:"9ae9b14dfff40fa60a565d89479727feeba4fd6ffea9acb353a81b14aba751d4"},womans_clothes:{category:"people",moji:"👚",description:"womans clothes",unicodeVersion:"6.0",digest:"d12a27810780fe5cd8118ed4587e0c4e70dbe9bcd014c6866fe6a8c9c7c55698"},womans_hat:{category:"people",moji:"👒",description:"womans hat",unicodeVersion:"6.0",digest:"52a0255b3483085bd125d39b74516ab6a81003964f44995c2fac821e7ff93086"},womens:{category:"symbols",moji:"🚺",description:"womens symbol",unicodeVersion:"6.0",digest:"7e38964006f8b28dfa2b3e9b2b16553bb50c18a63455f556b0bff35ee172137e"},worried:{category:"people",moji:"😟",description:"worried face",unicodeVersion:"6.1",digest:"5a073985e1344bc34201ef94a491f7f2b946f5828c9fdbc57eeb2dcd87ac3a6b"},wrench:{category:"objects",moji:"🔧",description:"wrench",unicodeVersion:"6.0",digest:"81aae53bc892035b905bf3ec5b442a8ecc95027c5fa9eb51b7c3e7d8fad3f3f4"},wrestlers:{category:"activity",moji:"🤼",description:"wrestlers",unicodeVersion:"9.0",digest:"9be983f3f9438f3ab8f6b643a958371d1e710c6d78e728f3465141811f05c2d5"},wrestlers_tone1:{category:"activity",moji:"🤼🏻",description:"wrestlers tone 1",unicodeVersion:"9.0",digest:"60461f83bfc93ce59dd027eab4782b7f206a7b142719fa72f301e047dc83a5d9"},wrestlers_tone2:{category:"activity",moji:"🤼🏼",description:"wrestlers tone 2",unicodeVersion:"9.0",digest:"67ad93c86e6c58d552c18e7a0105cc81fd9bb0474da51f788eba2e4c14b4a636"},wrestlers_tone3:{category:"activity",moji:"🤼🏽",description:"wrestlers tone 3",unicodeVersion:"9.0",digest:"6bfd06c4435cabf2def153912040e05bf8db424fa383148ddda6d0ce8a8a3349"},wrestlers_tone4:{category:"activity",moji:"🤼🏾",description:"wrestlers tone 4",unicodeVersion:"9.0",digest:"597312678834c4d288c238482879856d5eba4620deb1eaef495f428e2ba5f2a5"},wrestlers_tone5:{category:"activity",moji:"🤼🏿",description:"wrestlers tone 5",unicodeVersion:"9.0",digest:"d6aebdf1e44fd825b9a5b3716aefbc53f4b4dbb73cb2a628c0f2994ebfd34614"},writing_hand:{category:"people",moji:"✍",description:"writing hand",unicodeVersion:"1.1",digest:"110517ae4da5587e8b0662881658e27da4120bfacec54734fd6657831d4d782f"},writing_hand_tone1:{category:"people",moji:"✍🏻",description:"writing hand tone 1",unicodeVersion:"8.0",digest:"2c7e2108e1990490b681343c1b01b4183d4f18fbdef792f113b2f87595e0dad0"},writing_hand_tone2:{category:"people",moji:"✍🏼",description:"writing hand tone 2",unicodeVersion:"8.0",digest:"87ec8d44f472d301adbcbd50d8c852b609e46584057f59cc1527401db363c1bf"},writing_hand_tone3:{category:"people",moji:"✍🏽",description:"writing hand tone 3",unicodeVersion:"8.0",digest:"4a48ddef91f7264e8fa9cca223554db22b3a2e3153e94b88d146644ea6dd661e"},writing_hand_tone4:{category:"people",moji:"✍🏾",description:"writing hand tone 4",unicodeVersion:"8.0",digest:"e5254564a1f91e42ee59f359d8cd26f52abdc04dca8f3b37cb2f140cb7f71390"},writing_hand_tone5:{category:"people",moji:"✍🏿",description:"writing hand tone 5",unicodeVersion:"8.0",digest:"61299bf86d83d323ca3e6052c535ae66c6f7b3d9866a37db0464223b8bc28523"},x:{category:"symbols",moji:"❌",description:"cross mark",unicodeVersion:"6.0",digest:"3e5a7918e31ddefdf1ce73972365e2f0bfd2917d6a450c1a278c108349c9425d"},yellow_heart:{category:"symbols",moji:"💛",description:"yellow heart",unicodeVersion:"6.0",digest:"a1098f2f04c29754cc9974324508386787d4d803b57cf691d42de414cb2679d6"},yen:{category:"objects",moji:"💴",description:"banknote with yen sign",unicodeVersion:"6.0",digest:"944daaeb3f6369c807c0e63b106cee1360040f7800a70c0d942a992f25a55da7"},yin_yang:{category:"symbols",moji:"☯",description:"yin yang",unicodeVersion:"1.1",digest:"5ee8d13dacf41306a09237bfcff6abeef110331b40eb7d6e80600628c1327545"},yum:{category:"people",moji:"😋",description:"face savouring delicious food",unicodeVersion:"6.0",digest:"31a89088c21bd7a74a3a26d731a907d1bc49436300a9f9c55248703cf7ef44c7"},zap:{category:"nature",moji:"⚡",description:"high voltage sign",unicodeVersion:"4.0",digest:"9f8144ae6f866129aea41bbf694b0c858ef9352a139969e57cd8db73385f52c3"},zero:{category:"symbols",moji:"0️⃣",description:"keycap digit zero",unicodeVersion:"3.0",digest:"1b27b5c904defadbdd28ace67a6be5c277ff043297db7cd9f672bbf84e37fa1a"},zipper_mouth:{category:"people",moji:"🤐",description:"zipper-mouth face",unicodeVersion:"8.0",digest:"81bee5aa1202dfd5a4c7badb71ec0e44b8f75c2cbef94e6fd35c593d8770ae43"},zzz:{category:"people",moji:"💤",description:"sleeping symbol",unicodeVersion:"6.0",digest:"b3313d0c44a59fa9d4ce9f7eb4d07ff71dfc8bb01798154250f27cdcf3c693b5"}}},526:function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},527:function(e,t){var n=0,i=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++n+i).toString(36))}},528:function(e,t,n){var i=n(613);e.exports=function(e){return Object(i(e))}},529:function(e,t,n){var i=n(673),o=Math.min;e.exports=function(e){return e>0?o(i(e),9007199254740991):0}},530:function(e,t,n){var i=n(264)("unscopables"),o=Array.prototype;void 0==o[i]&&n(466)(o,i,{}),e.exports=function(e){o[i][e]=!0}},531:function(e,t){e.exports=!1},532:function(e,t){e.exports={}},533:function(e,t,n){var i=n(413).f,o=n(432),r=n(264)("toStringTag");e.exports=function(e,t,n){e&&!o(e=n?e:e.prototype,r)&&i(e,r,{configurable:!0,value:t})}},534:function(e,t){t.f={}.propertyIsEnumerable},535:function(e,t,n){var i=n(527)("meta"),o=n(304),r=n(432),a=n(413).f,s=0,c=Object.isExtensible||function(){return!0},l=!n(467)(function(){return c(Object.preventExtensions({}))}),d=function(e){a(e,i,{value:{i:"O"+ ++s,w:{}}})},u=e.exports={KEY:i,NEED:!1,fastKey:function(e,t){if(!o(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!r(e,i)){if(!c(e))return"F";if(!t)return"E";d(e)}return e[i].i},getWeak:function(e,t){if(!r(e,i)){if(!c(e))return!0;if(!t)return!1;d(e)}return e[i].w},onFreeze:function(e){return l&&u.NEED&&c(e)&&!r(e,i)&&d(e),e}}},555:function(e,t,n){"use strict";function i(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}var o=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"}var t,n,o;return t=e,o=[{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 i=n||document.querySelector('*[data-bind-out="'.concat(t.dataset.bindIn,'"]'));return i?new e(t,i).addEvents().updateOut():null}}],(n=[{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}}])&&i(t.prototype,n),o&&i(t,o),e}();t.a=o},599:function(e,t,n){"use strict";var i=n(15),o=n(640);function r(e){return(r="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})(e)}function a(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function s(e,t){return!t||"object"!==r(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function c(e){return(c=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function l(e,t){return(l=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var d=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),s(this,c(t).apply(this,arguments))}var n,r,d;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&l(e,t)}(t,o["a"]),n=t,(r=[{key:"retrieve",value:function(e){var t=this;return this.hasData(e)?Promise.resolve(this.get(e)):i.a.users("",{username:e}).then(function(n){var i=n.data;if(!i.length)throw new Error('User "'.concat(e,'" could not be found!'));if(i.length>1)throw new Error('Expected username "'.concat(e,'" to be unique!'));var o=i[0];return t.internalStorage[e]=o,o})}},{key:"retrieveById",value:function(e){var t=this;return this.hasData(e)&&this.get(e).username?Promise.resolve(this.get(e)):i.a.user(e).then(function(n){var i=n.data;return t.internalStorage[e]=i,i})}},{key:"retrieveStatusById",value:function(e){var t=this;return this.hasData(e)&&this.get(e).status?Promise.resolve(this.get(e).status):i.a.userStatus(e).then(function(n){var i=n.data;return t.hasData(e)||(t.internalStorage[e]={}),t.internalStorage[e].status=i,i})}}])&&a(n.prototype,r),d&&a(n,d),t}();t.a=new d},6:function(e,t,n){"use strict";n.r(t),function(e,n){
|
||
/*!
|
||
* Vue.js v2.5.21
|
||
* (c) 2014-2018 Evan You
|
||
* Released under the MIT License.
|
||
*/
|
||
var i=Object.freeze({});function o(e){return void 0===e||null===e}function r(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 c(e){return null!==e&&"object"==typeof e}var l=Object.prototype.toString;function d(e){return"[object Object]"===l.call(e)}function u(e){return"[object RegExp]"===l.call(e)}function f(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 g(e,t){for(var n=Object.create(null),i=e.split(","),o=0;o<i.length;o++)n[i[o]]=!0;return t?function(e){return n[e.toLowerCase()]}:function(e){return n[e]}}var m=g("slot,component",!0),b=g("key,ref,slot,slot-scope,is");function v(e,t){if(e.length){var n=e.indexOf(t);if(n>-1)return e.splice(n,1)}}var y=Object.prototype.hasOwnProperty;function _(e,t){return y.call(e,t)}function w(e){var t=Object.create(null);return function(n){return t[n]||(t[n]=e(n))}}var x=/-(\w)/g,S=w(function(e){return e.replace(x,function(e,t){return t?t.toUpperCase():""})}),T=w(function(e){return e.charAt(0).toUpperCase()+e.slice(1)}),k=/\B([A-Z])/g,C=w(function(e){return e.replace(k,"-$1").toLowerCase()});var j=Function.prototype.bind?function(e,t){return e.bind(t)}:function(e,t){function n(n){var i=arguments.length;return i?i>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,i=new Array(n);n--;)i[n]=e[n+t];return i}function E(e,t){for(var n in t)e[n]=t[n];return e}function I(e){for(var t={},n=0;n<e.length;n++)e[n]&&E(t,e[n]);return t}function M(e,t,n){}var O=function(e,t,n){return!1},D=function(e){return e};function V(e,t){if(e===t)return!0;var n=c(e),i=c(t);if(!n||!i)return!n&&!i&&String(e)===String(t);try{var o=Array.isArray(e),r=Array.isArray(t);if(o&&r)return e.length===t.length&&e.every(function(e,n){return V(e,t[n])});if(e instanceof Date&&t instanceof Date)return e.getTime()===t.getTime();if(o||r)return!1;var a=Object.keys(e),s=Object.keys(t);return a.length===s.length&&a.every(function(n){return V(e[n],t[n])})}catch(e){return!1}}function L(e,t){for(var n=0;n<e.length;n++)if(V(e[n],t))return n;return-1}function P(e){var t=!1;return function(){t||(t=!0,e.apply(this,arguments))}}var N="data-server-rendered",R=["component","directive","filter"],F=["beforeCreate","created","beforeMount","mounted","beforeUpdate","updated","beforeDestroy","destroyed","activated","deactivated","errorCaptured"],B={optionMergeStrategies:Object.create(null),silent:!1,productionTip:!1,devtools:!1,performance:!1,errorHandler:null,warnHandler:null,ignoredElements:[],keyCodes:Object.create(null),isReservedTag:O,isReservedAttr:O,isUnknownElement:O,getTagNamespace:M,parsePlatformTagName:D,mustUseProp:O,async:!0,_lifecycleHooks:F};function z(e,t,n,i){Object.defineProperty(e,t,{value:n,enumerable:!!i,writable:!0,configurable:!0})}var H=/[^\w.$]/;var $,q="__proto__"in{},W="undefined"!=typeof window,G="undefined"!=typeof WXEnvironment&&!!WXEnvironment.platform,U=G&&WXEnvironment.platform.toLowerCase(),K=W&&window.navigator.userAgent.toLowerCase(),Y=K&&/msie|trident/.test(K),Z=K&&K.indexOf("msie 9.0")>0,X=K&&K.indexOf("edge/")>0,Q=(K&&K.indexOf("android"),K&&/iphone|ipad|ipod|ios/.test(K)||"ios"===U),J=(K&&/chrome\/\d+/.test(K),{}.watch),ee=!1;if(W)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===$&&($=!W&&!G&&void 0!==e&&(e.process&&"server"===e.process.env.VUE_ENV)),$},ie=W&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function oe(e){return"function"==typeof e&&/native code/.test(e.toString())}var re,ae="undefined"!=typeof Symbol&&oe(Symbol)&&"undefined"!=typeof Reflect&&oe(Reflect.ownKeys);re="undefined"!=typeof Set&&oe(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=M,ce=0,le=function(){this.id=ce++,this.subs=[]};le.prototype.addSub=function(e){this.subs.push(e)},le.prototype.removeSub=function(e){v(this.subs,e)},le.prototype.depend=function(){le.target&&le.target.addDep(this)},le.prototype.notify=function(){var e=this.subs.slice();for(var t=0,n=e.length;t<n;t++)e[t].update()},le.target=null;var de=[];function ue(e){de.push(e),le.target=e}function fe(){de.pop(),le.target=de[de.length-1]}var he=function(e,t,n,i,o,r,a,s){this.tag=e,this.data=t,this.children=n,this.text=i,this.elm=o,this.ns=void 0,this.context=r,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 ge=function(e){void 0===e&&(e="");var t=new he;return t.text=e,t.isComment=!0,t};function me(e){return new he(void 0,void 0,void 0,String(e))}function be(e){var t=new he(e.tag,e.data,e.children&&e.children.slice(),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.asyncMeta=e.asyncMeta,t.isCloned=!0,t}var ve=Array.prototype,ye=Object.create(ve);["push","pop","shift","unshift","splice","sort","reverse"].forEach(function(e){var t=ve[e];z(ye,e,function(){for(var n=[],i=arguments.length;i--;)n[i]=arguments[i];var o,r=t.apply(this,n),a=this.__ob__;switch(e){case"push":case"unshift":o=n;break;case"splice":o=n.slice(2)}return o&&a.observeArray(o),a.dep.notify(),r})});var _e=Object.getOwnPropertyNames(ye),we=!0;function xe(e){we=e}var Se=function(e){var t;this.value=e,this.dep=new le,this.vmCount=0,z(e,"__ob__",this),Array.isArray(e)?(q?(t=ye,e.__proto__=t):function(e,t,n){for(var i=0,o=n.length;i<o;i++){var r=n[i];z(e,r,t[r])}}(e,ye,_e),this.observeArray(e)):this.walk(e)};function Te(e,t){var n;if(c(e)&&!(e instanceof he))return _(e,"__ob__")&&e.__ob__ instanceof Se?n=e.__ob__:we&&!ne()&&(Array.isArray(e)||d(e))&&Object.isExtensible(e)&&!e._isVue&&(n=new Se(e)),t&&n&&n.vmCount++,n}function ke(e,t,n,i,o){var r=new le,a=Object.getOwnPropertyDescriptor(e,t);if(!a||!1!==a.configurable){var s=a&&a.get,c=a&&a.set;s&&!c||2!==arguments.length||(n=e[t]);var l=!o&&Te(n);Object.defineProperty(e,t,{enumerable:!0,configurable:!0,get:function(){var t=s?s.call(e):n;return le.target&&(r.depend(),l&&(l.dep.depend(),Array.isArray(t)&&function e(t){for(var n=void 0,i=0,o=t.length;i<o;i++)(n=t[i])&&n.__ob__&&n.__ob__.dep.depend(),Array.isArray(n)&&e(n)}(t))),t},set:function(t){var i=s?s.call(e):n;t===i||t!=t&&i!=i||s&&!c||(c?c.call(e,t):n=t,l=!o&&Te(t),r.notify())}})}}function Ce(e,t,n){if(Array.isArray(e)&&f(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 i=e.__ob__;return e._isVue||i&&i.vmCount?n:i?(ke(i.value,t,n),i.dep.notify(),n):(e[t]=n,n)}function je(e,t){if(Array.isArray(e)&&f(t))e.splice(t,1);else{var n=e.__ob__;e._isVue||n&&n.vmCount||_(e,t)&&(delete e[t],n&&n.dep.notify())}}Se.prototype.walk=function(e){for(var t=Object.keys(e),n=0;n<t.length;n++)ke(e,t[n])},Se.prototype.observeArray=function(e){for(var t=0,n=e.length;t<n;t++)Te(e[t])};var Ae=B.optionMergeStrategies;function Ee(e,t){if(!t)return e;for(var n,i,o,r=Object.keys(t),a=0;a<r.length;a++)i=e[n=r[a]],o=t[n],_(e,n)?i!==o&&d(i)&&d(o)&&Ee(i,o):Ce(e,n,o);return e}function Ie(e,t,n){return n?function(){var i="function"==typeof t?t.call(n,n):t,o="function"==typeof e?e.call(n,n):e;return i?Ee(i,o):o}:t?e?function(){return Ee("function"==typeof t?t.call(this,this):t,"function"==typeof e?e.call(this,this):e)}:t:e}function Me(e,t){return t?e?e.concat(t):Array.isArray(t)?t:[t]:e}function Oe(e,t,n,i){var o=Object.create(e||null);return t?E(o,t):o}Ae.data=function(e,t,n){return n?Ie(e,t,n):t&&"function"!=typeof t?e:Ie(e,t)},F.forEach(function(e){Ae[e]=Me}),R.forEach(function(e){Ae[e+"s"]=Oe}),Ae.watch=function(e,t,n,i){if(e===J&&(e=void 0),t===J&&(t=void 0),!t)return Object.create(e||null);if(!e)return t;var o={};for(var r in E(o,e),t){var a=o[r],s=t[r];a&&!Array.isArray(a)&&(a=[a]),o[r]=a?a.concat(s):Array.isArray(s)?s:[s]}return o},Ae.props=Ae.methods=Ae.inject=Ae.computed=function(e,t,n,i){if(!e)return t;var o=Object.create(null);return E(o,e),t&&E(o,t),o},Ae.provide=Ie;var De=function(e,t){return void 0===t?e:t};function Ve(e,t,n){if("function"==typeof t&&(t=t.options),function(e,t){var n=e.props;if(n){var i,o,r={};if(Array.isArray(n))for(i=n.length;i--;)"string"==typeof(o=n[i])&&(r[S(o)]={type:null});else if(d(n))for(var a in n)o=n[a],r[S(a)]=d(o)?o:{type:o};e.props=r}}(t),function(e,t){var n=e.inject;if(n){var i=e.inject={};if(Array.isArray(n))for(var o=0;o<n.length;o++)i[n[o]]={from:n[o]};else if(d(n))for(var r in n){var a=n[r];i[r]=d(a)?E({from:r},a):{from:a}}}}(t),function(e){var t=e.directives;if(t)for(var n in t){var i=t[n];"function"==typeof i&&(t[n]={bind:i,update:i})}}(t),!t._base&&(t.extends&&(e=Ve(e,t.extends,n)),t.mixins))for(var i=0,o=t.mixins.length;i<o;i++)e=Ve(e,t.mixins[i],n);var r,a={};for(r in e)s(r);for(r in t)_(e,r)||s(r);function s(i){var o=Ae[i]||De;a[i]=o(e[i],t[i],n,i)}return a}function Le(e,t,n,i){if("string"==typeof n){var o=e[t];if(_(o,n))return o[n];var r=S(n);if(_(o,r))return o[r];var a=T(r);return _(o,a)?o[a]:o[n]||o[r]||o[a]}}function Pe(e,t,n,i){var o=t[e],r=!_(n,e),a=n[e],s=Fe(Boolean,o.type);if(s>-1)if(r&&!_(o,"default"))a=!1;else if(""===a||a===C(e)){var c=Fe(String,o.type);(c<0||s<c)&&(a=!0)}if(void 0===a){a=function(e,t,n){if(!_(t,"default"))return;var i=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 i&&"Function"!==Ne(t.type)?i.call(e):i}(i,o,e);var l=we;xe(!0),Te(a),xe(l)}return a}function Ne(e){var t=e&&e.toString().match(/^\s*function (\w+)/);return t?t[1]:""}function Re(e,t){return Ne(e)===Ne(t)}function Fe(e,t){if(!Array.isArray(t))return Re(t,e)?0:-1;for(var n=0,i=t.length;n<i;n++)if(Re(t[n],e))return n;return-1}function Be(e,t,n){if(t)for(var i=t;i=i.$parent;){var o=i.$options.errorCaptured;if(o)for(var r=0;r<o.length;r++)try{if(!1===o[r].call(i,e,t,n))return}catch(e){ze(e,i,"errorCaptured hook")}}ze(e,t,n)}function ze(e,t,n){if(B.errorHandler)try{return B.errorHandler.call(null,e,t,n)}catch(e){He(e,null,"config.errorHandler")}He(e,t,n)}function He(e,t,n){if(!W&&!G||"undefined"==typeof console)throw e;console.error(e)}var $e,qe,We=[],Ge=!1;function Ue(){Ge=!1;var e=We.slice(0);We.length=0;for(var t=0;t<e.length;t++)e[t]()}var Ke=!1;if(void 0!==n&&oe(n))qe=function(){n(Ue)};else if("undefined"==typeof MessageChannel||!oe(MessageChannel)&&"[object MessageChannelConstructor]"!==MessageChannel.toString())qe=function(){setTimeout(Ue,0)};else{var Ye=new MessageChannel,Ze=Ye.port2;Ye.port1.onmessage=Ue,qe=function(){Ze.postMessage(1)}}if("undefined"!=typeof Promise&&oe(Promise)){var Xe=Promise.resolve();$e=function(){Xe.then(Ue),Q&&setTimeout(M)}}else $e=qe;function Qe(e,t){var n;if(We.push(function(){if(e)try{e.call(t)}catch(e){Be(e,t,"nextTick")}else n&&n(t)}),Ge||(Ge=!0,Ke?qe():$e()),!e&&"undefined"!=typeof Promise)return new Promise(function(e){n=e})}var Je=new re;function et(e){!function e(t,n){var i,o;var r=Array.isArray(t);if(!r&&!c(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(r)for(i=t.length;i--;)e(t[i],n);else for(o=Object.keys(t),i=o.length;i--;)e(t[o[i]],n)}(e,Je),Je.clear()}var tt,nt=w(function(e){var t="&"===e.charAt(0),n="~"===(e=t?e.slice(1):e).charAt(0),i="!"===(e=n?e.slice(1):e).charAt(0);return{name:e=i?e.slice(1):e,once:n,capture:i,passive:t}});function it(e){function t(){var e=arguments,n=t.fns;if(!Array.isArray(n))return n.apply(null,arguments);for(var i=n.slice(),o=0;o<i.length;o++)i[o].apply(null,e)}return t.fns=e,t}function ot(e,t,n,i,r,s){var c,l,d,u;for(c in e)l=e[c],d=t[c],u=nt(c),o(l)||(o(d)?(o(l.fns)&&(l=e[c]=it(l)),a(u.once)&&(l=e[c]=r(u.name,l,u.capture)),n(u.name,l,u.capture,u.passive,u.params)):l!==d&&(d.fns=l,e[c]=d));for(c in t)o(e[c])&&i((u=nt(c)).name,t[c],u.capture)}function rt(e,t,n){var i;e instanceof he&&(e=e.data.hook||(e.data.hook={}));var s=e[t];function c(){n.apply(this,arguments),v(i.fns,c)}o(s)?i=it([c]):r(s.fns)&&a(s.merged)?(i=s).fns.push(c):i=it([s,c]),i.merged=!0,e[t]=i}function at(e,t,n,i,o){if(r(t)){if(_(t,n))return e[n]=t[n],o||delete t[n],!0;if(_(t,i))return e[n]=t[i],o||delete t[i],!0}return!1}function st(e){return s(e)?[me(e)]:Array.isArray(e)?function e(t,n){var i=[];var c,l,d,u;for(c=0;c<t.length;c++)o(l=t[c])||"boolean"==typeof l||(d=i.length-1,u=i[d],Array.isArray(l)?l.length>0&&(ct((l=e(l,(n||"")+"_"+c))[0])&&ct(u)&&(i[d]=me(u.text+l[0].text),l.shift()),i.push.apply(i,l)):s(l)?ct(u)?i[d]=me(u.text+l):""!==l&&i.push(me(l)):ct(l)&&ct(u)?i[d]=me(u.text+l.text):(a(t._isVList)&&r(l.tag)&&o(l.key)&&r(n)&&(l.key="__vlist"+n+"_"+c+"__"),i.push(l)));return i}(e):void 0}function ct(e){return r(e)&&r(e.text)&&!1===e.isComment}function lt(e,t){return(e.__esModule||ae&&"Module"===e[Symbol.toStringTag])&&(e=e.default),c(e)?t.extend(e):e}function dt(e){return e.isComment&&e.asyncFactory}function ut(e){if(Array.isArray(e))for(var t=0;t<e.length;t++){var n=e[t];if(r(n)&&(r(n.componentOptions)||dt(n)))return n}}function ft(e,t){tt.$on(e,t)}function ht(e,t){tt.$off(e,t)}function pt(e,t){var n=tt;return function i(){null!==t.apply(null,arguments)&&n.$off(e,i)}}function gt(e,t,n){tt=e,ot(t,n||{},ft,ht,pt),tt=void 0}function mt(e,t){var n={};if(!e)return n;for(var i=0,o=e.length;i<o;i++){var r=e[i],a=r.data;if(a&&a.attrs&&a.attrs.slot&&delete a.attrs.slot,r.context!==t&&r.fnContext!==t||!a||null==a.slot)(n.default||(n.default=[])).push(r);else{var s=a.slot,c=n[s]||(n[s]=[]);"template"===r.tag?c.push.apply(c,r.children||[]):c.push(r)}}for(var l in n)n[l].every(bt)&&delete n[l];return n}function bt(e){return e.isComment&&!e.asyncFactory||" "===e.text}function vt(e,t){t=t||{};for(var n=0;n<e.length;n++)Array.isArray(e[n])?vt(e[n],t):t[e[n].key]=e[n].fn;return t}var yt=null;function _t(e){var t=yt;return yt=e,function(){yt=t}}function wt(e){for(;e&&(e=e.$parent);)if(e._inactive)return!0;return!1}function xt(e,t){if(t){if(e._directInactive=!1,wt(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++)xt(e.$children[n]);St(e,"activated")}}function St(e,t){ue();var n=e.$options[t];if(n)for(var i=0,o=n.length;i<o;i++)try{n[i].call(e)}catch(n){Be(n,e,t+" hook")}e._hasHookEvent&&e.$emit("hook:"+t),fe()}var Tt=[],kt=[],Ct={},jt=!1,At=!1,Et=0;function It(){var e,t;for(At=!0,Tt.sort(function(e,t){return e.id-t.id}),Et=0;Et<Tt.length;Et++)(e=Tt[Et]).before&&e.before(),t=e.id,Ct[t]=null,e.run();var n=kt.slice(),i=Tt.slice();Et=Tt.length=kt.length=0,Ct={},jt=At=!1,function(e){for(var t=0;t<e.length;t++)e[t]._inactive=!0,xt(e[t],!0)}(n),function(e){var t=e.length;for(;t--;){var n=e[t],i=n.vm;i._watcher===n&&i._isMounted&&!i._isDestroyed&&St(i,"updated")}}(i),ie&&B.devtools&&ie.emit("flush")}var Mt=0,Ot=function(e,t,n,i,o){this.vm=e,o&&(e._watcher=this),e._watchers.push(this),i?(this.deep=!!i.deep,this.user=!!i.user,this.lazy=!!i.lazy,this.sync=!!i.sync,this.before=i.before):this.deep=this.user=this.lazy=this.sync=!1,this.cb=n,this.id=++Mt,this.active=!0,this.dirty=this.lazy,this.deps=[],this.newDeps=[],this.depIds=new re,this.newDepIds=new re,this.expression="","function"==typeof t?this.getter=t:(this.getter=function(e){if(!H.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=M)),this.value=this.lazy?void 0:this.get()};Ot.prototype.get=function(){var e;ue(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&&et(e),fe(),this.cleanupDeps()}return e},Ot.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))},Ot.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},Ot.prototype.update=function(){this.lazy?this.dirty=!0:this.sync?this.run():function(e){var t=e.id;if(null==Ct[t]){if(Ct[t]=!0,At){for(var n=Tt.length-1;n>Et&&Tt[n].id>e.id;)n--;Tt.splice(n+1,0,e)}else Tt.push(e);jt||(jt=!0,Qe(It))}}(this)},Ot.prototype.run=function(){if(this.active){var e=this.get();if(e!==this.value||c(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)}}},Ot.prototype.evaluate=function(){this.value=this.get(),this.dirty=!1},Ot.prototype.depend=function(){for(var e=this.deps.length;e--;)this.deps[e].depend()},Ot.prototype.teardown=function(){if(this.active){this.vm._isBeingDestroyed||v(this.vm._watchers,this);for(var e=this.deps.length;e--;)this.deps[e].removeSub(this);this.active=!1}};var Dt={enumerable:!0,configurable:!0,get:M,set:M};function Vt(e,t,n){Dt.get=function(){return this[t][n]},Dt.set=function(e){this[t][n]=e},Object.defineProperty(e,n,Dt)}function Lt(e){e._watchers=[];var t=e.$options;t.props&&function(e,t){var n=e.$options.propsData||{},i=e._props={},o=e.$options._propKeys=[];e.$parent&&xe(!1);var r=function(r){o.push(r);var a=Pe(r,t,n,e);ke(i,r,a),r in e||Vt(e,"_props",r)};for(var a in t)r(a);xe(!0)}(e,t.props),t.methods&&function(e,t){e.$options.props;for(var n in t)e[n]="function"!=typeof t[n]?M:j(t[n],e)}(e,t.methods),t.data?function(e){var t=e.$options.data;d(t=e._data="function"==typeof t?function(e,t){ue();try{return e.call(t,t)}catch(e){return Be(e,t,"data()"),{}}finally{fe()}}(t,e):t||{})||(t={});var n=Object.keys(t),i=e.$options.props,o=(e.$options.methods,n.length);for(;o--;){var r=n[o];0,i&&_(i,r)||(void 0,36!==(a=(r+"").charCodeAt(0))&&95!==a&&Vt(e,"_data",r))}var a;Te(t,!0)}(e):Te(e._data={},!0),t.computed&&function(e,t){var n=e._computedWatchers=Object.create(null),i=ne();for(var o in t){var r=t[o],a="function"==typeof r?r:r.get;0,i||(n[o]=new Ot(e,a||M,M,Pt)),o in e||Nt(e,o,r)}}(e,t.computed),t.watch&&t.watch!==J&&function(e,t){for(var n in t){var i=t[n];if(Array.isArray(i))for(var o=0;o<i.length;o++)Bt(e,n,i[o]);else Bt(e,n,i)}}(e,t.watch)}var Pt={lazy:!0};function Nt(e,t,n){var i=!ne();"function"==typeof n?(Dt.get=i?Rt(t):Ft(n),Dt.set=M):(Dt.get=n.get?i&&!1!==n.cache?Rt(t):Ft(n.get):M,Dt.set=n.set||M),Object.defineProperty(e,t,Dt)}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 Ft(e){return function(){return e.call(this,this)}}function Bt(e,t,n,i){return d(n)&&(i=n,n=n.handler),"string"==typeof n&&(n=e[n]),e.$watch(t,n,i)}function zt(e,t){if(e){for(var n=Object.create(null),i=ae?Reflect.ownKeys(e).filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}):Object.keys(e),o=0;o<i.length;o++){for(var r=i[o],a=e[r].from,s=t;s;){if(s._provided&&_(s._provided,a)){n[r]=s._provided[a];break}s=s.$parent}if(!s)if("default"in e[r]){var c=e[r].default;n[r]="function"==typeof c?c.call(t):c}else 0}return n}}function Ht(e,t){var n,i,o,a,s;if(Array.isArray(e)||"string"==typeof e)for(n=new Array(e.length),i=0,o=e.length;i<o;i++)n[i]=t(e[i],i);else if("number"==typeof e)for(n=new Array(e),i=0;i<e;i++)n[i]=t(i+1,i);else if(c(e))for(a=Object.keys(e),n=new Array(a.length),i=0,o=a.length;i<o;i++)s=a[i],n[i]=t(e[s],s,i);return r(n)||(n=[]),n._isVList=!0,n}function $t(e,t,n,i){var o,r=this.$scopedSlots[e];r?(n=n||{},i&&(n=E(E({},i),n)),o=r(n)||t):o=this.$slots[e]||t;var a=n&&n.slot;return a?this.$createElement("template",{slot:a},o):o}function qt(e){return Le(this.$options,"filters",e)||D}function Wt(e,t){return Array.isArray(e)?-1===e.indexOf(t):e!==t}function Gt(e,t,n,i,o){var r=B.keyCodes[t]||n;return o&&i&&!B.keyCodes[t]?Wt(o,i):r?Wt(r,e):i?C(i)!==t:void 0}function Ut(e,t,n,i,o){if(n)if(c(n)){var r;Array.isArray(n)&&(n=I(n));var a=function(a){if("class"===a||"style"===a||b(a))r=e;else{var s=e.attrs&&e.attrs.type;r=i||B.mustUseProp(t,s,a)?e.domProps||(e.domProps={}):e.attrs||(e.attrs={})}var c=S(a);a in r||c in r||(r[a]=n[a],o&&((e.on||(e.on={}))["update:"+c]=function(e){n[a]=e}))};for(var s in n)a(s)}else;return e}function Kt(e,t){var n=this._staticTrees||(this._staticTrees=[]),i=n[e];return i&&!t?i:(Zt(i=n[e]=this.$options.staticRenderFns[e].call(this._renderProxy,null,this),"__static__"+e,!1),i)}function Yt(e,t,n){return Zt(e,"__once__"+t+(n?"_"+n:""),!0),e}function Zt(e,t,n){if(Array.isArray(e))for(var i=0;i<e.length;i++)e[i]&&"string"!=typeof e[i]&&Xt(e[i],t+"_"+i,n);else Xt(e,t,n)}function Xt(e,t,n){e.isStatic=!0,e.key=t,e.isOnce=n}function Qt(e,t){if(t)if(d(t)){var n=e.on=e.on?E({},e.on):{};for(var i in t){var o=n[i],r=t[i];n[i]=o?[].concat(o,r):r}}else;return e}function Jt(e){e._o=Yt,e._n=p,e._s=h,e._l=Ht,e._t=$t,e._q=V,e._i=L,e._m=Kt,e._f=qt,e._k=Gt,e._b=Ut,e._v=me,e._e=ge,e._u=vt,e._g=Qt}function en(e,t,n,o,r){var s,c=r.options;_(o,"_uid")?(s=Object.create(o))._original=o:(s=o,o=o._original);var l=a(c._compiled),d=!l;this.data=e,this.props=t,this.children=n,this.parent=o,this.listeners=e.on||i,this.injections=zt(c.inject,o),this.slots=function(){return mt(n,o)},l&&(this.$options=c,this.$slots=this.slots(),this.$scopedSlots=e.scopedSlots||i),c._scopeId?this._c=function(e,t,n,i){var r=dn(s,e,t,n,i,d);return r&&!Array.isArray(r)&&(r.fnScopeId=c._scopeId,r.fnContext=o),r}:this._c=function(e,t,n,i){return dn(s,e,t,n,i,d)}}function tn(e,t,n,i,o){var r=be(e);return r.fnContext=n,r.fnOptions=i,t.slot&&((r.data||(r.data={})).slot=t.slot),r}function nn(e,t){for(var n in t)e[S(n)]=t[n]}Jt(en.prototype);var on={init:function(e,t){if(e.componentInstance&&!e.componentInstance._isDestroyed&&e.data.keepAlive){var n=e;on.prepatch(n,n)}else{(e.componentInstance=function(e,t){var n={_isComponent:!0,_parentVnode:e,parent:t},i=e.data.inlineTemplate;r(i)&&(n.render=i.render,n.staticRenderFns=i.staticRenderFns);return new e.componentOptions.Ctor(n)}(e,yt)).$mount(t?e.elm:void 0,t)}},prepatch:function(e,t){var n=t.componentOptions;!function(e,t,n,o,r){var a=!!(r||e.$options._renderChildren||o.data.scopedSlots||e.$scopedSlots!==i);if(e.$options._parentVnode=o,e.$vnode=o,e._vnode&&(e._vnode.parent=o),e.$options._renderChildren=r,e.$attrs=o.data.attrs||i,e.$listeners=n||i,t&&e.$options.props){xe(!1);for(var s=e._props,c=e.$options._propKeys||[],l=0;l<c.length;l++){var d=c[l],u=e.$options.props;s[d]=Pe(d,u,t,e)}xe(!0),e.$options.propsData=t}n=n||i;var f=e.$options._parentListeners;e.$options._parentListeners=n,gt(e,n,f),a&&(e.$slots=mt(r,o.context),e.$forceUpdate())}(t.componentInstance=e.componentInstance,n.propsData,n.listeners,t,n.children)},insert:function(e){var t,n=e.context,i=e.componentInstance;i._isMounted||(i._isMounted=!0,St(i,"mounted")),e.data.keepAlive&&(n._isMounted?((t=i)._inactive=!1,kt.push(t)):xt(i,!0))},destroy:function(e){var t=e.componentInstance;t._isDestroyed||(e.data.keepAlive?function e(t,n){if(!(n&&(t._directInactive=!0,wt(t))||t._inactive)){t._inactive=!0;for(var i=0;i<t.$children.length;i++)e(t.$children[i]);St(t,"deactivated")}}(t,!0):t.$destroy())}},rn=Object.keys(on);function an(e,t,n,s,l){if(!o(e)){var d=n.$options._base;if(c(e)&&(e=d.extend(e)),"function"==typeof e){var u;if(o(e.cid)&&void 0===(e=function(e,t,n){if(a(e.error)&&r(e.errorComp))return e.errorComp;if(r(e.resolved))return e.resolved;if(a(e.loading)&&r(e.loadingComp))return e.loadingComp;if(!r(e.contexts)){var i=e.contexts=[n],s=!0,l=function(e){for(var t=0,n=i.length;t<n;t++)i[t].$forceUpdate();e&&(i.length=0)},d=P(function(n){e.resolved=lt(n,t),s||l(!0)}),u=P(function(t){r(e.errorComp)&&(e.error=!0,l(!0))}),f=e(d,u);return c(f)&&("function"==typeof f.then?o(e.resolved)&&f.then(d,u):r(f.component)&&"function"==typeof f.component.then&&(f.component.then(d,u),r(f.error)&&(e.errorComp=lt(f.error,t)),r(f.loading)&&(e.loadingComp=lt(f.loading,t),0===f.delay?e.loading=!0:setTimeout(function(){o(e.resolved)&&o(e.error)&&(e.loading=!0,l(!1))},f.delay||200)),r(f.timeout)&&setTimeout(function(){o(e.resolved)&&u(null)},f.timeout))),s=!1,e.loading?e.loadingComp:e.resolved}e.contexts.push(n)}(u=e,d,n)))return function(e,t,n,i,o){var r=ge();return r.asyncFactory=e,r.asyncMeta={data:t,context:n,children:i,tag:o},r}(u,t,n,s,l);t=t||{},fn(e),r(t.model)&&function(e,t){var n=e.model&&e.model.prop||"value",i=e.model&&e.model.event||"input";(t.props||(t.props={}))[n]=t.model.value;var o=t.on||(t.on={}),a=o[i],s=t.model.callback;r(a)?(Array.isArray(a)?-1===a.indexOf(s):a!==s)&&(o[i]=[s].concat(a)):o[i]=s}(e.options,t);var f=function(e,t,n){var i=t.options.props;if(!o(i)){var a={},s=e.attrs,c=e.props;if(r(s)||r(c))for(var l in i){var d=C(l);at(a,c,l,d,!0)||at(a,s,l,d,!1)}return a}}(t,e);if(a(e.options.functional))return function(e,t,n,o,a){var s=e.options,c={},l=s.props;if(r(l))for(var d in l)c[d]=Pe(d,l,t||i);else r(n.attrs)&&nn(c,n.attrs),r(n.props)&&nn(c,n.props);var u=new en(n,c,a,o,e),f=s.render.call(null,u._c,u);if(f instanceof he)return tn(f,n,u.parent,s);if(Array.isArray(f)){for(var h=st(f)||[],p=new Array(h.length),g=0;g<h.length;g++)p[g]=tn(h[g],n,u.parent,s);return p}}(e,f,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 i=rn[n],o=t[i],r=on[i];o===r||o&&o._merged||(t[i]=o?sn(r,o):r)}}(t);var g=e.options.name||l;return new he("vue-component-"+e.cid+(g?"-"+g:""),t,void 0,void 0,void 0,n,{Ctor:e,propsData:f,listeners:h,tag:l,children:s},u)}}}function sn(e,t){var n=function(n,i){e(n,i),t(n,i)};return n._merged=!0,n}var cn=1,ln=2;function dn(e,t,n,i,l,d){return(Array.isArray(n)||s(n))&&(l=i,i=n,n=void 0),a(d)&&(l=ln),function(e,t,n,i,s){if(r(n)&&r(n.__ob__))return ge();r(n)&&r(n.is)&&(t=n.is);if(!t)return ge();0;Array.isArray(i)&&"function"==typeof i[0]&&((n=n||{}).scopedSlots={default:i[0]},i.length=0);s===ln?i=st(i):s===cn&&(i=function(e){for(var t=0;t<e.length;t++)if(Array.isArray(e[t]))return Array.prototype.concat.apply([],e);return e}(i));var l,d;if("string"==typeof t){var u;d=e.$vnode&&e.$vnode.ns||B.getTagNamespace(t),l=B.isReservedTag(t)?new he(B.parsePlatformTagName(t),n,i,void 0,void 0,e):n&&n.pre||!r(u=Le(e.$options,"components",t))?new he(t,n,i,void 0,void 0,e):an(u,n,e,i,t)}else l=an(t,n,e,i);return Array.isArray(l)?l:r(l)?(r(d)&&function e(t,n,i){t.ns=n;"foreignObject"===t.tag&&(n=void 0,i=!0);if(r(t.children))for(var s=0,c=t.children.length;s<c;s++){var l=t.children[s];r(l.tag)&&(o(l.ns)||a(i)&&"svg"!==l.tag)&&e(l,n,i)}}(l,d),r(n)&&function(e){c(e.style)&&et(e.style);c(e.class)&&et(e.class)}(n),l):ge()}(e,t,n,i,l)}var un=0;function fn(e){var t=e.options;if(e.super){var n=fn(e.super);if(n!==e.superOptions){e.superOptions=n;var i=function(e){var t,n=e.options,i=e.extendOptions,o=e.sealedOptions;for(var r in n)n[r]!==o[r]&&(t||(t={}),t[r]=hn(n[r],i[r],o[r]));return t}(e);i&&E(e.extendOptions,i),(t=e.options=Ve(n,e.extendOptions)).name&&(t.components[t.name]=e)}}return t}function hn(e,t,n){if(Array.isArray(e)){var i=[];n=Array.isArray(n)?n:[n],t=Array.isArray(t)?t:[t];for(var o=0;o<e.length;o++)(t.indexOf(e[o])>=0||n.indexOf(e[o])<0)&&i.push(e[o]);return i}return e}function pn(e){this._init(e)}function gn(e){e.cid=0;var t=1;e.extend=function(e){e=e||{};var n=this,i=n.cid,o=e._Ctor||(e._Ctor={});if(o[i])return o[i];var r=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=Ve(n.options,e),a.super=n,a.options.props&&function(e){var t=e.options.props;for(var n in t)Vt(e.prototype,"_props",n)}(a),a.options.computed&&function(e){var t=e.options.computed;for(var n in t)Nt(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]}),r&&(a.options.components[r]=a),a.superOptions=n.options,a.extendOptions=e,a.sealedOptions=E({},a.options),o[i]=a,a}}function mn(e){return e&&(e.Ctor.options.name||e.tag)}function bn(e,t){return Array.isArray(e)?e.indexOf(t)>-1:"string"==typeof e?e.split(",").indexOf(t)>-1:!!u(e)&&e.test(t)}function vn(e,t){var n=e.cache,i=e.keys,o=e._vnode;for(var r in n){var a=n[r];if(a){var s=mn(a.componentOptions);s&&!t(s)&&yn(n,r,i,o)}}}function yn(e,t,n,i){var o=e[t];!o||i&&o.tag===i.tag||o.componentInstance.$destroy(),e[t]=null,v(n,t)}!function(e){e.prototype._init=function(e){var t=this;t._uid=un++,t._isVue=!0,e&&e._isComponent?function(e,t){var n=e.$options=Object.create(e.constructor.options),i=t._parentVnode;n.parent=t.parent,n._parentVnode=i;var o=i.componentOptions;n.propsData=o.propsData,n._parentListeners=o.listeners,n._renderChildren=o.children,n._componentTag=o.tag,t.render&&(n.render=t.render,n.staticRenderFns=t.staticRenderFns)}(t,e):t.$options=Ve(fn(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&>(e,t)}(t),function(e){e._vnode=null,e._staticTrees=null;var t=e.$options,n=e.$vnode=t._parentVnode,o=n&&n.context;e.$slots=mt(t._renderChildren,o),e.$scopedSlots=i,e._c=function(t,n,i,o){return dn(e,t,n,i,o,!1)},e.$createElement=function(t,n,i,o){return dn(e,t,n,i,o,!0)};var r=n&&n.data;ke(e,"$attrs",r&&r.attrs||i,null,!0),ke(e,"$listeners",t._parentListeners||i,null,!0)}(t),St(t,"beforeCreate"),function(e){var t=zt(e.$options.inject,e);t&&(xe(!1),Object.keys(t).forEach(function(n){ke(e,n,t[n])}),xe(!0))}(t),Lt(t),function(e){var t=e.$options.provide;t&&(e._provided="function"==typeof t?t.call(e):t)}(t),St(t,"created"),t.$options.el&&t.$mount(t.$options.el)}}(pn),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=Ce,e.prototype.$delete=je,e.prototype.$watch=function(e,t,n){if(d(t))return Bt(this,e,t,n);(n=n||{}).user=!0;var i=new Ot(this,e,t,n);if(n.immediate)try{t.call(this,i.value)}catch(e){Be(e,this,'callback for immediate watcher "'+i.expression+'"')}return function(){i.teardown()}}}(pn),function(e){var t=/^hook:/;e.prototype.$on=function(e,n){var i=this;if(Array.isArray(e))for(var o=0,r=e.length;o<r;o++)i.$on(e[o],n);else(i._events[e]||(i._events[e]=[])).push(n),t.test(e)&&(i._hasHookEvent=!0);return i},e.prototype.$once=function(e,t){var n=this;function i(){n.$off(e,i),t.apply(n,arguments)}return i.fn=t,n.$on(e,i),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 i=0,o=e.length;i<o;i++)n.$off(e[i],t);return n}var r=n._events[e];if(!r)return n;if(!t)return n._events[e]=null,n;if(t)for(var a,s=r.length;s--;)if((a=r[s])===t||a.fn===t){r.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),i=0,o=t.length;i<o;i++)try{t[i].apply(this,n)}catch(t){Be(t,this,'event handler for "'+e+'"')}}return this}}(pn),function(e){e.prototype._update=function(e,t){var n=this,i=n.$el,o=n._vnode,r=_t(n);n._vnode=e,n.$el=o?n.__patch__(o,e):n.__patch__(n.$el,e,t,!1),r(),i&&(i.__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){St(e,"beforeDestroy"),e._isBeingDestroyed=!0;var t=e.$parent;!t||t._isBeingDestroyed||e.$options.abstract||v(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),St(e,"destroyed"),e.$off(),e.$el&&(e.$el.__vue__=null),e.$vnode&&(e.$vnode.parent=null)}}}(pn),function(e){Jt(e.prototype),e.prototype.$nextTick=function(e){return Qe(e,this)},e.prototype._render=function(){var e,t=this,n=t.$options,o=n.render,r=n._parentVnode;r&&(t.$scopedSlots=r.data.scopedSlots||i),t.$vnode=r;try{e=o.call(t._renderProxy,t.$createElement)}catch(n){Be(n,t,"render"),e=t._vnode}return e instanceof he||(e=ge()),e.parent=r,e}}(pn);var _n=[String,RegExp,Array],wn={KeepAlive:{name:"keep-alive",abstract:!0,props:{include:_n,exclude:_n,max:[String,Number]},created:function(){this.cache=Object.create(null),this.keys=[]},destroyed:function(){for(var e in this.cache)yn(this.cache,e,this.keys)},mounted:function(){var e=this;this.$watch("include",function(t){vn(e,function(e){return bn(t,e)})}),this.$watch("exclude",function(t){vn(e,function(e){return!bn(t,e)})})},render:function(){var e=this.$slots.default,t=ut(e),n=t&&t.componentOptions;if(n){var i=mn(n),o=this.include,r=this.exclude;if(o&&(!i||!bn(o,i))||r&&i&&bn(r,i))return t;var a=this.cache,s=this.keys,c=null==t.key?n.Ctor.cid+(n.tag?"::"+n.tag:""):t.key;a[c]?(t.componentInstance=a[c].componentInstance,v(s,c),s.push(c)):(a[c]=t,s.push(c),this.max&&s.length>parseInt(this.max)&&yn(a,s[0],s,this._vnode)),t.data.keepAlive=!0}return t||e&&e[0]}}};!function(e){var t={get:function(){return B}};Object.defineProperty(e,"config",t),e.util={warn:se,extend:E,mergeOptions:Ve,defineReactive:ke},e.set=Ce,e.delete=je,e.nextTick=Qe,e.options=Object.create(null),R.forEach(function(t){e.options[t+"s"]=Object.create(null)}),e.options._base=e,E(e.options.components,wn),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=Ve(this.options,e),this}}(e),gn(e),function(e){R.forEach(function(t){e[t]=function(e,n){return n?("component"===t&&d(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)}(pn),Object.defineProperty(pn.prototype,"$isServer",{get:ne}),Object.defineProperty(pn.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}}),Object.defineProperty(pn,"FunctionalRenderContext",{value:en}),pn.version="2.5.21";var xn=g("style,class"),Sn=g("input,textarea,option,select,progress"),Tn=function(e,t,n){return"value"===n&&Sn(e)&&"button"!==t||"selected"===n&&"option"===e||"checked"===n&&"input"===e||"muted"===n&&"video"===e},kn=g("contenteditable,draggable,spellcheck"),Cn=g("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"),jn="http://www.w3.org/1999/xlink",An=function(e){return":"===e.charAt(5)&&"xlink"===e.slice(0,5)},En=function(e){return An(e)?e.slice(6,e.length):""},In=function(e){return null==e||!1===e};function Mn(e){for(var t=e.data,n=e,i=e;r(i.componentInstance);)(i=i.componentInstance._vnode)&&i.data&&(t=On(i.data,t));for(;r(n=n.parent);)n&&n.data&&(t=On(t,n.data));return function(e,t){if(r(e)||r(t))return Dn(e,Vn(t));return""}(t.staticClass,t.class)}function On(e,t){return{staticClass:Dn(e.staticClass,t.staticClass),class:r(e.class)?[e.class,t.class]:t.class}}function Dn(e,t){return e?t?e+" "+t:e:t||""}function Vn(e){return Array.isArray(e)?function(e){for(var t,n="",i=0,o=e.length;i<o;i++)r(t=Vn(e[i]))&&""!==t&&(n&&(n+=" "),n+=t);return n}(e):c(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=g("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=g("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),Rn=function(e){return Pn(e)||Nn(e)};function Fn(e){return Nn(e)?"svg":"math"===e?"math":void 0}var Bn=Object.create(null);var zn=g("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,"")}}),qn={create:function(e,t){Wn(t)},update:function(e,t){e.data.ref!==t.data.ref&&(Wn(e,!0),Wn(t))},destroy:function(e){Wn(e,!0)}};function Wn(e,t){var n=e.data.ref;if(r(n)){var i=e.context,o=e.componentInstance||e.elm,a=i.$refs;t?Array.isArray(a[n])?v(a[n],o):a[n]===o&&(a[n]=void 0):e.data.refInFor?Array.isArray(a[n])?a[n].indexOf(o)<0&&a[n].push(o):a[n]=[o]:a[n]=o}}var Gn=new he("",{},[]),Un=["create","activate","update","remove","destroy"];function Kn(e,t){return e.key===t.key&&(e.tag===t.tag&&e.isComment===t.isComment&&r(e.data)===r(t.data)&&function(e,t){if("input"!==e.tag)return!0;var n,i=r(n=e.data)&&r(n=n.attrs)&&n.type,o=r(n=t.data)&&r(n=n.attrs)&&n.type;return i===o||zn(i)&&zn(o)}(e,t)||a(e.isAsyncPlaceholder)&&e.asyncFactory===t.asyncFactory&&o(t.asyncFactory.error))}function Yn(e,t,n){var i,o,a={};for(i=t;i<=n;++i)r(o=e[i].key)&&(a[o]=i);return a}var Zn={create:Xn,update:Xn,destroy:function(e){Xn(e,Gn)}};function Xn(e,t){(e.data.directives||t.data.directives)&&function(e,t){var n,i,o,r=e===Gn,a=t===Gn,s=Jn(e.data.directives,e.context),c=Jn(t.data.directives,t.context),l=[],d=[];for(n in c)i=s[n],o=c[n],i?(o.oldValue=i.value,ti(o,"update",t,e),o.def&&o.def.componentUpdated&&d.push(o)):(ti(o,"bind",t,e),o.def&&o.def.inserted&&l.push(o));if(l.length){var u=function(){for(var n=0;n<l.length;n++)ti(l[n],"inserted",t,e)};r?rt(t,"insert",u):u()}d.length&&rt(t,"postpatch",function(){for(var n=0;n<d.length;n++)ti(d[n],"componentUpdated",t,e)});if(!r)for(n in s)c[n]||ti(s[n],"unbind",e,e,a)}(e,t)}var Qn=Object.create(null);function Jn(e,t){var n,i,o=Object.create(null);if(!e)return o;for(n=0;n<e.length;n++)(i=e[n]).modifiers||(i.modifiers=Qn),o[ei(i)]=i,i.def=Le(t.$options,"directives",i.name);return o}function ei(e){return e.rawName||e.name+"."+Object.keys(e.modifiers||{}).join(".")}function ti(e,t,n,i,o){var r=e.def&&e.def[t];if(r)try{r(n.elm,e,n,i,o)}catch(i){Be(i,n.context,"directive "+e.name+" "+t+" hook")}}var ni=[qn,Zn];function ii(e,t){var n=t.componentOptions;if(!(r(n)&&!1===n.Ctor.options.inheritAttrs||o(e.data.attrs)&&o(t.data.attrs))){var i,a,s=t.elm,c=e.data.attrs||{},l=t.data.attrs||{};for(i in r(l.__ob__)&&(l=t.data.attrs=E({},l)),l)a=l[i],c[i]!==a&&oi(s,i,a);for(i in(Y||X)&&l.value!==c.value&&oi(s,"value",l.value),c)o(l[i])&&(An(i)?s.removeAttributeNS(jn,En(i)):kn(i)||s.removeAttribute(i))}}function oi(e,t,n){e.tagName.indexOf("-")>-1?ri(e,t,n):Cn(t)?In(n)?e.removeAttribute(t):(n="allowfullscreen"===t&&"EMBED"===e.tagName?"true":t,e.setAttribute(t,n)):kn(t)?e.setAttribute(t,In(n)||"false"===n?"false":"true"):An(t)?In(n)?e.removeAttributeNS(jn,En(t)):e.setAttributeNS(jn,t,n):ri(e,t,n)}function ri(e,t,n){if(In(n))e.removeAttribute(t);else{if(Y&&!Z&&("TEXTAREA"===e.tagName||"INPUT"===e.tagName)&&"placeholder"===t&&!e.__ieph){var i=function(t){t.stopImmediatePropagation(),e.removeEventListener("input",i)};e.addEventListener("input",i),e.__ieph=!0}e.setAttribute(t,n)}}var ai={create:ii,update:ii};function si(e,t){var n=t.elm,i=t.data,a=e.data;if(!(o(i.staticClass)&&o(i.class)&&(o(a)||o(a.staticClass)&&o(a.class)))){var s=Mn(t),c=n._transitionClasses;r(c)&&(s=Dn(s,Vn(c))),s!==n._prevClass&&(n.setAttribute("class",s),n._prevClass=s)}}var ci,li,di,ui,fi,hi,pi={create:si,update:si},gi=/[\w).+\-_$\]]/;function mi(e){var t,n,i,o,r,a=!1,s=!1,c=!1,l=!1,d=0,u=0,f=0,h=0;for(i=0;i<e.length;i++)if(n=t,t=e.charCodeAt(i),a)39===t&&92!==n&&(a=!1);else if(s)34===t&&92!==n&&(s=!1);else if(c)96===t&&92!==n&&(c=!1);else if(l)47===t&&92!==n&&(l=!1);else if(124!==t||124===e.charCodeAt(i+1)||124===e.charCodeAt(i-1)||d||u||f){switch(t){case 34:s=!0;break;case 39:a=!0;break;case 96:c=!0;break;case 40:f++;break;case 41:f--;break;case 91:u++;break;case 93:u--;break;case 123:d++;break;case 125:d--}if(47===t){for(var p=i-1,g=void 0;p>=0&&" "===(g=e.charAt(p));p--);g&&gi.test(g)||(l=!0)}}else void 0===o?(h=i+1,o=e.slice(0,i).trim()):m();function m(){(r||(r=[])).push(e.slice(h,i).trim()),h=i+1}if(void 0===o?o=e.slice(0,i).trim():0!==h&&m(),r)for(i=0;i<r.length;i++)o=bi(o,r[i]);return o}function bi(e,t){var n=t.indexOf("(");if(n<0)return'_f("'+t+'")('+e+")";var i=t.slice(0,n),o=t.slice(n+1);return'_f("'+i+'")('+e+(")"!==o?","+o:o)}function vi(e){console.error("[Vue compiler]: "+e)}function yi(e,t){return e?e.map(function(e){return e[t]}).filter(function(e){return e}):[]}function _i(e,t,n){(e.props||(e.props=[])).push({name:t,value:n}),e.plain=!1}function wi(e,t,n){(e.attrs||(e.attrs=[])).push({name:t,value:n}),e.plain=!1}function xi(e,t,n){e.attrsMap[t]=n,e.attrsList.push({name:t,value:n})}function Si(e,t,n,i,o,r){(e.directives||(e.directives=[])).push({name:t,rawName:n,value:i,arg:o,modifiers:r}),e.plain=!1}function Ti(e,t,n,o,r,a){var s;o=o||i,"click"===t&&(o.right?(t="contextmenu",delete o.right):o.middle&&(t="mouseup")),o.capture&&(delete o.capture,t="!"+t),o.once&&(delete o.once,t="~"+t),o.passive&&(delete o.passive,t="&"+t),o.native?(delete o.native,s=e.nativeEvents||(e.nativeEvents={})):s=e.events||(e.events={});var c={value:n.trim()};o!==i&&(c.modifiers=o);var l=s[t];Array.isArray(l)?r?l.unshift(c):l.push(c):s[t]=l?r?[c,l]:[l,c]:c,e.plain=!1}function ki(e,t,n){var i=Ci(e,":"+t)||Ci(e,"v-bind:"+t);if(null!=i)return mi(i);if(!1!==n){var o=Ci(e,t);if(null!=o)return JSON.stringify(o)}}function Ci(e,t,n){var i;if(null!=(i=e.attrsMap[t]))for(var o=e.attrsList,r=0,a=o.length;r<a;r++)if(o[r].name===t){o.splice(r,1);break}return n&&delete e.attrsMap[t],i}function ji(e,t,n){var i=n||{},o=i.number,r="$$v";i.trim&&(r="(typeof $$v === 'string'? $$v.trim(): $$v)"),o&&(r="_n("+r+")");var a=Ai(t,r);e.model={value:"("+t+")",expression:JSON.stringify(t),callback:"function ($$v) {"+a+"}"}}function Ai(e,t){var n=function(e){if(e=e.trim(),ci=e.length,e.indexOf("[")<0||e.lastIndexOf("]")<ci-1)return(ui=e.lastIndexOf("."))>-1?{exp:e.slice(0,ui),key:'"'+e.slice(ui+1)+'"'}:{exp:e,key:null};li=e,ui=fi=hi=0;for(;!Ii();)Mi(di=Ei())?Di(di):91===di&&Oi(di);return{exp:e.slice(0,fi),key:e.slice(fi+1,hi)}}(e);return null===n.key?e+"="+t:"$set("+n.exp+", "+n.key+", "+t+")"}function Ei(){return li.charCodeAt(++ui)}function Ii(){return ui>=ci}function Mi(e){return 34===e||39===e}function Oi(e){var t=1;for(fi=ui;!Ii();)if(Mi(e=Ei()))Di(e);else if(91===e&&t++,93===e&&t--,0===t){hi=ui;break}}function Di(e){for(var t=e;!Ii()&&(e=Ei())!==t;);}var Vi,Li="__r",Pi="__c";function Ni(e,t,n){var i=Vi;return function o(){null!==t.apply(null,arguments)&&Fi(e,o,n,i)}}function Ri(e,t,n,i){var o;t=(o=t)._withTask||(o._withTask=function(){Ke=!0;try{return o.apply(null,arguments)}finally{Ke=!1}}),Vi.addEventListener(e,t,ee?{capture:n,passive:i}:n)}function Fi(e,t,n,i){(i||Vi).removeEventListener(e,t._withTask||t,n)}function Bi(e,t){if(!o(e.data.on)||!o(t.data.on)){var n=t.data.on||{},i=e.data.on||{};Vi=t.elm,function(e){if(r(e[Li])){var t=Y?"change":"input";e[t]=[].concat(e[Li],e[t]||[]),delete e[Li]}r(e[Pi])&&(e.change=[].concat(e[Pi],e.change||[]),delete e[Pi])}(n),ot(n,i,Ri,Fi,Ni,t.context),Vi=void 0}}var zi={create:Bi,update:Bi};function Hi(e,t){if(!o(e.data.domProps)||!o(t.data.domProps)){var n,i,a=t.elm,s=e.data.domProps||{},c=t.data.domProps||{};for(n in r(c.__ob__)&&(c=t.data.domProps=E({},c)),s)o(c[n])&&(a[n]="");for(n in c){if(i=c[n],"textContent"===n||"innerHTML"===n){if(t.children&&(t.children.length=0),i===s[n])continue;1===a.childNodes.length&&a.removeChild(a.childNodes[0])}if("value"===n){a._value=i;var l=o(i)?"":String(i);$i(a,l)&&(a.value=l)}else a[n]=i}}}function $i(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,i=e._vModifiers;if(r(i)){if(i.lazy)return!1;if(i.number)return p(n)!==p(t);if(i.trim)return n.trim()!==t.trim()}return n!==t}(e,t))}var qi={create:Hi,update:Hi},Wi=w(function(e){var t={},n=/:(.+)/;return e.split(/;(?![^(]*\))/g).forEach(function(e){if(e){var i=e.split(n);i.length>1&&(t[i[0].trim()]=i[1].trim())}}),t});function Gi(e){var t=Ui(e.style);return e.staticStyle?E(e.staticStyle,t):t}function Ui(e){return Array.isArray(e)?I(e):"string"==typeof e?Wi(e):e}var Ki,Yi=/^--/,Zi=/\s*!important$/,Xi=function(e,t,n){if(Yi.test(t))e.style.setProperty(t,n);else if(Zi.test(n))e.style.setProperty(t,n.replace(Zi,""),"important");else{var i=Ji(t);if(Array.isArray(n))for(var o=0,r=n.length;o<r;o++)e.style[i]=n[o];else e.style[i]=n}},Qi=["Webkit","Moz","ms"],Ji=w(function(e){if(Ki=Ki||document.createElement("div").style,"filter"!==(e=S(e))&&e in Ki)return e;for(var t=e.charAt(0).toUpperCase()+e.slice(1),n=0;n<Qi.length;n++){var i=Qi[n]+t;if(i in Ki)return i}});function eo(e,t){var n=t.data,i=e.data;if(!(o(n.staticStyle)&&o(n.style)&&o(i.staticStyle)&&o(i.style))){var a,s,c=t.elm,l=i.staticStyle,d=i.normalizedStyle||i.style||{},u=l||d,f=Ui(t.data.style)||{};t.data.normalizedStyle=r(f.__ob__)?E({},f):f;var h=function(e,t){var n,i={};if(t)for(var o=e;o.componentInstance;)(o=o.componentInstance._vnode)&&o.data&&(n=Gi(o.data))&&E(i,n);(n=Gi(e.data))&&E(i,n);for(var r=e;r=r.parent;)r.data&&(n=Gi(r.data))&&E(i,n);return i}(t,!0);for(s in u)o(h[s])&&Xi(c,s,"");for(s in h)(a=h[s])!==u[s]&&Xi(c,s,null==a?"":a)}}var to={create:eo,update:eo},no=/\s+/;function io(e,t){if(t&&(t=t.trim()))if(e.classList)t.indexOf(" ")>-1?t.split(no).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 oo(e,t){if(t&&(t=t.trim()))if(e.classList)t.indexOf(" ")>-1?t.split(no).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")||"")+" ",i=" "+t+" ";n.indexOf(i)>=0;)n=n.replace(i," ");(n=n.trim())?e.setAttribute("class",n):e.removeAttribute("class")}}function ro(e){if(e){if("object"==typeof e){var t={};return!1!==e.css&&E(t,ao(e.name||"v")),E(t,e),t}return"string"==typeof e?ao(e):void 0}}var ao=w(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"}}),so=W&&!Z,co="transition",lo="animation",uo="transition",fo="transitionend",ho="animation",po="animationend";so&&(void 0===window.ontransitionend&&void 0!==window.onwebkittransitionend&&(uo="WebkitTransition",fo="webkitTransitionEnd"),void 0===window.onanimationend&&void 0!==window.onwebkitanimationend&&(ho="WebkitAnimation",po="webkitAnimationEnd"));var go=W?window.requestAnimationFrame?window.requestAnimationFrame.bind(window):setTimeout:function(e){return e()};function mo(e){go(function(){go(e)})}function bo(e,t){var n=e._transitionClasses||(e._transitionClasses=[]);n.indexOf(t)<0&&(n.push(t),io(e,t))}function vo(e,t){e._transitionClasses&&v(e._transitionClasses,t),oo(e,t)}function yo(e,t,n){var i=wo(e,t),o=i.type,r=i.timeout,a=i.propCount;if(!o)return n();var s=o===co?fo:po,c=0,l=function(){e.removeEventListener(s,d),n()},d=function(t){t.target===e&&++c>=a&&l()};setTimeout(function(){c<a&&l()},r+1),e.addEventListener(s,d)}var _o=/\b(transform|all)(,|$)/;function wo(e,t){var n,i=window.getComputedStyle(e),o=(i[uo+"Delay"]||"").split(", "),r=(i[uo+"Duration"]||"").split(", "),a=xo(o,r),s=(i[ho+"Delay"]||"").split(", "),c=(i[ho+"Duration"]||"").split(", "),l=xo(s,c),d=0,u=0;return t===co?a>0&&(n=co,d=a,u=r.length):t===lo?l>0&&(n=lo,d=l,u=c.length):u=(n=(d=Math.max(a,l))>0?a>l?co:lo:null)?n===co?r.length:c.length:0,{type:n,timeout:d,propCount:u,hasTransform:n===co&&_o.test(i[uo+"Property"])}}function xo(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max.apply(null,t.map(function(t,n){return So(t)+So(e[n])}))}function So(e){return 1e3*Number(e.slice(0,-1).replace(",","."))}function To(e,t){var n=e.elm;r(n._leaveCb)&&(n._leaveCb.cancelled=!0,n._leaveCb());var i=ro(e.data.transition);if(!o(i)&&!r(n._enterCb)&&1===n.nodeType){for(var a=i.css,s=i.type,l=i.enterClass,d=i.enterToClass,u=i.enterActiveClass,f=i.appearClass,h=i.appearToClass,g=i.appearActiveClass,m=i.beforeEnter,b=i.enter,v=i.afterEnter,y=i.enterCancelled,_=i.beforeAppear,w=i.appear,x=i.afterAppear,S=i.appearCancelled,T=i.duration,k=yt,C=yt.$vnode;C&&C.parent;)k=(C=C.parent).context;var j=!k._isMounted||!e.isRootInsert;if(!j||w||""===w){var A=j&&f?f:l,E=j&&g?g:u,I=j&&h?h:d,M=j&&_||m,O=j&&"function"==typeof w?w:b,D=j&&x||v,V=j&&S||y,L=p(c(T)?T.enter:T);0;var N=!1!==a&&!Z,R=jo(O),F=n._enterCb=P(function(){N&&(vo(n,I),vo(n,E)),F.cancelled?(N&&vo(n,A),V&&V(n)):D&&D(n),n._enterCb=null});e.data.show||rt(e,"insert",function(){var t=n.parentNode,i=t&&t._pending&&t._pending[e.key];i&&i.tag===e.tag&&i.elm._leaveCb&&i.elm._leaveCb(),O&&O(n,F)}),M&&M(n),N&&(bo(n,A),bo(n,E),mo(function(){vo(n,A),F.cancelled||(bo(n,I),R||(Co(L)?setTimeout(F,L):yo(n,s,F)))})),e.data.show&&(t&&t(),O&&O(n,F)),N||R||F()}}}function ko(e,t){var n=e.elm;r(n._enterCb)&&(n._enterCb.cancelled=!0,n._enterCb());var i=ro(e.data.transition);if(o(i)||1!==n.nodeType)return t();if(!r(n._leaveCb)){var a=i.css,s=i.type,l=i.leaveClass,d=i.leaveToClass,u=i.leaveActiveClass,f=i.beforeLeave,h=i.leave,g=i.afterLeave,m=i.leaveCancelled,b=i.delayLeave,v=i.duration,y=!1!==a&&!Z,_=jo(h),w=p(c(v)?v.leave:v);0;var x=n._leaveCb=P(function(){n.parentNode&&n.parentNode._pending&&(n.parentNode._pending[e.key]=null),y&&(vo(n,d),vo(n,u)),x.cancelled?(y&&vo(n,l),m&&m(n)):(t(),g&&g(n)),n._leaveCb=null});b?b(S):S()}function S(){x.cancelled||(!e.data.show&&n.parentNode&&((n.parentNode._pending||(n.parentNode._pending={}))[e.key]=e),f&&f(n),y&&(bo(n,l),bo(n,u),mo(function(){vo(n,l),x.cancelled||(bo(n,d),_||(Co(w)?setTimeout(x,w):yo(n,s,x)))})),h&&h(n,x),y||_||x())}}function Co(e){return"number"==typeof e&&!isNaN(e)}function jo(e){if(o(e))return!1;var t=e.fns;return r(t)?jo(Array.isArray(t)?t[0]:t):(e._length||e.length)>1}function Ao(e,t){!0!==t.data.show&&To(t)}var Eo=function(e){var t,n,i={},c=e.modules,l=e.nodeOps;for(t=0;t<Un.length;++t)for(i[Un[t]]=[],n=0;n<c.length;++n)r(c[n][Un[t]])&&i[Un[t]].push(c[n][Un[t]]);function d(e){var t=l.parentNode(e);r(t)&&l.removeChild(t,e)}function u(e,t,n,o,s,c,d){if(r(e.elm)&&r(c)&&(e=c[d]=be(e)),e.isRootInsert=!s,!function(e,t,n,o){var s=e.data;if(r(s)){var c=r(e.componentInstance)&&s.keepAlive;if(r(s=s.hook)&&r(s=s.init)&&s(e,!1),r(e.componentInstance))return f(e,t),h(n,e.elm,o),a(c)&&function(e,t,n,o){for(var a,s=e;s.componentInstance;)if(s=s.componentInstance._vnode,r(a=s.data)&&r(a=a.transition)){for(a=0;a<i.activate.length;++a)i.activate[a](Gn,s);t.push(s);break}h(n,e.elm,o)}(e,t,n,o),!0}}(e,t,n,o)){var u=e.data,g=e.children,m=e.tag;r(m)?(e.elm=e.ns?l.createElementNS(e.ns,m):l.createElement(m,e),v(e),p(e,g,t),r(u)&&b(e,t),h(n,e.elm,o)):a(e.isComment)?(e.elm=l.createComment(e.text),h(n,e.elm,o)):(e.elm=l.createTextNode(e.text),h(n,e.elm,o))}}function f(e,t){r(e.data.pendingInsert)&&(t.push.apply(t,e.data.pendingInsert),e.data.pendingInsert=null),e.elm=e.componentInstance.$el,m(e)?(b(e,t),v(e)):(Wn(e),t.push(e))}function h(e,t,n){r(e)&&(r(n)?l.parentNode(n)===e&&l.insertBefore(e,t,n):l.appendChild(e,t))}function p(e,t,n){if(Array.isArray(t))for(var i=0;i<t.length;++i)u(t[i],n,e.elm,null,!0,t,i);else s(e.text)&&l.appendChild(e.elm,l.createTextNode(String(e.text)))}function m(e){for(;e.componentInstance;)e=e.componentInstance._vnode;return r(e.tag)}function b(e,n){for(var o=0;o<i.create.length;++o)i.create[o](Gn,e);r(t=e.data.hook)&&(r(t.create)&&t.create(Gn,e),r(t.insert)&&n.push(e))}function v(e){var t;if(r(t=e.fnScopeId))l.setStyleScope(e.elm,t);else for(var n=e;n;)r(t=n.context)&&r(t=t.$options._scopeId)&&l.setStyleScope(e.elm,t),n=n.parent;r(t=yt)&&t!==e.context&&t!==e.fnContext&&r(t=t.$options._scopeId)&&l.setStyleScope(e.elm,t)}function y(e,t,n,i,o,r){for(;i<=o;++i)u(n[i],r,e,t,!1,n,i)}function _(e){var t,n,o=e.data;if(r(o))for(r(t=o.hook)&&r(t=t.destroy)&&t(e),t=0;t<i.destroy.length;++t)i.destroy[t](e);if(r(t=e.children))for(n=0;n<e.children.length;++n)_(e.children[n])}function w(e,t,n,i){for(;n<=i;++n){var o=t[n];r(o)&&(r(o.tag)?(x(o),_(o)):d(o.elm))}}function x(e,t){if(r(t)||r(e.data)){var n,o=i.remove.length+1;for(r(t)?t.listeners+=o:t=function(e,t){function n(){0==--n.listeners&&d(e)}return n.listeners=t,n}(e.elm,o),r(n=e.componentInstance)&&r(n=n._vnode)&&r(n.data)&&x(n,t),n=0;n<i.remove.length;++n)i.remove[n](e,t);r(n=e.data.hook)&&r(n=n.remove)?n(e,t):t()}else d(e.elm)}function S(e,t,n,i){for(var o=n;o<i;o++){var a=t[o];if(r(a)&&Kn(e,a))return o}}function T(e,t,n,s,c,d){if(e!==t){r(t.elm)&&r(s)&&(t=s[c]=be(t));var f=t.elm=e.elm;if(a(e.isAsyncPlaceholder))r(t.asyncFactory.resolved)?j(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 h,p=t.data;r(p)&&r(h=p.hook)&&r(h=h.prepatch)&&h(e,t);var g=e.children,b=t.children;if(r(p)&&m(t)){for(h=0;h<i.update.length;++h)i.update[h](e,t);r(h=p.hook)&&r(h=h.update)&&h(e,t)}o(t.text)?r(g)&&r(b)?g!==b&&function(e,t,n,i,a){for(var s,c,d,f=0,h=0,p=t.length-1,g=t[0],m=t[p],b=n.length-1,v=n[0],_=n[b],x=!a;f<=p&&h<=b;)o(g)?g=t[++f]:o(m)?m=t[--p]:Kn(g,v)?(T(g,v,i,n,h),g=t[++f],v=n[++h]):Kn(m,_)?(T(m,_,i,n,b),m=t[--p],_=n[--b]):Kn(g,_)?(T(g,_,i,n,b),x&&l.insertBefore(e,g.elm,l.nextSibling(m.elm)),g=t[++f],_=n[--b]):Kn(m,v)?(T(m,v,i,n,h),x&&l.insertBefore(e,m.elm,g.elm),m=t[--p],v=n[++h]):(o(s)&&(s=Yn(t,f,p)),o(c=r(v.key)?s[v.key]:S(v,t,f,p))?u(v,i,e,g.elm,!1,n,h):Kn(d=t[c],v)?(T(d,v,i,n,h),t[c]=void 0,x&&l.insertBefore(e,d.elm,g.elm)):u(v,i,e,g.elm,!1,n,h),v=n[++h]);f>p?y(e,o(n[b+1])?null:n[b+1].elm,n,h,b,i):h>b&&w(0,t,f,p)}(f,g,b,n,d):r(b)?(r(e.text)&&l.setTextContent(f,""),y(f,null,b,0,b.length-1,n)):r(g)?w(0,g,0,g.length-1):r(e.text)&&l.setTextContent(f,""):e.text!==t.text&&l.setTextContent(f,t.text),r(p)&&r(h=p.hook)&&r(h=h.postpatch)&&h(e,t)}}}function k(e,t,n){if(a(n)&&r(e.parent))e.parent.data.pendingInsert=t;else for(var i=0;i<t.length;++i)t[i].data.hook.insert(t[i])}var C=g("attrs,class,staticClass,staticStyle,key");function j(e,t,n,i){var o,s=t.tag,c=t.data,l=t.children;if(i=i||c&&c.pre,t.elm=e,a(t.isComment)&&r(t.asyncFactory))return t.isAsyncPlaceholder=!0,!0;if(r(c)&&(r(o=c.hook)&&r(o=o.init)&&o(t,!0),r(o=t.componentInstance)))return f(t,n),!0;if(r(s)){if(r(l))if(e.hasChildNodes())if(r(o=c)&&r(o=o.domProps)&&r(o=o.innerHTML)){if(o!==e.innerHTML)return!1}else{for(var d=!0,u=e.firstChild,h=0;h<l.length;h++){if(!u||!j(u,l[h],n,i)){d=!1;break}u=u.nextSibling}if(!d||u)return!1}else p(t,l,n);if(r(c)){var g=!1;for(var m in c)if(!C(m)){g=!0,b(t,n);break}!g&&c.class&&et(c.class)}}else e.data!==t.text&&(e.data=t.text);return!0}return function(e,t,n,s){if(!o(t)){var c,d=!1,f=[];if(o(e))d=!0,u(t,f);else{var h=r(e.nodeType);if(!h&&Kn(e,t))T(e,t,f,null,null,s);else{if(h){if(1===e.nodeType&&e.hasAttribute(N)&&(e.removeAttribute(N),n=!0),a(n)&&j(e,t,f))return k(t,f,!0),e;c=e,e=new he(l.tagName(c).toLowerCase(),{},[],void 0,c)}var p=e.elm,g=l.parentNode(p);if(u(t,f,p._leaveCb?null:g,l.nextSibling(p)),r(t.parent))for(var b=t.parent,v=m(t);b;){for(var y=0;y<i.destroy.length;++y)i.destroy[y](b);if(b.elm=t.elm,v){for(var x=0;x<i.create.length;++x)i.create[x](Gn,b);var S=b.data.hook.insert;if(S.merged)for(var C=1;C<S.fns.length;C++)S.fns[C]()}else Wn(b);b=b.parent}r(g)?w(0,[e],0,0):r(e.tag)&&_(e)}}return k(t,f,d),t.elm}r(e)&&_(e)}}({nodeOps:$n,modules:[ai,pi,zi,qi,to,W?{create:Ao,activate:Ao,remove:function(e,t){!0!==e.data.show?ko(e,t):t()}}:{}].concat(ni)});Z&&document.addEventListener("selectionchange",function(){var e=document.activeElement;e&&e.vmodel&&No(e,"input")});var Io={inserted:function(e,t,n,i){"select"===n.tag?(i.elm&&!i.elm._vOptions?rt(n,"postpatch",function(){Io.componentUpdated(e,t,n)}):Mo(e,t,n.context),e._vOptions=[].map.call(e.options,Vo)):("textarea"===n.tag||zn(e.type))&&(e._vModifiers=t.modifiers,t.modifiers.lazy||(e.addEventListener("compositionstart",Lo),e.addEventListener("compositionend",Po),e.addEventListener("change",Po),Z&&(e.vmodel=!0)))},componentUpdated:function(e,t,n){if("select"===n.tag){Mo(e,t,n.context);var i=e._vOptions,o=e._vOptions=[].map.call(e.options,Vo);if(o.some(function(e,t){return!V(e,i[t])}))(e.multiple?t.value.some(function(e){return Do(e,o)}):t.value!==t.oldValue&&Do(t.value,o))&&No(e,"change")}}};function Mo(e,t,n){Oo(e,t,n),(Y||X)&&setTimeout(function(){Oo(e,t,n)},0)}function Oo(e,t,n){var i=t.value,o=e.multiple;if(!o||Array.isArray(i)){for(var r,a,s=0,c=e.options.length;s<c;s++)if(a=e.options[s],o)r=L(i,Vo(a))>-1,a.selected!==r&&(a.selected=r);else if(V(Vo(a),i))return void(e.selectedIndex!==s&&(e.selectedIndex=s));o||(e.selectedIndex=-1)}}function Do(e,t){return t.every(function(t){return!V(t,e)})}function Vo(e){return"_value"in e?e._value:e.value}function Lo(e){e.target.composing=!0}function Po(e){e.target.composing&&(e.target.composing=!1,No(e.target,"input"))}function No(e,t){var n=document.createEvent("HTMLEvents");n.initEvent(t,!0,!0),e.dispatchEvent(n)}function Ro(e){return!e.componentInstance||e.data&&e.data.transition?e:Ro(e.componentInstance._vnode)}var Fo={model:Io,show:{bind:function(e,t,n){var i=t.value,o=(n=Ro(n)).data&&n.data.transition,r=e.__vOriginalDisplay="none"===e.style.display?"":e.style.display;i&&o?(n.data.show=!0,To(n,function(){e.style.display=r})):e.style.display=i?r:"none"},update:function(e,t,n){var i=t.value;!i!=!t.oldValue&&((n=Ro(n)).data&&n.data.transition?(n.data.show=!0,i?To(n,function(){e.style.display=e.__vOriginalDisplay}):ko(n,function(){e.style.display="none"})):e.style.display=i?e.__vOriginalDisplay:"none")},unbind:function(e,t,n,i,o){o||(e.style.display=e.__vOriginalDisplay)}}},Bo={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 zo(e){var t=e&&e.componentOptions;return t&&t.Ctor.options.abstract?zo(ut(t.children)):e}function Ho(e){var t={},n=e.$options;for(var i in n.propsData)t[i]=e[i];var o=n._parentListeners;for(var r in o)t[S(r)]=o[r];return t}function $o(e,t){if(/\d-keep-alive$/.test(t.tag))return e("keep-alive",{props:t.componentOptions.propsData})}var qo=function(e){return e.tag||dt(e)},Wo=function(e){return"show"===e.name},Go={name:"transition",props:Bo,abstract:!0,render:function(e){var t=this,n=this.$slots.default;if(n&&(n=n.filter(qo)).length){0;var i=this.mode;0;var o=n[0];if(function(e){for(;e=e.parent;)if(e.data.transition)return!0}(this.$vnode))return o;var r=zo(o);if(!r)return o;if(this._leaving)return $o(e,o);var a="__transition-"+this._uid+"-";r.key=null==r.key?r.isComment?a+"comment":a+r.tag:s(r.key)?0===String(r.key).indexOf(a)?r.key:a+r.key:r.key;var c=(r.data||(r.data={})).transition=Ho(this),l=this._vnode,d=zo(l);if(r.data.directives&&r.data.directives.some(Wo)&&(r.data.show=!0),d&&d.data&&!function(e,t){return t.key===e.key&&t.tag===e.tag}(r,d)&&!dt(d)&&(!d.componentInstance||!d.componentInstance._vnode.isComment)){var u=d.data.transition=E({},c);if("out-in"===i)return this._leaving=!0,rt(u,"afterLeave",function(){t._leaving=!1,t.$forceUpdate()}),$o(e,o);if("in-out"===i){if(dt(r))return l;var f,h=function(){f()};rt(c,"afterEnter",h),rt(c,"enterCancelled",h),rt(u,"delayLeave",function(e){f=e})}}return o}}},Uo=E({tag:String,moveClass:String},Bo);function Ko(e){e.elm._moveCb&&e.elm._moveCb(),e.elm._enterCb&&e.elm._enterCb()}function Yo(e){e.data.newPos=e.elm.getBoundingClientRect()}function Zo(e){var t=e.data.pos,n=e.data.newPos,i=t.left-n.left,o=t.top-n.top;if(i||o){e.data.moved=!0;var r=e.elm.style;r.transform=r.WebkitTransform="translate("+i+"px,"+o+"px)",r.transitionDuration="0s"}}delete Uo.mode;var Xo={Transition:Go,TransitionGroup:{props:Uo,beforeMount:function(){var e=this,t=this._update;this._update=function(n,i){var o=_t(e);e.__patch__(e._vnode,e.kept,!1,!0),e._vnode=e.kept,o(),t.call(e,n,i)}},render:function(e){for(var t=this.tag||this.$vnode.data.tag||"span",n=Object.create(null),i=this.prevChildren=this.children,o=this.$slots.default||[],r=this.children=[],a=Ho(this),s=0;s<o.length;s++){var c=o[s];if(c.tag)if(null!=c.key&&0!==String(c.key).indexOf("__vlist"))r.push(c),n[c.key]=c,(c.data||(c.data={})).transition=a;else;}if(i){for(var l=[],d=[],u=0;u<i.length;u++){var f=i[u];f.data.transition=a,f.data.pos=f.elm.getBoundingClientRect(),n[f.key]?l.push(f):d.push(f)}this.kept=e(t,null,l),this.removed=d}return e(t,null,r)},updated:function(){var e=this.prevChildren,t=this.moveClass||(this.name||"v")+"-move";e.length&&this.hasMove(e[0].elm,t)&&(e.forEach(Ko),e.forEach(Yo),e.forEach(Zo),this._reflow=document.body.offsetHeight,e.forEach(function(e){if(e.data.moved){var n=e.elm,i=n.style;bo(n,t),i.transform=i.WebkitTransform=i.transitionDuration="",n.addEventListener(fo,n._moveCb=function e(i){i&&i.target!==n||i&&!/transform$/.test(i.propertyName)||(n.removeEventListener(fo,e),n._moveCb=null,vo(n,t))})}}))},methods:{hasMove:function(e,t){if(!so)return!1;if(this._hasMove)return this._hasMove;var n=e.cloneNode();e._transitionClasses&&e._transitionClasses.forEach(function(e){oo(n,e)}),io(n,t),n.style.display="none",this.$el.appendChild(n);var i=wo(n);return this.$el.removeChild(n),this._hasMove=i.hasTransform}}}};pn.config.mustUseProp=Tn,pn.config.isReservedTag=Rn,pn.config.isReservedAttr=xn,pn.config.getTagNamespace=Fn,pn.config.isUnknownElement=function(e){if(!W)return!0;if(Rn(e))return!1;if(e=e.toLowerCase(),null!=Bn[e])return Bn[e];var t=document.createElement(e);return e.indexOf("-")>-1?Bn[e]=t.constructor===window.HTMLUnknownElement||t.constructor===window.HTMLElement:Bn[e]=/HTMLUnknownElement/.test(t.toString())},E(pn.options.directives,Fo),E(pn.options.components,Xo),pn.prototype.__patch__=W?Eo:M,pn.prototype.$mount=function(e,t){return function(e,t,n){return e.$el=t,e.$options.render||(e.$options.render=ge),St(e,"beforeMount"),new Ot(e,function(){e._update(e._render(),n)},M,{before:function(){e._isMounted&&!e._isDestroyed&&St(e,"beforeUpdate")}},!0),n=!1,null==e.$vnode&&(e._isMounted=!0,St(e,"mounted")),e}(this,e=e&&W?Hn(e):void 0,t)},W&&setTimeout(function(){B.devtools&&ie&&ie.emit("init",pn)},0);var Qo=/\{\{((?:.|\r?\n)+?)\}\}/g,Jo=/[-.*+?^${}()|[\]\/\\]/g,er=w(function(e){var t=e[0].replace(Jo,"\\$&"),n=e[1].replace(Jo,"\\$&");return new RegExp(t+"((?:.|\\n)+?)"+n,"g")});var tr={staticKeys:["staticClass"],transformNode:function(e,t){t.warn;var n=Ci(e,"class");n&&(e.staticClass=JSON.stringify(n));var i=ki(e,"class",!1);i&&(e.classBinding=i)},genData:function(e){var t="";return e.staticClass&&(t+="staticClass:"+e.staticClass+","),e.classBinding&&(t+="class:"+e.classBinding+","),t}};var nr,ir={staticKeys:["staticStyle"],transformNode:function(e,t){t.warn;var n=Ci(e,"style");n&&(e.staticStyle=JSON.stringify(Wi(n)));var i=ki(e,"style",!1);i&&(e.styleBinding=i)},genData:function(e){var t="";return e.staticStyle&&(t+="staticStyle:"+e.staticStyle+","),e.styleBinding&&(t+="style:("+e.styleBinding+"),"),t}},or=function(e){return(nr=nr||document.createElement("div")).innerHTML=e,nr.textContent},rr=g("area,base,br,col,embed,frame,hr,img,input,isindex,keygen,link,meta,param,source,track,wbr"),ar=g("colgroup,dd,dt,li,options,p,td,tfoot,th,thead,tr,source"),sr=g("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"),cr=/^\s*([^\s"'<>\/=]+)(?:\s*(=)\s*(?:"([^"]*)"+|'([^']*)'+|([^\s"'=<>`]+)))?/,lr="[a-zA-Z_][\\w\\-\\.]*",dr="((?:"+lr+"\\:)?"+lr+")",ur=new RegExp("^<"+dr),fr=/^\s*(\/?)>/,hr=new RegExp("^<\\/"+dr+"[^>]*>"),pr=/^<!DOCTYPE [^>]+>/i,gr=/^<!\--/,mr=/^<!\[/,br=g("script,style,textarea",!0),vr={},yr={"<":"<",">":">",""":'"',"&":"&"," ":"\n","	":"\t"},_r=/&(?:lt|gt|quot|amp);/g,wr=/&(?:lt|gt|quot|amp|#10|#9);/g,xr=g("pre,textarea",!0),Sr=function(e,t){return e&&xr(e)&&"\n"===t[0]};function Tr(e,t){var n=t?wr:_r;return e.replace(n,function(e){return yr[e]})}var kr,Cr,jr,Ar,Er,Ir,Mr,Or,Dr=/^@|^v-on:/,Vr=/^v-|^@|^:/,Lr=/([\s\S]*?)\s+(?:in|of)\s+([\s\S]*)/,Pr=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,Nr=/^\(|\)$/g,Rr=/:(.*)$/,Fr=/^:|^v-bind:/,Br=/\.[^.]+/g,zr=w(or);function Hr(e,t,n){return{type:1,tag:e,attrsList:t,attrsMap:function(e){for(var t={},n=0,i=e.length;n<i;n++)t[e[n].name]=e[n].value;return t}(t),parent:n,children:[]}}function $r(e,t){kr=t.warn||vi,Ir=t.isPreTag||O,Mr=t.mustUseProp||O,Or=t.getTagNamespace||O,jr=yi(t.modules,"transformNode"),Ar=yi(t.modules,"preTransformNode"),Er=yi(t.modules,"postTransformNode"),Cr=t.delimiters;var n,i,o=[],r=!1!==t.preserveWhitespace,a=!1,s=!1;function c(e){e.pre&&(a=!1),Ir(e.tag)&&(s=!1);for(var n=0;n<Er.length;n++)Er[n](e,t)}return function(e,t){for(var n,i,o=[],r=t.expectHTML,a=t.isUnaryTag||O,s=t.canBeLeftOpenTag||O,c=0;e;){if(n=e,i&&br(i)){var l=0,d=i.toLowerCase(),u=vr[d]||(vr[d]=new RegExp("([\\s\\S]*?)(</"+d+"[^>]*>)","i")),f=e.replace(u,function(e,n,i){return l=i.length,br(d)||"noscript"===d||(n=n.replace(/<!\--([\s\S]*?)-->/g,"$1").replace(/<!\[CDATA\[([\s\S]*?)]]>/g,"$1")),Sr(d,n)&&(n=n.slice(1)),t.chars&&t.chars(n),""});c+=e.length-f.length,e=f,C(d,c-l,c)}else{var h=e.indexOf("<");if(0===h){if(gr.test(e)){var p=e.indexOf("--\x3e");if(p>=0){t.shouldKeepComment&&t.comment(e.substring(4,p)),S(p+3);continue}}if(mr.test(e)){var g=e.indexOf("]>");if(g>=0){S(g+2);continue}}var m=e.match(pr);if(m){S(m[0].length);continue}var b=e.match(hr);if(b){var v=c;S(b[0].length),C(b[1],v,c);continue}var y=T();if(y){k(y),Sr(y.tagName,e)&&S(1);continue}}var _=void 0,w=void 0,x=void 0;if(h>=0){for(w=e.slice(h);!(hr.test(w)||ur.test(w)||gr.test(w)||mr.test(w)||(x=w.indexOf("<",1))<0);)h+=x,w=e.slice(h);_=e.substring(0,h),S(h)}h<0&&(_=e,e=""),t.chars&&_&&t.chars(_)}if(e===n){t.chars&&t.chars(e);break}}function S(t){c+=t,e=e.substring(t)}function T(){var t=e.match(ur);if(t){var n,i,o={tagName:t[1],attrs:[],start:c};for(S(t[0].length);!(n=e.match(fr))&&(i=e.match(cr));)S(i[0].length),o.attrs.push(i);if(n)return o.unarySlash=n[1],S(n[0].length),o.end=c,o}}function k(e){var n=e.tagName,c=e.unarySlash;r&&("p"===i&&sr(n)&&C(i),s(n)&&i===n&&C(n));for(var l=a(n)||!!c,d=e.attrs.length,u=new Array(d),f=0;f<d;f++){var h=e.attrs[f],p=h[3]||h[4]||h[5]||"",g="a"===n&&"href"===h[1]?t.shouldDecodeNewlinesForHref:t.shouldDecodeNewlines;u[f]={name:h[1],value:Tr(p,g)}}l||(o.push({tag:n,lowerCasedTag:n.toLowerCase(),attrs:u}),i=n),t.start&&t.start(n,u,l,e.start,e.end)}function C(e,n,r){var a,s;if(null==n&&(n=c),null==r&&(r=c),e)for(s=e.toLowerCase(),a=o.length-1;a>=0&&o[a].lowerCasedTag!==s;a--);else a=0;if(a>=0){for(var l=o.length-1;l>=a;l--)t.end&&t.end(o[l].tag,n,r);o.length=a,i=a&&o[a-1].tag}else"br"===s?t.start&&t.start(e,[],!0,n,r):"p"===s&&(t.start&&t.start(e,[],!1,n,r),t.end&&t.end(e,n,r))}C()}(e,{warn:kr,expectHTML:t.expectHTML,isUnaryTag:t.isUnaryTag,canBeLeftOpenTag:t.canBeLeftOpenTag,shouldDecodeNewlines:t.shouldDecodeNewlines,shouldDecodeNewlinesForHref:t.shouldDecodeNewlinesForHref,shouldKeepComment:t.comments,start:function(e,r,l){var d=i&&i.ns||Or(e);Y&&"svg"===d&&(r=function(e){for(var t=[],n=0;n<e.length;n++){var i=e[n];Kr.test(i.name)||(i.name=i.name.replace(Yr,""),t.push(i))}return t}(r));var u,f=Hr(e,r,i);d&&(f.ns=d),"style"!==(u=f).tag&&("script"!==u.tag||u.attrsMap.type&&"text/javascript"!==u.attrsMap.type)||ne()||(f.forbidden=!0);for(var h=0;h<Ar.length;h++)f=Ar[h](f,t)||f;function p(e){0}if(a||(!function(e){null!=Ci(e,"v-pre")&&(e.pre=!0)}(f),f.pre&&(a=!0)),Ir(f.tag)&&(s=!0),a?function(e){var t=e.attrsList.length;if(t)for(var n=e.attrs=new Array(t),i=0;i<t;i++)n[i]={name:e.attrsList[i].name,value:JSON.stringify(e.attrsList[i].value)};else e.pre||(e.plain=!0)}(f):f.processed||(Wr(f),function(e){var t=Ci(e,"v-if");if(t)e.if=t,Gr(e,{exp:t,block:e});else{null!=Ci(e,"v-else")&&(e.else=!0);var n=Ci(e,"v-else-if");n&&(e.elseif=n)}}(f),function(e){null!=Ci(e,"v-once")&&(e.once=!0)}(f),qr(f,t)),n?o.length||n.if&&(f.elseif||f.else)&&(p(),Gr(n,{exp:f.elseif,block:f})):(n=f,p()),i&&!f.forbidden)if(f.elseif||f.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&&Gr(n,{exp:e.elseif,block:e})}(f,i);else if(f.slotScope){i.plain=!1;var g=f.slotTarget||'"default"';(i.scopedSlots||(i.scopedSlots={}))[g]=f}else i.children.push(f),f.parent=i;l?c(f):(i=f,o.push(f))},end:function(){var e=o[o.length-1],t=e.children[e.children.length-1];t&&3===t.type&&" "===t.text&&!s&&e.children.pop(),o.length-=1,i=o[o.length-1],c(e)},chars:function(e){if(i&&(!Y||"textarea"!==i.tag||i.attrsMap.placeholder!==e)){var t,n,o=i.children;if(e=s||e.trim()?"script"===(t=i).tag||"style"===t.tag?e:zr(e):r&&o.length?" ":"")!a&&" "!==e&&(n=function(e,t){var n=t?er(t):Qo;if(n.test(e)){for(var i,o,r,a=[],s=[],c=n.lastIndex=0;i=n.exec(e);){(o=i.index)>c&&(s.push(r=e.slice(c,o)),a.push(JSON.stringify(r)));var l=mi(i[1].trim());a.push("_s("+l+")"),s.push({"@binding":l}),c=o+i[0].length}return c<e.length&&(s.push(r=e.slice(c)),a.push(JSON.stringify(r))),{expression:a.join("+"),tokens:s}}}(e,Cr))?o.push({type:2,expression:n.expression,tokens:n.tokens,text:e}):" "===e&&o.length&&" "===o[o.length-1].text||o.push({type:3,text:e})}},comment:function(e){i.children.push({type:3,text:e,isComment:!0})}}),n}function qr(e,t){var n,i;!function(e){var t=ki(e,"key");if(t){e.key=t}}(e),e.plain=!e.key&&!e.attrsList.length,(i=ki(n=e,"ref"))&&(n.ref=i,n.refInFor=function(e){for(var t=e;t;){if(void 0!==t.for)return!0;t=t.parent}return!1}(n)),function(e){if("slot"===e.tag)e.slotName=ki(e,"name");else{var t;"template"===e.tag?(t=Ci(e,"scope"),e.slotScope=t||Ci(e,"slot-scope")):(t=Ci(e,"slot-scope"))&&(e.slotScope=t);var n=ki(e,"slot");n&&(e.slotTarget='""'===n?'"default"':n,"template"===e.tag||e.slotScope||wi(e,"slot",n))}}(e),function(e){var t;(t=ki(e,"is"))&&(e.component=t);null!=Ci(e,"inline-template")&&(e.inlineTemplate=!0)}(e);for(var o=0;o<jr.length;o++)e=jr[o](e,t)||e;!function(e){var t,n,i,o,r,a,s,c=e.attrsList;for(t=0,n=c.length;t<n;t++){if(i=o=c[t].name,r=c[t].value,Vr.test(i))if(e.hasBindings=!0,(a=Ur(i))&&(i=i.replace(Br,"")),Fr.test(i))i=i.replace(Fr,""),r=mi(r),s=!1,a&&(a.prop&&(s=!0,"innerHtml"===(i=S(i))&&(i="innerHTML")),a.camel&&(i=S(i)),a.sync&&Ti(e,"update:"+S(i),Ai(r,"$event"))),s||!e.component&&Mr(e.tag,e.attrsMap.type,i)?_i(e,i,r):wi(e,i,r);else if(Dr.test(i))i=i.replace(Dr,""),Ti(e,i,r,a,!1);else{var l=(i=i.replace(Vr,"")).match(Rr),d=l&&l[1];d&&(i=i.slice(0,-(d.length+1))),Si(e,i,o,r,d,a)}else wi(e,i,JSON.stringify(r)),!e.component&&"muted"===i&&Mr(e.tag,e.attrsMap.type,i)&&_i(e,i,"true")}}(e)}function Wr(e){var t;if(t=Ci(e,"v-for")){var n=function(e){var t=e.match(Lr);if(!t)return;var n={};n.for=t[2].trim();var i=t[1].trim().replace(Nr,""),o=i.match(Pr);o?(n.alias=i.replace(Pr,"").trim(),n.iterator1=o[1].trim(),o[2]&&(n.iterator2=o[2].trim())):n.alias=i;return n}(t);n&&E(e,n)}}function Gr(e,t){e.ifConditions||(e.ifConditions=[]),e.ifConditions.push(t)}function Ur(e){var t=e.match(Br);if(t){var n={};return t.forEach(function(e){n[e.slice(1)]=!0}),n}}var Kr=/^xmlns:NS\d+/,Yr=/^NS\d+:/;function Zr(e){return Hr(e.tag,e.attrsList.slice(),e.parent)}var Xr=[tr,ir,{preTransformNode:function(e,t){if("input"===e.tag){var n,i=e.attrsMap;if(!i["v-model"])return;if((i[":type"]||i["v-bind:type"])&&(n=ki(e,"type")),i.type||n||!i["v-bind"]||(n="("+i["v-bind"]+").type"),n){var o=Ci(e,"v-if",!0),r=o?"&&("+o+")":"",a=null!=Ci(e,"v-else",!0),s=Ci(e,"v-else-if",!0),c=Zr(e);Wr(c),xi(c,"type","checkbox"),qr(c,t),c.processed=!0,c.if="("+n+")==='checkbox'"+r,Gr(c,{exp:c.if,block:c});var l=Zr(e);Ci(l,"v-for",!0),xi(l,"type","radio"),qr(l,t),Gr(c,{exp:"("+n+")==='radio'"+r,block:l});var d=Zr(e);return Ci(d,"v-for",!0),xi(d,":type",n),qr(d,t),Gr(c,{exp:o,block:d}),a?c.else=!0:s&&(c.elseif=s),c}}}}];var Qr,Jr,ea={expectHTML:!0,modules:Xr,directives:{model:function(e,t,n){n;var i=t.value,o=t.modifiers,r=e.tag,a=e.attrsMap.type;if(e.component)return ji(e,i,o),!1;if("select"===r)!function(e,t,n){var i='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")+"});";i=i+" "+Ai(t,"$event.target.multiple ? $$selectedVal : $$selectedVal[0]"),Ti(e,"change",i,null,!0)}(e,i,o);else if("input"===r&&"checkbox"===a)!function(e,t,n){var i=n&&n.number,o=ki(e,"value")||"null",r=ki(e,"true-value")||"true",a=ki(e,"false-value")||"false";_i(e,"checked","Array.isArray("+t+")?_i("+t+","+o+")>-1"+("true"===r?":("+t+")":":_q("+t+","+r+")")),Ti(e,"change","var $$a="+t+",$$el=$event.target,$$c=$$el.checked?("+r+"):("+a+");if(Array.isArray($$a)){var $$v="+(i?"_n("+o+")":o)+",$$i=_i($$a,$$v);if($$el.checked){$$i<0&&("+Ai(t,"$$a.concat([$$v])")+")}else{$$i>-1&&("+Ai(t,"$$a.slice(0,$$i).concat($$a.slice($$i+1))")+")}}else{"+Ai(t,"$$c")+"}",null,!0)}(e,i,o);else if("input"===r&&"radio"===a)!function(e,t,n){var i=n&&n.number,o=ki(e,"value")||"null";_i(e,"checked","_q("+t+","+(o=i?"_n("+o+")":o)+")"),Ti(e,"change",Ai(t,o),null,!0)}(e,i,o);else if("input"===r||"textarea"===r)!function(e,t,n){var i=e.attrsMap.type,o=n||{},r=o.lazy,a=o.number,s=o.trim,c=!r&&"range"!==i,l=r?"change":"range"===i?Li:"input",d="$event.target.value";s&&(d="$event.target.value.trim()"),a&&(d="_n("+d+")");var u=Ai(t,d);c&&(u="if($event.target.composing)return;"+u),_i(e,"value","("+t+")"),Ti(e,l,u,null,!0),(s||a)&&Ti(e,"blur","$forceUpdate()")}(e,i,o);else if(!B.isReservedTag(r))return ji(e,i,o),!1;return!0},text:function(e,t){t.value&&_i(e,"textContent","_s("+t.value+")")},html:function(e,t){t.value&&_i(e,"innerHTML","_s("+t.value+")")}},isPreTag:function(e){return"pre"===e},isUnaryTag:rr,mustUseProp:Tn,canBeLeftOpenTag:ar,isReservedTag:Rn,getTagNamespace:Fn,staticKeys:function(e){return e.reduce(function(e,t){return e.concat(t.staticKeys||[])},[]).join(",")}(Xr)},ta=w(function(e){return g("type,tag,attrsList,attrsMap,plain,parent,children,attrs"+(e?","+e:""))});function na(e,t){e&&(Qr=ta(t.staticKeys||""),Jr=t.isReservedTag||O,function e(t){t.static=function(e){if(2===e.type)return!1;if(3===e.type)return!0;return!(!e.pre&&(e.hasBindings||e.if||e.for||m(e.tag)||!Jr(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(Qr)))}(t);if(1===t.type){if(!Jr(t.tag)&&"slot"!==t.tag&&null==t.attrsMap["inline-template"])return;for(var n=0,i=t.children.length;n<i;n++){var o=t.children[n];e(o),o.static||(t.static=!1)}if(t.ifConditions)for(var r=1,a=t.ifConditions.length;r<a;r++){var s=t.ifConditions[r].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 i=0,o=t.children.length;i<o;i++)e(t.children[i],n||!!t.for);if(t.ifConditions)for(var r=1,a=t.ifConditions.length;r<a;r++)e(t.ifConditions[r].block,n)}}(e,!1))}var ia=/^([\w$_]+|\([^)]*?\))\s*=>|^function\s*\(/,oa=/^[A-Za-z_$][\w$]*(?:\.[A-Za-z_$][\w$]*|\['[^']*?']|\["[^"]*?"]|\[\d+]|\[[A-Za-z_$][\w$]*])*$/,ra={esc:27,tab:9,enter:13,space:32,up:38,left:37,right:39,down:40,delete:[8,46]},aa={esc:["Esc","Escape"],tab:"Tab",enter:"Enter",space:[" ","Spacebar"],up:["Up","ArrowUp"],left:["Left","ArrowLeft"],right:["Right","ArrowRight"],down:["Down","ArrowDown"],delete:["Backspace","Delete","Del"]},sa=function(e){return"if("+e+")return null;"},ca={stop:"$event.stopPropagation();",prevent:"$event.preventDefault();",self:sa("$event.target !== $event.currentTarget"),ctrl:sa("!$event.ctrlKey"),shift:sa("!$event.shiftKey"),alt:sa("!$event.altKey"),meta:sa("!$event.metaKey"),left:sa("'button' in $event && $event.button !== 0"),middle:sa("'button' in $event && $event.button !== 1"),right:sa("'button' in $event && $event.button !== 2")};function la(e,t){var n=t?"nativeOn:{":"on:{";for(var i in e)n+='"'+i+'":'+da(i,e[i])+",";return n.slice(0,-1)+"}"}function da(e,t){if(!t)return"function(){}";if(Array.isArray(t))return"["+t.map(function(t){return da(e,t)}).join(",")+"]";var n=oa.test(t.value),i=ia.test(t.value);if(t.modifiers){var o="",r="",a=[];for(var s in t.modifiers)if(ca[s])r+=ca[s],ra[s]&&a.push(s);else if("exact"===s){var c=t.modifiers;r+=sa(["ctrl","shift","alt","meta"].filter(function(e){return!c[e]}).map(function(e){return"$event."+e+"Key"}).join("||"))}else a.push(s);return a.length&&(o+=function(e){return"if(!('button' in $event)&&"+e.map(ua).join("&&")+")return null;"}(a)),r&&(o+=r),"function($event){"+o+(n?"return "+t.value+"($event)":i?"return ("+t.value+")($event)":t.value)+"}"}return n||i?t.value:"function($event){"+t.value+"}"}function ua(e){var t=parseInt(e,10);if(t)return"$event.keyCode!=="+t;var n=ra[e],i=aa[e];return"_k($event.keyCode,"+JSON.stringify(e)+","+JSON.stringify(n)+",$event.key,"+JSON.stringify(i)+")"}var fa={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:M},ha=function(e){this.options=e,this.warn=e.warn||vi,this.transforms=yi(e.modules,"transformCode"),this.dataGenFns=yi(e.modules,"genData"),this.directives=E(E({},fa),e.directives);var t=e.isReservedTag||O;this.maybeComponent=function(e){return!(t(e.tag)&&!e.component)},this.onceId=0,this.staticRenderFns=[],this.pre=!1};function pa(e,t){var n=new ha(t);return{render:"with(this){return "+(e?ga(e,n):'_c("div")')+"}",staticRenderFns:n.staticRenderFns}}function ga(e,t){if(e.parent&&(e.pre=e.pre||e.parent.pre),e.staticRoot&&!e.staticProcessed)return ma(e,t);if(e.once&&!e.onceProcessed)return ba(e,t);if(e.for&&!e.forProcessed)return function(e,t,n,i){var o=e.for,r=e.alias,a=e.iterator1?","+e.iterator1:"",s=e.iterator2?","+e.iterator2:"";0;return e.forProcessed=!0,(i||"_l")+"(("+o+"),function("+r+a+s+"){return "+(n||ga)(e,t)+"})"}(e,t);if(e.if&&!e.ifProcessed)return va(e,t);if("template"!==e.tag||e.slotTarget||t.pre){if("slot"===e.tag)return function(e,t){var n=e.slotName||'"default"',i=wa(e,t),o="_t("+n+(i?","+i:""),r=e.attrs&&"{"+e.attrs.map(function(e){return S(e.name)+":"+e.value}).join(",")+"}",a=e.attrsMap["v-bind"];!r&&!a||i||(o+=",null");r&&(o+=","+r);a&&(o+=(r?"":",null")+","+a);return o+")"}(e,t);var n;if(e.component)n=function(e,t,n){var i=t.inlineTemplate?null:wa(t,n,!0);return"_c("+e+","+ya(t,n)+(i?","+i:"")+")"}(e.component,e,t);else{var i;(!e.plain||e.pre&&t.maybeComponent(e))&&(i=ya(e,t));var o=e.inlineTemplate?null:wa(e,t,!0);n="_c('"+e.tag+"'"+(i?","+i:"")+(o?","+o:"")+")"}for(var r=0;r<t.transforms.length;r++)n=t.transforms[r](e,n);return n}return wa(e,t)||"void 0"}function ma(e,t){e.staticProcessed=!0;var n=t.pre;return e.pre&&(t.pre=e.pre),t.staticRenderFns.push("with(this){return "+ga(e,t)+"}"),t.pre=n,"_m("+(t.staticRenderFns.length-1)+(e.staticInFor?",true":"")+")"}function ba(e,t){if(e.onceProcessed=!0,e.if&&!e.ifProcessed)return va(e,t);if(e.staticInFor){for(var n="",i=e.parent;i;){if(i.for){n=i.key;break}i=i.parent}return n?"_o("+ga(e,t)+","+t.onceId+++","+n+")":ga(e,t)}return ma(e,t)}function va(e,t,n,i){return e.ifProcessed=!0,function e(t,n,i,o){if(!t.length)return o||"_e()";var r=t.shift();return r.exp?"("+r.exp+")?"+a(r.block)+":"+e(t,n,i,o):""+a(r.block);function a(e){return i?i(e,n):e.once?ba(e,n):ga(e,n)}}(e.ifConditions.slice(),t,n,i)}function ya(e,t){var n="{",i=function(e,t){var n=e.directives;if(!n)return;var i,o,r,a,s="directives:[",c=!1;for(i=0,o=n.length;i<o;i++){r=n[i],a=!0;var l=t.directives[r.name];l&&(a=!!l(e,r,t.warn)),a&&(c=!0,s+='{name:"'+r.name+'",rawName:"'+r.rawName+'"'+(r.value?",value:("+r.value+"),expression:"+JSON.stringify(r.value):"")+(r.arg?',arg:"'+r.arg+'"':"")+(r.modifiers?",modifiers:"+JSON.stringify(r.modifiers):"")+"},")}if(c)return s.slice(0,-1)+"]"}(e,t);i&&(n+=i+","),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 o=0;o<t.dataGenFns.length;o++)n+=t.dataGenFns[o](e);if(e.attrs&&(n+="attrs:{"+Ta(e.attrs)+"},"),e.props&&(n+="domProps:{"+Ta(e.props)+"},"),e.events&&(n+=la(e.events,!1)+","),e.nativeEvents&&(n+=la(e.nativeEvents,!0)+","),e.slotTarget&&!e.slotScope&&(n+="slot:"+e.slotTarget+","),e.scopedSlots&&(n+=function(e,t){return"scopedSlots:_u(["+Object.keys(e).map(function(n){return _a(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 r=function(e,t){var n=e.children[0];0;if(1===n.type){var i=pa(n,t.options);return"inlineTemplate:{render:function(){"+i.render+"},staticRenderFns:["+i.staticRenderFns.map(function(e){return"function(){"+e+"}"}).join(",")+"]}"}}(e,t);r&&(n+=r+",")}return n=n.replace(/,$/,"")+"}",e.wrapData&&(n=e.wrapData(n)),e.wrapListeners&&(n=e.wrapListeners(n)),n}function _a(e,t,n){return t.for&&!t.forProcessed?function(e,t,n){var i=t.for,o=t.alias,r=t.iterator1?","+t.iterator1:"",a=t.iterator2?","+t.iterator2:"";return t.forProcessed=!0,"_l(("+i+"),function("+o+r+a+"){return "+_a(e,t,n)+"})"}(e,t,n):"{key:"+e+",fn:"+("function("+String(t.slotScope)+"){return "+("template"===t.tag?t.if?"("+t.if+")?"+(wa(t,n)||"undefined")+":undefined":wa(t,n)||"undefined":ga(t,n))+"}")+"}"}function wa(e,t,n,i,o){var r=e.children;if(r.length){var a=r[0];if(1===r.length&&a.for&&"template"!==a.tag&&"slot"!==a.tag){var s=n?t.maybeComponent(a)?",1":",0":"";return""+(i||ga)(a,t)+s}var c=n?function(e,t){for(var n=0,i=0;i<e.length;i++){var o=e[i];if(1===o.type){if(xa(o)||o.ifConditions&&o.ifConditions.some(function(e){return xa(e.block)})){n=2;break}(t(o)||o.ifConditions&&o.ifConditions.some(function(e){return t(e.block)}))&&(n=1)}}return n}(r,t.maybeComponent):0,l=o||Sa;return"["+r.map(function(e){return l(e,t)}).join(",")+"]"+(c?","+c:"")}}function xa(e){return void 0!==e.for||"template"===e.tag||"slot"===e.tag}function Sa(e,t){return 1===e.type?ga(e,t):3===e.type&&e.isComment?(i=e,"_e("+JSON.stringify(i.text)+")"):"_v("+(2===(n=e).type?n.expression:ka(JSON.stringify(n.text)))+")";var n,i}function Ta(e){for(var t="",n=0;n<e.length;n++){var i=e[n];t+='"'+i.name+'":'+ka(i.value)+","}return t.slice(0,-1)}function ka(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 Ca(e,t){try{return new Function(e)}catch(n){return t.push({err:n,code:e}),M}}var ja,Aa,Ea=(ja=function(e,t){var n=$r(e.trim(),t);!1!==t.optimize&&na(n,t);var i=pa(n,t);return{ast:n,render:i.render,staticRenderFns:i.staticRenderFns}},function(e){function t(t,n){var i=Object.create(e),o=[],r=[];if(i.warn=function(e,t){(t?r:o).push(e)},n)for(var a in n.modules&&(i.modules=(e.modules||[]).concat(n.modules)),n.directives&&(i.directives=E(Object.create(e.directives||null),n.directives)),n)"modules"!==a&&"directives"!==a&&(i[a]=n[a]);var s=ja(t,i);return s.errors=o,s.tips=r,s}return{compile:t,compileToFunctions:function(e){var t=Object.create(null);return function(n,i,o){(i=E({},i)).warn,delete i.warn;var r=i.delimiters?String(i.delimiters)+n:n;if(t[r])return t[r];var a=e(n,i),s={},c=[];return s.render=Ca(a.render,c),s.staticRenderFns=a.staticRenderFns.map(function(e){return Ca(e,c)}),t[r]=s}}(t)}})(ea),Ia=(Ea.compile,Ea.compileToFunctions);function Ma(e){return(Aa=Aa||document.createElement("div")).innerHTML=e?'<a href="\n"/>':'<div a="\n"/>',Aa.innerHTML.indexOf(" ")>0}var Oa=!!W&&Ma(!1),Da=!!W&&Ma(!0),Va=w(function(e){var t=Hn(e);return t&&t.innerHTML}),La=pn.prototype.$mount;pn.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 i=n.template;if(i)if("string"==typeof i)"#"===i.charAt(0)&&(i=Va(i));else{if(!i.nodeType)return this;i=i.innerHTML}else e&&(i=function(e){if(e.outerHTML)return e.outerHTML;var t=document.createElement("div");return t.appendChild(e.cloneNode(!0)),t.innerHTML}(e));if(i){0;var o=Ia(i,{shouldDecodeNewlines:Oa,shouldDecodeNewlinesForHref:Da,delimiters:n.delimiters,comments:n.comments},this),r=o.render,a=o.staticRenderFns;n.render=r,n.staticRenderFns=a}}return La.call(this,e,t)},pn.compile=Ia,t.default=pn}.call(this,n(166),n(948).setImmediate)},600:function(e,t,n){"use strict";n.d(t,"a",function(){return i});var i=function(e){return e&&e.constructor===Object}},608:function(e,t){var n=/\s*[\r\n]+\s*/;e.exports=function(e){return e.includes("\n")||e.includes("\r")?e.split(n).filter(function(e){return""!==e}).join(" "):e}},612:function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},613:function(e,t){e.exports=function(e){if(void 0==e)throw TypeError("Can't call method on "+e);return e}},614:function(e,t,n){var i=n(433),o=n(675),r=n(528),a=n(529),s=n(959);e.exports=function(e,t){var n=1==e,c=2==e,l=3==e,d=4==e,u=6==e,f=5==e||u,h=t||s;return function(t,s,p){for(var g,m,b=r(t),v=o(b),y=i(s,p,3),_=a(v.length),w=0,x=n?h(t,_):c?h(t,0):void 0;_>w;w++)if((f||w in v)&&(m=y(g=v[w],w,b),e))if(n)x[w]=m;else if(m)switch(e){case 3:return!0;case 5:return g;case 6:return w;case 2:x.push(g)}else if(d)return!1;return u?-1:l||d?d:x}}},615:function(e,t,n){"use strict";var i=n(681),o={};o[n(264)("toStringTag")]="z",o+""!="[object z]"&&n(431)(Object.prototype,"toString",function(){return"[object "+i(this)+"]"},!0)},616:function(e,t){e.exports=function(e,t,n,i){if(!(e instanceof t)||void 0!==i&&i in e)throw TypeError(n+": incorrect invocation!");return e}},617:function(e,t,n){var i=n(433),o=n(834),r=n(835),a=n(395),s=n(529),c=n(836),l={},d={};(t=e.exports=function(e,t,n,u,f){var h,p,g,m,b=f?function(){return e}:c(e),v=i(n,u,t?2:1),y=0;if("function"!=typeof b)throw TypeError(e+" is not iterable!");if(r(b)){for(h=s(e.length);h>y;y++)if((m=t?v(a(p=e[y])[0],p[1]):v(e[y]))===l||m===d)return m}else for(g=b.call(e);!(p=g.next()).done;)if((m=o(g,v,p.value,t))===l||m===d)return m}).BREAK=l,t.RETURN=d},618:function(e,t,n){var i=n(431);e.exports=function(e,t,n){for(var o in t)i(e,o,t[o],n);return e}},619:function(e,t,n){var i=n(304);e.exports=function(e,t){if(!i(e)||e._t!==t)throw TypeError("Incompatible receiver, "+t+" required!");return e}},620:function(e,t,n){"use strict";var i=n(0),o=n.n(i);n(1016);o.a.fn.extend({disable:function(){return o()(this).prop("disabled",!0).addClass("disabled")},enable:function(){return o()(this).prop("disabled",!1).removeClass("disabled")}})},621:function(e,t){(function(){var e,n,i,o,r,a,s,c,l,d,u,f,h,p,g,m;t.score=function(e,t,i){var o,a,s;return o=i.preparedQuery,i.allowErrors||r(e,o.core_lw,o.core_up)?(s=e.toLowerCase(),a=n(e,s,o),Math.ceil(a)):0},t.isMatch=r=function(e,t,n){var i,o,r,a,s,c,l;if(r=e.length,a=t.length,!r||a>r)return!1;for(i=-1,o=-1;++o<a;){for(s=t.charCodeAt(o),c=n.charCodeAt(o);++i<r&&(l=e.charCodeAt(i))!==s&&l!==c;);if(i===r)return!1}return!0},t.computeScore=n=function(e,t,n){var i,o,r,a,s,p,g,b,v,y,_,w,x,S,T,k,C,j,A,E,I,M,O,D;if(T=n.query,k=n.query_lw,y=e.length,x=T.length,o=(i=l(e,t,T,k)).score,i.count===x)return f(x,y,o,i.pos);if((S=t.indexOf(k))>-1)return h(e,t,T,k,S,x,y);for(E=new Array(x),s=new Array(x),D=m(x,y),w=_=Math.ceil(.75*x)+5,g=!0,v=-1;++v<x;)E[v]=0,s[v]=0;for(b=-1;++b<y;)if(!(M=t[b]).charCodeAt(0)in n.charCodes){if(g){for(v=-1;++v<x;)s[v]=0;g=!1}}else for(j=0,A=0,a=0,C=!0,g=!0,v=-1;++v<x;){if((I=E[v])>j&&(j=I),p=0,k[v]===M)if(O=c(b,e,t),p=a>0?a:u(e,t,T,k,b,v,O),(r=A+d(b,v,O,o,p))>j)j=r,w=_;else{if(C&&--w<=0)return Math.max(j,E[x-1])*D;C=!1}A=I,a=s[v],s[v]=p,E[v]=j}return(j=E[x-1])*D},t.isWordStart=c=function(e,t,n){var i,o;return 0===e||(i=t[e],o=t[e-1],a(o)||i!==n[e]&&o===n[e-1])},t.isWordEnd=s=function(e,t,n,i){var o,r;return e===i-1||(o=t[e],r=t[e+1],a(r)||o===n[e]&&r!==n[e+1])},a=function(e){return" "===e||"."===e||"-"===e||"_"===e||"/"===e||"\\"===e},g=function(e){var t;return e<20?100+(t=20-e)*t:Math.max(120-e,0)},t.scoreSize=m=function(e,t){return 85/(85+Math.abs(t-e))},f=function(e,t,n,i){return 2*e*(150*n+g(i))*m(e,t)},t.scorePattern=p=function(e,t,n,i,o){var r,a;return a=e,r=6,n===e&&(r+=2),i&&(r+=3),o&&(r+=1),e===t&&(i&&(a+=n===t?2:1),o&&(r+=1)),n+a*(a+r)},t.scoreCharacter=d=function(e,t,n,i,o){var r;return r=g(e),n?r+150*((i>o?i:o)+10):r+150*o},t.scoreConsecutives=u=function(e,t,n,i,o,r,a){var c,l,d,u,f,h,g;for(c=(d=(l=e.length)-o)<(f=(u=n.length)-r)?d:f,h=0,g=0,n[r]===e[o]&&h++;++g<c&&i[++r]===t[++o];)n[r]===e[o]&&h++;return 1===g?1+2*h:p(g,u,h,a,s(o,e,t,l))},t.scoreExactMatch=h=function(e,t,n,i,o,r,a){var l,d,u,h,g;for((g=c(o,e,t))||(u=t.indexOf(i,o+1))>-1&&(g=c(u,e,t))&&(o=u),d=-1,h=0;++d<r;)n[o+d]===e[d]&&h++;return l=s(o+r-1,e,t,a),f(r,a,p(r,r,h,g,l),o)},e=function(){return function(e,t,n){this.score=e,this.pos=t,this.count=n}}(),i=new e(0,.1,0),t.scoreAcronyms=l=function(t,n,r,s){var l,d,u,f,h,g,m,b,v,y,_;if(h=t.length,g=r.length,!(h>1&&g>1))return i;for(l=0,y=0,_=0,b=0,u=-1,f=-1;++f<g;){if(m=s[f],a(m)){if((u=n.indexOf(m,u+1))>-1){y++;continue}break}for(;++u<h;)if(m===n[u]&&c(u,t,n)){r[f]===t[u]&&b++,_+=u,l++;break}if(u===h)break}return l<2?i:(d=l===g&&o(t,n,r,l),v=p(l,g,b,!0,d),new e(v,_/l,l+y))},o=function(e,t,n,i){var o,r,a;if(o=0,(a=e.length)>12*n.length)return!1;for(r=-1;++r<a;)if(c(r,e,t)&&++o>i)return!1;return!0}}).call(this)},640:function(e,t,n){"use strict";function i(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}n.d(t,"a",function(){return o});var o=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.internalStorage={}}var t,n,o;return t=e,(n=[{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]}}])&&i(t.prototype,n),o&&i(t,o),e}()},65:function(e,t,n){var i,o,r;
|
||
/*!
|
||
Autosize 4.0.0
|
||
license: MIT
|
||
http://www.jacklmoore.com/autosize
|
||
*/o=[t,e],void 0===(r="function"==typeof(i=function(e,t){"use strict";var n,i,o="function"==typeof Map?new Map:(n=[],i=[],{has:function(e){return n.indexOf(e)>-1},get:function(e){return i[n.indexOf(e)]},set:function(e,t){-1===n.indexOf(e)&&(n.push(e),i.push(t))},delete:function(e){var t=n.indexOf(e);t>-1&&(n.splice(t,1),i.splice(t,1))}}),r=function(e){return new Event(e,{bubbles:!0})};try{new Event("test")}catch(e){r=function(e){var t=document.createEvent("Event");return t.initEvent(e,!0,!1),t}}function a(e){if(e&&e.nodeName&&"TEXTAREA"===e.nodeName&&!o.has(e)){var t=null,n=e.clientWidth,i=null,a=function(){e.clientWidth!==n&&u()},s=function(t){window.removeEventListener("resize",a,!1),e.removeEventListener("input",u,!1),e.removeEventListener("keyup",u,!1),e.removeEventListener("autosize:destroy",s,!1),e.removeEventListener("autosize:update",u,!1),Object.keys(t).forEach(function(n){e.style[n]=t[n]}),o.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",u,!1),window.addEventListener("resize",a,!1),e.addEventListener("input",u,!1),e.addEventListener("autosize:update",u,!1),e.style.overflowX="hidden",e.style.wordWrap="break-word",o.set(e,{destroy:s,update:u}),"vertical"===(c=window.getComputedStyle(e,null)).resize?e.style.resize="none":"both"===c.resize&&(e.style.resize="horizontal"),t="content-box"===c.boxSizing?-(parseFloat(c.paddingTop)+parseFloat(c.paddingBottom)):parseFloat(c.borderTopWidth)+parseFloat(c.borderBottomWidth),isNaN(t)&&(t=0),u()}var c;function l(t){var n=e.style.width;e.style.width="0px",e.offsetWidth,e.style.width=n,e.style.overflowY=t}function d(){var i=e.style.height,o=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),r=document.documentElement&&document.documentElement.scrollTop;e.style.height="";var a=e.scrollHeight+t;0!==e.scrollHeight?(e.style.height=a+"px",n=e.clientWidth,o.forEach(function(e){e.node.scrollTop=e.scrollTop}),r&&(document.documentElement.scrollTop=r)):e.style.height=i}function u(){d();var t=Math.round(parseFloat(e.style.height)),n=window.getComputedStyle(e,null),o="content-box"===n.boxSizing?Math.round(parseFloat(n.height)):e.offsetHeight;if(o!==t?"hidden"===n.overflowY&&(l("scroll"),d(),o="content-box"===n.boxSizing?Math.round(parseFloat(window.getComputedStyle(e,null).height)):e.offsetHeight):"hidden"!==n.overflowY&&(l("hidden"),d(),o="content-box"===n.boxSizing?Math.round(parseFloat(window.getComputedStyle(e,null).height)):e.offsetHeight),i!==o){i=o;var a=r("autosize:resized");try{e.dispatchEvent(a)}catch(e){}}}}function s(e){var t=o.get(e);t&&t.destroy()}function c(e){var t=o.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],c),e}),t.exports=l})?i.apply(t,o):i)||(e.exports=r)},658:function(e){e.exports={small_airplane:"airplane_small",right_anger_bubble:"anger_right",keycap_asterisk:"asterisk",atom_symbol:"atom",ballot_box_with_ballot:"ballot_box",person_with_ball:"basketball_player",person_with_ball_tone1:"basketball_player_tone1",person_with_ball_tone2:"basketball_player_tone2",person_with_ball_tone3:"basketball_player_tone3",person_with_ball_tone4:"basketball_player_tone4",person_with_ball_tone5:"basketball_player_tone5",beach_with_umbrella:"beach",umbrella_on_ground:"beach_umbrella",bellhop_bell:"bellhop",biohazard_sign:"biohazard",archery:"bow_and_arrow",boxing_gloves:"boxing_glove",spiral_calendar_pad:"calendar_spiral",call_me_hand:"call_me",call_me_hand_tone1:"call_me_tone1",call_me_hand_tone2:"call_me_tone2",call_me_hand_tone3:"call_me_tone3",call_me_hand_tone4:"call_me_tone4",call_me_hand_tone5:"call_me_tone5",kayak:"canoe",card_file_box:"card_box",person_doing_cartwheel:"cartwheel",person_doing_cartwheel_tone1:"cartwheel_tone1",person_doing_cartwheel_tone2:"cartwheel_tone2",person_doing_cartwheel_tone3:"cartwheel_tone3",person_doing_cartwheel_tone4:"cartwheel_tone4",person_doing_cartwheel_tone5:"cartwheel_tone5",bottle_with_popping_cork:"champagne",clinking_glass:"champagne_glass",cheese_wedge:"cheese",city_sunrise:"city_sunset",mantlepiece_clock:"clock",cloud_with_lightning:"cloud_lightning",cloud_with_rain:"cloud_rain",cloud_with_snow:"cloud_snow",cloud_with_tornado:"cloud_tornado",clown_face:"clown",building_construction:"construction_site",couch_and_lamp:"couch",couple_with_heart_mm:"couple_mm",couple_with_heart_ww:"couple_ww",face_with_cowboy_hat:"cowboy",lower_left_crayon:"crayon",cricket_bat_ball:"cricket",latin_cross:"cross",passenger_ship:"cruise_ship",dagger_knife:"dagger",desktop_computer:"desktop",card_index_dividers:"dividers",dove_of_peace:"dove",drool:"drooling_face",drum_with_drumsticks:"drum",email:"e-mail",eject_symbol:"eject",facepalm:"face_palm",facepalm_tone1:"face_palm_tone1",facepalm_tone2:"face_palm_tone2",facepalm_tone3:"face_palm_tone3",facepalm_tone4:"face_palm_tone4",facepalm_tone5:"face_palm_tone5",fencing:"fencer",hand_with_index_and_middle_finger_crossed:"fingers_crossed",hand_with_index_and_middle_fingers_crossed_tone1:"fingers_crossed_tone1",hand_with_index_and_middle_fingers_crossed_tone2:"fingers_crossed_tone2",hand_with_index_and_middle_fingers_crossed_tone3:"fingers_crossed_tone3",hand_with_index_and_middle_fingers_crossed_tone4:"fingers_crossed_tone4",hand_with_index_and_middle_fingers_crossed_tone5:"fingers_crossed_tone5",flame:"fire",first_place_medal:"first_place",ac:"flag_ac",ad:"flag_ad",ae:"flag_ae",af:"flag_af",ag:"flag_ag",ai:"flag_ai",al:"flag_al",am:"flag_am",ao:"flag_ao",aq:"flag_aq",ar:"flag_ar",as:"flag_as",at:"flag_at",au:"flag_au",aw:"flag_aw",ax:"flag_ax",az:"flag_az",ba:"flag_ba",bb:"flag_bb",bd:"flag_bd",be:"flag_be",bf:"flag_bf",bg:"flag_bg",bh:"flag_bh",bi:"flag_bi",bj:"flag_bj",bl:"flag_bl",waving_black_flag:"flag_black",bm:"flag_bm",bn:"flag_bn",bo:"flag_bo",bq:"flag_bq",br:"flag_br",bs:"flag_bs",bt:"flag_bt",bv:"flag_bv",bw:"flag_bw",by:"flag_by",bz:"flag_bz",ca:"flag_ca",cc:"flag_cc",congo:"flag_cd",cf:"flag_cf",cg:"flag_cg",ch:"flag_ch",ci:"flag_ci",ck:"flag_ck",chile:"flag_cl",cm:"flag_cm",cn:"flag_cn",co:"flag_co",cp:"flag_cp",cr:"flag_cr",cu:"flag_cu",cv:"flag_cv",cw:"flag_cw",cx:"flag_cx",cy:"flag_cy",cz:"flag_cz",de:"flag_de",dg:"flag_dg",dj:"flag_dj",dk:"flag_dk",dm:"flag_dm",do:"flag_do",dz:"flag_dz",ea:"flag_ea",ec:"flag_ec",ee:"flag_ee",eg:"flag_eg",eh:"flag_eh",er:"flag_er",es:"flag_es",et:"flag_et",eu:"flag_eu",fi:"flag_fi",fj:"flag_fj",fk:"flag_fk",fm:"flag_fm",fo:"flag_fo",fr:"flag_fr",ga:"flag_ga",gb:"flag_gb",gd:"flag_gd",ge:"flag_ge",gf:"flag_gf",gg:"flag_gg",gh:"flag_gh",gi:"flag_gi",gl:"flag_gl",gm:"flag_gm",gn:"flag_gn",gp:"flag_gp",gq:"flag_gq",gr:"flag_gr",gs:"flag_gs",gt:"flag_gt",gu:"flag_gu",gw:"flag_gw",gy:"flag_gy",hk:"flag_hk",hm:"flag_hm",hn:"flag_hn",hr:"flag_hr",ht:"flag_ht",hu:"flag_hu",ic:"flag_ic",indonesia:"flag_id",ie:"flag_ie",il:"flag_il",im:"flag_im",in:"flag_in",io:"flag_io",iq:"flag_iq",ir:"flag_ir",is:"flag_is",it:"flag_it",je:"flag_je",jm:"flag_jm",jo:"flag_jo",jp:"flag_jp",ke:"flag_ke",kg:"flag_kg",kh:"flag_kh",ki:"flag_ki",km:"flag_km",kn:"flag_kn",kp:"flag_kp",kr:"flag_kr",kw:"flag_kw",ky:"flag_ky",kz:"flag_kz",la:"flag_la",lb:"flag_lb",lc:"flag_lc",li:"flag_li",lk:"flag_lk",lr:"flag_lr",ls:"flag_ls",lt:"flag_lt",lu:"flag_lu",lv:"flag_lv",ly:"flag_ly",ma:"flag_ma",mc:"flag_mc",md:"flag_md",me:"flag_me",mf:"flag_mf",mg:"flag_mg",mh:"flag_mh",mk:"flag_mk",ml:"flag_ml",mm:"flag_mm",mn:"flag_mn",mo:"flag_mo",mp:"flag_mp",mq:"flag_mq",mr:"flag_mr",ms:"flag_ms",mt:"flag_mt",mu:"flag_mu",mv:"flag_mv",mw:"flag_mw",mx:"flag_mx",my:"flag_my",mz:"flag_mz",na:"flag_na",nc:"flag_nc",ne:"flag_ne",nf:"flag_nf",nigeria:"flag_ng",ni:"flag_ni",nl:"flag_nl",no:"flag_no",np:"flag_np",nr:"flag_nr",nu:"flag_nu",nz:"flag_nz",om:"flag_om",pa:"flag_pa",pe:"flag_pe",pf:"flag_pf",pg:"flag_pg",ph:"flag_ph",pk:"flag_pk",pl:"flag_pl",pm:"flag_pm",pn:"flag_pn",pr:"flag_pr",ps:"flag_ps",pt:"flag_pt",pw:"flag_pw",py:"flag_py",qa:"flag_qa",re:"flag_re",ro:"flag_ro",rs:"flag_rs",ru:"flag_ru",rw:"flag_rw",saudiarabia:"flag_sa",saudi:"flag_sa",sb:"flag_sb",sc:"flag_sc",sd:"flag_sd",se:"flag_se",sg:"flag_sg",sh:"flag_sh",si:"flag_si",sj:"flag_sj",sk:"flag_sk",sl:"flag_sl",sm:"flag_sm",sn:"flag_sn",so:"flag_so",sr:"flag_sr",ss:"flag_ss",st:"flag_st",sv:"flag_sv",sx:"flag_sx",sy:"flag_sy",sz:"flag_sz",ta:"flag_ta",tc:"flag_tc",td:"flag_td",tf:"flag_tf",tg:"flag_tg",th:"flag_th",tj:"flag_tj",tk:"flag_tk",tl:"flag_tl",turkmenistan:"flag_tm",tn:"flag_tn",to:"flag_to",tr:"flag_tr",tt:"flag_tt",tuvalu:"flag_tv",tw:"flag_tw",tz:"flag_tz",ua:"flag_ua",ug:"flag_ug",um:"flag_um",us:"flag_us",uy:"flag_uy",uz:"flag_uz",va:"flag_va",vc:"flag_vc",ve:"flag_ve",vg:"flag_vg",vi:"flag_vi",vn:"flag_vn",vu:"flag_vu",wf:"flag_wf",waving_white_flag:"flag_white",ws:"flag_ws",xk:"flag_xk",ye:"flag_ye",yt:"flag_yt",za:"flag_za",zm:"flag_zm",zw:"flag_zw",fork_and_knife_with_plate:"fork_knife_plate",fox_face:"fox",frame_with_picture:"frame_photo",baguette_bread:"french_bread",anguished:"frowning",white_frowning_face:"frowning2",rainbow_flag:"gay_pride_flag",goal_net:"goal",hammer_and_pick:"hammer_pick",raised_hand_with_fingers_splayed:"hand_splayed",raised_hand_with_fingers_splayed_tone1:"hand_splayed_tone1",raised_hand_with_fingers_splayed_tone2:"hand_splayed_tone2",raised_hand_with_fingers_splayed_tone3:"hand_splayed_tone3",raised_hand_with_fingers_splayed_tone4:"hand_splayed_tone4",raised_hand_with_fingers_splayed_tone5:"hand_splayed_tone5",shaking_hands:"handshake",shaking_hands_tone1:"handshake_tone1",shaking_hands_tone2:"handshake_tone2",shaking_hands_tone3:"handshake_tone3",shaking_hands_tone4:"handshake_tone4",shaking_hands_tone5:"handshake_tone5",face_with_head_bandage:"head_bandage",heavy_heart_exclamation_mark_ornament:"heart_exclamation",helmet_with_white_cross:"helmet_with_cross",house_buildings:"homes",hot_dog:"hotdog",derelict_house_building:"house_abandoned",hugging_face:"hugging",desert_island:"island",juggler:"juggling",juggler_tone1:"juggling_tone1",juggler_tone2:"juggling_tone2",juggler_tone3:"juggling_tone3",juggler_tone4:"juggling_tone4",juggler_tone5:"juggling_tone5",old_key:"key2",couplekiss_mm:"kiss_mm",couplekiss_ww:"kiss_ww",kiwifruit:"kiwi",satisfied:"laughing",left_fist:"left_facing_fist",left_fist_tone1:"left_facing_fist_tone1",left_fist_tone2:"left_facing_fist_tone2",left_fist_tone3:"left_facing_fist_tone3",left_fist_tone4:"left_facing_fist_tone4",left_fist_tone5:"left_facing_fist_tone5",man_in_business_suit_levitating:"levitate",weight_lifter:"lifter",weight_lifter_tone1:"lifter_tone1",weight_lifter_tone2:"lifter_tone2",weight_lifter_tone3:"lifter_tone3",weight_lifter_tone4:"lifter_tone4",weight_lifter_tone5:"lifter_tone5",lion:"lion_face",liar:"lying_face",male_dancer:"man_dancing",male_dancer_tone1:"man_dancing_tone1",male_dancer_tone2:"man_dancing_tone2",male_dancer_tone3:"man_dancing_tone3",male_dancer_tone4:"man_dancing_tone4",male_dancer_tone5:"man_dancing_tone5",tuxedo_tone1:"man_in_tuxedo_tone1",tuxedo_tone2:"man_in_tuxedo_tone2",tuxedo_tone3:"man_in_tuxedo_tone3",tuxedo_tone4:"man_in_tuxedo_tone4",tuxedo_tone5:"man_in_tuxedo_tone5",world_map:"map",karate_uniform:"martial_arts_uniform",sports_medal:"medal",sign_of_the_horns:"metal",sign_of_the_horns_tone1:"metal_tone1",sign_of_the_horns_tone2:"metal_tone2",sign_of_the_horns_tone3:"metal_tone3",sign_of_the_horns_tone4:"metal_tone4",sign_of_the_horns_tone5:"metal_tone5",studio_microphone:"microphone2",reversed_hand_with_middle_finger_extended:"middle_finger",reversed_hand_with_middle_finger_extended_tone1:"middle_finger_tone1",reversed_hand_with_middle_finger_extended_tone2:"middle_finger_tone2",reversed_hand_with_middle_finger_extended_tone3:"middle_finger_tone3",reversed_hand_with_middle_finger_extended_tone4:"middle_finger_tone4",reversed_hand_with_middle_finger_extended_tone5:"middle_finger_tone5",glass_of_milk:"milk",money_mouth_face:"money_mouth",motorbike:"motor_scooter",racing_motorcycle:"motorcycle",snow_capped_mountain:"mountain_snow",three_button_mouse:"mouse_three_button",mother_christmas:"mrs_claus",mother_christmas_tone1:"mrs_claus_tone1",mother_christmas_tone2:"mrs_claus_tone2",mother_christmas_tone3:"mrs_claus_tone3",mother_christmas_tone4:"mrs_claus_tone4",mother_christmas_tone5:"mrs_claus_tone5",sick:"nauseated_face",nerd_face:"nerd",rolled_up_newspaper:"newspaper2",spiral_note_pad:"notepad_spiral",stop_sign:"octagonal_sign",oil_drum:"oil",grandma:"older_woman",grandma_tone1:"older_woman_tone1",grandma_tone2:"older_woman_tone2",grandma_tone3:"older_woman_tone3",grandma_tone4:"older_woman_tone4",grandma_tone5:"older_woman_tone5",lower_left_paintbrush:"paintbrush",linked_paperclips:"paperclips",national_park:"park",double_vertical_bar:"pause_button",peace_symbol:"peace",shelled_peanut:"peanuts",lower_left_ballpoint_pen:"pen_ballpoint",lower_left_fountain_pen:"pen_fountain",memo:"pencil",table_tennis:"ping_pong",worship_symbol:"place_of_worship",shit:"poop",hankey:"poop",poo:"poop",expecting_woman:"pregnant_woman",expecting_woman_tone1:"pregnant_woman_tone1",expecting_woman_tone2:"pregnant_woman_tone2",expecting_woman_tone3:"pregnant_woman_tone3",expecting_woman_tone4:"pregnant_woman_tone4",expecting_woman_tone5:"pregnant_woman_tone5",film_projector:"projector",racing_car:"race_car",radioactive_sign:"radioactive",railroad_track:"railway_track",back_of_hand:"raised_back_of_hand",back_of_hand_tone1:"raised_back_of_hand_tone1",back_of_hand_tone2:"raised_back_of_hand_tone2",back_of_hand_tone3:"raised_back_of_hand_tone3",back_of_hand_tone4:"raised_back_of_hand_tone4",back_of_hand_tone5:"raised_back_of_hand_tone5",rhinoceros:"rhino",right_fist:"right_facing_fist",right_fist_tone1:"right_facing_fist_tone1",right_fist_tone2:"right_facing_fist_tone2",right_fist_tone3:"right_facing_fist_tone3",right_fist_tone4:"right_facing_fist_tone4",right_fist_tone5:"right_facing_fist_tone5",robot_face:"robot",rolling_on_the_floor_laughing:"rofl",face_with_rolling_eyes:"rolling_eyes",green_salad:"salad",second_place_medal:"second_place",paella:"shallow_pan_of_food",shopping_trolley:"shopping_cart",skeleton:"skull",skull_and_crossbones:"skull_crossbones",slightly_frowning_face:"slight_frown",slightly_smiling_face:"slight_smile",sneeze:"sneezing_face",speaking_head_in_silhouette:"speaking_head",left_speech_bubble:"speech_left",sleuth_or_spy:"spy",sleuth_or_spy_tone1:"spy_tone1",sleuth_or_spy_tone2:"spy_tone2",sleuth_or_spy_tone3:"spy_tone3",sleuth_or_spy_tone4:"spy_tone4",sleuth_or_spy_tone5:"spy_tone5",stuffed_pita:"stuffed_flatbread",face_with_thermometer:"thermometer_face",thinking_face:"thinking",third_place_medal:"third_place","-1":"thumbsdown","-1_tone1":"thumbsdown_tone1","-1_tone2":"thumbsdown_tone2","-1_tone3":"thumbsdown_tone3","-1_tone4":"thumbsdown_tone4","-1_tone5":"thumbsdown_tone5","+1":"thumbsup","+1_tone1":"thumbsup_tone1","+1_tone2":"thumbsup_tone2","+1_tone3":"thumbsup_tone3","+1_tone4":"thumbsup_tone4","+1_tone5":"thumbsup_tone5",thunder_cloud_and_rain:"thunder_cloud_rain",admission_tickets:"tickets",timer_clock:"timer",hammer_and_wrench:"tools",next_track:"track_next",previous_track:"track_previous",whisky:"tumbler_glass",unicorn_face:"unicorn",upside_down_face:"upside_down",funeral_urn:"urn",raised_hand_with_part_between_middle_and_ring_fingers:"vulcan",raised_hand_with_part_between_middle_and_ring_fingers_tone1:"vulcan_tone1",raised_hand_with_part_between_middle_and_ring_fingers_tone2:"vulcan_tone2",raised_hand_with_part_between_middle_and_ring_fingers_tone3:"vulcan_tone3",raised_hand_with_part_between_middle_and_ring_fingers_tone4:"vulcan_tone4",raised_hand_with_part_between_middle_and_ring_fingers_tone5:"vulcan_tone5",white_sun_behind_cloud:"white_sun_cloud",white_sun_behind_cloud_with_rain:"white_sun_rain_cloud",white_sun_with_small_cloud:"white_sun_small_cloud",wilted_flower:"wilted_rose",wrestling:"wrestlers",wrestling_tone1:"wrestlers_tone1",wrestling_tone2:"wrestlers_tone2",wrestling_tone3:"wrestlers_tone3",wrestling_tone4:"wrestlers_tone4",wrestling_tone5:"wrestlers_tone5",zipper_mouth_face:"zipper_mouth"}},66:function(e,t,n){"use strict";var i=n(1);t.a=function(e){e.mixin({methods:{__:i.a,n__:i.d,s__:i.e,sprintf:i.f}})}},67:function(e,t,n){"use strict";var i=n(0),o=n.n(i),r=n(7),a=n.n(r);function s(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var c=function(e,t){e.atwho({at:"&",alias:"epics",searchKey:"search",displayTpl:function(e){var t=v.Loading.template;return null!=e.title&&(t=v.Issues.templateFunction(e)),t},data:v.defaultLoadingData,insertTpl:"${atwho-at}${id}",callbacks:function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},i=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),i.forEach(function(t){s(e,t,n[t])})}return e}({},t,{beforeSave:function(e){return o.a.map(e,function(e){return null==e.title?e:{id:e.iid,title:e.title.replace(/<(?:.|\n)*?>/gm,""),search:"".concat(e.iid," ").concat(e.title)}})}})})},l="\\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",d=n(180);function u(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=[],i=!0,o=!1,r=void 0;try{for(var a,s=e[Symbol.iterator]();!(i=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);i=!0);}catch(e){o=!0,r=e}finally{try{i||null==s.return||s.return()}finally{if(o)throw r}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function f(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},i=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),i.forEach(function(t){h(e,t,n[t])})}return e}function h(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function p(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function g(e){return e.replace(/<(?:.|\n)*?>/gm,"")}n.d(t,"b",function(){return m});var m={emojis:!0,members:!0,issues:!0,mergeRequests:!0,epics:!0,milestones:!0,labels:!0,snippets:!0},b=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.dataSources=t||{},this.cachedData={},this.isLoadingData={}}var t,i,r;return t=e,r=[{key:"isLoading",value:function(t){var n=t;t&&t.length>0&&(n=u(t,1)[0]);var i=e.defaultLoadingData[0];return n&&(n===i||n.name===i)}},{key:"defaultMatcher",value:function(t,n,i){var o=Object.keys(i).join("|").replace(/[$]/,"\\$&"),r=Object.keys(i).join(""),a=n.split(e.regexSubtext).pop(),s=t.replace(/[-[\]/{}()*+?.\\^$|]/g,"\\$&"),c=decodeURI("%C3%80"),l=decodeURI("%C3%BF");return new RegExp("^(?:\\B|[^a-zA-Z0-9_`".concat(r,"]|\\s)").concat(s,"(?!").concat(o,")((?:[A-Za-z").concat(c,"-").concat(l,"0-9_'.+-]|[^\\x00-\\x7a])*)$"),"gi").exec(a)}}],(i=[{key:"setup",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:m;this.input=e||o()(".js-gfm-input"),this.enableMap=t,this.setupLifecycle()}},{key:"setupLifecycle",value:function(){var e=this;this.input.each(function(t,n){var i=o()(n);i.off("focus.setupAtWho").on("focus.setupAtWho",e.setupAtWho.bind(e,i)),i.on("change.atwho",function(){return n.dispatchEvent(new Event("input"))}),i.on("inserted-commands.atwho",i.trigger.bind(i,"keyup")),i.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),this.enableMap.snippets&&this.setupSnippets(t),this.enableMap.epics&&c(t,this.getDefaultCallbacks()),t.filter('[data-supports-quick-actions="true"]').atwho({at:"/",alias:"commands",searchKey:"search",skipSpecialCharacterTest:!0,skipMarkdownCharacterTest:!0,data:e.defaultLoadingData,displayTpl:function(t){var n=[];if(e.isLoading(t))return e.Loading.template;var i='<li class="<%- className %>"><span class="name">/${name}</span>';return t.aliases.length>0&&(i+=' <small class="aliases">(or /<%- aliases.join(", /") %>)</small>'),t.params.length>0&&(i+=' <small class="params"><%- params.join(" ") %></small>'),""!==t.description&&(i+='<small class="description"><i><%- description %> <%- warningText %></i></small>'),i+="</li>",t.warning&&n.push("has-warning"),a.a.template(i)(f({},t,{className:n.join(" "),warningText:t.warning?"(".concat(t.warning,")"):""}))},insertTpl:function(e){var t="/${name} ",n=null;e.params.length>0&&(n=u(u(e.params,1)[0],1)[0],/^[@%~]/.test(n)&&(t+="<%- referencePrefix %>"));return a.a.template(t)({referencePrefix:n})},suffix:"",callbacks:f({},this.getDefaultCallbacks(),{beforeSave:function(t){return e.isLoading(t)?t:o.a.map(t,function(e){var t=e.name;return e.aliases.length>0&&(t="".concat(t," ").concat(e.aliases.join(" "))),{name:e.name,aliases:e.aliases,params:e.params,description:e.description,warning:e.warning,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:f({},this.getDefaultCallbacks(),{matcher:function(e,t){var n=new RegExp("(?:[^".concat(l,"0-9:]|\n|^):([^:]*)$"),"gi").exec(t);return n&&n.length?n[1]:null}})})}},{key:"setupMembers",value:function(t){t.atwho({at:"@",alias:"users",displayTpl:function(t){var n=e.Loading.template,i=t.avatarTag,o=t.username,r=t.title;return null!=o&&(n=e.Members.templateFunction({avatarTag:i,username:o,title:r})),n},insertTpl:"${atwho-at}${username}",searchKey:"search",alwaysHighlightFirst:!0,skipSpecialCharacterTest:!0,data:e.defaultLoadingData,callbacks:f({},this.getDefaultCallbacks(),{beforeSave:function(e){return o.a.map(e,function(e){var t="";if(null==e.username)return e;t=e.name,e.count&&(t+=" (".concat(e.count,")"));var n=e.avatar_url||e.username.charAt(0).toUpperCase(),i='<img src="'.concat(e.avatar_url,'" alt="').concat(e.username,'" class="avatar avatar-inline center s26"/>'),o='<div class="avatar center avatar-inline s26">'.concat(n,"</div>");return{username:e.username,avatarTag:1===n.length?o:i,title:g(t),search:g("".concat(e.username," ").concat(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.templateFunction(t)),n},data:e.defaultLoadingData,insertTpl:e.Issues.insertTemplateFunction,skipSpecialCharacterTest:!0,callbacks:f({},this.getDefaultCallbacks(),{beforeSave:function(e){return o.a.map(e,function(e){return null==e.title?e:{id:e.iid,title:g(e.title),reference:e.reference,search:"".concat(e.iid," ").concat(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.templateFunction(t.title)),n},data:e.defaultLoadingData,callbacks:f({},this.getDefaultCallbacks(),{beforeSave:function(e){return o.a.map(e,function(e){return null==e.title?e:{id:e.iid,title:g(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.templateFunction(t)),n},data:e.defaultLoadingData,insertTpl:e.Issues.insertTemplateFunction,skipSpecialCharacterTest:!0,callbacks:f({},this.getDefaultCallbacks(),{beforeSave:function(e){return o.a.map(e,function(e){return null==e.title?e:{id:e.iid,title:g(e.title),reference:e.reference,search:"".concat(e.iid," ").concat(e.title)}})}})})}},{key:"setupLabels",value:function(t){var n=this.fetchData.bind(this),i="/label",r="/unlabel",a="/relabel",s="";t.atwho({at:"~",alias:"labels",searchKey:"search",data:e.defaultLoadingData,displayTpl:function(t){var n=e.Labels.templateFunction(t.color,t.title);return e.isLoading(t)&&(n=e.Loading.template),n},insertTpl:"${atwho-at}${title}",callbacks:f({},this.getDefaultCallbacks(),{beforeSave:function(t){return e.isLoading(t)?t:o.a.map(t,function(e){return{title:g(e.title),color:e.color,search:e.title,set:e.set}})},matcher:function(t,n){var o=e.defaultMatcher(t,n,this.app.controllers),c=n.split(/\n+/g).pop().split(e.regexSubtext);return s=c.find(function(e){return e===i||e===a||e===r?e:null}),o&&o.length?o[1]:null},filter:function(t,a,c){return e.isLoading(a)?(n(this.$inputor,this.at),a):a===e.defaultLoadingData?o.a.fn.atwho.default.callbacks.filter(t,a,c):s===i?a.filter(function(e){return!e.set}):s===r?a.filter(function(e){return e.set}):a}})})}},{key:"setupSnippets",value:function(t){t.atwho({at:"$",alias:"snippets",searchKey:"search",displayTpl:function(t){var n=e.Loading.template;return null!=t.title&&(n=e.Issues.templateFunction(t)),n},data:e.defaultLoadingData,insertTpl:"${atwho-at}${id}",callbacks:f({},this.getDefaultCallbacks(),{beforeSave:function(e){return o.a.map(e,function(e){return null==e.title?e:{id:e.id,title:g(e.title),search:"".concat(e.id," ").concat(e.title)}})}})})}},{key:"getDefaultCallbacks",value:function(){var t=this.fetchData.bind(this);return{sorter:function(t,n,i){return this.setting.highlightFirst=this.setting.alwaysHighlightFirst||t.length>0,e.isLoading(n)?(this.setting.highlightFirst=!1,n):o.a.fn.atwho.default.callbacks.sorter(t,n,i)},filter:function(n,i,r){return e.isLoading(i)?(t(this.$inputor,this.at),i):o.a.fn.atwho.default.callbacks.filter(n,i,r)},beforeInsert:function(e){var t=e.substring(1),n=e.charAt();e&&!this.setting.skipSpecialCharacterTest&&(t&&("~"===n?/\W|^\d+$/:/\W/).test(t)&&(t='"'.concat(t,'"')));return this.setting.skipMarkdownCharacterTest||(t=t.replace(/([~\-_*`])/g,"\\$&")),"".concat(n).concat(t)},matcher:function(t,n){var i=e.defaultMatcher(t,n,this.app.controllers);return i?i[1]:null}}}},{key:"fetchData",value:function(t,i){var o=this;if(!this.isLoadingData[i]){this.isLoadingData[i]=!0;var r=this.dataSources[e.atTypeMap[i]];this.cachedData[i]?this.loadData(t,i,this.cachedData[i]):"emojis"===e.atTypeMap[i]?Promise.resolve().then(n.bind(null,236)).then(function(n){var r=n.validEmojiNames,a=n.glEmojiTag;o.loadData(t,i,r),e.glEmojiTag=a}).catch(function(){o.isLoadingData[i]=!1}):r?d.a.retrieve(r,!0).then(function(e){o.loadData(t,i,e)}).catch(function(){o.isLoadingData[i]=!1}):this.isLoadingData[i]=!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){o()(t).atwho("destroy")})}}])&&p(t.prototype,i),r&&p(t,r),e}();b.regexSubtext=new RegExp(/\s+/g),b.defaultLoadingData=["loading"],b.atTypeMap={":":"emojis","@":"members","#":"issues","!":"mergeRequests","&":"epics","~":"labels","%":"milestones","/":"commands",$:"snippets"},b.glEmojiTag=null,b.Emoji={templateFunction:function(e){return b.glEmojiTag?"<li>".concat(e," ").concat(b.glEmojiTag(e),"</li>"):"<li>".concat(e,"</li>")}},b.Members={templateFunction:function(e){var t=e.avatarTag,n=e.username,i=e.title;return"<li>".concat(t," ").concat(n," <small>").concat(a.a.escape(i),"</small></li>")}},b.Labels={templateFunction:function(e,t){return'<li><span class="dropdown-label-box" style="background: '.concat(a.a.escape(e),'"></span> ').concat(a.a.escape(t),"</li>")}},b.Issues={insertTemplateFunction:function(e){return e.reference||"${atwho-at}${id}"},templateFunction:function(e){var t=e.id,n=e.title,i=e.reference;return"<li><small>".concat(i||t,"</small> ").concat(a.a.escape(n),"</li>")}},b.Milestones={templateFunction:function(e){return"<li>".concat(a.a.escape(e),"</li>")}},b.Loading={template:'<li style="pointer-events: none;"><i class="fa fa-spinner fa-spin"></i> Loading...</li>'};var v=t.a=b},670:function(e,t,n){var i=n(304),o=n(293).document,r=i(o)&&i(o.createElement);e.exports=function(e){return r?o.createElement(e):{}}},671:function(e,t,n){var i=n(304);e.exports=function(e,t){if(!i(e))return e;var n,o;if(t&&"function"==typeof(n=e.toString)&&!i(o=n.call(e)))return o;if("function"==typeof(n=e.valueOf)&&!i(o=n.call(e)))return o;if(!t&&"function"==typeof(n=e.toString)&&!i(o=n.call(e)))return o;throw TypeError("Can't convert object to primitive value")}},672:function(e,t,n){var i=n(673),o=Math.max,r=Math.min;e.exports=function(e,t){return(e=i(e))<0?o(e+t,0):r(e,t)}},673:function(e,t){var n=Math.ceil,i=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?i:n)(e)}},674:function(e,t,n){var i=n(227),o=n(293),r=o["__core-js_shared__"]||(o["__core-js_shared__"]={});(e.exports=function(e,t){return r[e]||(r[e]=void 0!==t?t:{})})("versions",[]).push({version:i.version,mode:n(531)?"pure":"global",copyright:"© 2018 Denis Pushkarev (zloirock.ru)"})},675:function(e,t,n){var i=n(492);e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==i(e)?e.split(""):Object(e)}},676:function(e,t,n){"use strict";var i=n(830)(!0);n(677)(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=i(t,n),this._i+=e.length,{value:e,done:!1})})},677:function(e,t,n){"use strict";var i=n(531),o=n(292),r=n(431),a=n(466),s=n(532),c=n(964),l=n(533),d=n(966),u=n(264)("iterator"),f=!([].keys&&"next"in[].keys()),h=function(){return this};e.exports=function(e,t,n,p,g,m,b){c(n,t,p);var v,y,_,w=function(e){if(!f&&e in k)return k[e];switch(e){case"keys":case"values":return function(){return new n(this,e)}}return function(){return new n(this,e)}},x=t+" Iterator",S="values"==g,T=!1,k=e.prototype,C=k[u]||k["@@iterator"]||g&&k[g],j=C||w(g),A=g?S?w("entries"):j:void 0,E="Array"==t&&k.entries||C;if(E&&(_=d(E.call(new e)))!==Object.prototype&&_.next&&(l(_,x,!0),i||"function"==typeof _[u]||a(_,u,h)),S&&C&&"values"!==C.name&&(T=!0,j=function(){return C.call(this)}),i&&!b||!f&&!T&&k[u]||a(k,u,j),s[t]=j,s[x]=h,g)if(v={values:S?j:w("values"),keys:m?j:w("keys"),entries:A},b)for(y in v)y in k||r(k,y,v[y]);else o(o.P+o.F*(f||T),t,v);return v}},678:function(e,t,n){var i=n(395),o=n(965),r=n(680),a=n(679)("IE_PROTO"),s=function(){},c=function(){var e,t=n(670)("iframe"),i=r.length;for(t.style.display="none",n(833).appendChild(t),t.src="javascript:",(e=t.contentWindow.document).open(),e.write("<script>document.F=Object<\/script>"),e.close(),c=e.F;i--;)delete c.prototype[r[i]];return c()};e.exports=Object.create||function(e,t){var n;return null!==e?(s.prototype=i(e),n=new s,s.prototype=null,n[a]=e):n=c(),void 0===t?n:o(n,t)}},679:function(e,t,n){var i=n(674)("keys"),o=n(527);e.exports=function(e){return i[e]||(i[e]=o(e))}},680:function(e,t){e.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},681:function(e,t,n){var i=n(492),o=n(264)("toStringTag"),r="Arguments"==i(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),o))?n:r?i(t):"Object"==(a=i(t))&&"function"==typeof t.callee?"Arguments":a}},682:function(e,t,n){var i=n(264)("iterator"),o=!1;try{var r=[7][i]();r.return=function(){o=!0},Array.from(r,function(){throw 2})}catch(e){}e.exports=function(e,t){if(!t&&!o)return!1;var n=!1;try{var r=[7],a=r[i]();a.next=function(){return{done:n=!0}},r[i]=function(){return a},e(r)}catch(e){}return n}},683:function(e,t){t.f=Object.getOwnPropertySymbols},684:function(e,t,n){"use strict";var i=n(612);e.exports.f=function(e){return new function(e){var t,n;this.promise=new e(function(e,i){if(void 0!==t||void 0!==n)throw TypeError("Bad Promise constructor");t=e,n=i}),this.resolve=i(t),this.reject=i(n)}(e)}},685:function(e,t,n){var i=n(293),o=n(227),r=n(531),a=n(846),s=n(413).f;e.exports=function(e){var t=o.Symbol||(o.Symbol=r?{}:i.Symbol||{});"_"==e.charAt(0)||e in t||s(t,e,{value:a.f(e)})}},686:function(e,t,n){"use strict";(function(t){var i=n(348),o=n(1023),r={"Content-Type":"application/x-www-form-urlencoded"};function a(e,t){!i.isUndefined(e)&&i.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}var s,c={adapter:("undefined"!=typeof XMLHttpRequest?s=n(851):void 0!==t&&(s=n(851)),s),transformRequest:[function(e,t){return o(t,"Content-Type"),i.isFormData(e)||i.isArrayBuffer(e)||i.isBuffer(e)||i.isStream(e)||i.isFile(e)||i.isBlob(e)?e:i.isArrayBufferView(e)?e.buffer:i.isURLSearchParams(e)?(a(t,"application/x-www-form-urlencoded;charset=utf-8"),e.toString()):i.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}};c.headers={common:{Accept:"application/json, text/plain, */*"}},i.forEach(["delete","get","head"],function(e){c.headers[e]={}}),i.forEach(["post","put","patch"],function(e){c.headers[e]=i.merge(r)}),e.exports=c}).call(this,n(394))},687:function(e,t,n){(function(){var e,i,o,r,a,s,c;c=n(621),r=c.isMatch,e=c.computeScore,s=c.scoreSize,t.score=function(t,n,i){var o,s,c;return o=i.preparedQuery,i.allowErrors||r(t,o.core_lw,o.core_up)?(c=t.toLowerCase(),s=e(t,c,o),s=a(t,c,s,i),Math.ceil(s)):0},a=function(t,n,r,a){var c,l,d,u,f,h,p,g,m,b;if(0===r)return 0;for(m=a.preparedQuery,b=a.useExtensionBonus,g=a.pathSeparator,f=t.length-1;t[f]===g;)f--;if(p=f-(d=t.lastIndexOf(g,f)),h=1,b&&(r*=h+=o(n,m.ext,d,f,2)),-1===d)return r;for(u=m.depth;d>-1&&u-- >0;)d=t.lastIndexOf(g,d-1);return l=-1===d?r:h*e(t.slice(d+1,f+1),n.slice(d+1,f+1),m),(c=6.5/(13+i(t,f+1,g)))*l+(1-c)*r*s(0,1.2*p)},t.countDir=i=function(e,t,n){var i,o;if(t<1)return 0;for(i=0,o=-1;++o<t&&e[o]===n;);for(;++o<t;)if(e[o]===n)for(i++;++o<t&&e[o]===n;);return i},t.getExtension=function(e){var t;return(t=e.lastIndexOf("."))<0?"":e.substr(t+1)},o=function(e,t,n,i,r){var a,s,c,l;if(!t.length)return 0;if(!((l=e.lastIndexOf(".",i))>n))return 0;for((a=i-l)<(c=t.length)&&(c=a,a=t.length),l++,s=-1;++s<c&&e[l+s]===t[s];);return 0===s&&r>0?.9*o(e,t,n,l-2,r-1):s/a}}).call(this)},7:function(e,t,n){(function(e,n){var i;!function(){var o="object"==typeof self&&self.self===self&&self||"object"==typeof e&&e.global===e&&e||this||{},r=o._,a=Array.prototype,s=Object.prototype,c="undefined"!=typeof Symbol?Symbol.prototype:null,l=a.push,d=a.slice,u=s.toString,f=s.hasOwnProperty,h=Array.isArray,p=Object.keys,g=Object.create,m=function(){},b=function(e){return e instanceof b?e:this instanceof b?void(this._wrapped=e):new b(e)};void 0===t||t.nodeType?o._=b:(void 0!==n&&!n.nodeType&&n.exports&&(t=n.exports=b),t._=b),b.VERSION="1.9.0";var v,y=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,i,o){return e.call(t,n,i,o)};case 4:return function(n,i,o,r){return e.call(t,n,i,o,r)}}return function(){return e.apply(t,arguments)}},_=function(e,t,n){return b.iteratee!==v?b.iteratee(e,t):null==e?b.identity:b.isFunction(e)?y(e,t,n):b.isObject(e)&&!b.isArray(e)?b.matcher(e):b.property(e)};b.iteratee=v=function(e,t){return _(e,t,1/0)};var w=function(e,t){return t=null==t?e.length-1:+t,function(){for(var n=Math.max(arguments.length-t,0),i=Array(n),o=0;o<n;o++)i[o]=arguments[o+t];switch(t){case 0:return e.call(this,i);case 1:return e.call(this,arguments[0],i);case 2:return e.call(this,arguments[0],arguments[1],i)}var r=Array(t+1);for(o=0;o<t;o++)r[o]=arguments[o];return r[t]=i,e.apply(this,r)}},x=function(e){if(!b.isObject(e))return{};if(g)return g(e);m.prototype=e;var t=new m;return m.prototype=null,t},S=function(e){return function(t){return null==t?void 0:t[e]}},T=function(e,t){for(var n=t.length,i=0;i<n;i++){if(null==e)return;e=e[t[i]]}return n?e:void 0},k=Math.pow(2,53)-1,C=S("length"),j=function(e){var t=C(e);return"number"==typeof t&&t>=0&&t<=k};b.each=b.forEach=function(e,t,n){var i,o;if(t=y(t,n),j(e))for(i=0,o=e.length;i<o;i++)t(e[i],i,e);else{var r=b.keys(e);for(i=0,o=r.length;i<o;i++)t(e[r[i]],r[i],e)}return e},b.map=b.collect=function(e,t,n){t=_(t,n);for(var i=!j(e)&&b.keys(e),o=(i||e).length,r=Array(o),a=0;a<o;a++){var s=i?i[a]:a;r[a]=t(e[s],s,e)}return r};var A=function(e){return function(t,n,i,o){var r=arguments.length>=3;return function(t,n,i,o){var r=!j(t)&&b.keys(t),a=(r||t).length,s=e>0?0:a-1;for(o||(i=t[r?r[s]:s],s+=e);s>=0&&s<a;s+=e){var c=r?r[s]:s;i=n(i,t[c],c,t)}return i}(t,y(n,o,4),i,r)}};b.reduce=b.foldl=b.inject=A(1),b.reduceRight=b.foldr=A(-1),b.find=b.detect=function(e,t,n){var i=(j(e)?b.findIndex:b.findKey)(e,t,n);if(void 0!==i&&-1!==i)return e[i]},b.filter=b.select=function(e,t,n){var i=[];return t=_(t,n),b.each(e,function(e,n,o){t(e,n,o)&&i.push(e)}),i},b.reject=function(e,t,n){return b.filter(e,b.negate(_(t)),n)},b.every=b.all=function(e,t,n){t=_(t,n);for(var i=!j(e)&&b.keys(e),o=(i||e).length,r=0;r<o;r++){var a=i?i[r]:r;if(!t(e[a],a,e))return!1}return!0},b.some=b.any=function(e,t,n){t=_(t,n);for(var i=!j(e)&&b.keys(e),o=(i||e).length,r=0;r<o;r++){var a=i?i[r]:r;if(t(e[a],a,e))return!0}return!1},b.contains=b.includes=b.include=function(e,t,n,i){return j(e)||(e=b.values(e)),("number"!=typeof n||i)&&(n=0),b.indexOf(e,t,n)>=0},b.invoke=w(function(e,t,n){var i,o;return b.isFunction(t)?o=t:b.isArray(t)&&(i=t.slice(0,-1),t=t[t.length-1]),b.map(e,function(e){var r=o;if(!r){if(i&&i.length&&(e=T(e,i)),null==e)return;r=e[t]}return null==r?r:r.apply(e,n)})}),b.pluck=function(e,t){return b.map(e,b.property(t))},b.where=function(e,t){return b.filter(e,b.matcher(t))},b.findWhere=function(e,t){return b.find(e,b.matcher(t))},b.max=function(e,t,n){var i,o,r=-1/0,a=-1/0;if(null==t||"number"==typeof t&&"object"!=typeof e[0]&&null!=e)for(var s=0,c=(e=j(e)?e:b.values(e)).length;s<c;s++)null!=(i=e[s])&&i>r&&(r=i);else t=_(t,n),b.each(e,function(e,n,i){((o=t(e,n,i))>a||o===-1/0&&r===-1/0)&&(r=e,a=o)});return r},b.min=function(e,t,n){var i,o,r=1/0,a=1/0;if(null==t||"number"==typeof t&&"object"!=typeof e[0]&&null!=e)for(var s=0,c=(e=j(e)?e:b.values(e)).length;s<c;s++)null!=(i=e[s])&&i<r&&(r=i);else t=_(t,n),b.each(e,function(e,n,i){((o=t(e,n,i))<a||o===1/0&&r===1/0)&&(r=e,a=o)});return r},b.shuffle=function(e){return b.sample(e,1/0)},b.sample=function(e,t,n){if(null==t||n)return j(e)||(e=b.values(e)),e[b.random(e.length-1)];var i=j(e)?b.clone(e):b.values(e),o=C(i);t=Math.max(Math.min(t,o),0);for(var r=o-1,a=0;a<t;a++){var s=b.random(a,r),c=i[a];i[a]=i[s],i[s]=c}return i.slice(0,t)},b.sortBy=function(e,t,n){var i=0;return t=_(t,n),b.pluck(b.map(e,function(e,n,o){return{value:e,index:i++,criteria:t(e,n,o)}}).sort(function(e,t){var n=e.criteria,i=t.criteria;if(n!==i){if(n>i||void 0===n)return 1;if(n<i||void 0===i)return-1}return e.index-t.index}),"value")};var E=function(e,t){return function(n,i,o){var r=t?[[],[]]:{};return i=_(i,o),b.each(n,function(t,o){var a=i(t,o,n);e(r,t,a)}),r}};b.groupBy=E(function(e,t,n){b.has(e,n)?e[n].push(t):e[n]=[t]}),b.indexBy=E(function(e,t,n){e[n]=t}),b.countBy=E(function(e,t,n){b.has(e,n)?e[n]++:e[n]=1});var I=/[^\ud800-\udfff]|[\ud800-\udbff][\udc00-\udfff]|[\ud800-\udfff]/g;b.toArray=function(e){return e?b.isArray(e)?d.call(e):b.isString(e)?e.match(I):j(e)?b.map(e,b.identity):b.values(e):[]},b.size=function(e){return null==e?0:j(e)?e.length:b.keys(e).length},b.partition=E(function(e,t,n){e[n?0:1].push(t)},!0),b.first=b.head=b.take=function(e,t,n){if(!(null==e||e.length<1))return null==t||n?e[0]:b.initial(e,e.length-t)},b.initial=function(e,t,n){return d.call(e,0,Math.max(0,e.length-(null==t||n?1:t)))},b.last=function(e,t,n){if(!(null==e||e.length<1))return null==t||n?e[e.length-1]:b.rest(e,Math.max(0,e.length-t))},b.rest=b.tail=b.drop=function(e,t,n){return d.call(e,null==t||n?1:t)},b.compact=function(e){return b.filter(e,Boolean)};var M=function(e,t,n,i){for(var o=(i=i||[]).length,r=0,a=C(e);r<a;r++){var s=e[r];if(j(s)&&(b.isArray(s)||b.isArguments(s)))if(t)for(var c=0,l=s.length;c<l;)i[o++]=s[c++];else M(s,t,n,i),o=i.length;else n||(i[o++]=s)}return i};b.flatten=function(e,t){return M(e,t,!1)},b.without=w(function(e,t){return b.difference(e,t)}),b.uniq=b.unique=function(e,t,n,i){b.isBoolean(t)||(i=n,n=t,t=!1),null!=n&&(n=_(n,i));for(var o=[],r=[],a=0,s=C(e);a<s;a++){var c=e[a],l=n?n(c,a,e):c;t&&!n?(a&&r===l||o.push(c),r=l):n?b.contains(r,l)||(r.push(l),o.push(c)):b.contains(o,c)||o.push(c)}return o},b.union=w(function(e){return b.uniq(M(e,!0,!0))}),b.intersection=function(e){for(var t=[],n=arguments.length,i=0,o=C(e);i<o;i++){var r=e[i];if(!b.contains(t,r)){var a;for(a=1;a<n&&b.contains(arguments[a],r);a++);a===n&&t.push(r)}}return t},b.difference=w(function(e,t){return t=M(t,!0,!0),b.filter(e,function(e){return!b.contains(t,e)})}),b.unzip=function(e){for(var t=e&&b.max(e,C).length||0,n=Array(t),i=0;i<t;i++)n[i]=b.pluck(e,i);return n},b.zip=w(b.unzip),b.object=function(e,t){for(var n={},i=0,o=C(e);i<o;i++)t?n[e[i]]=t[i]:n[e[i][0]]=e[i][1];return n};var O=function(e){return function(t,n,i){n=_(n,i);for(var o=C(t),r=e>0?0:o-1;r>=0&&r<o;r+=e)if(n(t[r],r,t))return r;return-1}};b.findIndex=O(1),b.findLastIndex=O(-1),b.sortedIndex=function(e,t,n,i){for(var o=(n=_(n,i,1))(t),r=0,a=C(e);r<a;){var s=Math.floor((r+a)/2);n(e[s])<o?r=s+1:a=s}return r};var D=function(e,t,n){return function(i,o,r){var a=0,s=C(i);if("number"==typeof r)e>0?a=r>=0?r:Math.max(r+s,a):s=r>=0?Math.min(r+1,s):r+s+1;else if(n&&r&&s)return i[r=n(i,o)]===o?r:-1;if(o!=o)return(r=t(d.call(i,a,s),b.isNaN))>=0?r+a:-1;for(r=e>0?a:s-1;r>=0&&r<s;r+=e)if(i[r]===o)return r;return-1}};b.indexOf=D(1,b.findIndex,b.sortedIndex),b.lastIndexOf=D(-1,b.findLastIndex),b.range=function(e,t,n){null==t&&(t=e||0,e=0),n||(n=t<e?-1:1);for(var i=Math.max(Math.ceil((t-e)/n),0),o=Array(i),r=0;r<i;r++,e+=n)o[r]=e;return o},b.chunk=function(e,t){if(null==t||t<1)return[];for(var n=[],i=0,o=e.length;i<o;)n.push(d.call(e,i,i+=t));return n};var V=function(e,t,n,i,o){if(!(i instanceof t))return e.apply(n,o);var r=x(e.prototype),a=e.apply(r,o);return b.isObject(a)?a:r};b.bind=w(function(e,t,n){if(!b.isFunction(e))throw new TypeError("Bind must be called on a function");var i=w(function(o){return V(e,i,t,this,n.concat(o))});return i}),b.partial=w(function(e,t){var n=b.partial.placeholder,i=function(){for(var o=0,r=t.length,a=Array(r),s=0;s<r;s++)a[s]=t[s]===n?arguments[o++]:t[s];for(;o<arguments.length;)a.push(arguments[o++]);return V(e,i,this,this,a)};return i}),b.partial.placeholder=b,b.bindAll=w(function(e,t){var n=(t=M(t,!1,!1)).length;if(n<1)throw new Error("bindAll must be passed function names");for(;n--;){var i=t[n];e[i]=b.bind(e[i],e)}}),b.memoize=function(e,t){var n=function(i){var o=n.cache,r=""+(t?t.apply(this,arguments):i);return b.has(o,r)||(o[r]=e.apply(this,arguments)),o[r]};return n.cache={},n},b.delay=w(function(e,t,n){return setTimeout(function(){return e.apply(null,n)},t)}),b.defer=b.partial(b.delay,b,1),b.throttle=function(e,t,n){var i,o,r,a,s=0;n||(n={});var c=function(){s=!1===n.leading?0:b.now(),i=null,a=e.apply(o,r),i||(o=r=null)},l=function(){var l=b.now();s||!1!==n.leading||(s=l);var d=t-(l-s);return o=this,r=arguments,d<=0||d>t?(i&&(clearTimeout(i),i=null),s=l,a=e.apply(o,r),i||(o=r=null)):i||!1===n.trailing||(i=setTimeout(c,d)),a};return l.cancel=function(){clearTimeout(i),s=0,i=o=r=null},l},b.debounce=function(e,t,n){var i,o,r=function(t,n){i=null,n&&(o=e.apply(t,n))},a=w(function(a){if(i&&clearTimeout(i),n){var s=!i;i=setTimeout(r,t),s&&(o=e.apply(this,a))}else i=b.delay(r,t,this,a);return o});return a.cancel=function(){clearTimeout(i),i=null},a},b.wrap=function(e,t){return b.partial(t,e)},b.negate=function(e){return function(){return!e.apply(this,arguments)}},b.compose=function(){var e=arguments,t=e.length-1;return function(){for(var n=t,i=e[t].apply(this,arguments);n--;)i=e[n].call(this,i);return i}},b.after=function(e,t){return function(){if(--e<1)return t.apply(this,arguments)}},b.before=function(e,t){var n;return function(){return--e>0&&(n=t.apply(this,arguments)),e<=1&&(t=null),n}},b.once=b.partial(b.before,2),b.restArguments=w;var L=!{toString:null}.propertyIsEnumerable("toString"),P=["valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"],N=function(e,t){var n=P.length,i=e.constructor,o=b.isFunction(i)&&i.prototype||s,r="constructor";for(b.has(e,r)&&!b.contains(t,r)&&t.push(r);n--;)(r=P[n])in e&&e[r]!==o[r]&&!b.contains(t,r)&&t.push(r)};b.keys=function(e){if(!b.isObject(e))return[];if(p)return p(e);var t=[];for(var n in e)b.has(e,n)&&t.push(n);return L&&N(e,t),t},b.allKeys=function(e){if(!b.isObject(e))return[];var t=[];for(var n in e)t.push(n);return L&&N(e,t),t},b.values=function(e){for(var t=b.keys(e),n=t.length,i=Array(n),o=0;o<n;o++)i[o]=e[t[o]];return i},b.mapObject=function(e,t,n){t=_(t,n);for(var i=b.keys(e),o=i.length,r={},a=0;a<o;a++){var s=i[a];r[s]=t(e[s],s,e)}return r},b.pairs=function(e){for(var t=b.keys(e),n=t.length,i=Array(n),o=0;o<n;o++)i[o]=[t[o],e[t[o]]];return i},b.invert=function(e){for(var t={},n=b.keys(e),i=0,o=n.length;i<o;i++)t[e[n[i]]]=n[i];return t},b.functions=b.methods=function(e){var t=[];for(var n in e)b.isFunction(e[n])&&t.push(n);return t.sort()};var R=function(e,t){return function(n){var i=arguments.length;if(t&&(n=Object(n)),i<2||null==n)return n;for(var o=1;o<i;o++)for(var r=arguments[o],a=e(r),s=a.length,c=0;c<s;c++){var l=a[c];t&&void 0!==n[l]||(n[l]=r[l])}return n}};b.extend=R(b.allKeys),b.extendOwn=b.assign=R(b.keys),b.findKey=function(e,t,n){t=_(t,n);for(var i,o=b.keys(e),r=0,a=o.length;r<a;r++)if(t(e[i=o[r]],i,e))return i};var F,B,z=function(e,t,n){return t in n};b.pick=w(function(e,t){var n={},i=t[0];if(null==e)return n;b.isFunction(i)?(t.length>1&&(i=y(i,t[1])),t=b.allKeys(e)):(i=z,t=M(t,!1,!1),e=Object(e));for(var o=0,r=t.length;o<r;o++){var a=t[o],s=e[a];i(s,a,e)&&(n[a]=s)}return n}),b.omit=w(function(e,t){var n,i=t[0];return b.isFunction(i)?(i=b.negate(i),t.length>1&&(n=t[1])):(t=b.map(M(t,!1,!1),String),i=function(e,n){return!b.contains(t,n)}),b.pick(e,i,n)}),b.defaults=R(b.allKeys,!0),b.create=function(e,t){var n=x(e);return t&&b.extendOwn(n,t),n},b.clone=function(e){return b.isObject(e)?b.isArray(e)?e.slice():b.extend({},e):e},b.tap=function(e,t){return t(e),e},b.isMatch=function(e,t){var n=b.keys(t),i=n.length;if(null==e)return!i;for(var o=Object(e),r=0;r<i;r++){var a=n[r];if(t[a]!==o[a]||!(a in o))return!1}return!0},F=function(e,t,n,i){if(e===t)return 0!==e||1/e==1/t;if(null==e||null==t)return!1;if(e!=e)return t!=t;var o=typeof e;return("function"===o||"object"===o||"object"==typeof t)&&B(e,t,n,i)},B=function(e,t,n,i){e instanceof b&&(e=e._wrapped),t instanceof b&&(t=t._wrapped);var o=u.call(e);if(o!==u.call(t))return!1;switch(o){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 c.valueOf.call(e)===c.valueOf.call(t)}var r="[object Array]"===o;if(!r){if("object"!=typeof e||"object"!=typeof t)return!1;var a=e.constructor,s=t.constructor;if(a!==s&&!(b.isFunction(a)&&a instanceof a&&b.isFunction(s)&&s instanceof s)&&"constructor"in e&&"constructor"in t)return!1}n=n||[],i=i||[];for(var l=n.length;l--;)if(n[l]===e)return i[l]===t;if(n.push(e),i.push(t),r){if((l=e.length)!==t.length)return!1;for(;l--;)if(!F(e[l],t[l],n,i))return!1}else{var d,f=b.keys(e);if(l=f.length,b.keys(t).length!==l)return!1;for(;l--;)if(d=f[l],!b.has(t,d)||!F(e[d],t[d],n,i))return!1}return n.pop(),i.pop(),!0},b.isEqual=function(e,t){return F(e,t)},b.isEmpty=function(e){return null==e||(j(e)&&(b.isArray(e)||b.isString(e)||b.isArguments(e))?0===e.length:0===b.keys(e).length)},b.isElement=function(e){return!(!e||1!==e.nodeType)},b.isArray=h||function(e){return"[object Array]"===u.call(e)},b.isObject=function(e){var t=typeof e;return"function"===t||"object"===t&&!!e},b.each(["Arguments","Function","String","Number","Date","RegExp","Error","Symbol","Map","WeakMap","Set","WeakSet"],function(e){b["is"+e]=function(t){return u.call(t)==="[object "+e+"]"}}),b.isArguments(arguments)||(b.isArguments=function(e){return b.has(e,"callee")});var H=o.document&&o.document.childNodes;"function"!=typeof/./&&"object"!=typeof Int8Array&&"function"!=typeof H&&(b.isFunction=function(e){return"function"==typeof e||!1}),b.isFinite=function(e){return!b.isSymbol(e)&&isFinite(e)&&!isNaN(parseFloat(e))},b.isNaN=function(e){return b.isNumber(e)&&isNaN(e)},b.isBoolean=function(e){return!0===e||!1===e||"[object Boolean]"===u.call(e)},b.isNull=function(e){return null===e},b.isUndefined=function(e){return void 0===e},b.has=function(e,t){if(!b.isArray(t))return null!=e&&f.call(e,t);for(var n=t.length,i=0;i<n;i++){var o=t[i];if(null==e||!f.call(e,o))return!1;e=e[o]}return!!n},b.noConflict=function(){return o._=r,this},b.identity=function(e){return e},b.constant=function(e){return function(){return e}},b.noop=function(){},b.property=function(e){return b.isArray(e)?function(t){return T(t,e)}:S(e)},b.propertyOf=function(e){return null==e?function(){}:function(t){return b.isArray(t)?T(e,t):e[t]}},b.matcher=b.matches=function(e){return e=b.extendOwn({},e),function(t){return b.isMatch(t,e)}},b.times=function(e,t,n){var i=Array(Math.max(0,e));t=y(t,n,1);for(var o=0;o<e;o++)i[o]=t(o);return i},b.random=function(e,t){return null==t&&(t=e,e=0),e+Math.floor(Math.random()*(t-e+1))},b.now=Date.now||function(){return(new Date).getTime()};var $={"&":"&","<":"<",">":">",'"':""","'":"'","`":"`"},q=b.invert($),W=function(e){var t=function(t){return e[t]},n="(?:"+b.keys(e).join("|")+")",i=RegExp(n),o=RegExp(n,"g");return function(e){return e=null==e?"":""+e,i.test(e)?e.replace(o,t):e}};b.escape=W($),b.unescape=W(q),b.result=function(e,t,n){b.isArray(t)||(t=[t]);var i=t.length;if(!i)return b.isFunction(n)?n.call(e):n;for(var o=0;o<i;o++){var r=null==e?void 0:e[t[o]];void 0===r&&(r=n,o=i),e=b.isFunction(r)?r.call(e):r}return e};var G=0;b.uniqueId=function(e){var t=++G+"";return e?e+t:t},b.templateSettings={evaluate:/<%([\s\S]+?)%>/g,interpolate:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g};var U=/(.)^/,K={"'":"'","\\":"\\","\r":"r","\n":"n","\u2028":"u2028","\u2029":"u2029"},Y=/\\|'|\r|\n|\u2028|\u2029/g,Z=function(e){return"\\"+K[e]};b.template=function(e,t,n){!t&&n&&(t=n),t=b.defaults({},t,b.templateSettings);var i,o=RegExp([(t.escape||U).source,(t.interpolate||U).source,(t.evaluate||U).source].join("|")+"|$","g"),r=0,a="__p+='";e.replace(o,function(t,n,i,o,s){return a+=e.slice(r,s).replace(Y,Z),r=s+t.length,n?a+="'+\n((__t=("+n+"))==null?'':_.escape(__t))+\n'":i?a+="'+\n((__t=("+i+"))==null?'':__t)+\n'":o&&(a+="';\n"+o+"\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{i=new Function(t.variable||"obj","_",a)}catch(e){throw e.source=a,e}var s=function(e){return i.call(this,e,b)},c=t.variable||"obj";return s.source="function("+c+"){\n"+a+"}",s},b.chain=function(e){var t=b(e);return t._chain=!0,t};var X=function(e,t){return e._chain?b(t).chain():t};b.mixin=function(e){return b.each(b.functions(e),function(t){var n=b[t]=e[t];b.prototype[t]=function(){var e=[this._wrapped];return l.apply(e,arguments),X(this,n.apply(b,e))}}),b},b.mixin(b),b.each(["pop","push","reverse","shift","sort","splice","unshift"],function(e){var t=a[e];b.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)}}),b.each(["concat","join","slice"],function(e){var t=a[e];b.prototype[e]=function(){return X(this,t.apply(this._wrapped,arguments))}}),b.prototype.value=function(){return this._wrapped},b.prototype.valueOf=b.prototype.toJSON=b.prototype.value,b.prototype.toString=function(){return String(this._wrapped)},void 0===(i=function(){return b}.apply(t,[]))||(n.exports=i)}()}).call(this,n(166),n(491)(e))},76:function(e,t,n){"use strict";n.d(t,"a",function(){return f});var i=n(7),o=n.n(i),r=n(180),a=n(13),s=n(8),c=n(147),l=n(599),d=n(111);function u(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}var 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,i,f;return t=e,f=[{key:"getLastVisualTokenBeforeInput",value:function(){var e=c.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){if(!t)return e;var n=Object(a.A)(JSON.parse(t));return"".concat(e,"?").concat(n)}},{key:"unselectTokens",value:function(){var e=c.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],i=t.classList.contains("selected");e.unselectTokens(),i&&!n||t.classList.add("selected")}},{key:"removeSelectedToken",value:function(){var e=c.a.container.querySelector(".js-visual-token .selected");if(e){var t=e.closest(".js-visual-token");t.parentElement.removeChild(t)}}},{key:"createVisualTokenElementHTML",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.canEdit,n=void 0===t||t,i=e.uppercaseTokenName,o=void 0!==i&&i,r=e.capitalizeTokenValue,a=void 0!==r&&r;return'\n <div class="'.concat(n?"selectable":"hidden",'" role="button">\n <div class="').concat(o?"text-uppercase":"",' name"></div>\n <div class="value-container">\n <div class="').concat(a?"text-capitalize":"",' 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 i=e;(i.style.backgroundColor=t,i.style.color=n,"#FFFFFF"===n)&&i.querySelector(".remove-token").classList.add("inverted");return i}},{key:"updateLabelTokenColor",value:function(t,n){var i=c.a.container.querySelector(".filtered-search"),o=i.dataset.baseEndpoint,a=e.getEndpointWithQueryParams("".concat(o,"/labels.json"),i.dataset.endpointQueryParams);return r.a.retrieve(a).then(function(i){var o=(i||[]).find(function(e){return"~".concat(d.a.getEscapedText(e.title))===n});o&&e.setTokenStyle(t,o.color,o.text_color)}).catch(function(){return new s.a("An error occurred while fetching label colors.")})}},{key:"updateUserTokenAppearance",value:function(e,t,n){var i=n.replace(/^@/,"");return l.a.retrieve(i).then(function(i){i&&(e.dataset.originalValue=n,t.innerHTML='\n <img class="avatar s20" src="'.concat(i.avatar_url,'" alt="">\n ').concat(o.a.escape(i.name),"\n "))}).catch(function(){})}},{key:"updateEmojiTokenAppearance",value:function(e,t,i){var o=e,r=t;return Promise.resolve().then(n.bind(null,236)).then(function(e){e.isEmojiNameValid(i)&&(o.dataset.originalValue=i,r.innerHTML=e.glEmojiTag(i))}).catch(function(){})}},{key:"renderVisualTokenValue",value:function(t,n,i){var o=t.querySelector(".value-container"),r=o.querySelector(".value");if(r.innerText=i,"none"!==i&&"any"!==i){var a=n.toLowerCase();"label"===a?e.updateLabelTokenColor(o,i):"author"===a||"assignee"===a?e.updateUserTokenAppearance(o,r,i):"my-reaction"===a&&e.updateEmojiTokenAppearance(o,r,i)}}},{key:"addVisualTokenElement",value:function(t,n){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=i.isSearchTerm,r=void 0!==o&&o,a=i.canEdit,s=i.uppercaseTokenName,l=i.capitalizeTokenValue,d=document.createElement("li");d.classList.add("js-visual-token"),d.classList.add(r?"filtered-search-term":"filtered-search-token"),n?(d.innerHTML=e.createVisualTokenElementHTML({canEdit:a,uppercaseTokenName:s,capitalizeTokenValue:l}),e.renderVisualTokenValue(d,t,n)):d.innerHTML='<div class="'.concat(s?"text-uppercase":"",' name"></div>'),d.querySelector(".name").innerText=t;var u=c.a.container.querySelector(".tokens-container"),f=c.a.container.querySelector(".filtered-search");u.insertBefore(d,f.parentElement)}},{key:"addValueToPreviousVisualTokenElement",value:function(t){var n=e.getLastVisualTokenBeforeInput(),i=n.lastVisualToken;if(!n.isLastVisualTokenValid&&i.classList.contains("filtered-search-token")){var o=e.getLastTokenPartial();i.innerHTML=e.createVisualTokenElementHTML(),i.querySelector(".name").innerText=o,e.renderVisualTokenValue(i,o,t)}}},{key:"addFilterVisualToken",value:function(t,n){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=i.canEdit,r=i.uppercaseTokenName,a=void 0!==r&&r,s=i.capitalizeTokenValue,l=void 0!==s&&s,d=e.getLastVisualTokenBeforeInput(),u=d.lastVisualToken,f=d.isLastVisualTokenValid,h=e.addVisualTokenElement;if(f)h(t,n,{canEdit:o,uppercaseTokenName:a,capitalizeTokenValue:l});else{var p=u.querySelector(".name").innerText;c.a.container.querySelector(".tokens-container").removeChild(u),h(p,n||t,{canEdit:o,uppercaseTokenName:a,capitalizeTokenValue:l})}}},{key:"addSearchVisualToken",value:function(t){var n=e.getLastVisualTokenBeforeInput().lastVisualToken;n&&n.classList.contains("filtered-search-term")?n.querySelector(".name").innerText+=" ".concat(t):e.addVisualTokenElement(t,null,{isSearchTerm:!0})}},{key:"getLastTokenPartial",value:function(){var t=e.getLastVisualTokenBeforeInput().lastVisualToken;if(!t)return"";var n=t.querySelector(".value-container"),i=n&&n.dataset.originalValue;if(i)return i;var o=t.querySelector(".value"),r=t.querySelector(".name"),a=o?o.innerText:"",s=r?r.innerText:"";return a||s}},{key:"removeLastTokenPartial",value:function(){var t=e.getLastVisualTokenBeforeInput().lastVisualToken;if(t)if(t.querySelector(".value")){var n=t.querySelector(".selectable"),i=t.querySelector(".value-container");n.removeChild(i),t.innerHTML=n.innerHTML}else t.closest(".tokens-container").removeChild(t)}},{key:"tokenizeInput",value:function(){var t=c.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=c.a.container.querySelector(".filtered-search");e.tokenizeInput();var i=t.parentElement,o=n.parentElement;i.replaceChild(o,t);var r,a=t.querySelector(".name");if(t.classList.contains("filtered-search-token")){e.addFilterVisualToken(a.innerText,null,{uppercaseTokenName:a.classList.contains("text-uppercase")});var s=t.querySelector(".value-container");if(!(r=s.dataset.originalValue))r=s.querySelector(".value").innerText}r||(r=a.innerText),n.value=r;var l=new Event("input");n.dispatchEvent(l),n.focus()}},{key:"moveInputToTheRight",value:function(){var t=c.a.container.querySelector(".filtered-search");if(t){var n=t.parentElement,i=c.a.container.querySelector(".tokens-container");if(e.tokenizeInput(),!i.lastElementChild.isEqualNode(n)){if(!e.getLastVisualTokenBeforeInput().isLastVisualTokenValid){var o=e.getLastTokenPartial();e.removeLastTokenPartial(),e.addSearchVisualToken(o)}i.removeChild(n),i.appendChild(n)}}}}],(i=null)&&u(t.prototype,i),f&&u(t,f),e}()},8:function(e,t,n){"use strict";n.d(t,"a",function(){return s}),n.d(t,"b",function(){return r}),n.d(t,"c",function(){return a});var i=n(7),o=n.n(i),r=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(),window.dispatchEvent(new Event("resize")),document.body.classList.contains("flash-shown")&&document.body.classList.remove("flash-shown")},{once:!0,passive:!0}),t||e.dispatchEvent(new Event("transitionend"))},a=function(e,t){e.addEventListener("click",function(){return r(e,t)})},s=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,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,r=!(arguments.length>4&&void 0!==arguments[4])||arguments[4],s=arguments.length>5&&void 0!==arguments[5]&&arguments[5],c=n.querySelector(".flash-container"),l=n.querySelector(".content");if(!c)return null;var d=!l||l.parentNode.classList.contains("container-limited");c.innerHTML=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return'\n <div\n class="flash-'.concat(t,'"\n >\n <div\n class="flash-text ').concat(n?"container-fluid container-limited limit-container-width":"",'"\n >\n ').concat(o.a.escape(e),"\n </div>\n </div>\n")}(e,t,d);var u,f=c.querySelector(".flash-".concat(t));return a(f,r),i&&(f.innerHTML+='\n <a\n href="'.concat((u=i).href||"#",'"\n class="flash-action"\n ').concat(u.href?"":'role="button"',"\n >\n ").concat(o.a.escape(u.title),"\n </a>\n"),i.clickHandler&&f.querySelector(".flash-action").addEventListener("click",function(e){return i.clickHandler(e)})),c.style.display="block",s&&document.body.classList.add("flash-shown"),c};window.Flash=s},828:function(e,t,n){e.exports=!n(430)&&!n(467)(function(){return 7!=Object.defineProperty(n(670)("div"),"a",{get:function(){return 7}}).a})},829:function(e,t,n){var i=n(492);e.exports=Array.isArray||function(e){return"Array"==i(e)}},83:function(e,t,n){"use strict";var i=n(0),o=n.n(i);var r={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}};r.init(),o.a.rails&&(o.a.rails.csrfToken=function(){return r.token}),t.a=r},830:function(e,t,n){var i=n(673),o=n(613);e.exports=function(e){return function(t,n){var r,a,s=String(o(t)),c=i(n),l=s.length;return c<0||c>=l?e?"":void 0:(r=s.charCodeAt(c))<55296||r>56319||c+1===l||(a=s.charCodeAt(c+1))<56320||a>57343?e?s.charAt(c):r:e?s.slice(c,c+2):a-56320+(r-55296<<10)+65536}}},831:function(e,t,n){var i=n(432),o=n(468),r=n(832)(!1),a=n(679)("IE_PROTO");e.exports=function(e,t){var n,s=o(e),c=0,l=[];for(n in s)n!=a&&i(s,n)&&l.push(n);for(;t.length>c;)i(s,n=t[c++])&&(~r(l,n)||l.push(n));return l}},832:function(e,t,n){var i=n(468),o=n(529),r=n(672);e.exports=function(e){return function(t,n,a){var s,c=i(t),l=o(c.length),d=r(a,l);if(e&&n!=n){for(;l>d;)if((s=c[d++])!=s)return!0}else for(;l>d;d++)if((e||d in c)&&c[d]===n)return e||d||0;return!e&&-1}}},833:function(e,t,n){var i=n(293).document;e.exports=i&&i.documentElement},834:function(e,t,n){var i=n(395);e.exports=function(e,t,n,o){try{return o?t(i(n)[0],n[1]):t(n)}catch(t){var r=e.return;throw void 0!==r&&i(r.call(e)),t}}},835:function(e,t,n){var i=n(532),o=n(264)("iterator"),r=Array.prototype;e.exports=function(e){return void 0!==e&&(i.Array===e||r[o]===e)}},836:function(e,t,n){var i=n(681),o=n(264)("iterator"),r=n(532);e.exports=n(227).getIteratorMethod=function(e){if(void 0!=e)return e[o]||e["@@iterator"]||r[i(e)]}},837:function(e,t,n){"use strict";var i=n(493),o=n(683),r=n(534),a=n(528),s=n(675),c=Object.assign;e.exports=!c||n(467)(function(){var e={},t={},n=Symbol(),i="abcdefghijklmnopqrst";return e[n]=7,i.split("").forEach(function(e){t[e]=e}),7!=c({},e)[n]||Object.keys(c({},t)).join("")!=i})?function(e,t){for(var n=a(e),c=arguments.length,l=1,d=o.f,u=r.f;c>l;)for(var f,h=s(arguments[l++]),p=d?i(h).concat(d(h)):i(h),g=p.length,m=0;g>m;)u.call(h,f=p[m++])&&(n[f]=h[f]);return n}:c},838:function(e,t,n){for(var i=n(839),o=n(493),r=n(431),a=n(293),s=n(466),c=n(532),l=n(264),d=l("iterator"),u=l("toStringTag"),f=c.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=o(h),g=0;g<p.length;g++){var m,b=p[g],v=h[b],y=a[b],_=y&&y.prototype;if(_&&(_[d]||s(_,d,f),_[u]||s(_,u,b),c[b]=f,v))for(m in i)_[m]||r(_,m,i[m],!0)}},839:function(e,t,n){"use strict";var i=n(530),o=n(840),r=n(532),a=n(468);e.exports=n(677)(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,o(1)):o(0,"keys"==t?n:"values"==t?e[n]:[n,e[n]])},"values"),r.Arguments=r.Array,i("keys"),i("values"),i("entries")},840:function(e,t){e.exports=function(e,t){return{value:t,done:!!e}}},841:function(e,t,n){var i=n(395),o=n(612),r=n(264)("species");e.exports=function(e,t){var n,a=i(e).constructor;return void 0===a||void 0==(n=i(a)[r])?t:o(n)}},842:function(e,t,n){var i,o,r,a=n(433),s=n(978),c=n(833),l=n(670),d=n(293),u=d.process,f=d.setImmediate,h=d.clearImmediate,p=d.MessageChannel,g=d.Dispatch,m=0,b={},v=function(){var e=+this;if(b.hasOwnProperty(e)){var t=b[e];delete b[e],t()}},y=function(e){v.call(e.data)};f&&h||(f=function(e){for(var t=[],n=1;arguments.length>n;)t.push(arguments[n++]);return b[++m]=function(){s("function"==typeof e?e:Function(e),t)},i(m),m},h=function(e){delete b[e]},"process"==n(492)(u)?i=function(e){u.nextTick(a(v,e,1))}:g&&g.now?i=function(e){g.now(a(v,e,1))}:p?(r=(o=new p).port2,o.port1.onmessage=y,i=a(r.postMessage,r,1)):d.addEventListener&&"function"==typeof postMessage&&!d.importScripts?(i=function(e){d.postMessage(e+"","*")},d.addEventListener("message",y,!1)):i="onreadystatechange"in l("script")?function(e){c.appendChild(l("script")).onreadystatechange=function(){c.removeChild(this),v.call(e)}}:function(e){setTimeout(a(v,e,1),0)}),e.exports={set:f,clear:h}},843:function(e,t){e.exports=function(e){try{return{e:!1,v:e()}}catch(e){return{e:!0,v:e}}}},844:function(e,t,n){var i=n(395),o=n(304),r=n(684);e.exports=function(e,t){if(i(e),o(t)&&t.constructor===e)return t;var n=r.f(e);return(0,n.resolve)(t),n.promise}},845:function(e,t,n){"use strict";var i=n(293),o=n(413),r=n(430),a=n(264)("species");e.exports=function(e){var t=i[e];r&&t&&!t[a]&&o.f(t,a,{configurable:!0,get:function(){return this}})}},846:function(e,t,n){t.f=n(264)},847:function(e,t,n){var i=n(831),o=n(680).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return i(e,o)}},848:function(e,t,n){var i=n(534),o=n(526),r=n(468),a=n(671),s=n(432),c=n(828),l=Object.getOwnPropertyDescriptor;t.f=n(430)?l:function(e,t){if(e=r(e),t=a(t,!0),c)try{return l(e,t)}catch(e){}if(s(e,t))return o(!i.f.call(e,t),e[t])}},849:function(e,t,n){"use strict";var i=n(293),o=n(292),r=n(431),a=n(618),s=n(535),c=n(617),l=n(616),d=n(304),u=n(467),f=n(682),h=n(533),p=n(1001);e.exports=function(e,t,n,g,m,b){var v=i[e],y=v,_=m?"set":"add",w=y&&y.prototype,x={},S=function(e){var t=w[e];r(w,e,"delete"==e?function(e){return!(b&&!d(e))&&t.call(this,0===e?0:e)}:"has"==e?function(e){return!(b&&!d(e))&&t.call(this,0===e?0:e)}:"get"==e?function(e){return b&&!d(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 y&&(b||w.forEach&&!u(function(){(new y).entries().next()}))){var T=new y,k=T[_](b?{}:-0,1)!=T,C=u(function(){T.has(1)}),j=f(function(e){new y(e)}),A=!b&&u(function(){for(var e=new y,t=5;t--;)e[_](t,t);return!e.has(-0)});j||((y=t(function(t,n){l(t,y,e);var i=p(new v,t,y);return void 0!=n&&c(n,m,i[_],i),i})).prototype=w,w.constructor=y),(C||A)&&(S("delete"),S("has"),m&&S("get")),(A||k)&&S(_),b&&w.clear&&delete w.clear}else y=g.getConstructor(t,e,m,_),a(y.prototype,n),s.NEED=!0;return h(y,e),x[e]=y,o(o.G+o.W+o.F*(y!=v),x),b||g.setStrong(y,e,m),y}},850:function(e,t,n){"use strict";e.exports=function(e,t){return function(){for(var n=new Array(arguments.length),i=0;i<n.length;i++)n[i]=arguments[i];return e.apply(t,n)}}},851:function(e,t,n){"use strict";var i=n(348),o=n(1024),r=n(1026),a=n(1027),s=n(1028),c=n(852),l="undefined"!=typeof window&&window.btoa&&window.btoa.bind(window)||n(1029);e.exports=function(e){return new Promise(function(t,d){var u=e.data,f=e.headers;i.isFormData(u)&&delete f["Content-Type"];var h=new XMLHttpRequest,p="onreadystatechange",g=!1;if("undefined"==typeof window||!window.XDomainRequest||"withCredentials"in h||s(e.url)||(h=new window.XDomainRequest,p="onload",g=!0,h.onprogress=function(){},h.ontimeout=function(){}),e.auth){var m=e.auth.username||"",b=e.auth.password||"";f.Authorization="Basic "+l(m+":"+b)}if(h.open(e.method.toUpperCase(),r(e.url,e.params,e.paramsSerializer),!0),h.timeout=e.timeout,h[p]=function(){if(h&&(4===h.readyState||g)&&(0!==h.status||h.responseURL&&0===h.responseURL.indexOf("file:"))){var n="getAllResponseHeaders"in h?a(h.getAllResponseHeaders()):null,i={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};o(t,d,i),h=null}},h.onerror=function(){d(c("Network Error",e,null,h)),h=null},h.ontimeout=function(){d(c("timeout of "+e.timeout+"ms exceeded",e,"ECONNABORTED",h)),h=null},i.isStandardBrowserEnv()){var v=n(1030),y=(e.withCredentials||s(e.url))&&e.xsrfCookieName?v.read(e.xsrfCookieName):void 0;y&&(f[e.xsrfHeaderName]=y)}if("setRequestHeader"in h&&i.forEach(f,function(e,t){void 0===u&&"content-type"===t.toLowerCase()?delete f[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(),d(e),h=null)}),void 0===u&&(u=null),h.send(u)})}},852:function(e,t,n){"use strict";var i=n(1025);e.exports=function(e,t,n,o,r){var a=new Error(e);return i(a,t,n,o,r)}},853:function(e,t,n){"use strict";e.exports=function(e){return!(!e||!e.__CANCEL__)}},854:function(e,t,n){"use strict";function i(e){this.message=e}i.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},i.prototype.__CANCEL__=!0,e.exports=i},855:function(e,t,n){(function(){var t,i,o,r,a,s,c;c=n(687),i=c.countDir,r=c.getExtension,e.exports=function(){return function(e,n){var a,c,l;if(a=(l=null!=n?n:{}).optCharRegEx,c=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=i(e,e.length,c),this.ext=r(this.query_lw),this.charCodes=o(this.query_lw)}}(),a=/[ _\-:\/\\]/g,t=function(e,t){return null==t&&(t=a),e.replace(t,"")},s=function(e){var t,n,i;for(t="",n=0,i=e.length;n<i;n++)t+=e[n].toUpperCase()[0];return t},o=function(e){var t,n,i;for(i=e.length,n=-1,t=[];++n<i;)t[e.charCodeAt(n)]=!0;return t}}).call(this)},865:function(e,t,n){var i,o;o=this,void 0===(i=function(){return o.svg4everybody=function(){
|
||
/*! svg4everybody v2.1.9 | github.com/jonathantneal/svg4everybody */
|
||
function e(e,t,n){if(n){var i=document.createDocumentFragment(),o=!t.hasAttribute("viewBox")&&n.getAttribute("viewBox");o&&t.setAttribute("viewBox",o);for(var r=n.cloneNode(!0);r.childNodes.length;)i.appendChild(r.firstChild);e.appendChild(i)}}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(i){var o=t._cachedTarget[i.id];o||(o=t._cachedTarget[i.id]=n.getElementById(i.id)),e(i.parent,i.svg,o)})}},t.onreadystatechange()}function n(e){for(var t=e;"svg"!==t.nodeName.toLowerCase()&&(t=t.parentNode););return t}return function(i){var o,r=Object(i),a=window.top!==window.self;o="polyfill"in r?r.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={},c=window.requestAnimationFrame||setTimeout,l=document.getElementsByTagName("use"),d=0;o&&function i(){for(var a=0;a<l.length;){var u=l[a],f=u.parentNode,h=n(f),p=u.getAttribute("xlink:href")||u.getAttribute("href");if(!p&&r.attributeName&&(p=u.getAttribute(r.attributeName)),h&&p){if(o)if(!r.validate||r.validate(p,h,u)){f.removeChild(u);var g=p.split("#"),m=g.shift(),b=g.join("#");if(m.length){var v=s[m];v||((v=s[m]=new XMLHttpRequest).open("GET",m),v.send(),v._embeds=[]),v._embeds.push({parent:f,svg:h,id:b}),t(v)}else e(f,h,document.getElementById(b))}else++a,++d}else++a}(!l.length||l.length-d>0)&&c(i,67)}()}}()}.apply(t,[]))||(e.exports=i)},866:function(e,t,n){
|
||
/**
|
||
* @preserve jed.js https://github.com/SlexAxton/Jed
|
||
*/
|
||
!function(n,i){var o=Array.prototype,r=Object.prototype,a=o.slice,s=r.hasOwnProperty,c=o.forEach,l={},d={forEach:function(e,t,n){var i,o,r;if(null!==e)if(c&&e.forEach===c)e.forEach(t,n);else if(e.length===+e.length){for(i=0,o=e.length;i<o;i++)if(i in e&&t.call(n,e[i],i,e)===l)return}else for(r in e)if(s.call(e,r)&&t.call(n,e[r],r,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}},u=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=d.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 f(e){return u.PF.compile(e||"nplurals=2; plural=(n != 1);")}function h(e,t){this._key=e,this._i18n=t}u.context_delimiter=String.fromCharCode(4),d.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?u.sprintf:function(e){return e})(this._i18n.dcnpgettext(this._domain,this._context,this._key,this._pkey,this._val),e)}}),d.extend(u.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,i){return this.dcnpgettext.call(this,e,void 0,t,n,i)},dcngettext:function(e,t,n,i){return this.dcnpgettext.call(this,e,void 0,t,n,i)},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,i){return this.dcnpgettext.call(this,void 0,e,t,n,i)},dnpgettext:function(e,t,n,i,o){return this.dcnpgettext.call(this,e,t,n,i,o)},dcnpgettext:function(e,t,n,i,o){var r;if(i=i||n,e=e||this._textdomain,!this.options)return(r=new u).dcnpgettext.call(r,void 0,void 0,n,i,o);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,c,l=t?t+u.context_delimiter+n:n,d=this.options.locale_data,h=d[e],p=(d.messages||this.defaults.locale_data.messages)[""],g=h[""].plural_forms||h[""]["Plural-Forms"]||h[""]["plural-forms"]||p.plural_forms||p["Plural-Forms"]||p["plural-forms"];if(void 0===o)c=0;else{if("number"!=typeof o&&(o=parseInt(o,10),isNaN(o)))throw new Error("The number that was passed in is not a number.");c=f(g)(o)}if(!h)throw new Error("No domain named `"+e+"` could be found.");return!(a=h[l])||c>a.length?(this.options.missing_key_callback&&this.options.missing_key_callback(l,e),s=[n,i],!0===this.options.debug&&console.log(s[f(g)(o)]),s[f()(o)]):(s=a[c])||(s=[n,i])[f()(o)]}});var p,g,m=function(){function e(e){return Object.prototype.toString.call(e).slice(8,-1).toLowerCase()}function t(e,t){for(var n=[];t>0;n[--t]=e);return n.join("")}var n=function(){return n.cache.hasOwnProperty(arguments[0])||(n.cache[arguments[0]]=n.parse(arguments[0])),n.format.call(null,n.cache[arguments[0]],arguments)};return n.format=function(n,i){var o,r,a,s,c,l,d,u=1,f=n.length,h="",p=[];for(r=0;r<f;r++)if("string"===(h=e(n[r])))p.push(n[r]);else if("array"===h){if((s=n[r])[2])for(o=i[u],a=0;a<s[2].length;a++){if(!o.hasOwnProperty(s[2][a]))throw m('[sprintf] property "%s" does not exist',s[2][a]);o=o[s[2][a]]}else o=s[1]?i[s[1]]:i[u++];if(/[^s]/.test(s[8])&&"number"!=e(o))throw m("[sprintf] expecting number but found %s",e(o));switch(void 0!==o&&null!==o||(o=""),s[8]){case"b":o=o.toString(2);break;case"c":o=String.fromCharCode(o);break;case"d":o=parseInt(o,10);break;case"e":o=s[7]?o.toExponential(s[7]):o.toExponential();break;case"f":o=s[7]?parseFloat(o).toFixed(s[7]):parseFloat(o);break;case"o":o=o.toString(8);break;case"s":o=(o=String(o))&&s[7]?o.substring(0,s[7]):o;break;case"u":o=Math.abs(o);break;case"x":o=o.toString(16);break;case"X":o=o.toString(16).toUpperCase()}o=/[def]/.test(s[8])&&s[3]&&o>=0?"+"+o:o,l=s[4]?"0"==s[4]?"0":s[4].charAt(1):" ",d=s[6]-String(o).length,c=s[6]?t(l,d):"",p.push(s[5]?o+c:c+o)}return p.join("")},n.cache={},n.parse=function(e){for(var t=e,n=[],i=[],o=0;t;){if(null!==(n=/^[^\x25]+/.exec(t)))i.push(n[0]);else if(null!==(n=/^\x25{2}/.exec(t)))i.push("%");else{if(null===(n=/^\x25(?:([1-9]\d*)\$|\(([^\)]+)\))?(\+)?(0|'[^$])?(-)?(\d+)?(?:\.(\d+))?([b-fosuxX])/.exec(t)))throw"[sprintf] huh?";if(n[2]){o|=1;var r=[],a=n[2],s=[];if(null===(s=/^([a-z_][a-z_\d]*)/i.exec(a)))throw"[sprintf] huh?";for(r.push(s[1]);""!==(a=a.substring(s[0].length));)if(null!==(s=/^\.([a-z_][a-z_\d]*)/i.exec(a)))r.push(s[1]);else{if(null===(s=/^\[(\d+)\]/.exec(a)))throw"[sprintf] huh?";r.push(s[1])}n[2]=r}else o|=2;if(3===o)throw"[sprintf] mixing positional and named placeholders is not (yet) supported";i.push(n)}t=t.substring(n[0].length)}return i},n}();u.parse_plural=function(e,t){return e=e.replace(/n/g,t),u.parse_expression(e)},u.sprintf=function(e,t){return"[object Array]"=={}.toString.call(t)?function(e,t){return t.unshift(e),m.apply(null,t)}(e,[].slice.call(t)):m.apply(this,[].slice.call(arguments))},u.prototype.sprintf=function(){return u.sprintf.apply(this,arguments)},u.PF={},u.PF.parse=function(e){var t=u.PF.extractPluralExpr(e);return u.PF.parser.parse.call(u.PF.parser,t)},u.PF.compile=function(e){var t=u.PF.parse(e);return function(e){return!0===(n=u.PF.interpreter(t)(e))?1:n||0;var n}},u.PF.interpreter=function(e){return function(t){switch(e.type){case"GROUP":return u.PF.interpreter(e.expr)(t);case"TERNARY":return u.PF.interpreter(e.expr)(t)?u.PF.interpreter(e.truthy)(t):u.PF.interpreter(e.falsey)(t);case"OR":return u.PF.interpreter(e.left)(t)||u.PF.interpreter(e.right)(t);case"AND":return u.PF.interpreter(e.left)(t)&&u.PF.interpreter(e.right)(t);case"LT":return u.PF.interpreter(e.left)(t)<u.PF.interpreter(e.right)(t);case"GT":return u.PF.interpreter(e.left)(t)>u.PF.interpreter(e.right)(t);case"LTE":return u.PF.interpreter(e.left)(t)<=u.PF.interpreter(e.right)(t);case"GTE":return u.PF.interpreter(e.left)(t)>=u.PF.interpreter(e.right)(t);case"EQ":return u.PF.interpreter(e.left)(t)==u.PF.interpreter(e.right)(t);case"NEQ":return u.PF.interpreter(e.left)(t)!=u.PF.interpreter(e.right)(t);case"MOD":return u.PF.interpreter(e.left)(t)%u.PF.interpreter(e.right)(t);case"VAR":return t;case"NUM":return e.val;default:throw new Error("Invalid Token found.")}}},u.PF.extractPluralExpr=function(e){e=e.replace(/^\s\s*/,"").replace(/\s\s*$/,""),/;\s*$/.test(e)||(e=e.concat(";"));var t,n=/nplurals\=(\d+);/,i=e.match(n);if(!(i.length>1))throw new Error("nplurals not found in plural_forms string: "+e);if(i[1],!((t=(e=e.replace(n,"")).match(/plural\=(.*);/))&&t.length>1))throw new Error("`plural` expression not found: "+e);return t[1]},u.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,i,o,r,a){var s=r.length-1;switch(o){case 1:return{type:"GROUP",expr:r[s-1]};case 2:this.$={type:"TERNARY",expr:r[s-4],truthy:r[s-2],falsey:r[s]};break;case 3:this.$={type:"OR",left:r[s-2],right:r[s]};break;case 4:this.$={type:"AND",left:r[s-2],right:r[s]};break;case 5:this.$={type:"LT",left:r[s-2],right:r[s]};break;case 6:this.$={type:"LTE",left:r[s-2],right:r[s]};break;case 7:this.$={type:"GT",left:r[s-2],right:r[s]};break;case 8:this.$={type:"GTE",left:r[s-2],right:r[s]};break;case 9:this.$={type:"NEQ",left:r[s-2],right:r[s]};break;case 10:this.$={type:"EQ",left:r[s-2],right:r[s]};break;case 11:this.$={type:"MOD",left:r[s-2],right:r[s]};break;case 12:this.$={type:"GROUP",expr:r[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],i=[null],o=[],r=this.table,a="",s=0,c=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 d=this.lexer.yylloc;function u(){var e;return"number"!=typeof(e=t.lexer.lex()||1)&&(e=t.symbols_[e]||e),e}o.push(d),"function"==typeof this.yy.parseError&&(this.parseError=this.yy.parseError);for(var f,h,p,g,m,b,v,y,_,w,x={};;){if(p=n[n.length-1],this.defaultActions[p]?g=this.defaultActions[p]:(null==f&&(f=u()),g=r[p]&&r[p][f]),void 0===g||!g.length||!g[0]){if(!l){for(b in _=[],r[p])this.terminals_[b]&&b>2&&_.push("'"+this.terminals_[b]+"'");var S="";S=this.lexer.showPosition?"Parse error on line "+(s+1)+":\n"+this.lexer.showPosition()+"\nExpecting "+_.join(", ")+", got '"+this.terminals_[f]+"'":"Parse error on line "+(s+1)+": Unexpected "+(1==f?"end of input":"'"+(this.terminals_[f]||f)+"'"),this.parseError(S,{text:this.lexer.match,token:this.terminals_[f]||f,line:this.lexer.yylineno,loc:d,expected:_})}if(3==l){if(1==f)throw new Error(S||"Parsing halted.");c=this.lexer.yyleng,a=this.lexer.yytext,s=this.lexer.yylineno,d=this.lexer.yylloc,f=u()}for(;!(2..toString()in r[p]);){if(0==p)throw new Error(S||"Parsing halted.");w=1,n.length=n.length-2*w,i.length=i.length-w,o.length=o.length-w,p=n[n.length-1]}h=f,f=2,g=r[p=n[n.length-1]]&&r[p][2],l=3}if(g[0]instanceof Array&&g.length>1)throw new Error("Parse Error: multiple actions possible at state: "+p+", token: "+f);switch(g[0]){case 1:n.push(f),i.push(this.lexer.yytext),o.push(this.lexer.yylloc),n.push(g[1]),f=null,h?(f=h,h=null):(c=this.lexer.yyleng,a=this.lexer.yytext,s=this.lexer.yylineno,d=this.lexer.yylloc,l>0&&l--);break;case 2:if(v=this.productions_[g[1]][1],x.$=i[i.length-v],x._$={first_line:o[o.length-(v||1)].first_line,last_line:o[o.length-1].last_line,first_column:o[o.length-(v||1)].first_column,last_column:o[o.length-1].last_column},void 0!==(m=this.performAction.call(x,a,c,s,this.yy,g[1],i,o)))return m;v&&(n=n.slice(0,-1*v*2),i=i.slice(0,-1*v),o=o.slice(0,-1*v)),n.push(this.productions_[g[1]][0]),i.push(x.$),o.push(x._$),y=r[n[n.length-2]][n[n.length-1]],n.push(y);break;case 3:return!0}}return!0}},g=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(),i=0;i<n.length;i++)if(e=this._input.match(this.rules[n[i]]))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[i],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,i){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=g,p),void 0!==e&&e.exports&&(t=e.exports=u),t.Jed=u}()},867:function(e,t,n){var i,o,r;o=[e,n(1038),n(1040),n(1041)],void 0===(r="function"==typeof(i=function(e,t,n,i){"use strict";var o=s(t),r=s(n),a=s(i);function s(e){return e&&e.__esModule?e:{default:e}}var c="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 i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),d=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 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));return i.resolveOptions(n),i.listenClick(e),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,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"===c(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 o.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 u("action",e)}},{key:"defaultTarget",value:function(e){var t=u("target",e);if(t)return document.querySelector(t)}},{key:"defaultText",value:function(e){return u("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}(r.default);function u(e,t){var n="data-clipboard-"+e;if(t.hasAttribute(n))return t.getAttribute(n)}e.exports=d})?i.apply(t,o):i)||(e.exports=r)},868: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,i=e.Object,o=function(e){var t,n,o,r,a=/^[A-Z]+[a-z]/,s=function(e,t){(t=t.toLowerCase())in c||(c[e]=(c[e]||[]).concat(t),c[t]=c[t.toUpperCase()]=e)},c=(i.create||i)(null),l={};for(n in e)for(r in e[n])for(o=e[n][r],c[r]=o,t=0;t<o.length;t++)c[o[t].toLowerCase()]=c[o[t].toUpperCase()]=r;return l.get=function(e){return"string"==typeof e?c[e]||(a.test(e)?[]:""):function(e){var t,n=[];for(t in c)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 r,a,s,c,l,d,u,f,h="registerElement",p="__"+h+(1e5*e.Math.random()>>0),g="addEventListener",m="attached",b="Callback",v="detached",y="extends",_="attributeChanged"+b,w=m+b,x="connected"+b,S="disconnected"+b,T="created"+b,k=v+b,C="ADDITION",j="REMOVAL",A="DOMAttrModified",E="DOMContentLoaded",I="DOMSubtreeModified",M="<",O="=",D=/^[A-Z][A-Z0-9]*(?:-[A-Z0-9]+)+$/,V=["ANNOTATION-XML","COLOR-PROFILE","FONT-FACE","FONT-FACE-SRC","FONT-FACE-URI","FONT-FACE-FORMAT","FONT-FACE-NAME","MISSING-GLYPH"],L=[],P=[],N="",R=n.documentElement,F=L.indexOf||function(e){for(var t=this.length;t--&&this[t]!==e;);return t},B=i.prototype,z=B.hasOwnProperty,H=B.isPrototypeOf,$=i.defineProperty,q=[],W=i.getOwnPropertyDescriptor,G=i.getOwnPropertyNames,U=i.getPrototypeOf,K=i.setPrototypeOf,Y=!!i.__proto__,Z="__dreCEv1",X=e.customElements,Q="force"!==t&&!!(X&&X.define&&X.get&&X.whenDefined),J=i.create||i,ee=e.Map||function(){var e,t=[],n=[];return{get:function(e){return n[F.call(t,e)]},set:function(i,o){(e=F.call(t,i))<0?n[t.push(i)-1]=o:n[e]=o}}},te=e.Promise||function(e){var t=[],n=!1,i={catch:function(){return i},then:function(e){return t.push(e),n&&setTimeout(o,1),i}};function o(e){for(n=!0;t.length;)t.shift()(e)}return e(o),i},ne=!1,ie=J(null),oe=J(null),re=new ee,ae=String,se=i.create||function e(t){return t?(e.prototype=t,new e):this},ce=K||(Y?function(e,t){return e.__proto__=t,e}:G&&W?function(){function e(e,t){for(var n,i=G(t),o=0,r=i.length;o<r;o++)n=i[o],z.call(e,n)||$(e,n,W(t,n))}return function(t,n){do{e(t,n)}while((n=U(n))&&!H.call(n,t));return t}}():function(e,t){for(var n in t)e[n]=t[n];return e}),le=e.MutationObserver||e.WebKitMutationObserver,de=(e.HTMLElement||e.Element||e.Node).prototype,ue=!H.call(de,R),fe=ue?function(e,t,n){return e[t]=n.value,e}:$,he=ue?function(e){return 1===e.nodeType}:function(e){return H.call(de,e)},pe=ue&&[],ge=de.attachShadow,me=de.cloneNode,be=de.dispatchEvent,ve=de.getAttribute,ye=de.hasAttribute,_e=de.removeAttribute,we=de.setAttribute,xe=n.createElement,Se=xe,Te=le&&{attributes:!0,characterData:!0,attributeOldValue:!0},ke=le||function(e){Ae=!1,R.removeEventListener(A,ke)},Ce=0,je=!1,Ae=!0,Ee=!0,Ie=!0;function Me(){var e=r.splice(0,r.length);for(Ce=0;e.length;)e.shift().call(null,e.shift())}function Oe(e,t){for(var n=0,i=e.length;n<i;n++)He(e[n],t)}function De(e){return function(t){he(t)&&(He(t,e),Oe(t.querySelectorAll(N),e))}}function Ve(e){var t=ve.call(e,"is"),n=e.nodeName.toUpperCase(),i=F.call(L,t?O+t.toUpperCase():M+n);return t&&-1<i&&!Le(n,t)?-1:i}function Le(e,t){return-1<N.indexOf(e+'[is="'+t+'"]')}function Pe(e){var t=e.currentTarget,n=e.attrChange,i=e.attrName,o=e.target,r=e[C]||2,a=e[j]||3;!Ie||o&&o!==t||!t[_]||"style"===i||e.prevValue===e.newValue&&(""!==e.newValue||n!==r&&n!==a)||t[_](i,n===r?null:e.prevValue,n===a?null:e.newValue)}function Ne(e){var t=De(e);return function(e){r.push(t,e.target),Ce&&clearTimeout(Ce),Ce=setTimeout(Me,1)}}function Re(e){Ee&&(Ee=!1,e.currentTarget.removeEventListener(E,Re)),Oe((e.target||n).querySelectorAll(N),e.detail===v?v:m),ue&&function(){for(var e,t=0,n=pe.length;t<n;t++)e=pe[t],R.contains(e)||(n--,pe.splice(t--,1),He(e,v))}()}function Fe(e,t){we.call(this,e,t),a.call(this,{target:this})}function Be(e,t){ce(e,t),l?l.observe(e,Te):(Ae&&(e.setAttribute=Fe,e[p]=c(e),e[g](I,a)),e[g](A,Pe)),e[T]&&Ie&&(e.created=!0,e[T](),e.created=!1)}function ze(e){throw new Error("A "+e+" type is already registered")}function He(e,t){var n,i=Ve(e);-1<i&&(u(e,P[i]),i=0,t!==m||e[m]?t!==v||e[v]||(e[m]=!1,e[v]=!0,i=1):(e[v]=!1,e[m]=!0,i=1,ue&&F.call(pe,e)<0&&pe.push(e)),i&&(n=e[t+b])&&n.call(e))}function $e(){}function qe(e,t,i){var o=i&&i[y]||"",r=t.prototype,a=se(r),s=t.observedAttributes||q,c={prototype:a};fe(a,T,{value:function(){if(ne)ne=!1;else if(!this[Z]){this[Z]=!0,new t(this),r[T]&&r[T].call(this);var e=ie[re.get(t)];(!Q||e.create.length>1)&&Ue(this)}}}),fe(a,_,{value:function(e){-1<F.call(s,e)&&r[_].apply(this,arguments)}}),r[x]&&fe(a,w,{value:r[x]}),r[S]&&fe(a,k,{value:r[S]}),o&&(c[y]=o),e=e.toUpperCase(),ie[e]={constructor:t,create:o?[o,ae(e)]:[e]},re.set(t,e),n[h](e.toLowerCase(),c),Ke(e),oe[e].r()}function We(e){var t=ie[e.toUpperCase()];return t&&t.constructor}function Ge(e){return"string"==typeof e?e:e&&e.is||""}function Ue(e){for(var t,n=e[_],i=n?e.attributes:q,o=i.length;o--;)t=i[o],n.call(e,t.name||t.nodeName,null,t.value||t.nodeValue)}function Ke(e){return(e=e.toUpperCase())in oe||(oe[e]={},oe[e].p=new te(function(t){oe[e].r=t})),oe[e].p}function Ye(){X&&delete e.customElements,$(e,"customElements",{configurable:!0,value:new $e}),$(e,"CustomElementRegistry",{configurable:!0,value:$e});for(var t=function(t){var i=e[t];if(i){e[t]=function(e){var t,o;return e||(e=this),e[Z]||(ne=!0,t=ie[re.get(e.constructor)],(e=(o=Q&&1===t.create.length)?Reflect.construct(i,q,t.constructor):n.createElement.apply(n,t.create))[Z]=!0,ne=!1,o||Ue(e)),e},e[t].prototype=i.prototype;try{i.prototype.constructor=e[t]}catch(n){!0,$(i,Z,{value:e[t]})}}},i=o.get(/^HTML[A-Z]*[a-z]/),r=i.length;r--;t(i[r]));n.createElement=function(e,t){var n=Ge(t);return n?Se.call(this,e,ae(n)):Se.call(this,e)}}if(h in n||(K||Y?(u=function(e,t){H.call(t,e)||Be(e,t)},f=Be):f=u=function(e,t){e[p]||(e[p]=i(!0),Be(e,t))},ue?(Ae=!1,function(){var e=W(de,g),t=e.value,n=function(e){var t=new CustomEvent(A,{bubbles:!0});t.attrName=e,t.prevValue=ve.call(this,e),t.newValue=null,t[j]=t.attrChange=2,_e.call(this,e),be.call(this,t)},i=function(e,t){var n=ye.call(this,e),i=n&&ve.call(this,e),o=new CustomEvent(A,{bubbles:!0});we.call(this,e,t),o.attrName=e,o.prevValue=n?i:null,o.newValue=t,n?o.MODIFICATION=o.attrChange=1:o[C]=o.attrChange=0,be.call(this,o)},o=function(e){var t,n=e.currentTarget,i=n[p],o=e.propertyName;i.hasOwnProperty(o)&&(i=i[o],(t=new CustomEvent(A,{bubbles:!0})).attrName=i.name,t.prevValue=i.value||null,t.newValue=i.value=n[o]||null,null==t.prevValue?t[C]=t.attrChange=0:t.MODIFICATION=t.attrChange=1,be.call(n,t))};e.value=function(e,r,a){e===A&&this[_]&&this.setAttribute!==i&&(this[p]={className:{name:"class",value:this.className}},this.setAttribute=i,this.removeAttribute=n,t.call(this,"propertychange",o)),t.call(this,e,r,a)},$(de,g,e)}()):le||(R[g](A,ke),R.setAttribute(p,1),R.removeAttribute(p),Ae&&(a=function(e){var t,n,i;if(this===e.target){for(i in t=this[p],this[p]=n=c(this),n){if(!(i in t))return s(0,this,i,t[i],n[i],C);if(n[i]!==t[i])return s(1,this,i,t[i],n[i],"MODIFICATION")}for(i in t)if(!(i in n))return s(2,this,i,t[i],n[i],j)}},s=function(e,t,n,i,o,r){var a={attrChange:e,currentTarget:t,attrName:n,prevValue:i,newValue:o};a[r]=e,Pe(a)},c=function(e){for(var t,n,i={},o=e.attributes,r=0,a=o.length;r<a;r++)"setAttribute"!==(n=(t=o[r]).name)&&(i[n]=t.value);return i})),n[h]=function(e,t){if(i=e.toUpperCase(),je||(je=!0,le?(l=function(e,t){function n(e,t){for(var n=0,i=e.length;n<i;t(e[n++]));}return new le(function(i){for(var o,r,a,s=0,c=i.length;s<c;s++)"childList"===(o=i[s]).type?(n(o.addedNodes,e),n(o.removedNodes,t)):(r=o.target,Ie&&r[_]&&"style"!==o.attributeName&&(a=ve.call(r,o.attributeName))!==o.oldValue&&r[_](o.attributeName,o.oldValue,a))})}(De(m),De(v)),(d=function(e){return l.observe(e,{childList:!0,subtree:!0}),e})(n),ge&&(de.attachShadow=function(){return d(ge.apply(this,arguments))})):(r=[],n[g]("DOMNodeInserted",Ne(m)),n[g]("DOMNodeRemoved",Ne(v))),n[g](E,Re),n[g]("readystatechange",Re),de.cloneNode=function(e){var t=me.call(this,!!e),n=Ve(t);return-1<n&&f(t,P[n]),e&&function(e){for(var t,n=0,i=e.length;n<i;n++)t=e[n],f(t,P[Ve(t)])}(t.querySelectorAll(N)),t}),-2<F.call(L,O+i)+F.call(L,M+i)&&ze(e),!D.test(i)||-1<F.call(V,i))throw new Error("The type "+e+" is invalid");var i,o,a=function(){return c?n.createElement(u,i):n.createElement(u)},s=t||B,c=z.call(s,y),u=c?t[y].toUpperCase():i;return c&&-1<F.call(L,M+u)&&ze(u),o=L.push((c?O:M)+i)-1,N=N.concat(N.length?",":"",c?u+'[is="'+e.toLowerCase()+'"]':u),a.prototype=P[o]=z.call(s,"prototype")?s.prototype:se(de),Oe(n.querySelectorAll(N),m),a},n.createElement=Se=function(e,t){var i=Ge(t),o=i?xe.call(n,e,ae(i)):xe.call(n,e),r=""+e,a=F.call(L,(i?O:M)+(i||r).toUpperCase()),s=-1<a;return i&&(o.setAttribute("is",i=i.toLowerCase()),s&&(s=Le(r.toUpperCase(),i))),Ie=!n.createElement.innerHTMLHelper,s&&f(o,P[a]),o}),$e.prototype={constructor:$e,define:Q?function(e,t,n){if(n)qe(e,t,n);else{var i=e.toUpperCase();ie[i]={constructor:t,create:[i]},re.set(t,i),X.define(e,t)}}:qe,get:Q?function(e){return X.get(e)||We(e)}:We,whenDefined:Q?function(e){return te.race([X.whenDefined(e),Ke(e)])}:Ke},X&&"force"!==t)try{!function(t,i,o){if(i[y]="a",(t.prototype=se(HTMLAnchorElement.prototype)).constructor=t,e.customElements.define(o,t,i),ve.call(n.createElement("a",{is:o}),"is")!==o||Q&&ve.call(new t,"is")!==o)throw i}(function e(){return Reflect.construct(HTMLAnchorElement,[],e)},{},"document-register-element-a")}catch(e){Ye()}else Ye();try{xe.call(n,"a","a")}catch(e){ae=function(e){return{is:e}}}}e.exports=n,n(t)}).call(this,n(166))},869:function(e,t,n){"use strict";n.d(t,"a",function(){return h});var i=n(0),o=n.n(i),r=n(7),a=n.n(r),s=n(1),c=n(4),l=n(8),d=n(13);function u(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}var f=function(){function e(t){var n=t.jobsUrl,i=t.importUrl,o=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=i,this.ciCdOnly=o,this.initStatusPage(),this.setAutoUpdate()}var t,n,i;return t=e,(n=[{key:"initStatusPage",value:function(){o()(".js-add-to-import").off("click").on("click",this.addToImport.bind(this)),o()(".js-import-all").off("click").on("click",function(){return o()(this).disable().addClass("is-loading"),o()(".js-add-to-import").each(function(){return o()(this).trigger("click")})})}},{key:"addToImport",value:function(e){var t,n,i=this,r=o()(e.currentTarget),d=r.closest("tr"),u=d.find(".import-target"),f=u.find(".js-select-namespace option:selected"),h=d.attr("id").replace("repo_",""),p=d.data();f.length>0&&(t=f[0].innerHTML,n=u.find("#path").prop("value"),u.empty().append("".concat(t,"/").concat(n))),r.disable().addClass("is-loading"),this.id=h;var g={repo_id:h,target_namespace:t,new_name:n,ci_cd_only:this.ciCdOnly};return p&&(g=Object.assign(p,g)),c.a.post(this.importUrl,g).then(function(e){var t=e.data,n=o()("tr#repo_".concat(h));n.attr("id","project_".concat(t.id)),n.find(".import-target").html('<a href="'.concat(t.full_path,'">').concat(t.full_path,"</a>")),o()("table.import-jobs tbody").prepend(n),n.addClass("table-active");var r=i.ciCdOnly?Object(s.a)("connecting"):Object(s.a)("importing");n.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="'.concat(a.a.escape(r),'"></i>')},!1))}).catch(function(e){var t=e;o()("#repo_".concat(i.id," .job-status")).text(Object(s.a)("Failed")),e.response&&e.response.data&&e.response.data.errors&&(t=e.response.data.errors),Object(l.a)(Object(s.f)(Object(s.a)("An error occurred while importing project: %{details}"),{details:t}))})}},{key:"autoUpdate",value:function(){return c.a.get(this.jobsUrl).then(function(e){var t=e.data;(void 0===t?[]:t).forEach(function(e){var t=o()("#project_".concat(e.id)),n=t.find(".job-status"),i='<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> '.concat(Object(s.a)("Done"),"</span>"));break;case"scheduled":n.html("".concat(i," ").concat(Object(s.a)("Scheduled")));break;case"started":n.html("".concat(i," ").concat(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)}}])&&u(t.prototype,n),i&&u(t,i),e}();function h(){var e=document.querySelector(".js-importer-status");if(e){var t=e.dataset;return new f({jobsUrl:t.jobsImportPath,importUrl:t.importPath,ciCdOnly:Object(d.B)(t.ciCdOnly)})}}},870:function(e,t,n){"use strict";n.d(t,"a",function(){return r});var i=n(0),o=n.n(i);function r(){window.addEventListener("beforeunload",function(){o()(".tanuki-logo").addClass("animate")})}},871:function(e,t,n){"use strict";var i=n(0),o=n.n(i);function r(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}t.a=function(){var e=document.querySelector(".js-breadcrumbs-list");if(e){var t=r(e.children).filter(function(e){return!e.classList.contains("dropdown")}).map(function(e){return e.querySelector("a")}).filter(function(e){return e}),n=o()(".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){o()(".js-breadcrumbs-collapsed-expander",e.currentTarget).toggleClass("open").tooltip("hide")})}}},872:function(e,t,n){"use strict";var i=n(0),o=n.n(i),r=n(4),a=n(8),s=n(13);t.a=function(){o()("body").on("click",".js-usage-consent-action",function(e){e.preventDefault(),e.stopImmediatePropagation();var t=e.target.dataset,n=t.url,i=t.checkEnabled,o=t.pingEnabled,c={application_setting:{version_check_enabled:Object(s.B)(i),usage_ping_enabled:Object(s.B)(o)}},l=function(){return Object(a.b)(document.querySelector(".ping-consent-message"))};r.a.put(n,c).then(function(){l()}).catch(function(){l(),Object(a.a)("Something went wrong. Try again later.")})})}},873:function(e,t,n){"use strict";n.d(t,"a",function(){return b});var i=n(0),o=n.n(i),r=n(7),a=n(1),s=n(512),c=n(4),l=(n(111),n(13));function d(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}var u=27,f=8,h=13,p=38,g=40;var m=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.wrap,i=t.optsEl,r=t.autocompletePath,s=t.projectId,c=t.projectRef;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),function(){var e=o()(".js-search-project-options"),t=o()(".js-search-group-options"),n=o()(".js-search-dashboard-options");if(e.length){gl.projectOptions=gl.projectOptions||{};var i=e.data("projectPath");gl.projectOptions[i]={name:e.data("name"),issuesPath:e.data("issuesPath"),issuesDisabled:e.data("issuesDisabled"),mrPath:e.data("mrPath")}}if(t.length){gl.groupOptions=gl.groupOptions||{};var r=t.data("groupPath");gl.groupOptions[r]={name:t.data("name"),issuesPath:t.data("issuesPath"),mrPath:t.data("mrPath")}}n.length&&(gl.dashboardOptions={name:Object(a.e)("SearchAutocomplete|All GitLab"),issuesPath:n.data("issuesPath"),mrPath:n.data("mrPath")})}(),this.bindEventContext(),this.wrap=n||o()(".search"),this.optsEl=i||this.wrap.find(".search-autocomplete-opts"),this.autocompletePath=r||this.optsEl.data("autocompletePath"),this.projectId=s||this.optsEl.data("autocompleteProjectId")||"",this.projectRef=c||this.optsEl.data("autocompleteProjectRef")||"",this.dropdown=this.wrap.find(".dropdown"),this.dropdownToggle=this.wrap.find(".js-dropdown-search-toggle"),this.dropdownMenu=this.dropdown.find(".dropdown-menu"),this.dropdownContent=this.dropdown.find(".dropdown-content"),this.scopeInputEl=this.getElement("#scope"),this.searchInput=this.getElement(".search-input"),this.projectInputEl=this.getElement("#search_project_id"),this.groupInputEl=this.getElement("#group_id"),this.searchCodeInputEl=this.getElement("#search_code"),this.repositoryInputEl=this.getElement("#repository_ref"),this.clearInput=this.getElement(".js-clear-input"),this.scrollFadeInitialized=!1,this.saveOriginalState(),gon.current_user_id&&this.createAutocomplete(),this.searchInput.addClass("disabled"),this.saveTextLength(),this.bindEvents(),this.dropdownToggle.dropdown()}var t,n,i;return t=e,(n=[{key:"bindEventContext",value:function(){this.onSearchInputBlur=this.onSearchInputBlur.bind(this),this.onClearInputClick=this.onClearInputClick.bind(this),this.onSearchInputFocus=this.onSearchInputFocus.bind(this),this.onSearchInputKeyUp=this.onSearchInputKeyUp.bind(this),this.onSearchInputKeyDown=this.onSearchInputKeyDown.bind(this),this.setScrollFade=this.setScrollFade.bind(this)}},{key:"getElement",value:function(e){return this.wrap.find(e)}},{key:"saveOriginalState",value:function(){return this.originalState=this.serializeState()}},{key:"saveTextLength",value:function(){return this.lastTextLength=this.searchInput.val().length}},{key:"createAutocomplete",value:function(){return this.searchInput.glDropdown({filterInputBlur:!1,filterable:!0,filterRemote:!0,highlight:!0,icon:!0,enterCallback:!1,filterInput:"input#search",search:{fields:["text"]},id:this.getSearchText,data:this.getData.bind(this),selectable:!0,clicked:this.onClick.bind(this)})}},{key:"getSearchText",value:function(e,t){return e.id?e.text:""}},{key:"getData",value:function(e,t){var n=this;if(e){if(!this.loadingSuggestions)return this.loadingSuggestions=!0,c.a.get(this.autocompletePath,{params:{project_id:this.projectId,project_ref:this.projectRef,term:e}}).then(function(i){if(i.data.length){for(var o,r=[],s=!0,c=0,d=i.data.length;c<d;c+=1){var u=i.data[c];o!==u.category&&(s||r.push("separator"),s&&(s=!1),r.push({header:u.category}),o=u.category),r.push({id:"".concat(u.category.toLowerCase(),"-").concat(u.id),icon:n.getAvatar(u),category:u.category,text:u.label,url:u.url})}if(r.length){var f,h=Object(l.L)("search","s16 inline-search-icon");n.projectInputEl.val()&&(f=Object(a.e)("SearchAutocomplete|in this project")),n.groupInputEl.val()&&(f=Object(a.e)("SearchAutocomplete|in this group")),r.unshift("separator"),r.unshift({icon:h,text:e,template:Object(a.e)("SearchAutocomplete|in all GitLab"),url:"".concat(gon.relative_url_root,"/search?search=").concat(e)}),f&&r.unshift({icon:h,text:e,template:f,url:"".concat(gon.relative_url_root,"/search?search=").concat(e,"&project_id=").concat(n.projectInputEl.val(),"&group_id=").concat(n.groupInputEl.val())})}t(r),n.loadingSuggestions=!1,n.highlightFirstRow(),n.setScrollFade()}else n.disableAutocomplete()}).catch(function(){n.loadingSuggestions=!1})}else{var i=this.getCategoryContents();if(i){var o=this.searchInput.data("glDropdown");o&&o.filter.options.callback(i),this.enableAutocomplete()}}}},{key:"getCategoryContents",value:function(){var e,t=gon.current_username,n=gl,i=n.projectOptions,o=n.groupOptions,r=n.dashboardOptions;Object(l.r)()&&o?e=o[Object(l.g)()]:Object(l.u)()&&i?e=i[Object(l.j)()]:r&&(e=r);var s=e,c=s.issuesPath,d=s.mrPath,u=s.name,f=s.issuesDisabled,h=[];u&&h.push({header:"".concat(u)});var p=[{text:Object(a.e)("SearchAutocomplete|Issues assigned to me"),url:"".concat(c,"/?assignee_username=").concat(t)},{text:Object(a.e)("SearchAutocomplete|Issues I've created"),url:"".concat(c,"/?author_username=").concat(t)}],g=[{text:Object(a.e)("SearchAutocomplete|Merge requests assigned to me"),url:"".concat(d,"/?assignee_username=").concat(t)},{text:Object(a.e)("SearchAutocomplete|Merge requests I've created"),url:"".concat(d,"/?author_username=").concat(t)}];return f?h.concat(g):h.concat.apply(h,p.concat(g))}},{key:"serializeState",value:function(){return{search_project_id:this.projectInputEl.val(),group_id:this.groupInputEl.val(),search_code:this.searchCodeInputEl.val(),repository_ref:this.repositoryInputEl.val(),scope:this.scopeInputEl.val()}}},{key:"bindEvents",value:function(){this.searchInput.on("keydown",this.onSearchInputKeyDown),this.searchInput.on("keyup",this.onSearchInputKeyUp),this.searchInput.on("focus",this.onSearchInputFocus),this.searchInput.on("blur",this.onSearchInputBlur),this.clearInput.on("click",this.onClearInputClick),this.dropdownContent.on("scroll",Object(r.throttle)(this.setScrollFade,250))}},{key:"enableAutocomplete",value:function(){if(this.setScrollFade(),gon.current_user_id)return this.dropdown.hasClass("show")?void 0:(this.loadingSuggestions=!1,this.dropdownToggle.dropdown("toggle"),this.searchInput.removeClass("disabled"))}},{key:"onSearchInputKeyDown",value:function(){return this.saveTextLength()}},{key:"onSearchInputKeyUp",value:function(e){switch(e.keyCode){case f:1===this.lastTextLength&&this.disableAutocomplete(),this.lastTextLength>1&&this.enableAutocomplete();break;case u:this.restoreOriginalState();break;case h:this.disableAutocomplete();break;case p:case g: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:"restoreOriginalState",value:function(){var e,t,n,i;for(e=0,i=(n=Object.keys(this.originalState)).length;e<i;e+=1)t=n[e],this.getElement("#"+t).val(this.originalState[t])}},{key:"resetSearchState",value:function(){var e,t,n,i,o;for(o=[],e=0,i=(n=Object.keys(this.originalState)).length;e<i;e+=1)t=n[e],o.push(this.getElement("#"+t).val(""));return o}},{key:"disableAutocomplete",value:function(){!this.searchInput.hasClass("disabled")&&this.dropdown.hasClass("show")&&(this.searchInput.addClass("disabled"),this.dropdown.removeClass("show").trigger("hidden.bs.dropdown"),this.restoreMenu())}},{key:"restoreMenu",value:function(){var e;return e='<ul><li class="dropdown-menu-empty-item"><a>Loading...</a></li></ul>',this.dropdownContent.html(e)}},{key:"onClick",value:function(e,t,n){if(-1!==window.location.pathname.indexOf(e.url))return n.metaKey||n.preventDefault(),"Projects"===e.category&&this.projectInputEl.val(e.id),"Groups"===e.category&&this.groupInputEl.val(e.id),t.removeClass("is-active"),this.disableAutocomplete(),this.searchInput.val("").focus()}},{key:"highlightFirstRow",value:function(){this.searchInput.data("glDropdown").highlightRowAtIndex(null,0)}},{key:"getAvatar",value:function(e){if(!Object.hasOwnProperty.call(e,"avatar_url"))return!1;var t=e.label,n=e.id,i=e.avatar_url;return i?'<img class="search-item-avatar" src="'.concat(i,'" />'):'<div class="s16 avatar identicon '.concat(Object(s.a)(n),'">').concat(Object(s.b)(Object(r.escape)(t)),"</div>")}},{key:"isScrolledUp",value:function(){var e=this.dropdownContent[0];return this.contentClientHeight+e.scrollTop<this.maxPosition}},{key:"initScrollFade",value:function(){var e=this.dropdownContent[0];this.scrollFadeInitialized=!0,this.contentClientHeight=e.clientHeight,this.maxPosition=e.scrollHeight,this.dropdownMenu.addClass("dropdown-content-faded-mask")}},{key:"setScrollFade",value:function(){this.initScrollFade(),this.dropdownMenu.toggleClass("fade-out",!this.isScrolledUp())}}])&&d(t.prototype,n),i&&d(t,i),e}();function b(e){return new m(e)}},899:function(e,t,n){"use strict";var i=n(0),o=n.n(i),r=n(6),a=n(66),s=n(46),c=n(1),l=new r.default,d={props:{hasStatus:{type:Boolean,required:!0}},computed:{buttonText:function(){return this.hasStatus?Object(c.e)("SetStatusModal|Edit status"):Object(c.e)("SetStatusModal|Set status")}},methods:{openModal:function(){l.$emit("openModal")}}},u=n(2),f=Object(u.a)(d,function(){var e=this.$createElement;return(this._self._c||e)("button",{staticClass:"btn menu-item",attrs:{type:"button"},on:{click:this.openModal}},[this._v(this._s(this.buttonText))])},[],!1,null,null,null);f.options.__file="set_status_modal_trigger.vue";var h=f.exports,p=n(8),g=n(14),m=n(67),b=n(15),v=n(9),y=n(223);function _(e){return(_="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})(e)}function w(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function x(e,t){return!t||"object"!==_(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function S(e){return(S=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function T(e,t){return(T=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var k=function(e){function t(e,n,i,o,r){var a;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(a=x(this,S(t).call(this,e))).selectEmojiCallback=o,a.toggleButtonSelector=n,a.menuClass=i,a.targetContainerEl=r,a.bindEvents(),a}var n,i,o;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&T(e,t)}(t,y["a"]),n=t,(i=[{key:"postEmoji",value:function(e,t,n){this.selectEmojiCallback(n,this.emoji.glEmojiTag(n))}}])&&w(n.prototype,i),o&&w(n,o),t}(),C={components:{Icon:g.a,GlModal:v.i},directives:{GlTooltip:v.r},props:{currentEmoji:{type:String,required:!0},currentMessage:{type:String,required:!0}},data:function(){return{defaultEmojiTag:"",emoji:this.currentEmoji,emojiMenu:null,emojiTag:"",isEmojiMenuVisible:!1,message:this.currentMessage,modalId:"set-user-status-modal",noEmoji:!0}},computed:{isDirty:function(){return this.message.length||this.emoji.length}},mounted:function(){l.$on("openModal",this.openModal)},beforeDestroy:function(){this.emojiMenu.destroy()},methods:{openModal:function(){this.$root.$emit("bv::show::modal",this.modalId)},closeModal:function(){this.$root.$emit("bv::hide::modal",this.modalId)},setupEmojiListAndAutocomplete:function(){var e=this;(new m.a).setup(o()(this.$refs.statusMessageField),{emojis:!0}),Promise.resolve().then(n.bind(null,236)).then(function(t){e.emoji&&(e.emojiTag=t.glEmojiTag(e.emoji)),e.noEmoji=""===e.emoji,e.defaultEmojiTag=t.glEmojiTag("speech_balloon"),e.emojiMenu=new k(t,"#set-user-status-modal .js-toggle-emoji-menu","js-modal-status-emoji-menu",e.setEmoji,e.$refs.userStatusForm)}).catch(function(){return Object(p.a)(Object(c.a)("Failed to load emoji list."))})},showEmojiMenu:function(){this.isEmojiMenuVisible=!0,this.emojiMenu.showEmojiMenu(o()(this.$refs.toggleEmojiMenuButton))},hideEmojiMenu:function(){this.isEmojiMenuVisible&&(this.isEmojiMenuVisible=!1,this.emojiMenu.hideMenuElement(o()(".".concat("js-modal-status-emoji-menu"))))},setDefaultEmoji:function(){var e=this.emojiTag,t=this.message;t&&e||(t?(this.noEmoji=!1,this.emojiTag=this.defaultEmojiTag):e===this.defaultEmojiTag&&(this.noEmoji=!0,this.clearEmoji()))},setEmoji:function(e,t){this.emoji=e,this.noEmoji=!1,this.clearEmoji(),this.emojiTag=t},clearEmoji:function(){this.emojiTag&&(this.emojiTag="")},clearStatusInputs:function(){this.emoji="",this.message="",this.noEmoji=!0,this.clearEmoji(),this.hideEmojiMenu()},removeStatus:function(){this.clearStatusInputs(),this.setStatus()},setStatus:function(){var e=this.emoji,t=this.message;b.a.postUserStatus({emoji:e,message:t}).then(this.onUpdateSuccess).catch(this.onUpdateFail)},onUpdateSuccess:function(){this.closeModal(),window.location.reload()},onUpdateFail:function(){Object(p.a)(Object(c.e)("SetStatusModal|Sorry, we weren't able to set your status. Please try again later.")),this.closeModal()}}},j=Object(u.a)(C,function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("gl-modal",{staticClass:"set-user-status-modal",attrs:{title:e.s__("SetStatusModal|Set a status"),"modal-id":e.modalId,"ok-title":e.s__("SetStatusModal|Set status"),"cancel-title":e.s__("SetStatusModal|Remove status"),"ok-variant":"success"},on:{shown:e.setupEmojiListAndAutocomplete,hide:e.hideEmojiMenu,ok:e.setStatus,cancel:e.removeStatus}},[n("div",[n("input",{directives:[{name:"model",rawName:"v-model",value:e.emoji,expression:"emoji"}],staticClass:"js-status-emoji-field",attrs:{type:"hidden",name:"user[status][emoji]"},domProps:{value:e.emoji},on:{input:function(t){t.target.composing||(e.emoji=t.target.value)}}}),e._v(" "),n("div",{ref:"userStatusForm",staticClass:"form-group position-relative m-0"},[n("div",{staticClass:"input-group"},[n("span",{staticClass:"input-group-btn"},[n("button",{directives:[{name:"gl-tooltip",rawName:"v-gl-tooltip.bottom",modifiers:{bottom:!0}}],ref:"toggleEmojiMenuButton",staticClass:"js-toggle-emoji-menu emoji-menu-toggle-button btn",attrs:{title:e.s__("SetStatusModal|Add status emoji"),"aria-label":e.s__("SetStatusModal|Add status emoji"),name:"button",type:"button"},on:{click:e.showEmojiMenu}},[n("span",{domProps:{innerHTML:e._s(e.emojiTag)}}),e._v(" "),n("span",{directives:[{name:"show",rawName:"v-show",value:e.noEmoji,expression:"noEmoji"}],staticClass:"js-no-emoji-placeholder no-emoji-placeholder position-relative"},[n("icon",{attrs:{name:"emoji_slightly_smiling_face","css-classes":"award-control-icon-neutral"}}),e._v(" "),n("icon",{attrs:{name:"emoji_smiley","css-classes":"award-control-icon-positive"}}),e._v(" "),n("icon",{attrs:{name:"emoji_smile","css-classes":"award-control-icon-super-positive"}})],1)])]),e._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:e.message,expression:"message"}],ref:"statusMessageField",staticClass:"form-control form-control input-lg js-status-message-field",attrs:{placeholder:e.s__("SetStatusModal|What's your status?"),type:"text",name:"user[status][message]"},domProps:{value:e.message},on:{keyup:[e.setDefaultEmoji,function(t){if(!("button"in t)&&e._k(t.keyCode,"enter",13,t.key,"Enter"))return null;t.preventDefault()}],click:e.hideEmojiMenu,input:function(t){t.target.composing||(e.message=t.target.value)}}}),e._v(" "),n("span",{directives:[{name:"show",rawName:"v-show",value:e.isDirty,expression:"isDirty"}],staticClass:"input-group-btn"},[n("button",{directives:[{name:"gl-tooltip",rawName:"v-gl-tooltip.bottom",modifiers:{bottom:!0}}],staticClass:"js-clear-user-status-button clear-user-status btn",attrs:{title:e.s__("SetStatusModal|Clear status"),"aria-label":e.s__("SetStatusModal|Clear status"),name:"button",type:"button"},on:{click:function(t){e.clearStatusInputs()}}},[n("icon",{attrs:{name:"close"}})],1)])])])])])},[],!1,null,null,null);j.options.__file="set_status_modal_wrapper.vue";var A=j.exports,E=n(13);function I(){o()(document).on("todo:toggle",function(e,t){var n=parseInt(t,10),i=o()(".todos-count");i.text(Object(s.g)(n)),i.toggleClass("hidden",0===n)})}n.d(t,"a",function(){return I}),document.addEventListener("DOMContentLoaded",function(){var e=document.querySelector(".js-set-status-modal-trigger"),t=document.querySelector(".js-set-status-modal-wrapper");(e||t)&&(r.default.use(a.a),new r.default({el:e,data:function(){var e=this.$options.el.dataset.hasStatus;return{hasStatus:Object(E.B)(e)}},render:function(e){return e(h,{props:{hasStatus:this.hasStatus}})}}),new r.default({el:t,data:function(){var e=this.$options.el.dataset;return{currentEmoji:e.currentEmoji,currentMessage:e.currentMessage}},render:function(e){var t=this.currentEmoji,n=this.currentMessage;return e(A,{props:{currentEmoji:t,currentMessage:n}})}}))})},9:function(e,t,n){"use strict";(function(e){n.d(t,"c",function(){return KP}),n.d(t,"a",function(){return mH}),n.d(t,"g",function(){return kH}),n.d(t,"h",function(){return AH}),n.d(t,"i",function(){return KH}),n.d(t,"k",function(){return t$}),n.d(t,"l",function(){return oH}),n.d(t,"m",function(){return o$}),n.d(t,"o",function(){return s$}),n.d(t,"b",function(){return d$}),n.d(t,"q",function(){return h$}),n.d(t,"f",function(){return b$}),n.d(t,"n",function(){return S$}),n.d(t,"e",function(){return A$}),n.d(t,"d",function(){return B$}),n.d(t,"p",function(){return DW}),n.d(t,"j",function(){return NW}),n.d(t,"r",function(){return qW});var i,o="undefined"!=typeof window?window:void 0!==e?e:"undefined"!=typeof self?self:{};function r(e,t){return e(t={exports:{}},t.exports),t.exports}"undefined"!=typeof window?i=window.__DEV__:void 0!==o&&(i=o.__DEV__),void 0===i&&(i=!0);var a=2311;var s=function(){return a++};var c="object"==typeof wx&&"function"==typeof wx.getSystemInfoSync?{browser:{},os:{},node:!1,wxa:!0,canvasSupported:!0,svgSupported:!1,touchEventsSupported:!0,domSupported:!1}:"undefined"==typeof document&&"undefined"!=typeof self?{browser:{},os:{},node:!1,worker:!0,canvasSupported:!0,domSupported:!1}:"undefined"==typeof navigator?{browser:{},os:{},node:!0,worker:!1,canvasSupported:!0,svgSupported:!0,domSupported:!1}:function(e){var t={},n=e.match(/Firefox\/([\d.]+)/),i=e.match(/MSIE\s([\d.]+)/)||e.match(/Trident\/.+?rv:(([\d.]+))/),o=e.match(/Edge\/([\d.]+)/),r=/micromessenger/i.test(e);n&&(t.firefox=!0,t.version=n[1]);i&&(t.ie=!0,t.version=i[1]);o&&(t.edge=!0,t.version=o[1]);r&&(t.weChat=!0);return{browser:t,os:{},node:!1,canvasSupported:!!document.createElement("canvas").getContext,svgSupported:"undefined"!=typeof SVGRect,touchEventsSupported:"ontouchstart"in window&&!t.ie&&!t.edge,pointerEventsSupported:"onpointerdown"in window&&(t.edge||t.ie&&t.version>=11),domSupported:"undefined"!=typeof document}}(navigator.userAgent),l={"[object Function]":1,"[object RegExp]":1,"[object Date]":1,"[object Error]":1,"[object CanvasGradient]":1,"[object CanvasPattern]":1,"[object Image]":1,"[object Canvas]":1},d={"[object Int8Array]":1,"[object Uint8Array]":1,"[object Uint8ClampedArray]":1,"[object Int16Array]":1,"[object Uint16Array]":1,"[object Int32Array]":1,"[object Uint32Array]":1,"[object Float32Array]":1,"[object Float64Array]":1},u=Object.prototype.toString,f=Array.prototype,h=f.forEach,p=f.filter,g=f.slice,m=f.map,b=f.reduce,v={};function y(e){if(null==e||"object"!=typeof e)return e;var t=e,n=u.call(e);if("[object Array]"===n){if(!M(e)){t=[];for(var i=0,o=e.length;i<o;i++)t[i]=y(e[i])}}else if(d[n]){if(!M(e)){var r=e.constructor;if(e.constructor.from)t=r.from(e);else{t=new r(e.length);for(i=0,o=e.length;i<o;i++)t[i]=y(e[i])}}}else if(!l[n]&&!M(e)&&!E(e))for(var a in t={},e)e.hasOwnProperty(a)&&(t[a]=y(e[a]));return t}function _(e,t,n){if(!j(t)||!j(e))return n?y(t):e;for(var i in t)if(t.hasOwnProperty(i)){var o=e[i],r=t[i];!j(r)||!j(o)||C(r)||C(o)||E(r)||E(o)||A(r)||A(o)||M(r)||M(o)?!n&&i in e||(e[i]=y(t[i])):_(o,r,n)}return e}function w(e,t,n){for(var i in t)t.hasOwnProperty(i)&&(n?null!=t[i]:null==e[i])&&(e[i]=t[i]);return e}var x,S=function(){return v.createCanvas()};function T(e,t,n){if(e&&t)if(e.forEach&&e.forEach===h)e.forEach(t,n);else if(e.length===+e.length)for(var i=0,o=e.length;i<o;i++)t.call(n,e[i],i,e);else for(var r in e)e.hasOwnProperty(r)&&t.call(n,e[r],r,e)}function k(e,t){var n=g.call(arguments,2);return function(){return e.apply(t,n.concat(g.call(arguments)))}}function C(e){return"[object Array]"===u.call(e)}function j(e){var t=typeof e;return"function"===t||!!e&&"object"==t}function A(e){return!!l[u.call(e)]}function E(e){return"object"==typeof e&&"number"==typeof e.nodeType&&"object"==typeof e.ownerDocument}v.createCanvas=function(){return document.createElement("canvas")};var I="__ec_primitive__";function M(e){return e[I]}function O(e){var t=C(e);this.data={};var n=this;function i(e,i){t?n.set(e,i):n.set(i,e)}e instanceof O?e.each(i):e&&T(e,i)}O.prototype={constructor:O,get:function(e){return this.data.hasOwnProperty(e)?this.data[e]:null},set:function(e,t){return this.data[e]=t},each:function(e,t){for(var n in void 0!==t&&(e=k(e,t)),this.data)this.data.hasOwnProperty(n)&&e(this.data[n],n)},removeKey:function(e){delete this.data[e]}};var D={$override:function(e,t){"createCanvas"===e&&(x=null),v[e]=t},clone:y,merge:_,mergeAll:function(e,t){for(var n=e[0],i=1,o=e.length;i<o;i++)n=_(n,e[i],t);return n},extend:function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);return e},defaults:w,createCanvas:S,getContext:function(){return x||(x=S().getContext("2d")),x},indexOf:function(e,t){if(e){if(e.indexOf)return e.indexOf(t);for(var n=0,i=e.length;n<i;n++)if(e[n]===t)return n}return-1},inherits:function(e,t){var n=e.prototype;function i(){}for(var o in i.prototype=t.prototype,e.prototype=new i,n)e.prototype[o]=n[o];e.prototype.constructor=e,e.superClass=t},mixin:function(e,t,n){w(e="prototype"in e?e.prototype:e,t="prototype"in t?t.prototype:t,n)},isArrayLike:function(e){if(e)return"string"!=typeof e&&"number"==typeof e.length},each:T,map:function(e,t,n){if(e&&t){if(e.map&&e.map===m)return e.map(t,n);for(var i=[],o=0,r=e.length;o<r;o++)i.push(t.call(n,e[o],o,e));return i}},reduce:function(e,t,n,i){if(e&&t){if(e.reduce&&e.reduce===b)return e.reduce(t,n,i);for(var o=0,r=e.length;o<r;o++)n=t.call(i,n,e[o],o,e);return n}},filter:function(e,t,n){if(e&&t){if(e.filter&&e.filter===p)return e.filter(t,n);for(var i=[],o=0,r=e.length;o<r;o++)t.call(n,e[o],o,e)&&i.push(e[o]);return i}},find:function(e,t,n){if(e&&t)for(var i=0,o=e.length;i<o;i++)if(t.call(n,e[i],i,e))return e[i]},bind:k,curry:function(e){var t=g.call(arguments,1);return function(){return e.apply(this,t.concat(g.call(arguments)))}},isArray:C,isFunction:function(e){return"function"==typeof e},isString:function(e){return"[object String]"===u.call(e)},isObject:j,isBuiltInObject:A,isTypedArray:function(e){return!!d[u.call(e)]},isDom:E,eqNaN:function(e){return e!=e},retrieve:function(e){for(var t=0,n=arguments.length;t<n;t++)if(null!=arguments[t])return arguments[t]},retrieve2:function(e,t){return null!=e?e:t},retrieve3:function(e,t,n){return null!=e?e:null!=t?t:n},slice:function(){return Function.call.apply(g,arguments)},normalizeCssArray:function(e){if("number"==typeof e)return[e,e,e,e];var t=e.length;return 2===t?[e[0],e[1],e[0],e[1]]:3===t?[e[0],e[1],e[2],e[1]]:e},assert:function(e,t){if(!e)throw new Error(t)},trim:function(e){return null==e?null:"function"==typeof e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")},setAsPrimitive:function(e){e[I]=!0},isPrimitive:M,createHashMap:function(e){return new O(e)},concatArray:function(e,t){for(var n=new e.constructor(e.length+t.length),i=0;i<e.length;i++)n[i]=e[i];var o=e.length;for(i=0;i<t.length;i++)n[i+o]=t[i];return n},noop:function(){}},V="undefined"==typeof Float32Array?Array:Float32Array;function L(e){return Math.sqrt(P(e))}function P(e){return e[0]*e[0]+e[1]*e[1]}function N(e,t){return Math.sqrt((e[0]-t[0])*(e[0]-t[0])+(e[1]-t[1])*(e[1]-t[1]))}function R(e,t){return(e[0]-t[0])*(e[0]-t[0])+(e[1]-t[1])*(e[1]-t[1])}var F={create:function(e,t){var n=new V(2);return null==e&&(e=0),null==t&&(t=0),n[0]=e,n[1]=t,n},copy:function(e,t){return e[0]=t[0],e[1]=t[1],e},clone:function(e){var t=new V(2);return t[0]=e[0],t[1]=e[1],t},set:function(e,t,n){return e[0]=t,e[1]=n,e},add:function(e,t,n){return e[0]=t[0]+n[0],e[1]=t[1]+n[1],e},scaleAndAdd:function(e,t,n,i){return e[0]=t[0]+n[0]*i,e[1]=t[1]+n[1]*i,e},sub:function(e,t,n){return e[0]=t[0]-n[0],e[1]=t[1]-n[1],e},len:L,length:L,lenSquare:P,lengthSquare:P,mul:function(e,t,n){return e[0]=t[0]*n[0],e[1]=t[1]*n[1],e},div:function(e,t,n){return e[0]=t[0]/n[0],e[1]=t[1]/n[1],e},dot:function(e,t){return e[0]*t[0]+e[1]*t[1]},scale:function(e,t,n){return e[0]=t[0]*n,e[1]=t[1]*n,e},normalize:function(e,t){var n=L(t);return 0===n?(e[0]=0,e[1]=0):(e[0]=t[0]/n,e[1]=t[1]/n),e},distance:N,dist:N,distanceSquare:R,distSquare:R,negate:function(e,t){return e[0]=-t[0],e[1]=-t[1],e},lerp:function(e,t,n,i){return e[0]=t[0]+i*(n[0]-t[0]),e[1]=t[1]+i*(n[1]-t[1]),e},applyTransform:function(e,t,n){var i=t[0],o=t[1];return e[0]=n[0]*i+n[2]*o+n[4],e[1]=n[1]*i+n[3]*o+n[5],e},min:function(e,t,n){return e[0]=Math.min(t[0],n[0]),e[1]=Math.min(t[1],n[1]),e},max:function(e,t,n){return e[0]=Math.max(t[0],n[0]),e[1]=Math.max(t[1],n[1]),e}};function B(){this.on("mousedown",this._dragStart,this),this.on("mousemove",this._drag,this),this.on("mouseup",this._dragEnd,this),this.on("globalout",this._dragEnd,this)}function z(e,t){return{target:e,topTarget:t&&t.topTarget}}B.prototype={constructor:B,_dragStart:function(e){var t=e.target;t&&t.draggable&&(this._draggingTarget=t,t.dragging=!0,this._x=e.offsetX,this._y=e.offsetY,this.dispatchToElement(z(t,e),"dragstart",e.event))},_drag:function(e){var t=this._draggingTarget;if(t){var n=e.offsetX,i=e.offsetY,o=n-this._x,r=i-this._y;this._x=n,this._y=i,t.drift(o,r,e),this.dispatchToElement(z(t,e),"drag",e.event);var a=this.findHover(n,i,t).target,s=this._dropTarget;this._dropTarget=a,t!==a&&(s&&a!==s&&this.dispatchToElement(z(s,e),"dragleave",e.event),a&&a!==s&&this.dispatchToElement(z(a,e),"dragenter",e.event))}},_dragEnd:function(e){var t=this._draggingTarget;t&&(t.dragging=!1),this.dispatchToElement(z(t,e),"dragend",e.event),this._dropTarget&&this.dispatchToElement(z(this._dropTarget,e),"drop",e.event),this._draggingTarget=null,this._dropTarget=null}};var H=B,$=Array.prototype.slice,q=function(e){this._$handlers={},this._$eventProcessor=e};function W(e,t){var n=e._$eventProcessor;return null!=t&&n&&n.normalizeQuery&&(t=n.normalizeQuery(t)),t}q.prototype={constructor:q,one:function(e,t,n,i){var o=this._$handlers;if("function"==typeof t&&(i=n,n=t,t=null),!n||!e)return this;t=W(this,t),o[e]||(o[e]=[]);for(var r=0;r<o[e].length;r++)if(o[e][r].h===n)return this;return o[e].push({h:n,one:!0,query:t,ctx:i||this}),this},on:function(e,t,n,i){var o=this._$handlers;if("function"==typeof t&&(i=n,n=t,t=null),!n||!e)return this;t=W(this,t),o[e]||(o[e]=[]);for(var r=0;r<o[e].length;r++)if(o[e][r].h===n)return this;return o[e].push({h:n,one:!1,query:t,ctx:i||this}),this},isSilent:function(e){var t=this._$handlers;return t[e]&&t[e].length},off:function(e,t){var n=this._$handlers;if(!e)return this._$handlers={},this;if(t){if(n[e]){for(var i=[],o=0,r=n[e].length;o<r;o++)n[e][o].h!==t&&i.push(n[e][o]);n[e]=i}n[e]&&0===n[e].length&&delete n[e]}else delete n[e];return this},trigger:function(e){var t=this._$handlers[e],n=this._$eventProcessor;if(t){var i=arguments,o=i.length;o>3&&(i=$.call(i,1));for(var r=t.length,a=0;a<r;){var s=t[a];if(n&&n.filter&&null!=s.query&&!n.filter(e,s.query))a++;else{switch(o){case 1:s.h.call(s.ctx);break;case 2:s.h.call(s.ctx,i[1]);break;case 3:s.h.call(s.ctx,i[1],i[2]);break;default:s.h.apply(s.ctx,i)}s.one?(t.splice(a,1),r--):a++}}}return n&&n.afterTrigger&&n.afterTrigger(e),this},triggerWithContext:function(e){var t=this._$handlers[e],n=this._$eventProcessor;if(t){var i=arguments,o=i.length;o>4&&(i=$.call(i,1,i.length-1));for(var r=i[i.length-1],a=t.length,s=0;s<a;){var c=t[s];if(n&&n.filter&&null!=c.query&&!n.filter(e,c.query))s++;else{switch(o){case 1:c.h.call(r);break;case 2:c.h.call(r,i[1]);break;case 3:c.h.call(r,i[1],i[2]);break;default:c.h.apply(r,i)}c.one?(t.splice(s,1),a--):s++}}}return n&&n.afterTrigger&&n.afterTrigger(e),this}};var G=q,U=G,K="undefined"!=typeof window&&!!window.addEventListener,Y=/^(?:mouse|pointer|contextmenu|drag|drop)|click/;function Z(e,t,n,i){return n=n||{},i||!c.canvasSupported?X(e,t,n):c.browser.firefox&&null!=t.layerX&&t.layerX!==t.offsetX?(n.zrX=t.layerX,n.zrY=t.layerY):null!=t.offsetX?(n.zrX=t.offsetX,n.zrY=t.offsetY):X(e,t,n),n}function X(e,t,n){var i=function(e){return e.getBoundingClientRect?e.getBoundingClientRect():{left:0,top:0}}(e);n.zrX=t.clientX-i.left,n.zrY=t.clientY-i.top}var Q={Dispatcher:U,clientToLocal:Z,normalizeEvent:function(e,t,n){if(null!=(t=t||window.event).zrX)return t;var i=t.type;if(i&&i.indexOf("touch")>=0){var o="touchend"!=i?t.targetTouches[0]:t.changedTouches[0];o&&Z(e,o,t,n)}else Z(e,t,t,n),t.zrDelta=t.wheelDelta?t.wheelDelta/120:-(t.detail||0)/3;var r=t.button;return null==t.which&&void 0!==r&&Y.test(t.type)&&(t.which=1&r?1:2&r?3:4&r?2:0),t},addEventListener:function(e,t,n){K?e.addEventListener(t,n):e.attachEvent("on"+t,n)},removeEventListener:function(e,t,n){K?e.removeEventListener(t,n):e.detachEvent("on"+t,n)},stop:K?function(e){e.preventDefault(),e.stopPropagation(),e.cancelBubble=!0}:function(e){e.returnValue=!1,e.cancelBubble=!0},notLeftMouse:function(e){return e.which>1}},J="silent";function ee(e){Q.stop(this.event)}function te(){}te.prototype.dispose=function(){};var ne=["click","dblclick","mousewheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],ie=function(e,t,n,i){G.call(this),this.storage=e,this.painter=t,this.painterRoot=i,n=n||new te,this.proxy=null,this._hovered={},this._lastTouchMoment,this._lastX,this._lastY,H.call(this),this.setHandlerProxy(n)};function oe(e,t,n){if(e[e.rectHover?"rectContain":"contain"](t,n)){for(var i,o=e;o;){if(o.clipPath&&!o.clipPath.contain(t,n))return!1;o.silent&&(i=!0),o=o.parent}return!i||J}return!1}ie.prototype={constructor:ie,setHandlerProxy:function(e){this.proxy&&this.proxy.dispose(),e&&(D.each(ne,function(t){e.on&&e.on(t,this[t],this)},this),e.handler=this),this.proxy=e},mousemove:function(e){var t=e.zrX,n=e.zrY,i=this._hovered,o=i.target;o&&!o.__zr&&(o=(i=this.findHover(i.x,i.y)).target);var r=this._hovered=this.findHover(t,n),a=r.target,s=this.proxy;s.setCursor&&s.setCursor(a?a.cursor:"default"),o&&a!==o&&this.dispatchToElement(i,"mouseout",e),this.dispatchToElement(r,"mousemove",e),a&&a!==o&&this.dispatchToElement(r,"mouseover",e)},mouseout:function(e){this.dispatchToElement(this._hovered,"mouseout",e);var t,n=e.toElement||e.relatedTarget;do{n=n&&n.parentNode}while(n&&9!=n.nodeType&&!(t=n===this.painterRoot));!t&&this.trigger("globalout",{event:e})},resize:function(e){this._hovered={}},dispatch:function(e,t){var n=this[e];n&&n.call(this,t)},dispose:function(){this.proxy.dispose(),this.storage=this.proxy=this.painter=null},setCursorStyle:function(e){var t=this.proxy;t.setCursor&&t.setCursor(e)},dispatchToElement:function(e,t,n){var i=(e=e||{}).target;if(!i||!i.silent){for(var o="on"+t,r=function(e,t,n){return{type:e,event:n,target:t.target,topTarget:t.topTarget,cancelBubble:!1,offsetX:n.zrX,offsetY:n.zrY,gestureEvent:n.gestureEvent,pinchX:n.pinchX,pinchY:n.pinchY,pinchScale:n.pinchScale,wheelDelta:n.zrDelta,zrByTouch:n.zrByTouch,which:n.which,stop:ee}}(t,e,n);i&&(i[o]&&(r.cancelBubble=i[o].call(i,r)),i.trigger(t,r),i=i.parent,!r.cancelBubble););r.cancelBubble||(this.trigger(t,r),this.painter&&this.painter.eachOtherLayer(function(e){"function"==typeof e[o]&&e[o].call(e,r),e.trigger&&e.trigger(t,r)}))}},findHover:function(e,t,n){for(var i=this.storage.getDisplayList(),o={x:e,y:t},r=i.length-1;r>=0;r--){var a;if(i[r]!==n&&!i[r].ignore&&(a=oe(i[r],e,t))&&(!o.topTarget&&(o.topTarget=i[r]),a!==J)){o.target=i[r];break}}return o}},D.each(["click","mousedown","mouseup","mousewheel","dblclick","contextmenu"],function(e){ie.prototype[e]=function(t){var n=this.findHover(t.zrX,t.zrY),i=n.target;if("mousedown"===e)this._downEl=i,this._downPoint=[t.zrX,t.zrY],this._upEl=i;else if("mouseup"===e)this._upEl=i;else if("click"===e){if(this._downEl!==this._upEl||!this._downPoint||F.dist(this._downPoint,[t.zrX,t.zrY])>4)return;this._downPoint=null}this.dispatchToElement(n,e,t)}}),D.mixin(ie,G),D.mixin(ie,H);var re=ie,ae="undefined"==typeof Float32Array?Array:Float32Array;function se(){var e=new ae(6);return ce(e),e}function ce(e){return e[0]=1,e[1]=0,e[2]=0,e[3]=1,e[4]=0,e[5]=0,e}function le(e,t){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e[4]=t[4],e[5]=t[5],e}var de={create:se,identity:ce,copy:le,mul:function(e,t,n){var i=t[0]*n[0]+t[2]*n[1],o=t[1]*n[0]+t[3]*n[1],r=t[0]*n[2]+t[2]*n[3],a=t[1]*n[2]+t[3]*n[3],s=t[0]*n[4]+t[2]*n[5]+t[4],c=t[1]*n[4]+t[3]*n[5]+t[5];return e[0]=i,e[1]=o,e[2]=r,e[3]=a,e[4]=s,e[5]=c,e},translate:function(e,t,n){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e[4]=t[4]+n[0],e[5]=t[5]+n[1],e},rotate:function(e,t,n){var i=t[0],o=t[2],r=t[4],a=t[1],s=t[3],c=t[5],l=Math.sin(n),d=Math.cos(n);return e[0]=i*d+a*l,e[1]=-i*l+a*d,e[2]=o*d+s*l,e[3]=-o*l+d*s,e[4]=d*r+l*c,e[5]=d*c-l*r,e},scale:function(e,t,n){var i=n[0],o=n[1];return e[0]=t[0]*i,e[1]=t[1]*o,e[2]=t[2]*i,e[3]=t[3]*o,e[4]=t[4]*i,e[5]=t[5]*o,e},invert:function(e,t){var n=t[0],i=t[2],o=t[4],r=t[1],a=t[3],s=t[5],c=n*a-r*i;return c?(c=1/c,e[0]=a*c,e[1]=-r*c,e[2]=-i*c,e[3]=n*c,e[4]=(i*s-a*o)*c,e[5]=(r*o-n*s)*c,e):null},clone:function(e){var t=se();return le(t,e),t}},ue=de.identity,fe=5e-5;function he(e){return e>fe||e<-fe}var pe=function(e){(e=e||{}).position||(this.position=[0,0]),null==e.rotation&&(this.rotation=0),e.scale||(this.scale=[1,1]),this.origin=this.origin||null},ge=pe.prototype;ge.transform=null,ge.needLocalTransform=function(){return he(this.rotation)||he(this.position[0])||he(this.position[1])||he(this.scale[0]-1)||he(this.scale[1]-1)};var me=[];ge.updateTransform=function(){var e=this.parent,t=e&&e.transform,n=this.needLocalTransform(),i=this.transform;if(n||t){i=i||de.create(),n?this.getLocalTransform(i):ue(i),t&&(n?de.mul(i,e.transform,i):de.copy(i,e.transform)),this.transform=i;var o=this.globalScaleRatio;if(null!=o&&1!==o){this.getGlobalScale(me);var r=me[0]<0?-1:1,a=me[1]<0?-1:1,s=((me[0]-r)*o+r)/me[0]||0,c=((me[1]-a)*o+a)/me[1]||0;i[0]*=s,i[1]*=s,i[2]*=c,i[3]*=c}this.invTransform=this.invTransform||de.create(),de.invert(this.invTransform,i)}else i&&ue(i)},ge.getLocalTransform=function(e){return pe.getLocalTransform(this,e)},ge.setTransform=function(e){var t=this.transform,n=e.dpr||1;t?e.setTransform(n*t[0],n*t[1],n*t[2],n*t[3],n*t[4],n*t[5]):e.setTransform(n,0,0,n,0,0)},ge.restoreTransform=function(e){var t=e.dpr||1;e.setTransform(t,0,0,t,0,0)};var be=[],ve=de.create();ge.setLocalTransform=function(e){if(e){var t=e[0]*e[0]+e[1]*e[1],n=e[2]*e[2]+e[3]*e[3],i=this.position,o=this.scale;he(t-1)&&(t=Math.sqrt(t)),he(n-1)&&(n=Math.sqrt(n)),e[0]<0&&(t=-t),e[3]<0&&(n=-n),i[0]=e[4],i[1]=e[5],o[0]=t,o[1]=n,this.rotation=Math.atan2(-e[1]/n,e[0]/t)}},ge.decomposeTransform=function(){if(this.transform){var e=this.parent,t=this.transform;e&&e.transform&&(de.mul(be,e.invTransform,t),t=be);var n=this.origin;n&&(n[0]||n[1])&&(ve[4]=n[0],ve[5]=n[1],de.mul(be,t,ve),be[4]-=n[0],be[5]-=n[1],t=be),this.setLocalTransform(t)}},ge.getGlobalScale=function(e){var t=this.transform;return e=e||[],t?(e[0]=Math.sqrt(t[0]*t[0]+t[1]*t[1]),e[1]=Math.sqrt(t[2]*t[2]+t[3]*t[3]),t[0]<0&&(e[0]=-e[0]),t[3]<0&&(e[1]=-e[1]),e):(e[0]=1,e[1]=1,e)},ge.transformCoordToLocal=function(e,t){var n=[e,t],i=this.invTransform;return i&&F.applyTransform(n,n,i),n},ge.transformCoordToGlobal=function(e,t){var n=[e,t],i=this.transform;return i&&F.applyTransform(n,n,i),n},pe.getLocalTransform=function(e,t){ue(t=t||[]);var n=e.origin,i=e.scale||[1,1],o=e.rotation||0,r=e.position||[0,0];return n&&(t[4]-=n[0],t[5]-=n[1]),de.scale(t,t,i),o&&de.rotate(t,t,o),n&&(t[4]+=n[0],t[5]+=n[1]),t[4]+=r[0],t[5]+=r[1],t};var ye=pe,_e={linear:function(e){return e},quadraticIn:function(e){return e*e},quadraticOut:function(e){return e*(2-e)},quadraticInOut:function(e){return(e*=2)<1?.5*e*e:-.5*(--e*(e-2)-1)},cubicIn:function(e){return e*e*e},cubicOut:function(e){return--e*e*e+1},cubicInOut:function(e){return(e*=2)<1?.5*e*e*e:.5*((e-=2)*e*e+2)},quarticIn:function(e){return e*e*e*e},quarticOut:function(e){return 1- --e*e*e*e},quarticInOut:function(e){return(e*=2)<1?.5*e*e*e*e:-.5*((e-=2)*e*e*e-2)},quinticIn:function(e){return e*e*e*e*e},quinticOut:function(e){return--e*e*e*e*e+1},quinticInOut:function(e){return(e*=2)<1?.5*e*e*e*e*e:.5*((e-=2)*e*e*e*e+2)},sinusoidalIn:function(e){return 1-Math.cos(e*Math.PI/2)},sinusoidalOut:function(e){return Math.sin(e*Math.PI/2)},sinusoidalInOut:function(e){return.5*(1-Math.cos(Math.PI*e))},exponentialIn:function(e){return 0===e?0:Math.pow(1024,e-1)},exponentialOut:function(e){return 1===e?1:1-Math.pow(2,-10*e)},exponentialInOut:function(e){return 0===e?0:1===e?1:(e*=2)<1?.5*Math.pow(1024,e-1):.5*(2-Math.pow(2,-10*(e-1)))},circularIn:function(e){return 1-Math.sqrt(1-e*e)},circularOut:function(e){return Math.sqrt(1- --e*e)},circularInOut:function(e){return(e*=2)<1?-.5*(Math.sqrt(1-e*e)-1):.5*(Math.sqrt(1-(e-=2)*e)+1)},elasticIn:function(e){var t,n=.1;return 0===e?0:1===e?1:(!n||n<1?(n=1,t=.1):t=.4*Math.asin(1/n)/(2*Math.PI),-n*Math.pow(2,10*(e-=1))*Math.sin((e-t)*(2*Math.PI)/.4))},elasticOut:function(e){var t,n=.1;return 0===e?0:1===e?1:(!n||n<1?(n=1,t=.1):t=.4*Math.asin(1/n)/(2*Math.PI),n*Math.pow(2,-10*e)*Math.sin((e-t)*(2*Math.PI)/.4)+1)},elasticInOut:function(e){var t,n=.1;return 0===e?0:1===e?1:(!n||n<1?(n=1,t=.1):t=.4*Math.asin(1/n)/(2*Math.PI),(e*=2)<1?n*Math.pow(2,10*(e-=1))*Math.sin((e-t)*(2*Math.PI)/.4)*-.5:n*Math.pow(2,-10*(e-=1))*Math.sin((e-t)*(2*Math.PI)/.4)*.5+1)},backIn:function(e){var t=1.70158;return e*e*((t+1)*e-t)},backOut:function(e){var t=1.70158;return--e*e*((t+1)*e+t)+1},backInOut:function(e){var t=2.5949095;return(e*=2)<1?e*e*((t+1)*e-t)*.5:.5*((e-=2)*e*((t+1)*e+t)+2)},bounceIn:function(e){return 1-_e.bounceOut(1-e)},bounceOut:function(e){return e<1/2.75?7.5625*e*e:e<2/2.75?7.5625*(e-=1.5/2.75)*e+.75:e<2.5/2.75?7.5625*(e-=2.25/2.75)*e+.9375:7.5625*(e-=2.625/2.75)*e+.984375},bounceInOut:function(e){return e<.5?.5*_e.bounceIn(2*e):.5*_e.bounceOut(2*e-1)+.5}},we=_e;function xe(e){this._target=e.target,this._life=e.life||1e3,this._delay=e.delay||0,this._initialized=!1,this.loop=null!=e.loop&&e.loop,this.gap=e.gap||0,this.easing=e.easing||"Linear",this.onframe=e.onframe,this.ondestroy=e.ondestroy,this.onrestart=e.onrestart,this._pausedTime=0,this._paused=!1}xe.prototype={constructor:xe,step:function(e,t){if(this._initialized||(this._startTime=e+this._delay,this._initialized=!0),this._paused)this._pausedTime+=t;else{var n=(e-this._startTime-this._pausedTime)/this._life;if(!(n<0)){n=Math.min(n,1);var i=this.easing,o="string"==typeof i?we[i]:i,r="function"==typeof o?o(n):n;return this.fire("frame",r),1==n?this.loop?(this.restart(e),"restart"):(this._needsRemove=!0,"destroy"):null}}},restart:function(e){var t=(e-this._startTime-this._pausedTime)%this._life;this._startTime=e-t+this.gap,this._pausedTime=0,this._needsRemove=!1},fire:function(e,t){this[e="on"+e]&&this[e](this._target,t)},pause:function(){this._paused=!0},resume:function(){this._paused=!1}};var Se=xe,Te=function(){this.head=null,this.tail=null,this._len=0},ke=Te.prototype;ke.insert=function(e){var t=new Ce(e);return this.insertEntry(t),t},ke.insertEntry=function(e){this.head?(this.tail.next=e,e.prev=this.tail,e.next=null,this.tail=e):this.head=this.tail=e,this._len++},ke.remove=function(e){var t=e.prev,n=e.next;t?t.next=n:this.head=n,n?n.prev=t:this.tail=t,e.next=e.prev=null,this._len--},ke.len=function(){return this._len},ke.clear=function(){this.head=this.tail=null,this._len=0};var Ce=function(e){this.value=e,this.next,this.prev},je=function(e){this._list=new Te,this._map={},this._maxSize=e||10,this._lastRemovedEntry=null},Ae=je.prototype;Ae.put=function(e,t){var n=this._list,i=this._map,o=null;if(null==i[e]){var r=n.len(),a=this._lastRemovedEntry;if(r>=this._maxSize&&r>0){var s=n.head;n.remove(s),delete i[s.key],o=s.value,this._lastRemovedEntry=s}a?a.value=t:a=new Ce(t),a.key=e,n.insertEntry(a),i[e]=a}return o},Ae.get=function(e){var t=this._map[e],n=this._list;if(null!=t)return t!==n.tail&&(n.remove(t),n.insertEntry(t)),t.value},Ae.clear=function(){this._list.clear(),this._map={}};var Ee=je,Ie={transparent:[0,0,0,0],aliceblue:[240,248,255,1],antiquewhite:[250,235,215,1],aqua:[0,255,255,1],aquamarine:[127,255,212,1],azure:[240,255,255,1],beige:[245,245,220,1],bisque:[255,228,196,1],black:[0,0,0,1],blanchedalmond:[255,235,205,1],blue:[0,0,255,1],blueviolet:[138,43,226,1],brown:[165,42,42,1],burlywood:[222,184,135,1],cadetblue:[95,158,160,1],chartreuse:[127,255,0,1],chocolate:[210,105,30,1],coral:[255,127,80,1],cornflowerblue:[100,149,237,1],cornsilk:[255,248,220,1],crimson:[220,20,60,1],cyan:[0,255,255,1],darkblue:[0,0,139,1],darkcyan:[0,139,139,1],darkgoldenrod:[184,134,11,1],darkgray:[169,169,169,1],darkgreen:[0,100,0,1],darkgrey:[169,169,169,1],darkkhaki:[189,183,107,1],darkmagenta:[139,0,139,1],darkolivegreen:[85,107,47,1],darkorange:[255,140,0,1],darkorchid:[153,50,204,1],darkred:[139,0,0,1],darksalmon:[233,150,122,1],darkseagreen:[143,188,143,1],darkslateblue:[72,61,139,1],darkslategray:[47,79,79,1],darkslategrey:[47,79,79,1],darkturquoise:[0,206,209,1],darkviolet:[148,0,211,1],deeppink:[255,20,147,1],deepskyblue:[0,191,255,1],dimgray:[105,105,105,1],dimgrey:[105,105,105,1],dodgerblue:[30,144,255,1],firebrick:[178,34,34,1],floralwhite:[255,250,240,1],forestgreen:[34,139,34,1],fuchsia:[255,0,255,1],gainsboro:[220,220,220,1],ghostwhite:[248,248,255,1],gold:[255,215,0,1],goldenrod:[218,165,32,1],gray:[128,128,128,1],green:[0,128,0,1],greenyellow:[173,255,47,1],grey:[128,128,128,1],honeydew:[240,255,240,1],hotpink:[255,105,180,1],indianred:[205,92,92,1],indigo:[75,0,130,1],ivory:[255,255,240,1],khaki:[240,230,140,1],lavender:[230,230,250,1],lavenderblush:[255,240,245,1],lawngreen:[124,252,0,1],lemonchiffon:[255,250,205,1],lightblue:[173,216,230,1],lightcoral:[240,128,128,1],lightcyan:[224,255,255,1],lightgoldenrodyellow:[250,250,210,1],lightgray:[211,211,211,1],lightgreen:[144,238,144,1],lightgrey:[211,211,211,1],lightpink:[255,182,193,1],lightsalmon:[255,160,122,1],lightseagreen:[32,178,170,1],lightskyblue:[135,206,250,1],lightslategray:[119,136,153,1],lightslategrey:[119,136,153,1],lightsteelblue:[176,196,222,1],lightyellow:[255,255,224,1],lime:[0,255,0,1],limegreen:[50,205,50,1],linen:[250,240,230,1],magenta:[255,0,255,1],maroon:[128,0,0,1],mediumaquamarine:[102,205,170,1],mediumblue:[0,0,205,1],mediumorchid:[186,85,211,1],mediumpurple:[147,112,219,1],mediumseagreen:[60,179,113,1],mediumslateblue:[123,104,238,1],mediumspringgreen:[0,250,154,1],mediumturquoise:[72,209,204,1],mediumvioletred:[199,21,133,1],midnightblue:[25,25,112,1],mintcream:[245,255,250,1],mistyrose:[255,228,225,1],moccasin:[255,228,181,1],navajowhite:[255,222,173,1],navy:[0,0,128,1],oldlace:[253,245,230,1],olive:[128,128,0,1],olivedrab:[107,142,35,1],orange:[255,165,0,1],orangered:[255,69,0,1],orchid:[218,112,214,1],palegoldenrod:[238,232,170,1],palegreen:[152,251,152,1],paleturquoise:[175,238,238,1],palevioletred:[219,112,147,1],papayawhip:[255,239,213,1],peachpuff:[255,218,185,1],peru:[205,133,63,1],pink:[255,192,203,1],plum:[221,160,221,1],powderblue:[176,224,230,1],purple:[128,0,128,1],red:[255,0,0,1],rosybrown:[188,143,143,1],royalblue:[65,105,225,1],saddlebrown:[139,69,19,1],salmon:[250,128,114,1],sandybrown:[244,164,96,1],seagreen:[46,139,87,1],seashell:[255,245,238,1],sienna:[160,82,45,1],silver:[192,192,192,1],skyblue:[135,206,235,1],slateblue:[106,90,205,1],slategray:[112,128,144,1],slategrey:[112,128,144,1],snow:[255,250,250,1],springgreen:[0,255,127,1],steelblue:[70,130,180,1],tan:[210,180,140,1],teal:[0,128,128,1],thistle:[216,191,216,1],tomato:[255,99,71,1],turquoise:[64,224,208,1],violet:[238,130,238,1],wheat:[245,222,179,1],white:[255,255,255,1],whitesmoke:[245,245,245,1],yellow:[255,255,0,1],yellowgreen:[154,205,50,1]};function Me(e){return(e=Math.round(e))<0?0:e>255?255:e}function Oe(e){return e<0?0:e>1?1:e}function De(e){return e.length&&"%"===e.charAt(e.length-1)?Me(parseFloat(e)/100*255):Me(parseInt(e,10))}function Ve(e){return e.length&&"%"===e.charAt(e.length-1)?Oe(parseFloat(e)/100):Oe(parseFloat(e))}function Le(e,t,n){return n<0?n+=1:n>1&&(n-=1),6*n<1?e+(t-e)*n*6:2*n<1?t:3*n<2?e+(t-e)*(2/3-n)*6:e}function Pe(e,t,n){return e+(t-e)*n}function Ne(e,t,n,i,o){return e[0]=t,e[1]=n,e[2]=i,e[3]=o,e}function Re(e,t){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e}var Fe=new Ee(20),Be=null;function ze(e,t){Be&&Re(Be,t),Be=Fe.put(e,Be||t.slice())}function He(e,t){if(e){t=t||[];var n=Fe.get(e);if(n)return Re(t,n);var i,o=(e+="").replace(/ /g,"").toLowerCase();if(o in Ie)return Re(t,Ie[o]),ze(e,t),t;if("#"===o.charAt(0))return 4===o.length?(i=parseInt(o.substr(1),16))>=0&&i<=4095?(Ne(t,(3840&i)>>4|(3840&i)>>8,240&i|(240&i)>>4,15&i|(15&i)<<4,1),ze(e,t),t):void Ne(t,0,0,0,1):7===o.length?(i=parseInt(o.substr(1),16))>=0&&i<=16777215?(Ne(t,(16711680&i)>>16,(65280&i)>>8,255&i,1),ze(e,t),t):void Ne(t,0,0,0,1):void 0;var r=o.indexOf("("),a=o.indexOf(")");if(-1!==r&&a+1===o.length){var s=o.substr(0,r),c=o.substr(r+1,a-(r+1)).split(","),l=1;switch(s){case"rgba":if(4!==c.length)return void Ne(t,0,0,0,1);l=Ve(c.pop());case"rgb":return 3!==c.length?void Ne(t,0,0,0,1):(Ne(t,De(c[0]),De(c[1]),De(c[2]),l),ze(e,t),t);case"hsla":return 4!==c.length?void Ne(t,0,0,0,1):(c[3]=Ve(c[3]),$e(c,t),ze(e,t),t);case"hsl":return 3!==c.length?void Ne(t,0,0,0,1):($e(c,t),ze(e,t),t);default:return}}Ne(t,0,0,0,1)}}function $e(e,t){var n=(parseFloat(e[0])%360+360)%360/360,i=Ve(e[1]),o=Ve(e[2]),r=o<=.5?o*(i+1):o+i-o*i,a=2*o-r;return Ne(t=t||[],Me(255*Le(a,r,n+1/3)),Me(255*Le(a,r,n)),Me(255*Le(a,r,n-1/3)),1),4===e.length&&(t[3]=e[3]),t}function qe(e,t,n){if(t&&t.length&&e>=0&&e<=1){n=n||[];var i=e*(t.length-1),o=Math.floor(i),r=Math.ceil(i),a=t[o],s=t[r],c=i-o;return n[0]=Me(Pe(a[0],s[0],c)),n[1]=Me(Pe(a[1],s[1],c)),n[2]=Me(Pe(a[2],s[2],c)),n[3]=Oe(Pe(a[3],s[3],c)),n}}function We(e,t,n){if(t&&t.length&&e>=0&&e<=1){var i=e*(t.length-1),o=Math.floor(i),r=Math.ceil(i),a=He(t[o]),s=He(t[r]),c=i-o,l=Ge([Me(Pe(a[0],s[0],c)),Me(Pe(a[1],s[1],c)),Me(Pe(a[2],s[2],c)),Oe(Pe(a[3],s[3],c))],"rgba");return n?{color:l,leftIndex:o,rightIndex:r,value:i}:l}}function Ge(e,t){if(e&&e.length){var n=e[0]+","+e[1]+","+e[2];return"rgba"!==t&&"hsva"!==t&&"hsla"!==t||(n+=","+e[3]),t+"("+n+")"}}var Ue={parse:He,lift:function(e,t){var n=He(e);if(n){for(var i=0;i<3;i++)n[i]=t<0?n[i]*(1-t)|0:(255-n[i])*t+n[i]|0,n[i]>255?n[i]=255:e[i]<0&&(n[i]=0);return Ge(n,4===n.length?"rgba":"rgb")}},toHex:function(e){var t=He(e);if(t)return((1<<24)+(t[0]<<16)+(t[1]<<8)+ +t[2]).toString(16).slice(1)},fastLerp:qe,fastMapToColor:qe,lerp:We,mapToColor:We,modifyHSL:function(e,t,n,i){if(e=He(e))return e=function(e){if(e){var t,n,i=e[0]/255,o=e[1]/255,r=e[2]/255,a=Math.min(i,o,r),s=Math.max(i,o,r),c=s-a,l=(s+a)/2;if(0===c)t=0,n=0;else{n=l<.5?c/(s+a):c/(2-s-a);var d=((s-i)/6+c/2)/c,u=((s-o)/6+c/2)/c,f=((s-r)/6+c/2)/c;i===s?t=f-u:o===s?t=1/3+d-f:r===s&&(t=2/3+u-d),t<0&&(t+=1),t>1&&(t-=1)}var h=[360*t,n,l];return null!=e[3]&&h.push(e[3]),h}}(e),null!=t&&(e[0]=(o=t,(o=Math.round(o))<0?0:o>360?360:o)),null!=n&&(e[1]=Ve(n)),null!=i&&(e[2]=Ve(i)),Ge($e(e),"rgba");var o},modifyAlpha:function(e,t){if((e=He(e))&&null!=t)return e[3]=Oe(t),Ge(e,"rgba")},stringify:Ge},Ke=D.isArrayLike,Ye=Array.prototype.slice;function Ze(e,t){return e[t]}function Xe(e,t,n){e[t]=n}function Qe(e,t,n){return(t-e)*n+e}function Je(e,t,n){return n>.5?t:e}function et(e,t,n,i,o){var r=e.length;if(1==o)for(var a=0;a<r;a++)i[a]=Qe(e[a],t[a],n);else{var s=r&&e[0].length;for(a=0;a<r;a++)for(var c=0;c<s;c++)i[a][c]=Qe(e[a][c],t[a][c],n)}}function tt(e,t,n){var i=e.length,o=t.length;if(i!==o)if(i>o)e.length=o;else for(var r=i;r<o;r++)e.push(1===n?t[r]:Ye.call(t[r]));var a=e[0]&&e[0].length;for(r=0;r<e.length;r++)if(1===n)isNaN(e[r])&&(e[r]=t[r]);else for(var s=0;s<a;s++)isNaN(e[r][s])&&(e[r][s]=t[r][s])}function nt(e,t,n){if(e===t)return!0;var i=e.length;if(i!==t.length)return!1;if(1===n){for(var o=0;o<i;o++)if(e[o]!==t[o])return!1}else{var r=e[0].length;for(o=0;o<i;o++)for(var a=0;a<r;a++)if(e[o][a]!==t[o][a])return!1}return!0}function it(e,t,n,i,o,r,a,s,c){var l=e.length;if(1==c)for(var d=0;d<l;d++)s[d]=ot(e[d],t[d],n[d],i[d],o,r,a);else{var u=e[0].length;for(d=0;d<l;d++)for(var f=0;f<u;f++)s[d][f]=ot(e[d][f],t[d][f],n[d][f],i[d][f],o,r,a)}}function ot(e,t,n,i,o,r,a){var s=.5*(n-e),c=.5*(i-t);return(2*(t-n)+s+c)*a+(-3*(t-n)-2*s-c)*r+s*o+t}function rt(e){if(Ke(e)){var t=e.length;if(Ke(e[0])){for(var n=[],i=0;i<t;i++)n.push(Ye.call(e[i]));return n}return Ye.call(e)}return e}function at(e){return e[0]=Math.floor(e[0]),e[1]=Math.floor(e[1]),e[2]=Math.floor(e[2]),"rgba("+e.join(",")+")"}function st(e,t,n,i,o,r){var a=e._getter,s=e._setter,c="spline"===t,l=i.length;if(l){var d,u=i[0].value,f=Ke(u),h=!1,p=!1,g=f?function(e){var t=e[e.length-1].value;return Ke(t&&t[0])?2:1}(i):0;i.sort(function(e,t){return e.time-t.time}),d=i[l-1].time;for(var m=[],b=[],v=i[0].value,y=!0,_=0;_<l;_++){m.push(i[_].time/d);var w=i[_].value;if(f&&nt(w,v,g)||!f&&w===v||(y=!1),v=w,"string"==typeof w){var x=Ue.parse(w);x?(w=x,h=!0):p=!0}b.push(w)}if(r||!y){var S=b[l-1];for(_=0;_<l-1;_++)f?tt(b[_],S,g):!isNaN(b[_])||isNaN(S)||p||h||(b[_]=S);f&&tt(a(e._target,o),S,g);var T,k,C,j,A,E=0,I=0;if(h)var M=[0,0,0,0];var O=new Se({target:e._target,life:d,loop:e._loop,delay:e._delay,onframe:function(e,t){var n;if(t<0)n=0;else if(t<I){for(n=Math.min(E+1,l-1);n>=0&&!(m[n]<=t);n--);n=Math.min(n,l-2)}else{for(n=E;n<l&&!(m[n]>t);n++);n=Math.min(n-1,l-2)}E=n,I=t;var i=m[n+1]-m[n];if(0!==i)if(T=(t-m[n])/i,c)if(C=b[n],k=b[0===n?n:n-1],j=b[n>l-2?l-1:n+1],A=b[n>l-3?l-1:n+2],f)it(k,C,j,A,T,T*T,T*T*T,a(e,o),g);else{if(h)r=it(k,C,j,A,T,T*T,T*T*T,M,1),r=at(M);else{if(p)return Je(C,j,T);r=ot(k,C,j,A,T,T*T,T*T*T)}s(e,o,r)}else if(f)et(b[n],b[n+1],T,a(e,o),g);else{var r;if(h)et(b[n],b[n+1],T,M,1),r=at(M);else{if(p)return Je(b[n],b[n+1],T);r=Qe(b[n],b[n+1],T)}s(e,o,r)}},ondestroy:n});return t&&"spline"!==t&&(O.easing=t),O}}}var ct=function(e,t,n,i){this._tracks={},this._target=e,this._loop=t||!1,this._getter=n||Ze,this._setter=i||Xe,this._clipCount=0,this._delay=0,this._doneList=[],this._onframeList=[],this._clipList=[]};ct.prototype={when:function(e,t){var n=this._tracks;for(var i in t)if(t.hasOwnProperty(i)){if(!n[i]){n[i]=[];var o=this._getter(this._target,i);if(null==o)continue;0!==e&&n[i].push({time:0,value:rt(o)})}n[i].push({time:e,value:t[i]})}return this},during:function(e){return this._onframeList.push(e),this},pause:function(){for(var e=0;e<this._clipList.length;e++)this._clipList[e].pause();this._paused=!0},resume:function(){for(var e=0;e<this._clipList.length;e++)this._clipList[e].resume();this._paused=!1},isPaused:function(){return!!this._paused},_doneCallback:function(){this._tracks={},this._clipList.length=0;for(var e=this._doneList,t=e.length,n=0;n<t;n++)e[n].call(this)},start:function(e,t){var n,i=this,o=0,r=function(){--o||i._doneCallback()};for(var a in this._tracks)if(this._tracks.hasOwnProperty(a)){var s=st(this,e,r,this._tracks[a],a,t);s&&(this._clipList.push(s),o++,this.animation&&this.animation.addClip(s),n=s)}if(n){var c=n.onframe;n.onframe=function(e,t){c(e,t);for(var n=0;n<i._onframeList.length;n++)i._onframeList[n](e,t)}}return o||this._doneCallback(),this},stop:function(e){for(var t=this._clipList,n=this.animation,i=0;i<t.length;i++){var o=t[i];e&&o.onframe(this._target,1),n&&n.removeClip(o)}t.length=0},delay:function(e){return this._delay=e,this},done:function(e){return e&&this._doneList.push(e),this},getClips:function(){return this._clipList}};var lt=ct,dt=1;"undefined"!=typeof window&&(dt=Math.max(window.devicePixelRatio||1,1));var ut={debugMode:0,devicePixelRatio:dt},ft=ut.debugMode,ht=function(){};1===ft?ht=function(){for(var e in arguments)throw new Error(arguments[e])}:ft>1&&(ht=function(){for(var e in arguments)console.log(arguments[e])});var pt=ht,gt=D.isString,mt=D.isFunction,bt=D.isObject,vt=D.isArrayLike,yt=D.indexOf,_t=function(){this.animators=[]};function wt(e,t,n,i,o,r,a,s){gt(i)?(r=o,o=i,i=0):mt(o)?(r=o,o="linear",i=0):mt(i)?(r=i,i=0):mt(n)?(r=n,n=500):n||(n=500),e.stopAnimation(),function e(t,n,i,o,r,a,s){var c={};var l=0;for(var d in o)o.hasOwnProperty(d)&&(null!=i[d]?bt(o[d])&&!vt(o[d])?e(t,n?n+"."+d:d,i[d],o[d],r,a,s):(s?(c[d]=i[d],xt(t,n,d,o[d])):c[d]=o[d],l++):null==o[d]||s||xt(t,n,d,o[d]));l>0&&t.animate(n,!1).when(null==r?500:r,c).delay(a||0)}(e,"",e,t,n,i,s);var c=e.animators.slice(),l=c.length;function d(){--l||r&&r()}l||r&&r();for(var u=0;u<c.length;u++)c[u].done(d).start(o,a)}function xt(e,t,n,i){if(t){var o={};o[t]={},o[t][n]=i,e.attr(o)}else e.attr(n,i)}_t.prototype={constructor:_t,animate:function(e,t){var n,i=!1,o=this,r=this.__zr;if(e){var a=e.split("."),s=o;i="shape"===a[0];for(var c=0,l=a.length;c<l;c++)s&&(s=s[a[c]]);s&&(n=s)}else n=o;if(n){var d=o.animators,u=new lt(n,t);return u.during(function(e){o.dirty(i)}).done(function(){d.splice(yt(d,u),1)}),d.push(u),r&&r.animation.addAnimator(u),u}pt('Property "'+e+'" is not existed in element '+o.id)},stopAnimation:function(e){for(var t=this.animators,n=t.length,i=0;i<n;i++)t[i].stop(e);return t.length=0,this},animateTo:function(e,t,n,i,o,r){wt(this,e,t,n,i,o,r)},animateFrom:function(e,t,n,i,o,r){wt(this,e,t,n,i,o,r,!0)}};var St=_t,Tt=function(e){ye.call(this,e),G.call(this,e),St.call(this,e),this.id=e.id||s()};Tt.prototype={type:"element",name:"",__zr:null,ignore:!1,clipPath:null,isGroup:!1,drift:function(e,t){switch(this.draggable){case"horizontal":t=0;break;case"vertical":e=0}var n=this.transform;n||(n=this.transform=[1,0,0,1,0,0]),n[4]+=e,n[5]+=t,this.decomposeTransform(),this.dirty(!1)},beforeUpdate:function(){},afterUpdate:function(){},update:function(){this.updateTransform()},traverse:function(e,t){},attrKV:function(e,t){if("position"===e||"scale"===e||"origin"===e){if(t){var n=this[e];n||(n=this[e]=[]),n[0]=t[0],n[1]=t[1]}}else this[e]=t},hide:function(){this.ignore=!0,this.__zr&&this.__zr.refresh()},show:function(){this.ignore=!1,this.__zr&&this.__zr.refresh()},attr:function(e,t){if("string"==typeof e)this.attrKV(e,t);else if(D.isObject(e))for(var n in e)e.hasOwnProperty(n)&&this.attrKV(n,e[n]);return this.dirty(!1),this},setClipPath:function(e){var t=this.__zr;t&&e.addSelfToZr(t),this.clipPath&&this.clipPath!==e&&this.removeClipPath(),this.clipPath=e,e.__zr=t,e.__clipTarget=this,this.dirty(!1)},removeClipPath:function(){var e=this.clipPath;e&&(e.__zr&&e.removeSelfFromZr(e.__zr),e.__zr=null,e.__clipTarget=null,this.clipPath=null,this.dirty(!1))},addSelfToZr:function(e){this.__zr=e;var t=this.animators;if(t)for(var n=0;n<t.length;n++)e.animation.addAnimator(t[n]);this.clipPath&&this.clipPath.addSelfToZr(e)},removeSelfFromZr:function(e){this.__zr=null;var t=this.animators;if(t)for(var n=0;n<t.length;n++)e.animation.removeAnimator(t[n]);this.clipPath&&this.clipPath.removeSelfFromZr(e)}},D.mixin(Tt,St),D.mixin(Tt,ye),D.mixin(Tt,G);var kt,Ct,jt,At,Et=Tt,It=F.applyTransform,Mt=Math.min,Ot=Math.max;function Dt(e,t,n,i){n<0&&(e+=n,n=-n),i<0&&(t+=i,i=-i),this.x=e,this.y=t,this.width=n,this.height=i}Dt.prototype={constructor:Dt,union:function(e){var t=Mt(e.x,this.x),n=Mt(e.y,this.y);this.width=Ot(e.x+e.width,this.x+this.width)-t,this.height=Ot(e.y+e.height,this.y+this.height)-n,this.x=t,this.y=n},applyTransform:(kt=[],Ct=[],jt=[],At=[],function(e){if(e){kt[0]=jt[0]=this.x,kt[1]=At[1]=this.y,Ct[0]=At[0]=this.x+this.width,Ct[1]=jt[1]=this.y+this.height,It(kt,kt,e),It(Ct,Ct,e),It(jt,jt,e),It(At,At,e),this.x=Mt(kt[0],Ct[0],jt[0],At[0]),this.y=Mt(kt[1],Ct[1],jt[1],At[1]);var t=Ot(kt[0],Ct[0],jt[0],At[0]),n=Ot(kt[1],Ct[1],jt[1],At[1]);this.width=t-this.x,this.height=n-this.y}}),calculateTransform:function(e){var t=this,n=e.width/t.width,i=e.height/t.height,o=de.create();return de.translate(o,o,[-t.x,-t.y]),de.scale(o,o,[n,i]),de.translate(o,o,[e.x,e.y]),o},intersect:function(e){if(!e)return!1;e instanceof Dt||(e=Dt.create(e));var t=this,n=t.x,i=t.x+t.width,o=t.y,r=t.y+t.height,a=e.x,s=e.x+e.width,c=e.y,l=e.y+e.height;return!(i<a||s<n||r<c||l<o)},contain:function(e,t){return e>=this.x&&e<=this.x+this.width&&t>=this.y&&t<=this.y+this.height},clone:function(){return new Dt(this.x,this.y,this.width,this.height)},copy:function(e){this.x=e.x,this.y=e.y,this.width=e.width,this.height=e.height},plain:function(){return{x:this.x,y:this.y,width:this.width,height:this.height}}},Dt.create=function(e){return new Dt(e.x,e.y,e.width,e.height)};var Vt=Dt,Lt=function(e){for(var t in e=e||{},Et.call(this,e),e)e.hasOwnProperty(t)&&(this[t]=e[t]);this._children=[],this.__storage=null,this.__dirty=!0};Lt.prototype={constructor:Lt,isGroup:!0,type:"group",silent:!1,children:function(){return this._children.slice()},childAt:function(e){return this._children[e]},childOfName:function(e){for(var t=this._children,n=0;n<t.length;n++)if(t[n].name===e)return t[n]},childCount:function(){return this._children.length},add:function(e){return e&&e!==this&&e.parent!==this&&(this._children.push(e),this._doAdd(e)),this},addBefore:function(e,t){if(e&&e!==this&&e.parent!==this&&t&&t.parent===this){var n=this._children,i=n.indexOf(t);i>=0&&(n.splice(i,0,e),this._doAdd(e))}return this},_doAdd:function(e){e.parent&&e.parent.remove(e),e.parent=this;var t=this.__storage,n=this.__zr;t&&t!==e.__storage&&(t.addToStorage(e),e instanceof Lt&&e.addChildrenToStorage(t)),n&&n.refresh()},remove:function(e){var t=this.__zr,n=this.__storage,i=this._children,o=D.indexOf(i,e);return o<0?this:(i.splice(o,1),e.parent=null,n&&(n.delFromStorage(e),e instanceof Lt&&e.delChildrenFromStorage(n)),t&&t.refresh(),this)},removeAll:function(){var e,t,n=this._children,i=this.__storage;for(t=0;t<n.length;t++)e=n[t],i&&(i.delFromStorage(e),e instanceof Lt&&e.delChildrenFromStorage(i)),e.parent=null;return n.length=0,this},eachChild:function(e,t){for(var n=this._children,i=0;i<n.length;i++){var o=n[i];e.call(t,o,i)}return this},traverse:function(e,t){for(var n=0;n<this._children.length;n++){var i=this._children[n];e.call(t,i),"group"===i.type&&i.traverse(e,t)}return this},addChildrenToStorage:function(e){for(var t=0;t<this._children.length;t++){var n=this._children[t];e.addToStorage(n),n instanceof Lt&&n.addChildrenToStorage(e)}},delChildrenFromStorage:function(e){for(var t=0;t<this._children.length;t++){var n=this._children[t];e.delFromStorage(n),n instanceof Lt&&n.delChildrenFromStorage(e)}},dirty:function(){return this.__dirty=!0,this.__zr&&this.__zr.refresh(),this},getBoundingRect:function(e){for(var t=null,n=new Vt(0,0,0,0),i=e||this._children,o=[],r=0;r<i.length;r++){var a=i[r];if(!a.ignore&&!a.invisible){var s=a.getBoundingRect(),c=a.getLocalTransform(o);c?(n.copy(s),n.applyTransform(c),(t=t||n.clone()).union(n)):(t=t||s.clone()).union(s)}}return t||n}},D.inherits(Lt,Et);var Pt=Lt,Nt=32,Rt=7;function Ft(e,t,n,i){var o=t+1;if(o===n)return 1;if(i(e[o++],e[t])<0){for(;o<n&&i(e[o],e[o-1])<0;)o++;!function(e,t,n){n--;for(;t<n;){var i=e[t];e[t++]=e[n],e[n--]=i}}(e,t,o)}else for(;o<n&&i(e[o],e[o-1])>=0;)o++;return o-t}function Bt(e,t,n,i,o){for(i===t&&i++;i<n;i++){for(var r,a=e[i],s=t,c=i;s<c;)o(a,e[r=s+c>>>1])<0?c=r:s=r+1;var l=i-s;switch(l){case 3:e[s+3]=e[s+2];case 2:e[s+2]=e[s+1];case 1:e[s+1]=e[s];break;default:for(;l>0;)e[s+l]=e[s+l-1],l--}e[s]=a}}function zt(e,t,n,i,o,r){var a=0,s=0,c=1;if(r(e,t[n+o])>0){for(s=i-o;c<s&&r(e,t[n+o+c])>0;)a=c,(c=1+(c<<1))<=0&&(c=s);c>s&&(c=s),a+=o,c+=o}else{for(s=o+1;c<s&&r(e,t[n+o-c])<=0;)a=c,(c=1+(c<<1))<=0&&(c=s);c>s&&(c=s);var l=a;a=o-c,c=o-l}for(a++;a<c;){var d=a+(c-a>>>1);r(e,t[n+d])>0?a=d+1:c=d}return c}function Ht(e,t,n,i,o,r){var a=0,s=0,c=1;if(r(e,t[n+o])<0){for(s=o+1;c<s&&r(e,t[n+o-c])<0;)a=c,(c=1+(c<<1))<=0&&(c=s);c>s&&(c=s);var l=a;a=o-c,c=o-l}else{for(s=i-o;c<s&&r(e,t[n+o+c])>=0;)a=c,(c=1+(c<<1))<=0&&(c=s);c>s&&(c=s),a+=o,c+=o}for(a++;a<c;){var d=a+(c-a>>>1);r(e,t[n+d])<0?c=d:a=d+1}return c}function $t(e,t){var n,i,o=Rt,r=0;e.length;var a=[];function s(s){var c=n[s],l=i[s],d=n[s+1],u=i[s+1];i[s]=l+u,s===r-3&&(n[s+1]=n[s+2],i[s+1]=i[s+2]),r--;var f=Ht(e[d],e,c,l,0,t);c+=f,0!==(l-=f)&&0!==(u=zt(e[c+l-1],e,d,u,u-1,t))&&(l<=u?function(n,i,r,s){var c=0;for(c=0;c<i;c++)a[c]=e[n+c];var l=0,d=r,u=n;if(e[u++]=e[d++],0==--s){for(c=0;c<i;c++)e[u+c]=a[l+c];return}if(1===i){for(c=0;c<s;c++)e[u+c]=e[d+c];return void(e[u+s]=a[l])}var f,h,p,g=o;for(;;){f=0,h=0,p=!1;do{if(t(e[d],a[l])<0){if(e[u++]=e[d++],h++,f=0,0==--s){p=!0;break}}else if(e[u++]=a[l++],f++,h=0,1==--i){p=!0;break}}while((f|h)<g);if(p)break;do{if(0!==(f=Ht(e[d],a,l,i,0,t))){for(c=0;c<f;c++)e[u+c]=a[l+c];if(u+=f,l+=f,(i-=f)<=1){p=!0;break}}if(e[u++]=e[d++],0==--s){p=!0;break}if(0!==(h=zt(a[l],e,d,s,0,t))){for(c=0;c<h;c++)e[u+c]=e[d+c];if(u+=h,d+=h,0===(s-=h)){p=!0;break}}if(e[u++]=a[l++],1==--i){p=!0;break}g--}while(f>=Rt||h>=Rt);if(p)break;g<0&&(g=0),g+=2}if((o=g)<1&&(o=1),1===i){for(c=0;c<s;c++)e[u+c]=e[d+c];e[u+s]=a[l]}else{if(0===i)throw new Error;for(c=0;c<i;c++)e[u+c]=a[l+c]}}(c,l,d,u):function(n,i,r,s){var c=0;for(c=0;c<s;c++)a[c]=e[r+c];var l=n+i-1,d=s-1,u=r+s-1,f=0,h=0;if(e[u--]=e[l--],0==--i){for(f=u-(s-1),c=0;c<s;c++)e[f+c]=a[c];return}if(1===s){for(h=(u-=i)+1,f=(l-=i)+1,c=i-1;c>=0;c--)e[h+c]=e[f+c];return void(e[u]=a[d])}var p=o;for(;;){var g=0,m=0,b=!1;do{if(t(a[d],e[l])<0){if(e[u--]=e[l--],g++,m=0,0==--i){b=!0;break}}else if(e[u--]=a[d--],m++,g=0,1==--s){b=!0;break}}while((g|m)<p);if(b)break;do{if(0!==(g=i-Ht(a[d],e,n,i,i-1,t))){for(i-=g,h=(u-=g)+1,f=(l-=g)+1,c=g-1;c>=0;c--)e[h+c]=e[f+c];if(0===i){b=!0;break}}if(e[u--]=a[d--],1==--s){b=!0;break}if(0!==(m=s-zt(e[l],a,0,s,s-1,t))){for(s-=m,h=(u-=m)+1,f=(d-=m)+1,c=0;c<m;c++)e[h+c]=a[f+c];if(s<=1){b=!0;break}}if(e[u--]=e[l--],0==--i){b=!0;break}p--}while(g>=Rt||m>=Rt);if(b)break;p<0&&(p=0),p+=2}(o=p)<1&&(o=1);if(1===s){for(h=(u-=i)+1,f=(l-=i)+1,c=i-1;c>=0;c--)e[h+c]=e[f+c];e[u]=a[d]}else{if(0===s)throw new Error;for(f=u-(s-1),c=0;c<s;c++)e[f+c]=a[c]}}(c,l,d,u))}n=[],i=[],this.mergeRuns=function(){for(;r>1;){var e=r-2;if(e>=1&&i[e-1]<=i[e]+i[e+1]||e>=2&&i[e-2]<=i[e]+i[e-1])i[e-1]<i[e+1]&&e--;else if(i[e]>i[e+1])break;s(e)}},this.forceMergeRuns=function(){for(;r>1;){var e=r-2;e>0&&i[e-1]<i[e+1]&&e--,s(e)}},this.pushRun=function(e,t){n[r]=e,i[r]=t,r+=1}}var qt=function(e,t,n,i){n||(n=0),i||(i=e.length);var o=i-n;if(!(o<2)){var r=0;if(o<Nt)Bt(e,n,i,n+(r=Ft(e,n,i,t)),t);else{var a=new $t(e,t),s=function(e){for(var t=0;e>=Nt;)t|=1&e,e>>=1;return e+t}(o);do{if((r=Ft(e,n,i,t))<s){var c=o;c>s&&(c=s),Bt(e,n,n+c,n+r,t),r=c}a.pushRun(n,r),a.mergeRuns(),o-=r,n+=r}while(0!==o);a.forceMergeRuns()}}};function Wt(e,t){return e.zlevel===t.zlevel?e.z===t.z?e.z2-t.z2:e.z-t.z:e.zlevel-t.zlevel}var Gt=function(){this._roots=[],this._displayList=[],this._displayListLen=0};Gt.prototype={constructor:Gt,traverse:function(e,t){for(var n=0;n<this._roots.length;n++)this._roots[n].traverse(e,t)},getDisplayList:function(e,t){return t=t||!1,e&&this.updateDisplayList(t),this._displayList},updateDisplayList:function(e){this._displayListLen=0;for(var t=this._roots,n=this._displayList,i=0,o=t.length;i<o;i++)this._updateAndAddDisplayable(t[i],null,e);n.length=this._displayListLen,c.canvasSupported&&qt(n,Wt)},_updateAndAddDisplayable:function(e,t,n){if(!e.ignore||n){e.beforeUpdate(),e.__dirty&&e.update(),e.afterUpdate();var i=e.clipPath;if(i){t=t?t.slice():[];for(var o=i,r=e;o;)o.parent=r,o.updateTransform(),t.push(o),r=o,o=o.clipPath}if(e.isGroup){for(var a=e._children,s=0;s<a.length;s++){var c=a[s];e.__dirty&&(c.__dirty=!0),this._updateAndAddDisplayable(c,t,n)}e.__dirty=!1}else e.__clipPaths=t,this._displayList[this._displayListLen++]=e}},addRoot:function(e){e.__storage!==this&&(e instanceof Pt&&e.addChildrenToStorage(this),this.addToStorage(e),this._roots.push(e))},delRoot:function(e){if(null==e){for(var t=0;t<this._roots.length;t++){var n=this._roots[t];n instanceof Pt&&n.delChildrenFromStorage(this)}return this._roots=[],this._displayList=[],void(this._displayListLen=0)}if(e instanceof Array){t=0;for(var i=e.length;t<i;t++)this.delRoot(e[t])}else{var o=D.indexOf(this._roots,e);o>=0&&(this.delFromStorage(e),this._roots.splice(o,1),e instanceof Pt&&e.delChildrenFromStorage(this))}},addToStorage:function(e){return e&&(e.__storage=this,e.dirty(!1)),this},delFromStorage:function(e){return e&&(e.__storage=null),this},dispose:function(){this._renderList=this._roots=null},displayableSortFunc:Wt};var Ut=Gt,Kt={shadowBlur:1,shadowOffsetX:1,shadowOffsetY:1,textShadowBlur:1,textShadowOffsetX:1,textShadowOffsetY:1,textBoxShadowBlur:1,textBoxShadowOffsetX:1,textBoxShadowOffsetY:1};var Yt=function(e,t,n){return Kt.hasOwnProperty(t)?n*e.dpr:n},Zt=[["shadowBlur",0],["shadowOffsetX",0],["shadowOffsetY",0],["shadowColor","#000"],["lineCap","butt"],["lineJoin","miter"],["miterLimit",10]],Xt=function(e){this.extendFrom(e,!1)};function Qt(e,t,n){var i=null==t.x?0:t.x,o=null==t.x2?1:t.x2,r=null==t.y?0:t.y,a=null==t.y2?0:t.y2;return t.global||(i=i*n.width+n.x,o=o*n.width+n.x,r=r*n.height+n.y,a=a*n.height+n.y),i=isNaN(i)?0:i,o=isNaN(o)?1:o,r=isNaN(r)?0:r,a=isNaN(a)?0:a,e.createLinearGradient(i,r,o,a)}function Jt(e,t,n){var i=n.width,o=n.height,r=Math.min(i,o),a=null==t.x?.5:t.x,s=null==t.y?.5:t.y,c=null==t.r?.5:t.r;return t.global||(a=a*i+n.x,s=s*o+n.y,c*=r),e.createRadialGradient(a,s,0,a,s,c)}for(var en=Xt.prototype={constructor:Xt,fill:"#000",stroke:null,opacity:1,fillOpacity:null,strokeOpacity:null,lineDash:null,lineDashOffset:0,shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,lineWidth:1,strokeNoScale:!1,text:null,font:null,textFont:null,fontStyle:null,fontWeight:null,fontSize:null,fontFamily:null,textTag:null,textFill:"#000",textStroke:null,textWidth:null,textHeight:null,textStrokeWidth:0,textLineHeight:null,textPosition:"inside",textRect:null,textOffset:null,textAlign:null,textVerticalAlign:null,textDistance:5,textShadowColor:"transparent",textShadowBlur:0,textShadowOffsetX:0,textShadowOffsetY:0,textBoxShadowColor:"transparent",textBoxShadowBlur:0,textBoxShadowOffsetX:0,textBoxShadowOffsetY:0,transformText:!1,textRotation:0,textOrigin:null,textBackgroundColor:null,textBorderColor:null,textBorderWidth:0,textBorderRadius:0,textPadding:null,rich:null,truncate:null,blend:null,bind:function(e,t,n){for(var i=n&&n.style,o=!i,r=0;r<Zt.length;r++){var a=Zt[r],s=a[0];(o||this[s]!==i[s])&&(e[s]=Yt(e,s,this[s]||a[1]))}if((o||this.fill!==i.fill)&&(e.fillStyle=this.fill),(o||this.stroke!==i.stroke)&&(e.strokeStyle=this.stroke),(o||this.opacity!==i.opacity)&&(e.globalAlpha=null==this.opacity?1:this.opacity),(o||this.blend!==i.blend)&&(e.globalCompositeOperation=this.blend||"source-over"),this.hasStroke()){var c=this.lineWidth;e.lineWidth=c/(this.strokeNoScale&&t&&t.getLineScale?t.getLineScale():1)}},hasFill:function(){var e=this.fill;return null!=e&&"none"!==e},hasStroke:function(){var e=this.stroke;return null!=e&&"none"!==e&&this.lineWidth>0},extendFrom:function(e,t){if(e)for(var n in e)!e.hasOwnProperty(n)||!0!==t&&(!1===t?this.hasOwnProperty(n):null==e[n])||(this[n]=e[n])},set:function(e,t){"string"==typeof e?this[e]=t:this.extendFrom(e,!0)},clone:function(){var e=new this.constructor;return e.extendFrom(this,!0),e},getGradient:function(e,t,n){for(var i=("radial"===t.type?Jt:Qt)(e,t,n),o=t.colorStops,r=0;r<o.length;r++)i.addColorStop(o[r].offset,o[r].color);return i}},tn=0;tn<Zt.length;tn++){var nn=Zt[tn];nn[0]in en||(en[nn[0]]=nn[1])}Xt.getGradient=en.getGradient;var on=Xt,rn=function(e,t){this.image=e,this.repeat=t,this.type="pattern"};rn.prototype.getCanvasPattern=function(e){return e.createPattern(this.image,this.repeat||"repeat")};var an=rn,sn=ut.devicePixelRatio;function cn(){return!1}function ln(e,t,n){var i=D.createCanvas(),o=t.getWidth(),r=t.getHeight(),a=i.style;return a&&(a.position="absolute",a.left=0,a.top=0,a.width=o+"px",a.height=r+"px",i.setAttribute("data-zr-dom-id",e)),i.width=o*n,i.height=r*n,i}var dn=function(e,t,n){var i;n=n||sn,"string"==typeof e?i=ln(e,t,n):D.isObject(e)&&(e=(i=e).id),this.id=e,this.dom=i;var o=i.style;o&&(i.onselectstart=cn,o["-webkit-user-select"]="none",o["user-select"]="none",o["-webkit-touch-callout"]="none",o["-webkit-tap-highlight-color"]="rgba(0,0,0,0)",o.padding=0,o.margin=0,o["border-width"]=0),this.domBack=null,this.ctxBack=null,this.painter=t,this.config=null,this.clearColor=0,this.motionBlur=!1,this.lastFrameAlpha=.7,this.dpr=n};dn.prototype={constructor:dn,__dirty:!0,__used:!1,__drawIndex:0,__startIndex:0,__endIndex:0,incremental:!1,getElementCount:function(){return this.__endIndex-this.__startIndex},initContext:function(){this.ctx=this.dom.getContext("2d"),this.ctx.dpr=this.dpr},createBackBuffer:function(){var e=this.dpr;this.domBack=ln("back-"+this.id,this.painter,e),this.ctxBack=this.domBack.getContext("2d"),1!=e&&this.ctxBack.scale(e,e)},resize:function(e,t){var n=this.dpr,i=this.dom,o=i.style,r=this.domBack;o&&(o.width=e+"px",o.height=t+"px"),i.width=e*n,i.height=t*n,r&&(r.width=e*n,r.height=t*n,1!=n&&this.ctxBack.scale(n,n))},clear:function(e,t){var n,i=this.dom,o=this.ctx,r=i.width,a=i.height,s=(t=t||this.clearColor,this.motionBlur&&!e),c=this.lastFrameAlpha,l=this.dpr;(s&&(this.domBack||this.createBackBuffer(),this.ctxBack.globalCompositeOperation="copy",this.ctxBack.drawImage(i,0,0,r/l,a/l)),o.clearRect(0,0,r,a),t&&"transparent"!==t)&&(t.colorStops?(n=t.__canvasGradient||on.getGradient(o,t,{x:0,y:0,width:r,height:a}),t.__canvasGradient=n):t.image&&(n=an.prototype.getCanvasPattern.call(t,o)),o.save(),o.fillStyle=n||t,o.fillRect(0,0,r,a),o.restore());if(s){var d=this.domBack;o.save(),o.globalAlpha=c,o.drawImage(d,0,0,r,a),o.restore()}}};var un=dn,fn="undefined"!=typeof window&&(window.requestAnimationFrame&&window.requestAnimationFrame.bind(window)||window.msRequestAnimationFrame&&window.msRequestAnimationFrame.bind(window)||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame)||function(e){setTimeout(e,16)},hn=new Ee(50);function pn(){var e=this.__cachedImgObj;this.onload=this.onerror=this.__cachedImgObj=null;for(var t=0;t<e.pending.length;t++){var n=e.pending[t],i=n.cb;i&&i(this,n.cbPayload),n.hostEl.dirty()}e.pending.length=0}function gn(e){return e&&e.width&&e.height}var mn={findExistImage:function(e){if("string"==typeof e){var t=hn.get(e);return t&&t.image}return e},createOrUpdateImage:function(e,t,n,i,o){if(e){if("string"==typeof e){if(t&&t.__zrImageSrc===e||!n)return t;var r=hn.get(e),a={hostEl:n,cb:i,cbPayload:o};return r?!gn(t=r.image)&&r.pending.push(a):(!t&&(t=new Image),t.onload=t.onerror=pn,hn.put(e,t.__cachedImgObj={image:t,pending:[a]}),t.src=t.__zrImageSrc=e),t}return e}return t},isImageReady:gn},bn=D.getContext,vn=D.extend,yn=D.retrieve2,_n=D.retrieve3,wn=D.trim,xn={},Sn=0,Tn=5e3,kn=/\{([a-zA-Z0-9_]+)\|([^}]*)\}/g,Cn="12px sans-serif",jn={};function An(e,t){var n=e+":"+(t=t||Cn);if(xn[n])return xn[n];for(var i=(e+"").split("\n"),o=0,r=0,a=i.length;r<a;r++)o=Math.max(Pn(i[r],t).width,o);return Sn>Tn&&(Sn=0,xn={}),Sn++,xn[n]=o,o}function En(e,t,n){return"right"===n?e-=t:"center"===n&&(e-=t/2),e}function In(e,t,n){return"middle"===n?e-=t/2:"bottom"===n&&(e-=t),e}function Mn(e,t,n,i,o){if(!t)return"";var r=(e+"").split("\n");o=On(t,n,i,o);for(var a=0,s=r.length;a<s;a++)r[a]=Dn(r[a],o);return r.join("\n")}function On(e,t,n,i){(i=vn({},i)).font=t;n=yn(n,"...");i.maxIterations=yn(i.maxIterations,2);var o=i.minChar=yn(i.minChar,0);i.cnCharWidth=An("国",t);var r=i.ascCharWidth=An("a",t);i.placeholder=yn(i.placeholder,"");for(var a=e=Math.max(0,e-1),s=0;s<o&&a>=r;s++)a-=r;var c=An(n);return c>a&&(n="",c=0),a=e-c,i.ellipsis=n,i.ellipsisWidth=c,i.contentWidth=a,i.containerWidth=e,i}function Dn(e,t){var n=t.containerWidth,i=t.font,o=t.contentWidth;if(!n)return"";var r=An(e,i);if(r<=n)return e;for(var a=0;;a++){if(r<=o||a>=t.maxIterations){e+=t.ellipsis;break}var s=0===a?Vn(e,o,t.ascCharWidth,t.cnCharWidth):r>0?Math.floor(e.length*o/r):0;r=An(e=e.substr(0,s),i)}return""===e&&(e=t.placeholder),e}function Vn(e,t,n,i){for(var o=0,r=0,a=e.length;r<a&&o<t;r++){var s=e.charCodeAt(r);o+=0<=s&&s<=127?n:i}return r}function Ln(e){return An("国",e)}function Pn(e,t){return jn.measureText(e,t)}function Nn(e,t,n,i){null!=e&&(e+="");var o=Ln(t),r=e?e.split("\n"):[],a=r.length*o,s=a;if(n&&(s+=n[0]+n[2]),e&&i){var c=i.outerHeight,l=i.outerWidth;if(null!=c&&s>c)e="",r=[];else if(null!=l)for(var d=On(l-(n?n[1]+n[3]:0),t,i.ellipsis,{minChar:i.minChar,placeholder:i.placeholder}),u=0,f=r.length;u<f;u++)r[u]=Dn(r[u],d)}return{lines:r,height:a,outerHeight:s,lineHeight:o}}function Rn(e,t){var n={lines:[],width:0,height:0};if(null!=e&&(e+=""),!e)return n;for(var i,o=kn.lastIndex=0;null!=(i=kn.exec(e));){var r=i.index;r>o&&Fn(n,e.substring(o,r)),Fn(n,i[2],i[1]),o=kn.lastIndex}o<e.length&&Fn(n,e.substring(o,e.length));var a=n.lines,s=0,c=0,l=[],d=t.textPadding,u=t.truncate,f=u&&u.outerWidth,h=u&&u.outerHeight;d&&(null!=f&&(f-=d[1]+d[3]),null!=h&&(h-=d[0]+d[2]));for(var p=0;p<a.length;p++){for(var g=a[p],m=0,b=0,v=0;v<g.tokens.length;v++){var y=(E=g.tokens[v]).styleName&&t.rich[E.styleName]||{},_=E.textPadding=y.textPadding,w=E.font=y.font||t.font,x=E.textHeight=yn(y.textHeight,Ln(w));if(_&&(x+=_[0]+_[2]),E.height=x,E.lineHeight=_n(y.textLineHeight,t.textLineHeight,x),E.textAlign=y&&y.textAlign||t.textAlign,E.textVerticalAlign=y&&y.textVerticalAlign||"middle",null!=h&&s+E.lineHeight>h)return{lines:[],width:0,height:0};E.textWidth=An(E.text,w);var S=y.textWidth,T=null==S||"auto"===S;if("string"==typeof S&&"%"===S.charAt(S.length-1))E.percentWidth=S,l.push(E),S=0;else{if(T){S=E.textWidth;var k=y.textBackgroundColor,C=k&&k.image;C&&(C=mn.findExistImage(C),mn.isImageReady(C)&&(S=Math.max(S,C.width*x/C.height)))}var j=_?_[1]+_[3]:0;S+=j;var A=null!=f?f-b:null;null!=A&&A<S&&(!T||A<j?(E.text="",E.textWidth=S=0):(E.text=Mn(E.text,A-j,w,u.ellipsis,{minChar:u.minChar}),E.textWidth=An(E.text,w),S=E.textWidth+j))}b+=E.width=S,y&&(m=Math.max(m,E.lineHeight))}g.width=b,g.lineHeight=m,s+=m,c=Math.max(c,b)}n.outerWidth=n.width=yn(t.textWidth,c),n.outerHeight=n.height=yn(t.textHeight,s),d&&(n.outerWidth+=d[1]+d[3],n.outerHeight+=d[0]+d[2]);for(p=0;p<l.length;p++){var E,I=(E=l[p]).percentWidth;E.width=parseInt(I,10)/100*c}return n}function Fn(e,t,n){for(var i=""===t,o=t.split("\n"),r=e.lines,a=0;a<o.length;a++){var s=o[a],c={styleName:n,text:s,isLineHolder:!s&&!i};if(a)r.push({tokens:[c]});else{var l=(r[r.length-1]||(r[0]={tokens:[]})).tokens,d=l.length;1===d&&l[0].isLineHolder?l[0]=c:(s||!d||i)&&l.push(c)}}}jn.measureText=function(e,t){var n=bn();return n.font=t||Cn,n.measureText(e)};var Bn={DEFAULT_FONT:Cn,$override:function(e,t){jn[e]=t},getWidth:An,getBoundingRect:function(e,t,n,i,o,r,a){return r?function(e,t,n,i,o,r,a){var s=Rn(e,{rich:r,truncate:a,font:t,textAlign:n,textPadding:o}),c=s.outerWidth,l=s.outerHeight,d=En(0,c,n),u=In(0,l,i);return new Vt(d,u,c,l)}(e,t,n,i,o,r,a):function(e,t,n,i,o,r){var a=Nn(e,t,o,r),s=An(e,t);o&&(s+=o[1]+o[3]);var c=a.outerHeight,l=En(0,s,n),d=In(0,c,i),u=new Vt(l,d,s,c);return u.lineHeight=a.lineHeight,u}(e,t,n,i,o,a)},adjustTextX:En,adjustTextY:In,adjustTextPositionOnRect:function(e,t,n){var i=t.x,o=t.y,r=t.height,a=t.width,s=r/2,c="left",l="top";switch(e){case"left":i-=n,o+=s,c="right",l="middle";break;case"right":i+=n+a,o+=s,l="middle";break;case"top":i+=a/2,o-=n,c="center",l="bottom";break;case"bottom":i+=a/2,o+=r+n,c="center";break;case"inside":i+=a/2,o+=s,c="center",l="middle";break;case"insideLeft":i+=n,o+=s,l="middle";break;case"insideRight":i+=a-n,o+=s,c="right",l="middle";break;case"insideTop":i+=a/2,o+=n,c="center";break;case"insideBottom":i+=a/2,o+=r-n,c="center",l="bottom";break;case"insideTopLeft":i+=n,o+=n;break;case"insideTopRight":i+=a-n,o+=n,c="right";break;case"insideBottomLeft":i+=n,o+=r-n,l="bottom";break;case"insideBottomRight":i+=a-n,o+=r-n,c="right",l="bottom"}return{x:i,y:o,textAlign:c,textVerticalAlign:l}},truncateText:Mn,getLineHeight:Ln,measureText:Pn,parsePlainText:Nn,parseRichText:Rn,makeFont:function(e){var t=(e.fontSize||e.fontFamily)&&[e.fontStyle,e.fontWeight,(e.fontSize||12)+"px",e.fontFamily||"sans-serif"].join(" ");return t&&wn(t)||e.textFont||e.font}};var zn={buildPath:function(e,t){var n,i,o,r,a,s=t.x,c=t.y,l=t.width,d=t.height,u=t.r;l<0&&(s+=l,l=-l),d<0&&(c+=d,d=-d),"number"==typeof u?n=i=o=r=u:u instanceof Array?1===u.length?n=i=o=r=u[0]:2===u.length?(n=o=u[0],i=r=u[1]):3===u.length?(n=u[0],i=r=u[1],o=u[2]):(n=u[0],i=u[1],o=u[2],r=u[3]):n=i=o=r=0,n+i>l&&(n*=l/(a=n+i),i*=l/a),o+r>l&&(o*=l/(a=o+r),r*=l/a),i+o>d&&(i*=d/(a=i+o),o*=d/a),n+r>d&&(n*=d/(a=n+r),r*=d/a),e.moveTo(s+n,c),e.lineTo(s+l-i,c),0!==i&&e.arc(s+l-i,c+i,i,-Math.PI/2,0),e.lineTo(s+l,c+d-o),0!==o&&e.arc(s+l-o,c+d-o,o,0,Math.PI/2),e.lineTo(s+r,c+d),0!==r&&e.arc(s+r,c+d-r,r,Math.PI/2,Math.PI),e.lineTo(s,c+n),0!==n&&e.arc(s+n,c+n,n,Math.PI,1.5*Math.PI)}},Hn=D.retrieve2,$n=D.retrieve3,qn=D.each,Wn=D.normalizeCssArray,Gn=D.isString,Un=D.isObject,Kn=D.isFunction,Yn={left:1,right:1,center:1},Zn={top:1,bottom:1,middle:1},Xn=[["textShadowBlur","shadowBlur",0],["textShadowOffsetX","shadowOffsetX",0],["textShadowOffsetY","shadowOffsetY",0],["textShadowColor","shadowColor","transparent"]];function Qn(e){if(e){e.font=Bn.makeFont(e);var t=e.textAlign;"middle"===t&&(t="center"),e.textAlign=null==t||Yn[t]?t:"left";var n=e.textVerticalAlign||e.textBaseline;"center"===n&&(n="middle"),e.textVerticalAlign=null==n||Zn[n]?n:"top",e.textPadding&&(e.textPadding=Wn(e.textPadding))}}function Jn(e,t,n,i,o){if(n&&t.textRotation){var r=t.textOrigin;"center"===r?(i=n.width/2+n.x,o=n.height/2+n.y):r&&(i=r[0]+n.x,o=r[1]+n.y),e.translate(i,o),e.rotate(-t.textRotation),e.translate(-i,-o)}}function ei(e,t,n,i,o,r,a,s){var c=i.rich[n.styleName]||{};c.text=n.text;var l=n.textVerticalAlign,d=r+o/2;"top"===l?d=r+n.height/2:"bottom"===l&&(d=r+o-n.height/2),!n.isLineHolder&&ti(c)&&ni(e,t,c,"right"===s?a-n.width:"center"===s?a-n.width/2:a,d-n.height/2,n.width,n.height);var u=n.textPadding;u&&(a=li(a,s,u),d-=n.height/2-u[2]-n.textHeight/2),ri(t,"shadowBlur",$n(c.textShadowBlur,i.textShadowBlur,0)),ri(t,"shadowColor",c.textShadowColor||i.textShadowColor||"transparent"),ri(t,"shadowOffsetX",$n(c.textShadowOffsetX,i.textShadowOffsetX,0)),ri(t,"shadowOffsetY",$n(c.textShadowOffsetY,i.textShadowOffsetY,0)),ri(t,"textAlign",s),ri(t,"textBaseline","middle"),ri(t,"font",n.font||Bn.DEFAULT_FONT);var f=ai(c.textStroke||i.textStroke,p),h=si(c.textFill||i.textFill),p=Hn(c.textStrokeWidth,i.textStrokeWidth);f&&(ri(t,"lineWidth",p),ri(t,"strokeStyle",f),t.strokeText(n.text,a,d)),h&&(ri(t,"fillStyle",h),t.fillText(n.text,a,d))}function ti(e){return e.textBackgroundColor||e.textBorderWidth&&e.textBorderColor}function ni(e,t,n,i,o,r,a){var s=n.textBackgroundColor,c=n.textBorderWidth,l=n.textBorderColor,d=Gn(s);if(ri(t,"shadowBlur",n.textBoxShadowBlur||0),ri(t,"shadowColor",n.textBoxShadowColor||"transparent"),ri(t,"shadowOffsetX",n.textBoxShadowOffsetX||0),ri(t,"shadowOffsetY",n.textBoxShadowOffsetY||0),d||c&&l){t.beginPath();var u=n.textBorderRadius;u?zn.buildPath(t,{x:i,y:o,width:r,height:a,r:u}):t.rect(i,o,r,a),t.closePath()}if(d)if(ri(t,"fillStyle",s),null!=n.fillOpacity){var f=t.globalAlpha;t.globalAlpha=n.fillOpacity*n.opacity,t.fill(),t.globalAlpha=f}else t.fill();else if(Kn(s))ri(t,"fillStyle",s(n)),t.fill();else if(Un(s)){var h=s.image;(h=mn.createOrUpdateImage(h,null,e,ii,s))&&mn.isImageReady(h)&&t.drawImage(h,i,o,r,a)}if(c&&l)if(ri(t,"lineWidth",c),ri(t,"strokeStyle",l),null!=n.strokeOpacity){f=t.globalAlpha;t.globalAlpha=n.strokeOpacity*n.opacity,t.stroke(),t.globalAlpha=f}else t.stroke()}function ii(e,t){t.image=e}function oi(e,t,n){var i=t.x||0,o=t.y||0,r=t.textAlign,a=t.textVerticalAlign;if(n){var s=t.textPosition;if(s instanceof Array)i=n.x+ci(s[0],n.width),o=n.y+ci(s[1],n.height);else{var c=Bn.adjustTextPositionOnRect(s,n,t.textDistance);i=c.x,o=c.y,r=r||c.textAlign,a=a||c.textVerticalAlign}var l=t.textOffset;l&&(i+=l[0],o+=l[1])}return{baseX:i,baseY:o,textAlign:r,textVerticalAlign:a}}function ri(e,t,n){return e[t]=Yt(e,t,n),e[t]}function ai(e,t){return null==e||t<=0||"transparent"===e||"none"===e?null:e.image||e.colorStops?"#000":e}function si(e){return null==e||"none"===e?null:e.image||e.colorStops?"#000":e}function ci(e,t){return"string"==typeof e?e.lastIndexOf("%")>=0?parseFloat(e)/100*t:parseFloat(e):e}function li(e,t,n){return"right"===t?e-n[1]:"center"===t?e+n[3]/2-n[1]/2:e+n[3]}var di={normalizeTextStyle:function(e){return Qn(e),qn(e.rich,Qn),e},renderText:function(e,t,n,i,o,r){i.rich?function(e,t,n,i,o){var r=e.__textCotentBlock;r&&!e.__dirtyText||(r=e.__textCotentBlock=Bn.parseRichText(n,i)),function(e,t,n,i,o){var r=n.width,a=n.outerWidth,s=n.outerHeight,c=i.textPadding,l=oi(0,i,o),d=l.baseX,u=l.baseY,f=l.textAlign,h=l.textVerticalAlign;Jn(t,i,o,d,u);var p=Bn.adjustTextX(d,a,f),g=Bn.adjustTextY(u,s,h),m=p,b=g;c&&(m+=c[3],b+=c[0]);var v=m+r;ti(i)&&ni(e,t,i,p,g,a,s);for(var y=0;y<n.lines.length;y++){for(var _,w=n.lines[y],x=w.tokens,S=x.length,T=w.lineHeight,k=w.width,C=0,j=m,A=v,E=S-1;C<S&&(!(_=x[C]).textAlign||"left"===_.textAlign);)ei(e,t,_,i,T,b,j,"left"),k-=_.width,j+=_.width,C++;for(;E>=0&&"right"===(_=x[E]).textAlign;)ei(e,t,_,i,T,b,A,"right"),k-=_.width,A-=_.width,E--;for(j+=(r-(j-m)-(v-A)-k)/2;C<=E;)_=x[C],ei(e,t,_,i,T,b,j+_.width/2,"center"),j+=_.width,C++;b+=T}}(e,t,r,i,o)}(e,t,n,i,o):function(e,t,n,i,o,r){var a=r&&r.style,s=a&&"text"===r.type,c=i.font||Bn.DEFAULT_FONT;s&&c===(a.font||Bn.DEFAULT_FONT)||(t.font=c);var l=e.__computedFont;e.__styleFont!==c&&(e.__styleFont=c,l=e.__computedFont=t.font);var d=i.textPadding,u=e.__textCotentBlock;u&&!e.__dirtyText||(u=e.__textCotentBlock=Bn.parsePlainText(n,l,d,i.truncate));var f=u.outerHeight,h=u.lines,p=u.lineHeight,g=oi(0,i,o),m=g.baseX,b=g.baseY,v=g.textAlign||"left",y=g.textVerticalAlign;Jn(t,i,o,m,b);var _=Bn.adjustTextY(b,f,y),w=m,x=_,S=ti(i);if(S||d){var T=Bn.getWidth(n,l),k=T;d&&(k+=d[1]+d[3]);var C=Bn.adjustTextX(m,k,v);S&&ni(e,t,i,C,_,k,f),d&&(w=li(m,v,d),x+=d[0])}t.textAlign=v,t.textBaseline="middle";for(var j=0;j<Xn.length;j++){var A=Xn[j],E=A[0],I=A[1],M=i[E];s&&M===a[E]||(t[I]=Yt(t,I,M||A[2]))}x+=p/2;var O=i.textStrokeWidth,D=s?a.textStrokeWidth:null,V=!s||O!==D,L=!s||V||i.textStroke!==a.textStroke,P=ai(i.textStroke,O),N=si(i.textFill);if(P&&(V&&(t.lineWidth=O),L&&(t.strokeStyle=P)),N&&(s&&i.textFill===a.textFill&&!a.textBackgroundColor||(t.fillStyle=N)),1===h.length)P&&t.strokeText(h[0],w,x),N&&t.fillText(h[0],w,x);else for(var j=0;j<h.length;j++)P&&t.strokeText(h[j],w,x),N&&t.fillText(h[j],w,x),x+=p}(e,t,n,i,o,r)},getStroke:ai,getFill:si,needDrawText:function(e,t){return null!=e&&(e||t.textBackgroundColor||t.textBorderWidth&&t.textBorderColor||t.textPadding)}},ui=new Vt,fi=function(){};fi.prototype={constructor:fi,drawRectText:function(e,t){var n=this.style;t=n.textRect||t,this.__dirty&&di.normalizeTextStyle(n,!0);var i=n.text;if(null!=i&&(i+=""),di.needDrawText(i,n)){e.save();var o=this.transform;n.transformText?this.setTransform(e):o&&(ui.copy(t),ui.applyTransform(o),t=ui),di.renderText(this,e,i,n,t),e.restore()}}};var hi=fi;function pi(e){for(var t in e=e||{},Et.call(this,e),e)e.hasOwnProperty(t)&&"style"!==t&&(this[t]=e[t]);this.style=new on(e.style,this),this._rect=null,this.__clipPaths=[]}pi.prototype={constructor:pi,type:"displayable",__dirty:!0,invisible:!1,z:0,z2:0,zlevel:0,draggable:!1,dragging:!1,silent:!1,culling:!1,cursor:"pointer",rectHover:!1,progressive:!1,incremental:!1,globalScaleRatio:1,beforeBrush:function(e){},afterBrush:function(e){},brush:function(e,t){},getBoundingRect:function(){},contain:function(e,t){return this.rectContain(e,t)},traverse:function(e,t){e.call(t,this)},rectContain:function(e,t){var n=this.transformCoordToLocal(e,t);return this.getBoundingRect().contain(n[0],n[1])},dirty:function(){this.__dirty=this.__dirtyText=!0,this._rect=null,this.__zr&&this.__zr.refresh()},animateStyle:function(e){return this.animate("style",e)},attrKV:function(e,t){"style"!==e?Et.prototype.attrKV.call(this,e,t):this.style.set(t)},setStyle:function(e,t){return this.style.set(e,t),this.dirty(!1),this},useStyle:function(e){return this.style=new on(e,this),this.dirty(!1),this}},D.inherits(pi,Et),D.mixin(pi,hi);var gi=pi;function mi(e){gi.call(this,e)}mi.prototype={constructor:mi,type:"image",brush:function(e,t){var n=this.style,i=n.image;n.bind(e,this,t);var o=this._image=mn.createOrUpdateImage(i,this._image,this,this.onload);if(o&&mn.isImageReady(o)){var r=n.x||0,a=n.y||0,s=n.width,c=n.height,l=o.width/o.height;if(null==s&&null!=c?s=c*l:null==c&&null!=s?c=s/l:null==s&&null==c&&(s=o.width,c=o.height),this.setTransform(e),n.sWidth&&n.sHeight){var d=n.sx||0,u=n.sy||0;e.drawImage(o,d,u,n.sWidth,n.sHeight,r,a,s,c)}else if(n.sx&&n.sy){var f=s-(d=n.sx),h=c-(u=n.sy);e.drawImage(o,d,u,f,h,r,a,s,c)}else e.drawImage(o,r,a,s,c);null!=n.text&&(this.restoreTransform(e),this.drawRectText(e,this.getBoundingRect()))}},getBoundingRect:function(){var e=this.style;return this._rect||(this._rect=new Vt(e.x||0,e.y||0,e.width||0,e.height||0)),this._rect}},D.inherits(mi,gi);var bi=mi,vi=ut.devicePixelRatio;function yi(e){return parseInt(e,10)}var _i=new Vt(0,0,0,0),wi=new Vt(0,0,0,0);var xi=function(e,t,n){this.type="canvas";var i=!e.nodeName||"CANVAS"===e.nodeName.toUpperCase();this._opts=n=D.extend({},n||{}),this.dpr=n.devicePixelRatio||vi,this._singleCanvas=i,this.root=e;var o=e.style;o&&(o["-webkit-tap-highlight-color"]="transparent",o["-webkit-user-select"]=o["user-select"]=o["-webkit-touch-callout"]="none",e.innerHTML=""),this.storage=t;var r=this._zlevelList=[],a=this._layers={};if(this._layerConfig={},this._needsManuallyCompositing=!1,i){var s=e.width,c=e.height;null!=n.width&&(s=n.width),null!=n.height&&(c=n.height),this.dpr=n.devicePixelRatio||1,e.width=s*this.dpr,e.height=c*this.dpr,this._width=s,this._height=c;var l=new un(e,this,this.dpr);l.__builtin__=!0,l.initContext(),a[314159]=l,l.zlevel=314159,r.push(314159),this._domRoot=e}else{this._width=this._getSize(0),this._height=this._getSize(1);var d=this._domRoot=function(e,t){var n=document.createElement("div");return n.style.cssText=["position:relative","overflow:hidden","width:"+e+"px","height:"+t+"px","padding:0","margin:0","border-width:0"].join(";")+";",n}(this._width,this._height);e.appendChild(d)}this._hoverlayer=null,this._hoverElements=[]};xi.prototype={constructor:xi,getType:function(){return"canvas"},isSingleCanvas:function(){return this._singleCanvas},getViewportRoot:function(){return this._domRoot},getViewportRootOffset:function(){var e=this.getViewportRoot();if(e)return{offsetLeft:e.offsetLeft||0,offsetTop:e.offsetTop||0}},refresh:function(e){var t=this.storage.getDisplayList(!0),n=this._zlevelList;this._redrawId=Math.random(),this._paintList(t,e,this._redrawId);for(var i=0;i<n.length;i++){var o=n[i],r=this._layers[o];if(!r.__builtin__&&r.refresh){var a=0===i?this._backgroundColor:null;r.refresh(a)}}return this.refreshHover(),this},addHover:function(e,t){if(!e.__hoverMir){var n=new e.constructor({style:e.style,shape:e.shape,z:e.z,z2:e.z2,silent:e.silent});return n.__from=e,e.__hoverMir=n,t&&n.setStyle(t),this._hoverElements.push(n),n}},removeHover:function(e){var t=e.__hoverMir,n=this._hoverElements,i=D.indexOf(n,t);i>=0&&n.splice(i,1),e.__hoverMir=null},clearHover:function(e){for(var t=this._hoverElements,n=0;n<t.length;n++){var i=t[n].__from;i&&(i.__hoverMir=null)}t.length=0},refreshHover:function(){var e=this._hoverElements,t=e.length,n=this._hoverlayer;if(n&&n.clear(),t){qt(e,this.storage.displayableSortFunc),n||(n=this._hoverlayer=this.getLayer(1e5));var i={};n.ctx.save();for(var o=0;o<t;){var r=e[o],a=r.__from;a&&a.__zr?(o++,a.invisible||(r.transform=a.transform,r.invTransform=a.invTransform,r.__clipPaths=a.__clipPaths,this._doPaintEl(r,n,!0,i))):(e.splice(o,1),a.__hoverMir=null,t--)}n.ctx.restore()}},getHoverLayer:function(){return this.getLayer(1e5)},_paintList:function(e,t,n){if(this._redrawId===n){t=t||!1,this._updateLayerStatus(e);var i=this._doPaintList(e,t);if(this._needsManuallyCompositing&&this._compositeManually(),!i){var o=this;fn(function(){o._paintList(e,t,n)})}}},_compositeManually:function(){var e=this.getLayer(314159).ctx,t=this._domRoot.width,n=this._domRoot.height;e.clearRect(0,0,t,n),this.eachBuiltinLayer(function(i){i.virtual&&e.drawImage(i.dom,0,0,t,n)})},_doPaintList:function(e,t){for(var n=[],i=0;i<this._zlevelList.length;i++){var o=this._zlevelList[i];(s=this._layers[o]).__builtin__&&s!==this._hoverlayer&&(s.__dirty||t)&&n.push(s)}for(var r=!0,a=0;a<n.length;a++){var s,l=(s=n[a]).ctx,d={};l.save();var u=t?s.__startIndex:s.__drawIndex,f=!t&&s.incremental&&Date.now,h=f&&Date.now(),p=s.zlevel===this._zlevelList[0]?this._backgroundColor:null;if(s.__startIndex===s.__endIndex)s.clear(!1,p);else if(u===s.__startIndex){var g=e[u];g.incremental&&g.notClear&&!t||s.clear(!1,p)}-1===u&&(console.error("For some unknown reason. drawIndex is -1"),u=s.__startIndex);for(var m=u;m<s.__endIndex;m++){var b=e[m];if(this._doPaintEl(b,s,t,d),b.__dirty=b.__dirtyText=!1,f)if(Date.now()-h>15)break}s.__drawIndex=m,s.__drawIndex<s.__endIndex&&(r=!1),d.prevElClipPaths&&l.restore(),l.restore()}return c.wxa&&D.each(this._layers,function(e){e&&e.ctx&&e.ctx.draw&&e.ctx.draw()}),r},_doPaintEl:function(e,t,n,i){var o=t.ctx,r=e.transform;if((t.__dirty||n)&&!e.invisible&&0!==e.style.opacity&&(!r||r[0]||r[3])&&(!e.culling||!function(e,t,n){return _i.copy(e.getBoundingRect()),e.transform&&_i.applyTransform(e.transform),wi.width=t,wi.height=n,!_i.intersect(wi)}(e,this._width,this._height))){var a=e.__clipPaths;i.prevElClipPaths&&!function(e,t){if(e==t)return!1;if(!e||!t||e.length!==t.length)return!0;for(var n=0;n<e.length;n++)if(e[n]!==t[n])return!0}(a,i.prevElClipPaths)||(i.prevElClipPaths&&(t.ctx.restore(),i.prevElClipPaths=null,i.prevEl=null),a&&(o.save(),function(e,t){for(var n=0;n<e.length;n++){var i=e[n];i.setTransform(t),t.beginPath(),i.buildPath(t,i.shape),t.clip(),i.restoreTransform(t)}}(a,o),i.prevElClipPaths=a)),e.beforeBrush&&e.beforeBrush(o),e.brush(o,i.prevEl||null),i.prevEl=e,e.afterBrush&&e.afterBrush(o)}},getLayer:function(e,t){this._singleCanvas&&!this._needsManuallyCompositing&&(e=314159);var n=this._layers[e];return n||((n=new un("zr_"+e,this,this.dpr)).zlevel=e,n.__builtin__=!0,this._layerConfig[e]&&D.merge(n,this._layerConfig[e],!0),t&&(n.virtual=t),this.insertLayer(e,n),n.initContext()),n},insertLayer:function(e,t){var n=this._layers,i=this._zlevelList,o=i.length,r=null,a=-1,s=this._domRoot;if(n[e])pt("ZLevel "+e+" has been used already");else if(function(e){return!!e&&(!!e.__builtin__||"function"==typeof e.resize&&"function"==typeof e.refresh)}(t)){if(o>0&&e>i[0]){for(a=0;a<o-1&&!(i[a]<e&&i[a+1]>e);a++);r=n[i[a]]}if(i.splice(a+1,0,e),n[e]=t,!t.virtual)if(r){var c=r.dom;c.nextSibling?s.insertBefore(t.dom,c.nextSibling):s.appendChild(t.dom)}else s.firstChild?s.insertBefore(t.dom,s.firstChild):s.appendChild(t.dom)}else pt("Layer of zlevel "+e+" is not valid")},eachLayer:function(e,t){var n,i,o=this._zlevelList;for(i=0;i<o.length;i++)n=o[i],e.call(t,this._layers[n],n)},eachBuiltinLayer:function(e,t){var n,i,o,r=this._zlevelList;for(o=0;o<r.length;o++)i=r[o],(n=this._layers[i]).__builtin__&&e.call(t,n,i)},eachOtherLayer:function(e,t){var n,i,o,r=this._zlevelList;for(o=0;o<r.length;o++)i=r[o],(n=this._layers[i]).__builtin__||e.call(t,n,i)},getLayers:function(){return this._layers},_updateLayerStatus:function(e){function t(e){i&&(i.__endIndex!==e&&(i.__dirty=!0),i.__endIndex=e)}if(this.eachBuiltinLayer(function(e,t){e.__dirty=e.__used=!1}),this._singleCanvas)for(var n=1;n<e.length;n++){if((r=e[n]).zlevel!==e[n-1].zlevel||r.incremental){this._needsManuallyCompositing=!0;break}}var i=null,o=0;for(n=0;n<e.length;n++){var r,a,s=(r=e[n]).zlevel;r.incremental?((a=this.getLayer(s+.001,this._needsManuallyCompositing)).incremental=!0,o=1):a=this.getLayer(s+(o>0?.01:0),this._needsManuallyCompositing),a.__builtin__||pt("ZLevel "+s+" has been used by unkown layer "+a.id),a!==i&&(a.__used=!0,a.__startIndex!==n&&(a.__dirty=!0),a.__startIndex=n,a.incremental?a.__drawIndex=-1:a.__drawIndex=n,t(n),i=a),r.__dirty&&(a.__dirty=!0,a.incremental&&a.__drawIndex<0&&(a.__drawIndex=n))}t(n),this.eachBuiltinLayer(function(e,t){!e.__used&&e.getElementCount()>0&&(e.__dirty=!0,e.__startIndex=e.__endIndex=e.__drawIndex=0),e.__dirty&&e.__drawIndex<0&&(e.__drawIndex=e.__startIndex)})},clear:function(){return this.eachBuiltinLayer(this._clearLayer),this},_clearLayer:function(e){e.clear()},setBackgroundColor:function(e){this._backgroundColor=e},configLayer:function(e,t){if(t){var n=this._layerConfig;n[e]?D.merge(n[e],t,!0):n[e]=t;for(var i=0;i<this._zlevelList.length;i++){var o=this._zlevelList[i];if(o===e||o===e+.01){var r=this._layers[o];D.merge(r,n[e],!0)}}}},delLayer:function(e){var t=this._layers,n=this._zlevelList,i=t[e];i&&(i.dom.parentNode.removeChild(i.dom),delete t[e],n.splice(D.indexOf(n,e),1))},resize:function(e,t){if(this._domRoot.style){var n=this._domRoot;n.style.display="none";var i=this._opts;if(null!=e&&(i.width=e),null!=t&&(i.height=t),e=this._getSize(0),t=this._getSize(1),n.style.display="",this._width!=e||t!=this._height){for(var o in n.style.width=e+"px",n.style.height=t+"px",this._layers)this._layers.hasOwnProperty(o)&&this._layers[o].resize(e,t);D.each(this._progressiveLayers,function(n){n.resize(e,t)}),this.refresh(!0)}this._width=e,this._height=t}else{if(null==e||null==t)return;this._width=e,this._height=t,this.getLayer(314159).resize(e,t)}return this},clearLayer:function(e){var t=this._layers[e];t&&t.clear()},dispose:function(){this.root.innerHTML="",this.root=this.storage=this._domRoot=this._layers=null},getRenderedCanvas:function(e){if(e=e||{},this._singleCanvas&&!this._compositeManually)return this._layers[314159].dom;var t=new un("image",this,e.pixelRatio||this.dpr);if(t.initContext(),t.clear(!1,e.backgroundColor||this._backgroundColor),e.pixelRatio<=this.dpr){this.refresh();var n=t.dom.width,i=t.dom.height,o=t.ctx;this.eachLayer(function(e){e.__builtin__?o.drawImage(e.dom,0,0,n,i):e.renderToCanvas&&(t.ctx.save(),e.renderToCanvas(t.ctx),t.ctx.restore())})}else for(var r={},a=this.storage.getDisplayList(!0),s=0;s<a.length;s++){var c=a[s];this._doPaintEl(c,t,!0,r)}return t.dom},getWidth:function(){return this._width},getHeight:function(){return this._height},_getSize:function(e){var t=this._opts,n=["width","height"][e],i=["clientWidth","clientHeight"][e],o=["paddingLeft","paddingTop"][e],r=["paddingRight","paddingBottom"][e];if(null!=t[n]&&"auto"!==t[n])return parseFloat(t[n]);var a=this.root,s=document.defaultView.getComputedStyle(a);return(a[i]||yi(s[n])||yi(a.style[n]))-(yi(s[o])||0)-(yi(s[r])||0)|0},pathToImage:function(e,t){t=t||this.dpr;var n=document.createElement("canvas"),i=n.getContext("2d"),o=e.getBoundingRect(),r=e.style,a=r.shadowBlur*t,s=r.shadowOffsetX*t,c=r.shadowOffsetY*t,l=r.hasStroke()?r.lineWidth:0,d=Math.max(l/2,-s+a),u=Math.max(l/2,s+a),f=Math.max(l/2,-c+a),h=Math.max(l/2,c+a),p=o.width+d+u,g=o.height+f+h;n.width=p*t,n.height=g*t,i.scale(t,t),i.clearRect(0,0,p,g),i.dpr=t;var m={position:e.position,rotation:e.rotation,scale:e.scale};e.position=[d-o.x,f-o.y],e.rotation=0,e.scale=[1,1],e.updateTransform(),e&&e.brush(i);var b=new bi({style:{x:0,y:0,image:n}});return null!=m.position&&(b.position=e.position=m.position),null!=m.rotation&&(b.rotation=e.rotation=m.rotation),null!=m.scale&&(b.scale=e.scale=m.scale),b}};var Si=xi,Ti=Q.Dispatcher,ki=function(e){e=e||{},this.stage=e.stage||{},this.onframe=e.onframe||function(){},this._clips=[],this._running=!1,this._time,this._pausedTime,this._pauseStart,this._paused=!1,Ti.call(this)};ki.prototype={constructor:ki,addClip:function(e){this._clips.push(e)},addAnimator:function(e){e.animation=this;for(var t=e.getClips(),n=0;n<t.length;n++)this.addClip(t[n])},removeClip:function(e){var t=D.indexOf(this._clips,e);t>=0&&this._clips.splice(t,1)},removeAnimator:function(e){for(var t=e.getClips(),n=0;n<t.length;n++)this.removeClip(t[n]);e.animation=null},_update:function(){for(var e=(new Date).getTime()-this._pausedTime,t=e-this._time,n=this._clips,i=n.length,o=[],r=[],a=0;a<i;a++){var s=n[a],c=s.step(e,t);c&&(o.push(c),r.push(s))}for(a=0;a<i;)n[a]._needsRemove?(n[a]=n[i-1],n.pop(),i--):a++;i=o.length;for(a=0;a<i;a++)r[a].fire(o[a]);this._time=e,this.onframe(t),this.trigger("frame",t),this.stage.update&&this.stage.update()},_startLoop:function(){var e=this;this._running=!0,fn(function t(){e._running&&(fn(t),!e._paused&&e._update())})},start:function(){this._time=(new Date).getTime(),this._pausedTime=0,this._startLoop()},stop:function(){this._running=!1},pause:function(){this._paused||(this._pauseStart=(new Date).getTime(),this._paused=!0)},resume:function(){this._paused&&(this._pausedTime+=(new Date).getTime()-this._pauseStart,this._paused=!1)},clear:function(){this._clips=[]},isFinished:function(){return!this._clips.length},animate:function(e,t){var n=new lt(e,(t=t||{}).loop,t.getter,t.setter);return this.addAnimator(n),n}},D.mixin(ki,Ti);var Ci=ki,ji=function(){this._track=[]};function Ai(e){var t=e[1][0]-e[0][0],n=e[1][1]-e[0][1];return Math.sqrt(t*t+n*n)}ji.prototype={constructor:ji,recognize:function(e,t,n){return this._doTrack(e,t,n),this._recognize(e)},clear:function(){return this._track.length=0,this},_doTrack:function(e,t,n){var i=e.touches;if(i){for(var o={points:[],touches:[],target:t,event:e},r=0,a=i.length;r<a;r++){var s=i[r],c=Q.clientToLocal(n,s,{});o.points.push([c.zrX,c.zrY]),o.touches.push(s)}this._track.push(o)}},_recognize:function(e){for(var t in Ei)if(Ei.hasOwnProperty(t)){var n=Ei[t](this._track,e);if(n)return n}}};var Ei={pinch:function(e,t){var n=e.length;if(n){var i,o=(e[n-1]||{}).points,r=(e[n-2]||{}).points||o;if(r&&r.length>1&&o&&o.length>1){var a=Ai(o)/Ai(r);!isFinite(a)&&(a=1),t.pinchScale=a;var s=[((i=o)[0][0]+i[1][0])/2,(i[0][1]+i[1][1])/2];return t.pinchX=s[0],t.pinchY=s[1],{type:"pinch",target:e[0].target,event:t}}}}},Ii=ji,Mi=Q.addEventListener,Oi=Q.removeEventListener,Di=Q.normalizeEvent,Vi=["click","dblclick","mousewheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],Li=["touchstart","touchend","touchmove"],Pi={pointerdown:1,pointerup:1,pointermove:1,pointerout:1},Ni=D.map(Vi,function(e){var t=e.replace("mouse","pointer");return Pi[t]?t:e});function Ri(e){return"mousewheel"===e&&c.browser.firefox?"DOMMouseScroll":e}function Fi(e,t,n){var i=e._gestureMgr;"start"===n&&i.clear();var o=i.recognize(t,e.handler.findHover(t.zrX,t.zrY,null).target,e.dom);if("end"===n&&i.clear(),o){var r=o.type;t.gestureEvent=r,e.handler.dispatchToElement({target:o.target},r,o.event)}}function Bi(e){e._touching=!0,clearTimeout(e._touchTimer),e._touchTimer=setTimeout(function(){e._touching=!1},700)}var zi={mousemove:function(e){e=Di(this.dom,e),this.trigger("mousemove",e)},mouseout:function(e){var t=(e=Di(this.dom,e)).toElement||e.relatedTarget;if(t!=this.dom)for(;t&&9!=t.nodeType;){if(t===this.dom)return;t=t.parentNode}this.trigger("mouseout",e)},touchstart:function(e){(e=Di(this.dom,e)).zrByTouch=!0,this._lastTouchMoment=new Date,Fi(this,e,"start"),zi.mousemove.call(this,e),zi.mousedown.call(this,e),Bi(this)},touchmove:function(e){(e=Di(this.dom,e)).zrByTouch=!0,Fi(this,e,"change"),zi.mousemove.call(this,e),Bi(this)},touchend:function(e){(e=Di(this.dom,e)).zrByTouch=!0,Fi(this,e,"end"),zi.mouseup.call(this,e),+new Date-this._lastTouchMoment<300&&zi.click.call(this,e),Bi(this)},pointerdown:function(e){zi.mousedown.call(this,e)},pointermove:function(e){Hi(e)||zi.mousemove.call(this,e)},pointerup:function(e){zi.mouseup.call(this,e)},pointerout:function(e){Hi(e)||zi.mouseout.call(this,e)}};function Hi(e){var t=e.pointerType;return"pen"===t||"touch"===t}function $i(e){var t;function n(t,n){D.each(t,function(t){Mi(e,Ri(t),n._handlers[t])},n)}G.call(this),this.dom=e,this._touching=!1,this._touchTimer,this._gestureMgr=new Ii,this._handlers={},t=this,D.each(Li,function(e){t._handlers[e]=D.bind(zi[e],t)}),D.each(Ni,function(e){t._handlers[e]=D.bind(zi[e],t)}),D.each(Vi,function(e){t._handlers[e]=function(e,t){return function(){if(!t._touching)return e.apply(t,arguments)}}(zi[e],t)}),c.pointerEventsSupported?n(Ni,this):(c.touchEventsSupported&&n(Li,this),n(Vi,this))}D.each(["click","mousedown","mouseup","mousewheel","dblclick","contextmenu"],function(e){zi[e]=function(t){t=Di(this.dom,t),this.trigger(e,t)}});var qi=$i.prototype;qi.dispose=function(){for(var e=Vi.concat(Li),t=0;t<e.length;t++){var n=e[t];Oi(this.dom,Ri(n),this._handlers[n])}},qi.setCursor=function(e){this.dom.style&&(this.dom.style.cursor=e||"default")},D.mixin($i,G);var Wi=$i,Gi=!c.canvasSupported,Ui={canvas:Si},Ki={};var Yi=function(e,t,n){n=n||{},this.dom=t,this.id=e;var i=this,o=new Ut,r=n.renderer;if(Gi){if(!Ui.vml)throw new Error("You need to require 'zrender/vml/vml' to support IE8");r="vml"}else r&&Ui[r]||(r="canvas");var a=new Ui[r](t,o,n,e);this.storage=o,this.painter=a;var s=c.node||c.worker?null:new Wi(a.getViewportRoot());this.handler=new re(o,a,s,a.root),this.animation=new Ci({stage:{update:D.bind(this.flush,this)}}),this.animation.start(),this._needsRefresh;var l=o.delFromStorage,d=o.addToStorage;o.delFromStorage=function(e){l.call(o,e),e&&e.removeSelfFromZr(i)},o.addToStorage=function(e){d.call(o,e),e.addSelfToZr(i)}};Yi.prototype={constructor:Yi,getId:function(){return this.id},add:function(e){this.storage.addRoot(e),this._needsRefresh=!0},remove:function(e){this.storage.delRoot(e),this._needsRefresh=!0},configLayer:function(e,t){this.painter.configLayer&&this.painter.configLayer(e,t),this._needsRefresh=!0},setBackgroundColor:function(e){this.painter.setBackgroundColor&&this.painter.setBackgroundColor(e),this._needsRefresh=!0},refreshImmediately:function(){this._needsRefresh=!1,this.painter.refresh(),this._needsRefresh=!1},refresh:function(){this._needsRefresh=!0},flush:function(){var e;this._needsRefresh&&(e=!0,this.refreshImmediately()),this._needsRefreshHover&&(e=!0,this.refreshHoverImmediately()),e&&this.trigger("rendered")},addHover:function(e,t){if(this.painter.addHover){var n=this.painter.addHover(e,t);return this.refreshHover(),n}},removeHover:function(e){this.painter.removeHover&&(this.painter.removeHover(e),this.refreshHover())},clearHover:function(){this.painter.clearHover&&(this.painter.clearHover(),this.refreshHover())},refreshHover:function(){this._needsRefreshHover=!0},refreshHoverImmediately:function(){this._needsRefreshHover=!1,this.painter.refreshHover&&this.painter.refreshHover()},resize:function(e){e=e||{},this.painter.resize(e.width,e.height),this.handler.resize()},clearAnimation:function(){this.animation.clear()},getWidth:function(){return this.painter.getWidth()},getHeight:function(){return this.painter.getHeight()},pathToImage:function(e,t){return this.painter.pathToImage(e,t)},setCursorStyle:function(e){this.handler.setCursorStyle(e)},findHover:function(e,t){return this.handler.findHover(e,t)},on:function(e,t,n){this.handler.on(e,t,n)},off:function(e,t){this.handler.off(e,t)},trigger:function(e,t){this.handler.trigger(e,t)},clear:function(){this.storage.delRoot(),this.painter.clear()},dispose:function(){var e;this.animation.stop(),this.clear(),this.storage.dispose(),this.painter.dispose(),this.handler.dispose(),this.animation=this.storage=this.painter=this.handler=null,e=this.id,delete Ki[e]}};var Zi={version:"4.0.5",init:function(e,t){var n=new Yi(s(),e,t);return Ki[n.id]=n,n},dispose:function(e){if(e)e.dispose();else{for(var t in Ki)Ki.hasOwnProperty(t)&&Ki[t].dispose();Ki={}}return this},getInstance:function(e){return Ki[e]},registerPainter:function(e,t){Ui[e]=t}},Xi=D.each,Qi=D.isObject,Ji=D.isArray,eo="series\0";function to(e){return e instanceof Array?e:null==e?[]:[e]}function no(e){return Qi(e)&&e.id&&0===(e.id+"").indexOf("\0_ec_\0")}var io=0;function oo(e,t){return e&&e.hasOwnProperty(t)}var ro={normalizeToArray:to,defaultEmphasis:function(e,t,n){if(e){e[t]=e[t]||{},e.emphasis=e.emphasis||{},e.emphasis[t]=e.emphasis[t]||{};for(var i=0,o=n.length;i<o;i++){var r=n[i];!e.emphasis[t].hasOwnProperty(r)&&e[t].hasOwnProperty(r)&&(e.emphasis[t][r]=e[t][r])}}},TEXT_STYLE_OPTIONS:["fontStyle","fontWeight","fontSize","fontFamily","rich","tag","color","textBorderColor","textBorderWidth","width","height","lineHeight","align","verticalAlign","baseline","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY","textShadowColor","textShadowBlur","textShadowOffsetX","textShadowOffsetY","backgroundColor","borderColor","borderWidth","borderRadius","padding"],getDataItemValue:function(e){return!Qi(e)||Ji(e)||e instanceof Date?e:e.value},isDataItemOption:function(e){return Qi(e)&&!(e instanceof Array)},mappingToExists:function(e,t){t=(t||[]).slice();var n=D.map(e||[],function(e,t){return{exist:e}});return Xi(t,function(e,i){if(Qi(e)){for(var o=0;o<n.length;o++)if(!n[o].option&&null!=e.id&&n[o].exist.id===e.id+"")return n[o].option=e,void(t[i]=null);for(o=0;o<n.length;o++){var r=n[o].exist;if(!(n[o].option||null!=r.id&&null!=e.id||null==e.name||no(e)||no(r)||r.name!==e.name+""))return n[o].option=e,void(t[i]=null)}}}),Xi(t,function(e,t){if(Qi(e)){for(var i=0;i<n.length;i++){var o=n[i].exist;if(!n[i].option&&!no(o)&&null==e.id){n[i].option=e;break}}i>=n.length&&n.push({option:e})}}),n},makeIdAndName:function(e){var t=D.createHashMap();Xi(e,function(e,n){var i=e.exist;i&&t.set(i.id,e)}),Xi(e,function(e,n){var i=e.option;D.assert(!i||null==i.id||!t.get(i.id)||t.get(i.id)===e,"id duplicates: "+(i&&i.id)),i&&null!=i.id&&t.set(i.id,e),!e.keyInfo&&(e.keyInfo={})}),Xi(e,function(e,n){var i=e.exist,o=e.option,r=e.keyInfo;if(Qi(o)){if(r.name=null!=o.name?o.name+"":i?i.name:eo+n,i)r.id=i.id;else if(null!=o.id)r.id=o.id+"";else{var a=0;do{r.id="\0"+r.name+"\0"+a++}while(t.get(r.id))}t.set(r.id,e)}})},isNameSpecified:function(e){var t=e.name;return!(!t||!t.indexOf(eo))},isIdInner:no,compressBatches:function(e,t){var n={},i={};return o(e||[],n),o(t||[],i,n),[r(n),r(i)];function o(e,t,n){for(var i=0,o=e.length;i<o;i++)for(var r=e[i].seriesId,a=to(e[i].dataIndex),s=n&&n[r],c=0,l=a.length;c<l;c++){var d=a[c];s&&s[d]?s[d]=null:(t[r]||(t[r]={}))[d]=1}}function r(e,t){var n=[];for(var i in e)if(e.hasOwnProperty(i)&&null!=e[i])if(t)n.push(+i);else{var o=r(e[i],!0);o.length&&n.push({seriesId:i,dataIndex:o})}return n}},queryDataIndex:function(e,t){return null!=t.dataIndexInside?t.dataIndexInside:null!=t.dataIndex?D.isArray(t.dataIndex)?D.map(t.dataIndex,function(t){return e.indexOfRawIndex(t)}):e.indexOfRawIndex(t.dataIndex):null!=t.name?D.isArray(t.name)?D.map(t.name,function(t){return e.indexOfName(t)}):e.indexOfName(t.name):void 0},makeInner:function(){var e="__\0ec_inner_"+io+++"_"+Math.random().toFixed(5);return function(t){return t[e]||(t[e]={})}},parseFinder:function(e,t,n){if(D.isString(t)){var i={};i[t+"Index"]=0,t=i}var o=n&&n.defaultMainType;!o||oo(t,o+"Index")||oo(t,o+"Id")||oo(t,o+"Name")||(t[o+"Index"]=0);var r={};return Xi(t,function(i,o){if(i=t[o],"dataIndex"!==o&&"dataIndexInside"!==o){var a=o.match(/^(\w+)(Index|Id|Name)$/)||[],s=a[1],c=(a[2]||"").toLowerCase();if(!(!s||!c||null==i||"index"===c&&"none"===i||n&&n.includeMainTypes&&D.indexOf(n.includeMainTypes,s)<0)){var l={mainType:s};"index"===c&&"all"===i||(l[c]=i);var d=e.queryComponents(l);r[s+"Models"]=d,r[s+"Model"]=d[0]}}else r[o]=i}),r},setAttribute:function(e,t,n){e.setAttribute?e.setAttribute(t,n):e[t]=n},getAttribute:function(e,t){return e.getAttribute?e.getAttribute(t):e[t]},getTooltipRenderMode:function(e){return"auto"===e?c.domSupported?"html":"richText":e||"html"}},ao=".",so="___EC__COMPONENT__CONTAINER___";function co(e){var t={main:"",sub:""};return e&&(e=e.split(ao),t.main=e[0]||"",t.sub=e[1]||""),t}var lo=0;function uo(e,t){var n=D.slice(arguments,2);return this.superClass.prototype[t].apply(e,n)}function fo(e,t,n){return this.superClass.prototype[t].apply(e,n)}var ho={parseClassType:co,enableClassExtend:function(e,t){e.$constructor=e,e.extend=function(e){var t=this,n=function(){e.$constructor?e.$constructor.apply(this,arguments):t.apply(this,arguments)};return D.extend(n.prototype,e),n.extend=this.extend,n.superCall=uo,n.superApply=fo,D.inherits(n,this),n.superClass=t,n}},enableClassCheck:function(e){var t=["__\0is_clz",lo++,Math.random().toFixed(3)].join("_");e.prototype[t]=!0,e.isInstance=function(e){return!(!e||!e[t])}},enableClassManagement:function(e,t){t=t||{};var n={};if(e.registerClass=function(e,t){return t&&(function(e){D.assert(/^[a-zA-Z0-9_]+([.][a-zA-Z0-9_]+)?$/.test(e),'componentType "'+e+'" illegal')}(t),(t=co(t)).sub?t.sub!==so&&((function(e){var t=n[e.main];return t&&t[so]||((t=n[e.main]={})[so]=!0),t}(t))[t.sub]=e):n[t.main]=e),e},e.getClass=function(e,t,i){var o=n[e];if(o&&o[so]&&(o=t?o[t]:null),i&&!o)throw new Error(t?"Component "+e+"."+(t||"")+" not exists. Load it first.":e+".type should be specified.");return o},e.getClassesByMainType=function(e){e=co(e);var t=[],i=n[e.main];return i&&i[so]?D.each(i,function(e,n){n!==so&&t.push(e)}):t.push(i),t},e.hasClass=function(e){return e=co(e),!!n[e.main]},e.getAllClassMainTypes=function(){var e=[];return D.each(n,function(t,n){e.push(n)}),e},e.hasSubTypes=function(e){e=co(e);var t=n[e.main];return t&&t[so]},e.parseClassType=co,t.registerWhenExtend){var i=e.extend;i&&(e.extend=function(t){var n=i.call(this,t);return e.registerClass(n,t.type)})}return e},setReadOnly:function(e,t){}};var po=function(e){for(var t=0;t<e.length;t++)e[t][1]||(e[t][1]=e[t][0]);return function(t,n,i){for(var o={},r=0;r<e.length;r++){var a=e[r][1];if(!(n&&D.indexOf(n,a)>=0||i&&D.indexOf(i,a)<0)){var s=t.getShallow(a);null!=s&&(o[e[r][0]]=s)}}return o}},go=po([["lineWidth","width"],["stroke","color"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"]]),mo={getLineStyle:function(e){var t=go(this,e),n=this.getLineDash(t.lineWidth);return n&&(t.lineDash=n),t},getLineDash:function(e){null==e&&(e=1);var t=this.get("type"),n=Math.max(e,2),i=4*e;return"solid"===t||null==t?null:"dashed"===t?[i,i]:[n,n]}},bo=po([["fill","color"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["opacity"],["shadowColor"]]),vo={getAreaStyle:function(e,t){return bo(this,e,t)}},yo=F.create,_o=F.distSquare,wo=Math.pow,xo=Math.sqrt,So=1e-8,To=1e-4,ko=xo(3),Co=1/3,jo=yo(),Ao=yo(),Eo=yo();function Io(e){return e>-So&&e<So}function Mo(e){return e>So||e<-So}function Oo(e,t,n,i,o){var r=1-o;return r*r*(r*e+3*o*t)+o*o*(o*i+3*r*n)}function Do(e,t,n,i){var o=1-i;return o*(o*e+2*i*t)+i*i*n}var Vo={cubicAt:Oo,cubicDerivativeAt:function(e,t,n,i,o){var r=1-o;return 3*(((t-e)*r+2*(n-t)*o)*r+(i-n)*o*o)},cubicRootAt:function(e,t,n,i,o,r){var a=i+3*(t-n)-e,s=3*(n-2*t+e),c=3*(t-e),l=e-o,d=s*s-3*a*c,u=s*c-9*a*l,f=c*c-3*s*l,h=0;if(Io(d)&&Io(u))Io(s)?r[0]=0:(T=-c/s)>=0&&T<=1&&(r[h++]=T);else{var p=u*u-4*d*f;if(Io(p)){var g=u/d,m=-g/2;(T=-s/a+g)>=0&&T<=1&&(r[h++]=T),m>=0&&m<=1&&(r[h++]=m)}else if(p>0){var b=xo(p),v=d*s+1.5*a*(-u+b),y=d*s+1.5*a*(-u-b);(T=(-s-((v=v<0?-wo(-v,Co):wo(v,Co))+(y=y<0?-wo(-y,Co):wo(y,Co))))/(3*a))>=0&&T<=1&&(r[h++]=T)}else{var _=(2*d*s-3*a*u)/(2*xo(d*d*d)),w=Math.acos(_)/3,x=xo(d),S=Math.cos(w),T=(-s-2*x*S)/(3*a),k=(m=(-s+x*(S+ko*Math.sin(w)))/(3*a),(-s+x*(S-ko*Math.sin(w)))/(3*a));T>=0&&T<=1&&(r[h++]=T),m>=0&&m<=1&&(r[h++]=m),k>=0&&k<=1&&(r[h++]=k)}}return h},cubicExtrema:function(e,t,n,i,o){var r=6*n-12*t+6*e,a=9*t+3*i-3*e-9*n,s=3*t-3*e,c=0;if(Io(a))Mo(r)&&(d=-s/r)>=0&&d<=1&&(o[c++]=d);else{var l=r*r-4*a*s;if(Io(l))o[0]=-r/(2*a);else if(l>0){var d,u=xo(l),f=(-r-u)/(2*a);(d=(-r+u)/(2*a))>=0&&d<=1&&(o[c++]=d),f>=0&&f<=1&&(o[c++]=f)}}return c},cubicSubdivide:function(e,t,n,i,o,r){var a=(t-e)*o+e,s=(n-t)*o+t,c=(i-n)*o+n,l=(s-a)*o+a,d=(c-s)*o+s,u=(d-l)*o+l;r[0]=e,r[1]=a,r[2]=l,r[3]=u,r[4]=u,r[5]=d,r[6]=c,r[7]=i},cubicProjectPoint:function(e,t,n,i,o,r,a,s,c,l,d){var u,f,h,p,g,m=.005,b=1/0;jo[0]=c,jo[1]=l;for(var v=0;v<1;v+=.05)Ao[0]=Oo(e,n,o,a,v),Ao[1]=Oo(t,i,r,s,v),(p=_o(jo,Ao))<b&&(u=v,b=p);b=1/0;for(var y=0;y<32&&!(m<To);y++)f=u-m,h=u+m,Ao[0]=Oo(e,n,o,a,f),Ao[1]=Oo(t,i,r,s,f),p=_o(Ao,jo),f>=0&&p<b?(u=f,b=p):(Eo[0]=Oo(e,n,o,a,h),Eo[1]=Oo(t,i,r,s,h),g=_o(Eo,jo),h<=1&&g<b?(u=h,b=g):m*=.5);return d&&(d[0]=Oo(e,n,o,a,u),d[1]=Oo(t,i,r,s,u)),xo(b)},quadraticAt:Do,quadraticDerivativeAt:function(e,t,n,i){return 2*((1-i)*(t-e)+i*(n-t))},quadraticRootAt:function(e,t,n,i,o){var r=e-2*t+n,a=2*(t-e),s=e-i,c=0;if(Io(r))Mo(a)&&(d=-s/a)>=0&&d<=1&&(o[c++]=d);else{var l=a*a-4*r*s;if(Io(l))(d=-a/(2*r))>=0&&d<=1&&(o[c++]=d);else if(l>0){var d,u=xo(l),f=(-a-u)/(2*r);(d=(-a+u)/(2*r))>=0&&d<=1&&(o[c++]=d),f>=0&&f<=1&&(o[c++]=f)}}return c},quadraticExtremum:function(e,t,n){var i=e+n-2*t;return 0===i?.5:(e-t)/i},quadraticSubdivide:function(e,t,n,i,o){var r=(t-e)*i+e,a=(n-t)*i+t,s=(a-r)*i+r;o[0]=e,o[1]=r,o[2]=s,o[3]=s,o[4]=a,o[5]=n},quadraticProjectPoint:function(e,t,n,i,o,r,a,s,c){var l,d=.005,u=1/0;jo[0]=a,jo[1]=s;for(var f=0;f<1;f+=.05)Ao[0]=Do(e,n,o,f),Ao[1]=Do(t,i,r,f),(m=_o(jo,Ao))<u&&(l=f,u=m);u=1/0;for(var h=0;h<32&&!(d<To);h++){var p=l-d,g=l+d;Ao[0]=Do(e,n,o,p),Ao[1]=Do(t,i,r,p);var m=_o(Ao,jo);if(p>=0&&m<u)l=p,u=m;else{Eo[0]=Do(e,n,o,g),Eo[1]=Do(t,i,r,g);var b=_o(Eo,jo);g<=1&&b<u?(l=g,u=b):d*=.5}}return c&&(c[0]=Do(e,n,o,l),c[1]=Do(t,i,r,l)),xo(u)}},Lo=Math.min,Po=Math.max,No=Math.sin,Ro=Math.cos,Fo=2*Math.PI,Bo=F.create(),zo=F.create(),Ho=F.create();var $o=[],qo=[];var Wo={fromPoints:function(e,t,n){if(0!==e.length){var i,o=e[0],r=o[0],a=o[0],s=o[1],c=o[1];for(i=1;i<e.length;i++)o=e[i],r=Lo(r,o[0]),a=Po(a,o[0]),s=Lo(s,o[1]),c=Po(c,o[1]);t[0]=r,t[1]=s,n[0]=a,n[1]=c}},fromLine:function(e,t,n,i,o,r){o[0]=Lo(e,n),o[1]=Lo(t,i),r[0]=Po(e,n),r[1]=Po(t,i)},fromCubic:function(e,t,n,i,o,r,a,s,c,l){var d,u=Vo.cubicExtrema,f=Vo.cubicAt,h=u(e,n,o,a,$o);for(c[0]=1/0,c[1]=1/0,l[0]=-1/0,l[1]=-1/0,d=0;d<h;d++){var p=f(e,n,o,a,$o[d]);c[0]=Lo(p,c[0]),l[0]=Po(p,l[0])}for(h=u(t,i,r,s,qo),d=0;d<h;d++){var g=f(t,i,r,s,qo[d]);c[1]=Lo(g,c[1]),l[1]=Po(g,l[1])}c[0]=Lo(e,c[0]),l[0]=Po(e,l[0]),c[0]=Lo(a,c[0]),l[0]=Po(a,l[0]),c[1]=Lo(t,c[1]),l[1]=Po(t,l[1]),c[1]=Lo(s,c[1]),l[1]=Po(s,l[1])},fromQuadratic:function(e,t,n,i,o,r,a,s){var c=Vo.quadraticExtremum,l=Vo.quadraticAt,d=Po(Lo(c(e,n,o),1),0),u=Po(Lo(c(t,i,r),1),0),f=l(e,n,o,d),h=l(t,i,r,u);a[0]=Lo(e,o,f),a[1]=Lo(t,r,h),s[0]=Po(e,o,f),s[1]=Po(t,r,h)},fromArc:function(e,t,n,i,o,r,a,s,c){var l=F.min,d=F.max,u=Math.abs(o-r);if(u%Fo<1e-4&&u>1e-4)return s[0]=e-n,s[1]=t-i,c[0]=e+n,void(c[1]=t+i);if(Bo[0]=Ro(o)*n+e,Bo[1]=No(o)*i+t,zo[0]=Ro(r)*n+e,zo[1]=No(r)*i+t,l(s,Bo,zo),d(c,Bo,zo),(o%=Fo)<0&&(o+=Fo),(r%=Fo)<0&&(r+=Fo),o>r&&!a?r+=Fo:o<r&&a&&(o+=Fo),a){var f=r;r=o,o=f}for(var h=0;h<r;h+=Math.PI/2)h>o&&(Ho[0]=Ro(h)*n+e,Ho[1]=No(h)*i+t,l(s,Ho,s),d(c,Ho,c))}},Go=ut.devicePixelRatio,Uo={M:1,L:2,C:3,Q:4,A:5,Z:6,R:7},Ko=[],Yo=[],Zo=[],Xo=[],Qo=Math.min,Jo=Math.max,er=Math.cos,tr=Math.sin,nr=Math.sqrt,ir=Math.abs,or="undefined"!=typeof Float32Array,rr=function(e){this._saveData=!e,this._saveData&&(this.data=[]),this._ctx=null};rr.prototype={constructor:rr,_xi:0,_yi:0,_x0:0,_y0:0,_ux:0,_uy:0,_len:0,_lineDash:null,_dashOffset:0,_dashIdx:0,_dashSum:0,setScale:function(e,t){this._ux=ir(1/Go/e)||0,this._uy=ir(1/Go/t)||0},getContext:function(){return this._ctx},beginPath:function(e){return this._ctx=e,e&&e.beginPath(),e&&(this.dpr=e.dpr),this._saveData&&(this._len=0),this._lineDash&&(this._lineDash=null,this._dashOffset=0),this},moveTo:function(e,t){return this.addData(Uo.M,e,t),this._ctx&&this._ctx.moveTo(e,t),this._x0=e,this._y0=t,this._xi=e,this._yi=t,this},lineTo:function(e,t){var n=ir(e-this._xi)>this._ux||ir(t-this._yi)>this._uy||this._len<5;return this.addData(Uo.L,e,t),this._ctx&&n&&(this._needsDash()?this._dashedLineTo(e,t):this._ctx.lineTo(e,t)),n&&(this._xi=e,this._yi=t),this},bezierCurveTo:function(e,t,n,i,o,r){return this.addData(Uo.C,e,t,n,i,o,r),this._ctx&&(this._needsDash()?this._dashedBezierTo(e,t,n,i,o,r):this._ctx.bezierCurveTo(e,t,n,i,o,r)),this._xi=o,this._yi=r,this},quadraticCurveTo:function(e,t,n,i){return this.addData(Uo.Q,e,t,n,i),this._ctx&&(this._needsDash()?this._dashedQuadraticTo(e,t,n,i):this._ctx.quadraticCurveTo(e,t,n,i)),this._xi=n,this._yi=i,this},arc:function(e,t,n,i,o,r){return this.addData(Uo.A,e,t,n,n,i,o-i,0,r?0:1),this._ctx&&this._ctx.arc(e,t,n,i,o,r),this._xi=er(o)*n+e,this._yi=tr(o)*n+t,this},arcTo:function(e,t,n,i,o){return this._ctx&&this._ctx.arcTo(e,t,n,i,o),this},rect:function(e,t,n,i){return this._ctx&&this._ctx.rect(e,t,n,i),this.addData(Uo.R,e,t,n,i),this},closePath:function(){this.addData(Uo.Z);var e=this._ctx,t=this._x0,n=this._y0;return e&&(this._needsDash()&&this._dashedLineTo(t,n),e.closePath()),this._xi=t,this._yi=n,this},fill:function(e){e&&e.fill(),this.toStatic()},stroke:function(e){e&&e.stroke(),this.toStatic()},setLineDash:function(e){if(e instanceof Array){this._lineDash=e,this._dashIdx=0;for(var t=0,n=0;n<e.length;n++)t+=e[n];this._dashSum=t}return this},setLineDashOffset:function(e){return this._dashOffset=e,this},len:function(){return this._len},setData:function(e){var t=e.length;this.data&&this.data.length==t||!or||(this.data=new Float32Array(t));for(var n=0;n<t;n++)this.data[n]=e[n];this._len=t},appendPath:function(e){e instanceof Array||(e=[e]);for(var t=e.length,n=0,i=this._len,o=0;o<t;o++)n+=e[o].len();or&&this.data instanceof Float32Array&&(this.data=new Float32Array(i+n));for(o=0;o<t;o++)for(var r=e[o].data,a=0;a<r.length;a++)this.data[i++]=r[a];this._len=i},addData:function(e){if(this._saveData){var t=this.data;this._len+arguments.length>t.length&&(this._expandData(),t=this.data);for(var n=0;n<arguments.length;n++)t[this._len++]=arguments[n];this._prevCmd=e}},_expandData:function(){if(!(this.data instanceof Array)){for(var e=[],t=0;t<this._len;t++)e[t]=this.data[t];this.data=e}},_needsDash:function(){return this._lineDash},_dashedLineTo:function(e,t){var n,i,o=this._dashSum,r=this._dashOffset,a=this._lineDash,s=this._ctx,c=this._xi,l=this._yi,d=e-c,u=t-l,f=nr(d*d+u*u),h=c,p=l,g=a.length;for(d/=f,u/=f,r<0&&(r=o+r),h-=(r%=o)*d,p-=r*u;d>0&&h<=e||d<0&&h>=e||0==d&&(u>0&&p<=t||u<0&&p>=t);)h+=d*(n=a[i=this._dashIdx]),p+=u*n,this._dashIdx=(i+1)%g,d>0&&h<c||d<0&&h>c||u>0&&p<l||u<0&&p>l||s[i%2?"moveTo":"lineTo"](d>=0?Qo(h,e):Jo(h,e),u>=0?Qo(p,t):Jo(p,t));d=h-e,u=p-t,this._dashOffset=-nr(d*d+u*u)},_dashedBezierTo:function(e,t,n,i,o,r){var a,s,c,l,d,u=this._dashSum,f=this._dashOffset,h=this._lineDash,p=this._ctx,g=this._xi,m=this._yi,b=Vo.cubicAt,v=0,y=this._dashIdx,_=h.length,w=0;for(f<0&&(f=u+f),f%=u,a=0;a<1;a+=.1)s=b(g,e,n,o,a+.1)-b(g,e,n,o,a),c=b(m,t,i,r,a+.1)-b(m,t,i,r,a),v+=nr(s*s+c*c);for(;y<_&&!((w+=h[y])>f);y++);for(a=(w-f)/v;a<=1;)l=b(g,e,n,o,a),d=b(m,t,i,r,a),y%2?p.moveTo(l,d):p.lineTo(l,d),a+=h[y]/v,y=(y+1)%_;y%2!=0&&p.lineTo(o,r),s=o-l,c=r-d,this._dashOffset=-nr(s*s+c*c)},_dashedQuadraticTo:function(e,t,n,i){var o=n,r=i;n=(n+2*e)/3,i=(i+2*t)/3,e=(this._xi+2*e)/3,t=(this._yi+2*t)/3,this._dashedBezierTo(e,t,n,i,o,r)},toStatic:function(){var e=this.data;e instanceof Array&&(e.length=this._len,or&&(this.data=new Float32Array(e)))},getBoundingRect:function(){Ko[0]=Ko[1]=Zo[0]=Zo[1]=Number.MAX_VALUE,Yo[0]=Yo[1]=Xo[0]=Xo[1]=-Number.MAX_VALUE;for(var e=this.data,t=0,n=0,i=0,o=0,r=0;r<e.length;){var a=e[r++];switch(1==r&&(i=t=e[r],o=n=e[r+1]),a){case Uo.M:t=i=e[r++],n=o=e[r++],Zo[0]=i,Zo[1]=o,Xo[0]=i,Xo[1]=o;break;case Uo.L:Wo.fromLine(t,n,e[r],e[r+1],Zo,Xo),t=e[r++],n=e[r++];break;case Uo.C:Wo.fromCubic(t,n,e[r++],e[r++],e[r++],e[r++],e[r],e[r+1],Zo,Xo),t=e[r++],n=e[r++];break;case Uo.Q:Wo.fromQuadratic(t,n,e[r++],e[r++],e[r],e[r+1],Zo,Xo),t=e[r++],n=e[r++];break;case Uo.A:var s=e[r++],c=e[r++],l=e[r++],d=e[r++],u=e[r++],f=e[r++]+u,h=(e[r++],1-e[r++]);1==r&&(i=er(u)*l+s,o=tr(u)*d+c),Wo.fromArc(s,c,l,d,u,f,h,Zo,Xo),t=er(f)*l+s,n=tr(f)*d+c;break;case Uo.R:i=t=e[r++],o=n=e[r++];var p=e[r++],g=e[r++];Wo.fromLine(i,o,i+p,o+g,Zo,Xo);break;case Uo.Z:t=i,n=o}F.min(Ko,Ko,Zo),F.max(Yo,Yo,Xo)}return 0===r&&(Ko[0]=Ko[1]=Yo[0]=Yo[1]=0),new Vt(Ko[0],Ko[1],Yo[0]-Ko[0],Yo[1]-Ko[1])},rebuildPath:function(e){for(var t,n,i,o,r,a,s=this.data,c=this._ux,l=this._uy,d=this._len,u=0;u<d;){var f=s[u++];switch(1==u&&(t=i=s[u],n=o=s[u+1]),f){case Uo.M:t=i=s[u++],n=o=s[u++],e.moveTo(i,o);break;case Uo.L:r=s[u++],a=s[u++],(ir(r-i)>c||ir(a-o)>l||u===d-1)&&(e.lineTo(r,a),i=r,o=a);break;case Uo.C:e.bezierCurveTo(s[u++],s[u++],s[u++],s[u++],s[u++],s[u++]),i=s[u-2],o=s[u-1];break;case Uo.Q:e.quadraticCurveTo(s[u++],s[u++],s[u++],s[u++]),i=s[u-2],o=s[u-1];break;case Uo.A:var h=s[u++],p=s[u++],g=s[u++],m=s[u++],b=s[u++],v=s[u++],y=s[u++],_=s[u++],w=g>m?g:m,x=g>m?1:g/m,S=g>m?m/g:1,T=b+v;Math.abs(g-m)>.001?(e.translate(h,p),e.rotate(y),e.scale(x,S),e.arc(0,0,w,b,T,1-_),e.scale(1/x,1/S),e.rotate(-y),e.translate(-h,-p)):e.arc(h,p,w,b,T,1-_),1==u&&(t=er(b)*g+h,n=tr(b)*m+p),i=er(T)*g+h,o=tr(T)*m+p;break;case Uo.R:t=i=s[u],n=o=s[u+1],e.rect(s[u++],s[u++],s[u++],s[u++]);break;case Uo.Z:e.closePath(),i=t,o=n}}}},rr.CMD=Uo;var ar=rr;var sr={containStroke:function(e,t,n,i,o,r,a){if(0===o)return!1;var s=o,c=0;if(a>t+s&&a>i+s||a<t-s&&a<i-s||r>e+s&&r>n+s||r<e-s&&r<n-s)return!1;if(e===n)return Math.abs(r-e)<=s/2;var l=(c=(t-i)/(e-n))*r-a+(e*i-n*t)/(e-n);return l*l/(c*c+1)<=s/2*s/2}};var cr={containStroke:function(e,t,n,i,o,r,a,s,c,l,d){if(0===c)return!1;var u=c;return!(d>t+u&&d>i+u&&d>r+u&&d>s+u||d<t-u&&d<i-u&&d<r-u&&d<s-u||l>e+u&&l>n+u&&l>o+u&&l>a+u||l<e-u&&l<n-u&&l<o-u&&l<a-u)&&Vo.cubicProjectPoint(e,t,n,i,o,r,a,s,l,d,null)<=u/2}},lr=Vo.quadraticProjectPoint;var dr={containStroke:function(e,t,n,i,o,r,a,s,c){if(0===a)return!1;var l=a;return!(c>t+l&&c>i+l&&c>r+l||c<t-l&&c<i-l&&c<r-l||s>e+l&&s>n+l&&s>o+l||s<e-l&&s<n-l&&s<o-l)&&lr(e,t,n,i,o,r,s,c,null)<=l/2}},ur=2*Math.PI;var fr={normalizeRadian:function(e){return(e%=ur)<0&&(e+=ur),e}},hr=fr.normalizeRadian,pr=2*Math.PI;var gr={containStroke:function(e,t,n,i,o,r,a,s,c){if(0===a)return!1;var l=a;s-=e,c-=t;var d=Math.sqrt(s*s+c*c);if(d-l>n||d+l<n)return!1;if(Math.abs(i-o)%pr<1e-4)return!0;if(r){var u=i;i=hr(o),o=hr(u)}else i=hr(i),o=hr(o);i>o&&(o+=pr);var f=Math.atan2(c,s);return f<0&&(f+=pr),f>=i&&f<=o||f+pr>=i&&f+pr<=o}};var mr=function(e,t,n,i,o,r){if(r>t&&r>i||r<t&&r<i)return 0;if(i===t)return 0;var a=i<t?1:-1,s=(r-t)/(i-t);1!==s&&0!==s||(a=i<t?.5:-.5);var c=s*(n-e)+e;return c===o?1/0:c>o?a:0},br=fr.normalizeRadian,vr=ar.CMD,yr=2*Math.PI,_r=1e-4;var wr=[-1,-1,-1],xr=[-1,-1];function Sr(e,t,n,i,o,r,a,s,c,l){if(l>t&&l>i&&l>r&&l>s||l<t&&l<i&&l<r&&l<s)return 0;var d,u=Vo.cubicRootAt(t,i,r,s,l,wr);if(0===u)return 0;for(var f,h,p=0,g=-1,m=0;m<u;m++){var b=wr[m],v=0===b||1===b?.5:1;Vo.cubicAt(e,n,o,a,b)<c||(g<0&&(g=Vo.cubicExtrema(t,i,r,s,xr),xr[1]<xr[0]&&g>1&&(void 0,d=xr[0],xr[0]=xr[1],xr[1]=d),f=Vo.cubicAt(t,i,r,s,xr[0]),g>1&&(h=Vo.cubicAt(t,i,r,s,xr[1]))),2==g?b<xr[0]?p+=f<t?v:-v:b<xr[1]?p+=h<f?v:-v:p+=s<h?v:-v:b<xr[0]?p+=f<t?v:-v:p+=s<f?v:-v)}return p}function Tr(e,t,n,i,o,r,a,s){if(s>t&&s>i&&s>r||s<t&&s<i&&s<r)return 0;var c=Vo.quadraticRootAt(t,i,r,s,wr);if(0===c)return 0;var l=Vo.quadraticExtremum(t,i,r);if(l>=0&&l<=1){for(var d=0,u=Vo.quadraticAt(t,i,r,l),f=0;f<c;f++){var h=0===wr[f]||1===wr[f]?.5:1;Vo.quadraticAt(e,n,o,wr[f])<a||(wr[f]<l?d+=u<t?h:-h:d+=r<u?h:-h)}return d}h=0===wr[0]||1===wr[0]?.5:1;return Vo.quadraticAt(e,n,o,wr[0])<a?0:r<t?h:-h}function kr(e,t,n,i,o,r,a,s){if((s-=t)>n||s<-n)return 0;var c=Math.sqrt(n*n-s*s);wr[0]=-c,wr[1]=c;var l=Math.abs(i-o);if(l<1e-4)return 0;if(l%yr<1e-4){i=0,o=yr;var d=r?1:-1;return a>=wr[0]+e&&a<=wr[1]+e?d:0}if(r){c=i;i=br(o),o=br(c)}else i=br(i),o=br(o);i>o&&(o+=yr);for(var u=0,f=0;f<2;f++){var h=wr[f];if(h+e>a){var p=Math.atan2(s,h);d=r?1:-1;p<0&&(p=yr+p),(p>=i&&p<=o||p+yr>=i&&p+yr<=o)&&(p>Math.PI/2&&p<1.5*Math.PI&&(d=-d),u+=d)}}return u}function Cr(e,t,n,i,o){for(var r,a,s=0,c=0,l=0,d=0,u=0,f=0;f<e.length;){var h=e[f++];switch(h===vr.M&&f>1&&(n||(s+=mr(c,l,d,u,i,o))),1==f&&(d=c=e[f],u=l=e[f+1]),h){case vr.M:c=d=e[f++],l=u=e[f++];break;case vr.L:if(n){if(sr.containStroke(c,l,e[f],e[f+1],t,i,o))return!0}else s+=mr(c,l,e[f],e[f+1],i,o)||0;c=e[f++],l=e[f++];break;case vr.C:if(n){if(cr.containStroke(c,l,e[f++],e[f++],e[f++],e[f++],e[f],e[f+1],t,i,o))return!0}else s+=Sr(c,l,e[f++],e[f++],e[f++],e[f++],e[f],e[f+1],i,o)||0;c=e[f++],l=e[f++];break;case vr.Q:if(n){if(dr.containStroke(c,l,e[f++],e[f++],e[f],e[f+1],t,i,o))return!0}else s+=Tr(c,l,e[f++],e[f++],e[f],e[f+1],i,o)||0;c=e[f++],l=e[f++];break;case vr.A:var p=e[f++],g=e[f++],m=e[f++],b=e[f++],v=e[f++],y=e[f++],_=(e[f++],1-e[f++]),w=Math.cos(v)*m+p,x=Math.sin(v)*b+g;f>1?s+=mr(c,l,w,x,i,o):(d=w,u=x);var S=(i-p)*b/m+p;if(n){if(gr.containStroke(p,g,b,v,v+y,_,t,S,o))return!0}else s+=kr(p,g,b,v,v+y,_,S,o);c=Math.cos(v+y)*m+p,l=Math.sin(v+y)*b+g;break;case vr.R:d=c=e[f++],u=l=e[f++];w=d+e[f++],x=u+e[f++];if(n){if(sr.containStroke(d,u,w,u,t,i,o)||sr.containStroke(w,u,w,x,t,i,o)||sr.containStroke(w,x,d,x,t,i,o)||sr.containStroke(d,x,d,u,t,i,o))return!0}else s+=mr(w,u,w,x,i,o),s+=mr(d,x,d,u,i,o);break;case vr.Z:if(n){if(sr.containStroke(c,l,d,u,t,i,o))return!0}else s+=mr(c,l,d,u,i,o);c=d,l=u}}return n||(r=l,a=u,Math.abs(r-a)<_r)||(s+=mr(c,l,d,u,i,o)||0),0!==s}var jr={contain:function(e,t,n){return Cr(e,0,!1,t,n)},containStroke:function(e,t,n,i){return Cr(e,t,!0,n,i)}},Ar=an.prototype.getCanvasPattern,Er=Math.abs,Ir=new ar(!0);function Mr(e){gi.call(this,e),this.path=null}Mr.prototype={constructor:Mr,type:"path",__dirtyPath:!0,strokeContainThreshold:5,brush:function(e,t){var n,i=this.style,o=this.path||Ir,r=i.hasStroke(),a=i.hasFill(),s=i.fill,c=i.stroke,l=a&&!!s.colorStops,d=r&&!!c.colorStops,u=a&&!!s.image,f=r&&!!c.image;(i.bind(e,this,t),this.setTransform(e),this.__dirty)&&(l&&(n=n||this.getBoundingRect(),this._fillGradient=i.getGradient(e,s,n)),d&&(n=n||this.getBoundingRect(),this._strokeGradient=i.getGradient(e,c,n)));l?e.fillStyle=this._fillGradient:u&&(e.fillStyle=Ar.call(s,e)),d?e.strokeStyle=this._strokeGradient:f&&(e.strokeStyle=Ar.call(c,e));var h=i.lineDash,p=i.lineDashOffset,g=!!e.setLineDash,m=this.getGlobalScale();if(o.setScale(m[0],m[1]),this.__dirtyPath||h&&!g&&r?(o.beginPath(e),h&&!g&&(o.setLineDash(h),o.setLineDashOffset(p)),this.buildPath(o,this.shape,!1),this.path&&(this.__dirtyPath=!1)):(e.beginPath(),this.path.rebuildPath(e)),a)if(null!=i.fillOpacity){var b=e.globalAlpha;e.globalAlpha=i.fillOpacity*i.opacity,o.fill(e),e.globalAlpha=b}else o.fill(e);if(h&&g&&(e.setLineDash(h),e.lineDashOffset=p),r)if(null!=i.strokeOpacity){b=e.globalAlpha;e.globalAlpha=i.strokeOpacity*i.opacity,o.stroke(e),e.globalAlpha=b}else o.stroke(e);h&&g&&e.setLineDash([]),null!=i.text&&(this.restoreTransform(e),this.drawRectText(e,this.getBoundingRect()))},buildPath:function(e,t,n){},createPathProxy:function(){this.path=new ar},getBoundingRect:function(){var e=this._rect,t=this.style,n=!e;if(n){var i=this.path;i||(i=this.path=new ar),this.__dirtyPath&&(i.beginPath(),this.buildPath(i,this.shape,!1)),e=i.getBoundingRect()}if(this._rect=e,t.hasStroke()){var o=this._rectWithStroke||(this._rectWithStroke=e.clone());if(this.__dirty||n){o.copy(e);var r=t.lineWidth,a=t.strokeNoScale?this.getLineScale():1;t.hasFill()||(r=Math.max(r,this.strokeContainThreshold||4)),a>1e-10&&(o.width+=r/a,o.height+=r/a,o.x-=r/a/2,o.y-=r/a/2)}return o}return e},contain:function(e,t){var n=this.transformCoordToLocal(e,t),i=this.getBoundingRect(),o=this.style;if(e=n[0],t=n[1],i.contain(e,t)){var r=this.path.data;if(o.hasStroke()){var a=o.lineWidth,s=o.strokeNoScale?this.getLineScale():1;if(s>1e-10&&(o.hasFill()||(a=Math.max(a,this.strokeContainThreshold)),jr.containStroke(r,a/s,e,t)))return!0}if(o.hasFill())return jr.contain(r,e,t)}return!1},dirty:function(e){null==e&&(e=!0),e&&(this.__dirtyPath=e,this._rect=null),this.__dirty=this.__dirtyText=!0,this.__zr&&this.__zr.refresh(),this.__clipTarget&&this.__clipTarget.dirty()},animateShape:function(e){return this.animate("shape",e)},attrKV:function(e,t){"shape"===e?(this.setShape(t),this.__dirtyPath=!0,this._rect=null):gi.prototype.attrKV.call(this,e,t)},setShape:function(e,t){var n=this.shape;if(n){if(D.isObject(e))for(var i in e)e.hasOwnProperty(i)&&(n[i]=e[i]);else n[e]=t;this.dirty(!0)}return this},getLineScale:function(){var e=this.transform;return e&&Er(e[0]-1)>1e-10&&Er(e[3]-1)>1e-10?Math.sqrt(Er(e[0]*e[3]-e[2]*e[1])):1}},Mr.extend=function(e){var t=function(t){Mr.call(this,t),e.style&&this.style.extendFrom(e.style,!1);var n=e.shape;if(n){this.shape=this.shape||{};var i=this.shape;for(var o in n)!i.hasOwnProperty(o)&&n.hasOwnProperty(o)&&(i[o]=n[o])}e.init&&e.init.call(this,t)};for(var n in D.inherits(t,Mr),e)"style"!==n&&"shape"!==n&&(t.prototype[n]=e[n]);return t},D.inherits(Mr,gi);var Or=Mr,Dr=F.applyTransform,Vr=ar.CMD,Lr=[[],[],[]],Pr=Math.sqrt,Nr=Math.atan2;var Rr=function(e,t){var n,i,o,r,a,s=e.data,c=Vr.M,l=Vr.C,d=Vr.L,u=Vr.R,f=Vr.A,h=Vr.Q;for(o=0,r=0;o<s.length;){switch(n=s[o++],r=o,i=0,n){case c:case d:i=1;break;case l:i=3;break;case h:i=2;break;case f:var p=t[4],g=t[5],m=Pr(t[0]*t[0]+t[1]*t[1]),b=Pr(t[2]*t[2]+t[3]*t[3]),v=Nr(-t[1]/b,t[0]/m);s[o]*=m,s[o++]+=p,s[o]*=b,s[o++]+=g,s[o++]*=m,s[o++]*=b,s[o++]+=v,s[o++]+=v,r=o+=2;break;case u:y[0]=s[o++],y[1]=s[o++],Dr(y,y,t),s[r++]=y[0],s[r++]=y[1],y[0]+=s[o++],y[1]+=s[o++],Dr(y,y,t),s[r++]=y[0],s[r++]=y[1]}for(a=0;a<i;a++){var y;(y=Lr[a])[0]=s[o++],y[1]=s[o++],Dr(y,y,t),s[r++]=y[0],s[r++]=y[1]}}},Fr=Math.sqrt,Br=Math.sin,zr=Math.cos,Hr=Math.PI,$r=function(e){return Math.sqrt(e[0]*e[0]+e[1]*e[1])},qr=function(e,t){return(e[0]*t[0]+e[1]*t[1])/($r(e)*$r(t))},Wr=function(e,t){return(e[0]*t[1]<e[1]*t[0]?-1:1)*Math.acos(qr(e,t))};function Gr(e,t,n,i,o,r,a,s,c,l,d){var u=c*(Hr/180),f=zr(u)*(e-n)/2+Br(u)*(t-i)/2,h=-1*Br(u)*(e-n)/2+zr(u)*(t-i)/2,p=f*f/(a*a)+h*h/(s*s);p>1&&(a*=Fr(p),s*=Fr(p));var g=(o===r?-1:1)*Fr((a*a*(s*s)-a*a*(h*h)-s*s*(f*f))/(a*a*(h*h)+s*s*(f*f)))||0,m=g*a*h/s,b=g*-s*f/a,v=(e+n)/2+zr(u)*m-Br(u)*b,y=(t+i)/2+Br(u)*m+zr(u)*b,_=Wr([1,0],[(f-m)/a,(h-b)/s]),w=[(f-m)/a,(h-b)/s],x=[(-1*f-m)/a,(-1*h-b)/s],S=Wr(w,x);qr(w,x)<=-1&&(S=Hr),qr(w,x)>=1&&(S=0),0===r&&S>0&&(S-=2*Hr),1===r&&S<0&&(S+=2*Hr),d.addData(l,v,y,a,s,_,S,u,r)}var Ur=/([mlvhzcqtsa])([^mlvhzcqtsa]*)/gi,Kr=/-?([0-9]*\.)?[0-9]+([eE]-?[0-9]+)?/g;function Yr(e,t){var n=function(e){if(!e)return new ar;for(var t,n=0,i=0,o=n,r=i,a=new ar,s=ar.CMD,c=e.match(Ur),l=0;l<c.length;l++){for(var d,u=c[l],f=u.charAt(0),h=u.match(Kr)||[],p=h.length,g=0;g<p;g++)h[g]=parseFloat(h[g]);for(var m=0;m<p;){var b,v,y,_,w,x,S,T=n,k=i;switch(f){case"l":n+=h[m++],i+=h[m++],d=s.L,a.addData(d,n,i);break;case"L":n=h[m++],i=h[m++],d=s.L,a.addData(d,n,i);break;case"m":n+=h[m++],i+=h[m++],d=s.M,a.addData(d,n,i),o=n,r=i,f="l";break;case"M":n=h[m++],i=h[m++],d=s.M,a.addData(d,n,i),o=n,r=i,f="L";break;case"h":n+=h[m++],d=s.L,a.addData(d,n,i);break;case"H":n=h[m++],d=s.L,a.addData(d,n,i);break;case"v":i+=h[m++],d=s.L,a.addData(d,n,i);break;case"V":i=h[m++],d=s.L,a.addData(d,n,i);break;case"C":d=s.C,a.addData(d,h[m++],h[m++],h[m++],h[m++],h[m++],h[m++]),n=h[m-2],i=h[m-1];break;case"c":d=s.C,a.addData(d,h[m++]+n,h[m++]+i,h[m++]+n,h[m++]+i,h[m++]+n,h[m++]+i),n+=h[m-2],i+=h[m-1];break;case"S":b=n,v=i;var C=a.len(),j=a.data;t===s.C&&(b+=n-j[C-4],v+=i-j[C-3]),d=s.C,T=h[m++],k=h[m++],n=h[m++],i=h[m++],a.addData(d,b,v,T,k,n,i);break;case"s":b=n,v=i,C=a.len(),j=a.data,t===s.C&&(b+=n-j[C-4],v+=i-j[C-3]),d=s.C,T=n+h[m++],k=i+h[m++],n+=h[m++],i+=h[m++],a.addData(d,b,v,T,k,n,i);break;case"Q":T=h[m++],k=h[m++],n=h[m++],i=h[m++],d=s.Q,a.addData(d,T,k,n,i);break;case"q":T=h[m++]+n,k=h[m++]+i,n+=h[m++],i+=h[m++],d=s.Q,a.addData(d,T,k,n,i);break;case"T":b=n,v=i,C=a.len(),j=a.data,t===s.Q&&(b+=n-j[C-4],v+=i-j[C-3]),n=h[m++],i=h[m++],d=s.Q,a.addData(d,b,v,n,i);break;case"t":b=n,v=i,C=a.len(),j=a.data,t===s.Q&&(b+=n-j[C-4],v+=i-j[C-3]),n+=h[m++],i+=h[m++],d=s.Q,a.addData(d,b,v,n,i);break;case"A":y=h[m++],_=h[m++],w=h[m++],x=h[m++],S=h[m++],Gr(T=n,k=i,n=h[m++],i=h[m++],x,S,y,_,w,d=s.A,a);break;case"a":y=h[m++],_=h[m++],w=h[m++],x=h[m++],S=h[m++],Gr(T=n,k=i,n+=h[m++],i+=h[m++],x,S,y,_,w,d=s.A,a)}}"z"!==f&&"Z"!==f||(d=s.Z,a.addData(d),n=o,i=r),t=d}return a.toStatic(),a}(e);return(t=t||{}).buildPath=function(e){if(e.setData){e.setData(n.data),(t=e.getContext())&&e.rebuildPath(t)}else{var t=e;n.rebuildPath(t)}},t.applyTransform=function(e){Rr(n,e),this.dirty(!0)},t}var Zr={createFromString:function(e,t){return new Or(Yr(e,t))},extendFromString:function(e,t){return Or.extend(Yr(e,t))},mergePath:function(e,t){for(var n=[],i=e.length,o=0;o<i;o++){var r=e[o];r.path||r.createPathProxy(),r.__dirtyPath&&r.buildPath(r.path,r.shape,!0),n.push(r.path)}var a=new Or(t);return a.createPathProxy(),a.buildPath=function(e){e.appendPath(n);var t=e.getContext();t&&e.rebuildPath(t)},a}},Xr=function(e){gi.call(this,e)};Xr.prototype={constructor:Xr,type:"text",brush:function(e,t){var n=this.style;this.__dirty&&di.normalizeTextStyle(n,!0),n.fill=n.stroke=n.shadowBlur=n.shadowColor=n.shadowOffsetX=n.shadowOffsetY=null;var i=n.text;null!=i&&(i+=""),di.needDrawText(i,n)&&(this.setTransform(e),di.renderText(this,e,i,n,null,t),this.restoreTransform(e))},getBoundingRect:function(){var e=this.style;if(this.__dirty&&di.normalizeTextStyle(e,!0),!this._rect){var t=e.text;null!=t?t+="":t="";var n=Bn.getBoundingRect(e.text+"",e.font,e.textAlign,e.textVerticalAlign,e.textPadding,e.rich);if(n.x+=e.x||0,n.y+=e.y||0,di.getStroke(e.textStroke,e.textStrokeWidth)){var i=e.textStrokeWidth;n.x-=i/2,n.y-=i/2,n.width+=i,n.height+=i}this._rect=n}return this._rect}},D.inherits(Xr,gi);var Qr=Xr,Jr=Or.extend({type:"circle",shape:{cx:0,cy:0,r:0},buildPath:function(e,t,n){n&&e.moveTo(t.cx+t.r,t.cy),e.arc(t.cx,t.cy,t.r,0,2*Math.PI,!0)}}),ea=[["shadowBlur",0],["shadowColor","#000"],["shadowOffsetX",0],["shadowOffsetY",0]];var ta=function(e){return c.browser.ie&&c.browser.version>=11?function(){var t,n=this.__clipPaths,i=this.style;if(n)for(var o=0;o<n.length;o++){var r=n[o],a=r&&r.shape,s=r&&r.type;if(a&&("sector"===s&&a.startAngle===a.endAngle||"rect"===s&&(!a.width||!a.height))){for(var c=0;c<ea.length;c++)ea[c][2]=i[ea[c][0]],i[ea[c][0]]=ea[c][1];t=!0;break}}if(e.apply(this,arguments),t)for(c=0;c<ea.length;c++)i[ea[c][0]]=ea[c][2]}:e},na=Or.extend({type:"sector",shape:{cx:0,cy:0,r0:0,r:0,startAngle:0,endAngle:2*Math.PI,clockwise:!0},brush:ta(Or.prototype.brush),buildPath:function(e,t){var n=t.cx,i=t.cy,o=Math.max(t.r0||0,0),r=Math.max(t.r,0),a=t.startAngle,s=t.endAngle,c=t.clockwise,l=Math.cos(a),d=Math.sin(a);e.moveTo(l*o+n,d*o+i),e.lineTo(l*r+n,d*r+i),e.arc(n,i,r,a,s,!c),e.lineTo(Math.cos(s)*o+n,Math.sin(s)*o+i),0!==o&&e.arc(n,i,o,s,a,c),e.closePath()}}),ia=Or.extend({type:"ring",shape:{cx:0,cy:0,r:0,r0:0},buildPath:function(e,t){var n=t.cx,i=t.cy,o=2*Math.PI;e.moveTo(n+t.r,i),e.arc(n,i,t.r,0,o,!1),e.moveTo(n+t.r0,i),e.arc(n,i,t.r0,0,o,!0)}}),oa=F.distance;function ra(e,t,n,i,o,r,a){var s=.5*(n-e),c=.5*(i-t);return(2*(t-n)+s+c)*a+(-3*(t-n)-2*s-c)*r+s*o+t}var aa=function(e,t){for(var n=e.length,i=[],o=0,r=1;r<n;r++)o+=oa(e[r-1],e[r]);var a=o/2;for(a=a<n?n:a,r=0;r<a;r++){var s,c,l,d=r/(a-1)*(t?n:n-1),u=Math.floor(d),f=d-u,h=e[u%n];t?(s=e[(u-1+n)%n],c=e[(u+1)%n],l=e[(u+2)%n]):(s=e[0===u?u:u-1],c=e[u>n-2?n-1:u+1],l=e[u>n-3?n-1:u+2]);var p=f*f,g=f*p;i.push([ra(s[0],h[0],c[0],l[0],f,p,g),ra(s[1],h[1],c[1],l[1],f,p,g)])}return i},sa=F.min,ca=F.max,la=F.scale,da=F.distance,ua=F.add,fa=F.clone,ha=F.sub;var pa=function(e,t,n,i){var o,r,a,s,c=[],l=[],d=[],u=[];if(i){a=[1/0,1/0],s=[-1/0,-1/0];for(var f=0,h=e.length;f<h;f++)sa(a,a,e[f]),ca(s,s,e[f]);sa(a,a,i[0]),ca(s,s,i[1])}for(f=0,h=e.length;f<h;f++){var p=e[f];if(n)o=e[f?f-1:h-1],r=e[(f+1)%h];else{if(0===f||f===h-1){c.push(fa(e[f]));continue}o=e[f-1],r=e[f+1]}ha(l,r,o),la(l,l,t);var g=da(p,o),m=da(p,r),b=g+m;0!==b&&(g/=b,m/=b),la(d,l,-g),la(u,l,m);var v=ua([],p,d),y=ua([],p,u);i&&(ca(v,v,a),sa(v,v,s),ca(y,y,a),sa(y,y,s)),c.push(v),c.push(y)}return n&&c.push(c.shift()),c};var ga={buildPath:function(e,t,n){var i=t.points,o=t.smooth;if(i&&i.length>=2){if(o&&"spline"!==o){var r=pa(i,o,n,t.smoothConstraint);e.moveTo(i[0][0],i[0][1]);for(var a=i.length,s=0;s<(n?a:a-1);s++){var c=r[2*s],l=r[2*s+1],d=i[(s+1)%a];e.bezierCurveTo(c[0],c[1],l[0],l[1],d[0],d[1])}}else{"spline"===o&&(i=aa(i,n)),e.moveTo(i[0][0],i[0][1]),s=1;for(var u=i.length;s<u;s++)e.lineTo(i[s][0],i[s][1])}n&&e.closePath()}}},ma=Or.extend({type:"polygon",shape:{points:null,smooth:!1,smoothConstraint:null},buildPath:function(e,t){ga.buildPath(e,t,!0)}}),ba=Or.extend({type:"polyline",shape:{points:null,smooth:!1,smoothConstraint:null},style:{stroke:"#000",fill:null},buildPath:function(e,t){ga.buildPath(e,t,!1)}}),va=Or.extend({type:"rect",shape:{r:0,x:0,y:0,width:0,height:0},buildPath:function(e,t){var n=t.x,i=t.y,o=t.width,r=t.height;t.r?zn.buildPath(e,t):e.rect(n,i,o,r),e.closePath()}}),ya=Or.extend({type:"line",shape:{x1:0,y1:0,x2:0,y2:0,percent:1},style:{stroke:"#000",fill:null},buildPath:function(e,t){var n=t.x1,i=t.y1,o=t.x2,r=t.y2,a=t.percent;0!==a&&(e.moveTo(n,i),a<1&&(o=n*(1-a)+o*a,r=i*(1-a)+r*a),e.lineTo(o,r))},pointAt:function(e){var t=this.shape;return[t.x1*(1-e)+t.x2*e,t.y1*(1-e)+t.y2*e]}}),_a=Vo.quadraticSubdivide,wa=Vo.cubicSubdivide,xa=Vo.quadraticAt,Sa=Vo.cubicAt,Ta=Vo.quadraticDerivativeAt,ka=Vo.cubicDerivativeAt,Ca=[];function ja(e,t,n){var i=e.cpx2,o=e.cpy2;return null===i||null===o?[(n?ka:Sa)(e.x1,e.cpx1,e.cpx2,e.x2,t),(n?ka:Sa)(e.y1,e.cpy1,e.cpy2,e.y2,t)]:[(n?Ta:xa)(e.x1,e.cpx1,e.x2,t),(n?Ta:xa)(e.y1,e.cpy1,e.y2,t)]}var Aa=Or.extend({type:"bezier-curve",shape:{x1:0,y1:0,x2:0,y2:0,cpx1:0,cpy1:0,percent:1},style:{stroke:"#000",fill:null},buildPath:function(e,t){var n=t.x1,i=t.y1,o=t.x2,r=t.y2,a=t.cpx1,s=t.cpy1,c=t.cpx2,l=t.cpy2,d=t.percent;0!==d&&(e.moveTo(n,i),null==c||null==l?(d<1&&(_a(n,a,o,d,Ca),a=Ca[1],o=Ca[2],_a(i,s,r,d,Ca),s=Ca[1],r=Ca[2]),e.quadraticCurveTo(a,s,o,r)):(d<1&&(wa(n,a,c,o,d,Ca),a=Ca[1],c=Ca[2],o=Ca[3],wa(i,s,l,r,d,Ca),s=Ca[1],l=Ca[2],r=Ca[3]),e.bezierCurveTo(a,s,c,l,o,r)))},pointAt:function(e){return ja(this.shape,e,!1)},tangentAt:function(e){var t=ja(this.shape,e,!0);return F.normalize(t,t)}}),Ea=Or.extend({type:"arc",shape:{cx:0,cy:0,r:0,startAngle:0,endAngle:2*Math.PI,clockwise:!0},style:{stroke:"#000",fill:null},buildPath:function(e,t){var n=t.cx,i=t.cy,o=Math.max(t.r,0),r=t.startAngle,a=t.endAngle,s=t.clockwise,c=Math.cos(r),l=Math.sin(r);e.moveTo(c*o+n,l*o+i),e.arc(n,i,o,r,a,!s)}}),Ia=Or.extend({type:"compound",shape:{paths:null},_updatePathDirty:function(){for(var e=this.__dirtyPath,t=this.shape.paths,n=0;n<t.length;n++)e=e||t[n].__dirtyPath;this.__dirtyPath=e,this.__dirty=this.__dirty||e},beforeBrush:function(){this._updatePathDirty();for(var e=this.shape.paths||[],t=this.getGlobalScale(),n=0;n<e.length;n++)e[n].path||e[n].createPathProxy(),e[n].path.setScale(t[0],t[1])},buildPath:function(e,t){for(var n=t.paths||[],i=0;i<n.length;i++)n[i].buildPath(e,n[i].shape,!0)},afterBrush:function(){for(var e=this.shape.paths||[],t=0;t<e.length;t++)e[t].__dirtyPath=!1},getBoundingRect:function(){return this._updatePathDirty(),Or.prototype.getBoundingRect.call(this)}}),Ma=function(e){this.colorStops=e||[]};Ma.prototype={constructor:Ma,addColorStop:function(e,t){this.colorStops.push({offset:e,color:t})}};var Oa=Ma,Da=function(e,t,n,i,o,r){this.x=null==e?0:e,this.y=null==t?0:t,this.x2=null==n?1:n,this.y2=null==i?0:i,this.type="linear",this.global=r||!1,Oa.call(this,o)};Da.prototype={constructor:Da},D.inherits(Da,Oa);var Va=Da,La=function(e,t,n,i,o){this.x=null==e?.5:e,this.y=null==t?.5:t,this.r=null==n?.5:n,this.type="radial",this.global=o||!1,Oa.call(this,i)};La.prototype={constructor:La},D.inherits(La,Oa);var Pa=La,Na=D.inherits;function Ra(e){gi.call(this,e),this._displayables=[],this._temporaryDisplayables=[],this._cursor=0,this.notClear=!0}Ra.prototype.incremental=!0,Ra.prototype.clearDisplaybles=function(){this._displayables=[],this._temporaryDisplayables=[],this._cursor=0,this.dirty(),this.notClear=!1},Ra.prototype.addDisplayable=function(e,t){t?this._temporaryDisplayables.push(e):this._displayables.push(e),this.dirty()},Ra.prototype.addDisplayables=function(e,t){t=t||!1;for(var n=0;n<e.length;n++)this.addDisplayable(e[n],t)},Ra.prototype.eachPendingDisplayable=function(e){for(var t=this._cursor;t<this._displayables.length;t++)e&&e(this._displayables[t]);for(t=0;t<this._temporaryDisplayables.length;t++)e&&e(this._temporaryDisplayables[t])},Ra.prototype.update=function(){this.updateTransform();for(var e=this._cursor;e<this._displayables.length;e++){(t=this._displayables[e]).parent=this,t.update(),t.parent=null}for(e=0;e<this._temporaryDisplayables.length;e++){var t;(t=this._temporaryDisplayables[e]).parent=this,t.update(),t.parent=null}},Ra.prototype.brush=function(e,t){for(var n=this._cursor;n<this._displayables.length;n++){(i=this._displayables[n]).beforeBrush&&i.beforeBrush(e),i.brush(e,n===this._cursor?null:this._displayables[n-1]),i.afterBrush&&i.afterBrush(e)}this._cursor=n;for(n=0;n<this._temporaryDisplayables.length;n++){var i;(i=this._temporaryDisplayables[n]).beforeBrush&&i.beforeBrush(e),i.brush(e,0===n?null:this._temporaryDisplayables[n-1]),i.afterBrush&&i.afterBrush(e)}this._temporaryDisplayables=[],this.notClear=!0};var Fa=[];Ra.prototype.getBoundingRect=function(){if(!this._rect){for(var e=new Vt(1/0,1/0,-1/0,-1/0),t=0;t<this._displayables.length;t++){var n=this._displayables[t],i=n.getBoundingRect().clone();n.needLocalTransform()&&i.applyTransform(n.getLocalTransform(Fa)),e.union(i)}this._rect=e}return this._rect},Ra.prototype.contain=function(e,t){var n=this.transformCoordToLocal(e,t);if(this.getBoundingRect().contain(n[0],n[1]))for(var i=0;i<this._displayables.length;i++){if(this._displayables[i].contain(e,t))return!0}return!1},Na(Ra,gi);var Ba=Ra,za=bi,Ha=Pt,$a=Qr,qa=Jr,Wa=na,Ga=ia,Ua=ma,Ka=ba,Ya=va,Za=ya,Xa=Aa,Qa=Ea,Ja=Ia,es=Va,ts=Pa,ns=Vt,is=Ba,os=Math.round,rs=Math.max,as=Math.min,ss={};function cs(e,t,n,i){var o=Zr.createFromString(e,t);return n&&("center"===i&&(n=ls(n,o.getBoundingRect())),us(o,n)),o}function ls(e,t){var n,i=t.width/t.height,o=e.height*i;return n=o<=e.width?e.height:(o=e.width)/i,{x:e.x+e.width/2-o/2,y:e.y+e.height/2-n/2,width:o,height:n}}var ds=Zr.mergePath;function us(e,t){if(e.applyTransform){var n=e.getBoundingRect().calculateTransform(t);e.applyTransform(n)}}function fs(e,t,n){var i=os(2*e);return(i+os(t))%2==0?i/2:(i+(n?1:-1))/2}function hs(e){return null!=e&&"none"!==e}var ps=D.createHashMap(),gs=0;function ms(e){var t=e.__hoverStl;if(t&&!e.__highlighted){var n=e.useHoverLayer;e.__highlighted=n?"layer":"plain";var i=e.__zr;if(i||!n){var o=e,r=e.style;n&&(r=(o=i.addHover(e)).style),Ms(r),n||function(e){if(e.__hoverStlDirty){e.__hoverStlDirty=!1;var t=e.__hoverStl;if(t){var n=e.__normalStl={},i=e.style;for(var o in t)null!=t[o]&&(n[o]=i[o]);n.fill=i.fill,n.stroke=i.stroke}else e.__normalStl=null}}(o),r.extendFrom(t),bs(r,t,"fill"),bs(r,t,"stroke"),Is(r),n||(e.dirty(!1),e.z2+=1)}}}function bs(e,t,n){!hs(t[n])&&hs(e[n])&&(e[n]=function(e){if("string"!=typeof e)return e;var t=ps.get(e);return t||(t=Ue.lift(e,-.1),gs<1e4&&(ps.set(e,t),gs++)),t}(e[n]))}function vs(e){e.__highlighted&&(!function(e){var t=e.__highlighted;if("layer"===t)e.__zr&&e.__zr.removeHover(e);else if(t){var n=e.style,i=e.__normalStl;i&&(Ms(n),e.setStyle(i),Is(n),e.z2-=1)}}(e),e.__highlighted=!1)}function ys(e,t){e.isGroup?e.traverse(function(e){!e.isGroup&&t(e)}):t(e)}function _s(e,t){t=e.__hoverStl=!1!==t&&(t||{}),e.__hoverStlDirty=!0,e.__highlighted&&(vs(e),ms(e))}function ws(e){this.__hoverSilentOnTouch&&e.zrByTouch||!this.__isEmphasisEntered&&ys(this,ms)}function xs(e){this.__hoverSilentOnTouch&&e.zrByTouch||!this.__isEmphasisEntered&&ys(this,vs)}function Ss(){this.__isEmphasisEntered=!0,ys(this,ms)}function Ts(){this.__isEmphasisEntered=!1,ys(this,vs)}function ks(e,t){var n=!1===t;if(e.__hoverSilentOnTouch=null!=t&&t.hoverSilentOnTouch,!n||e.__hoverStyleTrigger){var i=n?"off":"on";e[i]("mouseover",ws)[i]("mouseout",xs),e[i]("emphasis",Ss)[i]("normal",Ts),e.__hoverStyleTrigger=!n}}function Cs(e,t,n,i,o){return js(e,t,i,o),n&&D.extend(e,n),e}function js(e,t,n,i){if((n=n||ss).isRectText){var o=t.getShallow("position")||(i?null:"inside");"outside"===o&&(o="top"),e.textPosition=o,e.textOffset=t.getShallow("offset");var r=t.getShallow("rotate");null!=r&&(r*=Math.PI/180),e.textRotation=r,e.textDistance=D.retrieve2(t.getShallow("distance"),i?null:5)}var a,s=t.ecModel,c=s&&s.option.textStyle,l=function(e){var t;for(;e&&e!==e.ecModel;){var n=(e.option||ss).rich;if(n)for(var i in t=t||{},n)n.hasOwnProperty(i)&&(t[i]=1);e=e.parentModel}return t}(t);if(l)for(var d in a={},l)if(l.hasOwnProperty(d)){var u=t.getModel(["rich",d]);As(a[d]={},u,c,n,i)}return e.rich=a,As(e,t,c,n,i,!0),n.forceRich&&!n.textStyle&&(n.textStyle={}),e}function As(e,t,n,i,o,r){n=!o&&n||ss,e.textFill=Es(t.getShallow("color"),i)||n.color,e.textStroke=Es(t.getShallow("textBorderColor"),i)||n.textBorderColor,e.textStrokeWidth=D.retrieve2(t.getShallow("textBorderWidth"),n.textBorderWidth),e.insideRawTextPosition=e.textPosition,o||(r&&(e.insideRollbackOpt=i,Is(e)),null==e.textFill&&(e.textFill=i.autoColor)),e.fontStyle=t.getShallow("fontStyle")||n.fontStyle,e.fontWeight=t.getShallow("fontWeight")||n.fontWeight,e.fontSize=t.getShallow("fontSize")||n.fontSize,e.fontFamily=t.getShallow("fontFamily")||n.fontFamily,e.textAlign=t.getShallow("align"),e.textVerticalAlign=t.getShallow("verticalAlign")||t.getShallow("baseline"),e.textLineHeight=t.getShallow("lineHeight"),e.textWidth=t.getShallow("width"),e.textHeight=t.getShallow("height"),e.textTag=t.getShallow("tag"),r&&i.disableBox||(e.textBackgroundColor=Es(t.getShallow("backgroundColor"),i),e.textPadding=t.getShallow("padding"),e.textBorderColor=Es(t.getShallow("borderColor"),i),e.textBorderWidth=t.getShallow("borderWidth"),e.textBorderRadius=t.getShallow("borderRadius"),e.textBoxShadowColor=t.getShallow("shadowColor"),e.textBoxShadowBlur=t.getShallow("shadowBlur"),e.textBoxShadowOffsetX=t.getShallow("shadowOffsetX"),e.textBoxShadowOffsetY=t.getShallow("shadowOffsetY")),e.textShadowColor=t.getShallow("textShadowColor")||n.textShadowColor,e.textShadowBlur=t.getShallow("textShadowBlur")||n.textShadowBlur,e.textShadowOffsetX=t.getShallow("textShadowOffsetX")||n.textShadowOffsetX,e.textShadowOffsetY=t.getShallow("textShadowOffsetY")||n.textShadowOffsetY}function Es(e,t){return"auto"!==e?e:t&&t.autoColor?t.autoColor:null}function Is(e){var t=e.insideRollbackOpt;if(t&&null==e.textFill){var n,i=t.useInsideStyle,o=e.insideRawTextPosition,r=t.autoColor;!1!==i&&(!0===i||t.isRectText&&o&&"string"==typeof o&&o.indexOf("inside")>=0)?(n={textFill:null,textStroke:e.textStroke,textStrokeWidth:e.textStrokeWidth},e.textFill="#fff",null==e.textStroke&&(e.textStroke=r,null==e.textStrokeWidth&&(e.textStrokeWidth=2))):null!=r&&(n={textFill:null},e.textFill=r),n&&(e.insideRollback=n)}}function Ms(e){var t=e.insideRollback;t&&(e.textFill=t.textFill,e.textStroke=t.textStroke,e.textStrokeWidth=t.textStrokeWidth,e.insideRollback=null)}function Os(e,t,n,i,o,r){if("function"==typeof o&&(r=o,o=null),i&&i.isAnimationEnabled()){var a=e?"Update":"",s=i.getShallow("animationDuration"+a),c=i.getShallow("animationEasing"+a),l=i.getShallow("animationDelay"+a);"function"==typeof l&&(l=l(o,i.getAnimationDelayParams?i.getAnimationDelayParams(t,o):null)),"function"==typeof s&&(s=s(o)),s>0?t.animateTo(n,s,l||0,c,r,!!r):(t.stopAnimation(),t.attr(n),r&&r())}else t.stopAnimation(),t.attr(n),r&&r()}function Ds(e,t,n,i,o){Os(!0,e,t,n,i,o)}function Vs(e,t,n){return t&&!D.isArrayLike(t)&&(t=ye.getLocalTransform(t)),n&&(t=de.invert([],t)),F.applyTransform([],e,t)}var Ls={Image:za,Group:Ha,Text:$a,Circle:qa,Sector:Wa,Ring:Ga,Polygon:Ua,Polyline:Ka,Rect:Ya,Line:Za,BezierCurve:Xa,Arc:Qa,CompoundPath:Ja,LinearGradient:es,RadialGradient:ts,BoundingRect:ns,IncrementalDisplayable:is,extendShape:function(e){return Or.extend(e)},extendPath:function(e,t){return Zr.extendFromString(e,t)},makePath:cs,makeImage:function(e,t,n){var i=new bi({style:{image:e,x:t.x,y:t.y,width:t.width,height:t.height},onload:function(e){if("center"===n){var o={width:e.width,height:e.height};i.setStyle(ls(t,o))}}});return i},mergePath:ds,resizePath:us,subPixelOptimizeLine:function(e){var t=e.shape,n=e.style.lineWidth;return os(2*t.x1)===os(2*t.x2)&&(t.x1=t.x2=fs(t.x1,n,!0)),os(2*t.y1)===os(2*t.y2)&&(t.y1=t.y2=fs(t.y1,n,!0)),e},subPixelOptimizeRect:function(e){var t=e.shape,n=e.style.lineWidth,i=t.x,o=t.y,r=t.width,a=t.height;return t.x=fs(t.x,n,!0),t.y=fs(t.y,n,!0),t.width=Math.max(fs(i+r,n,!1)-t.x,0===r?0:1),t.height=Math.max(fs(o+a,n,!1)-t.y,0===a?0:1),e},subPixelOptimize:fs,setElementHoverStyle:_s,isInEmphasis:function(e){return e&&e.__isEmphasisEntered},setHoverStyle:function(e,t,n){e.isGroup?e.traverse(function(e){!e.isGroup&&_s(e,e.hoverStyle||t)}):_s(e,e.hoverStyle||t),ks(e,n)},setAsHoverStyleTrigger:ks,setLabelStyle:function(e,t,n,i,o,r,a){var s,c=(o=o||ss).labelFetcher,l=o.labelDataIndex,d=o.labelDimIndex,u=n.getShallow("show"),f=i.getShallow("show");(u||f)&&(c&&(s=c.getFormattedLabel(l,"normal",null,d)),null==s&&(s=D.isFunction(o.defaultText)?o.defaultText(l,o):o.defaultText));var h=u?s:null,p=f?D.retrieve2(c?c.getFormattedLabel(l,"emphasis",null,d):null,s):null;null==h&&null==p||(Cs(e,n,r,o),Cs(t,i,a,o,!0)),e.text=h,t.text=p},setTextStyle:Cs,setText:function(e,t,n){var i,o={isRectText:!0};!1===n?i=!0:o.autoColor=n,js(e,t,o,i)},getFont:function(e,t){var n=t||t.getModel("textStyle");return D.trim([e.fontStyle||n&&n.getShallow("fontStyle")||"",e.fontWeight||n&&n.getShallow("fontWeight")||"",(e.fontSize||n&&n.getShallow("fontSize")||12)+"px",e.fontFamily||n&&n.getShallow("fontFamily")||"sans-serif"].join(" "))},updateProps:Ds,initProps:function(e,t,n,i,o){Os(!1,e,t,n,i,o)},getTransform:function(e,t){for(var n=de.identity([]);e&&e!==t;)de.mul(n,e.getLocalTransform(),n),e=e.parent;return n},applyTransform:Vs,transformDirection:function(e,t,n){var i=0===t[4]||0===t[5]||0===t[0]?1:Math.abs(2*t[4]/t[0]),o=0===t[4]||0===t[5]||0===t[2]?1:Math.abs(2*t[4]/t[2]),r=["left"===e?-i:"right"===e?i:0,"top"===e?-o:"bottom"===e?o:0];return r=Vs(r,t,n),Math.abs(r[0])>Math.abs(r[1])?r[0]>0?"right":"left":r[1]>0?"bottom":"top"},groupTransition:function(e,t,n,i){if(e&&t){var o,r=(o={},e.traverse(function(e){!e.isGroup&&e.anid&&(o[e.anid]=e)}),o);t.traverse(function(e){if(!e.isGroup&&e.anid){var t=r[e.anid];if(t){var i=a(e);e.attr(a(t)),Ds(e,i,n,e.dataIndex)}}})}function a(e){var t={position:F.clone(e.position),rotation:e.rotation};return e.shape&&(t.shape=D.extend({},e.shape)),t}},clipPointsByRect:function(e,t){return D.map(e,function(e){var n=e[0];n=rs(n,t.x),n=as(n,t.x+t.width);var i=e[1];return i=rs(i,t.y),[n,i=as(i,t.y+t.height)]})},clipRectByRect:function(e,t){var n=rs(e.x,t.x),i=as(e.x+e.width,t.x+t.width),o=rs(e.y,t.y),r=as(e.y+e.height,t.y+t.height);if(i>=n&&r>=o)return{x:n,y:o,width:i-n,height:r-o}},createIcon:function(e,t,n){var i=(t=D.extend({rectHover:!0},t)).style={strokeNoScale:!0};if(n=n||{x:-1,y:-1,width:2,height:2},e)return 0===e.indexOf("image://")?(i.image=e.slice(8),D.defaults(i,n),new bi(t)):cs(e.replace("path://",""),t,n,"center")}},Ps=["textStyle","color"],Ns={getTextColor:function(e){var t=this.ecModel;return this.getShallow("color")||(!e&&t?t.get(Ps):null)},getFont:function(){return Ls.getFont({fontStyle:this.getShallow("fontStyle"),fontWeight:this.getShallow("fontWeight"),fontSize:this.getShallow("fontSize"),fontFamily:this.getShallow("fontFamily")},this.ecModel)},getTextRect:function(e){return Bn.getBoundingRect(e,this.getFont(),this.getShallow("align"),this.getShallow("verticalAlign")||this.getShallow("baseline"),this.getShallow("padding"),this.getShallow("rich"),this.getShallow("truncateText"))}},Rs=po([["fill","color"],["stroke","borderColor"],["lineWidth","borderWidth"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"],["textPosition"],["textAlign"]]),Fs={getItemStyle:function(e,t){var n=Rs(this,e,t),i=this.getBorderLineDash();return i&&(n.lineDash=i),n},getBorderLineDash:function(){var e=this.get("borderType");return"solid"===e||null==e?null:"dashed"===e?[5,5]:[1,1]}},Bs=ro.makeInner,zs=ho.enableClassExtend,Hs=ho.enableClassCheck,$s=D.mixin,qs=Bs();function Ws(e,t,n){this.parentModel=t,this.ecModel=n,this.option=e}function Gs(e,t,n){for(var i=0;i<t.length&&(!t[i]||null!=(e=e&&"object"==typeof e?e[t[i]]:null));i++);return null==e&&n&&(e=n.get(t)),e}function Us(e,t){var n=qs(e).getParent;return n?n.call(e,t):e.parentModel}Ws.prototype={constructor:Ws,init:null,mergeOption:function(e){D.merge(this.option,e,!0)},get:function(e,t){return null==e?this.option:Gs(this.option,this.parsePath(e),!t&&Us(this,e))},getShallow:function(e,t){var n=this.option,i=null==n?n:n[e],o=!t&&Us(this,e);return null==i&&o&&(i=o.getShallow(e)),i},getModel:function(e,t){var n;return new Ws(null==e?this.option:Gs(this.option,e=this.parsePath(e)),t=t||(n=Us(this,e))&&n.getModel(e),this.ecModel)},isEmpty:function(){return null==this.option},restoreData:function(){},clone:function(){return new(0,this.constructor)(D.clone(this.option))},setReadOnly:function(e){},parsePath:function(e){return"string"==typeof e&&(e=e.split(".")),e},customizeGetParent:function(e){qs(this).getParent=e},isAnimationEnabled:function(){if(!c.node){if(null!=this.option.animation)return!!this.option.animation;if(this.parentModel)return this.parentModel.isAnimationEnabled()}}},zs(Ws),Hs(Ws),$s(Ws,mo),$s(Ws,vo),$s(Ws,Ns),$s(Ws,Fs);var Ks=Ws,Ys=ho.parseClassType,Zs=0;var Xs={getUID:function(e){return[e||"",Zs++,Math.random().toFixed(5)].join("_")},enableSubTypeDefaulter:function(e){var t={};return e.registerSubTypeDefaulter=function(e,n){e=Ys(e),t[e.main]=n},e.determineSubType=function(n,i){var o=i.type;if(!o){var r=Ys(n).main;e.hasSubTypes(n)&&t[r]&&(o=t[r](i))}return o},e},enableTopologicalTravel:function(e,t){function n(e,t){return e[t]||(e[t]={predecessor:[],successor:[]}),e[t]}e.topologicalTravel=function(e,i,o,r){if(e.length){var a=function(e){var i={},o=[];return D.each(e,function(r){var a=n(i,r),s=function(e,t){var n=[];return D.each(e,function(e){D.indexOf(t,e)>=0&&n.push(e)}),n}(a.originalDeps=t(r),e);a.entryCount=s.length,0===a.entryCount&&o.push(r),D.each(s,function(e){D.indexOf(a.predecessor,e)<0&&a.predecessor.push(e);var t=n(i,e);D.indexOf(t.successor,e)<0&&t.successor.push(r)})}),{graph:i,noEntryList:o}}(i),s=a.graph,c=a.noEntryList,l={};for(D.each(e,function(e){l[e]=!0});c.length;){var d=c.pop(),u=s[d],f=!!l[d];f&&(o.call(r,d,u.originalDeps.slice()),delete l[d]),D.each(u.successor,f?p:h)}D.each(l,function(){throw new Error("Circle dependency may exists")})}function h(e){s[e].entryCount--,0===s[e].entryCount&&c.push(e)}function p(e){l[e]=!0,h(e)}}}},Qs=1e-4;var Js=/^(?:(\d{4})(?:[-\/](\d{1,2})(?:[-\/](\d{1,2})(?:[T ](\d{1,2})(?::(\d\d)(?::(\d\d)(?:[.,](\d+))?)?)?(Z|[\+\-]\d\d:?\d\d)?)?)?)?)?$/;function ec(e){return Math.floor(Math.log(e)/Math.LN10)}var tc={linearMap:function(e,t,n,i){var o=t[1]-t[0],r=n[1]-n[0];if(0===o)return 0===r?n[0]:(n[0]+n[1])/2;if(i)if(o>0){if(e<=t[0])return n[0];if(e>=t[1])return n[1]}else{if(e>=t[0])return n[0];if(e<=t[1])return n[1]}else{if(e===t[0])return n[0];if(e===t[1])return n[1]}return(e-t[0])/o*r+n[0]},parsePercent:function(e,t){switch(e){case"center":case"middle":e="50%";break;case"left":case"top":e="0%";break;case"right":case"bottom":e="100%"}return"string"==typeof e?(n=e,n.replace(/^\s+/,"").replace(/\s+$/,"")).match(/%$/)?parseFloat(e)/100*t:parseFloat(e):null==e?NaN:+e;var n},round:function(e,t,n){return null==t&&(t=10),t=Math.min(Math.max(0,t),20),e=(+e).toFixed(t),n?e:+e},asc:function(e){return e.sort(function(e,t){return e-t}),e},getPrecision:function(e){if(e=+e,isNaN(e))return 0;for(var t=1,n=0;Math.round(e*t)/t!==e;)t*=10,n++;return n},getPrecisionSafe:function(e){var t=e.toString(),n=t.indexOf("e");if(n>0){var i=+t.slice(n+1);return i<0?-i:0}var o=t.indexOf(".");return o<0?0:t.length-1-o},getPixelPrecision:function(e,t){var n=Math.log,i=Math.LN10,o=Math.floor(n(e[1]-e[0])/i),r=Math.round(n(Math.abs(t[1]-t[0]))/i),a=Math.min(Math.max(-o+r,0),20);return isFinite(a)?a:20},getPercentWithPrecision:function(e,t,n){if(!e[t])return 0;var i=D.reduce(e,function(e,t){return e+(isNaN(t)?0:t)},0);if(0===i)return 0;for(var o=Math.pow(10,n),r=D.map(e,function(e){return(isNaN(e)?0:e)/i*o*100}),a=100*o,s=D.map(r,function(e){return Math.floor(e)}),c=D.reduce(s,function(e,t){return e+t},0),l=D.map(r,function(e,t){return e-s[t]});c<a;){for(var d=Number.NEGATIVE_INFINITY,u=null,f=0,h=l.length;f<h;++f)l[f]>d&&(d=l[f],u=f);++s[u],l[u]=0,++c}return s[t]/o},MAX_SAFE_INTEGER:9007199254740991,remRadian:function(e){var t=2*Math.PI;return(e%t+t)%t},isRadianAroundZero:function(e){return e>-Qs&&e<Qs},parseDate:function(e){if(e instanceof Date)return e;if("string"==typeof e){var t=Js.exec(e);if(!t)return new Date(NaN);if(t[8]){var n=+t[4]||0;return"Z"!==t[8].toUpperCase()&&(n-=t[8].slice(0,3)),new Date(Date.UTC(+t[1],+(t[2]||1)-1,+t[3]||1,n,+(t[5]||0),+t[6]||0,+t[7]||0))}return new Date(+t[1],+(t[2]||1)-1,+t[3]||1,+t[4]||0,+(t[5]||0),+t[6]||0,+t[7]||0)}return null==e?new Date(NaN):new Date(Math.round(e))},quantity:function(e){return Math.pow(10,ec(e))},nice:function(e,t){var n=ec(e),i=Math.pow(10,n),o=e/i;return e=(t?o<1.5?1:o<2.5?2:o<4?3:o<7?5:10:o<1?1:o<2?2:o<3?3:o<5?5:10)*i,n>=-20?+e.toFixed(n<0?-n:0):e},quantile:function(e,t){var n=(e.length-1)*t+1,i=Math.floor(n),o=+e[i-1],r=n-i;return r?o+r*(e[i]-o):o},reformIntervals:function(e){e.sort(function(e,t){return function e(t,n,i){return t.interval[i]<n.interval[i]||t.interval[i]===n.interval[i]&&(t.close[i]-n.close[i]==(i?-1:1)||!i&&e(t,n,1))}(e,t,0)?-1:1});for(var t=-1/0,n=1,i=0;i<e.length;){for(var o=e[i].interval,r=e[i].close,a=0;a<2;a++)o[a]<=t&&(o[a]=t,r[a]=a?1:1-n),t=o[a],n=r[a];o[0]===o[1]&&r[0]*r[1]!=1?e.splice(i,1):i++}return e},isNumeric:function(e){return e-parseFloat(e)>=0}};var nc=/([&<>"'])/g,ic={"&":"&","<":"<",">":">",'"':""","'":"'"};function oc(e){return null==e?"":(e+"").replace(nc,function(e,t){return ic[t]})}var rc=["a","b","c","d","e","f","g"],ac=function(e,t){return"{"+e+(null==t?"":t)+"}"};function sc(e,t){return"0000".substr(0,t-(e+="").length)+e}var cc={addCommas:function(e){return isNaN(e)?"-":(e=(e+"").split("."))[0].replace(/(\d{1,3})(?=(?:\d{3})+(?!\d))/g,"$1,")+(e.length>1?"."+e[1]:"")},toCamelCase:function(e,t){return e=(e||"").toLowerCase().replace(/-(.)/g,function(e,t){return t.toUpperCase()}),t&&e&&(e=e.charAt(0).toUpperCase()+e.slice(1)),e},normalizeCssArray:D.normalizeCssArray,encodeHTML:oc,formatTpl:function(e,t,n){D.isArray(t)||(t=[t]);var i=t.length;if(!i)return"";for(var o=t[0].$vars||[],r=0;r<o.length;r++){var a=rc[r];e=e.replace(ac(a),ac(a,0))}for(var s=0;s<i;s++)for(var c=0;c<o.length;c++){var l=t[s][o[c]];e=e.replace(ac(rc[c],s),n?oc(l):l)}return e},formatTplSimple:function(e,t,n){return D.each(t,function(t,i){e=e.replace("{"+i+"}",n?oc(t):t)}),e},getTooltipMarker:function(e,t){var n=(e=D.isString(e)?{color:e,extraCssText:t}:e||{}).color,i=e.type,o=(t=e.extraCssText,e.renderMode||"html"),r=e.markerId||"X";return n?"html"===o?"subItem"===i?'<span style="display:inline-block;vertical-align:middle;margin-right:8px;margin-left:3px;border-radius:4px;width:4px;height:4px;background-color:'+oc(n)+";"+(t||"")+'"></span>':'<span style="display:inline-block;margin-right:5px;border-radius:10px;width:10px;height:10px;background-color:'+oc(n)+";"+(t||"")+'"></span>':{renderMode:o,content:"{marker"+r+"|} ",style:{color:n}}:""},formatTime:function(e,t,n){"week"!==e&&"month"!==e&&"quarter"!==e&&"half-year"!==e&&"year"!==e||(e="MM-dd\nyyyy");var i=tc.parseDate(t),o=n?"UTC":"",r=i["get"+o+"FullYear"](),a=i["get"+o+"Month"]()+1,s=i["get"+o+"Date"](),c=i["get"+o+"Hours"](),l=i["get"+o+"Minutes"](),d=i["get"+o+"Seconds"](),u=i["get"+o+"Milliseconds"]();return e=e.replace("MM",sc(a,2)).replace("M",a).replace("yyyy",r).replace("yy",r%100).replace("dd",sc(s,2)).replace("d",s).replace("hh",sc(c,2)).replace("h",c).replace("mm",sc(l,2)).replace("m",l).replace("ss",sc(d,2)).replace("s",d).replace("SSS",sc(u,3))},capitalFirst:function(e){return e?e.charAt(0).toUpperCase()+e.substr(1):e},truncateText:Bn.truncateText,getTextRect:Bn.getBoundingRect},lc=tc.parsePercent,dc=D.each,uc=["left","right","top","bottom","width","height"],fc=[["width","left","right"],["height","top","bottom"]];function hc(e,t,n,i,o){var r=0,a=0;null==i&&(i=1/0),null==o&&(o=1/0);var s=0;t.eachChild(function(c,l){var d,u,f=c.position,h=c.getBoundingRect(),p=t.childAt(l+1),g=p&&p.getBoundingRect();if("horizontal"===e){var m=h.width+(g?-g.x+h.x:0);(d=r+m)>i||c.newline?(r=0,d=m,a+=s+n,s=h.height):s=Math.max(s,h.height)}else{var b=h.height+(g?-g.y+h.y:0);(u=a+b)>o||c.newline?(r+=s+n,a=0,u=b,s=h.width):s=Math.max(s,h.width)}c.newline||(f[0]=r,f[1]=a,"horizontal"===e?r=d+n:a=u+n)})}var pc=hc,gc=D.curry(hc,"vertical"),mc=D.curry(hc,"horizontal");function bc(e,t,n){n=cc.normalizeCssArray(n||0);var i=t.width,o=t.height,r=lc(e.left,i),a=lc(e.top,o),s=lc(e.right,i),c=lc(e.bottom,o),l=lc(e.width,i),d=lc(e.height,o),u=n[2]+n[0],f=n[1]+n[3],h=e.aspect;switch(isNaN(l)&&(l=i-s-f-r),isNaN(d)&&(d=o-c-u-a),null!=h&&(isNaN(l)&&isNaN(d)&&(h>i/o?l=.8*i:d=.8*o),isNaN(l)&&(l=h*d),isNaN(d)&&(d=l/h)),isNaN(r)&&(r=i-s-l-f),isNaN(a)&&(a=o-c-d-u),e.left||e.right){case"center":r=i/2-l/2-n[3];break;case"right":r=i-l-f}switch(e.top||e.bottom){case"middle":case"center":a=o/2-d/2-n[0];break;case"bottom":a=o-d-u}r=r||0,a=a||0,isNaN(l)&&(l=i-f-r-(s||0)),isNaN(d)&&(d=o-u-a-(c||0));var p=new Vt(r+n[3],a+n[0],l,d);return p.margin=n,p}function vc(e,t){return t&&e&&dc(uc,function(n){t.hasOwnProperty(n)&&(e[n]=t[n])}),e}var yc={LOCATION_PARAMS:uc,HV_NAMES:fc,box:pc,vbox:gc,hbox:mc,getAvailableSize:function(e,t,n){var i=t.width,o=t.height,r=lc(e.x,i),a=lc(e.y,o),s=lc(e.x2,i),c=lc(e.y2,o);return(isNaN(r)||isNaN(parseFloat(e.x)))&&(r=0),(isNaN(s)||isNaN(parseFloat(e.x2)))&&(s=i),(isNaN(a)||isNaN(parseFloat(e.y)))&&(a=0),(isNaN(c)||isNaN(parseFloat(e.y2)))&&(c=o),n=cc.normalizeCssArray(n||0),{width:Math.max(s-r-n[1]-n[3],0),height:Math.max(c-a-n[0]-n[2],0)}},getLayoutRect:bc,positionElement:function(e,t,n,i,o){var r=!o||!o.hv||o.hv[0],a=!o||!o.hv||o.hv[1],s=o&&o.boundingMode||"all";if(r||a){var c;if("raw"===s)c="group"===e.type?new Vt(0,0,+t.width||0,+t.height||0):e.getBoundingRect();else if(c=e.getBoundingRect(),e.needLocalTransform()){var l=e.getLocalTransform();(c=c.clone()).applyTransform(l)}t=bc(D.defaults({width:c.width,height:c.height},t),n,i);var d=e.position,u=r?t.x-c.x:0,f=a?t.y-c.y:0;e.attr("position","raw"===s?[u,f]:[d[0]+u,d[1]+f])}},sizeCalculable:function(e,t){return null!=e[fc[t][0]]||null!=e[fc[t][1]]&&null!=e[fc[t][2]]},mergeLayoutParam:function(e,t,n){!D.isObject(n)&&(n={});var i=n.ignoreSize;!D.isArray(i)&&(i=[i,i]);var o=a(fc[0],0),r=a(fc[1],1);function a(n,o){var r={},a=0,l={},d=0;if(dc(n,function(t){l[t]=e[t]}),dc(n,function(e){s(t,e)&&(r[e]=l[e]=t[e]),c(r,e)&&a++,c(l,e)&&d++}),i[o])return c(t,n[1])?l[n[2]]=null:c(t,n[2])&&(l[n[1]]=null),l;if(2!==d&&a){if(a>=2)return r;for(var u=0;u<n.length;u++){var f=n[u];if(!s(r,f)&&s(e,f)){r[f]=e[f];break}}return r}return l}function s(e,t){return e.hasOwnProperty(t)}function c(e,t){return null!=e[t]&&"auto"!==e[t]}function l(e,t,n){dc(e,function(e){t[e]=n[e]})}l(fc[0],e,o),l(fc[1],e,r)},getLayoutParams:function(e){return vc({},e)},copyLayoutParams:vc},_c={getBoxLayoutParams:function(){return{left:this.get("left"),top:this.get("top"),right:this.get("right"),bottom:this.get("bottom"),width:this.get("width"),height:this.get("height")}}},wc=ho.enableClassManagement,xc=ho.parseClassType,Sc=(0,ro.makeInner)(),Tc=Ks.extend({type:"component",id:"",name:"",mainType:"",subType:"",componentIndex:0,defaultOption:null,ecModel:null,dependentModels:[],uid:null,layoutMode:null,$constructor:function(e,t,n,i){Ks.call(this,e,t,n,i),this.uid=Xs.getUID("ec_cpt_model")},init:function(e,t,n,i){this.mergeDefaultAndTheme(e,n)},mergeDefaultAndTheme:function(e,t){var n=this.layoutMode,i=n?yc.getLayoutParams(e):{},o=t.getTheme();D.merge(e,o.get(this.mainType)),D.merge(e,this.getDefaultOption()),n&&yc.mergeLayoutParam(e,i,n)},mergeOption:function(e,t){D.merge(this.option,e,!0);var n=this.layoutMode;n&&yc.mergeLayoutParam(this.option,e,n)},optionUpdated:function(e,t){},getDefaultOption:function(){var e=Sc(this);if(!e.defaultOption){for(var t=[],n=this.constructor;n;){var i=n.prototype.defaultOption;i&&t.push(i),n=n.superClass}for(var o={},r=t.length-1;r>=0;r--)o=D.merge(o,t[r],!0);e.defaultOption=o}return e.defaultOption},getReferringComponents:function(e){return this.ecModel.queryComponents({mainType:e,index:this.get(e+"Index",!0),id:this.get(e+"Id",!0)})}});wc(Tc,{registerWhenExtend:!0}),Xs.enableSubTypeDefaulter(Tc),Xs.enableTopologicalTravel(Tc,function(e){var t=[];D.each(Tc.getClassesByMainType(e),function(e){t=t.concat(e.prototype.dependencies||[])}),t=D.map(t,function(e){return xc(e).main}),"dataset"!==e&&D.indexOf(t,"dataset")<=0&&t.unshift("dataset");return t}),D.mixin(Tc,_c);var kc=Tc,Cc="";"undefined"!=typeof navigator&&(Cc=navigator.platform||"");var jc={color:["#c23531","#2f4554","#61a0a8","#d48265","#91c7ae","#749f83","#ca8622","#bda29a","#6e7074","#546570","#c4ccd3"],gradientColor:["#f6efa6","#d88273","#bf444c"],textStyle:{fontFamily:Cc.match(/^Win/)?"Microsoft YaHei":"sans-serif",fontSize:12,fontStyle:"normal",fontWeight:"normal"},blendMode:null,animation:"auto",animationDuration:1e3,animationDurationUpdate:300,animationEasing:"exponentialOut",animationEasingUpdate:"cubicOut",animationThreshold:2e3,progressiveThreshold:3e3,progressive:400,hoverLayerThreshold:3e3,useUTC:!1},Ac=ro.makeInner,Ec=ro.normalizeToArray,Ic=Ac();var Mc={clearColorPalette:function(){Ic(this).colorIdx=0,Ic(this).colorNameMap={}},getColorFromPalette:function(e,t,n){var i=Ic(t=t||this),o=i.colorIdx||0,r=i.colorNameMap=i.colorNameMap||{};if(r.hasOwnProperty(e))return r[e];var a=Ec(this.get("color",!0)),s=this.get("colorLayer",!0),c=null!=n&&s?function(e,t){for(var n=e.length,i=0;i<n;i++)if(e[i].length>t)return e[i];return e[n-1]}(s,n):a;if((c=c||a)&&c.length){var l=c[o];return e&&(r[e]=l),i.colorIdx=(o+1)%c.length,l}}},Oc=D.createHashMap,Dc=D.each;var Vc={cartesian2d:function(e,t,n,i){var o=e.getReferringComponents("xAxis")[0],r=e.getReferringComponents("yAxis")[0];t.coordSysDims=["x","y"],n.set("x",o),n.set("y",r),Lc(o)&&(i.set("x",o),t.firstCategoryDimIndex=0),Lc(r)&&(i.set("y",r),t.firstCategoryDimIndex=1)},singleAxis:function(e,t,n,i){var o=e.getReferringComponents("singleAxis")[0];t.coordSysDims=["single"],n.set("single",o),Lc(o)&&(i.set("single",o),t.firstCategoryDimIndex=0)},polar:function(e,t,n,i){var o=e.getReferringComponents("polar")[0],r=o.findAxisModel("radiusAxis"),a=o.findAxisModel("angleAxis");t.coordSysDims=["radius","angle"],n.set("radius",r),n.set("angle",a),Lc(r)&&(i.set("radius",r),t.firstCategoryDimIndex=0),Lc(a)&&(i.set("angle",a),t.firstCategoryDimIndex=1)},geo:function(e,t,n,i){t.coordSysDims=["lng","lat"]},parallel:function(e,t,n,i){var o=e.ecModel,r=o.getComponent("parallel",e.get("parallelIndex")),a=t.coordSysDims=r.dimensions.slice();Dc(r.parallelAxisIndex,function(e,r){var s=o.getComponent("parallelAxis",e),c=a[r];n.set(c,s),Lc(s)&&null==t.firstCategoryDimIndex&&(i.set(c,s),t.firstCategoryDimIndex=r)})}};function Lc(e){return"category"===e.get("type")}var Pc={getCoordSysDefineBySeries:function(e){var t=e.get("coordinateSystem"),n={coordSysName:t,coordSysDims:[],axisMap:Oc(),categoryAxisMap:Oc()},i=Vc[t];if(i)return i(e,n,n.axisMap,n.categoryAxisMap),n}},Nc={SOURCE_FORMAT_ORIGINAL:"original",SOURCE_FORMAT_ARRAY_ROWS:"arrayRows",SOURCE_FORMAT_OBJECT_ROWS:"objectRows",SOURCE_FORMAT_KEYED_COLUMNS:"keyedColumns",SOURCE_FORMAT_UNKNOWN:"unknown",SOURCE_FORMAT_TYPED_ARRAY:"typedArray",SERIES_LAYOUT_BY_COLUMN:"column",SERIES_LAYOUT_BY_ROW:"row"},Rc=D.createHashMap,Fc=D.isTypedArray,Bc=ho.enableClassCheck,zc=Nc.SOURCE_FORMAT_ORIGINAL,Hc=Nc.SERIES_LAYOUT_BY_COLUMN,$c=Nc.SOURCE_FORMAT_UNKNOWN,qc=Nc.SOURCE_FORMAT_TYPED_ARRAY,Wc=Nc.SOURCE_FORMAT_KEYED_COLUMNS;function Gc(e){this.fromDataset=e.fromDataset,this.data=e.data||(e.sourceFormat===Wc?{}:[]),this.sourceFormat=e.sourceFormat||$c,this.seriesLayoutBy=e.seriesLayoutBy||Hc,this.dimensionsDefine=e.dimensionsDefine,this.encodeDefine=e.encodeDefine&&Rc(e.encodeDefine),this.startIndex=e.startIndex||0,this.dimensionsDetectCount=e.dimensionsDetectCount}Gc.seriesDataToSource=function(e){return new Gc({data:e,sourceFormat:Fc(e)?qc:zc,fromDataset:!1})},Bc(Gc);var Uc=Gc,Kc=ro.makeInner,Yc=ro.getDataItemValue,Zc=Pc.getCoordSysDefineBySeries,Xc=D.createHashMap,Qc=D.each,Jc=D.map,el=D.isArray,tl=D.isString,nl=D.isObject,il=D.isTypedArray,ol=D.isArrayLike,rl=D.extend,al=Nc.SOURCE_FORMAT_ORIGINAL,sl=Nc.SOURCE_FORMAT_ARRAY_ROWS,cl=Nc.SOURCE_FORMAT_OBJECT_ROWS,ll=Nc.SOURCE_FORMAT_KEYED_COLUMNS,dl=Nc.SOURCE_FORMAT_UNKNOWN,ul=Nc.SOURCE_FORMAT_TYPED_ARRAY,fl=Nc.SERIES_LAYOUT_BY_ROW,hl=Kc();function pl(e){if(e){var t=Xc();return Jc(e,function(e,n){if(null==(e=rl({},nl(e)?e:{name:e})).name)return e;e.name+="",null==e.displayName&&(e.displayName=e.name);var i=t.get(e.name);return i?e.name+="-"+i.count++:t.set(e.name,{count:1}),e})}}function gl(e,t,n,i){if(null==i&&(i=1/0),t===fl)for(var o=0;o<n.length&&o<i;o++)e(n[o]?n[o][0]:null,o);else{var r=n[0]||[];for(o=0;o<r.length&&o<i;o++)e(r[o],o)}}function ml(e,t,n,i,o,r){var a,s;if(il(e))return!1;if(i&&(s=i[r],s=nl(s)?s.name:s),t===sl)if(n===fl){for(var c=e[r],l=0;l<(c||[]).length&&l<5;l++)if(null!=(a=h(c[o+l])))return a}else for(l=0;l<e.length&&l<5;l++){var d=e[o+l];if(d&&null!=(a=h(d[r])))return a}else if(t===cl){if(!s)return;for(l=0;l<e.length&&l<5;l++){if((u=e[l])&&null!=(a=h(u[s])))return a}}else if(t===ll){if(!s)return;if(!(c=e[s])||il(c))return!1;for(l=0;l<c.length&&l<5;l++)if(null!=(a=h(c[l])))return a}else if(t===al)for(l=0;l<e.length&&l<5;l++){var u=e[l],f=Yc(u);if(!el(f))return!1;if(null!=(a=h(f[r])))return a}function h(e){return(null==e||!isFinite(e)||""===e)&&(!(!tl(e)||"-"===e)||void 0)}return!1}var bl={detectSourceFormat:function(e){var t=e.option.source,n=dl;if(il(t))n=ul;else if(el(t)){0===t.length&&(n=sl);for(var i=0,o=t.length;i<o;i++){var r=t[i];if(null!=r){if(el(r)){n=sl;break}if(nl(r)){n=cl;break}}}}else if(nl(t)){for(var a in t)if(t.hasOwnProperty(a)&&ol(t[a])){n=ll;break}}else if(null!=t)throw new Error("Invalid data");hl(e).sourceFormat=n},getSource:function(e){return hl(e).source},resetSourceDefaulter:function(e){hl(e).datasetMap=Xc()},prepareSource:function(e){var t=e.option,n=t.data,i=il(n)?ul:al,o=!1,r=t.seriesLayoutBy,a=t.sourceHeader,s=t.dimensions,c=function(e){var t=e.option;if(!t.data)return e.ecModel.getComponent("dataset",t.datasetIndex||0)}(e);if(c){var l=c.option;n=l.source,i=hl(c).sourceFormat,o=!0,r=r||l.seriesLayoutBy,null==a&&(a=l.sourceHeader),s=s||l.dimensions}var d=function(e,t,n,i,o){if(!e)return{dimensionsDefine:pl(o)};var r,a,s,c;if(t===sl)"auto"===i||null==i?gl(function(e){null!=e&&"-"!==e&&(tl(e)?null==a&&(a=1):a=0)},n,e,10):a=i?1:0,o||1!==a||(o=[],gl(function(e,t){o[t]=null!=e?e:""},n,e)),r=o?o.length:n===fl?e.length:e[0]?e[0].length:null;else if(t===cl)o||(o=function(e){for(var t,n=0;n<e.length&&!(t=e[n++]););if(t){var i=[];return Qc(t,function(e,t){i.push(t)}),i}}(e),s=!0);else if(t===ll)o||(o=[],s=!0,Qc(e,function(e,t){o.push(t)}));else if(t===al){var l=Yc(e[0]);r=el(l)&&l.length||1}return s&&Qc(o,function(e,t){"name"===(nl(e)?e.name:e)&&(c=t)}),{startIndex:a,dimensionsDefine:pl(o),dimensionsDetectCount:r,potentialNameDimIndex:c}}(n,i,r,a,s),u=t.encode;!u&&c&&(u=function(e,t,n,i,o,r){var a=Zc(e),s={},c=[],l=[],d=e.subType,u=Xc(["pie","map","funnel"]),f=Xc(["line","bar","pictorialBar","scatter","effectScatter","candlestick","boxplot"]);if(a&&null!=f.get(d)){var h=e.ecModel,p=hl(h).datasetMap,g=t.uid+"_"+o,m=p.get(g)||p.set(g,{categoryWayDim:1,valueWayDim:0});Qc(a.coordSysDims,function(e){if(null==a.firstCategoryDimIndex){var t=m.valueWayDim++;s[e]=t,l.push(t)}else if(a.categoryAxisMap.get(e))s[e]=0,c.push(0);else{var t=m.categoryWayDim++;s[e]=t,l.push(t)}})}else if(null!=u.get(d)){for(var b,v=0;v<5&&null==b;v++)ml(n,i,o,r.dimensionsDefine,r.startIndex,v)||(b=v);if(null!=b){s.value=b;var y=r.potentialNameDimIndex||Math.max(b-1,0);l.push(y),c.push(y)}}return c.length&&(s.itemName=c),l.length&&(s.seriesName=l),s}(e,c,n,i,r,d)),hl(e).source=new Uc({data:n,fromDataset:o,seriesLayoutBy:r,sourceFormat:i,dimensionsDefine:d.dimensionsDefine,startIndex:d.startIndex,dimensionsDetectCount:d.dimensionsDetectCount,encodeDefine:u})},guessOrdinal:function(e,t){return ml(e.data,e.sourceFormat,e.seriesLayoutBy,e.dimensionsDefine,e.startIndex,t)}},vl=D.each,yl=D.filter,_l=D.map,wl=D.isArray,xl=D.indexOf,Sl=D.isObject,Tl=D.isString,kl=D.createHashMap,Cl=D.assert,jl=D.clone,Al=D.merge,El=D.extend,Il=D.mixin,Ml=bl.resetSourceDefaulter,Ol="\0_ec_inner",Dl=Ks.extend({init:function(e,t,n,i){n=n||{},this.option=null,this._theme=new Ks(n),this._optionManager=i},setOption:function(e,t){Cl(!(Ol in e),"please use chart.getOption()"),this._optionManager.setOption(e,t),this.resetOption(null)},resetOption:function(e){var t=!1,n=this._optionManager;if(!e||"recreate"===e){var i=n.mountOption("recreate"===e);this.option&&"recreate"!==e?(this.restoreData(),this.mergeOption(i)):function(e){e=e,this.option={},this.option[Ol]=1,this._componentsMap=kl({series:[]}),this._seriesIndices,this._seriesIndicesMap,t=e,n=this._theme.option,i=t.color&&!t.colorLayer,vl(n,function(e,n){"colorLayer"===n&&i||kc.hasClass(n)||("object"==typeof e?t[n]=t[n]?Al(t[n],e,!1):jl(e):null==t[n]&&(t[n]=e))}),Al(e,jc,!1),this.mergeOption(e);var t,n,i}.call(this,i),t=!0}if("timeline"!==e&&"media"!==e||this.restoreData(),!e||"recreate"===e||"timeline"===e){var o=n.getTimelineOption(this);o&&(this.mergeOption(o),t=!0)}if(!e||"recreate"===e||"media"===e){var r=n.getMediaOption(this,this._api);r.length&&vl(r,function(e){this.mergeOption(e,t=!0)},this)}return t},mergeOption:function(e){var t=this.option,n=this._componentsMap,i=[];Ml(this),vl(e,function(e,n){null!=e&&(kc.hasClass(n)?n&&i.push(n):t[n]=null==t[n]?jl(e):Al(t[n],e,!0))}),kc.topologicalTravel(i,kc.getAllClassMainTypes(),function(i,o){var r=ro.normalizeToArray(e[i]),a=ro.mappingToExists(n.get(i),r);ro.makeIdAndName(a),vl(a,function(e,t){var n=e.option;Sl(n)&&(e.keyInfo.mainType=i,e.keyInfo.subType=function(e,t,n){return t.type?t.type:n?n.subType:kc.determineSubType(e,t)}(i,n,e.exist))});var s=function(e,t){wl(t)||(t=t?[t]:[]);var n={};return vl(t,function(t){n[t]=(e.get(t)||[]).slice()}),n}(n,o);t[i]=[],n.set(i,[]),vl(a,function(e,o){var r=e.exist,a=e.option;if(Cl(Sl(a)||r,"Empty component definition"),a){var c=kc.getClass(i,e.keyInfo.subType,!0);if(r&&r instanceof c)r.name=e.keyInfo.name,r.mergeOption(a,this),r.optionUpdated(a,!1);else{var l=El({dependentModels:s,componentIndex:o},e.keyInfo);r=new c(a,this,this,l),El(r,l),r.init(a,this,this,l),r.optionUpdated(null,!0)}}else r.mergeOption({},this),r.optionUpdated({},!1);n.get(i)[o]=r,t[i][o]=r.option},this),"series"===i&&Vl(this,n.get("series"))},this),this._seriesIndicesMap=kl(this._seriesIndices=this._seriesIndices||[])},getOption:function(){var e=jl(this.option);return vl(e,function(t,n){if(kc.hasClass(n)){for(var i=(t=ro.normalizeToArray(t)).length-1;i>=0;i--)ro.isIdInner(t[i])&&t.splice(i,1);e[n]=t}}),delete e[Ol],e},getTheme:function(){return this._theme},getComponent:function(e,t){var n=this._componentsMap.get(e);if(n)return n[t||0]},queryComponents:function(e){var t=e.mainType;if(!t)return[];var n,i=e.index,o=e.id,r=e.name,a=this._componentsMap.get(t);if(!a||!a.length)return[];if(null!=i)wl(i)||(i=[i]),n=yl(_l(i,function(e){return a[e]}),function(e){return!!e});else if(null!=o){var s=wl(o);n=yl(a,function(e){return s&&xl(o,e.id)>=0||!s&&e.id===o})}else if(null!=r){var c=wl(r);n=yl(a,function(e){return c&&xl(r,e.name)>=0||!c&&e.name===r})}else n=a.slice();return Ll(n,e)},findComponents:function(e){var t,n,i,o,r,a=e.query,s=e.mainType,c=(n=s+"Index",i=s+"Id",o=s+"Name",!(t=a)||null==t[n]&&null==t[i]&&null==t[o]?null:{mainType:s,index:t[n],id:t[i],name:t[o]}),l=c?this.queryComponents(c):this._componentsMap.get(s);return r=Ll(l,e),e.filter?yl(r,e.filter):r},eachComponent:function(e,t,n){var i=this._componentsMap;if("function"==typeof e)n=t,t=e,i.each(function(e,i){vl(e,function(e,o){t.call(n,i,e,o)})});else if(Tl(e))vl(i.get(e),t,n);else if(Sl(e)){var o=this.findComponents(e);vl(o,t,n)}},getSeriesByName:function(e){var t=this._componentsMap.get("series");return yl(t,function(t){return t.name===e})},getSeriesByIndex:function(e){return this._componentsMap.get("series")[e]},getSeriesByType:function(e){var t=this._componentsMap.get("series");return yl(t,function(t){return t.subType===e})},getSeries:function(){return this._componentsMap.get("series").slice()},getSeriesCount:function(){return this._componentsMap.get("series").length},eachSeries:function(e,t){vl(this._seriesIndices,function(n){var i=this._componentsMap.get("series")[n];e.call(t,i,n)},this)},eachRawSeries:function(e,t){vl(this._componentsMap.get("series"),e,t)},eachSeriesByType:function(e,t,n){vl(this._seriesIndices,function(i){var o=this._componentsMap.get("series")[i];o.subType===e&&t.call(n,o,i)},this)},eachRawSeriesByType:function(e,t,n){return vl(this.getSeriesByType(e),t,n)},isSeriesFiltered:function(e){return null==this._seriesIndicesMap.get(e.componentIndex)},getCurrentSeriesIndices:function(){return(this._seriesIndices||[]).slice()},filterSeries:function(e,t){Vl(this,yl(this._componentsMap.get("series"),e,t))},restoreData:function(e){var t=this._componentsMap;Vl(this,t.get("series"));var n=[];t.each(function(e,t){n.push(t)}),kc.topologicalTravel(n,kc.getAllClassMainTypes(),function(n,i){vl(t.get(n),function(t){("series"!==n||!function(e,t){if(t){var n=t.seiresIndex,i=t.seriesId,o=t.seriesName;return null!=n&&e.componentIndex!==n||null!=i&&e.id!==i||null!=o&&e.name!==o}}(t,e))&&t.restoreData()})})}});function Vl(e,t){e._seriesIndicesMap=kl(e._seriesIndices=_l(t,function(e){return e.componentIndex})||[])}function Ll(e,t){return t.hasOwnProperty("subType")?yl(e,function(e){return e.subType===t.subType}):e}Il(Dl,Mc);var Pl=Dl,Nl=["getDom","getZr","getWidth","getHeight","getDevicePixelRatio","dispatchAction","isDisposed","on","off","getDataURL","getConnectedDataURL","getModel","getOption","getViewOfComponentModel","getViewOfSeriesModel"];var Rl=function(e){D.each(Nl,function(t){this[t]=D.bind(e[t],e)},this)},Fl={};function Bl(){this._coordinateSystems=[]}Bl.prototype={constructor:Bl,create:function(e,t){var n=[];D.each(Fl,function(i,o){var r=i.create(e,t);n=n.concat(r||[])}),this._coordinateSystems=n},update:function(e,t){D.each(this._coordinateSystems,function(n){n.update&&n.update(e,t)})},getCoordinateSystems:function(){return this._coordinateSystems.slice()}},Bl.register=function(e,t){Fl[e]=t},Bl.get=function(e){return Fl[e]};var zl=Bl,Hl=D.each,$l=D.clone,ql=D.map,Wl=D.merge,Gl=/^(min|max)?(.+)$/;function Ul(e){this._api=e,this._timelineOptions=[],this._mediaList=[],this._mediaDefault,this._currentMediaIndices=[],this._optionBackup,this._newBaseOption}function Kl(e,t,n){var i={width:t,height:n,aspectratio:t/n},o=!0;return D.each(e,function(e,t){var n=t.match(Gl);if(n&&n[1]&&n[2]){var r=n[1],a=n[2].toLowerCase();(function(e,t,n){return"min"===n?e>=t:"max"===n?e<=t:e===t})(i[a],e,r)||(o=!1)}}),o}Ul.prototype={constructor:Ul,setOption:function(e,t){e&&D.each(ro.normalizeToArray(e.series),function(e){e&&e.data&&D.isTypedArray(e.data)&&D.setAsPrimitive(e.data)}),e=$l(e,!0);var n,i,o=this._optionBackup,r=function(e,t,n){var i,o,r=[],a=[],s=e.timeline;e.baseOption&&(o=e.baseOption);(s||e.options)&&(o=o||{},r=(e.options||[]).slice());if(e.media){o=o||{};var c=e.media;Hl(c,function(e){e&&e.option&&(e.query?a.push(e):i||(i=e))})}o||(o=e);o.timeline||(o.timeline=s);return Hl([o].concat(r).concat(D.map(a,function(e){return e.option})),function(e){Hl(t,function(t){t(e,n)})}),{baseOption:o,timelineOptions:r,mediaDefault:i,mediaList:a}}.call(this,e,t,!o);this._newBaseOption=r.baseOption,o?(n=o.baseOption,i=r.baseOption,Hl(i=i||{},function(e,t){if(null!=e){var i=n[t];if(kc.hasClass(t)){e=ro.normalizeToArray(e),i=ro.normalizeToArray(i);var o=ro.mappingToExists(i,e);n[t]=ql(o,function(e){return e.option&&e.exist?Wl(e.exist,e.option,!0):e.exist||e.option})}else n[t]=Wl(i,e,!0)}}),r.timelineOptions.length&&(o.timelineOptions=r.timelineOptions),r.mediaList.length&&(o.mediaList=r.mediaList),r.mediaDefault&&(o.mediaDefault=r.mediaDefault)):this._optionBackup=r},mountOption:function(e){var t=this._optionBackup;return this._timelineOptions=ql(t.timelineOptions,$l),this._mediaList=ql(t.mediaList,$l),this._mediaDefault=$l(t.mediaDefault),this._currentMediaIndices=[],$l(e?t.baseOption:this._newBaseOption)},getTimelineOption:function(e){var t,n=this._timelineOptions;if(n.length){var i=e.getComponent("timeline");i&&(t=$l(n[i.getCurrentIndex()],!0))}return t},getMediaOption:function(e){var t,n,i=this._api.getWidth(),o=this._api.getHeight(),r=this._mediaList,a=this._mediaDefault,s=[],c=[];if(!r.length&&!a)return c;for(var l=0,d=r.length;l<d;l++)Kl(r[l].query,i,o)&&s.push(l);return!s.length&&a&&(s=[-1]),s.length&&(t=s,n=this._currentMediaIndices,t.join(",")!==n.join(","))&&(c=ql(s,function(e){return $l(-1===e?a.option:r[e].option)})),this._currentMediaIndices=s,c}};var Yl=Ul,Zl=D.each,Xl=D.isObject,Ql=["areaStyle","lineStyle","nodeStyle","linkStyle","chordStyle","label","labelLine"];function Jl(e){var t=e&&e.itemStyle;if(t)for(var n=0,i=Ql.length;n<i;n++){var o=Ql[n],r=t.normal,a=t.emphasis;r&&r[o]&&(e[o]=e[o]||{},e[o].normal?D.merge(e[o].normal,r[o]):e[o].normal=r[o],r[o]=null),a&&a[o]&&(e[o]=e[o]||{},e[o].emphasis?D.merge(e[o].emphasis,a[o]):e[o].emphasis=a[o],a[o]=null)}}function ed(e,t,n){if(e&&e[t]&&(e[t].normal||e[t].emphasis)){var i=e[t].normal,o=e[t].emphasis;i&&(n?(e[t].normal=e[t].emphasis=null,D.defaults(e[t],i)):e[t]=i),o&&(e.emphasis=e.emphasis||{},e.emphasis[t]=o)}}function td(e){ed(e,"itemStyle"),ed(e,"lineStyle"),ed(e,"areaStyle"),ed(e,"label"),ed(e,"labelLine"),ed(e,"upperLabel"),ed(e,"edgeLabel")}function nd(e,t){var n=Xl(e)&&e[t],i=Xl(n)&&n.textStyle;if(i)for(var o=0,r=ro.TEXT_STYLE_OPTIONS.length;o<r;o++){t=ro.TEXT_STYLE_OPTIONS[o];i.hasOwnProperty(t)&&(n[t]=i[t])}}function id(e){e&&(td(e),nd(e,"label"),e.emphasis&&nd(e.emphasis,"label"))}function od(e){return D.isArray(e)?e:e?[e]:[]}function rd(e){return(D.isArray(e)?e[0]:e)||{}}var ad=function(e,t){Zl(od(e.series),function(e){Xl(e)&&function(e){if(Xl(e)){Jl(e),td(e),nd(e,"label"),nd(e,"upperLabel"),nd(e,"edgeLabel"),e.emphasis&&(nd(e.emphasis,"label"),nd(e.emphasis,"upperLabel"),nd(e.emphasis,"edgeLabel")),(n=e.markPoint)&&(Jl(n),id(n)),(i=e.markLine)&&(Jl(i),id(i));var t=e.markArea;t&&id(t);var n,i,o=e.data;if("graph"===e.type){o=o||e.nodes;var r=e.links||e.edges;if(r&&!D.isTypedArray(r))for(var a=0;a<r.length;a++)id(r[a]);D.each(e.categories,function(e){td(e)})}if(o&&!D.isTypedArray(o))for(a=0;a<o.length;a++)id(o[a]);if((n=e.markPoint)&&n.data){var s=n.data;for(a=0;a<s.length;a++)id(s[a])}if((i=e.markLine)&&i.data){var c=i.data;for(a=0;a<c.length;a++)D.isArray(c[a])?(id(c[a][0]),id(c[a][1])):id(c[a])}"gauge"===e.type?(nd(e,"axisLabel"),nd(e,"title"),nd(e,"detail")):"treemap"===e.type?(ed(e.breadcrumb,"itemStyle"),D.each(e.levels,function(e){td(e)})):"tree"===e.type&&td(e.leaves)}}(e)});var n=["xAxis","yAxis","radiusAxis","angleAxis","singleAxis","parallelAxis","radar"];t&&n.push("valueAxis","categoryAxis","logAxis","timeAxis"),Zl(n,function(t){Zl(od(e[t]),function(e){e&&(nd(e,"axisLabel"),nd(e.axisPointer,"label"))})}),Zl(od(e.parallel),function(e){var t=e&&e.parallelAxisDefault;nd(t,"axisLabel"),nd(t&&t.axisPointer,"label")}),Zl(od(e.calendar),function(e){ed(e,"itemStyle"),nd(e,"dayLabel"),nd(e,"monthLabel"),nd(e,"yearLabel")}),Zl(od(e.radar),function(e){nd(e,"name")}),Zl(od(e.geo),function(e){Xl(e)&&(id(e),Zl(od(e.regions),function(e){id(e)}))}),Zl(od(e.timeline),function(e){id(e),ed(e,"label"),ed(e,"itemStyle"),ed(e,"controlStyle",!0);var t=e.data;D.isArray(t)&&D.each(t,function(e){D.isObject(e)&&(ed(e,"label"),ed(e,"itemStyle"))})}),Zl(od(e.toolbox),function(e){ed(e,"iconStyle"),Zl(e.feature,function(e){ed(e,"iconStyle")})}),nd(rd(e.axisPointer),"label"),nd(rd(e.tooltip).axisPointer,"label")},sd=D.each,cd=D.isArray,ld=D.isObject,dd=ro.normalizeToArray;function ud(e){sd(fd,function(t){t[0]in e&&!(t[1]in e)&&(e[t[1]]=e[t[0]])})}var fd=[["x","left"],["y","top"],["x2","right"],["y2","bottom"]],hd=["grid","geo","parallel","legend","toolbox","title","visualMap","dataZoom","timeline"];var pd=function(e,t){ad(e,t),e.series=dd(e.series),sd(e.series,function(e){if(ld(e)){var t=e.type;if("pie"!==t&&"gauge"!==t||null!=e.clockWise&&(e.clockwise=e.clockWise),"gauge"===t){var n=function(e,t){t=t.split(",");for(var n=e,i=0;i<t.length&&null!=(n=n&&n[t[i]]);i++);return n}(e,"pointer.color");null!=n&&function(e,t,n,i){t=t.split(",");for(var o,r=e,a=0;a<t.length-1;a++)null==r[o=t[a]]&&(r[o]={}),r=r[o];(i||null==r[t[a]])&&(r[t[a]]=n)}(e,"itemStyle.normal.color",n)}ud(e)}}),e.dataRange&&(e.visualMap=e.dataRange),sd(hd,function(t){var n=e[t];n&&(cd(n)||(n=[n]),sd(n,function(e){ud(e)}))})},gd=D.createHashMap,md=D.each;function bd(e){md(e,function(t,n){var i=[],o=[NaN,NaN],r=[t.stackResultDimension,t.stackedOverDimension],a=t.data,s=t.isStackedByIndex,c=a.map(r,function(r,c,l){var d,u,f=a.get(t.stackedDimension,l);if(isNaN(f))return o;s?u=a.getRawIndex(l):d=a.get(t.stackedByDimension,l);for(var h=NaN,p=n-1;p>=0;p--){var g=e[p];if(s||(u=g.data.rawIndexOf(g.stackedByDimension,d)),u>=0){var m=g.data.getByRawIndex(g.stackResultDimension,u);if(f>=0&&m>0||f<=0&&m<0){f+=m,h=m;break}}}return i[0]=f,i[1]=h,i});a.hostModel.setData(c),t.data=c})}var vd=function(e){var t=gd();e.eachSeries(function(e){var n=e.get("stack");if(n){var i=t.get(n)||t.set(n,[]),o=e.getData(),r={stackResultDimension:o.getCalculationInfo("stackResultDimension"),stackedOverDimension:o.getCalculationInfo("stackedOverDimension"),stackedDimension:o.getCalculationInfo("stackedDimension"),stackedByDimension:o.getCalculationInfo("stackedByDimension"),isStackedByIndex:o.getCalculationInfo("isStackedByIndex"),data:o,seriesModel:e};if(!r.stackedDimension||!r.isStackedByIndex&&!r.stackedByDimension)return;i.length&&o.setCalculationInfo("stackedOnSeries",i[i.length-1].seriesModel),i.push(r)}}),t.each(bd)},yd=D.extend,_d=D.each,wd=D.isObject,xd=ro.getDataItemValue,Sd=ro.isDataItemOption,Td=tc.parseDate,kd=Nc.SOURCE_FORMAT_TYPED_ARRAY,Cd=Nc.SOURCE_FORMAT_ARRAY_ROWS,jd=Nc.SOURCE_FORMAT_ORIGINAL,Ad=Nc.SOURCE_FORMAT_OBJECT_ROWS;function Ed(e,t){Uc.isInstance(e)||(e=Uc.seriesDataToSource(e)),this._source=e;var n=this._data=e.data,i=e.sourceFormat;i===kd&&(this._offset=0,this._dimSize=t,this._data=n);var o=Md[i===Cd?i+"_"+e.seriesLayoutBy:i];yd(this,o)}var Id=Ed.prototype;Id.pure=!1,Id.persistent=!0,Id.getSource=function(){return this._source};var Md={arrayRows_column:{pure:!0,count:function(){return Math.max(0,this._data.length-this._source.startIndex)},getItem:function(e){return this._data[e+this._source.startIndex]},appendData:Vd},arrayRows_row:{pure:!0,count:function(){var e=this._data[0];return e?Math.max(0,e.length-this._source.startIndex):0},getItem:function(e){e+=this._source.startIndex;for(var t=[],n=this._data,i=0;i<n.length;i++){var o=n[i];t.push(o?o[e]:null)}return t},appendData:function(){throw new Error('Do not support appendData when set seriesLayoutBy: "row".')}},objectRows:{pure:!0,count:Od,getItem:Dd,appendData:Vd},keyedColumns:{pure:!0,count:function(){var e=this._source.dimensionsDefine[0].name,t=this._data[e];return t?t.length:0},getItem:function(e){for(var t=[],n=this._source.dimensionsDefine,i=0;i<n.length;i++){var o=this._data[n[i].name];t.push(o?o[e]:null)}return t},appendData:function(e){var t=this._data;_d(e,function(e,n){for(var i=t[n]||(t[n]=[]),o=0;o<(e||[]).length;o++)i.push(e[o])})}},original:{count:Od,getItem:Dd,appendData:Vd},typedArray:{persistent:!1,pure:!0,count:function(){return this._data?this._data.length/this._dimSize:0},getItem:function(e,t){e-=this._offset,t=t||[];for(var n=this._dimSize*e,i=0;i<this._dimSize;i++)t[i]=this._data[n+i];return t},appendData:function(e){this._data=e},clean:function(){this._offset+=this.count(),this._data=null}}};function Od(){return this._data.length}function Dd(e){return this._data[e]}function Vd(e){for(var t=0;t<e.length;t++)this._data.push(e[t])}var Ld={arrayRows:Pd,objectRows:function(e,t,n,i){return null!=n?e[i]:e},keyedColumns:Pd,original:function(e,t,n,i){var o=xd(e);return null!=n&&o instanceof Array?o[n]:o},typedArray:Pd};function Pd(e,t,n,i){return null!=n?e[n]:e}function Nd(e,t,n,i){return Rd(e[i],this._dimensionInfos[t])}function Rd(e,t){var n=t&&t.type;if("ordinal"===n){var i=t&&t.ordinalMeta;return i?i.parseAndCollect(e):e}return"time"===n&&"number"!=typeof e&&null!=e&&"-"!==e&&(e=+Td(e)),null==e||""===e?NaN:+e}var Fd={DefaultDataProvider:Ed,defaultDimValueGetters:{arrayRows:Nd,objectRows:function(e,t,n,i){return Rd(e[t],this._dimensionInfos[t])},keyedColumns:Nd,original:function(e,t,n,i){var o=e&&(null==e.value?e:e.value);return!this._rawData.pure&&Sd(e)&&(this.hasItemOption=!0),Rd(o instanceof Array?o[i]:o,this._dimensionInfos[t])},typedArray:function(e,t,n,i){return e[i]}},retrieveRawValue:function(e,t,n){if(e){var i=e.getRawDataItem(t);if(null!=i){var o,r,a=e.getProvider().getSource().sourceFormat,s=e.getDimensionInfo(n);return s&&(o=s.name,r=s.index),Ld[a](i,t,r,o)}}},retrieveRawAttr:function(e,t,n){if(e){var i=e.getProvider().getSource().sourceFormat;if(i===jd||i===Ad){var o=e.getRawDataItem(t);return i!==jd||wd(o)||(o=null),o?o[n]:void 0}}}},Bd=Fd.retrieveRawValue,zd=cc.getTooltipMarker,Hd=cc.formatTpl,$d=ro.getTooltipRenderMode,qd=/\{@(.+?)\}/g,Wd={getDataParams:function(e,t){var n=this.getData(t),i=this.getRawValue(e,t),o=n.getRawIndex(e),r=n.getName(e),a=n.getRawDataItem(e),s=n.getItemVisual(e,"color"),c=this.ecModel.getComponent("tooltip"),l=c&&c.get("renderMode"),d=$d(l),u=this.mainType,f="series"===u;return{componentType:u,componentSubType:this.subType,componentIndex:this.componentIndex,seriesType:f?this.subType:null,seriesIndex:this.seriesIndex,seriesId:f?this.id:null,seriesName:f?this.name:null,name:r,dataIndex:o,data:a,dataType:t,value:i,color:s,marker:zd({color:s,renderMode:d}),$vars:["seriesName","name","value"]}},getFormattedLabel:function(e,t,n,i,o){t=t||"normal";var r=this.getData(n),a=r.getItemModel(e),s=this.getDataParams(e,n);null!=i&&s.value instanceof Array&&(s.value=s.value[i]);var c=a.get("normal"===t?[o||"label","formatter"]:[t,o||"label","formatter"]);return"function"==typeof c?(s.status=t,c(s)):"string"==typeof c?Hd(c,s).replace(qd,function(t,n){var i=n.length;return"["===n.charAt(0)&&"]"===n.charAt(i-1)&&(n=+n.slice(1,i-1)),Bd(r,e,n)}):void 0},getRawValue:function(e,t){return Bd(this.getData(t),e)},formatTooltip:function(){}},Gd=D.isArray;function Ud(e){e=e||{},this._reset=e.reset,this._plan=e.plan,this._count=e.count,this._onDirty=e.onDirty,this._dirty=!0,this.context}var Kd=Ud.prototype;Kd.perform=function(e){var t,n=this._upstream,i=e&&e.skip;if(this._dirty&&n){var o=this.context;o.data=o.outputData=n.context.outputData}this.__pipeline&&(this.__pipeline.currentTask=this),this._plan&&!i&&(t=this._plan(this.context));var r,a=d(this._modBy),s=this._modDataCount||0,c=d(e&&e.modBy),l=e&&e.modDataCount||0;function d(e){return!(e>=1)&&(e=1),e}a===c&&s===l||(t="reset"),(this._dirty||"reset"===t)&&(this._dirty=!1,r=function(e,t){var n,i;e._dueIndex=e._outputDueEnd=e._dueEnd=0,e._settedOutputEnd=null,!t&&e._reset&&((n=e._reset(e.context))&&n.progress&&(i=n.forceFirstProgress,n=n.progress),Gd(n)&&!n.length&&(n=null));e._progress=n,e._modBy=e._modDataCount=null;var o=e._downstream;return o&&o.dirty(),i}(this,i)),this._modBy=c,this._modDataCount=l;var u=e&&e.step;if(this._dueEnd=n?n._outputDueEnd:this._count?this._count(this.context):1/0,this._progress){var f=this._dueIndex,h=Math.min(null!=u?this._dueIndex+u:1/0,this._dueEnd);if(!i&&(r||f<h)){var p=this._progress;if(Gd(p))for(var g=0;g<p.length;g++)Zd(this,p[g],f,h,c,l);else Zd(this,p,f,h,c,l)}this._dueIndex=h;var m=null!=this._settedOutputEnd?this._settedOutputEnd:h;this._outputDueEnd=m}else this._dueIndex=this._outputDueEnd=null!=this._settedOutputEnd?this._settedOutputEnd:this._dueEnd;return this.unfinished()};var Yd=function(){var e,t,n,i,o,r={reset:function(c,l,d,u){t=c,e=l,n=d,i=u,o=Math.ceil(i/n),r.next=n>1&&i>0?s:a}};return r;function a(){return t<e?t++:null}function s(){var r=t%o*n+Math.ceil(t/o),a=t>=e?null:r<i?r:t;return t++,a}}();function Zd(e,t,n,i,o,r){Yd.reset(n,i,o,r),e._callingProgress=t,e._callingProgress({start:n,end:i,count:i-n,next:Yd.next},e.context)}Kd.dirty=function(){this._dirty=!0,this._onDirty&&this._onDirty(this.context)},Kd.unfinished=function(){return this._progress&&this._dueIndex<this._dueEnd},Kd.pipe=function(e){(this._downstream!==e||this._dirty)&&(this._downstream=e,e._upstream=this,e.dirty())},Kd.dispose=function(){this._disposed||(this._upstream&&(this._upstream._downstream=null),this._downstream&&(this._downstream._upstream=null),this._dirty=!1,this._disposed=!0)},Kd.getUpstream=function(){return this._upstream},Kd.getDownstream=function(){return this._downstream},Kd.setOutputEnd=function(e){this._outputDueEnd=this._settedOutputEnd=e};var Xd={createTask:function(e){return new Ud(e)}},Qd=cc.formatTime,Jd=cc.encodeHTML,eu=cc.addCommas,tu=cc.getTooltipMarker,nu=yc.getLayoutParams,iu=yc.mergeLayoutParam,ou=Xd.createTask,ru=bl.prepareSource,au=bl.getSource,su=Fd.retrieveRawValue,cu=ro.makeInner(),lu=kc.extend({type:"series.__base__",seriesIndex:0,coordinateSystem:null,defaultOption:null,legendDataProvider:null,visualColorAccessPath:"itemStyle.color",layoutMode:null,init:function(e,t,n,i){this.seriesIndex=this.componentIndex,this.dataTask=ou({count:uu,reset:fu}),this.dataTask.context={model:this},this.mergeDefaultAndTheme(e,n),ru(this);var o=this.getInitialData(e,n);pu(o,this),this.dataTask.context.data=o,cu(this).dataBeforeProcessed=o,du(this)},mergeDefaultAndTheme:function(e,t){var n=this.layoutMode,i=n?nu(e):{},o=this.subType;kc.hasClass(o)&&(o+="Series"),D.merge(e,t.getTheme().get(this.subType)),D.merge(e,this.getDefaultOption()),ro.defaultEmphasis(e,"label",["show"]),this.fillDataTextStyle(e.data),n&&iu(e,i,n)},mergeOption:function(e,t){e=D.merge(this.option,e,!0),this.fillDataTextStyle(e.data);var n=this.layoutMode;n&&iu(this.option,e,n),ru(this);var i=this.getInitialData(e,t);pu(i,this),this.dataTask.dirty(),this.dataTask.context.data=i,cu(this).dataBeforeProcessed=i,du(this)},fillDataTextStyle:function(e){if(e&&!D.isTypedArray(e))for(var t=["show"],n=0;n<e.length;n++)e[n]&&e[n].label&&ro.defaultEmphasis(e[n],"label",t)},getInitialData:function(){},appendData:function(e){this.getRawData().appendData(e.data)},getData:function(e){var t=mu(this);if(t){var n=t.context.data;return null==e?n:n.getLinkedData(e)}return cu(this).data},setData:function(e){var t=mu(this);if(t){var n=t.context;n.data!==e&&t.modifyOutputEnd&&t.setOutputEnd(e.count()),n.outputData=e,t!==this.dataTask&&(n.data=e)}cu(this).data=e},getSource:function(){return au(this)},getRawData:function(){return cu(this).dataBeforeProcessed},getBaseAxis:function(){var e=this.coordinateSystem;return e&&e.getBaseAxis&&e.getBaseAxis()},formatTooltip:function(e,t,n,i){var o=this,r="html"===(i=i||"html")?"<br/>":"\n",a="richText"===i,s={},c=0;function l(e){return{renderMode:i,content:Jd(eu(e)),style:s}}var d=this.getData(),u=d.mapDimension("defaultedTooltip",!0),f=u.length,h=this.getRawValue(e),p=D.isArray(h),g=d.getItemVisual(e,"color");D.isObject(g)&&g.colorStops&&(g=(g.colorStops[0]||{}).color),g=g||"transparent";var m=(f>1||p&&!f?function(n){var r=D.reduce(n,function(e,t,n){var i=d.getDimensionInfo(n);return e|(i&&!1!==i.tooltip&&null!=i.displayName)},0),l=[];function f(e,n){var u=d.getDimensionInfo(n);if(u&&!1!==u.otherDims.tooltip){var f=u.type,h="sub"+o.seriesIndex+"at"+c,p=tu({color:g,type:"subItem",renderMode:i,markerId:h}),m="string"==typeof p?p:p.content,b=(r?m+Jd(u.displayName||"-")+": ":"")+Jd("ordinal"===f?e+"":"time"===f?t?"":Qd("yyyy/MM/dd hh:mm:ss",e):eu(e));b&&l.push(b),a&&(s[h]=g,++c)}}u.length?D.each(u,function(t){f(su(d,e,t),t)}):D.each(n,f);var h=r?a?"\n":"<br/>":"",p=h+l.join(h||", ");return{renderMode:i,content:p,style:s}}(h):l(f?su(d,e,u[0]):p?h[0]:h)).content,b=o.seriesIndex+"at"+c,v=tu({color:g,type:"item",renderMode:i,markerId:b});s[b]=g,++c;var y=d.getName(e),_=this.name;ro.isNameSpecified(this)||(_=""),_=_?Jd(_)+(t?": ":r):"";var w="string"==typeof v?v:v.content;return{html:t?w+_+m:_+w+(y?Jd(y)+": "+m:m),markers:s}},isAnimationEnabled:function(){if(c.node)return!1;var e=this.getShallow("animation");return e&&this.getData().count()>this.getShallow("animationThreshold")&&(e=!1),e},restoreData:function(){this.dataTask.dirty()},getColorFromPalette:function(e,t,n){var i=this.ecModel,o=Mc.getColorFromPalette.call(this,e,t,n);return o||(o=i.getColorFromPalette(e,t,n)),o},coordDimToDataDim:function(e){return this.getRawData().mapDimension(e,!0)},getProgressive:function(){return this.get("progressive")},getProgressiveThreshold:function(){return this.get("progressiveThreshold")},getAxisTooltipData:null,getTooltipPosition:null,pipeTask:null,preventIncremental:null,pipelineContext:null});function du(e){var t=e.name;ro.isNameSpecified(e)||(e.name=function(e){var t=e.getRawData(),n=t.mapDimension("seriesName",!0),i=[];return D.each(n,function(e){var n=t.getDimensionInfo(e);n.displayName&&i.push(n.displayName)}),i.join(" ")}(e)||t)}function uu(e){return e.model.getRawData().count()}function fu(e){var t=e.model;return t.setData(t.getRawData().cloneShallow()),hu}function hu(e,t){e.end>t.outputData.count()&&t.model.getRawData().cloneShallow(t.outputData)}function pu(e,t){D.each(e.CHANGABLE_METHODS,function(n){e.wrapMethod(n,D.curry(gu,t))})}function gu(e){var t=mu(e);t&&t.setOutputEnd(this.count())}function mu(e){var t=(e.ecModel||{}).scheduler,n=t&&t.getPipeline(e.uid);if(n){var i=n.currentTask;if(i){var o=i.agentStubMap;o&&(i=o.get(e.uid))}return i}}D.mixin(lu,Wd),D.mixin(lu,Mc);var bu=lu,vu=function(){this.group=new Pt,this.uid=Xs.getUID("viewComponent")},yu=vu.prototype={constructor:vu,init:function(e,t){},render:function(e,t,n,i){},dispose:function(){},filterForExposedEvent:null};yu.updateView=yu.updateLayout=yu.updateVisual=function(e,t,n,i){},ho.enableClassExtend(vu),ho.enableClassManagement(vu,{registerWhenExtend:!0});var _u=vu,wu=ro.makeInner;var xu=function(){var e=wu();return function(t){var n=e(t),i=t.pipelineContext,o=n.large,r=n.progressiveRender,a=n.large=i.large,s=n.progressiveRender=i.progressiveRender;return!!(o^a||r^s)&&"reset"}},Su=D.each,Tu=Xd.createTask,ku=ro.makeInner(),Cu=xu();function ju(){this.group=new Pt,this.uid=Xs.getUID("viewChart"),this.renderTask=Tu({plan:Mu,reset:Ou}),this.renderTask.context={view:this}}ju.prototype={type:"chart",init:function(e,t){},render:function(e,t,n,i){},highlight:function(e,t,n,i){Iu(e.getData(),i,"emphasis")},downplay:function(e,t,n,i){Iu(e.getData(),i,"normal")},remove:function(e,t){this.group.removeAll()},dispose:function(){},incrementalPrepareRender:null,incrementalRender:null,updateTransform:null,filterForExposedEvent:null};var Au=ju.prototype;function Eu(e,t){if(e&&(e.trigger(t),"group"===e.type))for(var n=0;n<e.childCount();n++)Eu(e.childAt(n),t)}function Iu(e,t,n){var i=ro.queryDataIndex(e,t);null!=i?Su(ro.normalizeToArray(i),function(t){Eu(e.getItemGraphicEl(t),n)}):e.eachItemGraphicEl(function(e){Eu(e,n)})}function Mu(e){return Cu(e.model)}function Ou(e){var t=e.model,n=e.ecModel,i=e.api,o=e.payload,r=t.pipelineContext.progressiveRender,a=e.view,s=o&&ku(o).updateMethod,c=r?"incrementalPrepareRender":s&&a[s]?s:"render";return"render"!==c&&a[c](t,n,i,o),Du[c]}Au.updateView=Au.updateLayout=Au.updateVisual=function(e,t,n,i){this.render(e,t,n,i)},ho.enableClassExtend(ju,["dispose"]),ho.enableClassManagement(ju,{registerWhenExtend:!0}),ju.markUpdateMethod=function(e,t){ku(e).updateMethod=t};var Du={incrementalPrepareRender:{progress:function(e,t){t.view.incrementalRender(e,t.model,t.ecModel,t.api,t.payload)}},render:{forceFirstProgress:!0,progress:function(e,t){t.view.render(t.model,t.ecModel,t.api,t.payload)}}},Vu=ju,Lu="\0__throttleOriginMethod",Pu="\0__throttleRate",Nu="\0__throttleType";function Ru(e,t,n){var i,o,r,a,s,c=0,l=0,d=null;function u(){l=(new Date).getTime(),d=null,e.apply(r,a||[])}t=t||0;var f=function(){i=(new Date).getTime(),r=this,a=arguments;var e=s||t,f=s||n;s=null,o=i-(f?c:l)-e,clearTimeout(d),f?d=setTimeout(u,e):o>=0?u():d=setTimeout(u,-o),c=i};return f.clear=function(){d&&(clearTimeout(d),d=null)},f.debounceNextCall=function(e){s=e},f}var Fu={throttle:Ru,createOrUpdate:function(e,t,n,i){var o=e[t];if(o){var r=o[Lu]||o,a=o[Nu];if(o[Pu]!==n||a!==i){if(null==n||!i)return e[t]=r;(o=e[t]=Ru(r,n,"debounce"===i))[Lu]=r,o[Nu]=i,o[Pu]=n}return o}},clear:function(e,t){var n=e[t];n&&n[Lu]&&(e[t]=n[Lu])}},Bu={createOnAllSeries:!0,performRawSeries:!0,reset:function(e,t){var n=e.getData(),i=(e.visualColorAccessPath||"itemStyle.color").split("."),o=e.get(i)||e.getColorFromPalette(e.name,null,t.getSeriesCount());if(n.setVisual("color",o),!t.isSeriesFiltered(e)){"function"!=typeof o||o instanceof Oa||n.each(function(t){n.setItemVisual(t,"color",o(e.getDataParams(t)))});return{dataEach:n.hasItemOption?function(e,t){var n=e.getItemModel(t).get(i,!0);null!=n&&e.setItemVisual(t,"color",n)}:null}}}},zu={toolbox:{brush:{title:{rect:"矩形选择",polygon:"圈选",lineX:"横向选择",lineY:"纵向选择",keep:"保持选择",clear:"清除选择"}},dataView:{title:"数据视图",lang:["数据视图","关闭","刷新"]},dataZoom:{title:{zoom:"区域缩放",back:"区域缩放还原"}},magicType:{title:{line:"切换为折线图",bar:"切换为柱状图",stack:"切换为堆叠",tiled:"切换为平铺"}},restore:{title:"还原"},saveAsImage:{title:"保存为图片",lang:["右键另存为图片"]}},series:{typeNames:{pie:"饼图",bar:"柱状图",line:"折线图",scatter:"散点图",effectScatter:"涟漪散点图",radar:"雷达图",tree:"树图",treemap:"矩形树图",boxplot:"箱型图",candlestick:"K线图",k:"K线图",heatmap:"热力图",map:"地图",parallel:"平行坐标图",lines:"线图",graph:"关系图",sankey:"桑基图",funnel:"漏斗图",gauge:"仪表盘图",pictorialBar:"象形柱图",themeRiver:"主题河流图",sunburst:"旭日图"}},aria:{general:{withTitle:"这是一个关于“{title}”的图表。",withoutTitle:"这是一个图表,"},series:{single:{prefix:"",withName:"图表类型是{seriesType},表示{seriesName}。",withoutName:"图表类型是{seriesType}。"},multiple:{prefix:"它由{seriesCount}个图表系列组成。",withName:"第{seriesId}个系列是一个表示{seriesName}的{seriesType},",withoutName:"第{seriesId}个系列是一个{seriesType},",separator:{middle:";",end:"。"}}},data:{allData:"其数据是——",partialData:"其中,前{displayCnt}项是——",withName:"{name}的数据是{value}",withoutName:"{value}",separator:{middle:",",end:""}}}},Hu=Fd.retrieveRawValue;var $u=function(e,t){var n=t.getModel("aria");if(n.get("show"))if(n.get("description"))e.setAttribute("aria-label",n.get("description"));else{var i=0;t.eachSeries(function(e,t){++i},this);var o,r=n.get("data.maxCount")||10,a=n.get("series.maxCount")||10,s=Math.min(i,a);if(!(i<1)){var c=function(){var e=t.getModel("title").option;return e&&e.length&&(e=e[0]),e&&e.text}();o=c?d(u("general.withTitle"),{title:c}):u("general.withoutTitle");var l=[];o+=d(u(i>1?"series.multiple.prefix":"series.single.prefix"),{seriesCount:i}),t.eachSeries(function(e,t){if(t<s){var n,o=e.get("name"),a="series."+(i>1?"multiple":"single")+".";n=d(n=u(o?a+"withName":a+"withoutName"),{seriesId:e.seriesIndex,seriesName:e.get("name"),seriesType:(m=e.subType,zu.series.typeNames[m]||"自定义图")});var c=e.getData();window.data=c,c.count()>r?n+=d(u("data.partialData"),{displayCnt:r}):n+=u("data.allData");for(var f=[],h=0;h<c.count();h++)if(h<r){var p=c.getName(h),g=Hu(c,h);f.push(d(u(p?"data.withName":"data.withoutName"),{name:p,value:g}))}n+=f.join(u("data.separator.middle"))+u("data.separator.end"),l.push(n)}var m}),o+=l.join(u("series.multiple.separator.middle"))+u("series.multiple.separator.end"),e.setAttribute("aria-label",o)}}function d(e,t){if("string"!=typeof e)return e;var n=e;return D.each(t,function(e,t){n=n.replace(new RegExp("\\{\\s*"+t+"\\s*\\}","g"),e)}),n}function u(e){var t=n.get(e);if(null==t){for(var i=e.split("."),o=zu.aria,r=0;r<i.length;++r)o=o[i[r]];return o}return t}},qu=Math.PI;var Wu=function(e,t){t=t||{},D.defaults(t,{text:"loading",color:"#c23531",textColor:"#000",maskColor:"rgba(255, 255, 255, 0.8)",zlevel:0});var n=new Ls.Rect({style:{fill:t.maskColor},zlevel:t.zlevel,z:1e4}),i=new Ls.Arc({shape:{startAngle:-qu/2,endAngle:-qu/2+.1,r:10},style:{stroke:t.color,lineCap:"round",lineWidth:5},zlevel:t.zlevel,z:10001}),o=new Ls.Rect({style:{fill:"none",text:t.text,textPosition:"right",textDistance:10,textFill:t.textColor},zlevel:t.zlevel,z:10001});i.animateShape(!0).when(1e3,{endAngle:3*qu/2}).start("circularInOut"),i.animateShape(!0).when(1e3,{startAngle:3*qu/2}).delay(300).start("circularInOut");var r=new Ls.Group;return r.add(i),r.add(o),r.add(n),r.resize=function(){var t=e.getWidth()/2,r=e.getHeight()/2;i.setShape({cx:t,cy:r});var a=i.shape.r;o.setShape({x:t-a,y:r-a,width:2*a,height:2*a}),n.setShape({x:0,y:0,width:e.getWidth(),height:e.getHeight()})},r.resize(),r},Gu=D.each,Uu=D.map,Ku=D.isFunction,Yu=D.createHashMap,Zu=D.noop,Xu=Xd.createTask,Qu=Xs.getUID,Ju=ro.normalizeToArray;function ef(e,t,n,i){this.ecInstance=e,this.api=t,this.unfinished;n=this._dataProcessorHandlers=n.slice(),i=this._visualHandlers=i.slice();this._allHandlers=n.concat(i),this._stageTaskMap=Yu()}var tf=ef.prototype;function nf(e,t,n,i,o){var r;function a(e,t){return e.setDirty&&(!e.dirtyMap||e.dirtyMap.get(t.__pipeline.id))}o=o||{},Gu(t,function(t,s){if(!o.visualType||o.visualType===t.visualType){var c=e._stageTaskMap.get(t.uid),l=c.seriesTaskMap,d=c.overallTask;if(d){var u,f=d.agentStubMap;f.each(function(e){a(o,e)&&(e.dirty(),u=!0)}),u&&d.dirty(),of(d,i);var h=e.getPerformArgs(d,o.block);f.each(function(e){e.perform(h)}),r|=d.perform(h)}else l&&l.each(function(s,c){a(o,s)&&s.dirty();var l=e.getPerformArgs(s,o.block);l.skip=!t.performRawSeries&&n.isSeriesFiltered(s.context.model),of(s,i),r|=s.perform(l)})}}),e.unfinished|=r}tf.restoreData=function(e,t){e.restoreData(t),this._stageTaskMap.each(function(e){var t=e.overallTask;t&&t.dirty()})},tf.getPerformArgs=function(e,t){if(e.__pipeline){var n=this._pipelineMap.get(e.__pipeline.id),i=n.context,o=!t&&n.progressiveEnabled&&(!i||i.progressiveRender)&&e.__idxInPipeline>n.blockIndex?n.step:null,r=i&&i.modDataCount;return{step:o,modBy:null!=r?Math.ceil(r/o):null,modDataCount:r}}},tf.getPipeline=function(e){return this._pipelineMap.get(e)},tf.updateStreamModes=function(e,t){var n=this._pipelineMap.get(e.uid),i=e.getData().count(),o=n.progressiveEnabled&&t.incrementalPrepareRender&&i>=n.threshold,r=e.get("large")&&i>=e.get("largeThreshold"),a="mod"===e.get("progressiveChunkMode")?i:null;e.pipelineContext=n.context={progressiveRender:o,modDataCount:a,large:r}},tf.restorePipelines=function(e){var t=this,n=t._pipelineMap=Yu();e.eachSeries(function(e){var i=e.getProgressive(),o=e.uid;n.set(o,{id:o,head:null,tail:null,threshold:e.getProgressiveThreshold(),progressiveEnabled:i&&!(e.preventIncremental&&e.preventIncremental()),blockIndex:-1,step:Math.round(i||700),count:0}),pf(t,e,e.dataTask)})},tf.prepareStageTasks=function(){var e=this._stageTaskMap,t=this.ecInstance.getModel(),n=this.api;Gu(this._allHandlers,function(i){var o=e.get(i.uid)||e.set(i.uid,[]);i.reset&&function(e,t,n,i,o){var r=n.seriesTaskMap||(n.seriesTaskMap=Yu()),a=t.seriesType,s=t.getTargetSeries;t.createOnAllSeries?i.eachRawSeries(c):a?i.eachRawSeriesByType(a,c):s&&s(i,o).each(c);function c(n){var a=n.uid,s=r.get(a)||r.set(a,Xu({plan:lf,reset:df,count:hf}));s.context={model:n,ecModel:i,api:o,useClearVisual:t.isVisual&&!t.isLayout,plan:t.plan,reset:t.reset,scheduler:e},pf(e,n,s)}var l=e._pipelineMap;r.each(function(e,t){l.get(t)||(e.dispose(),r.removeKey(t))})}(this,i,o,t,n),i.overallReset&&function(e,t,n,i,o){var r=n.overallTask=n.overallTask||Xu({reset:rf});r.context={ecModel:i,api:o,overallReset:t.overallReset,scheduler:e};var a=r.agentStubMap=r.agentStubMap||Yu(),s=t.seriesType,c=t.getTargetSeries,l=!0,d=t.modifyOutputEnd;s?i.eachRawSeriesByType(s,u):c?c(i,o).each(u):(l=!1,Gu(i.getSeries(),u));function u(t){var n=t.uid,i=a.get(n);i||(i=a.set(n,Xu({reset:af,onDirty:cf})),r.dirty()),i.context={model:t,overallProgress:l,modifyOutputEnd:d},i.agent=r,i.__block=l,pf(e,t,i)}var f=e._pipelineMap;a.each(function(e,t){f.get(t)||(e.dispose(),r.dirty(),a.removeKey(t))})}(this,i,o,t,n)},this)},tf.prepareView=function(e,t,n,i){var o=e.renderTask,r=o.context;r.model=t,r.ecModel=n,r.api=i,o.__block=!e.incrementalPrepareRender,pf(this,t,o)},tf.performDataProcessorTasks=function(e,t){nf(this,this._dataProcessorHandlers,e,t,{block:!0})},tf.performVisualTasks=function(e,t,n){nf(this,this._visualHandlers,e,t,n)},tf.performSeriesTasks=function(e){var t;e.eachSeries(function(e){t|=e.dataTask.perform()}),this.unfinished|=t},tf.plan=function(){this._pipelineMap.each(function(e){var t=e.tail;do{if(t.__block){e.blockIndex=t.__idxInPipeline;break}t=t.getUpstream()}while(t)})};var of=tf.updatePayload=function(e,t){"remain"!==t&&(e.context.payload=t)};function rf(e){e.overallReset(e.ecModel,e.api,e.payload)}function af(e,t){return e.overallProgress&&sf}function sf(){this.agent.dirty(),this.getDownstream().dirty()}function cf(){this.agent&&this.agent.dirty()}function lf(e){return e.plan&&e.plan(e.model,e.ecModel,e.api,e.payload)}function df(e){e.useClearVisual&&e.data.clearAllVisual();var t=e.resetDefines=Ju(e.reset(e.model,e.ecModel,e.api,e.payload));return t.length>1?Uu(t,function(e,t){return ff(t)}):uf}var uf=ff(0);function ff(e){return function(t,n){var i=n.data,o=n.resetDefines[e];if(o&&o.dataEach)for(var r=t.start;r<t.end;r++)o.dataEach(i,r);else o&&o.progress&&o.progress(t,i)}}function hf(e){return e.data.count()}function pf(e,t,n){var i=t.uid,o=e._pipelineMap.get(i);!o.head&&(o.head=n),o.tail&&o.tail.pipe(n),o.tail=n,n.__idxInPipeline=o.count++,n.__pipeline=o}ef.wrapStageHandler=function(e,t){return Ku(e)&&(e={overallReset:e,seriesType:function(e){gf=null;try{e(mf,bf)}catch(e){}return gf}(e)}),e.uid=Qu("stageHandler"),t&&(e.visualType=t),e};var gf,mf={},bf={};function vf(e,t){for(var n in t.prototype)e[n]=Zu}vf(mf,Pl),vf(bf,Rl),mf.eachSeriesByType=mf.eachRawSeriesByType=function(e){gf=e},mf.eachComponent=function(e){"series"===e.mainType&&e.subType&&(gf=e.subType)};var yf=ef,_f=["#37A2DA","#32C5E9","#67E0E3","#9FE6B8","#FFDB5C","#ff9f7f","#fb7293","#E062AE","#E690D1","#e7bcf3","#9d96f5","#8378EA","#96BFFF"],wf={color:_f,colorLayer:[["#37A2DA","#ffd85c","#fd7b5f"],["#37A2DA","#67E0E3","#FFDB5C","#ff9f7f","#E062AE","#9d96f5"],["#37A2DA","#32C5E9","#9FE6B8","#FFDB5C","#ff9f7f","#fb7293","#e7bcf3","#8378EA","#96BFFF"],_f]},xf=["#dd6b66","#759aa0","#e69d87","#8dc1a9","#ea7e53","#eedd78","#73a373","#73b9bc","#7289ab","#91ca8c","#f49f42"],Sf={color:xf,backgroundColor:"#333",tooltip:{axisPointer:{lineStyle:{color:"#eee"},crossStyle:{color:"#eee"}}},legend:{textStyle:{color:"#eee"}},textStyle:{color:"#eee"},title:{textStyle:{color:"#eee"}},toolbox:{iconStyle:{normal:{borderColor:"#eee"}}},dataZoom:{textStyle:{color:"#eee"}},visualMap:{textStyle:{color:"#eee"}},timeline:{lineStyle:{color:"#eee"},itemStyle:{normal:{color:xf[1]}},label:{normal:{textStyle:{color:"#eee"}}},controlStyle:{normal:{color:"#eee",borderColor:"#eee"}}},timeAxis:{axisLine:{lineStyle:{color:"#eee"}},axisTick:{lineStyle:{color:"#eee"}},axisLabel:{textStyle:{color:"#eee"}},splitLine:{lineStyle:{type:"dashed",color:"#aaa"}},splitArea:{areaStyle:{color:"#eee"}}},logAxis:{axisLine:{lineStyle:{color:"#eee"}},axisTick:{lineStyle:{color:"#eee"}},axisLabel:{textStyle:{color:"#eee"}},splitLine:{lineStyle:{type:"dashed",color:"#aaa"}},splitArea:{areaStyle:{color:"#eee"}}},valueAxis:{axisLine:{lineStyle:{color:"#eee"}},axisTick:{lineStyle:{color:"#eee"}},axisLabel:{textStyle:{color:"#eee"}},splitLine:{lineStyle:{type:"dashed",color:"#aaa"}},splitArea:{areaStyle:{color:"#eee"}}},categoryAxis:{axisLine:{lineStyle:{color:"#eee"}},axisTick:{lineStyle:{color:"#eee"}},axisLabel:{textStyle:{color:"#eee"}},splitLine:{lineStyle:{type:"dashed",color:"#aaa"}},splitArea:{areaStyle:{color:"#eee"}}},line:{symbol:"circle"},graph:{color:xf},gauge:{title:{textStyle:{color:"#eee"}}},candlestick:{itemStyle:{normal:{color:"#FD1050",color0:"#0CF49B",borderColor:"#FD1050",borderColor0:"#0CF49B"}}}};Sf.categoryAxis.splitLine.show=!1;var Tf=Sf,kf=bl.detectSourceFormat,Cf=Nc.SERIES_LAYOUT_BY_COLUMN;kc.extend({type:"dataset",defaultOption:{seriesLayoutBy:Cf,sourceHeader:null,dimensions:null,source:null},optionUpdated:function(){kf(this)}}),_u.extend({type:"dataset"});var jf=Or.extend({type:"ellipse",shape:{cx:0,cy:0,rx:0,ry:0},buildPath:function(e,t){var n=.5522848,i=t.cx,o=t.cy,r=t.rx,a=t.ry,s=r*n,c=a*n;e.moveTo(i-r,o),e.bezierCurveTo(i-r,o-c,i-s,o-a,i,o-a),e.bezierCurveTo(i+s,o-a,i+r,o-c,i+r,o),e.bezierCurveTo(i+r,o+c,i+s,o+a,i,o+a),e.bezierCurveTo(i-s,o+a,i-r,o+c,i-r,o),e.closePath()}}),Af=Zr.createFromString,Ef=D.isString,If=D.extend,Mf=D.defaults,Of=D.trim,Df=D.each,Vf=/[\s,]+/;function Lf(e){Ef(e)&&(e=(new DOMParser).parseFromString(e,"text/xml"));for(9===e.nodeType&&(e=e.firstChild);"svg"!==e.nodeName.toLowerCase()||1!==e.nodeType;)e=e.nextSibling;return e}function Pf(){this._defs={},this._root=null,this._isDefine=!1,this._isText=!1}Pf.prototype.parse=function(e,t){t=t||{};var n=Lf(e);if(!n)throw new Error("Illegal svg");var i=new Pt;this._root=i;var o=n.getAttribute("viewBox")||"",r=parseFloat(n.getAttribute("width")||t.width),a=parseFloat(n.getAttribute("height")||t.height);isNaN(r)&&(r=null),isNaN(a)&&(a=null),Hf(n,i,null,!0);for(var s,c,l=n.firstChild;l;)this._parseNode(l,i),l=l.nextSibling;if(o){var d=Of(o).split(Vf);d.length>=4&&(s={x:parseFloat(d[0]||0),y:parseFloat(d[1]||0),width:parseFloat(d[2]),height:parseFloat(d[3])})}if(s&&null!=r&&null!=a&&(c=Uf(s,r,a),!t.ignoreViewBox)){var u=i;(i=new Pt).add(u),u.scale=c.scale.slice(),u.position=c.position.slice()}return t.ignoreRootClip||null==r||null==a||i.setClipPath(new va({shape:{x:0,y:0,width:r,height:a}})),{root:i,width:r,height:a,viewBoxRect:s,viewBoxTransform:c}},Pf.prototype._parseNode=function(e,t){var n,i,o=e.nodeName.toLowerCase();if("defs"===o?this._isDefine=!0:"text"===o&&(this._isText=!0),this._isDefine){if(i=Rf[o]){var r=i.call(this,e),a=e.getAttribute("id");a&&(this._defs[a]=r)}}else(i=Nf[o])&&(n=i.call(this,e,t),t.add(n));for(var s=e.firstChild;s;)1===s.nodeType&&this._parseNode(s,n),3===s.nodeType&&this._isText&&this._parseText(s,n),s=s.nextSibling;"defs"===o?this._isDefine=!1:"text"===o&&(this._isText=!1)},Pf.prototype._parseText=function(e,t){if(1===e.nodeType){var n=e.getAttribute("dx")||0,i=e.getAttribute("dy")||0;this._textX+=parseFloat(n),this._textY+=parseFloat(i)}var o=new Qr({style:{text:e.textContent,transformText:!0},position:[this._textX||0,this._textY||0]});Ff(t,o),Hf(e,o,this._defs);var r=o.style.fontSize;r&&r<9&&(o.style.fontSize=9,o.scale=o.scale||[1,1],o.scale[0]*=r/9,o.scale[1]*=r/9);var a=o.getBoundingRect();return this._textX+=a.width,t.add(o),o};var Nf={g:function(e,t){var n=new Pt;return Ff(t,n),Hf(e,n,this._defs),n},rect:function(e,t){var n=new va;return Ff(t,n),Hf(e,n,this._defs),n.setShape({x:parseFloat(e.getAttribute("x")||0),y:parseFloat(e.getAttribute("y")||0),width:parseFloat(e.getAttribute("width")||0),height:parseFloat(e.getAttribute("height")||0)}),n},circle:function(e,t){var n=new Jr;return Ff(t,n),Hf(e,n,this._defs),n.setShape({cx:parseFloat(e.getAttribute("cx")||0),cy:parseFloat(e.getAttribute("cy")||0),r:parseFloat(e.getAttribute("r")||0)}),n},line:function(e,t){var n=new ya;return Ff(t,n),Hf(e,n,this._defs),n.setShape({x1:parseFloat(e.getAttribute("x1")||0),y1:parseFloat(e.getAttribute("y1")||0),x2:parseFloat(e.getAttribute("x2")||0),y2:parseFloat(e.getAttribute("y2")||0)}),n},ellipse:function(e,t){var n=new jf;return Ff(t,n),Hf(e,n,this._defs),n.setShape({cx:parseFloat(e.getAttribute("cx")||0),cy:parseFloat(e.getAttribute("cy")||0),rx:parseFloat(e.getAttribute("rx")||0),ry:parseFloat(e.getAttribute("ry")||0)}),n},polygon:function(e,t){var n=e.getAttribute("points");n&&(n=Bf(n));var i=new ma({shape:{points:n||[]}});return Ff(t,i),Hf(e,i,this._defs),i},polyline:function(e,t){var n=new Or;Ff(t,n),Hf(e,n,this._defs);var i=e.getAttribute("points");return i&&(i=Bf(i)),new ba({shape:{points:i||[]}})},image:function(e,t){var n=new bi;return Ff(t,n),Hf(e,n,this._defs),n.setStyle({image:e.getAttribute("xlink:href"),x:e.getAttribute("x"),y:e.getAttribute("y"),width:e.getAttribute("width"),height:e.getAttribute("height")}),n},text:function(e,t){var n=e.getAttribute("x")||0,i=e.getAttribute("y")||0,o=e.getAttribute("dx")||0,r=e.getAttribute("dy")||0;this._textX=parseFloat(n)+parseFloat(o),this._textY=parseFloat(i)+parseFloat(r);var a=new Pt;return Ff(t,a),Hf(e,a,this._defs),a},tspan:function(e,t){var n=e.getAttribute("x"),i=e.getAttribute("y");null!=n&&(this._textX=parseFloat(n)),null!=i&&(this._textY=parseFloat(i));var o=e.getAttribute("dx")||0,r=e.getAttribute("dy")||0,a=new Pt;return Ff(t,a),Hf(e,a,this._defs),this._textX+=o,this._textY+=r,a},path:function(e,t){var n=e.getAttribute("d")||"",i=Af(n);return Ff(t,i),Hf(e,i,this._defs),i}},Rf={lineargradient:function(e){var t=parseInt(e.getAttribute("x1")||0,10),n=parseInt(e.getAttribute("y1")||0,10),i=parseInt(e.getAttribute("x2")||10,10),o=parseInt(e.getAttribute("y2")||0,10),r=new Va(t,n,i,o);return function(e,t){var n=e.firstChild;for(;n;){if(1===n.nodeType){var i=n.getAttribute("offset");i=i.indexOf("%")>0?parseInt(i,10)/100:i?parseFloat(i):0;var o=n.getAttribute("stop-color")||"#000000";t.addColorStop(i,o)}n=n.nextSibling}}(e,r),r},radialgradient:function(e){}};function Ff(e,t){e&&e.__inheritedStyle&&(t.__inheritedStyle||(t.__inheritedStyle={}),Mf(t.__inheritedStyle,e.__inheritedStyle))}function Bf(e){for(var t=Of(e).split(Vf),n=[],i=0;i<t.length;i+=2){var o=parseFloat(t[i]),r=parseFloat(t[i+1]);n.push([o,r])}return n}var zf={fill:"fill",stroke:"stroke","stroke-width":"lineWidth",opacity:"opacity","fill-opacity":"fillOpacity","stroke-opacity":"strokeOpacity","stroke-dasharray":"lineDash","stroke-dashoffset":"lineDashOffset","stroke-linecap":"lineCap","stroke-linejoin":"lineJoin","stroke-miterlimit":"miterLimit","font-family":"fontFamily","font-size":"fontSize","font-style":"fontStyle","font-weight":"fontWeight","text-align":"textAlign","alignment-baseline":"textBaseline"};function Hf(e,t,n,i){var o=t.__inheritedStyle||{},r="text"===t.type;if(1===e.nodeType&&(function(e,t){var n=e.getAttribute("transform");if(n){var i=null,o=[];(n=n.replace(/,/g," ")).replace(Wf,function(e,t,n){o.push(t,n)});for(var r=o.length-1;r>0;r-=2){var a=o[r],s=o[r-1];switch(i=i||de.create(),s){case"translate":a=Of(a).split(Vf),de.translate(i,i,[parseFloat(a[0]),parseFloat(a[1]||0)]);break;case"scale":a=Of(a).split(Vf),de.scale(i,i,[parseFloat(a[0]),parseFloat(a[1]||a[0])]);break;case"rotate":a=Of(a).split(Vf),de.rotate(i,i,parseFloat(a[0]));break;case"skew":a=Of(a).split(Vf),console.warn("Skew transform is not supported yet");break;case"matrix":var a=Of(a).split(Vf);i[0]=parseFloat(a[0]),i[1]=parseFloat(a[1]),i[2]=parseFloat(a[2]),i[3]=parseFloat(a[3]),i[4]=parseFloat(a[4]),i[5]=parseFloat(a[5])}}}t.setLocalTransform(i)}(e,t),If(o,function(e){var t=e.getAttribute("style"),n={};if(!t)return n;var i,o={};Gf.lastIndex=0;for(;null!=(i=Gf.exec(t));)o[i[1]]=i[2];for(var r in zf)zf.hasOwnProperty(r)&&null!=o[r]&&(n[zf[r]]=o[r]);return n}(e)),!i))for(var a in zf)if(zf.hasOwnProperty(a)){var s=e.getAttribute(a);null!=s&&(o[zf[a]]=s)}var c=r?"textFill":"fill",l=r?"textStroke":"stroke";t.style=t.style||new on;var d=t.style;null!=o.fill&&d.set(c,qf(o.fill,n)),null!=o.stroke&&d.set(l,qf(o.stroke,n)),Df(["lineWidth","opacity","fillOpacity","strokeOpacity","miterLimit","fontSize"],function(e){var t="lineWidth"===e&&r?"textStrokeWidth":e;null!=o[e]&&d.set(t,parseFloat(o[e]))}),o.textBaseline&&"auto"!==o.textBaseline||(o.textBaseline="alphabetic"),"alphabetic"===o.textBaseline&&(o.textBaseline="bottom"),"start"===o.textAlign&&(o.textAlign="left"),"end"===o.textAlign&&(o.textAlign="right"),Df(["lineDashOffset","lineCap","lineJoin","fontWeight","fontFamily","fontStyle","textAlign","textBaseline"],function(e){null!=o[e]&&d.set(e,o[e])}),o.lineDash&&(t.style.lineDash=Of(o.lineDash).split(Vf)),d[l]&&"none"!==d[l]&&(t[l]=!0),t.__inheritedStyle=o}var $f=/url\(\s*#(.*?)\)/;function qf(e,t){var n=t&&e&&e.match($f);return n?t[Of(n[1])]:e}var Wf=/(translate|scale|rotate|skewX|skewY|matrix)\(([\-\s0-9\.e,]*)\)/g;var Gf=/([^\s:;]+)\s*:\s*([^:;]+)/g;function Uf(e,t,n){var i=t/e.width,o=n/e.height,r=Math.min(i,o);return{scale:[r,r],position:[-(e.x+e.width/2)*r+t/2,-(e.y+e.height/2)*r+n/2]}}var Kf={parseXML:Lf,makeViewBoxTransform:Uf,parseSVG:function(e,t){return(new Pf).parse(e,t)}},Yf=D.createHashMap,Zf=D.isString,Xf=D.isArray,Qf=D.each,Jf=Kf.parseXML,eh=Yf(),th={registerMap:function(e,t,n){var i;return Xf(t)?i=t:t.svg?i=[{type:"svg",source:t.svg,specialAreas:t.specialAreas}]:(t.geoJson&&!t.features&&(n=t.specialAreas,t=t.geoJson),i=[{type:"geoJSON",source:t,specialAreas:n}]),Qf(i,function(e){var t=e.type;"geoJson"===t&&(t=e.type="geoJSON"),(0,nh[t])(e)}),eh.set(e,i)},retrieveMap:function(e){return eh.get(e)}},nh={geoJSON:function(e){var t=e.source;e.geoJSON=Zf(t)?"undefined"!=typeof JSON&&JSON.parse?JSON.parse(t):new Function("return ("+t+");")():t},svg:function(e){e.svgXML=Jf(e.source)}},ih=th;function oh(e){return e}function rh(e,t,n,i,o){this._old=e,this._new=t,this._oldKeyGetter=n||oh,this._newKeyGetter=i||oh,this.context=o}function ah(e,t,n,i,o){for(var r=0;r<e.length;r++){var a="_ec_"+o[i](e[r],r),s=t[a];null==s?(n.push(a),t[a]=r):(s.length||(t[a]=s=[s]),s.push(r))}}rh.prototype={constructor:rh,add:function(e){return this._add=e,this},update:function(e){return this._update=e,this},remove:function(e){return this._remove=e,this},execute:function(){var e=this._old,t=this._new,n={},i=[],o=[];for(ah(e,{},i,"_oldKeyGetter",this),ah(t,n,o,"_newKeyGetter",this),r=0;r<e.length;r++){if(null!=(s=n[a=i[r]]))(l=s.length)?(1===l&&(n[a]=null),s=s.unshift()):n[a]=null,this._update&&this._update(s,r);else this._remove&&this._remove(r)}for(var r=0;r<o.length;r++){var a=o[r];if(n.hasOwnProperty(a)){var s;if(null==(s=n[a]))continue;if(s.length)for(var c=0,l=s.length;c<l;c++)this._add&&this._add(s[c]);else this._add&&this._add(s)}}}};var sh=rh,ch=D.each,lh=D.createHashMap,dh=lh(["tooltip","label","itemName","itemId","seriesName"]);var uh={OTHER_DIMENSIONS:dh,summarizeDimensions:function(e){var t={},n=t.encode={},i=lh(),o=[],r=[];ch(e.dimensions,function(t){var a,s=e.getDimensionInfo(t),c=s.coordDim;if(c){var l=n[c];n.hasOwnProperty(c)||(l=n[c]=[]),l[s.coordDimIndex]=t,s.isExtraCoord||(i.set(c,1),"ordinal"!==(a=s.type)&&"time"!==a&&(o[0]=t)),s.defaultTooltip&&r.push(t)}dh.each(function(e,t){var i=n[t];n.hasOwnProperty(t)||(i=n[t]=[]);var o=s.otherDims[t];null!=o&&!1!==o&&(i[o]=s.name)})});var a=[],s={};i.each(function(e,t){var i=n[t];s[t]=i[0],a=a.concat(i)}),t.dataDimsOnCoord=a,t.encodeFirstDimNotExtra=s;var c=n.label;c&&c.length&&(o=c.slice());var l=n.tooltip;return l&&l.length?r=l.slice():r.length||(r=o.slice()),n.defaultedLabel=o,n.defaultedTooltip=r,t},getDimensionTypeByAxis:function(e){return"category"===e?"ordinal":"time"===e?"time":"float"}},fh=Fd.defaultDimValueGetters,hh=Fd.DefaultDataProvider,ph=uh.summarizeDimensions,gh=D.isObject,mh="e\0\0",bh={float:"undefined"==typeof Float64Array?Array:Float64Array,int:"undefined"==typeof Int32Array?Array:Int32Array,ordinal:Array,number:Array,time:Array},vh="undefined"==typeof Uint32Array?Array:Uint32Array,yh="undefined"==typeof Uint16Array?Array:Uint16Array;function _h(e){return e._rawCount>65535?vh:yh}var wh=["hasItemOption","_nameList","_idList","_invertedIndicesMap","_rawData","_chunkSize","_chunkCount","_dimValueGetter","_count","_rawCount","_nameDimIdx","_idDimIdx"],xh=["_extent","_approximateExtent","_rawExtent"];function Sh(e,t){D.each(wh.concat(t.__wrappedMethods||[]),function(n){t.hasOwnProperty(n)&&(e[n]=t[n])}),e.__wrappedMethods=t.__wrappedMethods,D.each(xh,function(n){e[n]=D.clone(t[n])}),e._calculationInfo=D.extend(t._calculationInfo)}var Th=function(e,t){e=e||["x","y"];for(var n={},i=[],o={},r=0;r<e.length;r++){var a=e[r];D.isString(a)&&(a={name:a});var s=a.name;a.type=a.type||"float",a.coordDim||(a.coordDim=s,a.coordDimIndex=0),a.otherDims=a.otherDims||{},i.push(s),n[s]=a,a.index=r,a.createInvertedIndices&&(o[s]=[])}this.dimensions=i,this._dimensionInfos=n,this.hostModel=t,this.dataType,this._indices=null,this._count=0,this._rawCount=0,this._storage={},this._nameList=[],this._idList=[],this._optionModels=[],this._visual={},this._layout={},this._itemVisuals=[],this.hasItemVisual={},this._itemLayouts=[],this._graphicEls=[],this._chunkSize=1e5,this._chunkCount=0,this._rawData,this._rawExtent={},this._extent={},this._approximateExtent={},this._dimensionsSummary=ph(this),this._invertedIndicesMap=o,this._calculationInfo={}},kh=Th.prototype;function Ch(e,t,n){var i;if(null!=t){var o=e._chunkSize,r=Math.floor(n/o),a=n%o,s=e.dimensions[t],c=e._storage[s][r];if(c){i=c[a];var l=e._dimensionInfos[s].ordinalMeta;l&&l.categories.length&&(i=l.categories[i])}}return i}function jh(e){return e}function Ah(e){return e<this._count&&e>=0?this._indices[e]:-1}function Eh(e,t){var n=e._idList[t];return null==n&&(n=Ch(e,e._idDimIdx,t)),null==n&&(n=mh+t),n}function Ih(e){return D.isArray(e)||(e=[e]),e}function Mh(e,t){var n=e.dimensions,i=new Th(D.map(n,e.getDimensionInfo,e),e.hostModel);Sh(i,e);for(var o=i._storage={},r=e._storage,a=0;a<n.length;a++){var s=n[a];r[s]&&(D.indexOf(t,s)>=0?(o[s]=Oh(r[s]),i._rawExtent[s]=Dh(),i._extent[s]=null):o[s]=r[s])}return i}function Oh(e){for(var t,n,i=new Array(e.length),o=0;o<e.length;o++)i[o]=(t=e[o],n=void 0,(n=t.constructor)===Array?t.slice():new n(t));return i}function Dh(){return[1/0,-1/0]}kh.type="list",kh.hasItemOption=!0,kh.getDimension=function(e){return isNaN(e)||(e=this.dimensions[e]||e),e},kh.getDimensionInfo=function(e){return this._dimensionInfos[this.getDimension(e)]},kh.getDimensionsOnCoord=function(){return this._dimensionsSummary.dataDimsOnCoord.slice()},kh.mapDimension=function(e,t){var n=this._dimensionsSummary;if(null==t)return n.encodeFirstDimNotExtra[e];var i=n.encode[e];return!0===t?(i||[]).slice():i&&i[t]},kh.initData=function(e,t,n){(Uc.isInstance(e)||D.isArrayLike(e))&&(e=new hh(e,this.dimensions.length)),this._rawData=e,this._storage={},this._indices=null,this._nameList=t||[],this._idList=[],this._nameRepeatCount={},n||(this.hasItemOption=!1),this.defaultDimValueGetter=fh[this._rawData.getSource().sourceFormat],this._dimValueGetter=n=n||this.defaultDimValueGetter,this._rawExtent={},this._initDataFromProvider(0,e.count()),e.pure&&(this.hasItemOption=!1)},kh.getProvider=function(){return this._rawData},kh.appendData=function(e){var t=this._rawData,n=this.count();t.appendData(e);var i=t.count();t.persistent||(i+=n),this._initDataFromProvider(n,i)},kh._initDataFromProvider=function(e,t){if(!(e>=t)){for(var n,i=this._chunkSize,o=this._rawData,r=this._storage,a=this.dimensions,s=a.length,c=this._dimensionInfos,l=this._nameList,d=this._idList,u=this._rawExtent,f=this._nameRepeatCount={},h=this._chunkCount,p=h-1,g=0;g<s;g++){u[A=a[g]]||(u[A]=Dh());var m=c[A];0===m.otherDims.itemName&&(n=this._nameDimIdx=g),0===m.otherDims.itemId&&(this._idDimIdx=g);var b=bh[m.type];r[A]||(r[A]=[]);var v=r[A][p];if(v&&v.length<i){for(var y=new b(Math.min(t-p*i,i)),_=0;_<v.length;_++)y[_]=v[_];r[A][p]=y}for(var w=h*i;w<t;w+=i)r[A].push(new b(Math.min(t-w,i)));this._chunkCount=r[A].length}for(var x,S,T=new Array(s),k=e;k<t;k++){T=o.getItem(k,T);var C=Math.floor(k/i),j=k%i;for(w=0;w<s;w++){var A,E=r[A=a[w]][C],I=this._dimValueGetter(T,A,k,w);E[j]=I;var M=u[A];I<M[0]&&(M[0]=I),I>M[1]&&(M[1]=I)}if(!o.pure){var O=l[k];if(T&&null==O)if(null!=T.name)l[k]=O=T.name;else if(null!=n){var V=a[n],L=r[V][C];if(L){O=L[j];var P=c[V].ordinalMeta;P&&P.categories.length&&(O=P.categories[O])}}var N=null==T?null:T.id;null==N&&null!=O&&(f[O]=f[O]||0,N=O,f[O]>0&&(N+="__ec__"+f[O]),f[O]++),null!=N&&(d[k]=N)}}!o.persistent&&o.clean&&o.clean(),this._rawCount=this._count=t,this._extent={},S=(x=this)._invertedIndicesMap,D.each(S,function(e,t){var n=x._dimensionInfos[t],i=n.ordinalMeta;if(i){e=S[t]=new vh(i.categories.length);for(var o=0;o<e.length;o++)e[o]=NaN;for(var o=0;o<x._count;o++)e[x.get(t,o)]=o}})}},kh.count=function(){return this._count},kh.getIndices=function(){var e=this._indices;if(e){var t=e.constructor,n=this._count;if(t===Array){o=new t(n);for(var i=0;i<n;i++)o[i]=e[i]}else o=new t(e.buffer,0,n)}else{var o=new(t=_h(this))(this.count());for(i=0;i<o.length;i++)o[i]=i}return o},kh.get=function(e,t){if(!(t>=0&&t<this._count))return NaN;var n=this._storage;if(!n[e])return NaN;t=this.getRawIndex(t);var i=Math.floor(t/this._chunkSize),o=t%this._chunkSize;return n[e][i][o]},kh.getByRawIndex=function(e,t){if(!(t>=0&&t<this._rawCount))return NaN;var n=this._storage[e];if(!n)return NaN;var i=Math.floor(t/this._chunkSize),o=t%this._chunkSize;return n[i][o]},kh._getFast=function(e,t){var n=Math.floor(t/this._chunkSize),i=t%this._chunkSize;return this._storage[e][n][i]},kh.getValues=function(e,t){var n=[];D.isArray(e)||(t=e,e=this.dimensions);for(var i=0,o=e.length;i<o;i++)n.push(this.get(e[i],t));return n},kh.hasValue=function(e){for(var t=this._dimensionsSummary.dataDimsOnCoord,n=this._dimensionInfos,i=0,o=t.length;i<o;i++)if("ordinal"!==n[t[i]].type&&isNaN(this.get(t[i],e)))return!1;return!0},kh.getDataExtent=function(e){e=this.getDimension(e);var t=this._storage[e],n=Dh();if(!t)return n;var i,o=this.count();if(!this._indices)return this._rawExtent[e].slice();if(i=this._extent[e])return i.slice();for(var r=(i=n)[0],a=i[1],s=0;s<o;s++){var c=this._getFast(e,this.getRawIndex(s));c<r&&(r=c),c>a&&(a=c)}return i=[r,a],this._extent[e]=i,i},kh.getApproximateExtent=function(e){return e=this.getDimension(e),this._approximateExtent[e]||this.getDataExtent(e)},kh.setApproximateExtent=function(e,t){t=this.getDimension(t),this._approximateExtent[t]=e.slice()},kh.getCalculationInfo=function(e){return this._calculationInfo[e]},kh.setCalculationInfo=function(e,t){gh(e)?D.extend(this._calculationInfo,e):this._calculationInfo[e]=t},kh.getSum=function(e){var t=0;if(this._storage[e])for(var n=0,i=this.count();n<i;n++){var o=this.get(e,n);isNaN(o)||(t+=o)}return t},kh.getMedian=function(e){var t=[];this.each(e,function(e,n){isNaN(e)||t.push(e)});var n=[].concat(t).sort(function(e,t){return e-t}),i=this.count();return 0===i?0:i%2==1?n[(i-1)/2]:(n[i/2]+n[i/2-1])/2},kh.rawIndexOf=function(e,t){var n=(e&&this._invertedIndicesMap[e])[t];return null==n||isNaN(n)?-1:n},kh.indexOfName=function(e){for(var t=0,n=this.count();t<n;t++)if(this.getName(t)===e)return t;return-1},kh.indexOfRawIndex=function(e){if(!this._indices)return e;if(e>=this._rawCount||e<0)return-1;var t=this._indices,n=t[e];if(null!=n&&n<this._count&&n===e)return e;for(var i=0,o=this._count-1;i<=o;){var r=(i+o)/2|0;if(t[r]<e)i=r+1;else{if(!(t[r]>e))return r;o=r-1}}return-1},kh.indicesOfNearest=function(e,t,n){var i=[];if(!this._storage[e])return i;null==n&&(n=1/0);for(var o=Number.MAX_VALUE,r=-1,a=0,s=this.count();a<s;a++){var c=t-this.get(e,a),l=Math.abs(c);c<=n&&l<=o&&((l<o||c>=0&&r<0)&&(o=l,r=c,i.length=0),i.push(a))}return i},kh.getRawIndex=jh,kh.getRawDataItem=function(e){if(this._rawData.persistent)return this._rawData.getItem(this.getRawIndex(e));for(var t=[],n=0;n<this.dimensions.length;n++){var i=this.dimensions[n];t.push(this.get(i,e))}return t},kh.getName=function(e){var t=this.getRawIndex(e);return this._nameList[t]||Ch(this,this._nameDimIdx,t)||""},kh.getId=function(e){return Eh(this,this.getRawIndex(e))},kh.each=function(e,t,n,i){if(this._count){"function"==typeof e&&(i=n,n=t,t=e,e=[]),n=n||i||this;for(var o=(e=D.map(Ih(e),this.getDimension,this)).length,r=0;r<this.count();r++)switch(o){case 0:t.call(n,r);break;case 1:t.call(n,this.get(e[0],r),r);break;case 2:t.call(n,this.get(e[0],r),this.get(e[1],r),r);break;default:for(var a=0,s=[];a<o;a++)s[a]=this.get(e[a],r);s[a]=r,t.apply(n,s)}}},kh.filterSelf=function(e,t,n,i){if(this._count){"function"==typeof e&&(i=n,n=t,t=e,e=[]),n=n||i||this,e=D.map(Ih(e),this.getDimension,this);for(var o=this.count(),r=new(_h(this))(o),a=[],s=e.length,c=0,l=e[0],d=0;d<o;d++){var u,f=this.getRawIndex(d);if(0===s)u=t.call(n,d);else if(1===s){var h=this._getFast(l,f);u=t.call(n,h,d)}else{for(var p=0;p<s;p++)a[p]=this._getFast(l,f);a[p]=d,u=t.apply(n,a)}u&&(r[c++]=f)}return c<o&&(this._indices=r),this._count=c,this._extent={},this.getRawIndex=this._indices?Ah:jh,this}},kh.selectRange=function(e){if(this._count){var t=[];for(var n in e)e.hasOwnProperty(n)&&t.push(n);var i=t.length;if(i){var o=this.count(),r=new(_h(this))(o),a=0,s=t[0],c=e[s][0],l=e[s][1],d=!1;if(!this._indices){var u=0;if(1===i){for(var f=this._storage[t[0]],h=0;h<this._chunkCount;h++)for(var p=f[h],g=Math.min(this._count-h*this._chunkSize,this._chunkSize),m=0;m<g;m++){((w=p[m])>=c&&w<=l||isNaN(w))&&(r[a++]=u),u++}d=!0}else if(2===i){f=this._storage[s];var b=this._storage[t[1]],v=e[t[1]][0],y=e[t[1]][1];for(h=0;h<this._chunkCount;h++){p=f[h];var _=b[h];for(g=Math.min(this._count-h*this._chunkSize,this._chunkSize),m=0;m<g;m++){var w=p[m],x=_[m];(w>=c&&w<=l||isNaN(w))&&(x>=v&&x<=y||isNaN(x))&&(r[a++]=u),u++}}d=!0}}if(!d)if(1===i)for(m=0;m<o;m++){var S=this.getRawIndex(m);((w=this._getFast(s,S))>=c&&w<=l||isNaN(w))&&(r[a++]=S)}else for(m=0;m<o;m++){var T=!0;for(S=this.getRawIndex(m),h=0;h<i;h++){var k=t[h];((w=this._getFast(n,S))<e[k][0]||w>e[k][1])&&(T=!1)}T&&(r[a++]=this.getRawIndex(m))}return a<o&&(this._indices=r),this._count=a,this._extent={},this.getRawIndex=this._indices?Ah:jh,this}}},kh.mapArray=function(e,t,n,i){"function"==typeof e&&(i=n,n=t,t=e,e=[]),n=n||i||this;var o=[];return this.each(e,function(){o.push(t&&t.apply(this,arguments))},n),o},kh.map=function(e,t,n,i){n=n||i||this;var o=Mh(this,e=D.map(Ih(e),this.getDimension,this));o._indices=this._indices,o.getRawIndex=o._indices?Ah:jh;for(var r=o._storage,a=[],s=this._chunkSize,c=e.length,l=this.count(),d=[],u=o._rawExtent,f=0;f<l;f++){for(var h=0;h<c;h++)d[h]=this.get(e[h],f);d[c]=f;var p=t&&t.apply(n,d);if(null!=p){"object"!=typeof p&&(a[0]=p,p=a);for(var g=this.getRawIndex(f),m=Math.floor(g/s),b=g%s,v=0;v<p.length;v++){var y=e[v],_=p[v],w=u[y],x=r[y];x&&(x[m][b]=_),_<w[0]&&(w[0]=_),_>w[1]&&(w[1]=_)}}}return o},kh.downSample=function(e,t,n,i){for(var o=Mh(this,[e]),r=o._storage,a=[],s=Math.floor(1/t),c=r[e],l=this.count(),d=this._chunkSize,u=o._rawExtent[e],f=new(_h(this))(l),h=0,p=0;p<l;p+=s){s>l-p&&(s=l-p,a.length=s);for(var g=0;g<s;g++){var m=this.getRawIndex(p+g),b=Math.floor(m/d),v=m%d;a[g]=c[b][v]}var y=n(a),_=this.getRawIndex(Math.min(p+i(a,y)||0,l-1)),w=_%d;c[Math.floor(_/d)][w]=y,y<u[0]&&(u[0]=y),y>u[1]&&(u[1]=y),f[h++]=_}return o._count=h,o._indices=f,o.getRawIndex=Ah,o},kh.getItemModel=function(e){var t=this.hostModel;return new Ks(this.getRawDataItem(e),t,t&&t.ecModel)},kh.diff=function(e){var t=this;return new sh(e?e.getIndices():[],this.getIndices(),function(t){return Eh(e,t)},function(e){return Eh(t,e)})},kh.getVisual=function(e){var t=this._visual;return t&&t[e]},kh.setVisual=function(e,t){if(gh(e))for(var n in e)e.hasOwnProperty(n)&&this.setVisual(n,e[n]);else this._visual=this._visual||{},this._visual[e]=t},kh.setLayout=function(e,t){if(gh(e))for(var n in e)e.hasOwnProperty(n)&&this.setLayout(n,e[n]);else this._layout[e]=t},kh.getLayout=function(e){return this._layout[e]},kh.getItemLayout=function(e){return this._itemLayouts[e]},kh.setItemLayout=function(e,t,n){this._itemLayouts[e]=n?D.extend(this._itemLayouts[e]||{},t):t},kh.clearItemLayouts=function(){this._itemLayouts.length=0},kh.getItemVisual=function(e,t,n){var i=this._itemVisuals[e],o=i&&i[t];return null!=o||n?o:this.getVisual(t)},kh.setItemVisual=function(e,t,n){var i=this._itemVisuals[e]||{},o=this.hasItemVisual;if(this._itemVisuals[e]=i,gh(t))for(var r in t)t.hasOwnProperty(r)&&(i[r]=t[r],o[r]=!0);else i[t]=n,o[t]=!0},kh.clearAllVisual=function(){this._visual={},this._itemVisuals=[],this.hasItemVisual={}};var Vh=function(e){e.seriesIndex=this.seriesIndex,e.dataIndex=this.dataIndex,e.dataType=this.dataType};kh.setItemGraphicEl=function(e,t){var n=this.hostModel;t&&(t.dataIndex=e,t.dataType=this.dataType,t.seriesIndex=n&&n.seriesIndex,"group"===t.type&&t.traverse(Vh,t)),this._graphicEls[e]=t},kh.getItemGraphicEl=function(e){return this._graphicEls[e]},kh.eachItemGraphicEl=function(e,t){D.each(this._graphicEls,function(n,i){n&&e&&e.call(t,n,i)})},kh.cloneShallow=function(e){if(!e){var t=D.map(this.dimensions,this.getDimensionInfo,this);e=new Th(t,this.hostModel)}if(e._storage=this._storage,Sh(e,this),this._indices){var n=this._indices.constructor;e._indices=new n(this._indices)}else e._indices=null;return e.getRawIndex=e._indices?Ah:jh,e},kh.wrapMethod=function(e,t){var n=this[e];"function"==typeof n&&(this.__wrappedMethods=this.__wrappedMethods||[],this.__wrappedMethods.push(e),this[e]=function(){var e=n.apply(this,arguments);return t.apply(this,[e].concat(D.slice(arguments)))})},kh.TRANSFERABLE_METHODS=["cloneShallow","downSample","map"],kh.CHANGABLE_METHODS=["filterSelf","selectRange"];var Lh=Th,Ph=D.createHashMap,Nh=D.each,Rh=D.isString,Fh=D.defaults,Bh=D.extend,zh=D.isObject,Hh=D.clone,$h=ro.normalizeToArray,qh=bl.guessOrdinal,Wh=uh.OTHER_DIMENSIONS;function Gh(e,t,n){if(n||null!=t.get(e)){for(var i=0;null!=t.get(e+i);)i++;e+=i}return t.set(e,!0),e}var Uh=function(e,t,n){Uc.isInstance(t)||(t=Uc.seriesDataToSource(t)),n=n||{},e=(e||[]).slice();for(var i=(n.dimsDef||[]).slice(),o=Ph(n.encodeDef),r=Ph(),a=Ph(),s=[],c=function(e,t,n,i){var o=Math.max(e.dimensionsDetectCount||1,t.length,n.length,i||0);return Nh(t,function(e){var t=e.dimsDef;t&&(o=Math.max(o,t.length))}),o}(t,e,i,n.dimCount),l=0;l<c;l++){var d=i[l]=Bh({},zh(i[l])?i[l]:{name:i[l]}),u=d.name,f=s[l]={otherDims:{}};null!=u&&null==r.get(u)&&(f.name=f.displayName=u,r.set(u,l)),null!=d.type&&(f.type=d.type),null!=d.displayName&&(f.displayName=d.displayName)}o.each(function(e,t){if(1===(e=$h(e).slice()).length&&e[0]<0)o.set(t,!1);else{var n=o.set(t,[]);Nh(e,function(e,i){Rh(e)&&(e=r.get(e)),null!=e&&e<c&&(n[i]=e,p(s[e],t,i))})}});var h=0;function p(e,t,n){null!=Wh.get(t)?e.otherDims[t]=n:(e.coordDim=t,e.coordDimIndex=n,a.set(t,!0))}Nh(e,function(e,t){var n,i,r;if(Rh(e))n=e,e={};else{n=e.name;var a=e.ordinalMeta;e.ordinalMeta=null,(e=Hh(e)).ordinalMeta=a,i=e.dimsDef,r=e.otherDims,e.name=e.coordDim=e.coordDimIndex=e.dimsDef=e.otherDims=null}if(!1!==(c=o.get(n))){var c;if(!(c=$h(c)).length)for(var l=0;l<(i&&i.length||1);l++){for(;h<s.length&&null!=s[h].coordDim;)h++;h<s.length&&c.push(h++)}Nh(c,function(t,o){var a=s[t];if(p(Fh(a,e),n,o),null==a.name&&i){var c=i[o];!zh(c)&&(c={name:c}),a.name=a.displayName=c.name,a.defaultTooltip=c.defaultTooltip}r&&Fh(a.otherDims,r)})}});var g=n.generateCoord,m=n.generateCoordCount,b=null!=m;m=g?m||1:0;for(var v=g||"value",y=0;y<c;y++)null==(f=s[y]=s[y]||{}).coordDim&&(f.coordDim=Gh(v,a,b),f.coordDimIndex=0,(!g||m<=0)&&(f.isExtraCoord=!0),m--),null==f.name&&(f.name=Gh(f.coordDim,r)),null==f.type&&qh(t,y,f.name)&&(f.type="ordinal");return s};var Kh=function(e,t){return Uh((t=t||{}).coordDimensions||[],e,{dimsDef:t.dimensionsDefine||e.dimensionsDefine,encodeDef:t.encodeDefine||e.encodeDefine,dimCount:t.dimensionsCount,generateCoord:t.generateCoord,generateCoordCount:t.generateCoordCount})},Yh=D.each,Zh=D.isString;function Xh(e,t){return!!t&&t===e.getCalculationInfo("stackedDimension")}var Qh={enableDataStack:function(e,t,n){var i,o,r,a,s=(n=n||{}).byIndex,c=n.stackedCoordDimension,l=!(!e||!e.get("stack"));if(Yh(t,function(e,n){Zh(e)&&(t[n]=e={name:e}),l&&!e.isExtraCoord&&(s||i||!e.ordinalMeta||(i=e),o||"ordinal"===e.type||"time"===e.type||c&&c!==e.coordDim||(o=e))}),!o||s||i||(s=!0),o){r="__\0ecstackresult",a="__\0ecstackedover",i&&(i.createInvertedIndices=!0);var d=o.coordDim,u=o.type,f=0;Yh(t,function(e){e.coordDim===d&&f++}),t.push({name:r,coordDim:d,coordDimIndex:f,type:u,isExtraCoord:!0,isCalculationCoord:!0}),f++,t.push({name:a,coordDim:a,coordDimIndex:f,type:u,isExtraCoord:!0,isCalculationCoord:!0})}return{stackedDimension:o&&o.name,stackedByDimension:i&&i.name,isStackedByIndex:s,stackedOverDimension:a,stackResultDimension:r}},isDimensionStacked:Xh,getStackedDimension:function(e,t){return Xh(e,t)?e.getCalculationInfo("stackResultDimension"):t}},Jh=Nc.SOURCE_FORMAT_ORIGINAL,ep=uh.getDimensionTypeByAxis,tp=ro.getDataItemValue,np=Pc.getCoordSysDefineBySeries,ip=Qh.enableDataStack;var op=function(e,t,n){n=n||{},Uc.isInstance(e)||(e=Uc.seriesDataToSource(e));var i,o=t.get("coordinateSystem"),r=zl.get(o),a=np(t);a&&(i=D.map(a.coordSysDims,function(e){var t={name:e},n=a.axisMap.get(e);if(n){var i=n.get("type");t.type=ep(i)}return t})),i||(i=r&&(r.getDimensionsInfo?r.getDimensionsInfo():r.dimensions.slice())||["x","y"]);var s,c,l=Kh(e,{coordDimensions:i,generateCoord:n.generateCoord});a&&D.each(l,function(e,t){var n=e.coordDim,i=a.categoryAxisMap.get(n);i&&(null==s&&(s=t),e.ordinalMeta=i.getOrdinalMeta()),null!=e.otherDims.itemName&&(c=!0)}),c||null==s||(l[s].otherDims.itemName=0);var d=ip(t,l),u=new Lh(l,t);u.setCalculationInfo(d);var f=null!=s&&function(e){if(e.sourceFormat===Jh){var t=function(e){for(var t=0;t<e.length&&null==e[t];)t++;return e[t]}(e.data||[]);return null!=t&&!D.isArray(tp(t))}}(e)?function(e,t,n,i){return i===s?n:this.defaultDimValueGetter(e,t,n,i)}:null;return u.hasItemOption=!1,u.initData(e,null,f),u};function rp(e){this._setting=e||{},this._extent=[1/0,-1/0],this._interval=0,this.init&&this.init.apply(this,arguments)}rp.prototype.parse=function(e){return e},rp.prototype.getSetting=function(e){return this._setting[e]},rp.prototype.contain=function(e){var t=this._extent;return e>=t[0]&&e<=t[1]},rp.prototype.normalize=function(e){var t=this._extent;return t[1]===t[0]?.5:(e-t[0])/(t[1]-t[0])},rp.prototype.scale=function(e){var t=this._extent;return e*(t[1]-t[0])+t[0]},rp.prototype.unionExtent=function(e){var t=this._extent;e[0]<t[0]&&(t[0]=e[0]),e[1]>t[1]&&(t[1]=e[1])},rp.prototype.unionExtentFromData=function(e,t){this.unionExtent(e.getApproximateExtent(t))},rp.prototype.getExtent=function(){return this._extent.slice()},rp.prototype.setExtent=function(e,t){var n=this._extent;isNaN(e)||(n[0]=e),isNaN(t)||(n[1]=t)},rp.prototype.isBlank=function(){return this._isBlank},rp.prototype.setBlank=function(e){this._isBlank=e},rp.prototype.getLabel=null,ho.enableClassExtend(rp),ho.enableClassManagement(rp,{registerWhenExtend:!0});var ap=rp,sp=D.createHashMap,cp=D.isObject,lp=D.map;function dp(e){this.categories=e.categories||[],this._needCollect=e.needCollect,this._deduplication=e.deduplication,this._map}dp.createByAxisModel=function(e){var t=e.option,n=t.data,i=n&&lp(n,hp);return new dp({categories:i,needCollect:!i,deduplication:!1!==t.dedplication})};var up=dp.prototype;function fp(e){return e._map||(e._map=sp(e.categories))}function hp(e){return cp(e)&&null!=e.value?e.value:e+""}up.getOrdinal=function(e){return fp(this).get(e)},up.parseAndCollect=function(e){var t,n=this._needCollect;if("string"!=typeof e&&!n)return e;if(n&&!this._deduplication)return t=this.categories.length,this.categories[t]=e,t;var i=fp(this);return null==(t=i.get(e))&&(n?(t=this.categories.length,this.categories[t]=e,i.set(e,t)):t=NaN),t};var pp=dp,gp=ap.prototype,mp=ap.extend({type:"ordinal",init:function(e,t){e&&!D.isArray(e)||(e=new pp({categories:e})),this._ordinalMeta=e,this._extent=t||[0,e.categories.length-1]},parse:function(e){return"string"==typeof e?this._ordinalMeta.getOrdinal(e):Math.round(e)},contain:function(e){return e=this.parse(e),gp.contain.call(this,e)&&null!=this._ordinalMeta.categories[e]},normalize:function(e){return gp.normalize.call(this,this.parse(e))},scale:function(e){return Math.round(gp.scale.call(this,e))},getTicks:function(){for(var e=[],t=this._extent,n=t[0];n<=t[1];)e.push(n),n++;return e},getLabel:function(e){if(!this.isBlank())return this._ordinalMeta.categories[e]},count:function(){return this._extent[1]-this._extent[0]+1},unionExtentFromData:function(e,t){this.unionExtent(e.getApproximateExtent(t))},getOrdinalMeta:function(){return this._ordinalMeta},niceTicks:D.noop,niceExtent:D.noop});mp.create=function(){return new mp};var bp=mp,vp=tc.round;function yp(e){return tc.getPrecisionSafe(e)+2}function _p(e,t,n){e[t]=Math.max(Math.min(e[t],n[1]),n[0])}function wp(e,t){!isFinite(e[0])&&(e[0]=t[0]),!isFinite(e[1])&&(e[1]=t[1]),_p(e,0,t),_p(e,1,t),e[0]>e[1]&&(e[0]=e[1])}var xp={intervalScaleNiceTicks:function(e,t,n,i){var o={},r=e[1]-e[0],a=o.interval=tc.nice(r/t,!0);null!=n&&a<n&&(a=o.interval=n),null!=i&&a>i&&(a=o.interval=i);var s=o.intervalPrecision=yp(a);return wp(o.niceTickExtent=[vp(Math.ceil(e[0]/a)*a,s),vp(Math.floor(e[1]/a)*a,s)],e),o},getIntervalPrecision:yp,fixExtent:wp,intervalScaleGetTicks:function(e,t,n,i){var o=[];if(!e)return o;t[0]<n[0]&&o.push(t[0]);for(var r=n[0];r<=n[1]&&(o.push(r),(r=vp(r+e,i))!==o[o.length-1]);)if(o.length>1e4)return[];return t[1]>(o.length?o[o.length-1]:n[1])&&o.push(t[1]),o}},Sp=tc.round,Tp=ap.extend({type:"interval",_interval:0,_intervalPrecision:2,setExtent:function(e,t){var n=this._extent;isNaN(e)||(n[0]=parseFloat(e)),isNaN(t)||(n[1]=parseFloat(t))},unionExtent:function(e){var t=this._extent;e[0]<t[0]&&(t[0]=e[0]),e[1]>t[1]&&(t[1]=e[1]),Tp.prototype.setExtent.call(this,t[0],t[1])},getInterval:function(){return this._interval},setInterval:function(e){this._interval=e,this._niceExtent=this._extent.slice(),this._intervalPrecision=xp.getIntervalPrecision(e)},getTicks:function(){return xp.intervalScaleGetTicks(this._interval,this._extent,this._niceExtent,this._intervalPrecision)},getLabel:function(e,t){if(null==e)return"";var n=t&&t.precision;return null==n?n=tc.getPrecisionSafe(e)||0:"auto"===n&&(n=this._intervalPrecision),e=Sp(e,n,!0),cc.addCommas(e)},niceTicks:function(e,t,n){e=e||5;var i=this._extent,o=i[1]-i[0];if(isFinite(o)){o<0&&(o=-o,i.reverse());var r=xp.intervalScaleNiceTicks(i,e,t,n);this._intervalPrecision=r.intervalPrecision,this._interval=r.interval,this._niceExtent=r.niceTickExtent}},niceExtent:function(e){var t=this._extent;if(t[0]===t[1])if(0!==t[0]){var n=t[0];e.fixMax?t[0]-=n/2:(t[1]+=n/2,t[0]-=n/2)}else t[1]=1;var i=t[1]-t[0];isFinite(i)||(t[0]=0,t[1]=1),this.niceTicks(e.splitNumber,e.minInterval,e.maxInterval);var o=this._interval;e.fixMin||(t[0]=Sp(Math.floor(t[0]/o)*o)),e.fixMax||(t[1]=Sp(Math.ceil(t[1]/o)*o))}});Tp.create=function(){return new Tp};var kp=Tp,Cp=tc.parsePercent,jp=Qh.isDimensionStacked,Ap="__ec_stack_",Ep="undefined"!=typeof Float32Array?Float32Array:Array;function Ip(e){return e.get("stack")||Ap+e.seriesIndex}function Mp(e){return e.dim+e.index}function Op(e,t){var n=[];return t.eachSeriesByType(e,function(e){Pp(e)&&!Np(e)&&n.push(e)}),n}function Dp(e){var t=[];return D.each(e,function(e){var n=e.getData(),i=e.coordinateSystem.getBaseAxis(),o=i.getExtent(),r="category"===i.type?i.getBandWidth():Math.abs(o[1]-o[0])/n.count(),a=Cp(e.get("barWidth"),r),s=Cp(e.get("barMaxWidth"),r),c=e.get("barGap"),l=e.get("barCategoryGap");t.push({bandWidth:r,barWidth:a,barMaxWidth:s,barGap:c,barCategoryGap:l,axisKey:Mp(i),stackId:Ip(e)})}),Vp(t)}function Vp(e){var t={};D.each(e,function(e,n){var i=e.axisKey,o=e.bandWidth,r=t[i]||{bandWidth:o,remainedWidth:o,autoWidthCount:0,categoryGap:"20%",gap:"30%",stacks:{}},a=r.stacks;t[i]=r;var s=e.stackId;a[s]||r.autoWidthCount++,a[s]=a[s]||{width:0,maxWidth:0};var c=e.barWidth;c&&!a[s].width&&(a[s].width=c,c=Math.min(r.remainedWidth,c),r.remainedWidth-=c);var l=e.barMaxWidth;l&&(a[s].maxWidth=l);var d=e.barGap;null!=d&&(r.gap=d);var u=e.barCategoryGap;null!=u&&(r.categoryGap=u)});var n={};return D.each(t,function(e,t){n[t]={};var i=e.stacks,o=e.bandWidth,r=Cp(e.categoryGap,o),a=Cp(e.gap,1),s=e.remainedWidth,c=e.autoWidthCount,l=(s-r)/(c+(c-1)*a);l=Math.max(l,0),D.each(i,function(e,t){var n=e.maxWidth;n&&n<l&&(n=Math.min(n,s),e.width&&(n=Math.min(n,e.width)),s-=n,e.width=n,c--)}),l=(s-r)/(c+(c-1)*a),l=Math.max(l,0);var d,u=0;D.each(i,function(e,t){e.width||(e.width=l),d=e,u+=e.width*(1+a)}),d&&(u-=d.width*a);var f=-u/2;D.each(i,function(e,i){n[t][i]=n[t][i]||{offset:f,width:e.width},f+=e.width*(1+a)})}),n}function Lp(e,t,n){if(e&&t){var i=e[Mp(t)];return null!=i&&null!=n&&(i=i[Ip(n)]),i}}function Pp(e){return e.coordinateSystem&&"cartesian2d"===e.coordinateSystem.type}function Np(e){return e.pipelineContext&&e.pipelineContext.large}function Rp(e,t,n){var i,o,r=t.getGlobalExtent();r[0]>r[1]?(i=r[1],o=r[0]):(i=r[0],o=r[1]);var a=t.toGlobalCoord(t.dataToCoord(0));return a<i&&(a=i),a>o&&(a=o),a}var Fp={getLayoutOnAxis:function(e){var t=[],n=e.axis;if("category"===n.type){for(var i=n.getBandWidth(),o=0;o<e.count;o++)t.push(D.defaults({bandWidth:i,axisKey:"axis0",stackId:Ap+o},e));var r=Vp(t),a=[];for(o=0;o<e.count;o++){var s=r.axis0[Ap+o];s.offsetCenter=s.offset+s.width/2,a.push(s)}return a}},prepareLayoutBarSeries:Op,makeColumnLayout:Dp,retrieveColumnLayout:Lp,layout:function(e,t){var n=Op(e,t),i=Dp(n),o={};D.each(n,function(e){var t=e.getData(),n=e.coordinateSystem,r=n.getBaseAxis(),a=Ip(e),s=i[Mp(r)][a],c=s.offset,l=s.width,d=n.getOtherAxis(r),u=e.get("barMinHeight")||0;o[a]=o[a]||[],t.setLayout({offset:c,size:l});for(var f=t.mapDimension(d.dim),h=t.mapDimension(r.dim),p=jp(t,f),g=d.isHorizontal(),m=Rp(0,d),b=0,v=t.count();b<v;b++){var y=t.get(f,b),_=t.get(h,b);if(!isNaN(y)){var w,x,S,T,k,C=y>=0?"p":"n",j=m;p&&(o[a][_]||(o[a][_]={p:m,n:m}),j=o[a][_][C]),g?(w=j,x=(k=n.dataToPoint([y,_]))[1]+c,S=k[0]-m,T=l,Math.abs(S)<u&&(S=(S<0?-1:1)*u),p&&(o[a][_][C]+=S)):(w=(k=n.dataToPoint([_,y]))[0]+c,x=j,S=l,T=k[1]-m,Math.abs(T)<u&&(T=(T<=0?-1:1)*u),p&&(o[a][_][C]+=T)),t.setItemLayout(b,{x:w,y:x,width:S,height:T})}}},this)},largeLayout:{seriesType:"bar",plan:xu(),reset:function(e){if(Pp(e)&&Np(e)){var t=e.getData(),n=e.coordinateSystem,i=n.getBaseAxis(),o=n.getOtherAxis(i),r=t.mapDimension(o.dim),a=t.mapDimension(i.dim),s=o.isHorizontal(),c=s?0:1,l=Lp(Dp([e]),i,e).width;return l>.5||(l=.5),{progress:function(e,t){var d,u=new Ep(2*e.count),f=[],h=[],p=0;for(;null!=(d=e.next());)h[c]=t.get(r,d),h[1-c]=t.get(a,d),f=n.dataToPoint(h,null,f),u[p++]=f[0],u[p++]=f[1];t.setLayout({largePoints:u,barWidth:l,valueAxisStart:Rp(i,o,!1),valueAxisHorizontal:s})}}}}}},Bp=kp.prototype,zp=Math.ceil,Hp=Math.floor,$p=kp.extend({type:"time",getLabel:function(e){var t=this._stepLvl,n=new Date(e);return cc.formatTime(t[0],n,this.getSetting("useUTC"))},niceExtent:function(e){var t=this._extent;if(t[0]===t[1]&&(t[0]-=864e5,t[1]+=864e5),t[1]===-1/0&&t[0]===1/0){var n=new Date;t[1]=+new Date(n.getFullYear(),n.getMonth(),n.getDate()),t[0]=t[1]-864e5}this.niceTicks(e.splitNumber,e.minInterval,e.maxInterval);var i=this._interval;e.fixMin||(t[0]=tc.round(Hp(t[0]/i)*i)),e.fixMax||(t[1]=tc.round(zp(t[1]/i)*i))},niceTicks:function(e,t,n){e=e||10;var i=this._extent,o=i[1]-i[0],r=o/e;null!=t&&r<t&&(r=t),null!=n&&r>n&&(r=n);var a=qp.length,s=function(e,t,n,i){for(;n<i;){var o=n+i>>>1;e[o][1]<t?n=o+1:i=o}return n}(qp,r,0,a),c=qp[Math.min(s,a-1)],l=c[1];if("year"===c[0]){var d=o/l;l*=tc.nice(d/e,!0)}var u=this.getSetting("useUTC")?0:60*new Date(+i[0]||+i[1]).getTimezoneOffset()*1e3,f=[Math.round(zp((i[0]-u)/l)*l+u),Math.round(Hp((i[1]-u)/l)*l+u)];xp.fixExtent(f,i),this._stepLvl=c,this._interval=l,this._niceExtent=f},parse:function(e){return+tc.parseDate(e)}});D.each(["contain","normalize"],function(e){$p.prototype[e]=function(t){return Bp[e].call(this,this.parse(t))}});var qp=[["hh:mm:ss",1e3],["hh:mm:ss",5e3],["hh:mm:ss",1e4],["hh:mm:ss",15e3],["hh:mm:ss",3e4],["hh:mm\nMM-dd",6e4],["hh:mm\nMM-dd",3e5],["hh:mm\nMM-dd",6e5],["hh:mm\nMM-dd",9e5],["hh:mm\nMM-dd",18e5],["hh:mm\nMM-dd",36e5],["hh:mm\nMM-dd",72e5],["hh:mm\nMM-dd",216e5],["hh:mm\nMM-dd",432e5],["MM-dd\nyyyy",864e5],["MM-dd\nyyyy",1728e5],["MM-dd\nyyyy",2592e5],["MM-dd\nyyyy",3456e5],["MM-dd\nyyyy",432e6],["MM-dd\nyyyy",5184e5],["week",6048e5],["MM-dd\nyyyy",864e6],["week",12096e5],["week",18144e5],["month",26784e5],["week",36288e5],["month",53568e5],["week",6048e6],["quarter",8208e6],["month",107136e5],["month",13392e6],["half-year",16416e6],["month",214272e5],["month",26784e6],["year",32832e6]];$p.create=function(e){return new $p({useUTC:e.ecModel.get("useUTC")})};var Wp=ap.prototype,Gp=kp.prototype,Up=tc.getPrecisionSafe,Kp=tc.round,Yp=Math.floor,Zp=Math.ceil,Xp=Math.pow,Qp=Math.log,Jp=ap.extend({type:"log",base:10,$constructor:function(){ap.apply(this,arguments),this._originalScale=new kp},getTicks:function(){var e=this._originalScale,t=this._extent,n=e.getExtent();return D.map(Gp.getTicks.call(this),function(i){var o=tc.round(Xp(this.base,i));return o=i===t[0]&&e.__fixMin?eg(o,n[0]):o,o=i===t[1]&&e.__fixMax?eg(o,n[1]):o},this)},getLabel:Gp.getLabel,scale:function(e){return e=Wp.scale.call(this,e),Xp(this.base,e)},setExtent:function(e,t){var n=this.base;e=Qp(e)/Qp(n),t=Qp(t)/Qp(n),Gp.setExtent.call(this,e,t)},getExtent:function(){var e=this.base,t=Wp.getExtent.call(this);t[0]=Xp(e,t[0]),t[1]=Xp(e,t[1]);var n=this._originalScale,i=n.getExtent();return n.__fixMin&&(t[0]=eg(t[0],i[0])),n.__fixMax&&(t[1]=eg(t[1],i[1])),t},unionExtent:function(e){this._originalScale.unionExtent(e);var t=this.base;e[0]=Qp(e[0])/Qp(t),e[1]=Qp(e[1])/Qp(t),Wp.unionExtent.call(this,e)},unionExtentFromData:function(e,t){this.unionExtent(e.getApproximateExtent(t))},niceTicks:function(e){e=e||10;var t=this._extent,n=t[1]-t[0];if(!(n===1/0||n<=0)){var i=tc.quantity(n);for(e/n*i<=.5&&(i*=10);!isNaN(i)&&Math.abs(i)<1&&Math.abs(i)>0;)i*=10;var o=[tc.round(Zp(t[0]/i)*i),tc.round(Yp(t[1]/i)*i)];this._interval=i,this._niceExtent=o}},niceExtent:function(e){Gp.niceExtent.call(this,e);var t=this._originalScale;t.__fixMin=e.fixMin,t.__fixMax=e.fixMax}});function eg(e,t){return Kp(e,Up(t))}D.each(["contain","normalize"],function(e){Jp.prototype[e]=function(t){return t=Qp(t)/Qp(this.base),Wp[e].call(this,t)}}),Jp.create=function(){return new Jp};var tg=Fp.prepareLayoutBarSeries,ng=Fp.makeColumnLayout,ig=Fp.retrieveColumnLayout;function og(e,t){var n,i,o,r=e.type,a=t.getMin(),s=t.getMax(),c=null!=a,l=null!=s,d=e.getExtent();"ordinal"===r?n=t.getCategories().length:(i=t.get("boundaryGap"),D.isArray(i)||(i=[i||0,i||0]),"boolean"==typeof i[0]&&(i=[0,0]),i[0]=tc.parsePercent(i[0],1),i[1]=tc.parsePercent(i[1],1),o=d[1]-d[0]||Math.abs(d[0])),null==a&&(a="ordinal"===r?n?0:NaN:d[0]-i[0]*o),null==s&&(s="ordinal"===r?n?n-1:NaN:d[1]+i[1]*o),"dataMin"===a?a=d[0]:"function"==typeof a&&(a=a({min:d[0],max:d[1]})),"dataMax"===s?s=d[1]:"function"==typeof s&&(s=s({min:d[0],max:d[1]})),(null==a||!isFinite(a))&&(a=NaN),(null==s||!isFinite(s))&&(s=NaN),e.setBlank(D.eqNaN(a)||D.eqNaN(s)||"ordinal"===r&&!e.getOrdinalMeta().categories.length),t.getNeedCrossZero()&&(a>0&&s>0&&!c&&(a=0),a<0&&s<0&&!l&&(s=0));var u=t.ecModel;if(u&&"time"===r){var f,h=tg("bar",u);if(D.each(h,function(e){f|=e.getBaseAxis()===t.axis}),f){var p=ng(h),g=function(e,t,n,i){var o=n.axis.getExtent(),r=o[1]-o[0],a=ig(i,n.axis);if(void 0===a)return{min:e,max:t};var s=1/0;D.each(a,function(e){s=Math.min(e.offset,s)});var c=-1/0;D.each(a,function(e){c=Math.max(e.offset+e.width,c)}),s=Math.abs(s),c=Math.abs(c);var l=s+c,d=t-e,u=d/(1-(s+c)/r)-d;return{min:e-=u*(s/l),max:t+=u*(c/l)}}(a,s,t,p);a=g.min,s=g.max}}return[a,s]}function rg(e){var t,n=e.getLabelModel().get("formatter"),i="category"===e.type?e.scale.getExtent()[0]:null;return"string"==typeof n?(t=n,n=function(n){return n=e.scale.getLabel(n),t.replace("{value}",null!=n?n:"")}):"function"==typeof n?function(t,o){return null!=i&&(o=t-i),n(ag(e,t),o)}:function(t){return e.scale.getLabel(t)}}function ag(e,t){return"category"===e.type?e.scale.getLabel(t):t}var sg={getScaleExtent:og,niceScaleExtent:function(e,t){var n=og(e,t),i=null!=t.getMin(),o=null!=t.getMax(),r=t.get("splitNumber");"log"===e.type&&(e.base=t.get("logBase"));var a=e.type;e.setExtent(n[0],n[1]),e.niceExtent({splitNumber:r,fixMin:i,fixMax:o,minInterval:"interval"===a||"time"===a?t.get("minInterval"):null,maxInterval:"interval"===a||"time"===a?t.get("maxInterval"):null});var s=t.get("interval");null!=s&&e.setInterval&&e.setInterval(s)},createScaleByModel:function(e,t){if(t=t||e.get("type"))switch(t){case"category":return new bp(e.getOrdinalMeta?e.getOrdinalMeta():e.getCategories(),[1/0,-1/0]);case"value":return new kp;default:return(ap.getClass(t)||kp).create(e)}},ifAxisCrossZero:function(e){var t=e.scale.getExtent(),n=t[0],i=t[1];return!(n>0&&i>0||n<0&&i<0)},makeLabelFormatter:rg,getAxisRawValue:ag,estimateLabelUnionRect:function(e){var t=e.model,n=e.scale;if(t.get("axisLabel.show")&&!n.isBlank()){var i,o,r="category"===e.type,a=n.getExtent();o=r?n.count():(i=n.getTicks()).length;var s,c,l,d,u,f,h,p,g,m=e.getLabelModel(),b=rg(e),v=1;o>40&&(v=Math.ceil(o/40));for(var y=0;y<o;y+=v){var _=b(i?i[y]:a[0]+y),w=m.getTextRect(_),x=(c=w,l=m.get("rotate")||0,d=l*Math.PI/180,u=c.plain(),f=u.width,h=u.height,p=f*Math.cos(d)+h*Math.sin(d),g=f*Math.sin(d)+h*Math.cos(d),new Vt(u.x,u.y,p,g));s?s.union(x):s=x}return s}}},cg={getMin:function(e){var t=this.option,n=e||null==t.rangeStart?t.min:t.rangeStart;return this.axis&&null!=n&&"dataMin"!==n&&"function"!=typeof n&&!D.eqNaN(n)&&(n=this.axis.scale.parse(n)),n},getMax:function(e){var t=this.option,n=e||null==t.rangeEnd?t.max:t.rangeEnd;return this.axis&&null!=n&&"dataMax"!==n&&"function"!=typeof n&&!D.eqNaN(n)&&(n=this.axis.scale.parse(n)),n},getNeedCrossZero:function(){var e=this.option;return null==e.rangeStart&&null==e.rangeEnd&&!e.scale},getCoordSysModel:D.noop,setRange:function(e,t){this.option.rangeStart=e,this.option.rangeEnd=t},resetRange:function(){this.option.rangeStart=this.option.rangeEnd=null}},lg=Ls.extendShape({type:"triangle",shape:{cx:0,cy:0,width:0,height:0},buildPath:function(e,t){var n=t.cx,i=t.cy,o=t.width/2,r=t.height/2;e.moveTo(n,i-r),e.lineTo(n+o,i+r),e.lineTo(n-o,i+r),e.closePath()}}),dg=Ls.extendShape({type:"diamond",shape:{cx:0,cy:0,width:0,height:0},buildPath:function(e,t){var n=t.cx,i=t.cy,o=t.width/2,r=t.height/2;e.moveTo(n,i-r),e.lineTo(n+o,i),e.lineTo(n,i+r),e.lineTo(n-o,i),e.closePath()}}),ug=Ls.extendShape({type:"pin",shape:{x:0,y:0,width:0,height:0},buildPath:function(e,t){var n=t.x,i=t.y,o=t.width/5*3,r=Math.max(o,t.height),a=o/2,s=a*a/(r-a),c=i-r+a+s,l=Math.asin(s/a),d=Math.cos(l)*a,u=Math.sin(l),f=Math.cos(l),h=.6*a,p=.7*a;e.moveTo(n-d,c+s),e.arc(n,c,a,Math.PI-l,2*Math.PI+l),e.bezierCurveTo(n+d-u*h,c+s+f*h,n,i-p,n,i),e.bezierCurveTo(n,i-p,n-d+u*h,c+s+f*h,n-d,c+s),e.closePath()}}),fg=Ls.extendShape({type:"arrow",shape:{x:0,y:0,width:0,height:0},buildPath:function(e,t){var n=t.height,i=t.width,o=t.x,r=t.y,a=i/3*2;e.moveTo(o,r),e.lineTo(o+a,r+n),e.lineTo(o,r+n/4*3),e.lineTo(o-a,r+n),e.lineTo(o,r),e.closePath()}}),hg={line:Ls.Line,rect:Ls.Rect,roundRect:Ls.Rect,square:Ls.Rect,circle:Ls.Circle,diamond:dg,pin:ug,arrow:fg,triangle:lg},pg={line:function(e,t,n,i,o){o.x1=e,o.y1=t+i/2,o.x2=e+n,o.y2=t+i/2},rect:function(e,t,n,i,o){o.x=e,o.y=t,o.width=n,o.height=i},roundRect:function(e,t,n,i,o){o.x=e,o.y=t,o.width=n,o.height=i,o.r=Math.min(n,i)/4},square:function(e,t,n,i,o){var r=Math.min(n,i);o.x=e,o.y=t,o.width=r,o.height=r},circle:function(e,t,n,i,o){o.cx=e+n/2,o.cy=t+i/2,o.r=Math.min(n,i)/2},diamond:function(e,t,n,i,o){o.cx=e+n/2,o.cy=t+i/2,o.width=n,o.height=i},pin:function(e,t,n,i,o){o.x=e+n/2,o.y=t+i/2,o.width=n,o.height=i},arrow:function(e,t,n,i,o){o.x=e+n/2,o.y=t+i/2,o.width=n,o.height=i},triangle:function(e,t,n,i,o){o.cx=e+n/2,o.cy=t+i/2,o.width=n,o.height=i}},gg={};D.each(hg,function(e,t){gg[t]=new e});var mg=Ls.extendShape({type:"symbol",shape:{symbolType:"",x:0,y:0,width:0,height:0},beforeBrush:function(){var e=this.style;"pin"===this.shape.symbolType&&"inside"===e.textPosition&&(e.textPosition=["50%","40%"],e.textAlign="center",e.textVerticalAlign="middle")},buildPath:function(e,t,n){var i=t.symbolType,o=gg[i];"none"!==t.symbolType&&(o||(o=gg[i="rect"]),pg[i](t.x,t.y,t.width,t.height,o.shape),o.buildPath(e,o.shape,n))}});function bg(e,t){if("image"!==this.type){var n=this.style,i=this.shape;i&&"line"===i.symbolType?n.stroke=e:this.__isEmptyBrush?(n.stroke=e,n.fill=t||"#fff"):(n.fill&&(n.fill=e),n.stroke&&(n.stroke=e)),this.dirty(!1)}}var vg={createSymbol:function(e,t,n,i,o,r,a){var s,c=0===e.indexOf("empty");return c&&(e=e.substr(5,1).toLowerCase()+e.substr(6)),(s=0===e.indexOf("image://")?Ls.makeImage(e.slice(8),new Vt(t,n,i,o),a?"center":"cover"):0===e.indexOf("path://")?Ls.makePath(e.slice(7),{},new Vt(t,n,i,o),a?"center":"cover"):new mg({shape:{symbolType:e,x:t,y:n,width:i,height:o}})).__isEmptyBrush=c,s.setColor=bg,s.setColor(r),s}},yg=yc.getLayoutRect,_g=Qh.enableDataStack,wg=Qh.isDimensionStacked,xg=Qh.getStackedDimension;var Sg={getLayoutRect:yg,completeDimensions:Uh,createDimensions:Kh,createSymbol:vg.createSymbol,createList:function(e){return op(e.getSource(),e)},dataStack:{isDimensionStacked:wg,enableDataStack:_g,getStackedDimension:xg},createScale:function(e,t){var n=t;Ks.isInstance(t)||(n=new Ks(t),D.mixin(n,cg));var i=sg.createScaleByModel(n);return i.setExtent(e[0],e[1]),sg.niceScaleExtent(i,n),i},mixinAxisModelCommonMethods:function(e){D.mixin(e,cg)}},Tg=1e-8;function kg(e,t){return Math.abs(e-t)<Tg}var Cg={contain:function(e,t,n){var i=0,o=e[0];if(!o)return!1;for(var r=1;r<e.length;r++){var a=e[r];i+=mr(o[0],o[1],a[0],a[1],t,n),o=a}var s=e[0];return kg(o[0],s[0])&&kg(o[1],s[1])||(i+=mr(o[0],o[1],s[0],s[1],t,n)),0!==i}};function jg(e,t,n){if(this.name=e,this.geometries=t,n)n=[n[0],n[1]];else{var i=this.getBoundingRect();n=[i.x+i.width/2,i.y+i.height/2]}this.center=n}jg.prototype={constructor:jg,properties:null,getBoundingRect:function(){var e=this._rect;if(e)return e;for(var t=Number.MAX_VALUE,n=[t,t],i=[-t,-t],o=[],r=[],a=this.geometries,s=0;s<a.length;s++)if("polygon"===a[s].type){var c=a[s].exterior;Wo.fromPoints(c,o,r),F.min(n,n,o),F.max(i,i,r)}return 0===s&&(n[0]=n[1]=i[0]=i[1]=0),this._rect=new Vt(n[0],n[1],i[0]-n[0],i[1]-n[1])},contain:function(e){var t=this.getBoundingRect(),n=this.geometries;if(!t.contain(e[0],e[1]))return!1;e:for(var i=0,o=n.length;i<o;i++)if("polygon"===n[i].type){var r=n[i].exterior,a=n[i].interiors;if(Cg.contain(r,e[0],e[1])){for(var s=0;s<(a?a.length:0);s++)if(Cg.contain(a[s]))continue e;return!0}}return!1},transformTo:function(e,t,n,i){var o=this.getBoundingRect(),r=o.width/o.height;n?i||(i=n/r):n=r*i;for(var a=new Vt(e,t,n,i),s=o.calculateTransform(a),c=this.geometries,l=0;l<c.length;l++)if("polygon"===c[l].type){for(var d=c[l].exterior,u=c[l].interiors,f=0;f<d.length;f++)F.applyTransform(d[f],d[f],s);for(var h=0;h<(u?u.length:0);h++)for(f=0;f<u[h].length;f++)F.applyTransform(u[h][f],u[h][f],s)}(o=this._rect).copy(a),this.center=[o.x+o.width/2,o.y+o.height/2]},cloneShallow:function(e){null==e&&(e=this.name);var t=new jg(e,this.geometries,this.center);return t._rect=this._rect,t.transformTo=null,t}};var Ag=jg;function Eg(e,t,n){for(var i=[],o=t[0],r=t[1],a=0;a<e.length;a+=2){var s=e.charCodeAt(a)-64,c=e.charCodeAt(a+1)-64;s=s>>1^-(1&s),c=c>>1^-(1&c),o=s+=o,r=c+=r,i.push([s/n,c/n])}return i}var Ig=function(e){return function(e){if(!e.UTF8Encoding)return e;var t=e.UTF8Scale;null==t&&(t=1024);for(var n=e.features,i=0;i<n.length;i++)for(var o=n[i].geometry,r=o.coordinates,a=o.encodeOffsets,s=0;s<r.length;s++){var c=r[s];if("Polygon"===o.type)r[s]=Eg(c,a[s],t);else if("MultiPolygon"===o.type)for(var l=0;l<c.length;l++){var d=c[l];c[l]=Eg(d,a[s][l],t)}}e.UTF8Encoding=!1}(e),D.map(D.filter(e.features,function(e){return e.geometry&&e.properties&&e.geometry.coordinates.length>0}),function(e){var t=e.properties,n=e.geometry,i=n.coordinates,o=[];"Polygon"===n.type&&o.push({type:"polygon",exterior:i[0],interiors:i.slice(1)}),"MultiPolygon"===n.type&&D.each(i,function(e){e[0]&&o.push({type:"polygon",exterior:e[0],interiors:e.slice(1)})});var r=new Ag(t.name,o,t.cp);return r.properties=t,r})},Mg=ro.makeInner,Og=sg.makeLabelFormatter,Dg=Mg();function Vg(e,t){var n,i=Lg(e,"labels"),o=Bg(t),r=Pg(i,o);return r||Ng(i,o,{labels:D.isFunction(o)?Fg(e,o):Rg(e,n="auto"===o?function(e){var t=Dg(e).autoInterval;return null!=t?t:Dg(e).autoInterval=e.calculateCategoryInterval()}(e):o),labelCategoryInterval:n})}function Lg(e,t){return Dg(e)[t]||(Dg(e)[t]=[])}function Pg(e,t){for(var n=0;n<e.length;n++)if(e[n].key===t)return e[n].value}function Ng(e,t,n){return e.push({key:t,value:n}),n}function Rg(e,t,n){var i=Og(e),o=e.scale,r=o.getExtent(),a=e.getLabelModel(),s=[],c=Math.max((t||0)+1,1),l=r[0],d=o.count();0!==l&&c>1&&d/c>2&&(l=Math.round(Math.ceil(l/c)*c));var u=a.get("showMinLabel"),f=a.get("showMaxLabel");u&&l!==r[0]&&p(r[0]);for(var h=l;h<=r[1];h+=c)p(h);function p(e){s.push(n?e:{formattedLabel:i(e),rawLabel:o.getLabel(e),tickValue:e})}return f&&h!==r[1]&&p(r[1]),s}function Fg(e,t,n){var i=e.scale,o=Og(e),r=[];return D.each(i.getTicks(),function(e){var a=i.getLabel(e);t(e,a)&&r.push(n?e:{formattedLabel:o(e),rawLabel:a,tickValue:e})}),r}function Bg(e){var t=e.get("interval");return null==t?"auto":t}var zg={createAxisLabels:function(e){return"category"===e.type?function(e){var t=e.getLabelModel(),n=Vg(e,t);return!t.get("show")||e.scale.isBlank()?{labels:[],labelCategoryInterval:n.labelCategoryInterval}:n}(e):function(e){var t=e.scale.getTicks(),n=Og(e);return{labels:D.map(t,function(t,i){return{formattedLabel:n(t,i),rawLabel:e.scale.getLabel(t),tickValue:t}})}}(e)},createAxisTicks:function(e,t){return"category"===e.type?function(e,t){var n,i,o=Lg(e,"ticks"),r=Bg(t),a=Pg(o,r);if(a)return a;if(t.get("show")&&!e.scale.isBlank()||(n=[]),D.isFunction(r))n=Fg(e,r,!0);else if("auto"===r){var s=Vg(e,e.getLabelModel());i=s.labelCategoryInterval,n=D.map(s.labels,function(e){return e.tickValue})}else n=Rg(e,i=r,!0);return Ng(o,r,{ticks:n,tickCategoryInterval:i})}(e,t):{ticks:e.scale.getTicks()}},calculateCategoryInterval:function(e){var t=function(e){var t=e.getLabelModel();return{axisRotate:e.getRotate?e.getRotate():e.isHorizontal&&!e.isHorizontal()?90:0,labelRotate:t.get("rotate")||0,font:t.getFont()}}(e),n=Og(e),i=(t.axisRotate-t.labelRotate)/180*Math.PI,o=e.scale,r=o.getExtent(),a=o.count();if(r[1]-r[0]<1)return 0;var s=1;a>40&&(s=Math.max(1,Math.floor(a/40)));for(var c=r[0],l=e.dataToCoord(c+1)-e.dataToCoord(c),d=Math.abs(l*Math.cos(i)),u=Math.abs(l*Math.sin(i)),f=0,h=0;c<=r[1];c+=s){var p,g,m=Bn.getBoundingRect(n(c),t.font,"center","top");p=1.3*m.width,g=1.3*m.height,f=Math.max(f,p,7),h=Math.max(h,g,7)}var b=f/d,v=h/u;isNaN(b)&&(b=1/0),isNaN(v)&&(v=1/0);var y=Math.max(0,Math.floor(Math.min(b,v))),_=Dg(e.model),w=_.lastAutoInterval,x=_.lastTickCount;return null!=w&&null!=x&&Math.abs(w-y)<=1&&Math.abs(x-a)<=1&&w>y?y=w:(_.lastTickCount=a,_.lastAutoInterval=y),y}},Hg=D.each,$g=D.map,qg=tc.linearMap,Wg=tc.getPixelPrecision,Gg=zg.createAxisTicks,Ug=zg.createAxisLabels,Kg=zg.calculateCategoryInterval,Yg=[0,1],Zg=function(e,t,n){this.dim=e,this.scale=t,this._extent=n||[0,0],this.inverse=!1,this.onBand=!1};function Xg(e,t){var n=(e[1]-e[0])/t/2;e[0]+=n,e[1]-=n}Zg.prototype={constructor:Zg,contain:function(e){var t=this._extent,n=Math.min(t[0],t[1]),i=Math.max(t[0],t[1]);return e>=n&&e<=i},containData:function(e){return this.contain(this.dataToCoord(e))},getExtent:function(){return this._extent.slice()},getPixelPrecision:function(e){return Wg(e||this.scale.getExtent(),this._extent)},setExtent:function(e,t){var n=this._extent;n[0]=e,n[1]=t},dataToCoord:function(e,t){var n=this._extent,i=this.scale;return e=i.normalize(e),this.onBand&&"ordinal"===i.type&&Xg(n=n.slice(),i.count()),qg(e,Yg,n,t)},coordToData:function(e,t){var n=this._extent,i=this.scale;this.onBand&&"ordinal"===i.type&&Xg(n=n.slice(),i.count());var o=qg(e,n,Yg,t);return this.scale.scale(o)},pointToData:function(e,t){},getTicksCoords:function(e){var t=(e=e||{}).tickModel||this.getTickModel(),n=Gg(this,t),i=n.ticks,o=$g(i,function(e){return{coord:this.dataToCoord(e),tickValue:e}},this),r=t.get("alignWithLabel");return function(e,t,n,i,o){var r=t.length;if(!e.onBand||i||!r)return;var a,s=e.getExtent();if(1===r)t[0].coord=s[0],a=t[1]={coord:s[0]};else{var c=t[1].coord-t[0].coord;Hg(t,function(e){e.coord-=c/2;var t=t||0;t%2>0&&(e.coord-=c/(2*(t+1)))}),a={coord:t[r-1].coord+c},t.push(a)}var l=s[0]>s[1];d(t[0].coord,s[0])&&(o?t[0].coord=s[0]:t.shift());o&&d(s[0],t[0].coord)&&t.unshift({coord:s[0]});d(s[1],a.coord)&&(o?a.coord=s[1]:t.pop());o&&d(a.coord,s[1])&&t.push({coord:s[1]});function d(e,t){return l?e>t:e<t}}(this,o,n.tickCategoryInterval,r,e.clamp),o},getViewLabels:function(){return Ug(this).labels},getLabelModel:function(){return this.model.getModel("axisLabel")},getTickModel:function(){return this.model.getModel("axisTick")},getBandWidth:function(){var e=this._extent,t=this.scale.getExtent(),n=t[1]-t[0]+(this.onBand?1:0);0===n&&(n=1);var i=Math.abs(e[1]-e[0]);return Math.abs(i)/n},isHorizontal:null,getRotate:null,calculateCategoryInterval:function(){return Kg(this)}};var Qg=Zg,Jg=Zi,em=de,tm=F,nm=Ue,im=tc,om=cc,rm=Fu.throttle,am=Sg,sm=Ig,cm=Lh,lm=Ks,dm=Qg,um=c,fm=Ig,hm={};D.each(["map","each","filter","indexOf","inherits","reduce","filter","bind","curry","isArray","isString","isObject","isFunction","extend","defaults","clone","merge"],function(e){hm[e]=D[e]});var pm={};D.each(["extendShape","extendPath","makePath","makeImage","mergePath","resizePath","createIcon","setHoverStyle","setLabelStyle","setTextStyle","setText","getFont","updateProps","initProps","getTransform","clipPointsByRect","clipRectByRect","Group","Image","Text","Circle","Sector","Ring","Polygon","Polyline","Rect","Line","BezierCurve","Arc","IncrementalDisplayable","CompoundPath","LinearGradient","RadialGradient","BoundingRect"],function(e){pm[e]=Ls[e]});var gm={zrender:Jg,matrix:em,vector:tm,color:nm,number:im,format:om,throttle:rm,helper:am,parseGeoJSON:sm,List:cm,Model:lm,Axis:dm,env:um,parseGeoJson:fm,util:hm,graphic:pm},mm=r(function(e,t){var n=Fu.throttle,i=D.assert,o=D.each,r=D.isFunction,a=D.isObject,s=kc.parseClassType,l=1e3,d=1e3,u=3e3,f={PROCESSOR:{FILTER:l,STATISTIC:5e3},VISUAL:{LAYOUT:d,GLOBAL:2e3,CHART:u,COMPONENT:4e3,BRUSH:5e3}},h="__flagInMainProcess",p="__optionUpdated",g=/^[a-zA-Z0-9_]+$/;function m(e){return function(t,n,i){t=t&&t.toLowerCase(),G.prototype[e].call(this,t,n,i)}}function b(){G.call(this)}function v(e,t,i){i=i||{},"string"==typeof t&&(t=$[t]),this.id,this.group,this._dom=e;var o=this._zr=Zi.init(e,{renderer:i.renderer||"canvas",devicePixelRatio:i.devicePixelRatio,width:i.width,height:i.height});this._throttledZrFlush=n(D.bind(o.flush,o),17),(t=D.clone(t))&&pd(t,!0),this._theme=t,this._chartsViews=[],this._chartsMap={},this._componentsViews=[],this._componentsMap={},this._coordSysMgr=new zl;var r,a,s=this._api=(a=(r=this)._coordSysMgr,D.extend(new Rl(r),{getCoordinateSystems:D.bind(a.getCoordinateSystems,a),getComponentByElement:function(e){for(;e;){var t=e.__ecComponentInfo;if(null!=t)return r._model.getComponent(t.mainType,t.index);e=e.parent}}}));function c(e,t){return e.__prio-t.__prio}qt(H,c),qt(F,c),this._scheduler=new yf(this,s,F,H),G.call(this,this._ecEventProcessor=new P),this._messageCenter=new b,this._initEvents(),this.resize=D.bind(this.resize,this),this._pendingActions=[],o.animation.on("frame",this._onframe,this),function(e,t){e.on("rendered",function(){t.trigger("rendered"),!e.animation.isFinished()||t[p]||t._scheduler.unfinished||t._pendingActions.length||t.trigger("finished")})}(o,this),D.setAsPrimitive(this)}b.prototype.on=m("on"),b.prototype.off=m("off"),b.prototype.one=m("one"),D.mixin(b,G);var y=v.prototype;function _(e,t,n){var i,o=this._model,r=this._coordSysMgr.getCoordinateSystems();t=ro.parseFinder(o,t);for(var a=0;a<r.length;a++){var s=r[a];if(s[e]&&null!=(i=s[e](o,t,n)))return i}}y._onframe=function(){if(!this._disposed){var e=this._scheduler;if(this[p]){var t=this[p].silent;this[h]=!0,x(this),w.update.call(this),this[h]=!1,this[p]=!1,C.call(this,t),j.call(this,t)}else if(e.unfinished){var n=1,i=this._model,o=this._api;e.unfinished=!1;do{var r=+new Date;e.performSeriesTasks(i),e.performDataProcessorTasks(i),T(this,i),e.performVisualTasks(i),M(this,this._model,o,"remain"),n-=+new Date-r}while(n>0&&e.unfinished);e.unfinished||this._zr.flush()}}},y.getDom=function(){return this._dom},y.getZr=function(){return this._zr},y.setOption=function(e,t,n){var i;if(a(t)&&(n=t.lazyUpdate,i=t.silent,t=t.notMerge),this[h]=!0,!this._model||t){var o=new Yl(this._api),r=this._theme,s=this._model=new Pl(null,null,r,o);s.scheduler=this._scheduler,s.init(null,null,r,o)}this._model.setOption(e,B),n?(this[p]={silent:i},this[h]=!1):(x(this),w.update.call(this),this._zr.flush(),this[p]=!1,this[h]=!1,C.call(this,i),j.call(this,i))},y.setTheme=function(){console.error("ECharts#setTheme() is DEPRECATED in ECharts 3.0")},y.getModel=function(){return this._model},y.getOption=function(){return this._model&&this._model.getOption()},y.getWidth=function(){return this._zr.getWidth()},y.getHeight=function(){return this._zr.getHeight()},y.getDevicePixelRatio=function(){return this._zr.painter.dpr||window.devicePixelRatio||1},y.getRenderedCanvas=function(e){if(c.canvasSupported)return(e=e||{}).pixelRatio=e.pixelRatio||1,e.backgroundColor=e.backgroundColor||this._model.get("backgroundColor"),this._zr.painter.getRenderedCanvas(e)},y.getSvgDataUrl=function(){if(c.svgSupported){var e=this._zr,t=e.storage.getDisplayList();return D.each(t,function(e){e.stopAnimation(!0)}),e.painter.pathToDataUrl()}},y.getDataURL=function(e){var t=(e=e||{}).excludeComponents,n=this._model,i=[],r=this;o(t,function(e){n.eachComponent({mainType:e},function(e){var t=r._componentsMap[e.__viewId];t.group.ignore||(i.push(t),t.group.ignore=!0)})});var a="svg"===this._zr.painter.getType()?this.getSvgDataUrl():this.getRenderedCanvas(e).toDataURL("image/"+(e&&e.type||"png"));return o(i,function(e){e.group.ignore=!1}),a},y.getConnectedDataURL=function(e){if(c.canvasSupported){var t=this.group,n=Math.min,i=Math.max;if(U[t]){var r=1/0,a=1/0,s=-1/0,l=-1/0,d=[],u=e&&e.pixelRatio||1;D.each(W,function(o,c){if(o.group===t){var u=o.getRenderedCanvas(D.clone(e)),f=o.getDom().getBoundingClientRect();r=n(f.left,r),a=n(f.top,a),s=i(f.right,s),l=i(f.bottom,l),d.push({dom:u,left:f.left,top:f.top})}});var f=(s*=u)-(r*=u),h=(l*=u)-(a*=u),p=D.createCanvas();p.width=f,p.height=h;var g=Zi.init(p);return o(d,function(e){var t=new Ls.Image({style:{x:e.left*u-r,y:e.top*u-a,image:e.dom}});g.add(t)}),g.refreshImmediately(),p.toDataURL("image/"+(e&&e.type||"png"))}return this.getDataURL(e)}},y.convertToPixel=D.curry(_,"convertToPixel"),y.convertFromPixel=D.curry(_,"convertFromPixel"),y.containPixel=function(e,t){var n,i=this._model;return e=ro.parseFinder(i,e),D.each(e,function(e,i){i.indexOf("Models")>=0&&D.each(e,function(e){var o=e.coordinateSystem;if(o&&o.containPoint)n|=!!o.containPoint(t);else if("seriesModels"===i){var r=this._chartsMap[e.__viewId];r&&r.containPoint&&(n|=r.containPoint(t,e))}},this)},this),!!n},y.getVisual=function(e,t){var n=this._model,i=(e=ro.parseFinder(n,e,{defaultMainType:"series"})).seriesModel.getData(),o=e.hasOwnProperty("dataIndexInside")?e.dataIndexInside:e.hasOwnProperty("dataIndex")?i.indexOfRawIndex(e.dataIndex):null;return null!=o?i.getItemVisual(o,t):i.getVisual(t)},y.getViewOfComponentModel=function(e){return this._componentsMap[e.__viewId]},y.getViewOfSeriesModel=function(e){return this._chartsMap[e.__viewId]};var w={prepareAndUpdate:function(e){x(this),w.update.call(this,e)},update:function(e){var t=this._model,n=this._api,i=this._zr,o=this._coordSysMgr,r=this._scheduler;if(t){r.restoreData(t,e),r.performSeriesTasks(t),o.create(t,n),r.performDataProcessorTasks(t,e),T(this,t),o.update(t,n),E(t),r.performVisualTasks(t,e),I(this,t,n,e);var a=t.get("backgroundColor")||"transparent";if(c.canvasSupported)i.setBackgroundColor(a);else{var s=Ue.parse(a);a=Ue.stringify(s,"rgb"),0===s[3]&&(a="transparent")}O(t,n)}},updateTransform:function(e){var t=this._model,n=this,i=this._api;if(t){var o=[];t.eachComponent(function(r,a){var s=n.getViewOfComponentModel(a);if(s&&s.__alive)if(s.updateTransform){var c=s.updateTransform(a,t,i,e);c&&c.update&&o.push(s)}else o.push(s)});var r=D.createHashMap();t.eachSeries(function(o){var a=n._chartsMap[o.__viewId];if(a.updateTransform){var s=a.updateTransform(o,t,i,e);s&&s.update&&r.set(o.uid,1)}else r.set(o.uid,1)}),E(t),this._scheduler.performVisualTasks(t,e,{setDirty:!0,dirtyMap:r}),M(n,t,i,e,r),O(t,this._api)}},updateView:function(e){var t=this._model;t&&(Vu.markUpdateMethod(e,"updateView"),E(t),this._scheduler.performVisualTasks(t,e,{setDirty:!0}),I(this,this._model,this._api,e),O(t,this._api))},updateVisual:function(e){w.update.call(this,e)},updateLayout:function(e){w.update.call(this,e)}};function x(e){var t=e._model,n=e._scheduler;n.restorePipelines(t),n.prepareStageTasks(),A(e,"component",t,n),A(e,"chart",t,n),n.plan()}function S(e,t,n,i,r){var a=e._model;if(i){var s={};s[i+"Id"]=n[i+"Id"],s[i+"Index"]=n[i+"Index"],s[i+"Name"]=n[i+"Name"];var c={mainType:i,query:s};r&&(c.subType=r);var l=n.excludeSeriesId;null!=l&&(l=D.createHashMap(ro.normalizeToArray(l))),a&&a.eachComponent(c,function(t){l&&null!=l.get(t.id)||d(e["series"===i?"_chartsMap":"_componentsMap"][t.__viewId])},e)}else o(e._componentsViews.concat(e._chartsViews),d);function d(i){i&&i.__alive&&i[t]&&i[t](i.__model,a,e._api,n)}}function T(e,t){var n=e._chartsMap,i=e._scheduler;t.eachSeries(function(e){i.updateStreamModes(e,n[e.__viewId])})}function k(e,t){var n=e.type,i=e.escapeConnect,r=N[n],a=r.actionInfo,c=(a.update||"update").split(":"),l=c.pop();c=null!=c[0]&&s(c[0]),this[h]=!0;var d=[e],u=!1;e.batch&&(u=!0,d=D.map(e.batch,function(t){return(t=D.defaults(D.extend({},t),e)).batch=null,t}));var f,g=[],m="highlight"===n||"downplay"===n;o(d,function(e){(f=(f=r.action(e,this._model,this._api))||D.extend({},e)).type=a.event||f.type,g.push(f),m?S(this,l,e,"series"):c&&S(this,l,e,c.main,c.sub)},this),"none"===l||m||c||(this[p]?(x(this),w.update.call(this,e),this[p]=!1):w[l].call(this,e)),f=u?{type:a.event||n,escapeConnect:i,batch:g}:g[0],this[h]=!1,!t&&this._messageCenter.trigger(f.type,f)}function C(e){for(var t=this._pendingActions;t.length;){var n=t.shift();k.call(this,n,e)}}function j(e){!e&&this.trigger("updated")}function A(e,t,n,i){for(var o="component"===t,r=o?e._componentsViews:e._chartsViews,a=o?e._componentsMap:e._chartsMap,c=e._zr,l=e._api,d=0;d<r.length;d++)r[d].__alive=!1;function u(e){var t="_ec_"+e.id+"_"+e.type,d=a[t];if(!d){var u=s(e.type);(d=new(o?_u.getClass(u.main,u.sub):Vu.getClass(u.sub))).init(n,l),a[t]=d,r.push(d),c.add(d.group)}e.__viewId=d.__id=t,d.__alive=!0,d.__model=e,d.group.__ecComponentInfo={mainType:e.mainType,index:e.componentIndex},!o&&i.prepareView(d,e,n,l)}o?n.eachComponent(function(e,t){"series"!==e&&u(t)}):n.eachSeries(u);for(d=0;d<r.length;){var f=r[d];f.__alive?d++:(!o&&f.renderTask.dispose(),c.remove(f.group),f.dispose(n,l),r.splice(d,1),delete a[f.__id],f.__id=f.group.__ecComponentInfo=null)}}function E(e){e.clearColorPalette(),e.eachSeries(function(e){e.clearColorPalette()})}function I(e,t,n,i){!function(e,t,n,i,r){o(r||e._componentsViews,function(e){var o=e.__model;e.render(o,t,n,i),L(o,e)})}(e,t,n,i),o(e._chartsViews,function(e){e.__alive=!1}),M(e,t,n,i),o(e._chartsViews,function(e){e.__alive||e.remove(t,n)})}function M(e,t,n,i,o){var r,a=e._scheduler;t.eachSeries(function(t){var n=e._chartsMap[t.__viewId];n.__alive=!0;var s=n.renderTask;a.updatePayload(s,i),o&&o.get(t.uid)&&s.dirty(),r|=s.perform(a.getPerformArgs(s)),n.group.silent=!!t.get("silent"),L(t,n),function(e,t){var n=e.get("blendMode")||null;t.group.traverse(function(e){e.isGroup||e.style.blend!==n&&e.setStyle("blend",n),e.eachPendingDisplayable&&e.eachPendingDisplayable(function(e){e.setStyle("blend",n)})})}(t,n)}),a.unfinished|=r,function(e,t){var n=e.storage,i=0;n.traverse(function(e){e.isGroup||i++}),i>t.get("hoverLayerThreshold")&&!c.node&&n.traverse(function(e){e.isGroup||(e.useHoverLayer=!0)})}(e._zr,t),$u(e._zr.dom,t)}function O(e,t){o(z,function(n){n(e,t)})}y.resize=function(e){this._zr.resize(e);var t=this._model;if(this._loadingFX&&this._loadingFX.resize(),t){var n=t.resetOption("media"),i=e&&e.silent;this[h]=!0,n&&x(this),w.update.call(this),this[h]=!1,C.call(this,i),j.call(this,i)}},y.showLoading=function(e,t){if(a(e)&&(t=e,e=""),e=e||"default",this.hideLoading(),q[e]){var n=q[e](this._api,t),i=this._zr;this._loadingFX=n,i.add(n)}},y.hideLoading=function(){this._loadingFX&&this._zr.remove(this._loadingFX),this._loadingFX=null},y.makeActionFromEvent=function(e){var t=D.extend({},e);return t.type=R[e.type],t},y.dispatchAction=function(e,t){a(t)||(t={silent:!!t}),N[e.type]&&this._model&&(this[h]?this._pendingActions.push(e):(k.call(this,e,t.silent),t.flush?this._zr.flush(!0):!1!==t.flush&&c.browser.weChat&&this._throttledZrFlush(),C.call(this,t.silent),j.call(this,t.silent)))},y.appendData=function(e){var t=e.seriesIndex;this.getModel().getSeriesByIndex(t).appendData(e),this._scheduler.unfinished=!0},y.on=m("on"),y.off=m("off"),y.one=m("one");var V=["click","dblclick","mouseover","mouseout","mousemove","mousedown","mouseup","globalout","contextmenu"];function L(e,t){var n=e.get("z"),i=e.get("zlevel");t.group.traverse(function(e){"group"!==e.type&&(null!=n&&(e.z=n),null!=i&&(e.zlevel=i))})}function P(){this.eventInfo}y._initEvents=function(){o(V,function(e){this._zr.on(e,function(t){var n,i=this.getModel(),o=t.target;if("globalout"===e)n={};else if(o&&null!=o.dataIndex){var r=o.dataModel||i.getSeriesByIndex(o.seriesIndex);n=r&&r.getDataParams(o.dataIndex,o.dataType,o)||{}}else o&&o.eventData&&(n=D.extend({},o.eventData));if(n){var a=n.componentType,s=n.componentIndex;"markLine"!==a&&"markPoint"!==a&&"markArea"!==a||(a="series",s=n.seriesIndex);var c=a&&null!=s&&i.getComponent(a,s),l=c&&this["series"===c.mainType?"_chartsMap":"_componentsMap"][c.__viewId];n.event=t,n.type=e,this._ecEventProcessor.eventInfo={targetEl:o,packedEvent:n,model:c,view:l},this.trigger(e,n)}},this)},this),o(R,function(e,t){this._messageCenter.on(t,function(e){this.trigger(t,e)},this)},this)},y.isDisposed=function(){return this._disposed},y.clear=function(){this.setOption({series:[]},!0)},y.dispose=function(){if(!this._disposed){this._disposed=!0,ro.setAttribute(this.getDom(),Z,"");var e=this._api,t=this._model;o(this._componentsViews,function(n){n.dispose(t,e)}),o(this._chartsViews,function(n){n.dispose(t,e)}),this._zr.dispose(),delete W[this.id]}},D.mixin(v,G),P.prototype={constructor:P,normalizeQuery:function(e){var t={},n={},i={};if(D.isString(e)){var o=s(e);t.mainType=o.main||null,t.subType=o.sub||null}else{var r=["Index","Name","Id"],a={name:1,dataIndex:1,dataType:1};D.each(e,function(e,o){for(var s=!1,c=0;c<r.length;c++){var l=r[c],d=o.lastIndexOf(l);if(d>0&&d===o.length-l.length){var u=o.slice(0,d);"data"!==u&&(t.mainType=u,t[l.toLowerCase()]=e,s=!0)}}a.hasOwnProperty(o)&&(n[o]=e,s=!0),s||(i[o]=e)})}return{cptQuery:t,dataQuery:n,otherQuery:i}},filter:function(e,t,n){var i=this.eventInfo;if(!i)return!0;var o=i.targetEl,r=i.packedEvent,a=i.model,s=i.view;if(!a||!s)return!0;var c=t.cptQuery,l=t.dataQuery;return d(c,a,"mainType")&&d(c,a,"subType")&&d(c,a,"index","componentIndex")&&d(c,a,"name")&&d(c,a,"id")&&d(l,r,"name")&&d(l,r,"dataIndex")&&d(l,r,"dataType")&&(!s.filterForExposedEvent||s.filterForExposedEvent(e,t.otherQuery,o,r));function d(e,t,n,i){return null==e[n]||t[i||n]===e[n]}},afterTrigger:function(){this.eventInfo=null}};var N={},R={},F=[],B=[],z=[],H=[],$={},q={},W={},U={},K=new Date-0,Y=new Date-0,Z="_echarts_instance_";function X(e){U[e]=!1}var Q=X;function J(e){return W[ro.getAttribute(e,Z)]}function ee(e,t){$[e]=t}function te(e){B.push(e)}function ne(e,t){re(F,e,t,l)}function ie(e,t,n){"function"==typeof t&&(n=t,t="");var o=a(e)?e.type:[e,e={event:t}][0];e.event=(e.event||o).toLowerCase(),t=e.event,i(g.test(o)&&g.test(t)),N[o]||(N[o]={action:n,actionInfo:e}),R[t]=o}function oe(e,t){re(H,e,t,u,"visual")}function re(e,t,n,i,o){(r(t)||a(t))&&(n=t,t=i);var s=yf.wrapStageHandler(n,o);return s.__prio=t,s.__raw=n,e.push(s),s}function ae(e,t){q[e]=t}oe(2e3,Bu),te(pd),ne(5e3,vd),ae("default",Wu),ie({type:"highlight",event:"highlight",update:"highlight"},D.noop),ie({type:"downplay",event:"downplay",update:"downplay"},D.noop),ee("light",wf),ee("dark",Tf);t.version="4.2.0",t.dependencies={zrender:"4.0.5"},t.PRIORITY=f,t.init=function(e,t,n){var i=J(e);if(i)return i;var r=new v(e,t,n);return r.id="ec_"+K++,W[r.id]=r,ro.setAttribute(e,Z,r.id),function(e){var t="__connectUpdateStatus";function n(e,n){for(var i=0;i<e.length;i++)e[i][t]=n}o(R,function(i,r){e._messageCenter.on(r,function(i){if(U[e.group]&&0!==e[t]){if(i&&i.escapeConnect)return;var r=e.makeActionFromEvent(i),a=[];o(W,function(t){t!==e&&t.group===e.group&&a.push(t)}),n(a,0),o(a,function(e){1!==e[t]&&e.dispatchAction(r)}),n(a,2)}})})}(r),r},t.connect=function(e){if(D.isArray(e)){var t=e;e=null,o(t,function(t){null!=t.group&&(e=t.group)}),e=e||"g_"+Y++,o(t,function(t){t.group=e})}return U[e]=!0,e},t.disConnect=X,t.disconnect=Q,t.dispose=function(e){"string"==typeof e?e=W[e]:e instanceof v||(e=J(e)),e instanceof v&&!e.isDisposed()&&e.dispose()},t.getInstanceByDom=J,t.getInstanceById=function(e){return W[e]},t.registerTheme=ee,t.registerPreprocessor=te,t.registerProcessor=ne,t.registerPostUpdate=function(e){z.push(e)},t.registerAction=ie,t.registerCoordinateSystem=function(e,t){zl.register(e,t)},t.getCoordinateSystemDimensions=function(e){var t=zl.get(e);if(t)return t.getDimensionsInfo?t.getDimensionsInfo():t.dimensions.slice()},t.registerLayout=function(e,t){re(H,e,t,d,"layout")},t.registerVisual=oe,t.registerLoading=ae,t.extendComponentModel=function(e){return kc.extend(e)},t.extendComponentView=function(e){return _u.extend(e)},t.extendSeriesModel=function(e){return bu.extend(e)},t.extendChartView=function(e){return Vu.extend(e)},t.setCanvasCreator=function(e){D.$override("createCanvas",e)},t.registerMap=function(e,t,n){ih.registerMap(e,t,n)},t.getMap=function(e){var t=ih.retrieveMap(e);return t&&t[0]&&{geoJson:t[0].geoJSON,specialAreas:t[0].specialAreas}},t.dataTool={},function(){for(var e in gm)gm.hasOwnProperty(e)&&(t[e]=gm[e])}()}),bm=(mm.version,mm.dependencies,mm.PRIORITY,mm.init,mm.connect,mm.disConnect,mm.disconnect,mm.dispose,mm.getInstanceByDom,mm.getInstanceById,mm.registerTheme,mm.registerPreprocessor,mm.registerProcessor,mm.registerPostUpdate,mm.registerAction,mm.registerCoordinateSystem,mm.getCoordinateSystemDimensions,mm.registerLayout,mm.registerVisual,mm.registerLoading,mm.extendComponentModel,mm.extendComponentView,mm.extendSeriesModel,mm.extendChartView,mm.setCanvasCreator,mm.registerMap,mm.getMap,mm.dataTool,bu.extend({type:"series.line",dependencies:["grid","polar"],getInitialData:function(e,t){return op(this.getSource(),this)},defaultOption:{zlevel:0,z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,hoverAnimation:!0,clipOverflow:!0,label:{position:"top"},lineStyle:{width:2,type:"solid"},step:!1,smooth:!1,smoothMonotone:null,symbol:"emptyCircle",symbolSize:4,symbolRotate:null,showSymbol:!0,showAllSymbol:"auto",connectNulls:!1,sampling:"none",animationEasing:"linear",progressive:0,hoverLayerThreshold:1/0}}),Fd.retrieveRawValue);var vm={getDefaultLabel:function(e,t){var n=e.mapDimension("defaultedLabel",!0),i=n.length;if(1===i)return bm(e,t,n[0]);if(i){for(var o=[],r=0;r<n.length;r++){var a=bm(e,t,n[r]);o.push(a)}return o.join(" ")}}},ym=vg.createSymbol,_m=tc.parsePercent,wm=vm.getDefaultLabel;function xm(e,t,n){Ls.Group.call(this),this.updateData(e,t,n)}var Sm=xm.prototype,Tm=xm.getSymbolSize=function(e,t){var n=e.getItemVisual(t,"symbolSize");return n instanceof Array?n.slice():[+n,+n]};function km(e){return[e[0]/2,e[1]/2]}function Cm(e,t){this.parent.drift(e,t)}Sm._createSymbol=function(e,t,n,i,o){this.removeAll();var r=t.getItemVisual(n,"color"),a=ym(e,-1,-1,2,2,r,o);a.attr({z2:100,culling:!0,scale:km(i)}),a.drift=Cm,this._symbolType=e,this.add(a)},Sm.stopSymbolAnimation=function(e){this.childAt(0).stopAnimation(e)},Sm.getSymbolPath=function(){return this.childAt(0)},Sm.getScale=function(){return this.childAt(0).scale},Sm.highlight=function(){this.childAt(0).trigger("emphasis")},Sm.downplay=function(){this.childAt(0).trigger("normal")},Sm.setZ=function(e,t){var n=this.childAt(0);n.zlevel=e,n.z=t},Sm.setDraggable=function(e){var t=this.childAt(0);t.draggable=e,t.cursor=e?"move":"pointer"},Sm.updateData=function(e,t,n){this.silent=!1;var i=e.getItemVisual(t,"symbol")||"circle",o=e.hostModel,r=Tm(e,t),a=i!==this._symbolType;if(a){var s=e.getItemVisual(t,"symbolKeepAspect");this._createSymbol(i,e,t,r,s)}else{(c=this.childAt(0)).silent=!1,Ls.updateProps(c,{scale:km(r)},o,t)}if(this._updateCommon(e,t,r,n),a){var c=this.childAt(0),l=n&&n.fadeIn,d={scale:c.scale.slice()};l&&(d.style={opacity:c.style.opacity}),c.scale=[0,0],l&&(c.style.opacity=0),Ls.initProps(c,d,o,t)}this._seriesModel=o};var jm=["itemStyle"],Am=["emphasis","itemStyle"],Em=["label"],Im=["emphasis","label"];function Mm(){!Ls.isInEmphasis(this)&&Dm.call(this)}function Om(){!Ls.isInEmphasis(this)&&Vm.call(this)}function Dm(){if(!this.incremental&&!this.useHoverLayer){var e=this.__symbolOriginalScale,t=e[1]/e[0];this.animateTo({scale:[Math.max(1.1*e[0],e[0]+3),Math.max(1.1*e[1],e[1]+3*t)]},400,"elasticOut")}}function Vm(){this.incremental||this.useHoverLayer||this.animateTo({scale:this.__symbolOriginalScale},400,"elasticOut")}Sm._updateCommon=function(e,t,n,i){var o=this.childAt(0),r=e.hostModel,a=e.getItemVisual(t,"color");"image"!==o.type&&o.useStyle({strokeNoScale:!0});var s=i&&i.itemStyle,c=i&&i.hoverItemStyle,l=i&&i.symbolRotate,d=i&&i.symbolOffset,u=i&&i.labelModel,f=i&&i.hoverLabelModel,h=i&&i.hoverAnimation,p=i&&i.cursorStyle;if(!i||e.hasItemOption){var g=i&&i.itemModel?i.itemModel:e.getItemModel(t);s=g.getModel(jm).getItemStyle(["color"]),c=g.getModel(Am).getItemStyle(),l=g.getShallow("symbolRotate"),d=g.getShallow("symbolOffset"),u=g.getModel(Em),f=g.getModel(Im),h=g.getShallow("hoverAnimation"),p=g.getShallow("cursor")}else c=D.extend({},c);var m=o.style;o.attr("rotation",(l||0)*Math.PI/180||0),d&&o.attr("position",[_m(d[0],n[0]),_m(d[1],n[1])]),p&&o.attr("cursor",p),o.setColor(a,i&&i.symbolInnerColor),o.setStyle(s);var b=e.getItemVisual(t,"opacity");null!=b&&(m.opacity=b);var v=e.getItemVisual(t,"liftZ"),y=o.__z2Origin;null!=v?null==y&&(o.__z2Origin=o.z2,o.z2+=v):null!=y&&(o.z2=y,o.__z2Origin=null);var _=i&&i.useNameLabel;Ls.setLabelStyle(m,c,u,f,{labelFetcher:r,labelDataIndex:t,defaultText:function(t,n){return _?e.getName(t):wm(e,t)},isRectText:!0,autoColor:a}),o.off("mouseover").off("mouseout").off("emphasis").off("normal"),o.hoverStyle=c,Ls.setHoverStyle(o),o.__symbolOriginalScale=km(n),h&&r.isAnimationEnabled()&&o.on("mouseover",Mm).on("mouseout",Om).on("emphasis",Dm).on("normal",Vm)},Sm.fadeOut=function(e,t){var n=this.childAt(0);this.silent=n.silent=!0,(!t||!t.keepLabel)&&(n.style.text=null),Ls.updateProps(n,{style:{opacity:0},scale:[0,0]},this._seriesModel,this.dataIndex,e)},D.inherits(xm,Ls.Group);var Lm=xm,Pm=D.isObject;function Nm(e){this.group=new Ls.Group,this._symbolCtor=e||Lm}var Rm=Nm.prototype;function Fm(e,t,n,i){return t&&!isNaN(t[0])&&!isNaN(t[1])&&!(i.isIgnore&&i.isIgnore(n))&&!(i.clipShape&&!i.clipShape.contain(t[0],t[1]))&&"none"!==e.getItemVisual(n,"symbol")}function Bm(e){return null==e||Pm(e)||(e={isIgnore:e}),e||{}}function zm(e){var t=e.hostModel;return{itemStyle:t.getModel("itemStyle").getItemStyle(["color"]),hoverItemStyle:t.getModel("emphasis.itemStyle").getItemStyle(),symbolRotate:t.get("symbolRotate"),symbolOffset:t.get("symbolOffset"),hoverAnimation:t.get("hoverAnimation"),labelModel:t.getModel("label"),hoverLabelModel:t.getModel("emphasis.label"),cursorStyle:t.get("cursor")}}Rm.updateData=function(e,t){t=Bm(t);var n=this.group,i=e.hostModel,o=this._data,r=this._symbolCtor,a=zm(e);o||n.removeAll(),e.diff(o).add(function(i){var o=e.getItemLayout(i);if(Fm(e,o,i,t)){var s=new r(e,i,a);s.attr("position",o),e.setItemGraphicEl(i,s),n.add(s)}}).update(function(s,c){var l=o.getItemGraphicEl(c),d=e.getItemLayout(s);Fm(e,d,s,t)?(l?(l.updateData(e,s,a),Ls.updateProps(l,{position:d},i)):(l=new r(e,s)).attr("position",d),n.add(l),e.setItemGraphicEl(s,l)):n.remove(l)}).remove(function(e){var t=o.getItemGraphicEl(e);t&&t.fadeOut(function(){n.remove(t)})}).execute(),this._data=e},Rm.isPersistent=function(){return!0},Rm.updateLayout=function(){var e=this._data;e&&e.eachItemGraphicEl(function(t,n){var i=e.getItemLayout(n);t.attr("position",i)})},Rm.incrementalPrepareUpdate=function(e){this._seriesScope=zm(e),this._data=null,this.group.removeAll()},Rm.incrementalUpdate=function(e,t,n){function i(e){e.isGroup||(e.incremental=e.useHoverLayer=!0)}n=Bm(n);for(var o=e.start;o<e.end;o++){var r=t.getItemLayout(o);if(Fm(t,r,o,n)){var a=new this._symbolCtor(t,o,this._seriesScope);a.traverse(i),a.attr("position",r),this.group.add(a),t.setItemGraphicEl(o,a)}}},Rm.remove=function(e){var t=this.group,n=this._data;n&&e?n.eachItemGraphicEl(function(e){e.fadeOut(function(){t.remove(e)})}):t.removeAll()};var Hm=Nm,$m=Qh.isDimensionStacked,qm=D.map;var Wm={prepareDataCoordInfo:function(e,t,n){var i,o=e.getBaseAxis(),r=e.getOtherAxis(o),a=function(e,t){var n=0,i=e.scale.getExtent();return"start"===t?n=i[0]:"end"===t?n=i[1]:i[0]>0?n=i[0]:i[1]<0&&(n=i[1]),n}(r,n),s=o.dim,c=r.dim,l=t.mapDimension(c),d=t.mapDimension(s),u="x"===c||"radius"===c?1:0,f=qm(e.dimensions,function(e){return t.mapDimension(e)}),h=t.getCalculationInfo("stackResultDimension");return(i|=$m(t,f[0]))&&(f[0]=h),(i|=$m(t,f[1]))&&(f[1]=h),{dataDimsForPoint:f,valueStart:a,valueAxisDim:c,baseAxisDim:s,stacked:!!i,valueDim:l,baseDim:d,baseDataOffset:u,stackedOverDimension:t.getCalculationInfo("stackedOverDimension")}},getStackedOnPoint:function(e,t,n,i){var o=NaN;e.stacked&&(o=n.get(n.getCalculationInfo("stackedOverDimension"),i)),isNaN(o)&&(o=e.valueStart);var r=e.baseDataOffset,a=[];return a[r]=n.get(e.baseDim,i),a[1-r]=o,t.dataToPoint(a)}},Gm=Wm.prepareDataCoordInfo,Um=Wm.getStackedOnPoint;var Km=function(e,t,n,i,o,r,a,s){for(var c=function(e,t){var n=[];return t.diff(e).add(function(e){n.push({cmd:"+",idx:e})}).update(function(e,t){n.push({cmd:"=",idx:t,idx1:e})}).remove(function(e){n.push({cmd:"-",idx:e})}).execute(),n}(e,t),l=[],d=[],u=[],f=[],h=[],p=[],g=[],m=Gm(o,t,a),b=Gm(r,e,s),v=0;v<c.length;v++){var y=c[v],_=!0;switch(y.cmd){case"=":var w=e.getItemLayout(y.idx),x=t.getItemLayout(y.idx1);(isNaN(w[0])||isNaN(w[1]))&&(w=x.slice()),l.push(w),d.push(x),u.push(n[y.idx]),f.push(i[y.idx1]),g.push(t.getRawIndex(y.idx1));break;case"+":var S=y.idx;l.push(o.dataToPoint([t.get(m.dataDimsForPoint[0],S),t.get(m.dataDimsForPoint[1],S)])),d.push(t.getItemLayout(S).slice()),u.push(Um(m,o,t,S)),f.push(i[S]),g.push(t.getRawIndex(S));break;case"-":S=y.idx;var T=e.getRawIndex(S);T!==S?(l.push(e.getItemLayout(S)),d.push(r.dataToPoint([e.get(b.dataDimsForPoint[0],S),e.get(b.dataDimsForPoint[1],S)])),u.push(n[S]),f.push(Um(b,r,e,S)),g.push(T)):_=!1}_&&(h.push(y),p.push(p.length))}p.sort(function(e,t){return g[e]-g[t]});var k=[],C=[],j=[],A=[],E=[];for(v=0;v<p.length;v++)S=p[v],k[v]=l[S],C[v]=d[S],j[v]=u[S],A[v]=f[S],E[v]=h[S];return{current:k,next:C,stackedOnCurrent:j,stackedOnNext:A,status:E}},Ym=F.min,Zm=F.max,Xm=F.scaleAndAdd,Qm=F.copy,Jm=[],eb=[],tb=[];function nb(e){return isNaN(e[0])||isNaN(e[1])}function ib(e,t,n,i,o,r,a,s,c,l,d){return"none"!==l&&l?function(e,t,n,i,o,r,a,s,c,l,d){for(var u=0,f=n,h=0;h<i;h++){var p=t[f];if(f>=o||f<0)break;if(nb(p)){if(d){f+=r;continue}break}if(f===n)e[r>0?"moveTo":"lineTo"](p[0],p[1]);else if(c>0){var g=t[u],m="y"===l?1:0,b=(p[m]-g[m])*c;Qm(eb,g),eb[m]=g[m]+b,Qm(tb,p),tb[m]=p[m]-b,e.bezierCurveTo(eb[0],eb[1],tb[0],tb[1],p[0],p[1])}else e.lineTo(p[0],p[1]);u=f,f+=r}return h}.apply(this,arguments):function(e,t,n,i,o,r,a,s,c,l,d){for(var u=0,f=n,h=0;h<i;h++){var p=t[f];if(f>=o||f<0)break;if(nb(p)){if(d){f+=r;continue}break}if(f===n)e[r>0?"moveTo":"lineTo"](p[0],p[1]),Qm(eb,p);else if(c>0){var g=f+r,m=t[g];if(d)for(;m&&nb(t[g]);)m=t[g+=r];var b=.5,v=t[u],m=t[g];if(!m||nb(m))Qm(tb,p);else{var y,_;if(nb(m)&&!d&&(m=p),F.sub(Jm,m,v),"x"===l||"y"===l){var w="x"===l?0:1;y=Math.abs(p[w]-v[w]),_=Math.abs(p[w]-m[w])}else y=F.dist(p,v),_=F.dist(p,m);Xm(tb,p,Jm,-c*(1-(b=_/(_+y))))}Ym(eb,eb,s),Zm(eb,eb,a),Ym(tb,tb,s),Zm(tb,tb,a),e.bezierCurveTo(eb[0],eb[1],tb[0],tb[1],p[0],p[1]),Xm(eb,p,Jm,c*b)}else e.lineTo(p[0],p[1]);u=f,f+=r}return h}.apply(this,arguments)}function ob(e,t){var n=[1/0,1/0],i=[-1/0,-1/0];if(t)for(var o=0;o<e.length;o++){var r=e[o];r[0]<n[0]&&(n[0]=r[0]),r[1]<n[1]&&(n[1]=r[1]),r[0]>i[0]&&(i[0]=r[0]),r[1]>i[1]&&(i[1]=r[1])}return{min:t?n:i,max:t?i:n}}var rb={Polyline:Or.extend({type:"ec-polyline",shape:{points:[],smooth:0,smoothConstraint:!0,smoothMonotone:null,connectNulls:!1},style:{fill:null,stroke:"#000"},brush:ta(Or.prototype.brush),buildPath:function(e,t){var n=t.points,i=0,o=n.length,r=ob(n,t.smoothConstraint);if(t.connectNulls){for(;o>0&&nb(n[o-1]);o--);for(;i<o&&nb(n[i]);i++);}for(;i<o;)i+=ib(e,n,i,o,o,1,r.min,r.max,t.smooth,t.smoothMonotone,t.connectNulls)+1}}),Polygon:Or.extend({type:"ec-polygon",shape:{points:[],stackedOnPoints:[],smooth:0,stackedOnSmooth:0,smoothConstraint:!0,smoothMonotone:null,connectNulls:!1},brush:ta(Or.prototype.brush),buildPath:function(e,t){var n=t.points,i=t.stackedOnPoints,o=0,r=n.length,a=t.smoothMonotone,s=ob(n,t.smoothConstraint),c=ob(i,t.smoothConstraint);if(t.connectNulls){for(;r>0&&nb(n[r-1]);r--);for(;o<r&&nb(n[o]);o++);}for(;o<r;){var l=ib(e,n,o,r,r,1,s.min,s.max,t.smooth,a,t.connectNulls);ib(e,i,o+l-1,l,r,-1,c.min,c.max,t.stackedOnSmooth,a,t.connectNulls),o+=l+1,e.closePath()}}})},ab=rb.Polyline,sb=rb.Polygon,cb=tc.round,lb=Wm.prepareDataCoordInfo,db=Wm.getStackedOnPoint;function ub(e,t){if(e.length===t.length){for(var n=0;n<e.length;n++){var i=e[n],o=t[n];if(i[0]!==o[0]||i[1]!==o[1])return}return!0}}function fb(e){return"number"==typeof e?e:e?.5:0}function hb(e){var t=e.getGlobalExtent();if(e.onBand){var n=e.getBandWidth()/2-1,i=t[1]>t[0]?1:-1;t[0]+=i*n,t[1]-=i*n}return t}function pb(e,t,n,i){return"polar"===e.type?function(e,t,n,i){var o=e.getAngleAxis(),r=e.getRadiusAxis().getExtent().slice();r[0]>r[1]&&r.reverse();var a=o.getExtent(),s=Math.PI/180;n&&(r[0]-=.5,r[1]+=.5);var c=new Ls.Sector({shape:{cx:cb(e.cx,1),cy:cb(e.cy,1),r0:cb(r[0],1),r:cb(r[1],1),startAngle:-a[0]*s,endAngle:-a[1]*s,clockwise:o.inverse}});return t&&(c.shape.endAngle=-a[0]*s,Ls.initProps(c,{shape:{endAngle:-a[1]*s}},i)),c}(e,t,n,i):function(e,t,n,i){var o=hb(e.getAxis("x")),r=hb(e.getAxis("y")),a=e.getBaseAxis().isHorizontal(),s=Math.min(o[0],o[1]),c=Math.min(r[0],r[1]),l=Math.max(o[0],o[1])-s,d=Math.max(r[0],r[1])-c;if(n)s-=.5,l+=.5,c-=.5,d+=.5;else{var u=i.get("lineStyle.width")||2,f=i.get("clipOverflow")?u/2:Math.max(l,d);a?(c-=f,d+=2*f):(s-=f,l+=2*f)}var h=new Ls.Rect({shape:{x:s,y:c,width:l,height:d}});return t&&(h.shape[a?"width":"height"]=0,Ls.initProps(h,{shape:{width:l,height:d}},i)),h}(e,t,n,i)}function gb(e,t,n){for(var i=t.getBaseAxis(),o="x"===i.dim||"radius"===i.dim?0:1,r=[],a=0;a<e.length-1;a++){var s=e[a+1],c=e[a];r.push(c);var l=[];switch(n){case"end":l[o]=s[o],l[1-o]=c[1-o],r.push(l);break;case"middle":var d=(c[o]+s[o])/2,u=[];l[o]=u[o]=d,l[1-o]=c[1-o],u[1-o]=s[1-o],r.push(l),r.push(u);break;default:l[o]=c[o],l[1-o]=s[1-o],r.push(l)}}return e[a]&&r.push(e[a]),r}function mb(e,t,n){var i=e.get("showAllSymbol"),o="auto"===i;if(!i||o){var r=n.getAxesByScale("ordinal")[0];if(r&&(!o||!function(e,t){var n=e.getExtent(),i=Math.abs(n[1]-n[0])/e.scale.count();isNaN(i)&&(i=0);for(var o=t.count(),r=Math.max(1,Math.round(o/5)),a=0;a<o;a+=r)if(1.5*Lm.getSymbolSize(t,a)[e.isHorizontal()?1:0]>i)return!1;return!0}(r,t))){var a=t.mapDimension(r.dim),s={};return D.each(r.getViewLabels(),function(e){s[e.tickValue]=1}),function(e){return!s.hasOwnProperty(t.get(a,e))}}}}Vu.extend({type:"line",init:function(){var e=new Ls.Group,t=new Hm;this.group.add(t.group),this._symbolDraw=t,this._lineGroup=e},render:function(e,t,n){var i=e.coordinateSystem,o=this.group,r=e.getData(),a=e.getModel("lineStyle"),s=e.getModel("areaStyle"),c=r.mapArray(r.getItemLayout),l="polar"===i.type,d=this._coordSys,u=this._symbolDraw,f=this._polyline,h=this._polygon,p=this._lineGroup,g=e.get("animation"),m=!s.isEmpty(),b=s.get("origin"),v=function(e,t,n){if(!n.valueDim)return[];for(var i=[],o=0,r=t.count();o<r;o++)i.push(db(n,e,t,o));return i}(i,r,lb(i,r,b)),y=e.get("showSymbol"),_=y&&!l&&mb(e,r,i),w=this._data;w&&w.eachItemGraphicEl(function(e,t){e.__temp&&(o.remove(e),w.setItemGraphicEl(t,null))}),y||u.remove(),o.add(p);var x=!l&&e.get("step");f&&d.type===i.type&&x===this._step?(m&&!h?h=this._newPolygon(c,v,i,g):h&&!m&&(p.remove(h),h=this._polygon=null),p.setClipPath(pb(i,!1,!1,e)),y&&u.updateData(r,{isIgnore:_,clipShape:pb(i,!1,!0,e)}),r.eachItemGraphicEl(function(e){e.stopAnimation(!0)}),ub(this._stackedOnPoints,v)&&ub(this._points,c)||(g?this._updateAnimation(r,v,i,n,x,b):(x&&(c=gb(c,i,x),v=gb(v,i,x)),f.setShape({points:c}),h&&h.setShape({points:c,stackedOnPoints:v})))):(y&&u.updateData(r,{isIgnore:_,clipShape:pb(i,!1,!0,e)}),x&&(c=gb(c,i,x),v=gb(v,i,x)),f=this._newPolyline(c,i,g),m&&(h=this._newPolygon(c,v,i,g)),p.setClipPath(pb(i,!0,!1,e)));var S=function(e,t){var n=e.getVisual("visualMeta");if(n&&n.length&&e.count()&&"cartesian2d"===t.type){for(var i,o,r=n.length-1;r>=0;r--){var a=n[r].dimension,s=e.dimensions[a],c=e.getDimensionInfo(s);if("x"===(i=c&&c.coordDim)||"y"===i){o=n[r];break}}if(o){var l=t.getAxis(i),d=D.map(o.stops,function(e){return{coord:l.toGlobalCoord(l.dataToCoord(e.value)),color:e.color}}),u=d.length,f=o.outerColors.slice();u&&d[0].coord>d[u-1].coord&&(d.reverse(),f.reverse());var h=d[0].coord-10,p=d[u-1].coord+10,g=p-h;if(g<.001)return"transparent";D.each(d,function(e){e.offset=(e.coord-h)/g}),d.push({offset:u?d[u-1].offset:.5,color:f[1]||"transparent"}),d.unshift({offset:u?d[0].offset:.5,color:f[0]||"transparent"});var m=new Ls.LinearGradient(0,0,0,0,d,!0);return m[i]=h,m[i+"2"]=p,m}}}(r,i)||r.getVisual("color");f.useStyle(D.defaults(a.getLineStyle(),{fill:"none",stroke:S,lineJoin:"bevel"}));var T=e.get("smooth");if(T=fb(e.get("smooth")),f.setShape({smooth:T,smoothMonotone:e.get("smoothMonotone"),connectNulls:e.get("connectNulls")}),h){var k=r.getCalculationInfo("stackedOnSeries"),C=0;h.useStyle(D.defaults(s.getAreaStyle(),{fill:S,opacity:.7,lineJoin:"bevel"})),k&&(C=fb(k.get("smooth"))),h.setShape({smooth:T,stackedOnSmooth:C,smoothMonotone:e.get("smoothMonotone"),connectNulls:e.get("connectNulls")})}this._data=r,this._coordSys=i,this._stackedOnPoints=v,this._points=c,this._step=x,this._valueOrigin=b},dispose:function(){},highlight:function(e,t,n,i){var o=e.getData(),r=ro.queryDataIndex(o,i);if(!(r instanceof Array)&&null!=r&&r>=0){var a=o.getItemGraphicEl(r);if(!a){var s=o.getItemLayout(r);if(!s)return;(a=new Lm(o,r)).position=s,a.setZ(e.get("zlevel"),e.get("z")),a.ignore=isNaN(s[0])||isNaN(s[1]),a.__temp=!0,o.setItemGraphicEl(r,a),a.stopSymbolAnimation(!0),this.group.add(a)}a.highlight()}else Vu.prototype.highlight.call(this,e,t,n,i)},downplay:function(e,t,n,i){var o=e.getData(),r=ro.queryDataIndex(o,i);if(null!=r&&r>=0){var a=o.getItemGraphicEl(r);a&&(a.__temp?(o.setItemGraphicEl(r,null),this.group.remove(a)):a.downplay())}else Vu.prototype.downplay.call(this,e,t,n,i)},_newPolyline:function(e){var t=this._polyline;return t&&this._lineGroup.remove(t),t=new ab({shape:{points:e},silent:!0,z2:10}),this._lineGroup.add(t),this._polyline=t,t},_newPolygon:function(e,t){var n=this._polygon;return n&&this._lineGroup.remove(n),n=new sb({shape:{points:e,stackedOnPoints:t},silent:!0}),this._lineGroup.add(n),this._polygon=n,n},_updateAnimation:function(e,t,n,i,o,r){var a=this._polyline,s=this._polygon,c=e.hostModel,l=Km(this._data,e,this._stackedOnPoints,t,this._coordSys,n,this._valueOrigin,r),d=l.current,u=l.stackedOnCurrent,f=l.next,h=l.stackedOnNext;o&&(d=gb(l.current,n,o),u=gb(l.stackedOnCurrent,n,o),f=gb(l.next,n,o),h=gb(l.stackedOnNext,n,o)),a.shape.__points=l.current,a.shape.points=d,Ls.updateProps(a,{shape:{points:f}},c),s&&(s.setShape({points:d,stackedOnPoints:u}),Ls.updateProps(s,{shape:{points:f,stackedOnPoints:h}},c));for(var p=[],g=l.status,m=0;m<g.length;m++){if("="===g[m].cmd){var b=e.getItemGraphicEl(g[m].idx1);b&&p.push({el:b,ptIdx:m})}}a.animators&&a.animators.length&&a.animators[0].during(function(){for(var e=0;e<p.length;e++){p[e].el.attr("position",a.shape.__points[p[e].ptIdx])}})},remove:function(e){var t=this.group,n=this._data;this._lineGroup.removeAll(),this._symbolDraw.remove(!0),n&&n.eachItemGraphicEl(function(e,i){e.__temp&&(t.remove(e),n.setItemGraphicEl(i,null))}),this._polyline=this._polygon=this._coordSys=this._points=this._stackedOnPoints=this._data=null}});var bb=function(e,t,n){return{seriesType:e,performRawSeries:!0,reset:function(e,i,o){var r=e.getData(),a=e.get("symbol")||t,s=e.get("symbolSize"),c=e.get("symbolKeepAspect");if(r.setVisual({legendSymbol:n||a,symbol:a,symbolSize:s,symbolKeepAspect:c}),!i.isSeriesFiltered(e)){var l="function"==typeof s;return{dataEach:r.hasItemOption||l?function(t,n){if("function"==typeof s){var i=e.getRawValue(n),o=e.getDataParams(n);t.setItemVisual(n,"symbolSize",s(i,o))}if(t.hasItemOption){var r=t.getItemModel(n),a=r.getShallow("symbol",!0),c=r.getShallow("symbolSize",!0),l=r.getShallow("symbolKeepAspect",!0);null!=a&&t.setItemVisual(n,"symbol",a),null!=c&&t.setItemVisual(n,"symbolSize",c),null!=l&&t.setItemVisual(n,"symbolKeepAspect",l)}}:null}}}}},vb=D.map,yb=Qh.isDimensionStacked;var _b=function(e){return{seriesType:e,plan:xu(),reset:function(e){var t=e.getData(),n=e.coordinateSystem,i=e.pipelineContext.large;if(n){var o=vb(n.dimensions,function(e){return t.mapDimension(e)}).slice(0,2),r=o.length,a=t.getCalculationInfo("stackResultDimension");return yb(t,o[0])&&(o[0]=a),yb(t,o[1])&&(o[1]=a),r&&{progress:function(e,t){for(var a=e.end-e.start,s=i&&new Float32Array(a*r),c=e.start,l=0,d=[],u=[];c<e.end;c++){var f;if(1===r){var h=t.get(o[0],c);f=!isNaN(h)&&n.dataToPoint(h,null,u)}else{h=d[0]=t.get(o[0],c);var p=d[1]=t.get(o[1],c);f=!isNaN(h)&&!isNaN(p)&&n.dataToPoint(d,null,u)}i?(s[l++]=f?f[0]:NaN,s[l++]=f?f[1]:NaN):t.setItemLayout(c,f&&f.slice()||[NaN,NaN])}i&&t.setLayout("symbolPoints",s)}}}}}},wb={average:function(e){for(var t=0,n=0,i=0;i<e.length;i++)isNaN(e[i])||(t+=e[i],n++);return 0===n?NaN:t/n},sum:function(e){for(var t=0,n=0;n<e.length;n++)t+=e[n]||0;return t},max:function(e){for(var t=-1/0,n=0;n<e.length;n++)e[n]>t&&(t=e[n]);return isFinite(t)?t:NaN},min:function(e){for(var t=1/0,n=0;n<e.length;n++)e[n]<t&&(t=e[n]);return isFinite(t)?t:NaN},nearest:function(e){return e[0]}},xb=function(e,t){return Math.round(e.length/2)};var Sb=function(e){return{seriesType:e,modifyOutputEnd:!0,reset:function(e,t,n){var i=e.getData(),o=e.get("sampling"),r=e.coordinateSystem;if("cartesian2d"===r.type&&o){var a,s=r.getBaseAxis(),c=r.getOtherAxis(s),l=s.getExtent(),d=l[1]-l[0],u=Math.round(i.count()/d);u>1&&("string"==typeof o?a=wb[o]:"function"==typeof o&&(a=o),a&&e.setData(i.downSample(i.mapDimension(c.dim),1/u,a,xb)))}}}};function Tb(e){return this._axes[e]}var kb=function(e){this._axes={},this._dimList=[],this.name=e||""};kb.prototype={constructor:kb,type:"cartesian",getAxis:function(e){return this._axes[e]},getAxes:function(){return D.map(this._dimList,Tb,this)},getAxesByScale:function(e){return e=e.toLowerCase(),D.filter(this.getAxes(),function(t){return t.scale.type===e})},addAxis:function(e){var t=e.dim;this._axes[t]=e,this._dimList.push(t)},dataToCoord:function(e){return this._dataCoordConvert(e,"dataToCoord")},coordToData:function(e){return this._dataCoordConvert(e,"coordToData")},_dataCoordConvert:function(e,t){for(var n=this._dimList,i=e instanceof Array?[]:{},o=0;o<n.length;o++){var r=n[o],a=this._axes[r];i[r]=a[t](e[r])}return i}};var Cb=kb;function jb(e){Cb.call(this,e)}jb.prototype={constructor:jb,type:"cartesian2d",dimensions:["x","y"],getBaseAxis:function(){return this.getAxesByScale("ordinal")[0]||this.getAxesByScale("time")[0]||this.getAxis("x")},containPoint:function(e){var t=this.getAxis("x"),n=this.getAxis("y");return t.contain(t.toLocalCoord(e[0]))&&n.contain(n.toLocalCoord(e[1]))},containData:function(e){return this.getAxis("x").containData(e[0])&&this.getAxis("y").containData(e[1])},dataToPoint:function(e,t,n){var i=this.getAxis("x"),o=this.getAxis("y");return(n=n||[])[0]=i.toGlobalCoord(i.dataToCoord(e[0])),n[1]=o.toGlobalCoord(o.dataToCoord(e[1])),n},clampData:function(e,t){var n=this.getAxis("x").scale,i=this.getAxis("y").scale,o=n.getExtent(),r=i.getExtent(),a=n.parse(e[0]),s=i.parse(e[1]);return(t=t||[])[0]=Math.min(Math.max(Math.min(o[0],o[1]),a),Math.max(o[0],o[1])),t[1]=Math.min(Math.max(Math.min(r[0],r[1]),s),Math.max(r[0],r[1])),t},pointToData:function(e,t){var n=this.getAxis("x"),i=this.getAxis("y");return(t=t||[])[0]=n.coordToData(n.toLocalCoord(e[0])),t[1]=i.coordToData(i.toLocalCoord(e[1])),t},getOtherAxis:function(e){return this.getAxis("x"===e.dim?"y":"x")}},D.inherits(jb,Cb);var Ab=jb,Eb=function(e,t,n,i,o){Qg.call(this,e,t,n),this.type=i||"value",this.position=o||"bottom"};Eb.prototype={constructor:Eb,index:0,getAxesOnZeroOf:null,model:null,isHorizontal:function(){var e=this.position;return"top"===e||"bottom"===e},getGlobalExtent:function(e){var t=this.getExtent();return t[0]=this.toGlobalCoord(t[0]),t[1]=this.toGlobalCoord(t[1]),e&&t[0]>t[1]&&t.reverse(),t},getOtherAxis:function(){this.grid.getOtherAxis()},pointToData:function(e,t){return this.coordToData(this.toLocalCoord(e["x"===this.dim?0:1]),t)},toLocalCoord:null,toGlobalCoord:null},D.inherits(Eb,Qg);var Ib=Eb,Mb={show:!0,zlevel:0,z:0,inverse:!1,name:"",nameLocation:"end",nameRotate:null,nameTruncate:{maxWidth:null,ellipsis:"...",placeholder:"."},nameTextStyle:{},nameGap:15,silent:!1,triggerEvent:!1,tooltip:{show:!1},axisPointer:{},axisLine:{show:!0,onZero:!0,onZeroAxisIndex:null,lineStyle:{color:"#333",width:1,type:"solid"},symbol:["none","none"],symbolSize:[10,15]},axisTick:{show:!0,inside:!1,length:5,lineStyle:{width:1}},axisLabel:{show:!0,inside:!1,rotate:0,showMinLabel:null,showMaxLabel:null,margin:8,fontSize:12},splitLine:{show:!0,lineStyle:{color:["#ccc"],width:1,type:"solid"}},splitArea:{show:!1,areaStyle:{color:["rgba(250,250,250,0.3)","rgba(200,200,200,0.3)"]}}},Ob={};Ob.categoryAxis=D.merge({boundaryGap:!0,deduplication:null,splitLine:{show:!1},axisTick:{alignWithLabel:!1,interval:"auto"},axisLabel:{interval:"auto"}},Mb),Ob.valueAxis=D.merge({boundaryGap:[0,0],splitNumber:5},Mb),Ob.timeAxis=D.defaults({scale:!0,min:"dataMin",max:"dataMax"},Ob.valueAxis),Ob.logAxis=D.defaults({scale:!0,logBase:10},Ob.valueAxis);var Db=Ob,Vb=yc.getLayoutParams,Lb=yc.mergeLayoutParam,Pb=["value","category","time","log"];var Nb=function(e,t,n,i){D.each(Pb,function(o){t.extend({type:e+"Axis."+o,mergeDefaultAndTheme:function(t,i){var r=this.layoutMode,a=r?Vb(t):{},s=i.getTheme();D.merge(t,s.get(o+"Axis")),D.merge(t,this.getDefaultOption()),t.type=n(e,t),r&&Lb(t,a,r)},optionUpdated:function(){"category"===this.option.type&&(this.__ordinalMeta=pp.createByAxisModel(this))},getCategories:function(e){var t=this.option;if("category"===t.type)return e?t.data:this.__ordinalMeta.categories},getOrdinalMeta:function(){return this.__ordinalMeta},defaultOption:D.mergeAll([{},Db[o+"Axis"],i],!0)})}),kc.registerSubTypeDefaulter(e+"Axis",D.curry(n,e))},Rb=kc.extend({type:"cartesian2dAxis",axis:null,init:function(){Rb.superApply(this,"init",arguments),this.resetRange()},mergeOption:function(){Rb.superApply(this,"mergeOption",arguments),this.resetRange()},restoreData:function(){Rb.superApply(this,"restoreData",arguments),this.resetRange()},getCoordSysModel:function(){return this.ecModel.queryComponents({mainType:"grid",index:this.option.gridIndex,id:this.option.gridId})[0]}});function Fb(e,t){return t.type||(t.data?"category":"value")}D.merge(Rb.prototype,cg);var Bb={offset:0};Nb("x",Rb,Fb,Bb),Nb("y",Rb,Fb,Bb);kc.extend({type:"grid",dependencies:["xAxis","yAxis"],layoutMode:"box",coordinateSystem:null,defaultOption:{show:!1,zlevel:0,z:0,left:"10%",top:60,right:"10%",bottom:60,containLabel:!1,backgroundColor:"rgba(0,0,0,0)",borderWidth:1,borderColor:"#ccc"}});var zb=D.isObject,Hb=D.each,$b=D.map,qb=D.indexOf,Wb=yc.getLayoutRect,Gb=sg.createScaleByModel,Ub=sg.ifAxisCrossZero,Kb=sg.niceScaleExtent,Yb=sg.estimateLabelUnionRect,Zb=Qh.getStackedDimension;function Xb(e,t,n){return e.getCoordSysModel()===t}function Qb(e,t,n){this._coordsMap={},this._coordsList=[],this._axesMap={},this._axesList=[],this._initCartesian(e,t,n),this.model=e}var Jb=Qb.prototype;function ev(e,t,n,i){n.getAxesOnZeroOf=function(){return o?[o]:[]};var o,r=e[t],a=n.model,s=a.get("axisLine.onZero"),c=a.get("axisLine.onZeroAxisIndex");if(s){if(null!=c)tv(r[c])&&(o=r[c]);else for(var l in r)if(r.hasOwnProperty(l)&&tv(r[l])&&!i[d(r[l])]){o=r[l];break}o&&(i[d(o)]=!0)}function d(e){return e.dim+"_"+e.index}}function tv(e){return e&&"category"!==e.type&&"time"!==e.type&&Ub(e)}Jb.type="grid",Jb.axisPointerEnabled=!0,Jb.getRect=function(){return this._rect},Jb.update=function(e,t){var n=this._axesMap;this._updateScale(e,this.model),Hb(n.x,function(e){Kb(e.scale,e.model)}),Hb(n.y,function(e){Kb(e.scale,e.model)});var i={};Hb(n.x,function(e){ev(n,"y",e,i)}),Hb(n.y,function(e){ev(n,"x",e,i)}),this.resize(this.model,t)},Jb.resize=function(e,t,n){var i=Wb(e.getBoxLayoutParams(),{width:t.getWidth(),height:t.getHeight()});this._rect=i;var o=this._axesList;function r(){Hb(o,function(e){var t=e.isHorizontal(),n=t?[0,i.width]:[0,i.height],o=e.inverse?1:0;e.setExtent(n[o],n[1-o]),function(e,t){var n=e.getExtent(),i=n[0]+n[1];e.toGlobalCoord="x"===e.dim?function(e){return e+t}:function(e){return i-e+t},e.toLocalCoord="x"===e.dim?function(e){return e-t}:function(e){return i-e+t}}(e,t?i.x:i.y)})}r(),!n&&e.get("containLabel")&&(Hb(o,function(e){if(!e.model.get("axisLabel.inside")){var t=Yb(e);if(t){var n=e.isHorizontal()?"height":"width",o=e.model.get("axisLabel.margin");i[n]-=t[n]+o,"top"===e.position?i.y+=t.height+o:"left"===e.position&&(i.x+=t.width+o)}}}),r())},Jb.getAxis=function(e,t){var n=this._axesMap[e];if(null!=n){if(null==t)for(var i in n)if(n.hasOwnProperty(i))return n[i];return n[t]}},Jb.getAxes=function(){return this._axesList.slice()},Jb.getCartesian=function(e,t){if(null!=e&&null!=t){var n="x"+e+"y"+t;return this._coordsMap[n]}zb(e)&&(t=e.yAxisIndex,e=e.xAxisIndex);for(var i=0,o=this._coordsList;i<o.length;i++)if(o[i].getAxis("x").index===e||o[i].getAxis("y").index===t)return o[i]},Jb.getCartesians=function(){return this._coordsList.slice()},Jb.convertToPixel=function(e,t,n){var i=this._findConvertTarget(e,t);return i.cartesian?i.cartesian.dataToPoint(n):i.axis?i.axis.toGlobalCoord(i.axis.dataToCoord(n)):null},Jb.convertFromPixel=function(e,t,n){var i=this._findConvertTarget(e,t);return i.cartesian?i.cartesian.pointToData(n):i.axis?i.axis.coordToData(i.axis.toLocalCoord(n)):null},Jb._findConvertTarget=function(e,t){var n,i,o=t.seriesModel,r=t.xAxisModel||o&&o.getReferringComponents("xAxis")[0],a=t.yAxisModel||o&&o.getReferringComponents("yAxis")[0],s=t.gridModel,c=this._coordsList;if(o)n=o.coordinateSystem,qb(c,n)<0&&(n=null);else if(r&&a)n=this.getCartesian(r.componentIndex,a.componentIndex);else if(r)i=this.getAxis("x",r.componentIndex);else if(a)i=this.getAxis("y",a.componentIndex);else if(s){s.coordinateSystem===this&&(n=this._coordsList[0])}return{cartesian:n,axis:i}},Jb.containPoint=function(e){var t=this._coordsList[0];if(t)return t.containPoint(e)},Jb._initCartesian=function(e,t,n){var i={left:!1,right:!1,top:!1,bottom:!1},o={x:{},y:{}},r={x:0,y:0};if(t.eachComponent("xAxis",a("x"),this),t.eachComponent("yAxis",a("y"),this),!r.x||!r.y)return this._axesMap={},void(this._axesList=[]);function a(t){return function(n,a){if(Xb(n,e)){var s=n.get("position");"x"===t?"top"!==s&&"bottom"!==s&&i[s="bottom"]&&(s="top"===s?"bottom":"top"):"left"!==s&&"right"!==s&&i[s="left"]&&(s="left"===s?"right":"left"),i[s]=!0;var c=new Ib(t,Gb(n),[0,0],n.get("type"),s),l="category"===c.type;c.onBand=l&&n.get("boundaryGap"),c.inverse=n.get("inverse"),n.axis=c,c.model=n,c.grid=this,c.index=a,this._axesList.push(c),o[t][a]=c,r[t]++}}}this._axesMap=o,Hb(o.x,function(t,n){Hb(o.y,function(i,o){var r="x"+n+"y"+o,a=new Ab(r);a.grid=this,a.model=e,this._coordsMap[r]=a,this._coordsList.push(a),a.addAxis(t),a.addAxis(i)},this)},this)},Jb._updateScale=function(e,t){function n(e,t,n){Hb(e.mapDimension(t.dim,!0),function(n){t.scale.unionExtentFromData(e,Zb(e,n))})}Hb(this._axesList,function(e){e.scale.setExtent(1/0,-1/0)}),e.eachSeries(function(i){if(ov(i)){var o=iv(i,e),r=o[0],a=o[1];if(!Xb(r,t)||!Xb(a,t))return;var s=this.getCartesian(r.componentIndex,a.componentIndex),c=i.getData(),l=s.getAxis("x"),d=s.getAxis("y");"list"===c.type&&(n(c,l,i),n(c,d,i))}},this)},Jb.getTooltipAxes=function(e){var t=[],n=[];return Hb(this.getCartesians(),function(i){var o=null!=e&&"auto"!==e?i.getAxis(e):i.getBaseAxis(),r=i.getOtherAxis(o);qb(t,o)<0&&t.push(o),qb(n,r)<0&&n.push(r)}),{baseAxes:t,otherAxes:n}};var nv=["xAxis","yAxis"];function iv(e,t){return $b(nv,function(t){return e.getReferringComponents(t)[0]})}function ov(e){return"cartesian2d"===e.get("coordinateSystem")}Qb.create=function(e,t){var n=[];return e.eachComponent("grid",function(i,o){var r=new Qb(i,e,t);r.name="grid_"+o,r.resize(i,t,!0),i.coordinateSystem=r,n.push(r)}),e.eachSeries(function(e){if(ov(e)){var t=iv(e),n=t[0],i=t[1],o=n.getCoordSysModel().coordinateSystem;e.coordinateSystem=o.getCartesian(n.componentIndex,i.componentIndex)}}),n},Qb.dimensions=Qb.prototype.dimensions=Ab.prototype.dimensions,zl.register("cartesian2d",Qb);var rv=D.retrieve,av=D.defaults,sv=D.extend,cv=D.each,lv=tc.isRadianAroundZero,dv=tc.remRadian,uv=vg.createSymbol,fv=F.applyTransform,hv=Math.PI;function pv(e){var t={componentType:e.mainType,componentIndex:e.componentIndex};return t[e.mainType+"Index"]=e.componentIndex,t}var gv=function(e,t){this.opt=t,this.axisModel=e,av(t,{labelOffset:0,nameDirection:1,tickDirection:1,labelDirection:1,silent:!0}),this.group=new Ls.Group;var n=new Ls.Group({position:t.position.slice(),rotation:t.rotation});n.updateTransform(),this._transform=n.transform,this._dumbGroup=n};gv.prototype={constructor:gv,hasBuilder:function(e){return!!mv[e]},add:function(e){mv[e].call(this)},getGroup:function(){return this.group}};var mv={axisLine:function(){var e=this.opt,t=this.axisModel;if(t.get("axisLine.show")){var n=this.axisModel.axis.getExtent(),i=this._transform,o=[n[0],0],r=[n[1],0];i&&(fv(o,o,i),fv(r,r,i));var a=sv({lineCap:"round"},t.getModel("axisLine.lineStyle").getLineStyle());this.group.add(new Ls.Line(Ls.subPixelOptimizeLine({anid:"line",shape:{x1:o[0],y1:o[1],x2:r[0],y2:r[1]},style:a,strokeContainThreshold:e.strokeContainThreshold||5,silent:!0,z2:1})));var s=t.get("axisLine.symbol"),c=t.get("axisLine.symbolSize"),l=t.get("axisLine.symbolOffset")||0;if("number"==typeof l&&(l=[l,l]),null!=s){"string"==typeof s&&(s=[s,s]),"string"!=typeof c&&"number"!=typeof c||(c=[c,c]);var d=c[0],u=c[1];cv([{rotate:e.rotation+Math.PI/2,offset:l[0],r:0},{rotate:e.rotation-Math.PI/2,offset:l[1],r:Math.sqrt((o[0]-r[0])*(o[0]-r[0])+(o[1]-r[1])*(o[1]-r[1]))}],function(t,n){if("none"!==s[n]&&null!=s[n]){var i=uv(s[n],-d/2,-u/2,d,u,a.stroke,!0),r=t.r+t.offset,c=[o[0]+r*Math.cos(e.rotation),o[1]-r*Math.sin(e.rotation)];i.attr({rotation:t.rotate,position:c,silent:!0}),this.group.add(i)}},this)}}},axisTickLabel:function(){var e=this.axisModel,t=this.opt,n=function(e,t,n){var i=t.axis;if(!t.get("axisTick.show")||i.scale.isBlank())return;for(var o=t.getModel("axisTick"),r=o.getModel("lineStyle"),a=o.get("length"),s=i.getTicksCoords(),c=[],l=[],d=e._transform,u=[],f=0;f<s.length;f++){var h=s[f].coord;c[0]=h,c[1]=0,l[0]=h,l[1]=n.tickDirection*a,d&&(fv(c,c,d),fv(l,l,d));var p=new Ls.Line(Ls.subPixelOptimizeLine({anid:"tick_"+s[f].tickValue,shape:{x1:c[0],y1:c[1],x2:l[0],y2:l[1]},style:av(r.getLineStyle(),{stroke:t.get("axisLine.lineStyle.color")}),z2:2,silent:!0}));e.group.add(p),u.push(p)}return u}(this,e,t);!function(e,t,n){var i=e.get("axisLabel.showMinLabel"),o=e.get("axisLabel.showMaxLabel");t=t||[],n=n||[];var r=t[0],a=t[1],s=t[t.length-1],c=t[t.length-2],l=n[0],d=n[1],u=n[n.length-1],f=n[n.length-2];!1===i?(yv(r),yv(l)):_v(r,a)&&(i?(yv(a),yv(d)):(yv(r),yv(l)));!1===o?(yv(s),yv(u)):_v(c,s)&&(o?(yv(c),yv(f)):(yv(s),yv(u)))}(e,function(e,t,n){var i=t.axis;if(!rv(n.axisLabelShow,t.get("axisLabel.show"))||i.scale.isBlank())return;var o=t.getModel("axisLabel"),r=o.get("margin"),a=i.getViewLabels(),s=(rv(n.labelRotate,o.get("rotate"))||0)*hv/180,c=bv(n.rotation,s,n.labelDirection),l=t.getCategories(!0),d=[],u=vv(t),f=t.get("triggerEvent");return cv(a,function(a,s){var h=a.tickValue,p=a.formattedLabel,g=a.rawLabel,m=o;l&&l[h]&&l[h].textStyle&&(m=new Ks(l[h].textStyle,o,t.ecModel));var b=m.getTextColor()||t.get("axisLine.lineStyle.color"),v=[i.dataToCoord(h),n.labelOffset+n.labelDirection*r],y=new Ls.Text({anid:"label_"+h,position:v,rotation:c.rotation,silent:u,z2:10});Ls.setTextStyle(y.style,m,{text:p,textAlign:m.getShallow("align",!0)||c.textAlign,textVerticalAlign:m.getShallow("verticalAlign",!0)||m.getShallow("baseline",!0)||c.textVerticalAlign,textFill:"function"==typeof b?b("category"===i.type?g:"value"===i.type?h+"":h,s):b}),f&&(y.eventData=pv(t),y.eventData.targetType="axisLabel",y.eventData.value=g),e._dumbGroup.add(y),y.updateTransform(),d.push(y),e.group.add(y),y.decomposeTransform()}),d}(this,e,t),n)},axisName:function(){var e=this.opt,t=this.axisModel,n=rv(e.axisName,t.get("name"));if(n){var i,o,r=t.get("nameLocation"),a=e.nameDirection,s=t.getModel("nameTextStyle"),c=t.get("nameGap")||0,l=this.axisModel.axis.getExtent(),d=l[0]>l[1]?-1:1,u=["start"===r?l[0]-d*c:"end"===r?l[1]+d*c:(l[0]+l[1])/2,wv(r)?e.labelOffset+a*c:0],f=t.get("nameRotate");null!=f&&(f=f*hv/180),wv(r)?i=bv(e.rotation,null!=f?f:e.rotation,a):(i=function(e,t,n,i){var o,r,a=dv(n-e.rotation),s=i[0]>i[1],c="start"===t&&!s||"start"!==t&&s;lv(a-hv/2)?(r=c?"bottom":"top",o="center"):lv(a-1.5*hv)?(r=c?"top":"bottom",o="center"):(r="middle",o=a<1.5*hv&&a>hv/2?c?"left":"right":c?"right":"left");return{rotation:a,textAlign:o,textVerticalAlign:r}}(e,r,f||0,l),null!=(o=e.axisNameAvailableWidth)&&(o=Math.abs(o/Math.sin(i.rotation)),!isFinite(o)&&(o=null)));var h=s.getFont(),p=t.get("nameTruncate",!0)||{},g=p.ellipsis,m=rv(e.nameTruncateMaxWidth,p.maxWidth,o),b=null!=g&&null!=m?cc.truncateText(n,m,h,g,{minChar:2,placeholder:p.placeholder}):n,v=t.get("tooltip",!0),y=t.mainType,_={componentType:y,name:n,$vars:["name"]};_[y+"Index"]=t.componentIndex;var w=new Ls.Text({anid:"name",__fullText:n,__truncatedText:b,position:u,rotation:i.rotation,silent:vv(t),z2:1,tooltip:v&&v.show?sv({content:n,formatter:function(){return n},formatterParams:_},v):null});Ls.setTextStyle(w.style,s,{text:b,textFont:h,textFill:s.getTextColor()||t.get("axisLine.lineStyle.color"),textAlign:i.textAlign,textVerticalAlign:i.textVerticalAlign}),t.get("triggerEvent")&&(w.eventData=pv(t),w.eventData.targetType="axisName",w.eventData.name=n),this._dumbGroup.add(w),w.updateTransform(),this.group.add(w),w.decomposeTransform()}}},bv=gv.innerTextLayout=function(e,t,n){var i,o,r=dv(t-e);return lv(r)?(o=n>0?"top":"bottom",i="center"):lv(r-hv)?(o=n>0?"bottom":"top",i="center"):(o="middle",i=r>0&&r<hv?n>0?"right":"left":n>0?"left":"right"),{rotation:r,textAlign:i,textVerticalAlign:o}};function vv(e){var t=e.get("tooltip");return e.get("silent")||!(e.get("triggerEvent")||t&&t.show)}function yv(e){e&&(e.ignore=!0)}function _v(e,t,n){var i=e&&e.getBoundingRect().clone(),o=t&&t.getBoundingRect().clone();if(i&&o){var r=de.identity([]);return de.rotate(r,r,-e.rotation),i.applyTransform(de.mul([],r,e.getLocalTransform())),o.applyTransform(de.mul([],r,t.getLocalTransform())),i.intersect(o)}}function wv(e){return"middle"===e||"center"===e}var xv=gv,Sv=D.each,Tv=D.curry;function kv(e,t){return"all"===e||D.isArray(e)&&D.indexOf(e,t)>=0||e===t}function Cv(e){var t=(e.ecModel.getComponent("axisPointer")||{}).coordSysAxesInfo;return t&&t.axesInfo[Av(e)]}function jv(e){return!!e.get("handle.show")}function Av(e){return e.type+"||"+e.id}var Ev={collect:function(e,t){var n={axesInfo:{},seriesInvolved:!1,coordSysAxesInfo:{},coordSysMap:{}};return function(e,t,n){var i=t.getComponent("tooltip"),o=t.getComponent("axisPointer"),r=o.get("link",!0)||[],a=[];Sv(n.getCoordinateSystems(),function(n){if(n.axisPointerEnabled){var s=Av(n.model),c=e.coordSysAxesInfo[s]={};e.coordSysMap[s]=n;var l=n.model,d=l.getModel("tooltip",i);if(Sv(n.getAxes(),Tv(p,!1,null)),n.getTooltipAxes&&i&&d.get("show")){var u="axis"===d.get("trigger"),f="cross"===d.get("axisPointer.type"),h=n.getTooltipAxes(d.get("axisPointer.axis"));(u||f)&&Sv(h.baseAxes,Tv(p,!f||"cross",u)),f&&Sv(h.otherAxes,Tv(p,"cross",!1))}}function p(i,s,l){var u=l.model.getModel("axisPointer",o),f=u.get("show");if(f&&("auto"!==f||i||jv(u))){null==s&&(s=u.get("triggerTooltip"));var h=(u=i?function(e,t,n,i,o,r){var a=t.getModel("axisPointer"),s={};Sv(["type","snap","lineStyle","shadowStyle","label","animation","animationDurationUpdate","animationEasingUpdate","z"],function(e){s[e]=D.clone(a.get(e))}),s.snap="category"!==e.type&&!!r,"cross"===a.get("type")&&(s.type="line");var c=s.label||(s.label={});if(null==c.show&&(c.show=!1),"cross"===o){var l=a.get("label.show");if(c.show=null==l||l,!r){var d=s.lineStyle=a.get("crossStyle");d&&D.defaults(c,d.textStyle)}}return e.model.getModel("axisPointer",new Ks(s,n,i))}(l,d,o,t,i,s):u).get("snap"),p=Av(l.model),g=s||h||"category"===l.type,m=e.axesInfo[p]={key:p,axis:l,coordSys:n,axisPointerModel:u,triggerTooltip:s,involveSeries:g,snap:h,useHandle:jv(u),seriesModels:[]};c[p]=m,e.seriesInvolved|=g;var b=function(e,t){for(var n=t.model,i=t.dim,o=0;o<e.length;o++){var r=e[o]||{};if(kv(r[i+"AxisId"],n.id)||kv(r[i+"AxisIndex"],n.componentIndex)||kv(r[i+"AxisName"],n.name))return o}}(r,l);if(null!=b){var v=a[b]||(a[b]={axesInfo:{}});v.axesInfo[p]=m,v.mapper=r[b].mapper,m.linkGroup=v}}}})}(n,e,t),n.seriesInvolved&&function(e,t){t.eachSeries(function(t){var n=t.coordinateSystem,i=t.get("tooltip.trigger",!0),o=t.get("tooltip.show",!0);n&&"none"!==i&&!1!==i&&"item"!==i&&!1!==o&&!1!==t.get("axisPointer.show",!0)&&Sv(e.coordSysAxesInfo[Av(n.model)],function(e){var i=e.axis;n.getAxis(i.dim)===i&&(e.seriesModels.push(t),null==e.seriesDataCount&&(e.seriesDataCount=0),e.seriesDataCount+=t.getData().count())})},this)}(n,e),n},fixValue:function(e){var t=Cv(e);if(t){var n=t.axisPointerModel,i=t.axis.scale,o=n.option,r=n.get("status"),a=n.get("value");null!=a&&(a=i.parse(a));var s=jv(n);null==r&&(o.status=s?"show":"hide");var c=i.getExtent().slice();c[0]>c[1]&&c.reverse(),(null==a||a>c[1])&&(a=c[1]),a<c[0]&&(a=c[0]),o.value=a,s&&(o.status=t.axis.scale.isBlank()?"hide":"show")}},getAxisInfo:Cv,getAxisPointerModel:function(e){var t=Cv(e);return t&&t.axisPointerModel},makeKey:Av},Iv=mm.extendComponentView({type:"axis",_axisPointer:null,axisPointerClass:null,render:function(e,t,n,i){this.axisPointerClass&&Ev.fixValue(e),Iv.superApply(this,"render",arguments),Mv(this,e,t,n,i,!0)},updateAxisPointer:function(e,t,n,i,o){Mv(this,e,t,n,i,!1)},remove:function(e,t){var n=this._axisPointer;n&&n.remove(t),Iv.superApply(this,"remove",arguments)},dispose:function(e,t){Ov(this,t),Iv.superApply(this,"dispose",arguments)}});function Mv(e,t,n,i,o,r){var a=Iv.getAxisPointerClass(e.axisPointerClass);if(a){var s=Ev.getAxisPointerModel(t);s?(e._axisPointer||(e._axisPointer=new a)).render(t,s,i,r):Ov(e,i)}}function Ov(e,t,n){var i=e._axisPointer;i&&i.dispose(t,n),e._axisPointer=null}var Dv=[];Iv.registerAxisPointerClass=function(e,t){Dv[e]=t},Iv.getAxisPointerClass=function(e){return e&&Dv[e]};var Vv=Iv;var Lv={layout:function(e,t,n){n=n||{};var i=e.coordinateSystem,o=t.axis,r={},a=o.getAxesOnZeroOf()[0],s=o.position,c=a?"onZero":s,l=o.dim,d=i.getRect(),u=[d.x,d.x+d.width,d.y,d.y+d.height],f={left:0,right:1,top:0,bottom:1,onZero:2},h=t.get("offset")||0,p="x"===l?[u[2]-h,u[3]+h]:[u[0]-h,u[1]+h];if(a){var g=a.toGlobalCoord(a.dataToCoord(0));p[f.onZero]=Math.max(Math.min(g,p[1]),p[0])}r.position=["y"===l?p[f[c]]:u[0],"x"===l?p[f[c]]:u[3]],r.rotation=Math.PI/2*("x"===l?0:1),r.labelDirection=r.tickDirection=r.nameDirection={top:-1,bottom:1,left:-1,right:1}[s],r.labelOffset=a?p[f[s]]-p[f.onZero]:0,t.get("axisTick.inside")&&(r.tickDirection=-r.tickDirection),D.retrieve(n.labelInside,t.get("axisLabel.inside"))&&(r.labelDirection=-r.labelDirection);var m=t.get("axisLabel.rotate");return r.labelRotate="top"===c?-m:m,r.z2=1,r}},Pv=["axisLine","axisTickLabel","axisName"],Nv=["splitArea","splitLine"],Rv=Vv.extend({type:"cartesianAxis",axisPointerClass:"CartesianAxisPointer",render:function(e,t,n,i){this.group.removeAll();var o=this._axisGroup;if(this._axisGroup=new Ls.Group,this.group.add(this._axisGroup),e.get("show")){var r=e.getCoordSysModel(),a=Lv.layout(r,e),s=new xv(e,a);D.each(Pv,s.add,s),this._axisGroup.add(s.getGroup()),D.each(Nv,function(t){e.get(t+".show")&&this["_"+t](e,r)},this),Ls.groupTransition(o,this._axisGroup,e),Rv.superCall(this,"render",e,t,n,i)}},remove:function(){this._splitAreaColors=null},_splitLine:function(e,t){var n=e.axis;if(!n.scale.isBlank()){var i=e.getModel("splitLine"),o=i.getModel("lineStyle"),r=o.get("color");r=D.isArray(r)?r:[r];for(var a=t.coordinateSystem.getRect(),s=n.isHorizontal(),c=0,l=n.getTicksCoords({tickModel:i}),d=[],u=[],f=o.getLineStyle(),h=0;h<l.length;h++){var p=n.toGlobalCoord(l[h].coord);s?(d[0]=p,d[1]=a.y,u[0]=p,u[1]=a.y+a.height):(d[0]=a.x,d[1]=p,u[0]=a.x+a.width,u[1]=p);var g=c++%r.length,m=l[h].tickValue;this._axisGroup.add(new Ls.Line(Ls.subPixelOptimizeLine({anid:null!=m?"line_"+l[h].tickValue:null,shape:{x1:d[0],y1:d[1],x2:u[0],y2:u[1]},style:D.defaults({stroke:r[g]},f),silent:!0})))}}},_splitArea:function(e,t){var n=e.axis;if(!n.scale.isBlank()){var i=e.getModel("splitArea"),o=i.getModel("areaStyle"),r=o.get("color"),a=t.coordinateSystem.getRect(),s=n.getTicksCoords({tickModel:i,clamp:!0});if(s.length){var c=r.length,l=this._splitAreaColors,d=D.createHashMap(),u=0;if(l)for(var f=0;f<s.length;f++){var h=l.get(s[f].tickValue);if(null!=h){u=(h+(c-1)*f)%c;break}}var p=n.toGlobalCoord(s[0].coord),g=o.getAreaStyle();r=D.isArray(r)?r:[r];for(f=1;f<s.length;f++){var m,b,v,y,_=n.toGlobalCoord(s[f].coord);n.isHorizontal()?(m=p,b=a.y,v=_-m,y=a.height,p=m+v):(m=a.x,b=p,v=a.width,p=b+(y=_-b));var w=s[f-1].tickValue;null!=w&&d.set(w,u),this._axisGroup.add(new Ls.Rect({anid:null!=w?"area_"+w:null,shape:{x:m,y:b,width:v,height:y},style:D.defaults({fill:r[u]},g),silent:!0})),u=(u+1)%c}this._splitAreaColors=d}}}});Rv.extend({type:"xAxis"}),Rv.extend({type:"yAxis"}),mm.extendComponentView({type:"grid",render:function(e,t){this.group.removeAll(),e.get("show")&&this.group.add(new Ls.Rect({shape:e.coordinateSystem.getRect(),style:D.defaults({fill:e.get("backgroundColor")},e.getItemStyle()),silent:!0,z2:-1}))}}),mm.registerPreprocessor(function(e){e.xAxis&&e.yAxis&&!e.grid&&(e.grid={})}),mm.registerVisual(bb("line","circle","line")),mm.registerLayout(_b("line")),mm.registerProcessor(mm.PRIORITY.PROCESSOR.STATISTIC,Sb("line"));var Fv=bu.extend({type:"series.__base_bar__",getInitialData:function(e,t){return op(this.getSource(),this)},getMarkerPosition:function(e){var t=this.coordinateSystem;if(t){var n=t.dataToPoint(t.clampData(e)),i=this.getData(),o=i.getLayout("offset"),r=i.getLayout("size");return n[t.getBaseAxis().isHorizontal()?0:1]+=o+r/2,n}return[NaN,NaN]},defaultOption:{zlevel:0,z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,barMinHeight:0,barMinAngle:0,large:!1,largeThreshold:400,progressive:3e3,progressiveChunkMode:"mod",itemStyle:{},emphasis:{}}}),Bv=(Fv.extend({type:"series.bar",dependencies:["grid","polar"],brushSelector:"rect",getProgressive:function(){return!!this.get("large")&&this.get("progressive")},getProgressiveThreshold:function(){var e=this.get("progressiveThreshold"),t=this.get("largeThreshold");return t>e&&(e=t),e}}),vm.getDefaultLabel);function zv(e,t){"outside"===e.textPosition&&(e.textPosition=t)}var Hv={setLabel:function(e,t,n,i,o,r,a){var s=n.getModel("label"),c=n.getModel("emphasis.label");Ls.setLabelStyle(e,t,s,c,{labelFetcher:o,labelDataIndex:r,defaultText:Bv(o.getData(),r),isRectText:!0,autoColor:i}),zv(e),zv(t)}},$v=po([["fill","color"],["stroke","borderColor"],["lineWidth","borderWidth"],["stroke","barBorderColor"],["lineWidth","barBorderWidth"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"]]),qv={getBarItemStyle:function(e){var t=$v(this,e);if(this.getBorderLineDash){var n=this.getBorderLineDash();n&&(t.lineDash=n)}return t}},Wv=Hv.setLabel,Gv=["itemStyle","barBorderWidth"];D.extend(Ks.prototype,qv);mm.extendChartView({type:"bar",render:function(e,t,n){this._updateDrawMode(e);var i=e.get("coordinateSystem");return"cartesian2d"!==i&&"polar"!==i||(this._isLargeDraw?this._renderLarge(e,t,n):this._renderNormal(e,t,n)),this.group},incrementalPrepareRender:function(e,t,n){this._clear(),this._updateDrawMode(e)},incrementalRender:function(e,t,n,i){this._incrementalRenderLarge(e,t)},_updateDrawMode:function(e){var t=e.pipelineContext.large;(null==this._isLargeDraw||t^this._isLargeDraw)&&(this._isLargeDraw=t,this._clear())},_renderNormal:function(e,t,n){var i,o=this.group,r=e.getData(),a=this._data,s=e.coordinateSystem,c=s.getBaseAxis();"cartesian2d"===s.type?i=c.isHorizontal():"polar"===s.type&&(i="angle"===c.dim);var l=e.isAnimationEnabled()?e:null;r.diff(a).add(function(t){if(r.hasValue(t)){var n=r.getItemModel(t),a=Zv[s.type](r,t,n),c=Uv[s.type](r,t,n,a,i,l);r.setItemGraphicEl(t,c),o.add(c),Xv(c,r,t,n,a,e,i,"polar"===s.type)}}).update(function(t,n){var c=a.getItemGraphicEl(n);if(r.hasValue(t)){var d=r.getItemModel(t),u=Zv[s.type](r,t,d);c?Ls.updateProps(c,{shape:u},l,t):c=Uv[s.type](r,t,d,u,i,l,!0),r.setItemGraphicEl(t,c),o.add(c),Xv(c,r,t,d,u,e,i,"polar"===s.type)}else o.remove(c)}).remove(function(e){var t=a.getItemGraphicEl(e);"cartesian2d"===s.type?t&&Kv(e,l,t):t&&Yv(e,l,t)}).execute(),this._data=r},_renderLarge:function(e,t,n){this._clear(),Jv(e,this.group)},_incrementalRenderLarge:function(e,t){Jv(t,this.group,!0)},dispose:D.noop,remove:function(e){this._clear(e)},_clear:function(e){var t=this.group,n=this._data;e&&e.get("animation")&&n&&!this._isLargeDraw?n.eachItemGraphicEl(function(t){"sector"===t.type?Yv(t.dataIndex,e,t):Kv(t.dataIndex,e,t)}):t.removeAll(),this._data=null}});var Uv={cartesian2d:function(e,t,n,i,o,r,a){var s=new Ls.Rect({shape:D.extend({},i)});if(r){var c=s.shape,l=o?"height":"width",d={};c[l]=0,d[l]=i[l],Ls[a?"updateProps":"initProps"](s,{shape:d},r,t)}return s},polar:function(e,t,n,i,o,r,a){var s=i.startAngle<i.endAngle,c=new Ls.Sector({shape:D.defaults({clockwise:s},i)});if(r){var l=c.shape,d=o?"r":"endAngle",u={};l[d]=o?0:i.startAngle,u[d]=i[d],Ls[a?"updateProps":"initProps"](c,{shape:u},r,t)}return c}};function Kv(e,t,n){n.style.text=null,Ls.updateProps(n,{shape:{width:0}},t,e,function(){n.parent&&n.parent.remove(n)})}function Yv(e,t,n){n.style.text=null,Ls.updateProps(n,{shape:{r:n.shape.r0}},t,e,function(){n.parent&&n.parent.remove(n)})}var Zv={cartesian2d:function(e,t,n){var i=e.getItemLayout(t),o=function(e,t){var n=e.get(Gv)||0;return Math.min(n,Math.abs(t.width),Math.abs(t.height))}(n,i),r=i.width>0?1:-1,a=i.height>0?1:-1;return{x:i.x+r*o/2,y:i.y+a*o/2,width:i.width-r*o,height:i.height-a*o}},polar:function(e,t,n){var i=e.getItemLayout(t);return{cx:i.cx,cy:i.cy,r0:i.r0,r:i.r,startAngle:i.startAngle,endAngle:i.endAngle}}};function Xv(e,t,n,i,o,r,a,s){var c=t.getItemVisual(n,"color"),l=t.getItemVisual(n,"opacity"),d=i.getModel("itemStyle"),u=i.getModel("emphasis.itemStyle").getBarItemStyle();s||e.setShape("r",d.get("barBorderRadius")||0),e.useStyle(D.defaults({fill:c,opacity:l},d.getBarItemStyle()));var f=i.getShallow("cursor");f&&e.attr("cursor",f);var h=a?o.height>0?"bottom":"top":o.width>0?"left":"right";s||Wv(e.style,u,i,c,r,n,h),Ls.setHoverStyle(e,u)}var Qv=Or.extend({type:"largeBar",shape:{points:[]},buildPath:function(e,t){for(var n=t.points,i=this.__startPoint,o=this.__valueIdx,r=0;r<n.length;r+=2)i[this.__valueIdx]=n[r+o],e.moveTo(i[0],i[1]),e.lineTo(n[r],n[r+1])}});function Jv(e,t,n){var i=e.getData(),o=[],r=i.getLayout("valueAxisHorizontal")?1:0;o[1-r]=i.getLayout("valueAxisStart");var a=new Qv({shape:{points:i.getLayout("largePoints")},incremental:!!n,__startPoint:o,__valueIdx:r});t.add(a),function(e,t,n){var i=n.getVisual("borderColor")||n.getVisual("color"),o=t.getModel("itemStyle").getItemStyle(["color","borderColor"]);e.useStyle(o),e.style.fill=null,e.style.stroke=i,e.style.lineWidth=n.getLayout("barWidth")}(a,e,i)}var ey=Fp.layout,ty=Fp.largeLayout;mm.registerLayout(D.curry(ey,"bar")),mm.registerLayout(ty),mm.registerVisual({seriesType:"bar",reset:function(e){e.getData().setVisual("legendSymbol","roundRect")}});var ny=D.extend,iy=D.isArray;var oy=function(e,t,n){t=iy(t)&&{coordDimensions:t}||ny({},t);var i=e.getSource(),o=Kh(i,t),r=new Lh(o,e);return r.initData(i,n),r},ry={updateSelectedMap:function(e){this._targetList=D.isArray(e)?e.slice():[],this._selectTargetMap=D.reduce(e||[],function(e,t){return e.set(t.name,t),e},D.createHashMap())},select:function(e,t){var n=null!=t?this._targetList[t]:this._selectTargetMap.get(e);"single"===this.get("selectedMode")&&this._selectTargetMap.each(function(e){e.selected=!1}),n&&(n.selected=!0)},unSelect:function(e,t){var n=null!=t?this._targetList[t]:this._selectTargetMap.get(e);n&&(n.selected=!1)},toggleSelected:function(e,t){var n=null!=t?this._targetList[t]:this._selectTargetMap.get(e);if(null!=n)return this[n.selected?"unSelect":"select"](e,t),n.selected},isSelected:function(e,t){var n=null!=t?this._targetList[t]:this._selectTargetMap.get(e);return n&&n.selected}},ay=tc.getPercentWithPrecision,sy=Fd.retrieveRawAttr,cy=mm.extendSeriesModel({type:"series.pie",init:function(e){cy.superApply(this,"init",arguments),this.legendDataProvider=function(){return this.getRawData()},this.updateSelectedMap(this._createSelectableList()),this._defaultLabelLine(e)},mergeOption:function(e){cy.superCall(this,"mergeOption",e),this.updateSelectedMap(this._createSelectableList())},getInitialData:function(e,t){return oy(this,["value"])},_createSelectableList:function(){for(var e=this.getRawData(),t=e.mapDimension("value"),n=[],i=0,o=e.count();i<o;i++)n.push({name:e.getName(i),value:e.get(t,i),selected:sy(e,i,"selected")});return n},getDataParams:function(e){var t=this.getData(),n=cy.superCall(this,"getDataParams",e),i=[];return t.each(t.mapDimension("value"),function(e){i.push(e)}),n.percent=ay(i,e,t.hostModel.get("percentPrecision")),n.$vars.push("percent"),n},_defaultLabelLine:function(e){ro.defaultEmphasis(e,"labelLine",["show"]);var t=e.labelLine,n=e.emphasis.labelLine;t.show=t.show&&e.label.show,n.show=n.show&&e.emphasis.label.show},defaultOption:{zlevel:0,z:2,legendHoverLink:!0,hoverAnimation:!0,center:["50%","50%"],radius:[0,"75%"],clockwise:!0,startAngle:90,minAngle:0,selectedOffset:10,hoverOffset:10,avoidLabelOverlap:!0,percentPrecision:2,stillShowZeroSum:!0,label:{rotate:!1,show:!0,position:"outer"},labelLine:{show:!0,length:15,length2:15,smooth:!1,lineStyle:{width:1,type:"solid"}},itemStyle:{borderWidth:1},animationType:"expansion",animationEasing:"cubicOut"}});function ly(e,t,n,i){var o=t.getData(),r=this.dataIndex,a=o.getName(r),s=t.get("selectedOffset");i.dispatchAction({type:"pieToggleSelect",from:e,name:a,seriesId:t.id}),o.each(function(e){dy(o.getItemGraphicEl(e),o.getItemLayout(e),t.isSelected(o.getName(e)),s,n)})}function dy(e,t,n,i,o){var r=(t.startAngle+t.endAngle)/2,a=Math.cos(r),s=Math.sin(r),c=n?i:0,l=[a*c,s*c];o?e.animate().when(200,{position:l}).start("bounceOut"):e.attr("position",l)}function uy(e,t){Ls.Group.call(this);var n=new Ls.Sector({z2:2}),i=new Ls.Polyline,o=new Ls.Text;function r(){i.ignore=i.hoverIgnore,o.ignore=o.hoverIgnore}function a(){i.ignore=i.normalIgnore,o.ignore=o.normalIgnore}this.add(n),this.add(i),this.add(o),this.updateData(e,t,!0),this.on("emphasis",r).on("normal",a).on("mouseover",r).on("mouseout",a)}D.mixin(cy,ry);var fy=uy.prototype;fy.updateData=function(e,t,n){var i=this.childAt(0),o=e.hostModel,r=e.getItemModel(t),a=e.getItemLayout(t),s=D.extend({},a);(s.label=null,n)?(i.setShape(s),"scale"===o.getShallow("animationType")?(i.shape.r=a.r0,Ls.initProps(i,{shape:{r:a.r}},o,t)):(i.shape.endAngle=a.startAngle,Ls.updateProps(i,{shape:{endAngle:a.endAngle}},o,t))):Ls.updateProps(i,{shape:s},o,t);var c=e.getItemVisual(t,"color");i.useStyle(D.defaults({lineJoin:"bevel",fill:c},r.getModel("itemStyle").getItemStyle())),i.hoverStyle=r.getModel("emphasis.itemStyle").getItemStyle();var l=r.getShallow("cursor");function d(){i.stopAnimation(!0),i.animateTo({shape:{r:a.r+o.get("hoverOffset")}},300,"elasticOut")}function u(){i.stopAnimation(!0),i.animateTo({shape:{r:a.r}},300,"elasticOut")}l&&i.attr("cursor",l),dy(this,e.getItemLayout(t),o.isSelected(null,t),o.get("selectedOffset"),o.get("animation")),i.off("mouseover").off("mouseout").off("emphasis").off("normal"),r.get("hoverAnimation")&&o.isAnimationEnabled()&&i.on("mouseover",d).on("mouseout",u).on("emphasis",d).on("normal",u),this._updateLabel(e,t),Ls.setHoverStyle(this)},fy._updateLabel=function(e,t){var n=this.childAt(1),i=this.childAt(2),o=e.hostModel,r=e.getItemModel(t),a=e.getItemLayout(t).label,s=e.getItemVisual(t,"color");Ls.updateProps(n,{shape:{points:a.linePoints||[[a.x,a.y],[a.x,a.y],[a.x,a.y]]}},o,t),Ls.updateProps(i,{style:{x:a.x,y:a.y}},o,t),i.attr({rotation:a.rotation,origin:[a.x,a.y],z2:10});var c=r.getModel("label"),l=r.getModel("emphasis.label"),d=r.getModel("labelLine"),u=r.getModel("emphasis.labelLine");s=e.getItemVisual(t,"color");Ls.setLabelStyle(i.style,i.hoverStyle={},c,l,{labelFetcher:e.hostModel,labelDataIndex:t,defaultText:e.getName(t),autoColor:s,useInsideStyle:!!a.inside},{textAlign:a.textAlign,textVerticalAlign:a.verticalAlign,opacity:e.getItemVisual(t,"opacity")}),i.ignore=i.normalIgnore=!c.get("show"),i.hoverIgnore=!l.get("show"),n.ignore=n.normalIgnore=!d.get("show"),n.hoverIgnore=!u.get("show"),n.setStyle({stroke:s,opacity:e.getItemVisual(t,"opacity")}),n.setStyle(d.getModel("lineStyle").getLineStyle()),n.hoverStyle=u.getModel("lineStyle").getLineStyle();var f=d.get("smooth");f&&!0===f&&(f=.4),n.setShape({smooth:f})},D.inherits(uy,Ls.Group);Vu.extend({type:"pie",init:function(){var e=new Ls.Group;this._sectorGroup=e},render:function(e,t,n,i){if(!i||i.from!==this.uid){var o=e.getData(),r=this._data,a=this.group,s=t.get("animation"),c=!r,l=e.get("animationType"),d=D.curry(ly,this.uid,e,s,n),u=e.get("selectedMode");if(o.diff(r).add(function(e){var t=new uy(o,e);c&&"scale"!==l&&t.eachChild(function(e){e.stopAnimation(!0)}),u&&t.on("click",d),o.setItemGraphicEl(e,t),a.add(t)}).update(function(e,t){var n=r.getItemGraphicEl(t);n.updateData(o,e),n.off("click"),u&&n.on("click",d),a.add(n),o.setItemGraphicEl(e,n)}).remove(function(e){var t=r.getItemGraphicEl(e);a.remove(t)}).execute(),s&&c&&o.count()>0&&"scale"!==l){var f=o.getItemLayout(0),h=Math.max(n.getWidth(),n.getHeight())/2,p=D.bind(a.removeClipPath,a);a.setClipPath(this._createClipPath(f.cx,f.cy,h,f.startAngle,f.clockwise,p,e))}else a.removeClipPath();this._data=o}},dispose:function(){},_createClipPath:function(e,t,n,i,o,r,a){var s=new Ls.Sector({shape:{cx:e,cy:t,r0:0,r:n,startAngle:i,endAngle:i,clockwise:o}});return Ls.initProps(s,{shape:{endAngle:i+(o?1:-1)*Math.PI*2}},a,r),s},containPoint:function(e,t){var n=t.getData().getItemLayout(0);if(n){var i=e[0]-n.cx,o=e[1]-n.cy,r=Math.sqrt(i*i+o*o);return r<=n.r&&r>=n.r0}}});var hy=function(e,t){D.each(t,function(t){t.update="updateView",mm.registerAction(t,function(n,i){var o={};return i.eachComponent({mainType:"series",subType:e,query:n},function(e){e[t.method]&&e[t.method](n.name,n.dataIndex);var i=e.getData();i.each(function(t){var n=i.getName(t);o[n]=e.isSelected(n)||!1})}),{name:n.name,selected:o}})})},py=D.createHashMap;var gy=function(e){return{getTargetSeries:function(t){var n={},i=py();return t.eachSeriesByType(e,function(e){e.__paletteScope=n,i.set(e.uid,e)}),i},reset:function(e,t){var n=e.getRawData(),i={},o=e.getData();o.each(function(e){var t=o.getRawIndex(e);i[t]=e}),n.each(function(t){var r=i[t],a=null!=r&&o.getItemVisual(r,"color",!0);if(a)n.setItemVisual(t,"color",a);else{var s=n.getItemModel(t).get("itemStyle.color")||e.getColorFromPalette(n.getName(t)||t+"",e.__paletteScope,n.count());n.setItemVisual(t,"color",s),null!=r&&o.setItemVisual(r,"color",s)}})}}};function my(e,t,n,i,o,r,a){function s(t,n,i,o){for(var r=t;r<n;r++)if(e[r].y+=i,r>t&&r+1<n&&e[r+1].y>e[r].y+e[r].height)return void c(r,i/2);c(n-1,i/2)}function c(t,n){for(var i=t;i>=0&&(e[i].y-=n,!(i>0&&e[i].y>e[i-1].y+e[i-1].height));i--);}function l(e,t,n,i,o,r){for(var a=t?Number.MAX_VALUE:0,s=0,c=e.length;s<c;s++)if("center"!==e[s].position){var l=Math.abs(e[s].y-i),d=e[s].len,u=e[s].len2,f=l<o+d?Math.sqrt((o+d+u)*(o+d+u)-l*l):Math.abs(e[s].x-n);t&&f>=a&&(f=a-10),!t&&f<=a&&(f=a+10),e[s].x=n+f*r,a=f}}e.sort(function(e,t){return e.y-t.y});for(var d,u=0,f=e.length,h=[],p=[],g=0;g<f;g++)(d=e[g].y-u)<0&&s(g,f,-d),u=e[g].y+e[g].height;a-u<0&&c(f-1,u-a);for(g=0;g<f;g++)e[g].y>=n?p.push(e[g]):h.push(e[g]);l(h,!1,t,n,i,o),l(p,!0,t,n,i,o)}var by=function(e,t,n,i){var o,r,a=e.getData(),s=[],c=!1;a.each(function(n){var i,l,d,u,f=a.getItemLayout(n),h=a.getItemModel(n),p=h.getModel("label"),g=p.get("position")||h.get("emphasis.label.position"),m=h.getModel("labelLine"),b=m.get("length"),v=m.get("length2"),y=(f.startAngle+f.endAngle)/2,_=Math.cos(y),w=Math.sin(y);o=f.cx,r=f.cy;var x="inside"===g||"inner"===g;if("center"===g)i=f.cx,l=f.cy,u="center";else{var S=(x?(f.r+f.r0)/2*_:f.r*_)+o,T=(x?(f.r+f.r0)/2*w:f.r*w)+r;if(i=S+3*_,l=T+3*w,!x){var k=S+_*(b+t-f.r),C=T+w*(b+t-f.r),j=k+(_<0?-1:1)*v;i=j+(_<0?-5:5),l=C,d=[[S,T],[k,C],[j,C]]}u=x?"center":_>0?"left":"right"}var A=p.getFont(),E=p.get("rotate")?_<0?-y+Math.PI:-y:0,I=e.getFormattedLabel(n,"normal")||a.getName(n),M=Bn.getBoundingRect(I,A,u,"top");c=!!E,f.label={x:i,y:l,position:g,height:M.height,len:b,len2:v,linePoints:d,textAlign:u,verticalAlign:"middle",rotation:E,inside:x},x||s.push(f.label)}),!c&&e.get("avoidLabelOverlap")&&function(e,t,n,i,o,r){for(var a=[],s=[],c=0;c<e.length;c++)e[c].x<t?a.push(e[c]):s.push(e[c]);for(my(s,t,n,i,1,0,r),my(a,t,n,i,-1,0,r),c=0;c<e.length;c++){var l=e[c].linePoints;if(l){var d=l[1][0]-l[2][0];e[c].x<t?l[2][0]=e[c].x+3:l[2][0]=e[c].x-3,l[1][1]=l[2][1]=e[c].y,l[1][0]=l[2][0]+d}}}(s,o,r,t,0,i)},vy=tc.parsePercent,yy=tc.linearMap,_y=2*Math.PI,wy=Math.PI/180;var xy=function(e,t,n,i){t.eachSeriesByType(e,function(e){var t=e.getData(),i=t.mapDimension("value"),o=e.get("center"),r=e.get("radius");D.isArray(r)||(r=[0,r]),D.isArray(o)||(o=[o,o]);var a=n.getWidth(),s=n.getHeight(),c=Math.min(a,s),l=vy(o[0],a),d=vy(o[1],s),u=vy(r[0],c/2),f=vy(r[1],c/2),h=-e.get("startAngle")*wy,p=e.get("minAngle")*wy,g=0;t.each(i,function(e){!isNaN(e)&&g++});var m=t.getSum(i),b=Math.PI/(m||g)*2,v=e.get("clockwise"),y=e.get("roseType"),_=e.get("stillShowZeroSum"),w=t.getDataExtent(i);w[0]=0;var x=_y,S=0,T=h,k=v?1:-1;if(t.each(i,function(e,n){var i;if(isNaN(e))t.setItemLayout(n,{angle:NaN,startAngle:NaN,endAngle:NaN,clockwise:v,cx:l,cy:d,r0:u,r:y?NaN:f});else{(i="area"!==y?0===m&&_?b:e*b:_y/g)<p?(i=p,x-=p):S+=e;var o=T+k*i;t.setItemLayout(n,{angle:i,startAngle:T,endAngle:o,clockwise:v,cx:l,cy:d,r0:u,r:y?yy(e,w,[u,f]):f}),T=o}}),x<_y&&g)if(x<=.001){var C=_y/g;t.each(i,function(e,n){if(!isNaN(e)){var i=t.getItemLayout(n);i.angle=C,i.startAngle=h+k*n*C,i.endAngle=h+k*(n+1)*C}})}else b=x/S,T=h,t.each(i,function(e,n){if(!isNaN(e)){var i=t.getItemLayout(n),o=i.angle===p?p:e*b;i.startAngle=T,i.endAngle=T+k*o,T+=k*o}});by(e,f,a,s)})};var Sy=function(e){return{seriesType:e,reset:function(e,t){var n=t.findComponents({mainType:"legend"});if(n&&n.length){var i=e.getData();i.filterSelf(function(e){for(var t=i.getName(e),o=0;o<n.length;o++)if(!n[o].isSelected(t))return!1;return!0})}}}};hy("pie",[{type:"pieToggleSelect",event:"pieselectchanged",method:"toggleSelected"},{type:"pieSelect",event:"pieselected",method:"select"},{type:"pieUnSelect",event:"pieunselected",method:"unSelect"}]),mm.registerVisual(gy("pie")),mm.registerLayout(D.curry(xy,"pie")),mm.registerProcessor(Sy("pie"));bu.extend({type:"series.scatter",dependencies:["grid","polar","geo","singleAxis","calendar"],getInitialData:function(e,t){return op(this.getSource(),this)},brushSelector:"point",getProgressive:function(){var e=this.option.progressive;return null==e?this.option.large?5e3:this.get("progressive"):e},getProgressiveThreshold:function(){var e=this.option.progressiveThreshold;return null==e?this.option.large?1e4:this.get("progressiveThreshold"):e},defaultOption:{coordinateSystem:"cartesian2d",zlevel:0,z:2,legendHoverLink:!0,hoverAnimation:!0,symbolSize:10,large:!1,largeThreshold:2e3,itemStyle:{opacity:.8}}});var Ty=vg.createSymbol,ky=Ls.extendShape({shape:{points:null},symbolProxy:null,buildPath:function(e,t){var n=t.points,i=t.size,o=this.symbolProxy,r=o.shape;if(!((e.getContext?e.getContext():e)&&i[0]<4))for(var a=0;a<n.length;){var s=n[a++],c=n[a++];isNaN(s)||isNaN(c)||(r.x=s-i[0]/2,r.y=c-i[1]/2,r.width=i[0],r.height=i[1],o.buildPath(e,r,!0))}},afterBrush:function(e){var t=this.shape,n=t.points,i=t.size;if(i[0]<4){this.setTransform(e);for(var o=0;o<n.length;){var r=n[o++],a=n[o++];isNaN(r)||isNaN(a)||e.fillRect(r-i[0]/2,a-i[1]/2,i[0],i[1])}this.restoreTransform(e)}},findDataIndex:function(e,t){for(var n=this.shape,i=n.points,o=n.size,r=Math.max(o[0],4),a=Math.max(o[1],4),s=i.length/2-1;s>=0;s--){var c=2*s,l=i[c]-r/2,d=i[c+1]-a/2;if(e>=l&&t>=d&&e<=l+r&&t<=d+a)return s}return-1}});function Cy(){this.group=new Ls.Group}var jy=Cy.prototype;jy.isPersistent=function(){return!this._incremental},jy.updateData=function(e){this.group.removeAll();var t=new ky({rectHover:!0,cursor:"default"});t.setShape({points:e.getLayout("symbolPoints")}),this._setCommon(t,e),this.group.add(t),this._incremental=null},jy.updateLayout=function(e){if(!this._incremental){var t=e.getLayout("symbolPoints");this.group.eachChild(function(e){if(null!=e.startIndex){var n=2*(e.endIndex-e.startIndex),i=4*e.startIndex*2;t=new Float32Array(t.buffer,i,n)}e.setShape("points",t)})}},jy.incrementalPrepareUpdate=function(e){this.group.removeAll(),this._clearIncremental(),e.count()>2e6?(this._incremental||(this._incremental=new Ba({silent:!0})),this.group.add(this._incremental)):this._incremental=null},jy.incrementalUpdate=function(e,t){var n;this._incremental?(n=new ky,this._incremental.addDisplayable(n,!0)):((n=new ky({rectHover:!0,cursor:"default",startIndex:e.start,endIndex:e.end})).incremental=!0,this.group.add(n)),n.setShape({points:t.getLayout("symbolPoints")}),this._setCommon(n,t,!!this._incremental)},jy._setCommon=function(e,t,n){var i=t.hostModel,o=t.getVisual("symbolSize");e.setShape("size",o instanceof Array?o:[o,o]),e.symbolProxy=Ty(t.getVisual("symbol"),0,0,0,0),e.setColor=e.symbolProxy.setColor;var r=e.shape.size[0]<4;e.useStyle(i.getModel("itemStyle").getItemStyle(r?["color","shadowBlur","shadowColor"]:["color"]));var a=t.getVisual("color");a&&e.setColor(a),n||(e.seriesIndex=i.seriesIndex,e.on("mousemove",function(t){e.dataIndex=null;var n=e.findDataIndex(t.offsetX,t.offsetY);n>=0&&(e.dataIndex=n+(e.startIndex||0))}))},jy.remove=function(){this._clearIncremental(),this._incremental=null,this.group.removeAll()},jy._clearIncremental=function(){var e=this._incremental;e&&e.clearDisplaybles()};var Ay=Cy;function Ey(e,t,n){Qg.call(this,e,t,n),this.type="value",this.angle=0,this.name="",this.model}mm.extendChartView({type:"scatter",render:function(e,t,n){var i=e.getData();this._updateSymbolDraw(i,e).updateData(i),this._finished=!0},incrementalPrepareRender:function(e,t,n){var i=e.getData();this._updateSymbolDraw(i,e).incrementalPrepareUpdate(i),this._finished=!1},incrementalRender:function(e,t,n){this._symbolDraw.incrementalUpdate(e,t.getData()),this._finished=e.end===t.getData().count()},updateTransform:function(e,t,n){var i=e.getData();if(this.group.dirty(),!this._finished||i.count()>1e4||!this._symbolDraw.isPersistent())return{update:!0};var o=_b().reset(e);o.progress&&o.progress({start:0,end:i.count()},i),this._symbolDraw.updateLayout(i)},_updateSymbolDraw:function(e,t){var n=this._symbolDraw,i=t.pipelineContext.large;return n&&i===this._isLargeDraw||(n&&n.remove(),n=this._symbolDraw=i?new Ay:new Hm,this._isLargeDraw=i,this.group.removeAll()),this.group.add(n.group),n},remove:function(e,t){this._symbolDraw&&this._symbolDraw.remove(!0),this._symbolDraw=null},dispose:function(){}}),mm.registerVisual(bb("scatter","circle")),mm.registerLayout(_b("scatter")),D.inherits(Ey,Qg);var Iy=Ey,My=sg.getScaleExtent,Oy=sg.niceScaleExtent;function Dy(e,t,n){this._model=e,this.dimensions=[],this._indicatorAxes=D.map(e.getIndicatorModels(),function(e,t){var n="indicator_"+t,i=new Iy(n,new kp);return i.name=e.get("name"),i.model=e,e.axis=i,this.dimensions.push(n),i},this),this.resize(e,n),this.cx,this.cy,this.r,this.r0,this.startAngle}Dy.prototype.getIndicatorAxes=function(){return this._indicatorAxes},Dy.prototype.dataToPoint=function(e,t){var n=this._indicatorAxes[t];return this.coordToPoint(n.dataToCoord(e),t)},Dy.prototype.coordToPoint=function(e,t){var n=this._indicatorAxes[t].angle;return[this.cx+e*Math.cos(n),this.cy-e*Math.sin(n)]},Dy.prototype.pointToData=function(e){var t=e[0]-this.cx,n=e[1]-this.cy,i=Math.sqrt(t*t+n*n);t/=i,n/=i;for(var o,r=Math.atan2(-n,t),a=1/0,s=-1,c=0;c<this._indicatorAxes.length;c++){var l=this._indicatorAxes[c],d=Math.abs(r-l.angle);d<a&&(o=l,s=c,a=d)}return[s,+(o&&o.coodToData(i))]},Dy.prototype.resize=function(e,t){var n=e.get("center"),i=t.getWidth(),o=t.getHeight(),r=Math.min(i,o)/2;this.cx=tc.parsePercent(n[0],i),this.cy=tc.parsePercent(n[1],o),this.startAngle=e.get("startAngle")*Math.PI/180;var a=e.get("radius");"string"!=typeof a&&"number"!=typeof a||(a=[0,a]),this.r0=tc.parsePercent(a[0],r),this.r=tc.parsePercent(a[1],r),D.each(this._indicatorAxes,function(e,t){e.setExtent(this.r0,this.r);var n=this.startAngle+t*Math.PI*2/this._indicatorAxes.length;n=Math.atan2(Math.sin(n),Math.cos(n)),e.angle=n},this)},Dy.prototype.update=function(e,t){var n=this._indicatorAxes,i=this._model;D.each(n,function(e){e.scale.setExtent(1/0,-1/0)}),e.eachSeriesByType("radar",function(t,o){if("radar"===t.get("coordinateSystem")&&e.getComponent("radar",t.get("radarIndex"))===i){var r=t.getData();D.each(n,function(e){e.scale.unionExtentFromData(r,r.mapDimension(e.dim))})}},this);var o=i.get("splitNumber");function r(e){var t=Math.pow(10,Math.floor(Math.log(e)/Math.LN10)),n=e/t;return 2===n?n=5:n*=2,n*t}D.each(n,function(e,t){var n=My(e.scale,e.model);Oy(e.scale,e.model);var i=e.model,a=e.scale,s=i.getMin(),c=i.getMax(),l=a.getInterval();if(null!=s&&null!=c)a.setExtent(+s,+c),a.setInterval((c-s)/o);else if(null!=s){var d;do{d=s+l*o,a.setExtent(+s,d),a.setInterval(l),l=r(l)}while(d<n[1]&&isFinite(d)&&isFinite(n[1]))}else if(null!=c){var u;do{u=c-l*o,a.setExtent(u,+c),a.setInterval(l),l=r(l)}while(u>n[0]&&isFinite(u)&&isFinite(n[0]))}else{a.getTicks().length-1>o&&(l=r(l));var f=Math.round((n[0]+n[1])/2/l)*l,h=Math.round(o/2);a.setExtent(tc.round(f-h*l),tc.round(f+(o-h)*l)),a.setInterval(l)}})},Dy.dimensions=[],Dy.create=function(e,t){var n=[];return e.eachComponent("radar",function(i){var o=new Dy(i,e,t);n.push(o),i.coordinateSystem=o}),e.eachSeriesByType("radar",function(e){"radar"===e.get("coordinateSystem")&&(e.coordinateSystem=n[e.get("radarIndex")||0])}),n},zl.register("radar",Dy);var Vy=Db.valueAxis;function Ly(e,t){return D.defaults({show:t},e)}mm.extendComponentModel({type:"radar",optionUpdated:function(){var e=this.get("boundaryGap"),t=this.get("splitNumber"),n=this.get("scale"),i=this.get("axisLine"),o=this.get("axisTick"),r=this.get("axisLabel"),a=this.get("name"),s=this.get("name.show"),c=this.get("name.formatter"),l=this.get("nameGap"),d=this.get("triggerEvent"),u=D.map(this.get("indicator")||[],function(u){null!=u.max&&u.max>0&&!u.min?u.min=0:null!=u.min&&u.min<0&&!u.max&&(u.max=0);var f=a;if(null!=u.color&&(f=D.defaults({color:u.color},a)),u=D.merge(D.clone(u),{boundaryGap:e,splitNumber:t,scale:n,axisLine:i,axisTick:o,axisLabel:r,name:u.text,nameLocation:"end",nameGap:l,nameTextStyle:f,triggerEvent:d},!1),s||(u.name=""),"string"==typeof c){var h=u.name;u.name=c.replace("{value}",null!=h?h:"")}else"function"==typeof c&&(u.name=c(u.name,u));var p=D.extend(new Ks(u,null,this.ecModel),cg);return p.mainType="radar",p.componentIndex=this.componentIndex,p},this);this.getIndicatorModels=function(){return u}},defaultOption:{zlevel:0,z:0,center:["50%","50%"],radius:"75%",startAngle:90,name:{show:!0},boundaryGap:[0,0],splitNumber:5,nameGap:15,scale:!1,shape:"polygon",axisLine:D.merge({lineStyle:{color:"#bbb"}},Vy.axisLine),axisLabel:Ly(Vy.axisLabel,!1),axisTick:Ly(Vy.axisTick,!1),splitLine:Ly(Vy.splitLine,!0),splitArea:Ly(Vy.splitArea,!0),indicator:[]}});var Py=["axisLine","axisTickLabel","axisName"],Ny=(mm.extendComponentView({type:"radar",render:function(e,t,n){this.group.removeAll(),this._buildAxes(e),this._buildSplitLineAndArea(e)},_buildAxes:function(e){var t=e.coordinateSystem,n=t.getIndicatorAxes(),i=D.map(n,function(e){return new xv(e.model,{position:[t.cx,t.cy],rotation:e.angle,labelDirection:-1,tickDirection:-1,nameDirection:1})});D.each(i,function(e){D.each(Py,e.add,e),this.group.add(e.getGroup())},this)},_buildSplitLineAndArea:function(e){var t=e.coordinateSystem,n=t.getIndicatorAxes();if(n.length){var i=e.get("shape"),o=e.getModel("splitLine"),r=e.getModel("splitArea"),a=o.getModel("lineStyle"),s=r.getModel("areaStyle"),c=o.get("show"),l=r.get("show"),d=a.get("color"),u=s.get("color");d=D.isArray(d)?d:[d],u=D.isArray(u)?u:[u];var f=[],h=[];if("circle"===i)for(var p=n[0].getTicksCoords(),g=t.cx,m=t.cy,b=0;b<p.length;b++){if(c)f[k(f,d,b)].push(new Ls.Circle({shape:{cx:g,cy:m,r:p[b].coord}}));if(l&&b<p.length-1)h[k(h,u,b)].push(new Ls.Ring({shape:{cx:g,cy:m,r0:p[b].coord,r:p[b+1].coord}}))}else{var v,y=D.map(n,function(e,n){var i=e.getTicksCoords();return v=null==v?i.length-1:Math.min(i.length-1,v),D.map(i,function(e){return t.coordToPoint(e.coord,n)})}),_=[];for(b=0;b<=v;b++){for(var w=[],x=0;x<n.length;x++)w.push(y[x][b]);if(w[0]&&w.push(w[0].slice()),c)f[k(f,d,b)].push(new Ls.Polyline({shape:{points:w}}));if(l&&_)h[k(h,u,b-1)].push(new Ls.Polygon({shape:{points:w.concat(_)}}));_=w.slice().reverse()}}var S=a.getLineStyle(),T=s.getAreaStyle();D.each(h,function(e,t){this.group.add(Ls.mergePath(e,{style:D.defaults({stroke:"none",fill:u[t%u.length]},T),silent:!0}))},this),D.each(f,function(e,t){this.group.add(Ls.mergePath(e,{style:D.defaults({fill:"none",stroke:d[t%d.length]},S),silent:!0}))},this)}function k(e,t,n){var i=n%t.length;return e[i]=e[i]||[],i}}}),cc.encodeHTML),Ry=bu.extend({type:"series.radar",dependencies:["radar"],init:function(e){Ry.superApply(this,"init",arguments),this.legendDataProvider=function(){return this.getRawData()}},getInitialData:function(e,t){return oy(this,{generateCoord:"indicator_",generateCoordCount:1/0})},formatTooltip:function(e){var t=this.getData(),n=this.coordinateSystem.getIndicatorAxes(),i=this.getData().getName(e);return Ny(""===i?this.name:i)+"<br/>"+D.map(n,function(n,i){var o=t.get(t.mapDimension(n.dim),e);return Ny(n.name+" : "+o)}).join("<br />")},defaultOption:{zlevel:0,z:2,coordinateSystem:"radar",legendHoverLink:!0,radarIndex:0,lineStyle:{width:2,type:"solid"},label:{position:"top"},symbol:"emptyCircle",symbolSize:4}});mm.extendChartView({type:"radar",render:function(e,t,n){var i=e.coordinateSystem,o=this.group,r=e.getData(),a=this._data;function s(e,t){var n=e.getItemVisual(t,"symbol")||"circle",i=e.getItemVisual(t,"color");if("none"!==n){var o=function(e){return D.isArray(e)||(e=[+e,+e]),e}(e.getItemVisual(t,"symbolSize")),r=vg.createSymbol(n,-1,-1,2,2,i);return r.attr({style:{strokeNoScale:!0},z2:100,scale:[o[0]/2,o[1]/2]}),r}}function c(t,n,i,o,r,a){i.removeAll();for(var c=0;c<n.length-1;c++){var l=s(o,r);l&&(l.__dimIdx=c,t[c]?(l.attr("position",t[c]),Ls[a?"initProps":"updateProps"](l,{position:n[c]},e,r)):l.attr("position",n[c]),i.add(l))}}function l(e){return D.map(e,function(e){return[i.cx,i.cy]})}r.diff(a).add(function(t){var n=r.getItemLayout(t);if(n){var i=new Ls.Polygon,o=new Ls.Polyline,a={shape:{points:n}};i.shape.points=l(n),o.shape.points=l(n),Ls.initProps(i,a,e,t),Ls.initProps(o,a,e,t);var s=new Ls.Group,d=new Ls.Group;s.add(o),s.add(i),s.add(d),c(o.shape.points,n,d,r,t,!0),r.setItemGraphicEl(t,s)}}).update(function(t,n){var i=a.getItemGraphicEl(n),o=i.childAt(0),s=i.childAt(1),l=i.childAt(2),d={shape:{points:r.getItemLayout(t)}};d.shape.points&&(c(o.shape.points,d.shape.points,l,r,t,!1),Ls.updateProps(o,d,e),Ls.updateProps(s,d,e),r.setItemGraphicEl(t,i))}).remove(function(e){o.remove(a.getItemGraphicEl(e))}).execute(),r.eachItemGraphicEl(function(e,t){var n=r.getItemModel(t),i=e.childAt(0),a=e.childAt(1),s=e.childAt(2),c=r.getItemVisual(t,"color");o.add(e),i.useStyle(D.defaults(n.getModel("lineStyle").getLineStyle(),{fill:"none",stroke:c})),i.hoverStyle=n.getModel("emphasis.lineStyle").getLineStyle();var l=n.getModel("areaStyle"),d=n.getModel("emphasis.areaStyle"),u=l.isEmpty()&&l.parentModel.isEmpty(),f=d.isEmpty()&&d.parentModel.isEmpty();f=f&&u,a.ignore=u,a.useStyle(D.defaults(l.getAreaStyle(),{fill:c,opacity:.7})),a.hoverStyle=d.getAreaStyle();var h=n.getModel("itemStyle").getItemStyle(["color"]),p=n.getModel("emphasis.itemStyle").getItemStyle(),g=n.getModel("label"),m=n.getModel("emphasis.label");function b(){a.attr("ignore",f)}function v(){a.attr("ignore",u)}s.eachChild(function(e){e.setStyle(h),e.hoverStyle=D.clone(p),Ls.setLabelStyle(e.style,e.hoverStyle,g,m,{labelFetcher:r.hostModel,labelDataIndex:t,labelDimIndex:e.__dimIdx,defaultText:r.get(r.dimensions[e.__dimIdx],t),autoColor:c,isRectText:!0})}),e.off("mouseover").off("mouseout").off("normal").off("emphasis"),e.on("emphasis",b).on("mouseover",b).on("normal",v).on("mouseout",v),Ls.setHoverStyle(e)}),this._data=r},remove:function(){this.group.removeAll(),this._data=null},dispose:function(){}});var Fy=function(e){e.eachSeriesByType("radar",function(e){var t=e.getData(),n=[],i=e.coordinateSystem;if(i){for(var o=i.getIndicatorAxes(),r=0;r<o.length;r++)t.each(t.mapDimension(o[r].dim),a);t.each(function(e){n[e][0]&&n[e].push(n[e][0].slice()),t.setItemLayout(e,n[e])})}function a(e,t){n[t]=n[t]||[],n[t][r]=i.dataToPoint(e,r)}})};var By=function(e){var t=e.polar;if(t){D.isArray(t)||(t=[t]);var n=[];D.each(t,function(t,i){t.indicator?(t.type&&!t.shape&&(t.shape=t.type),e.radar=e.radar||[],D.isArray(e.radar)||(e.radar=[e.radar]),e.radar.push(t)):n.push(t)}),e.polar=n}D.each(e.series,function(e){e&&"radar"===e.type&&e.polarIndex&&(e.radarIndex=e.polarIndex)})};mm.registerVisual(gy("radar")),mm.registerVisual(bb("radar","circle")),mm.registerLayout(Fy),mm.registerProcessor(Sy("radar")),mm.registerPreprocessor(By);var zy=F.applyTransform;function Hy(){ye.call(this)}function $y(e){this.name=e,this.zoomLimit,ye.call(this),this._roamTransformable=new Hy,this._rawTransformable=new Hy,this._center,this._zoom}function qy(e,t,n,i){var o=n.seriesModel,r=o?o.coordinateSystem:null;return r===this?r[e](i):null}D.mixin(Hy,ye),$y.prototype={constructor:$y,type:"view",dimensions:["x","y"],setBoundingRect:function(e,t,n,i){return this._rect=new Vt(e,t,n,i),this._rect},getBoundingRect:function(){return this._rect},setViewRect:function(e,t,n,i){this.transformTo(e,t,n,i),this._viewRect=new Vt(e,t,n,i)},transformTo:function(e,t,n,i){var o=this.getBoundingRect(),r=this._rawTransformable;r.transform=o.calculateTransform(new Vt(e,t,n,i)),r.decomposeTransform(),this._updateTransform()},setCenter:function(e){e&&(this._center=e,this._updateCenterAndZoom())},setZoom:function(e){e=e||1;var t=this.zoomLimit;t&&(null!=t.max&&(e=Math.min(t.max,e)),null!=t.min&&(e=Math.max(t.min,e))),this._zoom=e,this._updateCenterAndZoom()},getDefaultCenter:function(){var e=this.getBoundingRect();return[e.x+e.width/2,e.y+e.height/2]},getCenter:function(){return this._center||this.getDefaultCenter()},getZoom:function(){return this._zoom||1},getRoamTransform:function(){return this._roamTransformable.getLocalTransform()},_updateCenterAndZoom:function(){var e=this._rawTransformable.getLocalTransform(),t=this._roamTransformable,n=this.getDefaultCenter(),i=this.getCenter(),o=this.getZoom();i=F.applyTransform([],i,e),n=F.applyTransform([],n,e),t.origin=i,t.position=[n[0]-i[0],n[1]-i[1]],t.scale=[o,o],this._updateTransform()},_updateTransform:function(){var e=this._roamTransformable,t=this._rawTransformable;t.parent=e,e.updateTransform(),t.updateTransform(),de.copy(this.transform||(this.transform=[]),t.transform||de.create()),this._rawTransform=t.getLocalTransform(),this.invTransform=this.invTransform||[],de.invert(this.invTransform,this.transform),this.decomposeTransform()},getViewRect:function(){return this._viewRect},getViewRectAfterRoam:function(){var e=this.getBoundingRect().clone();return e.applyTransform(this.transform),e},dataToPoint:function(e,t,n){var i=t?this._rawTransform:this.transform;return n=n||[],i?zy(n,e,i):F.copy(n,e)},pointToData:function(e){var t=this.invTransform;return t?zy([],e,t):[e[0],e[1]]},convertToPixel:D.curry(qy,"dataToPoint"),convertFromPixel:D.curry(qy,"pointToData"),containPoint:function(e){return this.getViewRectAfterRoam().contain(e[0],e[1])}},D.mixin($y,ye);for(var Wy=$y,Gy=[126,25],Uy=[[[0,3.5],[7,11.2],[15,11.9],[30,7],[42,.7],[52,.7],[56,7.7],[59,.7],[64,.7],[64,0],[5,0],[0,3.5]],[[13,16.1],[19,14.7],[16,21.7],[11,23.1],[13,16.1]],[[12,32.2],[14,38.5],[15,38.5],[13,32.2],[12,32.2]],[[16,47.6],[12,53.2],[13,53.2],[18,47.6],[16,47.6]],[[6,64.4],[8,70],[9,70],[8,64.4],[6,64.4]],[[23,82.6],[29,79.8],[30,79.8],[25,82.6],[23,82.6]],[[37,70.7],[43,62.3],[44,62.3],[39,70.7],[37,70.7]],[[48,51.1],[51,45.5],[53,45.5],[50,51.1],[48,51.1]],[[51,35],[51,28.7],[53,28.7],[53,35],[51,35]],[[52,22.4],[55,17.5],[56,17.5],[53,22.4],[52,22.4]],[[58,12.6],[62,7],[63,7],[60,12.6],[58,12.6]],[[0,3.5],[0,93.1],[64,93.1],[64,0],[63,0],[63,92.4],[1,92.4],[1,3.5],[0,3.5]]],Ky=0;Ky<Uy.length;Ky++)for(var Yy=0;Yy<Uy[Ky].length;Yy++)Uy[Ky][Yy][0]/=10.5,Uy[Ky][Yy][1]/=-14,Uy[Ky][Yy][0]+=Gy[0],Uy[Ky][Yy][1]+=Gy[1];var Zy=function(e,t){"china"===e&&t.push(new Ag("南海诸岛",D.map(Uy,function(e){return{type:"polygon",exterior:e}}),Gy))},Xy={"南海诸岛":[32,80],"广东":[0,-10],"香港":[10,5],"澳门":[-10,10],"天津":[5,5]};var Qy=function(e,t){if("china"===e){var n=Xy[t.name];if(n){var i=t.center;i[0]+=n[0]/10.5,i[1]+=-n[1]/14}}},Jy={Russia:[100,60],"United States":[-99,38],"United States of America":[-99,38]};var e_=function(e,t){if("world"===e){var n=Jy[t.name];if(n){var i=t.center;i[0]=n[0],i[1]=n[1]}}},t_=[[[123.45165252685547,25.73527164402261],[123.49731445312499,25.73527164402261],[123.49731445312499,25.750734064600884],[123.45165252685547,25.750734064600884],[123.45165252685547,25.73527164402261]]];var n_=function(e,t){"china"===e&&"台湾"===t.name&&t.geometries.push({type:"polygon",exterior:t_[0]})},i_=D.each,o_=(0,ro.makeInner)();var r_={load:function(e,t){var n=o_(t).parsed;if(n)return n;var i,o=t.specialAreas||{},r=t.geoJSON;try{i=r?Ig(r):[]}catch(e){throw new Error("Invalid geoJson format\n"+e.message)}return i_(i,function(t){var n=t.name;Qy(e,t),e_(e,t),n_(e,t);var i=o[n];i&&t.transformTo(i.left,i.top,i.width,i.height)}),Zy(e,i),o_(t).parsed={regions:i,boundingRect:function(e){for(var t,n=0;n<e.length;n++){var i=e[n].getBoundingRect();(t=t||i.clone()).union(i)}return t}(i)}}},a_=Kf.parseSVG,s_=Kf.makeViewBoxTransform,c_=D.assert,l_=D.createHashMap,d_=(0,ro.makeInner)();function u_(e,t){var n,i,o=e.svgXML;try{i=(n=o&&a_(o,{ignoreViewBox:!0,ignoreRootClip:!0})||{}).root,c_(null!=i)}catch(e){throw new Error("Invalid svg format\n"+e.message)}var r=n.width,a=n.height,s=n.viewBoxRect;if(t||(t=null==r||null==a?i.getBoundingRect():new Vt(0,0,0,0),null!=r&&(t.width=r),null!=a&&(t.height=a)),s){var c=s_(s,t.width,t.height),l=i;(i=new Pt).add(l),l.scale=c.scale,l.position=c.position}return i.setClipPath(new va({shape:t.plain()})),{root:i,boundingRect:t}}var f_={load:function(e,t){var n=d_(t).originRoot;if(n)return{root:n,boundingRect:d_(t).boundingRect};var i=u_(t);return d_(t).originRoot=i.root,d_(t).boundingRect=i.boundingRect,i},makeGraphic:function(e,t,n){var i=d_(t),o=i.rootMap||(i.rootMap=l_()),r=o.get(n);if(r)return r;var a=i.originRoot,s=i.boundingRect;return i.originRootHostKey?r=u_(t,s).root:(i.originRootHostKey=n,r=a),o.set(n,r)},removeGraphic:function(e,t,n){var i=d_(t),o=i.rootMap;o&&o.removeKey(n),n===i.originRootHostKey&&(i.originRootHostKey=null)}},h_=D.each,p_=D.createHashMap,g_={geoJSON:r_,svg:f_};function m_(e){return function(t,n){var i=b_(t),o=[];return h_(i,function(i){var r=g_[i.type][e];r&&o.push(r(t,i,n))}),o}}function b_(e){return ih.retrieveMap(e)||[]}var v_={load:function(e,t){var n,i=[],o=p_(),r=p_(),a=b_(e);return h_(a,function(a){var s=g_[a.type].load(e,a);h_(s.regions,function(e){var n=e.name;t&&t.hasOwnProperty(n)&&(e=e.cloneShallow(n=t[n])),i.push(e),o.set(n,e),r.set(n,e.center)});var c=s.boundingRect;c&&(n?n.union(c):n=c.clone())}),{regions:i,regionsMap:o,nameCoordMap:r,boundingRect:n||new Vt(0,0,0,0)}},makeGraphic:m_("makeGraphic"),removeGraphic:m_("removeGraphic")};function y_(e,t,n,i){Wy.call(this,e),this.map=t;var o=v_.load(t,n);this._nameCoordMap=o.nameCoordMap,this._regionsMap=o.nameCoordMap,this._invertLongitute=null==i||i,this.regions=o.regions,this._rect=o.boundingRect}function __(e,t,n,i){var o=n.geoModel,r=n.seriesModel,a=o?o.coordinateSystem:r?r.coordinateSystem||(r.getReferringComponents("geo")[0]||{}).coordinateSystem:null;return a===this?a[e](i):null}y_.prototype={constructor:y_,type:"geo",dimensions:["lng","lat"],containCoord:function(e){for(var t=this.regions,n=0;n<t.length;n++)if(t[n].contain(e))return!0;return!1},transformTo:function(e,t,n,i){var o=this.getBoundingRect(),r=this._invertLongitute;o=o.clone(),r&&(o.y=-o.y-o.height);var a=this._rawTransformable;if(a.transform=o.calculateTransform(new Vt(e,t,n,i)),a.decomposeTransform(),r){var s=a.scale;s[1]=-s[1]}a.updateTransform(),this._updateTransform()},getRegion:function(e){return this._regionsMap.get(e)},getRegionByCoord:function(e){for(var t=this.regions,n=0;n<t.length;n++)if(t[n].contain(e))return t[n]},addGeoCoord:function(e,t){this._nameCoordMap.set(e,t)},getGeoCoord:function(e){return this._nameCoordMap.get(e)},getBoundingRect:function(){return this._rect},dataToPoint:function(e,t,n){if("string"==typeof e&&(e=this.getGeoCoord(e)),e)return Wy.prototype.dataToPoint.call(this,e,t,n)},convertToPixel:D.curry(__,"dataToPoint"),convertFromPixel:D.curry(__,"pointToData")},D.mixin(y_,Wy);var w_=y_;function x_(e,t){var n=e.get("boundingCoords");if(null!=n){var i=n[0],o=n[1];isNaN(i[0])||isNaN(i[1])||isNaN(o[0])||isNaN(o[1])||this.setBoundingRect(i[0],i[1],o[0]-i[0],o[1]-i[1])}var r,a=this.getBoundingRect(),s=e.get("layoutCenter"),c=e.get("layoutSize"),l=t.getWidth(),d=t.getHeight(),u=a.width/a.height*this.aspectScale,f=!1;if(s&&c&&(s=[tc.parsePercent(s[0],l),tc.parsePercent(s[1],d)],c=tc.parsePercent(c,Math.min(l,d)),isNaN(s[0])||isNaN(s[1])||isNaN(c)||(f=!0)),f){var h={};u>1?(h.width=c,h.height=c/u):(h.height=c,h.width=c*u),h.y=s[1]-h.height/2,h.x=s[0]-h.width/2}else(r=e.getBoxLayoutParams()).aspect=u,h=yc.getLayoutRect(r,{width:l,height:d});this.setViewRect(h.x,h.y,h.width,h.height),this.setCenter(e.get("center")),this.setZoom(e.get("zoom"))}function S_(e,t){D.each(t.get("geoCoord"),function(t,n){e.addGeoCoord(n,t)})}var T_={dimensions:w_.prototype.dimensions,create:function(e,t){var n=[];e.eachComponent("geo",function(e,i){var o=e.get("map"),r=e.get("aspectScale"),a=!0,s=ih.retrieveMap(o);s&&s[0]&&"svg"===s[0].type?(null==r&&(r=1),a=!1):null==r&&(r=.75);var c=new w_(o+i,o,e.get("nameMap"),a);c.aspectScale=r,c.zoomLimit=e.get("scaleLimit"),n.push(c),S_(c,e),e.coordinateSystem=c,c.model=e,c.resize=x_,c.resize(e,t)}),e.eachSeries(function(e){if("geo"===e.get("coordinateSystem")){var t=e.get("geoIndex")||0;e.coordinateSystem=n[t]}});var i={};return e.eachSeriesByType("map",function(e){if(!e.getHostGeoModel()){var t=e.getMapType();i[t]=i[t]||[],i[t].push(e)}}),D.each(i,function(e,i){var o=D.map(e,function(e){return e.get("nameMap")}),r=new w_(i,i,D.mergeAll(o));r.zoomLimit=D.retrieve.apply(null,D.map(e,function(e){return e.get("scaleLimit")})),n.push(r),r.resize=x_,r.aspectScale=e[0].get("aspectScale"),r.resize(e[0],t),D.each(e,function(e){e.coordinateSystem=r,S_(r,e)})}),n},getFilledRegions:function(e,t,n){for(var i=(e||[]).slice(),o=D.createHashMap(),r=0;r<i.length;r++)o.set(i[r].name,i[r]);var a=v_.load(t,n);return D.each(a.regions,function(e){var t=e.name;!o.get(t)&&i.push({name:t})}),i}};mm.registerCoordinateSystem("geo",T_);var k_=T_,C_=cc.encodeHTML,j_=cc.addCommas,A_=Fd.retrieveRawAttr,E_=bu.extend({type:"series.map",dependencies:["geo"],layoutMode:"box",needsDrawMap:!1,seriesGroup:[],init:function(e){E_.superApply(this,"init",arguments),this.updateSelectedMap(this._createSelectableList())},getInitialData:function(e){return oy(this,["value"])},mergeOption:function(e){E_.superApply(this,"mergeOption",arguments),this.updateSelectedMap(this._createSelectableList())},_createSelectableList:function(){for(var e=this.getRawData(),t=e.mapDimension("value"),n=[],i=0,o=e.count();i<o;i++)n.push({name:e.getName(i),value:e.get(t,i),selected:A_(e,i,"selected")});return n=k_.getFilledRegions(n,this.getMapType(),this.option.nameMap)},getHostGeoModel:function(){var e=this.option.geoIndex;return null!=e?this.dependentModels.geo[e]:null},getMapType:function(){return(this.getHostGeoModel()||this).option.map},_fillOption:function(e,t){},getRawValue:function(e){var t=this.getData();return t.get(t.mapDimension("value"),e)},getRegionModel:function(e){var t=this.getData();return t.getItemModel(t.indexOfName(e))},formatTooltip:function(e){for(var t=this.getData(),n=j_(this.getRawValue(e)),i=t.getName(e),o=this.seriesGroup,r=[],a=0;a<o.length;a++){var s=o[a].originalData.indexOfName(i),c=t.mapDimension("value");isNaN(o[a].originalData.get(c,s))||r.push(C_(o[a].name))}return r.join(", ")+"<br />"+C_(i+" : "+n)},getTooltipPosition:function(e){if(null!=e){var t=this.getData().getName(e),n=this.coordinateSystem,i=n.getRegion(t);return i&&n.dataToPoint(i.center)}},setZoom:function(e){this.option.zoom=e},setCenter:function(e){this.option.center=e},defaultOption:{zlevel:0,z:2,coordinateSystem:"geo",map:"",left:"center",top:"center",aspectScale:.75,showLegendSymbol:!0,dataRangeHoverLink:!0,boundingCoords:null,center:null,zoom:1,scaleLimit:null,label:{show:!1,color:"#000"},itemStyle:{borderWidth:.5,borderColor:"#444",areaColor:"#eee"},emphasis:{label:{show:!0,color:"rgb(100,0,0)"},itemStyle:{areaColor:"rgba(255,215,0,0.8)"}}}});D.mixin(E_,ry);var I_="\0_ec_interaction_mutex";function M_(e){return e[I_]||(e[I_]={})}mm.registerAction({type:"takeGlobalCursor",event:"globalCursorTaken",update:"update"},function(){});var O_={take:function(e,t,n){M_(e)[t]=n},release:function(e,t,n){var i=M_(e);i[t]===n&&(i[t]=null)},isTaken:function(e,t){return!!M_(e)[t]}};function D_(e){this.pointerChecker,this._zr=e,this._opt={};var t=D.bind,n=t(V_,this),i=t(L_,this),o=t(P_,this),r=t(N_,this),a=t(R_,this);G.call(this),this.setPointerChecker=function(e){this.pointerChecker=e},this.enable=function(t,s){this.disable(),this._opt=D.defaults(D.clone(s)||{},{zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!1,preventDefaultMouseMove:!0}),null==t&&(t=!0),!0!==t&&"move"!==t&&"pan"!==t||(e.on("mousedown",n),e.on("mousemove",i),e.on("mouseup",o)),!0!==t&&"scale"!==t&&"zoom"!==t||(e.on("mousewheel",r),e.on("pinch",a))},this.disable=function(){e.off("mousedown",n),e.off("mousemove",i),e.off("mouseup",o),e.off("mousewheel",r),e.off("pinch",a)},this.dispose=this.disable,this.isDragging=function(){return this._dragging},this.isPinching=function(){return this._pinching}}function V_(e){if(!(Q.notLeftMouse(e)||e.target&&e.target.draggable)){var t=e.offsetX,n=e.offsetY;this.pointerChecker&&this.pointerChecker(e,t,n)&&(this._x=t,this._y=n,this._dragging=!0)}}function L_(e){if(!Q.notLeftMouse(e)&&z_("moveOnMouseMove",e,this._opt)&&this._dragging&&"pinch"!==e.gestureEvent&&!O_.isTaken(this._zr,"globalPan")){var t=e.offsetX,n=e.offsetY,i=this._x,o=this._y,r=t-i,a=n-o;this._x=t,this._y=n,this._opt.preventDefaultMouseMove&&Q.stop(e.event),B_(this,"pan","moveOnMouseMove",e,{dx:r,dy:a,oldX:i,oldY:o,newX:t,newY:n})}}function P_(e){Q.notLeftMouse(e)||(this._dragging=!1)}function N_(e){var t=z_("zoomOnMouseWheel",e,this._opt),n=z_("moveOnMouseWheel",e,this._opt),i=e.wheelDelta,o=Math.abs(i),r=e.offsetX,a=e.offsetY;if(0!==i&&(t||n)){if(t){var s=o>3?1.4:o>1?1.2:1.1;F_(this,"zoom","zoomOnMouseWheel",e,{scale:i>0?s:1/s,originX:r,originY:a})}if(n){var c=Math.abs(i);F_(this,"scrollMove","moveOnMouseWheel",e,{scrollDelta:(i>0?1:-1)*(c>3?.4:c>1?.15:.05),originX:r,originY:a})}}}function R_(e){O_.isTaken(this._zr,"globalPan")||F_(this,"zoom",null,e,{scale:e.pinchScale>1?1.1:1/1.1,originX:e.pinchX,originY:e.pinchY})}function F_(e,t,n,i,o){e.pointerChecker&&e.pointerChecker(i,o.originX,o.originY)&&(Q.stop(i.event),B_(e,t,n,i,o))}function B_(e,t,n,i,o){o.isAvailableBehavior=D.bind(z_,null,n,i),e.trigger(t,o)}function z_(e,t,n){var i=n[e];return!e||i&&(!D.isString(i)||t.event[i+"Key"])}D.mixin(D_,G);var H_=D_;var $_={updateViewOnPan:function(e,t,n){var i=e.target,o=i.position;o[0]+=t,o[1]+=n,i.dirty()},updateViewOnZoom:function(e,t,n,i){var o=e.target,r=e.zoomLimit,a=o.position,s=o.scale,c=e.zoom=e.zoom||1;if(c*=t,r){var l=r.min||0,d=r.max||1/0;c=Math.max(Math.min(d,c),l)}var u=c/e.zoom;e.zoom=c,a[0]-=(n-a[0])*(u-1),a[1]-=(i-a[1])*(u-1),s[0]*=u,s[1]*=u,o.dirty()}},q_={axisPointer:1,tooltip:1,brush:1};var W_={onIrrelevantElement:function(e,t,n){var i=t.getComponentByElement(e.topTarget),o=i&&i.coordinateSystem;return i&&i!==n&&!q_[i.mainType]&&o&&o.model!==n}},G_=W_.onIrrelevantElement,U_=Xs.getUID;function K_(e,t){var n=e.getItemStyle(),i=e.get("areaColor");return null!=i&&(n.fill=i),n}function Y_(e,t){t.eachChild(function(t){D.each(t.__regions,function(n){t.trigger(e.isSelected(n.name)?"emphasis":"normal")})})}function Z_(e,t){var n=new Ls.Group;this.uid=U_("ec_map_draw"),this._controller=new H_(e.getZr()),this._controllerHost={target:t?n:null},this.group=n,this._updateGroup=t,this._mouseDownFlag,this._mapName,this._initialized,n.add(this._regionsGroup=new Ls.Group),n.add(this._backgroundGroup=new Ls.Group)}Z_.prototype={constructor:Z_,draw:function(e,t,n,i,o){var r="geo"===e.mainType,a=e.getData&&e.getData();r&&t.eachComponent({mainType:"series",subType:"map"},function(t){a||t.getHostGeoModel()!==e||(a=t.getData())});var s=e.coordinateSystem;this._updateBackground(s);var c=this._regionsGroup,l=this.group,d=s.scale,u={position:s.position,scale:d};!c.childAt(0)||o?l.attr(u):Ls.updateProps(l,u,e),c.removeAll();var f=["itemStyle"],h=["emphasis","itemStyle"],p=["label"],g=["emphasis","label"],m=D.createHashMap();D.each(s.regions,function(t){var n=m.get(t.name)||m.set(t.name,new Ls.Group),i=new Ls.CompoundPath({shape:{paths:[]}});n.add(i);var o,s=(A=e.getRegionModel(t.name)||e).getModel(f),l=A.getModel(h),u=K_(s),b=K_(l),v=A.getModel(p),y=A.getModel(g);if(a){o=a.indexOfName(t.name);var _=a.getItemVisual(o,"color",!0);_&&(u.fill=_)}D.each(t.geometries,function(e){if("polygon"===e.type){i.shape.paths.push(new Ls.Polygon({shape:{points:e.exterior}}));for(var t=0;t<(e.interiors?e.interiors.length:0);t++)i.shape.paths.push(new Ls.Polygon({shape:{points:e.interiors[t]}}))}}),i.setStyle(u),i.style.strokeNoScale=!0,i.culling=!0;var w=v.get("show"),x=y.get("show"),S=a&&isNaN(a.get(a.mapDimension("value"),o)),T=a&&a.getItemLayout(o);if(r||S&&(w||x)||T&&T.showLabel){var k,C=r?t.name:o;(!a||o>=0)&&(k=e);var j=new Ls.Text({position:t.center.slice(),scale:[1/d[0],1/d[1]],z2:10,silent:!0});Ls.setLabelStyle(j.style,j.hoverStyle={},v,y,{labelFetcher:k,labelDataIndex:C,defaultText:t.name,useInsideStyle:!1},{textAlign:"center",textVerticalAlign:"middle"}),n.add(j)}if(a)a.setItemGraphicEl(o,n);else{var A=e.getRegionModel(t.name);i.eventData={componentType:"geo",componentIndex:e.componentIndex,geoIndex:e.componentIndex,name:t.name,region:A&&A.option||{}}}(n.__regions||(n.__regions=[])).push(t),Ls.setHoverStyle(n,b,{hoverSilentOnTouch:!!e.get("selectedMode")}),c.add(n)}),this._updateController(e,t,n),function(e,t,n,i,o){n.off("click"),n.off("mousedown"),t.get("selectedMode")&&(n.on("mousedown",function(){e._mouseDownFlag=!0}),n.on("click",function(r){if(e._mouseDownFlag){e._mouseDownFlag=!1;for(var a=r.target;!a.__regions;)a=a.parent;if(a){var s={type:("geo"===t.mainType?"geo":"map")+"ToggleSelect",batch:D.map(a.__regions,function(e){return{name:e.name,from:o.uid}})};s[t.mainType+"Id"]=t.id,i.dispatchAction(s),Y_(t,n)}}}))}(this,e,c,n,i),Y_(e,c)},remove:function(){this._regionsGroup.removeAll(),this._backgroundGroup.removeAll(),this._controller.dispose(),this._mapName&&v_.removeGraphic(this._mapName,this.uid),this._mapName=null,this._controllerHost={}},_updateBackground:function(e){var t=e.map;this._mapName!==t&&D.each(v_.makeGraphic(t,this.uid),function(e){this._backgroundGroup.add(e)},this),this._mapName=t},_updateController:function(e,t,n){var i=e.coordinateSystem,o=this._controller,r=this._controllerHost;r.zoomLimit=e.get("scaleLimit"),r.zoom=i.getZoom(),o.enable(e.get("roam")||!1);var a=e.mainType;function s(){var t={type:"geoRoam",componentType:a};return t[a+"Id"]=e.id,t}o.off("pan").on("pan",function(e){this._mouseDownFlag=!1,$_.updateViewOnPan(r,e.dx,e.dy),n.dispatchAction(D.extend(s(),{dx:e.dx,dy:e.dy}))},this),o.off("zoom").on("zoom",function(e){if(this._mouseDownFlag=!1,$_.updateViewOnZoom(r,e.scale,e.originX,e.originY),n.dispatchAction(D.extend(s(),{zoom:e.scale,originX:e.originX,originY:e.originY})),this._updateGroup){var t=this.group.scale;this._regionsGroup.traverse(function(e){"text"===e.type&&e.attr("scale",[1/t[0],1/t[1]])})}},this),o.setPointerChecker(function(t,o,r){return i.getViewRectAfterRoam().contain(o,r)&&!G_(t,n,e)})}};var X_=Z_;mm.extendChartView({type:"map",render:function(e,t,n,i){if(!i||"mapToggleSelect"!==i.type||i.from!==this.uid){var o=this.group;if(o.removeAll(),!e.getHostGeoModel()){if(i&&"geoRoam"===i.type&&"series"===i.componentType&&i.seriesId===e.id)(r=this._mapDraw)&&o.add(r.group);else if(e.needsDrawMap){var r=this._mapDraw||new X_(n,!0);o.add(r.group),r.draw(e,t,n,this,i),this._mapDraw=r}else this._mapDraw&&this._mapDraw.remove(),this._mapDraw=null;e.get("showLegendSymbol")&&t.getComponent("legend")&&this._renderSymbols(e,t,n)}}},remove:function(){this._mapDraw&&this._mapDraw.remove(),this._mapDraw=null,this.group.removeAll()},dispose:function(){this._mapDraw&&this._mapDraw.remove(),this._mapDraw=null},_renderSymbols:function(e,t,n){var i=e.originalData,o=this.group;i.each(i.mapDimension("value"),function(t,n){if(!isNaN(t)){var r=i.getItemLayout(n);if(r&&r.point){var a=r.point,s=r.offset,c=new Ls.Circle({style:{fill:e.getData().getVisual("color")},shape:{cx:a[0]+9*s,cy:a[1],r:3},silent:!0,z2:s?8:10});if(!s){var l=e.mainSeries.getData(),d=i.getName(n),u=l.indexOfName(d),f=i.getItemModel(n),h=f.getModel("label"),p=f.getModel("emphasis.label"),g=l.getItemGraphicEl(u),m=D.retrieve2(e.getFormattedLabel(n,"normal"),d),b=D.retrieve2(e.getFormattedLabel(n,"emphasis"),m),v=function(){var e=Ls.setTextStyle({},p,{text:p.get("show")?b:null},{isRectText:!0,useInsideStyle:!1},!0);c.style.extendFrom(e),c.__mapOriginalZ2=c.z2,c.z2+=1},y=function(){Ls.setTextStyle(c.style,h,{text:h.get("show")?m:null,textPosition:h.getShallow("position")||"bottom"},{isRectText:!0,useInsideStyle:!1}),null!=c.__mapOriginalZ2&&(c.z2=c.__mapOriginalZ2,c.__mapOriginalZ2=null)};g.on("mouseover",v).on("mouseout",y).on("emphasis",v).on("normal",y),y()}o.add(c)}}})}});var Q_={updateCenterAndZoom:function(e,t,n){var i=e.getZoom(),o=e.getCenter(),r=t.zoom,a=e.dataToPoint(o);null!=t.dx&&null!=t.dy&&(a[0]-=t.dx,a[1]-=t.dy,o=e.pointToData(a),e.setCenter(o));if(null!=r){if(n){var s=n.min||0,c=n.max||1/0;r=Math.max(Math.min(i*r,c),s)/i}e.scale[0]*=r,e.scale[1]*=r;var l=e.position,d=(t.originX-l[0])*(r-1),u=(t.originY-l[1])*(r-1);l[0]-=d,l[1]-=u,e.updateTransform(),o=e.pointToData(a),e.setCenter(o),e.setZoom(r*i)}return{center:e.getCenter(),zoom:e.getZoom()}}},J_=Q_.updateCenterAndZoom;mm.registerAction({type:"geoRoam",event:"geoRoam",update:"updateTransform"},function(e,t){var n=e.componentType||"series";t.eachComponent({mainType:n,query:e},function(t){var i=t.coordinateSystem;if("geo"===i.type){var o=J_(i,e,t.get("scaleLimit"));t.setCenter&&t.setCenter(o.center),t.setZoom&&t.setZoom(o.zoom),"series"===n&&D.each(t.seriesGroup,function(e){e.setCenter(o.center),e.setZoom(o.zoom)})}})});var ew=function(e){var t={};e.eachSeriesByType("map",function(n){var i=n.getMapType();if(!n.getHostGeoModel()&&!t[i]){var o={};D.each(n.seriesGroup,function(t){var n=t.coordinateSystem,i=t.originalData;t.get("showLegendSymbol")&&e.getComponent("legend")&&i.each(i.mapDimension("value"),function(e,t){var r=i.getName(t),a=n.getRegion(r);if(a&&!isNaN(e)){var s=o[r]||0,c=n.dataToPoint(a.center);o[r]=s+1,i.setItemLayout(t,{point:c,offset:s})}})});var r=n.getData();r.each(function(e){var t=r.getName(e),n=r.getItemLayout(e)||{};n.showLabel=!o[t],r.setItemLayout(e,n)}),t[i]=!0}})};var tw=function(e){e.eachSeriesByType("map",function(e){var t=e.get("color"),n=e.getModel("itemStyle"),i=n.get("areaColor"),o=n.get("color")||t[e.seriesIndex%t.length];e.getData().setVisual({areaColor:i,color:o})})};var nw=function(e){var t={};e.eachSeriesByType("map",function(e){var n=e.getHostGeoModel(),i=n?"o"+n.id:"i"+e.getMapType();(t[i]=t[i]||[]).push(e)}),D.each(t,function(e,t){for(var n,i,o,r=(n=D.map(e,function(e){return e.getData()}),i=e[0].get("mapValueCalculation"),o={},D.each(n,function(e){e.each(e.mapDimension("value"),function(t,n){var i="ec-"+e.getName(n);o[i]=o[i]||[],isNaN(t)||o[i].push(t)})}),n[0].map(n[0].mapDimension("value"),function(e,t){for(var r,a="ec-"+n[0].getName(t),s=0,c=1/0,l=-1/0,d=o[a].length,u=0;u<d;u++)c=Math.min(c,o[a][u]),l=Math.max(l,o[a][u]),s+=o[a][u];return r="min"===i?c:"max"===i?l:"average"===i?s/d:s,0===d?NaN:r})),a=0;a<e.length;a++)e[a].originalData=e[a].getData();for(a=0;a<e.length;a++)e[a].seriesGroup=e,e[a].needsDrawMap=0===a&&!e[a].getHostGeoModel(),e[a].setData(r.cloneShallow()),e[a].mainSeries=e[0]})};var iw=function(e){D.each(e.series,function(e){e&&"map"===e.type&&(e.map=e.map||e.mapType,D.defaults(e,e.mapLocation))})};mm.registerLayout(ew),mm.registerVisual(tw),mm.registerProcessor(mm.PRIORITY.PROCESSOR.STATISTIC,nw),mm.registerPreprocessor(iw),hy("map",[{type:"mapToggleSelect",event:"mapselectchanged",method:"toggleSelected"},{type:"mapSelect",event:"mapselected",method:"select"},{type:"mapUnSelect",event:"mapunselected",method:"unSelect"}]);var ow=D.each,rw="\0__link_datas",aw="\0__link_mainData";function sw(e,t){if((i=this)[aw]===i){var n=D.extend({},this[rw]);n[this.dataType]=t,uw(t,n,e)}else fw(t,this.dataType,this[aw],e);var i;return t}function cw(e,t){return e.struct&&e.struct.update(this),t}function lw(e,t){return ow(t[rw],function(n,i){n!==t&&fw(n.cloneShallow(),i,t,e)}),t}function dw(e){var t=this[aw];return null==e||null==t?t:t[rw][e]}function uw(e,t,n){e[rw]={},ow(t,function(t,i){fw(t,i,e,n)})}function fw(e,t,n,i){n[rw][t]=e,e[aw]=n,e.dataType=t,i.struct&&(e[i.structAttr]=i.struct,i.struct[i.datasAttr[t]]=e),e.getLinkedData=dw}var hw=function(e){var t=e.mainData,n=e.datas;n||(n={main:t},e.datasAttr={main:"data"}),e.datas=e.mainData=null,uw(t,n,e),ow(n,function(n){ow(t.TRANSFERABLE_METHODS,function(t){n.wrapMethod(t,D.curry(sw,e))})}),t.wrapMethod("cloneShallow",D.curry(lw,e)),ow(t.CHANGABLE_METHODS,function(n){t.wrapMethod(n,D.curry(cw,e))}),D.assert(n[t.dataType]===t)},pw=function(e,t){this.name=e||"",this.depth=0,this.height=0,this.parentNode=null,this.dataIndex=-1,this.children=[],this.viewChildren=[],this.hostTree=t};function gw(e,t,n){this.root,this.data,this._nodes=[],this.hostModel=e,this.levelModels=D.map(t||[],function(t){return new Ks(t,e,e.ecModel)}),this.leavesModel=new Ks(n||{},e,e.ecModel)}pw.prototype={constructor:pw,isRemoved:function(){return this.dataIndex<0},eachNode:function(e,t,n){"function"==typeof e&&(n=t,t=e,e=null),e=e||{},D.isString(e)&&(e={order:e});var i,o=e.order||"preorder",r=this[e.attr||"children"];"preorder"===o&&(i=t.call(n,this));for(var a=0;!i&&a<r.length;a++)r[a].eachNode(e,t,n);"postorder"===o&&t.call(n,this)},updateDepthAndHeight:function(e){var t=0;this.depth=e;for(var n=0;n<this.children.length;n++){var i=this.children[n];i.updateDepthAndHeight(e+1),i.height>t&&(t=i.height)}this.height=t+1},getNodeById:function(e){if(this.getId()===e)return this;for(var t=0,n=this.children,i=n.length;t<i;t++){var o=n[t].getNodeById(e);if(o)return o}},contains:function(e){if(e===this)return!0;for(var t=0,n=this.children,i=n.length;t<i;t++){var o=n[t].contains(e);if(o)return o}},getAncestors:function(e){for(var t=[],n=e?this:this.parentNode;n;)t.push(n),n=n.parentNode;return t.reverse(),t},getValue:function(e){var t=this.hostTree.data;return t.get(t.getDimension(e||"value"),this.dataIndex)},setLayout:function(e,t){this.dataIndex>=0&&this.hostTree.data.setItemLayout(this.dataIndex,e,t)},getLayout:function(){return this.hostTree.data.getItemLayout(this.dataIndex)},getModel:function(e){if(!(this.dataIndex<0)){var t,n=this.hostTree,i=n.data.getItemModel(this.dataIndex),o=this.getLevelModel();return o||0!==this.children.length&&(0===this.children.length||!1!==this.isExpand)||(t=this.getLeavesModel()),i.getModel(e,(o||t||n.hostModel).getModel(e))}},getLevelModel:function(){return(this.hostTree.levelModels||[])[this.depth]},getLeavesModel:function(){return this.hostTree.leavesModel},setVisual:function(e,t){this.dataIndex>=0&&this.hostTree.data.setItemVisual(this.dataIndex,e,t)},getVisual:function(e,t){return this.hostTree.data.getItemVisual(this.dataIndex,e,t)},getRawIndex:function(){return this.hostTree.data.getRawIndex(this.dataIndex)},getId:function(){return this.hostTree.data.getId(this.dataIndex)},isAncestorOf:function(e){for(var t=e.parentNode;t;){if(t===this)return!0;t=t.parentNode}return!1},isDescendantOf:function(e){return e!==this&&e.isAncestorOf(this)}},gw.prototype={constructor:gw,type:"tree",eachNode:function(e,t,n){this.root.eachNode(e,t,n)},getNodeByDataIndex:function(e){var t=this.data.getRawIndex(e);return this._nodes[t]},getNodeByName:function(e){return this.root.getNodeByName(e)},update:function(){for(var e=this.data,t=this._nodes,n=0,i=t.length;n<i;n++)t[n].dataIndex=-1;for(n=0,i=e.count();n<i;n++)t[e.getRawIndex(n)].dataIndex=n},clearLayouts:function(){this.data.clearItemLayouts()}},gw.createTree=function(e,t,n){var i=new gw(t,n.levels,n.leaves),o=[],r=1;!function e(t,n){var a=t.value;r=Math.max(r,D.isArray(a)?a.length:1);o.push(t);var s=new pw(t.name,i);n?function(e,t){var n=t.children;if(e.parentNode===t)return;n.push(e),e.parentNode=t}(s,n):i.root=s;i._nodes.push(s);var c=t.children;if(c)for(var l=0;l<c.length;l++)e(c[l],s)}(e),i.root.updateDepthAndHeight(0);var a=Kh(o,{coordDimensions:["value"],dimensionsCount:r}),s=new Lh(a,t);return s.initData(o),hw({mainData:s,struct:i,structAttr:"tree"}),i.update(),i};var mw=gw,bw=cc.encodeHTML;bu.extend({type:"series.tree",layoutInfo:null,layoutMode:"box",getInitialData:function(e){var t={name:e.name,children:e.data},n=e.leaves||{},i={};i.leaves=n;var o=mw.createTree(t,this,i),r=0;o.eachNode("preorder",function(e){e.depth>r&&(r=e.depth)});var a=e.expandAndCollapse&&e.initialTreeDepth>=0?e.initialTreeDepth:r;return o.root.eachNode("preorder",function(e){var t=e.hostTree.data.getRawDataItem(e.dataIndex);e.isExpand=t&&null!=t.collapsed?!t.collapsed:e.depth<=a}),o.data},getOrient:function(){var e=this.get("orient");return"horizontal"===e?e="LR":"vertical"===e&&(e="TB"),e},setZoom:function(e){this.option.zoom=e},setCenter:function(e){this.option.center=e},formatTooltip:function(e){for(var t=this.getData().tree,n=t.root.children[0],i=t.getNodeByDataIndex(e),o=i.getValue(),r=i.name;i&&i!==n;)r=i.parentNode.name+"."+r,i=i.parentNode;return bw(r+(isNaN(o)||null==o?"":" : "+o))},defaultOption:{zlevel:0,z:2,coordinateSystem:"view",left:"12%",top:"12%",right:"12%",bottom:"12%",layout:"orthogonal",roam:!1,nodeScaleRatio:.4,center:null,zoom:1,orient:"LR",symbol:"emptyCircle",symbolSize:7,expandAndCollapse:!0,initialTreeDepth:2,lineStyle:{color:"#ccc",width:1.5,curveness:.5},itemStyle:{color:"lightsteelblue",borderColor:"#c23531",borderWidth:1.5},label:{show:!0,color:"#555"},leaves:{label:{show:!0}},animationEasing:"linear",animationDuration:700,animationDurationUpdate:1e3}});function vw(e){var t=e.children;return t.length&&e.isExpand?t[t.length-1]:e.hierNode.thread}function yw(e){var t=e.children;return t.length&&e.isExpand?t[0]:e.hierNode.thread}function _w(e,t,n){return e.hierNode.ancestor.parentNode===t.parentNode?e.hierNode.ancestor:n}function ww(e,t,n){var i=n/(t.hierNode.i-e.hierNode.i);t.hierNode.change-=i,t.hierNode.shift+=n,t.hierNode.modifier+=n,t.hierNode.prelim+=n,e.hierNode.change+=i}function xw(e,t){return e.parentNode===t.parentNode?1:2}var Sw={init:function(e){e.hierNode={defaultAncestor:null,ancestor:e,prelim:0,modifier:0,change:0,shift:0,i:0,thread:null};for(var t,n,i=[e];t=i.pop();)if(n=t.children,t.isExpand&&n.length)for(var o=n.length-1;o>=0;o--){var r=n[o];r.hierNode={defaultAncestor:null,ancestor:r,prelim:0,modifier:0,change:0,shift:0,i:o,thread:null},i.push(r)}},firstWalk:function(e,t){var n=e.isExpand?e.children:[],i=e.parentNode.children,o=e.hierNode.i?i[e.hierNode.i-1]:null;if(n.length){!function(e){for(var t=e.children,n=t.length,i=0,o=0;--n>=0;){var r=t[n];r.hierNode.prelim+=i,r.hierNode.modifier+=i,o+=r.hierNode.change,i+=r.hierNode.shift+o}}(e);var r=(n[0].hierNode.prelim+n[n.length-1].hierNode.prelim)/2;o?(e.hierNode.prelim=o.hierNode.prelim+t(e,o),e.hierNode.modifier=e.hierNode.prelim-r):e.hierNode.prelim=r}else o&&(e.hierNode.prelim=o.hierNode.prelim+t(e,o));e.parentNode.hierNode.defaultAncestor=function(e,t,n,i){if(t){for(var o=e,r=e,a=r.parentNode.children[0],s=t,c=o.hierNode.modifier,l=r.hierNode.modifier,d=a.hierNode.modifier,u=s.hierNode.modifier;s=vw(s),r=yw(r),s&&r;){o=vw(o),a=yw(a),o.hierNode.ancestor=e;var f=s.hierNode.prelim+u-r.hierNode.prelim-l+i(s,r);f>0&&(ww(_w(s,e,n),e,f),l+=f,c+=f),u+=s.hierNode.modifier,l+=r.hierNode.modifier,c+=o.hierNode.modifier,d+=a.hierNode.modifier}s&&!vw(o)&&(o.hierNode.thread=s,o.hierNode.modifier+=u-c),r&&!yw(a)&&(a.hierNode.thread=r,a.hierNode.modifier+=l-d,n=e)}return n}(e,o,e.parentNode.hierNode.defaultAncestor||i[0],t)},secondWalk:function(e){var t=e.hierNode.prelim+e.parentNode.hierNode.modifier;e.setLayout({x:t},!0),e.hierNode.modifier+=e.parentNode.hierNode.modifier},separation:function(e){return arguments.length?e:xw},radialCoordinate:function(e,t){var n={};return e-=Math.PI/2,n.x=t*Math.cos(e),n.y=t*Math.sin(e),n},getViewRect:function(e,t){return yc.getLayoutRect(e.getBoxLayoutParams(),{width:t.getWidth(),height:t.getHeight()})}},Tw=Sw.radialCoordinate,kw=W_.onIrrelevantElement;mm.extendChartView({type:"tree",init:function(e,t){this._oldTree,this._mainGroup=new Ls.Group,this._controller=new H_(t.getZr()),this._controllerHost={target:this.group},this.group.add(this._mainGroup)},render:function(e,t,n,i){var o=e.getData(),r=e.layoutInfo,a=this._mainGroup,s=e.get("layout");"radial"===s?a.attr("position",[r.x+r.width/2,r.y+r.height/2]):a.attr("position",[r.x,r.y]),this._updateViewCoordSys(e),this._updateController(e,t,n);var c=this._data,l={expandAndCollapse:e.get("expandAndCollapse"),layout:s,orient:e.getOrient(),curvature:e.get("lineStyle.curveness"),symbolRotate:e.get("symbolRotate"),symbolOffset:e.get("symbolOffset"),hoverAnimation:e.get("hoverAnimation"),useNameLabel:!0,fadeIn:!0};o.diff(c).add(function(t){Cw(o,t)&&Aw(o,t,null,a,e,l)}).update(function(t,n){var i=c.getItemGraphicEl(n);Cw(o,t)?Aw(o,t,i,a,e,l):i&&Ew(c,n,i,a,e,l)}).remove(function(t){var n=c.getItemGraphicEl(t);n&&Ew(c,t,n,a,e,l)}).execute(),this._nodeScaleRatio=e.get("nodeScaleRatio"),this._updateNodeAndLinkScale(e),!0===l.expandAndCollapse&&o.eachItemGraphicEl(function(t,i){t.off("click").on("click",function(){n.dispatchAction({type:"treeExpandAndCollapse",seriesId:e.id,dataIndex:i})})}),this._data=o},_updateViewCoordSys:function(e){var t=e.getData(),n=[];t.each(function(e){var i=t.getItemLayout(e);!i||isNaN(i.x)||isNaN(i.y)||n.push([+i.x,+i.y])});var i=[],o=[];Wo.fromPoints(n,i,o),o[0]-i[0]==0&&(o[0]+=1,i[0]-=1),o[1]-i[1]==0&&(o[1]+=1,i[1]-=1);var r=e.coordinateSystem=new Wy;r.zoomLimit=e.get("scaleLimit"),r.setBoundingRect(i[0],i[1],o[0]-i[0],o[1]-i[1]),r.setCenter(e.get("center")),r.setZoom(e.get("zoom")),this.group.attr({position:r.position,scale:r.scale}),this._viewCoordSys=r},_updateController:function(e,t,n){var i=this._controller,o=this._controllerHost,r=this.group;i.setPointerChecker(function(t,i,o){var a=r.getBoundingRect();return a.applyTransform(r.transform),a.contain(i,o)&&!kw(t,n,e)}),i.enable(e.get("roam")),o.zoomLimit=e.get("scaleLimit"),o.zoom=e.coordinateSystem.getZoom(),i.off("pan").off("zoom").on("pan",function(t){$_.updateViewOnPan(o,t.dx,t.dy),n.dispatchAction({seriesId:e.id,type:"treeRoam",dx:t.dx,dy:t.dy})},this).on("zoom",function(t){$_.updateViewOnZoom(o,t.scale,t.originX,t.originY),n.dispatchAction({seriesId:e.id,type:"treeRoam",zoom:t.scale,originX:t.originX,originY:t.originY}),this._updateNodeAndLinkScale(e)},this)},_updateNodeAndLinkScale:function(e){var t=e.getData(),n=this._getNodeGlobalScale(e),i=[n,n];t.eachItemGraphicEl(function(e,t){e.attr("scale",i)})},_getNodeGlobalScale:function(e){var t=e.coordinateSystem;if("view"!==t.type)return 1;var n=this._nodeScaleRatio,i=t.scale,o=i&&i[0]||1;return((t.getZoom()-1)*n+1)/o},dispose:function(){this._controller&&this._controller.dispose(),this._controllerHost={}},remove:function(){this._mainGroup.removeAll(),this._data=null}});function Cw(e,t){var n=e.getItemLayout(t);return n&&!isNaN(n.x)&&!isNaN(n.y)&&"none"!==e.getItemVisual(t,"symbol")}function jw(e,t,n){return n.itemModel=t,n.itemStyle=t.getModel("itemStyle").getItemStyle(),n.hoverItemStyle=t.getModel("emphasis.itemStyle").getItemStyle(),n.lineStyle=t.getModel("lineStyle").getLineStyle(),n.labelModel=t.getModel("label"),n.hoverLabelModel=t.getModel("emphasis.label"),!1===e.isExpand&&0!==e.children.length?n.symbolInnerColor=n.itemStyle.fill:n.symbolInnerColor="#fff",n}function Aw(e,t,n,i,o,r){var a=!n,s=e.tree.getNodeByDataIndex(t),c=(r=jw(s,s.getModel(),r),e.tree.root),l=s.parentNode===c?s:s.parentNode||s,d=e.getItemGraphicEl(l.dataIndex),u=l.getLayout(),f=d?{x:d.position[0],y:d.position[1],rawX:d.__radialOldRawX,rawY:d.__radialOldRawY}:u,h=s.getLayout();a?(n=new Lm(e,t,r)).attr("position",[f.x,f.y]):n.updateData(e,t,r),n.__radialOldRawX=n.__radialRawX,n.__radialOldRawY=n.__radialRawY,n.__radialRawX=h.rawX,n.__radialRawY=h.rawY,i.add(n),e.setItemGraphicEl(t,n),Ls.updateProps(n,{position:[h.x,h.y]},o);var p=n.getSymbolPath();if("radial"===r.layout){var g,m,b=c.children[0],v=b.getLayout(),y=b.children.length;if(h.x===v.x&&!0===s.isExpand){var _={};_.x=(b.children[0].getLayout().x+b.children[y-1].getLayout().x)/2,_.y=(b.children[0].getLayout().y+b.children[y-1].getLayout().y)/2,(g=Math.atan2(_.y-v.y,_.x-v.x))<0&&(g=2*Math.PI+g),(m=_.x<v.x)&&(g-=Math.PI)}else(g=Math.atan2(h.y-v.y,h.x-v.x))<0&&(g=2*Math.PI+g),0===s.children.length||0!==s.children.length&&!1===s.isExpand?(m=h.x<v.x)&&(g-=Math.PI):(m=h.x>v.x)||(g-=Math.PI);var w=m?"left":"right";p.setStyle({textPosition:w,textRotation:-g,textOrigin:"center",verticalAlign:"middle"})}if(s.parentNode&&s.parentNode!==c){var x=n.__edge;x||(x=n.__edge=new Ls.BezierCurve({shape:Iw(r,f,f),style:D.defaults({opacity:0,strokeNoScale:!0},r.lineStyle)})),Ls.updateProps(x,{shape:Iw(r,u,h),style:{opacity:1}},o),i.add(x)}}function Ew(e,t,n,i,o,r){for(var a,s=e.tree.getNodeByDataIndex(t),c=e.tree.root,l=(r=jw(s,s.getModel(),r),s.parentNode===c?s:s.parentNode||s);null==(a=l.getLayout());)l=l.parentNode===c?l:l.parentNode||l;Ls.updateProps(n,{position:[a.x+1,a.y+1]},o,function(){i.remove(n),e.setItemGraphicEl(t,null)}),n.fadeOut(null,{keepLabel:!0});var d=n.__edge;d&&Ls.updateProps(d,{shape:Iw(r,a,a),style:{opacity:0}},o,function(){i.remove(d)})}function Iw(e,t,n){var i,o,r,a,s,c,l,d,u=e.orient;if("radial"===e.layout){s=t.rawX,l=t.rawY,c=n.rawX,d=n.rawY;var f=Tw(s,l),h=Tw(s,l+(d-l)*e.curvature),p=Tw(c,d+(l-d)*e.curvature),g=Tw(c,d);return{x1:f.x,y1:f.y,x2:g.x,y2:g.y,cpx1:h.x,cpy1:h.y,cpx2:p.x,cpy2:p.y}}return s=t.x,l=t.y,c=n.x,d=n.y,"LR"!==u&&"RL"!==u||(i=s+(c-s)*e.curvature,o=l,r=c+(s-c)*e.curvature,a=d),"TB"!==u&&"BT"!==u||(i=s,o=l+(d-l)*e.curvature,r=c,a=d+(l-d)*e.curvature),{x1:s,y1:l,x2:c,y2:d,cpx1:i,cpy1:o,cpx2:r,cpy2:a}}var Mw=Q_.updateCenterAndZoom;mm.registerAction({type:"treeExpandAndCollapse",event:"treeExpandAndCollapse",update:"update"},function(e,t){t.eachComponent({mainType:"series",subType:"tree",query:e},function(t){var n=e.dataIndex,i=t.getData().tree.getNodeByDataIndex(n);i.isExpand=!i.isExpand})}),mm.registerAction({type:"treeRoam",event:"treeRoam",update:"none"},function(e,t){t.eachComponent({mainType:"series",subType:"tree",query:e},function(t){var n=t.coordinateSystem,i=Mw(n,e);t.setCenter&&t.setCenter(i.center),t.setZoom&&t.setZoom(i.zoom)})});var Ow={eachAfter:function(e,t,n){for(var i,o=[e],r=[];i=o.pop();)if(r.push(i),i.isExpand){var a=i.children;if(a.length)for(var s=0;s<a.length;s++)o.push(a[s])}for(;i=r.pop();)t(i,n)},eachBefore:function(e,t){for(var n,i=[e];n=i.pop();)if(t(n),n.isExpand){var o=n.children;if(o.length)for(var r=o.length-1;r>=0;r--)i.push(o[r])}}},Dw=Ow.eachAfter,Vw=Ow.eachBefore,Lw=Sw.init,Pw=Sw.firstWalk,Nw=Sw.secondWalk,Rw=Sw.separation,Fw=Sw.radialCoordinate,Bw=Sw.getViewRect;var zw=function(e,t){e.eachSeriesByType("tree",function(e){!function(e,t){var n=Bw(e,t);e.layoutInfo=n;var i=e.get("layout"),o=0,r=0,a=null;"radial"===i?(o=2*Math.PI,r=Math.min(n.height,n.width)/2,a=Rw(function(e,t){return(e.parentNode===t.parentNode?1:2)/e.depth})):(o=n.width,r=n.height,a=Rw());var s=e.getData().tree.root,c=s.children[0];if(c){Lw(s),Dw(c,Pw,a),s.hierNode.modifier=-c.hierNode.prelim,Vw(c,Nw);var l=c,d=c,u=c;Vw(c,function(e){var t=e.getLayout().x;t<l.getLayout().x&&(l=e),t>d.getLayout().x&&(d=e),e.depth>u.depth&&(u=e)});var f=l===d?1:a(l,d)/2,h=f-l.getLayout().x,p=0,g=0,m=0,b=0;if("radial"===i)p=o/(d.getLayout().x+f+h),g=r/(u.depth-1||1),Vw(c,function(e){m=(e.getLayout().x+h)*p,b=(e.depth-1)*g;var t=Fw(m,b);e.setLayout({x:t.x,y:t.y,rawX:m,rawY:b},!0)});else{var v=e.getOrient();"RL"===v||"LR"===v?(g=r/(d.getLayout().x+f+h),p=o/(u.depth-1||1),Vw(c,function(e){b=(e.getLayout().x+h)*g,m="LR"===v?(e.depth-1)*p:o-(e.depth-1)*p,e.setLayout({x:m,y:b},!0)})):"TB"!==v&&"BT"!==v||(p=o/(d.getLayout().x+f+h),g=r/(u.depth-1||1),Vw(c,function(e){m=(e.getLayout().x+h)*p,b="TB"===v?(e.depth-1)*g:r-(e.depth-1)*g,e.setLayout({x:m,y:b},!0)}))}}}(e,t)})};function Hw(e){for(var t=[];e;)(e=e.parentNode)&&t.push(e);return t.reverse()}mm.registerVisual(bb("tree","circle")),mm.registerLayout(zw);var $w={retrieveTargetInfo:function(e,t,n){if(e&&D.indexOf(t,e.type)>=0){var i=n.getData().tree.root,o=e.targetNode;if("string"==typeof o&&(o=i.getNodeById(o)),o&&i.contains(o))return{node:o};var r=e.targetNodeId;if(null!=r&&(o=i.getNodeById(r)))return{node:o}}},getPathToRoot:Hw,aboveViewRoot:function(e,t){var n=Hw(e);return D.indexOf(n,t)>=0},wrapTreePathInfo:function(e,t){for(var n=[];e;){var i=e.dataIndex;n.push({name:e.name,dataIndex:i,value:t.getRawValue(i)}),e=e.parentNode}return n.reverse(),n}},qw=cc.encodeHTML,Ww=cc.addCommas,Gw=$w.wrapTreePathInfo;bu.extend({type:"series.treemap",layoutMode:"box",dependencies:["grid","polar"],_viewRoot:null,defaultOption:{progressive:0,hoverLayerThreshold:1/0,left:"center",top:"middle",right:null,bottom:null,width:"80%",height:"80%",sort:!0,clipWindow:"origin",squareRatio:.5*(1+Math.sqrt(5)),leafDepth:null,drillDownIcon:"▶",zoomToNodeRatio:.1024,roam:!0,nodeClick:"zoomToNode",animation:!0,animationDurationUpdate:900,animationEasing:"quinticInOut",breadcrumb:{show:!0,height:22,left:"center",top:"bottom",emptyItemWidth:25,itemStyle:{color:"rgba(0,0,0,0.7)",borderColor:"rgba(255,255,255,0.7)",borderWidth:1,shadowColor:"rgba(150,150,150,1)",shadowBlur:3,shadowOffsetX:0,shadowOffsetY:0,textStyle:{color:"#fff"}},emphasis:{textStyle:{}}},label:{show:!0,distance:0,padding:5,position:"inside",color:"#fff",ellipsis:!0},upperLabel:{show:!1,position:[0,"50%"],height:20,color:"#fff",ellipsis:!0,verticalAlign:"middle"},itemStyle:{color:null,colorAlpha:null,colorSaturation:null,borderWidth:0,gapWidth:0,borderColor:"#fff",borderColorSaturation:null},emphasis:{upperLabel:{show:!0,position:[0,"50%"],color:"#fff",ellipsis:!0,verticalAlign:"middle"}},visualDimension:0,visualMin:null,visualMax:null,color:[],colorAlpha:null,colorSaturation:null,colorMappingBy:"index",visibleMin:10,childrenVisibleMin:null,levels:[]},getInitialData:function(e,t){var n={name:e.name,children:e.data};!function e(t){var n=0;D.each(t.children,function(t){e(t);var i=t.value;D.isArray(i)&&(i=i[0]),n+=i});var i=t.value;D.isArray(i)&&(i=i[0]);(null==i||isNaN(i))&&(i=n);i<0&&(i=0);D.isArray(t.value)?t.value[0]=i:t.value=i}(n);var i=e.levels||[];i=e.levels=function(e,t){var n,i=t.get("color");if(!i)return;if(e=e||[],D.each(e,function(e){var t=new Ks(e),i=t.get("color");(t.get("itemStyle.color")||i&&"none"!==i)&&(n=!0)}),!n){var o=e[0]||(e[0]={});o.color=i.slice()}return e}(i,t);var o={};return o.levels=i,mw.createTree(n,this,o).data},optionUpdated:function(){this.resetViewRoot()},formatTooltip:function(e){var t=this.getData(),n=this.getRawValue(e),i=D.isArray(n)?Ww(n[0]):Ww(n),o=t.getName(e);return qw(o+": "+i)},getDataParams:function(e){var t=bu.prototype.getDataParams.apply(this,arguments),n=this.getData().tree.getNodeByDataIndex(e);return t.treePathInfo=Gw(n,this),t},setLayoutInfo:function(e){this.layoutInfo=this.layoutInfo||{},D.extend(this.layoutInfo,e)},mapIdToIndex:function(e){var t=this._idIndexMap;t||(t=this._idIndexMap=D.createHashMap(),this._idIndexMapCount=0);var n=t.get(e);return null==n&&t.set(e,n=this._idIndexMapCount++),n},getViewRoot:function(){return this._viewRoot},resetViewRoot:function(e){e?this._viewRoot=e:e=this._viewRoot;var t=this.getRawData().tree.root;e&&(e===t||t.contains(e))||(this._viewRoot=t)}});var Uw=$w.wrapTreePathInfo,Kw=5;function Yw(e){this.group=new Ls.Group,e.add(this.group)}function Zw(e,t,n,i,o,r){var a=[[o?e:e-Kw,t],[e+n,t],[e+n,t+i],[o?e:e-Kw,t+i]];return!r&&a.splice(2,0,[e+n+Kw,t+i/2]),!o&&a.push([e,t+i/2]),a}function Xw(e,t,n){e.eventData={componentType:"series",componentSubType:"treemap",componentIndex:t.componentIndex,seriesIndex:t.componentIndex,seriesName:t.name,seriesType:"treemap",selfType:"breadcrumb",nodeData:{dataIndex:n&&n.dataIndex,name:n&&n.name},treePathInfo:n&&Uw(n,t)}}Yw.prototype={constructor:Yw,render:function(e,t,n,i){var o=e.getModel("breadcrumb"),r=this.group;if(r.removeAll(),o.get("show")&&n){var a=o.getModel("itemStyle"),s=a.getModel("textStyle"),c={pos:{left:o.get("left"),right:o.get("right"),top:o.get("top"),bottom:o.get("bottom")},box:{width:t.getWidth(),height:t.getHeight()},emptyItemWidth:o.get("emptyItemWidth"),totalWidth:0,renderList:[]};this._prepare(n,c,s),this._renderContent(e,c,a,s,i),yc.positionElement(r,c.pos,c.box)}},_prepare:function(e,t,n){for(var i=e;i;i=i.parentNode){var o=i.getModel().get("name"),r=n.getTextRect(o),a=Math.max(r.width+16,t.emptyItemWidth);t.totalWidth+=a+8,t.renderList.push({node:i,text:o,width:a})}},_renderContent:function(e,t,n,i,o){for(var r=0,a=t.emptyItemWidth,s=e.get("breadcrumb.height"),c=yc.getAvailableSize(t.pos,t.box),l=t.totalWidth,d=t.renderList,u=d.length-1;u>=0;u--){var f=d[u],h=f.node,p=f.width,g=f.text;l>c.width&&(l-=p-a,p=a,g=null);var m=new Ls.Polygon({shape:{points:Zw(r,0,p,s,u===d.length-1,0===u)},style:D.defaults(n.getItemStyle(),{lineJoin:"bevel",text:g,textFill:i.getTextColor(),textFont:i.getFont()}),z:10,onclick:D.curry(o,h)});this.group.add(m),Xw(m,e,h),r+=p+8}},remove:function(){this.group.removeAll()}};var Qw=Yw;var Jw={createWrap:function(){var e,t=[],n={};return{add:function(e,i,o,r,a){return D.isString(r)&&(a=r,r=0),!n[e.id]&&(n[e.id]=1,t.push({el:e,target:i,time:o,delay:r,easing:a}),!0)},done:function(t){return e=t,this},start:function(){for(var i=t.length,o=0,r=t.length;o<r;o++){var a=t[o];a.el.animateTo(a.target,a.time,a.delay,a.easing,s)}return this;function s(){--i||(t.length=0,n={},e&&e())}}}}},ex=D.bind,tx=Ls.Group,nx=Ls.Rect,ix=D.each,ox=["label"],rx=["emphasis","label"],ax=["upperLabel"],sx=["emphasis","upperLabel"],cx=10,lx=1,dx=2,ux=po([["fill","color"],["stroke","strokeColor"],["lineWidth","strokeWidth"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"]]),fx=function(e){var t=ux(e);return t.stroke=t.fill=t.lineWidth=null,t};mm.extendChartView({type:"treemap",init:function(e,t){this._containerGroup,this._storage={nodeGroup:[],background:[],content:[]},this._oldTree,this._breadcrumb,this._controller,this._state="ready"},render:function(e,t,n,i){var o=t.findComponents({mainType:"series",subType:"treemap",query:i});if(!(D.indexOf(o,e)<0)){this.seriesModel=e,this.api=n,this.ecModel=t;var r=$w.retrieveTargetInfo(i,["treemapZoomToNode","treemapRootToNode"],e),a=i&&i.type,s=e.layoutInfo,c=!this._oldTree,l=this._storage,d="treemapRootToNode"===a&&r&&l?{rootNodeGroup:l.nodeGroup[r.node.getRawIndex()],direction:i.direction}:null,u=this._giveContainerGroup(s),f=this._doRender(u,e,d);c||a&&"treemapZoomToNode"!==a&&"treemapRootToNode"!==a?f.renderFinally():this._doAnimation(u,f,e,d),this._resetController(n),this._renderBreadcrumb(e,n,r)}},_giveContainerGroup:function(e){var t=this._containerGroup;return t||(t=this._containerGroup=new tx,this._initEvents(t),this.group.add(t)),t.attr("position",[e.x,e.y]),t},_doRender:function(e,t,n){var i=t.getData().tree,o=this._oldTree,r={nodeGroup:[],background:[],content:[]},a={nodeGroup:[],background:[],content:[]},s=this._storage,c=[],l=D.curry(hx,t,a,s,n,r,c);!function e(t,n,i,o,r){o?(n=t,ix(t,function(e,t){!e.isRemoved()&&s(t,t)})):new sh(n,t,a,a).add(s).update(s).remove(D.curry(s,null)).execute();function a(e){return e.getId()}function s(a,s){var c=null!=a?t[a]:null,d=null!=s?n[s]:null,u=l(c,d,i,r);u&&e(c&&c.viewChildren||[],d&&d.viewChildren||[],u,o,r+1)}}(i.root?[i.root]:[],o&&o.root?[o.root]:[],e,i===o||!o,0);var d=function(e){var t={nodeGroup:[],background:[],content:[]};return e&&ix(e,function(e,n){var i=t[n];ix(e,function(e){e&&(i.push(e),e.__tmWillDelete=1)})}),t}(s);return this._oldTree=i,this._storage=a,{lastsForAnimation:r,willDeleteEls:d,renderFinally:function(){ix(d,function(e){ix(e,function(e){e.parent&&e.parent.remove(e)})}),ix(c,function(e){e.invisible=!0,e.dirty()})}}},_doAnimation:function(e,t,n,i){if(n.get("animation")){var o=n.get("animationDurationUpdate"),r=n.get("animationEasing"),a=Jw.createWrap();ix(t.willDeleteEls,function(e,t){ix(e,function(e,n){if(!e.invisible){var s,c=e.parent;if(i&&"drillDown"===i.direction)s=c===i.rootNodeGroup?{shape:{x:0,y:0,width:c.__tmNodeWidth,height:c.__tmNodeHeight},style:{opacity:0}}:{style:{opacity:0}};else{var l=0,d=0;c.__tmWillDelete||(l=c.__tmNodeWidth/2,d=c.__tmNodeHeight/2),s="nodeGroup"===t?{position:[l,d],style:{opacity:0}}:{shape:{x:l,y:d,width:0,height:0},style:{opacity:0}}}s&&a.add(e,s,o,r)}})}),ix(this._storage,function(e,n){ix(e,function(e,i){var s=t.lastsForAnimation[n][i],c={};s&&("nodeGroup"===n?s.old&&(c.position=e.position.slice(),e.attr("position",s.old)):(s.old&&(c.shape=D.extend({},e.shape),e.setShape(s.old)),s.fadein?(e.setStyle("opacity",0),c.style={opacity:1}):1!==e.style.opacity&&(c.style={opacity:1})),a.add(e,c,o,r))})},this),this._state="animating",a.done(ex(function(){this._state="ready",t.renderFinally()},this)).start()}},_resetController:function(e){var t=this._controller;t||((t=this._controller=new H_(e.getZr())).enable(this.seriesModel.get("roam")),t.on("pan",ex(this._onPan,this)),t.on("zoom",ex(this._onZoom,this)));var n=new Vt(0,0,e.getWidth(),e.getHeight());t.setPointerChecker(function(e,t,i){return n.contain(t,i)})},_clearController:function(){var e=this._controller;e&&(e.dispose(),e=null)},_onPan:function(e){if("animating"!==this._state&&(Math.abs(e.dx)>3||Math.abs(e.dy)>3)){var t=this.seriesModel.getData().tree.root;if(!t)return;var n=t.getLayout();if(!n)return;this.api.dispatchAction({type:"treemapMove",from:this.uid,seriesId:this.seriesModel.id,rootRect:{x:n.x+e.dx,y:n.y+e.dy,width:n.width,height:n.height}})}},_onZoom:function(e){var t=e.originX,n=e.originY;if("animating"!==this._state){var i=this.seriesModel.getData().tree.root;if(!i)return;var o=i.getLayout();if(!o)return;var r=new Vt(o.x,o.y,o.width,o.height),a=this.seriesModel.layoutInfo;t-=a.x,n-=a.y;var s=de.create();de.translate(s,s,[-t,-n]),de.scale(s,s,[e.scale,e.scale]),de.translate(s,s,[t,n]),r.applyTransform(s),this.api.dispatchAction({type:"treemapRender",from:this.uid,seriesId:this.seriesModel.id,rootRect:{x:r.x,y:r.y,width:r.width,height:r.height}})}},_initEvents:function(e){e.on("click",function(e){if("ready"===this._state){var t=this.seriesModel.get("nodeClick",!0);if(t){var n=this.findTarget(e.offsetX,e.offsetY);if(n){var i=n.node;if(i.getLayout().isLeafRoot)this._rootToNode(n);else if("zoomToNode"===t)this._zoomToNode(n);else if("link"===t){var o=i.hostTree.data.getItemModel(i.dataIndex),r=o.get("link",!0),a=o.get("target",!0)||"blank";r&&window.open(r,a)}}}}},this)},_renderBreadcrumb:function(e,t,n){n||(n=null!=e.get("leafDepth",!0)?{node:e.getViewRoot()}:this.findTarget(t.getWidth()/2,t.getHeight()/2))||(n={node:e.getData().tree.root}),(this._breadcrumb||(this._breadcrumb=new Qw(this.group))).render(e,t,n.node,ex(function(t){"animating"!==this._state&&($w.aboveViewRoot(e.getViewRoot(),t)?this._rootToNode({node:t}):this._zoomToNode({node:t}))},this))},remove:function(){this._clearController(),this._containerGroup&&this._containerGroup.removeAll(),this._storage={nodeGroup:[],background:[],content:[]},this._state="ready",this._breadcrumb&&this._breadcrumb.remove()},dispose:function(){this._clearController()},_zoomToNode:function(e){this.api.dispatchAction({type:"treemapZoomToNode",from:this.uid,seriesId:this.seriesModel.id,targetNode:e.node})},_rootToNode:function(e){this.api.dispatchAction({type:"treemapRootToNode",from:this.uid,seriesId:this.seriesModel.id,targetNode:e.node})},findTarget:function(e,t){var n;return this.seriesModel.getViewRoot().eachNode({attr:"viewChildren",order:"preorder"},function(i){var o=this._storage.background[i.getRawIndex()];if(o){var r=o.transformCoordToLocal(e,t),a=o.shape;if(!(a.x<=r[0]&&r[0]<=a.x+a.width&&a.y<=r[1]&&r[1]<=a.y+a.height))return!1;n={node:i,offsetX:r[0],offsetY:r[1]}}},this),n}});function hx(e,t,n,i,o,r,a,s,c,l){if(a){var d=a.getLayout();if(d&&d.isInView){var u=d.width,f=d.height,h=d.borderWidth,p=d.invisible,g=a.getRawIndex(),m=s&&s.getRawIndex(),b=a.viewChildren,v=d.upperHeight,y=b&&b.length,_=a.getModel("itemStyle"),w=a.getModel("emphasis.itemStyle"),x=j("nodeGroup",tx);if(x){if(c.add(x),x.attr("position",[d.x||0,d.y||0]),x.__tmNodeWidth=u,x.__tmNodeHeight=f,d.isAboveViewRoot)return x;var S=j("background",nx,l,lx);if(S&&function(t,n,i){n.dataIndex=a.dataIndex,n.seriesIndex=e.seriesIndex,n.setShape({x:0,y:0,width:u,height:f});var o=a.getVisual("borderColor",!0),r=w.get("borderColor");k(n,function(){var e=fx(_);e.fill=o;var t=ux(w);if(t.fill=r,i){var a=u-2*h;C(e,t,o,a,v,{x:h,y:0,width:a,height:v})}else e.text=t.text=null;n.setStyle(e),Ls.setHoverStyle(n,t)}),t.add(n)}(x,S,y&&d.upperHeight),!y){var T=j("content",nx,l,dx);T&&function(t,n){n.dataIndex=a.dataIndex,n.seriesIndex=e.seriesIndex;var i=Math.max(u-2*h,0),o=Math.max(f-2*h,0);n.culling=!0,n.setShape({x:h,y:h,width:i,height:o});var r=a.getVisual("color",!0);k(n,function(){var e=fx(_);e.fill=r;var t=ux(w);C(e,t,r,i,o),n.setStyle(e),Ls.setHoverStyle(n,t)}),t.add(n)}(x,T)}return x}}}function k(e,t){p?!e.invisible&&r.push(e):(t(),e.__tmWillVisible||(e.invisible=!1))}function C(t,n,i,o,r,s){var c=a.getModel(),l=D.retrieve(e.getFormattedLabel(a.dataIndex,"normal",null,null,s?"upperLabel":"label"),c.get("name"));if(!s&&d.isLeafRoot){var u=e.get("drillDownIcon",!0);l=u?u+" "+l:l}var f=c.getModel(s?ax:ox),h=c.getModel(s?sx:rx),p=f.getShallow("show");Ls.setLabelStyle(t,n,f,h,{defaultText:p?l:null,autoColor:i,isRectText:!0}),s&&(t.textRect=D.clone(s)),t.truncate=p&&f.get("ellipsis")?{outerWidth:o,outerHeight:r,minChar:2}:null}function j(e,r,s,c){var l=null!=m&&n[e][m],d=o[e];return l?(n[e][m]=null,function(e,t,n){(e[g]={}).old="nodeGroup"===n?t.position.slice():D.extend({},t.shape)}(d,l,e)):p||((l=new r({z:function(e,t){var n=e*cx+t;return(n-1)/n}(s,c)})).__tmDepth=s,l.__tmStorageName=e,function(e,t,n){var r=e[g]={},s=a.parentNode;if(s&&(!i||"drillDown"===i.direction)){var c=0,l=0,d=o.background[s.getRawIndex()];!i&&d&&d.old&&(c=d.old.width,l=d.old.height),r.old="nodeGroup"===n?[0,l]:{x:c,y:l,width:0,height:0}}r.fadein="nodeGroup"!==n}(d,0,e)),t[e][g]=l}}for(var px=function(){},gx=["treemapZoomToNode","treemapRender","treemapMove"],mx=0;mx<gx.length;mx++)mm.registerAction({type:gx[mx],update:"updateView"},px);mm.registerAction({type:"treemapRootToNode",update:"updateView"},function(e,t){t.eachComponent({mainType:"series",subType:"treemap",query:e},function(t,n){var i=$w.retrieveTargetInfo(e,["treemapZoomToNode","treemapRootToNode"],t);if(i){var o=t.getViewRoot();o&&(e.direction=$w.aboveViewRoot(o,i.node)?"rollUp":"drillDown"),t.resetViewRoot(i.node)}})});var bx=tc.linearMap,vx=D.each,yx=D.isObject,_x=-1,xx=function(e){var t=e.mappingMethod,n=e.type,i=this.option=D.clone(e);this.type=n,this.mappingMethod=t,this._normalizeData=Dx[t];var o=Sx[n];this.applyVisual=o.applyVisual,this.getColorMapper=o.getColorMapper,this._doMap=o._doMap[t],"piecewise"===t?(Tx(i),function(e){var t=e.pieceList;e.hasSpecialVisual=!1,D.each(t,function(t,n){t.originIndex=n,null!=t.visual&&(e.hasSpecialVisual=!0)})}(i)):"category"===t?i.categories?function(e){var t=e.categories,n=e.visual,i=e.categoryMap={};if(vx(t,function(e,t){i[e]=t}),!D.isArray(n)){var o=[];D.isObject(n)?vx(n,function(e,t){var n=i[t];o[null!=n?n:_x]=e}):o[_x]=n,n=Ox(e,o)}for(var r=t.length-1;r>=0;r--)null==n[r]&&(delete i[t[r]],t.pop())}(i):Tx(i,!0):(D.assert("linear"!==t||i.dataExtent),Tx(i))};xx.prototype={constructor:xx,mapValueToVisual:function(e){var t=this._normalizeData(e);return this._doMap(t,e)},getNormalizer:function(){return D.bind(this._normalizeData,this)}};var Sx=xx.visualHandlers={color:{applyVisual:jx("color"),getColorMapper:function(){var e=this.option;return D.bind("category"===e.mappingMethod?function(e,t){return!t&&(e=this._normalizeData(e)),Ax.call(this,e)}:function(t,n,i){var o=!!i;return!n&&(t=this._normalizeData(t)),i=Ue.fastLerp(t,e.parsedVisual,i),o?i:Ue.stringify(i,"rgba")},this)},_doMap:{linear:function(e){return Ue.stringify(Ue.fastLerp(e,this.option.parsedVisual),"rgba")},category:Ax,piecewise:function(e,t){var n=Mx.call(this,t);return null==n&&(n=Ue.stringify(Ue.fastLerp(e,this.option.parsedVisual),"rgba")),n},fixed:Ex}},colorHue:kx(function(e,t){return Ue.modifyHSL(e,t)}),colorSaturation:kx(function(e,t){return Ue.modifyHSL(e,null,t)}),colorLightness:kx(function(e,t){return Ue.modifyHSL(e,null,null,t)}),colorAlpha:kx(function(e,t){return Ue.modifyAlpha(e,t)}),opacity:{applyVisual:jx("opacity"),_doMap:Ix([0,1])},liftZ:{applyVisual:jx("liftZ"),_doMap:{linear:Ex,category:Ex,piecewise:Ex,fixed:Ex}},symbol:{applyVisual:function(e,t,n){var i=this.mapValueToVisual(e);if(D.isString(i))n("symbol",i);else if(yx(i))for(var o in i)i.hasOwnProperty(o)&&n(o,i[o])},_doMap:{linear:Cx,category:Ax,piecewise:function(e,t){var n=Mx.call(this,t);return null==n&&(n=Cx.call(this,e)),n},fixed:Ex}},symbolSize:{applyVisual:jx("symbolSize"),_doMap:Ix([0,1])}};function Tx(e,t){var n=e.visual,i=[];D.isObject(n)?vx(n,function(e){i.push(e)}):null!=n&&i.push(n);t||1!==i.length||{color:1,symbol:1}.hasOwnProperty(e.type)||(i[1]=i[0]),Ox(e,i)}function kx(e){return{applyVisual:function(t,n,i){t=this.mapValueToVisual(t),i("color",e(n("color"),t))},_doMap:Ix([0,1])}}function Cx(e){var t=this.option.visual;return t[Math.round(bx(e,[0,1],[0,t.length-1],!0))]||{}}function jx(e){return function(t,n,i){i(e,this.mapValueToVisual(t))}}function Ax(e){var t=this.option.visual;return t[this.option.loop&&e!==_x?e%t.length:e]}function Ex(){return this.option.visual[0]}function Ix(e){return{linear:function(t){return bx(t,e,this.option.visual,!0)},category:Ax,piecewise:function(t,n){var i=Mx.call(this,n);return null==i&&(i=bx(t,e,this.option.visual,!0)),i},fixed:Ex}}function Mx(e){var t=this.option,n=t.pieceList;if(t.hasSpecialVisual){var i=n[xx.findPieceIndex(e,n)];if(i&&i.visual)return i.visual[this.type]}}function Ox(e,t){return e.visual=t,"color"===e.type&&(e.parsedVisual=D.map(t,function(e){return Ue.parse(e)})),t}var Dx={linear:function(e){return bx(e,this.option.dataExtent,[0,1],!0)},piecewise:function(e){var t=this.option.pieceList,n=xx.findPieceIndex(e,t,!0);if(null!=n)return bx(n,[0,t.length-1],[0,1],!0)},category:function(e){var t=this.option.categories?this.option.categoryMap[e]:e;return null==t?_x:t},fixed:D.noop};function Vx(e,t,n){return e?t<=n:t<n}xx.listVisualTypes=function(){var e=[];return D.each(Sx,function(t,n){e.push(n)}),e},xx.addVisualHandler=function(e,t){Sx[e]=t},xx.isValidType=function(e){return Sx.hasOwnProperty(e)},xx.eachVisual=function(e,t,n){D.isObject(e)?D.each(e,t,n):t.call(n,e)},xx.mapVisual=function(e,t,n){var i,o=D.isArray(e)?[]:D.isObject(e)?{}:(i=!0,null);return xx.eachVisual(e,function(e,r){var a=t.call(n,e,r);i?o=a:o[r]=a}),o},xx.retrieveVisuals=function(e){var t,n={};return e&&vx(Sx,function(i,o){e.hasOwnProperty(o)&&(n[o]=e[o],t=!0)}),t?n:null},xx.prepareVisualTypes=function(e){if(yx(e)){var t=[];vx(e,function(e,n){t.push(n)}),e=t}else{if(!D.isArray(e))return[];e=e.slice()}return e.sort(function(e,t){return"color"===t&&"color"!==e&&0===e.indexOf("color")?1:-1}),e},xx.dependsOn=function(e,t){return"color"===t?!(!e||0!==e.indexOf(t)):e===t},xx.findPieceIndex=function(e,t,n){for(var i,o=1/0,r=0,a=t.length;r<a;r++){var s=t[r].value;if(null!=s){if(s===e||"string"==typeof s&&s===e+"")return r;n&&u(s,r)}}for(r=0,a=t.length;r<a;r++){var c=t[r],l=c.interval,d=c.close;if(l){if(l[0]===-1/0){if(Vx(d[1],e,l[1]))return r}else if(l[1]===1/0){if(Vx(d[0],l[0],e))return r}else if(Vx(d[0],l[0],e)&&Vx(d[1],e,l[1]))return r;n&&u(l[0],r),n&&u(l[1],r)}}if(n)return e===1/0?t.length-1:e===-1/0?0:i;function u(t,n){var r=Math.abs(t-e);r<o&&(o=r,i=n)}};var Lx=xx,Px=D.isArray,Nx="itemStyle";function Rx(e){var t=Fx(e,"color");if(t){var n=Fx(e,"colorAlpha"),i=Fx(e,"colorSaturation");return i&&(t=Ue.modifyHSL(t,null,null,i)),n&&(t=Ue.modifyAlpha(t,n)),t}}function Fx(e,t){var n=e[t];if(null!=n&&"none"!==n)return n}function Bx(e,t){var n=e.get(t);return Px(n)&&n.length?{name:t,range:n}:null}var zx={seriesType:"treemap",reset:function(e,t,n,i){var o=e.getData().tree,r=o.root,a=e.getModel(Nx);r.isRemoved()||function e(t,n,i,o,r,a){var s=t.getModel();var c=t.getLayout();if(!c||c.invisible||!c.isInView)return;var l=t.getModel(Nx);var d=i[t.depth];var u=function(e,t,n,i){var o=D.extend({},t);return D.each(["color","colorAlpha","colorSaturation"],function(r){var a=e.get(r,!0);null==a&&n&&(a=n[r]),null==a&&(a=t[r]),null==a&&(a=i.get(r)),null!=a&&(o[r]=a)}),o}(l,n,d,o);var f=l.get("borderColor");var h=l.get("borderColorSaturation");var p;null!=h&&(p=Rx(u),f=function(e,t){return null!=t?Ue.modifyHSL(t,null,null,e):null}(h,p));t.setVisual("borderColor",f);var g=t.viewChildren;if(g&&g.length){var m=function(e,t,n,i,o,r){if(!r||!r.length)return;var a=Bx(t,"color")||null!=o.color&&"none"!==o.color&&(Bx(t,"colorAlpha")||Bx(t,"colorSaturation"));if(!a)return;var s=t.get("visualMin"),c=t.get("visualMax"),l=n.dataExtent.slice();null!=s&&s<l[0]&&(l[0]=s),null!=c&&c>l[1]&&(l[1]=c);var d=t.get("colorMappingBy"),u={type:a.name,dataExtent:l,visual:a.range};"color"!==u.type||"index"!==d&&"id"!==d?u.mappingMethod="linear":(u.mappingMethod="category",u.loop=!0);var f=new Lx(u);return f.__drColorMappingBy=d,f}(0,s,c,0,u,g);D.each(g,function(t,n){if(t.depth>=r.length||t===r[t.depth]){var c=function(e,t,n,i,o,r){var a=D.extend({},t);if(o){var s=o.type,c="color"===s&&o.__drColorMappingBy,l="index"===c?i:"id"===c?r.mapIdToIndex(n.getId()):n.getValue(e.get("visualDimension"));a[s]=o.mapValueToVisual(l)}return a}(s,u,t,n,m,a);e(t,c,i,o,r,a)}})}else p=Rx(u),t.setVisual("color",p)}(r,{},D.map(o.levelModels,function(e){return e?e.get(Nx):null}),a,e.getViewRoot().getAncestors(),e)}},Hx=tc.parsePercent,$x=tc.MAX_SAFE_INTEGER,qx=Math.max,Wx=Math.min,Gx=D.retrieve,Ux=D.each,Kx=["itemStyle","borderWidth"],Yx=["itemStyle","gapWidth"],Zx=["upperLabel","show"],Xx=["upperLabel","height"];function Qx(e,t,n){for(var i,o=0,r=1/0,a=0,s=e.length;a<s;a++)(i=e[a].getLayout().area)&&(i<r&&(r=i),i>o&&(o=i));var c=e.area*e.area,l=t*t*n;return c?qx(l*o/c,c/(l*r)):1/0}function Jx(e,t,n,i,o){var r=t===n.width?0:1,a=1-r,s=["x","y"],c=["width","height"],l=n[s[r]],d=t?e.area/t:0;(o||d>n[c[a]])&&(d=n[c[a]]);for(var u=0,f=e.length;u<f;u++){var h=e[u],p={},g=d?h.getLayout().area/d:0,m=p[c[a]]=qx(d-2*i,0),b=n[s[r]]+n[c[r]]-l,v=u===f-1||b<g?b:g,y=p[c[r]]=qx(v-2*i,0);p[s[a]]=n[s[a]]+Wx(i,m/2),p[s[r]]=l+Wx(i,y/2),l+=v,h.setLayout(p,!0)}n[s[a]]+=d,n[c[a]]-=d}function eS(e){return e.get(Zx)?e.get(Xx):0}var tS={seriesType:"treemap",reset:function(e,t,n,i){var o=n.getWidth(),r=n.getHeight(),a=e.option,s=yc.getLayoutRect(e.getBoxLayoutParams(),{width:n.getWidth(),height:n.getHeight()}),c=a.size||[],l=Hx(Gx(s.width,c[0]),o),d=Hx(Gx(s.height,c[1]),r),u=i&&i.type,f=$w.retrieveTargetInfo(i,["treemapZoomToNode","treemapRootToNode"],e),h="treemapRender"===u||"treemapMove"===u?i.rootRect:null,p=e.getViewRoot(),g=$w.getPathToRoot(p);if("treemapMove"!==u){var m="treemapZoomToNode"===u?function(e,t,n,i,o){var r,a=(t||{}).node,s=[i,o];if(!a||a===n)return s;var c=i*o,l=c*e.option.zoomToNodeRatio;for(;r=a.parentNode;){for(var d=0,u=r.children,f=0,h=u.length;f<h;f++)d+=u[f].getValue();var p=a.getValue();if(0===p)return s;l*=d/p;var g=r.getModel(),m=g.get(Kx),b=Math.max(m,eS(g));(l+=4*m*m+(3*m+b)*Math.pow(l,.5))>$x&&(l=$x),a=r}l<c&&(l=c);var v=Math.pow(l/c,.5);return[i*v,o*v]}(e,f,p,l,d):h?[h.width,h.height]:[l,d],b=a.sort;b&&"asc"!==b&&"desc"!==b&&(b="desc");var v={squareRatio:a.squareRatio,sort:b,leafDepth:a.leafDepth};p.hostTree.clearLayouts();var y={x:0,y:0,width:m[0],height:m[1],area:m[0]*m[1]};p.setLayout(y),function e(t,n,i,o){var r;var a;if(t.isRemoved())return;var s=t.getLayout();r=s.width;a=s.height;var c=t.getModel();var l=c.get(Kx);var d=c.get(Yx)/2;var u=eS(c);var f=Math.max(l,u);var h=l-d;var p=f-d;var c=t.getModel();t.setLayout({borderWidth:l,upperHeight:f,upperLabelHeight:u},!0);r=qx(r-2*h,0);a=qx(a-h-p,0);var g=r*a;var m=function(e,t,n,i,o,r){var a=e.children||[],s=i.sort;"asc"!==s&&"desc"!==s&&(s=null);var c=null!=i.leafDepth&&i.leafDepth<=r;if(o&&!c)return e.viewChildren=[];!function(e,t){t&&e.sort(function(e,n){var i="asc"===t?e.getValue()-n.getValue():n.getValue()-e.getValue();return 0===i?"asc"===t?e.dataIndex-n.dataIndex:n.dataIndex-e.dataIndex:i})}(a=D.filter(a,function(e){return!e.isRemoved()}),s);var l=function(e,t,n){for(var i=0,o=0,r=t.length;o<r;o++)i+=t[o].getValue();var a=e.get("visualDimension");if(t&&t.length)if("value"===a&&n)s=[t[t.length-1].getValue(),t[0].getValue()],"asc"===n&&s.reverse();else{var s=[1/0,-1/0];Ux(t,function(e){var t=e.getValue(a);t<s[0]&&(s[0]=t),t>s[1]&&(s[1]=t)})}else s=[NaN,NaN];return{sum:i,dataExtent:s}}(t,a,s);if(0===l.sum)return e.viewChildren=[];if(l.sum=function(e,t,n,i,o){if(!i)return n;for(var r=e.get("visibleMin"),a=o.length,s=a,c=a-1;c>=0;c--){var l=o["asc"===i?a-c-1:c].getValue();l/n*t<r&&(s=c,n-=l)}return"asc"===i?o.splice(0,a-s):o.splice(s,a-s),n}(t,n,l.sum,s,a),0===l.sum)return e.viewChildren=[];for(var d=0,u=a.length;d<u;d++){var f=a[d].getValue()/l.sum*n;a[d].setLayout({area:f})}c&&(a.length&&e.setLayout({isLeafRoot:!0},!0),a.length=0);return e.viewChildren=a,e.setLayout({dataExtent:l.dataExtent},!0),a}(t,c,g,n,i,o);if(!m.length)return;var b={x:h,y:p,width:r,height:a};var v=Wx(r,a);var y=1/0;var _=[];_.area=0;for(var w=0,x=m.length;w<x;){var S=m[w];_.push(S),_.area+=S.getLayout().area;var T=Qx(_,v,n.squareRatio);T<=y?(w++,y=T):(_.area-=_.pop().getLayout().area,Jx(_,v,b,d,!1),v=Wx(b.width,b.height),_.length=_.area=0,y=1/0)}_.length&&Jx(_,v,b,d,!0);if(!i){var k=c.get("childrenVisibleMin");null!=k&&g<k&&(i=!0)}for(var w=0,x=m.length;w<x;w++)e(m[w],n,i,o+1)}(p,v,!1,0);y=p.getLayout();Ux(g,function(e,t){var n=(g[t+1]||p).getValue();e.setLayout(D.extend({dataExtent:[n,n],borderWidth:0,upperHeight:0},y))})}var _=e.getData().tree.root;_.setLayout(function(e,t,n){if(t)return{x:t.x,y:t.y};var i={x:0,y:0};if(!n)return i;var o=n.node,r=o.getLayout();if(!r)return i;var a=[r.width/2,r.height/2],s=o;for(;s;){var c=s.getLayout();a[0]+=c.x,a[1]+=c.y,s=s.parentNode}return{x:e.width/2-a[0],y:e.height/2-a[1]}}(s,h,f),!0),e.setLayoutInfo(s),function e(t,n,i,o,r){var a=t.getLayout();var s=i[r];var c=s&&s===t;if(s&&!c||r===i.length&&t!==o)return;t.setLayout({isInView:!0,invisible:!c&&!n.intersect(a),isAboveViewRoot:c},!0);var l=new Vt(n.x-a.x,n.y-a.y,n.width,n.height);Ux(t.viewChildren||[],function(t){e(t,l,i,o,r+1)})}(_,new Vt(-s.x,-s.y,o,r),g,p,0)}};mm.registerVisual(zx),mm.registerLayout(tS);var nS=ho.enableClassCheck;function iS(e){return"_EC_"+e}var oS=function(e){this._directed=e||!1,this.nodes=[],this.edges=[],this._nodesMap={},this._edgesMap={},this.data,this.edgeData},rS=oS.prototype;function aS(e,t){this.id=null==e?"":e,this.inEdges=[],this.outEdges=[],this.edges=[],this.hostGraph,this.dataIndex=null==t?-1:t}function sS(e,t,n){this.node1=e,this.node2=t,this.dataIndex=null==n?-1:n}rS.type="graph",rS.isDirected=function(){return this._directed},rS.addNode=function(e,t){e=e||""+t;var n=this._nodesMap;if(!n[iS(e)]){var i=new aS(e,t);return i.hostGraph=this,this.nodes.push(i),n[iS(e)]=i,i}},rS.getNodeByIndex=function(e){var t=this.data.getRawIndex(e);return this.nodes[t]},rS.getNodeById=function(e){return this._nodesMap[iS(e)]},rS.addEdge=function(e,t,n){var i=this._nodesMap,o=this._edgesMap;if("number"==typeof e&&(e=this.nodes[e]),"number"==typeof t&&(t=this.nodes[t]),aS.isInstance(e)||(e=i[iS(e)]),aS.isInstance(t)||(t=i[iS(t)]),e&&t){var r=e.id+"-"+t.id;if(!o[r]){var a=new sS(e,t,n);return a.hostGraph=this,this._directed&&(e.outEdges.push(a),t.inEdges.push(a)),e.edges.push(a),e!==t&&t.edges.push(a),this.edges.push(a),o[r]=a,a}}},rS.getEdgeByIndex=function(e){var t=this.edgeData.getRawIndex(e);return this.edges[t]},rS.getEdge=function(e,t){aS.isInstance(e)&&(e=e.id),aS.isInstance(t)&&(t=t.id);var n=this._edgesMap;return this._directed?n[e+"-"+t]:n[e+"-"+t]||n[t+"-"+e]},rS.eachNode=function(e,t){for(var n=this.nodes,i=n.length,o=0;o<i;o++)n[o].dataIndex>=0&&e.call(t,n[o],o)},rS.eachEdge=function(e,t){for(var n=this.edges,i=n.length,o=0;o<i;o++)n[o].dataIndex>=0&&n[o].node1.dataIndex>=0&&n[o].node2.dataIndex>=0&&e.call(t,n[o],o)},rS.breadthFirstTraverse=function(e,t,n,i){if(aS.isInstance(t)||(t=this._nodesMap[iS(t)]),t){for(var o="out"===n?"outEdges":"in"===n?"inEdges":"edges",r=0;r<this.nodes.length;r++)this.nodes[r].__visited=!1;if(!e.call(i,t,null))for(var a=[t];a.length;){var s=a.shift(),c=s[o];for(r=0;r<c.length;r++){var l=c[r],d=l.node1===s?l.node2:l.node1;if(!d.__visited){if(e.call(i,d,s))return;a.push(d),d.__visited=!0}}}}},rS.update=function(){for(var e=this.data,t=this.edgeData,n=this.nodes,i=this.edges,o=0,r=n.length;o<r;o++)n[o].dataIndex=-1;for(o=0,r=e.count();o<r;o++)n[e.getRawIndex(o)].dataIndex=o;t.filterSelf(function(e){var n=i[t.getRawIndex(e)];return n.node1.dataIndex>=0&&n.node2.dataIndex>=0});for(o=0,r=i.length;o<r;o++)i[o].dataIndex=-1;for(o=0,r=t.count();o<r;o++)i[t.getRawIndex(o)].dataIndex=o},rS.clone=function(){for(var e=new oS(this._directed),t=this.nodes,n=this.edges,i=0;i<t.length;i++)e.addNode(t[i].id,t[i].dataIndex);for(i=0;i<n.length;i++){var o=n[i];e.addEdge(o.node1.id,o.node2.id,o.dataIndex)}return e},aS.prototype={constructor:aS,degree:function(){return this.edges.length},inDegree:function(){return this.inEdges.length},outDegree:function(){return this.outEdges.length},getModel:function(e){if(!(this.dataIndex<0))return this.hostGraph.data.getItemModel(this.dataIndex).getModel(e)}},sS.prototype.getModel=function(e){if(!(this.dataIndex<0))return this.hostGraph.edgeData.getItemModel(this.dataIndex).getModel(e)};var cS=function(e,t){return{getValue:function(n){var i=this[e][t];return i.get(i.getDimension(n||"value"),this.dataIndex)},setVisual:function(n,i){this.dataIndex>=0&&this[e][t].setItemVisual(this.dataIndex,n,i)},getVisual:function(n,i){return this[e][t].getItemVisual(this.dataIndex,n,i)},setLayout:function(n,i){this.dataIndex>=0&&this[e][t].setItemLayout(this.dataIndex,n,i)},getLayout:function(){return this[e][t].getItemLayout(this.dataIndex)},getGraphicEl:function(){return this[e][t].getItemGraphicEl(this.dataIndex)},getRawIndex:function(){return this[e][t].getRawIndex(this.dataIndex)}}};D.mixin(aS,cS("hostGraph","data")),D.mixin(sS,cS("hostGraph","edgeData")),oS.Node=aS,oS.Edge=sS,nS(aS),nS(sS);var lS=oS;var dS=function(e,t,n,i,o){for(var r=new lS(i),a=0;a<e.length;a++)r.addNode(D.retrieve(e[a].id,e[a].name,a),a);var s=[],c=[],l=0;for(a=0;a<t.length;a++){var d=t[a],u=d.source,f=d.target;r.addEdge(u,f,l)&&(c.push(d),s.push(D.retrieve(d.id,u+" > "+f)),l++)}var h,p=n.get("coordinateSystem");if("cartesian2d"===p||"polar"===p)h=op(e,n);else{var g=zl.get(p),m=g&&"view"!==g.type&&g.dimensions||[];D.indexOf(m,"value")<0&&m.concat(["value"]);var b=Kh(e,{coordDimensions:m});(h=new Lh(b,n)).initData(e)}var v=new Lh(["value"],n);return v.initData(c,s),o&&o(h,v),hw({mainData:h,struct:r,structAttr:"graph",datas:{node:h,edge:v},datasAttr:{node:"data",edge:"edgeData"}}),r.update(),r},uS=ro.defaultEmphasis,fS=cc.encodeHTML,hS=mm.extendSeriesModel({type:"series.graph",init:function(e){hS.superApply(this,"init",arguments),this.legendDataProvider=function(){return this._categoriesData},this.fillDataTextStyle(e.edges||e.links),this._updateCategoriesData()},mergeOption:function(e){hS.superApply(this,"mergeOption",arguments),this.fillDataTextStyle(e.edges||e.links),this._updateCategoriesData()},mergeDefaultAndTheme:function(e){hS.superApply(this,"mergeDefaultAndTheme",arguments),uS(e,["edgeLabel"],["show"])},getInitialData:function(e,t){var n=e.edges||e.links||[],i=e.data||e.nodes||[],o=this;if(i&&n)return dS(i,n,this,!0,function(e,n){e.wrapMethod("getItemModel",function(e){var t=o._categoriesModels,n=e.getShallow("category"),i=t[n];return i&&(i.parentModel=e.parentModel,e.parentModel=i),e});var i=o.getModel("edgeLabel"),r=new Ks({label:i.option},i.parentModel,t),a=o.getModel("emphasis.edgeLabel"),s=new Ks({emphasis:{label:a.option}},a.parentModel,t);function c(e){return(e=this.parsePath(e))&&"label"===e[0]?r:e&&"emphasis"===e[0]&&"label"===e[1]?s:this.parentModel}n.wrapMethod("getItemModel",function(e){return e.customizeGetParent(c),e})}).data},getGraph:function(){return this.getData().graph},getEdgeData:function(){return this.getGraph().edgeData},getCategoriesData:function(){return this._categoriesData},formatTooltip:function(e,t,n){if("edge"===n){var i=this.getData(),o=this.getDataParams(e,n),r=i.graph.getEdgeByIndex(e),a=i.getName(r.node1.dataIndex),s=i.getName(r.node2.dataIndex),c=[];return null!=a&&c.push(a),null!=s&&c.push(s),c=fS(c.join(" > ")),o.value&&(c+=" : "+fS(o.value)),c}return hS.superApply(this,"formatTooltip",arguments)},_updateCategoriesData:function(){var e=D.map(this.option.categories||[],function(e){return null!=e.value?e:D.extend({value:0},e)}),t=new Lh(["value"],this);t.initData(e),this._categoriesData=t,this._categoriesModels=t.mapArray(function(e){return t.getItemModel(e,!0)})},setZoom:function(e){this.option.zoom=e},setCenter:function(e){this.option.center=e},isAnimationEnabled:function(){return hS.superCall(this,"isAnimationEnabled")&&!("force"===this.get("layout")&&this.get("force.layoutAnimation"))},defaultOption:{zlevel:0,z:2,coordinateSystem:"view",legendHoverLink:!0,hoverAnimation:!0,layout:null,focusNodeAdjacency:!1,circular:{rotateLabel:!1},force:{initLayout:null,repulsion:[0,50],gravity:.1,edgeLength:30,layoutAnimation:!0},left:"center",top:"center",symbol:"circle",symbolSize:10,edgeSymbol:["none","none"],edgeSymbolSize:10,edgeLabel:{position:"middle"},draggable:!1,roam:!1,center:null,zoom:1,nodeScaleRatio:.6,label:{show:!1,formatter:"{b}"},itemStyle:{},lineStyle:{color:"#aaa",width:1,curveness:0,opacity:.5},emphasis:{label:{show:!0}}}}),pS=Ls.Line.prototype,gS=Ls.BezierCurve.prototype;function mS(e){return isNaN(+e.cpx1)||isNaN(+e.cpy1)}var bS=Ls.extendShape({type:"ec-line",style:{stroke:"#000",fill:null},shape:{x1:0,y1:0,x2:0,y2:0,percent:1,cpx1:null,cpy1:null},buildPath:function(e,t){(mS(t)?pS:gS).buildPath(e,t)},pointAt:function(e){return mS(this.shape)?pS.pointAt.call(this,e):gS.pointAt.call(this,e)},tangentAt:function(e){var t=this.shape,n=mS(t)?[t.x2-t.x1,t.y2-t.y1]:gS.tangentAt.call(this,e);return F.normalize(n,n)}}),vS=tc.round,yS=["fromSymbol","toSymbol"];function _S(e){return"_"+e+"Type"}function wS(e,t,n){var i=t.getItemVisual(n,"color"),o=t.getItemVisual(n,e),r=t.getItemVisual(n,e+"Size");if(o&&"none"!==o){D.isArray(r)||(r=[r,r]);var a=vg.createSymbol(o,-r[0]/2,-r[1]/2,r[0],r[1],i);return a.name=e,a}}function xS(e,t){var n=t[0],i=t[1],o=t[2];e.x1=n[0],e.y1=n[1],e.x2=i[0],e.y2=i[1],e.percent=1,o?(e.cpx1=o[0],e.cpy1=o[1]):(e.cpx1=NaN,e.cpy1=NaN)}function SS(e,t,n){Ls.Group.call(this),this._createLine(e,t,n)}var TS=SS.prototype;TS.beforeUpdate=function(){var e=this.childOfName("fromSymbol"),t=this.childOfName("toSymbol"),n=this.childOfName("label");if(e||t||!n.ignore){for(var i=1,o=this.parent;o;)o.scale&&(i/=o.scale[0]),o=o.parent;var r=this.childOfName("line");if(this.__dirty||r.__dirty){var a=r.shape.percent,s=r.pointAt(0),c=r.pointAt(a),l=F.sub([],c,s);if(F.normalize(l,l),e){e.attr("position",s);var d=r.tangentAt(0);e.attr("rotation",Math.PI/2-Math.atan2(d[1],d[0])),e.attr("scale",[i*a,i*a])}if(t&&(t.attr("position",c),d=r.tangentAt(1),t.attr("rotation",-Math.PI/2-Math.atan2(d[1],d[0])),t.attr("scale",[i*a,i*a])),!n.ignore){var u,f,h;n.attr("position",c);var p=5*i;if("end"===n.__position)u=[l[0]*p+c[0],l[1]*p+c[1]],f=l[0]>.8?"left":l[0]<-.8?"right":"center",h=l[1]>.8?"top":l[1]<-.8?"bottom":"middle";else if("middle"===n.__position){var g=a/2,m=[(d=r.tangentAt(g))[1],-d[0]],b=r.pointAt(g);m[1]>0&&(m[0]=-m[0],m[1]=-m[1]),u=[b[0]+m[0]*p,b[1]+m[1]*p],f="center",h="bottom";var v=-Math.atan2(d[1],d[0]);c[0]<s[0]&&(v=Math.PI+v),n.attr("rotation",v)}else u=[-l[0]*p+s[0],-l[1]*p+s[1]],f=l[0]>.8?"right":l[0]<-.8?"left":"center",h=l[1]>.8?"bottom":l[1]<-.8?"top":"middle";n.attr({style:{textVerticalAlign:n.__verticalAlign||h,textAlign:n.__textAlign||f},position:u,scale:[i,i]})}}}},TS._createLine=function(e,t,n){var i=e.hostModel,o=function(e){var t=new bS({name:"line"});return xS(t.shape,e),t}(e.getItemLayout(t));o.shape.percent=0,Ls.initProps(o,{shape:{percent:1}},i,t),this.add(o);var r=new Ls.Text({name:"label"});this.add(r),D.each(yS,function(n){var i=wS(n,e,t);this.add(i),this[_S(n)]=e.getItemVisual(t,n)},this),this._updateCommonStl(e,t,n)},TS.updateData=function(e,t,n){var i=e.hostModel,o=this.childOfName("line"),r=e.getItemLayout(t),a={shape:{}};xS(a.shape,r),Ls.updateProps(o,a,i,t),D.each(yS,function(n){var i=e.getItemVisual(t,n),o=_S(n);if(this[o]!==i){this.remove(this.childOfName(n));var r=wS(n,e,t);this.add(r)}this[o]=i},this),this._updateCommonStl(e,t,n)},TS._updateCommonStl=function(e,t,n){var i=e.hostModel,o=this.childOfName("line"),r=n&&n.lineStyle,a=n&&n.hoverLineStyle,s=n&&n.labelModel,c=n&&n.hoverLabelModel;if(!n||e.hasItemOption){var l=e.getItemModel(t);r=l.getModel("lineStyle").getLineStyle(),a=l.getModel("emphasis.lineStyle").getLineStyle(),s=l.getModel("label"),c=l.getModel("emphasis.label")}var d=e.getItemVisual(t,"color"),u=D.retrieve3(e.getItemVisual(t,"opacity"),r.opacity,1);o.useStyle(D.defaults({strokeNoScale:!0,fill:"none",stroke:d,opacity:u},r)),o.hoverStyle=a,D.each(yS,function(e){var t=this.childOfName(e);t&&(t.setColor(d),t.setStyle({opacity:u}))},this);var f,h,p=s.getShallow("show"),g=c.getShallow("show"),m=this.childOfName("label");if((p||g)&&(f=d||"#000",null==(h=i.getFormattedLabel(t,"normal",e.dataType)))){var b=i.getRawValue(t);h=null==b?e.getName(t):isFinite(b)?vS(b):b}var v=p?h:null,y=g?D.retrieve2(i.getFormattedLabel(t,"emphasis",e.dataType),h):null,_=m.style;null==v&&null==y||(Ls.setTextStyle(m.style,s,{text:v},{autoColor:f}),m.__textAlign=_.textAlign,m.__verticalAlign=_.textVerticalAlign,m.__position=s.get("position")||"middle"),m.hoverStyle=null!=y?{text:y,textFill:c.getTextColor(!0),fontStyle:c.getShallow("fontStyle"),fontWeight:c.getShallow("fontWeight"),fontSize:c.getShallow("fontSize"),fontFamily:c.getShallow("fontFamily")}:{text:null},m.ignore=!p&&!g,Ls.setHoverStyle(this)},TS.highlight=function(){this.trigger("emphasis")},TS.downplay=function(){this.trigger("normal")},TS.updateLayout=function(e,t){this.setLinePoints(e.getItemLayout(t))},TS.setLinePoints=function(e){var t=this.childOfName("line");xS(t.shape,e),t.dirty()},D.inherits(SS,Ls.Group);var kS=SS;function CS(e){this._ctor=e||kS,this.group=new Ls.Group}var jS=CS.prototype;function AS(e){var t=e.hostModel;return{lineStyle:t.getModel("lineStyle").getLineStyle(),hoverLineStyle:t.getModel("emphasis.lineStyle").getLineStyle(),labelModel:t.getModel("label"),hoverLabelModel:t.getModel("emphasis.label")}}function ES(e){return isNaN(e[0])||isNaN(e[1])}function IS(e){return!ES(e[0])&&!ES(e[1])}jS.isPersistent=function(){return!0},jS.updateData=function(e){var t=this,n=t.group,i=t._lineData;t._lineData=e,i||n.removeAll();var o=AS(e);e.diff(i).add(function(n){!function(e,t,n,i){if(!IS(t.getItemLayout(n)))return;var o=new e._ctor(t,n,i);t.setItemGraphicEl(n,o),e.group.add(o)}(t,e,n,o)}).update(function(n,r){!function(e,t,n,i,o,r){var a=t.getItemGraphicEl(i);if(!IS(n.getItemLayout(o)))return void e.group.remove(a);a?a.updateData(n,o,r):a=new e._ctor(n,o,r);n.setItemGraphicEl(o,a),e.group.add(a)}(t,i,e,r,n,o)}).remove(function(e){n.remove(i.getItemGraphicEl(e))}).execute()},jS.updateLayout=function(){var e=this._lineData;e&&e.eachItemGraphicEl(function(t,n){t.updateLayout(e,n)},this)},jS.incrementalPrepareUpdate=function(e){this._seriesScope=AS(e),this._lineData=null,this.group.removeAll()},jS.incrementalUpdate=function(e,t){function n(e){e.isGroup||(e.incremental=e.useHoverLayer=!0)}for(var i=e.start;i<e.end;i++){if(IS(t.getItemLayout(i))){var o=new this._ctor(t,i,this._seriesScope);o.traverse(n),this.group.add(o),t.setItemGraphicEl(i,o)}}},jS.remove=function(){this._clearIncremental(),this._incremental=null,this.group.removeAll()},jS._clearIncremental=function(){var e=this._incremental;e&&e.clearDisplaybles()};var MS=CS,OS=[],DS=[],VS=[],LS=Vo.quadraticAt,PS=F.distSquare,NS=Math.abs;function RS(e,t,n){for(var i,o=e[0],r=e[1],a=e[2],s=1/0,c=n*n,l=.1,d=.1;d<=.9;d+=.1){OS[0]=LS(o[0],r[0],a[0],d),OS[1]=LS(o[1],r[1],a[1],d),(h=NS(PS(OS,t)-c))<s&&(s=h,i=d)}for(var u=0;u<32;u++){var f=i+l;DS[0]=LS(o[0],r[0],a[0],i),DS[1]=LS(o[1],r[1],a[1],i),VS[0]=LS(o[0],r[0],a[0],f),VS[1]=LS(o[1],r[1],a[1],f);var h=PS(DS,t)-c;if(NS(h)<.01)break;var p=PS(VS,t)-c;l/=2,h<0?p>=0?i+=l:i-=l:p>=0?i-=l:i+=l}return i}var FS=function(e,t){var n=[],i=Vo.quadraticSubdivide,o=[[],[],[]],r=[[],[]],a=[];function s(e){var t=e.getVisual("symbolSize");return t instanceof Array&&(t=(t[0]+t[1])/2),t}t/=2,e.eachEdge(function(e,c){var l=e.getLayout(),d=e.getVisual("fromSymbol"),u=e.getVisual("toSymbol");l.__original||(l.__original=[F.clone(l[0]),F.clone(l[1])],l[2]&&l.__original.push(F.clone(l[2])));var f=l.__original;if(null!=l[2]){if(F.copy(o[0],f[0]),F.copy(o[1],f[2]),F.copy(o[2],f[1]),d&&"none"!==d){var h=s(e.node1),p=RS(o,f[0],h*t);i(o[0][0],o[1][0],o[2][0],p,n),o[0][0]=n[3],o[1][0]=n[4],i(o[0][1],o[1][1],o[2][1],p,n),o[0][1]=n[3],o[1][1]=n[4]}u&&"none"!==u&&(h=s(e.node2),p=RS(o,f[1],h*t),i(o[0][0],o[1][0],o[2][0],p,n),o[1][0]=n[1],o[2][0]=n[2],i(o[0][1],o[1][1],o[2][1],p,n),o[1][1]=n[1],o[2][1]=n[2]),F.copy(l[0],o[0]),F.copy(l[1],o[2]),F.copy(l[2],o[1])}else F.copy(r[0],f[0]),F.copy(r[1],f[1]),F.sub(a,r[1],r[0]),F.normalize(a,a),d&&"none"!==d&&(h=s(e.node1),F.scaleAndAdd(r[0],r[0],a,h*t)),u&&"none"!==u&&(h=s(e.node2),F.scaleAndAdd(r[1],r[1],a,-h*t)),F.copy(l[0],r[0]),F.copy(l[1],r[1])})},BS=W_.onIrrelevantElement,zS=["itemStyle","opacity"],HS=["lineStyle","opacity"];function $S(e,t){return e.getVisual("opacity")||e.getModel().get(t)}function qS(e,t,n){var i=e.getGraphicEl(),o=$S(e,t);null!=n&&(null==o&&(o=1),o*=n),i.downplay&&i.downplay(),i.traverse(function(e){"group"!==e.type&&e.setStyle("opacity",o)})}function WS(e,t){var n=$S(e,t),i=e.getGraphicEl();i.highlight&&i.highlight(),i.traverse(function(e){"group"!==e.type&&e.setStyle("opacity",n)})}mm.extendChartView({type:"graph",init:function(e,t){var n=new Hm,i=new MS,o=this.group;this._controller=new H_(t.getZr()),this._controllerHost={target:o},o.add(n.group),o.add(i.group),this._symbolDraw=n,this._lineDraw=i,this._firstRender=!0},render:function(e,t,n){var i=e.coordinateSystem;this._model=e,this._nodeScaleRatio=e.get("nodeScaleRatio");var o=this._symbolDraw,r=this._lineDraw,a=this.group;if("view"===i.type){var s={position:i.position,scale:i.scale};this._firstRender?a.attr(s):Ls.updateProps(a,s,e)}FS(e.getGraph(),this._getNodeGlobalScale(e));var c=e.getData();o.updateData(c);var l=e.getEdgeData();r.updateData(l),this._updateNodeAndLinkScale(),this._updateController(e,t,n),clearTimeout(this._layoutTimeout);var d=e.forceLayout,u=e.get("force.layoutAnimation");d&&this._startForceLayoutIteration(d,u),c.eachItemGraphicEl(function(t,i){var o=c.getItemModel(i);t.off("drag").off("dragend");var r=o.get("draggable");r&&t.on("drag",function(){d&&(d.warmUp(),!this._layouting&&this._startForceLayoutIteration(d,u),d.setFixed(i),c.setItemLayout(i,t.position))},this).on("dragend",function(){d&&d.setUnfixed(i)},this),t.setDraggable(r&&d),t.off("mouseover",t.__focusNodeAdjacency),t.off("mouseout",t.__unfocusNodeAdjacency),o.get("focusNodeAdjacency")&&(t.on("mouseover",t.__focusNodeAdjacency=function(){n.dispatchAction({type:"focusNodeAdjacency",seriesId:e.id,dataIndex:t.dataIndex})}),t.on("mouseout",t.__unfocusNodeAdjacency=function(){n.dispatchAction({type:"unfocusNodeAdjacency",seriesId:e.id})}))},this),c.graph.eachEdge(function(t){var i=t.getGraphicEl();i.off("mouseover",i.__focusNodeAdjacency),i.off("mouseout",i.__unfocusNodeAdjacency),t.getModel().get("focusNodeAdjacency")&&(i.on("mouseover",i.__focusNodeAdjacency=function(){n.dispatchAction({type:"focusNodeAdjacency",seriesId:e.id,edgeDataIndex:t.dataIndex})}),i.on("mouseout",i.__unfocusNodeAdjacency=function(){n.dispatchAction({type:"unfocusNodeAdjacency",seriesId:e.id})}))});var f="circular"===e.get("layout")&&e.get("circular.rotateLabel"),h=c.getLayout("cx"),p=c.getLayout("cy");c.eachItemGraphicEl(function(e,t){var n=e.getSymbolPath();if(f){var i=c.getItemLayout(t),o=Math.atan2(i[1]-p,i[0]-h);o<0&&(o=2*Math.PI+o);var r=i[0]<h;r&&(o-=Math.PI);var a=r?"left":"right";n.setStyle({textRotation:-o,textPosition:a,textOrigin:"center"}),n.hoverStyle&&(n.hoverStyle.textPosition=a)}else n.setStyle({textRotation:0})}),this._firstRender=!1},dispose:function(){this._controller&&this._controller.dispose(),this._controllerHost={}},focusNodeAdjacency:function(e,t,n,i){var o=this._model.getData().graph,r=i.dataIndex,a=i.edgeDataIndex,s=o.getNodeByIndex(r),c=o.getEdgeByIndex(a);(s||c)&&(o.eachNode(function(e){qS(e,zS,.1)}),o.eachEdge(function(e){qS(e,HS,.1)}),s&&(WS(s,zS),D.each(s.edges,function(e){e.dataIndex<0||(WS(e,HS),WS(e.node1,zS),WS(e.node2,zS))})),c&&(WS(c,HS),WS(c.node1,zS),WS(c.node2,zS)))},unfocusNodeAdjacency:function(e,t,n,i){var o=this._model.getData().graph;o.eachNode(function(e){qS(e,zS)}),o.eachEdge(function(e){qS(e,HS)})},_startForceLayoutIteration:function(e,t){var n=this;!function i(){e.step(function(e){n.updateLayout(n._model),(n._layouting=!e)&&(t?n._layoutTimeout=setTimeout(i,16):i())})}()},_updateController:function(e,t,n){var i=this._controller,o=this._controllerHost,r=this.group;i.setPointerChecker(function(t,i,o){var a=r.getBoundingRect();return a.applyTransform(r.transform),a.contain(i,o)&&!BS(t,n,e)}),"view"===e.coordinateSystem.type?(i.enable(e.get("roam")),o.zoomLimit=e.get("scaleLimit"),o.zoom=e.coordinateSystem.getZoom(),i.off("pan").off("zoom").on("pan",function(t){$_.updateViewOnPan(o,t.dx,t.dy),n.dispatchAction({seriesId:e.id,type:"graphRoam",dx:t.dx,dy:t.dy})}).on("zoom",function(t){$_.updateViewOnZoom(o,t.scale,t.originX,t.originY),n.dispatchAction({seriesId:e.id,type:"graphRoam",zoom:t.scale,originX:t.originX,originY:t.originY}),this._updateNodeAndLinkScale(),FS(e.getGraph(),this._getNodeGlobalScale(e)),this._lineDraw.updateLayout()},this)):i.disable()},_updateNodeAndLinkScale:function(){var e=this._model,t=e.getData(),n=this._getNodeGlobalScale(e),i=[n,n];t.eachItemGraphicEl(function(e,t){e.attr("scale",i)})},_getNodeGlobalScale:function(e){var t=e.coordinateSystem;if("view"!==t.type)return 1;var n=this._nodeScaleRatio,i=t.scale,o=i&&i[0]||1;return((t.getZoom()-1)*n+1)/o},updateLayout:function(e){FS(e.getGraph(),this._getNodeGlobalScale(e)),this._symbolDraw.updateLayout(),this._lineDraw.updateLayout()},remove:function(e,t){this._symbolDraw&&this._symbolDraw.remove(),this._lineDraw&&this._lineDraw.remove()}});mm.registerAction({type:"focusNodeAdjacency",event:"focusNodeAdjacency",update:"series:focusNodeAdjacency"},function(){}),mm.registerAction({type:"unfocusNodeAdjacency",event:"unfocusNodeAdjacency",update:"series:unfocusNodeAdjacency"},function(){});var GS=Q_.updateCenterAndZoom;mm.registerAction({type:"graphRoam",event:"graphRoam",update:"none"},function(e,t){t.eachComponent({mainType:"series",query:e},function(t){var n=t.coordinateSystem,i=GS(n,e);t.setCenter&&t.setCenter(i.center),t.setZoom&&t.setZoom(i.zoom)})});var US=function(e){var t=e.findComponents({mainType:"legend"});t&&t.length&&e.eachSeriesByType("graph",function(e){var n=e.getCategoriesData(),i=e.getGraph().data,o=n.mapArray(n.getName);i.filterSelf(function(e){var n=i.getItemModel(e).getShallow("category");if(null!=n){"number"==typeof n&&(n=o[n]);for(var r=0;r<t.length;r++)if(!t[r].isSelected(n))return!1}return!0})},this)};var KS=function(e){var t={};e.eachSeriesByType("graph",function(e){var n=e.getCategoriesData(),i=e.getData(),o={};n.each(function(i){var r=n.getName(i);o["ec-"+r]=i;var a=n.getItemModel(i).get("itemStyle.color")||e.getColorFromPalette(r,t);n.setItemVisual(i,"color",a)}),n.count()&&i.each(function(e){var t=i.getItemModel(e).getShallow("category");null!=t&&("string"==typeof t&&(t=o["ec-"+t]),i.getItemVisual(e,"color",!0)||i.setItemVisual(e,"color",n.getItemVisual(t,"color")))})})};function YS(e){return e instanceof Array||(e=[e,e]),e}var ZS=function(e){e.eachSeriesByType("graph",function(e){var t=e.getGraph(),n=e.getEdgeData(),i=YS(e.get("edgeSymbol")),o=YS(e.get("edgeSymbolSize")),r="lineStyle.color".split("."),a="lineStyle.opacity".split(".");n.setVisual("fromSymbol",i&&i[0]),n.setVisual("toSymbol",i&&i[1]),n.setVisual("fromSymbolSize",o&&o[0]),n.setVisual("toSymbolSize",o&&o[1]),n.setVisual("color",e.get(r)),n.setVisual("opacity",e.get(a)),n.each(function(e){var i=n.getItemModel(e),o=t.getEdgeByIndex(e),s=YS(i.getShallow("symbol",!0)),c=YS(i.getShallow("symbolSize",!0)),l=i.get(r),d=i.get(a);switch(l){case"source":l=o.node1.getVisual("color");break;case"target":l=o.node2.getVisual("color")}s[0]&&o.setVisual("fromSymbol",s[0]),s[1]&&o.setVisual("toSymbol",s[1]),c[0]&&o.setVisual("fromSymbolSize",c[0]),c[1]&&o.setVisual("toSymbolSize",c[1]),o.setVisual("color",l),o.setVisual("opacity",d)})})};function XS(e){e.eachEdge(function(e){var t=e.getModel().get("lineStyle.curveness")||0,n=F.clone(e.node1.getLayout()),i=F.clone(e.node2.getLayout()),o=[n,i];+t&&o.push([(n[0]+i[0])/2-(n[1]-i[1])*t,(n[1]+i[1])/2-(i[0]-n[0])*t]),e.setLayout(o)})}var QS={simpleLayout:function(e){var t=e.coordinateSystem;if(!t||"view"===t.type){var n=e.getGraph();n.eachNode(function(e){var t=e.getModel();e.setLayout([+t.get("x"),+t.get("y")])}),XS(n)}},simpleLayoutEdge:XS},JS=D.each,eT=QS.simpleLayout,tT=QS.simpleLayoutEdge;var nT=function(e,t){e.eachSeriesByType("graph",function(e){var t=e.get("layout"),n=e.coordinateSystem;if(n&&"view"!==n.type){var i=e.getData(),o=[];JS(n.dimensions,function(e){o=o.concat(i.mapDimension(e,!0))});for(var r=0;r<i.count();r++){for(var a=[],s=!1,c=0;c<o.length;c++){var l=i.get(o[c],r);isNaN(l)||(s=!0),a.push(l)}s?i.setItemLayout(r,n.dataToPoint(a)):i.setItemLayout(r,[NaN,NaN])}tT(i.graph)}else t&&"none"!==t||eT(e)})};var iT={circularLayout:function(e){var t=e.coordinateSystem;if(!t||"view"===t.type){var n=t.getBoundingRect(),i=e.getData(),o=i.graph,r=0,a=i.getSum("value"),s=2*Math.PI/(a||i.count()),c=n.width/2+n.x,l=n.height/2+n.y,d=Math.min(n.width,n.height)/2;o.eachNode(function(e){var t=e.getValue("value");r+=s*(a?t:1)/2,e.setLayout([d*Math.cos(r)+c,d*Math.sin(r)+l]),r+=s*(a?t:1)/2}),i.setLayout({cx:c,cy:l}),o.eachEdge(function(e){var t,n=e.getModel().get("lineStyle.curveness")||0,i=F.clone(e.node1.getLayout()),o=F.clone(e.node2.getLayout()),r=(i[0]+o[0])/2,a=(i[1]+o[1])/2;+n&&(t=[c*(n*=3)+r*(1-n),l*n+a*(1-n)]),e.setLayout([i,o,t])})}}},oT=iT.circularLayout;var rT=function(e){e.eachSeriesByType("graph",function(e){"circular"===e.get("layout")&&oT(e)})},aT=F.scaleAndAdd;var sT={forceLayout:function(e,t,n){for(var i=n.rect,o=i.width,r=i.height,a=[i.x+o/2,i.y+r/2],s=null==n.gravity?.1:n.gravity,c=0;c<e.length;c++){var l=e[c];l.p||(l.p=F.create(o*(Math.random()-.5)+a[0],r*(Math.random()-.5)+a[1])),l.pp=F.clone(l.p),l.edges=null}var d=.6;return{warmUp:function(){d=.5},setFixed:function(t){e[t].fixed=!0},setUnfixed:function(t){e[t].fixed=!1},step:function(n){for(var i=[],o=e.length,r=0;r<t.length;r++){var c=t[r],l=c.n1,u=c.n2;F.sub(i,u.p,l.p);var f=F.len(i)-c.d,h=u.w/(l.w+u.w);isNaN(h)&&(h=0),F.normalize(i,i),!l.fixed&&aT(l.p,l.p,i,h*f*d),!u.fixed&&aT(u.p,u.p,i,-(1-h)*f*d)}for(r=0;r<o;r++)(b=e[r]).fixed||(F.sub(i,a,b.p),aT(b.p,b.p,i,s*d));for(r=0;r<o;r++){l=e[r];for(var p=r+1;p<o;p++){u=e[p],F.sub(i,u.p,l.p),0===(f=F.len(i))&&(F.set(i,Math.random()-.5,Math.random()-.5),f=1);var g=(l.rep+u.rep)/f/f;!l.fixed&&aT(l.pp,l.pp,i,g),!u.fixed&&aT(u.pp,u.pp,i,-g)}}var m=[];for(r=0;r<o;r++){var b;(b=e[r]).fixed||(F.sub(m,b.p,b.pp),aT(b.p,b.p,m,d),F.copy(b.pp,b.p))}d*=.992,n&&n(e,t,d<.01)}}}}.forceLayout,cT=QS.simpleLayout,lT=iT.circularLayout,dT=tc.linearMap;var uT=function(e){e.eachSeriesByType("graph",function(e){if(!(u=e.coordinateSystem)||"view"===u.type)if("force"===e.get("layout")){var t=e.preservedPoints||{},n=e.getGraph(),i=n.data,o=n.edgeData,r=e.getModel("force"),a=r.get("initLayout");e.preservedPoints?i.each(function(e){var n=i.getId(e);i.setItemLayout(e,t[n]||[NaN,NaN])}):a&&"none"!==a?"circular"===a&&lT(e):cT(e);var s=i.getDataExtent("value"),c=o.getDataExtent("value"),l=r.get("repulsion"),d=r.get("edgeLength");D.isArray(l)||(l=[l,l]),D.isArray(d)||(d=[d,d]),d=[d[1],d[0]];var u,f=i.mapArray("value",function(e,t){var n=i.getItemLayout(t),o=dT(e,s,l);return isNaN(o)&&(o=(l[0]+l[1])/2),{w:o,rep:o,fixed:i.getItemModel(t).get("fixed"),p:!n||isNaN(n[0])||isNaN(n[1])?null:n}}),h=o.mapArray("value",function(e,t){var i=n.getEdgeByIndex(t),o=dT(e,c,d);return isNaN(o)&&(o=(d[0]+d[1])/2),{n1:f[i.node1.dataIndex],n2:f[i.node2.dataIndex],d:o,curveness:i.getModel().get("lineStyle.curveness")||0}}),p=(u=e.coordinateSystem).getBoundingRect(),g=sT(f,h,{rect:p,gravity:r.get("gravity")}),m=g.step;g.step=function(e){for(var o=0,r=f.length;o<r;o++)f[o].fixed&&F.copy(f[o].p,n.getNodeByIndex(o).getLayout());m(function(o,r,a){for(var s=0,c=o.length;s<c;s++)o[s].fixed||n.getNodeByIndex(s).setLayout(o[s].p),t[i.getId(s)]=o[s].p;for(s=0,c=r.length;s<c;s++){var l=r[s],d=n.getEdgeByIndex(s),u=l.n1.p,f=l.n2.p,h=d.getLayout();(h=h?h.slice():[])[0]=h[0]||[],h[1]=h[1]||[],F.copy(h[0],u),F.copy(h[1],f),+l.curveness&&(h[2]=[(u[0]+f[0])/2-(u[1]-f[1])*l.curveness,(u[1]+f[1])/2-(f[0]-u[0])*l.curveness]),d.setLayout(h)}e&&e(a)})},e.forceLayout=g,e.preservedPoints=t,g.step()}else e.forceLayout=null})},fT=yc.getLayoutRect;var hT=function(e,t){var n=[];return e.eachSeriesByType("graph",function(e){var i=e.get("coordinateSystem");if(!i||"view"===i){var o=e.getData(),r=o.mapArray(function(e){var t=o.getItemModel(e);return[+t.get("x"),+t.get("y")]}),a=[],s=[];Wo.fromPoints(r,a,s),s[0]-a[0]==0&&(s[0]+=1,a[0]-=1),s[1]-a[1]==0&&(s[1]+=1,a[1]-=1);var c=(s[0]-a[0])/(s[1]-a[1]),l=function(e,t,n){var i=e.getBoxLayoutParams();return i.aspect=n,fT(i,{width:t.getWidth(),height:t.getHeight()})}(e,t,c);isNaN(c)&&(a=[l.x,l.y],s=[l.x+l.width,l.y+l.height]);var d=s[0]-a[0],u=s[1]-a[1],f=l.width,h=l.height,p=e.coordinateSystem=new Wy;p.zoomLimit=e.get("scaleLimit"),p.setBoundingRect(a[0],a[1],d,u),p.setViewRect(l.x,l.y,f,h),p.setCenter(e.get("center")),p.setZoom(e.get("zoom")),n.push(p)}}),n};mm.registerProcessor(US),mm.registerVisual(bb("graph","circle",null)),mm.registerVisual(KS),mm.registerVisual(ZS),mm.registerLayout(nT),mm.registerLayout(rT),mm.registerLayout(uT),mm.registerCoordinateSystem("graphView",{create:hT});bu.extend({type:"series.gauge",getInitialData:function(e,t){var n=e.data||[];return D.isArray(n)||(n=[n]),e.data=n,oy(this,["value"])},defaultOption:{zlevel:0,z:2,center:["50%","50%"],legendHoverLink:!0,radius:"75%",startAngle:225,endAngle:-45,clockwise:!0,min:0,max:100,splitNumber:10,axisLine:{show:!0,lineStyle:{color:[[.2,"#91c7ae"],[.8,"#63869e"],[1,"#c23531"]],width:30}},splitLine:{show:!0,length:30,lineStyle:{color:"#eee",width:2,type:"solid"}},axisTick:{show:!0,splitNumber:5,length:8,lineStyle:{color:"#eee",width:1,type:"solid"}},axisLabel:{show:!0,distance:5,color:"auto"},pointer:{show:!0,length:"80%",width:8},itemStyle:{color:"auto"},title:{show:!0,offsetCenter:[0,"-40%"],color:"#333",fontSize:15},detail:{show:!0,backgroundColor:"rgba(0,0,0,0)",borderWidth:0,borderColor:"#ccc",width:100,height:null,padding:[5,10],offsetCenter:[0,"40%"],color:"auto",fontSize:30}}});var pT=Or.extend({type:"echartsGaugePointer",shape:{angle:0,width:10,r:10,x:0,y:0},buildPath:function(e,t){var n=Math.cos,i=Math.sin,o=t.r,r=t.width,a=t.angle,s=t.x-n(a)*r*(r>=o/3?1:2),c=t.y-i(a)*r*(r>=o/3?1:2);a=t.angle-Math.PI/2,e.moveTo(s,c),e.lineTo(t.x+n(a)*r,t.y+i(a)*r),e.lineTo(t.x+n(t.angle)*o,t.y+i(t.angle)*o),e.lineTo(t.x-n(a)*r,t.y-i(a)*r),e.lineTo(s,c)}}),gT=tc.parsePercent,mT=tc.round,bT=tc.linearMap;function vT(e,t){return t&&("string"==typeof t?e=t.replace("{value}",null!=e?e:""):"function"==typeof t&&(e=t(e))),e}var yT=2*Math.PI,_T=(Vu.extend({type:"gauge",render:function(e,t,n){this.group.removeAll();var i=e.get("axisLine.lineStyle.color"),o=function(e,t){var n=e.get("center"),i=t.getWidth(),o=t.getHeight(),r=Math.min(i,o);return{cx:gT(n[0],t.getWidth()),cy:gT(n[1],t.getHeight()),r:gT(e.get("radius"),r/2)}}(e,n);this._renderMain(e,t,n,i,o)},dispose:function(){},_renderMain:function(e,t,n,i,o){for(var r=this.group,a=e.getModel("axisLine").getModel("lineStyle"),s=e.get("clockwise"),c=-e.get("startAngle")/180*Math.PI,l=((h=-e.get("endAngle")/180*Math.PI)-c)%yT,d=c,u=a.get("width"),f=0;f<i.length;f++){var h=c+l*Math.min(Math.max(i[f][0],0),1),p=new Ls.Sector({shape:{startAngle:d,endAngle:h,cx:o.cx,cy:o.cy,clockwise:s,r0:o.r-u,r:o.r},silent:!0});p.setStyle({fill:i[f][1]}),p.setStyle(a.getLineStyle(["color","borderWidth","borderColor"])),r.add(p),d=h}var g=function(e){if(e<=0)return i[0][1];for(var t=0;t<i.length;t++)if(i[t][0]>=e&&(0===t?0:i[t-1][0])<e)return i[t][1];return i[t-1][1]};if(!s){var m=c;c=h,h=m}this._renderTicks(e,t,n,g,o,c,h,s),this._renderPointer(e,t,n,g,o,c,h,s),this._renderTitle(e,t,n,g,o),this._renderDetail(e,t,n,g,o)},_renderTicks:function(e,t,n,i,o,r,a,s){for(var c=this.group,l=o.cx,d=o.cy,u=o.r,f=+e.get("min"),h=+e.get("max"),p=e.getModel("splitLine"),g=e.getModel("axisTick"),m=e.getModel("axisLabel"),b=e.get("splitNumber"),v=g.get("splitNumber"),y=gT(p.get("length"),u),_=gT(g.get("length"),u),w=r,x=(a-r)/b,S=x/v,T=p.getModel("lineStyle").getLineStyle(),k=g.getModel("lineStyle").getLineStyle(),C=0;C<=b;C++){var j=Math.cos(w),A=Math.sin(w);if(p.get("show")){var E=new Ls.Line({shape:{x1:j*u+l,y1:A*u+d,x2:j*(u-y)+l,y2:A*(u-y)+d},style:T,silent:!0});"auto"===T.stroke&&E.setStyle({stroke:i(C/b)}),c.add(E)}if(m.get("show")){var I=vT(mT(C/b*(h-f)+f),m.get("formatter")),M=m.get("distance"),O=i(C/b);c.add(new Ls.Text({style:Ls.setTextStyle({},m,{text:I,x:j*(u-y-M)+l,y:A*(u-y-M)+d,textVerticalAlign:A<-.4?"top":A>.4?"bottom":"middle",textAlign:j<-.4?"left":j>.4?"right":"center"},{autoColor:O}),silent:!0}))}if(g.get("show")&&C!==b){for(var D=0;D<=v;D++){j=Math.cos(w),A=Math.sin(w);var V=new Ls.Line({shape:{x1:j*u+l,y1:A*u+d,x2:j*(u-_)+l,y2:A*(u-_)+d},silent:!0,style:k});"auto"===k.stroke&&V.setStyle({stroke:i((C+D/v)/b)}),c.add(V),w+=S}w-=S}else w+=x}},_renderPointer:function(e,t,n,i,o,r,a,s){var c=this.group,l=this._data;if(e.get("pointer.show")){var d=[+e.get("min"),+e.get("max")],u=[r,a],f=e.getData(),h=f.mapDimension("value");f.diff(l).add(function(t){var n=new pT({shape:{angle:r}});Ls.initProps(n,{shape:{angle:bT(f.get(h,t),d,u,!0)}},e),c.add(n),f.setItemGraphicEl(t,n)}).update(function(t,n){var i=l.getItemGraphicEl(n);Ls.updateProps(i,{shape:{angle:bT(f.get(h,t),d,u,!0)}},e),c.add(i),f.setItemGraphicEl(t,i)}).remove(function(e){var t=l.getItemGraphicEl(e);c.remove(t)}).execute(),f.eachItemGraphicEl(function(e,t){var n=f.getItemModel(t),r=n.getModel("pointer");e.setShape({x:o.cx,y:o.cy,width:gT(r.get("width"),o.r),r:gT(r.get("length"),o.r)}),e.useStyle(n.getModel("itemStyle").getItemStyle()),"auto"===e.style.fill&&e.setStyle("fill",i(bT(f.get(h,t),d,[0,1],!0))),Ls.setHoverStyle(e,n.getModel("emphasis.itemStyle").getItemStyle())}),this._data=f}else l&&l.eachItemGraphicEl(function(e){c.remove(e)})},_renderTitle:function(e,t,n,i,o){var r=e.getData(),a=r.mapDimension("value"),s=e.getModel("title");if(s.get("show")){var c=s.get("offsetCenter"),l=o.cx+gT(c[0],o.r),d=o.cy+gT(c[1],o.r),u=+e.get("min"),f=+e.get("max"),h=e.getData().get(a,0),p=i(bT(h,[u,f],[0,1],!0));this.group.add(new Ls.Text({silent:!0,style:Ls.setTextStyle({},s,{x:l,y:d,text:r.getName(0),textAlign:"center",textVerticalAlign:"middle"},{autoColor:p,forceRich:!0})}))}},_renderDetail:function(e,t,n,i,o){var r=e.getModel("detail"),a=+e.get("min"),s=+e.get("max");if(r.get("show")){var c=r.get("offsetCenter"),l=o.cx+gT(c[0],o.r),d=o.cy+gT(c[1],o.r),u=gT(r.get("width"),o.r),f=gT(r.get("height"),o.r),h=e.getData(),p=h.get(h.mapDimension("value"),0),g=i(bT(p,[a,s],[0,1],!0));this.group.add(new Ls.Text({silent:!0,style:Ls.setTextStyle({},r,{x:l,y:d,text:vT(p,r.get("formatter")),textWidth:isNaN(u)?null:u,textHeight:isNaN(f)?null:f,textAlign:"center",textVerticalAlign:"middle"},{autoColor:g,forceRich:!0})}))}}}),ro.defaultEmphasis),wT=mm.extendSeriesModel({type:"series.funnel",init:function(e){wT.superApply(this,"init",arguments),this.legendDataProvider=function(){return this.getRawData()},this._defaultLabelLine(e)},getInitialData:function(e,t){return oy(this,["value"])},_defaultLabelLine:function(e){_T(e,"labelLine",["show"]);var t=e.labelLine,n=e.emphasis.labelLine;t.show=t.show&&e.label.show,n.show=n.show&&e.emphasis.label.show},getDataParams:function(e){var t=this.getData(),n=wT.superCall(this,"getDataParams",e),i=t.mapDimension("value"),o=t.getSum(i);return n.percent=o?+(t.get(i,e)/o*100).toFixed(2):0,n.$vars.push("percent"),n},defaultOption:{zlevel:0,z:2,legendHoverLink:!0,left:80,top:60,right:80,bottom:60,minSize:"0%",maxSize:"100%",sort:"descending",gap:0,funnelAlign:"center",label:{show:!0,position:"outer"},labelLine:{show:!0,length:20,lineStyle:{width:1,type:"solid"}},itemStyle:{borderColor:"#fff",borderWidth:1},emphasis:{label:{show:!0}}}});function xT(e,t){Ls.Group.call(this);var n=new Ls.Polygon,i=new Ls.Polyline,o=new Ls.Text;function r(){i.ignore=i.hoverIgnore,o.ignore=o.hoverIgnore}function a(){i.ignore=i.normalIgnore,o.ignore=o.normalIgnore}this.add(n),this.add(i),this.add(o),this.updateData(e,t,!0),this.on("emphasis",r).on("normal",a).on("mouseover",r).on("mouseout",a)}var ST=xT.prototype,TT=["itemStyle","opacity"];ST.updateData=function(e,t,n){var i=this.childAt(0),o=e.hostModel,r=e.getItemModel(t),a=e.getItemLayout(t),s=e.getItemModel(t).get(TT);s=null==s?1:s,i.useStyle({}),n?(i.setShape({points:a.points}),i.setStyle({opacity:0}),Ls.initProps(i,{style:{opacity:s}},o,t)):Ls.updateProps(i,{style:{opacity:s},shape:{points:a.points}},o,t);var c=r.getModel("itemStyle"),l=e.getItemVisual(t,"color");i.setStyle(D.defaults({lineJoin:"round",fill:l},c.getItemStyle(["opacity"]))),i.hoverStyle=c.getModel("emphasis").getItemStyle(),this._updateLabel(e,t),Ls.setHoverStyle(this)},ST._updateLabel=function(e,t){var n=this.childAt(1),i=this.childAt(2),o=e.hostModel,r=e.getItemModel(t),a=e.getItemLayout(t).label,s=e.getItemVisual(t,"color");Ls.updateProps(n,{shape:{points:a.linePoints||a.linePoints}},o,t),Ls.updateProps(i,{style:{x:a.x,y:a.y}},o,t),i.attr({rotation:a.rotation,origin:[a.x,a.y],z2:10});var c=r.getModel("label"),l=r.getModel("emphasis.label"),d=r.getModel("labelLine"),u=r.getModel("emphasis.labelLine");s=e.getItemVisual(t,"color");Ls.setLabelStyle(i.style,i.hoverStyle={},c,l,{labelFetcher:e.hostModel,labelDataIndex:t,defaultText:e.getName(t),autoColor:s,useInsideStyle:!!a.inside},{textAlign:a.textAlign,textVerticalAlign:a.verticalAlign}),i.ignore=i.normalIgnore=!c.get("show"),i.hoverIgnore=!l.get("show"),n.ignore=n.normalIgnore=!d.get("show"),n.hoverIgnore=!u.get("show"),n.setStyle({stroke:s}),n.setStyle(d.getModel("lineStyle").getLineStyle()),n.hoverStyle=u.getModel("lineStyle").getLineStyle()},D.inherits(xT,Ls.Group);Vu.extend({type:"funnel",render:function(e,t,n){var i=e.getData(),o=this._data,r=this.group;i.diff(o).add(function(e){var t=new xT(i,e);i.setItemGraphicEl(e,t),r.add(t)}).update(function(e,t){var n=o.getItemGraphicEl(t);n.updateData(i,e),r.add(n),i.setItemGraphicEl(e,n)}).remove(function(e){var t=o.getItemGraphicEl(e);r.remove(t)}).execute(),this._data=i},remove:function(){this.group.removeAll(),this._data=null},dispose:function(){}});var kT=tc.parsePercent,CT=tc.linearMap;var jT=function(e,t,n){e.eachSeriesByType("funnel",function(e){var n=e.getData(),i=n.mapDimension("value"),o=e.get("sort"),r=function(e,t){return yc.getLayoutRect(e.getBoxLayoutParams(),{width:t.getWidth(),height:t.getHeight()})}(e,t),a=function(e,t){for(var n=e.mapDimension("value"),i=e.mapArray(n,function(e){return e}),o=[],r="ascending"===t,a=0,s=e.count();a<s;a++)o[a]=a;return"function"==typeof t?o.sort(t):"none"!==t&&o.sort(function(e,t){return r?i[e]-i[t]:i[t]-i[e]}),o}(n,o),s=[kT(e.get("minSize"),r.width),kT(e.get("maxSize"),r.width)],c=n.getDataExtent(i),l=e.get("min"),d=e.get("max");null==l&&(l=Math.min(c[0],0)),null==d&&(d=c[1]);var u=e.get("funnelAlign"),f=e.get("gap"),h=(r.height-f*(n.count()-1))/n.count(),p=r.y,g=function(e,t){var o,a=n.get(i,e)||0,c=CT(a,[l,d],s,!0);switch(u){case"left":o=r.x;break;case"center":o=r.x+(r.width-c)/2;break;case"right":o=r.x+r.width-c}return[[o,t],[o+c,t]]};"ascending"===o&&(h=-h,f=-f,p+=r.height,a=a.reverse());for(var m=0;m<a.length;m++){var b=a[m],v=a[m+1],y=n.getItemModel(b).get("itemStyle.height");null==y?y=h:(y=kT(y,r.height),"ascending"===o&&(y=-y));var _=g(b,p),w=g(v,p+y);p+=y+f,n.setItemLayout(b,{points:_.concat(w.slice().reverse())})}!function(e){e.each(function(t){var n,i,o,r,a=e.getItemModel(t),s=a.getModel("label").get("position"),c=a.getModel("labelLine"),l=e.getItemLayout(t),d=l.points,u="inner"===s||"inside"===s||"center"===s;if(u)n="center",r=[[i=(d[0][0]+d[1][0]+d[2][0]+d[3][0])/4,o=(d[0][1]+d[1][1]+d[2][1]+d[3][1])/4],[i,o]];else{var f,h,p,g=c.get("length");"left"===s?(f=(d[3][0]+d[0][0])/2,h=(d[3][1]+d[0][1])/2,i=(p=f-g)-5,n="right"):(f=(d[1][0]+d[2][0])/2,h=(d[1][1]+d[2][1])/2,i=(p=f+g)+5,n="left"),r=[[f,h],[p,h]],o=h}l.label={linePoints:r,x:i,y:o,verticalAlign:"middle",textAlign:n,inside:u}})}(n)})};mm.registerVisual(gy("funnel")),mm.registerLayout(jT),mm.registerProcessor(Sy("funnel"));var AT=function(e){!function(e){if(!e.parallel){var t=!1;D.each(e.series,function(e){e&&"parallel"===e.type&&(t=!0)}),t&&(e.parallel=[{}])}}(e),function(e){var t=ro.normalizeToArray(e.parallelAxis);D.each(t,function(t){if(D.isObject(t)){var n=t.parallelIndex||0,i=ro.normalizeToArray(e.parallel)[n];i&&i.parallelAxisDefault&&D.merge(t,i.parallelAxisDefault,!1)}})}(e)},ET=function(e,t,n,i,o){Qg.call(this,e,t,n),this.type=i||"value",this.axisIndex=o};ET.prototype={constructor:ET,model:null,isHorizontal:function(){return"horizontal"!==this.coordinateSystem.getModel().get("layout")}},D.inherits(ET,Qg);var IT=ET;function MT(e,t){var n=e[t]-e[1-t];return{span:Math.abs(n),sign:n>0?-1:n<0?1:t?-1:1}}function OT(e,t){return Math.min(t[1],Math.max(t[0],e))}var DT=function(e,t,n,i,o,r){t[0]=OT(t[0],n),t[1]=OT(t[1],n),e=e||0;var a=n[1]-n[0];null!=o&&(o=OT(o,[0,a])),null!=r&&(r=Math.max(r,null!=o?o:0)),"all"===i&&(o=r=Math.abs(t[1]-t[0]),i=0);var s=MT(t,i);t[i]+=e;var c=o||0,l=n.slice();s.sign<0?l[0]+=c:l[1]-=c,t[i]=OT(t[i],l);var d=MT(t,i);return null!=o&&(d.sign!==s.sign||d.span<o)&&(t[1-i]=t[i]+s.sign*o),d=MT(t,i),null!=r&&d.span>r&&(t[1-i]=t[i]+d.sign*r),t},VT=D.each,LT=Math.min,PT=Math.max,NT=Math.floor,RT=Math.ceil,FT=tc.round,BT=Math.PI;function zT(e,t,n){this._axesMap=D.createHashMap(),this._axesLayout={},this.dimensions=e.dimensions,this._rect,this._model=e,this._init(e,t,n)}function HT(e,t){return LT(PT(e,t[0]),t[1])}zT.prototype={type:"parallel",constructor:zT,_init:function(e,t,n){var i=e.dimensions,o=e.parallelAxisIndex;VT(i,function(e,n){var i=o[n],r=t.getComponent("parallelAxis",i),a=this._axesMap.set(e,new IT(e,sg.createScaleByModel(r),[0,0],r.get("type"),i)),s="category"===a.type;a.onBand=s&&r.get("boundaryGap"),a.inverse=r.get("inverse"),r.axis=a,a.model=r,a.coordinateSystem=r.coordinateSystem=this},this)},update:function(e,t){this._updateAxesFromSeries(this._model,e)},containPoint:function(e){var t=this._makeLayoutInfo(),n=t.axisBase,i=t.layoutBase,o=t.pixelDimIndex,r=e[1-o],a=e[o];return r>=n&&r<=n+t.axisLength&&a>=i&&a<=i+t.layoutLength},getModel:function(){return this._model},_updateAxesFromSeries:function(e,t){t.eachSeries(function(n){if(e.contains(n,t)){var i=n.getData();VT(this.dimensions,function(e){var t=this._axesMap.get(e);t.scale.unionExtentFromData(i,i.mapDimension(e)),sg.niceScaleExtent(t.scale,t.model)},this)}},this)},resize:function(e,t){this._rect=yc.getLayoutRect(e.getBoxLayoutParams(),{width:t.getWidth(),height:t.getHeight()}),this._layoutAxes()},getRect:function(){return this._rect},_makeLayoutInfo:function(){var e,t=this._model,n=this._rect,i=["x","y"],o=["width","height"],r=t.get("layout"),a="horizontal"===r?0:1,s=n[o[a]],c=[0,s],l=this.dimensions.length,d=HT(t.get("axisExpandWidth"),c),u=HT(t.get("axisExpandCount")||0,[0,l]),f=t.get("axisExpandable")&&l>3&&l>u&&u>1&&d>0&&s>0,h=t.get("axisExpandWindow");h?(e=HT(h[1]-h[0],c),h[1]=h[0]+e):(e=HT(d*(u-1),c),(h=[d*(t.get("axisExpandCenter")||NT(l/2))-e/2])[1]=h[0]+e);var p=(s-e)/(l-u);p<3&&(p=0);var g=[NT(FT(h[0]/d,1))+1,RT(FT(h[1]/d,1))-1],m=p/d*h[0];return{layout:r,pixelDimIndex:a,layoutBase:n[i[a]],layoutLength:s,axisBase:n[i[1-a]],axisLength:n[o[1-a]],axisExpandable:f,axisExpandWidth:d,axisCollapseWidth:p,axisExpandWindow:h,axisCount:l,winInnerIndices:g,axisExpandWindow0Pos:m}},_layoutAxes:function(){var e=this._rect,t=this._axesMap,n=this.dimensions,i=this._makeLayoutInfo(),o=i.layout;t.each(function(e){var t=[0,i.axisLength],n=e.inverse?1:0;e.setExtent(t[n],t[1-n])}),VT(n,function(t,n){var r=(i.axisExpandable?function(e,t){var n,i,o=t.layoutLength,r=t.axisExpandWidth,a=t.axisCount,s=t.axisCollapseWidth,c=t.winInnerIndices,l=s,d=!1;e<c[0]?(n=e*s,i=s):e<=c[1]?(n=t.axisExpandWindow0Pos+e*r-t.axisExpandWindow[0],l=r,d=!0):(n=o-(a-1-e)*s,i=s);return{position:n,axisNameAvailableWidth:l,axisLabelShow:d,nameTruncateMaxWidth:i}}:function(e,t){var n=t.layoutLength/(t.axisCount-1);return{position:n*e,axisNameAvailableWidth:n,axisLabelShow:!0}})(n,i),a={horizontal:{x:r.position,y:i.axisLength},vertical:{x:0,y:r.position}},s={horizontal:BT/2,vertical:0},c=[a[o].x+e.x,a[o].y+e.y],l=s[o],d=de.create();de.rotate(d,d,l),de.translate(d,d,c),this._axesLayout[t]={position:c,rotation:l,transform:d,axisNameAvailableWidth:r.axisNameAvailableWidth,axisLabelShow:r.axisLabelShow,nameTruncateMaxWidth:r.nameTruncateMaxWidth,tickDirection:1,labelDirection:1}},this)},getAxis:function(e){return this._axesMap.get(e)},dataToPoint:function(e,t){return this.axisCoordToPoint(this._axesMap.get(t).dataToCoord(e),t)},eachActiveState:function(e,t,n,i){null==n&&(n=0),null==i&&(i=e.count());var o=this._axesMap,r=this.dimensions,a=[],s=[];D.each(r,function(t){a.push(e.mapDimension(t)),s.push(o.get(t).model)});for(var c=this.hasAxisBrushed(),l=n;l<i;l++){var d;if(c){d="active";for(var u=e.getValues(a,l),f=0,h=r.length;f<h;f++){if("inactive"===s[f].getActiveState(u[f])){d="inactive";break}}}else d="normal";t(d,l)}},hasAxisBrushed:function(){for(var e=this.dimensions,t=this._axesMap,n=!1,i=0,o=e.length;i<o;i++)"normal"!==t.get(e[i]).model.getActiveState()&&(n=!0);return n},axisCoordToPoint:function(e,t){var n=this._axesLayout[t];return Ls.applyTransform([e,0],n.transform)},getAxisLayout:function(e){return D.clone(this._axesLayout[e])},getSlidedAxisExpandWindow:function(e){var t=this._makeLayoutInfo(),n=t.pixelDimIndex,i=t.axisExpandWindow.slice(),o=i[1]-i[0],r=[0,t.axisExpandWidth*(t.axisCount-1)];if(!this.containPoint(e))return{behavior:"none",axisExpandWindow:i};var a,s=e[n]-t.layoutBase-t.axisExpandWindow0Pos,c="slide",l=t.axisCollapseWidth,d=this._model.get("axisExpandSlideTriggerArea"),u=null!=d[0];if(l)u&&l&&s<o*d[0]?(c="jump",a=s-o*d[2]):u&&l&&s>o*(1-d[0])?(c="jump",a=s-o*(1-d[2])):(a=s-o*d[1])>=0&&(a=s-o*(1-d[1]))<=0&&(a=0),(a*=t.axisExpandWidth/l)?DT(a,i,r,"all"):c="none";else{o=i[1]-i[0];(i=[PT(0,r[1]*s/o-o/2)])[1]=LT(r[1],i[0]+o),i[0]=i[1]-o}return{axisExpandWindow:i,behavior:c}}};var $T=zT;zl.register("parallel",{create:function(e,t){var n=[];return e.eachComponent("parallel",function(i,o){var r=new $T(i,e,t);r.name="parallel_"+o,r.resize(i,t),i.coordinateSystem=r,r.model=i,n.push(r)}),e.eachSeries(function(t){if("parallel"===t.get("coordinateSystem")){var n=e.queryComponents({mainType:"parallel",index:t.get("parallelIndex"),id:t.get("parallelId")})[0];t.coordinateSystem=n.coordinateSystem}}),n}});var qT=kc.extend({type:"baseParallelAxis",axis:null,activeIntervals:[],getAreaSelectStyle:function(){return po([["fill","color"],["lineWidth","borderWidth"],["stroke","borderColor"],["width","width"],["opacity","opacity"]])(this.getModel("areaSelectStyle"))},setActiveIntervals:function(e){var t=this.activeIntervals=D.clone(e);if(t)for(var n=t.length-1;n>=0;n--)tc.asc(t[n])},getActiveState:function(e){var t=this.activeIntervals;if(!t.length)return"normal";if(null==e||isNaN(e))return"inactive";if(1===t.length){var n=t[0];if(n[0]<=e&&e<=n[1])return"active"}else for(var i=0,o=t.length;i<o;i++)if(t[i][0]<=e&&e<=t[i][1])return"active";return"inactive"}});D.merge(qT.prototype,cg),Nb("parallel",qT,function(e,t){return t.type||(t.data?"category":"value")},{type:"value",dim:null,areaSelectStyle:{width:20,borderWidth:1,borderColor:"rgba(160,197,232)",color:"rgba(160,197,232)",opacity:.3},realtime:!0,z:10});kc.extend({type:"parallel",dependencies:["parallelAxis"],coordinateSystem:null,dimensions:null,parallelAxisIndex:null,layoutMode:"box",defaultOption:{zlevel:0,z:0,left:80,top:60,right:80,bottom:60,layout:"horizontal",axisExpandable:!1,axisExpandCenter:null,axisExpandCount:0,axisExpandWidth:50,axisExpandRate:17,axisExpandDebounce:50,axisExpandSlideTriggerArea:[-.15,.05,.4],axisExpandTriggerOn:"click",parallelAxisDefault:null},init:function(){kc.prototype.init.apply(this,arguments),this.mergeOption({})},mergeOption:function(e){var t=this.option;e&&D.merge(t,e,!0),this._initDimensions()},contains:function(e,t){var n=e.get("parallelIndex");return null!=n&&t.getComponent("parallel",n)===this},setAxisExpand:function(e){D.each(["axisExpandable","axisExpandCenter","axisExpandCount","axisExpandWidth","axisExpandWindow"],function(t){e.hasOwnProperty(t)&&(this.option[t]=e[t])},this)},_initDimensions:function(){var e=this.dimensions=[],t=this.parallelAxisIndex=[],n=D.filter(this.dependentModels.parallelAxis,function(e){return(e.get("parallelIndex")||0)===this.componentIndex},this);D.each(n,function(n){e.push("dim"+n.get("dim")),t.push(n.componentIndex)})}});mm.registerAction({type:"axisAreaSelect",event:"axisAreaSelected"},function(e,t){t.eachComponent({mainType:"parallelAxis",query:e},function(t){t.axis.model.setActiveIntervals(e.intervals)})}),mm.registerAction("parallelAxisExpand",function(e,t){t.eachComponent({mainType:"parallel",query:e},function(t){t.setAxisExpand(e)})});var WT=D.curry,GT=D.each,UT=D.map,KT=Math.min,YT=Math.max,ZT=Math.pow,XT=1e4,QT=6,JT=6,ek="globalPan",tk={w:[0,0],e:[0,1],n:[1,0],s:[1,1]},nk={w:"ew",e:"ew",n:"ns",s:"ns",ne:"nesw",sw:"nesw",nw:"nwse",se:"nwse"},ik={brushStyle:{lineWidth:2,stroke:"rgba(0,0,0,0.3)",fill:"rgba(0,0,0,0.1)"},transformable:!0,brushMode:"single",removeOnClick:!1},ok=0;function rk(e){G.call(this),this._zr=e,this.group=new Ls.Group,this._brushType,this._brushOption,this._panels,this._track=[],this._dragging,this._covers=[],this._creatingCover,this._creatingPanel,this._enableGlobalPan,this._uid="brushController_"+ok++,this._handlers={},GT(Mk,function(e,t){this._handlers[t]=D.bind(e,this)},this)}function ak(e,t){var n=Dk[t.brushType].createCover(e,t);return n.__brushOption=t,lk(n,t),e.group.add(n),n}function sk(e,t){var n=uk(t);return n.endCreating&&(n.endCreating(e,t),lk(t,t.__brushOption)),t}function ck(e,t){var n=t.__brushOption;uk(t).updateCoverShape(e,t,n.range,n)}function lk(e,t){var n=t.z;null==n&&(n=XT),e.traverse(function(e){e.z=n,e.z2=n})}function dk(e,t){uk(t).updateCommon(e,t),ck(e,t)}function uk(e){return Dk[e.__brushOption.brushType]}function fk(e,t,n){var i,o=e._panels;if(!o)return!0;var r=e._transform;return GT(o,function(e){e.isTargetByCursor(t,n,r)&&(i=e)}),i}function hk(e,t){var n=e._panels;if(!n)return!0;var i=t.__brushOption.panelId;return null==i||n[i]}function pk(e){var t=e._covers,n=t.length;return GT(t,function(t){e.group.remove(t)},e),t.length=0,!!n}function gk(e,t){var n=UT(e._covers,function(e){var t=e.__brushOption,n=D.clone(t.range);return{brushType:t.brushType,panelId:t.panelId,range:n}});e.trigger("brush",n,{isEnd:!!t.isEnd,removeOnClick:!!t.removeOnClick})}function mk(e){var t=e.length-1;return t<0&&(t=0),[e[0],e[t]]}function bk(e,t,n,i){var o=new Ls.Group;return o.add(new Ls.Rect({name:"main",style:wk(n),silent:!0,draggable:!0,cursor:"move",drift:WT(e,t,o,"nswe"),ondragend:WT(gk,t,{isEnd:!0})})),GT(i,function(n){o.add(new Ls.Rect({name:n,style:{opacity:0},draggable:!0,silent:!0,invisible:!0,drift:WT(e,t,o,n),ondragend:WT(gk,t,{isEnd:!0})}))}),o}function vk(e,t,n,i){var o=i.brushStyle.lineWidth||0,r=YT(o,JT),a=n[0][0],s=n[1][0],c=a-o/2,l=s-o/2,d=n[0][1],u=n[1][1],f=d-r+o/2,h=u-r+o/2,p=d-a,g=u-s,m=p+o,b=g+o;_k(e,t,"main",a,s,p,g),i.transformable&&(_k(e,t,"w",c,l,r,b),_k(e,t,"e",f,l,r,b),_k(e,t,"n",c,l,m,r),_k(e,t,"s",c,h,m,r),_k(e,t,"nw",c,l,r,r),_k(e,t,"ne",f,l,r,r),_k(e,t,"sw",c,h,r,r),_k(e,t,"se",f,h,r,r))}function yk(e,t){var n=t.__brushOption,i=n.transformable,o=t.childAt(0);o.useStyle(wk(n)),o.attr({silent:!i,cursor:i?"move":"default"}),GT(["w","e","n","s","se","sw","ne","nw"],function(n){var o=t.childOfName(n),r=function e(t,n){if(n.length>1){n=n.split("");var i=[e(t,n[0]),e(t,n[1])];return("e"===i[0]||"w"===i[0])&&i.reverse(),i.join("")}var i=Ls.transformDirection({w:"left",e:"right",n:"top",s:"bottom"}[n],function(e){return Ls.getTransform(e.group)}(t));return{left:"w",right:"e",top:"n",bottom:"s"}[i]}(e,n);o&&o.attr({silent:!i,invisible:!i,cursor:i?nk[r]+"-resize":null})})}function _k(e,t,n,i,o,r,a){var s,c,l,d,u,f=t.childOfName(n);f&&f.setShape((s=Ck(e,t,[[i,o],[i+r,o+a]]),c=KT(s[0][0],s[1][0]),l=KT(s[0][1],s[1][1]),d=YT(s[0][0],s[1][0]),u=YT(s[0][1],s[1][1]),{x:c,y:l,width:d-c,height:u-l}))}function wk(e){return D.defaults({strokeNoScale:!0},e.brushStyle)}function xk(e,t,n,i){var o=[KT(e,n),KT(t,i)],r=[YT(e,n),YT(t,i)];return[[o[0],r[0]],[o[1],r[1]]]}function Sk(e,t,n,i,o,r,a,s){var c=i.__brushOption,l=e(c.range),d=kk(n,r,a);GT(o.split(""),function(e){var t=tk[e];l[t[0]][t[1]]+=d[t[0]]}),c.range=t(xk(l[0][0],l[1][0],l[0][1],l[1][1])),dk(n,i),gk(n,{isEnd:!1})}function Tk(e,t,n,i,o){var r=t.__brushOption.range,a=kk(e,n,i);GT(r,function(e){e[0]+=a[0],e[1]+=a[1]}),dk(e,t),gk(e,{isEnd:!1})}function kk(e,t,n){var i=e.group,o=i.transformCoordToLocal(t,n),r=i.transformCoordToLocal(0,0);return[o[0]-r[0],o[1]-r[1]]}function Ck(e,t,n){var i=hk(e,t);return i&&!0!==i?i.clipPath(n,e._transform):D.clone(n)}function jk(e){var t=e.event;t.preventDefault&&t.preventDefault()}function Ak(e,t,n){return e.childOfName("main").contain(t,n)}function Ek(e,t,n,i){var o,r=e._creatingCover,a=e._creatingPanel,s=e._brushOption;if(e._track.push(n.slice()),function(e){var t=e._track;if(!t.length)return!1;var n=t[t.length-1],i=t[0],o=n[0]-i[0],r=n[1]-i[1];return ZT(o*o+r*r,.5)>QT}(e)||r){if(a&&!r){"single"===s.brushMode&&pk(e);var c=D.clone(s);c.brushType=Ik(c.brushType,a),c.panelId=!0===a?null:a.panelId,r=e._creatingCover=ak(e,c),e._covers.push(r)}if(r){var l=Dk[Ik(e._brushType,a)];r.__brushOption.range=l.getCreatingRange(Ck(e,r,e._track)),i&&(sk(e,r),l.updateCommon(e,r)),ck(e,r),o={isEnd:i}}}else i&&"single"===s.brushMode&&s.removeOnClick&&fk(e,t,n)&&pk(e)&&(o={isEnd:i,removeOnClick:!0});return o}function Ik(e,t){return"auto"===e?t.defaultBrushType:e}rk.prototype={constructor:rk,enableBrush:function(e){var t,n;return this._brushType&&(n=(t=this)._zr,O_.release(n,ek,t._uid),GT(t._handlers,function(e,t){n.off(t,e)}),t._brushType=t._brushOption=null),e.brushType&&function(e,t){var n=e._zr;e._enableGlobalPan||O_.take(n,ek,e._uid);GT(e._handlers,function(e,t){n.on(t,e)}),e._brushType=t.brushType,e._brushOption=D.merge(D.clone(ik),t,!0)}(this,e),this},setPanels:function(e){if(e&&e.length){var t=this._panels={};D.each(e,function(e){t[e.panelId]=D.clone(e)})}else this._panels=null;return this},mount:function(e){e=e||{},this._enableGlobalPan=e.enableGlobalPan;var t=this.group;return this._zr.add(t),t.attr({position:e.position||[0,0],rotation:e.rotation||0,scale:e.scale||[1,1]}),this._transform=t.getLocalTransform(),this},eachCover:function(e,t){GT(this._covers,e,t)},updateCovers:function(e){e=D.map(e,function(e){return D.merge(D.clone(ik),e,!0)});var t="\0-brush-index-",n=this._covers,i=this._covers=[],o=this,r=this._creatingCover;return new sh(n,e,function(e,t){return a(e.__brushOption,t)},a).add(s).update(s).remove(function(e){n[e]!==r&&o.group.remove(n[e])}).execute(),this;function a(e,n){return(null!=e.id?e.id:t+n)+"-"+e.brushType}function s(t,a){var s=e[t];if(null!=a&&n[a]===r)i[t]=n[a];else{var c=i[t]=null!=a?(n[a].__brushOption=s,n[a]):sk(o,ak(o,s));dk(o,c)}}},unmount:function(){return this.enableBrush(!1),pk(this),this._zr.remove(this.group),this},dispose:function(){this.unmount(),this.off()}},D.mixin(rk,G);var Mk={mousedown:function(e){if(this._dragging)Ok.call(this,e);else if(!e.target||!e.target.draggable){jk(e);var t=this.group.transformCoordToLocal(e.offsetX,e.offsetY);this._creatingCover=null,(this._creatingPanel=fk(this,e,t))&&(this._dragging=!0,this._track=[t.slice()])}},mousemove:function(e){var t=this.group.transformCoordToLocal(e.offsetX,e.offsetY);if(function(e,t,n){if(e._brushType){var i=e._zr,o=e._covers,r=fk(e,t,n);if(!e._dragging)for(var a=0;a<o.length;a++){var s=o[a].__brushOption;if(r&&(!0===r||s.panelId===r.panelId)&&Dk[s.brushType].contain(o[a],n[0],n[1]))return}r&&i.setCursorStyle("crosshair")}}(this,e,t),this._dragging){jk(e);var n=Ek(this,e,t,!1);n&&gk(this,n)}},mouseup:Ok};function Ok(e){if(this._dragging){jk(e);var t=Ek(this,e,this.group.transformCoordToLocal(e.offsetX,e.offsetY),!0);this._dragging=!1,this._track=[],this._creatingCover=null,t&&gk(this,t)}}var Dk={lineX:Vk(0),lineY:Vk(1),rect:{createCover:function(e,t){return bk(WT(Sk,function(e){return e},function(e){return e}),e,t,["w","e","n","s","se","sw","ne","nw"])},getCreatingRange:function(e){var t=mk(e);return xk(t[1][0],t[1][1],t[0][0],t[0][1])},updateCoverShape:function(e,t,n,i){vk(e,t,n,i)},updateCommon:yk,contain:Ak},polygon:{createCover:function(e,t){var n=new Ls.Group;return n.add(new Ls.Polyline({name:"main",style:wk(t),silent:!0})),n},getCreatingRange:function(e){return e},endCreating:function(e,t){t.remove(t.childAt(0)),t.add(new Ls.Polygon({name:"main",draggable:!0,drift:WT(Tk,e,t),ondragend:WT(gk,e,{isEnd:!0})}))},updateCoverShape:function(e,t,n,i){t.childAt(0).setShape({points:Ck(e,t,n)})},updateCommon:yk,contain:Ak}};function Vk(e){return{createCover:function(t,n){return bk(WT(Sk,function(t){var n=[t,[0,100]];return e&&n.reverse(),n},function(t){return t[e]}),t,n,[["w","e"],["n","s"]][e])},getCreatingRange:function(t){var n=mk(t);return[KT(n[0][e],n[1][e]),YT(n[0][e],n[1][e])]},updateCoverShape:function(t,n,i,o){var r,a=hk(t,n);if(!0!==a&&a.getLinearBrushOtherExtent)r=a.getLinearBrushOtherExtent(e,t._transform);else{var s=t._zr;r=[0,[s.getWidth(),s.getHeight()][1-e]]}var c=[i,r];e&&c.reverse(),vk(t,n,c,o)},updateCommon:yk,contain:Ak}}var Lk=rk,Pk=W_.onIrrelevantElement;function Nk(e){return Vt.create(e)}var Rk={makeRectPanelClipPath:function(e){return e=Nk(e),function(t,n){return Ls.clipPointsByRect(t,e)}},makeLinearBrushOtherExtent:function(e,t){return e=Nk(e),function(n){var i=null!=t?t:n,o=i?e.width:e.height,r=i?e.x:e.y;return[r,r+(o||0)]}},makeRectIsTargetByCursor:function(e,t,n){return e=Nk(e),function(i,o,r){return e.contain(o[0],o[1])&&!Pk(i,t,n)}}},Fk=["axisLine","axisTickLabel","axisName"],Bk=mm.extendComponentView({type:"parallelAxis",init:function(e,t){Bk.superApply(this,"init",arguments),(this._brushController=new Lk(t.getZr())).on("brush",D.bind(this._onBrush,this))},render:function(e,t,n,i){if(!function(e,t,n){return n&&"axisAreaSelect"===n.type&&t.findComponents({mainType:"parallelAxis",query:n})[0]===e}(e,t,i)){this.axisModel=e,this.api=n,this.group.removeAll();var o=this._axisGroup;if(this._axisGroup=new Ls.Group,this.group.add(this._axisGroup),e.get("show")){var r=function(e,t){return t.getComponent("parallel",e.get("parallelIndex"))}(e,t),a=r.coordinateSystem,s=e.getAreaSelectStyle(),c=s.width,l=e.axis.dim,d=a.getAxisLayout(l),u=D.extend({strokeContainThreshold:c},d),f=new xv(e,u);D.each(Fk,f.add,f),this._axisGroup.add(f.getGroup()),this._refreshBrushController(u,s,e,r,c,n);var h=i&&!1===i.animation?null:e;Ls.groupTransition(o,this._axisGroup,h)}}},_refreshBrushController:function(e,t,n,i,o,r){var a=n.axis.getExtent(),s=a[1]-a[0],c=Math.min(30,.1*Math.abs(s)),l=Ls.BoundingRect.create({x:a[0],y:-o/2,width:s,height:o});l.x-=c,l.width+=2*c,this._brushController.mount({enableGlobalPan:!0,rotation:e.rotation,position:e.position}).setPanels([{panelId:"pl",clipPath:Rk.makeRectPanelClipPath(l),isTargetByCursor:Rk.makeRectIsTargetByCursor(l,r,i),getLinearBrushOtherExtent:Rk.makeLinearBrushOtherExtent(l,0)}]).enableBrush({brushType:"lineX",brushStyle:t,removeOnClick:!0}).updateCovers(function(e){var t=e.axis;return D.map(e.activeIntervals,function(e){return{brushType:"lineX",panelId:"pl",range:[t.dataToCoord(e[0],!0),t.dataToCoord(e[1],!0)]}})}(n))},_onBrush:function(e,t){var n=this.axisModel,i=n.axis,o=D.map(e,function(e){return[i.coordToData(e.range[0],!0),i.coordToData(e.range[1],!0)]});(!n.option.realtime===t.isEnd||t.removeOnClick)&&this.api.dispatchAction({type:"axisAreaSelect",parallelAxisId:n.id,intervals:o})},dispose:function(){this._brushController.dispose()}});mm.extendComponentView({type:"parallel",render:function(e,t,n){this._model=e,this._api=n,this._handlers||(this._handlers={},D.each(zk,function(e,t){n.getZr().on(t,this._handlers[t]=D.bind(e,this))},this)),Fu.createOrUpdate(this,"_throttledDispatchExpand",e.get("axisExpandRate"),"fixRate")},dispose:function(e,t){D.each(this._handlers,function(e,n){t.getZr().off(n,e)}),this._handlers=null},_throttledDispatchExpand:function(e){this._dispatchExpand(e)},_dispatchExpand:function(e){e&&this._api.dispatchAction(D.extend({type:"parallelAxisExpand"},e))}});var zk={mousedown:function(e){Hk(this,"click")&&(this._mouseDownPoint=[e.offsetX,e.offsetY])},mouseup:function(e){var t=this._mouseDownPoint;if(Hk(this,"click")&&t){var n=[e.offsetX,e.offsetY];if(Math.pow(t[0]-n[0],2)+Math.pow(t[1]-n[1],2)>5)return;var i=this._model.coordinateSystem.getSlidedAxisExpandWindow([e.offsetX,e.offsetY]);"none"!==i.behavior&&this._dispatchExpand({axisExpandWindow:i.axisExpandWindow})}this._mouseDownPoint=null},mousemove:function(e){if(!this._mouseDownPoint&&Hk(this,"mousemove")){var t=this._model,n=t.coordinateSystem.getSlidedAxisExpandWindow([e.offsetX,e.offsetY]),i=n.behavior;"jump"===i&&this._throttledDispatchExpand.debounceNextCall(t.get("axisExpandDebounce")),this._throttledDispatchExpand("none"===i?null:{axisExpandWindow:n.axisExpandWindow,animation:"jump"===i&&null})}}};function Hk(e,t){var n=e._model;return n.get("axisExpandable")&&n.get("axisExpandTriggerOn")===t}mm.registerPreprocessor(AT);var $k=D.each,qk=D.createHashMap;bu.extend({type:"series.parallel",dependencies:["parallel"],visualColorAccessPath:"lineStyle.color",getInitialData:function(e,t){var n=this.getSource();return function(e,t){if(e.encodeDefine)return;var n=t.ecModel.getComponent("parallel",t.get("parallelIndex"));if(!n)return;var i=e.encodeDefine=qk();$k(n.dimensions,function(e){var t=+e.replace("dim","");i.set(e,t)})}(n,this),op(n,this)},getRawIndicesByActiveState:function(e){var t=this.coordinateSystem,n=this.getData(),i=[];return t.eachActiveState(n,function(t,o){e===t&&i.push(n.getRawIndex(o))}),i},defaultOption:{zlevel:0,z:2,coordinateSystem:"parallel",parallelIndex:0,label:{show:!1},inactiveOpacity:.05,activeOpacity:1,lineStyle:{width:1,opacity:.45,type:"solid"},emphasis:{label:{show:!1}},progressive:500,smooth:!1,animationEasing:"linear"}});var Wk=.3;Vu.extend({type:"parallel",init:function(){this._dataGroup=new Ls.Group,this.group.add(this._dataGroup),this._data,this._initialized},render:function(e,t,n,i){var o=this._dataGroup,r=e.getData(),a=this._data,s=e.coordinateSystem,c=s.dimensions,l=Kk(e);if(r.diff(a).add(function(e){Yk(Uk(r,o,e,c,s),r,e,l)}).update(function(t,n){var o=a.getItemGraphicEl(n),d=Gk(r,t,c,s);r.setItemGraphicEl(t,o);var u=i&&!1===i.animation?null:e;Ls.updateProps(o,{shape:{points:d}},u,t),Yk(o,r,t,l)}).remove(function(e){var t=a.getItemGraphicEl(e);o.remove(t)}).execute(),!this._initialized){this._initialized=!0;var d=function(e,t,n){var i=e.model,o=e.getRect(),r=new Ls.Rect({shape:{x:o.x,y:o.y,width:o.width,height:o.height}}),a="horizontal"===i.get("layout")?"width":"height";return r.setShape(a,0),Ls.initProps(r,{shape:{width:o.width,height:o.height}},t,n),r}(s,e,function(){setTimeout(function(){o.removeClipPath()})});o.setClipPath(d)}this._data=r},incrementalPrepareRender:function(e,t,n){this._initialized=!0,this._data=null,this._dataGroup.removeAll()},incrementalRender:function(e,t,n){for(var i=t.getData(),o=t.coordinateSystem,r=o.dimensions,a=Kk(t),s=e.start;s<e.end;s++){var c=Uk(i,this._dataGroup,s,r,o);c.incremental=!0,Yk(c,i,s,a)}},dispose:function(){},remove:function(){this._dataGroup&&this._dataGroup.removeAll(),this._data=null}});function Gk(e,t,n,i){for(var o,r=[],a=0;a<n.length;a++){var s=n[a],c=e.get(e.mapDimension(s),t);o=c,("category"===i.getAxis(s).type?null==o:null==o||isNaN(o))||r.push(i.dataToPoint(c,s))}return r}function Uk(e,t,n,i,o){var r=Gk(e,n,i,o),a=new Ls.Polyline({shape:{points:r},silent:!0,z2:10});return t.add(a),e.setItemGraphicEl(n,a),a}function Kk(e){var t=e.get("smooth",!0);return!0===t&&(t=Wk),{lineStyle:e.getModel("lineStyle").getLineStyle(),smooth:null!=t?t:Wk}}function Yk(e,t,n,i){var o=i.lineStyle;t.hasItemOption&&(o=t.getItemModel(n).getModel("lineStyle").getLineStyle());e.useStyle(o);var r=e.style;r.fill=null,r.stroke=t.getItemVisual(n,"color"),r.opacity=t.getItemVisual(n,"opacity"),i.smooth&&(e.shape.smooth=i.smooth)}var Zk=["lineStyle","normal","opacity"],Xk={seriesType:"parallel",reset:function(e,t,n){var i=e.getModel("itemStyle"),o=e.getModel("lineStyle"),r=t.get("color"),a=o.get("color")||i.get("color")||r[e.seriesIndex%r.length],s=e.get("inactiveOpacity"),c=e.get("activeOpacity"),l=e.getModel("lineStyle").getLineStyle(),d=e.coordinateSystem,u=e.getData(),f={normal:l.opacity,active:c,inactive:s};return u.setVisual("color",a),{progress:function(e,t){d.eachActiveState(t,function(e,n){var i=f[e];if("normal"===e&&t.hasItemOption){var o=t.getItemModel(n).get(Zk,!0);null!=o&&(i=o)}t.setItemVisual(n,"opacity",i)},e.start,e.end)}}}};mm.registerVisual(Xk);var Qk=cc.encodeHTML,Jk=bu.extend({type:"series.sankey",layoutInfo:null,getInitialData:function(e){var t=e.edges||e.links,n=e.data||e.nodes;if(n&&t)return dS(n,t,this,!0).data},setNodePosition:function(e,t){var n=this.option.data[e];n.localX=t[0],n.localY=t[1]},getGraph:function(){return this.getData().graph},getEdgeData:function(){return this.getGraph().edgeData},formatTooltip:function(e,t,n){if("edge"===n){var i=this.getDataParams(e,n),o=i.data,r=o.source+" -- "+o.target;return i.value&&(r+=" : "+i.value),Qk(r)}return Jk.superCall(this,"formatTooltip",e,t)},optionUpdated:function(){var e=this.option;!0===e.focusNodeAdjacency&&(e.focusNodeAdjacency="allEdges")},defaultOption:{zlevel:0,z:2,coordinateSystem:"view",layout:null,left:"5%",top:"5%",right:"20%",bottom:"5%",orient:"horizontal",nodeWidth:20,nodeGap:8,draggable:!0,focusNodeAdjacency:!1,layoutIterations:32,label:{show:!0,position:"right",color:"#000",fontSize:12},itemStyle:{borderWidth:1,borderColor:"#333"},lineStyle:{color:"#314656",opacity:.2,curveness:.5},emphasis:{label:{show:!0},lineStyle:{opacity:.6}},animationEasing:"linear",animationDuration:1e3}}),eC=["itemStyle","opacity"],tC=["lineStyle","opacity"];function nC(e,t){return e.getVisual("opacity")||e.getModel().get(t)}function iC(e,t,n){var i=e.getGraphicEl(),o=nC(e,t);null!=n&&(null==o&&(o=1),o*=n),i.downplay&&i.downplay(),i.traverse(function(e){"group"!==e.type&&e.setStyle("opacity",o)})}function oC(e,t){var n=nC(e,t),i=e.getGraphicEl();i.highlight&&i.highlight(),i.traverse(function(e){"group"!==e.type&&e.setStyle("opacity",n)})}var rC=Ls.extendShape({shape:{x1:0,y1:0,x2:0,y2:0,cpx1:0,cpy1:0,cpx2:0,cpy2:0,extent:0,orient:""},buildPath:function(e,t){var n=t.extent;"vertical"===t.orient?(e.moveTo(t.x1,t.y1),e.bezierCurveTo(t.cpx1,t.cpy1,t.cpx2,t.cpy2,t.x2,t.y2),e.lineTo(t.x2+n,t.y2),e.bezierCurveTo(t.cpx2+n,t.cpy2,t.cpx1+n,t.cpy1,t.x1+n,t.y1)):(e.moveTo(t.x1,t.y1),e.bezierCurveTo(t.cpx1,t.cpy1,t.cpx2,t.cpy2,t.x2,t.y2),e.lineTo(t.x2,t.y2+n),e.bezierCurveTo(t.cpx2,t.cpy2+n,t.cpx1,t.cpy1+n,t.x1,t.y1+n)),e.closePath()}});mm.extendChartView({type:"sankey",_model:null,_focusAdjacencyDisabled:!1,render:function(e,t,n){var i=this,o=e.getGraph(),r=this.group,a=e.layoutInfo,s=a.width,c=a.height,l=e.getData(),d=e.getData("edge"),u=e.get("orient");this._model=e,r.removeAll(),r.attr("position",[a.x,a.y]),o.eachEdge(function(t){var n=new rC;n.dataIndex=t.dataIndex,n.seriesIndex=e.seriesIndex,n.dataType="edge";var i,o,a,l,f,h,p,g,m=t.getModel("lineStyle"),b=m.get("curveness"),v=t.node1.getLayout(),y=t.node1.getModel(),_=y.get("localX"),w=y.get("localY"),x=t.node2.getLayout(),S=t.node2.getModel(),T=S.get("localX"),k=S.get("localY"),C=t.getLayout();switch(n.shape.extent=Math.max(1,C.dy),n.shape.orient=u,"vertical"===u?(i=(null!=_?_*s:v.x)+C.sy,o=(null!=w?w*c:v.y)+v.dy,a=(null!=T?T*s:x.x)+C.ty,f=i,h=o*(1-b)+(l=null!=k?k*c:x.y)*b,p=a,g=o*b+l*(1-b)):(i=(null!=_?_*s:v.x)+v.dx,o=(null!=w?w*c:v.y)+C.sy,f=i*(1-b)+(a=null!=T?T*s:x.x)*b,h=o,p=i*b+a*(1-b),g=l=(null!=k?k*c:x.y)+C.ty),n.setShape({x1:i,y1:o,x2:a,y2:l,cpx1:f,cpy1:h,cpx2:p,cpy2:g}),n.setStyle(m.getItemStyle()),n.style.fill){case"source":n.style.fill=t.node1.getVisual("color");break;case"target":n.style.fill=t.node2.getVisual("color")}Ls.setHoverStyle(n,t.getModel("emphasis.lineStyle").getItemStyle()),r.add(n),d.setItemGraphicEl(t.dataIndex,n)}),o.eachNode(function(t){var n=t.getLayout(),i=t.getModel(),o=i.get("localX"),a=i.get("localY"),d=i.getModel("label"),u=i.getModel("emphasis.label"),f=new Ls.Rect({shape:{x:null!=o?o*s:n.x,y:null!=a?a*c:n.y,width:n.dx,height:n.dy},style:i.getModel("itemStyle").getItemStyle()}),h=t.getModel("emphasis.itemStyle").getItemStyle();Ls.setLabelStyle(f.style,h,d,u,{labelFetcher:e,labelDataIndex:t.dataIndex,defaultText:t.id,isRectText:!0}),f.setStyle("fill",t.getVisual("color")),Ls.setHoverStyle(f,h),r.add(f),l.setItemGraphicEl(t.dataIndex,f),f.dataType="node"}),l.eachItemGraphicEl(function(t,o){var r=l.getItemModel(o);r.get("draggable")&&(t.drift=function(t,r){i._focusAdjacencyDisabled=!0,this.shape.x+=t,this.shape.y+=r,this.dirty(),n.dispatchAction({type:"dragNode",seriesId:e.id,dataIndex:l.getRawIndex(o),localX:this.shape.x/s,localY:this.shape.y/c})},t.ondragend=function(){i._focusAdjacencyDisabled=!1},t.draggable=!0,t.cursor="move"),r.get("focusNodeAdjacency")&&(t.off("mouseover").on("mouseover",function(){i._focusAdjacencyDisabled||n.dispatchAction({type:"focusNodeAdjacency",seriesId:e.id,dataIndex:t.dataIndex})}),t.off("mouseout").on("mouseout",function(){i._focusAdjacencyDisabled||n.dispatchAction({type:"unfocusNodeAdjacency",seriesId:e.id})}))}),d.eachItemGraphicEl(function(t,o){d.getItemModel(o).get("focusNodeAdjacency")&&(t.off("mouseover").on("mouseover",function(){i._focusAdjacencyDisabled||n.dispatchAction({type:"focusNodeAdjacency",seriesId:e.id,edgeDataIndex:t.dataIndex})}),t.off("mouseout").on("mouseout",function(){i._focusAdjacencyDisabled||n.dispatchAction({type:"unfocusNodeAdjacency",seriesId:e.id})}))}),!this._data&&e.get("animation")&&r.setClipPath(function(e,t,n){var i=new Ls.Rect({shape:{x:e.x-10,y:e.y-10,width:0,height:e.height+20}});return Ls.initProps(i,{shape:{width:e.width+20,height:e.height+20}},t,n),i}(r.getBoundingRect(),e,function(){r.removeClipPath()})),this._data=e.getData()},dispose:function(){},focusNodeAdjacency:function(e,t,n,i){var o=this._model.getData(),r=o.graph,a=i.dataIndex,s=o.getItemModel(a),c=i.edgeDataIndex;if(null!=a||null!=c){var l=r.getNodeByIndex(a),d=r.getEdgeByIndex(c);if(r.eachNode(function(e){iC(e,eC,.1)}),r.eachEdge(function(e){iC(e,tC,.1)}),l){oC(l,eC);var u=s.get("focusNodeAdjacency");"outEdges"===u?D.each(l.outEdges,function(e){e.dataIndex<0||(oC(e,tC),oC(e.node2,eC))}):"inEdges"===u?D.each(l.inEdges,function(e){e.dataIndex<0||(oC(e,tC),oC(e.node1,eC))}):"allEdges"===u&&D.each(l.edges,function(e){e.dataIndex<0||(oC(e,tC),oC(e.node1,eC),oC(e.node2,eC))})}d&&(oC(d,tC),oC(d.node1,eC),oC(d.node2,eC))}},unfocusNodeAdjacency:function(e,t,n,i){var o=this._model.getGraph();o.eachNode(function(e){iC(e,eC)}),o.eachEdge(function(e){iC(e,tC)})}});mm.registerAction({type:"dragNode",event:"dragNode",update:"update"},function(e,t){t.eachComponent({mainType:"series",subType:"sankey",query:e},function(t){t.setNodePosition(e.dataIndex,[e.localX,e.localY])})});var aC=function(){var e=[],t=[];return{key:function(t){return e.push(t),this},sortKeys:function(n){return t[e.length-1]=n,this},entries:function(n){return function n(i,o){if(o>=e.length)return i;var r=[],a=t[o++];return D.each(i,function(e,t){r.push({key:t,values:n(e,o)})}),a?r.sort(function(e,t){return a(e.key,t.key)}):r}(function t(n,i){if(i>=e.length)return n;for(var o=-1,r=n.length,a=e[i++],s={},c={};++o<r;){var l=a(n[o]),d=c[l];d?d.push(n[o]):c[l]=[n[o]]}return D.each(c,function(e,n){s[n]=t(e,i)}),s}(n,0),0)}}};function sC(e,t,n,i,o){D.each(e,function(e){var r,a,s,c=0,l=e.length;if("vertical"===o){var d;for(e.sort(function(e,t){return e.getLayout().x-t.getLayout().x}),s=0;s<l;s++)(a=c-(r=e[s]).getLayout().x)>0&&(d=r.getLayout().x+a,r.setLayout({x:d},!0)),c=r.getLayout().x+r.getLayout().dx+t;if((a=c-t-i)>0)for(d=r.getLayout().x-a,r.setLayout({x:d},!0),c=d,s=l-2;s>=0;--s)(a=(r=e[s]).getLayout().x+r.getLayout().dx+t-c)>0&&(d=r.getLayout().x-a,r.setLayout({x:d},!0)),c=r.getLayout().x}else{var u;for(e.sort(function(e,t){return e.getLayout().y-t.getLayout().y}),s=0;s<l;s++)(a=c-(r=e[s]).getLayout().y)>0&&(u=r.getLayout().y+a,r.setLayout({y:u},!0)),c=r.getLayout().y+r.getLayout().dy+t;if((a=c-t-n)>0)for(u=r.getLayout().y-a,r.setLayout({y:u},!0),c=u,s=l-2;s>=0;--s)(a=(r=e[s]).getLayout().y+r.getLayout().dy+t-c)>0&&(u=r.getLayout().y-a,r.setLayout({y:u},!0)),c=r.getLayout().y}})}function cC(e,t,n){D.each(e.slice().reverse(),function(e){D.each(e,function(e){if(e.outEdges.length){var i=hC(e.outEdges,lC,n)/hC(e.outEdges,fC,n);if("vertical"===n){var o=e.getLayout().x+(i-uC(e,n))*t;e.setLayout({x:o},!0)}else{var r=e.getLayout().y+(i-uC(e,n))*t;e.setLayout({y:r},!0)}}})})}function lC(e,t){return uC(e.node2,t)*e.getValue()}function dC(e,t){return uC(e.node1,t)*e.getValue()}function uC(e,t){return"vertical"===t?e.getLayout().x+e.getLayout().dx/2:e.getLayout().y+e.getLayout().dy/2}function fC(e){return e.getValue()}function hC(e,t,n){for(var i=0,o=e.length,r=-1;++r<o;){var a=+t.call(e,e[r],n);isNaN(a)||(i+=a)}return i}function pC(e,t,n){D.each(e,function(e){D.each(e,function(e){if(e.inEdges.length){var i=hC(e.inEdges,dC,n)/hC(e.inEdges,fC,n);if("vertical"===n){var o=e.getLayout().x+(i-uC(e,n))*t;e.setLayout({x:o},!0)}else{var r=e.getLayout().y+(i-uC(e,n))*t;e.setLayout({y:r},!0)}}})})}var gC=function(e,t,n){e.eachSeriesByType("sankey",function(e){var n=e.get("nodeWidth"),i=e.get("nodeGap"),o=function(e,t){return yc.getLayoutRect(e.getBoxLayoutParams(),{width:t.getWidth(),height:t.getHeight()})}(e,t);e.layoutInfo=o;var r=o.width,a=o.height,s=e.getGraph(),c=s.nodes,l=s.edges;!function(e){D.each(e,function(e){var t=hC(e.outEdges,fC),n=hC(e.inEdges,fC),i=Math.max(t,n);e.setLayout({value:i},!0)})}(c),function(e,t,n,i,o,r,a,s){(function(e,t,n,i,o,r){for(var a=[],s=[],c=[],l=[],d=0,u=0;u<t.length;u++)a[u]=1;for(u=0;u<e.length;u++)s[u]=e[u].inEdges.length,0===s[u]&&c.push(e[u]);for(;c.length;){for(var f=0;f<c.length;f++){var h=c[f];"vertical"===r?(h.setLayout({y:d},!0),h.setLayout({dy:n},!0)):(h.setLayout({x:d},!0),h.setLayout({dx:n},!0));for(var p=0;p<h.outEdges.length;p++){var g=h.outEdges[p],m=t.indexOf(g);a[m]=0;var b=g.node2,v=e.indexOf(b);0==--s[v]&&l.push(b)}}++d,c=l,l=[]}for(u=0;u<a.length;u++);(function(e,t,n){D.each(e,function(e){e.outEdges.length||("vertical"===n?e.setLayout({y:t-1},!0):e.setLayout({x:t-1},!0))})})(e,d,r),function(e,t,n){D.each(e,function(e){if("vertical"===n){var i=e.getLayout().y*t;e.setLayout({y:i},!0)}else{var o=e.getLayout().x*t;e.setLayout({x:o},!0)}})}(e,"vertical"===r?(o-n)/(d-1):(i-n)/(d-1),r)})(e,t,n,o,r,s),function(e,t,n,i,o,r,a){var s=aC().key(function(e){return"vertical"===e?function(e){return e.getLayout().y}:function(e){return e.getLayout().x}}(a)).sortKeys(function(e,t){return e-t}).entries(e).map(function(e){return e.values});(function(e,t,n,i,o,r,a){var s=[];D.each(t,function(e){var t=e.length,n=0,c=0;D.each(e,function(e){n+=e.getLayout().value}),c="vertical"===a?(o-(t-1)*r)/n:(i-(t-1)*r)/n,s.push(c)}),s.sort(function(e,t){return e-t});var c=s[0];D.each(t,function(e){D.each(e,function(e,t){var n=e.getLayout().value*c;"vertical"===a?(e.setLayout({x:t},!0),e.setLayout({dx:n},!0)):(e.setLayout({y:t},!0),e.setLayout({dy:n},!0))})}),D.each(n,function(e){var t=+e.getValue()*c;e.setLayout({dy:t},!0)})})(0,s,t,n,i,o,a),sC(s,o,n,i,a);for(var c=1;r>0;r--)cC(s,c*=.99,a),sC(s,o,n,i,a),pC(s,c,a),sC(s,o,n,i,a)}(e,t,r,o,i,a,s),function(e,t){D.each(e,function(e){"vertical"===t?(e.outEdges.sort(function(e,t){return e.node2.getLayout().x-t.node2.getLayout().x}),e.inEdges.sort(function(e,t){return e.node1.getLayout().x-t.node1.getLayout().x})):(e.outEdges.sort(function(e,t){return e.node2.getLayout().y-t.node2.getLayout().y}),e.inEdges.sort(function(e,t){return e.node1.getLayout().y-t.node1.getLayout().y}))}),D.each(e,function(e){var t=0,n=0;D.each(e.outEdges,function(e){e.setLayout({sy:t},!0),t+=e.getLayout().dy}),D.each(e.inEdges,function(e){e.setLayout({ty:n},!0),n+=e.getLayout().dy})})}(e,s)}(c,l,n,i,r,a,0!==D.filter(c,function(e){return 0===e.getLayout().value}).length?0:e.get("layoutIterations"),e.get("orient"))})};var mC=function(e,t){e.eachSeriesByType("sankey",function(e){var t=e.getGraph().nodes;if(t.length){var n=1/0,i=-1/0;D.each(t,function(e){var t=e.getLayout().value;t<n&&(n=t),t>i&&(i=t)}),D.each(t,function(t){var o=new Lx({type:"color",mappingMethod:"linear",dataExtent:[n,i],visual:e.get("color")}).mapValueToVisual(t.getLayout().value);t.setVisual("color",o);var r=t.getModel().get("itemStyle.color");null!=r&&t.setVisual("color",r)})}})};mm.registerLayout(gC),mm.registerVisual(mC);var bC=uh.getDimensionTypeByAxis,vC={seriesModelMixin:{_baseAxisDim:null,getInitialData:function(e,t){var n,i,o=t.getComponent("xAxis",this.get("xAxisIndex")),r=t.getComponent("yAxis",this.get("yAxisIndex")),a=o.get("type"),s=r.get("type");"category"===a?(e.layout="horizontal",n=o.getOrdinalMeta(),i=!0):"category"===s?(e.layout="vertical",n=r.getOrdinalMeta(),i=!0):e.layout=e.layout||"horizontal";var c=["x","y"],l="horizontal"===e.layout?0:1,d=this._baseAxisDim=c[l],u=c[1-l],f=[o,r],h=f[l].get("type"),p=f[1-l].get("type"),g=e.data;if(g&&i){var m=[];D.each(g,function(e,t){var n;e.value&&D.isArray(e.value)?(n=e.value.slice(),e.value.unshift(t)):D.isArray(e)?(n=e.slice(),e.unshift(t)):n=e,m.push(n)}),e.data=m}var b=this.defaultValueDimensions;return oy(this,{coordDimensions:[{name:d,type:bC(h),ordinalMeta:n,otherDims:{tooltip:!1,itemName:0},dimsDef:["base"]},{name:u,type:bC(p),dimsDef:b.slice()}],dimensionsCount:b.length+1})},getBaseAxis:function(){var e=this._baseAxisDim;return this.ecModel.getComponent(e+"Axis",this.get(e+"AxisIndex")).axis}}},yC=vC.seriesModelMixin,_C=bu.extend({type:"series.boxplot",dependencies:["xAxis","yAxis","grid"],defaultValueDimensions:[{name:"min",defaultTooltip:!0},{name:"Q1",defaultTooltip:!0},{name:"median",defaultTooltip:!0},{name:"Q3",defaultTooltip:!0},{name:"max",defaultTooltip:!0}],dimensions:null,defaultOption:{zlevel:0,z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,hoverAnimation:!0,layout:null,boxWidth:[7,50],itemStyle:{color:"#fff",borderWidth:1},emphasis:{itemStyle:{borderWidth:2,shadowBlur:5,shadowOffsetX:2,shadowOffsetY:2,shadowColor:"rgba(0,0,0,0.4)"}},animationEasing:"elasticOut",animationDuration:800}});D.mixin(_C,yC,!0);var wC=["itemStyle"],xC=["emphasis","itemStyle"],SC=(Vu.extend({type:"boxplot",render:function(e,t,n){var i=e.getData(),o=this.group,r=this._data;this._data||o.removeAll();var a="horizontal"===e.get("layout")?1:0;i.diff(r).add(function(e){if(i.hasValue(e)){var t=TC(i.getItemLayout(e),i,e,a,!0);i.setItemGraphicEl(e,t),o.add(t)}}).update(function(e,t){var n=r.getItemGraphicEl(t);if(i.hasValue(e)){var s=i.getItemLayout(e);n?kC(s,n,i,e):n=TC(s,i,e,a),o.add(n),i.setItemGraphicEl(e,n)}else o.remove(n)}).remove(function(e){var t=r.getItemGraphicEl(e);t&&o.remove(t)}).execute(),this._data=i},remove:function(e){var t=this.group,n=this._data;this._data=null,n&&n.eachItemGraphicEl(function(e){e&&t.remove(e)})},dispose:D.noop}),Or.extend({type:"boxplotBoxPath",shape:{},buildPath:function(e,t){var n=t.points,i=0;for(e.moveTo(n[i][0],n[i][1]),i++;i<4;i++)e.lineTo(n[i][0],n[i][1]);for(e.closePath();i<n.length;i++)e.moveTo(n[i][0],n[i][1]),i++,e.lineTo(n[i][0],n[i][1])}}));function TC(e,t,n,i,o){var r=e.ends,a=new SC({shape:{points:o?function(e,t,n){return D.map(e,function(e){return(e=e.slice())[t]=n.initBaseline,e})}(r,i,e):r}});return kC(e,a,t,n,o),a}function kC(e,t,n,i,o){var r=n.hostModel;(0,Ls[o?"initProps":"updateProps"])(t,{shape:{points:e.ends}},r,i);var a=n.getItemModel(i),s=a.getModel(wC),c=n.getItemVisual(i,"color"),l=s.getItemStyle(["borderColor"]);l.stroke=c,l.strokeNoScale=!0,t.useStyle(l),t.z2=100;var d=a.getModel(xC).getItemStyle();Ls.setHoverStyle(t,d)}var CC=["itemStyle","borderColor"];var jC=function(e,t){var n=e.get("color");e.eachRawSeriesByType("boxplot",function(t){var i=n[t.seriesIndex%n.length],o=t.getData();o.setVisual({legendSymbol:"roundRect",color:t.get(CC)||i}),e.isSeriesFiltered(t)||o.each(function(e){var t=o.getItemModel(e);o.setItemVisual(e,{color:t.get(CC,!0)})})})},AC=tc.parsePercent,EC=D.each;var IC=function(e){var t=function(e){var t=[],n=[];return e.eachSeriesByType("boxplot",function(e){var i=e.getBaseAxis(),o=D.indexOf(n,i);o<0&&(o=n.length,n[o]=i,t[o]={axis:i,seriesModels:[]}),t[o].seriesModels.push(e)}),t}(e);EC(t,function(e){var t=e.seriesModels;t.length&&(function(e){var t,n,i=e.axis,o=e.seriesModels,r=o.length,a=e.boxWidthList=[],s=e.boxOffsetList=[],c=[];if("category"===i.type)n=i.getBandWidth();else{var l=0;EC(o,function(e){l=Math.max(l,e.getData().count())}),t=i.getExtent(),Math.abs(t[1]-t[0])}EC(o,function(e){var t=e.get("boxWidth");D.isArray(t)||(t=[t,t]),c.push([AC(t[0],n)||0,AC(t[1],n)||0])});var d=.8*n-2,u=d/r*.3,f=(d-u*(r-1))/r,h=f/2-d/2;EC(o,function(e,t){s.push(h),h+=u+f,a.push(Math.min(Math.max(f,c[t][0]),c[t][1]))})}(e),EC(t,function(t,n){!function(e,t,n){var i=e.coordinateSystem,o=e.getData(),r=n/2,a="horizontal"===e.get("layout")?0:1,s=1-a,c=["x","y"],l=o.mapDimension(c[a]),d=o.mapDimension(c[s],!0);if(!(null==l||d.length<5))for(var u=0;u<o.count();u++){var f=o.get(l,u),h=y(f,d[2],u),p=y(f,d[0],u),g=y(f,d[1],u),m=y(f,d[3],u),b=y(f,d[4],u),v=[];_(v,g,0),_(v,m,1),v.push(p,g,b,m),w(v,p),w(v,b),w(v,h),o.setItemLayout(u,{initBaseline:h[s],ends:v})}function y(e,n,r){var c,l=o.get(n,r),d=[];return d[a]=e,d[s]=l,isNaN(e)||isNaN(l)?c=[NaN,NaN]:(c=i.dataToPoint(d))[a]+=t,c}function _(e,t,n){var i=t.slice(),o=t.slice();i[a]+=r,o[a]-=r,n?e.push(i,o):e.push(o,i)}function w(e,t){var n=t.slice(),i=t.slice();n[a]-=r,i[a]+=r,e.push(n,i)}}(t,e.boxOffsetList[n],e.boxWidthList[n])}))})};mm.registerVisual(jC),mm.registerLayout(IC);var MC=vC.seriesModelMixin,OC=bu.extend({type:"series.candlestick",dependencies:["xAxis","yAxis","grid"],defaultValueDimensions:[{name:"open",defaultTooltip:!0},{name:"close",defaultTooltip:!0},{name:"lowest",defaultTooltip:!0},{name:"highest",defaultTooltip:!0}],dimensions:null,defaultOption:{zlevel:0,z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,hoverAnimation:!0,layout:null,itemStyle:{color:"#c23531",color0:"#314656",borderWidth:1,borderColor:"#c23531",borderColor0:"#314656"},emphasis:{itemStyle:{borderWidth:2}},barMaxWidth:null,barMinWidth:null,barWidth:null,large:!0,largeThreshold:600,progressive:3e3,progressiveThreshold:1e4,progressiveChunkMode:"mod",animationUpdate:!1,animationEasing:"linear",animationDuration:300},getShadowDim:function(){return"open"},brushSelector:function(e,t,n){var i=t.getItemLayout(e);return i&&n.rect(i.brushRect)}});D.mixin(OC,MC,!0);var DC=["itemStyle"],VC=["emphasis","itemStyle"],LC=["color","color0","borderColor","borderColor0"],PC=(Vu.extend({type:"candlestick",render:function(e,t,n){this._updateDrawMode(e),this._isLargeDraw?this._renderLarge(e):this._renderNormal(e)},incrementalPrepareRender:function(e,t,n){this._clear(),this._updateDrawMode(e)},incrementalRender:function(e,t,n,i){this._isLargeDraw?this._incrementalRenderLarge(e,t):this._incrementalRenderNormal(e,t)},_updateDrawMode:function(e){var t=e.pipelineContext.large;(null==this._isLargeDraw||t^this._isLargeDraw)&&(this._isLargeDraw=t,this._clear())},_renderNormal:function(e){var t=e.getData(),n=this._data,i=this.group,o=t.getLayout("isSimpleBox");this._data||i.removeAll(),t.diff(n).add(function(n){if(t.hasValue(n)){var r,a=t.getItemLayout(n);r=NC(a,n,!0),Ls.initProps(r,{shape:{points:a.ends}},e,n),RC(r,t,n,o),i.add(r),t.setItemGraphicEl(n,r)}}).update(function(r,a){var s=n.getItemGraphicEl(a);if(t.hasValue(r)){var c=t.getItemLayout(r);s?Ls.updateProps(s,{shape:{points:c.ends}},e,r):s=NC(c,r),RC(s,t,r,o),i.add(s),t.setItemGraphicEl(r,s)}else i.remove(s)}).remove(function(e){var t=n.getItemGraphicEl(e);t&&i.remove(t)}).execute(),this._data=t},_renderLarge:function(e){this._clear(),BC(e,this.group)},_incrementalRenderNormal:function(e,t){for(var n,i=t.getData(),o=i.getLayout("isSimpleBox");null!=(n=e.next());){var r;RC(r=NC(i.getItemLayout(n),n),i,n,o),r.incremental=!0,this.group.add(r)}},_incrementalRenderLarge:function(e,t){BC(t,this.group,!0)},remove:function(e){this._clear()},_clear:function(){this.group.removeAll(),this._data=null},dispose:D.noop}),Or.extend({type:"normalCandlestickBox",shape:{},buildPath:function(e,t){var n=t.points;this.__simpleBox?(e.moveTo(n[4][0],n[4][1]),e.lineTo(n[6][0],n[6][1])):(e.moveTo(n[0][0],n[0][1]),e.lineTo(n[1][0],n[1][1]),e.lineTo(n[2][0],n[2][1]),e.lineTo(n[3][0],n[3][1]),e.closePath(),e.moveTo(n[4][0],n[4][1]),e.lineTo(n[5][0],n[5][1]),e.moveTo(n[6][0],n[6][1]),e.lineTo(n[7][0],n[7][1]))}}));function NC(e,t,n){var i=e.ends;return new PC({shape:{points:n?function(e,t){return D.map(e,function(e){return(e=e.slice())[1]=t.initBaseline,e})}(i,e):i},z2:100})}function RC(e,t,n,i){var o=t.getItemModel(n),r=o.getModel(DC),a=t.getItemVisual(n,"color"),s=t.getItemVisual(n,"borderColor")||a,c=r.getItemStyle(LC);e.useStyle(c),e.style.strokeNoScale=!0,e.style.fill=a,e.style.stroke=s,e.__simpleBox=i;var l=o.getModel(VC).getItemStyle();Ls.setHoverStyle(e,l)}var FC=Or.extend({type:"largeCandlestickBox",shape:{},buildPath:function(e,t){for(var n=t.points,i=0;i<n.length;)if(this.__sign===n[i++]){var o=n[i++];e.moveTo(o,n[i++]),e.lineTo(o,n[i++])}else i+=3}});function BC(e,t,n){var i=e.getData(),o=i.getLayout("largePoints"),r=new FC({shape:{points:o},__sign:1});t.add(r);var a=new FC({shape:{points:o},__sign:-1});t.add(a),zC(1,r,e,i),zC(-1,a,e,i),n&&(r.incremental=!0,a.incremental=!0)}function zC(e,t,n,i){var o=e>0?"P":"N",r=i.getVisual("borderColor"+o)||i.getVisual("color"+o),a=n.getModel(DC).getItemStyle(LC);t.useStyle(a),t.style.fill=null,t.style.stroke=r}var HC=function(e){e&&D.isArray(e.series)&&D.each(e.series,function(e){D.isObject(e)&&"k"===e.type&&(e.type="candlestick")})},$C=["itemStyle","borderColor"],qC=["itemStyle","borderColor0"],WC=["itemStyle","color"],GC=["itemStyle","color0"],UC={seriesType:"candlestick",plan:xu(),performRawSeries:!0,reset:function(e,t){var n=e.getData(),i=e.pipelineContext.large;if(n.setVisual({legendSymbol:"roundRect",colorP:o(1,e),colorN:o(-1,e),borderColorP:r(1,e),borderColorN:r(-1,e)}),!t.isSeriesFiltered(e))return!i&&{progress:function(e,t){var n;for(;null!=(n=e.next());){var i=t.getItemModel(n),a=t.getItemLayout(n).sign;t.setItemVisual(n,{color:o(a,i),borderColor:r(a,i)})}}};function o(e,t){return t.get(e>0?WC:GC)}function r(e,t){return t.get(e>0?$C:qC)}}},KC=Ls.subPixelOptimize,YC=tc.parsePercent,ZC=D.retrieve2,XC="undefined"!=typeof Float32Array?Float32Array:Array;function QC(e,t,n,i,o){return n>i?-1:n<i?1:t>0?e.get(o,t-1)<=i?1:-1:1}var JC={seriesType:"candlestick",plan:xu(),reset:function(e){var t=e.coordinateSystem,n=e.getData(),i=function(e,t){var n,i=e.getBaseAxis(),o="category"===i.type?i.getBandWidth():(n=i.getExtent(),Math.abs(n[1]-n[0])/t.count()),r=YC(ZC(e.get("barMaxWidth"),o),o),a=YC(ZC(e.get("barMinWidth"),1),o),s=e.get("barWidth");return null!=s?YC(s,o):Math.max(Math.min(o/2,r),a)}(e,n),o=0,r=1,a=["x","y"],s=n.mapDimension(a[o]),c=n.mapDimension(a[r],!0),l=c[0],d=c[1],u=c[2],f=c[3];if(n.setLayout({candleWidth:i,isSimpleBox:i<=1.3}),!(null==s||c.length<4))return{progress:e.pipelineContext.large?function(e,n){var i,a,c=new XC(5*e.count),h=0,p=[],g=[];for(;null!=(a=e.next());){var m=n.get(s,a),b=n.get(l,a),v=n.get(d,a),y=n.get(u,a),_=n.get(f,a);isNaN(m)||isNaN(y)||isNaN(_)?(c[h++]=NaN,h+=4):(c[h++]=QC(n,a,b,v,d),p[o]=m,p[r]=y,i=t.dataToPoint(p,null,g),c[h++]=i?i[0]:NaN,c[h++]=i?i[1]:NaN,p[r]=_,i=t.dataToPoint(p,null,g),c[h++]=i?i[1]:NaN)}n.setLayout("largePoints",c)}:function(e,n){var a;for(;null!=(a=e.next());){var c=n.get(s,a),h=n.get(l,a),p=n.get(d,a),g=n.get(u,a),m=n.get(f,a),b=Math.min(h,p),v=Math.max(h,p),y=T(b,c),_=T(v,c),w=T(g,c),x=T(m,c),S=[];k(S,_,0),k(S,y,1),S.push(j(x),j(_),j(w),j(y)),n.setItemLayout(a,{sign:QC(n,a,h,p,d),initBaseline:h>p?_[r]:y[r],ends:S,brushRect:C(g,m,c)})}function T(e,n){var i=[];return i[o]=n,i[r]=e,isNaN(n)||isNaN(e)?[NaN,NaN]:t.dataToPoint(i)}function k(e,t,n){var r=t.slice(),a=t.slice();r[o]=KC(r[o]+i/2,1,!1),a[o]=KC(a[o]-i/2,1,!0),n?e.push(r,a):e.push(a,r)}function C(e,t,n){var a=T(e,n),s=T(t,n);return a[o]-=i/2,s[o]-=i/2,{x:a[0],y:a[1],width:r?i:s[0]-a[0],height:r?s[1]-a[1]:i}}function j(e){return e[o]=KC(e[o],1),e}}}}};mm.registerPreprocessor(HC),mm.registerVisual(UC),mm.registerLayout(JC);bu.extend({type:"series.effectScatter",dependencies:["grid","polar"],getInitialData:function(e,t){return op(this.getSource(),this)},brushSelector:"point",defaultOption:{coordinateSystem:"cartesian2d",zlevel:0,z:2,legendHoverLink:!0,effectType:"ripple",progressive:0,showEffectOn:"render",rippleEffect:{period:4,scale:2.5,brushType:"fill"},symbolSize:10}});var ej=vg.createSymbol,tj=Ls.Group,nj=tc.parsePercent;function ij(e,t){e.eachChild(function(e){e.attr({z:t.z,zlevel:t.zlevel,style:{stroke:"stroke"===t.brushType?t.color:null,fill:"fill"===t.brushType?t.color:null}})})}function oj(e,t){tj.call(this);var n=new Lm(e,t),i=new tj;this.add(n),this.add(i),i.beforeUpdate=function(){this.attr(n.getScale())},this.updateData(e,t)}var rj=oj.prototype;rj.stopEffectAnimation=function(){this.childAt(1).removeAll()},rj.startEffectAnimation=function(e){for(var t=e.symbolType,n=e.color,i=this.childAt(1),o=0;o<3;o++){var r=ej(t,-1,-1,2,2,n);r.attr({style:{strokeNoScale:!0},z2:99,silent:!0,scale:[.5,.5]});var a=-o/3*e.period+e.effectOffset;r.animate("",!0).when(e.period,{scale:[e.rippleScale/2,e.rippleScale/2]}).delay(a).start(),r.animateStyle(!0).when(e.period,{opacity:0}).delay(a).start(),i.add(r)}ij(i,e)},rj.updateEffectAnimation=function(e){for(var t=this._effectCfg,n=this.childAt(1),i=["symbolType","period","rippleScale"],o=0;o<i.length;o++){var r=i[o];if(t[r]!==e[r])return this.stopEffectAnimation(),void this.startEffectAnimation(e)}ij(n,e)},rj.highlight=function(){this.trigger("emphasis")},rj.downplay=function(){this.trigger("normal")},rj.updateData=function(e,t){var n=e.hostModel;this.childAt(0).updateData(e,t);var i=this.childAt(1),o=e.getItemModel(t),r=e.getItemVisual(t,"symbol"),a=function(e){return D.isArray(e)||(e=[+e,+e]),e}(e.getItemVisual(t,"symbolSize")),s=e.getItemVisual(t,"color");i.attr("scale",a),i.traverse(function(e){e.attr({fill:s})});var c=o.getShallow("symbolOffset");if(c){var l=i.position;l[0]=nj(c[0],a[0]),l[1]=nj(c[1],a[1])}i.rotation=(o.getShallow("symbolRotate")||0)*Math.PI/180||0;var d={};if(d.showEffectOn=n.get("showEffectOn"),d.rippleScale=o.get("rippleEffect.scale"),d.brushType=o.get("rippleEffect.brushType"),d.period=1e3*o.get("rippleEffect.period"),d.effectOffset=t/e.count(),d.z=o.getShallow("z")||0,d.zlevel=o.getShallow("zlevel")||0,d.symbolType=r,d.color=s,this.off("mouseover").off("mouseout").off("emphasis").off("normal"),"render"===d.showEffectOn)this._effectCfg?this.updateEffectAnimation(d):this.startEffectAnimation(d),this._effectCfg=d;else{this._effectCfg=null,this.stopEffectAnimation();var u=this.childAt(0),f=function(){u.highlight(),"render"!==d.showEffectOn&&this.startEffectAnimation(d)},h=function(){u.downplay(),"render"!==d.showEffectOn&&this.stopEffectAnimation()};this.on("mouseover",f,this).on("mouseout",h,this).on("emphasis",f,this).on("normal",h,this)}this._effectCfg=d},rj.fadeOut=function(e){this.off("mouseover").off("mouseout").off("emphasis").off("normal"),e&&e()},D.inherits(oj,tj);var aj=oj;mm.extendChartView({type:"effectScatter",init:function(){this._symbolDraw=new Hm(aj)},render:function(e,t,n){var i=e.getData(),o=this._symbolDraw;o.updateData(i),this.group.add(o.group)},updateTransform:function(e,t,n){var i=e.getData();this.group.dirty();var o=_b().reset(e);o.progress&&o.progress({start:0,end:i.count()},i),this._symbolDraw.updateLayout(i)},_updateGroupTransform:function(e){var t=e.coordinateSystem;t&&t.getRoamTransform&&(this.group.transform=de.clone(t.getRoamTransform()),this.group.decomposeTransform())},remove:function(e,t){this._symbolDraw&&this._symbolDraw.remove(t)},dispose:function(){}});mm.registerVisual(bb("effectScatter","circle")),mm.registerLayout(_b("effectScatter"));var sj=D.concatArray,cj=D.mergeAll,lj=D.map,dj=cc.encodeHTML,uj="undefined"==typeof Uint32Array?Array:Uint32Array,fj="undefined"==typeof Float64Array?Array:Float64Array;function hj(e){var t=e.data;t&&t[0]&&t[0][0]&&t[0][0].coord&&(e.data=lj(t,function(e){var t={coords:[e[0].coord,e[1].coord]};return e[0].name&&(t.fromName=e[0].name),e[1].name&&(t.toName=e[1].name),cj([t,e[0],e[1]])}))}var pj=bu.extend({type:"series.lines",dependencies:["grid","polar"],visualColorAccessPath:"lineStyle.color",init:function(e){e.data=e.data||[],hj(e);var t=this._processFlatCoordsArray(e.data);this._flatCoords=t.flatCoords,this._flatCoordsOffset=t.flatCoordsOffset,t.flatCoords&&(e.data=new Float32Array(t.count)),pj.superApply(this,"init",arguments)},mergeOption:function(e){if(e.data=e.data||[],hj(e),e.data){var t=this._processFlatCoordsArray(e.data);this._flatCoords=t.flatCoords,this._flatCoordsOffset=t.flatCoordsOffset,t.flatCoords&&(e.data=new Float32Array(t.count))}pj.superApply(this,"mergeOption",arguments)},appendData:function(e){var t=this._processFlatCoordsArray(e.data);t.flatCoords&&(this._flatCoords?(this._flatCoords=sj(this._flatCoords,t.flatCoords),this._flatCoordsOffset=sj(this._flatCoordsOffset,t.flatCoordsOffset)):(this._flatCoords=t.flatCoords,this._flatCoordsOffset=t.flatCoordsOffset),e.data=new Float32Array(t.count)),this.getRawData().appendData(e.data)},_getCoordsFromItemModel:function(e){var t=this.getData().getItemModel(e);return t.option instanceof Array?t.option:t.getShallow("coords")},getLineCoordsCount:function(e){return this._flatCoordsOffset?this._flatCoordsOffset[2*e+1]:this._getCoordsFromItemModel(e).length},getLineCoords:function(e,t){if(this._flatCoordsOffset){for(var n=this._flatCoordsOffset[2*e],i=this._flatCoordsOffset[2*e+1],o=0;o<i;o++)t[o]=t[o]||[],t[o][0]=this._flatCoords[n+2*o],t[o][1]=this._flatCoords[n+2*o+1];return i}var r=this._getCoordsFromItemModel(e);for(o=0;o<r.length;o++)t[o]=t[o]||[],t[o][0]=r[o][0],t[o][1]=r[o][1];return r.length},_processFlatCoordsArray:function(e){var t=0;if(this._flatCoords&&(t=this._flatCoords.length),"number"==typeof e[0]){for(var n=e.length,i=new uj(n),o=new fj(n),r=0,a=0,s=0,c=0;c<n;){s++;var l=e[c++];i[a++]=r+t,i[a++]=l;for(var d=0;d<l;d++){var u=e[c++],f=e[c++];o[r++]=u,o[r++]=f}}return{flatCoordsOffset:new Uint32Array(i.buffer,0,a),flatCoords:o,count:s}}return{flatCoordsOffset:null,flatCoords:null,count:e.length}},getInitialData:function(e,t){var n=new Lh(["value"],this);return n.hasItemOption=!1,n.initData(e.data,[],function(e,t,i,o){if(e instanceof Array)return NaN;n.hasItemOption=!0;var r=e.value;return null!=r?r instanceof Array?r[o]:r:void 0}),n},formatTooltip:function(e){var t=this.getData().getItemModel(e),n=t.get("name");if(n)return n;var i=t.get("fromName"),o=t.get("toName"),r=[];return null!=i&&r.push(i),null!=o&&r.push(o),dj(r.join(" > "))},preventIncremental:function(){return!!this.get("effect.show")},getProgressive:function(){var e=this.option.progressive;return null==e?this.option.large?1e4:this.get("progressive"):e},getProgressiveThreshold:function(){var e=this.option.progressiveThreshold;return null==e?this.option.large?2e4:this.get("progressiveThreshold"):e},defaultOption:{coordinateSystem:"geo",zlevel:0,z:2,legendHoverLink:!0,hoverAnimation:!0,xAxisIndex:0,yAxisIndex:0,symbol:["none","none"],symbolSize:[10,10],geoIndex:0,effect:{show:!1,period:4,constantSpeed:0,symbol:"circle",symbolSize:3,loop:!0,trailLength:.2},large:!1,largeThreshold:2e3,polyline:!1,label:{show:!1,position:"end"},lineStyle:{opacity:.5}}}),gj=vg.createSymbol;function mj(e,t,n){Ls.Group.call(this),this.add(this.createLine(e,t,n)),this._updateEffectSymbol(e,t)}var bj=mj.prototype;bj.createLine=function(e,t,n){return new kS(e,t,n)},bj._updateEffectSymbol=function(e,t){var n=e.getItemModel(t).getModel("effect"),i=n.get("symbolSize"),o=n.get("symbol");D.isArray(i)||(i=[i,i]);var r=n.get("color")||e.getItemVisual(t,"color"),a=this.childAt(1);this._symbolType!==o&&(this.remove(a),(a=gj(o,-.5,-.5,1,1,r)).z2=100,a.culling=!0,this.add(a)),a&&(a.setStyle("shadowColor",r),a.setStyle(n.getItemStyle(["color"])),a.attr("scale",i),a.setColor(r),a.attr("scale",i),this._symbolType=o,this._updateEffectAnimation(e,n,t))},bj._updateEffectAnimation=function(e,t,n){var i=this.childAt(1);if(i){var o=this,r=e.getItemLayout(n),a=1e3*t.get("period"),s=t.get("loop"),c=t.get("constantSpeed"),l=D.retrieve(t.get("delay"),function(t){return t/e.count()*a/3}),d="function"==typeof l;if(i.ignore=!0,this.updateAnimationPoints(i,r),c>0&&(a=this.getLineLength(i)/c*1e3),a!==this._period||s!==this._loop){i.stopAnimation();var u=l;d&&(u=l(n)),i.__t>0&&(u=-a*i.__t),i.__t=0;var f=i.animate("",s).when(a,{__t:1}).delay(u).during(function(){o.updateSymbolPosition(i)});s||f.done(function(){o.remove(i)}),f.start()}this._period=a,this._loop=s}},bj.getLineLength=function(e){return F.dist(e.__p1,e.__cp1)+F.dist(e.__cp1,e.__p2)},bj.updateAnimationPoints=function(e,t){e.__p1=t[0],e.__p2=t[1],e.__cp1=t[2]||[(t[0][0]+t[1][0])/2,(t[0][1]+t[1][1])/2]},bj.updateData=function(e,t,n){this.childAt(0).updateData(e,t,n),this._updateEffectSymbol(e,t)},bj.updateSymbolPosition=function(e){var t=e.__p1,n=e.__p2,i=e.__cp1,o=e.__t,r=e.position,a=Vo.quadraticAt,s=Vo.quadraticDerivativeAt;r[0]=a(t[0],i[0],n[0],o),r[1]=a(t[1],i[1],n[1],o);var c=s(t[0],i[0],n[0],o),l=s(t[1],i[1],n[1],o);e.rotation=-Math.atan2(l,c)-Math.PI/2,e.ignore=!1},bj.updateLayout=function(e,t){this.childAt(0).updateLayout(e,t);var n=e.getItemModel(t).getModel("effect");this._updateEffectAnimation(e,n,t)},D.inherits(mj,Ls.Group);var vj=mj;function yj(e,t,n){Ls.Group.call(this),this._createPolyline(e,t,n)}var _j=yj.prototype;_j._createPolyline=function(e,t,n){var i=e.getItemLayout(t),o=new Ls.Polyline({shape:{points:i}});this.add(o),this._updateCommonStl(e,t,n)},_j.updateData=function(e,t,n){var i=e.hostModel,o=this.childAt(0),r={shape:{points:e.getItemLayout(t)}};Ls.updateProps(o,r,i,t),this._updateCommonStl(e,t,n)},_j._updateCommonStl=function(e,t,n){var i=this.childAt(0),o=e.getItemModel(t),r=e.getItemVisual(t,"color"),a=n&&n.lineStyle,s=n&&n.hoverLineStyle;n&&!e.hasItemOption||(a=o.getModel("lineStyle").getLineStyle(),s=o.getModel("emphasis.lineStyle").getLineStyle()),i.useStyle(D.defaults({strokeNoScale:!0,fill:"none",stroke:r},a)),i.hoverStyle=s,Ls.setHoverStyle(this)},_j.updateLayout=function(e,t){this.childAt(0).setShape("points",e.getItemLayout(t))},D.inherits(yj,Ls.Group);var wj=yj;function xj(e,t,n){vj.call(this,e,t,n),this._lastFrame=0,this._lastFramePercent=0}var Sj=xj.prototype;Sj.createLine=function(e,t,n){return new wj(e,t,n)},Sj.updateAnimationPoints=function(e,t){this._points=t;for(var n=[0],i=0,o=1;o<t.length;o++){var r=t[o-1],a=t[o];i+=F.dist(r,a),n.push(i)}if(0!==i){for(o=0;o<n.length;o++)n[o]/=i;this._offsets=n,this._length=i}},Sj.getLineLength=function(e){return this._length},Sj.updateSymbolPosition=function(e){var t=e.__t,n=this._points,i=this._offsets,o=n.length;if(i){var r=this._lastFrame;if(t<this._lastFramePercent){for(a=Math.min(r+1,o-1);a>=0&&!(i[a]<=t);a--);a=Math.min(a,o-2)}else{for(var a=r;a<o&&!(i[a]>t);a++);a=Math.min(a-1,o-2)}F.lerp(e.position,n[a],n[a+1],(t-i[a])/(i[a+1]-i[a]));var s=n[a+1][0]-n[a][0],c=n[a+1][1]-n[a][1];e.rotation=-Math.atan2(c,s)-Math.PI/2,this._lastFrame=a,this._lastFramePercent=t,e.ignore=!1}},D.inherits(xj,vj);var Tj=xj,kj=Ls.extendShape({shape:{polyline:!1,curveness:0,segs:[]},buildPath:function(e,t){var n=t.segs,i=t.curveness;if(t.polyline)for(var o=0;o<n.length;){var r=n[o++];if(r>0){e.moveTo(n[o++],n[o++]);for(var a=1;a<r;a++)e.lineTo(n[o++],n[o++])}}else for(o=0;o<n.length;){var s=n[o++],c=n[o++],l=n[o++],d=n[o++];if(e.moveTo(s,c),i>0){var u=(s+l)/2-(c-d)*i,f=(c+d)/2-(l-s)*i;e.quadraticCurveTo(u,f,l,d)}else e.lineTo(l,d)}},findDataIndex:function(e,t){var n=this.shape,i=n.segs,o=n.curveness;if(n.polyline)for(var r=0,a=0;a<i.length;){var s=i[a++];if(s>0)for(var c=i[a++],l=i[a++],d=1;d<s;d++){var u=i[a++],f=i[a++];if(sr.containStroke(c,l,u,f))return r}r++}else for(r=0,a=0;a<i.length;){c=i[a++],l=i[a++],u=i[a++],f=i[a++];if(o>0){var h=(c+u)/2-(l-f)*o,p=(l+f)/2-(u-c)*o;if(dr.containStroke(c,l,h,p,u,f))return r}else if(sr.containStroke(c,l,u,f))return r;r++}return-1}});function Cj(){this.group=new Ls.Group}var jj=Cj.prototype;jj.isPersistent=function(){return!this._incremental},jj.updateData=function(e){this.group.removeAll();var t=new kj({rectHover:!0,cursor:"default"});t.setShape({segs:e.getLayout("linesPoints")}),this._setCommon(t,e),this.group.add(t),this._incremental=null},jj.incrementalPrepareUpdate=function(e){this.group.removeAll(),this._clearIncremental(),e.count()>5e5?(this._incremental||(this._incremental=new Ba({silent:!0})),this.group.add(this._incremental)):this._incremental=null},jj.incrementalUpdate=function(e,t){var n=new kj;n.setShape({segs:t.getLayout("linesPoints")}),this._setCommon(n,t,!!this._incremental),this._incremental?this._incremental.addDisplayable(n,!0):(n.rectHover=!0,n.cursor="default",n.__startIndex=e.start,this.group.add(n))},jj.remove=function(){this._clearIncremental(),this._incremental=null,this.group.removeAll()},jj._setCommon=function(e,t,n){var i=t.hostModel;e.setShape({polyline:i.get("polyline"),curveness:i.get("lineStyle.curveness")}),e.useStyle(i.getModel("lineStyle").getLineStyle()),e.style.strokeNoScale=!0;var o=t.getVisual("color");o&&e.setStyle("stroke",o),e.setStyle("fill"),n||(e.seriesIndex=i.seriesIndex,e.on("mousemove",function(t){e.dataIndex=null;var n=e.findDataIndex(t.offsetX,t.offsetY);n>0&&(e.dataIndex=n+e.__startIndex)}))},jj._clearIncremental=function(){var e=this._incremental;e&&e.clearDisplaybles()};var Aj=Cj,Ej={seriesType:"lines",plan:xu(),reset:function(e){var t=e.coordinateSystem,n=e.get("polyline"),i=e.pipelineContext.large;return{progress:function(o,r){var a=[];if(i){var s,c=o.end-o.start;if(n){for(var l=0,d=o.start;d<o.end;d++)l+=e.getLineCoordsCount(d);s=new Float32Array(c+2*l)}else s=new Float32Array(4*c);var u=0,f=[];for(d=o.start;d<o.end;d++){var h=e.getLineCoords(d,a);n&&(s[u++]=h);for(var p=0;p<h;p++)f=t.dataToPoint(a[p],!1,f),s[u++]=f[0],s[u++]=f[1]}r.setLayout("linesPoints",s)}else for(d=o.start;d<o.end;d++){var g=r.getItemModel(d),m=(h=e.getLineCoords(d,a),[]);if(n)for(var b=0;b<h;b++)m.push(t.dataToPoint(a[b]));else{m[0]=t.dataToPoint(a[0]),m[1]=t.dataToPoint(a[1]);var v=g.get("lineStyle.curveness");+v&&(m[2]=[(m[0][0]+m[1][0])/2-(m[0][1]-m[1][1])*v,(m[0][1]+m[1][1])/2-(m[1][0]-m[0][0])*v])}r.setItemLayout(d,m)}}}}};mm.extendChartView({type:"lines",init:function(){},render:function(e,t,n){var i=e.getData(),o=this._updateLineDraw(i,e),r=e.get("zlevel"),a=e.get("effect.trailLength"),s=n.getZr(),c="svg"===s.painter.getType();c||s.painter.getLayer(r).clear(!0),null==this._lastZlevel||c||s.configLayer(this._lastZlevel,{motionBlur:!1}),this._showEffect(e)&&a&&(c||s.configLayer(r,{motionBlur:!0,lastFrameAlpha:Math.max(Math.min(a/10+.9,1),0)})),o.updateData(i),this._lastZlevel=r,this._finished=!0},incrementalPrepareRender:function(e,t,n){var i=e.getData();this._updateLineDraw(i,e).incrementalPrepareUpdate(i),this._clearLayer(n),this._finished=!1},incrementalRender:function(e,t,n){this._lineDraw.incrementalUpdate(e,t.getData()),this._finished=e.end===t.getData().count()},updateTransform:function(e,t,n){var i=e.getData(),o=e.pipelineContext;if(!this._finished||o.large||o.progressiveRender)return{update:!0};var r=Ej.reset(e);r.progress&&r.progress({start:0,end:i.count()},i),this._lineDraw.updateLayout(),this._clearLayer(n)},_updateLineDraw:function(e,t){var n=this._lineDraw,i=this._showEffect(t),o=!!t.get("polyline"),r=t.pipelineContext.large;return n&&i===this._hasEffet&&o===this._isPolyline&&r===this._isLargeDraw||(n&&n.remove(),n=this._lineDraw=r?new Aj:new MS(o?i?Tj:wj:i?vj:kS),this._hasEffet=i,this._isPolyline=o,this._isLargeDraw=r,this.group.removeAll()),this.group.add(n.group),n},_showEffect:function(e){return!!e.get("effect.show")},_clearLayer:function(e){var t=e.getZr();"svg"===t.painter.getType()||null==this._lastZlevel||t.painter.getLayer(this._lastZlevel).clear(!0)},remove:function(e,t){this._lineDraw&&this._lineDraw.remove(),this._lineDraw=null,this._clearLayer(t)},dispose:function(){}});function Ij(e){return e instanceof Array||(e=[e,e]),e}var Mj="lineStyle.opacity".split("."),Oj={seriesType:"lines",reset:function(e,t,n){var i=Ij(e.get("symbol")),o=Ij(e.get("symbolSize")),r=e.getData();return r.setVisual("fromSymbol",i&&i[0]),r.setVisual("toSymbol",i&&i[1]),r.setVisual("fromSymbolSize",o&&o[0]),r.setVisual("toSymbolSize",o&&o[1]),r.setVisual("opacity",e.get(Mj)),{dataEach:r.hasItemOption?function(e,t){var n=e.getItemModel(t),i=Ij(n.getShallow("symbol",!0)),o=Ij(n.getShallow("symbolSize",!0)),r=n.get(Mj);i[0]&&e.setItemVisual(t,"fromSymbol",i[0]),i[1]&&e.setItemVisual(t,"toSymbol",i[1]),o[0]&&e.setItemVisual(t,"fromSymbolSize",o[0]),o[1]&&e.setItemVisual(t,"toSymbolSize",o[1]),e.setItemVisual(t,"opacity",r)}:null}}};mm.registerLayout(Ej),mm.registerVisual(Oj);bu.extend({type:"series.heatmap",getInitialData:function(e,t){return op(this.getSource(),this,{generateCoord:"value"})},preventIncremental:function(){var e=zl.get(this.get("coordinateSystem"));if(e&&e.dimensions)return"lng"===e.dimensions[0]&&"lat"===e.dimensions[1]},defaultOption:{coordinateSystem:"cartesian2d",zlevel:0,z:2,geoIndex:0,blurSize:30,pointSize:20,maxOpacity:1,minOpacity:0}});function Dj(){var e=D.createCanvas();this.canvas=e,this.blurSize=30,this.pointSize=20,this.maxOpacity=1,this.minOpacity=0,this._gradientPixels={}}Dj.prototype={update:function(e,t,n,i,o,r){var a=this._getBrush(),s=this._getGradient(e,o,"inRange"),c=this._getGradient(e,o,"outOfRange"),l=this.pointSize+this.blurSize,d=this.canvas,u=d.getContext("2d"),f=e.length;d.width=t,d.height=n;for(var h=0;h<f;++h){var p=e[h],g=p[0],m=p[1],b=i(p[2]);u.globalAlpha=b,u.drawImage(a,g-l,m-l)}if(!d.width||!d.height)return d;for(var v=u.getImageData(0,0,d.width,d.height),y=v.data,_=0,w=y.length,x=this.minOpacity,S=this.maxOpacity-x;_<w;){b=y[_+3]/256;var T=4*Math.floor(255*b);if(b>0){var k=r(b)?s:c;b>0&&(b=b*S+x),y[_++]=k[T],y[_++]=k[T+1],y[_++]=k[T+2],y[_++]=k[T+3]*b*256}else _+=4}return u.putImageData(v,0,0),d},_getBrush:function(){var e=this._brushCanvas||(this._brushCanvas=D.createCanvas()),t=this.pointSize+this.blurSize,n=2*t;e.width=n,e.height=n;var i=e.getContext("2d");return i.clearRect(0,0,n,n),i.shadowOffsetX=n,i.shadowBlur=this.blurSize,i.shadowColor="#000",i.beginPath(),i.arc(-t,t,this.pointSize,0,2*Math.PI,!0),i.closePath(),i.fill(),e},_getGradient:function(e,t,n){for(var i=this._gradientPixels,o=i[n]||(i[n]=new Uint8ClampedArray(1024)),r=[0,0,0,0],a=0,s=0;s<256;s++)t[n](s/255,!0,r),o[a++]=r[0],o[a++]=r[1],o[a++]=r[2],o[a++]=r[3];return o}};var Vj=Dj;mm.extendChartView({type:"heatmap",render:function(e,t,n){var i;t.eachComponent("visualMap",function(t){t.eachTargetSeries(function(n){n===e&&(i=t)})}),this.group.removeAll(),this._incrementalDisplayable=null;var o=e.coordinateSystem;"cartesian2d"===o.type||"calendar"===o.type?this._renderOnCartesianAndCalendar(e,n,0,e.getData().count()):function(e){var t=e.dimensions;return"lng"===t[0]&&"lat"===t[1]}(o)&&this._renderOnGeo(o,e,i,n)},incrementalPrepareRender:function(e,t,n){this.group.removeAll()},incrementalRender:function(e,t,n,i){t.coordinateSystem&&this._renderOnCartesianAndCalendar(t,i,e.start,e.end,!0)},_renderOnCartesianAndCalendar:function(e,t,n,i,o){var r,a,s=e.coordinateSystem;if("cartesian2d"===s.type){var c=s.getAxis("x"),l=s.getAxis("y");r=c.getBandWidth(),a=l.getBandWidth()}for(var d=this.group,u=e.getData(),f=e.getModel("itemStyle").getItemStyle(["color"]),h=e.getModel("emphasis.itemStyle").getItemStyle(),p=e.getModel("label"),g=e.getModel("emphasis.label"),m=s.type,b="cartesian2d"===m?[u.mapDimension("x"),u.mapDimension("y"),u.mapDimension("value")]:[u.mapDimension("time"),u.mapDimension("value")],v=n;v<i;v++){var y;if("cartesian2d"===m){if(isNaN(u.get(b[2],v)))continue;var _=s.dataToPoint([u.get(b[0],v),u.get(b[1],v)]);y=new Ls.Rect({shape:{x:_[0]-r/2,y:_[1]-a/2,width:r,height:a},style:{fill:u.getItemVisual(v,"color"),opacity:u.getItemVisual(v,"opacity")}})}else{if(isNaN(u.get(b[1],v)))continue;y=new Ls.Rect({z2:1,shape:s.dataToRect([u.get(b[0],v)]).contentShape,style:{fill:u.getItemVisual(v,"color"),opacity:u.getItemVisual(v,"opacity")}})}var w=u.getItemModel(v);u.hasItemOption&&(f=w.getModel("itemStyle").getItemStyle(["color"]),h=w.getModel("emphasis.itemStyle").getItemStyle(),p=w.getModel("label"),g=w.getModel("emphasis.label"));var x=e.getRawValue(v),S="-";x&&null!=x[2]&&(S=x[2]),Ls.setLabelStyle(f,h,p,g,{labelFetcher:e,labelDataIndex:v,defaultText:S,isRectText:!0}),y.setStyle(f),Ls.setHoverStyle(y,u.hasItemOption?h:D.extend({},h)),y.incremental=o,o&&(y.useHoverLayer=!0),d.add(y),u.setItemGraphicEl(v,y)}},_renderOnGeo:function(e,t,n,i){var o=n.targetVisuals.inRange,r=n.targetVisuals.outOfRange,a=t.getData(),s=this._hmLayer||this._hmLayer||new Vj;s.blurSize=t.get("blurSize"),s.pointSize=t.get("pointSize"),s.minOpacity=t.get("minOpacity"),s.maxOpacity=t.get("maxOpacity");var c=e.getViewRect().clone(),l=e.getRoamTransform();c.applyTransform(l);var d=Math.max(c.x,0),u=Math.max(c.y,0),f=Math.min(c.width+c.x,i.getWidth()),h=Math.min(c.height+c.y,i.getHeight()),p=f-d,g=h-u,m=[a.mapDimension("lng"),a.mapDimension("lat"),a.mapDimension("value")],b=a.mapArray(m,function(t,n,i){var o=e.dataToPoint([t,n]);return o[0]-=d,o[1]-=u,o.push(i),o}),v=n.getExtent(),y="visualMap.continuous"===n.type?function(e,t){var n=e[1]-e[0];return t=[(t[0]-e[0])/n,(t[1]-e[0])/n],function(e){return e>=t[0]&&e<=t[1]}}(v,n.option.range):function(e,t,n){var i=e[1]-e[0],o=(t=D.map(t,function(t){return{interval:[(t.interval[0]-e[0])/i,(t.interval[1]-e[0])/i]}})).length,r=0;return function(e){for(var i=r;i<o;i++)if((a=t[i].interval)[0]<=e&&e<=a[1]){r=i;break}if(i===o)for(i=r-1;i>=0;i--){var a;if((a=t[i].interval)[0]<=e&&e<=a[1]){r=i;break}}return i>=0&&i<o&&n[i]}}(v,n.getPieceList(),n.option.selected);s.update(b,p,g,o.color.getNormalizer(),{inRange:o.color.getColorMapper(),outOfRange:r.color.getColorMapper()},y);var _=new Ls.Image({style:{width:p,height:g,x:d,y:u,image:s.canvas},silent:!0});this.group.add(_)},dispose:function(){}});var Lj=Fv.extend({type:"series.pictorialBar",dependencies:["grid"],defaultOption:{symbol:"circle",symbolSize:null,symbolRotate:null,symbolPosition:null,symbolOffset:null,symbolMargin:null,symbolRepeat:!1,symbolRepeatDirection:"end",symbolClip:!1,symbolBoundingData:null,symbolPatternSize:400,barGap:"-100%",progressive:0,hoverAnimation:!1},getInitialData:function(e){return e.stack=null,Lj.superApply(this,"getInitialData",arguments)}}),Pj=vg.createSymbol,Nj=tc.parsePercent,Rj=tc.isNumeric,Fj=Hv.setLabel,Bj=["itemStyle","borderWidth"],zj=[{xy:"x",wh:"width",index:0,posDesc:["left","right"]},{xy:"y",wh:"height",index:1,posDesc:["top","bottom"]}],Hj=new Ls.Circle;mm.extendChartView({type:"pictorialBar",render:function(e,t,n){var i=this.group,o=e.getData(),r=this._data,a=e.coordinateSystem,s=!!a.getBaseAxis().isHorizontal(),c=a.grid.getRect(),l={ecSize:{width:n.getWidth(),height:n.getHeight()},seriesModel:e,coordSys:a,coordSysExtent:[[c.x,c.x+c.width],[c.y,c.y+c.height]],isHorizontal:s,valueDim:zj[+s],categoryDim:zj[1-s]};return o.diff(r).add(function(e){if(o.hasValue(e)){var t=Zj(o,e),n=$j(o,e,t,l),r=eA(o,l,n);o.setItemGraphicEl(e,r),i.add(r),rA(r,l,n)}}).update(function(e,t){var n=r.getItemGraphicEl(t);if(o.hasValue(e)){var a=Zj(o,e),s=$j(o,e,a,l),c=nA(o,s);n&&c!==n.__pictorialShapeStr&&(i.remove(n),o.setItemGraphicEl(e,null),n=null),n?function(e,t,n){var i=n.animationModel,o=n.dataIndex,r=e.__pictorialBundle;Ls.updateProps(r,{position:n.bundlePosition.slice()},i,o),n.symbolRepeat?Gj(e,t,n,!0):Uj(e,t,n,!0);Kj(e,n,!0),Yj(e,t,n,!0)}(n,l,s):n=eA(o,l,s,!0),o.setItemGraphicEl(e,n),n.__pictorialSymbolMeta=s,i.add(n),rA(n,l,s)}else i.remove(n)}).remove(function(e){var t=r.getItemGraphicEl(e);t&&tA(r,e,t.__pictorialSymbolMeta.animationModel,t)}).execute(),this._data=o,this.group},dispose:D.noop,remove:function(e,t){var n=this.group,i=this._data;e.get("animation")?i&&i.eachItemGraphicEl(function(t){tA(i,t.dataIndex,e,t)}):n.removeAll()}});function $j(e,t,n,i){var o=e.getItemLayout(t),r=n.get("symbolRepeat"),a=n.get("symbolClip"),s=n.get("symbolPosition")||"start",c=(n.get("symbolRotate")||0)*Math.PI/180||0,l=n.get("symbolPatternSize")||2,d=n.isAnimationEnabled(),u={dataIndex:t,layout:o,itemModel:n,symbolType:e.getItemVisual(t,"symbol")||"circle",color:e.getItemVisual(t,"color"),symbolClip:a,symbolRepeat:r,symbolRepeatDirection:n.get("symbolRepeatDirection"),symbolPatternSize:l,rotation:c,animationModel:d?n:null,hoverAnimation:d&&n.get("hoverAnimation"),z2:n.getShallow("z",!0)||0};!function(e,t,n,i,o){var r,a=i.valueDim,s=e.get("symbolBoundingData"),c=i.coordSys.getOtherAxis(i.coordSys.getBaseAxis()),l=c.toGlobalCoord(c.dataToCoord(0)),d=1-+(n[a.wh]<=0);if(D.isArray(s)){var u=[qj(c,s[0])-l,qj(c,s[1])-l];u[1]<u[0]&&u.reverse(),r=u[d]}else r=null!=s?qj(c,s)-l:t?i.coordSysExtent[a.index][d]-l:n[a.wh];o.boundingLength=r,t&&(o.repeatCutLength=n[a.wh]);o.pxSign=r>0?1:r<0?-1:0}(n,r,o,i,u),function(e,t,n,i,o,r,a,s,c,l){var d=c.valueDim,u=c.categoryDim,f=Math.abs(n[u.wh]),h=e.getItemVisual(t,"symbolSize");D.isArray(h)?h=h.slice():(null==h&&(h="100%"),h=[h,h]);h[u.index]=Nj(h[u.index],f),h[d.index]=Nj(h[d.index],i?f:Math.abs(r)),l.symbolSize=h,(l.symbolScale=[h[0]/s,h[1]/s])[d.index]*=(c.isHorizontal?-1:1)*a}(e,t,o,r,0,u.boundingLength,u.pxSign,l,i,u),function(e,t,n,i,o){var r=e.get(Bj)||0;r&&(Hj.attr({scale:t.slice(),rotation:n}),Hj.updateTransform(),r/=Hj.getLineScale(),r*=t[i.valueDim.index]);o.valueLineWidth=r}(n,u.symbolScale,c,i,u);var f=u.symbolSize,h=n.get("symbolOffset");return D.isArray(h)&&(h=[Nj(h[0],f[0]),Nj(h[1],f[1])]),function(e,t,n,i,o,r,a,s,c,l,d,u){var f=d.categoryDim,h=d.valueDim,p=u.pxSign,g=Math.max(t[h.index]+s,0),m=g;if(i){var b=Math.abs(c),v=D.retrieve(e.get("symbolMargin"),"15%")+"",y=!1;v.lastIndexOf("!")===v.length-1&&(y=!0,v=v.slice(0,v.length-1)),v=Nj(v,t[h.index]);var _=Math.max(g+2*v,0),w=y?0:2*v,x=Rj(i),S=x?i:aA((b+w)/_),T=b-S*g;_=g+2*(v=T/2/(y?S:S-1)),w=y?0:2*v,x||"fixed"===i||(S=l?aA((Math.abs(l)+w)/_):0),m=S*_-w,u.repeatTimes=S,u.symbolMargin=v}var k=p*(m/2),C=u.pathPosition=[];C[f.index]=n[f.wh]/2,C[h.index]="start"===a?k:"end"===a?c-k:c/2,r&&(C[0]+=r[0],C[1]+=r[1]);var j=u.bundlePosition=[];j[f.index]=n[f.xy],j[h.index]=n[h.xy];var A=u.barRectShape=D.extend({},n);A[h.wh]=p*Math.max(Math.abs(n[h.wh]),Math.abs(C[h.index]+k)),A[f.wh]=n[f.wh];var E=u.clipShape={};E[f.xy]=-n[f.xy],E[f.wh]=d.ecSize[f.wh],E[h.xy]=0,E[h.wh]=n[h.wh]}(n,f,o,r,0,h,s,u.valueLineWidth,u.boundingLength,u.repeatCutLength,i,u),u}function qj(e,t){return e.toGlobalCoord(e.dataToCoord(e.scale.parse(t)))}function Wj(e){var t=e.symbolPatternSize,n=Pj(e.symbolType,-t/2,-t/2,t,t,e.color);return n.attr({culling:!0}),"image"!==n.type&&n.setStyle({strokeNoScale:!0}),n}function Gj(e,t,n,i){var o=e.__pictorialBundle,r=n.symbolSize,a=n.valueLineWidth,s=n.pathPosition,c=t.valueDim,l=n.repeatTimes||0,d=0,u=r[t.valueDim.index]+a+2*n.symbolMargin;for(iA(e,function(e){e.__pictorialAnimationIndex=d,e.__pictorialRepeatTimes=l,d<l?oA(e,null,p(d),n,i):oA(e,null,{scale:[0,0]},n,i,function(){o.remove(e)}),Jj(e,n),d++});d<l;d++){var f=Wj(n);f.__pictorialAnimationIndex=d,f.__pictorialRepeatTimes=l,o.add(f);var h=p(d);oA(f,{position:h.position,scale:[0,0]},{scale:h.scale,rotation:h.rotation},n,i),f.on("mouseover",g).on("mouseout",m),Jj(f,n)}function p(e){var t=s.slice(),i=n.pxSign,o=e;return("start"===n.symbolRepeatDirection?i>0:i<0)&&(o=l-1-e),t[c.index]=u*(o-l/2+.5)+s[c.index],{position:t,scale:n.symbolScale.slice(),rotation:n.rotation}}function g(){iA(e,function(e){e.trigger("emphasis")})}function m(){iA(e,function(e){e.trigger("normal")})}}function Uj(e,t,n,i){var o=e.__pictorialBundle,r=e.__pictorialMainPath;r?oA(r,null,{position:n.pathPosition.slice(),scale:n.symbolScale.slice(),rotation:n.rotation},n,i):(r=e.__pictorialMainPath=Wj(n),o.add(r),oA(r,{position:n.pathPosition.slice(),scale:[0,0],rotation:n.rotation},{scale:n.symbolScale.slice()},n,i),r.on("mouseover",function(){this.trigger("emphasis")}).on("mouseout",function(){this.trigger("normal")})),Jj(r,n)}function Kj(e,t,n){var i=D.extend({},t.barRectShape),o=e.__pictorialBarRect;o?oA(o,null,{shape:i},t,n):(o=e.__pictorialBarRect=new Ls.Rect({z2:2,shape:i,silent:!0,style:{stroke:"transparent",fill:"transparent",lineWidth:0}}),e.add(o))}function Yj(e,t,n,i){if(n.symbolClip){var o=e.__pictorialClipPath,r=D.extend({},n.clipShape),a=t.valueDim,s=n.animationModel,c=n.dataIndex;if(o)Ls.updateProps(o,{shape:r},s,c);else{r[a.wh]=0,o=new Ls.Rect({shape:r}),e.__pictorialBundle.setClipPath(o),e.__pictorialClipPath=o;var l={};l[a.wh]=n.clipShape[a.wh],Ls[i?"updateProps":"initProps"](o,{shape:l},s,c)}}}function Zj(e,t){var n=e.getItemModel(t);return n.getAnimationDelayParams=Xj,n.isAnimationEnabled=Qj,n}function Xj(e){return{index:e.__pictorialAnimationIndex,count:e.__pictorialRepeatTimes}}function Qj(){return this.parentModel.isAnimationEnabled()&&!!this.getShallow("animation")}function Jj(e,t){e.off("emphasis").off("normal");var n=t.symbolScale.slice();t.hoverAnimation&&e.on("emphasis",function(){this.animateTo({scale:[1.1*n[0],1.1*n[1]]},400,"elasticOut")}).on("normal",function(){this.animateTo({scale:n.slice()},400,"elasticOut")})}function eA(e,t,n,i){var o=new Ls.Group,r=new Ls.Group;return o.add(r),o.__pictorialBundle=r,r.attr("position",n.bundlePosition.slice()),n.symbolRepeat?Gj(o,t,n):Uj(o,0,n),Kj(o,n,i),Yj(o,t,n,i),o.__pictorialShapeStr=nA(e,n),o.__pictorialSymbolMeta=n,o}function tA(e,t,n,i){var o=i.__pictorialBarRect;o&&(o.style.text=null);var r=[];iA(i,function(e){r.push(e)}),i.__pictorialMainPath&&r.push(i.__pictorialMainPath),i.__pictorialClipPath&&(n=null),D.each(r,function(e){Ls.updateProps(e,{scale:[0,0]},n,t,function(){i.parent&&i.parent.remove(i)})}),e.setItemGraphicEl(t,null)}function nA(e,t){return[e.getItemVisual(t.dataIndex,"symbol")||"none",!!t.symbolRepeat,!!t.symbolClip].join(":")}function iA(e,t,n){D.each(e.__pictorialBundle.children(),function(i){i!==e.__pictorialBarRect&&t.call(n,i)})}function oA(e,t,n,i,o,r){t&&e.attr(t),i.symbolClip&&!o?n&&e.attr(n):n&&Ls[o?"updateProps":"initProps"](e,n,i.animationModel,i.dataIndex,r)}function rA(e,t,n){var i=n.color,o=n.dataIndex,r=n.itemModel,a=r.getModel("itemStyle").getItemStyle(["color"]),s=r.getModel("emphasis.itemStyle").getItemStyle(),c=r.getShallow("cursor");iA(e,function(e){e.setColor(i),e.setStyle(D.defaults({fill:i,opacity:n.opacity},a)),Ls.setHoverStyle(e,s),c&&(e.cursor=c),e.z2=n.z2});var l={},d=t.valueDim.posDesc[+(n.boundingLength>0)],u=e.__pictorialBarRect;Fj(u.style,l,r,i,t.seriesModel,o,d),Ls.setHoverStyle(u,l)}function aA(e){var t=Math.round(e);return Math.abs(e-t)<1e-4?t:Math.ceil(e)}var sA=Fp.layout;mm.registerLayout(D.curry(sA,"pictorialBar")),mm.registerVisual(bb("pictorialBar","roundRect"));var cA=function(e,t,n,i,o){Qg.call(this,e,t,n),this.type=i||"value",this.position=o||"bottom",this.orient=null};cA.prototype={constructor:cA,model:null,isHorizontal:function(){var e=this.position;return"top"===e||"bottom"===e},pointToData:function(e,t){return this.coordinateSystem.pointToData(e,t)[0]},toGlobalCoord:null,toLocalCoord:null},D.inherits(cA,Qg);var lA=cA,dA=yc.getLayoutRect,uA=D.each;function fA(e,t,n){this.dimension="single",this.dimensions=["single"],this._axis=null,this._rect,this._init(e,t,n),this.model=e}fA.prototype={type:"singleAxis",axisPointerEnabled:!0,constructor:fA,_init:function(e,t,n){var i=this.dimension,o=new lA(i,sg.createScaleByModel(e),[0,0],e.get("type"),e.get("position")),r="category"===o.type;o.onBand=r&&e.get("boundaryGap"),o.inverse=e.get("inverse"),o.orient=e.get("orient"),e.axis=o,o.model=e,o.coordinateSystem=this,this._axis=o},update:function(e,t){e.eachSeries(function(e){if(e.coordinateSystem===this){var t=e.getData();uA(t.mapDimension(this.dimension,!0),function(e){this._axis.scale.unionExtentFromData(t,e)},this),sg.niceScaleExtent(this._axis.scale,this._axis.model)}},this)},resize:function(e,t){this._rect=dA({left:e.get("left"),top:e.get("top"),right:e.get("right"),bottom:e.get("bottom"),width:e.get("width"),height:e.get("height")},{width:t.getWidth(),height:t.getHeight()}),this._adjustAxis()},getRect:function(){return this._rect},_adjustAxis:function(){var e=this._rect,t=this._axis,n=t.isHorizontal(),i=n?[0,e.width]:[0,e.height],o=t.reverse?1:0;t.setExtent(i[o],i[1-o]),this._updateAxisTransform(t,n?e.x:e.y)},_updateAxisTransform:function(e,t){var n=e.getExtent(),i=n[0]+n[1],o=e.isHorizontal();e.toGlobalCoord=o?function(e){return e+t}:function(e){return i-e+t},e.toLocalCoord=o?function(e){return e-t}:function(e){return i-e+t}},getAxis:function(){return this._axis},getBaseAxis:function(){return this._axis},getAxes:function(){return[this._axis]},getTooltipAxes:function(){return{baseAxes:[this.getAxis()]}},containPoint:function(e){var t=this.getRect(),n=this.getAxis();return"horizontal"===n.orient?n.contain(n.toLocalCoord(e[0]))&&e[1]>=t.y&&e[1]<=t.y+t.height:n.contain(n.toLocalCoord(e[1]))&&e[0]>=t.y&&e[0]<=t.y+t.height},pointToData:function(e){var t=this.getAxis();return[t.coordToData(t.toLocalCoord(e["horizontal"===t.orient?0:1]))]},dataToPoint:function(e){var t=this.getAxis(),n=this.getRect(),i=[],o="horizontal"===t.orient?0:1;return e instanceof Array&&(e=e[0]),i[o]=t.toGlobalCoord(t.dataToCoord(+e)),i[1-o]=0===o?n.y+n.height/2:n.x+n.width/2,i}};var hA=fA;zl.register("single",{create:function(e,t){var n=[];return e.eachComponent("singleAxis",function(i,o){var r=new hA(i,e,t);r.name="single_"+o,r.resize(i,t),i.coordinateSystem=r,n.push(r)}),e.eachSeries(function(t){if("singleAxis"===t.get("coordinateSystem")){var n=e.queryComponents({mainType:"singleAxis",index:t.get("singleAxisIndex"),id:t.get("singleAxisId")})[0];t.coordinateSystem=n&&n.coordinateSystem}}),n},dimensions:hA.prototype.dimensions});var pA={layout:function(e,t){t=t||{};var n=e.coordinateSystem,i=e.axis,o={},r=i.position,a=i.orient,s=n.getRect(),c=[s.x,s.x+s.width,s.y,s.y+s.height],l={horizontal:{top:c[2],bottom:c[3]},vertical:{left:c[0],right:c[1]}};o.position=["vertical"===a?l.vertical[r]:c[0],"horizontal"===a?l.horizontal[r]:c[3]],o.rotation=Math.PI/2*{horizontal:0,vertical:1}[a],o.labelDirection=o.tickDirection=o.nameDirection={top:-1,bottom:1,right:1,left:-1}[r],e.get("axisTick.inside")&&(o.tickDirection=-o.tickDirection),D.retrieve(t.labelInside,e.get("axisLabel.inside"))&&(o.labelDirection=-o.labelDirection);var d=t.rotate;return null==d&&(d=e.get("axisLabel.rotate")),o.labelRotation="top"===r?-d:d,o.z2=1,o}},gA=["axisLine","axisTickLabel","axisName"],mA=Vv.extend({type:"singleAxis",axisPointerClass:"SingleAxisPointer",render:function(e,t,n,i){var o=this.group;o.removeAll();var r=pA.layout(e),a=new xv(e,r);D.each(gA,a.add,a),o.add(a.getGroup()),e.get("splitLine.show")&&this._splitLine(e),mA.superCall(this,"render",e,t,n,i)},_splitLine:function(e){var t=e.axis;if(!t.scale.isBlank()){var n=e.getModel("splitLine"),i=n.getModel("lineStyle"),o=i.get("width"),r=i.get("color");r=r instanceof Array?r:[r];for(var a=e.coordinateSystem.getRect(),s=t.isHorizontal(),c=[],l=0,d=t.getTicksCoords({tickModel:n}),u=[],f=[],h=0;h<d.length;++h){var p=t.toGlobalCoord(d[h].coord);s?(u[0]=p,u[1]=a.y,f[0]=p,f[1]=a.y+a.height):(u[0]=a.x,u[1]=p,f[0]=a.x+a.width,f[1]=p);var g=l++%r.length;c[g]=c[g]||[],c[g].push(new Ls.Line(Ls.subPixelOptimizeLine({shape:{x1:u[0],y1:u[1],x2:f[0],y2:f[1]},style:{lineWidth:o},silent:!0})))}for(h=0;h<c.length;++h)this.group.add(Ls.mergePath(c[h],{style:{stroke:r[h%r.length],lineDash:i.getLineDash(o),lineWidth:o},silent:!0}))}}}),bA=kc.extend({type:"singleAxis",layoutMode:"box",axis:null,coordinateSystem:null,getCoordSysModel:function(){return this}});D.merge(bA.prototype,cg),Nb("single",bA,function(e,t){return t.type||(t.data?"category":"value")},{left:"5%",top:"5%",right:"5%",bottom:"5%",type:"value",position:"bottom",orient:"horizontal",axisLine:{show:!0,lineStyle:{width:2,type:"solid"}},tooltip:{show:!0},axisTick:{show:!0,length:6,lineStyle:{width:2}},axisLabel:{show:!0,interval:"auto"},splitLine:{show:!0,lineStyle:{type:"dashed",opacity:.2}}});var vA=function(e,t){var n,i=[],o=e.seriesIndex;if(null==o||!(n=t.getSeriesByIndex(o)))return{point:[]};var r=n.getData(),a=ro.queryDataIndex(r,e);if(null==a||a<0||D.isArray(a))return{point:[]};var s=r.getItemGraphicEl(a),c=n.coordinateSystem;if(n.getTooltipPosition)i=n.getTooltipPosition(a)||[];else if(c&&c.dataToPoint)i=c.dataToPoint(r.getValues(D.map(c.dimensions,function(e){return r.mapDimension(e)}),a,!0))||[];else if(s){var l=s.getBoundingRect().clone();l.applyTransform(s.transform),i=[l.x+l.width/2,l.y+l.height/2]}return{point:i,el:s}},yA=ro.makeInner,_A=D.each,wA=D.curry,xA=yA();function SA(e,t,n,i,o){var r=e.axis;if(!r.scale.isBlank()&&r.containData(t))if(e.involveSeries){var a=function(e,t){var n=t.axis,i=n.dim,o=e,r=[],a=Number.MAX_VALUE,s=-1;return _A(t.seriesModels,function(t,c){var l,d,u=t.getData().mapDimension(i,!0);if(t.getAxisTooltipData){var f=t.getAxisTooltipData(u,e,n);d=f.dataIndices,l=f.nestestValue}else{if(!(d=t.getData().indicesOfNearest(u[0],e,"category"===n.type?.5:null)).length)return;l=t.getData().get(u[0],d[0])}if(null!=l&&isFinite(l)){var h=e-l,p=Math.abs(h);p<=a&&((p<a||h>=0&&s<0)&&(a=p,s=h,o=l,r.length=0),_A(d,function(e){r.push({seriesIndex:t.seriesIndex,dataIndexInside:e,dataIndex:t.getData().getRawIndex(e)})}))}}),{payloadBatch:r,snapToValue:o}}(t,e),s=a.payloadBatch,c=a.snapToValue;s[0]&&null==o.seriesIndex&&D.extend(o,s[0]),!i&&e.snap&&r.containData(c)&&null!=c&&(t=c),n.showPointer(e,t,s,o),n.showTooltip(e,a,c)}else n.showPointer(e,t)}function TA(e,t,n,i){e[t.key]={value:n,payloadBatch:i}}function kA(e,t,n,i){var o=n.payloadBatch,r=t.axis,a=r.model,s=t.axisPointerModel;if(t.triggerTooltip&&o.length){var c=t.coordSys.model,l=Ev.makeKey(c),d=e.map[l];d||(d=e.map[l]={coordSysId:c.id,coordSysIndex:c.componentIndex,coordSysType:c.type,coordSysMainType:c.mainType,dataByAxis:[]},e.list.push(d)),d.dataByAxis.push({axisDim:r.dim,axisIndex:a.componentIndex,axisType:a.type,axisId:a.id,value:i,valueLabelOpt:{precision:s.get("label.precision"),formatter:s.get("label.formatter")},seriesDataIndices:o.slice()})}}function CA(e){var t=e.axis.model,n={},i=n.axisDim=e.axis.dim;return n.axisIndex=n[i+"AxisIndex"]=t.componentIndex,n.axisName=n[i+"AxisName"]=t.name,n.axisId=n[i+"AxisId"]=t.id,n}function jA(e){return!e||null==e[0]||isNaN(e[0])||null==e[1]||isNaN(e[1])}var AA=function(e,t,n){var i=e.currTrigger,o=[e.x,e.y],r=e,a=e.dispatchAction||D.bind(n.dispatchAction,n),s=t.getComponent("axisPointer").coordSysAxesInfo;if(s){jA(o)&&(o=vA({seriesIndex:r.seriesIndex,dataIndex:r.dataIndex},t).point);var c=jA(o),l=r.axesInfo,d=s.axesInfo,u="leave"===i||jA(o),f={},h={},p={list:[],map:{}},g={showPointer:wA(TA,h),showTooltip:wA(kA,p)};_A(s.coordSysMap,function(e,t){var n=c||e.containPoint(o);_A(s.coordSysAxesInfo[t],function(e,t){var i=e.axis,r=function(e,t){for(var n=0;n<(e||[]).length;n++){var i=e[n];if(t.axis.dim===i.axisDim&&t.axis.model.componentIndex===i.axisIndex)return i}}(l,e);if(!u&&n&&(!l||r)){var a=r&&r.value;null!=a||c||(a=i.pointToData(o)),null!=a&&SA(e,a,g,!1,f)}})});var m={};return _A(d,function(e,t){var n=e.linkGroup;n&&!h[t]&&_A(n.axesInfo,function(t,i){var o=h[i];if(t!==e&&o){var r=o.value;n.mapper&&(r=e.axis.scale.parse(n.mapper(r,CA(t),CA(e)))),m[e.key]=r}})}),_A(m,function(e,t){SA(d[t],e,g,!0,f)}),function(e,t,n){var i=n.axesInfo=[];_A(t,function(t,n){var o=t.axisPointerModel.option,r=e[n];r?(!t.useHandle&&(o.status="show"),o.value=r.value,o.seriesDataIndices=(r.payloadBatch||[]).slice()):!t.useHandle&&(o.status="hide"),"show"===o.status&&i.push({axisDim:t.axis.dim,axisIndex:t.axis.model.componentIndex,value:o.value})})}(h,d,f),function(e,t,n,i){if(!jA(t)&&e.list.length){var o=((e.list[0].dataByAxis[0]||{}).seriesDataIndices||[])[0]||{};i({type:"showTip",escapeConnect:!0,x:t[0],y:t[1],tooltipOption:n.tooltipOption,position:n.position,dataIndexInside:o.dataIndexInside,dataIndex:o.dataIndex,seriesIndex:o.seriesIndex,dataByCoordSys:e.list})}else i({type:"hideTip"})}(p,o,e,a),function(e,t,n){var i=n.getZr(),o=xA(i).axisPointerLastHighlights||{},r=xA(i).axisPointerLastHighlights={};_A(e,function(e,t){var n=e.axisPointerModel.option;"show"===n.status&&_A(n.seriesDataIndices,function(e){var t=e.seriesIndex+" | "+e.dataIndex;r[t]=e})});var a=[],s=[];D.each(o,function(e,t){!r[t]&&s.push(e)}),D.each(r,function(e,t){!o[t]&&a.push(e)}),s.length&&n.dispatchAction({type:"downplay",escapeConnect:!0,batch:s}),a.length&&n.dispatchAction({type:"highlight",escapeConnect:!0,batch:a})}(d,0,n),f}},EA=(mm.extendComponentModel({type:"axisPointer",coordSysAxesInfo:null,defaultOption:{show:"auto",triggerOn:null,zlevel:0,z:50,type:"line",snap:!1,triggerTooltip:!0,value:null,status:null,link:[],animation:null,animationDurationUpdate:200,lineStyle:{color:"#aaa",width:1,type:"solid"},shadowStyle:{color:"rgba(150,150,150,0.3)"},label:{show:!0,formatter:null,precision:"auto",margin:3,color:"#fff",padding:[5,7,5,7],backgroundColor:"auto",borderColor:null,borderWidth:0,shadowBlur:3,shadowColor:"#aaa"},handle:{show:!1,icon:"M10.7,11.9v-1.3H9.3v1.3c-4.9,0.3-8.8,4.4-8.8,9.4c0,5,3.9,9.1,8.8,9.4h1.3c4.9-0.3,8.8-4.4,8.8-9.4C19.5,16.3,15.6,12.2,10.7,11.9z M13.3,24.4H6.7v-1.2h6.6z M13.3,22H6.7v-1.2h6.6z M13.3,19.6H6.7v-1.2h6.6z",size:45,margin:50,color:"#333",shadowBlur:3,shadowColor:"#aaa",shadowOffsetX:0,shadowOffsetY:2,throttle:40}}}),(0,ro.makeInner)()),IA=D.each;function MA(e,t,n){e.handler("leave",null,n)}function OA(e,t,n,i){t.handler(e,n,i)}var DA={register:function(e,t,n){if(!c.node){var i=t.getZr();EA(i).records||(EA(i).records={}),function(e,t){function n(n,i){e.on(n,function(n){var o=function(e){var t={showTip:[],hideTip:[]},n=function(i){var o=t[i.type];o?o.push(i):(i.dispatchAction=n,e.dispatchAction(i))};return{dispatchAction:n,pendings:t}}(t);IA(EA(e).records,function(e){e&&i(e,n,o.dispatchAction)}),function(e,t){var n,i=e.showTip.length,o=e.hideTip.length;i?n=e.showTip[i-1]:o&&(n=e.hideTip[o-1]),n&&(n.dispatchAction=null,t.dispatchAction(n))}(o.pendings,t)})}EA(e).initialized||(EA(e).initialized=!0,n("click",D.curry(OA,"click")),n("mousemove",D.curry(OA,"mousemove")),n("globalout",MA))}(i,t),(EA(i).records[e]||(EA(i).records[e]={})).handler=n}},unregister:function(e,t){if(!c.node){var n=t.getZr();(EA(n).records||{})[e]&&(EA(n).records[e]=null)}}},VA=mm.extendComponentView({type:"axisPointer",render:function(e,t,n){var i=t.getComponent("tooltip"),o=e.get("triggerOn")||i&&i.get("triggerOn")||"mousemove|click";DA.register("axisPointer",n,function(e,t,n){"none"!==o&&("leave"===e||o.indexOf(e)>=0)&&n({type:"updateAxisPointer",currTrigger:e,x:t&&t.offsetX,y:t&&t.offsetY})})},remove:function(e,t){DA.unregister(t.getZr(),"axisPointer"),VA.superApply(this._model,"remove",arguments)},dispose:function(e,t){DA.unregister("axisPointer",t),VA.superApply(this._model,"dispose",arguments)}}),LA=(0,ro.makeInner)(),PA=D.clone,NA=D.bind;function RA(){}function FA(e,t,n,i){(function e(t,n){if(D.isObject(t)&&D.isObject(n)){var i=!0;return D.each(n,function(n,o){i=i&&e(t[o],n)}),!!i}return t===n})(LA(n).lastProp,i)||(LA(n).lastProp=i,t?Ls.updateProps(n,i,e):(n.stopAnimation(),n.attr(i)))}function BA(e,t){e[t.get("label.show")?"show":"hide"]()}function zA(e){return{position:e.position.slice(),rotation:e.rotation||0}}function HA(e,t,n){var i=t.get("z"),o=t.get("zlevel");e&&e.traverse(function(e){"group"!==e.type&&(null!=i&&(e.z=i),null!=o&&(e.zlevel=o),e.silent=n)})}RA.prototype={_group:null,_lastGraphicKey:null,_handle:null,_dragging:!1,_lastValue:null,_lastStatus:null,_payloadInfo:null,animationThreshold:15,render:function(e,t,n,i){var o=t.get("value"),r=t.get("status");if(this._axisModel=e,this._axisPointerModel=t,this._api=n,i||this._lastValue!==o||this._lastStatus!==r){this._lastValue=o,this._lastStatus=r;var a=this._group,s=this._handle;if(!r||"hide"===r)return a&&a.hide(),void(s&&s.hide());a&&a.show(),s&&s.show();var c={};this.makeElOption(c,o,e,t,n);var l=c.graphicKey;l!==this._lastGraphicKey&&this.clear(n),this._lastGraphicKey=l;var d=this._moveAnimation=this.determineAnimation(e,t);if(a){var u=D.curry(FA,t,d);this.updatePointerEl(a,c,u,t),this.updateLabelEl(a,c,u,t)}else a=this._group=new Ls.Group,this.createPointerEl(a,c,e,t),this.createLabelEl(a,c,e,t),n.getZr().add(a);HA(a,t,!0),this._renderHandle(o)}},remove:function(e){this.clear(e)},dispose:function(e){this.clear(e)},determineAnimation:function(e,t){var n=t.get("animation"),i=e.axis,o="category"===i.type,r=t.get("snap");if(!r&&!o)return!1;if("auto"===n||null==n){var a=this.animationThreshold;if(o&&i.getBandWidth()>a)return!0;if(r){var s=Ev.getAxisInfo(e).seriesDataCount,c=i.getExtent();return Math.abs(c[0]-c[1])/s>a}return!1}return!0===n},makeElOption:function(e,t,n,i,o){},createPointerEl:function(e,t,n,i){var o=t.pointer;if(o){var r=LA(e).pointerEl=new Ls[o.type](PA(t.pointer));e.add(r)}},createLabelEl:function(e,t,n,i){if(t.label){var o=LA(e).labelEl=new Ls.Rect(PA(t.label));e.add(o),BA(o,i)}},updatePointerEl:function(e,t,n){var i=LA(e).pointerEl;i&&(i.setStyle(t.pointer.style),n(i,{shape:t.pointer.shape}))},updateLabelEl:function(e,t,n,i){var o=LA(e).labelEl;o&&(o.setStyle(t.label.style),n(o,{shape:t.label.shape,position:t.label.position}),BA(o,i))},_renderHandle:function(e){if(!this._dragging&&this.updateHandleTransform){var t,n=this._axisPointerModel,i=this._api.getZr(),o=this._handle,r=n.getModel("handle"),a=n.get("status");if(!r.get("show")||!a||"hide"===a)return o&&i.remove(o),void(this._handle=null);this._handle||(t=!0,o=this._handle=Ls.createIcon(r.get("icon"),{cursor:"move",draggable:!0,onmousemove:function(e){Q.stop(e.event)},onmousedown:NA(this._onHandleDragMove,this,0,0),drift:NA(this._onHandleDragMove,this),ondragend:NA(this._onHandleDragEnd,this)}),i.add(o)),HA(o,n,!1);o.setStyle(r.getItemStyle(null,["color","borderColor","borderWidth","opacity","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"]));var s=r.get("size");D.isArray(s)||(s=[s,s]),o.attr("scale",[s[0]/2,s[1]/2]),Fu.createOrUpdate(this,"_doDispatchAxisPointer",r.get("throttle")||0,"fixRate"),this._moveHandleToValue(e,t)}},_moveHandleToValue:function(e,t){FA(this._axisPointerModel,!t&&this._moveAnimation,this._handle,zA(this.getHandleTransform(e,this._axisModel,this._axisPointerModel)))},_onHandleDragMove:function(e,t){var n=this._handle;if(n){this._dragging=!0;var i=this.updateHandleTransform(zA(n),[e,t],this._axisModel,this._axisPointerModel);this._payloadInfo=i,n.stopAnimation(),n.attr(zA(i)),LA(n).lastProp=null,this._doDispatchAxisPointer()}},_doDispatchAxisPointer:function(){if(this._handle){var e=this._payloadInfo,t=this._axisModel;this._api.dispatchAction({type:"updateAxisPointer",x:e.cursorPoint[0],y:e.cursorPoint[1],tooltipOption:e.tooltipOption,axesInfo:[{axisDim:t.axis.dim,axisIndex:t.componentIndex}]})}},_onHandleDragEnd:function(e){if(this._dragging=!1,this._handle){var t=this._axisPointerModel.get("value");this._moveHandleToValue(t),this._api.dispatchAction({type:"hideTip"})}},getHandleTransform:null,updateHandleTransform:null,clear:function(e){this._lastValue=null,this._lastStatus=null;var t=e.getZr(),n=this._group,i=this._handle;t&&n&&(this._lastGraphicKey=null,n&&t.remove(n),i&&t.remove(i),this._group=null,this._handle=null,this._payloadInfo=null)},doClear:function(){},buildLabel:function(e,t,n){return{x:e[n=n||0],y:e[1-n],width:t[n],height:t[1-n]}}},RA.prototype.constructor=RA,ho.enableClassExtend(RA);var $A=RA;function qA(e,t,n,i,o){var r=WA(n.get("value"),t.axis,t.ecModel,n.get("seriesDataIndices"),{precision:n.get("label.precision"),formatter:n.get("label.formatter")}),a=n.getModel("label"),s=cc.normalizeCssArray(a.get("padding")||0),c=a.getFont(),l=Bn.getBoundingRect(r,c),d=o.position,u=l.width+s[1]+s[3],f=l.height+s[0]+s[2],h=o.align;"right"===h&&(d[0]-=u),"center"===h&&(d[0]-=u/2);var p=o.verticalAlign;"bottom"===p&&(d[1]-=f),"middle"===p&&(d[1]-=f/2),function(e,t,n,i){var o=i.getWidth(),r=i.getHeight();e[0]=Math.min(e[0]+t,o)-t,e[1]=Math.min(e[1]+n,r)-n,e[0]=Math.max(e[0],0),e[1]=Math.max(e[1],0)}(d,u,f,i);var g=a.get("backgroundColor");g&&"auto"!==g||(g=t.get("axisLine.lineStyle.color")),e.label={shape:{x:0,y:0,width:u,height:f,r:a.get("borderRadius")},position:d.slice(),style:{text:r,textFont:c,textFill:a.getTextColor(),textPosition:"inside",fill:g,stroke:a.get("borderColor")||"transparent",lineWidth:a.get("borderWidth")||0,shadowBlur:a.get("shadowBlur"),shadowColor:a.get("shadowColor"),shadowOffsetX:a.get("shadowOffsetX"),shadowOffsetY:a.get("shadowOffsetY")},z2:10}}function WA(e,t,n,i,o){e=t.scale.parse(e);var r=t.scale.getLabel(e,{precision:o.precision}),a=o.formatter;if(a){var s={value:sg.getAxisRawValue(t,e),seriesData:[]};D.each(i,function(e){var t=n.getSeriesByIndex(e.seriesIndex),i=e.dataIndexInside,o=t&&t.getDataParams(i);o&&s.seriesData.push(o)}),D.isString(a)?r=a.replace("{value}",r):D.isFunction(a)&&(r=a(s))}return r}function GA(e,t,n){var i=de.create();return de.rotate(i,i,n.rotation),de.translate(i,i,n.position),Ls.applyTransform([e.dataToCoord(t),(n.labelOffset||0)+(n.labelDirection||1)*(n.labelMargin||0)],i)}var UA={buildElStyle:function(e){var t,n=e.get("type"),i=e.getModel(n+"Style");return"line"===n?(t=i.getLineStyle()).fill=null:"shadow"===n&&((t=i.getAreaStyle()).stroke=null),t},buildLabelElOption:qA,getValueLabel:WA,getTransformedPosition:GA,buildCartesianSingleLabelElOption:function(e,t,n,i,o,r){var a=xv.innerTextLayout(n.rotation,0,n.labelDirection);n.labelMargin=o.get("label.margin"),qA(t,i,o,r,{position:GA(i.axis,e,n),align:a.textAlign,verticalAlign:a.textVerticalAlign})},makeLineShape:function(e,t,n){return{x1:e[n=n||0],y1:e[1-n],x2:t[n],y2:t[1-n]}},makeRectShape:function(e,t,n){return{x:e[n=n||0],y:e[1-n],width:t[n],height:t[1-n]}},makeSectorShape:function(e,t,n,i,o,r){return{cx:e,cy:t,r0:n,r:i,startAngle:o,endAngle:r,clockwise:!0}}},KA=$A.extend({makeElOption:function(e,t,n,i,o){var r=n.axis,a=r.grid,s=i.get("type"),c=YA(a,r).getOtherAxis(r).getGlobalExtent(),l=r.toGlobalCoord(r.dataToCoord(t,!0));if(s&&"none"!==s){var d=UA.buildElStyle(i),u=ZA[s](r,l,c,d);u.style=d,e.graphicKey=u.type,e.pointer=u}var f=Lv.layout(a.model,n);UA.buildCartesianSingleLabelElOption(t,e,f,n,i,o)},getHandleTransform:function(e,t,n){var i=Lv.layout(t.axis.grid.model,t,{labelInside:!1});return i.labelMargin=n.get("handle.margin"),{position:UA.getTransformedPosition(t.axis,e,i),rotation:i.rotation+(i.labelDirection<0?Math.PI:0)}},updateHandleTransform:function(e,t,n,i){var o=n.axis,r=o.grid,a=o.getGlobalExtent(!0),s=YA(r,o).getOtherAxis(o).getGlobalExtent(),c="x"===o.dim?0:1,l=e.position;l[c]+=t[c],l[c]=Math.min(a[1],l[c]),l[c]=Math.max(a[0],l[c]);var d=(s[1]+s[0])/2,u=[d,d];u[c]=l[c];return{position:l,rotation:e.rotation,cursorPoint:u,tooltipOption:[{verticalAlign:"middle"},{align:"center"}][c]}}});function YA(e,t){var n={};return n[t.dim+"AxisIndex"]=t.index,e.getCartesian(n)}var ZA={line:function(e,t,n,i){var o=UA.makeLineShape([t,n[0]],[t,n[1]],XA(e));return Ls.subPixelOptimizeLine({shape:o,style:i}),{type:"Line",shape:o}},shadow:function(e,t,n,i){var o=Math.max(1,e.getBandWidth()),r=n[1]-n[0];return{type:"Rect",shape:UA.makeRectShape([t-o/2,n[0]],[o,r],XA(e))}}};function XA(e){return"x"===e.dim?0:1}Vv.registerAxisPointerClass("CartesianAxisPointer",KA),mm.registerPreprocessor(function(e){if(e){(!e.axisPointer||0===e.axisPointer.length)&&(e.axisPointer={});var t=e.axisPointer.link;t&&!D.isArray(t)&&(e.axisPointer.link=[t])}}),mm.registerProcessor(mm.PRIORITY.PROCESSOR.STATISTIC,function(e,t){e.getComponent("axisPointer").coordSysAxesInfo=Ev.collect(e,t)}),mm.registerAction({type:"updateAxisPointer",event:"updateAxisPointer",update:":updateAxisPointer"},AA);var QA=["x","y"],JA=["width","height"],eE=$A.extend({makeElOption:function(e,t,n,i,o){var r=n.axis,a=r.coordinateSystem,s=iE(a,1-nE(r)),c=a.dataToPoint(t)[0],l=i.get("type");if(l&&"none"!==l){var d=UA.buildElStyle(i),u=tE[l](r,c,s,d);u.style=d,e.graphicKey=u.type,e.pointer=u}var f=pA.layout(n);UA.buildCartesianSingleLabelElOption(t,e,f,n,i,o)},getHandleTransform:function(e,t,n){var i=pA.layout(t,{labelInside:!1});return i.labelMargin=n.get("handle.margin"),{position:UA.getTransformedPosition(t.axis,e,i),rotation:i.rotation+(i.labelDirection<0?Math.PI:0)}},updateHandleTransform:function(e,t,n,i){var o=n.axis,r=o.coordinateSystem,a=nE(o),s=iE(r,a),c=e.position;c[a]+=t[a],c[a]=Math.min(s[1],c[a]),c[a]=Math.max(s[0],c[a]);var l=iE(r,1-a),d=(l[1]+l[0])/2,u=[d,d];return u[a]=c[a],{position:c,rotation:e.rotation,cursorPoint:u,tooltipOption:{verticalAlign:"middle"}}}}),tE={line:function(e,t,n,i){var o=UA.makeLineShape([t,n[0]],[t,n[1]],nE(e));return Ls.subPixelOptimizeLine({shape:o,style:i}),{type:"Line",shape:o}},shadow:function(e,t,n,i){var o=e.getBandWidth(),r=n[1]-n[0];return{type:"Rect",shape:UA.makeRectShape([t-o/2,n[0]],[o,r],nE(e))}}};function nE(e){return e.isHorizontal()?0:1}function iE(e,t){var n=e.getRect();return[n[QA[t]],n[QA[t]]+n[JA[t]]]}Vv.registerAxisPointerClass("SingleAxisPointer",eE),mm.extendComponentView({type:"single"});var oE=uh.getDimensionTypeByAxis,rE=cc.encodeHTML,aE=bu.extend({type:"series.themeRiver",dependencies:["singleAxis"],nameMap:null,init:function(e){aE.superApply(this,"init",arguments),this.legendDataProvider=function(){return this.getRawData()}},fixData:function(e){for(var t=e.length,n=aC().key(function(e){return e[2]}).entries(e),i=D.map(n,function(e){return{name:e.key,dataList:e.values}}),o=i.length,r=-1,a=-1,s=0;s<o;++s){var c=i[s].dataList.length;c>r&&(r=c,a=s)}for(var l=0;l<o;++l)if(l!==a)for(var d=i[l].name,u=0;u<r;++u){for(var f=i[a].dataList[u][0],h=i[l].dataList.length,p=-1,g=0;g<h;++g){if(i[l].dataList[g][0]===f){p=g;break}}-1===p&&(e[t]=[],e[t][0]=f,e[t][1]=0,e[t][2]=d,t++)}return e},getInitialData:function(e,t){for(var n=t.queryComponents({mainType:"singleAxis",index:this.get("singleAxisIndex"),id:this.get("singleAxisId")})[0].get("type"),i=D.filter(e.data,function(e){return void 0!==e[2]}),o=this.fixData(i||[]),r=[],a=this.nameMap=D.createHashMap(),s=0,c=0;c<o.length;++c)r.push(o[c][2]),a.get(o[c][2])||(a.set(o[c][2],s),s++);var l=Kh(o,{coordDimensions:["single"],dimensionsDefine:[{name:"time",type:oE(n)},{name:"value",type:"float"},{name:"name",type:"ordinal"}],encodeDefine:{single:0,value:1,itemName:2}}),d=new Lh(l,this);return d.initData(o),d},getLayerSeries:function(){for(var e=this.getData(),t=e.count(),n=[],i=0;i<t;++i)n[i]=i;for(var o=aC().key(function(t){return e.get("name",t)}).entries(n),r=D.map(o,function(e){return{name:e.key,indices:e.values}}),a=e.mapDimension("single"),s=0;s<r.length;++s)r[s].indices.sort(c);function c(t,n){return e.get(a,t)-e.get(a,n)}return r},getAxisTooltipData:function(e,t,n){D.isArray(e)||(e=e?[e]:[]);for(var i,o=this.getData(),r=this.getLayerSeries(),a=[],s=r.length,c=0;c<s;++c){for(var l=Number.MAX_VALUE,d=-1,u=r[c].indices.length,f=0;f<u;++f){var h=o.get(e[0],r[c].indices[f]),p=Math.abs(h-t);p<=l&&(i=h,l=p,d=r[c].indices[f])}a.push(d)}return{dataIndices:a,nestestValue:i}},formatTooltip:function(e){var t=this.getData(),n=t.getName(e),i=t.get(t.mapDimension("value"),e);return(isNaN(i)||null==i)&&(i="-"),rE(n+" : "+i)},defaultOption:{zlevel:0,z:2,coordinateSystem:"singleAxis",boundaryGap:["10%","10%"],singleAxisIndex:0,animationEasing:"linear",label:{margin:4,show:!0,position:"left",color:"#000",fontSize:11},emphasis:{label:{show:!0}}}}),sE=rb.Polygon,cE=D.bind,lE=D.extend;mm.extendChartView({type:"themeRiver",init:function(){this._layers=[]},render:function(e,t,n){var i=e.getData(),o=this.group,r=e.getLayerSeries(),a=i.getLayout("layoutInfo"),s=a.rect,c=a.boundaryGap;function l(e){return e.name}o.attr("position",[0,s.y+c[0]]);var d={};function u(t,n,a){var s=this._layers;if("remove"!==t){for(var c,l,u,f=[],h=[],p=r[n].indices,g=0;g<p.length;g++){var m=i.getItemLayout(p[g]),b=m.x,v=m.y0,y=m.y;f.push([b,v]),h.push([b,v+y]),c=i.getItemVisual(p[g],"color")}var _=i.getItemLayout(p[0]),w=i.getItemModel(p[g-1]),x=w.getModel("label"),S=x.get("margin");if("add"===t){var T=d[n]=new Ls.Group;l=new sE({shape:{points:f,stackedOnPoints:h,smooth:.4,stackedOnSmooth:.4,smoothConstraint:!1},z2:0}),u=new Ls.Text({style:{x:_.x-S,y:_.y0+_.y/2}}),T.add(l),T.add(u),o.add(T),l.setClipPath(function(e,t,n){var i=new Ls.Rect({shape:{x:e.x-10,y:e.y-10,width:0,height:e.height+20}});return Ls.initProps(i,{shape:{width:e.width+20,height:e.height+20}},t,n),i}(l.getBoundingRect(),e,function(){l.removeClipPath()}))}else{T=s[a];l=T.childAt(0),u=T.childAt(1),o.add(T),d[n]=T,Ls.updateProps(l,{shape:{points:f,stackedOnPoints:h}},e),Ls.updateProps(u,{style:{x:_.x-S,y:_.y0+_.y/2}},e)}var k=w.getModel("emphasis.itemStyle"),C=w.getModel("itemStyle");Ls.setTextStyle(u.style,x,{text:x.get("show")?e.getFormattedLabel(p[g-1],"normal")||i.getName(p[g-1]):null,textVerticalAlign:"middle"}),l.setStyle(lE({fill:c},C.getItemStyle(["color"]))),Ls.setHoverStyle(l,k.getItemStyle())}else o.remove(s[n])}new sh(this._layersSeries||[],r,l,l).add(cE(u,this,"add")).update(cE(u,this,"update")).remove(cE(u,this,"remove")).execute(),this._layersSeries=r,this._layers=d},dispose:function(){}});function dE(e,t,n){if(e.count())for(var i,o=t.coordinateSystem,r=t.getLayerSeries(),a=e.mapDimension("single"),s=e.mapDimension("value"),c=D.map(r,function(t){return D.map(t.indices,function(t){var n=o.dataToPoint(e.get(a,t));return n[1]=e.get(s,t),n})}),l=function(e){for(var t=e.length,n=e[0].length,i=[],o=[],r=0,a={},s=0;s<n;++s){for(var c=0,l=0;c<t;++c)l+=e[c][s][1];l>r&&(r=l),i.push(l)}for(var d=0;d<n;++d)o[d]=(r-i[d])/2;r=0;for(var u=0;u<n;++u){var f=i[u]+o[u];f>r&&(r=f)}return a.y0=o,a.max=r,a}(c),d=l.y0,u=n/l.max,f=r.length,h=r[0].indices.length,p=0;p<h;++p){i=d[p]*u,e.setItemLayout(r[0].indices[p],{layerIndex:0,x:c[0][p][0],y0:i,y:c[0][p][1]*u});for(var g=1;g<f;++g)i+=c[g-1][p][1]*u,e.setItemLayout(r[g].indices[p],{layerIndex:g,x:c[g][p][0],y0:i,y:c[g][p][1]*u})}}var uE=function(e,t){e.eachSeriesByType("themeRiver",function(e){var t=e.getData(),n=e.coordinateSystem,i={},o=n.getRect();i.rect=o;var r=e.get("boundaryGap"),a=n.getAxis();i.boundaryGap=r,"horizontal"===a.orient?(r[0]=tc.parsePercent(r[0],o.height),r[1]=tc.parsePercent(r[1],o.height),dE(t,e,o.height-r[0]-r[1])):(r[0]=tc.parsePercent(r[0],o.width),r[1]=tc.parsePercent(r[1],o.width),dE(t,e,o.width-r[0]-r[1])),t.setLayout("layoutInfo",i)})},fE=D.createHashMap;var hE=function(e){e.eachSeriesByType("themeRiver",function(e){var t=e.getData(),n=e.getRawData(),i=e.get("color"),o=fE();t.each(function(e){o.set(t.getRawIndex(e),e)}),n.each(function(r){var a=n.getName(r),s=i[(e.nameMap.get(a)-1)%i.length];n.setItemVisual(r,"color",s);var c=o.get(r);null!=c&&t.setItemVisual(c,"color",s)})})};mm.registerLayout(uE),mm.registerVisual(hE),mm.registerProcessor(Sy("themeRiver"));var pE=$w.wrapTreePathInfo;bu.extend({type:"series.sunburst",_viewRoot:null,getInitialData:function(e,t){var n={name:e.name,children:e.data};!function e(t){var n=0;D.each(t.children,function(t){e(t);var i=t.value;D.isArray(i)&&(i=i[0]),n+=i});var i=t.value;D.isArray(i)&&(i=i[0]);(null==i||isNaN(i))&&(i=n);i<0&&(i=0);D.isArray(t.value)?t.value[0]=i:t.value=i}(n);var i=e.levels||[],o={};return o.levels=i,mw.createTree(n,this,o).data},optionUpdated:function(){this.resetViewRoot()},getDataParams:function(e){var t=bu.prototype.getDataParams.apply(this,arguments),n=this.getData().tree.getNodeByDataIndex(e);return t.treePathInfo=pE(n,this),t},defaultOption:{zlevel:0,z:2,center:["50%","50%"],radius:[0,"75%"],clockwise:!0,startAngle:90,minAngle:0,percentPrecision:2,stillShowZeroSum:!0,highlightPolicy:"descendant",nodeClick:"rootToNode",renderLabelForZeroData:!1,label:{rotate:"radial",show:!0,opacity:1,align:"center",position:"inside",distance:5,silent:!0,emphasis:{}},itemStyle:{borderWidth:1,borderColor:"white",borderType:"solid",shadowBlur:0,shadowColor:"rgba(0, 0, 0, 0.2)",shadowOffsetX:0,shadowOffsetY:0,opacity:1,emphasis:{},highlight:{opacity:1},downplay:{opacity:.9}},animationType:"expansion",animationDuration:1e3,animationDurationUpdate:500,animationEasing:"cubicOut",data:[],levels:[],sort:"desc"},getViewRoot:function(){return this._viewRoot},resetViewRoot:function(e){e?this._viewRoot=e:e=this._viewRoot;var t=this.getRawData().tree.root;e&&(e===t||t.contains(e))||(this._viewRoot=t)}});var gE={NONE:"none",DESCENDANT:"descendant",ANCESTOR:"ancestor",SELF:"self"},mE=2,bE=4;function vE(e,t,n){Ls.Group.call(this);var i=new Ls.Sector({z2:mE});i.seriesIndex=t.seriesIndex;var o=new Ls.Text({z2:bE,silent:e.getModel("label").get("silent")});function r(){o.ignore=o.hoverIgnore}function a(){o.ignore=o.normalIgnore}this.add(i),this.add(o),this.updateData(!0,e,"normal",t,n),this.on("emphasis",r).on("normal",a).on("mouseover",r).on("mouseout",a)}var yE=vE.prototype;yE.updateData=function(e,t,n,i,o){this.node=t,t.piece=this,i=i||this._seriesModel,o=o||this._ecModel;var r=this.childAt(0);r.dataIndex=t.dataIndex;var a=t.getModel(),s=t.getLayout();s||console.log(t.getLayout());var c=D.extend({},s);c.label=null;var l,d=function(e,t,n){var i=e.getVisual("color"),o=e.getVisual("visualMeta");o&&0!==o.length||(i=null);var r=e.getModel("itemStyle").get("color");if(r)return r;if(i)return i;if(0===e.depth)return n.option.color[0];var a=n.option.color.length;r=n.option.color[function(e){var t=e;for(;t.depth>1;)t=t.parentNode;var n=e.getAncestors()[0];return D.indexOf(n.children,t)}(e)%a];return r}(t,0,o),u=a.getModel("itemStyle").getItemStyle();if("normal"===n)l=u;else{var f=a.getModel(n+".itemStyle").getItemStyle();l=D.merge(f,u)}l=D.defaults({lineJoin:"bevel",fill:l.fill||d},l),e?(r.setShape(c),r.shape.r=s.r0,Ls.updateProps(r,{shape:{r:s.r}},i,t.dataIndex),r.useStyle(l)):"object"==typeof l.fill&&l.fill.type||"object"==typeof r.style.fill&&r.style.fill.type?(Ls.updateProps(r,{shape:c},i),r.useStyle(l)):Ls.updateProps(r,{shape:c,style:l},i),this._updateLabel(i,d,n);var h=a.getShallow("cursor");if(h&&r.attr("cursor",h),e){var p=i.getShallow("highlightPolicy");this._initEvents(r,t,i,p)}this._seriesModel=i||this._seriesModel,this._ecModel=o||this._ecModel},yE.onEmphasis=function(e){var t=this;this.node.hostTree.root.eachNode(function(n){var i,o,r;n.piece&&(t.node===n?n.piece.updateData(!1,n,"emphasis"):(i=n,o=t.node,(r=e)!==gE.NONE&&(r===gE.SELF?i===o:r===gE.ANCESTOR?i===o||i.isAncestorOf(o):i===o||i.isDescendantOf(o))?n.piece.childAt(0).trigger("highlight"):e!==gE.NONE&&n.piece.childAt(0).trigger("downplay")))})},yE.onNormal=function(){this.node.hostTree.root.eachNode(function(e){e.piece&&e.piece.updateData(!1,e,"normal")})},yE.onHighlight=function(){this.updateData(!1,this.node,"highlight")},yE.onDownplay=function(){this.updateData(!1,this.node,"downplay")},yE._updateLabel=function(e,t,n){var i=this.node.getModel(),o=i.getModel("label"),r="normal"===n||"emphasis"===n?o:i.getModel(n+".label"),a=i.getModel("emphasis.label"),s=D.retrieve(e.getFormattedLabel(this.node.dataIndex,"normal",null,null,"label"),this.node.name);!1===S("show")&&(s="");var c=this.node.getLayout(),l=r.get("minAngle");null==l&&(l=o.get("minAngle")),l=l/180*Math.PI;var d=c.endAngle-c.startAngle;null!=l&&Math.abs(d)<l&&(s="");var u=this.childAt(1);Ls.setLabelStyle(u.style,u.hoverStyle||{},o,a,{defaultText:r.getShallow("show")?s:null,autoColor:t,useInsideStyle:!0});var f,h=(c.startAngle+c.endAngle)/2,p=Math.cos(h),g=Math.sin(h),m=S("position"),b=S("distance")||0,v=S("align");"outside"===m?(f=c.r+b,v=h>Math.PI/2?"right":"left"):v&&"center"!==v?"left"===v?(f=c.r0+b,h>Math.PI/2&&(v="right")):"right"===v&&(f=c.r-b,h>Math.PI/2&&(v="left")):(f=(c.r+c.r0)/2,v="center"),u.attr("style",{text:s,textAlign:v,textVerticalAlign:S("verticalAlign")||"middle",opacity:S("opacity")});var y=f*p+c.cx,_=f*g+c.cy;u.attr("position",[y,_]);var w=S("rotate"),x=0;function S(e){var t=r.get(e);return null==t?o.get(e):t}"radial"===w?(x=-h)<-Math.PI/2&&(x+=Math.PI):"tangential"===w?(x=Math.PI/2-h)>Math.PI/2?x-=Math.PI:x<-Math.PI/2&&(x+=Math.PI):"number"==typeof w&&(x=w*Math.PI/180),u.attr("rotation",x)},yE._initEvents=function(e,t,n,i){e.off("mouseover").off("mouseout").off("emphasis").off("normal");var o=this,r=function(){o.onEmphasis(i)},a=function(){o.onNormal()};n.isAnimationEnabled()&&e.on("mouseover",r).on("mouseout",a).on("emphasis",r).on("normal",a).on("downplay",function(){o.onDownplay()}).on("highlight",function(){o.onHighlight()})},D.inherits(vE,Ls.Group);var _E=vE,wE=(Vu.extend({type:"sunburst",init:function(){},render:function(e,t,n,i){var o=this;this.seriesModel=e,this.api=n,this.ecModel=t;var r=e.getData(),a=r.tree.root,s=e.getViewRoot(),c=this.group,l=e.get("renderLabelForZeroData"),d=[];s.eachNode(function(e){d.push(e)});var u=this._oldChildren||[];if(function(n,i){if(0===n.length&&0===i.length)return;function o(e){return e.getId()}function s(o,s){var d=null==o?null:n[o],u=null==s?null:i[s];!function(n,i){l||!n||n.getValue()||(n=null);if(n!==a&&i!==a)if(i&&i.piece)n?(i.piece.updateData(!1,n,"normal",e,t),r.setItemGraphicEl(n.dataIndex,i.piece)):function(e){if(!e)return;e.piece&&(c.remove(e.piece),e.piece=null)}(i);else if(n){var o=new _E(n,e,t);c.add(o),r.setItemGraphicEl(n.dataIndex,o)}}(d,u)}new sh(i,n,o,o).add(s).update(s).remove(D.curry(s,null)).execute()}(d,u),function(n,i){if(i.depth>0){o.virtualPiece?o.virtualPiece.updateData(!1,n,"normal",e,t):(o.virtualPiece=new _E(n,e,t),c.add(o.virtualPiece)),i.piece._onclickEvent&&i.piece.off("click",i.piece._onclickEvent);var r=function(e){o._rootToNode(i.parentNode)};i.piece._onclickEvent=r,o.virtualPiece.on("click",r)}else o.virtualPiece&&(c.remove(o.virtualPiece),o.virtualPiece=null)}(a,s),i&&i.highlight&&i.highlight.piece){var f=e.getShallow("highlightPolicy");i.highlight.piece.onEmphasis(f)}else if(i&&i.unhighlight){var h=this.virtualPiece;!h&&a.children.length&&(h=a.children[0].piece),h&&h.onNormal()}this._initEvents(),this._oldChildren=d},dispose:function(){},_initEvents:function(){var e=this,t=function(t){var n=!1;e.seriesModel.getViewRoot().eachNode(function(i){if(!n&&i.piece&&i.piece.childAt(0)===t.target){var o=i.getModel().get("nodeClick");if("rootToNode"===o)e._rootToNode(i);else if("link"===o){var r=i.getModel(),a=r.get("link");if(a){var s=r.get("target",!0)||"_blank";window.open(a,s)}}n=!0}})};this.group._onclickEvent&&this.group.off("click",this.group._onclickEvent),this.group.on("click",t),this.group._onclickEvent=t},_rootToNode:function(e){e!==this.seriesModel.getViewRoot()&&this.api.dispatchAction({type:"sunburstRootToNode",from:this.uid,seriesId:this.seriesModel.id,targetNode:e})},containPoint:function(e,t){var n=t.getData().getItemLayout(0);if(n){var i=e[0]-n.cx,o=e[1]-n.cy,r=Math.sqrt(i*i+o*o);return r<=n.r&&r>=n.r0}}}),"sunburstRootToNode");mm.registerAction({type:wE,update:"updateView"},function(e,t){t.eachComponent({mainType:"series",subType:"sunburst",query:e},function(t,n){var i=$w.retrieveTargetInfo(e,[wE],t);if(i){var o=t.getViewRoot();o&&(e.direction=$w.aboveViewRoot(o,i.node)?"rollUp":"drillDown"),t.resetViewRoot(i.node)}})});var xE="sunburstHighlight";mm.registerAction({type:xE,update:"updateView"},function(e,t){t.eachComponent({mainType:"series",subType:"sunburst",query:e},function(t,n){var i=$w.retrieveTargetInfo(e,[xE],t);i&&(e.highlight=i.node)})});mm.registerAction({type:"sunburstUnhighlight",update:"updateView"},function(e,t){t.eachComponent({mainType:"series",subType:"sunburst",query:e},function(t,n){e.unhighlight=!0})});var SE=tc.parsePercent,TE=(Math.PI,Math.PI/180);var kE=function(e,t,n,i){t.eachSeriesByType(e,function(e){var t=e.get("center"),i=e.get("radius");D.isArray(i)||(i=[0,i]),D.isArray(t)||(t=[t,t]);var o=n.getWidth(),r=n.getHeight(),a=Math.min(o,r),s=SE(t[0],o),c=SE(t[1],r),l=SE(i[0],a/2),d=SE(i[1],a/2),u=-e.get("startAngle")*TE,f=e.get("minAngle")*TE,h=e.getData().tree.root,p=e.getViewRoot(),g=p.depth,m=e.get("sort");null!=m&&function e(t,n){var i=t.children||[];t.children=function(e,t){if("function"==typeof t)return e.sort(t);var n="asc"===t;return e.sort(function(e,t){var i=(e.getValue()-t.getValue())*(n?1:-1);return 0===i?(e.dataIndex-t.dataIndex)*(n?-1:1):i})}(i,n),i.length&&D.each(t.children,function(t){e(t,n)})}(p,m);var b=0;D.each(p.children,function(e){!isNaN(e.getValue())&&b++});var v=p.getValue(),y=Math.PI/(v||b)*2,_=p.depth>0,w=p.height-(_?-1:1),x=(d-l)/(w||1),S=e.get("clockwise"),T=e.get("stillShowZeroSum"),k=S?1:-1,C=function(e,t){if(e){var n=t;if(e!==h){var i=e.getValue(),o=0===v&&T?y:i*y;o<f&&(o=f),n=t+k*o;var r=e.depth-g-(_?-1:1),d=l+x*r,u=l+x*(r+1),p=e.getModel();null!=p.get("r0")&&(d=SE(p.get("r0"),a/2)),null!=p.get("r")&&(u=SE(p.get("r"),a/2)),e.setLayout({angle:o,startAngle:t,endAngle:n,clockwise:S,cx:s,cy:c,r0:d,r:u})}if(e.children&&e.children.length){var m=0;D.each(e.children,function(e){m+=C(e,t+m)})}return n-t}};if(_){var j=l,A=l+x,E=2*Math.PI;h.setLayout({angle:E,startAngle:u,endAngle:u+E,clockwise:S,cx:s,cy:c,r0:j,r:A})}C(p,u)})};function CE(e,t){return t=t||[0,0],D.map(["x","y"],function(n,i){var o=this.getAxis(n),r=t[i],a=e[i]/2;return"category"===o.type?o.getBandWidth():Math.abs(o.dataToCoord(r-a)-o.dataToCoord(r+a))},this)}function jE(e,t){return t=t||[0,0],D.map([0,1],function(n){var i=t[n],o=e[n]/2,r=[],a=[];return r[n]=i-o,a[n]=i+o,r[1-n]=a[1-n]=t[1-n],Math.abs(this.dataToPoint(r)[n]-this.dataToPoint(a)[n])},this)}function AE(e,t){var n=this.getAxis(),i=t instanceof Array?t[0]:t,o=(e instanceof Array?e[0]:e)/2;return"category"===n.type?n.getBandWidth():Math.abs(n.dataToCoord(i-o)-n.dataToCoord(i+o))}function EE(e,t){return D.map(["Radius","Angle"],function(n,i){var o=this["get"+n+"Axis"](),r=t[i],a=e[i]/2,s="dataTo"+n,c="category"===o.type?o.getBandWidth():Math.abs(o[s](r-a)-o[s](r+a));return"Angle"===n&&(c=c*Math.PI/180),c},this)}mm.registerVisual(D.curry(gy,"sunburst")),mm.registerLayout(D.curry(kE,"sunburst")),mm.registerProcessor(D.curry(Sy,"sunburst"));var IE=vm.getDefaultLabel,ME=Fp.getLayoutOnAxis,OE=["itemStyle"],DE=["emphasis","itemStyle"],VE=["label"],LE=["emphasis","label"],PE="e\0\0",NE={cartesian2d:function(e){var t=e.grid.getRect();return{coordSys:{type:"cartesian2d",x:t.x,y:t.y,width:t.width,height:t.height},api:{coord:function(t){return e.dataToPoint(t)},size:D.bind(CE,e)}}},geo:function(e){var t=e.getBoundingRect();return{coordSys:{type:"geo",x:t.x,y:t.y,width:t.width,height:t.height,zoom:e.getZoom()},api:{coord:function(t){return e.dataToPoint(t)},size:D.bind(jE,e)}}},singleAxis:function(e){var t=e.getRect();return{coordSys:{type:"singleAxis",x:t.x,y:t.y,width:t.width,height:t.height},api:{coord:function(t){return e.dataToPoint(t)},size:D.bind(AE,e)}}},polar:function(e){var t=e.getRadiusAxis(),n=e.getAngleAxis(),i=t.getExtent();return i[0]>i[1]&&i.reverse(),{coordSys:{type:"polar",cx:e.cx,cy:e.cy,r:i[1],r0:i[0]},api:{coord:D.bind(function(i){var o=t.dataToRadius(i[0]),r=n.dataToAngle(i[1]),a=e.coordToPoint([o,r]);return a.push(o,r*Math.PI/180),a}),size:D.bind(EE,e)}}},calendar:function(e){var t=e.getRect(),n=e.getRangeInfo();return{coordSys:{type:"calendar",x:t.x,y:t.y,width:t.width,height:t.height,cellWidth:e.getCellWidth(),cellHeight:e.getCellHeight(),rangeInfo:{start:n.start,end:n.end,weeks:n.weeks,dayCount:n.allDay}},api:{coord:function(t,n){return e.dataToPoint(t,n)}}}}};function RE(e,t,n,i,o){null==n[e]||o||(t[e]=n[e],n[e]=i[e])}function FE(e,t,n,i){var o=e.get("renderItem"),r=e.coordinateSystem,a={};r&&(a=r.prepareCustoms?r.prepareCustoms():NE[r.type](r));var s,c,l,d,u,f=D.defaults({getWidth:i.getWidth,getHeight:i.getHeight,getZr:i.getZr,getDevicePixelRatio:i.getDevicePixelRatio,value:function(e,n){return null==n&&(n=s),t.get(t.getDimension(e||0),n)},style:function(n,i){null==i&&(i=s),g(i);var o=c.getModel(OE).getItemStyle();null!=u&&(o.fill=u);var r=t.getItemVisual(i,"opacity");return null!=r&&(o.opacity=r),Ls.setTextStyle(o,l,null,{autoColor:u,isRectText:!0}),o.text=l.getShallow("show")?D.retrieve2(e.getFormattedLabel(i,"normal"),IE(t,i)):null,n&&D.extend(o,n),o},styleEmphasis:function(n,i){null==i&&(i=s),g(i);var o=c.getModel(DE).getItemStyle();return Ls.setTextStyle(o,d,null,{isRectText:!0},!0),o.text=d.getShallow("show")?D.retrieve3(e.getFormattedLabel(i,"emphasis"),e.getFormattedLabel(i,"normal"),IE(t,i)):null,n&&D.extend(o,n),o},visual:function(e,n){return null==n&&(n=s),t.getItemVisual(n,e)},barLayout:function(e){if(r.getBaseAxis){var t=r.getBaseAxis();return ME(D.defaults({axis:t},e),i)}},currentSeriesIndices:function(){return n.getCurrentSeriesIndices()},font:function(e){return Ls.getFont(e,n)}},a.api||{}),h={context:{},seriesId:e.id,seriesName:e.name,seriesIndex:e.seriesIndex,coordSys:a.coordSys,dataInsideLength:t.count(),encode:function(e){var t={};return D.each(e.dimensions,function(n,i){var o=e.getDimensionInfo(n);if(!o.isExtraCoord){var r=o.coordDim;(t[r]=t[r]||[])[o.coordDimIndex]=i}}),t}(e.getData())},p=!0;return function(e,n){return s=e,p=!0,o&&o(D.defaults({dataIndexInside:e,dataIndex:t.getRawIndex(e),actionType:n?n.type:null},h),f)};function g(e){null==e&&(e=s),p&&(c=t.getItemModel(e),l=c.getModel(VE),d=c.getModel(LE),u=t.getItemVisual(e,"color"),p=!1)}}function BE(e,t,n,i,o,r){return(e=zE(e,t,n,i,o,r,!0))&&r.setItemGraphicEl(t,e),e}function zE(e,t,n,i,o,r,a){var s,c=!n,l=(n=n||{}).type,d=n.shape,u=n.style;if(e&&(c||null!=l&&l!==e.__customGraphicType||"path"===l&&((s=d)&&(s.hasOwnProperty("pathData")||s.hasOwnProperty("d")))&&WE(d)!==e.__customPathData||"image"===l&&GE(u,"image")&&u.image!==e.__customImagePath||"text"===l&&GE(d,"text")&&u.text!==e.__customText)&&(o.remove(e),e=null),!c){var f=!e;return!e&&(e=function(e){var t,n=e.type;if("path"===n){var i=e.shape,o=null!=i.width&&null!=i.height?{x:i.x||0,y:i.y||0,width:i.width,height:i.height}:null,r=WE(i);(t=Ls.makePath(r,null,o,i.layout||"center")).__customPathData=r}else"image"===n?(t=new Ls.Image({})).__customImagePath=e.style.image:"text"===n?(t=new Ls.Text({})).__customText=e.style.text:t=new(0,Ls[n.charAt(0).toUpperCase()+n.slice(1)]);return t.__customGraphicType=n,t.name=e.name,t}(n)),function(e,t,n,i,o,r,a){var s={},c=n.style||{};if(n.shape&&(s.shape=D.clone(n.shape)),n.position&&(s.position=n.position.slice()),n.scale&&(s.scale=n.scale.slice()),n.origin&&(s.origin=n.origin.slice()),n.rotation&&(s.rotation=n.rotation),"image"===e.type&&n.style){var l=s.style={};D.each(["x","y","width","height"],function(t){RE(t,l,c,e.style,r)})}"text"===e.type&&n.style&&(l=s.style={},D.each(["x","y"],function(t){RE(t,l,c,e.style,r)}),!c.hasOwnProperty("textFill")&&c.fill&&(c.textFill=c.fill),!c.hasOwnProperty("textStroke")&&c.stroke&&(c.textStroke=c.stroke));if("group"!==e.type&&(e.useStyle(c),r)){e.style.opacity=0;var d=c.opacity;null==d&&(d=1),Ls.initProps(e,{style:{opacity:d}},i,t)}r?e.attr(s):Ls.updateProps(e,s,i,t),n.hasOwnProperty("z2")&&e.attr("z2",n.z2||0),n.hasOwnProperty("silent")&&e.attr("silent",n.silent),n.hasOwnProperty("invisible")&&e.attr("invisible",n.invisible),n.hasOwnProperty("ignore")&&e.attr("ignore",n.ignore),n.hasOwnProperty("info")&&e.attr("info",n.info);var u=n.styleEmphasis,f=!1===u;e.__cusHasEmphStl&&null==u||!e.__cusHasEmphStl&&f||(Ls.setElementHoverStyle(e,u),e.__cusHasEmphStl=!f),a&&Ls.setAsHoverStyleTrigger(e,!f)}(e,t,n,i,0,f,a),"group"===l&&function(e,t,n,i,o){var r=n.children,a=r?r.length:0,s=n.$mergeChildren,c="byName"===s||n.diffChildrenByName,l=!1===s;if(!a&&!c&&!l)return;if(c)return d={oldChildren:e.children()||[],newChildren:r||[],dataIndex:t,animatableModel:i,group:e,data:o},void new sh(d.oldChildren,d.newChildren,HE,HE,d).add($E).update($E).remove(qE).execute();var d;l&&e.removeAll();for(var u=0;u<a;u++)r[u]&&zE(e.childAt(u),t,r[u],i,e,o)}(e,t,n,i,r),o.add(e),e}}function HE(e,t){var n=e&&e.name;return null!=n?n:PE+t}function $E(e,t){var n=this.context,i=null!=e?n.newChildren[e]:null;zE(null!=t?n.oldChildren[t]:null,n.dataIndex,i,n.animatableModel,n.group,n.data)}function qE(e){var t=this.context,n=t.oldChildren[e];n&&t.group.remove(n)}function WE(e){return e&&(e.pathData||e.d)}function GE(e,t){return e&&e.hasOwnProperty(t)}bu.extend({type:"series.custom",dependencies:["grid","polar","geo","singleAxis","calendar"],defaultOption:{coordinateSystem:"cartesian2d",zlevel:0,z:2,legendHoverLink:!0,useTransform:!0},getInitialData:function(e,t){return op(this.getSource(),this)},getDataParams:function(e,t,n){var i=bu.prototype.getDataParams.apply(this,arguments);return n&&(i.info=n.info),i}}),Vu.extend({type:"custom",_data:null,render:function(e,t,n,i){var o=this._data,r=e.getData(),a=this.group,s=FE(e,r,t,n);r.diff(o).add(function(t){BE(null,t,s(t,i),e,a,r)}).update(function(t,n){BE(o.getItemGraphicEl(n),t,s(t,i),e,a,r)}).remove(function(e){var t=o.getItemGraphicEl(e);t&&a.remove(t)}).execute(),this._data=r},incrementalPrepareRender:function(e,t,n){this.group.removeAll(),this._data=null},incrementalRender:function(e,t,n,i,o){var r=t.getData(),a=FE(t,r,n,i);function s(e){e.isGroup||(e.incremental=!0,e.useHoverLayer=!0)}for(var c=e.start;c<e.end;c++){BE(null,c,a(c,o),t,this.group,r).traverse(s)}},dispose:D.noop,filterForExposedEvent:function(e,t,n,i){var o=t.element;if(null==o||n.name===o)return!0;for(;(n=n.parent)&&n!==this.group;)if(n.name===o)return!0;return!1}}),mm.registerPreprocessor(function(e){var t=e.graphic;D.isArray(t)?t[0]&&t[0].elements?e.graphic=[e.graphic[0]]:e.graphic=[{elements:t}]:t&&!t.elements&&(e.graphic=[{elements:[t]}])});var UE=mm.extendComponentModel({type:"graphic",defaultOption:{elements:[],parentId:null},_elOptionsToUpdate:null,mergeOption:function(e){var t=this.option.elements;this.option.elements=null,UE.superApply(this,"mergeOption",arguments),this.option.elements=t},optionUpdated:function(e,t){var n=this.option,i=(t?n:e).elements,o=n.elements=t?[]:n.elements,r=[];this._flatten(i,r);var a=ro.mappingToExists(o,r);ro.makeIdAndName(a);var s=this._elOptionsToUpdate=[];D.each(a,function(e,t){var n=e.option;n&&(s.push(n),function(e,t){var n=e.exist;if(t.id=e.keyInfo.id,!t.type&&n&&(t.type=n.type),null==t.parentId){var i=t.parentOption;i?t.parentId=i.id:n&&(t.parentId=n.parentId)}t.parentOption=null}(e,n),function(e,t,n){var i=D.extend({},n),o=e[t],r=n.$action||"merge";"merge"===r?o?(D.merge(o,i,!0),yc.mergeLayoutParam(o,i,{ignoreSize:!0}),yc.copyLayoutParams(n,o)):e[t]=i:"replace"===r?e[t]=i:"remove"===r&&o&&(e[t]=null)}(o,t,n),function(e,t){if(!e)return;e.hv=t.hv=[ZE(t,["left","right"]),ZE(t,["top","bottom"])],"group"===e.type&&(null==e.width&&(e.width=t.width=0),null==e.height&&(e.height=t.height=0))}(o[t],n))},this);for(var c=o.length-1;c>=0;c--)null==o[c]?o.splice(c,1):delete o[c].$action},_flatten:function(e,t,n){D.each(e,function(e){if(e){n&&(e.parentOption=n),t.push(e);var i=e.children;"group"===e.type&&i&&this._flatten(i,t,e),delete e.children}},this)},useElOptionsToUpdate:function(){var e=this._elOptionsToUpdate;return this._elOptionsToUpdate=null,e}});function KE(e,t,n,i){var o=n.type,r=new(0,Ls[o.charAt(0).toUpperCase()+o.slice(1)])(n);t.add(r),i.set(e,r),r.__ecGraphicId=e}function YE(e,t){var n=e&&e.parent;n&&("group"===e.type&&e.traverse(function(e){YE(e,t)}),t.removeKey(e.__ecGraphicId),n.remove(e))}function ZE(e,t){var n;return D.each(t,function(t){null!=e[t]&&"auto"!==e[t]&&(n=!0)}),n}mm.extendComponentView({type:"graphic",init:function(e,t){this._elMap=D.createHashMap(),this._lastGraphicModel},render:function(e,t,n){e!==this._lastGraphicModel&&this._clear(),this._lastGraphicModel=e,this._updateElements(e),this._relocate(e,n)},_updateElements:function(e){var t=e.useElOptionsToUpdate();if(t){var n=this._elMap,i=this.group;D.each(t,function(t){var o=t.$action,r=t.id,a=n.get(r),s=t.parentId,c=null!=s?n.get(s):i,l=t.style;"text"===t.type&&l&&(t.hv&&t.hv[1]&&(l.textVerticalAlign=l.textBaseline=null),!l.hasOwnProperty("textFill")&&l.fill&&(l.textFill=l.fill),!l.hasOwnProperty("textStroke")&&l.stroke&&(l.textStroke=l.stroke));var d=function(e){return e=D.extend({},e),D.each(["id","parentId","$action","hv","bounding"].concat(yc.LOCATION_PARAMS),function(t){delete e[t]}),e}(t);o&&"merge"!==o?"replace"===o?(YE(a,n),KE(r,c,d,n)):"remove"===o&&YE(a,n):a?a.attr(d):KE(r,c,d,n);var u=n.get(r);u&&(u.__ecGraphicWidth=t.width,u.__ecGraphicHeight=t.height,function(e,t,n){var i=e.eventData;e.silent||e.ignore||i||(i=e.eventData={componentType:"graphic",componentIndex:t.componentIndex,name:e.name});i&&(i.info=e.info)}(u,e))})}},_relocate:function(e,t){for(var n=e.option.elements,i=this.group,o=this._elMap,r=n.length-1;r>=0;r--){var a=n[r],s=o.get(a.id);if(s){var c=s.parent,l=c===i?{width:t.getWidth(),height:t.getHeight()}:{width:c.__ecGraphicWidth||0,height:c.__ecGraphicHeight||0};yc.positionElement(s,a,l,null,{hv:a.hv,boundingMode:a.bounding})}}},_clear:function(){var e=this._elMap;e.each(function(t){YE(t,e)}),this._elMap=D.createHashMap()},dispose:function(){this._clear()}});var XE=ro.isNameSpecified,QE=mm.extendComponentModel({type:"legend.plain",dependencies:["series"],layoutMode:{type:"box",ignoreSize:!0},init:function(e,t,n){this.mergeDefaultAndTheme(e,n),e.selected=e.selected||{}},mergeOption:function(e){QE.superCall(this,"mergeOption",e)},optionUpdated:function(){this._updateData(this.ecModel);var e=this._data;if(e[0]&&"single"===this.get("selectedMode")){for(var t=!1,n=0;n<e.length;n++){var i=e[n].get("name");if(this.isSelected(i)){this.select(i),t=!0;break}}!t&&this.select(e[0].get("name"))}},_updateData:function(e){var t=[],n=[];e.eachRawSeries(function(i){var o,r=i.name;if(n.push(r),i.legendDataProvider){var a=i.legendDataProvider(),s=a.mapArray(a.getName);e.isSeriesFiltered(i)||(n=n.concat(s)),s.length?t=t.concat(s):o=!0}else o=!0;o&&XE(i)&&t.push(i.name)}),this._availableNames=n;var i=this.get("data")||t,o=D.map(i,function(e){return"string"!=typeof e&&"number"!=typeof e||(e={name:e}),new Ks(e,this,this.ecModel)},this);this._data=o},getData:function(){return this._data},select:function(e){var t=this.option.selected;if("single"===this.get("selectedMode")){var n=this._data;D.each(n,function(e){t[e.get("name")]=!1})}t[e]=!0},unSelect:function(e){"single"!==this.get("selectedMode")&&(this.option.selected[e]=!1)},toggleSelected:function(e){var t=this.option.selected;t.hasOwnProperty(e)||(t[e]=!0),this[t[e]?"unSelect":"select"](e)},isSelected:function(e){var t=this.option.selected;return!(t.hasOwnProperty(e)&&!t[e])&&D.indexOf(this._availableNames,e)>=0},defaultOption:{zlevel:0,z:4,show:!0,orient:"horizontal",left:"center",top:0,align:"auto",backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderRadius:0,borderWidth:0,padding:5,itemGap:10,itemWidth:25,itemHeight:14,inactiveColor:"#ccc",textStyle:{color:"#333"},selectedMode:!0,tooltip:{show:!1}}}),JE=QE;function eI(e,t,n){var i,o={},r="toggleSelected"===e;return n.eachComponent("legend",function(n){r&&null!=i?n[i?"select":"unSelect"](t.name):(n[e](t.name),i=n.isSelected(t.name));var a=n.getData();D.each(a,function(e){var t=e.get("name");if("\n"!==t&&""!==t){var i=n.isSelected(t);o.hasOwnProperty(t)?o[t]=o[t]&&i:o[t]=i}})}),{name:t.name,selected:o}}mm.registerAction("legendToggleSelect","legendselectchanged",D.curry(eI,"toggleSelected")),mm.registerAction("legendSelect","legendselected",D.curry(eI,"select")),mm.registerAction("legendUnSelect","legendunselected",D.curry(eI,"unSelect"));var tI=yc.getLayoutRect,nI=yc.box,iI=yc.positionElement;var oI={layout:function(e,t,n){var i=t.getBoxLayoutParams(),o=t.get("padding"),r={width:n.getWidth(),height:n.getHeight()},a=tI(i,r,o);nI(t.get("orient"),e,t.get("itemGap"),a.width,a.height),iI(e,i,r,o)},makeBackground:function(e,t){var n=cc.normalizeCssArray(t.get("padding")),i=t.getItemStyle(["color","opacity"]);return i.fill=t.get("backgroundColor"),e=new Ls.Rect({shape:{x:e.x-n[3],y:e.y-n[0],width:e.width+n[1]+n[3],height:e.height+n[0]+n[2],r:t.get("borderRadius")},style:i,silent:!0,z2:-1})}},rI=vg.createSymbol,aI=oI.makeBackground,sI=D.curry,cI=D.each,lI=Ls.Group;function dI(e,t){t.dispatchAction({type:"legendToggleSelect",name:e})}function uI(e,t,n,i){var o=n.getZr().storage.getDisplayList()[0];o&&o.useHoverLayer||n.dispatchAction({type:"highlight",seriesName:e,name:t,excludeSeriesId:i})}function fI(e,t,n,i){var o=n.getZr().storage.getDisplayList()[0];o&&o.useHoverLayer||n.dispatchAction({type:"downplay",seriesName:e,name:t,excludeSeriesId:i})}var hI=mm.extendComponentView({type:"legend.plain",newlineDisabled:!1,init:function(){this.group.add(this._contentGroup=new lI),this._backgroundEl},getContentGroup:function(){return this._contentGroup},render:function(e,t,n){if(this.resetInner(),e.get("show",!0)){var i=e.get("align");i&&"auto"!==i||(i="right"===e.get("left")&&"vertical"===e.get("orient")?"right":"left"),this.renderInner(i,e,t,n);var o=e.getBoxLayoutParams(),r={width:n.getWidth(),height:n.getHeight()},a=e.get("padding"),s=yc.getLayoutRect(o,r,a),c=this.layoutInner(e,i,s),l=yc.getLayoutRect(D.defaults({width:c.width,height:c.height},o),r,a);this.group.attr("position",[l.x-c.x,l.y-c.y]),this.group.add(this._backgroundEl=aI(c,e))}},resetInner:function(){this.getContentGroup().removeAll(),this._backgroundEl&&this.group.remove(this._backgroundEl)},renderInner:function(e,t,n,i){var o=this.getContentGroup(),r=D.createHashMap(),a=t.get("selectedMode"),s=[];n.eachRawSeries(function(e){!e.get("legendHoverLink")&&s.push(e.id)}),cI(t.getData(),function(c,l){var d=c.get("name");if(this.newlineDisabled||""!==d&&"\n"!==d){var u=n.getSeriesByName(d)[0];if(!r.get(d))if(u){var f=u.getData(),h=f.getVisual("color");"function"==typeof h&&(h=h(u.getDataParams(0)));var p=f.getVisual("legendSymbol")||"roundRect",g=f.getVisual("symbol");this._createItem(d,l,c,t,p,g,e,h,a).on("click",sI(dI,d,i)).on("mouseover",sI(uI,u.name,null,i,s)).on("mouseout",sI(fI,u.name,null,i,s)),r.set(d,!0)}else n.eachRawSeries(function(n){if(!r.get(d)&&n.legendDataProvider){var o=n.legendDataProvider(),u=o.indexOfName(d);if(u<0)return;var f=o.getItemVisual(u,"color");this._createItem(d,l,c,t,"roundRect",null,e,f,a).on("click",sI(dI,d,i)).on("mouseover",sI(uI,null,d,i,s)).on("mouseout",sI(fI,null,d,i,s)),r.set(d,!0)}},this)}else o.add(new lI({newline:!0}))},this)},_createItem:function(e,t,n,i,o,r,a,s,c){var l=i.get("itemWidth"),d=i.get("itemHeight"),u=i.get("inactiveColor"),f=i.get("symbolKeepAspect"),h=i.isSelected(e),p=new lI,g=n.getModel("textStyle"),m=n.get("icon"),b=n.getModel("tooltip"),v=b.parentModel;if(o=m||o,p.add(rI(o,0,0,l,d,h?s:u,null==f||f)),!m&&r&&(r!==o||"none"===r)){var y=.8*d;"none"===r&&(r="circle"),p.add(rI(r,(l-y)/2,(d-y)/2,y,y,h?s:u,null==f||f))}var _="left"===a?l+5:-5,w=a,x=i.get("formatter"),S=e;"string"==typeof x&&x?S=x.replace("{name}",null!=e?e:""):"function"==typeof x&&(S=x(e)),p.add(new Ls.Text({style:Ls.setTextStyle({},g,{text:S,x:_,y:d/2,textFill:h?g.getTextColor():u,textAlign:w,textVerticalAlign:"middle"})}));var T=new Ls.Rect({shape:p.getBoundingRect(),invisible:!0,tooltip:b.get("show")?D.extend({content:e,formatter:v.get("formatter",!0)||function(){return e},formatterParams:{componentType:"legend",legendIndex:i.componentIndex,name:e,$vars:["name"]}},b.option):null});return p.add(T),p.eachChild(function(e){e.silent=!0}),T.silent=!c,this.getContentGroup().add(p),Ls.setHoverStyle(p),p.__legendDataIndex=t,p},layoutInner:function(e,t,n){var i=this.getContentGroup();yc.box(e.get("orient"),i,e.get("itemGap"),n.width,n.height);var o=i.getBoundingRect();return i.attr("position",[-o.x,-o.y]),this.group.getBoundingRect()}});var pI=function(e){var t=e.findComponents({mainType:"legend"});t&&t.length&&e.filterSeries(function(e){for(var n=0;n<t.length;n++)if(!t[n].isSelected(e.name))return!1;return!0})};mm.registerProcessor(pI),kc.registerSubTypeDefaulter("legend",function(){return"plain"});var gI=yc.mergeLayoutParam,mI=yc.getLayoutParams,bI=JE.extend({type:"legend.scroll",setScrollDataIndex:function(e){this.option.scrollDataIndex=e},defaultOption:{scrollDataIndex:0,pageButtonItemGap:5,pageButtonGap:null,pageButtonPosition:"end",pageFormatter:"{current}/{total}",pageIcons:{horizontal:["M0,0L12,-10L12,10z","M0,0L-12,-10L-12,10z"],vertical:["M0,0L20,0L10,-20z","M0,0L20,0L10,20z"]},pageIconColor:"#2f4554",pageIconInactiveColor:"#aaa",pageIconSize:15,pageTextStyle:{color:"#333"},animationDurationUpdate:800},init:function(e,t,n,i){var o=mI(e);bI.superCall(this,"init",e,t,n,i),vI(this,e,o)},mergeOption:function(e,t){bI.superCall(this,"mergeOption",e,t),vI(this,this.option,e)},getOrient:function(){return"vertical"===this.get("orient")?{index:1,name:"vertical"}:{index:0,name:"horizontal"}}});function vI(e,t,n){var i=[1,1];i[e.getOrient().index]=0,gI(t,n,{type:"box",ignoreSize:i})}var yI=Ls.Group,_I=["width","height"],wI=["x","y"],xI=hI.extend({type:"legend.scroll",newlineDisabled:!0,init:function(){xI.superCall(this,"init"),this._currentIndex=0,this.group.add(this._containerGroup=new yI),this._containerGroup.add(this.getContentGroup()),this.group.add(this._controllerGroup=new yI),this._showController},resetInner:function(){xI.superCall(this,"resetInner"),this._controllerGroup.removeAll(),this._containerGroup.removeClipPath(),this._containerGroup.__rectSize=null},renderInner:function(e,t,n,i){var o=this;xI.superCall(this,"renderInner",e,t,n,i);var r=this._controllerGroup,a=t.get("pageIconSize",!0);D.isArray(a)||(a=[a,a]),c("pagePrev",0);var s=t.getModel("pageTextStyle");function c(e,n){var s=e+"DataIndex",c=Ls.createIcon(t.get("pageIcons",!0)[t.getOrient().name][n],{onclick:D.bind(o._pageGo,o,s,t,i)},{x:-a[0]/2,y:-a[1]/2,width:a[0],height:a[1]});c.name=e,r.add(c)}r.add(new Ls.Text({name:"pageText",style:{textFill:s.getTextColor(),font:s.getFont(),textVerticalAlign:"middle",textAlign:"center"},silent:!0})),c("pageNext",1)},layoutInner:function(e,t,n){var i=this.getContentGroup(),o=this._containerGroup,r=this._controllerGroup,a=e.getOrient().index,s=_I[a],c=_I[1-a],l=wI[1-a];yc.box(e.get("orient"),i,e.get("itemGap"),a?n.width:null,a?null:n.height),yc.box("horizontal",r,e.get("pageButtonItemGap",!0));var d=i.getBoundingRect(),u=r.getBoundingRect(),f=this._showController=d[s]>n[s],h=[-d.x,-d.y];h[a]=i.position[a];var p=[0,0],g=[-u.x,-u.y],m=D.retrieve2(e.get("pageButtonGap",!0),e.get("itemGap",!0));f&&("end"===e.get("pageButtonPosition",!0)?g[a]+=n[s]-u[s]:p[a]+=u[s]+m);g[1-a]+=d[c]/2-u[c]/2,i.attr("position",h),o.attr("position",p),r.attr("position",g);var b=this.group.getBoundingRect();if((b={x:0,y:0})[s]=f?n[s]:d[s],b[c]=Math.max(d[c],u[c]),b[l]=Math.min(0,u[l]+g[1-a]),o.__rectSize=n[s],f){var v={x:0,y:0};v[s]=Math.max(n[s]-u[s]-m,0),v[c]=b[c],o.setClipPath(new Ls.Rect({shape:v})),o.__rectSize=v[s]}else r.eachChild(function(e){e.attr({invisible:!0,silent:!0})});var y=this._getPageInfo(e);return null!=y.pageIndex&&Ls.updateProps(i,{position:y.contentPosition},!!f&&e),this._updatePageInfoView(e,y),b},_pageGo:function(e,t,n){var i=this._getPageInfo(t)[e];null!=i&&n.dispatchAction({type:"legendScroll",scrollDataIndex:i,legendId:t.id})},_updatePageInfoView:function(e,t){var n=this._controllerGroup;D.each(["pagePrev","pageNext"],function(i){var o=null!=t[i+"DataIndex"],r=n.childOfName(i);r&&(r.setStyle("fill",o?e.get("pageIconColor",!0):e.get("pageIconInactiveColor",!0)),r.cursor=o?"pointer":"default")});var i=n.childOfName("pageText"),o=e.get("pageFormatter"),r=t.pageIndex,a=null!=r?r+1:0,s=t.pageCount;i&&o&&i.setStyle("text",D.isString(o)?o.replace("{current}",a).replace("{total}",s):o({current:a,total:s}))},_getPageInfo:function(e){var t,n,i,o,r=e.get("scrollDataIndex",!0),a=this.getContentGroup(),s=a.getBoundingRect(),c=this._containerGroup.__rectSize,l=e.getOrient().index,d=_I[l],u=_I[1-l],f=wI[l],h=a.position.slice();this._showController?a.eachChild(function(e){e.__legendDataIndex===r&&(o=e)}):o=a.childAt(0);var p=c?Math.ceil(s[d]/c):0;if(o){var g=o.getBoundingRect(),m=o.position[l]+g[f];h[l]=-m-s[f],t=Math.floor(p*(m+g[f]+c/2)/s[d]),t=s[d]&&p?Math.max(0,Math.min(p-1,t)):-1;var b,v={x:0,y:0};v[d]=c,v[u]=s[u],v[f]=-h[l]-s[f];var y=a.children();if(a.eachChild(function(e,t){var n=w(e);n.intersect(v)&&(null==b&&(b=t),i=e.__legendDataIndex),t===y.length-1&&n[f]+n[d]<=v[f]+v[d]&&(i=null)}),null!=b){var _=w(y[b]);if(v[f]=_[f]+_[d]-v[d],b<=0&&_[f]>=v[f])n=null;else{for(;b>0&&w(y[b-1]).intersect(v);)b--;n=y[b].__legendDataIndex}}}return{contentPosition:h,pageIndex:t,pageCount:p,pagePrevDataIndex:n,pageNextDataIndex:i};function w(e){var t=e.getBoundingRect().clone();return t[f]+=e.position[l],t}}});mm.registerAction("legendScroll","legendscroll",function(e,t){var n=e.scrollDataIndex;null!=n&&t.eachComponent({mainType:"legend",subType:"scroll",query:e},function(e){e.setScrollDataIndex(n)})});mm.extendComponentModel({type:"tooltip",dependencies:["axisPointer"],defaultOption:{zlevel:0,z:60,show:!0,showContent:!0,trigger:"item",triggerOn:"mousemove|click",alwaysShowContent:!1,displayMode:"single",renderMode:"auto",confine:!1,showDelay:0,hideDelay:100,transitionDuration:.4,enterable:!1,backgroundColor:"rgba(50,50,50,0.7)",borderColor:"#333",borderRadius:4,borderWidth:0,padding:5,extraCssText:"",axisPointer:{type:"line",axis:"auto",animation:"auto",animationDurationUpdate:200,animationEasingUpdate:"exponentialOut",crossStyle:{color:"#999",width:1,type:"dashed",textStyle:{}}},textStyle:{color:"#fff",fontSize:14}}});var SI=D.each,TI=cc.toCamelCase,kI=["","-webkit-","-moz-","-o-"];function CI(e){var t,n,i=[],o=e.get("transitionDuration"),r=e.get("backgroundColor"),a=e.getModel("textStyle"),s=e.get("padding");return o&&i.push((n="left "+(t=o)+"s cubic-bezier(0.23, 1, 0.32, 1),top "+t+"s cubic-bezier(0.23, 1, 0.32, 1)",D.map(kI,function(e){return e+"transition:"+n}).join(";"))),r&&(c.canvasSupported?i.push("background-Color:"+r):(i.push("background-Color:#"+Ue.toHex(r)),i.push("filter:alpha(opacity=70)"))),SI(["width","color","radius"],function(t){var n="border-"+t,o=TI(n),r=e.get(o);null!=r&&i.push(n+":"+r+("color"===t?"":"px"))}),i.push(function(e){var t=[],n=e.get("fontSize"),i=e.getTextColor();return i&&t.push("color:"+i),t.push("font:"+e.getFont()),n&&t.push("line-height:"+Math.round(3*n/2)+"px"),SI(["decoration","align"],function(n){var i=e.get(n);i&&t.push("text-"+n+":"+i)}),t.join(";")}(a)),null!=s&&i.push("padding:"+cc.normalizeCssArray(s).join("px ")+"px"),i.join(";")+";"}function jI(e,t){if(c.wxa)return null;var n=document.createElement("div"),i=this._zr=t.getZr();this.el=n,this._x=t.getWidth()/2,this._y=t.getHeight()/2,e.appendChild(n),this._container=e,this._show=!1,this._hideTimeout;var o=this;n.onmouseenter=function(){o._enterable&&(clearTimeout(o._hideTimeout),o._show=!0),o._inContent=!0},n.onmousemove=function(t){if(t=t||window.event,!o._enterable){var n=i.handler;Q.normalizeEvent(e,t,!0),n.dispatch("mousemove",t)}},n.onmouseleave=function(){o._enterable&&o._show&&o.hideLater(o._hideDelay),o._inContent=!1}}jI.prototype={constructor:jI,_enterable:!0,update:function(){var e=this._container,t=e.currentStyle||document.defaultView.getComputedStyle(e),n=e.style;"absolute"!==n.position&&"absolute"!==t.position&&(n.position="relative")},show:function(e){clearTimeout(this._hideTimeout);var t=this.el;t.style.cssText="position:absolute;display:block;border-style:solid;white-space:nowrap;z-index:9999999;"+CI(e)+";left:"+this._x+"px;top:"+this._y+"px;"+(e.get("extraCssText")||""),t.style.display=t.innerHTML?"block":"none",t.style.pointerEvents=this._enterable?"auto":"none",this._show=!0},setContent:function(e){this.el.innerHTML=null==e?"":e},setEnterable:function(e){this._enterable=e},getSize:function(){var e=this.el;return[e.clientWidth,e.clientHeight]},moveTo:function(e,t){var n,i=this._zr;i&&i.painter&&(n=i.painter.getViewportRootOffset())&&(e+=n.offsetLeft,t+=n.offsetTop);var o=this.el.style;o.left=e+"px",o.top=t+"px",this._x=e,this._y=t},hide:function(){this.el.style.display="none",this._show=!1},hideLater:function(e){!this._show||this._inContent&&this._enterable||(e?(this._hideDelay=e,this._show=!1,this._hideTimeout=setTimeout(D.bind(this.hide,this),e)):this.hide())},isShow:function(){return this._show},getOuterSize:function(){var e=this.el.clientWidth,t=this.el.clientHeight;if(document.defaultView&&document.defaultView.getComputedStyle){var n=document.defaultView.getComputedStyle(this.el);n&&(e+=parseInt(n.paddingLeft,10)+parseInt(n.paddingRight,10)+parseInt(n.borderLeftWidth,10)+parseInt(n.borderRightWidth,10),t+=parseInt(n.paddingTop,10)+parseInt(n.paddingBottom,10)+parseInt(n.borderTopWidth,10)+parseInt(n.borderBottomWidth,10))}return{width:e,height:t}}};var AI=jI;function EI(e){this._zr=e.getZr(),this._show=!1,this._hideTimeout}EI.prototype={constructor:EI,_enterable:!0,update:function(){},show:function(e){this._hideTimeout&&clearTimeout(this._hideTimeout),this.el.attr("show",!0),this._show=!0},setContent:function(e,t,n){this.el&&this._zr.remove(this.el);for(var i={},o=e,r=o.indexOf("{marker");r>=0;){var a=o.indexOf("|}"),s=o.substr(r+"{marker".length,a-r-"{marker".length);s.indexOf("sub")>-1?i["marker"+s]={textWidth:4,textHeight:4,textBorderRadius:2,textBackgroundColor:t[s],textOffset:[3,0]}:i["marker"+s]={textWidth:10,textHeight:10,textBorderRadius:5,textBackgroundColor:t[s]},r=(o=o.substr(a+1)).indexOf("{marker")}this.el=new Qr({style:{rich:i,text:e,textLineHeight:20,textBackgroundColor:n.get("backgroundColor"),textBorderRadius:n.get("borderRadius"),textFill:n.get("textStyle.color"),textPadding:n.get("padding")},z:n.get("z")}),this._zr.add(this.el);var c=this;this.el.on("mouseover",function(){c._enterable&&(clearTimeout(c._hideTimeout),c._show=!0),c._inContent=!0}),this.el.on("mouseout",function(){c._enterable&&c._show&&c.hideLater(c._hideDelay),c._inContent=!1})},setEnterable:function(e){this._enterable=e},getSize:function(){var e=this.el.getBoundingRect();return[e.width,e.height]},moveTo:function(e,t){this.el&&this.el.attr("position",[e,t])},hide:function(){this.el.hide(),this._show=!1},hideLater:function(e){!this._show||this._inContent&&this._enterable||(e?(this._hideDelay=e,this._show=!1,this._hideTimeout=setTimeout(D.bind(this.hide,this),e)):this.hide())},isShow:function(){return this._show},getOuterSize:function(){return this.getSize()}};var II=EI,MI=ro.getTooltipRenderMode,OI=D.bind,DI=D.each,VI=tc.parsePercent,LI=new Ls.Rect({shape:{x:-1,y:-1,width:2,height:2}});mm.extendComponentView({type:"tooltip",init:function(e,t){if(!c.node){var n,i=e.getComponent("tooltip").get("renderMode");this._renderMode=MI(i),"html"===this._renderMode?(n=new AI(t.getDom(),t),this._newLine="<br/>"):(n=new II(t),this._newLine="\n"),this._tooltipContent=n}},render:function(e,t,n){if(!c.node){this.group.removeAll(),this._tooltipModel=e,this._ecModel=t,this._api=n,this._lastDataByCoordSys=null,this._alwaysShowContent=e.get("alwaysShowContent");var i=this._tooltipContent;i.update(),i.setEnterable(e.get("enterable")),this._initGlobalListener(),this._keepShow()}},_initGlobalListener:function(){var e=this._tooltipModel.get("triggerOn");DA.register("itemTooltip",this._api,OI(function(t,n,i){"none"!==e&&(e.indexOf(t)>=0?this._tryShow(n,i):"leave"===t&&this._hide(i))},this))},_keepShow:function(){var e=this._tooltipModel,t=this._ecModel,n=this._api;if(null!=this._lastX&&null!=this._lastY&&"none"!==e.get("triggerOn")){var i=this;clearTimeout(this._refreshUpdateTimeout),this._refreshUpdateTimeout=setTimeout(function(){i.manuallyShowTip(e,t,n,{x:i._lastX,y:i._lastY})})}},manuallyShowTip:function(e,t,n,i){if(i.from!==this.uid&&!c.node){var o=NI(i,n);this._ticket="";var r=i.dataByCoordSys;if(i.tooltip&&null!=i.x&&null!=i.y){var a=LI;a.position=[i.x,i.y],a.update(),a.tooltip=i.tooltip,this._tryShow({offsetX:i.x,offsetY:i.y,target:a},o)}else if(r)this._tryShow({offsetX:i.x,offsetY:i.y,position:i.position,event:{},dataByCoordSys:i.dataByCoordSys,tooltipOption:i.tooltipOption},o);else if(null!=i.seriesIndex){if(this._manuallyAxisShowTip(e,t,n,i))return;var s=vA(i,t),l=s.point[0],d=s.point[1];null!=l&&null!=d&&this._tryShow({offsetX:l,offsetY:d,position:i.position,target:s.el,event:{}},o)}else null!=i.x&&null!=i.y&&(n.dispatchAction({type:"updateAxisPointer",x:i.x,y:i.y}),this._tryShow({offsetX:i.x,offsetY:i.y,position:i.position,target:n.getZr().findHover(i.x,i.y).target,event:{}},o))}},manuallyHideTip:function(e,t,n,i){var o=this._tooltipContent;!this._alwaysShowContent&&this._tooltipModel&&o.hideLater(this._tooltipModel.get("hideDelay")),this._lastX=this._lastY=null,i.from!==this.uid&&this._hide(NI(i,n))},_manuallyAxisShowTip:function(e,t,n,i){var o=i.seriesIndex,r=i.dataIndex,a=t.getComponent("axisPointer").coordSysAxesInfo;if(null!=o&&null!=r&&null!=a){var s=t.getSeriesByIndex(o);if(s)if("axis"===(e=PI([s.getData().getItemModel(r),s,(s.coordinateSystem||{}).model,e])).get("trigger"))return n.dispatchAction({type:"updateAxisPointer",seriesIndex:o,dataIndex:r,position:i.position}),!0}},_tryShow:function(e,t){var n=e.target;if(this._tooltipModel){this._lastX=e.offsetX,this._lastY=e.offsetY;var i=e.dataByCoordSys;i&&i.length?this._showAxisTooltip(i,e):n&&null!=n.dataIndex?(this._lastDataByCoordSys=null,this._showSeriesItemTooltip(e,n,t)):n&&n.tooltip?(this._lastDataByCoordSys=null,this._showComponentItemTooltip(e,n,t)):(this._lastDataByCoordSys=null,this._hide(t))}},_showOrMove:function(e,t){var n=e.get("showDelay");t=D.bind(t,this),clearTimeout(this._showTimout),n>0?this._showTimout=setTimeout(t,n):t()},_showAxisTooltip:function(e,t){var n=this._ecModel,i=this._tooltipModel,o=[t.offsetX,t.offsetY],r=[],a=[],s=PI([t.tooltipOption,i]),c=this._renderMode,l=this._newLine,d={};DI(e,function(e){DI(e.dataByAxis,function(e){var t=n.getComponent(e.axisDim+"Axis",e.axisIndex),i=e.value,o=[];if(t&&null!=i){var s=UA.getValueLabel(i,t.axis,n,e.seriesDataIndices,e.valueLabelOpt);D.each(e.seriesDataIndices,function(r){var l=n.getSeriesByIndex(r.seriesIndex),u=r.dataIndexInside,f=l&&l.getDataParams(u);if(f.axisDim=e.axisDim,f.axisIndex=e.axisIndex,f.axisType=e.axisType,f.axisId=e.axisId,f.axisValue=sg.getAxisRawValue(t.axis,i),f.axisValueLabel=s,f){a.push(f);var h,p=l.formatTooltip(u,!0,null,c);if(D.isObject(p)){h=p.html;var g=p.markers;D.merge(d,g)}else h=p;o.push(h)}});var u=s;"html"!==c?r.push(o.join(l)):r.push((u?cc.encodeHTML(u)+l:"")+o.join(l))}})},this),r.reverse(),r=r.join(this._newLine+this._newLine);var u=t.position;this._showOrMove(s,function(){this._updateContentNotChangedOnAxis(e)?this._updatePosition(s,u,o[0],o[1],this._tooltipContent,a):this._showTooltipContent(s,r,a,Math.random(),o[0],o[1],u,void 0,d)})},_showSeriesItemTooltip:function(e,t,n){var i=this._ecModel,o=t.seriesIndex,r=i.getSeriesByIndex(o),a=t.dataModel||r,s=t.dataIndex,c=t.dataType,l=a.getData(),d=PI([l.getItemModel(s),a,r&&(r.coordinateSystem||{}).model,this._tooltipModel]),u=d.get("trigger");if(null==u||"item"===u){var f,h,p=a.getDataParams(s,c),g=a.formatTooltip(s,!1,c,this._renderMode);D.isObject(g)?(f=g.html,h=g.markers):(f=g,h=null);var m="item_"+a.name+"_"+s;this._showOrMove(d,function(){this._showTooltipContent(d,f,p,m,e.offsetX,e.offsetY,e.position,e.target,h)}),n({type:"showTip",dataIndexInside:s,dataIndex:l.getRawIndex(s),seriesIndex:o,from:this.uid})}},_showComponentItemTooltip:function(e,t,n){var i=t.tooltip;if("string"==typeof i){i={content:i,formatter:i}}var o=new Ks(i,this._tooltipModel,this._ecModel),r=o.get("content"),a=Math.random();this._showOrMove(o,function(){this._showTooltipContent(o,r,o.get("formatterParams")||{},a,e.offsetX,e.offsetY,e.position,t)}),n({type:"showTip",from:this.uid})},_showTooltipContent:function(e,t,n,i,o,r,a,s,c){if(this._ticket="",e.get("showContent")&&e.get("show")){var l=this._tooltipContent,d=e.get("formatter");a=a||e.get("position");var u=t;if(d&&"string"==typeof d)u=cc.formatTpl(d,n,!0);else if("function"==typeof d){var f=OI(function(t,i){t===this._ticket&&(l.setContent(i,c,e),this._updatePosition(e,a,o,r,l,n,s))},this);this._ticket=i,u=d(n,i,f)}l.setContent(u,c,e),l.show(e),this._updatePosition(e,a,o,r,l,n,s)}},_updatePosition:function(e,t,n,i,o,r,a){var s=this._api.getWidth(),c=this._api.getHeight();t=t||e.get("position");var l=o.getSize(),d=e.get("align"),u=e.get("verticalAlign"),f=a&&a.getBoundingRect().clone();if(a&&f.applyTransform(a.transform),"function"==typeof t&&(t=t([n,i],r,o.el,f,{viewSize:[s,c],contentSize:l.slice()})),D.isArray(t))n=VI(t[0],s),i=VI(t[1],c);else if(D.isObject(t)){t.width=l[0],t.height=l[1];var h=yc.getLayoutRect(t,{width:s,height:c});n=h.x,i=h.y,d=null,u=null}else if("string"==typeof t&&a){var p=function(e,t,n){var i=n[0],o=n[1],r=0,a=0,s=t.width,c=t.height;switch(e){case"inside":r=t.x+s/2-i/2,a=t.y+c/2-o/2;break;case"top":r=t.x+s/2-i/2,a=t.y-o-5;break;case"bottom":r=t.x+s/2-i/2,a=t.y+c+5;break;case"left":r=t.x-i-5,a=t.y+c/2-o/2;break;case"right":r=t.x+s+5,a=t.y+c/2-o/2}return[r,a]}(t,f,l);n=p[0],i=p[1]}else{p=function(e,t,n,i,o,r,a){var s=n.getOuterSize(),c=s.width,l=s.height;null!=r&&(e+c+r>i?e-=c+r:e+=r);null!=a&&(t+l+a>o?t-=l+a:t+=a);return[e,t]}(n,i,o,s,c,d?null:20,u?null:20);n=p[0],i=p[1]}if(d&&(n-=RI(d)?l[0]/2:"right"===d?l[0]:0),u&&(i-=RI(u)?l[1]/2:"bottom"===u?l[1]:0),e.get("confine")){p=function(e,t,n,i,o){var r=n.getOuterSize(),a=r.width,s=r.height;return e=Math.min(e+a,i)-a,t=Math.min(t+s,o)-s,e=Math.max(e,0),t=Math.max(t,0),[e,t]}(n,i,o,s,c);n=p[0],i=p[1]}o.moveTo(n,i)},_updateContentNotChangedOnAxis:function(e){var t=this._lastDataByCoordSys,n=!!t&&t.length===e.length;return n&&DI(t,function(t,i){var o=t.dataByAxis||{},r=(e[i]||{}).dataByAxis||[];(n&=o.length===r.length)&&DI(o,function(e,t){var i=r[t]||{},o=e.seriesDataIndices||[],a=i.seriesDataIndices||[];(n&=e.value===i.value&&e.axisType===i.axisType&&e.axisId===i.axisId&&o.length===a.length)&&DI(o,function(e,t){var i=a[t];n&=e.seriesIndex===i.seriesIndex&&e.dataIndex===i.dataIndex})})}),this._lastDataByCoordSys=e,!!n},_hide:function(e){this._lastDataByCoordSys=null,e({type:"hideTip",from:this.uid})},dispose:function(e,t){c.node||(this._tooltipContent.hide(),DA.unregister("itemTooltip",t))}});function PI(e){for(var t=e.pop();e.length;){var n=e.pop();n&&(Ks.isInstance(n)&&(n=n.get("tooltip",!0)),"string"==typeof n&&(n={formatter:n}),t=new Ks(n,t,t.ecModel))}return t}function NI(e,t){return e.dispatchAction||D.bind(t.dispatchAction,t)}function RI(e){return"center"===e||"middle"===e}mm.registerAction({type:"showTip",event:"showTip",update:"tooltip:manuallyShowTip"},function(){}),mm.registerAction({type:"hideTip",event:"hideTip",update:"tooltip:manuallyHideTip"},function(){});var FI=tc.parsePercent,BI=Qh.isDimensionStacked;function zI(e){return e.get("stack")||"__ec_stack_"+e.seriesIndex}function HI(e){return e.dim}var $I=function(e,t,n){n.getWidth(),n.getHeight();var i={},o=function(e,t){var n={};D.each(e,function(e,t){var i=e.getData(),o=e.coordinateSystem,r=o.getBaseAxis(),a=r.getExtent(),s="category"===r.type?r.getBandWidth():Math.abs(a[1]-a[0])/i.count(),c=n[HI(r)]||{bandWidth:s,remainedWidth:s,autoWidthCount:0,categoryGap:"20%",gap:"30%",stacks:{}},l=c.stacks;n[HI(r)]=c;var d=zI(e);l[d]||c.autoWidthCount++,l[d]=l[d]||{width:0,maxWidth:0};var u=FI(e.get("barWidth"),s),f=FI(e.get("barMaxWidth"),s),h=e.get("barGap"),p=e.get("barCategoryGap");u&&!l[d].width&&(u=Math.min(c.remainedWidth,u),l[d].width=u,c.remainedWidth-=u),f&&(l[d].maxWidth=f),null!=h&&(c.gap=h),null!=p&&(c.categoryGap=p)});var i={};return D.each(n,function(e,t){i[t]={};var n=e.stacks,o=e.bandWidth,r=FI(e.categoryGap,o),a=FI(e.gap,1),s=e.remainedWidth,c=e.autoWidthCount,l=(s-r)/(c+(c-1)*a);l=Math.max(l,0),D.each(n,function(e,t){var n=e.maxWidth;n&&n<l&&(n=Math.min(n,s),e.width&&(n=Math.min(n,e.width)),s-=n,e.width=n,c--)}),l=(s-r)/(c+(c-1)*a),l=Math.max(l,0);var d,u=0;D.each(n,function(e,t){e.width||(e.width=l),d=e,u+=e.width*(1+a)}),d&&(u-=d.width*a);var f=-u/2;D.each(n,function(e,n){i[t][n]=i[t][n]||{offset:f,width:e.width},f+=e.width*(1+a)})}),i}(D.filter(t.getSeriesByType(e),function(e){return!t.isSeriesFiltered(e)&&e.coordinateSystem&&"polar"===e.coordinateSystem.type}));t.eachSeriesByType(e,function(e){if("polar"===e.coordinateSystem.type){var t=e.getData(),n=e.coordinateSystem,r=n.getBaseAxis(),a=zI(e),s=o[HI(r)][a],c=s.offset,l=s.width,d=n.getOtherAxis(r),u=e.coordinateSystem.cx,f=e.coordinateSystem.cy,h=e.get("barMinHeight")||0,p=e.get("barMinAngle")||0;i[a]=i[a]||[];for(var g=t.mapDimension(d.dim),m=t.mapDimension(r.dim),b=BI(t,g),v=d.getExtent()[0],y=0,_=t.count();y<_;y++){var w=t.get(g,y),x=t.get(m,y);if(!isNaN(w)){var S,T,k,C,j=w>=0?"p":"n",A=v;if(b&&(i[a][x]||(i[a][x]={p:v,n:v}),A=i[a][x][j]),"radius"===d.dim){var E=d.dataToRadius(w)-v,I=r.dataToAngle(x);Math.abs(E)<h&&(E=(E<0?-1:1)*h),S=A,T=A+E,C=(k=I-c)-l,b&&(i[a][x][j]=T)}else{var M=d.dataToAngle(w,!0)-v,O=r.dataToRadius(x);Math.abs(M)<p&&(M=(M<0?-1:1)*p),T=(S=O+c)+l,k=A,C=A+M,b&&(i[a][x][j]=C)}t.setItemLayout(y,{cx:u,cy:f,r0:S,r:T,startAngle:-k*Math.PI/180,endAngle:-C*Math.PI/180})}}}},this)};function qI(e,t){Qg.call(this,"radius",e,t),this.type="category"}qI.prototype={constructor:qI,pointToData:function(e,t){return this.polar.pointToData(e,t)["radius"===this.dim?0:1]},dataToRadius:Qg.prototype.dataToCoord,radiusToData:Qg.prototype.coordToData},D.inherits(qI,Qg);var WI=qI,GI=(0,ro.makeInner)();function UI(e,t){t=t||[0,360],Qg.call(this,"angle",e,t),this.type="category"}UI.prototype={constructor:UI,pointToData:function(e,t){return this.polar.pointToData(e,t)["radius"===this.dim?0:1]},dataToAngle:Qg.prototype.dataToCoord,angleToData:Qg.prototype.coordToData,calculateCategoryInterval:function(){var e=this.getLabelModel(),t=this.scale,n=t.getExtent(),i=t.count();if(n[1]-n[0]<1)return 0;var o=n[0],r=this.dataToCoord(o+1)-this.dataToCoord(o),a=Math.abs(r),s=Bn.getBoundingRect(o,e.getFont(),"center","top"),c=Math.max(s.height,7)/a;isNaN(c)&&(c=1/0);var l=Math.max(0,Math.floor(c)),d=GI(this.model),u=d.lastAutoInterval,f=d.lastTickCount;return null!=u&&null!=f&&Math.abs(u-l)<=1&&Math.abs(f-i)<=1&&u>l?l=u:(d.lastTickCount=i,d.lastAutoInterval=l),l}},D.inherits(UI,Qg);var KI=UI,YI=function(e){this.name=e||"",this.cx=0,this.cy=0,this._radiusAxis=new WI,this._angleAxis=new KI,this._radiusAxis.polar=this._angleAxis.polar=this};YI.prototype={type:"polar",axisPointerEnabled:!0,constructor:YI,dimensions:["radius","angle"],model:null,containPoint:function(e){var t=this.pointToCoord(e);return this._radiusAxis.contain(t[0])&&this._angleAxis.contain(t[1])},containData:function(e){return this._radiusAxis.containData(e[0])&&this._angleAxis.containData(e[1])},getAxis:function(e){return this["_"+e+"Axis"]},getAxes:function(){return[this._radiusAxis,this._angleAxis]},getAxesByScale:function(e){var t=[],n=this._angleAxis,i=this._radiusAxis;return n.scale.type===e&&t.push(n),i.scale.type===e&&t.push(i),t},getAngleAxis:function(){return this._angleAxis},getRadiusAxis:function(){return this._radiusAxis},getOtherAxis:function(e){var t=this._angleAxis;return e===t?this._radiusAxis:t},getBaseAxis:function(){return this.getAxesByScale("ordinal")[0]||this.getAxesByScale("time")[0]||this.getAngleAxis()},getTooltipAxes:function(e){var t=null!=e&&"auto"!==e?this.getAxis(e):this.getBaseAxis();return{baseAxes:[t],otherAxes:[this.getOtherAxis(t)]}},dataToPoint:function(e,t){return this.coordToPoint([this._radiusAxis.dataToRadius(e[0],t),this._angleAxis.dataToAngle(e[1],t)])},pointToData:function(e,t){var n=this.pointToCoord(e);return[this._radiusAxis.radiusToData(n[0],t),this._angleAxis.angleToData(n[1],t)]},pointToCoord:function(e){var t=e[0]-this.cx,n=e[1]-this.cy,i=this.getAngleAxis(),o=i.getExtent(),r=Math.min(o[0],o[1]),a=Math.max(o[0],o[1]);i.inverse?r=a-360:a=r+360;var s=Math.sqrt(t*t+n*n);t/=s,n/=s;for(var c=Math.atan2(-n,t)/Math.PI*180,l=c<r?1:-1;c<r||c>a;)c+=360*l;return[s,c]},coordToPoint:function(e){var t=e[0],n=e[1]/180*Math.PI;return[Math.cos(n)*t+this.cx,-Math.sin(n)*t+this.cy]}};var ZI=YI,XI=kc.extend({type:"polarAxis",axis:null,getCoordSysModel:function(){return this.ecModel.queryComponents({mainType:"polar",index:this.option.polarIndex,id:this.option.polarId})[0]}});D.merge(XI.prototype,cg);var QI={splitNumber:5};function JI(e,t){return t.type||(t.data?"category":"value")}Nb("angle",XI,JI,{startAngle:90,clockwise:!0,splitNumber:12,axisLabel:{rotate:!1}}),Nb("radius",XI,JI,QI);mm.extendComponentModel({type:"polar",dependencies:["polarAxis","angleAxis"],coordinateSystem:null,findAxisModel:function(e){var t;return this.ecModel.eachComponent(e,function(e){e.getCoordSysModel()===this&&(t=e)},this),t},defaultOption:{zlevel:0,z:0,center:["50%","50%"],radius:"80%"}});var eM=tc.parsePercent,tM=sg.createScaleByModel,nM=sg.niceScaleExtent,iM=Qh.getStackedDimension;function oM(e,t){var n=this,i=n.getAngleAxis(),o=n.getRadiusAxis();if(i.scale.setExtent(1/0,-1/0),o.scale.setExtent(1/0,-1/0),e.eachSeries(function(e){if(e.coordinateSystem===n){var t=e.getData();D.each(t.mapDimension("radius",!0),function(e){o.scale.unionExtentFromData(t,iM(t,e))}),D.each(t.mapDimension("angle",!0),function(e){i.scale.unionExtentFromData(t,iM(t,e))})}}),nM(i.scale,i.model),nM(o.scale,o.model),"category"===i.type&&!i.onBand){var r=i.getExtent(),a=360/i.scale.count();i.inverse?r[1]+=a:r[1]-=a,i.setExtent(r[0],r[1])}}function rM(e,t){if(e.type=t.get("type"),e.scale=tM(t),e.onBand=t.get("boundaryGap")&&"category"===e.type,e.inverse=t.get("inverse"),"angleAxis"===t.mainType){e.inverse^=t.get("clockwise");var n=t.get("startAngle");e.setExtent(n,n+(e.inverse?-360:360))}t.axis=e,e.model=t}var aM={dimensions:ZI.prototype.dimensions,create:function(e,t){var n=[];return e.eachComponent("polar",function(e,i){var o=new ZI(i);o.update=oM;var r=o.getRadiusAxis(),a=o.getAngleAxis(),s=e.findAxisModel("radiusAxis"),c=e.findAxisModel("angleAxis");rM(r,s),rM(a,c),function(e,t,n){var i=t.get("center"),o=n.getWidth(),r=n.getHeight();e.cx=eM(i[0],o),e.cy=eM(i[1],r);var a=e.getRadiusAxis(),s=Math.min(o,r)/2,c=eM(t.get("radius"),s);a.inverse?a.setExtent(c,0):a.setExtent(0,c)}(o,e,t),n.push(o),e.coordinateSystem=o,o.model=e}),e.eachSeries(function(t){if("polar"===t.get("coordinateSystem")){var n=e.queryComponents({mainType:"polar",index:t.get("polarIndex"),id:t.get("polarId")})[0];t.coordinateSystem=n.coordinateSystem}}),n}};zl.register("polar",aM);var sM=["axisLine","axisLabel","axisTick","splitLine","splitArea"];function cM(e,t,n){t[1]>t[0]&&(t=t.slice().reverse());var i=e.coordToPoint([t[0],n]),o=e.coordToPoint([t[1],n]);return{x1:i[0],y1:i[1],x2:o[0],y2:o[1]}}function lM(e){return e.getRadiusAxis().inverse?0:1}function dM(e){var t=e[0],n=e[e.length-1];t&&n&&Math.abs(Math.abs(t.coord-n.coord)-360)<1e-4&&e.pop()}Vv.extend({type:"angleAxis",axisPointerClass:"PolarAxisPointer",render:function(e,t){if(this.group.removeAll(),e.get("show")){var n=e.axis,i=n.polar,o=i.getRadiusAxis().getExtent(),r=n.getTicksCoords(),a=D.map(n.getViewLabels(),function(e){return(e=D.clone(e)).coord=n.dataToCoord(e.tickValue),e});dM(a),dM(r),D.each(sM,function(t){!e.get(t+".show")||n.scale.isBlank()&&"axisLine"!==t||this["_"+t](e,i,r,o,a)},this)}},_axisLine:function(e,t,n,i){var o=e.getModel("axisLine.lineStyle"),r=new Ls.Circle({shape:{cx:t.cx,cy:t.cy,r:i[lM(t)]},style:o.getLineStyle(),z2:1,silent:!0});r.style.fill=null,this.group.add(r)},_axisTick:function(e,t,n,i){var o=e.getModel("axisTick"),r=(o.get("inside")?-1:1)*o.get("length"),a=i[lM(t)],s=D.map(n,function(e){return new Ls.Line({shape:cM(t,[a,a+r],e.coord)})});this.group.add(Ls.mergePath(s,{style:D.defaults(o.getModel("lineStyle").getLineStyle(),{stroke:e.get("axisLine.lineStyle.color")})}))},_axisLabel:function(e,t,n,i,o){var r=e.getCategories(!0),a=e.getModel("axisLabel"),s=a.get("margin");D.each(o,function(n,o){var c=a,l=n.tickValue,d=i[lM(t)],u=t.coordToPoint([d+s,n.coord]),f=t.cx,h=t.cy,p=Math.abs(u[0]-f)/d<.3?"center":u[0]>f?"left":"right",g=Math.abs(u[1]-h)/d<.3?"middle":u[1]>h?"top":"bottom";r&&r[l]&&r[l].textStyle&&(c=new Ks(r[l].textStyle,a,a.ecModel));var m=new Ls.Text({silent:!0});this.group.add(m),Ls.setTextStyle(m.style,c,{x:u[0],y:u[1],textFill:c.getTextColor()||e.get("axisLine.lineStyle.color"),text:n.formattedLabel,textAlign:p,textVerticalAlign:g})},this)},_splitLine:function(e,t,n,i){var o=e.getModel("splitLine").getModel("lineStyle"),r=o.get("color"),a=0;r=r instanceof Array?r:[r];for(var s=[],c=0;c<n.length;c++){var l=a++%r.length;s[l]=s[l]||[],s[l].push(new Ls.Line({shape:cM(t,i,n[c].coord)}))}for(c=0;c<s.length;c++)this.group.add(Ls.mergePath(s[c],{style:D.defaults({stroke:r[c%r.length]},o.getLineStyle()),silent:!0,z:e.get("z")}))},_splitArea:function(e,t,n,i){if(n.length){var o=e.getModel("splitArea").getModel("areaStyle"),r=o.get("color"),a=0;r=r instanceof Array?r:[r];for(var s=[],c=Math.PI/180,l=-n[0].coord*c,d=Math.min(i[0],i[1]),u=Math.max(i[0],i[1]),f=e.get("clockwise"),h=1;h<n.length;h++){var p=a++%r.length;s[p]=s[p]||[],s[p].push(new Ls.Sector({shape:{cx:t.cx,cy:t.cy,r0:d,r:u,startAngle:l,endAngle:-n[h].coord*c,clockwise:f},silent:!0})),l=-n[h].coord*c}for(h=0;h<s.length;h++)this.group.add(Ls.mergePath(s[h],{style:D.defaults({fill:r[h%r.length]},o.getAreaStyle()),silent:!0}))}}});var uM=["axisLine","axisTickLabel","axisName"],fM=["splitLine","splitArea"];Vv.extend({type:"radiusAxis",axisPointerClass:"PolarAxisPointer",render:function(e,t){if(this.group.removeAll(),e.get("show")){var n=e.axis,i=n.polar,o=i.getAngleAxis(),r=n.getTicksCoords(),a=o.getExtent()[0],s=n.getExtent(),c=function(e,t,n){return{position:[e.cx,e.cy],rotation:n/180*Math.PI,labelDirection:-1,tickDirection:-1,nameDirection:1,labelRotate:t.getModel("axisLabel").get("rotate"),z2:1}}(i,e,a),l=new xv(e,c);D.each(uM,l.add,l),this.group.add(l.getGroup()),D.each(fM,function(t){e.get(t+".show")&&!n.scale.isBlank()&&this["_"+t](e,i,a,s,r)},this)}},_splitLine:function(e,t,n,i,o){var r=e.getModel("splitLine").getModel("lineStyle"),a=r.get("color"),s=0;a=a instanceof Array?a:[a];for(var c=[],l=0;l<o.length;l++){var d=s++%a.length;c[d]=c[d]||[],c[d].push(new Ls.Circle({shape:{cx:t.cx,cy:t.cy,r:o[l].coord},silent:!0}))}for(l=0;l<c.length;l++)this.group.add(Ls.mergePath(c[l],{style:D.defaults({stroke:a[l%a.length],fill:null},r.getLineStyle()),silent:!0}))},_splitArea:function(e,t,n,i,o){if(o.length){var r=e.getModel("splitArea").getModel("areaStyle"),a=r.get("color"),s=0;a=a instanceof Array?a:[a];for(var c=[],l=o[0].coord,d=1;d<o.length;d++){var u=s++%a.length;c[u]=c[u]||[],c[u].push(new Ls.Sector({shape:{cx:t.cx,cy:t.cy,r0:l,r:o[d].coord,startAngle:0,endAngle:2*Math.PI},silent:!0})),l=o[d].coord}for(d=0;d<c.length;d++)this.group.add(Ls.mergePath(c[d],{style:D.defaults({fill:a[d%a.length]},r.getAreaStyle()),silent:!0}))}}});var hM=$A.extend({makeElOption:function(e,t,n,i,o){var r=n.axis;"angle"===r.dim&&(this.animationThreshold=Math.PI/18);var a,s=r.polar,c=s.getOtherAxis(r).getExtent();a=r["dataTo"+cc.capitalFirst(r.dim)](t);var l=i.get("type");if(l&&"none"!==l){var d=UA.buildElStyle(i),u=pM[l](r,s,a,c,d);u.style=d,e.graphicKey=u.type,e.pointer=u}var f=function(e,t,n,i,o){var r=t.axis,a=r.dataToCoord(e),s=i.getAngleAxis().getExtent()[0];s=s/180*Math.PI;var c,l,d,u=i.getRadiusAxis().getExtent();if("radius"===r.dim){var f=de.create();de.rotate(f,f,s),de.translate(f,f,[i.cx,i.cy]),c=Ls.applyTransform([a,-o],f);var h=t.getModel("axisLabel").get("rotate")||0,p=xv.innerTextLayout(s,h*Math.PI/180,-1);l=p.textAlign,d=p.textVerticalAlign}else{var g=u[1];c=i.coordToPoint([g+o,a]);var m=i.cx,b=i.cy;l=Math.abs(c[0]-m)/g<.3?"center":c[0]>m?"left":"right",d=Math.abs(c[1]-b)/g<.3?"middle":c[1]>b?"top":"bottom"}return{position:c,align:l,verticalAlign:d}}(t,n,0,s,i.get("label.margin"));UA.buildLabelElOption(e,n,i,o,f)}});var pM={line:function(e,t,n,i,o){return"angle"===e.dim?{type:"Line",shape:UA.makeLineShape(t.coordToPoint([i[0],n]),t.coordToPoint([i[1],n]))}:{type:"Circle",shape:{cx:t.cx,cy:t.cy,r:n}}},shadow:function(e,t,n,i,o){var r=Math.max(1,e.getBandWidth()),a=Math.PI/180;return"angle"===e.dim?{type:"Sector",shape:UA.makeSectorShape(t.cx,t.cy,i[0],i[1],(-n-r/2)*a,(r/2-n)*a)}:{type:"Sector",shape:UA.makeSectorShape(t.cx,t.cy,n-r/2,n+r/2,0,2*Math.PI)}}};Vv.registerAxisPointerClass("PolarAxisPointer",hM),mm.registerLayout(D.curry($I,"bar")),mm.extendComponentView({type:"polar"});var gM=kc.extend({type:"geo",coordinateSystem:null,layoutMode:"box",init:function(e){kc.prototype.init.apply(this,arguments),ro.defaultEmphasis(e,"label",["show"])},optionUpdated:function(){var e=this.option,t=this;e.regions=k_.getFilledRegions(e.regions,e.map,e.nameMap),this._optionModelMap=D.reduce(e.regions||[],function(e,n){return n.name&&e.set(n.name,new Ks(n,t)),e},D.createHashMap()),this.updateSelectedMap(e.regions)},defaultOption:{zlevel:0,z:0,show:!0,left:"center",top:"center",aspectScale:null,silent:!1,map:"",boundingCoords:null,center:null,zoom:1,scaleLimit:null,label:{show:!1,color:"#000"},itemStyle:{borderWidth:.5,borderColor:"#444",color:"#eee"},emphasis:{label:{show:!0,color:"rgb(100,0,0)"},itemStyle:{color:"rgba(255,215,0,0.8)"}},regions:[]},getRegionModel:function(e){return this._optionModelMap.get(e)||new Ks(null,this,this.ecModel)},getFormattedLabel:function(e,t){var n=this.getRegionModel(e).get("label."+t+".formatter"),i={name:e};return"function"==typeof n?(i.status=t,n(i)):"string"==typeof n?n.replace("{a}",null!=e?e:""):void 0},setZoom:function(e){this.option.zoom=e},setCenter:function(e){this.option.center=e}});D.mixin(gM,ry);mm.extendComponentView({type:"geo",init:function(e,t){var n=new X_(t,!0);this._mapDraw=n,this.group.add(n.group)},render:function(e,t,n,i){if(!i||"geoToggleSelect"!==i.type||i.from!==this.uid){var o=this._mapDraw;e.get("show")?o.draw(e,t,n,this,i):this._mapDraw.group.removeAll(),this.group.silent=e.get("silent")}},dispose:function(){this._mapDraw&&this._mapDraw.remove()}});function mM(e,t){t.update="updateView",mm.registerAction(t,function(t,n){var i={};return n.eachComponent({mainType:"geo",query:t},function(n){n[e](t.name);var o=n.coordinateSystem;D.each(o.regions,function(e){i[e.name]=n.isSelected(e.name)||!1})}),{selected:i,name:t.name}})}mM("toggleSelected",{type:"geoToggleSelect",event:"geoselectchanged"}),mM("select",{type:"geoSelect",event:"geoselected"}),mM("unSelect",{type:"geoUnSelect",event:"geounselected"});var bM=["rect","polygon","keep","clear"];var vM=function(e,t){var n=e&&e.brush;if(D.isArray(n)||(n=n?[n]:[]),n.length){var i=[];D.each(n,function(e){var t=e.hasOwnProperty("toolbox")?e.toolbox:[];t instanceof Array&&(i=i.concat(t))});var o=e&&e.toolbox;D.isArray(o)&&(o=o[0]),o||(o={feature:{}},e.toolbox=[o]);var r,a,s=o.feature||(o.feature={}),c=s.brush||(s.brush={}),l=c.type||(c.type=[]);l.push.apply(l,i),r=l,a={},D.each(r,function(e){a[e]=1}),r.length=0,D.each(a,function(e,t){r.push(t)}),t&&!l.length&&l.push.apply(l,bM)}},yM=D.each;function _M(e){if(e)for(var t in e)if(e.hasOwnProperty(t))return!0}var wM={createVisualMappings:function(e,t,n){var i={};return yM(t,function(t){var o,r=i[t]=((o=function(){}).prototype.__hidden=o.prototype,new o);yM(e[t],function(e,i){if(Lx.isValidType(i)){var o={type:i,visual:e};n&&n(o,t),r[i]=new Lx(o),"opacity"===i&&((o=D.clone(o)).type="colorAlpha",r.__hidden.__alphaForOpacity=new Lx(o))}})}),i},replaceVisualOption:function(e,t,n){var i;D.each(n,function(e){t.hasOwnProperty(e)&&_M(t[e])&&(i=!0)}),i&&D.each(n,function(n){t.hasOwnProperty(n)&&_M(t[n])?e[n]=D.clone(t[n]):delete e[n]})},applyVisual:function(e,t,n,i,o,r){var a,s={};function c(e){return n.getItemVisual(a,e)}function l(e,t){n.setItemVisual(a,e,t)}function d(e,d){a=null==r?e:d;var u=n.getRawDataItem(a);if(!u||!1!==u.visualMap)for(var f=i.call(o,e),h=t[f],p=s[f],g=0,m=p.length;g<m;g++){var b=p[g];h[b]&&h[b].applyVisual(e,c,l)}}D.each(e,function(e){var n=Lx.prepareVisualTypes(t[e]);s[e]=n}),null==r?n.each(d):n.each([r],d)},incrementalApplyVisual:function(e,t,n,i){var o={};return D.each(e,function(e){var n=Lx.prepareVisualTypes(t[e]);o[e]=n}),{progress:function(e,r){function a(e){return r.getItemVisual(c,e)}function s(e,t){r.setItemVisual(c,e,t)}var c;for(null!=i&&(i=r.getDimension(i));null!=(c=e.next());){var l=r.getRawDataItem(c);if(l&&!1===l.visualMap)return;for(var d=null!=i?r.get(i,c,!0):c,u=n(d),f=t[u],h=o[u],p=0,g=h.length;p<g;p++){var m=h[p];f[m]&&f[m].applyVisual(d,a,s)}}}}}};function xM(e){var t=["x","y"],n=["width","height"];return{point:function(t,n,i){if(t){var o=i.range;return SM(t[e],o)}},rect:function(i,o,r){if(i){var a=r.range,s=[i[t[e]],i[t[e]]+i[n[e]]];return s[1]<s[0]&&s.reverse(),SM(s[0],a)||SM(s[1],a)||SM(a[0],s)||SM(a[1],s)}}}}function SM(e,t){return t[0]<=e&&e<=t[1]}function TM(e,t,n,i,o){for(var r=0,a=o[o.length-1];r<o.length;r++){var s=o[r];if(kM(e,t,n,i,s[0],s[1],a[0],a[1]))return!0;a=s}}function kM(e,t,n,i,o,r,a,s){var c,l=CM(n-e,o-a,i-t,r-s);if((c=l)<=1e-6&&c>=-1e-6)return!1;var d=CM(o-e,o-a,r-t,r-s)/l;if(d<0||d>1)return!1;var u=CM(n-e,o-e,i-t,r-t)/l;return!(u<0||u>1)}function CM(e,t,n,i){return e*i-t*n}var jM={lineX:xM(0),lineY:xM(1),rect:{point:function(e,t,n){return e&&n.boundingRect.contain(e[0],e[1])},rect:function(e,t,n){return e&&n.boundingRect.intersect(e)}},polygon:{point:function(e,t,n){return e&&n.boundingRect.contain(e[0],e[1])&&Cg.contain(n.range,e[0],e[1])},rect:function(e,t,n){var i=n.range;if(!e||i.length<=1)return!1;var o=e.x,r=e.y,a=e.width,s=e.height,c=i[0];return!!(Cg.contain(i,o,r)||Cg.contain(i,o+a,r)||Cg.contain(i,o,r+s)||Cg.contain(i,o+a,r+s)||Vt.create(e).contain(c[0],c[1])||TM(o,r,o+a,r,i)||TM(o,r,o,r+s,i)||TM(o+a,r,o+a,r+s,i)||TM(o,r+s,o+a,r+s,i))||void 0}}},AM=D.each,EM=D.indexOf,IM=D.curry,MM=["dataToPoint","pointToData"],OM=["grid","xAxis","yAxis","geo","graph","polar","radiusAxis","angleAxis","bmap"];function DM(e,t,n){var i=this._targetInfoList=[],o={},r=PM(t,e);AM(NM,function(e,t){(!n||!n.include||EM(n.include,t)>=0)&&e(r,i,o)})}var VM=DM.prototype;function LM(e){return e[0]>e[1]&&e.reverse(),e}function PM(e,t){return ro.parseFinder(e,t,{includeMainTypes:OM})}VM.setOutputRanges=function(e,t){this.matchOutputRanges(e,t,function(e,t,n){if((e.coordRanges||(e.coordRanges=[])).push(t),!e.coordRange){e.coordRange=t;var i=BM[e.brushType](0,n,t);e.__rangeOffset={offset:HM[e.brushType](i.values,e.range,[1,1]),xyMinMax:i.xyMinMax}}})},VM.matchOutputRanges=function(e,t,n){AM(e,function(e){var i=this.findTargetInfo(e,t);i&&!0!==i&&D.each(i.coordSyses,function(i){var o=BM[e.brushType](1,i,e.range);n(e,o.values,i,t)})},this)},VM.setInputRanges=function(e,t){AM(e,function(e){var n,i,o,r,a,s=this.findTargetInfo(e,t);if(e.range=e.range||[],s&&!0!==s){e.panelId=s.panelId;var c=BM[e.brushType](0,s.coordSys,e.coordRange),l=e.__rangeOffset;e.range=l?HM[e.brushType](c.values,l.offset,(n=c.xyMinMax,i=l.xyMinMax,o=qM(n),r=qM(i),a=[o[0]/r[0],o[1]/r[1]],isNaN(a[0])&&(a[0]=1),isNaN(a[1])&&(a[1]=1),a)):c.values}},this)},VM.makePanelOpts=function(e,t){return D.map(this._targetInfoList,function(n){var i=n.getPanelRect();return{panelId:n.panelId,defaultBrushType:t&&t(n),clipPath:Rk.makeRectPanelClipPath(i),isTargetByCursor:Rk.makeRectIsTargetByCursor(i,e,n.coordSysModel),getLinearBrushOtherExtent:Rk.makeLinearBrushOtherExtent(i)}})},VM.controlSeries=function(e,t,n){var i=this.findTargetInfo(e,n);return!0===i||i&&EM(i.coordSyses,t.coordinateSystem)>=0},VM.findTargetInfo=function(e,t){for(var n=this._targetInfoList,i=PM(t,e),o=0;o<n.length;o++){var r=n[o],a=e.panelId;if(a){if(r.panelId===a)return r}else for(o=0;o<RM.length;o++)if(RM[o](i,r))return r}return!0};var NM={grid:function(e,t){var n=e.xAxisModels,i=e.yAxisModels,o=e.gridModels,r=D.createHashMap(),a={},s={};(n||i||o)&&(AM(n,function(e){var t=e.axis.grid.model;r.set(t.id,t),a[t.id]=!0}),AM(i,function(e){var t=e.axis.grid.model;r.set(t.id,t),s[t.id]=!0}),AM(o,function(e){r.set(e.id,e),a[e.id]=!0,s[e.id]=!0}),r.each(function(e){var o=e.coordinateSystem,r=[];AM(o.getCartesians(),function(e,t){(EM(n,e.getAxis("x").model)>=0||EM(i,e.getAxis("y").model)>=0)&&r.push(e)}),t.push({panelId:"grid--"+e.id,gridModel:e,coordSysModel:e,coordSys:r[0],coordSyses:r,getPanelRect:FM.grid,xAxisDeclared:a[e.id],yAxisDeclared:s[e.id]})}))},geo:function(e,t){AM(e.geoModels,function(e){var n=e.coordinateSystem;t.push({panelId:"geo--"+e.id,geoModel:e,coordSysModel:e,coordSys:n,coordSyses:[n],getPanelRect:FM.geo})})}},RM=[function(e,t){var n=e.xAxisModel,i=e.yAxisModel,o=e.gridModel;return!o&&n&&(o=n.axis.grid.model),!o&&i&&(o=i.axis.grid.model),o&&o===t.gridModel},function(e,t){var n=e.geoModel;return n&&n===t.geoModel}],FM={grid:function(){return this.coordSys.grid.getRect().clone()},geo:function(){var e=this.coordSys,t=e.getBoundingRect().clone();return t.applyTransform(Ls.getTransform(e)),t}},BM={lineX:IM(zM,0),lineY:IM(zM,1),rect:function(e,t,n){var i=t[MM[e]]([n[0][0],n[1][0]]),o=t[MM[e]]([n[0][1],n[1][1]]),r=[LM([i[0],o[0]]),LM([i[1],o[1]])];return{values:r,xyMinMax:r}},polygon:function(e,t,n){var i=[[1/0,-1/0],[1/0,-1/0]];return{values:D.map(n,function(n){var o=t[MM[e]](n);return i[0][0]=Math.min(i[0][0],o[0]),i[1][0]=Math.min(i[1][0],o[1]),i[0][1]=Math.max(i[0][1],o[0]),i[1][1]=Math.max(i[1][1],o[1]),o}),xyMinMax:i}}};function zM(e,t,n,i){var o=n.getAxis(["x","y"][e]),r=LM(D.map([0,1],function(e){return t?o.coordToData(o.toLocalCoord(i[e])):o.toGlobalCoord(o.dataToCoord(i[e]))})),a=[];return a[e]=r,a[1-e]=[NaN,NaN],{values:r,xyMinMax:a}}var HM={lineX:IM($M,0),lineY:IM($M,1),rect:function(e,t,n){return[[e[0][0]-n[0]*t[0][0],e[0][1]-n[0]*t[0][1]],[e[1][0]-n[1]*t[1][0],e[1][1]-n[1]*t[1][1]]]},polygon:function(e,t,n){return D.map(e,function(e,i){return[e[0]-n[0]*t[i][0],e[1]-n[1]*t[i][1]]})}};function $M(e,t,n,i){return[t[0]-i[e]*n[0],t[1]-i[e]*n[1]]}function qM(e){return e?[e[0][1]-e[0][0],e[1][1]-e[1][0]]:[NaN,NaN]}var WM=DM,GM=["inBrush","outOfBrush"],UM="__ecBrushSelect",KM="__ecInBrushSelectEvent",YM=mm.PRIORITY.VISUAL.BRUSH;function ZM(e,t){if(!e.isDisposed()){var n=e.getZr();n[KM]=!0,e.dispatchAction({type:"brushSelect",batch:t}),n[KM]=!1}}function XM(e,t,n,i){for(var o=0,r=t.length;o<r;o++){var a=t[o];if(e[a.brushType](i,n,a.selectors,a))return!0}}function QM(e){var t=e.brushSelector;if(D.isString(t)){var n=[];return D.each(jM,function(e,i){n[i]=function(n,i,o,r){var a=i.getItemLayout(n);return e[t](a,o,r)}}),n}if(D.isFunction(t)){var i={};return D.each(jM,function(e,n){i[n]=t}),i}return t}mm.registerLayout(YM,function(e,t,n){e.eachComponent({mainType:"brush"},function(t){n&&"takeGlobalCursor"===n.type&&t.setBrushOption("brush"===n.key?n.brushOption:{brushType:!1}),(t.brushTargetManager=new WM(t.option,e)).setInputRanges(t.areas,e)})}),mm.registerVisual(YM,function(e,t,n){var i,o,r=[];e.eachComponent({mainType:"brush"},function(t,n){var a={brushId:t.id,brushIndex:n,brushName:t.name,areas:D.clone(t.areas),selected:[]};r.push(a);var s=t.option,c=s.brushLink,l=[],d=[],u=[],f=0;n||(i=s.throttleType,o=s.throttleDelay);var h=D.map(t.areas,function(e){return function(e){var t=e.selectors={};return D.each(jM[e.brushType],function(n,i){t[i]=function(i){return n(i,t,e)}}),e}(D.defaults({boundingRect:JM[e.brushType](e)},e))}),p=wM.createVisualMappings(t.option,GM,function(e){e.mappingMethod="fixed"});function g(e){return"all"===c||l[e]}function m(e){return!!e.length}D.isArray(c)&&D.each(c,function(e){l[e]=1}),e.eachSeries(function(n,i){var o=u[i]=[];"parallel"===n.subType?function(e,t){var n=e.coordinateSystem;f|=n.hasAxisBrushed(),g(t)&&n.eachActiveState(e.getData(),function(e,t){"active"===e&&(d[t]=1)})}(n,i):function(n,i,o){var r=QM(n);if(!r||function(e,t){var n=e.option.seriesIndex;return null!=n&&"all"!==n&&(D.isArray(n)?D.indexOf(n,t)<0:t!==n)}(t,i))return;if(D.each(h,function(i){r[i.brushType]&&t.brushTargetManager.controlSeries(i,n,e)&&o.push(i),f|=m(o)}),g(i)&&m(o)){var a=n.getData();a.each(function(e){XM(r,o,a,e)&&(d[e]=1)})}}(n,i,o)}),e.eachSeries(function(e,t){var n={seriesId:e.id,seriesIndex:t,seriesName:e.name,dataIndex:[]};a.selected.push(n);var i=QM(e),o=u[t],r=e.getData(),s=g(t)?function(e){return d[e]?(n.dataIndex.push(r.getRawIndex(e)),"inBrush"):"outOfBrush"}:function(e){return XM(i,o,r,e)?(n.dataIndex.push(r.getRawIndex(e)),"inBrush"):"outOfBrush"};(g(t)?f:m(o))&&wM.applyVisual(GM,p,r,s)})}),function(e,t,n,i,o){if(!o)return;var r=e.getZr();if(r[KM])return;r[UM]||(r[UM]=ZM);Fu.createOrUpdate(r,UM,n,t)(e,i)}(t,i,o,r,n)});var JM={lineX:D.noop,lineY:D.noop,rect:function(e){return eO(e.range)},polygon:function(e){for(var t,n=e.range,i=0,o=n.length;i<o;i++){t=t||[[1/0,-1/0],[1/0,-1/0]];var r=n[i];r[0]<t[0][0]&&(t[0][0]=r[0]),r[0]>t[0][1]&&(t[0][1]=r[0]),r[1]<t[1][0]&&(t[1][0]=r[1]),r[1]>t[1][1]&&(t[1][1]=r[1])}return t&&eO(t)}};function eO(e){return new Vt(e[0][0],e[1][0],e[0][1]-e[0][0],e[1][1]-e[1][0])}var tO=["#ddd"];mm.extendComponentModel({type:"brush",dependencies:["geo","grid","xAxis","yAxis","parallel","series"],defaultOption:{toolbox:null,brushLink:null,seriesIndex:"all",geoIndex:null,xAxisIndex:null,yAxisIndex:null,brushType:"rect",brushMode:"single",transformable:!0,brushStyle:{borderWidth:1,color:"rgba(120,140,180,0.3)",borderColor:"rgba(120,140,180,0.8)"},throttleType:"fixRate",throttleDelay:0,removeOnClick:!0,z:1e4},areas:[],brushType:null,brushOption:{},coordInfoList:[],optionUpdated:function(e,t){var n=this.option;!t&&wM.replaceVisualOption(n,e,["inBrush","outOfBrush"]);var i=n.inBrush=n.inBrush||{};n.outOfBrush=n.outOfBrush||{color:tO},i.hasOwnProperty("liftZ")||(i.liftZ=5)},setAreas:function(e){e&&(this.areas=D.map(e,function(e){return nO(this.option,e)},this))},setBrushOption:function(e){this.brushOption=nO(this.option,e),this.brushType=this.brushOption.brushType}});function nO(e,t){return D.merge({brushType:e.brushType,brushMode:e.brushMode,transformable:e.transformable,brushStyle:new Ks(e.brushStyle).getItemStyle(),removeOnClick:e.removeOnClick,z:e.z},t,!0)}mm.extendComponentView({type:"brush",init:function(e,t){this.ecModel=e,this.api=t,this.model,(this._brushController=new Lk(t.getZr())).on("brush",D.bind(this._onBrush,this)).mount()},render:function(e){return this.model=e,iO.apply(this,arguments)},updateTransform:iO,updateView:iO,dispose:function(){this._brushController.dispose()},_onBrush:function(e,t){var n=this.model.id;this.model.brushTargetManager.setOutputRanges(e,this.ecModel),(!t.isEnd||t.removeOnClick)&&this.api.dispatchAction({type:"brush",brushId:n,areas:D.clone(e),$from:n})}});function iO(e,t,n,i){(!i||i.$from!==e.id)&&this._brushController.setPanels(e.brushTargetManager.makePanelOpts(n)).enableBrush(e.brushOption).updateCovers(e.areas.slice())}mm.registerAction({type:"brush",event:"brush"},function(e,t){t.eachComponent({mainType:"brush",query:e},function(t){t.setAreas(e.areas)})}),mm.registerAction({type:"brushSelect",event:"brushSelected",update:"none"},function(){});var oO={};var rO={register:function(e,t){oO[e]=t},get:function(e){return oO[e]}},aO=zu.toolbox.brush;function sO(e,t,n){this.model=e,this.ecModel=t,this.api=n,this._brushType,this._brushMode}sO.defaultOption={show:!0,type:["rect","polygon","lineX","lineY","keep","clear"],icon:{rect:"M7.3,34.7 M0.4,10V-0.2h9.8 M89.6,10V-0.2h-9.8 M0.4,60v10.2h9.8 M89.6,60v10.2h-9.8 M12.3,22.4V10.5h13.1 M33.6,10.5h7.8 M49.1,10.5h7.8 M77.5,22.4V10.5h-13 M12.3,31.1v8.2 M77.7,31.1v8.2 M12.3,47.6v11.9h13.1 M33.6,59.5h7.6 M49.1,59.5 h7.7 M77.5,47.6v11.9h-13",polygon:"M55.2,34.9c1.7,0,3.1,1.4,3.1,3.1s-1.4,3.1-3.1,3.1 s-3.1-1.4-3.1-3.1S53.5,34.9,55.2,34.9z M50.4,51c1.7,0,3.1,1.4,3.1,3.1c0,1.7-1.4,3.1-3.1,3.1c-1.7,0-3.1-1.4-3.1-3.1 C47.3,52.4,48.7,51,50.4,51z M55.6,37.1l1.5-7.8 M60.1,13.5l1.6-8.7l-7.8,4 M59,19l-1,5.3 M24,16.1l6.4,4.9l6.4-3.3 M48.5,11.6 l-5.9,3.1 M19.1,12.8L9.7,5.1l1.1,7.7 M13.4,29.8l1,7.3l6.6,1.6 M11.6,18.4l1,6.1 M32.8,41.9 M26.6,40.4 M27.3,40.2l6.1,1.6 M49.9,52.1l-5.6-7.6l-4.9-1.2",lineX:"M15.2,30 M19.7,15.6V1.9H29 M34.8,1.9H40.4 M55.3,15.6V1.9H45.9 M19.7,44.4V58.1H29 M34.8,58.1H40.4 M55.3,44.4 V58.1H45.9 M12.5,20.3l-9.4,9.6l9.6,9.8 M3.1,29.9h16.5 M62.5,20.3l9.4,9.6L62.3,39.7 M71.9,29.9H55.4",lineY:"M38.8,7.7 M52.7,12h13.2v9 M65.9,26.6V32 M52.7,46.3h13.2v-9 M24.9,12H11.8v9 M11.8,26.6V32 M24.9,46.3H11.8v-9 M48.2,5.1l-9.3-9l-9.4,9.2 M38.9-3.9V12 M48.2,53.3l-9.3,9l-9.4-9.2 M38.9,62.3V46.4",keep:"M4,10.5V1h10.3 M20.7,1h6.1 M33,1h6.1 M55.4,10.5V1H45.2 M4,17.3v6.6 M55.6,17.3v6.6 M4,30.5V40h10.3 M20.7,40 h6.1 M33,40h6.1 M55.4,30.5V40H45.2 M21,18.9h62.9v48.6H21V18.9z",clear:"M22,14.7l30.9,31 M52.9,14.7L22,45.7 M4.7,16.8V4.2h13.1 M26,4.2h7.8 M41.6,4.2h7.8 M70.3,16.8V4.2H57.2 M4.7,25.9v8.6 M70.3,25.9v8.6 M4.7,43.2v12.6h13.1 M26,55.8h7.8 M41.6,55.8h7.8 M70.3,43.2v12.6H57.2"},title:D.clone(aO.title)};var cO=sO.prototype;cO.render=cO.updateView=function(e,t,n){var i,o,r;t.eachComponent({mainType:"brush"},function(e){i=e.brushType,o=e.brushOption.brushMode||"single",r|=e.areas.length}),this._brushType=i,this._brushMode=o,D.each(e.get("type",!0),function(t){e.setIconStatus(t,("keep"===t?"multiple"===o:"clear"===t?r:t===i)?"emphasis":"normal")})},cO.getIcons=function(){var e=this.model,t=e.get("icon",!0),n={};return D.each(e.get("type",!0),function(e){t[e]&&(n[e]=t[e])}),n},cO.onclick=function(e,t,n){var i=this._brushType,o=this._brushMode;"clear"===n?(t.dispatchAction({type:"axisAreaSelect",intervals:[]}),t.dispatchAction({type:"brush",command:"clear",areas:[]})):t.dispatchAction({type:"takeGlobalCursor",key:"brush",brushOption:{brushType:"keep"===n?i:i!==n&&n,brushMode:"keep"===n?"multiple"===o?"single":"multiple":o}})},rO.register("brush",sO),mm.registerPreprocessor(vM);function lO(e,t,n){this._model=e}function dO(e,t,n,i){var o=n.calendarModel,r=n.seriesModel,a=o?o.coordinateSystem:r?r.coordinateSystem:null;return a===this?a[e](i):null}lO.prototype={constructor:lO,type:"calendar",dimensions:["time","value"],getDimensionsInfo:function(){return[{name:"time",type:"time"},"value"]},getRangeInfo:function(){return this._rangeInfo},getModel:function(){return this._model},getRect:function(){return this._rect},getCellWidth:function(){return this._sw},getCellHeight:function(){return this._sh},getOrient:function(){return this._orient},getFirstDayOfWeek:function(){return this._firstDayOfWeek},getDateInfo:function(e){var t=(e=tc.parseDate(e)).getFullYear(),n=e.getMonth()+1;n=n<10?"0"+n:n;var i=e.getDate();i=i<10?"0"+i:i;var o=e.getDay();return{y:t,m:n,d:i,day:o=Math.abs((o+7-this.getFirstDayOfWeek())%7),time:e.getTime(),formatedDate:t+"-"+n+"-"+i,date:e}},getNextNDay:function(e,t){return 0===(t=t||0)?this.getDateInfo(e):((e=new Date(this.getDateInfo(e).time)).setDate(e.getDate()+t),this.getDateInfo(e))},update:function(e,t){this._firstDayOfWeek=+this._model.getModel("dayLabel").get("firstDay"),this._orient=this._model.get("orient"),this._lineWidth=this._model.getModel("itemStyle").getItemStyle().lineWidth||0,this._rangeInfo=this._getRangeInfo(this._initRangeOption());var n=this._rangeInfo.weeks||1,i=["width","height"],o=this._model.get("cellSize").slice(),r=this._model.getBoxLayoutParams(),a="horizontal"===this._orient?[n,7]:[7,n];D.each([0,1],function(e){l(o,e)&&(r[i[e]]=o[e]*a[e])});var s={width:t.getWidth(),height:t.getHeight()},c=this._rect=yc.getLayoutRect(r,s);function l(e,t){return null!=e[t]&&"auto"!==e[t]}D.each([0,1],function(e){l(o,e)||(o[e]=c[i[e]]/a[e])}),this._sw=o[0],this._sh=o[1]},dataToPoint:function(e,t){D.isArray(e)&&(e=e[0]),null==t&&(t=!0);var n=this.getDateInfo(e),i=this._rangeInfo,o=n.formatedDate;if(t&&!(n.time>=i.start.time&&n.time<i.end.time+864e5))return[NaN,NaN];var r=n.day,a=this._getRangeInfo([i.start.time,o]).nthWeek;return"vertical"===this._orient?[this._rect.x+r*this._sw+this._sw/2,this._rect.y+a*this._sh+this._sh/2]:[this._rect.x+a*this._sw+this._sw/2,this._rect.y+r*this._sh+this._sh/2]},pointToData:function(e){var t=this.pointToDate(e);return t&&t.time},dataToRect:function(e,t){var n=this.dataToPoint(e,t);return{contentShape:{x:n[0]-(this._sw-this._lineWidth)/2,y:n[1]-(this._sh-this._lineWidth)/2,width:this._sw-this._lineWidth,height:this._sh-this._lineWidth},center:n,tl:[n[0]-this._sw/2,n[1]-this._sh/2],tr:[n[0]+this._sw/2,n[1]-this._sh/2],br:[n[0]+this._sw/2,n[1]+this._sh/2],bl:[n[0]-this._sw/2,n[1]+this._sh/2]}},pointToDate:function(e){var t=Math.floor((e[0]-this._rect.x)/this._sw)+1,n=Math.floor((e[1]-this._rect.y)/this._sh)+1,i=this._rangeInfo.range;return"vertical"===this._orient?this._getDateByWeeksAndDay(n,t-1,i):this._getDateByWeeksAndDay(t,n-1,i)},convertToPixel:D.curry(dO,"dataToPoint"),convertFromPixel:D.curry(dO,"pointToData"),_initRangeOption:function(){var e=this._model.get("range"),t=e;if(D.isArray(t)&&1===t.length&&(t=t[0]),/^\d{4}$/.test(t)&&(e=[t+"-01-01",t+"-12-31"]),/^\d{4}[\/|-]\d{1,2}$/.test(t)){var n=this.getDateInfo(t),i=n.date;i.setMonth(i.getMonth()+1);var o=this.getNextNDay(i,-1);e=[n.formatedDate,o.formatedDate]}/^\d{4}[\/|-]\d{1,2}[\/|-]\d{1,2}$/.test(t)&&(e=[t,t]);var r=this._getRangeInfo(e);return r.start.time>r.end.time&&e.reverse(),e},_getRangeInfo:function(e){var t;(e=[this.getDateInfo(e[0]),this.getDateInfo(e[1])])[0].time>e[1].time&&(t=!0,e.reverse());var n=Math.floor(e[1].time/864e5)-Math.floor(e[0].time/864e5)+1,i=new Date(e[0].time),o=i.getDate(),r=e[1].date.getDate();if(i.setDate(o+n-1),i.getDate()!==r)for(var a=i.getTime()-e[1].time>0?1:-1;i.getDate()!==r&&(i.getTime()-e[1].time)*a>0;)n-=a,i.setDate(o+n-1);var s=Math.floor((n+e[0].day+6)/7),c=t?1-s:s-1;return t&&e.reverse(),{range:[e[0].formatedDate,e[1].formatedDate],start:e[0],end:e[1],allDay:n,weeks:s,nthWeek:c,fweek:e[0].day,lweek:e[1].day}},_getDateByWeeksAndDay:function(e,t,n){var i=this._getRangeInfo(n);if(e>i.weeks||0===e&&t<i.fweek||e===i.weeks&&t>i.lweek)return!1;var o=7*(e-1)-i.fweek+t,r=new Date(i.start.time);return r.setDate(i.start.d+o),this.getDateInfo(r)}},lO.dimensions=lO.prototype.dimensions,lO.getDimensionsInfo=lO.prototype.getDimensionsInfo,lO.create=function(e,t){var n=[];return e.eachComponent("calendar",function(i){var o=new lO(i,e,t);n.push(o),i.coordinateSystem=o}),e.eachSeries(function(e){"calendar"===e.get("coordinateSystem")&&(e.coordinateSystem=n[e.get("calendarIndex")||0])}),n},zl.register("calendar",lO);var uO=yc.getLayoutParams,fO=yc.sizeCalculable,hO=yc.mergeLayoutParam,pO=kc.extend({type:"calendar",coordinateSystem:null,defaultOption:{zlevel:0,z:2,left:80,top:60,cellSize:20,orient:"horizontal",splitLine:{show:!0,lineStyle:{color:"#000",width:1,type:"solid"}},itemStyle:{color:"#fff",borderWidth:1,borderColor:"#ccc"},dayLabel:{show:!0,firstDay:0,position:"start",margin:"50%",nameMap:"en",color:"#000"},monthLabel:{show:!0,position:"start",margin:5,align:"center",nameMap:"en",formatter:null,color:"#000"},yearLabel:{show:!0,position:null,margin:30,formatter:null,color:"#ccc",fontFamily:"sans-serif",fontWeight:"bolder",fontSize:20}},init:function(e,t,n,i){var o=uO(e);pO.superApply(this,"init",arguments),gO(e,o)},mergeOption:function(e,t){pO.superApply(this,"mergeOption",arguments),gO(this.option,e)}});function gO(e,t){var n=e.cellSize;D.isArray(n)?1===n.length&&(n[1]=n[0]):n=e.cellSize=[n,n];var i=D.map([0,1],function(e){return fO(t,e)&&(n[e]="auto"),null!=n[e]&&"auto"!==n[e]});hO(e,t,{type:"box",ignoreSize:i})}var mO={EN:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],CN:["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"]},bO={EN:["S","M","T","W","T","F","S"],CN:["日","一","二","三","四","五","六"]},vO=(mm.extendComponentView({type:"calendar",_tlpoints:null,_blpoints:null,_firstDayOfMonth:null,_firstDayPoints:null,render:function(e,t,n){var i=this.group;i.removeAll();var o=e.coordinateSystem,r=o.getRangeInfo(),a=o.getOrient();this._renderDayRect(e,r,i),this._renderLines(e,r,a,i),this._renderYearText(e,r,a,i),this._renderMonthText(e,a,i),this._renderWeekText(e,r,a,i)},_renderDayRect:function(e,t,n){for(var i=e.coordinateSystem,o=e.getModel("itemStyle").getItemStyle(),r=i.getCellWidth(),a=i.getCellHeight(),s=t.start.time;s<=t.end.time;s=i.getNextNDay(s,1).time){var c=i.dataToRect([s],!1).tl,l=new Ls.Rect({shape:{x:c[0],y:c[1],width:r,height:a},cursor:"default",style:o});n.add(l)}},_renderLines:function(e,t,n,i){var o=this,r=e.coordinateSystem,a=e.getModel("splitLine.lineStyle").getLineStyle(),s=e.get("splitLine.show"),c=a.lineWidth;this._tlpoints=[],this._blpoints=[],this._firstDayOfMonth=[],this._firstDayPoints=[];for(var l=t.start,d=0;l.time<=t.end.time;d++){f(l.formatedDate),0===d&&(l=r.getDateInfo(t.start.y+"-"+t.start.m));var u=l.date;u.setMonth(u.getMonth()+1),l=r.getDateInfo(u)}function f(t){o._firstDayOfMonth.push(r.getDateInfo(t)),o._firstDayPoints.push(r.dataToRect([t],!1).tl);var c=o._getLinePointsOfOneWeek(e,t,n);o._tlpoints.push(c[0]),o._blpoints.push(c[c.length-1]),s&&o._drawSplitline(c,a,i)}f(r.getNextNDay(t.end.time,1).formatedDate),s&&this._drawSplitline(o._getEdgesPoints(o._tlpoints,c,n),a,i),s&&this._drawSplitline(o._getEdgesPoints(o._blpoints,c,n),a,i)},_getEdgesPoints:function(e,t,n){var i=[e[0].slice(),e[e.length-1].slice()],o="horizontal"===n?0:1;return i[0][o]=i[0][o]-t/2,i[1][o]=i[1][o]+t/2,i},_drawSplitline:function(e,t,n){var i=new Ls.Polyline({z2:20,shape:{points:e},style:t});n.add(i)},_getLinePointsOfOneWeek:function(e,t,n){var i=e.coordinateSystem;t=i.getDateInfo(t);for(var o=[],r=0;r<7;r++){var a=i.getNextNDay(t.time,r),s=i.dataToRect([a.time],!1);o[2*a.day]=s.tl,o[2*a.day+1]=s["horizontal"===n?"bl":"tr"]}return o},_formatterLabel:function(e,t){return"string"==typeof e&&e?cc.formatTplSimple(e,t):"function"==typeof e?e(t):t.nameMap},_yearTextPositionControl:function(e,t,n,i,o){t=t.slice();var r=["center","bottom"];"bottom"===i?(t[1]+=o,r=["center","top"]):"left"===i?t[0]-=o:"right"===i?(t[0]+=o,r=["center","top"]):t[1]-=o;var a=0;return"left"!==i&&"right"!==i||(a=Math.PI/2),{rotation:a,position:t,style:{textAlign:r[0],textVerticalAlign:r[1]}}},_renderYearText:function(e,t,n,i){var o=e.getModel("yearLabel");if(o.get("show")){var r=o.get("margin"),a=o.get("position");a||(a="horizontal"!==n?"top":"left");var s=[this._tlpoints[this._tlpoints.length-1],this._blpoints[0]],c=(s[0][0]+s[1][0])/2,l=(s[0][1]+s[1][1])/2,d="horizontal"===n?0:1,u={top:[c,s[d][1]],bottom:[c,s[1-d][1]],left:[s[1-d][0],l],right:[s[d][0],l]},f=t.start.y;+t.end.y>+t.start.y&&(f=f+"-"+t.end.y);var h=o.get("formatter"),p={start:t.start.y,end:t.end.y,nameMap:f},g=this._formatterLabel(h,p),m=new Ls.Text({z2:30});Ls.setTextStyle(m.style,o,{text:g}),m.attr(this._yearTextPositionControl(m,u[a],n,a,r)),i.add(m)}},_monthTextPositionControl:function(e,t,n,i,o){var r="left",a="top",s=e[0],c=e[1];return"horizontal"===n?(c+=o,t&&(r="center"),"start"===i&&(a="bottom")):(s+=o,t&&(a="middle"),"start"===i&&(r="right")),{x:s,y:c,textAlign:r,textVerticalAlign:a}},_renderMonthText:function(e,t,n){var i=e.getModel("monthLabel");if(i.get("show")){var o=i.get("nameMap"),r=i.get("margin"),a=i.get("position"),s=i.get("align"),c=[this._tlpoints,this._blpoints];D.isString(o)&&(o=mO[o.toUpperCase()]||[]);var l="start"===a?0:1,d="horizontal"===t?0:1;r="start"===a?-r:r;for(var u="center"===s,f=0;f<c[l].length-1;f++){var h=c[l][f].slice(),p=this._firstDayOfMonth[f];if(u){var g=this._firstDayPoints[f];h[d]=(g[d]+c[0][f+1][d])/2}var m=i.get("formatter"),b=o[+p.m-1],v={yyyy:p.y,yy:(p.y+"").slice(2),MM:p.m,M:+p.m,nameMap:b},y=this._formatterLabel(m,v),_=new Ls.Text({z2:30});D.extend(Ls.setTextStyle(_.style,i,{text:y}),this._monthTextPositionControl(h,u,t,a,r)),n.add(_)}}},_weekTextPositionControl:function(e,t,n,i,o){var r="center",a="middle",s=e[0],c=e[1],l="start"===n;return"horizontal"===t?(s=s+i+(l?1:-1)*o[0]/2,r=l?"right":"left"):(c=c+i+(l?1:-1)*o[1]/2,a=l?"bottom":"top"),{x:s,y:c,textAlign:r,textVerticalAlign:a}},_renderWeekText:function(e,t,n,i){var o=e.getModel("dayLabel");if(o.get("show")){var r=e.coordinateSystem,a=o.get("position"),s=o.get("nameMap"),c=o.get("margin"),l=r.getFirstDayOfWeek();D.isString(s)&&(s=bO[s.toUpperCase()]||[]);var d=r.getNextNDay(t.end.time,7-t.lweek).time,u=[r.getCellWidth(),r.getCellHeight()];c=tc.parsePercent(c,u["horizontal"===n?0:1]),"start"===a&&(d=r.getNextNDay(t.start.time,-(7+t.fweek)).time,c=-c);for(var f=0;f<7;f++){var h,p=r.getNextNDay(d,f),g=r.dataToRect([p.time],!1).center;h=Math.abs((f+l)%7);var m=new Ls.Text({z2:30});D.extend(Ls.setTextStyle(m.style,o,{text:s[h]}),this._weekTextPositionControl(g,n,a,c,u)),i.add(m)}}}}),yc.getLayoutRect);mm.extendComponentModel({type:"title",layoutMode:{type:"box",ignoreSize:!0},defaultOption:{zlevel:0,z:6,show:!0,text:"",target:"blank",subtext:"",subtarget:"blank",left:0,top:0,backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderWidth:0,padding:5,itemGap:10,textStyle:{fontSize:18,fontWeight:"bolder",color:"#333"},subtextStyle:{color:"#aaa"}}}),mm.extendComponentView({type:"title",render:function(e,t,n){if(this.group.removeAll(),e.get("show")){var i=this.group,o=e.getModel("textStyle"),r=e.getModel("subtextStyle"),a=e.get("textAlign"),s=e.get("textBaseline"),c=new Ls.Text({style:Ls.setTextStyle({},o,{text:e.get("text"),textFill:o.getTextColor()},{disableBox:!0}),z2:10}),l=c.getBoundingRect(),d=e.get("subtext"),u=new Ls.Text({style:Ls.setTextStyle({},r,{text:d,textFill:r.getTextColor(),y:l.height+e.get("itemGap"),textVerticalAlign:"top"},{disableBox:!0}),z2:10}),f=e.get("link"),h=e.get("sublink"),p=e.get("triggerEvent",!0);c.silent=!f&&!p,u.silent=!h&&!p,f&&c.on("click",function(){window.open(f,"_"+e.get("target"))}),h&&u.on("click",function(){window.open(h,"_"+e.get("subtarget"))}),c.eventData=u.eventData=p?{componentType:"title",componentIndex:e.componentIndex}:null,i.add(c),d&&i.add(u);var g=i.getBoundingRect(),m=e.getBoxLayoutParams();m.width=g.width,m.height=g.height;var b=vO(m,{width:n.getWidth(),height:n.getHeight()},e.get("padding"));a||("middle"===(a=e.get("left")||e.get("right"))&&(a="center"),"right"===a?b.x+=b.width:"center"===a&&(b.x+=b.width/2)),s||("center"===(s=e.get("top")||e.get("bottom"))&&(s="middle"),"bottom"===s?b.y+=b.height:"middle"===s&&(b.y+=b.height/2),s=s||"top"),i.attr("position",[b.x,b.y]);var v={textAlign:a,textVerticalAlign:s};c.setStyle(v),u.setStyle(v),g=i.getBoundingRect();var y=b.margin,_=e.getItemStyle(["color","opacity"]);_.fill=e.get("backgroundColor");var w=new Ls.Rect({shape:{x:g.x-y[3],y:g.y-y[0],width:g.width+y[1]+y[3],height:g.height+y[0]+y[2],r:e.get("borderRadius")},style:_,silent:!0});Ls.subPixelOptimizeRect(w),i.add(w)}}}),kc.registerSubTypeDefaulter("dataZoom",function(){return"slider"});var yO=["cartesian2d","polar","singleAxis"];function _O(e,t){e=e.slice();var n=D.map(e,cc.capitalFirst);t=(t||[]).slice();var i=D.map(t,cc.capitalFirst);return function(o,r){D.each(e,function(e,a){for(var s={name:e,capital:n[a]},c=0;c<t.length;c++)s[t[c]]=e+i[c];o.call(r,s)})}}var wO={isCoordSupported:function(e){return D.indexOf(yO,e)>=0},createNameEach:_O,eachAxisDim:_O(["x","y","z","radius","angle","single"],["axisIndex","axis","index","id"]),createLinkedNodesFinder:function(e,t,n){return function(o){var r,a={nodes:[],records:{}};if(t(function(e){a.records[e.name]={}}),!o)return a;i(o,a);do{r=!1,e(s)}while(r);function s(e){!function(e,t){return D.indexOf(t.nodes,e)>=0}(e,a)&&function(e,i){var o=!1;return t(function(t){D.each(n(e,t)||[],function(e){i.records[t.name][e]&&(o=!0)})}),o}(e,a)&&(i(e,a),r=!0)}return a};function i(e,i){i.nodes.push(e),t(function(t){D.each(n(e,t)||[],function(e){i.records[t.name][e]=!0})})}}},xO=D.each,SO=tc.asc,TO=function(e,t,n,i){this._dimName=e,this._axisIndex=t,this._valueWindow,this._percentWindow,this._dataExtent,this._minMaxSpan,this.ecModel=i,this._dataZoomModel=n};function kO(e,t){var n=e.getAxisModel(),i=e._percentWindow,o=e._valueWindow;if(i){var r=tc.getPixelPrecision(o,[0,500]);r=Math.min(r,20);var a=t||0===i[0]&&100===i[1];n.setRange(a?null:+o[0].toFixed(r),a?null:+o[1].toFixed(r))}}TO.prototype={constructor:TO,hostedBy:function(e){return this._dataZoomModel===e},getDataValueWindow:function(){return this._valueWindow.slice()},getDataPercentWindow:function(){return this._percentWindow.slice()},getTargetSeriesModels:function(){var e=[],t=this.ecModel;return t.eachSeries(function(n){if(wO.isCoordSupported(n.get("coordinateSystem"))){var i=this._dimName,o=t.queryComponents({mainType:i+"Axis",index:n.get(i+"AxisIndex"),id:n.get(i+"AxisId")})[0];this._axisIndex===(o&&o.componentIndex)&&e.push(n)}},this),e},getAxisModel:function(){return this.ecModel.getComponent(this._dimName+"Axis",this._axisIndex)},getOtherAxisModel:function(){var e,t,n,i=this._dimName,o=this.ecModel,r=this.getAxisModel();return"x"===i||"y"===i?(t="gridIndex",e="x"===i?"y":"x"):(t="polarIndex",e="angle"===i?"radius":"angle"),o.eachComponent(e+"Axis",function(e){(e.get(t)||0)===(r.get(t)||0)&&(n=e)}),n},getMinMaxSpan:function(){return D.clone(this._minMaxSpan)},calculateDataWindow:function(e){var t=this._dataExtent,n=this.getAxisModel().axis.scale,i=this._dataZoomModel.getRangePropMode(),o=[0,100],r=[e.start,e.end],a=[];return xO(["startValue","endValue"],function(t){a.push(null!=e[t]?n.parse(e[t]):null)}),xO([0,1],function(e){var s=a[e],c=r[e];"percent"===i[e]?(null==c&&(c=o[e]),s=n.parse(tc.linearMap(c,o,t,!0))):c=tc.linearMap(s,t,o,!0),a[e]=s,r[e]=c}),{valueWindow:SO(a),percentWindow:SO(r)}},reset:function(e){if(e===this._dataZoomModel){var t=this.getTargetSeriesModels();this._dataExtent=function(e,t,n){var i=[1/0,-1/0];xO(n,function(e){var n=e.getData();n&&xO(n.mapDimension(t,!0),function(e){var t=n.getApproximateExtent(e);t[0]<i[0]&&(i[0]=t[0]),t[1]>i[1]&&(i[1]=t[1])})}),i[1]<i[0]&&(i=[NaN,NaN]);return function(e,t){var n=e.getAxisModel(),i=n.getMin(!0),o="category"===n.get("type"),r=o&&n.getCategories().length;null!=i&&"dataMin"!==i&&"function"!=typeof i?t[0]=i:o&&(t[0]=r>0?0:NaN);var a=n.getMax(!0);null!=a&&"dataMax"!==a&&"function"!=typeof a?t[1]=a:o&&(t[1]=r>0?r-1:NaN),n.get("scale",!0)||(t[0]>0&&(t[0]=0),t[1]<0&&(t[1]=0))}(e,i),i}(this,this._dimName,t);var n=this.calculateDataWindow(e.option);this._valueWindow=n.valueWindow,this._percentWindow=n.percentWindow,function(e){var t=e._minMaxSpan={},n=e._dataZoomModel;xO(["min","max"],function(i){t[i+"Span"]=n.get(i+"Span");var o=n.get(i+"ValueSpan");if(null!=o&&(t[i+"ValueSpan"]=o,null!=(o=e.getAxisModel().axis.scale.parse(o)))){var r=e._dataExtent;t[i+"Span"]=tc.linearMap(r[0]+o,r,[0,100],!0)}})}(this),kO(this)}},restore:function(e){e===this._dataZoomModel&&(this._valueWindow=this._percentWindow=null,kO(this,!0))},filterData:function(e,t){if(e===this._dataZoomModel){var n=this._dimName,i=this.getTargetSeriesModels(),o=e.get("filterMode"),r=this._valueWindow;"none"!==o&&xO(i,function(e){var t=e.getData(),i=t.mapDimension(n,!0);i.length&&("weakFilter"===o?t.filterSelf(function(e){for(var n,o,a,s=0;s<i.length;s++){var c=t.get(i[s],e),l=!isNaN(c),d=c<r[0],u=c>r[1];if(l&&!d&&!u)return!0;l&&(a=!0),d&&(n=!0),u&&(o=!0)}return a&&n&&o}):xO(i,function(n){if("empty"===o)e.setData(t.map(n,function(e){return function(e){return e>=r[0]&&e<=r[1]}(e)?e:NaN}));else{var i={};i[n]=r,t.selectRange(i)}}),xO(i,function(e){t.setApproximateExtent(r,e)}))})}}};var CO=TO,jO=D.each,AO=wO.eachAxisDim;function EO(e){var t={};return jO(["start","end","startValue","endValue","throttle"],function(n){e.hasOwnProperty(n)&&(t[n]=e[n])}),t}function IO(e,t){var n=e._rangePropMode,i=e.get("rangeMode");jO([["start","startValue"],["end","endValue"]],function(e,o){var r=null!=t[e[0]],a=null!=t[e[1]];r&&!a?n[o]="percent":!r&&a?n[o]="value":i?n[o]=i[o]:r&&(n[o]="percent")})}var MO=mm.extendComponentModel({type:"dataZoom",dependencies:["xAxis","yAxis","zAxis","radiusAxis","angleAxis","singleAxis","series"],defaultOption:{zlevel:0,z:4,orient:null,xAxisIndex:null,yAxisIndex:null,filterMode:"filter",throttle:null,start:0,end:100,startValue:null,endValue:null,minSpan:null,maxSpan:null,minValueSpan:null,maxValueSpan:null,rangeMode:null},init:function(e,t,n){this._dataIntervalByAxis={},this._dataInfo={},this._axisProxies={},this.textStyleModel,this._autoThrottle=!0,this._rangePropMode=["percent","percent"];var i=EO(e);this.mergeDefaultAndTheme(e,n),this.doInit(i)},mergeOption:function(e){var t=EO(e);D.merge(this.option,e,!0),this.doInit(t)},doInit:function(e){var t=this.option;c.canvasSupported||(t.realtime=!1),this._setDefaultThrottle(e),IO(this,e),jO([["start","startValue"],["end","endValue"]],function(e,n){"value"===this._rangePropMode[n]&&(t[e[0]]=null)},this),this.textStyleModel=this.getModel("textStyle"),this._resetTarget(),this._giveAxisProxies()},_giveAxisProxies:function(){var e=this._axisProxies;this.eachTargetAxis(function(t,n,i,o){var r=this.dependentModels[t.axis][n],a=r.__dzAxisProxy||(r.__dzAxisProxy=new CO(t.name,n,this,o));e[t.name+"_"+n]=a},this)},_resetTarget:function(){var e=this.option,t=this._judgeAutoMode();AO(function(t){var n=t.axisIndex;e[n]=ro.normalizeToArray(e[n])},this),"axisIndex"===t?this._autoSetAxisIndex():"orient"===t&&this._autoSetOrient()},_judgeAutoMode:function(){var e=this.option,t=!1;AO(function(n){null!=e[n.axisIndex]&&(t=!0)},this);var n=e.orient;return null==n&&t?"orient":t?void 0:(null==n&&(e.orient="horizontal"),"axisIndex")},_autoSetAxisIndex:function(){var e=!0,t=this.get("orient",!0),n=this.option,i=this.dependentModels;if(e){var o="vertical"===t?"y":"x";i[o+"Axis"].length?(n[o+"AxisIndex"]=[0],e=!1):jO(i.singleAxis,function(i){e&&i.get("orient",!0)===t&&(n.singleAxisIndex=[i.componentIndex],e=!1)})}e&&AO(function(t){if(e){var i=[],o=this.dependentModels[t.axis];if(o.length&&!i.length)for(var r=0,a=o.length;r<a;r++)"category"===o[r].get("type")&&i.push(r);n[t.axisIndex]=i,i.length&&(e=!1)}},this),e&&this.ecModel.eachSeries(function(e){this._isSeriesHasAllAxesTypeOf(e,"value")&&AO(function(t){var i=n[t.axisIndex],o=e.get(t.axisIndex),r=e.get(t.axisId);o=e.ecModel.queryComponents({mainType:t.axis,index:o,id:r})[0].componentIndex,D.indexOf(i,o)<0&&i.push(o)})},this)},_autoSetOrient:function(){var e;this.eachTargetAxis(function(t){!e&&(e=t.name)},this),this.option.orient="y"===e?"vertical":"horizontal"},_isSeriesHasAllAxesTypeOf:function(e,t){var n=!0;return AO(function(i){var o=e.get(i.axisIndex),r=this.dependentModels[i.axis][o];r&&r.get("type")===t||(n=!1)},this),n},_setDefaultThrottle:function(e){if(e.hasOwnProperty("throttle")&&(this._autoThrottle=!1),this._autoThrottle){var t=this.ecModel.option;this.option.throttle=t.animation&&t.animationDurationUpdate>0?100:20}},getFirstTargetAxisModel:function(){var e;return AO(function(t){if(null==e){var n=this.get(t.axisIndex);n.length&&(e=this.dependentModels[t.axis][n[0]])}},this),e},eachTargetAxis:function(e,t){var n=this.ecModel;AO(function(i){jO(this.get(i.axisIndex),function(o){e.call(t,i,o,this,n)},this)},this)},getAxisProxy:function(e,t){return this._axisProxies[e+"_"+t]},getAxisModel:function(e,t){var n=this.getAxisProxy(e,t);return n&&n.getAxisModel()},setRawRange:function(e,t){var n=this.option;jO([["start","startValue"],["end","endValue"]],function(t){null==e[t[0]]&&null==e[t[1]]||(n[t[0]]=e[t[0]],n[t[1]]=e[t[1]])},this),!t&&IO(this,e)},getPercentRange:function(){var e=this.findRepresentativeAxisProxy();if(e)return e.getDataPercentWindow()},getValueRange:function(e,t){if(null!=e||null!=t)return this.getAxisProxy(e,t).getDataValueWindow();var n=this.findRepresentativeAxisProxy();return n?n.getDataValueWindow():void 0},findRepresentativeAxisProxy:function(e){if(e)return e.__dzAxisProxy;var t=this._axisProxies;for(var n in t)if(t.hasOwnProperty(n)&&t[n].hostedBy(this))return t[n];for(var n in t)if(t.hasOwnProperty(n)&&!t[n].hostedBy(this))return t[n]},getRangePropMode:function(){return this._rangePropMode.slice()}}),OO=_u.extend({type:"dataZoom",render:function(e,t,n,i){this.dataZoomModel=e,this.ecModel=t,this.api=n},getTargetCoordInfo:function(){var e=this.dataZoomModel,t=this.ecModel,n={};return e.eachTargetAxis(function(e,i){var o=t.getComponent(e.axis,i);if(o){var r=o.getCoordSysModel();r&&function(e,t,n,i){for(var o,r=0;r<n.length;r++)if(n[r].model===e){o=n[r];break}o||n.push(o={model:e,axisModels:[],coordIndex:i});o.axisModels.push(t)}(r,o,n[r.mainType]||(n[r.mainType]=[]),r.componentIndex)}},this),n}}),DO=(MO.extend({type:"dataZoom.slider",layoutMode:"box",defaultOption:{show:!0,right:"ph",top:"ph",width:"ph",height:"ph",left:null,bottom:null,backgroundColor:"rgba(47,69,84,0)",dataBackground:{lineStyle:{color:"#2f4554",width:.5,opacity:.3},areaStyle:{color:"rgba(47,69,84,0.3)",opacity:.3}},borderColor:"#ddd",fillerColor:"rgba(167,183,204,0.4)",handleIcon:"M8.2,13.6V3.9H6.3v9.7H3.1v14.9h3.3v9.7h1.8v-9.7h3.3V13.6H8.2z M9.7,24.4H4.8v-1.4h4.9V24.4z M9.7,19.1H4.8v-1.4h4.9V19.1z",handleSize:"100%",handleStyle:{color:"#a7b7cc"},labelPrecision:null,labelFormatter:null,showDetail:!0,showDataShadow:"auto",realtime:!0,zoomLock:!1,textStyle:{color:"#333"}}}),Ls.Rect),VO=tc.linearMap,LO=tc.asc,PO=D.bind,NO=D.each,RO="horizontal",FO=5,BO=["line","bar","candlestick","scatter"],zO=OO.extend({type:"dataZoom.slider",init:function(e,t){this._displayables={},this._orient,this._range,this._handleEnds,this._size,this._handleWidth,this._handleHeight,this._location,this._dragging,this._dataShadowInfo,this.api=t},render:function(e,t,n,i){zO.superApply(this,"render",arguments),Fu.createOrUpdate(this,"_dispatchZoomAction",this.dataZoomModel.get("throttle"),"fixRate"),this._orient=e.get("orient"),!1!==this.dataZoomModel.get("show")?(i&&"dataZoom"===i.type&&i.from===this.uid||this._buildView(),this._updateView()):this.group.removeAll()},remove:function(){zO.superApply(this,"remove",arguments),Fu.clear(this,"_dispatchZoomAction")},dispose:function(){zO.superApply(this,"dispose",arguments),Fu.clear(this,"_dispatchZoomAction")},_buildView:function(){var e=this.group;e.removeAll(),this._resetLocation(),this._resetInterval();var t=this._displayables.barGroup=new Ls.Group;this._renderBackground(),this._renderHandle(),this._renderDataShadow(),e.add(t),this._positionGroup()},_resetLocation:function(){var e=this.dataZoomModel,t=this.api,n=this._findCoordRect(),i={width:t.getWidth(),height:t.getHeight()},o=this._orient===RO?{right:i.width-n.x-n.width,top:i.height-30-7,width:n.width,height:30}:{right:7,top:n.y,width:30,height:n.height},r=yc.getLayoutParams(e.option);D.each(["right","top","width","height"],function(e){"ph"===r[e]&&(r[e]=o[e])});var a=yc.getLayoutRect(r,i,e.padding);this._location={x:a.x,y:a.y},this._size=[a.width,a.height],"vertical"===this._orient&&this._size.reverse()},_positionGroup:function(){var e=this.group,t=this._location,n=this._orient,i=this.dataZoomModel.getFirstTargetAxisModel(),o=i&&i.get("inverse"),r=this._displayables.barGroup,a=(this._dataShadowInfo||{}).otherAxisInverse;r.attr(n!==RO||o?n===RO&&o?{scale:a?[-1,1]:[-1,-1]}:"vertical"!==n||o?{scale:a?[-1,-1]:[-1,1],rotation:Math.PI/2}:{scale:a?[1,-1]:[1,1],rotation:Math.PI/2}:{scale:a?[1,1]:[1,-1]});var s=e.getBoundingRect([r]);e.attr("position",[t.x-s.x,t.y-s.y])},_getViewExtent:function(){return[0,this._size[0]]},_renderBackground:function(){var e=this.dataZoomModel,t=this._size,n=this._displayables.barGroup;n.add(new DO({silent:!0,shape:{x:0,y:0,width:t[0],height:t[1]},style:{fill:e.get("backgroundColor")},z2:-40})),n.add(new DO({shape:{x:0,y:0,width:t[0],height:t[1]},style:{fill:"transparent"},z2:0,onclick:D.bind(this._onClickPanelClick,this)}))},_renderDataShadow:function(){var e=this._dataShadowInfo=this._prepareDataShadowInfo();if(e){var t=this._size,n=e.series,i=n.getRawData(),o=n.getShadowDim?n.getShadowDim():e.otherDim;if(null!=o){var r=i.getDataExtent(o),a=.3*(r[1]-r[0]);r=[r[0]-a,r[1]+a];var s,c=[0,t[1]],l=[0,t[0]],d=[[t[0],0],[0,0]],u=[],f=l[1]/(i.count()-1),h=0,p=Math.round(i.count()/t[0]);i.each([o],function(e,t){if(p>0&&t%p)h+=f;else{var n=null==e||isNaN(e)||""===e,i=n?0:VO(e,r,c,!0);n&&!s&&t?(d.push([d[d.length-1][0],0]),u.push([u[u.length-1][0],0])):!n&&s&&(d.push([h,0]),u.push([h,0])),d.push([h,i]),u.push([h,i]),h+=f,s=n}});var g=this.dataZoomModel;this._displayables.barGroup.add(new Ls.Polygon({shape:{points:d},style:D.defaults({fill:g.get("dataBackgroundColor")},g.getModel("dataBackground.areaStyle").getAreaStyle()),silent:!0,z2:-20})),this._displayables.barGroup.add(new Ls.Polyline({shape:{points:u},style:g.getModel("dataBackground.lineStyle").getLineStyle(),silent:!0,z2:-19}))}}},_prepareDataShadowInfo:function(){var e=this.dataZoomModel,t=e.get("showDataShadow");if(!1!==t){var n,i=this.ecModel;return e.eachTargetAxis(function(o,r){var a=e.getAxisProxy(o.name,r).getTargetSeriesModels();D.each(a,function(e){if(!(n||!0!==t&&D.indexOf(BO,e.get("type"))<0)){var a,s=i.getComponent(o.axis,r).axis,c={x:"y",y:"x",radius:"angle",angle:"radius"}[o.name],l=e.coordinateSystem;null!=c&&l.getOtherAxis&&(a=l.getOtherAxis(s).inverse),c=e.getData().mapDimension(c),n={thisAxis:s,series:e,thisDim:o.name,otherDim:c,otherAxisInverse:a}}},this)},this),n}},_renderHandle:function(){var e=this._displayables,t=e.handles=[],n=e.handleLabels=[],i=this._displayables.barGroup,o=this._size,r=this.dataZoomModel;i.add(e.filler=new DO({draggable:!0,cursor:HO(this._orient),drift:PO(this._onDragMove,this,"all"),onmousemove:function(e){Q.stop(e.event)},ondragstart:PO(this._showDataInfo,this,!0),ondragend:PO(this._onDragEnd,this),onmouseover:PO(this._showDataInfo,this,!0),onmouseout:PO(this._showDataInfo,this,!1),style:{fill:r.get("fillerColor"),textPosition:"inside"}})),i.add(new DO(Ls.subPixelOptimizeRect({silent:!0,shape:{x:0,y:0,width:o[0],height:o[1]},style:{stroke:r.get("dataBackgroundColor")||r.get("borderColor"),lineWidth:1,fill:"rgba(0,0,0,0)"}}))),NO([0,1],function(e){var o=Ls.createIcon(r.get("handleIcon"),{cursor:HO(this._orient),draggable:!0,drift:PO(this._onDragMove,this,e),onmousemove:function(e){Q.stop(e.event)},ondragend:PO(this._onDragEnd,this),onmouseover:PO(this._showDataInfo,this,!0),onmouseout:PO(this._showDataInfo,this,!1)},{x:-1,y:0,width:2,height:2}),a=o.getBoundingRect();this._handleHeight=tc.parsePercent(r.get("handleSize"),this._size[1]),this._handleWidth=a.width/a.height*this._handleHeight,o.setStyle(r.getModel("handleStyle").getItemStyle());var s=r.get("handleColor");null!=s&&(o.style.fill=s),i.add(t[e]=o);var c=r.textStyleModel;this.group.add(n[e]=new Ls.Text({silent:!0,invisible:!0,style:{x:0,y:0,text:"",textVerticalAlign:"middle",textAlign:"center",textFill:c.getTextColor(),textFont:c.getFont()},z2:10}))},this)},_resetInterval:function(){var e=this._range=this.dataZoomModel.getPercentRange(),t=this._getViewExtent();this._handleEnds=[VO(e[0],[0,100],t,!0),VO(e[1],[0,100],t,!0)]},_updateInterval:function(e,t){var n=this.dataZoomModel,i=this._handleEnds,o=this._getViewExtent(),r=n.findRepresentativeAxisProxy().getMinMaxSpan(),a=[0,100];DT(t,i,o,n.get("zoomLock")?"all":e,null!=r.minSpan?VO(r.minSpan,a,o,!0):null,null!=r.maxSpan?VO(r.maxSpan,a,o,!0):null);var s=this._range,c=this._range=LO([VO(i[0],o,a,!0),VO(i[1],o,a,!0)]);return!s||s[0]!==c[0]||s[1]!==c[1]},_updateView:function(e){var t=this._displayables,n=this._handleEnds,i=LO(n.slice()),o=this._size;NO([0,1],function(e){var i=t.handles[e],r=this._handleHeight;i.attr({scale:[r/2,r/2],position:[n[e],o[1]/2-r/2]})},this),t.filler.setShape({x:i[0],y:0,width:i[1]-i[0],height:o[1]}),this._updateDataInfo(e)},_updateDataInfo:function(e){var t=this.dataZoomModel,n=this._displayables,i=n.handleLabels,o=this._orient,r=["",""];if(t.get("showDetail")){var a=t.findRepresentativeAxisProxy();if(a){var s=a.getAxisModel().axis,c=this._range,l=e?a.calculateDataWindow({start:c[0],end:c[1]}).valueWindow:a.getDataValueWindow();r=[this._formatLabel(l[0],s),this._formatLabel(l[1],s)]}}var d=LO(this._handleEnds.slice());function u(e){var t=Ls.getTransform(n.handles[e].parent,this.group),a=Ls.transformDirection(0===e?"right":"left",t),s=this._handleWidth/2+FO,c=Ls.applyTransform([d[e]+(0===e?-s:s),this._size[1]/2],t);i[e].setStyle({x:c[0],y:c[1],textVerticalAlign:o===RO?"middle":a,textAlign:o===RO?a:"center",text:r[e]})}u.call(this,0),u.call(this,1)},_formatLabel:function(e,t){var n=this.dataZoomModel,i=n.get("labelFormatter"),o=n.get("labelPrecision");null!=o&&"auto"!==o||(o=t.getPixelPrecision());var r=null==e||isNaN(e)?"":"category"===t.type||"time"===t.type?t.scale.getLabel(Math.round(e)):e.toFixed(Math.min(o,20));return D.isFunction(i)?i(e,r):D.isString(i)?i.replace("{value}",r):r},_showDataInfo:function(e){e=this._dragging||e;var t=this._displayables.handleLabels;t[0].attr("invisible",!e),t[1].attr("invisible",!e)},_onDragMove:function(e,t,n){this._dragging=!0;var i=this._displayables.barGroup.getLocalTransform(),o=Ls.applyTransform([t,n],i,!0),r=this._updateInterval(e,o[0]),a=this.dataZoomModel.get("realtime");this._updateView(!a),r&&a&&this._dispatchZoomAction()},_onDragEnd:function(){this._dragging=!1,this._showDataInfo(!1),!this.dataZoomModel.get("realtime")&&this._dispatchZoomAction()},_onClickPanelClick:function(e){var t=this._size,n=this._displayables.barGroup.transformCoordToLocal(e.offsetX,e.offsetY);if(!(n[0]<0||n[0]>t[0]||n[1]<0||n[1]>t[1])){var i=this._handleEnds,o=(i[0]+i[1])/2,r=this._updateInterval("all",n[0]-o);this._updateView(),r&&this._dispatchZoomAction()}},_dispatchZoomAction:function(){var e=this._range;this.api.dispatchAction({type:"dataZoom",from:this.uid,dataZoomId:this.dataZoomModel.id,start:e[0],end:e[1]})},_findCoordRect:function(){var e;if(NO(this.getTargetCoordInfo(),function(t){if(!e&&t.length){var n=t[0].model.coordinateSystem;e=n.getRect&&n.getRect()}}),!e){var t=this.api.getWidth(),n=this.api.getHeight();e={x:.2*t,y:.2*n,width:.6*t,height:.6*n}}return e}});function HO(e){return"vertical"===e?"ns-resize":"ew-resize"}MO.extend({type:"dataZoom.inside",defaultOption:{disabled:!1,zoomLock:!1,zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!1,preventDefaultMouseMove:!0}});var $O="\0_ec_dataZoom_roams";function qO(e){var t=e.getZr();return t[$O]||(t[$O]={})}function WO(e){D.each(e,function(t,n){t.count||(t.controller.dispose(),delete e[n])})}function GO(e,t){e.dispatchAction({type:"dataZoom",batch:t})}var UO={register:function(e,t){var n=qO(e),i=t.dataZoomId,o=t.coordId;D.each(n,function(e,n){var r=e.dataZoomInfos;r[i]&&D.indexOf(t.allCoordIds,o)<0&&(delete r[i],e.count--)}),WO(n);var r=n[o];r||((r=n[o]={coordId:o,dataZoomInfos:{},count:0}).controller=function(e,t){var n=new H_(e.getZr());return D.each(["pan","zoom","scrollMove"],function(e){n.on(e,function(n){var i=[];D.each(t.dataZoomInfos,function(o){if(n.isAvailableBehavior(o.dataZoomModel.option)){var r=(o.getRange||{})[e],a=r&&r(t.controller,n);!o.dataZoomModel.get("disabled",!0)&&a&&i.push({dataZoomId:o.dataZoomId,start:a[0],end:a[1]})}}),i.length&&t.dispatchAction(i)})}),n}(e,r),r.dispatchAction=D.curry(GO,e)),!r.dataZoomInfos[i]&&r.count++,r.dataZoomInfos[i]=t;var a,s,c,l,d=(a=r.dataZoomInfos,c={type_true:2,type_move:1,type_false:0,type_undefined:-1},l=!0,D.each(a,function(e){var t=e.dataZoomModel,n=!t.get("disabled",!0)&&(!t.get("zoomLock",!0)||"move");c["type_"+n]>c["type_"+s]&&(s=n),l&=t.get("preventDefaultMouseMove",!0)}),{controlType:s,opt:{zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!0,preventDefaultMouseMove:!!l}});r.controller.enable(d.controlType,d.opt),r.controller.setPointerChecker(t.containsPoint),Fu.createOrUpdate(r,"dispatchAction",t.dataZoomModel.get("throttle",!0),"fixRate")},unregister:function(e,t){var n=qO(e);D.each(n,function(e){e.controller.dispose();var n=e.dataZoomInfos;n[t]&&(delete n[t],e.count--)}),WO(n)},generateCoordId:function(e){return e.type+"\0_"+e.id}},KO=D.bind,YO=OO.extend({type:"dataZoom.inside",init:function(e,t){this._range},render:function(e,t,n,i){YO.superApply(this,"render",arguments),this._range=e.getPercentRange(),D.each(this.getTargetCoordInfo(),function(t,i){var o=D.map(t,function(e){return UO.generateCoordId(e.model)});D.each(t,function(t){var r=t.model,a={};D.each(["pan","zoom","scrollMove"],function(e){a[e]=KO(ZO[e],this,t,i)},this),UO.register(n,{coordId:UO.generateCoordId(r),allCoordIds:o,containsPoint:function(e,t,n){return r.coordinateSystem.containPoint([t,n])},dataZoomId:e.id,dataZoomModel:e,getRange:a})},this)},this)},dispose:function(){UO.unregister(this.api,this.dataZoomModel.id),YO.superApply(this,"dispose",arguments),this._range=null}}),ZO={zoom:function(e,t,n,i){var o=this._range,r=o.slice(),a=e.axisModels[0];if(a){var s=QO[t](null,[i.originX,i.originY],a,n,e),c=(s.signal>0?s.pixelStart+s.pixelLength-s.pixel:s.pixel-s.pixelStart)/s.pixelLength*(r[1]-r[0])+r[0],l=Math.max(1/i.scale,0);r[0]=(r[0]-c)*l+c,r[1]=(r[1]-c)*l+c;var d=this.dataZoomModel.findRepresentativeAxisProxy().getMinMaxSpan();return DT(0,r,[0,100],0,d.minSpan,d.maxSpan),this._range=r,o[0]!==r[0]||o[1]!==r[1]?r:void 0}},pan:XO(function(e,t,n,i,o,r){var a=QO[i]([r.oldX,r.oldY],[r.newX,r.newY],t,o,n);return a.signal*(e[1]-e[0])*a.pixel/a.pixelLength}),scrollMove:XO(function(e,t,n,i,o,r){return QO[i]([0,0],[r.scrollDelta,r.scrollDelta],t,o,n).signal*(e[1]-e[0])*r.scrollDelta})};function XO(e){return function(t,n,i,o){var r=this._range,a=r.slice(),s=t.axisModels[0];if(s){var c=e(a,s,t,n,i,o);return DT(c,a,[0,100],"all"),this._range=a,r[0]!==a[0]||r[1]!==a[1]?a:void 0}}}var QO={grid:function(e,t,n,i,o){var r=n.axis,a={},s=o.model.coordinateSystem.getRect();return e=e||[0,0],"x"===r.dim?(a.pixel=t[0]-e[0],a.pixelLength=s.width,a.pixelStart=s.x,a.signal=r.inverse?1:-1):(a.pixel=t[1]-e[1],a.pixelLength=s.height,a.pixelStart=s.y,a.signal=r.inverse?-1:1),a},polar:function(e,t,n,i,o){var r=n.axis,a={},s=o.model.coordinateSystem,c=s.getRadiusAxis().getExtent(),l=s.getAngleAxis().getExtent();return e=e?s.pointToCoord(e):[0,0],t=s.pointToCoord(t),"radiusAxis"===n.mainType?(a.pixel=t[0]-e[0],a.pixelLength=c[1]-c[0],a.pixelStart=c[0],a.signal=r.inverse?1:-1):(a.pixel=t[1]-e[1],a.pixelLength=l[1]-l[0],a.pixelStart=l[0],a.signal=r.inverse?-1:1),a},singleAxis:function(e,t,n,i,o){var r=n.axis,a=o.model.coordinateSystem.getRect(),s={};return e=e||[0,0],"horizontal"===r.orient?(s.pixel=t[0]-e[0],s.pixelLength=a.width,s.pixelStart=a.x,s.signal=r.inverse?1:-1):(s.pixel=t[1]-e[1],s.pixelLength=a.height,s.pixelStart=a.y,s.signal=r.inverse?-1:1),s}},JO=D.createHashMap,eD=D.each;mm.registerProcessor({getTargetSeries:function(e){var t=JO();return e.eachComponent("dataZoom",function(e){e.eachTargetAxis(function(e,n,i){var o=i.getAxisProxy(e.name,n);eD(o.getTargetSeriesModels(),function(e){t.set(e.uid,e)})})}),t},modifyOutputEnd:!0,overallReset:function(e,t){e.eachComponent("dataZoom",function(e){e.eachTargetAxis(function(e,n,i){i.getAxisProxy(e.name,n).reset(i,t)}),e.eachTargetAxis(function(e,n,i){i.getAxisProxy(e.name,n).filterData(i,t)})}),e.eachComponent("dataZoom",function(e){var t=e.findRepresentativeAxisProxy(),n=t.getDataPercentWindow(),i=t.getDataValueWindow();e.setRawRange({start:n[0],end:n[1],startValue:i[0],endValue:i[1]},!0)})}}),mm.registerAction("dataZoom",function(e,t){var n=wO.createLinkedNodesFinder(D.bind(t.eachComponent,t,"dataZoom"),wO.eachAxisDim,function(e,t){return e.get(t.axisIndex)}),i=[];t.eachComponent({mainType:"dataZoom",query:e},function(e,t){i.push.apply(i,n(e).nodes)}),D.each(i,function(t,n){t.setRawRange({start:e.start,end:e.end,startValue:e.startValue,endValue:e.endValue})})});var tD=D.each;function nD(e,t){return e&&e.hasOwnProperty&&e.hasOwnProperty(t)}var iD=function(e){var t=e&&e.visualMap;D.isArray(t)||(t=t?[t]:[]),tD(t,function(e){if(e){nD(e,"splitList")&&!nD(e,"pieces")&&(e.pieces=e.splitList,delete e.splitList);var t=e.pieces;t&&D.isArray(t)&&tD(t,function(e){D.isObject(e)&&(nD(e,"start")&&!nD(e,"min")&&(e.min=e.start),nD(e,"end")&&!nD(e,"max")&&(e.max=e.end))})}})};kc.registerSubTypeDefaulter("visualMap",function(e){return e.categories||(e.pieces?e.pieces.length>0:e.splitNumber>0)&&!e.calculable?"piecewise":"continuous"});var oD=mm.PRIORITY.VISUAL.COMPONENT;function rD(e,t,n,i){for(var o=t.targetVisuals[i],r=Lx.prepareVisualTypes(o),a={color:e.getData().getVisual("color")},s=0,c=r.length;s<c;s++){var l=r[s],d=o["opacity"===l?"__alphaForOpacity":l];d&&d.applyVisual(n,u,f)}return a.color;function u(e){return a[e]}function f(e,t){a[e]=t}}mm.registerVisual(oD,{createOnAllSeries:!0,reset:function(e,t){var n=[];return t.eachComponent("visualMap",function(t){var i=e.pipelineContext;!t.isTargetSeries(e)||i&&i.large||n.push(wM.incrementalApplyVisual(t.stateList,t.targetVisuals,D.bind(t.getValueState,t),t.getDataDimension(e.getData())))}),n}}),mm.registerVisual(oD,{createOnAllSeries:!0,reset:function(e,t){var n=e.getData(),i=[];t.eachComponent("visualMap",function(t){if(t.isTargetSeries(e)){var o=t.getVisualMeta(D.bind(rD,null,e,t))||{stops:[],outerColors:[]},r=t.getDataDimension(n),a=n.getDimensionInfo(r);null!=a&&(o.dimension=a.index,i.push(o))}}),e.getData().setVisual("visualMeta",i)}});var aD={get:function(e,t,n){var i=D.clone((sD[e]||{})[t]);return n&&D.isArray(i)?i[i.length-1]:i}},sD={color:{active:["#006edd","#e0ffff"],inactive:["rgba(0,0,0,0)"]},colorHue:{active:[0,360],inactive:[0,0]},colorSaturation:{active:[.3,1],inactive:[0,0]},colorLightness:{active:[.9,.5],inactive:[0,0]},colorAlpha:{active:[.3,1],inactive:[0,0]},opacity:{active:[.3,1],inactive:[0,0]},symbol:{active:["circle","roundRect","diamond"],inactive:["none"]},symbolSize:{active:[10,50],inactive:[0,0]}},cD=aD,lD=Lx.mapVisual,dD=Lx.eachVisual,uD=D.isArray,fD=D.each,hD=tc.asc,pD=tc.linearMap,gD=D.noop,mD=mm.extendComponentModel({type:"visualMap",dependencies:["series"],stateList:["inRange","outOfRange"],replacableOptionKeys:["inRange","outOfRange","target","controller","color"],dataBound:[-1/0,1/0],layoutMode:{type:"box",ignoreSize:!0},defaultOption:{show:!0,zlevel:0,z:4,seriesIndex:"all",min:0,max:200,dimension:null,inRange:null,outOfRange:null,left:0,right:null,top:null,bottom:0,itemWidth:null,itemHeight:null,inverse:!1,orient:"vertical",backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",contentColor:"#5793f3",inactiveColor:"#aaa",borderWidth:0,padding:5,textGap:10,precision:0,color:null,formatter:null,text:null,textStyle:{color:"#333"}},init:function(e,t,n){this._dataExtent,this.targetVisuals={},this.controllerVisuals={},this.textStyleModel,this.itemSize,this.mergeDefaultAndTheme(e,n)},optionUpdated:function(e,t){var n=this.option;c.canvasSupported||(n.realtime=!1),!t&&wM.replaceVisualOption(n,e,this.replacableOptionKeys),this.textStyleModel=this.getModel("textStyle"),this.resetItemSize(),this.completeVisualOption()},resetVisual:function(e){var t=this.stateList;e=D.bind(e,this),this.controllerVisuals=wM.createVisualMappings(this.option.controller,t,e),this.targetVisuals=wM.createVisualMappings(this.option.target,t,e)},getTargetSeriesIndices:function(){var e=this.option.seriesIndex,t=[];return null==e||"all"===e?this.ecModel.eachSeries(function(e,n){t.push(n)}):t=ro.normalizeToArray(e),t},eachTargetSeries:function(e,t){D.each(this.getTargetSeriesIndices(),function(n){e.call(t,this.ecModel.getSeriesByIndex(n))},this)},isTargetSeries:function(e){var t=!1;return this.eachTargetSeries(function(n){n===e&&(t=!0)}),t},formatValueText:function(e,t,n){var i,o,r=this.option,a=r.precision,s=this.dataBound,c=r.formatter;return n=n||["<",">"],D.isArray(e)&&(e=e.slice(),i=!0),o=t?e:i?[l(e[0]),l(e[1])]:l(e),D.isString(c)?c.replace("{value}",i?o[0]:o).replace("{value2}",i?o[1]:o):D.isFunction(c)?i?c(e[0],e[1]):c(e):i?e[0]===s[0]?n[0]+" "+o[1]:e[1]===s[1]?n[1]+" "+o[0]:o[0]+" - "+o[1]:o;function l(e){return e===s[0]?"min":e===s[1]?"max":(+e).toFixed(Math.min(a,20))}},resetExtent:function(){var e=this.option,t=hD([e.min,e.max]);this._dataExtent=t},getDataDimension:function(e){var t=this.option.dimension,n=e.dimensions;if(null!=t||n.length){if(null!=t)return e.getDimension(t);for(var i=e.dimensions,o=i.length-1;o>=0;o--){var r=i[o];if(!e.getDimensionInfo(r).isCalculationCoord)return r}}},getExtent:function(){return this._dataExtent.slice()},completeVisualOption:function(){var e=this.ecModel,t=this.option,n={inRange:t.inRange,outOfRange:t.outOfRange},i=t.target||(t.target={}),o=t.controller||(t.controller={});D.merge(i,n),D.merge(o,n);var r=this.isCategory();function a(n){uD(t.color)&&!n.inRange&&(n.inRange={color:t.color.slice().reverse()}),n.inRange=n.inRange||{color:e.get("gradientColor")},fD(this.stateList,function(e){var t=n[e];if(D.isString(t)){var i=cD.get(t,"active",r);i?(n[e]={},n[e][t]=i):delete n[e]}},this)}a.call(this,i),a.call(this,o),function(e,t,n){var i=e[t],o=e[n];i&&!o&&(o=e[n]={},fD(i,function(e,t){if(Lx.isValidType(t)){var n=cD.get(t,"inactive",r);null!=n&&(o[t]=n,"color"!==t||o.hasOwnProperty("opacity")||o.hasOwnProperty("colorAlpha")||(o.opacity=[0,0]))}}))}.call(this,i,"inRange","outOfRange"),function(e){var t=(e.inRange||{}).symbol||(e.outOfRange||{}).symbol,n=(e.inRange||{}).symbolSize||(e.outOfRange||{}).symbolSize,i=this.get("inactiveColor");fD(this.stateList,function(o){var a=this.itemSize,s=e[o];s||(s=e[o]={color:r?i:[i]}),null==s.symbol&&(s.symbol=t&&D.clone(t)||(r?"roundRect":["roundRect"])),null==s.symbolSize&&(s.symbolSize=n&&D.clone(n)||(r?a[0]:[a[0],a[0]])),s.symbol=lD(s.symbol,function(e){return"none"===e||"square"===e?"roundRect":e});var c=s.symbolSize;if(null!=c){var l=-1/0;dD(c,function(e){e>l&&(l=e)}),s.symbolSize=lD(c,function(e){return pD(e,[0,l],[0,a[0]],!0)})}},this)}.call(this,o)},resetItemSize:function(){this.itemSize=[parseFloat(this.get("itemWidth")),parseFloat(this.get("itemHeight"))]},isCategory:function(){return!!this.option.categories},setSelected:gD,getValueState:gD,getVisualMeta:gD}),bD=[20,140],vD=mD.extend({type:"visualMap.continuous",defaultOption:{align:"auto",calculable:!1,range:null,realtime:!0,itemHeight:null,itemWidth:null,hoverLink:!0,hoverLinkDataSize:null,hoverLinkOnHandle:null},optionUpdated:function(e,t){vD.superApply(this,"optionUpdated",arguments),this.resetExtent(),this.resetVisual(function(e){e.mappingMethod="linear",e.dataExtent=this.getExtent()}),this._resetRange()},resetItemSize:function(){vD.superApply(this,"resetItemSize",arguments);var e=this.itemSize;"horizontal"===this._orient&&e.reverse(),(null==e[0]||isNaN(e[0]))&&(e[0]=bD[0]),(null==e[1]||isNaN(e[1]))&&(e[1]=bD[1])},_resetRange:function(){var e=this.getExtent(),t=this.option.range;!t||t.auto?(e.auto=1,this.option.range=e):D.isArray(t)&&(t[0]>t[1]&&t.reverse(),t[0]=Math.max(t[0],e[0]),t[1]=Math.min(t[1],e[1]))},completeVisualOption:function(){mD.prototype.completeVisualOption.apply(this,arguments),D.each(this.stateList,function(e){var t=this.option.controller[e].symbolSize;t&&t[0]!==t[1]&&(t[0]=0)},this)},setSelected:function(e){this.option.range=e.slice(),this._resetRange()},getSelected:function(){var e=this.getExtent(),t=tc.asc((this.get("range")||[]).slice());return t[0]>e[1]&&(t[0]=e[1]),t[1]>e[1]&&(t[1]=e[1]),t[0]<e[0]&&(t[0]=e[0]),t[1]<e[0]&&(t[1]=e[0]),t},getValueState:function(e){var t=this.option.range,n=this.getExtent();return(t[0]<=n[0]||t[0]<=e)&&(t[1]>=n[1]||e<=t[1])?"inRange":"outOfRange"},findTargetDataIndices:function(e){var t=[];return this.eachTargetSeries(function(n){var i=[],o=n.getData();o.each(this.getDataDimension(o),function(t,n){e[0]<=t&&t<=e[1]&&i.push(n)},this),t.push({seriesId:n.id,dataIndex:i})},this),t},getVisualMeta:function(e){var t=yD(this,"outOfRange",this.getExtent()),n=yD(this,"inRange",this.option.range.slice()),i=[];function o(t,n){i.push({value:t,color:e(t,n)})}for(var r=0,a=0,s=n.length,c=t.length;a<c&&(!n.length||t[a]<=n[0]);a++)t[a]<n[r]&&o(t[a],"outOfRange");for(var l=1;r<s;r++,l=0)l&&i.length&&o(n[r],"outOfRange"),o(n[r],"inRange");for(l=1;a<c;a++)(!n.length||n[n.length-1]<t[a])&&(l&&(i.length&&o(i[i.length-1].value,"outOfRange"),l=0),o(t[a],"outOfRange"));var d=i.length;return{stops:i,outerColors:[d?i[0].color:"transparent",d?i[d-1].color:"transparent"]}}});function yD(e,t,n){if(n[0]===n[1])return n.slice();for(var i=(n[1]-n[0])/200,o=n[0],r=[],a=0;a<=200&&o<n[1];a++)r.push(o),o+=i;return r.push(n[1]),r}var _D=mm.extendComponentView({type:"visualMap",autoPositionValues:{left:1,right:1,top:1,bottom:1},init:function(e,t){this.ecModel=e,this.api=t,this.visualMapModel},render:function(e,t,n,i){this.visualMapModel=e,!1!==e.get("show")?this.doRender.apply(this,arguments):this.group.removeAll()},renderBackground:function(e){var t=this.visualMapModel,n=cc.normalizeCssArray(t.get("padding")||0),i=e.getBoundingRect();e.add(new Ls.Rect({z2:-1,silent:!0,shape:{x:i.x-n[3],y:i.y-n[0],width:i.width+n[3]+n[1],height:i.height+n[0]+n[2]},style:{fill:t.get("backgroundColor"),stroke:t.get("borderColor"),lineWidth:t.get("borderWidth")}}))},getControllerVisual:function(e,t,n){var i=(n=n||{}).forceState,o=this.visualMapModel,r={};if("symbol"===t&&(r.symbol=o.get("itemSymbol")),"color"===t){var a=o.get("contentColor");r.color=a}function s(e){return r[e]}function c(e,t){r[e]=t}var l=o.controllerVisuals[i||o.getValueState(e)],d=Lx.prepareVisualTypes(l);return D.each(d,function(i){var o=l[i];n.convertOpacityToAlpha&&"opacity"===i&&(i="colorAlpha",o=l.__alphaForOpacity),Lx.dependsOn(i,t)&&o&&o.applyVisual(e,s,c)}),r[t]},positionGroup:function(e){var t=this.visualMapModel,n=this.api;yc.positionElement(e,t.getBoxLayoutParams(),{width:n.getWidth(),height:n.getHeight()})},doRender:D.noop}),wD=yc.getLayoutRect;var xD={getItemAlign:function(e,t,n){var i=e.option,o=i.align;if(null!=o&&"auto"!==o)return o;for(var r={width:t.getWidth(),height:t.getHeight()},a="horizontal"===i.orient?1:0,s=[["left","right","width"],["top","bottom","height"]],c=s[a],l=[0,null,10],d={},u=0;u<3;u++)d[s[1-a][u]]=l[u],d[c[u]]=2===u?n[0]:i[c[u]];var f=[["x","width",3],["y","height",0]][a],h=wD(d,r,i.padding);return c[(h.margin[f[2]]||0)+h[f[0]]+.5*h[f[1]]<.5*r[f[1]]?0:1]},convertDataIndex:function(e){return D.each(e||[],function(t){null!=e.dataIndex&&(e.dataIndexInside=e.dataIndex,e.dataIndex=null)}),e}},SD=tc.linearMap,TD=D.each,kD=Math.min,CD=Math.max,jD=12,AD=6,ED=_D.extend({type:"visualMap.continuous",init:function(){ED.superApply(this,"init",arguments),this._shapes={},this._dataInterval=[],this._handleEnds=[],this._orient,this._useHandle,this._hoverLinkDataIndices=[],this._dragging,this._hovering},doRender:function(e,t,n,i){i&&"selectDataRange"===i.type&&i.from===this.uid||this._buildView()},_buildView:function(){this.group.removeAll();var e=this.visualMapModel,t=this.group;this._orient=e.get("orient"),this._useHandle=e.get("calculable"),this._resetInterval(),this._renderBar(t);var n=e.get("text");this._renderEndsText(t,n,0),this._renderEndsText(t,n,1),this._updateView(!0),this.renderBackground(t),this._updateView(),this._enableHoverLinkToSeries(),this._enableHoverLinkFromSeries(),this.positionGroup(t)},_renderEndsText:function(e,t,n){if(t){var i=t[1-n];i=null!=i?i+"":"";var o=this.visualMapModel,r=o.get("textGap"),a=o.itemSize,s=this._shapes.barGroup,c=this._applyTransform([a[0]/2,0===n?-r:a[1]+r],s),l=this._applyTransform(0===n?"bottom":"top",s),d=this._orient,u=this.visualMapModel.textStyleModel;this.group.add(new Ls.Text({style:{x:c[0],y:c[1],textVerticalAlign:"horizontal"===d?"middle":l,textAlign:"horizontal"===d?l:"center",text:i,textFont:u.getFont(),textFill:u.getTextColor()}}))}},_renderBar:function(e){var t=this.visualMapModel,n=this._shapes,i=t.itemSize,o=this._orient,r=this._useHandle,a=xD.getItemAlign(t,this.api,i),s=n.barGroup=this._createBarGroup(a);s.add(n.outOfRange=ID()),s.add(n.inRange=ID(null,r?OD(this._orient):null,D.bind(this._dragHandle,this,"all",!1),D.bind(this._dragHandle,this,"all",!0)));var c=t.textStyleModel.getTextRect("国"),l=CD(c.width,c.height);r&&(n.handleThumbs=[],n.handleLabels=[],n.handleLabelPoints=[],this._createHandle(s,0,i,l,o,a),this._createHandle(s,1,i,l,o,a)),this._createIndicator(s,i,l,o),e.add(s)},_createHandle:function(e,t,n,i,o){var r=D.bind(this._dragHandle,this,t,!1),a=D.bind(this._dragHandle,this,t,!0),s=ID(function(e,t){return 0===e?[[0,0],[t,0],[t,-t]]:[[0,0],[t,0],[t,t]]}(t,i),OD(this._orient),r,a);s.position[0]=n[0],e.add(s);var c=this.visualMapModel.textStyleModel,l=new Ls.Text({draggable:!0,drift:r,onmousemove:function(e){Q.stop(e.event)},ondragend:a,style:{x:0,y:0,text:"",textFont:c.getFont(),textFill:c.getTextColor()}});this.group.add(l);var d=["horizontal"===o?i/2:1.5*i,"horizontal"===o?0===t?-1.5*i:1.5*i:0===t?-i/2:i/2],u=this._shapes;u.handleThumbs[t]=s,u.handleLabelPoints[t]=d,u.handleLabels[t]=l},_createIndicator:function(e,t,n,i){var o=ID([[0,0]],"move");o.position[0]=t[0],o.attr({invisible:!0,silent:!0}),e.add(o);var r=this.visualMapModel.textStyleModel,a=new Ls.Text({silent:!0,invisible:!0,style:{x:0,y:0,text:"",textFont:r.getFont(),textFill:r.getTextColor()}});this.group.add(a);var s=["horizontal"===i?n/2:AD+3,0],c=this._shapes;c.indicator=o,c.indicatorLabel=a,c.indicatorLabelPoint=s},_dragHandle:function(e,t,n,i){if(this._useHandle){if(this._dragging=!t,!t){var o=this._applyTransform([n,i],this._shapes.barGroup,!0);this._updateInterval(e,o[1]),this._updateView()}t===!this.visualMapModel.get("realtime")&&this.api.dispatchAction({type:"selectDataRange",from:this.uid,visualMapId:this.visualMapModel.id,selected:this._dataInterval.slice()}),t?!this._hovering&&this._clearHoverLinkToSeries():MD(this.visualMapModel)&&this._doHoverLinkToSeries(this._handleEnds[e],!1)}},_resetInterval:function(){var e=this.visualMapModel,t=this._dataInterval=e.getSelected(),n=e.getExtent(),i=[0,e.itemSize[1]];this._handleEnds=[SD(t[0],n,i,!0),SD(t[1],n,i,!0)]},_updateInterval:function(e,t){t=t||0;var n=this.visualMapModel,i=this._handleEnds,o=[0,n.itemSize[1]];DT(t,i,o,e,0);var r=n.getExtent();this._dataInterval=[SD(i[0],o,r,!0),SD(i[1],o,r,!0)]},_updateView:function(e){var t=this.visualMapModel,n=t.getExtent(),i=this._shapes,o=[0,t.itemSize[1]],r=e?o:this._handleEnds,a=this._createBarVisual(this._dataInterval,n,r,"inRange"),s=this._createBarVisual(n,n,o,"outOfRange");i.inRange.setStyle({fill:a.barColor,opacity:a.opacity}).setShape("points",a.barPoints),i.outOfRange.setStyle({fill:s.barColor,opacity:s.opacity}).setShape("points",s.barPoints),this._updateHandle(r,a)},_createBarVisual:function(e,t,n,i){var o={forceState:i,convertOpacityToAlpha:!0},r=this._makeColorGradient(e,o),a=[this.getControllerVisual(e[0],"symbolSize",o),this.getControllerVisual(e[1],"symbolSize",o)],s=this._createBarPoints(n,a);return{barColor:new Va(0,0,0,1,r),barPoints:s,handlesColor:[r[0].color,r[r.length-1].color]}},_makeColorGradient:function(e,t){var n=[],i=(e[1]-e[0])/100;n.push({color:this.getControllerVisual(e[0],"color",t),offset:0});for(var o=1;o<100;o++){var r=e[0]+i*o;if(r>e[1])break;n.push({color:this.getControllerVisual(r,"color",t),offset:o/100})}return n.push({color:this.getControllerVisual(e[1],"color",t),offset:1}),n},_createBarPoints:function(e,t){var n=this.visualMapModel.itemSize;return[[n[0]-t[0],e[0]],[n[0],e[0]],[n[0],e[1]],[n[0]-t[1],e[1]]]},_createBarGroup:function(e){var t=this._orient,n=this.visualMapModel.get("inverse");return new Ls.Group("horizontal"!==t||n?"horizontal"===t&&n?{scale:"bottom"===e?[-1,1]:[1,1],rotation:-Math.PI/2}:"vertical"!==t||n?{scale:"left"===e?[1,1]:[-1,1]}:{scale:"left"===e?[1,-1]:[-1,-1]}:{scale:"bottom"===e?[1,1]:[-1,1],rotation:Math.PI/2})},_updateHandle:function(e,t){if(this._useHandle){var n=this._shapes,i=this.visualMapModel,o=n.handleThumbs,r=n.handleLabels;TD([0,1],function(a){var s=o[a];s.setStyle("fill",t.handlesColor[a]),s.position[1]=e[a];var c=Ls.applyTransform(n.handleLabelPoints[a],Ls.getTransform(s,this.group));r[a].setStyle({x:c[0],y:c[1],text:i.formatValueText(this._dataInterval[a]),textVerticalAlign:"middle",textAlign:this._applyTransform("horizontal"===this._orient?0===a?"bottom":"top":"left",n.barGroup)})},this)}},_showIndicator:function(e,t,n,i){var o=this.visualMapModel,r=o.getExtent(),a=o.itemSize,s=[0,a[1]],c=SD(e,r,s,!0),l=this._shapes,d=l.indicator;if(d){d.position[1]=c,d.attr("invisible",!1),d.setShape("points",function(e,t,n,i){return e?[[0,-kD(t,CD(n,0))],[AD,0],[0,kD(t,CD(i-n,0))]]:[[0,0],[5,-5],[5,5]]}(!!n,i,c,a[1]));var u=this.getControllerVisual(e,"color",{convertOpacityToAlpha:!0});d.setStyle("fill",u);var f=Ls.applyTransform(l.indicatorLabelPoint,Ls.getTransform(d,this.group)),h=l.indicatorLabel;h.attr("invisible",!1);var p=this._applyTransform("left",l.barGroup),g=this._orient;h.setStyle({text:(n||"")+o.formatValueText(t),textVerticalAlign:"horizontal"===g?p:"middle",textAlign:"horizontal"===g?"center":p,x:f[0],y:f[1]})}},_enableHoverLinkToSeries:function(){var e=this;this._shapes.barGroup.on("mousemove",function(t){if(e._hovering=!0,!e._dragging){var n=e.visualMapModel.itemSize,i=e._applyTransform([t.offsetX,t.offsetY],e._shapes.barGroup,!0,!0);i[1]=kD(CD(0,i[1]),n[1]),e._doHoverLinkToSeries(i[1],0<=i[0]&&i[0]<=n[0])}}).on("mouseout",function(){e._hovering=!1,!e._dragging&&e._clearHoverLinkToSeries()})},_enableHoverLinkFromSeries:function(){var e=this.api.getZr();this.visualMapModel.option.hoverLink?(e.on("mouseover",this._hoverLinkFromSeriesMouseOver,this),e.on("mouseout",this._hideIndicator,this)):this._clearHoverLinkFromSeries()},_doHoverLinkToSeries:function(e,t){var n=this.visualMapModel,i=n.itemSize;if(n.option.hoverLink){var o=[0,i[1]],r=n.getExtent();e=kD(CD(o[0],e),o[1]);var a=function(e,t,n){var i=jD/2,o=e.get("hoverLinkDataSize");o&&(i=SD(o,t,n,!0)/2);return i}(n,r,o),s=[e-a,e+a],c=SD(e,o,r,!0),l=[SD(s[0],o,r,!0),SD(s[1],o,r,!0)];s[0]<o[0]&&(l[0]=-1/0),s[1]>o[1]&&(l[1]=1/0),t&&(l[0]===-1/0?this._showIndicator(c,l[1],"< ",a):l[1]===1/0?this._showIndicator(c,l[0],"> ",a):this._showIndicator(c,c,"≈ ",a));var d=this._hoverLinkDataIndices,u=[];(t||MD(n))&&(u=this._hoverLinkDataIndices=n.findTargetDataIndices(l));var f=ro.compressBatches(d,u);this._dispatchHighDown("downplay",xD.convertDataIndex(f[0])),this._dispatchHighDown("highlight",xD.convertDataIndex(f[1]))}},_hoverLinkFromSeriesMouseOver:function(e){var t=e.target,n=this.visualMapModel;if(t&&null!=t.dataIndex){var i=this.ecModel.getSeriesByIndex(t.seriesIndex);if(n.isTargetSeries(i)){var o=i.getData(t.dataType),r=o.get(n.getDataDimension(o),t.dataIndex,!0);isNaN(r)||this._showIndicator(r,r)}}},_hideIndicator:function(){var e=this._shapes;e.indicator&&e.indicator.attr("invisible",!0),e.indicatorLabel&&e.indicatorLabel.attr("invisible",!0)},_clearHoverLinkToSeries:function(){this._hideIndicator();var e=this._hoverLinkDataIndices;this._dispatchHighDown("downplay",xD.convertDataIndex(e)),e.length=0},_clearHoverLinkFromSeries:function(){this._hideIndicator();var e=this.api.getZr();e.off("mouseover",this._hoverLinkFromSeriesMouseOver),e.off("mouseout",this._hideIndicator)},_applyTransform:function(e,t,n,i){var o=Ls.getTransform(t,i?null:this.group);return Ls[D.isArray(e)?"applyTransform":"transformDirection"](e,o,n)},_dispatchHighDown:function(e,t){t&&t.length&&this.api.dispatchAction({type:e,batch:t})},dispose:function(){this._clearHoverLinkFromSeries(),this._clearHoverLinkToSeries()},remove:function(){this._clearHoverLinkFromSeries(),this._clearHoverLinkToSeries()}});function ID(e,t,n,i){return new Ls.Polygon({shape:{points:e},draggable:!!n,cursor:t,drift:n,onmousemove:function(e){Q.stop(e.event)},ondragend:i})}function MD(e){var t=e.get("hoverLinkOnHandle");return!!(null==t?e.get("realtime"):t)}function OD(e){return"vertical"===e?"ns-resize":"ew-resize"}mm.registerAction({type:"selectDataRange",event:"dataRangeSelected",update:"update"},function(e,t){t.eachComponent({mainType:"visualMap",query:e},function(t){t.setSelected(e.selected)})}),mm.registerPreprocessor(iD);var DD=tc.reformIntervals,VD=mD.extend({type:"visualMap.piecewise",defaultOption:{selected:null,minOpen:!1,maxOpen:!1,align:"auto",itemWidth:20,itemHeight:14,itemSymbol:"roundRect",pieceList:null,categories:null,splitNumber:5,selectedMode:"multiple",itemGap:10,hoverLink:!0,showLabel:null},optionUpdated:function(e,t){VD.superApply(this,"optionUpdated",arguments),this._pieceList=[],this.resetExtent();var n=this._mode=this._determineMode();LD[this._mode].call(this),this._resetSelected(e,t);var i=this.option.categories;this.resetVisual(function(e,t){"categories"===n?(e.mappingMethod="category",e.categories=D.clone(i)):(e.dataExtent=this.getExtent(),e.mappingMethod="piecewise",e.pieceList=D.map(this._pieceList,function(e){e=D.clone(e);return"inRange"!==t&&(e.visual=null),e}))})},completeVisualOption:function(){var e=this.option,t={},n=Lx.listVisualTypes(),i=this.isCategory();function o(e,t,n){return e&&e[t]&&(D.isObject(e[t])?e[t].hasOwnProperty(n):e[t]===n)}D.each(e.pieces,function(e){D.each(n,function(n){e.hasOwnProperty(n)&&(t[n]=1)})}),D.each(t,function(t,n){var r=0;D.each(this.stateList,function(t){r|=o(e,t,n)||o(e.target,t,n)},this),!r&&D.each(this.stateList,function(t){(e[t]||(e[t]={}))[n]=cD.get(n,"inRange"===t?"active":"inactive",i)})},this),mD.prototype.completeVisualOption.apply(this,arguments)},_resetSelected:function(e,t){var n=this.option,i=this._pieceList,o=(t?n:e).selected||{};if(n.selected=o,D.each(i,function(e,t){var n=this.getSelectedMapKey(e);o.hasOwnProperty(n)||(o[n]=!0)},this),"single"===n.selectedMode){var r=!1;D.each(i,function(e,t){var n=this.getSelectedMapKey(e);o[n]&&(r?o[n]=!1:r=!0)},this)}},getSelectedMapKey:function(e){return"categories"===this._mode?e.value+"":e.index+""},getPieceList:function(){return this._pieceList},_determineMode:function(){var e=this.option;return e.pieces&&e.pieces.length>0?"pieces":this.option.categories?"categories":"splitNumber"},setSelected:function(e){this.option.selected=D.clone(e)},getValueState:function(e){var t=Lx.findPieceIndex(e,this._pieceList);return null!=t&&this.option.selected[this.getSelectedMapKey(this._pieceList[t])]?"inRange":"outOfRange"},findTargetDataIndices:function(e){var t=[];return this.eachTargetSeries(function(n){var i=[],o=n.getData();o.each(this.getDataDimension(o),function(t,n){Lx.findPieceIndex(t,this._pieceList)===e&&i.push(n)},this),t.push({seriesId:n.id,dataIndex:i})},this),t},getRepresentValue:function(e){var t;if(this.isCategory())t=e.value;else if(null!=e.value)t=e.value;else{var n=e.interval||[];t=n[0]===-1/0&&n[1]===1/0?0:(n[0]+n[1])/2}return t},getVisualMeta:function(e){if(!this.isCategory()){var t=[],n=[],i=this,o=this._pieceList.slice();if(o.length){var r=o[0].interval[0];r!==-1/0&&o.unshift({interval:[-1/0,r]}),(r=o[o.length-1].interval[1])!==1/0&&o.push({interval:[r,1/0]})}else o.push({interval:[-1/0,1/0]});var a=-1/0;return D.each(o,function(e){var t=e.interval;t&&(t[0]>a&&s([a,t[0]],"outOfRange"),s(t.slice()),a=t[1])},this),{stops:t,outerColors:n}}function s(o,r){var a=i.getRepresentValue({interval:o});r||(r=i.getValueState(a));var s=e(a,r);o[0]===-1/0?n[0]=s:o[1]===1/0?n[1]=s:t.push({value:o[0],color:s},{value:o[1],color:s})}}}),LD={splitNumber:function(){var e=this.option,t=this._pieceList,n=Math.min(e.precision,20),i=this.getExtent(),o=e.splitNumber;o=Math.max(parseInt(o,10),1),e.splitNumber=o;for(var r=(i[1]-i[0])/o;+r.toFixed(n)!==r&&n<5;)n++;e.precision=n,r=+r.toFixed(n);var a=0;e.minOpen&&t.push({index:a++,interval:[-1/0,i[0]],close:[0,0]});for(var s=i[0],c=a+o;a<c;s+=r){var l=a===o-1?i[1]:s+r;t.push({index:a++,interval:[s,l],close:[1,1]})}e.maxOpen&&t.push({index:a++,interval:[i[1],1/0],close:[0,0]}),DD(t),D.each(t,function(e){e.text=this.formatValueText(e.interval)},this)},categories:function(){var e=this.option;D.each(e.categories,function(e){this._pieceList.push({text:this.formatValueText(e,!0),value:e})},this),PD(e,this._pieceList)},pieces:function(){var e=this.option,t=this._pieceList;D.each(e.pieces,function(e,n){D.isObject(e)||(e={value:e});var i={text:"",index:n};if(null!=e.label&&(i.text=e.label),e.hasOwnProperty("value")){var o=i.value=e.value;i.interval=[o,o],i.close=[1,1]}else{for(var r=i.interval=[],a=i.close=[0,0],s=[1,0,1],c=[-1/0,1/0],l=[],d=0;d<2;d++){for(var u=[["gte","gt","min"],["lte","lt","max"]][d],f=0;f<3&&null==r[d];f++)r[d]=e[u[f]],a[d]=s[f],l[d]=2===f;null==r[d]&&(r[d]=c[d])}l[0]&&r[1]===1/0&&(a[0]=0),l[1]&&r[0]===-1/0&&(a[1]=0),r[0]===r[1]&&a[0]&&a[1]&&(i.value=r[0])}i.visual=Lx.retrieveVisuals(e),t.push(i)},this),PD(e,t),DD(t),D.each(t,function(e){var t=e.close,n=[["<","≤"][t[1]],[">","≥"][t[0]]];e.text=e.text||this.formatValueText(null!=e.value?e.value:e.interval,!1,n)},this)}};function PD(e,t){var n=e.inverse;("vertical"===e.orient?!n:n)&&t.reverse()}var ND=vg.createSymbol;_D.extend({type:"visualMap.piecewise",doRender:function(){var e=this.group;e.removeAll();var t=this.visualMapModel,n=t.get("textGap"),i=t.textStyleModel,o=i.getFont(),r=i.getTextColor(),a=this._getItemAlign(),s=t.itemSize,c=this._getViewData(),l=c.endsText,d=D.retrieve(t.get("showLabel",!0),!l);l&&this._renderEndsText(e,l[0],s,d,a),D.each(c.viewPieceList,function(i){var c=i.piece,l=new Ls.Group;l.onclick=D.bind(this._onItemClick,this,c),this._enableHoverLink(l,i.indexInModelPieceList);var u=t.getRepresentValue(c);if(this._createItemSymbol(l,u,[0,0,s[0],s[1]]),d){var f=this.visualMapModel.getValueState(u);l.add(new Ls.Text({style:{x:"right"===a?-n:s[0]+n,y:s[1]/2,text:c.text,textVerticalAlign:"middle",textAlign:a,textFont:o,textFill:r,opacity:"outOfRange"===f?.5:1}}))}e.add(l)},this),l&&this._renderEndsText(e,l[1],s,d,a),yc.box(t.get("orient"),e,t.get("itemGap")),this.renderBackground(e),this.positionGroup(e)},_enableHoverLink:function(e,t){function n(e){var n=this.visualMapModel;n.option.hoverLink&&this.api.dispatchAction({type:e,batch:xD.convertDataIndex(n.findTargetDataIndices(t))})}e.on("mouseover",D.bind(n,this,"highlight")).on("mouseout",D.bind(n,this,"downplay"))},_getItemAlign:function(){var e=this.visualMapModel,t=e.option;if("vertical"===t.orient)return xD.getItemAlign(e,this.api,e.itemSize);var n=t.align;return n&&"auto"!==n||(n="left"),n},_renderEndsText:function(e,t,n,i,o){if(t){var r=new Ls.Group,a=this.visualMapModel.textStyleModel;r.add(new Ls.Text({style:{x:i?"right"===o?n[0]:0:n[0]/2,y:n[1]/2,textVerticalAlign:"middle",textAlign:i?o:"center",text:t,textFont:a.getFont(),textFill:a.getTextColor()}})),e.add(r)}},_getViewData:function(){var e=this.visualMapModel,t=D.map(e.getPieceList(),function(e,t){return{piece:e,indexInModelPieceList:t}}),n=e.get("text"),i=e.get("orient"),o=e.get("inverse");return("horizontal"===i?o:!o)?t.reverse():n&&(n=n.slice().reverse()),{viewPieceList:t,endsText:n}},_createItemSymbol:function(e,t,n){e.add(ND(this.getControllerVisual(t,"symbol"),n[0],n[1],n[2],n[3],this.getControllerVisual(t,"color")))},_onItemClick:function(e){var t=this.visualMapModel,n=t.option,i=D.clone(n.selected),o=t.getSelectedMapKey(e);"single"===n.selectedMode?(i[o]=!0,D.each(i,function(e,t){i[t]=t===o})):i[o]=!i[o],this.api.dispatchAction({type:"selectDataRange",from:this.uid,visualMapId:this.visualMapModel.id,selected:i})}});mm.registerPreprocessor(iD);var RD=cc.addCommas,FD=cc.encodeHTML;function BD(e){ro.defaultEmphasis(e,"label",["show"])}var zD=mm.extendComponentModel({type:"marker",dependencies:["series","grid","polar","geo"],init:function(e,t,n,i){this.mergeDefaultAndTheme(e,n),this.mergeOption(e,n,i.createdBySelf,!0)},isAnimationEnabled:function(){if(c.node)return!1;var e=this.__hostSeries;return this.getShallow("animation")&&e&&e.isAnimationEnabled()},mergeOption:function(e,t,n,i){var o=this.constructor,r=this.mainType+"Model";n||t.eachSeries(function(e){var n=e.get(this.mainType,!0),a=e[r];n&&n.data?(a?a.mergeOption(n,t,!0):(i&&BD(n),D.each(n.data,function(e){e instanceof Array?(BD(e[0]),BD(e[1])):BD(e)}),a=new o(n,this,t),D.extend(a,{mainType:this.mainType,seriesIndex:e.seriesIndex,name:e.name,createdBySelf:!0}),a.__hostSeries=e),e[r]=a):e[r]=null},this)},formatTooltip:function(e){var t=this.getData(),n=this.getRawValue(e),i=D.isArray(n)?D.map(n,RD).join(", "):RD(n),o=t.getName(e),r=FD(this.name);return(null!=n||o)&&(r+="<br />"),o&&(r+=FD(o),null!=n&&(r+=" : ")),null!=n&&(r+=FD(i)),r},getData:function(){return this._data},setData:function(e){this._data=e}});D.mixin(zD,Wd);var HD=zD,$D=(HD.extend({type:"markPoint",defaultOption:{zlevel:0,z:5,symbol:"pin",symbolSize:50,tooltip:{trigger:"item"},label:{show:!0,position:"inside"},itemStyle:{borderWidth:2},emphasis:{label:{show:!0}}}}),Qh.isDimensionStacked),qD=D.indexOf;function WD(e,t,n,i,o,r){var a=[],s=$D(t,i)?t.getCalculationInfo("stackResultDimension"):i,c=YD(t,s,e),l=t.indicesOfNearest(s,c)[0];a[o]=t.get(n,l),a[r]=t.get(i,l);var d=tc.getPrecision(t.get(i,l));return(d=Math.min(d,20))>=0&&(a[r]=+a[r].toFixed(d)),a}var GD=D.curry,UD={min:GD(WD,"min"),max:GD(WD,"max"),average:GD(WD,"average")};function KD(e,t,n,i){var o={};return null!=e.valueIndex||null!=e.valueDim?(o.valueDataDim=null!=e.valueIndex?t.getDimension(e.valueIndex):e.valueDim,o.valueAxis=n.getAxis(function(e,t){var n=e.getData(),i=n.dimensions;t=n.getDimension(t);for(var o=0;o<i.length;o++){var r=n.getDimensionInfo(i[o]);if(r.name===t)return r.coordDim}}(i,o.valueDataDim)),o.baseAxis=n.getOtherAxis(o.valueAxis),o.baseDataDim=t.mapDimension(o.baseAxis.dim)):(o.baseAxis=i.getBaseAxis(),o.valueAxis=n.getOtherAxis(o.baseAxis),o.baseDataDim=t.mapDimension(o.baseAxis.dim),o.valueDataDim=t.mapDimension(o.valueAxis.dim)),o}function YD(e,t,n){if("average"===n){var i=0,o=0;return e.each(t,function(e,t){isNaN(e)||(i+=e,o++)}),i/o}return"median"===n?e.getMedian(t):e.getDataExtent(t,!0)["max"===n?1:0]}var ZD={dataTransform:function(e,t){var n=e.getData(),i=e.coordinateSystem;if(t&&!function(e){return!isNaN(parseFloat(e.x))&&!isNaN(parseFloat(e.y))}(t)&&!D.isArray(t.coord)&&i){var o=i.dimensions,r=KD(t,n,i,e);if((t=D.clone(t)).type&&UD[t.type]&&r.baseAxis&&r.valueAxis){var a=qD(o,r.baseAxis.dim),s=qD(o,r.valueAxis.dim);t.coord=UD[t.type](n,r.baseDataDim,r.valueDataDim,a,s),t.value=t.coord[s]}else{for(var c=[null!=t.xAxis?t.xAxis:t.radiusAxis,null!=t.yAxis?t.yAxis:t.angleAxis],l=0;l<2;l++)UD[c[l]]&&(c[l]=YD(n,n.mapDimension(o[l]),c[l]));t.coord=c}}return t},getAxisInfo:KD,dataFilter:function(e,t){return!(e&&e.containData&&t.coord&&!function(e){return!(isNaN(parseFloat(e.x))&&isNaN(parseFloat(e.y)))}(t))||e.containData(t.coord)},dimValueGetter:function(e,t,n,i){return i<2?e.coord&&e.coord[i]:e.value},numCalculate:YD},XD=mm.extendComponentView({type:"marker",init:function(){this.markerGroupMap=D.createHashMap()},render:function(e,t,n){var i=this.markerGroupMap;i.each(function(e){e.__keep=!1});var o=this.type+"Model";t.eachSeries(function(e){var i=e[o];i&&this.renderSeries(e,i,t,n)},this),i.each(function(e){!e.__keep&&this.group.remove(e.group)},this)},renderSeries:function(){}});function QD(e,t,n){var i=t.coordinateSystem;e.each(function(o){var r,a=e.getItemModel(o),s=tc.parsePercent(a.get("x"),n.getWidth()),c=tc.parsePercent(a.get("y"),n.getHeight());if(isNaN(s)||isNaN(c)){if(t.getMarkerPosition)r=t.getMarkerPosition(e.getValues(e.dimensions,o));else if(i){var l=e.get(i.dimensions[0],o),d=e.get(i.dimensions[1],o);r=i.dataToPoint([l,d])}}else r=[s,c];isNaN(s)||(r[0]=s),isNaN(c)||(r[1]=c),e.setItemLayout(o,r)})}XD.extend({type:"markPoint",updateTransform:function(e,t,n){t.eachSeries(function(e){var t=e.markPointModel;t&&(QD(t.getData(),e,n),this.markerGroupMap.get(e.id).updateLayout(t))},this)},renderSeries:function(e,t,n,i){var o=e.coordinateSystem,r=e.id,a=e.getData(),s=this.markerGroupMap,c=s.get(r)||s.set(r,new Hm),l=function(e,t,n){var i;i=e?D.map(e&&e.dimensions,function(e){var n=t.getData().getDimensionInfo(t.getData().mapDimension(e))||{};return D.defaults({name:e},n)}):[{name:"value",type:"float"}];var o=new Lh(i,n),r=D.map(n.get("data"),D.curry(ZD.dataTransform,t));e&&(r=D.filter(r,D.curry(ZD.dataFilter,e)));return o.initData(r,null,e?ZD.dimValueGetter:function(e){return e.value}),o}(o,e,t);t.setData(l),QD(t.getData(),e,i),l.each(function(e){var n=l.getItemModel(e),i=n.getShallow("symbolSize");"function"==typeof i&&(i=i(t.getRawValue(e),t.getDataParams(e))),l.setItemVisual(e,{symbolSize:i,color:n.get("itemStyle.color")||a.getVisual("color"),symbol:n.getShallow("symbol")})}),c.updateData(l),this.group.add(c.group),l.eachItemGraphicEl(function(e){e.traverse(function(e){e.dataModel=t})}),c.__keep=!0,c.group.silent=t.get("silent")||e.get("silent")}});mm.registerPreprocessor(function(e){e.markPoint=e.markPoint||{}});HD.extend({type:"markLine",defaultOption:{zlevel:0,z:5,symbol:["circle","arrow"],symbolSize:[8,16],precision:2,tooltip:{trigger:"item"},label:{show:!0,position:"end"},lineStyle:{type:"dashed"},emphasis:{label:{show:!0},lineStyle:{width:3}},animationEasing:"linear"}});var JD=function(e,t,n,i){var o=e.getData(),r=i.type;if(!D.isArray(i)&&("min"===r||"max"===r||"average"===r||"median"===r||null!=i.xAxis||null!=i.yAxis)){var a,s;if(null!=i.yAxis||null!=i.xAxis)a=null!=i.yAxis?"y":"x",t.getAxis(a),s=D.retrieve(i.yAxis,i.xAxis);else{var c=ZD.getAxisInfo(i,o,t,e);a=c.valueDataDim,c.valueAxis,s=ZD.numCalculate(o,a,r)}var l="x"===a?0:1,d=1-l,u=D.clone(i),f={};u.type=null,u.coord=[],f.coord=[],u.coord[d]=-1/0,f.coord[d]=1/0;var h=n.get("precision");h>=0&&"number"==typeof s&&(s=+s.toFixed(Math.min(h,20))),u.coord[l]=f.coord[l]=s,i=[u,f,{type:r,valueIndex:i.valueIndex,value:s}]}return(i=[ZD.dataTransform(e,i[0]),ZD.dataTransform(e,i[1]),D.extend({},i[2])])[2].type=i[2].type||"",D.merge(i[2],i[0]),D.merge(i[2],i[1]),i};function eV(e){return!isNaN(e)&&!isFinite(e)}function tV(e,t,n,i){var o=1-e,r=i.dimensions[e];return eV(t[o])&&eV(n[o])&&t[e]===n[e]&&i.getAxis(r).containData(t[e])}function nV(e,t){if("cartesian2d"===e.type){var n=t[0].coord,i=t[1].coord;if(n&&i&&(tV(1,n,i,e)||tV(0,n,i,e)))return!0}return ZD.dataFilter(e,t[0])&&ZD.dataFilter(e,t[1])}function iV(e,t,n,i,o){var r,a=i.coordinateSystem,s=e.getItemModel(t),c=tc.parsePercent(s.get("x"),o.getWidth()),l=tc.parsePercent(s.get("y"),o.getHeight());if(isNaN(c)||isNaN(l)){if(i.getMarkerPosition)r=i.getMarkerPosition(e.getValues(e.dimensions,t));else{var d=a.dimensions,u=e.get(d[0],t),f=e.get(d[1],t);r=a.dataToPoint([u,f])}if("cartesian2d"===a.type){var h=a.getAxis("x"),p=a.getAxis("y");d=a.dimensions;eV(e.get(d[0],t))?r[0]=h.toGlobalCoord(h.getExtent()[n?0:1]):eV(e.get(d[1],t))&&(r[1]=p.toGlobalCoord(p.getExtent()[n?0:1]))}isNaN(c)||(r[0]=c),isNaN(l)||(r[1]=l)}else r=[c,l];e.setItemLayout(t,r)}XD.extend({type:"markLine",updateTransform:function(e,t,n){t.eachSeries(function(e){var t=e.markLineModel;if(t){var i=t.getData(),o=t.__from,r=t.__to;o.each(function(t){iV(o,t,!0,e,n),iV(r,t,!1,e,n)}),i.each(function(e){i.setItemLayout(e,[o.getItemLayout(e),r.getItemLayout(e)])}),this.markerGroupMap.get(e.id).updateLayout()}},this)},renderSeries:function(e,t,n,i){var o=e.coordinateSystem,r=e.id,a=e.getData(),s=this.markerGroupMap,c=s.get(r)||s.set(r,new MS);this.group.add(c.group);var l=function(e,t,n){var i;i=e?D.map(e&&e.dimensions,function(e){var n=t.getData().getDimensionInfo(t.getData().mapDimension(e))||{};return D.defaults({name:e},n)}):[{name:"value",type:"float"}];var o=new Lh(i,n),r=new Lh(i,n),a=new Lh([],n),s=D.map(n.get("data"),D.curry(JD,t,e,n));e&&(s=D.filter(s,D.curry(nV,e)));var c=e?ZD.dimValueGetter:function(e){return e.value};return o.initData(D.map(s,function(e){return e[0]}),null,c),r.initData(D.map(s,function(e){return e[1]}),null,c),a.initData(D.map(s,function(e){return e[2]})),a.hasItemOption=!0,{from:o,to:r,line:a}}(o,e,t),d=l.from,u=l.to,f=l.line;t.__from=d,t.__to=u,t.setData(f);var h=t.get("symbol"),p=t.get("symbolSize");function g(t,n,o){var r=t.getItemModel(n);iV(t,n,o,e,i),t.setItemVisual(n,{symbolSize:r.get("symbolSize")||p[o?0:1],symbol:r.get("symbol",!0)||h[o?0:1],color:r.get("itemStyle.color")||a.getVisual("color")})}D.isArray(h)||(h=[h,h]),"number"==typeof p&&(p=[p,p]),l.from.each(function(e){g(d,e,!0),g(u,e,!1)}),f.each(function(e){var t=f.getItemModel(e).get("lineStyle.color");f.setItemVisual(e,{color:t||d.getItemVisual(e,"color")}),f.setItemLayout(e,[d.getItemLayout(e),u.getItemLayout(e)]),f.setItemVisual(e,{fromSymbolSize:d.getItemVisual(e,"symbolSize"),fromSymbol:d.getItemVisual(e,"symbol"),toSymbolSize:u.getItemVisual(e,"symbolSize"),toSymbol:u.getItemVisual(e,"symbol")})}),c.updateData(f),l.line.eachItemGraphicEl(function(e,n){e.traverse(function(e){e.dataModel=t})}),c.__keep=!0,c.group.silent=t.get("silent")||e.get("silent")}});mm.registerPreprocessor(function(e){e.markLine=e.markLine||{}});HD.extend({type:"markArea",defaultOption:{zlevel:0,z:1,tooltip:{trigger:"item"},animation:!1,label:{show:!0,position:"top"},itemStyle:{borderWidth:0},emphasis:{label:{show:!0,position:"top"}}}});var oV=function(e,t,n,i){var o=ZD.dataTransform(e,i[0]),r=ZD.dataTransform(e,i[1]),a=D.retrieve,s=o.coord,c=r.coord;s[0]=a(s[0],-1/0),s[1]=a(s[1],-1/0),c[0]=a(c[0],1/0),c[1]=a(c[1],1/0);var l=D.mergeAll([{},o,r]);return l.coord=[o.coord,r.coord],l.x0=o.x,l.y0=o.y,l.x1=r.x,l.y1=r.y,l};function rV(e){return!isNaN(e)&&!isFinite(e)}function aV(e,t,n,i){var o=1-e;return rV(t[o])&&rV(n[o])}function sV(e,t){var n=t.coord[0],i=t.coord[1];return!("cartesian2d"!==e.type||!n||!i||!aV(1,n,i)&&!aV(0,n,i))||(ZD.dataFilter(e,{coord:n,x:t.x0,y:t.y0})||ZD.dataFilter(e,{coord:i,x:t.x1,y:t.y1}))}function cV(e,t,n,i,o){var r,a=i.coordinateSystem,s=e.getItemModel(t),c=tc.parsePercent(s.get(n[0]),o.getWidth()),l=tc.parsePercent(s.get(n[1]),o.getHeight());if(isNaN(c)||isNaN(l)){if(i.getMarkerPosition)r=i.getMarkerPosition(e.getValues(n,t));else{var d=[h=e.get(n[0],t),p=e.get(n[1],t)];a.clampData&&a.clampData(d,d),r=a.dataToPoint(d,!0)}if("cartesian2d"===a.type){var u=a.getAxis("x"),f=a.getAxis("y"),h=e.get(n[0],t),p=e.get(n[1],t);rV(h)?r[0]=u.toGlobalCoord(u.getExtent()["x0"===n[0]?0:1]):rV(p)&&(r[1]=f.toGlobalCoord(f.getExtent()["y0"===n[1]?0:1]))}isNaN(c)||(r[0]=c),isNaN(l)||(r[1]=l)}else r=[c,l];return r}var lV=[["x0","y0"],["x1","y0"],["x1","y1"],["x0","y1"]];function dV(e){var t=e.itemStyle||(e.itemStyle={}),n=t.emphasis||(t.emphasis={}),i=e.label||e.label||{},o=i.normal||(i.normal={}),r={normal:1,emphasis:1};D.each(i,function(e,t){r[t]||uV(o,t)||(o[t]=e)}),n.label&&!uV(i,"emphasis")&&(i.emphasis=n.label,delete n.label)}function uV(e,t){return e.hasOwnProperty(t)}XD.extend({type:"markArea",updateTransform:function(e,t,n){t.eachSeries(function(e){var t=e.markAreaModel;if(t){var i=t.getData();i.each(function(t){var o=D.map(lV,function(o){return cV(i,t,o,e,n)});i.setItemLayout(t,o),i.getItemGraphicEl(t).setShape("points",o)})}},this)},renderSeries:function(e,t,n,i){var o=e.coordinateSystem,r=e.id,a=e.getData(),s=this.markerGroupMap,c=s.get(r)||s.set(r,{group:new Ls.Group});this.group.add(c.group),c.__keep=!0;var l=function(e,t,n){var i,o;e?(i=D.map(e&&e.dimensions,function(e){var n=t.getData(),i=n.getDimensionInfo(n.mapDimension(e))||{};return D.defaults({name:e},i)}),o=new Lh(D.map(["x0","y0","x1","y1"],function(e,t){return{name:e,type:i[t%2].type}}),n)):o=new Lh(i=[{name:"value",type:"float"}],n);var r=D.map(n.get("data"),D.curry(oV,t,e,n));e&&(r=D.filter(r,D.curry(sV,e)));var a=e?function(e,t,n,i){return e.coord[Math.floor(i/2)][i%2]}:function(e){return e.value};return o.initData(r,null,a),o.hasItemOption=!0,o}(o,e,t);t.setData(l),l.each(function(t){l.setItemLayout(t,D.map(lV,function(n){return cV(l,t,n,e,i)})),l.setItemVisual(t,{color:a.getVisual("color")})}),l.diff(c.__data).add(function(e){var t=new Ls.Polygon({shape:{points:l.getItemLayout(e)}});l.setItemGraphicEl(e,t),c.group.add(t)}).update(function(e,n){var i=c.__data.getItemGraphicEl(n);Ls.updateProps(i,{shape:{points:l.getItemLayout(e)}},t,e),c.group.add(i),l.setItemGraphicEl(e,i)}).remove(function(e){var t=c.__data.getItemGraphicEl(e);c.group.remove(t)}).execute(),l.eachItemGraphicEl(function(e,n){var i=l.getItemModel(n),o=i.getModel("label"),r=i.getModel("emphasis.label"),a=l.getItemVisual(n,"color");e.useStyle(D.defaults(i.getModel("itemStyle").getItemStyle(),{fill:Ue.modifyAlpha(a,.4),stroke:a})),e.hoverStyle=i.getModel("emphasis.itemStyle").getItemStyle(),Ls.setLabelStyle(e.style,e.hoverStyle,o,r,{labelFetcher:t,labelDataIndex:n,defaultText:l.getName(n)||"",isRectText:!0,autoColor:a}),Ls.setHoverStyle(e,{}),e.dataModel=t}),c.__data=l,c.group.silent=t.get("silent")||e.get("silent")}}),mm.registerPreprocessor(function(e){e.markArea=e.markArea||{}});var fV=function(e){var t=e&&e.timeline;D.isArray(t)||(t=t?[t]:[]),D.each(t,function(e){e&&function(e){var t=e.type,n={number:"value",time:"time"};if(n[t]&&(e.axisType=n[t],delete e.type),dV(e),uV(e,"controlPosition")){var i=e.controlStyle||(e.controlStyle={});uV(i,"position")||(i.position=e.controlPosition),"none"!==i.position||uV(i,"show")||(i.show=!1,delete i.position),delete e.controlPosition}D.each(e.data||[],function(e){D.isObject(e)&&!D.isArray(e)&&(!uV(e,"value")&&uV(e,"name")&&(e.value=e.name),dV(e))})}(e)})};kc.registerSubTypeDefaulter("timeline",function(){return"slider"}),mm.registerAction({type:"timelineChange",event:"timelineChanged",update:"prepareAndUpdate"},function(e,t){var n=t.getComponent("timeline");return n&&null!=e.currentIndex&&(n.setCurrentIndex(e.currentIndex),!n.get("loop",!0)&&n.isIndexMax()&&n.setPlayState(!1)),t.resetOption("timeline"),D.defaults({currentIndex:n.option.currentIndex},e)}),mm.registerAction({type:"timelinePlayChange",event:"timelinePlayChanged",update:"update"},function(e,t){var n=t.getComponent("timeline");n&&null!=e.playState&&n.setPlayState(e.playState)});var hV=kc.extend({type:"timeline",layoutMode:"box",defaultOption:{zlevel:0,z:4,show:!0,axisType:"time",realtime:!0,left:"20%",top:null,right:"20%",bottom:0,width:null,height:40,padding:5,controlPosition:"left",autoPlay:!1,rewind:!1,loop:!0,playInterval:2e3,currentIndex:0,itemStyle:{},label:{color:"#000"},data:[]},init:function(e,t,n){this._data,this._names,this.mergeDefaultAndTheme(e,n),this._initData()},mergeOption:function(e){hV.superApply(this,"mergeOption",arguments),this._initData()},setCurrentIndex:function(e){null==e&&(e=this.option.currentIndex);var t=this._data.count();this.option.loop?e=(e%t+t)%t:(e>=t&&(e=t-1),e<0&&(e=0)),this.option.currentIndex=e},getCurrentIndex:function(){return this.option.currentIndex},isIndexMax:function(){return this.getCurrentIndex()>=this._data.count()-1},setPlayState:function(e){this.option.autoPlay=!!e},getPlayState:function(){return!!this.option.autoPlay},_initData:function(){var e=this.option,t=e.data||[],n=e.axisType,i=this._names=[];if("category"===n){var o=[];D.each(t,function(e,t){var n,r=ro.getDataItemValue(e);D.isObject(e)?(n=D.clone(e)).value=t:n=t,o.push(n),D.isString(r)||null!=r&&!isNaN(r)||(r=""),i.push(r+"")}),t=o}var r={category:"ordinal",time:"time"}[n]||"number";(this._data=new Lh([{name:"value",type:r}],this)).initData(t,i)},getData:function(){return this._data},getCategories:function(){if("category"===this.get("axisType"))return this._names.slice()}}),pV=hV.extend({type:"timeline.slider",defaultOption:{backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderWidth:0,orient:"horizontal",inverse:!1,tooltip:{trigger:"item"},symbol:"emptyCircle",symbolSize:10,lineStyle:{show:!0,width:2,color:"#304654"},label:{position:"auto",show:!0,interval:"auto",rotate:0,color:"#304654"},itemStyle:{color:"#304654",borderWidth:1},checkpointStyle:{symbol:"circle",symbolSize:13,color:"#c23531",borderWidth:5,borderColor:"rgba(194,53,49, 0.5)",animation:!0,animationDuration:300,animationEasing:"quinticInOut"},controlStyle:{show:!0,showPlayBtn:!0,showPrevBtn:!0,showNextBtn:!0,itemSize:22,itemGap:12,position:"left",playIcon:"path://M31.6,53C17.5,53,6,41.5,6,27.4S17.5,1.8,31.6,1.8C45.7,1.8,57.2,13.3,57.2,27.4S45.7,53,31.6,53z M31.6,3.3 C18.4,3.3,7.5,14.1,7.5,27.4c0,13.3,10.8,24.1,24.1,24.1C44.9,51.5,55.7,40.7,55.7,27.4C55.7,14.1,44.9,3.3,31.6,3.3z M24.9,21.3 c0-2.2,1.6-3.1,3.5-2l10.5,6.1c1.899,1.1,1.899,2.9,0,4l-10.5,6.1c-1.9,1.1-3.5,0.2-3.5-2V21.3z",stopIcon:"path://M30.9,53.2C16.8,53.2,5.3,41.7,5.3,27.6S16.8,2,30.9,2C45,2,56.4,13.5,56.4,27.6S45,53.2,30.9,53.2z M30.9,3.5C17.6,3.5,6.8,14.4,6.8,27.6c0,13.3,10.8,24.1,24.101,24.1C44.2,51.7,55,40.9,55,27.6C54.9,14.4,44.1,3.5,30.9,3.5z M36.9,35.8c0,0.601-0.4,1-0.9,1h-1.3c-0.5,0-0.9-0.399-0.9-1V19.5c0-0.6,0.4-1,0.9-1H36c0.5,0,0.9,0.4,0.9,1V35.8z M27.8,35.8 c0,0.601-0.4,1-0.9,1h-1.3c-0.5,0-0.9-0.399-0.9-1V19.5c0-0.6,0.4-1,0.9-1H27c0.5,0,0.9,0.4,0.9,1L27.8,35.8L27.8,35.8z",nextIcon:"path://M18.6,50.8l22.5-22.5c0.2-0.2,0.3-0.4,0.3-0.7c0-0.3-0.1-0.5-0.3-0.7L18.7,4.4c-0.1-0.1-0.2-0.3-0.2-0.5 c0-0.4,0.3-0.8,0.8-0.8c0.2,0,0.5,0.1,0.6,0.3l23.5,23.5l0,0c0.2,0.2,0.3,0.4,0.3,0.7c0,0.3-0.1,0.5-0.3,0.7l-0.1,0.1L19.7,52 c-0.1,0.1-0.3,0.2-0.5,0.2c-0.4,0-0.8-0.3-0.8-0.8C18.4,51.2,18.5,51,18.6,50.8z",prevIcon:"path://M43,52.8L20.4,30.3c-0.2-0.2-0.3-0.4-0.3-0.7c0-0.3,0.1-0.5,0.3-0.7L42.9,6.4c0.1-0.1,0.2-0.3,0.2-0.5 c0-0.4-0.3-0.8-0.8-0.8c-0.2,0-0.5,0.1-0.6,0.3L18.3,28.8l0,0c-0.2,0.2-0.3,0.4-0.3,0.7c0,0.3,0.1,0.5,0.3,0.7l0.1,0.1L41.9,54 c0.1,0.1,0.3,0.2,0.5,0.2c0.4,0,0.8-0.3,0.8-0.8C43.2,53.2,43.1,53,43,52.8z",color:"#304654",borderColor:"#304654",borderWidth:1},emphasis:{label:{show:!0,color:"#c23531"},itemStyle:{color:"#c23531"},controlStyle:{color:"#c23531",borderColor:"#c23531",borderWidth:2}},data:[]}});D.mixin(pV,Wd);var gV=_u.extend({type:"timeline"}),mV=function(e,t,n,i){Qg.call(this,e,t,n),this.type=i||"value",this.model=null};mV.prototype={constructor:mV,getLabelModel:function(){return this.model.getModel("label")},isHorizontal:function(){return"horizontal"===this.model.get("orient")}},D.inherits(mV,Qg);var bV=mV,vV=vg.createSymbol,yV=cc.encodeHTML,_V=D.bind,wV=D.each,xV=Math.PI;gV.extend({type:"timeline.slider",init:function(e,t){this.api=t,this._axis,this._viewRect,this._timer,this._currentPointer,this._mainGroup,this._labelGroup},render:function(e,t,n,i){if(this.model=e,this.api=n,this.ecModel=t,this.group.removeAll(),e.get("show",!0)){var o=this._layout(e,n),r=this._createGroup("mainGroup"),a=this._createGroup("labelGroup"),s=this._axis=this._createAxis(o,e);e.formatTooltip=function(e){return yV(s.scale.getLabel(e))},wV(["AxisLine","AxisTick","Control","CurrentPointer"],function(t){this["_render"+t](o,r,s,e)},this),this._renderAxisLabel(o,a,s,e),this._position(o,e)}this._doPlayStop()},remove:function(){this._clearTimer(),this.group.removeAll()},dispose:function(){this._clearTimer()},_layout:function(e,t){var n=e.get("label.position"),i=e.get("orient"),o=function(e,t){return yc.getLayoutRect(e.getBoxLayoutParams(),{width:t.getWidth(),height:t.getHeight()},e.get("padding"))}(e,t);null==n||"auto"===n?n="horizontal"===i?o.y+o.height/2<t.getHeight()/2?"-":"+":o.x+o.width/2<t.getWidth()/2?"+":"-":isNaN(n)&&(n={horizontal:{top:"-",bottom:"+"},vertical:{left:"-",right:"+"}}[i][n]);var r,a,s,c,l={horizontal:"center",vertical:n>=0||"+"===n?"left":"right"},d={horizontal:n>=0||"+"===n?"top":"bottom",vertical:"middle"},u={horizontal:0,vertical:xV/2},f="vertical"===i?o.height:o.width,h=e.getModel("controlStyle"),p=h.get("show",!0),g=p?h.get("itemSize"):0,m=p?h.get("itemGap"):0,b=g+m,v=e.get("label.rotate")||0;v=v*xV/180;var y=h.get("position",!0),_=p&&h.get("showPlayBtn",!0),w=p&&h.get("showPrevBtn",!0),x=p&&h.get("showNextBtn",!0),S=0,T=f;return"left"===y||"bottom"===y?(_&&(r=[0,0],S+=b),w&&(a=[S,0],S+=b),x&&(s=[T-g,0],T-=b)):(_&&(r=[T-g,0],T-=b),w&&(a=[0,0],S+=b),x&&(s=[T-g,0],T-=b)),c=[S,T],e.get("inverse")&&c.reverse(),{viewRect:o,mainLength:f,orient:i,rotation:u[i],labelRotation:v,labelPosOpt:n,labelAlign:e.get("label.align")||l[i],labelBaseline:e.get("label.verticalAlign")||e.get("label.baseline")||d[i],playPosition:r,prevBtnPosition:a,nextBtnPosition:s,axisExtent:c,controlSize:g,controlGap:m}},_position:function(e,t){var n=this._mainGroup,i=this._labelGroup,o=e.viewRect;if("vertical"===e.orient){var r=de.create(),a=o.x,s=o.y+o.height;de.translate(r,r,[-a,-s]),de.rotate(r,r,-xV/2),de.translate(r,r,[a,s]),(o=o.clone()).applyTransform(r)}var c=m(o),l=m(n.getBoundingRect()),d=m(i.getBoundingRect()),u=n.position,f=i.position;f[0]=u[0]=c[0][0];var h,p=e.labelPosOpt;isNaN(p)?(b(u,l,c,1,h="+"===p?0:1),b(f,d,c,1,1-h)):(b(u,l,c,1,h=p>=0?0:1),f[1]=u[1]+p);function g(e){var t=e.position;e.origin=[c[0][0]-t[0],c[1][0]-t[1]]}function m(e){return[[e.x,e.x+e.width],[e.y,e.y+e.height]]}function b(e,t,n,i,o){e[i]+=n[i][o]-t[i][o]}n.attr("position",u),i.attr("position",f),n.rotation=i.rotation=e.rotation,g(n),g(i)},_createAxis:function(e,t){var n=t.getData(),i=t.get("axisType"),o=sg.createScaleByModel(t,i);o.getTicks=function(){return n.mapArray(["value"],function(e){return e})};var r=n.getDataExtent("value");o.setExtent(r[0],r[1]),o.niceTicks();var a=new bV("value",o,e.axisExtent,i);return a.model=t,a},_createGroup:function(e){var t=this["_"+e]=new Ls.Group;return this.group.add(t),t},_renderAxisLine:function(e,t,n,i){var o=n.getExtent();i.get("lineStyle.show")&&t.add(new Ls.Line({shape:{x1:o[0],y1:0,x2:o[1],y2:0},style:D.extend({lineCap:"round"},i.getModel("lineStyle").getLineStyle()),silent:!0,z2:1}))},_renderAxisTick:function(e,t,n,i){var o=i.getData(),r=n.scale.getTicks();wV(r,function(e){var r=n.dataToCoord(e),a=o.getItemModel(e),s=a.getModel("itemStyle"),c=a.getModel("emphasis.itemStyle"),l={position:[r,0],onclick:_V(this._changeTimeline,this,e)},d=SV(a,s,t,l);Ls.setHoverStyle(d,c.getItemStyle()),a.get("tooltip")?(d.dataIndex=e,d.dataModel=i):d.dataIndex=d.dataModel=null},this)},_renderAxisLabel:function(e,t,n,i){if(n.getLabelModel().get("show")){var o=i.getData(),r=n.getViewLabels();wV(r,function(i){var r=i.tickValue,a=o.getItemModel(r),s=a.getModel("label"),c=a.getModel("emphasis.label"),l=n.dataToCoord(i.tickValue),d=new Ls.Text({position:[l,0],rotation:e.labelRotation-e.rotation,onclick:_V(this._changeTimeline,this,r),silent:!1});Ls.setTextStyle(d.style,s,{text:i.formattedLabel,textAlign:e.labelAlign,textVerticalAlign:e.labelBaseline}),t.add(d),Ls.setHoverStyle(d,Ls.setTextStyle({},c))},this)}},_renderControl:function(e,t,n,i){var o=e.controlSize,r=e.rotation,a=i.getModel("controlStyle").getItemStyle(),s=i.getModel("emphasis.controlStyle").getItemStyle(),c=[0,-o/2,o,o],l=i.getPlayState(),d=i.get("inverse",!0);function u(e,n,l,d){if(e){var u=function(e,t,n,i){return Ls.makePath(e.get(t).replace(/^path:\/\//,""),D.clone(i||{}),new Vt(n[0],n[1],n[2],n[3]),"center")}(i,n,c,{position:e,origin:[o/2,0],rotation:d?-r:0,rectHover:!0,style:a,onclick:l});t.add(u),Ls.setHoverStyle(u,s)}}u(e.nextBtnPosition,"controlStyle.nextIcon",_V(this._changeTimeline,this,d?"-":"+")),u(e.prevBtnPosition,"controlStyle.prevIcon",_V(this._changeTimeline,this,d?"+":"-")),u(e.playPosition,"controlStyle."+(l?"stopIcon":"playIcon"),_V(this._handlePlayClick,this,!l),!0)},_renderCurrentPointer:function(e,t,n,i){var o=i.getData(),r=i.getCurrentIndex(),a=o.getItemModel(r).getModel("checkpointStyle"),s=this,c={onCreate:function(e){e.draggable=!0,e.drift=_V(s._handlePointerDrag,s),e.ondragend=_V(s._handlePointerDragend,s),TV(e,r,n,i,!0)},onUpdate:function(e){TV(e,r,n,i)}};this._currentPointer=SV(a,a,this._mainGroup,{},this._currentPointer,c)},_handlePlayClick:function(e){this._clearTimer(),this.api.dispatchAction({type:"timelinePlayChange",playState:e,from:this.uid})},_handlePointerDrag:function(e,t,n){this._clearTimer(),this._pointerChangeTimeline([n.offsetX,n.offsetY])},_handlePointerDragend:function(e){this._pointerChangeTimeline([e.offsetX,e.offsetY],!0)},_pointerChangeTimeline:function(e,t){var n=this._toAxisCoord(e)[0],i=this._axis,o=tc.asc(i.getExtent().slice());n>o[1]&&(n=o[1]),n<o[0]&&(n=o[0]),this._currentPointer.position[0]=n,this._currentPointer.dirty();var r=this._findNearestTick(n),a=this.model;(t||r!==a.getCurrentIndex()&&a.get("realtime"))&&this._changeTimeline(r)},_doPlayStop:function(){this._clearTimer(),this.model.getPlayState()&&(this._timer=setTimeout(_V(function(){var e=this.model;this._changeTimeline(e.getCurrentIndex()+(e.get("rewind",!0)?-1:1))},this),this.model.get("playInterval")))},_toAxisCoord:function(e){var t=this._mainGroup.getLocalTransform();return Ls.applyTransform(e,t,!0)},_findNearestTick:function(e){var t,n=this.model.getData(),i=1/0,o=this._axis;return n.each(["value"],function(n,r){var a=o.dataToCoord(n),s=Math.abs(a-e);s<i&&(i=s,t=r)}),t},_clearTimer:function(){this._timer&&(clearTimeout(this._timer),this._timer=null)},_changeTimeline:function(e){var t=this.model.getCurrentIndex();"+"===e?e=t+1:"-"===e&&(e=t-1),this.api.dispatchAction({type:"timelineChange",currentIndex:e,from:this.uid})}});function SV(e,t,n,i,o,r){var a=t.get("color");if(o)o.setColor(a),n.add(o),r&&r.onUpdate(o);else{var s=e.get("symbol");(o=vV(s,-1,-1,2,2,a)).setStyle("strokeNoScale",!0),n.add(o),r&&r.onCreate(o)}var c=t.getItemStyle(["color","symbol","symbolSize"]);o.setStyle(c),i=D.merge({rectHover:!0,z2:100},i,!0);var l=e.get("symbolSize");(l=l instanceof Array?l.slice():[+l,+l])[0]/=2,l[1]/=2,i.scale=l;var d=e.get("symbolOffset");if(d){var u=i.position=i.position||[0,0];u[0]+=tc.parsePercent(d[0],l[0]),u[1]+=tc.parsePercent(d[1],l[1])}var f=e.get("symbolRotate");return i.rotation=(f||0)*Math.PI/180||0,o.attr(i),o.updateTransform(),o}function TV(e,t,n,i,o){if(!e.dragging){var r=i.getModel("checkpointStyle"),a=n.dataToCoord(i.getData().get(["value"],t));o||!r.get("animation",!0)?e.attr({position:[a,0]}):(e.stopAnimation(!0),e.animateTo({position:[a,0]},r.get("animationDuration",!0),r.get("animationEasing",!0)))}}mm.registerPreprocessor(fV);var kV=mm.extendComponentModel({type:"toolbox",layoutMode:{type:"box",ignoreSize:!0},optionUpdated:function(){kV.superApply(this,"optionUpdated",arguments),D.each(this.option.feature,function(e,t){var n=rO.get(t);n&&D.merge(e,n.defaultOption)})},defaultOption:{show:!0,z:6,zlevel:0,orient:"horizontal",left:"right",top:"top",backgroundColor:"transparent",borderColor:"#ccc",borderRadius:0,borderWidth:0,padding:5,itemSize:15,itemGap:8,showTitle:!0,iconStyle:{borderColor:"#666",color:"none"},emphasis:{iconStyle:{borderColor:"#3E98C5"}}}});mm.extendComponentView({type:"toolbox",render:function(e,t,n,i){var o=this.group;if(o.removeAll(),e.get("show")){var r=+e.get("itemSize"),a=e.get("feature")||{},s=this._features||(this._features={}),c=[];D.each(a,function(e,t){c.push(t)}),new sh(this._featureNames||[],c).add(l).update(l).remove(D.curry(l,null)).execute(),this._featureNames=c,oI.layout(o,e,n),o.add(oI.makeBackground(o.getBoundingRect(),e)),o.eachChild(function(e){var t=e.__title,i=e.hoverStyle;if(i&&t){var a=Bn.getBoundingRect(t,Bn.makeFont(i)),s=e.position[0]+o.position[0],c=!1;e.position[1]+o.position[1]+r+a.height>n.getHeight()&&(i.textPosition="top",c=!0);var l=c?-5-a.height:r+8;s+a.width/2>n.getWidth()?(i.textPosition=["100%",l],i.textAlign="right"):s-a.width/2<0&&(i.textPosition=[0,l],i.textAlign="left")}})}function l(l,d){var u,f=c[l],h=c[d],p=a[f],g=new Ks(p,e,e.ecModel);if(f&&!h){if(function(e){return 0===e.indexOf("my")}(f))u={model:g,onclick:g.option.onclick,featureName:f};else{var m=rO.get(f);if(!m)return;u=new m(g,t,n)}s[f]=u}else{if(!(u=s[h]))return;u.model=g,u.ecModel=t,u.api=n}f||!h?g.get("show")&&!u.unusable?(!function(i,a,s){var c=i.getModel("iconStyle"),l=i.getModel("emphasis.iconStyle"),d=a.getIcons?a.getIcons():i.get("icon"),u=i.get("title")||{};if("string"==typeof d){var f=d,h=u;u={},(d={})[s]=f,u[s]=h}var p=i.iconPaths={};D.each(d,function(s,d){var f=Ls.createIcon(s,{},{x:-r/2,y:-r/2,width:r,height:r});f.setStyle(c.getItemStyle()),f.hoverStyle=l.getItemStyle(),Ls.setHoverStyle(f),e.get("showTitle")&&(f.__title=u[d],f.on("mouseover",function(){var e=l.getItemStyle();f.setStyle({text:u[d],textPosition:e.textPosition||"bottom",textFill:e.fill||e.stroke||"#000",textAlign:e.textAlign||"center"})}).on("mouseout",function(){f.setStyle({textFill:null})})),f.trigger(i.get("iconStatus."+d)||"normal"),o.add(f),f.on("click",D.bind(a.onclick,a,t,n,d)),p[d]=f})}(g,u,f),g.setIconStatus=function(e,t){var n=this.option,i=this.iconPaths;n.iconStatus=n.iconStatus||{},n.iconStatus[e]=t,i[e]&&i[e].trigger(t)},u.render&&u.render(g,t,n,i)):u.remove&&u.remove(t,n):u.dispose&&u.dispose(t,n)}},updateView:function(e,t,n,i){D.each(this._features,function(e){e.updateView&&e.updateView(e.model,t,n,i)})},remove:function(e,t){D.each(this._features,function(n){n.remove&&n.remove(e,t)}),this.group.removeAll()},dispose:function(e,t){D.each(this._features,function(n){n.dispose&&n.dispose(e,t)})}});var CV=zu.toolbox.saveAsImage;function jV(e){this.model=e}jV.defaultOption={show:!0,icon:"M4.7,22.9L29.3,45.5L54.7,23.4M4.6,43.6L4.6,58L53.8,58L53.8,43.6M29.2,45.1L29.2,0",title:CV.title,type:"png",name:"",excludeComponents:["toolbox"],pixelRatio:1,lang:CV.lang.slice()},jV.prototype.unusable=!c.canvasSupported,jV.prototype.onclick=function(e,t){var n=this.model,i=n.get("name")||e.get("title.0.text")||"echarts",o=document.createElement("a"),r=n.get("type",!0)||"png";o.download=i+"."+r,o.target="_blank";var a=t.getConnectedDataURL({type:r,backgroundColor:n.get("backgroundColor",!0)||e.get("backgroundColor")||"#fff",excludeComponents:n.get("excludeComponents"),pixelRatio:n.get("pixelRatio")});if(o.href=a,"function"!=typeof MouseEvent||c.browser.ie||c.browser.edge)if(window.navigator.msSaveOrOpenBlob){for(var s=atob(a.split(",")[1]),l=s.length,d=new Uint8Array(l);l--;)d[l]=s.charCodeAt(l);var u=new Blob([d]);window.navigator.msSaveOrOpenBlob(u,i+"."+r)}else{var f=n.get("lang"),h='<body style="margin:0;"><img src="'+a+'" style="max-width:100%;" title="'+(f&&f[0]||"")+'" /></body>';window.open().document.write(h)}else{var p=new MouseEvent("click",{view:window,bubbles:!0,cancelable:!1});o.dispatchEvent(p)}},rO.register("saveAsImage",jV);var AV=zu.toolbox.magicType;function EV(e){this.model=e}EV.defaultOption={show:!0,type:[],icon:{line:"M4.1,28.9h7.1l9.3-22l7.4,38l9.7-19.7l3,12.8h14.9M4.1,58h51.4",bar:"M6.7,22.9h10V48h-10V22.9zM24.9,13h10v35h-10V13zM43.2,2h10v46h-10V2zM3.1,58h53.7",stack:"M8.2,38.4l-8.4,4.1l30.6,15.3L60,42.5l-8.1-4.1l-21.5,11L8.2,38.4z M51.9,30l-8.1,4.2l-13.4,6.9l-13.9-6.9L8.2,30l-8.4,4.2l8.4,4.2l22.2,11l21.5-11l8.1-4.2L51.9,30z M51.9,21.7l-8.1,4.2L35.7,30l-5.3,2.8L24.9,30l-8.4-4.1l-8.3-4.2l-8.4,4.2L8.2,30l8.3,4.2l13.9,6.9l13.4-6.9l8.1-4.2l8.1-4.1L51.9,21.7zM30.4,2.2L-0.2,17.5l8.4,4.1l8.3,4.2l8.4,4.2l5.5,2.7l5.3-2.7l8.1-4.2l8.1-4.2l8.1-4.1L30.4,2.2z",tiled:"M2.3,2.2h22.8V25H2.3V2.2z M35,2.2h22.8V25H35V2.2zM2.3,35h22.8v22.8H2.3V35z M35,35h22.8v22.8H35V35z"},title:D.clone(AV.title),option:{},seriesIndex:{}};var IV=EV.prototype;IV.getIcons=function(){var e=this.model,t=e.get("icon"),n={};return D.each(e.get("type"),function(e){t[e]&&(n[e]=t[e])}),n};var MV={line:function(e,t,n,i){if("bar"===e)return D.merge({id:t,type:"line",data:n.get("data"),stack:n.get("stack"),markPoint:n.get("markPoint"),markLine:n.get("markLine")},i.get("option.line")||{},!0)},bar:function(e,t,n,i){if("line"===e)return D.merge({id:t,type:"bar",data:n.get("data"),stack:n.get("stack"),markPoint:n.get("markPoint"),markLine:n.get("markLine")},i.get("option.bar")||{},!0)},stack:function(e,t,n,i){if("line"===e||"bar"===e)return D.merge({id:t,stack:"__ec_magicType_stack__"},i.get("option.stack")||{},!0)},tiled:function(e,t,n,i){if("line"===e||"bar"===e)return D.merge({id:t,stack:""},i.get("option.tiled")||{},!0)}},OV=[["line","bar"],["stack","tiled"]];IV.onclick=function(e,t,n){var i=this.model,o=i.get("seriesIndex."+n);if(MV[n]){var r={series:[]};D.each(OV,function(e){D.indexOf(e,n)>=0&&D.each(e,function(e){i.setIconStatus(e,"normal")})}),i.setIconStatus(n,"emphasis"),e.eachComponent({mainType:"series",query:null==o?null:{seriesIndex:o}},function(t){var o=t.subType,a=t.id,s=MV[n](o,a,t,i);s&&(D.defaults(s,t.option),r.series.push(s));var c=t.coordinateSystem;if(c&&"cartesian2d"===c.type&&("line"===n||"bar"===n)){var l=c.getAxesByScale("ordinal")[0];if(l){var d=l.dim+"Axis",u=e.queryComponents({mainType:d,index:t.get(name+"Index"),id:t.get(name+"Id")})[0].componentIndex;r[d]=r[d]||[];for(var f=0;f<=u;f++)r[d][u]=r[d][u]||{};r[d][u].boundaryGap="bar"===n}}}),t.dispatchAction({type:"changeMagicType",currentType:n,newOption:r})}},mm.registerAction({type:"changeMagicType",event:"magicTypeChanged",update:"prepareAndUpdate"},function(e,t){t.mergeOption(e.newOption)}),rO.register("magicType",EV);var DV=zu.toolbox.dataView,VV=new Array(60).join("-"),LV="\t";function PV(e){var t,n,i=function(e){var t={},n=[],i=[];return e.eachRawSeries(function(e){var o=e.coordinateSystem;if(!o||"cartesian2d"!==o.type&&"polar"!==o.type)n.push(e);else{var r=o.getBaseAxis();if("category"===r.type){var a=r.dim+"_"+r.index;t[a]||(t[a]={categoryAxis:r,valueAxis:o.getOtherAxis(r),series:[]},i.push({axisDim:r.dim,axisIndex:r.index})),t[a].series.push(e)}else n.push(e)}}),{seriesGroupByCategoryAxis:t,other:n,meta:i}}(e);return{value:D.filter([(t=i.seriesGroupByCategoryAxis,n=[],D.each(t,function(e,t){var i=e.categoryAxis,o=e.valueAxis.dim,r=[" "].concat(D.map(e.series,function(e){return e.name})),a=[i.model.getCategories()];D.each(e.series,function(e){a.push(e.getRawData().mapArray(o,function(e){return e}))});for(var s=[r.join(LV)],c=0;c<a[0].length;c++){for(var l=[],d=0;d<a.length;d++)l.push(a[d][c]);s.push(l.join(LV))}n.push(s.join("\n"))}),n.join("\n\n"+VV+"\n\n")),function(e){return D.map(e,function(e){var t=e.getRawData(),n=[e.name],i=[];return t.each(t.dimensions,function(){for(var e=arguments.length,o=arguments[e-1],r=t.getName(o),a=0;a<e-1;a++)i[a]=arguments[a];n.push((r?r+LV:"")+i.join(LV))}),n.join("\n")}).join("\n\n"+VV+"\n\n")}(i.other)],function(e){return e.replace(/[\n\t\s]/g,"")}).join("\n\n"+VV+"\n\n"),meta:i.meta}}function NV(e){return e.replace(/^\s\s*/,"").replace(/\s\s*$/,"")}var RV=new RegExp("["+LV+"]+","g");function FV(e,t){var n=e.split(new RegExp("\n*"+VV+"\n*","g")),i={series:[]};return D.each(n,function(e,n){if(function(e){if(e.slice(0,e.indexOf("\n")).indexOf(LV)>=0)return!0}(e)){var o=function(e){for(var t=e.split(/\n+/g),n=NV(t.shift()).split(RV),i=[],o=D.map(n,function(e){return{name:e,data:[]}}),r=0;r<t.length;r++){var a=NV(t[r]).split(RV);i.push(a.shift());for(var s=0;s<a.length;s++)o[s]&&(o[s].data[r]=a[s])}return{series:o,categories:i}}(e),r=t[n],a=r.axisDim+"Axis";r&&(i[a]=i[a]||[],i[a][r.axisIndex]={data:o.categories},i.series=i.series.concat(o.series))}else{o=function(e){for(var t=e.split(/\n+/g),n=NV(t.shift()),i=[],o=0;o<t.length;o++){var r,a=NV(t[o]).split(RV),s="",c=!1;isNaN(a[0])?(c=!0,s=a[0],a=a.slice(1),i[o]={name:s,value:[]},r=i[o].value):r=i[o]=[];for(var l=0;l<a.length;l++)r.push(+a[l]);1===r.length&&(c?i[o].value=r[0]:i[o]=r[0])}return{name:n,data:i}}(e);i.series.push(o)}}),i}function BV(e){this._dom=null,this.model=e}BV.defaultOption={show:!0,readOnly:!1,optionToContent:null,contentToOption:null,icon:"M17.5,17.3H33 M17.5,17.3H33 M45.4,29.5h-28 M11.5,2v56H51V14.8L38.4,2H11.5z M38.4,2.2v12.7H51 M45.4,41.7h-28",title:D.clone(DV.title),lang:D.clone(DV.lang),backgroundColor:"#fff",textColor:"#000",textareaColor:"#fff",textareaBorderColor:"#333",buttonColor:"#c23531",buttonTextColor:"#fff"},BV.prototype.onclick=function(e,t){var n=t.getDom(),i=this.model;this._dom&&n.removeChild(this._dom);var o=document.createElement("div");o.style.cssText="position:absolute;left:5px;top:5px;bottom:5px;right:5px;",o.style.backgroundColor=i.get("backgroundColor")||"#fff";var r=document.createElement("h4"),a=i.get("lang")||[];r.innerHTML=a[0]||i.get("title"),r.style.cssText="margin: 10px 20px;",r.style.color=i.get("textColor");var s=document.createElement("div"),c=document.createElement("textarea");s.style.cssText="display:block;width:100%;overflow:auto;";var l=i.get("optionToContent"),d=i.get("contentToOption"),u=PV(e);if("function"==typeof l){var f=l(t.getOption());"string"==typeof f?s.innerHTML=f:D.isDom(f)&&s.appendChild(f)}else s.appendChild(c),c.readOnly=i.get("readOnly"),c.style.cssText="width:100%;height:100%;font-family:monospace;font-size:14px;line-height:1.6rem;",c.style.color=i.get("textColor"),c.style.borderColor=i.get("textareaBorderColor"),c.style.backgroundColor=i.get("textareaColor"),c.value=u.value;var h=u.meta,p=document.createElement("div");p.style.cssText="position:absolute;bottom:0;left:0;right:0;";var g="float:right;margin-right:20px;border:none;cursor:pointer;padding:2px 5px;font-size:12px;border-radius:3px",m=document.createElement("div"),b=document.createElement("div");g+=";background-color:"+i.get("buttonColor"),g+=";color:"+i.get("buttonTextColor");var v=this;function y(){n.removeChild(o),v._dom=null}Q.addEventListener(m,"click",y),Q.addEventListener(b,"click",function(){var e;try{e="function"==typeof d?d(s,t.getOption()):FV(c.value,h)}catch(e){throw y(),new Error("Data view format error "+e)}e&&t.dispatchAction({type:"changeDataView",newOption:e}),y()}),m.innerHTML=a[1],b.innerHTML=a[2],b.style.cssText=g,m.style.cssText=g,!i.get("readOnly")&&p.appendChild(b),p.appendChild(m),Q.addEventListener(c,"keydown",function(e){if(9===(e.keyCode||e.which)){var t=this.value,n=this.selectionStart,i=this.selectionEnd;this.value=t.substring(0,n)+LV+t.substring(i),this.selectionStart=this.selectionEnd=n+1,Q.stop(e)}}),o.appendChild(r),o.appendChild(s),o.appendChild(p),s.style.height=n.clientHeight-80+"px",n.appendChild(o),this._dom=o},BV.prototype.remove=function(e,t){this._dom&&t.getDom().removeChild(this._dom)},BV.prototype.dispose=function(e,t){this.remove(e,t)},rO.register("dataView",BV),mm.registerAction({type:"changeDataView",event:"dataViewChanged",update:"prepareAndUpdate"},function(e,t){var n=[];D.each(e.newOption.series,function(e){var i=t.getSeriesByName(e.name)[0];if(i){var o=i.get("data");n.push({name:e.name,data:function(e,t){return D.map(e,function(e,n){var i=t&&t[n];return D.isObject(i)&&!D.isArray(i)?(D.isObject(e)&&!D.isArray(e)&&(e=e.value),D.defaults({value:e},i)):e})}(e.data,o)})}else n.push(D.extend({type:"scatter"},e))}),t.mergeOption(D.defaults({series:n},e.newOption))});var zV=D.each,HV="\0_ec_hist_store";function $V(e){var t=e[HV];return t||(t=e[HV]=[{}]),t}var qV={push:function(e,t){var n=$V(e);zV(t,function(t,i){for(var o=n.length-1;o>=0&&!n[o][i];o--);if(o<0){var r=e.queryComponents({mainType:"dataZoom",subType:"select",id:i})[0];if(r){var a=r.getPercentRange();n[0][i]={dataZoomId:i,start:a[0],end:a[1]}}}}),n.push(t)},pop:function(e){var t=$V(e),n=t[t.length-1];t.length>1&&t.pop();var i={};return zV(n,function(e,n){for(var o=t.length-1;o>=0;o--)if(e=t[o][n]){i[n]=e;break}}),i},clear:function(e){e[HV]=null},count:function(e){return $V(e).length}},WV=(MO.extend({type:"dataZoom.select"}),OO.extend({type:"dataZoom.select"}),zu.toolbox.dataZoom),GV=D.each,UV="\0_ec_\0toolbox-dataZoom_";function KV(e,t,n){(this._brushController=new Lk(n.getZr())).on("brush",D.bind(this._onBrush,this)).mount(),this._isZoomActive}KV.defaultOption={show:!0,icon:{zoom:"M0,13.5h26.9 M13.5,26.9V0 M32.1,13.5H58V58H13.5 V32.1",back:"M22,1.4L9.9,13.5l12.3,12.3 M10.3,13.5H54.9v44.6 H10.3v-26"},title:D.clone(WV.title)};var YV=KV.prototype;YV.render=function(e,t,n,i){this.model=e,this.ecModel=t,this.api=n,function(e,t,n,i,o){var r=n._isZoomActive;i&&"takeGlobalCursor"===i.type&&(r="dataZoomSelect"===i.key&&i.dataZoomSelectActive);n._isZoomActive=r,e.setIconStatus("zoom",r?"emphasis":"normal");var a=new WM(XV(e.option),t,{include:["grid"]});n._brushController.setPanels(a.makePanelOpts(o,function(e){return e.xAxisDeclared&&!e.yAxisDeclared?"lineX":!e.xAxisDeclared&&e.yAxisDeclared?"lineY":"rect"})).enableBrush(!!r&&{brushType:"auto",brushStyle:{lineWidth:0,fill:"rgba(0,0,0,0.2)"}})}(e,t,this,i,n),function(e,t){e.setIconStatus("back",qV.count(t)>1?"emphasis":"normal")}(e,t)},YV.onclick=function(e,t,n){ZV[n].call(this)},YV.remove=function(e,t){this._brushController.unmount()},YV.dispose=function(e,t){this._brushController.dispose()};var ZV={zoom:function(){var e=!this._isZoomActive;this.api.dispatchAction({type:"takeGlobalCursor",key:"dataZoomSelect",dataZoomSelectActive:e})},back:function(){this._dispatchZoomAction(qV.pop(this.ecModel))}};function XV(e){var t={};return D.each(["xAxisIndex","yAxisIndex"],function(n){t[n]=e[n],null==t[n]&&(t[n]="all"),(!1===t[n]||"none"===t[n])&&(t[n]=[])}),t}YV._onBrush=function(e,t){if(t.isEnd&&e.length){var n={},i=this.ecModel;this._brushController.updateCovers([]),new WM(XV(this.model.option),i,{include:["grid"]}).matchOutputRanges(e,i,function(e,t,n){if("cartesian2d"===n.type){var i=e.brushType;"rect"===i?(o("x",n,t[0]),o("y",n,t[1])):o({lineX:"x",lineY:"y"}[i],n,t)}}),qV.push(i,n),this._dispatchZoomAction(n)}function o(e,t,o){var r=t.getAxis(e),a=r.model,s=function(e,t,n){var i;return n.eachComponent({mainType:"dataZoom",subType:"select"},function(n){n.getAxisModel(e,t.componentIndex)&&(i=n)}),i}(e,a,i),c=s.findRepresentativeAxisProxy(a).getMinMaxSpan();null==c.minValueSpan&&null==c.maxValueSpan||(o=DT(0,o.slice(),r.scale.getExtent(),0,c.minValueSpan,c.maxValueSpan)),s&&(n[s.id]={dataZoomId:s.id,startValue:o[0],endValue:o[1]})}},YV._dispatchZoomAction=function(e){var t=[];GV(e,function(e,n){t.push(D.clone(e))}),t.length&&this.api.dispatchAction({type:"dataZoom",from:this.uid,batch:t})},rO.register("dataZoom",KV),mm.registerPreprocessor(function(e){if(e){var t=e.dataZoom||(e.dataZoom=[]);D.isArray(t)||(e.dataZoom=t=[t]);var n=e.toolbox;if(n&&(D.isArray(n)&&(n=n[0]),n&&n.feature)){var i=n.feature.dataZoom;o("xAxis",i),o("yAxis",i)}}function o(n,i){if(i){var o=n+"Index",r=i[o];null==r||"all"===r||D.isArray(r)||(r=!1===r||"none"===r?[]:[r]),function(t,n){var i=e[t];D.isArray(i)||(i=i?[i]:[]);GV(i,n)}(n,function(e,i){if(null==r||"all"===r||-1!==D.indexOf(r,i)){var a={type:"select",$fromToolbox:!0,id:UV+n+i};a[o]=i,t.push(a)}})}}});var QV=zu.toolbox.restore;function JV(e){this.model=e}JV.defaultOption={show:!0,icon:"M3.8,33.4 M47,18.9h9.8V8.7 M56.3,20.1 C52.1,9,40.5,0.6,26.8,2.1C12.6,3.7,1.6,16.2,2.1,30.6 M13,41.1H3.1v10.2 M3.7,39.9c4.2,11.1,15.8,19.5,29.5,18 c14.2-1.6,25.2-14.1,24.7-28.5",title:QV.title},JV.prototype.onclick=function(e,t,n){qV.clear(e),t.dispatchAction({type:"restore",from:this.uid})},rO.register("restore",JV),mm.registerAction({type:"restore",event:"restore",update:"prepareAndUpdate"},function(e,t){t.resetOption("recreate")});var eL,tL="urn:schemas-microsoft-com:vml",nL="undefined"==typeof window?null:window,iL=!1,oL=nL&&nL.document;if(oL&&!c.canvasSupported)try{!oL.namespaces.zrvml&&oL.namespaces.add("zrvml",tL),eL=function(e){return oL.createElement("<zrvml:"+e+' class="zrvml">')}}catch(e){eL=function(e){return oL.createElement("<"+e+' xmlns="'+tL+'" class="zrvml">')}}var rL={doc:oL,createNode:function(e){return eL(e)},initVML:function(){if(!iL&&oL){iL=!0;var e=oL.styleSheets;e.length<31?oL.createStyleSheet().addRule(".zrvml","behavior:url(#default#VML)"):e[0].addRule(".zrvml","behavior:url(#default#VML)")}}},aL=F.applyTransform,sL=ar.CMD,cL=Math.round,lL=Math.sqrt,dL=Math.abs,uL=Math.cos,fL=Math.sin,hL=Math.max;if(!c.canvasSupported){var pL=21600,gL=pL/2,mL=function(e){e.style.cssText="position:absolute;left:0;top:0;width:1px;height:1px;",e.coordsize=pL+","+pL,e.coordorigin="0,0"},bL=function(e,t,n){return"rgb("+[e,t,n].join(",")+")"},vL=function(e,t){t&&e&&t.parentNode!==e&&e.appendChild(t)},yL=function(e,t){t&&e&&t.parentNode===e&&e.removeChild(t)},_L=function(e,t,n){return 1e5*(parseFloat(e)||0)+1e3*(parseFloat(t)||0)+n},wL=function(e,t){return"string"==typeof e?e.lastIndexOf("%")>=0?parseFloat(e)/100*t:parseFloat(e):e},xL=function(e,t,n){var i=Ue.parse(t);n=+n,isNaN(n)&&(n=1),i&&(e.color=bL(i[0],i[1],i[2]),e.opacity=n*i[3])},SL=function(e,t,n,i){var o="fill"==t,r=e.getElementsByTagName(t)[0];null!=n[t]&&"none"!==n[t]&&(o||!o&&n.lineWidth)?(e[o?"filled":"stroked"]="true",n[t]instanceof Oa&&yL(e,r),r||(r=rL.createNode(t)),o?function(e,t,n){var i,o,r=t.fill;if(null!=r)if(r instanceof Oa){var a,s=0,c=[0,0],l=0,d=1,u=n.getBoundingRect(),f=u.width,h=u.height;if("linear"===r.type){a="gradient";var p=n.transform,g=[r.x*f,r.y*h],m=[r.x2*f,r.y2*h];p&&(aL(g,g,p),aL(m,m,p));var b=m[0]-g[0],v=m[1]-g[1];(s=180*Math.atan2(b,v)/Math.PI)<0&&(s+=360),s<1e-6&&(s=0)}else{a="gradientradial",g=[r.x*f,r.y*h],p=n.transform;var y=n.scale,_=f,w=h;c=[(g[0]-u.x)/_,(g[1]-u.y)/w],p&&aL(g,g,p),_/=y[0]*pL,w/=y[1]*pL;var x=hL(_,w);l=0/x,d=2*r.r/x-l}var S=r.colorStops.slice();S.sort(function(e,t){return e.offset-t.offset});for(var T=S.length,k=[],C=[],j=0;j<T;j++){var A=S[j],E=(i=A.color,o=Ue.parse(i),[bL(o[0],o[1],o[2]),o[3]]);C.push(A.offset*d+l+" "+E[0]),0!==j&&j!==T-1||k.push(E)}if(T>=2){var I=k[0][0],M=k[1][0],O=k[0][1]*t.opacity,D=k[1][1]*t.opacity;e.type=a,e.method="none",e.focus="100%",e.angle=s,e.color=I,e.color2=M,e.colors=C.join(","),e.opacity=D,e.opacity2=O}"radial"===a&&(e.focusposition=c.join(","))}else xL(e,r,t.opacity)}(r,n,i):function(e,t){null!=t.lineDash&&(e.dashstyle=t.lineDash.join(" ")),null==t.stroke||t.stroke instanceof Oa||xL(e,t.stroke,t.opacity)}(r,n),vL(e,r)):(e[o?"filled":"stroked"]="false",yL(e,r))},TL=[[],[],[]];Or.prototype.brushVML=function(e){var t=this.style,n=this._vmlEl;n||(n=rL.createNode("shape"),mL(n),this._vmlEl=n),SL(n,"fill",t,this),SL(n,"stroke",t,this);var i=this.transform,o=null!=i,r=n.getElementsByTagName("stroke")[0];if(r){var a=t.lineWidth;if(o&&!t.strokeNoScale){var s=i[0]*i[3]-i[1]*i[2];a*=lL(dL(s))}r.weight=a+"px"}var c=this.path||(this.path=new ar);this.__dirtyPath&&(c.beginPath(),this.buildPath(c,this.shape),c.toStatic(),this.__dirtyPath=!1),n.path=function(e,t){var n,i,o,r,a,s,c=sL.M,l=sL.C,d=sL.L,u=sL.A,f=sL.Q,h=[],p=e.data,g=e.len();for(r=0;r<g;){switch(i="",n=0,o=p[r++]){case c:i=" m ",n=1,a=p[r++],s=p[r++],TL[0][0]=a,TL[0][1]=s;break;case d:i=" l ",n=1,a=p[r++],s=p[r++],TL[0][0]=a,TL[0][1]=s;break;case f:case l:i=" c ",n=3;var m,b,v=p[r++],y=p[r++],_=p[r++],w=p[r++];o===f?(m=_,b=w,_=(_+2*v)/3,w=(w+2*y)/3,v=(a+2*v)/3,y=(s+2*y)/3):(m=p[r++],b=p[r++]),TL[0][0]=v,TL[0][1]=y,TL[1][0]=_,TL[1][1]=w,TL[2][0]=m,TL[2][1]=b,a=m,s=b;break;case u:var x=0,S=0,T=1,k=1,C=0;t&&(x=t[4],S=t[5],T=lL(t[0]*t[0]+t[1]*t[1]),k=lL(t[2]*t[2]+t[3]*t[3]),C=Math.atan2(-t[1]/k,t[0]/T));var j=p[r++],A=p[r++],E=p[r++],I=p[r++],M=p[r++]+C,O=p[r++]+M+C;r++;var D=p[r++],V=j+uL(M)*E,L=A+fL(M)*I,P=(v=j+uL(O)*E,y=A+fL(O)*I,D?" wa ":" at ");Math.abs(V-v)<1e-4&&(Math.abs(O-M)>.01?D&&(V+=.0125):Math.abs(L-A)<1e-4?D&&V<j||!D&&V>j?y-=.0125:y+=.0125:D&&L<A||!D&&L>A?v+=.0125:v-=.0125),h.push(P,cL(((j-E)*T+x)*pL-gL),",",cL(((A-I)*k+S)*pL-gL),",",cL(((j+E)*T+x)*pL-gL),",",cL(((A+I)*k+S)*pL-gL),",",cL((V*T+x)*pL-gL),",",cL((L*k+S)*pL-gL),",",cL((v*T+x)*pL-gL),",",cL((y*k+S)*pL-gL)),a=v,s=y;break;case sL.R:var N=TL[0],R=TL[1];N[0]=p[r++],N[1]=p[r++],R[0]=N[0]+p[r++],R[1]=N[1]+p[r++],t&&(aL(N,N,t),aL(R,R,t)),N[0]=cL(N[0]*pL-gL),R[0]=cL(R[0]*pL-gL),N[1]=cL(N[1]*pL-gL),R[1]=cL(R[1]*pL-gL),h.push(" m ",N[0],",",N[1]," l ",R[0],",",N[1]," l ",R[0],",",R[1]," l ",N[0],",",R[1]);break;case sL.Z:h.push(" x ")}if(n>0){h.push(i);for(var F=0;F<n;F++){var B=TL[F];t&&aL(B,B,t),h.push(cL(B[0]*pL-gL),",",cL(B[1]*pL-gL),F<n-1?",":"")}}}return h.join("")}(c,this.transform),n.style.zIndex=_L(this.zlevel,this.z,this.z2),vL(e,n),null!=t.text?this.drawRectText(e,this.getBoundingRect()):this.removeRectText(e)},Or.prototype.onRemove=function(e){yL(e,this._vmlEl),this.removeRectText(e)},Or.prototype.onAdd=function(e){vL(e,this._vmlEl),this.appendRectText(e)};bi.prototype.brushVML=function(e){var t,n,i,o=this.style,r=o.image;if("object"==typeof(i=r)&&i.tagName&&"IMG"===i.tagName.toUpperCase()){var a=r.src;if(a===this._imageSrc)t=this._imageWidth,n=this._imageHeight;else{var s=r.runtimeStyle,c=s.width,l=s.height;s.width="auto",s.height="auto",t=r.width,n=r.height,s.width=c,s.height=l,this._imageSrc=a,this._imageWidth=t,this._imageHeight=n}r=a}else r===this._imageSrc&&(t=this._imageWidth,n=this._imageHeight);if(r){var d=o.x||0,u=o.y||0,f=o.width,h=o.height,p=o.sWidth,g=o.sHeight,m=o.sx||0,b=o.sy||0,v=p&&g,y=this._vmlEl;y||(y=rL.doc.createElement("div"),mL(y),this._vmlEl=y);var _,w=y.style,x=!1,S=1,T=1;if(this.transform&&(_=this.transform,S=lL(_[0]*_[0]+_[1]*_[1]),T=lL(_[2]*_[2]+_[3]*_[3]),x=_[1]||_[2]),x){var k=[d,u],C=[d+f,u],j=[d,u+h],A=[d+f,u+h];aL(k,k,_),aL(C,C,_),aL(j,j,_),aL(A,A,_);var E=hL(k[0],C[0],j[0],A[0]),I=hL(k[1],C[1],j[1],A[1]),M=[];M.push("M11=",_[0]/S,",","M12=",_[2]/T,",","M21=",_[1]/S,",","M22=",_[3]/T,",","Dx=",cL(d*S+_[4]),",","Dy=",cL(u*T+_[5])),w.padding="0 "+cL(E)+"px "+cL(I)+"px 0",w.filter="progid:DXImageTransform.Microsoft.Matrix("+M.join("")+", SizingMethod=clip)"}else _&&(d=d*S+_[4],u=u*T+_[5]),w.filter="",w.left=cL(d)+"px",w.top=cL(u)+"px";var O=this._imageEl,D=this._cropEl;O||(O=rL.doc.createElement("div"),this._imageEl=O);var V=O.style;if(v){if(t&&n)V.width=cL(S*t*f/p)+"px",V.height=cL(T*n*h/g)+"px";else{var L=new Image,P=this;L.onload=function(){L.onload=null,t=L.width,n=L.height,V.width=cL(S*t*f/p)+"px",V.height=cL(T*n*h/g)+"px",P._imageWidth=t,P._imageHeight=n,P._imageSrc=r},L.src=r}D||((D=rL.doc.createElement("div")).style.overflow="hidden",this._cropEl=D);var N=D.style;N.width=cL((f+m*f/p)*S),N.height=cL((h+b*h/g)*T),N.filter="progid:DXImageTransform.Microsoft.Matrix(Dx="+-m*f/p*S+",Dy="+-b*h/g*T+")",D.parentNode||y.appendChild(D),O.parentNode!=D&&D.appendChild(O)}else V.width=cL(S*f)+"px",V.height=cL(T*h)+"px",y.appendChild(O),D&&D.parentNode&&(y.removeChild(D),this._cropEl=null);var R="",F=o.opacity;F<1&&(R+=".Alpha(opacity="+cL(100*F)+") "),R+="progid:DXImageTransform.Microsoft.AlphaImageLoader(src="+r+", SizingMethod=scale)",V.filter=R,y.style.zIndex=_L(this.zlevel,this.z,this.z2),vL(e,y),null!=o.text&&this.drawRectText(e,this.getBoundingRect())}},bi.prototype.onRemove=function(e){yL(e,this._vmlEl),this._vmlEl=null,this._cropEl=null,this._imageEl=null,this.removeRectText(e)},bi.prototype.onAdd=function(e){vL(e,this._vmlEl),this.appendRectText(e)};var kL,CL={},jL=0,AL=document.createElement("div");Bn.$override("measureText",function(e,t){var n=rL.doc;kL||((kL=n.createElement("div")).style.cssText="position:absolute;top:-20000px;left:0;padding:0;margin:0;border:none;white-space:pre;",rL.doc.body.appendChild(kL));try{kL.style.font=t}catch(e){}return kL.innerHTML="",kL.appendChild(n.createTextNode(e)),{width:kL.offsetWidth}});for(var EL=new Vt,IL=function(e,t,n,i){var o=this.style;this.__dirty&&di.normalizeTextStyle(o,!0);var r=o.text;if(null!=r&&(r+=""),r){if(o.rich){var a=Bn.parseRichText(r,o);r=[];for(var s=0;s<a.lines.length;s++){for(var c=a.lines[s].tokens,l=[],d=0;d<c.length;d++)l.push(c[d].text);r.push(l.join(""))}r=r.join("\n")}var u,f,h=o.textAlign,p=o.textVerticalAlign,g=function(e){var t=CL[e];if(!t){jL>100&&(jL=0,CL={});var n,i=AL.style;try{i.font=e,n=i.fontFamily.split(",")[0]}catch(e){}t={style:i.fontStyle||"normal",variant:i.fontVariant||"normal",weight:i.fontWeight||"normal",size:0|parseFloat(i.fontSize||12),family:n||"Microsoft YaHei"},CL[e]=t,jL++}return t}(o.font),m=g.style+" "+g.variant+" "+g.weight+" "+g.size+'px "'+g.family+'"';n=n||Bn.getBoundingRect(r,m,h,p);var b=this.transform;if(b&&!i&&(EL.copy(t),EL.applyTransform(b),t=EL),i)u=t.x,f=t.y;else{var v=o.textPosition,y=o.textDistance;if(v instanceof Array)u=t.x+wL(v[0],t.width),f=t.y+wL(v[1],t.height),h=h||"left";else{var _=Bn.adjustTextPositionOnRect(v,t,y);u=_.x,f=_.y,h=h||_.textAlign,p=p||_.textVerticalAlign}}u=Bn.adjustTextX(u,n.width,h),f=Bn.adjustTextY(f,n.height,p),f+=n.height/2;var w,x,S,T=rL.createNode,k=this._textVmlEl;k?x=(w=(S=k.firstChild).nextSibling).nextSibling:(k=T("line"),w=T("path"),x=T("textpath"),S=T("skew"),x.style["v-text-align"]="left",mL(k),w.textpathok=!0,x.on=!0,k.from="0 0",k.to="1000 0.05",vL(k,S),vL(k,w),vL(k,x),this._textVmlEl=k);var C=[u,f],j=k.style;b&&i?(aL(C,C,b),S.on=!0,S.matrix=b[0].toFixed(3)+","+b[2].toFixed(3)+","+b[1].toFixed(3)+","+b[3].toFixed(3)+",0,0",S.offset=(cL(C[0])||0)+","+(cL(C[1])||0),S.origin="0 0",j.left="0px",j.top="0px"):(S.on=!1,j.left=cL(u)+"px",j.top=cL(f)+"px"),x.string=String(r).replace(/&/g,"&").replace(/"/g,""");try{x.style.font=m}catch(e){}SL(k,"fill",{fill:o.textFill,opacity:o.opacity},this),SL(k,"stroke",{stroke:o.textStroke,opacity:o.opacity,lineDash:o.lineDash},this),k.style.zIndex=_L(this.zlevel,this.z,this.z2),vL(e,k)}},ML=function(e){yL(e,this._textVmlEl),this._textVmlEl=null},OL=function(e){vL(e,this._textVmlEl)},DL=[hi,gi,bi,Or,Qr],VL=0;VL<DL.length;VL++){var LL=DL[VL].prototype;LL.drawRectText=IL,LL.removeRectText=ML,LL.appendRectText=OL}Qr.prototype.brushVML=function(e){var t=this.style;null!=t.text?this.drawRectText(e,{x:t.x||0,y:t.y||0,width:0,height:0},this.getBoundingRect(),!0):this.removeRectText(e)},Qr.prototype.onRemove=function(e){this.removeRectText(e)},Qr.prototype.onAdd=function(e){this.appendRectText(e)}}var PL=D.each;function NL(e){return parseInt(e,10)}function RL(e,t){rL.initVML(),this.root=e,this.storage=t;var n=document.createElement("div"),i=document.createElement("div");n.style.cssText="display:inline-block;overflow:hidden;position:relative;width:300px;height:150px;",i.style.cssText="position:absolute;left:0;top:0;",e.appendChild(n),this._vmlRoot=i,this._vmlViewport=n,this.resize();var o=t.delFromStorage,r=t.addToStorage;t.delFromStorage=function(e){o.call(t,e),e&&e.onRemove&&e.onRemove(i)},t.addToStorage=function(e){e.onAdd&&e.onAdd(i),r.call(t,e)},this._firstPaint=!0}RL.prototype={constructor:RL,getType:function(){return"vml"},getViewportRoot:function(){return this._vmlViewport},getViewportRootOffset:function(){var e=this.getViewportRoot();if(e)return{offsetLeft:e.offsetLeft||0,offsetTop:e.offsetTop||0}},refresh:function(){var e=this.storage.getDisplayList(!0,!0);this._paintList(e)},_paintList:function(e){for(var t=this._vmlRoot,n=0;n<e.length;n++){var i=e[n];i.invisible||i.ignore?(i.__alreadyNotVisible||i.onRemove(t),i.__alreadyNotVisible=!0):(i.__alreadyNotVisible&&i.onAdd(t),i.__alreadyNotVisible=!1,i.__dirty&&(i.beforeBrush&&i.beforeBrush(),(i.brushVML||i.brush).call(i,t),i.afterBrush&&i.afterBrush())),i.__dirty=!1}this._firstPaint&&(this._vmlViewport.appendChild(t),this._firstPaint=!1)},resize:function(e,t){e=null==e?this._getWidth():e,t=null==t?this._getHeight():t;if(this._width!=e||this._height!=t){this._width=e,this._height=t;var n=this._vmlViewport.style;n.width=e+"px",n.height=t+"px"}},dispose:function(){this.root.innerHTML="",this._vmlRoot=this._vmlViewport=this.storage=null},getWidth:function(){return this._width},getHeight:function(){return this._height},clear:function(){this._vmlViewport&&this.root.removeChild(this._vmlViewport)},_getWidth:function(){var e=this.root,t=e.currentStyle;return(e.clientWidth||NL(t.width))-NL(t.paddingLeft)-NL(t.paddingRight)|0},_getHeight:function(){var e=this.root,t=e.currentStyle;return(e.clientHeight||NL(t.height))-NL(t.paddingTop)-NL(t.paddingBottom)|0}},PL(["getLayer","insertLayer","eachLayer","eachBuiltinLayer","eachOtherLayer","getLayers","modLayer","delLayer","clearLayer","toDataURL","pathToImage"],function(e){var t;RL.prototype[e]=(t=e,function(){pt('In IE8.0 VML mode painter not support method "'+t+'"')})});var FL=RL;(0,Zi.registerPainter)("vml",FL);var BL="http://www.w3.org/2000/svg";var zL={createElement:function(e){return document.createElementNS(BL,e)}},HL=zL.createElement,$L=ar.CMD,qL=Array.prototype.join,WL="none",GL=Math.round,UL=Math.sin,KL=Math.cos,YL=Math.PI,ZL=2*Math.PI,XL=180/YL,QL=1e-4;function JL(e){return GL(1e4*e)/1e4}function eP(e){return e<QL&&e>-QL}function tP(e,t){t&&nP(e,"transform","matrix("+qL.call(t,",")+")")}function nP(e,t,n){(!n||"linear"!==n.type&&"radial"!==n.type)&&("string"==typeof n&&n.indexOf("NaN")>-1&&console.log(n),e.setAttribute(t,n))}function iP(e,t,n,i){if(function(e,t){var n=t?e.textFill:e.fill;return null!=n&&n!==WL}(t,n)){var o=n?t.textFill:t.fill;o="transparent"===o?WL:o,"none"!==e.getAttribute("clip-path")&&o===WL&&(o="rgba(0, 0, 0, 0.002)"),nP(e,"fill",o),nP(e,"fill-opacity",null!=t.fillOpacity?t.fillOpacity*t.opacity:t.opacity)}else nP(e,"fill",WL);if(function(e,t){var n=t?e.textStroke:e.stroke;return null!=n&&n!==WL}(t,n)){var r=n?t.textStroke:t.stroke;nP(e,"stroke",r="transparent"===r?WL:r),nP(e,"stroke-width",(n?t.textStrokeWidth:t.lineWidth)/(!n&&t.strokeNoScale?i.getLineScale():1)),nP(e,"paint-order",n?"stroke":"fill"),nP(e,"stroke-opacity",null!=t.strokeOpacity?t.strokeOpacity:t.opacity),t.lineDash?(nP(e,"stroke-dasharray",t.lineDash.join(",")),nP(e,"stroke-dashoffset",GL(t.lineDashOffset||0))):nP(e,"stroke-dasharray",""),t.lineCap&&nP(e,"stroke-linecap",t.lineCap),t.lineJoin&&nP(e,"stroke-linejoin",t.lineJoin),t.miterLimit&&nP(e,"stroke-miterlimit",t.miterLimit)}else nP(e,"stroke",WL)}var oP={};oP.brush=function(e){var t=e.style,n=e.__svgEl;n||(n=HL("path"),e.__svgEl=n),e.path||e.createPathProxy();var i=e.path;if(e.__dirtyPath){i.beginPath(),e.buildPath(i,e.shape),e.__dirtyPath=!1;var o=function(e){for(var t=[],n=e.data,i=e.len(),o=0;o<i;){var r="",a=0;switch(n[o++]){case $L.M:r="M",a=2;break;case $L.L:r="L",a=2;break;case $L.Q:r="Q",a=4;break;case $L.C:r="C",a=6;break;case $L.A:var s=n[o++],c=n[o++],l=n[o++],d=n[o++],u=n[o++],f=n[o++],h=n[o++],p=n[o++],g=Math.abs(f),m=eP(g-ZL)&&!eP(g),b=!1;b=g>=ZL||!eP(g)&&(f>-YL&&f<0||f>YL)==!!p;var v=JL(s+l*KL(u)),y=JL(c+d*UL(u));m&&(f=p?ZL-1e-4:1e-4-ZL,b=!0,9===o&&t.push("M",v,y));var _=JL(s+l*KL(u+f)),w=JL(c+d*UL(u+f));t.push("A",JL(l),JL(d),GL(h*XL),+b,+p,_,w);break;case $L.Z:r="Z";break;case $L.R:_=JL(n[o++]),w=JL(n[o++]);var x=JL(n[o++]),S=JL(n[o++]);t.push("M",_,w,"L",_+x,w,"L",_+x,w+S,"L",_,w+S,"L",_,w)}r&&t.push(r);for(var T=0;T<a;T++)t.push(JL(n[o++]))}return t.join(" ")}(i);o.indexOf("NaN")<0&&nP(n,"d",o)}iP(n,t,!1,e),tP(n,e.transform),null!=t.text&&cP(e,e.getBoundingRect())};var rP={brush:function(e){var t=e.style,n=t.image;n instanceof HTMLImageElement&&(n=n.src);if(n){var i=t.x||0,o=t.y||0,r=t.width,a=t.height,s=e.__svgEl;s||(s=HL("image"),e.__svgEl=s),n!==e.__imageSrc&&(!function(e,t,n){e.setAttributeNS("http://www.w3.org/1999/xlink",t,n)}(s,"href",n),e.__imageSrc=n),nP(s,"width",r),nP(s,"height",a),nP(s,"x",i),nP(s,"y",o),tP(s,e.transform),null!=t.text&&cP(e,e.getBoundingRect())}}},aP={},sP=new Vt,cP=function(e,t,n){var i=e.style;e.__dirty&&di.normalizeTextStyle(i,!0);var o=i.text;if(null!=o){o+="";var r,a,s=e.__textSvgEl;s||(s=HL("text"),e.__textSvgEl=s);var c=i.textPosition,l=i.textDistance,d=i.textAlign||"left";"number"==typeof i.fontSize&&(i.fontSize+="px");var u=i.font||[i.fontStyle||"",i.fontWeight||"",i.fontSize||"",i.fontFamily||""].join(" ")||Bn.DEFAULT_FONT,f=lP(i.textVerticalAlign),h=(n=Bn.getBoundingRect(o,u,d,f)).lineHeight;if(c instanceof Array)r=t.x+c[0],a=t.y+c[1];else{var p=Bn.adjustTextPositionOnRect(c,t,l);r=p.x,a=p.y,f=lP(p.textVerticalAlign),d=p.textAlign}nP(s,"alignment-baseline",f),u&&(s.style.font=u);var g=i.textPadding;if(nP(s,"x",r),nP(s,"y",a),iP(s,i,!0,e),e instanceof Qr||e.style.transformText)tP(s,e.transform);else{if(e.transform)sP.copy(t),sP.applyTransform(e.transform),t=sP;else{var m=e.transformCoordToGlobal(t.x,t.y);t.x=m[0],t.y=m[1],e.transform=de.identity(de.create())}var b=i.textOrigin;"center"===b?(r=n.width/2+r,a=n.height/2+a):b&&(r=b[0]+r,a=b[1]+a);var v=-i.textRotation||0,y=de.create();de.rotate(y,y,v);m=[e.transform[4],e.transform[5]];de.translate(y,y,m),tP(s,y)}var _=o.split("\n"),w=_.length,x=d;"left"===x?(x="start",g&&(r+=g[3])):"right"===x?(x="end",g&&(r-=g[1])):"center"===x&&(x="middle",g&&(r+=(g[3]-g[1])/2));var S=0;if("after-edge"===f?(S=-n.height+h,g&&(S-=g[2])):"middle"===f?(S=(-n.height+h)/2,g&&(a+=(g[0]-g[2])/2)):g&&(S+=g[0]),e.__text!==o||e.__textFont!==u){var T=e.__tspanList||[];e.__tspanList=T;for(var k=0;k<w;k++){(j=T[k])?j.innerHTML="":(j=T[k]=HL("tspan"),s.appendChild(j),nP(j,"alignment-baseline",f),nP(j,"text-anchor",x)),nP(j,"x",r),nP(j,"y",a+k*h+S),j.appendChild(document.createTextNode(_[k]))}for(;k<T.length;k++)s.removeChild(T[k]);T.length=w,e.__text=o,e.__textFont=u}else if(e.__tspanList.length){var C=e.__tspanList.length;for(k=0;k<C;++k){var j;(j=e.__tspanList[k])&&(nP(j,"x",r),nP(j,"y",a+k*h+S))}}}};function lP(e){return"middle"===e?"middle":"bottom"===e?"after-edge":"hanging"}aP.drawRectText=cP,aP.brush=function(e){var t=e.style;null!=t.text&&(t.textPosition=[0,0],cP(e,{x:t.x||0,y:t.y||0,width:0,height:0},e.getBoundingRect()))};var dP={path:oP,image:rP,text:aP};function uP(){}function fP(e,t,n,i){for(var o=0,r=t.length,a=0,s=0;o<r;o++){var c=t[o];if(c.removed){for(l=[],d=s;d<s+c.count;d++)l.push(d);c.indices=l,s+=c.count}else{for(var l=[],d=a;d<a+c.count;d++)l.push(d);c.indices=l,a+=c.count,c.added||(s+=c.count)}}return t}uP.prototype={diff:function(e,t,n){n||(n=function(e,t){return e===t}),this.equals=n;var i=this;e=e.slice();var o=(t=t.slice()).length,r=e.length,a=1,s=o+r,c=[{newPos:-1,components:[]}],l=this.extractCommon(c[0],t,e,0);if(c[0].newPos+1>=o&&l+1>=r){for(var d=[],u=0;u<t.length;u++)d.push(u);return[{indices:d,count:t.length}]}function f(){for(var n=-1*a;n<=a;n+=2){var s,l=c[n-1],d=c[n+1],u=(d?d.newPos:0)-n;l&&(c[n-1]=void 0);var f=l&&l.newPos+1<o,h=d&&0<=u&&u<r;if(f||h){if(!f||h&&l.newPos<d.newPos?(s={newPos:(p=d).newPos,components:p.components.slice(0)},i.pushComponent(s.components,void 0,!0)):((s=l).newPos++,i.pushComponent(s.components,!0,void 0)),u=i.extractCommon(s,t,e,n),s.newPos+1>=o&&u+1>=r)return fP(i,s.components,t,e);c[n]=s}else c[n]=void 0}var p;a++}for(;a<=s;){var h=f();if(h)return h}},pushComponent:function(e,t,n){var i=e[e.length-1];i&&i.added===t&&i.removed===n?e[e.length-1]={count:i.count+1,added:t,removed:n}:e.push({count:1,added:t,removed:n})},extractCommon:function(e,t,n,i){for(var o=t.length,r=n.length,a=e.newPos,s=a-i,c=0;a+1<o&&s+1<r&&this.equals(t[a+1],n[s+1]);)a++,s++,c++;return c&&e.components.push({count:c}),e.newPos=a,s},tokenize:function(e){return e.slice()},join:function(e){return e.slice()}};var hP=new uP;var pP=function(e,t,n){return hP.diff(e,t,n)},gP=zL.createElement,mP=dP.path,bP=dP.image,vP=dP.text;function yP(e,t,n,i,o){this._zrId=e,this._svgRoot=t,this._tagNames="string"==typeof n?[n]:n,this._markLabel=i,this._domName=o||"_dom",this.nextId=0}yP.prototype.createElement=gP,yP.prototype.getDefs=function(e){var t=this._svgRoot,n=this._svgRoot.getElementsByTagName("defs");return 0===n.length?e?((n=t.insertBefore(this.createElement("defs"),t.firstChild)).contains||(n.contains=function(e){var t=n.children;if(!t)return!1;for(var i=t.length-1;i>=0;--i)if(t[i]===e)return!0;return!1}),n):null:n[0]},yP.prototype.update=function(e,t){if(e){var n=this.getDefs(!1);if(e[this._domName]&&n.contains(e[this._domName]))"function"==typeof t&&t(e);else{var i=this.add(e);i&&(e[this._domName]=i)}}},yP.prototype.addDom=function(e){this.getDefs(!0).appendChild(e)},yP.prototype.removeDom=function(e){var t=this.getDefs(!1);t&&e[this._domName]&&(t.removeChild(e[this._domName]),e[this._domName]=null)},yP.prototype.getDoms=function(){var e=this.getDefs(!1);if(!e)return[];var t=[];return D.each(this._tagNames,function(n){var i=e.getElementsByTagName(n);t=t.concat([].slice.call(i))}),t},yP.prototype.markAllUnused=function(){var e=this.getDoms(),t=this;D.each(e,function(e){e[t._markLabel]="0"})},yP.prototype.markUsed=function(e){e&&(e[this._markLabel]="1")},yP.prototype.removeUnused=function(){var e=this.getDefs(!1);if(e){var t=this.getDoms(),n=this;D.each(t,function(t){"1"!==t[n._markLabel]&&e.removeChild(t)})}},yP.prototype.getSvgProxy=function(e){return e instanceof Or?mP:e instanceof bi?bP:e instanceof Qr?vP:mP},yP.prototype.getTextSvgElement=function(e){return e.__textSvgEl},yP.prototype.getSvgElement=function(e){return e.__svgEl};var _P=yP;function wP(e,t){_P.call(this,e,t,["linearGradient","radialGradient"],"__gradient_in_use__")}D.inherits(wP,_P),wP.prototype.addWithoutUpdate=function(e,t){if(t&&t.style){var n=this;D.each(["fill","stroke"],function(i){if(t.style[i]&&("linear"===t.style[i].type||"radial"===t.style[i].type)){var o,r=t.style[i],a=n.getDefs(!0);r._dom?(o=r._dom,a.contains(r._dom)||n.addDom(o)):o=n.add(r),n.markUsed(t);var s=o.getAttribute("id");e.setAttribute(i,"url(#"+s+")")}})}},wP.prototype.add=function(e){var t;if("linear"===e.type)t=this.createElement("linearGradient");else{if("radial"!==e.type)return pt("Illegal gradient type."),null;t=this.createElement("radialGradient")}return e.id=e.id||this.nextId++,t.setAttribute("id","zr"+this._zrId+"-gradient-"+e.id),this.updateDom(e,t),this.addDom(t),t},wP.prototype.update=function(e){var t=this;_P.prototype.update.call(this,e,function(){var n=e.type,i=e._dom.tagName;"linear"===n&&"linearGradient"===i||"radial"===n&&"radialGradient"===i?t.updateDom(e,e._dom):(t.removeDom(e),t.add(e))})},wP.prototype.updateDom=function(e,t){if("linear"===e.type)t.setAttribute("x1",e.x),t.setAttribute("y1",e.y),t.setAttribute("x2",e.x2),t.setAttribute("y2",e.y2);else{if("radial"!==e.type)return void pt("Illegal gradient type.");t.setAttribute("cx",e.x),t.setAttribute("cy",e.y),t.setAttribute("r",e.r)}e.global?t.setAttribute("gradientUnits","userSpaceOnUse"):t.setAttribute("gradientUnits","objectBoundingBox"),t.innerHTML="";for(var n=e.colorStops,i=0,o=n.length;i<o;++i){var r=this.createElement("stop");r.setAttribute("offset",100*n[i].offset+"%"),r.setAttribute("stop-color",n[i].color),t.appendChild(r)}e._dom=t},wP.prototype.markUsed=function(e){if(e.style){var t=e.style.fill;t&&t._dom&&_P.prototype.markUsed.call(this,t._dom),(t=e.style.stroke)&&t._dom&&_P.prototype.markUsed.call(this,t._dom)}};var xP=wP;function SP(e,t){_P.call(this,e,t,"clipPath","__clippath_in_use__")}D.inherits(SP,_P),SP.prototype.update=function(e){var t=this.getSvgElement(e);t&&this.updateDom(t,e.__clipPaths,!1);var n=this.getTextSvgElement(e);n&&this.updateDom(n,e.__clipPaths,!0),this.markUsed(e)},SP.prototype.updateDom=function(e,t,n){if(t&&t.length>0){var i,o,r=this.getDefs(!0),a=t[0],s=n?"_textDom":"_dom";a[s]?(o=a[s].getAttribute("id"),i=a[s],r.contains(i)||r.appendChild(i)):(o="zr"+this._zrId+"-clip-"+this.nextId,++this.nextId,(i=this.createElement("clipPath")).setAttribute("id",o),r.appendChild(i),a[s]=i);var c=this.getSvgProxy(a);if(a.transform&&a.parent.invTransform&&!n){var l=Array.prototype.slice.call(a.transform);de.mul(a.transform,a.parent.invTransform,a.transform),c.brush(a),a.transform=l}else c.brush(a);var d=this.getSvgElement(a);i.innerHTML="",i.appendChild(d.cloneNode()),e.setAttribute("clip-path","url(#"+o+")"),t.length>1&&this.updateDom(i,t.slice(1),n)}else e&&e.setAttribute("clip-path","none")},SP.prototype.markUsed=function(e){var t=this;e.__clipPaths&&e.__clipPaths.length>0&&D.each(e.__clipPaths,function(e){e._dom&&_P.prototype.markUsed.call(t,e._dom),e._textDom&&_P.prototype.markUsed.call(t,e._textDom)})};var TP=SP;function kP(e,t){_P.call(this,e,t,["filter"],"__filter_in_use__","_shadowDom")}function CP(e){return e&&(e.shadowBlur||e.shadowOffsetX||e.shadowOffsetY||e.textShadowBlur||e.textShadowOffsetX||e.textShadowOffsetY)}D.inherits(kP,_P),kP.prototype.addWithoutUpdate=function(e,t){if(t&&CP(t.style)){var n,i=t.style;if(i._shadowDom)n=i._shadowDom,this.getDefs(!0).contains(i._shadowDom)||this.addDom(n);else n=this.add(t);this.markUsed(t);var o=n.getAttribute("id");e.style.filter="url(#"+o+")"}},kP.prototype.add=function(e){var t=this.createElement("filter"),n=e.style;return n._shadowDomId=n._shadowDomId||this.nextId++,t.setAttribute("id","zr"+this._zrId+"-shadow-"+n._shadowDomId),this.updateDom(e,t),this.addDom(t),t},kP.prototype.update=function(e,t){var n=t.style;if(CP(n)){var i=this;_P.prototype.update.call(this,t,function(e){i.updateDom(t,e._shadowDom)})}else this.remove(e,n)},kP.prototype.remove=function(e,t){null!=t._shadowDomId&&(this.removeDom(t),e.style.filter="")},kP.prototype.updateDom=function(e,t){var n=t.getElementsByTagName("feDropShadow");n=0===n.length?this.createElement("feDropShadow"):n[0];var i,o,r,a,s=e.style,c=e.scale&&e.scale[0]||1,l=e.scale&&e.scale[1]||1;if(s.shadowBlur||s.shadowOffsetX||s.shadowOffsetY)i=s.shadowOffsetX||0,o=s.shadowOffsetY||0,r=s.shadowBlur,a=s.shadowColor;else{if(!s.textShadowBlur)return void this.removeDom(t,s);i=s.textShadowOffsetX||0,o=s.textShadowOffsetY||0,r=s.textShadowBlur,a=s.textShadowColor}n.setAttribute("dx",i/c),n.setAttribute("dy",o/l),n.setAttribute("flood-color",a);var d=r/2/c+" "+r/2/l;n.setAttribute("stdDeviation",d),t.setAttribute("x","-100%"),t.setAttribute("y","-100%"),t.setAttribute("width",Math.ceil(r/2*200)+"%"),t.setAttribute("height",Math.ceil(r/2*200)+"%"),t.appendChild(n),s._shadowDom=t},kP.prototype.markUsed=function(e){var t=e.style;t&&t._shadowDom&&_P.prototype.markUsed.call(this,t._shadowDom)};var jP=kP,AP=zL.createElement,EP=D.each,IP=dP.path,MP=dP.image,OP=dP.text;function DP(e){return parseInt(e,10)}function VP(e,t){return t&&e&&t.parentNode!==e}function LP(e,t,n){if(VP(e,t)&&n){var i=n.nextSibling;i?e.insertBefore(t,i):e.appendChild(t)}}function PP(e,t){if(VP(e,t)){var n=e.firstChild;n?e.insertBefore(t,n):e.appendChild(t)}}function NP(e,t){t&&e&&t.parentNode===e&&e.removeChild(t)}function RP(e){return e.__textSvgEl}function FP(e){return e.__svgEl}var BP=function(e,t,n,i){this.root=e,this.storage=t,this._opts=n=D.extend({},n||{});var o=AP("svg");o.setAttribute("xmlns","http://www.w3.org/2000/svg"),o.setAttribute("version","1.1"),o.setAttribute("baseProfile","full"),o.style.cssText="user-select:none;position:absolute;left:0;top:0;",this.gradientManager=new xP(i,o),this.clipPathManager=new TP(i,o),this.shadowManager=new jP(i,o);var r=document.createElement("div");r.style.cssText="overflow:hidden;position:relative",this._svgRoot=o,this._viewport=r,e.appendChild(r),r.appendChild(o),this.resize(n.width,n.height),this._visibleList=[]};BP.prototype={constructor:BP,getType:function(){return"svg"},getViewportRoot:function(){return this._viewport},getViewportRootOffset:function(){var e=this.getViewportRoot();if(e)return{offsetLeft:e.offsetLeft||0,offsetTop:e.offsetTop||0}},refresh:function(){var e=this.storage.getDisplayList(!0);this._paintList(e)},setBackgroundColor:function(e){this._viewport.style.background=e},_paintList:function(e){this.gradientManager.markAllUnused(),this.clipPathManager.markAllUnused(),this.shadowManager.markAllUnused();var t,n,i=this._svgRoot,o=this._visibleList,r=e.length,a=[];for(t=0;t<r;t++){var s=e[t],c=(n=s)instanceof Or?IP:n instanceof bi?MP:n instanceof Qr?OP:IP,l=FP(s)||RP(s);s.invisible||(s.__dirty&&(c&&c.brush(s),this.clipPathManager.update(s),s.style&&(this.gradientManager.update(s.style.fill),this.gradientManager.update(s.style.stroke),this.shadowManager.update(l,s)),s.__dirty=!1),a.push(s))}var d,u=pP(o,a);for(t=0;t<u.length;t++){if((p=u[t]).removed)for(var f=0;f<p.count;f++){l=FP(s=o[p.indices[f]]);var h=RP(s);NP(i,l),NP(i,h)}}for(t=0;t<u.length;t++){var p;if((p=u[t]).added)for(f=0;f<p.count;f++){l=FP(s=a[p.indices[f]]),h=RP(s);d?LP(i,l,d):PP(i,l),l?LP(i,h,l):d?LP(i,h,d):PP(i,h),LP(i,h,l),d=h||l||d,this.gradientManager.addWithoutUpdate(l,s),this.shadowManager.addWithoutUpdate(d,s),this.clipPathManager.markUsed(s)}else if(!p.removed)for(f=0;f<p.count;f++){d=l=RP(s=a[p.indices[f]])||FP(s)||d,this.gradientManager.markUsed(s),this.gradientManager.addWithoutUpdate(l,s),this.shadowManager.markUsed(s),this.shadowManager.addWithoutUpdate(l,s),this.clipPathManager.markUsed(s)}}this.gradientManager.removeUnused(),this.clipPathManager.removeUnused(),this.shadowManager.removeUnused(),this._visibleList=a},_getDefs:function(e){var t,n=this._svgRoot;return 0===(t=this._svgRoot.getElementsByTagName("defs")).length?e?((t=n.insertBefore(AP("defs"),n.firstChild)).contains||(t.contains=function(e){var n=t.children;if(!n)return!1;for(var i=n.length-1;i>=0;--i)if(n[i]===e)return!0;return!1}),t):null:t[0]},resize:function(e,t){var n=this._viewport;n.style.display="none";var i=this._opts;if(null!=e&&(i.width=e),null!=t&&(i.height=t),e=this._getSize(0),t=this._getSize(1),n.style.display="",this._width!==e||this._height!==t){this._width=e,this._height=t;var o=n.style;o.width=e+"px",o.height=t+"px";var r=this._svgRoot;r.setAttribute("width",e),r.setAttribute("height",t)}},getWidth:function(){return this._width},getHeight:function(){return this._height},_getSize:function(e){var t=this._opts,n=["width","height"][e],i=["clientWidth","clientHeight"][e],o=["paddingLeft","paddingTop"][e],r=["paddingRight","paddingBottom"][e];if(null!=t[n]&&"auto"!==t[n])return parseFloat(t[n]);var a=this.root,s=document.defaultView.getComputedStyle(a);return(a[i]||DP(s[n])||DP(a.style[n]))-(DP(s[o])||0)-(DP(s[r])||0)|0},dispose:function(){this.root.innerHTML="",this._svgRoot=this._viewport=this.storage=null},clear:function(){this._viewport&&this.root.removeChild(this._viewport)},pathToDataUrl:function(){return this.refresh(),"data:image/svg+xml;charset=UTF-8,"+this._svgRoot.outerHTML}},EP(["getLayer","insertLayer","eachLayer","eachBuiltinLayer","eachOtherLayer","getLayers","modLayer","delLayer","clearLayer","toDataURL","pathToImage"],function(e){var t;BP.prototype[e]=(t=e,function(){pt('In SVG mode painter not support method "'+t+'"')})});var zP=BP;(0,Zi.registerPainter)("svg",zP);var HP,$P=r(function(e,t){!function(){for(var e in mm){if(null==mm||!mm.hasOwnProperty(e)||"default"===e||"__esModule"===e)return;t[e]=mm[e]}}(),function(){for(var e in gm){if(null==gm||!gm.hasOwnProperty(e)||"default"===e||"__esModule"===e)return;t[e]=gm[e]}}()}),qP=(HP=$P)&&HP.__esModule&&Object.prototype.hasOwnProperty.call(HP,"default")?HP.default:HP,WP=($P.echarts,["canvas","svg"]),GP={props:{options:{type:Object,required:!0},width:{type:Number,required:!1,default:null},height:{type:Number,required:!1,default:null},groupId:{type:String,required:!1,default:""},renderer:{type:String,required:!1,default:"svg",validator:function(e){return WP.includes(e)}}},data:function(){return{chart:null}},watch:{options:function(){this.draw()},width:function(){this.setChartSize()},height:function(){this.setChartSize()}},mounted:function(){this.chart=qP.init(this.$refs.chart,null,{renderer:this.renderer}),this.groupId.length&&(this.chart.group=this.groupId,qP.connect(this.groupId)),this.$emit("created",this.chart),this.draw(),this.setChartSize()},methods:{draw:function(){this.chart.setOption(this.options),this.$emit("updated",this.chart)},setChartSize:function(){this.chart.resize({width:this.width||"auto",height:this.height||400})}}},UP=function(){var e=this.$createElement;return(this._self._c||e)("div",{ref:"chart"})};UP._withStripped=!0;var KP=function(e,t,n,i,o,r,a,s){var c=("function"==typeof n?n.options:n)||{};return c.__file="/builds/gitlab-org/gitlab-ui/components/charts/chart/chart.vue",c.render||(c.render=e.render,c.staticRenderFns=e.staticRenderFns,c._compiled=!0,o&&(c.functional=!0)),c._scopeId=i,c}({render:UP,staticRenderFns:[]},0,GP,void 0,!1),YP=Object.prototype;var ZP=function(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||YP)};var XP=function(e,t){return function(n){return e(t(n))}},QP=XP(Object.keys,Object),JP=Object.prototype.hasOwnProperty;var eN=function(e){if(!ZP(e))return QP(e);var t=[];for(var n in Object(e))JP.call(e,n)&&"constructor"!=n&&t.push(n);return t},tN="object"==typeof o&&o&&o.Object===Object&&o,nN="object"==typeof self&&self&&self.Object===Object&&self,iN=tN||nN||Function("return this")(),oN=iN.Symbol,rN=Object.prototype,aN=rN.hasOwnProperty,sN=rN.toString,cN=oN?oN.toStringTag:void 0;var lN=function(e){var t=aN.call(e,cN),n=e[cN];try{e[cN]=void 0}catch(e){}var i=sN.call(e);return t?e[cN]=n:delete e[cN],i},dN=Object.prototype.toString;var uN=function(e){return dN.call(e)},fN="[object Null]",hN="[object Undefined]",pN=oN?oN.toStringTag:void 0;var gN=function(e){return null==e?void 0===e?hN:fN:pN&&pN in Object(e)?lN(e):uN(e)};var mN=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)},bN="[object AsyncFunction]",vN="[object Function]",yN="[object GeneratorFunction]",_N="[object Proxy]";var wN,xN=function(e){if(!mN(e))return!1;var t=gN(e);return t==vN||t==yN||t==bN||t==_N},SN=iN["__core-js_shared__"],TN=(wN=/[^.]+$/.exec(SN&&SN.keys&&SN.keys.IE_PROTO||""))?"Symbol(src)_1."+wN:"";var kN=function(e){return!!TN&&TN in e},CN=Function.prototype.toString;var jN=function(e){if(null!=e){try{return CN.call(e)}catch(e){}try{return e+""}catch(e){}}return""},AN=/^\[object .+?Constructor\]$/,EN=Function.prototype,IN=Object.prototype,MN=EN.toString,ON=IN.hasOwnProperty,DN=RegExp("^"+MN.call(ON).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");var VN=function(e){return!(!mN(e)||kN(e))&&(xN(e)?DN:AN).test(jN(e))};var LN=function(e,t){return null==e?void 0:e[t]};var PN=function(e,t){var n=LN(e,t);return VN(n)?n:void 0},NN=PN(iN,"DataView"),RN=PN(iN,"Map"),FN=PN(iN,"Promise"),BN=PN(iN,"Set"),zN=PN(iN,"WeakMap"),HN=jN(NN),$N=jN(RN),qN=jN(FN),WN=jN(BN),GN=jN(zN),UN=gN;(NN&&"[object DataView]"!=UN(new NN(new ArrayBuffer(1)))||RN&&"[object Map]"!=UN(new RN)||FN&&"[object Promise]"!=UN(FN.resolve())||BN&&"[object Set]"!=UN(new BN)||zN&&"[object WeakMap]"!=UN(new zN))&&(UN=function(e){var t=gN(e),n="[object Object]"==t?e.constructor:void 0,i=n?jN(n):"";if(i)switch(i){case HN:return"[object DataView]";case $N:return"[object Map]";case qN:return"[object Promise]";case WN:return"[object Set]";case GN:return"[object WeakMap]"}return t});var KN=UN;var YN=function(e){return null!=e&&"object"==typeof e},ZN="[object Arguments]";var XN=function(e){return YN(e)&&gN(e)==ZN},QN=Object.prototype,JN=QN.hasOwnProperty,eR=QN.propertyIsEnumerable,tR=XN(function(){return arguments}())?XN:function(e){return YN(e)&&JN.call(e,"callee")&&!eR.call(e,"callee")},nR=Array.isArray,iR=9007199254740991;var oR=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=iR};var rR=function(e){return null!=e&&oR(e.length)&&!xN(e)};var aR=function(){return!1},sR=r(function(e,t){var n=t&&!t.nodeType&&t,i=n&&e&&!e.nodeType&&e,o=i&&i.exports===n?iN.Buffer:void 0,r=(o?o.isBuffer:void 0)||aR;e.exports=r}),cR={};cR["[object Float32Array]"]=cR["[object Float64Array]"]=cR["[object Int8Array]"]=cR["[object Int16Array]"]=cR["[object Int32Array]"]=cR["[object Uint8Array]"]=cR["[object Uint8ClampedArray]"]=cR["[object Uint16Array]"]=cR["[object Uint32Array]"]=!0,cR["[object Arguments]"]=cR["[object Array]"]=cR["[object ArrayBuffer]"]=cR["[object Boolean]"]=cR["[object DataView]"]=cR["[object Date]"]=cR["[object Error]"]=cR["[object Function]"]=cR["[object Map]"]=cR["[object Number]"]=cR["[object Object]"]=cR["[object RegExp]"]=cR["[object Set]"]=cR["[object String]"]=cR["[object WeakMap]"]=!1;var lR=function(e){return YN(e)&&oR(e.length)&&!!cR[gN(e)]};var dR=function(e){return function(t){return e(t)}},uR=r(function(e,t){var n=t&&!t.nodeType&&t,i=n&&e&&!e.nodeType&&e,o=i&&i.exports===n&&tN.process,r=function(){try{var e=i&&i.require&&i.require("util").types;return e||o&&o.binding&&o.binding("util")}catch(e){}}();e.exports=r}),fR=uR&&uR.isTypedArray,hR=fR?dR(fR):lR,pR="[object Map]",gR="[object Set]",mR=Object.prototype.hasOwnProperty;var bR=function(e){if(null==e)return!0;if(rR(e)&&(nR(e)||"string"==typeof e||"function"==typeof e.splice||sR(e)||hR(e)||tR(e)))return!e.length;var t=KN(e);if(t==pR||t==gR)return!e.size;if(ZP(e))return!eN(e).length;for(var n in e)if(mR.call(e,n))return!1;return!0};var vR=function(){this.__data__=[],this.size=0};var yR=function(e,t){return e===t||e!=e&&t!=t};var _R=function(e,t){for(var n=e.length;n--;)if(yR(e[n][0],t))return n;return-1},wR=Array.prototype.splice;var xR=function(e){var t=this.__data__,n=_R(t,e);return!(n<0||(n==t.length-1?t.pop():wR.call(t,n,1),--this.size,0))};var SR=function(e){var t=this.__data__,n=_R(t,e);return n<0?void 0:t[n][1]};var TR=function(e){return _R(this.__data__,e)>-1};var kR=function(e,t){var n=this.__data__,i=_R(n,e);return i<0?(++this.size,n.push([e,t])):n[i][1]=t,this};function CR(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var i=e[t];this.set(i[0],i[1])}}CR.prototype.clear=vR,CR.prototype.delete=xR,CR.prototype.get=SR,CR.prototype.has=TR,CR.prototype.set=kR;var jR=CR;var AR=function(){this.__data__=new jR,this.size=0};var ER=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n};var IR=function(e){return this.__data__.get(e)};var MR=function(e){return this.__data__.has(e)},OR=PN(Object,"create");var DR=function(){this.__data__=OR?OR(null):{},this.size=0};var VR=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},LR="__lodash_hash_undefined__",PR=Object.prototype.hasOwnProperty;var NR=function(e){var t=this.__data__;if(OR){var n=t[e];return n===LR?void 0:n}return PR.call(t,e)?t[e]:void 0},RR=Object.prototype.hasOwnProperty;var FR=function(e){var t=this.__data__;return OR?void 0!==t[e]:RR.call(t,e)},BR="__lodash_hash_undefined__";var zR=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=OR&&void 0===t?BR:t,this};function HR(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var i=e[t];this.set(i[0],i[1])}}HR.prototype.clear=DR,HR.prototype.delete=VR,HR.prototype.get=NR,HR.prototype.has=FR,HR.prototype.set=zR;var $R=HR;var qR=function(){this.size=0,this.__data__={hash:new $R,map:new(RN||jR),string:new $R}};var WR=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e};var GR=function(e,t){var n=e.__data__;return WR(t)?n["string"==typeof t?"string":"hash"]:n.map};var UR=function(e){var t=GR(this,e).delete(e);return this.size-=t?1:0,t};var KR=function(e){return GR(this,e).get(e)};var YR=function(e){return GR(this,e).has(e)};var ZR=function(e,t){var n=GR(this,e),i=n.size;return n.set(e,t),this.size+=n.size==i?0:1,this};function XR(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var i=e[t];this.set(i[0],i[1])}}XR.prototype.clear=qR,XR.prototype.delete=UR,XR.prototype.get=KR,XR.prototype.has=YR,XR.prototype.set=ZR;var QR=XR,JR=200;var eF=function(e,t){var n=this.__data__;if(n instanceof jR){var i=n.__data__;if(!RN||i.length<JR-1)return i.push([e,t]),this.size=++n.size,this;n=this.__data__=new QR(i)}return n.set(e,t),this.size=n.size,this};function tF(e){var t=this.__data__=new jR(e);this.size=t.size}tF.prototype.clear=AR,tF.prototype.delete=ER,tF.prototype.get=IR,tF.prototype.has=MR,tF.prototype.set=eF;var nF=tF,iF=function(){try{var e=PN(Object,"defineProperty");return e({},"",{}),e}catch(e){}}();var oF=function(e,t,n){"__proto__"==t&&iF?iF(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n};var rF=function(e,t,n){(void 0===n||yR(e[t],n))&&(void 0!==n||t in e)||oF(e,t,n)};var aF=function(e){return function(t,n,i){for(var o=-1,r=Object(t),a=i(t),s=a.length;s--;){var c=a[e?s:++o];if(!1===n(r[c],c,r))break}return t}}(),sF=r(function(e,t){var n=t&&!t.nodeType&&t,i=n&&e&&!e.nodeType&&e,o=i&&i.exports===n?iN.Buffer:void 0,r=o?o.allocUnsafe:void 0;e.exports=function(e,t){if(t)return e.slice();var n=e.length,i=r?r(n):new e.constructor(n);return e.copy(i),i}}),cF=iN.Uint8Array;var lF=function(e){var t=new e.constructor(e.byteLength);return new cF(t).set(new cF(e)),t};var dF=function(e,t){var n=t?lF(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)};var uF=function(e,t){var n=-1,i=e.length;for(t||(t=Array(i));++n<i;)t[n]=e[n];return t},fF=Object.create,hF=function(){function e(){}return function(t){if(!mN(t))return{};if(fF)return fF(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}(),pF=XP(Object.getPrototypeOf,Object);var gF=function(e){return"function"!=typeof e.constructor||ZP(e)?{}:hF(pF(e))};var mF=function(e){return YN(e)&&rR(e)},bF="[object Object]",vF=Function.prototype,yF=Object.prototype,_F=vF.toString,wF=yF.hasOwnProperty,xF=_F.call(Object);var SF=function(e){if(!YN(e)||gN(e)!=bF)return!1;var t=pF(e);if(null===t)return!0;var n=wF.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&_F.call(n)==xF};var TF=function(e,t){if("__proto__"!=t)return e[t]},kF=Object.prototype.hasOwnProperty;var CF=function(e,t,n){var i=e[t];kF.call(e,t)&&yR(i,n)&&(void 0!==n||t in e)||oF(e,t,n)};var jF=function(e,t,n,i){var o=!n;n||(n={});for(var r=-1,a=t.length;++r<a;){var s=t[r],c=i?i(n[s],e[s],s,n,e):void 0;void 0===c&&(c=e[s]),o?oF(n,s,c):CF(n,s,c)}return n};var AF=function(e,t){for(var n=-1,i=Array(e);++n<e;)i[n]=t(n);return i},EF=9007199254740991,IF=/^(?:0|[1-9]\d*)$/;var MF=function(e,t){var n=typeof e;return!!(t=null==t?EF:t)&&("number"==n||"symbol"!=n&&IF.test(e))&&e>-1&&e%1==0&&e<t},OF=Object.prototype.hasOwnProperty;var DF=function(e,t){var n=nR(e),i=!n&&tR(e),o=!n&&!i&&sR(e),r=!n&&!i&&!o&&hR(e),a=n||i||o||r,s=a?AF(e.length,String):[],c=s.length;for(var l in e)!t&&!OF.call(e,l)||a&&("length"==l||o&&("offset"==l||"parent"==l)||r&&("buffer"==l||"byteLength"==l||"byteOffset"==l)||MF(l,c))||s.push(l);return s};var VF=function(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t},LF=Object.prototype.hasOwnProperty;var PF=function(e){if(!mN(e))return VF(e);var t=ZP(e),n=[];for(var i in e)("constructor"!=i||!t&&LF.call(e,i))&&n.push(i);return n};var NF=function(e){return rR(e)?DF(e,!0):PF(e)};var RF=function(e){return jF(e,NF(e))};var FF=function(e,t,n,i,o,r,a){var s=TF(e,n),c=TF(t,n),l=a.get(c);if(l)rF(e,n,l);else{var d=r?r(s,c,n+"",e,t,a):void 0,u=void 0===d;if(u){var f=nR(c),h=!f&&sR(c),p=!f&&!h&&hR(c);d=c,f||h||p?nR(s)?d=s:mF(s)?d=uF(s):h?(u=!1,d=sF(c,!0)):p?(u=!1,d=dF(c,!0)):d=[]:SF(c)||tR(c)?(d=s,tR(s)?d=RF(s):mN(s)&&!xN(s)||(d=gF(c))):u=!1}u&&(a.set(c,d),o(d,c,i,r,a),a.delete(c)),rF(e,n,d)}};var BF=function e(t,n,i,o,r){t!==n&&aF(n,function(a,s){if(mN(a))r||(r=new nF),FF(t,n,s,i,e,o,r);else{var c=o?o(TF(t,s),a,s+"",t,n,r):void 0;void 0===c&&(c=a),rF(t,s,c)}},NF)};var zF=function(e){return e};var HF=function(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)},$F=Math.max;var qF=function(e,t,n){return t=$F(void 0===t?e.length-1:t,0),function(){for(var i=arguments,o=-1,r=$F(i.length-t,0),a=Array(r);++o<r;)a[o]=i[t+o];o=-1;for(var s=Array(t+1);++o<t;)s[o]=i[o];return s[t]=n(a),HF(e,this,s)}};var WF=function(e){return function(){return e}},GF=iF?function(e,t){return iF(e,"toString",{configurable:!0,enumerable:!1,value:WF(t),writable:!0})}:zF,UF=800,KF=16,YF=Date.now;var ZF=function(e){var t=0,n=0;return function(){var i=YF(),o=KF-(i-n);if(n=i,o>0){if(++t>=UF)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}(GF);var XF=function(e,t){return ZF(qF(e,t,zF),e+"")};var QF=function(e,t,n){if(!mN(n))return!1;var i=typeof t;return!!("number"==i?rR(n)&&MF(t,n.length):"string"==i&&t in n)&&yR(n[t],e)};for(var JF=function(e){return XF(function(t,n){var i=-1,o=n.length,r=o>1?n[o-1]:void 0,a=o>2?n[2]:void 0;for(r=e.length>3&&"function"==typeof r?(o--,r):void 0,a&&QF(n[0],n[1],a)&&(r=o<3?void 0:r,o=1),t=Object(t);++i<o;){var s=n[i];s&&e(t,s,i,r)}return t})}(function(e,t,n){BF(e,t,n)}),eB="undefined"!=typeof window&&"undefined"!=typeof document,tB=["Edge","Trident","Firefox"],nB=0,iB=0;iB<tB.length;iB+=1)if(eB&&navigator.userAgent.indexOf(tB[iB])>=0){nB=1;break}var oB=eB&&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()},nB))}};function rB(e){return e&&"[object Function]"==={}.toString.call(e)}function aB(e,t){if(1!==e.nodeType)return[];var n=getComputedStyle(e,null);return t?n[t]:n}function sB(e){return"HTML"===e.nodeName?e:e.parentNode||e.host}function cB(e){if(!e)return document.body;switch(e.nodeName){case"HTML":case"BODY":return e.ownerDocument.body;case"#document":return e.body}var t=aB(e),n=t.overflow,i=t.overflowX,o=t.overflowY;return/(auto|scroll|overlay)/.test(n+o+i)?e:cB(sB(e))}var lB=eB&&!(!window.MSInputMethodContext||!document.documentMode),dB=eB&&/MSIE 10/.test(navigator.userAgent);function uB(e){return 11===e?lB:10===e?dB:lB||dB}function fB(e){if(!e)return document.documentElement;for(var t=uB(10)?document.body:null,n=e.offsetParent;n===t&&e.nextElementSibling;)n=(e=e.nextElementSibling).offsetParent;var i=n&&n.nodeName;return i&&"BODY"!==i&&"HTML"!==i?-1!==["TD","TABLE"].indexOf(n.nodeName)&&"static"===aB(n,"position")?fB(n):n:e?e.ownerDocument.documentElement:document.documentElement}function hB(e){return null!==e.parentNode?hB(e.parentNode):e}function pB(e,t){if(!(e&&e.nodeType&&t&&t.nodeType))return document.documentElement;var n=e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_FOLLOWING,i=n?e:t,o=n?t:e,r=document.createRange();r.setStart(i,0),r.setEnd(o,0);var a,s,c=r.commonAncestorContainer;if(e!==c&&t!==c||i.contains(o))return"BODY"===(s=(a=c).nodeName)||"HTML"!==s&&fB(a.firstElementChild)!==a?fB(c):c;var l=hB(e);return l.host?pB(l.host,t):pB(e,hB(t).host)}function gB(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 i=e.ownerDocument.documentElement;return(e.ownerDocument.scrollingElement||i)[t]}return e[t]}function mB(e,t){var n="x"===t?"Left":"Top",i="Left"===n?"Right":"Bottom";return parseFloat(e["border"+n+"Width"],10)+parseFloat(e["border"+i+"Width"],10)}function bB(e,t,n,i){return Math.max(t["offset"+e],t["scroll"+e],n["client"+e],n["offset"+e],n["scroll"+e],uB(10)?n["offset"+e]+i["margin"+("Height"===e?"Top":"Left")]+i["margin"+("Height"===e?"Bottom":"Right")]:0)}function vB(){var e=document.body,t=document.documentElement,n=uB(10)&&getComputedStyle(t);return{height:bB("Height",e,t,n),width:bB("Width",e,t,n)}}var yB=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},_B=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),wB=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e},xB=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e};function SB(e){return xB({},e,{right:e.left+e.width,bottom:e.top+e.height})}function TB(e){var t={};try{if(uB(10)){t=e.getBoundingClientRect();var n=gB(e,"top"),i=gB(e,"left");t.top+=n,t.left+=i,t.bottom+=n,t.right+=i}else t=e.getBoundingClientRect()}catch(e){}var o={left:t.left,top:t.top,width:t.right-t.left,height:t.bottom-t.top},r="HTML"===e.nodeName?vB():{},a=r.width||e.clientWidth||o.right-o.left,s=r.height||e.clientHeight||o.bottom-o.top,c=e.offsetWidth-a,l=e.offsetHeight-s;if(c||l){var d=aB(e);c-=mB(d,"x"),l-=mB(d,"y"),o.width-=c,o.height-=l}return SB(o)}function kB(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=uB(10),o="HTML"===t.nodeName,r=TB(e),a=TB(t),s=cB(e),c=aB(t),l=parseFloat(c.borderTopWidth,10),d=parseFloat(c.borderLeftWidth,10);n&&"HTML"===t.nodeName&&(a.top=Math.max(a.top,0),a.left=Math.max(a.left,0));var u=SB({top:r.top-a.top-l,left:r.left-a.left-d,width:r.width,height:r.height});if(u.marginTop=0,u.marginLeft=0,!i&&o){var f=parseFloat(c.marginTop,10),h=parseFloat(c.marginLeft,10);u.top-=l-f,u.bottom-=l-f,u.left-=d-h,u.right-=d-h,u.marginTop=f,u.marginLeft=h}return(i&&!n?t.contains(s):t===s&&"BODY"!==s.nodeName)&&(u=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=gB(t,"top"),o=gB(t,"left"),r=n?-1:1;return e.top+=i*r,e.bottom+=i*r,e.left+=o*r,e.right+=o*r,e}(u,t)),u}function CB(e){if(!e||!e.parentElement||uB())return document.documentElement;for(var t=e.parentElement;t&&"none"===aB(t,"transform");)t=t.parentElement;return t||document.documentElement}function jB(e,t,n,i){var o=arguments.length>4&&void 0!==arguments[4]&&arguments[4],r={top:0,left:0},a=o?CB(e):pB(e,t);if("viewport"===i)r=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=e.ownerDocument.documentElement,i=kB(e,n),o=Math.max(n.clientWidth,window.innerWidth||0),r=Math.max(n.clientHeight,window.innerHeight||0),a=t?0:gB(n),s=t?0:gB(n,"left");return SB({top:a-i.top+i.marginTop,left:s-i.left+i.marginLeft,width:o,height:r})}(a,o);else{var s=void 0;"scrollParent"===i?"BODY"===(s=cB(sB(t))).nodeName&&(s=e.ownerDocument.documentElement):s="window"===i?e.ownerDocument.documentElement:i;var c=kB(s,a,o);if("HTML"!==s.nodeName||function e(t){var n=t.nodeName;return"BODY"!==n&&"HTML"!==n&&("fixed"===aB(t,"position")||e(sB(t)))}(a))r=c;else{var l=vB(),d=l.height,u=l.width;r.top+=c.top-c.marginTop,r.bottom=d+c.top,r.left+=c.left-c.marginLeft,r.right=u+c.left}}return r.left+=n,r.top+=n,r.right-=n,r.bottom-=n,r}function AB(e,t,n,i,o){var r=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0;if(-1===e.indexOf("auto"))return e;var a=jB(n,i,r,o),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}},c=Object.keys(s).map(function(e){return xB({key:e},s[e],{area:(t=s[e],t.width*t.height)});var t}).sort(function(e,t){return t.area-e.area}),l=c.filter(function(e){var t=e.width,i=e.height;return t>=n.clientWidth&&i>=n.clientHeight}),d=l.length>0?l[0].key:c[0].key,u=e.split("-")[1];return d+(u?"-"+u:"")}function EB(e,t,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;return kB(n,i?CB(t):pB(t,n),i)}function IB(e){var t=getComputedStyle(e),n=parseFloat(t.marginTop)+parseFloat(t.marginBottom),i=parseFloat(t.marginLeft)+parseFloat(t.marginRight);return{width:e.offsetWidth+i,height:e.offsetHeight+n}}function MB(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 OB(e,t,n){n=n.split("-")[0];var i=IB(e),o={width:i.width,height:i.height},r=-1!==["right","left"].indexOf(n),a=r?"top":"left",s=r?"left":"top",c=r?"height":"width",l=r?"width":"height";return o[a]=t[a]+t[c]/2-i[c]/2,o[s]=n===s?t[s]-i[l]:t[MB(s)],o}function DB(e,t){return Array.prototype.find?e.find(t):e.filter(t)[0]}function VB(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 i=DB(e,function(e){return e[t]===n});return e.indexOf(i)}(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&&rB(n)&&(t.offsets.popper=SB(t.offsets.popper),t.offsets.reference=SB(t.offsets.reference),t=n(t,e))}),t}function LB(e,t){return e.some(function(e){var n=e.name;return e.enabled&&n===t})}function PB(e){for(var t=[!1,"ms","Webkit","Moz","O"],n=e.charAt(0).toUpperCase()+e.slice(1),i=0;i<t.length;i++){var o=t[i],r=o?""+o+n:e;if(void 0!==document.body.style[r])return r}return null}function NB(e){var t=e.ownerDocument;return t?t.defaultView:window}function RB(e,t,n,i){n.updateBound=i,NB(e).addEventListener("resize",n.updateBound,{passive:!0});var o=cB(e);return function e(t,n,i,o){var r="BODY"===t.nodeName,a=r?t.ownerDocument.defaultView:t;a.addEventListener(n,i,{passive:!0}),r||e(cB(a.parentNode),n,i,o),o.push(a)}(o,"scroll",n.updateBound,n.scrollParents),n.scrollElement=o,n.eventsEnabled=!0,n}function FB(){var e,t;this.state.eventsEnabled&&(cancelAnimationFrame(this.scheduleUpdate),this.state=(e=this.reference,t=this.state,NB(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 BB(e){return""!==e&&!isNaN(parseFloat(e))&&isFinite(e)}function zB(e,t){Object.keys(t).forEach(function(n){var i="";-1!==["width","height","top","right","bottom","left"].indexOf(n)&&BB(t[n])&&(i="px"),e.style[n]=t[n]+i})}function HB(e,t,n){var i=DB(e,function(e){return e.name===t}),o=!!i&&e.some(function(e){return e.name===n&&e.enabled&&e.order<i.order});if(!o){var r="`"+t+"`",a="`"+n+"`";console.warn(a+" modifier is required by "+r+" modifier in order to work, be sure to include it before "+r+"!")}return o}var $B=["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"],qB=$B.slice(3);function WB(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=qB.indexOf(e),i=qB.slice(n+1).concat(qB.slice(0,n));return t?i.reverse():i}var GB={FLIP:"flip",CLOCKWISE:"clockwise",COUNTERCLOCKWISE:"counterclockwise"};function UB(e,t,n,i){var o=[0,0],r=-1!==["right","left"].indexOf(i),a=e.split(/(\+|\-)/).map(function(e){return e.trim()}),s=a.indexOf(DB(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 c=/\s*,\s*|\s+/,l=-1!==s?[a.slice(0,s).concat([a[s].split(c)[0]]),[a[s].split(c)[1]].concat(a.slice(s+1))]:[a];return(l=l.map(function(e,i){var o=(1===i?!r:r)?"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,i){var o=e.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),r=+o[1],a=o[2];if(!r)return e;if(0===a.indexOf("%")){var s=void 0;switch(a){case"%p":s=n;break;case"%":case"%r":default:s=i}return SB(s)[t]/100*r}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*r;return r}(e,o,t,n)})})).forEach(function(e,t){e.forEach(function(n,i){BB(n)&&(o[t]+=n*("-"===e[i-1]?-1:1))})}),o}var KB={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],i=t.split("-")[1];if(i){var o=e.offsets,r=o.reference,a=o.popper,s=-1!==["bottom","top"].indexOf(n),c=s?"left":"top",l=s?"width":"height",d={start:wB({},c,r[c]),end:wB({},c,r[c]+r[l]-a[l])};e.offsets.popper=xB({},a,d[i])}return e}},offset:{order:200,enabled:!0,fn:function(e,t){var n=t.offset,i=e.placement,o=e.offsets,r=o.popper,a=o.reference,s=i.split("-")[0],c=void 0;return c=BB(+n)?[+n,0]:UB(n,r,a,s),"left"===s?(r.top+=c[0],r.left-=c[1]):"right"===s?(r.top+=c[0],r.left+=c[1]):"top"===s?(r.left+=c[0],r.top-=c[1]):"bottom"===s&&(r.left+=c[0],r.top+=c[1]),e.popper=r,e},offset:0},preventOverflow:{order:300,enabled:!0,fn:function(e,t){var n=t.boundariesElement||fB(e.instance.popper);e.instance.reference===n&&(n=fB(n));var i=PB("transform"),o=e.instance.popper.style,r=o.top,a=o.left,s=o[i];o.top="",o.left="",o[i]="";var c=jB(e.instance.popper,e.instance.reference,t.padding,n,e.positionFixed);o.top=r,o.left=a,o[i]=s,t.boundaries=c;var l=t.priority,d=e.offsets.popper,u={primary:function(e){var n=d[e];return d[e]<c[e]&&!t.escapeWithReference&&(n=Math.max(d[e],c[e])),wB({},e,n)},secondary:function(e){var n="right"===e?"left":"top",i=d[n];return d[e]>c[e]&&!t.escapeWithReference&&(i=Math.min(d[n],c[e]-("right"===e?d.width:d.height))),wB({},n,i)}};return l.forEach(function(e){var t=-1!==["left","top"].indexOf(e)?"primary":"secondary";d=xB({},d,u[t](e))}),e.offsets.popper=d,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,i=t.reference,o=e.placement.split("-")[0],r=Math.floor,a=-1!==["top","bottom"].indexOf(o),s=a?"right":"bottom",c=a?"left":"top",l=a?"width":"height";return n[s]<r(i[c])&&(e.offsets.popper[c]=r(i[c])-n[l]),n[c]>r(i[s])&&(e.offsets.popper[c]=r(i[s])),e}},arrow:{order:500,enabled:!0,fn:function(e,t){var n;if(!HB(e.instance.modifiers,"arrow","keepTogether"))return e;var i=t.element;if("string"==typeof i){if(!(i=e.instance.popper.querySelector(i)))return e}else if(!e.instance.popper.contains(i))return console.warn("WARNING: `arrow.element` must be child of its popper element!"),e;var o=e.placement.split("-")[0],r=e.offsets,a=r.popper,s=r.reference,c=-1!==["left","right"].indexOf(o),l=c?"height":"width",d=c?"Top":"Left",u=d.toLowerCase(),f=c?"left":"top",h=c?"bottom":"right",p=IB(i)[l];s[h]-p<a[u]&&(e.offsets.popper[u]-=a[u]-(s[h]-p)),s[u]+p>a[h]&&(e.offsets.popper[u]+=s[u]+p-a[h]),e.offsets.popper=SB(e.offsets.popper);var g=s[u]+s[l]/2-p/2,m=aB(e.instance.popper),b=parseFloat(m["margin"+d],10),v=parseFloat(m["border"+d+"Width"],10),y=g-e.offsets.popper[u]-b-v;return y=Math.max(Math.min(a[l]-p,y),0),e.arrowElement=i,e.offsets.arrow=(wB(n={},u,Math.round(y)),wB(n,f,""),n),e},element:"[x-arrow]"},flip:{order:600,enabled:!0,fn:function(e,t){if(LB(e.instance.modifiers,"inner"))return e;if(e.flipped&&e.placement===e.originalPlacement)return e;var n=jB(e.instance.popper,e.instance.reference,t.padding,t.boundariesElement,e.positionFixed),i=e.placement.split("-")[0],o=MB(i),r=e.placement.split("-")[1]||"",a=[];switch(t.behavior){case GB.FLIP:a=[i,o];break;case GB.CLOCKWISE:a=WB(i);break;case GB.COUNTERCLOCKWISE:a=WB(i,!0);break;default:a=t.behavior}return a.forEach(function(s,c){if(i!==s||a.length===c+1)return e;i=e.placement.split("-")[0],o=MB(i);var l=e.offsets.popper,d=e.offsets.reference,u=Math.floor,f="left"===i&&u(l.right)>u(d.left)||"right"===i&&u(l.left)<u(d.right)||"top"===i&&u(l.bottom)>u(d.top)||"bottom"===i&&u(l.top)<u(d.bottom),h=u(l.left)<u(n.left),p=u(l.right)>u(n.right),g=u(l.top)<u(n.top),m=u(l.bottom)>u(n.bottom),b="left"===i&&h||"right"===i&&p||"top"===i&&g||"bottom"===i&&m,v=-1!==["top","bottom"].indexOf(i),y=!!t.flipVariations&&(v&&"start"===r&&h||v&&"end"===r&&p||!v&&"start"===r&&g||!v&&"end"===r&&m);(f||b||y)&&(e.flipped=!0,(f||b)&&(i=a[c+1]),y&&(r=function(e){return"end"===e?"start":"start"===e?"end":e}(r)),e.placement=i+(r?"-"+r:""),e.offsets.popper=xB({},e.offsets.popper,OB(e.instance.popper,e.offsets.reference,e.placement)),e=VB(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],i=e.offsets,o=i.popper,r=i.reference,a=-1!==["left","right"].indexOf(n),s=-1===["top","left"].indexOf(n);return o[a?"left":"top"]=r[n]-(s?o[a?"width":"height"]:0),e.placement=MB(t),e.offsets.popper=SB(o),e}},hide:{order:800,enabled:!0,fn:function(e){if(!HB(e.instance.modifiers,"hide","preventOverflow"))return e;var t=e.offsets.reference,n=DB(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,i=t.y,o=e.offsets.popper,r=DB(e.instance.modifiers,function(e){return"applyStyle"===e.name}).gpuAcceleration;void 0!==r&&console.warn("WARNING: `gpuAcceleration` option moved to `computeStyle` modifier and will not be supported in future versions of Popper.js!");var a=void 0!==r?r:t.gpuAcceleration,s=TB(fB(e.instance.popper)),c={position:o.position},l={left:Math.floor(o.left),top:Math.round(o.top),bottom:Math.round(o.bottom),right:Math.floor(o.right)},d="bottom"===n?"top":"bottom",u="right"===i?"left":"right",f=PB("transform"),h=void 0,p=void 0;if(p="bottom"===d?-s.height+l.bottom:l.top,h="right"===u?-s.width+l.right:l.left,a&&f)c[f]="translate3d("+h+"px, "+p+"px, 0)",c[d]=0,c[u]=0,c.willChange="transform";else{var g="bottom"===d?-1:1,m="right"===u?-1:1;c[d]=p*g,c[u]=h*m,c.willChange=d+", "+u}var b={"x-placement":e.placement};return e.attributes=xB({},b,e.attributes),e.styles=xB({},c,e.styles),e.arrowStyles=xB({},e.offsets.arrow,e.arrowStyles),e},gpuAcceleration:!0,x:"bottom",y:"right"},applyStyle:{order:900,enabled:!0,fn:function(e){var t,n;return zB(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&&zB(e.arrowElement,e.arrowStyles),e},onLoad:function(e,t,n,i,o){var r=EB(o,t,e,n.positionFixed),a=AB(n.placement,r,t,e,n.modifiers.flip.boundariesElement,n.modifiers.flip.padding);return t.setAttribute("x-placement",a),zB(t,{position:n.positionFixed?"fixed":"absolute"}),n},gpuAcceleration:void 0}}},YB=function(){function e(t,n){var i=this,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};yB(this,e),this.scheduleUpdate=function(){return requestAnimationFrame(i.update)},this.update=oB(this.update.bind(this)),this.options=xB({},e.Defaults,o),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(xB({},e.Defaults.modifiers,o.modifiers)).forEach(function(t){i.options.modifiers[t]=xB({},e.Defaults.modifiers[t]||{},o.modifiers?o.modifiers[t]:{})}),this.modifiers=Object.keys(this.options.modifiers).map(function(e){return xB({name:e},i.options.modifiers[e])}).sort(function(e,t){return e.order-t.order}),this.modifiers.forEach(function(e){e.enabled&&rB(e.onLoad)&&e.onLoad(i.reference,i.popper,i.options,e,i.state)}),this.update();var r=this.options.eventsEnabled;r&&this.enableEventListeners(),this.state.eventsEnabled=r}return _B(e,[{key:"update",value:function(){return function(){if(!this.state.isDestroyed){var e={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};e.offsets.reference=EB(this.state,this.popper,this.reference,this.options.positionFixed),e.placement=AB(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=OB(this.popper,e.offsets.reference,e.placement),e.offsets.popper.position=this.options.positionFixed?"fixed":"absolute",e=VB(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,LB(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[PB("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=RB(this.reference,this.options,this.state,this.scheduleUpdate))}.call(this)}},{key:"disableEventListeners",value:function(){return FB.call(this)}}]),e}();YB.Utils=("undefined"!=typeof window?window:e).PopperUtils,YB.placements=$B,YB.Defaults=KB,"function"!=typeof Object.assign&&(Object.assign=function(e,t){if(null==e)throw new TypeError("Cannot convert undefined or null to object");for(var n=Object(e),i=1;i<arguments.length;i++){var o=arguments[i];if(null!=o)for(var r in o)Object.prototype.hasOwnProperty.call(o,r)&&(n[r]=o[r])}return n}),Object.is||(Object.is=function(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t});var ZB=Object.assign,XB=Object.keys,QB=Object.defineProperties,JB=Object.defineProperty;var ez=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}();var tz,nz,iz,oz,rz=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),!t)throw new TypeError("Failed to construct '"+this.constructor.name+"'. 1 argument required, "+arguments.length+" given.");ZB(this,e.defaults(),n,{type:t}),QB(this,{type:{enumerable:!0,configurable:!1,writable:!1},cancelable:{enumerable:!0,configurable:!1,writable:!1},nativeEvent:{enumerable:!0,configurable:!1,writable:!1},target:{enumerable:!0,configurable:!1,writable:!1},relatedTarget:{enumerable:!0,configurable:!1,writable:!1},vueTarget:{enumerable:!0,configurable:!1,writable:!1}});var i=!1;this.preventDefault=function(){this.cancelable&&(i=!0)},JB(this,"defaultPrevented",{enumerable:!0,get:function(){return i}})}return ez(e,null,[{key:"defaults",value:function(){return{type:"",cancelable:!0,nativeEvent:null,target:null,relatedTarget:null,vueTarget:null}}}]),e}();Array.from||(Array.from=(tz=Object.prototype.toString,nz=function(e){return"function"==typeof e||"[object Function]"===tz.call(e)},iz=Math.pow(2,53)-1,oz=function(e){return Math.min(Math.max(function(e){var t=Number(e);return isNaN(t)?0:0!==t&&isFinite(t)?(t>0?1:-1)*Math.floor(Math.abs(t)):t}(e),0),iz)},function(e){var t=Object(e);if(null==e)throw new TypeError("Array.from requires an array-like object - not null or undefined");var n=arguments.length>1?arguments[1]:void 0,i=void 0;if(void 0!==n){if(!nz(n))throw new TypeError("Array.from: when provided, the second argument must be a function");arguments.length>2&&(i=arguments[2])}for(var o=oz(t.length),r=nz(this)?Object(new this(o)):new Array(o),a=0,s=void 0;a<o;)s=t[a],r[a]=n?void 0===i?n(s,a):n.call(i,s,a):s,a+=1;return r.length=o,r})),Array.prototype.find||Object.defineProperty(Array.prototype,"find",{value:function(e){if(null==this)throw new TypeError('"this" is null or not defined');var t=Object(this),n=t.length>>>0;if("function"!=typeof e)throw new TypeError("predicate must be a function");for(var i=arguments[1],o=0;o<n;){var r=t[o];if(e.call(i,r,o,t))return r;o++}}}),Array.isArray||(Array.isArray=function(e){return"[object Array]"===Object.prototype.toString.call(e)});var az=Array.from,sz=Array.isArray,cz=function(e,t){return-1!==e.indexOf(t)};var lz=function(e){return e&&e.nodeType===Node.ELEMENT_NODE},dz=function(e){return lz(e)&&document.body.contains(e)&&e.getBoundingClientRect().height>0&&e.getBoundingClientRect().width>0},uz=function(e){return!lz(e)||e.disabled||e.classList.contains("disabled")||Boolean(e.getAttribute("disabled"))},fz=function(e,t){return lz(t)||(t=document),az(t.querySelectorAll(e))},hz=function(e,t){return lz(t)||(t=document),t.querySelector(e)||null},pz=function(e,t){if(!lz(e))return!1;var n=Element.prototype;return(n.matches||n.matchesSelector||n.mozMatchesSelector||n.msMatchesSelector||n.oMatchesSelector||n.webkitMatchesSelector||function(e){for(var t=fz(e,this.document||this.ownerDocument),n=t.length;--n>=0&&t.item(n)!==this;);return n>-1}).call(e,t)},gz=function(e,t){if(!lz(t))return null;var n=(Element.prototype.closest||function(e){var t=this;if(!document.documentElement.contains(t))return null;do{if(pz(t,e))return t;t=t.parentElement}while(null!==t);return null}).call(t,e);return n===t?null:n},mz=function(e,t){t&&lz(e)&&e.classList.add(t)},bz=function(e,t){t&&lz(e)&&e.classList.remove(t)},vz=function(e,t){return!(!t||!lz(e))&&e.classList.contains(t)},yz=function(e,t,n){t&&lz(e)&&e.setAttribute(t,n)},_z=function(e,t){t&&lz(e)&&e.removeAttribute(t)},wz=function(e,t){return t&&lz(e)?e.getAttribute(t):null},xz=function(e,t){return t&&lz(e)?e.hasAttribute(t):null},Sz=function(e,t,n){e&&e.addEventListener&&e.addEventListener(t,n)},Tz=function(e,t,n){e&&e.removeEventListener&&e.removeEventListener(t,n)},kz="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},Cz=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}();var jz=new RegExp("\\bbs-tooltip\\S+","g"),Az={AUTO:"auto",TOP:"top",RIGHT:"right",BOTTOM:"bottom",LEFT:"left",TOPLEFT:"top",TOPRIGHT:"top",RIGHTTOP:"right",RIGHTBOTTOM:"right",BOTTOMLEFT:"bottom",BOTTOMRIGHT:"bottom",LEFTTOP:"left",LEFTBOTTOM:"left"},Ez={AUTO:0,TOPLEFT:-1,TOP:0,TOPRIGHT:1,RIGHTTOP:-1,RIGHT:0,RIGHTBOTTOM:1,BOTTOMLEFT:-1,BOTTOM:0,BOTTOMRIGHT:1,LEFTTOP:-1,LEFT:0,LEFTBOTTOM:1},Iz="show",Mz="out",Oz="fade",Dz="show",Vz=".tooltip-inner",Lz=".arrow",Pz={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,placement:"top",offset:0,arrowPadding:6,container:!1,fallbackPlacement:"flip",callbacks:{},boundary:"scrollParent"},Nz={WebkitTransition:["webkitTransitionEnd"],MozTransition:["transitionend"],OTransition:["otransitionend","oTransitionEnd"],transition:["transitionend"]},Rz=1;var Fz=function(){function e(t,n,i){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.$isEnabled=!0,this.$fadeTimeout=null,this.$hoverTimeout=null,this.$visibleInterval=null,this.$hoverState="",this.$activeTrigger={},this.$popper=null,this.$element=t,this.$tip=null,this.$id="__BV_"+this.constructor.NAME+"_"+Rz+++"__",this.$root=i||null,this.$routeWatcher=null,this.$forceHide=this.forceHide.bind(this),this.$doHide=this.doHide.bind(this),this.$doShow=this.doShow.bind(this),this.$doDisable=this.doDisable.bind(this),this.$doEnable=this.doEnable.bind(this),this.updateConfig(n)}return Cz(e,[{key:"updateConfig",value:function(e){var t=ZB({},this.constructor.Default,e);e.delay&&"number"==typeof e.delay&&(t.delay={show:e.delay,hide:e.delay}),e.title&&"number"==typeof e.title&&(t.title=e.title.toString()),e.content&&"number"==typeof e.content&&(t.content=e.content.toString()),this.fixTitle(),this.$config=t,this.unListen(),this.listen()}},{key:"destroy",value:function(){this.unListen(),this.setWhileOpenListeners(!1),clearTimeout(this.$hoverTimeout),this.$hoverTimeout=null,clearTimeout(this.$fadeTimeout),this.$fadeTimeout=null,this.$popper&&this.$popper.destroy(),this.$popper=null,this.$tip&&this.$tip.parentElement&&this.$tip.parentElement.removeChild(this.$tip),this.$tip=null,this.$id=null,this.$isEnabled=null,this.$root=null,this.$element=null,this.$config=null,this.$hoverState=null,this.$activeTrigger=null,this.$forceHide=null,this.$doHide=null,this.$doShow=null,this.$doDisable=null,this.$doEnable=null}},{key:"enable",value:function(){var e=new rz("enabled",{cancelable:!1,target:this.$element,relatedTarget:null});this.$isEnabled=!0,this.emitEvent(e)}},{key:"disable",value:function(){var e=new rz("disabled",{cancelable:!1,target:this.$element,relatedTarget:null});this.$isEnabled=!1,this.emitEvent(e)}},{key:"toggle",value:function(e){this.$isEnabled&&(e?(this.$activeTrigger.click=!this.$activeTrigger.click,this.isWithActiveTrigger()?this.enter(null):this.leave(null)):vz(this.getTipElement(),Dz)?this.leave(null):this.enter(null))}},{key:"show",value:function(){var e=this;if(document.body.contains(this.$element)&&dz(this.$element)){var t=this.getTipElement();if(this.fixTitle(),this.setContent(t),this.isWithContent(t)){yz(t,"id",this.$id),this.addAriaDescribedby(),this.$config.animation?mz(t,Oz):bz(t,Oz);var n=this.getPlacement(),i=this.constructor.getAttachment(n);this.addAttachmentClass(i);var o=new rz("show",{cancelable:!0,target:this.$element,relatedTarget:t});if(this.emitEvent(o),o.defaultPrevented)this.$tip=null;else{var r=this.getContainer();document.body.contains(t)||r.appendChild(t),this.removePopper(),this.$popper=new YB(this.$element,t,this.getPopperConfig(n,t));this.setWhileOpenListeners(!0),mz(t,Dz),this.transitionOnce(t,function(){e.$config.animation&&e.fixTransition(t);var n=e.$hoverState;e.$hoverState=null,n===Mz&&e.leave(null);var i=new rz("shown",{cancelable:!1,target:e.$element,relatedTarget:t});e.emitEvent(i)})}}else this.$tip=null}}},{key:"visibleCheck",value:function(e){var t=this;clearInterval(this.$visibleInterval),this.$visibleInterval=null,e&&(this.$visibleInterval=setInterval(function(){var e=t.getTipElement();e&&!dz(t.$element)&&vz(e,Dz)&&t.forceHide()},100))}},{key:"setWhileOpenListeners",value:function(e){this.setModalListener(e),this.visibleCheck(e),this.setRouteWatcher(e),this.setOnTouchStartListener(e),e&&/(focus|blur)/.test(this.$config.trigger)?Sz(this.$tip,"focusout",this):Tz(this.$tip,"focusout",this)}},{key:"forceHide",value:function(){this.$tip&&vz(this.$tip,Dz)&&(this.setWhileOpenListeners(!1),clearTimeout(this.$hoverTimeout),this.$hoverTimeout=null,this.$hoverState="",this.hide(null,!0))}},{key:"hide",value:function(e,t){var n=this,i=this.$tip;if(i){var o=new rz("hide",{cancelable:!t,target:this.$element,relatedTarget:i});if(this.emitEvent(o),!o.defaultPrevented){this.setWhileOpenListeners(!1),t&&bz(i,Oz),bz(i,Dz),this.$activeTrigger.click=!1,this.$activeTrigger.focus=!1,this.$activeTrigger.hover=!1,this.transitionOnce(i,function(){n.$hoverState!==Iz&&i.parentNode&&(i.parentNode.removeChild(i),n.removeAriaDescribedby(),n.removePopper(),n.$tip=null),e&&e();var t=new rz("hidden",{cancelable:!1,target:n.$element,relatedTarget:null});n.emitEvent(t)}),this.$hoverState=""}}}},{key:"emitEvent",value:function(e){var t=e.type;this.$root&&this.$root.$emit&&this.$root.$emit("bv::"+this.constructor.NAME+"::"+t,e);var n=this.$config.callbacks||{};"function"==typeof n[t]&&n[t](e)}},{key:"getContainer",value:function(){var e=this.$config.container,t=document.body;return!1===e?gz(".modal-content",this.$element)||t:hz(e,t)||t}},{key:"addAriaDescribedby",value:function(){var e=wz(this.$element,"aria-describedby")||"";e=e.split(/\s+/).concat(this.$id).join(" ").trim(),yz(this.$element,"aria-describedby",e)}},{key:"removeAriaDescribedby",value:function(){var e=this,t=wz(this.$element,"aria-describedby")||"";(t=t.split(/\s+/).filter(function(t){return t!==e.$id}).join(" ").trim())?yz(this.$element,"aria-describedby",t):_z(this.$element,"aria-describedby")}},{key:"removePopper",value:function(){this.$popper&&this.$popper.destroy(),this.$popper=null}},{key:"transitionOnce",value:function(e,t){var n=this,i=this.getTransitionEndEvents(),o=!1;clearTimeout(this.$fadeTimeout),this.$fadeTimeout=null;var r=function r(){o||(o=!0,clearTimeout(n.$fadeTimeout),n.$fadeTimeout=null,i.forEach(function(t){Tz(e,t,r)}),t())};vz(e,Oz)?(i.forEach(function(t){Sz(e,t,r)}),this.$fadeTimeout=setTimeout(r,150)):r()}},{key:"getTransitionEndEvents",value:function(){for(var e in Nz)if(void 0!==this.$element.style[e])return Nz[e];return[]}},{key:"update",value:function(){null!==this.$popper&&this.$popper.scheduleUpdate()}},{key:"isWithContent",value:function(e){return!!(e=e||this.$tip)&&Boolean((hz(Vz,e)||{}).innerHTML)}},{key:"addAttachmentClass",value:function(e){mz(this.getTipElement(),"bs-tooltip-"+e)}},{key:"getTipElement",value:function(){return this.$tip||(this.$tip=this.compileTemplate(this.$config.template)||this.compileTemplate(this.constructor.Default.template)),this.$tip.tabIndex=-1,this.$tip}},{key:"compileTemplate",value:function(e){if(!e||"string"!=typeof e)return null;var t=document.createElement("div");t.innerHTML=e.trim();var n=t.firstElementChild?t.removeChild(t.firstElementChild):null;return t=null,n}},{key:"setContent",value:function(e){this.setElementContent(hz(Vz,e),this.getTitle()),bz(e,Oz),bz(e,Dz)}},{key:"setElementContent",value:function(e,t){if(e){var n=this.$config.html;"object"===(void 0===t?"undefined":kz(t))&&t.nodeType?n?t.parentElement!==e&&(e.innerHtml="",e.appendChild(t)):e.innerText=t.innerText:e[n?"innerHTML":"innerText"]=t}}},{key:"getTitle",value:function(){var e=this.$config.title||"";return"function"==typeof e&&(e=e(this.$element)),"object"===(void 0===e?"undefined":kz(e))&&e.nodeType&&!e.innerHTML.trim()&&(e=""),"string"==typeof e&&(e=e.trim()),e||(e=(e=wz(this.$element,"title")||wz(this.$element,"data-original-title")||"").trim()),e}},{key:"listen",value:function(){var e=this,t=this.$config.trigger.trim().split(/\s+/),n=this.$element;this.setRootListener(!0),t.forEach(function(t){"click"===t?Sz(n,"click",e):"focus"===t?(Sz(n,"focusin",e),Sz(n,"focusout",e)):"blur"===t?Sz(n,"focusout",e):"hover"===t&&(Sz(n,"mouseenter",e),Sz(n,"mouseleave",e))},this)}},{key:"unListen",value:function(){var e=this;["click","focusin","focusout","mouseenter","mouseleave"].forEach(function(t){Tz(e.$element,t,e)},this),this.setRootListener(!1)}},{key:"handleEvent",value:function(e){if(!uz(this.$element)&&this.$isEnabled){var t=e.type,n=e.target,i=e.relatedTarget,o=this.$element,r=this.$tip;if("click"===t)this.toggle(e);else if("focusin"===t||"mouseenter"===t)this.enter(e);else if("focusout"===t){if(r&&o&&o.contains(n)&&r.contains(i))return;if(r&&o&&r.contains(n)&&o.contains(i))return;if(r&&r.contains(n)&&r.contains(i))return;if(o&&o.contains(n)&&o.contains(i))return;this.leave(e)}else"mouseleave"===t&&this.leave(e)}}},{key:"setRouteWatcher",value:function(e){var t=this;e?(this.setRouteWatcher(!1),this.$root&&Boolean(this.$root.$route)&&(this.$routeWatcher=this.$root.$watch("$route",function(e,n){e!==n&&t.forceHide()}))):this.$routeWatcher&&(this.$routeWatcher(),this.$routeWatcher=null)}},{key:"setModalListener",value:function(e){gz(".modal-content",this.$element)&&this.$root&&this.$root[e?"$on":"$off"]("bv::modal::hidden",this.$forceHide)}},{key:"setRootListener",value:function(e){this.$root&&(this.$root[e?"$on":"$off"]("bv::hide::"+this.constructor.NAME,this.$doHide),this.$root[e?"$on":"$off"]("bv::show::"+this.constructor.NAME,this.$doShow),this.$root[e?"$on":"$off"]("bv::disable::"+this.constructor.NAME,this.$doDisable),this.$root[e?"$on":"$off"]("bv::enable::"+this.constructor.NAME,this.$doEnable))}},{key:"doHide",value:function(e){e?this.$element&&this.$element.id&&this.$element.id===e&&this.hide():this.forceHide()}},{key:"doShow",value:function(e){e?e&&this.$element&&this.$element.id&&this.$element.id===e&&this.show():this.show()}},{key:"doDisable",value:function(e){e?this.$element&&this.$element.id&&this.$element.id===e&&this.disable():this.disable()}},{key:"doEnable",value:function(e){e?this.$element&&this.$element.id&&this.$element.id===e&&this.enable():this.enable()}},{key:"setOnTouchStartListener",value:function(e){var t=this;"ontouchstart"in document.documentElement&&az(document.body.children).forEach(function(n){e?Sz(n,"mouseover",t._noop):Tz(n,"mouseover",t._noop)})}},{key:"_noop",value:function(){}},{key:"fixTitle",value:function(){var e=this.$element,t=kz(wz(e,"data-original-title"));(wz(e,"title")||"string"!==t)&&(yz(e,"data-original-title",wz(e,"title")||""),yz(e,"title",""))}},{key:"enter",value:function(e){var t=this;e&&(this.$activeTrigger["focusin"===e.type?"focus":"hover"]=!0),vz(this.getTipElement(),Dz)||this.$hoverState===Iz?this.$hoverState=Iz:(clearTimeout(this.$hoverTimeout),this.$hoverState=Iz,this.$config.delay&&this.$config.delay.show?this.$hoverTimeout=setTimeout(function(){t.$hoverState===Iz&&t.show()},this.$config.delay.show):this.show())}},{key:"leave",value:function(e){var t=this;e&&(this.$activeTrigger["focusout"===e.type?"focus":"hover"]=!1,"focusout"===e.type&&/blur/.test(this.$config.trigger)&&(this.$activeTrigger.click=!1,this.$activeTrigger.hover=!1)),this.isWithActiveTrigger()||(clearTimeout(this.$hoverTimeout),this.$hoverState=Mz,this.$config.delay&&this.$config.delay.hide?this.$hoverTimeout=setTimeout(function(){t.$hoverState===Mz&&t.hide()},this.$config.delay.hide):this.hide())}},{key:"getPopperConfig",value:function(e,t){var n=this;return{placement:this.constructor.getAttachment(e),modifiers:{offset:{offset:this.getOffset(e,t)},flip:{behavior:this.$config.fallbackPlacement},arrow:{element:".arrow"},preventOverflow:{boundariesElement:this.$config.boundary}},onCreate:function(e){e.originalPlacement!==e.placement&&n.handlePopperPlacementChange(e)},onUpdate:function(e){n.handlePopperPlacementChange(e)}}}},{key:"getOffset",value:function(e,t){if(!this.$config.offset){var n=hz(Lz,t),i=parseFloat((o=n,lz(o)?window.getComputedStyle(o):{}).width)+parseFloat(this.$config.arrowPadding);switch(Ez[e.toUpperCase()]){case 1:return"+50%p - "+i+"px";case-1:return"-50%p + "+i+"px";default:return 0}}var o;return this.$config.offset}},{key:"getPlacement",value:function(){var e=this.$config.placement;return"function"==typeof e?e.call(this,this.$tip,this.$element):e}},{key:"isWithActiveTrigger",value:function(){for(var e in this.$activeTrigger)if(this.$activeTrigger[e])return!0;return!1}},{key:"cleanTipClass",value:function(){var e=this.getTipElement(),t=e.className.match(jz);null!==t&&t.length>0&&t.forEach(function(t){bz(e,t)})}},{key:"handlePopperPlacementChange",value:function(e){this.cleanTipClass(),this.addAttachmentClass(this.constructor.getAttachment(e.placement))}},{key:"fixTransition",value:function(e){var t=this.$config.animation||!1;null===wz(e,"x-placement")&&(bz(e,Oz),this.$config.animation=!1,this.hide(),this.show(),this.$config.animation=t)}}],[{key:"getAttachment",value:function(e){return Az[e.toUpperCase()]}},{key:"Default",get:function(){return Pz}},{key:"NAME",get:function(){return"tooltip"}}]),e}(),Bz="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},zz=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}();var Hz=new RegExp("\\bbs-popover\\S+","g"),$z=ZB({},Fz.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>'}),qz="fade",Wz="show",Gz=".popover-header",Uz=".popover-body",Kz=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,Fz),zz(t,[{key:"isWithContent",value:function(e){if(!(e=e||this.$tip))return!1;var t=Boolean((hz(Gz,e)||{}).innerHTML),n=Boolean((hz(Uz,e)||{}).innerHTML);return t||n}},{key:"addAttachmentClass",value:function(e){mz(this.getTipElement(),"bs-popover-"+e)}},{key:"setContent",value:function(e){this.setElementContent(hz(Gz,e),this.getTitle()),this.setElementContent(hz(Uz,e),this.getContent()),bz(e,qz),bz(e,Wz)}},{key:"cleanTipClass",value:function(){var e=this.getTipElement(),t=e.className.match(Hz);null!==t&&t.length>0&&t.forEach(function(t){bz(e,t)})}},{key:"getTitle",value:function(){var e=this.$config.title||"";return"function"==typeof e&&(e=e(this.$element)),"object"===(void 0===e?"undefined":Bz(e))&&e.nodeType&&!e.innerHTML.trim()&&(e=""),"string"==typeof e&&(e=e.trim()),e||(e=(e=wz(this.$element,"title")||wz(this.$element,"data-original-title")||"").trim()),e}},{key:"getContent",value:function(){var e=this.$config.content||"";return"function"==typeof e&&(e=e(this.$element)),"object"===(void 0===e?"undefined":Bz(e))&&e.nodeType&&!e.innerHTML.trim()&&(e=""),"string"==typeof e&&(e=e.trim()),e}}],[{key:"Default",get:function(){return $z}},{key:"NAME",get:function(){return"popover"}}]),t}();function Yz(e){console.warn("[Bootstrap-Vue warn]: "+e)}var Zz="undefined"==typeof window?Object:window.HTMLElement;function Xz(e,t,n){var i=window.MutationObserver||window.WebKitMutationObserver||window.MozMutationObserver,o=window.addEventListener;if(e=e?e.$el||e:null,!lz(e))return null;var r=null;return i?(r=new i(function(e){for(var n=!1,i=0;i<e.length&&!n;i++){var o=e[i],r=o.type,a=o.target;"characterData"===r&&a.nodeType===Node.TEXT_NODE?n=!0:"attributes"===r?n=!0:"childList"===r&&(o.addedNodes.length>0||o.removedNodes.length>0)&&(n=!0)}n&&t()})).observe(e,ZB({childList:!0,subtree:!0},n)):o&&(e.addEventListener("DOMNodeInserted",t,!1),e.addEventListener("DOMNodeRemoved",t,!1)),r}var Qz="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},Jz={top:"top",topleft:"topleft",topright:"topright",right:"right",righttop:"righttop",rightbottom:"rightbottom",bottom:"bottom",bottomleft:"bottomleft",bottomright:"bottomright",left:"left",lefttop:"lefttop",leftbottom:"leftbottom",auto:"auto"},eH={subtree:!0,childList:!0,characterData:!0,attributes:!0,attributeFilter:["class","style"]},tH={props:{target:{type:[String,Object,Zz,Function]},delay:{type:[Number,Object,String],default:0},offset:{type:[Number,String],default:0},noFade:{type:Boolean,default:!1},container:{type:String,default:null},boundary:{type:[String,Object],default:"scrollParent"},show:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1}},watch:{show:function(e,t){e!==t&&(e?this.onOpen():this.onClose())},disabled:function(e,t){e!==t&&(e?this.onDisable():this.onEnable())}},created:function(){this._toolpop=null,this._obs_title=null,this._obs_content=null},mounted:function(){var e=this;this.$nextTick(function(){e.createToolpop()&&(e.disabled&&e.onDisable(),e.$on("open",e.onOpen),e.$on("close",e.onClose),e.$on("disable",e.onDisable),e.$on("enable",e.onEnable),e.setObservers(!0),e.show&&e.onOpen())})},updated:function(){this._toolpop&&this._toolpop.updateConfig(this.getConfig())},activated:function(){this.setObservers(!0)},deactivated:function(){this._toolpop&&(this.setObservers(!1),this._toolpop.hide())},beforeDestroy:function(){this.$off("open",this.onOpen),this.$off("close",this.onClose),this.$off("disable",this.onDisable),this.$off("enable",this.onEnable),this.setObservers(!1),this.bringItBack(),this._toolpop&&(this._toolpop.destroy(),this._toolpop=null)},computed:{baseConfig:function(){var e=this.container,t="object"===Qz(this.delay)?this.delay:parseInt(this.delay,10)||0;return{title:(this.title||"").trim()||"",content:(this.content||"").trim()||"",placement:Jz[this.placement]||"auto",container:!!e&&(/^#/.test(e)?e:"#"+e),boundary:this.boundary,delay:t||0,offset:this.offset||0,animation:!this.noFade,trigger:sz(this.triggers)?this.triggers.join(" "):this.triggers,callbacks:{show:this.onShow,shown:this.onShown,hide:this.onHide,hidden:this.onHidden,enabled:this.onEnabled,disabled:this.onDisabled}}}},methods:{getConfig:function(){var e=ZB({},this.baseConfig);return this.$refs.title&&this.$refs.title.innerHTML.trim()&&(e.title=this.$refs.title,e.html=!0),this.$refs.content&&this.$refs.content.innerHTML.trim()&&(e.content=this.$refs.content,e.html=!0),e},onOpen:function(){this._toolpop&&this._toolpop.show()},onClose:function(e){this._toolpop?this._toolpop.hide(e):"function"==typeof e&&e()},onDisable:function(){this._toolpop&&this._toolpop.disable()},onEnable:function(){this._toolpop&&this._toolpop.enable()},updatePosition:function(){this._toolpop&&this._toolpop.update()},getTarget:function(){var e,t=this.target;return"function"==typeof t&&(t=t()),"string"==typeof t?(e=t,document.getElementById(/^#/.test(e)?e.slice(1):e)||null):"object"===(void 0===t?"undefined":Qz(t))&&lz(t.$el)?t.$el:"object"===(void 0===t?"undefined":Qz(t))&&lz(t)?t:null},onShow:function(e){this.$emit("show",e)},onShown:function(e){this.setObservers(!0),this.$emit("update:show",!0),this.$emit("shown",e)},onHide:function(e){this.$emit("hide",e)},onHidden:function(e){this.setObservers(!1),this.bringItBack(),this.$emit("update:show",!1),this.$emit("hidden",e)},onEnabled:function(e){e&&"enabled"===e.type&&(this.$emit("update:disabled",!1),this.$emit("disabled"))},onDisabled:function(e){e&&"disabled"===e.type&&(this.$emit("update:disabled",!0),this.$emit("enabled"))},bringItBack:function(){this.$el&&this.$refs.title&&this.$el.appendChild(this.$refs.title),this.$el&&this.$refs.content&&this.$el.appendChild(this.$refs.content)},setObservers:function(e){e?(this.$refs.title&&(this._obs_title=Xz(this.$refs.title,this.updatePosition.bind(this),eH)),this.$refs.content&&(this._obs_content=Xz(this.$refs.content,this.updatePosition.bind(this),eH))):(this._obs_title&&(this._obs_title.disconnect(),this._obs_title=null),this._obs_content&&(this._obs_content.disconnect(),this._obs_content=null))}}},nH={components:{BPopover:{mixins:[tH],render:function(e){return e("div",{class:["d-none"],style:{display:"none"},attrs:{"aria-hidden":!0}},[e("div",{ref:"title"},this.$slots.title),e("div",{ref:"content"},this.$slots.default)])},data:function(){return{}},props:{title:{type:String,default:""},content:{type:String,default:""},triggers:{type:[String,Array],default:"click"},placement:{type:String,default:"right"}},methods:{createToolpop:function(){var e=this.getTarget();return e?this._toolpop=new Kz(e,this.getConfig(),this.$root):(this._toolpop=null,Yz("b-popover: 'target' element not found!")),this._toolpop}}}},inheritAttrs:!1},iH=function(){var e=this.$createElement,t=this._self._c||e;return t("b-popover",this._b({},"b-popover",this.$attrs,!1),[t("template",{slot:"title"},[this._t("title")],2),this._v(" "),this._t("default")],2)};iH._withStripped=!0;var oH=function(e,t,n,i,o,r,a,s){var c=("function"==typeof n?n.options:n)||{};return c.__file="/builds/gitlab-org/gitlab-ui/components/base/popover/popover.vue",c.render||(c.render=e.render,c.staticRenderFns=e.staticRenderFns,c._compiled=!0,o&&(c.functional=!0)),c._scopeId=i,c}({render:iH,staticRenderFns:[]},0,nH,void 0,!1),rH={components:{Popover:oH},inheritAttrs:!1,props:{chart:{type:Object,required:!0,validator:function(e){return Object.is(e,qP.getInstanceByDom(e.getDom()))}},top:{type:String,required:!1,default:null},bottom:{type:String,required:!1,default:null},left:{type:String,required:!1,default:null},right:{type:String,required:!1,default:null}},computed:{containerId:function(){return this.chart.getDom().getAttribute("_echarts_instance_")+"-tooltip"},containerPosition:function(){var e=this;return["top","bottom","left","right"].reduce(function(t,n){var i=e[n];return i&&(t[n]=i),t},{})}}},aH=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[n("div",{staticClass:"position-absolute no-pointer-events",staticStyle:{width:"1px",height:"1px"},style:e.containerPosition,attrs:{id:e.containerId}}),e._v(" "),n("popover",e._b({attrs:{target:e.containerId,container:e.containerId,triggers:""}},"popover",e.$attrs,!1),[n("template",{slot:"title"},[e._t("title")],2),e._v(" "),e._t("default")],2)],1)};aH._withStripped=!0;var sH=function(e,t,n,i,o,r,a,s){var c=("function"==typeof n?n.options:n)||{};return c.__file="/builds/gitlab-org/gitlab-ui/components/charts/tooltip/tooltip.vue",c.render||(c.render=e.render,c.staticRenderFns=e.staticRenderFns,c._compiled=!0,o&&(c.functional=!0)),c._scopeId=i,c}({render:aH,staticRenderFns:[]},0,rH,void 0,!1),cH=function(){return function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],i=!0,o=!1,r=void 0;try{for(var a,s=e[Symbol.iterator]();!(i=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);i=!0);}catch(e){o=!0,r=e}finally{try{!i&&s.return&&s.return()}finally{if(o)throw r}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}();function lH(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,n=e.replace("#",""),i=(3===n.length?n.split("").map(function(e){return e+e}):n.match(/[\da-f]{2}/gi)).map(function(e){return parseInt(e,16)}),o=cH(i,3);return"rgba("+o[0]+", "+o[1]+", "+o[2]+", "+t+")"}var dH={tooltipBackground:"#fff",text:"#2e2e2e",textSecondary:"#707070",textTertiary:"#919191",textQuaternary:"#d6d6d6",splitLine:"#dfdfdf",lines:["#1F78D1","#1aaa55","#fc9403","#6666c4"],threshold:"#db3b21"},uH={name:"Value",type:"value",nameLocation:"center",nameTextStyle:{color:dH.text,fontStyle:"bold"},axisLabel:{color:dH.textTertiary},axisLine:{lineStyle:{width:0}},axisTick:{show:!1,alignWithLabel:!0},splitLine:{show:!0,lineStyle:{color:dH.splitLine}}};var fH={xAxis:JF({},uH,{axisLabel:{formatter:function(e){return e}},boundaryGap:!1,nameTextStyle:{padding:[16,0,0,0]},splitLine:{show:!1}}),yAxis:JF({},uH,{nameTextStyle:{padding:[0,0,32,0]}}),legend:{icon:"path://M0,0H16V4H0Z",show:!0,align:"left",bottom:0,left:65,textStyle:{fontWeight:"bold"}},grid:{top:24,bottom:72,left:70,right:24}},hH=function(){return function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],i=!0,o=!1,r=void 0;try{for(var a,s=e[Symbol.iterator]();!(i=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);i=!0);}catch(e){o=!0,r=e}finally{try{!i&&s.return&&s.return()}finally{if(o)throw r}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),pH={components:{Chart:KP,ChartTooltip:sH},inheritAttrs:!1,props:{data:{type:Object,required:!0},option:{type:Object,required:!1,default:function(){return{}}},thresholds:{type:Object,required:!1,default:function(){return{}}},formatTooltipText:{type:Function,required:!1,default:null}},data:function(){return{chart:null,showTooltip:!1,tooltipTitle:"",tooltipContent:{},tooltipPosition:{left:"0",top:"0"},debouncedMousemove:(e=this.onMousemove,t=void 0,function(){for(var n=this,i=arguments.length,o=Array(i),r=0;r<i;r++)o[r]=arguments[r];t&&window.cancelAnimationFrame(t),t=window.requestAnimationFrame(function(){return e.apply(n,o)})})};var e,t},computed:{hasTooltipContent:function(){return!bR(this.tooltipContent)},series:function(){var e=this;return Object.keys(this.data).map(function(t,n){for(var i=n,o=dH.lines.length;i>=o;)i-=o;var r=dH.lines[i];return Object.assign({name:t,data:Object.entries(e.data[t]),type:"line",showSymbol:!1,symbol:"circle",symbolSize:3,lineStyle:{width:1},itemStyle:{color:r},areaStyle:{color:lH(r,.2)}},null===e.thresholds?{}:function(e){var t=Object.keys(e);if(!t.length)return{};var n=[],i=[];return t.forEach(function(t){var o=e[t],r=o.threshold,a=void 0;switch(o.operator){case">":case">":a=1/0;break;case"<":case"<":a=Number.NEGATIVE_INFINITY;break;case"=":default:a=r}n.push([{xAxis:"min",yAxis:r},{xAxis:"max",yAxis:r}]),i.push([{xAxis:"min",yAxis:r},{xAxis:"max",yAxis:a}])}),{markLine:{silent:!0,symbol:"none",label:{show:!1},lineStyle:{color:dH.threshold,width:1,type:"dashed"},data:n},markArea:{silent:!0,data:i,itemStyle:{color:lH(dH.threshold,.1)},zlevel:-1}}}(e.thresholds))})},options:function(){return JF({},fH,{xAxis:{axisLabel:{margin:20,verticalAlign:"bottom"},axisPointer:{show:!0,lineStyle:{color:dH.textTertiary},label:{show:!1,formatter:this.onLabelChange}}},series:this.series,legend:{itemWidth:16}},this.option)}},beforeDestroy:function(){this.chart.getDom().removeEventListener("mousemove",this.debouncedMousemove)},methods:{onCreated:function(e){e.getDom().addEventListener("mousemove",this.debouncedMousemove),this.chart=e,this.$emit("created",e)},onMousemove:function(e){this.showTooltip=this.chart.containPixel("grid",[e.zrX,e.zrY])&&this.hasTooltipContent},onUpdated:function(e){this.$emit("updated",e)},onLabelChange:function(e){var t=this;this.tooltipContent={};var n=[];if(e.seriesData.forEach(function(e){var i=void 0,o=void 0;if(t.formatTooltipText){var r=t.formatTooltipText(e.value),a=hH(r,2);i=a[0],o=a[1]}else{var s=hH(e.value,2);i=s[0],o=s[1]}n.includes(i)||n.push(i),t.$set(t.tooltipContent,e.seriesName,o)}),this.tooltipTitle=n.join(", "),e.seriesData.length){var i=this.chart.convertToPixel("grid",e.seriesData[0].data),o=hH(i,2),r=o[0],a=o[1];this.tooltipPosition={left:r+"px",top:a+"px"}}}}},gH=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"position-relative"},[n("chart",e._b({attrs:{options:e.options},on:{created:e.onCreated,updated:e.onUpdated}},"chart",e.$attrs,!1)),e._v(" "),e.chart?n("chart-tooltip",{attrs:{show:e.showTooltip,chart:e.chart,top:e.tooltipPosition.top,left:e.tooltipPosition.left}},[n("div",{attrs:{slot:"title"},slot:"title"},[e._v("\n "+e._s(e.tooltipTitle)+"\n ")]),e._v(" "),e._l(e.tooltipContent,function(t,i){return n("div",{key:i+t},[e._v("\n "+e._s(i)+"\n "+e._s(t)+"\n ")])})],2):e._e()],1)};gH._withStripped=!0;var mH=function(e,t,n,i,o,r,a,s){var c=("function"==typeof n?n.options:n)||{};return c.__file="/builds/gitlab-org/gitlab-ui/components/charts/area/area.vue",c.render||(c.render=e.render,c.staticRenderFns=e.staticRenderFns,c._compiled=!0,o&&(c.functional=!0)),c._scopeId=i,c}({render:gH,staticRenderFns:[]},0,pH,void 0,!1),bH=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e};function vH(){for(var e,t,n={},i=arguments.length;i--;)for(var o=0,r=Object.keys(arguments[i]);o<r.length;o++)switch(e=r[o]){case"class":case"style":case"directives":Array.isArray(n[e])||(n[e]=[]),n[e]=n[e].concat(arguments[i][e]);break;case"staticClass":if(!arguments[i][e])break;void 0===n[e]&&(n[e]=""),n[e]&&(n[e]+=" "),n[e]+=arguments[i][e].trim();break;case"on":case"nativeOn":n[e]||(n[e]={});for(var a=0,s=Object.keys(arguments[i][e]||{});a<s.length;a++)t=s[a],n[e][t]?n[e][t]=[].concat(n[e][t],arguments[i][e][t]):n[e][t]=arguments[i][e][t];break;case"attrs":case"props":case"domProps":case"scopedSlots":case"staticStyle":case"hook":case"transition":n[e]||(n[e]={}),n[e]=bH({},arguments[i][e],n[e]);break;case"slot":case"key":case"ref":case"tag":case"show":case"keepAlive":default:n[e]||(n[e]=arguments[i][e])}return n}var yH="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};function _H(){return{href:{type:String,default:null},rel:{type:String,default:null},target:{type:String,default:"_self"},active:{type:Boolean,default:!1},activeClass:{type:String,default:"active"},append:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},event:{type:[String,Array],default:"click"},exact:{type:Boolean,default:!1},exactActiveClass:{type:String,default:"active"},replace:{type:Boolean,default:!1},routerTag:{type:String,default:"a"},to:{type:[String,Object],default:null}}}var wH={functional:!0,props:_H(),render:function(e,t){var n=t.props,i=t.data,o=t.parent,r=t.children,a=function(e,t){return Boolean(t.$router)&&e.to&&!e.disabled?"router-link":"a"}(n,o),s=function(e){var t=e.target,n=e.rel;return"_blank"===t&&null===n?"noopener":n||null}(n),c=function(e,t){e.disabled;var n=e.href,i=e.to;if("router-link"!==t){if(n)return n;if(i){if("string"==typeof i)return i;if("object"===(void 0===i?"undefined":yH(i))&&"string"==typeof i.path)return i.path}return"#"}}(n,a),l="router-link"===a?"nativeOn":"on",d=(i[l]||{}).click,u={click:function(e){var t=e.disabled,n=e.tag,i=e.href,o=e.suppliedHandler,r=e.parent,a="router-link"===n;return function(e){t&&e instanceof Event?(e.stopPropagation(),e.stopImmediatePropagation()):(r.$root.$emit("clicked::link",e),a&&e.target.__vue__&&e.target.__vue__.$emit("click",e),"function"==typeof o&&o.apply(void 0,arguments)),(!a&&"#"===i||t)&&e.preventDefault()}}({tag:a,href:c,disabled:n.disabled,suppliedHandler:d,parent:o})},f=vH(i,{class:[n.active?n.exact?n.exactActiveClass:n.activeClass:null,{disabled:n.disabled}],attrs:{rel:s,href:c,target:n.target,tabindex:n.disabled?"-1":i.attrs?i.attrs.tabindex:null,"aria-disabled":"a"===a&&n.disabled?"true":null},props:ZB(n,{tag:n.routerTag})});return f.attrs.href||delete f.attrs.href,f[l]=ZB(f[l]||{},u),e(a,f,r)}},xH={props:{target:{type:String,required:!1,default:null}},computed:{relType:function(){return"_blank"===this.target&&this.hostname!==window.location.hostname?this.secureRel:this.$attrs.rel},hostname:function(){var e=document.createElement("a");return e.href=this.$attrs.href,e.hostname},secureRel:function(){return((this.$attrs.rel||"")+" noopener noreferrer").trim()}}},SH={components:{BLink:wH},mixins:[xH]},TH=function(){var e=this.$createElement;return(this._self._c||e)("b-link",this._g(this._b({attrs:{rel:this.relType,target:this.target}},"b-link",this.$attrs,!1),this.$listeners),[this._t("default")],2)};TH._withStripped=!0;var kH=function(e,t,n,i,o,r,a,s){var c=("function"==typeof n?n.options:n)||{};return c.__file="/builds/gitlab-org/gitlab-ui/components/base/link/link.vue",c.render||(c.render=e.render,c.staticRenderFns=e.staticRenderFns,c._compiled=!0,o&&(c.functional=!0)),c._scopeId=i,c}({render:TH,staticRenderFns:[]},0,SH,void 0,!1),CH={props:{label:{type:String,required:!1,default:"Loading"},size:{type:Number,required:!1,default:1,validator:function(e){return e>0&&e<6}},inline:{type:Boolean,required:!1,default:!1}},computed:{rootElementType:function(){return this.inline?"span":"div"},cssClass:function(){return"fa-"+this.size+"x fa-spin"}}},jH=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-spinner",class:this.cssClass,attrs:{"aria-label":this.label,"aria-hidden":"true"}})])};jH._withStripped=!0;var AH=function(e,t,n,i,o,r,a,s){var c=("function"==typeof n?n.options:n)||{};return c.__file="/builds/gitlab-org/gitlab-ui/components/base/loading_icon/loading_icon.vue",c.render||(c.render=e.render,c.staticRenderFns=e.staticRenderFns,c._compiled=!0,o&&(c.functional=!0)),c._scopeId=i,c}({render:jH,staticRenderFns:[]},0,CH,void 0,!1);function EH(e){return e}function IH(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var MH={block:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},size:{type:String,default:null},variant:{type:String,default:null},type:{type:String,default:"button"},pressed:{type:Boolean,default:null}},OH=_H();delete OH.href.default,delete OH.to.default;var DH=XB(OH);function VH(e){"focusin"===e.type?mz(e.target,"focus"):"focusout"===e.type&&bz(e.target,"focus")}var LH={functional:!0,props:ZB(OH,MH),render:function(e,t){var n,i=t.props,o=t.data,r=t.listeners,a=t.children,s=Boolean(i.href||i.to),c="boolean"==typeof i.pressed,l={click:function(e){i.disabled&&e instanceof Event?(e.stopPropagation(),e.preventDefault()):c&&function(){return Array.prototype.concat.apply([],arguments)}(r["update:pressed"]).forEach(function(e){"function"==typeof e&&e(!i.pressed)})}};c&&(l.focusin=VH,l.focusout=VH);var d={staticClass:"btn",class:[i.variant?"btn-"+i.variant:"btn-secondary",(n={},IH(n,"btn-"+i.size,Boolean(i.size)),IH(n,"btn-block",i.block),IH(n,"disabled",i.disabled),IH(n,"active",i.pressed),n)],props:s?function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:EH;return(sz(e)?e.slice():XB(e)).reduce(function(e,i){return e[n(i)]=t[i],e},{})}(DH,i):null,attrs:{type:s?null:i.type,disabled:s?null:i.disabled,"data-toggle":c?"button":null,"aria-pressed":c?String(i.pressed):null,tabindex:i.disabled&&s?"-1":o.attrs?o.attrs.tabindex:null},on:l};return e(s?wH:"button",vH(o,d),a)}};var PH={disabled:{type:Boolean,default:!1},ariaLabel:{type:String,default:"Close"},textVariant:{type:String,default:null}},NH={props:{id:{type:String,default:null}},methods:{safeId:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=this.id||this.localId_||null;return t?(e=String(e).replace(/\s+/g,"_"))?t+"_"+e:t:null}},computed:{localId_:function(){if(!this.$isServer&&!this.id&&void 0!==this._uid)return"__BVID__"+this._uid}}};var RH="__BV_root_listeners__",FH={methods:{listenOnRoot:function(e,t){return this[RH]&&sz(this[RH])||(this[RH]=[]),this[RH].push({event:e,callback:t}),this.$root.$on(e,t),this},emitOnRoot:function(e){for(var t,n=arguments.length,i=Array(n>1?n-1:0),o=1;o<n;o++)i[o-1]=arguments[o];return(t=this.$root).$emit.apply(t,[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)}(i))),this}},beforeDestroy:function(){if(this[RH]&&sz(this[RH]))for(;this[RH].length>0;){var e=this[RH].shift(),t=e.event,n=e.callback;this.$root.$off(t,n)}}},BH={SPACE:32,ENTER:13,ESC:27,LEFT:37,UP:38,RIGHT:39,DOWN:40,PAGEUP:33,PAGEDOWN:34,HOME:36,END:35};function zH(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var HH=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",$H=".sticky-top",qH=".navbar-toggler",WH={subtree:!0,childList:!0,characterData:!0,attributes:!0,attributeFilter:["style","class"]},GH={components:{BModal:{mixins:[NH,FH],components:{bBtn:LH,bBtnClose:{functional:!0,props:PH,render:function(e,t){var n,i,o,r=t.props,a=t.data,s=(t.listeners,t.slots),c={staticClass:"close",class:(n={},i="text-"+r.textVariant,o=r.textVariant,i in n?Object.defineProperty(n,i,{value:o,enumerable:!0,configurable:!0,writable:!0}):n[i]=o,n),attrs:{type:"button",disabled:r.disabled,"aria-label":r.ariaLabel?String(r.ariaLabel):null},on:{click:function(e){r.disabled&&e instanceof Event&&(e.stopPropagation(),e.preventDefault())}}};return s().default||(c.domProps={innerHTML:"×"}),e("button",vH(a,c),s().default)}}},render:function(e){var t=this,n=this.$slots,i=e(!1);if(!this.hideHeader){var o=n["modal-header"];if(!o){var r=e(!1);this.hideHeaderClose||(r=e("b-btn-close",{props:{disabled:this.is_transitioning,ariaLabel:this.headerCloseLabel,textVariant:this.headerTextVariant},on:{click:function(e){t.hide("header-close")}}},[n["modal-header-close"]])),o=[e(this.titleTag,{class:["modal-title"]},[n["modal-title"]||this.title]),r]}i=e("header",{ref:"header",class:this.headerClasses,attrs:{id:this.safeId("__BV_modal_header_")}},[o])}var a=e("div",{ref:"body",class:this.bodyClasses,attrs:{id:this.safeId("__BV_modal_body_")}},[n.default]),s=e(!1);if(!this.hideFooter){var c=n["modal-footer"];if(!c){var l=e(!1);this.okOnly||(l=e("b-btn",{props:{variant:this.cancelVariant,size:this.buttonSize,disabled:this.cancelDisabled||this.busy||this.is_transitioning},on:{click:function(e){t.hide("cancel")}}},[n["modal-cancel"]||this.cancelTitle])),c=[l,e("b-btn",{props:{variant:this.okVariant,size:this.buttonSize,disabled:this.okDisabled||this.busy||this.is_transitioning},on:{click:function(e){t.hide("ok")}}},[n["modal-ok"]||this.okTitle])]}s=e("footer",{ref:"footer",class:this.footerClasses,attrs:{id:this.safeId("__BV_modal_footer_")}},[c])}var d=e("div",{ref:"content",class:["modal-content"],attrs:{tabindex:"-1",role:"document","aria-labelledby":this.hideHeader?null:this.safeId("__BV_modal_header_"),"aria-describedby":this.safeId("__BV_modal_body_")},on:{focusout:this.onFocusout,click:function(e){e.stopPropagation(),t.$root.$emit("bv::dropdown::shown")}}},[i,a,s]),u=e("div",{class:this.dialogClasses},[d]),f=e("div",{ref:"modal",class:this.modalClasses,directives:[{name:"show",rawName:"v-show",value:this.is_visible,expression:"is_visible"}],attrs:{id:this.safeId(),role:"dialog","aria-hidden":this.is_visible?null:"true"},on:{click:this.onClickOut,keydown:this.onEsc}},[u]);f=e("transition",{props:{enterClass:"",enterToClass:"",enterActiveClass:"",leaveClass:"",leaveActiveClass:"",leaveToClass:""},on:{"before-enter":this.onBeforeEnter,enter:this.onEnter,"after-enter":this.onAfterEnter,"before-leave":this.onBeforeLeave,leave:this.onLeave,"after-leave":this.onAfterLeave}},[f]);var h=e(!1);this.hideBackdrop||!this.is_visible&&!this.is_transitioning||(h=e("div",{class:this.backdropClasses,attrs:{id:this.safeId("__BV_modal_backdrop_")}}));var p=e(!1);return this.is_hidden||(p=e("div",{attrs:{id:this.safeId("__BV_modal_outer_")}},[f,h])),e("div",{},[p])},data:function(){return{is_hidden:this.lazy||!1,is_visible:!1,is_transitioning:!1,is_show:!1,is_block:!1,scrollbarWidth:0,isBodyOverflowing:!1,return_focus:this.returnFocus||null}},model:{prop:"visible",event:"change"},props:{title:{type:String,default:""},titleTag:{type:String,default:"h5"},size:{type:String,default:"md"},centered:{type:Boolean,default:!1},buttonSize:{type:String,default:""},noFade:{type:Boolean,default:!1},noCloseOnBackdrop:{type:Boolean,default:!1},noCloseOnEsc:{type:Boolean,default:!1},noEnforceFocus:{type:Boolean,default:!1},headerBgVariant:{type:String,default:null},headerBorderVariant:{type:String,default:null},headerTextVariant:{type:String,default:null},headerClass:{type:[String,Array],default:null},bodyBgVariant:{type:String,default:null},bodyTextVariant:{type:String,default:null},modalClass:{type:[String,Array],default:null},bodyClass:{type:[String,Array],default:null},footerBgVariant:{type:String,default:null},footerBorderVariant:{type:String,default:null},footerTextVariant:{type:String,default:null},footerClass:{type:[String,Array],default:null},hideHeader:{type:Boolean,default:!1},hideFooter:{type:Boolean,default:!1},hideHeaderClose:{type:Boolean,default:!1},hideBackdrop:{type:Boolean,default:!1},okOnly:{type:Boolean,default:!1},okDisabled:{type:Boolean,default:!1},cancelDisabled:{type:Boolean,default:!1},visible:{type:Boolean,default:!1},returnFocus:{default:null},headerCloseLabel:{type:String,default:"Close"},cancelTitle:{type:String,default:"Cancel"},okTitle:{type:String,default:"OK"},cancelVariant:{type:String,default:"secondary"},okVariant:{type:String,default:"primary"},lazy:{type:Boolean,default:!1},busy:{type:Boolean,default:!1}},computed:{modalClasses:function(){return["modal",{fade:!this.noFade,show:this.is_show,"d-block":this.is_block},this.modalClass]},dialogClasses:function(){var e;return["modal-dialog",(e={},zH(e,"modal-"+this.size,Boolean(this.size)),zH(e,"modal-dialog-centered",this.centered),e)]},backdropClasses:function(){return["modal-backdrop",{fade:!this.noFade,show:this.is_show||this.noFade}]},headerClasses:function(){var e;return["modal-header",(e={},zH(e,"bg-"+this.headerBgVariant,Boolean(this.headerBgVariant)),zH(e,"text-"+this.headerTextVariant,Boolean(this.headerTextVariant)),zH(e,"border-"+this.headerBorderVariant,Boolean(this.headerBorderVariant)),e),this.headerClass]},bodyClasses:function(){var e;return["modal-body",(e={},zH(e,"bg-"+this.bodyBgVariant,Boolean(this.bodyBgVariant)),zH(e,"text-"+this.bodyTextVariant,Boolean(this.bodyTextVariant)),e),this.bodyClass]},footerClasses:function(){var e;return["modal-footer",(e={},zH(e,"bg-"+this.footerBgVariant,Boolean(this.footerBgVariant)),zH(e,"text-"+this.footerTextVariant,Boolean(this.footerTextVariant)),zH(e,"border-"+this.footerBorderVariant,Boolean(this.footerBorderVariant)),e),this.footerClass]}},watch:{visible:function(e,t){e!==t&&this[e?"show":"hide"]()}},methods:{show:function(){if(!this.is_visible){var e=new rz("show",{cancelable:!0,vueTarget:this,target:this.$refs.modal,relatedTarget:null});this.emitEvent(e),e.defaultPrevented||this.is_visible||(vz(document.body,"modal-open")?this.$root.$once("bv::modal::hidden",this.doShow):this.doShow())}},hide:function(e){if(this.is_visible){var t=new rz("hide",{cancelable:!0,vueTarget:this,target:this.$refs.modal,relatedTarget:null,isOK:e||null,trigger:e||null,cancel:function(){Yz("b-modal: evt.cancel() is deprecated. Please use evt.preventDefault()."),this.preventDefault()}});"ok"===e?this.$emit("ok",t):"cancel"===e&&this.$emit("cancel",t),this.emitEvent(t),!t.defaultPrevented&&this.is_visible&&(this._observer&&(this._observer.disconnect(),this._observer=null),this.is_visible=!1,this.$emit("change",!1))}},doShow:function(){var e=this;this.is_hidden=!1,this.$nextTick(function(){e.is_visible=!0,e.$emit("change",!0),e._observer=Xz(e.$refs.content,e.adjustDialog.bind(e),WH)})},onBeforeEnter:function(){this.is_transitioning=!0,this.checkScrollbar(),this.setScrollbar(),this.adjustDialog(),mz(document.body,"modal-open"),this.setResizeEvent(!0)},onEnter:function(){this.is_block=!0,this.$refs.modal.scrollTop=0},onAfterEnter:function(){var e=this;this.is_show=!0,this.is_transitioning=!1,this.$nextTick(function(){e.focusFirst();var t=new rz("shown",{cancelable:!1,vueTarget:e,target:e.$refs.modal,relatedTarget:null});e.emitEvent(t)})},onBeforeLeave:function(){this.is_transitioning=!0,this.setResizeEvent(!1)},onLeave:function(){this.is_show=!1},onAfterLeave:function(){var e=this;this.is_block=!1,this.resetAdjustments(),this.resetScrollbar(),this.is_transitioning=!1,bz(document.body,"modal-open"),this.$nextTick(function(){e.is_hidden=e.lazy||!1,e.returnFocusTo();var t=new rz("hidden",{cancelable:!1,vueTarget:e,target:e.lazy?null:e.$refs.modal,relatedTarget:null});e.emitEvent(t)})},emitEvent:function(e){var t=e.type;this.$emit(t,e),this.$root.$emit("bv::modal::"+t,e)},onClickOut:function(e){this.is_visible&&!this.noCloseOnBackdrop&&this.hide("backdrop")},onEsc:function(e){e.keyCode===BH.ESC&&this.is_visible&&!this.noCloseOnEsc&&this.hide("esc")},onFocusout:function(e){var t=this.$refs.content;!this.noEnforceFocus&&this.is_visible&&t&&!t.contains(e.relatedTarget)&&t.focus()},setResizeEvent:function(e){var t=this;["resize","orientationchange"].forEach(function(n){e?Sz(window,n,t.adjustDialog):Tz(window,n,t.adjustDialog)})},showHandler:function(e,t){e===this.id&&(this.return_focus=t||null,this.show())},hideHandler:function(e){e===this.id&&this.hide()},modalListener:function(e){e.vueTarget!==this&&this.hide()},focusFirst:function(){if("undefined"!=typeof document){var e=this.$refs.content,t=this.$refs.modal,n=document.activeElement;n&&e&&e.contains(n)||e&&(t&&(t.scrollTop=0),e.focus())}},returnFocusTo:function(){var e=this.returnFocus||this.return_focus||null;"string"==typeof e&&(e=hz(e)),e&&(e=e.$el||e,dz(e)&&e.focus())},getScrollbarWidth:function(){var e=document.createElement("div");e.className="modal-scrollbar-measure",document.body.appendChild(e),this.scrollbarWidth=e.getBoundingClientRect().width-e.clientWidth,document.body.removeChild(e)},adjustDialog:function(){if(this.is_visible){var e=this.$refs.modal,t=e.scrollHeight>document.documentElement.clientHeight;!this.isBodyOverflowing&&t&&(e.style.paddingLeft=this.scrollbarWidth+"px"),this.isBodyOverflowing&&!t&&(e.style.paddingRight=this.scrollbarWidth+"px")}},resetAdjustments:function(){var e=this.$refs.modal;e&&(e.style.paddingLeft="",e.style.paddingRight="")},checkScrollbar:function(){var e,t=(e=document.body,lz(e)?e.getBoundingClientRect():null);this.isBodyOverflowing=t.left+t.right<window.innerWidth},setScrollbar:function(){if(this.isBodyOverflowing){var e=window.getComputedStyle,t=document.body,n=this.scrollbarWidth;fz(HH).forEach(function(t){var i=t.style.paddingRight,o=e(t).paddingRight||0;yz(t,"data-padding-right",i),t.style.paddingRight=parseFloat(o)+n+"px"}),fz($H).forEach(function(t){var i=t.style.marginRight,o=e(t).marginRight||0;yz(t,"data-margin-right",i),t.style.marginRight=parseFloat(o)-n+"px"}),fz(qH).forEach(function(t){var i=t.style.marginRight,o=e(t).marginRight||0;yz(t,"data-margin-right",i),t.style.marginRight=parseFloat(o)+n+"px"});var i=t.style.paddingRight,o=e(t).paddingRight;yz(t,"data-padding-right",i),t.style.paddingRight=parseFloat(o)+n+"px"}},resetScrollbar:function(){fz(HH).forEach(function(e){xz(e,"data-padding-right")&&(e.style.paddingRight=wz(e,"data-padding-right")||"",_z(e,"data-padding-right"))}),fz($H+", "+qH).forEach(function(e){xz(e,"data-margin-right")&&(e.style.marginRight=wz(e,"data-margin-right")||"",_z(e,"data-margin-right"))});var e=document.body;xz(e,"data-padding-right")&&(e.style.paddingRight=wz(e,"data-padding-right")||"",_z(e,"data-padding-right"))}},created:function(){this._observer=null},mounted:function(){this.getScrollbarWidth(),this.listenOnRoot("bv::show::modal",this.showHandler),this.listenOnRoot("bv::hide::modal",this.hideHandler),this.listenOnRoot("bv::modal::show",this.modalListener),!0===this.visible&&this.show()},beforeDestroy:function(){this._observer&&(this._observer.disconnect(),this._observer=null),this.setResizeEvent(!1),bz(document.body,"modal-open"),this.resetAdjustments(),this.resetScrollbar()}}},inheritAttrs:!1,props:{modalId:{type:String,required:!0},titleTag:{type:String,required:!1,default:"h4"}}},UH=function(){var e=this,t=e.$createElement;return(e._self._c||t)("b-modal",e._g(e._b({attrs:{id:e.modalId,"title-tag":e.titleTag,lazy:""}},"b-modal",e.$attrs,!1),e.$listeners),[e._t("default"),e._v(" "),e._t("modal-header",null,{slot:"modal-header"}),e._v(" "),e._t("modal-title",null,{slot:"modal-title"}),e._v(" "),e._t("modal-header-close",null,{slot:"modal-header-close"}),e._v(" "),e._t("modal-footer",null,{slot:"modal-footer"}),e._v(" "),e._t("modal-ok",null,{slot:"modal-ok"}),e._v(" "),e._t("modal-cancel",null,{slot:"modal-cancel"})],2)};UH._withStripped=!0;var KH=function(e,t,n,i,o,r,a,s){var c=("function"==typeof n?n.options:n)||{};return c.__file="/builds/gitlab-org/gitlab-ui/components/base/modal/modal.vue",c.render||(c.render=e.render,c.staticRenderFns=e.staticRenderFns,c._compiled=!0,o&&(c.functional=!0)),c._scopeId=i,c}({render:UH,staticRenderFns:[]},0,GH,void 0,!1),YH=function(e){return Array.apply(null,{length:e})};var ZH={disabled:{type:Boolean,default:!1},value:{type:Number,default:1},limit:{type:Number,default:5},size:{type:String,default:"md"},align:{type:String,default:"left"},hideGotoEndButtons:{type:Boolean,default:!1},ariaLabel:{type:String,default:"Pagination"},labelFirstPage:{type:String,default:"Goto first page"},firstText:{type:String,default:"«"},labelPrevPage:{type:String,default:"Goto previous page"},prevText:{type:String,default:"‹"},labelNextPage:{type:String,default:"Goto next page"},nextText:{type:String,default:"›"},labelLastPage:{type:String,default:"Goto last page"},lastText:{type:String,default:"»"},labelPage:{type:String,default:"Goto page"},hideEllipsis:{type:Boolean,default:!1},ellipsisText:{type:String,default:"…"}},XH={xl:1200,lg:992,md:768,sm:576,xs:0},QH={windowWidth:function(){return window.innerWidth},getBreakpointSize:function(){var e=this.windowWidth();return Object.keys(XH).find(function(t){return e>XH[t]})}},JH={components:{BPagination:{mixins:[{components:{bLink:wH},data:function(){return{showFirstDots:!1,showLastDots:!1,currentPage:this.value}},props:ZH,render:function(e){var t=this,n=[],i=function(n,i,o,r){return r=r||n,t.disabled||t.isActive(r)?e("li",{class:["page-item","disabled"],attrs:{role:"none presentation","aria-hidden":"true"}},[e("span",{class:["page-link"],domProps:{innerHTML:o}})]):e("li",{class:["page-item"],attrs:{role:"none presentation"}},[e("b-link",{class:["page-link"],props:t.linkProps(n),attrs:{role:"menuitem",tabindex:"-1","aria-label":i,"aria-controls":t.ariaControls||null},on:{click:function(e){t.onClick(n,e)},keydown:function(e){e.keyCode===BH.SPACE&&(e.preventDefault(),t.onClick(n,e))}}},[e("span",{attrs:{"aria-hidden":"true"},domProps:{innerHTML:o}})])])},o=function(){return e("li",{class:["page-item","disabled","d-none","d-sm-flex"],attrs:{role:"separator"}},[e("span",{class:["page-link"],domProps:{innerHTML:t.ellipsisText}})])};n.push(this.hideGotoEndButtons?e(!1):i(1,this.labelFirstPage,this.firstText)),n.push(i(this.currentPage-1,this.labelPrevPage,this.prevText,1)),n.push(this.showFirstDots?o():e(!1)),this.pageList.forEach(function(i){var o=void 0,r=t.makePage(i.number);if(t.disabled)o=e("span",{class:["page-link"],domProps:{innerHTML:r}});else{var a=t.isActive(i.number);o=e("b-link",{class:t.pageLinkClasses(i),props:t.linkProps(i.number),attrs:{role:"menuitemradio",tabindex:a?"0":"-1","aria-controls":t.ariaControls||null,"aria-label":t.labelPage+" "+i.number,"aria-checked":a?"true":"false","aria-posinset":i.number,"aria-setsize":t.numberOfPages},domProps:{innerHTML:r},on:{click:function(e){t.onClick(i.number,e)},keydown:function(e){e.keyCode===BH.SPACE&&(e.preventDefault(),t.onClick(i.number,e))}}})}n.push(e("li",{key:i.number,class:t.pageItemClasses(i),attrs:{role:"none presentation"}},[o]))}),n.push(this.showLastDots?o():e(!1)),n.push(i(this.currentPage+1,this.labelNextPage,this.nextText,this.numberOfPages)),n.push(this.hideGotoEndButtons?e(!1):i(this.numberOfPages,this.labelLastPage,this.lastText));var r=e("ul",{ref:"ul",class:["pagination","b-pagination",this.btnSize,this.alignment],attrs:{role:"menubar","aria-disabled":this.disabled?"true":"false","aria-label":this.ariaLabel||null},on:{keydown:function(e){var n=e.keyCode,i=e.shiftKey;n===BH.LEFT?(e.preventDefault(),i?t.focusFirst():t.focusPrev()):n===BH.RIGHT&&(e.preventDefault(),i?t.focusLast():t.focusNext())}}},n);return this.isNav?e("nav",{},[r]):r},watch:{currentPage:function(e,t){e!==t&&this.$emit("input",e)},value:function(e,t){e!==t&&(this.currentPage=e)}},computed:{btnSize:function(){return this.size?"pagination-"+this.size:""},alignment:function(){return"center"===this.align?"justify-content-center":"end"===this.align||"right"===this.align?"justify-content-end":""},pageList:function(){this.currentPage>this.numberOfPages?this.currentPage=this.numberOfPages:this.currentPage<1&&(this.currentPage=1),this.showFirstDots=!1,this.showLastDots=!1;var e=this.limit,t=1;this.numberOfPages<=this.limit?e=this.numberOfPages:this.currentPage<this.limit-1&&this.limit>3?this.hideEllipsis||(e=this.limit-1,this.showLastDots=!0):this.numberOfPages-this.currentPage+2<this.limit&&this.limit>3?(this.hideEllipsis||(this.showFirstDots=!0,e=this.limit-1),t=this.numberOfPages-e+1):(this.limit>3&&!this.hideEllipsis&&(this.showFirstDots=!0,this.showLastDots=!0,e=this.limit-2),t=this.currentPage-Math.floor(e/2)),t<1?t=1:t>this.numberOfPages-e&&(t=this.numberOfPages-e+1);var n=function(e,t){return YH(t).map(function(t,n){return{number:n+e,className:null}})}(t,e);if(n.length>3){var i=this.currentPage-t;if(0===i)for(var o=3;o<n.length;o++)n[o].className="d-none d-sm-flex";else if(i===n.length-1)for(var r=0;r<n.length-3;r++)n[r].className="d-none d-sm-flex";else{for(var a=0;a<i-1;a++)n[a].className="d-none d-sm-flex";for(var s=n.length-1;s>i+1;s--)n[s].className="d-none d-sm-flex"}}return n}},methods:{isActive:function(e){return e===this.currentPage},pageItemClasses:function(e){return["page-item",this.disabled?"disabled":"",this.isActive(e.number)?"active":"",e.className]},pageLinkClasses:function(e){return["page-link",this.disabled?"disabled":"",this.isActive(e.number)?"btn-primary":""]},getButtons:function(){return fz("a.page-link",this.$el).filter(function(e){return dz(e)})},setBtnFocus:function(e){this.$nextTick(function(){e.focus()})},focusCurrent:function(){var e=this,t=this.getButtons().find(function(t){return parseInt(wz(t,"aria-posinset"),10)===e.currentPage});t&&t.focus?this.setBtnFocus(t):this.focusFirst()},focusFirst:function(){var e=this.getButtons().find(function(e){return!uz(e)});e&&e.focus&&e!==document.activeElement&&this.setBtnFocus(e)},focusLast:function(){var e=this.getButtons().reverse().find(function(e){return!uz(e)});e&&e.focus&&e!==document.activeElement&&this.setBtnFocus(e)},focusPrev:function(){var e=this.getButtons(),t=e.indexOf(document.activeElement);t>0&&!uz(e[t-1])&&e[t-1].focus&&this.setBtnFocus(e[t-1])},focusNext:function(){var e=this.getButtons(),t=e.indexOf(document.activeElement);t<e.length-1&&!uz(e[t+1])&&e[t+1].focus&&this.setBtnFocus(e[t+1])}}}],props:{perPage:{type:Number,default:20},totalRows:{type:Number,default:20},ariaControls:{type:String,default:null}},computed:{numberOfPages:function(){var e=Math.ceil(this.totalRows/this.perPage);return e<1?1:e}},methods:{onClick:function(e,t){var n=this;e>this.numberOfPages?e=this.numberOfPages:e<1&&(e=1),this.currentPage=e,this.$nextTick(function(){var e=t.target;dz(e)&&n.$el.contains(e)&&e.focus?e.focus():n.focusCurrent()}),this.$emit("change",this.currentPage)},makePage:function(e){return e},linkProps:function(e){return{href:"#"}}}}},props:{change:{type:Function,required:!0},page:{type:Number,required:!0},perPage:{type:Number,required:!0},totalItems:{type:Number,required:!0},limits:{type:Object,require:!1,default:function(){return{xs:1,sm:3,md:5,default:11}},validator:function(e){return 0===Object.keys(XH).filter(function(t){return!e[t]}).length||e.default}}},data:function(){return{breakpoint:QH.getBreakpointSize(),currentPage:this.page}},computed:{hideGotoEndButtons:function(){return Math.ceil(this.totalItems/this.perPage)<this.paginationLimit},paginationLimit:function(){return this.limits[this.breakpoint]||this.limits.default},shouldRenderPagination:function(){return this.page&&this.totalItems>this.perPage}},watch:{currentPage:"change",page:function(e){this.currentPage=e}},created:function(){window.addEventListener("resize",this.setBreakpoint)},beforeDestroy:function(){window.removeEventListener("resize",this.setBreakpoint)},methods:{setBreakpoint:function(){this.breakpoint=QH.getBreakpointSize()}}},e$=function(){var e=this,t=e.$createElement,n=e._self._c||t;return e.shouldRenderPagination?n("b-pagination",e._b({staticClass:"gl-pagination",attrs:{limit:e.paginationLimit,"per-page":e.perPage,"total-rows":e.totalItems,"hide-goto-end-buttons":e.hideGotoEndButtons},model:{value:e.currentPage,callback:function(t){e.currentPage=t},expression:"currentPage"}},"b-pagination",e.$attrs,!1)):e._e()};e$._withStripped=!0;var t$=function(e,t,n,i,o,r,a,s){var c=("function"==typeof n?n.options:n)||{};return c.__file="/builds/gitlab-org/gitlab-ui/components/base/pagination/pagination.vue",c.render||(c.render=e.render,c.staticRenderFns=e.staticRenderFns,c._compiled=!0,o&&(c.functional=!0)),c._scopeId=i,c}({render:e$,staticRenderFns:[]},0,JH,void 0,!1),n$={components:{BProgress:{components:{bProgressBar:{render:function(e){var t=e(!1);return this.$slots.default?t=this.$slots.default:this.label?t=e("span",{domProps:{innerHTML:this.label}}):this.computedShowProgress?t=this.progress.toFixed(this.computedPrecision):this.computedShowValue&&(t=this.value.toFixed(this.computedPrecision)),e("div",{class:this.progressBarClasses,style:this.progressBarStyles,attrs:{role:"progressbar","aria-valuemin":"0","aria-valuemax":this.computedMax.toString(),"aria-valuenow":this.value.toFixed(this.computedPrecision)}},[t])},computed:{progressBarClasses:function(){return["progress-bar",this.computedVariant?"bg-"+this.computedVariant:"",this.computedStriped||this.computedAnimated?"progress-bar-striped":"",this.computedAnimated?"progress-bar-animated":""]},progressBarStyles:function(){return{width:this.value/this.computedMax*100+"%"}},progress:function(){var e=Math.pow(10,this.computedPrecision);return Math.round(100*e*this.value/this.computedMax)/e},computedMax:function(){return"number"==typeof this.max?this.max:this.$parent.max||100},computedVariant:function(){return this.variant||this.$parent.variant},computedPrecision:function(){return"number"==typeof this.precision?this.precision:this.$parent.precision||0},computedStriped:function(){return"boolean"==typeof this.striped?this.striped:this.$parent.striped||!1},computedAnimated:function(){return"boolean"==typeof this.animated?this.animated:this.$parent.animated||!1},computedShowProgress:function(){return"boolean"==typeof this.showProgress?this.showProgress:this.$parent.showProgress||!1},computedShowValue:function(){return"boolean"==typeof this.showValue?this.showValue:this.$parent.showValue||!1}},props:{value:{type:Number,default:0},label:{type:String,default:null},max:{type:Number,default:null},precision:{type:Number,default:null},variant:{type:String,default:null},striped:{type:Boolean,default:null},animated:{type:Boolean,default:null},showProgress:{type:Boolean,default:null},showValue:{type:Boolean,default:null}}}},render:function(e){var t=this.$slots.default;return t||(t=e("b-progress-bar",{props:{value:this.value,max:this.max,precision:this.precision,variant:this.variant,animated:this.animated,striped:this.striped,showProgress:this.showProgress,showValue:this.showValue}})),e("div",{class:["progress"],style:this.progressHeight},[t])},props:{variant:{type:String,default:null},striped:{type:Boolean,default:!1},animated:{type:Boolean,default:!1},height:{type:String,default:null},precision:{type:Number,default:0},showProgress:{type:Boolean,default:!1},showValue:{type:Boolean,default:!1},max:{type:Number,default:100},value:{type:Number,default:0}},computed:{progressHeight:function(){return{height:this.height||null}}}}}},i$=function(){var e=this.$createElement;return(this._self._c||e)("b-progress",this._b({},"b-progress",this.$attrs,!1))};i$._withStripped=!0;var o$=function(e,t,n,i,o,r,a,s){var c=("function"==typeof n?n.options:n)||{};return c.__file="/builds/gitlab-org/gitlab-ui/components/base/progress_bar/progress_bar.vue",c.render||(c.render=e.render,c.staticRenderFns=e.staticRenderFns,c._compiled=!0,o&&(c.functional=!0)),c._scopeId=i,c}({render:i$,staticRenderFns:[]},0,n$,void 0,!1),r$={props:{lines:{type:Number,required:!1,default:3,validator:function(e){return e>0&&e<4}}},computed:{lineClasses:function(){return new Array(this.lines).fill().map(function(e,t){return"skeleton-line-"+(t+1)})}}},a$=function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"animation-container"},this._l(this.lineClasses,function(e,n){return t("div",{key:n,class:e})}),0)};a$._withStripped=!0;var s$=function(e,t,n,i,o,r,a,s){var c=("function"==typeof n?n.options:n)||{};return c.__file="/builds/gitlab-org/gitlab-ui/components/base/skeleton_loading/skeleton_loading.vue",c.render||(c.render=e.render,c.staticRenderFns=e.staticRenderFns,c._compiled=!0,o&&(c.functional=!0)),c._scopeId=i,c}({render:a$,staticRenderFns:[]},0,r$,void 0,!1),c$={components:{BButton:LH},mixins:[xH]},l$=function(){var e=this.$createElement;return(this._self._c||e)("b-button",this._g(this._b({attrs:{rel:this.relType,target:this.target}},"b-button",this.$attrs,!1),this.$listeners),[this._t("default")],2)};l$._withStripped=!0;var d$=function(e,t,n,i,o,r,a,s){var c=("function"==typeof n?n.options:n)||{};return c.__file="/builds/gitlab-org/gitlab-ui/components/base/button/button.vue",c.render||(c.render=e.render,c.staticRenderFns=e.staticRenderFns,c._compiled=!0,o&&(c.functional=!0)),c._scopeId=i,c}({render:l$,staticRenderFns:[]},0,c$,void 0,!1),u$={components:{BTooltip:{mixins:[tH],render:function(e){return e("div",{class:["d-none"],style:{display:"none"},attrs:{"aria-hidden":!0}},[e("div",{ref:"title"},this.$slots.default)])},data:function(){return{}},props:{title:{type:String,default:""},triggers:{type:[String,Array],default:"hover focus"},placement:{type:String,default:"top"}},methods:{createToolpop:function(){var e=this.getTarget();return e?this._toolpop=new Fz(e,this.getConfig(),this.$root):(this._toolpop=null,Yz("b-tooltip: 'target' element not found!")),this._toolpop}}}},inheritAttrs:!1},f$=function(){var e=this.$createElement;return(this._self._c||e)("b-tooltip",this._b({},"b-tooltip",this.$attrs,!1),[this._t("default")],2)};f$._withStripped=!0;var h$=function(e,t,n,i,o,r,a,s){var c=("function"==typeof n?n.options:n)||{};return c.__file="/builds/gitlab-org/gitlab-ui/components/base/tooltip/tooltip.vue",c.render||(c.render=e.render,c.staticRenderFns=e.staticRenderFns,c._compiled=!0,o&&(c.functional=!0)),c._scopeId=i,c}({render:f$,staticRenderFns:[]},0,u$,void 0,!1),p$=function(e){var t=e.style.whiteSpace,n=e.offsetHeight;e.style.whiteSpace="nowrap";var i=e.offsetHeight;return e.style.whiteSpace=t,n>i},g$={components:{GlButton:d$},props:{title:{type:String,required:!0},svgPath:{type:String,required:!1,default:null},description:{type:String,required:!1,default:null},primaryButtonLink:{type:String,required:!1,default:null},primaryButtonText:{type:String,required:!1,default:null},secondaryButtonLink:{type:String,required:!1,default:null},secondaryButtonText:{type:String,required:!1,default:null}},data:function(){return{titleBreaks:!1,textBreaks:!1}},computed:{centerTitle:function(){return!this.titleBreaks},centerDescription:function(){return!this.textBreaks&&!this.titleBreaks},shouldRenderPrimaryButton:function(){return!(!this.primaryButtonLink||!this.primaryButtonText)},shouldRenderSecondaryButton:function(){return!!(this.shouldRenderPrimaryButton&&this.secondaryButtonLink&&this.secondaryButtonText)}},mounted:function(){var e=this.$el.querySelector("h4"),t=this.$el.querySelector("p");this.titleBreaks=e&&p$(e),this.textBreaks=t&&p$(t)}},m$=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"empty-state row"},[n("div",{staticClass:"col-12"},[e.svgPath?n("div",{staticClass:"svg-content svg-250"},[n("img",{attrs:{src:e.svgPath,alt:e.title}})]):e._e(),e._v(" "),n("div",{staticClass:"text-content"},[n("h4",{class:{center:e.centerTitle}},[e._v(e._s(e.title))]),e._v(" "),e.description?n("p",{class:{center:e.centerDescription}},[e._v(e._s(e.description))]):e._e(),e._v(" "),n("div",{staticClass:"text-center"},[e.shouldRenderPrimaryButton?n("gl-button",{attrs:{variant:"success",href:e.primaryButtonLink}},[e._v(e._s(e.primaryButtonText))]):e._e(),e._v(" "),e.shouldRenderSecondaryButton?n("gl-button",{attrs:{variant:"outline-success",href:e.secondaryButtonLink}},[e._v(e._s(e.secondaryButtonText))]):e._e()],1)])])])};m$._withStripped=!0;var b$=function(e,t,n,i,o,r,a,s){var c=("function"==typeof n?n.options:n)||{};return c.__file="/builds/gitlab-org/gitlab-ui/components/regions/empty_state/empty_state.vue",c.render||(c.render=e.render,c.staticRenderFns=e.staticRenderFns,c._compiled=!0,o&&(c.functional=!0)),c._scopeId=i,c}({render:m$,staticRenderFns:[]},0,g$,void 0,!1),v$=["text","password","email","number","url","tel","search","range","color","date","time","datetime","datetime-local","month","week"],y$={components:{BFormInput:{mixins:[NH,{props:{name:{type:String},id:{type:String},disabled:{type:Boolean},required:{type:Boolean,default:!1}}},{props:{size:{type:String,default:null}},computed:{sizeFormClass:function(){return[this.size?"form-control-"+this.size:null]},sizeBtnClass:function(){return[this.size?"btn-"+this.size:null]}}},{props:{state:{type:[Boolean,String],default:null}},computed:{computedState:function(){var e=this.state;return!0===e||"valid"===e||!1!==e&&"invalid"!==e&&null},stateClass:function(){var e=this.computedState;return!0===e?"is-valid":!1===e?"is-invalid":null}}}],render:function(e){return e("input",{ref:"input",class:this.inputClass,attrs:{id:this.safeId(),name:this.name,type:this.localType,disabled:this.disabled,required:this.required,readonly:this.readonly||this.plaintext,placeholder:this.placeholder,autocomplete:this.autocomplete||null,"aria-required":this.required?"true":null,"aria-invalid":this.computedAriaInvalid,value:this.value},on:{input:this.onInput,change:this.onChange}})},props:{value:{default:null},type:{type:String,default:"text",validator:function(e){return cz(v$,e)}},ariaInvalid:{type:[Boolean,String],default:!1},readonly:{type:Boolean,default:!1},plaintext:{type:Boolean,default:!1},autocomplete:{type:String,default:null},placeholder:{type:String,default:null},formatter:{type:Function},lazyFormatter:{type:Boolean,default:!1}},computed:{localType:function(){return cz(v$,this.type)?this.type:"text"},inputClass:function(){return[this.plaintext?"form-control-plaintext":"form-control",this.sizeFormClass,this.stateClass]},computedAriaInvalid:function(){return this.ariaInvalid&&"false"!==this.ariaInvalid?!0===this.ariaInvalid?"true":this.ariaInvalid:!1===this.computedState?"true":null}},mounted:function(){if(this.value){var e=this.format(this.value,null);this.setValue(e)}},watch:{value:function(e){if(this.lazyFormatter)this.setValue(e);else{var t=this.format(e,null);this.setValue(t)}}},methods:{format:function(e,t){return this.formatter?this.formatter(e,t):e},setValue:function(e){this.$emit("input",e),this.$refs.input.value=e},onInput:function(e){var t=e.target.value;if(this.lazyFormatter)this.setValue(t);else{var n=this.format(t,e);this.setValue(n)}},onChange:function(e){var t=this.format(e.target.value,e);this.setValue(t),this.$emit("change",t)},focus:function(){this.disabled||this.$el.focus()}}}},inheritAttrs:!1},_$=function(){var e=this,t=e.$createElement;return(e._self._c||t)("b-form-input",e._b({on:{change:function(t){e.$emit("change",t)},input:function(t){e.$emit("input",t)}}},"b-form-input",e.$attrs,!1),[e._t("default")],2)};_$._withStripped=!0;var w$={iconWrapperClasses:"position-absolute sticky-top h-100 d-flex align-items-center text-muted",components:{GlFormInput:function(e,t,n,i,o,r,a,s){var c=("function"==typeof n?n.options:n)||{};return c.__file="/builds/gitlab-org/gitlab-ui/components/base/form/form_input.vue",c.render||(c.render=e.render,c.staticRenderFns=e.staticRenderFns,c._compiled=!0,o&&(c.functional=!0)),c._scopeId=i,c}({render:_$,staticRenderFns:[]},0,y$,void 0,!1),GlLoadingIcon:AH},inheritAttrs:!1,props:{isLoading:{type:Boolean,required:!1,default:!1}},data:function(){return{hasValue:!1}},computed:{hasRightIcon:function(){return this.isResetButtonVisible||this.isLoading},isResetButtonVisible:function(){return!this.$attrs.disabled&&this.hasValue},inputAttributes:function(){var e=Object.assign({type:"text",placeholder:"Search"},this.$attrs);return e["aria-label"]||(e["aria-label"]=e.placeholder),e}},methods:{clearInput:function(){this.$refs.input.$el.value="",this.$refs.input.$emit("input",""),this.focusInput()},focusInput:function(){this.$refs.input.$el.focus()},onChange:function(e){this.hasValue=""!==e,this.$emit("change",e)},onInput:function(e){this.hasValue=""!==e,this.$emit("input",e)}}},x$=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"position-relative"},[n("gl-form-input",e._g(e._b({ref:"input",staticClass:"pl-5",class:{"pr-5":e.isResetButtonVisible},on:{change:e.onChange,input:e.onInput}},"gl-form-input",e.inputAttributes,!1),e.$listeners)),e._v(" "),n("div",{staticClass:"pl-3 pr-3",class:e.$options.iconWrapperClasses,staticStyle:{left:"0"},on:{click:e.focusInput}},[n("i",{staticClass:"fa fa-search",attrs:{"aria-hidden":"true"}})]),e._v(" "),n("div",{directives:[{name:"show",rawName:"v-show",value:e.hasRightIcon,expression:"hasRightIcon"}],staticClass:"pr-3",class:e.$options.iconWrapperClasses,staticStyle:{right:"0"}},[n("gl-loading-icon",{directives:[{name:"show",rawName:"v-show",value:e.isLoading,expression:"isLoading"}],attrs:{inline:!0}}),e._v(" "),n("i",{directives:[{name:"show",rawName:"v-show",value:e.isResetButtonVisible,expression:"isResetButtonVisible"}],staticClass:"fa fa-times-circle fa-lg pl-3",staticStyle:{cursor:"pointer"},attrs:{"aria-hidden":"true"},on:{click:e.clearInput}})],1)],1)};x$._withStripped=!0;var S$=function(e,t,n,i,o,r,a,s){var c=("function"==typeof n?n.options:n)||{};return c.__file="/builds/gitlab-org/gitlab-ui/components/base/search/search_box.vue",c.render||(c.render=e.render,c.staticRenderFns=e.staticRenderFns,c._compiled=!0,o&&(c.functional=!0)),c._scopeId=i,c}({render:x$,staticRenderFns:[]},0,w$,void 0,!1),T$={functional:!0,props:_H(),render:function(e,t){var n=t.props,i=t.data,o=t.children;return e(wH,vH(i,{props:n,staticClass:"dropdown-item",attrs:{role:"menuitem"}}),o)}},k$={functional:!0,props:{disabled:{type:Boolean,default:!1}},render:function(e,t){var n=t.props,i=t.data,o=t.parent,r=t.children;return e("button",vH(i,{props:n,staticClass:"dropdown-item",attrs:{role:"menuitem",type:"button",disabled:n.disabled},on:{click:function(e){o.$root.$emit("clicked::link",e)}}}),r)}},C$={inheritAttrs:!1,computed:{bootstrapComponent:function(){return this.$attrs.href?T$:k$}}},j$=function(){var e=this.$createElement;return(this._self._c||e)(this.bootstrapComponent,this._g(this._b({tag:"component"},"component",this.$attrs,!1),this.$listeners),[this._t("default")],2)};j$._withStripped=!0;var A$=function(e,t,n,i,o,r,a,s){var c=("function"==typeof n?n.options:n)||{};return c.__file="/builds/gitlab-org/gitlab-ui/components/base/dropdown/dropdown_item.vue",c.render||(c.render=e.render,c.staticRenderFns=e.staticRenderFns,c._compiled=!0,o&&(c.functional=!0)),c._scopeId=i,c}({render:j$,staticRenderFns:[]},0,C$,void 0,!1),E$={components:{BDropdownHeader:{functional:!0,props:{id:{type:String,default:null},tag:{type:String,default:"h6"}},render:function(e,t){var n=t.props,i=t.data,o=t.children;return e(n.tag,vH(i,{staticClass:"dropdown-header",attrs:{id:n.id||null}}),o)}}},inheritAttrs:!1},I$=function(){var e=this.$createElement;return(this._self._c||e)("b-dropdown-header",this._g(this._b({},"b-dropdown-header",this.$attrs,!1),this.$listeners),[this._t("default")],2)};I$._withStripped=!0;!function(e,t,n,i,o,r,a,s){var c=("function"==typeof n?n.options:n)||{};c.__file="/builds/gitlab-org/gitlab-ui/components/base/dropdown/dropdown_header.vue",c.render||(c.render=e.render,c.staticRenderFns=e.staticRenderFns,c._compiled=!0,o&&(c.functional=!0)),c._scopeId=i}({render:I$,staticRenderFns:[]},0,E$,void 0,!1);var M$={components:{BDropdownDivider:{functional:!0,props:{tag:{type:String,default:"div"}},render:function(e,t){var n=t.props,i=t.data;return e(n.tag,vH(i,{staticClass:"dropdown-divider",attrs:{role:"separator"}}))}}},inheritAttrs:!1},O$=function(){var e=this.$createElement;return(this._self._c||e)("b-dropdown-divider",this._g(this._b({},"b-dropdown-divider",this.$attrs,!1),this.$listeners))};O$._withStripped=!0;!function(e,t,n,i,o,r,a,s){var c=("function"==typeof n?n.options:n)||{};c.__file="/builds/gitlab-org/gitlab-ui/components/base/dropdown/dropdown_divider.vue",c.render||(c.render=e.render,c.staticRenderFns=e.staticRenderFns,c._compiled=!0,o&&(c.functional=!0)),c._scopeId=i}({render:O$,staticRenderFns:[]},0,M$,void 0,!1);var D$="top-start",V$="top-end",L$="bottom-start",P$="bottom-end";var N$=".dropdown-item:not(.disabled):not([disabled]),.form-control:not(.disabled):not([disabled])",R$={components:{BDropdown:{extends:{mixins:[NH,{mixins:[{mounted:function(){"undefined"!=typeof document&&document.documentElement.addEventListener("click",this._clickOutListener)},beforeDestroy:function(){"undefined"!=typeof document&&document.documentElement.removeEventListener("click",this._clickOutListener)},methods:{_clickOutListener:function(e){this.$el.contains(e.target)||this.clickOutListener&&this.clickOutListener()}}},FH],props:{disabled:{type:Boolean,default:!1},text:{type:String,default:""},dropup:{type:Boolean,default:!1},right:{type:Boolean,default:!1},offset:{type:[Number,String],default:0},noFlip:{type:Boolean,default:!1},popperOpts:{type:Object,default:function(){}}},data:function(){return{visible:!1,inNavbar:null,visibleChangePrevented:!1}},created:function(){this._popper=null},mounted:function(){this.listenOnRoot("bv::dropdown::shown",this.rootCloseListener),this.listenOnRoot("clicked::link",this.rootCloseListener),this.listenOnRoot("bv::link::clicked",this.rootCloseListener)},deactivated:function(){this.visible=!1,this.setTouchStart(!1),this.removePopper()},beforeDestroy:function(){this.visible=!1,this.setTouchStart(!1),this.removePopper()},watch:{visible:function(e,t){if(this.visibleChangePrevented)this.visibleChangePrevented=!1;else if(e!==t){var n=e?"show":"hide",i=new rz(n,{cancelable:!0,vueTarget:this,target:this.$refs.menu,relatedTarget:null});if(this.emitEvent(i),i.defaultPrevented)return this.visibleChangePrevented=!0,void(this.visible=t);"show"===n?this.showMenu():this.hideMenu()}},disabled:function(e,t){e!==t&&e&&this.visible&&(this.visible=!1)}},computed:{toggler:function(){return this.$refs.toggle.$el||this.$refs.toggle}},methods:{emitEvent:function(e){var t=e.type;this.$emit(t,e),this.emitOnRoot("bv::dropdown::"+t,e)},showMenu:function(){if(!this.disabled){if(this.emitOnRoot("bv::dropdown::shown",this),null===this.inNavbar&&this.isNav&&(this.inNavbar=Boolean(gz(".navbar",this.$el))),!this.inNavbar)if(void 0===YB)Yz("b-dropdown: Popper.js not found. Falling back to CSS positioning.");else{var e=this.dropup&&this.right||this.split?this.$el:this.$refs.toggle;e=e.$el||e,this.createPopper(e)}this.setTouchStart(!0),this.$emit("shown"),this.$nextTick(this.focusFirstItem)}},hideMenu:function(){this.setTouchStart(!1),this.emitOnRoot("bv::dropdown::hidden",this),this.$emit("hidden"),this.removePopper()},createPopper:function(e){this.removePopper(),this._popper=new YB(e,this.$refs.menu,this.getPopperConfig())},removePopper:function(){this._popper&&this._popper.destroy(),this._popper=null},getPopperConfig:function(){var e=L$;this.dropup&&this.right?e=V$:this.dropup?e=D$:this.right&&(e=P$);var t={placement:e,modifiers:{offset:{offset:this.offset||0},flip:{enabled:!this.noFlip}}};return this.boundary&&(t.modifiers.preventOverflow={boundariesElement:this.boundary}),ZB(t,this.popperOpts||{})},setTouchStart:function(e){var t=this;"ontouchstart"in document.documentElement&&az(document.body.children).forEach(function(n){e?Sz("mouseover",t._noop):Tz("mouseover",t._noop)})},_noop:function(){},rootCloseListener:function(e){e!==this&&(this.visible=!1)},clickOutListener:function(){this.visible=!1},show:function(){this.disabled||(this.visible=!0)},hide:function(){this.disabled||(this.visible=!1)},toggle:function(e){var t=(e=e||{}).type,n=e.keyCode;"click"!==t&&("keydown"!==t||n!==BH.ENTER&&n!==BH.SPACE&&n!==BH.DOWN)||(this.disabled?this.visible=!1:(this.$emit("toggle",e),e.defaultPrevented||(e.preventDefault(),e.stopPropagation(),this.visible=!this.visible)))},click:function(e){this.disabled?this.visible=!1:this.$emit("click",e)},onKeydown:function(e){var t=e.keyCode;t===BH.ESC?this.onEsc(e):t===BH.TAB?this.onTab(e):t===BH.DOWN?this.focusNext(e,!1):t===BH.UP&&this.focusNext(e,!0)},onEsc:function(e){this.visible&&(this.visible=!1,e.preventDefault(),e.stopPropagation(),this.$nextTick(this.focusToggler))},onTab:function(e){this.visible&&(this.visible=!1)},onFocusOut:function(e){this.$refs.menu.contains(e.relatedTarget)||(this.visible=!1)},onMouseOver:function(e){var t=e.target;t.classList.contains("dropdown-item")&&!t.disabled&&!t.classList.contains("disabled")&&t.focus&&t.focus()},focusNext:function(e,t){var n=this;this.visible&&(e.preventDefault(),e.stopPropagation(),this.$nextTick(function(){var i=n.getItems();if(!(i.length<1)){var o=i.indexOf(e.target);t&&o>0?o--:!t&&o<i.length-1&&o++,o<0&&(o=0),n.focusItem(o,i)}}))},focusItem:function(e,t){var n=t.find(function(t,n){return n===e});n&&"-1"!==wz(n,"tabindex")&&n.focus()},getItems:function(){return(fz(".dropdown-item:not(.disabled):not([disabled])",this.$refs.menu)||[]).filter(dz)},getFirstItem:function(){return this.getItems()[0]||null},focusFirstItem:function(){var e=this.getFirstItem();e&&this.focusItem(0,[e])},focusToggler:function(){var e=this.toggler;e&&e.focus&&e.focus()}}}],components:{bButton:LH},render:function(e){var t=e(!1);this.split&&(t=e("b-button",{ref:"button",props:{disabled:this.disabled,variant:this.variant,size:this.size},attrs:{id:this.safeId("_BV_button_")},on:{click:this.click}},[this.$slots["button-content"]||this.$slots.text||this.text]));var n=e("b-button",{ref:"toggle",class:this.toggleClasses,props:{variant:this.variant,size:this.size,disabled:this.disabled},attrs:{id:this.safeId("_BV_toggle_"),"aria-haspopup":"true","aria-expanded":this.visible?"true":"false"},on:{click:this.toggle,keydown:this.toggle}},[this.split?e("span",{class:["sr-only"]},[this.toggleText]):this.$slots["button-content"]||this.$slots.text||this.text]),i=e("div",{ref:"menu",class:this.menuClasses,attrs:{role:this.role,"aria-labelledby":this.safeId(this.split?"_BV_button_":"_BV_toggle_")},on:{mouseover:this.onMouseOver,keydown:this.onKeydown}},[this.$slots.default]);return e("div",{attrs:{id:this.safeId()},class:this.dropdownClasses},[t,n,i])},props:{split:{type:Boolean,default:!1},toggleText:{type:String,default:"Toggle Dropdown"},size:{type:String,default:null},variant:{type:String,default:null},menuClass:{type:[String,Array],default:null},toggleClass:{type:[String,Array],default:null},noCaret:{type:Boolean,default:!1},role:{type:String,default:"menu"},boundary:{type:[String,Object],default:"scrollParent"}},computed:{dropdownClasses:function(){var e="";return"scrollParent"===this.boundary&&this.boundary||(e="position-static"),["btn-group","b-dropdown","dropdown",this.dropup?"dropup":"",this.visible?"show":"",e]},menuClasses:function(){return["dropdown-menu",{"dropdown-menu-right":this.right,show:this.visible},this.menuClass]},toggleClasses:function(){return[{"dropdown-toggle":!this.noCaret||this.split,"dropdown-toggle-split":this.split},this.toggleClass]}}},methods:{getItems:function(){return(fz(N$,this.$refs.menu)||[]).filter(dz)}}}},inheritAttrs:!1,props:{text:{type:String,required:!1,default:""}}},F$=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("b-dropdown",e._g(e._b({},"b-dropdown",e.$attrs,!1),e.$listeners),[e._t("default"),e._v(" "),e._t("button-content",[e._v("\n "+e._s(e.text)+"\n "),n("i",{staticClass:"fa fa-chevron-down",attrs:{"aria-hidden":"true"}})],{slot:"button-content"})],2)};F$._withStripped=!0;var B$=function(e,t,n,i,o,r,a,s){var c=("function"==typeof n?n.options:n)||{};return c.__file="/builds/gitlab-org/gitlab-ui/components/base/dropdown/dropdown.vue",c.render||(c.render=e.render,c.staticRenderFns=e.staticRenderFns,c._compiled=!0,o&&(c.functional=!0)),c._scopeId=i,c}({render:F$,staticRenderFns:[]},0,R$,void 0,!1),z$=1/0,H$="[object Symbol]",$$=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,q$=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,W$="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",G$="[\\ud800-\\udfff]",U$="["+W$+"]",K$="[\\u0300-\\u036f\\ufe20-\\ufe23\\u20d0-\\u20f0]",Y$="\\d+",Z$="[\\u2700-\\u27bf]",X$="[a-z\\xdf-\\xf6\\xf8-\\xff]",Q$="[^\\ud800-\\udfff"+W$+Y$+"\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde]",J$="\\ud83c[\\udffb-\\udfff]",eq="[^\\ud800-\\udfff]",tq="(?:\\ud83c[\\udde6-\\uddff]){2}",nq="[\\ud800-\\udbff][\\udc00-\\udfff]",iq="[A-Z\\xc0-\\xd6\\xd8-\\xde]",oq="(?:"+X$+"|"+Q$+")",rq="(?:"+iq+"|"+Q$+")",aq="(?:"+K$+"|"+J$+")"+"?",sq="[\\ufe0e\\ufe0f]?"+aq+("(?:\\u200d(?:"+[eq,tq,nq].join("|")+")[\\ufe0e\\ufe0f]?"+aq+")*"),cq="(?:"+[Z$,tq,nq].join("|")+")"+sq,lq="(?:"+[eq+K$+"?",K$,tq,nq,G$].join("|")+")",dq=RegExp("['’]","g"),uq=RegExp(K$,"g"),fq=RegExp(J$+"(?="+J$+")|"+lq+sq,"g"),hq=RegExp([iq+"?"+X$+"+(?:['’](?:d|ll|m|re|s|t|ve))?(?="+[U$,iq,"$"].join("|")+")",rq+"+(?:['’](?:D|LL|M|RE|S|T|VE))?(?="+[U$,iq+oq,"$"].join("|")+")",iq+"?"+oq+"+(?:['’](?:d|ll|m|re|s|t|ve))?",iq+"+(?:['’](?:D|LL|M|RE|S|T|VE))?",Y$,cq].join("|"),"g"),pq=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe23\\u20d0-\\u20f0\\ufe0e\\ufe0f]"),gq=/[a-z][A-Z]|[A-Z]{2,}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,mq="object"==typeof o&&o&&o.Object===Object&&o,bq="object"==typeof self&&self&&self.Object===Object&&self,vq=mq||bq||Function("return this")();var yq,_q=(yq={"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss","Ā":"A","Ă":"A","Ą":"A","ā":"a","ă":"a","ą":"a","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","ć":"c","ĉ":"c","ċ":"c","č":"c","Ď":"D","Đ":"D","ď":"d","đ":"d","Ē":"E","Ĕ":"E","Ė":"E","Ę":"E","Ě":"E","ē":"e","ĕ":"e","ė":"e","ę":"e","ě":"e","Ĝ":"G","Ğ":"G","Ġ":"G","Ģ":"G","ĝ":"g","ğ":"g","ġ":"g","ģ":"g","Ĥ":"H","Ħ":"H","ĥ":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Į":"I","İ":"I","ĩ":"i","ī":"i","ĭ":"i","į":"i","ı":"i","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","ĸ":"k","Ĺ":"L","Ļ":"L","Ľ":"L","Ŀ":"L","Ł":"L","ĺ":"l","ļ":"l","ľ":"l","ŀ":"l","ł":"l","Ń":"N","Ņ":"N","Ň":"N","Ŋ":"N","ń":"n","ņ":"n","ň":"n","ŋ":"n","Ō":"O","Ŏ":"O","Ő":"O","ō":"o","ŏ":"o","ő":"o","Ŕ":"R","Ŗ":"R","Ř":"R","ŕ":"r","ŗ":"r","ř":"r","Ś":"S","Ŝ":"S","Ş":"S","Š":"S","ś":"s","ŝ":"s","ş":"s","š":"s","Ţ":"T","Ť":"T","Ŧ":"T","ţ":"t","ť":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Ů":"U","Ű":"U","Ų":"U","ũ":"u","ū":"u","ŭ":"u","ů":"u","ű":"u","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","Ż":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","IJ":"IJ","ij":"ij","Œ":"Oe","œ":"oe","ʼn":"'n","ſ":"ss"},function(e){return null==yq?void 0:yq[e]});function wq(e){return pq.test(e)}function xq(e){return wq(e)?function(e){return e.match(fq)||[]}(e):function(e){return e.split("")}(e)}var Sq=Object.prototype.toString,Tq=vq.Symbol,kq=Tq?Tq.prototype:void 0,Cq=kq?kq.toString:void 0;function jq(e){if("string"==typeof e)return e;if(function(e){return"symbol"==typeof e||function(e){return!!e&&"object"==typeof e}(e)&&Sq.call(e)==H$}(e))return Cq?Cq.call(e):"";var t=e+"";return"0"==t&&1/e==-z$?"-0":t}function Aq(e,t,n){var i=e.length;return n=void 0===n?i:n,!t&&n>=i?e:function(e,t,n){var i=-1,o=e.length;t<0&&(t=-t>o?0:o+t),(n=n>o?o:n)<0&&(n+=o),o=t>n?0:n-t>>>0,t>>>=0;for(var r=Array(o);++i<o;)r[i]=e[i+t];return r}(e,t,n)}function Eq(e){return null==e?"":jq(e)}var Iq,Mq,Oq=(Iq=function(e,t,n){return e+(n?" ":"")+Dq(t)},function(e){return function(e,t,n,i){var o=-1,r=e?e.length:0;for(i&&r&&(n=e[++o]);++o<r;)n=t(n,e[o],o,e);return n}(function(e,t,n){return e=Eq(e),void 0===(t=n?void 0:t)?function(e){return gq.test(e)}(e)?function(e){return e.match(hq)||[]}(e):function(e){return e.match($$)||[]}(e):e.match(t)||[]}(function(e){return(e=Eq(e))&&e.replace(q$,_q).replace(uq,"")}(e).replace(dq,"")),Iq,"")}),Dq=(Mq="toUpperCase",function(e){var t=wq(e=Eq(e))?xq(e):void 0,n=t?t[0]:e.charAt(0),i=t?Aq(t,1).join(""):e.slice(1);return n[Mq]()+i});var Vq=Oq,Lq="Expected a function",Pq="__lodash_hash_undefined__",Nq=1/0,Rq="[object Function]",Fq="[object GeneratorFunction]",Bq="[object Symbol]",zq=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Hq=/^\w*$/,$q=/^\./,qq=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Wq=/\\(\\)?/g,Gq=/^\[object .+?Constructor\]$/,Uq="object"==typeof o&&o&&o.Object===Object&&o,Kq="object"==typeof self&&self&&self.Object===Object&&self,Yq=Uq||Kq||Function("return this")();var Zq=Array.prototype,Xq=Function.prototype,Qq=Object.prototype,Jq=Yq["__core-js_shared__"],eW=function(){var e=/[^.]+$/.exec(Jq&&Jq.keys&&Jq.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}(),tW=Xq.toString,nW=Qq.hasOwnProperty,iW=Qq.toString,oW=RegExp("^"+tW.call(nW).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),rW=Yq.Symbol,aW=Zq.splice,sW=vW(Yq,"Map"),cW=vW(Object,"create"),lW=rW?rW.prototype:void 0,dW=lW?lW.toString:void 0;function uW(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var i=e[t];this.set(i[0],i[1])}}function fW(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var i=e[t];this.set(i[0],i[1])}}function hW(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var i=e[t];this.set(i[0],i[1])}}function pW(e,t){for(var n,i,o=e.length;o--;)if((n=e[o][0])===(i=t)||n!=n&&i!=i)return o;return-1}function gW(e,t){for(var n,i=0,o=(t=function(e,t){if(xW(e))return!1;var n=typeof e;if("number"==n||"symbol"==n||"boolean"==n||null==e||TW(e))return!0;return Hq.test(e)||!zq.test(e)||null!=t&&e in Object(t)}(t,e)?[t]:xW(n=t)?n:yW(n)).length;null!=e&&i<o;)e=e[_W(t[i++])];return i&&i==o?e:void 0}function mW(e){return!(!SW(e)||eW&&eW in e)&&(function(e){var t=SW(e)?iW.call(e):"";return t==Rq||t==Fq}(e)||function(e){var t=!1;if(null!=e&&"function"!=typeof e.toString)try{t=!!(e+"")}catch(e){}return t}(e)?oW:Gq).test(function(e){if(null!=e){try{return tW.call(e)}catch(e){}try{return e+""}catch(e){}}return""}(e))}function bW(e,t){var n,i,o=e.__data__;return("string"==(i=typeof(n=t))||"number"==i||"symbol"==i||"boolean"==i?"__proto__"!==n:null===n)?o["string"==typeof t?"string":"hash"]:o.map}function vW(e,t){var n=function(e,t){return null==e?void 0:e[t]}(e,t);return mW(n)?n:void 0}uW.prototype.clear=function(){this.__data__=cW?cW(null):{}},uW.prototype.delete=function(e){return this.has(e)&&delete this.__data__[e]},uW.prototype.get=function(e){var t=this.__data__;if(cW){var n=t[e];return n===Pq?void 0:n}return nW.call(t,e)?t[e]:void 0},uW.prototype.has=function(e){var t=this.__data__;return cW?void 0!==t[e]:nW.call(t,e)},uW.prototype.set=function(e,t){return this.__data__[e]=cW&&void 0===t?Pq:t,this},fW.prototype.clear=function(){this.__data__=[]},fW.prototype.delete=function(e){var t=this.__data__,n=pW(t,e);return!(n<0||(n==t.length-1?t.pop():aW.call(t,n,1),0))},fW.prototype.get=function(e){var t=this.__data__,n=pW(t,e);return n<0?void 0:t[n][1]},fW.prototype.has=function(e){return pW(this.__data__,e)>-1},fW.prototype.set=function(e,t){var n=this.__data__,i=pW(n,e);return i<0?n.push([e,t]):n[i][1]=t,this},hW.prototype.clear=function(){this.__data__={hash:new uW,map:new(sW||fW),string:new uW}},hW.prototype.delete=function(e){return bW(this,e).delete(e)},hW.prototype.get=function(e){return bW(this,e).get(e)},hW.prototype.has=function(e){return bW(this,e).has(e)},hW.prototype.set=function(e,t){return bW(this,e).set(e,t),this};var yW=wW(function(e){var t;e=null==(t=e)?"":function(e){if("string"==typeof e)return e;if(TW(e))return dW?dW.call(e):"";var t=e+"";return"0"==t&&1/e==-Nq?"-0":t}(t);var n=[];return $q.test(e)&&n.push(""),e.replace(qq,function(e,t,i,o){n.push(i?o.replace(Wq,"$1"):t||e)}),n});function _W(e){if("string"==typeof e||TW(e))return e;var t=e+"";return"0"==t&&1/e==-Nq?"-0":t}function wW(e,t){if("function"!=typeof e||t&&"function"!=typeof t)throw new TypeError(Lq);var n=function(){var i=arguments,o=t?t.apply(this,i):i[0],r=n.cache;if(r.has(o))return r.get(o);var a=e.apply(this,i);return n.cache=r.set(o,a),a};return n.cache=new(wW.Cache||hW),n}wW.Cache=hW;var xW=Array.isArray;function SW(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function TW(e){return"symbol"==typeof e||function(e){return!!e&&"object"==typeof e}(e)&&iW.call(e)==Bq}var kW=function(e,t,n){var i=null==e?void 0:gW(e,t);return void 0===i?n:i},CW="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};function jW(e){return null!==e&&"object"===(void 0===e?"undefined":CW(e))}var AW="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};function EW(e){return e?e instanceof Object?XB(e).map(function(t){return EW(e[t])}).join(" "):String(e):""}function IW(e,t){var n=null;return"string"==typeof t?n={key:e,label:t}:"function"==typeof t?n={key:e,formatter:t}:"object"===(void 0===t?"undefined":AW(t))?(n=ZB({},t)).key=n.key||e:!1!==t&&(n={key:e}),n}var MW={components:{BTable:{mixins:[NH,FH],render:function(e){var t=this,n=this.$slots,i=this.$scopedSlots,o=this.computedFields,r=this.computedItems,a=e(!1);if(this.caption||n["table-caption"]){var s={style:this.captionStyles};n["table-caption"]||(s.domProps={innerHTML:this.caption}),a=e("caption",s,n["table-caption"])}var c=n["table-colgroup"]?e("colgroup",{},n["table-colgroup"]):e(!1),l=function(){var n=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return o.map(function(o,r){var a={key:o.key,class:t.fieldClasses(o),style:o.thStyle||{},attrs:{tabindex:o.sortable?"0":null,abbr:o.headerAbbr||null,title:o.headerTitle||null,"aria-colindex":String(r+1),"aria-label":o.sortable?t.localSortDesc&&t.localSortBy===o.key?t.labelSortAsc:t.labelSortDesc:null,"aria-sort":o.sortable&&t.localSortBy===o.key?t.localSortDesc?"descending":"ascending":null},on:{click:function(e){e.stopPropagation(),e.preventDefault(),t.headClicked(e,o)},keydown:function(e){var n=e.keyCode;n!==BH.ENTER&&n!==BH.SPACE||(e.stopPropagation(),e.preventDefault(),t.headClicked(e,o))}}},s=n&&i["FOOT_"+o.key]?i["FOOT_"+o.key]:i["HEAD_"+o.key];return s?s=[s({label:o.label,column:o.key,field:o})]:a.domProps={innerHTML:o.label},e("th",a,s)})},d=e(!1);!0!==this.isStacked&&(d=e("thead",{class:this.headClasses},[e("tr",{class:this.theadTrClass},l(!1))]));var u=e(!1);this.footClone&&!0!==this.isStacked&&(u=e("tfoot",{class:this.footClasses},[e("tr",{class:this.tfootTrClass},l(!0))]));var f=[];if(i["top-row"]&&!0!==this.isStacked?f.push(e("tr",{key:"top-row",class:["b-table-top-row",this.tbodyTrClass]},[i["top-row"]({columns:o.length,fields:o})])):f.push(e(!1)),r.forEach(function(n,r){var a=i["row-details"],s=Boolean(n._showDetails&&a),c=s?t.safeId("_details_"+r+"_"):null,l=function(){a&&t.$set(n,"_showDetails",!n._showDetails)},d=o.map(function(o,a){var s={key:"row-"+r+"-cell-"+a,class:t.tdClasses(o,n),attrs:t.tdAttrs(o,n,a),domProps:{}},c=void 0;if(i[o.key])c=[i[o.key]({item:n,index:r,field:o,unformatted:kW(n,o.key),value:t.getFormattedValue(n,o),toggleDetails:l,detailsShowing:Boolean(n._showDetails)})],t.isStacked&&(c=[e("div",{},[c])]);else{var d=t.getFormattedValue(n,o);c=t.isStacked?[e("div",d)]:d}return e(o.isRowHeader?"th":"td",s,c)}),u=null;if(t.currentPage&&t.perPage&&t.perPage>0&&(u=(t.currentPage-1)*t.perPage+r+1),f.push(e("tr",{key:"row-"+r,class:[t.rowClasses(n),{"b-table-has-details":s}],attrs:{"aria-describedby":c,"aria-rowindex":u,role:t.isStacked?"row":null},on:{click:function(e){t.rowClicked(e,n,r)},dblclick:function(e){t.rowDblClicked(e,n,r)},mouseenter:function(e){t.rowHovered(e,n,r)}}},d)),s){var h={colspan:String(o.length)},p={id:c};t.isStacked&&(h.role="cell",p.role="row");var g=e("td",{attrs:h},[a({item:n,index:r,fields:o,toggleDetails:l})]);f.push(e("tr",{key:"details-"+r,class:["b-table-details",t.tbodyTrClass],attrs:p},[g]))}else a&&f.push(e(!1))}),!this.showEmpty||r&&0!==r.length)f.push(e(!1));else{var h=this.filter?n.emptyfiltered:n.empty;h||(h=e("div",{class:["text-center","my-2"],domProps:{innerHTML:this.filter?this.emptyFilteredText:this.emptyText}})),h=e("td",{attrs:{colspan:String(o.length),role:this.isStacked?"cell":null}},[e("div",{attrs:{role:"alert","aria-live":"polite"}},[h])]),f.push(e("tr",{key:"empty-row",class:["b-table-empty-row",this.tbodyTrClass],attrs:this.isStacked?{role:"row"}:{}},[h]))}i["bottom-row"]&&!0!==this.isStacked?f.push(e("tr",{key:"bottom-row",class:["b-table-bottom-row",this.tbodyTrClass]},[i["bottom-row"]({columns:o.length,fields:o})])):f.push(e(!1));var p=e("tbody",{class:this.bodyClasses,attrs:this.isStacked?{role:"rowgroup"}:{}},f),g=e("table",{class:this.tableClasses,attrs:{id:this.safeId(),role:this.isStacked?"table":null,"aria-busy":this.computedBusy?"true":"false","aria-colcount":String(o.length),"aria-rowcount":this.$attrs["aria-rowcount"]||this.items.length>this.perPage?this.items.length:null}},[a,c,d,u,p]);return this.isResponsive?e("div",{class:this.responsiveClass},[g]):g},data:function(){return{localSortBy:this.sortBy||"",localSortDesc:this.sortDesc||!1,localItems:[],filteredItems:[],localBusy:!1}},props:{items:{type:[Array,Function],default:function(){return[]}},fields:{type:[Object,Array],default:null},sortBy:{type:String,default:null},sortDesc:{type:Boolean,default:!1},sortDirection:{type:String,default:"asc",validator:function(e){return cz(["asc","desc","last"],e)}},caption:{type:String,default:null},captionTop:{type:Boolean,default:!1},striped:{type:Boolean,default:!1},bordered:{type:Boolean,default:!1},outlined:{type:Boolean,default:!1},dark:{type:Boolean,default:function(){return!(!this||"boolean"!=typeof this.inverse)&&(Yz("b-table: prop 'inverse' has been deprecated. Use 'dark' instead"),this.dark)}},inverse:{type:Boolean,default:null},hover:{type:Boolean,default:!1},small:{type:Boolean,default:!1},fixed:{type:Boolean,default:!1},footClone:{type:Boolean,default:!1},responsive:{type:[Boolean,String],default:!1},stacked:{type:[Boolean,String],default:!1},headVariant:{type:String,default:""},footVariant:{type:String,default:""},theadClass:{type:[String,Array],default:null},theadTrClass:{type:[String,Array],default:null},tbodyClass:{type:[String,Array],default:null},tbodyTrClass:{type:[String,Array],default:null},tfootClass:{type:[String,Array],default:null},tfootTrClass:{type:[String,Array],default:null},perPage:{type:Number,default:0},currentPage:{type:Number,default:1},filter:{type:[String,RegExp,Function],default:null},sortCompare:{type:Function,default:null},noLocalSorting:{type:Boolean,default:!1},noProviderPaging:{type:Boolean,default:!1},noProviderSorting:{type:Boolean,default:!1},noProviderFiltering:{type:Boolean,default:!1},noSortReset:{type:Boolean,default:!1},busy:{type:Boolean,default:!1},value:{type:Array,default:function(){return[]}},labelSortAsc:{type:String,default:"Click to sort Ascending"},labelSortDesc:{type:String,default:"Click to sort Descending"},showEmpty:{type:Boolean,default:!1},emptyText:{type:String,default:"There are no records to show"},emptyFilteredText:{type:String,default:"There are no records matching your request"},apiUrl:{type:String,default:""}},watch:{items:function(e,t){t!==e&&this._providerUpdate()},context:function(e,t){(function e(t,n){if(t===n)return!0;var i=jW(t),o=jW(n);if(!i||!o)return!i&&!o&&String(t)===String(n);try{var r=sz(t),a=sz(n);if(r&&a)return t.length===n.length&&t.every(function(t,i){return e(t,n[i])});if(r||a)return!1;var s=XB(t),c=XB(n);return s.length===c.length&&s.every(function(i){return e(t[i],n[i])})}catch(e){return!1}})(e,t)||this.$emit("context-changed",e)},filteredItems:function(e,t){this.localFiltering&&e.length!==t.length&&this.$emit("filtered",e)},sortDesc:function(e,t){e!==this.localSortDesc&&(this.localSortDesc=e||!1)},localSortDesc:function(e,t){e!==t&&(this.$emit("update:sortDesc",e),this.noProviderSorting||this._providerUpdate())},sortBy:function(e,t){e!==this.localSortBy&&(this.localSortBy=e||null)},localSortBy:function(e,t){e!==t&&(this.$emit("update:sortBy",e),this.noProviderSorting||this._providerUpdate())},perPage:function(e,t){t===e||this.noProviderPaging||this._providerUpdate()},currentPage:function(e,t){t===e||this.noProviderPaging||this._providerUpdate()},filter:function(e,t){t===e||this.noProviderFiltering||this._providerUpdate()},localBusy:function(e,t){e!==t&&this.$emit("update:busy",e)}},mounted:function(){var e=this;this.localSortBy=this.sortBy,this.localSortDesc=this.sortDesc,this.hasProvider&&this._providerUpdate(),this.listenOnRoot("bv::refresh::table",function(t){t!==e.id&&t!==e||e._providerUpdate()})},computed:{isStacked:function(){return""===this.stacked||this.stacked},isResponsive:function(){var e=""===this.responsive||this.responsive;return!this.isStacked&&e},responsiveClass:function(){return!0===this.isResponsive?"table-responsive":this.isResponsive?"table-responsive-"+this.responsive:""},tableClasses:function(){return["table","b-table",this.striped?"table-striped":"",this.hover?"table-hover":"",this.dark?"table-dark":"",this.bordered?"table-bordered":"",this.small?"table-sm":"",this.outlined?"border":"",this.fixed?"b-table-fixed":"",!0===this.isStacked?"b-table-stacked":this.isStacked?"b-table-stacked-"+this.stacked:""]},headClasses:function(){return[this.headVariant?"thead-"+this.headVariant:"",this.theadClass]},bodyClasses:function(){return[this.tbodyClass]},footClasses:function(){var e=this.footVariant||this.headVariant||null;return[e?"thead-"+e:"",this.tfootClass]},captionStyles:function(){return this.captionTop?{captionSide:"top"}:{}},hasProvider:function(){return this.items instanceof Function},localFiltering:function(){return!this.hasProvider||this.noProviderFiltering},localSorting:function(){return this.hasProvider?this.noProviderSorting:!this.noLocalSorting},localPaging:function(){return!this.hasProvider||this.noProviderPaging},context:function(){return{perPage:this.perPage,currentPage:this.currentPage,filter:this.filter,sortBy:this.localSortBy,sortDesc:this.localSortDesc,apiUrl:this.apiUrl}},computedFields:function(){var e=this,t=[];if(sz(this.fields)?this.fields.filter(function(e){return e}).forEach(function(e){if("string"==typeof e)t.push({key:e,label:Vq(e)});else if("object"===(void 0===e?"undefined":AW(e))&&e.key&&"string"==typeof e.key)t.push(ZB({},e));else if("object"===(void 0===e?"undefined":AW(e))&&1===XB(e).length){var n=XB(e)[0],i=IW(n,e[n]);i&&t.push(i)}}):this.fields&&"object"===AW(this.fields)&&XB(this.fields).length>0&&XB(this.fields).forEach(function(n){var i=IW(n,e.fields[n]);i&&t.push(i)}),0===t.length&&this.computedItems.length>0){var n=this.computedItems[0],i=["_rowVariant","_cellVariants","_showDetails"];XB(n).forEach(function(e){i.includes(e)||t.push({key:e,label:Vq(e)})})}var o={};return t.filter(function(e){return!o[e.key]&&(o[e.key]=!0,e.label="string"==typeof e.label?e.label:Vq(e.key),!0)})},computedItems:function(){var e,t=this.perPage,n=this.currentPage,i=this.filter,o=this.localSortBy,r=this.localSortDesc,a=this.sortCompare,s=this.localFiltering,c=this.localSorting,l=this.localPaging,d=this.hasProvider?this.localItems:this.items;if(!d)return this.$nextTick(this._providerUpdate),[];if(d=d.slice(),i&&s)if(i instanceof Function)d=d.filter(i);else{var u=void 0;u=i instanceof RegExp?i:new RegExp(".*"+i+".*","ig"),d=d.filter(function(e){var t,n=u.test((t=e)instanceof Object?EW(XB(t).reduce(function(e,n){return/^_/.test(n)||(e[n]=t[n]),e},{})):"");return u.lastIndex=0,n})}return s&&(this.filteredItems=d.slice()),o&&c&&(e=function(e,t){var n=null;return"function"==typeof a&&(n=a(e,t,o)),null!==n&&void 0!==n||(n=function(e,t,n){return"number"==typeof e[n]&&"number"==typeof t[n]?(e[n]<t[n]?-1:e[n]>t[n]&&1)||0:EW(e[n]).localeCompare(EW(t[n]),void 0,{numeric:!0})}(e,t,o)),(n||0)*(r?-1:1)},d=d.map(function(e,t){return[t,e]}).sort(function(e,t){return this(e[1],t[1])||e[0]-t[0]}.bind(e)).map(function(e){return e[1]})),Boolean(t)&&l&&(d=d.slice((n-1)*t,n*t)),this.$emit("input",d),d},computedBusy:function(){return this.busy||this.localBusy}},methods:{keys:XB,fieldClasses:function(e){return[e.sortable?"sorting":"",e.sortable&&this.localSortBy===e.key?"sorting_"+(this.localSortDesc?"desc":"asc"):"",e.variant?"table-"+e.variant:"",e.class?e.class:"",e.thClass?e.thClass:""]},tdClasses:function(e,t){var n="";return t._cellVariants&&t._cellVariants[e.key]&&(n=(this.dark?"bg":"table")+"-"+t._cellVariants[e.key]),[e.variant&&!n?(this.dark?"bg":"table")+"-"+e.variant:"",n,e.class?e.class:"",this.getTdValues(t,e.key,e.tdClass,"")]},tdAttrs:function(e,t,n){var i={};return i["aria-colindex"]=String(n+1),this.isStacked&&(i["data-label"]=e.label,e.isRowHeader?i.role="rowheader":i.role="cell"),ZB({},i,this.getTdValues(t,e.key,e.tdAttr,{}))},rowClasses:function(e){return[e._rowVariant?(this.dark?"bg":"table")+"-"+e._rowVariant:"",this.tbodyTrClass]},rowClicked:function(e,t,n){this.stopIfBusy(e)||this.$emit("row-clicked",t,n,e)},rowDblClicked:function(e,t,n){this.stopIfBusy(e)||this.$emit("row-dblclicked",t,n,e)},rowHovered:function(e,t,n){this.stopIfBusy(e)||this.$emit("row-hovered",t,n,e)},headClicked:function(e,t){var n=this;if(!this.stopIfBusy(e)){var i=!1,o=function(){var e=t.sortDirection||n.sortDirection;"asc"===e?n.localSortDesc=!1:"desc"===e&&(n.localSortDesc=!0)};t.sortable?(t.key===this.localSortBy?this.localSortDesc=!this.localSortDesc:(this.localSortBy=t.key,o()),i=!0):this.localSortBy&&!this.noSortReset&&(this.localSortBy=null,o(),i=!0),this.$emit("head-clicked",t.key,t,e),i&&this.$emit("sort-changed",this.context)}},stopIfBusy:function(e){return!!this.computedBusy&&(e.preventDefault(),e.stopPropagation(),!0)},refresh:function(){this.hasProvider&&this._providerUpdate()},_providerSetLocal:function(e){this.localItems=e&&e.length>0?e.slice():[],this.localBusy=!1,this.$emit("refreshed"),this.emitOnRoot("table::refreshed",this.id),this.id&&this.emitOnRoot("bv::table::refreshed",this.id)},_providerUpdate:function(){var e=this;if(!this.computedBusy&&this.hasProvider){this.localBusy=!0;var t=this.items(this.context,this._providerSetLocal);t&&t.then&&"function"==typeof t.then?t.then(function(t){e._providerSetLocal(t)}):this._providerSetLocal(t)}},getTdValues:function(e,t,n,i){var o=this.$parent;if(n){if("function"==typeof n)return n(kW(e,t),t,e);if("string"==typeof n&&"function"==typeof o[n]){var r=kW(e,t);return o[n](r,t,e)}return n}return i},getFormattedValue:function(e,t){var n=t.key,i=t.formatter,o=this.$parent,r=kW(e,n);return i&&("function"==typeof i?r=i(r,n,e):"string"==typeof i&&"function"==typeof o[i]&&(r=o[i](r,n,e))),r}}}},inheritAttrs:!1},OW=function(){var e=this,t=e.$createElement;return(e._self._c||t)("b-table",e._g(e._b({scopedSlots:e._u([e._l(Object.keys(e.$scopedSlots),function(t){return{key:t,fn:function(n){return[e._t(t,null,null,n)]}}})])},"b-table",e.$attrs,!1),e.$listeners),[e._l(Object.keys(e.$slots),function(t){return e._t(t,null,{slot:t})})],2)};OW._withStripped=!0;var DW=function(e,t,n,i,o,r,a,s){var c=("function"==typeof n?n.options:n)||{};return c.__file="/builds/gitlab-org/gitlab-ui/components/base/table/table.vue",c.render||(c.render=e.render,c.staticRenderFns=e.staticRenderFns,c._compiled=!0,o&&(c.functional=!0)),c._scopeId=i,c}({render:OW,staticRenderFns:[]},0,MW,void 0,!1),VW={hover:!0,click:!0,focus:!0},LW="__BV_boundEventListeners__",PW={click:!0},NW={bind:function(e,t,n){!function(e,t,n,i){var o=XB(t.modifiers||{}).filter(function(e){return!VW[e]});t.value&&o.push(t.value);var r=function(){i({targets:o,vnode:e})};XB(VW).forEach(function(i){if(n[i]||t.modifiers[i]){e.elm.addEventListener(i,r);var o=e.elm[LW]||{};o[i]=o[i]||[],o[i].push(r),e.elm[LW]=o}})}(n,t,PW,function(e){var t=e.targets,n=e.vnode;t.forEach(function(e){n.context.$root.$emit("bv::show::modal",e,n.elm)})}),"BUTTON"!==e.tagName&&yz(e,"role","button")},unbind:function(e,t,n){!function(e,t,n){XB(VW).forEach(function(i){if(n[i]||t.modifiers[i]){var o=e.elm[LW]&&e.elm[LW][i];o&&(o.forEach(function(t){return e.elm.removeEventListener(i,t)}),delete e.elm[LW][i])}})}(n,t,PW),"BUTTON"!==e.tagName&&_z(e,"role")}},RW="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},FW="undefined"!=typeof window&&"undefined"!=typeof document,BW="__BV_ToolTip__",zW={focus:!0,hover:!0,click:!0,blur:!0};function HW(e){var t={};"string"==typeof e.value?t.title=e.value:"function"==typeof e.value?t.title=e.value:"object"===RW(e.value)&&(t=ZB(e.value)),e.arg&&(t.container="#"+e.arg),XB(e.modifiers).forEach(function(e){if(/^html$/.test(e))t.html=!0;else if(/^nofade$/.test(e))t.animation=!1;else if(/^(auto|top(left|right)?|bottom(left|right)?|left(top|bottom)?|right(top|bottom)?)$/.test(e))t.placement=e;else if(/^(window|viewport)$/.test(e))t.boundary=e;else if(/^d\d+$/.test(e)){var n=parseInt(e.slice(1),10)||0;n&&(t.delay=n)}else if(/^o-?\d+$/.test(e)){var i=parseInt(e.slice(1),10)||0;i&&(t.offset=i)}});var n={};return("string"==typeof t.trigger?t.trigger.trim().split(/\s+/):[]).forEach(function(e){zW[e]&&(n[e]=!0)}),XB(zW).forEach(function(t){e.modifiers[t]&&(n[t]=!0)}),t.trigger=XB(n).join(" "),"blur"===t.trigger&&(t.trigger="focus"),t.trigger||delete t.trigger,t}function $W(e,t,n){FW&&(YB?e[BW]?e[BW].updateConfig(HW(t)):e[BW]=new Fz(e,HW(t),n.context.$root):Yz("v-b-tooltip: Popper.js is required for tooltips to work"))}var qW={bind:function(e,t,n){$W(e,t,n)},inserted:function(e,t,n){$W(e,t,n)},update:function(e,t,n){t.value!==t.oldValue&&$W(e,t,n)},componentUpdated:function(e,t,n){t.value!==t.oldValue&&$W(e,t,n)},unbind:function(e){!function(e){FW&&e[BW]&&(e[BW].destroy(),e[BW]=null,delete e[BW])}(e)}}}).call(this,n(166))},900:function(e,t,n){"use strict";var i=n(0),o=n.n(i),r=n(11),a=n.n(r),s=n(7),c=n.n(s),l=n(104),d=n(13);function u(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}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()}var t,n,i;return t=e,i=[{key:"setCollapsedCookie",value:function(e){"lg"===l.a.getBreakpointSize()&&a.a.set("sidebar_collapsed",e,{expires:3650})}}],(n=[{key:"initDomElements",value:function(){this.$page=o()(".layout-page"),this.$sidebar=o()(".nav-sidebar"),this.$innerScroll=o()(".nav-sidebar-inner-scroll",this.$sidebar),this.$overlay=o()(".mobile-overlay"),this.$openSidebar=o()(".toggle-mobile-nav"),this.$closeSidebar=o()(".close-nav-button"),this.$sidebarToggle=o()(".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)}),o()(window).on("resize",function(){return c.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=Object(d.B)(a.a.get("sidebar_collapsed"));this.toggleCollapsedSidebar(t)}}}])&&u(t.prototype,n),i&&u(t,i),e}();function h(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function p(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=[],i=!0,o=!1,r=void 0;try{for(var a,s=e[Symbol.iterator]();!(i=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);i=!0);}catch(e){o=!0,r=e}finally{try{i||null==s.return||s.return()}finally{if(o)throw r}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}var g,m,b,v=null,y=[],_=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;v=e},w=function(e,t){return(t.y-e.y)/(t.x-e.x)},x=50,S=function(){return b&&b.classList.contains("sidebar-collapsed-desktop")},T=function(e){return!(e.classList.contains("active")&&!S())},k=function(){return"sm"===l.a.getBreakpointSize()||"md"===l.a.getBreakpointSize()||"lg"===l.a.getBreakpointSize()},C=function(){if(!v||!y.length)return 0;var e=y[y.length-1],t=y[0],n=e.y,i=p(g,2),o=i[0],r=i[1];return n<o.y||n>r.y?0:w(t,r)<w(e,r)&&w(t,o)>w(e,o)?300:0},j=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"),_()}},A=function(e,t){var n=e.getBoundingClientRect(),i=function(e,t){return window.innerHeight-(e.top+t)<0?e.top-t+e.height:e.top}(n,t.offsetHeight),o=b?b.offsetWidth:50,r=i<n.top;t.classList.add("fly-out-list"),t.style.transform="translate3d(".concat(o,"px, ").concat(Math.floor(i)-x,"px, 0)");var a=t.getBoundingClientRect();g=[{x:a.left,y:a.top},{x:a.left,y:a.top+a.height}],r&&t.classList.add("is-above")},E=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:C();clearTimeout(m),m=setTimeout(function(){v&&j(v),function(e){var t=e.querySelector(".sidebar-sub-level-items"),n=t&&t.classList.contains("is-fly-out-only");k()&&T(e)&&(e.classList.add("is-over"),!t||!S()&&n||(t.style.display="block",e.classList.add("is-showing-fly-out"),_(t),A(e,t)))}(e)},t)},I=function(e){y.push({x:e.clientX,y:e.clientY}),y.length>6&&y.shift()},M=function(){if(b=document.querySelector(".nav-sidebar")){var e=h(b.querySelectorAll(".sidebar-top-level-items > li"));b.querySelector(".sidebar-top-level-items")&&b.querySelector(".sidebar-top-level-items").addEventListener("mouseleave",function(){clearTimeout(m),m=setTimeout(function(){v&&j(v)},C())}),x=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(".".concat("is-over"))&&j(v));var t}),e.addEventListener("mouseenter",function(e){return E(e.currentTarget)}),e.addEventListener("mouseleave",function(e){return t=e.currentTarget,n=t.querySelector(".sidebar-sub-level-items"),void(!k()||!T(t)||n&&n===v||t.classList.remove("is-over"));var t,n})}),document.addEventListener("mousemove",I)}};function O(){(new f).bindEvents(),M(),o()(document).on("init.scrolling-tabs",function(){var e=o()(".scrolling-tabs").not(".is-initialized");e.addClass("is-initialized"),o()(window).on("resize.nav",function(){!function(e){e.each(function(){var e=o()(this);e.siblings(".fade-right").toggleClass("scrolling",Math.round(e.width())<e.prop("scrollWidth"))})}(e)}).trigger("resize.nav"),e.on("scroll",function(){var e=o()(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=o()(this),t=e.width(),n=e.find(".active"),i=n.width();if(n.length){var r=n.offset().left+i;if(r>t-30){var a=r-t/2-i/2;e.scrollLeft(a)}}})}).trigger("init.scrolling-tabs")}n.d(t,"a",function(){return O})},901:function(e,t,n){"use strict";var i,o=n(6),r=n(7),a=n.n(r),s=n(4),c=n(13);function l(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=[],i=!0,o=!1,r=void 0;try{for(var a,s=e[Symbol.iterator]();!(i=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);i=!0);}catch(e){o=!0,r=e}finally{try{i||null==s.return||s.return()}finally{if(o)throw r}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function d(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}var u=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}var t,n,r;return t=e,r=[{key:"fetchRequestDetails",value:function(e,t){return s.a.get(e,{params:{request_id:t}})}},{key:"registerInterceptor",value:function(t,n){var r=function(i){var o=l(e.callbackParams(i,t),3),r=o[0],a=o[1],s=o[2];return r&&n(a,s),i};return i=function(e,t){return t(r)},o.default.http.interceptors.push(i),s.a.interceptors.response.use(r)}},{key:"removeInterceptor",value:function(e){s.a.interceptors.response.eject(e),o.default.http.interceptors=a.a.without(o.default.http.interceptors,i)}},{key:"callbackParams",value:function(e,t){var n=e.headers&&e.headers["x-request-id"],i=(e.config||e).url,o=i&&i.match(/^\/api\//),r=e.headers&&Object(c.B)(e.headers["x-gitlab-from-cache"]);return[i!==t&&n&&!o&&!r,n,i]}}],(n=null)&&d(t.prototype,n),r&&d(t,r),e}();function f(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}var h=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.requests=[]}var t,n,i;return t=e,(n=[{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}}])&&f(t.prototype,n),i&&f(t,i),e}();t.a=function(e){var t=e.container;return new o.default({el:t,components:{performanceBarApp:function(){return n.e(214).then(n.bind(null,2129))}},data:function(){var e=document.querySelector(this.$options.el).dataset;return{store:new h,env:e.env,requestId:e.requestId,peekUrl:e.peekUrl,profileUrl:e.profileUrl}},mounted:function(){this.interceptor=u.registerInterceptor(this.peekUrl,this.loadRequestDetails),this.loadRequestDetails(this.requestId,window.location.href)},beforeDestroy:function(){u.removeInterceptor(this.interceptor)},methods:{loadRequestDetails:function(e,t){var n=this;this.store.canTrackRequest(t)&&(this.store.addRequest(e,t),u.fetchRequestDetails(this.peekUrl,e).then(function(t){n.store.addRequestDetails(e,t.data.data)}).catch(function(){return console.warn("Error getting performance bar results for ".concat(e))}))}},render:function(e){return e("performance-bar-app",{props:{store:this.store,env:this.env,requestId:this.requestId,peekUrl:this.peekUrl,profileUrl:this.profileUrl}})}})}},948:function(e,t,n){(function(e){var i=void 0!==e&&e||"undefined"!=typeof self&&self||window,o=Function.prototype.apply;function r(e,t){this._id=e,this._clearFn=t}t.setTimeout=function(){return new r(o.call(setTimeout,i,arguments),clearTimeout)},t.setInterval=function(){return new r(o.call(setInterval,i,arguments),clearInterval)},t.clearTimeout=t.clearInterval=function(e){e&&e.close()},r.prototype.unref=r.prototype.ref=function(){},r.prototype.close=function(){this._clearFn.call(i,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(1019),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(166))},953:function(e,t,n){gon&&gon.webpack_public_path&&(n.p=gon.webpack_public_path)},954:function(e,t,n){n(955),e.exports=n(227).Array.fill},955:function(e,t,n){var i=n(292);i(i.P,"Array",{fill:n(956)}),n(530)("fill")},956:function(e,t,n){"use strict";var i=n(528),o=n(672),r=n(529);e.exports=function(e){for(var t=i(this),n=r(t.length),a=arguments.length,s=o(a>1?arguments[1]:void 0,n),c=a>2?arguments[2]:void 0,l=void 0===c?n:o(c,n);l>s;)t[s++]=e;return t}},957:function(e,t,n){n(958),e.exports=n(227).Array.find},958:function(e,t,n){"use strict";var i=n(292),o=n(614)(5),r=!0;"find"in[]&&Array(1).find(function(){r=!1}),i(i.P+i.F*r,"Array",{find:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}}),n(530)("find")},959:function(e,t,n){var i=n(960);e.exports=function(e,t){return new(i(e))(t)}},96:function(e,t,n){"use strict";var i=n(9),o=n(423),r=n.n(o),a=n(354),s={name:"UserAvatarImage",components:{GlTooltip:i.q},props:{lazy:{type:Boolean,required:!1,default:!1},imgSrc:{type:String,required:!1,default:r.a},cssClasses:{type:String,required:!1,default:""},imgAlt:{type:String,required:!1,default:"user avatar"},size:{type:Number,required:!1,default:20},tooltipText:{type:String,required:!1,default:""},tooltipPlacement:{type:String,required:!1,default:"top"}},computed:{sanitizedSource:function(){var e=""===this.imgSrc||null===this.imgSrc?r.a:this.imgSrc;return e.startsWith("data:")||e.includes("?")||(e+="?width=".concat(this.size)),e},resultantSrcAttribute:function(){return this.lazy?a.b:this.sanitizedSource},avatarSizeClass:function(){return"s".concat(this.size)}}},c=n(2),l=Object(c.a)(s,function(){var e,t=this,n=t.$createElement,i=t._self._c||n;return i("span",[i("img",{ref:"userAvatarImage",staticClass:"avatar",class:(e={lazy:t.lazy},e[t.avatarSizeClass]=!0,e[t.cssClasses]=!0,e),attrs:{src:t.resultantSrcAttribute,width:t.size,height:t.size,alt:t.imgAlt,"data-src":t.sanitizedSource}}),t._v(" "),t.tooltipText||t.$slots.default?i("gl-tooltip",{staticClass:"js-user-avatar-image-toolip",attrs:{target:function(){return t.$refs.userAvatarImage},placement:t.tooltipPlacement,boundary:"window"}},[t._t("default",[t._v(" "+t._s(t.tooltipText)+" ")])],2):t._e()],1)},[],!1,null,null,null);l.options.__file="user_avatar_image.vue";t.a=l.exports},960:function(e,t,n){var i=n(304),o=n(829),r=n(264)("species");e.exports=function(e){var t;return o(e)&&("function"!=typeof(t=e.constructor)||t!==Array&&!o(t.prototype)||(t=void 0),i(t)&&null===(t=t[r])&&(t=void 0)),void 0===t?Array:t}},961:function(e,t,n){n(962),e.exports=n(227).Array.findIndex},962:function(e,t,n){"use strict";var i=n(292),o=n(614)(6),r="findIndex",a=!0;r in[]&&Array(1)[r](function(){a=!1}),i(i.P+i.F*a,"Array",{findIndex:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}}),n(530)(r)},963:function(e,t,n){n(676),n(967),e.exports=n(227).Array.from},964:function(e,t,n){"use strict";var i=n(678),o=n(526),r=n(533),a={};n(466)(a,n(264)("iterator"),function(){return this}),e.exports=function(e,t,n){e.prototype=i(a,{next:o(1,n)}),r(e,t+" Iterator")}},965:function(e,t,n){var i=n(413),o=n(395),r=n(493);e.exports=n(430)?Object.defineProperties:function(e,t){o(e);for(var n,a=r(t),s=a.length,c=0;s>c;)i.f(e,n=a[c++],t[n]);return e}},966:function(e,t,n){var i=n(432),o=n(528),r=n(679)("IE_PROTO"),a=Object.prototype;e.exports=Object.getPrototypeOf||function(e){return e=o(e),i(e,r)?e[r]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?a:null}},967:function(e,t,n){"use strict";var i=n(433),o=n(292),r=n(528),a=n(834),s=n(835),c=n(529),l=n(968),d=n(836);o(o.S+o.F*!n(682)(function(e){Array.from(e)}),"Array",{from:function(e){var t,n,o,u,f=r(e),h="function"==typeof this?this:Array,p=arguments.length,g=p>1?arguments[1]:void 0,m=void 0!==g,b=0,v=d(f);if(m&&(g=i(g,p>2?arguments[2]:void 0,2)),void 0==v||h==Array&&s(v))for(n=new h(t=c(f.length));t>b;b++)l(n,b,m?g(f[b],b):f[b]);else for(u=v.call(f),n=new h;!(o=u.next()).done;b++)l(n,b,m?a(u,g,[o.value,b],!0):o.value);return n.length=b,n}})},968:function(e,t,n){"use strict";var i=n(413),o=n(526);e.exports=function(e,t,n){t in e?i.f(e,t,o(0,n)):e[t]=n}},969:function(e,t,n){n(970),e.exports=n(227).Array.includes},970:function(e,t,n){"use strict";var i=n(292),o=n(832)(!0);i(i.P,"Array",{includes:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}}),n(530)("includes")},971:function(e,t,n){n(972),e.exports=n(227).Object.assign},972:function(e,t,n){var i=n(292);i(i.S+i.F,"Object",{assign:n(837)})},973:function(e,t,n){n(974),e.exports=n(227).Object.values},974:function(e,t,n){var i=n(292),o=n(975)(!1);i(i.S,"Object",{values:function(e){return o(e)}})},975:function(e,t,n){var i=n(493),o=n(468),r=n(534).f;e.exports=function(e){return function(t){for(var n,a=o(t),s=i(a),c=s.length,l=0,d=[];c>l;)r.call(a,n=s[l++])&&d.push(e?[n,a[n]]:a[n]);return d}}},976:function(e,t,n){n(615),n(676),n(838),n(977),n(981),n(982),e.exports=n(227).Promise},977:function(e,t,n){"use strict";var i,o,r,a,s=n(531),c=n(293),l=n(433),d=n(681),u=n(292),f=n(304),h=n(612),p=n(616),g=n(617),m=n(841),b=n(842).set,v=n(979)(),y=n(684),_=n(843),w=n(980),x=n(844),S=c.TypeError,T=c.process,k=T&&T.versions,C=k&&k.v8||"",j=c.Promise,A="process"==d(T),E=function(){},I=o=y.f,M=!!function(){try{var e=j.resolve(1),t=(e.constructor={})[n(264)("species")]=function(e){e(E,E)};return(A||"function"==typeof PromiseRejectionEvent)&&e.then(E)instanceof t&&0!==C.indexOf("6.6")&&-1===w.indexOf("Chrome/66")}catch(e){}}(),O=function(e){var t;return!(!f(e)||"function"!=typeof(t=e.then))&&t},D=function(e,t){if(!e._n){e._n=!0;var n=e._c;v(function(){for(var i=e._v,o=1==e._s,r=0,a=function(t){var n,r,a,s=o?t.ok:t.fail,c=t.resolve,l=t.reject,d=t.domain;try{s?(o||(2==e._h&&P(e),e._h=1),!0===s?n=i:(d&&d.enter(),n=s(i),d&&(d.exit(),a=!0)),n===t.promise?l(S("Promise-chain cycle")):(r=O(n))?r.call(n,c,l):c(n)):l(i)}catch(e){d&&!a&&d.exit(),l(e)}};n.length>r;)a(n[r++]);e._c=[],e._n=!1,t&&!e._h&&V(e)})}},V=function(e){b.call(c,function(){var t,n,i,o=e._v,r=L(e);if(r&&(t=_(function(){A?T.emit("unhandledRejection",o,e):(n=c.onunhandledrejection)?n({promise:e,reason:o}):(i=c.console)&&i.error&&i.error("Unhandled promise rejection",o)}),e._h=A||L(e)?2:1),e._a=void 0,r&&t.e)throw t.v})},L=function(e){return 1!==e._h&&0===(e._a||e._c).length},P=function(e){b.call(c,function(){var t;A?T.emit("rejectionHandled",e):(t=c.onrejectionhandled)&&t({promise:e,reason:e._v})})},N=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()),D(t,!0))},R=function(e){var t,n=this;if(!n._d){n._d=!0,n=n._w||n;try{if(n===e)throw S("Promise can't be resolved itself");(t=O(e))?v(function(){var i={_w:n,_d:!1};try{t.call(e,l(R,i,1),l(N,i,1))}catch(e){N.call(i,e)}}):(n._v=e,n._s=1,D(n,!1))}catch(e){N.call({_w:n,_d:!1},e)}}};M||(j=function(e){p(this,j,"Promise","_h"),h(e),i.call(this);try{e(l(R,this,1),l(N,this,1))}catch(e){N.call(this,e)}},(i=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(618)(j.prototype,{then:function(e,t){var n=I(m(this,j));return n.ok="function"!=typeof e||e,n.fail="function"==typeof t&&t,n.domain=A?T.domain:void 0,this._c.push(n),this._a&&this._a.push(n),this._s&&D(this,!1),n.promise},catch:function(e){return this.then(void 0,e)}}),r=function(){var e=new i;this.promise=e,this.resolve=l(R,e,1),this.reject=l(N,e,1)},y.f=I=function(e){return e===j||e===a?new r(e):o(e)}),u(u.G+u.W+u.F*!M,{Promise:j}),n(533)(j,"Promise"),n(845)("Promise"),a=n(227).Promise,u(u.S+u.F*!M,"Promise",{reject:function(e){var t=I(this);return(0,t.reject)(e),t.promise}}),u(u.S+u.F*(s||!M),"Promise",{resolve:function(e){return x(s&&this===a?j:this,e)}}),u(u.S+u.F*!(M&&n(682)(function(e){j.all(e).catch(E)})),"Promise",{all:function(e){var t=this,n=I(t),i=n.resolve,o=n.reject,r=_(function(){var n=[],r=0,a=1;g(e,!1,function(e){var s=r++,c=!1;n.push(void 0),a++,t.resolve(e).then(function(e){c||(c=!0,n[s]=e,--a||i(n))},o)}),--a||i(n)});return r.e&&o(r.v),n.promise},race:function(e){var t=this,n=I(t),i=n.reject,o=_(function(){g(e,!1,function(e){t.resolve(e).then(n.resolve,i)})});return o.e&&i(o.v),n.promise}})},978:function(e,t){e.exports=function(e,t,n){var i=void 0===n;switch(t.length){case 0:return i?e():e.call(n);case 1:return i?e(t[0]):e.call(n,t[0]);case 2:return i?e(t[0],t[1]):e.call(n,t[0],t[1]);case 3:return i?e(t[0],t[1],t[2]):e.call(n,t[0],t[1],t[2]);case 4:return i?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)}},979:function(e,t,n){var i=n(293),o=n(842).set,r=i.MutationObserver||i.WebKitMutationObserver,a=i.process,s=i.Promise,c="process"==n(492)(a);e.exports=function(){var e,t,n,l=function(){var i,o;for(c&&(i=a.domain)&&i.exit();e;){o=e.fn,e=e.next;try{o()}catch(i){throw e?n():t=void 0,i}}t=void 0,i&&i.enter()};if(c)n=function(){a.nextTick(l)};else if(!r||i.navigator&&i.navigator.standalone)if(s&&s.resolve){var d=s.resolve(void 0);n=function(){d.then(l)}}else n=function(){o.call(i,l)};else{var u=!0,f=document.createTextNode("");new r(l).observe(f,{characterData:!0}),n=function(){f.data=u=!u}}return function(i){var o={fn:i,next:void 0};t&&(t.next=o),e||(e=o,n()),t=o}}},980:function(e,t,n){var i=n(293).navigator;e.exports=i&&i.userAgent||""},981:function(e,t,n){"use strict";var i=n(292),o=n(227),r=n(293),a=n(841),s=n(844);i(i.P+i.R,"Promise",{finally:function(e){var t=a(this,o.Promise||r.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)}})},982:function(e,t,n){"use strict";var i=n(292),o=n(684),r=n(843);i(i.S,"Promise",{try:function(e){var t=o.f(this),n=r(e);return(n.e?t.reject:t.resolve)(n.v),t.promise}})},983:function(e,t,n){n(984),e.exports=n(227).String.codePointAt},984:function(e,t,n){"use strict";var i=n(292),o=n(830)(!1);i(i.P,"String",{codePointAt:function(e){return o(this,e)}})},985:function(e,t,n){n(986),e.exports=n(227).String.fromCodePoint},986:function(e,t,n){var i=n(292),o=n(672),r=String.fromCharCode,a=String.fromCodePoint;i(i.S+i.F*(!!a&&1!=a.length),"String",{fromCodePoint:function(e){for(var t,n=[],i=arguments.length,a=0;i>a;){if(t=+arguments[a++],o(t,1114111)!==t)throw RangeError(t+" is not a valid code point");n.push(t<65536?r(t):r(55296+((t-=65536)>>10),t%1024+56320))}return n.join("")}})},987:function(e,t,n){n(988),e.exports=n(227).String.includes},988:function(e,t,n){"use strict";var i=n(292),o=n(989);i(i.P+i.F*n(991)("includes"),"String",{includes:function(e){return!!~o(this,e,"includes").indexOf(e,arguments.length>1?arguments[1]:void 0)}})},989:function(e,t,n){var i=n(990),o=n(613);e.exports=function(e,t,n){if(i(t))throw TypeError("String#"+n+" doesn't accept regex!");return String(o(e))}},990:function(e,t,n){var i=n(304),o=n(492),r=n(264)("match");e.exports=function(e){var t;return i(e)&&(void 0!==(t=e[r])?!!t:"RegExp"==o(e))}},991:function(e,t,n){var i=n(264)("match");e.exports=function(e){var t=/./;try{"/./"[e](t)}catch(n){try{return t[i]=!1,!"/./"[e](t)}catch(e){}}return!0}},992:function(e,t,n){n(993),n(615),n(996),n(997),e.exports=n(227).Symbol},993:function(e,t,n){"use strict";var i=n(293),o=n(432),r=n(430),a=n(292),s=n(431),c=n(535).KEY,l=n(467),d=n(674),u=n(533),f=n(527),h=n(264),p=n(846),g=n(685),m=n(994),b=n(829),v=n(395),y=n(304),_=n(468),w=n(671),x=n(526),S=n(678),T=n(995),k=n(848),C=n(413),j=n(493),A=k.f,E=C.f,I=T.f,M=i.Symbol,O=i.JSON,D=O&&O.stringify,V=h("_hidden"),L=h("toPrimitive"),P={}.propertyIsEnumerable,N=d("symbol-registry"),R=d("symbols"),F=d("op-symbols"),B=Object.prototype,z="function"==typeof M,H=i.QObject,$=!H||!H.prototype||!H.prototype.findChild,q=r&&l(function(){return 7!=S(E({},"a",{get:function(){return E(this,"a",{value:7}).a}})).a})?function(e,t,n){var i=A(B,t);i&&delete B[t],E(e,t,n),i&&e!==B&&E(B,t,i)}:E,W=function(e){var t=R[e]=S(M.prototype);return t._k=e,t},G=z&&"symbol"==typeof M.iterator?function(e){return"symbol"==typeof e}:function(e){return e instanceof M},U=function(e,t,n){return e===B&&U(F,t,n),v(e),t=w(t,!0),v(n),o(R,t)?(n.enumerable?(o(e,V)&&e[V][t]&&(e[V][t]=!1),n=S(n,{enumerable:x(0,!1)})):(o(e,V)||E(e,V,x(1,{})),e[V][t]=!0),q(e,t,n)):E(e,t,n)},K=function(e,t){v(e);for(var n,i=m(t=_(t)),o=0,r=i.length;r>o;)U(e,n=i[o++],t[n]);return e},Y=function(e){var t=P.call(this,e=w(e,!0));return!(this===B&&o(R,e)&&!o(F,e))&&(!(t||!o(this,e)||!o(R,e)||o(this,V)&&this[V][e])||t)},Z=function(e,t){if(e=_(e),t=w(t,!0),e!==B||!o(R,t)||o(F,t)){var n=A(e,t);return!n||!o(R,t)||o(e,V)&&e[V][t]||(n.enumerable=!0),n}},X=function(e){for(var t,n=I(_(e)),i=[],r=0;n.length>r;)o(R,t=n[r++])||t==V||t==c||i.push(t);return i},Q=function(e){for(var t,n=e===B,i=I(n?F:_(e)),r=[],a=0;i.length>a;)!o(R,t=i[a++])||n&&!o(B,t)||r.push(R[t]);return r};z||(s((M=function(){if(this instanceof M)throw TypeError("Symbol is not a constructor!");var e=f(arguments.length>0?arguments[0]:void 0),t=function(n){this===B&&t.call(F,n),o(this,V)&&o(this[V],e)&&(this[V][e]=!1),q(this,e,x(1,n))};return r&&$&&q(B,e,{configurable:!0,set:t}),W(e)}).prototype,"toString",function(){return this._k}),k.f=Z,C.f=U,n(847).f=T.f=X,n(534).f=Y,n(683).f=Q,r&&!n(531)&&s(B,"propertyIsEnumerable",Y,!0),p.f=function(e){return W(h(e))}),a(a.G+a.W+a.F*!z,{Symbol:M});for(var J="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),ee=0;J.length>ee;)h(J[ee++]);for(var te=j(h.store),ne=0;te.length>ne;)g(te[ne++]);a(a.S+a.F*!z,"Symbol",{for:function(e){return o(N,e+="")?N[e]:N[e]=M(e)},keyFor:function(e){if(!G(e))throw TypeError(e+" is not a symbol!");for(var t in N)if(N[t]===e)return t},useSetter:function(){$=!0},useSimple:function(){$=!1}}),a(a.S+a.F*!z,"Object",{create:function(e,t){return void 0===t?S(e):K(S(e),t)},defineProperty:U,defineProperties:K,getOwnPropertyDescriptor:Z,getOwnPropertyNames:X,getOwnPropertySymbols:Q}),O&&a(a.S+a.F*(!z||l(function(){var e=M();return"[null]"!=D([e])||"{}"!=D({a:e})||"{}"!=D(Object(e))})),"JSON",{stringify:function(e){for(var t,n,i=[e],o=1;arguments.length>o;)i.push(arguments[o++]);if(n=t=i[1],(y(t)||void 0!==e)&&!G(e))return b(t)||(t=function(e,t){if("function"==typeof n&&(t=n.call(this,e,t)),!G(t))return t}),i[1]=t,D.apply(O,i)}}),M.prototype[L]||n(466)(M.prototype,L,M.prototype.valueOf),u(M,"Symbol"),u(Math,"Math",!0),u(i.JSON,"JSON",!0)},994:function(e,t,n){var i=n(493),o=n(683),r=n(534);e.exports=function(e){var t=i(e),n=o.f;if(n)for(var a,s=n(e),c=r.f,l=0;s.length>l;)c.call(e,a=s[l++])&&t.push(a);return t}},995:function(e,t,n){var i=n(468),o=n(847).f,r={}.toString,a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];e.exports.f=function(e){return a&&"[object Window]"==r.call(e)?function(e){try{return o(e)}catch(e){return a.slice()}}(e):o(i(e))}},996:function(e,t,n){n(685)("asyncIterator")},997:function(e,t,n){n(685)("observable")},998:function(e,t,n){n(615),n(676),n(838),n(999),e.exports=n(227).Map},999:function(e,t,n){"use strict";var i=n(1e3),o=n(619);e.exports=n(849)("Map",function(e){return function(){return e(this,arguments.length>0?arguments[0]:void 0)}},{get:function(e){var t=i.getEntry(o(this,"Map"),e);return t&&t.v},set:function(e,t){return i.def(o(this,"Map"),0===e?0:e,t)}},i,!0)}}]);
|
||
//# sourceMappingURL=main.96d4b8cf.chunk.js.map |