!function(e,t){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return t(e)}:t(e)}("undefined"!=typeof window?window:this,(function(e,t){"use strict";var n=[],i=Object.getPrototypeOf,r=n.slice,o=n.flat?function(e){return n.flat.call(e)}:function(e){return n.concat.apply([],e)},s=n.push,a=n.indexOf,l={},c=l.toString,u=l.hasOwnProperty,h=u.toString,f=h.call(Object),d={},p=function(e){return"function"==typeof e&&"number"!=typeof e.nodeType&&"function"!=typeof e.item},g=function(e){return null!=e&&e===e.window},m=e.document,v={type:!0,src:!0,nonce:!0,noModule:!0};function y(e,t,n){var i,r,o=(n=n||m).createElement("script");if(o.text=e,t)for(i in v)(r=t[i]||t.getAttribute&&t.getAttribute(i))&&o.setAttribute(i,r);n.head.appendChild(o).parentNode.removeChild(o)}function b(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?l[c.call(e)]||"object":typeof e}var _="3.6.2",w=function(e,t){return new w.fn.init(e,t)};function x(e){var t=!!e&&"length"in e&&e.length,n=b(e);return!p(e)&&!g(e)&&("array"===n||0===t||"number"==typeof t&&0+~]|"+P+")"+P+"*"),V=new RegExp(P+"|>"),U=new RegExp(R),X=new RegExp("^"+q+"$"),Q={ID:new RegExp("^#("+q+")"),CLASS:new RegExp("^\\.("+q+")"),TAG:new RegExp("^("+q+"|[*])"),ATTR:new RegExp("^"+H),PSEUDO:new RegExp("^"+R),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("^(?:"+$+")$","i"),needsContext:new RegExp("^"+P+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+P+"*((?:-\\d)?\\d*)"+P+"*\\)|)(?=[^-]|$)","i")},Y=/HTML$/i,G=/^(?:input|select|textarea|button)$/i,K=/^h\d$/i,J=/^[^{]+\{\s*\[native \w/,Z=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ee=/[+~]/,te=new RegExp("\\\\[\\da-fA-F]{1,6}"+P+"?|\\\\([^\\r\\n\\f])","g"),ne=function(e,t){var n="0x"+e.slice(1)-65536;return t||(n<0?String.fromCharCode(n+65536):String.fromCharCode(n>>10|55296,1023&n|56320))},ie=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,re=function(e,t){return t?"\0"===e?"�":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e},oe=function(){f()},se=_e((function(e){return!0===e.disabled&&"fieldset"===e.nodeName.toLowerCase()}),{dir:"parentNode",next:"legend"});try{O.apply(M=j.call(w.childNodes),w.childNodes),M[w.childNodes.length].nodeType}catch(t){O={apply:M.length?function(e,t){N.apply(e,j.call(t))}:function(e,t){for(var n=e.length,i=0;e[n++]=t[i++];);e.length=n-1}}}function ae(e,t,i,r){var o,a,c,u,h,p,v,y=t&&t.ownerDocument,w=t?t.nodeType:9;if(i=i||[],"string"!=typeof e||!e||1!==w&&9!==w&&11!==w)return i;if(!r&&(f(t),t=t||d,g)){if(11!==w&&(h=Z.exec(e)))if(o=h[1]){if(9===w){if(!(c=t.getElementById(o)))return i;if(c.id===o)return i.push(c),i}else if(y&&(c=y.getElementById(o))&&b(t,c)&&c.id===o)return i.push(c),i}else{if(h[2])return O.apply(i,t.getElementsByTagName(e)),i;if((o=h[3])&&n.getElementsByClassName&&t.getElementsByClassName)return O.apply(i,t.getElementsByClassName(o)),i}if(n.qsa&&!E[e+" "]&&(!m||!m.test(e))&&(1!==w||"object"!==t.nodeName.toLowerCase())){if(v=e,y=t,1===w&&(V.test(e)||z.test(e))){for((y=ee.test(e)&&ve(t.parentNode)||t)===t&&n.scope||((u=t.getAttribute("id"))?u=u.replace(ie,re):t.setAttribute("id",u=_)),a=(p=s(e)).length;a--;)p[a]=(u?"#"+u:":scope")+" "+be(p[a]);v=p.join(",")}try{if(n.cssSupportsSelector&&!CSS.supports("selector("+v+")"))throw new Error;return O.apply(i,y.querySelectorAll(v)),i}catch(t){E(e,!0)}finally{u===_&&t.removeAttribute("id")}}}return l(e.replace(B,"$1"),t,i,r)}function le(){var e=[];return function t(n,r){return e.push(n+" ")>i.cacheLength&&delete t[e.shift()],t[n+" "]=r}}function ce(e){return e[_]=!0,e}function ue(e){var t=d.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function he(e,t){for(var n=e.split("|"),r=n.length;r--;)i.attrHandle[n[r]]=t}function fe(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 de(e){return function(t){return"input"===t.nodeName.toLowerCase()&&t.type===e}}function pe(e){return function(t){var n=t.nodeName.toLowerCase();return("input"===n||"button"===n)&&t.type===e}}function ge(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&&se(t)===e:t.disabled===e:"label"in t&&t.disabled===e}}function me(e){return ce((function(t){return t=+t,ce((function(n,i){for(var r,o=e([],n.length,t),s=o.length;s--;)n[r=o[s]]&&(n[r]=!(i[r]=n[r]))}))}))}function ve(e){return e&&void 0!==e.getElementsByTagName&&e}for(t in n=ae.support={},o=ae.isXML=function(e){var t=e&&e.namespaceURI,n=e&&(e.ownerDocument||e).documentElement;return!Y.test(t||n&&n.nodeName||"HTML")},f=ae.setDocument=function(e){var t,r,s=e?e.ownerDocument||e:w;return s!=d&&9===s.nodeType&&s.documentElement&&(p=(d=s).documentElement,g=!o(d),w!=d&&(r=d.defaultView)&&r.top!==r&&(r.addEventListener?r.addEventListener("unload",oe,!1):r.attachEvent&&r.attachEvent("onunload",oe)),n.scope=ue((function(e){return p.appendChild(e).appendChild(d.createElement("div")),void 0!==e.querySelectorAll&&!e.querySelectorAll(":scope fieldset div").length})),n.cssSupportsSelector=ue((function(){return CSS.supports("selector(*)")&&d.querySelectorAll(":is(:jqfake)")&&!CSS.supports("selector(:is(*,:jqfake))")})),n.attributes=ue((function(e){return e.className="i",!e.getAttribute("className")})),n.getElementsByTagName=ue((function(e){return e.appendChild(d.createComment("")),!e.getElementsByTagName("*").length})),n.getElementsByClassName=J.test(d.getElementsByClassName),n.getById=ue((function(e){return p.appendChild(e).id=_,!d.getElementsByName||!d.getElementsByName(_).length})),n.getById?(i.filter.ID=function(e){var t=e.replace(te,ne);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(te,ne);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,r,o=t.getElementById(e);if(o){if((n=o.getAttributeNode("id"))&&n.value===e)return[o];for(r=t.getElementsByName(e),i=0;o=r[i++];)if((n=o.getAttributeNode("id"))&&n.value===e)return[o]}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=[],r=0,o=t.getElementsByTagName(e);if("*"===e){for(;n=o[r++];)1===n.nodeType&&i.push(n);return i}return o},i.find.CLASS=n.getElementsByClassName&&function(e,t){if(void 0!==t.getElementsByClassName&&g)return t.getElementsByClassName(e)},v=[],m=[],(n.qsa=J.test(d.querySelectorAll))&&(ue((function(e){var t;p.appendChild(e).innerHTML="",e.querySelectorAll("[msallowcapture^='']").length&&m.push("[*^$]="+P+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||m.push("\\["+P+"*(?:value|"+$+")"),e.querySelectorAll("[id~="+_+"-]").length||m.push("~="),(t=d.createElement("input")).setAttribute("name",""),e.appendChild(t),e.querySelectorAll("[name='']").length||m.push("\\["+P+"*name"+P+"*="+P+"*(?:''|\"\")"),e.querySelectorAll(":checked").length||m.push(":checked"),e.querySelectorAll("a#"+_+"+*").length||m.push(".#.+[+~]"),e.querySelectorAll("\\\f"),m.push("[\\r\\n\\f]")})),ue((function(e){e.innerHTML="";var t=d.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=J.test(y=p.matches||p.webkitMatchesSelector||p.mozMatchesSelector||p.oMatchesSelector||p.msMatchesSelector))&&ue((function(e){n.disconnectedMatch=y.call(e,"*"),y.call(e,"[s!='']:x"),v.push("!=",R)})),n.cssSupportsSelector||m.push(":has"),m=m.length&&new RegExp(m.join("|")),v=v.length&&new RegExp(v.join("|")),t=J.test(p.compareDocumentPosition),b=t||J.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},I=t?function(e,t){if(e===t)return h=!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==d||e.ownerDocument==w&&b(w,e)?-1:t==d||t.ownerDocument==w&&b(w,t)?1:u?L(u,e)-L(u,t):0:4&i?-1:1)}:function(e,t){if(e===t)return h=!0,0;var n,i=0,r=e.parentNode,o=t.parentNode,s=[e],a=[t];if(!r||!o)return e==d?-1:t==d?1:r?-1:o?1:u?L(u,e)-L(u,t):0;if(r===o)return fe(e,t);for(n=e;n=n.parentNode;)s.unshift(n);for(n=t;n=n.parentNode;)a.unshift(n);for(;s[i]===a[i];)i++;return i?fe(s[i],a[i]):s[i]==w?-1:a[i]==w?1:0}),d},ae.matches=function(e,t){return ae(e,null,null,t)},ae.matchesSelector=function(e,t){if(f(e),n.matchesSelector&&g&&!E[t+" "]&&(!v||!v.test(t))&&(!m||!m.test(t)))try{var i=y.call(e,t);if(i||n.disconnectedMatch||e.document&&11!==e.document.nodeType)return i}catch(e){E(t,!0)}return 0":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(te,ne),e[3]=(e[3]||e[4]||e[5]||"").replace(te,ne),"~="===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]||ae.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]&&ae.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return Q.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&U.test(n)&&(t=s(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(te,ne).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 r=ae.attr(i,e);return null==r?"!="===t:!t||(r+="","="===t?r===n:"!="===t?r!==n:"^="===t?n&&0===r.indexOf(n):"*="===t?n&&-1:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function S(e,t,n){return p(t)?w.grep(e,(function(e,i){return!!t.call(e,i,e)!==n})):t.nodeType?w.grep(e,(function(e){return e===t!==n})):"string"!=typeof t?w.grep(e,(function(e){return-1)[^>]*|#([\w-]+))$/;(w.fn.init=function(e,t,n){var i,r;if(!e)return this;if(n=n||M,"string"==typeof e){if(!(i="<"===e[0]&&">"===e[e.length-1]&&3<=e.length?[null,e,null]:D.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 w?t[0]:t,w.merge(this,w.parseHTML(i[1],t&&t.nodeType?t.ownerDocument||t:m,!0)),I.test(i[1])&&w.isPlainObject(t))for(i in t)p(this[i])?this[i](t[i]):this.attr(i,t[i]);return this}return(r=m.getElementById(i[2]))&&(this[0]=r,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):p(e)?void 0!==n.ready?n.ready(e):e(w):w.makeArray(e,this)}).prototype=w.fn,M=w(m);var N=/^(?:parents|prev(?:Until|All))/,O={children:!0,contents:!0,next:!0,prev:!0};function j(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}w.fn.extend({has:function(e){var t=w(e,this),n=t.length;return this.filter((function(){for(var e=0;e\x20\t\r\n\f]*)/i,pe=/^$|^module$|\/(?:java|ecma)script/i;ue=m.createDocumentFragment().appendChild(m.createElement("div")),(he=m.createElement("input")).setAttribute("type","radio"),he.setAttribute("checked","checked"),he.setAttribute("name","t"),ue.appendChild(he),d.checkClone=ue.cloneNode(!0).cloneNode(!0).lastChild.checked,ue.innerHTML="",d.noCloneChecked=!!ue.cloneNode(!0).lastChild.defaultValue,ue.innerHTML="",d.option=!!ue.lastChild;var ge={thead:[1,"","
"],col:[2,"","
"],tr:[2,"","
"],td:[3,"","
"],_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&&E(e,t)?w.merge([e],n):n}function ve(e,t){for(var n=0,i=e.length;n",""]);var ye=/<|&#?\w+;/;function be(e,t,n,i,r){for(var o,s,a,l,c,u,h=t.createDocumentFragment(),f=[],d=0,p=e.length;d\s*$/g;function Se(e,t){return E(e,"table")&&E(11!==t.nodeType?t:t.firstChild,"tr")&&w(e).children("tbody")[0]||e}function Me(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function De(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,r,o,s,a;if(1===t.nodeType){if(Y.hasData(e)&&(a=Y.get(e).events))for(r in Y.remove(t,"handle events"),a)for(n=0,i=a[r].length;n").attr(e.scriptAttrs||{}).prop({charset:e.scriptCharset,src:e.url}).on("load error",n=function(e){t.remove(),n=null,e&&r("error"===e.type?404:200,e.type)}),m.head.appendChild(t[0])},abort:function(){n&&n()}}}));var Vt,Ut=[],Xt=/(=)\?(?=&|$)|\?\?/;w.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=Ut.pop()||w.expando+"_"+Ct.guid++;return this[e]=!0,e}}),w.ajaxPrefilter("json jsonp",(function(t,n,i){var r,o,s,a=!1!==t.jsonp&&(Xt.test(t.url)?"url":"string"==typeof t.data&&0===(t.contentType||"").indexOf("application/x-www-form-urlencoded")&&Xt.test(t.data)&&"data");if(a||"jsonp"===t.dataTypes[0])return r=t.jsonpCallback=p(t.jsonpCallback)?t.jsonpCallback():t.jsonpCallback,a?t[a]=t[a].replace(Xt,"$1"+r):!1!==t.jsonp&&(t.url+=(Tt.test(t.url)?"&":"?")+t.jsonp+"="+r),t.converters["script json"]=function(){return s||w.error(r+" was not called"),s[0]},t.dataTypes[0]="json",o=e[r],e[r]=function(){s=arguments},i.always((function(){void 0===o?w(e).removeProp(r):e[r]=o,t[r]&&(t.jsonpCallback=n.jsonpCallback,Ut.push(r)),s&&p(o)&&o(s[0]),s=o=void 0})),"script"})),d.createHTMLDocument=((Vt=m.implementation.createHTMLDocument("").body).innerHTML="
",2===Vt.childNodes.length),w.parseHTML=function(e,t,n){return"string"!=typeof e?[]:("boolean"==typeof t&&(n=t,t=!1),t||(d.createHTMLDocument?((i=(t=m.implementation.createHTMLDocument("")).createElement("base")).href=m.location.href,t.head.appendChild(i)):t=m),o=!n&&[],(r=I.exec(e))?[t.createElement(r[1])]:(r=be([e],t,o),o&&o.length&&w(o).remove(),w.merge([],r.childNodes)));var i,r,o},w.fn.load=function(e,t,n){var i,r,o,s=this,a=e.indexOf(" ");return-1").append(w.parseHTML(e)).find(i):e)})).always(n&&function(e,t){s.each((function(){n.apply(this,o||[e.responseText,t,e])}))}),this},w.expr.pseudos.animated=function(e){return w.grep(w.timers,(function(t){return e===t.elem})).length},w.offset={setOffset:function(e,t,n){var i,r,o,s,a,l,c=w.css(e,"position"),u=w(e),h={};"static"===c&&(e.style.position="relative"),a=u.offset(),o=w.css(e,"top"),l=w.css(e,"left"),("absolute"===c||"fixed"===c)&&-1<(o+l).indexOf("auto")?(s=(i=u.position()).top,r=i.left):(s=parseFloat(o)||0,r=parseFloat(l)||0),p(t)&&(t=t.call(e,n,w.extend({},a))),null!=t.top&&(h.top=t.top-a.top+s),null!=t.left&&(h.left=t.left-a.left+r),"using"in t?t.using.call(e,h):u.css(h)}},w.fn.extend({offset:function(e){if(arguments.length)return void 0===e?this:this.each((function(t){w.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],r={top:0,left:0};if("fixed"===w.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"===w.css(e,"position");)e=e.parentNode;e&&e!==i&&1===e.nodeType&&((r=w(e).offset()).top+=w.css(e,"borderTopWidth",!0),r.left+=w.css(e,"borderLeftWidth",!0))}return{top:t.top-r.top-w.css(i,"marginTop",!0),left:t.left-r.left-w.css(i,"marginLeft",!0)}}},offsetParent:function(){return this.map((function(){for(var e=this.offsetParent;e&&"static"===w.css(e,"position");)e=e.offsetParent;return e||ie}))}}),w.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},(function(e,t){var n="pageYOffset"===t;w.fn[e]=function(i){return B(this,(function(e,i,r){var o;if(g(e)?o=e:9===e.nodeType&&(o=e.defaultView),void 0===r)return o?o[t]:e[i];o?o.scrollTo(n?o.pageXOffset:r,n?r:o.pageYOffset):e[i]=r}),e,i,arguments.length)}})),w.each(["top","left"],(function(e,t){w.cssHooks[t]=We(d.pixelPosition,(function(e,n){if(n)return n=Be(e,t),Le.test(n)?w(e).position()[t]+"px":n}))})),w.each({Height:"height",Width:"width"},(function(e,t){w.each({padding:"inner"+e,content:t,"":"outer"+e},(function(n,i){w.fn[i]=function(r,o){var s=arguments.length&&(n||"boolean"!=typeof r),a=n||(!0===r||!0===o?"margin":"border");return B(this,(function(t,n,r){var o;return g(t)?0===i.indexOf("outer")?t["inner"+e]:t.document.documentElement["client"+e]:9===t.nodeType?(o=t.documentElement,Math.max(t.body["scroll"+e],o["scroll"+e],t.body["offset"+e],o["offset"+e],o["client"+e])):void 0===r?w.css(t,n,a):w.style(t,n,r,a)}),t,s?r:void 0,s)}}))})),w.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],(function(e,t){w.fn[t]=function(e){return this.on(t,e)}})),w.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)},hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)}}),w.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){w.fn[t]=function(e,n){return 0o;o++)i[r][o]=e[r][o]+(t[r][o]-e[r][o])*n}return i}function r(e){var t="";return e.rotate&&(t+="rotate("+e.rotate.join(" ")+")"),t}function o(e,t,n){for(var i=[],r=0,o=e.length;o>r;r++){i.push([e[r][0]]);for(var s=1,a=e[r].length;a>s;s++)i[r].push(e[r][s]+(t[r][s]-e[r][s])*n)}return i}function s(e){var t;if(e instanceof Array){t=[];for(var n=0,i=e.length;i>n;n++)t[n]=s(e[n]);return t}if(e instanceof Object){for(var r in t={},e)e.hasOwnProperty(r)&&(t[r]=s(e[r]));return t}return e}function a(e,t,n){if(!e)throw new Error('SVGMorpheus > "element" is required');if("string"==typeof e&&!(e=document.querySelector(e)))throw new Error('SVGMorpheus > "element" query is not related to an existing DOM node');if(t&&typeof t!=typeof{})throw new Error('SVGMorpheus > "options" parameter must be an object');if(t=t||{},n&&"function"!=typeof n)throw new Error('SVGMorpheus > "callback" parameter must be a function');var i=this;this._icons={},this._curIconId=t.iconId||"",this._toIconId="",this._curIconItems=[],this._fromIconItems=[],this._toIconItems=[],this._morphNodes=[],this._morphG,this._startTime,this._defDuration=t.duration||750,this._defEasing=t.easing||"quad-in-out",this._defRotation=t.rotation||"clock",this._defCallback=n||function(){},this._duration=this._defDuration,this._easing=this._defEasing,this._rotation=this._defRotation,this._callback=this._defCallback,this._rafid,this._fnTick=function(e){i._startTime||(i._startTime=e);var t=Math.min((e-i._startTime)/i._duration,1);i._updateAnimationProgress(t),1>t?i._rafid=c(i._fnTick):i._animationEnd()},this._svgDoc="SVG"===e.nodeName.toUpperCase()?e:e.getSVGDocument(),this._svgDoc?i._init():e.addEventListener("load",(function(){i._svgDoc=e.getSVGDocument(),i._init()}),!1)}var l={"circ-in":function(e){return-1*(Math.sqrt(1-e*e)-1)},"circ-out":function(e){return Math.sqrt(1-(e-=1)*e)},"circ-in-out":function(e){return(e/=.5)<1?-.5*(Math.sqrt(1-e*e)-1):.5*(Math.sqrt(1-(e-=2)*e)+1)},"cubic-in":function(e){return e*e*e},"cubic-out":function(e){return--e*e*e+1},"cubic-in-out":function(e){return.5>e?4*e*e*e:(e-1)*(2*e-2)*(2*e-2)+1},"elastic-in":function(e){var t=1.70158,n=0,i=1;if(0==e)return 0;if(1==e)return 1;if(n||(n=.3),ie?-.5*i*Math.pow(2,10*(e-=1))*Math.sin(2*(e-t)*Math.PI/n):i*Math.pow(2,-10*(e-=1))*Math.sin(2*(e-t)*Math.PI/n)*.5+1},"expo-in":function(e){return 0==e?0:Math.pow(2,10*(e-1))},"expo-out":function(e){return 1==e?1:1-Math.pow(2,-10*e)},"expo-in-out":function(e){return 0==e?0:1==e?1:(e/=.5)<1?.5*Math.pow(2,10*(e-1)):.5*(2-Math.pow(2,-10*--e))},linear:function(e){return e},"quad-in":function(e){return e*e},"quad-out":function(e){return e*(2-e)},"quad-in-out":function(e){return.5>e?2*e*e:(4-2*e)*e-1},"quart-in":function(e){return e*e*e*e},"quart-out":function(e){return 1- --e*e*e*e},"quart-in-out":function(e){return.5>e?8*e*e*e*e:1-8*--e*e*e*e},"quint-in":function(e){return e*e*e*e*e},"quint-out":function(e){return 1+--e*e*e*e*e},"quint-in-out":function(e){return.5>e?16*e*e*e*e*e:1+16*--e*e*e*e*e},"sine-in":function(e){return 1-Math.cos(e*(Math.PI/2))},"sine-out":function(e){return Math.sin(e*(Math.PI/2))},"sine-in-out":function(e){return.5*(1-Math.cos(Math.PI*e))}},c=window.requestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||window.oRequestAnimationFrame,u=window.cancelAnimationFrame||window.mozCancelAnimationFrame||window.webkitCancelAnimationFrame||window.oCancelAnimationFrame,h="\t\n\v\f\r   ᠎              \u2028\u2029",f=new RegExp("([a-z])["+h+",]*((-?\\d*\\.?\\d*(?:e[\\-+]?\\d+)?["+h+"]*,?["+h+"]*)+)","ig"),d=new RegExp("(-?\\d*\\.?\\d*(?:e[\\-+]?\\d+)?)["+h+"]*,?["+h+"]*","ig"),p=function(e){if(!e)return null;if(typeof e==typeof[])return e;var t={a:7,c:6,o:2,h:1,l:2,m:2,r:4,q:4,s:4,t:2,v:1,u:3,z:0},n=[];return String(e).replace(f,(function(e,i,r){var o=[],s=i.toLowerCase();if(r.replace(d,(function(e,t){t&&o.push(+t)})),"m"==s&&o.length>2&&(n.push([i].concat(o.splice(0,2))),s="l",i="m"==i?"l":"L"),"o"==s&&1==o.length&&n.push([i,o[0]]),"r"==s)n.push([i].concat(o));else for(;o.length>=t[s]&&(n.push([i].concat(o.splice(0,t[s]))),t[s]););})),n},g=function(e,t){for(var n=[],i=0,r=e.length;r-2*!t>i;i+=2){var o=[{x:+e[i-2],y:+e[i-1]},{x:+e[i],y:+e[i+1]},{x:+e[i+2],y:+e[i+3]},{x:+e[i+4],y:+e[i+5]}];t?i?r-4==i?o[3]={x:+e[0],y:+e[1]}:r-2==i&&(o[2]={x:+e[0],y:+e[1]},o[3]={x:+e[2],y:+e[3]}):o[0]={x:+e[r-2],y:+e[r-1]}:r-4==i?o[3]=o[2]:i||(o[0]={x:+e[i],y:+e[i+1]}),n.push(["C",(-o[0].x+6*o[1].x+o[2].x)/6,(-o[0].y+6*o[1].y+o[2].y)/6,(o[1].x+6*o[2].x-o[3].x)/6,(o[1].y+6*o[2].y-o[3].y)/6,o[2].x,o[2].y])}return n},m=function(e,t,n,i,r){if(null==r&&null==i&&(i=n),e=+e,t=+t,n=+n,i=+i,null!=r)var o=Math.PI/180,s=e+n*Math.cos(-i*o),a=e+n*Math.cos(-r*o),l=[["M",s,t+n*Math.sin(-i*o)],["A",n,n,0,+(r-i>180),0,a,t+n*Math.sin(-r*o)]];else l=[["M",e,t],["m",0,-i],["a",n,i,0,1,1,0,2*i],["a",n,i,0,1,1,0,-2*i],["z"]];return l},v=function(e){if(!(e=p(e))||!e.length)return[["M",0,0]];var t,n=[],i=0,r=0,o=0,s=0,a=0;"M"==e[0][0]&&(o=i=+e[0][1],s=r=+e[0][2],a++,n[0]=["M",i,r]);for(var l,c,u=3==e.length&&"M"==e[0][0]&&"R"==e[1][0].toUpperCase()&&"Z"==e[2][0].toUpperCase(),h=a,f=e.length;f>h;h++){if(n.push(l=[]),(t=(c=e[h])[0])!=t.toUpperCase())switch(l[0]=t.toUpperCase(),l[0]){case"A":l[1]=c[1],l[2]=c[2],l[3]=c[3],l[4]=c[4],l[5]=c[5],l[6]=+c[6]+i,l[7]=+c[7]+r;break;case"V":l[1]=+c[1]+r;break;case"H":l[1]=+c[1]+i;break;case"R":for(var d=[i,r].concat(c.slice(1)),v=2,y=d.length;y>v;v++)d[v]=+d[v]+i,d[++v]=+d[v]+r;n.pop(),n=n.concat(g(d,u));break;case"O":n.pop(),(d=m(i,r,c[1],c[2])).push(d[0]),n=n.concat(d);break;case"U":n.pop(),n=n.concat(m(i,r,c[1],c[2],c[3])),l=["U"].concat(n[n.length-1].slice(-2));break;case"M":o=+c[1]+i,s=+c[2]+r;default:for(v=1,y=c.length;y>v;v++)l[v]=+c[v]+(v%2?i:r)}else if("R"==t)d=[i,r].concat(c.slice(1)),n.pop(),n=n.concat(g(d,u)),l=["R"].concat(c.slice(-2));else if("O"==t)n.pop(),(d=m(i,r,c[1],c[2])).push(d[0]),n=n.concat(d);else if("U"==t)n.pop(),n=n.concat(m(i,r,c[1],c[2],c[3])),l=["U"].concat(n[n.length-1].slice(-2));else for(var b=0,_=c.length;_>b;b++)l[b]=c[b];if("O"!=(t=t.toUpperCase()))switch(l[0]){case"Z":i=+o,r=+s;break;case"H":i=l[1];break;case"V":r=l[1];break;case"M":o=l[l.length-2],s=l[l.length-1];default:i=l[l.length-2],r=l[l.length-1]}}return n},y=function(e,t,n,i){return[e,t,n,i,n,i]},b=function(e,t,n,i,r,o){var s=1/3,a=2/3;return[s*e+a*n,s*t+a*i,s*r+a*n,s*o+a*i,r,o]},_=function(e,t,n,i,r,o,s,a,l,c){var u,h=120*Math.PI/180,f=Math.PI/180*(+r||0),d=[],p=function(e,t,n){return{x:e*Math.cos(n)-t*Math.sin(n),y:e*Math.sin(n)+t*Math.cos(n)}};if(c)T=c[0],k=c[1],x=c[2],C=c[3];else{e=(u=p(e,t,-f)).x,t=u.y,a=(u=p(a,l,-f)).x,l=u.y;var g=(Math.cos(Math.PI/180*r),Math.sin(Math.PI/180*r),(e-a)/2),m=(t-l)/2,v=g*g/(n*n)+m*m/(i*i);v>1&&(n*=v=Math.sqrt(v),i*=v);var y=n*n,b=i*i,w=(o==s?-1:1)*Math.sqrt(Math.abs((y*b-y*m*m-b*g*g)/(y*m*m+b*g*g))),x=w*n*m/i+(e+a)/2,C=w*-i*g/n+(t+l)/2,T=Math.asin(((t-C)/i).toFixed(9)),k=Math.asin(((l-C)/i).toFixed(9));T=x>e?Math.PI-T:T,k=x>a?Math.PI-k:k,0>T&&(T=2*Math.PI+T),0>k&&(k=2*Math.PI+k),s&&T>k&&(T-=2*Math.PI),!s&&k>T&&(k-=2*Math.PI)}var A=k-T;if(Math.abs(A)>h){var E=k,I=a,S=l;k=T+h*(s&&k>T?1:-1),a=x+n*Math.cos(k),l=C+i*Math.sin(k),d=_(a,l,n,i,r,0,s,I,S,[k,E,x,C])}A=k-T;var M=Math.cos(T),D=Math.sin(T),N=Math.cos(k),O=Math.sin(k),j=Math.tan(A/4),L=4/3*n*j,$=4/3*i*j,P=[e,t],q=[e+L*D,t-$*M],H=[a+L*O,l-$*N],R=[a,l];if(q[0]=2*P[0]-q[0],q[1]=2*P[1]-q[1],c)return[q,H,R].concat(d);for(var F=[],B=0,W=(d=[q,H,R].concat(d).join().split(",")).length;W>B;B++)F[B]=B%2?p(d[B-1],d[B],f).y:p(d[B],d[B+1],f).x;return F},w=function(e,t){for(var n=v(e),i=t&&v(t),r={x:0,y:0,bx:0,by:0,X:0,Y:0,qx:null,qy:null},o={x:0,y:0,bx:0,by:0,X:0,Y:0,qx:null,qy:null},s=function(e,t,n){var i,r;if(!e)return["C",t.x,t.y,t.x,t.y,t.x,t.y];switch(!(e[0]in{T:1,Q:1})&&(t.qx=t.qy=null),e[0]){case"M":t.X=e[1],t.Y=e[2];break;case"A":e=["C"].concat(_.apply(0,[t.x,t.y].concat(e.slice(1))));break;case"S":"C"==n||"S"==n?(i=2*t.x-t.bx,r=2*t.y-t.by):(i=t.x,r=t.y),e=["C",i,r].concat(e.slice(1));break;case"T":"Q"==n||"T"==n?(t.qx=2*t.x-t.qx,t.qy=2*t.y-t.qy):(t.qx=t.x,t.qy=t.y),e=["C"].concat(b(t.x,t.y,t.qx,t.qy,e[1],e[2]));break;case"Q":t.qx=e[1],t.qy=e[2],e=["C"].concat(b(t.x,t.y,e[1],e[2],e[3],e[4]));break;case"L":e=["C"].concat(y(t.x,t.y,e[1],e[2]));break;case"H":e=["C"].concat(y(t.x,t.y,e[1],t.y));break;case"V":e=["C"].concat(y(t.x,t.y,t.x,e[1]));break;case"Z":e=["C"].concat(y(t.x,t.y,t.X,t.Y))}return e},a=function(e,t){if(e[t].length>7){e[t].shift();for(var r=e[t];r.length;)c[t]="A",i&&(u[t]="A"),e.splice(t++,0,["C"].concat(r.splice(0,6)));e.splice(t,1),p=Math.max(n.length,i&&i.length||0)}},l=function(e,t,r,o,s){e&&t&&"M"==e[s][0]&&"M"!=t[s][0]&&(t.splice(s,0,["M",o.x,o.y]),r.bx=0,r.by=0,r.x=e[s][1],r.y=e[s][2],p=Math.max(n.length,i&&i.length||0))},c=[],u=[],h="",f="",d=0,p=Math.max(n.length,i&&i.length||0);p>d;d++){n[d]&&(h=n[d][0]),"C"!=h&&(c[d]=h,d&&(f=c[d-1])),n[d]=s(n[d],r,f),"A"!=c[d]&&"C"==h&&(c[d]="C"),a(n,d),i&&(i[d]&&(h=i[d][0]),"C"!=h&&(u[d]=h,d&&(f=u[d-1])),i[d]=s(i[d],o,f),"A"!=u[d]&&"C"==h&&(u[d]="C"),a(i,d)),l(n,i,r,o,d),l(i,n,o,r,d);var g=n[d],m=i&&i[d],w=g.length,x=i&&m.length;r.x=g[w-2],r.y=g[w-1],r.bx=parseFloat(g[w-4])||r.x,r.by=parseFloat(g[w-3])||r.y,o.bx=i&&(parseFloat(m[x-4])||o.x),o.by=i&&(parseFloat(m[x-3])||o.y),o.x=i&&m[x-2],o.y=i&&m[x-1]}return i?[n,i]:n},x=function(e,t,n,i,r,o,s,a){for(var l,c,u,h,f,d,p,g,m=[],v=[[],[]],y=0;2>y;++y)if(0==y?(c=6*e-12*n+6*r,l=-3*e+9*n-9*r+3*s,u=3*n-3*e):(c=6*t-12*i+6*o,l=-3*t+9*i-9*o+3*a,u=3*i-3*t),Math.abs(l)<1e-12){if(Math.abs(c)<1e-12)continue;(h=-u/c)>0&&1>h&&m.push(h)}else p=c*c-4*u*l,g=Math.sqrt(p),0>p||((f=(-c+g)/(2*l))>0&&1>f&&m.push(f),(d=(-c-g)/(2*l))>0&&1>d&&m.push(d));for(var b,_=m.length,w=_;_--;)b=1-(h=m[_]),v[0][_]=b*b*b*e+3*b*b*h*n+3*b*h*h*r+h*h*h*s,v[1][_]=b*b*b*t+3*b*b*h*i+3*b*h*h*o+h*h*h*a;return v[0][w]=e,v[1][w]=t,v[0][w+1]=s,v[1][w+1]=a,v[0].length=v[1].length=w+2,{min:{x:Math.min.apply(0,v[0]),y:Math.min.apply(0,v[1])},max:{x:Math.max.apply(0,v[0]),y:Math.max.apply(0,v[1])}}},C=function(e){for(var t,n=0,i=0,r=[],o=[],s=0,a=e.length;a>s;s++)if("M"==(t=e[s])[0])n=t[1],i=t[2],r.push(n),o.push(i);else{var l=x(n,i,t[1],t[2],t[3],t[4],t[5],t[6]);r=r.concat(l.min.x,l.max.x),o=o.concat(l.min.y,l.max.y),n=t[5],i=t[6]}var c=Math.min.apply(0,r),u=Math.min.apply(0,o),h=function(e,t,n,i){return null==e&&(e=t=n=i=0),null==t&&(t=e.y,n=e.width,i=e.height,e=e.x),{x:e,y:t,w:n,h:i,cx:e+n/2,cy:t+i/2}}(c,u,Math.max.apply(0,r)-c,Math.max.apply(0,o)-u);return h},T=/,?([a-z]),?/gi,k=function(e){return e.join(",").replace(T,"$1")},A={hs:1,rg:1},E=/^\s*((#[a-f\d]{6})|(#[a-f\d]{3})|rgba?\(\s*([\d\.]+%?\s*,\s*[\d\.]+%?\s*,\s*[\d\.]+%?(?:\s*,\s*[\d\.]+%?)?)\s*\)|hsba?\(\s*([\d\.]+(?:deg|\xb0|%)?\s*,\s*[\d\.]+%?\s*,\s*[\d\.]+(?:%?\s*,\s*[\d\.]+)?%?)\s*\)|hsla?\(\s*([\d\.]+(?:deg|\xb0|%)?\s*,\s*[\d\.]+%?\s*,\s*[\d\.]+(?:%?\s*,\s*[\d\.]+)?%?)\s*\))\s*$/i,I=new RegExp("["+h+"]*,["+h+"]*"),S=function(e){var t=Math.round;return"rgba("+[t(e.r),t(e.g),t(e.b),+e.opacity.toFixed(2)]+")"},M=function(e){var t=window.document.getElementsByTagName("head")[0]||window.document.getElementsByTagName("svg")[0],n="rgb(255, 0, 0)";return M=function(e){if("red"==e.toLowerCase())return n;t.style.color=n,t.style.color=e;var i=window.document.defaultView.getComputedStyle(t,"").getPropertyValue("color");return i==n?null:i},M(e)},D=function(e,t,n,i){return{r:e=Math.round(255*e),g:t=Math.round(255*t),b:n=Math.round(255*n),opacity:isFinite(i)?i:1}},N=function(e){if(!e||(e=String(e)).indexOf("-")+1)return{r:-1,g:-1,b:-1,opacity:-1,error:1};if("none"==e)return{r:-1,g:-1,b:-1,opacity:-1};if(!(A.hasOwnProperty(e.toLowerCase().substring(0,2))||"#"==e.charAt())&&(e=M(e)),!e)return{r:-1,g:-1,b:-1,opacity:-1,error:1};var t,n,i,r,o,s,a=e.match(E);return a?(a[2]&&(i=parseInt(a[2].substring(5),16),n=parseInt(a[2].substring(3,5),16),t=parseInt(a[2].substring(1,3),16)),a[3]&&(i=parseInt((o=a[3].charAt(3))+o,16),n=parseInt((o=a[3].charAt(2))+o,16),t=parseInt((o=a[3].charAt(1))+o,16)),a[4]&&(s=a[4].split(I),t=parseFloat(s[0]),"%"==s[0].slice(-1)&&(t*=2.55),n=parseFloat(s[1]),"%"==s[1].slice(-1)&&(n*=2.55),i=parseFloat(s[2]),"%"==s[2].slice(-1)&&(i*=2.55),"rgba"==a[1].toLowerCase().slice(0,4)&&(r=parseFloat(s[3])),s[3]&&"%"==s[3].slice(-1)&&(r/=100)),a[5]?(s=a[5].split(I),t=parseFloat(s[0]),"%"==s[0].slice(-1)&&(t/=100),n=parseFloat(s[1]),"%"==s[1].slice(-1)&&(n/=100),i=parseFloat(s[2]),"%"==s[2].slice(-1)&&(i/=100),("deg"==s[0].slice(-3)||"°"==s[0].slice(-1))&&(t/=360),"hsba"==a[1].toLowerCase().slice(0,4)&&(r=parseFloat(s[3])),s[3]&&"%"==s[3].slice(-1)&&(r/=100),function(e,t,n,i){var r,o,s,a,l;return typeof e==typeof{}&&"h"in e&&"s"in e&&"b"in e&&(n=e.b,t=e.s,i=(e=e.h).o),e=(e*=360)%360/60,a=(l=n*t)*(1-Math.abs(e%2-1)),r=o=s=n-l,D(r+=[l,a,0,0,a,l][e=~~e],o+=[a,l,l,a,0,0][e],s+=[0,0,a,l,l,a][e],i)}(t,n,i,r)):a[6]?(s=a[6].split(I),t=parseFloat(s[0]),"%"==s[0].slice(-1)&&(t/=100),n=parseFloat(s[1]),"%"==s[1].slice(-1)&&(n/=100),i=parseFloat(s[2]),"%"==s[2].slice(-1)&&(i/=100),("deg"==s[0].slice(-3)||"°"==s[0].slice(-1))&&(t/=360),"hsla"==a[1].toLowerCase().slice(0,4)&&(r=parseFloat(s[3])),s[3]&&"%"==s[3].slice(-1)&&(r/=100),function(e,t,n,i){var r,o,s,a,l;return typeof e==typeof{}&&"h"in e&&"s"in e&&"l"in e&&(n=e.l,t=e.s,e=e.h),(e>1||t>1||n>1)&&(e/=360,t/=100,n/=100),e=(e*=360)%360/60,a=(l=2*t*(.5>n?n:1-n))*(1-Math.abs(e%2-1)),r=o=s=n-l/2,D(r+=[l,a,0,0,a,l][e=~~e],o+=[a,l,l,a,0,0][e],s+=[0,0,a,l,l,a][e],i)}(t,n,i,r)):(t=Math.min(Math.round(t),255),n=Math.min(Math.round(n),255),i=Math.min(Math.round(i),255),r=Math.min(Math.max(r,0),1),(a={r:t,g:n,b:i}).opacity=isFinite(r)?r:1,a)):{r:-1,g:-1,b:-1,opacity:-1,error:1}};return a.prototype._init=function(){if("SVG"!==this._svgDoc.nodeName.toUpperCase()&&(this._svgDoc=this._svgDoc.getElementsByTagName("svg")[0]),this._svgDoc){var e,t,n,i,r,o,s,a="";for(e=this._svgDoc.childNodes.length-1;e>=0;e--){var l=this._svgDoc.childNodes[e];if("G"===l.nodeName.toUpperCase()&&(t=l.getAttribute("id"))){for(n=[],r=0,o=l.childNodes.length;o>r;r++){var c=l.childNodes[r];switch(i={path:"",attrs:{},style:{}},c.nodeName.toUpperCase()){case"PATH":i.path=c.getAttribute("d");break;case"CIRCLE":var u=1*c.getAttribute("cx"),h=1*c.getAttribute("cy"),f=1*c.getAttribute("r");i.path="M"+(u-f)+","+h+"a"+f+","+f+" 0 1,0 "+2*f+",0a"+f+","+f+" 0 1,0 -"+2*f+",0z";break;case"ELLIPSE":u=1*c.getAttribute("cx"),h=1*c.getAttribute("cy");var d=1*c.getAttribute("rx"),p=1*c.getAttribute("ry");i.path="M"+(u-d)+","+h+"a"+d+","+p+" 0 1,0 "+2*d+",0a"+d+","+p+" 0 1,0 -"+2*d+",0z";break;case"RECT":var g=1*c.getAttribute("x"),m=1*c.getAttribute("y"),v=1*c.getAttribute("width"),y=1*c.getAttribute("height");d=1*c.getAttribute("rx"),p=1*c.getAttribute("ry");i.path=d||p?"M"+(g+d)+","+m+"l"+(v-2*d)+",0a"+d+","+p+" 0 0,1 "+d+","+p+"l0,"+(y-2*p)+"a"+d+","+p+" 0 0,1 -"+d+","+p+"l"+(2*d-v)+",0a"+d+","+p+" 0 0,1 -"+d+",-"+p+"l0,"+(2*p-y)+"a"+d+","+p+" 0 0,1 "+d+",-"+p+"z":"M"+g+","+m+"l"+v+",0l0,"+y+"l-"+v+",0z";break;case"POLYGON":for(var b=c.getAttribute("points").split(/\s+/),_="",w=0,x=b.length;x>w;w++)_+=(w?"L":"M")+b[w];i.path=_+"z";break;case"LINE":var C=1*c.getAttribute("x1"),T=1*c.getAttribute("y1"),k=1*c.getAttribute("x2"),A=1*c.getAttribute("y2");i.path="M"+C+","+T+"L"+k+","+A+"z"}if(""!=i.path){w=0;for(var E=c.attributes.length;E>w;w++){var I=c.attributes[w];if(I.specified){var S=I.name.toLowerCase();switch(S){case"fill":case"fill-opacity":case"opacity":case"stroke":case"stroke-opacity":case"stroke-width":i.attrs[S]=I.value}}}for(var M=0,D=c.style.length;D>M;M++){var N=c.style[M];switch(N){case"fill":case"fill-opacity":case"opacity":case"stroke":case"stroke-opacity":case"stroke-width":i.style[N]=c.style[N]}}n.push(i)}}n.length>0&&(s={id:t,items:n},this._icons[t]=s),this._morphG?this._svgDoc.removeChild(l):(a=t,this._morphG=document.createElementNS("http://www.w3.org/2000/svg","g"),this._svgDoc.replaceChild(this._morphG,l))}}""!==a&&(this._setupAnimation(a),this._updateAnimationProgress(1),this._animationEnd())}},a.prototype._setupAnimation=function(e){if(e&&this._icons[e]){var i,r;for(this._toIconId=e,this._startTime=void 0,this._fromIconItems=s(this._curIconItems),this._toIconItems=s(this._icons[e].items),i=0,r=this._morphNodes.length;r>i;i++){var o=this._morphNodes[i];o.fromIconItemIdx=i,o.toIconItemIdx=i}var a,l=Math.max(this._fromIconItems.length,this._toIconItems.length);for(i=0;l>i;i++)if(this._fromIconItems[i]||(this._toIconItems[i]?(a=C(w(this._toIconItems[i].path)),this._fromIconItems.push({path:"M"+a.cx+","+a.cy+"l0,0",attrs:{},style:{},trans:{rotate:[0,a.cx,a.cy]}})):this._fromIconItems.push({path:"M0,0l0,0",attrs:{},style:{},trans:{rotate:[0,0,0]}})),this._toIconItems[i]||(this._fromIconItems[i]?(a=C(w(this._fromIconItems[i].path)),this._toIconItems.push({path:"M"+a.cx+","+a.cy+"l0,0",attrs:{},style:{},trans:{rotate:[0,a.cx,a.cy]}})):this._toIconItems.push({path:"M0,0l0,0",attrs:{},style:{},trans:{rotate:[0,0,0]}})),!this._morphNodes[i]){var c=document.createElementNS("http://www.w3.org/2000/svg","path");this._morphG.appendChild(c),this._morphNodes.push({node:c,fromIconItemIdx:i,toIconItemIdx:i})}for(i=0;l>i;i++){var u=this._fromIconItems[i],h=this._toIconItems[i],f=w(this._fromIconItems[i].path,this._toIconItems[i].path);u.curve=f[0],h.curve=f[1];var d=n(this._fromIconItems[i].attrs,this._toIconItems[i].attrs);u.attrsNorm=d[0],h.attrsNorm=d[1],u.attrs=t(u.attrsNorm),h.attrs=t(h.attrsNorm);var p=n(this._fromIconItems[i].style,this._toIconItems[i].style);u.styleNorm=p[0],h.styleNorm=p[1],u.style=t(u.styleNorm),h.style=t(h.styleNorm),a=C(h.curve),h.trans={rotate:[0,a.cx,a.cy]};var g,m=this._rotation;switch("random"===m&&(m=Math.random()<.5?"counterclock":"clock"),m){case"none":u.trans.rotate&&(h.trans.rotate[0]=u.trans.rotate[0]);break;case"counterclock":u.trans.rotate?(h.trans.rotate[0]=u.trans.rotate[0]-360,g=-u.trans.rotate[0]%360,h.trans.rotate[0]+=180>g?g:g-360):h.trans.rotate[0]=-360;break;default:u.trans.rotate?(h.trans.rotate[0]=u.trans.rotate[0]+360,g=u.trans.rotate[0]%360,h.trans.rotate[0]+=180>g?-g:360-g):h.trans.rotate[0]=360}}this._curIconItems=s(this._fromIconItems)}},a.prototype._updateAnimationProgress=function(n){var s,a,c,u;for(n=l[this._easing](n),s=0,u=this._curIconItems.length;u>s;s++)this._curIconItems[s].curve=o(this._fromIconItems[s].curve,this._toIconItems[s].curve,n),this._curIconItems[s].path=k(this._curIconItems[s].curve),this._curIconItems[s].attrsNorm=e(this._fromIconItems[s].attrsNorm,this._toIconItems[s].attrsNorm,n),this._curIconItems[s].attrs=t(this._curIconItems[s].attrsNorm),this._curIconItems[s].styleNorm=e(this._fromIconItems[s].styleNorm,this._toIconItems[s].styleNorm,n),this._curIconItems[s].style=t(this._curIconItems[s].styleNorm),this._curIconItems[s].trans=i(this._fromIconItems[s].trans,this._toIconItems[s].trans,n),this._curIconItems[s].transStr=r(this._curIconItems[s].trans);for(s=0,u=this._morphNodes.length;u>s;s++){var h=this._morphNodes[s];h.node.setAttribute("d",this._curIconItems[s].path);var f=this._curIconItems[s].attrs;for(a in f)h.node.setAttribute(a,f[a]);var d=this._curIconItems[s].style;for(c in d)h.node.style[c]=d[c];h.node.setAttribute("transform",this._curIconItems[s].transStr)}},a.prototype._animationEnd=function(){for(var e=this._morphNodes.length-1;e>=0;e--){var t=this._morphNodes[e];this._icons[this._toIconId].items[e]?t.node.setAttribute("d",this._icons[this._toIconId].items[e].path):(t.node.parentNode.removeChild(t.node),this._morphNodes.splice(e,1))}this._curIconId=this._toIconId,this._toIconId="",this._callback()},a.prototype.to=function(e,t,n){if(e!==this._toIconId){if(t&&typeof t!=typeof{})throw new Error('SVGMorpheus.to() > "options" parameter must be an object');if(t=t||{},n&&"function"!=typeof n)throw new Error('SVGMorpheus.to() > "callback" parameter must be a function');u(this._rafid),this._duration=t.duration||this._defDuration,this._easing=t.easing||this._defEasing,this._rotation=t.rotation||this._defRotation,this._callback=n||this._defCallback,this._setupAnimation(e),this._rafid=c(this._fnTick)}},a}();(function(){var e,t=window.Messenger;e=window.Messenger=function(){return e._call.apply(this,arguments)},window.Messenger.noConflict=function(){return window.Messenger=t,e}})(),window.Messenger._=function(){if(window._)return window._;var e=Array.prototype,t=Object.prototype,n=Function.prototype,i=(e.push,e.slice),r=(e.concat,t.toString);t.hasOwnProperty;var o=e.forEach,s=(e.map,e.reduce,e.reduceRight,e.filter),a=(e.every,e.some,e.indexOf,e.lastIndexOf,Array.isArray,Object.keys),l=n.bind,c={},u={},h=c.each=c.forEach=function(e,t,n){if(null!=e)if(o&&e.forEach===o)e.forEach(t,n);else if(e.length===+e.length){for(var i=0,r=e.length;r>i;i++)if(t.call(n,e[i],i,e)===u)return}else for(var s in e)if(c.has(e,s)&&t.call(n,e[s],s,e)===u)return};c.result=function(e,t){if(null==e)return null;var n=e[t];return c.isFunction(n)?n.call(e):n},c.once=function(e){var t,n=!1;return function(){return n||(n=!0,t=e.apply(this,arguments),e=null),t}};var f=0;return c.uniqueId=function(e){var t=++f+"";return e?e+t:t},c.filter=c.select=function(e,t,n){var i=[];return null==e?i:s&&e.filter===s?e.filter(t,n):(h(e,(function(e,r,o){t.call(n,e,r,o)&&(i[i.length]=e)})),i)},h(["Arguments","Function","String","Number","Date","RegExp"],(function(e){c["is"+e]=function(t){return r.call(t)=="[object "+e+"]"}})),c.defaults=function(e){return h(i.call(arguments,1),(function(t){if(t)for(var n in t)null==e[n]&&(e[n]=t[n])})),e},c.extend=function(e){return h(i.call(arguments,1),(function(t){if(t)for(var n in t)e[n]=t[n]})),e},c.keys=a||function(e){if(e!==Object(e))throw new TypeError("Invalid object");var t=[];for(var n in e)c.has(e,n)&&(t[t.length]=n);return t},c.bind=function(e,t){if(e.bind===l&&l)return l.apply(e,i.call(arguments,1));var n=i.call(arguments,2);return function(){return e.apply(t,n.concat(i.call(arguments)))}},c.isObject=function(e){return e===Object(e)},c}(),window.Messenger.Events=function(){if(window.Backbone&&Backbone.Events)return Backbone.Events;return function(){var e=/\s+/,t=function(t,n,i,r){if(!i)return!0;if("object"==typeof i)for(var o in i)t[n].apply(t,[o,i[o]].concat(r));else{if(!e.test(i))return!0;for(var s=i.split(e),a=0,l=s.length;l>a;a++)t[n].apply(t,[s[a]].concat(r))}},n=function(e,t){var n,i=-1,r=e.length;switch(t.length){case 0:for(;r>++i;)(n=e[i]).callback.call(n.ctx);return;case 1:for(;r>++i;)(n=e[i]).callback.call(n.ctx,t[0]);return;case 2:for(;r>++i;)(n=e[i]).callback.call(n.ctx,t[0],t[1]);return;case 3:for(;r>++i;)(n=e[i]).callback.call(n.ctx,t[0],t[1],t[2]);return;default:for(;r>++i;)(n=e[i]).callback.apply(n.ctx,t)}},i={on:function(e,n,i){return t(this,"on",e,[n,i])&&n?(this._events||(this._events={}),(this._events[e]||(this._events[e]=[])).push({callback:n,context:i,ctx:i||this}),this):this},once:function(e,n,i){if(!t(this,"once",e,[n,i])||!n)return this;var r=this,o=_.once((function(){r.off(e,o),n.apply(this,arguments)}));return o._callback=n,this.on(e,o,i),this},off:function(e,n,i){var r,o,s,a,l,c,u,h;if(!this._events||!t(this,"off",e,[n,i]))return this;if(!e&&!n&&!i)return this._events={},this;for(l=0,c=(a=e?[e]:_.keys(this._events)).length;c>l;l++)if(e=a[l],r=this._events[e]){if(s=[],n||i)for(u=0,h=r.length;h>u;u++)o=r[u],(n&&n!==o.callback&&n!==o.callback._callback||i&&i!==o.context)&&s.push(o);this._events[e]=s}return this},trigger:function(e){if(!this._events)return this;var i=Array.prototype.slice.call(arguments,1);if(!t(this,"trigger",e,i))return this;var r=this._events[e],o=this._events.all;return r&&n(r,i),o&&n(o,arguments),this},listenTo:function(e,t,n){return(this._listeners||(this._listeners={}))[e._listenerId||(e._listenerId=_.uniqueId("l"))]=e,e.on(t,"object"==typeof t?this:n,this),this},stopListening:function(e,t,n){var i=this._listeners;if(i){if(e)e.off(t,"object"==typeof t?this:n,this),t||n||delete i[e._listenerId];else{for(var r in"object"==typeof t&&(n=this),i)i[r].off(t,n,this);this._listeners={}}return this}}};return i.bind=i.on,i.unbind=i.off,i}()}(),function(){var e,t,n,i,r,o,s,a,l,c,u,h={}.hasOwnProperty,f=function(e,t){function n(){this.constructor=e}for(var i in t)h.call(t,i)&&(e[i]=t[i]);return n.prototype=t.prototype,e.prototype=new n,e.__super__=t.prototype,e},d=[].slice,p=[].indexOf||function(e){for(var t=0,n=this.length;n>t;t++)if(t in this&&this[t]===e)return t;return-1};e=jQuery,o=null!=(l=window._)?l:window.Messenger._,i=null!=(c="undefined"!=typeof Backbone&&null!==Backbone?Backbone.Events:void 0)?c:window.Messenger.Events,n=function(){function t(t){e.extend(this,i),o.isObject(t)&&(t.el&&this.setElement(t.el),this.model=t.model),this.initialize.apply(this,arguments)}return t.prototype.setElement=function(t){return this.$el=e(t),this.el=this.$el[0]},t.prototype.delegateEvents=function(e){var t,n,i,r,s,a,l;if(e||(e=o.result(this,"events"))){for(i in this.undelegateEvents(),t=/^(\S+)\s*(.*)$/,l=[],e){if(s=e[i],o.isFunction(s)||(s=this[e[i]]),!s)throw Error('Method "'+e[i]+'" does not exist');n=(r=i.match(t))[1],a=r[2],s=o.bind(s,this),n+=".delegateEvents"+this.cid,""===a?l.push(this.jqon(n,s)):l.push(this.jqon(n,a,s))}return l}},t.prototype.jqon=function(e,t,n){var i;return null!=this.$el.on?(i=this.$el).on.apply(i,arguments):(null==n&&(n=t,t=void 0),null!=t?this.$el.delegate(t,e,n):this.$el.bind(e,n))},t.prototype.jqoff=function(e){var t;return null!=this.$el.off?(t=this.$el).off.apply(t,arguments):(this.$el.undelegate(),this.$el.unbind(e))},t.prototype.undelegateEvents=function(){return this.jqoff(".delegateEvents"+this.cid)},t.prototype.remove=function(){return this.undelegateEvents(),this.$el.remove()},t}(),s=function(t){function n(){return n.__super__.constructor.apply(this,arguments)}return f(n,t),n.prototype.defaults={hideAfter:10,scroll:!0,closeButtonText:"×"},n.prototype.initialize=function(t){return null==t&&(t={}),this.shown=!1,this.rendered=!1,this.messenger=t.messenger,this.options=e.extend({},this.options,t,this.defaults)},n.prototype.show=function(){var e;return this.rendered||this.render(),this.$message.removeClass("messenger-hidden"),e=this.shown,this.shown=!0,e?void 0:this.trigger("show")},n.prototype.hide=function(){var e;if(this.rendered)return this.$message.addClass("messenger-hidden"),e=this.shown,this.shown=!1,e?this.trigger("hide"):void 0},n.prototype.cancel=function(){return this.hide()},n.prototype.update=function(t){var n,i=this;return o.isString(t)&&(t={message:t}),e.extend(this.options,t),this.lastUpdate=new Date,this.rendered=!1,this.events=null!=(n=this.options.events)?n:{},this.render(),this.actionsToEvents(),this.delegateEvents(),this.checkClickable(),this.options.hideAfter?(this.$message.addClass("messenger-will-hide-after"),null!=this._hideTimeout&&clearTimeout(this._hideTimeout),this._hideTimeout=setTimeout((function(){return i.hide()}),1e3*this.options.hideAfter)):this.$message.removeClass("messenger-will-hide-after"),this.options.hideOnNavigate?(this.$message.addClass("messenger-will-hide-on-navigate"),null!=("undefined"!=typeof Backbone&&null!==Backbone?Backbone.history:void 0)&&Backbone.history.on("route",(function(){return i.hide()}))):this.$message.removeClass("messenger-will-hide-on-navigate"),this.trigger("update",this)},n.prototype.scrollTo=function(){return this.options.scroll?e.scrollTo(this.$el,{duration:400,offset:{left:0,top:-20}}):void 0},n.prototype.timeSinceUpdate=function(){return this.lastUpdate?new Date-this.lastUpdate:null},n.prototype.actionsToEvents=function(){var e,t,n,i,r=this;for(t in i=[],n=this.options.actions)e=n[t],i.push(this.events['click [data-action="'+t+'"] a']=function(e){return function(n){return n.preventDefault(),n.stopPropagation(),r.trigger("action:"+t,e,n),e.action.call(r,n,r)}}(e));return i},n.prototype.checkClickable=function(){var e,t,n;for(e in n=[],t=this.events)t[e],"click"===e?n.push(this.$message.addClass("messenger-clickable")):n.push(void 0);return n},n.prototype.undelegateEvents=function(){var e;return n.__super__.undelegateEvents.apply(this,arguments),null!=(e=this.$message)?e.removeClass("messenger-clickable"):void 0},n.prototype.parseActions=function(){var t,n,i,r,o;for(r in n=[],o=this.options.actions)t=o[r],(i=e.extend({},t)).name=r,null==i.label&&(i.label=r),n.push(i);return n},n.prototype.template=function(t){var n,i,r,o,s,a,l,c,u,h,f=this;for(s=e("
"),t.showCloseButton&&((r=e('