diff --git a/.babelrc b/.babelrc index 4ffef06db..ac53728ba 100644 --- a/.babelrc +++ b/.babelrc @@ -1,3 +1,3 @@ { - "presets": ["env", "react"] + "presets": ["@babel/env", "@babel/react"] } diff --git a/dash_bio/Ideogram.py b/dash_bio/Ideogram.py index be022bfba..1c2b6e78a 100644 --- a/dash_bio/Ideogram.py +++ b/dash_bio/Ideogram.py @@ -9,7 +9,7 @@ class Ideogram(Component): datasets for organisms such as human, mouse, and any other eukaryote. The Ideogram component can be used to compare homologous features between chromosomes, and depict -haploid, diploid, aneuploidy genomes. It can also display +haploid, diploid, aneuploid genomes. It can also display annotations on genomic data using histograms and overlays. Reference: https://eweitz.github.io/ideogram/ diff --git a/dash_bio/bundle.js b/dash_bio/bundle.js index d9fbdaaac..acb2fad2c 100644 --- a/dash_bio/bundle.js +++ b/dash_bio/bundle.js @@ -1,4 +1,4 @@ -window.dash_bio=function(t){var e={};function n(r){if(e[r])return e[r].exports;var i=e[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var i in t)n.d(r,i,function(e){return t[e]}.bind(null,i));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=42)}([function(t,e,n){"use strict";n.r(e);var r="http://www.w3.org/1999/xhtml",i={svg:"http://www.w3.org/2000/svg",xhtml:r,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"},o=function(t){var e=t+="",n=e.indexOf(":");return n>=0&&"xmlns"!==(e=t.slice(0,n))&&(t=t.slice(n+1)),i.hasOwnProperty(e)?{space:i[e],local:t}:t};var a=function(t){var e=o(t);return(e.local?function(t){return function(){return this.ownerDocument.createElementNS(t.space,t.local)}}:function(t){return function(){var e=this.ownerDocument,n=this.namespaceURI;return n===r&&e.documentElement.namespaceURI===r?e.createElement(t):e.createElementNS(n,t)}})(e)};function s(){}var l=function(t){return null==t?s:function(){return this.querySelector(t)}};function u(){return[]}var c=function(t){return null==t?u:function(){return this.querySelectorAll(t)}},f=function(t){return function(){return this.matches(t)}};if("undefined"!=typeof document){var h=document.documentElement;if(!h.matches){var d=h.webkitMatchesSelector||h.msMatchesSelector||h.mozMatchesSelector||h.oMatchesSelector;f=function(t){return function(){return d.call(this,t)}}}}var p=f,v=function(t){return new Array(t.length)};function m(t,e){this.ownerDocument=t.ownerDocument,this.namespaceURI=t.namespaceURI,this._next=null,this._parent=t,this.__data__=e}m.prototype={constructor:m,appendChild:function(t){return this._parent.insertBefore(t,this._next)},insertBefore:function(t,e){return this._parent.insertBefore(t,e)},querySelector:function(t){return this._parent.querySelector(t)},querySelectorAll:function(t){return this._parent.querySelectorAll(t)}};var g="$";function y(t,e,n,r,i,o){for(var a,s=0,l=e.length,u=o.length;se?1:t>=e?0:NaN}var _=function(t){return t.ownerDocument&&t.ownerDocument.defaultView||t.document&&t||t.defaultView};function w(t,e){return t.style.getPropertyValue(e)||_(t).getComputedStyle(t,null).getPropertyValue(e)}function A(t){return t.trim().split(/^|\s+/)}function M(t){return t.classList||new k(t)}function k(t){this._node=t,this._names=A(t.getAttribute("class")||"")}function T(t,e){for(var n=M(t),r=-1,i=e.length;++r=0&&(this._names.splice(e,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(t){return this._names.indexOf(t)>=0}};function C(){this.textContent=""}function E(){this.innerHTML=""}function O(){this.nextSibling&&this.parentNode.appendChild(this)}function D(){this.previousSibling&&this.parentNode.insertBefore(this,this.parentNode.firstChild)}function L(){return null}function z(){var t=this.parentNode;t&&t.removeChild(this)}function P(){return this.parentNode.insertBefore(this.cloneNode(!1),this.nextSibling)}function I(){return this.parentNode.insertBefore(this.cloneNode(!0),this.nextSibling)}var R={},j=null;"undefined"!=typeof document&&("onmouseenter"in document.documentElement||(R={mouseenter:"mouseover",mouseleave:"mouseout"}));function F(t,e,n){return t=N(t,e,n),function(e){var n=e.relatedTarget;n&&(n===this||8&n.compareDocumentPosition(this))||t.call(this,e)}}function N(t,e,n){return function(r){var i=j;j=r;try{t.call(this,this.__data__,e,n)}finally{j=i}}}function B(t){return function(){var e=this.__on;if(e){for(var n,r=0,i=-1,o=e.length;r=A&&(A=w+1);!(_=g[A])&&++A=0;)(r=i[o])&&(a&&a!==r.nextSibling&&a.parentNode.insertBefore(r,a),a=r);return this},sort:function(t){function e(e,n){return e&&n?t(e.__data__,n.__data__):!e-!n}t||(t=x);for(var n=this._groups,r=n.length,i=new Array(r),o=0;o1?this.each((null==e?function(t){return function(){this.style.removeProperty(t)}}:"function"==typeof e?function(t,e,n){return function(){var r=e.apply(this,arguments);null==r?this.style.removeProperty(t):this.style.setProperty(t,r,n)}}:function(t,e,n){return function(){this.style.setProperty(t,e,n)}})(t,e,null==n?"":n)):w(this.node(),t)},property:function(t,e){return arguments.length>1?this.each((null==e?function(t){return function(){delete this[t]}}:"function"==typeof e?function(t,e){return function(){var n=e.apply(this,arguments);null==n?delete this[t]:this[t]=n}}:function(t,e){return function(){this[t]=e}})(t,e)):this.node()[t]},classed:function(t,e){var n=A(t+"");if(arguments.length<2){for(var r=M(this.node()),i=-1,o=n.length;++i=0&&(e=t.slice(n+1),t=t.slice(0,n)),{type:t,name:e}})}(t+""),a=o.length;if(!(arguments.length<2)){for(s=e?V:B,null==n&&(n=!1),r=0;r=o?d=!0:(r=t.charCodeAt(a++))===c?p=!0:r===f&&(p=!0,t.charCodeAt(a)===c&&++a),t.slice(i+1,e-1).replace(/""/g,'"')}for(;a=0&&"xmlns"!==(e=t.slice(0,n))&&(t=t.slice(n+1)),i.hasOwnProperty(e)?{space:i[e],local:t}:t};var o=function(t){var e=a(t);return(e.local?function(t){return function(){return this.ownerDocument.createElementNS(t.space,t.local)}}:function(t){return function(){var e=this.ownerDocument,n=this.namespaceURI;return n===r&&e.documentElement.namespaceURI===r?e.createElement(t):e.createElementNS(n,t)}})(e)};function s(){}var l=function(t){return null==t?s:function(){return this.querySelector(t)}};function u(){return[]}var c=function(t){return null==t?u:function(){return this.querySelectorAll(t)}},f=function(t){return function(){return this.matches(t)}};if("undefined"!=typeof document){var h=document.documentElement;if(!h.matches){var p=h.webkitMatchesSelector||h.msMatchesSelector||h.mozMatchesSelector||h.oMatchesSelector;f=function(t){return function(){return p.call(this,t)}}}}var d=f,m=function(t){return new Array(t.length)};function v(t,e){this.ownerDocument=t.ownerDocument,this.namespaceURI=t.namespaceURI,this._next=null,this._parent=t,this.__data__=e}v.prototype={constructor:v,appendChild:function(t){return this._parent.insertBefore(t,this._next)},insertBefore:function(t,e){return this._parent.insertBefore(t,e)},querySelector:function(t){return this._parent.querySelector(t)},querySelectorAll:function(t){return this._parent.querySelectorAll(t)}};var g="$";function y(t,e,n,r,i,a){for(var o,s=0,l=e.length,u=a.length;se?1:t>=e?0:NaN}var _=function(t){return t.ownerDocument&&t.ownerDocument.defaultView||t.document&&t||t.defaultView};function w(t,e){return t.style.getPropertyValue(e)||_(t).getComputedStyle(t,null).getPropertyValue(e)}function A(t){return t.trim().split(/^|\s+/)}function M(t){return t.classList||new k(t)}function k(t){this._node=t,this._names=A(t.getAttribute("class")||"")}function T(t,e){for(var n=M(t),r=-1,i=e.length;++r=0&&(this._names.splice(e,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(t){return this._names.indexOf(t)>=0}};function C(){this.textContent=""}function E(){this.innerHTML=""}function O(){this.nextSibling&&this.parentNode.appendChild(this)}function D(){this.previousSibling&&this.parentNode.insertBefore(this,this.parentNode.firstChild)}function L(){return null}function z(){var t=this.parentNode;t&&t.removeChild(this)}function P(){return this.parentNode.insertBefore(this.cloneNode(!1),this.nextSibling)}function I(){return this.parentNode.insertBefore(this.cloneNode(!0),this.nextSibling)}var R={},F=null;"undefined"!=typeof document&&("onmouseenter"in document.documentElement||(R={mouseenter:"mouseover",mouseleave:"mouseout"}));function j(t,e,n){return t=N(t,e,n),function(e){var n=e.relatedTarget;n&&(n===this||8&n.compareDocumentPosition(this))||t.call(this,e)}}function N(t,e,n){return function(r){var i=F;F=r;try{t.call(this,this.__data__,e,n)}finally{F=i}}}function B(t){return function(){var e=this.__on;if(e){for(var n,r=0,i=-1,a=e.length;r=A&&(A=w+1);!(_=g[A])&&++A=0;)(r=i[a])&&(o&&o!==r.nextSibling&&o.parentNode.insertBefore(r,o),o=r);return this},sort:function(t){function e(e,n){return e&&n?t(e.__data__,n.__data__):!e-!n}t||(t=x);for(var n=this._groups,r=n.length,i=new Array(r),a=0;a1?this.each((null==e?function(t){return function(){this.style.removeProperty(t)}}:"function"==typeof e?function(t,e,n){return function(){var r=e.apply(this,arguments);null==r?this.style.removeProperty(t):this.style.setProperty(t,r,n)}}:function(t,e,n){return function(){this.style.setProperty(t,e,n)}})(t,e,null==n?"":n)):w(this.node(),t)},property:function(t,e){return arguments.length>1?this.each((null==e?function(t){return function(){delete this[t]}}:"function"==typeof e?function(t,e){return function(){var n=e.apply(this,arguments);null==n?delete this[t]:this[t]=n}}:function(t,e){return function(){this[t]=e}})(t,e)):this.node()[t]},classed:function(t,e){var n=A(t+"");if(arguments.length<2){for(var r=M(this.node()),i=-1,a=n.length;++i=0&&(e=t.slice(n+1),t=t.slice(0,n)),{type:t,name:e}})}(t+""),o=a.length;if(!(arguments.length<2)){for(s=e?V:B,null==n&&(n=!1),r=0;r=a?p=!0:(r=t.charCodeAt(o++))===c?d=!0:r===f&&(d=!0,t.charCodeAt(o)===c&&++o),t.slice(i+1,e-1).replace(/""/g,'"')}for(;o @@ -6,7 +6,7 @@ window.dash_bio=function(t){var e={};function n(r){if(e[r])return e[r].exports;v * Released under MIT license * Based on Underscore.js 1.8.3 * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors - */(function(){var o,a=200,s="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",l="Expected a function",u="__lodash_hash_undefined__",c=500,f="__lodash_placeholder__",h=1,d=2,p=4,v=1,m=2,g=1,y=2,b=4,x=8,_=16,w=32,A=64,M=128,k=256,T=512,S=30,C="...",E=800,O=16,D=1,L=2,z=1/0,P=9007199254740991,I=1.7976931348623157e308,R=NaN,j=4294967295,F=j-1,N=j>>>1,B=[["ary",M],["bind",g],["bindKey",y],["curry",x],["curryRight",_],["flip",T],["partial",w],["partialRight",A],["rearg",k]],V="[object Arguments]",U="[object Array]",q="[object AsyncFunction]",$="[object Boolean]",H="[object Date]",W="[object DOMException]",G="[object Error]",Y="[object Function]",X="[object GeneratorFunction]",Z="[object Map]",J="[object Number]",K="[object Null]",Q="[object Object]",tt="[object Proxy]",et="[object RegExp]",nt="[object Set]",rt="[object String]",it="[object Symbol]",ot="[object Undefined]",at="[object WeakMap]",st="[object WeakSet]",lt="[object ArrayBuffer]",ut="[object DataView]",ct="[object Float32Array]",ft="[object Float64Array]",ht="[object Int8Array]",dt="[object Int16Array]",pt="[object Int32Array]",vt="[object Uint8Array]",mt="[object Uint8ClampedArray]",gt="[object Uint16Array]",yt="[object Uint32Array]",bt=/\b__p \+= '';/g,xt=/\b(__p \+=) '' \+/g,_t=/(__e\(.*?\)|\b__t\)) \+\n'';/g,wt=/&(?:amp|lt|gt|quot|#39);/g,At=/[&<>"']/g,Mt=RegExp(wt.source),kt=RegExp(At.source),Tt=/<%-([\s\S]+?)%>/g,St=/<%([\s\S]+?)%>/g,Ct=/<%=([\s\S]+?)%>/g,Et=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Ot=/^\w*$/,Dt=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Lt=/[\\^$.*+?()[\]{}|]/g,zt=RegExp(Lt.source),Pt=/^\s+|\s+$/g,It=/^\s+/,Rt=/\s+$/,jt=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Ft=/\{\n\/\* \[wrapped with (.+)\] \*/,Nt=/,? & /,Bt=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Vt=/\\(\\)?/g,Ut=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,qt=/\w*$/,$t=/^[-+]0x[0-9a-f]+$/i,Ht=/^0b[01]+$/i,Wt=/^\[object .+?Constructor\]$/,Gt=/^0o[0-7]+$/i,Yt=/^(?:0|[1-9]\d*)$/,Xt=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Zt=/($^)/,Jt=/['\n\r\u2028\u2029\\]/g,Kt="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",Qt="\\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",te="[\\ud800-\\udfff]",ee="["+Qt+"]",ne="["+Kt+"]",re="\\d+",ie="[\\u2700-\\u27bf]",oe="[a-z\\xdf-\\xf6\\xf8-\\xff]",ae="[^\\ud800-\\udfff"+Qt+re+"\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde]",se="\\ud83c[\\udffb-\\udfff]",le="[^\\ud800-\\udfff]",ue="(?:\\ud83c[\\udde6-\\uddff]){2}",ce="[\\ud800-\\udbff][\\udc00-\\udfff]",fe="[A-Z\\xc0-\\xd6\\xd8-\\xde]",he="(?:"+oe+"|"+ae+")",de="(?:"+fe+"|"+ae+")",pe="(?:"+ne+"|"+se+")"+"?",ve="[\\ufe0e\\ufe0f]?"+pe+("(?:\\u200d(?:"+[le,ue,ce].join("|")+")[\\ufe0e\\ufe0f]?"+pe+")*"),me="(?:"+[ie,ue,ce].join("|")+")"+ve,ge="(?:"+[le+ne+"?",ne,ue,ce,te].join("|")+")",ye=RegExp("['’]","g"),be=RegExp(ne,"g"),xe=RegExp(se+"(?="+se+")|"+ge+ve,"g"),_e=RegExp([fe+"?"+oe+"+(?:['’](?:d|ll|m|re|s|t|ve))?(?="+[ee,fe,"$"].join("|")+")",de+"+(?:['’](?:D|LL|M|RE|S|T|VE))?(?="+[ee,fe+he,"$"].join("|")+")",fe+"?"+he+"+(?:['’](?:d|ll|m|re|s|t|ve))?",fe+"+(?:['’](?:D|LL|M|RE|S|T|VE))?","\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",re,me].join("|"),"g"),we=RegExp("[\\u200d\\ud800-\\udfff"+Kt+"\\ufe0e\\ufe0f]"),Ae=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,Me=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],ke=-1,Te={};Te[ct]=Te[ft]=Te[ht]=Te[dt]=Te[pt]=Te[vt]=Te[mt]=Te[gt]=Te[yt]=!0,Te[V]=Te[U]=Te[lt]=Te[$]=Te[ut]=Te[H]=Te[G]=Te[Y]=Te[Z]=Te[J]=Te[Q]=Te[et]=Te[nt]=Te[rt]=Te[at]=!1;var Se={};Se[V]=Se[U]=Se[lt]=Se[ut]=Se[$]=Se[H]=Se[ct]=Se[ft]=Se[ht]=Se[dt]=Se[pt]=Se[Z]=Se[J]=Se[Q]=Se[et]=Se[nt]=Se[rt]=Se[it]=Se[vt]=Se[mt]=Se[gt]=Se[yt]=!0,Se[G]=Se[Y]=Se[at]=!1;var Ce={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},Ee=parseFloat,Oe=parseInt,De="object"==typeof t&&t&&t.Object===Object&&t,Le="object"==typeof self&&self&&self.Object===Object&&self,ze=De||Le||Function("return this")(),Pe=e&&!e.nodeType&&e,Ie=Pe&&"object"==typeof r&&r&&!r.nodeType&&r,Re=Ie&&Ie.exports===Pe,je=Re&&De.process,Fe=function(){try{var t=Ie&&Ie.require&&Ie.require("util").types;return t||je&&je.binding&&je.binding("util")}catch(t){}}(),Ne=Fe&&Fe.isArrayBuffer,Be=Fe&&Fe.isDate,Ve=Fe&&Fe.isMap,Ue=Fe&&Fe.isRegExp,qe=Fe&&Fe.isSet,$e=Fe&&Fe.isTypedArray;function He(t,e,n){switch(n.length){case 0:return t.call(e);case 1:return t.call(e,n[0]);case 2:return t.call(e,n[0],n[1]);case 3:return t.call(e,n[0],n[1],n[2])}return t.apply(e,n)}function We(t,e,n,r){for(var i=-1,o=null==t?0:t.length;++i-1}function Ke(t,e,n){for(var r=-1,i=null==t?0:t.length;++r-1;);return n}function _n(t,e){for(var n=t.length;n--&&ln(e,t[n],0)>-1;);return n}var wn=dn({"À":"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","ſ":"s"}),An=dn({"&":"&","<":"<",">":">",'"':""","'":"'"});function Mn(t){return"\\"+Ce[t]}function kn(t){return we.test(t)}function Tn(t){var e=-1,n=Array(t.size);return t.forEach(function(t,r){n[++e]=[r,t]}),n}function Sn(t,e){return function(n){return t(e(n))}}function Cn(t,e){for(var n=-1,r=t.length,i=0,o=[];++n",""":'"',"'":"'"});var Pn=function t(e){var n,r=(e=null==e?ze:Pn.defaults(ze.Object(),e,Pn.pick(ze,Me))).Array,i=e.Date,Kt=e.Error,Qt=e.Function,te=e.Math,ee=e.Object,ne=e.RegExp,re=e.String,ie=e.TypeError,oe=r.prototype,ae=Qt.prototype,se=ee.prototype,le=e["__core-js_shared__"],ue=ae.toString,ce=se.hasOwnProperty,fe=0,he=(n=/[^.]+$/.exec(le&&le.keys&&le.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"",de=se.toString,pe=ue.call(ee),ve=ze._,me=ne("^"+ue.call(ce).replace(Lt,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),ge=Re?e.Buffer:o,xe=e.Symbol,we=e.Uint8Array,Ce=ge?ge.allocUnsafe:o,De=Sn(ee.getPrototypeOf,ee),Le=ee.create,Pe=se.propertyIsEnumerable,Ie=oe.splice,je=xe?xe.isConcatSpreadable:o,Fe=xe?xe.iterator:o,on=xe?xe.toStringTag:o,dn=function(){try{var t=No(ee,"defineProperty");return t({},"",{}),t}catch(t){}}(),In=e.clearTimeout!==ze.clearTimeout&&e.clearTimeout,Rn=i&&i.now!==ze.Date.now&&i.now,jn=e.setTimeout!==ze.setTimeout&&e.setTimeout,Fn=te.ceil,Nn=te.floor,Bn=ee.getOwnPropertySymbols,Vn=ge?ge.isBuffer:o,Un=e.isFinite,qn=oe.join,$n=Sn(ee.keys,ee),Hn=te.max,Wn=te.min,Gn=i.now,Yn=e.parseInt,Xn=te.random,Zn=oe.reverse,Jn=No(e,"DataView"),Kn=No(e,"Map"),Qn=No(e,"Promise"),tr=No(e,"Set"),er=No(e,"WeakMap"),nr=No(ee,"create"),rr=er&&new er,ir={},or=fa(Jn),ar=fa(Kn),sr=fa(Qn),lr=fa(tr),ur=fa(er),cr=xe?xe.prototype:o,fr=cr?cr.valueOf:o,hr=cr?cr.toString:o;function dr(t){if(Cs(t)&&!gs(t)&&!(t instanceof gr)){if(t instanceof mr)return t;if(ce.call(t,"__wrapped__"))return ha(t)}return new mr(t)}var pr=function(){function t(){}return function(e){if(!Ss(e))return{};if(Le)return Le(e);t.prototype=e;var n=new t;return t.prototype=o,n}}();function vr(){}function mr(t,e){this.__wrapped__=t,this.__actions__=[],this.__chain__=!!e,this.__index__=0,this.__values__=o}function gr(t){this.__wrapped__=t,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=j,this.__views__=[]}function yr(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e=e?t:e)),t}function Ir(t,e,n,r,i,a){var s,l=e&h,u=e&d,c=e&p;if(n&&(s=i?n(t,r,i,a):n(t)),s!==o)return s;if(!Ss(t))return t;var f=gs(t);if(f){if(s=function(t){var e=t.length,n=new t.constructor(e);return e&&"string"==typeof t[0]&&ce.call(t,"index")&&(n.index=t.index,n.input=t.input),n}(t),!l)return no(t,s)}else{var v=Uo(t),m=v==Y||v==X;if(_s(t))return Zi(t,l);if(v==Q||v==V||m&&!i){if(s=u||m?{}:$o(t),!l)return u?function(t,e){return ro(t,Vo(t),e)}(t,function(t,e){return t&&ro(e,ol(e),t)}(s,t)):function(t,e){return ro(t,Bo(t),e)}(t,Dr(s,t))}else{if(!Se[v])return i?t:{};s=function(t,e,n){var r,i,o,a=t.constructor;switch(e){case lt:return Ji(t);case $:case H:return new a(+t);case ut:return function(t,e){var n=e?Ji(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.byteLength)}(t,n);case ct:case ft:case ht:case dt:case pt:case vt:case mt:case gt:case yt:return Ki(t,n);case Z:return new a;case J:case rt:return new a(t);case et:return(o=new(i=t).constructor(i.source,qt.exec(i))).lastIndex=i.lastIndex,o;case nt:return new a;case it:return r=t,fr?ee(fr.call(r)):{}}}(t,v,l)}}a||(a=new wr);var g=a.get(t);if(g)return g;if(a.set(t,s),zs(t))return t.forEach(function(r){s.add(Ir(r,e,n,r,t,a))}),s;if(Es(t))return t.forEach(function(r,i){s.set(i,Ir(r,e,n,i,t,a))}),s;var y=f?o:(c?u?Lo:Do:u?ol:il)(t);return Ge(y||t,function(r,i){y&&(r=t[i=r]),Cr(s,i,Ir(r,e,n,i,t,a))}),s}function Rr(t,e,n){var r=n.length;if(null==t)return!r;for(t=ee(t);r--;){var i=n[r],a=e[i],s=t[i];if(s===o&&!(i in t)||!a(s))return!1}return!0}function jr(t,e,n){if("function"!=typeof t)throw new ie(l);return ia(function(){t.apply(o,n)},e)}function Fr(t,e,n,r){var i=-1,o=Je,s=!0,l=t.length,u=[],c=e.length;if(!l)return u;n&&(e=Qe(e,gn(n))),r?(o=Ke,s=!1):e.length>=a&&(o=bn,s=!1,e=new _r(e));t:for(;++i-1},br.prototype.set=function(t,e){var n=this.__data__,r=Er(n,t);return r<0?(++this.size,n.push([t,e])):n[r][1]=e,this},xr.prototype.clear=function(){this.size=0,this.__data__={hash:new yr,map:new(Kn||br),string:new yr}},xr.prototype.delete=function(t){var e=jo(this,t).delete(t);return this.size-=e?1:0,e},xr.prototype.get=function(t){return jo(this,t).get(t)},xr.prototype.has=function(t){return jo(this,t).has(t)},xr.prototype.set=function(t,e){var n=jo(this,t),r=n.size;return n.set(t,e),this.size+=n.size==r?0:1,this},_r.prototype.add=_r.prototype.push=function(t){return this.__data__.set(t,u),this},_r.prototype.has=function(t){return this.__data__.has(t)},wr.prototype.clear=function(){this.__data__=new br,this.size=0},wr.prototype.delete=function(t){var e=this.__data__,n=e.delete(t);return this.size=e.size,n},wr.prototype.get=function(t){return this.__data__.get(t)},wr.prototype.has=function(t){return this.__data__.has(t)},wr.prototype.set=function(t,e){var n=this.__data__;if(n instanceof br){var r=n.__data__;if(!Kn||r.length0&&n(s)?e>1?$r(s,e-1,n,r,i):tn(i,s):r||(i[i.length]=s)}return i}var Hr=so(),Wr=so(!0);function Gr(t,e){return t&&Hr(t,e,il)}function Yr(t,e){return t&&Wr(t,e,il)}function Xr(t,e){return Ze(e,function(e){return Ms(t[e])})}function Zr(t,e){for(var n=0,r=(e=Wi(e,t)).length;null!=t&&ne}function ti(t,e){return null!=t&&ce.call(t,e)}function ei(t,e){return null!=t&&e in ee(t)}function ni(t,e,n){for(var i=n?Ke:Je,a=t[0].length,s=t.length,l=s,u=r(s),c=1/0,f=[];l--;){var h=t[l];l&&e&&(h=Qe(h,gn(e))),c=Wn(h.length,c),u[l]=!n&&(e||a>=120&&h.length>=120)?new _r(l&&h):o}h=t[0];var d=-1,p=u[0];t:for(;++d=s)return l;var u=n[r];return l*("desc"==u?-1:1)}}return t.index-e.index}(t,e,n)})}function yi(t,e,n){for(var r=-1,i=e.length,o={};++r-1;)s!==t&&Ie.call(s,l,1),Ie.call(t,l,1);return t}function xi(t,e){for(var n=t?e.length:0,r=n-1;n--;){var i=e[n];if(n==r||i!==o){var o=i;Wo(i)?Ie.call(t,i,1):Fi(t,i)}}return t}function _i(t,e){return t+Nn(Xn()*(e-t+1))}function wi(t,e){var n="";if(!t||e<1||e>P)return n;do{e%2&&(n+=t),(e=Nn(e/2))&&(t+=t)}while(e);return n}function Ai(t,e){return oa(ta(t,e,Ol),t+"")}function Mi(t){return Mr(dl(t))}function ki(t,e){var n=dl(t);return la(n,Pr(e,0,n.length))}function Ti(t,e,n,r){if(!Ss(t))return t;for(var i=-1,a=(e=Wi(e,t)).length,s=a-1,l=t;null!=l&&++io?0:o+e),(n=n>o?o:n)<0&&(n+=o),o=e>n?0:n-e>>>0,e>>>=0;for(var a=r(o);++i>>1,a=t[o];null!==a&&!Is(a)&&(n?a<=e:a=a){var c=e?null:Ao(t);if(c)return En(c);s=!1,i=bn,u=new _r}else u=e?[]:l;t:for(;++r=r?t:Oi(t,e,n)}var Xi=In||function(t){return ze.clearTimeout(t)};function Zi(t,e){if(e)return t.slice();var n=t.length,r=Ce?Ce(n):new t.constructor(n);return t.copy(r),r}function Ji(t){var e=new t.constructor(t.byteLength);return new we(e).set(new we(t)),e}function Ki(t,e){var n=e?Ji(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.length)}function Qi(t,e){if(t!==e){var n=t!==o,r=null===t,i=t==t,a=Is(t),s=e!==o,l=null===e,u=e==e,c=Is(e);if(!l&&!c&&!a&&t>e||a&&s&&u&&!l&&!c||r&&s&&u||!n&&u||!i)return 1;if(!r&&!a&&!c&&t1?n[i-1]:o,s=i>2?n[2]:o;for(a=t.length>3&&"function"==typeof a?(i--,a):o,s&&Go(n[0],n[1],s)&&(a=i<3?o:a,i=1),e=ee(e);++r-1?i[a?e[s]:s]:o}}function ho(t){return Oo(function(e){var n=e.length,r=n,i=mr.prototype.thru;for(t&&e.reverse();r--;){var a=e[r];if("function"!=typeof a)throw new ie(l);if(i&&!s&&"wrapper"==Po(a))var s=new mr([],!0)}for(r=s?r:n;++r1&&x.reverse(),h&&cl))return!1;var c=a.get(t);if(c&&a.get(e))return c==e;var f=-1,h=!0,d=n&m?new _r:o;for(a.set(t,e),a.set(e,t);++f-1&&t%1==0&&t1?"& ":"")+e[r],e=e.join(n>2?", ":" "),t.replace(jt,"{\n/* [wrapped with "+e+"] */\n")}(r,function(t,e){return Ge(B,function(n){var r="_."+n[0];e&n[1]&&!Je(t,r)&&t.push(r)}),t.sort()}(function(t){var e=t.match(Ft);return e?e[1].split(Nt):[]}(r),n)))}function sa(t){var e=0,n=0;return function(){var r=Gn(),i=O-(r-n);if(n=r,i>0){if(++e>=E)return arguments[0]}else e=0;return t.apply(o,arguments)}}function la(t,e){var n=-1,r=t.length,i=r-1;for(e=e===o?r:e;++n1?t[e-1]:o;return n="function"==typeof n?(t.pop(),n):o,La(t,n)});function Na(t){var e=dr(t);return e.__chain__=!0,e}function Ba(t,e){return e(t)}var Va=Oo(function(t){var e=t.length,n=e?t[0]:0,r=this.__wrapped__,i=function(e){return zr(e,t)};return!(e>1||this.__actions__.length)&&r instanceof gr&&Wo(n)?((r=r.slice(n,+n+(e?1:0))).__actions__.push({func:Ba,args:[i],thisArg:o}),new mr(r,this.__chain__).thru(function(t){return e&&!t.length&&t.push(o),t})):this.thru(i)});var Ua=io(function(t,e,n){ce.call(t,n)?++t[n]:Lr(t,n,1)});var qa=fo(ma),$a=fo(ga);function Ha(t,e){return(gs(t)?Ge:Nr)(t,Ro(e,3))}function Wa(t,e){return(gs(t)?Ye:Br)(t,Ro(e,3))}var Ga=io(function(t,e,n){ce.call(t,n)?t[n].push(e):Lr(t,n,[e])});var Ya=Ai(function(t,e,n){var i=-1,o="function"==typeof e,a=bs(t)?r(t.length):[];return Nr(t,function(t){a[++i]=o?He(e,t,n):ri(t,e,n)}),a}),Xa=io(function(t,e,n){Lr(t,n,e)});function Za(t,e){return(gs(t)?Qe:hi)(t,Ro(e,3))}var Ja=io(function(t,e,n){t[n?0:1].push(e)},function(){return[[],[]]});var Ka=Ai(function(t,e){if(null==t)return[];var n=e.length;return n>1&&Go(t,e[0],e[1])?e=[]:n>2&&Go(e[0],e[1],e[2])&&(e=[e[0]]),gi(t,$r(e,1),[])}),Qa=Rn||function(){return ze.Date.now()};function ts(t,e,n){return e=n?o:e,e=t&&null==e?t.length:e,ko(t,M,o,o,o,o,e)}function es(t,e){var n;if("function"!=typeof e)throw new ie(l);return t=Vs(t),function(){return--t>0&&(n=e.apply(this,arguments)),t<=1&&(e=o),n}}var ns=Ai(function(t,e,n){var r=g;if(n.length){var i=Cn(n,Io(ns));r|=w}return ko(t,r,e,n,i)}),rs=Ai(function(t,e,n){var r=g|y;if(n.length){var i=Cn(n,Io(rs));r|=w}return ko(e,r,t,n,i)});function is(t,e,n){var r,i,a,s,u,c,f=0,h=!1,d=!1,p=!0;if("function"!=typeof t)throw new ie(l);function v(e){var n=r,a=i;return r=i=o,f=e,s=t.apply(a,n)}function m(t){var n=t-c;return c===o||n>=e||n<0||d&&t-f>=a}function g(){var t=Qa();if(m(t))return y(t);u=ia(g,function(t){var n=e-(t-c);return d?Wn(n,a-(t-f)):n}(t))}function y(t){return u=o,p&&r?v(t):(r=i=o,s)}function b(){var t=Qa(),n=m(t);if(r=arguments,i=this,c=t,n){if(u===o)return function(t){return f=t,u=ia(g,e),h?v(t):s}(c);if(d)return u=ia(g,e),v(c)}return u===o&&(u=ia(g,e)),s}return e=qs(e)||0,Ss(n)&&(h=!!n.leading,a=(d="maxWait"in n)?Hn(qs(n.maxWait)||0,e):a,p="trailing"in n?!!n.trailing:p),b.cancel=function(){u!==o&&Xi(u),f=0,r=c=i=u=o},b.flush=function(){return u===o?s:y(Qa())},b}var os=Ai(function(t,e){return jr(t,1,e)}),as=Ai(function(t,e,n){return jr(t,qs(e)||0,n)});function ss(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new ie(l);var n=function(){var r=arguments,i=e?e.apply(this,r):r[0],o=n.cache;if(o.has(i))return o.get(i);var a=t.apply(this,r);return n.cache=o.set(i,a)||o,a};return n.cache=new(ss.Cache||xr),n}function ls(t){if("function"!=typeof t)throw new ie(l);return function(){var e=arguments;switch(e.length){case 0:return!t.call(this);case 1:return!t.call(this,e[0]);case 2:return!t.call(this,e[0],e[1]);case 3:return!t.call(this,e[0],e[1],e[2])}return!t.apply(this,e)}}ss.Cache=xr;var us=Gi(function(t,e){var n=(e=1==e.length&&gs(e[0])?Qe(e[0],gn(Ro())):Qe($r(e,1),gn(Ro()))).length;return Ai(function(r){for(var i=-1,o=Wn(r.length,n);++i=e}),ms=ii(function(){return arguments}())?ii:function(t){return Cs(t)&&ce.call(t,"callee")&&!Pe.call(t,"callee")},gs=r.isArray,ys=Ne?gn(Ne):function(t){return Cs(t)&&Kr(t)==lt};function bs(t){return null!=t&&Ts(t.length)&&!Ms(t)}function xs(t){return Cs(t)&&bs(t)}var _s=Vn||ql,ws=Be?gn(Be):function(t){return Cs(t)&&Kr(t)==H};function As(t){if(!Cs(t))return!1;var e=Kr(t);return e==G||e==W||"string"==typeof t.message&&"string"==typeof t.name&&!Ds(t)}function Ms(t){if(!Ss(t))return!1;var e=Kr(t);return e==Y||e==X||e==q||e==tt}function ks(t){return"number"==typeof t&&t==Vs(t)}function Ts(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=P}function Ss(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}function Cs(t){return null!=t&&"object"==typeof t}var Es=Ve?gn(Ve):function(t){return Cs(t)&&Uo(t)==Z};function Os(t){return"number"==typeof t||Cs(t)&&Kr(t)==J}function Ds(t){if(!Cs(t)||Kr(t)!=Q)return!1;var e=De(t);if(null===e)return!0;var n=ce.call(e,"constructor")&&e.constructor;return"function"==typeof n&&n instanceof n&&ue.call(n)==pe}var Ls=Ue?gn(Ue):function(t){return Cs(t)&&Kr(t)==et};var zs=qe?gn(qe):function(t){return Cs(t)&&Uo(t)==nt};function Ps(t){return"string"==typeof t||!gs(t)&&Cs(t)&&Kr(t)==rt}function Is(t){return"symbol"==typeof t||Cs(t)&&Kr(t)==it}var Rs=$e?gn($e):function(t){return Cs(t)&&Ts(t.length)&&!!Te[Kr(t)]};var js=xo(fi),Fs=xo(function(t,e){return t<=e});function Ns(t){if(!t)return[];if(bs(t))return Ps(t)?Ln(t):no(t);if(Fe&&t[Fe])return function(t){for(var e,n=[];!(e=t.next()).done;)n.push(e.value);return n}(t[Fe]());var e=Uo(t);return(e==Z?Tn:e==nt?En:dl)(t)}function Bs(t){return t?(t=qs(t))===z||t===-z?(t<0?-1:1)*I:t==t?t:0:0===t?t:0}function Vs(t){var e=Bs(t),n=e%1;return e==e?n?e-n:e:0}function Us(t){return t?Pr(Vs(t),0,j):0}function qs(t){if("number"==typeof t)return t;if(Is(t))return R;if(Ss(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=Ss(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=t.replace(Pt,"");var n=Ht.test(t);return n||Gt.test(t)?Oe(t.slice(2),n?2:8):$t.test(t)?R:+t}function $s(t){return ro(t,ol(t))}function Hs(t){return null==t?"":Ri(t)}var Ws=oo(function(t,e){if(Jo(e)||bs(e))ro(e,il(e),t);else for(var n in e)ce.call(e,n)&&Cr(t,n,e[n])}),Gs=oo(function(t,e){ro(e,ol(e),t)}),Ys=oo(function(t,e,n,r){ro(e,ol(e),t,r)}),Xs=oo(function(t,e,n,r){ro(e,il(e),t,r)}),Zs=Oo(zr);var Js=Ai(function(t,e){t=ee(t);var n=-1,r=e.length,i=r>2?e[2]:o;for(i&&Go(e[0],e[1],i)&&(r=1);++n1),e}),ro(t,Lo(t),n),r&&(n=Ir(n,h|d|p,Co));for(var i=e.length;i--;)Fi(n,e[i]);return n});var ul=Oo(function(t,e){return null==t?{}:function(t,e){return yi(t,e,function(e,n){return tl(t,n)})}(t,e)});function cl(t,e){if(null==t)return{};var n=Qe(Lo(t),function(t){return[t]});return e=Ro(e),yi(t,n,function(t,n){return e(t,n[0])})}var fl=Mo(il),hl=Mo(ol);function dl(t){return null==t?[]:yn(t,il(t))}var pl=uo(function(t,e,n){return e=e.toLowerCase(),t+(n?vl(e):e)});function vl(t){return Al(Hs(t).toLowerCase())}function ml(t){return(t=Hs(t))&&t.replace(Xt,wn).replace(be,"")}var gl=uo(function(t,e,n){return t+(n?"-":"")+e.toLowerCase()}),yl=uo(function(t,e,n){return t+(n?" ":"")+e.toLowerCase()}),bl=lo("toLowerCase");var xl=uo(function(t,e,n){return t+(n?"_":"")+e.toLowerCase()});var _l=uo(function(t,e,n){return t+(n?" ":"")+Al(e)});var wl=uo(function(t,e,n){return t+(n?" ":"")+e.toUpperCase()}),Al=lo("toUpperCase");function Ml(t,e,n){return t=Hs(t),(e=n?o:e)===o?function(t){return Ae.test(t)}(t)?function(t){return t.match(_e)||[]}(t):function(t){return t.match(Bt)||[]}(t):t.match(e)||[]}var kl=Ai(function(t,e){try{return He(t,o,e)}catch(t){return As(t)?t:new Kt(t)}}),Tl=Oo(function(t,e){return Ge(e,function(e){e=ca(e),Lr(t,e,ns(t[e],t))}),t});function Sl(t){return function(){return t}}var Cl=ho(),El=ho(!0);function Ol(t){return t}function Dl(t){return li("function"==typeof t?t:Ir(t,h))}var Ll=Ai(function(t,e){return function(n){return ri(n,t,e)}}),zl=Ai(function(t,e){return function(n){return ri(t,n,e)}});function Pl(t,e,n){var r=il(e),i=Xr(e,r);null!=n||Ss(e)&&(i.length||!r.length)||(n=e,e=t,t=this,i=Xr(e,il(e)));var o=!(Ss(n)&&"chain"in n&&!n.chain),a=Ms(t);return Ge(i,function(n){var r=e[n];t[n]=r,a&&(t.prototype[n]=function(){var e=this.__chain__;if(o||e){var n=t(this.__wrapped__);return(n.__actions__=no(this.__actions__)).push({func:r,args:arguments,thisArg:t}),n.__chain__=e,n}return r.apply(t,tn([this.value()],arguments))})}),t}function Il(){}var Rl=go(Qe),jl=go(Xe),Fl=go(rn);function Nl(t){return Yo(t)?hn(ca(t)):function(t){return function(e){return Zr(e,t)}}(t)}var Bl=bo(),Vl=bo(!0);function Ul(){return[]}function ql(){return!1}var $l=mo(function(t,e){return t+e},0),Hl=wo("ceil"),Wl=mo(function(t,e){return t/e},1),Gl=wo("floor");var Yl,Xl=mo(function(t,e){return t*e},1),Zl=wo("round"),Jl=mo(function(t,e){return t-e},0);return dr.after=function(t,e){if("function"!=typeof e)throw new ie(l);return t=Vs(t),function(){if(--t<1)return e.apply(this,arguments)}},dr.ary=ts,dr.assign=Ws,dr.assignIn=Gs,dr.assignInWith=Ys,dr.assignWith=Xs,dr.at=Zs,dr.before=es,dr.bind=ns,dr.bindAll=Tl,dr.bindKey=rs,dr.castArray=function(){if(!arguments.length)return[];var t=arguments[0];return gs(t)?t:[t]},dr.chain=Na,dr.chunk=function(t,e,n){e=(n?Go(t,e,n):e===o)?1:Hn(Vs(e),0);var i=null==t?0:t.length;if(!i||e<1)return[];for(var a=0,s=0,l=r(Fn(i/e));ai?0:i+n),(r=r===o||r>i?i:Vs(r))<0&&(r+=i),r=n>r?0:Us(r);n>>0)?(t=Hs(t))&&("string"==typeof e||null!=e&&!Ls(e))&&!(e=Ri(e))&&kn(t)?Yi(Ln(t),0,n):t.split(e,n):[]},dr.spread=function(t,e){if("function"!=typeof t)throw new ie(l);return e=null==e?0:Hn(Vs(e),0),Ai(function(n){var r=n[e],i=Yi(n,0,e);return r&&tn(i,r),He(t,this,i)})},dr.tail=function(t){var e=null==t?0:t.length;return e?Oi(t,1,e):[]},dr.take=function(t,e,n){return t&&t.length?Oi(t,0,(e=n||e===o?1:Vs(e))<0?0:e):[]},dr.takeRight=function(t,e,n){var r=null==t?0:t.length;return r?Oi(t,(e=r-(e=n||e===o?1:Vs(e)))<0?0:e,r):[]},dr.takeRightWhile=function(t,e){return t&&t.length?Bi(t,Ro(e,3),!1,!0):[]},dr.takeWhile=function(t,e){return t&&t.length?Bi(t,Ro(e,3)):[]},dr.tap=function(t,e){return e(t),t},dr.throttle=function(t,e,n){var r=!0,i=!0;if("function"!=typeof t)throw new ie(l);return Ss(n)&&(r="leading"in n?!!n.leading:r,i="trailing"in n?!!n.trailing:i),is(t,e,{leading:r,maxWait:e,trailing:i})},dr.thru=Ba,dr.toArray=Ns,dr.toPairs=fl,dr.toPairsIn=hl,dr.toPath=function(t){return gs(t)?Qe(t,ca):Is(t)?[t]:no(ua(Hs(t)))},dr.toPlainObject=$s,dr.transform=function(t,e,n){var r=gs(t),i=r||_s(t)||Rs(t);if(e=Ro(e,4),null==n){var o=t&&t.constructor;n=i?r?new o:[]:Ss(t)&&Ms(o)?pr(De(t)):{}}return(i?Ge:Gr)(t,function(t,r,i){return e(n,t,r,i)}),n},dr.unary=function(t){return ts(t,1)},dr.union=Ca,dr.unionBy=Ea,dr.unionWith=Oa,dr.uniq=function(t){return t&&t.length?ji(t):[]},dr.uniqBy=function(t,e){return t&&t.length?ji(t,Ro(e,2)):[]},dr.uniqWith=function(t,e){return e="function"==typeof e?e:o,t&&t.length?ji(t,o,e):[]},dr.unset=function(t,e){return null==t||Fi(t,e)},dr.unzip=Da,dr.unzipWith=La,dr.update=function(t,e,n){return null==t?t:Ni(t,e,Hi(n))},dr.updateWith=function(t,e,n,r){return r="function"==typeof r?r:o,null==t?t:Ni(t,e,Hi(n),r)},dr.values=dl,dr.valuesIn=function(t){return null==t?[]:yn(t,ol(t))},dr.without=za,dr.words=Ml,dr.wrap=function(t,e){return cs(Hi(e),t)},dr.xor=Pa,dr.xorBy=Ia,dr.xorWith=Ra,dr.zip=ja,dr.zipObject=function(t,e){return qi(t||[],e||[],Cr)},dr.zipObjectDeep=function(t,e){return qi(t||[],e||[],Ti)},dr.zipWith=Fa,dr.entries=fl,dr.entriesIn=hl,dr.extend=Gs,dr.extendWith=Ys,Pl(dr,dr),dr.add=$l,dr.attempt=kl,dr.camelCase=pl,dr.capitalize=vl,dr.ceil=Hl,dr.clamp=function(t,e,n){return n===o&&(n=e,e=o),n!==o&&(n=(n=qs(n))==n?n:0),e!==o&&(e=(e=qs(e))==e?e:0),Pr(qs(t),e,n)},dr.clone=function(t){return Ir(t,p)},dr.cloneDeep=function(t){return Ir(t,h|p)},dr.cloneDeepWith=function(t,e){return Ir(t,h|p,e="function"==typeof e?e:o)},dr.cloneWith=function(t,e){return Ir(t,p,e="function"==typeof e?e:o)},dr.conformsTo=function(t,e){return null==e||Rr(t,e,il(e))},dr.deburr=ml,dr.defaultTo=function(t,e){return null==t||t!=t?e:t},dr.divide=Wl,dr.endsWith=function(t,e,n){t=Hs(t),e=Ri(e);var r=t.length,i=n=n===o?r:Pr(Vs(n),0,r);return(n-=e.length)>=0&&t.slice(n,i)==e},dr.eq=ds,dr.escape=function(t){return(t=Hs(t))&&kt.test(t)?t.replace(At,An):t},dr.escapeRegExp=function(t){return(t=Hs(t))&&zt.test(t)?t.replace(Lt,"\\$&"):t},dr.every=function(t,e,n){var r=gs(t)?Xe:Vr;return n&&Go(t,e,n)&&(e=o),r(t,Ro(e,3))},dr.find=qa,dr.findIndex=ma,dr.findKey=function(t,e){return an(t,Ro(e,3),Gr)},dr.findLast=$a,dr.findLastIndex=ga,dr.findLastKey=function(t,e){return an(t,Ro(e,3),Yr)},dr.floor=Gl,dr.forEach=Ha,dr.forEachRight=Wa,dr.forIn=function(t,e){return null==t?t:Hr(t,Ro(e,3),ol)},dr.forInRight=function(t,e){return null==t?t:Wr(t,Ro(e,3),ol)},dr.forOwn=function(t,e){return t&&Gr(t,Ro(e,3))},dr.forOwnRight=function(t,e){return t&&Yr(t,Ro(e,3))},dr.get=Qs,dr.gt=ps,dr.gte=vs,dr.has=function(t,e){return null!=t&&qo(t,e,ti)},dr.hasIn=tl,dr.head=ba,dr.identity=Ol,dr.includes=function(t,e,n,r){t=bs(t)?t:dl(t),n=n&&!r?Vs(n):0;var i=t.length;return n<0&&(n=Hn(i+n,0)),Ps(t)?n<=i&&t.indexOf(e,n)>-1:!!i&&ln(t,e,n)>-1},dr.indexOf=function(t,e,n){var r=null==t?0:t.length;if(!r)return-1;var i=null==n?0:Vs(n);return i<0&&(i=Hn(r+i,0)),ln(t,e,i)},dr.inRange=function(t,e,n){return e=Bs(e),n===o?(n=e,e=0):n=Bs(n),function(t,e,n){return t>=Wn(e,n)&&t=-P&&t<=P},dr.isSet=zs,dr.isString=Ps,dr.isSymbol=Is,dr.isTypedArray=Rs,dr.isUndefined=function(t){return t===o},dr.isWeakMap=function(t){return Cs(t)&&Uo(t)==at},dr.isWeakSet=function(t){return Cs(t)&&Kr(t)==st},dr.join=function(t,e){return null==t?"":qn.call(t,e)},dr.kebabCase=gl,dr.last=Aa,dr.lastIndexOf=function(t,e,n){var r=null==t?0:t.length;if(!r)return-1;var i=r;return n!==o&&(i=(i=Vs(n))<0?Hn(r+i,0):Wn(i,r-1)),e==e?function(t,e,n){for(var r=n+1;r--;)if(t[r]===e)return r;return r}(t,e,i):sn(t,cn,i,!0)},dr.lowerCase=yl,dr.lowerFirst=bl,dr.lt=js,dr.lte=Fs,dr.max=function(t){return t&&t.length?Ur(t,Ol,Qr):o},dr.maxBy=function(t,e){return t&&t.length?Ur(t,Ro(e,2),Qr):o},dr.mean=function(t){return fn(t,Ol)},dr.meanBy=function(t,e){return fn(t,Ro(e,2))},dr.min=function(t){return t&&t.length?Ur(t,Ol,fi):o},dr.minBy=function(t,e){return t&&t.length?Ur(t,Ro(e,2),fi):o},dr.stubArray=Ul,dr.stubFalse=ql,dr.stubObject=function(){return{}},dr.stubString=function(){return""},dr.stubTrue=function(){return!0},dr.multiply=Xl,dr.nth=function(t,e){return t&&t.length?mi(t,Vs(e)):o},dr.noConflict=function(){return ze._===this&&(ze._=ve),this},dr.noop=Il,dr.now=Qa,dr.pad=function(t,e,n){t=Hs(t);var r=(e=Vs(e))?Dn(t):0;if(!e||r>=e)return t;var i=(e-r)/2;return yo(Nn(i),n)+t+yo(Fn(i),n)},dr.padEnd=function(t,e,n){t=Hs(t);var r=(e=Vs(e))?Dn(t):0;return e&&re){var r=t;t=e,e=r}if(n||t%1||e%1){var i=Xn();return Wn(t+i*(e-t+Ee("1e-"+((i+"").length-1))),e)}return _i(t,e)},dr.reduce=function(t,e,n){var r=gs(t)?en:pn,i=arguments.length<3;return r(t,Ro(e,4),n,i,Nr)},dr.reduceRight=function(t,e,n){var r=gs(t)?nn:pn,i=arguments.length<3;return r(t,Ro(e,4),n,i,Br)},dr.repeat=function(t,e,n){return e=(n?Go(t,e,n):e===o)?1:Vs(e),wi(Hs(t),e)},dr.replace=function(){var t=arguments,e=Hs(t[0]);return t.length<3?e:e.replace(t[1],t[2])},dr.result=function(t,e,n){var r=-1,i=(e=Wi(e,t)).length;for(i||(i=1,t=o);++rP)return[];var n=j,r=Wn(t,j);e=Ro(e),t-=j;for(var i=mn(r,e);++n=a)return t;var l=n-Dn(r);if(l<1)return r;var u=s?Yi(s,0,l).join(""):t.slice(0,l);if(i===o)return u+r;if(s&&(l+=u.length-l),Ls(i)){if(t.slice(l).search(i)){var c,f=u;for(i.global||(i=ne(i.source,Hs(qt.exec(i))+"g")),i.lastIndex=0;c=i.exec(f);)var h=c.index;u=u.slice(0,h===o?l:h)}}else if(t.indexOf(Ri(i),l)!=l){var d=u.lastIndexOf(i);d>-1&&(u=u.slice(0,d))}return u+r},dr.unescape=function(t){return(t=Hs(t))&&Mt.test(t)?t.replace(wt,zn):t},dr.uniqueId=function(t){var e=++fe;return Hs(t)+e},dr.upperCase=wl,dr.upperFirst=Al,dr.each=Ha,dr.eachRight=Wa,dr.first=ba,Pl(dr,(Yl={},Gr(dr,function(t,e){ce.call(dr.prototype,e)||(Yl[e]=t)}),Yl),{chain:!1}),dr.VERSION="4.17.11",Ge(["bind","bindKey","curry","curryRight","partial","partialRight"],function(t){dr[t].placeholder=dr}),Ge(["drop","take"],function(t,e){gr.prototype[t]=function(n){n=n===o?1:Hn(Vs(n),0);var r=this.__filtered__&&!e?new gr(this):this.clone();return r.__filtered__?r.__takeCount__=Wn(n,r.__takeCount__):r.__views__.push({size:Wn(n,j),type:t+(r.__dir__<0?"Right":"")}),r},gr.prototype[t+"Right"]=function(e){return this.reverse()[t](e).reverse()}}),Ge(["filter","map","takeWhile"],function(t,e){var n=e+1,r=n==D||3==n;gr.prototype[t]=function(t){var e=this.clone();return e.__iteratees__.push({iteratee:Ro(t,3),type:n}),e.__filtered__=e.__filtered__||r,e}}),Ge(["head","last"],function(t,e){var n="take"+(e?"Right":"");gr.prototype[t]=function(){return this[n](1).value()[0]}}),Ge(["initial","tail"],function(t,e){var n="drop"+(e?"":"Right");gr.prototype[t]=function(){return this.__filtered__?new gr(this):this[n](1)}}),gr.prototype.compact=function(){return this.filter(Ol)},gr.prototype.find=function(t){return this.filter(t).head()},gr.prototype.findLast=function(t){return this.reverse().find(t)},gr.prototype.invokeMap=Ai(function(t,e){return"function"==typeof t?new gr(this):this.map(function(n){return ri(n,t,e)})}),gr.prototype.reject=function(t){return this.filter(ls(Ro(t)))},gr.prototype.slice=function(t,e){t=Vs(t);var n=this;return n.__filtered__&&(t>0||e<0)?new gr(n):(t<0?n=n.takeRight(-t):t&&(n=n.drop(t)),e!==o&&(n=(e=Vs(e))<0?n.dropRight(-e):n.take(e-t)),n)},gr.prototype.takeRightWhile=function(t){return this.reverse().takeWhile(t).reverse()},gr.prototype.toArray=function(){return this.take(j)},Gr(gr.prototype,function(t,e){var n=/^(?:filter|find|map|reject)|While$/.test(e),r=/^(?:head|last)$/.test(e),i=dr[r?"take"+("last"==e?"Right":""):e],a=r||/^find/.test(e);i&&(dr.prototype[e]=function(){var e=this.__wrapped__,s=r?[1]:arguments,l=e instanceof gr,u=s[0],c=l||gs(e),f=function(t){var e=i.apply(dr,tn([t],s));return r&&h?e[0]:e};c&&n&&"function"==typeof u&&1!=u.length&&(l=c=!1);var h=this.__chain__,d=!!this.__actions__.length,p=a&&!h,v=l&&!d;if(!a&&c){e=v?e:new gr(this);var m=t.apply(e,s);return m.__actions__.push({func:Ba,args:[f],thisArg:o}),new mr(m,h)}return p&&v?t.apply(this,s):(m=this.thru(f),p?r?m.value()[0]:m.value():m)})}),Ge(["pop","push","shift","sort","splice","unshift"],function(t){var e=oe[t],n=/^(?:push|sort|unshift)$/.test(t)?"tap":"thru",r=/^(?:pop|shift)$/.test(t);dr.prototype[t]=function(){var t=arguments;if(r&&!this.__chain__){var i=this.value();return e.apply(gs(i)?i:[],t)}return this[n](function(n){return e.apply(gs(n)?n:[],t)})}}),Gr(gr.prototype,function(t,e){var n=dr[e];if(n){var r=n.name+"";(ir[r]||(ir[r]=[])).push({name:e,func:n})}}),ir[po(o,y).name]=[{name:"wrapper",func:o}],gr.prototype.clone=function(){var t=new gr(this.__wrapped__);return t.__actions__=no(this.__actions__),t.__dir__=this.__dir__,t.__filtered__=this.__filtered__,t.__iteratees__=no(this.__iteratees__),t.__takeCount__=this.__takeCount__,t.__views__=no(this.__views__),t},gr.prototype.reverse=function(){if(this.__filtered__){var t=new gr(this);t.__dir__=-1,t.__filtered__=!0}else(t=this.clone()).__dir__*=-1;return t},gr.prototype.value=function(){var t=this.__wrapped__.value(),e=this.__dir__,n=gs(t),r=e<0,i=n?t.length:0,o=function(t,e,n){for(var r=-1,i=n.length;++r=this.__values__.length;return{done:t,value:t?o:this.__values__[this.__index__++]}},dr.prototype.plant=function(t){for(var e,n=this;n instanceof vr;){var r=ha(n);r.__index__=0,r.__values__=o,e?i.__wrapped__=r:e=r;var i=r;n=n.__wrapped__}return i.__wrapped__=t,e},dr.prototype.reverse=function(){var t=this.__wrapped__;if(t instanceof gr){var e=t;return this.__actions__.length&&(e=new gr(this)),(e=e.reverse()).__actions__.push({func:Ba,args:[Sa],thisArg:o}),new mr(e,this.__chain__)}return this.thru(Sa)},dr.prototype.toJSON=dr.prototype.valueOf=dr.prototype.value=function(){return Vi(this.__wrapped__,this.__actions__)},dr.prototype.first=dr.prototype.head,Fe&&(dr.prototype[Fe]=function(){return this}),dr}();ze._=Pn,(i=function(){return Pn}.call(e,n,e,r))===o||(r.exports=i)}).call(this)}).call(this,n(6),n(81)(t))},function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,"b",function(){return getTaxidFromEutils}),__webpack_require__.d(__webpack_exports__,"d",function(){return setTaxidAndAssemblyAndChromosomes}),__webpack_require__.d(__webpack_exports__,"c",function(){return getTaxids}),__webpack_require__.d(__webpack_exports__,"e",function(){return setTaxidData}),__webpack_require__.d(__webpack_exports__,"a",function(){return getOrganismFromEutils});var d3_fetch__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(5),d3=Object.assign({},d3_fetch__WEBPACK_IMPORTED_MODULE_0__);function getTaxidFromEutils(t){var e,n,r,i=this;e=i.config.organism,n=i.esearch+"&db=taxonomy&term="+e,d3.json(n).then(function(e){return r=e.esearchresult.idlist[0],void 0===i.config.taxids?i.config.taxids=[r]:i.config.taxids.push(r),t(r)})}function setTaxidData(taxid){var organism,dataDir,urlOrg,taxids,ideo=this;organism=ideo.config.organism,dataDir=ideo.config.dataDir,urlOrg=organism.replace(" ","-"),taxids=[taxid],ideo.organisms[taxid]={commonName:"",scientificName:organism,scientificNameAbbr:""};var fullyBandedTaxids=["9606","10090","10116"];fullyBandedTaxids.includes(taxid)&&!ideo.config.showFullyBanded&&(urlOrg+="-no-bands");var chromosomesUrl=dataDir+urlOrg+".js",promise2=new Promise(function(t,e){fetch(chromosomesUrl).then(function(n){if(!1!==n.ok)return n.text().then(function(e){t(e)});e(Error("Fetch failed for "+chromosomesUrl))})});return promise2.then(function(data){var asmAndChrTaxidsArray=[""],chromosomes=[],seenChrs={},chr;eval(data);for(var i=0;i=arguments.length)?l=e[s]:(l=arguments[i],i+=1),r[s]=l,a(l)||(o-=1),s+=1}return o<=0?n.apply(this,r):f(o,h(t,r,n))}}var d=l(function(t,e){return 1===t?s(e):f(t,h(t,[],e))}),p=s(function(t){return d(t.length,function(){var e=0,n=arguments[0],r=arguments[arguments.length-1],i=Array.prototype.slice.call(arguments,0);return i[0]=function(){var t=n.apply(this,c(arguments,[e,r]));return e+=1,t},t.apply(this,i)})});function v(t){return function e(n,r,i){switch(arguments.length){case 0:return e;case 1:return a(n)?e:l(function(e,r){return t(n,e,r)});case 2:return a(n)&&a(r)?e:a(n)?l(function(e,n){return t(e,r,n)}):a(r)?l(function(e,r){return t(n,e,r)}):s(function(e){return t(n,r,e)});default:return a(n)&&a(r)&&a(i)?e:a(n)&&a(r)?l(function(e,n){return t(e,n,i)}):a(n)&&a(i)?l(function(e,n){return t(e,r,n)}):a(r)&&a(i)?l(function(e,r){return t(n,e,r)}):a(n)?s(function(e){return t(e,r,i)}):a(r)?s(function(e){return t(n,e,i)}):a(i)?s(function(e){return t(n,r,e)}):t(n,r,i)}}}var m=v(function(t,e,n){if(t>=n.length||t<-n.length)return n;var r=(t<0?n.length:0)+t,i=c(n);return i[r]=e(n[r]),i}),g=Array.isArray||function(t){return null!=t&&t.length>=0&&"[object Array]"===Object.prototype.toString.call(t)};function y(t){return null!=t&&"function"==typeof t["@@transducer/step"]}function b(t,e,n){return function(){if(0===arguments.length)return n();var r=Array.prototype.slice.call(arguments,0),i=r.pop();if(!g(i)){for(var o=0;ot?e:t});function k(t,e){for(var n=0,r=e.length,i=Array(r);n0&&(t.hasOwnProperty(0)&&t.hasOwnProperty(t.length-1)))))}),C=function(){function t(t){this.f=t}return t.prototype["@@transducer/init"]=function(){throw new Error("init not implemented on XWrap")},t.prototype["@@transducer/result"]=function(t){return t},t.prototype["@@transducer/step"]=function(t,e){return this.f(t,e)},t}();function E(t){return new C(t)}var O=l(function(t,e){return f(t.length,function(){return t.apply(e,arguments)})});function D(t,e,n){for(var r=n.next();!r.done;){if((e=t["@@transducer/step"](e,r.value))&&e["@@transducer/reduced"]){e=e["@@transducer/value"];break}r=n.next()}return t["@@transducer/result"](e)}function L(t,e,n,r){return t["@@transducer/result"](n[r](O(t["@@transducer/step"],t),e))}var z="undefined"!=typeof Symbol?Symbol.iterator:"@@iterator";function P(t,e,n){if("function"==typeof t&&(t=E(t)),S(n))return function(t,e,n){for(var r=0,i=n.length;r=0;)j(e=V[n],t)&&!q(r,e)&&(r[r.length]=e),n-=1;return r}):s(function(t){return Object(t)!==t?[]:Object.keys(t)}),H=l(b(["fantasy-land/map","map"],R,function(t,e){switch(Object.prototype.toString.call(e)){case"[object Function]":return d(e.length,function(){return t.call(this,e.apply(this,arguments))});case"[object Object]":return P(function(n,r){return n[r]=t(e[r]),n},{},$(e));default:return k(t,e)}})),W=l(function(t,e){for(var n=e,r=0;r=0?r:0);ni?1:0}),dt=v(function(t,e,n){var r={};for(var i in n)r[i]=n[i];return r[t]=e,r}),pt=Number.isInteger||function(t){return t<<0===t},vt=s(function(t){return null==t}),mt=v(function t(e,n,r){if(0===e.length)return n;var i=e[0];if(e.length>1){var o=!vt(r)&&j(i,r)?r[i]:pt(e[1])?[]:{};n=t(Array.prototype.slice.call(e,1),n,o)}if(pt(i)&&g(r)){var a=[].concat(r);return a[i]=n,a}return dt(i,n,r)}),gt=l(function(t,e){switch(t){case 0:return function(){return e.call(this)};case 1:return function(t){return e.call(this,t)};case 2:return function(t,n){return e.call(this,t,n)};case 3:return function(t,n,r){return e.call(this,t,n,r)};case 4:return function(t,n,r,i){return e.call(this,t,n,r,i)};case 5:return function(t,n,r,i,o){return e.call(this,t,n,r,i,o)};case 6:return function(t,n,r,i,o,a){return e.call(this,t,n,r,i,o,a)};case 7:return function(t,n,r,i,o,a,s){return e.call(this,t,n,r,i,o,a,s)};case 8:return function(t,n,r,i,o,a,s,l){return e.call(this,t,n,r,i,o,a,s,l)};case 9:return function(t,n,r,i,o,a,s,l,u){return e.call(this,t,n,r,i,o,a,s,l,u)};case 10:return function(t,n,r,i,o,a,s,l,u,c){return e.call(this,t,n,r,i,o,a,s,l,u,c)};default:throw new Error("First argument to nAry must be a non-negative integer no greater than ten")}}),yt=s(function(t){return gt(2,t)});function bt(t){return"[object Function]"===Object.prototype.toString.call(t)}var xt=l(function(t,e){var n=d(t,e);return d(t,function(){return P(nt,H(n,arguments[0]),Array.prototype.slice.call(arguments,1))})}),_t=s(function(t){return xt(t.length,t)}),wt=l(function(t,e){return bt(t)?function(){return t.apply(this,arguments)&&e.apply(this,arguments)}:_t(K)(t,e)}),At=s(function(t){return d(t.length,t)}),Mt=At(function(t){return t.apply(this,Array.prototype.slice.call(arguments,1))});function kt(t){return function e(n){for(var r,i,o,a=[],s=0,l=n.length;se)throw new Error("min must not be greater than max in clamp(min, max, value)");return ne?e:n});function Et(t){return new RegExp(t.source,(t.global?"g":"")+(t.ignoreCase?"i":"")+(t.multiline?"m":"")+(t.sticky?"y":"")+(t.unicode?"u":""))}var Ot=s(function(t){return null===t?"Null":void 0===t?"Undefined":Object.prototype.toString.call(t).slice(8,-1)});function Dt(t,e,n,r){var i=function(i){for(var o=e.length,a=0;a=0;){if(n[s]===t)return r[s]===e;s-=1}switch(a){case"Map":return t.size===e.size&&ne(t.entries(),e.entries(),n.concat([t]),r.concat([e]));case"Set":return t.size===e.size&&ne(t.values(),e.values(),n.concat([t]),r.concat([e]));case"Arguments":case"Array":case"Object":case"Boolean":case"Number":case"String":case"Date":case"Error":case"RegExp":case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Int32Array":case"Uint32Array":case"Float32Array":case"Float64Array":case"ArrayBuffer":break;default:return!1}var l=$(t);if(l.length!==$(e).length)return!1;var u=n.concat([t]),c=r.concat([e]);for(s=l.length-1;s>=0;){var f=l[s];if(!j(f,e)||!re(e[f],t[f],u,c))return!1;s-=1}return!0}var ie=l(function(t,e){return re(t,e,[],[])});function oe(t,e,n){var r,i;if("function"==typeof t.indexOf)switch(typeof e){case"number":if(0===e){for(r=1/e;n=0}function se(t){return'"'+t.replace(/\\/g,"\\\\").replace(/[\b]/g,"\\b").replace(/\f/g,"\\f").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/\t/g,"\\t").replace(/\v/g,"\\v").replace(/\0/g,"\\0").replace(/"/g,'\\"')+'"'}var le=function(t){return(t<10?"0":"")+t},ue="function"==typeof Date.prototype.toISOString?function(t){return t.toISOString()}:function(t){return t.getUTCFullYear()+"-"+le(t.getUTCMonth()+1)+"-"+le(t.getUTCDate())+"T"+le(t.getUTCHours())+":"+le(t.getUTCMinutes())+":"+le(t.getUTCSeconds())+"."+(t.getUTCMilliseconds()/1e3).toFixed(3).slice(2,5)+"Z"};function ce(t){return function(){return!t.apply(this,arguments)}}function fe(t,e){for(var n=0,r=e.length,i=[];n":me(n,r)},r=function(t,e){return k(function(e){return se(e)+": "+n(t[e])},e.slice().sort())};switch(Object.prototype.toString.call(t)){case"[object Arguments]":return"(function() { return arguments; }("+k(n,t).join(", ")+"))";case"[object Array]":return"["+k(n,t).concat(r(t,ve(function(t){return/^\d+$/.test(t)},$(t)))).join(", ")+"]";case"[object Boolean]":return"object"==typeof t?"new Boolean("+n(t.valueOf())+")":t.toString();case"[object Date]":return"new Date("+(isNaN(t.valueOf())?n(NaN):se(ue(t)))+")";case"[object Null]":return"null";case"[object Number]":return"object"==typeof t?"new Number("+n(t.valueOf())+")":1/t==-1/0?"-0":t.toString(10);case"[object String]":return"object"==typeof t?"new String("+n(t.valueOf())+")":se(t);case"[object Undefined]":return"undefined";default:if("function"==typeof t.toString){var i=t.toString();if("[object Object]"!==i)return i}return"{"+r(t,$(t)).join(", ")+"}"}}var ge=s(function(t){return me(t,[])}),ye=l(function(t,e){if(g(t)){if(g(e))return t.concat(e);throw new TypeError(ge(e)+" is not an array")}if(T(t)){if(T(e))return t+e;throw new TypeError(ge(e)+" is not a string")}if(null!=t&&bt(t["fantasy-land/concat"]))return t["fantasy-land/concat"](e);if(null!=t&&bt(t.concat))return t.concat(e);throw new TypeError(ge(t)+' does not have a method named "concat" or "fantasy-land/concat"')}),be=s(function(t){return f(X(M,0,H(function(t){return t[0].length},t)),function(){for(var e=0;e10)throw new Error("Constructor with greater than ten arguments");return 0===t?function(){return new e}:At(gt(t,function(t,n,r,i,o,a,s,l,u,c){switch(arguments.length){case 1:return new e(t);case 2:return new e(t,n);case 3:return new e(t,n,r);case 4:return new e(t,n,r,i);case 5:return new e(t,n,r,i,o);case 6:return new e(t,n,r,i,o,a);case 7:return new e(t,n,r,i,o,a,s);case 8:return new e(t,n,r,i,o,a,s,l);case 9:return new e(t,n,r,i,o,a,s,l,u);case 10:return new e(t,n,r,i,o,a,s,l,u,c)}}))}),_e=s(function(t){return xe(t.length,t)}),we=l(ae),Ae=l(function(t,e){return d(X(M,0,Y("length",e)),function(){var n=arguments,r=this;return t.apply(r,k(function(t){return t.apply(r,n)},e))})}),Me=function(){function t(t,e,n,r){this.valueFn=t,this.valueAcc=e,this.keyFn=n,this.xf=r,this.inputs={}}return t.prototype["@@transducer/init"]=_.init,t.prototype["@@transducer/result"]=function(t){var e;for(e in this.inputs)if(j(e,this.inputs)&&(t=this.xf["@@transducer/step"](t,this.inputs[e]))["@@transducer/reduced"]){t=t["@@transducer/value"];break}return this.inputs=null,this.xf["@@transducer/result"](t)},t.prototype["@@transducer/step"]=function(t,e){var n=this.keyFn(e);return this.inputs[n]=this.inputs[n]||[n,this.valueAcc],this.inputs[n][1]=this.valueFn(this.inputs[n][1],e),t},t}(),ke=h(4,[],b([],h(4,[],function(t,e,n,r){return new Me(t,e,n,r)}),function(t,e,n,r){return P(function(r,i){var o=n(i);return r[o]=t(j(o,r)?r[o]:e,i),r},{},r)})),Te=ke(function(t,e){return t+1},0),Se=u(-1),Ce=l(function(t,e){return null==e||e!=e?t:e}),Ee=v(function(t,e,n){var r=t(e),i=t(n);return r>i?-1:r0?(this.n-=1,t):this.xf["@@transducer/step"](t,e)},t}(),Be=l(b(["drop"],l(function(t,e){return new Ne(t,e)}),function(t,e){return Ft(Math.max(0,t),1/0,e)})),Ve=function(){function t(t,e){this.xf=e,this.n=t,this.i=0}return t.prototype["@@transducer/init"]=_.init,t.prototype["@@transducer/result"]=_.result,t.prototype["@@transducer/step"]=function(t,e){this.i+=1;var n=0===this.n?t:this.xf["@@transducer/step"](t,e);return this.n>=0&&this.i>=this.n?x(n):n},t}(),Ue=l(b(["take"],l(function(t,e){return new Ve(t,e)}),function(t,e){return Ft(0,t<0?1/0:t,e)}));function qe(t,e){return Ue(t=0&&t(e[n]);)n-=1;return Ft(0,n+1,e)}var Ge=function(){function t(t,e){this.f=t,this.retained=[],this.xf=e}return t.prototype["@@transducer/init"]=_.init,t.prototype["@@transducer/result"]=function(t){return this.retained=null,this.xf["@@transducer/result"](t)},t.prototype["@@transducer/step"]=function(t,e){return this.f(e)?this.retain(t,e):this.flush(t,e)},t.prototype.flush=function(t,e){return t=P(this.xf["@@transducer/step"],t,this.retained),this.retained=[],this.xf["@@transducer/step"](t,e)},t.prototype.retain=function(t,e){return this.retained.push(e),t},t}(),Ye=l(b([],l(function(t,e){return new Ge(t,e)}),We)),Xe=function(){function t(t,e){this.xf=e,this.pred=t,this.lastValue=void 0,this.seenFirstValue=!1}return t.prototype["@@transducer/init"]=_.init,t.prototype["@@transducer/result"]=_.result,t.prototype["@@transducer/step"]=function(t,e){var n=!1;return this.seenFirstValue?this.pred(this.lastValue,e)&&(n=!0):this.seenFirstValue=!0,this.lastValue=e,n?t:this.xf["@@transducer/step"](t,e)},t}(),Ze=l(function(t,e){return new Xe(t,e)}),Je=Gt(-1),Ke=l(b([],Ze,function(t,e){var n=[],r=1,i=e.length;if(0!==i)for(n[0]=e[0];r=0?e.length-t:0,e)}),sn=l(function(t,e){return ie(an(t.length,e),t)}),ln=v(function(t,e,n){return ie(t(e),t(n))}),un=v(function(t,e,n){return ie(e[t],n[t])}),cn=l(function t(e,n){var r,i,o,a=n instanceof Array?[]:{};for(i in n)o=typeof(r=e[i]),a[i]="function"===o?r(n[i]):r&&"object"===o?t(r,n[i]):n[i];return a}),fn=function(){function t(t,e){this.xf=e,this.f=t,this.found=!1}return t.prototype["@@transducer/init"]=_.init,t.prototype["@@transducer/result"]=function(t){return this.found||(t=this.xf["@@transducer/step"](t,void 0)),this.xf["@@transducer/result"](t)},t.prototype["@@transducer/step"]=function(t,e){return this.f(e)&&(this.found=!0,t=x(this.xf["@@transducer/step"](t,e))),t},t}(),hn=l(b(["find"],l(function(t,e){return new fn(t,e)}),function(t,e){for(var n=0,r=e.length;n=0;){if(t(e[n]))return e[n];n-=1}})),gn=function(){function t(t,e){this.xf=e,this.f=t,this.idx=-1,this.lastIdx=-1}return t.prototype["@@transducer/init"]=_.init,t.prototype["@@transducer/result"]=function(t){return this.xf["@@transducer/result"](this.xf["@@transducer/step"](t,this.lastIdx))},t.prototype["@@transducer/step"]=function(t,e){return this.idx+=1,this.f(e)&&(this.lastIdx=this.idx),t},t}(),yn=l(b([],l(function(t,e){return new gn(t,e)}),function(t,e){for(var n=e.length-1;n>=0;){if(t(e[n]))return n;n-=1}return-1})),bn=s(kt(!0)),xn=s(function(t){return d(t.length,function(e,n){var r=Array.prototype.slice.call(arguments,0);return r[0]=n,r[1]=e,t.apply(this,r)})}),_n=l(jt("forEach",function(t,e){for(var n=e.length,r=0;re}),Sn=l(function(t,e){return t>=e}),Cn=l(function(t,e){if(0===t.length)return!1;for(var n=e,r=0;r=0?t:n.length;var r=Array.prototype.slice.call(n,0);return r.splice(t,0,e),r}),Bn=v(function(t,e,n){return t=t=0?t:n.length,[].concat(Array.prototype.slice.call(n,0,t),e,Array.prototype.slice.call(n,t))}),Vn=l(function(t,e){for(var n,r,i=new De,o=[],a=0;ae.length?(n=t,r=e):(n=e,r=t),Un(fe(xn(ae)(n),r))}),$n=l(jt("intersperse",function(t,e){for(var n=[],r=0,i=e.length;r=0;){if(ie(e[n],t))return n;n-=1}return-1}return e.lastIndexOf(t)});function ar(t){return"[object Number]"===Object.prototype.toString.call(t)}var sr=s(function(t){return null!=t&&ar(t.length)?t.length:NaN}),lr=l(function(t,e){return function(n){return function(r){return H(function(t){return e(t,r)},n(t(r)))}}}),ur=s(function(t){return lr(Gt(t),Re(t))}),cr=s(function(t){return lr(W(t),mt(t))}),fr=s(function(t){return lr(G(t),dt(t))}),hr=l(function(t,e){return t=0;)o=t(o[0],n[r]),i[r]=o[1],r-=1;return[o[0],i]}),mr=l(function(t,e){return P(function(n,r){return n[r]=t(e[r],r,e),n},{},$(e))}),gr=l(function(t,e){return e.match(t)||[]}),yr=l(function(t,e){return pt(t)?!pt(e)||e<1?NaN:(t%e+e)%e:NaN}),br=v(function(t,e,n){return t(n)>t(e)?n:e}),xr=X(u,0),_r=s(function(t){return xr(t)/t.length}),wr=s(function(t){var e=t.length;if(0===e)return NaN;var n=2-e%2,r=(e-n)/2;return _r(Array.prototype.slice.call(t,0).sort(function(t,e){return te?1:0}).slice(r,r+n))}),Ar=l(function(t,e){var n={};return f(e.length,function(){var r=t.apply(this,arguments);return j(r,n)||(n[r]=e.apply(this,arguments)),n[r]})}),Mr=l(function(t,e){return Hn({},t,e)}),kr=s(function(t){return Hn.apply(null,[{}].concat(t))}),Tr=v(function(t,e,n){var r,i={};for(r in e)j(r,e)&&(i[r]=j(r,n)?t(r,e[r],n[r]):e[r]);for(r in n)j(r,n)&&!j(r,i)&&(i[r]=n[r]);return i}),Sr=v(function t(e,n,r){return Tr(function(n,r,i){return he(r)&&he(i)?t(e,r,i):e(n,r,i)},n,r)}),Cr=l(function(t,e){return Sr(function(t,e,n){return e},t,e)}),Er=l(function(t,e){return Sr(function(t,e,n){return n},t,e)}),Or=v(function(t,e,n){return Sr(function(e,n,r){return t(n,r)},e,n)}),Dr=l(function(t,e){return Hn({},e,t)}),Lr=l(function(t,e){return Hn({},t,e)}),zr=v(function(t,e,n){return Tr(function(e,n,r){return t(n,r)},e,n)}),Pr=l(function(t,e){return e=n.length||a<0||a>=n.length?n:[].concat(i.slice(0,a)).concat(s).concat(i.slice(a,n.length))}),Fr=l(function(t,e){return t*e}),Nr=s(function(t){return-t}),Br=l(function(t,e){return A(ce(t),e)}),Vr=s(function(t){return d(t<0?1:t+1,function(){return Gt(t,arguments)})}),Ur=v(function(t,e,n){return t(e(n))});function qr(t){return[t]}var $r=s(qr),Hr=l(function(t,e){for(var n={},r={},i=0,o=t.length;i0&&t(W(e,n))}),oi=l(function(t,e){for(var n={},r=0;r=0;)e=t(n[r],e),r-=1;return e}),xi=h(4,[],function(t,e,n,r){return P(function(n,r){return t(n,r)?e(n,r):x(n)},n,r)}),_i=s(x),wi=l(function(t,e){var n,r=Number(e),i=0;if(r<0||isNaN(r))throw new RangeError("n must be a non-negative number");for(n=new Array(r);ii?1:0})}),Oi=l(function(t,e){return Array.prototype.slice.call(e,0).sort(function(e,n){for(var r=0,i=0;0===r&&i=0&&t(e[n]);)n-=1;return Ft(n+1,1/0,e)}),Bi=function(){function t(t,e){this.xf=e,this.f=t}return t.prototype["@@transducer/init"]=_.init,t.prototype["@@transducer/result"]=_.result,t.prototype["@@transducer/step"]=function(t,e){return this.f(e)?this.xf["@@transducer/step"](t,e):x(t)},t}(),Vi=l(b(["takeWhile"],l(function(t,e){return new Bi(t,e)}),function(t,e){for(var n=0,r=e.length;n0&&(i=1/Math.sqrt(i),t[0]=e[0]*i,t[1]=e[1]*i),t},s.dot=function(t,e){return t[0]*e[0]+t[1]*e[1]},s.cross=function(t,e,n){var r=e[0]*n[1]-e[1]*n[0];return t[0]=t[1]=0,t[2]=r,t},s.lerp=function(t,e,n,r){var i=e[0],o=e[1];return t[0]=i+r*(n[0]-i),t[1]=o+r*(n[1]-o),t},s.random=function(t,e){e=e||1;var n=2*r()*Math.PI;return t[0]=Math.cos(n)*e,t[1]=Math.sin(n)*e,t},s.transformMat2=function(t,e,n){var r=e[0],i=e[1];return t[0]=n[0]*r+n[2]*i,t[1]=n[1]*r+n[3]*i,t},s.transformMat2d=function(t,e,n){var r=e[0],i=e[1];return t[0]=n[0]*r+n[2]*i+n[4],t[1]=n[1]*r+n[3]*i+n[5],t},s.transformMat3=function(t,e,n){var r=e[0],i=e[1];return t[0]=n[0]*r+n[3]*i+n[6],t[1]=n[1]*r+n[4]*i+n[7],t},s.transformMat4=function(t,e,n){var r=e[0],i=e[1];return t[0]=n[0]*r+n[4]*i+n[12],t[1]=n[1]*r+n[5]*i+n[13],t},s.forEach=(a=s.create(),function(t,e,n,r,i,o){var s,l;for(e||(e=2),n||(n=0),l=r?Math.min(r*e+n,t.length):t.length,s=n;s0&&(o=1/Math.sqrt(o),t[0]=e[0]*o,t[1]=e[1]*o,t[2]=e[2]*o),t},l.dot=function(t,e){return t[0]*e[0]+t[1]*e[1]+t[2]*e[2]},l.cross=function(t,e,n){var r=e[0],i=e[1],o=e[2],a=n[0],s=n[1],l=n[2];return t[0]=i*l-o*s,t[1]=o*a-r*l,t[2]=r*s-i*a,t},l.lerp=function(t,e,n,r){var i=e[0],o=e[1],a=e[2];return t[0]=i+r*(n[0]-i),t[1]=o+r*(n[1]-o),t[2]=a+r*(n[2]-a),t},l.random=function(t,e){e=e||1;var n=2*r()*Math.PI,i=2*r()-1,o=Math.sqrt(1-i*i)*e;return t[0]=Math.cos(n)*o,t[1]=Math.sin(n)*o,t[2]=i*e,t},l.transformMat4=function(t,e,n){var r=e[0],i=e[1],o=e[2],a=n[3]*r+n[7]*i+n[11]*o+n[15];return a=a||1,t[0]=(n[0]*r+n[4]*i+n[8]*o+n[12])/a,t[1]=(n[1]*r+n[5]*i+n[9]*o+n[13])/a,t[2]=(n[2]*r+n[6]*i+n[10]*o+n[14])/a,t},l.transformMat3=function(t,e,n){var r=e[0],i=e[1],o=e[2];return t[0]=r*n[0]+i*n[3]+o*n[6],t[1]=r*n[1]+i*n[4]+o*n[7],t[2]=r*n[2]+i*n[5]+o*n[8],t},l.transformQuat=function(t,e,n){var r=e[0],i=e[1],o=e[2],a=n[0],s=n[1],l=n[2],u=n[3],c=u*r+s*o-l*i,f=u*i+l*r-a*o,h=u*o+a*i-s*r,d=-a*r-s*i-l*o;return t[0]=c*u+d*-a+f*-l-h*-s,t[1]=f*u+d*-s+h*-a-c*-l,t[2]=h*u+d*-l+c*-s-f*-a,t},l.rotateX=function(t,e,n,r){var i=[],o=[];return i[0]=e[0]-n[0],i[1]=e[1]-n[1],i[2]=e[2]-n[2],o[0]=i[0],o[1]=i[1]*Math.cos(r)-i[2]*Math.sin(r),o[2]=i[1]*Math.sin(r)+i[2]*Math.cos(r),t[0]=o[0]+n[0],t[1]=o[1]+n[1],t[2]=o[2]+n[2],t},l.rotateY=function(t,e,n,r){var i=[],o=[];return i[0]=e[0]-n[0],i[1]=e[1]-n[1],i[2]=e[2]-n[2],o[0]=i[2]*Math.sin(r)+i[0]*Math.cos(r),o[1]=i[1],o[2]=i[2]*Math.cos(r)-i[0]*Math.sin(r),t[0]=o[0]+n[0],t[1]=o[1]+n[1],t[2]=o[2]+n[2],t},l.rotateZ=function(t,e,n,r){var i=[],o=[];return i[0]=e[0]-n[0],i[1]=e[1]-n[1],i[2]=e[2]-n[2],o[0]=i[0]*Math.cos(r)-i[1]*Math.sin(r),o[1]=i[0]*Math.sin(r)+i[1]*Math.cos(r),o[2]=i[2],t[0]=o[0]+n[0],t[1]=o[1]+n[1],t[2]=o[2]+n[2],t},l.forEach=function(){var t=l.create();return function(e,n,r,i,o,a){var s,l;for(n||(n=3),r||(r=0),l=i?Math.min(i*n+r,e.length):e.length,s=r;s1?0:Math.acos(i)},l.str=function(t){return"vec3("+t[0]+", "+t[1]+", "+t[2]+")"},void 0!==t&&(t.vec3=l);var u={create:function(){var t=new n(4);return t[0]=0,t[1]=0,t[2]=0,t[3]=0,t},clone:function(t){var e=new n(4);return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e},fromValues:function(t,e,r,i){var o=new n(4);return o[0]=t,o[1]=e,o[2]=r,o[3]=i,o},copy:function(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t},set:function(t,e,n,r,i){return t[0]=e,t[1]=n,t[2]=r,t[3]=i,t},add:function(t,e,n){return t[0]=e[0]+n[0],t[1]=e[1]+n[1],t[2]=e[2]+n[2],t[3]=e[3]+n[3],t},subtract:function(t,e,n){return t[0]=e[0]-n[0],t[1]=e[1]-n[1],t[2]=e[2]-n[2],t[3]=e[3]-n[3],t}};u.sub=u.subtract,u.multiply=function(t,e,n){return t[0]=e[0]*n[0],t[1]=e[1]*n[1],t[2]=e[2]*n[2],t[3]=e[3]*n[3],t},u.mul=u.multiply,u.divide=function(t,e,n){return t[0]=e[0]/n[0],t[1]=e[1]/n[1],t[2]=e[2]/n[2],t[3]=e[3]/n[3],t},u.div=u.divide,u.min=function(t,e,n){return t[0]=Math.min(e[0],n[0]),t[1]=Math.min(e[1],n[1]),t[2]=Math.min(e[2],n[2]),t[3]=Math.min(e[3],n[3]),t},u.max=function(t,e,n){return t[0]=Math.max(e[0],n[0]),t[1]=Math.max(e[1],n[1]),t[2]=Math.max(e[2],n[2]),t[3]=Math.max(e[3],n[3]),t},u.scale=function(t,e,n){return t[0]=e[0]*n,t[1]=e[1]*n,t[2]=e[2]*n,t[3]=e[3]*n,t},u.scaleAndAdd=function(t,e,n,r){return t[0]=e[0]+n[0]*r,t[1]=e[1]+n[1]*r,t[2]=e[2]+n[2]*r,t[3]=e[3]+n[3]*r,t},u.distance=function(t,e){var n=e[0]-t[0],r=e[1]-t[1],i=e[2]-t[2],o=e[3]-t[3];return Math.sqrt(n*n+r*r+i*i+o*o)},u.dist=u.distance,u.squaredDistance=function(t,e){var n=e[0]-t[0],r=e[1]-t[1],i=e[2]-t[2],o=e[3]-t[3];return n*n+r*r+i*i+o*o},u.sqrDist=u.squaredDistance,u.length=function(t){var e=t[0],n=t[1],r=t[2],i=t[3];return Math.sqrt(e*e+n*n+r*r+i*i)},u.len=u.length,u.squaredLength=function(t){var e=t[0],n=t[1],r=t[2],i=t[3];return e*e+n*n+r*r+i*i},u.sqrLen=u.squaredLength,u.negate=function(t,e){return t[0]=-e[0],t[1]=-e[1],t[2]=-e[2],t[3]=-e[3],t},u.inverse=function(t,e){return t[0]=1/e[0],t[1]=1/e[1],t[2]=1/e[2],t[3]=1/e[3],t},u.normalize=function(t,e){var n=e[0],r=e[1],i=e[2],o=e[3],a=n*n+r*r+i*i+o*o;return a>0&&(a=1/Math.sqrt(a),t[0]=e[0]*a,t[1]=e[1]*a,t[2]=e[2]*a,t[3]=e[3]*a),t},u.dot=function(t,e){return t[0]*e[0]+t[1]*e[1]+t[2]*e[2]+t[3]*e[3]},u.lerp=function(t,e,n,r){var i=e[0],o=e[1],a=e[2],s=e[3];return t[0]=i+r*(n[0]-i),t[1]=o+r*(n[1]-o),t[2]=a+r*(n[2]-a),t[3]=s+r*(n[3]-s),t},u.random=function(t,e){return e=e||1,t[0]=r(),t[1]=r(),t[2]=r(),t[3]=r(),u.normalize(t,t),u.scale(t,t,e),t},u.transformMat4=function(t,e,n){var r=e[0],i=e[1],o=e[2],a=e[3];return t[0]=n[0]*r+n[4]*i+n[8]*o+n[12]*a,t[1]=n[1]*r+n[5]*i+n[9]*o+n[13]*a,t[2]=n[2]*r+n[6]*i+n[10]*o+n[14]*a,t[3]=n[3]*r+n[7]*i+n[11]*o+n[15]*a,t},u.transformQuat=function(t,e,n){var r=e[0],i=e[1],o=e[2],a=n[0],s=n[1],l=n[2],u=n[3],c=u*r+s*o-l*i,f=u*i+l*r-a*o,h=u*o+a*i-s*r,d=-a*r-s*i-l*o;return t[0]=c*u+d*-a+f*-l-h*-s,t[1]=f*u+d*-s+h*-a-c*-l,t[2]=h*u+d*-l+c*-s-f*-a,t},u.forEach=function(){var t=u.create();return function(e,n,r,i,o,a){var s,l;for(n||(n=4),r||(r=0),l=i?Math.min(i*n+r,e.length):e.length,s=r;s.999999?(t[0]=0,t[1]=0,t[2]=0,t[3]=1,t):(l.cross(p,e,n),t[0]=p[0],t[1]=p[1],t[2]=p[2],t[3]=1+r,y.normalize(t,t))}),y.setAxes=(g=h.create(),function(t,e,n,r){return g[0]=n[0],g[3]=n[1],g[6]=n[2],g[1]=r[0],g[4]=r[1],g[7]=r[2],g[2]=-e[0],g[5]=-e[1],g[8]=-e[2],y.normalize(t,y.fromMat3(t,g))}),y.clone=u.clone,y.fromValues=u.fromValues,y.copy=u.copy,y.set=u.set,y.identity=function(t){return t[0]=0,t[1]=0,t[2]=0,t[3]=1,t},y.setAxisAngle=function(t,e,n){n*=.5;var r=Math.sin(n);return t[0]=r*e[0],t[1]=r*e[1],t[2]=r*e[2],t[3]=Math.cos(n),t},y.add=u.add,y.multiply=function(t,e,n){var r=e[0],i=e[1],o=e[2],a=e[3],s=n[0],l=n[1],u=n[2],c=n[3];return t[0]=r*c+a*s+i*u-o*l,t[1]=i*c+a*l+o*s-r*u,t[2]=o*c+a*u+r*l-i*s,t[3]=a*c-r*s-i*l-o*u,t},y.mul=y.multiply,y.scale=u.scale,y.rotateX=function(t,e,n){n*=.5;var r=e[0],i=e[1],o=e[2],a=e[3],s=Math.sin(n),l=Math.cos(n);return t[0]=r*l+a*s,t[1]=i*l+o*s,t[2]=o*l-i*s,t[3]=a*l-r*s,t},y.rotateY=function(t,e,n){n*=.5;var r=e[0],i=e[1],o=e[2],a=e[3],s=Math.sin(n),l=Math.cos(n);return t[0]=r*l-o*s,t[1]=i*l+a*s,t[2]=o*l+r*s,t[3]=a*l-i*s,t},y.rotateZ=function(t,e,n){n*=.5;var r=e[0],i=e[1],o=e[2],a=e[3],s=Math.sin(n),l=Math.cos(n);return t[0]=r*l+i*s,t[1]=i*l-r*s,t[2]=o*l+a*s,t[3]=a*l-o*s,t},y.calculateW=function(t,e){var n=e[0],r=e[1],i=e[2];return t[0]=n,t[1]=r,t[2]=i,t[3]=Math.sqrt(Math.abs(1-n*n-r*r-i*i)),t},y.dot=u.dot,y.lerp=u.lerp,y.slerp=function(t,e,n,r){var i,o,a,s,l,u=e[0],c=e[1],f=e[2],h=e[3],d=n[0],p=n[1],v=n[2],m=n[3];return(o=u*d+c*p+f*v+h*m)<0&&(o=-o,d=-d,p=-p,v=-v,m=-m),1-o>1e-6?(i=Math.acos(o),a=Math.sin(i),s=Math.sin((1-r)*i)/a,l=Math.sin(r*i)/a):(s=1-r,l=r),t[0]=s*u+l*d,t[1]=s*c+l*p,t[2]=s*f+l*v,t[3]=s*h+l*m,t},y.invert=function(t,e){var n=e[0],r=e[1],i=e[2],o=e[3],a=n*n+r*r+i*i+o*o,s=a?1/a:0;return t[0]=-n*s,t[1]=-r*s,t[2]=-i*s,t[3]=o*s,t},y.conjugate=function(t,e){return t[0]=-e[0],t[1]=-e[1],t[2]=-e[2],t[3]=e[3],t},y.length=u.length,y.len=y.length,y.squaredLength=u.squaredLength,y.sqrLen=y.squaredLength,y.normalize=u.normalize,y.fromMat3=function(t,e){var n,r=e[0]+e[4]+e[8];if(r>0)n=Math.sqrt(r+1),t[3]=.5*n,n=.5/n,t[0]=(e[5]-e[7])*n,t[1]=(e[6]-e[2])*n,t[2]=(e[1]-e[3])*n;else{var i=0;e[4]>e[0]&&(i=1),e[8]>e[3*i+i]&&(i=2);var o=(i+1)%3,a=(i+2)%3;n=Math.sqrt(e[3*i+i]-e[3*o+o]-e[3*a+a]+1),t[i]=.5*n,n=.5/n,t[3]=(e[3*o+a]-e[3*a+o])*n,t[o]=(e[3*o+i]+e[3*i+o])*n,t[a]=(e[3*a+i]+e[3*i+a])*n}return t},y.str=function(t){return"quat("+t[0]+", "+t[1]+", "+t[2]+", "+t[3]+")"},void 0!==t&&(t.quat=y)}(n.exports)}()},function(t,e,n){"use strict";var r=n(14),i=n(12),o=n(18);function a(t,e,n){return Math.min(e,Math.max(t,n))}t.exports.new=function(){return{aspect:1,zoom:.125,translation:{x:0,y:0},atomScale:.6,relativeAtomScale:1,bondScale:.5,rotation:r.mat4.create(),ao:.75,aoRes:256,brightness:.5,outline:0,spf:32,bonds:!1,bondThreshold:1.2,bondShade:.5,atomShade:.5,resolution:768,dofStrength:0,dofPosition:.5,fxaa:1}},t.exports.center=function(t,e){for(var n=-1/0,o=1/0,a=-1/0,s=1/0,l=0;l=1?(r=s.shift(),i=s.join(" ")):r=t,r){var l=r.split("|");for(e=l.pop(),a.en=e;0!=l.length;){var u=l.shift(),c=l.shift();o[u]=c}}else e=r;if(i){var f=i.split("=");if(f.length>1){var h,d;f.length;f.forEach(function(t){var e,r=(t=t.trim()).split(" ");if(r.length>1?(d=r.pop(),e=r.join(" ")):e=t,h){var i=h.toLowerCase();a[i]=e}else n=e;h=d})}else n=f.shift()}var p={name:e,ids:o,details:a};return n&&(p.desc=n),p};var i={sp:{link:"http://www.uniprot.org/%s",name:"Uniprot"},tr:{link:"http://www.uniprot.org/%s",name:"Trembl"},gb:{link:"http://www.ncbi.nlm.nih.gov/nuccore/%s",name:"Genbank"},pdb:{link:"http://www.rcsb.org/pdb/explore/explore.do?structureId=%s",name:"PDB"}};r.buildLinks=function(t){var e={};return t=t||{},Object.keys(t).forEach(function(n){if(n in i){var r=i[n],o=r.link.replace("%s",t[n]);e[r.name]=o}}),e},r.contains=function(t,e){return-1!=="".indexOf.call(t,e,0)},r.splitNChars=function(t,e){var n,r;e=e||80;var i=[];for(n=0,r=t.length-1;n<=r;n+=e)i.push(t.substr(n,e));return i},r.reverse=function(t){return t.split("").reverse().join("")},r.complement=function(t){var e=t+"",n=[[/g/g,"0"],[/c/g,"1"],[/0/g,"c"],[/1/g,"g"],[/G/g,"0"],[/C/g,"1"],[/0/g,"C"],[/1/g,"G"],[/a/g,"0"],[/t/g,"1"],[/0/g,"t"],[/1/g,"a"],[/A/g,"0"],[/T/g,"1"],[/0/g,"T"],[/1/g,"A"]];for(var r in n)e=e.replace(n[r][0],n[r][1]);return e},r.reverseComplement=function(t){return r.reverse(r.complement(t))},r.model=function(t,e,n){this.seq=t,this.name=e,this.id=n,this.ids={}}},function(t,e,n){"use strict";for(var r=n(12),i=1/0,o=-1/0,a=0;a<=118;a++)i=Math.min(i,r[a].radius),o=Math.max(o,r[a].radius);t.exports.MIN_ATOM_RADIUS=i,t.exports.MAX_ATOM_RADIUS=o},function(t,e,n){"use strict";var r=n(14),i=n(12),o=n(18),a=(t.exports.new=function(){return{atoms:[],farAtom:void 0,bonds:[]}},t.exports.calculateBonds=function(t){var e=[],n=t.atoms.slice();n.sort(function(t,e){return t.z-e.z});for(var a=0;ae&&(e=s,t.farAtom=r)}return t.farAtom});t.exports.getRadius=function(t){var e=s(t),n=o.MAX_ATOM_RADIUS,r=2.5*Math.sqrt(n*n+n*n+n*n);return Math.sqrt(e.x*e.x+e.y*e.y+e.z*e.z)+r}},function(t,e,n){var r; + */(function(){var a,o=200,s="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",l="Expected a function",u="__lodash_hash_undefined__",c=500,f="__lodash_placeholder__",h=1,p=2,d=4,m=1,v=2,g=1,y=2,b=4,x=8,_=16,w=32,A=64,M=128,k=256,T=512,S=30,C="...",E=800,O=16,D=1,L=2,z=1/0,P=9007199254740991,I=1.7976931348623157e308,R=NaN,F=4294967295,j=F-1,N=F>>>1,B=[["ary",M],["bind",g],["bindKey",y],["curry",x],["curryRight",_],["flip",T],["partial",w],["partialRight",A],["rearg",k]],V="[object Arguments]",U="[object Array]",q="[object AsyncFunction]",$="[object Boolean]",H="[object Date]",W="[object DOMException]",G="[object Error]",Y="[object Function]",X="[object GeneratorFunction]",Z="[object Map]",J="[object Number]",K="[object Null]",Q="[object Object]",tt="[object Proxy]",et="[object RegExp]",nt="[object Set]",rt="[object String]",it="[object Symbol]",at="[object Undefined]",ot="[object WeakMap]",st="[object WeakSet]",lt="[object ArrayBuffer]",ut="[object DataView]",ct="[object Float32Array]",ft="[object Float64Array]",ht="[object Int8Array]",pt="[object Int16Array]",dt="[object Int32Array]",mt="[object Uint8Array]",vt="[object Uint8ClampedArray]",gt="[object Uint16Array]",yt="[object Uint32Array]",bt=/\b__p \+= '';/g,xt=/\b(__p \+=) '' \+/g,_t=/(__e\(.*?\)|\b__t\)) \+\n'';/g,wt=/&(?:amp|lt|gt|quot|#39);/g,At=/[&<>"']/g,Mt=RegExp(wt.source),kt=RegExp(At.source),Tt=/<%-([\s\S]+?)%>/g,St=/<%([\s\S]+?)%>/g,Ct=/<%=([\s\S]+?)%>/g,Et=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Ot=/^\w*$/,Dt=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Lt=/[\\^$.*+?()[\]{}|]/g,zt=RegExp(Lt.source),Pt=/^\s+|\s+$/g,It=/^\s+/,Rt=/\s+$/,Ft=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,jt=/\{\n\/\* \[wrapped with (.+)\] \*/,Nt=/,? & /,Bt=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Vt=/\\(\\)?/g,Ut=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,qt=/\w*$/,$t=/^[-+]0x[0-9a-f]+$/i,Ht=/^0b[01]+$/i,Wt=/^\[object .+?Constructor\]$/,Gt=/^0o[0-7]+$/i,Yt=/^(?:0|[1-9]\d*)$/,Xt=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Zt=/($^)/,Jt=/['\n\r\u2028\u2029\\]/g,Kt="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",Qt="\\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",te="[\\ud800-\\udfff]",ee="["+Qt+"]",ne="["+Kt+"]",re="\\d+",ie="[\\u2700-\\u27bf]",ae="[a-z\\xdf-\\xf6\\xf8-\\xff]",oe="[^\\ud800-\\udfff"+Qt+re+"\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde]",se="\\ud83c[\\udffb-\\udfff]",le="[^\\ud800-\\udfff]",ue="(?:\\ud83c[\\udde6-\\uddff]){2}",ce="[\\ud800-\\udbff][\\udc00-\\udfff]",fe="[A-Z\\xc0-\\xd6\\xd8-\\xde]",he="(?:"+ae+"|"+oe+")",pe="(?:"+fe+"|"+oe+")",de="(?:"+ne+"|"+se+")"+"?",me="[\\ufe0e\\ufe0f]?"+de+("(?:\\u200d(?:"+[le,ue,ce].join("|")+")[\\ufe0e\\ufe0f]?"+de+")*"),ve="(?:"+[ie,ue,ce].join("|")+")"+me,ge="(?:"+[le+ne+"?",ne,ue,ce,te].join("|")+")",ye=RegExp("['’]","g"),be=RegExp(ne,"g"),xe=RegExp(se+"(?="+se+")|"+ge+me,"g"),_e=RegExp([fe+"?"+ae+"+(?:['’](?:d|ll|m|re|s|t|ve))?(?="+[ee,fe,"$"].join("|")+")",pe+"+(?:['’](?:D|LL|M|RE|S|T|VE))?(?="+[ee,fe+he,"$"].join("|")+")",fe+"?"+he+"+(?:['’](?:d|ll|m|re|s|t|ve))?",fe+"+(?:['’](?:D|LL|M|RE|S|T|VE))?","\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",re,ve].join("|"),"g"),we=RegExp("[\\u200d\\ud800-\\udfff"+Kt+"\\ufe0e\\ufe0f]"),Ae=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,Me=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],ke=-1,Te={};Te[ct]=Te[ft]=Te[ht]=Te[pt]=Te[dt]=Te[mt]=Te[vt]=Te[gt]=Te[yt]=!0,Te[V]=Te[U]=Te[lt]=Te[$]=Te[ut]=Te[H]=Te[G]=Te[Y]=Te[Z]=Te[J]=Te[Q]=Te[et]=Te[nt]=Te[rt]=Te[ot]=!1;var Se={};Se[V]=Se[U]=Se[lt]=Se[ut]=Se[$]=Se[H]=Se[ct]=Se[ft]=Se[ht]=Se[pt]=Se[dt]=Se[Z]=Se[J]=Se[Q]=Se[et]=Se[nt]=Se[rt]=Se[it]=Se[mt]=Se[vt]=Se[gt]=Se[yt]=!0,Se[G]=Se[Y]=Se[ot]=!1;var Ce={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},Ee=parseFloat,Oe=parseInt,De="object"==typeof t&&t&&t.Object===Object&&t,Le="object"==typeof self&&self&&self.Object===Object&&self,ze=De||Le||Function("return this")(),Pe=e&&!e.nodeType&&e,Ie=Pe&&"object"==typeof r&&r&&!r.nodeType&&r,Re=Ie&&Ie.exports===Pe,Fe=Re&&De.process,je=function(){try{var t=Ie&&Ie.require&&Ie.require("util").types;return t||Fe&&Fe.binding&&Fe.binding("util")}catch(t){}}(),Ne=je&&je.isArrayBuffer,Be=je&&je.isDate,Ve=je&&je.isMap,Ue=je&&je.isRegExp,qe=je&&je.isSet,$e=je&&je.isTypedArray;function He(t,e,n){switch(n.length){case 0:return t.call(e);case 1:return t.call(e,n[0]);case 2:return t.call(e,n[0],n[1]);case 3:return t.call(e,n[0],n[1],n[2])}return t.apply(e,n)}function We(t,e,n,r){for(var i=-1,a=null==t?0:t.length;++i-1}function Ke(t,e,n){for(var r=-1,i=null==t?0:t.length;++r-1;);return n}function _n(t,e){for(var n=t.length;n--&&ln(e,t[n],0)>-1;);return n}var wn=pn({"À":"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","ſ":"s"}),An=pn({"&":"&","<":"<",">":">",'"':""","'":"'"});function Mn(t){return"\\"+Ce[t]}function kn(t){return we.test(t)}function Tn(t){var e=-1,n=Array(t.size);return t.forEach(function(t,r){n[++e]=[r,t]}),n}function Sn(t,e){return function(n){return t(e(n))}}function Cn(t,e){for(var n=-1,r=t.length,i=0,a=[];++n",""":'"',"'":"'"});var Pn=function t(e){var n,r=(e=null==e?ze:Pn.defaults(ze.Object(),e,Pn.pick(ze,Me))).Array,i=e.Date,Kt=e.Error,Qt=e.Function,te=e.Math,ee=e.Object,ne=e.RegExp,re=e.String,ie=e.TypeError,ae=r.prototype,oe=Qt.prototype,se=ee.prototype,le=e["__core-js_shared__"],ue=oe.toString,ce=se.hasOwnProperty,fe=0,he=(n=/[^.]+$/.exec(le&&le.keys&&le.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"",pe=se.toString,de=ue.call(ee),me=ze._,ve=ne("^"+ue.call(ce).replace(Lt,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),ge=Re?e.Buffer:a,xe=e.Symbol,we=e.Uint8Array,Ce=ge?ge.allocUnsafe:a,De=Sn(ee.getPrototypeOf,ee),Le=ee.create,Pe=se.propertyIsEnumerable,Ie=ae.splice,Fe=xe?xe.isConcatSpreadable:a,je=xe?xe.iterator:a,an=xe?xe.toStringTag:a,pn=function(){try{var t=ja(ee,"defineProperty");return t({},"",{}),t}catch(t){}}(),In=e.clearTimeout!==ze.clearTimeout&&e.clearTimeout,Rn=i&&i.now!==ze.Date.now&&i.now,Fn=e.setTimeout!==ze.setTimeout&&e.setTimeout,jn=te.ceil,Nn=te.floor,Bn=ee.getOwnPropertySymbols,Vn=ge?ge.isBuffer:a,Un=e.isFinite,qn=ae.join,$n=Sn(ee.keys,ee),Hn=te.max,Wn=te.min,Gn=i.now,Yn=e.parseInt,Xn=te.random,Zn=ae.reverse,Jn=ja(e,"DataView"),Kn=ja(e,"Map"),Qn=ja(e,"Promise"),tr=ja(e,"Set"),er=ja(e,"WeakMap"),nr=ja(ee,"create"),rr=er&&new er,ir={},ar=co(Jn),or=co(Kn),sr=co(Qn),lr=co(tr),ur=co(er),cr=xe?xe.prototype:a,fr=cr?cr.valueOf:a,hr=cr?cr.toString:a;function pr(t){if(Cs(t)&&!gs(t)&&!(t instanceof gr)){if(t instanceof vr)return t;if(ce.call(t,"__wrapped__"))return fo(t)}return new vr(t)}var dr=function(){function t(){}return function(e){if(!Ss(e))return{};if(Le)return Le(e);t.prototype=e;var n=new t;return t.prototype=a,n}}();function mr(){}function vr(t,e){this.__wrapped__=t,this.__actions__=[],this.__chain__=!!e,this.__index__=0,this.__values__=a}function gr(t){this.__wrapped__=t,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=F,this.__views__=[]}function yr(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e=e?t:e)),t}function Ir(t,e,n,r,i,o){var s,l=e&h,u=e&p,c=e&d;if(n&&(s=i?n(t,r,i,o):n(t)),s!==a)return s;if(!Ss(t))return t;var f=gs(t);if(f){if(s=function(t){var e=t.length,n=new t.constructor(e);return e&&"string"==typeof t[0]&&ce.call(t,"index")&&(n.index=t.index,n.input=t.input),n}(t),!l)return na(t,s)}else{var m=Va(t),v=m==Y||m==X;if(_s(t))return Zi(t,l);if(m==Q||m==V||v&&!i){if(s=u||v?{}:qa(t),!l)return u?function(t,e){return ra(t,Ba(t),e)}(t,function(t,e){return t&&ra(e,al(e),t)}(s,t)):function(t,e){return ra(t,Na(t),e)}(t,Dr(s,t))}else{if(!Se[m])return i?t:{};s=function(t,e,n){var r,i,a,o=t.constructor;switch(e){case lt:return Ji(t);case $:case H:return new o(+t);case ut:return function(t,e){var n=e?Ji(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.byteLength)}(t,n);case ct:case ft:case ht:case pt:case dt:case mt:case vt:case gt:case yt:return Ki(t,n);case Z:return new o;case J:case rt:return new o(t);case et:return(a=new(i=t).constructor(i.source,qt.exec(i))).lastIndex=i.lastIndex,a;case nt:return new o;case it:return r=t,fr?ee(fr.call(r)):{}}}(t,m,l)}}o||(o=new wr);var g=o.get(t);if(g)return g;if(o.set(t,s),zs(t))return t.forEach(function(r){s.add(Ir(r,e,n,r,t,o))}),s;if(Es(t))return t.forEach(function(r,i){s.set(i,Ir(r,e,n,i,t,o))}),s;var y=f?a:(c?u?Da:Oa:u?al:il)(t);return Ge(y||t,function(r,i){y&&(r=t[i=r]),Cr(s,i,Ir(r,e,n,i,t,o))}),s}function Rr(t,e,n){var r=n.length;if(null==t)return!r;for(t=ee(t);r--;){var i=n[r],o=e[i],s=t[i];if(s===a&&!(i in t)||!o(s))return!1}return!0}function Fr(t,e,n){if("function"!=typeof t)throw new ie(l);return ro(function(){t.apply(a,n)},e)}function jr(t,e,n,r){var i=-1,a=Je,s=!0,l=t.length,u=[],c=e.length;if(!l)return u;n&&(e=Qe(e,gn(n))),r?(a=Ke,s=!1):e.length>=o&&(a=bn,s=!1,e=new _r(e));t:for(;++i-1},br.prototype.set=function(t,e){var n=this.__data__,r=Er(n,t);return r<0?(++this.size,n.push([t,e])):n[r][1]=e,this},xr.prototype.clear=function(){this.size=0,this.__data__={hash:new yr,map:new(Kn||br),string:new yr}},xr.prototype.delete=function(t){var e=Ra(this,t).delete(t);return this.size-=e?1:0,e},xr.prototype.get=function(t){return Ra(this,t).get(t)},xr.prototype.has=function(t){return Ra(this,t).has(t)},xr.prototype.set=function(t,e){var n=Ra(this,t),r=n.size;return n.set(t,e),this.size+=n.size==r?0:1,this},_r.prototype.add=_r.prototype.push=function(t){return this.__data__.set(t,u),this},_r.prototype.has=function(t){return this.__data__.has(t)},wr.prototype.clear=function(){this.__data__=new br,this.size=0},wr.prototype.delete=function(t){var e=this.__data__,n=e.delete(t);return this.size=e.size,n},wr.prototype.get=function(t){return this.__data__.get(t)},wr.prototype.has=function(t){return this.__data__.has(t)},wr.prototype.set=function(t,e){var n=this.__data__;if(n instanceof br){var r=n.__data__;if(!Kn||r.length0&&n(s)?e>1?$r(s,e-1,n,r,i):tn(i,s):r||(i[i.length]=s)}return i}var Hr=sa(),Wr=sa(!0);function Gr(t,e){return t&&Hr(t,e,il)}function Yr(t,e){return t&&Wr(t,e,il)}function Xr(t,e){return Ze(e,function(e){return Ms(t[e])})}function Zr(t,e){for(var n=0,r=(e=Wi(e,t)).length;null!=t&&ne}function ti(t,e){return null!=t&&ce.call(t,e)}function ei(t,e){return null!=t&&e in ee(t)}function ni(t,e,n){for(var i=n?Ke:Je,o=t[0].length,s=t.length,l=s,u=r(s),c=1/0,f=[];l--;){var h=t[l];l&&e&&(h=Qe(h,gn(e))),c=Wn(h.length,c),u[l]=!n&&(e||o>=120&&h.length>=120)?new _r(l&&h):a}h=t[0];var p=-1,d=u[0];t:for(;++p=s)return l;var u=n[r];return l*("desc"==u?-1:1)}}return t.index-e.index}(t,e,n)})}function yi(t,e,n){for(var r=-1,i=e.length,a={};++r-1;)s!==t&&Ie.call(s,l,1),Ie.call(t,l,1);return t}function xi(t,e){for(var n=t?e.length:0,r=n-1;n--;){var i=e[n];if(n==r||i!==a){var a=i;Ha(i)?Ie.call(t,i,1):ji(t,i)}}return t}function _i(t,e){return t+Nn(Xn()*(e-t+1))}function wi(t,e){var n="";if(!t||e<1||e>P)return n;do{e%2&&(n+=t),(e=Nn(e/2))&&(t+=t)}while(e);return n}function Ai(t,e){return io(Qa(t,e,Ol),t+"")}function Mi(t){return Mr(pl(t))}function ki(t,e){var n=pl(t);return so(n,Pr(e,0,n.length))}function Ti(t,e,n,r){if(!Ss(t))return t;for(var i=-1,o=(e=Wi(e,t)).length,s=o-1,l=t;null!=l&&++ia?0:a+e),(n=n>a?a:n)<0&&(n+=a),a=e>n?0:n-e>>>0,e>>>=0;for(var o=r(a);++i>>1,o=t[a];null!==o&&!Is(o)&&(n?o<=e:o=o){var c=e?null:wa(t);if(c)return En(c);s=!1,i=bn,u=new _r}else u=e?[]:l;t:for(;++r=r?t:Oi(t,e,n)}var Xi=In||function(t){return ze.clearTimeout(t)};function Zi(t,e){if(e)return t.slice();var n=t.length,r=Ce?Ce(n):new t.constructor(n);return t.copy(r),r}function Ji(t){var e=new t.constructor(t.byteLength);return new we(e).set(new we(t)),e}function Ki(t,e){var n=e?Ji(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.length)}function Qi(t,e){if(t!==e){var n=t!==a,r=null===t,i=t==t,o=Is(t),s=e!==a,l=null===e,u=e==e,c=Is(e);if(!l&&!c&&!o&&t>e||o&&s&&u&&!l&&!c||r&&s&&u||!n&&u||!i)return 1;if(!r&&!o&&!c&&t1?n[i-1]:a,s=i>2?n[2]:a;for(o=t.length>3&&"function"==typeof o?(i--,o):a,s&&Wa(n[0],n[1],s)&&(o=i<3?a:o,i=1),e=ee(e);++r-1?i[o?e[s]:s]:a}}function ha(t){return Ea(function(e){var n=e.length,r=n,i=vr.prototype.thru;for(t&&e.reverse();r--;){var o=e[r];if("function"!=typeof o)throw new ie(l);if(i&&!s&&"wrapper"==za(o))var s=new vr([],!0)}for(r=s?r:n;++r1&&x.reverse(),h&&cl))return!1;var c=o.get(t);if(c&&o.get(e))return c==e;var f=-1,h=!0,p=n&v?new _r:a;for(o.set(t,e),o.set(e,t);++f-1&&t%1==0&&t1?"& ":"")+e[r],e=e.join(n>2?", ":" "),t.replace(Ft,"{\n/* [wrapped with "+e+"] */\n")}(r,function(t,e){return Ge(B,function(n){var r="_."+n[0];e&n[1]&&!Je(t,r)&&t.push(r)}),t.sort()}(function(t){var e=t.match(jt);return e?e[1].split(Nt):[]}(r),n)))}function oo(t){var e=0,n=0;return function(){var r=Gn(),i=O-(r-n);if(n=r,i>0){if(++e>=E)return arguments[0]}else e=0;return t.apply(a,arguments)}}function so(t,e){var n=-1,r=t.length,i=r-1;for(e=e===a?r:e;++n1?t[e-1]:a;return n="function"==typeof n?(t.pop(),n):a,Lo(t,n)});function No(t){var e=pr(t);return e.__chain__=!0,e}function Bo(t,e){return e(t)}var Vo=Ea(function(t){var e=t.length,n=e?t[0]:0,r=this.__wrapped__,i=function(e){return zr(e,t)};return!(e>1||this.__actions__.length)&&r instanceof gr&&Ha(n)?((r=r.slice(n,+n+(e?1:0))).__actions__.push({func:Bo,args:[i],thisArg:a}),new vr(r,this.__chain__).thru(function(t){return e&&!t.length&&t.push(a),t})):this.thru(i)});var Uo=ia(function(t,e,n){ce.call(t,n)?++t[n]:Lr(t,n,1)});var qo=fa(vo),$o=fa(go);function Ho(t,e){return(gs(t)?Ge:Nr)(t,Ia(e,3))}function Wo(t,e){return(gs(t)?Ye:Br)(t,Ia(e,3))}var Go=ia(function(t,e,n){ce.call(t,n)?t[n].push(e):Lr(t,n,[e])});var Yo=Ai(function(t,e,n){var i=-1,a="function"==typeof e,o=bs(t)?r(t.length):[];return Nr(t,function(t){o[++i]=a?He(e,t,n):ri(t,e,n)}),o}),Xo=ia(function(t,e,n){Lr(t,n,e)});function Zo(t,e){return(gs(t)?Qe:hi)(t,Ia(e,3))}var Jo=ia(function(t,e,n){t[n?0:1].push(e)},function(){return[[],[]]});var Ko=Ai(function(t,e){if(null==t)return[];var n=e.length;return n>1&&Wa(t,e[0],e[1])?e=[]:n>2&&Wa(e[0],e[1],e[2])&&(e=[e[0]]),gi(t,$r(e,1),[])}),Qo=Rn||function(){return ze.Date.now()};function ts(t,e,n){return e=n?a:e,e=t&&null==e?t.length:e,Ma(t,M,a,a,a,a,e)}function es(t,e){var n;if("function"!=typeof e)throw new ie(l);return t=Vs(t),function(){return--t>0&&(n=e.apply(this,arguments)),t<=1&&(e=a),n}}var ns=Ai(function(t,e,n){var r=g;if(n.length){var i=Cn(n,Pa(ns));r|=w}return Ma(t,r,e,n,i)}),rs=Ai(function(t,e,n){var r=g|y;if(n.length){var i=Cn(n,Pa(rs));r|=w}return Ma(e,r,t,n,i)});function is(t,e,n){var r,i,o,s,u,c,f=0,h=!1,p=!1,d=!0;if("function"!=typeof t)throw new ie(l);function m(e){var n=r,o=i;return r=i=a,f=e,s=t.apply(o,n)}function v(t){var n=t-c;return c===a||n>=e||n<0||p&&t-f>=o}function g(){var t=Qo();if(v(t))return y(t);u=ro(g,function(t){var n=e-(t-c);return p?Wn(n,o-(t-f)):n}(t))}function y(t){return u=a,d&&r?m(t):(r=i=a,s)}function b(){var t=Qo(),n=v(t);if(r=arguments,i=this,c=t,n){if(u===a)return function(t){return f=t,u=ro(g,e),h?m(t):s}(c);if(p)return u=ro(g,e),m(c)}return u===a&&(u=ro(g,e)),s}return e=qs(e)||0,Ss(n)&&(h=!!n.leading,o=(p="maxWait"in n)?Hn(qs(n.maxWait)||0,e):o,d="trailing"in n?!!n.trailing:d),b.cancel=function(){u!==a&&Xi(u),f=0,r=c=i=u=a},b.flush=function(){return u===a?s:y(Qo())},b}var as=Ai(function(t,e){return Fr(t,1,e)}),os=Ai(function(t,e,n){return Fr(t,qs(e)||0,n)});function ss(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new ie(l);var n=function(){var r=arguments,i=e?e.apply(this,r):r[0],a=n.cache;if(a.has(i))return a.get(i);var o=t.apply(this,r);return n.cache=a.set(i,o)||a,o};return n.cache=new(ss.Cache||xr),n}function ls(t){if("function"!=typeof t)throw new ie(l);return function(){var e=arguments;switch(e.length){case 0:return!t.call(this);case 1:return!t.call(this,e[0]);case 2:return!t.call(this,e[0],e[1]);case 3:return!t.call(this,e[0],e[1],e[2])}return!t.apply(this,e)}}ss.Cache=xr;var us=Gi(function(t,e){var n=(e=1==e.length&&gs(e[0])?Qe(e[0],gn(Ia())):Qe($r(e,1),gn(Ia()))).length;return Ai(function(r){for(var i=-1,a=Wn(r.length,n);++i=e}),vs=ii(function(){return arguments}())?ii:function(t){return Cs(t)&&ce.call(t,"callee")&&!Pe.call(t,"callee")},gs=r.isArray,ys=Ne?gn(Ne):function(t){return Cs(t)&&Kr(t)==lt};function bs(t){return null!=t&&Ts(t.length)&&!Ms(t)}function xs(t){return Cs(t)&&bs(t)}var _s=Vn||ql,ws=Be?gn(Be):function(t){return Cs(t)&&Kr(t)==H};function As(t){if(!Cs(t))return!1;var e=Kr(t);return e==G||e==W||"string"==typeof t.message&&"string"==typeof t.name&&!Ds(t)}function Ms(t){if(!Ss(t))return!1;var e=Kr(t);return e==Y||e==X||e==q||e==tt}function ks(t){return"number"==typeof t&&t==Vs(t)}function Ts(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=P}function Ss(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}function Cs(t){return null!=t&&"object"==typeof t}var Es=Ve?gn(Ve):function(t){return Cs(t)&&Va(t)==Z};function Os(t){return"number"==typeof t||Cs(t)&&Kr(t)==J}function Ds(t){if(!Cs(t)||Kr(t)!=Q)return!1;var e=De(t);if(null===e)return!0;var n=ce.call(e,"constructor")&&e.constructor;return"function"==typeof n&&n instanceof n&&ue.call(n)==de}var Ls=Ue?gn(Ue):function(t){return Cs(t)&&Kr(t)==et};var zs=qe?gn(qe):function(t){return Cs(t)&&Va(t)==nt};function Ps(t){return"string"==typeof t||!gs(t)&&Cs(t)&&Kr(t)==rt}function Is(t){return"symbol"==typeof t||Cs(t)&&Kr(t)==it}var Rs=$e?gn($e):function(t){return Cs(t)&&Ts(t.length)&&!!Te[Kr(t)]};var Fs=ba(fi),js=ba(function(t,e){return t<=e});function Ns(t){if(!t)return[];if(bs(t))return Ps(t)?Ln(t):na(t);if(je&&t[je])return function(t){for(var e,n=[];!(e=t.next()).done;)n.push(e.value);return n}(t[je]());var e=Va(t);return(e==Z?Tn:e==nt?En:pl)(t)}function Bs(t){return t?(t=qs(t))===z||t===-z?(t<0?-1:1)*I:t==t?t:0:0===t?t:0}function Vs(t){var e=Bs(t),n=e%1;return e==e?n?e-n:e:0}function Us(t){return t?Pr(Vs(t),0,F):0}function qs(t){if("number"==typeof t)return t;if(Is(t))return R;if(Ss(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=Ss(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=t.replace(Pt,"");var n=Ht.test(t);return n||Gt.test(t)?Oe(t.slice(2),n?2:8):$t.test(t)?R:+t}function $s(t){return ra(t,al(t))}function Hs(t){return null==t?"":Ri(t)}var Ws=aa(function(t,e){if(Za(e)||bs(e))ra(e,il(e),t);else for(var n in e)ce.call(e,n)&&Cr(t,n,e[n])}),Gs=aa(function(t,e){ra(e,al(e),t)}),Ys=aa(function(t,e,n,r){ra(e,al(e),t,r)}),Xs=aa(function(t,e,n,r){ra(e,il(e),t,r)}),Zs=Ea(zr);var Js=Ai(function(t,e){t=ee(t);var n=-1,r=e.length,i=r>2?e[2]:a;for(i&&Wa(e[0],e[1],i)&&(r=1);++n1),e}),ra(t,Da(t),n),r&&(n=Ir(n,h|p|d,Sa));for(var i=e.length;i--;)ji(n,e[i]);return n});var ul=Ea(function(t,e){return null==t?{}:function(t,e){return yi(t,e,function(e,n){return tl(t,n)})}(t,e)});function cl(t,e){if(null==t)return{};var n=Qe(Da(t),function(t){return[t]});return e=Ia(e),yi(t,n,function(t,n){return e(t,n[0])})}var fl=Aa(il),hl=Aa(al);function pl(t){return null==t?[]:yn(t,il(t))}var dl=ua(function(t,e,n){return e=e.toLowerCase(),t+(n?ml(e):e)});function ml(t){return Al(Hs(t).toLowerCase())}function vl(t){return(t=Hs(t))&&t.replace(Xt,wn).replace(be,"")}var gl=ua(function(t,e,n){return t+(n?"-":"")+e.toLowerCase()}),yl=ua(function(t,e,n){return t+(n?" ":"")+e.toLowerCase()}),bl=la("toLowerCase");var xl=ua(function(t,e,n){return t+(n?"_":"")+e.toLowerCase()});var _l=ua(function(t,e,n){return t+(n?" ":"")+Al(e)});var wl=ua(function(t,e,n){return t+(n?" ":"")+e.toUpperCase()}),Al=la("toUpperCase");function Ml(t,e,n){return t=Hs(t),(e=n?a:e)===a?function(t){return Ae.test(t)}(t)?function(t){return t.match(_e)||[]}(t):function(t){return t.match(Bt)||[]}(t):t.match(e)||[]}var kl=Ai(function(t,e){try{return He(t,a,e)}catch(t){return As(t)?t:new Kt(t)}}),Tl=Ea(function(t,e){return Ge(e,function(e){e=uo(e),Lr(t,e,ns(t[e],t))}),t});function Sl(t){return function(){return t}}var Cl=ha(),El=ha(!0);function Ol(t){return t}function Dl(t){return li("function"==typeof t?t:Ir(t,h))}var Ll=Ai(function(t,e){return function(n){return ri(n,t,e)}}),zl=Ai(function(t,e){return function(n){return ri(t,n,e)}});function Pl(t,e,n){var r=il(e),i=Xr(e,r);null!=n||Ss(e)&&(i.length||!r.length)||(n=e,e=t,t=this,i=Xr(e,il(e)));var a=!(Ss(n)&&"chain"in n&&!n.chain),o=Ms(t);return Ge(i,function(n){var r=e[n];t[n]=r,o&&(t.prototype[n]=function(){var e=this.__chain__;if(a||e){var n=t(this.__wrapped__);return(n.__actions__=na(this.__actions__)).push({func:r,args:arguments,thisArg:t}),n.__chain__=e,n}return r.apply(t,tn([this.value()],arguments))})}),t}function Il(){}var Rl=va(Qe),Fl=va(Xe),jl=va(rn);function Nl(t){return Ga(t)?hn(uo(t)):function(t){return function(e){return Zr(e,t)}}(t)}var Bl=ya(),Vl=ya(!0);function Ul(){return[]}function ql(){return!1}var $l=ma(function(t,e){return t+e},0),Hl=_a("ceil"),Wl=ma(function(t,e){return t/e},1),Gl=_a("floor");var Yl,Xl=ma(function(t,e){return t*e},1),Zl=_a("round"),Jl=ma(function(t,e){return t-e},0);return pr.after=function(t,e){if("function"!=typeof e)throw new ie(l);return t=Vs(t),function(){if(--t<1)return e.apply(this,arguments)}},pr.ary=ts,pr.assign=Ws,pr.assignIn=Gs,pr.assignInWith=Ys,pr.assignWith=Xs,pr.at=Zs,pr.before=es,pr.bind=ns,pr.bindAll=Tl,pr.bindKey=rs,pr.castArray=function(){if(!arguments.length)return[];var t=arguments[0];return gs(t)?t:[t]},pr.chain=No,pr.chunk=function(t,e,n){e=(n?Wa(t,e,n):e===a)?1:Hn(Vs(e),0);var i=null==t?0:t.length;if(!i||e<1)return[];for(var o=0,s=0,l=r(jn(i/e));oi?0:i+n),(r=r===a||r>i?i:Vs(r))<0&&(r+=i),r=n>r?0:Us(r);n>>0)?(t=Hs(t))&&("string"==typeof e||null!=e&&!Ls(e))&&!(e=Ri(e))&&kn(t)?Yi(Ln(t),0,n):t.split(e,n):[]},pr.spread=function(t,e){if("function"!=typeof t)throw new ie(l);return e=null==e?0:Hn(Vs(e),0),Ai(function(n){var r=n[e],i=Yi(n,0,e);return r&&tn(i,r),He(t,this,i)})},pr.tail=function(t){var e=null==t?0:t.length;return e?Oi(t,1,e):[]},pr.take=function(t,e,n){return t&&t.length?Oi(t,0,(e=n||e===a?1:Vs(e))<0?0:e):[]},pr.takeRight=function(t,e,n){var r=null==t?0:t.length;return r?Oi(t,(e=r-(e=n||e===a?1:Vs(e)))<0?0:e,r):[]},pr.takeRightWhile=function(t,e){return t&&t.length?Bi(t,Ia(e,3),!1,!0):[]},pr.takeWhile=function(t,e){return t&&t.length?Bi(t,Ia(e,3)):[]},pr.tap=function(t,e){return e(t),t},pr.throttle=function(t,e,n){var r=!0,i=!0;if("function"!=typeof t)throw new ie(l);return Ss(n)&&(r="leading"in n?!!n.leading:r,i="trailing"in n?!!n.trailing:i),is(t,e,{leading:r,maxWait:e,trailing:i})},pr.thru=Bo,pr.toArray=Ns,pr.toPairs=fl,pr.toPairsIn=hl,pr.toPath=function(t){return gs(t)?Qe(t,uo):Is(t)?[t]:na(lo(Hs(t)))},pr.toPlainObject=$s,pr.transform=function(t,e,n){var r=gs(t),i=r||_s(t)||Rs(t);if(e=Ia(e,4),null==n){var a=t&&t.constructor;n=i?r?new a:[]:Ss(t)&&Ms(a)?dr(De(t)):{}}return(i?Ge:Gr)(t,function(t,r,i){return e(n,t,r,i)}),n},pr.unary=function(t){return ts(t,1)},pr.union=Co,pr.unionBy=Eo,pr.unionWith=Oo,pr.uniq=function(t){return t&&t.length?Fi(t):[]},pr.uniqBy=function(t,e){return t&&t.length?Fi(t,Ia(e,2)):[]},pr.uniqWith=function(t,e){return e="function"==typeof e?e:a,t&&t.length?Fi(t,a,e):[]},pr.unset=function(t,e){return null==t||ji(t,e)},pr.unzip=Do,pr.unzipWith=Lo,pr.update=function(t,e,n){return null==t?t:Ni(t,e,Hi(n))},pr.updateWith=function(t,e,n,r){return r="function"==typeof r?r:a,null==t?t:Ni(t,e,Hi(n),r)},pr.values=pl,pr.valuesIn=function(t){return null==t?[]:yn(t,al(t))},pr.without=zo,pr.words=Ml,pr.wrap=function(t,e){return cs(Hi(e),t)},pr.xor=Po,pr.xorBy=Io,pr.xorWith=Ro,pr.zip=Fo,pr.zipObject=function(t,e){return qi(t||[],e||[],Cr)},pr.zipObjectDeep=function(t,e){return qi(t||[],e||[],Ti)},pr.zipWith=jo,pr.entries=fl,pr.entriesIn=hl,pr.extend=Gs,pr.extendWith=Ys,Pl(pr,pr),pr.add=$l,pr.attempt=kl,pr.camelCase=dl,pr.capitalize=ml,pr.ceil=Hl,pr.clamp=function(t,e,n){return n===a&&(n=e,e=a),n!==a&&(n=(n=qs(n))==n?n:0),e!==a&&(e=(e=qs(e))==e?e:0),Pr(qs(t),e,n)},pr.clone=function(t){return Ir(t,d)},pr.cloneDeep=function(t){return Ir(t,h|d)},pr.cloneDeepWith=function(t,e){return Ir(t,h|d,e="function"==typeof e?e:a)},pr.cloneWith=function(t,e){return Ir(t,d,e="function"==typeof e?e:a)},pr.conformsTo=function(t,e){return null==e||Rr(t,e,il(e))},pr.deburr=vl,pr.defaultTo=function(t,e){return null==t||t!=t?e:t},pr.divide=Wl,pr.endsWith=function(t,e,n){t=Hs(t),e=Ri(e);var r=t.length,i=n=n===a?r:Pr(Vs(n),0,r);return(n-=e.length)>=0&&t.slice(n,i)==e},pr.eq=ps,pr.escape=function(t){return(t=Hs(t))&&kt.test(t)?t.replace(At,An):t},pr.escapeRegExp=function(t){return(t=Hs(t))&&zt.test(t)?t.replace(Lt,"\\$&"):t},pr.every=function(t,e,n){var r=gs(t)?Xe:Vr;return n&&Wa(t,e,n)&&(e=a),r(t,Ia(e,3))},pr.find=qo,pr.findIndex=vo,pr.findKey=function(t,e){return on(t,Ia(e,3),Gr)},pr.findLast=$o,pr.findLastIndex=go,pr.findLastKey=function(t,e){return on(t,Ia(e,3),Yr)},pr.floor=Gl,pr.forEach=Ho,pr.forEachRight=Wo,pr.forIn=function(t,e){return null==t?t:Hr(t,Ia(e,3),al)},pr.forInRight=function(t,e){return null==t?t:Wr(t,Ia(e,3),al)},pr.forOwn=function(t,e){return t&&Gr(t,Ia(e,3))},pr.forOwnRight=function(t,e){return t&&Yr(t,Ia(e,3))},pr.get=Qs,pr.gt=ds,pr.gte=ms,pr.has=function(t,e){return null!=t&&Ua(t,e,ti)},pr.hasIn=tl,pr.head=bo,pr.identity=Ol,pr.includes=function(t,e,n,r){t=bs(t)?t:pl(t),n=n&&!r?Vs(n):0;var i=t.length;return n<0&&(n=Hn(i+n,0)),Ps(t)?n<=i&&t.indexOf(e,n)>-1:!!i&&ln(t,e,n)>-1},pr.indexOf=function(t,e,n){var r=null==t?0:t.length;if(!r)return-1;var i=null==n?0:Vs(n);return i<0&&(i=Hn(r+i,0)),ln(t,e,i)},pr.inRange=function(t,e,n){return e=Bs(e),n===a?(n=e,e=0):n=Bs(n),function(t,e,n){return t>=Wn(e,n)&&t=-P&&t<=P},pr.isSet=zs,pr.isString=Ps,pr.isSymbol=Is,pr.isTypedArray=Rs,pr.isUndefined=function(t){return t===a},pr.isWeakMap=function(t){return Cs(t)&&Va(t)==ot},pr.isWeakSet=function(t){return Cs(t)&&Kr(t)==st},pr.join=function(t,e){return null==t?"":qn.call(t,e)},pr.kebabCase=gl,pr.last=Ao,pr.lastIndexOf=function(t,e,n){var r=null==t?0:t.length;if(!r)return-1;var i=r;return n!==a&&(i=(i=Vs(n))<0?Hn(r+i,0):Wn(i,r-1)),e==e?function(t,e,n){for(var r=n+1;r--;)if(t[r]===e)return r;return r}(t,e,i):sn(t,cn,i,!0)},pr.lowerCase=yl,pr.lowerFirst=bl,pr.lt=Fs,pr.lte=js,pr.max=function(t){return t&&t.length?Ur(t,Ol,Qr):a},pr.maxBy=function(t,e){return t&&t.length?Ur(t,Ia(e,2),Qr):a},pr.mean=function(t){return fn(t,Ol)},pr.meanBy=function(t,e){return fn(t,Ia(e,2))},pr.min=function(t){return t&&t.length?Ur(t,Ol,fi):a},pr.minBy=function(t,e){return t&&t.length?Ur(t,Ia(e,2),fi):a},pr.stubArray=Ul,pr.stubFalse=ql,pr.stubObject=function(){return{}},pr.stubString=function(){return""},pr.stubTrue=function(){return!0},pr.multiply=Xl,pr.nth=function(t,e){return t&&t.length?vi(t,Vs(e)):a},pr.noConflict=function(){return ze._===this&&(ze._=me),this},pr.noop=Il,pr.now=Qo,pr.pad=function(t,e,n){t=Hs(t);var r=(e=Vs(e))?Dn(t):0;if(!e||r>=e)return t;var i=(e-r)/2;return ga(Nn(i),n)+t+ga(jn(i),n)},pr.padEnd=function(t,e,n){t=Hs(t);var r=(e=Vs(e))?Dn(t):0;return e&&re){var r=t;t=e,e=r}if(n||t%1||e%1){var i=Xn();return Wn(t+i*(e-t+Ee("1e-"+((i+"").length-1))),e)}return _i(t,e)},pr.reduce=function(t,e,n){var r=gs(t)?en:dn,i=arguments.length<3;return r(t,Ia(e,4),n,i,Nr)},pr.reduceRight=function(t,e,n){var r=gs(t)?nn:dn,i=arguments.length<3;return r(t,Ia(e,4),n,i,Br)},pr.repeat=function(t,e,n){return e=(n?Wa(t,e,n):e===a)?1:Vs(e),wi(Hs(t),e)},pr.replace=function(){var t=arguments,e=Hs(t[0]);return t.length<3?e:e.replace(t[1],t[2])},pr.result=function(t,e,n){var r=-1,i=(e=Wi(e,t)).length;for(i||(i=1,t=a);++rP)return[];var n=F,r=Wn(t,F);e=Ia(e),t-=F;for(var i=vn(r,e);++n=o)return t;var l=n-Dn(r);if(l<1)return r;var u=s?Yi(s,0,l).join(""):t.slice(0,l);if(i===a)return u+r;if(s&&(l+=u.length-l),Ls(i)){if(t.slice(l).search(i)){var c,f=u;for(i.global||(i=ne(i.source,Hs(qt.exec(i))+"g")),i.lastIndex=0;c=i.exec(f);)var h=c.index;u=u.slice(0,h===a?l:h)}}else if(t.indexOf(Ri(i),l)!=l){var p=u.lastIndexOf(i);p>-1&&(u=u.slice(0,p))}return u+r},pr.unescape=function(t){return(t=Hs(t))&&Mt.test(t)?t.replace(wt,zn):t},pr.uniqueId=function(t){var e=++fe;return Hs(t)+e},pr.upperCase=wl,pr.upperFirst=Al,pr.each=Ho,pr.eachRight=Wo,pr.first=bo,Pl(pr,(Yl={},Gr(pr,function(t,e){ce.call(pr.prototype,e)||(Yl[e]=t)}),Yl),{chain:!1}),pr.VERSION="4.17.11",Ge(["bind","bindKey","curry","curryRight","partial","partialRight"],function(t){pr[t].placeholder=pr}),Ge(["drop","take"],function(t,e){gr.prototype[t]=function(n){n=n===a?1:Hn(Vs(n),0);var r=this.__filtered__&&!e?new gr(this):this.clone();return r.__filtered__?r.__takeCount__=Wn(n,r.__takeCount__):r.__views__.push({size:Wn(n,F),type:t+(r.__dir__<0?"Right":"")}),r},gr.prototype[t+"Right"]=function(e){return this.reverse()[t](e).reverse()}}),Ge(["filter","map","takeWhile"],function(t,e){var n=e+1,r=n==D||3==n;gr.prototype[t]=function(t){var e=this.clone();return e.__iteratees__.push({iteratee:Ia(t,3),type:n}),e.__filtered__=e.__filtered__||r,e}}),Ge(["head","last"],function(t,e){var n="take"+(e?"Right":"");gr.prototype[t]=function(){return this[n](1).value()[0]}}),Ge(["initial","tail"],function(t,e){var n="drop"+(e?"":"Right");gr.prototype[t]=function(){return this.__filtered__?new gr(this):this[n](1)}}),gr.prototype.compact=function(){return this.filter(Ol)},gr.prototype.find=function(t){return this.filter(t).head()},gr.prototype.findLast=function(t){return this.reverse().find(t)},gr.prototype.invokeMap=Ai(function(t,e){return"function"==typeof t?new gr(this):this.map(function(n){return ri(n,t,e)})}),gr.prototype.reject=function(t){return this.filter(ls(Ia(t)))},gr.prototype.slice=function(t,e){t=Vs(t);var n=this;return n.__filtered__&&(t>0||e<0)?new gr(n):(t<0?n=n.takeRight(-t):t&&(n=n.drop(t)),e!==a&&(n=(e=Vs(e))<0?n.dropRight(-e):n.take(e-t)),n)},gr.prototype.takeRightWhile=function(t){return this.reverse().takeWhile(t).reverse()},gr.prototype.toArray=function(){return this.take(F)},Gr(gr.prototype,function(t,e){var n=/^(?:filter|find|map|reject)|While$/.test(e),r=/^(?:head|last)$/.test(e),i=pr[r?"take"+("last"==e?"Right":""):e],o=r||/^find/.test(e);i&&(pr.prototype[e]=function(){var e=this.__wrapped__,s=r?[1]:arguments,l=e instanceof gr,u=s[0],c=l||gs(e),f=function(t){var e=i.apply(pr,tn([t],s));return r&&h?e[0]:e};c&&n&&"function"==typeof u&&1!=u.length&&(l=c=!1);var h=this.__chain__,p=!!this.__actions__.length,d=o&&!h,m=l&&!p;if(!o&&c){e=m?e:new gr(this);var v=t.apply(e,s);return v.__actions__.push({func:Bo,args:[f],thisArg:a}),new vr(v,h)}return d&&m?t.apply(this,s):(v=this.thru(f),d?r?v.value()[0]:v.value():v)})}),Ge(["pop","push","shift","sort","splice","unshift"],function(t){var e=ae[t],n=/^(?:push|sort|unshift)$/.test(t)?"tap":"thru",r=/^(?:pop|shift)$/.test(t);pr.prototype[t]=function(){var t=arguments;if(r&&!this.__chain__){var i=this.value();return e.apply(gs(i)?i:[],t)}return this[n](function(n){return e.apply(gs(n)?n:[],t)})}}),Gr(gr.prototype,function(t,e){var n=pr[e];if(n){var r=n.name+"";(ir[r]||(ir[r]=[])).push({name:e,func:n})}}),ir[pa(a,y).name]=[{name:"wrapper",func:a}],gr.prototype.clone=function(){var t=new gr(this.__wrapped__);return t.__actions__=na(this.__actions__),t.__dir__=this.__dir__,t.__filtered__=this.__filtered__,t.__iteratees__=na(this.__iteratees__),t.__takeCount__=this.__takeCount__,t.__views__=na(this.__views__),t},gr.prototype.reverse=function(){if(this.__filtered__){var t=new gr(this);t.__dir__=-1,t.__filtered__=!0}else(t=this.clone()).__dir__*=-1;return t},gr.prototype.value=function(){var t=this.__wrapped__.value(),e=this.__dir__,n=gs(t),r=e<0,i=n?t.length:0,a=function(t,e,n){for(var r=-1,i=n.length;++r=this.__values__.length;return{done:t,value:t?a:this.__values__[this.__index__++]}},pr.prototype.plant=function(t){for(var e,n=this;n instanceof mr;){var r=fo(n);r.__index__=0,r.__values__=a,e?i.__wrapped__=r:e=r;var i=r;n=n.__wrapped__}return i.__wrapped__=t,e},pr.prototype.reverse=function(){var t=this.__wrapped__;if(t instanceof gr){var e=t;return this.__actions__.length&&(e=new gr(this)),(e=e.reverse()).__actions__.push({func:Bo,args:[So],thisArg:a}),new vr(e,this.__chain__)}return this.thru(So)},pr.prototype.toJSON=pr.prototype.valueOf=pr.prototype.value=function(){return Vi(this.__wrapped__,this.__actions__)},pr.prototype.first=pr.prototype.head,je&&(pr.prototype[je]=function(){return this}),pr}();ze._=Pn,(i=function(){return Pn}.call(e,n,e,r))===a||(r.exports=i)}).call(this)}).call(this,n(7),n(72)(t))},function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,"b",function(){return getTaxidFromEutils}),__webpack_require__.d(__webpack_exports__,"d",function(){return setTaxidAndAssemblyAndChromosomes}),__webpack_require__.d(__webpack_exports__,"c",function(){return getTaxids}),__webpack_require__.d(__webpack_exports__,"e",function(){return setTaxidData}),__webpack_require__.d(__webpack_exports__,"a",function(){return getOrganismFromEutils});var d3_fetch__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(5),d3=Object.assign({},d3_fetch__WEBPACK_IMPORTED_MODULE_0__);function getTaxidFromEutils(t){var e,n,r,i=this;e=i.config.organism,n=i.esearch+"&db=taxonomy&term="+e,d3.json(n).then(function(e){return r=e.esearchresult.idlist[0],void 0===i.config.taxids?i.config.taxids=[r]:i.config.taxids.push(r),t(r)})}function setTaxidData(taxid){var organism,dataDir,urlOrg,taxids,ideo=this;organism=ideo.config.organism,dataDir=ideo.config.dataDir,urlOrg=organism.replace(" ","-"),taxids=[taxid],ideo.organisms[taxid]={commonName:"",scientificName:organism,scientificNameAbbr:""};var fullyBandedTaxids=["9606","10090","10116"];fullyBandedTaxids.includes(taxid)&&!ideo.config.showFullyBanded&&(urlOrg+="-no-bands");var chromosomesUrl=dataDir+urlOrg+".js",promise2=new Promise(function(t,e){fetch(chromosomesUrl).then(function(n){if(!1!==n.ok)return n.text().then(function(e){t(e)});e(Error("Fetch failed for "+chromosomesUrl))})});return promise2.then(function(data){var asmAndChrTaxidsArray=[""],chromosomes=[],seenChrs={},chr;eval(data);for(var i=0;i0&&(i=1/Math.sqrt(i),t[0]=e[0]*i,t[1]=e[1]*i),t},s.dot=function(t,e){return t[0]*e[0]+t[1]*e[1]},s.cross=function(t,e,n){var r=e[0]*n[1]-e[1]*n[0];return t[0]=t[1]=0,t[2]=r,t},s.lerp=function(t,e,n,r){var i=e[0],a=e[1];return t[0]=i+r*(n[0]-i),t[1]=a+r*(n[1]-a),t},s.random=function(t,e){e=e||1;var n=2*r()*Math.PI;return t[0]=Math.cos(n)*e,t[1]=Math.sin(n)*e,t},s.transformMat2=function(t,e,n){var r=e[0],i=e[1];return t[0]=n[0]*r+n[2]*i,t[1]=n[1]*r+n[3]*i,t},s.transformMat2d=function(t,e,n){var r=e[0],i=e[1];return t[0]=n[0]*r+n[2]*i+n[4],t[1]=n[1]*r+n[3]*i+n[5],t},s.transformMat3=function(t,e,n){var r=e[0],i=e[1];return t[0]=n[0]*r+n[3]*i+n[6],t[1]=n[1]*r+n[4]*i+n[7],t},s.transformMat4=function(t,e,n){var r=e[0],i=e[1];return t[0]=n[0]*r+n[4]*i+n[12],t[1]=n[1]*r+n[5]*i+n[13],t},s.forEach=(o=s.create(),function(t,e,n,r,i,a){var s,l;for(e||(e=2),n||(n=0),l=r?Math.min(r*e+n,t.length):t.length,s=n;s0&&(a=1/Math.sqrt(a),t[0]=e[0]*a,t[1]=e[1]*a,t[2]=e[2]*a),t},l.dot=function(t,e){return t[0]*e[0]+t[1]*e[1]+t[2]*e[2]},l.cross=function(t,e,n){var r=e[0],i=e[1],a=e[2],o=n[0],s=n[1],l=n[2];return t[0]=i*l-a*s,t[1]=a*o-r*l,t[2]=r*s-i*o,t},l.lerp=function(t,e,n,r){var i=e[0],a=e[1],o=e[2];return t[0]=i+r*(n[0]-i),t[1]=a+r*(n[1]-a),t[2]=o+r*(n[2]-o),t},l.random=function(t,e){e=e||1;var n=2*r()*Math.PI,i=2*r()-1,a=Math.sqrt(1-i*i)*e;return t[0]=Math.cos(n)*a,t[1]=Math.sin(n)*a,t[2]=i*e,t},l.transformMat4=function(t,e,n){var r=e[0],i=e[1],a=e[2],o=n[3]*r+n[7]*i+n[11]*a+n[15];return o=o||1,t[0]=(n[0]*r+n[4]*i+n[8]*a+n[12])/o,t[1]=(n[1]*r+n[5]*i+n[9]*a+n[13])/o,t[2]=(n[2]*r+n[6]*i+n[10]*a+n[14])/o,t},l.transformMat3=function(t,e,n){var r=e[0],i=e[1],a=e[2];return t[0]=r*n[0]+i*n[3]+a*n[6],t[1]=r*n[1]+i*n[4]+a*n[7],t[2]=r*n[2]+i*n[5]+a*n[8],t},l.transformQuat=function(t,e,n){var r=e[0],i=e[1],a=e[2],o=n[0],s=n[1],l=n[2],u=n[3],c=u*r+s*a-l*i,f=u*i+l*r-o*a,h=u*a+o*i-s*r,p=-o*r-s*i-l*a;return t[0]=c*u+p*-o+f*-l-h*-s,t[1]=f*u+p*-s+h*-o-c*-l,t[2]=h*u+p*-l+c*-s-f*-o,t},l.rotateX=function(t,e,n,r){var i=[],a=[];return i[0]=e[0]-n[0],i[1]=e[1]-n[1],i[2]=e[2]-n[2],a[0]=i[0],a[1]=i[1]*Math.cos(r)-i[2]*Math.sin(r),a[2]=i[1]*Math.sin(r)+i[2]*Math.cos(r),t[0]=a[0]+n[0],t[1]=a[1]+n[1],t[2]=a[2]+n[2],t},l.rotateY=function(t,e,n,r){var i=[],a=[];return i[0]=e[0]-n[0],i[1]=e[1]-n[1],i[2]=e[2]-n[2],a[0]=i[2]*Math.sin(r)+i[0]*Math.cos(r),a[1]=i[1],a[2]=i[2]*Math.cos(r)-i[0]*Math.sin(r),t[0]=a[0]+n[0],t[1]=a[1]+n[1],t[2]=a[2]+n[2],t},l.rotateZ=function(t,e,n,r){var i=[],a=[];return i[0]=e[0]-n[0],i[1]=e[1]-n[1],i[2]=e[2]-n[2],a[0]=i[0]*Math.cos(r)-i[1]*Math.sin(r),a[1]=i[0]*Math.sin(r)+i[1]*Math.cos(r),a[2]=i[2],t[0]=a[0]+n[0],t[1]=a[1]+n[1],t[2]=a[2]+n[2],t},l.forEach=function(){var t=l.create();return function(e,n,r,i,a,o){var s,l;for(n||(n=3),r||(r=0),l=i?Math.min(i*n+r,e.length):e.length,s=r;s1?0:Math.acos(i)},l.str=function(t){return"vec3("+t[0]+", "+t[1]+", "+t[2]+")"},void 0!==t&&(t.vec3=l);var u={create:function(){var t=new n(4);return t[0]=0,t[1]=0,t[2]=0,t[3]=0,t},clone:function(t){var e=new n(4);return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e},fromValues:function(t,e,r,i){var a=new n(4);return a[0]=t,a[1]=e,a[2]=r,a[3]=i,a},copy:function(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t},set:function(t,e,n,r,i){return t[0]=e,t[1]=n,t[2]=r,t[3]=i,t},add:function(t,e,n){return t[0]=e[0]+n[0],t[1]=e[1]+n[1],t[2]=e[2]+n[2],t[3]=e[3]+n[3],t},subtract:function(t,e,n){return t[0]=e[0]-n[0],t[1]=e[1]-n[1],t[2]=e[2]-n[2],t[3]=e[3]-n[3],t}};u.sub=u.subtract,u.multiply=function(t,e,n){return t[0]=e[0]*n[0],t[1]=e[1]*n[1],t[2]=e[2]*n[2],t[3]=e[3]*n[3],t},u.mul=u.multiply,u.divide=function(t,e,n){return t[0]=e[0]/n[0],t[1]=e[1]/n[1],t[2]=e[2]/n[2],t[3]=e[3]/n[3],t},u.div=u.divide,u.min=function(t,e,n){return t[0]=Math.min(e[0],n[0]),t[1]=Math.min(e[1],n[1]),t[2]=Math.min(e[2],n[2]),t[3]=Math.min(e[3],n[3]),t},u.max=function(t,e,n){return t[0]=Math.max(e[0],n[0]),t[1]=Math.max(e[1],n[1]),t[2]=Math.max(e[2],n[2]),t[3]=Math.max(e[3],n[3]),t},u.scale=function(t,e,n){return t[0]=e[0]*n,t[1]=e[1]*n,t[2]=e[2]*n,t[3]=e[3]*n,t},u.scaleAndAdd=function(t,e,n,r){return t[0]=e[0]+n[0]*r,t[1]=e[1]+n[1]*r,t[2]=e[2]+n[2]*r,t[3]=e[3]+n[3]*r,t},u.distance=function(t,e){var n=e[0]-t[0],r=e[1]-t[1],i=e[2]-t[2],a=e[3]-t[3];return Math.sqrt(n*n+r*r+i*i+a*a)},u.dist=u.distance,u.squaredDistance=function(t,e){var n=e[0]-t[0],r=e[1]-t[1],i=e[2]-t[2],a=e[3]-t[3];return n*n+r*r+i*i+a*a},u.sqrDist=u.squaredDistance,u.length=function(t){var e=t[0],n=t[1],r=t[2],i=t[3];return Math.sqrt(e*e+n*n+r*r+i*i)},u.len=u.length,u.squaredLength=function(t){var e=t[0],n=t[1],r=t[2],i=t[3];return e*e+n*n+r*r+i*i},u.sqrLen=u.squaredLength,u.negate=function(t,e){return t[0]=-e[0],t[1]=-e[1],t[2]=-e[2],t[3]=-e[3],t},u.inverse=function(t,e){return t[0]=1/e[0],t[1]=1/e[1],t[2]=1/e[2],t[3]=1/e[3],t},u.normalize=function(t,e){var n=e[0],r=e[1],i=e[2],a=e[3],o=n*n+r*r+i*i+a*a;return o>0&&(o=1/Math.sqrt(o),t[0]=e[0]*o,t[1]=e[1]*o,t[2]=e[2]*o,t[3]=e[3]*o),t},u.dot=function(t,e){return t[0]*e[0]+t[1]*e[1]+t[2]*e[2]+t[3]*e[3]},u.lerp=function(t,e,n,r){var i=e[0],a=e[1],o=e[2],s=e[3];return t[0]=i+r*(n[0]-i),t[1]=a+r*(n[1]-a),t[2]=o+r*(n[2]-o),t[3]=s+r*(n[3]-s),t},u.random=function(t,e){return e=e||1,t[0]=r(),t[1]=r(),t[2]=r(),t[3]=r(),u.normalize(t,t),u.scale(t,t,e),t},u.transformMat4=function(t,e,n){var r=e[0],i=e[1],a=e[2],o=e[3];return t[0]=n[0]*r+n[4]*i+n[8]*a+n[12]*o,t[1]=n[1]*r+n[5]*i+n[9]*a+n[13]*o,t[2]=n[2]*r+n[6]*i+n[10]*a+n[14]*o,t[3]=n[3]*r+n[7]*i+n[11]*a+n[15]*o,t},u.transformQuat=function(t,e,n){var r=e[0],i=e[1],a=e[2],o=n[0],s=n[1],l=n[2],u=n[3],c=u*r+s*a-l*i,f=u*i+l*r-o*a,h=u*a+o*i-s*r,p=-o*r-s*i-l*a;return t[0]=c*u+p*-o+f*-l-h*-s,t[1]=f*u+p*-s+h*-o-c*-l,t[2]=h*u+p*-l+c*-s-f*-o,t},u.forEach=function(){var t=u.create();return function(e,n,r,i,a,o){var s,l;for(n||(n=4),r||(r=0),l=i?Math.min(i*n+r,e.length):e.length,s=r;s.999999?(t[0]=0,t[1]=0,t[2]=0,t[3]=1,t):(l.cross(d,e,n),t[0]=d[0],t[1]=d[1],t[2]=d[2],t[3]=1+r,y.normalize(t,t))}),y.setAxes=(g=h.create(),function(t,e,n,r){return g[0]=n[0],g[3]=n[1],g[6]=n[2],g[1]=r[0],g[4]=r[1],g[7]=r[2],g[2]=-e[0],g[5]=-e[1],g[8]=-e[2],y.normalize(t,y.fromMat3(t,g))}),y.clone=u.clone,y.fromValues=u.fromValues,y.copy=u.copy,y.set=u.set,y.identity=function(t){return t[0]=0,t[1]=0,t[2]=0,t[3]=1,t},y.setAxisAngle=function(t,e,n){n*=.5;var r=Math.sin(n);return t[0]=r*e[0],t[1]=r*e[1],t[2]=r*e[2],t[3]=Math.cos(n),t},y.add=u.add,y.multiply=function(t,e,n){var r=e[0],i=e[1],a=e[2],o=e[3],s=n[0],l=n[1],u=n[2],c=n[3];return t[0]=r*c+o*s+i*u-a*l,t[1]=i*c+o*l+a*s-r*u,t[2]=a*c+o*u+r*l-i*s,t[3]=o*c-r*s-i*l-a*u,t},y.mul=y.multiply,y.scale=u.scale,y.rotateX=function(t,e,n){n*=.5;var r=e[0],i=e[1],a=e[2],o=e[3],s=Math.sin(n),l=Math.cos(n);return t[0]=r*l+o*s,t[1]=i*l+a*s,t[2]=a*l-i*s,t[3]=o*l-r*s,t},y.rotateY=function(t,e,n){n*=.5;var r=e[0],i=e[1],a=e[2],o=e[3],s=Math.sin(n),l=Math.cos(n);return t[0]=r*l-a*s,t[1]=i*l+o*s,t[2]=a*l+r*s,t[3]=o*l-i*s,t},y.rotateZ=function(t,e,n){n*=.5;var r=e[0],i=e[1],a=e[2],o=e[3],s=Math.sin(n),l=Math.cos(n);return t[0]=r*l+i*s,t[1]=i*l-r*s,t[2]=a*l+o*s,t[3]=o*l-a*s,t},y.calculateW=function(t,e){var n=e[0],r=e[1],i=e[2];return t[0]=n,t[1]=r,t[2]=i,t[3]=Math.sqrt(Math.abs(1-n*n-r*r-i*i)),t},y.dot=u.dot,y.lerp=u.lerp,y.slerp=function(t,e,n,r){var i,a,o,s,l,u=e[0],c=e[1],f=e[2],h=e[3],p=n[0],d=n[1],m=n[2],v=n[3];return(a=u*p+c*d+f*m+h*v)<0&&(a=-a,p=-p,d=-d,m=-m,v=-v),1-a>1e-6?(i=Math.acos(a),o=Math.sin(i),s=Math.sin((1-r)*i)/o,l=Math.sin(r*i)/o):(s=1-r,l=r),t[0]=s*u+l*p,t[1]=s*c+l*d,t[2]=s*f+l*m,t[3]=s*h+l*v,t},y.invert=function(t,e){var n=e[0],r=e[1],i=e[2],a=e[3],o=n*n+r*r+i*i+a*a,s=o?1/o:0;return t[0]=-n*s,t[1]=-r*s,t[2]=-i*s,t[3]=a*s,t},y.conjugate=function(t,e){return t[0]=-e[0],t[1]=-e[1],t[2]=-e[2],t[3]=e[3],t},y.length=u.length,y.len=y.length,y.squaredLength=u.squaredLength,y.sqrLen=y.squaredLength,y.normalize=u.normalize,y.fromMat3=function(t,e){var n,r=e[0]+e[4]+e[8];if(r>0)n=Math.sqrt(r+1),t[3]=.5*n,n=.5/n,t[0]=(e[5]-e[7])*n,t[1]=(e[6]-e[2])*n,t[2]=(e[1]-e[3])*n;else{var i=0;e[4]>e[0]&&(i=1),e[8]>e[3*i+i]&&(i=2);var a=(i+1)%3,o=(i+2)%3;n=Math.sqrt(e[3*i+i]-e[3*a+a]-e[3*o+o]+1),t[i]=.5*n,n=.5/n,t[3]=(e[3*a+o]-e[3*o+a])*n,t[a]=(e[3*a+i]+e[3*i+a])*n,t[o]=(e[3*o+i]+e[3*i+o])*n}return t},y.str=function(t){return"quat("+t[0]+", "+t[1]+", "+t[2]+", "+t[3]+")"},void 0!==t&&(t.quat=y)}(n.exports)}()},function(t,e,n){"use strict";var r=n(17),i=n(13),a=n(20);function o(t,e,n){return Math.min(e,Math.max(t,n))}t.exports.new=function(){return{aspect:1,zoom:.125,translation:{x:0,y:0},atomScale:.6,relativeAtomScale:1,bondScale:.5,rotation:r.mat4.create(),ao:.75,aoRes:256,brightness:.5,outline:0,spf:32,bonds:!1,bondThreshold:1.2,bondShade:.5,atomShade:.5,resolution:768,dofStrength:0,dofPosition:.5,fxaa:1}},t.exports.center=function(t,e){for(var n=-1/0,a=1/0,o=-1/0,s=1/0,l=0;l=1?(r=s.shift(),i=s.join(" ")):r=t,r){var l=r.split("|");for(e=l.pop(),o.en=e;0!=l.length;){var u=l.shift(),c=l.shift();a[u]=c}}else e=r;if(i){var f=i.split("=");if(f.length>1){var h,p;f.length;f.forEach(function(t){var e,r=(t=t.trim()).split(" ");if(r.length>1?(p=r.pop(),e=r.join(" ")):e=t,h){var i=h.toLowerCase();o[i]=e}else n=e;h=p})}else n=f.shift()}var d={name:e,ids:a,details:o};return n&&(d.desc=n),d};var i={sp:{link:"http://www.uniprot.org/%s",name:"Uniprot"},tr:{link:"http://www.uniprot.org/%s",name:"Trembl"},gb:{link:"http://www.ncbi.nlm.nih.gov/nuccore/%s",name:"Genbank"},pdb:{link:"http://www.rcsb.org/pdb/explore/explore.do?structureId=%s",name:"PDB"}};r.buildLinks=function(t){var e={};return t=t||{},Object.keys(t).forEach(function(n){if(n in i){var r=i[n],a=r.link.replace("%s",t[n]);e[r.name]=a}}),e},r.contains=function(t,e){return-1!=="".indexOf.call(t,e,0)},r.splitNChars=function(t,e){var n,r;e=e||80;var i=[];for(n=0,r=t.length-1;n<=r;n+=e)i.push(t.substr(n,e));return i},r.reverse=function(t){return t.split("").reverse().join("")},r.complement=function(t){var e=t+"",n=[[/g/g,"0"],[/c/g,"1"],[/0/g,"c"],[/1/g,"g"],[/G/g,"0"],[/C/g,"1"],[/0/g,"C"],[/1/g,"G"],[/a/g,"0"],[/t/g,"1"],[/0/g,"t"],[/1/g,"a"],[/A/g,"0"],[/T/g,"1"],[/0/g,"T"],[/1/g,"A"]];for(var r in n)e=e.replace(n[r][0],n[r][1]);return e},r.reverseComplement=function(t){return r.reverse(r.complement(t))},r.model=function(t,e,n){this.seq=t,this.name=e,this.id=n,this.ids={}}},function(t,e,n){"use strict";for(var r=n(13),i=1/0,a=-1/0,o=0;o<=118;o++)i=Math.min(i,r[o].radius),a=Math.max(a,r[o].radius);t.exports.MIN_ATOM_RADIUS=i,t.exports.MAX_ATOM_RADIUS=a},function(t,e,n){"use strict";var r=n(17),i=n(13),a=n(20),o=(t.exports.new=function(){return{atoms:[],farAtom:void 0,bonds:[]}},t.exports.calculateBonds=function(t){var e=[],n=t.atoms.slice();n.sort(function(t,e){return t.z-e.z});for(var o=0;oe&&(e=s,t.farAtom=r)}return t.farAtom});t.exports.getRadius=function(t){var e=s(t),n=a.MAX_ATOM_RADIUS,r=2.5*Math.sqrt(n*n+n*n+n*n);return Math.sqrt(e.x*e.x+e.y*e.y+e.z*e.z)+r}},function(t,e,n){var r; /*! * jQuery JavaScript Library v3.3.1 * https://jquery.com/ @@ -33,7 +33,7 @@ window.dash_bio=function(t){var e={};function n(r){if(e[r])return e[r].exports;v * * Date: 2018-01-20T17:24Z */ -!function(e,n){"use strict";"object"==typeof t.exports?t.exports=e.document?n(e,!0):function(t){if(!t.document)throw new Error("jQuery requires a window with a document");return n(t)}:n(e)}("undefined"!=typeof window?window:this,function(n,i){"use strict";var o=[],a=n.document,s=Object.getPrototypeOf,l=o.slice,u=o.concat,c=o.push,f=o.indexOf,h={},d=h.toString,p=h.hasOwnProperty,v=p.toString,m=v.call(Object),g={},y=function(t){return"function"==typeof t&&"number"!=typeof t.nodeType},b=function(t){return null!=t&&t===t.window},x={type:!0,src:!0,noModule:!0};function _(t,e,n){var r,i=(e=e||a).createElement("script");if(i.text=t,n)for(r in x)n[r]&&(i[r]=n[r]);e.head.appendChild(i).parentNode.removeChild(i)}function w(t){return null==t?t+"":"object"==typeof t||"function"==typeof t?h[d.call(t)]||"object":typeof t}var A=function(t,e){return new A.fn.init(t,e)},M=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g;function k(t){var e=!!t&&"length"in t&&t.length,n=w(t);return!y(t)&&!b(t)&&("array"===n||0===e||"number"==typeof e&&e>0&&e-1 in t)}A.fn=A.prototype={jquery:"3.3.1",constructor:A,length:0,toArray:function(){return l.call(this)},get:function(t){return null==t?l.call(this):t<0?this[t+this.length]:this[t]},pushStack:function(t){var e=A.merge(this.constructor(),t);return e.prevObject=this,e},each:function(t){return A.each(this,t)},map:function(t){return this.pushStack(A.map(this,function(e,n){return t.call(e,n,e)}))},slice:function(){return this.pushStack(l.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(t){var e=this.length,n=+t+(t<0?e:0);return this.pushStack(n>=0&&n0&&e-1 in t)}A.fn=A.prototype={jquery:"3.3.1",constructor:A,length:0,toArray:function(){return l.call(this)},get:function(t){return null==t?l.call(this):t<0?this[t+this.length]:this[t]},pushStack:function(t){var e=A.merge(this.constructor(),t);return e.prevObject=this,e},each:function(t){return A.each(this,t)},map:function(t){return this.pushStack(A.map(this,function(e,n){return t.call(e,n,e)}))},slice:function(){return this.pushStack(l.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(t){var e=this.length,n=+t+(t<0?e:0);return this.pushStack(n>=0&&n+~]|"+R+")"+R+"*"),$=new RegExp("="+R+"*([^\\]'\"]*?)"+R+"*\\]","g"),H=new RegExp(N),W=new RegExp("^"+j+"$"),G={ID:new RegExp("^#("+j+")"),CLASS:new RegExp("^\\.("+j+")"),TAG:new RegExp("^("+j+"|[*])"),ATTR:new RegExp("^"+F),PSEUDO:new RegExp("^"+N),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+R+"*(even|odd|(([+-]|)(\\d*)n|)"+R+"*(?:([+-]|)"+R+"*(\\d+)|))"+R+"*\\)|)","i"),bool:new RegExp("^(?:"+I+")$","i"),needsContext:new RegExp("^"+R+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+R+"*((?:-\\d)?\\d*)"+R+"*\\)|)(?=[^-]|$)","i")},Y=/^(?:input|select|textarea|button)$/i,X=/^h\d$/i,Z=/^[^{]+\{\s*\[native \w/,J=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,K=/[+~]/,Q=new RegExp("\\\\([\\da-f]{1,6}"+R+"?|("+R+")|.)","ig"),tt=function(t,e,n){var r="0x"+e-65536;return r!=r||n?e:r<0?String.fromCharCode(r+65536):String.fromCharCode(r>>10|55296,1023&r|56320)},et=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,nt=function(t,e){return e?"\0"===t?"�":t.slice(0,-1)+"\\"+t.charCodeAt(t.length-1).toString(16)+" ":"\\"+t},rt=function(){h()},it=yt(function(t){return!0===t.disabled&&("form"in t||"label"in t)},{dir:"parentNode",next:"legend"});try{L.apply(E=z.call(_.childNodes),_.childNodes),E[_.childNodes.length].nodeType}catch(t){L={apply:E.length?function(t,e){D.apply(t,z.call(e))}:function(t,e){for(var n=t.length,r=0;t[n++]=e[r++];);t.length=n-1}}}function ot(t,e,r,i){var o,s,u,c,f,p,g,y=e&&e.ownerDocument,w=e?e.nodeType:9;if(r=r||[],"string"!=typeof t||!t||1!==w&&9!==w&&11!==w)return r;if(!i&&((e?e.ownerDocument||e:_)!==d&&h(e),e=e||d,v)){if(11!==w&&(f=J.exec(t)))if(o=f[1]){if(9===w){if(!(u=e.getElementById(o)))return r;if(u.id===o)return r.push(u),r}else if(y&&(u=y.getElementById(o))&&b(e,u)&&u.id===o)return r.push(u),r}else{if(f[2])return L.apply(r,e.getElementsByTagName(t)),r;if((o=f[3])&&n.getElementsByClassName&&e.getElementsByClassName)return L.apply(r,e.getElementsByClassName(o)),r}if(n.qsa&&!T[t+" "]&&(!m||!m.test(t))){if(1!==w)y=e,g=t;else if("object"!==e.nodeName.toLowerCase()){for((c=e.getAttribute("id"))?c=c.replace(et,nt):e.setAttribute("id",c=x),s=(p=a(t)).length;s--;)p[s]="#"+c+" "+gt(p[s]);g=p.join(","),y=K.test(t)&&vt(e.parentNode)||e}if(g)try{return L.apply(r,y.querySelectorAll(g)),r}catch(t){}finally{c===x&&e.removeAttribute("id")}}}return l(t.replace(V,"$1"),e,r,i)}function at(){var t=[];return function e(n,i){return t.push(n+" ")>r.cacheLength&&delete e[t.shift()],e[n+" "]=i}}function st(t){return t[x]=!0,t}function lt(t){var e=d.createElement("fieldset");try{return!!t(e)}catch(t){return!1}finally{e.parentNode&&e.parentNode.removeChild(e),e=null}}function ut(t,e){for(var n=t.split("|"),i=n.length;i--;)r.attrHandle[n[i]]=e}function ct(t,e){var n=e&&t,r=n&&1===t.nodeType&&1===e.nodeType&&t.sourceIndex-e.sourceIndex;if(r)return r;if(n)for(;n=n.nextSibling;)if(n===e)return-1;return t?1:-1}function ft(t){return function(e){return"input"===e.nodeName.toLowerCase()&&e.type===t}}function ht(t){return function(e){var n=e.nodeName.toLowerCase();return("input"===n||"button"===n)&&e.type===t}}function dt(t){return function(e){return"form"in e?e.parentNode&&!1===e.disabled?"label"in e?"label"in e.parentNode?e.parentNode.disabled===t:e.disabled===t:e.isDisabled===t||e.isDisabled!==!t&&it(e)===t:e.disabled===t:"label"in e&&e.disabled===t}}function pt(t){return st(function(e){return e=+e,st(function(n,r){for(var i,o=t([],n.length,e),a=o.length;a--;)n[i=o[a]]&&(n[i]=!(r[i]=n[i]))})})}function vt(t){return t&&void 0!==t.getElementsByTagName&&t}for(e in n=ot.support={},o=ot.isXML=function(t){var e=t&&(t.ownerDocument||t).documentElement;return!!e&&"HTML"!==e.nodeName},h=ot.setDocument=function(t){var e,i,a=t?t.ownerDocument||t:_;return a!==d&&9===a.nodeType&&a.documentElement?(p=(d=a).documentElement,v=!o(d),_!==d&&(i=d.defaultView)&&i.top!==i&&(i.addEventListener?i.addEventListener("unload",rt,!1):i.attachEvent&&i.attachEvent("onunload",rt)),n.attributes=lt(function(t){return t.className="i",!t.getAttribute("className")}),n.getElementsByTagName=lt(function(t){return t.appendChild(d.createComment("")),!t.getElementsByTagName("*").length}),n.getElementsByClassName=Z.test(d.getElementsByClassName),n.getById=lt(function(t){return p.appendChild(t).id=x,!d.getElementsByName||!d.getElementsByName(x).length}),n.getById?(r.filter.ID=function(t){var e=t.replace(Q,tt);return function(t){return t.getAttribute("id")===e}},r.find.ID=function(t,e){if(void 0!==e.getElementById&&v){var n=e.getElementById(t);return n?[n]:[]}}):(r.filter.ID=function(t){var e=t.replace(Q,tt);return function(t){var n=void 0!==t.getAttributeNode&&t.getAttributeNode("id");return n&&n.value===e}},r.find.ID=function(t,e){if(void 0!==e.getElementById&&v){var n,r,i,o=e.getElementById(t);if(o){if((n=o.getAttributeNode("id"))&&n.value===t)return[o];for(i=e.getElementsByName(t),r=0;o=i[r++];)if((n=o.getAttributeNode("id"))&&n.value===t)return[o]}return[]}}),r.find.TAG=n.getElementsByTagName?function(t,e){return void 0!==e.getElementsByTagName?e.getElementsByTagName(t):n.qsa?e.querySelectorAll(t):void 0}:function(t,e){var n,r=[],i=0,o=e.getElementsByTagName(t);if("*"===t){for(;n=o[i++];)1===n.nodeType&&r.push(n);return r}return o},r.find.CLASS=n.getElementsByClassName&&function(t,e){if(void 0!==e.getElementsByClassName&&v)return e.getElementsByClassName(t)},g=[],m=[],(n.qsa=Z.test(d.querySelectorAll))&&(lt(function(t){p.appendChild(t).innerHTML="",t.querySelectorAll("[msallowcapture^='']").length&&m.push("[*^$]="+R+"*(?:''|\"\")"),t.querySelectorAll("[selected]").length||m.push("\\["+R+"*(?:value|"+I+")"),t.querySelectorAll("[id~="+x+"-]").length||m.push("~="),t.querySelectorAll(":checked").length||m.push(":checked"),t.querySelectorAll("a#"+x+"+*").length||m.push(".#.+[+~]")}),lt(function(t){t.innerHTML="";var e=d.createElement("input");e.setAttribute("type","hidden"),t.appendChild(e).setAttribute("name","D"),t.querySelectorAll("[name=d]").length&&m.push("name"+R+"*[*^$|!~]?="),2!==t.querySelectorAll(":enabled").length&&m.push(":enabled",":disabled"),p.appendChild(t).disabled=!0,2!==t.querySelectorAll(":disabled").length&&m.push(":enabled",":disabled"),t.querySelectorAll("*,:x"),m.push(",.*:")})),(n.matchesSelector=Z.test(y=p.matches||p.webkitMatchesSelector||p.mozMatchesSelector||p.oMatchesSelector||p.msMatchesSelector))&<(function(t){n.disconnectedMatch=y.call(t,"*"),y.call(t,"[s!='']:x"),g.push("!=",N)}),m=m.length&&new RegExp(m.join("|")),g=g.length&&new RegExp(g.join("|")),e=Z.test(p.compareDocumentPosition),b=e||Z.test(p.contains)?function(t,e){var n=9===t.nodeType?t.documentElement:t,r=e&&e.parentNode;return t===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):t.compareDocumentPosition&&16&t.compareDocumentPosition(r)))}:function(t,e){if(e)for(;e=e.parentNode;)if(e===t)return!0;return!1},S=e?function(t,e){if(t===e)return f=!0,0;var r=!t.compareDocumentPosition-!e.compareDocumentPosition;return r||(1&(r=(t.ownerDocument||t)===(e.ownerDocument||e)?t.compareDocumentPosition(e):1)||!n.sortDetached&&e.compareDocumentPosition(t)===r?t===d||t.ownerDocument===_&&b(_,t)?-1:e===d||e.ownerDocument===_&&b(_,e)?1:c?P(c,t)-P(c,e):0:4&r?-1:1)}:function(t,e){if(t===e)return f=!0,0;var n,r=0,i=t.parentNode,o=e.parentNode,a=[t],s=[e];if(!i||!o)return t===d?-1:e===d?1:i?-1:o?1:c?P(c,t)-P(c,e):0;if(i===o)return ct(t,e);for(n=t;n=n.parentNode;)a.unshift(n);for(n=e;n=n.parentNode;)s.unshift(n);for(;a[r]===s[r];)r++;return r?ct(a[r],s[r]):a[r]===_?-1:s[r]===_?1:0},d):d},ot.matches=function(t,e){return ot(t,null,null,e)},ot.matchesSelector=function(t,e){if((t.ownerDocument||t)!==d&&h(t),e=e.replace($,"='$1']"),n.matchesSelector&&v&&!T[e+" "]&&(!g||!g.test(e))&&(!m||!m.test(e)))try{var r=y.call(t,e);if(r||n.disconnectedMatch||t.document&&11!==t.document.nodeType)return r}catch(t){}return ot(e,d,null,[t]).length>0},ot.contains=function(t,e){return(t.ownerDocument||t)!==d&&h(t),b(t,e)},ot.attr=function(t,e){(t.ownerDocument||t)!==d&&h(t);var i=r.attrHandle[e.toLowerCase()],o=i&&C.call(r.attrHandle,e.toLowerCase())?i(t,e,!v):void 0;return void 0!==o?o:n.attributes||!v?t.getAttribute(e):(o=t.getAttributeNode(e))&&o.specified?o.value:null},ot.escape=function(t){return(t+"").replace(et,nt)},ot.error=function(t){throw new Error("Syntax error, unrecognized expression: "+t)},ot.uniqueSort=function(t){var e,r=[],i=0,o=0;if(f=!n.detectDuplicates,c=!n.sortStable&&t.slice(0),t.sort(S),f){for(;e=t[o++];)e===t[o]&&(i=r.push(o));for(;i--;)t.splice(r[i],1)}return c=null,t},i=ot.getText=function(t){var e,n="",r=0,o=t.nodeType;if(o){if(1===o||9===o||11===o){if("string"==typeof t.textContent)return t.textContent;for(t=t.firstChild;t;t=t.nextSibling)n+=i(t)}else if(3===o||4===o)return t.nodeValue}else for(;e=t[r++];)n+=i(e);return n},(r=ot.selectors={cacheLength:50,createPseudo:st,match:G,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(t){return t[1]=t[1].replace(Q,tt),t[3]=(t[3]||t[4]||t[5]||"").replace(Q,tt),"~="===t[2]&&(t[3]=" "+t[3]+" "),t.slice(0,4)},CHILD:function(t){return t[1]=t[1].toLowerCase(),"nth"===t[1].slice(0,3)?(t[3]||ot.error(t[0]),t[4]=+(t[4]?t[5]+(t[6]||1):2*("even"===t[3]||"odd"===t[3])),t[5]=+(t[7]+t[8]||"odd"===t[3])):t[3]&&ot.error(t[0]),t},PSEUDO:function(t){var e,n=!t[6]&&t[2];return G.CHILD.test(t[0])?null:(t[3]?t[2]=t[4]||t[5]||"":n&&H.test(n)&&(e=a(n,!0))&&(e=n.indexOf(")",n.length-e)-n.length)&&(t[0]=t[0].slice(0,e),t[2]=n.slice(0,e)),t.slice(0,3))}},filter:{TAG:function(t){var e=t.replace(Q,tt).toLowerCase();return"*"===t?function(){return!0}:function(t){return t.nodeName&&t.nodeName.toLowerCase()===e}},CLASS:function(t){var e=M[t+" "];return e||(e=new RegExp("(^|"+R+")"+t+"("+R+"|$)"))&&M(t,function(t){return e.test("string"==typeof t.className&&t.className||void 0!==t.getAttribute&&t.getAttribute("class")||"")})},ATTR:function(t,e,n){return function(r){var i=ot.attr(r,t);return null==i?"!="===e:!e||(i+="","="===e?i===n:"!="===e?i!==n:"^="===e?n&&0===i.indexOf(n):"*="===e?n&&i.indexOf(n)>-1:"$="===e?n&&i.slice(-n.length)===n:"~="===e?(" "+i.replace(B," ")+" ").indexOf(n)>-1:"|="===e&&(i===n||i.slice(0,n.length+1)===n+"-"))}},CHILD:function(t,e,n,r,i){var o="nth"!==t.slice(0,3),a="last"!==t.slice(-4),s="of-type"===e;return 1===r&&0===i?function(t){return!!t.parentNode}:function(e,n,l){var u,c,f,h,d,p,v=o!==a?"nextSibling":"previousSibling",m=e.parentNode,g=s&&e.nodeName.toLowerCase(),y=!l&&!s,b=!1;if(m){if(o){for(;v;){for(h=e;h=h[v];)if(s?h.nodeName.toLowerCase()===g:1===h.nodeType)return!1;p=v="only"===t&&!p&&"nextSibling"}return!0}if(p=[a?m.firstChild:m.lastChild],a&&y){for(b=(d=(u=(c=(f=(h=m)[x]||(h[x]={}))[h.uniqueID]||(f[h.uniqueID]={}))[t]||[])[0]===w&&u[1])&&u[2],h=d&&m.childNodes[d];h=++d&&h&&h[v]||(b=d=0)||p.pop();)if(1===h.nodeType&&++b&&h===e){c[t]=[w,d,b];break}}else if(y&&(b=d=(u=(c=(f=(h=e)[x]||(h[x]={}))[h.uniqueID]||(f[h.uniqueID]={}))[t]||[])[0]===w&&u[1]),!1===b)for(;(h=++d&&h&&h[v]||(b=d=0)||p.pop())&&((s?h.nodeName.toLowerCase()!==g:1!==h.nodeType)||!++b||(y&&((c=(f=h[x]||(h[x]={}))[h.uniqueID]||(f[h.uniqueID]={}))[t]=[w,b]),h!==e)););return(b-=i)===r||b%r==0&&b/r>=0}}},PSEUDO:function(t,e){var n,i=r.pseudos[t]||r.setFilters[t.toLowerCase()]||ot.error("unsupported pseudo: "+t);return i[x]?i(e):i.length>1?(n=[t,t,"",e],r.setFilters.hasOwnProperty(t.toLowerCase())?st(function(t,n){for(var r,o=i(t,e),a=o.length;a--;)t[r=P(t,o[a])]=!(n[r]=o[a])}):function(t){return i(t,0,n)}):i}},pseudos:{not:st(function(t){var e=[],n=[],r=s(t.replace(V,"$1"));return r[x]?st(function(t,e,n,i){for(var o,a=r(t,null,i,[]),s=t.length;s--;)(o=a[s])&&(t[s]=!(e[s]=o))}):function(t,i,o){return e[0]=t,r(e,null,o,n),e[0]=null,!n.pop()}}),has:st(function(t){return function(e){return ot(t,e).length>0}}),contains:st(function(t){return t=t.replace(Q,tt),function(e){return(e.textContent||e.innerText||i(e)).indexOf(t)>-1}}),lang:st(function(t){return W.test(t||"")||ot.error("unsupported lang: "+t),t=t.replace(Q,tt).toLowerCase(),function(e){var n;do{if(n=v?e.lang:e.getAttribute("xml:lang")||e.getAttribute("lang"))return(n=n.toLowerCase())===t||0===n.indexOf(t+"-")}while((e=e.parentNode)&&1===e.nodeType);return!1}}),target:function(e){var n=t.location&&t.location.hash;return n&&n.slice(1)===e.id},root:function(t){return t===p},focus:function(t){return t===d.activeElement&&(!d.hasFocus||d.hasFocus())&&!!(t.type||t.href||~t.tabIndex)},enabled:dt(!1),disabled:dt(!0),checked:function(t){var e=t.nodeName.toLowerCase();return"input"===e&&!!t.checked||"option"===e&&!!t.selected},selected:function(t){return t.parentNode&&t.parentNode.selectedIndex,!0===t.selected},empty:function(t){for(t=t.firstChild;t;t=t.nextSibling)if(t.nodeType<6)return!1;return!0},parent:function(t){return!r.pseudos.empty(t)},header:function(t){return X.test(t.nodeName)},input:function(t){return Y.test(t.nodeName)},button:function(t){var e=t.nodeName.toLowerCase();return"input"===e&&"button"===t.type||"button"===e},text:function(t){var e;return"input"===t.nodeName.toLowerCase()&&"text"===t.type&&(null==(e=t.getAttribute("type"))||"text"===e.toLowerCase())},first:pt(function(){return[0]}),last:pt(function(t,e){return[e-1]}),eq:pt(function(t,e,n){return[n<0?n+e:n]}),even:pt(function(t,e){for(var n=0;n=0;)t.push(r);return t}),gt:pt(function(t,e,n){for(var r=n<0?n+e:n;++r1?function(e,n,r){for(var i=t.length;i--;)if(!t[i](e,n,r))return!1;return!0}:t[0]}function xt(t,e,n,r,i){for(var o,a=[],s=0,l=t.length,u=null!=e;s-1&&(o[u]=!(a[u]=f))}}else g=xt(g===a?g.splice(p,g.length):g),i?i(null,a,g,l):L.apply(a,g)})}function wt(t){for(var e,n,i,o=t.length,a=r.relative[t[0].type],s=a||r.relative[" "],l=a?1:0,c=yt(function(t){return t===e},s,!0),f=yt(function(t){return P(e,t)>-1},s,!0),h=[function(t,n,r){var i=!a&&(r||n!==u)||((e=n).nodeType?c(t,n,r):f(t,n,r));return e=null,i}];l1&&bt(h),l>1&>(t.slice(0,l-1).concat({value:" "===t[l-2].type?"*":""})).replace(V,"$1"),n,l0,i=t.length>0,o=function(o,a,s,l,c){var f,p,m,g=0,y="0",b=o&&[],x=[],_=u,A=o||i&&r.find.TAG("*",c),M=w+=null==_?1:Math.random()||.1,k=A.length;for(c&&(u=a===d||a||c);y!==k&&null!=(f=A[y]);y++){if(i&&f){for(p=0,a||f.ownerDocument===d||(h(f),s=!v);m=t[p++];)if(m(f,a||d,s)){l.push(f);break}c&&(w=M)}n&&((f=!m&&f)&&g--,o&&b.push(f))}if(g+=y,n&&y!==g){for(p=0;m=e[p++];)m(b,x,a,s);if(o){if(g>0)for(;y--;)b[y]||x[y]||(x[y]=O.call(l));x=xt(x)}L.apply(l,x),c&&!o&&x.length>0&&g+e.length>1&&ot.uniqueSort(l)}return c&&(w=M,u=_),b};return n?st(o):o}(o,i))).selector=t}return s},l=ot.select=function(t,e,n,i){var o,l,u,c,f,h="function"==typeof t&&t,d=!i&&a(t=h.selector||t);if(n=n||[],1===d.length){if((l=d[0]=d[0].slice(0)).length>2&&"ID"===(u=l[0]).type&&9===e.nodeType&&v&&r.relative[l[1].type]){if(!(e=(r.find.ID(u.matches[0].replace(Q,tt),e)||[])[0]))return n;h&&(e=e.parentNode),t=t.slice(l.shift().value.length)}for(o=G.needsContext.test(t)?0:l.length;o--&&(u=l[o],!r.relative[c=u.type]);)if((f=r.find[c])&&(i=f(u.matches[0].replace(Q,tt),K.test(l[0].type)&&vt(e.parentNode)||e))){if(l.splice(o,1),!(t=i.length&>(l)))return L.apply(n,i),n;break}}return(h||s(t,d))(i,e,!v,n,!e||K.test(t)&&vt(e.parentNode)||e),n},n.sortStable=x.split("").sort(S).join("")===x,n.detectDuplicates=!!f,h(),n.sortDetached=lt(function(t){return 1&t.compareDocumentPosition(d.createElement("fieldset"))}),lt(function(t){return t.innerHTML="","#"===t.firstChild.getAttribute("href")})||ut("type|href|height|width",function(t,e,n){if(!n)return t.getAttribute(e,"type"===e.toLowerCase()?1:2)}),n.attributes&<(function(t){return t.innerHTML="",t.firstChild.setAttribute("value",""),""===t.firstChild.getAttribute("value")})||ut("value",function(t,e,n){if(!n&&"input"===t.nodeName.toLowerCase())return t.defaultValue}),lt(function(t){return null==t.getAttribute("disabled")})||ut(I,function(t,e,n){var r;if(!n)return!0===t[e]?e.toLowerCase():(r=t.getAttributeNode(e))&&r.specified?r.value:null}),ot}(n);A.find=T,A.expr=T.selectors,A.expr[":"]=A.expr.pseudos,A.uniqueSort=A.unique=T.uniqueSort,A.text=T.getText,A.isXMLDoc=T.isXML,A.contains=T.contains,A.escapeSelector=T.escape;var S=function(t,e,n){for(var r=[],i=void 0!==n;(t=t[e])&&9!==t.nodeType;)if(1===t.nodeType){if(i&&A(t).is(n))break;r.push(t)}return r},C=function(t,e){for(var n=[];t;t=t.nextSibling)1===t.nodeType&&t!==e&&n.push(t);return n},E=A.expr.match.needsContext;function O(t,e){return t.nodeName&&t.nodeName.toLowerCase()===e.toLowerCase()}var D=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function L(t,e,n){return y(e)?A.grep(t,function(t,r){return!!e.call(t,r,t)!==n}):e.nodeType?A.grep(t,function(t){return t===e!==n}):"string"!=typeof e?A.grep(t,function(t){return f.call(e,t)>-1!==n}):A.filter(e,t,n)}A.filter=function(t,e,n){var r=e[0];return n&&(t=":not("+t+")"),1===e.length&&1===r.nodeType?A.find.matchesSelector(r,t)?[r]:[]:A.find.matches(t,A.grep(e,function(t){return 1===t.nodeType}))},A.fn.extend({find:function(t){var e,n,r=this.length,i=this;if("string"!=typeof t)return this.pushStack(A(t).filter(function(){for(e=0;e1?A.uniqueSort(n):n},filter:function(t){return this.pushStack(L(this,t||[],!1))},not:function(t){return this.pushStack(L(this,t||[],!0))},is:function(t){return!!L(this,"string"==typeof t&&E.test(t)?A(t):t||[],!1).length}});var z,P=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(A.fn.init=function(t,e,n){var r,i;if(!t)return this;if(n=n||z,"string"==typeof t){if(!(r="<"===t[0]&&">"===t[t.length-1]&&t.length>=3?[null,t,null]:P.exec(t))||!r[1]&&e)return!e||e.jquery?(e||n).find(t):this.constructor(e).find(t);if(r[1]){if(e=e instanceof A?e[0]:e,A.merge(this,A.parseHTML(r[1],e&&e.nodeType?e.ownerDocument||e:a,!0)),D.test(r[1])&&A.isPlainObject(e))for(r in e)y(this[r])?this[r](e[r]):this.attr(r,e[r]);return this}return(i=a.getElementById(r[2]))&&(this[0]=i,this.length=1),this}return t.nodeType?(this[0]=t,this.length=1,this):y(t)?void 0!==n.ready?n.ready(t):t(A):A.makeArray(t,this)}).prototype=A.fn,z=A(a);var I=/^(?:parents|prev(?:Until|All))/,R={children:!0,contents:!0,next:!0,prev:!0};function j(t,e){for(;(t=t[e])&&1!==t.nodeType;);return t}A.fn.extend({has:function(t){var e=A(t,this),n=e.length;return this.filter(function(){for(var t=0;t-1:1===n.nodeType&&A.find.matchesSelector(n,t))){o.push(n);break}return this.pushStack(o.length>1?A.uniqueSort(o):o)},index:function(t){return t?"string"==typeof t?f.call(A(t),this[0]):f.call(this,t.jquery?t[0]:t):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(t,e){return this.pushStack(A.uniqueSort(A.merge(this.get(),A(t,e))))},addBack:function(t){return this.add(null==t?this.prevObject:this.prevObject.filter(t))}}),A.each({parent:function(t){var e=t.parentNode;return e&&11!==e.nodeType?e:null},parents:function(t){return S(t,"parentNode")},parentsUntil:function(t,e,n){return S(t,"parentNode",n)},next:function(t){return j(t,"nextSibling")},prev:function(t){return j(t,"previousSibling")},nextAll:function(t){return S(t,"nextSibling")},prevAll:function(t){return S(t,"previousSibling")},nextUntil:function(t,e,n){return S(t,"nextSibling",n)},prevUntil:function(t,e,n){return S(t,"previousSibling",n)},siblings:function(t){return C((t.parentNode||{}).firstChild,t)},children:function(t){return C(t.firstChild)},contents:function(t){return O(t,"iframe")?t.contentDocument:(O(t,"template")&&(t=t.content||t),A.merge([],t.childNodes))}},function(t,e){A.fn[t]=function(n,r){var i=A.map(this,e,n);return"Until"!==t.slice(-5)&&(r=n),r&&"string"==typeof r&&(i=A.filter(r,i)),this.length>1&&(R[t]||A.uniqueSort(i),I.test(t)&&i.reverse()),this.pushStack(i)}});var F=/[^\x20\t\r\n\f]+/g;function N(t){return t}function B(t){throw t}function V(t,e,n,r){var i;try{t&&y(i=t.promise)?i.call(t).done(e).fail(n):t&&y(i=t.then)?i.call(t,e,n):e.apply(void 0,[t].slice(r))}catch(t){n.apply(void 0,[t])}}A.Callbacks=function(t){t="string"==typeof t?function(t){var e={};return A.each(t.match(F)||[],function(t,n){e[n]=!0}),e}(t):A.extend({},t);var e,n,r,i,o=[],a=[],s=-1,l=function(){for(i=i||t.once,r=e=!0;a.length;s=-1)for(n=a.shift();++s-1;)o.splice(n,1),n<=s&&s--}),this},has:function(t){return t?A.inArray(t,o)>-1:o.length>0},empty:function(){return o&&(o=[]),this},disable:function(){return i=a=[],o=n="",this},disabled:function(){return!o},lock:function(){return i=a=[],n||e||(o=n=""),this},locked:function(){return!!i},fireWith:function(t,n){return i||(n=[t,(n=n||[]).slice?n.slice():n],a.push(n),e||l()),this},fire:function(){return u.fireWith(this,arguments),this},fired:function(){return!!r}};return u},A.extend({Deferred:function(t){var e=[["notify","progress",A.Callbacks("memory"),A.Callbacks("memory"),2],["resolve","done",A.Callbacks("once memory"),A.Callbacks("once memory"),0,"resolved"],["reject","fail",A.Callbacks("once memory"),A.Callbacks("once memory"),1,"rejected"]],r="pending",i={state:function(){return r},always:function(){return o.done(arguments).fail(arguments),this},catch:function(t){return i.then(null,t)},pipe:function(){var t=arguments;return A.Deferred(function(n){A.each(e,function(e,r){var i=y(t[r[4]])&&t[r[4]];o[r[1]](function(){var t=i&&i.apply(this,arguments);t&&y(t.promise)?t.promise().progress(n.notify).done(n.resolve).fail(n.reject):n[r[0]+"With"](this,i?[t]:arguments)})}),t=null}).promise()},then:function(t,r,i){var o=0;function a(t,e,r,i){return function(){var s=this,l=arguments,u=function(){var n,u;if(!(t=o&&(r!==B&&(s=void 0,l=[n]),e.rejectWith(s,l))}};t?c():(A.Deferred.getStackHook&&(c.stackTrace=A.Deferred.getStackHook()),n.setTimeout(c))}}return A.Deferred(function(n){e[0][3].add(a(0,n,y(i)?i:N,n.notifyWith)),e[1][3].add(a(0,n,y(t)?t:N)),e[2][3].add(a(0,n,y(r)?r:B))}).promise()},promise:function(t){return null!=t?A.extend(t,i):i}},o={};return A.each(e,function(t,n){var a=n[2],s=n[5];i[n[1]]=a.add,s&&a.add(function(){r=s},e[3-t][2].disable,e[3-t][3].disable,e[0][2].lock,e[0][3].lock),a.add(n[3].fire),o[n[0]]=function(){return o[n[0]+"With"](this===o?void 0:this,arguments),this},o[n[0]+"With"]=a.fireWith}),i.promise(o),t&&t.call(o,o),o},when:function(t){var e=arguments.length,n=e,r=Array(n),i=l.call(arguments),o=A.Deferred(),a=function(t){return function(n){r[t]=this,i[t]=arguments.length>1?l.call(arguments):n,--e||o.resolveWith(r,i)}};if(e<=1&&(V(t,o.done(a(n)).resolve,o.reject,!e),"pending"===o.state()||y(i[n]&&i[n].then)))return o.then();for(;n--;)V(i[n],a(n),o.reject);return o.promise()}});var U=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;A.Deferred.exceptionHook=function(t,e){n.console&&n.console.warn&&t&&U.test(t.name)&&n.console.warn("jQuery.Deferred exception: "+t.message,t.stack,e)},A.readyException=function(t){n.setTimeout(function(){throw t})};var q=A.Deferred();function $(){a.removeEventListener("DOMContentLoaded",$),n.removeEventListener("load",$),A.ready()}A.fn.ready=function(t){return q.then(t).catch(function(t){A.readyException(t)}),this},A.extend({isReady:!1,readyWait:1,ready:function(t){(!0===t?--A.readyWait:A.isReady)||(A.isReady=!0,!0!==t&&--A.readyWait>0||q.resolveWith(a,[A]))}}),A.ready.then=q.then,"complete"===a.readyState||"loading"!==a.readyState&&!a.documentElement.doScroll?n.setTimeout(A.ready):(a.addEventListener("DOMContentLoaded",$),n.addEventListener("load",$));var H=function(t,e,n,r,i,o,a){var s=0,l=t.length,u=null==n;if("object"===w(n))for(s in i=!0,n)H(t,e,s,n[s],!0,o,a);else if(void 0!==r&&(i=!0,y(r)||(a=!0),u&&(a?(e.call(t,r),e=null):(u=e,e=function(t,e,n){return u.call(A(t),n)})),e))for(;s1,null,!0)},removeData:function(t){return this.each(function(){Q.remove(this,t)})}}),A.extend({queue:function(t,e,n){var r;if(t)return e=(e||"fx")+"queue",r=K.get(t,e),n&&(!r||Array.isArray(n)?r=K.access(t,e,A.makeArray(n)):r.push(n)),r||[]},dequeue:function(t,e){e=e||"fx";var n=A.queue(t,e),r=n.length,i=n.shift(),o=A._queueHooks(t,e);"inprogress"===i&&(i=n.shift(),r--),i&&("fx"===e&&n.unshift("inprogress"),delete o.stop,i.call(t,function(){A.dequeue(t,e)},o)),!r&&o&&o.empty.fire()},_queueHooks:function(t,e){var n=e+"queueHooks";return K.get(t,n)||K.access(t,n,{empty:A.Callbacks("once memory").add(function(){K.remove(t,[e+"queue",n])})})}}),A.fn.extend({queue:function(t,e){var n=2;return"string"!=typeof t&&(e=t,t="fx",n--),arguments.length\x20\t\r\n\f]+)/i,pt=/^$|^module$|\/(?:java|ecma)script/i,vt={option:[1,""],thead:[1,"","
"],col:[2,"","
"],tr:[2,"","
"],td:[3,"","
"],_default:[0,"",""]};function mt(t,e){var n;return n=void 0!==t.getElementsByTagName?t.getElementsByTagName(e||"*"):void 0!==t.querySelectorAll?t.querySelectorAll(e||"*"):[],void 0===e||e&&O(t,e)?A.merge([t],n):n}function gt(t,e){for(var n=0,r=t.length;n-1)i&&i.push(o);else if(u=A.contains(o.ownerDocument,o),a=mt(f.appendChild(o),"script"),u&>(a),n)for(c=0;o=a[c++];)pt.test(o.type||"")&&n.push(o);return f}yt=a.createDocumentFragment().appendChild(a.createElement("div")),(bt=a.createElement("input")).setAttribute("type","radio"),bt.setAttribute("checked","checked"),bt.setAttribute("name","t"),yt.appendChild(bt),g.checkClone=yt.cloneNode(!0).cloneNode(!0).lastChild.checked,yt.innerHTML="",g.noCloneChecked=!!yt.cloneNode(!0).lastChild.defaultValue;var wt=a.documentElement,At=/^key/,Mt=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,kt=/^([^.]*)(?:\.(.+)|)/;function Tt(){return!0}function St(){return!1}function Ct(){try{return a.activeElement}catch(t){}}function Et(t,e,n,r,i,o){var a,s;if("object"==typeof e){for(s in"string"!=typeof n&&(r=r||n,n=void 0),e)Et(t,s,n,r,e[s],o);return t}if(null==r&&null==i?(i=n,r=n=void 0):null==i&&("string"==typeof n?(i=r,r=void 0):(i=r,r=n,n=void 0)),!1===i)i=St;else if(!i)return t;return 1===o&&(a=i,(i=function(t){return A().off(t),a.apply(this,arguments)}).guid=a.guid||(a.guid=A.guid++)),t.each(function(){A.event.add(this,e,i,r,n)})}A.event={global:{},add:function(t,e,n,r,i){var o,a,s,l,u,c,f,h,d,p,v,m=K.get(t);if(m)for(n.handler&&(n=(o=n).handler,i=o.selector),i&&A.find.matchesSelector(wt,i),n.guid||(n.guid=A.guid++),(l=m.events)||(l=m.events={}),(a=m.handle)||(a=m.handle=function(e){return void 0!==A&&A.event.triggered!==e.type?A.event.dispatch.apply(t,arguments):void 0}),u=(e=(e||"").match(F)||[""]).length;u--;)d=v=(s=kt.exec(e[u])||[])[1],p=(s[2]||"").split(".").sort(),d&&(f=A.event.special[d]||{},d=(i?f.delegateType:f.bindType)||d,f=A.event.special[d]||{},c=A.extend({type:d,origType:v,data:r,handler:n,guid:n.guid,selector:i,needsContext:i&&A.expr.match.needsContext.test(i),namespace:p.join(".")},o),(h=l[d])||((h=l[d]=[]).delegateCount=0,f.setup&&!1!==f.setup.call(t,r,p,a)||t.addEventListener&&t.addEventListener(d,a)),f.add&&(f.add.call(t,c),c.handler.guid||(c.handler.guid=n.guid)),i?h.splice(h.delegateCount++,0,c):h.push(c),A.event.global[d]=!0)},remove:function(t,e,n,r,i){var o,a,s,l,u,c,f,h,d,p,v,m=K.hasData(t)&&K.get(t);if(m&&(l=m.events)){for(u=(e=(e||"").match(F)||[""]).length;u--;)if(d=v=(s=kt.exec(e[u])||[])[1],p=(s[2]||"").split(".").sort(),d){for(f=A.event.special[d]||{},h=l[d=(r?f.delegateType:f.bindType)||d]||[],s=s[2]&&new RegExp("(^|\\.)"+p.join("\\.(?:.*\\.|)")+"(\\.|$)"),a=o=h.length;o--;)c=h[o],!i&&v!==c.origType||n&&n.guid!==c.guid||s&&!s.test(c.namespace)||r&&r!==c.selector&&("**"!==r||!c.selector)||(h.splice(o,1),c.selector&&h.delegateCount--,f.remove&&f.remove.call(t,c));a&&!h.length&&(f.teardown&&!1!==f.teardown.call(t,p,m.handle)||A.removeEvent(t,d,m.handle),delete l[d])}else for(d in l)A.event.remove(t,d+e[u],n,r,!0);A.isEmptyObject(l)&&K.remove(t,"handle events")}},dispatch:function(t){var e,n,r,i,o,a,s=A.event.fix(t),l=new Array(arguments.length),u=(K.get(this,"events")||{})[s.type]||[],c=A.event.special[s.type]||{};for(l[0]=s,e=1;e=1))for(;u!==this;u=u.parentNode||this)if(1===u.nodeType&&("click"!==t.type||!0!==u.disabled)){for(o=[],a={},n=0;n-1:A.find(i,this,null,[u]).length),a[i]&&o.push(r);o.length&&s.push({elem:u,handlers:o})}return u=this,l\x20\t\r\n\f]*)[^>]*)\/>/gi,Dt=/\s*$/g;function Pt(t,e){return O(t,"table")&&O(11!==e.nodeType?e:e.firstChild,"tr")&&A(t).children("tbody")[0]||t}function It(t){return t.type=(null!==t.getAttribute("type"))+"/"+t.type,t}function Rt(t){return"true/"===(t.type||"").slice(0,5)?t.type=t.type.slice(5):t.removeAttribute("type"),t}function jt(t,e){var n,r,i,o,a,s,l,u;if(1===e.nodeType){if(K.hasData(t)&&(o=K.access(t),a=K.set(e,o),u=o.events))for(i in delete a.handle,a.events={},u)for(n=0,r=u[i].length;n1&&"string"==typeof p&&!g.checkClone&&Lt.test(p))return t.each(function(i){var o=t.eq(i);v&&(e[0]=p.call(this,i,o.html())),Ft(o,e,n,r)});if(h&&(o=(i=_t(e,t[0].ownerDocument,!1,t,r)).firstChild,1===i.childNodes.length&&(i=o),o||r)){for(s=(a=A.map(mt(i,"script"),It)).length;f")},clone:function(t,e,n){var r,i,o,a,s,l,u,c=t.cloneNode(!0),f=A.contains(t.ownerDocument,t);if(!(g.noCloneChecked||1!==t.nodeType&&11!==t.nodeType||A.isXMLDoc(t)))for(a=mt(c),r=0,i=(o=mt(t)).length;r0&>(a,!f&&mt(t,"script")),c},cleanData:function(t){for(var e,n,r,i=A.event.special,o=0;void 0!==(n=t[o]);o++)if(Z(n)){if(e=n[K.expando]){if(e.events)for(r in e.events)i[r]?A.event.remove(n,r):A.removeEvent(n,r,e.handle);n[K.expando]=void 0}n[Q.expando]&&(n[Q.expando]=void 0)}}}),A.fn.extend({detach:function(t){return Nt(this,t,!0)},remove:function(t){return Nt(this,t)},text:function(t){return H(this,function(t){return void 0===t?A.text(this):this.empty().each(function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=t)})},null,t,arguments.length)},append:function(){return Ft(this,arguments,function(t){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||Pt(this,t).appendChild(t)})},prepend:function(){return Ft(this,arguments,function(t){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var e=Pt(this,t);e.insertBefore(t,e.firstChild)}})},before:function(){return Ft(this,arguments,function(t){this.parentNode&&this.parentNode.insertBefore(t,this)})},after:function(){return Ft(this,arguments,function(t){this.parentNode&&this.parentNode.insertBefore(t,this.nextSibling)})},empty:function(){for(var t,e=0;null!=(t=this[e]);e++)1===t.nodeType&&(A.cleanData(mt(t,!1)),t.textContent="");return this},clone:function(t,e){return t=null!=t&&t,e=null==e?t:e,this.map(function(){return A.clone(this,t,e)})},html:function(t){return H(this,function(t){var e=this[0]||{},n=0,r=this.length;if(void 0===t&&1===e.nodeType)return e.innerHTML;if("string"==typeof t&&!Dt.test(t)&&!vt[(dt.exec(t)||["",""])[1].toLowerCase()]){t=A.htmlPrefilter(t);try{for(;n=0&&(l+=Math.max(0,Math.ceil(t["offset"+e[0].toUpperCase()+e.slice(1)]-o-l-s-.5))),l}function te(t,e,n){var r=Vt(t),i=qt(t,e,r),o="border-box"===A.css(t,"boxSizing",!1,r),a=o;if(Bt.test(i)){if(!n)return i;i="auto"}return a=a&&(g.boxSizingReliable()||i===t.style[e]),("auto"===i||!parseFloat(i)&&"inline"===A.css(t,"display",!1,r))&&(i=t["offset"+e[0].toUpperCase()+e.slice(1)],a=!0),(i=parseFloat(i)||0)+Qt(t,e,n||(o?"border":"content"),a,r,i)+"px"}function ee(t,e,n,r,i){return new ee.prototype.init(t,e,n,r,i)}A.extend({cssHooks:{opacity:{get:function(t,e){if(e){var n=qt(t,"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(t,e,n,r){if(t&&3!==t.nodeType&&8!==t.nodeType&&t.style){var i,o,a,s=X(e),l=Wt.test(e),u=t.style;if(l||(e=Jt(s)),a=A.cssHooks[e]||A.cssHooks[s],void 0===n)return a&&"get"in a&&void 0!==(i=a.get(t,!1,r))?i:u[e];"string"===(o=typeof n)&&(i=it.exec(n))&&i[1]&&(n=lt(t,e,i),o="number"),null!=n&&n==n&&("number"===o&&(n+=i&&i[3]||(A.cssNumber[s]?"":"px")),g.clearCloneStyle||""!==n||0!==e.indexOf("background")||(u[e]="inherit"),a&&"set"in a&&void 0===(n=a.set(t,n,r))||(l?u.setProperty(e,n):u[e]=n))}},css:function(t,e,n,r){var i,o,a,s=X(e);return Wt.test(e)||(e=Jt(s)),(a=A.cssHooks[e]||A.cssHooks[s])&&"get"in a&&(i=a.get(t,!0,n)),void 0===i&&(i=qt(t,e,r)),"normal"===i&&e in Yt&&(i=Yt[e]),""===n||n?(o=parseFloat(i),!0===n||isFinite(o)?o||0:i):i}}),A.each(["height","width"],function(t,e){A.cssHooks[e]={get:function(t,n,r){if(n)return!Ht.test(A.css(t,"display"))||t.getClientRects().length&&t.getBoundingClientRect().width?te(t,e,r):st(t,Gt,function(){return te(t,e,r)})},set:function(t,n,r){var i,o=Vt(t),a="border-box"===A.css(t,"boxSizing",!1,o),s=r&&Qt(t,e,r,a,o);return a&&g.scrollboxSize()===o.position&&(s-=Math.ceil(t["offset"+e[0].toUpperCase()+e.slice(1)]-parseFloat(o[e])-Qt(t,e,"border",!1,o)-.5)),s&&(i=it.exec(n))&&"px"!==(i[3]||"px")&&(t.style[e]=n,n=A.css(t,e)),Kt(0,n,s)}}}),A.cssHooks.marginLeft=$t(g.reliableMarginLeft,function(t,e){if(e)return(parseFloat(qt(t,"marginLeft"))||t.getBoundingClientRect().left-st(t,{marginLeft:0},function(){return t.getBoundingClientRect().left}))+"px"}),A.each({margin:"",padding:"",border:"Width"},function(t,e){A.cssHooks[t+e]={expand:function(n){for(var r=0,i={},o="string"==typeof n?n.split(" "):[n];r<4;r++)i[t+ot[r]+e]=o[r]||o[r-2]||o[0];return i}},"margin"!==t&&(A.cssHooks[t+e].set=Kt)}),A.fn.extend({css:function(t,e){return H(this,function(t,e,n){var r,i,o={},a=0;if(Array.isArray(e)){for(r=Vt(t),i=e.length;a1)}}),A.Tween=ee,ee.prototype={constructor:ee,init:function(t,e,n,r,i,o){this.elem=t,this.prop=n,this.easing=i||A.easing._default,this.options=e,this.start=this.now=this.cur(),this.end=r,this.unit=o||(A.cssNumber[n]?"":"px")},cur:function(){var t=ee.propHooks[this.prop];return t&&t.get?t.get(this):ee.propHooks._default.get(this)},run:function(t){var e,n=ee.propHooks[this.prop];return this.options.duration?this.pos=e=A.easing[this.easing](t,this.options.duration*t,0,1,this.options.duration):this.pos=e=t,this.now=(this.end-this.start)*e+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):ee.propHooks._default.set(this),this}},ee.prototype.init.prototype=ee.prototype,ee.propHooks={_default:{get:function(t){var e;return 1!==t.elem.nodeType||null!=t.elem[t.prop]&&null==t.elem.style[t.prop]?t.elem[t.prop]:(e=A.css(t.elem,t.prop,""))&&"auto"!==e?e:0},set:function(t){A.fx.step[t.prop]?A.fx.step[t.prop](t):1!==t.elem.nodeType||null==t.elem.style[A.cssProps[t.prop]]&&!A.cssHooks[t.prop]?t.elem[t.prop]=t.now:A.style(t.elem,t.prop,t.now+t.unit)}}},ee.propHooks.scrollTop=ee.propHooks.scrollLeft={set:function(t){t.elem.nodeType&&t.elem.parentNode&&(t.elem[t.prop]=t.now)}},A.easing={linear:function(t){return t},swing:function(t){return.5-Math.cos(t*Math.PI)/2},_default:"swing"},A.fx=ee.prototype.init,A.fx.step={};var ne,re,ie=/^(?:toggle|show|hide)$/,oe=/queueHooks$/;function ae(){re&&(!1===a.hidden&&n.requestAnimationFrame?n.requestAnimationFrame(ae):n.setTimeout(ae,A.fx.interval),A.fx.tick())}function se(){return n.setTimeout(function(){ne=void 0}),ne=Date.now()}function le(t,e){var n,r=0,i={height:t};for(e=e?1:0;r<4;r+=2-e)i["margin"+(n=ot[r])]=i["padding"+n]=t;return e&&(i.opacity=i.width=t),i}function ue(t,e,n){for(var r,i=(ce.tweeners[e]||[]).concat(ce.tweeners["*"]),o=0,a=i.length;o1)},removeAttr:function(t){return this.each(function(){A.removeAttr(this,t)})}}),A.extend({attr:function(t,e,n){var r,i,o=t.nodeType;if(3!==o&&8!==o&&2!==o)return void 0===t.getAttribute?A.prop(t,e,n):(1===o&&A.isXMLDoc(t)||(i=A.attrHooks[e.toLowerCase()]||(A.expr.match.bool.test(e)?fe:void 0)),void 0!==n?null===n?void A.removeAttr(t,e):i&&"set"in i&&void 0!==(r=i.set(t,n,e))?r:(t.setAttribute(e,n+""),n):i&&"get"in i&&null!==(r=i.get(t,e))?r:null==(r=A.find.attr(t,e))?void 0:r)},attrHooks:{type:{set:function(t,e){if(!g.radioValue&&"radio"===e&&O(t,"input")){var n=t.value;return t.setAttribute("type",e),n&&(t.value=n),e}}}},removeAttr:function(t,e){var n,r=0,i=e&&e.match(F);if(i&&1===t.nodeType)for(;n=i[r++];)t.removeAttribute(n)}}),fe={set:function(t,e,n){return!1===e?A.removeAttr(t,n):t.setAttribute(n,n),n}},A.each(A.expr.match.bool.source.match(/\w+/g),function(t,e){var n=he[e]||A.find.attr;he[e]=function(t,e,r){var i,o,a=e.toLowerCase();return r||(o=he[a],he[a]=i,i=null!=n(t,e,r)?a:null,he[a]=o),i}});var de=/^(?:input|select|textarea|button)$/i,pe=/^(?:a|area)$/i;function ve(t){return(t.match(F)||[]).join(" ")}function me(t){return t.getAttribute&&t.getAttribute("class")||""}function ge(t){return Array.isArray(t)?t:"string"==typeof t&&t.match(F)||[]}A.fn.extend({prop:function(t,e){return H(this,A.prop,t,e,arguments.length>1)},removeProp:function(t){return this.each(function(){delete this[A.propFix[t]||t]})}}),A.extend({prop:function(t,e,n){var r,i,o=t.nodeType;if(3!==o&&8!==o&&2!==o)return 1===o&&A.isXMLDoc(t)||(e=A.propFix[e]||e,i=A.propHooks[e]),void 0!==n?i&&"set"in i&&void 0!==(r=i.set(t,n,e))?r:t[e]=n:i&&"get"in i&&null!==(r=i.get(t,e))?r:t[e]},propHooks:{tabIndex:{get:function(t){var e=A.find.attr(t,"tabindex");return e?parseInt(e,10):de.test(t.nodeName)||pe.test(t.nodeName)&&t.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),g.optSelected||(A.propHooks.selected={get:function(t){var e=t.parentNode;return e&&e.parentNode&&e.parentNode.selectedIndex,null},set:function(t){var e=t.parentNode;e&&(e.selectedIndex,e.parentNode&&e.parentNode.selectedIndex)}}),A.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){A.propFix[this.toLowerCase()]=this}),A.fn.extend({addClass:function(t){var e,n,r,i,o,a,s,l=0;if(y(t))return this.each(function(e){A(this).addClass(t.call(this,e,me(this)))});if((e=ge(t)).length)for(;n=this[l++];)if(i=me(n),r=1===n.nodeType&&" "+ve(i)+" "){for(a=0;o=e[a++];)r.indexOf(" "+o+" ")<0&&(r+=o+" ");i!==(s=ve(r))&&n.setAttribute("class",s)}return this},removeClass:function(t){var e,n,r,i,o,a,s,l=0;if(y(t))return this.each(function(e){A(this).removeClass(t.call(this,e,me(this)))});if(!arguments.length)return this.attr("class","");if((e=ge(t)).length)for(;n=this[l++];)if(i=me(n),r=1===n.nodeType&&" "+ve(i)+" "){for(a=0;o=e[a++];)for(;r.indexOf(" "+o+" ")>-1;)r=r.replace(" "+o+" "," ");i!==(s=ve(r))&&n.setAttribute("class",s)}return this},toggleClass:function(t,e){var n=typeof t,r="string"===n||Array.isArray(t);return"boolean"==typeof e&&r?e?this.addClass(t):this.removeClass(t):y(t)?this.each(function(n){A(this).toggleClass(t.call(this,n,me(this),e),e)}):this.each(function(){var e,i,o,a;if(r)for(i=0,o=A(this),a=ge(t);e=a[i++];)o.hasClass(e)?o.removeClass(e):o.addClass(e);else void 0!==t&&"boolean"!==n||((e=me(this))&&K.set(this,"__className__",e),this.setAttribute&&this.setAttribute("class",e||!1===t?"":K.get(this,"__className__")||""))})},hasClass:function(t){var e,n,r=0;for(e=" "+t+" ";n=this[r++];)if(1===n.nodeType&&(" "+ve(me(n))+" ").indexOf(e)>-1)return!0;return!1}});var ye=/\r/g;A.fn.extend({val:function(t){var e,n,r,i=this[0];return arguments.length?(r=y(t),this.each(function(n){var i;1===this.nodeType&&(null==(i=r?t.call(this,n,A(this).val()):t)?i="":"number"==typeof i?i+="":Array.isArray(i)&&(i=A.map(i,function(t){return null==t?"":t+""})),(e=A.valHooks[this.type]||A.valHooks[this.nodeName.toLowerCase()])&&"set"in e&&void 0!==e.set(this,i,"value")||(this.value=i))})):i?(e=A.valHooks[i.type]||A.valHooks[i.nodeName.toLowerCase()])&&"get"in e&&void 0!==(n=e.get(i,"value"))?n:"string"==typeof(n=i.value)?n.replace(ye,""):null==n?"":n:void 0}}),A.extend({valHooks:{option:{get:function(t){var e=A.find.attr(t,"value");return null!=e?e:ve(A.text(t))}},select:{get:function(t){var e,n,r,i=t.options,o=t.selectedIndex,a="select-one"===t.type,s=a?null:[],l=a?o+1:i.length;for(r=o<0?l:a?o:0;r-1)&&(n=!0);return n||(t.selectedIndex=-1),o}}}}),A.each(["radio","checkbox"],function(){A.valHooks[this]={set:function(t,e){if(Array.isArray(e))return t.checked=A.inArray(A(t).val(),e)>-1}},g.checkOn||(A.valHooks[this].get=function(t){return null===t.getAttribute("value")?"on":t.value})}),g.focusin="onfocusin"in n;var be=/^(?:focusinfocus|focusoutblur)$/,xe=function(t){t.stopPropagation()};A.extend(A.event,{trigger:function(t,e,r,i){var o,s,l,u,c,f,h,d,v=[r||a],m=p.call(t,"type")?t.type:t,g=p.call(t,"namespace")?t.namespace.split("."):[];if(s=d=l=r=r||a,3!==r.nodeType&&8!==r.nodeType&&!be.test(m+A.event.triggered)&&(m.indexOf(".")>-1&&(g=m.split("."),m=g.shift(),g.sort()),c=m.indexOf(":")<0&&"on"+m,(t=t[A.expando]?t:new A.Event(m,"object"==typeof t&&t)).isTrigger=i?2:3,t.namespace=g.join("."),t.rnamespace=t.namespace?new RegExp("(^|\\.)"+g.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,t.result=void 0,t.target||(t.target=r),e=null==e?[t]:A.makeArray(e,[t]),h=A.event.special[m]||{},i||!h.trigger||!1!==h.trigger.apply(r,e))){if(!i&&!h.noBubble&&!b(r)){for(u=h.delegateType||m,be.test(u+m)||(s=s.parentNode);s;s=s.parentNode)v.push(s),l=s;l===(r.ownerDocument||a)&&v.push(l.defaultView||l.parentWindow||n)}for(o=0;(s=v[o++])&&!t.isPropagationStopped();)d=s,t.type=o>1?u:h.bindType||m,(f=(K.get(s,"events")||{})[t.type]&&K.get(s,"handle"))&&f.apply(s,e),(f=c&&s[c])&&f.apply&&Z(s)&&(t.result=f.apply(s,e),!1===t.result&&t.preventDefault());return t.type=m,i||t.isDefaultPrevented()||h._default&&!1!==h._default.apply(v.pop(),e)||!Z(r)||c&&y(r[m])&&!b(r)&&((l=r[c])&&(r[c]=null),A.event.triggered=m,t.isPropagationStopped()&&d.addEventListener(m,xe),r[m](),t.isPropagationStopped()&&d.removeEventListener(m,xe),A.event.triggered=void 0,l&&(r[c]=l)),t.result}},simulate:function(t,e,n){var r=A.extend(new A.Event,n,{type:t,isSimulated:!0});A.event.trigger(r,null,e)}}),A.fn.extend({trigger:function(t,e){return this.each(function(){A.event.trigger(t,e,this)})},triggerHandler:function(t,e){var n=this[0];if(n)return A.event.trigger(t,e,n,!0)}}),g.focusin||A.each({focus:"focusin",blur:"focusout"},function(t,e){var n=function(t){A.event.simulate(e,t.target,A.event.fix(t))};A.event.special[e]={setup:function(){var r=this.ownerDocument||this,i=K.access(r,e);i||r.addEventListener(t,n,!0),K.access(r,e,(i||0)+1)},teardown:function(){var r=this.ownerDocument||this,i=K.access(r,e)-1;i?K.access(r,e,i):(r.removeEventListener(t,n,!0),K.remove(r,e))}}});var _e=n.location,we=Date.now(),Ae=/\?/;A.parseXML=function(t){var e;if(!t||"string"!=typeof t)return null;try{e=(new n.DOMParser).parseFromString(t,"text/xml")}catch(t){e=void 0}return e&&!e.getElementsByTagName("parsererror").length||A.error("Invalid XML: "+t),e};var Me=/\[\]$/,ke=/\r?\n/g,Te=/^(?:submit|button|image|reset|file)$/i,Se=/^(?:input|select|textarea|keygen)/i;function Ce(t,e,n,r){var i;if(Array.isArray(e))A.each(e,function(e,i){n||Me.test(t)?r(t,i):Ce(t+"["+("object"==typeof i&&null!=i?e:"")+"]",i,n,r)});else if(n||"object"!==w(e))r(t,e);else for(i in e)Ce(t+"["+i+"]",e[i],n,r)}A.param=function(t,e){var n,r=[],i=function(t,e){var n=y(e)?e():e;r[r.length]=encodeURIComponent(t)+"="+encodeURIComponent(null==n?"":n)};if(Array.isArray(t)||t.jquery&&!A.isPlainObject(t))A.each(t,function(){i(this.name,this.value)});else for(n in t)Ce(n,t[n],e,i);return r.join("&")},A.fn.extend({serialize:function(){return A.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var t=A.prop(this,"elements");return t?A.makeArray(t):this}).filter(function(){var t=this.type;return this.name&&!A(this).is(":disabled")&&Se.test(this.nodeName)&&!Te.test(t)&&(this.checked||!ht.test(t))}).map(function(t,e){var n=A(this).val();return null==n?null:Array.isArray(n)?A.map(n,function(t){return{name:e.name,value:t.replace(ke,"\r\n")}}):{name:e.name,value:n.replace(ke,"\r\n")}}).get()}});var Ee=/%20/g,Oe=/#.*$/,De=/([?&])_=[^&]*/,Le=/^(.*?):[ \t]*([^\r\n]*)$/gm,ze=/^(?:GET|HEAD)$/,Pe=/^\/\//,Ie={},Re={},je="*/".concat("*"),Fe=a.createElement("a");function Ne(t){return function(e,n){"string"!=typeof e&&(n=e,e="*");var r,i=0,o=e.toLowerCase().match(F)||[];if(y(n))for(;r=o[i++];)"+"===r[0]?(r=r.slice(1)||"*",(t[r]=t[r]||[]).unshift(n)):(t[r]=t[r]||[]).push(n)}}function Be(t,e,n,r){var i={},o=t===Re;function a(s){var l;return i[s]=!0,A.each(t[s]||[],function(t,s){var u=s(e,n,r);return"string"!=typeof u||o||i[u]?o?!(l=u):void 0:(e.dataTypes.unshift(u),a(u),!1)}),l}return a(e.dataTypes[0])||!i["*"]&&a("*")}function Ve(t,e){var n,r,i=A.ajaxSettings.flatOptions||{};for(n in e)void 0!==e[n]&&((i[n]?t:r||(r={}))[n]=e[n]);return r&&A.extend(!0,t,r),t}Fe.href=_e.href,A.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:_e.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(_e.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":je,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":A.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(t,e){return e?Ve(Ve(t,A.ajaxSettings),e):Ve(A.ajaxSettings,t)},ajaxPrefilter:Ne(Ie),ajaxTransport:Ne(Re),ajax:function(t,e){"object"==typeof t&&(e=t,t=void 0),e=e||{};var r,i,o,s,l,u,c,f,h,d,p=A.ajaxSetup({},e),v=p.context||p,m=p.context&&(v.nodeType||v.jquery)?A(v):A.event,g=A.Deferred(),y=A.Callbacks("once memory"),b=p.statusCode||{},x={},_={},w="canceled",M={readyState:0,getResponseHeader:function(t){var e;if(c){if(!s)for(s={};e=Le.exec(o);)s[e[1].toLowerCase()]=e[2];e=s[t.toLowerCase()]}return null==e?null:e},getAllResponseHeaders:function(){return c?o:null},setRequestHeader:function(t,e){return null==c&&(t=_[t.toLowerCase()]=_[t.toLowerCase()]||t,x[t]=e),this},overrideMimeType:function(t){return null==c&&(p.mimeType=t),this},statusCode:function(t){var e;if(t)if(c)M.always(t[M.status]);else for(e in t)b[e]=[b[e],t[e]];return this},abort:function(t){var e=t||w;return r&&r.abort(e),k(0,e),this}};if(g.promise(M),p.url=((t||p.url||_e.href)+"").replace(Pe,_e.protocol+"//"),p.type=e.method||e.type||p.method||p.type,p.dataTypes=(p.dataType||"*").toLowerCase().match(F)||[""],null==p.crossDomain){u=a.createElement("a");try{u.href=p.url,u.href=u.href,p.crossDomain=Fe.protocol+"//"+Fe.host!=u.protocol+"//"+u.host}catch(t){p.crossDomain=!0}}if(p.data&&p.processData&&"string"!=typeof p.data&&(p.data=A.param(p.data,p.traditional)),Be(Ie,p,e,M),c)return M;for(h in(f=A.event&&p.global)&&0==A.active++&&A.event.trigger("ajaxStart"),p.type=p.type.toUpperCase(),p.hasContent=!ze.test(p.type),i=p.url.replace(Oe,""),p.hasContent?p.data&&p.processData&&0===(p.contentType||"").indexOf("application/x-www-form-urlencoded")&&(p.data=p.data.replace(Ee,"+")):(d=p.url.slice(i.length),p.data&&(p.processData||"string"==typeof p.data)&&(i+=(Ae.test(i)?"&":"?")+p.data,delete p.data),!1===p.cache&&(i=i.replace(De,"$1"),d=(Ae.test(i)?"&":"?")+"_="+we+++d),p.url=i+d),p.ifModified&&(A.lastModified[i]&&M.setRequestHeader("If-Modified-Since",A.lastModified[i]),A.etag[i]&&M.setRequestHeader("If-None-Match",A.etag[i])),(p.data&&p.hasContent&&!1!==p.contentType||e.contentType)&&M.setRequestHeader("Content-Type",p.contentType),M.setRequestHeader("Accept",p.dataTypes[0]&&p.accepts[p.dataTypes[0]]?p.accepts[p.dataTypes[0]]+("*"!==p.dataTypes[0]?", "+je+"; q=0.01":""):p.accepts["*"]),p.headers)M.setRequestHeader(h,p.headers[h]);if(p.beforeSend&&(!1===p.beforeSend.call(v,M,p)||c))return M.abort();if(w="abort",y.add(p.complete),M.done(p.success),M.fail(p.error),r=Be(Re,p,e,M)){if(M.readyState=1,f&&m.trigger("ajaxSend",[M,p]),c)return M;p.async&&p.timeout>0&&(l=n.setTimeout(function(){M.abort("timeout")},p.timeout));try{c=!1,r.send(x,k)}catch(t){if(c)throw t;k(-1,t)}}else k(-1,"No Transport");function k(t,e,a,s){var u,h,d,x,_,w=e;c||(c=!0,l&&n.clearTimeout(l),r=void 0,o=s||"",M.readyState=t>0?4:0,u=t>=200&&t<300||304===t,a&&(x=function(t,e,n){for(var r,i,o,a,s=t.contents,l=t.dataTypes;"*"===l[0];)l.shift(),void 0===r&&(r=t.mimeType||e.getResponseHeader("Content-Type"));if(r)for(i in s)if(s[i]&&s[i].test(r)){l.unshift(i);break}if(l[0]in n)o=l[0];else{for(i in n){if(!l[0]||t.converters[i+" "+l[0]]){o=i;break}a||(a=i)}o=o||a}if(o)return o!==l[0]&&l.unshift(o),n[o]}(p,M,a)),x=function(t,e,n,r){var i,o,a,s,l,u={},c=t.dataTypes.slice();if(c[1])for(a in t.converters)u[a.toLowerCase()]=t.converters[a];for(o=c.shift();o;)if(t.responseFields[o]&&(n[t.responseFields[o]]=e),!l&&r&&t.dataFilter&&(e=t.dataFilter(e,t.dataType)),l=o,o=c.shift())if("*"===o)o=l;else if("*"!==l&&l!==o){if(!(a=u[l+" "+o]||u["* "+o]))for(i in u)if((s=i.split(" "))[1]===o&&(a=u[l+" "+s[0]]||u["* "+s[0]])){!0===a?a=u[i]:!0!==u[i]&&(o=s[0],c.unshift(s[1]));break}if(!0!==a)if(a&&t.throws)e=a(e);else try{e=a(e)}catch(t){return{state:"parsererror",error:a?t:"No conversion from "+l+" to "+o}}}return{state:"success",data:e}}(p,x,M,u),u?(p.ifModified&&((_=M.getResponseHeader("Last-Modified"))&&(A.lastModified[i]=_),(_=M.getResponseHeader("etag"))&&(A.etag[i]=_)),204===t||"HEAD"===p.type?w="nocontent":304===t?w="notmodified":(w=x.state,h=x.data,u=!(d=x.error))):(d=w,!t&&w||(w="error",t<0&&(t=0))),M.status=t,M.statusText=(e||w)+"",u?g.resolveWith(v,[h,w,M]):g.rejectWith(v,[M,w,d]),M.statusCode(b),b=void 0,f&&m.trigger(u?"ajaxSuccess":"ajaxError",[M,p,u?h:d]),y.fireWith(v,[M,w]),f&&(m.trigger("ajaxComplete",[M,p]),--A.active||A.event.trigger("ajaxStop")))}return M},getJSON:function(t,e,n){return A.get(t,e,n,"json")},getScript:function(t,e){return A.get(t,void 0,e,"script")}}),A.each(["get","post"],function(t,e){A[e]=function(t,n,r,i){return y(n)&&(i=i||r,r=n,n=void 0),A.ajax(A.extend({url:t,type:e,dataType:i,data:n,success:r},A.isPlainObject(t)&&t))}}),A._evalUrl=function(t){return A.ajax({url:t,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,throws:!0})},A.fn.extend({wrapAll:function(t){var e;return this[0]&&(y(t)&&(t=t.call(this[0])),e=A(t,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&e.insertBefore(this[0]),e.map(function(){for(var t=this;t.firstElementChild;)t=t.firstElementChild;return t}).append(this)),this},wrapInner:function(t){return y(t)?this.each(function(e){A(this).wrapInner(t.call(this,e))}):this.each(function(){var e=A(this),n=e.contents();n.length?n.wrapAll(t):e.append(t)})},wrap:function(t){var e=y(t);return this.each(function(n){A(this).wrapAll(e?t.call(this,n):t)})},unwrap:function(t){return this.parent(t).not("body").each(function(){A(this).replaceWith(this.childNodes)}),this}}),A.expr.pseudos.hidden=function(t){return!A.expr.pseudos.visible(t)},A.expr.pseudos.visible=function(t){return!!(t.offsetWidth||t.offsetHeight||t.getClientRects().length)},A.ajaxSettings.xhr=function(){try{return new n.XMLHttpRequest}catch(t){}};var Ue={0:200,1223:204},qe=A.ajaxSettings.xhr();g.cors=!!qe&&"withCredentials"in qe,g.ajax=qe=!!qe,A.ajaxTransport(function(t){var e,r;if(g.cors||qe&&!t.crossDomain)return{send:function(i,o){var a,s=t.xhr();if(s.open(t.type,t.url,t.async,t.username,t.password),t.xhrFields)for(a in t.xhrFields)s[a]=t.xhrFields[a];for(a in t.mimeType&&s.overrideMimeType&&s.overrideMimeType(t.mimeType),t.crossDomain||i["X-Requested-With"]||(i["X-Requested-With"]="XMLHttpRequest"),i)s.setRequestHeader(a,i[a]);e=function(t){return function(){e&&(e=r=s.onload=s.onerror=s.onabort=s.ontimeout=s.onreadystatechange=null,"abort"===t?s.abort():"error"===t?"number"!=typeof s.status?o(0,"error"):o(s.status,s.statusText):o(Ue[s.status]||s.status,s.statusText,"text"!==(s.responseType||"text")||"string"!=typeof s.responseText?{binary:s.response}:{text:s.responseText},s.getAllResponseHeaders()))}},s.onload=e(),r=s.onerror=s.ontimeout=e("error"),void 0!==s.onabort?s.onabort=r:s.onreadystatechange=function(){4===s.readyState&&n.setTimeout(function(){e&&r()})},e=e("abort");try{s.send(t.hasContent&&t.data||null)}catch(t){if(e)throw t}},abort:function(){e&&e()}}}),A.ajaxPrefilter(function(t){t.crossDomain&&(t.contents.script=!1)}),A.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(t){return A.globalEval(t),t}}}),A.ajaxPrefilter("script",function(t){void 0===t.cache&&(t.cache=!1),t.crossDomain&&(t.type="GET")}),A.ajaxTransport("script",function(t){var e,n;if(t.crossDomain)return{send:function(r,i){e=A("